gsasl-1.8.1/0000755000000000000000000000000013521017733007603 500000000000000gsasl-1.8.1/gtk-doc.make0000644000000000000000000002504013521000261011677 00000000000000# -*- mode: makefile -*- # # gtk-doc.make - make rules for gtk-doc # Copyright (C) 2003 James Henstridge # 2004-2007 Damon Chaplin # 2007-2017 Stefan Sauer # # 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 3 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, see . #################################### # Everything below here is generic # #################################### if GTK_DOC_USE_LIBTOOL GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) GTKDOC_RUN = $(LIBTOOL) --mode=execute else GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) GTKDOC_RUN = endif # We set GPATH here; this gives us semantics for GNU make # which are more like other make's VPATH, when it comes to # whether a source that is a target of one rule is then # searched for in VPATH/GPATH. # GPATH = $(srcdir) TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) SETUP_FILES = \ $(content_files) \ $(expand_content_files) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt EXTRA_DIST = \ $(HTML_IMAGES) \ $(SETUP_FILES) DOC_STAMPS=setup-build.stamp scan-build.stamp sgml-build.stamp \ html-build.stamp pdf-build.stamp \ sgml.stamp html.stamp pdf.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ $(DOC_MODULE).hierarchy \ $(DOC_MODULE).interfaces \ $(DOC_MODULE).prerequisites \ $(DOC_MODULE).signals REPORT_FILES = \ $(DOC_MODULE)-undocumented.txt \ $(DOC_MODULE)-undeclared.txt \ $(DOC_MODULE)-unused.txt gtkdoc-check.test: Makefile $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \ echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \ chmod +x $@ CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test if GTK_DOC_BUILD_HTML HTML_BUILD_STAMP=html-build.stamp else HTML_BUILD_STAMP= endif if GTK_DOC_BUILD_PDF PDF_BUILD_STAMP=pdf-build.stamp else PDF_BUILD_STAMP= endif all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) .PHONY: all-gtk-doc if ENABLE_GTK_DOC all-local: all-gtk-doc endif docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) $(REPORT_FILES): sgml-build.stamp #### setup #### GTK_DOC_V_SETUP=$(GTK_DOC_V_SETUP_@AM_V@) GTK_DOC_V_SETUP_=$(GTK_DOC_V_SETUP_@AM_DEFAULT_V@) GTK_DOC_V_SETUP_0=@echo " DOC Preparing build"; setup-build.stamp: -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ if test "x$$files" != "x" ; then \ for file in $$files ; do \ destdir=`dirname $(abs_builddir)/$$file`; \ test -d "$$destdir" || mkdir -p "$$destdir"; \ test -f $(abs_srcdir)/$$file && \ cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ done; \ fi; \ fi $(AM_V_at)touch setup-build.stamp #### scan #### GTK_DOC_V_SCAN=$(GTK_DOC_V_SCAN_@AM_V@) GTK_DOC_V_SCAN_=$(GTK_DOC_V_SCAN_@AM_DEFAULT_V@) GTK_DOC_V_SCAN_0=@echo " DOC Scanning header files"; GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_@AM_V@) GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@) GTK_DOC_V_INTROSPECT_0=@echo " DOC Introspecting gobjects"; scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(GTK_DOC_V_SCAN)_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ scanobj_options=""; \ gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$$?" = "0"; then \ if test "x$(V)" = "x1"; then \ scanobj_options="--verbose"; \ fi; \ fi; \ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ else \ for i in $(SCANOBJ_FILES) ; do \ test -f $$i || touch $$i ; \ done \ fi $(AM_V_at)touch scan-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp @true #### xml #### GTK_DOC_V_XML=$(GTK_DOC_V_XML_@AM_V@) GTK_DOC_V_XML_=$(GTK_DOC_V_XML_@AM_DEFAULT_V@) GTK_DOC_V_XML_0=@echo " DOC Building XML"; sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent $(GTK_DOC_V_XML)_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) $(AM_V_at)touch sgml-build.stamp sgml.stamp: sgml-build.stamp @true $(DOC_MAIN_SGML_FILE): sgml-build.stamp @true xml/gtkdocentities.ent: Makefile $(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ ) > $@ #### html #### GTK_DOC_V_HTML=$(GTK_DOC_V_HTML_@AM_V@) GTK_DOC_V_HTML_=$(GTK_DOC_V_HTML_@AM_DEFAULT_V@) GTK_DOC_V_HTML_0=@echo " DOC Building HTML"; GTK_DOC_V_XREF=$(GTK_DOC_V_XREF_@AM_V@) GTK_DOC_V_XREF_=$(GTK_DOC_V_XREF_@AM_DEFAULT_V@) GTK_DOC_V_XREF_0=@echo " DOC Fixing cross-references"; html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ mkhtml_options=""; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$$?" = "0"; then \ if test "x$(V)" = "x1"; then \ mkhtml_options="$$mkhtml_options --verbose"; \ fi; \ fi; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ if test "$$?" = "0"; then \ mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ fi; \ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) -@test "x$(HTML_IMAGES)" = "x" || \ for file in $(HTML_IMAGES) ; do \ test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ test -f $$file && cp $$file $(abs_builddir)/html; \ done; $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) $(AM_V_at)touch html-build.stamp #### pdf #### GTK_DOC_V_PDF=$(GTK_DOC_V_PDF_@AM_V@) GTK_DOC_V_PDF_=$(GTK_DOC_V_PDF_@AM_DEFAULT_V@) GTK_DOC_V_PDF_0=@echo " DOC Building PDF"; pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ mkpdf_options=""; \ gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$$?" = "0"; then \ if test "x$(V)" = "x1"; then \ mkpdf_options="$$mkpdf_options --verbose"; \ fi; \ fi; \ if test "x$(HTML_IMAGES)" != "x"; then \ for img in $(HTML_IMAGES); do \ part=`dirname $$img`; \ echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ if test $$? != 0; then \ mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ fi; \ done; \ fi; \ gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) $(AM_V_at)touch pdf-build.stamp ############## clean-local: @rm -f *~ *.bak @rm -rf .libs @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \ rm -f $(DOC_MODULE).types; \ fi @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \ rm -f $(DOC_MODULE)-sections.txt; \ fi distclean-local: @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ rm -f $(SETUP_FILES) $(DOC_MODULE).types; \ fi maintainer-clean-local: @rm -rf xml html install-data-local: @installfiles=`echo $(builddir)/html/*`; \ if test "$$installfiles" = '$(builddir)/html/*'; \ then echo 1>&2 'Nothing to install' ; \ else \ if test -n "$(DOC_MODULE_VERSION)"; then \ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ else \ installdir="$(DESTDIR)$(TARGET_DIR)"; \ fi; \ $(mkinstalldirs) $${installdir} ; \ for i in $$installfiles; do \ echo ' $(INSTALL_DATA) '$$i ; \ $(INSTALL_DATA) $$i $${installdir}; \ done; \ if test -n "$(DOC_MODULE_VERSION)"; then \ mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ fi; \ $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ fi uninstall-local: @if test -n "$(DOC_MODULE_VERSION)"; then \ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ else \ installdir="$(DESTDIR)$(TARGET_DIR)"; \ fi; \ rm -rf $${installdir} # # Require gtk-doc when making dist # if HAVE_GTK_DOC dist-check-gtkdoc: docs else dist-check-gtkdoc: @echo "*** gtk-doc is needed to run 'make dist'. ***" @echo "*** gtk-doc was not found when 'configure' ran. ***" @echo "*** please install gtk-doc and rerun 'configure'. ***" @false endif dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local @mkdir $(distdir)/html @cp ./html/* $(distdir)/html @-cp ./$(DOC_MODULE).pdf $(distdir)/ @-cp ./$(DOC_MODULE).types $(distdir)/ @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ @cd $(distdir) && rm -f $(DISTCLEANFILES) @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html .PHONY : dist-hook-local docs gsasl-1.8.1/gl/0000755000000000000000000000000013521017732010204 500000000000000gsasl-1.8.1/gl/sys_stat.in.h0000644000000000000000000005414213516251577012574 00000000000000/* Provide a more complete sys/stat.h header file. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake, Paul Eggert, and Jim Meyering. */ /* This file is supposed to be used on platforms where is incomplete. It is intended to provide definitions and prototypes needed by an application. Start with what the system provides. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_system_sys_stat_h /* Special invocation convention. */ #@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_STAT_H /* Get nlink_t. May also define off_t to a 64-bit type on native Windows. */ #include /* Get struct timespec. */ #include /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ #ifndef _@GUARD_PREFIX@_SYS_STAT_H #define _@GUARD_PREFIX@_SYS_STAT_H /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Before doing "#define mknod rpl_mknod" below, we need to include all headers that may declare mknod(). OS/2 kLIBC declares mknod() in , not in . */ #ifdef __KLIBC__ # include #endif /* Before doing "#define mkdir rpl_mkdir" below, we need to include all headers that may declare mkdir(). Native Windows platforms declare mkdir in and/or , not in . */ #if defined _WIN32 && ! defined __CYGWIN__ # include /* mingw32, mingw64 */ # include /* mingw64, MSVC 9 */ #endif /* Native Windows platforms declare umask() in . */ #if 0 && (defined _WIN32 && ! defined __CYGWIN__) # include #endif /* Large File Support on native Windows. */ #if @WINDOWS_64_BIT_ST_SIZE@ # define stat _stati64 #endif /* Optionally, override 'struct stat' on native Windows. */ #if @GNULIB_OVERRIDES_STRUCT_STAT@ # undef stat # if @GNULIB_STAT@ # define stat rpl_stat # else /* Provoke a clear link error if stat() is used as a function and module 'stat' is not in use. */ # define stat stat_used_without_requesting_gnulib_module_stat # endif # if !GNULIB_defined_struct_stat struct stat { dev_t st_dev; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; # if 0 uid_t st_uid; # else /* uid_t is not defined by default on native Windows. */ short st_uid; # endif # if 0 gid_t st_gid; # else /* gid_t is not defined by default on native Windows. */ short st_gid; # endif dev_t st_rdev; off_t st_size; # if 0 blksize_t st_blksize; blkcnt_t st_blocks; # endif # if @WINDOWS_STAT_TIMESPEC@ struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # else time_t st_atime; time_t st_mtime; time_t st_ctime; # endif }; # if @WINDOWS_STAT_TIMESPEC@ # define st_atime st_atim.tv_sec # define st_mtime st_mtim.tv_sec # define st_ctime st_ctim.tv_sec /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_STAT_TIMESPEC 1 # endif # define GNULIB_defined_struct_stat 1 # endif /* Other possible values of st_mode. */ # if 0 # define _S_IFBLK 0x6000 # endif # if 0 # define _S_IFLNK 0xA000 # endif # if 0 # define _S_IFSOCK 0xC000 # endif #endif #ifndef S_IFIFO # ifdef _S_IFIFO # define S_IFIFO _S_IFIFO # endif #endif #ifndef S_IFMT # define S_IFMT 0170000 #endif #if STAT_MACROS_BROKEN # undef S_ISBLK # undef S_ISCHR # undef S_ISDIR # undef S_ISFIFO # undef S_ISLNK # undef S_ISNAM # undef S_ISMPB # undef S_ISMPC # undef S_ISNWK # undef S_ISREG # undef S_ISSOCK #endif #ifndef S_ISBLK # ifdef S_IFBLK # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) # else # define S_ISBLK(m) 0 # endif #endif #ifndef S_ISCHR # ifdef S_IFCHR # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) # else # define S_ISCHR(m) 0 # endif #endif #ifndef S_ISDIR # ifdef S_IFDIR # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) # else # define S_ISDIR(m) 0 # endif #endif #ifndef S_ISDOOR /* Solaris 2.5 and up */ # define S_ISDOOR(m) 0 #endif #ifndef S_ISFIFO # ifdef S_IFIFO # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) # else # define S_ISFIFO(m) 0 # endif #endif #ifndef S_ISLNK # ifdef S_IFLNK # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) # else # define S_ISLNK(m) 0 # endif #endif #ifndef S_ISMPB /* V7 */ # ifdef S_IFMPB # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) # define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) # else # define S_ISMPB(m) 0 # define S_ISMPC(m) 0 # endif #endif #ifndef S_ISMPX /* AIX */ # define S_ISMPX(m) 0 #endif #ifndef S_ISNAM /* Xenix */ # ifdef S_IFNAM # define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) # else # define S_ISNAM(m) 0 # endif #endif #ifndef S_ISNWK /* HP/UX */ # ifdef S_IFNWK # define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK) # else # define S_ISNWK(m) 0 # endif #endif #ifndef S_ISPORT /* Solaris 10 and up */ # define S_ISPORT(m) 0 #endif #ifndef S_ISREG # ifdef S_IFREG # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) # else # define S_ISREG(m) 0 # endif #endif #ifndef S_ISSOCK # ifdef S_IFSOCK # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) # else # define S_ISSOCK(m) 0 # endif #endif #ifndef S_TYPEISMQ # define S_TYPEISMQ(p) 0 #endif #ifndef S_TYPEISTMO # define S_TYPEISTMO(p) 0 #endif #ifndef S_TYPEISSEM # ifdef S_INSEM # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) # else # define S_TYPEISSEM(p) 0 # endif #endif #ifndef S_TYPEISSHM # ifdef S_INSHD # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD) # else # define S_TYPEISSHM(p) 0 # endif #endif /* high performance ("contiguous data") */ #ifndef S_ISCTG # define S_ISCTG(p) 0 #endif /* Cray DMF (data migration facility): off line, with data */ #ifndef S_ISOFD # define S_ISOFD(p) 0 #endif /* Cray DMF (data migration facility): off line, with no data */ #ifndef S_ISOFL # define S_ISOFL(p) 0 #endif /* 4.4BSD whiteout */ #ifndef S_ISWHT # define S_ISWHT(m) 0 #endif /* If any of the following are undefined, define them to their de facto standard values. */ #if !S_ISUID # define S_ISUID 04000 #endif #if !S_ISGID # define S_ISGID 02000 #endif /* S_ISVTX is a common extension to POSIX. */ #ifndef S_ISVTX # define S_ISVTX 01000 #endif #if !S_IRUSR && S_IREAD # define S_IRUSR S_IREAD #endif #if !S_IRUSR # define S_IRUSR 00400 #endif #if !S_IRGRP # define S_IRGRP (S_IRUSR >> 3) #endif #if !S_IROTH # define S_IROTH (S_IRUSR >> 6) #endif #if !S_IWUSR && S_IWRITE # define S_IWUSR S_IWRITE #endif #if !S_IWUSR # define S_IWUSR 00200 #endif #if !S_IWGRP # define S_IWGRP (S_IWUSR >> 3) #endif #if !S_IWOTH # define S_IWOTH (S_IWUSR >> 6) #endif #if !S_IXUSR && S_IEXEC # define S_IXUSR S_IEXEC #endif #if !S_IXUSR # define S_IXUSR 00100 #endif #if !S_IXGRP # define S_IXGRP (S_IXUSR >> 3) #endif #if !S_IXOTH # define S_IXOTH (S_IXUSR >> 6) #endif #if !S_IRWXU # define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) #endif #if !S_IRWXG # define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP) #endif #if !S_IRWXO # define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH) #endif /* S_IXUGO is a common extension to POSIX. */ #if !S_IXUGO # define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) #endif #ifndef S_IRWXUGO # define S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO) #endif /* Macros for futimens and utimensat. */ #ifndef UTIME_NOW # define UTIME_NOW (-1) # define UTIME_OMIT (-2) #endif #if @GNULIB_FCHMODAT@ # if !@HAVE_FCHMODAT@ _GL_FUNCDECL_SYS (fchmodat, int, (int fd, char const *file, mode_t mode, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (fchmodat, int, (int fd, char const *file, mode_t mode, int flag)); _GL_CXXALIASWARN (fchmodat); #elif defined GNULIB_POSIXCHECK # undef fchmodat # if HAVE_RAW_DECL_FCHMODAT _GL_WARN_ON_USE (fchmodat, "fchmodat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FSTAT@ # if @REPLACE_FSTAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fstat # define fstat rpl_fstat # endif _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf)); # else _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); # endif _GL_CXXALIASWARN (fstat); #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # undef fstat # define fstat fstat_used_without_requesting_gnulib_module_fstat #elif @WINDOWS_64_BIT_ST_SIZE@ /* Above, we define stat to _stati64. */ # define fstat _fstati64 #elif defined GNULIB_POSIXCHECK # undef fstat # if HAVE_RAW_DECL_FSTAT _GL_WARN_ON_USE (fstat, "fstat has portability problems - " "use gnulib module fstat for portability"); # endif #endif #if @GNULIB_FSTATAT@ # if @REPLACE_FSTATAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fstatat # define fstatat rpl_fstatat # endif _GL_FUNCDECL_RPL (fstatat, int, (int fd, char const *name, struct stat *st, int flags) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (fstatat, int, (int fd, char const *name, struct stat *st, int flags)); # else # if !@HAVE_FSTATAT@ _GL_FUNCDECL_SYS (fstatat, int, (int fd, char const *name, struct stat *st, int flags) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (fstatat, int, (int fd, char const *name, struct stat *st, int flags)); # endif _GL_CXXALIASWARN (fstatat); #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # undef fstatat # define fstatat fstatat_used_without_requesting_gnulib_module_fstatat #elif defined GNULIB_POSIXCHECK # undef fstatat # if HAVE_RAW_DECL_FSTATAT _GL_WARN_ON_USE (fstatat, "fstatat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FUTIMENS@ /* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our futimens implementation relies on futimesat, which on Solaris 10 makes an invocation to futimens that is meant to invoke the libc's futimens(), not gnulib's futimens(). */ # if @REPLACE_FUTIMENS@ || (!@HAVE_FUTIMENS@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef futimens # define futimens rpl_futimens # endif _GL_FUNCDECL_RPL (futimens, int, (int fd, struct timespec const times[2])); _GL_CXXALIAS_RPL (futimens, int, (int fd, struct timespec const times[2])); # else # if !@HAVE_FUTIMENS@ _GL_FUNCDECL_SYS (futimens, int, (int fd, struct timespec const times[2])); # endif _GL_CXXALIAS_SYS (futimens, int, (int fd, struct timespec const times[2])); # endif # if @HAVE_FUTIMENS@ _GL_CXXALIASWARN (futimens); # endif #elif defined GNULIB_POSIXCHECK # undef futimens # if HAVE_RAW_DECL_FUTIMENS _GL_WARN_ON_USE (futimens, "futimens is not portable - " "use gnulib module futimens for portability"); # endif #endif #if @GNULIB_LCHMOD@ /* Change the mode of FILENAME to MODE, without dereferencing it if FILENAME denotes a symbolic link. */ # if !@HAVE_LCHMOD@ /* The lchmod replacement follows symbolic links. Callers should take this into account; lchmod should be applied only to arguments that are known to not be symbolic links. On hosts that lack lchmod, this can lead to race conditions between the check and the invocation of lchmod, but we know of no workarounds that are reliable in general. You might try requesting support for lchmod from your operating system supplier. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lchmod chmod # endif /* Need to cast, because on mingw, the second parameter of chmod is int mode. */ _GL_CXXALIAS_RPL_CAST_1 (lchmod, chmod, int, (const char *filename, mode_t mode)); # else # if 0 /* assume already declared */ _GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (lchmod, int, (const char *filename, mode_t mode)); # endif # if @HAVE_LCHMOD@ _GL_CXXALIASWARN (lchmod); # endif #elif defined GNULIB_POSIXCHECK # undef lchmod # if HAVE_RAW_DECL_LCHMOD _GL_WARN_ON_USE (lchmod, "lchmod is unportable - " "use gnulib module lchmod for portability"); # endif #endif #if @GNULIB_LSTAT@ # if ! @HAVE_LSTAT@ /* mingw does not support symlinks, therefore it does not have lstat. But without links, stat does just fine. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lstat stat # endif _GL_CXXALIAS_RPL_1 (lstat, stat, int, (const char *name, struct stat *buf)); # elif @REPLACE_LSTAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lstat # define lstat rpl_lstat # endif _GL_FUNCDECL_RPL (lstat, int, (const char *name, struct stat *buf) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (lstat, int, (const char *name, struct stat *buf)); # else _GL_CXXALIAS_SYS (lstat, int, (const char *name, struct stat *buf)); # endif # if @HAVE_LSTAT@ _GL_CXXALIASWARN (lstat); # endif #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # undef lstat # define lstat lstat_used_without_requesting_gnulib_module_lstat #elif defined GNULIB_POSIXCHECK # undef lstat # if HAVE_RAW_DECL_LSTAT _GL_WARN_ON_USE (lstat, "lstat is unportable - " "use gnulib module lstat for portability"); # endif #endif #if @REPLACE_MKDIR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkdir # define mkdir rpl_mkdir # endif _GL_FUNCDECL_RPL (mkdir, int, (char const *name, mode_t mode) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); #else /* mingw's _mkdir() function has 1 argument, but we pass 2 arguments. Additionally, it declares _mkdir (and depending on compile flags, an alias mkdir), only in the nonstandard includes and , which are included above. */ # if defined _WIN32 && ! defined __CYGWIN__ # if !GNULIB_defined_rpl_mkdir static int rpl_mkdir (char const *name, mode_t mode) { return _mkdir (name); } # define GNULIB_defined_rpl_mkdir 1 # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mkdir rpl_mkdir # endif _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); # else _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); # endif #endif _GL_CXXALIASWARN (mkdir); #if @GNULIB_MKDIRAT@ # if !@HAVE_MKDIRAT@ _GL_FUNCDECL_SYS (mkdirat, int, (int fd, char const *file, mode_t mode) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mkdirat, int, (int fd, char const *file, mode_t mode)); _GL_CXXALIASWARN (mkdirat); #elif defined GNULIB_POSIXCHECK # undef mkdirat # if HAVE_RAW_DECL_MKDIRAT _GL_WARN_ON_USE (mkdirat, "mkdirat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_MKFIFO@ # if @REPLACE_MKFIFO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkfifo # define mkfifo rpl_mkfifo # endif _GL_FUNCDECL_RPL (mkfifo, int, (char const *file, mode_t mode) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkfifo, int, (char const *file, mode_t mode)); # else # if !@HAVE_MKFIFO@ _GL_FUNCDECL_SYS (mkfifo, int, (char const *file, mode_t mode) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkfifo, int, (char const *file, mode_t mode)); # endif _GL_CXXALIASWARN (mkfifo); #elif defined GNULIB_POSIXCHECK # undef mkfifo # if HAVE_RAW_DECL_MKFIFO _GL_WARN_ON_USE (mkfifo, "mkfifo is not portable - " "use gnulib module mkfifo for portability"); # endif #endif #if @GNULIB_MKFIFOAT@ # if !@HAVE_MKFIFOAT@ _GL_FUNCDECL_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode)); _GL_CXXALIASWARN (mkfifoat); #elif defined GNULIB_POSIXCHECK # undef mkfifoat # if HAVE_RAW_DECL_MKFIFOAT _GL_WARN_ON_USE (mkfifoat, "mkfifoat is not portable - " "use gnulib module mkfifoat for portability"); # endif #endif #if @GNULIB_MKNOD@ # if @REPLACE_MKNOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mknod # define mknod rpl_mknod # endif _GL_FUNCDECL_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev)); # else # if !@HAVE_MKNOD@ _GL_FUNCDECL_SYS (mknod, int, (char const *file, mode_t mode, dev_t dev) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on OSF/1 5.1, the third parameter is '...'. */ _GL_CXXALIAS_SYS_CAST (mknod, int, (char const *file, mode_t mode, dev_t dev)); # endif _GL_CXXALIASWARN (mknod); #elif defined GNULIB_POSIXCHECK # undef mknod # if HAVE_RAW_DECL_MKNOD _GL_WARN_ON_USE (mknod, "mknod is not portable - " "use gnulib module mknod for portability"); # endif #endif #if @GNULIB_MKNODAT@ # if !@HAVE_MKNODAT@ _GL_FUNCDECL_SYS (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev)); _GL_CXXALIASWARN (mknodat); #elif defined GNULIB_POSIXCHECK # undef mknodat # if HAVE_RAW_DECL_MKNODAT _GL_WARN_ON_USE (mknodat, "mknodat is not portable - " "use gnulib module mkfifoat for portability"); # endif #endif #if @GNULIB_STAT@ # if @REPLACE_STAT@ # if !@GNULIB_OVERRIDES_STRUCT_STAT@ /* We can't use the object-like #define stat rpl_stat, because of struct stat. This means that rpl_stat will not be used if the user does (stat)(a,b). Oh well. */ # if defined _AIX && defined stat && defined _LARGE_FILES /* With _LARGE_FILES defined, AIX (only) defines stat to stat64, so we have to replace stat64() instead of stat(). */ # undef stat64 # define stat64(name, st) rpl_stat (name, st) # elif @WINDOWS_64_BIT_ST_SIZE@ /* Above, we define stat to _stati64. */ # if defined __MINGW32__ && defined _stati64 # ifndef _USE_32BIT_TIME_T /* The system headers define _stati64 to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # elif defined _MSC_VER && defined _stati64 # ifdef _USE_32BIT_TIME_T /* The system headers define _stati64 to _stat32i64. */ # undef _stat32i64 # define _stat32i64(name, st) rpl_stat (name, st) # else /* The system headers define _stati64 to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # else # undef _stati64 # define _stati64(name, st) rpl_stat (name, st) # endif # elif defined __MINGW32__ && defined stat # ifdef _USE_32BIT_TIME_T /* The system headers define stat to _stat32i64. */ # undef _stat32i64 # define _stat32i64(name, st) rpl_stat (name, st) # else /* The system headers define stat to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # elif defined _MSC_VER && defined stat # ifdef _USE_32BIT_TIME_T /* The system headers define stat to _stat32. */ # undef _stat32 # define _stat32(name, st) rpl_stat (name, st) # else /* The system headers define stat to _stat64i32. */ # undef _stat64i32 # define _stat64i32(name, st) rpl_stat (name, st) # endif # else /* !(_AIX || __MINGW32__ || _MSC_VER) */ # undef stat # define stat(name, st) rpl_stat (name, st) # endif /* !_LARGE_FILES */ # endif /* !@GNULIB_OVERRIDES_STRUCT_STAT@ */ _GL_EXTERN_C int stat (const char *name, struct stat *buf) _GL_ARG_NONNULL ((1, 2)); # endif #elif @GNULIB_OVERRIDES_STRUCT_STAT@ /* see above: #define stat stat_used_without_requesting_gnulib_module_stat */ #elif defined GNULIB_POSIXCHECK # undef stat # if HAVE_RAW_DECL_STAT _GL_WARN_ON_USE (stat, "stat is unportable - " "use gnulib module stat for portability"); # endif #endif #if @GNULIB_UTIMENSAT@ /* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our utimensat implementation relies on futimesat, which on Solaris 10 makes an invocation to utimensat that is meant to invoke the libc's utimensat(), not gnulib's utimensat(). */ # if @REPLACE_UTIMENSAT@ || (!@HAVE_UTIMENSAT@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef utimensat # define utimensat rpl_utimensat # endif _GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag)); # else # if !@HAVE_UTIMENSAT@ _GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag)); # endif # if @HAVE_UTIMENSAT@ _GL_CXXALIASWARN (utimensat); # endif #elif defined GNULIB_POSIXCHECK # undef utimensat # if HAVE_RAW_DECL_UTIMENSAT _GL_WARN_ON_USE (utimensat, "utimensat is not portable - " "use gnulib module utimensat for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_STAT_H */ #endif /* _@GUARD_PREFIX@_SYS_STAT_H */ #endif gsasl-1.8.1/gl/connect.c0000644000000000000000000000301613516251574011731 00000000000000/* connect.c --- wrappers for Windows connect function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef connect int rpl_connect (int fd, const struct sockaddr *sockaddr, socklen_t len) { SOCKET sock = FD_TO_SOCKET (fd); if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { int r = connect (sock, sockaddr, len); if (r < 0) { /* EINPROGRESS is not returned by WinSock 2.0; for backwards compatibility, connect(2) uses EWOULDBLOCK. */ if (WSAGetLastError () == WSAEWOULDBLOCK) WSASetLastError (WSAEINPROGRESS); set_winsock_errno (); } return r; } } gsasl-1.8.1/gl/msvc-nothrow.c0000644000000000000000000000251513516251576012753 00000000000000/* Wrappers that don't throw invalid parameter notifications with MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include "msvc-nothrow.h" /* Get declarations of the native Windows API functions. */ #define WIN32_LEAN_AND_MEAN #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef _get_osfhandle #if HAVE_MSVC_INVALID_PARAMETER_HANDLER intptr_t _gl_nothrow_get_osfhandle (int fd) { intptr_t result; TRY_MSVC_INVAL { result = _get_osfhandle (fd); } CATCH_MSVC_INVAL { result = (intptr_t) INVALID_HANDLE_VALUE; } DONE_MSVC_INVAL; return result; } #endif gsasl-1.8.1/gl/stat-time.c0000644000000000000000000000013213516251573012202 00000000000000#include #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE #include "stat-time.h" gsasl-1.8.1/gl/iconv_open-irix.gperf0000644000000000000000000000267713516251574014305 00000000000000/* Character set conversion. Copyright (C) 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On IRIX 6.5, look in /usr/lib/iconv and /usr/lib/international/encodings. ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" KOI8-R, "KOI8" CP855, "DOS855" CP1251, "WIN1251" GB2312, "eucCN" EUC-JP, "eucJP" EUC-KR, "eucKR" EUC-TW, "eucTW" SHIFT_JIS, "sjis" TIS-620, "TIS620" gsasl-1.8.1/gl/dosname.h0000644000000000000000000000367413516251573011744 00000000000000/* File names on MS-DOS/Windows systems. Copyright (C) 2000-2001, 2004-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . From Paul Eggert and Jim Meyering. */ #ifndef _DOSNAME_H #define _DOSNAME_H #if (defined _WIN32 || defined __CYGWIN__ \ || defined __EMX__ || defined __MSDOS__ || defined __DJGPP__) /* This internal macro assumes ASCII, but all hosts that support drive letters use ASCII. */ # define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \ <= 'z' - 'a') # define FILE_SYSTEM_PREFIX_LEN(Filename) \ (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0) # ifndef __CYGWIN__ # define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 1 # endif # define ISSLASH(C) ((C) == '/' || (C) == '\\') #else # define FILE_SYSTEM_PREFIX_LEN(Filename) 0 # define ISSLASH(C) ((C) == '/') #endif #ifndef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE # define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 #endif #if FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE # define IS_ABSOLUTE_FILE_NAME(F) ISSLASH ((F)[FILE_SYSTEM_PREFIX_LEN (F)]) # else # define IS_ABSOLUTE_FILE_NAME(F) \ (ISSLASH ((F)[0]) || FILE_SYSTEM_PREFIX_LEN (F) != 0) #endif #define IS_RELATIVE_FILE_NAME(F) (! IS_ABSOLUTE_FILE_NAME (F)) #endif /* DOSNAME_H_ */ gsasl-1.8.1/gl/localcharset.c0000644000000000000000000010173513516251575012754 00000000000000/* Determine a canonical name for the current locale's character encoding. Copyright (C) 2000-2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible . */ #include /* Specification. */ #include "localcharset.h" #include #include #include #include #if defined __APPLE__ && defined __MACH__ && HAVE_LANGINFO_CODESET # define DARWIN7 /* Darwin 7 or newer, i.e. Mac OS X 10.3 or newer */ #endif #if defined _WIN32 && !defined __CYGWIN__ # define WINDOWS_NATIVE # include #endif #if defined __EMX__ /* Assume EMX program runs on OS/2, even if compiled under DOS. */ # ifndef OS2 # define OS2 # endif #endif #if !defined WINDOWS_NATIVE # if HAVE_LANGINFO_CODESET # include # else # if 0 /* see comment regarding use of setlocale(), below */ # include # endif # endif # ifdef __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include # endif #elif defined WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include #endif #if defined OS2 # define INCL_DOS # include #endif /* For MB_CUR_MAX_L */ #if defined DARWIN7 # include #endif #if HAVE_LANGINFO_CODESET || defined WINDOWS_NATIVE || defined OS2 /* On these platforms, we use a mapping from non-canonical encoding name to GNU canonical encoding name. */ /* With glibc-2.1 or newer, we don't need any canonicalization, because glibc has iconv and both glibc and libiconv support all GNU canonical names directly. */ # if !((defined __GNU_LIBRARY__ && __GLIBC__ >= 2) || defined __UCLIBC__) struct table_entry { const char alias[11+1]; const char canonical[11+1]; }; /* Table of platform-dependent mappings, sorted in ascending order. */ static const struct table_entry alias_table[] = { # if defined __FreeBSD__ /* FreeBSD */ /*{ "ARMSCII-8", "ARMSCII-8" },*/ { "Big5", "BIG5" }, { "C", "ASCII" }, /*{ "CP1131", "CP1131" },*/ /*{ "CP1251", "CP1251" },*/ /*{ "CP866", "CP866" },*/ /*{ "GB18030", "GB18030" },*/ /*{ "GB2312", "GB2312" },*/ /*{ "GBK", "GBK" },*/ /*{ "ISCII-DEV", "?" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-9", "ISO-8859-9" }, /*{ "KOI8-R", "KOI8-R" },*/ /*{ "KOI8-U", "KOI8-U" },*/ { "SJIS", "SHIFT_JIS" }, { "US-ASCII", "ASCII" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" } # define alias_table_defined # endif # if defined __NetBSD__ /* NetBSD */ { "646", "ASCII" }, /*{ "ARMSCII-8", "ARMSCII-8" },*/ /*{ "BIG5", "BIG5" },*/ { "Big5-HKSCS", "BIG5-HKSCS" }, /*{ "CP1251", "CP1251" },*/ /*{ "CP866", "CP866" },*/ /*{ "GB18030", "GB18030" },*/ /*{ "GB2312", "GB2312" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, /*{ "KOI8-R", "KOI8-R" },*/ /*{ "KOI8-U", "KOI8-U" },*/ /*{ "PT154", "PT154" },*/ { "SJIS", "SHIFT_JIS" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" } # define alias_table_defined # endif # if defined __OpenBSD__ /* OpenBSD */ { "646", "ASCII" }, { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" } # define alias_table_defined # endif # if defined __APPLE__ && defined __MACH__ /* Mac OS X */ /* Darwin 7.5 has nl_langinfo(CODESET), but sometimes its value is useless: - It returns the empty string when LANG is set to a locale of the form ll_CC, although ll_CC/LC_CTYPE is a symlink to an UTF-8 LC_CTYPE file. - The environment variables LANG, LC_CTYPE, LC_ALL are not set by the system; nl_langinfo(CODESET) returns "US-ASCII" in this case. - The documentation says: "... all code that calls BSD system routines should ensure that the const *char parameters of these routines are in UTF-8 encoding. All BSD system functions expect their string parameters to be in UTF-8 encoding and nothing else." It also says "An additional caveat is that string parameters for files, paths, and other file-system entities must be in canonical UTF-8. In a canonical UTF-8 Unicode string, all decomposable characters are decomposed ..." but this is not true: You can pass non-decomposed UTF-8 strings to file system functions, and it is the OS which will convert them to decomposed UTF-8 before accessing the file system. - The Apple Terminal application displays UTF-8 by default. - However, other applications are free to use different encodings: - xterm uses ISO-8859-1 by default. - TextEdit uses MacRoman by default. We prefer UTF-8 over decomposed UTF-8-MAC because one should minimize the use of decomposed Unicode. Unfortunately, through the Darwin file system, decomposed UTF-8 strings are leaked into user space nevertheless. Then there are also the locales with encodings other than US-ASCII and UTF-8. These locales can be occasionally useful to users (e.g. when grepping through ISO-8859-1 encoded text files), when all their file names are in US-ASCII. */ { "ARMSCII-8", "ARMSCII-8" }, { "Big5", "BIG5" }, { "Big5HKSCS", "BIG5-HKSCS" }, { "CP1131", "CP1131" }, { "CP1251", "CP1251" }, { "CP866", "CP866" }, { "CP949", "CP949" }, { "GB18030", "GB18030" }, { "GB2312", "GB2312" }, { "GBK", "GBK" }, /*{ "ISCII-DEV", "?" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-9", "ISO-8859-9" }, { "KOI8-R", "KOI8-R" }, { "KOI8-U", "KOI8-U" }, { "PT154", "PT154" }, { "SJIS", "SHIFT_JIS" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" } # define alias_table_defined # endif # if defined _AIX /* AIX */ /*{ "GBK", "GBK" },*/ { "IBM-1046", "CP1046" }, { "IBM-1124", "CP1124" }, { "IBM-1129", "CP1129" }, { "IBM-1252", "CP1252" }, { "IBM-850", "CP850" }, { "IBM-856", "CP856" }, { "IBM-921", "ISO-8859-13" }, { "IBM-922", "CP922" }, { "IBM-932", "CP932" }, { "IBM-943", "CP943" }, { "IBM-eucCN", "GB2312" }, { "IBM-eucJP", "EUC-JP" }, { "IBM-eucKR", "EUC-KR" }, { "IBM-eucTW", "EUC-TW" }, { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-6", "ISO-8859-6" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "TIS-620", "TIS-620" }, /*{ "UTF-8", "UTF-8" },*/ { "big5", "BIG5" } # define alias_table_defined # endif # if defined __hpux /* HP-UX */ { "SJIS", "SHIFT_JIS" }, { "arabic8", "HP-ARABIC8" }, { "big5", "BIG5" }, { "cp1251", "CP1251" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" }, { "gb18030", "GB18030" }, { "greek8", "HP-GREEK8" }, { "hebrew8", "HP-HEBREW8" }, { "hkbig5", "BIG5-HKSCS" }, { "hp15CN", "GB2312" }, { "iso88591", "ISO-8859-1" }, { "iso885913", "ISO-8859-13" }, { "iso885915", "ISO-8859-15" }, { "iso88592", "ISO-8859-2" }, { "iso88594", "ISO-8859-4" }, { "iso88595", "ISO-8859-5" }, { "iso88596", "ISO-8859-6" }, { "iso88597", "ISO-8859-7" }, { "iso88598", "ISO-8859-8" }, { "iso88599", "ISO-8859-9" }, { "kana8", "HP-KANA8" }, { "koi8r", "KOI8-R" }, { "roman8", "HP-ROMAN8" }, { "tis620", "TIS-620" }, { "turkish8", "HP-TURKISH8" }, { "utf8", "UTF-8" } # define alias_table_defined # endif # if defined __sgi /* IRIX */ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-9", "ISO-8859-9" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" } # define alias_table_defined # endif # if defined __osf__ /* OSF/1 */ /*{ "GBK", "GBK" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "KSC5601", "CP949" }, { "SJIS", "SHIFT_JIS" }, { "TACTIS", "TIS-620" }, /*{ "UTF-8", "UTF-8" },*/ { "big5", "BIG5" }, { "cp850", "CP850" }, { "dechanyu", "DEC-HANYU" }, { "dechanzi", "GB2312" }, { "deckanji", "DEC-KANJI" }, { "deckorean", "EUC-KR" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" }, { "sdeckanji", "EUC-JP" } # define alias_table_defined # endif # if defined __sun /* Solaris */ { "5601", "EUC-KR" }, { "646", "ASCII" }, /*{ "BIG5", "BIG5" },*/ { "Big5-HKSCS", "BIG5-HKSCS" }, { "GB18030", "GB18030" }, /*{ "GBK", "GBK" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-11", "TIS-620" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-3", "ISO-8859-3" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-6", "ISO-8859-6" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "PCK", "SHIFT_JIS" }, { "TIS620.2533", "TIS-620" }, /*{ "UTF-8", "UTF-8" },*/ { "ansi-1251", "CP1251" }, { "cns11643", "EUC-TW" }, { "eucJP", "EUC-JP" }, { "gb2312", "GB2312" }, { "koi8-r", "KOI8-R" } # define alias_table_defined # endif # if defined __minix /* Minix */ { "646", "ASCII" } # define alias_table_defined # endif # if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Windows */ { "CP1361", "JOHAB" }, { "CP20127", "ASCII" }, { "CP20866", "KOI8-R" }, { "CP20936", "GB2312" }, { "CP21866", "KOI8-RU" }, { "CP28591", "ISO-8859-1" }, { "CP28592", "ISO-8859-2" }, { "CP28593", "ISO-8859-3" }, { "CP28594", "ISO-8859-4" }, { "CP28595", "ISO-8859-5" }, { "CP28596", "ISO-8859-6" }, { "CP28597", "ISO-8859-7" }, { "CP28598", "ISO-8859-8" }, { "CP28599", "ISO-8859-9" }, { "CP28605", "ISO-8859-15" }, { "CP38598", "ISO-8859-8" }, { "CP51932", "EUC-JP" }, { "CP51936", "GB2312" }, { "CP51949", "EUC-KR" }, { "CP51950", "EUC-TW" }, { "CP54936", "GB18030" }, { "CP65001", "UTF-8" }, { "CP936", "GBK" } # define alias_table_defined # endif # if defined OS2 /* OS/2 */ /* The list of encodings is taken from "List of OS/2 Codepages" by Alex Taylor: . See also "IBM Globalization - Code page identifiers": . */ { "CP1089", "ISO-8859-6" }, { "CP1208", "UTF-8" }, { "CP1381", "GB2312" }, { "CP1386", "GBK" }, { "CP3372", "EUC-JP" }, { "CP813", "ISO-8859-7" }, { "CP819", "ISO-8859-1" }, { "CP878", "KOI8-R" }, { "CP912", "ISO-8859-2" }, { "CP913", "ISO-8859-3" }, { "CP914", "ISO-8859-4" }, { "CP915", "ISO-8859-5" }, { "CP916", "ISO-8859-8" }, { "CP920", "ISO-8859-9" }, { "CP921", "ISO-8859-13" }, { "CP923", "ISO-8859-15" }, { "CP954", "EUC-JP" }, { "CP964", "EUC-TW" }, { "CP970", "EUC-KR" } # define alias_table_defined # endif # if defined VMS /* OpenVMS */ /* The list of encodings is taken from the OpenVMS 7.3-1 documentation "Compaq C Run-Time Library Reference Manual for OpenVMS systems" section 10.7 "Handling Different Character Sets". */ { "DECHANYU", "DEC-HANYU" }, { "DECHANZI", "GB2312" }, { "DECKANJI", "DEC-KANJI" }, { "DECKOREAN", "EUC-KR" }, { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "SDECKANJI", "EUC-JP" }, { "SJIS", "SHIFT_JIS" }, { "eucJP", "EUC-JP" }, { "eucTW", "EUC-TW" } # define alias_table_defined # endif # ifndef alias_table_defined /* Just a dummy entry, to avoid a C syntax error. */ { "", "" } # endif }; # endif #else /* On these platforms, we use a mapping from locale name to GNU canonical encoding name. */ struct table_entry { const char locale[17+1]; const char canonical[11+1]; }; /* Table of platform-dependent mappings, sorted in ascending order. */ static const struct table_entry locale_table[] = { # if defined __FreeBSD__ /* FreeBSD 4.2 */ { "cs_CZ.ISO_8859-2", "ISO-8859-2" }, { "da_DK.DIS_8859-15", "ISO-8859-15" }, { "da_DK.ISO_8859-1", "ISO-8859-1" }, { "de_AT.DIS_8859-15", "ISO-8859-15" }, { "de_AT.ISO_8859-1", "ISO-8859-1" }, { "de_CH.DIS_8859-15", "ISO-8859-15" }, { "de_CH.ISO_8859-1", "ISO-8859-1" }, { "de_DE.DIS_8859-15", "ISO-8859-15" }, { "de_DE.ISO_8859-1", "ISO-8859-1" }, { "en_AU.DIS_8859-15", "ISO-8859-15" }, { "en_AU.ISO_8859-1", "ISO-8859-1" }, { "en_CA.DIS_8859-15", "ISO-8859-15" }, { "en_CA.ISO_8859-1", "ISO-8859-1" }, { "en_GB.DIS_8859-15", "ISO-8859-15" }, { "en_GB.ISO_8859-1", "ISO-8859-1" }, { "en_US.DIS_8859-15", "ISO-8859-15" }, { "en_US.ISO_8859-1", "ISO-8859-1" }, { "es_ES.DIS_8859-15", "ISO-8859-15" }, { "es_ES.ISO_8859-1", "ISO-8859-1" }, { "fi_FI.DIS_8859-15", "ISO-8859-15" }, { "fi_FI.ISO_8859-1", "ISO-8859-1" }, { "fr_BE.DIS_8859-15", "ISO-8859-15" }, { "fr_BE.ISO_8859-1", "ISO-8859-1" }, { "fr_CA.DIS_8859-15", "ISO-8859-15" }, { "fr_CA.ISO_8859-1", "ISO-8859-1" }, { "fr_CH.DIS_8859-15", "ISO-8859-15" }, { "fr_CH.ISO_8859-1", "ISO-8859-1" }, { "fr_FR.DIS_8859-15", "ISO-8859-15" }, { "fr_FR.ISO_8859-1", "ISO-8859-1" }, { "hr_HR.ISO_8859-2", "ISO-8859-2" }, { "hu_HU.ISO_8859-2", "ISO-8859-2" }, { "is_IS.DIS_8859-15", "ISO-8859-15" }, { "is_IS.ISO_8859-1", "ISO-8859-1" }, { "it_CH.DIS_8859-15", "ISO-8859-15" }, { "it_CH.ISO_8859-1", "ISO-8859-1" }, { "it_IT.DIS_8859-15", "ISO-8859-15" }, { "it_IT.ISO_8859-1", "ISO-8859-1" }, { "ja_JP.EUC", "EUC-JP" }, { "ja_JP.SJIS", "SHIFT_JIS" }, { "ja_JP.Shift_JIS", "SHIFT_JIS" }, { "ko_KR.EUC", "EUC-KR" }, { "la_LN.ASCII", "ASCII" }, { "la_LN.DIS_8859-15", "ISO-8859-15" }, { "la_LN.ISO_8859-1", "ISO-8859-1" }, { "la_LN.ISO_8859-2", "ISO-8859-2" }, { "la_LN.ISO_8859-4", "ISO-8859-4" }, { "lt_LN.ASCII", "ASCII" }, { "lt_LN.DIS_8859-15", "ISO-8859-15" }, { "lt_LN.ISO_8859-1", "ISO-8859-1" }, { "lt_LN.ISO_8859-2", "ISO-8859-2" }, { "lt_LT.ISO_8859-4", "ISO-8859-4" }, { "nl_BE.DIS_8859-15", "ISO-8859-15" }, { "nl_BE.ISO_8859-1", "ISO-8859-1" }, { "nl_NL.DIS_8859-15", "ISO-8859-15" }, { "nl_NL.ISO_8859-1", "ISO-8859-1" }, { "no_NO.DIS_8859-15", "ISO-8859-15" }, { "no_NO.ISO_8859-1", "ISO-8859-1" }, { "pl_PL.ISO_8859-2", "ISO-8859-2" }, { "pt_PT.DIS_8859-15", "ISO-8859-15" }, { "pt_PT.ISO_8859-1", "ISO-8859-1" }, { "ru_RU.CP866", "CP866" }, { "ru_RU.ISO_8859-5", "ISO-8859-5" }, { "ru_RU.KOI8-R", "KOI8-R" }, { "ru_SU.CP866", "CP866" }, { "ru_SU.ISO_8859-5", "ISO-8859-5" }, { "ru_SU.KOI8-R", "KOI8-R" }, { "sl_SI.ISO_8859-2", "ISO-8859-2" }, { "sv_SE.DIS_8859-15", "ISO-8859-15" }, { "sv_SE.ISO_8859-1", "ISO-8859-1" }, { "uk_UA.KOI8-U", "KOI8-U" }, { "zh_CN.EUC", "GB2312" }, { "zh_TW.BIG5", "BIG5" }, { "zh_TW.Big5", "BIG5" } # define locale_table_defined # endif # if defined __DJGPP__ /* DOS / DJGPP 2.03 */ /* The encodings given here may not all be correct. If you find that the encoding given for your language and country is not the one your DOS machine actually uses, just correct it in this file, and send a mail to Juan Manuel Guerrero and . */ { "C", "ASCII" }, { "ar", "CP864" }, { "ar_AE", "CP864" }, { "ar_DZ", "CP864" }, { "ar_EG", "CP864" }, { "ar_IQ", "CP864" }, { "ar_IR", "CP864" }, { "ar_JO", "CP864" }, { "ar_KW", "CP864" }, { "ar_MA", "CP864" }, { "ar_OM", "CP864" }, { "ar_QA", "CP864" }, { "ar_SA", "CP864" }, { "ar_SY", "CP864" }, { "be", "CP866" }, { "be_BE", "CP866" }, { "bg", "CP866" }, /* not CP855 ?? */ { "bg_BG", "CP866" }, /* not CP855 ?? */ { "ca", "CP850" }, { "ca_ES", "CP850" }, { "cs", "CP852" }, { "cs_CZ", "CP852" }, { "da", "CP865" }, /* not CP850 ?? */ { "da_DK", "CP865" }, /* not CP850 ?? */ { "de", "CP850" }, { "de_AT", "CP850" }, { "de_CH", "CP850" }, { "de_DE", "CP850" }, { "el", "CP869" }, { "el_GR", "CP869" }, { "en", "CP850" }, { "en_AU", "CP850" }, /* not CP437 ?? */ { "en_CA", "CP850" }, { "en_GB", "CP850" }, { "en_NZ", "CP437" }, { "en_US", "CP437" }, { "en_ZA", "CP850" }, /* not CP437 ?? */ { "eo", "CP850" }, { "eo_EO", "CP850" }, { "es", "CP850" }, { "es_AR", "CP850" }, { "es_BO", "CP850" }, { "es_CL", "CP850" }, { "es_CO", "CP850" }, { "es_CR", "CP850" }, { "es_CU", "CP850" }, { "es_DO", "CP850" }, { "es_EC", "CP850" }, { "es_ES", "CP850" }, { "es_GT", "CP850" }, { "es_HN", "CP850" }, { "es_MX", "CP850" }, { "es_NI", "CP850" }, { "es_PA", "CP850" }, { "es_PE", "CP850" }, { "es_PY", "CP850" }, { "es_SV", "CP850" }, { "es_UY", "CP850" }, { "es_VE", "CP850" }, { "et", "CP850" }, { "et_EE", "CP850" }, { "eu", "CP850" }, { "eu_ES", "CP850" }, { "fi", "CP850" }, { "fi_FI", "CP850" }, { "fr", "CP850" }, { "fr_BE", "CP850" }, { "fr_CA", "CP850" }, { "fr_CH", "CP850" }, { "fr_FR", "CP850" }, { "ga", "CP850" }, { "ga_IE", "CP850" }, { "gd", "CP850" }, { "gd_GB", "CP850" }, { "gl", "CP850" }, { "gl_ES", "CP850" }, { "he", "CP862" }, { "he_IL", "CP862" }, { "hr", "CP852" }, { "hr_HR", "CP852" }, { "hu", "CP852" }, { "hu_HU", "CP852" }, { "id", "CP850" }, /* not CP437 ?? */ { "id_ID", "CP850" }, /* not CP437 ?? */ { "is", "CP861" }, /* not CP850 ?? */ { "is_IS", "CP861" }, /* not CP850 ?? */ { "it", "CP850" }, { "it_CH", "CP850" }, { "it_IT", "CP850" }, { "ja", "CP932" }, { "ja_JP", "CP932" }, { "kr", "CP949" }, /* not CP934 ?? */ { "kr_KR", "CP949" }, /* not CP934 ?? */ { "lt", "CP775" }, { "lt_LT", "CP775" }, { "lv", "CP775" }, { "lv_LV", "CP775" }, { "mk", "CP866" }, /* not CP855 ?? */ { "mk_MK", "CP866" }, /* not CP855 ?? */ { "mt", "CP850" }, { "mt_MT", "CP850" }, { "nb", "CP865" }, /* not CP850 ?? */ { "nb_NO", "CP865" }, /* not CP850 ?? */ { "nl", "CP850" }, { "nl_BE", "CP850" }, { "nl_NL", "CP850" }, { "nn", "CP865" }, /* not CP850 ?? */ { "nn_NO", "CP865" }, /* not CP850 ?? */ { "no", "CP865" }, /* not CP850 ?? */ { "no_NO", "CP865" }, /* not CP850 ?? */ { "pl", "CP852" }, { "pl_PL", "CP852" }, { "pt", "CP850" }, { "pt_BR", "CP850" }, { "pt_PT", "CP850" }, { "ro", "CP852" }, { "ro_RO", "CP852" }, { "ru", "CP866" }, { "ru_RU", "CP866" }, { "sk", "CP852" }, { "sk_SK", "CP852" }, { "sl", "CP852" }, { "sl_SI", "CP852" }, { "sq", "CP852" }, { "sq_AL", "CP852" }, { "sr", "CP852" }, /* CP852 or CP866 or CP855 ?? */ { "sr_CS", "CP852" }, /* CP852 or CP866 or CP855 ?? */ { "sr_YU", "CP852" }, /* CP852 or CP866 or CP855 ?? */ { "sv", "CP850" }, { "sv_SE", "CP850" }, { "th", "CP874" }, { "th_TH", "CP874" }, { "tr", "CP857" }, { "tr_TR", "CP857" }, { "uk", "CP1125" }, { "uk_UA", "CP1125" }, { "zh_CN", "GBK" }, { "zh_TW", "CP950" } /* not CP938 ?? */ # define locale_table_defined # endif # ifndef locale_table_defined /* Just a dummy entry, to avoid a C syntax error. */ { "", "" } # endif }; #endif /* Determine the current locale's character encoding, and canonicalize it into one of the canonical names listed in localcharset.h. The result must not be freed; it is statically allocated. If the canonical name cannot be determined, the result is a non-canonical name. */ #ifdef STATIC STATIC #endif const char * locale_charset (void) { const char *codeset; #if HAVE_LANGINFO_CODESET || defined WINDOWS_NATIVE || defined OS2 # if HAVE_LANGINFO_CODESET /* Most systems support nl_langinfo (CODESET) nowadays. */ codeset = nl_langinfo (CODESET); # ifdef __CYGWIN__ /* Cygwin < 1.7 does not have locales. nl_langinfo (CODESET) always returns "US-ASCII". Return the suffix of the locale name from the environment variables (if present) or the codepage as a number. */ if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) { const char *locale; static char buf[2 + 10 + 1]; locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); } if (locale != NULL && locale[0] != '\0') { /* If the locale name contains an encoding after the dot, return it. */ const char *dot = strchr (locale, '.'); if (dot != NULL) { const char *modifier; dot++; /* Look for the possible @... trailer and remove it, if any. */ modifier = strchr (dot, '@'); if (modifier == NULL) return dot; if (modifier - dot < sizeof (buf)) { memcpy (buf, dot, modifier - dot); buf [modifier - dot] = '\0'; return buf; } } } /* The Windows API has a function returning the locale's codepage as a number: GetACP(). This encoding is used by Cygwin, unless the user has set the environment variable CYGWIN=codepage:oem (which very few people do). Output directed to console windows needs to be converted (to GetOEMCP() if the console is using a raster font, or to GetConsoleOutputCP() if it is using a TrueType font). Cygwin does this conversion transparently (see winsup/cygwin/fhandler_console.cc), converting to GetConsoleOutputCP(). This leads to correct results, except when SetConsoleOutputCP has been called and a raster font is in use. */ sprintf (buf, "CP%u", GetACP ()); codeset = buf; } # endif if (codeset == NULL) /* The canonical name cannot be determined. */ codeset = ""; # elif defined WINDOWS_NATIVE static char buf[2 + 10 + 1]; /* The Windows API has a function returning the locale's codepage as a number, but the value doesn't change according to what the 'setlocale' call specified. So we use it as a last resort, in case the string returned by 'setlocale' doesn't specify the codepage. */ char *current_locale = setlocale (LC_ALL, NULL); char *pdot; /* If they set different locales for different categories, 'setlocale' will return a semi-colon separated list of locale values. To make sure we use the correct one, we choose LC_CTYPE. */ if (strchr (current_locale, ';')) current_locale = setlocale (LC_CTYPE, NULL); pdot = strrchr (current_locale, '.'); if (pdot && 2 + strlen (pdot + 1) + 1 <= sizeof (buf)) sprintf (buf, "CP%s", pdot + 1); else { /* The Windows API has a function returning the locale's codepage as a number: GetACP(). When the output goes to a console window, it needs to be provided in GetOEMCP() encoding if the console is using a raster font, or in GetConsoleOutputCP() encoding if it is using a TrueType font. But in GUI programs and for output sent to files and pipes, GetACP() encoding is the best bet. */ sprintf (buf, "CP%u", GetACP ()); } /* For a locale name such as "French_France.65001", in Windows 10, setlocale now returns "French_France.utf8" instead. */ if (strcmp (buf + 2, "65001") == 0 || strcmp (buf + 2, "utf8") == 0) codeset = "UTF-8"; else codeset = buf; # elif defined OS2 const char *locale; static char buf[2 + 10 + 1]; ULONG cp[3]; ULONG cplen; codeset = NULL; /* Allow user to override the codeset, as set in the operating system, with standard language environment variables. */ locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); } if (locale != NULL && locale[0] != '\0') { /* If the locale name contains an encoding after the dot, return it. */ const char *dot = strchr (locale, '.'); if (dot != NULL) { const char *modifier; dot++; /* Look for the possible @... trailer and remove it, if any. */ modifier = strchr (dot, '@'); if (modifier == NULL) return dot; if (modifier - dot < sizeof (buf)) { memcpy (buf, dot, modifier - dot); buf [modifier - dot] = '\0'; return buf; } } /* For the POSIX locale, don't use the system's codepage. */ if (strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0) codeset = ""; } if (codeset == NULL) { /* OS/2 has a function returning the locale's codepage as a number. */ if (DosQueryCp (sizeof (cp), cp, &cplen)) codeset = ""; else { sprintf (buf, "CP%u", cp[0]); codeset = buf; } } # else # error "Add code for other platforms here." # endif /* Resolve alias. */ { # ifdef alias_table_defined /* On some platforms, UTF-8 locales are the most frequently used ones. Speed up the common case and slow down the less common cases by testing for this case first. */ # if defined __OpenBSD__ || (defined __APPLE__ && defined __MACH__) || defined __sun || defined __CYGWIN__ if (strcmp (codeset, "UTF-8") == 0) goto done_table_lookup; else # endif { const struct table_entry * const table = alias_table; size_t const table_size = sizeof (alias_table) / sizeof (struct table_entry); /* The table is sorted. Perform a binary search. */ size_t hi = table_size; size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, strcmp (table[i].alias, codeset) < 0, for i >= hi, strcmp (table[i].alias, codeset) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = strcmp (table[mid].alias, codeset); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with strcmp (table[i].alias, codeset) == 0. */ codeset = table[mid].canonical; goto done_table_lookup; } } } if (0) done_table_lookup: ; else # endif { /* Did not find it in the table. */ /* On Mac OS X, all modern locales use the UTF-8 encoding. BeOS and Haiku have a single locale, and it has UTF-8 encoding. */ # if (defined __APPLE__ && defined __MACH__) || defined __BEOS__ || defined __HAIKU__ codeset = "UTF-8"; # else /* Don't return an empty string. GNU libc and GNU libiconv interpret the empty string as denoting "the locale's character encoding", thus GNU libiconv would call this function a second time. */ if (codeset[0] == '\0') codeset = "ASCII"; # endif } } #else /* On old systems which lack it, use setlocale or getenv. */ const char *locale = NULL; /* But most old systems don't have a complete set of locales. Some (like DJGPP) have only the C locale. Therefore we don't use setlocale here; it would return "C" when it doesn't support the locale name the user has set. */ # if 0 locale = setlocale (LC_CTYPE, NULL); # endif if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); if (locale == NULL) locale = ""; } } /* Map locale name to canonical encoding name. */ { # ifdef locale_table_defined const struct table_entry * const table = locale_table; size_t const table_size = sizeof (locale_table) / sizeof (struct table_entry); /* The table is sorted. Perform a binary search. */ size_t hi = table_size; size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, strcmp (table[i].locale, locale) < 0, for i >= hi, strcmp (table[i].locale, locale) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = strcmp (table[mid].locale, locale); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with strcmp (table[i].locale, locale) == 0. */ codeset = table[mid].canonical; goto done_table_lookup; } } if (0) done_table_lookup: ; else # endif { /* Did not find it in the table. */ /* On Mac OS X, all modern locales use the UTF-8 encoding. BeOS and Haiku have a single locale, and it has UTF-8 encoding. */ # if (defined __APPLE__ && defined __MACH__) || defined __BEOS__ || defined __HAIKU__ codeset = "UTF-8"; # else /* The canonical name cannot be determined. */ /* Don't return an empty string. GNU libc and GNU libiconv interpret the empty string as denoting "the locale's character encoding", thus GNU libiconv would call this function a second time. */ codeset = "ASCII"; # endif } } #endif #ifdef DARWIN7 /* Mac OS X sets MB_CUR_MAX to 1 when LC_ALL=C, and "UTF-8" (the default codeset) does not work when MB_CUR_MAX is 1. */ if (strcmp (codeset, "UTF-8") == 0 && MB_CUR_MAX_L (uselocale (NULL)) <= 1) codeset = "ASCII"; #endif return codeset; } gsasl-1.8.1/gl/quotearg.h0000644000000000000000000004203413516251576012141 00000000000000/* quotearg.h - quote arguments for output Copyright (C) 1998-2002, 2004, 2006, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert */ #ifndef QUOTEARG_H_ # define QUOTEARG_H_ 1 # include /* Basic quoting styles. For each style, an example is given on the input strings "simple", "\0 \t\n'\"\033?""?/\\", and "a:b", using quotearg_buffer, quotearg_mem, and quotearg_colon_mem with that style and the default flags and quoted characters. Note that the examples are shown here as valid C strings rather than what displays on a terminal (with "??/" as a trigraph for "\\"). */ enum quoting_style { /* Output names as-is (ls --quoting-style=literal). Can result in embedded null bytes if QA_ELIDE_NULL_BYTES is not in effect. quotearg_buffer: "simple", "\0 \t\n'\"\033??/\\", "a:b" quotearg: "simple", " \t\n'\"\033??/\\", "a:b" quotearg_colon: "simple", " \t\n'\"\033??/\\", "a:b" */ literal_quoting_style, /* Quote names for the shell if they contain shell metacharacters or would cause ambiguous output (ls --quoting-style=shell). Can result in embedded null bytes if QA_ELIDE_NULL_BYTES is not in effect. quotearg_buffer: "simple", "'\0 \t\n'\\''\"\033??/\\'", "a:b" quotearg: "simple", "' \t\n'\\''\"\033??/\\'", "a:b" quotearg_colon: "simple", "' \t\n'\\''\"\033??/\\'", "'a:b'" */ shell_quoting_style, /* Quote names for the shell, even if they would normally not require quoting (ls --quoting-style=shell-always). Can result in embedded null bytes if QA_ELIDE_NULL_BYTES is not in effect. Behaves like shell_quoting_style if QA_ELIDE_OUTER_QUOTES is in effect. quotearg_buffer: "'simple'", "'\0 \t\n'\\''\"\033??/\\'", "'a:b'" quotearg: "'simple'", "' \t\n'\\''\"\033??/\\'", "'a:b'" quotearg_colon: "'simple'", "' \t\n'\\''\"\033??/\\'", "'a:b'" */ shell_always_quoting_style, /* Quote names for the shell if they contain shell metacharacters or other problematic characters (ls --quoting-style=shell-escape). Non printable characters are quoted using the $'...' syntax, which originated in ksh93 and is widely supported by most shells, and proposed for inclusion in POSIX. quotearg_buffer: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\\'", "a:b" quotearg: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\\'", "a:b" quotearg_colon: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\\'", "'a:b'" */ shell_escape_quoting_style, /* Quote names for the shell even if they would normally not require quoting (ls --quoting-style=shell-escape). Non printable characters are quoted using the $'...' syntax, which originated in ksh93 and is widely supported by most shells, and proposed for inclusion in POSIX. Behaves like shell_escape_quoting_style if QA_ELIDE_OUTER_QUOTES is in effect. quotearg_buffer: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\'", "a:b" quotearg: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\'", "a:b" quotearg_colon: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\'", "'a:b'" */ shell_escape_always_quoting_style, /* Quote names as for a C language string (ls --quoting-style=c). Behaves like c_maybe_quoting_style if QA_ELIDE_OUTER_QUOTES is in effect. Split into consecutive strings if QA_SPLIT_TRIGRAPHS. quotearg_buffer: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg_colon: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a\\:b\"" */ c_quoting_style, /* Like c_quoting_style except omit the surrounding double-quote characters if no quoted characters are encountered. quotearg_buffer: "simple", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "a:b" quotearg: "simple", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "a:b" quotearg_colon: "simple", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" */ c_maybe_quoting_style, /* Like c_quoting_style except always omit the surrounding double-quote characters and ignore QA_SPLIT_TRIGRAPHS (ls --quoting-style=escape). quotearg_buffer: "simple", "\\0 \\t\\n'\"\\033??/\\\\", "a:b" quotearg: "simple", "\\0 \\t\\n'\"\\033??/\\\\", "a:b" quotearg_colon: "simple", "\\0 \\t\\n'\"\\033??/\\\\", "a\\:b" */ escape_quoting_style, /* Like clocale_quoting_style, but use single quotes in the default C locale or if the program does not use gettext (ls --quoting-style=locale). For UTF-8 locales, quote characters will use Unicode. LC_MESSAGES=C quotearg_buffer: "`simple'", "`\\0 \\t\\n\\'\"\\033??/\\\\'", "`a:b'" quotearg: "`simple'", "`\\0 \\t\\n\\'\"\\033??/\\\\'", "`a:b'" quotearg_colon: "`simple'", "`\\0 \\t\\n\\'\"\\033??/\\\\'", "`a\\:b'" LC_MESSAGES=pt_PT.utf8 quotearg_buffer: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg_colon: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a\\:b\302\273" */ locale_quoting_style, /* Like c_quoting_style except use quotation marks appropriate for the locale and ignore QA_SPLIT_TRIGRAPHS (ls --quoting-style=clocale). LC_MESSAGES=C quotearg_buffer: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg_colon: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a\\:b\"" LC_MESSAGES=pt_PT.utf8 quotearg_buffer: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg_colon: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a\\:b\302\273" */ clocale_quoting_style, /* Like clocale_quoting_style except use the custom quotation marks set by set_custom_quoting. If custom quotation marks are not set, the behavior is undefined. left_quote = right_quote = "'" quotearg_buffer: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a:b'" quotearg: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a:b'" quotearg_colon: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a\\:b'" left_quote = "(" and right_quote = ")" quotearg_buffer: "(simple)", "(\\0 \\t\\n'\"\\033??/\\\\)", "(a:b)" quotearg: "(simple)", "(\\0 \\t\\n'\"\\033??/\\\\)", "(a:b)" quotearg_colon: "(simple)", "(\\0 \\t\\n'\"\\033??/\\\\)", "(a\\:b)" left_quote = ":" and right_quote = " " quotearg_buffer: ":simple ", ":\\0\\ \\t\\n'\"\\033??/\\\\ ", ":a:b " quotearg: ":simple ", ":\\0\\ \\t\\n'\"\\033??/\\\\ ", ":a:b " quotearg_colon: ":simple ", ":\\0\\ \\t\\n'\"\\033??/\\\\ ", ":a\\:b " left_quote = "\"'" and right_quote = "'\"" Notice that this is treated as a single level of quotes or two levels where the outer quote need not be escaped within the inner quotes. For two levels where the outer quote must be escaped within the inner quotes, you must use separate quotearg invocations. quotearg_buffer: "\"'simple'\"", "\"'\\0 \\t\\n\\'\"\\033??/\\\\'\"", "\"'a:b'\"" quotearg: "\"'simple'\"", "\"'\\0 \\t\\n\\'\"\\033??/\\\\'\"", "\"'a:b'\"" quotearg_colon: "\"'simple'\"", "\"'\\0 \\t\\n\\'\"\\033??/\\\\'\"", "\"'a\\:b'\"" */ custom_quoting_style }; /* Flags for use in set_quoting_flags. */ enum quoting_flags { /* Always elide null bytes from styles that do not quote them, even when the length of the result is available to the caller. */ QA_ELIDE_NULL_BYTES = 0x01, /* Omit the surrounding quote characters if no escaped characters are encountered. Note that if no other character needs escaping, then neither does the escape character. */ QA_ELIDE_OUTER_QUOTES = 0x02, /* In the c_quoting_style and c_maybe_quoting_style, split ANSI trigraph sequences into concatenated strings (for example, "?""?/" rather than "??/", which could be confused with "\\"). */ QA_SPLIT_TRIGRAPHS = 0x04 }; /* For now, --quoting-style=literal is the default, but this may change. */ # ifndef DEFAULT_QUOTING_STYLE # define DEFAULT_QUOTING_STYLE literal_quoting_style # endif /* Names of quoting styles and their corresponding values. */ extern char const *const quoting_style_args[]; extern enum quoting_style const quoting_style_vals[]; struct quoting_options; /* The functions listed below set and use a hidden variable that contains the default quoting style options. */ /* Allocate a new set of quoting options, with contents initially identical to O if O is not null, or to the default if O is null. It is the caller's responsibility to free the result. */ struct quoting_options *clone_quoting_options (struct quoting_options *o); /* Get the value of O's quoting style. If O is null, use the default. */ enum quoting_style get_quoting_style (struct quoting_options const *o); /* In O (or in the default if O is null), set the value of the quoting style to S. */ void set_quoting_style (struct quoting_options *o, enum quoting_style s); /* In O (or in the default if O is null), set the value of the quoting options for character C to I. Return the old value. Currently, the only values defined for I are 0 (the default) and 1 (which means to quote the character even if it would not otherwise be quoted). C must never be a digit or a letter that has special meaning after a backslash (for example, "\t" for tab). */ int set_char_quoting (struct quoting_options *o, char c, int i); /* In O (or in the default if O is null), set the value of the quoting options flag to I, which can be a bitwise combination of enum quoting_flags, or 0 for default behavior. Return the old value. */ int set_quoting_flags (struct quoting_options *o, int i); /* In O (or in the default if O is null), set the value of the quoting style to custom_quoting_style, set the left quote to LEFT_QUOTE, and set the right quote to RIGHT_QUOTE. Each of LEFT_QUOTE and RIGHT_QUOTE must be null-terminated and can be the empty string. Because backslashes are used for escaping, it does not make sense for RIGHT_QUOTE to contain a backslash. RIGHT_QUOTE must not begin with a digit or a letter that has special meaning after a backslash (for example, "\t" for tab). */ void set_custom_quoting (struct quoting_options *o, char const *left_quote, char const *right_quote); /* Place into buffer BUFFER (of size BUFFERSIZE) a quoted version of argument ARG (of size ARGSIZE), using O to control quoting. If O is null, use the default. Terminate the output with a null character, and return the written size of the output, not counting the terminating null. If BUFFERSIZE is too small to store the output string, return the value that would have been returned had BUFFERSIZE been large enough. If ARGSIZE is -1, use the string length of the argument for ARGSIZE. On output, BUFFER might contain embedded null bytes if ARGSIZE was not -1, the style of O does not use backslash escapes, and the flags of O do not request elision of null bytes.*/ size_t quotearg_buffer (char *buffer, size_t buffersize, char const *arg, size_t argsize, struct quoting_options const *o); /* Like quotearg_buffer, except return the result in a newly allocated buffer. It is the caller's responsibility to free the result. The result will not contain embedded null bytes. */ char *quotearg_alloc (char const *arg, size_t argsize, struct quoting_options const *o); /* Like quotearg_alloc, except that the length of the result, excluding the terminating null byte, is stored into SIZE if it is non-NULL. The result might contain embedded null bytes if ARGSIZE was not -1, SIZE was not NULL, the style of O does not use backslash escapes, and the flags of O do not request elision of null bytes.*/ char *quotearg_alloc_mem (char const *arg, size_t argsize, size_t *size, struct quoting_options const *o); /* Use storage slot N to return a quoted version of the string ARG. Use the default quoting options. The returned value points to static storage that can be reused by the next call to this function with the same value of N. N must be nonnegative. The output of all functions in the quotearg_n family are guaranteed to not contain embedded null bytes.*/ char *quotearg_n (int n, char const *arg); /* Equivalent to quotearg_n (0, ARG). */ char *quotearg (char const *arg); /* Use storage slot N to return a quoted version of the argument ARG of size ARGSIZE. This is like quotearg_n (N, ARG), except it can quote null bytes. */ char *quotearg_n_mem (int n, char const *arg, size_t argsize); /* Equivalent to quotearg_n_mem (0, ARG, ARGSIZE). */ char *quotearg_mem (char const *arg, size_t argsize); /* Use style S and storage slot N to return a quoted version of the string ARG. This is like quotearg_n (N, ARG), except that it uses S with no other options to specify the quoting method. */ char *quotearg_n_style (int n, enum quoting_style s, char const *arg); /* Use style S and storage slot N to return a quoted version of the argument ARG of size ARGSIZE. This is like quotearg_n_style (N, S, ARG), except it can quote null bytes. */ char *quotearg_n_style_mem (int n, enum quoting_style s, char const *arg, size_t argsize); /* Equivalent to quotearg_n_style (0, S, ARG). */ char *quotearg_style (enum quoting_style s, char const *arg); /* Equivalent to quotearg_n_style_mem (0, S, ARG, ARGSIZE). */ char *quotearg_style_mem (enum quoting_style s, char const *arg, size_t argsize); /* Like quotearg (ARG), except also quote any instances of CH. See set_char_quoting for a description of acceptable CH values. */ char *quotearg_char (char const *arg, char ch); /* Like quotearg_char (ARG, CH), except it can quote null bytes. */ char *quotearg_char_mem (char const *arg, size_t argsize, char ch); /* Equivalent to quotearg_char (ARG, ':'). */ char *quotearg_colon (char const *arg); /* Like quotearg_colon (ARG), except it can quote null bytes. */ char *quotearg_colon_mem (char const *arg, size_t argsize); /* Like quotearg_n_style, except with ':' quoting enabled. */ char *quotearg_n_style_colon (int n, enum quoting_style s, char const *arg); /* Like quotearg_n_style (N, S, ARG) but with S as custom_quoting_style with left quote as LEFT_QUOTE and right quote as RIGHT_QUOTE. See set_custom_quoting for a description of acceptable LEFT_QUOTE and RIGHT_QUOTE values. */ char *quotearg_n_custom (int n, char const *left_quote, char const *right_quote, char const *arg); /* Like quotearg_n_custom (N, LEFT_QUOTE, RIGHT_QUOTE, ARG) except it can quote null bytes. */ char *quotearg_n_custom_mem (int n, char const *left_quote, char const *right_quote, char const *arg, size_t argsize); /* Equivalent to quotearg_n_custom (0, LEFT_QUOTE, RIGHT_QUOTE, ARG). */ char *quotearg_custom (char const *left_quote, char const *right_quote, char const *arg); /* Equivalent to quotearg_n_custom_mem (0, LEFT_QUOTE, RIGHT_QUOTE, ARG, ARGSIZE). */ char *quotearg_custom_mem (char const *left_quote, char const *right_quote, char const *arg, size_t argsize); /* Free any dynamically allocated memory. */ void quotearg_free (void); #endif /* !QUOTEARG_H_ */ gsasl-1.8.1/gl/getopt-core.h0000644000000000000000000000710313516251573012535 00000000000000/* Declarations for getopt (basic, portable features only). Copyright (C) 1989-2019 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library 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 3 of the License, or (at your option) any later version. The GNU C Library 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 the GNU C Library; if not, see . */ #ifndef _GETOPT_CORE_H #define _GETOPT_CORE_H 1 /* This header should not be used directly; include getopt.h or unistd.h instead. Unlike most bits headers, it does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ __BEGIN_DECLS /* For communication from 'getopt' to the caller. When 'getopt' finds an option that takes an argument, the argument value is returned here. Also, when 'ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ extern char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to 'getopt'. On entry to 'getopt', zero means this is the first call; initialize. When 'getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, 'optind' communicates from one call to the next how much of ARGV has been scanned so far. */ extern int optind; /* Callers store zero here to inhibit the error message 'getopt' prints for unrecognized options. */ extern int opterr; /* Set to an option character which was unrecognized. */ extern int optopt; /* Get definitions and prototypes for functions to process the arguments in ARGV (ARGC of them, minus the program name) for options given in OPTS. Return the option character from OPTS just read. Return -1 when there are no more options. For unrecognized options, or options missing arguments, 'optopt' is set to the option letter, and '?' is returned. The OPTS string is a list of characters which are recognized option letters, optionally followed by colons, specifying that that letter takes an argument, to be placed in 'optarg'. If a letter in OPTS is followed by two colons, its argument is optional. This behavior is specific to the GNU 'getopt'. The argument '--' causes premature termination of argument scanning, explicitly telling 'getopt' that there are no more options. If OPTS begins with '-', then non-option arguments are treated as arguments to the option '\1'. This behavior is specific to the GNU 'getopt'. If OPTS begins with '+', or POSIXLY_CORRECT is set in the environment, then do not permute arguments. For standards compliance, the 'argv' argument has the type char *const *, but this is inaccurate; if argument permutation is enabled, the argv array (not the strings it points to) must be writable. */ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW _GL_ARG_NONNULL ((2, 3)); __END_DECLS #endif /* _GETOPT_CORE_H */ gsasl-1.8.1/gl/inet_ntop.c0000644000000000000000000001534713516251575012312 00000000000000/* inet_ntop.c -- convert IPv4 and IPv6 addresses from binary to text form Copyright (C) 2005-2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* * Copyright (c) 1996-1999 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ #include /* Specification. */ #include /* Use this to suppress gcc's "...may be used before initialized" warnings. Beware: The Code argument must not contain commas. */ #ifndef IF_LINT # if defined GCC_LINT || defined lint # define IF_LINT(Code) Code # else # define IF_LINT(Code) /* empty */ # endif #endif #if HAVE_DECL_INET_NTOP # undef inet_ntop const char * rpl_inet_ntop (int af, const void *restrict src, char *restrict dst, socklen_t cnt) { return inet_ntop (af, src, dst, cnt); } #else # include # include # include # define NS_IN6ADDRSZ 16 # define NS_INT16SZ 2 /* * WARNING: Don't even consider trying to compile this on a system where * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. */ typedef int verify_int_size[4 <= sizeof (int) ? 1 : -1]; static const char *inet_ntop4 (const unsigned char *src, char *dst, socklen_t size); # if HAVE_IPV6 static const char *inet_ntop6 (const unsigned char *src, char *dst, socklen_t size); # endif /* char * * inet_ntop(af, src, dst, size) * convert a network format address to presentation format. * return: * pointer to presentation format address ('dst'), or NULL (see errno). * author: * Paul Vixie, 1996. */ const char * inet_ntop (int af, const void *restrict src, char *restrict dst, socklen_t cnt) { switch (af) { # if HAVE_IPV4 case AF_INET: return (inet_ntop4 (src, dst, cnt)); # endif # if HAVE_IPV6 case AF_INET6: return (inet_ntop6 (src, dst, cnt)); # endif default: errno = EAFNOSUPPORT; return (NULL); } /* NOTREACHED */ } /* const char * * inet_ntop4(src, dst, size) * format an IPv4 address * return: * 'dst' (as a const) * notes: * (1) uses no statics * (2) takes a u_char* not an in_addr as input * author: * Paul Vixie, 1996. */ static const char * inet_ntop4 (const unsigned char *src, char *dst, socklen_t size) { char tmp[sizeof "255.255.255.255"]; int len; len = sprintf (tmp, "%u.%u.%u.%u", src[0], src[1], src[2], src[3]); if (len < 0) return NULL; if (len > size) { errno = ENOSPC; return NULL; } return strcpy (dst, tmp); } # if HAVE_IPV6 /* const char * * inet_ntop6(src, dst, size) * convert IPv6 binary address into presentation (printable) format * author: * Paul Vixie, 1996. */ static const char * inet_ntop6 (const unsigned char *src, char *dst, socklen_t size) { /* * Note that int32_t and int16_t need only be "at least" large enough * to contain a value of the specified size. On some systems, like * Crays, there is no such thing as an integer variable with 16 bits. * Keep this in mind if you think this function should have been coded * to use pointer overlays. All the world's not a VAX. */ char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; struct { int base, len; } best, cur; unsigned int words[NS_IN6ADDRSZ / NS_INT16SZ]; int i; /* * Preprocess: * Copy the input (bytewise) array into a wordwise array. * Find the longest run of 0x00's in src[] for :: shorthanding. */ memset (words, '\0', sizeof words); for (i = 0; i < NS_IN6ADDRSZ; i += 2) words[i / 2] = (src[i] << 8) | src[i + 1]; best.base = -1; cur.base = -1; IF_LINT(best.len = 0); IF_LINT(cur.len = 0); for (i = 0; i < (NS_IN6ADDRSZ / NS_INT16SZ); i++) { if (words[i] == 0) { if (cur.base == -1) cur.base = i, cur.len = 1; else cur.len++; } else { if (cur.base != -1) { if (best.base == -1 || cur.len > best.len) best = cur; cur.base = -1; } } } if (cur.base != -1) { if (best.base == -1 || cur.len > best.len) best = cur; } if (best.base != -1 && best.len < 2) best.base = -1; /* * Format the result. */ tp = tmp; for (i = 0; i < (NS_IN6ADDRSZ / NS_INT16SZ); i++) { /* Are we inside the best run of 0x00's? */ if (best.base != -1 && i >= best.base && i < (best.base + best.len)) { if (i == best.base) *tp++ = ':'; continue; } /* Are we following an initial run of 0x00s or any real hex? */ if (i != 0) *tp++ = ':'; /* Is this address an encapsulated IPv4? */ if (i == 6 && best.base == 0 && (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { if (!inet_ntop4 (src + 12, tp, sizeof tmp - (tp - tmp))) return (NULL); tp += strlen (tp); break; } { int len = sprintf (tp, "%x", words[i]); if (len < 0) return NULL; tp += len; } } /* Was it a trailing run of 0x00's? */ if (best.base != -1 && (best.base + best.len) == (NS_IN6ADDRSZ / NS_INT16SZ)) *tp++ = ':'; *tp++ = '\0'; /* * Check for overflow, copy, and we're done. */ if ((socklen_t) (tp - tmp) > size) { errno = ENOSPC; return NULL; } return strcpy (dst, tmp); } # endif #endif gsasl-1.8.1/gl/striconv.c0000644000000000000000000003120013516251577012146 00000000000000/* Charset conversion. Copyright (C) 2001-2007, 2010-2019 Free Software Foundation, Inc. Written by Bruno Haible and Simon Josefsson. 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 3, 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, see . */ #include /* Specification. */ #include "striconv.h" #include #include #include #if HAVE_ICONV # include /* Get MB_LEN_MAX, CHAR_BIT. */ # include #endif #include "c-strcase.h" #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif #if HAVE_ICONV int mem_cd_iconv (const char *src, size_t srclen, iconv_t cd, char **resultp, size_t *lengthp) { # define tmpbufsize 4096 size_t length; char *result; /* Avoid glibc-2.1 bug and Solaris 2.7-2.9 bug. */ # if defined _LIBICONV_VERSION \ || !(((__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) && !defined __UCLIBC__) \ || defined __sun) /* Set to the initial state. */ iconv (cd, NULL, NULL, NULL, NULL); # endif /* Determine the length we need. */ { size_t count = 0; /* The alignment is needed when converting e.g. to glibc's WCHAR_T or libiconv's UCS-4-INTERNAL encoding. */ union { unsigned int align; char buf[tmpbufsize]; } tmp; # define tmpbuf tmp.buf const char *inptr = src; size_t insize = srclen; while (insize > 0) { char *outptr = tmpbuf; size_t outsize = tmpbufsize; size_t res = iconv (cd, (ICONV_CONST char **) &inptr, &insize, &outptr, &outsize); if (res == (size_t)(-1)) { if (errno == E2BIG) ; else if (errno == EINVAL) break; else return -1; } # if !defined _LIBICONV_VERSION && !(defined __GLIBC__ && !defined __UCLIBC__) /* Irix iconv() inserts a NUL byte if it cannot convert. NetBSD iconv() inserts a question mark if it cannot convert. Only GNU libiconv and GNU libc are known to prefer to fail rather than doing a lossy conversion. */ else if (res > 0) { errno = EILSEQ; return -1; } # endif count += outptr - tmpbuf; } /* Avoid glibc-2.1 bug and Solaris 2.7 bug. */ # if defined _LIBICONV_VERSION \ || !(((__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) && !defined __UCLIBC__) \ || defined __sun) { char *outptr = tmpbuf; size_t outsize = tmpbufsize; size_t res = iconv (cd, NULL, NULL, &outptr, &outsize); if (res == (size_t)(-1)) return -1; count += outptr - tmpbuf; } # endif length = count; # undef tmpbuf } if (length == 0) { *lengthp = 0; return 0; } if (*resultp != NULL && *lengthp >= length) result = *resultp; else { result = (char *) malloc (length); if (result == NULL) { errno = ENOMEM; return -1; } } /* Avoid glibc-2.1 bug and Solaris 2.7-2.9 bug. */ # if defined _LIBICONV_VERSION \ || !(((__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) && !defined __UCLIBC__) \ || defined __sun) /* Return to the initial state. */ iconv (cd, NULL, NULL, NULL, NULL); # endif /* Do the conversion for real. */ { const char *inptr = src; size_t insize = srclen; char *outptr = result; size_t outsize = length; while (insize > 0) { size_t res = iconv (cd, (ICONV_CONST char **) &inptr, &insize, &outptr, &outsize); if (res == (size_t)(-1)) { if (errno == EINVAL) break; else goto fail; } # if !defined _LIBICONV_VERSION && !(defined __GLIBC__ && !defined __UCLIBC__) /* Irix iconv() inserts a NUL byte if it cannot convert. NetBSD iconv() inserts a question mark if it cannot convert. Only GNU libiconv and GNU libc are known to prefer to fail rather than doing a lossy conversion. */ else if (res > 0) { errno = EILSEQ; goto fail; } # endif } /* Avoid glibc-2.1 bug and Solaris 2.7 bug. */ # if defined _LIBICONV_VERSION \ || !(((__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) && !defined __UCLIBC__) \ || defined __sun) { size_t res = iconv (cd, NULL, NULL, &outptr, &outsize); if (res == (size_t)(-1)) goto fail; } # endif if (outsize != 0) abort (); } *resultp = result; *lengthp = length; return 0; fail: { if (result != *resultp) { int saved_errno = errno; free (result); errno = saved_errno; } return -1; } # undef tmpbufsize } char * str_cd_iconv (const char *src, iconv_t cd) { /* For most encodings, a trailing NUL byte in the input will be converted to a trailing NUL byte in the output. But not for UTF-7. So that this function is usable for UTF-7, we have to exclude the NUL byte from the conversion and add it by hand afterwards. */ # if !defined _LIBICONV_VERSION && !(defined __GLIBC__ && !defined __UCLIBC__) /* Irix iconv() inserts a NUL byte if it cannot convert. NetBSD iconv() inserts a question mark if it cannot convert. Only GNU libiconv and GNU libc are known to prefer to fail rather than doing a lossy conversion. For other iconv() implementations, we have to look at the number of irreversible conversions returned; but this information is lost when iconv() returns for an E2BIG reason. Therefore we cannot use the second, faster algorithm. */ char *result = NULL; size_t length = 0; int retval = mem_cd_iconv (src, strlen (src), cd, &result, &length); char *final_result; if (retval < 0) { if (result != NULL) abort (); return NULL; } /* Add the terminating NUL byte. */ final_result = (result != NULL ? realloc (result, length + 1) : malloc (length + 1)); if (final_result == NULL) { free (result); errno = ENOMEM; return NULL; } final_result[length] = '\0'; return final_result; # else /* This algorithm is likely faster than the one above. But it may produce iconv() returns for an E2BIG reason, when the output size guess is too small. Therefore it can only be used when we don't need the number of irreversible conversions performed. */ char *result; size_t result_size; size_t length; const char *inptr = src; size_t inbytes_remaining = strlen (src); /* Make a guess for the worst-case output size, in order to avoid a realloc. It's OK if the guess is wrong as long as it is not zero and doesn't lead to an integer overflow. */ result_size = inbytes_remaining; { size_t approx_sqrt_SIZE_MAX = SIZE_MAX >> (sizeof (size_t) * CHAR_BIT / 2); if (result_size <= approx_sqrt_SIZE_MAX / MB_LEN_MAX) result_size *= MB_LEN_MAX; } result_size += 1; /* for the terminating NUL */ result = (char *) malloc (result_size); if (result == NULL) { errno = ENOMEM; return NULL; } /* Avoid glibc-2.1 bug and Solaris 2.7-2.9 bug. */ # if defined _LIBICONV_VERSION \ || !(((__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) && !defined __UCLIBC__) \ || defined __sun) /* Set to the initial state. */ iconv (cd, NULL, NULL, NULL, NULL); # endif /* Do the conversion. */ { char *outptr = result; size_t outbytes_remaining = result_size - 1; for (;;) { /* Here inptr + inbytes_remaining = src + strlen (src), outptr + outbytes_remaining = result + result_size - 1. */ size_t res = iconv (cd, (ICONV_CONST char **) &inptr, &inbytes_remaining, &outptr, &outbytes_remaining); if (res == (size_t)(-1)) { if (errno == EINVAL) break; else if (errno == E2BIG) { size_t used = outptr - result; size_t newsize = result_size * 2; char *newresult; if (!(newsize > result_size)) { errno = ENOMEM; goto failed; } newresult = (char *) realloc (result, newsize); if (newresult == NULL) { errno = ENOMEM; goto failed; } result = newresult; result_size = newsize; outptr = result + used; outbytes_remaining = result_size - 1 - used; } else goto failed; } else break; } /* Avoid glibc-2.1 bug and Solaris 2.7 bug. */ # if defined _LIBICONV_VERSION \ || !(((__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) && !defined __UCLIBC__) \ || defined __sun) for (;;) { /* Here outptr + outbytes_remaining = result + result_size - 1. */ size_t res = iconv (cd, NULL, NULL, &outptr, &outbytes_remaining); if (res == (size_t)(-1)) { if (errno == E2BIG) { size_t used = outptr - result; size_t newsize = result_size * 2; char *newresult; if (!(newsize > result_size)) { errno = ENOMEM; goto failed; } newresult = (char *) realloc (result, newsize); if (newresult == NULL) { errno = ENOMEM; goto failed; } result = newresult; result_size = newsize; outptr = result + used; outbytes_remaining = result_size - 1 - used; } else goto failed; } else break; } # endif /* Add the terminating NUL byte. */ *outptr++ = '\0'; length = outptr - result; } /* Give away unused memory. */ if (length < result_size) { char *smaller_result = (char *) realloc (result, length); if (smaller_result != NULL) result = smaller_result; } return result; failed: { int saved_errno = errno; free (result); errno = saved_errno; return NULL; } # endif } #endif char * str_iconv (const char *src, const char *from_codeset, const char *to_codeset) { if (*src == '\0' || c_strcasecmp (from_codeset, to_codeset) == 0) { char *result = strdup (src); if (result == NULL) errno = ENOMEM; return result; } else { #if HAVE_ICONV iconv_t cd; char *result; /* Avoid glibc-2.1 bug with EUC-KR. */ # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) && !defined __UCLIBC__) \ && !defined _LIBICONV_VERSION if (c_strcasecmp (from_codeset, "EUC-KR") == 0 || c_strcasecmp (to_codeset, "EUC-KR") == 0) { errno = EINVAL; return NULL; } # endif cd = iconv_open (to_codeset, from_codeset); if (cd == (iconv_t) -1) return NULL; result = str_cd_iconv (src, cd); if (result == NULL) { /* Close cd, but preserve the errno from str_cd_iconv. */ int saved_errno = errno; iconv_close (cd); errno = saved_errno; } else { if (iconv_close (cd) < 0) { /* Return NULL, but free the allocated memory, and while doing that, preserve the errno from iconv_close. */ int saved_errno = errno; free (result); errno = saved_errno; return NULL; } } return result; #else /* This is a different error code than if iconv_open existed but didn't support from_codeset and to_codeset, so that the caller can emit an error message such as "iconv() is not supported. Installing GNU libiconv and then reinstalling this package would fix this." */ errno = ENOSYS; return NULL; #endif } } gsasl-1.8.1/gl/vasprintf.c0000644000000000000000000000247313516251577012325 00000000000000/* Formatted output to strings. Copyright (C) 1999, 2002, 2006-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #ifdef IN_LIBASPRINTF # include "vasprintf.h" #else # include #endif #include #include #include #include "vasnprintf.h" int vasprintf (char **resultp, const char *format, va_list args) { size_t length; char *result = vasnprintf (NULL, &length, format, args); if (result == NULL) return -1; if (length > INT_MAX) { free (result); errno = EOVERFLOW; return -1; } *resultp = result; /* Return the number of resulting bytes, excluding the trailing NUL. */ return length; } gsasl-1.8.1/gl/arg-nonnull.h0000644000000000000000000000230113516251573012534 00000000000000/* A C macro for declaring that specific arguments must not be NULL. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools that the values passed as arguments n, ..., m must be non-NULL pointers. n = 1 stands for the first argument, n = 2 for the second argument etc. */ #ifndef _GL_ARG_NONNULL # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) # else # define _GL_ARG_NONNULL(params) # endif #endif gsasl-1.8.1/gl/stdio-impl.h0000644000000000000000000001727013516251577012400 00000000000000/* Implementation details of FILE streams. Copyright (C) 2007-2008, 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Many stdio implementations have the same logic and therefore can share the same implementation of stdio extension API, except that some fields have different naming conventions, or their access requires some casts. */ /* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this problem by defining it ourselves. FIXME: Do not rely on glibc internals. */ #if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN # define _IO_IN_BACKUP 0x100 #endif /* BSD stdio derived implementations. */ #if defined __NetBSD__ /* NetBSD */ /* Get __NetBSD_Version__. */ # include #endif #include /* For detecting Plan9. */ #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __DragonFly__ /* DragonFly */ /* See . */ # define fp_ ((struct { struct __FILE_public pub; \ struct { unsigned char *_base; int _size; } _bf; \ void *cookie; \ void *_close; \ void *_read; \ void *_seek; \ void *_write; \ struct { unsigned char *_base; int _size; } _ub; \ int _ur; \ unsigned char _ubuf[3]; \ unsigned char _nbuf[1]; \ struct { unsigned char *_base; int _size; } _lb; \ int _blksize; \ fpos_t _offset; \ /* More fields, not relevant here. */ \ } *) fp) /* See . */ # define _p pub._p # define _flags pub._flags # define _r pub._r # define _w pub._w # elif defined __ANDROID__ /* Android */ # ifdef __LP64__ # define _gl_flags_file_t int # else # define _gl_flags_file_t short # endif /* Up to this commit from 2015-10-12 the innards of FILE were public, and fp_ub could be defined like for OpenBSD, see and . After this commit, the innards of FILE are hidden. */ # define fp_ ((struct { unsigned char *_p; \ int _r; \ int _w; \ _gl_flags_file_t _flags; \ _gl_flags_file_t _file; \ struct { unsigned char *_base; size_t _size; } _bf; \ int _lbfsize; \ void *_cookie; \ void *_close; \ void *_read; \ void *_seek; \ void *_write; \ struct { unsigned char *_base; size_t _size; } _ext; \ unsigned char *_up; \ int _ur; \ unsigned char _ubuf[3]; \ unsigned char _nbuf[1]; \ struct { unsigned char *_base; size_t _size; } _lb; \ int _blksize; \ fpos_t _offset; \ /* More fields, not relevant here. */ \ } *) fp) # else # define fp_ fp # endif # if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __minix /* NetBSD >= 1.5ZA, OpenBSD, Minix 3 */ /* See and and */ struct __sfileext { struct __sbuf _ub; /* ungetc buffer */ /* More fields, not relevant here. */ }; # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub # elif defined __ANDROID__ /* Android */ struct __sfileext { struct { unsigned char *_base; size_t _size; } _ub; /* ungetc buffer */ /* More fields, not relevant here. */ }; # define fp_ub ((struct __sfileext *) fp_->_ext._base)->_ub # else /* FreeBSD, NetBSD <= 1.5Z, DragonFly, Mac OS X, Cygwin */ # define fp_ub fp_->_ub # endif # define HASUB(fp) (fp_ub._base != NULL) # if defined __ANDROID__ /* Android */ /* Needed after this commit from 2016-01-25 */ # ifndef __SEOF # define __SLBF 1 # define __SNBF 2 # define __SRD 4 # define __SWR 8 # define __SRW 0x10 # define __SEOF 0x20 # define __SERR 0x40 # endif # ifndef __SOFF # define __SOFF 0x1000 # endif # endif #endif /* SystemV derived implementations. */ #ifdef __TANDEM /* NonStop Kernel */ # ifndef _IOERR /* These values were determined by the program 'stdioext-flags' at . */ # define _IOERR 0x40 # define _IOREAD 0x80 # define _IOWRT 0x4 # define _IORW 0x100 # endif #endif #if defined _IOERR # if defined __sun && defined _LP64 /* Solaris/{SPARC,AMD64} 64-bit */ # define fp_ ((struct { unsigned char *_ptr; \ unsigned char *_base; \ unsigned char *_end; \ long _cnt; \ int _file; \ unsigned int _flag; \ } *) fp) # elif defined __VMS /* OpenVMS */ # define fp_ ((struct _iobuf *) fp) # else # define fp_ fp # endif # if defined _SCO_DS /* OpenServer */ # define _cnt __cnt # define _ptr __ptr # define _base __base # define _flag __flag # endif #elif defined _WIN32 && ! defined __CYGWIN__ /* newer Windows with MSVC */ /* does not define the innards of FILE any more. */ # define WINDOWS_OPAQUE_FILE struct _gl_real_FILE { /* Note: Compared to older Windows and to mingw, it has the fields _base and _cnt swapped. */ unsigned char *_ptr; unsigned char *_base; int _cnt; int _flag; int _file; int _charbuf; int _bufsiz; }; # define fp_ ((struct _gl_real_FILE *) fp) /* These values were determined by a program similar to the one at . */ # define _IOREAD 0x1 # define _IOWRT 0x2 # define _IORW 0x4 # define _IOEOF 0x8 # define _IOERR 0x10 #endif gsasl-1.8.1/gl/gettext.h0000644000000000000000000002476413516251574012006 00000000000000/* Convenience header for conditional use of GNU . Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _LIBGETTEXT_H #define _LIBGETTEXT_H 1 /* NLS can be disabled through the configure --disable-nls option or through "#define ENABLE NLS 0" before including this file. */ #if defined ENABLE_NLS && ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include /* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by the gettext() and ngettext() macros. This is an alternative to calling textdomain(), and is useful for libraries. */ # ifdef DEFAULT_TEXT_DOMAIN # undef gettext # define gettext(Msgid) \ dgettext (DEFAULT_TEXT_DOMAIN, Msgid) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ dngettext (DEFAULT_TEXT_DOMAIN, Msgid1, Msgid2, N) # endif #else /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. We don't include as well because people using "gettext.h" will not include , and also including would fail on SunOS 4, whereas is OK. */ #if defined(__sun) # include #endif /* Many header files from the libstdc++ coming with g++ 3.3 or newer include , which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. */ #if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3) # include # if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H # include # endif #endif /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. On pre-ANSI systems without 'const', the config.h file is supposed to contain "#define const". */ # undef gettext # define gettext(Msgid) ((const char *) (Msgid)) # undef dgettext # define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid)) # undef dcgettext # define dcgettext(Domainname, Msgid, Category) \ ((void) (Category), dgettext (Domainname, Msgid)) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ ((N) == 1 \ ? ((void) (Msgid2), (const char *) (Msgid1)) \ : ((void) (Msgid1), (const char *) (Msgid2))) # undef dngettext # define dngettext(Domainname, Msgid1, Msgid2, N) \ ((void) (Domainname), ngettext (Msgid1, Msgid2, N)) # undef dcngettext # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) # undef textdomain # define textdomain(Domainname) ((const char *) (Domainname)) # undef bindtextdomain # define bindtextdomain(Domainname, Dirname) \ ((void) (Domainname), (const char *) (Dirname)) # undef bind_textdomain_codeset # define bind_textdomain_codeset(Domainname, Codeset) \ ((void) (Domainname), (const char *) (Codeset)) #endif /* Prefer gnulib's setlocale override over libintl's setlocale override. */ #ifdef GNULIB_defined_setlocale # undef setlocale # define setlocale rpl_setlocale #endif /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time translation is done at a different place in the code. The argument, String, should be a literal string. Concatenated strings and other string expressions won't work. The macro's expansion is not parenthesized, so that it is suitable as initializer for static 'char[]' or 'const char[]' variables. */ #define gettext_noop(String) String /* The separator between msgctxt and msgid in a .mo file. */ #define GETTEXT_CONTEXT_GLUE "\004" /* Pseudo function calls, taking a MSGCTXT and a MSGID instead of just a MSGID. MSGCTXT and MSGID must be string literals. MSGCTXT should be short and rarely need to change. The letter 'p' stands for 'particular' or 'special'. */ #ifdef DEFAULT_TEXT_DOMAIN # define pgettext(Msgctxt, Msgid) \ pgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #else # define pgettext(Msgctxt, Msgid) \ pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #endif #define dpgettext(Domainname, Msgctxt, Msgid) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) #ifdef DEFAULT_TEXT_DOMAIN # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #else # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #endif #define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * pgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, int category) { const char *translation = dcgettext (domain, msg_ctxt_id, category); if (translation == msg_ctxt_id) return msgid; else return translation; } #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * npgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { const char *translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); if (translation == msg_ctxt_id || translation == msgid_plural) return (n == 1 ? msgid : msgid_plural); else return translation; } /* The same thing extended for non-constant arguments. Here MSGCTXT and MSGID can be arbitrary expressions. But for string literals these macros are less efficient than those above. */ #include /* GNULIB_NO_VLA can be defined to disable use of VLAs even if supported. This relates to the -Wvla and -Wvla-larger-than warnings, enabled in the default GCC many warnings set. This allows programs to disable use of VLAs, which may be unintended, or may be awkward to support portably, or may have security implications due to non-deterministic stack usage. */ #if (!defined GNULIB_NO_VLA \ && (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ /* || (__STDC_VERSION__ == 199901L && !defined __HP_cc) || (__STDC_VERSION__ >= 201112L && !defined __STDC_NO_VLA__) */ )) # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 #else # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 #endif #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS #include #endif #define pgettext_expr(Msgctxt, Msgid) \ dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES) #define dpgettext_expr(Domainname, Msgctxt, Msgid) \ dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcgettext (domain, msg_ctxt_id, category); found_translation = (translation != msg_ctxt_id); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return msgid; } #define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcnpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); found_translation = !(translation == msg_ctxt_id || translation == msgid_plural); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return (n == 1 ? msgid : msgid_plural); } #endif /* _LIBGETTEXT_H */ gsasl-1.8.1/gl/minmax.h0000644000000000000000000000447113516251573011603 00000000000000/* MIN, MAX macros. Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _MINMAX_H #define _MINMAX_H /* Note: MIN, MAX are also defined in on some systems (glibc, IRIX, HP-UX, OSF/1). Therefore you might get warnings about MIN, MAX macro redefinitions on some systems; the workaround is to #include this file as the last one among the #include list. */ /* Before we define the following symbols we get the file since otherwise we get redefinitions on some systems if is included after this file. Likewise for . If more than one of these system headers define MIN and MAX, pick just one of the headers (because the definitions most likely are the same). */ #if HAVE_MINMAX_IN_LIMITS_H # include #elif HAVE_MINMAX_IN_SYS_PARAM_H # include #endif /* Note: MIN and MAX should be used with two arguments of the same type. They might not return the minimum and maximum of their two arguments, if the arguments have different types or have unusual floating-point values. For example, on a typical host with 32-bit 'int', 64-bit 'long long', and 64-bit IEEE 754 'double' types: MAX (-1, 2147483648) returns 4294967295. MAX (9007199254740992.0, 9007199254740993) returns 9007199254740992.0. MAX (NaN, 0.0) returns 0.0. MAX (+0.0, -0.0) returns -0.0. and in each case the answer is in some sense bogus. */ /* MAX(a,b) returns the maximum of A and B. */ #ifndef MAX # define MAX(a,b) ((a) > (b) ? (a) : (b)) #endif /* MIN(a,b) returns the minimum of A and B. */ #ifndef MIN # define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif #endif /* _MINMAX_H */ gsasl-1.8.1/gl/iconv_open-osf.gperf0000644000000000000000000000331513516251574014107 00000000000000/* Character set conversion. Copyright (C) 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On OSF/1 5.1, look in /usr/lib/nls/loc/iconv. ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" CP437, "cp437" CP775, "cp775" CP850, "cp850" CP852, "cp852" CP855, "cp855" CP857, "cp857" CP861, "cp861" CP862, "cp862" CP865, "cp865" CP866, "cp866" CP869, "cp869" CP874, "cp874" CP949, "KSC5601" CP1250, "cp1250" CP1251, "cp1251" CP1252, "cp1252" CP1253, "cp1253" CP1254, "cp1254" CP1255, "cp1255" CP1256, "cp1256" CP1257, "cp1257" CP1258, "cp1258" EUC-JP, "eucJP" EUC-KR, "eucKR" EUC-TW, "eucTW" BIG5, "big5" SHIFT_JIS, "SJIS" TIS-620, "TACTIS" gsasl-1.8.1/gl/stat-w32.h0000644000000000000000000000306613516251573011675 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _STAT_W32_H #define _STAT_W32_H 1 /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC extern struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft); #else extern time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft); #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ extern int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf); /* Bitmasks for st_mode. */ #define S_IREAD_UGO (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6)) #define S_IWRITE_UGO (_S_IWRITE | (_S_IWRITE >> 3) | (_S_IWRITE >> 6)) #define S_IEXEC_UGO (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6)) #endif /* _STAT_W32_H */ gsasl-1.8.1/gl/windows-mutex.c0000644000000000000000000000517713516251573013143 00000000000000/* Plain mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-mutex.h" #include void glwthread_mutex_init (glwthread_mutex_t *mutex) { InitializeCriticalSection (&mutex->lock); mutex->guard.done = 1; } int glwthread_mutex_lock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_mutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!mutex->guard.done) Sleep (0); } } EnterCriticalSection (&mutex->lock); return 0; } int glwthread_mutex_trylock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_mutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Let another thread finish initializing this mutex, and let it also lock this mutex. */ return EBUSY; } } if (!TryEnterCriticalSection (&mutex->lock)) return EBUSY; return 0; } int glwthread_mutex_unlock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) return EINVAL; LeaveCriticalSection (&mutex->lock); return 0; } int glwthread_mutex_destroy (glwthread_mutex_t *mutex) { if (!mutex->guard.done) return EINVAL; DeleteCriticalSection (&mutex->lock); mutex->guard.done = 0; return 0; } gsasl-1.8.1/gl/wctype.in.h0000644000000000000000000003316413516251577012237 00000000000000/* A substitute for ISO C99 , for platforms that lack it. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible and Paul Eggert. */ /* * ISO C 99 for platforms that lack it. * * * iswctype, towctrans, towlower, towupper, wctrans, wctype, * wctrans_t, and wctype_t are not yet implemented. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (defined __MINGW32__ && defined __CTYPE_H_SOURCED__) /* Special invocation convention: - With MinGW 3.22, when includes , only some part of is being processed, which doesn't include the idempotency guard. */ #@INCLUDE_NEXT@ @NEXT_WCTYPE_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_WCTYPE_H #if @HAVE_WINT_T@ /* Solaris 2.5 has a bug: must be included before . Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ # include # include # include # include #endif /* Native Windows (mingw, MSVC) have declarations of towupper, towlower, and isw* functions in , as well as in . Include , in advance to avoid rpl_ prefix being added to the declarations. */ #if defined _WIN32 && ! defined __CYGWIN__ # include # include #endif /* Include the original if it exists. BeOS 5 has the functions but no . */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_WCTYPE_H@ # @INCLUDE_NEXT@ @NEXT_WCTYPE_H@ #endif #ifndef _@GUARD_PREFIX@_WCTYPE_H #define _@GUARD_PREFIX@_WCTYPE_H #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_WCTYPE_INLINE # define _GL_WCTYPE_INLINE _GL_INLINE #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Solaris 2.6 includes which includes which #defines a number of identifiers in the application namespace. Revert these #defines. */ #ifdef __sun # undef multibyte # undef eucw1 # undef eucw2 # undef eucw3 # undef scrw1 # undef scrw2 # undef scrw3 #endif /* Define wint_t and WEOF. (Also done in wchar.in.h.) */ #if !@HAVE_WINT_T@ && !defined wint_t # define wint_t int # ifndef WEOF # define WEOF -1 # endif #else /* mingw and MSVC define wint_t as 'unsigned short' in or . This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be "unchanged by default argument promotions". Override it. */ # if @GNULIB_OVERRIDES_WINT_T@ # if !GNULIB_defined_wint_t # if @HAVE_CRTDEFS_H@ # include # else # include # endif typedef unsigned int rpl_wint_t; # undef wint_t # define wint_t rpl_wint_t # define GNULIB_defined_wint_t 1 # endif # endif # ifndef WEOF # define WEOF ((wint_t) -1) # endif #endif #if !GNULIB_defined_wctype_functions /* FreeBSD 4.4 to 4.11 has but lacks the functions. Linux libc5 has and the functions but they are broken. Assume all 11 functions (all isw* except iswblank) are implemented the same way, or not at all. */ # if ! @HAVE_ISWCNTRL@ || @REPLACE_ISWCNTRL@ /* IRIX 5.3 has macros but no functions, its isw* macros refer to an undefined variable _ctmp_ and to macros like _P, and they refer to system functions like _iswctype that are not in the standard C library. Rather than try to get ancient buggy implementations like this to work, just disable them. */ # undef iswalnum # undef iswalpha # undef iswblank # undef iswcntrl # undef iswdigit # undef iswgraph # undef iswlower # undef iswprint # undef iswpunct # undef iswspace # undef iswupper # undef iswxdigit # undef towlower # undef towupper /* Linux libc5 has and the functions but they are broken. */ # if @REPLACE_ISWCNTRL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iswalnum rpl_iswalnum # define iswalpha rpl_iswalpha # define iswblank rpl_iswblank # define iswcntrl rpl_iswcntrl # define iswdigit rpl_iswdigit # define iswgraph rpl_iswgraph # define iswlower rpl_iswlower # define iswprint rpl_iswprint # define iswpunct rpl_iswpunct # define iswspace rpl_iswspace # define iswupper rpl_iswupper # define iswxdigit rpl_iswxdigit # endif # endif # if @REPLACE_TOWLOWER@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define towlower rpl_towlower # define towupper rpl_towupper # endif # endif _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswalnum # else iswalnum # endif (wint_t wc) { return ((wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswalpha # else iswalpha # endif (wint_t wc) { return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswblank # else iswblank # endif (wint_t wc) { return wc == ' ' || wc == '\t'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswcntrl # else iswcntrl # endif (wint_t wc) { return (wc & ~0x1f) == 0 || wc == 0x7f; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswdigit # else iswdigit # endif (wint_t wc) { return wc >= '0' && wc <= '9'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswgraph # else iswgraph # endif (wint_t wc) { return wc >= '!' && wc <= '~'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswlower # else iswlower # endif (wint_t wc) { return wc >= 'a' && wc <= 'z'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswprint # else iswprint # endif (wint_t wc) { return wc >= ' ' && wc <= '~'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswpunct # else iswpunct # endif (wint_t wc) { return (wc >= '!' && wc <= '~' && !((wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'))); } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswspace # else iswspace # endif (wint_t wc) { return (wc == ' ' || wc == '\t' || wc == '\n' || wc == '\v' || wc == '\f' || wc == '\r'); } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswupper # else iswupper # endif (wint_t wc) { return wc >= 'A' && wc <= 'Z'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswxdigit # else iswxdigit # endif (wint_t wc) { return ((wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F')); } _GL_WCTYPE_INLINE wint_t # if @REPLACE_TOWLOWER@ rpl_towlower # else towlower # endif (wint_t wc) { return (wc >= 'A' && wc <= 'Z' ? wc - 'A' + 'a' : wc); } _GL_WCTYPE_INLINE wint_t # if @REPLACE_TOWLOWER@ rpl_towupper # else towupper # endif (wint_t wc) { return (wc >= 'a' && wc <= 'z' ? wc - 'a' + 'A' : wc); } # elif @GNULIB_ISWBLANK@ && (! @HAVE_ISWBLANK@ || @REPLACE_ISWBLANK@) /* Only the iswblank function is missing. */ # if @REPLACE_ISWBLANK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iswblank rpl_iswblank # endif _GL_FUNCDECL_RPL (iswblank, int, (wint_t wc)); # else _GL_FUNCDECL_SYS (iswblank, int, (wint_t wc)); # endif # endif # if defined __MINGW32__ /* On native Windows, wchar_t is uint16_t, and wint_t is uint32_t. The functions towlower and towupper are implemented in the MSVCRT library to take a wchar_t argument and return a wchar_t result. mingw declares these functions to take a wint_t argument and return a wint_t result. This means that: 1. When the user passes an argument outside the range 0x0000..0xFFFF, the function will look only at the lower 16 bits. This is allowed according to POSIX. 2. The return value is returned in the lower 16 bits of the result register. The upper 16 bits are random: whatever happened to be in that part of the result register. We need to fix this by adding a zero-extend from wchar_t to wint_t after the call. */ _GL_WCTYPE_INLINE wint_t rpl_towlower (wint_t wc) { return (wint_t) (wchar_t) towlower (wc); } # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define towlower rpl_towlower # endif _GL_WCTYPE_INLINE wint_t rpl_towupper (wint_t wc) { return (wint_t) (wchar_t) towupper (wc); } # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define towupper rpl_towupper # endif # endif /* __MINGW32__ */ # define GNULIB_defined_wctype_functions 1 #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswalnum, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswalpha, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswcntrl, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswdigit, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswgraph, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswlower, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswprint, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswpunct, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswspace, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswupper, int, (wint_t wc)); _GL_CXXALIAS_RPL (iswxdigit, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswalnum, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswalpha, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswcntrl, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswdigit, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswgraph, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswlower, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswprint, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswpunct, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswspace, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswupper, int, (wint_t wc)); _GL_CXXALIAS_SYS (iswxdigit, int, (wint_t wc)); #endif _GL_CXXALIASWARN (iswalnum); _GL_CXXALIASWARN (iswalpha); _GL_CXXALIASWARN (iswcntrl); _GL_CXXALIASWARN (iswdigit); _GL_CXXALIASWARN (iswgraph); _GL_CXXALIASWARN (iswlower); _GL_CXXALIASWARN (iswprint); _GL_CXXALIASWARN (iswpunct); _GL_CXXALIASWARN (iswspace); _GL_CXXALIASWARN (iswupper); _GL_CXXALIASWARN (iswxdigit); #if @GNULIB_ISWBLANK@ # if @REPLACE_ISWCNTRL@ || @REPLACE_ISWBLANK@ _GL_CXXALIAS_RPL (iswblank, int, (wint_t wc)); # else _GL_CXXALIAS_SYS (iswblank, int, (wint_t wc)); # endif _GL_CXXALIASWARN (iswblank); #endif #if !@HAVE_WCTYPE_T@ # if !GNULIB_defined_wctype_t typedef void * wctype_t; # define GNULIB_defined_wctype_t 1 # endif #endif /* Get a descriptor for a wide character property. */ #if @GNULIB_WCTYPE@ # if !@HAVE_WCTYPE_T@ _GL_FUNCDECL_SYS (wctype, wctype_t, (const char *name)); # endif _GL_CXXALIAS_SYS (wctype, wctype_t, (const char *name)); _GL_CXXALIASWARN (wctype); #elif defined GNULIB_POSIXCHECK # undef wctype # if HAVE_RAW_DECL_WCTYPE _GL_WARN_ON_USE (wctype, "wctype is unportable - " "use gnulib module wctype for portability"); # endif #endif /* Test whether a wide character has a given property. The argument WC must be either a wchar_t value or WEOF. The argument DESC must have been returned by the wctype() function. */ #if @GNULIB_ISWCTYPE@ # if !@HAVE_WCTYPE_T@ _GL_FUNCDECL_SYS (iswctype, int, (wint_t wc, wctype_t desc)); # endif _GL_CXXALIAS_SYS (iswctype, int, (wint_t wc, wctype_t desc)); _GL_CXXALIASWARN (iswctype); #elif defined GNULIB_POSIXCHECK # undef iswctype # if HAVE_RAW_DECL_ISWCTYPE _GL_WARN_ON_USE (iswctype, "iswctype is unportable - " "use gnulib module iswctype for portability"); # endif #endif #if @REPLACE_TOWLOWER@ || defined __MINGW32__ _GL_CXXALIAS_RPL (towlower, wint_t, (wint_t wc)); _GL_CXXALIAS_RPL (towupper, wint_t, (wint_t wc)); #else _GL_CXXALIAS_SYS (towlower, wint_t, (wint_t wc)); _GL_CXXALIAS_SYS (towupper, wint_t, (wint_t wc)); #endif _GL_CXXALIASWARN (towlower); _GL_CXXALIASWARN (towupper); #if !@HAVE_WCTRANS_T@ # if !GNULIB_defined_wctrans_t typedef void * wctrans_t; # define GNULIB_defined_wctrans_t 1 # endif #endif /* Get a descriptor for a wide character case conversion. */ #if @GNULIB_WCTRANS@ # if !@HAVE_WCTRANS_T@ _GL_FUNCDECL_SYS (wctrans, wctrans_t, (const char *name)); # endif _GL_CXXALIAS_SYS (wctrans, wctrans_t, (const char *name)); _GL_CXXALIASWARN (wctrans); #elif defined GNULIB_POSIXCHECK # undef wctrans # if HAVE_RAW_DECL_WCTRANS _GL_WARN_ON_USE (wctrans, "wctrans is unportable - " "use gnulib module wctrans for portability"); # endif #endif /* Perform a given case conversion on a wide character. The argument WC must be either a wchar_t value or WEOF. The argument DESC must have been returned by the wctrans() function. */ #if @GNULIB_TOWCTRANS@ # if !@HAVE_WCTRANS_T@ _GL_FUNCDECL_SYS (towctrans, wint_t, (wint_t wc, wctrans_t desc)); # endif _GL_CXXALIAS_SYS (towctrans, wint_t, (wint_t wc, wctrans_t desc)); _GL_CXXALIASWARN (towctrans); #elif defined GNULIB_POSIXCHECK # undef towctrans # if HAVE_RAW_DECL_TOWCTRANS _GL_WARN_ON_USE (towctrans, "towctrans is unportable - " "use gnulib module towctrans for portability"); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_WCTYPE_H */ #endif /* _@GUARD_PREFIX@_WCTYPE_H */ #endif gsasl-1.8.1/gl/malloc.c0000644000000000000000000000273313516251573011553 00000000000000/* malloc() function that is glibc compatible. Copyright (C) 1997-1998, 2006-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* written by Jim Meyering and Bruno Haible */ #define _GL_USE_STDLIB_ALLOC 1 #include /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ #ifdef malloc # define NEED_MALLOC_GNU 1 # undef malloc /* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ #elif GNULIB_MALLOC_GNU && !HAVE_MALLOC_GNU # define NEED_MALLOC_GNU 1 #endif #include #include /* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */ void * rpl_malloc (size_t n) { void *result; #if NEED_MALLOC_GNU if (n == 0) n = 1; #endif result = malloc (n); #if !HAVE_MALLOC_POSIX if (result == NULL) errno = ENOMEM; #endif return result; } gsasl-1.8.1/gl/strdup.c0000644000000000000000000000247113516251573011624 00000000000000/* Copyright (C) 1991, 1996-1998, 2002-2004, 2006-2007, 2009-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3, 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, see . */ #ifndef _LIBC # include #endif /* Get specification. */ #include #include #undef __strdup #ifdef _LIBC # undef strdup #endif #ifndef weak_alias # define __strdup strdup #endif /* Duplicate S, returning an identical malloc'd string. */ char * __strdup (const char *s) { size_t len = strlen (s) + 1; void *new = malloc (len); if (new == NULL) return NULL; return (char *) memcpy (new, s, len); } #ifdef libc_hidden_def libc_hidden_def (__strdup) #endif #ifdef weak_alias weak_alias (__strdup, strdup) #endif gsasl-1.8.1/gl/memchr.valgrind0000644000000000000000000000214213516251576013140 00000000000000# Suppress a valgrind message about use of uninitialized memory in memchr(). # Copyright (C) 2009-2019 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 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, see . # POSIX states that when the character is found, memchr must not read extra # bytes in an overestimated length (for example, where memchr is used to # implement strnlen). However, we use a safe word read to provide a speedup. { memchr-value4 Memcheck:Value4 fun:rpl_memchr } { memchr-value8 Memcheck:Value8 fun:rpl_memchr } gsasl-1.8.1/gl/close.c0000644000000000000000000000277013516251574011413 00000000000000/* close replacement. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include "fd-hook.h" #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef close #if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int close_nothrow (int fd) { int result; TRY_MSVC_INVAL { result = close (fd); } CATCH_MSVC_INVAL { result = -1; errno = EBADF; } DONE_MSVC_INVAL; return result; } #else # define close_nothrow close #endif /* Override close() to call into other gnulib modules. */ int rpl_close (int fd) { #if WINDOWS_SOCKETS int retval = execute_all_close_hooks (close_nothrow, fd); #else int retval = close_nothrow (fd); #endif #if REPLACE_FCHDIR if (retval >= 0) _gl_unregister_fd (fd); #endif return retval; } gsasl-1.8.1/gl/lseek.c0000644000000000000000000000345113516251575011407 00000000000000/* An lseek() function that detects pipes. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Windows platforms. */ /* Get GetFileType. */ # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #else # include #endif #include #undef lseek off_t rpl_lseek (int fd, off_t offset, int whence) { #if defined _WIN32 && ! defined __CYGWIN__ /* mingw lseek mistakenly succeeds on pipes, sockets, and terminals. */ HANDLE h = (HANDLE) _get_osfhandle (fd); if (h == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } if (GetFileType (h) != FILE_TYPE_DISK) { errno = ESPIPE; return -1; } #else /* BeOS lseek mistakenly succeeds on pipes... */ struct stat statbuf; if (fstat (fd, &statbuf) < 0) return -1; if (!S_ISREG (statbuf.st_mode)) { errno = ESPIPE; return -1; } #endif #if _GL_WINDOWS_64_BIT_OFF_T return _lseeki64 (fd, offset, whence); #else return lseek (fd, offset, whence); #endif } gsasl-1.8.1/gl/iconv_open-hpux.gperf0000644000000000000000000000345513516251574014311 00000000000000/* Character set conversion. Copyright (C) 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ struct mapping { int standard_name; const char vendor_name[9 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On HP-UX 11.11, look in /usr/lib/nls/iconv. ISO-8859-1, "iso88591" ISO-8859-2, "iso88592" ISO-8859-5, "iso88595" ISO-8859-6, "iso88596" ISO-8859-7, "iso88597" ISO-8859-8, "iso88598" ISO-8859-9, "iso88599" ISO-8859-15, "iso885915" CP437, "cp437" CP775, "cp775" CP850, "cp850" CP852, "cp852" CP855, "cp855" CP857, "cp857" CP861, "cp861" CP862, "cp862" CP864, "cp864" CP865, "cp865" CP866, "cp866" CP869, "cp869" CP874, "cp874" CP1250, "cp1250" CP1251, "cp1251" CP1252, "cp1252" CP1253, "cp1253" CP1254, "cp1254" CP1255, "cp1255" CP1256, "cp1256" CP1257, "cp1257" CP1258, "cp1258" HP-ROMAN8, "roman8" HP-ARABIC8, "arabic8" HP-GREEK8, "greek8" HP-HEBREW8, "hebrew8" HP-TURKISH8, "turkish8" HP-KANA8, "kana8" TIS-620, "tis620" GB2312, "hp15CN" EUC-JP, "eucJP" EUC-KR, "eucKR" EUC-TW, "eucTW" BIG5, "big5" SHIFT_JIS, "sjis" UTF-8, "utf8" gsasl-1.8.1/gl/xalloc.h0000644000000000000000000001705313516251577011600 00000000000000/* xalloc.h -- malloc with out-of-memory checking Copyright (C) 1990-2000, 2003-2004, 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef XALLOC_H_ #define XALLOC_H_ #include #include #include "xalloc-oversized.h" #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef XALLOC_INLINE # define XALLOC_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif #if ! defined __clang__ && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) #else # define _GL_ATTRIBUTE_ALLOC_SIZE(args) #endif /* This function is always triggered when memory is exhausted. It must be defined by the application, either explicitly or by using gnulib's xalloc-die module. This is the function to call when one wants the program to die because of a memory allocation failure. */ extern _Noreturn void xalloc_die (void); void *xmalloc (size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1)); void *xzalloc (size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1)); void *xcalloc (size_t n, size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2)); void *xrealloc (void *p, size_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2)); void *x2realloc (void *p, size_t *pn); void *xmemdup (void const *p, size_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2)); char *xstrdup (char const *str) _GL_ATTRIBUTE_MALLOC; /* In the following macros, T must be an elementary or structure/union or typedef'ed type, or a pointer to such a type. To apply one of the following macros to a function pointer or array type, you need to typedef it first and use the typedef name. */ /* Allocate an object of type T dynamically, with error checking. */ /* extern t *XMALLOC (typename t); */ #define XMALLOC(t) ((t *) xmalloc (sizeof (t))) /* Allocate memory for N elements of type T, with error checking. */ /* extern t *XNMALLOC (size_t n, typename t); */ #define XNMALLOC(n, t) \ ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) /* Allocate an object of type T dynamically, with error checking, and zero it. */ /* extern t *XZALLOC (typename t); */ #define XZALLOC(t) ((t *) xzalloc (sizeof (t))) /* Allocate memory for N elements of type T, with error checking, and zero it. */ /* extern t *XCALLOC (size_t n, typename t); */ #define XCALLOC(n, t) \ ((t *) (sizeof (t) == 1 ? xzalloc (n) : xcalloc (n, sizeof (t)))) /* Allocate an array of N objects, each with S bytes of memory, dynamically, with error checking. S must be nonzero. */ XALLOC_INLINE void *xnmalloc (size_t n, size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2)); XALLOC_INLINE void * xnmalloc (size_t n, size_t s) { if (xalloc_oversized (n, s)) xalloc_die (); return xmalloc (n * s); } /* Change the size of an allocated block of memory P to an array of N objects each of S bytes, with error checking. S must be nonzero. */ XALLOC_INLINE void *xnrealloc (void *p, size_t n, size_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2, 3)); XALLOC_INLINE void * xnrealloc (void *p, size_t n, size_t s) { if (xalloc_oversized (n, s)) xalloc_die (); return xrealloc (p, n * s); } /* If P is null, allocate a block of at least *PN such objects; otherwise, reallocate P so that it contains more than *PN objects each of S bytes. S must be nonzero. Set *PN to the new number of objects, and return the pointer to the new block. *PN is never set to zero, and the returned pointer is never null. Repeated reallocations are guaranteed to make progress, either by allocating an initial block with a nonzero size, or by allocating a larger block. In the following implementation, nonzero sizes are increased by a factor of approximately 1.5 so that repeated reallocations have O(N) overall cost rather than O(N**2) cost, but the specification for this function does not guarantee that rate. Here is an example of use: int *p = NULL; size_t used = 0; size_t allocated = 0; void append_int (int value) { if (used == allocated) p = x2nrealloc (p, &allocated, sizeof *p); p[used++] = value; } This causes x2nrealloc to allocate a block of some nonzero size the first time it is called. To have finer-grained control over the initial size, set *PN to a nonzero value before calling this function with P == NULL. For example: int *p = NULL; size_t used = 0; size_t allocated = 0; size_t allocated1 = 1000; void append_int (int value) { if (used == allocated) { p = x2nrealloc (p, &allocated1, sizeof *p); allocated = allocated1; } p[used++] = value; } */ XALLOC_INLINE void * x2nrealloc (void *p, size_t *pn, size_t s) { size_t n = *pn; if (! p) { if (! n) { /* The approximate size to use for initial small allocation requests, when the invoking code specifies an old size of zero. This is the largest "small" request for the GNU C library malloc. */ enum { DEFAULT_MXFAST = 64 * sizeof (size_t) / 4 }; n = DEFAULT_MXFAST / s; n += !n; } if (xalloc_oversized (n, s)) xalloc_die (); } else { /* Set N = floor (1.5 * N) + 1 so that progress is made even if N == 0. Check for overflow, so that N * S stays in both ptrdiff_t and size_t range. The check may be slightly conservative, but an exact check isn't worth the trouble. */ if ((PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX) / 3 * 2 / s <= n) xalloc_die (); n += n / 2 + 1; } *pn = n; return xrealloc (p, n * s); } /* Return a pointer to a new buffer of N bytes. This is like xmalloc, except it returns char *. */ XALLOC_INLINE char *xcharalloc (size_t n) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1)); XALLOC_INLINE char * xcharalloc (size_t n) { return XNMALLOC (n, char); } #ifdef __cplusplus } /* C++ does not allow conversions from void * to other pointer types without a cast. Use templates to work around the problem when possible. */ template inline T * xrealloc (T *p, size_t s) { return (T *) xrealloc ((void *) p, s); } template inline T * xnrealloc (T *p, size_t n, size_t s) { return (T *) xnrealloc ((void *) p, n, s); } template inline T * x2realloc (T *p, size_t *pn) { return (T *) x2realloc ((void *) p, pn); } template inline T * x2nrealloc (T *p, size_t *pn, size_t s) { return (T *) x2nrealloc ((void *) p, pn, s); } template inline T * xmemdup (T const *p, size_t s) { return (T *) xmemdup ((void const *) p, s); } #endif _GL_INLINE_HEADER_END #endif /* !XALLOC_H_ */ gsasl-1.8.1/gl/fseeko.c0000644000000000000000000001377313516251574011567 00000000000000/* An fseeko() function that, together with fflush(), is POSIX compliant. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include /* Get off_t, lseek, _POSIX_VERSION. */ #include #include "stdio-impl.h" int fseeko (FILE *fp, off_t offset, int whence) #undef fseeko #if !HAVE_FSEEKO # undef fseek # define fseeko fseek #endif #if _GL_WINDOWS_64_BIT_OFF_T # undef fseeko # if HAVE__FSEEKI64 && HAVE_DECL__FSEEKI64 /* msvc, mingw since msvcrt8.0, mingw64 */ # define fseeko _fseeki64 # else /* mingw before msvcrt8.0 */ # define fseeko fseeko64 # endif #endif { #if LSEEK_PIPE_BROKEN /* mingw gives bogus answers rather than failure on non-seekable files. */ if (lseek (fileno (fp), 0, SEEK_CUR) == -1) return EOF; #endif /* These tests are based on fpurge.c. */ #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ if (fp->_IO_read_end == fp->_IO_read_ptr && fp->_IO_write_ptr == fp->_IO_write_base && fp->_IO_save_base == NULL) #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __SL64 && defined __SCLE /* Cygwin */ if ((fp->_flags & __SL64) == 0) { /* Cygwin 1.5.0 through 1.5.24 failed to open stdin in 64-bit mode; but has an fseeko that requires 64-bit mode. */ FILE *tmp = fopen ("/dev/null", "r"); if (!tmp) return -1; fp->_flags |= __SL64; fp->_seek64 = tmp->_seek64; fclose (tmp); } # endif if (fp_->_p == fp_->_bf._base && fp_->_r == 0 && fp_->_w == ((fp_->_flags & (__SLBF | __SNBF | __SRD)) == 0 /* fully buffered and not currently reading? */ ? fp_->_bf._size : 0) && fp_ub._base == NULL) #elif defined __EMX__ /* emx+gcc */ if (fp->_ptr == fp->_buffer && fp->_rcount == 0 && fp->_wcount == 0 && fp->_ungetc_count == 0) #elif defined __minix /* Minix */ if (fp_->_ptr == fp_->_buf && (fp_->_ptr == NULL || fp_->_count == 0)) #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */ if (fp_->_ptr == fp_->_base && (fp_->_ptr == NULL || fp_->_cnt == 0)) #elif defined __UCLIBC__ /* uClibc */ if (((fp->__modeflags & __FLAG_WRITING) == 0 || fp->__bufpos == fp->__bufstart) && ((fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) == 0 || fp->__bufpos == fp->__bufread)) #elif defined __QNX__ /* QNX */ if ((fp->_Mode & 0x2000 /* _MWRITE */ ? fp->_Next == fp->_Buf : fp->_Next == fp->_Rend) && fp->_Rback == fp->_Back + sizeof (fp->_Back) && fp->_Rsave == NULL) #elif defined __MINT__ /* Atari FreeMiNT */ if (fp->__bufp == fp->__buffer && fp->__get_limit == fp->__bufp && fp->__put_limit == fp->__bufp && !fp->__pushed_back) #elif defined EPLAN9 /* Plan9 */ if (fp->rp == fp->buf && fp->wp == fp->buf) #elif FUNC_FFLUSH_STDIN < 0 && 200809 <= _POSIX_VERSION /* Cross-compiling to some other system advertising conformance to POSIX.1-2008 or later. Assume fseeko and fflush work as advertised. If this assumption is incorrect, please report the bug to bug-gnulib. */ if (0) #else #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." #endif { /* We get here when an fflush() call immediately preceded this one (or if ftell() has created buffers but no I/O has occurred on a newly-opened stream). We know there are no buffers. */ off_t pos = lseek (fileno (fp), offset, whence); if (pos == -1) { #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ fp_->_flags &= ~__SOFF; #endif return -1; } #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ fp->_flags &= ~_IO_EOF_SEEN; fp->_offset = pos; #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000) || defined __minix /* fp_->_offset is typed as an integer. */ fp_->_offset = pos; # else /* fp_->_offset is an fpos_t. */ { /* Use a union, since on NetBSD, the compilation flags determine whether fpos_t is typedef'd to off_t or a struct containing a single off_t member. */ union { fpos_t f; off_t o; } u; u.o = pos; fp_->_offset = u.f; } # endif fp_->_flags |= __SOFF; fp_->_flags &= ~__SEOF; #elif defined __EMX__ /* emx+gcc */ fp->_flags &= ~_IOEOF; #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */ fp_->_flag &= ~_IOEOF; #elif defined __MINT__ /* Atari FreeMiNT */ fp->__offset = pos; fp->__eof = 0; #endif return 0; } return fseeko (fp, offset, whence); } gsasl-1.8.1/gl/xalloc-die.c0000644000000000000000000000243513516251577012330 00000000000000/* Report a memory allocation failure and exit. Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include "xalloc.h" #include #include "error.h" #include "exitfail.h" #include "gettext.h" #define _(msgid) gettext (msgid) void xalloc_die (void) { error (exit_failure, 0, "%s", _("memory exhausted")); /* _Noreturn cannot be given to error, since it may return if its first argument is 0. To help compilers understand the xalloc_die does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */ abort (); } gsasl-1.8.1/gl/w32sock.h0000644000000000000000000000643113516251577011607 00000000000000/* w32sock.h --- internal auxiliary functions for Windows socket functions Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include /* Get O_RDWR and O_BINARY. */ #include /* Get _open_osfhandle(). */ #include /* Get _get_osfhandle(). */ #if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" #else # include #endif #define FD_TO_SOCKET(fd) ((SOCKET) _get_osfhandle ((fd))) #define SOCKET_TO_FD(fh) (_open_osfhandle ((intptr_t) (fh), O_RDWR | O_BINARY)) static inline void set_winsock_errno (void) { int err = WSAGetLastError (); /* Map some WSAE* errors to the runtime library's error codes. */ switch (err) { case WSA_INVALID_HANDLE: errno = EBADF; break; case WSA_NOT_ENOUGH_MEMORY: errno = ENOMEM; break; case WSA_INVALID_PARAMETER: errno = EINVAL; break; case WSAENAMETOOLONG: errno = ENAMETOOLONG; break; case WSAENOTEMPTY: errno = ENOTEMPTY; break; case WSAEWOULDBLOCK: errno = EWOULDBLOCK; break; case WSAEINPROGRESS: errno = EINPROGRESS; break; case WSAEALREADY: errno = EALREADY; break; case WSAENOTSOCK: errno = ENOTSOCK; break; case WSAEDESTADDRREQ: errno = EDESTADDRREQ; break; case WSAEMSGSIZE: errno = EMSGSIZE; break; case WSAEPROTOTYPE: errno = EPROTOTYPE; break; case WSAENOPROTOOPT: errno = ENOPROTOOPT; break; case WSAEPROTONOSUPPORT: errno = EPROTONOSUPPORT; break; case WSAEOPNOTSUPP: errno = EOPNOTSUPP; break; case WSAEAFNOSUPPORT: errno = EAFNOSUPPORT; break; case WSAEADDRINUSE: errno = EADDRINUSE; break; case WSAEADDRNOTAVAIL: errno = EADDRNOTAVAIL; break; case WSAENETDOWN: errno = ENETDOWN; break; case WSAENETUNREACH: errno = ENETUNREACH; break; case WSAENETRESET: errno = ENETRESET; break; case WSAECONNABORTED: errno = ECONNABORTED; break; case WSAECONNRESET: errno = ECONNRESET; break; case WSAENOBUFS: errno = ENOBUFS; break; case WSAEISCONN: errno = EISCONN; break; case WSAENOTCONN: errno = ENOTCONN; break; case WSAETIMEDOUT: errno = ETIMEDOUT; break; case WSAECONNREFUSED: errno = ECONNREFUSED; break; case WSAELOOP: errno = ELOOP; break; case WSAEHOSTUNREACH: errno = EHOSTUNREACH; break; default: errno = (err > 10000 && err < 10025) ? err - 10000 : err; break; } } gsasl-1.8.1/gl/hard-locale.h0000644000000000000000000000157213516251573012464 00000000000000/* Determine whether a locale is hard. Copyright (C) 1999, 2003-2004, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef HARD_LOCALE_H_ # define HARD_LOCALE_H_ 1 # include bool hard_locale (int); #endif /* HARD_LOCALE_H_ */ gsasl-1.8.1/gl/limits.in.h0000644000000000000000000000740013516251573012213 00000000000000/* A GNU-like . Copyright 2016-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_LIMITS_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_LIMITS_H@ #ifndef _@GUARD_PREFIX@_LIMITS_H #define _@GUARD_PREFIX@_LIMITS_H #ifndef LLONG_MIN # if defined LONG_LONG_MIN /* HP-UX 11.31 */ # define LLONG_MIN LONG_LONG_MIN # elif defined LONGLONG_MIN /* IRIX 6.5 */ # define LLONG_MIN LONGLONG_MIN # elif defined __GNUC__ # define LLONG_MIN (- __LONG_LONG_MAX__ - 1LL) # endif #endif #ifndef LLONG_MAX # if defined LONG_LONG_MAX /* HP-UX 11.31 */ # define LLONG_MAX LONG_LONG_MAX # elif defined LONGLONG_MAX /* IRIX 6.5 */ # define LLONG_MAX LONGLONG_MAX # elif defined __GNUC__ # define LLONG_MAX __LONG_LONG_MAX__ # endif #endif #ifndef ULLONG_MAX # if defined ULONG_LONG_MAX /* HP-UX 11.31 */ # define ULLONG_MAX ULONG_LONG_MAX # elif defined ULONGLONG_MAX /* IRIX 6.5 */ # define ULLONG_MAX ULONGLONG_MAX # elif defined __GNUC__ # define ULLONG_MAX (__LONG_LONG_MAX__ * 2ULL + 1ULL) # endif #endif /* The number of usable bits in an unsigned or signed integer type with minimum value MIN and maximum value MAX, as an int expression suitable in #if. Cover all known practical hosts. This implementation exploits the fact that MAX is 1 less than a power of 2, and merely counts the number of 1 bits in MAX; "COBn" means "count the number of 1 bits in the low-order n bits"). */ #define _GL_INTEGER_WIDTH(min, max) (((min) < 0) + _GL_COB128 (max)) #define _GL_COB128(n) (_GL_COB64 ((n) >> 31 >> 31 >> 2) + _GL_COB64 (n)) #define _GL_COB64(n) (_GL_COB32 ((n) >> 31 >> 1) + _GL_COB32 (n)) #define _GL_COB32(n) (_GL_COB16 ((n) >> 16) + _GL_COB16 (n)) #define _GL_COB16(n) (_GL_COB8 ((n) >> 8) + _GL_COB8 (n)) #define _GL_COB8(n) (_GL_COB4 ((n) >> 4) + _GL_COB4 (n)) #define _GL_COB4(n) (!!((n) & 8) + !!((n) & 4) + !!((n) & 2) + !!((n) & 1)) #ifndef WORD_BIT /* Assume 'int' is 32 bits wide. */ # define WORD_BIT 32 #endif #ifndef LONG_BIT /* Assume 'long' is 32 or 64 bits wide. */ # if LONG_MAX == INT_MAX # define LONG_BIT 32 # else # define LONG_BIT 64 # endif #endif /* Macros specified by ISO/IEC TS 18661-1:2014. */ #if (! defined ULLONG_WIDTH \ && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__)) # define CHAR_WIDTH _GL_INTEGER_WIDTH (CHAR_MIN, CHAR_MAX) # define SCHAR_WIDTH _GL_INTEGER_WIDTH (SCHAR_MIN, SCHAR_MAX) # define UCHAR_WIDTH _GL_INTEGER_WIDTH (0, UCHAR_MAX) # define SHRT_WIDTH _GL_INTEGER_WIDTH (SHRT_MIN, SHRT_MAX) # define USHRT_WIDTH _GL_INTEGER_WIDTH (0, USHRT_MAX) # define INT_WIDTH _GL_INTEGER_WIDTH (INT_MIN, INT_MAX) # define UINT_WIDTH _GL_INTEGER_WIDTH (0, UINT_MAX) # define LONG_WIDTH _GL_INTEGER_WIDTH (LONG_MIN, LONG_MAX) # define ULONG_WIDTH _GL_INTEGER_WIDTH (0, ULONG_MAX) # define LLONG_WIDTH _GL_INTEGER_WIDTH (LLONG_MIN, LLONG_MAX) # define ULLONG_WIDTH _GL_INTEGER_WIDTH (0, ULLONG_MAX) #endif /* !ULLONG_WIDTH && (_GNU_SOURCE || __STDC_WANT_IEC_60559_BFP_EXT__) */ #endif /* _@GUARD_PREFIX@_LIMITS_H */ #endif /* _@GUARD_PREFIX@_LIMITS_H */ gsasl-1.8.1/gl/unistd.c0000644000000000000000000000014713516251577011613 00000000000000#include #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE #include "unistd.h" typedef int dummy; gsasl-1.8.1/gl/getprogname.c0000644000000000000000000002011713516251573012610 00000000000000/* Program name management. Copyright (C) 2016-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include "getprogname.h" #include /* get program_invocation_name declaration */ #include /* get __argv declaration */ #ifdef _AIX # include # include # include #endif #ifdef __MVS__ # ifndef _OPEN_SYS # define _OPEN_SYS # endif # include # include #endif #ifdef __hpux # include # include # include # include #endif #ifdef __sgi # include # include # include # include # include #endif #include "dirname.h" #ifndef HAVE_GETPROGNAME /* not Mac OS X, FreeBSD, NetBSD, OpenBSD >= 5.4, Cygwin */ char const * getprogname (void) { # if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME /* glibc, BeOS */ /* https://www.gnu.org/software/libc/manual/html_node/Error-Messages.html */ return program_invocation_short_name; # elif HAVE_DECL_PROGRAM_INVOCATION_NAME /* glibc, BeOS */ /* https://www.gnu.org/software/libc/manual/html_node/Error-Messages.html */ return last_component (program_invocation_name); # elif HAVE_GETEXECNAME /* Solaris */ /* https://docs.oracle.com/cd/E19253-01/816-5168/6mbb3hrb1/index.html */ const char *p = getexecname (); if (!p) p = "?"; return last_component (p); # elif HAVE_DECL___ARGV /* mingw, MSVC */ /* https://docs.microsoft.com/en-us/cpp/c-runtime-library/argc-argv-wargv */ const char *p = __argv && __argv[0] ? __argv[0] : "?"; return last_component (p); # elif HAVE_VAR___PROGNAME /* OpenBSD, Android, QNX */ /* https://man.openbsd.org/style.9 */ /* http://www.qnx.de/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_lib_ref%2Fp%2F__progname.html */ /* Be careful to declare this only when we absolutely need it (OpenBSD 5.1), rather than when it's available. Otherwise, its mere declaration makes program_invocation_short_name malfunction (have zero length) with Fedora 25's glibc. */ extern char *__progname; const char *p = __progname; # if defined __ANDROID__ return last_component (p); # else return p && p[0] ? p : "?"; # endif # elif _AIX /* AIX */ /* Idea by Bastien ROUCARIÈS, https://lists.gnu.org/r/bug-gnulib/2010-12/msg00095.html Reference: https://www.ibm.com/support/knowledgecenter/en/ssw_aix_61/com.ibm.aix.basetrf1/getprocs.htm */ static char *p; static int first = 1; if (first) { first = 0; pid_t pid = getpid (); struct procentry64 procs; p = (0 < getprocs64 (&procs, sizeof procs, NULL, 0, &pid, 1) ? strdup (procs.pi_comm) : NULL); if (!p) p = "?"; } return p; # elif defined __hpux static char *p; static int first = 1; if (first) { first = 0; pid_t pid = getpid (); struct pst_status status; if (pstat_getproc (&status, sizeof status, 0, pid) > 0) { char *ucomm = status.pst_ucomm; char *cmd = status.pst_cmd; if (strlen (ucomm) < PST_UCOMMLEN - 1) p = ucomm; else { /* ucomm is truncated to length PST_UCOMMLEN - 1. Look at cmd instead. */ char *space = strchr (cmd, ' '); if (space != NULL) *space = '\0'; p = strrchr (cmd, '/'); if (p != NULL) p++; else p = cmd; if (strlen (p) > PST_UCOMMLEN - 1 && memcmp (p, ucomm, PST_UCOMMLEN - 1) == 0) /* p is less truncated than ucomm. */ ; else p = ucomm; } p = strdup (p); } else { # if !defined __LP64__ /* Support for 32-bit programs running in 64-bit HP-UX. The documented way to do this is to use the same source code as above, but in a compilation unit where '#define _PSTAT64 1' is in effect. I prefer a single compilation unit; the struct size and the offsets are not going to change. */ char status64[1216]; if (__pstat_getproc64 (status64, sizeof status64, 0, pid) > 0) { char *ucomm = status64 + 288; char *cmd = status64 + 168; if (strlen (ucomm) < PST_UCOMMLEN - 1) p = ucomm; else { /* ucomm is truncated to length PST_UCOMMLEN - 1. Look at cmd instead. */ char *space = strchr (cmd, ' '); if (space != NULL) *space = '\0'; p = strrchr (cmd, '/'); if (p != NULL) p++; else p = cmd; if (strlen (p) > PST_UCOMMLEN - 1 && memcmp (p, ucomm, PST_UCOMMLEN - 1) == 0) /* p is less truncated than ucomm. */ ; else p = ucomm; } p = strdup (p); } else # endif p = NULL; } if (!p) p = "?"; } return p; # elif __MVS__ /* z/OS */ /* https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxbd00/rtwgetp.htm */ static char *p = "?"; static int first = 1; if (first) { pid_t pid = getpid (); int token; W_PSPROC buf; first = 0; memset (&buf, 0, sizeof(buf)); buf.ps_cmdptr = (char *) malloc (buf.ps_cmdlen = PS_CMDBLEN_LONG); buf.ps_conttyptr = (char *) malloc (buf.ps_conttylen = PS_CONTTYBLEN); buf.ps_pathptr = (char *) malloc (buf.ps_pathlen = PS_PATHBLEN); if (buf.ps_cmdptr && buf.ps_conttyptr && buf.ps_pathptr) { for (token = 0; token >= 0; token = w_getpsent (token, &buf, sizeof(buf))) { if (token > 0 && buf.ps_pid == pid) { char *s = strdup (last_component (buf.ps_pathptr)); if (s) p = s; break; } } } free (buf.ps_cmdptr); free (buf.ps_conttyptr); free (buf.ps_pathptr); } return p; # elif defined __sgi /* IRIX */ char filename[50]; int fd; sprintf (filename, "/proc/pinfo/%d", (int) getpid ()); fd = open (filename, O_RDONLY); if (0 <= fd) { prpsinfo_t buf; int ioctl_ok = 0 <= ioctl (fd, PIOCPSINFO, &buf); close (fd); if (ioctl_ok) { char *name = buf.pr_fname; size_t namesize = sizeof buf.pr_fname; char *namenul = memchr (name, '\0', namesize); size_t namelen = namenul ? namenul - name : namesize; char *namecopy = malloc (namelen + 1); if (namecopy) { namecopy[namelen] = 0; return memcpy (namecopy, name, namelen); } } } return NULL; # else # error "getprogname module not ported to this OS" # endif } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/gl/unistr.in.h0000644000000000000000000005506613516251577012255 00000000000000/* Elementary Unicode string functions. Copyright (C) 2001-2002, 2005-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _UNISTR_H #define _UNISTR_H #include "unitypes.h" /* Get common macros for C. */ #include "unused-parameter.h" /* Get bool. */ #include /* Get size_t. */ #include #ifdef __cplusplus extern "C" { #endif /* Conventions: All functions prefixed with u8_ operate on UTF-8 encoded strings. Their unit is an uint8_t (1 byte). All functions prefixed with u16_ operate on UTF-16 encoded strings. Their unit is an uint16_t (a 2-byte word). All functions prefixed with u32_ operate on UCS-4 encoded strings. Their unit is an uint32_t (a 4-byte word). All argument pairs (s, n) denote a Unicode string s[0..n-1] with exactly n units. All arguments starting with "str" and the arguments of functions starting with u8_str/u16_str/u32_str denote a NUL terminated string, i.e. a string which terminates at the first NUL unit. This termination unit is considered part of the string for all memory allocation purposes, but is not considered part of the string for all other logical purposes. Functions returning a string result take a (resultbuf, lengthp) argument pair. If resultbuf is not NULL and the result fits into *lengthp units, it is put in resultbuf, and resultbuf is returned. Otherwise, a freshly allocated string is returned. In both cases, *lengthp is set to the length (number of units) of the returned string. In case of error, NULL is returned and errno is set. */ /* Elementary string checks. */ /* Check whether an UTF-8 string is well-formed. Return NULL if valid, or a pointer to the first invalid unit otherwise. */ extern const uint8_t * u8_check (const uint8_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Check whether an UTF-16 string is well-formed. Return NULL if valid, or a pointer to the first invalid unit otherwise. */ extern const uint16_t * u16_check (const uint16_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Check whether an UCS-4 string is well-formed. Return NULL if valid, or a pointer to the first invalid unit otherwise. */ extern const uint32_t * u32_check (const uint32_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Elementary string conversions. */ /* Convert an UTF-8 string to an UTF-16 string. */ extern uint16_t * u8_to_u16 (const uint8_t *s, size_t n, uint16_t *resultbuf, size_t *lengthp); /* Convert an UTF-8 string to an UCS-4 string. */ extern uint32_t * u8_to_u32 (const uint8_t *s, size_t n, uint32_t *resultbuf, size_t *lengthp); /* Convert an UTF-16 string to an UTF-8 string. */ extern uint8_t * u16_to_u8 (const uint16_t *s, size_t n, uint8_t *resultbuf, size_t *lengthp); /* Convert an UTF-16 string to an UCS-4 string. */ extern uint32_t * u16_to_u32 (const uint16_t *s, size_t n, uint32_t *resultbuf, size_t *lengthp); /* Convert an UCS-4 string to an UTF-8 string. */ extern uint8_t * u32_to_u8 (const uint32_t *s, size_t n, uint8_t *resultbuf, size_t *lengthp); /* Convert an UCS-4 string to an UTF-16 string. */ extern uint16_t * u32_to_u16 (const uint32_t *s, size_t n, uint16_t *resultbuf, size_t *lengthp); /* Elementary string functions. */ /* Return the length (number of units) of the first character in S, which is no longer than N. Return 0 if it is the NUL character. Return -1 upon failure. */ /* Similar to mblen(), except that s must not be NULL. */ extern int u8_mblen (const uint8_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern int u16_mblen (const uint16_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern int u32_mblen (const uint32_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Return the length (number of units) of the first character in S, putting its 'ucs4_t' representation in *PUC. Upon failure, *PUC is set to 0xfffd, and an appropriate number of units is returned. The number of available units, N, must be > 0. */ /* Similar to mbtowc(), except that puc and s must not be NULL, n must be > 0, and the NUL character is not treated specially. */ /* The variants with _unsafe suffix are for backward compatibility with libunistring versions < 0.9.7. */ #if GNULIB_UNISTR_U8_MBTOUC_UNSAFE || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u8_mbtouc_unsafe (ucs4_t *puc, const uint8_t *s, size_t n); # else extern int u8_mbtouc_unsafe_aux (ucs4_t *puc, const uint8_t *s, size_t n); static inline int u8_mbtouc_unsafe (ucs4_t *puc, const uint8_t *s, size_t n) { uint8_t c = *s; if (c < 0x80) { *puc = c; return 1; } else return u8_mbtouc_unsafe_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U16_MBTOUC_UNSAFE || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u16_mbtouc_unsafe (ucs4_t *puc, const uint16_t *s, size_t n); # else extern int u16_mbtouc_unsafe_aux (ucs4_t *puc, const uint16_t *s, size_t n); static inline int u16_mbtouc_unsafe (ucs4_t *puc, const uint16_t *s, size_t n) { uint16_t c = *s; if (c < 0xd800 || c >= 0xe000) { *puc = c; return 1; } else return u16_mbtouc_unsafe_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U32_MBTOUC_UNSAFE || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n); # else static inline int u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n _GL_UNUSED_PARAMETER) { uint32_t c = *s; if (c < 0xd800 || (c >= 0xe000 && c < 0x110000)) *puc = c; else /* invalid multibyte character */ *puc = 0xfffd; return 1; } # endif #endif #if GNULIB_UNISTR_U8_MBTOUC || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n); # else extern int u8_mbtouc_aux (ucs4_t *puc, const uint8_t *s, size_t n); static inline int u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n) { uint8_t c = *s; if (c < 0x80) { *puc = c; return 1; } else return u8_mbtouc_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U16_MBTOUC || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n); # else extern int u16_mbtouc_aux (ucs4_t *puc, const uint16_t *s, size_t n); static inline int u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n) { uint16_t c = *s; if (c < 0xd800 || c >= 0xe000) { *puc = c; return 1; } else return u16_mbtouc_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U32_MBTOUC || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n); # else static inline int u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n _GL_UNUSED_PARAMETER) { uint32_t c = *s; if (c < 0xd800 || (c >= 0xe000 && c < 0x110000)) *puc = c; else /* invalid multibyte character */ *puc = 0xfffd; return 1; } # endif #endif /* Return the length (number of units) of the first character in S, putting its 'ucs4_t' representation in *PUC. Upon failure, *PUC is set to 0xfffd, and -1 is returned for an invalid sequence of units, -2 is returned for an incomplete sequence of units. The number of available units, N, must be > 0. */ /* Similar to u*_mbtouc(), except that the return value gives more details about the failure, similar to mbrtowc(). */ #if GNULIB_UNISTR_U8_MBTOUCR || HAVE_LIBUNISTRING extern int u8_mbtoucr (ucs4_t *puc, const uint8_t *s, size_t n); #endif #if GNULIB_UNISTR_U16_MBTOUCR || HAVE_LIBUNISTRING extern int u16_mbtoucr (ucs4_t *puc, const uint16_t *s, size_t n); #endif #if GNULIB_UNISTR_U32_MBTOUCR || HAVE_LIBUNISTRING extern int u32_mbtoucr (ucs4_t *puc, const uint32_t *s, size_t n); #endif /* Put the multibyte character represented by UC in S, returning its length. Return -1 upon failure, -2 if the number of available units, N, is too small. The latter case cannot occur if N >= 6/2/1, respectively. */ /* Similar to wctomb(), except that s must not be NULL, and the argument n must be specified. */ #if GNULIB_UNISTR_U8_UCTOMB || HAVE_LIBUNISTRING /* Auxiliary function, also used by u8_chr, u8_strchr, u8_strrchr. */ extern int u8_uctomb_aux (uint8_t *s, ucs4_t uc, int n); # if !HAVE_INLINE extern int u8_uctomb (uint8_t *s, ucs4_t uc, int n); # else static inline int u8_uctomb (uint8_t *s, ucs4_t uc, int n) { if (uc < 0x80 && n > 0) { s[0] = uc; return 1; } else return u8_uctomb_aux (s, uc, n); } # endif #endif #if GNULIB_UNISTR_U16_UCTOMB || HAVE_LIBUNISTRING /* Auxiliary function, also used by u16_chr, u16_strchr, u16_strrchr. */ extern int u16_uctomb_aux (uint16_t *s, ucs4_t uc, int n); # if !HAVE_INLINE extern int u16_uctomb (uint16_t *s, ucs4_t uc, int n); # else static inline int u16_uctomb (uint16_t *s, ucs4_t uc, int n) { if (uc < 0xd800 && n > 0) { s[0] = uc; return 1; } else return u16_uctomb_aux (s, uc, n); } # endif #endif #if GNULIB_UNISTR_U32_UCTOMB || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u32_uctomb (uint32_t *s, ucs4_t uc, int n); # else static inline int u32_uctomb (uint32_t *s, ucs4_t uc, int n) { if (uc < 0xd800 || (uc >= 0xe000 && uc < 0x110000)) { if (n > 0) { *s = uc; return 1; } else return -2; } else return -1; } # endif #endif /* Copy N units from SRC to DEST. */ /* Similar to memcpy(). */ extern uint8_t * u8_cpy (uint8_t *dest, const uint8_t *src, size_t n); extern uint16_t * u16_cpy (uint16_t *dest, const uint16_t *src, size_t n); extern uint32_t * u32_cpy (uint32_t *dest, const uint32_t *src, size_t n); /* Copy N units from SRC to DEST, guaranteeing correct behavior for overlapping memory areas. */ /* Similar to memmove(). */ extern uint8_t * u8_move (uint8_t *dest, const uint8_t *src, size_t n); extern uint16_t * u16_move (uint16_t *dest, const uint16_t *src, size_t n); extern uint32_t * u32_move (uint32_t *dest, const uint32_t *src, size_t n); /* Set the first N characters of S to UC. UC should be a character that occupies only 1 unit. */ /* Similar to memset(). */ extern uint8_t * u8_set (uint8_t *s, ucs4_t uc, size_t n); extern uint16_t * u16_set (uint16_t *s, ucs4_t uc, size_t n); extern uint32_t * u32_set (uint32_t *s, ucs4_t uc, size_t n); /* Compare S1 and S2, each of length N. */ /* Similar to memcmp(). */ extern int u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n) _UC_ATTRIBUTE_PURE; /* Compare S1 and S2. */ /* Similar to the gnulib function memcmp2(). */ extern int u8_cmp2 (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2) _UC_ATTRIBUTE_PURE; extern int u16_cmp2 (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2) _UC_ATTRIBUTE_PURE; extern int u32_cmp2 (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2) _UC_ATTRIBUTE_PURE; /* Search the string at S for UC. */ /* Similar to memchr(). */ extern uint8_t * u8_chr (const uint8_t *s, size_t n, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_chr (const uint16_t *s, size_t n, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_chr (const uint32_t *s, size_t n, ucs4_t uc) _UC_ATTRIBUTE_PURE; /* Count the number of Unicode characters in the N units from S. */ /* Similar to mbsnlen(). */ extern size_t u8_mbsnlen (const uint8_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern size_t u16_mbsnlen (const uint16_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern size_t u32_mbsnlen (const uint32_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Elementary string functions with memory allocation. */ /* Make a freshly allocated copy of S, of length N. */ extern uint8_t * u8_cpy_alloc (const uint8_t *s, size_t n); extern uint16_t * u16_cpy_alloc (const uint16_t *s, size_t n); extern uint32_t * u32_cpy_alloc (const uint32_t *s, size_t n); /* Elementary string functions on NUL terminated strings. */ /* Return the length (number of units) of the first character in S. Return 0 if it is the NUL character. Return -1 upon failure. */ extern int u8_strmblen (const uint8_t *s) _UC_ATTRIBUTE_PURE; extern int u16_strmblen (const uint16_t *s) _UC_ATTRIBUTE_PURE; extern int u32_strmblen (const uint32_t *s) _UC_ATTRIBUTE_PURE; /* Return the length (number of units) of the first character in S, putting its 'ucs4_t' representation in *PUC. Return 0 if it is the NUL character. Return -1 upon failure. */ extern int u8_strmbtouc (ucs4_t *puc, const uint8_t *s); extern int u16_strmbtouc (ucs4_t *puc, const uint16_t *s); extern int u32_strmbtouc (ucs4_t *puc, const uint32_t *s); /* Forward iteration step. Advances the pointer past the next character, or returns NULL if the end of the string has been reached. Puts the character's 'ucs4_t' representation in *PUC. */ extern const uint8_t * u8_next (ucs4_t *puc, const uint8_t *s); extern const uint16_t * u16_next (ucs4_t *puc, const uint16_t *s); extern const uint32_t * u32_next (ucs4_t *puc, const uint32_t *s); /* Backward iteration step. Advances the pointer to point to the previous character, or returns NULL if the beginning of the string had been reached. Puts the character's 'ucs4_t' representation in *PUC. */ extern const uint8_t * u8_prev (ucs4_t *puc, const uint8_t *s, const uint8_t *start); extern const uint16_t * u16_prev (ucs4_t *puc, const uint16_t *s, const uint16_t *start); extern const uint32_t * u32_prev (ucs4_t *puc, const uint32_t *s, const uint32_t *start); /* Return the number of units in S. */ /* Similar to strlen(), wcslen(). */ extern size_t u8_strlen (const uint8_t *s) _UC_ATTRIBUTE_PURE; extern size_t u16_strlen (const uint16_t *s) _UC_ATTRIBUTE_PURE; extern size_t u32_strlen (const uint32_t *s) _UC_ATTRIBUTE_PURE; /* Return the number of units in S, but at most MAXLEN. */ /* Similar to strnlen(), wcsnlen(). */ extern size_t u8_strnlen (const uint8_t *s, size_t maxlen) _UC_ATTRIBUTE_PURE; extern size_t u16_strnlen (const uint16_t *s, size_t maxlen) _UC_ATTRIBUTE_PURE; extern size_t u32_strnlen (const uint32_t *s, size_t maxlen) _UC_ATTRIBUTE_PURE; /* Copy SRC to DEST. */ /* Similar to strcpy(), wcscpy(). */ extern uint8_t * u8_strcpy (uint8_t *dest, const uint8_t *src); extern uint16_t * u16_strcpy (uint16_t *dest, const uint16_t *src); extern uint32_t * u32_strcpy (uint32_t *dest, const uint32_t *src); /* Copy SRC to DEST, returning the address of the terminating NUL in DEST. */ /* Similar to stpcpy(). */ extern uint8_t * u8_stpcpy (uint8_t *dest, const uint8_t *src); extern uint16_t * u16_stpcpy (uint16_t *dest, const uint16_t *src); extern uint32_t * u32_stpcpy (uint32_t *dest, const uint32_t *src); /* Copy no more than N units of SRC to DEST. */ /* Similar to strncpy(), wcsncpy(). */ extern uint8_t * u8_strncpy (uint8_t *dest, const uint8_t *src, size_t n); extern uint16_t * u16_strncpy (uint16_t *dest, const uint16_t *src, size_t n); extern uint32_t * u32_strncpy (uint32_t *dest, const uint32_t *src, size_t n); /* Copy no more than N units of SRC to DEST. Return a pointer past the last non-NUL unit written into DEST. */ /* Similar to stpncpy(). */ extern uint8_t * u8_stpncpy (uint8_t *dest, const uint8_t *src, size_t n); extern uint16_t * u16_stpncpy (uint16_t *dest, const uint16_t *src, size_t n); extern uint32_t * u32_stpncpy (uint32_t *dest, const uint32_t *src, size_t n); /* Append SRC onto DEST. */ /* Similar to strcat(), wcscat(). */ extern uint8_t * u8_strcat (uint8_t *dest, const uint8_t *src); extern uint16_t * u16_strcat (uint16_t *dest, const uint16_t *src); extern uint32_t * u32_strcat (uint32_t *dest, const uint32_t *src); /* Append no more than N units of SRC onto DEST. */ /* Similar to strncat(), wcsncat(). */ extern uint8_t * u8_strncat (uint8_t *dest, const uint8_t *src, size_t n); extern uint16_t * u16_strncat (uint16_t *dest, const uint16_t *src, size_t n); extern uint32_t * u32_strncat (uint32_t *dest, const uint32_t *src, size_t n); /* Compare S1 and S2. */ /* Similar to strcmp(), wcscmp(). */ #ifdef __sun /* Avoid a collision with the u8_strcmp() function in Solaris 11 libc. */ extern int u8_strcmp_gnu (const uint8_t *s1, const uint8_t *s2) _UC_ATTRIBUTE_PURE; # define u8_strcmp u8_strcmp_gnu #else extern int u8_strcmp (const uint8_t *s1, const uint8_t *s2) _UC_ATTRIBUTE_PURE; #endif extern int u16_strcmp (const uint16_t *s1, const uint16_t *s2) _UC_ATTRIBUTE_PURE; extern int u32_strcmp (const uint32_t *s1, const uint32_t *s2) _UC_ATTRIBUTE_PURE; /* Compare S1 and S2 using the collation rules of the current locale. Return -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2. Upon failure, set errno and return any value. */ /* Similar to strcoll(), wcscoll(). */ extern int u8_strcoll (const uint8_t *s1, const uint8_t *s2); extern int u16_strcoll (const uint16_t *s1, const uint16_t *s2); extern int u32_strcoll (const uint32_t *s1, const uint32_t *s2); /* Compare no more than N units of S1 and S2. */ /* Similar to strncmp(), wcsncmp(). */ extern int u8_strncmp (const uint8_t *s1, const uint8_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u16_strncmp (const uint16_t *s1, const uint16_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u32_strncmp (const uint32_t *s1, const uint32_t *s2, size_t n) _UC_ATTRIBUTE_PURE; /* Duplicate S, returning an identical malloc'd string. */ /* Similar to strdup(), wcsdup(). */ extern uint8_t * u8_strdup (const uint8_t *s); extern uint16_t * u16_strdup (const uint16_t *s); extern uint32_t * u32_strdup (const uint32_t *s); /* Find the first occurrence of UC in STR. */ /* Similar to strchr(), wcschr(). */ extern uint8_t * u8_strchr (const uint8_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strchr (const uint16_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strchr (const uint32_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; /* Find the last occurrence of UC in STR. */ /* Similar to strrchr(), wcsrchr(). */ extern uint8_t * u8_strrchr (const uint8_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strrchr (const uint16_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strrchr (const uint32_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; /* Return the length of the initial segment of STR which consists entirely of Unicode characters not in REJECT. */ /* Similar to strcspn(), wcscspn(). */ extern size_t u8_strcspn (const uint8_t *str, const uint8_t *reject) _UC_ATTRIBUTE_PURE; extern size_t u16_strcspn (const uint16_t *str, const uint16_t *reject) _UC_ATTRIBUTE_PURE; extern size_t u32_strcspn (const uint32_t *str, const uint32_t *reject) _UC_ATTRIBUTE_PURE; /* Return the length of the initial segment of STR which consists entirely of Unicode characters in ACCEPT. */ /* Similar to strspn(), wcsspn(). */ extern size_t u8_strspn (const uint8_t *str, const uint8_t *accept) _UC_ATTRIBUTE_PURE; extern size_t u16_strspn (const uint16_t *str, const uint16_t *accept) _UC_ATTRIBUTE_PURE; extern size_t u32_strspn (const uint32_t *str, const uint32_t *accept) _UC_ATTRIBUTE_PURE; /* Find the first occurrence in STR of any character in ACCEPT. */ /* Similar to strpbrk(), wcspbrk(). */ extern uint8_t * u8_strpbrk (const uint8_t *str, const uint8_t *accept) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strpbrk (const uint16_t *str, const uint16_t *accept) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strpbrk (const uint32_t *str, const uint32_t *accept) _UC_ATTRIBUTE_PURE; /* Find the first occurrence of NEEDLE in HAYSTACK. */ /* Similar to strstr(), wcsstr(). */ extern uint8_t * u8_strstr (const uint8_t *haystack, const uint8_t *needle) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strstr (const uint16_t *haystack, const uint16_t *needle) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strstr (const uint32_t *haystack, const uint32_t *needle) _UC_ATTRIBUTE_PURE; /* Test whether STR starts with PREFIX. */ extern bool u8_startswith (const uint8_t *str, const uint8_t *prefix) _UC_ATTRIBUTE_PURE; extern bool u16_startswith (const uint16_t *str, const uint16_t *prefix) _UC_ATTRIBUTE_PURE; extern bool u32_startswith (const uint32_t *str, const uint32_t *prefix) _UC_ATTRIBUTE_PURE; /* Test whether STR ends with SUFFIX. */ extern bool u8_endswith (const uint8_t *str, const uint8_t *suffix) _UC_ATTRIBUTE_PURE; extern bool u16_endswith (const uint16_t *str, const uint16_t *suffix) _UC_ATTRIBUTE_PURE; extern bool u32_endswith (const uint32_t *str, const uint32_t *suffix) _UC_ATTRIBUTE_PURE; /* Divide STR into tokens separated by characters in DELIM. This interface is actually more similar to wcstok than to strtok. */ /* Similar to strtok_r(), wcstok(). */ extern uint8_t * u8_strtok (uint8_t *str, const uint8_t *delim, uint8_t **ptr); extern uint16_t * u16_strtok (uint16_t *str, const uint16_t *delim, uint16_t **ptr); extern uint32_t * u32_strtok (uint32_t *str, const uint32_t *delim, uint32_t **ptr); #ifdef __cplusplus } #endif #endif /* _UNISTR_H */ gsasl-1.8.1/gl/fd-hook.h0000644000000000000000000001134313516251574011636 00000000000000/* Hook for making file descriptor functions close(), ioctl() extensible. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef FD_HOOK_H #define FD_HOOK_H #ifdef __cplusplus extern "C" { #endif /* Currently, this entire code is only needed for the handling of sockets on native Windows platforms. */ #if WINDOWS_SOCKETS /* Type of function that closes FD. */ typedef int (*gl_close_fn) (int fd); /* Type of function that applies a control request to FD. */ typedef int (*gl_ioctl_fn) (int fd, int request, void *arg); /* An element of the list of file descriptor hooks. In CLOS (Common Lisp Object System) speak, it consists of an "around" method for the close() function and an "around" method for the ioctl() function. The fields of this structure are considered private. */ struct fd_hook { /* Doubly linked list. */ struct fd_hook *private_next; struct fd_hook *private_prev; /* Function that treats the types of FD that it knows about and calls execute_close_hooks (REMAINING_LIST, PRIMARY, FD) as a fallback. */ int (*private_close_fn) (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Function that treats the types of FD that it knows about and calls execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG) as a fallback. */ int (*private_ioctl_fn) (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); }; /* This type of function closes FD, applying special knowledge for the FD types it knows about, and calls execute_close_hooks (REMAINING_LIST, PRIMARY, FD) for the other FD types. In CLOS speak, REMAINING_LIST is the remaining list of "around" methods, and PRIMARY is the "primary" method for close(). */ typedef int (*close_hook_fn) (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Execute the close hooks in REMAINING_LIST, with PRIMARY as "primary" method. Return 0 or -1, like close() would do. */ extern int execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Execute all close hooks, with PRIMARY as "primary" method. Return 0 or -1, like close() would do. */ extern int execute_all_close_hooks (gl_close_fn primary, int fd); /* This type of function applies a control request to FD, applying special knowledge for the FD types it knows about, and calls execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG) for the other FD types. In CLOS speak, REMAINING_LIST is the remaining list of "around" methods, and PRIMARY is the "primary" method for ioctl(). */ typedef int (*ioctl_hook_fn) (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); /* Execute the ioctl hooks in REMAINING_LIST, with PRIMARY as "primary" method. Return 0 or -1, like ioctl() would do. */ extern int execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); /* Execute all ioctl hooks, with PRIMARY as "primary" method. Return 0 or -1, like ioctl() would do. */ extern int execute_all_ioctl_hooks (gl_ioctl_fn primary, int fd, int request, void *arg); /* Add a function pair to the list of file descriptor hooks. CLOSE_HOOK and IOCTL_HOOK may be NULL, indicating no change. The LINK variable points to a piece of memory which is guaranteed to be accessible until the corresponding call to unregister_fd_hook. */ extern void register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link); /* Removes a hook from the list of file descriptor hooks. */ extern void unregister_fd_hook (struct fd_hook *link); #endif #ifdef __cplusplus } #endif #endif /* FD_HOOK_H */ gsasl-1.8.1/gl/getpass.h0000644000000000000000000000016513516251574011755 00000000000000/* Obsolete; consider using unistd.h instead. */ /* Get getpass declaration, if available. */ #include gsasl-1.8.1/gl/netinet_in.in.h0000644000000000000000000000247513516251576013060 00000000000000/* Substitute for . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_NETINET_IN_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_NETINET_IN_H@ /* On many platforms, assumes prior inclusion of . */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_NETINET_IN_H@ #endif #ifndef _@GUARD_PREFIX@_NETINET_IN_H #define _@GUARD_PREFIX@_NETINET_IN_H #if !@HAVE_NETINET_IN_H@ /* A platform that lacks . */ # include #endif #endif /* _@GUARD_PREFIX@_NETINET_IN_H */ #endif /* _@GUARD_PREFIX@_NETINET_IN_H */ gsasl-1.8.1/gl/c-strcasecmp.c0000644000000000000000000000304513516251574012666 00000000000000/* c-strcasecmp.c -- case insensitive string comparator in C locale Copyright (C) 1998-1999, 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include "c-strcase.h" #include #include "c-ctype.h" int c_strcasecmp (const char *s1, const char *s2) { register const unsigned char *p1 = (const unsigned char *) s1; register const unsigned char *p2 = (const unsigned char *) s2; unsigned char c1, c2; if (p1 == p2) return 0; do { c1 = c_tolower (*p1); c2 = c_tolower (*p2); if (c1 == '\0') break; ++p1; ++p2; } while (c1 == c2); if (UCHAR_MAX <= INT_MAX) return c1 - c2; else /* On machines where 'char' and 'int' are types of the same size, the difference of two 'unsigned char' values - including the sign bit - doesn't fit in an 'int'. */ return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); } gsasl-1.8.1/gl/time.in.h0000644000000000000000000003134213516251577011656 00000000000000/* A more-standard . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Don't get in the way of glibc when it includes time.h merely to declare a few standard symbols, rather than to declare all the symbols. (However, skip this for MinGW as it treats __need_time_t incompatibly.) Also, Solaris 8 eventually includes itself recursively; if that is happening, just include the system without adding our own declarations. */ #if (((defined __need_time_t || defined __need_clock_t \ || defined __need_timespec) \ && !defined __MINGW32__) \ || defined _@GUARD_PREFIX@_TIME_H) # @INCLUDE_NEXT@ @NEXT_TIME_H@ #else # define _@GUARD_PREFIX@_TIME_H # @INCLUDE_NEXT@ @NEXT_TIME_H@ /* NetBSD 5.0 mis-defines NULL. */ # include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Some systems don't define struct timespec (e.g., AIX 4.1). Or they define it with the wrong member names or define it in (e.g., FreeBSD circa 1997). Stock Mingw prior to 3.0 does not define it, but the pthreads-win32 library defines it in . */ # if ! @TIME_H_DEFINES_STRUCT_TIMESPEC@ # if @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ # include # elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ # include # elif @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ # include # else # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_timespec # undef timespec # define timespec rpl_timespec struct timespec { time_t tv_sec; long int tv_nsec; }; # define GNULIB_defined_struct_timespec 1 # endif # ifdef __cplusplus } # endif # endif # endif # if !GNULIB_defined_struct_time_t_must_be_integral /* Per http://austingroupbugs.net/view.php?id=327, POSIX requires time_t to be an integer type, even though C99 permits floating point. We don't know of any implementation that uses floating point, and it is much easier to write code that doesn't have to worry about that corner case, so we force the issue. */ struct __time_t_must_be_integral { unsigned int __floating_time_t_unsupported : (time_t) 1; }; # define GNULIB_defined_struct_time_t_must_be_integral 1 # endif /* Sleep for at least RQTP seconds unless interrupted, If interrupted, return -1 and store the remaining time into RMTP. See . */ # if @GNULIB_NANOSLEEP@ # if @REPLACE_NANOSLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define nanosleep rpl_nanosleep # endif _GL_FUNCDECL_RPL (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp)); # else # if ! @HAVE_NANOSLEEP@ _GL_FUNCDECL_SYS (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp)); # endif _GL_CXXALIASWARN (nanosleep); # endif /* Initialize time conversion information. */ # if @GNULIB_TZSET@ # if @REPLACE_TZSET@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tzset # define tzset rpl_tzset # endif _GL_FUNCDECL_RPL (tzset, void, (void)); _GL_CXXALIAS_RPL (tzset, void, (void)); # else # if ! @HAVE_TZSET@ _GL_FUNCDECL_SYS (tzset, void, (void)); # endif _GL_CXXALIAS_SYS (tzset, void, (void)); # endif _GL_CXXALIASWARN (tzset); # endif /* Return the 'time_t' representation of TP and normalize TP. */ # if @GNULIB_MKTIME@ # if @REPLACE_MKTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mktime rpl_mktime # endif _GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp)); # else _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp)); # endif _GL_CXXALIASWARN (mktime); # endif /* Convert TIMER to RESULT, assuming local time and UTC respectively. See and . */ # if @GNULIB_TIME_R@ # if @REPLACE_LOCALTIME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localtime_r # define localtime_r rpl_localtime_r # endif _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # else # if ! @HAVE_DECL_LOCALTIME_R@ _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # endif # if @HAVE_DECL_LOCALTIME_R@ _GL_CXXALIASWARN (localtime_r); # endif # if @REPLACE_LOCALTIME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gmtime_r # define gmtime_r rpl_gmtime_r # endif _GL_FUNCDECL_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # else # if ! @HAVE_DECL_LOCALTIME_R@ _GL_FUNCDECL_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # endif # if @HAVE_DECL_LOCALTIME_R@ _GL_CXXALIASWARN (gmtime_r); # endif # endif /* Convert TIMER to RESULT, assuming local time and UTC respectively. See and . */ # if @GNULIB_LOCALTIME@ || @REPLACE_LOCALTIME@ # if @REPLACE_LOCALTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localtime # define localtime rpl_localtime # endif _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer)); # else _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer)); # endif _GL_CXXALIASWARN (localtime); # endif # if 0 || @REPLACE_GMTIME@ # if @REPLACE_GMTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gmtime # define gmtime rpl_gmtime # endif _GL_FUNCDECL_RPL (gmtime, struct tm *, (time_t const *__timer) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gmtime, struct tm *, (time_t const *__timer)); # else _GL_CXXALIAS_SYS (gmtime, struct tm *, (time_t const *__timer)); # endif _GL_CXXALIASWARN (gmtime); # endif /* Parse BUF as a timestamp, assuming FORMAT specifies its layout, and store the resulting broken-down time into TM. See . */ # if @GNULIB_STRPTIME@ # if ! @HAVE_STRPTIME@ _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, char const *restrict __format, struct tm *restrict __tm) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, char const *restrict __format, struct tm *restrict __tm)); _GL_CXXALIASWARN (strptime); # endif /* Convert *TP to a date and time string. See . */ # if @GNULIB_CTIME@ # if @REPLACE_CTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define ctime rpl_ctime # endif _GL_FUNCDECL_RPL (ctime, char *, (time_t const *__tp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (ctime, char *, (time_t const *__tp)); # else _GL_CXXALIAS_SYS (ctime, char *, (time_t const *__tp)); # endif _GL_CXXALIASWARN (ctime); # endif /* Convert *TP to a date and time string. See . */ # if @GNULIB_STRFTIME@ # if @REPLACE_STRFTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strftime rpl_strftime # endif _GL_FUNCDECL_RPL (strftime, size_t, (char *__buf, size_t __bufsize, const char *__fmt, const struct tm *__tp) _GL_ARG_NONNULL ((1, 3, 4))); _GL_CXXALIAS_RPL (strftime, size_t, (char *__buf, size_t __bufsize, const char *__fmt, const struct tm *__tp)); # else _GL_CXXALIAS_SYS (strftime, size_t, (char *__buf, size_t __bufsize, const char *__fmt, const struct tm *__tp)); # endif _GL_CXXALIASWARN (strftime); # endif # if defined _GNU_SOURCE && @GNULIB_TIME_RZ@ && ! @HAVE_TIMEZONE_T@ typedef struct tm_zone *timezone_t; _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); _GL_CXXALIAS_SYS (tzalloc, timezone_t, (char const *__name)); _GL_FUNCDECL_SYS (tzfree, void, (timezone_t __tz)); _GL_CXXALIAS_SYS (tzfree, void, (timezone_t __tz)); _GL_FUNCDECL_SYS (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_SYS (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result)); _GL_FUNCDECL_SYS (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __result) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_SYS (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __result)); # endif /* Convert TM to a time_t value, assuming UTC. */ # if @GNULIB_TIMEGM@ # if @REPLACE_TIMEGM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef timegm # define timegm rpl_timegm # endif _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm)); # else # if ! @HAVE_TIMEGM@ _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm)); # endif _GL_CXXALIASWARN (timegm); # endif /* Encourage applications to avoid unsafe functions that can overrun buffers when given outlandish struct tm values. Portable applications should use strftime (or even sprintf) instead. */ # if defined GNULIB_POSIXCHECK # undef asctime _GL_WARN_ON_USE (asctime, "asctime can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # if defined GNULIB_POSIXCHECK # undef asctime_r _GL_WARN_ON_USE (asctime, "asctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # if defined GNULIB_POSIXCHECK # undef ctime _GL_WARN_ON_USE (asctime, "ctime can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # if defined GNULIB_POSIXCHECK # undef ctime_r _GL_WARN_ON_USE (asctime, "ctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif #endif gsasl-1.8.1/gl/getopt-pfx-core.h0000644000000000000000000000426213516251573013333 00000000000000/* getopt (basic, portable features) gnulib wrapper header. Copyright (C) 1989-2019 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This file 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 gnulib; if not, see . */ #ifndef _GETOPT_PFX_CORE_H #define _GETOPT_PFX_CORE_H 1 /* This header should not be used directly; include getopt.h or unistd.h instead. It does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ /* Standalone applications should #define __GETOPT_PREFIX to an identifier that prefixes the external functions and variables defined in getopt-core.h and getopt-ext.h. Systematically rename identifiers so that they do not collide with the system functions and variables. Renaming avoids problems with some compilers and linkers. */ #ifdef __GETOPT_PREFIX # ifndef __GETOPT_ID # define __GETOPT_CONCAT(x, y) x ## y # define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) # define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) # endif # undef getopt # undef optarg # undef opterr # undef optind # undef optopt # define getopt __GETOPT_ID (getopt) # define optarg __GETOPT_ID (optarg) # define opterr __GETOPT_ID (opterr) # define optind __GETOPT_ID (optind) # define optopt __GETOPT_ID (optopt) /* The system's getopt.h may have already included getopt-core.h to declare the unprefixed identifiers. Undef _GETOPT_CORE_H so that getopt-core.h declares them with prefixes. */ # undef _GETOPT_CORE_H #endif #include #endif /* _GETOPT_PFX_CORE_H */ gsasl-1.8.1/gl/stat-w32.c0000644000000000000000000004224213516251573011667 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Ensure that defines FILE_ID_INFO. */ #undef _WIN32_WINNT #define _WIN32_WINNT _WIN32_WINNT_WIN8 #include #include #include #include #include #include #include /* Specification. */ #include "stat-w32.h" #include "pathmax.h" #include "verify.h" /* Avoid warnings from gcc -Wcast-function-type. */ #define GetProcAddress \ (void *) GetProcAddress #if _GL_WINDOWS_STAT_INODES == 2 /* GetFileInformationByHandleEx was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFileInformationByHandleExFuncType) (HANDLE hFile, FILE_INFO_BY_HANDLE_CLASS fiClass, LPVOID lpBuffer, DWORD dwBufferSize); static GetFileInformationByHandleExFuncType GetFileInformationByHandleExFunc = NULL; #endif /* GetFinalPathNameByHandle was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFinalPathNameByHandleFuncType) (HANDLE hFile, LPTSTR lpFilePath, DWORD lenFilePath, DWORD dwFlags); static GetFinalPathNameByHandleFuncType GetFinalPathNameByHandleFunc = NULL; static BOOL initialized = FALSE; static void initialize (void) { HMODULE kernel32 = LoadLibrary ("kernel32.dll"); if (kernel32 != NULL) { #if _GL_WINDOWS_STAT_INODES == 2 GetFileInformationByHandleExFunc = (GetFileInformationByHandleExFuncType) GetProcAddress (kernel32, "GetFileInformationByHandleEx"); #endif GetFinalPathNameByHandleFunc = (GetFinalPathNameByHandleFuncType) GetProcAddress (kernel32, "GetFinalPathNameByHandleA"); } initialized = TRUE; } /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft) { struct timespec result; /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) { result.tv_sec = 0; result.tv_nsec = 0; } else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; result.tv_sec = since_1970 / (unsigned long long) 10000000; result.tv_nsec = (unsigned long) (since_1970 % (unsigned long long) 10000000) * 100; } return result; } #else time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft) { /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) return 0; else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; return since_1970 / (unsigned long long) 10000000; } } #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf) { /* GetFileType */ DWORD type = GetFileType (h); if (type == FILE_TYPE_DISK) { if (!initialized) initialize (); /* st_mode can be determined through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ BY_HANDLE_FILE_INFORMATION info; if (! GetFileInformationByHandle (h, &info)) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { errno = EOVERFLOW; return -1; } #if _GL_WINDOWS_STAT_INODES /* st_ino can be determined through GetFileInformationByHandle as 64 bits, or through GetFileInformationByHandleEx with argument FileIdInfo as 128 bits. The latter requires -D_WIN32_WINNT=_WIN32_WINNT_WIN8 or higher. */ /* Experiments show that GetFileInformationByHandleEx does not provide much more information than GetFileInformationByHandle: * The dwVolumeSerialNumber from GetFileInformationByHandle is equal to the low 32 bits of the 64-bit VolumeSerialNumber from GetFileInformationByHandleEx, and is apparently sufficient for identifying the device. * The nFileIndex from GetFileInformationByHandle is equal to the low 64 bits of the 128-bit FileId from GetFileInformationByHandleEx, and the high 64 bits of this 128-bit FileId are zero. * On a FAT file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_PARAMETER, whereas GetFileInformationByHandle succeeds. * On a CIFS/SMB file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_LEVEL, whereas GetFileInformationByHandle succeeds. */ # if _GL_WINDOWS_STAT_INODES == 2 if (GetFileInformationByHandleExFunc != NULL) { FILE_ID_INFO id; if (GetFileInformationByHandleExFunc (h, FileIdInfo, &id, sizeof (id))) { buf->st_dev = id.VolumeSerialNumber; verify (sizeof (ino_t) == sizeof (id.FileId)); memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t)); goto ino_done; } else { switch (GetLastError ()) { case ERROR_INVALID_PARAMETER: /* older Windows version, or FAT */ case ERROR_INVALID_LEVEL: /* CIFS/SMB file system */ goto fallback; default: goto failed; } } } fallback: ; /* Fallback for older Windows versions. */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino._gl_ino[0] = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; buf->st_ino._gl_ino[1] = 0; ino_done: ; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; # endif #else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; #endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. If the file name is already known, use it. Otherwise, for non-empty files, it can be determined through GetFinalPathNameByHandle or through GetFileInformationByHandleEx with argument FileNameInfo Both require -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { char fpath[PATH_MAX]; if (path != NULL || (GetFinalPathNameByHandleFunc != NULL && GetFinalPathNameByHandleFunc (h, fpath, sizeof (fpath), VOLUME_NAME_NONE) < sizeof (fpath) && (path = fpath, 1))) { const char *last_dot = NULL; const char *p; for (p = path; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } else /* Cannot determine file name. Pretend that it is executable. */ mode |= S_IEXEC_UGO; } } buf->st_mode = mode; /* st_nlink can be determined through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ buf->st_nlink = (info.nNumberOfLinks > SHRT_MAX ? SHRT_MAX : info.nNumberOfLinks); /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size can be determined through GetFileSizeEx or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime can be determined through GetFileTime or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); #else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); #endif return 0; } else if (type == FILE_TYPE_CHAR || type == FILE_TYPE_PIPE) { buf->st_dev = 0; #if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; #else buf->st_ino = 0; #endif buf->st_mode = (type == FILE_TYPE_PIPE ? _S_IFIFO : _S_IFCHR); buf->st_nlink = 1; buf->st_uid = 0; buf->st_gid = 0; buf->st_rdev = 0; if (type == FILE_TYPE_PIPE) { /* PeekNamedPipe */ DWORD bytes_available; if (PeekNamedPipe (h, NULL, 0, NULL, &bytes_available, NULL)) buf->st_size = bytes_available; else buf->st_size = 0; } else buf->st_size = 0; #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim.tv_sec = 0; buf->st_atim.tv_nsec = 0; buf->st_mtim.tv_sec = 0; buf->st_mtim.tv_nsec = 0; buf->st_ctim.tv_sec = 0; buf->st_ctim.tv_nsec = 0; #else buf->st_atime = 0; buf->st_mtime = 0; buf->st_ctime = 0; #endif return 0; } else { errno = ENOENT; return -1; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "_gl_fstat_by_handle error 0x%x\n", (unsigned int) error); #endif switch (error) { case ERROR_ACCESS_DENIED: case ERROR_SHARING_VIOLATION: errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; default: errno = EINVAL; break; } return -1; } } #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif gsasl-1.8.1/gl/memchr.c0000644000000000000000000001334713516251576011565 00000000000000/* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2019 Free Software Foundation, Inc. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and commentary by Jim Blandy (jimb@ai.mit.edu); adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu), and implemented by Roland McGrath (roland@ai.mit.edu). NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. 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 3 of the License, or 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, see . */ #ifndef _LIBC # include #endif #include #include #if defined _LIBC # include #else # define reg_char char #endif #include #if HAVE_BP_SYM_H || defined _LIBC # include #else # define BP_SYM(sym) sym #endif #undef __memchr #ifdef _LIBC # undef memchr #endif #ifndef weak_alias # define __memchr memchr #endif /* Search no more than N bytes of S for C. */ void * __memchr (void const *s, int c_in, size_t n) { /* On 32-bit hardware, choosing longword to be a 32-bit unsigned long instead of a 64-bit uintmax_t tends to give better performance. On 64-bit hardware, unsigned long is generally 64 bits already. Change this typedef to experiment with performance. */ typedef unsigned long int longword; const unsigned char *char_ptr; const longword *longword_ptr; longword repeated_one; longword repeated_c; unsigned reg_char c; c = (unsigned char) c_in; /* Handle the first few bytes by reading one byte at a time. Do this until CHAR_PTR is aligned on a longword boundary. */ for (char_ptr = (const unsigned char *) s; n > 0 && (size_t) char_ptr % sizeof (longword) != 0; --n, ++char_ptr) if (*char_ptr == c) return (void *) char_ptr; longword_ptr = (const longword *) char_ptr; /* All these elucidatory comments refer to 4-byte longwords, but the theory applies equally well to any size longwords. */ /* Compute auxiliary longword values: repeated_one is a value which has a 1 in every byte. repeated_c has c in every byte. */ repeated_one = 0x01010101; repeated_c = c | (c << 8); repeated_c |= repeated_c << 16; if (0xffffffffU < (longword) -1) { repeated_one |= repeated_one << 31 << 1; repeated_c |= repeated_c << 31 << 1; if (8 < sizeof (longword)) { size_t i; for (i = 64; i < sizeof (longword) * 8; i *= 2) { repeated_one |= repeated_one << i; repeated_c |= repeated_c << i; } } } /* Instead of the traditional loop which tests each byte, we will test a longword at a time. The tricky part is testing if *any of the four* bytes in the longword in question are equal to c. We first use an xor with repeated_c. This reduces the task to testing whether *any of the four* bytes in longword1 is zero. We compute tmp = ((longword1 - repeated_one) & ~longword1) & (repeated_one << 7). That is, we perform the following operations: 1. Subtract repeated_one. 2. & ~longword1. 3. & a mask consisting of 0x80 in every byte. Consider what happens in each byte: - If a byte of longword1 is zero, step 1 and 2 transform it into 0xff, and step 3 transforms it into 0x80. A carry can also be propagated to more significant bytes. - If a byte of longword1 is nonzero, let its lowest 1 bit be at position k (0 <= k <= 7); so the lowest k bits are 0. After step 1, the byte ends in a single bit of value 0 and k bits of value 1. After step 2, the result is just k bits of value 1: 2^k - 1. After step 3, the result is 0. And no carry is produced. So, if longword1 has only non-zero bytes, tmp is zero. Whereas if longword1 has a zero byte, call j the position of the least significant zero byte. Then the result has a zero at positions 0, ..., j-1 and a 0x80 at position j. We cannot predict the result at the more significant bytes (positions j+1..3), but it does not matter since we already have a non-zero bit at position 8*j+7. So, the test whether any byte in longword1 is zero is equivalent to testing whether tmp is nonzero. */ while (n >= sizeof (longword)) { longword longword1 = *longword_ptr ^ repeated_c; if ((((longword1 - repeated_one) & ~longword1) & (repeated_one << 7)) != 0) break; longword_ptr++; n -= sizeof (longword); } char_ptr = (const unsigned char *) longword_ptr; /* At this point, we know that either n < sizeof (longword), or one of the sizeof (longword) bytes starting at char_ptr is == c. On little-endian machines, we could determine the first such byte without any further memory accesses, just by looking at the tmp result from the last loop iteration. But this does not work on big-endian machines. Choose code that works in both cases. */ for (; n > 0; --n, ++char_ptr) { if (*char_ptr == c) return (void *) char_ptr; } return NULL; } #ifdef weak_alias weak_alias (__memchr, BP_SYM (memchr)) #endif gsasl-1.8.1/gl/itold.c0000644000000000000000000000201113516251575011406 00000000000000/* Replacement for 'int' to 'long double' conversion routine. Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. 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 3 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, see . */ #include /* Specification. */ #include void _Qp_itoq (long double *result, int a) { /* Convert from 'int' to 'double', then from 'double' to 'long double'. */ *result = (double) a; } gsasl-1.8.1/gl/unistr/0000755000000000000000000000000013521017732011530 500000000000000gsasl-1.8.1/gl/unistr/u8-uctomb.c0000644000000000000000000000367313516251577013463 00000000000000/* Store a character in UTF-8 string. Copyright (C) 2002, 2005-2006, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2002. 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 3 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, see . */ #include #if defined IN_LIBUNISTRING /* Tell unistr.h to declare u8_uctomb as 'extern', not 'static inline'. */ # include "unistring-notinline.h" #endif /* Specification. */ #include "unistr.h" #if !HAVE_INLINE int u8_uctomb (uint8_t *s, ucs4_t uc, int n) { if (uc < 0x80) { if (n > 0) { s[0] = uc; return 1; } /* else return -2, below. */ } else { int count; if (uc < 0x800) count = 2; else if (uc < 0x10000) { if (uc < 0xd800 || uc >= 0xe000) count = 3; else return -1; } else if (uc < 0x110000) count = 4; else return -1; if (n >= count) { switch (count) /* note: code falls through cases! */ { case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x10000; case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800; case 2: s[1] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0xc0; /*case 1:*/ s[0] = uc; } return count; } } return -2; } #endif gsasl-1.8.1/gl/unistr/u8-mbtoucr.c0000644000000000000000000001073513516251577013642 00000000000000/* Look at first character in UTF-8 string, returning an error code. Copyright (C) 1999-2002, 2006-2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 3 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, see . */ #include /* Specification. */ #include "unistr.h" int u8_mbtoucr (ucs4_t *puc, const uint8_t *s, size_t n) { uint8_t c = *s; if (c < 0x80) { *puc = c; return 1; } else if (c >= 0xc2) { if (c < 0xe0) { if (n >= 2) { if ((s[1] ^ 0x80) < 0x40) { *puc = ((unsigned int) (c & 0x1f) << 6) | (unsigned int) (s[1] ^ 0x80); return 2; } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } else if (c < 0xf0) { if (n >= 2) { if ((s[1] ^ 0x80) < 0x40 && (c >= 0xe1 || s[1] >= 0xa0) && (c != 0xed || s[1] < 0xa0)) { if (n >= 3) { if ((s[2] ^ 0x80) < 0x40) { *puc = ((unsigned int) (c & 0x0f) << 12) | ((unsigned int) (s[1] ^ 0x80) << 6) | (unsigned int) (s[2] ^ 0x80); return 3; } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } else if (c < 0xf8) { if (n >= 2) { if ((s[1] ^ 0x80) < 0x40 && (c >= 0xf1 || s[1] >= 0x90) && (c < 0xf4 || (c == 0xf4 && s[1] < 0x90))) { if (n >= 3) { if ((s[2] ^ 0x80) < 0x40) { if (n >= 4) { if ((s[3] ^ 0x80) < 0x40) { *puc = ((unsigned int) (c & 0x07) << 18) | ((unsigned int) (s[1] ^ 0x80) << 12) | ((unsigned int) (s[2] ^ 0x80) << 6) | (unsigned int) (s[3] ^ 0x80); return 4; } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } } /* invalid multibyte character */ *puc = 0xfffd; return -1; } gsasl-1.8.1/gl/unistr/u8-uctomb-aux.c0000644000000000000000000000337113516251577014251 00000000000000/* Conversion UCS-4 to UTF-8. Copyright (C) 2002, 2006-2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2002. 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 3 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, see . */ #include /* Specification. */ #include "unistr.h" #ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif #endif int u8_uctomb_aux (uint8_t *s, ucs4_t uc, int n) { int count; if (uc < 0x80) /* The case n >= 1 is already handled by the caller. */ return -2; else if (uc < 0x800) count = 2; else if (uc < 0x10000) { if (uc < 0xd800 || uc >= 0xe000) count = 3; else return -1; } else if (uc < 0x110000) count = 4; else return -1; if (n < count) return -2; switch (count) /* note: code falls through cases! */ { case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x10000; FALLTHROUGH; case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800; FALLTHROUGH; case 2: s[1] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0xc0; /*case 1:*/ s[0] = uc; } return count; } gsasl-1.8.1/gl/netdb.in.h0000644000000000000000000002260713516251576012017 00000000000000/* Provide a netdb.h header file for systems lacking it (read: MinGW). Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Simon Josefsson. 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 3, 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, see . */ /* This file is supposed to be used on platforms that lack . It is intended to provide definitions and prototypes needed by an application. */ #ifndef _@GUARD_PREFIX@_NETDB_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_NETDB_H@ /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_NETDB_H@ #endif #ifndef _@GUARD_PREFIX@_NETDB_H #define _@GUARD_PREFIX@_NETDB_H /* Get definitions such as 'socklen_t' on IRIX 6.5 and OSF/1 4.0 and 'struct hostent' on MinGW. */ #include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declarations for a platform that lacks , or where it is incomplete. */ #if @GNULIB_GETADDRINFO@ # if !@HAVE_STRUCT_ADDRINFO@ # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_addrinfo /* Structure to contain information about address of a service provider. */ struct addrinfo { int ai_flags; /* Input flags. */ int ai_family; /* Protocol family for socket. */ int ai_socktype; /* Socket type. */ int ai_protocol; /* Protocol for socket. */ socklen_t ai_addrlen; /* Length of socket address. */ struct sockaddr *ai_addr; /* Socket address for socket. */ char *ai_canonname; /* Canonical name for service location. */ struct addrinfo *ai_next; /* Pointer to next in list. */ }; # define GNULIB_defined_struct_addrinfo 1 # endif # ifdef __cplusplus } # endif # endif /* Possible values for 'ai_flags' field in 'addrinfo' structure. */ # ifndef AI_PASSIVE # define AI_PASSIVE 0x0001 /* Socket address is intended for 'bind'. */ # endif # ifndef AI_CANONNAME # define AI_CANONNAME 0x0002 /* Request for canonical name. */ # endif # ifndef AI_NUMERICSERV # define AI_NUMERICSERV 0x0400 /* Don't use name resolution. */ # endif # if 0 # define AI_NUMERICHOST 0x0004 /* Don't use name resolution. */ # endif /* These symbolic constants are required to be present by POSIX, but our getaddrinfo replacement doesn't use them (yet). Setting them to 0 on systems that doesn't have them avoids causing problems for system getaddrinfo implementations that would be confused by unknown values. */ # ifndef AI_V4MAPPED # define AI_V4MAPPED 0 /* 0x0008: IPv4 mapped addresses are acceptable. */ # endif # ifndef AI_ALL # define AI_ALL 0 /* 0x0010: Return IPv4 mapped and IPv6 addresses. */ # endif # ifndef AI_ADDRCONFIG # define AI_ADDRCONFIG 0 /* 0x0020: Use configuration of this host to choose returned address type. */ # endif /* Error values for 'getaddrinfo' function. */ # ifndef EAI_BADFLAGS # define EAI_BADFLAGS -1 /* Invalid value for 'ai_flags' field. */ # define EAI_NONAME -2 /* NAME or SERVICE is unknown. */ # define EAI_AGAIN -3 /* Temporary failure in name resolution. */ # define EAI_FAIL -4 /* Non-recoverable failure in name res. */ # define EAI_NODATA -5 /* No address associated with NAME. */ # define EAI_FAMILY -6 /* 'ai_family' not supported. */ # define EAI_SOCKTYPE -7 /* 'ai_socktype' not supported. */ # define EAI_SERVICE -8 /* SERVICE not supported for 'ai_socktype'. */ # define EAI_MEMORY -10 /* Memory allocation failure. */ # endif /* Since EAI_NODATA is deprecated by RFC3493, some systems (at least FreeBSD, which does define EAI_BADFLAGS) have removed the definition in favor of EAI_NONAME. */ # if !defined EAI_NODATA && defined EAI_NONAME # define EAI_NODATA EAI_NONAME # endif # ifndef EAI_OVERFLOW /* Not defined on mingw32 and Haiku. */ # define EAI_OVERFLOW -12 /* Argument buffer overflow. */ # endif # ifndef EAI_ADDRFAMILY /* Not defined on mingw32. */ # define EAI_ADDRFAMILY -9 /* Address family for NAME not supported. */ # endif # ifndef EAI_SYSTEM /* Not defined on mingw32. */ # define EAI_SYSTEM -11 /* System error returned in 'errno'. */ # endif # if 0 /* The commented out definitions below are not yet implemented in the GNULIB getaddrinfo() replacement, so are not yet needed. If they are restored, be sure to protect the definitions with #ifndef. */ # ifndef EAI_INPROGRESS # define EAI_INPROGRESS -100 /* Processing request in progress. */ # define EAI_CANCELED -101 /* Request canceled. */ # define EAI_NOTCANCELED -102 /* Request not canceled. */ # define EAI_ALLDONE -103 /* All requests done. */ # define EAI_INTR -104 /* Interrupted by a signal. */ # define EAI_IDN_ENCODE -105 /* IDN encoding failed. */ # endif # endif # if !@HAVE_DECL_GETADDRINFO@ /* Translate name of a service location and/or a service name to set of socket addresses. For more details, see the POSIX:2001 specification . */ _GL_FUNCDECL_SYS (getaddrinfo, int, (const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res) _GL_ARG_NONNULL ((4))); # endif _GL_CXXALIAS_SYS (getaddrinfo, int, (const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res)); _GL_CXXALIASWARN (getaddrinfo); # if !@HAVE_DECL_FREEADDRINFO@ /* Free 'addrinfo' structure AI including associated storage. For more details, see the POSIX:2001 specification . */ _GL_FUNCDECL_SYS (freeaddrinfo, void, (struct addrinfo *ai) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (freeaddrinfo, void, (struct addrinfo *ai)); _GL_CXXALIASWARN (freeaddrinfo); # if @REPLACE_GAI_STRERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gai_strerror # define gai_strerror rpl_gai_strerror # endif _GL_FUNCDECL_RPL (gai_strerror, const char *, (int ecode)); _GL_CXXALIAS_RPL (gai_strerror, const char *, (int ecode)); # else # if !@HAVE_DECL_GAI_STRERROR@ /* Convert error return from getaddrinfo() to a string. For more details, see the POSIX:2001 specification . */ _GL_FUNCDECL_SYS (gai_strerror, const char *, (int ecode)); # endif _GL_CXXALIAS_SYS (gai_strerror, const char *, (int ecode)); # endif _GL_CXXALIASWARN (gai_strerror); # if !@HAVE_DECL_GETNAMEINFO@ /* Convert socket address to printable node and service names. For more details, see the POSIX:2001 specification . */ _GL_FUNCDECL_SYS (getnameinfo, int, (const struct sockaddr *restrict sa, socklen_t salen, char *restrict node, socklen_t nodelen, char *restrict service, socklen_t servicelen, int flags) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on glibc systems, the seventh parameter is unsigned int flags. */ _GL_CXXALIAS_SYS_CAST (getnameinfo, int, (const struct sockaddr *restrict sa, socklen_t salen, char *restrict node, socklen_t nodelen, char *restrict service, socklen_t servicelen, int flags)); _GL_CXXALIASWARN (getnameinfo); /* Possible flags for getnameinfo. */ # ifndef NI_NUMERICHOST # define NI_NUMERICHOST 1 # endif # ifndef NI_NUMERICSERV # define NI_NUMERICSERV 2 # endif #elif defined GNULIB_POSIXCHECK # undef getaddrinfo # if HAVE_RAW_DECL_GETADDRINFO _GL_WARN_ON_USE (getaddrinfo, "getaddrinfo is unportable - " "use gnulib module getaddrinfo for portability"); # endif # undef freeaddrinfo # if HAVE_RAW_DECL_FREEADDRINFO _GL_WARN_ON_USE (freeaddrinfo, "freeaddrinfo is unportable - " "use gnulib module getaddrinfo for portability"); # endif # undef gai_strerror # if HAVE_RAW_DECL_GAI_STRERROR _GL_WARN_ON_USE (gai_strerror, "gai_strerror is unportable - " "use gnulib module getaddrinfo for portability"); # endif # undef getnameinfo # if HAVE_RAW_DECL_GETNAMEINFO _GL_WARN_ON_USE (getnameinfo, "getnameinfo is unportable - " "use gnulib module getaddrinfo for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_NETDB_H */ #endif /* _@GUARD_PREFIX@_NETDB_H */ gsasl-1.8.1/gl/c++defs.h0000644000000000000000000003413013516251573011517 00000000000000/* C++ compatible function declaration macros. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_CXXDEFS_H #define _GL_CXXDEFS_H /* Begin/end the GNULIB_NAMESPACE namespace. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { # define _GL_END_NAMESPACE } #else # define _GL_BEGIN_NAMESPACE # define _GL_END_NAMESPACE #endif /* The three most frequent use cases of these macros are: * For providing a substitute for a function that is missing on some platforms, but is declared and works fine on the platforms on which it exists: #if @GNULIB_FOO@ # if !@HAVE_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on all platforms, but is broken/insufficient and needs to be replaced on some platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on some platforms but is broken/insufficient and needs to be replaced on some of them and is additionally either missing or undeclared on some other platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif */ /* _GL_EXTERN_C declaration; performs the declaration with C linkage. */ #if defined __cplusplus # define _GL_EXTERN_C extern "C" #else # define _GL_EXTERN_C extern #endif /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); declares a replacement function, named rpl_func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype rpl_func parameters_and_attributes /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); declares the system function, named func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype func parameters_and_attributes /* _GL_CXXALIAS_RPL (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to rpl_func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); Wrapping rpl_func in an object with an inline conversion operator avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is actually used in the program. */ #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::rpl_func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); except that the C function rpl_func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::rpl_func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to the system provided function func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); Wrapping func in an object with an inline conversion operator avoids a reference to func unless GNULIB_NAMESPACE::func is actually used in the program. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function is picked among a set of overloaded functions, namely the one with rettype2 and parameters2. Two consecutive casts are used to silence the "cannot find a match" and "invalid conversion" errors that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE /* The outer cast must be a reinterpret_cast. The inner cast: When the function is defined as a set of overloaded functions, it works as a static_cast<>, choosing the designated variant. When the function is defined as a single variant, it works as a reinterpret_cast<>. The parenthesized cast syntax works both ways. */ # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast((rettype2 (*) parameters2)(::func)); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN (func); causes a warning to be emitted when ::func is used but not when GNULIB_NAMESPACE::func is used. func must be defined without overloaded variants. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN(func) \ _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) # define _GL_CXXALIASWARN_1(func,namespace) \ _GL_CXXALIASWARN_2 (func, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_WARN_ON_USE (func, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN_2(func,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN(func) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); causes a warning to be emitted when the given overloaded variant of ::func is used but not when GNULIB_NAMESPACE::func is used. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ GNULIB_NAMESPACE) # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif #endif /* _GL_CXXDEFS_H */ gsasl-1.8.1/gl/iconv_close.c0000644000000000000000000000244013516251574012603 00000000000000/* Character set conversion. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include #include int rpl_iconv_close (iconv_t cd) #undef iconv_close { #if REPLACE_ICONV_UTF switch ((uintptr_t) cd) { case (uintptr_t) _ICONV_UTF8_UTF16BE: case (uintptr_t) _ICONV_UTF8_UTF16LE: case (uintptr_t) _ICONV_UTF8_UTF32BE: case (uintptr_t) _ICONV_UTF8_UTF32LE: case (uintptr_t) _ICONV_UTF16BE_UTF8: case (uintptr_t) _ICONV_UTF16LE_UTF8: case (uintptr_t) _ICONV_UTF32BE_UTF8: case (uintptr_t) _ICONV_UTF32LE_UTF8: return 0; } #endif return iconv_close (cd); } gsasl-1.8.1/gl/arpa_inet.in.h0000644000000000000000000001174713516251574012666 00000000000000/* A GNU-like . Copyright (C) 2005-2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_ARPA_INET_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_FEATURES_H@ # include /* for __GLIBC__ */ #endif /* Gnulib's sys/socket.h is responsible for defining socklen_t (used below) and for pulling in winsock2.h etc. under MinGW. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* On NonStop Kernel, inet_ntop and inet_pton are declared in . But avoid namespace pollution on glibc systems. */ #if defined __TANDEM && !defined __GLIBC__ # include #endif #if @HAVE_ARPA_INET_H@ /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_ARPA_INET_H@ #endif #ifndef _@GUARD_PREFIX@_ARPA_INET_H #define _@GUARD_PREFIX@_ARPA_INET_H /* Get all possible declarations of inet_ntop() and inet_pton(). */ #if (@GNULIB_INET_NTOP@ || @GNULIB_INET_PTON@ || defined GNULIB_POSIXCHECK) \ && @HAVE_WS2TCPIP_H@ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if @GNULIB_INET_NTOP@ /* Converts an internet address from internal format to a printable, presentable format. AF is an internet address family, such as AF_INET or AF_INET6. SRC points to a 'struct in_addr' (for AF_INET) or 'struct in6_addr' (for AF_INET6). DST points to a buffer having room for CNT bytes. The printable representation of the address (in numeric form, not surrounded by [...], no reverse DNS is done) is placed in DST, and DST is returned. If an error occurs, the return value is NULL and errno is set. If CNT bytes are not sufficient to hold the result, the return value is NULL and errno is set to ENOSPC. A good value for CNT is 46. For more details, see the POSIX:2001 specification . */ # if @REPLACE_INET_NTOP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef inet_ntop # define inet_ntop rpl_inet_ntop # endif _GL_FUNCDECL_RPL (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt)); # else # if !@HAVE_DECL_INET_NTOP@ _GL_FUNCDECL_SYS (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt) _GL_ARG_NONNULL ((2, 3))); # endif /* Need to cast, because on NonStop Kernel, the fourth parameter is size_t cnt. */ _GL_CXXALIAS_SYS_CAST (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt)); # endif _GL_CXXALIASWARN (inet_ntop); #elif defined GNULIB_POSIXCHECK # undef inet_ntop # if HAVE_RAW_DECL_INET_NTOP _GL_WARN_ON_USE (inet_ntop, "inet_ntop is unportable - " "use gnulib module inet_ntop for portability"); # endif #endif #if @GNULIB_INET_PTON@ # if @REPLACE_INET_PTON@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef inet_pton # define inet_pton rpl_inet_pton # endif _GL_FUNCDECL_RPL (inet_pton, int, (int af, const char *restrict src, void *restrict dst) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (inet_pton, int, (int af, const char *restrict src, void *restrict dst)); # else # if !@HAVE_DECL_INET_PTON@ _GL_FUNCDECL_SYS (inet_pton, int, (int af, const char *restrict src, void *restrict dst) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (inet_pton, int, (int af, const char *restrict src, void *restrict dst)); # endif _GL_CXXALIASWARN (inet_pton); #elif defined GNULIB_POSIXCHECK # undef inet_pton # if HAVE_RAW_DECL_INET_PTON _GL_WARN_ON_USE (inet_pton, "inet_pton is unportable - " "use gnulib module inet_pton for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_ARPA_INET_H */ #endif /* _@GUARD_PREFIX@_ARPA_INET_H */ gsasl-1.8.1/gl/c-strncasecmp.c0000644000000000000000000000310713516251574013043 00000000000000/* c-strncasecmp.c -- case insensitive string comparator in C locale Copyright (C) 1998-1999, 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include "c-strcase.h" #include #include "c-ctype.h" int c_strncasecmp (const char *s1, const char *s2, size_t n) { register const unsigned char *p1 = (const unsigned char *) s1; register const unsigned char *p2 = (const unsigned char *) s2; unsigned char c1, c2; if (p1 == p2 || n == 0) return 0; do { c1 = c_tolower (*p1); c2 = c_tolower (*p2); if (--n == 0 || c1 == '\0') break; ++p1; ++p2; } while (c1 == c2); if (UCHAR_MAX <= INT_MAX) return c1 - c2; else /* On machines where 'char' and 'int' are types of the same size, the difference of two 'unsigned char' values - including the sign bit - doesn't fit in an 'int'. */ return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); } gsasl-1.8.1/gl/iconv_open-solaris.gperf0000644000000000000000000000306413516251575014776 00000000000000/* Character set conversion. Copyright (C) 2007, 2009 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On Solaris 10, look in the "iconv -l" output. Some aliases are advertised but # not actually supported by the iconv() function and by the 'iconv' program. # For example: # $ echo abc | iconv -f 646 -t ISO-8859-1 # Not supported 646 to ISO-8859-1 # $ echo abc | iconv -f 646 -t ISO8859-1 $ abc ASCII, "646" ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" CP1251, "ansi-1251" gsasl-1.8.1/gl/c-ctype.h0000644000000000000000000002240713516251574011656 00000000000000/* Character handling in C locale. These functions work like the corresponding functions in , except that they have the C (POSIX) locale hardwired, whereas the functions' behaviour depends on the current locale set via setlocale. Copyright (C) 2000-2003, 2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef C_CTYPE_H #define C_CTYPE_H #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef C_CTYPE_INLINE # define C_CTYPE_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* The functions defined in this file assume the "C" locale and a character set without diacritics (ASCII-US or EBCDIC-US or something like that). Even if the "C" locale on a particular system is an extension of the ASCII character set (like on BeOS, where it is UTF-8, or on AmigaOS, where it is ISO-8859-1), the functions in this file recognize only the ASCII characters. */ #if (' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126) /* The character set is ASCII or one of its variants or extensions, not EBCDIC. Testing the value of '\n' and '\r' is not relevant. */ # define C_CTYPE_ASCII 1 #elif ! (' ' == '\x40' && '0' == '\xf0' \ && 'A' == '\xc1' && 'J' == '\xd1' && 'S' == '\xe2' \ && 'a' == '\x81' && 'j' == '\x91' && 's' == '\xa2') # error "Only ASCII and EBCDIC are supported" #endif #if 'A' < 0 # error "EBCDIC and char is signed -- not supported" #endif /* Cases for control characters. */ #define _C_CTYPE_CNTRL \ case '\a': case '\b': case '\f': case '\n': \ case '\r': case '\t': case '\v': \ _C_CTYPE_OTHER_CNTRL /* ASCII control characters other than those with \-letter escapes. */ #if C_CTYPE_ASCII # define _C_CTYPE_OTHER_CNTRL \ case '\x00': case '\x01': case '\x02': case '\x03': \ case '\x04': case '\x05': case '\x06': case '\x0e': \ case '\x0f': case '\x10': case '\x11': case '\x12': \ case '\x13': case '\x14': case '\x15': case '\x16': \ case '\x17': case '\x18': case '\x19': case '\x1a': \ case '\x1b': case '\x1c': case '\x1d': case '\x1e': \ case '\x1f': case '\x7f' #else /* Use EBCDIC code page 1047's assignments for ASCII control chars; assume all EBCDIC code pages agree about these assignments. */ # define _C_CTYPE_OTHER_CNTRL \ case '\x00': case '\x01': case '\x02': case '\x03': \ case '\x07': case '\x0e': case '\x0f': case '\x10': \ case '\x11': case '\x12': case '\x13': case '\x18': \ case '\x19': case '\x1c': case '\x1d': case '\x1e': \ case '\x1f': case '\x26': case '\x27': case '\x2d': \ case '\x2e': case '\x32': case '\x37': case '\x3c': \ case '\x3d': case '\x3f' #endif /* Cases for lowercase hex letters, and lowercase letters, all offset by N. */ #define _C_CTYPE_LOWER_A_THRU_F_N(N) \ case 'a' + (N): case 'b' + (N): case 'c' + (N): case 'd' + (N): \ case 'e' + (N): case 'f' + (N) #define _C_CTYPE_LOWER_N(N) \ _C_CTYPE_LOWER_A_THRU_F_N(N): \ case 'g' + (N): case 'h' + (N): case 'i' + (N): case 'j' + (N): \ case 'k' + (N): case 'l' + (N): case 'm' + (N): case 'n' + (N): \ case 'o' + (N): case 'p' + (N): case 'q' + (N): case 'r' + (N): \ case 's' + (N): case 't' + (N): case 'u' + (N): case 'v' + (N): \ case 'w' + (N): case 'x' + (N): case 'y' + (N): case 'z' + (N) /* Cases for hex letters, digits, lower, punct, and upper. */ #define _C_CTYPE_A_THRU_F \ _C_CTYPE_LOWER_A_THRU_F_N (0): \ _C_CTYPE_LOWER_A_THRU_F_N ('A' - 'a') #define _C_CTYPE_DIGIT \ case '0': case '1': case '2': case '3': \ case '4': case '5': case '6': case '7': \ case '8': case '9' #define _C_CTYPE_LOWER _C_CTYPE_LOWER_N (0) #define _C_CTYPE_PUNCT \ case '!': case '"': case '#': case '$': \ case '%': case '&': case '\'': case '(': \ case ')': case '*': case '+': case ',': \ case '-': case '.': case '/': case ':': \ case ';': case '<': case '=': case '>': \ case '?': case '@': case '[': case '\\': \ case ']': case '^': case '_': case '`': \ case '{': case '|': case '}': case '~' #define _C_CTYPE_UPPER _C_CTYPE_LOWER_N ('A' - 'a') /* Function definitions. */ /* Unlike the functions in , which require an argument in the range of the 'unsigned char' type, the functions here operate on values that are in the 'unsigned char' range or in the 'char' range. In other words, when you have a 'char' value, you need to cast it before using it as argument to a function: const char *s = ...; if (isalpha ((unsigned char) *s)) ... but you don't need to cast it for the functions defined in this file: const char *s = ...; if (c_isalpha (*s)) ... */ C_CTYPE_INLINE bool c_isalnum (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isalpha (int c) { switch (c) { _C_CTYPE_LOWER: _C_CTYPE_UPPER: return true; default: return false; } } /* The function isascii is not locale dependent. Its use in EBCDIC is questionable. */ C_CTYPE_INLINE bool c_isascii (int c) { switch (c) { case ' ': _C_CTYPE_CNTRL: _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isblank (int c) { return c == ' ' || c == '\t'; } C_CTYPE_INLINE bool c_iscntrl (int c) { switch (c) { _C_CTYPE_CNTRL: return true; default: return false; } } C_CTYPE_INLINE bool c_isdigit (int c) { switch (c) { _C_CTYPE_DIGIT: return true; default: return false; } } C_CTYPE_INLINE bool c_isgraph (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_islower (int c) { switch (c) { _C_CTYPE_LOWER: return true; default: return false; } } C_CTYPE_INLINE bool c_isprint (int c) { switch (c) { case ' ': _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_ispunct (int c) { switch (c) { _C_CTYPE_PUNCT: return true; default: return false; } } C_CTYPE_INLINE bool c_isspace (int c) { switch (c) { case ' ': case '\t': case '\n': case '\v': case '\f': case '\r': return true; default: return false; } } C_CTYPE_INLINE bool c_isupper (int c) { switch (c) { _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isxdigit (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_A_THRU_F: return true; default: return false; } } C_CTYPE_INLINE int c_tolower (int c) { switch (c) { _C_CTYPE_UPPER: return c - 'A' + 'a'; default: return c; } } C_CTYPE_INLINE int c_toupper (int c) { switch (c) { _C_CTYPE_LOWER: return c - 'a' + 'A'; default: return c; } } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* C_CTYPE_H */ gsasl-1.8.1/gl/readline.h0000644000000000000000000000253613516251576012100 00000000000000/* readline.h --- Simple implementation of readline. Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. Written by Simon Josefsson 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 3 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, see . */ #ifndef GL_READLINE_H #define GL_READLINE_H #if HAVE_READLINE_READLINE_H /* makes use of the FILE type without including itself. */ # include # include #else /* Prints a prompt PROMPT and then reads and returns a single line of text from the user. If PROMPT is NULL or the empty string, no prompt is displayed. The returned line is allocated with malloc; the caller should free the line when it has finished with it. */ extern char *readline (const char *prompt); #endif #endif /* GL_READLINE_H */ gsasl-1.8.1/gl/iconv_open-irix.h0000644000000000000000000001715413521017344013414 00000000000000/* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 ./iconv_open-irix.gperf */ /* Computed positions: -k'1,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "./iconv_open-irix.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 19 #define MIN_WORD_LENGTH 5 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 5 #define MAX_HASH_VALUE 23 /* maximum key range = 19, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 8, 2, 5, 12, 11, 0, 10, 9, 8, 7, 24, 24, 24, 24, 24, 24, 24, 24, 24, 0, 24, 0, 24, 5, 24, 0, 24, 7, 24, 24, 24, 24, 7, 24, 1, 0, 8, 24, 24, 0, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24 }; return len + asso_values[(unsigned char)str[len - 1]] + asso_values[(unsigned char)str[0]]; } struct stringpool_t { char stringpool_str5[sizeof("CP855")]; char stringpool_str6[sizeof("EUC-TW")]; char stringpool_str7[sizeof("EUC-KR")]; char stringpool_str8[sizeof("CP1251")]; char stringpool_str9[sizeof("SHIFT_JIS")]; char stringpool_str10[sizeof("ISO-8859-5")]; char stringpool_str11[sizeof("ISO-8859-15")]; char stringpool_str12[sizeof("ISO-8859-1")]; char stringpool_str13[sizeof("EUC-JP")]; char stringpool_str14[sizeof("KOI8-R")]; char stringpool_str15[sizeof("ISO-8859-2")]; char stringpool_str16[sizeof("GB2312")]; char stringpool_str17[sizeof("ISO-8859-9")]; char stringpool_str18[sizeof("ISO-8859-8")]; char stringpool_str19[sizeof("ISO-8859-7")]; char stringpool_str20[sizeof("ISO-8859-6")]; char stringpool_str21[sizeof("ISO-8859-4")]; char stringpool_str22[sizeof("ISO-8859-3")]; char stringpool_str23[sizeof("TIS-620")]; }; static const struct stringpool_t stringpool_contents = { "CP855", "EUC-TW", "EUC-KR", "CP1251", "SHIFT_JIS", "ISO-8859-5", "ISO-8859-15", "ISO-8859-1", "EUC-JP", "KOI8-R", "ISO-8859-2", "GB2312", "ISO-8859-9", "ISO-8859-8", "ISO-8859-7", "ISO-8859-6", "ISO-8859-4", "ISO-8859-3", "TIS-620" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, #line 40 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str5, "DOS855"}, #line 45 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "eucTW"}, #line 44 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "eucKR"}, #line 41 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "WIN1251"}, #line 46 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "sjis"}, #line 33 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "ISO8859-5"}, #line 38 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "ISO8859-15"}, #line 29 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "ISO8859-1"}, #line 43 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "eucJP"}, #line 39 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "KOI8"}, #line 30 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "ISO8859-2"}, #line 42 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "eucCN"}, #line 37 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "ISO8859-9"}, #line 36 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "ISO8859-8"}, #line 35 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "ISO8859-7"}, #line 34 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "ISO8859-6"}, #line 32 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "ISO8859-4"}, #line 31 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "ISO8859-3"}, #line 47 "./iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "TIS620"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } gsasl-1.8.1/gl/poll.c0000644000000000000000000004162713516251576011262 00000000000000/* Emulation for poll(2) Contributed by Paolo Bonzini. Copyright 2001-2003, 2006-2019 Free Software Foundation, Inc. This file is part of gnulib. 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 3, 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, see . */ /* Tell gcc not to warn about the (nfd < 0) tests, below. */ #if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__ # pragma GCC diagnostic ignored "-Wtype-limits" #endif #include #include #include /* Specification. */ #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE # include # include # include # include # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #else # include # include #endif #include #include #ifdef HAVE_SYS_IOCTL_H # include #endif #ifdef HAVE_SYS_FILIO_H # include #endif #include #include "assure.h" #ifndef INFTIM # define INFTIM (-1) #endif /* BeOS does not have MSG_PEEK. */ #ifndef MSG_PEEK # define MSG_PEEK 0 #endif #ifdef WINDOWS_NATIVE /* Do *not* use the function WSAPoll because there is a bug named “Windows 8 Bugs 309411 - WSAPoll does not report failed connections” that Microsoft won't fix. See Daniel Stenberg: "WASPoll is broken" . */ /* Here we need the recv() function from Windows, that takes a SOCKET as first argument, not any possible gnulib override. */ # undef recv /* Here we need the select() function from Windows, because we pass bit masks of SOCKETs, not bit masks of FDs. */ # undef select /* Here we need timeval from Windows since this is what the select() function from Windows requires. */ # undef timeval /* Avoid warnings from gcc -Wcast-function-type. */ # define GetProcAddress \ (void *) GetProcAddress static BOOL IsConsoleHandle (HANDLE h) { DWORD mode; return GetConsoleMode (h, &mode) != 0; } static BOOL IsSocketHandle (HANDLE h) { WSANETWORKEVENTS ev; if (IsConsoleHandle (h)) return FALSE; /* Under Wine, it seems that getsockopt returns 0 for pipes too. WSAEnumNetworkEvents instead distinguishes the two correctly. */ ev.lNetworkEvents = 0xDEADBEEF; WSAEnumNetworkEvents ((SOCKET) h, NULL, &ev); return ev.lNetworkEvents != 0xDEADBEEF; } /* Declare data structures for ntdll functions. */ typedef struct _FILE_PIPE_LOCAL_INFORMATION { ULONG NamedPipeType; ULONG NamedPipeConfiguration; ULONG MaximumInstances; ULONG CurrentInstances; ULONG InboundQuota; ULONG ReadDataAvailable; ULONG OutboundQuota; ULONG WriteQuotaAvailable; ULONG NamedPipeState; ULONG NamedPipeEnd; } FILE_PIPE_LOCAL_INFORMATION, *PFILE_PIPE_LOCAL_INFORMATION; typedef struct _IO_STATUS_BLOCK { union { DWORD Status; PVOID Pointer; } u; ULONG_PTR Information; } IO_STATUS_BLOCK, *PIO_STATUS_BLOCK; typedef enum _FILE_INFORMATION_CLASS { FilePipeLocalInformation = 24 } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS; typedef DWORD (WINAPI *PNtQueryInformationFile) (HANDLE, IO_STATUS_BLOCK *, VOID *, ULONG, FILE_INFORMATION_CLASS); # ifndef PIPE_BUF # define PIPE_BUF 512 # endif /* Compute revents values for file handle H. If some events cannot happen for the handle, eliminate them from *P_SOUGHT. */ static int windows_compute_revents (HANDLE h, int *p_sought) { int i, ret, happened; INPUT_RECORD *irbuffer; DWORD avail, nbuffer; BOOL bRet; IO_STATUS_BLOCK iosb; FILE_PIPE_LOCAL_INFORMATION fpli; static PNtQueryInformationFile NtQueryInformationFile; static BOOL once_only; switch (GetFileType (h)) { case FILE_TYPE_PIPE: if (!once_only) { NtQueryInformationFile = (PNtQueryInformationFile) GetProcAddress (GetModuleHandle ("ntdll.dll"), "NtQueryInformationFile"); once_only = TRUE; } happened = 0; if (PeekNamedPipe (h, NULL, 0, NULL, &avail, NULL) != 0) { if (avail) happened |= *p_sought & (POLLIN | POLLRDNORM); } else if (GetLastError () == ERROR_BROKEN_PIPE) happened |= POLLHUP; else { /* It was the write-end of the pipe. Check if it is writable. If NtQueryInformationFile fails, optimistically assume the pipe is writable. This could happen on Windows 9x, where NtQueryInformationFile is not available, or if we inherit a pipe that doesn't permit FILE_READ_ATTRIBUTES access on the write end (I think this should not happen since Windows XP SP2; WINE seems fine too). Otherwise, ensure that enough space is available for atomic writes. */ memset (&iosb, 0, sizeof (iosb)); memset (&fpli, 0, sizeof (fpli)); if (!NtQueryInformationFile || NtQueryInformationFile (h, &iosb, &fpli, sizeof (fpli), FilePipeLocalInformation) || fpli.WriteQuotaAvailable >= PIPE_BUF || (fpli.OutboundQuota < PIPE_BUF && fpli.WriteQuotaAvailable == fpli.OutboundQuota)) happened |= *p_sought & (POLLOUT | POLLWRNORM | POLLWRBAND); } return happened; case FILE_TYPE_CHAR: ret = WaitForSingleObject (h, 0); if (!IsConsoleHandle (h)) return ret == WAIT_OBJECT_0 ? *p_sought & ~(POLLPRI | POLLRDBAND) : 0; nbuffer = avail = 0; bRet = GetNumberOfConsoleInputEvents (h, &nbuffer); if (bRet) { /* Input buffer. */ *p_sought &= POLLIN | POLLRDNORM; if (nbuffer == 0) return POLLHUP; if (!*p_sought) return 0; irbuffer = (INPUT_RECORD *) alloca (nbuffer * sizeof (INPUT_RECORD)); bRet = PeekConsoleInput (h, irbuffer, nbuffer, &avail); if (!bRet || avail == 0) return POLLHUP; for (i = 0; i < avail; i++) if (irbuffer[i].EventType == KEY_EVENT) return *p_sought; return 0; } else { /* Screen buffer. */ *p_sought &= POLLOUT | POLLWRNORM | POLLWRBAND; return *p_sought; } default: ret = WaitForSingleObject (h, 0); if (ret == WAIT_OBJECT_0) return *p_sought & ~(POLLPRI | POLLRDBAND); return *p_sought & (POLLOUT | POLLWRNORM | POLLWRBAND); } } /* Convert fd_sets returned by select into revents values. */ static int windows_compute_revents_socket (SOCKET h, int sought, long lNetworkEvents) { int happened = 0; if ((lNetworkEvents & (FD_READ | FD_ACCEPT | FD_CLOSE)) == FD_ACCEPT) happened |= (POLLIN | POLLRDNORM) & sought; else if (lNetworkEvents & (FD_READ | FD_ACCEPT | FD_CLOSE)) { int r, error; char data[64]; WSASetLastError (0); r = recv (h, data, sizeof (data), MSG_PEEK); error = WSAGetLastError (); WSASetLastError (0); if (r > 0 || error == WSAENOTCONN) happened |= (POLLIN | POLLRDNORM) & sought; /* Distinguish hung-up sockets from other errors. */ else if (r == 0 || error == WSAESHUTDOWN || error == WSAECONNRESET || error == WSAECONNABORTED || error == WSAENETRESET) happened |= POLLHUP; else happened |= POLLERR; } if (lNetworkEvents & (FD_WRITE | FD_CONNECT)) happened |= (POLLOUT | POLLWRNORM | POLLWRBAND) & sought; if (lNetworkEvents & FD_OOB) happened |= (POLLPRI | POLLRDBAND) & sought; return happened; } #else /* !MinGW */ /* Convert select(2) returned fd_sets into poll(2) revents values. */ static int compute_revents (int fd, int sought, fd_set *rfds, fd_set *wfds, fd_set *efds) { int happened = 0; if (FD_ISSET (fd, rfds)) { int r; int socket_errno; # if defined __MACH__ && defined __APPLE__ /* There is a bug in Mac OS X that causes it to ignore MSG_PEEK for some kinds of descriptors. Detect if this descriptor is a connected socket, a server socket, or something else using a 0-byte recv, and use ioctl(2) to detect POLLHUP. */ r = recv (fd, NULL, 0, MSG_PEEK); socket_errno = (r < 0) ? errno : 0; if (r == 0 || socket_errno == ENOTSOCK) ioctl (fd, FIONREAD, &r); # else char data[64]; r = recv (fd, data, sizeof (data), MSG_PEEK); socket_errno = (r < 0) ? errno : 0; # endif if (r == 0) happened |= POLLHUP; /* If the event happened on an unconnected server socket, that's fine. */ else if (r > 0 || ( /* (r == -1) && */ socket_errno == ENOTCONN)) happened |= (POLLIN | POLLRDNORM) & sought; /* Distinguish hung-up sockets from other errors. */ else if (socket_errno == ESHUTDOWN || socket_errno == ECONNRESET || socket_errno == ECONNABORTED || socket_errno == ENETRESET) happened |= POLLHUP; /* some systems can't use recv() on non-socket, including HP NonStop */ else if (socket_errno == ENOTSOCK) happened |= (POLLIN | POLLRDNORM) & sought; else happened |= POLLERR; } if (FD_ISSET (fd, wfds)) happened |= (POLLOUT | POLLWRNORM | POLLWRBAND) & sought; if (FD_ISSET (fd, efds)) happened |= (POLLPRI | POLLRDBAND) & sought; return happened; } #endif /* !MinGW */ int poll (struct pollfd *pfd, nfds_t nfd, int timeout) { #ifndef WINDOWS_NATIVE fd_set rfds, wfds, efds; struct timeval tv; struct timeval *ptv; int maxfd, rc; nfds_t i; if (nfd > INT_MAX) { errno = EINVAL; return -1; } /* Don't check directly for NFD greater than OPEN_MAX. Any practical use of a too-large NFD is caught by one of the other checks below, and checking directly for getdtablesize is too much of a portability and/or performance and/or correctness hassle. */ /* EFAULT is not necessary to implement, but let's do it in the simplest case. */ if (!pfd && nfd) { errno = EFAULT; return -1; } /* convert timeout number into a timeval structure */ if (timeout == 0) { ptv = &tv; ptv->tv_sec = 0; ptv->tv_usec = 0; } else if (timeout > 0) { ptv = &tv; ptv->tv_sec = timeout / 1000; ptv->tv_usec = (timeout % 1000) * 1000; } else if (timeout == INFTIM) /* wait forever */ ptv = NULL; else { errno = EINVAL; return -1; } /* create fd sets and determine max fd */ maxfd = -1; FD_ZERO (&rfds); FD_ZERO (&wfds); FD_ZERO (&efds); for (i = 0; i < nfd; i++) { if (pfd[i].fd < 0) continue; if (maxfd < pfd[i].fd) { maxfd = pfd[i].fd; if (FD_SETSIZE <= maxfd) { errno = EINVAL; return -1; } } if (pfd[i].events & (POLLIN | POLLRDNORM)) FD_SET (pfd[i].fd, &rfds); /* see select(2): "the only exceptional condition detectable is out-of-band data received on a socket", hence we push POLLWRBAND events onto wfds instead of efds. */ if (pfd[i].events & (POLLOUT | POLLWRNORM | POLLWRBAND)) FD_SET (pfd[i].fd, &wfds); if (pfd[i].events & (POLLPRI | POLLRDBAND)) FD_SET (pfd[i].fd, &efds); } /* examine fd sets */ rc = select (maxfd + 1, &rfds, &wfds, &efds, ptv); if (rc < 0) return rc; /* establish results */ rc = 0; for (i = 0; i < nfd; i++) { pfd[i].revents = (pfd[i].fd < 0 ? 0 : compute_revents (pfd[i].fd, pfd[i].events, &rfds, &wfds, &efds)); rc += pfd[i].revents != 0; } return rc; #else static struct timeval tv0; static HANDLE hEvent; WSANETWORKEVENTS ev; HANDLE h, handle_array[FD_SETSIZE + 2]; DWORD ret, wait_timeout, nhandles; fd_set rfds, wfds, xfds; BOOL poll_again; MSG msg; int rc = 0; nfds_t i; if (nfd > INT_MAX || timeout < -1) { errno = EINVAL; return -1; } if (!hEvent) hEvent = CreateEvent (NULL, FALSE, FALSE, NULL); restart: handle_array[0] = hEvent; nhandles = 1; FD_ZERO (&rfds); FD_ZERO (&wfds); FD_ZERO (&xfds); /* Classify socket handles and create fd sets. */ for (i = 0; i < nfd; i++) { int sought = pfd[i].events; pfd[i].revents = 0; if (pfd[i].fd < 0) continue; if (!(sought & (POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM | POLLWRBAND | POLLPRI | POLLRDBAND))) continue; h = (HANDLE) _get_osfhandle (pfd[i].fd); assure (h != NULL); if (IsSocketHandle (h)) { int requested = FD_CLOSE; /* see above; socket handles are mapped onto select. */ if (sought & (POLLIN | POLLRDNORM)) { requested |= FD_READ | FD_ACCEPT; FD_SET ((SOCKET) h, &rfds); } if (sought & (POLLOUT | POLLWRNORM | POLLWRBAND)) { requested |= FD_WRITE | FD_CONNECT; FD_SET ((SOCKET) h, &wfds); } if (sought & (POLLPRI | POLLRDBAND)) { requested |= FD_OOB; FD_SET ((SOCKET) h, &xfds); } if (requested) WSAEventSelect ((SOCKET) h, hEvent, requested); } else { /* Poll now. If we get an event, do not poll again. Also, screen buffer handles are waitable, and they'll block until a character is available. windows_compute_revents eliminates bits for the "wrong" direction. */ pfd[i].revents = windows_compute_revents (h, &sought); if (sought) handle_array[nhandles++] = h; if (pfd[i].revents) timeout = 0; } } if (select (0, &rfds, &wfds, &xfds, &tv0) > 0) { /* Do MsgWaitForMultipleObjects anyway to dispatch messages, but no need to call select again. */ poll_again = FALSE; wait_timeout = 0; } else { poll_again = TRUE; if (timeout == INFTIM) wait_timeout = INFINITE; else wait_timeout = timeout; } for (;;) { ret = MsgWaitForMultipleObjects (nhandles, handle_array, FALSE, wait_timeout, QS_ALLINPUT); if (ret == WAIT_OBJECT_0 + nhandles) { /* new input of some other kind */ BOOL bRet; while ((bRet = PeekMessage (&msg, NULL, 0, 0, PM_REMOVE)) != 0) { TranslateMessage (&msg); DispatchMessage (&msg); } } else break; } if (poll_again) select (0, &rfds, &wfds, &xfds, &tv0); /* Place a sentinel at the end of the array. */ handle_array[nhandles] = NULL; nhandles = 1; for (i = 0; i < nfd; i++) { int happened; if (pfd[i].fd < 0) continue; if (!(pfd[i].events & (POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM | POLLWRBAND))) continue; h = (HANDLE) _get_osfhandle (pfd[i].fd); if (h != handle_array[nhandles]) { /* It's a socket. */ WSAEnumNetworkEvents ((SOCKET) h, NULL, &ev); WSAEventSelect ((SOCKET) h, 0, 0); /* If we're lucky, WSAEnumNetworkEvents already provided a way to distinguish FD_READ and FD_ACCEPT; this saves a recv later. */ if (FD_ISSET ((SOCKET) h, &rfds) && !(ev.lNetworkEvents & (FD_READ | FD_ACCEPT))) ev.lNetworkEvents |= FD_READ | FD_ACCEPT; if (FD_ISSET ((SOCKET) h, &wfds)) ev.lNetworkEvents |= FD_WRITE | FD_CONNECT; if (FD_ISSET ((SOCKET) h, &xfds)) ev.lNetworkEvents |= FD_OOB; happened = windows_compute_revents_socket ((SOCKET) h, pfd[i].events, ev.lNetworkEvents); } else { /* Not a socket. */ int sought = pfd[i].events; happened = windows_compute_revents (h, &sought); nhandles++; } if ((pfd[i].revents |= happened) != 0) rc++; } if (!rc && timeout == INFTIM) { SleepEx (1, TRUE); goto restart; } return rc; #endif } gsasl-1.8.1/gl/unistd.in.h0000644000000000000000000016066713516251577012243 00000000000000/* Substitute for and wrapper around . Copyright (C) 2003-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_UNISTD_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #ifdef _GL_INCLUDING_UNISTD_H /* Special invocation convention: - On Mac OS X 10.3.9 we have a sequence of nested includes -> -> -> In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_UNISTD_H@ #else /* Normal invocation convention. */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_UNISTD_H@ # define _GL_INCLUDING_UNISTD_H # @INCLUDE_NEXT@ @NEXT_UNISTD_H@ # undef _GL_INCLUDING_UNISTD_H #endif /* Get all possible declarations of gethostname(). */ #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ && !defined _GL_INCLUDING_WINSOCK2_H # define _GL_INCLUDING_WINSOCK2_H # include # undef _GL_INCLUDING_WINSOCK2_H #endif #if !defined _@GUARD_PREFIX@_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H #define _@GUARD_PREFIX@_UNISTD_H /* NetBSD 5.0 mis-defines NULL. Also get size_t. */ /* But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* mingw doesn't define the SEEK_* or *_FILENO macros in . */ /* MSVC declares 'unlink' in , not in . We must include it before we #define unlink rpl_unlink. */ /* Cygwin 1.7.1 declares symlinkat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \ || ((@GNULIB_UNLINK@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__)) \ || ((@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK) \ && defined __CYGWIN__)) \ && ! defined __GLIBC__ # include #endif /* Cygwin 1.7.1 and Android 4.3 declare unlinkat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (@GNULIB_UNLINKAT@ || defined GNULIB_POSIXCHECK) \ && (defined __CYGWIN__ || defined __ANDROID__) \ && ! defined __GLIBC__ # include #endif /* mingw fails to declare _exit in . */ /* mingw, MSVC, BeOS, Haiku declare environ in , not in . */ /* Solaris declares getcwd not only in but also in . */ /* OSF Tru64 Unix cannot see gnulib rpl_strtod when system is included here. */ /* But avoid namespace pollution on glibc systems. */ #if !defined __GLIBC__ && !defined __osf__ # define __need_system_stdlib_h # include # undef __need_system_stdlib_h #endif /* Native Windows platforms declare chdir, getcwd, rmdir in and/or , not in . They also declare access(), chmod(), close(), dup(), dup2(), isatty(), lseek(), read(), unlink(), write() in . */ #if ((@GNULIB_CHDIR@ || @GNULIB_GETCWD@ || @GNULIB_RMDIR@ \ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__)) # include /* mingw32, mingw64 */ # include /* mingw64, MSVC 9 */ #elif (@GNULIB_CLOSE@ || @GNULIB_DUP@ || @GNULIB_DUP2@ || @GNULIB_ISATTY@ \ || @GNULIB_LSEEK@ || @GNULIB_READ@ || @GNULIB_UNLINK@ || @GNULIB_WRITE@ \ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) # include #endif /* AIX and OSF/1 5.1 declare getdomainname in , not in . NonStop Kernel declares gethostname in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if ((@GNULIB_GETDOMAINNAME@ && (defined _AIX || defined __osf__)) \ || (@GNULIB_GETHOSTNAME@ && defined __TANDEM)) \ && !defined __GLIBC__ # include #endif /* Android 4.3 declares fchownat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (@GNULIB_FCHOWNAT@ || defined GNULIB_POSIXCHECK) && defined __ANDROID__ \ && !defined __GLIBC__ # include #endif /* MSVC defines off_t in . May also define off_t to a 64-bit type on native Windows. */ /* But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ /* Get off_t, ssize_t. */ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Get getopt(), optarg, optind, opterr, optopt. */ #if @GNULIB_UNISTD_H_GETOPT@ && !defined _GL_SYSTEM_GETOPT # include # include #endif #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_UNISTD_INLINE # define _GL_UNISTD_INLINE _GL_INLINE #endif /* Hide some function declarations from . */ #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h # undef recv # define recv recv_used_without_including_sys_socket_h # undef send # define send send_used_without_including_sys_socket_h # undef recvfrom # define recvfrom recvfrom_used_without_including_sys_socket_h # undef sendto # define sendto sendto_used_without_including_sys_socket_h # undef setsockopt # define setsockopt setsockopt_used_without_including_sys_socket_h # undef shutdown # define shutdown shutdown_used_without_including_sys_socket_h # else _GL_WARN_ON_USE (socket, "socket() used without including "); _GL_WARN_ON_USE (connect, "connect() used without including "); _GL_WARN_ON_USE (accept, "accept() used without including "); _GL_WARN_ON_USE (bind, "bind() used without including "); _GL_WARN_ON_USE (getpeername, "getpeername() used without including "); _GL_WARN_ON_USE (getsockname, "getsockname() used without including "); _GL_WARN_ON_USE (getsockopt, "getsockopt() used without including "); _GL_WARN_ON_USE (listen, "listen() used without including "); _GL_WARN_ON_USE (recv, "recv() used without including "); _GL_WARN_ON_USE (send, "send() used without including "); _GL_WARN_ON_USE (recvfrom, "recvfrom() used without including "); _GL_WARN_ON_USE (sendto, "sendto() used without including "); _GL_WARN_ON_USE (setsockopt, "setsockopt() used without including "); _GL_WARN_ON_USE (shutdown, "shutdown() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif /* OS/2 EMX lacks these macros. */ #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif #ifndef STDOUT_FILENO # define STDOUT_FILENO 1 #endif #ifndef STDERR_FILENO # define STDERR_FILENO 2 #endif /* Ensure *_OK macros exist. */ #ifndef F_OK # define F_OK 0 # define X_OK 1 # define W_OK 2 # define R_OK 4 #endif /* Declare overridden functions. */ #if defined GNULIB_POSIXCHECK /* The access() function is a security risk. */ _GL_WARN_ON_USE (access, "the access function is a security risk - " "use the gnulib module faccessat instead"); #endif #if @GNULIB_CHDIR@ _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1))); _GL_CXXALIASWARN (chdir); #elif defined GNULIB_POSIXCHECK # undef chdir # if HAVE_RAW_DECL_CHDIR _GL_WARN_ON_USE (chown, "chdir is not always in - " "use gnulib module chdir for portability"); # endif #endif #if @GNULIB_CHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Follow symbolic links. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_DUP2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup2 rpl_dup2 # endif _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); # else # if !@HAVE_DUP2@ _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd)); # endif _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); # endif _GL_CXXALIASWARN (dup2); #elif defined GNULIB_POSIXCHECK # undef dup2 # if HAVE_RAW_DECL_DUP2 _GL_WARN_ON_USE (dup2, "dup2 is unportable - " "use gnulib module dup2 for portability"); # endif #endif #if @GNULIB_DUP3@ /* Copy the file descriptor OLDFD into file descriptor NEWFD, with the specified flags. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). Close NEWFD first if it is open. Return newfd if successful, otherwise -1 and errno set. See the Linux man page at . */ # if @HAVE_DUP3@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup3 rpl_dup3 # endif _GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags)); _GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags)); # else _GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags)); _GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags)); # endif _GL_CXXALIASWARN (dup3); #elif defined GNULIB_POSIXCHECK # undef dup3 # if HAVE_RAW_DECL_DUP3 _GL_WARN_ON_USE (dup3, "dup3 is unportable - " "use gnulib module dup3 for portability"); # endif #endif #if @GNULIB_ENVIRON@ # if defined __CYGWIN__ && !defined __i386__ /* The 'environ' variable is defined in a DLL. Therefore its declaration needs the '__declspec(dllimport)' attribute, but the system's lacks it. This leads to a link error on 64-bit Cygwin when the option -Wl,--disable-auto-import is in use. */ _GL_EXTERN_C __declspec(dllimport) char **environ; # endif # if !@HAVE_DECL_ENVIRON@ /* Set of environment variables and values. An array of strings of the form "VARIABLE=VALUE", terminated with a NULL. */ # if defined __APPLE__ && defined __MACH__ # include # if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR # define _GL_USE_CRT_EXTERNS # endif # endif # ifdef _GL_USE_CRT_EXTERNS # include # define environ (*_NSGetEnviron ()) # else # ifdef __cplusplus extern "C" { # endif extern char **environ; # ifdef __cplusplus } # endif # endif # endif #elif defined GNULIB_POSIXCHECK # if HAVE_RAW_DECL_ENVIRON _GL_UNISTD_INLINE char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is unportable - " "use gnulib module environ for portability") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) # endif #endif #if @GNULIB_EUIDACCESS@ /* Like access(), except that it uses the effective user id and group id of the current process. */ # if !@HAVE_EUIDACCESS@ _GL_FUNCDECL_SYS (euidaccess, int, (const char *filename, int mode) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (euidaccess, int, (const char *filename, int mode)); _GL_CXXALIASWARN (euidaccess); # if defined GNULIB_POSIXCHECK /* Like access(), this function is a security risk. */ _GL_WARN_ON_USE (euidaccess, "the euidaccess function is a security risk - " "use the gnulib module faccessat instead"); # endif #elif defined GNULIB_POSIXCHECK # undef euidaccess # if HAVE_RAW_DECL_EUIDACCESS _GL_WARN_ON_USE (euidaccess, "euidaccess is unportable - " "use gnulib module euidaccess for portability"); # endif #endif #if @GNULIB_FACCESSAT@ # if @REPLACE_FACCESSAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef faccessat # define faccessat rpl_faccessat # endif _GL_FUNCDECL_RPL (faccessat, int, (int fd, char const *name, int mode, int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (faccessat, int, (int fd, char const *name, int mode, int flag)); # else # if !@HAVE_FACCESSAT@ _GL_FUNCDECL_SYS (faccessat, int, (int fd, char const *file, int mode, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (faccessat, int, (int fd, char const *file, int mode, int flag)); # endif _GL_CXXALIASWARN (faccessat); #elif defined GNULIB_POSIXCHECK # undef faccessat # if HAVE_RAW_DECL_FACCESSAT _GL_WARN_ON_USE (faccessat, "faccessat is not portable - " "use gnulib module faccessat for portability"); # endif #endif #if @GNULIB_FCHDIR@ /* Change the process' current working directory to the directory on which the given file descriptor is open. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if ! @HAVE_FCHDIR@ _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); /* Gnulib internal hooks needed to maintain the fchdir metadata. */ _GL_EXTERN_C int _gl_register_fd (int fd, const char *filename) _GL_ARG_NONNULL ((2)); _GL_EXTERN_C void _gl_unregister_fd (int fd); _GL_EXTERN_C int _gl_register_dup (int oldfd, int newfd); _GL_EXTERN_C const char *_gl_directory_name (int fd); # else # if !@HAVE_DECL_FCHDIR@ _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); # endif # endif _GL_CXXALIAS_SYS (fchdir, int, (int /*fd*/)); _GL_CXXALIASWARN (fchdir); #elif defined GNULIB_POSIXCHECK # undef fchdir # if HAVE_RAW_DECL_FCHDIR _GL_WARN_ON_USE (fchdir, "fchdir is unportable - " "use gnulib module fchdir for portability"); # endif #endif #if @GNULIB_FCHOWNAT@ # if @REPLACE_FCHOWNAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fchownat # define fchownat rpl_fchownat # endif _GL_FUNCDECL_RPL (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag)); # else # if !@HAVE_FCHOWNAT@ _GL_FUNCDECL_SYS (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag)); # endif _GL_CXXALIASWARN (fchownat); #elif defined GNULIB_POSIXCHECK # undef fchownat # if HAVE_RAW_DECL_FCHOWNAT _GL_WARN_ON_USE (fchownat, "fchownat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FDATASYNC@ /* Synchronize changes to a file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if !@HAVE_FDATASYNC@ || !@HAVE_DECL_FDATASYNC@ _GL_FUNCDECL_SYS (fdatasync, int, (int fd)); # endif _GL_CXXALIAS_SYS (fdatasync, int, (int fd)); _GL_CXXALIASWARN (fdatasync); #elif defined GNULIB_POSIXCHECK # undef fdatasync # if HAVE_RAW_DECL_FDATASYNC _GL_WARN_ON_USE (fdatasync, "fdatasync is unportable - " "use gnulib module fdatasync for portability"); # endif #endif #if @GNULIB_FSYNC@ /* Synchronize changes, including metadata, to a file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if !@HAVE_FSYNC@ _GL_FUNCDECL_SYS (fsync, int, (int fd)); # endif _GL_CXXALIAS_SYS (fsync, int, (int fd)); _GL_CXXALIASWARN (fsync); #elif defined GNULIB_POSIXCHECK # undef fsync # if HAVE_RAW_DECL_FSYNC _GL_WARN_ON_USE (fsync, "fsync is unportable - " "use gnulib module fsync for portability"); # endif #endif #if @GNULIB_FTRUNCATE@ /* Change the size of the file to which FD is opened to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_FTRUNCATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftruncate # define ftruncate rpl_ftruncate # endif _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length)); _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length)); # else # if !@HAVE_FTRUNCATE@ _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length)); # endif _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length)); # endif _GL_CXXALIASWARN (ftruncate); #elif defined GNULIB_POSIXCHECK # undef ftruncate # if HAVE_RAW_DECL_FTRUNCATE _GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - " "use gnulib module ftruncate for portability"); # endif #endif #if @GNULIB_GETCWD@ /* Get the name of the current working directory, and put it in SIZE bytes of BUF. Return BUF if successful, or NULL if the directory couldn't be determined or SIZE was too small. See the POSIX:2008 specification . Additionally, the gnulib module 'getcwd' guarantees the following GNU extension: If BUF is NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as necessary. */ # if @REPLACE_GETCWD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getcwd rpl_getcwd # endif _GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size)); _GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size)); # else /* Need to cast, because on mingw, the second parameter is int size. */ _GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); # endif _GL_CXXALIASWARN (getcwd); #elif defined GNULIB_POSIXCHECK # undef getcwd # if HAVE_RAW_DECL_GETCWD _GL_WARN_ON_USE (getcwd, "getcwd is unportable - " "use gnulib module getcwd for portability"); # endif #endif #if @GNULIB_GETDOMAINNAME@ /* Return the NIS domain name of the machine. WARNING! The NIS domain name is unrelated to the fully qualified host name of the machine. It is also unrelated to email addresses. WARNING! The NIS domain name is usually the empty string or "(none)" when not using NIS. Put up to LEN bytes of the NIS domain name into NAME. Null terminate it if the name is shorter than LEN. If the NIS domain name is longer than LEN, set errno = EINVAL and return -1. Return 0 if successful, otherwise set errno and return -1. */ # if @REPLACE_GETDOMAINNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdomainname # define getdomainname rpl_getdomainname # endif _GL_FUNCDECL_RPL (getdomainname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getdomainname, int, (char *name, size_t len)); # else # if !@HAVE_DECL_GETDOMAINNAME@ _GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getdomainname, int, (char *name, size_t len)); # endif _GL_CXXALIASWARN (getdomainname); #elif defined GNULIB_POSIXCHECK # undef getdomainname # if HAVE_RAW_DECL_GETDOMAINNAME _GL_WARN_ON_USE (getdomainname, "getdomainname is unportable - " "use gnulib module getdomainname for portability"); # endif #endif #if @GNULIB_GETDTABLESIZE@ /* Return the maximum number of file descriptors in the current process. In POSIX, this is same as sysconf (_SC_OPEN_MAX). */ # if @REPLACE_GETDTABLESIZE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdtablesize # define getdtablesize rpl_getdtablesize # endif _GL_FUNCDECL_RPL (getdtablesize, int, (void)); _GL_CXXALIAS_RPL (getdtablesize, int, (void)); # else # if !@HAVE_GETDTABLESIZE@ _GL_FUNCDECL_SYS (getdtablesize, int, (void)); # endif _GL_CXXALIAS_SYS (getdtablesize, int, (void)); # endif _GL_CXXALIASWARN (getdtablesize); #elif defined GNULIB_POSIXCHECK # undef getdtablesize # if HAVE_RAW_DECL_GETDTABLESIZE _GL_WARN_ON_USE (getdtablesize, "getdtablesize is unportable - " "use gnulib module getdtablesize for portability"); # endif #endif #if @GNULIB_GETGROUPS@ /* Return the supplemental groups that the current process belongs to. It is unspecified whether the effective group id is in the list. If N is 0, return the group count; otherwise, N describes how many entries are available in GROUPS. Return -1 and set errno if N is not 0 and not large enough. Fails with ENOSYS on some systems. */ # if @REPLACE_GETGROUPS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getgroups # define getgroups rpl_getgroups # endif _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); # else # if !@HAVE_GETGROUPS@ _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); # endif _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); # endif _GL_CXXALIASWARN (getgroups); #elif defined GNULIB_POSIXCHECK # undef getgroups # if HAVE_RAW_DECL_GETGROUPS _GL_WARN_ON_USE (getgroups, "getgroups is unportable - " "use gnulib module getgroups for portability"); # endif #endif #if @GNULIB_GETHOSTNAME@ /* Return the standard host name of the machine. WARNING! The host name may or may not be fully qualified. Put up to LEN bytes of the host name into NAME. Null terminate it if the name is shorter than LEN. If the host name is longer than LEN, set errno = EINVAL and return -1. Return 0 if successful, otherwise set errno and return -1. */ # if @UNISTD_H_HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname rpl_gethostname # endif _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); # else # if !@HAVE_GETHOSTNAME@ _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 10 and OSF/1 5.1 systems, the second parameter is int len. */ _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); # endif _GL_CXXALIASWARN (gethostname); #elif @UNISTD_H_HAVE_WINSOCK2_H@ # undef gethostname # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname #elif defined GNULIB_POSIXCHECK # undef gethostname # if HAVE_RAW_DECL_GETHOSTNAME _GL_WARN_ON_USE (gethostname, "gethostname is unportable - " "use gnulib module gethostname for portability"); # endif #endif #if @GNULIB_GETLOGIN@ /* Returns the user's login name, or NULL if it cannot be found. Upon error, returns NULL with errno set. See . Most programs don't need to use this function, because the information is available through environment variables: ${LOGNAME-$USER} on Unix platforms, $USERNAME on native Windows platforms. */ # if !@HAVE_DECL_GETLOGIN@ _GL_FUNCDECL_SYS (getlogin, char *, (void)); # endif _GL_CXXALIAS_SYS (getlogin, char *, (void)); _GL_CXXALIASWARN (getlogin); #elif defined GNULIB_POSIXCHECK # undef getlogin # if HAVE_RAW_DECL_GETLOGIN _GL_WARN_ON_USE (getlogin, "getlogin is unportable - " "use gnulib module getlogin for portability"); # endif #endif #if @GNULIB_GETLOGIN_R@ /* Copies the user's login name to NAME. The array pointed to by NAME has room for SIZE bytes. Returns 0 if successful. Upon error, an error number is returned, or -1 in the case that the login name cannot be found but no specific error is provided (this case is hopefully rare but is left open by the POSIX spec). See . Most programs don't need to use this function, because the information is available through environment variables: ${LOGNAME-$USER} on Unix platforms, $USERNAME on native Windows platforms. */ # if @REPLACE_GETLOGIN_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getlogin_r rpl_getlogin_r # endif _GL_FUNCDECL_RPL (getlogin_r, int, (char *name, size_t size) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getlogin_r, int, (char *name, size_t size)); # else # if !@HAVE_DECL_GETLOGIN_R@ _GL_FUNCDECL_SYS (getlogin_r, int, (char *name, size_t size) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 10 systems, the second argument is int size. */ _GL_CXXALIAS_SYS_CAST (getlogin_r, int, (char *name, size_t size)); # endif _GL_CXXALIASWARN (getlogin_r); #elif defined GNULIB_POSIXCHECK # undef getlogin_r # if HAVE_RAW_DECL_GETLOGIN_R _GL_WARN_ON_USE (getlogin_r, "getlogin_r is unportable - " "use gnulib module getlogin_r for portability"); # endif #endif #if @GNULIB_GETPAGESIZE@ # if @REPLACE_GETPAGESIZE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getpagesize rpl_getpagesize # endif _GL_FUNCDECL_RPL (getpagesize, int, (void)); _GL_CXXALIAS_RPL (getpagesize, int, (void)); # else # if !@HAVE_GETPAGESIZE@ # if !defined getpagesize /* This is for POSIX systems. */ # if !defined _gl_getpagesize && defined _SC_PAGESIZE # if ! (defined __VMS && __VMS_VER < 70000000) # define _gl_getpagesize() sysconf (_SC_PAGESIZE) # endif # endif /* This is for older VMS. */ # if !defined _gl_getpagesize && defined __VMS # ifdef __ALPHA # define _gl_getpagesize() 8192 # else # define _gl_getpagesize() 512 # endif # endif /* This is for BeOS. */ # if !defined _gl_getpagesize && @HAVE_OS_H@ # include # if defined B_PAGE_SIZE # define _gl_getpagesize() B_PAGE_SIZE # endif # endif /* This is for AmigaOS4.0. */ # if !defined _gl_getpagesize && defined __amigaos4__ # define _gl_getpagesize() 2048 # endif /* This is for older Unix systems. */ # if !defined _gl_getpagesize && @HAVE_SYS_PARAM_H@ # include # ifdef EXEC_PAGESIZE # define _gl_getpagesize() EXEC_PAGESIZE # else # ifdef NBPG # ifndef CLSIZE # define CLSIZE 1 # endif # define _gl_getpagesize() (NBPG * CLSIZE) # else # ifdef NBPC # define _gl_getpagesize() NBPC # endif # endif # endif # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getpagesize() _gl_getpagesize () # else # if !GNULIB_defined_getpagesize_function _GL_UNISTD_INLINE int getpagesize () { return _gl_getpagesize (); } # define GNULIB_defined_getpagesize_function 1 # endif # endif # endif # endif /* Need to cast, because on Cygwin 1.5.x systems, the return type is size_t. */ _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); # endif # if @HAVE_DECL_GETPAGESIZE@ _GL_CXXALIASWARN (getpagesize); # endif #elif defined GNULIB_POSIXCHECK # undef getpagesize # if HAVE_RAW_DECL_GETPAGESIZE _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - " "use gnulib module getpagesize for portability"); # endif #endif #if @GNULIB_GETPASS@ /* Function getpass() from module 'getpass': Read a password from /dev/tty or stdin. Function getpass() from module 'getpass-gnu': Read a password of arbitrary length from /dev/tty or stdin. */ # if @REPLACE_GETPASS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpass # define getpass rpl_getpass # endif _GL_FUNCDECL_RPL (getpass, char *, (const char *prompt) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getpass, char *, (const char *prompt)); # else # if !@HAVE_GETPASS@ _GL_FUNCDECL_SYS (getpass, char *, (const char *prompt) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getpass, char *, (const char *prompt)); # endif _GL_CXXALIASWARN (getpass); #elif defined GNULIB_POSIXCHECK # undef getpass # if HAVE_RAW_DECL_GETPASS _GL_WARN_ON_USE (getpass, "getpass is unportable - " "use gnulib module getpass or getpass-gnu for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Return the next valid login shell on the system, or NULL when the end of the list has been reached. */ # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (getusershell, char *, (void)); # endif _GL_CXXALIAS_SYS (getusershell, char *, (void)); _GL_CXXALIASWARN (getusershell); #elif defined GNULIB_POSIXCHECK # undef getusershell # if HAVE_RAW_DECL_GETUSERSHELL _GL_WARN_ON_USE (getusershell, "getusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Rewind to pointer that is advanced at each getusershell() call. */ # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (setusershell, void, (void)); # endif _GL_CXXALIAS_SYS (setusershell, void, (void)); _GL_CXXALIASWARN (setusershell); #elif defined GNULIB_POSIXCHECK # undef setusershell # if HAVE_RAW_DECL_SETUSERSHELL _GL_WARN_ON_USE (setusershell, "setusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Free the pointer that is advanced at each getusershell() call and associated resources. */ # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (endusershell, void, (void)); # endif _GL_CXXALIAS_SYS (endusershell, void, (void)); _GL_CXXALIASWARN (endusershell); #elif defined GNULIB_POSIXCHECK # undef endusershell # if HAVE_RAW_DECL_ENDUSERSHELL _GL_WARN_ON_USE (endusershell, "endusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GROUP_MEMBER@ /* Determine whether group id is in calling user's group list. */ # if !@HAVE_GROUP_MEMBER@ _GL_FUNCDECL_SYS (group_member, int, (gid_t gid)); # endif _GL_CXXALIAS_SYS (group_member, int, (gid_t gid)); _GL_CXXALIASWARN (group_member); #elif defined GNULIB_POSIXCHECK # undef group_member # if HAVE_RAW_DECL_GROUP_MEMBER _GL_WARN_ON_USE (group_member, "group_member is unportable - " "use gnulib module group-member for portability"); # endif #endif #if @GNULIB_ISATTY@ # if @REPLACE_ISATTY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef isatty # define isatty rpl_isatty # endif _GL_FUNCDECL_RPL (isatty, int, (int fd)); _GL_CXXALIAS_RPL (isatty, int, (int fd)); # else _GL_CXXALIAS_SYS (isatty, int, (int fd)); # endif _GL_CXXALIASWARN (isatty); #elif defined GNULIB_POSIXCHECK # undef isatty # if HAVE_RAW_DECL_ISATTY _GL_WARN_ON_USE (isatty, "isatty has portability problems on native Windows - " "use gnulib module isatty for portability"); # endif #endif #if @GNULIB_LCHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Do not follow symbolic links. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_LCHOWN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lchown # define lchown rpl_lchown # endif _GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)); # else # if !@HAVE_LCHOWN@ _GL_FUNCDECL_SYS (lchown, int, (char const *file, uid_t owner, gid_t group) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (lchown, int, (char const *file, uid_t owner, gid_t group)); # endif _GL_CXXALIASWARN (lchown); #elif defined GNULIB_POSIXCHECK # undef lchown # if HAVE_RAW_DECL_LCHOWN _GL_WARN_ON_USE (lchown, "lchown is unportable to pre-POSIX.1-2001 systems - " "use gnulib module lchown for portability"); # endif #endif #if @GNULIB_LINK@ /* Create a new hard link for an existing file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if @REPLACE_LINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define link rpl_link # endif _GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2)); # else # if !@HAVE_LINK@ _GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2)); # endif _GL_CXXALIASWARN (link); #elif defined GNULIB_POSIXCHECK # undef link # if HAVE_RAW_DECL_LINK _GL_WARN_ON_USE (link, "link is unportable - " "use gnulib module link for portability"); # endif #endif #if @GNULIB_LINKAT@ /* Create a new hard link for an existing file, relative to two directories. FLAG controls whether symlinks are followed. Return 0 if successful, otherwise -1 and errno set. */ # if @REPLACE_LINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef linkat # define linkat rpl_linkat # endif _GL_FUNCDECL_RPL (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag) _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag)); # else # if !@HAVE_LINKAT@ _GL_FUNCDECL_SYS (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag) _GL_ARG_NONNULL ((2, 4))); # endif _GL_CXXALIAS_SYS (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag)); # endif _GL_CXXALIASWARN (linkat); #elif defined GNULIB_POSIXCHECK # undef linkat # if HAVE_RAW_DECL_LINKAT _GL_WARN_ON_USE (linkat, "linkat is unportable - " "use gnulib module linkat for portability"); # endif #endif #if @GNULIB_LSEEK@ /* Set the offset of FD relative to SEEK_SET, SEEK_CUR, or SEEK_END. Return the new offset if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_LSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lseek rpl_lseek # endif _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence)); _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence)); # else _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence)); # endif _GL_CXXALIASWARN (lseek); #elif defined GNULIB_POSIXCHECK # undef lseek # if HAVE_RAW_DECL_LSEEK _GL_WARN_ON_USE (lseek, "lseek does not fail with ESPIPE on pipes on some " "systems - use gnulib module lseek for portability"); # endif #endif #if @GNULIB_PIPE@ /* Create a pipe, defaulting to O_BINARY mode. Store the read-end as fd[0] and the write-end as fd[1]. Return 0 upon success, or -1 with errno set upon failure. */ # if !@HAVE_PIPE@ _GL_FUNCDECL_SYS (pipe, int, (int fd[2]) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pipe, int, (int fd[2])); _GL_CXXALIASWARN (pipe); #elif defined GNULIB_POSIXCHECK # undef pipe # if HAVE_RAW_DECL_PIPE _GL_WARN_ON_USE (pipe, "pipe is unportable - " "use gnulib module pipe-posix for portability"); # endif #endif #if @GNULIB_PIPE2@ /* Create a pipe, applying the given flags when opening the read-end of the pipe and the write-end of the pipe. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). Store the read-end as fd[0] and the write-end as fd[1]. Return 0 upon success, or -1 with errno set upon failure. See also the Linux man page at . */ # if @HAVE_PIPE2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define pipe2 rpl_pipe2 # endif _GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags)); # else _GL_FUNCDECL_SYS (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (pipe2, int, (int fd[2], int flags)); # endif _GL_CXXALIASWARN (pipe2); #elif defined GNULIB_POSIXCHECK # undef pipe2 # if HAVE_RAW_DECL_PIPE2 _GL_WARN_ON_USE (pipe2, "pipe2 is unportable - " "use gnulib module pipe2 for portability"); # endif #endif #if @GNULIB_PREAD@ /* Read at most BUFSIZE bytes from FD into BUF, starting at OFFSET. Return the number of bytes placed into BUF if successful, otherwise set errno and return -1. 0 indicates EOF. See the POSIX:2008 specification . */ # if @REPLACE_PREAD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pread # define pread rpl_pread # endif _GL_FUNCDECL_RPL (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset)); # else # if !@HAVE_PREAD@ _GL_FUNCDECL_SYS (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset)); # endif _GL_CXXALIASWARN (pread); #elif defined GNULIB_POSIXCHECK # undef pread # if HAVE_RAW_DECL_PREAD _GL_WARN_ON_USE (pread, "pread is unportable - " "use gnulib module pread for portability"); # endif #endif #if @GNULIB_PWRITE@ /* Write at most BUFSIZE bytes from BUF into FD, starting at OFFSET. Return the number of bytes written if successful, otherwise set errno and return -1. 0 indicates nothing written. See the POSIX:2008 specification . */ # if @REPLACE_PWRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pwrite # define pwrite rpl_pwrite # endif _GL_FUNCDECL_RPL (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset)); # else # if !@HAVE_PWRITE@ _GL_FUNCDECL_SYS (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset)); # endif _GL_CXXALIASWARN (pwrite); #elif defined GNULIB_POSIXCHECK # undef pwrite # if HAVE_RAW_DECL_PWRITE _GL_WARN_ON_USE (pwrite, "pwrite is unportable - " "use gnulib module pwrite for portability"); # endif #endif #if @GNULIB_READ@ /* Read up to COUNT bytes from file descriptor FD into the buffer starting at BUF. See the POSIX:2008 specification . */ # if @REPLACE_READ@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef read # define read rpl_read # endif _GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count)); # else /* Need to cast, because on mingw, the third parameter is unsigned int count and the return type is 'int'. */ _GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count)); # endif _GL_CXXALIASWARN (read); #endif #if @GNULIB_READLINK@ /* Read the contents of the symbolic link FILE and place the first BUFSIZE bytes of it into BUF. Return the number of bytes placed into BUF if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_READLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlink rpl_readlink # endif _GL_FUNCDECL_RPL (readlink, ssize_t, (const char *file, char *buf, size_t bufsize) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (readlink, ssize_t, (const char *file, char *buf, size_t bufsize)); # else # if !@HAVE_READLINK@ _GL_FUNCDECL_SYS (readlink, ssize_t, (const char *file, char *buf, size_t bufsize) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (readlink, ssize_t, (const char *file, char *buf, size_t bufsize)); # endif _GL_CXXALIASWARN (readlink); #elif defined GNULIB_POSIXCHECK # undef readlink # if HAVE_RAW_DECL_READLINK _GL_WARN_ON_USE (readlink, "readlink is unportable - " "use gnulib module readlink for portability"); # endif #endif #if @GNULIB_READLINKAT@ # if @REPLACE_READLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlinkat rpl_readlinkat # endif _GL_FUNCDECL_RPL (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len)); # else # if !@HAVE_READLINKAT@ _GL_FUNCDECL_SYS (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len)); # endif _GL_CXXALIASWARN (readlinkat); #elif defined GNULIB_POSIXCHECK # undef readlinkat # if HAVE_RAW_DECL_READLINKAT _GL_WARN_ON_USE (readlinkat, "readlinkat is not portable - " "use gnulib module readlinkat for portability"); # endif #endif #if @GNULIB_RMDIR@ /* Remove the directory DIR. */ # if @REPLACE_RMDIR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define rmdir rpl_rmdir # endif _GL_FUNCDECL_RPL (rmdir, int, (char const *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (rmdir, int, (char const *name)); # else _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); # endif _GL_CXXALIASWARN (rmdir); #elif defined GNULIB_POSIXCHECK # undef rmdir # if HAVE_RAW_DECL_RMDIR _GL_WARN_ON_USE (rmdir, "rmdir is unportable - " "use gnulib module rmdir for portability"); # endif #endif #if @GNULIB_SETHOSTNAME@ /* Set the host name of the machine. The host name may or may not be fully qualified. Put LEN bytes of NAME into the host name. Return 0 if successful, otherwise, set errno and return -1. Platforms with no ability to set the hostname return -1 and set errno = ENOSYS. */ # if !@HAVE_SETHOSTNAME@ || !@HAVE_DECL_SETHOSTNAME@ _GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 11 2011-10, Mac OS X 10.5, IRIX 6.5 and FreeBSD 6.4 the second parameter is int. On Solaris 11 2011-10, the first parameter is not const. */ _GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len)); _GL_CXXALIASWARN (sethostname); #elif defined GNULIB_POSIXCHECK # undef sethostname # if HAVE_RAW_DECL_SETHOSTNAME _GL_WARN_ON_USE (sethostname, "sethostname is unportable - " "use gnulib module sethostname for portability"); # endif #endif #if @GNULIB_SLEEP@ /* Pause the execution of the current thread for N seconds. Returns the number of seconds left to sleep. See the POSIX:2008 specification . */ # if @REPLACE_SLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sleep # define sleep rpl_sleep # endif _GL_FUNCDECL_RPL (sleep, unsigned int, (unsigned int n)); _GL_CXXALIAS_RPL (sleep, unsigned int, (unsigned int n)); # else # if !@HAVE_SLEEP@ _GL_FUNCDECL_SYS (sleep, unsigned int, (unsigned int n)); # endif _GL_CXXALIAS_SYS (sleep, unsigned int, (unsigned int n)); # endif _GL_CXXALIASWARN (sleep); #elif defined GNULIB_POSIXCHECK # undef sleep # if HAVE_RAW_DECL_SLEEP _GL_WARN_ON_USE (sleep, "sleep is unportable - " "use gnulib module sleep for portability"); # endif #endif #if @GNULIB_SYMLINK@ # if @REPLACE_SYMLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef symlink # define symlink rpl_symlink # endif _GL_FUNCDECL_RPL (symlink, int, (char const *contents, char const *file) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (symlink, int, (char const *contents, char const *file)); # else # if !@HAVE_SYMLINK@ _GL_FUNCDECL_SYS (symlink, int, (char const *contents, char const *file) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (symlink, int, (char const *contents, char const *file)); # endif _GL_CXXALIASWARN (symlink); #elif defined GNULIB_POSIXCHECK # undef symlink # if HAVE_RAW_DECL_SYMLINK _GL_WARN_ON_USE (symlink, "symlink is not portable - " "use gnulib module symlink for portability"); # endif #endif #if @GNULIB_SYMLINKAT@ # if @REPLACE_SYMLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef symlinkat # define symlinkat rpl_symlinkat # endif _GL_FUNCDECL_RPL (symlinkat, int, (char const *contents, int fd, char const *file) _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (symlinkat, int, (char const *contents, int fd, char const *file)); # else # if !@HAVE_SYMLINKAT@ _GL_FUNCDECL_SYS (symlinkat, int, (char const *contents, int fd, char const *file) _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS (symlinkat, int, (char const *contents, int fd, char const *file)); # endif _GL_CXXALIASWARN (symlinkat); #elif defined GNULIB_POSIXCHECK # undef symlinkat # if HAVE_RAW_DECL_SYMLINKAT _GL_WARN_ON_USE (symlinkat, "symlinkat is not portable - " "use gnulib module symlinkat for portability"); # endif #endif #if @GNULIB_TRUNCATE@ /* Change the size of the file designated by FILENAME to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_TRUNCATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef truncate # define truncate rpl_truncate # endif _GL_FUNCDECL_RPL (truncate, int, (const char *filename, off_t length) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (truncate, int, (const char *filename, off_t length)); # else # if !@HAVE_DECL_TRUNCATE@ _GL_FUNCDECL_SYS (truncate, int, (const char *filename, off_t length) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (truncate, int, (const char *filename, off_t length)); # endif _GL_CXXALIASWARN (truncate); #elif defined GNULIB_POSIXCHECK # undef truncate # if HAVE_RAW_DECL_TRUNCATE _GL_WARN_ON_USE (truncate, "truncate is unportable - " "use gnulib module truncate for portability"); # endif #endif #if @GNULIB_TTYNAME_R@ /* Store at most BUFLEN characters of the pathname of the terminal FD is open on in BUF. Return 0 on success, otherwise an error number. */ # if @REPLACE_TTYNAME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ttyname_r # define ttyname_r rpl_ttyname_r # endif _GL_FUNCDECL_RPL (ttyname_r, int, (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (ttyname_r, int, (int fd, char *buf, size_t buflen)); # else # if !@HAVE_DECL_TTYNAME_R@ _GL_FUNCDECL_SYS (ttyname_r, int, (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (ttyname_r, int, (int fd, char *buf, size_t buflen)); # endif _GL_CXXALIASWARN (ttyname_r); #elif defined GNULIB_POSIXCHECK # undef ttyname_r # if HAVE_RAW_DECL_TTYNAME_R _GL_WARN_ON_USE (ttyname_r, "ttyname_r is not portable - " "use gnulib module ttyname_r for portability"); # endif #endif #if @GNULIB_UNLINK@ # if @REPLACE_UNLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlink # define unlink rpl_unlink # endif _GL_FUNCDECL_RPL (unlink, int, (char const *file) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (unlink, int, (char const *file)); # else _GL_CXXALIAS_SYS (unlink, int, (char const *file)); # endif _GL_CXXALIASWARN (unlink); #elif defined GNULIB_POSIXCHECK # undef unlink # if HAVE_RAW_DECL_UNLINK _GL_WARN_ON_USE (unlink, "unlink is not portable - " "use gnulib module unlink for portability"); # endif #endif #if @GNULIB_UNLINKAT@ # if @REPLACE_UNLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlinkat # define unlinkat rpl_unlinkat # endif _GL_FUNCDECL_RPL (unlinkat, int, (int fd, char const *file, int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (unlinkat, int, (int fd, char const *file, int flag)); # else # if !@HAVE_UNLINKAT@ _GL_FUNCDECL_SYS (unlinkat, int, (int fd, char const *file, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (unlinkat, int, (int fd, char const *file, int flag)); # endif _GL_CXXALIASWARN (unlinkat); #elif defined GNULIB_POSIXCHECK # undef unlinkat # if HAVE_RAW_DECL_UNLINKAT _GL_WARN_ON_USE (unlinkat, "unlinkat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_USLEEP@ /* Pause the execution of the current thread for N microseconds. Returns 0 on completion, or -1 on range error. See the POSIX:2001 specification . */ # if @REPLACE_USLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef usleep # define usleep rpl_usleep # endif _GL_FUNCDECL_RPL (usleep, int, (useconds_t n)); _GL_CXXALIAS_RPL (usleep, int, (useconds_t n)); # else # if !@HAVE_USLEEP@ _GL_FUNCDECL_SYS (usleep, int, (useconds_t n)); # endif _GL_CXXALIAS_SYS (usleep, int, (useconds_t n)); # endif _GL_CXXALIASWARN (usleep); #elif defined GNULIB_POSIXCHECK # undef usleep # if HAVE_RAW_DECL_USLEEP _GL_WARN_ON_USE (usleep, "usleep is unportable - " "use gnulib module usleep for portability"); # endif #endif #if @GNULIB_WRITE@ /* Write up to COUNT bytes starting at BUF to file descriptor FD. See the POSIX:2008 specification . */ # if @REPLACE_WRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef write # define write rpl_write # endif _GL_FUNCDECL_RPL (write, ssize_t, (int fd, const void *buf, size_t count) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (write, ssize_t, (int fd, const void *buf, size_t count)); # else /* Need to cast, because on mingw, the third parameter is unsigned int count and the return type is 'int'. */ _GL_CXXALIAS_SYS_CAST (write, ssize_t, (int fd, const void *buf, size_t count)); # endif _GL_CXXALIASWARN (write); #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_UNISTD_H */ #endif /* _GL_INCLUDING_UNISTD_H */ #endif /* _@GUARD_PREFIX@_UNISTD_H */ gsasl-1.8.1/gl/float.c0000644000000000000000000000250513516251574011407 00000000000000/* Auxiliary definitions for . Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. 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 3 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, see . */ #include /* Specification. */ #include #if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__ const union gl_long_double_union gl_LDBL_MAX = { { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL } }; #elif defined __i386__ const union gl_long_double_union gl_LDBL_MAX = { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } }; #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif gsasl-1.8.1/gl/signal.in.h0000644000000000000000000003464713516251576012207 00000000000000/* A GNU-like . Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_sig_atomic_t || defined __need_sigset_t || defined _GL_ALREADY_INCLUDING_SIGNAL_H || (defined _SIGNAL_H && !defined __SIZEOF_PTHREAD_MUTEX_T) /* Special invocation convention: - Inside glibc header files. - On glibc systems we have a sequence of nested includes -> -> . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. - On glibc systems with GCC 4.3 we have a sequence of nested includes -> -> -> . In this situation, some of the functions are not yet declared, therefore we cannot provide the C++ aliases. */ # @INCLUDE_NEXT@ @NEXT_SIGNAL_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SIGNAL_H #define _GL_ALREADY_INCLUDING_SIGNAL_H /* Define pid_t, uid_t. Also, mingw defines sigset_t not in , but in . On Solaris 10, includes , which eventually includes us; so include now, before the second inclusion guard. */ #include /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SIGNAL_H@ #undef _GL_ALREADY_INCLUDING_SIGNAL_H #ifndef _@GUARD_PREFIX@_SIGNAL_H #define _@GUARD_PREFIX@_SIGNAL_H /* Mac OS X 10.3, FreeBSD 6.4, OpenBSD 3.8, OSF/1 4.0, Solaris 2.6, Android declare pthread_sigmask in , not in . But avoid namespace pollution on glibc systems.*/ #if (@GNULIB_PTHREAD_SIGMASK@ || defined GNULIB_POSIXCHECK) \ && ((defined __APPLE__ && defined __MACH__) \ || defined __FreeBSD__ || defined __OpenBSD__ || defined __osf__ \ || defined __sun || defined __ANDROID__) \ && ! defined __GLIBC__ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* On AIX, sig_atomic_t already includes volatile. C99 requires that 'volatile sig_atomic_t' ignore the extra modifier, but C89 did not. Hence, redefine this to a non-volatile type as needed. */ #if ! @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ # if !GNULIB_defined_sig_atomic_t typedef int rpl_sig_atomic_t; # undef sig_atomic_t # define sig_atomic_t rpl_sig_atomic_t # define GNULIB_defined_sig_atomic_t 1 # endif #endif /* A set or mask of signals. */ #if !@HAVE_SIGSET_T@ # if !GNULIB_defined_sigset_t typedef unsigned int sigset_t; # define GNULIB_defined_sigset_t 1 # endif #endif /* Define sighandler_t, the type of signal handlers. A GNU extension. */ #if !@HAVE_SIGHANDLER_T@ # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_sighandler_t typedef void (*sighandler_t) (int); # define GNULIB_defined_sighandler_t 1 # endif # ifdef __cplusplus } # endif #endif #if @GNULIB_SIGNAL_H_SIGPIPE@ # ifndef SIGPIPE /* Define SIGPIPE to a value that does not overlap with other signals. */ # define SIGPIPE 13 # define GNULIB_defined_SIGPIPE 1 /* To actually use SIGPIPE, you also need the gnulib modules 'sigprocmask', 'write', 'stdio'. */ # endif #endif /* Maximum signal number + 1. */ #ifndef NSIG # if defined __TANDEM # define NSIG 32 # endif #endif #if @GNULIB_PTHREAD_SIGMASK@ # if @REPLACE_PTHREAD_SIGMASK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_sigmask # define pthread_sigmask rpl_pthread_sigmask # endif _GL_FUNCDECL_RPL (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); _GL_CXXALIAS_RPL (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # else # if !(@HAVE_PTHREAD_SIGMASK@ || defined pthread_sigmask) _GL_FUNCDECL_SYS (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # endif _GL_CXXALIAS_SYS (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # endif _GL_CXXALIASWARN (pthread_sigmask); #elif defined GNULIB_POSIXCHECK # undef pthread_sigmask # if HAVE_RAW_DECL_PTHREAD_SIGMASK _GL_WARN_ON_USE (pthread_sigmask, "pthread_sigmask is not portable - " "use gnulib module pthread_sigmask for portability"); # endif #endif #if @GNULIB_RAISE@ # if @REPLACE_RAISE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef raise # define raise rpl_raise # endif _GL_FUNCDECL_RPL (raise, int, (int sig)); _GL_CXXALIAS_RPL (raise, int, (int sig)); # else # if !@HAVE_RAISE@ _GL_FUNCDECL_SYS (raise, int, (int sig)); # endif _GL_CXXALIAS_SYS (raise, int, (int sig)); # endif _GL_CXXALIASWARN (raise); #elif defined GNULIB_POSIXCHECK # undef raise /* Assume raise is always declared. */ _GL_WARN_ON_USE (raise, "raise can crash on native Windows - " "use gnulib module raise for portability"); #endif #if @GNULIB_SIGPROCMASK@ # if !@HAVE_POSIX_SIGNALBLOCKING@ # ifndef GNULIB_defined_signal_blocking # define GNULIB_defined_signal_blocking 1 # endif /* Maximum signal number + 1. */ # ifndef NSIG # define NSIG 32 # endif /* This code supports only 32 signals. */ # if !GNULIB_defined_verify_NSIG_constraint typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1]; # define GNULIB_defined_verify_NSIG_constraint 1 # endif # endif /* When also using extern inline, suppress the use of static inline in standard headers of problematic Apple configurations, as Libc at least through Libc-825.26 (2013-04-09) mishandles it; see, e.g., . Perhaps Apple will fix this some day. */ #if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \ && (defined __i386__ || defined __x86_64__)) # undef sigaddset # undef sigdelset # undef sigemptyset # undef sigfillset # undef sigismember #endif /* Test whether a given signal is contained in a signal set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigismember # endif # else _GL_FUNCDECL_SYS (sigismember, int, (const sigset_t *set, int sig) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigismember, int, (const sigset_t *set, int sig)); _GL_CXXALIASWARN (sigismember); /* Initialize a signal set to the empty set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigemptyset # endif # else _GL_FUNCDECL_SYS (sigemptyset, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigemptyset, int, (sigset_t *set)); _GL_CXXALIASWARN (sigemptyset); /* Add a signal to a signal set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigaddset # endif # else _GL_FUNCDECL_SYS (sigaddset, int, (sigset_t *set, int sig) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigaddset, int, (sigset_t *set, int sig)); _GL_CXXALIASWARN (sigaddset); /* Remove a signal from a signal set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigdelset # endif # else _GL_FUNCDECL_SYS (sigdelset, int, (sigset_t *set, int sig) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigdelset, int, (sigset_t *set, int sig)); _GL_CXXALIASWARN (sigdelset); /* Fill a signal set with all possible signals. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigfillset # endif # else _GL_FUNCDECL_SYS (sigfillset, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigfillset, int, (sigset_t *set)); _GL_CXXALIASWARN (sigfillset); /* Return the set of those blocked signals that are pending. */ # if !@HAVE_POSIX_SIGNALBLOCKING@ _GL_FUNCDECL_SYS (sigpending, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigpending, int, (sigset_t *set)); _GL_CXXALIASWARN (sigpending); /* If OLD_SET is not NULL, put the current set of blocked signals in *OLD_SET. Then, if SET is not NULL, affect the current set of blocked signals by combining it with *SET as indicated in OPERATION. In this implementation, you are not allowed to change a signal handler while the signal is blocked. */ # if !@HAVE_POSIX_SIGNALBLOCKING@ # define SIG_BLOCK 0 /* blocked_set = blocked_set | *set; */ # define SIG_SETMASK 1 /* blocked_set = *set; */ # define SIG_UNBLOCK 2 /* blocked_set = blocked_set & ~*set; */ _GL_FUNCDECL_SYS (sigprocmask, int, (int operation, const sigset_t *set, sigset_t *old_set)); # endif _GL_CXXALIAS_SYS (sigprocmask, int, (int operation, const sigset_t *set, sigset_t *old_set)); _GL_CXXALIASWARN (sigprocmask); /* Install the handler FUNC for signal SIG, and return the previous handler. */ # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_function_taking_int_returning_void_t typedef void (*_gl_function_taking_int_returning_void_t) (int); # define GNULIB_defined_function_taking_int_returning_void_t 1 # endif # ifdef __cplusplus } # endif # if !@HAVE_POSIX_SIGNALBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define signal rpl_signal # endif _GL_FUNCDECL_RPL (signal, _gl_function_taking_int_returning_void_t, (int sig, _gl_function_taking_int_returning_void_t func)); _GL_CXXALIAS_RPL (signal, _gl_function_taking_int_returning_void_t, (int sig, _gl_function_taking_int_returning_void_t func)); # else _GL_CXXALIAS_SYS (signal, _gl_function_taking_int_returning_void_t, (int sig, _gl_function_taking_int_returning_void_t func)); # endif _GL_CXXALIASWARN (signal); # if !@HAVE_POSIX_SIGNALBLOCKING@ && GNULIB_defined_SIGPIPE /* Raise signal SIGPIPE. */ _GL_EXTERN_C int _gl_raise_SIGPIPE (void); # endif #elif defined GNULIB_POSIXCHECK # undef sigaddset # if HAVE_RAW_DECL_SIGADDSET _GL_WARN_ON_USE (sigaddset, "sigaddset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigdelset # if HAVE_RAW_DECL_SIGDELSET _GL_WARN_ON_USE (sigdelset, "sigdelset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigemptyset # if HAVE_RAW_DECL_SIGEMPTYSET _GL_WARN_ON_USE (sigemptyset, "sigemptyset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigfillset # if HAVE_RAW_DECL_SIGFILLSET _GL_WARN_ON_USE (sigfillset, "sigfillset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigismember # if HAVE_RAW_DECL_SIGISMEMBER _GL_WARN_ON_USE (sigismember, "sigismember is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigpending # if HAVE_RAW_DECL_SIGPENDING _GL_WARN_ON_USE (sigpending, "sigpending is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigprocmask # if HAVE_RAW_DECL_SIGPROCMASK _GL_WARN_ON_USE (sigprocmask, "sigprocmask is unportable - " "use the gnulib module sigprocmask for portability"); # endif #endif /* @GNULIB_SIGPROCMASK@ */ #if @GNULIB_SIGACTION@ # if !@HAVE_SIGACTION@ # if !@HAVE_SIGINFO_T@ # if !GNULIB_defined_siginfo_types /* Present to allow compilation, but unsupported by gnulib. */ union sigval { int sival_int; void *sival_ptr; }; /* Present to allow compilation, but unsupported by gnulib. */ struct siginfo_t { int si_signo; int si_code; int si_errno; pid_t si_pid; uid_t si_uid; void *si_addr; int si_status; long si_band; union sigval si_value; }; typedef struct siginfo_t siginfo_t; # define GNULIB_defined_siginfo_types 1 # endif # endif /* !@HAVE_SIGINFO_T@ */ /* We assume that platforms which lack the sigaction() function also lack the 'struct sigaction' type, and vice versa. */ # if !GNULIB_defined_struct_sigaction struct sigaction { union { void (*_sa_handler) (int); /* Present to allow compilation, but unsupported by gnulib. POSIX says that implementations may, but not must, make sa_sigaction overlap with sa_handler, but we know of no implementation where they do not overlap. */ void (*_sa_sigaction) (int, siginfo_t *, void *); } _sa_func; sigset_t sa_mask; /* Not all POSIX flags are supported. */ int sa_flags; }; # define sa_handler _sa_func._sa_handler # define sa_sigaction _sa_func._sa_sigaction /* Unsupported flags are not present. */ # define SA_RESETHAND 1 # define SA_NODEFER 2 # define SA_RESTART 4 # define GNULIB_defined_struct_sigaction 1 # endif _GL_FUNCDECL_SYS (sigaction, int, (int, const struct sigaction *restrict, struct sigaction *restrict)); # elif !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ # define sa_sigaction sa_handler # endif /* !@HAVE_SIGACTION@, !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ */ _GL_CXXALIAS_SYS (sigaction, int, (int, const struct sigaction *restrict, struct sigaction *restrict)); _GL_CXXALIASWARN (sigaction); #elif defined GNULIB_POSIXCHECK # undef sigaction # if HAVE_RAW_DECL_SIGACTION _GL_WARN_ON_USE (sigaction, "sigaction is unportable - " "use the gnulib module sigaction for portability"); # endif #endif /* Some systems don't have SA_NODEFER. */ #ifndef SA_NODEFER # define SA_NODEFER 0 #endif #endif /* _@GUARD_PREFIX@_SIGNAL_H */ #endif /* _@GUARD_PREFIX@_SIGNAL_H */ #endif gsasl-1.8.1/gl/c-strcase.h0000644000000000000000000000401513516251574012171 00000000000000/* Case-insensitive string comparison functions in C locale. Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef C_STRCASE_H #define C_STRCASE_H #include /* The functions defined in this file assume the "C" locale and a character set without diacritics (ASCII-US or EBCDIC-US or something like that). Even if the "C" locale on a particular system is an extension of the ASCII character set (like on BeOS, where it is UTF-8, or on AmigaOS, where it is ISO-8859-1), the functions in this file recognize only the ASCII characters. More precisely, one of the string arguments must be an ASCII string; the other one can also contain non-ASCII characters (but then the comparison result will be nonzero). */ #ifdef __cplusplus extern "C" { #endif /* Compare strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ extern int c_strcasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE; /* Compare no more than N characters of strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ extern int c_strncasecmp (const char *s1, const char *s2, size_t n) _GL_ATTRIBUTE_PURE; #ifdef __cplusplus } #endif #endif /* C_STRCASE_H */ gsasl-1.8.1/gl/_Noreturn.h0000644000000000000000000000267313516251573012267 00000000000000/* A C macro for declaring that a function does not return. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER))) # define _Noreturn [[noreturn]] # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) /* _Noreturn works as-is. */ # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif gsasl-1.8.1/gl/windows-initguard.h0000644000000000000000000000225513516251573013766 00000000000000/* Init guards, somewhat like spinlocks (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_INITGUARD_H #define _WINDOWS_INITGUARD_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef struct { volatile int done; volatile LONG started; } glwthread_initguard_t; #define GLWTHREAD_INITGUARD_INIT { 0, -1 } #endif /* _WINDOWS_INITGUARD_H */ gsasl-1.8.1/gl/progname.c0000644000000000000000000000615113516251576012115 00000000000000/* Program name management. Copyright (C) 2001-2003, 2005-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 3 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, see . */ #include /* Specification. */ #undef ENABLE_RELOCATABLE /* avoid defining set_program_name as a macro */ #include "progname.h" #include /* get program_invocation_name declaration */ #include #include #include /* String containing name the program is called with. To be initialized by main(). */ const char *program_name = NULL; /* Set program_name, based on argv[0]. argv0 must be a string allocated with indefinite extent, and must not be modified after this call. */ void set_program_name (const char *argv0) { /* libtool creates a temporary executable whose name is sometimes prefixed with "lt-" (depends on the platform). It also makes argv[0] absolute. But the name of the temporary executable is a detail that should not be visible to the end user and to the test suite. Remove this "/.libs/" or "/.libs/lt-" prefix here. */ const char *slash; const char *base; /* Sanity check. POSIX requires the invoking process to pass a non-NULL argv[0]. */ if (argv0 == NULL) { /* It's a bug in the invoking program. Help diagnosing it. */ fputs ("A NULL argv[0] was passed through an exec system call.\n", stderr); abort (); } slash = strrchr (argv0, '/'); base = (slash != NULL ? slash + 1 : argv0); if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0) { argv0 = base; if (strncmp (base, "lt-", 3) == 0) { argv0 = base + 3; /* On glibc systems, remove the "lt-" prefix from the variable program_invocation_short_name. */ #if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME program_invocation_short_name = (char *) argv0; #endif } } /* But don't strip off a leading / in general, because when the user runs /some/hidden/place/bin/cp foo foo he should get the error message /some/hidden/place/bin/cp: `foo' and `foo' are the same file not cp: `foo' and `foo' are the same file */ program_name = argv0; /* On glibc systems, the error() function comes from libc and uses the variable program_invocation_name, not program_name. So set this variable as well. */ #if HAVE_DECL_PROGRAM_INVOCATION_NAME program_invocation_name = (char *) argv0; #endif } gsasl-1.8.1/gl/windows-once.h0000644000000000000000000000254113516251573012722 00000000000000/* Once-only control (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_ONCE_H #define _WINDOWS_ONCE_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef struct { volatile int inited; volatile LONG started; CRITICAL_SECTION lock; } glwthread_once_t; #define GLWTHREAD_ONCE_INIT { -1, -1 } #ifdef __cplusplus extern "C" { #endif extern void glwthread_once (glwthread_once_t *once_control, void (*initfunction) (void)); #ifdef __cplusplus } #endif #endif /* _WINDOWS_ONCE_H */ gsasl-1.8.1/gl/fseek.c0000644000000000000000000000203613516251574011376 00000000000000/* An fseek() function that, together with fflush(), is POSIX compliant. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include /* Get off_t. */ #include int fseek (FILE *fp, long offset, int whence) { /* Use the replacement fseeko function with all its workarounds. */ return fseeko (fp, (off_t)offset, whence); } gsasl-1.8.1/gl/getaddrinfo.c0000644000000000000000000002440013516251574012566 00000000000000/* Get address information (partial implementation). Copyright (C) 1997, 2001-2002, 2004-2019 Free Software Foundation, Inc. Contributed by Simon Josefsson . 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 3, 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, see . */ /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the sa == NULL test below. */ #define _GL_ARG_NONNULL(params) #include #include #if HAVE_NETINET_IN_H # include #endif /* Get inet_ntop. */ #include /* Get calloc. */ #include /* Get memcpy, strdup. */ #include /* Get snprintf. */ #include #include #include "gettext.h" #define _(String) gettext (String) #define N_(String) String /* BeOS has AF_INET, but not PF_INET. */ #ifndef PF_INET # define PF_INET AF_INET #endif /* BeOS also lacks PF_UNSPEC. */ #ifndef PF_UNSPEC # define PF_UNSPEC 0 #endif #if defined _WIN32 && !defined __CYGWIN__ # define WINDOWS_NATIVE #endif /* gl_sockets_startup */ #include "sockets.h" #ifdef WINDOWS_NATIVE /* Avoid warnings from gcc -Wcast-function-type. */ # define GetProcAddress \ (void *) GetProcAddress typedef int (WSAAPI *getaddrinfo_func) (const char*, const char*, const struct addrinfo*, struct addrinfo**); typedef void (WSAAPI *freeaddrinfo_func) (struct addrinfo*); typedef int (WSAAPI *getnameinfo_func) (const struct sockaddr*, socklen_t, char*, DWORD, char*, DWORD, int); static getaddrinfo_func getaddrinfo_ptr = NULL; static freeaddrinfo_func freeaddrinfo_ptr = NULL; static getnameinfo_func getnameinfo_ptr = NULL; static int use_win32_p (void) { static int done = 0; HMODULE h; if (done) return getaddrinfo_ptr ? 1 : 0; done = 1; h = GetModuleHandle ("ws2_32.dll"); if (h) { getaddrinfo_ptr = (getaddrinfo_func) GetProcAddress (h, "getaddrinfo"); freeaddrinfo_ptr = (freeaddrinfo_func) GetProcAddress (h, "freeaddrinfo"); getnameinfo_ptr = (getnameinfo_func) GetProcAddress (h, "getnameinfo"); } /* If either is missing, something is odd. */ if (!getaddrinfo_ptr || !freeaddrinfo_ptr || !getnameinfo_ptr) { getaddrinfo_ptr = NULL; freeaddrinfo_ptr = NULL; getnameinfo_ptr = NULL; return 0; } gl_sockets_startup (SOCKETS_1_1); return 1; } #endif static bool validate_family (int family) { /* FIXME: Support more families. */ #if HAVE_IPV4 if (family == PF_INET) return true; #endif #if HAVE_IPV6 if (family == PF_INET6) return true; #endif if (family == PF_UNSPEC) return true; return false; } /* Translate name of a service location and/or a service name to set of socket addresses. */ int getaddrinfo (const char *restrict nodename, const char *restrict servname, const struct addrinfo *restrict hints, struct addrinfo **restrict res) { struct addrinfo *tmp; int port = 0; struct hostent *he; void *storage; size_t size; #if HAVE_IPV6 struct v6_pair { struct addrinfo addrinfo; struct sockaddr_in6 sockaddr_in6; }; #endif #if HAVE_IPV4 struct v4_pair { struct addrinfo addrinfo; struct sockaddr_in sockaddr_in; }; #endif #ifdef WINDOWS_NATIVE if (use_win32_p ()) return getaddrinfo_ptr (nodename, servname, hints, res); #endif if (hints && (hints->ai_flags & ~(AI_CANONNAME|AI_PASSIVE))) /* FIXME: Support more flags. */ return EAI_BADFLAGS; if (hints && !validate_family (hints->ai_family)) return EAI_FAMILY; if (hints && hints->ai_socktype != SOCK_STREAM && hints->ai_socktype != SOCK_DGRAM) /* FIXME: Support other socktype. */ return EAI_SOCKTYPE; /* FIXME: Better return code? */ if (!nodename) { if (!(hints->ai_flags & AI_PASSIVE)) return EAI_NONAME; #ifdef HAVE_IPV6 nodename = (hints->ai_family == AF_INET6) ? "::" : "0.0.0.0"; #else nodename = "0.0.0.0"; #endif } if (servname) { struct servent *se = NULL; const char *proto = (hints && hints->ai_socktype == SOCK_DGRAM) ? "udp" : "tcp"; if (hints == NULL || !(hints->ai_flags & AI_NUMERICSERV)) /* FIXME: Use getservbyname_r if available. */ se = getservbyname (servname, proto); if (!se) { char *c; if (!(*servname >= '0' && *servname <= '9')) return EAI_NONAME; port = strtoul (servname, &c, 10); if (*c || port > 0xffff) return EAI_NONAME; port = htons (port); } else port = se->s_port; } /* FIXME: Use gethostbyname_r if available. */ he = gethostbyname (nodename); if (!he || he->h_addr_list[0] == NULL) return EAI_NONAME; switch (he->h_addrtype) { #if HAVE_IPV6 case PF_INET6: size = sizeof (struct v6_pair); break; #endif #if HAVE_IPV4 case PF_INET: size = sizeof (struct v4_pair); break; #endif default: return EAI_NODATA; } storage = calloc (1, size); if (!storage) return EAI_MEMORY; switch (he->h_addrtype) { #if HAVE_IPV6 case PF_INET6: { struct v6_pair *p = storage; struct sockaddr_in6 *sinp = &p->sockaddr_in6; tmp = &p->addrinfo; if (port) sinp->sin6_port = port; if (he->h_length != sizeof (sinp->sin6_addr)) { free (storage); return EAI_SYSTEM; /* FIXME: Better return code? Set errno? */ } memcpy (&sinp->sin6_addr, he->h_addr_list[0], sizeof sinp->sin6_addr); tmp->ai_addr = (struct sockaddr *) sinp; tmp->ai_addrlen = sizeof *sinp; } break; #endif #if HAVE_IPV4 case PF_INET: { struct v4_pair *p = storage; struct sockaddr_in *sinp = &p->sockaddr_in; tmp = &p->addrinfo; if (port) sinp->sin_port = port; if (he->h_length != sizeof (sinp->sin_addr)) { free (storage); return EAI_SYSTEM; /* FIXME: Better return code? Set errno? */ } memcpy (&sinp->sin_addr, he->h_addr_list[0], sizeof sinp->sin_addr); tmp->ai_addr = (struct sockaddr *) sinp; tmp->ai_addrlen = sizeof *sinp; } break; #endif default: free (storage); return EAI_NODATA; } if (hints && hints->ai_flags & AI_CANONNAME) { const char *cn; if (he->h_name) cn = he->h_name; else cn = nodename; tmp->ai_canonname = strdup (cn); if (!tmp->ai_canonname) { free (storage); return EAI_MEMORY; } } tmp->ai_protocol = (hints) ? hints->ai_protocol : 0; tmp->ai_socktype = (hints) ? hints->ai_socktype : 0; tmp->ai_addr->sa_family = he->h_addrtype; tmp->ai_family = he->h_addrtype; #ifdef HAVE_STRUCT_SOCKADDR_SA_LEN switch (he->h_addrtype) { #if HAVE_IPV4 case AF_INET: tmp->ai_addr->sa_len = sizeof (struct sockaddr_in); break; #endif #if HAVE_IPV6 case AF_INET6: tmp->ai_addr->sa_len = sizeof (struct sockaddr_in6); break; #endif } #endif /* FIXME: If more than one address, create linked list of addrinfo's. */ *res = tmp; return 0; } /* Free 'addrinfo' structure AI including associated storage. */ void freeaddrinfo (struct addrinfo *ai) { #ifdef WINDOWS_NATIVE if (use_win32_p ()) { freeaddrinfo_ptr (ai); return; } #endif while (ai) { struct addrinfo *cur; cur = ai; ai = ai->ai_next; free (cur->ai_canonname); free (cur); } } int getnameinfo (const struct sockaddr *restrict sa, socklen_t salen, char *restrict node, socklen_t nodelen, char *restrict service, socklen_t servicelen, int flags) { #ifdef WINDOWS_NATIVE if (use_win32_p ()) return getnameinfo_ptr (sa, salen, node, nodelen, service, servicelen, flags); #endif /* FIXME: Support other flags. */ if ((node && nodelen > 0 && !(flags & NI_NUMERICHOST)) || (service && servicelen > 0 && !(flags & NI_NUMERICHOST)) || (flags & ~(NI_NUMERICHOST|NI_NUMERICSERV))) return EAI_BADFLAGS; if (sa == NULL || salen < sizeof (sa->sa_family)) return EAI_FAMILY; switch (sa->sa_family) { #if HAVE_IPV4 case AF_INET: if (salen < sizeof (struct sockaddr_in)) return EAI_FAMILY; break; #endif #if HAVE_IPV6 case AF_INET6: if (salen < sizeof (struct sockaddr_in6)) return EAI_FAMILY; break; #endif default: return EAI_FAMILY; } if (node && nodelen > 0 && flags & NI_NUMERICHOST) { switch (sa->sa_family) { #if HAVE_IPV4 case AF_INET: if (!inet_ntop (AF_INET, &(((const struct sockaddr_in *) sa)->sin_addr), node, nodelen)) return EAI_SYSTEM; break; #endif #if HAVE_IPV6 case AF_INET6: if (!inet_ntop (AF_INET6, &(((const struct sockaddr_in6 *) sa)->sin6_addr), node, nodelen)) return EAI_SYSTEM; break; #endif default: return EAI_FAMILY; } } if (service && servicelen > 0 && flags & NI_NUMERICSERV) switch (sa->sa_family) { #if HAVE_IPV4 case AF_INET: #endif #if HAVE_IPV6 case AF_INET6: #endif { unsigned short int port = ntohs (((const struct sockaddr_in *) sa)->sin_port); if (servicelen <= snprintf (service, servicelen, "%u", port)) return EAI_OVERFLOW; } break; } return 0; } gsasl-1.8.1/gl/msvc-inval.h0000644000000000000000000002116513516251576012373 00000000000000/* Invalid parameter handler for MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _MSVC_INVAL_H #define _MSVC_INVAL_H /* With MSVC runtime libraries with the "invalid parameter handler" concept, functions like fprintf(), dup2(), or close() crash when the caller passes an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) instead. This file defines macros that turn such an invalid parameter notification into a non-local exit. An error code can then be produced at the target of this exit. You can thus write code like TRY_MSVC_INVAL { } CATCH_MSVC_INVAL { } DONE_MSVC_INVAL; This entire block expands to a single statement. The handling of invalid parameters can be done in three ways: * The default way, which is reasonable for programs (not libraries): AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [DEFAULT_HANDLING]) * The way for libraries that make "hairy" calls (like close(-1), or fclose(fp) where fileno(fp) is closed, or simply getdtablesize()): AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [HAIRY_LIBRARY_HANDLING]) * The way for libraries that make no "hairy" calls: AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [SANE_LIBRARY_HANDLING]) */ #define DEFAULT_HANDLING 0 #define HAIRY_LIBRARY_HANDLING 1 #define SANE_LIBRARY_HANDLING 2 #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) /* A native Windows platform with the "invalid parameter handler" concept, and either DEFAULT_HANDLING or HAIRY_LIBRARY_HANDLING. */ # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING /* Default handling. */ # ifdef __cplusplus extern "C" { # endif /* Ensure that the invalid parameter handler in installed that just returns. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ gl_msvc_inval_ensure_handler (); \ if (1) # define CATCH_MSVC_INVAL \ else # define DONE_MSVC_INVAL \ } \ while (0) # else /* Handling for hairy libraries. */ # include /* Gnulib can define its own status codes, as described in the page "Raising Software Exceptions" on microsoft.com . Our status codes are composed of - 0xE0000000, mandatory for all user-defined status codes, - 0x474E550, a API identifier ("GNU"), - 0, 1, 2, ..., used to distinguish different status codes from the same API. */ # define STATUS_GNULIB_INVALID_PARAMETER (0xE0000000 + 0x474E550 + 0) # if defined _MSC_VER /* A compiler that supports __try/__except, as described in the page "try-except statement" on microsoft.com . With __try/__except, we can use the multithread-safe exception handling. */ # ifdef __cplusplus extern "C" { # endif /* Ensure that the invalid parameter handler in installed that raises a software exception with code STATUS_GNULIB_INVALID_PARAMETER. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ gl_msvc_inval_ensure_handler (); \ __try # define CATCH_MSVC_INVAL \ __except (GetExceptionCode () == STATUS_GNULIB_INVALID_PARAMETER \ ? EXCEPTION_EXECUTE_HANDLER \ : EXCEPTION_CONTINUE_SEARCH) # define DONE_MSVC_INVAL \ } \ while (0) # else /* Any compiler. We can only use setjmp/longjmp. */ # include # ifdef __cplusplus extern "C" { # endif struct gl_msvc_inval_per_thread { /* The restart that will resume execution at the code between CATCH_MSVC_INVAL and DONE_MSVC_INVAL. It is enabled only between TRY_MSVC_INVAL and CATCH_MSVC_INVAL. */ jmp_buf restart; /* Tells whether the contents of restart is valid. */ int restart_valid; }; /* Ensure that the invalid parameter handler in installed that passes control to the gl_msvc_inval_restart if it is valid, or raises a software exception with code STATUS_GNULIB_INVALID_PARAMETER otherwise. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); /* Return a pointer to the per-thread data for the current thread. */ extern struct gl_msvc_inval_per_thread *gl_msvc_inval_current (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ struct gl_msvc_inval_per_thread *msvc_inval_current; \ gl_msvc_inval_ensure_handler (); \ msvc_inval_current = gl_msvc_inval_current (); \ /* First, initialize gl_msvc_inval_restart. */ \ if (setjmp (msvc_inval_current->restart) == 0) \ { \ /* Then, mark it as valid. */ \ msvc_inval_current->restart_valid = 1; # define CATCH_MSVC_INVAL \ /* Execution completed. \ Mark gl_msvc_inval_restart as invalid. */ \ msvc_inval_current->restart_valid = 0; \ } \ else \ { \ /* Execution triggered an invalid parameter notification. \ Mark gl_msvc_inval_restart as invalid. */ \ msvc_inval_current->restart_valid = 0; # define DONE_MSVC_INVAL \ } \ } \ while (0) # endif # endif #else /* A platform that does not need to the invalid parameter handler, or when SANE_LIBRARY_HANDLING is desired. */ /* The braces here avoid GCC warnings like "warning: suggest explicit braces to avoid ambiguous 'else'". */ # define TRY_MSVC_INVAL \ do \ { \ if (1) # define CATCH_MSVC_INVAL \ else # define DONE_MSVC_INVAL \ } \ while (0) #endif #endif /* _MSVC_INVAL_H */ gsasl-1.8.1/gl/windows-rwlock.c0000644000000000000000000002706413516251573013301 00000000000000/* Read-write locks (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-rwlock.h" #include #include /* In this file, the waitqueues are implemented as circular arrays. */ #define glwthread_waitqueue_t glwthread_carray_waitqueue_t static void glwthread_waitqueue_init (glwthread_waitqueue_t *wq) { wq->array = NULL; wq->count = 0; wq->alloc = 0; wq->offset = 0; } /* Enqueues the current thread, represented by an event, in a wait queue. Returns INVALID_HANDLE_VALUE if an allocation failure occurs. */ static HANDLE glwthread_waitqueue_add (glwthread_waitqueue_t *wq) { HANDLE event; unsigned int index; if (wq->count == wq->alloc) { unsigned int new_alloc = 2 * wq->alloc + 1; HANDLE *new_array = (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE)); if (new_array == NULL) /* No more memory. */ return INVALID_HANDLE_VALUE; /* Now is a good opportunity to rotate the array so that its contents starts at offset 0. */ if (wq->offset > 0) { unsigned int old_count = wq->count; unsigned int old_alloc = wq->alloc; unsigned int old_offset = wq->offset; unsigned int i; if (old_offset + old_count > old_alloc) { unsigned int limit = old_offset + old_count - old_alloc; for (i = 0; i < limit; i++) new_array[old_alloc + i] = new_array[i]; } for (i = 0; i < old_count; i++) new_array[i] = new_array[old_offset + i]; wq->offset = 0; } wq->array = new_array; wq->alloc = new_alloc; } /* Whether the created event is a manual-reset one or an auto-reset one, does not matter, since we will wait on it only once. */ event = CreateEvent (NULL, TRUE, FALSE, NULL); if (event == INVALID_HANDLE_VALUE) /* No way to allocate an event. */ return INVALID_HANDLE_VALUE; index = wq->offset + wq->count; if (index >= wq->alloc) index -= wq->alloc; wq->array[index] = event; wq->count++; return event; } /* Notifies the first thread from a wait queue and dequeues it. */ static void glwthread_waitqueue_notify_first (glwthread_waitqueue_t *wq) { SetEvent (wq->array[wq->offset + 0]); wq->offset++; wq->count--; if (wq->count == 0 || wq->offset == wq->alloc) wq->offset = 0; } /* Notifies all threads from a wait queue and dequeues them all. */ static void glwthread_waitqueue_notify_all (glwthread_waitqueue_t *wq) { unsigned int i; for (i = 0; i < wq->count; i++) { unsigned int index = wq->offset + i; if (index >= wq->alloc) index -= wq->alloc; SetEvent (wq->array[index]); } wq->count = 0; wq->offset = 0; } void glwthread_rwlock_init (glwthread_rwlock_t *lock) { InitializeCriticalSection (&lock->lock); glwthread_waitqueue_init (&lock->waiting_readers); glwthread_waitqueue_init (&lock->waiting_writers); lock->runcount = 0; lock->guard.done = 1; } int glwthread_rwlock_rdlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } EnterCriticalSection (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ HANDLE event = glwthread_waitqueue_add (&lock->waiting_readers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_readers, incremented lock->runcount. */ if (!(lock->runcount > 0)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount + 1 > 0)); } } lock->runcount++; LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_wrlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } EnterCriticalSection (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ HANDLE event = glwthread_waitqueue_add (&lock->waiting_writers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_writers, set lock->runcount = -1. */ if (!(lock->runcount == -1)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount == 0)); } } lock->runcount--; /* runcount becomes -1 */ LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_tryrdlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } /* It's OK to wait for this critical section, because it is never taken for a long time. */ EnterCriticalSection (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) { /* This thread would have to wait for a while. Return instead. */ LeaveCriticalSection (&lock->lock); return EBUSY; } lock->runcount++; LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_trywrlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } /* It's OK to wait for this critical section, because it is never taken for a long time. */ EnterCriticalSection (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread would have to wait for a while. Return instead. */ LeaveCriticalSection (&lock->lock); return EBUSY; } lock->runcount--; /* runcount becomes -1 */ LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_unlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; EnterCriticalSection (&lock->lock); if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) abort (); lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { LeaveCriticalSection (&lock->lock); return EPERM; } lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers.count > 0) { /* Wake up one of the waiting writers. */ lock->runcount--; glwthread_waitqueue_notify_first (&lock->waiting_writers); } else { /* Wake up all waiting readers. */ lock->runcount += lock->waiting_readers.count; glwthread_waitqueue_notify_all (&lock->waiting_readers); } } LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_destroy (glwthread_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; if (lock->runcount != 0) return EBUSY; DeleteCriticalSection (&lock->lock); if (lock->waiting_readers.array != NULL) free (lock->waiting_readers.array); if (lock->waiting_writers.array != NULL) free (lock->waiting_writers.array); lock->guard.done = 0; return 0; } gsasl-1.8.1/gl/iconv_open-hpux.h0000644000000000000000000002740113521017344013421 00000000000000/* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 ./iconv_open-hpux.gperf */ /* Computed positions: -k'4,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "./iconv_open-hpux.gperf" struct mapping { int standard_name; const char vendor_name[9 + 1]; }; #define TOTAL_KEYWORDS 44 #define MIN_WORD_LENGTH 4 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 6 #define MAX_HASH_VALUE 49 /* maximum key range = 44, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 1, 2, 24, 43, 5, 10, 0, 13, 32, 3, 19, 18, 50, 50, 50, 50, 50, 50, 50, 50, 50, 5, 50, 50, 50, 50, 14, 5, 0, 50, 50, 0, 27, 50, 12, 14, 50, 50, 0, 5, 2, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 }; return len + asso_values[(unsigned char)str[3]+4] + asso_values[(unsigned char)str[len - 1]]; } struct stringpool_t { char stringpool_str6[sizeof("CP1256")]; char stringpool_str7[sizeof("CP1250")]; char stringpool_str8[sizeof("CP1251")]; char stringpool_str9[sizeof("CP850")]; char stringpool_str10[sizeof("TIS-620")]; char stringpool_str11[sizeof("CP1254")]; char stringpool_str12[sizeof("ISO-8859-6")]; char stringpool_str13[sizeof("EUC-TW")]; char stringpool_str14[sizeof("ISO-8859-1")]; char stringpool_str15[sizeof("ISO-8859-9")]; char stringpool_str16[sizeof("CP1255")]; char stringpool_str17[sizeof("BIG5")]; char stringpool_str18[sizeof("CP855")]; char stringpool_str19[sizeof("CP1257")]; char stringpool_str20[sizeof("EUC-KR")]; char stringpool_str21[sizeof("CP857")]; char stringpool_str22[sizeof("ISO-8859-5")]; char stringpool_str23[sizeof("ISO-8859-15")]; char stringpool_str24[sizeof("CP866")]; char stringpool_str25[sizeof("ISO-8859-7")]; char stringpool_str26[sizeof("CP861")]; char stringpool_str27[sizeof("CP869")]; char stringpool_str28[sizeof("CP874")]; char stringpool_str29[sizeof("CP864")]; char stringpool_str30[sizeof("CP1252")]; char stringpool_str31[sizeof("CP437")]; char stringpool_str32[sizeof("CP852")]; char stringpool_str33[sizeof("CP775")]; char stringpool_str34[sizeof("CP865")]; char stringpool_str35[sizeof("EUC-JP")]; char stringpool_str36[sizeof("ISO-8859-2")]; char stringpool_str37[sizeof("SHIFT_JIS")]; char stringpool_str38[sizeof("CP1258")]; char stringpool_str39[sizeof("UTF-8")]; char stringpool_str40[sizeof("HP-KANA8")]; char stringpool_str41[sizeof("HP-ROMAN8")]; char stringpool_str42[sizeof("HP-HEBREW8")]; char stringpool_str43[sizeof("GB2312")]; char stringpool_str44[sizeof("ISO-8859-8")]; char stringpool_str45[sizeof("HP-TURKISH8")]; char stringpool_str46[sizeof("HP-GREEK8")]; char stringpool_str47[sizeof("HP-ARABIC8")]; char stringpool_str48[sizeof("CP862")]; char stringpool_str49[sizeof("CP1253")]; }; static const struct stringpool_t stringpool_contents = { "CP1256", "CP1250", "CP1251", "CP850", "TIS-620", "CP1254", "ISO-8859-6", "EUC-TW", "ISO-8859-1", "ISO-8859-9", "CP1255", "BIG5", "CP855", "CP1257", "EUC-KR", "CP857", "ISO-8859-5", "ISO-8859-15", "CP866", "ISO-8859-7", "CP861", "CP869", "CP874", "CP864", "CP1252", "CP437", "CP852", "CP775", "CP865", "EUC-JP", "ISO-8859-2", "SHIFT_JIS", "CP1258", "UTF-8", "HP-KANA8", "HP-ROMAN8", "HP-HEBREW8", "GB2312", "ISO-8859-8", "HP-TURKISH8", "HP-GREEK8", "HP-ARABIC8", "CP862", "CP1253" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 56 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "cp1256"}, #line 50 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "cp1250"}, #line 51 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "cp1251"}, #line 39 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "cp850"}, #line 65 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "tis620"}, #line 54 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "cp1254"}, #line 32 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "iso88596"}, #line 69 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "eucTW"}, #line 29 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "iso88591"}, #line 35 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "iso88599"}, #line 55 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "cp1255"}, #line 70 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "big5"}, #line 41 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "cp855"}, #line 57 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "cp1257"}, #line 68 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "eucKR"}, #line 42 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "cp857"}, #line 31 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "iso88595"}, #line 36 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "iso885915"}, #line 47 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str24, "cp866"}, #line 33 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str25, "iso88597"}, #line 43 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str26, "cp861"}, #line 48 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str27, "cp869"}, #line 49 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str28, "cp874"}, #line 45 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str29, "cp864"}, #line 52 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str30, "cp1252"}, #line 37 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str31, "cp437"}, #line 40 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str32, "cp852"}, #line 38 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str33, "cp775"}, #line 46 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str34, "cp865"}, #line 67 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str35, "eucJP"}, #line 30 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str36, "iso88592"}, #line 71 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str37, "sjis"}, #line 58 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str38, "cp1258"}, #line 72 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str39, "utf8"}, #line 64 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str40, "kana8"}, #line 59 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str41, "roman8"}, #line 62 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str42, "hebrew8"}, #line 66 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str43, "hp15CN"}, #line 34 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str44, "iso88598"}, #line 63 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str45, "turkish8"}, #line 61 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str46, "greek8"}, #line 60 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str47, "arabic8"}, #line 44 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str48, "cp862"}, #line 53 "./iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str49, "cp1253"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } gsasl-1.8.1/gl/sockets.c0000644000000000000000000001017113516251576011755 00000000000000/* sockets.c --- wrappers for Windows socket functions Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson */ #include /* Specification. */ #include "sockets.h" #if WINDOWS_SOCKETS /* This includes winsock2.h on MinGW. */ # include # include "fd-hook.h" # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif /* Get set_winsock_errno, FD_TO_SOCKET etc. */ # include "w32sock.h" static int close_fd_maybe_socket (const struct fd_hook *remaining_list, gl_close_fn primary, int fd) { /* Note about multithread-safety: There is a race condition where, between our calls to closesocket() and the primary close(), some other thread could make system calls that allocate precisely the same HANDLE value as sock; then the primary close() would call CloseHandle() on it. */ SOCKET sock; WSANETWORKEVENTS ev; /* Test whether fd refers to a socket. */ sock = FD_TO_SOCKET (fd); ev.lNetworkEvents = 0xDEADBEEF; WSAEnumNetworkEvents (sock, NULL, &ev); if (ev.lNetworkEvents != 0xDEADBEEF) { /* fd refers to a socket. */ /* FIXME: other applications, like squid, use an undocumented _free_osfhnd free function. But this is not enough: The 'osfile' flags for fd also needs to be cleared, but it is hard to access it. Instead, here we just close twice the file descriptor. */ if (closesocket (sock)) { set_winsock_errno (); return -1; } else { /* This call frees the file descriptor and does a CloseHandle ((HANDLE) _get_osfhandle (fd)), which fails. */ _close (fd); return 0; } } else /* Some other type of file descriptor. */ return execute_close_hooks (remaining_list, primary, fd); } static int ioctl_fd_maybe_socket (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg) { SOCKET sock; WSANETWORKEVENTS ev; /* Test whether fd refers to a socket. */ sock = FD_TO_SOCKET (fd); ev.lNetworkEvents = 0xDEADBEEF; WSAEnumNetworkEvents (sock, NULL, &ev); if (ev.lNetworkEvents != 0xDEADBEEF) { /* fd refers to a socket. */ if (ioctlsocket (sock, request, arg) < 0) { set_winsock_errno (); return -1; } else return 0; } else /* Some other type of file descriptor. */ return execute_ioctl_hooks (remaining_list, primary, fd, request, arg); } static struct fd_hook fd_sockets_hook; static int initialized_sockets_version /* = 0 */; #endif /* WINDOWS_SOCKETS */ int gl_sockets_startup (int version _GL_UNUSED) { #if WINDOWS_SOCKETS if (version > initialized_sockets_version) { WSADATA data; int err; err = WSAStartup (version, &data); if (err != 0) return 1; if (data.wVersion != version) { WSACleanup (); return 2; } if (initialized_sockets_version == 0) register_fd_hook (close_fd_maybe_socket, ioctl_fd_maybe_socket, &fd_sockets_hook); initialized_sockets_version = version; } #endif return 0; } int gl_sockets_cleanup (void) { #if WINDOWS_SOCKETS int err; initialized_sockets_version = 0; unregister_fd_hook (&fd_sockets_hook); err = WSACleanup (); if (err != 0) return 1; #endif return 0; } gsasl-1.8.1/gl/iconv.c0000644000000000000000000002620113516251574011417 00000000000000/* Character set conversion. Copyright (C) 1999-2001, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include #include #if REPLACE_ICONV_UTF # include # include # include # include "unistr.h" #endif #if REPLACE_ICONV_UTF /* UTF-{16,32}{BE,LE} converters taken from GNU libiconv 1.11. */ /* Return code if invalid. (xxx_mbtowc) */ # define RET_ILSEQ -1 /* Return code if no bytes were read. (xxx_mbtowc) */ # define RET_TOOFEW -2 /* Return code if invalid. (xxx_wctomb) */ # define RET_ILUNI -1 /* Return code if output buffer is too small. (xxx_wctomb, xxx_reset) */ # define RET_TOOSMALL -2 /* * UTF-16BE */ /* Specification: RFC 2781 */ static int utf16be_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 2) { ucs4_t wc = (s[0] << 8) + s[1]; if (wc >= 0xd800 && wc < 0xdc00) { if (n >= 4) { ucs4_t wc2 = (s[2] << 8) + s[3]; if (!(wc2 >= 0xdc00 && wc2 < 0xe000)) return RET_ILSEQ; *pwc = 0x10000 + ((wc - 0xd800) << 10) + (wc2 - 0xdc00); return 4; } } else if (wc >= 0xdc00 && wc < 0xe000) { return RET_ILSEQ; } else { *pwc = wc; return 2; } } return RET_TOOFEW; } static int utf16be_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (!(wc >= 0xd800 && wc < 0xe000)) { if (wc < 0x10000) { if (n >= 2) { r[0] = (unsigned char) (wc >> 8); r[1] = (unsigned char) wc; return 2; } else return RET_TOOSMALL; } else if (wc < 0x110000) { if (n >= 4) { ucs4_t wc1 = 0xd800 + ((wc - 0x10000) >> 10); ucs4_t wc2 = 0xdc00 + ((wc - 0x10000) & 0x3ff); r[0] = (unsigned char) (wc1 >> 8); r[1] = (unsigned char) wc1; r[2] = (unsigned char) (wc2 >> 8); r[3] = (unsigned char) wc2; return 4; } else return RET_TOOSMALL; } } return RET_ILUNI; } /* * UTF-16LE */ /* Specification: RFC 2781 */ static int utf16le_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 2) { ucs4_t wc = s[0] + (s[1] << 8); if (wc >= 0xd800 && wc < 0xdc00) { if (n >= 4) { ucs4_t wc2 = s[2] + (s[3] << 8); if (!(wc2 >= 0xdc00 && wc2 < 0xe000)) return RET_ILSEQ; *pwc = 0x10000 + ((wc - 0xd800) << 10) + (wc2 - 0xdc00); return 4; } } else if (wc >= 0xdc00 && wc < 0xe000) { return RET_ILSEQ; } else { *pwc = wc; return 2; } } return RET_TOOFEW; } static int utf16le_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (!(wc >= 0xd800 && wc < 0xe000)) { if (wc < 0x10000) { if (n >= 2) { r[0] = (unsigned char) wc; r[1] = (unsigned char) (wc >> 8); return 2; } else return RET_TOOSMALL; } else if (wc < 0x110000) { if (n >= 4) { ucs4_t wc1 = 0xd800 + ((wc - 0x10000) >> 10); ucs4_t wc2 = 0xdc00 + ((wc - 0x10000) & 0x3ff); r[0] = (unsigned char) wc1; r[1] = (unsigned char) (wc1 >> 8); r[2] = (unsigned char) wc2; r[3] = (unsigned char) (wc2 >> 8); return 4; } else return RET_TOOSMALL; } } return RET_ILUNI; } /* * UTF-32BE */ /* Specification: Unicode 3.1 Standard Annex #19 */ static int utf32be_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 4) { ucs4_t wc = (s[0] << 24) + (s[1] << 16) + (s[2] << 8) + s[3]; if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { *pwc = wc; return 4; } else return RET_ILSEQ; } return RET_TOOFEW; } static int utf32be_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { if (n >= 4) { r[0] = 0; r[1] = (unsigned char) (wc >> 16); r[2] = (unsigned char) (wc >> 8); r[3] = (unsigned char) wc; return 4; } else return RET_TOOSMALL; } return RET_ILUNI; } /* * UTF-32LE */ /* Specification: Unicode 3.1 Standard Annex #19 */ static int utf32le_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 4) { ucs4_t wc = s[0] + (s[1] << 8) + (s[2] << 16) + (s[3] << 24); if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { *pwc = wc; return 4; } else return RET_ILSEQ; } return RET_TOOFEW; } static int utf32le_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { if (n >= 4) { r[0] = (unsigned char) wc; r[1] = (unsigned char) (wc >> 8); r[2] = (unsigned char) (wc >> 16); r[3] = 0; return 4; } else return RET_TOOSMALL; } return RET_ILUNI; } #endif size_t rpl_iconv (iconv_t cd, ICONV_CONST char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) #undef iconv { #if REPLACE_ICONV_UTF switch ((uintptr_t) cd) { { int (*xxx_wctomb) (unsigned char *, ucs4_t, size_t); case (uintptr_t) _ICONV_UTF8_UTF16BE: xxx_wctomb = utf16be_wctomb; goto loop_from_utf8; case (uintptr_t) _ICONV_UTF8_UTF16LE: xxx_wctomb = utf16le_wctomb; goto loop_from_utf8; case (uintptr_t) _ICONV_UTF8_UTF32BE: xxx_wctomb = utf32be_wctomb; goto loop_from_utf8; case (uintptr_t) _ICONV_UTF8_UTF32LE: xxx_wctomb = utf32le_wctomb; goto loop_from_utf8; loop_from_utf8: if (inbuf == NULL || *inbuf == NULL) return 0; { ICONV_CONST char *inptr = *inbuf; size_t inleft = *inbytesleft; char *outptr = *outbuf; size_t outleft = *outbytesleft; size_t res = 0; while (inleft > 0) { ucs4_t uc; int m = u8_mbtoucr (&uc, (const uint8_t *) inptr, inleft); if (m <= 0) { if (m == -1) { errno = EILSEQ; res = (size_t)(-1); break; } if (m == -2) { errno = EINVAL; res = (size_t)(-1); break; } abort (); } else { int n = xxx_wctomb ((uint8_t *) outptr, uc, outleft); if (n < 0) { if (n == RET_ILUNI) { errno = EILSEQ; res = (size_t)(-1); break; } if (n == RET_TOOSMALL) { errno = E2BIG; res = (size_t)(-1); break; } abort (); } else { inptr += m; inleft -= m; outptr += n; outleft -= n; } } } *inbuf = inptr; *inbytesleft = inleft; *outbuf = outptr; *outbytesleft = outleft; return res; } } { int (*xxx_mbtowc) (ucs4_t *, const unsigned char *, size_t); case (uintptr_t) _ICONV_UTF16BE_UTF8: xxx_mbtowc = utf16be_mbtowc; goto loop_to_utf8; case (uintptr_t) _ICONV_UTF16LE_UTF8: xxx_mbtowc = utf16le_mbtowc; goto loop_to_utf8; case (uintptr_t) _ICONV_UTF32BE_UTF8: xxx_mbtowc = utf32be_mbtowc; goto loop_to_utf8; case (uintptr_t) _ICONV_UTF32LE_UTF8: xxx_mbtowc = utf32le_mbtowc; goto loop_to_utf8; loop_to_utf8: if (inbuf == NULL || *inbuf == NULL) return 0; { ICONV_CONST char *inptr = *inbuf; size_t inleft = *inbytesleft; char *outptr = *outbuf; size_t outleft = *outbytesleft; size_t res = 0; while (inleft > 0) { ucs4_t uc; int m = xxx_mbtowc (&uc, (const uint8_t *) inptr, inleft); if (m <= 0) { if (m == RET_ILSEQ) { errno = EILSEQ; res = (size_t)(-1); break; } if (m == RET_TOOFEW) { errno = EINVAL; res = (size_t)(-1); break; } abort (); } else { int n = u8_uctomb ((uint8_t *) outptr, uc, outleft); if (n < 0) { if (n == -1) { errno = EILSEQ; res = (size_t)(-1); break; } if (n == -2) { errno = E2BIG; res = (size_t)(-1); break; } abort (); } else { inptr += m; inleft -= m; outptr += n; outleft -= n; } } } *inbuf = inptr; *inbytesleft = inleft; *outbuf = outptr; *outbytesleft = outleft; return res; } } } #endif return iconv (cd, inbuf, inbytesleft, outbuf, outbytesleft); } gsasl-1.8.1/gl/xsize.c0000644000000000000000000000011612402701066011425 00000000000000#include #define XSIZE_INLINE _GL_EXTERN_INLINE #include "xsize.h" gsasl-1.8.1/gl/xalloc-oversized.h0000644000000000000000000000442513516251577013607 00000000000000/* xalloc-oversized.h -- memory allocation size checking Copyright (C) 1990-2000, 2003-2004, 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef XALLOC_OVERSIZED_H_ #define XALLOC_OVERSIZED_H_ #include #include /* True if N * S would overflow in a size_t calculation, or would generate a value larger than PTRDIFF_MAX. This expands to a constant expression if N and S are both constants. By gnulib convention, SIZE_MAX represents overflow in size calculations, so the conservative size_t-based dividend to use here is SIZE_MAX - 1. */ #define __xalloc_oversized(n, s) \ ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) < (n)) #if PTRDIFF_MAX < SIZE_MAX typedef ptrdiff_t __xalloc_count_type; #else typedef size_t __xalloc_count_type; #endif /* Return 1 if an array of N objects, each of size S, cannot exist reliably due to size or ptrdiff_t arithmetic overflow. S must be positive and N must be nonnegative. This is a macro, not a function, so that it works correctly even when SIZE_MAX < N. */ #if 7 <= __GNUC__ # define xalloc_oversized(n, s) \ __builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1) #elif 5 <= __GNUC__ && !defined __ICC && !__STRICT_ANSI__ # define xalloc_oversized(n, s) \ (__builtin_constant_p (n) && __builtin_constant_p (s) \ ? __xalloc_oversized (n, s) \ : ({ __xalloc_count_type __xalloc_count; \ __builtin_mul_overflow (n, s, &__xalloc_count); })) /* Other compilers use integer division; this may be slower but is more portable. */ #else # define xalloc_oversized(n, s) __xalloc_oversized (n, s) #endif #endif /* !XALLOC_OVERSIZED_H_ */ gsasl-1.8.1/gl/recv.c0000644000000000000000000000237213516251576011245 00000000000000/* recv.c --- wrappers for Windows recv function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef recv ssize_t rpl_recv (int fd, void *buf, size_t len, int flags) { SOCKET sock = FD_TO_SOCKET (fd); if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { int r = recv (sock, buf, len, flags); if (r < 0) set_winsock_errno (); return r; } } gsasl-1.8.1/gl/errno.in.h0000644000000000000000000001640613516251574012046 00000000000000/* A POSIX-like . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_ERRNO_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_ERRNO_H@ #ifndef _@GUARD_PREFIX@_ERRNO_H #define _@GUARD_PREFIX@_ERRNO_H /* On native Windows platforms, many macros are not defined. */ # if defined _WIN32 && ! defined __CYGWIN__ /* These are the same values as defined by MSVC 10, for interoperability. */ # ifndef ENOMSG # define ENOMSG 122 # define GNULIB_defined_ENOMSG 1 # endif # ifndef EIDRM # define EIDRM 111 # define GNULIB_defined_EIDRM 1 # endif # ifndef ENOLINK # define ENOLINK 121 # define GNULIB_defined_ENOLINK 1 # endif # ifndef EPROTO # define EPROTO 134 # define GNULIB_defined_EPROTO 1 # endif # ifndef EBADMSG # define EBADMSG 104 # define GNULIB_defined_EBADMSG 1 # endif # ifndef EOVERFLOW # define EOVERFLOW 132 # define GNULIB_defined_EOVERFLOW 1 # endif # ifndef ENOTSUP # define ENOTSUP 129 # define GNULIB_defined_ENOTSUP 1 # endif # ifndef ENETRESET # define ENETRESET 117 # define GNULIB_defined_ENETRESET 1 # endif # ifndef ECONNABORTED # define ECONNABORTED 106 # define GNULIB_defined_ECONNABORTED 1 # endif # ifndef ECANCELED # define ECANCELED 105 # define GNULIB_defined_ECANCELED 1 # endif # ifndef EOWNERDEAD # define EOWNERDEAD 133 # define GNULIB_defined_EOWNERDEAD 1 # endif # ifndef ENOTRECOVERABLE # define ENOTRECOVERABLE 127 # define GNULIB_defined_ENOTRECOVERABLE 1 # endif # ifndef EINPROGRESS # define EINPROGRESS 112 # define EALREADY 103 # define ENOTSOCK 128 # define EDESTADDRREQ 109 # define EMSGSIZE 115 # define EPROTOTYPE 136 # define ENOPROTOOPT 123 # define EPROTONOSUPPORT 135 # define EOPNOTSUPP 130 # define EAFNOSUPPORT 102 # define EADDRINUSE 100 # define EADDRNOTAVAIL 101 # define ENETDOWN 116 # define ENETUNREACH 118 # define ECONNRESET 108 # define ENOBUFS 119 # define EISCONN 113 # define ENOTCONN 126 # define ETIMEDOUT 138 # define ECONNREFUSED 107 # define ELOOP 114 # define EHOSTUNREACH 110 # define EWOULDBLOCK 140 # define GNULIB_defined_ESOCK 1 # endif # ifndef ETXTBSY # define ETXTBSY 139 # define ENODATA 120 /* not required by POSIX */ # define ENOSR 124 /* not required by POSIX */ # define ENOSTR 125 /* not required by POSIX */ # define ETIME 137 /* not required by POSIX */ # define EOTHER 131 /* not required by POSIX */ # define GNULIB_defined_ESTREAMS 1 # endif /* These are intentionally the same values as the WSA* error numbers, defined in . */ # define ESOCKTNOSUPPORT 10044 /* not required by POSIX */ # define EPFNOSUPPORT 10046 /* not required by POSIX */ # define ESHUTDOWN 10058 /* not required by POSIX */ # define ETOOMANYREFS 10059 /* not required by POSIX */ # define EHOSTDOWN 10064 /* not required by POSIX */ # define EPROCLIM 10067 /* not required by POSIX */ # define EUSERS 10068 /* not required by POSIX */ # define EDQUOT 10069 # define ESTALE 10070 # define EREMOTE 10071 /* not required by POSIX */ # define GNULIB_defined_EWINSOCK 1 # endif /* On OSF/1 5.1, when _XOPEN_SOURCE_EXTENDED is not defined, the macros EMULTIHOP, ENOLINK, EOVERFLOW are not defined. */ # if @EMULTIHOP_HIDDEN@ # define EMULTIHOP @EMULTIHOP_VALUE@ # define GNULIB_defined_EMULTIHOP 1 # endif # if @ENOLINK_HIDDEN@ # define ENOLINK @ENOLINK_VALUE@ # define GNULIB_defined_ENOLINK 1 # endif # if @EOVERFLOW_HIDDEN@ # define EOVERFLOW @EOVERFLOW_VALUE@ # define GNULIB_defined_EOVERFLOW 1 # endif /* On OpenBSD 4.0 and on native Windows, the macros ENOMSG, EIDRM, ENOLINK, EPROTO, EMULTIHOP, EBADMSG, EOVERFLOW, ENOTSUP, ECANCELED are not defined. Likewise, on NonStop Kernel, EDQUOT is not defined. Define them here. Values >= 2000 seem safe to use: Solaris ESTALE = 151, HP-UX EWOULDBLOCK = 246, IRIX EDQUOT = 1133. Note: When one of these systems defines some of these macros some day, binaries will have to be recompiled so that they recognizes the new errno values from the system. */ # ifndef ENOMSG # define ENOMSG 2000 # define GNULIB_defined_ENOMSG 1 # endif # ifndef EIDRM # define EIDRM 2001 # define GNULIB_defined_EIDRM 1 # endif # ifndef ENOLINK # define ENOLINK 2002 # define GNULIB_defined_ENOLINK 1 # endif # ifndef EPROTO # define EPROTO 2003 # define GNULIB_defined_EPROTO 1 # endif # ifndef EMULTIHOP # define EMULTIHOP 2004 # define GNULIB_defined_EMULTIHOP 1 # endif # ifndef EBADMSG # define EBADMSG 2005 # define GNULIB_defined_EBADMSG 1 # endif # ifndef EOVERFLOW # define EOVERFLOW 2006 # define GNULIB_defined_EOVERFLOW 1 # endif # ifndef ENOTSUP # define ENOTSUP 2007 # define GNULIB_defined_ENOTSUP 1 # endif # ifndef ENETRESET # define ENETRESET 2011 # define GNULIB_defined_ENETRESET 1 # endif # ifndef ECONNABORTED # define ECONNABORTED 2012 # define GNULIB_defined_ECONNABORTED 1 # endif # ifndef ESTALE # define ESTALE 2009 # define GNULIB_defined_ESTALE 1 # endif # ifndef EDQUOT # define EDQUOT 2010 # define GNULIB_defined_EDQUOT 1 # endif # ifndef ECANCELED # define ECANCELED 2008 # define GNULIB_defined_ECANCELED 1 # endif /* On many platforms, the macros EOWNERDEAD and ENOTRECOVERABLE are not defined. */ # ifndef EOWNERDEAD # if defined __sun /* Use the same values as defined for Solaris >= 8, for interoperability. */ # define EOWNERDEAD 58 # define ENOTRECOVERABLE 59 # elif defined _WIN32 && ! defined __CYGWIN__ /* We have a conflict here: pthreads-win32 defines these values differently than MSVC 10. It's hairy to decide which one to use. */ # if defined __MINGW32__ && !defined USE_WINDOWS_THREADS /* Use the same values as defined by pthreads-win32, for interoperability. */ # define EOWNERDEAD 43 # define ENOTRECOVERABLE 44 # else /* Use the same values as defined by MSVC 10, for interoperability. */ # define EOWNERDEAD 133 # define ENOTRECOVERABLE 127 # endif # else # define EOWNERDEAD 2013 # define ENOTRECOVERABLE 2014 # endif # define GNULIB_defined_EOWNERDEAD 1 # define GNULIB_defined_ENOTRECOVERABLE 1 # endif # ifndef EILSEQ # define EILSEQ 2015 # define GNULIB_defined_EILSEQ 1 # endif #endif /* _@GUARD_PREFIX@_ERRNO_H */ #endif /* _@GUARD_PREFIX@_ERRNO_H */ gsasl-1.8.1/gl/stdalign.in.h0000644000000000000000000001117013516251576012521 00000000000000/* A substitute for ISO C11 . Copyright 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Paul Eggert and Bruno Haible. */ #ifndef _GL_STDALIGN_H #define _GL_STDALIGN_H /* ISO C11 for platforms that lack it. References: ISO C11 (latest free draft ) sections 6.5.3.4, 6.7.5, 7.15. C++11 (latest free draft ) section 18.10. */ /* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment requirement of a structure member (i.e., slot or field) that is of type TYPE, as an integer constant expression. This differs from GCC's __alignof__ operator, which can yield a better-performing alignment for an object of that type. For example, on x86 with GCC, __alignof__ (double) and __alignof__ (long long) are 8, whereas alignof (double) and alignof (long long) are 4 unless the option '-malign-double' is used. The result cannot be used as a value for an 'enum' constant, if you want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. Include for offsetof. */ #include /* FreeBSD 9.1 , included by and lots of other standard headers, defines conflicting implementations of _Alignas and _Alignof that are no better than ours; override them. */ #undef _Alignas #undef _Alignof /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 . */ #if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9))) # ifdef __cplusplus # if 201103 <= __cplusplus # define _Alignof(type) alignof (type) # else template struct __alignof_helper { char __a; __t __b; }; # define _Alignof(type) offsetof (__alignof_helper, __b) # endif # else # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) # endif #endif #if ! (defined __cplusplus && 201103 <= __cplusplus) # define alignof _Alignof #endif #define __alignof_is_defined 1 /* alignas (A), also known as _Alignas (A), aligns a variable or type to the alignment A, where A is an integer constant expression. For example: int alignas (8) foo; struct s { int a; int alignas (8) bar; }; aligns the address of FOO and the offset of BAR to be multiples of 8. A should be a power of two that is at least the type's alignment and at most the implementation's alignment limit. This limit is 2**28 on typical GNUish hosts, and 2**13 on MSVC. To be portable to MSVC through at least version 10.0, A should be an integer constant, as MSVC does not support expressions such as 1 << 3. To be portable to Sun C 5.11, do not align auto variables to anything stricter than their default alignment. The following C11 requirements are not supported here: - If A is zero, alignas has no effect. - alignas can be used multiple times; the strictest one wins. - alignas (TYPE) is equivalent to alignas (alignof (TYPE)). */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 # if defined __cplusplus && 201103 <= __cplusplus # define _Alignas(a) alignas (a) # elif ((defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__) # define _Alignas(a) __attribute__ ((__aligned__ (a))) # elif 1300 <= _MSC_VER # define _Alignas(a) __declspec (align (a)) # endif #endif #if ((defined _Alignas && ! (defined __cplusplus && 201103 <= __cplusplus)) \ || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) # define alignas _Alignas #endif #if defined alignas || (defined __cplusplus && 201103 <= __cplusplus) # define __alignas_is_defined 1 #endif #endif /* _GL_STDALIGN_H */ gsasl-1.8.1/gl/version-etc.h0000644000000000000000000000555613516251577012561 00000000000000/* Print --version and bug-reporting information in a consistent format. Copyright (C) 1999, 2003, 2005, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Jim Meyering. */ #ifndef VERSION_ETC_H # define VERSION_ETC_H 1 # include # include /* The 'sentinel' attribute was added in gcc 4.0. */ #ifndef _GL_ATTRIBUTE_SENTINEL # if 4 <= __GNUC__ # define _GL_ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__)) # else # define _GL_ATTRIBUTE_SENTINEL /* empty */ # endif #endif extern const char version_etc_copyright[]; /* The three functions below display the --version information in the standard way: command and package names, package version, followed by a short GPLv3+ notice and a list of up to 10 author names. If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION or COMMAND_NAME (PACKAGE) VERSION. The functions differ in the way they are passed author names: */ /* N_AUTHORS names are supplied in array AUTHORS. */ extern void version_etc_arn (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors, size_t n_authors); /* Names are passed in the NULL-terminated array AUTHORS. */ extern void version_etc_ar (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors); /* Names are passed in the NULL-terminated va_list. */ extern void version_etc_va (FILE *stream, const char *command_name, const char *package, const char *version, va_list authors); /* Names are passed as separate arguments, with an additional NULL argument at the end. */ extern void version_etc (FILE *stream, const char *command_name, const char *package, const char *version, /* const char *author1, ..., NULL */ ...) _GL_ATTRIBUTE_SENTINEL; /* Display the usual "Report bugs to" stanza. */ extern void emit_bug_reporting_address (void); #endif /* VERSION_ETC_H */ gsasl-1.8.1/gl/exitfail.c0000644000000000000000000000153413516251574012110 00000000000000/* Failure exit status Copyright (C) 2002-2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include "exitfail.h" #include int volatile exit_failure = EXIT_FAILURE; gsasl-1.8.1/gl/error.c0000644000000000000000000002470613516251574011442 00000000000000/* Error handler for noninteractive utilities Copyright (C) 1990-1998, 2000-2007, 2009-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3 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, see . */ /* Written by David MacKenzie . */ #if !_LIBC # include #endif #include "error.h" #include #include #include #include #if !_LIBC && ENABLE_NLS # include "gettext.h" # define _(msgid) gettext (msgid) #endif #ifdef _LIBC # include # include # include # include # define mbsrtowcs __mbsrtowcs # define USE_UNLOCKED_IO 0 # define _GL_ATTRIBUTE_FORMAT_PRINTF(a, b) # define _GL_ARG_NONNULL(a) #else # include "getprogname.h" #endif #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #ifndef _ # define _(String) String #endif /* If NULL, error will flush stdout, then print on stderr the program name, a colon and a space. Otherwise, error will call this function without parameters instead. */ void (*error_print_progname) (void); /* This variable is incremented each time 'error' is called. */ unsigned int error_message_count; #ifdef _LIBC /* In the GNU C library, there is a predefined variable for this. */ # define program_name program_invocation_name # include # include # include /* In GNU libc we want do not want to use the common name 'error' directly. Instead make it a weak alias. */ extern void __error (int status, int errnum, const char *message, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern void __error_at_line (int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) __attribute__ ((__format__ (__printf__, 5, 6))); # define error __error # define error_at_line __error_at_line # include # define fflush(s) _IO_fflush (s) # undef putc # define putc(c, fp) _IO_putc (c, fp) # include #else /* not _LIBC */ # include # include # if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # endif /* The gnulib override of fcntl is not needed in this file. */ # undef fcntl # if !(GNULIB_STRERROR_R_POSIX || HAVE_DECL_STRERROR_R) # ifndef HAVE_DECL_STRERROR_R "this configure-time declaration test was not run" # endif # if STRERROR_R_CHAR_P char *strerror_r (int errnum, char *buf, size_t buflen); # else int strerror_r (int errnum, char *buf, size_t buflen); # endif # endif # define program_name getprogname () # if GNULIB_STRERROR_R_POSIX || HAVE_STRERROR_R || defined strerror_r # define __strerror_r strerror_r # endif /* GNULIB_STRERROR_R_POSIX || HAVE_STRERROR_R || defined strerror_r */ #endif /* not _LIBC */ #if !_LIBC /* Return non-zero if FD is open. */ static int is_open (int fd) { # if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows: The initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE. There is no fcntl, and the gnulib replacement fcntl does not support F_GETFL. */ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; # else # ifndef F_GETFL # error Please port fcntl to your platform # endif return 0 <= fcntl (fd, F_GETFL); # endif } #endif static void flush_stdout (void) { #if !_LIBC int stdout_fd; # if GNULIB_FREOPEN_SAFER /* Use of gnulib's freopen-safer module normally ensures that fileno (stdout) == 1 whenever stdout is open. */ stdout_fd = STDOUT_FILENO; # else /* POSIX states that fileno (stdout) after fclose is unspecified. But in practice it is not a problem, because stdout is statically allocated and the fd of a FILE stream is stored as a field in its allocated memory. */ stdout_fd = fileno (stdout); # endif /* POSIX states that fflush (stdout) after fclose is unspecified; it is safe in glibc, but not on all other platforms. fflush (NULL) is always defined, but too draconian. */ if (0 <= stdout_fd && is_open (stdout_fd)) #endif fflush (stdout); } static void print_errno_message (int errnum) { char const *s; #if _LIBC || GNULIB_STRERROR_R_POSIX || defined HAVE_STRERROR_R char errbuf[1024]; # if _LIBC || (!GNULIB_STRERROR_R_POSIX && STRERROR_R_CHAR_P) s = __strerror_r (errnum, errbuf, sizeof errbuf); # else if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) s = errbuf; else s = 0; # endif #else s = strerror (errnum); #endif #if !_LIBC if (! s) s = _("Unknown system error"); #endif #if _LIBC __fxprintf (NULL, ": %s", s); #else fprintf (stderr, ": %s", s); #endif } static void _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3)) error_tail (int status, int errnum, const char *message, va_list args) { #if _LIBC if (_IO_fwide (stderr, 0) > 0) { size_t len = strlen (message) + 1; wchar_t *wmessage = NULL; mbstate_t st; size_t res; const char *tmp; bool use_malloc = false; while (1) { if (__libc_use_alloca (len * sizeof (wchar_t))) wmessage = (wchar_t *) alloca (len * sizeof (wchar_t)); else { if (!use_malloc) wmessage = NULL; wchar_t *p = (wchar_t *) realloc (wmessage, len * sizeof (wchar_t)); if (p == NULL) { free (wmessage); fputws_unlocked (L"out of memory\n", stderr); return; } wmessage = p; use_malloc = true; } memset (&st, '\0', sizeof (st)); tmp = message; res = mbsrtowcs (wmessage, &tmp, len, &st); if (res != len) break; if (__builtin_expect (len >= SIZE_MAX / sizeof (wchar_t) / 2, 0)) { /* This really should not happen if everything is fine. */ res = (size_t) -1; break; } len *= 2; } if (res == (size_t) -1) { /* The string cannot be converted. */ if (use_malloc) { free (wmessage); use_malloc = false; } wmessage = (wchar_t *) L"???"; } __vfwprintf (stderr, wmessage, args); if (use_malloc) free (wmessage); } else #endif vfprintf (stderr, message, args); ++error_message_count; if (errnum) print_errno_message (errnum); #if _LIBC __fxprintf (NULL, "\n"); #else putc ('\n', stderr); #endif fflush (stderr); if (status) exit (status); } /* Print the program name and error message MESSAGE, which is a printf-style format string with optional args. If ERRNUM is nonzero, print its corresponding system error message. Exit with status STATUS if it is nonzero. */ void error (int status, int errnum, const char *message, ...) { va_list args; #if defined _LIBC && defined __libc_ptf_call /* We do not want this call to be cut short by a thread cancellation. Therefore disable cancellation for now. */ int state = PTHREAD_CANCEL_ENABLE; __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), 0); #endif flush_stdout (); #ifdef _LIBC _IO_flockfile (stderr); #endif if (error_print_progname) (*error_print_progname) (); else { #if _LIBC __fxprintf (NULL, "%s: ", program_name); #else fprintf (stderr, "%s: ", program_name); #endif } va_start (args, message); error_tail (status, errnum, message, args); va_end (args); #ifdef _LIBC _IO_funlockfile (stderr); # ifdef __libc_ptf_call __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); # endif #endif } /* Sometimes we want to have at most one error per line. This variable controls whether this mode is selected or not. */ int error_one_per_line; void error_at_line (int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) { va_list args; if (error_one_per_line) { static const char *old_file_name; static unsigned int old_line_number; if (old_line_number == line_number && (file_name == old_file_name || (old_file_name != NULL && file_name != NULL && strcmp (old_file_name, file_name) == 0))) /* Simply return and print nothing. */ return; old_file_name = file_name; old_line_number = line_number; } #if defined _LIBC && defined __libc_ptf_call /* We do not want this call to be cut short by a thread cancellation. Therefore disable cancellation for now. */ int state = PTHREAD_CANCEL_ENABLE; __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), 0); #endif flush_stdout (); #ifdef _LIBC _IO_flockfile (stderr); #endif if (error_print_progname) (*error_print_progname) (); else { #if _LIBC __fxprintf (NULL, "%s:", program_name); #else fprintf (stderr, "%s:", program_name); #endif } #if _LIBC __fxprintf (NULL, file_name != NULL ? "%s:%u: " : " ", file_name, line_number); #else fprintf (stderr, file_name != NULL ? "%s:%u: " : " ", file_name, line_number); #endif va_start (args, message); error_tail (status, errnum, message, args); va_end (args); #ifdef _LIBC _IO_funlockfile (stderr); # ifdef __libc_ptf_call __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); # endif #endif } #ifdef _LIBC /* Make the weak alias. */ # undef error # undef error_at_line weak_alias (__error, error) weak_alias (__error_at_line, error_at_line) #endif gsasl-1.8.1/gl/size_max.h0000644000000000000000000000221213516251576012123 00000000000000/* size_max.h -- declare SIZE_MAX through system headers Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. Written by Simon Josefsson. 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 3, 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, see . */ #ifndef GNULIB_SIZE_MAX_H #define GNULIB_SIZE_MAX_H /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ # include /* Get SIZE_MAX declaration on systems like glibc 2. */ # if HAVE_STDINT_H # include # endif /* On systems where these include files don't define it, SIZE_MAX is defined in config.h. */ #endif /* GNULIB_SIZE_MAX_H */ gsasl-1.8.1/gl/basename-lgpl.c0000644000000000000000000000406213516251573013010 00000000000000/* basename.c -- return the last element in a file name Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include "dirname.h" #include /* Return the address of the last file name component of NAME. If NAME has no relative file name components because it is a file system root, return the empty string. */ char * last_component (char const *name) { char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); char const *p; bool saw_slash = false; while (ISSLASH (*base)) base++; for (p = base; *p; p++) { if (ISSLASH (*p)) saw_slash = true; else if (saw_slash) { base = p; saw_slash = false; } } return (char *) base; } /* Return the length of the basename NAME. Typically NAME is the value returned by base_name or last_component. Act like strlen (NAME), except omit all trailing slashes. */ size_t base_len (char const *name) { size_t len; size_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) continue; if (DOUBLE_SLASH_IS_DISTINCT_ROOT && len == 1 && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2]) return 2; if (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && prefix_len && len == prefix_len && ISSLASH (name[prefix_len])) return prefix_len + 1; return len; } gsasl-1.8.1/gl/sys_types.in.h0000644000000000000000000000613013516251577012757 00000000000000/* Provide a more complete sys/types.h. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _WIN32 && !defined __CYGWIN__ \ && (defined __need_off_t || defined __need___off64_t \ || defined __need_ssize_t || defined __need_time_t) /* Special invocation convention inside mingw header files. */ #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_TYPES_H /* The include_next requires a split double-inclusion guard. */ # define _GL_INCLUDING_SYS_TYPES_H #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ # undef _GL_INCLUDING_SYS_TYPES_H #ifndef _@GUARD_PREFIX@_SYS_TYPES_H #define _@GUARD_PREFIX@_SYS_TYPES_H /* Override off_t if Large File Support is requested on native Windows. */ #if @WINDOWS_64_BIT_OFF_T@ /* Same as int64_t in . */ # if defined _MSC_VER # define off_t __int64 # else # define off_t long long int # endif /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_64_BIT_OFF_T 1 #endif /* Override dev_t and ino_t if distinguishable inodes support is requested on native Windows. */ #if @WINDOWS_STAT_INODES@ # if @WINDOWS_STAT_INODES@ == 2 /* Experimental, not useful in Windows 10. */ /* Define dev_t to a 64-bit type. */ # if !defined GNULIB_defined_dev_t typedef unsigned long long int rpl_dev_t; # undef dev_t # define dev_t rpl_dev_t # define GNULIB_defined_dev_t 1 # endif /* Define ino_t to a 128-bit type. */ # if !defined GNULIB_defined_ino_t /* MSVC does not have a 128-bit integer type. GCC has a 128-bit integer type __int128, but only on 64-bit targets. */ typedef struct { unsigned long long int _gl_ino[2]; } rpl_ino_t; # undef ino_t # define ino_t rpl_ino_t # define GNULIB_defined_ino_t 1 # endif # else /* @WINDOWS_STAT_INODES@ == 1 */ /* Define ino_t to a 64-bit type. */ # if !defined GNULIB_defined_ino_t typedef unsigned long long int rpl_ino_t; # undef ino_t # define ino_t rpl_ino_t # define GNULIB_defined_ino_t 1 # endif # endif /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_STAT_INODES @WINDOWS_STAT_INODES@ #endif /* MSVC 9 defines size_t in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (defined _WIN32 && ! defined __CYGWIN__) && ! defined __GLIBC__ # include #endif #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ #endif /* __need_XXX */ gsasl-1.8.1/gl/wctype-h.c0000644000000000000000000000023312402701066012023 00000000000000/* Normally this would be wctype.c, but that name's already taken. */ #include #define _GL_WCTYPE_INLINE _GL_EXTERN_INLINE #include "wctype.h" gsasl-1.8.1/gl/streq.h0000644000000000000000000000763713516251577011463 00000000000000/* Optimized string comparison. Copyright (C) 2001-2002, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible . */ #ifndef _GL_STREQ_H #define _GL_STREQ_H #include /* STREQ_OPT allows to optimize string comparison with a small literal string. STREQ_OPT (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) is semantically equivalent to strcmp (s, "EUC-KR") == 0 just faster. */ /* Help GCC to generate good code for string comparisons with immediate strings. */ #if defined (__GNUC__) && defined (__OPTIMIZE__) static inline int streq9 (const char *s1, const char *s2) { return strcmp (s1 + 9, s2 + 9) == 0; } static inline int streq8 (const char *s1, const char *s2, char s28) { if (s1[8] == s28) { if (s28 == 0) return 1; else return streq9 (s1, s2); } else return 0; } static inline int streq7 (const char *s1, const char *s2, char s27, char s28) { if (s1[7] == s27) { if (s27 == 0) return 1; else return streq8 (s1, s2, s28); } else return 0; } static inline int streq6 (const char *s1, const char *s2, char s26, char s27, char s28) { if (s1[6] == s26) { if (s26 == 0) return 1; else return streq7 (s1, s2, s27, s28); } else return 0; } static inline int streq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) { if (s1[5] == s25) { if (s25 == 0) return 1; else return streq6 (s1, s2, s26, s27, s28); } else return 0; } static inline int streq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) { if (s1[4] == s24) { if (s24 == 0) return 1; else return streq5 (s1, s2, s25, s26, s27, s28); } else return 0; } static inline int streq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[3] == s23) { if (s23 == 0) return 1; else return streq4 (s1, s2, s24, s25, s26, s27, s28); } else return 0; } static inline int streq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[2] == s22) { if (s22 == 0) return 1; else return streq3 (s1, s2, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int streq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[1] == s21) { if (s21 == 0) return 1; else return streq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[0] == s20) { if (s20 == 0) return 1; else return streq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); } else return 0; } #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ streq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) #else #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ (strcmp (s1, s2) == 0) #endif #endif /* _GL_STREQ_H */ gsasl-1.8.1/gl/msvc-nothrow.h0000644000000000000000000000276213516251576012764 00000000000000/* Wrappers that don't throw invalid parameter notifications with MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _MSVC_NOTHROW_H #define _MSVC_NOTHROW_H /* With MSVC runtime libraries with the "invalid parameter handler" concept, functions like fprintf(), dup2(), or close() crash when the caller passes an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) instead. This file defines wrappers that turn such an invalid parameter notification into an error code. */ #if defined _WIN32 && ! defined __CYGWIN__ /* Get original declaration of _get_osfhandle. */ # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Override _get_osfhandle. */ extern intptr_t _gl_nothrow_get_osfhandle (int fd); # define _get_osfhandle _gl_nothrow_get_osfhandle # endif #endif #endif /* _MSVC_NOTHROW_H */ gsasl-1.8.1/gl/string.in.h0000644000000000000000000012056113516251577012230 00000000000000/* A GNU-like . Copyright (C) 1995-1996, 2001-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _GL_ALREADY_INCLUDING_STRING_H /* Special invocation convention: - On OS X/NetBSD we have a sequence of nested includes -> -> "string.h" In this situation system _chk variants due to -D_FORTIFY_SOURCE might be used after any replacements defined here. */ #@INCLUDE_NEXT@ @NEXT_STRING_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STRING_H #define _GL_ALREADY_INCLUDING_STRING_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STRING_H@ #undef _GL_ALREADY_INCLUDING_STRING_H #ifndef _@GUARD_PREFIX@_STRING_H #define _@GUARD_PREFIX@_STRING_H /* NetBSD 5.0 mis-defines NULL. */ #include /* MirBSD defines mbslen as a macro. */ #if @GNULIB_MBSLEN@ && defined __MirBSD__ # include #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* NetBSD 5.0 declares strsignal in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_STRSIGNAL@ || defined GNULIB_POSIXCHECK) && defined __NetBSD__ \ && ! defined __GLIBC__ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Clear a block of memory. The compiler will not delete a call to this function, even if the block is dead after the call. */ #if @GNULIB_EXPLICIT_BZERO@ # if ! @HAVE_EXPLICIT_BZERO@ _GL_FUNCDECL_SYS (explicit_bzero, void, (void *__dest, size_t __n) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (explicit_bzero, void, (void *__dest, size_t __n)); _GL_CXXALIASWARN (explicit_bzero); #elif defined GNULIB_POSIXCHECK # undef explicit_bzero # if HAVE_RAW_DECL_EXPLICIT_BZERO _GL_WARN_ON_USE (explicit_bzero, "explicit_bzero is unportable - " "use gnulib module explicit_bzero for portability"); # endif #endif /* Find the index of the least-significant set bit. */ #if @GNULIB_FFSL@ # if !@HAVE_FFSL@ _GL_FUNCDECL_SYS (ffsl, int, (long int i)); # endif _GL_CXXALIAS_SYS (ffsl, int, (long int i)); _GL_CXXALIASWARN (ffsl); #elif defined GNULIB_POSIXCHECK # undef ffsl # if HAVE_RAW_DECL_FFSL _GL_WARN_ON_USE (ffsl, "ffsl is not portable - use the ffsl module"); # endif #endif /* Find the index of the least-significant set bit. */ #if @GNULIB_FFSLL@ # if !@HAVE_FFSLL@ _GL_FUNCDECL_SYS (ffsll, int, (long long int i)); # endif _GL_CXXALIAS_SYS (ffsll, int, (long long int i)); _GL_CXXALIASWARN (ffsll); #elif defined GNULIB_POSIXCHECK # undef ffsll # if HAVE_RAW_DECL_FFSLL _GL_WARN_ON_USE (ffsll, "ffsll is not portable - use the ffsll module"); # endif #endif /* Return the first instance of C within N bytes of S, or NULL. */ #if @GNULIB_MEMCHR@ # if @REPLACE_MEMCHR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define memchr rpl_memchr # endif _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); # else # if ! @HAVE_MEMCHR@ _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C" { const void * std::memchr (const void *, int, size_t); } extern "C++" { void * std::memchr (void *, int, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (memchr, void *, (void const *__s, int __c, size_t __n), void const *, (void const *__s, int __c, size_t __n)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); _GL_CXXALIASWARN1 (memchr, void const *, (void const *__s, int __c, size_t __n)); # else _GL_CXXALIASWARN (memchr); # endif #elif defined GNULIB_POSIXCHECK # undef memchr /* Assume memchr is always declared. */ _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " "use gnulib module memchr for portability" ); #endif /* Return the first occurrence of NEEDLE in HAYSTACK. */ #if @GNULIB_MEMMEM@ # if @REPLACE_MEMMEM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define memmem rpl_memmem # endif _GL_FUNCDECL_RPL (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len)); # else # if ! @HAVE_DECL_MEMMEM@ _GL_FUNCDECL_SYS (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len)); # endif _GL_CXXALIASWARN (memmem); #elif defined GNULIB_POSIXCHECK # undef memmem # if HAVE_RAW_DECL_MEMMEM _GL_WARN_ON_USE (memmem, "memmem is unportable and often quadratic - " "use gnulib module memmem-simple for portability, " "and module memmem for speed" ); # endif #endif /* Copy N bytes of SRC to DEST, return pointer to bytes after the last written byte. */ #if @GNULIB_MEMPCPY@ # if ! @HAVE_MEMPCPY@ _GL_FUNCDECL_SYS (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n)); _GL_CXXALIASWARN (mempcpy); #elif defined GNULIB_POSIXCHECK # undef mempcpy # if HAVE_RAW_DECL_MEMPCPY _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " "use gnulib module mempcpy for portability"); # endif #endif /* Search backwards through a block for a byte (specified as an int). */ #if @GNULIB_MEMRCHR@ # if ! @HAVE_DECL_MEMRCHR@ _GL_FUNCDECL_SYS (memrchr, void *, (void const *, int, size_t) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const void * std::memrchr (const void *, int, size_t); } extern "C++" { void * std::memrchr (void *, int, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (memrchr, void *, (void const *, int, size_t), void const *, (void const *, int, size_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (memrchr, void *, (void *, int, size_t)); _GL_CXXALIASWARN1 (memrchr, void const *, (void const *, int, size_t)); # else _GL_CXXALIASWARN (memrchr); # endif #elif defined GNULIB_POSIXCHECK # undef memrchr # if HAVE_RAW_DECL_MEMRCHR _GL_WARN_ON_USE (memrchr, "memrchr is unportable - " "use gnulib module memrchr for portability"); # endif #endif /* Find the first occurrence of C in S. More efficient than memchr(S,C,N), at the expense of undefined behavior if C does not occur within N bytes. */ #if @GNULIB_RAWMEMCHR@ # if ! @HAVE_RAWMEMCHR@ _GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const void * std::rawmemchr (const void *, int); } extern "C++" { void * std::rawmemchr (void *, int); } */ _GL_CXXALIAS_SYS_CAST2 (rawmemchr, void *, (void const *__s, int __c_in), void const *, (void const *__s, int __c_in)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (rawmemchr, void *, (void *__s, int __c_in)); _GL_CXXALIASWARN1 (rawmemchr, void const *, (void const *__s, int __c_in)); # else _GL_CXXALIASWARN (rawmemchr); # endif #elif defined GNULIB_POSIXCHECK # undef rawmemchr # if HAVE_RAW_DECL_RAWMEMCHR _GL_WARN_ON_USE (rawmemchr, "rawmemchr is unportable - " "use gnulib module rawmemchr for portability"); # endif #endif /* Copy SRC to DST, returning the address of the terminating '\0' in DST. */ #if @GNULIB_STPCPY@ # if ! @HAVE_STPCPY@ _GL_FUNCDECL_SYS (stpcpy, char *, (char *restrict __dst, char const *restrict __src) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (stpcpy, char *, (char *restrict __dst, char const *restrict __src)); _GL_CXXALIASWARN (stpcpy); #elif defined GNULIB_POSIXCHECK # undef stpcpy # if HAVE_RAW_DECL_STPCPY _GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - " "use gnulib module stpcpy for portability"); # endif #endif /* Copy no more than N bytes of SRC to DST, returning a pointer past the last non-NUL byte written into DST. */ #if @GNULIB_STPNCPY@ # if @REPLACE_STPNCPY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef stpncpy # define stpncpy rpl_stpncpy # endif _GL_FUNCDECL_RPL (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n)); # else # if ! @HAVE_STPNCPY@ _GL_FUNCDECL_SYS (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n)); # endif _GL_CXXALIASWARN (stpncpy); #elif defined GNULIB_POSIXCHECK # undef stpncpy # if HAVE_RAW_DECL_STPNCPY _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " "use gnulib module stpncpy for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strchr() does not work with multibyte strings if the locale encoding is GB18030 and the character to be searched is a digit. */ # undef strchr /* Assume strchr is always declared. */ _GL_WARN_ON_USE (strchr, "strchr cannot work correctly on character strings " "in some multibyte locales - " "use mbschr if you care about internationalization"); #endif /* Find the first occurrence of C in S or the final NUL byte. */ #if @GNULIB_STRCHRNUL@ # if @REPLACE_STRCHRNUL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strchrnul rpl_strchrnul # endif _GL_FUNCDECL_RPL (strchrnul, char *, (const char *__s, int __c_in) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strchrnul, char *, (const char *str, int ch)); # else # if ! @HAVE_STRCHRNUL@ _GL_FUNCDECL_SYS (strchrnul, char *, (char const *__s, int __c_in) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * std::strchrnul (const char *, int); } extern "C++" { char * std::strchrnul (char *, int); } */ _GL_CXXALIAS_SYS_CAST2 (strchrnul, char *, (char const *__s, int __c_in), char const *, (char const *__s, int __c_in)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strchrnul, char *, (char *__s, int __c_in)); _GL_CXXALIASWARN1 (strchrnul, char const *, (char const *__s, int __c_in)); # else _GL_CXXALIASWARN (strchrnul); # endif #elif defined GNULIB_POSIXCHECK # undef strchrnul # if HAVE_RAW_DECL_STRCHRNUL _GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - " "use gnulib module strchrnul for portability"); # endif #endif /* Duplicate S, returning an identical malloc'd string. */ #if @GNULIB_STRDUP@ # if @REPLACE_STRDUP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strdup # define strdup rpl_strdup # endif _GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); # else # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup /* strdup exists as a function and as a macro. Get rid of the macro. */ # undef strdup # endif # if !(@HAVE_DECL_STRDUP@ || defined strdup) _GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); # endif _GL_CXXALIASWARN (strdup); #elif defined GNULIB_POSIXCHECK # undef strdup # if HAVE_RAW_DECL_STRDUP _GL_WARN_ON_USE (strdup, "strdup is unportable - " "use gnulib module strdup for portability"); # endif #endif /* Append no more than N characters from SRC onto DEST. */ #if @GNULIB_STRNCAT@ # if @REPLACE_STRNCAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strncat # define strncat rpl_strncat # endif _GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n)); # else _GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n)); # endif _GL_CXXALIASWARN (strncat); #elif defined GNULIB_POSIXCHECK # undef strncat # if HAVE_RAW_DECL_STRNCAT _GL_WARN_ON_USE (strncat, "strncat is unportable - " "use gnulib module strncat for portability"); # endif #endif /* Return a newly allocated copy of at most N bytes of STRING. */ #if @GNULIB_STRNDUP@ # if @REPLACE_STRNDUP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strndup # define strndup rpl_strndup # endif _GL_FUNCDECL_RPL (strndup, char *, (char const *__s, size_t __n) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n)); # else # if ! @HAVE_DECL_STRNDUP@ _GL_FUNCDECL_SYS (strndup, char *, (char const *__s, size_t __n) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strndup, char *, (char const *__s, size_t __n)); # endif _GL_CXXALIASWARN (strndup); #elif defined GNULIB_POSIXCHECK # undef strndup # if HAVE_RAW_DECL_STRNDUP _GL_WARN_ON_USE (strndup, "strndup is unportable - " "use gnulib module strndup for portability"); # endif #endif /* Find the length (number of bytes) of STRING, but scan at most MAXLEN bytes. If no '\0' terminator is found in that many bytes, return MAXLEN. */ #if @GNULIB_STRNLEN@ # if @REPLACE_STRNLEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strnlen # define strnlen rpl_strnlen # endif _GL_FUNCDECL_RPL (strnlen, size_t, (char const *__s, size_t __maxlen) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strnlen, size_t, (char const *__s, size_t __maxlen)); # else # if ! @HAVE_DECL_STRNLEN@ _GL_FUNCDECL_SYS (strnlen, size_t, (char const *__s, size_t __maxlen) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strnlen, size_t, (char const *__s, size_t __maxlen)); # endif _GL_CXXALIASWARN (strnlen); #elif defined GNULIB_POSIXCHECK # undef strnlen # if HAVE_RAW_DECL_STRNLEN _GL_WARN_ON_USE (strnlen, "strnlen is unportable - " "use gnulib module strnlen for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strcspn() assumes the second argument is a list of single-byte characters. Even in this simple case, it does not work with multibyte strings if the locale encoding is GB18030 and one of the characters to be searched is a digit. */ # undef strcspn /* Assume strcspn is always declared. */ _GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on character strings " "in multibyte locales - " "use mbscspn if you care about internationalization"); #endif /* Find the first occurrence in S of any character in ACCEPT. */ #if @GNULIB_STRPBRK@ # if ! @HAVE_STRPBRK@ _GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif /* On some systems, this function is defined as an overloaded function: extern "C" { const char * strpbrk (const char *, const char *); } extern "C++" { char * strpbrk (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strpbrk, char *, (char const *__s, char const *__accept), const char *, (char const *__s, char const *__accept)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept)); _GL_CXXALIASWARN1 (strpbrk, char const *, (char const *__s, char const *__accept)); # else _GL_CXXALIASWARN (strpbrk); # endif # if defined GNULIB_POSIXCHECK /* strpbrk() assumes the second argument is a list of single-byte characters. Even in this simple case, it does not work with multibyte strings if the locale encoding is GB18030 and one of the characters to be searched is a digit. */ # undef strpbrk _GL_WARN_ON_USE (strpbrk, "strpbrk cannot work correctly on character strings " "in multibyte locales - " "use mbspbrk if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strpbrk # if HAVE_RAW_DECL_STRPBRK _GL_WARN_ON_USE (strpbrk, "strpbrk is unportable - " "use gnulib module strpbrk for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strspn() assumes the second argument is a list of single-byte characters. Even in this simple case, it cannot work with multibyte strings. */ # undef strspn /* Assume strspn is always declared. */ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " "in multibyte locales - " "use mbsspn if you care about internationalization"); #endif #if defined GNULIB_POSIXCHECK /* strrchr() does not work with multibyte strings if the locale encoding is GB18030 and the character to be searched is a digit. */ # undef strrchr /* Assume strrchr is always declared. */ _GL_WARN_ON_USE (strrchr, "strrchr cannot work correctly on character strings " "in some multibyte locales - " "use mbsrchr if you care about internationalization"); #endif /* Search the next delimiter (char listed in DELIM) starting at *STRINGP. If one is found, overwrite it with a NUL, and advance *STRINGP to point to the next char after it. Otherwise, set *STRINGP to NULL. If *STRINGP was already NULL, nothing happens. Return the old value of *STRINGP. This is a variant of strtok() that is multithread-safe and supports empty fields. Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. Caveat: It doesn't work with multibyte strings unless all of the delimiter characters are ASCII characters < 0x30. See also strtok_r(). */ #if @GNULIB_STRSEP@ # if ! @HAVE_STRSEP@ _GL_FUNCDECL_SYS (strsep, char *, (char **restrict __stringp, char const *restrict __delim) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strsep, char *, (char **restrict __stringp, char const *restrict __delim)); _GL_CXXALIASWARN (strsep); # if defined GNULIB_POSIXCHECK # undef strsep _GL_WARN_ON_USE (strsep, "strsep cannot work correctly on character strings " "in multibyte locales - " "use mbssep if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strsep # if HAVE_RAW_DECL_STRSEP _GL_WARN_ON_USE (strsep, "strsep is unportable - " "use gnulib module strsep for portability"); # endif #endif #if @GNULIB_STRSTR@ # if @REPLACE_STRSTR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strstr rpl_strstr # endif _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); # else /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * strstr (const char *, const char *); } extern "C++" { char * strstr (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strstr, char *, (const char *haystack, const char *needle), const char *, (const char *haystack, const char *needle)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); _GL_CXXALIASWARN1 (strstr, const char *, (const char *haystack, const char *needle)); # else _GL_CXXALIASWARN (strstr); # endif #elif defined GNULIB_POSIXCHECK /* strstr() does not work with multibyte strings if the locale encoding is different from UTF-8: POSIX says that it operates on "strings", and "string" in POSIX is defined as a sequence of bytes, not of characters. */ # undef strstr /* Assume strstr is always declared. */ _GL_WARN_ON_USE (strstr, "strstr is quadratic on many systems, and cannot " "work correctly on character strings in most " "multibyte locales - " "use mbsstr if you care about internationalization, " "or use strstr if you care about speed"); #endif /* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive comparison. */ #if @GNULIB_STRCASESTR@ # if @REPLACE_STRCASESTR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strcasestr rpl_strcasestr # endif _GL_FUNCDECL_RPL (strcasestr, char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strcasestr, char *, (const char *haystack, const char *needle)); # else # if ! @HAVE_STRCASESTR@ _GL_FUNCDECL_SYS (strcasestr, char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * strcasestr (const char *, const char *); } extern "C++" { char * strcasestr (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strcasestr, char *, (const char *haystack, const char *needle), const char *, (const char *haystack, const char *needle)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strcasestr, char *, (char *haystack, const char *needle)); _GL_CXXALIASWARN1 (strcasestr, const char *, (const char *haystack, const char *needle)); # else _GL_CXXALIASWARN (strcasestr); # endif #elif defined GNULIB_POSIXCHECK /* strcasestr() does not work with multibyte strings: It is a glibc extension, and glibc implements it only for unibyte locales. */ # undef strcasestr # if HAVE_RAW_DECL_STRCASESTR _GL_WARN_ON_USE (strcasestr, "strcasestr does work correctly on character " "strings in multibyte locales - " "use mbscasestr if you care about " "internationalization, or use c-strcasestr if you want " "a locale independent function"); # endif #endif /* Parse S into tokens separated by characters in DELIM. If S is NULL, the saved pointer in SAVE_PTR is used as the next starting point. For example: char s[] = "-abc-=-def"; char *sp; x = strtok_r(s, "-", &sp); // x = "abc", sp = "=-def" x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = strtok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" This is a variant of strtok() that is multithread-safe. For the POSIX documentation for this function, see: http://www.opengroup.org/susv3xsh/strtok.html Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. Caveat: It doesn't work with multibyte strings unless all of the delimiter characters are ASCII characters < 0x30. See also strsep(). */ #if @GNULIB_STRTOK_R@ # if @REPLACE_STRTOK_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtok_r # define strtok_r rpl_strtok_r # endif _GL_FUNCDECL_RPL (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr)); # else # if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK # undef strtok_r # endif # if ! @HAVE_DECL_STRTOK_R@ _GL_FUNCDECL_SYS (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr)); # endif _GL_CXXALIASWARN (strtok_r); # if defined GNULIB_POSIXCHECK _GL_WARN_ON_USE (strtok_r, "strtok_r cannot work correctly on character " "strings in multibyte locales - " "use mbstok_r if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strtok_r # if HAVE_RAW_DECL_STRTOK_R _GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - " "use gnulib module strtok_r for portability"); # endif #endif /* The following functions are not specified by POSIX. They are gnulib extensions. */ #if @GNULIB_MBSLEN@ /* Return the number of multibyte characters in the character string STRING. This considers multibyte characters, unlike strlen, which counts bytes. */ # ifdef __MirBSD__ /* MirBSD defines mbslen as a macro. Override it. */ # undef mbslen # endif # if @HAVE_MBSLEN@ /* AIX, OSF/1, MirBSD define mbslen already in libc. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbslen rpl_mbslen # endif _GL_FUNCDECL_RPL (mbslen, size_t, (const char *string) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbslen, size_t, (const char *string)); # else _GL_FUNCDECL_SYS (mbslen, size_t, (const char *string) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbslen, size_t, (const char *string)); # endif _GL_CXXALIASWARN (mbslen); #endif #if @GNULIB_MBSNLEN@ /* Return the number of multibyte characters in the character string starting at STRING and ending at STRING + LEN. */ _GL_EXTERN_C size_t mbsnlen (const char *string, size_t len) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1)); #endif #if @GNULIB_MBSCHR@ /* Locate the first single-byte character C in the character string STRING, and return a pointer to it. Return NULL if C is not found in STRING. Unlike strchr(), this function works correctly in multibyte locales with encodings such as GB18030. */ # if defined __hpux # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbschr rpl_mbschr /* avoid collision with HP-UX function */ # endif _GL_FUNCDECL_RPL (mbschr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbschr, char *, (const char *string, int c)); # else _GL_FUNCDECL_SYS (mbschr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbschr, char *, (const char *string, int c)); # endif _GL_CXXALIASWARN (mbschr); #endif #if @GNULIB_MBSRCHR@ /* Locate the last single-byte character C in the character string STRING, and return a pointer to it. Return NULL if C is not found in STRING. Unlike strrchr(), this function works correctly in multibyte locales with encodings such as GB18030. */ # if defined __hpux || defined __INTERIX # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbsrchr rpl_mbsrchr /* avoid collision with system function */ # endif _GL_FUNCDECL_RPL (mbsrchr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbsrchr, char *, (const char *string, int c)); # else _GL_FUNCDECL_SYS (mbsrchr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbsrchr, char *, (const char *string, int c)); # endif _GL_CXXALIASWARN (mbsrchr); #endif #if @GNULIB_MBSSTR@ /* Find the first occurrence of the character string NEEDLE in the character string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK. Unlike strstr(), this function works correctly in multibyte locales with encodings different from UTF-8. */ _GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSCASECMP@ /* Compare the character strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. Note: This function may, in multibyte locales, return 0 for strings of different lengths! Unlike strcasecmp(), this function works correctly in multibyte locales. */ _GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSNCASECMP@ /* Compare the initial segment of the character string S1 consisting of at most N characters with the initial segment of the character string S2 consisting of at most N characters, ignoring case, returning less than, equal to or greater than zero if the initial segment of S1 is lexicographically less than, equal to or greater than the initial segment of S2. Note: This function may, in multibyte locales, return 0 for initial segments of different lengths! Unlike strncasecmp(), this function works correctly in multibyte locales. But beware that N is not a byte count but a character count! */ _GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSPCASECMP@ /* Compare the initial segment of the character string STRING consisting of at most mbslen (PREFIX) characters with the character string PREFIX, ignoring case. If the two match, return a pointer to the first byte after this prefix in STRING. Otherwise, return NULL. Note: This function may, in multibyte locales, return non-NULL if STRING is of smaller length than PREFIX! Unlike strncasecmp(), this function works correctly in multibyte locales. */ _GL_EXTERN_C char * mbspcasecmp (const char *string, const char *prefix) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSCASESTR@ /* Find the first occurrence of the character string NEEDLE in the character string HAYSTACK, using case-insensitive comparison. Note: This function may, in multibyte locales, return success even if strlen (haystack) < strlen (needle) ! Unlike strcasestr(), this function works correctly in multibyte locales. */ _GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSCSPN@ /* Find the first occurrence in the character string STRING of any character in the character string ACCEPT. Return the number of bytes from the beginning of the string to this occurrence, or to the end of the string if none exists. Unlike strcspn(), this function works correctly in multibyte locales. */ _GL_EXTERN_C size_t mbscspn (const char *string, const char *accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSPBRK@ /* Find the first occurrence in the character string STRING of any character in the character string ACCEPT. Return the pointer to it, or NULL if none exists. Unlike strpbrk(), this function works correctly in multibyte locales. */ # if defined __hpux # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbspbrk rpl_mbspbrk /* avoid collision with HP-UX function */ # endif _GL_FUNCDECL_RPL (mbspbrk, char *, (const char *string, const char *accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (mbspbrk, char *, (const char *string, const char *accept)); # else _GL_FUNCDECL_SYS (mbspbrk, char *, (const char *string, const char *accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (mbspbrk, char *, (const char *string, const char *accept)); # endif _GL_CXXALIASWARN (mbspbrk); #endif #if @GNULIB_MBSSPN@ /* Find the first occurrence in the character string STRING of any character not in the character string REJECT. Return the number of bytes from the beginning of the string to this occurrence, or to the end of the string if none exists. Unlike strspn(), this function works correctly in multibyte locales. */ _GL_EXTERN_C size_t mbsspn (const char *string, const char *reject) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSSEP@ /* Search the next delimiter (multibyte character listed in the character string DELIM) starting at the character string *STRINGP. If one is found, overwrite it with a NUL, and advance *STRINGP to point to the next multibyte character after it. Otherwise, set *STRINGP to NULL. If *STRINGP was already NULL, nothing happens. Return the old value of *STRINGP. This is a variant of mbstok_r() that supports empty fields. Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. See also mbstok_r(). */ _GL_EXTERN_C char * mbssep (char **stringp, const char *delim) _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSTOK_R@ /* Parse the character string STRING into tokens separated by characters in the character string DELIM. If STRING is NULL, the saved pointer in SAVE_PTR is used as the next starting point. For example: char s[] = "-abc-=-def"; char *sp; x = mbstok_r(s, "-", &sp); // x = "abc", sp = "=-def" x = mbstok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = mbstok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. See also mbssep(). */ _GL_EXTERN_C char * mbstok_r (char *string, const char *delim, char **save_ptr) _GL_ARG_NONNULL ((2, 3)); #endif /* Map any int, typically from errno, into an error message. */ #if @GNULIB_STRERROR@ # if @REPLACE_STRERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerror # define strerror rpl_strerror # endif _GL_FUNCDECL_RPL (strerror, char *, (int)); _GL_CXXALIAS_RPL (strerror, char *, (int)); # else _GL_CXXALIAS_SYS (strerror, char *, (int)); # endif _GL_CXXALIASWARN (strerror); #elif defined GNULIB_POSIXCHECK # undef strerror /* Assume strerror is always declared. */ _GL_WARN_ON_USE (strerror, "strerror is unportable - " "use gnulib module strerror to guarantee non-NULL result"); #endif /* Map any int, typically from errno, into an error message. Multithread-safe. Uses the POSIX declaration, not the glibc declaration. */ #if @GNULIB_STRERROR_R@ # if @REPLACE_STRERROR_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerror_r # define strerror_r rpl_strerror_r # endif _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); # else # if !@HAVE_DECL_STRERROR_R@ _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); # endif # if @HAVE_DECL_STRERROR_R@ _GL_CXXALIASWARN (strerror_r); # endif #elif defined GNULIB_POSIXCHECK # undef strerror_r # if HAVE_RAW_DECL_STRERROR_R _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - " "use gnulib module strerror_r-posix for portability"); # endif #endif #if @GNULIB_STRSIGNAL@ # if @REPLACE_STRSIGNAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strsignal rpl_strsignal # endif _GL_FUNCDECL_RPL (strsignal, char *, (int __sig)); _GL_CXXALIAS_RPL (strsignal, char *, (int __sig)); # else # if ! @HAVE_DECL_STRSIGNAL@ _GL_FUNCDECL_SYS (strsignal, char *, (int __sig)); # endif /* Need to cast, because on Cygwin 1.5.x systems, the return type is 'const char *'. */ _GL_CXXALIAS_SYS_CAST (strsignal, char *, (int __sig)); # endif _GL_CXXALIASWARN (strsignal); #elif defined GNULIB_POSIXCHECK # undef strsignal # if HAVE_RAW_DECL_STRSIGNAL _GL_WARN_ON_USE (strsignal, "strsignal is unportable - " "use gnulib module strsignal for portability"); # endif #endif #if @GNULIB_STRVERSCMP@ # if !@HAVE_STRVERSCMP@ _GL_FUNCDECL_SYS (strverscmp, int, (const char *, const char *) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strverscmp, int, (const char *, const char *)); _GL_CXXALIASWARN (strverscmp); #elif defined GNULIB_POSIXCHECK # undef strverscmp # if HAVE_RAW_DECL_STRVERSCMP _GL_WARN_ON_USE (strverscmp, "strverscmp is unportable - " "use gnulib module strverscmp for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_STRING_H */ #endif /* _@GUARD_PREFIX@_STRING_H */ #endif gsasl-1.8.1/gl/version-etc.c0000644000000000000000000002226613516251577012551 00000000000000/* Print --version and bug-reporting information in a consistent format. Copyright (C) 1999-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Jim Meyering. */ #include /* Specification. */ #include "version-etc.h" #include #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #include "gettext.h" #define _(msgid) gettext (msgid) /* If you use AM_INIT_AUTOMAKE's no-define option, PACKAGE is not defined. Use PACKAGE_TARNAME instead. */ #if ! defined PACKAGE && defined PACKAGE_TARNAME # define PACKAGE PACKAGE_TARNAME #endif enum { COPYRIGHT_YEAR = 2019 }; /* The three functions below display the --version information the standard way. If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION or COMMAND_NAME (PACKAGE) VERSION. The functions differ in the way they are passed author names. */ /* Display the --version information the standard way. Author names are given in the array AUTHORS. N_AUTHORS is the number of elements in the array. */ void version_etc_arn (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors, size_t n_authors) { if (command_name) fprintf (stream, "%s (%s) %s\n", command_name, package, version); else fprintf (stream, "%s %s\n", package, version); #ifdef PACKAGE_PACKAGER # ifdef PACKAGE_PACKAGER_VERSION fprintf (stream, _("Packaged by %s (%s)\n"), PACKAGE_PACKAGER, PACKAGE_PACKAGER_VERSION); # else fprintf (stream, _("Packaged by %s\n"), PACKAGE_PACKAGER); # endif #endif /* TRANSLATORS: Translate "(C)" to the copyright symbol (C-in-a-circle), if this symbol is available in the user's locale. Otherwise, do not translate "(C)"; leave it as-is. */ fprintf (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR); fputs ("\n", stream); /* TRANSLATORS: The %s placeholder is the web address of the GPL license. */ fprintf (stream, _("\ License GPLv3+: GNU GPL version 3 or later <%s>.\n\ This is free software: you are free to change and redistribute it.\n\ There is NO WARRANTY, to the extent permitted by law.\n\ "), "https://gnu.org/licenses/gpl.html"); fputs ("\n", stream); switch (n_authors) { case 0: /* No authors are given. The caller should output authorship info after calling this function. */ break; case 1: /* TRANSLATORS: %s denotes an author name. */ fprintf (stream, _("Written by %s.\n"), authors[0]); break; case 2: /* TRANSLATORS: Each %s denotes an author name. */ fprintf (stream, _("Written by %s and %s.\n"), authors[0], authors[1]); break; case 3: /* TRANSLATORS: Each %s denotes an author name. */ fprintf (stream, _("Written by %s, %s, and %s.\n"), authors[0], authors[1], authors[2]); break; case 4: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\nand %s.\n"), authors[0], authors[1], authors[2], authors[3]); break; case 5: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\n%s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4]); break; case 6: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\n%s, %s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5]); break; case 7: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\n%s, %s, %s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6]); break; case 8: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("\ Written by %s, %s, %s,\n%s, %s, %s, %s,\nand %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6], authors[7]); break; case 9: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("\ Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6], authors[7], authors[8]); break; default: /* 10 or more authors. Use an abbreviation, since the human reader will probably not want to read the entire list anyway. */ /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("\ Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, %s, and others.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6], authors[7], authors[8]); break; } } /* Display the --version information the standard way. See the initial comment to this module, for more information. Author names are given in the NULL-terminated array AUTHORS. */ void version_etc_ar (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors) { size_t n_authors; for (n_authors = 0; authors[n_authors]; n_authors++) ; version_etc_arn (stream, command_name, package, version, authors, n_authors); } /* Display the --version information the standard way. See the initial comment to this module, for more information. Author names are given in the NULL-terminated va_list AUTHORS. */ void version_etc_va (FILE *stream, const char *command_name, const char *package, const char *version, va_list authors) { size_t n_authors; const char *authtab[10]; for (n_authors = 0; n_authors < 10 && (authtab[n_authors] = va_arg (authors, const char *)) != NULL; n_authors++) ; version_etc_arn (stream, command_name, package, version, authtab, n_authors); } /* Display the --version information the standard way. If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION or COMMAND_NAME (PACKAGE) VERSION. The authors names are passed as separate arguments, with an additional NULL argument at the end. */ void version_etc (FILE *stream, const char *command_name, const char *package, const char *version, /* const char *author1, ...*/ ...) { va_list authors; va_start (authors, version); version_etc_va (stream, command_name, package, version, authors); va_end (authors); } void emit_bug_reporting_address (void) { fputs ("\n", stdout); /* TRANSLATORS: The placeholder indicates the bug-reporting address for this package. Please add _another line_ saying "Report translation bugs to <...>\n" with the address for translation bugs (typically your translation team's web or email address). */ printf (_("Report bugs to: %s\n"), PACKAGE_BUGREPORT); #ifdef PACKAGE_PACKAGER_BUG_REPORTS printf (_("Report %s bugs to: %s\n"), PACKAGE_PACKAGER, PACKAGE_PACKAGER_BUG_REPORTS); #endif #ifdef PACKAGE_URL printf (_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL); #else printf (_("%s home page: <%s>\n"), PACKAGE_NAME, "https://www.gnu.org/software/" PACKAGE "/"); #endif printf (_("General help using GNU software: <%s>\n"), "https://www.gnu.org/gethelp/"); } gsasl-1.8.1/gl/windows-once.c0000644000000000000000000000435513516251573012722 00000000000000/* Once-only control (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-once.h" #include void glwthread_once (glwthread_once_t *once_control, void (*initfunction) (void)) { if (once_control->inited <= 0) { if (InterlockedIncrement (&once_control->started) == 0) { /* This thread is the first one to come to this once_control. */ InitializeCriticalSection (&once_control->lock); EnterCriticalSection (&once_control->lock); once_control->inited = 0; initfunction (); once_control->inited = 1; LeaveCriticalSection (&once_control->lock); } else { /* Don't let once_control->started grow and wrap around. */ InterlockedDecrement (&once_control->started); /* Some other thread has already started the initialization. Yield the CPU while waiting for the other thread to finish initializing and taking the lock. */ while (once_control->inited < 0) Sleep (0); if (once_control->inited <= 0) { /* Take the lock. This blocks until the other thread has finished calling the initfunction. */ EnterCriticalSection (&once_control->lock); LeaveCriticalSection (&once_control->lock); if (!(once_control->inited > 0)) abort (); } } } } gsasl-1.8.1/gl/printf-args.h0000644000000000000000000000753413516251576012554 00000000000000/* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _PRINTF_ARGS_H #define _PRINTF_ARGS_H /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be declared. STATIC Set to 'static' to declare the function static. */ /* Default parameters. */ #ifndef PRINTF_FETCHARGS # define PRINTF_FETCHARGS printf_fetchargs #endif /* Get size_t. */ #include /* Get wchar_t. */ #if HAVE_WCHAR_T # include #endif /* Get wint_t. */ #if HAVE_WINT_T # include #endif /* Get va_list. */ #include /* Argument types */ typedef enum { TYPE_NONE, TYPE_SCHAR, TYPE_UCHAR, TYPE_SHORT, TYPE_USHORT, TYPE_INT, TYPE_UINT, TYPE_LONGINT, TYPE_ULONGINT, #if HAVE_LONG_LONG_INT TYPE_LONGLONGINT, TYPE_ULONGLONGINT, #endif TYPE_DOUBLE, TYPE_LONGDOUBLE, TYPE_CHAR, #if HAVE_WINT_T TYPE_WIDE_CHAR, #endif TYPE_STRING, #if HAVE_WCHAR_T TYPE_WIDE_STRING, #endif TYPE_POINTER, TYPE_COUNT_SCHAR_POINTER, TYPE_COUNT_SHORT_POINTER, TYPE_COUNT_INT_POINTER, TYPE_COUNT_LONGINT_POINTER #if HAVE_LONG_LONG_INT , TYPE_COUNT_LONGLONGINT_POINTER #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ , TYPE_U8_STRING , TYPE_U16_STRING , TYPE_U32_STRING #endif } arg_type; /* Polymorphic argument */ typedef struct { arg_type type; union { signed char a_schar; unsigned char a_uchar; short a_short; unsigned short a_ushort; int a_int; unsigned int a_uint; long int a_longint; unsigned long int a_ulongint; #if HAVE_LONG_LONG_INT long long int a_longlongint; unsigned long long int a_ulonglongint; #endif float a_float; double a_double; long double a_longdouble; int a_char; #if HAVE_WINT_T wint_t a_wide_char; #endif const char* a_string; #if HAVE_WCHAR_T const wchar_t* a_wide_string; #endif void* a_pointer; signed char * a_count_schar_pointer; short * a_count_short_pointer; int * a_count_int_pointer; long int * a_count_longint_pointer; #if HAVE_LONG_LONG_INT long long int * a_count_longlongint_pointer; #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ const uint8_t * a_u8_string; const uint16_t * a_u16_string; const uint32_t * a_u32_string; #endif } a; } argument; /* Number of directly allocated arguments (no malloc() needed). */ #define N_DIRECT_ALLOC_ARGUMENTS 7 typedef struct { size_t count; argument *arg; argument direct_alloc_arg[N_DIRECT_ALLOC_ARGUMENTS]; } arguments; /* Fetch the arguments, putting them into a. */ #ifdef STATIC STATIC #else extern #endif int PRINTF_FETCHARGS (va_list args, arguments *a); #endif /* _PRINTF_ARGS_H */ gsasl-1.8.1/gl/glthread/0000755000000000000000000000000013521017732011776 500000000000000gsasl-1.8.1/gl/glthread/lock.c0000644000000000000000000003000713516251573013021 00000000000000/* Locking in multithreaded situations. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h. */ #include #include "glthread/lock.h" /* ========================================================================= */ #if USE_POSIX_THREADS /* -------------------------- gl_lock_t datatype -------------------------- */ /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # ifdef PTHREAD_RWLOCK_INITIALIZER # if !HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER /* glibc with bug https://sourceware.org/bugzilla/show_bug.cgi?id=13701 */ int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock) { pthread_rwlockattr_t attributes; int err; err = pthread_rwlockattr_init (&attributes); if (err != 0) return err; /* Note: PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP is the only value that causes the writer to be preferred. PTHREAD_RWLOCK_PREFER_WRITER_NP does not do this; see http://man7.org/linux/man-pages/man3/pthread_rwlockattr_setkind_np.3.html */ err = pthread_rwlockattr_setkind_np (&attributes, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP); if (err == 0) err = pthread_rwlock_init(lock, &attributes); /* pthread_rwlockattr_destroy always returns 0. It cannot influence the return value. */ pthread_rwlockattr_destroy (&attributes); return err; } # endif # else int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_rwlock_init (&lock->rwlock, NULL); if (err != 0) return err; lock->initialized = 1; return 0; } int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_rwlock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_rwlock_rdlock (&lock->rwlock); } int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_rwlock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_rwlock_wrlock (&lock->rwlock); } int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) return EINVAL; return pthread_rwlock_unlock (&lock->rwlock); } int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = pthread_rwlock_destroy (&lock->rwlock); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_init (&lock->lock, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_readers, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_writers, NULL); if (err != 0) return err; lock->waiting_writers_count = 0; lock->runcount = 0; return 0; } int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ while (!(lock->runcount + 1 > 0 && lock->waiting_writers_count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ err = pthread_cond_wait (&lock->waiting_readers, &lock->lock); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } lock->runcount++; return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether no readers or writers are currently running. */ while (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ lock->waiting_writers_count++; err = pthread_cond_wait (&lock->waiting_writers, &lock->lock); if (err != 0) { lock->waiting_writers_count--; pthread_mutex_unlock (&lock->lock); return err; } lock->waiting_writers_count--; } lock->runcount--; /* runcount becomes -1 */ return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) { pthread_mutex_unlock (&lock->lock); return EINVAL; } lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { pthread_mutex_unlock (&lock->lock); return EINVAL; } lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers_count > 0) { /* Wake up one of the waiting writers. */ err = pthread_cond_signal (&lock->waiting_writers); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } else { /* Wake up all waiting readers. */ err = pthread_cond_broadcast (&lock->waiting_readers); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } } return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_destroy (&lock->lock); if (err != 0) return err; err = pthread_cond_destroy (&lock->waiting_readers); if (err != 0) return err; err = pthread_cond_destroy (&lock->waiting_writers); if (err != 0) return err; return 0; } # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = pthread_mutexattr_init (&attributes); if (err != 0) return err; err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutex_init (lock, &attributes); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutexattr_destroy (&attributes); if (err != 0) return err; return 0; } # else int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = pthread_mutexattr_init (&attributes); if (err != 0) return err; err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutex_init (&lock->recmutex, &attributes); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutexattr_destroy (&attributes); if (err != 0) return err; lock->initialized = 1; return 0; } int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_recursive_lock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_mutex_lock (&lock->recmutex); } int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock) { if (!lock->initialized) return EINVAL; return pthread_mutex_unlock (&lock->recmutex); } int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = pthread_mutex_destroy (&lock->recmutex); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { int err; err = pthread_mutex_init (&lock->mutex, NULL); if (err != 0) return err; lock->owner = (pthread_t) 0; lock->depth = 0; return 0; } int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock) { pthread_t self = pthread_self (); if (lock->owner != self) { int err; err = pthread_mutex_lock (&lock->mutex); if (err != 0) return err; lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ { lock->depth--; return EAGAIN; } return 0; } int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock) { if (lock->owner != pthread_self ()) return EPERM; if (lock->depth == 0) return EINVAL; if (--(lock->depth) == 0) { lock->owner = (pthread_t) 0; return pthread_mutex_unlock (&lock->mutex); } else return 0; } int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock) { if (lock->owner != (pthread_t) 0) return EBUSY; return pthread_mutex_destroy (&lock->mutex); } # endif /* -------------------------- gl_once_t datatype -------------------------- */ static const pthread_once_t fresh_once = PTHREAD_ONCE_INIT; int glthread_once_singlethreaded (pthread_once_t *once_control) { /* We don't know whether pthread_once_t is an integer type, a floating-point type, a pointer type, or a structure type. */ char *firstbyte = (char *)once_control; if (*firstbyte == *(const char *)&fresh_once) { /* First time use of once_control. Invert the first byte. */ *firstbyte = ~ *(const char *)&fresh_once; return 1; } else return 0; } #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS #endif /* ========================================================================= */ gsasl-1.8.1/gl/glthread/threadlib.c0000644000000000000000000000353713516251573014037 00000000000000/* Multithreading primitives. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. */ #include /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # include # if PTHREAD_IN_USE_DETECTION_HARD /* The function to be executed by a dummy thread. */ static void * dummy_thread_func (void *arg) { return arg; } int glthread_in_use (void) { static int tested; static int result; /* 1: linked with -lpthread, 0: only with libc */ if (!tested) { pthread_t thread; if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) /* Thread creation failed. */ result = 0; else { /* Thread creation works. */ void *retval; if (pthread_join (thread, &retval) != 0) abort (); result = 1; } tested = 1; } return result; } # endif #endif /* ========================================================================= */ /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; gsasl-1.8.1/gl/glthread/lock.h0000644000000000000000000006406113516251573013035 00000000000000/* Locking in multithreaded situations. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ /* This file contains locking primitives for use with a given thread library. It does not contain primitives for creating threads or for other synchronization primitives. Normal (non-recursive) locks: Type: gl_lock_t Declaration: gl_lock_define(extern, name) Initializer: gl_lock_define_initialized(, name) Initialization: gl_lock_init (name); Taking the lock: gl_lock_lock (name); Releasing the lock: gl_lock_unlock (name); De-initialization: gl_lock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_lock_init (&name); Taking the lock: err = glthread_lock_lock (&name); Releasing the lock: err = glthread_lock_unlock (&name); De-initialization: err = glthread_lock_destroy (&name); Read-Write (non-recursive) locks: Type: gl_rwlock_t Declaration: gl_rwlock_define(extern, name) Initializer: gl_rwlock_define_initialized(, name) Initialization: gl_rwlock_init (name); Taking the lock: gl_rwlock_rdlock (name); gl_rwlock_wrlock (name); Releasing the lock: gl_rwlock_unlock (name); De-initialization: gl_rwlock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_rwlock_init (&name); Taking the lock: err = glthread_rwlock_rdlock (&name); err = glthread_rwlock_wrlock (&name); Releasing the lock: err = glthread_rwlock_unlock (&name); De-initialization: err = glthread_rwlock_destroy (&name); Recursive locks: Type: gl_recursive_lock_t Declaration: gl_recursive_lock_define(extern, name) Initializer: gl_recursive_lock_define_initialized(, name) Initialization: gl_recursive_lock_init (name); Taking the lock: gl_recursive_lock_lock (name); Releasing the lock: gl_recursive_lock_unlock (name); De-initialization: gl_recursive_lock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_recursive_lock_init (&name); Taking the lock: err = glthread_recursive_lock_lock (&name); Releasing the lock: err = glthread_recursive_lock_unlock (&name); De-initialization: err = glthread_recursive_lock_destroy (&name); Once-only execution: Type: gl_once_t Initializer: gl_once_define(extern, name) Execution: gl_once (name, initfunction); Equivalent functions with control of error handling: Execution: err = glthread_once (&name, initfunction); */ #ifndef _LOCK_H #define _LOCK_H #include #include #if !defined c11_threads_in_use # if HAVE_THREADS_H && USE_POSIX_THREADS_WEAK # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif #endif /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # ifdef __cplusplus extern "C" { # endif # if PTHREAD_IN_USE_DETECTION_HARD /* The pthread_in_use() detection needs to be done at runtime. */ # define pthread_in_use() \ glthread_in_use () extern int glthread_in_use (void); # endif # if USE_POSIX_THREADS_WEAK /* Use weak references to the POSIX threads library. */ /* Weak references avoid dragging in external libraries if the other parts of the program don't use them. Here we use them, because we don't want every program that uses libintl to depend on libpthread. This assumes that libpthread would not be loaded after libintl; i.e. if libintl is loaded first, by an executable that does not depend on libpthread, and then a module is dynamically loaded that depends on libpthread, libintl will not be multithread-safe. */ /* The way to test at runtime whether libpthread is present is to test whether a function pointer's value, such as &pthread_mutex_init, is non-NULL. However, some versions of GCC have a bug through which, in PIC mode, &foo != NULL always evaluates to true if there is a direct call to foo(...) in the same function. To avoid this, we test the address of a function in libpthread that we don't use. */ # pragma weak pthread_mutex_init # pragma weak pthread_mutex_lock # pragma weak pthread_mutex_unlock # pragma weak pthread_mutex_destroy # pragma weak pthread_rwlock_init # pragma weak pthread_rwlock_rdlock # pragma weak pthread_rwlock_wrlock # pragma weak pthread_rwlock_unlock # pragma weak pthread_rwlock_destroy # pragma weak pthread_once # pragma weak pthread_cond_init # pragma weak pthread_cond_wait # pragma weak pthread_cond_signal # pragma weak pthread_cond_broadcast # pragma weak pthread_cond_destroy # pragma weak pthread_mutexattr_init # pragma weak pthread_mutexattr_settype # pragma weak pthread_mutexattr_destroy # pragma weak pthread_rwlockattr_init # if __GNU_LIBRARY__ > 1 # pragma weak pthread_rwlockattr_setkind_np # endif # pragma weak pthread_rwlockattr_destroy # ifndef pthread_self # pragma weak pthread_self # endif # if !PTHREAD_IN_USE_DETECTION_HARD /* Considering all platforms with USE_POSIX_THREADS_WEAK, only few symbols can be used to determine whether libpthread is in use. These are: pthread_mutexattr_gettype pthread_rwlockattr_destroy pthread_rwlockattr_init */ # pragma weak pthread_mutexattr_gettype # define pthread_in_use() \ (pthread_mutexattr_gettype != NULL || c11_threads_in_use ()) # endif # else # if !PTHREAD_IN_USE_DETECTION_HARD # define pthread_in_use() 1 # endif # endif /* -------------------------- gl_lock_t datatype -------------------------- */ typedef pthread_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer; # define gl_lock_initializer \ PTHREAD_MUTEX_INITIALIZER # define glthread_lock_init(LOCK) \ (pthread_in_use () ? pthread_mutex_init (LOCK, NULL) : 0) # define glthread_lock_lock(LOCK) \ (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0) # define glthread_lock_unlock(LOCK) \ (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0) # define glthread_lock_destroy(LOCK) \ (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # ifdef PTHREAD_RWLOCK_INITIALIZER typedef pthread_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer; # if HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER # define gl_rwlock_initializer \ PTHREAD_RWLOCK_INITIALIZER # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0) # else /* glibc with bug https://sourceware.org/bugzilla/show_bug.cgi?id=13701 */ # define gl_rwlock_initializer \ PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_for_glibc (LOCK) : 0) extern int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock); # endif # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_rdlock (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_wrlock (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_unlock (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? pthread_rwlock_destroy (LOCK) : 0) # else typedef struct { int initialized; pthread_mutex_t guard; /* protects the initialization */ pthread_rwlock_t rwlock; /* read-write lock */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { 0, PTHREAD_MUTEX_INITIALIZER } # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0) # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0) extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock); # endif # else typedef struct { pthread_mutex_t lock; /* protects the remaining fields */ pthread_cond_t waiting_readers; /* waiting readers */ pthread_cond_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 } # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0) # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0) extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock); # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP typedef pthread_mutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer; # ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER # else # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP # endif # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); # else typedef struct { pthread_mutex_t recmutex; /* recursive mutex */ pthread_mutex_t guard; /* protects the initialization */ int initialized; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, 0 } # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock); # endif # else /* Old versions of POSIX threads on Solaris did not have recursive locks. We have to implement them ourselves. */ typedef struct { pthread_mutex_t mutex; pthread_t owner; unsigned long depth; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, (pthread_t) 0, 0 } # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock); # endif /* -------------------------- gl_once_t datatype -------------------------- */ typedef pthread_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (pthread_in_use () \ ? pthread_once (ONCE_CONTROL, INITFUNCTION) \ : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0)) extern int glthread_once_singlethreaded (pthread_once_t *once_control); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-mutex.h" # include "windows-rwlock.h" # include "windows-recmutex.h" # include "windows-once.h" # ifdef __cplusplus extern "C" { # endif /* We can use CRITICAL_SECTION directly, rather than the native Windows Event, Mutex, Semaphore types, because - we need only to synchronize inside a single process (address space), not inter-process locking, - we don't need to support trylock operations. (TryEnterCriticalSection does not work on Windows 95/98/ME. Packages that need trylock usually define their own mutex type.) */ /* There is no way to statically initialize a CRITICAL_SECTION. It needs to be done lazily, once only. For this we need spinlocks. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef glwthread_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME = gl_lock_initializer; # define gl_lock_initializer \ GLWTHREAD_MUTEX_INIT # define glthread_lock_init(LOCK) \ (glwthread_mutex_init (LOCK), 0) # define glthread_lock_lock(LOCK) \ glwthread_mutex_lock (LOCK) # define glthread_lock_unlock(LOCK) \ glwthread_mutex_unlock (LOCK) # define glthread_lock_destroy(LOCK) \ glwthread_mutex_destroy (LOCK) /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef glwthread_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ GLWTHREAD_RWLOCK_INIT # define glthread_rwlock_init(LOCK) \ (glwthread_rwlock_init (LOCK), 0) # define glthread_rwlock_rdlock(LOCK) \ glwthread_rwlock_rdlock (LOCK) # define glthread_rwlock_wrlock(LOCK) \ glwthread_rwlock_wrlock (LOCK) # define glthread_rwlock_unlock(LOCK) \ glwthread_rwlock_unlock (LOCK) # define glthread_rwlock_destroy(LOCK) \ glwthread_rwlock_destroy (LOCK) /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef glwthread_recmutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ GLWTHREAD_RECMUTEX_INIT # define glthread_recursive_lock_init(LOCK) \ (glwthread_recmutex_init (LOCK), 0) # define glthread_recursive_lock_lock(LOCK) \ glwthread_recmutex_lock (LOCK) # define glthread_recursive_lock_unlock(LOCK) \ glwthread_recmutex_unlock (LOCK) # define glthread_recursive_lock_destroy(LOCK) \ glwthread_recmutex_destroy (LOCK) /* -------------------------- gl_once_t datatype -------------------------- */ typedef glwthread_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = GLWTHREAD_ONCE_INIT; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (glwthread_once (ONCE_CONTROL, INITFUNCTION), 0) # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef int gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) # define gl_lock_define_initialized(STORAGECLASS, NAME) # define glthread_lock_init(NAME) 0 # define glthread_lock_lock(NAME) 0 # define glthread_lock_unlock(NAME) 0 # define glthread_lock_destroy(NAME) 0 /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef int gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) # define gl_rwlock_define_initialized(STORAGECLASS, NAME) # define glthread_rwlock_init(NAME) 0 # define glthread_rwlock_rdlock(NAME) 0 # define glthread_rwlock_wrlock(NAME) 0 # define glthread_rwlock_unlock(NAME) 0 # define glthread_rwlock_destroy(NAME) 0 /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef int gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) # define glthread_recursive_lock_init(NAME) 0 # define glthread_recursive_lock_lock(NAME) 0 # define glthread_recursive_lock_unlock(NAME) 0 # define glthread_recursive_lock_destroy(NAME) 0 /* -------------------------- gl_once_t datatype -------------------------- */ typedef int gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = 0; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (*(ONCE_CONTROL) == 0 ? (*(ONCE_CONTROL) = ~ 0, INITFUNCTION (), 0) : 0) #endif /* ========================================================================= */ /* Macros with built-in error handling. */ /* -------------------------- gl_lock_t datatype -------------------------- */ #define gl_lock_init(NAME) \ do \ { \ if (glthread_lock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_lock(NAME) \ do \ { \ if (glthread_lock_lock (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_unlock(NAME) \ do \ { \ if (glthread_lock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_destroy(NAME) \ do \ { \ if (glthread_lock_destroy (&NAME)) \ abort (); \ } \ while (0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ #define gl_rwlock_init(NAME) \ do \ { \ if (glthread_rwlock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_rdlock(NAME) \ do \ { \ if (glthread_rwlock_rdlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_wrlock(NAME) \ do \ { \ if (glthread_rwlock_wrlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_unlock(NAME) \ do \ { \ if (glthread_rwlock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_destroy(NAME) \ do \ { \ if (glthread_rwlock_destroy (&NAME)) \ abort (); \ } \ while (0) /* --------------------- gl_recursive_lock_t datatype --------------------- */ #define gl_recursive_lock_init(NAME) \ do \ { \ if (glthread_recursive_lock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_lock(NAME) \ do \ { \ if (glthread_recursive_lock_lock (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_unlock(NAME) \ do \ { \ if (glthread_recursive_lock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_destroy(NAME) \ do \ { \ if (glthread_recursive_lock_destroy (&NAME)) \ abort (); \ } \ while (0) /* -------------------------- gl_once_t datatype -------------------------- */ #define gl_once(NAME, INITFUNCTION) \ do \ { \ if (glthread_once (&NAME, INITFUNCTION)) \ abort (); \ } \ while (0) /* ========================================================================= */ #endif /* _LOCK_H */ gsasl-1.8.1/gl/getopt-pfx-ext.h0000644000000000000000000000533213516251573013202 00000000000000/* getopt (GNU extensions) gnulib wrapper header. Copyright (C) 1989-2019 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This file 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 gnulib; if not, see . */ #ifndef _GETOPT_PFX_EXT_H #define _GETOPT_PFX_EXT_H 1 /* This header should not be used directly; include getopt.h instead. It does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ /* Standalone applications should #define __GETOPT_PREFIX to an identifier that prefixes the external functions and variables defined in getopt-core.h and getopt-ext.h. Systematically rename identifiers so that they do not collide with the system functions and variables. Renaming avoids problems with some compilers and linkers. */ #ifdef __GETOPT_PREFIX # ifndef __GETOPT_ID # define __GETOPT_CONCAT(x, y) x ## y # define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) # define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) # endif # undef getopt_long # undef getopt_long_only # undef option # undef _getopt_internal # define getopt_long __GETOPT_ID (getopt_long) # define getopt_long_only __GETOPT_ID (getopt_long_only) # define option __GETOPT_ID (option) # define _getopt_internal __GETOPT_ID (getopt_internal) /* The system's getopt.h may have already included getopt-ext.h to declare the unprefixed identifiers. Undef _GETOPT_EXT_H so that getopt-ext.h declares them with prefixes. */ # undef _GETOPT_EXT_H #endif /* Standalone applications get correct prototypes for getopt_long and getopt_long_only; they declare "char **argv". For backward compatibility with old applications, if __GETOPT_PREFIX is not defined, we supply GNU-libc-compatible, but incorrect, prototypes using "char *const *argv". (GNU libc is stuck with the incorrect prototypes, as they are baked into older versions of LSB.) */ #ifndef __getopt_argv_const # if defined __GETOPT_PREFIX # define __getopt_argv_const /* empty */ # else # define __getopt_argv_const const # endif #endif #include #endif /* _GETOPT_PFX_EXT_H */ gsasl-1.8.1/gl/stdarg.in.h0000644000000000000000000000216313516251576012202 00000000000000/* Substitute for and wrapper around . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_STDARG_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDARG_H@ #ifndef _@GUARD_PREFIX@_STDARG_H #define _@GUARD_PREFIX@_STDARG_H #ifndef va_copy # define va_copy(a,b) ((a) = (b)) #endif #endif /* _@GUARD_PREFIX@_STDARG_H */ #endif /* _@GUARD_PREFIX@_STDARG_H */ gsasl-1.8.1/gl/stdint.in.h0000644000000000000000000005421713516251577012233 00000000000000/* Copyright (C) 2001-2002, 2004-2019 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. This file is part of gnulib. 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 3, 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, see . */ /* * ISO C 99 for platforms that lack it. * */ #ifndef _@GUARD_PREFIX@_STDINT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* When including a system file that in turn includes , use the system , not our substitute. This avoids problems with (for example) VMS, whose includes . */ #define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H /* On Android (Bionic libc), includes this file before having defined 'time_t'. Therefore in this case avoid including other system header files; just include the system's . Ideally we should test __BIONIC__ here, but it is only defined after has been included; hence test __ANDROID__ instead. */ #if defined __ANDROID__ && defined _GL_INCLUDING_SYS_TYPES_H # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else /* Get those types that are already defined in other system include files, so that we can "#define int8_t signed char" below without worrying about a later system include file containing a "typedef signed char int8_t;" that will get messed up by our macro. Our macros should all be consistent with the system versions, except for the "fast" types and macros, which we recommend against using in public interfaces due to compiler differences. */ #if @HAVE_STDINT_H@ # if defined __sgi && ! defined __c99 /* Bypass IRIX's if in C89 mode, since it merely annoys users with "This header file is to be used only for c99 mode compilations" diagnostics. */ # define __STDINT_H__ # endif /* Some pre-C++11 implementations need this. */ # ifdef __cplusplus # ifndef __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS 1 # endif # ifndef __STDC_LIMIT_MACROS # define __STDC_LIMIT_MACROS 1 # endif # endif /* Other systems may have an incomplete or buggy . Include it before , since any "#include " in would reinclude us, skipping our contents because _@GUARD_PREFIX@_STDINT_H is defined. The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #endif #if ! defined _@GUARD_PREFIX@_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H #define _@GUARD_PREFIX@_STDINT_H /* Get SCHAR_MIN, SCHAR_MAX, UCHAR_MAX, INT_MIN, INT_MAX, LONG_MIN, LONG_MAX, ULONG_MAX, _GL_INTEGER_WIDTH. */ #include /* Override WINT_MIN and WINT_MAX if gnulib's or overrides wint_t. */ #if @GNULIB_OVERRIDES_WINT_T@ # undef WINT_MIN # undef WINT_MAX # define WINT_MIN 0x0U # define WINT_MAX 0xffffffffU #endif #if ! @HAVE_C99_STDINT_H@ /* defines some of the stdint.h types as well, on glibc, IRIX 6.5, and OpenBSD 3.8 (via ). AIX 5.2 isn't needed and causes troubles. Mac OS X 10.4.6 includes (which is us), but relies on the system definitions, so include after @NEXT_STDINT_H@. */ # if @HAVE_SYS_TYPES_H@ && ! defined _AIX # include # endif # if @HAVE_INTTYPES_H@ /* In OpenBSD 3.8, includes , which defines int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__. also defines intptr_t and uintptr_t. */ # include # elif @HAVE_SYS_INTTYPES_H@ /* Solaris 7 has the types except the *_fast*_t types, and the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX. */ # include # endif # if @HAVE_SYS_BITYPES_H@ && ! defined __BIT_TYPES_DEFINED__ /* Linux libc4 >= 4.6.7 and libc5 have a that defines int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is included by . */ # include # endif # undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H /* Minimum and maximum values for an integer type under the usual assumption. Return an unspecified value if BITS == 0, adding a check to pacify picky compilers. */ /* These are separate macros, because if you try to merge these macros into a single one, HP-UX cc rejects the resulting expression in constant expressions. */ # define _STDINT_UNSIGNED_MIN(bits, zero) \ (zero) # define _STDINT_SIGNED_MIN(bits, zero) \ (~ _STDINT_MAX (1, bits, zero)) # define _STDINT_MAX(signed, bits, zero) \ (((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1) #if !GNULIB_defined_stdint_types /* 7.18.1.1. Exact-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. */ # undef int8_t # undef uint8_t typedef signed char gl_int8_t; typedef unsigned char gl_uint8_t; # define int8_t gl_int8_t # define uint8_t gl_uint8_t # undef int16_t # undef uint16_t typedef short int gl_int16_t; typedef unsigned short int gl_uint16_t; # define int16_t gl_int16_t # define uint16_t gl_uint16_t # undef int32_t # undef uint32_t typedef int gl_int32_t; typedef unsigned int gl_uint32_t; # define int32_t gl_int32_t # define uint32_t gl_uint32_t /* If the system defines INT64_MAX, assume int64_t works. That way, if the underlying platform defines int64_t to be a 64-bit long long int, the code below won't mistakenly define it to be a 64-bit long int, which would mess up C++ name mangling. We must use #ifdef rather than #if, to avoid an error with HP-UX 10.20 cc. */ # ifdef INT64_MAX # define GL_INT64_T # else /* Do not undefine int64_t if gnulib is not being used with 64-bit types, since otherwise it breaks platforms like Tandem/NSK. */ # if LONG_MAX >> 31 >> 31 == 1 # undef int64_t typedef long int gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # elif defined _MSC_VER # undef int64_t typedef __int64 gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # elif @HAVE_LONG_LONG_INT@ # undef int64_t typedef long long int gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # endif # endif # ifdef UINT64_MAX # define GL_UINT64_T # else # if ULONG_MAX >> 31 >> 31 >> 1 == 1 # undef uint64_t typedef unsigned long int gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # elif defined _MSC_VER # undef uint64_t typedef unsigned __int64 gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # elif @HAVE_UNSIGNED_LONG_LONG_INT@ # undef uint64_t typedef unsigned long long int gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # endif # endif /* Avoid collision with Solaris 2.5.1 etc. */ # define _UINT8_T # define _UINT32_T # define _UINT64_T /* 7.18.1.2. Minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types are the same as the corresponding N_t types. */ # undef int_least8_t # undef uint_least8_t # undef int_least16_t # undef uint_least16_t # undef int_least32_t # undef uint_least32_t # undef int_least64_t # undef uint_least64_t # define int_least8_t int8_t # define uint_least8_t uint8_t # define int_least16_t int16_t # define uint_least16_t uint16_t # define int_least32_t int32_t # define uint_least32_t uint32_t # ifdef GL_INT64_T # define int_least64_t int64_t # endif # ifdef GL_UINT64_T # define uint_least64_t uint64_t # endif /* 7.18.1.3. Fastest minimum-width integer types */ /* Note: Other substitutes may define these types differently. It is not recommended to use these types in public header files. */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types are taken from the same list of types. The following code normally uses types consistent with glibc, as that lessens the chance of incompatibility with older GNU hosts. */ # undef int_fast8_t # undef uint_fast8_t # undef int_fast16_t # undef uint_fast16_t # undef int_fast32_t # undef uint_fast32_t # undef int_fast64_t # undef uint_fast64_t typedef signed char gl_int_fast8_t; typedef unsigned char gl_uint_fast8_t; # ifdef __sun /* Define types compatible with SunOS 5.10, so that code compiled under earlier SunOS versions works with code compiled under SunOS 5.10. */ typedef int gl_int_fast32_t; typedef unsigned int gl_uint_fast32_t; # else typedef long int gl_int_fast32_t; typedef unsigned long int gl_uint_fast32_t; # endif typedef gl_int_fast32_t gl_int_fast16_t; typedef gl_uint_fast32_t gl_uint_fast16_t; # define int_fast8_t gl_int_fast8_t # define uint_fast8_t gl_uint_fast8_t # define int_fast16_t gl_int_fast16_t # define uint_fast16_t gl_uint_fast16_t # define int_fast32_t gl_int_fast32_t # define uint_fast32_t gl_uint_fast32_t # ifdef GL_INT64_T # define int_fast64_t int64_t # endif # ifdef GL_UINT64_T # define uint_fast64_t uint64_t # endif /* 7.18.1.4. Integer types capable of holding object pointers */ /* kLIBC's stdint.h defines _INTPTR_T_DECLARED and needs its own definitions of intptr_t and uintptr_t (which use int and unsigned) to avoid clashes with declarations of system functions like sbrk. */ # ifndef _INTPTR_T_DECLARED # undef intptr_t # undef uintptr_t typedef long int gl_intptr_t; typedef unsigned long int gl_uintptr_t; # define intptr_t gl_intptr_t # define uintptr_t gl_uintptr_t # endif /* 7.18.1.5. Greatest-width integer types */ /* Note: These types are compiler dependent. It may be unwise to use them in public header files. */ /* If the system defines INTMAX_MAX, assume that intmax_t works, and similarly for UINTMAX_MAX and uintmax_t. This avoids problems with assuming one type where another is used by the system. */ # ifndef INTMAX_MAX # undef INTMAX_C # undef intmax_t # if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 typedef long long int gl_intmax_t; # define intmax_t gl_intmax_t # elif defined GL_INT64_T # define intmax_t int64_t # else typedef long int gl_intmax_t; # define intmax_t gl_intmax_t # endif # endif # ifndef UINTMAX_MAX # undef UINTMAX_C # undef uintmax_t # if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 typedef unsigned long long int gl_uintmax_t; # define uintmax_t gl_uintmax_t # elif defined GL_UINT64_T # define uintmax_t uint64_t # else typedef unsigned long int gl_uintmax_t; # define uintmax_t gl_uintmax_t # endif # endif /* Verify that intmax_t and uintmax_t have the same size. Too much code breaks if this is not the case. If this check fails, the reason is likely to be found in the autoconf macros. */ typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) ? 1 : -1]; # define GNULIB_defined_stdint_types 1 # endif /* !GNULIB_defined_stdint_types */ /* 7.18.2. Limits of specified-width integer types */ /* 7.18.2.1. Limits of exact-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. */ # undef INT8_MIN # undef INT8_MAX # undef UINT8_MAX # define INT8_MIN (~ INT8_MAX) # define INT8_MAX 127 # define UINT8_MAX 255 # undef INT16_MIN # undef INT16_MAX # undef UINT16_MAX # define INT16_MIN (~ INT16_MAX) # define INT16_MAX 32767 # define UINT16_MAX 65535 # undef INT32_MIN # undef INT32_MAX # undef UINT32_MAX # define INT32_MIN (~ INT32_MAX) # define INT32_MAX 2147483647 # define UINT32_MAX 4294967295U # if defined GL_INT64_T && ! defined INT64_MAX /* Prefer (- INTMAX_C (1) << 63) over (~ INT64_MAX) because SunPRO C 5.0 evaluates the latter incorrectly in preprocessor expressions. */ # define INT64_MIN (- INTMAX_C (1) << 63) # define INT64_MAX INTMAX_C (9223372036854775807) # endif # if defined GL_UINT64_T && ! defined UINT64_MAX # define UINT64_MAX UINTMAX_C (18446744073709551615) # endif /* 7.18.2.2. Limits of minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types are the same as the corresponding N_t types. */ # undef INT_LEAST8_MIN # undef INT_LEAST8_MAX # undef UINT_LEAST8_MAX # define INT_LEAST8_MIN INT8_MIN # define INT_LEAST8_MAX INT8_MAX # define UINT_LEAST8_MAX UINT8_MAX # undef INT_LEAST16_MIN # undef INT_LEAST16_MAX # undef UINT_LEAST16_MAX # define INT_LEAST16_MIN INT16_MIN # define INT_LEAST16_MAX INT16_MAX # define UINT_LEAST16_MAX UINT16_MAX # undef INT_LEAST32_MIN # undef INT_LEAST32_MAX # undef UINT_LEAST32_MAX # define INT_LEAST32_MIN INT32_MIN # define INT_LEAST32_MAX INT32_MAX # define UINT_LEAST32_MAX UINT32_MAX # undef INT_LEAST64_MIN # undef INT_LEAST64_MAX # ifdef GL_INT64_T # define INT_LEAST64_MIN INT64_MIN # define INT_LEAST64_MAX INT64_MAX # endif # undef UINT_LEAST64_MAX # ifdef GL_UINT64_T # define UINT_LEAST64_MAX UINT64_MAX # endif /* 7.18.2.3. Limits of fastest minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types are taken from the same list of types. */ # undef INT_FAST8_MIN # undef INT_FAST8_MAX # undef UINT_FAST8_MAX # define INT_FAST8_MIN SCHAR_MIN # define INT_FAST8_MAX SCHAR_MAX # define UINT_FAST8_MAX UCHAR_MAX # undef INT_FAST16_MIN # undef INT_FAST16_MAX # undef UINT_FAST16_MAX # define INT_FAST16_MIN INT_FAST32_MIN # define INT_FAST16_MAX INT_FAST32_MAX # define UINT_FAST16_MAX UINT_FAST32_MAX # undef INT_FAST32_MIN # undef INT_FAST32_MAX # undef UINT_FAST32_MAX # ifdef __sun # define INT_FAST32_MIN INT_MIN # define INT_FAST32_MAX INT_MAX # define UINT_FAST32_MAX UINT_MAX # else # define INT_FAST32_MIN LONG_MIN # define INT_FAST32_MAX LONG_MAX # define UINT_FAST32_MAX ULONG_MAX # endif # undef INT_FAST64_MIN # undef INT_FAST64_MAX # ifdef GL_INT64_T # define INT_FAST64_MIN INT64_MIN # define INT_FAST64_MAX INT64_MAX # endif # undef UINT_FAST64_MAX # ifdef GL_UINT64_T # define UINT_FAST64_MAX UINT64_MAX # endif /* 7.18.2.4. Limits of integer types capable of holding object pointers */ # undef INTPTR_MIN # undef INTPTR_MAX # undef UINTPTR_MAX # define INTPTR_MIN LONG_MIN # define INTPTR_MAX LONG_MAX # define UINTPTR_MAX ULONG_MAX /* 7.18.2.5. Limits of greatest-width integer types */ # ifndef INTMAX_MAX # undef INTMAX_MIN # ifdef INT64_MAX # define INTMAX_MIN INT64_MIN # define INTMAX_MAX INT64_MAX # else # define INTMAX_MIN INT32_MIN # define INTMAX_MAX INT32_MAX # endif # endif # ifndef UINTMAX_MAX # ifdef UINT64_MAX # define UINTMAX_MAX UINT64_MAX # else # define UINTMAX_MAX UINT32_MAX # endif # endif /* 7.18.3. Limits of other integer types */ /* ptrdiff_t limits */ # undef PTRDIFF_MIN # undef PTRDIFF_MAX # if @APPLE_UNIVERSAL_BUILD@ # ifdef _LP64 # define PTRDIFF_MIN _STDINT_SIGNED_MIN (64, 0l) # define PTRDIFF_MAX _STDINT_MAX (1, 64, 0l) # else # define PTRDIFF_MIN _STDINT_SIGNED_MIN (32, 0) # define PTRDIFF_MAX _STDINT_MAX (1, 32, 0) # endif # else # define PTRDIFF_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) # define PTRDIFF_MAX \ _STDINT_MAX (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) # endif /* sig_atomic_t limits */ # undef SIG_ATOMIC_MIN # undef SIG_ATOMIC_MAX # if @HAVE_SIGNED_SIG_ATOMIC_T@ # define SIG_ATOMIC_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_SIG_ATOMIC_T@, 0@SIG_ATOMIC_T_SUFFIX@) # else # define SIG_ATOMIC_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_SIG_ATOMIC_T@, 0@SIG_ATOMIC_T_SUFFIX@) # endif # define SIG_ATOMIC_MAX \ _STDINT_MAX (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \ 0@SIG_ATOMIC_T_SUFFIX@) /* size_t limit */ # undef SIZE_MAX # if @APPLE_UNIVERSAL_BUILD@ # ifdef _LP64 # define SIZE_MAX _STDINT_MAX (0, 64, 0ul) # else # define SIZE_MAX _STDINT_MAX (0, 32, 0ul) # endif # else # define SIZE_MAX _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0@SIZE_T_SUFFIX@) # endif /* wchar_t limits */ /* Get WCHAR_MIN, WCHAR_MAX. This include is not on the top, above, because on OSF/1 4.0 we have a sequence of nested includes -> -> -> , and the latter includes and assumes its types are already defined. */ # if @HAVE_WCHAR_H@ && ! (defined WCHAR_MIN && defined WCHAR_MAX) /* BSD/OS 4.0.1 has a bug: , and must be included before . */ # include # include # include # define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H # include # undef _GL_JUST_INCLUDE_SYSTEM_WCHAR_H # endif # undef WCHAR_MIN # undef WCHAR_MAX # if @HAVE_SIGNED_WCHAR_T@ # define WCHAR_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) # else # define WCHAR_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) # endif # define WCHAR_MAX \ _STDINT_MAX (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) /* wint_t limits */ # undef WINT_MIN # undef WINT_MAX # if @HAVE_SIGNED_WINT_T@ # define WINT_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) # else # define WINT_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) # endif # define WINT_MAX \ _STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) /* 7.18.4. Macros for integer constants */ /* 7.18.4.1. Macros for minimum-width integer constants */ /* According to ISO C 99 Technical Corrigendum 1 */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits, and int is 32 bits. */ # undef INT8_C # undef UINT8_C # define INT8_C(x) x # define UINT8_C(x) x # undef INT16_C # undef UINT16_C # define INT16_C(x) x # define UINT16_C(x) x # undef INT32_C # undef UINT32_C # define INT32_C(x) x # define UINT32_C(x) x ## U # undef INT64_C # undef UINT64_C # if LONG_MAX >> 31 >> 31 == 1 # define INT64_C(x) x##L # elif defined _MSC_VER # define INT64_C(x) x##i64 # elif @HAVE_LONG_LONG_INT@ # define INT64_C(x) x##LL # endif # if ULONG_MAX >> 31 >> 31 >> 1 == 1 # define UINT64_C(x) x##UL # elif defined _MSC_VER # define UINT64_C(x) x##ui64 # elif @HAVE_UNSIGNED_LONG_LONG_INT@ # define UINT64_C(x) x##ULL # endif /* 7.18.4.2. Macros for greatest-width integer constants */ # ifndef INTMAX_C # if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 # define INTMAX_C(x) x##LL # elif defined GL_INT64_T # define INTMAX_C(x) INT64_C(x) # else # define INTMAX_C(x) x##L # endif # endif # ifndef UINTMAX_C # if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 # define UINTMAX_C(x) x##ULL # elif defined GL_UINT64_T # define UINTMAX_C(x) UINT64_C(x) # else # define UINTMAX_C(x) x##UL # endif # endif #endif /* !@HAVE_C99_STDINT_H@ */ /* Macros specified by ISO/IEC TS 18661-1:2014. */ #if (!defined UINTMAX_WIDTH \ && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__)) # ifdef INT8_MAX # define INT8_WIDTH _GL_INTEGER_WIDTH (INT8_MIN, INT8_MAX) # endif # ifdef UINT8_MAX # define UINT8_WIDTH _GL_INTEGER_WIDTH (0, UINT8_MAX) # endif # ifdef INT16_MAX # define INT16_WIDTH _GL_INTEGER_WIDTH (INT16_MIN, INT16_MAX) # endif # ifdef UINT16_MAX # define UINT16_WIDTH _GL_INTEGER_WIDTH (0, UINT16_MAX) # endif # ifdef INT32_MAX # define INT32_WIDTH _GL_INTEGER_WIDTH (INT32_MIN, INT32_MAX) # endif # ifdef UINT32_MAX # define UINT32_WIDTH _GL_INTEGER_WIDTH (0, UINT32_MAX) # endif # ifdef INT64_MAX # define INT64_WIDTH _GL_INTEGER_WIDTH (INT64_MIN, INT64_MAX) # endif # ifdef UINT64_MAX # define UINT64_WIDTH _GL_INTEGER_WIDTH (0, UINT64_MAX) # endif # define INT_LEAST8_WIDTH _GL_INTEGER_WIDTH (INT_LEAST8_MIN, INT_LEAST8_MAX) # define UINT_LEAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST8_MAX) # define INT_LEAST16_WIDTH _GL_INTEGER_WIDTH (INT_LEAST16_MIN, INT_LEAST16_MAX) # define UINT_LEAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST16_MAX) # define INT_LEAST32_WIDTH _GL_INTEGER_WIDTH (INT_LEAST32_MIN, INT_LEAST32_MAX) # define UINT_LEAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST32_MAX) # define INT_LEAST64_WIDTH _GL_INTEGER_WIDTH (INT_LEAST64_MIN, INT_LEAST64_MAX) # define UINT_LEAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST64_MAX) # define INT_FAST8_WIDTH _GL_INTEGER_WIDTH (INT_FAST8_MIN, INT_FAST8_MAX) # define UINT_FAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST8_MAX) # define INT_FAST16_WIDTH _GL_INTEGER_WIDTH (INT_FAST16_MIN, INT_FAST16_MAX) # define UINT_FAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST16_MAX) # define INT_FAST32_WIDTH _GL_INTEGER_WIDTH (INT_FAST32_MIN, INT_FAST32_MAX) # define UINT_FAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST32_MAX) # define INT_FAST64_WIDTH _GL_INTEGER_WIDTH (INT_FAST64_MIN, INT_FAST64_MAX) # define UINT_FAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST64_MAX) # define INTPTR_WIDTH _GL_INTEGER_WIDTH (INTPTR_MIN, INTPTR_MAX) # define UINTPTR_WIDTH _GL_INTEGER_WIDTH (0, UINTPTR_MAX) # define INTMAX_WIDTH _GL_INTEGER_WIDTH (INTMAX_MIN, INTMAX_MAX) # define UINTMAX_WIDTH _GL_INTEGER_WIDTH (0, UINTMAX_MAX) # define PTRDIFF_WIDTH _GL_INTEGER_WIDTH (PTRDIFF_MIN, PTRDIFF_MAX) # define SIZE_WIDTH _GL_INTEGER_WIDTH (0, SIZE_MAX) # define WCHAR_WIDTH _GL_INTEGER_WIDTH (WCHAR_MIN, WCHAR_MAX) # ifdef WINT_MAX # define WINT_WIDTH _GL_INTEGER_WIDTH (WINT_MIN, WINT_MAX) # endif # ifdef SIG_ATOMIC_MAX # define SIG_ATOMIC_WIDTH _GL_INTEGER_WIDTH (SIG_ATOMIC_MIN, SIG_ATOMIC_MAX) # endif #endif /* !WINT_WIDTH && (_GNU_SOURCE || __STDC_WANT_IEC_60559_BFP_EXT__) */ #endif /* _@GUARD_PREFIX@_STDINT_H */ #endif /* !(defined __ANDROID__ && ...) */ #endif /* !defined _@GUARD_PREFIX@_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */ gsasl-1.8.1/gl/strtok_r.c0000644000000000000000000000411513516251577012153 00000000000000/* Reentrant string tokenizer. Generic version. Copyright (C) 1991, 1996-1999, 2001, 2004, 2007, 2009-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3 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, see . */ #ifdef HAVE_CONFIG_H # include #endif #include #ifdef _LIBC # undef strtok_r # undef __strtok_r #else # define __strtok_r strtok_r # define __rawmemchr strchr #endif /* Parse S into tokens separated by characters in DELIM. If S is NULL, the saved pointer in SAVE_PTR is used as the next starting point. For example: char s[] = "-abc-=-def"; char *sp; x = strtok_r(s, "-", &sp); // x = "abc", sp = "=-def" x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = strtok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" */ char * __strtok_r (char *s, const char *delim, char **save_ptr) { char *token; if (s == NULL) s = *save_ptr; /* Scan leading delimiters. */ s += strspn (s, delim); if (*s == '\0') { *save_ptr = s; return NULL; } /* Find the end of the token. */ token = s; s = strpbrk (token, delim); if (s == NULL) /* This token finishes the string. */ *save_ptr = __rawmemchr (token, '\0'); else { /* Terminate the token and make *SAVE_PTR point past it. */ *s = '\0'; *save_ptr = s + 1; } return token; } #ifdef weak_alias libc_hidden_def (__strtok_r) weak_alias (__strtok_r, strtok_r) #endif gsasl-1.8.1/gl/stdio.in.h0000644000000000000000000014473613516251577012056 00000000000000/* A GNU-like . Copyright (C) 2004, 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_FILE || defined __need___FILE || defined _GL_ALREADY_INCLUDING_STDIO_H /* Special invocation convention: - Inside glibc header files. - On OSF/1 5.1 we have a sequence of nested includes -> -> -> -> -> -> -> . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_STDIO_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STDIO_H #define _GL_ALREADY_INCLUDING_STDIO_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDIO_H@ #undef _GL_ALREADY_INCLUDING_STDIO_H #ifndef _@GUARD_PREFIX@_STDIO_H #define _@GUARD_PREFIX@_STDIO_H /* Get va_list. Needed on many systems, including glibc 2.8. */ #include #include /* Get off_t and ssize_t. Needed on many systems, including glibc 2.8 and eglibc 2.11.2. May also define off_t to a 64-bit type on native Windows. */ #include /* The __attribute__ feature is available in gcc versions 2.5 and later. The __-protected variants of the attributes 'format' and 'printf' are accepted by gcc versions 2.6.4 (effectively 2.7) and later. We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because gnulib and libintl do '#define printf __printf__' when they override the 'printf' function. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) #else # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ #endif /* _GL_ATTRIBUTE_FORMAT_PRINTF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. */ #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) # define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument)) #else # define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) #endif /* _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_PRINTF, except that it indicates to GCC that the supported format string directives are the ones of the system printf(), rather than the ones standardized by ISO C99 and POSIX. */ #if GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU # define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT_PRINTF (formatstring_parameter, first_argument) #else # define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) #endif /* _GL_ATTRIBUTE_FORMAT_SCANF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. */ #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__gnu_scanf__, formatstring_parameter, first_argument)) #else # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) #endif /* _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_SCANF, except that it indicates to GCC that the supported format string directives are the ones of the system scanf(), rather than the ones standardized by ISO C99 and POSIX. */ #define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) /* Solaris 10 and NetBSD 7.0 declare renameat in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && (defined __sun || defined __NetBSD__) \ && ! defined __GLIBC__ # include #endif /* Android 4.3 declares renameat in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && defined __ANDROID__ \ && ! defined __GLIBC__ # include #endif /* MSVC declares 'perror' in , not in . We must include it before we #define perror rpl_perror. */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_PERROR@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) \ && ! defined __GLIBC__ # include #endif /* MSVC declares 'remove' in , not in . We must include it before we #define remove rpl_remove. */ /* MSVC declares 'rename' in , not in . We must include it before we #define rename rpl_rename. */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_REMOVE@ || @GNULIB_RENAME@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) \ && ! defined __GLIBC__ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Macros for stringification. */ #define _GL_STDIO_STRINGIZE(token) #token #define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token) /* When also using extern inline, suppress the use of static inline in standard headers of problematic Apple configurations, as Libc at least through Libc-825.26 (2013-04-09) mishandles it; see, e.g., . Perhaps Apple will fix this some day. */ #if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \ && defined __GNUC__ && defined __STDC__) # undef putc_unlocked #endif #if @GNULIB_DPRINTF@ # if @REPLACE_DPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dprintf rpl_dprintf # endif _GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...)); # else # if !@HAVE_DPRINTF@ _GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *format, ...)); # endif _GL_CXXALIASWARN (dprintf); #elif defined GNULIB_POSIXCHECK # undef dprintf # if HAVE_RAW_DECL_DPRINTF _GL_WARN_ON_USE (dprintf, "dprintf is unportable - " "use gnulib module dprintf for portability"); # endif #endif #if @GNULIB_FCLOSE@ /* Close STREAM and its underlying file descriptor. */ # if @REPLACE_FCLOSE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fclose rpl_fclose # endif _GL_FUNCDECL_RPL (fclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fclose, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (fclose, int, (FILE *stream)); # endif _GL_CXXALIASWARN (fclose); #elif defined GNULIB_POSIXCHECK # undef fclose /* Assume fclose is always declared. */ _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " "use gnulib module fclose for portable POSIX compliance"); #endif #if @GNULIB_FDOPEN@ # if @REPLACE_FDOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fdopen # define fdopen rpl_fdopen # endif _GL_FUNCDECL_RPL (fdopen, FILE *, (int fd, const char *mode) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode)); # else _GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); # endif _GL_CXXALIASWARN (fdopen); #elif defined GNULIB_POSIXCHECK # undef fdopen /* Assume fdopen is always declared. */ _GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - " "use gnulib module fdopen for portability"); #endif #if @GNULIB_FFLUSH@ /* Flush all pending data on STREAM according to POSIX rules. Both output and seekable input streams are supported. Note! LOSS OF DATA can occur if fflush is applied on an input stream that is _not_seekable_ or on an update stream that is _not_seekable_ and in which the most recent operation was input. Seekability can be tested with lseek(fileno(fp),0,SEEK_CUR). */ # if @REPLACE_FFLUSH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fflush rpl_fflush # endif _GL_FUNCDECL_RPL (fflush, int, (FILE *gl_stream)); _GL_CXXALIAS_RPL (fflush, int, (FILE *gl_stream)); # else _GL_CXXALIAS_SYS (fflush, int, (FILE *gl_stream)); # endif _GL_CXXALIASWARN (fflush); #elif defined GNULIB_POSIXCHECK # undef fflush /* Assume fflush is always declared. */ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " "use gnulib module fflush for portable POSIX compliance"); #endif #if @GNULIB_FGETC@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fgetc # define fgetc rpl_fgetc # endif _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fgetc, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (fgetc, int, (FILE *stream)); # endif _GL_CXXALIASWARN (fgetc); #endif #if @GNULIB_FGETS@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fgets # define fgets rpl_fgets # endif _GL_FUNCDECL_RPL (fgets, char *, (char *s, int n, FILE *stream) _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (fgets, char *, (char *s, int n, FILE *stream)); # else _GL_CXXALIAS_SYS (fgets, char *, (char *s, int n, FILE *stream)); # endif _GL_CXXALIASWARN (fgets); #endif #if @GNULIB_FOPEN@ # if @REPLACE_FOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fopen # define fopen rpl_fopen # endif _GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode)); # else _GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode)); # endif _GL_CXXALIASWARN (fopen); #elif defined GNULIB_POSIXCHECK # undef fopen /* Assume fopen is always declared. */ _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " "use gnulib module fopen for portability"); #endif #if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@ # if (@GNULIB_FPRINTF_POSIX@ && @REPLACE_FPRINTF@) \ || (@GNULIB_FPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fprintf rpl_fprintf # endif # define GNULIB_overrides_fprintf 1 # if @GNULIB_FPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); # else _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...)); # else _GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...)); # endif _GL_CXXALIASWARN (fprintf); #endif #if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_fprintf # undef fprintf # endif /* Assume fprintf is always declared. */ _GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " "use gnulib module fprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_FPURGE@ /* Discard all pending buffered I/O data on STREAM. STREAM must not be wide-character oriented. When discarding pending output, the file position is set back to where it was before the write calls. When discarding pending input, the file position is advanced to match the end of the previously read input. Return 0 if successful. Upon error, return -1 and set errno. */ # if @REPLACE_FPURGE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fpurge rpl_fpurge # endif _GL_FUNCDECL_RPL (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fpurge, int, (FILE *gl_stream)); # else # if !@HAVE_DECL_FPURGE@ _GL_FUNCDECL_SYS (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (fpurge, int, (FILE *gl_stream)); # endif _GL_CXXALIASWARN (fpurge); #elif defined GNULIB_POSIXCHECK # undef fpurge # if HAVE_RAW_DECL_FPURGE _GL_WARN_ON_USE (fpurge, "fpurge is not always present - " "use gnulib module fpurge for portability"); # endif #endif #if @GNULIB_FPUTC@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fputc # define fputc rpl_fputc # endif _GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fputc, int, (int c, FILE *stream)); # else _GL_CXXALIAS_SYS (fputc, int, (int c, FILE *stream)); # endif _GL_CXXALIASWARN (fputc); #endif #if @GNULIB_FPUTS@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fputs # define fputs rpl_fputs # endif _GL_FUNCDECL_RPL (fputs, int, (const char *string, FILE *stream) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (fputs, int, (const char *string, FILE *stream)); # else _GL_CXXALIAS_SYS (fputs, int, (const char *string, FILE *stream)); # endif _GL_CXXALIASWARN (fputs); #endif #if @GNULIB_FREAD@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fread # define fread rpl_fread # endif _GL_FUNCDECL_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream) _GL_ARG_NONNULL ((4))); _GL_CXXALIAS_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream)); # else _GL_CXXALIAS_SYS (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream)); # endif _GL_CXXALIASWARN (fread); #endif #if @GNULIB_FREOPEN@ # if @REPLACE_FREOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef freopen # define freopen rpl_freopen # endif _GL_FUNCDECL_RPL (freopen, FILE *, (const char *filename, const char *mode, FILE *stream) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (freopen, FILE *, (const char *filename, const char *mode, FILE *stream)); # else _GL_CXXALIAS_SYS (freopen, FILE *, (const char *filename, const char *mode, FILE *stream)); # endif _GL_CXXALIASWARN (freopen); #elif defined GNULIB_POSIXCHECK # undef freopen /* Assume freopen is always declared. */ _GL_WARN_ON_USE (freopen, "freopen on native Windows platforms is not POSIX compliant - " "use gnulib module freopen for portability"); #endif #if @GNULIB_FSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fscanf # define fscanf rpl_fscanf # endif _GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...)); # else _GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...)); # endif _GL_CXXALIASWARN (fscanf); #endif /* Set up the following warnings, based on which modules are in use. GNU Coding Standards discourage the use of fseek, since it imposes an arbitrary limitation on some 32-bit hosts. Remember that the fseek module depends on the fseeko module, so we only have three cases to consider: 1. The developer is not using either module. Issue a warning under GNULIB_POSIXCHECK for both functions, to remind them that both functions have bugs on some systems. _GL_NO_LARGE_FILES has no impact on this warning. 2. The developer is using both modules. They may be unaware of the arbitrary limitations of fseek, so issue a warning under GNULIB_POSIXCHECK. On the other hand, they may be using both modules intentionally, so the developer can define _GL_NO_LARGE_FILES in the compilation units where the use of fseek is safe, to silence the warning. 3. The developer is using the fseeko module, but not fseek. Gnulib guarantees that fseek will still work around platform bugs in that case, but we presume that the developer is aware of the pitfalls of fseek and was trying to avoid it, so issue a warning even when GNULIB_POSIXCHECK is undefined. Again, _GL_NO_LARGE_FILES can be defined to silence the warning in particular compilation units. In C++ compilations with GNULIB_NAMESPACE, in order to avoid that fseek gets defined as a macro, it is recommended that the developer uses the fseek module, even if he is not calling the fseek function. Most gnulib clients that perform stream operations should fall into category 3. */ #if @GNULIB_FSEEK@ # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES # define _GL_FSEEK_WARN /* Category 2, above. */ # undef fseek # endif # if @REPLACE_FSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fseek # define fseek rpl_fseek # endif _GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence)); # else _GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence)); # endif _GL_CXXALIASWARN (fseek); #endif #if @GNULIB_FSEEKO@ # if !@GNULIB_FSEEK@ && !defined _GL_NO_LARGE_FILES # define _GL_FSEEK_WARN /* Category 3, above. */ # undef fseek # endif # if @REPLACE_FSEEKO@ /* Provide an fseeko function that is aware of a preceding fflush(), and which detects pipes. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fseeko # define fseeko rpl_fseeko # endif _GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)); # else # if ! @HAVE_DECL_FSEEKO@ _GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)); # endif _GL_CXXALIASWARN (fseeko); #elif defined GNULIB_POSIXCHECK # define _GL_FSEEK_WARN /* Category 1, above. */ # undef fseek # undef fseeko # if HAVE_RAW_DECL_FSEEKO _GL_WARN_ON_USE (fseeko, "fseeko is unportable - " "use gnulib module fseeko for portability"); # endif #endif #ifdef _GL_FSEEK_WARN # undef _GL_FSEEK_WARN /* Here, either fseek is undefined (but C89 guarantees that it is declared), or it is defined as rpl_fseek (declared above). */ _GL_WARN_ON_USE (fseek, "fseek cannot handle files larger than 4 GB " "on 32-bit platforms - " "use fseeko function for handling of large files"); #endif /* ftell, ftello. See the comments on fseek/fseeko. */ #if @GNULIB_FTELL@ # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES # define _GL_FTELL_WARN /* Category 2, above. */ # undef ftell # endif # if @REPLACE_FTELL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftell # define ftell rpl_ftell # endif _GL_FUNCDECL_RPL (ftell, long, (FILE *fp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (ftell, long, (FILE *fp)); # else _GL_CXXALIAS_SYS (ftell, long, (FILE *fp)); # endif _GL_CXXALIASWARN (ftell); #endif #if @GNULIB_FTELLO@ # if !@GNULIB_FTELL@ && !defined _GL_NO_LARGE_FILES # define _GL_FTELL_WARN /* Category 3, above. */ # undef ftell # endif # if @REPLACE_FTELLO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftello # define ftello rpl_ftello # endif _GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (ftello, off_t, (FILE *fp)); # else # if ! @HAVE_DECL_FTELLO@ _GL_FUNCDECL_SYS (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (ftello, off_t, (FILE *fp)); # endif _GL_CXXALIASWARN (ftello); #elif defined GNULIB_POSIXCHECK # define _GL_FTELL_WARN /* Category 1, above. */ # undef ftell # undef ftello # if HAVE_RAW_DECL_FTELLO _GL_WARN_ON_USE (ftello, "ftello is unportable - " "use gnulib module ftello for portability"); # endif #endif #ifdef _GL_FTELL_WARN # undef _GL_FTELL_WARN /* Here, either ftell is undefined (but C89 guarantees that it is declared), or it is defined as rpl_ftell (declared above). */ _GL_WARN_ON_USE (ftell, "ftell cannot handle files larger than 4 GB " "on 32-bit platforms - " "use ftello function for handling of large files"); #endif #if @GNULIB_FWRITE@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fwrite # define fwrite rpl_fwrite # endif _GL_FUNCDECL_RPL (fwrite, size_t, (const void *ptr, size_t s, size_t n, FILE *stream) _GL_ARG_NONNULL ((1, 4))); _GL_CXXALIAS_RPL (fwrite, size_t, (const void *ptr, size_t s, size_t n, FILE *stream)); # else _GL_CXXALIAS_SYS (fwrite, size_t, (const void *ptr, size_t s, size_t n, FILE *stream)); /* Work around bug 11959 when fortifying glibc 2.4 through 2.15 , which sometimes causes an unwanted diagnostic for fwrite calls. This affects only function declaration attributes under certain versions of gcc and clang, and is not needed for C++. */ # if (0 < __USE_FORTIFY_LEVEL \ && __GLIBC__ == 2 && 4 <= __GLIBC_MINOR__ && __GLIBC_MINOR__ <= 15 \ && 3 < __GNUC__ + (4 <= __GNUC_MINOR__) \ && !defined __cplusplus) # undef fwrite # undef fwrite_unlocked extern size_t __REDIRECT (rpl_fwrite, (const void *__restrict, size_t, size_t, FILE *__restrict), fwrite); extern size_t __REDIRECT (rpl_fwrite_unlocked, (const void *__restrict, size_t, size_t, FILE *__restrict), fwrite_unlocked); # define fwrite rpl_fwrite # define fwrite_unlocked rpl_fwrite_unlocked # endif # endif _GL_CXXALIASWARN (fwrite); #endif #if @GNULIB_GETC@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getc # define getc rpl_fgetc # endif _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (getc, int, (FILE *stream)); # endif _GL_CXXALIASWARN (getc); #endif #if @GNULIB_GETCHAR@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getchar # define getchar rpl_getchar # endif _GL_FUNCDECL_RPL (getchar, int, (void)); _GL_CXXALIAS_RPL (getchar, int, (void)); # else _GL_CXXALIAS_SYS (getchar, int, (void)); # endif _GL_CXXALIASWARN (getchar); #endif #if @GNULIB_GETDELIM@ /* Read input, up to (and including) the next occurrence of DELIMITER, from STREAM, store it in *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE bytes of space. It is realloc'd as necessary. Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ # if @REPLACE_GETDELIM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdelim # define getdelim rpl_getdelim # endif _GL_FUNCDECL_RPL (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream) _GL_ARG_NONNULL ((1, 2, 4))); _GL_CXXALIAS_RPL (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream)); # else # if !@HAVE_DECL_GETDELIM@ _GL_FUNCDECL_SYS (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream) _GL_ARG_NONNULL ((1, 2, 4))); # endif _GL_CXXALIAS_SYS (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream)); # endif _GL_CXXALIASWARN (getdelim); #elif defined GNULIB_POSIXCHECK # undef getdelim # if HAVE_RAW_DECL_GETDELIM _GL_WARN_ON_USE (getdelim, "getdelim is unportable - " "use gnulib module getdelim for portability"); # endif #endif #if @GNULIB_GETLINE@ /* Read a line, up to (and including) the next newline, from STREAM, store it in *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE bytes of space. It is realloc'd as necessary. Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ # if @REPLACE_GETLINE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getline # define getline rpl_getline # endif _GL_FUNCDECL_RPL (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream) _GL_ARG_NONNULL ((1, 2, 3))); _GL_CXXALIAS_RPL (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream)); # else # if !@HAVE_DECL_GETLINE@ _GL_FUNCDECL_SYS (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream)); # endif # if @HAVE_DECL_GETLINE@ _GL_CXXALIASWARN (getline); # endif #elif defined GNULIB_POSIXCHECK # undef getline # if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is unportable - " "use gnulib module getline for portability"); # endif #endif /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning; besides, C11 removed it. */ #undef gets #if HAVE_RAW_DECL_GETS && !defined __cplusplus _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ struct obstack; /* Grow an obstack with formatted output. Return the number of bytes added to OBS. No trailing nul byte is added, and the object should be closed with obstack_finish before use. Upon memory allocation error, call obstack_alloc_failed_handler. Upon other error, return -1. */ # if @REPLACE_OBSTACK_PRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define obstack_printf rpl_obstack_printf # endif _GL_FUNCDECL_RPL (obstack_printf, int, (struct obstack *obs, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (obstack_printf, int, (struct obstack *obs, const char *format, ...)); # else # if !@HAVE_DECL_OBSTACK_PRINTF@ _GL_FUNCDECL_SYS (obstack_printf, int, (struct obstack *obs, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (obstack_printf, int, (struct obstack *obs, const char *format, ...)); # endif _GL_CXXALIASWARN (obstack_printf); # if @REPLACE_OBSTACK_PRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define obstack_vprintf rpl_obstack_vprintf # endif _GL_FUNCDECL_RPL (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args)); # else # if !@HAVE_DECL_OBSTACK_PRINTF@ _GL_FUNCDECL_SYS (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args)); # endif _GL_CXXALIASWARN (obstack_vprintf); #endif #if @GNULIB_PCLOSE@ # if !@HAVE_PCLOSE@ _GL_FUNCDECL_SYS (pclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pclose, int, (FILE *stream)); _GL_CXXALIASWARN (pclose); #elif defined GNULIB_POSIXCHECK # undef pclose # if HAVE_RAW_DECL_PCLOSE _GL_WARN_ON_USE (pclose, "pclose is unportable - " "use gnulib module pclose for more portability"); # endif #endif #if @GNULIB_PERROR@ /* Print a message to standard error, describing the value of ERRNO, (if STRING is not NULL and not empty) prefixed with STRING and ": ", and terminated with a newline. */ # if @REPLACE_PERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define perror rpl_perror # endif _GL_FUNCDECL_RPL (perror, void, (const char *string)); _GL_CXXALIAS_RPL (perror, void, (const char *string)); # else _GL_CXXALIAS_SYS (perror, void, (const char *string)); # endif _GL_CXXALIASWARN (perror); #elif defined GNULIB_POSIXCHECK # undef perror /* Assume perror is always declared. */ _GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " "use gnulib module perror for portability"); #endif #if @GNULIB_POPEN@ # if @REPLACE_POPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef popen # define popen rpl_popen # endif _GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); # else # if !@HAVE_POPEN@ _GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); # endif _GL_CXXALIASWARN (popen); #elif defined GNULIB_POSIXCHECK # undef popen # if HAVE_RAW_DECL_POPEN _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " "use gnulib module popen or pipe for more portability"); # endif #endif #if @GNULIB_PRINTF_POSIX@ || @GNULIB_PRINTF@ # if (@GNULIB_PRINTF_POSIX@ && @REPLACE_PRINTF@) \ || (@GNULIB_PRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if defined __GNUC__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) /* Don't break __attribute__((format(printf,M,N))). */ # define printf __printf__ # endif # if @GNULIB_PRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL_1 (__printf__, int, (const char *format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)) _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2) _GL_ARG_NONNULL ((1))); # else _GL_FUNCDECL_RPL_1 (__printf__, int, (const char *format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...)); # else # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define printf rpl_printf # endif _GL_FUNCDECL_RPL (printf, int, (const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (printf, int, (const char *format, ...)); # endif # define GNULIB_overrides_printf 1 # else _GL_CXXALIAS_SYS (printf, int, (const char *format, ...)); # endif _GL_CXXALIASWARN (printf); #endif #if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_printf # undef printf # endif /* Assume printf is always declared. */ _GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " "use gnulib module printf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_PUTC@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putc # define putc rpl_fputc # endif _GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL_1 (putc, rpl_fputc, int, (int c, FILE *stream)); # else _GL_CXXALIAS_SYS (putc, int, (int c, FILE *stream)); # endif _GL_CXXALIASWARN (putc); #endif #if @GNULIB_PUTCHAR@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putchar # define putchar rpl_putchar # endif _GL_FUNCDECL_RPL (putchar, int, (int c)); _GL_CXXALIAS_RPL (putchar, int, (int c)); # else _GL_CXXALIAS_SYS (putchar, int, (int c)); # endif _GL_CXXALIASWARN (putchar); #endif #if @GNULIB_PUTS@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef puts # define puts rpl_puts # endif _GL_FUNCDECL_RPL (puts, int, (const char *string) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (puts, int, (const char *string)); # else _GL_CXXALIAS_SYS (puts, int, (const char *string)); # endif _GL_CXXALIASWARN (puts); #endif #if @GNULIB_REMOVE@ # if @REPLACE_REMOVE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef remove # define remove rpl_remove # endif _GL_FUNCDECL_RPL (remove, int, (const char *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (remove, int, (const char *name)); # else _GL_CXXALIAS_SYS (remove, int, (const char *name)); # endif _GL_CXXALIASWARN (remove); #elif defined GNULIB_POSIXCHECK # undef remove /* Assume remove is always declared. */ _GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - " "use gnulib module remove for more portability"); #endif #if @GNULIB_RENAME@ # if @REPLACE_RENAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef rename # define rename rpl_rename # endif _GL_FUNCDECL_RPL (rename, int, (const char *old_filename, const char *new_filename) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (rename, int, (const char *old_filename, const char *new_filename)); # else _GL_CXXALIAS_SYS (rename, int, (const char *old_filename, const char *new_filename)); # endif _GL_CXXALIASWARN (rename); #elif defined GNULIB_POSIXCHECK # undef rename /* Assume rename is always declared. */ _GL_WARN_ON_USE (rename, "rename is buggy on some platforms - " "use gnulib module rename for more portability"); #endif #if @GNULIB_RENAMEAT@ # if @REPLACE_RENAMEAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef renameat # define renameat rpl_renameat # endif _GL_FUNCDECL_RPL (renameat, int, (int fd1, char const *file1, int fd2, char const *file2) _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (renameat, int, (int fd1, char const *file1, int fd2, char const *file2)); # else # if !@HAVE_RENAMEAT@ _GL_FUNCDECL_SYS (renameat, int, (int fd1, char const *file1, int fd2, char const *file2) _GL_ARG_NONNULL ((2, 4))); # endif _GL_CXXALIAS_SYS (renameat, int, (int fd1, char const *file1, int fd2, char const *file2)); # endif _GL_CXXALIASWARN (renameat); #elif defined GNULIB_POSIXCHECK # undef renameat # if HAVE_RAW_DECL_RENAMEAT _GL_WARN_ON_USE (renameat, "renameat is not portable - " "use gnulib module renameat for portability"); # endif #endif #if @GNULIB_SCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if defined __GNUC__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef scanf /* Don't break __attribute__((format(scanf,M,N))). */ # define scanf __scanf__ # endif _GL_FUNCDECL_RPL_1 (__scanf__, int, (const char *format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_scanf)) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...)); # else # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef scanf # define scanf rpl_scanf # endif _GL_FUNCDECL_RPL (scanf, int, (const char *format, ...) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (scanf, int, (const char *format, ...)); # endif # else _GL_CXXALIAS_SYS (scanf, int, (const char *format, ...)); # endif _GL_CXXALIASWARN (scanf); #endif #if @GNULIB_SNPRINTF@ # if @REPLACE_SNPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define snprintf rpl_snprintf # endif _GL_FUNCDECL_RPL (snprintf, int, (char *str, size_t size, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_RPL (snprintf, int, (char *str, size_t size, const char *format, ...)); # else # if !@HAVE_DECL_SNPRINTF@ _GL_FUNCDECL_SYS (snprintf, int, (char *str, size_t size, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4) _GL_ARG_NONNULL ((3))); # endif _GL_CXXALIAS_SYS (snprintf, int, (char *str, size_t size, const char *format, ...)); # endif _GL_CXXALIASWARN (snprintf); #elif defined GNULIB_POSIXCHECK # undef snprintf # if HAVE_RAW_DECL_SNPRINTF _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " "use gnulib module snprintf for portability"); # endif #endif /* Some people would argue that all sprintf uses should be warned about (for example, OpenBSD issues a link warning for it), since it can cause security holes due to buffer overruns. However, we believe that sprintf can be used safely, and is more efficient than snprintf in those safe cases; and as proof of our belief, we use sprintf in several gnulib modules. So this header intentionally avoids adding a warning to sprintf except when GNULIB_POSIXCHECK is defined. */ #if @GNULIB_SPRINTF_POSIX@ # if @REPLACE_SPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define sprintf rpl_sprintf # endif _GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...)); # else _GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...)); # endif _GL_CXXALIASWARN (sprintf); #elif defined GNULIB_POSIXCHECK # undef sprintf /* Assume sprintf is always declared. */ _GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " "use gnulib module sprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_TMPFILE@ # if @REPLACE_TMPFILE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define tmpfile rpl_tmpfile # endif _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)); _GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); # else _GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); # endif _GL_CXXALIASWARN (tmpfile); #elif defined GNULIB_POSIXCHECK # undef tmpfile # if HAVE_RAW_DECL_TMPFILE _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " "use gnulib module tmpfile for portability"); # endif #endif #if @GNULIB_VASPRINTF@ /* Write formatted output to a string dynamically allocated with malloc(). If the memory allocation succeeds, store the address of the string in *RESULT and return the number of resulting bytes, excluding the trailing NUL. Upon memory allocation error, or some other error, return -1. */ # if @REPLACE_VASPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define asprintf rpl_asprintf # endif _GL_FUNCDECL_RPL (asprintf, int, (char **result, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (asprintf, int, (char **result, const char *format, ...)); # else # if !@HAVE_VASPRINTF@ _GL_FUNCDECL_SYS (asprintf, int, (char **result, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (asprintf, int, (char **result, const char *format, ...)); # endif _GL_CXXALIASWARN (asprintf); # if @REPLACE_VASPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vasprintf rpl_vasprintf # endif _GL_FUNCDECL_RPL (vasprintf, int, (char **result, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (vasprintf, int, (char **result, const char *format, va_list args)); # else # if !@HAVE_VASPRINTF@ _GL_FUNCDECL_SYS (vasprintf, int, (char **result, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (vasprintf, int, (char **result, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vasprintf); #endif #if @GNULIB_VDPRINTF@ # if @REPLACE_VDPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vdprintf rpl_vdprintf # endif _GL_FUNCDECL_RPL (vdprintf, int, (int fd, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (vdprintf, int, (int fd, const char *format, va_list args)); # else # if !@HAVE_VDPRINTF@ _GL_FUNCDECL_SYS (vdprintf, int, (int fd, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((2))); # endif /* Need to cast, because on Solaris, the third parameter will likely be __va_list args. */ _GL_CXXALIAS_SYS_CAST (vdprintf, int, (int fd, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vdprintf); #elif defined GNULIB_POSIXCHECK # undef vdprintf # if HAVE_RAW_DECL_VDPRINTF _GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - " "use gnulib module vdprintf for portability"); # endif #endif #if @GNULIB_VFPRINTF_POSIX@ || @GNULIB_VFPRINTF@ # if (@GNULIB_VFPRINTF_POSIX@ && @REPLACE_VFPRINTF@) \ || (@GNULIB_VFPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vfprintf rpl_vfprintf # endif # define GNULIB_overrides_vfprintf 1 # if @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); # else _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)); # else /* Need to cast, because on Solaris, the third parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vfprintf, int, (FILE *fp, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vfprintf); #endif #if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_vfprintf # undef vfprintf # endif /* Assume vfprintf is always declared. */ _GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " "use gnulib module vfprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_VFSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef vfscanf # define vfscanf rpl_vfscanf # endif _GL_FUNCDECL_RPL (vfscanf, int, (FILE *stream, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (vfscanf, int, (FILE *stream, const char *format, va_list args)); # else _GL_CXXALIAS_SYS (vfscanf, int, (FILE *stream, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vfscanf); #endif #if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VPRINTF@ # if (@GNULIB_VPRINTF_POSIX@ && @REPLACE_VPRINTF@) \ || (@GNULIB_VPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vprintf rpl_vprintf # endif # define GNULIB_overrides_vprintf 1 # if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (1, 0) _GL_ARG_NONNULL ((1))); # else _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 0) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args)); # else /* Need to cast, because on Solaris, the second parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args)); # endif _GL_CXXALIASWARN (vprintf); #endif #if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_vprintf # undef vprintf # endif /* Assume vprintf is always declared. */ _GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " "use gnulib module vprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_VSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef vscanf # define vscanf rpl_vscanf # endif _GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 0) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args)); # else _GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args)); # endif _GL_CXXALIASWARN (vscanf); #endif #if @GNULIB_VSNPRINTF@ # if @REPLACE_VSNPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vsnprintf rpl_vsnprintf # endif _GL_FUNCDECL_RPL (vsnprintf, int, (char *str, size_t size, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_RPL (vsnprintf, int, (char *str, size_t size, const char *format, va_list args)); # else # if !@HAVE_DECL_VSNPRINTF@ _GL_FUNCDECL_SYS (vsnprintf, int, (char *str, size_t size, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3))); # endif _GL_CXXALIAS_SYS (vsnprintf, int, (char *str, size_t size, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vsnprintf); #elif defined GNULIB_POSIXCHECK # undef vsnprintf # if HAVE_RAW_DECL_VSNPRINTF _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " "use gnulib module vsnprintf for portability"); # endif #endif #if @GNULIB_VSPRINTF_POSIX@ # if @REPLACE_VSPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vsprintf rpl_vsprintf # endif _GL_FUNCDECL_RPL (vsprintf, int, (char *str, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (vsprintf, int, (char *str, const char *format, va_list args)); # else /* Need to cast, because on Solaris, the third parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vsprintf, int, (char *str, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vsprintf); #elif defined GNULIB_POSIXCHECK # undef vsprintf /* Assume vsprintf is always declared. */ _GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " "use gnulib module vsprintf-posix for portable " "POSIX compliance"); #endif #endif /* _@GUARD_PREFIX@_STDIO_H */ #endif /* _@GUARD_PREFIX@_STDIO_H */ #endif gsasl-1.8.1/gl/vasnprintf.c0000644000000000000000000066761613516251577012523 00000000000000/* vsprintf with automatic memory allocation. Copyright (C) 1999, 2002-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* This file can be parametrized with the following macros: VASNPRINTF The name of the function being defined. FCHAR_T The element type of the format string. DCHAR_T The element type of the destination (result) string. FCHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. MUST be set if FCHAR_T and DCHAR_T are not the same type. DIRECTIVE Structure denoting a format directive. Depends on FCHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on FCHAR_T. PRINTF_PARSE Function that parses a format string. Depends on FCHAR_T. DCHAR_CPY memcpy like function for DCHAR_T[] arrays. DCHAR_SET memset like function for DCHAR_T[] arrays. DCHAR_MBSNLEN mbsnlen like function for DCHAR_T[] arrays. SNPRINTF The system's snprintf (or similar) function. This may be either snprintf or swprintf. TCHAR_T The element type of the argument and result string of the said SNPRINTF function. This may be either char or wchar_t. The code exploits that sizeof (TCHAR_T) | sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). DCHAR_IS_TCHAR Set to 1 if DCHAR_T and TCHAR_T are the same type. DCHAR_CONV_FROM_ENCODING A function to convert from char[] to DCHAR[]. DCHAR_IS_UINT8_T Set to 1 if DCHAR_T is uint8_t. DCHAR_IS_UINT16_T Set to 1 if DCHAR_T is uint16_t. DCHAR_IS_UINT32_T Set to 1 if DCHAR_T is uint32_t. */ /* Tell glibc's to provide a prototype for snprintf(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifndef VASNPRINTF # include #endif #ifndef IN_LIBINTL # include #endif /* Specification. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "vasnwprintf.h" # else # include "vasnprintf.h" # endif #endif #include /* localeconv() */ #include /* snprintf(), sprintf() */ #include /* abort(), malloc(), realloc(), free() */ #include /* memcpy(), strlen() */ #include /* errno */ #include /* CHAR_BIT */ #include /* DBL_MAX_EXP, LDBL_MAX_EXP */ #if HAVE_NL_LANGINFO # include #endif #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "wprintf-parse.h" # else # include "printf-parse.h" # endif #endif /* Checked size_t computations. */ #include "xsize.h" #include "verify.h" #if (NEED_PRINTF_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "float+.h" #endif #if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL # include # include "isnand-nolibm.h" #endif #if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "isnanl-nolibm.h" # include "fpucw.h" #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL # include # include "isnand-nolibm.h" # include "printf-frexp.h" #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "isnanl-nolibm.h" # include "printf-frexpl.h" # include "fpucw.h" #endif #ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif #endif /* Default parameters. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # define VASNPRINTF vasnwprintf # define FCHAR_T wchar_t # define DCHAR_T wchar_t # define TCHAR_T wchar_t # define DCHAR_IS_TCHAR 1 # define DIRECTIVE wchar_t_directive # define DIRECTIVES wchar_t_directives # define PRINTF_PARSE wprintf_parse # define DCHAR_CPY wmemcpy # define DCHAR_SET wmemset # else # define VASNPRINTF vasnprintf # define FCHAR_T char # define DCHAR_T char # define TCHAR_T char # define DCHAR_IS_TCHAR 1 # define DIRECTIVE char_directive # define DIRECTIVES char_directives # define PRINTF_PARSE printf_parse # define DCHAR_CPY memcpy # define DCHAR_SET memset # endif #endif #if WIDE_CHAR_VERSION /* TCHAR_T is wchar_t. */ # define USE_SNPRINTF 1 # if HAVE_DECL__SNWPRINTF /* On Windows, the function swprintf() has a different signature than on Unix; we use the function _snwprintf() or - on mingw - snwprintf() instead. The mingw function snwprintf() has fewer bugs than the MSVCRT function _snwprintf(), so prefer that. */ # if defined __MINGW32__ # define SNPRINTF snwprintf # else # define SNPRINTF _snwprintf # define USE_MSVC__SNPRINTF 1 # endif # else /* Unix. */ # define SNPRINTF swprintf # endif #else /* TCHAR_T is char. */ /* Use snprintf if it exists under the name 'snprintf' or '_snprintf'. But don't use it on BeOS, since BeOS snprintf produces no output if the size argument is >= 0x3000000. Also don't use it on Linux libc5, since there snprintf with size = 1 writes any output without bounds, like sprintf. */ # if (HAVE_DECL__SNPRINTF || HAVE_SNPRINTF) && !defined __BEOS__ && !(__GNU_LIBRARY__ == 1) # define USE_SNPRINTF 1 # else # define USE_SNPRINTF 0 # endif # if HAVE_DECL__SNPRINTF /* Windows. The mingw function snprintf() has fewer bugs than the MSVCRT function _snprintf(), so prefer that. */ # if defined __MINGW32__ # define SNPRINTF snprintf /* Here we need to call the native snprintf, not rpl_snprintf. */ # undef snprintf # else /* MSVC versions < 14 did not have snprintf, only _snprintf. */ # define SNPRINTF _snprintf # define USE_MSVC__SNPRINTF 1 # endif # else /* Unix. */ # define SNPRINTF snprintf /* Here we need to call the native snprintf, not rpl_snprintf. */ # undef snprintf # endif #endif /* Here we need to call the native sprintf, not rpl_sprintf. */ #undef sprintf /* GCC >= 4.0 with -Wall emits unjustified "... may be used uninitialized" warnings in this file. Use -Dlint to suppress them. */ #if defined GCC_LINT || defined lint # define IF_LINT(Code) Code #else # define IF_LINT(Code) /* empty */ #endif /* Avoid some warnings from "gcc -Wshadow". This file doesn't use the exp() and remainder() functions. */ #undef exp #define exp expo #undef remainder #define remainder rem #if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF) && !WIDE_CHAR_VERSION # if (HAVE_STRNLEN && !defined _AIX) # define local_strnlen strnlen # else # ifndef local_strnlen_defined # define local_strnlen_defined 1 static size_t local_strnlen (const char *string, size_t maxlen) { const char *end = memchr (string, '\0', maxlen); return end ? (size_t) (end - string) : maxlen; } # endif # endif #endif #if (((!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF) && WIDE_CHAR_VERSION) || ((!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (NEED_PRINTF_DIRECTIVE_LS && !defined IN_LIBINTL)) && !WIDE_CHAR_VERSION && DCHAR_IS_TCHAR)) && HAVE_WCHAR_T # if HAVE_WCSLEN # define local_wcslen wcslen # else /* Solaris 2.5.1 has wcslen() in a separate library libw.so. To avoid a dependency towards this library, here is a local substitute. Define this substitute only once, even if this file is included twice in the same compilation unit. */ # ifndef local_wcslen_defined # define local_wcslen_defined 1 static size_t local_wcslen (const wchar_t *s) { const wchar_t *ptr; for (ptr = s; *ptr != (wchar_t) 0; ptr++) ; return ptr - s; } # endif # endif #endif #if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF) && HAVE_WCHAR_T && WIDE_CHAR_VERSION # if HAVE_WCSNLEN # define local_wcsnlen wcsnlen # else # ifndef local_wcsnlen_defined # define local_wcsnlen_defined 1 static size_t local_wcsnlen (const wchar_t *s, size_t maxlen) { const wchar_t *ptr; for (ptr = s; maxlen > 0 && *ptr != (wchar_t) 0; ptr++, maxlen--) ; return ptr - s; } # endif # endif #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL /* Determine the decimal-point character according to the current locale. */ # ifndef decimal_point_char_defined # define decimal_point_char_defined 1 static char decimal_point_char (void) { const char *point; /* Determine it in a multithread-safe way. We know nl_langinfo is multithread-safe on glibc systems and Mac OS X systems, but is not required to be multithread-safe by POSIX. sprintf(), however, is multithread-safe. localeconv() is rarely multithread-safe. */ # if HAVE_NL_LANGINFO && (__GLIBC__ || defined __UCLIBC__ || (defined __APPLE__ && defined __MACH__)) point = nl_langinfo (RADIXCHAR); # elif 1 char pointbuf[5]; sprintf (pointbuf, "%#.0f", 1.0); point = &pointbuf[1]; # else point = localeconv () -> decimal_point; # endif /* The decimal point is always a single byte: either '.' or ','. */ return (point[0] != '\0' ? point[0] : '.'); } # endif #endif #if NEED_PRINTF_INFINITE_DOUBLE && !NEED_PRINTF_DOUBLE && !defined IN_LIBINTL /* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ static int is_infinite_or_zero (double x) { return isnand (x) || x + x == x; } #endif #if NEED_PRINTF_INFINITE_LONG_DOUBLE && !NEED_PRINTF_LONG_DOUBLE && !defined IN_LIBINTL /* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ static int is_infinite_or_zerol (long double x) { return isnanl (x) || x + x == x; } #endif #if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL /* Converting 'long double' to decimal without rare rounding bugs requires real bignums. We use the naming conventions of GNU gmp, but vastly simpler (and slower) algorithms. */ typedef unsigned int mp_limb_t; # define GMP_LIMB_BITS 32 verify (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS); typedef unsigned long long mp_twolimb_t; # define GMP_TWOLIMB_BITS 64 verify (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS); /* Representation of a bignum >= 0. */ typedef struct { size_t nlimbs; mp_limb_t *limbs; /* Bits in little-endian order, allocated with malloc(). */ } mpn_t; /* Compute the product of two bignums >= 0. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * multiply (mpn_t src1, mpn_t src2, mpn_t *dest) { const mp_limb_t *p1; const mp_limb_t *p2; size_t len1; size_t len2; if (src1.nlimbs <= src2.nlimbs) { len1 = src1.nlimbs; p1 = src1.limbs; len2 = src2.nlimbs; p2 = src2.limbs; } else { len1 = src2.nlimbs; p1 = src2.limbs; len2 = src1.nlimbs; p2 = src1.limbs; } /* Now 0 <= len1 <= len2. */ if (len1 == 0) { /* src1 or src2 is zero. */ dest->nlimbs = 0; dest->limbs = (mp_limb_t *) malloc (1); } else { /* Here 1 <= len1 <= len2. */ size_t dlen; mp_limb_t *dp; size_t k, i, j; dlen = len1 + len2; dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); if (dp == NULL) return NULL; for (k = len2; k > 0; ) dp[--k] = 0; for (i = 0; i < len1; i++) { mp_limb_t digit1 = p1[i]; mp_twolimb_t carry = 0; for (j = 0; j < len2; j++) { mp_limb_t digit2 = p2[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; carry += dp[i + j]; dp[i + j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } dp[i + len2] = (mp_limb_t) carry; } /* Normalise. */ while (dlen > 0 && dp[dlen - 1] == 0) dlen--; dest->nlimbs = dlen; dest->limbs = dp; } return dest->limbs; } /* Compute the quotient of a bignum a >= 0 and a bignum b > 0. a is written as a = q * b + r with 0 <= r < b. q is the quotient, r the remainder. Finally, round-to-even is performed: If r > b/2 or if r = b/2 and q is odd, q is incremented. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * divide (mpn_t a, mpn_t b, mpn_t *q) { /* Algorithm: First normalise a and b: a=[a[m-1],...,a[0]], b=[b[n-1],...,b[0]] with m>=0 and n>0 (in base beta = 2^GMP_LIMB_BITS). If m=n=1, perform a single-precision division: r:=0, j:=m, while j>0 do {Here (q[m-1]*beta^(m-1)+...+q[j]*beta^j) * b[0] + r*beta^j = = a[m-1]*beta^(m-1)+...+a[j]*beta^j und 0<=r=n>1, perform a multiple-precision division: We have a/b < beta^(m-n+1). s:=intDsize-1-(highest bit in b[n-1]), 0<=s=beta/2. For j=m-n,...,0: {Here 0 <= r < b*beta^(j+1).} Compute q* : q* := floor((r[j+n]*beta+r[j+n-1])/b[n-1]). In case of overflow (q* >= beta) set q* := beta-1. Compute c2 := ((r[j+n]*beta+r[j+n-1]) - q* * b[n-1])*beta + r[j+n-2] and c3 := b[n-2] * q*. {We have 0 <= c2 < 2*beta^2, even 0 <= c2 < beta^2 if no overflow occurred. Furthermore 0 <= c3 < beta^2. If there was overflow and r[j+n]*beta+r[j+n-1] - q* * b[n-1] >= beta, i.e. c2 >= beta^2, the next test can be skipped.} While c3 > c2, {Here 0 <= c2 < c3 < beta^2} Put q* := q* - 1, c2 := c2 + b[n-1]*beta, c3 := c3 - b[n-2]. If q* > 0: Put r := r - b * q* * beta^j. In detail: [r[n+j],...,r[j]] := [r[n+j],...,r[j]] - q* * [b[n-1],...,b[0]]. hence: u:=0, for i:=0 to n-1 do u := u + q* * b[i], r[j+i]:=r[j+i]-(u mod beta) (+ beta, if carry), u:=u div beta (+ 1, if carry in subtraction) r[n+j]:=r[n+j]-u. {Since always u = (q* * [b[i-1],...,b[0]] div beta^i) + 1 < q* + 1 <= beta, the carry u does not overflow.} If a negative carry occurs, put q* := q* - 1 and [r[n+j],...,r[j]] := [r[n+j],...,r[j]] + [0,b[n-1],...,b[0]]. Set q[j] := q*. Normalise [q[m-n],..,q[0]]; this yields the quotient q. Shift [r[n-1],...,r[0]] right by s bits and normalise; this yields the rest r. The room for q[j] can be allocated at the memory location of r[n+j]. Finally, round-to-even: Shift r left by 1 bit. If r > b or if r = b and q[0] is odd, q := q+1. */ const mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; const mp_limb_t *b_ptr = b.limbs; size_t b_len = b.nlimbs; mp_limb_t *roomptr; mp_limb_t *tmp_roomptr = NULL; mp_limb_t *q_ptr; size_t q_len; mp_limb_t *r_ptr; size_t r_len; /* Allocate room for a_len+2 digits. (Need a_len+1 digits for the real division and 1 more digit for the final rounding of q.) */ roomptr = (mp_limb_t *) malloc ((a_len + 2) * sizeof (mp_limb_t)); if (roomptr == NULL) return NULL; /* Normalise a. */ while (a_len > 0 && a_ptr[a_len - 1] == 0) a_len--; /* Normalise b. */ for (;;) { if (b_len == 0) /* Division by zero. */ abort (); if (b_ptr[b_len - 1] == 0) b_len--; else break; } /* Here m = a_len >= 0 and n = b_len > 0. */ if (a_len < b_len) { /* m beta^(m-2) <= a/b < beta^m */ r_ptr = roomptr; q_ptr = roomptr + 1; { mp_limb_t den = b_ptr[0]; mp_limb_t remainder = 0; const mp_limb_t *sourceptr = a_ptr + a_len; mp_limb_t *destptr = q_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--sourceptr; *--destptr = num / den; remainder = num % den; } /* Normalise and store r. */ if (remainder > 0) { r_ptr[0] = remainder; r_len = 1; } else r_len = 0; /* Normalise q. */ q_len = a_len; if (q_ptr[q_len - 1] == 0) q_len--; } } else { /* n>1: multiple precision division. beta^(m-1) <= a < beta^m, beta^(n-1) <= b < beta^n ==> beta^(m-n-1) <= a/b < beta^(m-n+1). */ /* Determine s. */ size_t s; { mp_limb_t msd = b_ptr[b_len - 1]; /* = b[n-1], > 0 */ /* Determine s = GMP_LIMB_BITS - integer_length (msd). Code copied from gnulib's integer_length.c. */ # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) s = __builtin_clz (msd); # else # if defined DBL_EXPBIT0_WORD && defined DBL_EXPBIT0_BIT if (GMP_LIMB_BITS <= DBL_MANT_BIT) { /* Use 'double' operations. Assumes an IEEE 754 'double' implementation. */ # define DBL_EXP_MASK ((DBL_MAX_EXP - DBL_MIN_EXP) | 7) # define DBL_EXP_BIAS (DBL_EXP_MASK / 2 - 1) # define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) union { double value; unsigned int word[NWORDS]; } m; /* Use a single integer to floating-point conversion. */ m.value = msd; s = GMP_LIMB_BITS - (((m.word[DBL_EXPBIT0_WORD] >> DBL_EXPBIT0_BIT) & DBL_EXP_MASK) - DBL_EXP_BIAS); } else # undef NWORDS # endif { s = 31; if (msd >= 0x10000) { msd = msd >> 16; s -= 16; } if (msd >= 0x100) { msd = msd >> 8; s -= 8; } if (msd >= 0x10) { msd = msd >> 4; s -= 4; } if (msd >= 0x4) { msd = msd >> 2; s -= 2; } if (msd >= 0x2) { msd = msd >> 1; s -= 1; } } # endif } /* 0 <= s < GMP_LIMB_BITS. Copy b, shifting it left by s bits. */ if (s > 0) { tmp_roomptr = (mp_limb_t *) malloc (b_len * sizeof (mp_limb_t)); if (tmp_roomptr == NULL) { free (roomptr); return NULL; } { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = tmp_roomptr; mp_twolimb_t accu = 0; size_t count; for (count = b_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } /* accu must be zero, since that was how s was determined. */ if (accu != 0) abort (); } b_ptr = tmp_roomptr; } /* Copy a, shifting it left by s bits, yields r. Memory layout: At the beginning: r = roomptr[0..a_len], at the end: r = roomptr[0..b_len-1], q = roomptr[b_len..a_len] */ r_ptr = roomptr; if (s == 0) { memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); r_ptr[a_len] = 0; } else { const mp_limb_t *sourceptr = a_ptr; mp_limb_t *destptr = r_ptr; mp_twolimb_t accu = 0; size_t count; for (count = a_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } *destptr++ = (mp_limb_t) accu; } q_ptr = roomptr + b_len; q_len = a_len - b_len + 1; /* q will have m-n+1 limbs */ { size_t j = a_len - b_len; /* m-n */ mp_limb_t b_msd = b_ptr[b_len - 1]; /* b[n-1] */ mp_limb_t b_2msd = b_ptr[b_len - 2]; /* b[n-2] */ mp_twolimb_t b_msdd = /* b[n-1]*beta+b[n-2] */ ((mp_twolimb_t) b_msd << GMP_LIMB_BITS) | b_2msd; /* Division loop, traversed m-n+1 times. j counts down, b is unchanged, beta/2 <= b[n-1] < beta. */ for (;;) { mp_limb_t q_star; mp_limb_t c1; if (r_ptr[j + b_len] < b_msd) /* r[j+n] < b[n-1] ? */ { /* Divide r[j+n]*beta+r[j+n-1] by b[n-1], no overflow. */ mp_twolimb_t num = ((mp_twolimb_t) r_ptr[j + b_len] << GMP_LIMB_BITS) | r_ptr[j + b_len - 1]; q_star = num / b_msd; c1 = num % b_msd; } else { /* Overflow, hence r[j+n]*beta+r[j+n-1] >= beta*b[n-1]. */ q_star = (mp_limb_t)~(mp_limb_t)0; /* q* = beta-1 */ /* Test whether r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] >= beta <==> r[j+n]*beta+r[j+n-1] + b[n-1] >= beta*b[n-1]+beta <==> b[n-1] < floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) {<= beta !}. If yes, jump directly to the subtraction loop. (Otherwise, r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] < beta <==> floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) = b[n-1] ) */ if (r_ptr[j + b_len] > b_msd || (c1 = r_ptr[j + b_len - 1] + b_msd) < b_msd) /* r[j+n] >= b[n-1]+1 or r[j+n] = b[n-1] and the addition r[j+n-1]+b[n-1] gives a carry. */ goto subtract; } /* q_star = q*, c1 = (r[j+n]*beta+r[j+n-1]) - q* * b[n-1] (>=0, 0, decrease it by b[n-1]*beta+b[n-2]. Because of b[n-1]*beta+b[n-2] >= beta^2/2 this can happen only twice. */ if (c3 > c2) { q_star = q_star - 1; /* q* := q* - 1 */ if (c3 - c2 > b_msdd) q_star = q_star - 1; /* q* := q* - 1 */ } } if (q_star > 0) subtract: { /* Subtract r := r - b * q* * beta^j. */ mp_limb_t cr; { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_twolimb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { /* Here 0 <= carry <= q*. */ carry = carry + (mp_twolimb_t) q_star * (mp_twolimb_t) *sourceptr++ + (mp_limb_t) ~(*destptr); /* Here 0 <= carry <= beta*q* + beta-1. */ *destptr++ = ~(mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; /* <= q* */ } cr = (mp_limb_t) carry; } /* Subtract cr from r_ptr[j + b_len], then forget about r_ptr[j + b_len]. */ if (cr > r_ptr[j + b_len]) { /* Subtraction gave a carry. */ q_star = q_star - 1; /* q* := q* - 1 */ /* Add b back. */ { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_limb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { mp_limb_t source1 = *sourceptr++; mp_limb_t source2 = *destptr; *destptr++ = source1 + source2 + carry; carry = (carry ? source1 >= (mp_limb_t) ~source2 : source1 > (mp_limb_t) ~source2); } } /* Forget about the carry and about r[j+n]. */ } } /* q* is determined. Store it as q[j]. */ q_ptr[j] = q_star; if (j == 0) break; j--; } } r_len = b_len; /* Normalise q. */ if (q_ptr[q_len - 1] == 0) q_len--; # if 0 /* Not needed here, since we need r only to compare it with b/2, and b is shifted left by s bits. */ /* Shift r right by s bits. */ if (s > 0) { mp_limb_t ptr = r_ptr + r_len; mp_twolimb_t accu = 0; size_t count; for (count = r_len; count > 0; count--) { accu = (mp_twolimb_t) (mp_limb_t) accu << GMP_LIMB_BITS; accu += (mp_twolimb_t) *--ptr << (GMP_LIMB_BITS - s); *ptr = (mp_limb_t) (accu >> GMP_LIMB_BITS); } } # endif /* Normalise r. */ while (r_len > 0 && r_ptr[r_len - 1] == 0) r_len--; } /* Compare r << 1 with b. */ if (r_len > b_len) goto increment_q; { size_t i; for (i = b_len;;) { mp_limb_t r_i = (i <= r_len && i > 0 ? r_ptr[i - 1] >> (GMP_LIMB_BITS - 1) : 0) | (i < r_len ? r_ptr[i] << 1 : 0); mp_limb_t b_i = (i < b_len ? b_ptr[i] : 0); if (r_i > b_i) goto increment_q; if (r_i < b_i) goto keep_q; if (i == 0) break; i--; } } if (q_len > 0 && ((q_ptr[0] & 1) != 0)) /* q is odd. */ increment_q: { size_t i; for (i = 0; i < q_len; i++) if (++(q_ptr[i]) != 0) goto keep_q; q_ptr[q_len++] = 1; } keep_q: if (tmp_roomptr != NULL) free (tmp_roomptr); q->limbs = q_ptr; q->nlimbs = q_len; return roomptr; } /* Convert a bignum a >= 0, multiplied with 10^extra_zeroes, to decimal representation. Destroys the contents of a. Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * convert_to_decimal (mpn_t a, size_t extra_zeroes) { mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; /* 0.03345 is slightly larger than log(2)/(9*log(10)). */ size_t c_len = 9 * ((size_t)(a_len * (GMP_LIMB_BITS * 0.03345f)) + 1); /* We need extra_zeroes bytes for zeroes, followed by c_len bytes for the digits of a, followed by 1 byte for the terminating NUL. */ char *c_ptr = (char *) malloc (xsum (xsum (extra_zeroes, c_len), 1)); if (c_ptr != NULL) { char *d_ptr = c_ptr; for (; extra_zeroes > 0; extra_zeroes--) *d_ptr++ = '0'; while (a_len > 0) { /* Divide a by 10^9, in-place. */ mp_limb_t remainder = 0; mp_limb_t *ptr = a_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--ptr; *ptr = num / 1000000000; remainder = num % 1000000000; } /* Store the remainder as 9 decimal digits. */ for (count = 9; count > 0; count--) { *d_ptr++ = '0' + (remainder % 10); remainder = remainder / 10; } /* Normalize a. */ if (a_ptr[a_len - 1] == 0) a_len--; } /* Remove leading zeroes. */ while (d_ptr > c_ptr && d_ptr[-1] == '0') d_ptr--; /* But keep at least one zero. */ if (d_ptr == c_ptr) *d_ptr++ = '0'; /* Terminate the string. */ *d_ptr = '\0'; } return c_ptr; } # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_long_double (long double x, int *ep, mpn_t *mp) { mpn_t m; int exp; long double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (LDBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); /* x = 2^exp * y = 2^(exp - LDBL_MANT_BIT) * (y * 2^LDBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * 2^LDBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'long double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'long double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (LDBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (LDBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = LDBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess precision. */ if (!(y == 0.0L)) abort (); # endif /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - LDBL_MANT_BIT; return m.limbs; } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_double (double x, int *ep, mpn_t *mp) { mpn_t m; int exp; double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (DBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); /* x = 2^exp * y = 2^(exp - DBL_MANT_BIT) * (y * 2^DBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * 2^DBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (DBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (DBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = DBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } if (!(y == 0.0)) abort (); /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - DBL_MANT_BIT; return m.limbs; } # endif /* Assuming x = 2^e * m is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_decoded (int e, mpn_t m, void *memory, int n) { int s; size_t extra_zeroes; unsigned int abs_n; unsigned int abs_s; mp_limb_t *pow5_ptr; size_t pow5_len; unsigned int s_limbs; unsigned int s_bits; mpn_t pow5; mpn_t z; void *z_memory; char *digits; if (memory == NULL) return NULL; /* x = 2^e * m, hence y = round (2^e * 10^n * m) = round (2^(e+n) * 5^n * m) = round (2^s * 5^n * m). */ s = e + n; extra_zeroes = 0; /* Factor out a common power of 10 if possible. */ if (s > 0 && n > 0) { extra_zeroes = (s < n ? s : n); s -= extra_zeroes; n -= extra_zeroes; } /* Here y = round (2^s * 5^n * m) * 10^extra_zeroes. Before converting to decimal, we need to compute z = round (2^s * 5^n * m). */ /* Compute 5^|n|, possibly shifted by |s| bits if n and s have the same sign. 2.322 is slightly larger than log(5)/log(2). */ abs_n = (n >= 0 ? n : -n); abs_s = (s >= 0 ? s : -s); pow5_ptr = (mp_limb_t *) malloc (((int)(abs_n * (2.322f / GMP_LIMB_BITS)) + 1 + abs_s / GMP_LIMB_BITS + 1) * sizeof (mp_limb_t)); if (pow5_ptr == NULL) { free (memory); return NULL; } /* Initialize with 1. */ pow5_ptr[0] = 1; pow5_len = 1; /* Multiply with 5^|n|. */ if (abs_n > 0) { static mp_limb_t const small_pow5[13 + 1] = { 1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125 }; unsigned int n13; for (n13 = 0; n13 <= abs_n; n13 += 13) { mp_limb_t digit1 = small_pow5[n13 + 13 <= abs_n ? 13 : abs_n - n13]; size_t j; mp_twolimb_t carry = 0; for (j = 0; j < pow5_len; j++) { mp_limb_t digit2 = pow5_ptr[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; pow5_ptr[j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } if (carry > 0) pow5_ptr[pow5_len++] = (mp_limb_t) carry; } } s_limbs = abs_s / GMP_LIMB_BITS; s_bits = abs_s % GMP_LIMB_BITS; if (n >= 0 ? s >= 0 : s <= 0) { /* Multiply with 2^|s|. */ if (s_bits > 0) { mp_limb_t *ptr = pow5_ptr; mp_twolimb_t accu = 0; size_t count; for (count = pow5_len; count > 0; count--) { accu += (mp_twolimb_t) *ptr << s_bits; *ptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) { *ptr = (mp_limb_t) accu; pow5_len++; } } if (s_limbs > 0) { size_t count; for (count = pow5_len; count > 0;) { count--; pow5_ptr[s_limbs + count] = pow5_ptr[count]; } for (count = s_limbs; count > 0;) { count--; pow5_ptr[count] = 0; } pow5_len += s_limbs; } pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* Multiply m with pow5. No division needed. */ z_memory = multiply (m, pow5, &z); } else { /* Divide m by pow5 and round. */ z_memory = divide (m, pow5, &z); } } else { pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* n >= 0, s < 0. Multiply m with pow5, then divide by 2^|s|. */ mpn_t numerator; mpn_t denominator; void *tmp_memory; tmp_memory = multiply (m, pow5, &numerator); if (tmp_memory == NULL) { free (pow5_ptr); free (memory); return NULL; } /* Construct 2^|s|. */ { mp_limb_t *ptr = pow5_ptr + pow5_len; size_t i; for (i = 0; i < s_limbs; i++) ptr[i] = 0; ptr[s_limbs] = (mp_limb_t) 1 << s_bits; denominator.limbs = ptr; denominator.nlimbs = s_limbs + 1; } z_memory = divide (numerator, denominator, &z); free (tmp_memory); } else { /* n < 0, s > 0. Multiply m with 2^s, then divide by pow5. */ mpn_t numerator; mp_limb_t *num_ptr; num_ptr = (mp_limb_t *) malloc ((m.nlimbs + s_limbs + 1) * sizeof (mp_limb_t)); if (num_ptr == NULL) { free (pow5_ptr); free (memory); return NULL; } { mp_limb_t *destptr = num_ptr; { size_t i; for (i = 0; i < s_limbs; i++) *destptr++ = 0; } if (s_bits > 0) { const mp_limb_t *sourceptr = m.limbs; mp_twolimb_t accu = 0; size_t count; for (count = m.nlimbs; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s_bits; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) *destptr++ = (mp_limb_t) accu; } else { const mp_limb_t *sourceptr = m.limbs; size_t count; for (count = m.nlimbs; count > 0; count--) *destptr++ = *sourceptr++; } numerator.limbs = num_ptr; numerator.nlimbs = destptr - num_ptr; } z_memory = divide (numerator, pow5, &z); free (num_ptr); } } free (pow5_ptr); free (memory); /* Here y = round (x * 10^n) = z * 10^extra_zeroes. */ if (z_memory == NULL) return NULL; digits = convert_to_decimal (z, extra_zeroes); free (z_memory); return digits; } # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_long_double (long double x, int n) { int e IF_LINT(= 0); mpn_t m; void *memory = decode_long_double (x, &e, &m); return scale10_round_decimal_decoded (e, m, memory, n); } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_double (double x, int n) { int e IF_LINT(= 0); mpn_t m; void *memory = decode_double (x, &e, &m); return scale10_round_decimal_decoded (e, m, memory, n); } # endif # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10l (long double x) { int exp; long double y; double z; double l; /* Split into exponential part and mantissa. */ y = frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); if (y == 0.0L) return INT_MIN; if (y < 0.5L) { while (y < (1.0L / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0L * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0L / (1 << 16))) { y *= 1.0L * (1 << 16); exp -= 16; } if (y < (1.0L / (1 << 8))) { y *= 1.0L * (1 << 8); exp -= 8; } if (y < (1.0L / (1 << 4))) { y *= 1.0L * (1 << 4); exp -= 4; } if (y < (1.0L / (1 << 2))) { y *= 1.0L * (1 << 2); exp -= 2; } if (y < (1.0L / (1 << 1))) { y *= 1.0L * (1 << 1); exp -= 1; } } if (!(y >= 0.5L && y < 1.0L)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) Four terms are enough to get an approximation with error < 10^-7. */ l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10 (double x) { int exp; double y; double z; double l; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); if (y == 0.0) return INT_MIN; if (y < 0.5) { while (y < (1.0 / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0 * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0 / (1 << 16))) { y *= 1.0 * (1 << 16); exp -= 16; } if (y < (1.0 / (1 << 8))) { y *= 1.0 * (1 << 8); exp -= 8; } if (y < (1.0 / (1 << 4))) { y *= 1.0 * (1 << 4); exp -= 4; } if (y < (1.0 / (1 << 2))) { y *= 1.0 * (1 << 2); exp -= 2; } if (y < (1.0 / (1 << 1))) { y *= 1.0 * (1 << 1); exp -= 1; } } if (!(y >= 0.5 && y < 1.0)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) Four terms are enough to get an approximation with error < 10^-7. */ l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif /* Tests whether a string of digits consists of exactly PRECISION zeroes and a single '1' digit. */ static int is_borderline (const char *digits, size_t precision) { for (; precision > 0; precision--, digits++) if (*digits != '0') return 0; if (*digits != '1') return 0; digits++; return *digits == '\0'; } #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF /* Use a different function name, to make it possible that the 'wchar_t' parametrization and the 'char' parametrization get compiled in the same translation unit. */ # if WIDE_CHAR_VERSION # define MAX_ROOM_NEEDED wmax_room_needed # else # define MAX_ROOM_NEEDED max_room_needed # endif /* Returns the number of TCHAR_T units needed as temporary space for the result of sprintf or SNPRINTF of a single conversion directive. */ static size_t MAX_ROOM_NEEDED (const arguments *ap, size_t arg_index, FCHAR_T conversion, arg_type type, int flags, size_t width, int has_precision, size_t precision, int pad_ourselves) { size_t tmp_length; switch (conversion) { case 'd': case 'i': case 'u': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Multiply by 2, as an estimate for FLAG_GROUP. */ tmp_length = xsum (tmp_length, tmp_length); /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'o': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'x': case 'X': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Add 2, to account for a leading sign or alternate form. */ tmp_length = xsum (tmp_length, 2); break; case 'f': case 'F': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ else tmp_length = (unsigned int) (DBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ tmp_length = xsum (tmp_length, precision); break; case 'e': case 'E': case 'g': case 'G': tmp_length = 12; /* sign, decimal point, exponent etc. */ tmp_length = xsum (tmp_length, precision); break; case 'a': case 'A': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (DBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); break; case 'c': # if HAVE_WINT_T && !WIDE_CHAR_VERSION if (type == TYPE_WIDE_CHAR) tmp_length = MB_CUR_MAX; else # endif tmp_length = 1; break; case 's': # if HAVE_WCHAR_T if (type == TYPE_WIDE_STRING) { # if WIDE_CHAR_VERSION /* ISO C says about %ls in fwprintf: "If the precision is not specified or is greater than the size of the array, the array shall contain a null wide character." So if there is a precision, we must not use wcslen. */ const wchar_t *arg = ap->arg[arg_index].a.a_wide_string; if (has_precision) tmp_length = local_wcsnlen (arg, precision); else tmp_length = local_wcslen (arg); # else /* ISO C says about %ls in fprintf: "If a precision is specified, no more than that many bytes are written (including shift sequences, if any), and the array shall contain a null wide character if, to equal the multibyte character sequence length given by the precision, the function would need to access a wide character one past the end of the array." So if there is a precision, we must not use wcslen. */ /* This case has already been handled separately in VASNPRINTF. */ abort (); # endif } else # endif { # if WIDE_CHAR_VERSION /* ISO C says about %s in fwprintf: "If the precision is not specified or is greater than the size of the converted array, the converted array shall contain a null wide character." So if there is a precision, we must not use strlen. */ /* This case has already been handled separately in VASNPRINTF. */ abort (); # else /* ISO C says about %s in fprintf: "If the precision is not specified or greater than the size of the array, the array shall contain a null character." So if there is a precision, we must not use strlen. */ const char *arg = ap->arg[arg_index].a.a_string; if (has_precision) tmp_length = local_strnlen (arg, precision); else tmp_length = strlen (arg); # endif } break; case 'p': tmp_length = (unsigned int) (sizeof (void *) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1 /* turn floor into ceil */ + 2; /* account for leading 0x */ break; default: abort (); } if (!pad_ourselves) { # if ENABLE_UNISTDIO /* Padding considers the number of characters, therefore the number of elements after padding may be > max (tmp_length, width) but is certainly <= tmp_length + width. */ tmp_length = xsum (tmp_length, width); # else /* Padding considers the number of elements, says POSIX. */ if (tmp_length < width) tmp_length = width; # endif } tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ return tmp_length; } #endif DCHAR_T * VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, const FCHAR_T *format, va_list args) { DIRECTIVES d; arguments a; if (PRINTF_PARSE (format, &d, &a) < 0) /* errno is already set. */ return NULL; #define CLEANUP() \ if (d.dir != d.direct_alloc_dir) \ free (d.dir); \ if (a.arg != a.direct_alloc_arg) \ free (a.arg); if (PRINTF_FETCHARGS (args, &a) < 0) { CLEANUP (); errno = EINVAL; return NULL; } { size_t buf_neededlength; TCHAR_T *buf; TCHAR_T *buf_malloced; const FCHAR_T *cp; size_t i; DIRECTIVE *dp; /* Output string accumulator. */ DCHAR_T *result; size_t allocated; size_t length; /* Allocate a small buffer that will hold a directive passed to sprintf or snprintf. */ buf_neededlength = xsum4 (7, d.max_width_length, d.max_precision_length, 6); #if HAVE_ALLOCA if (buf_neededlength < 4000 / sizeof (TCHAR_T)) { buf = (TCHAR_T *) alloca (buf_neededlength * sizeof (TCHAR_T)); buf_malloced = NULL; } else #endif { size_t buf_memsize = xtimes (buf_neededlength, sizeof (TCHAR_T)); if (size_overflow_p (buf_memsize)) goto out_of_memory_1; buf = (TCHAR_T *) malloc (buf_memsize); if (buf == NULL) goto out_of_memory_1; buf_malloced = buf; } if (resultbuf != NULL) { result = resultbuf; allocated = *lengthp; } else { result = NULL; allocated = 0; } length = 0; /* Invariants: result is either == resultbuf or == NULL or malloc-allocated. If length > 0, then result != NULL. */ /* Ensures that allocated >= needed. Aborts through a jump to out_of_memory if needed is SIZE_MAX or otherwise too big. */ #define ENSURE_ALLOCATION(needed) \ if ((needed) > allocated) \ { \ size_t memory_size; \ DCHAR_T *memory; \ \ allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ if ((needed) > allocated) \ allocated = (needed); \ memory_size = xtimes (allocated, sizeof (DCHAR_T)); \ if (size_overflow_p (memory_size)) \ goto out_of_memory; \ if (result == resultbuf || result == NULL) \ memory = (DCHAR_T *) malloc (memory_size); \ else \ memory = (DCHAR_T *) realloc (result, memory_size); \ if (memory == NULL) \ goto out_of_memory; \ if (result == resultbuf && length > 0) \ DCHAR_CPY (memory, result, length); \ result = memory; \ } for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) { if (cp != dp->dir_start) { size_t n = dp->dir_start - cp; size_t augmented_length = xsum (length, n); ENSURE_ALLOCATION (augmented_length); /* This copies a piece of FCHAR_T[] into a DCHAR_T[]. Here we need that the format string contains only ASCII characters if FCHAR_T and DCHAR_T are not the same type. */ if (sizeof (FCHAR_T) == sizeof (DCHAR_T)) { DCHAR_CPY (result + length, (const DCHAR_T *) cp, n); length = augmented_length; } else { do result[length++] = *cp++; while (--n > 0); } } if (i == d.count) break; /* Execute a single directive. */ if (dp->conversion == '%') { size_t augmented_length; if (!(dp->arg_index == ARG_NONE)) abort (); augmented_length = xsum (length, 1); ENSURE_ALLOCATION (augmented_length); result[length] = '%'; length = augmented_length; } else { if (!(dp->arg_index != ARG_NONE)) abort (); if (dp->conversion == 'n') { switch (a.arg[dp->arg_index].type) { case TYPE_COUNT_SCHAR_POINTER: *a.arg[dp->arg_index].a.a_count_schar_pointer = length; break; case TYPE_COUNT_SHORT_POINTER: *a.arg[dp->arg_index].a.a_count_short_pointer = length; break; case TYPE_COUNT_INT_POINTER: *a.arg[dp->arg_index].a.a_count_int_pointer = length; break; case TYPE_COUNT_LONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longint_pointer = length; break; #if HAVE_LONG_LONG_INT case TYPE_COUNT_LONGLONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; break; #endif default: abort (); } } #if ENABLE_UNISTDIO /* The unistdio extensions. */ else if (dp->conversion == 'U') { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } switch (type) { case TYPE_U8_STRING: { const uint8_t *arg = a.arg[dp->arg_index].a.a_u8_string; const uint8_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u8_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT8_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-8 to locale encoding. */ converted = u8_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-8 to UTF-16/UTF-32. */ converted = U8_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U16_STRING: { const uint16_t *arg = a.arg[dp->arg_index].a.a_u16_string; const uint16_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u16_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT16_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-16 to locale encoding. */ converted = u16_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-16 to UTF-8/UTF-32. */ converted = U16_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U32_STRING: { const uint32_t *arg = a.arg[dp->arg_index].a.a_u32_string; const uint32_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u32_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT32_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-32 to locale encoding. */ converted = u32_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-32 to UTF-8/UTF-16. */ converted = U32_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; default: abort (); } } #endif #if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (NEED_PRINTF_DIRECTIVE_LS && !defined IN_LIBINTL)) && HAVE_WCHAR_T else if (dp->conversion == 's' # if WIDE_CHAR_VERSION && a.arg[dp->arg_index].type != TYPE_WIDE_STRING # else && a.arg[dp->arg_index].type == TYPE_WIDE_STRING # endif ) { /* The normal handling of the 's' directive below requires allocating a temporary buffer. The determination of its length (tmp_length), in the case when a precision is specified, below requires a conversion between a char[] string and a wchar_t[] wide string. It could be done, but we have no guarantee that the implementation of sprintf will use the exactly same algorithm. Without this guarantee, it is possible to have buffer overrun bugs. In order to avoid such bugs, we implement the entire processing of the 's' directive ourselves. */ int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } # if WIDE_CHAR_VERSION /* %s in vasnwprintf. See the specification of fwprintf. */ { const char *arg = a.arg[dp->arg_index].a.a_string; const char *arg_end; size_t characters; if (has_precision) { /* Use only as many bytes as needed to produce PRECISION wide characters, from the left. */ # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count; # if HAVE_MBRTOWC count = mbrlen (arg_end, MB_CUR_MAX, &state); # else count = mblen (arg_end, MB_CUR_MAX); # endif if (count == 0) /* Found the terminating NUL. */ break; if (count < 0) { /* Invalid or incomplete multibyte character. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of wide characters. */ # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; for (;;) { int count; # if HAVE_MBRTOWC count = mbrlen (arg_end, MB_CUR_MAX, &state); # else count = mblen (arg_end, MB_CUR_MAX); # endif if (count == 0) /* Found the terminating NUL. */ break; if (count < 0) { /* Invalid or incomplete multibyte character. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } if (has_precision || has_width) { /* We know the number of wide characters in advance. */ size_t remaining; # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif ENSURE_ALLOCATION (xsum (length, characters)); for (remaining = characters; remaining > 0; remaining--) { wchar_t wc; int count; # if HAVE_MBRTOWC count = mbrtowc (&wc, arg, arg_end - arg, &state); # else count = mbtowc (&wc, arg, arg_end - arg); # endif if (count <= 0) /* mbrtowc not consistent with mbrlen, or mbtowc not consistent with mblen. */ abort (); result[length++] = wc; arg += count; } if (!(arg == arg_end)) abort (); } else { # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif while (arg < arg_end) { wchar_t wc; int count; # if HAVE_MBRTOWC count = mbrtowc (&wc, arg, arg_end - arg, &state); # else count = mbtowc (&wc, arg, arg_end - arg); # endif if (count <= 0) /* mbrtowc not consistent with mbrlen, or mbtowc not consistent with mblen. */ abort (); ENSURE_ALLOCATION (xsum (length, 1)); result[length++] = wc; arg += count; } } if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } # else /* %ls in vasnprintf. See the specification of fprintf. */ { const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; const wchar_t *arg_end; size_t characters; # if !DCHAR_IS_TCHAR /* This code assumes that TCHAR_T is 'char'. */ verify (sizeof (TCHAR_T) == 1); TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t tmpdst_len; # endif size_t w; if (has_precision) { /* Use only as many wide characters as needed to produce at most PRECISION bytes, from the left. */ # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; while (precision > 0) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg_end == 0) /* Found the terminating null wide character. */ break; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg_end, &state); # else count = wctomb (cbuf, *arg_end); # endif if (count < 0) { /* Cannot convert. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } if (precision < (unsigned int) count) break; arg_end++; characters += count; precision -= count; } } # if DCHAR_IS_TCHAR else if (has_width) # else else # endif { /* Use the entire string, and count the number of bytes. */ # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; for (;;) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg_end == 0) /* Found the terminating null wide character. */ break; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg_end, &state); # else count = wctomb (cbuf, *arg_end); # endif if (count < 0) { /* Cannot convert. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end++; characters += count; } } # if DCHAR_IS_TCHAR else { /* Use the entire string. */ arg_end = arg + local_wcslen (arg); /* The number of bytes doesn't matter. */ characters = 0; } # endif # if !DCHAR_IS_TCHAR /* Convert the string into a piece of temporary memory. */ tmpsrc = (TCHAR_T *) malloc (characters * sizeof (TCHAR_T)); if (tmpsrc == NULL) goto out_of_memory; { TCHAR_T *tmpptr = tmpsrc; size_t remaining; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif for (remaining = characters; remaining > 0; ) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg, &state); # else count = wctomb (cbuf, *arg); # endif if (count <= 0) /* Inconsistency. */ abort (); memcpy (tmpptr, cbuf, count); tmpptr += count; arg++; remaining -= count; } if (!(arg == arg_end)) abort (); } /* Convert from TCHAR_T[] to DCHAR_T[]. */ tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, characters, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) { int saved_errno = errno; free (tmpsrc); if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } free (tmpsrc); # endif if (has_width) { # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ w = DCHAR_MBSNLEN (result + length, characters); # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = characters; # endif } else /* w doesn't matter. */ w = 0; if (w < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - w; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_TCHAR if (has_precision || has_width) { /* We know the number of bytes in advance. */ size_t remaining; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif ENSURE_ALLOCATION (xsum (length, characters)); for (remaining = characters; remaining > 0; ) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg, &state); # else count = wctomb (cbuf, *arg); # endif if (count <= 0) /* Inconsistency. */ abort (); memcpy (result + length, cbuf, count); length += count; arg++; remaining -= count; } if (!(arg == arg_end)) abort (); } else { # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif while (arg < arg_end) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg, &state); # else count = wctomb (cbuf, *arg); # endif if (count <= 0) { /* Cannot convert. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } ENSURE_ALLOCATION (xsum (length, count)); memcpy (result + length, cbuf, count); length += count; arg++; } } # else ENSURE_ALLOCATION (xsum (length, tmpdst_len)); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); length += tmpdst_len; # endif if (w < width && (dp->flags & FLAG_LEFT)) { size_t n = width - w; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } # endif } #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL else if ((dp->conversion == 'a' || dp->conversion == 'A') # if !(NEED_PRINTF_DIRECTIVE_A || (NEED_PRINTF_LONG_DOUBLE && NEED_PRINTF_DOUBLE)) && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # endif ) # endif ) { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; size_t width; int has_precision; size_t precision; size_t tmp_length; size_t count; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* Allocate a temporary buffer of sufficient size. */ if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) ((LDBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) ((DBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; if (type == TYPE_LONGDOUBLE) { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; long double mantissa; if (arg > 0.0L) mantissa = printf_frexpl (arg, &exponent); else { exponent = 0; mantissa = 0.0L; } if (has_precision && precision < (unsigned int) ((LDBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ long double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5L : tail > 0.5L) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0L; } if (tail != 0.0L) for (q = precision; q > 0; q--) tail *= 0.0625L; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0L || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0L) { mantissa *= 16.0L; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } END_LONG_DOUBLE_ROUNDING (); } # else abort (); # endif } else { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE double arg = a.arg[dp->arg_index].a.a_double; if (isnand (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; double mantissa; if (arg > 0.0) mantissa = printf_frexp (arg, &exponent); else { exponent = 0; mantissa = 0.0; } if (has_precision && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5 : tail > 0.5) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0; } if (tail != 0.0) for (q = precision; q > 0; q--) tail *= 0.0625; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0 || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0) { mantissa *= 16.0; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } } # else abort (); # endif } /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ count = p - tmp; if (count < width) { size_t pad = width - count; DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION (n); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } #endif #if (NEED_PRINTF_INFINITE_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL else if ((dp->conversion == 'f' || dp->conversion == 'F' || dp->conversion == 'e' || dp->conversion == 'E' || dp->conversion == 'g' || dp->conversion == 'G' || dp->conversion == 'a' || dp->conversion == 'A') && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # elif NEED_PRINTF_INFINITE_DOUBLE || (a.arg[dp->arg_index].type == TYPE_DOUBLE /* The systems (mingw) which produce wrong output for Inf, -Inf, and NaN also do so for -0.0. Therefore we treat this case here as well. */ && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double)) # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # elif NEED_PRINTF_INFINITE_LONG_DOUBLE || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE /* Some systems produce wrong output for Inf, -Inf, and NaN. Some systems in this category (IRIX 5.3) also do so for -0.0. Therefore we treat this case here as well. */ && is_infinite_or_zerol (a.arg[dp->arg_index].a.a_longdouble)) # endif )) { # if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) arg_type type = a.arg[dp->arg_index].type; # endif int flags = dp->flags; size_t width; size_t count; int has_precision; size_t precision; size_t tmp_length; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* POSIX specifies the default precision to be 6 for %f, %F, %e, %E, but not for %g, %G. Implementations appear to use the same default precision also for %g, %G. But for %a, %A, the default precision is 0. */ if (!has_precision) if (!(dp->conversion == 'a' || dp->conversion == 'A')) precision = 6; /* Allocate a temporary buffer of sufficient size. */ # if NEED_PRINTF_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); # elif NEED_PRINTF_INFINITE_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : 0); # elif NEED_PRINTF_LONG_DOUBLE tmp_length = LDBL_DIG + 1; # elif NEED_PRINTF_DOUBLE tmp_length = DBL_DIG + 1; # else tmp_length = 0; # endif if (tmp_length < precision) tmp_length = precision; # if NEED_PRINTF_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (!(isnanl (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10l (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif # if NEED_PRINTF_DOUBLE # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE if (type == TYPE_DOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { double arg = a.arg[dp->arg_index].a.a_double; if (!(isnand (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10 (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_LONG_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_long_double (arg, precision); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0L) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0L. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)precision - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ if (is_borderline (digits, precision)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_long_double (arg, (int)precision - exponent + 1); if (digits2 == NULL) { free (digits); END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } if (strlen (digits2) == precision + 1) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0L) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0L. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ if (is_borderline (digits, precision - 1)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_long_double (arg, (int)(precision - 1) - exponent + 1); if (digits2 == NULL) { free (digits); END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } if (strlen (digits2) == precision) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t ecount = exponent + 1; /* Note: count <= precision = ndigits. */ for (; ecount > 0; ecount--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t ecount = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; ecount > 0; ecount--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } free (digits); } } else abort (); # else /* arg is finite. */ if (!(arg == 0.0L)) abort (); pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else if (dp->conversion == 'e' || dp->conversion == 'E') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion; /* 'e' or 'E' */ *p++ = '+'; *p++ = '0'; *p++ = '0'; } else if (dp->conversion == 'g' || dp->conversion == 'G') { *p++ = '0'; if (flags & FLAG_ALT) { size_t ndigits = (precision > 0 ? precision - 1 : 0); *p++ = decimal_point_char (); for (; ndigits > 0; --ndigits) *p++ = '0'; } } else if (dp->conversion == 'a' || dp->conversion == 'A') { *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion - 'A' + 'P'; *p++ = '+'; *p++ = '0'; } else abort (); # endif } END_LONG_DOUBLE_ROUNDING (); } } # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE else # endif # endif # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE { double arg = a.arg[dp->arg_index].a.a_double; if (isnand (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_double (arg, precision); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)precision - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ if (is_borderline (digits, precision)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_double (arg, (int)precision - exponent + 1); if (digits2 == NULL) { free (digits); goto out_of_memory; } if (strlen (digits2) == precision + 1) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ if (is_borderline (digits, precision - 1)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_double (arg, (int)(precision - 1) - exponent + 1); if (digits2 == NULL) { free (digits); goto out_of_memory; } if (strlen (digits2) == precision) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t ecount = exponent + 1; /* Note: ecount <= precision = ndigits. */ for (; ecount > 0; ecount--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t ecount = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; ecount > 0; ecount--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } free (digits); } } else abort (); # else /* arg is finite. */ if (!(arg == 0.0)) abort (); pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else if (dp->conversion == 'e' || dp->conversion == 'E') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion; /* 'e' or 'E' */ *p++ = '+'; /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ *p++ = '0'; # endif *p++ = '0'; *p++ = '0'; } else if (dp->conversion == 'g' || dp->conversion == 'G') { *p++ = '0'; if (flags & FLAG_ALT) { size_t ndigits = (precision > 0 ? precision - 1 : 0); *p++ = decimal_point_char (); for (; ndigits > 0; --ndigits) *p++ = '0'; } } else abort (); # endif } } } # endif /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ count = p - tmp; if (count < width) { size_t pad = width - count; DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION (n); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } #endif else { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int has_width; #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION size_t width; #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_UNBOUNDED_PRECISION int has_precision; size_t precision; #endif #if NEED_PRINTF_UNBOUNDED_PRECISION int prec_ourselves; #else # define prec_ourselves 0 #endif #if NEED_PRINTF_FLAG_LEFTADJUST # define pad_ourselves 1 #elif !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int pad_ourselves; #else # define pad_ourselves 0 #endif TCHAR_T *fbp; unsigned int prefix_count; int prefixes[2] IF_LINT (= { 0 }); int orig_errno; #if !USE_SNPRINTF size_t tmp_length; TCHAR_T tmpbuf[700]; TCHAR_T *tmp; #endif #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_width = 0; #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_width = 1; #endif } #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_UNBOUNDED_PRECISION has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } #endif /* Decide whether to handle the precision ourselves. */ #if NEED_PRINTF_UNBOUNDED_PRECISION switch (dp->conversion) { case 'd': case 'i': case 'u': case 'o': case 'x': case 'X': case 'p': prec_ourselves = has_precision && (precision > 0); break; default: prec_ourselves = 0; break; } #endif /* Decide whether to perform the padding ourselves. */ #if !NEED_PRINTF_FLAG_LEFTADJUST && (!DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION) switch (dp->conversion) { # if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO /* If we need conversion from TCHAR_T[] to DCHAR_T[], we need to perform the padding after this conversion. Functions with unistdio extensions perform the padding based on character count rather than element count. */ case 'c': case 's': # endif # if NEED_PRINTF_FLAG_ZERO case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': # endif pad_ourselves = 1; break; default: pad_ourselves = prec_ourselves; break; } #endif #if !USE_SNPRINTF /* Allocate a temporary buffer of sufficient size for calling sprintf. */ tmp_length = MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, flags, width, has_precision, precision, pad_ourselves); if (tmp_length <= sizeof (tmpbuf) / sizeof (TCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (TCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (TCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } #endif /* Construct the format string for calling snprintf or sprintf. */ fbp = buf; *fbp++ = '%'; #if NEED_PRINTF_FLAG_GROUPING /* The underlying implementation doesn't support the ' flag. Produce no grouping characters in this case; this is acceptable because the grouping is locale dependent. */ #else if (flags & FLAG_GROUP) *fbp++ = '\''; #endif if (flags & FLAG_LEFT) *fbp++ = '-'; if (flags & FLAG_SHOWSIGN) *fbp++ = '+'; if (flags & FLAG_SPACE) *fbp++ = ' '; if (flags & FLAG_ALT) *fbp++ = '#'; #if __GLIBC__ >= 2 && !defined __UCLIBC__ if (flags & FLAG_LOCALIZED) *fbp++ = 'I'; #endif if (!pad_ourselves) { if (flags & FLAG_ZERO) *fbp++ = '0'; if (dp->width_start != dp->width_end) { size_t n = dp->width_end - dp->width_start; /* The width specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->width_start; do *fbp++ = *mp++; while (--n > 0); } } } if (!prec_ourselves) { if (dp->precision_start != dp->precision_end) { size_t n = dp->precision_end - dp->precision_start; /* The precision specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->precision_start; do *fbp++ = *mp++; while (--n > 0); } } } switch (type) { #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: case TYPE_ULONGLONGINT: # if defined _WIN32 && ! defined __CYGWIN__ *fbp++ = 'I'; *fbp++ = '6'; *fbp++ = '4'; break; # else *fbp++ = 'l'; # endif #endif FALLTHROUGH; case TYPE_LONGINT: case TYPE_ULONGINT: #if HAVE_WINT_T case TYPE_WIDE_CHAR: #endif #if HAVE_WCHAR_T case TYPE_WIDE_STRING: #endif *fbp++ = 'l'; break; case TYPE_LONGDOUBLE: *fbp++ = 'L'; break; default: break; } #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') *fbp = 'f'; else #endif *fbp = dp->conversion; #if USE_SNPRINTF # if ! (((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \ && !defined __UCLIBC__) \ || (defined __APPLE__ && defined __MACH__) \ || defined __ANDROID__ \ || (defined _WIN32 && ! defined __CYGWIN__)) fbp[1] = '%'; fbp[2] = 'n'; fbp[3] = '\0'; # else /* On glibc2 systems from glibc >= 2.3 - probably also older ones - we know that snprintf's return value conforms to ISO C 99: the tests gl_SNPRINTF_RETVAL_C99 and gl_SNPRINTF_TRUNCATION_C99 pass. Therefore we can avoid using %n in this situation. On glibc2 systems from 2004-10-18 or newer, the use of %n in format strings in writable memory may crash the program (if compiled with _FORTIFY_SOURCE=2), so we should avoid it in this situation. */ /* On Mac OS X 10.3 or newer, we know that snprintf's return value conforms to ISO C 99: the tests gl_SNPRINTF_RETVAL_C99 and gl_SNPRINTF_TRUNCATION_C99 pass. Therefore we can avoid using %n in this situation. On Mac OS X 10.13 or newer, the use of %n in format strings in writable memory by default crashes the program, so we should avoid it in this situation. */ /* On Android, we know that snprintf's return value conforms to ISO C 99: the tests gl_SNPRINTF_RETVAL_C99 and gl_SNPRINTF_TRUNCATION_C99 pass. Therefore we can avoid using %n in this situation. Starting on 2018-03-07, the use of %n in format strings produces a fatal error (see ), so we should avoid it. */ /* On native Windows systems (such as mingw), we can avoid using %n because: - Although the gl_SNPRINTF_TRUNCATION_C99 test fails, snprintf does not write more than the specified number of bytes. (snprintf (buf, 3, "%d %d", 4567, 89) writes '4', '5', '6' into buf, not '4', '5', '\0'.) - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf allows us to recognize the case of an insufficient buffer size: it returns -1 in this case. On native Windows systems (such as mingw) where the OS is Windows Vista, the use of %n in format strings by default crashes the program. See and So we should avoid %n in this situation. */ fbp[1] = '\0'; # endif #else fbp[1] = '\0'; #endif /* Construct the arguments for calling snprintf or sprintf. */ prefix_count = 0; if (!pad_ourselves && dp->width_arg_index != ARG_NONE) { if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; } if (!prec_ourselves && dp->precision_arg_index != ARG_NONE) { if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; } #if USE_SNPRINTF /* The SNPRINTF result is appended after result[0..length]. The latter is an array of DCHAR_T; SNPRINTF appends an array of TCHAR_T to it. This is possible because sizeof (TCHAR_T) divides sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). */ # define TCHARS_PER_DCHAR (sizeof (DCHAR_T) / sizeof (TCHAR_T)) /* Ensure that maxlen below will be >= 2. Needed on BeOS, where an snprintf() with maxlen==1 acts like sprintf(). */ ENSURE_ALLOCATION (xsum (length, (2 + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR)); /* Prepare checking whether snprintf returns the count via %n. */ *(TCHAR_T *) (result + length) = '\0'; #endif orig_errno = errno; for (;;) { int count = -1; #if USE_SNPRINTF int retcount = 0; size_t maxlen = allocated - length; /* SNPRINTF can fail if its second argument is > INT_MAX. */ if (maxlen > INT_MAX / TCHARS_PER_DCHAR) maxlen = INT_MAX / TCHARS_PER_DCHAR; maxlen = maxlen * TCHARS_PER_DCHAR; # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ arg, &count); \ break; \ case 1: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], arg, &count); \ break; \ case 2: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], prefixes[1], arg, \ &count); \ break; \ default: \ abort (); \ } #else # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ count = sprintf (tmp, buf, arg); \ break; \ case 1: \ count = sprintf (tmp, buf, prefixes[0], arg); \ break; \ case 2: \ count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ arg); \ break; \ default: \ abort (); \ } #endif errno = 0; switch (type) { case TYPE_SCHAR: { int arg = a.arg[dp->arg_index].a.a_schar; SNPRINTF_BUF (arg); } break; case TYPE_UCHAR: { unsigned int arg = a.arg[dp->arg_index].a.a_uchar; SNPRINTF_BUF (arg); } break; case TYPE_SHORT: { int arg = a.arg[dp->arg_index].a.a_short; SNPRINTF_BUF (arg); } break; case TYPE_USHORT: { unsigned int arg = a.arg[dp->arg_index].a.a_ushort; SNPRINTF_BUF (arg); } break; case TYPE_INT: { int arg = a.arg[dp->arg_index].a.a_int; SNPRINTF_BUF (arg); } break; case TYPE_UINT: { unsigned int arg = a.arg[dp->arg_index].a.a_uint; SNPRINTF_BUF (arg); } break; case TYPE_LONGINT: { long int arg = a.arg[dp->arg_index].a.a_longint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGINT: { unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; SNPRINTF_BUF (arg); } break; #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: { long long int arg = a.arg[dp->arg_index].a.a_longlongint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGLONGINT: { unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; SNPRINTF_BUF (arg); } break; #endif case TYPE_DOUBLE: { double arg = a.arg[dp->arg_index].a.a_double; SNPRINTF_BUF (arg); } break; case TYPE_LONGDOUBLE: { long double arg = a.arg[dp->arg_index].a.a_longdouble; SNPRINTF_BUF (arg); } break; case TYPE_CHAR: { int arg = a.arg[dp->arg_index].a.a_char; SNPRINTF_BUF (arg); } break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: { wint_t arg = a.arg[dp->arg_index].a.a_wide_char; SNPRINTF_BUF (arg); } break; #endif case TYPE_STRING: { const char *arg = a.arg[dp->arg_index].a.a_string; SNPRINTF_BUF (arg); } break; #if HAVE_WCHAR_T case TYPE_WIDE_STRING: { const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; SNPRINTF_BUF (arg); } break; #endif case TYPE_POINTER: { void *arg = a.arg[dp->arg_index].a.a_pointer; SNPRINTF_BUF (arg); } break; default: abort (); } #if USE_SNPRINTF /* Portability: Not all implementations of snprintf() are ISO C 99 compliant. Determine the number of bytes that snprintf() has produced or would have produced. */ if (count >= 0) { /* Verify that snprintf() has NUL-terminated its result. */ if ((unsigned int) count < maxlen && ((TCHAR_T *) (result + length)) [count] != '\0') abort (); /* Portability hack. */ if (retcount > count) count = retcount; } else { /* snprintf() doesn't understand the '%n' directive. */ if (fbp[1] != '\0') { /* Don't use the '%n' directive; instead, look at the snprintf() return value. */ fbp[1] = '\0'; continue; } else { /* Look at the snprintf() return value. */ if (retcount < 0) { # if !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF /* HP-UX 10.20 snprintf() is doubly deficient: It doesn't understand the '%n' directive, *and* it returns -1 (rather than the length that would have been required) when the buffer is too small. But a failure at this point can also come from other reasons than a too small buffer, such as an invalid wide string argument to the %ls directive, or possibly an invalid floating-point argument. */ size_t tmp_length = MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, flags, width, has_precision, precision, pad_ourselves); if (maxlen < tmp_length) { /* Make more room. But try to do through this reallocation only once. */ size_t bigger_need = xsum (length, xsum (tmp_length, TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR); /* And always grow proportionally. (There may be several arguments, each needing a little more room than the previous one.) */ size_t bigger_need2 = xsum (xtimes (allocated, 2), 12); if (bigger_need < bigger_need2) bigger_need = bigger_need2; ENSURE_ALLOCATION (bigger_need); continue; } # endif } else count = retcount; } } #endif /* Attempt to handle failure. */ if (count < 0) { /* SNPRINTF or sprintf failed. Save and use the errno that it has set, if any. */ int saved_errno = errno; if (saved_errno == 0) { if (dp->conversion == 'c' || dp->conversion == 's') saved_errno = EILSEQ; else saved_errno = EINVAL; } if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } #if USE_SNPRINTF /* Handle overflow of the allocated buffer. If such an overflow occurs, a C99 compliant snprintf() returns a count >= maxlen. However, a non-compliant snprintf() function returns only count = maxlen - 1. To cover both cases, test whether count >= maxlen - 1. */ if ((unsigned int) count + 1 >= maxlen) { /* If maxlen already has attained its allowed maximum, allocating more memory will not increase maxlen. Instead of looping, bail out. */ if (maxlen == INT_MAX / TCHARS_PER_DCHAR) goto overflow; else { /* Need at least (count + 1) * sizeof (TCHAR_T) bytes. (The +1 is for the trailing NUL.) But ask for (count + 2) * sizeof (TCHAR_T) bytes, so that in the next round, we likely get maxlen > (unsigned int) count + 1 and so we don't get here again. And allocate proportionally, to avoid looping eternally if snprintf() reports a too small count. */ size_t n = xmax (xsum (length, ((unsigned int) count + 2 + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); continue; } } #endif #if NEED_PRINTF_UNBOUNDED_PRECISION if (prec_ourselves) { /* Handle the precision. */ TCHAR_T *prec_ptr = # if USE_SNPRINTF (TCHAR_T *) (result + length); # else tmp; # endif size_t prefix_count; size_t move; prefix_count = 0; /* Put the additional zeroes after the sign. */ if (count >= 1 && (*prec_ptr == '-' || *prec_ptr == '+' || *prec_ptr == ' ')) prefix_count = 1; /* Put the additional zeroes after the 0x prefix if (flags & FLAG_ALT) || (dp->conversion == 'p'). */ else if (count >= 2 && prec_ptr[0] == '0' && (prec_ptr[1] == 'x' || prec_ptr[1] == 'X')) prefix_count = 2; move = count - prefix_count; if (precision > move) { /* Insert zeroes. */ size_t insert = precision - move; TCHAR_T *prec_end; # if USE_SNPRINTF size_t n = xsum (length, (count + insert + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR); length += (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; ENSURE_ALLOCATION (n); length -= (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; prec_ptr = (TCHAR_T *) (result + length); # endif prec_end = prec_ptr + count; prec_ptr += prefix_count; while (prec_end > prec_ptr) { prec_end--; prec_end[insert] = prec_end[0]; } prec_end += insert; do *--prec_end = '0'; while (prec_end > prec_ptr); count += insert; } } #endif #if !USE_SNPRINTF if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); #endif #if !DCHAR_IS_TCHAR /* Convert from TCHAR_T[] to DCHAR_T[]. */ if (dp->conversion == 'c' || dp->conversion == 's') { /* type = TYPE_CHAR or TYPE_WIDE_CHAR or TYPE_STRING TYPE_WIDE_STRING. The result string is not certainly ASCII. */ const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t tmpdst_len; /* This code assumes that TCHAR_T is 'char'. */ verify (sizeof (TCHAR_T) == 1); # if USE_SNPRINTF tmpsrc = (TCHAR_T *) (result + length); # else tmpsrc = tmp; # endif tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, count, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } ENSURE_ALLOCATION (xsum (length, tmpdst_len)); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); count = tmpdst_len; } else { /* The result string is ASCII. Simple 1:1 conversion. */ # if USE_SNPRINTF /* If sizeof (DCHAR_T) == sizeof (TCHAR_T), it's a no-op conversion, in-place on the array starting at (result + length). */ if (sizeof (DCHAR_T) != sizeof (TCHAR_T)) # endif { const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t n; # if USE_SNPRINTF if (result == resultbuf) { tmpsrc = (TCHAR_T *) (result + length); /* ENSURE_ALLOCATION will not move tmpsrc (because it's part of resultbuf). */ ENSURE_ALLOCATION (xsum (length, count)); } else { /* ENSURE_ALLOCATION will move the array (because it uses realloc(). */ ENSURE_ALLOCATION (xsum (length, count)); tmpsrc = (TCHAR_T *) (result + length); } # else tmpsrc = tmp; ENSURE_ALLOCATION (xsum (length, count)); # endif tmpdst = result + length; /* Copy backwards, because of overlapping. */ tmpsrc += count; tmpdst += count; for (n = count; n > 0; n--) *--tmpdst = *--tmpsrc; } } #endif #if DCHAR_IS_TCHAR && !USE_SNPRINTF /* Make room for the result. */ if (count > allocated - length) { /* Need at least count elements. But allocate proportionally. */ size_t n = xmax (xsum (length, count), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); } #endif /* Here count <= allocated - length. */ /* Perform padding. */ #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION if (pad_ourselves && has_width) { size_t w; # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ w = DCHAR_MBSNLEN (result + length, count); # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = count; # endif if (w < width) { size_t pad = width - w; /* Make room for the result. */ if (xsum (count, pad) > allocated - length) { /* Need at least count + pad elements. But allocate proportionally. */ size_t n = xmax (xsum3 (length, count, pad), xtimes (allocated, 2)); # if USE_SNPRINTF length += count; ENSURE_ALLOCATION (n); length -= count; # else ENSURE_ALLOCATION (n); # endif } /* Here count + pad <= allocated - length. */ { # if !DCHAR_IS_TCHAR || USE_SNPRINTF DCHAR_T * const rp = result + length; # else DCHAR_T * const rp = tmp; # endif DCHAR_T *p = rp + count; DCHAR_T *end = p + pad; DCHAR_T *pad_ptr; # if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO if (dp->conversion == 'c' || dp->conversion == 's') /* No zero-padding for string directives. */ pad_ptr = NULL; else # endif { pad_ptr = (*rp == '-' ? rp + 1 : rp); /* No zero-padding of "inf" and "nan". */ if ((*pad_ptr >= 'A' && *pad_ptr <= 'Z') || (*pad_ptr >= 'a' && *pad_ptr <= 'z')) pad_ptr = NULL; } /* The generated string now extends from rp to p, with the zero padding insertion point being at pad_ptr. */ count = count + pad; /* = end - rp */ if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > rp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } } } } #endif /* Here still count <= allocated - length. */ #if !DCHAR_IS_TCHAR || USE_SNPRINTF /* The snprintf() result did fit. */ #else /* Append the sprintf() result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); #endif #if !USE_SNPRINTF if (tmp != tmpbuf) free (tmp); #endif #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') { /* Convert the %f result to upper case for %F. */ DCHAR_T *rp = result + length; size_t rc; for (rc = count; rc > 0; rc--, rp++) if (*rp >= 'a' && *rp <= 'z') *rp = *rp - 'a' + 'A'; } #endif length += count; break; } errno = orig_errno; #undef pad_ourselves #undef prec_ourselves } } } /* Add the final NUL. */ ENSURE_ALLOCATION (xsum (length, 1)); result[length] = '\0'; if (result != resultbuf && length + 1 < allocated) { /* Shrink the allocated memory if possible. */ DCHAR_T *memory; memory = (DCHAR_T *) realloc (result, (length + 1) * sizeof (DCHAR_T)); if (memory != NULL) result = memory; } if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); *lengthp = length; /* Note that we can produce a big string of a length > INT_MAX. POSIX says that snprintf() fails with errno = EOVERFLOW in this case, but that's only because snprintf() returns an 'int'. This function does not have this limitation. */ return result; #if USE_SNPRINTF overflow: if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EOVERFLOW; return NULL; #endif out_of_memory: if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); out_of_memory_1: CLEANUP (); errno = ENOMEM; return NULL; } } #undef MAX_ROOM_NEEDED #undef TCHARS_PER_DCHAR #undef SNPRINTF #undef USE_SNPRINTF #undef DCHAR_SET #undef DCHAR_CPY #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef DCHAR_IS_TCHAR #undef TCHAR_T #undef DCHAR_T #undef FCHAR_T #undef VASNPRINTF gsasl-1.8.1/gl/iconv_open-solaris.h0000644000000000000000000001550713521017344014115 00000000000000/* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 ./iconv_open-solaris.gperf */ /* Computed positions: -k'10' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "./iconv_open-solaris.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 13 #define MIN_WORD_LENGTH 5 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 5 #define MAX_HASH_VALUE 19 /* maximum key range = 15, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 0, 9, 8, 7, 6, 5, 4, 3, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20 }; register unsigned int hval = len; switch (hval) { default: hval += asso_values[(unsigned char)str[9]]; /*FALLTHROUGH*/ case 9: case 8: case 7: case 6: case 5: break; } return hval; } struct stringpool_t { char stringpool_str5[sizeof("ASCII")]; char stringpool_str6[sizeof("CP1251")]; char stringpool_str7[sizeof("$ abc")]; char stringpool_str10[sizeof("ISO-8859-1")]; char stringpool_str11[sizeof("ISO-8859-15")]; char stringpool_str12[sizeof("ISO-8859-9")]; char stringpool_str13[sizeof("ISO-8859-8")]; char stringpool_str14[sizeof("ISO-8859-7")]; char stringpool_str15[sizeof("ISO-8859-6")]; char stringpool_str16[sizeof("ISO-8859-5")]; char stringpool_str17[sizeof("ISO-8859-4")]; char stringpool_str18[sizeof("ISO-8859-3")]; char stringpool_str19[sizeof("ISO-8859-2")]; }; static const struct stringpool_t stringpool_contents = { "ASCII", "CP1251", "$ abc", "ISO-8859-1", "ISO-8859-15", "ISO-8859-9", "ISO-8859-8", "ISO-8859-7", "ISO-8859-6", "ISO-8859-5", "ISO-8859-4", "ISO-8859-3", "ISO-8859-2" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, #line 35 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str5, "646"}, #line 46 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "ansi-1251"}, #line 34 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7}, {-1}, {-1}, #line 36 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "ISO8859-1"}, #line 45 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "ISO8859-15"}, #line 44 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "ISO8859-9"}, #line 43 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "ISO8859-8"}, #line 42 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "ISO8859-7"}, #line 41 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "ISO8859-6"}, #line 40 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "ISO8859-5"}, #line 39 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "ISO8859-4"}, #line 38 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "ISO8859-3"}, #line 37 "./iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "ISO8859-2"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } gsasl-1.8.1/gl/dirname.h0000644000000000000000000000302513516251573011723 00000000000000/* Take file names apart into directory and base names. Copyright (C) 1998, 2001, 2003-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef DIRNAME_H_ # define DIRNAME_H_ 1 # include # include # include "dosname.h" # ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' # endif # ifndef DOUBLE_SLASH_IS_DISTINCT_ROOT # define DOUBLE_SLASH_IS_DISTINCT_ROOT 0 # endif #ifdef __cplusplus extern "C" { #endif # if GNULIB_DIRNAME char *base_name (char const *file) _GL_ATTRIBUTE_MALLOC; char *dir_name (char const *file); # endif char *mdir_name (char const *file); size_t base_len (char const *file) _GL_ATTRIBUTE_PURE; size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE; char *last_component (char const *file) _GL_ATTRIBUTE_PURE; bool strip_trailing_slashes (char *file); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* not DIRNAME_H_ */ gsasl-1.8.1/gl/stddef.in.h0000644000000000000000000000746313516251577012200 00000000000000/* A substitute for POSIX 2008 , for platforms that have issues. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake. */ /* * POSIX 2008 for platforms that have issues. * */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_wchar_t || defined __need_size_t \ || defined __need_ptrdiff_t || defined __need_NULL \ || defined __need_wint_t /* Special invocation convention inside gcc header files. In particular, gcc provides a version of that blindly redefines NULL even when __need_wint_t was defined, even though wint_t is not normally provided by . Hence, we must remember if special invocation has ever been used to obtain wint_t, in which case we need to clean up NULL yet again. */ # if !(defined _@GUARD_PREFIX@_STDDEF_H && defined _GL_STDDEF_WINT_T) # ifdef __need_wint_t # define _GL_STDDEF_WINT_T # endif # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ # endif #else /* Normal invocation convention. */ # ifndef _@GUARD_PREFIX@_STDDEF_H /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ /* On NetBSD 5.0, the definition of NULL lacks proper parentheses. */ # if (@REPLACE_NULL@ \ && (!defined _@GUARD_PREFIX@_STDDEF_H || defined _GL_STDDEF_WINT_T)) # undef NULL # ifdef __cplusplus /* ISO C++ says that the macro NULL must expand to an integer constant expression, hence '((void *) 0)' is not allowed in C++. */ # if __GNUG__ >= 3 /* GNU C++ has a __null macro that behaves like an integer ('int' or 'long') but has the same size as a pointer. Use that, to avoid warnings. */ # define NULL __null # else # define NULL 0L # endif # else # define NULL ((void *) 0) # endif # endif # ifndef _@GUARD_PREFIX@_STDDEF_H # define _@GUARD_PREFIX@_STDDEF_H /* Some platforms lack wchar_t. */ #if !@HAVE_WCHAR_T@ # define wchar_t int #endif /* Some platforms lack max_align_t. The check for _GCC_MAX_ALIGN_T is a hack in case the configure-time test was done with g++ even though we are currently compiling with gcc. */ #if ! (@HAVE_MAX_ALIGN_T@ || defined _GCC_MAX_ALIGN_T) # if !GNULIB_defined_max_align_t /* On the x86, the maximum storage alignment of double, long, etc. is 4, but GCC's C11 ABI for x86 says that max_align_t has an alignment of 8, and the C11 standard allows this. Work around this problem by using __alignof__ (which returns 8 for double) rather than _Alignof (which returns 4), and align each union member accordingly. */ # ifdef __GNUC__ # define _GL_STDDEF_ALIGNAS(type) \ __attribute__ ((__aligned__ (__alignof__ (type)))) # else # define _GL_STDDEF_ALIGNAS(type) /* */ # endif typedef union { char *__p _GL_STDDEF_ALIGNAS (char *); double __d _GL_STDDEF_ALIGNAS (double); long double __ld _GL_STDDEF_ALIGNAS (long double); long int __i _GL_STDDEF_ALIGNAS (long int); } rpl_max_align_t; # define max_align_t rpl_max_align_t # define GNULIB_defined_max_align_t 1 # endif #endif # endif /* _@GUARD_PREFIX@_STDDEF_H */ # endif /* _@GUARD_PREFIX@_STDDEF_H */ #endif /* __need_XXX */ gsasl-1.8.1/gl/iconv_open-aix.gperf0000644000000000000000000000323713516251574014104 00000000000000/* Character set conversion. Copyright (C) 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On AIX 5.1, look in /usr/lib/nls/loc/uconvTable. ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" CP437, "IBM-437" CP850, "IBM-850" CP852, "IBM-852" CP856, "IBM-856" CP857, "IBM-857" CP861, "IBM-861" CP865, "IBM-865" CP869, "IBM-869" ISO-8859-13, "IBM-921" CP922, "IBM-922" CP932, "IBM-932" CP943, "IBM-943" CP1046, "IBM-1046" CP1124, "IBM-1124" CP1125, "IBM-1125" CP1129, "IBM-1129" CP1252, "IBM-1252" GB2312, "IBM-eucCN" EUC-JP, "IBM-eucJP" EUC-KR, "IBM-eucKR" EUC-TW, "IBM-eucTW" BIG5, "big5" gsasl-1.8.1/gl/Makefile.am0000644000000000000000000025234613516270044012175 00000000000000## DO NOT EDIT! GENERATED AUTOMATICALLY! ## Process this file with automake to produce Makefile.in. # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # Reproduce by: # gnulib-tool --import --local-dir=gl/override \ # --lib=libgl \ # --source-base=gl \ # --m4-base=m4 \ # --doc-base=doc \ # --tests-base=gltests \ # --aux-dir=lib/build-aux \ # --with-tests \ # --no-conditional-dependencies \ # --libtool \ # --macro-prefix=gl \ # --no-vc-files \ # --avoid=poll-tests \ # --avoid=select-tests \ # --avoid=update-copyright-tests \ # autobuild \ # close \ # connect \ # error \ # fdl-1.3 \ # gendocs \ # getaddrinfo \ # getopt-gnu \ # getpass-gnu \ # gnupload \ # maintainer-makefile \ # manywarnings \ # netdb \ # netinet_in \ # pmccabe2html \ # poll \ # progname \ # quote \ # readline \ # recv \ # shutdown \ # socket \ # striconv \ # strtok_r \ # sys_time \ # unistd \ # update-copyright \ # valgrind-tests \ # vasprintf \ # version-etc \ # warnings \ # xalloc AUTOMAKE_OPTIONS = 1.11 gnits subdir-objects SUBDIRS = noinst_HEADERS = noinst_LIBRARIES = noinst_LTLIBRARIES = EXTRA_DIST = BUILT_SOURCES = SUFFIXES = MOSTLYCLEANFILES = core *.stackdump MOSTLYCLEANDIRS = CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = # No GNU Make output. AM_CPPFLAGS = AM_CFLAGS = noinst_LTLIBRARIES += libgl.la libgl_la_SOURCES = libgl_la_LIBADD = $(gl_LTLIBOBJS) libgl_la_DEPENDENCIES = $(gl_LTLIBOBJS) EXTRA_libgl_la_SOURCES = libgl_la_LDFLAGS = $(AM_LDFLAGS) libgl_la_LDFLAGS += -no-undefined libgl_la_LDFLAGS += $(GETADDRINFO_LIB) libgl_la_LDFLAGS += $(HOSTENT_LIB) libgl_la_LDFLAGS += $(INET_NTOP_LIB) libgl_la_LDFLAGS += $(LIBSOCKET) libgl_la_LDFLAGS += $(LIB_POLL) libgl_la_LDFLAGS += $(LIB_SELECT) libgl_la_LDFLAGS += $(LTLIBICONV) libgl_la_LDFLAGS += $(LTLIBINTL) libgl_la_LDFLAGS += $(LTLIBREADLINE) libgl_la_LDFLAGS += $(LTLIBTHREAD) libgl_la_LDFLAGS += $(SERVENT_LIB) ## begin gnulib module absolute-header # Use this preprocessor expression to decide whether #include_next works. # Do not rely on a 'configure'-time test for this, since the expression # might appear in an installed header, which is used by some other compiler. HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER) ## end gnulib module absolute-header ## begin gnulib module alloca libgl_la_LIBADD += @LTALLOCA@ libgl_la_DEPENDENCIES += @LTALLOCA@ EXTRA_DIST += alloca.c EXTRA_libgl_la_SOURCES += alloca.c ## end gnulib module alloca ## begin gnulib module alloca-opt BUILT_SOURCES += $(ALLOCA_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_ALLOCA_H alloca.h: alloca.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \ } > $@-t && \ mv -f $@-t $@ else alloca.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += alloca.h alloca.h-t EXTRA_DIST += alloca.in.h ## end gnulib module alloca-opt ## begin gnulib module arpa_inet BUILT_SOURCES += arpa/inet.h # We need the following in order to create when the system # doesn't have one. arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) arpa $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \ -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/arpa_inet.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t MOSTLYCLEANDIRS += arpa EXTRA_DIST += arpa_inet.in.h ## end gnulib module arpa_inet ## begin gnulib module assure EXTRA_DIST += assure.h ## end gnulib module assure ## begin gnulib module c-ctype libgl_la_SOURCES += c-ctype.h c-ctype.c ## end gnulib module c-ctype ## begin gnulib module c-strcase libgl_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c ## end gnulib module c-strcase ## begin gnulib module c-strcaseeq EXTRA_DIST += c-strcaseeq.h ## end gnulib module c-strcaseeq ## begin gnulib module close EXTRA_DIST += close.c EXTRA_libgl_la_SOURCES += close.c ## end gnulib module close ## begin gnulib module connect EXTRA_DIST += connect.c w32sock.h EXTRA_libgl_la_SOURCES += connect.c ## end gnulib module connect ## begin gnulib module dirname-lgpl libgl_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c EXTRA_DIST += dirname.h ## end gnulib module dirname-lgpl ## begin gnulib module dosname EXTRA_DIST += dosname.h ## end gnulib module dosname ## begin gnulib module dup2 EXTRA_DIST += dup2.c EXTRA_libgl_la_SOURCES += dup2.c ## end gnulib module dup2 ## begin gnulib module errno BUILT_SOURCES += $(ERRNO_H) # We need the following in order to create when the system # doesn't have one that is POSIX compliant. if GL_GENERATE_ERRNO_H errno.h: errno.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ < $(srcdir)/errno.in.h; \ } > $@-t && \ mv $@-t $@ else errno.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += errno.h errno.h-t EXTRA_DIST += errno.in.h ## end gnulib module errno ## begin gnulib module error EXTRA_DIST += error.c error.h EXTRA_libgl_la_SOURCES += error.c ## end gnulib module error ## begin gnulib module exitfail libgl_la_SOURCES += exitfail.c EXTRA_DIST += exitfail.h ## end gnulib module exitfail ## begin gnulib module fd-hook libgl_la_SOURCES += fd-hook.c EXTRA_DIST += fd-hook.h ## end gnulib module fd-hook ## begin gnulib module float BUILT_SOURCES += $(FLOAT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_FLOAT_H float.h: float.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ < $(srcdir)/float.in.h; \ } > $@-t && \ mv $@-t $@ else float.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += float.h float.h-t EXTRA_DIST += float.c float.in.h itold.c EXTRA_libgl_la_SOURCES += float.c itold.c ## end gnulib module float ## begin gnulib module fseek EXTRA_DIST += fseek.c EXTRA_libgl_la_SOURCES += fseek.c ## end gnulib module fseek ## begin gnulib module fseeko EXTRA_DIST += fseeko.c stdio-impl.h EXTRA_libgl_la_SOURCES += fseeko.c ## end gnulib module fseeko ## begin gnulib module fstat EXTRA_DIST += fstat.c stat-w32.c stat-w32.h EXTRA_libgl_la_SOURCES += fstat.c stat-w32.c ## end gnulib module fstat ## begin gnulib module gendocs EXTRA_DIST += $(top_srcdir)/lib/build-aux/gendocs.sh ## end gnulib module gendocs ## begin gnulib module getaddrinfo EXTRA_DIST += gai_strerror.c getaddrinfo.c EXTRA_libgl_la_SOURCES += gai_strerror.c getaddrinfo.c ## end gnulib module getaddrinfo ## begin gnulib module getdelim EXTRA_DIST += getdelim.c EXTRA_libgl_la_SOURCES += getdelim.c ## end gnulib module getdelim ## begin gnulib module getline EXTRA_DIST += getline.c EXTRA_libgl_la_SOURCES += getline.c ## end gnulib module getline ## begin gnulib module getopt-posix BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ < $(srcdir)/getopt.in.h; \ } > $@-t && \ mv -f $@-t $@ getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ < $(srcdir)/getopt-cdefs.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t EXTRA_DIST += getopt-cdefs.in.h getopt-core.h getopt-ext.h getopt-pfx-core.h getopt-pfx-ext.h getopt.c getopt.in.h getopt1.c getopt_int.h EXTRA_libgl_la_SOURCES += getopt.c getopt1.c ## end gnulib module getopt-posix ## begin gnulib module getpass EXTRA_DIST += getpass.c getpass.h EXTRA_libgl_la_SOURCES += getpass.c ## end gnulib module getpass ## begin gnulib module getpass-gnu EXTRA_DIST += getpass.c getpass.h EXTRA_libgl_la_SOURCES += getpass.c ## end gnulib module getpass-gnu ## begin gnulib module getprogname libgl_la_SOURCES += getprogname.h getprogname.c ## end gnulib module getprogname ## begin gnulib module gettext-h libgl_la_SOURCES += gettext.h ## end gnulib module gettext-h ## begin gnulib module gnumakefile EXTRA_DIST += $(top_srcdir)/GNUmakefile distclean-local: clean-GNUmakefile clean-GNUmakefile: test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile ## end gnulib module gnumakefile ## begin gnulib module gnupload EXTRA_DIST += $(top_srcdir)/lib/build-aux/gnupload ## end gnulib module gnupload ## begin gnulib module gperf GPERF = gperf V_GPERF = $(V_GPERF_@AM_V@) V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@) V_GPERF_0 = @echo " GPERF " $@; ## end gnulib module gperf ## begin gnulib module hard-locale libgl_la_SOURCES += hard-locale.c EXTRA_DIST += hard-locale.h ## end gnulib module hard-locale ## begin gnulib module havelib EXTRA_DIST += $(top_srcdir)/lib/build-aux/config.rpath ## end gnulib module havelib ## begin gnulib module iconv-h BUILT_SOURCES += $(ICONV_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_ICONV_H iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \ -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/iconv.in.h; \ } > $@-t && \ mv $@-t $@ else iconv.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += iconv.h iconv.h-t EXTRA_DIST += iconv.in.h ## end gnulib module iconv-h ## begin gnulib module iconv_open $(srcdir)/iconv_open-aix.h: $(srcdir)/iconv_open-aix.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \ mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h $(srcdir)/iconv_open-hpux.h: $(srcdir)/iconv_open-hpux.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \ mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h $(srcdir)/iconv_open-irix.h: $(srcdir)/iconv_open-irix.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \ mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h $(srcdir)/iconv_open-osf.h: $(srcdir)/iconv_open-osf.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \ mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h $(srcdir)/iconv_open-solaris.h: $(srcdir)/iconv_open-solaris.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \ mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c EXTRA_libgl_la_SOURCES += iconv.c iconv_close.c iconv_open.c ## end gnulib module iconv_open ## begin gnulib module inet_ntop EXTRA_DIST += inet_ntop.c EXTRA_libgl_la_SOURCES += inet_ntop.c ## end gnulib module inet_ntop ## begin gnulib module intprops EXTRA_DIST += intprops.h ## end gnulib module intprops ## begin gnulib module limits-h BUILT_SOURCES += $(LIMITS_H) # We need the following in order to create when the system # doesn't have one that is compatible with GNU. if GL_GENERATE_LIMITS_H limits.h: limits.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \ < $(srcdir)/limits.in.h; \ } > $@-t && \ mv $@-t $@ else limits.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += limits.h limits.h-t EXTRA_DIST += limits.in.h ## end gnulib module limits-h ## begin gnulib module localcharset libgl_la_SOURCES += localcharset.c EXTRA_DIST += localcharset.h ## end gnulib module localcharset ## begin gnulib module lock libgl_la_SOURCES += glthread/lock.h glthread/lock.c ## end gnulib module lock ## begin gnulib module lseek EXTRA_DIST += lseek.c EXTRA_libgl_la_SOURCES += lseek.c ## end gnulib module lseek ## begin gnulib module maintainer-makefile EXTRA_DIST += $(top_srcdir)/maint.mk ## end gnulib module maintainer-makefile ## begin gnulib module malloc-posix EXTRA_DIST += malloc.c EXTRA_libgl_la_SOURCES += malloc.c ## end gnulib module malloc-posix ## begin gnulib module mbrtowc EXTRA_DIST += mbrtowc.c EXTRA_libgl_la_SOURCES += mbrtowc.c ## end gnulib module mbrtowc ## begin gnulib module mbsinit EXTRA_DIST += mbsinit.c EXTRA_libgl_la_SOURCES += mbsinit.c ## end gnulib module mbsinit ## begin gnulib module memchr EXTRA_DIST += memchr.c memchr.valgrind EXTRA_libgl_la_SOURCES += memchr.c ## end gnulib module memchr ## begin gnulib module minmax libgl_la_SOURCES += minmax.h ## end gnulib module minmax ## begin gnulib module msvc-inval EXTRA_DIST += msvc-inval.c msvc-inval.h EXTRA_libgl_la_SOURCES += msvc-inval.c ## end gnulib module msvc-inval ## begin gnulib module msvc-nothrow EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h EXTRA_libgl_la_SOURCES += msvc-nothrow.c ## end gnulib module msvc-nothrow ## begin gnulib module netdb BUILT_SOURCES += netdb.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \ -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \ -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \ -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \ -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \ -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \ -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \ -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \ -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/netdb.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += netdb.h netdb.h-t EXTRA_DIST += netdb.in.h ## end gnulib module netdb ## begin gnulib module netinet_in BUILT_SOURCES += $(NETINET_IN_H) # We need the following in order to create when the system # doesn't have one. if GL_GENERATE_NETINET_IN_H netinet/in.h: netinet_in.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) netinet $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ < $(srcdir)/netinet_in.in.h; \ } > $@-t && \ mv $@-t $@ else netinet/in.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t MOSTLYCLEANDIRS += netinet EXTRA_DIST += netinet_in.in.h ## end gnulib module netinet_in ## begin gnulib module pathmax EXTRA_DIST += pathmax.h ## end gnulib module pathmax ## begin gnulib module pmccabe2html EXTRA_DIST += $(top_srcdir)/lib/build-aux/pmccabe2html $(top_srcdir)/lib/build-aux/pmccabe.css ## end gnulib module pmccabe2html ## begin gnulib module poll EXTRA_DIST += poll.c EXTRA_libgl_la_SOURCES += poll.c ## end gnulib module poll ## begin gnulib module poll-h BUILT_SOURCES += poll.h # We need the following in order to create when the system # doesn't have one. poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_POLL_H''@|$(NEXT_POLL_H)|g' \ -e 's/@''GNULIB_POLL''@/$(GNULIB_POLL)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \ -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/poll.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += poll.h poll.h-t EXTRA_DIST += poll.in.h ## end gnulib module poll-h ## begin gnulib module progname libgl_la_SOURCES += progname.h progname.c ## end gnulib module progname ## begin gnulib module quote EXTRA_DIST += quote.h ## end gnulib module quote ## begin gnulib module quotearg libgl_la_SOURCES += quotearg.c EXTRA_DIST += quote.h quotearg.h ## end gnulib module quotearg ## begin gnulib module readline EXTRA_DIST += readline.c readline.h EXTRA_libgl_la_SOURCES += readline.c ## end gnulib module readline ## begin gnulib module recv EXTRA_DIST += recv.c w32sock.h EXTRA_libgl_la_SOURCES += recv.c ## end gnulib module recv ## begin gnulib module select EXTRA_DIST += select.c EXTRA_libgl_la_SOURCES += select.c ## end gnulib module select ## begin gnulib module shutdown EXTRA_DIST += shutdown.c w32sock.h EXTRA_libgl_la_SOURCES += shutdown.c ## end gnulib module shutdown ## begin gnulib module signal-h BUILT_SOURCES += signal.h # We need the following in order to create when the system # doesn't have a complete one. signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \ -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/signal.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += signal.h signal.h-t EXTRA_DIST += signal.in.h ## end gnulib module signal-h ## begin gnulib module size_max libgl_la_SOURCES += size_max.h ## end gnulib module size_max ## begin gnulib module snippet/_Noreturn # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H=$(srcdir)/_Noreturn.h EXTRA_DIST += _Noreturn.h ## end gnulib module snippet/_Noreturn ## begin gnulib module snippet/arg-nonnull # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H=$(srcdir)/arg-nonnull.h EXTRA_DIST += arg-nonnull.h ## end gnulib module snippet/arg-nonnull ## begin gnulib module snippet/c++defs # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H=$(srcdir)/c++defs.h EXTRA_DIST += c++defs.h ## end gnulib module snippet/c++defs ## begin gnulib module snippet/unused-parameter # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H=$(srcdir)/unused-parameter.h EXTRA_DIST += unused-parameter.h ## end gnulib module snippet/unused-parameter ## begin gnulib module snippet/warn-on-use # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H=$(srcdir)/warn-on-use.h EXTRA_DIST += warn-on-use.h ## end gnulib module snippet/warn-on-use ## begin gnulib module snprintf EXTRA_DIST += snprintf.c EXTRA_libgl_la_SOURCES += snprintf.c ## end gnulib module snprintf ## begin gnulib module socket EXTRA_DIST += socket.c w32sock.h EXTRA_libgl_la_SOURCES += socket.c ## end gnulib module socket ## begin gnulib module sockets libgl_la_SOURCES += sockets.h sockets.c EXTRA_DIST += w32sock.h ## end gnulib module sockets ## begin gnulib module stat-time libgl_la_SOURCES += stat-time.c EXTRA_DIST += stat-time.h ## end gnulib module stat-time ## begin gnulib module stdalign BUILT_SOURCES += $(STDALIGN_H) # We need the following in order to create when the system # doesn't have one that works. if GL_GENERATE_STDALIGN_H stdalign.h: stdalign.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/stdalign.in.h; \ } > $@-t && \ mv $@-t $@ else stdalign.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stdalign.h stdalign.h-t EXTRA_DIST += stdalign.in.h ## end gnulib module stdalign ## begin gnulib module stdarg BUILT_SOURCES += $(STDARG_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDARG_H stdarg.h: stdarg.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ < $(srcdir)/stdarg.in.h; \ } > $@-t && \ mv $@-t $@ else stdarg.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stdarg.h stdarg.h-t EXTRA_DIST += stdarg.in.h ## end gnulib module stdarg ## begin gnulib module stdbool BUILT_SOURCES += $(STDBOOL_H) # We need the following in order to create when the system # doesn't have one that works. if GL_GENERATE_STDBOOL_H stdbool.h: stdbool.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ } > $@-t && \ mv $@-t $@ else stdbool.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stdbool.h stdbool.h-t EXTRA_DIST += stdbool.in.h ## end gnulib module stdbool ## begin gnulib module stddef BUILT_SOURCES += $(STDDEF_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDDEF_H stddef.h: stddef.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ < $(srcdir)/stddef.in.h; \ } > $@-t && \ mv $@-t $@ else stddef.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stddef.h stddef.h-t EXTRA_DIST += stddef.in.h ## end gnulib module stddef ## begin gnulib module stdint BUILT_SOURCES += $(STDINT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDINT_H stdint.h: stdint.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ < $(srcdir)/stdint.in.h; \ } > $@-t && \ mv $@-t $@ else stdint.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stdint.h stdint.h-t EXTRA_DIST += stdint.in.h ## end gnulib module stdint ## begin gnulib module stdio BUILT_SOURCES += stdio.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ < $(srcdir)/stdio.in.h | \ sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += stdio.h stdio.h-t EXTRA_DIST += stdio.in.h ## end gnulib module stdio ## begin gnulib module stdlib BUILT_SOURCES += stdlib.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \ -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \ -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \ -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \ -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ < $(srcdir)/stdlib.in.h | \ sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \ -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \ -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \ -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += stdlib.h stdlib.h-t EXTRA_DIST += stdlib.in.h ## end gnulib module stdlib ## begin gnulib module strdup-posix EXTRA_DIST += strdup.c EXTRA_libgl_la_SOURCES += strdup.c ## end gnulib module strdup-posix ## begin gnulib module streq EXTRA_DIST += streq.h ## end gnulib module streq ## begin gnulib module strerror EXTRA_DIST += strerror.c EXTRA_libgl_la_SOURCES += strerror.c ## end gnulib module strerror ## begin gnulib module strerror-override EXTRA_DIST += strerror-override.c strerror-override.h EXTRA_libgl_la_SOURCES += strerror-override.c ## end gnulib module strerror-override ## begin gnulib module striconv libgl_la_SOURCES += striconv.h striconv.c if GL_COND_LIBTOOL libgl_la_LDFLAGS += $(LTLIBICONV) endif ## end gnulib module striconv ## begin gnulib module string BUILT_SOURCES += string.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \ -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \ -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ < $(srcdir)/string.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += string.h string.h-t EXTRA_DIST += string.in.h ## end gnulib module string ## begin gnulib module strtok_r EXTRA_DIST += strtok_r.c EXTRA_libgl_la_SOURCES += strtok_r.c ## end gnulib module strtok_r ## begin gnulib module sys_select BUILT_SOURCES += sys/select.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_select.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/select.h sys/select.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_select.in.h ## end gnulib module sys_select ## begin gnulib module sys_socket BUILT_SOURCES += sys/socket.h libgl_la_SOURCES += sys_socket.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \ -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \ -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \ -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \ -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \ -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \ -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \ -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \ -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \ -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \ -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \ -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_socket.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_socket.in.h ## end gnulib module sys_socket ## begin gnulib module sys_stat BUILT_SOURCES += sys/stat.h # We need the following in order to create when the system # has one that is incomplete. sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_stat.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_stat.in.h ## end gnulib module sys_stat ## begin gnulib module sys_time BUILT_SOURCES += sys/time.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_time.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/time.h sys/time.h-t EXTRA_DIST += sys_time.in.h ## end gnulib module sys_time ## begin gnulib module sys_types BUILT_SOURCES += sys/types.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/types.h: sys_types.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \ < $(srcdir)/sys_types.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/types.h sys/types.h-t EXTRA_DIST += sys_types.in.h ## end gnulib module sys_types ## begin gnulib module sys_uio BUILT_SOURCES += sys/uio.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ < $(srcdir)/sys_uio.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_uio.in.h ## end gnulib module sys_uio ## begin gnulib module threadlib libgl_la_SOURCES += glthread/threadlib.c EXTRA_DIST += $(top_srcdir)/lib/build-aux/config.rpath ## end gnulib module threadlib ## begin gnulib module time BUILT_SOURCES += time.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -e 's/@''GNULIB_CTIME''@/$(GNULIB_CTIME)/g' \ -e 's/@''GNULIB_LOCALTIME''@/$(GNULIB_LOCALTIME)/g' \ -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ -e 's/@''GNULIB_STRFTIME''@/$(GNULIB_STRFTIME)/g' \ -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \ -e 's/@''GNULIB_TZSET''@/$(GNULIB_TZSET)/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \ -e 's|@''HAVE_TZSET''@|$(HAVE_TZSET)|g' \ -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \ -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \ -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/time.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += time.h time.h-t EXTRA_DIST += time.in.h ## end gnulib module time ## begin gnulib module unistd BUILT_SOURCES += unistd.h libgl_la_SOURCES += unistd.c # We need the following in order to create an empty placeholder for # when the system doesn't have one. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \ -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \ -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ < $(srcdir)/unistd.in.h | \ sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \ -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | \ sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \ -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += unistd.h unistd.h-t EXTRA_DIST += unistd.in.h ## end gnulib module unistd ## begin gnulib module unistr/base BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H) unistr.h: unistr.in.h $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/unistr.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += unistr.h unistr.h-t EXTRA_DIST += unistr.in.h ## end gnulib module unistr/base ## begin gnulib module unistr/u8-mbtoucr if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR libgl_la_SOURCES += unistr/u8-mbtoucr.c endif ## end gnulib module unistr/u8-mbtoucr ## begin gnulib module unistr/u8-uctomb if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB libgl_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c endif ## end gnulib module unistr/u8-uctomb ## begin gnulib module unitypes BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H) unitypes.h: unitypes.in.h $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/unitypes.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += unitypes.h unitypes.h-t EXTRA_DIST += unitypes.in.h ## end gnulib module unitypes ## begin gnulib module update-copyright EXTRA_DIST += $(top_srcdir)/lib/build-aux/update-copyright ## end gnulib module update-copyright ## begin gnulib module useless-if-before-free EXTRA_DIST += $(top_srcdir)/lib/build-aux/useless-if-before-free ## end gnulib module useless-if-before-free ## begin gnulib module vasnprintf EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h EXTRA_libgl_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c ## end gnulib module vasnprintf ## begin gnulib module vasprintf EXTRA_DIST += asprintf.c vasprintf.c EXTRA_libgl_la_SOURCES += asprintf.c vasprintf.c ## end gnulib module vasprintf ## begin gnulib module vc-list-files EXTRA_DIST += $(top_srcdir)/lib/build-aux/vc-list-files ## end gnulib module vc-list-files ## begin gnulib module verify EXTRA_DIST += verify.h ## end gnulib module verify ## begin gnulib module version-etc libgl_la_SOURCES += version-etc.h version-etc.c ## end gnulib module version-etc ## begin gnulib module wchar BUILT_SOURCES += wchar.h # We need the following in order to create when the system # version does not work standalone. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \ -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \ -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \ -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \ -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \ -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \ -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \ -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \ -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \ -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \ -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \ -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \ -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \ -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \ -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \ -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \ -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \ -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \ -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \ -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \ -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \ -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \ -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \ -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \ -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \ -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \ -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \ -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \ -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCSFTIME''@/$(GNULIB_WCSFTIME)/g' \ < $(srcdir)/wchar.in.h | \ sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \ -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ | \ sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += wchar.h wchar.h-t EXTRA_DIST += wchar.in.h ## end gnulib module wchar ## begin gnulib module wctype-h BUILT_SOURCES += wctype.h libgl_la_SOURCES += wctype-h.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \ -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \ -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \ -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \ -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \ -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \ -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/wctype.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += wctype.h wctype.h-t EXTRA_DIST += wctype.in.h ## end gnulib module wctype-h ## begin gnulib module windows-mutex EXTRA_DIST += windows-initguard.h windows-mutex.c windows-mutex.h EXTRA_libgl_la_SOURCES += windows-mutex.c ## end gnulib module windows-mutex ## begin gnulib module windows-once EXTRA_DIST += windows-once.c windows-once.h EXTRA_libgl_la_SOURCES += windows-once.c ## end gnulib module windows-once ## begin gnulib module windows-recmutex EXTRA_DIST += windows-initguard.h windows-recmutex.c windows-recmutex.h EXTRA_libgl_la_SOURCES += windows-recmutex.c ## end gnulib module windows-recmutex ## begin gnulib module windows-rwlock EXTRA_DIST += windows-initguard.h windows-rwlock.c windows-rwlock.h EXTRA_libgl_la_SOURCES += windows-rwlock.c ## end gnulib module windows-rwlock ## begin gnulib module xalloc libgl_la_SOURCES += xmalloc.c EXTRA_DIST += xalloc.h ## end gnulib module xalloc ## begin gnulib module xalloc-die libgl_la_SOURCES += xalloc-die.c ## end gnulib module xalloc-die ## begin gnulib module xalloc-oversized EXTRA_DIST += xalloc-oversized.h ## end gnulib module xalloc-oversized ## begin gnulib module xsize libgl_la_SOURCES += xsize.h xsize.c ## end gnulib module xsize mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : gsasl-1.8.1/gl/verify.h0000644000000000000000000002614213516251577011621 00000000000000/* Compile-time assert-like macros. Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ #ifndef _GL_VERIFY_H #define _GL_VERIFY_H /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert (R, DIAGNOSTIC) works as per C11. This is supported by GCC 4.6.0 and later, in C mode. Define _GL_HAVE__STATIC_ASSERT1 to 1 if _Static_assert (R) works as per C2X, and define _GL_HAVE_STATIC_ASSERT1 if static_assert (R) works as per C++17. This is supported by GCC 9.1 and later. Support compilers claiming conformance to the relevant standard, and also support GCC when not pedantic. If we were willing to slow 'configure' down we could also use it with other compilers, but since this affects only the quality of diagnostics, why bother? */ #ifndef __cplusplus # if (201112L <= __STDC_VERSION__ \ || (!defined __STRICT_ANSI__ && 4 < __GNUC__ + (6 <= __GNUC_MINOR__))) # define _GL_HAVE__STATIC_ASSERT 1 # endif # if (202000L <= __STDC_VERSION__ \ || (!defined __STRICT_ANSI__ && 9 <= __GNUC__)) # define _GL_HAVE__STATIC_ASSERT1 1 # endif #else # if 201703L <= __cplusplus || 9 <= __GNUC__ # define _GL_HAVE_STATIC_ASSERT1 1 # endif #endif /* FreeBSD 9.1 , included by and lots of other system headers, defines a conflicting _Static_assert that is no better than ours; override it. */ #ifndef _GL_HAVE__STATIC_ASSERT # include # undef _Static_assert #endif /* Each of these macros verifies that its argument R is nonzero. To be portable, R should be an integer constant expression. Unlike assert (R), there is no run-time overhead. If _Static_assert works, verify (R) uses it directly. Similarly, _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct that is an operand of sizeof. The code below uses several ideas for C++ compilers, and for C compilers that do not support _Static_assert: * The first step is ((R) ? 1 : -1). Given an expression R, of integral or boolean or floating-point type, this yields an expression of integral type, whose value is later verified to be constant and nonnegative. * Next this expression W is wrapped in a type struct _gl_verify_type { unsigned int _gl_verify_error_if_negative: W; }. If W is negative, this yields a compile-time error. No compiler can deal with a bit-field of negative size. One might think that an array size check would have the same effect, that is, that the type struct { unsigned int dummy[W]; } would work as well. However, inside a function, some compilers (such as C++ compilers and GNU C) allow local parameters and variables inside array size expressions. With these compilers, an array size check would not properly diagnose this misuse of the verify macro: void function (int n) { verify (n < 0); } * For the verify macro, the struct _gl_verify_type will need to somehow be embedded into a declaration. To be portable, this declaration must declare an object, a constant, a function, or a typedef name. If the declared entity uses the type directly, such as in struct dummy {...}; typedef struct {...} dummy; extern struct {...} *dummy; extern void dummy (struct {...} *); extern struct {...} *dummy (void); two uses of the verify macro would yield colliding declarations if the entity names are not disambiguated. A workaround is to attach the current line number to the entity name: #define _GL_CONCAT0(x, y) x##y #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) extern struct {...} * _GL_CONCAT (dummy, __LINE__); But this has the problem that two invocations of verify from within the same macro would collide, since the __LINE__ value would be the same for both invocations. (The GCC __COUNTER__ macro solves this problem, but is not portable.) A solution is to use the sizeof operator. It yields a number, getting rid of the identity of the type. Declarations like extern int dummy [sizeof (struct {...})]; extern void dummy (int [sizeof (struct {...})]); extern int (*dummy (void)) [sizeof (struct {...})]; can be repeated. * Should the implementation use a named struct or an unnamed struct? Which of the following alternatives can be used? extern int dummy [sizeof (struct {...})]; extern int dummy [sizeof (struct _gl_verify_type {...})]; extern void dummy (int [sizeof (struct {...})]); extern void dummy (int [sizeof (struct _gl_verify_type {...})]); extern int (*dummy (void)) [sizeof (struct {...})]; extern int (*dummy (void)) [sizeof (struct _gl_verify_type {...})]; In the second and sixth case, the struct type is exported to the outer scope; two such declarations therefore collide. GCC warns about the first, third, and fourth cases. So the only remaining possibility is the fifth case: extern int (*dummy (void)) [sizeof (struct {...})]; * GCC warns about duplicate declarations of the dummy function if -Wredundant-decls is used. GCC 4.3 and later have a builtin __COUNTER__ macro that can let us generate unique identifiers for each dummy function, to suppress this warning. * This implementation exploits the fact that older versions of GCC, which do not support _Static_assert, also do not warn about the last declaration mentioned above. * GCC warns if -Wnested-externs is enabled and 'verify' is used within a function body; but inside a function, you can always arrange to use verify_expr instead. * In C++, any struct definition inside sizeof is invalid. Use a template type to work around the problem. */ /* Concatenate two preprocessor tokens. */ #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) #define _GL_CONCAT0(x, y) x##y /* _GL_COUNTER is an integer, preferably one that changes each time we use it. Use __COUNTER__ if it works, falling back on __LINE__ otherwise. __LINE__ isn't perfect, but it's better than a constant. */ #if defined __COUNTER__ && __COUNTER__ != __COUNTER__ # define _GL_COUNTER __COUNTER__ #else # define _GL_COUNTER __LINE__ #endif /* Generate a symbol with the given prefix, making it unique if possible. */ #define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER) /* Verify requirement R at compile-time, as an integer constant expression that returns 1. If R is false, fail at compile-time. */ #define _GL_VERIFY_TRUE(R) (!!sizeof (_GL_VERIFY_TYPE (R))) #ifdef __cplusplus # if !GNULIB_defined_struct__gl_verify_type template struct _gl_verify_type { unsigned int _gl_verify_error_if_negative: w; }; # define GNULIB_defined_struct__gl_verify_type 1 # endif # define _GL_VERIFY_TYPE(R) _gl_verify_type<(R) ? 1 : -1> #elif defined _GL_HAVE__STATIC_ASSERT1 # define _GL_VERIFY_TYPE(R) \ struct { \ _Static_assert (R); \ int _gl_dummy; \ } #else # define _GL_VERIFY_TYPE(R) \ struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; } #endif /* Verify requirement R at compile-time, as a declaration without a trailing ';'. If R is false, fail at compile-time. This macro requires three or more arguments but uses at most the first two, so that the _Static_assert macro optionally defined below supports both the C11 two-argument syntax and the C2X one-argument syntax. Unfortunately, unlike C11, this implementation must appear as an ordinary declaration, and cannot appear inside struct { ... }. */ #if defined _GL_HAVE__STATIC_ASSERT # define _GL_VERIFY(R, DIAGNOSTIC, ...) _Static_assert (R, DIAGNOSTIC) #else # define _GL_VERIFY(R, DIAGNOSTIC, ...) \ extern int (*_GL_GENSYM (_gl_verify_function) (void)) \ [_GL_VERIFY_TRUE (R)] #endif /* _GL_STATIC_ASSERT_H is defined if this code is copied into assert.h. */ #ifdef _GL_STATIC_ASSERT_H # if !defined _GL_HAVE__STATIC_ASSERT1 && !defined _Static_assert # define _Static_assert(...) \ _GL_VERIFY (__VA_ARGS__, "static assertion failed", -) # endif # if !defined _GL_HAVE_STATIC_ASSERT1 && !defined static_assert # define static_assert _Static_assert /* C11 requires this #define. */ # endif #endif /* @assert.h omit start@ */ /* Each of these macros verifies that its argument R is nonzero. To be portable, R should be an integer constant expression. Unlike assert (R), there is no run-time overhead. There are two macros, since no single macro can be used in all contexts in C. verify_expr (R, E) is for scalar contexts, including integer constant expression contexts. verify (R) is for declaration contexts, e.g., the top level. */ /* Verify requirement R at compile-time. Return the value of the expression E. */ #define verify_expr(R, E) (_GL_VERIFY_TRUE (R) ? (E) : (E)) /* Verify requirement R at compile-time, as a declaration without a trailing ';'. verify (R) acts like static_assert (R) except that it is portable to C11/C++14 and earlier, and its name is shorter and may be more convenient. */ #ifdef _GL_HAVE__STATIC_ASSERT1 # define verify(R) _Static_assert (R) #else # define verify(R) _GL_VERIFY (R, "verify (...)", -) #endif #ifndef __has_builtin # define __has_builtin(x) 0 #endif /* Assume that R always holds. Behavior is undefined if R is false, fails to evaluate, or has side effects. Although assuming R can help a compiler generate better code or diagnostics, performance can suffer if R uses hard-to-optimize features such as function calls not inlined by the compiler. */ #if (__has_builtin (__builtin_unreachable) \ || 4 < __GNUC__ + (5 <= __GNUC_MINOR__)) # define assume(R) ((R) ? (void) 0 : __builtin_unreachable ()) #elif 1200 <= _MSC_VER # define assume(R) __assume (R) #elif ((defined GCC_LINT || defined lint) \ && (__has_builtin (__builtin_trap) \ || 3 < __GNUC__ + (3 < __GNUC_MINOR__ + (4 <= __GNUC_PATCHLEVEL__)))) /* Doing it this way helps various packages when configured with --enable-gcc-warnings, which compiles with -Dlint. It's nicer when 'assume' silences warnings even with older GCCs. */ # define assume(R) ((R) ? (void) 0 : __builtin_trap ()) #else /* Some tools grok NOTREACHED, e.g., Oracle Studio 12.6. */ # define assume(R) ((R) ? (void) 0 : /*NOTREACHED*/ (void) 0) #endif /* @assert.h omit end@ */ #endif gsasl-1.8.1/gl/windows-rwlock.h0000644000000000000000000000507313516251573013302 00000000000000/* Read-write locks (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_RWLOCK_H #define _WINDOWS_RWLOCK_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" /* It is impossible to implement read-write locks using plain locks, without introducing an extra thread dedicated to managing read-write locks. Therefore here we need to use the low-level Event type. */ typedef struct { HANDLE *array; /* array of waiting threads, each represented by an event */ unsigned int count; /* number of waiting threads */ unsigned int alloc; /* length of allocated array */ unsigned int offset; /* index of first waiting thread in array */ } glwthread_carray_waitqueue_t; typedef struct { glwthread_initguard_t guard; /* protects the initialization */ CRITICAL_SECTION lock; /* protects the remaining fields */ glwthread_carray_waitqueue_t waiting_readers; /* waiting readers */ glwthread_carray_waitqueue_t waiting_writers; /* waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } glwthread_rwlock_t; #define GLWTHREAD_RWLOCK_INIT { GLWTHREAD_INITGUARD_INIT } #ifdef __cplusplus extern "C" { #endif extern void glwthread_rwlock_init (glwthread_rwlock_t *lock); extern int glwthread_rwlock_rdlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_wrlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_tryrdlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_trywrlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_unlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_destroy (glwthread_rwlock_t *lock); #ifdef __cplusplus } #endif #endif /* _WINDOWS_RWLOCK_H */ gsasl-1.8.1/gl/localcharset.h0000644000000000000000000001362313516251575012757 00000000000000/* Determine a canonical name for the current locale's character encoding. Copyright (C) 2000-2003, 2009-2019 Free Software Foundation, Inc. This file is part of the GNU CHARSET Library. 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 3, 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, see . */ #ifndef _LOCALCHARSET_H #define _LOCALCHARSET_H #ifdef __cplusplus extern "C" { #endif /* Determine the current locale's character encoding, and canonicalize it into one of the canonical names listed below. The result must not be freed; it is statically allocated. If the canonical name cannot be determined, the result is a non-canonical name. */ extern const char * locale_charset (void); /* About GNU canonical names for character encodings: Every canonical name must be supported by GNU libiconv. Support by GNU libc is also desirable. The name is case insensitive. Usually an upper case MIME charset name is preferred. The current list of these GNU canonical names is: name MIME? used by which systems (darwin = Mac OS X, windows = native Windows) ASCII, ANSI_X3.4-1968 glibc solaris freebsd netbsd darwin minix cygwin ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin ISO-8859-3 Y glibc solaris cygwin ISO-8859-4 Y hpux osf solaris freebsd netbsd openbsd darwin ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin ISO-8859-6 Y glibc aix hpux solaris cygwin ISO-8859-7 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin ISO-8859-8 Y glibc aix hpux osf solaris cygwin ISO-8859-9 Y glibc aix hpux irix osf solaris freebsd darwin cygwin ISO-8859-13 glibc hpux solaris freebsd netbsd openbsd darwin cygwin ISO-8859-14 glibc cygwin ISO-8859-15 glibc aix irix osf solaris freebsd netbsd openbsd darwin cygwin KOI8-R Y glibc hpux solaris freebsd netbsd openbsd darwin KOI8-U Y glibc freebsd netbsd openbsd darwin cygwin KOI8-T glibc CP437 dos CP775 dos CP850 aix osf dos CP852 dos CP855 dos CP856 aix CP857 dos CP861 dos CP862 dos CP864 dos CP865 dos CP866 freebsd netbsd openbsd darwin dos CP869 dos CP874 windows dos CP922 aix CP932 aix cygwin windows dos CP943 aix CP949 osf darwin windows dos CP950 windows dos CP1046 aix CP1124 aix CP1125 dos CP1129 aix CP1131 freebsd darwin CP1250 windows CP1251 glibc hpux solaris freebsd netbsd openbsd darwin cygwin windows CP1252 aix windows CP1253 windows CP1254 windows CP1255 glibc windows CP1256 windows CP1257 windows GB2312 Y glibc aix hpux irix solaris freebsd netbsd darwin cygwin EUC-JP Y glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin EUC-TW glibc aix hpux irix osf solaris netbsd BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin cygwin BIG5-HKSCS glibc hpux solaris netbsd darwin GBK glibc aix osf solaris freebsd darwin cygwin windows dos GB18030 glibc hpux solaris freebsd netbsd darwin SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin JOHAB glibc solaris windows TIS-620 glibc aix hpux osf solaris cygwin VISCII Y glibc TCVN5712-1 glibc ARMSCII-8 glibc freebsd netbsd darwin GEORGIAN-PS glibc cygwin PT154 glibc netbsd cygwin HP-ROMAN8 hpux HP-ARABIC8 hpux HP-GREEK8 hpux HP-HEBREW8 hpux HP-TURKISH8 hpux HP-KANA8 hpux DEC-KANJI osf DEC-HANYU osf UTF-8 Y glibc aix hpux osf solaris netbsd darwin cygwin Note: Names which are not marked as being a MIME name should not be used in Internet protocols for information interchange (mail, news, etc.). Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications must understand both names and treat them as equivalent. */ #ifdef __cplusplus } #endif #endif /* _LOCALCHARSET_H */ gsasl-1.8.1/gl/strerror.c0000644000000000000000000000405313516251577012167 00000000000000/* strerror.c --- POSIX compatible system error routine Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include #include #include #include "intprops.h" #include "strerror-override.h" #include "verify.h" /* Use the system functions, not the gnulib overrides in this file. */ #undef sprintf char * strerror (int n) #undef strerror { static char buf[STACKBUF_LEN]; size_t len; /* Cast away const, due to the historical signature of strerror; callers should not be modifying the string. */ const char *msg = strerror_override (n); if (msg) return (char *) msg; msg = strerror (n); /* Our strerror_r implementation might use the system's strerror buffer, so all other clients of strerror have to see the error copied into a buffer that we manage. This is not thread-safe, even if the system strerror is, but portable programs shouldn't be using strerror if they care about thread-safety. */ if (!msg || !*msg) { static char const fmt[] = "Unknown error %d"; verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n)); sprintf (buf, fmt, n); errno = EINVAL; return buf; } /* Fix STACKBUF_LEN if this ever aborts. */ len = strlen (msg); if (sizeof buf <= len) abort (); memcpy (buf, msg, len + 1); return buf; } gsasl-1.8.1/gl/progname.h0000644000000000000000000000374013516251576012123 00000000000000/* Program name management. Copyright (C) 2001-2004, 2006, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 3 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, see . */ #ifndef _PROGNAME_H #define _PROGNAME_H /* Programs using this file should do the following in main(): set_program_name (argv[0]); */ #ifdef __cplusplus extern "C" { #endif /* String containing name the program is called with. */ extern const char *program_name; /* Set program_name, based on argv[0]. argv0 must be a string allocated with indefinite extent, and must not be modified after this call. */ extern void set_program_name (const char *argv0); #if ENABLE_RELOCATABLE /* Set program_name, based on argv[0], and original installation prefix and directory, for relocatability. */ extern void set_program_name_and_installdir (const char *argv0, const char *orig_installprefix, const char *orig_installdir); #undef set_program_name #define set_program_name(ARG0) \ set_program_name_and_installdir (ARG0, INSTALLPREFIX, INSTALLDIR) /* Return the full pathname of the current executable, based on the earlier call to set_program_name_and_installdir. Return NULL if unknown. */ extern char *get_full_program_name (void); #endif #ifdef __cplusplus } #endif #endif /* _PROGNAME_H */ gsasl-1.8.1/gl/quote.h0000644000000000000000000000350313516251576011445 00000000000000/* quote.h - prototypes for quote.c Copyright (C) 1998-2001, 2003, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef QUOTE_H_ # define QUOTE_H_ 1 # include /* The quoting options used by quote_n and quote. Its type is incomplete, so it's useful only in expressions like '"e_quoting_options'. */ extern struct quoting_options quote_quoting_options; /* Return an unambiguous printable representation of ARG (of size ARGSIZE), allocated in slot N, suitable for diagnostics. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. */ char const *quote_n_mem (int n, char const *arg, size_t argsize); /* Return an unambiguous printable representation of ARG (of size ARGSIZE), suitable for diagnostics. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. */ char const *quote_mem (char const *arg, size_t argsize); /* Return an unambiguous printable representation of ARG, allocated in slot N, suitable for diagnostics. */ char const *quote_n (int n, char const *arg); /* Return an unambiguous printable representation of ARG, suitable for diagnostics. */ char const *quote (char const *arg); #endif /* !QUOTE_H_ */ gsasl-1.8.1/gl/sys_time.in.h0000644000000000000000000001721613516251577012560 00000000000000/* Provide a more complete sys/time.h. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Paul Eggert. */ #ifndef _@GUARD_PREFIX@_SYS_TIME_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* On Cygwin and on many BSDish systems, includes itself recursively via . Simply delegate to the system's header in this case; it is a no-op. Without this extra ifdef, the C++ gettimeofday declaration below would be a forward declaration in gnulib's nested . */ #if defined _CYGWIN_SYS_TIME_H || defined _SYS_TIME_H || defined _SYS_TIME_H_ # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@ #else /* The include_next requires a split double-inclusion guard. */ #if @HAVE_SYS_TIME_H@ # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_TIME_H #define _@GUARD_PREFIX@_SYS_TIME_H #if ! @HAVE_SYS_TIME_H@ # include #endif /* On native Windows with MSVC, get the 'struct timeval' type. Also, on native Windows with a 64-bit time_t, where we are overriding the 'struct timeval' type, get all declarations of system functions whose signature contains 'struct timeval'. */ #if (defined _MSC_VER || @REPLACE_STRUCT_TIMEVAL@) && @HAVE_WINSOCK2_H@ && !defined _GL_INCLUDING_WINSOCK2_H # define _GL_INCLUDING_WINSOCK2_H # include # undef _GL_INCLUDING_WINSOCK2_H #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #ifdef __cplusplus extern "C" { #endif #if !@HAVE_STRUCT_TIMEVAL@ || @REPLACE_STRUCT_TIMEVAL@ # if @REPLACE_STRUCT_TIMEVAL@ # define timeval rpl_timeval # endif # if !GNULIB_defined_struct_timeval struct timeval { time_t tv_sec; long int tv_usec; }; # define GNULIB_defined_struct_timeval 1 # endif #endif #ifdef __cplusplus } #endif #if @GNULIB_GETTIMEOFDAY@ # if @REPLACE_GETTIMEOFDAY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gettimeofday # define gettimeofday rpl_gettimeofday # endif _GL_FUNCDECL_RPL (gettimeofday, int, (struct timeval *restrict, void *restrict) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gettimeofday, int, (struct timeval *restrict, void *restrict)); # else # if !@HAVE_GETTIMEOFDAY@ _GL_FUNCDECL_SYS (gettimeofday, int, (struct timeval *restrict, void *restrict) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on glibc systems, by default, the second argument is struct timezone *. */ _GL_CXXALIAS_SYS_CAST (gettimeofday, int, (struct timeval *restrict, void *restrict)); # endif _GL_CXXALIASWARN (gettimeofday); # if defined __cplusplus && defined GNULIB_NAMESPACE namespace GNULIB_NAMESPACE { typedef ::timeval #undef timeval timeval; } # endif #elif defined GNULIB_POSIXCHECK # undef gettimeofday # if HAVE_RAW_DECL_GETTIMEOFDAY _GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - " "use gnulib module gettimeofday for portability"); # endif #endif /* Hide some function declarations from . */ #if defined _MSC_VER && @HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_UNISTD_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else _GL_WARN_ON_USE (close, "close() used without including "); # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname gethostname_used_without_including_unistd_h # else _GL_WARN_ON_USE (gethostname, "gethostname() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h # undef recv # define recv recv_used_without_including_sys_socket_h # undef send # define send send_used_without_including_sys_socket_h # undef recvfrom # define recvfrom recvfrom_used_without_including_sys_socket_h # undef sendto # define sendto sendto_used_without_including_sys_socket_h # undef setsockopt # define setsockopt setsockopt_used_without_including_sys_socket_h # undef shutdown # define shutdown shutdown_used_without_including_sys_socket_h # else _GL_WARN_ON_USE (socket, "socket() used without including "); _GL_WARN_ON_USE (connect, "connect() used without including "); _GL_WARN_ON_USE (accept, "accept() used without including "); _GL_WARN_ON_USE (bind, "bind() used without including "); _GL_WARN_ON_USE (getpeername, "getpeername() used without including "); _GL_WARN_ON_USE (getsockname, "getsockname() used without including "); _GL_WARN_ON_USE (getsockopt, "getsockopt() used without including "); _GL_WARN_ON_USE (listen, "listen() used without including "); _GL_WARN_ON_USE (recv, "recv() used without including "); _GL_WARN_ON_USE (send, "send() used without including "); _GL_WARN_ON_USE (recvfrom, "recvfrom() used without including "); _GL_WARN_ON_USE (sendto, "sendto() used without including "); _GL_WARN_ON_USE (setsockopt, "setsockopt() used without including "); _GL_WARN_ON_USE (shutdown, "shutdown() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif #endif /* _@GUARD_PREFIX@_SYS_TIME_H */ #endif /* _CYGWIN_SYS_TIME_H */ #endif /* _@GUARD_PREFIX@_SYS_TIME_H */ gsasl-1.8.1/gl/alloca.in.h0000644000000000000000000000451513516251574012152 00000000000000/* Memory allocation on the stack. Copyright (C) 1995, 1999, 2001-2004, 2006-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H means there is a real alloca function. */ #ifndef _GL_ALLOCA_H #define _GL_ALLOCA_H /* alloca (N) returns a pointer to N bytes of memory allocated on the stack, which will last until the function returns. Use of alloca should be avoided: - inside arguments of function calls - undefined behaviour, - in inline functions - the allocation may actually last until the calling function returns, - for huge N (say, N >= 65536) - you never know how large (or small) the stack is, and when the stack cannot fulfill the memory allocation request, the program just crashes. */ #ifndef alloca # ifdef __GNUC__ /* Some version of mingw have an that causes trouble when included after 'alloca' gets defined as a macro. As a workaround, include this first and define 'alloca' as a macro afterwards. */ # if (defined _WIN32 && ! defined __CYGWIN__) && @HAVE_ALLOCA_H@ # include_next # endif # define alloca __builtin_alloca # elif defined _AIX # define alloca __alloca # elif defined _MSC_VER # include # define alloca _alloca # elif defined __DECC && defined __VMS # define alloca __ALLOCA # elif defined __TANDEM && defined _TNS_E_TARGET # ifdef __cplusplus extern "C" # endif void *_alloca (unsigned short); # pragma intrinsic (_alloca) # define alloca _alloca # elif defined __MVS__ # include # else # include # ifdef __cplusplus extern "C" # endif void *alloca (size_t); # endif #endif #endif /* _GL_ALLOCA_H */ gsasl-1.8.1/gl/exitfail.h0000644000000000000000000000140313516251574012110 00000000000000/* Failure exit status Copyright (C) 2002, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ extern int volatile exit_failure; gsasl-1.8.1/gl/assure.h0000644000000000000000000000226013516251574011607 00000000000000/* Run-time assert-like macros. Copyright (C) 2014-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert. */ #ifndef _GL_ASSURE_H #define _GL_ASSURE_H #include /* Check E's value at runtime, and report an error and abort if not. However, do nothing if NDEBUG is defined. Unlike standard 'assert', this macro always compiles E even when NDEBUG is defined, so as to catch typos and avoid some GCC warnings. */ #ifdef NDEBUG # define assure(E) ((void) (0 && (E))) #else # define assure(E) assert (E) #endif #endif gsasl-1.8.1/gl/pathmax.h0000644000000000000000000000556613516251573011762 00000000000000/* Define PATH_MAX somehow. Requires sys/types.h. Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _PATHMAX_H # define _PATHMAX_H /* POSIX:2008 defines PATH_MAX to be the maximum number of bytes in a filename, including the terminating NUL byte. PATH_MAX is not defined on systems which have no limit on filename length, such as GNU/Hurd. This file does *not* define PATH_MAX always. Programs that use this file can handle the GNU/Hurd case in several ways: - Either with a package-wide handling, or with a per-file handling, - Either through a #ifdef PATH_MAX or through a fallback like #ifndef PATH_MAX # define PATH_MAX 8192 #endif or through a fallback like #ifndef PATH_MAX # define PATH_MAX pathconf ("/", _PC_PATH_MAX) #endif */ # include # include # ifndef _POSIX_PATH_MAX # define _POSIX_PATH_MAX 256 # endif /* Don't include sys/param.h if it already has been. */ # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include # endif # if !defined PATH_MAX && defined MAXPATHLEN # define PATH_MAX MAXPATHLEN # endif # ifdef __hpux /* On HP-UX, PATH_MAX designates the maximum number of bytes in a filename, *not* including the terminating NUL byte, and is set to 1023. Additionally, when _XOPEN_SOURCE is defined to 500 or more, PATH_MAX is not defined at all any more. */ # undef PATH_MAX # define PATH_MAX 1024 # endif # if defined _WIN32 && ! defined __CYGWIN__ /* The page "Naming Files, Paths, and Namespaces" on msdn.microsoft.com, section "Maximum Path Length Limitation", explains that the maximum size of a filename, including the terminating NUL byte, is 260 = 3 + 256 + 1. This is the same value as - FILENAME_MAX in , - _MAX_PATH in , - MAX_PATH in . Undefine the original value, because mingw's gets it wrong. */ # undef PATH_MAX # define PATH_MAX 260 # endif #endif /* _PATHMAX_H */ gsasl-1.8.1/gl/sys_socket.in.h0000644000000000000000000005612713516251577013116 00000000000000/* Provide a sys/socket header file for systems lacking it (read: MinGW) and for systems where it is incomplete. Copyright (C) 2005-2019 Free Software Foundation, Inc. Written by Simon Josefsson. 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 3, 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, see . */ /* This file is supposed to be used on platforms that lack , on platforms where cannot be included standalone, and on platforms where does not provide all necessary definitions. It is intended to provide definitions and prototypes needed by an application. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _GL_ALREADY_INCLUDING_SYS_SOCKET_H /* Special invocation convention: - On Cygwin 1.5.x we have a sequence of nested includes -> -> -> , and the latter includes . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_SYS_SOCKET_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_SOCKET_H #if @HAVE_SYS_SOCKET_H@ # define _GL_ALREADY_INCLUDING_SYS_SOCKET_H /* On many platforms, assumes prior inclusion of . */ # include /* On FreeBSD 6.4, defines some macros that assume that NULL is defined. */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_SOCKET_H@ # undef _GL_ALREADY_INCLUDING_SYS_SOCKET_H #endif #ifndef _@GUARD_PREFIX@_SYS_SOCKET_H #define _@GUARD_PREFIX@_SYS_SOCKET_H #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_SYS_SOCKET_INLINE # define _GL_SYS_SOCKET_INLINE _GL_INLINE #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !@HAVE_SA_FAMILY_T@ # if !GNULIB_defined_sa_family_t /* On OS/2 kLIBC, sa_family_t is unsigned char unless TCPV40HDRS is defined. */ # if !defined __KLIBC__ || defined TCPV40HDRS typedef unsigned short sa_family_t; # else typedef unsigned char sa_family_t; # endif # define GNULIB_defined_sa_family_t 1 # endif #endif #if @HAVE_STRUCT_SOCKADDR_STORAGE@ /* Make the 'struct sockaddr_storage' field 'ss_family' visible on AIX 7.1. */ # if !@HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ # ifndef ss_family # define ss_family __ss_family # endif # endif #else # include /* Code taken from glibc sysdeps/unix/sysv/linux/bits/socket.h on 2009-05-08, licensed under LGPLv2.1+, plus portability fixes. */ # define __ss_aligntype unsigned long int # define _SS_SIZE 256 # define _SS_PADSIZE \ (_SS_SIZE - ((sizeof (sa_family_t) >= alignof (__ss_aligntype) \ ? sizeof (sa_family_t) \ : alignof (__ss_aligntype)) \ + sizeof (__ss_aligntype))) # if !GNULIB_defined_struct_sockaddr_storage struct sockaddr_storage { sa_family_t ss_family; /* Address family, etc. */ __ss_aligntype __ss_align; /* Force desired alignment. */ char __ss_padding[_SS_PADSIZE]; }; # define GNULIB_defined_struct_sockaddr_storage 1 # endif #endif /* Get struct iovec. */ /* But avoid namespace pollution on glibc systems. */ #if ! defined __GLIBC__ # include #endif #if @HAVE_SYS_SOCKET_H@ /* A platform that has . */ /* For shutdown(). */ # if !defined SHUT_RD # define SHUT_RD 0 # endif # if !defined SHUT_WR # define SHUT_WR 1 # endif # if !defined SHUT_RDWR # define SHUT_RDWR 2 # endif # ifdef __VMS /* OpenVMS */ # ifndef CMSG_SPACE # define CMSG_SPACE(length) _CMSG_SPACE(length) # endif # ifndef CMSG_LEN # define CMSG_LEN(length) _CMSG_LEN(length) # endif # endif #else # ifdef __CYGWIN__ # error "Cygwin does have a sys/socket.h, doesn't it?!?" # endif /* A platform that lacks . Currently only MinGW is supported. See the gnulib manual regarding Windows sockets. MinGW has the header files winsock2.h and ws2tcpip.h that declare the sys/socket.h definitions we need. Note that you can influence which definitions you get by setting the WINVER symbol before including these two files. For example, getaddrinfo is only available if _WIN32_WINNT >= 0x0501 (that symbol is set indirectly through WINVER). You can set this by adding AC_DEFINE(WINVER, 0x0501) to configure.ac. Note that your code may not run on older Windows releases then. My Windows 2000 box was not able to run the code, for example. The situation is slightly confusing because suggests that getaddrinfo should be available on all Windows releases. */ # if @HAVE_WINSOCK2_H@ # include # endif # if @HAVE_WS2TCPIP_H@ # include # endif /* For shutdown(). */ # if !defined SHUT_RD && defined SD_RECEIVE # define SHUT_RD SD_RECEIVE # endif # if !defined SHUT_WR && defined SD_SEND # define SHUT_WR SD_SEND # endif # if !defined SHUT_RDWR && defined SD_BOTH # define SHUT_RDWR SD_BOTH # endif # if @HAVE_WINSOCK2_H@ /* Include headers needed by the emulation code. */ # include # include # if !GNULIB_defined_socklen_t typedef int socklen_t; # define GNULIB_defined_socklen_t 1 # endif # endif /* Rudimentary 'struct msghdr'; this works as long as you don't try to access msg_control or msg_controllen. */ struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; int msg_iovlen; int msg_flags; }; #endif /* Ensure SO_REUSEPORT is defined. */ /* For the subtle differences between SO_REUSEPORT and SO_REUSEADDR, see https://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t and https://lwn.net/Articles/542629/ */ #ifndef SO_REUSEPORT # define SO_REUSEPORT SO_REUSEADDR #endif /* Fix some definitions from . */ #if @HAVE_WINSOCK2_H@ # if !GNULIB_defined_rpl_fd_isset /* Re-define FD_ISSET to avoid a WSA call while we are not using network sockets. */ _GL_SYS_SOCKET_INLINE int rpl_fd_isset (SOCKET fd, fd_set * set) { u_int i; if (set == NULL) return 0; for (i = 0; i < set->fd_count; i++) if (set->fd_array[i] == fd) return 1; return 0; } # define GNULIB_defined_rpl_fd_isset 1 # endif # undef FD_ISSET # define FD_ISSET(fd, set) rpl_fd_isset(fd, set) #endif /* Hide some function declarations from . */ #if @HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_UNISTD_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else _GL_WARN_ON_USE (close, "close() used without including "); # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname gethostname_used_without_including_unistd_h # else _GL_WARN_ON_USE (gethostname, "gethostname() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif /* Wrap everything else to use libc file descriptors for sockets. */ #if @GNULIB_SOCKET@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket rpl_socket # endif _GL_FUNCDECL_RPL (socket, int, (int domain, int type, int protocol)); _GL_CXXALIAS_RPL (socket, int, (int domain, int type, int protocol)); # else _GL_CXXALIAS_SYS (socket, int, (int domain, int type, int protocol)); # endif _GL_CXXALIASWARN (socket); #elif @HAVE_WINSOCK2_H@ # undef socket # define socket socket_used_without_requesting_gnulib_module_socket #elif defined GNULIB_POSIXCHECK # undef socket # if HAVE_RAW_DECL_SOCKET _GL_WARN_ON_USE (socket, "socket is not always POSIX compliant - " "use gnulib module socket for portability"); # endif #endif #if @GNULIB_CONNECT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef connect # define connect rpl_connect # endif _GL_FUNCDECL_RPL (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # else /* Need to cast, because on NonStop Kernel, the third parameter is size_t addrlen. */ _GL_CXXALIAS_SYS_CAST (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # endif _GL_CXXALIASWARN (connect); #elif @HAVE_WINSOCK2_H@ # undef connect # define connect socket_used_without_requesting_gnulib_module_connect #elif defined GNULIB_POSIXCHECK # undef connect # if HAVE_RAW_DECL_CONNECT _GL_WARN_ON_USE (connect, "connect is not always POSIX compliant - " "use gnulib module connect for portability"); # endif #endif #if @GNULIB_ACCEPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef accept # define accept rpl_accept # endif _GL_FUNCDECL_RPL (accept, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); _GL_CXXALIAS_RPL (accept, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (accept, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # endif _GL_CXXALIASWARN (accept); #elif @HAVE_WINSOCK2_H@ # undef accept # define accept accept_used_without_requesting_gnulib_module_accept #elif defined GNULIB_POSIXCHECK # undef accept # if HAVE_RAW_DECL_ACCEPT _GL_WARN_ON_USE (accept, "accept is not always POSIX compliant - " "use gnulib module accept for portability"); # endif #endif #if @GNULIB_BIND@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef bind # define bind rpl_bind # endif _GL_FUNCDECL_RPL (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # else /* Need to cast, because on NonStop Kernel, the third parameter is size_t addrlen. */ _GL_CXXALIAS_SYS_CAST (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # endif _GL_CXXALIASWARN (bind); #elif @HAVE_WINSOCK2_H@ # undef bind # define bind bind_used_without_requesting_gnulib_module_bind #elif defined GNULIB_POSIXCHECK # undef bind # if HAVE_RAW_DECL_BIND _GL_WARN_ON_USE (bind, "bind is not always POSIX compliant - " "use gnulib module bind for portability"); # endif #endif #if @GNULIB_GETPEERNAME@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpeername # define getpeername rpl_getpeername # endif _GL_FUNCDECL_RPL (getpeername, int, (int fd, struct sockaddr *addr, socklen_t *addrlen) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (getpeername, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (getpeername, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # endif _GL_CXXALIASWARN (getpeername); #elif @HAVE_WINSOCK2_H@ # undef getpeername # define getpeername getpeername_used_without_requesting_gnulib_module_getpeername #elif defined GNULIB_POSIXCHECK # undef getpeername # if HAVE_RAW_DECL_GETPEERNAME _GL_WARN_ON_USE (getpeername, "getpeername is not always POSIX compliant - " "use gnulib module getpeername for portability"); # endif #endif #if @GNULIB_GETSOCKNAME@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getsockname # define getsockname rpl_getsockname # endif _GL_FUNCDECL_RPL (getsockname, int, (int fd, struct sockaddr *addr, socklen_t *addrlen) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (getsockname, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (getsockname, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # endif _GL_CXXALIASWARN (getsockname); #elif @HAVE_WINSOCK2_H@ # undef getsockname # define getsockname getsockname_used_without_requesting_gnulib_module_getsockname #elif defined GNULIB_POSIXCHECK # undef getsockname # if HAVE_RAW_DECL_GETSOCKNAME _GL_WARN_ON_USE (getsockname, "getsockname is not always POSIX compliant - " "use gnulib module getsockname for portability"); # endif #endif #if @GNULIB_GETSOCKOPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getsockopt # define getsockopt rpl_getsockopt # endif _GL_FUNCDECL_RPL (getsockopt, int, (int fd, int level, int optname, void *optval, socklen_t *optlen) _GL_ARG_NONNULL ((4, 5))); _GL_CXXALIAS_RPL (getsockopt, int, (int fd, int level, int optname, void *optval, socklen_t *optlen)); # else /* Need to cast, because on Solaris 10 systems, the fifth parameter is void *optlen. */ _GL_CXXALIAS_SYS_CAST (getsockopt, int, (int fd, int level, int optname, void *optval, socklen_t *optlen)); # endif _GL_CXXALIASWARN (getsockopt); #elif @HAVE_WINSOCK2_H@ # undef getsockopt # define getsockopt getsockopt_used_without_requesting_gnulib_module_getsockopt #elif defined GNULIB_POSIXCHECK # undef getsockopt # if HAVE_RAW_DECL_GETSOCKOPT _GL_WARN_ON_USE (getsockopt, "getsockopt is not always POSIX compliant - " "use gnulib module getsockopt for portability"); # endif #endif #if @GNULIB_LISTEN@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef listen # define listen rpl_listen # endif _GL_FUNCDECL_RPL (listen, int, (int fd, int backlog)); _GL_CXXALIAS_RPL (listen, int, (int fd, int backlog)); # else _GL_CXXALIAS_SYS (listen, int, (int fd, int backlog)); # endif _GL_CXXALIASWARN (listen); #elif @HAVE_WINSOCK2_H@ # undef listen # define listen listen_used_without_requesting_gnulib_module_listen #elif defined GNULIB_POSIXCHECK # undef listen # if HAVE_RAW_DECL_LISTEN _GL_WARN_ON_USE (listen, "listen is not always POSIX compliant - " "use gnulib module listen for portability"); # endif #endif #if @GNULIB_RECV@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef recv # define recv rpl_recv # endif _GL_FUNCDECL_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); # else _GL_CXXALIAS_SYS (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); # endif _GL_CXXALIASWARN (recv); #elif @HAVE_WINSOCK2_H@ # undef recv # define recv recv_used_without_requesting_gnulib_module_recv #elif defined GNULIB_POSIXCHECK # undef recv # if HAVE_RAW_DECL_RECV _GL_WARN_ON_USE (recv, "recv is not always POSIX compliant - " "use gnulib module recv for portability"); # endif #endif #if @GNULIB_SEND@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef send # define send rpl_send # endif _GL_FUNCDECL_RPL (send, ssize_t, (int fd, const void *buf, size_t len, int flags) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (send, ssize_t, (int fd, const void *buf, size_t len, int flags)); # else _GL_CXXALIAS_SYS (send, ssize_t, (int fd, const void *buf, size_t len, int flags)); # endif _GL_CXXALIASWARN (send); #elif @HAVE_WINSOCK2_H@ # undef send # define send send_used_without_requesting_gnulib_module_send #elif defined GNULIB_POSIXCHECK # undef send # if HAVE_RAW_DECL_SEND _GL_WARN_ON_USE (send, "send is not always POSIX compliant - " "use gnulib module send for portability"); # endif #endif #if @GNULIB_RECVFROM@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef recvfrom # define recvfrom rpl_recvfrom # endif _GL_FUNCDECL_RPL (recvfrom, ssize_t, (int fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (recvfrom, ssize_t, (int fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen)); # else /* Need to cast, because on Solaris 10 systems, the sixth parameter is void *fromlen. */ _GL_CXXALIAS_SYS_CAST (recvfrom, ssize_t, (int fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen)); # endif _GL_CXXALIASWARN (recvfrom); #elif @HAVE_WINSOCK2_H@ # undef recvfrom # define recvfrom recvfrom_used_without_requesting_gnulib_module_recvfrom #elif defined GNULIB_POSIXCHECK # undef recvfrom # if HAVE_RAW_DECL_RECVFROM _GL_WARN_ON_USE (recvfrom, "recvfrom is not always POSIX compliant - " "use gnulib module recvfrom for portability"); # endif #endif #if @GNULIB_SENDTO@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sendto # define sendto rpl_sendto # endif _GL_FUNCDECL_RPL (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen)); # else /* Need to cast, because on NonStop Kernel, the sixth parameter is size_t tolen. */ _GL_CXXALIAS_SYS_CAST (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen)); # endif _GL_CXXALIASWARN (sendto); #elif @HAVE_WINSOCK2_H@ # undef sendto # define sendto sendto_used_without_requesting_gnulib_module_sendto #elif defined GNULIB_POSIXCHECK # undef sendto # if HAVE_RAW_DECL_SENDTO _GL_WARN_ON_USE (sendto, "sendto is not always POSIX compliant - " "use gnulib module sendto for portability"); # endif #endif #if @GNULIB_SETSOCKOPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setsockopt # define setsockopt rpl_setsockopt # endif _GL_FUNCDECL_RPL (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen) _GL_ARG_NONNULL ((4))); _GL_CXXALIAS_RPL (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen)); # else /* Need to cast, because on NonStop Kernel, the fifth parameter is size_t optlen. */ _GL_CXXALIAS_SYS_CAST (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen)); # endif _GL_CXXALIASWARN (setsockopt); #elif @HAVE_WINSOCK2_H@ # undef setsockopt # define setsockopt setsockopt_used_without_requesting_gnulib_module_setsockopt #elif defined GNULIB_POSIXCHECK # undef setsockopt # if HAVE_RAW_DECL_SETSOCKOPT _GL_WARN_ON_USE (setsockopt, "setsockopt is not always POSIX compliant - " "use gnulib module setsockopt for portability"); # endif #endif #if @GNULIB_SHUTDOWN@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef shutdown # define shutdown rpl_shutdown # endif _GL_FUNCDECL_RPL (shutdown, int, (int fd, int how)); _GL_CXXALIAS_RPL (shutdown, int, (int fd, int how)); # else _GL_CXXALIAS_SYS (shutdown, int, (int fd, int how)); # endif _GL_CXXALIASWARN (shutdown); #elif @HAVE_WINSOCK2_H@ # undef shutdown # define shutdown shutdown_used_without_requesting_gnulib_module_shutdown #elif defined GNULIB_POSIXCHECK # undef shutdown # if HAVE_RAW_DECL_SHUTDOWN _GL_WARN_ON_USE (shutdown, "shutdown is not always POSIX compliant - " "use gnulib module shutdown for portability"); # endif #endif #if @GNULIB_ACCEPT4@ /* Accept a connection on a socket, with specific opening flags. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). See also the Linux man page at . */ # if @HAVE_ACCEPT4@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define accept4 rpl_accept4 # endif _GL_FUNCDECL_RPL (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); _GL_CXXALIAS_RPL (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); # else _GL_FUNCDECL_SYS (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); _GL_CXXALIAS_SYS (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); # endif _GL_CXXALIASWARN (accept4); #elif defined GNULIB_POSIXCHECK # undef accept4 # if HAVE_RAW_DECL_ACCEPT4 _GL_WARN_ON_USE (accept4, "accept4 is unportable - " "use gnulib module accept4 for portability"); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif gsasl-1.8.1/gl/strerror-override.c0000644000000000000000000002146613516251577014013 00000000000000/* strerror-override.c --- POSIX compatible system error routine Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2010. */ #include #include "strerror-override.h" #include #if GNULIB_defined_EWINSOCK /* native Windows platforms */ # if HAVE_WINSOCK2_H # include # endif #endif /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ const char * strerror_override (int errnum) { /* These error messages are taken from glibc/sysdeps/gnu/errlist.c. */ switch (errnum) { #if REPLACE_STRERROR_0 case 0: return "Success"; #endif #if GNULIB_defined_ESOCK /* native Windows platforms with older */ case EINPROGRESS: return "Operation now in progress"; case EALREADY: return "Operation already in progress"; case ENOTSOCK: return "Socket operation on non-socket"; case EDESTADDRREQ: return "Destination address required"; case EMSGSIZE: return "Message too long"; case EPROTOTYPE: return "Protocol wrong type for socket"; case ENOPROTOOPT: return "Protocol not available"; case EPROTONOSUPPORT: return "Protocol not supported"; case EOPNOTSUPP: return "Operation not supported"; case EAFNOSUPPORT: return "Address family not supported by protocol"; case EADDRINUSE: return "Address already in use"; case EADDRNOTAVAIL: return "Cannot assign requested address"; case ENETDOWN: return "Network is down"; case ENETUNREACH: return "Network is unreachable"; case ECONNRESET: return "Connection reset by peer"; case ENOBUFS: return "No buffer space available"; case EISCONN: return "Transport endpoint is already connected"; case ENOTCONN: return "Transport endpoint is not connected"; case ETIMEDOUT: return "Connection timed out"; case ECONNREFUSED: return "Connection refused"; case ELOOP: return "Too many levels of symbolic links"; case EHOSTUNREACH: return "No route to host"; case EWOULDBLOCK: return "Operation would block"; #endif #if GNULIB_defined_ESTREAMS /* native Windows platforms with older */ case ETXTBSY: return "Text file busy"; case ENODATA: return "No data available"; case ENOSR: return "Out of streams resources"; case ENOSTR: return "Device not a stream"; case ETIME: return "Timer expired"; case EOTHER: return "Other error"; #endif #if GNULIB_defined_EWINSOCK /* native Windows platforms */ case ESOCKTNOSUPPORT: return "Socket type not supported"; case EPFNOSUPPORT: return "Protocol family not supported"; case ESHUTDOWN: return "Cannot send after transport endpoint shutdown"; case ETOOMANYREFS: return "Too many references: cannot splice"; case EHOSTDOWN: return "Host is down"; case EPROCLIM: return "Too many processes"; case EUSERS: return "Too many users"; case EDQUOT: return "Disk quota exceeded"; case ESTALE: return "Stale NFS file handle"; case EREMOTE: return "Object is remote"; # if HAVE_WINSOCK2_H /* WSA_INVALID_HANDLE maps to EBADF */ /* WSA_NOT_ENOUGH_MEMORY maps to ENOMEM */ /* WSA_INVALID_PARAMETER maps to EINVAL */ case WSA_OPERATION_ABORTED: return "Overlapped operation aborted"; case WSA_IO_INCOMPLETE: return "Overlapped I/O event object not in signaled state"; case WSA_IO_PENDING: return "Overlapped operations will complete later"; /* WSAEINTR maps to EINTR */ /* WSAEBADF maps to EBADF */ /* WSAEACCES maps to EACCES */ /* WSAEFAULT maps to EFAULT */ /* WSAEINVAL maps to EINVAL */ /* WSAEMFILE maps to EMFILE */ /* WSAEWOULDBLOCK maps to EWOULDBLOCK */ /* WSAEINPROGRESS maps to EINPROGRESS */ /* WSAEALREADY maps to EALREADY */ /* WSAENOTSOCK maps to ENOTSOCK */ /* WSAEDESTADDRREQ maps to EDESTADDRREQ */ /* WSAEMSGSIZE maps to EMSGSIZE */ /* WSAEPROTOTYPE maps to EPROTOTYPE */ /* WSAENOPROTOOPT maps to ENOPROTOOPT */ /* WSAEPROTONOSUPPORT maps to EPROTONOSUPPORT */ /* WSAESOCKTNOSUPPORT is ESOCKTNOSUPPORT */ /* WSAEOPNOTSUPP maps to EOPNOTSUPP */ /* WSAEPFNOSUPPORT is EPFNOSUPPORT */ /* WSAEAFNOSUPPORT maps to EAFNOSUPPORT */ /* WSAEADDRINUSE maps to EADDRINUSE */ /* WSAEADDRNOTAVAIL maps to EADDRNOTAVAIL */ /* WSAENETDOWN maps to ENETDOWN */ /* WSAENETUNREACH maps to ENETUNREACH */ /* WSAENETRESET maps to ENETRESET */ /* WSAECONNABORTED maps to ECONNABORTED */ /* WSAECONNRESET maps to ECONNRESET */ /* WSAENOBUFS maps to ENOBUFS */ /* WSAEISCONN maps to EISCONN */ /* WSAENOTCONN maps to ENOTCONN */ /* WSAESHUTDOWN is ESHUTDOWN */ /* WSAETOOMANYREFS is ETOOMANYREFS */ /* WSAETIMEDOUT maps to ETIMEDOUT */ /* WSAECONNREFUSED maps to ECONNREFUSED */ /* WSAELOOP maps to ELOOP */ /* WSAENAMETOOLONG maps to ENAMETOOLONG */ /* WSAEHOSTDOWN is EHOSTDOWN */ /* WSAEHOSTUNREACH maps to EHOSTUNREACH */ /* WSAENOTEMPTY maps to ENOTEMPTY */ /* WSAEPROCLIM is EPROCLIM */ /* WSAEUSERS is EUSERS */ /* WSAEDQUOT is EDQUOT */ /* WSAESTALE is ESTALE */ /* WSAEREMOTE is EREMOTE */ case WSASYSNOTREADY: return "Network subsystem is unavailable"; case WSAVERNOTSUPPORTED: return "Winsock.dll version out of range"; case WSANOTINITIALISED: return "Successful WSAStartup not yet performed"; case WSAEDISCON: return "Graceful shutdown in progress"; case WSAENOMORE: case WSA_E_NO_MORE: return "No more results"; case WSAECANCELLED: case WSA_E_CANCELLED: return "Call was canceled"; case WSAEINVALIDPROCTABLE: return "Procedure call table is invalid"; case WSAEINVALIDPROVIDER: return "Service provider is invalid"; case WSAEPROVIDERFAILEDINIT: return "Service provider failed to initialize"; case WSASYSCALLFAILURE: return "System call failure"; case WSASERVICE_NOT_FOUND: return "Service not found"; case WSATYPE_NOT_FOUND: return "Class type not found"; case WSAEREFUSED: return "Database query was refused"; case WSAHOST_NOT_FOUND: return "Host not found"; case WSATRY_AGAIN: return "Nonauthoritative host not found"; case WSANO_RECOVERY: return "Nonrecoverable error"; case WSANO_DATA: return "Valid name, no data record of requested type"; /* WSA_QOS_* omitted */ # endif #endif #if GNULIB_defined_ENOMSG case ENOMSG: return "No message of desired type"; #endif #if GNULIB_defined_EIDRM case EIDRM: return "Identifier removed"; #endif #if GNULIB_defined_ENOLINK case ENOLINK: return "Link has been severed"; #endif #if GNULIB_defined_EPROTO case EPROTO: return "Protocol error"; #endif #if GNULIB_defined_EMULTIHOP case EMULTIHOP: return "Multihop attempted"; #endif #if GNULIB_defined_EBADMSG case EBADMSG: return "Bad message"; #endif #if GNULIB_defined_EOVERFLOW case EOVERFLOW: return "Value too large for defined data type"; #endif #if GNULIB_defined_ENOTSUP case ENOTSUP: return "Not supported"; #endif #if GNULIB_defined_ENETRESET case ENETRESET: return "Network dropped connection on reset"; #endif #if GNULIB_defined_ECONNABORTED case ECONNABORTED: return "Software caused connection abort"; #endif #if GNULIB_defined_ESTALE case ESTALE: return "Stale NFS file handle"; #endif #if GNULIB_defined_EDQUOT case EDQUOT: return "Disk quota exceeded"; #endif #if GNULIB_defined_ECANCELED case ECANCELED: return "Operation canceled"; #endif #if GNULIB_defined_EOWNERDEAD case EOWNERDEAD: return "Owner died"; #endif #if GNULIB_defined_ENOTRECOVERABLE case ENOTRECOVERABLE: return "State not recoverable"; #endif #if GNULIB_defined_EILSEQ case EILSEQ: return "Invalid or incomplete multibyte or wide character"; #endif default: return NULL; } } gsasl-1.8.1/gl/quotearg.c0000644000000000000000000010470313516251576012136 00000000000000/* quotearg.c - quote arguments for output Copyright (C) 1998-2002, 2004-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert */ /* Without this pragma, gcc 4.7.0 20111124 mistakenly suggests that the quoting_options_from_style function might be candidate for attribute 'pure' */ #if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ # pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" #endif #include #include "quotearg.h" #include "quote.h" #include "minmax.h" #include "xalloc.h" #include "c-strcaseeq.h" #include "localcharset.h" #include #include #include #include #include #include #include #include #include #include "gettext.h" #define _(msgid) gettext (msgid) #define N_(msgid) msgid #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif #define INT_BITS (sizeof (int) * CHAR_BIT) #ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif #endif struct quoting_options { /* Basic quoting style. */ enum quoting_style style; /* Additional flags. Bitwise combination of enum quoting_flags. */ int flags; /* Quote the characters indicated by this bit vector even if the quoting style would not normally require them to be quoted. */ unsigned int quote_these_too[(UCHAR_MAX / INT_BITS) + 1]; /* The left quote for custom_quoting_style. */ char const *left_quote; /* The right quote for custom_quoting_style. */ char const *right_quote; }; /* Names of quoting styles. */ char const *const quoting_style_args[] = { "literal", "shell", "shell-always", "shell-escape", "shell-escape-always", "c", "c-maybe", "escape", "locale", "clocale", 0 }; /* Correspondences to quoting style names. */ enum quoting_style const quoting_style_vals[] = { literal_quoting_style, shell_quoting_style, shell_always_quoting_style, shell_escape_quoting_style, shell_escape_always_quoting_style, c_quoting_style, c_maybe_quoting_style, escape_quoting_style, locale_quoting_style, clocale_quoting_style }; /* The default quoting options. */ static struct quoting_options default_quoting_options; /* Allocate a new set of quoting options, with contents initially identical to O if O is not null, or to the default if O is null. It is the caller's responsibility to free the result. */ struct quoting_options * clone_quoting_options (struct quoting_options *o) { int e = errno; struct quoting_options *p = xmemdup (o ? o : &default_quoting_options, sizeof *o); errno = e; return p; } /* Get the value of O's quoting style. If O is null, use the default. */ enum quoting_style get_quoting_style (struct quoting_options const *o) { return (o ? o : &default_quoting_options)->style; } /* In O (or in the default if O is null), set the value of the quoting style to S. */ void set_quoting_style (struct quoting_options *o, enum quoting_style s) { (o ? o : &default_quoting_options)->style = s; } /* In O (or in the default if O is null), set the value of the quoting options for character C to I. Return the old value. Currently, the only values defined for I are 0 (the default) and 1 (which means to quote the character even if it would not otherwise be quoted). */ int set_char_quoting (struct quoting_options *o, char c, int i) { unsigned char uc = c; unsigned int *p = (o ? o : &default_quoting_options)->quote_these_too + uc / INT_BITS; int shift = uc % INT_BITS; int r = (*p >> shift) & 1; *p ^= ((i & 1) ^ r) << shift; return r; } /* In O (or in the default if O is null), set the value of the quoting options flag to I, which can be a bitwise combination of enum quoting_flags, or 0 for default behavior. Return the old value. */ int set_quoting_flags (struct quoting_options *o, int i) { int r; if (!o) o = &default_quoting_options; r = o->flags; o->flags = i; return r; } void set_custom_quoting (struct quoting_options *o, char const *left_quote, char const *right_quote) { if (!o) o = &default_quoting_options; o->style = custom_quoting_style; if (!left_quote || !right_quote) abort (); o->left_quote = left_quote; o->right_quote = right_quote; } /* Return quoting options for STYLE, with no extra quoting. */ static struct quoting_options /* NOT PURE!! */ quoting_options_from_style (enum quoting_style style) { struct quoting_options o = { literal_quoting_style, 0, { 0 }, NULL, NULL }; if (style == custom_quoting_style) abort (); o.style = style; return o; } /* MSGID approximates a quotation mark. Return its translation if it has one; otherwise, return either it or "\"", depending on S. S is either clocale_quoting_style or locale_quoting_style. */ static char const * gettext_quote (char const *msgid, enum quoting_style s) { char const *translation = _(msgid); char const *locale_code; if (translation != msgid) return translation; /* For UTF-8 and GB-18030, use single quotes U+2018 and U+2019. Here is a list of other locales that include U+2018 and U+2019: ISO-8859-7 0xA1 KOI8-T 0x91 CP869 0x8B CP874 0x91 CP932 0x81 0x65 CP936 0xA1 0xAE CP949 0xA1 0xAE CP950 0xA1 0xA5 CP1250 0x91 CP1251 0x91 CP1252 0x91 CP1253 0x91 CP1254 0x91 CP1255 0x91 CP1256 0x91 CP1257 0x91 EUC-JP 0xA1 0xC6 EUC-KR 0xA1 0xAE EUC-TW 0xA1 0xE4 BIG5 0xA1 0xA5 BIG5-HKSCS 0xA1 0xA5 EUC-CN 0xA1 0xAE GBK 0xA1 0xAE Georgian-PS 0x91 PT154 0x91 None of these is still in wide use; using iconv is overkill. */ locale_code = locale_charset (); if (STRCASEEQ (locale_code, "UTF-8", 'U','T','F','-','8',0,0,0,0)) return msgid[0] == '`' ? "\xe2\x80\x98": "\xe2\x80\x99"; if (STRCASEEQ (locale_code, "GB18030", 'G','B','1','8','0','3','0',0,0)) return msgid[0] == '`' ? "\xa1\ae": "\xa1\xaf"; return (s == clocale_quoting_style ? "\"" : "'"); } /* Place into buffer BUFFER (of size BUFFERSIZE) a quoted version of argument ARG (of size ARGSIZE), using QUOTING_STYLE, FLAGS, and QUOTE_THESE_TOO to control quoting. Terminate the output with a null character, and return the written size of the output, not counting the terminating null. If BUFFERSIZE is too small to store the output string, return the value that would have been returned had BUFFERSIZE been large enough. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. This function acts like quotearg_buffer (BUFFER, BUFFERSIZE, ARG, ARGSIZE, O), except it breaks O into its component pieces and is not careful about errno. */ static size_t quotearg_buffer_restyled (char *buffer, size_t buffersize, char const *arg, size_t argsize, enum quoting_style quoting_style, int flags, unsigned int const *quote_these_too, char const *left_quote, char const *right_quote) { size_t i; size_t len = 0; size_t orig_buffersize = 0; char const *quote_string = 0; size_t quote_string_len = 0; bool backslash_escapes = false; bool unibyte_locale = MB_CUR_MAX == 1; bool elide_outer_quotes = (flags & QA_ELIDE_OUTER_QUOTES) != 0; bool pending_shell_escape_end = false; bool encountered_single_quote = false; bool all_c_and_shell_quote_compat = true; #define STORE(c) \ do \ { \ if (len < buffersize) \ buffer[len] = (c); \ len++; \ } \ while (0) #define START_ESC() \ do \ { \ if (elide_outer_quotes) \ goto force_outer_quoting_style; \ escaping = true; \ if (quoting_style == shell_always_quoting_style \ && ! pending_shell_escape_end) \ { \ STORE ('\''); \ STORE ('$'); \ STORE ('\''); \ pending_shell_escape_end = true; \ } \ STORE ('\\'); \ } \ while (0) #define END_ESC() \ do \ { \ if (pending_shell_escape_end && ! escaping) \ { \ STORE ('\''); \ STORE ('\''); \ pending_shell_escape_end = false; \ } \ } \ while (0) process_input: switch (quoting_style) { case c_maybe_quoting_style: quoting_style = c_quoting_style; elide_outer_quotes = true; FALLTHROUGH; case c_quoting_style: if (!elide_outer_quotes) STORE ('"'); backslash_escapes = true; quote_string = "\""; quote_string_len = 1; break; case escape_quoting_style: backslash_escapes = true; elide_outer_quotes = false; break; case locale_quoting_style: case clocale_quoting_style: case custom_quoting_style: { if (quoting_style != custom_quoting_style) { /* TRANSLATORS: Get translations for open and closing quotation marks. The message catalog should translate "`" to a left quotation mark suitable for the locale, and similarly for "'". For example, a French Unicode local should translate these to U+00AB (LEFT-POINTING DOUBLE ANGLE QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK), respectively. If the catalog has no translation, we will try to use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the current locale is not Unicode, locale_quoting_style will quote 'like this', and clocale_quoting_style will quote "like this". You should always include translations for "`" and "'" even if U+2018 and U+2019 are appropriate for your locale. If you don't know what to put here, please see and use glyphs suitable for your language. */ left_quote = gettext_quote (N_("`"), quoting_style); right_quote = gettext_quote (N_("'"), quoting_style); } if (!elide_outer_quotes) for (quote_string = left_quote; *quote_string; quote_string++) STORE (*quote_string); backslash_escapes = true; quote_string = right_quote; quote_string_len = strlen (quote_string); } break; case shell_escape_quoting_style: backslash_escapes = true; FALLTHROUGH; case shell_quoting_style: elide_outer_quotes = true; FALLTHROUGH; case shell_escape_always_quoting_style: if (!elide_outer_quotes) backslash_escapes = true; FALLTHROUGH; case shell_always_quoting_style: quoting_style = shell_always_quoting_style; if (!elide_outer_quotes) STORE ('\''); quote_string = "'"; quote_string_len = 1; break; case literal_quoting_style: elide_outer_quotes = false; break; default: abort (); } for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) { unsigned char c; unsigned char esc; bool is_right_quote = false; bool escaping = false; bool c_and_shell_quote_compat = false; if (backslash_escapes && quoting_style != shell_always_quoting_style && quote_string_len && (i + quote_string_len <= (argsize == SIZE_MAX && 1 < quote_string_len /* Use strlen only if we must: when argsize is SIZE_MAX, and when the quote string is more than 1 byte long. If we do call strlen, save the result. */ ? (argsize = strlen (arg)) : argsize)) && memcmp (arg + i, quote_string, quote_string_len) == 0) { if (elide_outer_quotes) goto force_outer_quoting_style; is_right_quote = true; } c = arg[i]; switch (c) { case '\0': if (backslash_escapes) { START_ESC (); /* If quote_string were to begin with digits, we'd need to test for the end of the arg as well. However, it's hard to imagine any locale that would use digits in quotes, and set_custom_quoting is documented not to accept them. Use only a single \0 with shell-escape as currently digits are not printed within $'...' */ if (quoting_style != shell_always_quoting_style && i + 1 < argsize && '0' <= arg[i + 1] && arg[i + 1] <= '9') { STORE ('0'); STORE ('0'); } c = '0'; /* We don't have to worry that this last '0' will be backslash-escaped because, again, quote_string should not start with it and because quote_these_too is documented as not accepting it. */ } else if (flags & QA_ELIDE_NULL_BYTES) continue; break; case '?': switch (quoting_style) { case shell_always_quoting_style: if (elide_outer_quotes) goto force_outer_quoting_style; break; case c_quoting_style: if ((flags & QA_SPLIT_TRIGRAPHS) && i + 2 < argsize && arg[i + 1] == '?') switch (arg[i + 2]) { case '!': case '\'': case '(': case ')': case '-': case '/': case '<': case '=': case '>': /* Escape the second '?' in what would otherwise be a trigraph. */ if (elide_outer_quotes) goto force_outer_quoting_style; c = arg[i + 2]; i += 2; STORE ('?'); STORE ('"'); STORE ('"'); STORE ('?'); break; default: break; } break; default: break; } break; case '\a': esc = 'a'; goto c_escape; case '\b': esc = 'b'; goto c_escape; case '\f': esc = 'f'; goto c_escape; case '\n': esc = 'n'; goto c_and_shell_escape; case '\r': esc = 'r'; goto c_and_shell_escape; case '\t': esc = 't'; goto c_and_shell_escape; case '\v': esc = 'v'; goto c_escape; case '\\': esc = c; /* Never need to escape '\' in shell case. */ if (quoting_style == shell_always_quoting_style) { if (elide_outer_quotes) goto force_outer_quoting_style; goto store_c; } /* No need to escape the escape if we are trying to elide outer quotes and nothing else is problematic. */ if (backslash_escapes && elide_outer_quotes && quote_string_len) goto store_c; c_and_shell_escape: if (quoting_style == shell_always_quoting_style && elide_outer_quotes) goto force_outer_quoting_style; /* fall through */ c_escape: if (backslash_escapes) { c = esc; goto store_escape; } break; case '{': case '}': /* sometimes special if isolated */ if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) break; FALLTHROUGH; case '#': case '~': if (i != 0) break; FALLTHROUGH; case ' ': c_and_shell_quote_compat = true; FALLTHROUGH; case '!': /* special in bash */ case '"': case '$': case '&': case '(': case ')': case '*': case ';': case '<': case '=': /* sometimes special in 0th or (with "set -k") later args */ case '>': case '[': case '^': /* special in old /bin/sh, e.g. SunOS 4.1.4 */ case '`': case '|': /* A shell special character. In theory, '$' and '`' could be the first bytes of multibyte characters, which means we should check them with mbrtowc, but in practice this doesn't happen so it's not worth worrying about. */ if (quoting_style == shell_always_quoting_style && elide_outer_quotes) goto force_outer_quoting_style; break; case '\'': encountered_single_quote = true; c_and_shell_quote_compat = true; if (quoting_style == shell_always_quoting_style) { if (elide_outer_quotes) goto force_outer_quoting_style; if (buffersize && ! orig_buffersize) { /* Just scan string to see if supports a more concise representation, rather than writing a longer string but returning the length of the more concise form. */ orig_buffersize = buffersize; buffersize = 0; } STORE ('\''); STORE ('\\'); STORE ('\''); pending_shell_escape_end = false; } break; case '%': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case ']': case '_': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': /* These characters don't cause problems, no matter what the quoting style is. They cannot start multibyte sequences. A digit or a special letter would cause trouble if it appeared at the beginning of quote_string because we'd then escape by prepending a backslash. However, it's hard to imagine any locale that would use digits or letters as quotes, and set_custom_quoting is documented not to accept them. Also, a digit or a special letter would cause trouble if it appeared in quote_these_too, but that's also documented as not accepting them. */ c_and_shell_quote_compat = true; break; default: /* If we have a multibyte sequence, copy it until we reach its end, find an error, or come back to the initial shift state. For C-like styles, if the sequence has unprintable characters, escape the whole sequence, since we can't easily escape single characters within it. */ { /* Length of multibyte sequence found so far. */ size_t m; bool printable; if (unibyte_locale) { m = 1; printable = isprint (c) != 0; } else { mbstate_t mbstate; memset (&mbstate, 0, sizeof mbstate); m = 0; printable = true; if (argsize == SIZE_MAX) argsize = strlen (arg); do { wchar_t w; size_t bytes = mbrtowc (&w, &arg[i + m], argsize - (i + m), &mbstate); if (bytes == 0) break; else if (bytes == (size_t) -1) { printable = false; break; } else if (bytes == (size_t) -2) { printable = false; while (i + m < argsize && arg[i + m]) m++; break; } else { /* Work around a bug with older shells that "see" a '\' that is really the 2nd byte of a multibyte character. In practice the problem is limited to ASCII chars >= '@' that are shell special chars. */ if ('[' == 0x5b && elide_outer_quotes && quoting_style == shell_always_quoting_style) { size_t j; for (j = 1; j < bytes; j++) switch (arg[i + m + j]) { case '[': case '\\': case '^': case '`': case '|': goto force_outer_quoting_style; default: break; } } if (! iswprint (w)) printable = false; m += bytes; } } while (! mbsinit (&mbstate)); } c_and_shell_quote_compat = printable; if (1 < m || (backslash_escapes && ! printable)) { /* Output a multibyte sequence, or an escaped unprintable unibyte character. */ size_t ilim = i + m; for (;;) { if (backslash_escapes && ! printable) { START_ESC (); STORE ('0' + (c >> 6)); STORE ('0' + ((c >> 3) & 7)); c = '0' + (c & 7); } else if (is_right_quote) { STORE ('\\'); is_right_quote = false; } if (ilim <= i + 1) break; END_ESC (); STORE (c); c = arg[++i]; } goto store_c; } } } if (! (((backslash_escapes && quoting_style != shell_always_quoting_style) || elide_outer_quotes) && quote_these_too && quote_these_too[c / INT_BITS] >> (c % INT_BITS) & 1) && !is_right_quote) goto store_c; store_escape: START_ESC (); store_c: END_ESC (); STORE (c); if (! c_and_shell_quote_compat) all_c_and_shell_quote_compat = false; } if (len == 0 && quoting_style == shell_always_quoting_style && elide_outer_quotes) goto force_outer_quoting_style; /* Single shell quotes (') are commonly enough used as an apostrophe, that we attempt to minimize the quoting in this case. Note itʼs better to use the apostrophe modifier "\u02BC" if possible, as that renders better and works with the word match regex \W+ etc. */ if (quoting_style == shell_always_quoting_style && ! elide_outer_quotes && encountered_single_quote) { if (all_c_and_shell_quote_compat) return quotearg_buffer_restyled (buffer, orig_buffersize, arg, argsize, c_quoting_style, flags, quote_these_too, left_quote, right_quote); else if (! buffersize && orig_buffersize) { /* Disable read-only scan, and reprocess to write quoted string. */ buffersize = orig_buffersize; len = 0; goto process_input; } } if (quote_string && !elide_outer_quotes) for (; *quote_string; quote_string++) STORE (*quote_string); if (len < buffersize) buffer[len] = '\0'; return len; force_outer_quoting_style: /* Don't reuse quote_these_too, since the addition of outer quotes sufficiently quotes the specified characters. */ if (quoting_style == shell_always_quoting_style && backslash_escapes) quoting_style = shell_escape_always_quoting_style; return quotearg_buffer_restyled (buffer, buffersize, arg, argsize, quoting_style, flags & ~QA_ELIDE_OUTER_QUOTES, NULL, left_quote, right_quote); } /* Place into buffer BUFFER (of size BUFFERSIZE) a quoted version of argument ARG (of size ARGSIZE), using O to control quoting. If O is null, use the default. Terminate the output with a null character, and return the written size of the output, not counting the terminating null. If BUFFERSIZE is too small to store the output string, return the value that would have been returned had BUFFERSIZE been large enough. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. */ size_t quotearg_buffer (char *buffer, size_t buffersize, char const *arg, size_t argsize, struct quoting_options const *o) { struct quoting_options const *p = o ? o : &default_quoting_options; int e = errno; size_t r = quotearg_buffer_restyled (buffer, buffersize, arg, argsize, p->style, p->flags, p->quote_these_too, p->left_quote, p->right_quote); errno = e; return r; } /* Equivalent to quotearg_alloc (ARG, ARGSIZE, NULL, O). */ char * quotearg_alloc (char const *arg, size_t argsize, struct quoting_options const *o) { return quotearg_alloc_mem (arg, argsize, NULL, o); } /* Like quotearg_buffer (..., ARG, ARGSIZE, O), except return newly allocated storage containing the quoted string, and store the resulting size into *SIZE, if non-NULL. The result can contain embedded null bytes only if ARGSIZE is not SIZE_MAX, SIZE is not NULL, and set_quoting_flags has not set the null byte elision flag. */ char * quotearg_alloc_mem (char const *arg, size_t argsize, size_t *size, struct quoting_options const *o) { struct quoting_options const *p = o ? o : &default_quoting_options; int e = errno; /* Elide embedded null bytes if we can't return a size. */ int flags = p->flags | (size ? 0 : QA_ELIDE_NULL_BYTES); size_t bufsize = quotearg_buffer_restyled (0, 0, arg, argsize, p->style, flags, p->quote_these_too, p->left_quote, p->right_quote) + 1; char *buf = xcharalloc (bufsize); quotearg_buffer_restyled (buf, bufsize, arg, argsize, p->style, flags, p->quote_these_too, p->left_quote, p->right_quote); errno = e; if (size) *size = bufsize - 1; return buf; } /* A storage slot with size and pointer to a value. */ struct slotvec { size_t size; char *val; }; /* Preallocate a slot 0 buffer, so that the caller can always quote one small component of a "memory exhausted" message in slot 0. */ static char slot0[256]; static int nslots = 1; static struct slotvec slotvec0 = {sizeof slot0, slot0}; static struct slotvec *slotvec = &slotvec0; void quotearg_free (void) { struct slotvec *sv = slotvec; int i; for (i = 1; i < nslots; i++) free (sv[i].val); if (sv[0].val != slot0) { free (sv[0].val); slotvec0.size = sizeof slot0; slotvec0.val = slot0; } if (sv != &slotvec0) { free (sv); slotvec = &slotvec0; } nslots = 1; } /* Use storage slot N to return a quoted version of argument ARG. ARG is of size ARGSIZE, but if that is SIZE_MAX, ARG is a null-terminated string. OPTIONS specifies the quoting options. The returned value points to static storage that can be reused by the next call to this function with the same value of N. N must be nonnegative. N is deliberately declared with type "int" to allow for future extensions (using negative values). */ static char * quotearg_n_options (int n, char const *arg, size_t argsize, struct quoting_options const *options) { int e = errno; struct slotvec *sv = slotvec; if (n < 0) abort (); if (nslots <= n) { bool preallocated = (sv == &slotvec0); int nmax = MIN (INT_MAX, MIN (PTRDIFF_MAX, SIZE_MAX) / sizeof *sv) - 1; if (nmax < n) xalloc_die (); slotvec = sv = xrealloc (preallocated ? NULL : sv, (n + 1) * sizeof *sv); if (preallocated) *sv = slotvec0; memset (sv + nslots, 0, (n + 1 - nslots) * sizeof *sv); nslots = n + 1; } { size_t size = sv[n].size; char *val = sv[n].val; /* Elide embedded null bytes since we don't return a size. */ int flags = options->flags | QA_ELIDE_NULL_BYTES; size_t qsize = quotearg_buffer_restyled (val, size, arg, argsize, options->style, flags, options->quote_these_too, options->left_quote, options->right_quote); if (size <= qsize) { sv[n].size = size = qsize + 1; if (val != slot0) free (val); sv[n].val = val = xcharalloc (size); quotearg_buffer_restyled (val, size, arg, argsize, options->style, flags, options->quote_these_too, options->left_quote, options->right_quote); } errno = e; return val; } } char * quotearg_n (int n, char const *arg) { return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); } char * quotearg_n_mem (int n, char const *arg, size_t argsize) { return quotearg_n_options (n, arg, argsize, &default_quoting_options); } char * quotearg (char const *arg) { return quotearg_n (0, arg); } char * quotearg_mem (char const *arg, size_t argsize) { return quotearg_n_mem (0, arg, argsize); } char * quotearg_n_style (int n, enum quoting_style s, char const *arg) { struct quoting_options const o = quoting_options_from_style (s); return quotearg_n_options (n, arg, SIZE_MAX, &o); } char * quotearg_n_style_mem (int n, enum quoting_style s, char const *arg, size_t argsize) { struct quoting_options const o = quoting_options_from_style (s); return quotearg_n_options (n, arg, argsize, &o); } char * quotearg_style (enum quoting_style s, char const *arg) { return quotearg_n_style (0, s, arg); } char * quotearg_style_mem (enum quoting_style s, char const *arg, size_t argsize) { return quotearg_n_style_mem (0, s, arg, argsize); } char * quotearg_char_mem (char const *arg, size_t argsize, char ch) { struct quoting_options options; options = default_quoting_options; set_char_quoting (&options, ch, 1); return quotearg_n_options (0, arg, argsize, &options); } char * quotearg_char (char const *arg, char ch) { return quotearg_char_mem (arg, SIZE_MAX, ch); } char * quotearg_colon (char const *arg) { return quotearg_char (arg, ':'); } char * quotearg_colon_mem (char const *arg, size_t argsize) { return quotearg_char_mem (arg, argsize, ':'); } char * quotearg_n_style_colon (int n, enum quoting_style s, char const *arg) { struct quoting_options options; options = quoting_options_from_style (s); set_char_quoting (&options, ':', 1); return quotearg_n_options (n, arg, SIZE_MAX, &options); } char * quotearg_n_custom (int n, char const *left_quote, char const *right_quote, char const *arg) { return quotearg_n_custom_mem (n, left_quote, right_quote, arg, SIZE_MAX); } char * quotearg_n_custom_mem (int n, char const *left_quote, char const *right_quote, char const *arg, size_t argsize) { struct quoting_options o = default_quoting_options; set_custom_quoting (&o, left_quote, right_quote); return quotearg_n_options (n, arg, argsize, &o); } char * quotearg_custom (char const *left_quote, char const *right_quote, char const *arg) { return quotearg_n_custom (0, left_quote, right_quote, arg); } char * quotearg_custom_mem (char const *left_quote, char const *right_quote, char const *arg, size_t argsize) { return quotearg_n_custom_mem (0, left_quote, right_quote, arg, argsize); } /* The quoting option used by the functions of quote.h. */ struct quoting_options quote_quoting_options = { locale_quoting_style, 0, { 0 }, NULL, NULL }; char const * quote_n_mem (int n, char const *arg, size_t argsize) { return quotearg_n_options (n, arg, argsize, "e_quoting_options); } char const * quote_mem (char const *arg, size_t argsize) { return quote_n_mem (0, arg, argsize); } char const * quote_n (int n, char const *arg) { return quote_n_mem (n, arg, SIZE_MAX); } char const * quote (char const *arg) { return quote_n (0, arg); } /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/gl/windows-recmutex.c0000644000000000000000000000650113516251573013625 00000000000000/* Plain recursive mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-recmutex.h" #include void glwthread_recmutex_init (glwthread_recmutex_t *mutex) { mutex->owner = 0; mutex->depth = 0; InitializeCriticalSection (&mutex->lock); mutex->guard.done = 1; } int glwthread_recmutex_lock (glwthread_recmutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_recmutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!mutex->guard.done) Sleep (0); } } { DWORD self = GetCurrentThreadId (); if (mutex->owner != self) { EnterCriticalSection (&mutex->lock); mutex->owner = self; } if (++(mutex->depth) == 0) /* wraparound? */ { mutex->depth--; return EAGAIN; } } return 0; } int glwthread_recmutex_trylock (glwthread_recmutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_recmutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Let another thread finish initializing this mutex, and let it also lock this mutex. */ return EBUSY; } } { DWORD self = GetCurrentThreadId (); if (mutex->owner != self) { if (!TryEnterCriticalSection (&mutex->lock)) return EBUSY; mutex->owner = self; } if (++(mutex->depth) == 0) /* wraparound? */ { mutex->depth--; return EAGAIN; } } return 0; } int glwthread_recmutex_unlock (glwthread_recmutex_t *mutex) { if (mutex->owner != GetCurrentThreadId ()) return EPERM; if (mutex->depth == 0) return EINVAL; if (--(mutex->depth) == 0) { mutex->owner = 0; LeaveCriticalSection (&mutex->lock); } return 0; } int glwthread_recmutex_destroy (glwthread_recmutex_t *mutex) { if (mutex->owner != 0) return EBUSY; DeleteCriticalSection (&mutex->lock); mutex->guard.done = 0; return 0; } gsasl-1.8.1/gl/unitypes.in.h0000644000000000000000000000316413516251577012601 00000000000000/* Elementary types and macros for the GNU UniString library. Copyright (C) 2002, 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _UNITYPES_H #define _UNITYPES_H /* Get uint8_t, uint16_t, uint32_t. */ #include /* Type representing a Unicode character. */ typedef uint32_t ucs4_t; /* Attribute of a function whose result depends only on the arguments (not pointers!) and which has no side effects. */ #ifndef _UC_ATTRIBUTE_CONST # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) # define _UC_ATTRIBUTE_CONST __attribute__ ((__const__)) # else # define _UC_ATTRIBUTE_CONST # endif #endif /* Attribute of a function whose result depends only on the arguments (possibly pointers) and global memory, and which has no side effects. */ #ifndef _UC_ATTRIBUTE_PURE # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _UC_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _UC_ATTRIBUTE_PURE # endif #endif #endif /* _UNITYPES_H */ gsasl-1.8.1/gl/fstat.c0000644000000000000000000000513213516251574011422 00000000000000/* fstat() replacement. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_fstat doesn't recurse to rpl_fstat. */ #define __need_system_sys_stat_h #include /* Get the original definition of fstat. It might be defined as a macro. */ #include #include #undef __need_system_sys_stat_h #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE #endif #if !defined WINDOWS_NATIVE static int orig_fstat (int fd, struct stat *buf) { return fstat (fd, buf); } #endif /* Specification. */ #ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" #else # include #endif #include "stat-time.h" #include #include #ifdef WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # include "stat-w32.h" #endif int rpl_fstat (int fd, struct stat *buf) { #if REPLACE_FCHDIR && REPLACE_OPEN_DIRECTORY /* Handle the case when rpl_open() used a dummy file descriptor to work around an open() that can't normally visit directories. */ const char *name = _gl_directory_name (fd); if (name != NULL) return stat (name, buf); #endif #ifdef WINDOWS_NATIVE /* Fill the fields ourselves, because the original fstat function returns values for st_atime, st_mtime, st_ctime that depend on the current time zone. See */ HANDLE h = (HANDLE) _get_osfhandle (fd); if (h == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } return _gl_fstat_by_handle (h, NULL, buf); #else return stat_time_normalize (orig_fstat (fd, buf), buf); #endif } gsasl-1.8.1/gl/asprintf.c0000644000000000000000000000210213516251574012121 00000000000000/* Formatted output to strings. Copyright (C) 1999, 2002, 2006-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #ifdef IN_LIBASPRINTF # include "vasprintf.h" #else # include #endif #include int asprintf (char **resultp, const char *format, ...) { va_list args; int result; va_start (args, format); result = vasprintf (resultp, format, args); va_end (args); return result; } gsasl-1.8.1/gl/socket.c0000644000000000000000000000256513516251576011602 00000000000000/* socket.c --- wrappers for Windows socket function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #include "sockets.h" int rpl_socket (int domain, int type, int protocol) { SOCKET fh; gl_sockets_startup (SOCKETS_1_1); /* We have to use WSASocket() to create non-overlapped IO sockets. Overlapped IO sockets cannot be used with read/write. */ fh = WSASocket (domain, type, protocol, NULL, 0, 0); if (fh == INVALID_SOCKET) { set_winsock_errno (); return -1; } else return SOCKET_TO_FD (fh); } gsasl-1.8.1/gl/vasnprintf.h0000644000000000000000000000560113516251577012504 00000000000000/* vsprintf with automatic memory allocation. Copyright (C) 2002-2004, 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _VASNPRINTF_H #define _VASNPRINTF_H /* Get va_list. */ #include /* Get size_t. */ #include /* The __attribute__ feature is available in gcc versions 2.5 and later. The __-protected variants of the attributes 'format' and 'printf' are accepted by gcc versions 2.6.4 (effectively 2.7) and later. We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because gnulib and libintl do '#define printf __printf__' when they override the 'printf' function. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) #else # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ #endif #ifdef __cplusplus extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). You can pass a preallocated buffer for the result in RESULTBUF and its size in *LENGTHP; otherwise you pass RESULTBUF = NULL. If successful, return the address of the string (this may be = RESULTBUF if no dynamic memory allocation was necessary) and set *LENGTHP to the number of resulting bytes, excluding the trailing NUL. Upon error, set errno and return NULL. When dynamic memory allocation occurs, the preallocated buffer is left alone (with possibly modified contents). This makes it possible to use a statically allocated or stack-allocated buffer, like this: char buf[100]; size_t len = sizeof (buf); char *output = vasnprintf (buf, &len, format, args); if (output == NULL) ... error handling ...; else { ... use the output string ...; if (output != buf) free (output); } */ #if REPLACE_VASNPRINTF # define asnprintf rpl_asnprintf # define vasnprintf rpl_vasnprintf #endif extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 4)); extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 0)); #ifdef __cplusplus } #endif #endif /* _VASNPRINTF_H */ gsasl-1.8.1/gl/warn-on-use.h0000644000000000000000000001351113516251573012460 00000000000000/* A C macro for emitting warnings if a function is used. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_WARN_ON_USE (function, "literal string") issues a declaration for FUNCTION which will then trigger a compiler warning containing the text of "literal string" anywhere that function is called, if supported by the compiler. If the compiler does not support this feature, the macro expands to an unused extern declaration. _GL_WARN_ON_USE_ATTRIBUTE ("literal string") expands to the attribute used in _GL_WARN_ON_USE. If the compiler does not support this feature, it expands to empty. These macros are useful for marking a function as a potential portability trap, with the intent that "literal string" include instructions on the replacement function that should be used instead. _GL_WARN_ON_USE is for functions with 'extern' linkage. _GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline' linkage. However, one of the reasons that a function is a portability trap is if it has the wrong signature. Declaring FUNCTION with a different signature in C is a compilation error, so this macro must use the same type as any existing declaration so that programs that avoid the problematic FUNCTION do not fail to compile merely because they included a header that poisoned the function. But this implies that _GL_WARN_ON_USE is only safe to use if FUNCTION is known to already have a declaration. Use of this macro implies that there must not be any other macro hiding the declaration of FUNCTION; but undefining FUNCTION first is part of the poisoning process anyway (although for symbols that are provided only via a macro, the result is a compilation error rather than a warning containing "literal string"). Also note that in C++, it is only safe to use if FUNCTION has no overloads. For an example, it is possible to poison 'getline' by: - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], [getline]) in configure.ac, which potentially defines HAVE_RAW_DECL_GETLINE - adding this code to a header that wraps the system : #undef getline #if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" "not universally present; use the gnulib module getline"); #endif It is not possible to directly poison global variables. But it is possible to write a wrapper accessor function, and poison that (less common usage, like &environ, will cause a compilation error rather than issue the nice warning, but the end result of informing the developer about their portability problem is still achieved): #if HAVE_RAW_DECL_ENVIRON static char *** rpl_environ (void) { return &environ; } _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); # undef environ # define environ (*rpl_environ ()) #endif or better (avoiding contradictory use of 'static' and 'extern'): #if HAVE_RAW_DECL_ENVIRON static char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is not always properly declared") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) #endif */ #ifndef _GL_WARN_ON_USE # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) /* A compiler attribute is available in gcc versions 4.3.0 and later. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function __attribute__ ((__warning__ (message))) # define _GL_WARN_ON_USE_ATTRIBUTE(message) \ __attribute__ ((__warning__ (message))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function # define _GL_WARN_ON_USE_ATTRIBUTE(message) # else /* Unsupported. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # define _GL_WARN_ON_USE_ATTRIBUTE(message) # endif #endif /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") is like _GL_WARN_ON_USE (function, "string"), except that the function is declared with the given prototype, consisting of return type, parameters, and attributes. This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does not work in this case. */ #ifndef _GL_WARN_ON_USE_CXX # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes \ __attribute__ ((__warning__ (msg))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes # else /* Unsupported. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # endif #endif /* _GL_WARN_EXTERN_C declaration; performs the declaration with C linkage. */ #ifndef _GL_WARN_EXTERN_C # if defined __cplusplus # define _GL_WARN_EXTERN_C extern "C" # else # define _GL_WARN_EXTERN_C extern # endif #endif gsasl-1.8.1/gl/windows-mutex.h0000644000000000000000000000313413516251573013137 00000000000000/* Plain mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_MUTEX_H #define _WINDOWS_MUTEX_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" typedef struct { glwthread_initguard_t guard; /* protects the initialization */ CRITICAL_SECTION lock; } glwthread_mutex_t; #define GLWTHREAD_MUTEX_INIT { GLWTHREAD_INITGUARD_INIT } #ifdef __cplusplus extern "C" { #endif extern void glwthread_mutex_init (glwthread_mutex_t *mutex); extern int glwthread_mutex_lock (glwthread_mutex_t *mutex); extern int glwthread_mutex_trylock (glwthread_mutex_t *mutex); extern int glwthread_mutex_unlock (glwthread_mutex_t *mutex); extern int glwthread_mutex_destroy (glwthread_mutex_t *mutex); #ifdef __cplusplus } #endif #endif /* _WINDOWS_MUTEX_H */ gsasl-1.8.1/gl/printf-parse.c0000644000000000000000000005314313516251576012722 00000000000000/* Formatted output to strings. Copyright (C) 1999-2000, 2002-2003, 2006-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* This file can be parametrized with the following macros: CHAR_T The element type of the format string. CHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. DIRECTIVE Structure denoting a format directive. Depends on CHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on CHAR_T. PRINTF_PARSE Function that parses a format string. Depends on CHAR_T. STATIC Set to 'static' to declare the function static. ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. */ #ifndef PRINTF_PARSE # include #endif /* Specification. */ #ifndef PRINTF_PARSE # include "printf-parse.h" #endif /* Default parameters. */ #ifndef PRINTF_PARSE # define PRINTF_PARSE printf_parse # define CHAR_T char # define DIRECTIVE char_directive # define DIRECTIVES char_directives #endif /* Get size_t, NULL. */ #include /* Get intmax_t. */ #if defined IN_LIBINTL || defined IN_LIBASPRINTF # if HAVE_STDINT_H_WITH_UINTMAX # include # endif # if HAVE_INTTYPES_H_WITH_UINTMAX # include # endif #else # include #endif /* malloc(), realloc(), free(). */ #include /* memcpy(). */ #include /* errno. */ #include /* Checked size_t computations. */ #include "xsize.h" #if CHAR_T_ONLY_ASCII /* c_isascii(). */ # include "c-ctype.h" #endif #ifdef STATIC STATIC #endif int PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) { const CHAR_T *cp = format; /* pointer into format */ size_t arg_posn = 0; /* number of regular arguments consumed */ size_t d_allocated; /* allocated elements of d->dir */ size_t a_allocated; /* allocated elements of a->arg */ size_t max_width_length = 0; size_t max_precision_length = 0; d->count = 0; d_allocated = N_DIRECT_ALLOC_DIRECTIVES; d->dir = d->direct_alloc_dir; a->count = 0; a_allocated = N_DIRECT_ALLOC_ARGUMENTS; a->arg = a->direct_alloc_arg; #define REGISTER_ARG(_index_,_type_) \ { \ size_t n = (_index_); \ if (n >= a_allocated) \ { \ size_t memory_size; \ argument *memory; \ \ a_allocated = xtimes (a_allocated, 2); \ if (a_allocated <= n) \ a_allocated = xsum (n, 1); \ memory_size = xtimes (a_allocated, sizeof (argument)); \ if (size_overflow_p (memory_size)) \ /* Overflow, would lead to out of memory. */ \ goto out_of_memory; \ memory = (argument *) (a->arg != a->direct_alloc_arg \ ? realloc (a->arg, memory_size) \ : malloc (memory_size)); \ if (memory == NULL) \ /* Out of memory. */ \ goto out_of_memory; \ if (a->arg == a->direct_alloc_arg) \ memcpy (memory, a->arg, a->count * sizeof (argument)); \ a->arg = memory; \ } \ while (a->count <= n) \ a->arg[a->count++].type = TYPE_NONE; \ if (a->arg[n].type == TYPE_NONE) \ a->arg[n].type = (_type_); \ else if (a->arg[n].type != (_type_)) \ /* Ambiguous type for positional argument. */ \ goto error; \ } while (*cp != '\0') { CHAR_T c = *cp++; if (c == '%') { size_t arg_index = ARG_NONE; DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ /* Initialize the next directive. */ dp->dir_start = cp - 1; dp->flags = 0; dp->width_start = NULL; dp->width_end = NULL; dp->width_arg_index = ARG_NONE; dp->precision_start = NULL; dp->precision_end = NULL; dp->precision_arg_index = ARG_NONE; dp->arg_index = ARG_NONE; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; arg_index = n - 1; cp = np + 1; } } /* Read the flags. */ for (;;) { if (*cp == '\'') { dp->flags |= FLAG_GROUP; cp++; } else if (*cp == '-') { dp->flags |= FLAG_LEFT; cp++; } else if (*cp == '+') { dp->flags |= FLAG_SHOWSIGN; cp++; } else if (*cp == ' ') { dp->flags |= FLAG_SPACE; cp++; } else if (*cp == '#') { dp->flags |= FLAG_ALT; cp++; } else if (*cp == '0') { dp->flags |= FLAG_ZERO; cp++; } #if __GLIBC__ >= 2 && !defined __UCLIBC__ else if (*cp == 'I') { dp->flags |= FLAG_LOCALIZED; cp++; } #endif else break; } /* Parse the field width. */ if (*cp == '*') { dp->width_start = cp; cp++; dp->width_end = cp; if (max_width_length < 1) max_width_length = 1; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->width_arg_index = n - 1; cp = np + 1; } } if (dp->width_arg_index == ARG_NONE) { dp->width_arg_index = arg_posn++; if (dp->width_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->width_arg_index, TYPE_INT); } else if (*cp >= '0' && *cp <= '9') { size_t width_length; dp->width_start = cp; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->width_end = cp; width_length = dp->width_end - dp->width_start; if (max_width_length < width_length) max_width_length = width_length; } /* Parse the precision. */ if (*cp == '.') { cp++; if (*cp == '*') { dp->precision_start = cp - 1; cp++; dp->precision_end = cp; if (max_precision_length < 2) max_precision_length = 2; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->precision_arg_index = n - 1; cp = np + 1; } } if (dp->precision_arg_index == ARG_NONE) { dp->precision_arg_index = arg_posn++; if (dp->precision_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->precision_arg_index, TYPE_INT); } else { size_t precision_length; dp->precision_start = cp - 1; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->precision_end = cp; precision_length = dp->precision_end - dp->precision_start; if (max_precision_length < precision_length) max_precision_length = precision_length; } } { arg_type type; /* Parse argument type/size specifiers. */ { int flags = 0; for (;;) { if (*cp == 'h') { flags |= (1 << (flags & 1)); cp++; } else if (*cp == 'L') { flags |= 4; cp++; } else if (*cp == 'l') { flags += 8; cp++; } else if (*cp == 'j') { if (sizeof (intmax_t) > sizeof (long)) { /* intmax_t = long long */ flags += 16; } else if (sizeof (intmax_t) > sizeof (int)) { /* intmax_t = long */ flags += 8; } cp++; } else if (*cp == 'z' || *cp == 'Z') { /* 'z' is standardized in ISO C 99, but glibc uses 'Z' because the warning facility in gcc-2.95.2 understands only 'Z' (see gcc-2.95.2/gcc/c-common.c:1784). */ if (sizeof (size_t) > sizeof (long)) { /* size_t = long long */ flags += 16; } else if (sizeof (size_t) > sizeof (int)) { /* size_t = long */ flags += 8; } cp++; } else if (*cp == 't') { if (sizeof (ptrdiff_t) > sizeof (long)) { /* ptrdiff_t = long long */ flags += 16; } else if (sizeof (ptrdiff_t) > sizeof (int)) { /* ptrdiff_t = long */ flags += 8; } cp++; } #if defined __APPLE__ && defined __MACH__ /* On Mac OS X 10.3, PRIdMAX is defined as "qd". We cannot change it to "lld" because PRIdMAX must also be understood by the system's printf routines. */ else if (*cp == 'q') { if (64 / 8 > sizeof (long)) { /* int64_t = long long */ flags += 16; } else { /* int64_t = long */ flags += 8; } cp++; } #endif #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, PRIdMAX is defined as "I64d". We cannot change it to "lld" because PRIdMAX must also be understood by the system's printf routines. */ else if (*cp == 'I' && cp[1] == '6' && cp[2] == '4') { if (64 / 8 > sizeof (long)) { /* __int64 = long long */ flags += 16; } else { /* __int64 = long */ flags += 8; } cp += 3; } #endif else break; } /* Read the conversion character. */ c = *cp++; switch (c) { case 'd': case 'i': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_LONGLONGINT; else #endif /* If 'long long' exists and is the same as 'long', we parse "lld" into TYPE_LONGINT. */ if (flags >= 8) type = TYPE_LONGINT; else if (flags & 2) type = TYPE_SCHAR; else if (flags & 1) type = TYPE_SHORT; else type = TYPE_INT; break; case 'o': case 'u': case 'x': case 'X': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_ULONGLONGINT; else #endif /* If 'unsigned long long' exists and is the same as 'unsigned long', we parse "llu" into TYPE_ULONGINT. */ if (flags >= 8) type = TYPE_ULONGINT; else if (flags & 2) type = TYPE_UCHAR; else if (flags & 1) type = TYPE_USHORT; else type = TYPE_UINT; break; case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': if (flags >= 16 || (flags & 4)) type = TYPE_LONGDOUBLE; else type = TYPE_DOUBLE; break; case 'c': if (flags >= 8) #if HAVE_WINT_T type = TYPE_WIDE_CHAR; #else goto error; #endif else type = TYPE_CHAR; break; #if HAVE_WINT_T case 'C': type = TYPE_WIDE_CHAR; c = 'c'; break; #endif case 's': if (flags >= 8) #if HAVE_WCHAR_T type = TYPE_WIDE_STRING; #else goto error; #endif else type = TYPE_STRING; break; #if HAVE_WCHAR_T case 'S': type = TYPE_WIDE_STRING; c = 's'; break; #endif case 'p': type = TYPE_POINTER; break; case 'n': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_COUNT_LONGLONGINT_POINTER; else #endif /* If 'long long' exists and is the same as 'long', we parse "lln" into TYPE_COUNT_LONGINT_POINTER. */ if (flags >= 8) type = TYPE_COUNT_LONGINT_POINTER; else if (flags & 2) type = TYPE_COUNT_SCHAR_POINTER; else if (flags & 1) type = TYPE_COUNT_SHORT_POINTER; else type = TYPE_COUNT_INT_POINTER; break; #if ENABLE_UNISTDIO /* The unistdio extensions. */ case 'U': if (flags >= 16) type = TYPE_U32_STRING; else if (flags >= 8) type = TYPE_U16_STRING; else type = TYPE_U8_STRING; break; #endif case '%': type = TYPE_NONE; break; default: /* Unknown conversion character. */ goto error; } } if (type != TYPE_NONE) { dp->arg_index = arg_index; if (dp->arg_index == ARG_NONE) { dp->arg_index = arg_posn++; if (dp->arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->arg_index, type); } dp->conversion = c; dp->dir_end = cp; } d->count++; if (d->count >= d_allocated) { size_t memory_size; DIRECTIVE *memory; d_allocated = xtimes (d_allocated, 2); memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); if (size_overflow_p (memory_size)) /* Overflow, would lead to out of memory. */ goto out_of_memory; memory = (DIRECTIVE *) (d->dir != d->direct_alloc_dir ? realloc (d->dir, memory_size) : malloc (memory_size)); if (memory == NULL) /* Out of memory. */ goto out_of_memory; if (d->dir == d->direct_alloc_dir) memcpy (memory, d->dir, d->count * sizeof (DIRECTIVE)); d->dir = memory; } } #if CHAR_T_ONLY_ASCII else if (!c_isascii (c)) { /* Non-ASCII character. Not supported. */ goto error; } #endif } d->dir[d->count].dir_start = cp; d->max_width_length = max_width_length; d->max_precision_length = max_precision_length; return 0; error: if (a->arg != a->direct_alloc_arg) free (a->arg); if (d->dir != d->direct_alloc_dir) free (d->dir); errno = EINVAL; return -1; out_of_memory: if (a->arg != a->direct_alloc_arg) free (a->arg); if (d->dir != d->direct_alloc_dir) free (d->dir); errno = ENOMEM; return -1; } #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef CHAR_T_ONLY_ASCII #undef CHAR_T gsasl-1.8.1/gl/c-strcaseeq.h0000644000000000000000000001046213516251574012522 00000000000000/* Optimized case-insensitive string comparison in C locale. Copyright (C) 2001-2002, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible . */ #include "c-strcase.h" #include "c-ctype.h" /* STRCASEEQ allows to optimize string comparison with a small literal string. STRCASEEQ (s, "UTF-8", 'U','T','F','-','8',0,0,0,0) is semantically equivalent to c_strcasecmp (s, "UTF-8") == 0 just faster. */ /* Help GCC to generate good code for string comparisons with immediate strings. */ #if defined (__GNUC__) && defined (__OPTIMIZE__) /* Case insensitive comparison of ASCII characters. */ # if C_CTYPE_ASCII # define CASEEQ(other,upper) \ (c_isupper (upper) ? ((other) & ~0x20) == (upper) : (other) == (upper)) # else # define CASEEQ(other,upper) \ (c_toupper (other) == (upper)) # endif static inline int strcaseeq9 (const char *s1, const char *s2) { return c_strcasecmp (s1 + 9, s2 + 9) == 0; } static inline int strcaseeq8 (const char *s1, const char *s2, char s28) { if (CASEEQ (s1[8], s28)) { if (s28 == 0) return 1; else return strcaseeq9 (s1, s2); } else return 0; } static inline int strcaseeq7 (const char *s1, const char *s2, char s27, char s28) { if (CASEEQ (s1[7], s27)) { if (s27 == 0) return 1; else return strcaseeq8 (s1, s2, s28); } else return 0; } static inline int strcaseeq6 (const char *s1, const char *s2, char s26, char s27, char s28) { if (CASEEQ (s1[6], s26)) { if (s26 == 0) return 1; else return strcaseeq7 (s1, s2, s27, s28); } else return 0; } static inline int strcaseeq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[5], s25)) { if (s25 == 0) return 1; else return strcaseeq6 (s1, s2, s26, s27, s28); } else return 0; } static inline int strcaseeq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[4], s24)) { if (s24 == 0) return 1; else return strcaseeq5 (s1, s2, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[3], s23)) { if (s23 == 0) return 1; else return strcaseeq4 (s1, s2, s24, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[2], s22)) { if (s22 == 0) return 1; else return strcaseeq3 (s1, s2, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[1], s21)) { if (s21 == 0) return 1; else return strcaseeq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[0], s20)) { if (s20 == 0) return 1; else return strcaseeq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); } else return 0; } #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ strcaseeq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) #else #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ (c_strcasecmp (s1, s2) == 0) #endif gsasl-1.8.1/gl/dirname-lgpl.c0000644000000000000000000000612113516251573012652 00000000000000/* dirname.c -- return all but the last element in a file name Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include "dirname.h" #include #include /* Return the length of the prefix of FILE that will be used by dir_name. If FILE is in the working directory, this returns zero even though 'dir_name (FILE)' will return ".". Works properly even if there are trailing slashes (by effectively ignoring them). */ size_t dir_len (char const *file) { size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); size_t length; /* Advance prefix_length beyond important leading slashes. */ prefix_length += (prefix_length != 0 ? (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && ISSLASH (file[prefix_length])) : (ISSLASH (file[0]) ? ((DOUBLE_SLASH_IS_DISTINCT_ROOT && ISSLASH (file[1]) && ! ISSLASH (file[2]) ? 2 : 1)) : 0)); /* Strip the basename and any redundant slashes before it. */ for (length = last_component (file) - file; prefix_length < length; length--) if (! ISSLASH (file[length - 1])) break; return length; } /* In general, we can't use the builtin 'dirname' function if available, since it has different meanings in different environments. In some environments the builtin 'dirname' modifies its argument. Return the leading directories part of FILE, allocated with malloc. Works properly even if there are trailing slashes (by effectively ignoring them). Return NULL on failure. If lstat (FILE) would succeed, then { chdir (dir_name (FILE)); lstat (base_name (FILE)); } will access the same file. Likewise, if the sequence { chdir (dir_name (FILE)); rename (base_name (FILE), "foo"); } succeeds, you have renamed FILE to "foo" in the same directory FILE was in. */ char * mdir_name (char const *file) { size_t length = dir_len (file); bool append_dot = (length == 0 || (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && length == FILE_SYSTEM_PREFIX_LEN (file) && file[2] != '\0' && ! ISSLASH (file[2]))); char *dir = malloc (length + append_dot + 1); if (!dir) return NULL; memcpy (dir, file, length); if (append_dot) dir[length++] = '.'; dir[length] = '\0'; return dir; } gsasl-1.8.1/gl/printf-parse.h0000644000000000000000000001216413516251576012725 00000000000000/* Parse printf format string. Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _PRINTF_PARSE_H #define _PRINTF_PARSE_H /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. STATIC Set to 'static' to declare the function static. */ #if HAVE_FEATURES_H # include /* for __GLIBC__, __UCLIBC__ */ #endif #include "printf-args.h" /* Flags */ #define FLAG_GROUP 1 /* ' flag */ #define FLAG_LEFT 2 /* - flag */ #define FLAG_SHOWSIGN 4 /* + flag */ #define FLAG_SPACE 8 /* space flag */ #define FLAG_ALT 16 /* # flag */ #define FLAG_ZERO 32 #if __GLIBC__ >= 2 && !defined __UCLIBC__ # define FLAG_LOCALIZED 64 /* I flag, uses localized digits */ #endif /* arg_index value indicating that no argument is consumed. */ #define ARG_NONE (~(size_t)0) /* xxx_directive: A parsed directive. xxx_directives: A parsed format string. */ /* Number of directly allocated directives (no malloc() needed). */ #define N_DIRECT_ALLOC_DIRECTIVES 7 /* A parsed directive. */ typedef struct { const char* dir_start; const char* dir_end; int flags; const char* width_start; const char* width_end; size_t width_arg_index; const char* precision_start; const char* precision_end; size_t precision_arg_index; char conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } char_directive; /* A parsed format string. */ typedef struct { size_t count; char_directive *dir; size_t max_width_length; size_t max_precision_length; char_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } char_directives; #if ENABLE_UNISTDIO /* A parsed directive. */ typedef struct { const uint8_t* dir_start; const uint8_t* dir_end; int flags; const uint8_t* width_start; const uint8_t* width_end; size_t width_arg_index; const uint8_t* precision_start; const uint8_t* precision_end; size_t precision_arg_index; uint8_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u8_directive; /* A parsed format string. */ typedef struct { size_t count; u8_directive *dir; size_t max_width_length; size_t max_precision_length; u8_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u8_directives; /* A parsed directive. */ typedef struct { const uint16_t* dir_start; const uint16_t* dir_end; int flags; const uint16_t* width_start; const uint16_t* width_end; size_t width_arg_index; const uint16_t* precision_start; const uint16_t* precision_end; size_t precision_arg_index; uint16_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u16_directive; /* A parsed format string. */ typedef struct { size_t count; u16_directive *dir; size_t max_width_length; size_t max_precision_length; u16_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u16_directives; /* A parsed directive. */ typedef struct { const uint32_t* dir_start; const uint32_t* dir_end; int flags; const uint32_t* width_start; const uint32_t* width_end; size_t width_arg_index; const uint32_t* precision_start; const uint32_t* precision_end; size_t precision_arg_index; uint32_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u32_directive; /* A parsed format string. */ typedef struct { size_t count; u32_directive *dir; size_t max_width_length; size_t max_precision_length; u32_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u32_directives; #endif /* Parses the format string. Fills in the number N of directives, and fills in directives[0], ..., directives[N-1], and sets directives[N].dir_start to the end of the format string. Also fills in the arg_type fields of the arguments and the needed count of arguments. */ #if ENABLE_UNISTDIO extern int ulc_printf_parse (const char *format, char_directives *d, arguments *a); extern int u8_printf_parse (const uint8_t *format, u8_directives *d, arguments *a); extern int u16_printf_parse (const uint16_t *format, u16_directives *d, arguments *a); extern int u32_printf_parse (const uint32_t *format, u32_directives *d, arguments *a); #else # ifdef STATIC STATIC # else extern # endif int printf_parse (const char *format, char_directives *d, arguments *a); #endif #endif /* _PRINTF_PARSE_H */ gsasl-1.8.1/gl/sys_uio.in.h0000644000000000000000000000317513516251577012415 00000000000000/* Substitute for . Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif @PRAGMA_COLUMNS@ #ifndef _@GUARD_PREFIX@_SYS_UIO_H #if @HAVE_SYS_UIO_H@ /* On OpenBSD 4.4, assumes prior inclusion of . */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_UIO_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_UIO_H #define _@GUARD_PREFIX@_SYS_UIO_H #if !@HAVE_SYS_UIO_H@ /* A platform that lacks . */ /* Get 'size_t' and 'ssize_t'. */ # include # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_iovec /* All known platforms that lack also lack any declaration of struct iovec in any other header. */ struct iovec { void *iov_base; size_t iov_len; }; # define GNULIB_defined_struct_iovec 1 # endif # ifdef __cplusplus } # endif #endif #endif /* _@GUARD_PREFIX@_SYS_UIO_H */ #endif /* _@GUARD_PREFIX@_SYS_UIO_H */ gsasl-1.8.1/gl/iconv_open.c0000644000000000000000000001267713516251575012455 00000000000000/* Character set conversion. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include #include #include #include "c-ctype.h" #include "c-strcase.h" #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) /* Namespace cleanliness. */ #define mapping_lookup rpl_iconv_open_mapping_lookup /* The macro ICONV_FLAVOR is defined to one of these or undefined. */ #define ICONV_FLAVOR_AIX "iconv_open-aix.h" #define ICONV_FLAVOR_HPUX "iconv_open-hpux.h" #define ICONV_FLAVOR_IRIX "iconv_open-irix.h" #define ICONV_FLAVOR_OSF "iconv_open-osf.h" #define ICONV_FLAVOR_SOLARIS "iconv_open-solaris.h" #ifdef ICONV_FLAVOR # include ICONV_FLAVOR #endif iconv_t rpl_iconv_open (const char *tocode, const char *fromcode) #undef iconv_open { char fromcode_upper[32]; char tocode_upper[32]; char *fromcode_upper_end; char *tocode_upper_end; #if REPLACE_ICONV_UTF /* Special handling of conversion between UTF-8 and UTF-{16,32}{BE,LE}. Do this here, before calling the real iconv_open(), because OSF/1 5.1 iconv() to these encoding inserts a BOM, which is wrong. We do not need to handle conversion between arbitrary encodings and UTF-{16,32}{BE,LE}, because the 'striconveh' module implements two-step conversion through UTF-8. The _ICONV_* constants are chosen to be disjoint from any iconv_t returned by the system's iconv_open() functions. Recall that iconv_t is a scalar type. */ if (c_toupper (fromcode[0]) == 'U' && c_toupper (fromcode[1]) == 'T' && c_toupper (fromcode[2]) == 'F' && fromcode[3] == '-') { if (c_toupper (tocode[0]) == 'U' && c_toupper (tocode[1]) == 'T' && c_toupper (tocode[2]) == 'F' && tocode[3] == '-') { if (strcmp (fromcode + 4, "8") == 0) { if (c_strcasecmp (tocode + 4, "16BE") == 0) return _ICONV_UTF8_UTF16BE; if (c_strcasecmp (tocode + 4, "16LE") == 0) return _ICONV_UTF8_UTF16LE; if (c_strcasecmp (tocode + 4, "32BE") == 0) return _ICONV_UTF8_UTF32BE; if (c_strcasecmp (tocode + 4, "32LE") == 0) return _ICONV_UTF8_UTF32LE; } else if (strcmp (tocode + 4, "8") == 0) { if (c_strcasecmp (fromcode + 4, "16BE") == 0) return _ICONV_UTF16BE_UTF8; if (c_strcasecmp (fromcode + 4, "16LE") == 0) return _ICONV_UTF16LE_UTF8; if (c_strcasecmp (fromcode + 4, "32BE") == 0) return _ICONV_UTF32BE_UTF8; if (c_strcasecmp (fromcode + 4, "32LE") == 0) return _ICONV_UTF32LE_UTF8; } } } #endif /* Do *not* add special support for 8-bit encodings like ASCII or ISO-8859-1 here. This would lead to programs that work in some locales (such as the "C" or "en_US" locales) but do not work in East Asian locales. It is better if programmers make their programs depend on GNU libiconv (except on glibc systems), e.g. by using the AM_ICONV macro and documenting the dependency in an INSTALL or DEPENDENCIES file. */ /* Try with the original names first. This covers the case when fromcode or tocode is a lowercase encoding name that is understood by the system's iconv_open but not listed in our mappings table. */ { iconv_t cd = iconv_open (tocode, fromcode); if (cd != (iconv_t)(-1)) return cd; } /* Convert the encodings to upper case, because 1. in the arguments of iconv_open() on AIX, HP-UX, and OSF/1 the case matters, 2. it makes searching in the table faster. */ { const char *p = fromcode; char *q = fromcode_upper; while ((*q = c_toupper (*p)) != '\0') { p++; q++; if (q == &fromcode_upper[SIZEOF (fromcode_upper)]) { errno = EINVAL; return (iconv_t)(-1); } } fromcode_upper_end = q; } { const char *p = tocode; char *q = tocode_upper; while ((*q = c_toupper (*p)) != '\0') { p++; q++; if (q == &tocode_upper[SIZEOF (tocode_upper)]) { errno = EINVAL; return (iconv_t)(-1); } } tocode_upper_end = q; } #ifdef ICONV_FLAVOR /* Apply the mappings. */ { const struct mapping *m = mapping_lookup (fromcode_upper, fromcode_upper_end - fromcode_upper); fromcode = (m != NULL ? m->vendor_name : fromcode_upper); } { const struct mapping *m = mapping_lookup (tocode_upper, tocode_upper_end - tocode_upper); tocode = (m != NULL ? m->vendor_name : tocode_upper); } #else fromcode = fromcode_upper; tocode = tocode_upper; #endif return iconv_open (tocode, fromcode); } gsasl-1.8.1/gl/strerror-override.h0000644000000000000000000000374413516251577014017 00000000000000/* strerror-override.h --- POSIX compatible system error routine Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_STRERROR_OVERRIDE_H # define _GL_STRERROR_OVERRIDE_H # include # include /* Reasonable buffer size that should never trigger ERANGE; if this proves too small, we intentionally abort(), to remind us to fix this value. */ # define STACKBUF_LEN 256 /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ # if REPLACE_STRERROR_0 \ || GNULIB_defined_ESOCK \ || GNULIB_defined_ESTREAMS \ || GNULIB_defined_EWINSOCK \ || GNULIB_defined_ENOMSG \ || GNULIB_defined_EIDRM \ || GNULIB_defined_ENOLINK \ || GNULIB_defined_EPROTO \ || GNULIB_defined_EMULTIHOP \ || GNULIB_defined_EBADMSG \ || GNULIB_defined_EOVERFLOW \ || GNULIB_defined_ENOTSUP \ || GNULIB_defined_ENETRESET \ || GNULIB_defined_ECONNABORTED \ || GNULIB_defined_ESTALE \ || GNULIB_defined_EDQUOT \ || GNULIB_defined_ECANCELED \ || GNULIB_defined_EOWNERDEAD \ || GNULIB_defined_ENOTRECOVERABLE \ || GNULIB_defined_EILSEQ extern const char *strerror_override (int errnum) _GL_ATTRIBUTE_CONST; # else # define strerror_override(ignored) NULL # endif #endif /* _GL_STRERROR_OVERRIDE_H */ gsasl-1.8.1/gl/wchar.in.h0000644000000000000000000010542613516251577012031 00000000000000/* A substitute for ISO C99 , for platforms that have issues. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake. */ /* * ISO C 99 for platforms that have issues. * * * For now, this just ensures proper prerequisite inclusion order and * the declaration of wcwidth(). */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (((defined __need_mbstate_t || defined __need_wint_t) \ && !defined __MINGW32__) \ || (defined __hpux \ && ((defined _INTTYPES_INCLUDED && !defined strtoimax) \ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \ || defined _GL_ALREADY_INCLUDING_WCHAR_H) /* Special invocation convention: - Inside glibc and uClibc header files, but not MinGW. - On HP-UX 11.00 we have a sequence of nested includes -> -> , and the latter includes , once indirectly -> -> -> and once directly. In both situations 'wint_t' is not yet defined, therefore we cannot provide the function overrides; instead include only the system's . - With MinGW 3.22, when includes , only some part of is actually processed, and that doesn't include 'mbstate_t'. - On IRIX 6.5, similarly, we have an include -> , and the latter includes . But here, we have no way to detect whether is completely included or is still being included. */ #@INCLUDE_NEXT@ @NEXT_WCHAR_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_WCHAR_H #define _GL_ALREADY_INCLUDING_WCHAR_H #if @HAVE_FEATURES_H@ # include /* for __GLIBC__ */ #endif /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . In some builds of uClibc, is nonexistent and wchar_t is defined by . But avoid namespace pollution on glibc systems. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include #endif #ifndef __GLIBC__ # include # include #endif /* Include the original if it exists. Some builds of uClibc lack it. */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_WCHAR_H@ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@ #endif #undef _GL_ALREADY_INCLUDING_WCHAR_H #ifndef _@GUARD_PREFIX@_WCHAR_H #define _@GUARD_PREFIX@_WCHAR_H /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Define wint_t and WEOF. (Also done in wctype.in.h.) */ #if !@HAVE_WINT_T@ && !defined wint_t # define wint_t int # ifndef WEOF # define WEOF -1 # endif #else /* mingw and MSVC define wint_t as 'unsigned short' in or . This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be "unchanged by default argument promotions". Override it. */ # if @GNULIB_OVERRIDES_WINT_T@ # if !GNULIB_defined_wint_t # if @HAVE_CRTDEFS_H@ # include # else # include # endif typedef unsigned int rpl_wint_t; # undef wint_t # define wint_t rpl_wint_t # define GNULIB_defined_wint_t 1 # endif # endif # ifndef WEOF # define WEOF ((wint_t) -1) # endif #endif /* Override mbstate_t if it is too small. On IRIX 6.5, sizeof (mbstate_t) == 1, which is not sufficient for implementing mbrtowc for encodings like UTF-8. */ #if !(@HAVE_MBSINIT@ && @HAVE_MBRTOWC@) || @REPLACE_MBSTATE_T@ # if !GNULIB_defined_mbstate_t typedef int rpl_mbstate_t; # undef mbstate_t # define mbstate_t rpl_mbstate_t # define GNULIB_defined_mbstate_t 1 # endif #endif /* Convert a single-byte character to a wide character. */ #if @GNULIB_BTOWC@ # if @REPLACE_BTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef btowc # define btowc rpl_btowc # endif _GL_FUNCDECL_RPL (btowc, wint_t, (int c) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (btowc, wint_t, (int c)); # else # if !@HAVE_BTOWC@ _GL_FUNCDECL_SYS (btowc, wint_t, (int c) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (btowc, wint_t, (int c)); # endif _GL_CXXALIASWARN (btowc); #elif defined GNULIB_POSIXCHECK # undef btowc # if HAVE_RAW_DECL_BTOWC _GL_WARN_ON_USE (btowc, "btowc is unportable - " "use gnulib module btowc for portability"); # endif #endif /* Convert a wide character to a single-byte character. */ #if @GNULIB_WCTOB@ # if @REPLACE_WCTOB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctob # define wctob rpl_wctob # endif _GL_FUNCDECL_RPL (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wctob, int, (wint_t wc)); # else # if !defined wctob && !@HAVE_DECL_WCTOB@ /* wctob is provided by gnulib, or wctob exists but is not declared. */ _GL_FUNCDECL_SYS (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wctob, int, (wint_t wc)); # endif _GL_CXXALIASWARN (wctob); #elif defined GNULIB_POSIXCHECK # undef wctob # if HAVE_RAW_DECL_WCTOB _GL_WARN_ON_USE (wctob, "wctob is unportable - " "use gnulib module wctob for portability"); # endif #endif /* Test whether *PS is in the initial state. */ #if @GNULIB_MBSINIT@ # if @REPLACE_MBSINIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsinit # define mbsinit rpl_mbsinit # endif _GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps)); _GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps)); # else # if !@HAVE_MBSINIT@ _GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbsinit); #elif defined GNULIB_POSIXCHECK # undef mbsinit # if HAVE_RAW_DECL_MBSINIT _GL_WARN_ON_USE (mbsinit, "mbsinit is unportable - " "use gnulib module mbsinit for portability"); # endif #endif /* Convert a multibyte character to a wide character. */ #if @GNULIB_MBRTOWC@ # if @REPLACE_MBRTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrtowc # define mbrtowc rpl_mbrtowc # endif _GL_FUNCDECL_RPL (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); _GL_CXXALIAS_RPL (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); # else # if !@HAVE_MBRTOWC@ _GL_FUNCDECL_SYS (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbrtowc); #elif defined GNULIB_POSIXCHECK # undef mbrtowc # if HAVE_RAW_DECL_MBRTOWC _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - " "use gnulib module mbrtowc for portability"); # endif #endif /* Recognize a multibyte character. */ #if @GNULIB_MBRLEN@ # if @REPLACE_MBRLEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrlen # define mbrlen rpl_mbrlen # endif _GL_FUNCDECL_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); _GL_CXXALIAS_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); # else # if !@HAVE_MBRLEN@ _GL_FUNCDECL_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbrlen); #elif defined GNULIB_POSIXCHECK # undef mbrlen # if HAVE_RAW_DECL_MBRLEN _GL_WARN_ON_USE (mbrlen, "mbrlen is unportable - " "use gnulib module mbrlen for portability"); # endif #endif /* Convert a string to a wide string. */ #if @GNULIB_MBSRTOWCS@ # if @REPLACE_MBSRTOWCS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsrtowcs # define mbsrtowcs rpl_mbsrtowcs # endif _GL_FUNCDECL_RPL (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps)); # else # if !@HAVE_MBSRTOWCS@ _GL_FUNCDECL_SYS (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbsrtowcs); #elif defined GNULIB_POSIXCHECK # undef mbsrtowcs # if HAVE_RAW_DECL_MBSRTOWCS _GL_WARN_ON_USE (mbsrtowcs, "mbsrtowcs is unportable - " "use gnulib module mbsrtowcs for portability"); # endif #endif /* Convert a string to a wide string. */ #if @GNULIB_MBSNRTOWCS@ # if @REPLACE_MBSNRTOWCS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsnrtowcs # define mbsnrtowcs rpl_mbsnrtowcs # endif _GL_FUNCDECL_RPL (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps)); # else # if !@HAVE_MBSNRTOWCS@ _GL_FUNCDECL_SYS (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbsnrtowcs); #elif defined GNULIB_POSIXCHECK # undef mbsnrtowcs # if HAVE_RAW_DECL_MBSNRTOWCS _GL_WARN_ON_USE (mbsnrtowcs, "mbsnrtowcs is unportable - " "use gnulib module mbsnrtowcs for portability"); # endif #endif /* Convert a wide character to a multibyte character. */ #if @GNULIB_WCRTOMB@ # if @REPLACE_WCRTOMB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcrtomb # define wcrtomb rpl_wcrtomb # endif _GL_FUNCDECL_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); _GL_CXXALIAS_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); # else # if !@HAVE_WCRTOMB@ _GL_FUNCDECL_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); # endif _GL_CXXALIASWARN (wcrtomb); #elif defined GNULIB_POSIXCHECK # undef wcrtomb # if HAVE_RAW_DECL_WCRTOMB _GL_WARN_ON_USE (wcrtomb, "wcrtomb is unportable - " "use gnulib module wcrtomb for portability"); # endif #endif /* Convert a wide string to a string. */ #if @GNULIB_WCSRTOMBS@ # if @REPLACE_WCSRTOMBS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsrtombs # define wcsrtombs rpl_wcsrtombs # endif _GL_FUNCDECL_RPL (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps)); # else # if !@HAVE_WCSRTOMBS@ _GL_FUNCDECL_SYS (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (wcsrtombs); #elif defined GNULIB_POSIXCHECK # undef wcsrtombs # if HAVE_RAW_DECL_WCSRTOMBS _GL_WARN_ON_USE (wcsrtombs, "wcsrtombs is unportable - " "use gnulib module wcsrtombs for portability"); # endif #endif /* Convert a wide string to a string. */ #if @GNULIB_WCSNRTOMBS@ # if @REPLACE_WCSNRTOMBS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsnrtombs # define wcsnrtombs rpl_wcsnrtombs # endif _GL_FUNCDECL_RPL (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps)); # else # if !@HAVE_WCSNRTOMBS@ _GL_FUNCDECL_SYS (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (wcsnrtombs); #elif defined GNULIB_POSIXCHECK # undef wcsnrtombs # if HAVE_RAW_DECL_WCSNRTOMBS _GL_WARN_ON_USE (wcsnrtombs, "wcsnrtombs is unportable - " "use gnulib module wcsnrtombs for portability"); # endif #endif /* Return the number of screen columns needed for WC. */ #if @GNULIB_WCWIDTH@ # if @REPLACE_WCWIDTH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcwidth # define wcwidth rpl_wcwidth # endif _GL_FUNCDECL_RPL (wcwidth, int, (wchar_t) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcwidth, int, (wchar_t)); # else # if !@HAVE_DECL_WCWIDTH@ /* wcwidth exists but is not declared. */ _GL_FUNCDECL_SYS (wcwidth, int, (wchar_t) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcwidth, int, (wchar_t)); # endif _GL_CXXALIASWARN (wcwidth); #elif defined GNULIB_POSIXCHECK # undef wcwidth # if HAVE_RAW_DECL_WCWIDTH _GL_WARN_ON_USE (wcwidth, "wcwidth is unportable - " "use gnulib module wcwidth for portability"); # endif #endif /* Search N wide characters of S for C. */ #if @GNULIB_WMEMCHR@ # if !@HAVE_WMEMCHR@ _GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wmemchr (const wchar_t *, wchar_t, size_t); wchar_t * std::wmemchr (wchar_t *, wchar_t, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (wmemchr, wchar_t *, (const wchar_t *, wchar_t, size_t), const wchar_t *, (const wchar_t *, wchar_t, size_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wmemchr, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); _GL_CXXALIASWARN1 (wmemchr, const wchar_t *, (const wchar_t *s, wchar_t c, size_t n)); # else _GL_CXXALIASWARN (wmemchr); # endif #elif defined GNULIB_POSIXCHECK # undef wmemchr # if HAVE_RAW_DECL_WMEMCHR _GL_WARN_ON_USE (wmemchr, "wmemchr is unportable - " "use gnulib module wmemchr for portability"); # endif #endif /* Compare N wide characters of S1 and S2. */ #if @GNULIB_WMEMCMP@ # if !@HAVE_WMEMCMP@ _GL_FUNCDECL_SYS (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wmemcmp); #elif defined GNULIB_POSIXCHECK # undef wmemcmp # if HAVE_RAW_DECL_WMEMCMP _GL_WARN_ON_USE (wmemcmp, "wmemcmp is unportable - " "use gnulib module wmemcmp for portability"); # endif #endif /* Copy N wide characters of SRC to DEST. */ #if @GNULIB_WMEMCPY@ # if !@HAVE_WMEMCPY@ _GL_FUNCDECL_SYS (wmemcpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wmemcpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wmemcpy); #elif defined GNULIB_POSIXCHECK # undef wmemcpy # if HAVE_RAW_DECL_WMEMCPY _GL_WARN_ON_USE (wmemcpy, "wmemcpy is unportable - " "use gnulib module wmemcpy for portability"); # endif #endif /* Copy N wide characters of SRC to DEST, guaranteeing correct behavior for overlapping memory areas. */ #if @GNULIB_WMEMMOVE@ # if !@HAVE_WMEMMOVE@ _GL_FUNCDECL_SYS (wmemmove, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wmemmove, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wmemmove); #elif defined GNULIB_POSIXCHECK # undef wmemmove # if HAVE_RAW_DECL_WMEMMOVE _GL_WARN_ON_USE (wmemmove, "wmemmove is unportable - " "use gnulib module wmemmove for portability"); # endif #endif /* Set N wide characters of S to C. */ #if @GNULIB_WMEMSET@ # if !@HAVE_WMEMSET@ _GL_FUNCDECL_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); # endif _GL_CXXALIAS_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); _GL_CXXALIASWARN (wmemset); #elif defined GNULIB_POSIXCHECK # undef wmemset # if HAVE_RAW_DECL_WMEMSET _GL_WARN_ON_USE (wmemset, "wmemset is unportable - " "use gnulib module wmemset for portability"); # endif #endif /* Return the number of wide characters in S. */ #if @GNULIB_WCSLEN@ # if !@HAVE_WCSLEN@ _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s)); _GL_CXXALIASWARN (wcslen); #elif defined GNULIB_POSIXCHECK # undef wcslen # if HAVE_RAW_DECL_WCSLEN _GL_WARN_ON_USE (wcslen, "wcslen is unportable - " "use gnulib module wcslen for portability"); # endif #endif /* Return the number of wide characters in S, but at most MAXLEN. */ #if @GNULIB_WCSNLEN@ # if !@HAVE_WCSNLEN@ _GL_FUNCDECL_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen)); _GL_CXXALIASWARN (wcsnlen); #elif defined GNULIB_POSIXCHECK # undef wcsnlen # if HAVE_RAW_DECL_WCSNLEN _GL_WARN_ON_USE (wcsnlen, "wcsnlen is unportable - " "use gnulib module wcsnlen for portability"); # endif #endif /* Copy SRC to DEST. */ #if @GNULIB_WCSCPY@ # if !@HAVE_WCSCPY@ _GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); # endif _GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); _GL_CXXALIASWARN (wcscpy); #elif defined GNULIB_POSIXCHECK # undef wcscpy # if HAVE_RAW_DECL_WCSCPY _GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - " "use gnulib module wcscpy for portability"); # endif #endif /* Copy SRC to DEST, returning the address of the terminating L'\0' in DEST. */ #if @GNULIB_WCPCPY@ # if !@HAVE_WCPCPY@ _GL_FUNCDECL_SYS (wcpcpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); # endif _GL_CXXALIAS_SYS (wcpcpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); _GL_CXXALIASWARN (wcpcpy); #elif defined GNULIB_POSIXCHECK # undef wcpcpy # if HAVE_RAW_DECL_WCPCPY _GL_WARN_ON_USE (wcpcpy, "wcpcpy is unportable - " "use gnulib module wcpcpy for portability"); # endif #endif /* Copy no more than N wide characters of SRC to DEST. */ #if @GNULIB_WCSNCPY@ # if !@HAVE_WCSNCPY@ _GL_FUNCDECL_SYS (wcsncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wcsncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wcsncpy); #elif defined GNULIB_POSIXCHECK # undef wcsncpy # if HAVE_RAW_DECL_WCSNCPY _GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - " "use gnulib module wcsncpy for portability"); # endif #endif /* Copy no more than N characters of SRC to DEST, returning the address of the last character written into DEST. */ #if @GNULIB_WCPNCPY@ # if !@HAVE_WCPNCPY@ _GL_FUNCDECL_SYS (wcpncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wcpncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wcpncpy); #elif defined GNULIB_POSIXCHECK # undef wcpncpy # if HAVE_RAW_DECL_WCPNCPY _GL_WARN_ON_USE (wcpncpy, "wcpncpy is unportable - " "use gnulib module wcpncpy for portability"); # endif #endif /* Append SRC onto DEST. */ #if @GNULIB_WCSCAT@ # if !@HAVE_WCSCAT@ _GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); # endif _GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); _GL_CXXALIASWARN (wcscat); #elif defined GNULIB_POSIXCHECK # undef wcscat # if HAVE_RAW_DECL_WCSCAT _GL_WARN_ON_USE (wcscat, "wcscat is unportable - " "use gnulib module wcscat for portability"); # endif #endif /* Append no more than N wide characters of SRC onto DEST. */ #if @GNULIB_WCSNCAT@ # if !@HAVE_WCSNCAT@ _GL_FUNCDECL_SYS (wcsncat, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wcsncat, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wcsncat); #elif defined GNULIB_POSIXCHECK # undef wcsncat # if HAVE_RAW_DECL_WCSNCAT _GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - " "use gnulib module wcsncat for portability"); # endif #endif /* Compare S1 and S2. */ #if @GNULIB_WCSCMP@ # if !@HAVE_WCSCMP@ _GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2)); _GL_CXXALIASWARN (wcscmp); #elif defined GNULIB_POSIXCHECK # undef wcscmp # if HAVE_RAW_DECL_WCSCMP _GL_WARN_ON_USE (wcscmp, "wcscmp is unportable - " "use gnulib module wcscmp for portability"); # endif #endif /* Compare no more than N wide characters of S1 and S2. */ #if @GNULIB_WCSNCMP@ # if !@HAVE_WCSNCMP@ _GL_FUNCDECL_SYS (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wcsncmp); #elif defined GNULIB_POSIXCHECK # undef wcsncmp # if HAVE_RAW_DECL_WCSNCMP _GL_WARN_ON_USE (wcsncmp, "wcsncmp is unportable - " "use gnulib module wcsncmp for portability"); # endif #endif /* Compare S1 and S2, ignoring case. */ #if @GNULIB_WCSCASECMP@ # if !@HAVE_WCSCASECMP@ _GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2)); _GL_CXXALIASWARN (wcscasecmp); #elif defined GNULIB_POSIXCHECK # undef wcscasecmp # if HAVE_RAW_DECL_WCSCASECMP _GL_WARN_ON_USE (wcscasecmp, "wcscasecmp is unportable - " "use gnulib module wcscasecmp for portability"); # endif #endif /* Compare no more than N chars of S1 and S2, ignoring case. */ #if @GNULIB_WCSNCASECMP@ # if !@HAVE_WCSNCASECMP@ _GL_FUNCDECL_SYS (wcsncasecmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsncasecmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wcsncasecmp); #elif defined GNULIB_POSIXCHECK # undef wcsncasecmp # if HAVE_RAW_DECL_WCSNCASECMP _GL_WARN_ON_USE (wcsncasecmp, "wcsncasecmp is unportable - " "use gnulib module wcsncasecmp for portability"); # endif #endif /* Compare S1 and S2, both interpreted as appropriate to the LC_COLLATE category of the current locale. */ #if @GNULIB_WCSCOLL@ # if !@HAVE_WCSCOLL@ _GL_FUNCDECL_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); # endif _GL_CXXALIAS_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); _GL_CXXALIASWARN (wcscoll); #elif defined GNULIB_POSIXCHECK # undef wcscoll # if HAVE_RAW_DECL_WCSCOLL _GL_WARN_ON_USE (wcscoll, "wcscoll is unportable - " "use gnulib module wcscoll for portability"); # endif #endif /* Transform S2 into array pointed to by S1 such that if wcscmp is applied to two transformed strings the result is the as applying 'wcscoll' to the original strings. */ #if @GNULIB_WCSXFRM@ # if !@HAVE_WCSXFRM@ _GL_FUNCDECL_SYS (wcsxfrm, size_t, (wchar_t *s1, const wchar_t *s2, size_t n)); # endif _GL_CXXALIAS_SYS (wcsxfrm, size_t, (wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wcsxfrm); #elif defined GNULIB_POSIXCHECK # undef wcsxfrm # if HAVE_RAW_DECL_WCSXFRM _GL_WARN_ON_USE (wcsxfrm, "wcsxfrm is unportable - " "use gnulib module wcsxfrm for portability"); # endif #endif /* Duplicate S, returning an identical malloc'd string. */ #if @GNULIB_WCSDUP@ # if !@HAVE_WCSDUP@ _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s)); # endif _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); _GL_CXXALIASWARN (wcsdup); #elif defined GNULIB_POSIXCHECK # undef wcsdup # if HAVE_RAW_DECL_WCSDUP _GL_WARN_ON_USE (wcsdup, "wcsdup is unportable - " "use gnulib module wcsdup for portability"); # endif #endif /* Find the first occurrence of WC in WCS. */ #if @GNULIB_WCSCHR@ # if !@HAVE_WCSCHR@ _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcschr (const wchar_t *, wchar_t); wchar_t * std::wcschr (wchar_t *, wchar_t); } */ _GL_CXXALIAS_SYS_CAST2 (wcschr, wchar_t *, (const wchar_t *, wchar_t), const wchar_t *, (const wchar_t *, wchar_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); # else _GL_CXXALIASWARN (wcschr); # endif #elif defined GNULIB_POSIXCHECK # undef wcschr # if HAVE_RAW_DECL_WCSCHR _GL_WARN_ON_USE (wcschr, "wcschr is unportable - " "use gnulib module wcschr for portability"); # endif #endif /* Find the last occurrence of WC in WCS. */ #if @GNULIB_WCSRCHR@ # if !@HAVE_WCSRCHR@ _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcsrchr (const wchar_t *, wchar_t); wchar_t * std::wcsrchr (wchar_t *, wchar_t); } */ _GL_CXXALIAS_SYS_CAST2 (wcsrchr, wchar_t *, (const wchar_t *, wchar_t), const wchar_t *, (const wchar_t *, wchar_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); # else _GL_CXXALIASWARN (wcsrchr); # endif #elif defined GNULIB_POSIXCHECK # undef wcsrchr # if HAVE_RAW_DECL_WCSRCHR _GL_WARN_ON_USE (wcsrchr, "wcsrchr is unportable - " "use gnulib module wcsrchr for portability"); # endif #endif /* Return the length of the initial segmet of WCS which consists entirely of wide characters not in REJECT. */ #if @GNULIB_WCSCSPN@ # if !@HAVE_WCSCSPN@ _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject)); _GL_CXXALIASWARN (wcscspn); #elif defined GNULIB_POSIXCHECK # undef wcscspn # if HAVE_RAW_DECL_WCSCSPN _GL_WARN_ON_USE (wcscspn, "wcscspn is unportable - " "use gnulib module wcscspn for portability"); # endif #endif /* Return the length of the initial segmet of WCS which consists entirely of wide characters in ACCEPT. */ #if @GNULIB_WCSSPN@ # if !@HAVE_WCSSPN@ _GL_FUNCDECL_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept)); _GL_CXXALIASWARN (wcsspn); #elif defined GNULIB_POSIXCHECK # undef wcsspn # if HAVE_RAW_DECL_WCSSPN _GL_WARN_ON_USE (wcsspn, "wcsspn is unportable - " "use gnulib module wcsspn for portability"); # endif #endif /* Find the first occurrence in WCS of any character in ACCEPT. */ #if @GNULIB_WCSPBRK@ # if !@HAVE_WCSPBRK@ _GL_FUNCDECL_SYS (wcspbrk, wchar_t *, (const wchar_t *wcs, const wchar_t *accept) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcspbrk (const wchar_t *, const wchar_t *); wchar_t * std::wcspbrk (wchar_t *, const wchar_t *); } */ _GL_CXXALIAS_SYS_CAST2 (wcspbrk, wchar_t *, (const wchar_t *, const wchar_t *), const wchar_t *, (const wchar_t *, const wchar_t *)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcspbrk, wchar_t *, (wchar_t *wcs, const wchar_t *accept)); _GL_CXXALIASWARN1 (wcspbrk, const wchar_t *, (const wchar_t *wcs, const wchar_t *accept)); # else _GL_CXXALIASWARN (wcspbrk); # endif #elif defined GNULIB_POSIXCHECK # undef wcspbrk # if HAVE_RAW_DECL_WCSPBRK _GL_WARN_ON_USE (wcspbrk, "wcspbrk is unportable - " "use gnulib module wcspbrk for portability"); # endif #endif /* Find the first occurrence of NEEDLE in HAYSTACK. */ #if @GNULIB_WCSSTR@ # if !@HAVE_WCSSTR@ _GL_FUNCDECL_SYS (wcsstr, wchar_t *, (const wchar_t *haystack, const wchar_t *needle) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcsstr (const wchar_t *, const wchar_t *); wchar_t * std::wcsstr (wchar_t *, const wchar_t *); } */ _GL_CXXALIAS_SYS_CAST2 (wcsstr, wchar_t *, (const wchar_t *, const wchar_t *), const wchar_t *, (const wchar_t *, const wchar_t *)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcsstr, wchar_t *, (wchar_t *haystack, const wchar_t *needle)); _GL_CXXALIASWARN1 (wcsstr, const wchar_t *, (const wchar_t *haystack, const wchar_t *needle)); # else _GL_CXXALIASWARN (wcsstr); # endif #elif defined GNULIB_POSIXCHECK # undef wcsstr # if HAVE_RAW_DECL_WCSSTR _GL_WARN_ON_USE (wcsstr, "wcsstr is unportable - " "use gnulib module wcsstr for portability"); # endif #endif /* Divide WCS into tokens separated by characters in DELIM. */ #if @GNULIB_WCSTOK@ # if !@HAVE_WCSTOK@ _GL_FUNCDECL_SYS (wcstok, wchar_t *, (wchar_t *wcs, const wchar_t *delim, wchar_t **ptr)); # endif _GL_CXXALIAS_SYS (wcstok, wchar_t *, (wchar_t *wcs, const wchar_t *delim, wchar_t **ptr)); _GL_CXXALIASWARN (wcstok); #elif defined GNULIB_POSIXCHECK # undef wcstok # if HAVE_RAW_DECL_WCSTOK _GL_WARN_ON_USE (wcstok, "wcstok is unportable - " "use gnulib module wcstok for portability"); # endif #endif /* Determine number of column positions required for first N wide characters (or fewer if S ends before this) in S. */ #if @GNULIB_WCSWIDTH@ # if @REPLACE_WCSWIDTH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcswidth # define wcswidth rpl_wcswidth # endif _GL_FUNCDECL_RPL (wcswidth, int, (const wchar_t *s, size_t n) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcswidth, int, (const wchar_t *s, size_t n)); # else # if !@HAVE_WCSWIDTH@ _GL_FUNCDECL_SYS (wcswidth, int, (const wchar_t *s, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcswidth, int, (const wchar_t *s, size_t n)); # endif _GL_CXXALIASWARN (wcswidth); #elif defined GNULIB_POSIXCHECK # undef wcswidth # if HAVE_RAW_DECL_WCSWIDTH _GL_WARN_ON_USE (wcswidth, "wcswidth is unportable - " "use gnulib module wcswidth for portability"); # endif #endif /* Convert *TP to a date and time wide string. See . */ #if @GNULIB_WCSFTIME@ # if @REPLACE_WCSFTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsftime # define wcsftime rpl_wcsftime # endif _GL_FUNCDECL_RPL (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp) _GL_ARG_NONNULL ((1, 3, 4))); _GL_CXXALIAS_RPL (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp)); # else # if !@HAVE_WCSFTIME@ _GL_FUNCDECL_SYS (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp) _GL_ARG_NONNULL ((1, 3, 4))); # endif _GL_CXXALIAS_SYS (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp)); # endif _GL_CXXALIASWARN (wcsftime); #elif defined GNULIB_POSIXCHECK # undef wcsftime # if HAVE_RAW_DECL_WCSFTIME _GL_WARN_ON_USE (wcsftime, "wcsftime is unportable - " "use gnulib module wcsftime for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_WCHAR_H */ #endif /* _@GUARD_PREFIX@_WCHAR_H */ #endif gsasl-1.8.1/gl/asnprintf.c0000644000000000000000000000204713516251574012307 00000000000000/* Formatted output to strings. Copyright (C) 1999, 2002, 2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include "vasnprintf.h" #include char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) { va_list args; char *result; va_start (args, format); result = vasnprintf (resultbuf, lengthp, format, args); va_end (args); return result; } gsasl-1.8.1/gl/getopt1.c0000644000000000000000000000733113516251574011667 00000000000000/* getopt_long and getopt_long_only entry points for GNU getopt. Copyright (C) 1987-2019 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library 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 3 of the License, or (at your option) any later version. The GNU C Library 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 the GNU C Library; if not, see . */ #ifndef _LIBC # include #endif #include "getopt.h" #include "getopt_int.h" int getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index) { return _getopt_internal (argc, (char **) argv, options, long_options, opt_index, 0, 0); } int _getopt_long_r (int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d) { return _getopt_internal_r (argc, argv, options, long_options, opt_index, 0, d, 0); } /* Like getopt_long, but '-' as well as '--' can indicate a long option. If an option that starts with '-' (not '--') doesn't match a long option, but does match a short option, it is parsed as a short option instead. */ int getopt_long_only (int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index) { return _getopt_internal (argc, (char **) argv, options, long_options, opt_index, 1, 0); } int _getopt_long_only_r (int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d) { return _getopt_internal_r (argc, argv, options, long_options, opt_index, 1, d, 0); } #ifdef TEST #include #include int main (int argc, char **argv) { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; int option_index = 0; static const struct option long_options[] = { {"add", 1, 0, 0}, {"append", 0, 0, 0}, {"delete", 1, 0, 0}, {"verbose", 0, 0, 0}, {"create", 0, 0, 0}, {"file", 1, 0, 0}, {0, 0, 0, 0} }; c = getopt_long (argc, argv, "abc:d:0123456789", long_options, &option_index); if (c == -1) break; switch (c) { case 0: printf ("option %s", long_options[option_index].name); if (optarg) printf (" with arg %s", optarg); printf ("\n"); break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value '%s'\n", optarg); break; case 'd': printf ("option d with value '%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ gsasl-1.8.1/gl/stat-time.h0000644000000000000000000001700313516251573012214 00000000000000/* stat-related time functions. Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert. */ #ifndef STAT_TIME_H #define STAT_TIME_H 1 #include "intprops.h" #include #include #include #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_STAT_TIME_INLINE # define _GL_STAT_TIME_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* STAT_TIMESPEC (ST, ST_XTIM) is the ST_XTIM member for *ST of type struct timespec, if available. If not, then STAT_TIMESPEC_NS (ST, ST_XTIM) is the nanosecond component of the ST_XTIM member for *ST, if available. ST_XTIM can be st_atim, st_ctim, st_mtim, or st_birthtim for access, status change, data modification, or birth (creation) time respectively. These macros are private to stat-time.h. */ #if _GL_WINDOWS_STAT_TIMESPEC || defined HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC # if _GL_WINDOWS_STAT_TIMESPEC || defined TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) # else # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.tv_nsec) # endif #elif defined HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim##espec) #elif defined HAVE_STRUCT_STAT_ST_ATIMENSEC # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim##ensec) #elif defined HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.st__tim.tv_nsec) #endif /* Return the nanosecond component of *ST's access time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_atime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_atim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_atim); # else return 0; # endif } /* Return the nanosecond component of *ST's status change time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_ctime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_ctim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_ctim); # else return 0; # endif } /* Return the nanosecond component of *ST's data modification time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_mtime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_mtim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_mtim); # else return 0; # endif } /* Return the nanosecond component of *ST's birth time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_birthtime_ns (struct stat const *st _GL_UNUSED) { # if defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC return STAT_TIMESPEC (st, st_birthtim).tv_nsec; # elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC return STAT_TIMESPEC_NS (st, st_birthtim); # else return 0; # endif } /* Return *ST's access time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_atime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_atim); #else struct timespec t; t.tv_sec = st->st_atime; t.tv_nsec = get_stat_atime_ns (st); return t; #endif } /* Return *ST's status change time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_ctime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_ctim); #else struct timespec t; t.tv_sec = st->st_ctime; t.tv_nsec = get_stat_ctime_ns (st); return t; #endif } /* Return *ST's data modification time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_mtime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_mtim); #else struct timespec t; t.tv_sec = st->st_mtime; t.tv_nsec = get_stat_mtime_ns (st); return t; #endif } /* Return *ST's birth time, if available; otherwise return a value with tv_sec and tv_nsec both equal to -1. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_birthtime (struct stat const *st _GL_UNUSED) { struct timespec t; #if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC) t = STAT_TIMESPEC (st, st_birthtim); #elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC t.tv_sec = st->st_birthtime; t.tv_nsec = st->st_birthtimensec; #elif defined _WIN32 && ! defined __CYGWIN__ /* Native Windows platforms (but not Cygwin) put the "file creation time" in st_ctime (!). See . */ # if _GL_WINDOWS_STAT_TIMESPEC t = st->st_ctim; # else t.tv_sec = st->st_ctime; t.tv_nsec = 0; # endif #else /* Birth time is not supported. */ t.tv_sec = -1; t.tv_nsec = -1; #endif #if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC) /* FreeBSD and NetBSD sometimes signal the absence of knowledge by using zero. Attempt to work around this problem. Alas, this can report failure even for valid timestamps. Also, NetBSD sometimes returns junk in the birth time fields; work around this bug if it is detected. */ if (! (t.tv_sec && 0 <= t.tv_nsec && t.tv_nsec < 1000000000)) { t.tv_sec = -1; t.tv_nsec = -1; } #endif return t; } /* If a stat-like function returned RESULT, normalize the timestamps in *ST, in case this platform suffers from the Solaris 11 bug where tv_nsec might be negative. Return the adjusted RESULT, setting errno to EOVERFLOW if normalization overflowed. This function is intended to be private to this .h file. */ _GL_STAT_TIME_INLINE int stat_time_normalize (int result, struct stat *st _GL_UNUSED) { #if defined __sun && defined STAT_TIMESPEC if (result == 0) { long int timespec_hz = 1000000000; short int const ts_off[] = { offsetof (struct stat, st_atim), offsetof (struct stat, st_mtim), offsetof (struct stat, st_ctim) }; int i; for (i = 0; i < sizeof ts_off / sizeof *ts_off; i++) { struct timespec *ts = (struct timespec *) ((char *) st + ts_off[i]); long int q = ts->tv_nsec / timespec_hz; long int r = ts->tv_nsec % timespec_hz; if (r < 0) { r += timespec_hz; q--; } ts->tv_nsec = r; /* Overflow is possible, as Solaris 11 stat can yield tv_sec == TYPE_MINIMUM (time_t) && tv_nsec == -1000000000. INT_ADD_WRAPV is OK, since time_t is signed on Solaris. */ if (INT_ADD_WRAPV (q, ts->tv_sec, &ts->tv_sec)) { errno = EOVERFLOW; return -1; } } } #endif return result; } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif gsasl-1.8.1/gl/stdlib.in.h0000644000000000000000000011221013516251577012173 00000000000000/* A GNU-like . Copyright (C) 1995, 2001-2004, 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_system_stdlib_h || defined __need_malloc_and_calloc /* Special invocation conventions inside some gnulib header files, and inside some glibc header files, respectively. */ #@INCLUDE_NEXT@ @NEXT_STDLIB_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STDLIB_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDLIB_H@ #ifndef _@GUARD_PREFIX@_STDLIB_H #define _@GUARD_PREFIX@_STDLIB_H /* NetBSD 5.0 mis-defines NULL. */ #include /* MirBSD 10 defines WEXITSTATUS in , not in . */ #if @GNULIB_SYSTEM_POSIX@ && !defined WEXITSTATUS # include #endif /* Solaris declares getloadavg() in . */ #if (@GNULIB_GETLOADAVG@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_LOADAVG_H@ /* OpenIndiana has a bug: must be included before . */ # include # include #endif /* Native Windows platforms declare mktemp() in . */ #if 0 && (defined _WIN32 && ! defined __CYGWIN__) # include #endif #if @GNULIB_RANDOM_R@ /* OSF/1 5.1 declares 'struct random_data' in , which is included from if _REENTRANT is defined. Include it whenever we need 'struct random_data'. */ # if @HAVE_RANDOM_H@ # include # endif # if !@HAVE_STRUCT_RANDOM_DATA@ || @REPLACE_RANDOM_R@ || !@HAVE_RANDOM_R@ # include # endif # if !@HAVE_STRUCT_RANDOM_DATA@ /* Define 'struct random_data'. But allow multiple gnulib generated replacements to coexist. */ # if !GNULIB_defined_struct_random_data struct random_data { int32_t *fptr; /* Front pointer. */ int32_t *rptr; /* Rear pointer. */ int32_t *state; /* Array of state values. */ int rand_type; /* Type of random number generator. */ int rand_deg; /* Degree of random number generator. */ int rand_sep; /* Distance between front and rear. */ int32_t *end_ptr; /* Pointer behind state table. */ }; # define GNULIB_defined_struct_random_data 1 # endif # endif #endif #if (@GNULIB_MKSTEMP@ || @GNULIB_MKSTEMPS@ || @GNULIB_MKOSTEMP@ || @GNULIB_MKOSTEMPS@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !(defined _WIN32 && ! defined __CYGWIN__) /* On Mac OS X 10.3, only declares mkstemp. */ /* On Mac OS X 10.5, only declares mkstemps. */ /* On Mac OS X 10.13, only declares mkostemp and mkostemps. */ /* On Cygwin 1.7.1, only declares getsubopt. */ /* But avoid namespace pollution on glibc systems and native Windows. */ # include #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The definition of _Noreturn is copied here. */ /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Some systems do not define EXIT_*, despite otherwise supporting C89. */ #ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 #endif /* Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere with proper operation of xargs. */ #ifndef EXIT_FAILURE # define EXIT_FAILURE 1 #elif EXIT_FAILURE != 1 # undef EXIT_FAILURE # define EXIT_FAILURE 1 #endif #if @GNULIB__EXIT@ /* Terminate the current process with the given return code, without running the 'atexit' handlers. */ # if !@HAVE__EXIT@ _GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status)); # endif _GL_CXXALIAS_SYS (_Exit, void, (int status)); _GL_CXXALIASWARN (_Exit); #elif defined GNULIB_POSIXCHECK # undef _Exit # if HAVE_RAW_DECL__EXIT _GL_WARN_ON_USE (_Exit, "_Exit is unportable - " "use gnulib module _Exit for portability"); # endif #endif #if @GNULIB_ATOLL@ /* Parse a signed decimal integer. Returns the value of the integer. Errors are not detected. */ # if !@HAVE_ATOLL@ _GL_FUNCDECL_SYS (atoll, long long, (const char *string) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (atoll, long long, (const char *string)); _GL_CXXALIASWARN (atoll); #elif defined GNULIB_POSIXCHECK # undef atoll # if HAVE_RAW_DECL_ATOLL _GL_WARN_ON_USE (atoll, "atoll is unportable - " "use gnulib module atoll for portability"); # endif #endif #if @GNULIB_CALLOC_POSIX@ # if @REPLACE_CALLOC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef calloc # define calloc rpl_calloc # endif _GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size)); _GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size)); # else _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size)); # endif _GL_CXXALIASWARN (calloc); #elif defined GNULIB_POSIXCHECK # undef calloc /* Assume calloc is always declared. */ _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " "use gnulib module calloc-posix for portability"); #endif #if @GNULIB_CANONICALIZE_FILE_NAME@ # if @REPLACE_CANONICALIZE_FILE_NAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define canonicalize_file_name rpl_canonicalize_file_name # endif _GL_FUNCDECL_RPL (canonicalize_file_name, char *, (const char *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); # else # if !@HAVE_CANONICALIZE_FILE_NAME@ _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); # endif _GL_CXXALIASWARN (canonicalize_file_name); #elif defined GNULIB_POSIXCHECK # undef canonicalize_file_name # if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME _GL_WARN_ON_USE (canonicalize_file_name, "canonicalize_file_name is unportable - " "use gnulib module canonicalize-lgpl for portability"); # endif #endif #if @GNULIB_GETLOADAVG@ /* Store max(NELEM,3) load average numbers in LOADAVG[]. The three numbers are the load average of the last 1 minute, the last 5 minutes, and the last 15 minutes, respectively. LOADAVG is an array of NELEM numbers. */ # if !@HAVE_DECL_GETLOADAVG@ _GL_FUNCDECL_SYS (getloadavg, int, (double loadavg[], int nelem) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getloadavg, int, (double loadavg[], int nelem)); _GL_CXXALIASWARN (getloadavg); #elif defined GNULIB_POSIXCHECK # undef getloadavg # if HAVE_RAW_DECL_GETLOADAVG _GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - " "use gnulib module getloadavg for portability"); # endif #endif #if @GNULIB_GETSUBOPT@ /* Assuming *OPTIONP is a comma separated list of elements of the form "token" or "token=value", getsubopt parses the first of these elements. If the first element refers to a "token" that is member of the given NULL-terminated array of tokens: - It replaces the comma with a NUL byte, updates *OPTIONP to point past the first option and the comma, sets *VALUEP to the value of the element (or NULL if it doesn't contain an "=" sign), - It returns the index of the "token" in the given array of tokens. Otherwise it returns -1, and *OPTIONP and *VALUEP are undefined. For more details see the POSIX:2001 specification. http://www.opengroup.org/susv3xsh/getsubopt.html */ # if !@HAVE_GETSUBOPT@ _GL_FUNCDECL_SYS (getsubopt, int, (char **optionp, char *const *tokens, char **valuep) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (getsubopt, int, (char **optionp, char *const *tokens, char **valuep)); _GL_CXXALIASWARN (getsubopt); #elif defined GNULIB_POSIXCHECK # undef getsubopt # if HAVE_RAW_DECL_GETSUBOPT _GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - " "use gnulib module getsubopt for portability"); # endif #endif #if @GNULIB_GRANTPT@ /* Change the ownership and access permission of the slave side of the pseudo-terminal whose master side is specified by FD. */ # if !@HAVE_GRANTPT@ _GL_FUNCDECL_SYS (grantpt, int, (int fd)); # endif _GL_CXXALIAS_SYS (grantpt, int, (int fd)); _GL_CXXALIASWARN (grantpt); #elif defined GNULIB_POSIXCHECK # undef grantpt # if HAVE_RAW_DECL_GRANTPT _GL_WARN_ON_USE (grantpt, "grantpt is not portable - " "use gnulib module grantpt for portability"); # endif #endif /* If _GL_USE_STDLIB_ALLOC is nonzero, the including module does not rely on GNU or POSIX semantics for malloc and realloc (for example, by never specifying a zero size), so it does not need malloc or realloc to be redefined. */ #if @GNULIB_MALLOC_POSIX@ # if @REPLACE_MALLOC@ # if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ || _GL_USE_STDLIB_ALLOC) # undef malloc # define malloc rpl_malloc # endif _GL_FUNCDECL_RPL (malloc, void *, (size_t size)); _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); # else _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); # endif _GL_CXXALIASWARN (malloc); #elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC # undef malloc /* Assume malloc is always declared. */ _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " "use gnulib module malloc-posix for portability"); #endif /* Convert a multibyte character to a wide character. */ #if @GNULIB_MBTOWC@ # if @REPLACE_MBTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbtowc # define mbtowc rpl_mbtowc # endif _GL_FUNCDECL_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); _GL_CXXALIAS_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); # else # if !@HAVE_MBTOWC@ _GL_FUNCDECL_SYS (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); # endif _GL_CXXALIAS_SYS (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); # endif _GL_CXXALIASWARN (mbtowc); #elif defined GNULIB_POSIXCHECK # undef mbtowc # if HAVE_RAW_DECL_MBTOWC _GL_WARN_ON_USE (mbtowc, "mbtowc is not portable - " "use gnulib module mbtowc for portability"); # endif #endif #if @GNULIB_MKDTEMP@ /* Create a unique temporary directory from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the directory name unique. Returns TEMPLATE, or a null pointer if it cannot get a unique name. The directory is created mode 700. */ # if !@HAVE_MKDTEMP@ _GL_FUNCDECL_SYS (mkdtemp, char *, (char * /*template*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/)); _GL_CXXALIASWARN (mkdtemp); #elif defined GNULIB_POSIXCHECK # undef mkdtemp # if HAVE_RAW_DECL_MKDTEMP _GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - " "use gnulib module mkdtemp for portability"); # endif #endif #if @GNULIB_MKOSTEMP@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the file name unique. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). The file is then created, with the specified flags, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if !@HAVE_MKOSTEMP@ _GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)); _GL_CXXALIASWARN (mkostemp); #elif defined GNULIB_POSIXCHECK # undef mkostemp # if HAVE_RAW_DECL_MKOSTEMP _GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - " "use gnulib module mkostemp for portability"); # endif #endif #if @GNULIB_MKOSTEMPS@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE before a suffix of length SUFFIXLEN must be "XXXXXX"; they are replaced with a string that makes the file name unique. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). The file is then created, with the specified flags, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if !@HAVE_MKOSTEMPS@ _GL_FUNCDECL_SYS (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/)); _GL_CXXALIASWARN (mkostemps); #elif defined GNULIB_POSIXCHECK # undef mkostemps # if HAVE_RAW_DECL_MKOSTEMPS _GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - " "use gnulib module mkostemps for portability"); # endif #endif #if @GNULIB_MKSTEMP@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the file name unique. The file is then created, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if @REPLACE_MKSTEMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mkstemp rpl_mkstemp # endif _GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/)); # else # if ! @HAVE_MKSTEMP@ _GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/)); # endif _GL_CXXALIASWARN (mkstemp); #elif defined GNULIB_POSIXCHECK # undef mkstemp # if HAVE_RAW_DECL_MKSTEMP _GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " "use gnulib module mkstemp for portability"); # endif #endif #if @GNULIB_MKSTEMPS@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE prior to a suffix of length SUFFIXLEN must be "XXXXXX"; they are replaced with a string that makes the file name unique. The file is then created, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if !@HAVE_MKSTEMPS@ _GL_FUNCDECL_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)); _GL_CXXALIASWARN (mkstemps); #elif defined GNULIB_POSIXCHECK # undef mkstemps # if HAVE_RAW_DECL_MKSTEMPS _GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - " "use gnulib module mkstemps for portability"); # endif #endif #if @GNULIB_POSIX_OPENPT@ /* Return an FD open to the master side of a pseudo-terminal. Flags should include O_RDWR, and may also include O_NOCTTY. */ # if !@HAVE_POSIX_OPENPT@ _GL_FUNCDECL_SYS (posix_openpt, int, (int flags)); # endif _GL_CXXALIAS_SYS (posix_openpt, int, (int flags)); _GL_CXXALIASWARN (posix_openpt); #elif defined GNULIB_POSIXCHECK # undef posix_openpt # if HAVE_RAW_DECL_POSIX_OPENPT _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - " "use gnulib module posix_openpt for portability"); # endif #endif #if @GNULIB_PTSNAME@ /* Return the pathname of the pseudo-terminal slave associated with the master FD is open on, or NULL on errors. */ # if @REPLACE_PTSNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ptsname # define ptsname rpl_ptsname # endif _GL_FUNCDECL_RPL (ptsname, char *, (int fd)); _GL_CXXALIAS_RPL (ptsname, char *, (int fd)); # else # if !@HAVE_PTSNAME@ _GL_FUNCDECL_SYS (ptsname, char *, (int fd)); # endif _GL_CXXALIAS_SYS (ptsname, char *, (int fd)); # endif _GL_CXXALIASWARN (ptsname); #elif defined GNULIB_POSIXCHECK # undef ptsname # if HAVE_RAW_DECL_PTSNAME _GL_WARN_ON_USE (ptsname, "ptsname is not portable - " "use gnulib module ptsname for portability"); # endif #endif #if @GNULIB_PTSNAME_R@ /* Set the pathname of the pseudo-terminal slave associated with the master FD is open on and return 0, or set errno and return non-zero on errors. */ # if @REPLACE_PTSNAME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ptsname_r # define ptsname_r rpl_ptsname_r # endif _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); # else # if !@HAVE_PTSNAME_R@ _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); # endif _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); # endif _GL_CXXALIASWARN (ptsname_r); #elif defined GNULIB_POSIXCHECK # undef ptsname_r # if HAVE_RAW_DECL_PTSNAME_R _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - " "use gnulib module ptsname_r for portability"); # endif #endif #if @GNULIB_PUTENV@ # if @REPLACE_PUTENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putenv # define putenv rpl_putenv # endif _GL_FUNCDECL_RPL (putenv, int, (char *string) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (putenv, int, (char *string)); # else _GL_CXXALIAS_SYS (putenv, int, (char *string)); # endif _GL_CXXALIASWARN (putenv); #endif #if @GNULIB_QSORT_R@ /* Sort an array of NMEMB elements, starting at address BASE, each element occupying SIZE bytes, in ascending order according to the comparison function COMPARE. */ # if @REPLACE_QSORT_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef qsort_r # define qsort_r rpl_qsort_r # endif _GL_FUNCDECL_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg) _GL_ARG_NONNULL ((1, 4))); _GL_CXXALIAS_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg)); # else # if !@HAVE_QSORT_R@ _GL_FUNCDECL_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg) _GL_ARG_NONNULL ((1, 4))); # endif _GL_CXXALIAS_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg)); # endif _GL_CXXALIASWARN (qsort_r); #elif defined GNULIB_POSIXCHECK # undef qsort_r # if HAVE_RAW_DECL_QSORT_R _GL_WARN_ON_USE (qsort_r, "qsort_r is not portable - " "use gnulib module qsort_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if !@HAVE_RANDOM_R@ # ifndef RAND_MAX # define RAND_MAX 2147483647 # endif # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_RANDOM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef random # define random rpl_random # endif _GL_FUNCDECL_RPL (random, long, (void)); _GL_CXXALIAS_RPL (random, long, (void)); # else # if !@HAVE_RANDOM@ _GL_FUNCDECL_SYS (random, long, (void)); # endif _GL_CXXALIAS_SYS (random, long, (void)); # endif _GL_CXXALIASWARN (random); #elif defined GNULIB_POSIXCHECK # undef random # if HAVE_RAW_DECL_RANDOM _GL_WARN_ON_USE (random, "random is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_RANDOM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef srandom # define srandom rpl_srandom # endif _GL_FUNCDECL_RPL (srandom, void, (unsigned int seed)); _GL_CXXALIAS_RPL (srandom, void, (unsigned int seed)); # else # if !@HAVE_RANDOM@ _GL_FUNCDECL_SYS (srandom, void, (unsigned int seed)); # endif _GL_CXXALIAS_SYS (srandom, void, (unsigned int seed)); # endif _GL_CXXALIASWARN (srandom); #elif defined GNULIB_POSIXCHECK # undef srandom # if HAVE_RAW_DECL_SRANDOM _GL_WARN_ON_USE (srandom, "srandom is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_INITSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef initstate # define initstate rpl_initstate # endif _GL_FUNCDECL_RPL (initstate, char *, (unsigned int seed, char *buf, size_t buf_size) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (initstate, char *, (unsigned int seed, char *buf, size_t buf_size)); # else # if !@HAVE_INITSTATE@ || !@HAVE_DECL_INITSTATE@ _GL_FUNCDECL_SYS (initstate, char *, (unsigned int seed, char *buf, size_t buf_size) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (initstate, char *, (unsigned int seed, char *buf, size_t buf_size)); # endif _GL_CXXALIASWARN (initstate); #elif defined GNULIB_POSIXCHECK # undef initstate # if HAVE_RAW_DECL_INITSTATE _GL_WARN_ON_USE (initstate, "initstate is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_SETSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setstate # define setstate rpl_setstate # endif _GL_FUNCDECL_RPL (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (setstate, char *, (char *arg_state)); # else # if !@HAVE_SETSTATE@ || !@HAVE_DECL_SETSTATE@ _GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (setstate, char *, (char *arg_state)); # endif _GL_CXXALIASWARN (setstate); #elif defined GNULIB_POSIXCHECK # undef setstate # if HAVE_RAW_DECL_SETSTATE _GL_WARN_ON_USE (setstate, "setstate is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef random_r # define random_r rpl_random_r # endif _GL_FUNCDECL_RPL (random_r, int, (struct random_data *buf, int32_t *result) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (random_r, int, (struct random_data *buf, int32_t *result)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (random_r, int, (struct random_data *buf, int32_t *result) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result)); # endif _GL_CXXALIASWARN (random_r); #elif defined GNULIB_POSIXCHECK # undef random_r # if HAVE_RAW_DECL_RANDOM_R _GL_WARN_ON_USE (random_r, "random_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef srandom_r # define srandom_r rpl_srandom_r # endif _GL_FUNCDECL_RPL (srandom_r, int, (unsigned int seed, struct random_data *rand_state) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (srandom_r, int, (unsigned int seed, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (srandom_r, int, (unsigned int seed, struct random_data *rand_state) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (srandom_r, int, (unsigned int seed, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (srandom_r); #elif defined GNULIB_POSIXCHECK # undef srandom_r # if HAVE_RAW_DECL_SRANDOM_R _GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef initstate_r # define initstate_r rpl_initstate_r # endif _GL_FUNCDECL_RPL (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state) _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state) _GL_ARG_NONNULL ((2, 4))); # endif _GL_CXXALIAS_SYS (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (initstate_r); #elif defined GNULIB_POSIXCHECK # undef initstate_r # if HAVE_RAW_DECL_INITSTATE_R _GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setstate_r # define setstate_r rpl_setstate_r # endif _GL_FUNCDECL_RPL (setstate_r, int, (char *arg_state, struct random_data *rand_state) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (setstate_r, int, (char *arg_state, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (setstate_r, int, (char *arg_state, struct random_data *rand_state) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (setstate_r, int, (char *arg_state, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (setstate_r); #elif defined GNULIB_POSIXCHECK # undef setstate_r # if HAVE_RAW_DECL_SETSTATE_R _GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_REALLOC_POSIX@ # if @REPLACE_REALLOC@ # if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ || _GL_USE_STDLIB_ALLOC) # undef realloc # define realloc rpl_realloc # endif _GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size)); _GL_CXXALIAS_RPL (realloc, void *, (void *ptr, size_t size)); # else _GL_CXXALIAS_SYS (realloc, void *, (void *ptr, size_t size)); # endif _GL_CXXALIASWARN (realloc); #elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC # undef realloc /* Assume realloc is always declared. */ _GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " "use gnulib module realloc-posix for portability"); #endif #if @GNULIB_REALLOCARRAY@ # if ! @HAVE_REALLOCARRAY@ _GL_FUNCDECL_SYS (reallocarray, void *, (void *ptr, size_t nmemb, size_t size)); # endif _GL_CXXALIAS_SYS (reallocarray, void *, (void *ptr, size_t nmemb, size_t size)); _GL_CXXALIASWARN (reallocarray); #elif defined GNULIB_POSIXCHECK # undef reallocarray # if HAVE_RAW_DECL_REALLOCARRAY _GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - " "use gnulib module reallocarray for portability"); # endif #endif #if @GNULIB_REALPATH@ # if @REPLACE_REALPATH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define realpath rpl_realpath # endif _GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved)); # else # if !@HAVE_REALPATH@ _GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved)); # endif _GL_CXXALIASWARN (realpath); #elif defined GNULIB_POSIXCHECK # undef realpath # if HAVE_RAW_DECL_REALPATH _GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " "canonicalize or canonicalize-lgpl for portability"); # endif #endif #if @GNULIB_RPMATCH@ /* Test a user response to a question. Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ # if !@HAVE_RPMATCH@ _GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (rpmatch, int, (const char *response)); _GL_CXXALIASWARN (rpmatch); #elif defined GNULIB_POSIXCHECK # undef rpmatch # if HAVE_RAW_DECL_RPMATCH _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " "use gnulib module rpmatch for portability"); # endif #endif #if @GNULIB_SECURE_GETENV@ /* Look up NAME in the environment, returning 0 in insecure situations. */ # if !@HAVE_SECURE_GETENV@ _GL_FUNCDECL_SYS (secure_getenv, char *, (char const *name) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); _GL_CXXALIASWARN (secure_getenv); #elif defined GNULIB_POSIXCHECK # undef secure_getenv # if HAVE_RAW_DECL_SECURE_GETENV _GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - " "use gnulib module secure_getenv for portability"); # endif #endif #if @GNULIB_SETENV@ /* Set NAME to VALUE in the environment. If REPLACE is nonzero, overwrite an existing value. */ # if @REPLACE_SETENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setenv # define setenv rpl_setenv # endif _GL_FUNCDECL_RPL (setenv, int, (const char *name, const char *value, int replace) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (setenv, int, (const char *name, const char *value, int replace)); # else # if !@HAVE_DECL_SETENV@ _GL_FUNCDECL_SYS (setenv, int, (const char *name, const char *value, int replace) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (setenv, int, (const char *name, const char *value, int replace)); # endif # if !(@REPLACE_SETENV@ && !@HAVE_DECL_SETENV@) _GL_CXXALIASWARN (setenv); # endif #elif defined GNULIB_POSIXCHECK # undef setenv # if HAVE_RAW_DECL_SETENV _GL_WARN_ON_USE (setenv, "setenv is unportable - " "use gnulib module setenv for portability"); # endif #endif #if @GNULIB_STRTOD@ /* Parse a double from STRING, updating ENDP if appropriate. */ # if @REPLACE_STRTOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtod rpl_strtod # endif # define GNULIB_defined_strtod_function 1 _GL_FUNCDECL_RPL (strtod, double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtod, double, (const char *str, char **endp)); # else # if !@HAVE_STRTOD@ _GL_FUNCDECL_SYS (strtod, double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtod, double, (const char *str, char **endp)); # endif _GL_CXXALIASWARN (strtod); #elif defined GNULIB_POSIXCHECK # undef strtod # if HAVE_RAW_DECL_STRTOD _GL_WARN_ON_USE (strtod, "strtod is unportable - " "use gnulib module strtod for portability"); # endif #endif #if @GNULIB_STRTOLD@ /* Parse a 'long double' from STRING, updating ENDP if appropriate. */ # if @REPLACE_STRTOLD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtold rpl_strtold # endif # define GNULIB_defined_strtold_function 1 _GL_FUNCDECL_RPL (strtold, long double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtold, long double, (const char *str, char **endp)); # else # if !@HAVE_STRTOLD@ _GL_FUNCDECL_SYS (strtold, long double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtold, long double, (const char *str, char **endp)); # endif _GL_CXXALIASWARN (strtold); #elif defined GNULIB_POSIXCHECK # undef strtold # if HAVE_RAW_DECL_STRTOLD _GL_WARN_ON_USE (strtold, "strtold is unportable - " "use gnulib module strtold for portability"); # endif #endif #if @GNULIB_STRTOLL@ /* Parse a signed integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is LLONG_MAX or LLONG_MIN, and errno is set to ERANGE. */ # if !@HAVE_STRTOLL@ _GL_FUNCDECL_SYS (strtoll, long long, (const char *string, char **endptr, int base) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoll, long long, (const char *string, char **endptr, int base)); _GL_CXXALIASWARN (strtoll); #elif defined GNULIB_POSIXCHECK # undef strtoll # if HAVE_RAW_DECL_STRTOLL _GL_WARN_ON_USE (strtoll, "strtoll is unportable - " "use gnulib module strtoll for portability"); # endif #endif #if @GNULIB_STRTOULL@ /* Parse an unsigned integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is ULLONG_MAX, and errno is set to ERANGE. */ # if !@HAVE_STRTOULL@ _GL_FUNCDECL_SYS (strtoull, unsigned long long, (const char *string, char **endptr, int base) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoull, unsigned long long, (const char *string, char **endptr, int base)); _GL_CXXALIASWARN (strtoull); #elif defined GNULIB_POSIXCHECK # undef strtoull # if HAVE_RAW_DECL_STRTOULL _GL_WARN_ON_USE (strtoull, "strtoull is unportable - " "use gnulib module strtoull for portability"); # endif #endif #if @GNULIB_UNLOCKPT@ /* Unlock the slave side of the pseudo-terminal whose master side is specified by FD, so that it can be opened. */ # if !@HAVE_UNLOCKPT@ _GL_FUNCDECL_SYS (unlockpt, int, (int fd)); # endif _GL_CXXALIAS_SYS (unlockpt, int, (int fd)); _GL_CXXALIASWARN (unlockpt); #elif defined GNULIB_POSIXCHECK # undef unlockpt # if HAVE_RAW_DECL_UNLOCKPT _GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " "use gnulib module unlockpt for portability"); # endif #endif #if @GNULIB_UNSETENV@ /* Remove the variable NAME from the environment. */ # if @REPLACE_UNSETENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unsetenv # define unsetenv rpl_unsetenv # endif _GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); # else # if !@HAVE_DECL_UNSETENV@ _GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); # endif # if !(@REPLACE_UNSETENV@ && !@HAVE_DECL_UNSETENV@) _GL_CXXALIASWARN (unsetenv); # endif #elif defined GNULIB_POSIXCHECK # undef unsetenv # if HAVE_RAW_DECL_UNSETENV _GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " "use gnulib module unsetenv for portability"); # endif #endif /* Convert a wide character to a multibyte character. */ #if @GNULIB_WCTOMB@ # if @REPLACE_WCTOMB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctomb # define wctomb rpl_wctomb # endif _GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc)); _GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc)); # else _GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc)); # endif _GL_CXXALIASWARN (wctomb); #endif #endif /* _@GUARD_PREFIX@_STDLIB_H */ #endif /* _@GUARD_PREFIX@_STDLIB_H */ #endif gsasl-1.8.1/gl/getpass.c0000644000000000000000000001214613516251574011752 00000000000000/* Copyright (C) 1992-2001, 2003-2007, 2009-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3, 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, see . */ #ifndef _LIBC # include #endif #include "getpass.h" #include #if !(defined _WIN32 && !defined __CYGWIN__) # include # if HAVE_DECL___FSETLOCKING && HAVE___FSETLOCKING # if HAVE_STDIO_EXT_H # include # endif # else # define __fsetlocking(stream, type) /* empty */ # endif # if HAVE_TERMIOS_H # include # endif # if USE_UNLOCKED_IO # include "unlocked-io.h" # else # if !HAVE_DECL_FFLUSH_UNLOCKED # undef fflush_unlocked # define fflush_unlocked(x) fflush (x) # endif # if !HAVE_DECL_FLOCKFILE # undef flockfile # define flockfile(x) ((void) 0) # endif # if !HAVE_DECL_FUNLOCKFILE # undef funlockfile # define funlockfile(x) ((void) 0) # endif # if !HAVE_DECL_FPUTS_UNLOCKED # undef fputs_unlocked # define fputs_unlocked(str,stream) fputs (str, stream) # endif # if !HAVE_DECL_PUTC_UNLOCKED # undef putc_unlocked # define putc_unlocked(c,stream) putc (c, stream) # endif # endif /* It is desirable to use this bit on systems that have it. The only bit of terminal state we want to twiddle is echoing, which is done in software; there is no need to change the state of the terminal hardware. */ # ifndef TCSASOFT # define TCSASOFT 0 # endif static void call_fclose (void *arg) { if (arg != NULL) fclose (arg); } char * getpass (const char *prompt) { FILE *tty; FILE *in, *out; # if HAVE_TCGETATTR struct termios s, t; # endif bool tty_changed = false; static char *buf; static size_t bufsize; ssize_t nread; /* Try to write to and read from the terminal if we can. If we can't open the terminal, use stderr and stdin. */ tty = fopen ("/dev/tty", "w+"); if (tty == NULL) { in = stdin; out = stderr; } else { /* We do the locking ourselves. */ __fsetlocking (tty, FSETLOCKING_BYCALLER); out = in = tty; } flockfile (out); /* Turn echoing off if it is on now. */ # if HAVE_TCGETATTR if (tcgetattr (fileno (in), &t) == 0) { /* Save the old one. */ s = t; /* Tricky, tricky. */ t.c_lflag &= ~(ECHO | ISIG); tty_changed = (tcsetattr (fileno (in), TCSAFLUSH | TCSASOFT, &t) == 0); } # endif /* Write the prompt. */ fputs_unlocked (prompt, out); fflush_unlocked (out); /* Read the password. */ nread = getline (&buf, &bufsize, in); /* According to the C standard, input may not be followed by output on the same stream without an intervening call to a file positioning function. Suppose in == out; then without this fseek call, on Solaris, HP-UX, AIX, OSF/1, the previous input gets echoed, whereas on IRIX, the following newline is not output as it should be. POSIX imposes similar restrictions if fileno (in) == fileno (out). The POSIX restrictions are tricky and change from POSIX version to POSIX version, so play it safe and invoke fseek even if in != out. */ fseeko (out, 0, SEEK_CUR); if (buf != NULL) { if (nread < 0) buf[0] = '\0'; else if (buf[nread - 1] == '\n') { /* Remove the newline. */ buf[nread - 1] = '\0'; if (tty_changed) { /* Write the newline that was not echoed. */ putc_unlocked ('\n', out); } } } /* Restore the original setting. */ # if HAVE_TCSETATTR if (tty_changed) tcsetattr (fileno (in), TCSAFLUSH | TCSASOFT, &s); # endif funlockfile (out); call_fclose (tty); return buf; } #else /* W32 native */ /* Windows implementation by Martin Lambers , improved by Simon Josefsson. */ /* For PASS_MAX. */ # include /* For _getch(). */ # include /* For strdup(). */ # include # ifndef PASS_MAX # define PASS_MAX 512 # endif char * getpass (const char *prompt) { char getpassbuf[PASS_MAX + 1]; size_t i = 0; int c; if (prompt) { fputs (prompt, stderr); fflush (stderr); } for (;;) { c = _getch (); if (c == '\r') { getpassbuf[i] = '\0'; break; } else if (i < PASS_MAX) { getpassbuf[i++] = c; } if (i >= PASS_MAX) { getpassbuf[i] = '\0'; break; } } if (prompt) { fputs ("\r\n", stderr); fflush (stderr); } return strdup (getpassbuf); } #endif gsasl-1.8.1/gl/iconv_open-aix.h0000644000000000000000000002351513521017344013220 00000000000000/* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 ./iconv_open-aix.gperf */ /* Computed positions: -k'4,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "./iconv_open-aix.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 32 #define MIN_WORD_LENGTH 4 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 6 #define MAX_HASH_VALUE 44 /* maximum key range = 39, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 0, 4, 25, 0, 11, 24, 9, 17, 3, 14, 21, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 45, 1, 45, 45, 45, 45, 0, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45 }; return len + asso_values[(unsigned char)str[3]+2] + asso_values[(unsigned char)str[len - 1]]; } struct stringpool_t { char stringpool_str6[sizeof("EUC-TW")]; char stringpool_str7[sizeof("EUC-KR")]; char stringpool_str8[sizeof("CP852")]; char stringpool_str9[sizeof("EUC-JP")]; char stringpool_str10[sizeof("ISO-8859-2")]; char stringpool_str11[sizeof("CP857")]; char stringpool_str12[sizeof("CP850")]; char stringpool_str13[sizeof("ISO-8859-7")]; char stringpool_str14[sizeof("CP932")]; char stringpool_str15[sizeof("GB2312")]; char stringpool_str16[sizeof("BIG5")]; char stringpool_str17[sizeof("CP437")]; char stringpool_str19[sizeof("ISO-8859-5")]; char stringpool_str20[sizeof("ISO-8859-15")]; char stringpool_str21[sizeof("ISO-8859-3")]; char stringpool_str22[sizeof("ISO-8859-13")]; char stringpool_str23[sizeof("CP1046")]; char stringpool_str24[sizeof("ISO-8859-8")]; char stringpool_str25[sizeof("CP856")]; char stringpool_str26[sizeof("CP1125")]; char stringpool_str27[sizeof("ISO-8859-6")]; char stringpool_str28[sizeof("CP865")]; char stringpool_str29[sizeof("CP922")]; char stringpool_str30[sizeof("CP1252")]; char stringpool_str31[sizeof("ISO-8859-9")]; char stringpool_str33[sizeof("CP943")]; char stringpool_str34[sizeof("ISO-8859-4")]; char stringpool_str35[sizeof("ISO-8859-1")]; char stringpool_str38[sizeof("CP1129")]; char stringpool_str40[sizeof("CP869")]; char stringpool_str41[sizeof("CP1124")]; char stringpool_str44[sizeof("CP861")]; }; static const struct stringpool_t stringpool_contents = { "EUC-TW", "EUC-KR", "CP852", "EUC-JP", "ISO-8859-2", "CP857", "CP850", "ISO-8859-7", "CP932", "GB2312", "BIG5", "CP437", "ISO-8859-5", "ISO-8859-15", "ISO-8859-3", "ISO-8859-13", "CP1046", "ISO-8859-8", "CP856", "CP1125", "ISO-8859-6", "CP865", "CP922", "CP1252", "ISO-8859-9", "CP943", "ISO-8859-4", "ISO-8859-1", "CP1129", "CP869", "CP1124", "CP861" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 59 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "IBM-eucTW"}, #line 58 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "IBM-eucKR"}, #line 41 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "IBM-852"}, #line 57 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "IBM-eucJP"}, #line 30 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "ISO8859-2"}, #line 43 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "IBM-857"}, #line 40 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "IBM-850"}, #line 35 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "ISO8859-7"}, #line 49 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "IBM-932"}, #line 56 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "IBM-eucCN"}, #line 60 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "big5"}, #line 39 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "IBM-437"}, {-1}, #line 33 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "ISO8859-5"}, #line 38 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "ISO8859-15"}, #line 31 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "ISO8859-3"}, #line 47 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "IBM-921"}, #line 51 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "IBM-1046"}, #line 36 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str24, "ISO8859-8"}, #line 42 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str25, "IBM-856"}, #line 53 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str26, "IBM-1125"}, #line 34 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str27, "ISO8859-6"}, #line 45 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str28, "IBM-865"}, #line 48 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str29, "IBM-922"}, #line 55 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str30, "IBM-1252"}, #line 37 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str31, "ISO8859-9"}, {-1}, #line 50 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str33, "IBM-943"}, #line 32 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str34, "ISO8859-4"}, #line 29 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str35, "ISO8859-1"}, {-1}, {-1}, #line 54 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str38, "IBM-1129"}, {-1}, #line 46 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str40, "IBM-869"}, #line 52 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str41, "IBM-1124"}, {-1}, {-1}, #line 44 "./iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str44, "IBM-861"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } gsasl-1.8.1/gl/sockets.h0000644000000000000000000000315313516251576011764 00000000000000/* sockets.h - wrappers for Windows socket functions Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson */ #ifndef SOCKETS_H #define SOCKETS_H 1 #define SOCKETS_1_0 0x0001 #define SOCKETS_1_1 0x0101 #define SOCKETS_2_0 0x0002 #define SOCKETS_2_1 0x0102 #define SOCKETS_2_2 0x0202 int gl_sockets_startup (int version) #ifndef WINDOWS_SOCKETS _GL_ATTRIBUTE_CONST #endif ; int gl_sockets_cleanup (void) #ifndef WINDOWS_SOCKETS _GL_ATTRIBUTE_CONST #endif ; /* This function is useful it you create a socket using gnulib's Winsock wrappers but needs to pass on the socket handle to some other library that only accepts sockets. */ #ifdef WINDOWS_SOCKETS # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif static inline SOCKET gl_fd_to_handle (int fd) { return _get_osfhandle (fd); } #else # define gl_fd_to_handle(x) (x) #endif /* WINDOWS_SOCKETS */ #endif /* SOCKETS_H */ gsasl-1.8.1/gl/error.h0000644000000000000000000000553313516251574011444 00000000000000/* Declaration for error-reporting function Copyright (C) 1995-1997, 2003, 2006, 2008-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3 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, see . */ #ifndef _ERROR_H #define _ERROR_H 1 /* The __attribute__ feature is available in gcc versions 2.5 and later. The __-protected variants of the attributes 'format' and 'printf' are accepted by gcc versions 2.6.4 (effectively 2.7) and later. We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because gnulib and libintl do '#define printf __printf__' when they override the 'printf' function. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) #else # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ #endif /* On mingw, the flavor of printf depends on whether the extensions module * is in use; the check for determines the witness macro. */ #ifndef _GL_ATTRIBUTE_SPEC_PRINTF # if GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU # define _GL_ATTRIBUTE_SPEC_PRINTF __gnu_printf__ # else # define _GL_ATTRIBUTE_SPEC_PRINTF __printf__ # endif #endif #ifdef __cplusplus extern "C" { #endif /* Print a message with 'fprintf (stderr, FORMAT, ...)'; if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). If STATUS is nonzero, terminate the program with 'exit (STATUS)'. */ extern void error (int __status, int __errnum, const char *__format, ...) _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF, 3, 4)); extern void error_at_line (int __status, int __errnum, const char *__fname, unsigned int __lineno, const char *__format, ...) _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF, 5, 6)); /* If NULL, error will flush stdout, then print on stderr the program name, a colon and a space. Otherwise, error will call this function without parameters instead. */ extern void (*error_print_progname) (void); /* This variable is incremented each time 'error' is called. */ extern unsigned int error_message_count; /* Sometimes we want to have at most one error per line. This variable controls whether this mode is selected or not. */ extern int error_one_per_line; #ifdef __cplusplus } #endif #endif /* error.h */ gsasl-1.8.1/gl/hard-locale.c0000644000000000000000000000414613516251573012457 00000000000000/* hard-locale.c -- Determine whether a locale is hard. Copyright (C) 1997-1999, 2002-2004, 2006-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include "hard-locale.h" #include #include #include #ifdef __GLIBC__ # define GLIBC_VERSION __GLIBC__ #elif defined __UCLIBC__ # define GLIBC_VERSION 2 #else # define GLIBC_VERSION 0 #endif /* Return true if the current CATEGORY locale is hard, i.e. if you can't get away with assuming traditional C or POSIX behavior. */ bool hard_locale (int category) { bool hard = true; char const *p = setlocale (category, NULL); if (p) { if (2 <= GLIBC_VERSION) { if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0) hard = false; } else { char *locale = strdup (p); if (locale) { /* Temporarily set the locale to the "C" and "POSIX" locales to find their names, so that we can determine whether one or the other is the caller's locale. */ if (((p = setlocale (category, "C")) && strcmp (p, locale) == 0) || ((p = setlocale (category, "POSIX")) && strcmp (p, locale) == 0)) hard = false; /* Restore the caller's locale. */ setlocale (category, locale); free (locale); } } } return hard; } gsasl-1.8.1/gl/stdbool.in.h0000644000000000000000000001175013516251577012367 00000000000000/* Copyright (C) 2001-2003, 2006-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 3, 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, see . */ #ifndef _GL_STDBOOL_H #define _GL_STDBOOL_H /* ISO C 99 for platforms that lack it. */ /* Usage suggestions: Programs that use should be aware of some limitations and standards compliance issues. Standards compliance: - must be #included before 'bool', 'false', 'true' can be used. - You cannot assume that sizeof (bool) == 1. - Programs should not undefine the macros bool, true, and false, as C99 lists that as an "obsolescent feature". Limitations of this substitute, when used in a C89 environment: - must be #included before the '_Bool' type can be used. - You cannot assume that _Bool is a typedef; it might be a macro. - Bit-fields of type 'bool' are not supported. Portable code should use 'unsigned int foo : 1;' rather than 'bool foo : 1;'. - In C99, casts and automatic conversions to '_Bool' or 'bool' are performed in such a way that every nonzero value gets converted to 'true', and zero gets converted to 'false'. This doesn't work with this substitute. With this substitute, only the values 0 and 1 give the expected result when converted to _Bool' or 'bool'. - C99 allows the use of (_Bool)0.0 in constant expressions, but this substitute cannot always provide this property. Also, it is suggested that programs use 'bool' rather than '_Bool'; this isn't required, but 'bool' is more common. */ /* 7.16. Boolean type and values */ /* BeOS already #defines false 0, true 1. We use the same definitions below, but temporarily we have to #undef them. */ #if defined __BEOS__ && !defined __HAIKU__ # include /* defines bool but not _Bool */ # undef false # undef true #endif #ifdef __cplusplus # define _Bool bool # define bool bool #else # if defined __BEOS__ && !defined __HAIKU__ /* A compiler known to have 'bool'. */ /* If the compiler already has both 'bool' and '_Bool', we can assume they are the same types. */ # if !@HAVE__BOOL@ typedef bool _Bool; # endif # else # if !defined __GNUC__ /* If @HAVE__BOOL@: Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when the built-in _Bool type is used. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html Similar bugs are likely with other compilers as well; this file wouldn't be used if was working. So we override the _Bool type. If !@HAVE__BOOL@: Need to define _Bool ourselves. As 'signed char' or as an enum type? Use of a typedef, with SunPRO C, leads to a stupid "warning: _Bool is a keyword in ISO C99". Use of an enum type, with IRIX cc, leads to a stupid "warning(1185): enumerated type mixed with another type". Even the existence of an enum type, without a typedef, "Invalid enumerator. (badenum)" with HP-UX cc on Tru64. The only benefit of the enum, debuggability, is not important with these compilers. So use 'signed char' and no enum. */ # define _Bool signed char # else /* With this compiler, trust the _Bool type if the compiler has it. */ # if !@HAVE__BOOL@ /* For the sake of symbolic names in gdb, define true and false as enum constants, not only as macros. It is tempting to write typedef enum { false = 0, true = 1 } _Bool; so that gdb prints values of type 'bool' symbolically. But then values of type '_Bool' might promote to 'int' or 'unsigned int' (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int' (see ISO C 99 6.3.1.1.(2)). So add a negative value to the enum; this ensures that '_Bool' promotes to 'int'. */ typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; # endif # endif # endif # define bool _Bool #endif /* The other macros must be usable in preprocessor directives. */ #ifdef __cplusplus # define false false # define true true #else # define false 0 # define true 1 #endif #define __bool_true_false_are_defined 1 #endif /* _GL_STDBOOL_H */ gsasl-1.8.1/gl/mbrtowc.c0000644000000000000000000003543613516251576011772 00000000000000/* Convert multibyte character to wide character. Copyright (C) 1999-2002, 2005-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2008. 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 3 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, see . */ #include /* Specification. */ #include #if C_LOCALE_MAYBE_EILSEQ # include "hard-locale.h" # include #endif #if GNULIB_defined_mbstate_t /* Implement mbrtowc() on top of mbtowc(). */ # include # include # include "localcharset.h" # include "streq.h" # include "verify.h" # include "glthread/lock.h" # ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif # endif /* Returns a classification of special values of the encoding of the current locale. */ typedef enum { enc_other, /* other */ enc_utf8, /* UTF-8 */ enc_eucjp, /* EUC-JP */ enc_94, /* EUC-KR, GB2312, BIG5 */ enc_euctw, /* EUC-TW */ enc_gb18030, /* GB18030 */ enc_sjis /* SJIS */ } enc_t; static inline enc_t locale_enc (void) { const char *encoding = locale_charset (); if (STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) return enc_utf8; if (STREQ_OPT (encoding, "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0)) return enc_eucjp; if (STREQ_OPT (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) || STREQ_OPT (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0) || STREQ_OPT (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0)) return enc_94; if (STREQ_OPT (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0)) return enc_euctw; if (STREQ_OPT (encoding, "GB18030", 'G', 'B', '1', '8', '0', '3', '0', 0, 0)) return enc_gb18030; if (STREQ_OPT (encoding, "SJIS", 'S', 'J', 'I', 'S', 0, 0, 0, 0, 0)) return enc_sjis; return enc_other; } # if GNULIB_WCHAR_SINGLE /* When we know that the locale does not change, provide a speedup by caching the value of locale_enc. */ static int cached_locale_enc = -1; static inline enc_t locale_enc_cached (void) { if (cached_locale_enc < 0) cached_locale_enc = locale_enc (); return cached_locale_enc; } # else /* By default, don't make assumptions, hence no caching. */ # define locale_enc_cached locale_enc # endif /* This lock protects the internal state of mbtowc against multiple simultaneous calls of mbrtowc. */ gl_lock_define_initialized(static, mbtowc_lock) verify (sizeof (mbstate_t) >= 4); static char internal_state[4]; size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) { char *pstate = (char *)ps; if (s == NULL) { pwc = NULL; s = ""; n = 1; } if (n == 0) return (size_t)(-2); /* Here n > 0. */ if (pstate == NULL) pstate = internal_state; { size_t nstate = pstate[0]; char buf[4]; const char *p; size_t m; enc_t enc; int res; switch (nstate) { case 0: p = s; m = n; break; case 3: buf[2] = pstate[3]; FALLTHROUGH; case 2: buf[1] = pstate[2]; FALLTHROUGH; case 1: buf[0] = pstate[1]; p = buf; m = nstate; buf[m++] = s[0]; if (n >= 2 && m < 4) { buf[m++] = s[1]; if (n >= 3 && m < 4) buf[m++] = s[2]; } break; default: errno = EINVAL; return (size_t)(-1); } /* Here m > 0. */ enc = locale_enc_cached (); if (enc == enc_utf8) /* UTF-8 */ { /* Achieve multi-thread safety by not calling mbtowc() at all. */ /* Cf. unistr/u8-mbtouc.c. */ unsigned char c = (unsigned char) p[0]; if (c < 0x80) { if (pwc != NULL) *pwc = c; res = (c == 0 ? 0 : 1); goto success; } if (c >= 0xc2) { if (c < 0xe0) { if (m == 1) goto incomplete; else /* m >= 2 */ { unsigned char c2 = (unsigned char) p[1]; if ((c2 ^ 0x80) < 0x40) { if (pwc != NULL) *pwc = ((unsigned int) (c & 0x1f) << 6) | (unsigned int) (c2 ^ 0x80); res = 2; goto success; } } } else if (c < 0xf0) { if (m == 1) goto incomplete; else { unsigned char c2 = (unsigned char) p[1]; if ((c2 ^ 0x80) < 0x40 && (c >= 0xe1 || c2 >= 0xa0) && (c != 0xed || c2 < 0xa0)) { if (m == 2) goto incomplete; else /* m >= 3 */ { unsigned char c3 = (unsigned char) p[2]; if ((c3 ^ 0x80) < 0x40) { if (pwc != NULL) *pwc = ((unsigned int) (c & 0x0f) << 12) | ((unsigned int) (c2 ^ 0x80) << 6) | (unsigned int) (c3 ^ 0x80); res = 3; goto success; } } } } } else if (c <= 0xf4) { if (m == 1) goto incomplete; else { unsigned char c2 = (unsigned char) p[1]; if ((c2 ^ 0x80) < 0x40 && (c >= 0xf1 || c2 >= 0x90) && (c < 0xf4 || (c == 0xf4 && c2 < 0x90))) { if (m == 2) goto incomplete; else { unsigned char c3 = (unsigned char) p[2]; if ((c3 ^ 0x80) < 0x40) { if (m == 3) goto incomplete; else /* m >= 4 */ { unsigned char c4 = (unsigned char) p[3]; if ((c4 ^ 0x80) < 0x40) { if (pwc != NULL) *pwc = ((unsigned int) (c & 0x07) << 18) | ((unsigned int) (c2 ^ 0x80) << 12) | ((unsigned int) (c3 ^ 0x80) << 6) | (unsigned int) (c4 ^ 0x80); res = 4; goto success; } } } } } } } } goto invalid; } else { /* The hidden internal state of mbtowc would make this function not multi-thread safe. Achieve multi-thread safety through a lock. */ gl_lock_lock (mbtowc_lock); /* Put the hidden internal state of mbtowc into its initial state. This is needed at least with glibc, uClibc, and MSVC CRT. See . */ mbtowc (NULL, NULL, 0); res = mbtowc (pwc, p, m); gl_lock_unlock (mbtowc_lock); if (res >= 0) { if (pwc != NULL && ((*pwc == 0) != (res == 0))) abort (); goto success; } /* mbtowc does not distinguish between invalid and incomplete multibyte sequences. But mbrtowc needs to make this distinction. There are two possible approaches: - Use iconv() and its return value. - Use built-in knowledge about the possible encodings. Given the low quality of implementation of iconv() on the systems that lack mbrtowc(), we use the second approach. The possible encodings are: - 8-bit encodings, - EUC-JP, EUC-KR, GB2312, EUC-TW, BIG5, GB18030, SJIS, - UTF-8 (already handled above). Use specialized code for each. */ if (m >= 4 || m >= MB_CUR_MAX) goto invalid; /* Here MB_CUR_MAX > 1 and 0 < m < 4. */ switch (enc) { /* As a reference for this code, you can use the GNU libiconv implementation. Look for uses of the RET_TOOFEW macro. */ case enc_eucjp: /* EUC-JP */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0xa1 && c < 0xff) || c == 0x8e || c == 0x8f) goto incomplete; } if (m == 2) { unsigned char c = (unsigned char) p[0]; if (c == 0x8f) { unsigned char c2 = (unsigned char) p[1]; if (c2 >= 0xa1 && c2 < 0xff) goto incomplete; } } goto invalid; } case enc_94: /* EUC-KR, GB2312, BIG5 */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if (c >= 0xa1 && c < 0xff) goto incomplete; } goto invalid; } case enc_euctw: /* EUC-TW */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0xa1 && c < 0xff) || c == 0x8e) goto incomplete; } else /* m == 2 || m == 3 */ { unsigned char c = (unsigned char) p[0]; if (c == 0x8e) goto incomplete; } goto invalid; } case enc_gb18030: /* GB18030 */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0x90 && c <= 0xe3) || (c >= 0xf8 && c <= 0xfe)) goto incomplete; } else /* m == 2 || m == 3 */ { unsigned char c = (unsigned char) p[0]; if (c >= 0x90 && c <= 0xe3) { unsigned char c2 = (unsigned char) p[1]; if (c2 >= 0x30 && c2 <= 0x39) { if (m == 2) goto incomplete; else /* m == 3 */ { unsigned char c3 = (unsigned char) p[2]; if (c3 >= 0x81 && c3 <= 0xfe) goto incomplete; } } } } goto invalid; } case enc_sjis: /* SJIS */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0x81 && c <= 0x9f) || (c >= 0xe0 && c <= 0xea) || (c >= 0xf0 && c <= 0xf9)) goto incomplete; } goto invalid; } default: /* An unknown multibyte encoding. */ goto incomplete; } } success: /* res >= 0 is the corrected return value of mbtowc (pwc, p, m). */ if (nstate >= (res > 0 ? res : 1)) abort (); res -= nstate; pstate[0] = 0; return res; incomplete: { size_t k = nstate; /* Here 0 <= k < m < 4. */ pstate[++k] = s[0]; if (k < m) { pstate[++k] = s[1]; if (k < m) pstate[++k] = s[2]; } if (k != m) abort (); } pstate[0] = m; return (size_t)(-2); invalid: errno = EILSEQ; /* The conversion state is undefined, says POSIX. */ return (size_t)(-1); } } #else /* Override the system's mbrtowc() function. */ # undef mbrtowc size_t rpl_mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) { size_t ret; wchar_t wc; # if MBRTOWC_NULL_ARG2_BUG || MBRTOWC_RETVAL_BUG || MBRTOWC_EMPTY_INPUT_BUG if (s == NULL) { pwc = NULL; s = ""; n = 1; } # endif # if MBRTOWC_EMPTY_INPUT_BUG if (n == 0) return (size_t) -2; # endif if (! pwc) pwc = &wc; # if MBRTOWC_RETVAL_BUG { static mbstate_t internal_state; /* Override mbrtowc's internal state. We cannot call mbsinit() on the hidden internal state, but we can call it on our variable. */ if (ps == NULL) ps = &internal_state; if (!mbsinit (ps)) { /* Parse the rest of the multibyte character byte for byte. */ size_t count = 0; for (; n > 0; s++, n--) { ret = mbrtowc (&wc, s, 1, ps); if (ret == (size_t)(-1)) return (size_t)(-1); count++; if (ret != (size_t)(-2)) { /* The multibyte character has been completed. */ *pwc = wc; return (wc == 0 ? 0 : count); } } return (size_t)(-2); } } # endif ret = mbrtowc (pwc, s, n, ps); # if MBRTOWC_NUL_RETVAL_BUG if (ret < (size_t) -2 && !*pwc) return 0; # endif # if C_LOCALE_MAYBE_EILSEQ if ((size_t) -2 <= ret && n != 0 && ! hard_locale (LC_CTYPE)) { unsigned char uc = *s; *pwc = uc; return 1; } # endif return ret; } #endif gsasl-1.8.1/gl/shutdown.c0000644000000000000000000000234513516251576012161 00000000000000/* shutdown.c --- wrappers for Windows shutdown function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef shutdown int rpl_shutdown (int fd, int how) { SOCKET sock = FD_TO_SOCKET (fd); if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { int r = shutdown (sock, how); if (r < 0) set_winsock_errno (); return r; } } gsasl-1.8.1/gl/msvc-inval.c0000644000000000000000000000751213516251576012366 00000000000000/* Invalid parameter handler for MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include "msvc-inval.h" #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) /* Get _invalid_parameter_handler type and _set_invalid_parameter_handler declaration. */ # include # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { } # else /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include # if defined _MSC_VER static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); } # else /* An index to thread-local storage. */ static DWORD tls_index; static int tls_initialized /* = 0 */; /* Used as a fallback only. */ static struct gl_msvc_inval_per_thread not_per_thread; struct gl_msvc_inval_per_thread * gl_msvc_inval_current (void) { if (!tls_initialized) { tls_index = TlsAlloc (); tls_initialized = 1; } if (tls_index == TLS_OUT_OF_INDEXES) /* TlsAlloc had failed. */ return ¬_per_thread; else { struct gl_msvc_inval_per_thread *pointer = (struct gl_msvc_inval_per_thread *) TlsGetValue (tls_index); if (pointer == NULL) { /* First call. Allocate a new 'struct gl_msvc_inval_per_thread'. */ pointer = (struct gl_msvc_inval_per_thread *) malloc (sizeof (struct gl_msvc_inval_per_thread)); if (pointer == NULL) /* Could not allocate memory. Use the global storage. */ pointer = ¬_per_thread; TlsSetValue (tls_index, pointer); } return pointer; } } static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { struct gl_msvc_inval_per_thread *current = gl_msvc_inval_current (); if (current->restart_valid) longjmp (current->restart, 1); else /* An invalid parameter notification from outside the gnulib code. Give the caller a chance to intervene. */ RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); } # endif # endif static int gl_msvc_inval_initialized /* = 0 */; void gl_msvc_inval_ensure_handler (void) { if (gl_msvc_inval_initialized == 0) { _set_invalid_parameter_handler (gl_msvc_invalid_parameter_handler); gl_msvc_inval_initialized = 1; } } #endif gsasl-1.8.1/gl/getdelim.c0000644000000000000000000000751213516251574012077 00000000000000/* getdelim.c --- Implementation of replacement getdelim function. Copyright (C) 1994, 1996-1998, 2001, 2003, 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Ported from glibc by Simon Josefsson. */ /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the lineptr == NULL || n == NULL || fp == NULL tests below. */ #define _GL_ARG_NONNULL(params) #include #include #include #include #include #include #ifndef SSIZE_MAX # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) #endif #if USE_UNLOCKED_IO # include "unlocked-io.h" # define getc_maybe_unlocked(fp) getc(fp) #elif !HAVE_FLOCKFILE || !HAVE_FUNLOCKFILE || !HAVE_DECL_GETC_UNLOCKED # undef flockfile # undef funlockfile # define flockfile(x) ((void) 0) # define funlockfile(x) ((void) 0) # define getc_maybe_unlocked(fp) getc(fp) #else # define getc_maybe_unlocked(fp) getc_unlocked(fp) #endif static void alloc_failed (void) { #if defined _WIN32 && ! defined __CYGWIN__ /* Avoid errno problem without using the realloc module; see: https://lists.gnu.org/r/bug-gnulib/2016-08/msg00025.html */ errno = ENOMEM; #endif } /* Read up to (and including) a DELIMITER from FP into *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *N characters of space. It is realloc'ed as necessary. Returns the number of characters read (not including the null terminator), or -1 on error or EOF. */ ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) { ssize_t result; size_t cur_len = 0; if (lineptr == NULL || n == NULL || fp == NULL) { errno = EINVAL; return -1; } flockfile (fp); if (*lineptr == NULL || *n == 0) { char *new_lineptr; *n = 120; new_lineptr = (char *) realloc (*lineptr, *n); if (new_lineptr == NULL) { alloc_failed (); result = -1; goto unlock_return; } *lineptr = new_lineptr; } for (;;) { int i; i = getc_maybe_unlocked (fp); if (i == EOF) { result = -1; break; } /* Make enough space for len+1 (for final NUL) bytes. */ if (cur_len + 1 >= *n) { size_t needed_max = SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; size_t needed = 2 * *n + 1; /* Be generous. */ char *new_lineptr; if (needed_max < needed) needed = needed_max; if (cur_len + 1 >= needed) { result = -1; errno = EOVERFLOW; goto unlock_return; } new_lineptr = (char *) realloc (*lineptr, needed); if (new_lineptr == NULL) { alloc_failed (); result = -1; goto unlock_return; } *lineptr = new_lineptr; *n = needed; } (*lineptr)[cur_len] = i; cur_len++; if (i == delimiter) break; } (*lineptr)[cur_len] = '\0'; result = cur_len ? cur_len : result; unlock_return: funlockfile (fp); /* doesn't set errno */ return result; } gsasl-1.8.1/gl/sys_select.in.h0000644000000000000000000002756713516251577013113 00000000000000/* Substitute for . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif @PRAGMA_COLUMNS@ /* On OSF/1 and Solaris 2.6, and both include . On Cygwin, includes . Simply delegate to the system's header in this case. */ #if (@HAVE_SYS_SELECT_H@ \ && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TYPES_H \ && ((defined __osf__ && defined _SYS_TYPES_H_ \ && defined _OSF_SOURCE) \ || (defined __sun && defined _SYS_TYPES_H \ && (! (defined _XOPEN_SOURCE || defined _POSIX_C_SOURCE) \ || defined __EXTENSIONS__)))) # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TYPES_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ #elif (@HAVE_SYS_SELECT_H@ \ && (defined _CYGWIN_SYS_TIME_H \ || (!defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H \ && ((defined __osf__ && defined _SYS_TIME_H_ \ && defined _OSF_SOURCE) \ || (defined __sun && defined _SYS_TIME_H \ && (! (defined _XOPEN_SOURCE \ || defined _POSIX_C_SOURCE) \ || defined __EXTENSIONS__)))))) # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ /* On IRIX 6.5, includes , which includes , which includes . At this point we cannot include , because that includes , which gives a syntax error because has not been completely processed. Simply delegate to the system's header in this case. */ #elif @HAVE_SYS_SELECT_H@ && defined __sgi && (defined _SYS_BSD_TYPES_H && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H) # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ /* On OpenBSD 5.0, includes , which includes . At this point we cannot include , because that includes gnulib's pthread.h override, which gives a syntax error because /usr/include/pthread.h has not been completely processed. Simply delegate to the system's header in this case. */ #elif @HAVE_SYS_SELECT_H@ && defined __OpenBSD__ && (defined _PTHREAD_H_ && !defined PTHREAD_MUTEX_INITIALIZER) # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ #else #ifndef _@GUARD_PREFIX@_SYS_SELECT_H /* On many platforms, assumes prior inclusion of . Also, mingw defines sigset_t there, instead of in where it belongs. */ #include #if @HAVE_SYS_SELECT_H@ /* On OSF/1 4.0, provides only a forward declaration of 'struct timeval', and no definition of this type. Also, Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select() in . But avoid namespace pollution on glibc systems and "unknown type name" problems on Cygwin. */ # if !(defined __GLIBC__ || defined __CYGWIN__) # include # endif /* On AIX 7 and Solaris 10, provides an FD_ZERO implementation that relies on memset(), but without including . But in any case avoid namespace pollution on glibc systems. */ # if (defined __OpenBSD__ || defined _AIX || defined __sun || defined __osf__ || defined __BEOS__) \ && ! defined __GLIBC__ # include # endif /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ #endif /* Get definition of 'sigset_t'. But avoid namespace pollution on glibc systems and "unknown type name" problems on Cygwin. Do this after the include_next (for the sake of OpenBSD 5.0) but before the split double-inclusion guard (for the sake of Solaris). */ #if !((defined __GLIBC__ || defined __CYGWIN__) && !defined __UCLIBC__) # include #endif #ifndef _@GUARD_PREFIX@_SYS_SELECT_H #define _@GUARD_PREFIX@_SYS_SELECT_H #if !@HAVE_SYS_SELECT_H@ /* A platform that lacks . */ /* Get the 'struct timeval' and 'fd_set' types and the FD_* macros on most platforms. */ # include /* On HP-UX 11, provides an FD_ZERO implementation that relies on memset(), but without including . */ # if defined __hpux # include # endif /* On native Windows platforms: Get the 'fd_set' type. Get the close() declaration before we override it. */ # if @HAVE_WINSOCK2_H@ # if !defined _GL_INCLUDING_WINSOCK2_H # define _GL_INCLUDING_WINSOCK2_H # include # undef _GL_INCLUDING_WINSOCK2_H # endif # include # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Fix some definitions from . */ #if @HAVE_WINSOCK2_H@ # if !GNULIB_defined_rpl_fd_isset /* Re-define FD_ISSET to avoid a WSA call while we are not using network sockets. */ static int rpl_fd_isset (SOCKET fd, fd_set * set) { u_int i; if (set == NULL) return 0; for (i = 0; i < set->fd_count; i++) if (set->fd_array[i] == fd) return 1; return 0; } # define GNULIB_defined_rpl_fd_isset 1 # endif # undef FD_ISSET # define FD_ISSET(fd, set) rpl_fd_isset(fd, set) #endif /* Hide some function declarations from . */ #if @HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_UNISTD_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else _GL_WARN_ON_USE (close, "close() used without including "); # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname gethostname_used_without_including_unistd_h # else _GL_WARN_ON_USE (gethostname, "gethostname() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h # undef recv # define recv recv_used_without_including_sys_socket_h # undef send # define send send_used_without_including_sys_socket_h # undef recvfrom # define recvfrom recvfrom_used_without_including_sys_socket_h # undef sendto # define sendto sendto_used_without_including_sys_socket_h # undef setsockopt # define setsockopt setsockopt_used_without_including_sys_socket_h # undef shutdown # define shutdown shutdown_used_without_including_sys_socket_h # else _GL_WARN_ON_USE (socket, "socket() used without including "); _GL_WARN_ON_USE (connect, "connect() used without including "); _GL_WARN_ON_USE (accept, "accept() used without including "); _GL_WARN_ON_USE (bind, "bind() used without including "); _GL_WARN_ON_USE (getpeername, "getpeername() used without including "); _GL_WARN_ON_USE (getsockname, "getsockname() used without including "); _GL_WARN_ON_USE (getsockopt, "getsockopt() used without including "); _GL_WARN_ON_USE (listen, "listen() used without including "); _GL_WARN_ON_USE (recv, "recv() used without including "); _GL_WARN_ON_USE (send, "send() used without including "); _GL_WARN_ON_USE (recvfrom, "recvfrom() used without including "); _GL_WARN_ON_USE (sendto, "sendto() used without including "); _GL_WARN_ON_USE (setsockopt, "setsockopt() used without including "); _GL_WARN_ON_USE (shutdown, "shutdown() used without including "); # endif # endif #endif #if @GNULIB_PSELECT@ # if @REPLACE_PSELECT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pselect # define pselect rpl_pselect # endif _GL_FUNCDECL_RPL (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); _GL_CXXALIAS_RPL (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); # else # if !@HAVE_PSELECT@ _GL_FUNCDECL_SYS (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); # endif _GL_CXXALIAS_SYS (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); # endif _GL_CXXALIASWARN (pselect); #elif defined GNULIB_POSIXCHECK # undef pselect # if HAVE_RAW_DECL_PSELECT _GL_WARN_ON_USE (pselect, "pselect is not portable - " "use gnulib module pselect for portability"); # endif #endif #if @GNULIB_SELECT@ # if @REPLACE_SELECT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select rpl_select # endif _GL_FUNCDECL_RPL (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timeval *restrict)); _GL_CXXALIAS_RPL (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timeval *restrict)); # else _GL_CXXALIAS_SYS (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timeval *restrict)); # endif _GL_CXXALIASWARN (select); #elif @HAVE_WINSOCK2_H@ # undef select # define select select_used_without_requesting_gnulib_module_select #elif defined GNULIB_POSIXCHECK # undef select # if HAVE_RAW_DECL_SELECT _GL_WARN_ON_USE (select, "select is not always POSIX compliant - " "use gnulib module select for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_SELECT_H */ #endif /* _@GUARD_PREFIX@_SYS_SELECT_H */ #endif /* OSF/1 */ gsasl-1.8.1/gl/alloca.c0000644000000000000000000003447313516251574011546 00000000000000/* alloca.c -- allocate automatically reclaimed memory (Mostly) portable public-domain implementation -- D A Gwyn This implementation of the PWB library alloca function, which is used to allocate space off the run-time stack so that it is automatically reclaimed upon procedure exit, was inspired by discussions with J. Q. Johnson of Cornell. J.Otto Tennant contributed the Cray support. There are some preprocessor constants that can be defined when compiling for your specific system, for improved efficiency; however, the defaults should be okay. The general concept of this implementation is to keep track of all alloca-allocated blocks, and reclaim any that are found to be deeper in the stack than the current invocation. This heuristic does not reclaim storage as soon as it becomes invalid, but it will do so eventually. As a special case, alloca(0) reclaims storage without allocating any. It is a good idea to use alloca(0) in your main control loop, etc. to force garbage collection. */ #include #include #include #include #ifdef emacs # include "lisp.h" # include "blockinput.h" # ifdef EMACS_FREE # undef free # define free EMACS_FREE # endif #else # define memory_full() abort () #endif /* If compiling with GCC 2, this file's not needed. */ #if !defined (__GNUC__) || __GNUC__ < 2 /* If someone has defined alloca as a macro, there must be some other way alloca is supposed to work. */ # ifndef alloca # ifdef emacs # ifdef static /* actually, only want this if static is defined as "" -- this is for usg, in which emacs must undefine static in order to make unexec workable */ # ifndef STACK_DIRECTION you lose -- must know STACK_DIRECTION at compile-time /* Using #error here is not wise since this file should work for old and obscure compilers. */ # endif /* STACK_DIRECTION undefined */ # endif /* static */ # endif /* emacs */ /* If your stack is a linked list of frames, you have to provide an "address metric" ADDRESS_FUNCTION macro. */ # if defined (CRAY) && defined (CRAY_STACKSEG_END) long i00afunc (); # define ADDRESS_FUNCTION(arg) (char *) i00afunc (&(arg)) # else # define ADDRESS_FUNCTION(arg) &(arg) # endif /* Define STACK_DIRECTION if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ # ifndef STACK_DIRECTION # define STACK_DIRECTION 0 /* Direction unknown. */ # endif # if STACK_DIRECTION != 0 # define STACK_DIR STACK_DIRECTION /* Known at compile-time. */ # else /* STACK_DIRECTION == 0; need run-time code. */ static int stack_dir; /* 1 or -1 once known. */ # define STACK_DIR stack_dir static int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } # endif /* STACK_DIRECTION == 0 */ /* An "alloca header" is used to: (a) chain together all alloca'ed blocks; (b) keep track of stack depth. It is very important that sizeof(header) agree with malloc alignment chunk size. The following default should work okay. */ # ifndef ALIGN_SIZE # define ALIGN_SIZE sizeof(double) # endif typedef union hdr { char align[ALIGN_SIZE]; /* To force sizeof(header). */ struct { union hdr *next; /* For chaining headers. */ char *deep; /* For stack depth measure. */ } h; } header; static header *last_alloca_header = NULL; /* -> last alloca header. */ /* Return a pointer to at least SIZE bytes of storage, which will be automatically reclaimed upon exit from the procedure that called alloca. Originally, this space was supposed to be taken from the current stack frame of the caller, but that method cannot be made to work for some implementations of C, for example under Gould's UTX/32. */ void * alloca (size_t size) { auto char probe; /* Probes stack depth: */ register char *depth = ADDRESS_FUNCTION (probe); # if STACK_DIRECTION == 0 if (STACK_DIR == 0) /* Unknown growth direction. */ STACK_DIR = find_stack_direction (NULL, (size & 1) + 20); # endif /* Reclaim garbage, defined as all alloca'd storage that was allocated from deeper in the stack than currently. */ { register header *hp; /* Traverses linked list. */ # ifdef emacs BLOCK_INPUT; # endif for (hp = last_alloca_header; hp != NULL;) if ((STACK_DIR > 0 && hp->h.deep > depth) || (STACK_DIR < 0 && hp->h.deep < depth)) { register header *np = hp->h.next; free (hp); /* Collect garbage. */ hp = np; /* -> next header. */ } else break; /* Rest are not deeper. */ last_alloca_header = hp; /* -> last valid storage. */ # ifdef emacs UNBLOCK_INPUT; # endif } if (size == 0) return NULL; /* No allocation required. */ /* Allocate combined header + user data storage. */ { /* Address of header. */ register header *new; size_t combined_size = sizeof (header) + size; if (combined_size < sizeof (header)) memory_full (); new = malloc (combined_size); if (! new) memory_full (); new->h.next = last_alloca_header; new->h.deep = depth; last_alloca_header = new; /* User storage begins just after header. */ return (void *) (new + 1); } } # if defined (CRAY) && defined (CRAY_STACKSEG_END) # ifdef DEBUG_I00AFUNC # include # endif # ifndef CRAY_STACK # define CRAY_STACK # ifndef CRAY2 /* Stack structures for CRAY-1, CRAY X-MP, and CRAY Y-MP */ struct stack_control_header { long shgrow:32; /* Number of times stack has grown. */ long shaseg:32; /* Size of increments to stack. */ long shhwm:32; /* High water mark of stack. */ long shsize:32; /* Current size of stack (all segments). */ }; /* The stack segment linkage control information occurs at the high-address end of a stack segment. (The stack grows from low addresses to high addresses.) The initial part of the stack segment linkage control information is 0200 (octal) words. This provides for register storage for the routine which overflows the stack. */ struct stack_segment_linkage { long ss[0200]; /* 0200 overflow words. */ long sssize:32; /* Number of words in this segment. */ long ssbase:32; /* Offset to stack base. */ long:32; long sspseg:32; /* Offset to linkage control of previous segment of stack. */ long:32; long sstcpt:32; /* Pointer to task common address block. */ long sscsnm; /* Private control structure number for microtasking. */ long ssusr1; /* Reserved for user. */ long ssusr2; /* Reserved for user. */ long sstpid; /* Process ID for pid based multi-tasking. */ long ssgvup; /* Pointer to multitasking thread giveup. */ long sscray[7]; /* Reserved for Cray Research. */ long ssa0; long ssa1; long ssa2; long ssa3; long ssa4; long ssa5; long ssa6; long ssa7; long sss0; long sss1; long sss2; long sss3; long sss4; long sss5; long sss6; long sss7; }; # else /* CRAY2 */ /* The following structure defines the vector of words returned by the STKSTAT library routine. */ struct stk_stat { long now; /* Current total stack size. */ long maxc; /* Amount of contiguous space which would be required to satisfy the maximum stack demand to date. */ long high_water; /* Stack high-water mark. */ long overflows; /* Number of stack overflow ($STKOFEN) calls. */ long hits; /* Number of internal buffer hits. */ long extends; /* Number of block extensions. */ long stko_mallocs; /* Block allocations by $STKOFEN. */ long underflows; /* Number of stack underflow calls ($STKRETN). */ long stko_free; /* Number of deallocations by $STKRETN. */ long stkm_free; /* Number of deallocations by $STKMRET. */ long segments; /* Current number of stack segments. */ long maxs; /* Maximum number of stack segments so far. */ long pad_size; /* Stack pad size. */ long current_address; /* Current stack segment address. */ long current_size; /* Current stack segment size. This number is actually corrupted by STKSTAT to include the fifteen word trailer area. */ long initial_address; /* Address of initial segment. */ long initial_size; /* Size of initial segment. */ }; /* The following structure describes the data structure which trails any stack segment. I think that the description in 'asdef' is out of date. I only describe the parts that I am sure about. */ struct stk_trailer { long this_address; /* Address of this block. */ long this_size; /* Size of this block (does not include this trailer). */ long unknown2; long unknown3; long link; /* Address of trailer block of previous segment. */ long unknown5; long unknown6; long unknown7; long unknown8; long unknown9; long unknown10; long unknown11; long unknown12; long unknown13; long unknown14; }; # endif /* CRAY2 */ # endif /* not CRAY_STACK */ # ifdef CRAY2 /* Determine a "stack measure" for an arbitrary ADDRESS. I doubt that "lint" will like this much. */ static long i00afunc (long *address) { struct stk_stat status; struct stk_trailer *trailer; long *block, size; long result = 0; /* We want to iterate through all of the segments. The first step is to get the stack status structure. We could do this more quickly and more directly, perhaps, by referencing the $LM00 common block, but I know that this works. */ STKSTAT (&status); /* Set up the iteration. */ trailer = (struct stk_trailer *) (status.current_address + status.current_size - 15); /* There must be at least one stack segment. Therefore it is a fatal error if "trailer" is null. */ if (trailer == NULL) abort (); /* Discard segments that do not contain our argument address. */ while (trailer != NULL) { block = (long *) trailer->this_address; size = trailer->this_size; if (block == NULL || size == 0) abort (); trailer = (struct stk_trailer *) trailer->link; if ((block <= address) && (address < (block + size))) break; } /* Set the result to the offset in this segment and add the sizes of all predecessor segments. */ result = address - block; if (trailer == NULL) { return result; } do { if (trailer->this_size <= 0) abort (); result += trailer->this_size; trailer = (struct stk_trailer *) trailer->link; } while (trailer != NULL); /* We are done. Note that if you present a bogus address (one not in any segment), you will get a different number back, formed from subtracting the address of the first block. This is probably not what you want. */ return (result); } # else /* not CRAY2 */ /* Stack address function for a CRAY-1, CRAY X-MP, or CRAY Y-MP. Determine the number of the cell within the stack, given the address of the cell. The purpose of this routine is to linearize, in some sense, stack addresses for alloca. */ static long i00afunc (long address) { long stkl = 0; long size, pseg, this_segment, stack; long result = 0; struct stack_segment_linkage *ssptr; /* Register B67 contains the address of the end of the current stack segment. If you (as a subprogram) store your registers on the stack and find that you are past the contents of B67, you have overflowed the segment. B67 also points to the stack segment linkage control area, which is what we are really interested in. */ stkl = CRAY_STACKSEG_END (); ssptr = (struct stack_segment_linkage *) stkl; /* If one subtracts 'size' from the end of the segment, one has the address of the first word of the segment. If this is not the first segment, 'pseg' will be nonzero. */ pseg = ssptr->sspseg; size = ssptr->sssize; this_segment = stkl - size; /* It is possible that calling this routine itself caused a stack overflow. Discard stack segments which do not contain the target address. */ while (!(this_segment <= address && address <= stkl)) { # ifdef DEBUG_I00AFUNC fprintf (stderr, "%011o %011o %011o\n", this_segment, address, stkl); # endif if (pseg == 0) break; stkl = stkl - pseg; ssptr = (struct stack_segment_linkage *) stkl; size = ssptr->sssize; pseg = ssptr->sspseg; this_segment = stkl - size; } result = address - this_segment; /* If you subtract pseg from the current end of the stack, you get the address of the previous stack segment's end. This seems a little convoluted to me, but I'll bet you save a cycle somewhere. */ while (pseg != 0) { # ifdef DEBUG_I00AFUNC fprintf (stderr, "%011o %011o\n", pseg, size); # endif stkl = stkl - pseg; ssptr = (struct stack_segment_linkage *) stkl; size = ssptr->sssize; pseg = ssptr->sspseg; result += size; } return (result); } # endif /* not CRAY2 */ # endif /* CRAY */ # endif /* no alloca */ #endif /* not GCC 2 */ gsasl-1.8.1/gl/intprops.h0000644000000000000000000005072513516251575012175 00000000000000/* intprops.h -- properties of integer types Copyright (C) 2001-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert. */ #ifndef _GL_INTPROPS_H #define _GL_INTPROPS_H #include /* Return a value with the common real type of E and V and the value of V. Do not evaluate E. */ #define _GL_INT_CONVERT(e, v) ((1 ? 0 : (e)) + (v)) /* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see . */ #define _GL_INT_NEGATE_CONVERT(e, v) ((1 ? 0 : (e)) - (v)) /* The extra casts in the following macros work around compiler bugs, e.g., in Cray C 5.0.3.0. */ /* True if the arithmetic type T is an integer type. bool counts as an integer. */ #define TYPE_IS_INTEGER(t) ((t) 1.5 == 1) /* True if the real type T is signed. */ #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) /* Return 1 if the real expression E, after promotion, has a signed or floating type. Do not evaluate E. */ #define EXPR_SIGNED(e) (_GL_INT_NEGATE_CONVERT (e, 1) < 0) /* Minimum and maximum values for integer types and expressions. */ /* The width in bits of the integer type or expression T. Do not evaluate T. Padding bits are not supported; this is checked at compile-time below. */ #define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT) /* The maximum and minimum values for the integer type T. */ #define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1))) /* The maximum and minimum values for the type of the expression E, after integer promotion. E is not evaluated. */ #define _GL_INT_MINIMUM(e) \ (EXPR_SIGNED (e) \ ? ~ _GL_SIGNED_INT_MAXIMUM (e) \ : _GL_INT_CONVERT (e, 0)) #define _GL_INT_MAXIMUM(e) \ (EXPR_SIGNED (e) \ ? _GL_SIGNED_INT_MAXIMUM (e) \ : _GL_INT_NEGATE_CONVERT (e, 1)) #define _GL_SIGNED_INT_MAXIMUM(e) \ (((_GL_INT_CONVERT (e, 1) << (TYPE_WIDTH ((e) + 0) - 2)) - 1) * 2 + 1) /* Work around OpenVMS incompatibility with C99. */ #if !defined LLONG_MAX && defined __INT64_MAX # define LLONG_MAX __INT64_MAX # define LLONG_MIN __INT64_MIN #endif /* This include file assumes that signed types are two's complement without padding bits; the above macros have undefined behavior otherwise. If this is a problem for you, please let us know how to fix it for your host. This assumption is tested by the intprops-tests module. */ /* Does the __typeof__ keyword work? This could be done by 'configure', but for now it's easier to do it by hand. */ #if (2 <= __GNUC__ \ || (1210 <= __IBMC__ && defined __IBM__TYPEOF__) \ || (0x5110 <= __SUNPRO_C && !__STDC__)) # define _GL_HAVE___TYPEOF__ 1 #else # define _GL_HAVE___TYPEOF__ 0 #endif /* Return 1 if the integer type or expression T might be signed. Return 0 if it is definitely unsigned. This macro does not evaluate its argument, and expands to an integer constant expression. */ #if _GL_HAVE___TYPEOF__ # define _GL_SIGNED_TYPE_OR_EXPR(t) TYPE_SIGNED (__typeof__ (t)) #else # define _GL_SIGNED_TYPE_OR_EXPR(t) 1 #endif /* Bound on length of the string representing an unsigned integer value representable in B bits. log10 (2.0) < 146/485. The smallest value of B where this bound is not tight is 2621. */ #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) /* Bound on length of the string representing an integer type or expression T. Subtract 1 for the sign bit if T is signed, and then add 1 more for a minus sign if needed. Because _GL_SIGNED_TYPE_OR_EXPR sometimes returns 0 when its argument is signed, this macro may overestimate the true bound by one byte when applied to unsigned types of size 2, 4, 16, ... bytes. */ #define INT_STRLEN_BOUND(t) \ (INT_BITS_STRLEN_BOUND (TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \ + _GL_SIGNED_TYPE_OR_EXPR (t)) /* Bound on buffer size needed to represent an integer type or expression T, including the terminating null. */ #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1) /* Range overflow checks. The INT__RANGE_OVERFLOW macros return 1 if the corresponding C operators might not yield numerically correct answers due to arithmetic overflow. They do not rely on undefined or implementation-defined behavior. Their implementations are simple and straightforward, but they are a bit harder to use than the INT__OVERFLOW macros described below. Example usage: long int i = ...; long int j = ...; if (INT_MULTIPLY_RANGE_OVERFLOW (i, j, LONG_MIN, LONG_MAX)) printf ("multiply would overflow"); else printf ("product is %ld", i * j); Restrictions on *_RANGE_OVERFLOW macros: These macros do not check for all possible numerical problems or undefined or unspecified behavior: they do not check for division by zero, for bad shift counts, or for shifting negative numbers. These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. The arithmetic arguments (including the MIN and MAX arguments) must be of the same integer type after the usual arithmetic conversions, and the type must have minimum value MIN and maximum MAX. Unsigned types should use a zero MIN of the proper type. These macros are tuned for constant MIN and MAX. For commutative operations such as A + B, they are also tuned for constant B. */ /* Return 1 if A + B would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? (a) < (min) - (b) \ : (max) - (b) < (a)) /* Return 1 if A - B would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? (max) + (b) < (a) \ : (a) < (min) + (b)) /* Return 1 if - A would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ ((min) < 0 \ ? (a) < - (max) \ : 0 < (a)) /* Return 1 if A * B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Avoid && and || as they tickle bugs in Sun C 5.11 2010/08/13 and other compilers; see . */ #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? ((a) < 0 \ ? (a) < (max) / (b) \ : (b) == -1 \ ? 0 \ : (min) / (b) < (a)) \ : (b) == 0 \ ? 0 \ : ((a) < 0 \ ? (a) < (min) / (b) \ : (max) / (b) < (a))) /* Return 1 if A / B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Do not check for division by zero. */ #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ ((min) < 0 && (b) == -1 && (a) < - (max)) /* Return 1 if A % B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Do not check for division by zero. Mathematically, % should never overflow, but on x86-like hosts INT_MIN % -1 traps, and the C standard permits this, so treat this as an overflow too. */ #define INT_REMAINDER_RANGE_OVERFLOW(a, b, min, max) \ INT_DIVIDE_RANGE_OVERFLOW (a, b, min, max) /* Return 1 if A << B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Here, MIN and MAX are for A only, and B need not be of the same type as the other arguments. The C standard says that behavior is undefined for shifts unless 0 <= B < wordwidth, and that when A is negative then A << B has undefined behavior and A >> B has implementation-defined behavior, but do not check these other restrictions. */ #define INT_LEFT_SHIFT_RANGE_OVERFLOW(a, b, min, max) \ ((a) < 0 \ ? (a) < (min) >> (b) \ : (max) >> (b) < (a)) /* True if __builtin_add_overflow (A, B, P) works when P is non-null. */ #if 5 <= __GNUC__ && !defined __ICC # define _GL_HAS_BUILTIN_OVERFLOW 1 #else # define _GL_HAS_BUILTIN_OVERFLOW 0 #endif /* True if __builtin_add_overflow_p (A, B, C) works. */ #define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__) /* The _GL*_OVERFLOW macros have the same restrictions as the *_RANGE_OVERFLOW macros, except that they do not assume that operands (e.g., A and B) have the same type as MIN and MAX. Instead, they assume that the result (e.g., A + B) has that type. */ #if _GL_HAS_BUILTIN_OVERFLOW_P # define _GL_ADD_OVERFLOW(a, b, min, max) \ __builtin_add_overflow_p (a, b, (__typeof__ ((a) + (b))) 0) # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ __builtin_sub_overflow_p (a, b, (__typeof__ ((a) - (b))) 0) # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ __builtin_mul_overflow_p (a, b, (__typeof__ ((a) * (b))) 0) #else # define _GL_ADD_OVERFLOW(a, b, min, max) \ ((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max) \ : (a) < 0 ? (b) <= (a) + (b) \ : (b) < 0 ? (a) <= (a) + (b) \ : (a) + (b) < (b)) # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ ((min) < 0 ? INT_SUBTRACT_RANGE_OVERFLOW (a, b, min, max) \ : (a) < 0 ? 1 \ : (b) < 0 ? (a) - (b) <= (a) \ : (a) < (b)) # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ (((min) == 0 && (((a) < 0 && 0 < (b)) || ((b) < 0 && 0 < (a)))) \ || INT_MULTIPLY_RANGE_OVERFLOW (a, b, min, max)) #endif #define _GL_DIVIDE_OVERFLOW(a, b, min, max) \ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ : (a) < 0 ? (b) <= (a) + (b) - 1 \ : (b) < 0 && (a) + (b) <= (a)) #define _GL_REMAINDER_OVERFLOW(a, b, min, max) \ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ : (a) < 0 ? (a) % (b) != ((max) - (b) + 1) % (b) \ : (b) < 0 && ! _GL_UNSIGNED_NEG_MULTIPLE (a, b, max)) /* Return a nonzero value if A is a mathematical multiple of B, where A is unsigned, B is negative, and MAX is the maximum value of A's type. A's type must be the same as (A % B)'s type. Normally (A % -B == 0) suffices, but things get tricky if -B would overflow. */ #define _GL_UNSIGNED_NEG_MULTIPLE(a, b, max) \ (((b) < -_GL_SIGNED_INT_MAXIMUM (b) \ ? (_GL_SIGNED_INT_MAXIMUM (b) == (max) \ ? (a) \ : (a) % (_GL_INT_CONVERT (a, _GL_SIGNED_INT_MAXIMUM (b)) + 1)) \ : (a) % - (b)) \ == 0) /* Check for integer overflow, and report low order bits of answer. The INT__OVERFLOW macros return 1 if the corresponding C operators might not yield numerically correct answers due to arithmetic overflow. The INT__WRAPV macros also store the low-order bits of the answer. These macros work correctly on all known practical hosts, and do not rely on undefined behavior due to signed arithmetic overflow. Example usage, assuming A and B are long int: if (INT_MULTIPLY_OVERFLOW (a, b)) printf ("result would overflow\n"); else printf ("result is %ld (no overflow)\n", a * b); Example usage with WRAPV flavor: long int result; bool overflow = INT_MULTIPLY_WRAPV (a, b, &result); printf ("result is %ld (%s)\n", result, overflow ? "after overflow" : "no overflow"); Restrictions on these macros: These macros do not check for all possible numerical problems or undefined or unspecified behavior: they do not check for division by zero, for bad shift counts, or for shifting negative numbers. These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. The WRAPV macros are not constant expressions. They support only +, binary -, and *. The result type must be signed. These macros are tuned for their last argument being a constant. Return 1 if the integer expressions A * B, A - B, -A, A * B, A / B, A % B, and A << B would overflow, respectively. */ #define INT_ADD_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW) #define INT_SUBTRACT_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW) #if _GL_HAS_BUILTIN_OVERFLOW_P # define INT_NEGATE_OVERFLOW(a) INT_SUBTRACT_OVERFLOW (0, a) #else # define INT_NEGATE_OVERFLOW(a) \ INT_NEGATE_RANGE_OVERFLOW (a, _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) #endif #define INT_MULTIPLY_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_MULTIPLY_OVERFLOW) #define INT_DIVIDE_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_DIVIDE_OVERFLOW) #define INT_REMAINDER_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_REMAINDER_OVERFLOW) #define INT_LEFT_SHIFT_OVERFLOW(a, b) \ INT_LEFT_SHIFT_RANGE_OVERFLOW (a, b, \ _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) /* Return 1 if the expression A B would overflow, where OP_RESULT_OVERFLOW (A, B, MIN, MAX) does the actual test, assuming MIN and MAX are the minimum and maximum for the result type. Arguments should be free of side effects. */ #define _GL_BINARY_OP_OVERFLOW(a, b, op_result_overflow) \ op_result_overflow (a, b, \ _GL_INT_MINIMUM (_GL_INT_CONVERT (a, b)), \ _GL_INT_MAXIMUM (_GL_INT_CONVERT (a, b))) /* Store the low-order bits of A + B, A - B, A * B, respectively, into *R. Return 1 if the result overflows. See above for restrictions. */ #define INT_ADD_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, +, __builtin_add_overflow, INT_ADD_OVERFLOW) #define INT_SUBTRACT_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, -, __builtin_sub_overflow, INT_SUBTRACT_OVERFLOW) #define INT_MULTIPLY_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, *, __builtin_mul_overflow, INT_MULTIPLY_OVERFLOW) /* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193 https://llvm.org/bugs/show_bug.cgi?id=25390 For now, assume all versions of GCC-like compilers generate bogus warnings for _Generic. This matters only for older compilers that lack __builtin_add_overflow. */ #if __GNUC__ # define _GL__GENERIC_BOGUS 1 #else # define _GL__GENERIC_BOGUS 0 #endif /* Store the low-order bits of A B into *R, where OP specifies the operation. BUILTIN is the builtin operation, and OVERFLOW the overflow predicate. Return 1 if the result overflows. See above for restrictions. */ #if _GL_HAS_BUILTIN_OVERFLOW # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r) #elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \ (_Generic \ (*(r), \ signed char: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ signed char, SCHAR_MIN, SCHAR_MAX), \ short int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ short int, SHRT_MIN, SHRT_MAX), \ int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ int, INT_MIN, INT_MAX), \ long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX), \ long long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ long long int, LLONG_MIN, LLONG_MAX))) #else # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \ (sizeof *(r) == sizeof (signed char) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ signed char, SCHAR_MIN, SCHAR_MAX) \ : sizeof *(r) == sizeof (short int) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ short int, SHRT_MIN, SHRT_MAX) \ : sizeof *(r) == sizeof (int) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ int, INT_MIN, INT_MAX) \ : _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow)) # ifdef LLONG_MAX # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ (sizeof *(r) == sizeof (long int) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX) \ : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ long long int, LLONG_MIN, LLONG_MAX)) # else # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX) # endif #endif /* Store the low-order bits of A B into *R, where the operation is given by OP. Use the unsigned type UT for calculation to avoid overflow problems. *R's type is T, with extrema TMIN and TMAX. T must be a signed integer type. Return 1 if the result overflows. */ #define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \ (sizeof ((a) op (b)) < sizeof (t) \ ? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \ : _GL_INT_OP_CALC1 (a, b, r, op, overflow, ut, t, tmin, tmax)) #define _GL_INT_OP_CALC1(a, b, r, op, overflow, ut, t, tmin, tmax) \ ((overflow (a, b) \ || (EXPR_SIGNED ((a) op (b)) && ((a) op (b)) < (tmin)) \ || (tmax) < ((a) op (b))) \ ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \ : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0)) /* Return the low-order bits of A B, where the operation is given by OP. Use the unsigned type UT for calculation to avoid undefined behavior on signed integer overflow, and convert the result to type T. UT is at least as wide as T and is no narrower than unsigned int, T is two's complement, and there is no padding or trap representations. Assume that converting UT to T yields the low-order bits, as is done in all known two's-complement C compilers. E.g., see: https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html According to the C standard, converting UT to T yields an implementation-defined result or signal for values outside T's range. However, code that works around this theoretical problem runs afoul of a compiler bug in Oracle Studio 12.3 x86. See: https://lists.gnu.org/r/bug-gnulib/2017-04/msg00049.html As the compiler bug is real, don't try to work around the theoretical problem. */ #define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \ ((t) ((ut) (a) op (ut) (b))) #endif /* _GL_INTPROPS_H */ gsasl-1.8.1/gl/getopt.in.h0000644000000000000000000000406313516251574012217 00000000000000/* Declarations for getopt. Copyright (C) 1989-2019 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library, which supplies a different version of this file. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This file 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 gnulib; if not, see . */ #ifndef _@GUARD_PREFIX@_GETOPT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. We must also inform the replacement unistd.h to not recursively use ; our definitions will be present soon enough. */ #if @HAVE_GETOPT_H@ # define _GL_SYSTEM_GETOPT # @INCLUDE_NEXT@ @NEXT_GETOPT_H@ # undef _GL_SYSTEM_GETOPT #endif #define _@GUARD_PREFIX@_GETOPT_H 1 /* Standalone applications should #define __GETOPT_PREFIX to an identifier that prefixes the external functions and variables defined in getopt-core.h and getopt-ext.h. When this happens, include the headers that might declare getopt so that they will not cause confusion if included after this file (if the system had , we have already included it). */ #if defined __GETOPT_PREFIX # if !@HAVE_GETOPT_H@ # define __need_system_stdlib_h # include # undef __need_system_stdlib_h # include # include # endif #endif /* The definition of _GL_ARG_NONNULL is copied here. */ #include #include #include #endif /* _@GUARD_PREFIX@_GETOPT_H */ gsasl-1.8.1/gl/getopt-ext.h0000644000000000000000000000572413516251573012414 00000000000000/* Declarations for getopt (GNU extensions). Copyright (C) 1989-2019 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library 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 3 of the License, or (at your option) any later version. The GNU C Library 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 the GNU C Library; if not, see . */ #ifndef _GETOPT_EXT_H #define _GETOPT_EXT_H 1 /* This header should not be used directly; include getopt.h instead. Unlike most bits headers, it does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ __BEGIN_DECLS /* Describe the long-named options requested by the application. The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector of 'struct option' terminated by an element containing a name which is zero. The field 'has_arg' is: no_argument (or 0) if the option does not take an argument, required_argument (or 1) if the option requires an argument, optional_argument (or 2) if the option takes an optional argument. If the field 'flag' is not NULL, it points to a variable that is set to the value given in the field 'val' when the option is found, but left unchanged if the option is not found. To have a long-named option do something other than set an 'int' to a compiled-in constant, such as set a value from 'optarg', set the option's 'flag' field to zero and its 'val' field to a nonzero value (the equivalent single-letter option character, if there is one). For long options that have a zero 'flag' field, 'getopt' returns the contents of the 'val' field. */ struct option { const char *name; /* has_arg can't be an enum because some compilers complain about type mismatches in all the code that assumes it is an int. */ int has_arg; int *flag; int val; }; /* Names for the values of the 'has_arg' field of 'struct option'. */ #define no_argument 0 #define required_argument 1 #define optional_argument 2 extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW _GL_ARG_NONNULL ((2, 3)); extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW _GL_ARG_NONNULL ((2, 3)); __END_DECLS #endif /* _GETOPT_EXT_H */ gsasl-1.8.1/gl/select.c0000644000000000000000000004003313516251576011561 00000000000000/* Emulation for select(2) Contributed by Paolo Bonzini. Copyright 2008-2019 Free Software Foundation, Inc. This file is part of gnulib. 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 3, 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, see . */ #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ /* Native Windows. */ #include #include #include #include #include #include #include #include #include /* Get the overridden 'struct timeval'. */ #include #if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" #else # include #endif #undef select /* Avoid warnings from gcc -Wcast-function-type. */ #define GetProcAddress \ (void *) GetProcAddress struct bitset { unsigned char in[FD_SETSIZE / CHAR_BIT]; unsigned char out[FD_SETSIZE / CHAR_BIT]; }; /* Declare data structures for ntdll functions. */ typedef struct _FILE_PIPE_LOCAL_INFORMATION { ULONG NamedPipeType; ULONG NamedPipeConfiguration; ULONG MaximumInstances; ULONG CurrentInstances; ULONG InboundQuota; ULONG ReadDataAvailable; ULONG OutboundQuota; ULONG WriteQuotaAvailable; ULONG NamedPipeState; ULONG NamedPipeEnd; } FILE_PIPE_LOCAL_INFORMATION, *PFILE_PIPE_LOCAL_INFORMATION; typedef struct _IO_STATUS_BLOCK { union { DWORD Status; PVOID Pointer; } u; ULONG_PTR Information; } IO_STATUS_BLOCK, *PIO_STATUS_BLOCK; typedef enum _FILE_INFORMATION_CLASS { FilePipeLocalInformation = 24 } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS; typedef DWORD (WINAPI *PNtQueryInformationFile) (HANDLE, IO_STATUS_BLOCK *, VOID *, ULONG, FILE_INFORMATION_CLASS); #ifndef PIPE_BUF #define PIPE_BUF 512 #endif static BOOL IsConsoleHandle (HANDLE h) { DWORD mode; return GetConsoleMode (h, &mode) != 0; } static BOOL IsSocketHandle (HANDLE h) { WSANETWORKEVENTS ev; if (IsConsoleHandle (h)) return FALSE; /* Under Wine, it seems that getsockopt returns 0 for pipes too. WSAEnumNetworkEvents instead distinguishes the two correctly. */ ev.lNetworkEvents = 0xDEADBEEF; WSAEnumNetworkEvents ((SOCKET) h, NULL, &ev); return ev.lNetworkEvents != 0xDEADBEEF; } /* Compute output fd_sets for libc descriptor FD (whose Windows handle is H). */ static int windows_poll_handle (HANDLE h, int fd, struct bitset *rbits, struct bitset *wbits, struct bitset *xbits) { BOOL read, write, except; int i, ret; INPUT_RECORD *irbuffer; DWORD avail, nbuffer; BOOL bRet; IO_STATUS_BLOCK iosb; FILE_PIPE_LOCAL_INFORMATION fpli; static PNtQueryInformationFile NtQueryInformationFile; static BOOL once_only; read = write = except = FALSE; switch (GetFileType (h)) { case FILE_TYPE_DISK: read = TRUE; write = TRUE; break; case FILE_TYPE_PIPE: if (!once_only) { NtQueryInformationFile = (PNtQueryInformationFile) GetProcAddress (GetModuleHandle ("ntdll.dll"), "NtQueryInformationFile"); once_only = TRUE; } if (PeekNamedPipe (h, NULL, 0, NULL, &avail, NULL) != 0) { if (avail) read = TRUE; } else if (GetLastError () == ERROR_BROKEN_PIPE) ; else { /* It was the write-end of the pipe. Check if it is writable. If NtQueryInformationFile fails, optimistically assume the pipe is writable. This could happen on Windows 9x, where NtQueryInformationFile is not available, or if we inherit a pipe that doesn't permit FILE_READ_ATTRIBUTES access on the write end (I think this should not happen since Windows XP SP2; WINE seems fine too). Otherwise, ensure that enough space is available for atomic writes. */ memset (&iosb, 0, sizeof (iosb)); memset (&fpli, 0, sizeof (fpli)); if (!NtQueryInformationFile || NtQueryInformationFile (h, &iosb, &fpli, sizeof (fpli), FilePipeLocalInformation) || fpli.WriteQuotaAvailable >= PIPE_BUF || (fpli.OutboundQuota < PIPE_BUF && fpli.WriteQuotaAvailable == fpli.OutboundQuota)) write = TRUE; } break; case FILE_TYPE_CHAR: write = TRUE; if (!(rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) break; ret = WaitForSingleObject (h, 0); if (ret == WAIT_OBJECT_0) { if (!IsConsoleHandle (h)) { read = TRUE; break; } nbuffer = avail = 0; bRet = GetNumberOfConsoleInputEvents (h, &nbuffer); /* Screen buffers handles are filtered earlier. */ assert (bRet); if (nbuffer == 0) { except = TRUE; break; } irbuffer = (INPUT_RECORD *) alloca (nbuffer * sizeof (INPUT_RECORD)); bRet = PeekConsoleInput (h, irbuffer, nbuffer, &avail); if (!bRet || avail == 0) { except = TRUE; break; } for (i = 0; i < avail; i++) if (irbuffer[i].EventType == KEY_EVENT) read = TRUE; } break; default: ret = WaitForSingleObject (h, 0); write = TRUE; if (ret == WAIT_OBJECT_0) read = TRUE; break; } ret = 0; if (read && (rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) { rbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); ret++; } if (write && (wbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) { wbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); ret++; } if (except && (xbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) { xbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); ret++; } return ret; } int rpl_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, struct timeval *timeout) #undef timeval { static struct timeval tv0; static HANDLE hEvent; HANDLE h, handle_array[FD_SETSIZE + 2]; fd_set handle_rfds, handle_wfds, handle_xfds; struct bitset rbits, wbits, xbits; unsigned char anyfds_in[FD_SETSIZE / CHAR_BIT]; DWORD ret, wait_timeout, nhandles, nsock, nbuffer; MSG msg; int i, fd, rc; clock_t tend; if (nfds > FD_SETSIZE) nfds = FD_SETSIZE; if (!timeout) wait_timeout = INFINITE; else { wait_timeout = timeout->tv_sec * 1000 + timeout->tv_usec / 1000; /* select is also used as a portable usleep. */ if (!rfds && !wfds && !xfds) { Sleep (wait_timeout); return 0; } } if (!hEvent) hEvent = CreateEvent (NULL, FALSE, FALSE, NULL); handle_array[0] = hEvent; nhandles = 1; nsock = 0; /* Copy descriptors to bitsets. At the same time, eliminate bits in the "wrong" direction for console input buffers and screen buffers, because screen buffers are waitable and they will block until a character is available. */ memset (&rbits, 0, sizeof (rbits)); memset (&wbits, 0, sizeof (wbits)); memset (&xbits, 0, sizeof (xbits)); memset (anyfds_in, 0, sizeof (anyfds_in)); if (rfds) for (i = 0; i < rfds->fd_count; i++) { fd = rfds->fd_array[i]; h = (HANDLE) _get_osfhandle (fd); if (IsConsoleHandle (h) && !GetNumberOfConsoleInputEvents (h, &nbuffer)) continue; rbits.in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); anyfds_in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); } else rfds = (fd_set *) alloca (sizeof (fd_set)); if (wfds) for (i = 0; i < wfds->fd_count; i++) { fd = wfds->fd_array[i]; h = (HANDLE) _get_osfhandle (fd); if (IsConsoleHandle (h) && GetNumberOfConsoleInputEvents (h, &nbuffer)) continue; wbits.in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); anyfds_in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); } else wfds = (fd_set *) alloca (sizeof (fd_set)); if (xfds) for (i = 0; i < xfds->fd_count; i++) { fd = xfds->fd_array[i]; xbits.in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); anyfds_in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); } else xfds = (fd_set *) alloca (sizeof (fd_set)); /* Zero all the fd_sets, including the application's. */ FD_ZERO (rfds); FD_ZERO (wfds); FD_ZERO (xfds); FD_ZERO (&handle_rfds); FD_ZERO (&handle_wfds); FD_ZERO (&handle_xfds); /* Classify handles. Create fd sets for sockets, poll the others. */ for (i = 0; i < nfds; i++) { if ((anyfds_in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) == 0) continue; h = (HANDLE) _get_osfhandle (i); if (!h) { errno = EBADF; return -1; } if (IsSocketHandle (h)) { int requested = FD_CLOSE; /* See above; socket handles are mapped onto select, but we need to map descriptors to handles. */ if (rbits.in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) { requested |= FD_READ | FD_ACCEPT; FD_SET ((SOCKET) h, rfds); FD_SET ((SOCKET) h, &handle_rfds); } if (wbits.in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) { requested |= FD_WRITE | FD_CONNECT; FD_SET ((SOCKET) h, wfds); FD_SET ((SOCKET) h, &handle_wfds); } if (xbits.in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) { requested |= FD_OOB; FD_SET ((SOCKET) h, xfds); FD_SET ((SOCKET) h, &handle_xfds); } WSAEventSelect ((SOCKET) h, hEvent, requested); nsock++; } else { handle_array[nhandles++] = h; /* Poll now. If we get an event, do not wait below. */ if (wait_timeout != 0 && windows_poll_handle (h, i, &rbits, &wbits, &xbits)) wait_timeout = 0; } } /* Place a sentinel at the end of the array. */ handle_array[nhandles] = NULL; /* When will the waiting period expire? */ if (wait_timeout != INFINITE) tend = clock () + wait_timeout; restart: if (wait_timeout == 0 || nsock == 0) rc = 0; else { /* See if we need to wait in the loop below. If any select is ready, do MsgWaitForMultipleObjects anyway to dispatch messages, but no need to call select again. */ rc = select (0, &handle_rfds, &handle_wfds, &handle_xfds, &tv0); if (rc == 0) { /* Restore the fd_sets for the other select we do below. */ memcpy (&handle_rfds, rfds, sizeof (fd_set)); memcpy (&handle_wfds, wfds, sizeof (fd_set)); memcpy (&handle_xfds, xfds, sizeof (fd_set)); } else wait_timeout = 0; } /* How much is left to wait? */ if (wait_timeout != INFINITE) { clock_t tnow = clock (); if (tend >= tnow) wait_timeout = tend - tnow; else wait_timeout = 0; } for (;;) { ret = MsgWaitForMultipleObjects (nhandles, handle_array, FALSE, wait_timeout, QS_ALLINPUT); if (ret == WAIT_OBJECT_0 + nhandles) { /* new input of some other kind */ BOOL bRet; while ((bRet = PeekMessage (&msg, NULL, 0, 0, PM_REMOVE)) != 0) { TranslateMessage (&msg); DispatchMessage (&msg); } } else break; } /* If we haven't done it yet, check the status of the sockets. */ if (rc == 0 && nsock > 0) rc = select (0, &handle_rfds, &handle_wfds, &handle_xfds, &tv0); if (nhandles > 1) { /* Count results that are not counted in the return value of select. */ nhandles = 1; for (i = 0; i < nfds; i++) { if ((anyfds_in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) == 0) continue; h = (HANDLE) _get_osfhandle (i); if (h == handle_array[nhandles]) { /* Not a socket. */ nhandles++; windows_poll_handle (h, i, &rbits, &wbits, &xbits); if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) || wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) || xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) rc++; } } if (rc == 0 && (wait_timeout == INFINITE /* If NHANDLES > 1, but no bits are set, it means we've been told incorrectly that some handle was signaled. This happens with anonymous pipes, which always cause MsgWaitForMultipleObjects to exit immediately, but no data is found ready to be read by windows_poll_handle. To avoid a total failure (whereby we return zero and don't wait at all), let's poll in a more busy loop. */ || (wait_timeout != 0 && nhandles > 1))) { /* Sleep 1 millisecond to avoid busy wait and retry with the original fd_sets. */ memcpy (&handle_rfds, rfds, sizeof (fd_set)); memcpy (&handle_wfds, wfds, sizeof (fd_set)); memcpy (&handle_xfds, xfds, sizeof (fd_set)); SleepEx (1, TRUE); goto restart; } if (timeout && wait_timeout == 0 && rc == 0) timeout->tv_sec = timeout->tv_usec = 0; } /* Now fill in the results. */ FD_ZERO (rfds); FD_ZERO (wfds); FD_ZERO (xfds); nhandles = 1; for (i = 0; i < nfds; i++) { if ((anyfds_in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) == 0) continue; h = (HANDLE) _get_osfhandle (i); if (h != handle_array[nhandles]) { /* Perform handle->descriptor mapping. */ WSAEventSelect ((SOCKET) h, NULL, 0); if (FD_ISSET (h, &handle_rfds)) FD_SET (i, rfds); if (FD_ISSET (h, &handle_wfds)) FD_SET (i, wfds); if (FD_ISSET (h, &handle_xfds)) FD_SET (i, xfds); } else { /* Not a socket. */ nhandles++; if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) FD_SET (i, rfds); if (wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) FD_SET (i, wfds); if (xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) FD_SET (i, xfds); } } return rc; } #else /* ! Native Windows. */ #include #include /* NULL */ #include #include #undef select int rpl_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, struct timeval *timeout) { int i; /* FreeBSD 8.2 has a bug: it does not always detect invalid fds. */ if (nfds < 0 || nfds > FD_SETSIZE) { errno = EINVAL; return -1; } for (i = 0; i < nfds; i++) { if (((rfds && FD_ISSET (i, rfds)) || (wfds && FD_ISSET (i, wfds)) || (xfds && FD_ISSET (i, xfds))) && dup2 (i, i) != i) return -1; } /* Interix 3.5 has a bug: it does not support nfds == 0. */ if (nfds == 0) { nfds = 1; rfds = NULL; wfds = NULL; xfds = NULL; } return select (nfds, rfds, wfds, xfds, timeout); } #endif gsasl-1.8.1/gl/fd-hook.c0000644000000000000000000000700413516251574011630 00000000000000/* Hook for making file descriptor functions close(), ioctl() extensible. Copyright (C) 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2009. 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 3 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, see . */ #include /* Specification. */ #include "fd-hook.h" #include /* Currently, this entire code is only needed for the handling of sockets on native Windows platforms. */ #if WINDOWS_SOCKETS /* The first and last link in the doubly linked list. Initially the list is empty. */ static struct fd_hook anchor = { &anchor, &anchor, NULL, NULL }; int execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, int fd) { if (remaining_list == &anchor) /* End of list reached. */ return primary (fd); else return remaining_list->private_close_fn (remaining_list->private_next, primary, fd); } int execute_all_close_hooks (gl_close_fn primary, int fd) { return execute_close_hooks (anchor.private_next, primary, fd); } int execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg) { if (remaining_list == &anchor) /* End of list reached. */ return primary (fd, request, arg); else return remaining_list->private_ioctl_fn (remaining_list->private_next, primary, fd, request, arg); } int execute_all_ioctl_hooks (gl_ioctl_fn primary, int fd, int request, void *arg) { return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); } void register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link) { if (close_hook == NULL) close_hook = execute_close_hooks; if (ioctl_hook == NULL) ioctl_hook = execute_ioctl_hooks; if (link->private_next == NULL && link->private_prev == NULL) { /* Add the link to the doubly linked list. */ link->private_next = anchor.private_next; link->private_prev = &anchor; link->private_close_fn = close_hook; link->private_ioctl_fn = ioctl_hook; anchor.private_next->private_prev = link; anchor.private_next = link; } else { /* The link is already in use. */ if (link->private_close_fn != close_hook || link->private_ioctl_fn != ioctl_hook) abort (); } } void unregister_fd_hook (struct fd_hook *link) { struct fd_hook *next = link->private_next; struct fd_hook *prev = link->private_prev; if (next != NULL && prev != NULL) { /* The link is in use. Remove it from the doubly linked list. */ prev->private_next = next; next->private_prev = prev; /* Clear the link, to mark it unused. */ link->private_next = NULL; link->private_prev = NULL; link->private_close_fn = NULL; link->private_ioctl_fn = NULL; } } #endif gsasl-1.8.1/gl/mbsinit.c0000644000000000000000000000451013516251576011747 00000000000000/* Test for initial conversion state. Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2008. 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 3 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, see . */ #include /* Specification. */ #include #include "verify.h" #if GNULIB_defined_mbstate_t /* Platforms that lack mbsinit() also lack mbrlen(), mbrtowc(), mbsrtowcs() and wcrtomb(), wcsrtombs(). We assume that - sizeof (mbstate_t) >= 4, - only stateless encodings are supported (such as UTF-8 and EUC-JP, but not ISO-2022 variants), - for each encoding, the number of bytes for a wide character is <= 4. (This maximum is attained for UTF-8, GB18030, EUC-TW.) We define the meaning of mbstate_t as follows: - In mb -> wc direction, mbstate_t's first byte contains the number of buffered bytes (in the range 0..3), followed by up to 3 buffered bytes. See mbrtowc.c. - In wc -> mb direction, mbstate_t contains no information. In other words, it is always in the initial state. */ verify (sizeof (mbstate_t) >= 4); int mbsinit (const mbstate_t *ps) { const char *pstate = (const char *)ps; return pstate == NULL || pstate[0] == 0; } #else int mbsinit (const mbstate_t *ps) { # if defined _WIN32 && !defined __CYGWIN__ /* Native Windows. */ # ifdef __MINGW32__ /* On mingw, 'mbstate_t' is defined as 'int'. */ return ps == NULL || *ps == 0; # else /* MSVC defines 'mbstate_t' as an 8-byte struct; the first 4-bytes matter. */ return ps == NULL || *(const unsigned int *)ps == 0; # endif # else /* Minix, HP-UX 11.00, Solaris 2.6, Interix, ... */ /* Maybe this definition works, maybe not... */ return ps == NULL || *(const char *)ps == 0; # endif } #endif gsasl-1.8.1/gl/xsize.h0000644000000000000000000000705713516251577011463 00000000000000/* xsize.h -- Checked size_t computations. Copyright (C) 2003, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _XSIZE_H #define _XSIZE_H /* Get size_t. */ #include /* Get SIZE_MAX. */ #include #if HAVE_STDINT_H # include #endif #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef XSIZE_INLINE # define XSIZE_INLINE _GL_INLINE #endif /* The size of memory objects is often computed through expressions of type size_t. Example: void* p = malloc (header_size + n * element_size). These computations can lead to overflow. When this happens, malloc() returns a piece of memory that is way too small, and the program then crashes while attempting to fill the memory. To avoid this, the functions and macros in this file check for overflow. The convention is that SIZE_MAX represents overflow. malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc implementation that uses mmap --, it's recommended to use size_overflow_p() or size_in_bounds_p() before invoking malloc(). The example thus becomes: size_t size = xsum (header_size, xtimes (n, element_size)); void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); */ /* Convert an arbitrary value >= 0 to type size_t. */ #define xcast_size_t(N) \ ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) /* Sum of two sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum (size_t size1, size_t size2) { size_t sum = size1 + size2; return (sum >= size1 ? sum : SIZE_MAX); } /* Sum of three sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum3 (size_t size1, size_t size2, size_t size3) { return xsum (xsum (size1, size2), size3); } /* Sum of four sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) { return xsum (xsum (xsum (size1, size2), size3), size4); } /* Maximum of two sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xmax (size_t size1, size_t size2) { /* No explicit check is needed here, because for any n: max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */ return (size1 >= size2 ? size1 : size2); } /* Multiplication of a count with an element size, with overflow check. The count must be >= 0 and the element size must be > 0. This is a macro, not a function, so that it works correctly even when N is of a wider type and N > SIZE_MAX. */ #define xtimes(N, ELSIZE) \ ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) /* Check for overflow. */ #define size_overflow_p(SIZE) \ ((SIZE) == SIZE_MAX) /* Check against overflow. */ #define size_in_bounds_p(SIZE) \ ((SIZE) != SIZE_MAX) _GL_INLINE_HEADER_END #endif /* _XSIZE_H */ gsasl-1.8.1/gl/xmalloc.c0000644000000000000000000000641513516251577011750 00000000000000/* xmalloc.c -- malloc with out of memory checking Copyright (C) 1990-2000, 2002-2006, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #define XALLOC_INLINE _GL_EXTERN_INLINE #include "xalloc.h" #include #include /* 1 if calloc is known to be compatible with GNU calloc. This matters if we are not also using the calloc module, which defines HAVE_CALLOC_GNU and supports the GNU API even on non-GNU platforms. */ #if defined HAVE_CALLOC_GNU || (defined __GLIBC__ && !defined __UCLIBC__) enum { HAVE_GNU_CALLOC = 1 }; #else enum { HAVE_GNU_CALLOC = 0 }; #endif /* Allocate N bytes of memory dynamically, with error checking. */ void * xmalloc (size_t n) { void *p = malloc (n); if (!p && n != 0) xalloc_die (); return p; } /* Change the size of an allocated block of memory P to N bytes, with error checking. */ void * xrealloc (void *p, size_t n) { if (!n && p) { /* The GNU and C99 realloc behaviors disagree here. Act like GNU, even if the underlying realloc is C99. */ free (p); return NULL; } p = realloc (p, n); if (!p && n) xalloc_die (); return p; } /* If P is null, allocate a block of at least *PN bytes; otherwise, reallocate P so that it contains more than *PN bytes. *PN must be nonzero unless P is null. Set *PN to the new block's size, and return the pointer to the new block. *PN is never set to zero, and the returned pointer is never null. */ void * x2realloc (void *p, size_t *pn) { return x2nrealloc (p, pn, 1); } /* Allocate S bytes of zeroed memory dynamically, with error checking. There's no need for xnzalloc (N, S), since it would be equivalent to xcalloc (N, S). */ void * xzalloc (size_t s) { return memset (xmalloc (s), 0, s); } /* Allocate zeroed memory for N elements of S bytes, with error checking. S must be nonzero. */ void * xcalloc (size_t n, size_t s) { void *p; /* Test for overflow, since objects with size greater than PTRDIFF_MAX cause pointer subtraction to go awry. Omit size-zero tests if HAVE_GNU_CALLOC, since GNU calloc never returns NULL if successful. */ if (xalloc_oversized (n, s) || (! (p = calloc (n, s)) && (HAVE_GNU_CALLOC || n != 0))) xalloc_die (); return p; } /* Clone an object P of size S, with error checking. There's no need for xnmemdup (P, N, S), since xmemdup (P, N * S) works without any need for an arithmetic overflow check. */ void * xmemdup (void const *p, size_t s) { return memcpy (xmalloc (s), p, s); } /* Clone STRING. */ char * xstrdup (char const *string) { return xmemdup (string, strlen (string) + 1); } gsasl-1.8.1/gl/printf-args.c0000644000000000000000000001463313516251576012545 00000000000000/* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be defined. STATIC Set to 'static' to declare the function static. */ #ifndef PRINTF_FETCHARGS # include #endif /* Specification. */ #ifndef PRINTF_FETCHARGS # include "printf-args.h" #endif #ifdef STATIC STATIC #endif int PRINTF_FETCHARGS (va_list args, arguments *a) { size_t i; argument *ap; for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) switch (ap->type) { case TYPE_SCHAR: ap->a.a_schar = va_arg (args, /*signed char*/ int); break; case TYPE_UCHAR: ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); break; case TYPE_SHORT: ap->a.a_short = va_arg (args, /*short*/ int); break; case TYPE_USHORT: ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); break; case TYPE_INT: ap->a.a_int = va_arg (args, int); break; case TYPE_UINT: ap->a.a_uint = va_arg (args, unsigned int); break; case TYPE_LONGINT: ap->a.a_longint = va_arg (args, long int); break; case TYPE_ULONGINT: ap->a.a_ulongint = va_arg (args, unsigned long int); break; #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: ap->a.a_longlongint = va_arg (args, long long int); break; case TYPE_ULONGLONGINT: ap->a.a_ulonglongint = va_arg (args, unsigned long long int); break; #endif case TYPE_DOUBLE: ap->a.a_double = va_arg (args, double); break; case TYPE_LONGDOUBLE: ap->a.a_longdouble = va_arg (args, long double); break; case TYPE_CHAR: ap->a.a_char = va_arg (args, int); break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: /* Although ISO C 99 7.24.1.(2) says that wint_t is "unchanged by default argument promotions", this is not the case in mingw32, where wint_t is 'unsigned short'. */ ap->a.a_wide_char = (sizeof (wint_t) < sizeof (int) ? (wint_t) va_arg (args, int) : va_arg (args, wint_t)); break; #endif case TYPE_STRING: ap->a.a_string = va_arg (args, const char *); /* A null pointer is an invalid argument for "%s", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_string == NULL) ap->a.a_string = "(NULL)"; break; #if HAVE_WCHAR_T case TYPE_WIDE_STRING: ap->a.a_wide_string = va_arg (args, const wchar_t *); /* A null pointer is an invalid argument for "%ls", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_wide_string == NULL) { static const wchar_t wide_null_string[] = { (wchar_t)'(', (wchar_t)'N', (wchar_t)'U', (wchar_t)'L', (wchar_t)'L', (wchar_t)')', (wchar_t)0 }; ap->a.a_wide_string = wide_null_string; } break; #endif case TYPE_POINTER: ap->a.a_pointer = va_arg (args, void *); break; case TYPE_COUNT_SCHAR_POINTER: ap->a.a_count_schar_pointer = va_arg (args, signed char *); break; case TYPE_COUNT_SHORT_POINTER: ap->a.a_count_short_pointer = va_arg (args, short *); break; case TYPE_COUNT_INT_POINTER: ap->a.a_count_int_pointer = va_arg (args, int *); break; case TYPE_COUNT_LONGINT_POINTER: ap->a.a_count_longint_pointer = va_arg (args, long int *); break; #if HAVE_LONG_LONG_INT case TYPE_COUNT_LONGLONGINT_POINTER: ap->a.a_count_longlongint_pointer = va_arg (args, long long int *); break; #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ case TYPE_U8_STRING: ap->a.a_u8_string = va_arg (args, const uint8_t *); /* A null pointer is an invalid argument for "%U", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u8_string == NULL) { static const uint8_t u8_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u8_string = u8_null_string; } break; case TYPE_U16_STRING: ap->a.a_u16_string = va_arg (args, const uint16_t *); /* A null pointer is an invalid argument for "%lU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u16_string == NULL) { static const uint16_t u16_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u16_string = u16_null_string; } break; case TYPE_U32_STRING: ap->a.a_u32_string = va_arg (args, const uint32_t *); /* A null pointer is an invalid argument for "%llU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u32_string == NULL) { static const uint32_t u32_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u32_string = u32_null_string; } break; #endif default: /* Unknown type. */ return -1; } return 0; } gsasl-1.8.1/gl/Makefile.in0000644000000000000000000050150313521017140012166 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # Reproduce by: # gnulib-tool --import --local-dir=gl/override \ # --lib=libgl \ # --source-base=gl \ # --m4-base=m4 \ # --doc-base=doc \ # --tests-base=gltests \ # --aux-dir=lib/build-aux \ # --with-tests \ # --no-conditional-dependencies \ # --libtool \ # --macro-prefix=gl \ # --no-vc-files \ # --avoid=poll-tests \ # --avoid=select-tests \ # --avoid=update-copyright-tests \ # autobuild \ # close \ # connect \ # error \ # fdl-1.3 \ # gendocs \ # getaddrinfo \ # getopt-gnu \ # getpass-gnu \ # gnupload \ # maintainer-makefile \ # manywarnings \ # netdb \ # netinet_in \ # pmccabe2html \ # poll \ # progname \ # quote \ # readline \ # recv \ # shutdown \ # socket \ # striconv \ # strtok_r \ # sys_time \ # unistd \ # update-copyright \ # valgrind-tests \ # vasprintf \ # version-etc \ # warnings \ # xalloc 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@ @GL_COND_LIBTOOL_TRUE@am__append_1 = $(LTLIBICONV) @LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE@am__append_2 = unistr/u8-mbtoucr.c @LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE@am__append_3 = unistr/u8-uctomb.c unistr/u8-uctomb-aux.c subdir = gl ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LIBRARIES = $(noinst_LIBRARIES) LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = am__libgl_la_SOURCES_DIST = c-ctype.h c-ctype.c c-strcase.h \ c-strcasecmp.c c-strncasecmp.c dirname-lgpl.c basename-lgpl.c \ stripslash.c exitfail.c fd-hook.c getprogname.h getprogname.c \ gettext.h hard-locale.c localcharset.c glthread/lock.h \ glthread/lock.c minmax.h progname.h progname.c quotearg.c \ size_max.h sockets.h sockets.c stat-time.c striconv.h \ striconv.c sys_socket.c glthread/threadlib.c unistd.c \ unistr/u8-mbtoucr.c unistr/u8-uctomb.c unistr/u8-uctomb-aux.c \ version-etc.h version-etc.c wctype-h.c xmalloc.c xalloc-die.c \ xsize.h xsize.c am__dirstamp = $(am__leading_dot)dirstamp @LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE@am__objects_1 = unistr/u8-mbtoucr.lo @LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE@am__objects_2 = unistr/u8-uctomb.lo \ @LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE@ unistr/u8-uctomb-aux.lo am_libgl_la_OBJECTS = c-ctype.lo c-strcasecmp.lo c-strncasecmp.lo \ dirname-lgpl.lo basename-lgpl.lo stripslash.lo exitfail.lo \ fd-hook.lo getprogname.lo hard-locale.lo localcharset.lo \ glthread/lock.lo progname.lo quotearg.lo sockets.lo \ stat-time.lo striconv.lo sys_socket.lo glthread/threadlib.lo \ unistd.lo $(am__objects_1) $(am__objects_2) version-etc.lo \ wctype-h.lo xmalloc.lo xalloc-die.lo xsize.lo libgl_la_OBJECTS = $(am_libgl_la_OBJECTS) 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 = libgl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgl_la_LDFLAGS) $(LDFLAGS) -o $@ 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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/alloca.Plo ./$(DEPDIR)/asnprintf.Plo \ ./$(DEPDIR)/asprintf.Plo ./$(DEPDIR)/basename-lgpl.Plo \ ./$(DEPDIR)/c-ctype.Plo ./$(DEPDIR)/c-strcasecmp.Plo \ ./$(DEPDIR)/c-strncasecmp.Plo ./$(DEPDIR)/close.Plo \ ./$(DEPDIR)/connect.Plo ./$(DEPDIR)/dirname-lgpl.Plo \ ./$(DEPDIR)/dup2.Plo ./$(DEPDIR)/error.Plo \ ./$(DEPDIR)/exitfail.Plo ./$(DEPDIR)/fd-hook.Plo \ ./$(DEPDIR)/float.Plo ./$(DEPDIR)/fseek.Plo \ ./$(DEPDIR)/fseeko.Plo ./$(DEPDIR)/fstat.Plo \ ./$(DEPDIR)/gai_strerror.Plo ./$(DEPDIR)/getaddrinfo.Plo \ ./$(DEPDIR)/getdelim.Plo ./$(DEPDIR)/getline.Plo \ ./$(DEPDIR)/getopt.Plo ./$(DEPDIR)/getopt1.Plo \ ./$(DEPDIR)/getpass.Plo ./$(DEPDIR)/getprogname.Plo \ ./$(DEPDIR)/hard-locale.Plo ./$(DEPDIR)/iconv.Plo \ ./$(DEPDIR)/iconv_close.Plo ./$(DEPDIR)/iconv_open.Plo \ ./$(DEPDIR)/inet_ntop.Plo ./$(DEPDIR)/itold.Plo \ ./$(DEPDIR)/localcharset.Plo ./$(DEPDIR)/lseek.Plo \ ./$(DEPDIR)/malloc.Plo ./$(DEPDIR)/mbrtowc.Plo \ ./$(DEPDIR)/mbsinit.Plo ./$(DEPDIR)/memchr.Plo \ ./$(DEPDIR)/msvc-inval.Plo ./$(DEPDIR)/msvc-nothrow.Plo \ ./$(DEPDIR)/poll.Plo ./$(DEPDIR)/printf-args.Plo \ ./$(DEPDIR)/printf-parse.Plo ./$(DEPDIR)/progname.Plo \ ./$(DEPDIR)/quotearg.Plo ./$(DEPDIR)/readline.Plo \ ./$(DEPDIR)/recv.Plo ./$(DEPDIR)/select.Plo \ ./$(DEPDIR)/shutdown.Plo ./$(DEPDIR)/snprintf.Plo \ ./$(DEPDIR)/socket.Plo ./$(DEPDIR)/sockets.Plo \ ./$(DEPDIR)/stat-time.Plo ./$(DEPDIR)/stat-w32.Plo \ ./$(DEPDIR)/strdup.Plo ./$(DEPDIR)/strerror-override.Plo \ ./$(DEPDIR)/strerror.Plo ./$(DEPDIR)/striconv.Plo \ ./$(DEPDIR)/stripslash.Plo ./$(DEPDIR)/strtok_r.Plo \ ./$(DEPDIR)/sys_socket.Plo ./$(DEPDIR)/unistd.Plo \ ./$(DEPDIR)/vasnprintf.Plo ./$(DEPDIR)/vasprintf.Plo \ ./$(DEPDIR)/version-etc.Plo ./$(DEPDIR)/wctype-h.Plo \ ./$(DEPDIR)/windows-mutex.Plo ./$(DEPDIR)/windows-once.Plo \ ./$(DEPDIR)/windows-recmutex.Plo \ ./$(DEPDIR)/windows-rwlock.Plo ./$(DEPDIR)/xalloc-die.Plo \ ./$(DEPDIR)/xmalloc.Plo ./$(DEPDIR)/xsize.Plo \ glthread/$(DEPDIR)/lock.Plo glthread/$(DEPDIR)/threadlib.Plo \ unistr/$(DEPDIR)/u8-mbtoucr.Plo \ unistr/$(DEPDIR)/u8-uctomb-aux.Plo \ unistr/$(DEPDIR)/u8-uctomb.Plo 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 = $(libgl_la_SOURCES) $(EXTRA_libgl_la_SOURCES) DIST_SOURCES = $(am__libgl_la_SOURCES_DIST) $(EXTRA_libgl_la_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 HEADERS = $(noinst_HEADERS) 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 \ distdir distdir-am 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)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/lib/build-aux/depcomp alloca.c DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = 1.11 gnits subdir-objects SUBDIRS = noinst_HEADERS = noinst_LIBRARIES = noinst_LTLIBRARIES = libgl.la EXTRA_DIST = alloca.c alloca.in.h arpa_inet.in.h assure.h \ c-strcaseeq.h close.c connect.c w32sock.h dirname.h dosname.h \ dup2.c errno.in.h error.c error.h exitfail.h fd-hook.h float.c \ float.in.h itold.c fseek.c fseeko.c stdio-impl.h fstat.c \ stat-w32.c stat-w32.h $(top_srcdir)/lib/build-aux/gendocs.sh \ gai_strerror.c getaddrinfo.c getdelim.c getline.c \ getopt-cdefs.in.h getopt-core.h getopt-ext.h getopt-pfx-core.h \ getopt-pfx-ext.h getopt.c getopt.in.h getopt1.c getopt_int.h \ getpass.c getpass.h getpass.c getpass.h \ $(top_srcdir)/GNUmakefile $(top_srcdir)/lib/build-aux/gnupload \ hard-locale.h $(top_srcdir)/lib/build-aux/config.rpath \ iconv.in.h iconv_open-aix.h iconv_open-hpux.h \ iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h \ iconv.c iconv_close.c iconv_open-aix.gperf \ iconv_open-hpux.gperf iconv_open-irix.gperf \ iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c \ inet_ntop.c intprops.h limits.in.h localcharset.h lseek.c \ $(top_srcdir)/maint.mk malloc.c mbrtowc.c mbsinit.c memchr.c \ memchr.valgrind msvc-inval.c msvc-inval.h msvc-nothrow.c \ msvc-nothrow.h netdb.in.h netinet_in.in.h pathmax.h \ $(top_srcdir)/lib/build-aux/pmccabe2html \ $(top_srcdir)/lib/build-aux/pmccabe.css poll.c poll.in.h \ quote.h quote.h quotearg.h readline.c readline.h recv.c \ w32sock.h select.c shutdown.c w32sock.h signal.in.h \ _Noreturn.h arg-nonnull.h c++defs.h unused-parameter.h \ warn-on-use.h snprintf.c socket.c w32sock.h w32sock.h \ stat-time.h stdalign.in.h stdarg.in.h stdbool.in.h stddef.in.h \ stdint.in.h stdio.in.h stdlib.in.h strdup.c streq.h strerror.c \ strerror-override.c strerror-override.h string.in.h strtok_r.c \ sys_select.in.h sys_socket.in.h sys_stat.in.h sys_time.in.h \ sys_types.in.h sys_uio.in.h \ $(top_srcdir)/lib/build-aux/config.rpath time.in.h unistd.in.h \ unistr.in.h unitypes.in.h \ $(top_srcdir)/lib/build-aux/update-copyright \ $(top_srcdir)/lib/build-aux/useless-if-before-free asnprintf.c \ float+.h printf-args.c printf-args.h printf-parse.c \ printf-parse.h vasnprintf.c vasnprintf.h asprintf.c \ vasprintf.c $(top_srcdir)/lib/build-aux/vc-list-files verify.h \ wchar.in.h wctype.in.h windows-initguard.h windows-mutex.c \ windows-mutex.h windows-once.c windows-once.h \ windows-initguard.h windows-recmutex.c windows-recmutex.h \ windows-initguard.h windows-rwlock.c windows-rwlock.h xalloc.h \ xalloc-oversized.h BUILT_SOURCES = $(ALLOCA_H) arpa/inet.h $(ERRNO_H) $(FLOAT_H) \ $(GETOPT_H) $(GETOPT_CDEFS_H) $(ICONV_H) iconv_open-aix.h \ iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h \ iconv_open-solaris.h $(LIMITS_H) netdb.h $(NETINET_IN_H) \ poll.h signal.h $(STDALIGN_H) $(STDARG_H) $(STDBOOL_H) \ $(STDDEF_H) $(STDINT_H) stdio.h stdlib.h string.h sys/select.h \ sys/socket.h sys/stat.h sys/time.h sys/types.h sys/uio.h \ time.h unistd.h $(LIBUNISTRING_UNISTR_H) \ $(LIBUNISTRING_UNITYPES_H) wchar.h wctype.h SUFFIXES = MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t arpa/inet.h \ arpa/inet.h-t errno.h errno.h-t float.h float.h-t getopt.h \ getopt.h-t getopt-cdefs.h getopt-cdefs.h-t iconv.h iconv.h-t \ iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t \ iconv_open-osf.h-t iconv_open-solaris.h-t limits.h limits.h-t \ netdb.h netdb.h-t netinet/in.h netinet/in.h-t poll.h poll.h-t \ signal.h signal.h-t stdalign.h stdalign.h-t stdarg.h \ stdarg.h-t stdbool.h stdbool.h-t stddef.h stddef.h-t stdint.h \ stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t string.h \ string.h-t sys/select.h sys/select.h-t sys/socket.h \ sys/socket.h-t sys/stat.h sys/stat.h-t sys/time.h sys/time.h-t \ sys/types.h sys/types.h-t sys/uio.h sys/uio.h-t time.h \ time.h-t unistd.h unistd.h-t unistr.h unistr.h-t unitypes.h \ unitypes.h-t wchar.h wchar.h-t wctype.h wctype.h-t MOSTLYCLEANDIRS = arpa netinet sys sys sys sys CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = iconv_open-aix.h iconv_open-hpux.h \ iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h # No GNU Make output. AM_CPPFLAGS = AM_CFLAGS = libgl_la_SOURCES = c-ctype.h c-ctype.c c-strcase.h c-strcasecmp.c \ c-strncasecmp.c dirname-lgpl.c basename-lgpl.c stripslash.c \ exitfail.c fd-hook.c getprogname.h getprogname.c gettext.h \ hard-locale.c localcharset.c glthread/lock.h glthread/lock.c \ minmax.h progname.h progname.c quotearg.c size_max.h sockets.h \ sockets.c stat-time.c striconv.h striconv.c sys_socket.c \ glthread/threadlib.c unistd.c $(am__append_2) $(am__append_3) \ version-etc.h version-etc.c wctype-h.c xmalloc.c xalloc-die.c \ xsize.h xsize.c libgl_la_LIBADD = $(gl_LTLIBOBJS) @LTALLOCA@ libgl_la_DEPENDENCIES = $(gl_LTLIBOBJS) @LTALLOCA@ EXTRA_libgl_la_SOURCES = alloca.c close.c connect.c dup2.c error.c \ float.c itold.c fseek.c fseeko.c fstat.c stat-w32.c \ gai_strerror.c getaddrinfo.c getdelim.c getline.c getopt.c \ getopt1.c getpass.c getpass.c iconv.c iconv_close.c \ iconv_open.c inet_ntop.c lseek.c malloc.c mbrtowc.c mbsinit.c \ memchr.c msvc-inval.c msvc-nothrow.c poll.c readline.c recv.c \ select.c shutdown.c snprintf.c socket.c strdup.c strerror.c \ strerror-override.c strtok_r.c asnprintf.c printf-args.c \ printf-parse.c vasnprintf.c asprintf.c vasprintf.c \ windows-mutex.c windows-once.c windows-recmutex.c \ windows-rwlock.c libgl_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(GETADDRINFO_LIB) \ $(HOSTENT_LIB) $(INET_NTOP_LIB) $(LIBSOCKET) $(LIB_POLL) \ $(LIB_SELECT) $(LTLIBICONV) $(LTLIBINTL) $(LTLIBREADLINE) \ $(LTLIBTHREAD) $(SERVENT_LIB) $(am__append_1) # Use this preprocessor expression to decide whether #include_next works. # Do not rely on a 'configure'-time test for this, since the expression # might appear in an installed header, which is used by some other compiler. HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER) GPERF = gperf V_GPERF = $(V_GPERF_@AM_V@) V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@) V_GPERF_0 = @echo " GPERF " $@; # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H = $(srcdir)/_Noreturn.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H = $(srcdir)/arg-nonnull.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H = $(srcdir)/c++defs.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H = $(srcdir)/unused-parameter.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H = $(srcdir)/warn-on-use.h all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive .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) --gnits gl/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnits gl/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): clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } glthread/$(am__dirstamp): @$(MKDIR_P) glthread @: > glthread/$(am__dirstamp) glthread/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) glthread/$(DEPDIR) @: > glthread/$(DEPDIR)/$(am__dirstamp) glthread/lock.lo: glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) glthread/threadlib.lo: glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) unistr/$(am__dirstamp): @$(MKDIR_P) unistr @: > unistr/$(am__dirstamp) unistr/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) unistr/$(DEPDIR) @: > unistr/$(DEPDIR)/$(am__dirstamp) unistr/u8-mbtoucr.lo: unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) unistr/u8-uctomb.lo: unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) unistr/u8-uctomb-aux.lo: unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) libgl.la: $(libgl_la_OBJECTS) $(libgl_la_DEPENDENCIES) $(EXTRA_libgl_la_DEPENDENCIES) $(AM_V_CCLD)$(libgl_la_LINK) $(libgl_la_OBJECTS) $(libgl_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f glthread/*.$(OBJEXT) -rm -f glthread/*.lo -rm -f unistr/*.$(OBJEXT) -rm -f unistr/*.lo distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alloca.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asnprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename-lgpl.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-ctype.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-strcasecmp.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-strncasecmp.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/close.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/connect.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirname-lgpl.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup2.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exitfail.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-hook.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/float.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fseek.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fseeko.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstat.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gai_strerror.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getaddrinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdelim.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getline.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getpass.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getprogname.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hard-locale.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iconv.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iconv_close.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iconv_open.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inet_ntop.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itold.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localcharset.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lseek.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbrtowc.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbsinit.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memchr.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-inval.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-nothrow.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poll.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-args.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-parse.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/progname.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quotearg.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readline.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/recv.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shutdown.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/socket.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockets.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-time.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-w32.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strdup.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror-override.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/striconv.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stripslash.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtok_r.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sys_socket.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unistd.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasnprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version-etc.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wctype-h.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-mutex.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-once.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-recmutex.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-rwlock.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xalloc-die.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsize.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/lock.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/threadlib.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@unistr/$(DEPDIR)/u8-mbtoucr.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@unistr/$(DEPDIR)/u8-uctomb-aux.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@unistr/$(DEPDIR)/u8-uctomb.Plo@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 -rm -rf glthread/.libs glthread/_libs -rm -rf unistr/.libs unistr/_libs # 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" 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 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 @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 check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS) installdirs: installdirs-recursive installdirs-am: install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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: -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 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) -rm -f glthread/$(DEPDIR)/$(am__dirstamp) -rm -f glthread/$(am__dirstamp) -rm -f unistr/$(DEPDIR)/$(am__dirstamp) -rm -f unistr/$(am__dirstamp) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ clean-noinstLTLIBRARIES mostlyclean-am distclean: distclean-recursive -rm -f ./$(DEPDIR)/alloca.Plo -rm -f ./$(DEPDIR)/asnprintf.Plo -rm -f ./$(DEPDIR)/asprintf.Plo -rm -f ./$(DEPDIR)/basename-lgpl.Plo -rm -f ./$(DEPDIR)/c-ctype.Plo -rm -f ./$(DEPDIR)/c-strcasecmp.Plo -rm -f ./$(DEPDIR)/c-strncasecmp.Plo -rm -f ./$(DEPDIR)/close.Plo -rm -f ./$(DEPDIR)/connect.Plo -rm -f ./$(DEPDIR)/dirname-lgpl.Plo -rm -f ./$(DEPDIR)/dup2.Plo -rm -f ./$(DEPDIR)/error.Plo -rm -f ./$(DEPDIR)/exitfail.Plo -rm -f ./$(DEPDIR)/fd-hook.Plo -rm -f ./$(DEPDIR)/float.Plo -rm -f ./$(DEPDIR)/fseek.Plo -rm -f ./$(DEPDIR)/fseeko.Plo -rm -f ./$(DEPDIR)/fstat.Plo -rm -f ./$(DEPDIR)/gai_strerror.Plo -rm -f ./$(DEPDIR)/getaddrinfo.Plo -rm -f ./$(DEPDIR)/getdelim.Plo -rm -f ./$(DEPDIR)/getline.Plo -rm -f ./$(DEPDIR)/getopt.Plo -rm -f ./$(DEPDIR)/getopt1.Plo -rm -f ./$(DEPDIR)/getpass.Plo -rm -f ./$(DEPDIR)/getprogname.Plo -rm -f ./$(DEPDIR)/hard-locale.Plo -rm -f ./$(DEPDIR)/iconv.Plo -rm -f ./$(DEPDIR)/iconv_close.Plo -rm -f ./$(DEPDIR)/iconv_open.Plo -rm -f ./$(DEPDIR)/inet_ntop.Plo -rm -f ./$(DEPDIR)/itold.Plo -rm -f ./$(DEPDIR)/localcharset.Plo -rm -f ./$(DEPDIR)/lseek.Plo -rm -f ./$(DEPDIR)/malloc.Plo -rm -f ./$(DEPDIR)/mbrtowc.Plo -rm -f ./$(DEPDIR)/mbsinit.Plo -rm -f ./$(DEPDIR)/memchr.Plo -rm -f ./$(DEPDIR)/msvc-inval.Plo -rm -f ./$(DEPDIR)/msvc-nothrow.Plo -rm -f ./$(DEPDIR)/poll.Plo -rm -f ./$(DEPDIR)/printf-args.Plo -rm -f ./$(DEPDIR)/printf-parse.Plo -rm -f ./$(DEPDIR)/progname.Plo -rm -f ./$(DEPDIR)/quotearg.Plo -rm -f ./$(DEPDIR)/readline.Plo -rm -f ./$(DEPDIR)/recv.Plo -rm -f ./$(DEPDIR)/select.Plo -rm -f ./$(DEPDIR)/shutdown.Plo -rm -f ./$(DEPDIR)/snprintf.Plo -rm -f ./$(DEPDIR)/socket.Plo -rm -f ./$(DEPDIR)/sockets.Plo -rm -f ./$(DEPDIR)/stat-time.Plo -rm -f ./$(DEPDIR)/stat-w32.Plo -rm -f ./$(DEPDIR)/strdup.Plo -rm -f ./$(DEPDIR)/strerror-override.Plo -rm -f ./$(DEPDIR)/strerror.Plo -rm -f ./$(DEPDIR)/striconv.Plo -rm -f ./$(DEPDIR)/stripslash.Plo -rm -f ./$(DEPDIR)/strtok_r.Plo -rm -f ./$(DEPDIR)/sys_socket.Plo -rm -f ./$(DEPDIR)/unistd.Plo -rm -f ./$(DEPDIR)/vasnprintf.Plo -rm -f ./$(DEPDIR)/vasprintf.Plo -rm -f ./$(DEPDIR)/version-etc.Plo -rm -f ./$(DEPDIR)/wctype-h.Plo -rm -f ./$(DEPDIR)/windows-mutex.Plo -rm -f ./$(DEPDIR)/windows-once.Plo -rm -f ./$(DEPDIR)/windows-recmutex.Plo -rm -f ./$(DEPDIR)/windows-rwlock.Plo -rm -f ./$(DEPDIR)/xalloc-die.Plo -rm -f ./$(DEPDIR)/xmalloc.Plo -rm -f ./$(DEPDIR)/xsize.Plo -rm -f glthread/$(DEPDIR)/lock.Plo -rm -f glthread/$(DEPDIR)/threadlib.Plo -rm -f unistr/$(DEPDIR)/u8-mbtoucr.Plo -rm -f unistr/$(DEPDIR)/u8-uctomb-aux.Plo -rm -f unistr/$(DEPDIR)/u8-uctomb.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-local distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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 ./$(DEPDIR)/alloca.Plo -rm -f ./$(DEPDIR)/asnprintf.Plo -rm -f ./$(DEPDIR)/asprintf.Plo -rm -f ./$(DEPDIR)/basename-lgpl.Plo -rm -f ./$(DEPDIR)/c-ctype.Plo -rm -f ./$(DEPDIR)/c-strcasecmp.Plo -rm -f ./$(DEPDIR)/c-strncasecmp.Plo -rm -f ./$(DEPDIR)/close.Plo -rm -f ./$(DEPDIR)/connect.Plo -rm -f ./$(DEPDIR)/dirname-lgpl.Plo -rm -f ./$(DEPDIR)/dup2.Plo -rm -f ./$(DEPDIR)/error.Plo -rm -f ./$(DEPDIR)/exitfail.Plo -rm -f ./$(DEPDIR)/fd-hook.Plo -rm -f ./$(DEPDIR)/float.Plo -rm -f ./$(DEPDIR)/fseek.Plo -rm -f ./$(DEPDIR)/fseeko.Plo -rm -f ./$(DEPDIR)/fstat.Plo -rm -f ./$(DEPDIR)/gai_strerror.Plo -rm -f ./$(DEPDIR)/getaddrinfo.Plo -rm -f ./$(DEPDIR)/getdelim.Plo -rm -f ./$(DEPDIR)/getline.Plo -rm -f ./$(DEPDIR)/getopt.Plo -rm -f ./$(DEPDIR)/getopt1.Plo -rm -f ./$(DEPDIR)/getpass.Plo -rm -f ./$(DEPDIR)/getprogname.Plo -rm -f ./$(DEPDIR)/hard-locale.Plo -rm -f ./$(DEPDIR)/iconv.Plo -rm -f ./$(DEPDIR)/iconv_close.Plo -rm -f ./$(DEPDIR)/iconv_open.Plo -rm -f ./$(DEPDIR)/inet_ntop.Plo -rm -f ./$(DEPDIR)/itold.Plo -rm -f ./$(DEPDIR)/localcharset.Plo -rm -f ./$(DEPDIR)/lseek.Plo -rm -f ./$(DEPDIR)/malloc.Plo -rm -f ./$(DEPDIR)/mbrtowc.Plo -rm -f ./$(DEPDIR)/mbsinit.Plo -rm -f ./$(DEPDIR)/memchr.Plo -rm -f ./$(DEPDIR)/msvc-inval.Plo -rm -f ./$(DEPDIR)/msvc-nothrow.Plo -rm -f ./$(DEPDIR)/poll.Plo -rm -f ./$(DEPDIR)/printf-args.Plo -rm -f ./$(DEPDIR)/printf-parse.Plo -rm -f ./$(DEPDIR)/progname.Plo -rm -f ./$(DEPDIR)/quotearg.Plo -rm -f ./$(DEPDIR)/readline.Plo -rm -f ./$(DEPDIR)/recv.Plo -rm -f ./$(DEPDIR)/select.Plo -rm -f ./$(DEPDIR)/shutdown.Plo -rm -f ./$(DEPDIR)/snprintf.Plo -rm -f ./$(DEPDIR)/socket.Plo -rm -f ./$(DEPDIR)/sockets.Plo -rm -f ./$(DEPDIR)/stat-time.Plo -rm -f ./$(DEPDIR)/stat-w32.Plo -rm -f ./$(DEPDIR)/strdup.Plo -rm -f ./$(DEPDIR)/strerror-override.Plo -rm -f ./$(DEPDIR)/strerror.Plo -rm -f ./$(DEPDIR)/striconv.Plo -rm -f ./$(DEPDIR)/stripslash.Plo -rm -f ./$(DEPDIR)/strtok_r.Plo -rm -f ./$(DEPDIR)/sys_socket.Plo -rm -f ./$(DEPDIR)/unistd.Plo -rm -f ./$(DEPDIR)/vasnprintf.Plo -rm -f ./$(DEPDIR)/vasprintf.Plo -rm -f ./$(DEPDIR)/version-etc.Plo -rm -f ./$(DEPDIR)/wctype-h.Plo -rm -f ./$(DEPDIR)/windows-mutex.Plo -rm -f ./$(DEPDIR)/windows-once.Plo -rm -f ./$(DEPDIR)/windows-recmutex.Plo -rm -f ./$(DEPDIR)/windows-rwlock.Plo -rm -f ./$(DEPDIR)/xalloc-die.Plo -rm -f ./$(DEPDIR)/xmalloc.Plo -rm -f ./$(DEPDIR)/xsize.Plo -rm -f glthread/$(DEPDIR)/lock.Plo -rm -f glthread/$(DEPDIR)/threadlib.Plo -rm -f unistr/$(DEPDIR)/u8-mbtoucr.Plo -rm -f unistr/$(DEPDIR)/u8-uctomb-aux.Plo -rm -f unistr/$(DEPDIR)/u8-uctomb.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-local pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all check install install-am \ install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--depfiles check check-am clean clean-generic clean-libtool \ clean-noinstLIBRARIES clean-noinstLTLIBRARIES cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-local distclean-tags distdir dvi \ dvi-am html html-am info info-am install 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-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ mostlyclean-local pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_ALLOCA_H_TRUE@alloca.h: alloca.in.h $(top_builddir)/config.status @GL_GENERATE_ALLOCA_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_ALLOCA_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_ALLOCA_H_TRUE@ sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \ @GL_GENERATE_ALLOCA_H_TRUE@ } > $@-t && \ @GL_GENERATE_ALLOCA_H_TRUE@ mv -f $@-t $@ @GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status @GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one. arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) arpa $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \ -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/arpa_inet.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that is POSIX compliant. @GL_GENERATE_ERRNO_H_TRUE@errno.h: errno.in.h $(top_builddir)/config.status @GL_GENERATE_ERRNO_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_ERRNO_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_ERRNO_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ < $(srcdir)/errno.in.h; \ @GL_GENERATE_ERRNO_H_TRUE@ } > $@-t && \ @GL_GENERATE_ERRNO_H_TRUE@ mv $@-t $@ @GL_GENERATE_ERRNO_H_FALSE@errno.h: $(top_builddir)/config.status @GL_GENERATE_ERRNO_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_FLOAT_H_TRUE@float.h: float.in.h $(top_builddir)/config.status @GL_GENERATE_FLOAT_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_FLOAT_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_FLOAT_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ < $(srcdir)/float.in.h; \ @GL_GENERATE_FLOAT_H_TRUE@ } > $@-t && \ @GL_GENERATE_FLOAT_H_TRUE@ mv $@-t $@ @GL_GENERATE_FLOAT_H_FALSE@float.h: $(top_builddir)/config.status @GL_GENERATE_FLOAT_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ < $(srcdir)/getopt.in.h; \ } > $@-t && \ mv -f $@-t $@ getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ < $(srcdir)/getopt-cdefs.in.h; \ } > $@-t && \ mv -f $@-t $@ distclean-local: clean-GNUmakefile clean-GNUmakefile: test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_ICONV_H_TRUE@iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) @GL_GENERATE_ICONV_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_ICONV_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_ICONV_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ @GL_GENERATE_ICONV_H_TRUE@ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ @GL_GENERATE_ICONV_H_TRUE@ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ @GL_GENERATE_ICONV_H_TRUE@ < $(srcdir)/iconv.in.h; \ @GL_GENERATE_ICONV_H_TRUE@ } > $@-t && \ @GL_GENERATE_ICONV_H_TRUE@ mv $@-t $@ @GL_GENERATE_ICONV_H_FALSE@iconv.h: $(top_builddir)/config.status @GL_GENERATE_ICONV_H_FALSE@ rm -f $@ $(srcdir)/iconv_open-aix.h: $(srcdir)/iconv_open-aix.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \ mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h $(srcdir)/iconv_open-hpux.h: $(srcdir)/iconv_open-hpux.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \ mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h $(srcdir)/iconv_open-irix.h: $(srcdir)/iconv_open-irix.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \ mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h $(srcdir)/iconv_open-osf.h: $(srcdir)/iconv_open-osf.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \ mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h $(srcdir)/iconv_open-solaris.h: $(srcdir)/iconv_open-solaris.gperf $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \ mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h # We need the following in order to create when the system # doesn't have one that is compatible with GNU. @GL_GENERATE_LIMITS_H_TRUE@limits.h: limits.in.h $(top_builddir)/config.status @GL_GENERATE_LIMITS_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_LIMITS_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_LIMITS_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \ @GL_GENERATE_LIMITS_H_TRUE@ < $(srcdir)/limits.in.h; \ @GL_GENERATE_LIMITS_H_TRUE@ } > $@-t && \ @GL_GENERATE_LIMITS_H_TRUE@ mv $@-t $@ @GL_GENERATE_LIMITS_H_FALSE@limits.h: $(top_builddir)/config.status @GL_GENERATE_LIMITS_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \ -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \ -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \ -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \ -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \ -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \ -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \ -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \ -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/netdb.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one. @GL_GENERATE_NETINET_IN_H_TRUE@netinet/in.h: netinet_in.in.h $(top_builddir)/config.status @GL_GENERATE_NETINET_IN_H_TRUE@ $(AM_V_at)$(MKDIR_P) netinet @GL_GENERATE_NETINET_IN_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_NETINET_IN_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_NETINET_IN_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ < $(srcdir)/netinet_in.in.h; \ @GL_GENERATE_NETINET_IN_H_TRUE@ } > $@-t && \ @GL_GENERATE_NETINET_IN_H_TRUE@ mv $@-t $@ @GL_GENERATE_NETINET_IN_H_FALSE@netinet/in.h: $(top_builddir)/config.status @GL_GENERATE_NETINET_IN_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one. poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_POLL_H''@|$(NEXT_POLL_H)|g' \ -e 's/@''GNULIB_POLL''@/$(GNULIB_POLL)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \ -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/poll.in.h; \ } > $@-t && \ mv -f $@-t $@ # We need the following in order to create when the system # doesn't have a complete one. signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \ -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/signal.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works. @GL_GENERATE_STDALIGN_H_TRUE@stdalign.h: stdalign.in.h $(top_builddir)/config.status @GL_GENERATE_STDALIGN_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDALIGN_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_STDALIGN_H_TRUE@ cat $(srcdir)/stdalign.in.h; \ @GL_GENERATE_STDALIGN_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDALIGN_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDALIGN_H_FALSE@stdalign.h: $(top_builddir)/config.status @GL_GENERATE_STDALIGN_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDARG_H_TRUE@stdarg.h: stdarg.in.h $(top_builddir)/config.status @GL_GENERATE_STDARG_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDARG_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_STDARG_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ @GL_GENERATE_STDARG_H_TRUE@ < $(srcdir)/stdarg.in.h; \ @GL_GENERATE_STDARG_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDARG_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDARG_H_FALSE@stdarg.h: $(top_builddir)/config.status @GL_GENERATE_STDARG_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works. @GL_GENERATE_STDBOOL_H_TRUE@stdbool.h: stdbool.in.h $(top_builddir)/config.status @GL_GENERATE_STDBOOL_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDBOOL_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_STDBOOL_H_TRUE@ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ @GL_GENERATE_STDBOOL_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDBOOL_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDBOOL_H_FALSE@stdbool.h: $(top_builddir)/config.status @GL_GENERATE_STDBOOL_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDDEF_H_TRUE@stddef.h: stddef.in.h $(top_builddir)/config.status @GL_GENERATE_STDDEF_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDDEF_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_STDDEF_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ < $(srcdir)/stddef.in.h; \ @GL_GENERATE_STDDEF_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDDEF_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDDEF_H_FALSE@stddef.h: $(top_builddir)/config.status @GL_GENERATE_STDDEF_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDINT_H_TRUE@stdint.h: stdint.in.h $(top_builddir)/config.status @GL_GENERATE_STDINT_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDINT_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_STDINT_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ < $(srcdir)/stdint.in.h; \ @GL_GENERATE_STDINT_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDINT_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDINT_H_FALSE@stdint.h: $(top_builddir)/config.status @GL_GENERATE_STDINT_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ < $(srcdir)/stdio.in.h | \ sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \ -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \ -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \ -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \ -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ < $(srcdir)/stdlib.in.h | \ sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \ -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \ -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \ -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \ -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \ -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ < $(srcdir)/string.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_select.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \ -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \ -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \ -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \ -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \ -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \ -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \ -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \ -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \ -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \ -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \ -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_socket.in.h; \ } > $@-t && \ mv -f $@-t $@ # We need the following in order to create when the system # has one that is incomplete. sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_stat.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_time.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/types.h: sys_types.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \ < $(srcdir)/sys_types.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ < $(srcdir)/sys_uio.in.h; \ } > $@-t && \ mv -f $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -e 's/@''GNULIB_CTIME''@/$(GNULIB_CTIME)/g' \ -e 's/@''GNULIB_LOCALTIME''@/$(GNULIB_LOCALTIME)/g' \ -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ -e 's/@''GNULIB_STRFTIME''@/$(GNULIB_STRFTIME)/g' \ -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \ -e 's/@''GNULIB_TZSET''@/$(GNULIB_TZSET)/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \ -e 's|@''HAVE_TZSET''@|$(HAVE_TZSET)|g' \ -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \ -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \ -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/time.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create an empty placeholder for # when the system doesn't have one. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \ -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \ -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ < $(srcdir)/unistd.in.h | \ sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \ -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | \ sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \ -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ unistr.h: unistr.in.h $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/unistr.in.h; \ } > $@-t && \ mv -f $@-t $@ unitypes.h: unitypes.in.h $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/unitypes.in.h; \ } > $@-t && \ mv -f $@-t $@ # We need the following in order to create when the system # version does not work standalone. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \ -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \ -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \ -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \ -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \ -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \ -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \ -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \ -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \ -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \ -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \ -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \ -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \ -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \ -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \ -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \ -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \ -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \ -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \ -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \ -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \ -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \ -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \ -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \ -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \ -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \ -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \ -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \ -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCSFTIME''@/$(GNULIB_WCSFTIME)/g' \ < $(srcdir)/wchar.in.h | \ sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \ -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ | \ sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \ -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \ -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \ -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \ -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \ -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \ -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/wctype.in.h; \ } > $@-t && \ mv $@-t $@ mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gsasl-1.8.1/gl/float+.h0000644000000000000000000001274613516251574011477 00000000000000/* Supplemental information about the floating-point formats. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2007. 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 3, 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, see . */ #ifndef _FLOATPLUS_H #define _FLOATPLUS_H #include #include /* Number of bits in the mantissa of a floating-point number, including the "hidden bit". */ #if FLT_RADIX == 2 # define FLT_MANT_BIT FLT_MANT_DIG # define DBL_MANT_BIT DBL_MANT_DIG # define LDBL_MANT_BIT LDBL_MANT_DIG #elif FLT_RADIX == 4 # define FLT_MANT_BIT (FLT_MANT_DIG * 2) # define DBL_MANT_BIT (DBL_MANT_DIG * 2) # define LDBL_MANT_BIT (LDBL_MANT_DIG * 2) #elif FLT_RADIX == 16 # define FLT_MANT_BIT (FLT_MANT_DIG * 4) # define DBL_MANT_BIT (DBL_MANT_DIG * 4) # define LDBL_MANT_BIT (LDBL_MANT_DIG * 4) #endif /* Bit mask that can be used to mask the exponent, as an unsigned number. */ #define FLT_EXP_MASK ((FLT_MAX_EXP - FLT_MIN_EXP) | 7) #define DBL_EXP_MASK ((DBL_MAX_EXP - DBL_MIN_EXP) | 7) #define LDBL_EXP_MASK ((LDBL_MAX_EXP - LDBL_MIN_EXP) | 7) /* Number of bits used for the exponent of a floating-point number, including the exponent's sign. */ #define FLT_EXP_BIT \ (FLT_EXP_MASK < 0x100 ? 8 : \ FLT_EXP_MASK < 0x200 ? 9 : \ FLT_EXP_MASK < 0x400 ? 10 : \ FLT_EXP_MASK < 0x800 ? 11 : \ FLT_EXP_MASK < 0x1000 ? 12 : \ FLT_EXP_MASK < 0x2000 ? 13 : \ FLT_EXP_MASK < 0x4000 ? 14 : \ FLT_EXP_MASK < 0x8000 ? 15 : \ FLT_EXP_MASK < 0x10000 ? 16 : \ FLT_EXP_MASK < 0x20000 ? 17 : \ FLT_EXP_MASK < 0x40000 ? 18 : \ FLT_EXP_MASK < 0x80000 ? 19 : \ FLT_EXP_MASK < 0x100000 ? 20 : \ FLT_EXP_MASK < 0x200000 ? 21 : \ FLT_EXP_MASK < 0x400000 ? 22 : \ FLT_EXP_MASK < 0x800000 ? 23 : \ FLT_EXP_MASK < 0x1000000 ? 24 : \ FLT_EXP_MASK < 0x2000000 ? 25 : \ FLT_EXP_MASK < 0x4000000 ? 26 : \ FLT_EXP_MASK < 0x8000000 ? 27 : \ FLT_EXP_MASK < 0x10000000 ? 28 : \ FLT_EXP_MASK < 0x20000000 ? 29 : \ FLT_EXP_MASK < 0x40000000 ? 30 : \ FLT_EXP_MASK <= 0x7fffffff ? 31 : \ 32) #define DBL_EXP_BIT \ (DBL_EXP_MASK < 0x100 ? 8 : \ DBL_EXP_MASK < 0x200 ? 9 : \ DBL_EXP_MASK < 0x400 ? 10 : \ DBL_EXP_MASK < 0x800 ? 11 : \ DBL_EXP_MASK < 0x1000 ? 12 : \ DBL_EXP_MASK < 0x2000 ? 13 : \ DBL_EXP_MASK < 0x4000 ? 14 : \ DBL_EXP_MASK < 0x8000 ? 15 : \ DBL_EXP_MASK < 0x10000 ? 16 : \ DBL_EXP_MASK < 0x20000 ? 17 : \ DBL_EXP_MASK < 0x40000 ? 18 : \ DBL_EXP_MASK < 0x80000 ? 19 : \ DBL_EXP_MASK < 0x100000 ? 20 : \ DBL_EXP_MASK < 0x200000 ? 21 : \ DBL_EXP_MASK < 0x400000 ? 22 : \ DBL_EXP_MASK < 0x800000 ? 23 : \ DBL_EXP_MASK < 0x1000000 ? 24 : \ DBL_EXP_MASK < 0x2000000 ? 25 : \ DBL_EXP_MASK < 0x4000000 ? 26 : \ DBL_EXP_MASK < 0x8000000 ? 27 : \ DBL_EXP_MASK < 0x10000000 ? 28 : \ DBL_EXP_MASK < 0x20000000 ? 29 : \ DBL_EXP_MASK < 0x40000000 ? 30 : \ DBL_EXP_MASK <= 0x7fffffff ? 31 : \ 32) #define LDBL_EXP_BIT \ (LDBL_EXP_MASK < 0x100 ? 8 : \ LDBL_EXP_MASK < 0x200 ? 9 : \ LDBL_EXP_MASK < 0x400 ? 10 : \ LDBL_EXP_MASK < 0x800 ? 11 : \ LDBL_EXP_MASK < 0x1000 ? 12 : \ LDBL_EXP_MASK < 0x2000 ? 13 : \ LDBL_EXP_MASK < 0x4000 ? 14 : \ LDBL_EXP_MASK < 0x8000 ? 15 : \ LDBL_EXP_MASK < 0x10000 ? 16 : \ LDBL_EXP_MASK < 0x20000 ? 17 : \ LDBL_EXP_MASK < 0x40000 ? 18 : \ LDBL_EXP_MASK < 0x80000 ? 19 : \ LDBL_EXP_MASK < 0x100000 ? 20 : \ LDBL_EXP_MASK < 0x200000 ? 21 : \ LDBL_EXP_MASK < 0x400000 ? 22 : \ LDBL_EXP_MASK < 0x800000 ? 23 : \ LDBL_EXP_MASK < 0x1000000 ? 24 : \ LDBL_EXP_MASK < 0x2000000 ? 25 : \ LDBL_EXP_MASK < 0x4000000 ? 26 : \ LDBL_EXP_MASK < 0x8000000 ? 27 : \ LDBL_EXP_MASK < 0x10000000 ? 28 : \ LDBL_EXP_MASK < 0x20000000 ? 29 : \ LDBL_EXP_MASK < 0x40000000 ? 30 : \ LDBL_EXP_MASK <= 0x7fffffff ? 31 : \ 32) /* Number of bits used for a floating-point number: the mantissa (not counting the "hidden bit", since it may or may not be explicit), the exponent, and the sign. */ #define FLT_TOTAL_BIT ((FLT_MANT_BIT - 1) + FLT_EXP_BIT + 1) #define DBL_TOTAL_BIT ((DBL_MANT_BIT - 1) + DBL_EXP_BIT + 1) #define LDBL_TOTAL_BIT ((LDBL_MANT_BIT - 1) + LDBL_EXP_BIT + 1) /* Number of bytes used for a floating-point number. This can be smaller than the 'sizeof'. For example, on i386 systems, 'long double' most often have LDBL_MANT_BIT = 64, LDBL_EXP_BIT = 16, hence LDBL_TOTAL_BIT = 80 bits, i.e. 10 bytes of consecutive memory, but sizeof (long double) = 12 or = 16. */ #define SIZEOF_FLT ((FLT_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) #define SIZEOF_DBL ((DBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) #define SIZEOF_LDBL ((LDBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) /* Verify that SIZEOF_FLT <= sizeof (float) etc. */ typedef int verify_sizeof_flt[SIZEOF_FLT <= sizeof (float) ? 1 : -1]; typedef int verify_sizeof_dbl[SIZEOF_DBL <= sizeof (double) ? 1 : - 1]; typedef int verify_sizeof_ldbl[SIZEOF_LDBL <= sizeof (long double) ? 1 : - 1]; #endif /* _FLOATPLUS_H */ gsasl-1.8.1/gl/snprintf.c0000644000000000000000000000352413516251576012151 00000000000000/* Formatted output to strings. Copyright (C) 2004, 2006-2019 Free Software Foundation, Inc. Written by Simon Josefsson and Paul Eggert. 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 3, 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, see . */ #include /* Specification. */ #include #include #include #include #include #include #include "vasnprintf.h" /* Print formatted output to string STR. Similar to sprintf, but additional length SIZE limit how much is written into STR. Returns string length of formatted string (which may be larger than SIZE). STR may be NULL, in which case nothing will be written. On error, return a negative value. */ int snprintf (char *str, size_t size, const char *format, ...) { char *output; size_t len; size_t lenbuf = size; va_list args; va_start (args, format); output = vasnprintf (str, &lenbuf, format, args); len = lenbuf; va_end (args); if (!output) return -1; if (output != str) { if (size) { size_t pruned_len = (len < size ? len : size - 1); memcpy (str, output, pruned_len); str[pruned_len] = '\0'; } free (output); } if (INT_MAX < len) { errno = EOVERFLOW; return -1; } return len; } gsasl-1.8.1/gl/poll.in.h0000644000000000000000000000701413516251576011664 00000000000000/* Header for poll(2) emulation Contributed by Paolo Bonzini. Copyright 2001-2003, 2007, 2009-2019 Free Software Foundation, Inc. This file is part of gnulib. 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 3, 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, see . */ #ifndef _@GUARD_PREFIX@_POLL_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_POLL_H@ # @INCLUDE_NEXT@ @NEXT_POLL_H@ #endif #ifndef _@GUARD_PREFIX@_POLL_H #define _@GUARD_PREFIX@_POLL_H /* On native Windows, get the 'struct pollfd' type and the POLL* macro definitions before we override them. mingw defines them in if _WIN32_WINNT >= 0x0600. */ #if @HAVE_WINSOCK2_H@ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !@HAVE_POLL_H@ # if @HAVE_WINSOCK2_H@ /* Override the definitions from . */ # undef POLLIN # undef POLLPRI # undef POLLOUT # undef POLLERR # undef POLLHUP # undef POLLNVAL # undef POLLRDNORM # undef POLLRDBAND # undef POLLWRNORM # undef POLLWRBAND # define pollfd rpl_pollfd # endif /* fake a poll(2) environment */ # define POLLIN 0x0001 /* any readable data available */ # define POLLPRI 0x0002 /* OOB/Urgent readable data */ # define POLLOUT 0x0004 /* file descriptor is writable */ # define POLLERR 0x0008 /* some poll error occurred */ # define POLLHUP 0x0010 /* file descriptor was "hung up" */ # define POLLNVAL 0x0020 /* requested events "invalid" */ # define POLLRDNORM 0x0040 # define POLLRDBAND 0x0080 # define POLLWRNORM 0x0100 # define POLLWRBAND 0x0200 # if !GNULIB_defined_poll_types struct pollfd { int fd; /* which file descriptor to poll */ short events; /* events we are interested in */ short revents; /* events found on return */ }; typedef unsigned long nfds_t; # define GNULIB_defined_poll_types 1 # endif /* Define INFTIM only if doing so conforms to POSIX. */ # if !defined (_POSIX_C_SOURCE) && !defined (_XOPEN_SOURCE) # define INFTIM (-1) # endif #endif #if @GNULIB_POLL@ # if @REPLACE_POLL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef poll # define poll rpl_poll # endif _GL_FUNCDECL_RPL (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); _GL_CXXALIAS_RPL (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); # else # if !@HAVE_POLL@ _GL_FUNCDECL_SYS (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); # endif _GL_CXXALIAS_SYS (poll, int, (struct pollfd *pfd, nfds_t nfd, int timeout)); # endif _GL_CXXALIASWARN (poll); #elif defined GNULIB_POSIXCHECK # undef poll # if HAVE_RAW_DECL_POLL _GL_WARN_ON_USE (poll, "poll is unportable - " "use gnulib module poll for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_POLL_H */ #endif /* _@GUARD_PREFIX@_POLL_H */ gsasl-1.8.1/gl/getopt-cdefs.in.h0000644000000000000000000000376113516251573013304 00000000000000/* getopt-on-non-glibc compatibility macros. Copyright (C) 1989-2019 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This file 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 gnulib; if not, see . */ #ifndef _GETOPT_CDEFS_H #define _GETOPT_CDEFS_H 1 /* This header should not be used directly; include getopt.h or unistd.h instead. It does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ /* getopt-core.h and getopt-ext.h are shared with GNU libc, and expect a number of the internal macros supplied to GNU libc's headers by sys/cdefs.h. Provide fallback definitions for all of them. */ #if @HAVE_SYS_CDEFS_H@ # include #endif #ifndef __BEGIN_DECLS # ifdef __cplusplus # define __BEGIN_DECLS extern "C" { # else # define __BEGIN_DECLS /* nothing */ # endif #endif #ifndef __END_DECLS # ifdef __cplusplus # define __END_DECLS } # else # define __END_DECLS /* nothing */ # endif #endif #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_VERSION__ # define __GNUC_PREREQ(maj, min) \ ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) # else # define __GNUC_PREREQ(maj, min) 0 # endif #endif #ifndef __THROW # if defined __cplusplus && __GNUC_PREREQ (2,8) # define __THROW throw () # else # define __THROW # endif #endif #endif /* _GETOPT_CDEFS_H */ gsasl-1.8.1/gl/windows-recmutex.h0000644000000000000000000000363413516251573013636 00000000000000/* Plain recursive mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_RECMUTEX_H #define _WINDOWS_RECMUTEX_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" /* The native Windows documentation says that CRITICAL_SECTION already implements a recursive lock. But we need not rely on it: It's easy to implement a recursive lock without this assumption. */ typedef struct { glwthread_initguard_t guard; /* protects the initialization */ DWORD owner; unsigned long depth; CRITICAL_SECTION lock; } glwthread_recmutex_t; #define GLWTHREAD_RECMUTEX_INIT { GLWTHREAD_INITGUARD_INIT, 0, 0 } #ifdef __cplusplus extern "C" { #endif extern void glwthread_recmutex_init (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_lock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_trylock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_unlock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_destroy (glwthread_recmutex_t *mutex); #ifdef __cplusplus } #endif #endif /* _WINDOWS_RECMUTEX_H */ gsasl-1.8.1/gl/getprogname.h0000644000000000000000000000217413516251573012620 00000000000000/* Program name management. Copyright (C) 2016-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_GETPROGNAME_H #define _GL_GETPROGNAME_H #include #ifdef __cplusplus extern "C" { #endif /* Return the base name of the executing program. On native Windows this will usually end in ".exe" or ".EXE". */ #ifndef HAVE_GETPROGNAME extern char const *getprogname (void) # ifdef HAVE_DECL_PROGRAM_INVOCATION_NAME _GL_ATTRIBUTE_PURE # endif ; #endif #ifdef __cplusplus } #endif #endif gsasl-1.8.1/gl/stripslash.c0000644000000000000000000000304213516251573012472 00000000000000/* stripslash.c -- remove redundant trailing slashes from a file name Copyright (C) 1990, 2001, 2003-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include "dirname.h" /* Remove trailing slashes from FILE. Return true if a trailing slash was removed. This is useful when using file name completion from a shell that adds a "/" after directory names (such as tcsh and bash), because on symlinks to directories, several system calls have different semantics according to whether a trailing slash is present. */ bool strip_trailing_slashes (char *file) { char *base = last_component (file); char *base_lim; bool had_slash; /* last_component returns "" for file system roots, but we need to turn "///" into "/". */ if (! *base) base = file; base_lim = base + base_len (base); had_slash = (*base_lim != '\0'); *base_lim = '\0'; return had_slash; } gsasl-1.8.1/gl/unused-parameter.h0000644000000000000000000000304313516251573013565 00000000000000/* A C macro for declaring that specific function parameters are not used. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_UNUSED_PARAMETER is a marker that can be appended to function parameter declarations for parameters that are not used. This helps to reduce warnings, such as from GCC -Wunused-parameter. The syntax is as follows: type param _GL_UNUSED_PARAMETER or more generally param_decl _GL_UNUSED_PARAMETER For example: int param _GL_UNUSED_PARAMETER int *(*param)(void) _GL_UNUSED_PARAMETER Other possible, but obscure and discouraged syntaxes: int _GL_UNUSED_PARAMETER *(*param)(void) _GL_UNUSED_PARAMETER int *(*param)(void) */ #ifndef _GL_UNUSED_PARAMETER # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED_PARAMETER __attribute__ ((__unused__)) # else # define _GL_UNUSED_PARAMETER # endif #endif gsasl-1.8.1/gl/getline.c0000644000000000000000000000166713516251574011741 00000000000000/* getline.c --- Implementation of replacement getline function. Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Simon Josefsson. */ #include #include ssize_t getline (char **lineptr, size_t *n, FILE *stream) { return getdelim (lineptr, n, '\n', stream); } gsasl-1.8.1/gl/float.in.h0000644000000000000000000001677713516251574012041 00000000000000/* A correct . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _@GUARD_PREFIX@_FLOAT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_FLOAT_H@ #ifndef _@GUARD_PREFIX@_FLOAT_H #define _@GUARD_PREFIX@_FLOAT_H /* 'long double' properties. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) /* Number of mantissa units, in base FLT_RADIX. */ # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 /* Number of decimal digits that is sufficient for representing a number. */ # undef LDBL_DIG # define LDBL_DIG 18 /* x-1 where x is the smallest representable number > 1. */ # undef LDBL_EPSILON # define LDBL_EPSILON 1.0842021724855044340E-19L /* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */ # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 /* Minimum positive normalized number. */ # undef LDBL_MIN # define LDBL_MIN 3.3621031431120935063E-4932L /* Maximum representable finite number. */ # undef LDBL_MAX # define LDBL_MAX 1.1897314953572317650E+4932L /* Minimum e such that 10^e is in the range of normalized numbers. */ # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP (-4931) /* Maximum e such that 10^e is in the range of representable finite numbers. */ # undef LDBL_MAX_10_EXP # define LDBL_MAX_10_EXP 4932 #endif /* On FreeBSD/x86 6.4, the 'long double' type really has only 53 bits of precision in the compiler but 64 bits of precision at runtime. See . */ #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) /* Number of mantissa units, in base FLT_RADIX. */ # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 /* Number of decimal digits that is sufficient for representing a number. */ # undef LDBL_DIG # define LDBL_DIG 18 /* x-1 where x is the smallest representable number > 1. */ # undef LDBL_EPSILON # define LDBL_EPSILON 1.084202172485504434007452800869941711426e-19L /* 2^-63 */ /* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */ # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 /* Minimum positive normalized number. */ # undef LDBL_MIN # define LDBL_MIN 3.362103143112093506262677817321752E-4932L /* = 0x1p-16382L */ /* Maximum representable finite number. */ # undef LDBL_MAX /* LDBL_MAX is represented as { 0xFFFFFFFF, 0xFFFFFFFF, 32766 }. But the largest literal that GCC allows us to write is 0x0.fffffffffffff8p16384L = { 0xFFFFF800, 0xFFFFFFFF, 32766 }. So, define it like this through a reference to an external variable const unsigned int LDBL_MAX[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 32766 }; extern const long double LDBL_MAX; Unfortunately, this is not a constant expression. */ union gl_long_double_union { struct { unsigned int lo; unsigned int hi; unsigned int exponent; } xd; long double ld; }; extern const union gl_long_double_union gl_LDBL_MAX; # define LDBL_MAX (gl_LDBL_MAX.ld) /* Minimum e such that 10^e is in the range of normalized numbers. */ # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP (-4931) /* Maximum e such that 10^e is in the range of representable finite numbers. */ # undef LDBL_MAX_10_EXP # define LDBL_MAX_10_EXP 4932 #endif /* On AIX 7.1 with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_MAX are wrong. On Linux/PowerPC with gcc 4.4, the value of LDBL_MAX is wrong. */ #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP DBL_MIN_10_EXP # undef LDBL_MIN # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L /* DBL_MIN = 2^-1022 */ #endif #if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MAX /* LDBL_MAX is represented as { 0x7FEFFFFF, 0xFFFFFFFF, 0x7C8FFFFF, 0xFFFFFFFF }. It is not easy to define: #define LDBL_MAX 1.79769313486231580793728971405302307166e308L is too small, whereas #define LDBL_MAX 1.79769313486231580793728971405302307167e308L is too large. Apparently a bug in GCC decimal-to-binary conversion. Also, I can't get values larger than #define LDBL63 ((long double) (1ULL << 63)) #define LDBL882 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL945 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL1008 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL_MAX (LDBL1008 * 65535.0L + LDBL945 * (long double) 9223372036821221375ULL + LDBL882 * (long double) 4611686018427387904ULL) which is represented as { 0x7FEFFFFF, 0xFFFFFFFF, 0x7C8FFFFF, 0xF8000000 }. So, define it like this through a reference to an external variable const double LDBL_MAX[2] = { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL }; extern const long double LDBL_MAX; or through a pointer cast #define LDBL_MAX \ (*(const long double *) (double[]) { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL }) Unfortunately, this is not a constant expression, and the latter expression does not work well when GCC is optimizing.. */ union gl_long_double_union { struct { double hi; double lo; } dd; long double ld; }; extern const union gl_long_double_union gl_LDBL_MAX; # define LDBL_MAX (gl_LDBL_MAX.ld) #endif /* On IRIX 6.5, with cc, the value of LDBL_MANT_DIG is wrong. On IRIX 6.5, with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_EPSILON are wrong. */ #if defined __sgi && (LDBL_MANT_DIG >= 106) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 106 # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP DBL_MIN_10_EXP # undef LDBL_MIN # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L /* DBL_MIN = 2^-1022 */ # undef LDBL_EPSILON # define LDBL_EPSILON 2.46519032881566189191165176650870696773e-32L /* 2^-105 */ # endif #endif #if @REPLACE_ITOLD@ /* Pull in a function that fixes the 'int' to 'long double' conversion of glibc 2.7. */ extern # ifdef __cplusplus "C" # endif void _Qp_itoq (long double *, int); static void (*_gl_float_fix_itold) (long double *, int) = _Qp_itoq; #endif #endif /* _@GUARD_PREFIX@_FLOAT_H */ #endif /* _@GUARD_PREFIX@_FLOAT_H */ gsasl-1.8.1/gl/dup2.c0000644000000000000000000001156413516251574011161 00000000000000/* Duplicate an open file descriptor to a specified file descriptor. Copyright (C) 1999, 2004-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Paul Eggert */ #include /* Specification. */ #include #include #include #if HAVE_DUP2 # undef dup2 # if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int dup2_nothrow (int fd, int desired_fd) { int result; TRY_MSVC_INVAL { result = dup2 (fd, desired_fd); } CATCH_MSVC_INVAL { errno = EBADF; result = -1; } DONE_MSVC_INVAL; return result; } # else # define dup2_nothrow dup2 # endif static int ms_windows_dup2 (int fd, int desired_fd) { int result; /* If fd is closed, mingw hangs on dup2 (fd, fd). If fd is open, dup2 (fd, fd) returns 0, but all further attempts to use fd in future dup2 calls will hang. */ if (fd == desired_fd) { if ((HANDLE) _get_osfhandle (fd) == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } return fd; } /* Wine 1.0.1 return 0 when desired_fd is negative but not -1: https://bugs.winehq.org/show_bug.cgi?id=21289 */ if (desired_fd < 0) { errno = EBADF; return -1; } result = dup2_nothrow (fd, desired_fd); if (result == 0) result = desired_fd; return result; } # define dup2 ms_windows_dup2 # elif defined __KLIBC__ # include static int klibc_dup2dirfd (int fd, int desired_fd) { int tempfd; int dupfd; tempfd = open ("NUL", O_RDONLY); if (tempfd == -1) return -1; if (tempfd == desired_fd) { close (tempfd); char path[_MAX_PATH]; if (__libc_Back_ioFHToPath (fd, path, sizeof (path))) return -1; return open(path, O_RDONLY); } dupfd = klibc_dup2dirfd (fd, desired_fd); close (tempfd); return dupfd; } static int klibc_dup2 (int fd, int desired_fd) { int dupfd; struct stat sbuf; dupfd = dup2 (fd, desired_fd); if (dupfd == -1 && errno == ENOTSUP \ && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) { close (desired_fd); return klibc_dup2dirfd (fd, desired_fd); } return dupfd; } # define dup2 klibc_dup2 # endif int rpl_dup2 (int fd, int desired_fd) { int result; # ifdef F_GETFL /* On Linux kernels 2.6.26-2.6.29, dup2 (fd, fd) returns -EBADF. On Cygwin 1.5.x, dup2 (1, 1) returns 0. On Cygwin 1.7.17, dup2 (1, -1) dumps core. On Cygwin 1.7.25, dup2 (1, 256) can dump core. On Haiku, dup2 (fd, fd) mistakenly clears FD_CLOEXEC. */ # if HAVE_SETDTABLESIZE setdtablesize (desired_fd + 1); # endif if (desired_fd < 0) fd = desired_fd; if (fd == desired_fd) return fcntl (fd, F_GETFL) == -1 ? -1 : fd; # endif result = dup2 (fd, desired_fd); /* Correct an errno value on FreeBSD 6.1 and Cygwin 1.5.x. */ if (result == -1 && errno == EMFILE) errno = EBADF; # if REPLACE_FCHDIR if (fd != desired_fd && result != -1) result = _gl_register_dup (fd, result); # endif return result; } #else /* !HAVE_DUP2 */ /* On older platforms, dup2 did not exist. */ # ifndef F_DUPFD static int dupfd (int fd, int desired_fd) { int duplicated_fd = dup (fd); if (duplicated_fd < 0 || duplicated_fd == desired_fd) return duplicated_fd; else { int r = dupfd (fd, desired_fd); int e = errno; close (duplicated_fd); errno = e; return r; } } # endif int dup2 (int fd, int desired_fd) { int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; if (result == -1 || fd == desired_fd) return result; close (desired_fd); # ifdef F_DUPFD result = fcntl (fd, F_DUPFD, desired_fd); # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif # else result = dupfd (fd, desired_fd); # endif if (result == -1 && (errno == EMFILE || errno == EINVAL)) errno = EBADF; return result; } #endif /* !HAVE_DUP2 */ gsasl-1.8.1/gl/c-ctype.c0000644000000000000000000000012213516251574011637 00000000000000#include #define C_CTYPE_INLINE _GL_EXTERN_INLINE #include "c-ctype.h" gsasl-1.8.1/gl/iconv_open-osf.h0000644000000000000000000002536513521017344013233 00000000000000/* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 ./iconv_open-osf.gperf */ /* Computed positions: -k'4,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "./iconv_open-osf.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 38 #define MIN_WORD_LENGTH 4 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 6 #define MAX_HASH_VALUE 47 /* maximum key range = 42, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 2, 29, 24, 34, 31, 0, 15, 14, 10, 13, 2, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 7, 48, 48, 48, 48, 48, 48, 11, 48, 2, 7, 48, 48, 48, 1, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48 }; return len + asso_values[(unsigned char)str[3]+3] + asso_values[(unsigned char)str[len - 1]]; } struct stringpool_t { char stringpool_str6[sizeof("CP1255")]; char stringpool_str7[sizeof("CP775")]; char stringpool_str8[sizeof("CP1250")]; char stringpool_str9[sizeof("EUC-TW")]; char stringpool_str10[sizeof("EUC-KR")]; char stringpool_str11[sizeof("TIS-620")]; char stringpool_str12[sizeof("ISO-8859-5")]; char stringpool_str13[sizeof("ISO-8859-15")]; char stringpool_str14[sizeof("BIG5")]; char stringpool_str15[sizeof("CP855")]; char stringpool_str16[sizeof("CP1258")]; char stringpool_str17[sizeof("CP850")]; char stringpool_str18[sizeof("CP865")]; char stringpool_str19[sizeof("EUC-JP")]; char stringpool_str20[sizeof("CP1257")]; char stringpool_str21[sizeof("CP1256")]; char stringpool_str22[sizeof("ISO-8859-8")]; char stringpool_str23[sizeof("SHIFT_JIS")]; char stringpool_str25[sizeof("ISO-8859-9")]; char stringpool_str26[sizeof("ISO-8859-7")]; char stringpool_str27[sizeof("ISO-8859-6")]; char stringpool_str29[sizeof("CP857")]; char stringpool_str30[sizeof("CP1252")]; char stringpool_str31[sizeof("CP869")]; char stringpool_str32[sizeof("CP949")]; char stringpool_str33[sizeof("CP866")]; char stringpool_str34[sizeof("CP437")]; char stringpool_str35[sizeof("CP1251")]; char stringpool_str36[sizeof("ISO-8859-2")]; char stringpool_str37[sizeof("CP1254")]; char stringpool_str38[sizeof("CP874")]; char stringpool_str39[sizeof("CP852")]; char stringpool_str40[sizeof("CP1253")]; char stringpool_str41[sizeof("ISO-8859-1")]; char stringpool_str42[sizeof("CP862")]; char stringpool_str43[sizeof("ISO-8859-4")]; char stringpool_str46[sizeof("ISO-8859-3")]; char stringpool_str47[sizeof("CP861")]; }; static const struct stringpool_t stringpool_contents = { "CP1255", "CP775", "CP1250", "EUC-TW", "EUC-KR", "TIS-620", "ISO-8859-5", "ISO-8859-15", "BIG5", "CP855", "CP1258", "CP850", "CP865", "EUC-JP", "CP1257", "CP1256", "ISO-8859-8", "SHIFT_JIS", "ISO-8859-9", "ISO-8859-7", "ISO-8859-6", "CP857", "CP1252", "CP869", "CP949", "CP866", "CP437", "CP1251", "ISO-8859-2", "CP1254", "CP874", "CP852", "CP1253", "ISO-8859-1", "CP862", "ISO-8859-4", "ISO-8859-3", "CP861" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 57 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "cp1255"}, #line 40 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "cp775"}, #line 52 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "cp1250"}, #line 63 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "eucTW"}, #line 62 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "eucKR"}, #line 66 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "TACTIS"}, #line 33 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "ISO8859-5"}, #line 38 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "ISO8859-15"}, #line 64 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "big5"}, #line 43 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "cp855"}, #line 60 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "cp1258"}, #line 41 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "cp850"}, #line 47 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "cp865"}, #line 61 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "eucJP"}, #line 59 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "cp1257"}, #line 58 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "cp1256"}, #line 36 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "ISO8859-8"}, #line 65 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "SJIS"}, {-1}, #line 37 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str25, "ISO8859-9"}, #line 35 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str26, "ISO8859-7"}, #line 34 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str27, "ISO8859-6"}, {-1}, #line 44 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str29, "cp857"}, #line 54 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str30, "cp1252"}, #line 49 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str31, "cp869"}, #line 51 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str32, "KSC5601"}, #line 48 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str33, "cp866"}, #line 39 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str34, "cp437"}, #line 53 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str35, "cp1251"}, #line 30 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str36, "ISO8859-2"}, #line 56 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str37, "cp1254"}, #line 50 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str38, "cp874"}, #line 42 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str39, "cp852"}, #line 55 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str40, "cp1253"}, #line 29 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str41, "ISO8859-1"}, #line 46 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str42, "cp862"}, #line 32 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str43, "ISO8859-4"}, {-1}, {-1}, #line 31 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str46, "ISO8859-3"}, #line 45 "./iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str47, "cp861"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } gsasl-1.8.1/gl/striconv.h0000644000000000000000000000550113516251577012160 00000000000000/* Charset conversion. Copyright (C) 2001-2004, 2006-2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible and Simon Josefsson. 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 3, 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, see . */ #ifndef _STRICONV_H #define _STRICONV_H #include #if HAVE_ICONV #include #endif #ifdef __cplusplus extern "C" { #endif #if HAVE_ICONV /* Convert an entire string from one encoding to another, using iconv. The original string is at [SRC,...,SRC+SRCLEN-1]. The conversion descriptor is passed as CD. *RESULTP and *LENGTH should initially be a scratch buffer and its size, or *RESULTP can initially be NULL. May erase the contents of the memory at *RESULTP. Return value: 0 if successful, otherwise -1 and errno set. If successful: The resulting string is stored in *RESULTP and its length in *LENGTHP. *RESULTP is set to a freshly allocated memory block, or is unchanged if no dynamic memory allocation was necessary. */ extern int mem_cd_iconv (const char *src, size_t srclen, iconv_t cd, char **resultp, size_t *lengthp); /* Convert an entire string from one encoding to another, using iconv. The original string is the NUL-terminated string starting at SRC. The conversion descriptor is passed as CD. Both the "from" and the "to" encoding must use a single NUL byte at the end of the string (i.e. not UCS-2, UCS-4, UTF-16, UTF-32). Allocate a malloced memory block for the result. Return value: the freshly allocated resulting NUL-terminated string if successful, otherwise NULL and errno set. */ extern char * str_cd_iconv (const char *src, iconv_t cd); #endif /* Convert an entire string from one encoding to another, using iconv. The original string is the NUL-terminated string starting at SRC. Both the "from" and the "to" encoding must use a single NUL byte at the end of the string (i.e. not UCS-2, UCS-4, UTF-16, UTF-32). Allocate a malloced memory block for the result. Return value: the freshly allocated resulting NUL-terminated string if successful, otherwise NULL and errno set. */ extern char * str_iconv (const char *src, const char *from_codeset, const char *to_codeset); #ifdef __cplusplus } #endif #endif /* _STRICONV_H */ gsasl-1.8.1/gl/gai_strerror.c0000644000000000000000000000524413516251574013007 00000000000000/* Copyright (C) 1997, 2001-2002, 2004-2006, 2008-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell , 1997. 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 3, 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, see . */ #ifndef _LIBC # include #endif #include #include #ifdef _LIBC # include #else # include "gettext.h" # define _(String) gettext (String) # define N_(String) String #endif #if HAVE_DECL_GAI_STRERROR # include # undef gai_strerror # if HAVE_DECL_GAI_STRERRORA # define gai_strerror gai_strerrorA # endif const char * rpl_gai_strerror (int code) { return gai_strerror (code); } #else /* !HAVE_DECL_GAI_STRERROR */ static struct { int code; const char *msg; } values[] = { { EAI_ADDRFAMILY, N_("Address family for hostname not supported") }, { EAI_AGAIN, N_("Temporary failure in name resolution") }, { EAI_BADFLAGS, N_("Bad value for ai_flags") }, { EAI_FAIL, N_("Non-recoverable failure in name resolution") }, { EAI_FAMILY, N_("ai_family not supported") }, { EAI_MEMORY, N_("Memory allocation failure") }, { EAI_NODATA, N_("No address associated with hostname") }, { EAI_NONAME, N_("Name or service not known") }, { EAI_SERVICE, N_("Servname not supported for ai_socktype") }, { EAI_SOCKTYPE, N_("ai_socktype not supported") }, { EAI_SYSTEM, N_("System error") }, { EAI_OVERFLOW, N_("Argument buffer too small") }, #ifdef EAI_INPROGRESS { EAI_INPROGRESS, N_("Processing request in progress") }, { EAI_CANCELED, N_("Request canceled") }, { EAI_NOTCANCELED, N_("Request not canceled") }, { EAI_ALLDONE, N_("All requests done") }, { EAI_INTR, N_("Interrupted by a signal") }, { EAI_IDN_ENCODE, N_("Parameter string not correctly encoded") } #endif }; const char * gai_strerror (int code) { size_t i; for (i = 0; i < sizeof (values) / sizeof (values[0]); ++i) if (values[i].code == code) return _(values[i].msg); return _("Unknown error"); } # ifdef _LIBC libc_hidden_def (gai_strerror) # endif #endif /* !HAVE_DECL_GAI_STRERROR */ gsasl-1.8.1/gl/readline.c0000644000000000000000000000340513516251576012067 00000000000000/* readline.c --- Simple implementation of readline. Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. Written by Simon Josefsson 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 3 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, see . */ #include /* This module is intended to be used when the application only needs the readline interface. If you need more functions from the readline library, it is recommended to require the readline library (or improve this module) rather than #if-protect part of your application (doing so would add assumptions of this module into your application). The application should use #include "readline.h", that header file will include if the real library is present on the system. */ /* Get specification. */ #include "readline.h" #include #include char * readline (const char *prompt) { char *out = NULL; size_t size = 0; if (prompt) { fputs (prompt, stdout); fflush (stdout); } if (getline (&out, &size, stdin) < 0) return NULL; while (*out && (out[strlen (out) - 1] == '\r' || out[strlen (out) - 1] == '\n')) out[strlen (out) - 1] = '\0'; return out; } gsasl-1.8.1/gl/getopt.c0000644000000000000000000005706213516251574011614 00000000000000/* Getopt for GNU. Copyright (C) 1987-2019 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library 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 3 of the License, or (at your option) any later version. The GNU C Library 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 the GNU C Library; if not, see . */ #ifndef _LIBC # include #endif #include "getopt.h" #include #include #include #include #ifdef _LIBC /* When used as part of glibc, error printing must be done differently for standards compliance. getopt is not a cancellation point, so it must not call functions that are, and it is specified by an older standard than stdio locking, so it must not refer to functions in the "user namespace" related to stdio locking. Finally, it must use glibc's internal message translation so that the messages are looked up in the proper text domain. */ # include # define fprintf __fxprintf_nocancel # define flockfile(fp) _IO_flockfile (fp) # define funlockfile(fp) _IO_funlockfile (fp) #else # include "gettext.h" # define _(msgid) gettext (msgid) /* When used standalone, flockfile and funlockfile might not be available. */ # if (!defined _POSIX_THREAD_SAFE_FUNCTIONS \ || (defined _WIN32 && ! defined __CYGWIN__)) # define flockfile(fp) /* nop */ # define funlockfile(fp) /* nop */ # endif /* When used standalone, do not attempt to use alloca. */ # define __libc_use_alloca(size) 0 # undef alloca # define alloca(size) (abort (), (void *)0) #endif /* This implementation of 'getopt' has three modes for handling options interspersed with non-option arguments. It can stop scanning for options at the first non-option argument encountered, as POSIX specifies. It can continue scanning for options after the first non-option argument, but permute 'argv' as it goes so that, after 'getopt' is done, all the options precede all the non-option arguments and 'optind' points to the first non-option argument. Or, it can report non-option arguments as if they were arguments to the option character '\x01'. The default behavior of 'getopt_long' is to permute the argument list. When this implementation is used standalone, the default behavior of 'getopt' is to stop at the first non-option argument, but when it is used as part of GNU libc it also permutes the argument list. In both cases, setting the environment variable POSIXLY_CORRECT to any value disables permutation. If the first character of the OPTSTRING argument to 'getopt' or 'getopt_long' is '+', both functions will stop at the first non-option argument. If it is '-', both functions will report non-option arguments as arguments to the option character '\x01'. */ #include "getopt_int.h" /* For communication from 'getopt' to the caller. When 'getopt' finds an option that takes an argument, the argument value is returned here. Also, when 'ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to 'getopt'. On entry to 'getopt', zero means this is the first call; initialize. When 'getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, 'optind' communicates from one call to the next how much of ARGV has been scanned so far. */ /* 1003.2 says this must be 1 before any call. */ int optind = 1; /* Callers store zero here to inhibit the error message for unrecognized options. */ int opterr = 1; /* Set to an option character which was unrecognized. This must be initialized on some systems to avoid linking in the system's own getopt implementation. */ int optopt = '?'; /* Keep a global copy of all internal members of getopt_data. */ static struct _getopt_data getopt_data; /* Exchange two adjacent subsequences of ARGV. One subsequence is elements [first_nonopt,last_nonopt) which contains all the non-options that have been skipped so far. The other is elements [last_nonopt,optind), which contains all the options processed since those non-options were skipped. 'first_nonopt' and 'last_nonopt' are relocated so that they describe the new indices of the non-options in ARGV after they are moved. */ static void exchange (char **argv, struct _getopt_data *d) { int bottom = d->__first_nonopt; int middle = d->__last_nonopt; int top = d->optind; char *tem; /* Exchange the shorter segment with the far end of the longer segment. That puts the shorter segment into the right place. It leaves the longer segment in the right place overall, but it consists of two parts that need to be swapped next. */ while (top > middle && middle > bottom) { if (top - middle > middle - bottom) { /* Bottom segment is the short one. */ int len = middle - bottom; int i; /* Swap it with the top part of the top segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[top - (middle - bottom) + i]; argv[top - (middle - bottom) + i] = tem; } /* Exclude the moved bottom segment from further swapping. */ top -= len; } else { /* Top segment is the short one. */ int len = top - middle; int i; /* Swap it with the bottom part of the bottom segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[middle + i]; argv[middle + i] = tem; } /* Exclude the moved top segment from further swapping. */ bottom += len; } } /* Update records for the slots the non-options now occupy. */ d->__first_nonopt += (d->optind - d->__last_nonopt); d->__last_nonopt = d->optind; } /* Process the argument starting with d->__nextchar as a long option. d->optind should *not* have been advanced over this argument. If the value returned is -1, it was not actually a long option, the state is unchanged, and the argument should be processed as a set of short options (this can only happen when long_only is true). Otherwise, the option (and its argument, if any) have been consumed and the return value is the value to return from _getopt_internal_r. */ static int process_long_option (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int print_errors, const char *prefix) { char *nameend; size_t namelen; const struct option *p; const struct option *pfound = NULL; int n_options; int option_index; for (nameend = d->__nextchar; *nameend && *nameend != '='; nameend++) /* Do nothing. */ ; namelen = nameend - d->__nextchar; /* First look for an exact match, counting the options as a side effect. */ for (p = longopts, n_options = 0; p->name; p++, n_options++) if (!strncmp (p->name, d->__nextchar, namelen) && namelen == strlen (p->name)) { /* Exact match found. */ pfound = p; option_index = n_options; break; } if (pfound == NULL) { /* Didn't find an exact match, so look for abbreviations. */ unsigned char *ambig_set = NULL; int ambig_malloced = 0; int ambig_fallback = 0; int indfound = -1; for (p = longopts, option_index = 0; p->name; p++, option_index++) if (!strncmp (p->name, d->__nextchar, namelen)) { if (pfound == NULL) { /* First nonexact match found. */ pfound = p; indfound = option_index; } else if (long_only || pfound->has_arg != p->has_arg || pfound->flag != p->flag || pfound->val != p->val) { /* Second or later nonexact match found. */ if (!ambig_fallback) { if (!print_errors) /* Don't waste effort tracking the ambig set if we're not going to print it anyway. */ ambig_fallback = 1; else if (!ambig_set) { if (__libc_use_alloca (n_options)) ambig_set = alloca (n_options); else if ((ambig_set = malloc (n_options)) == NULL) /* Fall back to simpler error message. */ ambig_fallback = 1; else ambig_malloced = 1; if (ambig_set) { memset (ambig_set, 0, n_options); ambig_set[indfound] = 1; } } if (ambig_set) ambig_set[option_index] = 1; } } } if (ambig_set || ambig_fallback) { if (print_errors) { if (ambig_fallback) fprintf (stderr, _("%s: option '%s%s' is ambiguous\n"), argv[0], prefix, d->__nextchar); else { flockfile (stderr); fprintf (stderr, _("%s: option '%s%s' is ambiguous; possibilities:"), argv[0], prefix, d->__nextchar); for (option_index = 0; option_index < n_options; option_index++) if (ambig_set[option_index]) fprintf (stderr, " '%s%s'", prefix, longopts[option_index].name); /* This must use 'fprintf' even though it's only printing a single character, so that it goes through __fxprintf_nocancel when compiled as part of glibc. */ fprintf (stderr, "\n"); funlockfile (stderr); } } if (ambig_malloced) free (ambig_set); d->__nextchar += strlen (d->__nextchar); d->optind++; d->optopt = 0; return '?'; } option_index = indfound; } if (pfound == NULL) { /* Can't find it as a long option. If this is not getopt_long_only, or the option starts with '--' or is not a valid short option, then it's an error. */ if (!long_only || argv[d->optind][1] == '-' || strchr (optstring, *d->__nextchar) == NULL) { if (print_errors) fprintf (stderr, _("%s: unrecognized option '%s%s'\n"), argv[0], prefix, d->__nextchar); d->__nextchar = NULL; d->optind++; d->optopt = 0; return '?'; } /* Otherwise interpret it as a short option. */ return -1; } /* We have found a matching long option. Consume it. */ d->optind++; d->__nextchar = NULL; if (*nameend) { /* Don't test has_arg with >, because some C compilers don't allow it to be used on enums. */ if (pfound->has_arg) d->optarg = nameend + 1; else { if (print_errors) fprintf (stderr, _("%s: option '%s%s' doesn't allow an argument\n"), argv[0], prefix, pfound->name); d->optopt = pfound->val; return '?'; } } else if (pfound->has_arg == 1) { if (d->optind < argc) d->optarg = argv[d->optind++]; else { if (print_errors) fprintf (stderr, _("%s: option '%s%s' requires an argument\n"), argv[0], prefix, pfound->name); d->optopt = pfound->val; return optstring[0] == ':' ? ':' : '?'; } } if (longind != NULL) *longind = option_index; if (pfound->flag) { *(pfound->flag) = pfound->val; return 0; } return pfound->val; } /* Initialize internal data upon the first call to getopt. */ static const char * _getopt_initialize (int argc _GL_UNUSED, char **argv _GL_UNUSED, const char *optstring, struct _getopt_data *d, int posixly_correct) { /* Start processing options with ARGV-element 1 (since ARGV-element 0 is the program name); the sequence of previously skipped non-option ARGV-elements is empty. */ if (d->optind == 0) d->optind = 1; d->__first_nonopt = d->__last_nonopt = d->optind; d->__nextchar = NULL; /* Determine how to handle the ordering of options and nonoptions. */ if (optstring[0] == '-') { d->__ordering = RETURN_IN_ORDER; ++optstring; } else if (optstring[0] == '+') { d->__ordering = REQUIRE_ORDER; ++optstring; } else if (posixly_correct || !!getenv ("POSIXLY_CORRECT")) d->__ordering = REQUIRE_ORDER; else d->__ordering = PERMUTE; d->__initialized = 1; return optstring; } /* Scan elements of ARGV (whose length is ARGC) for option characters given in OPTSTRING. If an element of ARGV starts with '-', and is not exactly "-" or "--", then it is an option element. The characters of this element (aside from the initial '-') are option characters. If 'getopt' is called repeatedly, it returns successively each of the option characters from each of the option elements. If 'getopt' finds another option character, it returns that character, updating 'optind' and 'nextchar' so that the next call to 'getopt' can resume the scan with the following option character or ARGV-element. If there are no more option characters, 'getopt' returns -1. Then 'optind' is the index in ARGV of the first ARGV-element that is not an option. (The ARGV-elements have been permuted so that those that are not options now come last.) OPTSTRING is a string containing the legitimate option characters. If an option character is seen that is not listed in OPTSTRING, return '?' after printing an error message. If you set 'opterr' to zero, the error message is suppressed but we still return '?'. If a char in OPTSTRING is followed by a colon, that means it wants an arg, so the following text in the same ARGV-element, or the text of the following ARGV-element, is returned in 'optarg'. Two colons mean an option that wants an optional arg; if there is text in the current ARGV-element, it is returned in 'optarg', otherwise 'optarg' is set to zero. If OPTSTRING starts with '-' or '+', it requests different methods of handling the non-option ARGV-elements. See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. Long-named options begin with '--' instead of '-'. Their names may be abbreviated as long as the abbreviation is unique or is an exact match for some defined option. If they have an argument, it follows the option name in the same ARGV-element, separated from the option name by a '=', or else the in next ARGV-element. When 'getopt' finds a long-named option, it returns 0 if that option's 'flag' field is nonzero, the value of the option's 'val' field if the 'flag' field is zero. The elements of ARGV aren't really const, because we permute them. But we pretend they're const in the prototype to be compatible with other systems. LONGOPTS is a vector of 'struct option' terminated by an element containing a name which is zero. LONGIND returns the index in LONGOPT of the long-named option found. It is only valid when a long-named option has been found by the most recent call. If LONG_ONLY is nonzero, '-' as well as '--' can introduce long-named options. */ int _getopt_internal_r (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int posixly_correct) { int print_errors = d->opterr; if (argc < 1) return -1; d->optarg = NULL; if (d->optind == 0 || !d->__initialized) optstring = _getopt_initialize (argc, argv, optstring, d, posixly_correct); else if (optstring[0] == '-' || optstring[0] == '+') optstring++; if (optstring[0] == ':') print_errors = 0; /* Test whether ARGV[optind] points to a non-option argument. */ #define NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0') if (d->__nextchar == NULL || *d->__nextchar == '\0') { /* Advance to the next ARGV-element. */ /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been moved back by the user (who may also have changed the arguments). */ if (d->__last_nonopt > d->optind) d->__last_nonopt = d->optind; if (d->__first_nonopt > d->optind) d->__first_nonopt = d->optind; if (d->__ordering == PERMUTE) { /* If we have just processed some options following some non-options, exchange them so that the options come first. */ if (d->__first_nonopt != d->__last_nonopt && d->__last_nonopt != d->optind) exchange (argv, d); else if (d->__last_nonopt != d->optind) d->__first_nonopt = d->optind; /* Skip any additional non-options and extend the range of non-options previously skipped. */ while (d->optind < argc && NONOPTION_P) d->optind++; d->__last_nonopt = d->optind; } /* The special ARGV-element '--' means premature end of options. Skip it like a null option, then exchange with previous non-options as if it were an option, then skip everything else like a non-option. */ if (d->optind != argc && !strcmp (argv[d->optind], "--")) { d->optind++; if (d->__first_nonopt != d->__last_nonopt && d->__last_nonopt != d->optind) exchange (argv, d); else if (d->__first_nonopt == d->__last_nonopt) d->__first_nonopt = d->optind; d->__last_nonopt = argc; d->optind = argc; } /* If we have done all the ARGV-elements, stop the scan and back over any non-options that we skipped and permuted. */ if (d->optind == argc) { /* Set the next-arg-index to point at the non-options that we previously skipped, so the caller will digest them. */ if (d->__first_nonopt != d->__last_nonopt) d->optind = d->__first_nonopt; return -1; } /* If we have come to a non-option and did not permute it, either stop the scan or describe it to the caller and pass it by. */ if (NONOPTION_P) { if (d->__ordering == REQUIRE_ORDER) return -1; d->optarg = argv[d->optind++]; return 1; } /* We have found another option-ARGV-element. Check whether it might be a long option. */ if (longopts) { if (argv[d->optind][1] == '-') { /* "--foo" is always a long option. The special option "--" was handled above. */ d->__nextchar = argv[d->optind] + 2; return process_long_option (argc, argv, optstring, longopts, longind, long_only, d, print_errors, "--"); } /* If long_only and the ARGV-element has the form "-f", where f is a valid short option, don't consider it an abbreviated form of a long option that starts with f. Otherwise there would be no way to give the -f short option. On the other hand, if there's a long option "fubar" and the ARGV-element is "-fu", do consider that an abbreviation of the long option, just like "--fu", and not "-f" with arg "u". This distinction seems to be the most useful approach. */ if (long_only && (argv[d->optind][2] || !strchr (optstring, argv[d->optind][1]))) { int code; d->__nextchar = argv[d->optind] + 1; code = process_long_option (argc, argv, optstring, longopts, longind, long_only, d, print_errors, "-"); if (code != -1) return code; } } /* It is not a long option. Skip the initial punctuation. */ d->__nextchar = argv[d->optind] + 1; } /* Look at and handle the next short option-character. */ { char c = *d->__nextchar++; const char *temp = strchr (optstring, c); /* Increment 'optind' when we start to process its last character. */ if (*d->__nextchar == '\0') ++d->optind; if (temp == NULL || c == ':' || c == ';') { if (print_errors) fprintf (stderr, _("%s: invalid option -- '%c'\n"), argv[0], c); d->optopt = c; return '?'; } /* Convenience. Treat POSIX -W foo same as long option --foo */ if (temp[0] == 'W' && temp[1] == ';' && longopts != NULL) { /* This is an option that requires an argument. */ if (*d->__nextchar != '\0') d->optarg = d->__nextchar; else if (d->optind == argc) { if (print_errors) fprintf (stderr, _("%s: option requires an argument -- '%c'\n"), argv[0], c); d->optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; return c; } else d->optarg = argv[d->optind]; d->__nextchar = d->optarg; d->optarg = NULL; return process_long_option (argc, argv, optstring, longopts, longind, 0 /* long_only */, d, print_errors, "-W "); } if (temp[1] == ':') { if (temp[2] == ':') { /* This is an option that accepts an argument optionally. */ if (*d->__nextchar != '\0') { d->optarg = d->__nextchar; d->optind++; } else d->optarg = NULL; d->__nextchar = NULL; } else { /* This is an option that requires an argument. */ if (*d->__nextchar != '\0') { d->optarg = d->__nextchar; /* If we end this ARGV-element by taking the rest as an arg, we must advance to the next element now. */ d->optind++; } else if (d->optind == argc) { if (print_errors) fprintf (stderr, _("%s: option requires an argument -- '%c'\n"), argv[0], c); d->optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; } else /* We already incremented 'optind' once; increment it again when taking next ARGV-elt as argument. */ d->optarg = argv[d->optind++]; d->__nextchar = NULL; } } return c; } } int _getopt_internal (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) { int result; getopt_data.optind = optind; getopt_data.opterr = opterr; result = _getopt_internal_r (argc, argv, optstring, longopts, longind, long_only, &getopt_data, posixly_correct); optind = getopt_data.optind; optarg = getopt_data.optarg; optopt = getopt_data.optopt; return result; } /* glibc gets a LSB-compliant getopt and a POSIX-complaint __posix_getopt. Standalone applications just get a POSIX-compliant getopt. POSIX and LSB both require these functions to take 'char *const *argv' even though this is incorrect (because of the permutation). */ #define GETOPT_ENTRY(NAME, POSIXLY_CORRECT) \ int \ NAME (int argc, char *const *argv, const char *optstring) \ { \ return _getopt_internal (argc, (char **)argv, optstring, \ 0, 0, 0, POSIXLY_CORRECT); \ } #ifdef _LIBC GETOPT_ENTRY(getopt, 0) GETOPT_ENTRY(__posix_getopt, 1) #else GETOPT_ENTRY(getopt, 1) #endif #ifdef TEST /* Compile with -DTEST to make an executable for use in testing the above definition of 'getopt'. */ int main (int argc, char **argv) { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; c = getopt (argc, argv, "abc:d:0123456789"); if (c == -1) break; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value '%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ gsasl-1.8.1/gl/iconv.in.h0000644000000000000000000000763713516251574012045 00000000000000/* A GNU-like . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_ICONV_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_ICONV_H@ #ifndef _@GUARD_PREFIX@_ICONV_H #define _@GUARD_PREFIX@_ICONV_H /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if @GNULIB_ICONV@ # if @REPLACE_ICONV_OPEN@ /* An iconv_open wrapper that supports the IANA standardized encoding names ("ISO-8859-1" etc.) as far as possible. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iconv_open rpl_iconv_open # endif _GL_FUNCDECL_RPL (iconv_open, iconv_t, (const char *tocode, const char *fromcode) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (iconv_open, iconv_t, (const char *tocode, const char *fromcode)); # else _GL_CXXALIAS_SYS (iconv_open, iconv_t, (const char *tocode, const char *fromcode)); # endif _GL_CXXALIASWARN (iconv_open); #elif defined GNULIB_POSIXCHECK # undef iconv_open # if HAVE_RAW_DECL_ICONV_OPEN _GL_WARN_ON_USE (iconv_open, "iconv_open is not working correctly everywhere - " "use gnulib module iconv for portability"); # endif #endif #if @REPLACE_ICONV_UTF@ /* Special constants for supporting UTF-{16,32}{BE,LE} encodings. Not public. */ # define _ICONV_UTF8_UTF16BE (iconv_t)(-161) # define _ICONV_UTF8_UTF16LE (iconv_t)(-162) # define _ICONV_UTF8_UTF32BE (iconv_t)(-163) # define _ICONV_UTF8_UTF32LE (iconv_t)(-164) # define _ICONV_UTF16BE_UTF8 (iconv_t)(-165) # define _ICONV_UTF16LE_UTF8 (iconv_t)(-166) # define _ICONV_UTF32BE_UTF8 (iconv_t)(-167) # define _ICONV_UTF32LE_UTF8 (iconv_t)(-168) #endif #if @GNULIB_ICONV@ # if @REPLACE_ICONV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iconv rpl_iconv # endif _GL_FUNCDECL_RPL (iconv, size_t, (iconv_t cd, @ICONV_CONST@ char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)); _GL_CXXALIAS_RPL (iconv, size_t, (iconv_t cd, @ICONV_CONST@ char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)); # else _GL_CXXALIAS_SYS (iconv, size_t, (iconv_t cd, @ICONV_CONST@ char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)); # endif _GL_CXXALIASWARN (iconv); # ifndef ICONV_CONST # define ICONV_CONST @ICONV_CONST@ # endif #elif defined GNULIB_POSIXCHECK # undef iconv # if HAVE_RAW_DECL_ICONV _GL_WARN_ON_USE (iconv, "iconv is not working correctly everywhere - " "use gnulib module iconv for portability"); # endif #endif #if @GNULIB_ICONV@ # if @REPLACE_ICONV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iconv_close rpl_iconv_close # endif _GL_FUNCDECL_RPL (iconv_close, int, (iconv_t cd)); _GL_CXXALIAS_RPL (iconv_close, int, (iconv_t cd)); # else _GL_CXXALIAS_SYS (iconv_close, int, (iconv_t cd)); # endif _GL_CXXALIASWARN (iconv_close); #endif #endif /* _@GUARD_PREFIX@_ICONV_H */ #endif /* _@GUARD_PREFIX@_ICONV_H */ gsasl-1.8.1/gl/sys_socket.c0000644000000000000000000000015713516251577012474 00000000000000#include #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE #include "sys/socket.h" typedef int dummy; gsasl-1.8.1/gl/getopt_int.h0000644000000000000000000001006313516251574012461 00000000000000/* Internal declarations for getopt. Copyright (C) 1989-2019 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library 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 3 of the License, or (at your option) any later version. The GNU C Library 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 the GNU C Library; if not, see . */ #ifndef _GETOPT_INT_H #define _GETOPT_INT_H 1 #include extern int _getopt_internal (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, int __posixly_correct); /* Reentrant versions which can handle parsing multiple argument vectors at the same time. */ /* Describe how to deal with options that follow non-option ARGV-elements. REQUIRE_ORDER means don't recognize them as options; stop option processing when the first non-option is seen. This is what POSIX specifies should happen. PERMUTE means permute the contents of ARGV as we scan, so that eventually all the non-options are at the end. This allows options to be given in any order, even with programs that were not written to expect this. RETURN_IN_ORDER is an option available to programs that were written to expect options and other ARGV-elements in any order and that care about the ordering of the two. We describe each non-option ARGV-element as if it were the argument of an option with character code 1. The special argument '--' forces an end of option-scanning regardless of the value of 'ordering'. In the case of RETURN_IN_ORDER, only '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */ enum __ord { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER }; /* Data type for reentrant functions. */ struct _getopt_data { /* These have exactly the same meaning as the corresponding global variables, except that they are used for the reentrant versions of getopt. */ int optind; int opterr; int optopt; char *optarg; /* Internal members. */ /* True if the internal members have been initialized. */ int __initialized; /* The next char to be scanned in the option-element in which the last option character we returned was found. This allows us to pick up the scan where we left off. If this is zero, or a null string, it means resume the scan by advancing to the next ARGV-element. */ char *__nextchar; /* See __ord above. */ enum __ord __ordering; /* Handle permutation of arguments. */ /* Describe the part of ARGV that contains non-options that have been skipped. 'first_nonopt' is the index in ARGV of the first of them; 'last_nonopt' is the index after the last of them. */ int __first_nonopt; int __last_nonopt; }; /* The initializer is necessary to set OPTIND and OPTERR to their default values and to clear the initialization flag. */ #define _GETOPT_DATA_INITIALIZER { 1, 1 } extern int _getopt_internal_r (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, struct _getopt_data *__data, int __posixly_correct); extern int _getopt_long_r (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data); extern int _getopt_long_only_r (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data); #endif /* getopt_int.h */ gsasl-1.8.1/THANKS0000644000000000000000000000247213521016125010435 00000000000000GNU SASL THANKS -- Acknowledgements. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. GNU SASL uses libntlm by Grant Edwards maintained by Simon Josefsson; libgssapi by MIT/Heimdal; libgcrypt by Werner Koch; GSS, Libidn, and Shishi by Simon Josefsson. Bug reports, patches and/or suggestions were also received from: Andorz Nilsson Sergey Poznyakoff Lars Engebretsen Marc Mutz Peter Prohaska Wojciech Polak Jakub Bogusz Tomas Ogren Alexey Melnikov Darian Lanx Dirk Dierckx Paul Romero Mike Castle Martin Lambers Clytie Siddall Ryan Slack Yvan Bassuel Francis Brosnan Blazquez James Mansion Maxim Britov Brad Hards James Canete Daniel Armyr Enrico Scholz Martin Rozee Pawel Widera Gazsó Attila Adam Goode Andery Melnikov Vincent Untz Marco Maggi "carlo.bramix" Marc Santamaria Wim Lewis Phil Pennock Goktan Kantarcioglu ---------------------------------------------------------------------- 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. gsasl-1.8.1/README0000644000000000000000000000710613516252320010404 00000000000000GNU SASL README -- Important introductory notes. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. GNU SASL an implementation of the Simple Authentication and Security Layer (SASL) framework, consisting of a library (lib/) with several plugins, command-line application (src/), test-suite (tests/), documentation (doc/) and source code usage examples (examples/). The GNU SASL Library (lib/) is licensed under the GNU Lesser General Public License (LGPL) version 2.1 (or later). See the file lib/COPYING.LIB. The GNU project typically uses the GNU General Public License (GPL) for libraries, and not the LGPL, but for this project we decided that we would get more help from the community if we used the LGPLv2.1+, as other free SASL implementations exists. See also . The command-line application and test suite (src/, and tests/) are licensed under the GNU General Public License license version 3.0 (or later). See the file COPYING. The documentation (doc/) is licensed under the GNU Free Documentation License version 1.3 (or later). If you need help to use GNU SASL, or wish to help others, you are invited to join our mailing list help-gsasl@gnu.org, see . Currently there is some support for the following mechanisms: - CRAM-MD5 (RFC 2195) - EXTERNAL (RFC 2222) - GSSAPI (RFC 2222, requires GSS, Heimdal or MIT Kerberos) - ANONYMOUS (RFC 2245) - PLAIN (RFC 2595) - SECURID (RFC 2808) - DIGEST-MD5 (RFC 2831) - SCRAM-SHA-1 and SCRAM-SHA-1-PLUS (RFC 5802) - GS2-KRB5 (RFC 5801, no CB, requires GSS, Heimdal, or MIT Kerberos) - SAML20 (RFC 6595) - OPENID20 (RFC 6616) - LOGIN (non-standard) - NTLM (non-standard, client only, requires Libntlm) - KERBEROS_V5 (experimental, requires Shishi) The library should be portable to all C89 platforms. The command-line application currently requires POSIX for network communication. Things left to do below. If you like to start working on anything, please let me know so work duplication can be avoided. * Support channel bindings in GS2. + Authentication infrastructure implementing the callbacks for PAM, Kerberos, SQL, etc. Separate project? GNU Mailutils has some starting points for this, but the API is inflexible. + Provide standard callbacks for tty, GTK, gpg-agent etc. Probably should be a separate library. + Port applications to use libgsasl - Bug: If gsasl_decode is handed a string longer than one SASL token, the remaining data will be discarded. This means if the sender packed two SASL tokens in one network packet, only the first will be seen. The en/de-code functions should buffer the left over data until the next invocation. Later: it isn't clear that people actually need the security layer feature, and it seems better to punt to TLS. - Security layer improvements (e.g., DES and AES in DIGEST-MD5). - Cleanup code, possibly by using some string abstraction library. - Privacy separation (authenticate in one process, pass state to another). - Improve documentation - Port to Cyclone? CCured? For updates to the project, see . For any copyright year range specified as YYYY-ZZZZ in this package note that the range specifies every single year in that closed interval. ---------------------------------------------------------------------- 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. gsasl-1.8.1/tests/0000755000000000000000000000000013521017732010744 500000000000000gsasl-1.8.1/tests/errors.c0000644000000000000000000000256613516252321012354 00000000000000/* errors.c --- Test the gsasl_strerror and gsasl_strerror_name functions. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include int main (void) { const char *this = NULL, *last = NULL; const char *name; int i = 0; do { last = this; this = gsasl_strerror (i); name = gsasl_strerror_name (i); printf ("%s (%d)\n\t%s\n", name ? name : "NULL", i, this); if (this == NULL) { printf ("Null error string?!\n"); return EXIT_FAILURE; } i++; } while (this != last && this != NULL); return EXIT_SUCCESS; } gsasl-1.8.1/tests/old-md5file.c0000644000000000000000000000475113516252321013137 00000000000000/* md5file.c --- Test the MD5 file password function. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" /* Should match values from cram-md5.pwd. */ #define BILL "bill" #define BILL_PASSWD "hubba-hubba" void doit (void) { const char *md5file; char key[BUFSIZ]; size_t keylen = BUFSIZ - 1; int res; md5file = getenv ("MD5FILE"); if (md5file) { char *p; if ((p = strchr (md5file, '='))) md5file = p; } if (!md5file) md5file = "cram-md5.pwd"; keylen = sizeof (key) - 1; res = gsasl_md5pwd_get_password ("non-existing-file", "user", key, &keylen); if (res == GSASL_FOPEN_ERROR) success ("non-existing-file OK\n"); else fail ("non-existing-file FAIL (%d): %s\n", res, gsasl_strerror (res)); keylen = sizeof (key) - 1; res = gsasl_md5pwd_get_password (md5file, BILL, key, &keylen); if (res == GSASL_OK) success ("user-found OK\n"); else fail ("user-found FAIL (%d): %s\n", res, gsasl_strerror (res)); if (keylen != strlen (BILL_PASSWD) || memcmp (key, BILL_PASSWD, keylen) != 0) fail ("user-password FAIL (%lu): %.*s\n", (unsigned long) keylen, (int) keylen, key); else success ("user-password OK\n"); keylen = 5; res = gsasl_md5pwd_get_password (md5file, BILL, key, &keylen); if (res == GSASL_TOO_SMALL_BUFFER) success ("too-small-buffer OK\n"); else fail ("too-small-buffer FAIL (%d): %s\n", res, gsasl_strerror (res)); keylen = sizeof (key) - 1; res = gsasl_md5pwd_get_password (md5file, "user", key, &keylen); if (res == GSASL_AUTHENTICATION_ERROR) success ("no-such-user OK\n"); else fail ("no-such-user FAIL (%d): %s\n", res, gsasl_strerror (res)); } gsasl-1.8.1/tests/utils.h0000644000000000000000000000253713516252321012203 00000000000000/* utils.h --- Prototypes for self test utilities. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifndef UTILS_H #define UTILS_H #include #include #include extern int debug; extern int error_count; extern int break_on_error; extern void fail (const char *format, ...) __attribute__ ((format (printf, 1, 2))); extern void success (const char *format, ...) __attribute__ ((format (printf, 1, 2))); extern void escapeprint (const char *str, size_t len); extern void hexprint (const char *str, size_t len); extern void binprint (const char *str, size_t len); /* This must be implemented elsewhere. */ extern void doit (void); #endif /* UTILS_H */ gsasl-1.8.1/tests/gs2-krb5.c0000644000000000000000000001133713516324747012404 00000000000000/* gs2-krb5.c --- Test the GS2-KRB5 mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" #define SERVICE "host" #define HOST "latte.josefsson.org" #define GSSAPI_USER "jas" static const char *AUTHZID[] = { "foo", "BAB,ABA", ",=,=", "=", "" }; size_t i; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; switch (prop) { case GSASL_AUTHZID: if (*AUTHZID[i]) { gsasl_property_set (sctx, GSASL_AUTHZID, AUTHZID[i]); rc = GSASL_OK; } break; case GSASL_SERVICE: gsasl_property_set (sctx, prop, SERVICE); rc = GSASL_OK; break; case GSASL_HOSTNAME: gsasl_property_set (sctx, prop, HOST); rc = GSASL_OK; break; case GSASL_VALIDATE_GSSAPI: { const char *client_name = gsasl_property_fast (sctx, GSASL_GSSAPI_DISPLAY_NAME); const char *authzid = gsasl_property_fast (sctx, GSASL_AUTHZID); if (client_name) printf ("GSSAPI user: %s\n", client_name); else fail ("no client name\n"); if (authzid) printf ("Authorization ID: %s\n", authzid); if (client_name && strcmp (client_name, GSSAPI_USER) == 0 && ((authzid == NULL && *AUTHZID[i] == '\0') || strcmp (authzid, AUTHZID[i]) == 0)) rc = GSASL_OK; else rc = GSASL_AUTHENTICATION_ERROR; } break; default: fail ("Unknown callback property %u\n", prop); break; } return rc; } static char ret_char (int rc) { if (rc == GSASL_OK) return 'O'; else if (rc == GSASL_NEEDS_MORE) return 'N'; else return '?'; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1 = NULL, *s2 = NULL; int rc, res1, res2; if (getenv ("GNUGSS") && strcmp (getenv ("GNUGSS"), "no") == 0) { fail ("Not using GNU GSS, skipping self-test.\n"); exit (77); } rc = gsasl_init (&ctx); if (rc != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", rc, gsasl_strerror (rc)); return; } if (!gsasl_client_support_p (ctx, "GS2-KRB5") || !gsasl_server_support_p (ctx, "GS2-KRB5")) { gsasl_done (ctx); fail ("No support for GS2-KRB5.\n"); exit (77); } gsasl_callback_set (ctx, callback); for (i = 0; i < 5; i++) { bool client_first = (i % 2) == 0; rc = gsasl_server_start (ctx, "GS2-KRB5", &server); if (rc != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", rc, gsasl_strerror (rc)); return; } rc = gsasl_client_start (ctx, "GS2-KRB5", &client); if (rc != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", rc, gsasl_strerror (rc)); return; } if (client_first) { rc = gsasl_step64 (client, NULL, &s1); if (rc != GSASL_OK && rc != GSASL_NEEDS_MORE) { fail ("gsasl_step64 failed (%d):\n%s\n", rc, gsasl_strerror (rc)); return; } if (debug) printf ("C: %s [%c]\n", s1, ret_char (rc)); } do { res1 = gsasl_step64 (server, s1, &s2); if (s1 == NULL && res1 == GSASL_OK) fail ("gsasl_step64 direct success?\n"); if (s1) { gsasl_free (s1); s1 = NULL; } if (res1 != GSASL_OK && res1 != GSASL_NEEDS_MORE) { fail ("gsasl_step64 (1) failed (%d):\n%s\n", res1, gsasl_strerror (res1)); return; } if (debug) printf ("S: %s [%c]\n", s2, ret_char (res1)); res2 = gsasl_step64 (client, s2, &s1); gsasl_free (s2); if (res2 != GSASL_OK && res2 != GSASL_NEEDS_MORE) { fail ("gsasl_step64 (2) failed (%d):\n%s\n", res2, gsasl_strerror (res2)); return; } if (debug) printf ("C: %s [%c]\n", s1, ret_char (res2)); } while (res1 != GSASL_OK || res2 != GSASL_OK); if (s1) { gsasl_free (s1); s1 = NULL; } if (debug) printf ("\n"); gsasl_finish (client); gsasl_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/scram.c0000644000000000000000000001734613516324721012153 00000000000000/* scram.c --- Test the SCRAM mechanism. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" #define PASSWORD "Open, Sesame" #define N_AUTHID 4 static const char *AUTHID[N_AUTHID] = { "Ali Baba", "BAB,ABA", ",=,=", "=" /* "Ali " "\xC2\xAD" "Bab" "\xC2\xAA" */ /* "Al\xC2\xAA""dd\xC2\xAD""in\xC2\xAE" */ }; #define N_AUTHZID 4 static const char *AUTHZID[N_AUTHZID] = { "jas", "BAB,ABA", ",=,=", "=" }; int i; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ switch (prop) { case GSASL_PASSWORD: gsasl_property_set (sctx, prop, PASSWORD); rc = GSASL_OK; break; case GSASL_AUTHID: gsasl_property_set (sctx, prop, AUTHID[i % N_AUTHID]); rc = GSASL_OK; break; case GSASL_AUTHZID: if (i & 0x01) { gsasl_property_set (sctx, prop, AUTHZID[i % N_AUTHZID]); rc = GSASL_OK; } break; case GSASL_SCRAM_ITER: if (strcmp (gsasl_property_fast (sctx, GSASL_AUTHID), AUTHID[i % N_AUTHID]) != 0) fail ("Username mismatch: %s", gsasl_property_fast (sctx, GSASL_AUTHID)); if (i & 0x02) { gsasl_property_set (sctx, prop, "1234"); rc = GSASL_OK; } break; case GSASL_SCRAM_SALT: if (i & 0x04) { gsasl_property_set (sctx, prop, "c2FsdA=="); rc = GSASL_OK; } break; case GSASL_SCRAM_SALTED_PASSWORD: if (i & 0x04 && i & 0x08) /* Only works with fixed salt. */ { const char *str[] = { "06bfd2d70a0fa425c20473722a93700df39f3cbd", "f1e6c0e5a207367176ac42c7799b67ae3e097d7e", }; /* >>1 to mask out authzid. */ size_t pos = (i & ~0x04 & ~0x08) >> 1; gsasl_property_set (sctx, prop, str[pos]); rc = GSASL_OK; } break; case GSASL_CB_TLS_UNIQUE: break; default: fail ("Unknown callback property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1, *s2; size_t s1len, s2len; int res; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (ctx, "SCRAM-SHA-1") || !gsasl_server_support_p (ctx, "SCRAM-SHA-1")) { gsasl_done (ctx); fail ("No support for SCRAM-SHA-1.\n"); exit (77); } gsasl_callback_set (ctx, callback); for (i = 0; i <= 21; i++) { bool server_first = (i % 2) == 0; if (debug) printf ("Iteration %d ...\n", i); res = gsasl_server_start (ctx, "SCRAM-SHA-1", &server); if (res != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "SCRAM-SHA-1", &client); if (res != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (server_first) { res = gsasl_step (server, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](0) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (s1len != 0) fail ("dummy initial server step produced output?!\n"); if (debug) printf ("S: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); } else { s1 = NULL; s1len = 0; } /* Client first... */ res = gsasl_step (client, s1, s1len, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](1) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (i == 16 || i == 17) s1[0] = 'y'; if (i == 18) { char *s; int l; l = asprintf (&s, "%s,a=b", s1); if (l < 0) { fail ("malloc"); return; } gsasl_free (s1); s1 = s; s1len = strlen (s); } if (i == 20) { char *s; int l; l = asprintf (&s, "%s,a=b,b=c,c=d", s1); if (l < 0) { fail ("malloc"); return; } gsasl_free (s1); s1 = s; s1len = strlen (s); } if (debug) printf ("C: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Server first... */ res = gsasl_step (server, s1, s1len, &s2, &s2len); gsasl_free (s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](2) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Client final... */ res = gsasl_step (client, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](3) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (i == 17) memcpy (s1 + 2, "eS", 2); if (i == 19 && s1len > 31) { char *s; int l; l = asprintf (&s, "%.*s,a=b,%s", (int) (s1len - 31), s1, s1 + s1len - 31 + 1); if (l < 0) { fail ("malloc"); return; } gsasl_free (s1); s1 = s; s1len = strlen (s); } if (i == 21 && s1len > 31) { char *s; int l; l = asprintf (&s, "%.*s,a=b,b=c,c=d,%s", (int) (s1len - 31), s1, s1 + s1len - 31 + 1); if (l < 0) { fail ("malloc"); return; } gsasl_free (s1); s1 = s; s1len = strlen (s); } if (debug) printf ("C: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Server final... */ res = gsasl_step (server, s1, s1len, &s2, &s2len); gsasl_free (s1); if (i >= 16 && i <= 21) { if (res == GSASL_AUTHENTICATION_ERROR) { if (debug) success ("Authentication failed expectedly\n"); goto done; } else res = GSASL_AUTHENTICATION_ERROR; } if (res != GSASL_OK) { fail ("gsasl_step[%d](4) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Let client parse server final... */ res = gsasl_step (client, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_OK) { fail ("gsasl_step[%d](5) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (s1len != 0) fail ("dummy final client step produced output?!\n"); { const char *p = gsasl_property_fast (server, GSASL_AUTHID); if (p && strcmp (p, AUTHID[i % N_AUTHID]) != 0) fail ("Bad authid? %s != %s\n", p, AUTHID[i % N_AUTHID]); if (i & 0x01 && !p) fail ("Expected authid? %d/%s\n", i, AUTHID[i % N_AUTHID]); } { const char *p = gsasl_property_fast (server, GSASL_AUTHZID); if (p && strcmp (p, AUTHZID[i % N_AUTHZID]) != 0) fail ("Bad authzid? %s != %s\n", p, AUTHZID[i % N_AUTHZID]); if (i & 0x01 && !p) fail ("Expected authzid? %d/%s\n", i, AUTHZID[i % N_AUTHZID]); } done: if (debug) printf ("\n"); gsasl_finish (client); gsasl_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/symbols.c0000644000000000000000000002133113516252321012517 00000000000000/* symbols.c --- Test if all exported symbols are available. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include "utils.h" static void assert_symbol_exists (const void *p) { if (!p) fail ("null symbol?!\n"); } void doit (void) { /* LIBGSASL_1.1 */ assert_symbol_exists ((const void *) GSASL_VALID_MECHANISM_CHARACTERS); assert_symbol_exists ((const void *) gsasl_base64_from); assert_symbol_exists ((const void *) gsasl_base64_to); assert_symbol_exists ((const void *) gsasl_callback); assert_symbol_exists ((const void *) gsasl_callback_hook_get); assert_symbol_exists ((const void *) gsasl_callback_hook_set); assert_symbol_exists ((const void *) gsasl_callback_set); assert_symbol_exists ((const void *) gsasl_check_version); assert_symbol_exists ((const void *) gsasl_client_mechlist); assert_symbol_exists ((const void *) gsasl_client_start); assert_symbol_exists ((const void *) gsasl_client_suggest_mechanism); assert_symbol_exists ((const void *) gsasl_client_support_p); assert_symbol_exists ((const void *) gsasl_decode); assert_symbol_exists ((const void *) gsasl_done); assert_symbol_exists ((const void *) gsasl_encode); assert_symbol_exists ((const void *) gsasl_finish); assert_symbol_exists ((const void *) gsasl_free); assert_symbol_exists ((const void *) gsasl_hmac_md5); assert_symbol_exists ((const void *) gsasl_init); assert_symbol_exists ((const void *) gsasl_md5); assert_symbol_exists ((const void *) gsasl_mechanism_name); assert_symbol_exists ((const void *) gsasl_nonce); assert_symbol_exists ((const void *) gsasl_property_fast); assert_symbol_exists ((const void *) gsasl_property_get); assert_symbol_exists ((const void *) gsasl_property_set); assert_symbol_exists ((const void *) gsasl_property_set_raw); assert_symbol_exists ((const void *) gsasl_random); assert_symbol_exists ((const void *) gsasl_register); assert_symbol_exists ((const void *) gsasl_saslprep); assert_symbol_exists ((const void *) gsasl_server_mechlist); assert_symbol_exists ((const void *) gsasl_server_start); assert_symbol_exists ((const void *) gsasl_server_support_p); assert_symbol_exists ((const void *) gsasl_session_hook_get); assert_symbol_exists ((const void *) gsasl_session_hook_set); assert_symbol_exists ((const void *) gsasl_simple_getpass); assert_symbol_exists ((const void *) gsasl_step64); assert_symbol_exists ((const void *) gsasl_step); assert_symbol_exists ((const void *) gsasl_strerror); assert_symbol_exists ((const void *) gsasl_strerror_name); #ifndef GSASL_NO_OBSOLETE /* LIBGSASL_1.1: Old interfaces */ assert_symbol_exists ((const void *) gsasl_appinfo_get); assert_symbol_exists ((const void *) gsasl_appinfo_set); assert_symbol_exists ((const void *) gsasl_application_data_get); assert_symbol_exists ((const void *) gsasl_application_data_set); assert_symbol_exists ((const void *) gsasl_base64_decode); assert_symbol_exists ((const void *) gsasl_base64_encode); assert_symbol_exists ((const void *) gsasl_client_application_data_get); assert_symbol_exists ((const void *) gsasl_client_application_data_set); assert_symbol_exists ((const void *) gsasl_client_callback_anonymous_get); assert_symbol_exists ((const void *) gsasl_client_callback_anonymous_set); assert_symbol_exists ((const void *) gsasl_client_callback_authentication_id_get); assert_symbol_exists ((const void *) gsasl_client_callback_authentication_id_set); assert_symbol_exists ((const void *) gsasl_client_callback_authorization_id_get); assert_symbol_exists ((const void *) gsasl_client_callback_authorization_id_set); assert_symbol_exists ((const void *) gsasl_client_callback_maxbuf_get); assert_symbol_exists ((const void *) gsasl_client_callback_maxbuf_set); assert_symbol_exists ((const void *) gsasl_client_callback_passcode_get); assert_symbol_exists ((const void *) gsasl_client_callback_passcode_set); assert_symbol_exists ((const void *) gsasl_client_callback_password_get); assert_symbol_exists ((const void *) gsasl_client_callback_password_set); assert_symbol_exists ((const void *) gsasl_client_callback_pin_get); assert_symbol_exists ((const void *) gsasl_client_callback_pin_set); assert_symbol_exists ((const void *) gsasl_client_callback_qop_get); assert_symbol_exists ((const void *) gsasl_client_callback_qop_set); assert_symbol_exists ((const void *) gsasl_client_callback_realm_get); assert_symbol_exists ((const void *) gsasl_client_callback_realm_set); assert_symbol_exists ((const void *) gsasl_client_callback_service_get); assert_symbol_exists ((const void *) gsasl_client_callback_service_set); assert_symbol_exists ((const void *) gsasl_client_ctx_get); assert_symbol_exists ((const void *) gsasl_client_finish); assert_symbol_exists ((const void *) gsasl_client_listmech); assert_symbol_exists ((const void *) gsasl_client_step); assert_symbol_exists ((const void *) gsasl_client_step_base64); assert_symbol_exists ((const void *) gsasl_ctx_get); assert_symbol_exists ((const void *) gsasl_decode_inline); assert_symbol_exists ((const void *) gsasl_encode_inline); assert_symbol_exists ((const void *) gsasl_md5pwd_get_password); assert_symbol_exists ((const void *) gsasl_randomize); assert_symbol_exists ((const void *) gsasl_server_application_data_get); assert_symbol_exists ((const void *) gsasl_server_application_data_set); assert_symbol_exists ((const void *) gsasl_server_callback_anonymous_get); assert_symbol_exists ((const void *) gsasl_server_callback_anonymous_set); assert_symbol_exists ((const void *) gsasl_server_callback_cipher_get); assert_symbol_exists ((const void *) gsasl_server_callback_cipher_set); assert_symbol_exists ((const void *) gsasl_server_callback_cram_md5_get); assert_symbol_exists ((const void *) gsasl_server_callback_cram_md5_set); assert_symbol_exists ((const void *) gsasl_server_callback_digest_md5_get); assert_symbol_exists ((const void *) gsasl_server_callback_digest_md5_set); assert_symbol_exists ((const void *) gsasl_server_callback_external_get); assert_symbol_exists ((const void *) gsasl_server_callback_external_set); assert_symbol_exists ((const void *) gsasl_server_callback_gssapi_get); assert_symbol_exists ((const void *) gsasl_server_callback_gssapi_set); assert_symbol_exists ((const void *) gsasl_server_callback_maxbuf_get); assert_symbol_exists ((const void *) gsasl_server_callback_maxbuf_set); assert_symbol_exists ((const void *) gsasl_server_callback_qop_get); assert_symbol_exists ((const void *) gsasl_server_callback_qop_set); assert_symbol_exists ((const void *) gsasl_server_callback_realm_get); assert_symbol_exists ((const void *) gsasl_server_callback_realm_set); assert_symbol_exists ((const void *) gsasl_server_callback_retrieve_get); assert_symbol_exists ((const void *) gsasl_server_callback_retrieve_set); assert_symbol_exists ((const void *) gsasl_server_callback_securid_get); assert_symbol_exists ((const void *) gsasl_server_callback_securid_set); assert_symbol_exists ((const void *) gsasl_server_callback_service_get); assert_symbol_exists ((const void *) gsasl_server_callback_service_set); assert_symbol_exists ((const void *) gsasl_server_callback_validate_get); assert_symbol_exists ((const void *) gsasl_server_callback_validate_set); assert_symbol_exists ((const void *) gsasl_server_ctx_get); assert_symbol_exists ((const void *) gsasl_server_finish); assert_symbol_exists ((const void *) gsasl_server_listmech); assert_symbol_exists ((const void *) gsasl_server_step); assert_symbol_exists ((const void *) gsasl_server_step_base64); assert_symbol_exists ((const void *) gsasl_server_suggest_mechanism); assert_symbol_exists ((const void *) gsasl_stringprep_nfkc); assert_symbol_exists ((const void *) gsasl_stringprep_saslprep); assert_symbol_exists ((const void *) gsasl_stringprep_trace); #endif /* LIBGSASL_1.4 */ assert_symbol_exists ((const void *) gsasl_sha1); assert_symbol_exists ((const void *) gsasl_hmac_sha1); success ("all symbols exists\n"); } gsasl-1.8.1/tests/libgsasl.supp0000644000000000000000000001166613521004231013375 00000000000000# libgsasl.supp -- Valgrind suppresion file for Libgsasl -*- text -*- # # Copyright (C) 2010-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . # The simplest way to use this file is to put the following in ~/.valgrindrc: # --suppressions=/path/to/gsasl/tests/libgsasl.supp # # The memory leaks that are hidden here are those from external # libraries that we we can do nothing about. { libgsasl-gcrypt1 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_module_add fun:pk_register_default fun:_gcry_pk_init fun:global_init fun:_gcry_vcontrol fun:gcry_control fun:gc_init fun:gsasl_init } { libgsasl-gcrypt2 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_module_add fun:md_register_default fun:_gcry_md_init fun:global_init fun:_gcry_vcontrol fun:gcry_control fun:gc_init fun:gsasl_init } { libgsasl-gcrypt3 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_module_add fun:cipher_register_default fun:_gcry_cipher_init fun:global_init fun:_gcry_vcontrol fun:gcry_control fun:gc_init fun:gsasl_init } { libgsasl-gcrypt4 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_xmalloc fun:_gcry_xcalloc fun:initialize fun:_gcry_rngcsprng_create_nonce fun:_gcry_create_nonce fun:gcry_create_nonce fun:gc_nonce fun:cram_md5_challenge fun:_gsasl_cram_md5_server_start fun:start fun:gsasl_server_start } { libgsasl-gcrypt5 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_xmalloc fun:_gcry_xcalloc fun:initialize fun:_gcry_rngcsprng_create_nonce fun:_gcry_create_nonce fun:gcry_create_nonce fun:gc_nonce fun:cram_md5_challenge fun:_gsasl_cram_md5_server_start fun:start fun:gsasl_server_start } { libgsasl-gcrypt6 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_xmalloc fun:_gcry_xcalloc fun:initialize fun:_gcry_rngcsprng_create_nonce fun:_gcry_create_nonce fun:gcry_create_nonce fun:gc_nonce fun:gsasl_nonce fun:_gsasl_digest_md5_client_start fun:start fun:gsasl_client_start fun:_gsasl_listmech fun:gsasl_client_mechlist } { libgsasl-gcrypt7 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_xmalloc fun:_gcry_xcalloc fun:initialize fun:_gcry_rngcsprng_create_nonce fun:_gcry_create_nonce fun:gcry_create_nonce fun:gc_nonce fun:gsasl_nonce fun:_gsasl_digest_md5_server_start fun:start fun:gsasl_server_start } { libgsasl-gcrypt8 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_xmalloc fun:_gcry_xcalloc fun:initialize fun:_gcry_rngcsprng_create_nonce fun:_gcry_create_nonce fun:gcry_create_nonce fun:gc_nonce fun:gsasl_nonce } { gsasl-libgcrypt9 Memcheck:Leak fun:malloc fun:_gcry_private_malloc fun:do_malloc fun:_gcry_malloc fun:_gcry_xmalloc fun:_gcry_xcalloc fun:initialize fun:_gcry_rngcsprng_create_nonce fun:_gcry_create_nonce fun:gcry_create_nonce fun:gc_nonce fun:gsasl_nonce } { gsasl-mit-krb5-gss Memcheck:Addr1 fun:__libc_res_nquerydomain fun:__libc_res_nsearch fun:__GI__nss_dns_gethostbyname3_r.constprop.3 fun:gethostbyname2_r@@GLIBC_2.2.5 fun:gaih_inet fun:getaddrinfo fun:krb5_sname_to_principal fun:krb5_gss_import_name fun:gssint_import_internal_name fun:gss_add_cred fun:gss_acquire_cred fun:_gsasl_gssapi_server_start } { gsasl-mit-krb5-gss2 Memcheck:Leak match-leak-kinds: definite fun:malloc fun:krb5int_setspecific obj:/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 obj:/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 obj:/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 obj:/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 obj:/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 fun:gss_add_cred_from fun:gss_acquire_cred_from fun:gss_acquire_cred fun:_gsasl_gssapi_server_start fun:setup fun:start fun:gsasl_server_start } gsasl-1.8.1/tests/gssapi.tkt0000644000000000000000000002141613521013111012665 00000000000000name:NULL type:SEQUENCE name:pvno type:INTEGER value:0x05 name:msg-type type:INTEGER value:0x0b name:crealm type:GENERALSTRING value:JOSEFSSON.ORG name:cname type:SEQUENCE name:name-type type:INTEGER value:0x00 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:jas name:ticket type:SEQUENCE name:tkt-vno type:INTEGER value:0x05 name:realm type:GENERALSTRING value:JOSEFSSON.ORG name:sname type:SEQUENCE name:name-type type:INTEGER value:0x01 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:krbtgt name:?2 type:GENERALSTRING value:JOSEFSSON.ORG name:enc-part type:SEQUENCE name:etype type:INTEGER value:0x03 name:cipher type:OCT_STR value:2cfc45fc973b8a8f8dc9dbdba1e5b7fc6d1c6d7929abb91ddac6c6dc5a96eafdbf38d24b2e4e8847215b2d47c771310b6f2ccf6ad4d2a961d37f466810c6f66941e776bdfeaa712a78b346de634efb3e524c36877bf9e393c615f052cf6dadd256304894b93a77d891a7fa738c636146c35fa379b7c4bc9fbde7224bd45d992ab9c5ac3c041419872beaec83c6fa1e95 name:enc-part type:SEQUENCE name:etype type:INTEGER value:0x03 name:cipher type:OCT_STR value:db294db40293d895918c50032d1666b0e0eb2408202a9282d68173af833a32a412ceb91a51f29aadc2913de2b01e779b1dd85528151653646b14c4be2b93a2fccc906011a024a975153acc9b6be255093d5ce7912c651bf4cb04b041e60f04d00b6364b4023b3284f436ef1eeaa7aae15d77ce643daff4e764433c1af43c4591d23e2945d0b27b9709e3c79629484c1e9aefba783570dff7848e6c1b3f861de74a89250fbd125ab2 -----BEGIN SHISHI KDC-REP----- a4IBzjCCAcqgAwIBBaEDAgELow8bDUpPU0VGU1NPTi5PUkekEDAOoAMCAQChBzAF GwNqYXOlgeFhgd4wgdugAwIBBaEPGw1KT1NFRlNTT04uT1JHoiIwIKADAgEBoRkw FxsGa3JidGd0Gw1KT1NFRlNTT04uT1JHo4GeMIGboAMCAQOigZMEgZAs/EX8lzuK j43J29uh5bf8bRxteSmruR3axsbcWpbq/b840ksuTohHIVstR8dxMQtvLM9q1NKp YdN/RmgQxvZpQed2vf6qcSp4s0beY077PlJMNod7+eOTxhXwUs9trdJWMEiUuTp3 2JGn+nOMY2FGw1+jebfEvJ+95yJL1F2ZKrnFrDwEFBmHK+rsg8b6HpWmgbYwgbOg AwIBA6KBqwSBqNspTbQCk9iVkYxQAy0WZrDg6yQIICqSgtaBc6+DOjKkEs65GlHy mq3CkT3isB53mx3YVSgVFlNkaxTEviuTovzMkGARoCSpdRU6zJtr4lUJPVznkSxl G/TLBLBB5g8E0AtjZLQCOzKE9DbvHuqnquFdd85kPa/052RDPBr0PEWR0j4pRdCy e5cJ48eWKUhMHprvung1cN/3hI5sGz+GHedKiSUPvRJasg== -----END SHISHI KDC-REP----- name:NULL type:SEQUENCE name:key type:SEQUENCE name:keytype type:INTEGER value:0x03 name:keyvalue type:OCT_STR value:d63e808cfe7f643d name:last-req type:SEQ_OF name:NULL type:SEQUENCE name:lr-type type:INTEGER name:lr-value type:GENERALIZED_TIME name:nonce type:INTEGER value:0x0c418523 name:flags type:BIT_STR value(32):00400000 name:authtime type:GENERALIZED_TIME value:20040711155558Z name:endtime type:GENERALIZED_TIME value:20240711155558Z name:srealm type:GENERALSTRING value:JOSEFSSON.ORG name:sname type:SEQUENCE name:name-type type:INTEGER value:0x01 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:krbtgt name:?2 type:GENERALSTRING value:JOSEFSSON.ORG -----BEGIN SHISHI EncKDCRepPart----- eYGIMIGFoBMwEaADAgEDoQoECNY+gIz+f2Q9oQIwAKIGAgQMQYUjpAcDBQAAQAAA pREYDzIwMDQwNzExMTU1NTU4WqcRGA8yMDI0MDcxMTE1NTU1OFqpDxsNSk9TRUZT U09OLk9SR6oiMCCgAwIBAaEZMBcbBmtyYnRndBsNSk9TRUZTU09OLk9SRw== -----END SHISHI EncKDCRepPart----- name:NULL type:SEQUENCE name:tkt-vno type:INTEGER value:0x05 name:realm type:GENERALSTRING value:JOSEFSSON.ORG name:sname type:SEQUENCE name:name-type type:INTEGER value:0x01 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:krbtgt name:?2 type:GENERALSTRING value:JOSEFSSON.ORG name:enc-part type:SEQUENCE name:etype type:INTEGER value:0x03 name:cipher type:OCT_STR value:2cfc45fc973b8a8f8dc9dbdba1e5b7fc6d1c6d7929abb91ddac6c6dc5a96eafdbf38d24b2e4e8847215b2d47c771310b6f2ccf6ad4d2a961d37f466810c6f66941e776bdfeaa712a78b346de634efb3e524c36877bf9e393c615f052cf6dadd256304894b93a77d891a7fa738c636146c35fa379b7c4bc9fbde7224bd45d992ab9c5ac3c041419872beaec83c6fa1e95 -----BEGIN SHISHI Ticket----- YYHeMIHboAMCAQWhDxsNSk9TRUZTU09OLk9SR6IiMCCgAwIBAaEZMBcbBmtyYnRn dBsNSk9TRUZTU09OLk9SR6OBnjCBm6ADAgEDooGTBIGQLPxF/Jc7io+NydvboeW3 /G0cbXkpq7kd2sbG3FqW6v2/ONJLLk6IRyFbLUfHcTELbyzPatTSqWHTf0ZoEMb2 aUHndr3+qnEqeLNG3mNO+z5STDaHe/njk8YV8FLPba3SVjBIlLk6d9iRp/pzjGNh RsNfo3m3xLyfveciS9RdmSq5xaw8BBQZhyvq7IPG+h6V -----END SHISHI Ticket----- name:NULL type:SEQUENCE name:pvno type:INTEGER value:0x05 name:msg-type type:INTEGER value:0x0d name:crealm type:GENERALSTRING value:JOSEFSSON.ORG name:cname type:SEQUENCE name:name-type type:INTEGER value:0x00 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:jas name:ticket type:SEQUENCE name:tkt-vno type:INTEGER value:0x05 name:realm type:GENERALSTRING value:JOSEFSSON.ORG name:sname type:SEQUENCE name:name-type type:INTEGER value:0x01 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:host name:?2 type:GENERALSTRING value:latte.josefsson.org name:enc-part type:SEQUENCE name:etype type:INTEGER value:0x03 name:cipher type:OCT_STR value:80f8af4800aecb22c4852cc25cad377332375c7365f4eca15a99c1c13ff785be023e7d0315bd53d2937541aada9b672c62b1df632d33cb85de83e7e7efa2f0fa6551dcab98ac0a910fdb916ea816554fb9aed666133a58984be22d37da46d98252b883a0acee17d8c98c097428866a0906a1dc70c1909eb511618fdadf8c435c39ec154a564a1a2b7508051c663ca8a5 name:enc-part type:SEQUENCE name:etype type:INTEGER value:0x03 name:cipher type:OCT_STR value:87359dbbdd34da11cc17e22e1edb181f14be09749c81af24bb00c0ebe4ae9132449e710a4c455b28f48509ca01ef3ff883c7d9da57bca4e37959e45c1e3fca2355236c3edc87233d30577d5d79f5395d29133c44cac7e5af077d0f40c4e8ab1134c86dad8ebc7251e8178e3f8df4eb3ae00760889716ff4443a40d1ba5995d3a48bea574f41a019fc8467a944f3c700233a6fe42e42057b6e4419cd173e483c8cf3119c39e064cda -----BEGIN SHISHI KDC-REP----- bYIB0jCCAc6gAwIBBaEDAgENow8bDUpPU0VGU1NPTi5PUkekEDAOoAMCAQChBzAF GwNqYXOlgeVhgeIwgd+gAwIBBaEPGw1KT1NFRlNTT04uT1JHoiYwJKADAgEBoR0w GxsEaG9zdBsTbGF0dGUuam9zZWZzc29uLm9yZ6OBnjCBm6ADAgEDooGTBIGQgPiv SACuyyLEhSzCXK03czI3XHNl9OyhWpnBwT/3hb4CPn0DFb1T0pN1Qaram2csYrHf Yy0zy4Xeg+fn76Lw+mVR3KuYrAqRD9uRbqgWVU+5rtZmEzpYmEviLTfaRtmCUriD oKzuF9jJjAl0KIZqCQah3HDBkJ61EWGP2t+MQ1w57BVKVkoaK3UIBRxmPKilpoG2 MIGzoAMCAQOigasEgaiHNZ273TTaEcwX4i4e2xgfFL4JdJyBryS7AMDr5K6RMkSe cQpMRVso9IUJygHvP/iDx9naV7yk43lZ5FweP8ojVSNsPtyHIz0wV31defU5XSkT PETKx+WvB30PQMToqxE0yG2tjrxyUegXjj+N9Os64AdgiJcW/0RDpA0bpZldOki+ pXT0GgGfyEZ6lE88cAIzpv5C5CBXtuRBnNFz5IPIzzEZw54GTNo= -----END SHISHI KDC-REP----- name:NULL type:SEQUENCE name:key type:SEQUENCE name:keytype type:INTEGER value:0x03 name:keyvalue type:OCT_STR value:37705d1c54a84683 name:last-req type:SEQ_OF name:NULL type:SEQUENCE name:lr-type type:INTEGER name:lr-value type:GENERALIZED_TIME name:nonce type:INTEGER value:0x22cc41a9 name:flags type:BIT_STR value(32):00000000 name:authtime type:GENERALIZED_TIME value:20040711155559Z name:endtime type:GENERALIZED_TIME value:20240711155558Z name:srealm type:GENERALSTRING value:JOSEFSSON.ORG name:sname type:SEQUENCE name:name-type type:INTEGER value:0x01 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:host name:?2 type:GENERALSTRING value:latte.josefsson.org -----BEGIN SHISHI EncKDCRepPart----- eYGMMIGJoBMwEaADAgEDoQoECDdwXRxUqEaDoQIwAKIGAgQizEGppAcDBQAAAAAA pREYDzIwMDQwNzExMTU1NTU5WqcRGA8yMDI0MDcxMTE1NTU1OFqpDxsNSk9TRUZT U09OLk9SR6omMCSgAwIBAaEdMBsbBGhvc3QbE2xhdHRlLmpvc2Vmc3Nvbi5vcmc= -----END SHISHI EncKDCRepPart----- name:NULL type:SEQUENCE name:tkt-vno type:INTEGER value:0x05 name:realm type:GENERALSTRING value:JOSEFSSON.ORG name:sname type:SEQUENCE name:name-type type:INTEGER value:0x01 name:name-string type:SEQ_OF name:NULL type:GENERALSTRING name:?1 type:GENERALSTRING value:host name:?2 type:GENERALSTRING value:latte.josefsson.org name:enc-part type:SEQUENCE name:etype type:INTEGER value:0x03 name:cipher type:OCT_STR value:80f8af4800aecb22c4852cc25cad377332375c7365f4eca15a99c1c13ff785be023e7d0315bd53d2937541aada9b672c62b1df632d33cb85de83e7e7efa2f0fa6551dcab98ac0a910fdb916ea816554fb9aed666133a58984be22d37da46d98252b883a0acee17d8c98c097428866a0906a1dc70c1909eb511618fdadf8c435c39ec154a564a1a2b7508051c663ca8a5 -----BEGIN SHISHI Ticket----- YYHiMIHfoAMCAQWhDxsNSk9TRUZTU09OLk9SR6ImMCSgAwIBAaEdMBsbBGhvc3Qb E2xhdHRlLmpvc2Vmc3Nvbi5vcmejgZ4wgZugAwIBA6KBkwSBkID4r0gArssixIUs wlytN3MyN1xzZfTsoVqZwcE/94W+Aj59AxW9U9KTdUGq2ptnLGKx32MtM8uF3oPn 5++i8PplUdyrmKwKkQ/bkW6oFlVPua7WZhM6WJhL4i032kbZglK4g6Cs7hfYyYwJ dCiGagkGodxwwZCetRFhj9rfjENcOewVSlZKGit1CAUcZjyopQ== -----END SHISHI Ticket----- gsasl-1.8.1/tests/digest-md5.c0000644000000000000000000002502413516324677013012 00000000000000/* digest-md5.c --- Test the DIGEST-MD5 mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" #define PASSWORD "Open, Ses\xC2\xAA""me" #define USERNAME "Ali B\xC2\xAA""ba" /* "Ali " "\xC2\xAD" "Bab" "\xC2\xAA" */ /* "Al\xC2\xAA""dd\xC2\xAD""in\xC2\xAE" */ #define AUTHZID "joe" #define SERVICE "imap" #define HOSTNAME "hostname" #define REALM "realm" size_t i; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { static int flip = 0; static int flip2 = 0; int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ switch (prop) { case GSASL_PASSWORD: gsasl_property_set (sctx, prop, PASSWORD); rc = GSASL_OK; break; case GSASL_AUTHID: gsasl_property_set (sctx, prop, USERNAME); rc = GSASL_OK; break; case GSASL_AUTHZID: if (flip) gsasl_property_set (sctx, prop, AUTHZID); else gsasl_property_set (sctx, prop, NULL); flip = !flip; rc = GSASL_OK; break; case GSASL_SERVICE: gsasl_property_set (sctx, prop, SERVICE); rc = GSASL_OK; break; case GSASL_REALM: if (flip2) gsasl_property_set (sctx, prop, REALM); else gsasl_property_set (sctx, prop, NULL); flip2++; if (flip2 == 3) flip2 = 0; rc = GSASL_OK; break; case GSASL_HOSTNAME: gsasl_property_set (sctx, prop, HOSTNAME); rc = GSASL_OK; break; case GSASL_DIGEST_MD5_HASHED_PASSWORD: rc = GSASL_NO_CALLBACK; break; case GSASL_QOPS: rc = GSASL_OK; switch (i) { case 0: gsasl_property_set (sctx, prop, "qop-auth"); break; case 1: rc = GSASL_NO_CALLBACK; break; case 2: gsasl_property_set (sctx, prop, "qop-int"); break; case 3: gsasl_property_set (sctx, prop, "qop-auth"); break; case 4: rc = GSASL_NO_CALLBACK; break; default: break; } break; case GSASL_QOP: rc = GSASL_OK; switch (i) { case 0: rc = GSASL_NO_CALLBACK; break; case 1: gsasl_property_set (sctx, prop, "qop-auth"); break; case 2: gsasl_property_set (sctx, prop, "qop-int"); break; case 3: gsasl_property_set (sctx, prop, "qop-auth"); break; case 4: gsasl_property_set (sctx, prop, "qop-auth"); break; default: break; } break; default: fail ("Unknown callback property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1, *s2; size_t s1len, s2len; int res; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (ctx, "DIGEST-MD5") || !gsasl_server_support_p (ctx, "DIGEST-MD5")) { gsasl_done (ctx); fail ("No support for DIGEST-MD5.\n"); exit (77); } gsasl_callback_set (ctx, callback); for (i = 0; i < 5; i++) { res = gsasl_server_start (ctx, "DIGEST-MD5", &server); if (res != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "DIGEST-MD5", &client); if (res != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } /* Client sends empty token... */ res = gsasl_step (client, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step(1) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Server starts... */ res = gsasl_step (server, s1, s1len, &s2, &s2len); gsasl_free (s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step(2) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Client responds... */ res = gsasl_step (client, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step(3) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Server finishes... */ res = gsasl_step (server, s1, s1len, &s2, &s2len); gsasl_free (s1); if (res != GSASL_OK) { fail ("gsasl_step(4) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Client finishes. */ res = gsasl_step (client, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_OK) { fail ("gsasl_step(5) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (s1len != 0) { fail ("gsasl_step() failed, additional length=%lu:\n", (unsigned long) s1len); fail ("%s\n", s1); return; } if (debug) printf ("C: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Server is done. */ res = gsasl_step (server, s1, s1len, &s2, &s2len); if (res != GSASL_MECHANISM_CALLED_TOO_MANY_TIMES) { fail ("gsasl_step(6) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } /* Client is done. */ res = gsasl_step (client, s1, s1len, &s2, &s2len); if (res != GSASL_MECHANISM_CALLED_TOO_MANY_TIMES) { fail ("gsasl_step(7) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } gsasl_free (s1); if (debug) printf ("\n"); gsasl_finish (client); gsasl_finish (server); } for (i = 0; i < 5; i++) { res = gsasl_server_start (ctx, "DIGEST-MD5", &server); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "DIGEST-MD5", &client); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } /* Server begins... */ res = gsasl_step (server, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step(8) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Client respond... */ res = gsasl_step (client, s1, s1len, &s2, &s2len); gsasl_free (s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step(9) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Server finishes... */ res = gsasl_step (server, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_OK) { fail ("gsasl_step(10) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Client finishes... */ res = gsasl_step (client, s1, s1len, &s2, &s2len); gsasl_free (s1); if (res != GSASL_OK) { fail ("gsasl_step(11) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Server is done. */ res = gsasl_step (server, s2, s2len, &s1, &s1len); if (res != GSASL_MECHANISM_CALLED_TOO_MANY_TIMES) { fail ("gsasl_step(12) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } /* Client is done. */ res = gsasl_step (client, s2, s2len, &s1, &s1len); if (res != GSASL_MECHANISM_CALLED_TOO_MANY_TIMES) { fail ("gsasl_step(13) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } gsasl_free (s2); /* Encode data in client. */ res = gsasl_encode (client, "foo", 3, &s1, &s1len); if (res != GSASL_OK) { fail ("gsasl_encode failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) { if (s1len == 3 && memcmp (s1, "foo", 3) == 0) printf ("C: %.*s\n", (int) s1len, s1); else { char *out; size_t outlen; res = gsasl_base64_to (s1, s1len, &out, &outlen); if (res != GSASL_OK) { fail ("gsasl_base64_to failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } printf ("C: %.*s\n", (int) outlen, out); free (out); } } /* Decode data in server. */ res = gsasl_decode (server, s1, s1len, &s2, &s2len); free (s1); if (res != GSASL_OK) { fail ("gsasl_decode failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s\n", (int) s2len, s2); free (s2); /* Encode data in server. */ res = gsasl_encode (server, "bar", 3, &s1, &s1len); if (res != GSASL_OK) { fail ("gsasl_encode(2) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) { if (s1len == 3 && memcmp (s1, "bar", 3) == 0) printf ("S: %.*s\n", (int) s1len, s1); else { char *out; size_t outlen; res = gsasl_base64_to (s1, s1len, &out, &outlen); if (res != GSASL_OK) { fail ("gsasl_base64_to(2) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } printf ("S: %.*s\n", (int) outlen, out); free (out); } } /* Decode data in client. */ res = gsasl_decode (client, s1, s1len, &s2, &s2len); free (s1); if (res != GSASL_OK) { fail ("gsasl_decode failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s\n", (int) s2len, s2); free (s2); if (debug) printf ("\n"); gsasl_finish (client); gsasl_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/name.c0000644000000000000000000000470313516252321011753 00000000000000/* name.c --- Test the gsasl_mechanism_name function. * Copyright (C) 2008-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; int res; const char *p; p = gsasl_mechanism_name (NULL); if (p != NULL) fail ("gsasl_mechanism_name (NULL) failed: %s\n", p); success ("gsasl_mechanism_name (NULL) ok\n"); res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (gsasl_server_support_p (ctx, "CRAM-MD5")) { res = gsasl_server_start (ctx, "CRAM-MD5", &server); if (res != GSASL_OK) fail ("gsasl_server_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); else { p = gsasl_mechanism_name (server); if (!p) fail ("gsasl_mechanism_name() returned NULL.\n"); else if (strcmp ("CRAM-MD5", p) == 0) success ("gsasl_mechanism_name() returned correct %s\n", p); else fail ("gsasl_mechanism_name() returned incorrect %s", p); gsasl_finish (server); } } if (gsasl_client_support_p (ctx, "PLAIN")) { res = gsasl_client_start (ctx, "PLAIN", &client); if (res != GSASL_OK) fail ("gsasl_client_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); else { p = gsasl_mechanism_name (client); if (!p) fail ("gsasl_mechanism_name() returned NULL.\n"); else if (strcmp ("PLAIN", p) == 0) success ("gsasl_mechanism_name() returned correct %s\n", p); else fail ("gsasl_mechanism_name() returned incorrect %s", p); gsasl_finish (client); } } gsasl_done (ctx); } gsasl-1.8.1/tests/external.c0000644000000000000000000001050413516324627012662 00000000000000/* external.c --- Test the EXTERNAL mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" static const struct { const char *sendauthzid; const char *recvauthzid; int clientrc; int callbackrc; int serverrc; } tv[] = { /* *INDENT-OFF* */ { NULL, "", GSASL_OK, GSASL_OK, GSASL_OK }, { "", "", GSASL_OK, GSASL_OK, GSASL_OK }, { "foo", "foo", GSASL_OK, GSASL_OK, GSASL_OK }, { "foo", "foo", GSASL_OK, GSASL_NO_CALLBACK, GSASL_NO_CALLBACK }, { "foo\0bar", "foo", GSASL_OK, GSASL_OK, GSASL_OK }, { "foo\0bar", "foo", GSASL_OK, GSASL_AUTHENTICATION_ERROR, GSASL_AUTHENTICATION_ERROR } /* *INDENT-ON* */ }; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { static unsigned c = 0; static unsigned s = 0; int rc = GSASL_NO_CALLBACK; c = c % sizeof (tv) / sizeof (tv[0]); s = s % sizeof (tv) / sizeof (tv[0]); /* Get user info from user. */ switch (prop) { case GSASL_AUTHZID: gsasl_property_set (sctx, prop, tv[c++].sendauthzid); rc = GSASL_OK; break; case GSASL_VALIDATE_EXTERNAL: rc = tv[s++].callbackrc; break; default: fail ("Unknown callback property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1, *s2; size_t s1len, s2len; int i; int res; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (ctx, "EXTERNAL") || !gsasl_server_support_p (ctx, "EXTERNAL")) { gsasl_done (ctx); fail ("No support for EXTERNAL.\n"); exit (77); } gsasl_callback_set (ctx, callback); for (i = 0; i < 2 * (sizeof (tv) / sizeof (tv[0])); i++) { size_t n = i % sizeof (tv) / sizeof (tv[0]); res = gsasl_server_start (ctx, "EXTERNAL", &server); if (res != GSASL_OK) { fail ("gsasl_server_start (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "EXTERNAL", &client); if (res != GSASL_OK) { fail ("gsasl_client_start (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_step (server, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step server1 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) { if (s1) printf ("S[%d]: `%.*s' (%lu)\n", i, (int) s1len, s1, (unsigned long) s1len); else printf ("S[%d] NULL\n", i); } res = gsasl_step (client, s1, s1len, &s2, &s2len); if (res != tv[n].clientrc) { fail ("gsasl_step client1 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (s1) gsasl_free (s1); if (debug) { if (s2) printf ("C[%d]: `%.*s' (%lu)\n", i, (int) s2len, s2, (unsigned long) s2len); else printf ("C[%d] NULL\n", i); } res = gsasl_step (server, s2, s2len, &s1, &s1len); if (s2) gsasl_free (s2); if (res != tv[n].serverrc) { fail ("gsasl_step server2 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (s1len != 0) { fail ("gsasl_step() failed, additional length=%lu:\n%s", (unsigned long) s1len, s1); return; } if (memcmp (s1, tv[n].recvauthzid, s1len) != 0) { fail ("gsasl_step() failed, recv authzid mismatch: `%s' != `%s'\n", s1, tv[n].recvauthzid); return; } if (s1) gsasl_free (s1); gsasl_finish (client); gsasl_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/cram-md5.c0000644000000000000000000000775013516324671012455 00000000000000/* cram-md5.c --- Test the CRAM-MD5 mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" #define PASSWORD "Open, Sesame" #define USERNAME "Ali Baba" /* "Ali " "\xC2\xAD" "Bab" "\xC2\xAA" */ /* "Al\xC2\xAA""dd\xC2\xAD""in\xC2\xAE" */ static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ switch (prop) { case GSASL_PASSWORD: gsasl_property_set (sctx, GSASL_PASSWORD, PASSWORD); rc = GSASL_OK; break; case GSASL_AUTHID: gsasl_property_set (sctx, GSASL_AUTHID, USERNAME); rc = GSASL_OK; break; default: fail ("Unknown callback property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1, *s2; size_t s1len, s2len; size_t i; int res; char *last_server_challenge = NULL; size_t last_server_challenge_len = 0; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (ctx, "CRAM-MD5") || !gsasl_server_support_p (ctx, "CRAM-MD5")) { gsasl_done (ctx); fail ("No support for CRAM-MD5.\n"); exit (77); } gsasl_callback_set (ctx, callback); for (i = 0; i < 5; i++) { res = gsasl_server_start (ctx, "CRAM-MD5", &server); if (res != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "CRAM-MD5", &client); if (res != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_step (server, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s\n", (int) s1len, s1); if (last_server_challenge) { if (last_server_challenge_len == s1len && memcmp (last_server_challenge, s1, s1len) == 0) fail ("Server challenge same as last one!\n"); free (last_server_challenge); } last_server_challenge = malloc (s1len); if (!last_server_challenge) fail ("malloc() failure (%lu)\n", (unsigned long) s1len); memcpy (last_server_challenge, s1, s1len); last_server_challenge_len = s1len; res = gsasl_step (client, s1, s1len, &s2, &s2len); gsasl_free (s1); if (res != GSASL_OK) { fail ("gsasl_step() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s\n", (int) s2len, s2); res = gsasl_step (server, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_OK) { fail ("gsasl_step() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (s1len != 0) { fail ("gsasl_step() failed, additional length=%lu:\n", (unsigned long) s1len); fail ("%s\n", s1); return; } gsasl_free (s1); if (debug) printf ("\n"); gsasl_finish (client); gsasl_finish (server); } free (last_server_challenge); gsasl_done (ctx); } gsasl-1.8.1/tests/gssapi.c0000644000000000000000000001035713516324752012333 00000000000000/* gssapi.c --- Test the GSSAPI mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" #define SERVICE "host" #define HOST "latte.josefsson.org" #define GSSAPI_USER "jas" static const char *USERNAME[] = { "foo", "BABABA", "jas", "hepp", "@" }; size_t i; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; switch (prop) { case GSASL_AUTHZID: gsasl_property_set (sctx, GSASL_AUTHZID, USERNAME[i]); rc = GSASL_OK; break; case GSASL_SERVICE: gsasl_property_set (sctx, prop, SERVICE); rc = GSASL_OK; break; case GSASL_HOSTNAME: gsasl_property_set (sctx, prop, HOST); rc = GSASL_OK; break; case GSASL_VALIDATE_GSSAPI: { const char *client_name = gsasl_property_fast (sctx, GSASL_GSSAPI_DISPLAY_NAME); const char *authzid = gsasl_property_fast (sctx, GSASL_AUTHZID); printf ("GSSAPI user: %s\n", client_name); printf ("Authorization ID: %s\n", authzid); if (strcmp (client_name, GSSAPI_USER) == 0 && strcmp (authzid, USERNAME[i]) == 0) rc = GSASL_OK; else rc = GSASL_AUTHENTICATION_ERROR; } break; default: fail ("Unknown callback property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1 = NULL, *s2 = NULL; int rc, res1, res2; if (getenv ("GNUGSS") && strcmp (getenv ("GNUGSS"), "no") == 0) { fail ("Not using GNU GSS, skipping self-test.\n"); exit (77); } rc = gsasl_init (&ctx); if (rc != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", rc, gsasl_strerror (rc)); return; } if (!gsasl_client_support_p (ctx, "GSSAPI") || !gsasl_server_support_p (ctx, "GSSAPI")) { gsasl_done (ctx); fail ("No support for GSSAPI.\n"); exit (77); } gsasl_callback_set (ctx, callback); for (i = 0; i < 5; i++) { bool server_first = (i % 2) == 0; rc = gsasl_server_start (ctx, "GSSAPI", &server); if (rc != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", rc, gsasl_strerror (rc)); return; } rc = gsasl_client_start (ctx, "GSSAPI", &client); if (rc != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", rc, gsasl_strerror (rc)); return; } do { res1 = gsasl_step64 (server_first ? server : client, s1, &s2); if (s1) { gsasl_free (s1); s1 = NULL; } if (res1 != GSASL_OK && res1 != GSASL_NEEDS_MORE) { fail ("gsasl_step64 (1) failed (%d):\n%s\n", res1, gsasl_strerror (res1)); return; } if (debug) printf ("%c: %s [%c]\n", server_first ? 'S' : 'C', s2, res1 == GSASL_OK ? 'O' : 'N'); if (res1 == GSASL_OK && strcmp (s2, "") == 0) break; res2 = gsasl_step64 (server_first ? client : server, s2, &s1); gsasl_free (s2); if (res2 != GSASL_OK && res2 != GSASL_NEEDS_MORE) { fail ("gsasl_step64 (2) failed (%d):\n%s\n", res2, gsasl_strerror (res2)); return; } if (debug) printf ("%c: %s [%c]\n", server_first ? 'C' : 'S', s1, res2 == GSASL_OK ? 'O' : 'N'); } while (res1 != GSASL_OK || res2 != GSASL_OK); if (s1) { gsasl_free (s1); s1 = NULL; } if (debug) printf ("\n"); gsasl_finish (client); gsasl_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/old-digest-md5.c0000644000000000000000000001254613516252321013555 00000000000000/* digest-md5.c --- Test the DIGEST-MD5 mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" #define PASSWORD "Open, Sesame" #define USERNAME "Ali Baba" /* "Ali " "\xC2\xAD" "Bab" "\xC2\xAA" */ /* "Al\xC2\xAA""dd\xC2\xAD""in\xC2\xAE" */ static int server_cb_retrieve (Gsasl_session_ctx * xctx, const char *authentication_id, const char *authorization_id, const char *realm, char *key, size_t * keylen) { size_t needlen = strlen (PASSWORD); if (key && *keylen < needlen) return GSASL_TOO_SMALL_BUFFER; *keylen = needlen; if (key) memcpy (key, PASSWORD, *keylen); return GSASL_OK; } static Gsasl_qop server_cb_qop (Gsasl_session_ctx * xctx) { int i = *(int *) gsasl_appinfo_get (xctx); if (i == 1 || i == 3) return GSASL_QOP_AUTH; else if (i == 2) return GSASL_QOP_AUTH | GSASL_QOP_AUTH_INT; else return 0; } static Gsasl_qop client_cb_qop (Gsasl_session * sctx, Gsasl_qop serverqops) { if (serverqops & GSASL_QOP_AUTH_INT) return GSASL_QOP_AUTH_INT; return GSASL_QOP_AUTH; } static int client_callback_service (Gsasl_session_ctx * ctx, char *srv, size_t * srvlen, char *host, size_t * hostlen, char *srvname, size_t * srvnamelen) { return GSASL_OK; } static int client_cb_authentication_id (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { size_t needlen = strlen (USERNAME); if (out && *outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, USERNAME, *outlen); return GSASL_OK; } static int client_cb_password (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { size_t needlen = strlen (PASSWORD); if (out && *outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, PASSWORD, *outlen); return GSASL_OK; } void doit (void) { Gsasl_ctx *ctx = NULL; Gsasl_session_ctx *server = NULL, *client = NULL; char *s1, *s2; size_t s1len, s2len; size_t i; int res; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (ctx, "DIGEST-MD5") || !gsasl_server_support_p (ctx, "DIGEST-MD5")) { gsasl_done (ctx); fail ("No support for DIGEST-MD5.\n"); exit (77); } gsasl_server_callback_retrieve_set (ctx, server_cb_retrieve); gsasl_server_callback_qop_set (ctx, server_cb_qop); gsasl_client_callback_service_set (ctx, client_callback_service); gsasl_client_callback_authentication_id_set (ctx, client_cb_authentication_id); gsasl_client_callback_password_set (ctx, client_cb_password); for (i = 0; i < 5; i++) { if (i > 2) gsasl_client_callback_qop_set (ctx, client_cb_qop); res = gsasl_server_start (ctx, "DIGEST-MD5", &server); if (res != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "DIGEST-MD5", &client); if (res != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } gsasl_appinfo_set (server, (void *) &i); /* Server begins... */ res = gsasl_step (server, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step(1) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s\n", (int) s1len, s1); /* Client respond... */ res = gsasl_step (client, s1, s1len, &s2, &s2len); free (s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step(2) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s\n", (int) s2len, s2); /* Server finishes... */ res = gsasl_step (server, s2, s2len, &s1, &s1len); free (s2); if (res != GSASL_OK) { fail ("gsasl_step(3) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s\n", (int) s1len, s1); /* Client finishes... */ res = gsasl_step (client, s1, s1len, &s2, &s2len); free (s1); if (res != GSASL_OK) { fail ("gsasl_step(4) failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) { /* Solaris x86 crashes here if s2 is NULL, even when s2len is 0. */ if (s2len) printf ("C: %.*s\n", (int) s2len, s2); else printf ("C: \n"); } free (s2); if (debug) printf ("\n"); gsasl_client_finish (client); gsasl_server_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/readnz.c0000644000000000000000000000452213516252321012315 00000000000000/* readnz.c --- Check out-of-bounds reads on non-zero terminated strings. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" static void doit2 (bool server_p) { Gsasl *ctx = NULL; Gsasl_session *session = NULL; char *mechs; char *mech, *ptrptr = NULL; char *s1; size_t s1len; int res; size_t i; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (server_p) res = gsasl_server_mechlist (ctx, &mechs); else res = gsasl_client_mechlist (ctx, &mechs); if (res != GSASL_OK) { fail ("mechlist() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } for (i = 0; (mech = strtok_r (i == 0 ? mechs : NULL, " ", &ptrptr)); i++) { size_t len; for (len = 0; len < 5; len++) { char *p; if (server_p) res = gsasl_server_start (ctx, mech, &session); else res = gsasl_client_start (ctx, mech, &session); if (res != GSASL_OK) { fail ("start(%s) failed (%d):\n%s\n", mech, res, gsasl_strerror (res)); return; } p = malloc (len); if (!p) { fail ("out of memory\n"); return; } memset (p, 42, len); res = gsasl_step (session, p, len, &s1, &s1len); if (res == GSASL_OK || res == GSASL_NEEDS_MORE) gsasl_free (s1); gsasl_free (p); gsasl_finish (session); } } gsasl_free (mechs); gsasl_done (ctx); } void doit (void) { doit2 (true); doit2 (false); } gsasl-1.8.1/tests/old-simple.c0000644000000000000000000003764113516252321013107 00000000000000/* simple.c --- Test the simple SASL mechanisms, using old APIs. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" #define MAX_LINE_LENGTH BUFSIZ #define MAXSTEP 50 #define CLIENT 1 #define SERVER 0 #define UTF8_a "\xC2\xAA" struct sasltv { int clientp; const char *mech; const char *step[MAXSTEP]; const char *password; const char *authzid; const char *authid; const char *service; const char *hostname; const char *servicename; const char *anonymous; const char *passcode; const char *suggestpin; const char *pin; int securidrc; }; static struct sasltv sasltv[] = { {CLIENT, "EXTERNAL", {"", NULL}}, {SERVER, "EXTERNAL", {"", NULL}}, {CLIENT, "ANONYMOUS", {"", "Zm9vQGJhci5jb20=", NULL, NULL}, NULL, NULL, NULL, NULL, NULL, NULL, "foo@bar.com"}, {SERVER, "ANONYMOUS", {"Zm9vQGJhci5jb20=", NULL, NULL}, NULL, NULL, NULL, NULL, NULL, NULL, "foo@bar.com"}, {CLIENT, "NTLM", {"Kw==", "TlRMTVNTUAABAAAAB7IAAAYABgAgAAAAAAAAACYAAABhdXRoaWQ=", "TlRMTVNTUAAAAAAAAAAAAAAAAAAAAGFiY2RlZmdoMDEyMzQ1Njc4ODY2NDQwMTIz", "TlRMTVNTUAADAAAAGAAYAFgAAAAYABgAcAAAAAAAAABAAAAADAAMAEAAAAAMAAwATAAAA" "AAAAACIAAAAAABhYmEAdQB0AGgAaQBkAGEAdQB0AGgAaQBkABeBBp9xJad9eYo3oh1k55" "GNFDIui8H8Qz4CfWYVVToBhVzFFbzyzqAZN5Wl59K/Fg==", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "PLAIN", {"", "YXV0aHppZABhdXRoaWQAcGFzc3dvcmQ=", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "PLAIN", {"", "YQBhAGE=", NULL, NULL}, "a", "a", "a"}, {CLIENT, "PLAIN", {"", "wqoAwqoAwqo=", NULL, NULL}, UTF8_a, UTF8_a, UTF8_a}, {SERVER, "PLAIN", {"YXV0aHppZABhdXRoaWQAcGFzc3dvcmQ=", NULL, NULL}, "password", "authzid", "authid"}, {SERVER, "PLAIN", {"", "", "YXV0aHppZABhdXRoaWQAcGFzc3dvcmQ=", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "LOGIN", {"VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "cGFzc3dvcmQ=", NULL, NULL}, "password", NULL, "authid"}, {CLIENT, "LOGIN", {"VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "YQ==", NULL, NULL}, "a", NULL, "authid"}, {CLIENT, "LOGIN", {"VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "wqo=", NULL, NULL}, UTF8_a, NULL, "authid"}, {SERVER, "LOGIN", {"", "VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "cGFzc3dvcmQ=", NULL, NULL}, "password", NULL, "authid"}, {CLIENT, "CRAM-MD5", {"PGNiNmQ5YTQ5ZDA3ZjEwY2MubGliZ3Nhc2xAbG9jYWxob3N0Pg==", "YXV0aGlkIGZkNjRmMjYxZWYxYjBjYjg0ZmZjNGVmYzgwZDk3NjFj", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGFzc2NvZGU=", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGlu", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", NULL, "42"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGluMjM=", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", "23", "42"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGluMjM=", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", "cGFzc2NvZGU=", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", "23", "42"}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "cGlu", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", NULL, "42", GSASL_SECURID_SERVER_NEED_NEW_PIN}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "cGluMTc=", "YXV0aHppZABhdXRoaWQANDcxMQAyMwA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", "17", "23", GSASL_SECURID_SERVER_NEED_NEW_PIN}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "cGFzc2NvZGU=", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", NULL, NULL, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE} }; static int client_callback_authorization_id (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { Gsasl_ctx *ctx = gsasl_client_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); size_t needlen = sasltv[i].authzid ? strlen (sasltv[i].authzid) : 0; if (*outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out && sasltv[i].authzid) memcpy (out, sasltv[i].authzid, needlen); return GSASL_OK; } static int client_callback_authentication_id (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { Gsasl_ctx *ctx = gsasl_client_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); size_t needlen = strlen (sasltv[i].authid); if (*outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, sasltv[i].authid, needlen); return GSASL_OK; } static int client_callback_password (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { Gsasl_ctx *ctx = gsasl_client_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); size_t needlen = strlen (sasltv[i].password); if (*outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, sasltv[i].password, needlen); return GSASL_OK; } static int server_callback_validate (Gsasl_session_ctx * xctx, const char *authorization_id, const char *authentication_id, const char *password) { Gsasl_ctx *ctx = gsasl_server_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); if (authorization_id && sasltv[i].authzid && strcmp (authorization_id, sasltv[i].authzid) != 0) return GSASL_AUTHENTICATION_ERROR; if ((authorization_id == NULL && sasltv[i].authzid != NULL) || (authorization_id != NULL && sasltv[i].authzid == NULL)) return GSASL_AUTHENTICATION_ERROR; if (authentication_id && sasltv[i].authid && strcmp (authentication_id, sasltv[i].authid) != 0) return GSASL_AUTHENTICATION_ERROR; if (strcmp (password, sasltv[i].password) != 0) return GSASL_AUTHENTICATION_ERROR; return GSASL_OK; } static int server_callback_retrieve (Gsasl_session_ctx * xctx, const char *authentication_id, const char *authorization_id, const char *realm, char *key, size_t * keylen) { Gsasl_ctx *ctx = gsasl_server_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); size_t needlen = strlen (sasltv[i].password); if (*keylen < needlen) return GSASL_TOO_SMALL_BUFFER; *keylen = strlen (sasltv[i].password); if (key) memcpy (key, sasltv[i].password, needlen); return GSASL_OK; } static int client_callback_service (Gsasl_session_ctx * ctx, char *srv, size_t * srvlen, char *host, size_t * hostlen, char *srvname, size_t * srvnamelen) { if (srvlen) *srvlen = 0; if (hostlen) *hostlen = 0; if (srvnamelen) *srvnamelen = 0; return GSASL_OK; } static int client_callback_anonymous (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { Gsasl_ctx *ctx = gsasl_client_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); size_t needlen = strlen (sasltv[i].anonymous); if (*outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, sasltv[i].anonymous, strlen (sasltv[i].anonymous)); return GSASL_OK; } static int server_callback_anonymous (Gsasl_session_ctx * xctx, const char *token) { Gsasl_ctx *ctx = gsasl_client_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); return strcmp (sasltv[i].anonymous, token) == 0 ? GSASL_OK : GSASL_AUTHENTICATION_ERROR; } static int server_callback_external (Gsasl_session_ctx * xctx) { return GSASL_OK; } static int client_callback_passcode (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { Gsasl_ctx *ctx = gsasl_client_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); size_t needlen = strlen (sasltv[i].passcode); if (*outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, sasltv[i].passcode, needlen); return GSASL_OK; } static int client_callback_pin (Gsasl_session_ctx * xctx, char *suggestion, char *out, size_t * outlen) { Gsasl_ctx *ctx = gsasl_client_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); size_t needlen = strlen (sasltv[i].pin); if (suggestion && sasltv[i].suggestpin && strcmp (suggestion, sasltv[i].suggestpin) != 0) return GSASL_AUTHENTICATION_ERROR; if ((suggestion == NULL && sasltv[i].suggestpin != NULL) || (suggestion != NULL && sasltv[i].suggestpin == NULL)) return GSASL_AUTHENTICATION_ERROR; if (*outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, sasltv[i].pin, needlen); return GSASL_OK; } static int server_callback_securid (Gsasl_session_ctx * xctx, const char *authentication_id, const char *authorization_id, const char *passcode, char *pin, char *suggestpin, size_t * suggestpinlen) { Gsasl_ctx *ctx = gsasl_server_ctx_get (xctx); int i = *(int *) gsasl_application_data_get (ctx); int res; if (strcmp (passcode, sasltv[i].passcode) != 0) return GSASL_AUTHENTICATION_ERROR; if (sasltv[i].securidrc == GSASL_SECURID_SERVER_NEED_NEW_PIN) { res = sasltv[i].securidrc; sasltv[i].securidrc = GSASL_OK; if (sasltv[i].suggestpin) { if (*suggestpinlen) *suggestpinlen = strlen (sasltv[i].suggestpin); if (suggestpin) memcpy (suggestpin, sasltv[i].suggestpin, strlen (sasltv[i].suggestpin)); } else if (*suggestpinlen) *suggestpinlen = 0; } else if (sasltv[i].securidrc == GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE) { res = sasltv[i].securidrc; sasltv[i].securidrc = GSASL_OK; } else { res = sasltv[i].securidrc; if (pin && sasltv[i].pin && strcmp (pin, sasltv[i].pin) != 0) return GSASL_AUTHENTICATION_ERROR; if ((pin == NULL && sasltv[i].pin != NULL) || (pin != NULL && sasltv[i].pin == NULL)) return GSASL_AUTHENTICATION_ERROR; if (*suggestpinlen) *suggestpinlen = 0; } return res; } void doit (void) { Gsasl_ctx *ctx = NULL; Gsasl_session_ctx *xctx = NULL; char output[MAX_LINE_LENGTH]; size_t outputlen; int i, j; int res; if (!gsasl_check_version (GSASL_VERSION)) fail ("gsasl_check_version failure"); success ("Header version %s library version %s\n", GSASL_VERSION, gsasl_check_version (NULL)); res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } gsasl_client_callback_authentication_id_set (ctx, client_callback_authentication_id); gsasl_client_callback_authorization_id_set (ctx, client_callback_authorization_id); gsasl_client_callback_password_set (ctx, client_callback_password); gsasl_server_callback_validate_set (ctx, server_callback_validate); gsasl_server_callback_retrieve_set (ctx, server_callback_retrieve); gsasl_client_callback_service_set (ctx, client_callback_service); gsasl_client_callback_anonymous_set (ctx, client_callback_anonymous); gsasl_server_callback_anonymous_set (ctx, server_callback_anonymous); gsasl_server_callback_external_set (ctx, server_callback_external); gsasl_client_callback_passcode_set (ctx, client_callback_passcode); gsasl_client_callback_pin_set (ctx, client_callback_pin); gsasl_server_callback_securid_set (ctx, server_callback_securid); outputlen = sizeof (output); res = gsasl_client_listmech (ctx, output, &outputlen); if (res != GSASL_OK) fail ("gsasl_client_listmech() failed (%d):\n%s\n", res, gsasl_strerror (res)); outputlen = sizeof (output); res = gsasl_server_listmech (ctx, output, &outputlen); if (res != GSASL_OK) fail ("gsasl_server_listmech() failed (%d):\n%s\n", res, gsasl_strerror (res)); for (i = 0; i < sizeof (sasltv) / sizeof (sasltv[0]); i++) { gsasl_application_data_set (ctx, &i); if (debug) printf ("Entry %d %s mechanism %s:\n", i, sasltv[i].clientp ? "client" : "server", sasltv[i].mech); if (sasltv[i].clientp) res = gsasl_client_support_p (ctx, sasltv[i].mech); else res = gsasl_server_support_p (ctx, sasltv[i].mech); if (!res) continue; if (sasltv[i].clientp) res = gsasl_client_start (ctx, sasltv[i].mech, &xctx); else res = gsasl_server_start (ctx, sasltv[i].mech, &xctx); if (res != GSASL_OK) { fail ("SASL %s start for mechanism %s failed (%d):\n%s\n", sasltv[i].clientp ? "client" : "server", sasltv[i].mech, res, gsasl_strerror (res)); continue; } for (j = 0; sasltv[i].step[j]; j += 2) { if (sasltv[i].clientp) gsasl_client_application_data_set (xctx, &j); else gsasl_server_application_data_set (xctx, &j); if (debug) printf ("Input : %s\n", sasltv[i].step[j] ? sasltv[i].step[j] : ""); output[0] = '\0'; outputlen = sizeof (output); if (sasltv[i].clientp) res = gsasl_client_step_base64 (xctx, sasltv[i].step[j], output, outputlen); else res = gsasl_server_step_base64 (xctx, sasltv[i].step[j], output, outputlen); if (debug) printf ("Output: %s\n", output); if (res != GSASL_OK && res != GSASL_NEEDS_MORE) break; if (strlen (output) != strlen (sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : "")) { printf ("Expected: %s\n", sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : ""); fail ("SASL entry %d mechanism %s client step %d length error\n", i, sasltv[i].mech, j); j = -1; break; } if (strcmp (output, sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : "") != 0) { printf ("Expected: %s\n", sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : ""); fail ("SASL entry %d mechanism %s client step %d data error\n", i, sasltv[i].mech, j); j = -1; break; } if (strcmp (sasltv[i].mech, "SECURID") != 0 && res == GSASL_OK) break; } if (j != (size_t) - 1 && res == GSASL_OK && sasltv[i].step[j + 2]) fail ("SASL entry %d mechanism %s step %d code ended prematurely\n", i, sasltv[i].mech, j); else if (j != (size_t) - 1 && res == GSASL_NEEDS_MORE) fail ("SASL entry %d mechanism %s step %d table ended prematurely\n", i, sasltv[i].mech, j); else if (j != (size_t) - 1 && res != GSASL_OK) fail ("SASL entry %d mechanism %s step %d failed (%d):\n%s\n", i, sasltv[i].mech, j, res, gsasl_strerror (res)); else printf ("PASS: simple %s %s %d\n", sasltv[i].mech, sasltv[i].clientp ? "client" : "server", i); if (sasltv[i].clientp) gsasl_client_finish (xctx); else gsasl_server_finish (xctx); if (debug) printf ("\n"); } gsasl_done (ctx); } gsasl-1.8.1/tests/shishi.conf0000644000000000000000000000001512222241125013006 00000000000000quick-random gsasl-1.8.1/tests/simple.c0000644000000000000000000003045213516324707012334 00000000000000/* simple.c --- Test the simple SASL mechanisms. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" #define MAXSTEP 50 #define CLIENT 1 #define SERVER 0 #define UTF8_a "\xC2\xAA" struct sasltv { int clientp; const char *mech; const char *step[MAXSTEP]; const char *password; const char *authzid; const char *authid; const char *service; const char *hostname; const char *servicename; const char *anonymous; const char *passcode; const char *suggestpin; const char *pin; int securidrc; }; static struct sasltv sasltv[] = { {CLIENT, "EXTERNAL", {"", NULL}}, {SERVER, "EXTERNAL", {"", NULL}}, {CLIENT, "ANONYMOUS", {"", "Zm9vQGJhci5jb20=", NULL, NULL}, NULL, NULL, NULL, NULL, NULL, NULL, "foo@bar.com"}, {SERVER, "ANONYMOUS", {"Zm9vQGJhci5jb20=", NULL, NULL}, NULL, NULL, NULL, NULL, NULL, NULL, "foo@bar.com"}, {CLIENT, "NTLM", {"Kw==", "TlRMTVNTUAABAAAAB7IAAAYABgAgAAAAAAAAACYAAABhdXRoaWQ=", "TlRMTVNTUAAAAAAAAAAAAAAAAAAAAGFiY2RlZmdoMDEyMzQ1Njc4ODY2NDQwMTIz", "TlRMTVNTUAADAAAAGAAYAFgAAAAYABgAcAAAAAAAAABAAAAADAAMAEAAAAAMAAwATAAAA" "AAAAACIAAAAAABhYmEAdQB0AGgAaQBkAGEAdQB0AGgAaQBkABeBBp9xJad9eYo3oh1k55" "GNFDIui8H8Qz4CfWYVVToBhVzFFbzyzqAZN5Wl59K/Fg==", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "PLAIN", {"", "YXV0aHppZABhdXRoaWQAcGFzc3dvcmQ=", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "PLAIN", {"", "YQBhAGE=", NULL, NULL}, "a", "a", "a"}, {CLIENT, "PLAIN", {"", "wqoAwqoAwqo=", NULL, NULL}, UTF8_a, UTF8_a, UTF8_a}, {SERVER, "PLAIN", {"YXV0aHppZABhdXRoaWQAcGFzc3dvcmQ=", NULL, NULL}, "password", "authzid", "authid"}, {SERVER, "PLAIN", {"", "", "YXV0aHppZABhdXRoaWQAcGFzc3dvcmQ=", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "LOGIN", {"VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "cGFzc3dvcmQ=", NULL, NULL}, "password", NULL, "authid"}, {CLIENT, "LOGIN", {"VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "YQ==", NULL, NULL}, "a", NULL, "authid"}, {CLIENT, "LOGIN", {"VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "wqo=", NULL, NULL}, UTF8_a, NULL, "authid"}, {SERVER, "LOGIN", {"", "VXNlciBOYW1l", "YXV0aGlk", "UGFzc3dvcmQ=", "cGFzc3dvcmQ=", NULL, NULL}, "password", NULL, "authid"}, {CLIENT, "CRAM-MD5", {"PGNiNmQ5YTQ5ZDA3ZjEwY2MubGliZ3Nhc2xAbG9jYWxob3N0Pg==", "YXV0aGlkIGZkNjRmMjYxZWYxYjBjYjg0ZmZjNGVmYzgwZDk3NjFj", NULL, NULL}, "password", "authzid", "authid"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGFzc2NvZGU=", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGlu", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", NULL, "42"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGluMjM=", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", "23", "42"}, {CLIENT, "SECURID", {"", "YXV0aHppZABhdXRoaWQANDcxMQA=", "cGluMjM=", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", "cGFzc2NvZGU=", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", "23", "42"}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711"}, #if 0 {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "cGlu", "YXV0aHppZABhdXRoaWQANDcxMQA0MgA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", NULL, "42", GSASL_SECURID_SERVER_NEED_NEW_PIN}, #endif {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "cGluMTc=", "YXV0aHppZABhdXRoaWQANDcxMQAyMwA=", "", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", "17", "23", GSASL_SECURID_SERVER_NEED_NEW_PIN}, {SERVER, "SECURID", {"YXV0aHppZABhdXRoaWQANDcxMQA=", "cGFzc2NvZGU=", "YXV0aHppZABhdXRoaWQANDcxMQA=", NULL, NULL}, NULL, "authzid", "authid", NULL, NULL, NULL, NULL, "4711", NULL, NULL, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE} }; static int cb (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; int i = 0, j = 0; if (gsasl_callback_hook_get (ctx)) i = *(int *) gsasl_callback_hook_get (ctx); if (gsasl_session_hook_get (sctx)) j = *(int *) gsasl_session_hook_get (sctx); if (j < 0 || j > 5) fail ("j out of bounds: %d\n", j); switch (prop) { case GSASL_AUTHID: gsasl_property_set (sctx, prop, sasltv[i].authid); rc = GSASL_OK; break; case GSASL_AUTHZID: gsasl_property_set (sctx, prop, sasltv[i].authzid); rc = GSASL_OK; break; case GSASL_PASSWORD: gsasl_property_set (sctx, prop, sasltv[i].password); rc = GSASL_OK; break; case GSASL_ANONYMOUS_TOKEN: gsasl_property_set (sctx, prop, sasltv[i].anonymous); rc = GSASL_OK; break; case GSASL_SERVICE: rc = GSASL_OK; break; case GSASL_PASSCODE: gsasl_property_set (sctx, prop, sasltv[i].passcode); rc = GSASL_OK; break; case GSASL_SUGGESTED_PIN: case GSASL_PIN: { const char *suggestion = gsasl_property_fast (sctx, GSASL_SUGGESTED_PIN); if (suggestion && sasltv[i].suggestpin && strcmp (suggestion, sasltv[i].suggestpin) != 0) return GSASL_AUTHENTICATION_ERROR; if ((suggestion == NULL && sasltv[i].suggestpin != NULL) || (suggestion != NULL && sasltv[i].suggestpin == NULL)) return GSASL_AUTHENTICATION_ERROR; gsasl_property_set (sctx, prop, sasltv[i].pin); rc = GSASL_OK; } case GSASL_REALM: break; case GSASL_VALIDATE_EXTERNAL: rc = GSASL_OK; break; case GSASL_VALIDATE_ANONYMOUS: if (strcmp (sasltv[i].anonymous, gsasl_property_fast (sctx, GSASL_ANONYMOUS_TOKEN)) == 0) rc = GSASL_OK; else rc = GSASL_AUTHENTICATION_ERROR; break; case GSASL_VALIDATE_SECURID: { const char *passcode = gsasl_property_fast (sctx, GSASL_PASSCODE); const char *pin = gsasl_property_fast (sctx, GSASL_PIN); if (strcmp (passcode, sasltv[i].passcode) != 0) return GSASL_AUTHENTICATION_ERROR; if (sasltv[i].securidrc == GSASL_SECURID_SERVER_NEED_NEW_PIN) { rc = sasltv[i].securidrc; sasltv[i].securidrc = GSASL_OK; if (sasltv[i].suggestpin) { gsasl_property_set (sctx, GSASL_SUGGESTED_PIN, sasltv[i].suggestpin); } } else if (sasltv[i].securidrc == GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE) { rc = sasltv[i].securidrc; sasltv[i].securidrc = GSASL_OK; } else { rc = sasltv[i].securidrc; if (pin && sasltv[i].pin && strcmp (pin, sasltv[i].pin) != 0) return GSASL_AUTHENTICATION_ERROR; if ((pin == NULL && sasltv[i].pin != NULL) || (pin != NULL && sasltv[i].pin == NULL)) return GSASL_AUTHENTICATION_ERROR; } } break; default: printf ("Unknown property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *sctx = NULL; char *out = NULL; int i, j; int res; if (!gsasl_check_version (GSASL_VERSION)) fail ("gsasl_check_version failure"); success ("Header version %s library version %s\n", GSASL_VERSION, gsasl_check_version (NULL)); res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } gsasl_callback_set (ctx, cb); res = gsasl_client_mechlist (ctx, &out); if (res != GSASL_OK) fail ("gsasl_client_mechlist() failed (%d):\n%s\n", res, gsasl_strerror (res)); success ("client_mechlist: %s\n", out); gsasl_free (out); out = NULL; res = gsasl_server_mechlist (ctx, &out); if (res != GSASL_OK) fail ("gsasl_server_mechlist() failed (%d):\n%s\n", res, gsasl_strerror (res)); success ("server_mechlist: %s\n", out); gsasl_free (out); out = NULL; for (i = 0; i < sizeof (sasltv) / sizeof (sasltv[0]); i++) { gsasl_callback_hook_set (ctx, &i); if (debug) printf ("Entry %d %s mechanism %s:\n", i, sasltv[i].clientp ? "client" : "server", sasltv[i].mech); if (sasltv[i].clientp) res = gsasl_client_support_p (ctx, sasltv[i].mech); else res = gsasl_server_support_p (ctx, sasltv[i].mech); if (!res) continue; if (sasltv[i].clientp) res = gsasl_client_start (ctx, sasltv[i].mech, &sctx); else res = gsasl_server_start (ctx, sasltv[i].mech, &sctx); if (res != GSASL_OK) { fail ("SASL %s start for mechanism %s failed (%d):\n%s\n", sasltv[i].clientp ? "client" : "server", sasltv[i].mech, res, gsasl_strerror (res)); continue; } for (j = 0; sasltv[i].step[j]; j += 2) { gsasl_session_hook_set (sctx, &j); if (debug) printf ("Input : %s\n", sasltv[i].step[j] ? sasltv[i].step[j] : ""); res = gsasl_step64 (sctx, sasltv[i].step[j], &out); if (debug) printf ("Output: %s\n", out ? out : "(null)"); if (res != GSASL_OK && res != GSASL_NEEDS_MORE) { fail ("gsasl_step64 failed (%d): %s", res, gsasl_strerror (res)); break; } if (strlen (out) != strlen (sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : "")) { printf ("Expected: %s\n", sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : ""); fail ("SASL entry %d mechanism %s client step %d length error\n", i, sasltv[i].mech, j); j = -1; break; } if (strcmp (out, sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : "") != 0) { printf ("Expected: %s\n", sasltv[i].step[j + 1] ? sasltv[i].step[j + 1] : ""); fail ("SASL entry %d mechanism %s client step %d data error\n", i, sasltv[i].mech, j); j = -1; break; } gsasl_free (out); out = NULL; if (strcmp (sasltv[i].mech, "SECURID") != 0 && res == GSASL_OK) break; } if (j != (size_t) - 1 && res == GSASL_OK && sasltv[i].step[j + 2]) fail ("SASL entry %d mechanism %s step %d code ended prematurely\n", i, sasltv[i].mech, j); else if (j != (size_t) - 1 && res == GSASL_NEEDS_MORE) fail ("SASL entry %d mechanism %s step %d table ended prematurely\n", i, sasltv[i].mech, j); else if (j != (size_t) - 1 && res != GSASL_OK) fail ("SASL entry %d mechanism %s step %d failed (%d):\n%s\n", i, sasltv[i].mech, j, res, gsasl_strerror (res)); else printf ("PASS: simple %s %s %d\n", sasltv[i].mech, sasltv[i].clientp ? "client" : "server", i); { size_t outlen; res = gsasl_encode (sctx, "foo", 3, &out, &outlen); if (res != GSASL_OK) fail ("gsasl_encode %d: %s\n", res, gsasl_strerror (res)); if (outlen != 3 && memcmp (out, "foo", outlen) != 0) fail ("gsasl_encode memcmp: %.*s\n", (int) outlen, out); gsasl_free (out); out = NULL; res = gsasl_decode (sctx, "foo", 3, &out, &outlen); if (res != GSASL_OK) fail ("gsasl_decode %d: %s\n", res, gsasl_strerror (res)); if (outlen != 3 && memcmp (out, "foo", outlen) != 0) fail ("gsasl_decode memcmp: %.*s\n", (int) outlen, out); gsasl_free (out); out = NULL; } gsasl_finish (sctx); if (debug) printf ("\n"); } gsasl_done (ctx); /* Sanity check interfaces. */ gsasl_finish (NULL); gsasl_done (NULL); } gsasl-1.8.1/tests/old-base64.c0000644000000000000000000000310713516252321012670 00000000000000/* old-base64.c --- Test the base64 functions, using old callback API. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include int main (void) { char target[50]; size_t targsize = sizeof (target); int len; len = gsasl_base64_encode ("foobar", 6, target, targsize); printf ("base64_encode(foobar, 6) = %d, %.*s\n", len, len, target); if (len != 8 || memcmp (target, "Zm9vYmFy", len) != 0) { printf ("base64_encode failure\n"); return EXIT_FAILURE; } len = gsasl_base64_decode ("Zm9vYmFy", target, targsize); printf ("base64_decode(Zm9vYmFy, 8) = %d, %.*s\n", len, len, target); if (len != 6 || memcmp (target, "foobar", len) != 0) { printf ("base64_decode failure\n"); return EXIT_FAILURE; } return EXIT_SUCCESS; } gsasl-1.8.1/tests/crypto.c0000644000000000000000000000644513516252321012360 00000000000000/* crypto.c --- Test the crypto related SASL functions. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" void doit (void) { #define SIZE 10 char tmp[SIZE]; char savetmp[SIZE]; char *hash; size_t tmplen; int rc; Gsasl *ctx; rc = gsasl_init (&ctx); if (rc != GSASL_OK) fail ("gsasl_init %d: %s\n", rc, gsasl_strerror (rc)); memset (tmp, 42, SIZE); memcpy (savetmp, tmp, SIZE); tmplen = sizeof (tmp); rc = gsasl_nonce (tmp, tmplen); if (rc != GSASL_OK) fail ("gsasl_nonce %d: %s\n", rc, gsasl_strerror (rc)); if (memcmp (savetmp, tmp, SIZE) == 0) fail ("gsasl_nonce memcmp fail\n"); success ("gsasl_nonce\n"); #if 0 /* This often times out on build machines. */ memcpy (savetmp, tmp, SIZE); tmplen = sizeof (tmp); rc = gsasl_random (tmp, tmplen); if (rc != GSASL_OK) fail ("gsasl_random %d: %s\n", rc, gsasl_strerror (rc)); if (memcmp (savetmp, tmp, SIZE) == 0) fail ("gsasl_random memcmp fail\n"); success ("gsasl_random\n"); #endif rc = gsasl_md5 ("abc", 3, &hash); if (rc != GSASL_OK) fail ("gsasl_md5 %d: %s\n", rc, gsasl_strerror (rc)); if (memcmp (hash, "\x90\x01\x50\x98\x3C\xD2\x4F\xB0" "\xD6\x96\x3F\x7D\x28\xE1\x7F\x72", 16) != 0) fail ("gsasl_md5 memcmp fail\n"); success ("gsasl_md5\n"); gsasl_free (hash); rc = gsasl_hmac_md5 ("\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b" "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b", 16, "Hi There", 8, &hash); if (rc != GSASL_OK) fail ("gsasl_hmac_md5 %d: %s\n", rc, gsasl_strerror (rc)); if (memcmp (hash, "\x92\x94\x72\x7a\x36\x38\xbb\x1c" "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d", 16) != 0) fail ("gsasl_hmac_md5 memcmp fail\n"); success ("gsasl_hmac_md5\n"); gsasl_free (hash); rc = gsasl_sha1 ("abc", 3, &hash); if (rc != GSASL_OK) fail ("gsasl_sha1 %d: %s\n", rc, gsasl_strerror (rc)); if (memcmp (hash, "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e\x25" "\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d", 20) != 0) fail ("gsasl_sha1 memcmp fail\n"); success ("gsasl_sha1\n"); gsasl_free (hash); rc = gsasl_hmac_sha1 ("\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b" "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b", 16, "Hi There", 8, &hash); if (rc != GSASL_OK) fail ("gsasl_hmac_sha1 %d: %s\n", rc, gsasl_strerror (rc)); if (memcmp (hash, "\x67\x5b\x0b\x3a\x1b\x4d\xdf\x4e\x12\x48\x72" "\xda\x6c\x2f\x63\x2b\xfe\xd9\x57\xe9", 20) != 0) fail ("gsasl_hmac_sha1 memcmp fail\n"); success ("gsasl_hmac_sha1\n"); gsasl_free (hash); gsasl_done (ctx); } gsasl-1.8.1/tests/threadsafety0000755000000000000000000001120113516252321013267 00000000000000#!/bin/sh # Copyright (C) 2004-2019 Simon Josefsson # # 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 3 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, see . FILES="$@" FILES=${FILES:-$THREADSAFETY_FILES} EGREP=${EGREP:-egrep} if test -z "$FILES"; then echo "Usage: $0 [FILE...]" exit 1 fi UNSAFE="" # Thread unsafe functions according to latest POSIX, see: # http://www.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_01 UNSAFE="$UNSAFE asctime" UNSAFE="$UNSAFE basename" UNSAFE="$UNSAFE catgets" UNSAFE="$UNSAFE crypt" UNSAFE="$UNSAFE ctime" UNSAFE="$UNSAFE dbm_clearerr" UNSAFE="$UNSAFE dbm_close" UNSAFE="$UNSAFE dbm_delete" UNSAFE="$UNSAFE dbm_error" UNSAFE="$UNSAFE dbm_fetch" UNSAFE="$UNSAFE dbm_firstkey" UNSAFE="$UNSAFE dbm_nextkey" UNSAFE="$UNSAFE dbm_open" UNSAFE="$UNSAFE dbm_store" UNSAFE="$UNSAFE dirname" UNSAFE="$UNSAFE dlerror" UNSAFE="$UNSAFE drand48" UNSAFE="$UNSAFE encrypt" UNSAFE="$UNSAFE endgrent" UNSAFE="$UNSAFE endpwent" UNSAFE="$UNSAFE endutxent" UNSAFE="$UNSAFE ftw" UNSAFE="$UNSAFE getc_unlocked" UNSAFE="$UNSAFE getchar_unlocked" UNSAFE="$UNSAFE getdate" UNSAFE="$UNSAFE getenv" UNSAFE="$UNSAFE getgrent" UNSAFE="$UNSAFE getgrgid" UNSAFE="$UNSAFE getgrnam" UNSAFE="$UNSAFE gethostent" UNSAFE="$UNSAFE getlogin" UNSAFE="$UNSAFE getnetbyaddr" UNSAFE="$UNSAFE getnetbyname" UNSAFE="$UNSAFE getnetent" UNSAFE="$UNSAFE getopt" UNSAFE="$UNSAFE getprotobyname" UNSAFE="$UNSAFE getprotobynumber" UNSAFE="$UNSAFE getprotoent" UNSAFE="$UNSAFE getpwent" UNSAFE="$UNSAFE getpwnam" UNSAFE="$UNSAFE getpwuid" UNSAFE="$UNSAFE getservbyname" UNSAFE="$UNSAFE getservbyport" UNSAFE="$UNSAFE getservent" UNSAFE="$UNSAFE getutxent" UNSAFE="$UNSAFE getutxid" UNSAFE="$UNSAFE getutxline" UNSAFE="$UNSAFE gmtime" UNSAFE="$UNSAFE hcreate" UNSAFE="$UNSAFE hdestroy" UNSAFE="$UNSAFE hsearch" UNSAFE="$UNSAFE inet_ntoa" UNSAFE="$UNSAFE l64a" UNSAFE="$UNSAFE lgamma" UNSAFE="$UNSAFE lgammaf" UNSAFE="$UNSAFE lgammal" UNSAFE="$UNSAFE localeconv" UNSAFE="$UNSAFE localtime" UNSAFE="$UNSAFE lrand48" UNSAFE="$UNSAFE mrand48" UNSAFE="$UNSAFE nftw" UNSAFE="$UNSAFE nl_langinfo" UNSAFE="$UNSAFE ptsname" UNSAFE="$UNSAFE putc_unlocked" UNSAFE="$UNSAFE putchar_unlocked" UNSAFE="$UNSAFE putenv" UNSAFE="$UNSAFE pututxline" UNSAFE="$UNSAFE rand" UNSAFE="$UNSAFE readdir" UNSAFE="$UNSAFE setenv" UNSAFE="$UNSAFE setgrent" UNSAFE="$UNSAFE setkey" UNSAFE="$UNSAFE setpwent" UNSAFE="$UNSAFE setutxent" UNSAFE="$UNSAFE strerror" UNSAFE="$UNSAFE strsignal" UNSAFE="$UNSAFE strtok" UNSAFE="$UNSAFE system" UNSAFE="$UNSAFE ttyname" UNSAFE="$UNSAFE unsetenv" UNSAFE="$UNSAFE wcstombs" UNSAFE="$UNSAFE wctomb" # Additional functions that aren't thread-safe if passed a NULL argument UNSAFE="$UNSAFE ctermid" UNSAFE="$UNSAFE tmpname" UNSAFE="$UNSAFE wcrtomb" UNSAFE="$UNSAFE wcsrtombs" # Legacy functions removed between issue 6 and 7, see: # http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html#tag_02_09_01 UNSAFE="$UNSAFE ecvt" UNSAFE="$UNSAFE fcvt" UNSAFE="$UNSAFE gcvt" UNSAFE="$UNSAFE gethostbyaddr" UNSAFE="$UNSAFE gethostbyname" # Other (potentially) thread unsafe functions, see: # http://blog.josefsson.org/2009/06/23/thread-safe-functions/ UNSAFE="$UNSAFE erand48" UNSAFE="$UNSAFE ether_aton" UNSAFE="$UNSAFE ether_ntoa" UNSAFE="$UNSAFE fgetgrent" UNSAFE="$UNSAFE fgetpwent" UNSAFE="$UNSAFE fgetspent" UNSAFE="$UNSAFE getaliasbyname" UNSAFE="$UNSAFE getaliasent" UNSAFE="$UNSAFE gethostbyname2" UNSAFE="$UNSAFE getmntent" UNSAFE="$UNSAFE getnetgrent" UNSAFE="$UNSAFE getrpcbyname" UNSAFE="$UNSAFE getrpcbynumber" UNSAFE="$UNSAFE getrpcent" UNSAFE="$UNSAFE getspent" UNSAFE="$UNSAFE getspnam" UNSAFE="$UNSAFE getutent" UNSAFE="$UNSAFE getutid" UNSAFE="$UNSAFE getutline" UNSAFE="$UNSAFE initstate" UNSAFE="$UNSAFE jrand48" UNSAFE="$UNSAFE lcong48" UNSAFE="$UNSAFE nrand48" UNSAFE="$UNSAFE qecvt" UNSAFE="$UNSAFE qfcvt" UNSAFE="$UNSAFE random" UNSAFE="$UNSAFE seed48" UNSAFE="$UNSAFE setstate" UNSAFE="$UNSAFE sgetspent" UNSAFE="$UNSAFE srand48" UNSAFE="$UNSAFE srandom" set -- $UNSAFE cmd="-e [^.>=_0-9a-z]($1" shift while test "$1"; do cmd="${cmd}|$1" shift done cmd="${cmd})[^.>=_0-9a-z]*\(" if $EGREP $cmd $FILES; then exit 1 fi exit 0 gsasl-1.8.1/tests/utils.c0000644000000000000000000000660713516323420012177 00000000000000/* utils.c --- Self test utilities. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "utils.h" int debug = 1; int error_count = 0; int break_on_error = 0; void fail (const char *format, ...) { va_list arg_ptr; va_start (arg_ptr, format); vfprintf (stderr, format, arg_ptr); va_end (arg_ptr); error_count++; if (break_on_error) exit (1); } void success (const char *format, ...) { va_list arg_ptr; va_start (arg_ptr, format); if (debug) vfprintf (stdout, format, arg_ptr); va_end (arg_ptr); } void escapeprint (const char *str, size_t len) { size_t i; printf (" (length %lu bytes):\n\t", (unsigned long) len); for (i = 0; i < len; i++) { if (((str[i] & 0xFF) >= 'A' && (str[i] & 0xFF) <= 'Z') || ((str[i] & 0xFF) >= 'a' && (str[i] & 0xFF) <= 'z') || ((str[i] & 0xFF) >= '0' && (str[i] & 0xFF) <= '9') || (str[i] & 0xFF) == ' ' || (str[i] & 0xFF) == '.') printf ("%c", (str[i] & 0xFF)); else printf ("\\x%02X", (unsigned) (str[i] & 0xFF)); if ((i + 1) % 16 == 0 && (i + 1) < len) printf ("'\n\t'"); } printf ("\n"); } void hexprint (const char *str, size_t len) { size_t i; printf ("\t;; "); for (i = 0; i < len; i++) { printf ("%02x ", (unsigned) (str[i] & 0xFF)); if ((i + 1) % 8 == 0) printf (" "); if ((i + 1) % 16 == 0 && i + 1 < len) printf ("\n\t;; "); } printf ("\n"); } void binprint (const char *str, size_t len) { size_t i; printf ("\t;; "); for (i = 0; i < len; i++) { printf ("%d%d%d%d%d%d%d%d ", (str[i] & 0xFF) & 0x80 ? 1 : 0, (str[i] & 0xFF) & 0x40 ? 1 : 0, (str[i] & 0xFF) & 0x20 ? 1 : 0, (str[i] & 0xFF) & 0x10 ? 1 : 0, (str[i] & 0xFF) & 0x08 ? 1 : 0, (str[i] & 0xFF) & 0x04 ? 1 : 0, (str[i] & 0xFF) & 0x02 ? 1 : 0, (str[i] & 0xFF) & 0x01 ? 1 : 0); if ((i + 1) % 3 == 0) printf (" "); if ((i + 1) % 6 == 0 && i + 1 < len) printf ("\n\t;; "); } printf ("\n"); } int main (int argc, char *argv[]) { do if (strcmp (argv[argc - 1], "-v") == 0 || strcmp (argv[argc - 1], "--verbose") == 0) debug = 1; else if (strcmp (argv[argc - 1], "-b") == 0 || strcmp (argv[argc - 1], "--break-on-error") == 0) break_on_error = 1; else if (strcmp (argv[argc - 1], "-h") == 0 || strcmp (argv[argc - 1], "-?") == 0 || strcmp (argv[argc - 1], "--help") == 0) { printf ("Usage: %s [-vbh?] [--verbose] [--break-on-error] [--help]\n", argv[0]); return 1; } while (argc-- > 1); doit (); if (debug) printf ("Self test `%s' finished with %d errors\n", argv[0], error_count); return error_count ? 1 : 0; } gsasl-1.8.1/tests/suggest.c0000644000000000000000000000611513516252321012513 00000000000000/* suggest.c --- Test the SASL mechanism suggestion function. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" void doit (void) { Gsasl *ctx = NULL; const char *str; const char *p; int res; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } str = "FOO BAR FOO"; p = gsasl_client_suggest_mechanism (ctx, str); if (debug) printf ("gsasl_client_suggest_mechanism(%s) = %s\n", str, p ? p : "(null)"); if (p) fail ("FAIL: not null?!\n"); if (gsasl_client_support_p (ctx, "EXTERNAL")) { str = "FOO BAR EXTERNAL BAR FOO"; p = gsasl_client_suggest_mechanism (ctx, str); if (debug) printf ("gsasl_client_suggest_mechanism(%s) = %s\n", str, p); if (!p || strcmp (p, "EXTERNAL") != 0) fail ("FAIL: not external?!\n"); } if (gsasl_client_support_p (ctx, "CRAM-MD5")) { str = "FOO BAR CRAM-MD5 BAR FOO"; p = gsasl_client_suggest_mechanism (ctx, str); if (debug) printf ("gsasl_client_suggest_mechanism(%s) = %s\n", str, p); if (!p || strcmp (p, "CRAM-MD5") != 0) fail ("FAIL: not cram-md5?!\n"); } if (gsasl_client_support_p (ctx, "PLAIN") && gsasl_client_support_p (ctx, "CRAM-MD5")) { str = "FOO PLAIN CRAM-MD5 BAR FOO"; p = gsasl_client_suggest_mechanism (ctx, str); if (debug) printf ("gsasl_client_suggest_mechanism(%s) = %s\n", str, p); if (!p || strcmp (p, "CRAM-MD5") != 0) fail ("FAIL: not cram-md5?!\n"); } if (gsasl_client_support_p (ctx, "PLAIN")) { str = "FOO PLAIN BAR FOO"; p = gsasl_client_suggest_mechanism (ctx, str); if (debug) printf ("gsasl_client_suggest_mechanism(%s) = %s\n", str, p); if (!p || strcmp (p, "PLAIN") != 0) fail ("FAIL: not plain?!\n"); } if (gsasl_client_support_p (ctx, "PLAIN") && gsasl_client_support_p (ctx, "CRAM-MD5") && gsasl_client_support_p (ctx, "DIGEST-MD5")) { str = "FOO PLAIN CRAM-MD5 DIGEST-MD5 FOO"; p = gsasl_client_suggest_mechanism (ctx, str); if (debug) printf ("gsasl_client_suggest_mechanism(%s) = %s\n", str, p); if (!p || strcmp (p, "CRAM-MD5") != 0) fail ("FAIL: not cram-md5?!\n"); } gsasl_done (ctx); } gsasl-1.8.1/tests/Makefile.am0000644000000000000000000000413413516325100012715 00000000000000## Process this file with automake to produce Makefile.in # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . dist_noinst_DATA = cram-md5.pwd AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src AM_LDFLAGS = -no-install LDADD = ../lib/src/libgsasl.la ../gl/libgl.la libutils.la EXTRA_DIST = libgsasl.supp gssapi.key gssapi.tkt shishi.conf noinst_LTLIBRARIES = libutils.la libutils_la_SOURCES = utils.h utils.c AM_TESTS_ENVIRONMENT = \ SHISHI_KEYS=$(srcdir)/gssapi.key \ SHISHI_TICKETS=$(srcdir)/gssapi.tkt \ SHISHI_CONFIG=$(srcdir)/shishi.conf \ SHISHI_HOME=$(srcdir) \ SHISHI_USER=ignore-this-warning \ THREADSAFETY_FILES=`ls $(top_srcdir)/lib/*/*.c | $(GREP) -v -e lib/gl/vasnprintf.c -e lib/gl/getdelim.c -e lib/gltests/` \ MD5FILE=$(srcdir)/cram-md5.pwd \ EGREP="$(EGREP)" \ GNUGSS=`if grep 'HAVE_LIBGSS 1' ../lib/config.h > /dev/null; then echo yes; else echo no; fi`; \ export SHISHI_KEYS SHISHI_TICKETS SHISHI_CONFIG SHISHI_HOME SHISHI_USER THREADSAFETY_FILES MD5FILE EGREP GNUGSS; LOG_COMPILER=$(VALGRIND) ctests = external cram-md5 digest-md5 md5file name errors suggest \ simple crypto scram scramplus symbols readnz gssapi gs2-krb5 \ saml20 openid20 if OBSOLETE ctests += old-simple old-md5file old-cram-md5 old-digest-md5 \ old-base64 endif # old-gssapi TESTS = threadsafety $(ctests) check_PROGRAMS = $(ctests) dist_check_SCRIPTS = threadsafety gsasl-1.8.1/tests/md5file.c0000644000000000000000000000405613516252321012361 00000000000000/* md5file.c --- Test the MD5 file password function. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" /* Should match values from cram-md5.pwd. */ #define BILL "bill" #define BILL_PASSWD "hubba-hubba" void doit (void) { const char *md5file; char *key; int res; md5file = getenv ("MD5FILE"); if (md5file) { char *p; if ((p = strchr (md5file, '='))) md5file = p; } if (!md5file) md5file = "cram-md5.pwd"; res = gsasl_simple_getpass ("non-existing-file", "user", &key); if (res == GSASL_AUTHENTICATION_ERROR) success ("non-existing-file OK\n"); else fail ("non-existing-file FAIL (%d): %s\n", res, gsasl_strerror (res)); res = gsasl_simple_getpass (md5file, BILL, &key); if (res == GSASL_OK) success ("user-found OK\n"); else fail ("user-found FAIL (%d): %s\n", res, gsasl_strerror (res)); if (strcmp (key, BILL_PASSWD) != 0) fail ("user-password FAIL: %s\n", key); else success ("user-password OK\n"); if (res == GSASL_OK) gsasl_free (key); res = gsasl_simple_getpass (md5file, "user", &key); if (res == GSASL_AUTHENTICATION_ERROR) success ("no-such-user OK\n"); else fail ("no-such-user FAIL (%d): %s\n", res, gsasl_strerror (res)); } gsasl-1.8.1/tests/openid20.c0000644000000000000000000001765213516324771012473 00000000000000/* openid20.c --- Test the OPENID20 mechanism. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include "utils.h" const char *authzid = NULL; const char *sreg = NULL; int validation_res = GSASL_OK; int expect_server_res = GSASL_OK; int expect_client_res = GSASL_OK; int expect_server2_res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; static int client_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; switch (prop) { case GSASL_AUTHZID: if (authzid) gsasl_property_set (sctx, prop, authzid); rc = GSASL_OK; break; case GSASL_AUTHID: gsasl_property_set (sctx, prop, "http://user.example.org/"); rc = GSASL_OK; break; case GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: rc = GSASL_OK; break; default: fail ("Unknown client callback property %u\n", prop); break; } return rc; } static int server_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; switch (prop) { case GSASL_OPENID20_REDIRECT_URL: gsasl_property_set (sctx, prop, "http://idp.example/NONCE/?openid.foo=bar"); rc = GSASL_OK; break; case GSASL_VALIDATE_OPENID20: rc = validation_res; break; case GSASL_OPENID20_OUTCOME_DATA: if (sreg) gsasl_property_set (sctx, prop, sreg); rc = GSASL_OK; break; default: fail ("Unknown server callback property %u\n", prop); break; } return rc; } static void openid20 (Gsasl * c, Gsasl * s) { Gsasl_session *client, *server; char *s1, *s2; int res; /* Simple client */ res = gsasl_client_start (c, "OPENID20", &client); if (res != GSASL_OK) { fail ("gsasl_client_start (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_server_start (s, "OPENID20", &server); if (res != GSASL_OK) { fail ("gsasl_server_start (%d):\n%s\n", res, gsasl_strerror (res)); return; } /* OPENID20 is client-first. Check that server just waits. */ res = gsasl_step64 (server, NULL, &s2); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step server0 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: `%s' (%d) %s\n", s2 ? s2 : "", (int) strlen (s2), gsasl_strerror_name (res)); /* The client should send the OpenID URL. */ res = gsasl_step64 (client, s2, &s1); gsasl_free (s2); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step client1 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: `%s' (%d) %s\n", s1 ? s1 : "", (int) strlen (s1), gsasl_strerror_name (res)); /* The server should send the redirect URL. */ res = gsasl_step64 (server, s1, &s2); gsasl_free (s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step server1 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: `%s' (%d) %s\n", s2 ? s2 : "", (int) strlen (s2), gsasl_strerror_name (res)); /* The client sends '='. */ res = gsasl_step64 (client, s2, &s1); gsasl_free (s2); if (res != GSASL_OK) { fail ("gsasl_step client2 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: `%s' (%d) %s\n", s1 ? s1 : "", (int) strlen (s1), gsasl_strerror_name (res)); /* Now the server sends the outcome_data */ res = gsasl_step64 (server, s1, &s2); gsasl_free (s1); if (res != expect_server_res) { fail ("gsasl_step server2 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (res == GSASL_OK || res == GSASL_NEEDS_MORE) { if (debug) printf ("S: `%s' (%d) %s\n", s2 ? s2 : "", (int) strlen (s2), gsasl_strerror_name (res)); } /* The client receives the outcome data and sends a empty packet. */ res = gsasl_step64 (client, s2, &s1); gsasl_free (s2); if (res != expect_client_res) { fail ("gsasl_step client3 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (res == GSASL_OK || res == GSASL_NEEDS_MORE) { if (debug) printf ("C: `%s' (%d) %s\n", s1 ? s1 : "", (int) strlen (s1), gsasl_strerror_name (res)); } else if (debug) { printf ("C: %s\n", gsasl_strerror_name (res)); s1 = NULL; } /* The server should reject authentication at this point */ res = gsasl_step64 (server, s1, &s2); gsasl_free (s1); if (res != expect_server2_res) { fail ("gsasl_step server3 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (res == GSASL_OK || res == GSASL_NEEDS_MORE) { if (debug) printf ("S: `%s' (%d) %s\n", s2 ? s2 : "", (int) strlen (s2), gsasl_strerror_name (res)); } else if (debug) { printf ("S: %s\n", gsasl_strerror_name (res)); s2 = NULL; } /* The client should be called too many times now */ res = gsasl_step64 (client, s2, &s1); gsasl_free (s2); if (res != GSASL_MECHANISM_CALLED_TOO_MANY_TIMES) { fail ("gsasl_step client4 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %s\n", gsasl_strerror_name (res)); if (authzid == NULL && gsasl_property_fast (server, GSASL_AUTHZID) == NULL) success ("expected and got no authzid\n"); else if (!authzid && gsasl_property_fast (server, GSASL_AUTHZID)) fail ("got unexpected authzid? %s\n", gsasl_property_fast (server, GSASL_AUTHZID)); else if (authzid && !gsasl_property_fast (server, GSASL_AUTHZID)) fail ("did not get authzid? %s\n", authzid); else if (strcmp (authzid, gsasl_property_fast (server, GSASL_AUTHZID)) != 0) fail ("authzid comparison failed: got %s expected %s\n", gsasl_property_fast (server, GSASL_AUTHZID), authzid); gsasl_finish (client); gsasl_finish (server); } void doit (void) { Gsasl *c = NULL, *s = NULL; int res; res = gsasl_init (&c); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_init (&s); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (c, "OPENID20")) { gsasl_done (c); fail ("No support for OPENID20 clients.\n"); exit (77); } if (!gsasl_server_support_p (s, "OPENID20")) { gsasl_done (s); fail ("No support for OPENID20 servers.\n"); exit (77); } gsasl_callback_set (c, client_callback); gsasl_callback_set (s, server_callback); printf ("Running successful authentication without SREG.\n"); openid20 (c, s); printf ("Running successful authentication with SREG.\n"); sreg = "nickname=jas"; openid20 (c, s); authzid = "user"; printf ("Running successful authentication without SREG with authzid.\n"); openid20 (c, s); printf ("Running successful authentication with SREG with authzid.\n"); sreg = "nickname=jas"; openid20 (c, s); printf ("Running failed authentication.\n"); validation_res = GSASL_AUTHENTICATION_ERROR; expect_server_res = GSASL_NEEDS_MORE; expect_client_res = GSASL_NEEDS_MORE; expect_server2_res = GSASL_AUTHENTICATION_ERROR; openid20 (c, s); gsasl_done (c); gsasl_done (s); } gsasl-1.8.1/tests/old-cram-md5.c0000644000000000000000000001013513516252321013210 00000000000000/* cram-md5.c --- Test the CRAM-MD5 mechanism, using old callback API. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" #define PASSWORD "Open, Sesame" #define USERNAME "Ali Baba" /* "Ali " "\xC2\xAD" "Bab" "\xC2\xAA" */ /* "Al\xC2\xAA""dd\xC2\xAD""in\xC2\xAE" */ static int server_cb_retrieve (Gsasl_session_ctx * xctx, const char *authentication_id, const char *authorization_id, const char *realm, char *key, size_t * keylen) { size_t needlen = strlen (PASSWORD); if (key && *keylen < needlen) return GSASL_TOO_SMALL_BUFFER; *keylen = needlen; if (key) memcpy (key, PASSWORD, *keylen); return GSASL_OK; } static int client_cb_authentication_id (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { size_t needlen = strlen (USERNAME); if (out && *outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, USERNAME, *outlen); return GSASL_OK; } static int client_cb_password (Gsasl_session_ctx * xctx, char *out, size_t * outlen) { size_t needlen = strlen (PASSWORD); if (out && *outlen < needlen) return GSASL_TOO_SMALL_BUFFER; *outlen = needlen; if (out) memcpy (out, PASSWORD, *outlen); return GSASL_OK; } void doit (void) { Gsasl_ctx *ctx = NULL; Gsasl_session_ctx *server = NULL, *client = NULL; char *s1, *s2; size_t s1len, s2len; size_t i; int res; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (ctx, "CRAM-MD5") || !gsasl_server_support_p (ctx, "CRAM-MD5")) { gsasl_done (ctx); fail ("No support for CRAM-MD5.\n"); exit (77); } gsasl_server_callback_retrieve_set (ctx, server_cb_retrieve); gsasl_client_callback_authentication_id_set (ctx, client_cb_authentication_id); gsasl_client_callback_password_set (ctx, client_cb_password); for (i = 0; i < 5; i++) { res = gsasl_server_start (ctx, "CRAM-MD5", &server); if (res != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "CRAM-MD5", &client); if (res != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_step (server, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s\n", (int) s1len, s1); res = gsasl_step (client, s1, s1len, &s2, &s2len); free (s1); if (res != GSASL_OK) { fail ("gsasl_step() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s\n", (int) s2len, s2); res = gsasl_step (server, s2, s2len, &s1, &s1len); free (s2); if (res != GSASL_OK) { fail ("gsasl_step() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (s1len != 0) { fail ("gsasl_step() failed, additional length=%lu:\n", (unsigned long) s1len); fail ("%s\n", s1); return; } free (s1); if (debug) printf ("\n"); gsasl_client_finish (client); gsasl_server_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/gssapi.key0000664000000000000000000000022411746471770012701 00000000000000-----BEGIN SHISHI KEY----- Keytype: 3 (des-cbc-md5) Principal: host/latte.josefsson.org Realm: JOSEFSSON.ORG s3WXrcITWPE= -----END SHISHI KEY----- gsasl-1.8.1/tests/scramplus.c0000644000000000000000000001603613516324730013052 00000000000000/* scramplus.c --- Test the SCRAM-SHA-1-PLUS mechanism. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "utils.h" #define PASSWORD "Open, Sesame" #define N_AUTHID 4 static const char *AUTHID[N_AUTHID] = { "Ali Baba", "BAB,ABA", ",=,=", "=" /* "Ali " "\xC2\xAD" "Bab" "\xC2\xAA" */ /* "Al\xC2\xAA""dd\xC2\xAD""in\xC2\xAE" */ }; #define N_AUTHZID 4 static const char *AUTHZID[N_AUTHZID] = { "jas", "BAB,ABA", ",=,=", "=" }; int i; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ switch (prop) { case GSASL_PASSWORD: gsasl_property_set (sctx, prop, PASSWORD); rc = GSASL_OK; break; case GSASL_AUTHID: gsasl_property_set (sctx, prop, AUTHID[i % N_AUTHID]); rc = GSASL_OK; break; case GSASL_AUTHZID: if (i & 0x01) { gsasl_property_set (sctx, prop, AUTHZID[i % N_AUTHZID]); rc = GSASL_OK; } break; case GSASL_SCRAM_ITER: if (strcmp (gsasl_property_fast (sctx, GSASL_AUTHID), AUTHID[i % N_AUTHID]) != 0) fail ("Username mismatch: %s", gsasl_property_fast (sctx, GSASL_AUTHID)); if (i & 0x02) { gsasl_property_set (sctx, prop, "1234"); rc = GSASL_OK; } break; case GSASL_SCRAM_SALT: if (i & 0x04) { gsasl_property_set (sctx, prop, "c2FsdA=="); rc = GSASL_OK; } break; case GSASL_SCRAM_SALTED_PASSWORD: if (i & 0x04 && i & 0x08) /* Only works with fixed salt. */ { const char *str[] = { "06bfd2d70a0fa425c20473722a93700df39f3cbd", "f1e6c0e5a207367176ac42c7799b67ae3e097d7e", }; /* >>1 to mask out authzid. */ size_t pos = (i & ~0x04 & ~0x08) >> 1; gsasl_property_set (sctx, prop, str[pos]); rc = GSASL_OK; } break; case GSASL_CB_TLS_UNIQUE: gsasl_property_set (sctx, prop, "Zm5vcmQ="); rc = GSASL_OK; break; default: fail ("Unknown callback property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *ctx = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1, *s2; size_t s1len, s2len; int res; res = gsasl_init (&ctx); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (ctx, "SCRAM-SHA-1-PLUS") || !gsasl_server_support_p (ctx, "SCRAM-SHA-1-PLUS")) { gsasl_done (ctx); fail ("No support for SCRAM-SHA-1-PLUS.\n"); exit (77); } gsasl_callback_set (ctx, callback); for (i = 0; i <= 21; i++) { bool server_first = (i % 2) == 0; if (debug) printf ("Iteration %d ...\n", i); res = gsasl_server_start (ctx, "SCRAM-SHA-1-PLUS", &server); if (res != GSASL_OK) { fail ("gsasl_server_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_client_start (ctx, "SCRAM-SHA-1-PLUS", &client); if (res != GSASL_OK) { fail ("gsasl_client_start() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (server_first) { res = gsasl_step (server, NULL, 0, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](0) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (s1len != 0) fail ("dummy initial server step produced output?!\n"); if (debug) printf ("S: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); } else { s1 = NULL; s1len = 0; } /* Client first... */ res = gsasl_step (client, s1, s1len, &s1, &s1len); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](1) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (debug) printf ("C: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Server first... */ res = gsasl_step (server, s1, s1len, &s2, &s2len); gsasl_free (s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](2) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Client final... */ res = gsasl_step (client, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step[%d](3) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } /* Shorten length of cbdata. */ if (i == 17) s1[41] = '='; /* Increase length of cbdata. */ if (i == 18) { s1[28] = 'B'; s1[29] = 'C'; } /* Modify cbdata. */ if (i == 19) s1[30] = 'B'; if (debug) printf ("C: %.*s [%c]\n", (int) s1len, s1, res == GSASL_OK ? 'O' : 'N'); /* Server final... */ res = gsasl_step (server, s1, s1len, &s2, &s2len); gsasl_free (s1); if (i >= 17 && i <= 19) { if (res == GSASL_AUTHENTICATION_ERROR) { if (debug) success ("Authentication failed expectedly\n"); goto done; } else res = GSASL_AUTHENTICATION_ERROR; } if (res != GSASL_OK) { fail ("gsasl_step[%d](4) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (debug) printf ("S: %.*s [%c]\n", (int) s2len, s2, res == GSASL_OK ? 'O' : 'N'); /* Let client parse server final... */ res = gsasl_step (client, s2, s2len, &s1, &s1len); gsasl_free (s2); if (res != GSASL_OK) { fail ("gsasl_step[%d](5) failed (%d):\n%s\n", i, res, gsasl_strerror (res)); return; } if (s1len != 0) fail ("dummy final client step produced output?!\n"); { const char *p = gsasl_property_fast (server, GSASL_AUTHID); if (p && strcmp (p, AUTHID[i % N_AUTHID]) != 0) fail ("Bad authid? %s != %s\n", p, AUTHID[i % N_AUTHID]); if (i & 0x01 && !p) fail ("Expected authid? %d/%s\n", i, AUTHID[i % N_AUTHID]); } { const char *p = gsasl_property_fast (server, GSASL_AUTHZID); if (p && strcmp (p, AUTHZID[i % N_AUTHZID]) != 0) fail ("Bad authzid? %s != %s\n", p, AUTHZID[i % N_AUTHZID]); if (i & 0x01 && !p) fail ("Expected authzid? %d/%s\n", i, AUTHZID[i % N_AUTHZID]); } done: if (debug) printf ("\n"); gsasl_finish (client); gsasl_finish (server); } gsasl_done (ctx); } gsasl-1.8.1/tests/Makefile.in0000644000000000000000000030173513521017140012733 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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@ @OBSOLETE_TRUE@am__append_1 = old-simple old-md5file old-cram-md5 old-digest-md5 \ @OBSOLETE_TRUE@ old-base64 TESTS = threadsafety $(am__EXEEXT_2) check_PROGRAMS = $(am__EXEEXT_2) subdir = tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_check_SCRIPTS) \ $(dist_noinst_DATA) $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = @OBSOLETE_TRUE@am__EXEEXT_1 = old-simple$(EXEEXT) old-md5file$(EXEEXT) \ @OBSOLETE_TRUE@ old-cram-md5$(EXEEXT) old-digest-md5$(EXEEXT) \ @OBSOLETE_TRUE@ old-base64$(EXEEXT) am__EXEEXT_2 = external$(EXEEXT) cram-md5$(EXEEXT) digest-md5$(EXEEXT) \ md5file$(EXEEXT) name$(EXEEXT) errors$(EXEEXT) \ suggest$(EXEEXT) simple$(EXEEXT) crypto$(EXEEXT) \ scram$(EXEEXT) scramplus$(EXEEXT) symbols$(EXEEXT) \ readnz$(EXEEXT) gssapi$(EXEEXT) gs2-krb5$(EXEEXT) \ saml20$(EXEEXT) openid20$(EXEEXT) $(am__EXEEXT_1) LTLIBRARIES = $(noinst_LTLIBRARIES) libutils_la_LIBADD = am_libutils_la_OBJECTS = utils.lo libutils_la_OBJECTS = $(am_libutils_la_OBJECTS) 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 = cram_md5_SOURCES = cram-md5.c cram_md5_OBJECTS = cram-md5.$(OBJEXT) cram_md5_LDADD = $(LDADD) cram_md5_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la crypto_SOURCES = crypto.c crypto_OBJECTS = crypto.$(OBJEXT) crypto_LDADD = $(LDADD) crypto_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la digest_md5_SOURCES = digest-md5.c digest_md5_OBJECTS = digest-md5.$(OBJEXT) digest_md5_LDADD = $(LDADD) digest_md5_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la errors_SOURCES = errors.c errors_OBJECTS = errors.$(OBJEXT) errors_LDADD = $(LDADD) errors_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la external_SOURCES = external.c external_OBJECTS = external.$(OBJEXT) external_LDADD = $(LDADD) external_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la gs2_krb5_SOURCES = gs2-krb5.c gs2_krb5_OBJECTS = gs2-krb5.$(OBJEXT) gs2_krb5_LDADD = $(LDADD) gs2_krb5_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la gssapi_SOURCES = gssapi.c gssapi_OBJECTS = gssapi.$(OBJEXT) gssapi_LDADD = $(LDADD) gssapi_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la md5file_SOURCES = md5file.c md5file_OBJECTS = md5file.$(OBJEXT) md5file_LDADD = $(LDADD) md5file_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la name_SOURCES = name.c name_OBJECTS = name.$(OBJEXT) name_LDADD = $(LDADD) name_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la libutils.la old_base64_SOURCES = old-base64.c old_base64_OBJECTS = old-base64.$(OBJEXT) old_base64_LDADD = $(LDADD) old_base64_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la old_cram_md5_SOURCES = old-cram-md5.c old_cram_md5_OBJECTS = old-cram-md5.$(OBJEXT) old_cram_md5_LDADD = $(LDADD) old_cram_md5_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la old_digest_md5_SOURCES = old-digest-md5.c old_digest_md5_OBJECTS = old-digest-md5.$(OBJEXT) old_digest_md5_LDADD = $(LDADD) old_digest_md5_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la old_md5file_SOURCES = old-md5file.c old_md5file_OBJECTS = old-md5file.$(OBJEXT) old_md5file_LDADD = $(LDADD) old_md5file_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la old_simple_SOURCES = old-simple.c old_simple_OBJECTS = old-simple.$(OBJEXT) old_simple_LDADD = $(LDADD) old_simple_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la openid20_SOURCES = openid20.c openid20_OBJECTS = openid20.$(OBJEXT) openid20_LDADD = $(LDADD) openid20_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la readnz_SOURCES = readnz.c readnz_OBJECTS = readnz.$(OBJEXT) readnz_LDADD = $(LDADD) readnz_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la saml20_SOURCES = saml20.c saml20_OBJECTS = saml20.$(OBJEXT) saml20_LDADD = $(LDADD) saml20_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la scram_SOURCES = scram.c scram_OBJECTS = scram.$(OBJEXT) scram_LDADD = $(LDADD) scram_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la libutils.la scramplus_SOURCES = scramplus.c scramplus_OBJECTS = scramplus.$(OBJEXT) scramplus_LDADD = $(LDADD) scramplus_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la simple_SOURCES = simple.c simple_OBJECTS = simple.$(OBJEXT) simple_LDADD = $(LDADD) simple_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la suggest_SOURCES = suggest.c suggest_OBJECTS = suggest.$(OBJEXT) suggest_LDADD = $(LDADD) suggest_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.la symbols_SOURCES = symbols.c symbols_OBJECTS = symbols.$(OBJEXT) symbols_LDADD = $(LDADD) symbols_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ libutils.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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/cram-md5.Po ./$(DEPDIR)/crypto.Po \ ./$(DEPDIR)/digest-md5.Po ./$(DEPDIR)/errors.Po \ ./$(DEPDIR)/external.Po ./$(DEPDIR)/gs2-krb5.Po \ ./$(DEPDIR)/gssapi.Po ./$(DEPDIR)/md5file.Po \ ./$(DEPDIR)/name.Po ./$(DEPDIR)/old-base64.Po \ ./$(DEPDIR)/old-cram-md5.Po ./$(DEPDIR)/old-digest-md5.Po \ ./$(DEPDIR)/old-md5file.Po ./$(DEPDIR)/old-simple.Po \ ./$(DEPDIR)/openid20.Po ./$(DEPDIR)/readnz.Po \ ./$(DEPDIR)/saml20.Po ./$(DEPDIR)/scram.Po \ ./$(DEPDIR)/scramplus.Po ./$(DEPDIR)/simple.Po \ ./$(DEPDIR)/suggest.Po ./$(DEPDIR)/symbols.Po \ ./$(DEPDIR)/utils.Plo 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 = $(libutils_la_SOURCES) cram-md5.c crypto.c digest-md5.c \ errors.c external.c gs2-krb5.c gssapi.c md5file.c name.c \ old-base64.c old-cram-md5.c old-digest-md5.c old-md5file.c \ old-simple.c openid20.c readnz.c saml20.c scram.c scramplus.c \ simple.c suggest.c symbols.c DIST_SOURCES = $(libutils_la_SOURCES) cram-md5.c crypto.c digest-md5.c \ errors.c external.c gs2-krb5.c gssapi.c md5file.c name.c \ old-base64.c old-cram-md5.c old-digest-md5.c old-md5file.c \ old-simple.c openid20.c readnz.c saml20.c scram.c scramplus.c \ simple.c suggest.c symbols.c am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(dist_noinst_DATA) 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)` ETAGS = etags CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } 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__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) AM_RECURSIVE_TARGETS = check recheck TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_DRIVER = $(SHELL) $(top_srcdir)/lib/build-aux/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/lib/build-aux/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/lib/build-aux/depcomp \ $(top_srcdir)/lib/build-aux/test-driver DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_noinst_DATA = cram-md5.pwd AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src AM_LDFLAGS = -no-install LDADD = ../lib/src/libgsasl.la ../gl/libgl.la libutils.la EXTRA_DIST = libgsasl.supp gssapi.key gssapi.tkt shishi.conf noinst_LTLIBRARIES = libutils.la libutils_la_SOURCES = utils.h utils.c AM_TESTS_ENVIRONMENT = \ SHISHI_KEYS=$(srcdir)/gssapi.key \ SHISHI_TICKETS=$(srcdir)/gssapi.tkt \ SHISHI_CONFIG=$(srcdir)/shishi.conf \ SHISHI_HOME=$(srcdir) \ SHISHI_USER=ignore-this-warning \ THREADSAFETY_FILES=`ls $(top_srcdir)/lib/*/*.c | $(GREP) -v -e lib/gl/vasnprintf.c -e lib/gl/getdelim.c -e lib/gltests/` \ MD5FILE=$(srcdir)/cram-md5.pwd \ EGREP="$(EGREP)" \ GNUGSS=`if grep 'HAVE_LIBGSS 1' ../lib/config.h > /dev/null; then echo yes; else echo no; fi`; \ export SHISHI_KEYS SHISHI_TICKETS SHISHI_CONFIG SHISHI_HOME SHISHI_USER THREADSAFETY_FILES MD5FILE EGREP GNUGSS; LOG_COMPILER = $(VALGRIND) ctests = external cram-md5 digest-md5 md5file name errors suggest \ simple crypto scram scramplus symbols readnz gssapi gs2-krb5 \ saml20 openid20 $(am__append_1) dist_check_SCRIPTS = threadsafety all: all-am .SUFFIXES: .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs $(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 tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu tests/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): clean-checkPROGRAMS: @list='$(check_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-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libutils.la: $(libutils_la_OBJECTS) $(libutils_la_DEPENDENCIES) $(EXTRA_libutils_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libutils_la_OBJECTS) $(libutils_la_LIBADD) $(LIBS) cram-md5$(EXEEXT): $(cram_md5_OBJECTS) $(cram_md5_DEPENDENCIES) $(EXTRA_cram_md5_DEPENDENCIES) @rm -f cram-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(cram_md5_OBJECTS) $(cram_md5_LDADD) $(LIBS) crypto$(EXEEXT): $(crypto_OBJECTS) $(crypto_DEPENDENCIES) $(EXTRA_crypto_DEPENDENCIES) @rm -f crypto$(EXEEXT) $(AM_V_CCLD)$(LINK) $(crypto_OBJECTS) $(crypto_LDADD) $(LIBS) digest-md5$(EXEEXT): $(digest_md5_OBJECTS) $(digest_md5_DEPENDENCIES) $(EXTRA_digest_md5_DEPENDENCIES) @rm -f digest-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(digest_md5_OBJECTS) $(digest_md5_LDADD) $(LIBS) errors$(EXEEXT): $(errors_OBJECTS) $(errors_DEPENDENCIES) $(EXTRA_errors_DEPENDENCIES) @rm -f errors$(EXEEXT) $(AM_V_CCLD)$(LINK) $(errors_OBJECTS) $(errors_LDADD) $(LIBS) external$(EXEEXT): $(external_OBJECTS) $(external_DEPENDENCIES) $(EXTRA_external_DEPENDENCIES) @rm -f external$(EXEEXT) $(AM_V_CCLD)$(LINK) $(external_OBJECTS) $(external_LDADD) $(LIBS) gs2-krb5$(EXEEXT): $(gs2_krb5_OBJECTS) $(gs2_krb5_DEPENDENCIES) $(EXTRA_gs2_krb5_DEPENDENCIES) @rm -f gs2-krb5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gs2_krb5_OBJECTS) $(gs2_krb5_LDADD) $(LIBS) gssapi$(EXEEXT): $(gssapi_OBJECTS) $(gssapi_DEPENDENCIES) $(EXTRA_gssapi_DEPENDENCIES) @rm -f gssapi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gssapi_OBJECTS) $(gssapi_LDADD) $(LIBS) md5file$(EXEEXT): $(md5file_OBJECTS) $(md5file_DEPENDENCIES) $(EXTRA_md5file_DEPENDENCIES) @rm -f md5file$(EXEEXT) $(AM_V_CCLD)$(LINK) $(md5file_OBJECTS) $(md5file_LDADD) $(LIBS) name$(EXEEXT): $(name_OBJECTS) $(name_DEPENDENCIES) $(EXTRA_name_DEPENDENCIES) @rm -f name$(EXEEXT) $(AM_V_CCLD)$(LINK) $(name_OBJECTS) $(name_LDADD) $(LIBS) old-base64$(EXEEXT): $(old_base64_OBJECTS) $(old_base64_DEPENDENCIES) $(EXTRA_old_base64_DEPENDENCIES) @rm -f old-base64$(EXEEXT) $(AM_V_CCLD)$(LINK) $(old_base64_OBJECTS) $(old_base64_LDADD) $(LIBS) old-cram-md5$(EXEEXT): $(old_cram_md5_OBJECTS) $(old_cram_md5_DEPENDENCIES) $(EXTRA_old_cram_md5_DEPENDENCIES) @rm -f old-cram-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(old_cram_md5_OBJECTS) $(old_cram_md5_LDADD) $(LIBS) old-digest-md5$(EXEEXT): $(old_digest_md5_OBJECTS) $(old_digest_md5_DEPENDENCIES) $(EXTRA_old_digest_md5_DEPENDENCIES) @rm -f old-digest-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(old_digest_md5_OBJECTS) $(old_digest_md5_LDADD) $(LIBS) old-md5file$(EXEEXT): $(old_md5file_OBJECTS) $(old_md5file_DEPENDENCIES) $(EXTRA_old_md5file_DEPENDENCIES) @rm -f old-md5file$(EXEEXT) $(AM_V_CCLD)$(LINK) $(old_md5file_OBJECTS) $(old_md5file_LDADD) $(LIBS) old-simple$(EXEEXT): $(old_simple_OBJECTS) $(old_simple_DEPENDENCIES) $(EXTRA_old_simple_DEPENDENCIES) @rm -f old-simple$(EXEEXT) $(AM_V_CCLD)$(LINK) $(old_simple_OBJECTS) $(old_simple_LDADD) $(LIBS) openid20$(EXEEXT): $(openid20_OBJECTS) $(openid20_DEPENDENCIES) $(EXTRA_openid20_DEPENDENCIES) @rm -f openid20$(EXEEXT) $(AM_V_CCLD)$(LINK) $(openid20_OBJECTS) $(openid20_LDADD) $(LIBS) readnz$(EXEEXT): $(readnz_OBJECTS) $(readnz_DEPENDENCIES) $(EXTRA_readnz_DEPENDENCIES) @rm -f readnz$(EXEEXT) $(AM_V_CCLD)$(LINK) $(readnz_OBJECTS) $(readnz_LDADD) $(LIBS) saml20$(EXEEXT): $(saml20_OBJECTS) $(saml20_DEPENDENCIES) $(EXTRA_saml20_DEPENDENCIES) @rm -f saml20$(EXEEXT) $(AM_V_CCLD)$(LINK) $(saml20_OBJECTS) $(saml20_LDADD) $(LIBS) scram$(EXEEXT): $(scram_OBJECTS) $(scram_DEPENDENCIES) $(EXTRA_scram_DEPENDENCIES) @rm -f scram$(EXEEXT) $(AM_V_CCLD)$(LINK) $(scram_OBJECTS) $(scram_LDADD) $(LIBS) scramplus$(EXEEXT): $(scramplus_OBJECTS) $(scramplus_DEPENDENCIES) $(EXTRA_scramplus_DEPENDENCIES) @rm -f scramplus$(EXEEXT) $(AM_V_CCLD)$(LINK) $(scramplus_OBJECTS) $(scramplus_LDADD) $(LIBS) simple$(EXEEXT): $(simple_OBJECTS) $(simple_DEPENDENCIES) $(EXTRA_simple_DEPENDENCIES) @rm -f simple$(EXEEXT) $(AM_V_CCLD)$(LINK) $(simple_OBJECTS) $(simple_LDADD) $(LIBS) suggest$(EXEEXT): $(suggest_OBJECTS) $(suggest_DEPENDENCIES) $(EXTRA_suggest_DEPENDENCIES) @rm -f suggest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(suggest_OBJECTS) $(suggest_LDADD) $(LIBS) symbols$(EXEEXT): $(symbols_OBJECTS) $(symbols_DEPENDENCIES) $(EXTRA_symbols_DEPENDENCIES) @rm -f symbols$(EXEEXT) $(AM_V_CCLD)$(LINK) $(symbols_OBJECTS) $(symbols_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cram-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crypto.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/digest-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/external.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gs2-krb5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gssapi.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5file.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/name.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/old-base64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/old-cram-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/old-digest-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/old-md5file.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/old-simple.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openid20.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readnz.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/saml20.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scram.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scramplus.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/suggest.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symbols.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: $(check_PROGRAMS) $(dist_check_SCRIPTS) @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? threadsafety.log: threadsafety @p='threadsafety'; \ b='threadsafety'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) external.log: external$(EXEEXT) @p='external$(EXEEXT)'; \ b='external'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) cram-md5.log: cram-md5$(EXEEXT) @p='cram-md5$(EXEEXT)'; \ b='cram-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) digest-md5.log: digest-md5$(EXEEXT) @p='digest-md5$(EXEEXT)'; \ b='digest-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) md5file.log: md5file$(EXEEXT) @p='md5file$(EXEEXT)'; \ b='md5file'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) name.log: name$(EXEEXT) @p='name$(EXEEXT)'; \ b='name'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) errors.log: errors$(EXEEXT) @p='errors$(EXEEXT)'; \ b='errors'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) suggest.log: suggest$(EXEEXT) @p='suggest$(EXEEXT)'; \ b='suggest'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) simple.log: simple$(EXEEXT) @p='simple$(EXEEXT)'; \ b='simple'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) crypto.log: crypto$(EXEEXT) @p='crypto$(EXEEXT)'; \ b='crypto'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) scram.log: scram$(EXEEXT) @p='scram$(EXEEXT)'; \ b='scram'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) scramplus.log: scramplus$(EXEEXT) @p='scramplus$(EXEEXT)'; \ b='scramplus'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) symbols.log: symbols$(EXEEXT) @p='symbols$(EXEEXT)'; \ b='symbols'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) readnz.log: readnz$(EXEEXT) @p='readnz$(EXEEXT)'; \ b='readnz'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gssapi.log: gssapi$(EXEEXT) @p='gssapi$(EXEEXT)'; \ b='gssapi'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gs2-krb5.log: gs2-krb5$(EXEEXT) @p='gs2-krb5$(EXEEXT)'; \ b='gs2-krb5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) saml20.log: saml20$(EXEEXT) @p='saml20$(EXEEXT)'; \ b='saml20'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) openid20.log: openid20$(EXEEXT) @p='openid20$(EXEEXT)'; \ b='openid20'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) old-simple.log: old-simple$(EXEEXT) @p='old-simple$(EXEEXT)'; \ b='old-simple'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) old-md5file.log: old-md5file$(EXEEXT) @p='old-md5file$(EXEEXT)'; \ b='old-md5file'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) old-cram-md5.log: old-cram-md5$(EXEEXT) @p='old-cram-md5$(EXEEXT)'; \ b='old-cram-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) old-digest-md5.log: old-digest-md5$(EXEEXT) @p='old-digest-md5$(EXEEXT)'; \ b='old-digest-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) old-base64.log: old-base64$(EXEEXT) @p='old-base64$(EXEEXT)'; \ b='old-base64'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 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 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) \ $(dist_check_SCRIPTS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile $(LTLIBRARIES) $(DATA) installdirs: 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: -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) 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-checkPROGRAMS clean-generic clean-libtool \ clean-noinstLTLIBRARIES mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/cram-md5.Po -rm -f ./$(DEPDIR)/crypto.Po -rm -f ./$(DEPDIR)/digest-md5.Po -rm -f ./$(DEPDIR)/errors.Po -rm -f ./$(DEPDIR)/external.Po -rm -f ./$(DEPDIR)/gs2-krb5.Po -rm -f ./$(DEPDIR)/gssapi.Po -rm -f ./$(DEPDIR)/md5file.Po -rm -f ./$(DEPDIR)/name.Po -rm -f ./$(DEPDIR)/old-base64.Po -rm -f ./$(DEPDIR)/old-cram-md5.Po -rm -f ./$(DEPDIR)/old-digest-md5.Po -rm -f ./$(DEPDIR)/old-md5file.Po -rm -f ./$(DEPDIR)/old-simple.Po -rm -f ./$(DEPDIR)/openid20.Po -rm -f ./$(DEPDIR)/readnz.Po -rm -f ./$(DEPDIR)/saml20.Po -rm -f ./$(DEPDIR)/scram.Po -rm -f ./$(DEPDIR)/scramplus.Po -rm -f ./$(DEPDIR)/simple.Po -rm -f ./$(DEPDIR)/suggest.Po -rm -f ./$(DEPDIR)/symbols.Po -rm -f ./$(DEPDIR)/utils.Plo -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-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)/cram-md5.Po -rm -f ./$(DEPDIR)/crypto.Po -rm -f ./$(DEPDIR)/digest-md5.Po -rm -f ./$(DEPDIR)/errors.Po -rm -f ./$(DEPDIR)/external.Po -rm -f ./$(DEPDIR)/gs2-krb5.Po -rm -f ./$(DEPDIR)/gssapi.Po -rm -f ./$(DEPDIR)/md5file.Po -rm -f ./$(DEPDIR)/name.Po -rm -f ./$(DEPDIR)/old-base64.Po -rm -f ./$(DEPDIR)/old-cram-md5.Po -rm -f ./$(DEPDIR)/old-digest-md5.Po -rm -f ./$(DEPDIR)/old-md5file.Po -rm -f ./$(DEPDIR)/old-simple.Po -rm -f ./$(DEPDIR)/openid20.Po -rm -f ./$(DEPDIR)/readnz.Po -rm -f ./$(DEPDIR)/saml20.Po -rm -f ./$(DEPDIR)/scram.Po -rm -f ./$(DEPDIR)/scramplus.Po -rm -f ./$(DEPDIR)/simple.Po -rm -f ./$(DEPDIR)/suggest.Po -rm -f ./$(DEPDIR)/symbols.Po -rm -f ./$(DEPDIR)/utils.Plo -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: .MAKE: check-am install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \ check-am clean clean-checkPROGRAMS clean-generic clean-libtool \ clean-noinstLTLIBRARIES 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-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 recheck tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # 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: gsasl-1.8.1/tests/saml20.c0000644000000000000000000001463213516325003012131 00000000000000/* saml20.c --- Test the SAML20 mechanism. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "utils.h" const char *samlchallenge = "https://saml.example.org/SAML/Browser?SAMLRequest=PHNhbWxwOk" "F1dGhuUmVxdWVzdCB4bWxuczpzYW1scD0idXJuOm9hc2lzOm5hbWVzOnRjOl" "NBTUw6Mi4wOnByb3RvY29sIg0KICAgIElEPSJfYmVjNDI0ZmE1MTAzNDI4OT" "A5YTMwZmYxZTMxMTY4MzI3Zjc5NDc0OTg0IiBWZXJzaW9uPSIyLjAiDQogIC" "AgSXNzdWVJbnN0YW50PSIyMDA3LTEyLTEwVDExOjM5OjM0WiIgRm9yY2VBdX" "Robj0iZmFsc2UiDQogICAgSXNQYXNzaXZlPSJmYWxzZSINCiAgICBQcm90b2" "NvbEJpbmRpbmc9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpiaW5kaW" "5nczpIVFRQLVBPU1QiDQogICAgQXNzZXJ0aW9uQ29uc3VtZXJTZXJ2aWNlVV" "JMPQ0KICAgICAgICAiaHR0cHM6Ly94bXBwLmV4YW1wbGUuY29tL1NBTUwvQX" "NzZXJ0aW9uQ29uc3VtZXJTZXJ2aWNlIj4NCiA8c2FtbDpJc3N1ZXIgeG1sbn" "M6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbi" "I+DQogICAgIGh0dHBzOi8veG1wcC5leGFtcGxlLmNvbQ0KIDwvc2FtbDpJc3" "N1ZXI+DQogPHNhbWxwOk5hbWVJRFBvbGljeSB4bWxuczpzYW1scD0idXJuOm" "9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIg0KICAgICBGb3JtYX" "Q9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpuYW1laWQtZm9ybWF0On" "BlcnNpc3RlbnQiDQogICAgIFNQTmFtZVF1YWxpZmllcj0ieG1wcC5leGFtcG" "xlLmNvbSIgQWxsb3dDcmVhdGU9InRydWUiIC8+DQogPHNhbWxwOlJlcXVlc3" "RlZEF1dGhuQ29udGV4dA0KICAgICB4bWxuczpzYW1scD0idXJuOm9hc2lzOm" "5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiANCiAgICAgICAgQ29tcGFyaX" "Nvbj0iZXhhY3QiPg0KICA8c2FtbDpBdXRobkNvbnRleHRDbGFzc1JlZg0KIC" "AgICAgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOm" "Fzc2VydGlvbiI+DQogICAgICAgICAgIHVybjpvYXNpczpuYW1lczp0YzpTQU" "1MOjIuMDphYzpjbGFzc2VzOlBhc3N3b3JkUHJvdGVjdGVkVHJhbnNwb3J0DQ" "ogIDwvc2FtbDpBdXRobkNvbnRleHRDbGFzc1JlZj4NCiA8L3NhbWxwOlJlcX" "Vlc3RlZEF1dGhuQ29udGV4dD4gDQo8L3NhbWxwOkF1dGhuUmVxdWVzdD4="; static int client_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; /* The first round, the mechanism will need an authorization name and a SAML IDP. The next round it will request that the client redirects the user (in the browser) using the data stored in the GSASL_SAML20_REDIRECT_URL property. */ switch (prop) { case GSASL_AUTHZID: rc = GSASL_OK; break; case GSASL_SAML20_IDP_IDENTIFIER: gsasl_property_set (sctx, prop, "https://saml.example.org/"); rc = GSASL_OK; break; case GSASL_SAML20_AUTHENTICATE_IN_BROWSER: printf ("client got redirect URL: %s\n", gsasl_property_get (sctx, GSASL_SAML20_REDIRECT_URL)); rc = GSASL_OK; break; default: fail ("Unknown client callback property %u\n", prop); break; } return rc; } static int server_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; /* The first round the mechanism will want the SAML challenge to send to the client. The next round it wants an authorization decision. */ switch (prop) { case GSASL_SAML20_REDIRECT_URL: printf ("server got identity: %s\n", gsasl_property_get (sctx, GSASL_SAML20_IDP_IDENTIFIER)); gsasl_property_set (sctx, prop, samlchallenge); rc = GSASL_OK; break; case GSASL_VALIDATE_SAML20: printf ("server authenticating user OK\n"); rc = GSASL_OK; break; default: fail ("Unknown server callback property %u\n", prop); break; } return rc; } void doit (void) { Gsasl *c = NULL, *s = NULL; Gsasl_session *server = NULL, *client = NULL; char *s1, *s2; int res; res = gsasl_init (&c); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_init (&s); if (res != GSASL_OK) { fail ("gsasl_init() failed (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (!gsasl_client_support_p (c, "SAML20")) { gsasl_done (c); fail ("No support for SAML20 clients.\n"); exit (77); } if (!gsasl_server_support_p (s, "SAML20")) { gsasl_done (s); fail ("No support for SAML20 servers.\n"); exit (77); } gsasl_callback_set (c, client_callback); gsasl_callback_set (s, server_callback); /* Simple client */ res = gsasl_client_start (c, "SAML20", &client); if (res != GSASL_OK) { fail ("gsasl_client_start (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_server_start (s, "SAML20", &server); if (res != GSASL_OK) { fail ("gsasl_server_start (%d):\n%s\n", res, gsasl_strerror (res)); return; } res = gsasl_step64 (client, NULL, &s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step client1 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: `%s' (%d)\n", s1 ? s1 : "", (int) strlen (s1)); res = gsasl_step64 (server, s1, &s2); gsasl_free (s1); if (res != GSASL_NEEDS_MORE) { fail ("gsasl_step server1 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: `%s' (%d)\n", s2 ? s2 : "", (int) strlen (s2)); res = gsasl_step64 (client, s2, &s1); gsasl_free (s2); if (res != GSASL_OK) { fail ("gsasl_step client2 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("C: `%s' (%d)\n", s1 ? s1 : "", (int) strlen (s1)); res = gsasl_step64 (server, s1, &s2); gsasl_free (s1); if (res != GSASL_OK) { fail ("gsasl_step server2 (%d):\n%s\n", res, gsasl_strerror (res)); return; } if (debug) printf ("S: `%s' (%d)\n", s2 ? s2 : "", (int) strlen (s2)); gsasl_free (s2); gsasl_finish (client); gsasl_finish (server); gsasl_done (c); gsasl_done (s); } gsasl-1.8.1/tests/cram-md5.pwd0000664000000000000000000000047311746471770013030 00000000000000# Derived from ../doc/specification/md5.txt written by Mark Crispin. # # CRAM-MD5 authentication database # Entries are in form # Lines starting with "#" are comments bill hubba-hubba hillary nysenator monica beret tripp wired kenstarr inquisitor reno waco jessie thebody billgates ruleworld gsasl-1.8.1/COPYING0000664000000000000000000010451311746471770010600 00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 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 3 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, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . gsasl-1.8.1/ABOUT-NLS0000644000000000000000000026713313516317611010770 000000000000001 Notes on the Free Translation Project *************************************** Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that free software will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. 1.1 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. Installers may use special options at configuration time for changing the default behaviour. The command: ./configure --disable-nls will _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl' library and will decide to use it. If not, you may have to to use the `--with-libintl-prefix' option to tell `configure' where to look for it. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. 1.2 Using This Package ====================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. If you happen to have the `LC_ALL' or some other `LC_xxx' environment variables set, you should unset them before setting `LANG', otherwise the setting of `LANG' will not have the desired effect. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your language by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. 1.3 Translating Teams ===================== For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://translationproject.org/', in the "Teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `coordinator@translationproject.org' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skills are praised more than programming skills, here. 1.4 Available Packages ====================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of June 2010. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca +--------------------------------------------------+ a2ps | [] [] | aegis | | ant-phone | | anubis | | aspell | [] [] | bash | | bfd | | bibshelf | [] | binutils | | bison | | bison-runtime | [] | bluez-pin | [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] [] | cpio | | cppi | | cpplib | [] | cryptsetup | | dfarc | | dialog | [] [] | dico | | diffutils | [] | dink | | doodle | | e2fsprogs | [] | enscript | [] | exif | | fetchmail | [] | findutils | [] | flex | [] | freedink | | gas | | gawk | [] [] | gcal | [] | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] [] | gettext-tools | [] [] | gip | [] | gjay | | gliv | [] | glunarclock | [] [] | gnubiff | | gnucash | [] | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | | gold | | gpe-aerial | | gpe-beam | | gpe-bluetooth | | gpe-calendar | | gpe-clock | [] | gpe-conf | | gpe-contacts | | gpe-edit | | gpe-filemanager | | gpe-go | | gpe-login | | gpe-ownerinfo | [] | gpe-package | | gpe-sketchbook | | gpe-su | [] | gpe-taskmanager | [] | gpe-timesheet | [] | gpe-today | [] | gpe-todo | | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | [] [] | gsasl | | gss | | gst-plugins-bad | [] | gst-plugins-base | [] | gst-plugins-good | [] | gst-plugins-ugly | [] | gstreamer | [] [] [] | gtick | | gtkam | [] | gtkorphan | [] | gtkspell | [] [] [] | gutenprint | | hello | [] | help2man | | hylafax | | idutils | | indent | [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | | iso_639 | [] [] [] [] | iso_639_3 | | jwhois | | kbd | | keytouch | [] | keytouch-editor | | keytouch-keyboa... | [] | klavaro | [] | latrine | | ld | [] | leafpad | [] [] | libc | [] [] | libexif | () | libextractor | | libgnutls | | libgpewidget | | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | [] | libidn | | lifelines | | liferea | [] [] | lilypond | | linkdr | [] | lordsawar | | lprng | | lynx | [] | m4 | | mailfromd | | mailutils | | make | | man-db | | man-db-manpages | | minicom | | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | | psmisc | | pspp | [] | pwdutils | | radius | [] | recode | [] [] | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] [] | sed | [] [] | sharutils | [] [] | shishi | | skencil | | solfege | | solfege-manual | | soundtracker | | sp | | sysstat | | tar | [] | texinfo | | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] [] | wyslij-po | | xchat | [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] | +--------------------------------------------------+ af am an ar as ast az be be@latin bg bn_IN bs ca 6 0 1 2 3 19 1 10 3 28 3 1 38 crh cs da de el en en_GB en_ZA eo es et eu fa +-------------------------------------------------+ a2ps | [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] () | anubis | [] [] | aspell | [] [] [] [] [] | bash | [] [] [] | bfd | [] | bibshelf | [] [] [] | binutils | [] | bison | [] [] | bison-runtime | [] [] [] [] | bluez-pin | [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] [] [] | cflow | [] [] | clisp | [] [] [] [] | coreutils | [] [] [] [] | cpio | | cppi | | cpplib | [] [] [] | cryptsetup | [] | dfarc | [] [] [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] | dink | [] [] [] | doodle | [] | e2fsprogs | [] [] [] | enscript | [] [] [] | exif | () [] [] | fetchmail | [] [] () [] [] [] | findutils | [] [] [] | flex | [] [] | freedink | [] [] [] | gas | [] | gawk | [] [] [] | gcal | [] | gcc | [] [] | gettext-examples | [] [] [] [] | gettext-runtime | [] [] [] [] | gettext-tools | [] [] [] | gip | [] [] [] [] | gjay | [] | gliv | [] [] [] | glunarclock | [] [] | gnubiff | () | gnucash | [] () () () () | gnuedu | [] [] | gnulib | [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] | gpe-aerial | [] [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] | gpe-conf | [] [] [] | gpe-contacts | [] [] [] | gpe-edit | [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] () [] [] [] | gprof | [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] | grub | [] [] | gsasl | [] | gss | | gst-plugins-bad | [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] () [] | gtkam | [] [] () [] [] | gtkorphan | [] [] [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | [] [] [] | hello | [] [] [] [] | help2man | [] | hylafax | [] [] | idutils | [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] [] [] [] () [] [] [] () | iso_3166_2 | () | iso_4217 | [] [] [] () [] [] | iso_639 | [] [] [] [] () [] [] | iso_639_3 | [] | jwhois | [] | kbd | [] [] [] [] [] | keytouch | [] [] | keytouch-editor | [] [] | keytouch-keyboa... | [] | klavaro | [] [] [] [] | latrine | [] () | ld | [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | [] [] | libgphoto2 | [] () | libgphoto2_port | [] () [] | libgsasl | | libiconv | [] [] [] [] [] | libidn | [] [] [] | lifelines | [] () | liferea | [] [] [] [] [] | lilypond | [] [] [] | linkdr | [] [] [] | lordsawar | [] | lprng | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] | make | [] [] [] | man-db | | man-db-manpages | | minicom | [] [] [] [] | mkisofs | | myserver | | nano | [] [] [] | opcodes | [] [] | parted | [] [] | pies | | popt | [] [] [] [] [] | psmisc | [] [] [] | pspp | [] | pwdutils | [] | radius | [] | recode | [] [] [] [] [] [] | rosegarden | () () () | rpm | [] [] [] | rush | | sarg | | screem | | scrollkeeper | [] [] [] [] [] | sed | [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | | skencil | [] () [] | solfege | [] [] [] | solfege-manual | [] [] | soundtracker | [] [] [] | sp | [] | sysstat | [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] | tin | [] [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] | vice | () () | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] | wyslij-po | | xchat | [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] [] | +-------------------------------------------------+ crh cs da de el en en_GB en_ZA eo es et eu fa 5 64 105 117 18 1 8 0 28 89 18 19 0 fi fr ga gl gu he hi hr hu hy id is it ja ka kn +----------------------------------------------------+ a2ps | [] [] [] [] | aegis | [] [] | ant-phone | [] [] | anubis | [] [] [] [] | aspell | [] [] [] [] | bash | [] [] [] [] | bfd | [] [] [] | bibshelf | [] [] [] [] [] | binutils | [] [] [] | bison | [] [] [] [] | bison-runtime | [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] | cflow | [] [] [] | clisp | [] | coreutils | [] [] [] [] [] | cpio | [] [] [] [] | cppi | [] [] | cpplib | [] [] [] | cryptsetup | [] [] [] | dfarc | [] [] [] | dialog | [] [] [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] [] [] [] | dink | [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] | exif | [] [] [] [] [] [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] [] | flex | [] [] [] | freedink | [] [] [] | gas | [] [] | gawk | [] [] [] [] () [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] [] | gip | [] [] [] [] [] [] | gjay | [] | gliv | [] () | glunarclock | [] [] [] [] | gnubiff | () [] () | gnucash | () () () () () [] | gnuedu | [] [] | gnulib | [] [] [] [] [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] [] | gpe-aerial | [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] [] [] | gpe-calendar | [] [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] [] [] | gpe-contacts | [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] [] | gpe-go | [] [] [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] [] [] [] [] | gprof | [] [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] [] | grub | [] [] [] [] | gsasl | [] [] [] [] [] | gss | [] [] [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] [] [] | gtkam | [] [] [] [] [] | gtkorphan | [] [] [] | gtkspell | [] [] [] [] [] [] [] [] [] | gutenprint | [] [] [] [] | hello | [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] [] | indent | [] [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | () [] [] [] | iso_4217 | [] () [] [] [] [] | iso_639 | [] () [] [] [] [] [] [] [] | iso_639_3 | () [] [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] [] [] [] [] [] | keytouch-editor | [] [] [] [] [] | keytouch-keyboa... | [] [] [] [] [] | klavaro | [] [] | latrine | [] [] [] | ld | [] [] [] [] | leafpad | [] [] [] [] [] [] [] () | libc | [] [] [] [] [] | libexif | [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] [] | libidn | [] [] [] [] | lifelines | () | liferea | [] [] [] [] | lilypond | [] [] | linkdr | [] [] [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] [] [] | m4 | [] [] [] [] [] [] | mailfromd | | mailutils | [] [] | make | [] [] [] [] [] [] [] [] [] | man-db | [] [] | man-db-manpages | [] | minicom | [] [] [] [] [] | mkisofs | [] [] [] [] | myserver | | nano | [] [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] [] | pies | | popt | [] [] [] [] [] [] [] [] [] | psmisc | [] [] [] | pspp | | pwdutils | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () () () () | rpm | [] [] | rush | | sarg | [] | screem | [] [] | scrollkeeper | [] [] [] [] | sed | [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] | shishi | [] | skencil | [] | solfege | [] [] [] [] | solfege-manual | [] [] | soundtracker | [] [] | sp | [] () | sysstat | [] [] [] [] [] | tar | [] [] [] [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux-ng | [] [] [] [] [] [] | vice | () () () | vmm | [] | vorbis-tools | [] | wastesedge | () () | wdiff | [] | wget | [] [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] | +----------------------------------------------------+ fi fr ga gl gu he hi hr hu hy id is it ja ka kn 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne +-----------------------------------------------+ a2ps | [] | aegis | | ant-phone | | anubis | [] [] | aspell | [] | bash | | bfd | | bibshelf | [] [] | binutils | | bison | [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] | cpio | | cppi | | cpplib | | cryptsetup | | dfarc | [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] | dink | | doodle | | e2fsprogs | | enscript | | exif | [] | fetchmail | | findutils | | flex | | freedink | [] | gas | | gawk | | gcal | | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] | gettext-tools | [] | gip | [] [] | gjay | | gliv | | glunarclock | [] | gnubiff | | gnucash | () () () () | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | [] | gold | | gpe-aerial | [] | gpe-beam | [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] | gpe-contacts | [] [] | gpe-edit | [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] | gpe-timesheet | [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | | gsasl | | gss | | gst-plugins-bad | [] [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] | gst-plugins-ugly | [] [] [] [] [] | gstreamer | | gtick | | gtkam | [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | | hello | [] [] [] | help2man | | hylafax | | idutils | | indent | | iso_15924 | [] [] | iso_3166 | [] [] () [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] | iso_639 | [] [] | iso_639_3 | [] | jwhois | [] | kbd | | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | klavaro | [] | latrine | [] | ld | | leafpad | [] [] [] | libc | [] | libexif | | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | | libidn | | lifelines | | liferea | | lilypond | | linkdr | | lordsawar | | lprng | | lynx | | m4 | | mailfromd | | mailutils | | make | [] | man-db | | man-db-manpages | | minicom | [] | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | [] [] [] | psmisc | | pspp | | pwdutils | | radius | | recode | | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] | sed | | sharutils | | shishi | | skencil | | solfege | [] | solfege-manual | | soundtracker | | sp | | sysstat | [] | tar | [] | texinfo | [] | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] | wyslij-po | | xchat | [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +-----------------------------------------------+ ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr +---------------------------------------------------+ a2ps | [] [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] [] | anubis | [] [] [] | aspell | [] [] [] [] [] | bash | [] [] | bfd | [] | bibshelf | [] [] | binutils | [] [] | bison | [] [] [] | bison-runtime | [] [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] () | buzztard | [] [] | cflow | [] | clisp | [] [] | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cppi | [] | cpplib | [] | cryptsetup | [] | dfarc | [] | dialog | [] [] [] [] | dico | [] | diffutils | [] [] [] [] [] [] | dink | () | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | exif | [] [] [] () [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] | flex | [] [] [] [] [] | freedink | [] [] | gas | | gawk | [] [] [] [] | gcal | | gcc | [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] | gip | [] [] [] [] [] | gjay | | gliv | [] [] [] [] [] [] | glunarclock | [] [] [] [] [] | gnubiff | [] () | gnucash | [] () () () | gnuedu | [] | gnulib | [] [] [] [] | gnunet | | gnunet-gtk | | gnutls | [] [] | gold | | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] [] [] [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] [] | gphoto2 | [] [] [] [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] | gramadoir | [] [] | grep | [] [] [] [] | grub | [] [] [] | gsasl | [] [] [] [] | gss | [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] | gtkam | [] [] [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] [] [] | gutenprint | [] [] | hello | [] [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] [] [] [] | iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | iso_3166_2 | [] [] [] | iso_4217 | [] [] [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] [] [] [] | iso_639_3 | [] [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] [] [] | keytouch-editor | [] [] [] | keytouch-keyboa... | [] [] [] | klavaro | [] [] | latrine | [] [] | ld | | leafpad | [] [] [] [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] | libgphoto2_port | [] [] [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] | libidn | [] [] | lifelines | [] [] | liferea | [] [] [] [] [] () () [] | lilypond | [] | linkdr | [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailfromd | [] | mailutils | [] | make | [] [] [] [] | man-db | [] [] [] | man-db-manpages | [] [] [] | minicom | [] [] [] [] | mkisofs | [] [] [] | myserver | | nano | [] [] [] [] | opcodes | [] [] | parted | [] [] [] [] | pies | [] | popt | [] [] [] [] | psmisc | [] [] [] | pspp | [] [] | pwdutils | [] | radius | [] [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () | rpm | [] [] [] | rush | [] [] | sarg | | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | skencil | [] [] | solfege | [] [] [] [] | solfege-manual | [] [] [] | soundtracker | [] | sp | | sysstat | [] [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] [] | vice | [] | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +---------------------------------------------------+ nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW +---------------------------------------------------+ a2ps | [] [] [] [] [] | 27 aegis | [] | 9 ant-phone | [] [] [] [] | 9 anubis | [] [] [] [] | 15 aspell | [] [] [] | 20 bash | [] [] [] | 12 bfd | [] | 6 bibshelf | [] [] [] | 16 binutils | [] [] | 8 bison | [] [] | 12 bison-runtime | [] [] [] [] [] [] | 29 bluez-pin | [] [] [] [] [] [] [] [] | 37 bombono-dvd | [] | 4 buzztard | [] | 7 cflow | [] [] [] | 9 clisp | | 10 coreutils | [] [] [] [] | 22 cpio | [] [] [] [] [] [] | 13 cppi | [] [] | 5 cpplib | [] [] [] [] [] [] | 14 cryptsetup | [] [] | 7 dfarc | [] | 9 dialog | [] [] [] [] [] [] [] | 30 dico | [] | 2 diffutils | [] [] [] [] [] [] | 30 dink | | 4 doodle | [] [] | 7 e2fsprogs | [] [] [] | 11 enscript | [] [] [] [] | 17 exif | [] [] [] | 16 fetchmail | [] [] [] | 17 findutils | [] [] [] [] [] | 20 flex | [] [] [] [] | 15 freedink | [] | 10 gas | [] | 4 gawk | [] [] [] [] | 18 gcal | [] [] | 5 gcc | [] [] [] | 7 gettext-examples | [] [] [] [] [] [] [] | 34 gettext-runtime | [] [] [] [] [] [] [] | 29 gettext-tools | [] [] [] [] [] [] | 22 gip | [] [] [] [] | 22 gjay | [] | 3 gliv | [] [] [] | 14 glunarclock | [] [] [] [] [] | 19 gnubiff | [] [] | 4 gnucash | () [] () [] () | 10 gnuedu | [] [] | 7 gnulib | [] [] [] [] | 16 gnunet | [] | 1 gnunet-gtk | [] [] [] | 5 gnutls | [] [] [] | 10 gold | [] | 4 gpe-aerial | [] [] [] | 18 gpe-beam | [] [] [] | 19 gpe-bluetooth | [] [] [] | 13 gpe-calendar | [] [] [] [] | 12 gpe-clock | [] [] [] [] [] | 28 gpe-conf | [] [] [] [] | 20 gpe-contacts | [] [] [] | 17 gpe-edit | [] [] [] | 12 gpe-filemanager | [] [] [] [] | 16 gpe-go | [] [] [] [] [] | 25 gpe-login | [] [] [] | 11 gpe-ownerinfo | [] [] [] [] [] | 25 gpe-package | [] [] [] | 13 gpe-sketchbook | [] [] [] | 20 gpe-su | [] [] [] [] [] | 30 gpe-taskmanager | [] [] [] [] [] | 29 gpe-timesheet | [] [] [] [] [] | 25 gpe-today | [] [] [] [] [] [] | 30 gpe-todo | [] [] [] [] | 17 gphoto2 | [] [] [] [] [] | 24 gprof | [] [] [] | 15 gpsdrive | [] [] [] | 11 gramadoir | [] [] [] | 11 grep | [] [] [] | 10 grub | [] [] [] | 14 gsasl | [] [] [] [] | 14 gss | [] [] [] | 11 gst-plugins-bad | [] [] [] [] | 26 gst-plugins-base | [] [] [] [] [] | 24 gst-plugins-good | [] [] [] [] | 24 gst-plugins-ugly | [] [] [] [] [] | 29 gstreamer | [] [] [] [] | 22 gtick | [] [] [] | 13 gtkam | [] [] [] | 20 gtkorphan | [] [] [] | 14 gtkspell | [] [] [] [] [] [] [] [] [] | 45 gutenprint | [] | 10 hello | [] [] [] [] [] [] | 21 help2man | [] [] | 7 hylafax | [] | 5 idutils | [] [] [] [] | 17 indent | [] [] [] [] [] [] | 30 iso_15924 | () [] () [] [] | 16 iso_3166 | [] [] () [] [] () [] [] [] () | 53 iso_3166_2 | () [] () [] | 9 iso_4217 | [] () [] [] () [] [] | 26 iso_639 | [] [] [] () [] () [] [] [] [] | 38 iso_639_3 | [] () | 8 jwhois | [] [] [] [] [] | 16 kbd | [] [] [] [] [] | 15 keytouch | [] [] [] | 16 keytouch-editor | [] [] [] | 14 keytouch-keyboa... | [] [] [] | 14 klavaro | [] | 11 latrine | [] [] [] | 10 ld | [] [] [] [] | 11 leafpad | [] [] [] [] [] [] | 33 libc | [] [] [] [] [] | 21 libexif | [] () | 7 libextractor | [] | 1 libgnutls | [] [] [] | 9 libgpewidget | [] [] [] | 14 libgpg-error | [] [] [] | 9 libgphoto2 | [] [] | 8 libgphoto2_port | [] [] [] [] | 14 libgsasl | [] [] [] | 13 libiconv | [] [] [] [] | 21 libidn | () [] [] | 11 lifelines | [] | 4 liferea | [] [] [] | 21 lilypond | [] | 7 linkdr | [] [] [] [] [] | 17 lordsawar | | 1 lprng | [] | 3 lynx | [] [] [] [] | 17 m4 | [] [] [] [] | 19 mailfromd | [] [] | 3 mailutils | [] | 5 make | [] [] [] [] | 21 man-db | [] [] [] | 8 man-db-manpages | | 4 minicom | [] [] | 16 mkisofs | [] [] | 9 myserver | | 0 nano | [] [] [] [] | 21 opcodes | [] [] [] | 11 parted | [] [] [] [] [] | 15 pies | [] [] | 3 popt | [] [] [] [] [] [] | 27 psmisc | [] [] | 11 pspp | | 4 pwdutils | [] [] | 6 radius | [] [] | 9 recode | [] [] [] [] | 28 rosegarden | () | 0 rpm | [] [] [] | 11 rush | [] [] | 4 sarg | | 1 screem | [] | 3 scrollkeeper | [] [] [] [] [] | 27 sed | [] [] [] [] [] | 30 sharutils | [] [] [] [] [] | 22 shishi | [] | 3 skencil | [] [] | 7 solfege | [] [] [] [] | 16 solfege-manual | [] | 8 soundtracker | [] [] [] | 9 sp | [] | 3 sysstat | [] [] | 15 tar | [] [] [] [] [] [] | 23 texinfo | [] [] [] [] [] | 17 tin | | 4 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux-ng | [] [] [] [] | 20 vice | () () | 1 vmm | [] | 4 vorbis-tools | [] | 6 wastesedge | | 2 wdiff | [] [] | 7 wget | [] [] [] [] [] | 26 wyslij-po | [] [] | 8 xchat | [] [] [] [] [] [] | 36 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 xkeyboard-config | [] [] [] | 22 +---------------------------------------------------+ 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If June 2010 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://translationproject.org/extra/matrix.html'. 1.5 Using `gettext' in new packages =================================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `coordinator@translationproject.org' to make the `.pot' files available to the translation teams. gsasl-1.8.1/INSTALL0000644000000000000000000003661413521017137010564 00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software Foundation, Inc. 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. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell command './configure && make && make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the 'README' file for instructions specific to this package. Some packages provide this 'INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The 'configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a 'Makefile' in each directory of the package. It may also create one or more '.h' files containing system-dependent definitions. Finally, it creates a shell script 'config.status' that you can run in the future to recreate the current configuration, and a file 'config.log' containing compiler output (useful mainly for debugging 'configure'). It can also use an optional file (typically called 'config.cache' and enabled with '--cache-file=config.cache' or simply '-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how 'configure' could check whether to do them, and mail diffs or instructions to the address given in the 'README' so they can be considered for the next release. If you are using the cache, and at some point 'config.cache' contains results you don't want to keep, you may remove or edit it. The file 'configure.ac' (or 'configure.in') is used to create 'configure' by a program called 'autoconf'. You need 'configure.ac' if you want to change it or regenerate 'configure' using a newer version of 'autoconf'. The simplest way to compile this package is: 1. 'cd' to the directory containing the package's source code and type './configure' to configure the package for your system. Running 'configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type 'make' to compile the package. 3. Optionally, type 'make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type 'make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the 'make install' phase executed with root privileges. 5. Optionally, type 'make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior 'make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing 'make clean'. To also remove the files that 'configure' created (so you can compile the package for a different kind of computer), type 'make distclean'. There is also a 'make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type 'make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide 'make distcheck', which can by used by developers to test that all other targets like 'make install' and 'make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the 'configure' script does not know about. Run './configure --help' for details on some of the pertinent environment variables. You can give 'configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU 'make'. 'cd' to the directory where you want the object files and executables to go and run the 'configure' script. 'configure' automatically checks for the source code in the directory that 'configure' is in and in '..'. This is known as a "VPATH" build. With a non-GNU 'make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use 'make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple '-arch' options to the compiler but only a single '-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the 'lipo' tool if you have problems. Installation Names ================== By default, 'make install' installs the package's commands under '/usr/local/bin', include files under '/usr/local/include', etc. You can specify an installation prefix other than '/usr/local' by giving 'configure' the option '--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option '--exec-prefix=PREFIX' to 'configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like '--bindir=DIR' to specify different values for particular kinds of files. Run 'configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of '${prefix}', so that specifying just '--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to 'configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the 'make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, 'make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of '${prefix}'. Any directories that were specified during 'configure', but not in terms of '${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the 'DESTDIR' variable. For example, 'make install DESTDIR=/alternate/directory' will prepend '/alternate/directory' before all installation names. The approach of 'DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of '${prefix}' at 'configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving 'configure' the option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'. Some packages pay attention to '--enable-FEATURE' options to 'configure', where FEATURE indicates an optional part of the package. They may also pay attention to '--with-PACKAGE' options, where PACKAGE is something like 'gnu-as' or 'x' (for the X Window System). The 'README' should mention any '--enable-' and '--with-' options that the package recognizes. For packages that use the X Window System, 'configure' can usually find the X include and library files automatically, but if it doesn't, you can use the 'configure' options '--x-includes=DIR' and '--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of 'make' will be. For these packages, running './configure --enable-silent-rules' sets the default to minimal output, which can be overridden with 'make V=1'; while running './configure --disable-silent-rules' sets the default to verbose, which can be overridden with 'make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. HP-UX 'make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as 'configure' are involved. Use GNU 'make' instead. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its '' header file. The option '-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put '/usr/ucb' early in your 'PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in '/usr/bin'. So, if you need '/usr/ucb' in your 'PATH', put it _after_ '/usr/bin'. On Haiku, software installed for all users goes in '/boot/common', not '/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features 'configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, 'configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the '--build=TYPE' option. TYPE can either be a short name for the system type, such as 'sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file 'config.sub' for the possible values of each field. If 'config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option '--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with '--host=TYPE'. Sharing Defaults ================ If you want to set default values for 'configure' scripts to share, you can create a site shell script called 'config.site' that gives default values for variables like 'CC', 'cache_file', and 'prefix'. 'configure' looks for 'PREFIX/share/config.site' if it exists, then 'PREFIX/etc/config.site' if it exists. Or, you can set the 'CONFIG_SITE' environment variable to the location of the site script. A warning: not all 'configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to 'configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the 'configure' command line, using 'VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified 'gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an Autoconf limitation. Until the limitation is lifted, you can use this workaround: CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash 'configure' Invocation ====================== 'configure' recognizes the following options to control how it operates. '--help' '-h' Print a summary of all of the options to 'configure', and exit. '--help=short' '--help=recursive' Print a summary of the options unique to this package's 'configure', and exit. The 'short' variant lists options used only in the top level, while the 'recursive' variant lists options also present in any nested packages. '--version' '-V' Print the version of Autoconf used to generate the 'configure' script, and exit. '--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally 'config.cache'. FILE defaults to '/dev/null' to disable caching. '--config-cache' '-C' Alias for '--cache-file=config.cache'. '--quiet' '--silent' '-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to '/dev/null' (any error messages will still be shown). '--srcdir=DIR' Look for the package's source code in directory DIR. Usually 'configure' can determine that directory automatically. '--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. '--no-create' '-n' Run the configure checks, but stop before creating any output files. 'configure' also accepts some other, not widely useful, options. Run 'configure --help' for more details. gsasl-1.8.1/po/0000755000000000000000000000000013521017731010217 500000000000000gsasl-1.8.1/po/hu.gmo0000644000000000000000000001242613521017731011264 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  4e ! !  H ?G T Z 57%m+H<HZ6<F7~37/:4o';/21d!x7.#=R/5;4C8x4/%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2014-06-26 22:51+0200 Last-Translator: Balázs Úr Language-Team: Hungarian Language: hu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); X-Generator: Lokalize 1.5 A küldendő base64 kódolású alkalmazás adatok: Nem található a mechanizmus… SASL mechanizmus kiválasztása: SASL mechanizmus választása: A kliens hitelesítése befejeződött (a kiszolgáló megbízható)… Adja meg az alkalmazás adatait (fájl vége a befejezéshez): Adja meg a base64 hitelesítési adatokat a kliensről (ha nincs, nyomjon ENTER-t): Adja meg a base64 hitelesítési adatokat a kiszolgálóról (ha nincs, nyomjon ENTER-t): a GnuTLS globális előkészítése nem sikerült: %sa GnuTLS kézfogás nem sikerült: %sa GnuTLS előkészítése nem sikerült: %sA kiszolgáló által támogatott SASL mechanizmusok bemeneti listája: Kimenet a kliensről: Kimenet a kiszolgálóról: A SASL rekord túl nagy: %zu A kiszolgáló hitelesítése befejeződött (a kliens megbízható)… A munkamenet befejeződött… Ez a kliens a következő mechanizmusokat támogatja: Ez a kiszolgáló a következő mechanizmusokat támogatja: További információkért próbálja a(z) „%s --help” parancsot. Mechanizmus használata: X.509 GnuTLS hitelesítési adatok lefoglalása: %snévtelen GnuTLS hitelesítési adatok lefoglalása: %snem használható együtt a --smtp és a --imapnem használható együtt a --starttls és a --no-starttlskódolási hiba: %shiba a mechanizmusok listázásakor: %shiba: nem sikerült feldolgozni a kiszolgáló adatait: %s a csatornakötés beszerzése nem sikerült: %selőkészítési hiba: %sX.509 GnuTLS hitelesítési adatok betöltése: %smechanizmushiba: %sa mechanizmus nem érhető el: %shiányzó argumentuma --x509-cert-file és a --x509-key-file is szükségesX.509 CA-k nem találhatókX.509 CA-k nem találhatók: %sa kiszolgáló tanúsítványát visszavontáka kiszolgáló tanúsítványának nincs ismert kibocsátójaa kiszolgáló tanúsítványa nem megbízhatókiszolgálóhibaGnuTLS titkosító prioritás (%s) beállítása: %s a GnuTLS alapértelmezések beállítása nem sikerült: %sX.509 GnuTLS hitelesítési adatok beállítása: %snévtelen GnuTLS hitelesítési adatok beállítása: %sa GnuTLS munkamenet megszakítása nem sikerült: %sa partner tanúsítványának ellenőrzése: %sgsasl-1.8.1/po/es.po0000644000000000000000000001566413521017730011121 00000000000000# Spanish transaltion for gsasl 1.7.4. # Copyright (C) 2018 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Francisco Javier Serrador , 2018. # Información: puntos suspensivos ... sustituidos los tres por uno solo: … msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2018-04-13 14:01+0200\n" "Last-Translator: Francisco Javier Serrador \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Poedit 2.0.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-SourceCharset: UTF-8\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Eligió mecanismo SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Empleando mecanismo:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "error: servidor no devolvió un token\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "error: no pudo interpretar datos del servidor:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Elija mecanismo SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Listado entrante de mecanismos SASL compatibles por servidor:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Salida desde servidor:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Salida desde cliente:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Pruebe `%s --help' para más información.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "argumento ausente" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "requiere ambos --x509-cert-file y --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "no pude utilizar ambos --starttls y --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "no puede emplear ambos --smtp e --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "fallo de inicialización: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "error listando mecanismos: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Este cliente compatibiliza el siguiente mecanismo:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Este servidor compatibiliza a los siguientes mecanismos:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS iniciado global fallada: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS fallado al inicializar: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "configurando GnuTLS predeterminado fallado: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "reservando credencial GnuTLS anónima: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "estableciendo credencial anónima GnaTLS: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "reservando credencial GnuTLS X.509: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "cargando credencial X.509 GnuTLS: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "ningún CA X.509 encontrado: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "ningún CA X.509 encontrado" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "obteniendo credenciales X.509 GnuTLS: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "" "obteniendo prioridad (%s) cifra GnuTLS: %s\n" " \n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "Coloquio GnuTLS fallado: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verificando parte certificado: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "servicio certificado no confiado" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "certificado servidor no ha obtenido un emisor conocido" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "certificado servidor ha sido revocado" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "no pudo verificar certificado servidor (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "obteniendo canal enlazado fallado: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "No puedo encontrar mecanismo…\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mecanismo no disponible: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Introducir datos autenticación base64 desde cliente (pulse REF si ninguno):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Introduce datos autenticados base64 desde servidor (pulse RET si ninguno):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "error del servidor" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "error mecánico: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Autenticación servidor finalizada (cliente confiado)…\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Autenticación cliente terminada (servicio confiable)…\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Introducir datos de aplicación (EOF para terminar):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64 codificaba datos de aplicación para envío:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL registrado demasiado grande: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "codificación erróneo: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sesión finalizada…\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "terminación de sesión GnuTLS fallada: %s" gsasl-1.8.1/po/zh_CN.gmo0000644000000000000000000001107313521017731011646 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  3 Q h | - 2 \ \O !   ,0EZ-r%%.,;[${/(&>Ss 41Pi&y"#%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2013-03-08 12:49+0800 Last-Translator: Ji ZhengYu Language-Team: Chinese (simplified) Language: zh_CN MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. 要发送的 Base64 编码的应用程序数据: 找不到机制…… 选择SASL 方式: 选择 SASL 方式: 客户端认证完成(服务器可信)…… 输入应用程序数据(用 EOF 结束输入): 输入客户端发送的 base64 编码的应用程序数据(如果没有,请按回车): 输入服务器发送的 base64 编码的应用程序数据(如果没有,请按回车): GnuTLS 全局初始化失败:%sGnuTLS 握手失败:%sGnuTLS 初始化失败:%s服务器所支持的 SASL 方式入列表: 客户端的输出: 服务器的输出: SASL 记录太大: %zu 服务器认证完成(客户端可信)…… 会话结束... 这个客户端支持以下机制: 这个服务器支持以下机制: 尝试‘%s --help’以获得更多信息。 使用方式: 分配 X.509 GnuTLS 证书:%s分配匿名 GnuTLS 证书:%s不能同时使用 --smtp 和 --imap不能同时使用 --starttls 和 --no-starttls编码错误:%s列出机制时出错:%s错误: 无法解析服务器数据: %s 绑定通道失败:%s初始化失败:%s载入 X.509 GnuTLS 证书:%s机制错误:%s机制不可用:%s缺少参数既需要 --x509-cert-file 也需要 --x509-key-file找不到 X.509 CA 证书找不到 X.509 CA 证书:%s服务器证书已被吊销服务器证书发行者未知服务器证书不可信服务器错误设定 GnuTLS 密钥优先级(%s): %s 设定 GnuTLS 默认值失败:%s设定 X.509 GnuTLS 证书:%s设定匿名 GnuTLS 证书:%s终止 GnuTLS 会话失败:%s验证节点证书:%sgsasl-1.8.1/po/en@quot.gmo0000644000000000000000000001141213521017731012255 000000000000002C<H)Is3(BB]' 39Nc3//&(O&a*!,+.A'^"# .' V i # , ! ( ") #L 'p %  ' D )J t   3 ( B B^ '  3:Od3//*)T&f*!,+3F'c"#.,[n#,! (".#Q'u%'&, %-"$'.1  0(! 2*)  /#+Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlscould not verify server certificate (rc=%u)encoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %swarning: server did not return a token Project-Id-Version: gsasl 1.8.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2019-08-02 13:30+0200 Last-Translator: Automatically generated Language-Team: none Language: en@quot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try ‘%s --help’ for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlscould not verify server certificate (rc=%u)encoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %swarning: server did not return a token gsasl-1.8.1/po/ga.po0000644000000000000000000001651113521017730011071 00000000000000# Irish translations for gsasl. # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Kevin Patrick Scannell , 2004, 2006, 2008, 2009. msgid "" msgstr "" "Project-Id-Version: gsasl 1.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2009-03-25 20:03-0500\n" "Last-Translator: Kevin Scannell \n" "Language-Team: Irish \n" "Language: ga\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, fuzzy, c-format msgid "Chose SASL mechanisms:\n" msgstr "Roghnaigh sásra SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Ag úsáid an tsásra:\n" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Roghnaigh sásra SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Iontráil liosta de shásraí SASL atá tacaithe ag an fhreastalaí:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Aschur ón fhreastalaí:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Aschur ón chliant:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Bain triail as `%s --help' chun tuilleadh eolais a fháil.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "tá gá le --x509-cert-file agus --x509-key-file araon" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "ní féidir --starttls agus --no-starttls a úsáid le chéile" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "ní féidir --smtp agus --imap a úsáid le chéile" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "theip ar thúsú: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "earráid agus sásraí á dtaispeáint: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Tacaíonn an cliant seo na sásraí seo a leanas:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Tacaíonn an freastalaí seo na sásraí a leanas:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "theip ar thúsú comhchoiteann GnuTLS: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "theip ar thúsú GnuTLS: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "theip ar shocrú na réamhshocruithe GnuTLS: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "dintiúr GnuTLS gan ainm á dháileadh: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "dintiúr GnuTLS gan ainm á shocrú: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "dintiúr X.509 GnuTLS á dháileadh: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "dintiúr X.509 GnuTLS á luchtú: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "níor aimsíodh aon CA X.509: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "níor aimsíodh aon CA X.509" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "dintiúr X.509 GnuTLS á shocrú: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "sifearthosaíocht GnuTLS á socrú (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "theip ar chumarsáid thionscantach GnuTLS: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "teastas an chomhghleacaí á fhíorú: %s" # # @name STRONGAUTH_REQUIRED_HINT # # @loc none #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "ní chuirtear muinín sa teastas freastalaí" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "níl eisitheoir atá ar eolas ag an teastas freastalaí" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "aisghaireadh an teastas freastalaí" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "níorbh fhéidir an teastas freastalaí a fhíorú (rc=%d)" #: src/gsasl.c:603 #, fuzzy, c-format msgid "getting channel binding failed: %s" msgstr "theip ar shocrú na réamhshocruithe GnuTLS: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Ní bhfuarthas an sásra...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "níl an sásra ar fáil: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Iontráil sonraí fíordheimhnithe base64 ón chliant (RET mura bhfuil aon sonra " "ann):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Iontráil sonraí fíordheimhnithe base64 ón fhreastalaí (RET mura bhfuil aon " "sonra ann):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "earráid le sásra: %s" # # @name STRONGAUTH_REQUIRED_HINT # # @loc none #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Fíordheimhniú den fhreastalaí déanta (cliant iontaofa)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Fíordheimhniú den chliant déanta (freastalaí iontaofa)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Iontráil sonraí feidhmchláir (comhadchríoch nuair atá tú déanta):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Sonraí le seoladh, ionchódaithe le bunuimhir 64:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "earráid ionchódaithe: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Seisiún déanta...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "theip ar chur deireadh leis an seisiún GnuTLS: %s" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Ní féidir soicéid Windows a thúsú." #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "argóint ar iarraidh\n" #~ "Bain triail as `%s --help' chun tuilleadh eolais a fháil." #~ msgid "" #~ "\n" #~ "Report bugs to <%s>.\n" #~ msgstr "" #~ "\n" #~ "Seol tuairiscí ar fhabhtanna chuig <%s>.\n" #~ msgid "Libgsasl error (%d): %s" #~ msgstr "Earráid Libgsasl (%d): %s" gsasl-1.8.1/po/de.po0000644000000000000000000001722613521017730011076 00000000000000# German translation for gsasl. # Copyright (C) 2004 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Roland Illig , 2004. # Roland Illig , 2011. # Roland Illig , 2012. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 21:53+0100\n" "Last-Translator: Roland Illig \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "SASL-Mechanismen auswählen:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Benutze Mechanismus:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "Fehler: Server hat kein Token zurückgegeben\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "Fehler: konnte Serverdaten nicht parsen:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "SASL-Mechanismus auswählen:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "SASL-Eingabemechanismen eingeben, die vom Server unterstützt werden:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Ausgabe vom Server:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Ausgabe vom Client:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Versuchen Sie »%s --help« für weitere Informationen.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "Fehlendes Argument" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "Benötigt sowohl --x509-cert-file als auch --x509-key-file." #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "Kann nicht --starttls und --no-starttls gleichzeitig nutzen." #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "Kann nicht --smtp und --imap gleichzeitig nutzen." #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "Initialisierung fehlgeschlagen: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "Fehler beim Auflisten der Mechanismen: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Dieser Client unterstützt folgende Mechanismen:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Dieser Server unterstützt folgende Mechanismen:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "Globale Initialisierung von GnuTLS fehlgeschlagen: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "Initialisierung von GnuTLS fehlgeschlagen: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "Einstellen der Vorgabewerte für GnuTLS fehlgeschlagen: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "Reservieren des anonymen GnuTLS-Berechtigungsnachweises: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "Festlegen des anonymen GnuTLS-Berechtigungsnachweises: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "Reservieren des X.509-GnuTLS-Berechtigungsnachweises: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "Laden des X.509-GnuTLS-Berechtigungsnachweises: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "Keine X.509-CAs gefunden: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "Keine X.509-CAs gefunden." #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "Festlegen des X.509-GnuTLS-Berechtigungsnachweises: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "Festlegen der GnuTLS-Verschlüsselungs-Priorität (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS-Handschlag fehlgeschlagen: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "Verifizieren des Partnerzertifikats: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "Das Serverzertifikat ist nicht vertrauenswürdig." #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "Serverzertifikat hat keinen bekannten Herausgeber." #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "Serverzertifikat wurde zurückgezogen." #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "Konnte Serverzertifikat nicht verifizieren (rc=%d)." #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "Ermitteln der Kanalbindungen fehlgeschlagen: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Kann Mechanismus nicht finden...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "Mechanismus nicht verfügbar: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Geben Sie Base64-Authentifizierungsdaten vom Client ein (ENTER für keine):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Geben Sie Base64-Authentifizierungsdaten vom Server ein (ENTER für keine):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "Serverfehler" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "Mechanismus-Fehler: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Server-Authentifizierung abgeschlossen (der Client vertraut)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Client-Authentifizierung abgeschlossen (der Server vertraut)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Geben Sie Anwendungsdaten ein (EOF zum Beenden):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64-codierte Anwendungsdaten zum Verschicken:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL-Datensatz zu groß: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "Codierungsfehler: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sitzung beendet...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "Beenden der GnuTLS-Sitzung fehlgeschlagen: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "Fehler: Server hat nicht die erwarteten SASL-Daten zurückgegeben (sie " #~ "müssen mit »334 « anfangen):\n" #~ "%s\n" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Kann Windows-Sockets nicht initialisieren." #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "Fehlendes Argument.\n" #~ "Versuchen Sie »%s --help« für weitere Informationen." #~ msgid "Libgsasl error (%d): %s\n" #~ msgstr "Libgsasl-Fehler (%d): %s\n" gsasl-1.8.1/po/zh_CN.po0000644000000000000000000001654113521017731011507 00000000000000# gsasl 的简体中文翻译 # Copyright (C) 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Meng Jie , 2004. # Ji ZhengYu , 2008, 2009, 2010, 2011, 2012, 2013 msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2013-03-08 12:49+0800\n" "Last-Translator: Ji ZhengYu \n" "Language-Team: Chinese (simplified) \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "选择 SASL 方式:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "使用方式:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "错误:服务器未返回标识\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "错误: 无法解析服务器数据:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "选择SASL 方式:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "服务器所支持的 SASL 方式入列表:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "服务器的输出:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "客户端的输出:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "尝试‘%s --help’以获得更多信息。\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "缺少参数" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "既需要 --x509-cert-file 也需要 --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "不能同时使用 --starttls 和 --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "不能同时使用 --smtp 和 --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "初始化失败:%s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "列出机制时出错:%s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "这个客户端支持以下机制:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "这个服务器支持以下机制:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS 全局初始化失败:%s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS 初始化失败:%s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "设定 GnuTLS 默认值失败:%s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "分配匿名 GnuTLS 证书:%s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "设定匿名 GnuTLS 证书:%s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "分配 X.509 GnuTLS 证书:%s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "载入 X.509 GnuTLS 证书:%s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "找不到 X.509 CA 证书:%s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "找不到 X.509 CA 证书" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "设定 X.509 GnuTLS 证书:%s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "设定 GnuTLS 密钥优先级(%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS 握手失败:%s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "验证节点证书:%s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "服务器证书不可信" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "服务器证书发行者未知" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "服务器证书已被吊销" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "无法验证服务器证书(rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "绑定通道失败:%s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "找不到机制……\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "机制不可用:%s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "输入客户端发送的 base64 编码的应用程序数据(如果没有,请按回车):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "输入服务器发送的 base64 编码的应用程序数据(如果没有,请按回车):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "服务器错误" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "机制错误:%s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "服务器认证完成(客户端可信)……\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "客户端认证完成(服务器可信)……\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "输入应用程序数据(用 EOF 结束输入):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "要发送的 Base64 编码的应用程序数据:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL 记录太大: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "编码错误:%s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "会话结束...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "终止 GnuTLS 会话失败:%s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "错误: 服务器未返回正确的SASL 数据(其必须以\"334\"开头):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "错误: 服务器未返回正确的SASL 数据(其必须以\"+\"开头):\n" #~ "%s\n" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "无法初始化 Windows 端口。" #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "缺少参数\n" #~ "尝试‘%s --help’以获得更多信息。" #~ msgid "" #~ "\n" #~ "Report bugs to <%s>.\n" #~ msgstr "" #~ "\n" #~ "将翻译错误发送至 。\n" #~ "将错误报告发送至 <%s>。\n" gsasl-1.8.1/po/it.gmo0000644000000000000000000001201713521017731011260 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  35 %i   7 0 X/ V 3 $+8=d7".9.h-13 '?2g%55 !C1e2.+J8v'74!2V4.!%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 16:22+0200 Last-Translator: Sergio Zanchetta Language-Team: Italian Language: it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n!=1); Dati applicazione codificati in base64 da inviare: Impossibile trovare il meccanismo... Selezionare meccanismo SASL: Meccanismo SASL scelto: Autenticazione del client terminata (server fidato)... Inserire dati applicazione (EOF per terminare): Inserire i dati di autenticazione in base64 dal client (premere INVIO se non presenti): Inserire dati di autenticazione in base64 dal server (premere INVIO se non presenti): inizializzazione globale di GnuTLS non riuscita: %shandshake di GnuTLS non riuscito: %sinizializzazione di GnuTLS non riuscita: %sInserire l'elenco dei meccanismi SASL supportati dal server: Output dal client: Output dal server: Record SASL troppo grande: %zu Autenticazione del server terminata (client fidato)... Sessione terminata... Questo client supporta i seguenti meccanismi: Questo server supporta i seguenti meccanismi: Usare "%s --help" per maggiori informazioni. Meccanismo in uso: allocazione della credenziale X.509 di GnuTLS: %sallocazione delle credenziali anonime di GnuTLS: %simpossibile usare sia --smtp che --imapimpossibile usare sia --starttls che --no-starttlserrore di codifica: %serrore nell'elencare i meccanismi: %serrore: impossibile analizzare i dati del server: %s recupero dell'associazione di canale non riuscito: %sinizializzazione non riuscita: %scaricamento della credenziale X.509 di GnuTLS: %serrore del meccanismo: %smeccanismo non disponibile: %sargomento mancantenecessari sia --x509-cert-file che --x509-key-filenessun CA X.509 trovatonessun CA X.509 trovato: %sil certificato del server è stato revocatoil certificato del server non ha un emittente conosciutoil certificato del server non è fidatoerrore del serverimpostazione priorità del cifrario di GnuTLS (%s): %s impostazione dei predefiniti GnuTLS non riuscita: %simpostazione della credenziale X.509 di GnuTLS: %simpostazione delle credenziali anonime di GnuTLS: %sarresto della sessione GnuTLS non riuscito: %sverifica certificato del peer: %sgsasl-1.8.1/po/LINGUAS0000644000000000000000000000014513521017507011165 00000000000000en@boldquot en@quot da de eo es eu fi fr ga hr hu id it nl pl pt_BR ro sk sq sr sv uk vi zh_CN zh_TW gsasl-1.8.1/po/fr.po0000644000000000000000000002031213521017730011103 00000000000000# Messages français pour GNU gsasl. # Copyright (C) 2008, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Michel Robitaille , 2008. # Nicolas Provost , 2010. # David Prévot , 2012. msgid "" msgstr "" "Project-Id-Version: GNU gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-10-01 18:32-0400\n" "Last-Translator: David Prévot \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Lokalize 1.4\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Choisir les mécanismes SASL :\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Mécanisme utilisé :\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "erreur : le serveur n'a pas renvoyé de jeton\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "erreur : impossible d'analyser les données du serveur :\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Choisir le mécanisme SASL :\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Liste de mécanismes SASL pris en charge par le serveur :\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Sortie du serveur :\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Sortie du client :\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "" "Exécutez « %s --help » pour obtenir des renseignements complémentaires.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "argument manquant" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "--x509-cert-file et --x509-key-file sont tous deux nécessaires" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "impossible d'utiliser --starttls et --no-starttls en même temps" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "impossible d'utiliser --smtp et --imap en même temps" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "échec d'initialisation : %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "erreur de liste des mécanismes : %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Ce client prend en charge les mécanismes suivants :\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Ce serveur prend en charge les mécanismes suivants :\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "échec d'initialisation globale de GnuTLS : %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "échec d'initialisation de GnuTLS : %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "échec de définition des valeurs GnuTLS par défaut : %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "allocation d'un certificat anonyme GnuTLS : %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "définition d'un certificat anonyme GnuTLS : %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "allocation d'un certificat X509 GnuTLS : %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "chargement d'un certificat X509 GnuTLS : %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "aucune autorité de certification (CA) X509 disponible : %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "aucune autorité de certification (CA) X509 disponible" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "définition d'un certificat X509 GnuTLS : %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "définition des chiffrements prioritaires GnuTLS (%s) : %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "échec de négociation GnuTLS : %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "vérification du certificat pair : %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "le certificat du serveur n'est pas digne de confiance" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "le certificat du serveur n'a pas d'émetteur connu" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "le certificat du serveur a été révoqué" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "impossible de vérifier le certificat du serveur (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "échec d'obtention du lien de canal : %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Impossible de trouver le mécanisme…\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mécanisme non disponible : %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Saisir les données d'authentification en base 64 du client (appuyer sur " "Entrée si aucune) :\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Saisir les données d'authentification en base 64 du serveur (appuyer sur " "Entrée si aucune) :\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "erreur du serveur" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "erreur de mécanisme : %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Authentification par le serveur terminée (client fiable)…\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Authentification par le client terminée (serveur fiable)…\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Saisir les données d'application (EOF pour terminer) :\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Données applicatives encodées en base 64 à transmettre :\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "bloc SASL trop grand : %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "erreur d'encodage : %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Session terminée…\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "échec de fin de session GnuTLS : %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "erreur : le serveur n'a pas retourné les données SASL attendues (qui " #~ "doivent commencer par '+') :\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "erreur : le serveur n'a pas retourné les données SASL attendues (qui " #~ "doivent commencer par '334') :\n" #~ "%s\n" #~ msgid "" #~ "\n" #~ "Report bugs to <%s>.\n" #~ msgstr "" #~ "\n" #~ "Signaler les anomalies à <%s>.\n" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Impossible d'initialiser les slots (sockets) Windows." #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "argument manquant\n" #~ "Essayez \"%s --help\" pour plus d'information." #~ msgid "Libgsasl error (%d): %s" #~ msgstr "ERREUR libgsasl (%d): %s" gsasl-1.8.1/po/uk.gmo0000644000000000000000000001513113521017731011263 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  \_ 5 ( * tF j &Yz`45kj--62ti!PPQW+R&XyR]%%`Q Y\-V%;+a(V ",AOb<"1STVi\iY8 %+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 12:46+0300 Last-Translator: Yuri Chornoivan Language-Team: Ukrainian Language: uk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. X-Generator: Lokalize 1.5 Plural-Forms: nplurals=1; plural=0; Закодовані у форматі Base64 дані, які буде надіслано: Не вдалося знайти механізм... Виберіть механізм SASL: Виберіть механізми SASL: Розпізнавання на клієнті завершено (сервер визнано надійним)... Вкажіть дані заяви (дані мають завершуватися символом EOF): Вкажіть дані розпізнавання у форматі base64 від клієнта (натисніть Enter, якщо таких даних немає): Вкажіть дані розпізнавання у форматі base64 від сервера (натисніть Enter, якщо таких даних немає): Помилка ініціалізації GnuTLS на загальному рівні: %sПомилка під час спроби встановлення зв’язку з GnuTLS: %sПомилка ініціалізації GnuTLS: %sВкажіть список механізмів SASL, які підтримуються сервером: Дані, виведені клієнтом: Дані, виведені сервером: Запис SASL є занадто великим: %zu Розпізнавання на сервері завершено (клієнт визнано надійним)... Сеанс завершено... Цим клієнтом підтримуються такі механізми: Цим сервером підтримуються такі механізми: Щоб дізнатися більше, віддайте команду «%s --help». Використаний механізм: розміщення реєстраційних даних GnuTLS для X.509: %sрозміщення анонімних реєстраційних даних GnuTLS: %sне можна використовувати одночасно --smtp і --imapне можна використовувати одночасно --starttls і --no-starttlsпомилка кодування: %sпомилка під час спроби побудови списку механізмів: %sпомилка: не вдалося обробити дані сервера: %s помилка під час спроби прив’язатися до каналу: %sпомилка ініціалізації: %sзавантаження реєстраційних даних GnuTLS для X.509: %sпомилка механізму: %sмеханізм недоступний: %sне вистачає аргументуслід вказати два параметри: --x509-cert-file і --x509-key-fileне знайдено CA X.509не знайдено CA X.509: %sсертифікат сервера було відкликаносертифікат сервера не було створено відомим видавцемсертифікат сервера не є надійнимпомилка на серверівстановлення пріоритету шифрування GnuTLS (%s): %s помилка встановлення типових параметрів GnuTLS: %sвстановлення анонімних реєстраційних даних GnuTLS для X.509: %sвстановлення анонімних реєстраційних даних GnuTLS: %sспроба переривання сеансу GnuTLS зазнала невдачі: %sперевірка сертифіката вузла: %sgsasl-1.8.1/po/vi.po0000644000000000000000000002043313521017731011117 00000000000000# Vietnamese Translation for GSASL. # Copyright © 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Clytie Siddall , 2005-2010. # Trần Ngọc Quân , 2012. # msgid "" msgstr "" "Project-Id-Version: gsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 14:35+0700\n" "Last-Translator: Trần Ngọc Quân \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: LocFactoryEditor 1.8\n" "X-Poedit-Language: Vietnamese\n" "X-Poedit-Country: VIET NAM\n" "X-Poedit-SourceCharset: utf-8\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Chọn cơ cấu SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Đang dùng cơ cấu: \n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "lỗi: máy chủ không trả về một thẻ bài\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "lỗi: không thể phân tích dữ liệu máy chủ:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Chọn cơ cấu SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Nh92p danh sách các cơ cấu SASL được máy phục vụ hỗ trợ :\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Kết xuất từ máy phục vụ :\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Kết xuất từ ứng dụng khách:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Hãy chạy lệnh \"%s --help\" (trợ giúp) để xem thông tin thêm.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "đối số còn thiếu" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "" "cần thiết cả \"--x509-cert-file\" (tập tin chứng nhận) lẫn \"--x509-key-file" "\" (tập tin khóa)" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "" "không thể dùng tùy chọn \"--starttls\" (có) với \"--no-starttls\" (không)" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "" "không thể dùng tùy chọn \"--smtp\" với \"--imap\" (hai giao thức khác nhau)" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "lỗi sở khởi: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "gặp lỗi khi liệt kê cơ cấu : %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Ứng dụng khách này hỗ trợ các cơ cấu theo đây:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Máy phục vụ này hỗ trợ các cơ cấu theo đây:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "Lỗi sở khởi toàn cục GnuTLS: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "Lỗi sở khởi GnuTLS: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "lỗi đặt các giá trị mặc định cho GnuTLS: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "đang cấp phát thông tin xác thực GnuTLS kiểu vô danh: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "đang đặt thông tin xác thực GnuTLS kiểu vô danh: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "đang cấp phát thông tin xác thực GnuTLS kiểu X.509: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "đang tải thông tin xác thực GnuTLS kiểu X.509: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "không tìm thấy Nhà Cầm Quyền Chứng Nhận X.509 nào: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "không tìm thấy Nhà Cầm Quyền Chứng Nhận X.509 nào" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "đang đặt thông tin xác thực GnuTLS kiểu X509: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "đang đặt ưu tiên mật mã GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "lỗi thiết lập quan hệ GnuTLS: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "đang thẩm tra chứng nhận ngang hàng: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "chứng nhận của máy phục vụ không phải là tin cây" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "chứng nhận của máy phục vụ không có nhà phát hành đã biết" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "chứng nhận của máy phục vụ đã bị hủy bỏ" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "không thể thẩm tra chứng nhận của máy phục vụ (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "Ràng buộc kênh chào hởi gặp lỗi: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Không tìm thấy cơ cấu...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "cơ cấu không sẵn sàng: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Nhập dữ liệu xác thực cơ số 64 từ ứng dụng khách (ấn phím RETURN nếu không " "có):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Nhập dữ liệu xác thực cơ số 64 từ máy phục vụ (ấn phím RETURN nếu không " "có):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "lỗi máy phục vụ" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "gặp lỗi cơ cấu : %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Việc xác thực máy phục vụ đã xong (ứng dụng khách được tin)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Việc xác thực ứng dụng khách đã xong (máy phục vụ được tin)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Nhập dữ liệu ứng dụng (EOF [kết thức tập tin] để xong): \n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Dữ liệu ứng dụng đã mã hóa cơ số 64 cần gởi:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "Bản ghi SASL quá lớn: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "gặp lỗi mã hóa: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Phiên chạy đã xong...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "kết thúc phiên chạy GnuTLS bị lỗi: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "lỗi: máy phục vụ không đáp ứng dữ liệu SASL mong đợi\n" #~ "(nó phải bắt đầu với số \"334\"):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "lỗi: máy phục vụ không đáp ứng dữ liệu SASL mong đợi\n" #~ "(nó phải bắt đầu với dấu cộng \"+\"):\n" #~ "%s\n" gsasl-1.8.1/po/vi.gmo0000644000000000000000000001333513521017731011266 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r 5 @  ) A TY L j gf(( L='%TM?i<I0@ICSP"s);.!:7r j?2Cr:M@?19:>>/}/%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 14:35+0700 Last-Translator: Trần Ngọc Quân Language-Team: Vietnamese Language: vi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=1; plural=0; X-Generator: LocFactoryEditor 1.8 X-Poedit-Language: Vietnamese X-Poedit-Country: VIET NAM X-Poedit-SourceCharset: utf-8 Dữ liệu ứng dụng đã mã hóa cơ số 64 cần gởi: Không tìm thấy cơ cấu... Chọn cơ cấu SASL: Chọn cơ cấu SASL: Việc xác thực ứng dụng khách đã xong (máy phục vụ được tin)... Nhập dữ liệu ứng dụng (EOF [kết thức tập tin] để xong): Nhập dữ liệu xác thực cơ số 64 từ ứng dụng khách (ấn phím RETURN nếu không có): Nhập dữ liệu xác thực cơ số 64 từ máy phục vụ (ấn phím RETURN nếu không có): Lỗi sở khởi toàn cục GnuTLS: %slỗi thiết lập quan hệ GnuTLS: %sLỗi sở khởi GnuTLS: %sNh92p danh sách các cơ cấu SASL được máy phục vụ hỗ trợ : Kết xuất từ ứng dụng khách: Kết xuất từ máy phục vụ : Bản ghi SASL quá lớn: %zu Việc xác thực máy phục vụ đã xong (ứng dụng khách được tin)... Phiên chạy đã xong... Ứng dụng khách này hỗ trợ các cơ cấu theo đây: Máy phục vụ này hỗ trợ các cơ cấu theo đây: Hãy chạy lệnh "%s --help" (trợ giúp) để xem thông tin thêm. Đang dùng cơ cấu: đang cấp phát thông tin xác thực GnuTLS kiểu X.509: %sđang cấp phát thông tin xác thực GnuTLS kiểu vô danh: %skhông thể dùng tùy chọn "--smtp" với "--imap" (hai giao thức khác nhau)không thể dùng tùy chọn "--starttls" (có) với "--no-starttls" (không)gặp lỗi mã hóa: %sgặp lỗi khi liệt kê cơ cấu : %slỗi: không thể phân tích dữ liệu máy chủ: %s Ràng buộc kênh chào hởi gặp lỗi: %slỗi sở khởi: %sđang tải thông tin xác thực GnuTLS kiểu X.509: %sgặp lỗi cơ cấu : %scơ cấu không sẵn sàng: %sđối số còn thiếucần thiết cả "--x509-cert-file" (tập tin chứng nhận) lẫn "--x509-key-file" (tập tin khóa)không tìm thấy Nhà Cầm Quyền Chứng Nhận X.509 nàokhông tìm thấy Nhà Cầm Quyền Chứng Nhận X.509 nào: %schứng nhận của máy phục vụ đã bị hủy bỏchứng nhận của máy phục vụ không có nhà phát hành đã biếtchứng nhận của máy phục vụ không phải là tin câylỗi máy phục vụđang đặt ưu tiên mật mã GnuTLS (%s): %s lỗi đặt các giá trị mặc định cho GnuTLS: %sđang đặt thông tin xác thực GnuTLS kiểu X509: %sđang đặt thông tin xác thực GnuTLS kiểu vô danh: %skết thúc phiên chạy GnuTLS bị lỗi: %sđang thẩm tra chứng nhận ngang hàng: %sgsasl-1.8.1/po/POTFILES.in0000644000000000000000000000014712222241125011707 00000000000000# List of source files containing translatable strings for GNU SASL. src/imap.c src/smtp.c src/gsasl.c gsasl-1.8.1/po/hr.po0000644000000000000000000001562413521017730011117 00000000000000# Translation of gsasl to Croatian. # Copyright (C) 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Tomislav Krznar , 2012. msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-08-13 23:09+0200\n" "Last-Translator: Tomislav Krznar \n" "Language-Team: Croatian \n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 1.4\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Odaberite SASL mehanizme:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Koristim mehanizam:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "greška: poslužitelj nije vratio simbol\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "greška: ne mogu obraditi podatke poslužitelja:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Odaberite SASL mehanizam:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Ulazni popis SASL mehanizama koje podržava poslužitelj:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Ispis poslužitelja:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Ispis klijenta:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Pokušajte „%s --help” za više informacija.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "nedostaje argument" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "zahtijeva i --x509-cert-file i --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "ne mogu koristiti i --starttls i --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "ne mogu koristiti i --smtp i --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "greška inicijalizacije: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "greška ispisa mehanizama: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Ovaj klijent podržava sljedeće mehanizme:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Ovaj poslužitelj podržava sljedeće mehanizme:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS globalna inicijalizacija nije uspjela: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS inicijalizacija nije uspjela: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "postavljanje GnuTLS zadanih postavki nije uspjelo: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "alociram anonimnu GnuTLS vjerodajnicu: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "postavljam anonimnu GnuTLS vjerodajnicu: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "alociram X.509 GnuTLS vjerodajnicu: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "učitavam X.509 GnuTLS vjerodajnicu: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "nijedan X.509 CA nije pronađen: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "nijedan X.509 CA nije pronađen" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "postavljam X.509 GnuTLS vjerodajnicu: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "postavljam GnuTLS prioritet šifriranja (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS rukovanje nije uspjelo: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "provjeravam certifikat člana: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "certifikat poslužitelja nije pouzdan" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "certifikat poslužitelja nema poznatog izdavatelja" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "certifikat poslužitelja je ukinut" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "ne mogu provjeriti certifikat poslužitelja (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "nisam uspio dohvatiti dodijeljene vrijednosti kanala: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Ne mogu pronaći mehanizam...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mehanizam nije dostupan: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "Unesite base64 podatke ovjere klijenta (pritisnite RET ako ih nema):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Unesite base64 podatke ovjere poslužitelja (pritisnite RET ako ih nema):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "greška poslužitelja" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "greška mehanizma: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Ovjera poslužitelja završena (klijent je pouzdan)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Ovjera klijenta završena (poslužitelj je pouzdan)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Unesite programske podatke (EOF za završetak):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64 kodirani programski podaci za slanje:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL zapis je prevelik: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "greška kodiranja: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sjednica završena...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "prekidanje GnuTLS sjednice nije uspjelo: %s" gsasl-1.8.1/po/Makevars0000664000000000000000000000342111746471770011653 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Simon Josefsson # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = bug-gsasl@gnu.org # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = gsasl-1.8.1/po/en@boldquot.header0000644000000000000000000000247113516317611013575 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # gsasl-1.8.1/po/stamp-po0000644000000000000000000000001213521017344011613 00000000000000timestamp gsasl-1.8.1/po/fi.po0000644000000000000000000001703613521017730011103 00000000000000# Finnish messages for gsasl. # Copyright © 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Jorma Karvonen , 2009-2012. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 14:53+0200\n" "Last-Translator: Jorma Karvonen \n" "Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Valitse SASL-mekanismit:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Käytetään mekanismia:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "virhe: palvelin ei palauttanut merkkijonoa\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "virhe: ei voitu jäsentää palvelintietoja:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Valitse SASL-mekanismi:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Palvelin tukee SASL-mekanismien syöteluetteloa:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Tuloste palvelimelta:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Tuloste asiakkaalta:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Lisätietoja käskyllä ”%s --help”.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "puuttuva argumentti" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "" "tarvitsee sekä valitsimen --x509-cert-file että valitsimen --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "" "ei voi käyttää sekä valitsinta --starttls että valitsinta --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "ei voi käyttää sekä valitsinta --smtp että valitsinta --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "alustusvirhe: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "virheluettelomekanismit: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Tämä asiakas tukee seuraavia mekanismeja:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Tämä palvelin tukee seuraavia mekanismeja:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS-yleisalustus epäonnistui: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS-alustus epäonnistui: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "GnuTLS-oletusten asetus epäonnistui: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "varataan anonyymi GnuTLS-valtuutus: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "asetetaan anonyymi GnuTLS-valtuutus: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "varataan X.509 GnuTLS-valtuutus: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "ladataan X.509 GnuTLS-valtuutus: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "ei löytynyt X.509-varmennusviranomaisia: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "ei löytynyt X.509-varmennusviranomaisia" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "asetetaan X.509 GnuTLS-valtuutus: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "asetetaan GnuTLS-salausprioriteetti (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS-kättely epäonnistui: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "todenna vertaisvarmenne: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "palvelinvarmenne ei ole luotettava" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "palvelinvarmenteen julkaisija ei ole tunnettu" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "palvelinvarmenne on peruttu" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "ei voitu todentaa palvelinvarmennetta (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "kanavasitomisen hakeminen epäonnistui: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Mekanismia ei löydy...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mekanismi on tavoittamattomissa: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Kirjoita base64-varmennedataa asiakkaalta (paina RET, jos ei mitään):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Kirjoita base64-varmennedataa palvelimelta (paina RET, jos ei mitään):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "palvelinvirhe" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "mekanismivirhe: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Palvelinvarmennus päättynyt (asiakas luotettu)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Asiakasvarmennus päättynyt (palvelin luotettu)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Kirjoita sovellusdataa (Päätä EOF-merkillä):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64-koodattua sovellusdataa lähetettävänä:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL-tietue on liian suuri: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "koodausvirhe: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Istunto päättyi...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "GnuTLS-istunnon päättäminen epäonnistui: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "virhe: Palvelin ei palauttanut odotettua SASL-dataa (sen on alettava " #~ "merkeillä ’334 ’):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "virhe: Palvelin ei palauttanut odotettua SASL-dataa (sen on alettava " #~ "merkillä ’+ ’):\n" #~ "%s\n" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Ei voi alustaa Windows-pistokkeita." #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "puuttuva argumentti\n" #~ "Lisätietoja komennolla ”%s --help”." gsasl-1.8.1/po/insert-header.sin0000644000000000000000000000124013516317611013405 00000000000000# Sed script that inserts the file called HEADER before the header entry. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } gsasl-1.8.1/po/sr.po0000644000000000000000000002074513521017731011133 00000000000000# Serbian translation of gsasl. # Copyright (C) 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Aleksandar Jelenak , 2006. # Мирослав Николић , 2012. msgid "" msgstr "" "Project-Id-Version: gsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-24 22:19+0200\n" "Last-Translator: Мирослав Николић \n" "Language-Team: Serbian \n" "Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Изаберите САСЛ метод:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Користим метод:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "грешка: сервер није вратио симбол\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "грешка: не могу да рашчланим податке сервера:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Изаберите САСЛ метод:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Улазни списак САСЛ метода које подржава сервер:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Излаз сервера:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Излаз клијента:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Пробајте „%s --help“ за више података.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "недостаје аргумент" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "потребни су и „--x509-cert-file“ и „--x509-key-file“" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "не могу да користим и „--starttls“ и „--no-starttls“" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "не могу да користим и „--smtp“ и „--imap“" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "неуспех покретања: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "грешка исписивања метода: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Овај клијент подржава следеће методе:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Овај сервер подржава следеће методе:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "није успело глобално ГнуТЛС покретање: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "није успело ГнуТЛС покретање: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "није успело подешавање основних ГнуТЛС вредности: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "добављам анонимно ГнуТЛС уверење: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "задајем анонимно ГнуТЛС уверење: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "добављам X.509 ГнуТЛС уверење: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "учитавам X.509 ГнуТЛС уверење: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "нисам пронашао X.509 издаваче уверења: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "нисам пронашао Х.509 издаваче уверења" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "задајем X.509 ГнуТЛС уверење: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "задајем приоритет ГнуТЛС шифрера (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "није успело ГнуТЛС руковање: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "проверавам парњаково уверење: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "уверење сервера није од поверења" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "уверење сервера нема познатог издавача" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "уверење сервера је повучено" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "не могу да проверим уверење сервера (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "није успело добављање везова канала: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Не могу да пронађем метод...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "метод није доступан: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Унесите податке за потврду клијента у основи64 (притисните за ништа):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Унесите податке за потврду сервера у основи64 (притисните за ништа):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "грешка сервера" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "грешка метода: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Потврђивање сервера је завршено (клијенту се верује)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Потврђивање клијента је завршено (серверу се верује)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Унесите податке за обраду ( за крај):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Кодирани подаци програма у основи64 за слање:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "Снимак САСЛ-а је превелик: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "грешка кодирања: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Сесија је завршена...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "није успело завршавање ГнуТЛС сесије: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "грешка: Сервер није вратио очекиване податке САСЛ-а (мора почињати са " #~ "„334 “):\n" #~ "%s\n" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Не може иницијализовати Виндоуз сокете." gsasl-1.8.1/po/boldquot.sed0000644000000000000000000000033113516317611012466 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g gsasl-1.8.1/po/en@quot.header0000644000000000000000000000226313516317611012733 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # gsasl-1.8.1/po/Rules-quot0000644000000000000000000000414213516317611012147 00000000000000# This file, Rules-quot, can be copied and used freely without restrictions. # Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \ | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \ { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ ;; \ *) \ $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ ;; \ esac } 2>/dev/null > $$tmpdir/$$lang.new.po \ ; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header gsasl-1.8.1/po/pl.gmo0000644000000000000000000001174413521017731011265 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  / P n  9 & ? ?E 4 ' + @Obu9,*;:v:@/97q#=385n=$ *E#p/>7=J0*%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-21 19:10+0200 Last-Translator: Jakub Bogusz Language-Team: Polish Language: pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Zakodowane base64 dane aplikacji do wysłania: Nie znaleziono mechanizmu... Wybór mechanizmów SASL: Wybór mechanizmów SASL: Uwierzytelnienie klienta zakończone (serwer zaufał)... Dane aplikacji (EOF aby zakończyć): Dana uwierzytelniające base64 od klienta (RET jeśli żadne): Dane uwierzytelniające base64 od serwera (RET jeśli żadne): Globalna inicjalizacja GnuTLS nie powiodła się: %spowitanie GnuTLS nie powiodło się: %sInicjalizacja GnuTLS nie powiodła się: %sWejściowa lista mechanizmów SASL obsługiwanych przez serwer: Wyjście klienta: Wyjście serwera: Rekord SASL zbyt duży: %zu Uwierzytelnienie serwera zakończone (klient zaufał)... Sesja zakończona... Mechanizmy obsługiwane przez tego klienta: Mechanizmy obsługiwane przez ten serwer: Polecenie `%s --help' pozwoli uzyskać więcej informacji. Użycie mechanizmu: przydzielanie danych uwierzytelniających X.509 GnuTLS: %sprzydzielanie anonimowych danych uwierzytelniających GnuTLS: %snie można użyć --smtp i --imap jednocześnienie można użyć --starttls i --nostarttls jednocześniebłąd kodowania: %sbłąd wypisywania mechanizmów: %sbłąd: nie udało się przeanalizować danych z serwera: %s pobranie przypisania kanału nie powiodło się: %sbłąd inicjalizacji: %swczytywanie danych uwierzytelniających X.509 GnuTLS: %sbłąd mechanizmu: %smechanizm niedostępny: %sbrak argumentuwymagane jest zarówno --x509-cert-file jak i --x509-key-filenie znaleziono CA X.509nie znaleziono CA X.509: %scertyfikat serwera został anulowanycertyfikat serwera nie ma znanego wystawcycertyfikat serwera nie jest zaufanybłąd serweraustawianie priorytetu szyfrów GnuTLS (%s): %s ustawienie wartości domyślnych GnuTLS nie powiodło się: %sustawianie danych uwierzytelniających X.509 GnuTLS: %sustawianie anonimowych danych uwierzytelniających GnuTLS: %szakończenie sesji GnuTLS nie powiodło się: %ssprawdzanie certyfikatu drugiej strony: %sgsasl-1.8.1/po/nl.po0000644000000000000000000001727513521017730011123 00000000000000# Dutch translations for GNU gsasl. # Copyright (C) 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # "Wie vrij wil zijn, moet zich niet aanpassen." # # Taco Witte , 2004, 2005, 2006. # Erwin Poeze , 2009, 2010. # Benno Schulenberg , 2008, 2010, 2011, 2012. msgid "" msgstr "" "Project-Id-Version: gsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-22 21:18+0200\n" "Last-Translator: Benno Schulenberg \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Gekozen SASL-methoden:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Gebruikte methode:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "fout: server heeft geen token teruggegeven\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "Fout: kan server-gegevens niet ontleden:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Kies de SASL-methode:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Invoerlijst van SASL-methoden ondersteund door server:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Serveruitvoer:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Cliëntuitvoer:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Typ '%s --help' voor meer informatie.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "ontbrekend argument" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "opties '--x509-cert-file' en '--x509-key-file' zijn beide nodig" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "opties '--starttls' en '--no-starttls' gaan niet samen" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "opties '--smtp' en '--imap' gaan niet samen" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "initialisatiefout: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "fout bij opsommen van methoden: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Deze cliënt ondersteunt de volgende methoden:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Deze server ondersteunt de volgende methoden:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "algemene GnuTLS-initialisatie is mislukt: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS-initialisatie is mislukt: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "instellen van GnuTLS-standaardwaarden is mislukt: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "reserveren van anonieme GnuTLS-vertrouwensgegevens: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "instellen van anonieme GnuTLS-vertrouwensgegevens: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "reserveren van X.509 GnuTLS-vertrouwensgegevens: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "laden van X.509 GnuTLS-vertrouwensgegevens: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "geen X.509 certificaatautoriteiten gevonden: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "geen X.509 certificaatautoriteiten gevonden" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "instellen van X.509 GnuTLS-vertrouwensgegevens: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "instellen van GnuTLS-sleuteluitwisselingsprioriteit (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS-handshake is mislukt: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verifiëren van certificaat van andere computer: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "servercertificaat wordt niet vertrouwd" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "servercertificaat heeft geen bekende uitgever" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "servercertificaat is ingetrokken" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "kan servercertificaat niet verifiëren (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "verkrijgen van kanaalbinding is mislukt: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Kan methode niet vinden...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "methode is onbeschikbaar: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Geef base64-authenticatiegegevens van de cliënt (druk op Enter als geen):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Geef base64-authenticatiegegevens van de server (druk op Enter als geen):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "serverfout" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "methodefout: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Serverauthenticatie is voltooid (cliënt wordt vertrouwd).\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Cliëntauthenticatie is voltooid (server wordt vertrouwd).\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Voer toepassingsgegevens in (geef EOF om af te sluiten):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Te verzenden base64-gecodeerde toepassingsgegevens:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL-record is te lang: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "coderingsfout: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sessie is voltooid.\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "beëindigen van GnuTLS-sessie is mislukt: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "fout: server levert niet de verwachte SASL-gegevens (moet beginnen met " #~ "'334 '):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "fout: server levert niet de verwachte SASL-gegevens (moet beginnen met '+ " #~ "'):\n" #~ "%s\n" #~ msgid "" #~ "\n" #~ "Report bugs to <%s>.\n" #~ msgstr "" #~ "\n" #~ "Rapporteer gebreken in het programma aan <%s>;\n" #~ "meld fouten in de vertaling aan .\n" gsasl-1.8.1/po/uk.po0000644000000000000000000002156013521017731011122 00000000000000# Translation of gsasl to Ukrainian # # Copyright (C) 2011 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Yuri Chornoivan , 2011, 2012. msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 12:46+0300\n" "Last-Translator: Yuri Chornoivan \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Lokalize 1.5\n" "Plural-Forms: nplurals=1; plural=0;\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Виберіть механізми SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Використаний механізм:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "помилка: сервером не повернуто лексему\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "помилка: не вдалося обробити дані сервера:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Виберіть механізм SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Вкажіть список механізмів SASL, які підтримуються сервером:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Дані, виведені сервером:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Дані, виведені клієнтом:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Щоб дізнатися більше, віддайте команду «%s --help».\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "не вистачає аргументу" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "слід вказати два параметри: --x509-cert-file і --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "не можна використовувати одночасно --starttls і --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "не можна використовувати одночасно --smtp і --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "помилка ініціалізації: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "помилка під час спроби побудови списку механізмів: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Цим клієнтом підтримуються такі механізми:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Цим сервером підтримуються такі механізми:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "Помилка ініціалізації GnuTLS на загальному рівні: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "Помилка ініціалізації GnuTLS: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "помилка встановлення типових параметрів GnuTLS: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "розміщення анонімних реєстраційних даних GnuTLS: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "встановлення анонімних реєстраційних даних GnuTLS: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "розміщення реєстраційних даних GnuTLS для X.509: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "завантаження реєстраційних даних GnuTLS для X.509: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "не знайдено CA X.509: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "не знайдено CA X.509" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "встановлення анонімних реєстраційних даних GnuTLS для X.509: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "встановлення пріоритету шифрування GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "Помилка під час спроби встановлення зв’язку з GnuTLS: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "перевірка сертифіката вузла: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "сертифікат сервера не є надійним" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "сертифікат сервера не було створено відомим видавцем" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "сертифікат сервера було відкликано" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "не вдалося перевірити сертифікат сервера (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "помилка під час спроби прив’язатися до каналу: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Не вдалося знайти механізм...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "механізм недоступний: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Вкажіть дані розпізнавання у форматі base64 від клієнта (натисніть Enter, " "якщо таких даних немає):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Вкажіть дані розпізнавання у форматі base64 від сервера (натисніть Enter, " "якщо таких даних немає):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "помилка на сервері" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "помилка механізму: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Розпізнавання на сервері завершено (клієнт визнано надійним)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Розпізнавання на клієнті завершено (сервер визнано надійним)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Вкажіть дані заяви (дані мають завершуватися символом EOF):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Закодовані у форматі Base64 дані, які буде надіслано:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "Запис SASL є занадто великим: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "помилка кодування: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Сеанс завершено...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "спроба переривання сеансу GnuTLS зазнала невдачі: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "помилка: сервером не повернуто очікувані дані SASL (відповідь мала " #~ "починатися з «334 »):\n" #~ "%s\n" gsasl-1.8.1/po/ro.gmo0000644000000000000000000000360413521017731011266 00000000000000H)Is3(BB-p3//CU-DD_6WW3D,,An   Base64 encoded application data to send: Cannot find mechanism... Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): Output from client: Output from server: Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Using mechanism: Project-Id-Version: gsasl 0.2.2 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2004-12-29 12:00-0500 Last-Translator: Laurentiu Buzdugan Language-Team: Romanian Language: ro MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); Datele aplicaiei encodate Base64 de trimis: Nu pot gsi mecanismul... Autentificarea clientului a fost terminat (server de ncredere)... Introducei datele aplicaiei (EOF pentru a termina): Introducei datele de autentificare base64 de la client (apsai RET dac nu exist): Introducei datele de autentificare base64 de la server (apsai RET dac nu exist): Ieirea de la client: Ieirea de la server: Autentificarea clientului a fost terminat (client de ncredere)... Sesiune terminat... Acest client suport urmtoarele mecanisme: Acest server suport urmtoarele mecanisme: Folosind mecanismul: gsasl-1.8.1/po/sq.po0000644000000000000000000001343713521017731011132 00000000000000# Përkthimi i mesazheve të gsasl në shqip # This file is distributed under the same license as the gsasl package. # Copyright (C) 2004 Free Software Foundation, Inc. # Laurent Dhima , 2004. # msgid "" msgstr "" "Project-Id-Version: gsasl 0.1.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2004-09-11 11:58+0200\n" "Last-Translator: Laurent Dhima \n" "Language-Team: Albanian \n" "Language: sq\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, fuzzy, c-format msgid "Chose SASL mechanisms:\n" msgstr "Zgjidh mekanizmin SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Duke përdorur mekanizmin:\n" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" #: src/gsasl.c:178 #, fuzzy, c-format msgid "Choose SASL mechanism:\n" msgstr "Zgjidh mekanizmin SASL:\n" #: src/gsasl.c:187 #, fuzzy, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Input mekanizmit SASL të suportuar nga serveri:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Rezultati nga serveri:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Rezultati nga klienti:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "" #: src/gsasl.c:422 #, fuzzy, c-format msgid "error listing mechanisms: %s" msgstr "Duke përdorur mekanizmin:\n" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Ky klient suporton mekanizmat në vijim:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Ky server suporton mekanizmat në vijim:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "" #: src/gsasl.c:581 #, fuzzy, c-format msgid "server certificate is not trusted" msgstr "Autentifikimi nga serveri përfundoi (klient i besuar)...\n" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "" #: src/gsasl.c:592 #, c-format msgid "could not verify server certificate (rc=%u)" msgstr "" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "E pamundur gjetja e mekanizmit...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Shto të dhënat me bazë64 të autentifikimit nga klienti (shtyp RET nëse nuk " "duhen):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Shto të dhënat me bazë64 të autentifikimit nga serveri (shtyp RET nëse nuk " "duhen):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Autentifikimi nga serveri përfundoi (klient i besuar)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Autentifikimi i klientit përfundoi (i besuar nga serveri)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Shkruaj të dhënat e programit (EOF për të mbaruar):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Të dhënat e kodifikuara me bazë64 të programit për t'u dërguar:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Seanca përfundoi...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "" #~ msgid "Libgsasl error (%d): %s" #~ msgstr "Gabim i libgsasl (%d): %s" gsasl-1.8.1/po/ro.po0000644000000000000000000001350213521017731011120 00000000000000# Mesajele n limba romn pentru gsasl. # Copyright (C) 2004 Free Software Foundation, Inc. # Acest fiier este distribuit sub aceeai licen ca i pachetul gsasl. # Laurentiu Buzdugan , 2003,2004. # # # msgid "" msgstr "" "Project-Id-Version: gsasl 0.2.2\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2004-12-29 12:00-0500\n" "Last-Translator: Laurentiu Buzdugan \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/imap.c:76 src/smtp.c:79 #, fuzzy, c-format msgid "Chose SASL mechanisms:\n" msgstr "Alegei mecanismul SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Folosind mecanismul:\n" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" #: src/gsasl.c:178 #, fuzzy, c-format msgid "Choose SASL mechanism:\n" msgstr "Alegei mecanismul SASL:\n" #: src/gsasl.c:187 #, fuzzy, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Introducei mecanismul SASL suportat de server:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Ieirea de la server:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Ieirea de la client:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "" #: src/gsasl.c:422 #, fuzzy, c-format msgid "error listing mechanisms: %s" msgstr "Folosind mecanismul:\n" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Acest client suport urmtoarele mecanisme:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Acest server suport urmtoarele mecanisme:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "" #: src/gsasl.c:581 #, fuzzy, c-format msgid "server certificate is not trusted" msgstr "Autentificarea clientului a fost terminat (client de ncredere)...\n" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "" #: src/gsasl.c:592 #, c-format msgid "could not verify server certificate (rc=%u)" msgstr "" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Nu pot gsi mecanismul...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Introducei datele de autentificare base64 de la client (apsai RET dac " "nu exist):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Introducei datele de autentificare base64 de la server (apsai RET dac " "nu exist):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Autentificarea clientului a fost terminat (client de ncredere)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Autentificarea clientului a fost terminat (server de ncredere)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Introducei datele aplicaiei (EOF pentru a termina):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Datele aplicaiei encodate Base64 de trimis:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sesiune terminat...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "" #~ msgid "Libgsasl error (%d): %s" #~ msgstr "Eroare libgsasl (%d): %s" gsasl-1.8.1/po/eu.gmo0000644000000000000000000000346213521017731011261 00000000000000H)Is3(BB-p3//CU9"-A:oMQJ_-x,0   Base64 encoded application data to send: Cannot find mechanism... Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): Output from client: Output from server: Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Using mechanism: Project-Id-Version: gsasl 0.1.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2004-11-05 16:36+0100 Last-Translator: Mikel Olasagasti Language-Team: Basque Language: eu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Bidaliko den aplikazio datuak base64 moduan kodifikatua: Ezin da mekanismoa aurkitu... Bezeroa egiaztatua (zerbitzariak fidatua)... Sartu aplikazioaren datuak (fitxategi-amaiera amaitzeko): Sartu bezeroko egiaztapen datuak base64 moduan (sakatu INTRO behar ez bada): Sartu zerbitzariko egiaztapen datuak base64 moduan (sakatu INTRO behar ez bada): Bezeroaren irteera: Zerbitzariaren irteera: Zerbitzaria egiaztatua (bezeroak fidatua)... Saioa amaituta... Bezero honek mekanismo hauek onartzen ditu: Zerbitzari honek mekanismo hauek onartzen ditu: Mekanismo hau erabiltzen: gsasl-1.8.1/po/remove-potcdate.sin0000644000000000000000000000066013516317611013756 00000000000000# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } gsasl-1.8.1/po/Makefile.in.in0000644000000000000000000004155313516317611012625 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.19 GETTEXT_MACRO_VERSION = 0.19 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SED = @SED@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot POFILESDEPS_yes = $(POFILESDEPS_) POFILESDEPS_no = POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) DISTFILESDEPS_ = update-po DISTFILESDEPS_yes = $(DISTFILESDEPS_) DISTFILESDEPS_no = DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-@USE_NLS@ all-yes: stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. CHECK_MACRO_VERSION = \ test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot @$(CHECK_MACRO_VERSION) test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. # The determination of whether the package xyz is a GNU one is based on the # heuristic whether some file in the top level directory mentions "GNU xyz". # If GNU 'find' is available, we avoid grepping through monster files. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed package_gnu="$(PACKAGE_GNU)"; \ test -n "$$package_gnu" || { \ if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \ -size -10000000c -exec grep 'GNU @PACKAGE@' \ /dev/null '{}' ';' 2>/dev/null; \ else \ LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ fi; \ } | grep -v 'libtool:' >/dev/null; then \ package_gnu=yes; \ else \ package_gnu=no; \ fi; \ }; \ if test "$$package_gnu" = "yes"; then \ package_prefix='GNU '; \ else \ package_prefix=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_prefix}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(POFILESDEPS) @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ esac; \ }; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ esac; \ }; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: # Recreate Makefile by invoking config.status. Explicitly invoke the shell, # because execution permission bits may not work on the current file system. # Use @SHELL@, which is the shell determined by autoconf for the use by its # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gsasl-1.8.1/po/quot.sed0000644000000000000000000000023113516317611011624 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g gsasl-1.8.1/po/pt_BR.po0000644000000000000000000001613413521017731011512 00000000000000# Brazilian Portuguese translations for gsasl package # Traduções em português brasileiro para o pacote gsasl. # Copyright (C) 2018 Free Software Foundation, Inc. # Copyright (C) 2018 Simon Josefsson # This file is distributed under the same license as the gsasl package. # Rafael Fontenelle , 2018. msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2018-04-22 07:01-0300\n" "Last-Translator: Rafael Fontenelle \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Virtaal 1.0.0-beta1\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Escolha os mecanismos SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Usando o mecanismo:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "erro: o servidor não retornou um token\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "erro: não foi possível analisar dados do servidor:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Escolha o mecanismo SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Lista de entrada dos mecanismos SASL aceitos pelo servidor:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Saída do servidor:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Saída de cliente:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Tente \"%s --help\" para obter mais informações.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "faltando argumento" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "é necessário --x509-cert-file e --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "não é possível usar --starttls com --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "não é possível usar --smtp com --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "falha ao inicializar: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "erro ao listar os mecanismos: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Esse cliente oferece suporte aos seguintes mecanismos:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Esse servidor oferece suporte aos seguintes mecanismos:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "a inicialização global de GnuTLS falhou: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "a inicialização de GnuTLS falhou: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "a configuração de padrões do GnuTLS falhou: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "alocando credencial anônima de GnuTLS: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "configurando credencial anônima de GnuTLS: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "alocando credencial X.509 de GnuTLS: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "carregando credencial X.509 de GnuTLS: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "nenhuma AC X.509 localizada: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "nenhuma AC X.509 localizada" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "configurando credencial X.509 de GnuTLS: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "configurando prioridade de cifra de GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "negociação de GnuTLS falhou: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verificando o certificado do par: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "o certificado do servidor não é confiável" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "o certificado do servidor não tem um emissor conhecido" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "o certificado do servidor foi revogado" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "não foi possível verificar o certificado do servidor (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "a obtenção de associação de canal falhou: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Não foi possível localizar o mecanismo...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mecanismo não disponível: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Insira dados de autenticação base64 do cliente (pressione Enter para " "nenhum):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Insira dados de autenticação base64 do servidor (pressione Enter para " "nenhum):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "erro no servidor" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "erro de mecanismo: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Autenticação do servidor finalizada (cliente confiável)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Autenticação do cliente finalizada (servidor confiável)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Insira dados de aplicativo (EOF para finalizar):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Dados de aplicativo codificados em Base64 para enviar:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "registro SASL grande demais: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "erro de codificação: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sessão finalizada...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "Terminação de sessão GnuTLS falhou: %s" gsasl-1.8.1/po/eo.gmo0000644000000000000000000001133713521017731011253 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  - N o  4 , E EL )   8 5H[4y00'$L&^("-#24&g%0 :Ql+! ,+%A'g(&%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 20:27-0300 Last-Translator: Felipe Castro Language-Team: Esperanto Language: eo MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Base64-enkodita aplikaĵ-datumaro por sendi: Ni ne povis trovi mekanismon... Elektu mekanismon SASL: Elektitaj mekanismoj SASL: Klienta aŭtentigo finis (servilo estas fidinda)... Enmetu aplikaĵan datumaron (EOF por fini): Enmetu aŭtentigan datumaron base64 el kliento (premu RET se nenio): Enmetu aŭtentigan datumaron base64 el servilo (premu RET se nenio): Ĝenerala ekigo de GnuTLS malsukcesis: %sKvitanco GnuTLS malsukcesis: %sEkigo de GnuTLS malsukcesis: %sEnig-listo de mekanismoj SASL subtenataj de la servilo: Eligo el kliento: Eligo el servilo: Rikordo SASL tro granda: %zu Servila aŭtentigo finis (kliento estas fidinda)... Seanco finiĝis... Tiu ĉi kliento subtenas la jenajn mekanismojn: Tiu ĉi servilo subtenas la jenajn mekanismojn: Provu '%s --help' por pli da informoj. Uzata mekanismo: rezervo de X.509-legitimilo GnuTLS: %srezervo de sennoma legitimilo GnuTLS: %sne povas uzi kaj --smtp kaj --imapne povas uzi kaj --starttls kaj --no-starttlsenkoda eraro: %seraro dum listigo de mekanismoj: %seraro: ne eblis analizi la servilan datumaron: %s akiro de kanalo-ligado malsukcesis: %sekiga malsukceso: %sŝargo je X.509-legitimilo GnuTLS: %smekanisma eraro: %smekanismo nedisponebla: %smankas argumentonecesas kaj --x509-cert-file kaj --x509-key-fileneniu X.509 CA troviteneniu X.509 CA trovite: %sservila atestilo estas revokataservila atestilo ne havis konatan eldonantoservila atestilo ne estas fidindaservila erarodifino de ĉifra prioritato GnuTLS (%s): %s difino de GnuTLS-defaŭltoj malsukcesis: %sdifino de X.509-legitimilo GnuTLS: %sdifino de sennoma legitimilo GnuTLS: %sĉesigo de seanco GnuTLS malsukcesis: %skontrolado de samtavolana atestilo: %sgsasl-1.8.1/po/fi.gmo0000644000000000000000000001161213521017731011242 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  2P    4 1 H6 I $ 1/aw 4,-')U#&AL&s0*# 1#DhL|(,-;"i -($'/>n%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 14:53+0200 Last-Translator: Jorma Karvonen Language-Team: Finnish Language: fi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=n != 1; Base64-koodattua sovellusdataa lähetettävänä: Mekanismia ei löydy... Valitse SASL-mekanismi: Valitse SASL-mekanismit: Asiakasvarmennus päättynyt (palvelin luotettu)... Kirjoita sovellusdataa (Päätä EOF-merkillä): Kirjoita base64-varmennedataa asiakkaalta (paina RET, jos ei mitään): Kirjoita base64-varmennedataa palvelimelta (paina RET, jos ei mitään): GnuTLS-yleisalustus epäonnistui: %sGnuTLS-kättely epäonnistui: %sGnuTLS-alustus epäonnistui: %sPalvelin tukee SASL-mekanismien syöteluetteloa: Tuloste asiakkaalta: Tuloste palvelimelta: SASL-tietue on liian suuri: %zu Palvelinvarmennus päättynyt (asiakas luotettu)... Istunto päättyi... Tämä asiakas tukee seuraavia mekanismeja: Tämä palvelin tukee seuraavia mekanismeja: Lisätietoja käskyllä ”%s --help”. Käytetään mekanismia: varataan X.509 GnuTLS-valtuutus: %svarataan anonyymi GnuTLS-valtuutus: %sei voi käyttää sekä valitsinta --smtp että valitsinta --imapei voi käyttää sekä valitsinta --starttls että valitsinta --no-starttlskoodausvirhe: %svirheluettelomekanismit: %svirhe: ei voitu jäsentää palvelintietoja: %s kanavasitomisen hakeminen epäonnistui: %salustusvirhe: %sladataan X.509 GnuTLS-valtuutus: %smekanismivirhe: %smekanismi on tavoittamattomissa: %spuuttuva argumenttitarvitsee sekä valitsimen --x509-cert-file että valitsimen --x509-key-fileei löytynyt X.509-varmennusviranomaisiaei löytynyt X.509-varmennusviranomaisia: %spalvelinvarmenne on peruttupalvelinvarmenteen julkaisija ei ole tunnettupalvelinvarmenne ei ole luotettavapalvelinvirheasetetaan GnuTLS-salausprioriteetti (%s): %s GnuTLS-oletusten asetus epäonnistui: %sasetetaan X.509 GnuTLS-valtuutus: %sasetetaan anonyymi GnuTLS-valtuutus: %sGnuTLS-istunnon päättäminen epäonnistui: %stodenna vertaisvarmenne: %sgsasl-1.8.1/po/en@quot.po0000644000000000000000000001712613521017730012120 00000000000000# English translations for gsasl package. # Copyright (C) 2019 Simon Josefsson # This file is distributed under the same license as the gsasl package. # Automatically generated, 2019. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.8.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2019-08-02 13:30+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en@quot\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Chose SASL mechanisms:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Using mechanism:\n" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "warning: server did not return a token\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "error: could not parse server data:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Choose SASL mechanism:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Input list of SASL mechanisms supported by server:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Output from server:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Output from client:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Try ‘%s --help’ for more information.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "missing argument" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "need both --x509-cert-file and --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "cannot use both --starttls and --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "cannot use both --smtp and --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "initialization failure: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "error listing mechanisms: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "This client supports the following mechanisms:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "This server supports the following mechanisms:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS global initialization failed: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS initialization failed: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "setting GnuTLS defaults failed: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "allocating anonymous GnuTLS credential: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "setting anonymous GnuTLS credential: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "allocating X.509 GnuTLS credential: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "loading X.509 GnuTLS credential: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "no X.509 CAs found: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "no X.509 CAs found" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "setting X.509 GnuTLS credential: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "setting GnuTLS cipher priority (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS handshake failed: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verifying peer certificate: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "server certificate is not trusted" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "server certificate hasn't got a known issuer" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "server certificate has been revoked" #: src/gsasl.c:592 #, c-format msgid "could not verify server certificate (rc=%u)" msgstr "could not verify server certificate (rc=%u)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "getting channel binding failed: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Cannot find mechanism...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mechanism unavailable: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "Enter base64 authentication data from client (press RET if none):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "Enter base64 authentication data from server (press RET if none):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "server error" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "mechanism error: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Server authentication finished (client trusted)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Client authentication finished (server trusted)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Enter application data (EOF to finish):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64 encoded application data to send:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL record too large: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "encoding error: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Session finished...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "terminating GnuTLS session failed: %s" gsasl-1.8.1/po/sr.gmo0000644000000000000000000001406013521017731011270 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  R 2 ( (G dp G J#7n9X9W4sd& F4D{A6 AWCN!,2NVF%6E|(#HB0Es3H<6sG_47?lH:%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-24 22:19+0200 Last-Translator: Мирослав Николић Language-Team: Serbian Language: sr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); Кодирани подаци програма у основи64 за слање: Не могу да пронађем метод... Изаберите САСЛ метод: Изаберите САСЛ метод: Потврђивање клијента је завршено (серверу се верује)... Унесите податке за обраду ( за крај): Унесите податке за потврду клијента у основи64 (притисните за ништа): Унесите податке за потврду сервера у основи64 (притисните за ништа): није успело глобално ГнуТЛС покретање: %sније успело ГнуТЛС руковање: %sније успело ГнуТЛС покретање: %sУлазни списак САСЛ метода које подржава сервер: Излаз клијента: Излаз сервера: Снимак САСЛ-а је превелик: %zu Потврђивање сервера је завршено (клијенту се верује)... Сесија је завршена... Овај клијент подржава следеће методе: Овај сервер подржава следеће методе: Пробајте „%s --help“ за више података. Користим метод: добављам X.509 ГнуТЛС уверење: %sдобављам анонимно ГнуТЛС уверење: %sне могу да користим и „--smtp“ и „--imap“не могу да користим и „--starttls“ и „--no-starttls“грешка кодирања: %sгрешка исписивања метода: %sгрешка: не могу да рашчланим податке сервера: %s није успело добављање везова канала: %sнеуспех покретања: %sучитавам X.509 ГнуТЛС уверење: %sгрешка метода: %sметод није доступан: %sнедостаје аргументпотребни су и „--x509-cert-file“ и „--x509-key-file“нисам пронашао Х.509 издаваче уверењанисам пронашао X.509 издаваче уверења: %sуверење сервера је повученоуверење сервера нема познатог издавачауверење сервера није од поверењагрешка серверазадајем приоритет ГнуТЛС шифрера (%s): %s није успело подешавање основних ГнуТЛС вредности: %sзадајем X.509 ГнуТЛС уверење: %sзадајем анонимно ГнуТЛС уверење: %sније успело завршавање ГнуТЛС сесије: %sпроверавам парњаково уверење: %sgsasl-1.8.1/po/pt_BR.gmo0000644000000000000000000001206713521017731011657 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  7} ,   > 1Y P Q -.!\&~<! >-l781&';*c(3 8&0_)1Mi&7,4&1[+.)$%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2018-04-22 07:01-0300 Last-Translator: Rafael Fontenelle Language-Team: Brazilian Portuguese Language: pt_BR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n > 1); X-Generator: Virtaal 1.0.0-beta1 Dados de aplicativo codificados em Base64 para enviar: Não foi possível localizar o mecanismo... Escolha o mecanismo SASL: Escolha os mecanismos SASL: Autenticação do cliente finalizada (servidor confiável)... Insira dados de aplicativo (EOF para finalizar): Insira dados de autenticação base64 do cliente (pressione Enter para nenhum): Insira dados de autenticação base64 do servidor (pressione Enter para nenhum): a inicialização global de GnuTLS falhou: %snegociação de GnuTLS falhou: %sa inicialização de GnuTLS falhou: %sLista de entrada dos mecanismos SASL aceitos pelo servidor: Saída de cliente: Saída do servidor: registro SASL grande demais: %zu Autenticação do servidor finalizada (cliente confiável)... Sessão finalizada... Esse cliente oferece suporte aos seguintes mecanismos: Esse servidor oferece suporte aos seguintes mecanismos: Tente "%s --help" para obter mais informações. Usando o mecanismo: alocando credencial X.509 de GnuTLS: %salocando credencial anônima de GnuTLS: %snão é possível usar --smtp com --imapnão é possível usar --starttls com --no-starttlserro de codificação: %serro ao listar os mecanismos: %serro: não foi possível analisar dados do servidor: %s a obtenção de associação de canal falhou: %sfalha ao inicializar: %scarregando credencial X.509 de GnuTLS: %serro de mecanismo: %smecanismo não disponível: %sfaltando argumentoé necessário --x509-cert-file e --x509-key-filenenhuma AC X.509 localizadanenhuma AC X.509 localizada: %so certificado do servidor foi revogadoo certificado do servidor não tem um emissor conhecidoo certificado do servidor não é confiávelerro no servidorconfigurando prioridade de cifra de GnuTLS (%s): %s a configuração de padrões do GnuTLS falhou: %sconfigurando credencial X.509 de GnuTLS: %sconfigurando credencial anônima de GnuTLS: %sTerminação de sessão GnuTLS falhou: %sverificando o certificado do par: %sgsasl-1.8.1/po/eo.po0000644000000000000000000001606313521017730011107 00000000000000# Esperanto translation. # Copyright (C) 2011, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Felipe Castro , 2011, 2012. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 20:27-0300\n" "Last-Translator: Felipe Castro \n" "Language-Team: Esperanto \n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Elektitaj mekanismoj SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Uzata mekanismo:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "eraro: servilo ne liveris ĵetonon\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "eraro: ne eblis analizi la servilan datumaron:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Elektu mekanismon SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Enig-listo de mekanismoj SASL subtenataj de la servilo:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Eligo el servilo:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Eligo el kliento:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Provu '%s --help' por pli da informoj.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "mankas argumento" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "necesas kaj --x509-cert-file kaj --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "ne povas uzi kaj --starttls kaj --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "ne povas uzi kaj --smtp kaj --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "ekiga malsukceso: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "eraro dum listigo de mekanismoj: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Tiu ĉi kliento subtenas la jenajn mekanismojn:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Tiu ĉi servilo subtenas la jenajn mekanismojn:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "Ĝenerala ekigo de GnuTLS malsukcesis: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "Ekigo de GnuTLS malsukcesis: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "difino de GnuTLS-defaŭltoj malsukcesis: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "rezervo de sennoma legitimilo GnuTLS: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "difino de sennoma legitimilo GnuTLS: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "rezervo de X.509-legitimilo GnuTLS: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "ŝargo je X.509-legitimilo GnuTLS: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "neniu X.509 CA trovite: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "neniu X.509 CA trovite" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "difino de X.509-legitimilo GnuTLS: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "difino de ĉifra prioritato GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "Kvitanco GnuTLS malsukcesis: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "kontrolado de samtavolana atestilo: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "servila atestilo ne estas fidinda" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "servila atestilo ne havis konatan eldonanto" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "servila atestilo estas revokata" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "ni ne povis kontroli servilan atestilon (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "akiro de kanalo-ligado malsukcesis: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Ni ne povis trovi mekanismon...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mekanismo nedisponebla: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "Enmetu aŭtentigan datumaron base64 el kliento (premu RET se nenio):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "Enmetu aŭtentigan datumaron base64 el servilo (premu RET se nenio):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "servila eraro" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "mekanisma eraro: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Servila aŭtentigo finis (kliento estas fidinda)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Klienta aŭtentigo finis (servilo estas fidinda)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Enmetu aplikaĵan datumaron (EOF por fini):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64-enkodita aplikaĵ-datumaro por sendi:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "Rikordo SASL tro granda: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "enkoda eraro: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Seanco finiĝis...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "ĉesigo de seanco GnuTLS malsukcesis: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "eraro: Servilo ne redonis atenditan datumaron SASL (ĝi devas komenciĝi " #~ "per '334 '):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "eraro: Servilo ne redonis atenditan datumaron SASL (ĝi devas komenciĝi " #~ "per '+ '):\n" #~ "%s\n" gsasl-1.8.1/po/sv.po0000644000000000000000000001723013521017731011132 00000000000000# Swedish translations for gsasl package # Copyright (C) 2002, 2006, 2009, 2010, 2017, 2018 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Simon Josefsson , 2002. # Daniel Nylander , 2006, 2009, 2010. # Sebastian Rasmussen , 2017, 2018. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2018-07-27 11:24+0800\n" "Last-Translator: Sebastian Rasmussen \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 2.0.9\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Valde SASL-mekanismer:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Använder mekanism:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "fel: server returnerade inte en symbol\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "fel: kunde inte tolka serverdata:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Välj SASL-mekanism:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Mata in lista på de SASL-mekanismer som stöds av servern:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Utdata från server:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Utdata från klient:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prova ”%s --help” för mer information.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "argument saknas" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "behöver både --x509-cert-file och --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "kan inte använda både --starttls och --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "kan inte använda både --smtp och --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "initieringsfel: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "fel vid listning av mekanismer: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Den här klienten stöder följande mekanismer:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Den här servern stöder följande mekanismer:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS globalt initieringsfel: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS initieringsfel: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "inställning av GnuTLS förvalda värden misslyckades: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "allokerar anonym GnuTLS-behörighet: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "ställer in anonym GnuTLS-behörighet: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "allokerar X.509 GnuTLS-behörighet: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "läser in X.509 GnuTLS-behörighet: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "inga X.509 CA hittades: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "inga X.509 CA hittades" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "ställer in X.509 GnuTLS-behörighet: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "ställer in prioritet för GnuTLS-chiffer (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS handskakning misslyckades: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "validerar motpartscertifikat: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "servercertifikat är ej pålitligt" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "servercertifikat har inte en känd utgivare" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "servercertifikat har återkallats" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "kunde inte validera servercertifikat (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "hämtning av kanalbindning misslyckades: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Kan inte hitta mekanism...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mekanism ej tillgänglig: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Mata in base64-autentiseringsdata från klient (finns inget data, tryck " "RETUR):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Mata in base64 autentiseringsdata från server (finns inget data, tryck " "RETUR):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "serverfel" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "mekanismfel: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Serverautentisering avslutad (klient verifierad)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Klientautentisering avslutat (server verifierad)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Mata in applikationsdata (EOF för att avsluta):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64-kodad applikationsdata att skicka:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL-posten är för stor: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "kodningsfel: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Session avslutad...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "terminering av GnuTLS-session misslyckades: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "fel: Servern returnerade inte förväntat SASL-data (det måste börja med " #~ "\"+ \"):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "fel: Servern returnerade inte förväntat SASL-data (det måste börja med " #~ "\"334 \"):\n" #~ "%s\n" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Kan inte initiera Windows-uttag." #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "saknar argument\n" #~ "Försök med \"%s --help\" för mer information." #~ msgid "Libgsasl error (%d): %s\n" #~ msgstr "Libgsasl fel (%d): %s\n" gsasl-1.8.1/po/da.gmo0000644000000000000000000001137313521017731011234 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r x $ / M d 4| + D D" ,g % < .D4`440G%Z&%0")2(\%14!R't+$ ;.4#c$,!%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2015-05-01 18:00+0200 Last-Translator: Joe Hansen Language-Team: Danish Language: da MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Base64-kodede programdata at sende: Kan ikke finde mekanisme ... Vælg SASL-mekanisme: Vælg SASL-mekanismer: Klientgodkendelse afsluttet (server troværdig) ... Indtast programdata (EOF for at afslutte): Indtast base64-godkendelsesdata fra klienten (tast RET hvis ingen): Indtast base64-godkendelsesdata fra serveren (tast RET hvis ingen): GnuTLS global initialisering mislykkedes: %sGnuTLS-håndtryk mislykkedes: %sGnuTLS-initialisering mislykkedes: %sInddataliste for SASL-mekanismer understøttet af serveren: Uddata fra klienten: Uddata fra serveren: SASL-post er for stor: %zu Servergodkendelse afsluttet (klient troværdig) ... Session afsluttet ... Denne klient understøtter de følgende mekanismer: Denne server understøtter de følgende mekanismer: Prøv »%s --help« for yderligere information. Bruger mekanisme: allokerer X.509 GnuTLS-akkreditiv: %sallokerer anonym GnuTLS-akkreditiv: %skan ikke bruge både --smtp og --imapkan ikke bruge både --starttls og --no-starttlskodningsfejl: %sfejl ved visning af mekanismer: %sfejl: kunne ikke fortolke serverdata: %s hentning af kanalbinding mislykkedes: %sinitialiseringsfejl: %sindlæser X.509 GnuTLS-akkreditiv: %smekanismefejl: %smekanisme utilgængelig: %smangler argumentkræver både --x509-cert-file og --x509-key-fileingen X.509 CA'er blev fundetingen X.509 CA'er blev fundet: %sservercertifikat er blevet tilbagekaldtservercertifikat har ikke en kendt udstederservercertifikat er ikke troværdigtserverfejlangiver prioritet for GnuTLS-krypteringsalgoritme (%s): %s angivelse af GnuTLS-standarder mislykkedes: %sangiver X.509 GnuTLS-akkreditiv: %sangiver anonym GnuTLS-akkreditiv: %safslutning af GnuTLS-session mislykkedes: %sverificerer modpartcertifikat: %sgsasl-1.8.1/po/zh_TW.gmo0000644000000000000000000001117513521017731011703 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  3C w   * 2 _ _w !  1.`w*%%*5`q$/ +9e 4$7Ok("%?e%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2013-02-12 23:45+0800 Last-Translator: Wei-Lun Chao Language-Team: Chinese (traditional) Language: zh_TW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=1; plural=0; 要傳送之 Base64 編碼的應用程式資料: 找不到機制… 選擇 SASL 機制: 選擇 SASL 機制: 客戶端認證完成(伺服器可信)… 輸入應用程式資料(用 EOF 結束輸入): 輸入客戶端傳送之 base64 編碼的應用程式資料(如果沒有,請按輸入鍵): 輸入伺服器傳送之 base64 編碼的應用程式資料(如果沒有,請按輸入鍵): GnuTLS 全域初始化失敗:%sGnuTLS 交握失敗:%sGnuTLS 初始化失敗:%s輸入伺服器所支援的 SASL 機制清單: 客戶端的輸出: 伺服器的輸出: SASL 記錄太大:%zu 伺服器認證完成(客戶端可信)… 作業階段結束… 這個客戶端支援以下機制: 這個伺服器支援以下機制: 嘗試 %s --help 以獲得更多資訊。 使用機制: 配置 X.509 GnuTLS 憑據:%s配置匿名 GnuTLS 憑據:%s不能同時使用 --smtp 和 --imap不能同時使用 --starttls 和 --no-starttls編碼錯誤:%s列出機制時發生錯誤:%s錯誤:無法剖析伺服器資料: %s 提取頻道繫結失敗:%s初始化失敗:%s載入 X.509 GnuTLS 憑據:%s機制錯誤:%s機制無法使用:%s缺少引數既需要 --x509-cert-file 也需要 --x509-key-file找不到 X.509 CA找不到 X.509 CA:%s伺服器憑證已被吊銷伺服器憑證發行者不明伺服器憑證不可信伺服器錯誤設定 GnuTLS 密碼優先權 (%s):%s 設定 GnuTLS 預設值失敗:%s設定 X.509 GnuTLS 憑據:%s設定匿名 GnuTLS 憑據:%s終止 GnuTLS 作業階段失敗:%s驗證節點憑證:%sgsasl-1.8.1/po/sk.gmo0000644000000000000000000001206513521017731011264 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  4R %   < 2 LR L + !4;V&< /9/i415+Q6})3&'N3g @6":Y!.( .3K04&( %+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-07-03 01:00+0100 Last-Translator: Ivan Masár Language-Team: Slovak Language: sk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2); Dáta aplikácie v base64, ktoré sa majú poslať: Nepodarilo sa nájsť mechanizmus... Vyberte mechanizmus SASL: Vyberte mechanizmy SASL: Overenie u klienta dokončené (server je dôveryhodný)... Zadajte dáta aplikácie (ukončite pomocou EOF): Zadajte overovacie údaje v base64 od klienta (ak žiadne, stlačte Enter): Zadajte overovacie údaje v base64 od servera (ak žiadne, stlačte Enter): globálna inicializácia GnuTLS zlyhala: %szlyhal GnuTLS handshake: %sinicializácia GnuTLS zlyhala: %sVstupný zoznam mechanizmov SASL, ktoré server podporuje: Výstup od klienta: Výstup zo servera: Záznam SASL je príliš veľký: %zu Overenie u servera dokončené (klient je dôveryhodný)... Relácia dokončená... Tento klient podporuje nasledovné mechanizmy: Tento server podporuje nasledovné mechanizmy: Viac informácií získate pomocou „%s --help“. Používa sa mechanizmus: vyhradzujú sa X.509 overovacie údaje GnuTLS: %svyhradzujú sa anonymné overovacie údaje GnuTLS: %snemožno použiť súčasne --smtp a --imapnemožno použiť súčasne --starttls a --no-starttlschyba kódovania: %schyba pri výpise zoznamu mechanizmov: %schyba: nebolo možné spracovať dáta servera: %s zlyhalo získavanie väzby kanála: %schyba inicializácie: %snačítavajú sa X.509 overovacie údaje GnuTLS: %schyba mechanizmu: %smechanizmus nie je dostupný: %schýba argumentvyžadujú sa oba argumenty: --x509-cert-file aj --x509-key-fileneboli nájdené žiadne X.509 certifikačné autorityneboli nájdené žiadne X.509 certifikačné autority: %scertifikát servera bol odvolanýcertifikát servera nemá známeho vydavateľacertifikát servera nie je dôveryhodnýchyba serveranastavuje sa priorita šifier GnuTLS (%s): %s nastavenie predvolených hodnôt GnuTLS zlyhalo: %snastavujú sa X.509 overovacie údaje GnuTLS: %snastavujú sa anonymné overovacie údaje GnuTLS: %sukončenie relácie GnuTLS zlyhalo: %soveruje sa certifikát druhej strany: %sgsasl-1.8.1/po/nl.gmo0000644000000000000000000001176113521017731011262 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  4V    ; 9 KL J , #07T;/.K&z36+ 6L",+.'Vf?+/ 3-T& =42'5Z,3%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-22 21:18+0200 Last-Translator: Benno Schulenberg Language-Team: Dutch Language: nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. X-Generator: Lokalize 1.0 Plural-Forms: nplurals=2; plural=(n != 1); Te verzenden base64-gecodeerde toepassingsgegevens: Kan methode niet vinden... Kies de SASL-methode: Gekozen SASL-methoden: Cliëntauthenticatie is voltooid (server wordt vertrouwd). Voer toepassingsgegevens in (geef EOF om af te sluiten): Geef base64-authenticatiegegevens van de cliënt (druk op Enter als geen): Geef base64-authenticatiegegevens van de server (druk op Enter als geen): algemene GnuTLS-initialisatie is mislukt: %sGnuTLS-handshake is mislukt: %sGnuTLS-initialisatie is mislukt: %sInvoerlijst van SASL-methoden ondersteund door server: Cliëntuitvoer: Serveruitvoer: SASL-record is te lang: %zu Serverauthenticatie is voltooid (cliënt wordt vertrouwd). Sessie is voltooid. Deze cliënt ondersteunt de volgende methoden: Deze server ondersteunt de volgende methoden: Typ '%s --help' voor meer informatie. Gebruikte methode: reserveren van X.509 GnuTLS-vertrouwensgegevens: %sreserveren van anonieme GnuTLS-vertrouwensgegevens: %sopties '--smtp' en '--imap' gaan niet samenopties '--starttls' en '--no-starttls' gaan niet samencoderingsfout: %sfout bij opsommen van methoden: %sFout: kan server-gegevens niet ontleden: %s verkrijgen van kanaalbinding is mislukt: %sinitialisatiefout: %sladen van X.509 GnuTLS-vertrouwensgegevens: %smethodefout: %smethode is onbeschikbaar: %sontbrekend argumentopties '--x509-cert-file' en '--x509-key-file' zijn beide nodiggeen X.509 certificaatautoriteiten gevondengeen X.509 certificaatautoriteiten gevonden: %sservercertificaat is ingetrokkenservercertificaat heeft geen bekende uitgeverservercertificaat wordt niet vertrouwdserverfoutinstellen van GnuTLS-sleuteluitwisselingsprioriteit (%s): %s instellen van GnuTLS-standaardwaarden is mislukt: %sinstellen van X.509 GnuTLS-vertrouwensgegevens: %sinstellen van anonieme GnuTLS-vertrouwensgegevens: %sbeëindigen van GnuTLS-sessie is mislukt: %sverifiëren van certificaat van andere computer: %sgsasl-1.8.1/po/id.gmo0000644000000000000000000001043313521017731011240 00000000000000*l;)3(9BbB' ,3M3//$&T{&*!,.A^#y. #$,H!u("#' %/ U t + #4 X /o / G H $`   7   /# S 'd ( /  * +()T4~#% 1I5f7!**Lw"# )'!& *" (#$  % Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %sneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl-1.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2010-01-27 07:30+0700 Last-Translator: Arif E. Nugroho Language-Team: Indonesian Language: id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Data aplikasi berkode base64 yang dikirim: Tidak dapat menemukan mekanisme... Pilih mekanisme SASL: Otentikasi klien selesai (server dipercaya)... Masukkan data aplikasi (EOF untuk mengakhiri): Masukkan data otentikasi base64 dari klien (tekan RET bila tidak ada): Masukkan data otentikasi base64 dari server (tekan RET bila tidak ada): Inisialisasi global GnuTLS gagal: %sKegagalan handshake GnuTLS: %sInisialisasi GnuTLS gagal: %sDaftar input mekanisme SASL yang didukung oleh server: Output dari klien: Output dari server: Otentikasi server selesai (klien dipercaya)... Sesi selesai... Klien ini mendukung mekanisme berikut: Server ini mendukung mekanisme berikut: Coba `%s' --help untuk informasi lebih lanjut. Menggunakan mekanisme: mengalokasikan kredensial GnuTLS X.509: %smengalokasikan kredensial GnuTLS anonim: %stidak dapat menggunakan --smtp dan --imaptidak dapat menggunakan --starttls dan --no-starttlskesalahan pengkodean: %skesalahan menampilkan mekanisme: %skegagalan inisialisasi: %smemuatkan kredensial GnuTLS X.509: %skesalahan mekanisme: %smekanisme tidak tersedia: %smembutuhkan file --x509-cert-file dan --x509-key-filetidak ditemukan CA X.509tidak ditemukan CA X.509: %ssertifikat server telah dicabutsertifikat server tidak berisikan penerbit yang dikenalsertifikat server tidak dipercayamenset prioritas penyandi GnuTLS (%s): %s seting baku GnuTLS gagal: %smenset kredensial GnuTLS X.509: %smenset kredensial GnuTLS anonim: %sgagal mengakhiri sesi GnuTLS: %sverifikasi sertifikat peer: %sgsasl-1.8.1/po/sk.po0000644000000000000000000001722313521017731011121 00000000000000# Slovak translation of gsasl # Copyright (C) 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Ivan Masár , 2009, 2010, 2012. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-07-03 01:00+0100\n" "Last-Translator: Ivan Masár \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Vyberte mechanizmy SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Používa sa mechanizmus:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "chyba: server nevrátil token\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "chyba: nebolo možné spracovať dáta servera:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Vyberte mechanizmus SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Vstupný zoznam mechanizmov SASL, ktoré server podporuje:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Výstup zo servera:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Výstup od klienta:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Viac informácií získate pomocou „%s --help“.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "chýba argument" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "vyžadujú sa oba argumenty: --x509-cert-file aj --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "nemožno použiť súčasne --starttls a --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "nemožno použiť súčasne --smtp a --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "chyba inicializácie: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "chyba pri výpise zoznamu mechanizmov: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Tento klient podporuje nasledovné mechanizmy:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Tento server podporuje nasledovné mechanizmy:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "globálna inicializácia GnuTLS zlyhala: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "inicializácia GnuTLS zlyhala: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "nastavenie predvolených hodnôt GnuTLS zlyhalo: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "vyhradzujú sa anonymné overovacie údaje GnuTLS: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "nastavujú sa anonymné overovacie údaje GnuTLS: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "vyhradzujú sa X.509 overovacie údaje GnuTLS: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "načítavajú sa X.509 overovacie údaje GnuTLS: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "neboli nájdené žiadne X.509 certifikačné autority: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "neboli nájdené žiadne X.509 certifikačné autority" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "nastavujú sa X.509 overovacie údaje GnuTLS: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "nastavuje sa priorita šifier GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "zlyhal GnuTLS handshake: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "overuje sa certifikát druhej strany: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "certifikát servera nie je dôveryhodný" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "certifikát servera nemá známeho vydavateľa" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "certifikát servera bol odvolaný" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "certifikát servera sa nepodarilo overiť (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "zlyhalo získavanie väzby kanála: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Nepodarilo sa nájsť mechanizmus...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mechanizmus nie je dostupný: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Zadajte overovacie údaje v base64 od klienta (ak žiadne, stlačte Enter):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Zadajte overovacie údaje v base64 od servera (ak žiadne, stlačte Enter):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "chyba servera" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "chyba mechanizmu: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Overenie u servera dokončené (klient je dôveryhodný)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Overenie u klienta dokončené (server je dôveryhodný)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Zadajte dáta aplikácie (ukončite pomocou EOF):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Dáta aplikácie v base64, ktoré sa majú poslať:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "Záznam SASL je príliš veľký: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "chyba kódovania: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Relácia dokončená...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "ukončenie relácie GnuTLS zlyhalo: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "chyba: Server nevrátil očakávané údaje SASL (musia začínať „+ “):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "chyba: Server nevrátil očakávané údaje SASL (musia začínať „334 “):\n" #~ "%s\n" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Nepodarilo sa inicializovať Windows sockets." #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "chýba argument\n" #~ "Viac informácií získate pomocou „%s --help“." gsasl-1.8.1/po/pl.po0000644000000000000000000001563113521017731011120 00000000000000# Polish translation for gsasl. # Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Jakub Bogusz , 2004-2012. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-21 19:10+0200\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Wybór mechanizmów SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Użycie mechanizmu:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "błąd: serwer nie zwrócił tokenu\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "błąd: nie udało się przeanalizować danych z serwera:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Wybór mechanizmów SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Wejściowa lista mechanizmów SASL obsługiwanych przez serwer:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Wyjście serwera:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Wyjście klienta:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Polecenie `%s --help' pozwoli uzyskać więcej informacji.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "brak argumentu" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "wymagane jest zarówno --x509-cert-file jak i --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "nie można użyć --starttls i --nostarttls jednocześnie" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "nie można użyć --smtp i --imap jednocześnie" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "błąd inicjalizacji: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "błąd wypisywania mechanizmów: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Mechanizmy obsługiwane przez tego klienta:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Mechanizmy obsługiwane przez ten serwer:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "Globalna inicjalizacja GnuTLS nie powiodła się: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "Inicjalizacja GnuTLS nie powiodła się: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "ustawienie wartości domyślnych GnuTLS nie powiodło się: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "przydzielanie anonimowych danych uwierzytelniających GnuTLS: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "ustawianie anonimowych danych uwierzytelniających GnuTLS: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "przydzielanie danych uwierzytelniających X.509 GnuTLS: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "wczytywanie danych uwierzytelniających X.509 GnuTLS: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "nie znaleziono CA X.509: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "nie znaleziono CA X.509" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "ustawianie danych uwierzytelniających X.509 GnuTLS: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "ustawianie priorytetu szyfrów GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "powitanie GnuTLS nie powiodło się: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "sprawdzanie certyfikatu drugiej strony: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "certyfikat serwera nie jest zaufany" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "certyfikat serwera nie ma znanego wystawcy" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "certyfikat serwera został anulowany" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "nie można zweryfikować certyfikatu serwera (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "pobranie przypisania kanału nie powiodło się: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Nie znaleziono mechanizmu...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mechanizm niedostępny: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "Dana uwierzytelniające base64 od klienta (RET jeśli żadne):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "Dane uwierzytelniające base64 od serwera (RET jeśli żadne):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "błąd serwera" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "błąd mechanizmu: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Uwierzytelnienie serwera zakończone (klient zaufał)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Uwierzytelnienie klienta zakończone (serwer zaufał)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Dane aplikacji (EOF aby zakończyć):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Zakodowane base64 dane aplikacji do wysłania:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "Rekord SASL zbyt duży: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "błąd kodowania: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sesja zakończona...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "zakończenie sesji GnuTLS nie powiodło się: %s" gsasl-1.8.1/po/hr.gmo0000644000000000000000000001176013521017731011261 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  -    7( 0` E J 0"!S'u:7T,k11&)8#b.48W's.#/"S2v%15(M+v+!%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-08-13 23:09+0200 Last-Translator: Tomislav Krznar Language-Team: Croatian Language: hr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); X-Generator: Lokalize 1.4 Base64 kodirani programski podaci za slanje: Ne mogu pronaći mehanizam... Odaberite SASL mehanizam: Odaberite SASL mehanizme: Ovjera klijenta završena (poslužitelj je pouzdan)... Unesite programske podatke (EOF za završetak): Unesite base64 podatke ovjere klijenta (pritisnite RET ako ih nema): Unesite base64 podatke ovjere poslužitelja (pritisnite RET ako ih nema): GnuTLS globalna inicijalizacija nije uspjela: %sGnuTLS rukovanje nije uspjelo: %sGnuTLS inicijalizacija nije uspjela: %sUlazni popis SASL mehanizama koje podržava poslužitelj: Ispis klijenta: Ispis poslužitelja: SASL zapis je prevelik: %zu Ovjera poslužitelja završena (klijent je pouzdan)... Sjednica završena... Ovaj klijent podržava sljedeće mehanizme: Ovaj poslužitelj podržava sljedeće mehanizme: Pokušajte „%s --help” za više informacija. Koristim mehanizam: alociram X.509 GnuTLS vjerodajnicu: %salociram anonimnu GnuTLS vjerodajnicu: %sne mogu koristiti i --smtp i --imapne mogu koristiti i --starttls i --no-starttlsgreška kodiranja: %sgreška ispisa mehanizama: %sgreška: ne mogu obraditi podatke poslužitelja: %s nisam uspio dohvatiti dodijeljene vrijednosti kanala: %sgreška inicijalizacije: %sučitavam X.509 GnuTLS vjerodajnicu: %sgreška mehanizma: %smehanizam nije dostupan: %snedostaje argumentzahtijeva i --x509-cert-file i --x509-key-filenijedan X.509 CA nije pronađennijedan X.509 CA nije pronađen: %scertifikat poslužitelja je ukinutcertifikat poslužitelja nema poznatog izdavateljacertifikat poslužitelja nije pouzdangreška poslužiteljapostavljam GnuTLS prioritet šifriranja (%s): %s postavljanje GnuTLS zadanih postavki nije uspjelo: %spostavljam X.509 GnuTLS vjerodajnicu: %spostavljam anonimnu GnuTLS vjerodajnicu: %sprekidanje GnuTLS sjednice nije uspjelo: %sprovjeravam certifikat člana: %sgsasl-1.8.1/po/de.gmo0000644000000000000000000001210713521017731011234 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  1 !Q s  @ 1 L" Lo 5 $ -FE@1)1[88;1Q<),/,"\2 ;9S&p21 ; :E69-'%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 21:53+0100 Last-Translator: Roland Illig Language-Team: German Language: de MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Base64-codierte Anwendungsdaten zum Verschicken: Kann Mechanismus nicht finden... SASL-Mechanismus auswählen: SASL-Mechanismen auswählen: Client-Authentifizierung abgeschlossen (der Server vertraut)... Geben Sie Anwendungsdaten ein (EOF zum Beenden): Geben Sie Base64-Authentifizierungsdaten vom Client ein (ENTER für keine): Geben Sie Base64-Authentifizierungsdaten vom Server ein (ENTER für keine): Globale Initialisierung von GnuTLS fehlgeschlagen: %sGnuTLS-Handschlag fehlgeschlagen: %sInitialisierung von GnuTLS fehlgeschlagen: %sSASL-Eingabemechanismen eingeben, die vom Server unterstützt werden: Ausgabe vom Client: Ausgabe vom Server: SASL-Datensatz zu groß: %zu Server-Authentifizierung abgeschlossen (der Client vertraut)... Sitzung beendet... Dieser Client unterstützt folgende Mechanismen: Dieser Server unterstützt folgende Mechanismen: Versuchen Sie »%s --help« für weitere Informationen. Benutze Mechanismus: Reservieren des X.509-GnuTLS-Berechtigungsnachweises: %sReservieren des anonymen GnuTLS-Berechtigungsnachweises: %sKann nicht --smtp und --imap gleichzeitig nutzen.Kann nicht --starttls und --no-starttls gleichzeitig nutzen.Codierungsfehler: %sFehler beim Auflisten der Mechanismen: %sFehler: konnte Serverdaten nicht parsen: %s Ermitteln der Kanalbindungen fehlgeschlagen: %sInitialisierung fehlgeschlagen: %sLaden des X.509-GnuTLS-Berechtigungsnachweises: %sMechanismus-Fehler: %sMechanismus nicht verfügbar: %sFehlendes ArgumentBenötigt sowohl --x509-cert-file als auch --x509-key-file.Keine X.509-CAs gefunden.Keine X.509-CAs gefunden: %sServerzertifikat wurde zurückgezogen.Serverzertifikat hat keinen bekannten Herausgeber.Das Serverzertifikat ist nicht vertrauenswürdig.ServerfehlerFestlegen der GnuTLS-Verschlüsselungs-Priorität (%s): %s Einstellen der Vorgabewerte für GnuTLS fehlgeschlagen: %sFestlegen des X.509-GnuTLS-Berechtigungsnachweises: %sFestlegen des anonymen GnuTLS-Berechtigungsnachweises: %sBeenden der GnuTLS-Sitzung fehlgeschlagen: %sVerifizieren des Partnerzertifikats: %sgsasl-1.8.1/po/fr.gmo0000644000000000000000000001235313521017731011256 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  >N '  = 93 `m a /0#`';=0n67NB,Z/5@.%F>l), ;[?m6<*!2L5<:-?0m%&%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: GNU gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-10-01 18:32-0400 Last-Translator: David Prévot Language-Team: French Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n > 1); X-Generator: Lokalize 1.4 Données applicatives encodées en base 64 à transmettre : Impossible de trouver le mécanisme… Choisir le mécanisme SASL : Choisir les mécanismes SASL : Authentification par le client terminée (serveur fiable)… Saisir les données d'application (EOF pour terminer) : Saisir les données d'authentification en base 64 du client (appuyer sur Entrée si aucune) : Saisir les données d'authentification en base 64 du serveur (appuyer sur Entrée si aucune) : échec d'initialisation globale de GnuTLS : %séchec de négociation GnuTLS : %séchec d'initialisation de GnuTLS : %sListe de mécanismes SASL pris en charge par le serveur : Sortie du client : Sortie du serveur : bloc SASL trop grand : %zu Authentification par le serveur terminée (client fiable)… Session terminée… Ce client prend en charge les mécanismes suivants : Ce serveur prend en charge les mécanismes suivants : Exécutez « %s --help » pour obtenir des renseignements complémentaires. Mécanisme utilisé : allocation d'un certificat X509 GnuTLS : %sallocation d'un certificat anonyme GnuTLS : %simpossible d'utiliser --smtp et --imap en même tempsimpossible d'utiliser --starttls et --no-starttls en même tempserreur d'encodage : %serreur de liste des mécanismes : %serreur : impossible d'analyser les données du serveur : %s échec d'obtention du lien de canal : %séchec d'initialisation : %schargement d'un certificat X509 GnuTLS : %serreur de mécanisme : %smécanisme non disponible : %sargument manquant--x509-cert-file et --x509-key-file sont tous deux nécessairesaucune autorité de certification (CA) X509 disponibleaucune autorité de certification (CA) X509 disponible : %sle certificat du serveur a été révoquéle certificat du serveur n'a pas d'émetteur connule certificat du serveur n'est pas digne de confianceerreur du serveurdéfinition des chiffrements prioritaires GnuTLS (%s) : %s échec de définition des valeurs GnuTLS par défaut : %sdéfinition d'un certificat X509 GnuTLS : %sdéfinition d'un certificat anonyme GnuTLS : %séchec de fin de session GnuTLS : %svérification du certificat pair : %sgsasl-1.8.1/po/ga.gmo0000644000000000000000000001103113521017731011226 00000000000000*l;)3(9BbB' ,3M3//$&T{&*!,.A^#y. #$,H!u("#' %/ U t 3 0 M >e I W \F ) -  E ] r >  2 3;G'*3>"a*|$6K h#7,,/?$o'2))'!& *" (#$  % Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %sneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2009-03-25 20:03-0500 Last-Translator: Kevin Scannell Language-Team: Irish Language: ga MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Sonraí le seoladh, ionchódaithe le bunuimhir 64: Ní bhfuarthas an sásra... Roghnaigh sásra SASL: Fíordheimhniú den chliant déanta (freastalaí iontaofa)... Iontráil sonraí feidhmchláir (comhadchríoch nuair atá tú déanta): Iontráil sonraí fíordheimhnithe base64 ón chliant (RET mura bhfuil aon sonra ann): Iontráil sonraí fíordheimhnithe base64 ón fhreastalaí (RET mura bhfuil aon sonra ann): theip ar thúsú comhchoiteann GnuTLS: %stheip ar chumarsáid thionscantach GnuTLS: %stheip ar thúsú GnuTLS: %sIontráil liosta de shásraí SASL atá tacaithe ag an fhreastalaí: Aschur ón chliant: Aschur ón fhreastalaí: Fíordheimhniú den fhreastalaí déanta (cliant iontaofa)... Seisiún déanta... Tacaíonn an cliant seo na sásraí seo a leanas: Tacaíonn an freastalaí seo na sásraí a leanas: Bain triail as `%s --help' chun tuilleadh eolais a fháil. Ag úsáid an tsásra: dintiúr X.509 GnuTLS á dháileadh: %sdintiúr GnuTLS gan ainm á dháileadh: %sní féidir --smtp agus --imap a úsáid le chéilení féidir --starttls agus --no-starttls a úsáid le chéileearráid ionchódaithe: %searráid agus sásraí á dtaispeáint: %stheip ar thúsú: %sdintiúr X.509 GnuTLS á luchtú: %searráid le sásra: %sníl an sásra ar fáil: %stá gá le --x509-cert-file agus --x509-key-file araonníor aimsíodh aon CA X.509níor aimsíodh aon CA X.509: %saisghaireadh an teastas freastalaíníl eisitheoir atá ar eolas ag an teastas freastalaíní chuirtear muinín sa teastas freastalaísifearthosaíocht GnuTLS á socrú (%s): %s theip ar shocrú na réamhshocruithe GnuTLS: %sdintiúr X.509 GnuTLS á shocrú: %sdintiúr GnuTLS gan ainm á shocrú: %stheip ar chur deireadh leis an seisiún GnuTLS: %steastas an chomhghleacaí á fhíorú: %sgsasl-1.8.1/po/eu.po0000644000000000000000000001333513521017730011114 00000000000000# Vasco translation of gsasl. # Copyright (C) 2004 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Mikel Olasagasti , 2004. # , fuzzy # # msgid "" msgstr "" "Project-Id-Version: gsasl 0.1.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2004-11-05 16:36+0100\n" "Last-Translator: Mikel Olasagasti \n" "Language-Team: Basque \n" "Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, fuzzy, c-format msgid "Chose SASL mechanisms:\n" msgstr "Aukeratu SASL mekanismoa:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Mekanismo hau erabiltzen:\n" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" #: src/gsasl.c:178 #, fuzzy, c-format msgid "Choose SASL mechanism:\n" msgstr "Aukeratu SASL mekanismoa:\n" #: src/gsasl.c:187 #, fuzzy, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Sartu zerbitzariak onartzen dituen SASL mekanismoak:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Zerbitzariaren irteera:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Bezeroaren irteera:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "" #: src/gsasl.c:422 #, fuzzy, c-format msgid "error listing mechanisms: %s" msgstr "Mekanismo hau erabiltzen:\n" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Bezero honek mekanismo hauek onartzen ditu:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Zerbitzari honek mekanismo hauek onartzen ditu:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "" #: src/gsasl.c:581 #, fuzzy, c-format msgid "server certificate is not trusted" msgstr "Zerbitzaria egiaztatua (bezeroak fidatua)...\n" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "" #: src/gsasl.c:592 #, c-format msgid "could not verify server certificate (rc=%u)" msgstr "" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Ezin da mekanismoa aurkitu...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Sartu bezeroko egiaztapen datuak base64 moduan (sakatu INTRO behar ez " "bada):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Sartu zerbitzariko egiaztapen datuak base64 moduan (sakatu INTRO behar ez " "bada):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Zerbitzaria egiaztatua (bezeroak fidatua)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Bezeroa egiaztatua (zerbitzariak fidatua)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Sartu aplikazioaren datuak (fitxategi-amaiera amaitzeko):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Bidaliko den aplikazio datuak base64 moduan kodifikatua:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Saioa amaituta...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "" #~ msgid "Libgsasl error (%d): %s" #~ msgstr "Libgsasl errorea (%d): %s" gsasl-1.8.1/po/hu.po0000644000000000000000000001631013521017730011113 00000000000000# Hungarian translation for gsasl. # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Balázs Úr , 2014. msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2014-06-26 22:51+0200\n" "Last-Translator: Balázs Úr \n" "Language-Team: Hungarian \n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 1.5\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "SASL mechanizmus választása:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Mechanizmus használata:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "hiba: a kiszolgáló nem adott vissza tokent\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "hiba: nem sikerült feldolgozni a kiszolgáló adatait:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "SASL mechanizmus kiválasztása:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "A kiszolgáló által támogatott SASL mechanizmusok bemeneti listája:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Kimenet a kiszolgálóról:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Kimenet a kliensről:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "További információkért próbálja a(z) „%s --help” parancsot.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "hiányzó argumentum" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "a --x509-cert-file és a --x509-key-file is szükséges" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "nem használható együtt a --starttls és a --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "nem használható együtt a --smtp és a --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "előkészítési hiba: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "hiba a mechanizmusok listázásakor: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Ez a kliens a következő mechanizmusokat támogatja:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Ez a kiszolgáló a következő mechanizmusokat támogatja:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "a GnuTLS globális előkészítése nem sikerült: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "a GnuTLS előkészítése nem sikerült: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "a GnuTLS alapértelmezések beállítása nem sikerült: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "névtelen GnuTLS hitelesítési adatok lefoglalása: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "névtelen GnuTLS hitelesítési adatok beállítása: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "X.509 GnuTLS hitelesítési adatok lefoglalása: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "X.509 GnuTLS hitelesítési adatok betöltése: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "X.509 CA-k nem találhatók: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "X.509 CA-k nem találhatók" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "X.509 GnuTLS hitelesítési adatok beállítása: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "GnuTLS titkosító prioritás (%s) beállítása: %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "a GnuTLS kézfogás nem sikerült: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "a partner tanúsítványának ellenőrzése: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "a kiszolgáló tanúsítványa nem megbízható" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "a kiszolgáló tanúsítványának nincs ismert kibocsátója" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "a kiszolgáló tanúsítványát visszavonták" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "nem sikerült ellenőrizni a kiszolgáló tanúsítványát (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "a csatornakötés beszerzése nem sikerült: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Nem található a mechanizmus…\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "a mechanizmus nem érhető el: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Adja meg a base64 hitelesítési adatokat a kliensről (ha nincs, nyomjon ENTER-" "t):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Adja meg a base64 hitelesítési adatokat a kiszolgálóról (ha nincs, nyomjon " "ENTER-t):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "kiszolgálóhiba" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "mechanizmushiba: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "A kiszolgáló hitelesítése befejeződött (a kliens megbízható)…\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "A kliens hitelesítése befejeződött (a kiszolgáló megbízható)…\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Adja meg az alkalmazás adatait (fájl vége a befejezéshez):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "A küldendő base64 kódolású alkalmazás adatok:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "A SASL rekord túl nagy: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "kódolási hiba: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "A munkamenet befejeződött…\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "a GnuTLS munkamenet megszakítása nem sikerült: %s" gsasl-1.8.1/po/it.po0000644000000000000000000001663013521017730011120 00000000000000# Italian translation for gsasl. # Copyright (C) 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Sergio Zanchetta , 2010, 2011, 2012. # msgid "" msgstr "" "Project-Id-Version: gsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 16:22+0200\n" "Last-Translator: Sergio Zanchetta \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Meccanismo SASL scelto:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Meccanismo in uso:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "errore: il server non ha restituito un token\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "errore: impossibile analizzare i dati del server:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Selezionare meccanismo SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Inserire l'elenco dei meccanismi SASL supportati dal server:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Output dal server:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Output dal client:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Usare \"%s --help\" per maggiori informazioni.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "argomento mancante" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "necessari sia --x509-cert-file che --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "impossibile usare sia --starttls che --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "impossibile usare sia --smtp che --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "inizializzazione non riuscita: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "errore nell'elencare i meccanismi: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Questo client supporta i seguenti meccanismi:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Questo server supporta i seguenti meccanismi:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "inizializzazione globale di GnuTLS non riuscita: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "inizializzazione di GnuTLS non riuscita: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "impostazione dei predefiniti GnuTLS non riuscita: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "allocazione delle credenziali anonime di GnuTLS: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "impostazione delle credenziali anonime di GnuTLS: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "allocazione della credenziale X.509 di GnuTLS: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "caricamento della credenziale X.509 di GnuTLS: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "nessun CA X.509 trovato: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "nessun CA X.509 trovato" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "impostazione della credenziale X.509 di GnuTLS: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "impostazione priorità del cifrario di GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "handshake di GnuTLS non riuscito: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verifica certificato del peer: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "il certificato del server non è fidato" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "il certificato del server non ha un emittente conosciuto" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "il certificato del server è stato revocato" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "impossibile verificare il certificato del server (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "recupero dell'associazione di canale non riuscito: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Impossibile trovare il meccanismo...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "meccanismo non disponibile: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Inserire i dati di autenticazione in base64 dal client (premere INVIO se non " "presenti):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Inserire dati di autenticazione in base64 dal server (premere INVIO se non " "presenti):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "errore del server" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "errore del meccanismo: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Autenticazione del server terminata (client fidato)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Autenticazione del client terminata (server fidato)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Inserire dati applicazione (EOF per terminare):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Dati applicazione codificati in base64 da inviare:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "Record SASL troppo grande: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "errore di codifica: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sessione terminata...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "arresto della sessione GnuTLS non riuscito: %s" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '334 " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "errore: il server non ha restituito i dati SASL attesi (devono iniziare " #~ "con \"334 \"):\n" #~ "%s\n" #~ msgid "" #~ "error: Server did not return expected SASL data (it must begin with '+ " #~ "'):\n" #~ "%s\n" #~ msgstr "" #~ "errore: il server non ha restituito i dati SASL attesi (devono iniziare " #~ "con \"+ \"):\n" #~ "%s\n" gsasl-1.8.1/po/sv.gmo0000644000000000000000000001150613521017731011276 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  *U    4 1 P1 P ! $ <4q40/8,h&')4#X"h%+&'D3T!+" +359i(). %%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2018-07-27 11:24+0800 Last-Translator: Sebastian Rasmussen Language-Team: Swedish Language: sv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); X-Generator: Poedit 2.0.9 Base64-kodad applikationsdata att skicka: Kan inte hitta mekanism... Välj SASL-mekanism: Valde SASL-mekanismer: Klientautentisering avslutat (server verifierad)... Mata in applikationsdata (EOF för att avsluta): Mata in base64-autentiseringsdata från klient (finns inget data, tryck RETUR): Mata in base64 autentiseringsdata från server (finns inget data, tryck RETUR): GnuTLS globalt initieringsfel: %sGnuTLS handskakning misslyckades: %sGnuTLS initieringsfel: %sMata in lista på de SASL-mekanismer som stöds av servern: Utdata från klient: Utdata från server: SASL-posten är för stor: %zu Serverautentisering avslutad (klient verifierad)... Session avslutad... Den här klienten stöder följande mekanismer: Den här servern stöder följande mekanismer: Prova ”%s --help” för mer information. Använder mekanism: allokerar X.509 GnuTLS-behörighet: %sallokerar anonym GnuTLS-behörighet: %skan inte använda både --smtp och --imapkan inte använda både --starttls och --no-starttlskodningsfel: %sfel vid listning av mekanismer: %sfel: kunde inte tolka serverdata: %s hämtning av kanalbindning misslyckades: %sinitieringsfel: %släser in X.509 GnuTLS-behörighet: %smekanismfel: %smekanism ej tillgänglig: %sargument saknasbehöver både --x509-cert-file och --x509-key-fileinga X.509 CA hittadesinga X.509 CA hittades: %sservercertifikat har återkallatsservercertifikat har inte en känd utgivareservercertifikat är ej pålitligtserverfelställer in prioritet för GnuTLS-chiffer (%s): %s inställning av GnuTLS förvalda värden misslyckades: %sställer in X.509 GnuTLS-behörighet: %sställer in anonym GnuTLS-behörighet: %sterminering av GnuTLS-session misslyckades: %svaliderar motpartscertifikat: %sgsasl-1.8.1/po/zh_TW.po0000644000000000000000000001510013521017731011527 00000000000000# Traditional Chinese translation for gsasl. # Copyright (C) 2004, 05, 06 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Meng Jie , 2004, 05. # Wei-Lun Chao , 2006, 2013. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2013-02-12 23:45+0800\n" "Last-Translator: Wei-Lun Chao \n" "Language-Team: Chinese (traditional) \n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=1; plural=0;\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "選擇 SASL 機制:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "使用機制:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "錯誤:伺服器並未回傳字組\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "錯誤:無法剖析伺服器資料:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "選擇 SASL 機制:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "輸入伺服器所支援的 SASL 機制清單:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "伺服器的輸出:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "客戶端的輸出:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "嘗試 %s --help 以獲得更多資訊。\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "缺少引數" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "既需要 --x509-cert-file 也需要 --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "不能同時使用 --starttls 和 --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "不能同時使用 --smtp 和 --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "初始化失敗:%s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "列出機制時發生錯誤:%s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "這個客戶端支援以下機制:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "這個伺服器支援以下機制:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS 全域初始化失敗:%s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS 初始化失敗:%s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "設定 GnuTLS 預設值失敗:%s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "配置匿名 GnuTLS 憑據:%s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "設定匿名 GnuTLS 憑據:%s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "配置 X.509 GnuTLS 憑據:%s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "載入 X.509 GnuTLS 憑據:%s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "找不到 X.509 CA:%s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "找不到 X.509 CA" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "設定 X.509 GnuTLS 憑據:%s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "設定 GnuTLS 密碼優先權 (%s):%s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS 交握失敗:%s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "驗證節點憑證:%s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "伺服器憑證不可信" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "伺服器憑證發行者不明" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "伺服器憑證已被吊銷" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "無法驗證伺服器憑證(rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "提取頻道繫結失敗:%s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "找不到機制…\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "機制無法使用:%s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "輸入客戶端傳送之 base64 編碼的應用程式資料(如果沒有,請按輸入鍵):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "輸入伺服器傳送之 base64 編碼的應用程式資料(如果沒有,請按輸入鍵):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "伺服器錯誤" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "機制錯誤:%s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "伺服器認證完成(客戶端可信)…\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "客戶端認證完成(伺服器可信)…\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "輸入應用程式資料(用 EOF 結束輸入):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "要傳送之 Base64 編碼的應用程式資料:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL 記錄太大:%zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "編碼錯誤:%s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "作業階段結束…\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "終止 GnuTLS 作業階段失敗:%s" gsasl-1.8.1/po/gsasl.pot0000644000000000000000000001132413521017342011773 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Simon Josefsson # This file is distributed under the same license as the gsasl package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: gsasl 1.8.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "" #: src/gsasl.c:592 #, c-format msgid "could not verify server certificate (rc=%u)" msgstr "" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "" gsasl-1.8.1/po/en@boldquot.gmo0000644000000000000000000001142613521017731013123 000000000000002C<H)Is3(BB]' 39Nc3//&(O&a*!,+.A'^"# .' V i # , ! ( ") #L 'p %  ' H )N x   3 ( B Bb '  3 >Sh3//2-`&r*!,+?R'o"# '.8gz#,! (":#]'%'&, %-"$'.1  0(! 2*)  /#+Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlscould not verify server certificate (rc=%u)encoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %swarning: server did not return a token Project-Id-Version: gsasl 1.8.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2019-08-02 13:30+0200 Last-Translator: Automatically generated Language-Team: none Language: en@boldquot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try ‘%s --help’ for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlscould not verify server certificate (rc=%u)encoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %swarning: server did not return a token gsasl-1.8.1/po/en@boldquot.po0000644000000000000000000001735013521017730012760 00000000000000# English translations for gsasl package. # Copyright (C) 2019 Simon Josefsson # This file is distributed under the same license as the gsasl package. # Automatically generated, 2019. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.8.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2019-08-02 13:30+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en@boldquot\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Chose SASL mechanisms:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Using mechanism:\n" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "warning: server did not return a token\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "error: could not parse server data:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Choose SASL mechanism:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Input list of SASL mechanisms supported by server:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Output from server:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Output from client:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Try ‘%s --help’ for more information.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "missing argument" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "need both --x509-cert-file and --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "cannot use both --starttls and --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "cannot use both --smtp and --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "initialization failure: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "error listing mechanisms: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "This client supports the following mechanisms:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "This server supports the following mechanisms:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS global initialization failed: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS initialization failed: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "setting GnuTLS defaults failed: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "allocating anonymous GnuTLS credential: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "setting anonymous GnuTLS credential: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "allocating X.509 GnuTLS credential: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "loading X.509 GnuTLS credential: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "no X.509 CAs found: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "no X.509 CAs found" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "setting X.509 GnuTLS credential: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "setting GnuTLS cipher priority (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS handshake failed: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verifying peer certificate: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "server certificate is not trusted" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "server certificate hasn't got a known issuer" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "server certificate has been revoked" #: src/gsasl.c:592 #, c-format msgid "could not verify server certificate (rc=%u)" msgstr "could not verify server certificate (rc=%u)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "getting channel binding failed: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Cannot find mechanism...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mechanism unavailable: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "Enter base64 authentication data from client (press RET if none):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "Enter base64 authentication data from server (press RET if none):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "server error" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "mechanism error: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Server authentication finished (client trusted)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Client authentication finished (server trusted)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Enter application data (EOF to finish):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64 encoded application data to send:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL record too large: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "encoding error: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Session finished...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "terminating GnuTLS session failed: %s" gsasl-1.8.1/po/es.gmo0000644000000000000000000001167213521017731011261 000000000000000C())Sm3(BB=' 3.C3_//&/&A*h!,'":]#x.  #4 ,X ! ( " # '$ %L r  4s   9 53 Mi K "&!B>d&933J9~+&)!&K1r2%6$Sx2 %)6O -.(,@*m!%+ $,!#&-0  / )'(  ."*Base64 encoded application data to send: Cannot find mechanism... Choose SASL mechanism: Chose SASL mechanisms: Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): GnuTLS global initialization failed: %sGnuTLS handshake failed: %sGnuTLS initialization failed: %sInput list of SASL mechanisms supported by server: Output from client: Output from server: SASL record too large: %zu Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Try `%s --help' for more information. Using mechanism: allocating X.509 GnuTLS credential: %sallocating anonymous GnuTLS credential: %scannot use both --smtp and --imapcannot use both --starttls and --no-starttlsencoding error: %serror listing mechanisms: %serror: could not parse server data: %s getting channel binding failed: %sinitialization failure: %sloading X.509 GnuTLS credential: %smechanism error: %smechanism unavailable: %smissing argumentneed both --x509-cert-file and --x509-key-fileno X.509 CAs foundno X.509 CAs found: %sserver certificate has been revokedserver certificate hasn't got a known issuerserver certificate is not trustedserver errorsetting GnuTLS cipher priority (%s): %s setting GnuTLS defaults failed: %ssetting X.509 GnuTLS credential: %ssetting anonymous GnuTLS credential: %sterminating GnuTLS session failed: %sverifying peer certificate: %sProject-Id-Version: gsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2018-04-13 14:01+0200 Last-Translator: Francisco Javier Serrador Language-Team: Spanish Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. X-Generator: Poedit 2.0.4 Plural-Forms: nplurals=2; plural=(n != 1); X-Poedit-SourceCharset: UTF-8 Base64 codificaba datos de aplicación para envío: No puedo encontrar mecanismo… Elija mecanismo SASL: Eligió mecanismo SASL: Autenticación cliente terminada (servicio confiable)… Introducir datos de aplicación (EOF para terminar): Introducir datos autenticación base64 desde cliente (pulse REF si ninguno): Introduce datos autenticados base64 desde servidor (pulse RET si ninguno): GnuTLS iniciado global fallada: %sColoquio GnuTLS fallado: %sGnuTLS fallado al inicializar: %sListado entrante de mecanismos SASL compatibles por servidor: Salida desde cliente: Salida desde servidor: SASL registrado demasiado grande: %zu Autenticación servidor finalizada (cliente confiado)… Sesión finalizada… Este cliente compatibiliza el siguiente mecanismo: Este servidor compatibiliza a los siguientes mecanismos: Pruebe `%s --help' para más información. Empleando mecanismo: reservando credencial GnuTLS X.509: %sreservando credencial GnuTLS anónima: %sno puede emplear ambos --smtp e --imapno pude utilizar ambos --starttls y --no-starttlscodificación erróneo: %serror listando mecanismos: %serror: no pudo interpretar datos del servidor: %s obteniendo canal enlazado fallado: %sfallo de inicialización: %scargando credencial X.509 GnuTLS: %serror mecánico: %smecanismo no disponible: %sargumento ausenterequiere ambos --x509-cert-file y --x509-key-fileningún CA X.509 encontradoningún CA X.509 encontrado: %scertificado servidor ha sido revocadocertificado servidor no ha obtenido un emisor conocidoservicio certificado no confiadoerror del servidorobteniendo prioridad (%s) cifra GnuTLS: %s configurando GnuTLS predeterminado fallado: %sobteniendo credenciales X.509 GnuTLS: %sestableciendo credencial anónima GnaTLS: %sterminación de sesión GnuTLS fallada: %sverificando parte certificado: %sgsasl-1.8.1/po/id.po0000644000000000000000000001561013521017730011075 00000000000000# Pesan bahasa indonesia untuk gsasl. # Copyright (C) 2006 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Tedi Heriyanto , 2006. # Arif E. Nugroho , 2008, 2010. msgid "" msgstr "" "Project-Id-Version: gsasl-1.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2010-01-27 07:30+0700\n" "Last-Translator: Arif E. Nugroho \n" "Language-Team: Indonesian \n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, fuzzy, c-format msgid "Chose SASL mechanisms:\n" msgstr "Pilih mekanisme SASL:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Menggunakan mekanisme:\n" #: src/imap.c:186 #, c-format msgid "warning: server did not return a token\n" msgstr "" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Pilih mekanisme SASL:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Daftar input mekanisme SASL yang didukung oleh server:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Output dari server:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Output dari klien:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Coba `%s' --help untuk informasi lebih lanjut.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "membutuhkan file --x509-cert-file dan --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "tidak dapat menggunakan --starttls dan --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "tidak dapat menggunakan --smtp dan --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "kegagalan inisialisasi: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "kesalahan menampilkan mekanisme: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Klien ini mendukung mekanisme berikut:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Server ini mendukung mekanisme berikut:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "Inisialisasi global GnuTLS gagal: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "Inisialisasi GnuTLS gagal: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "seting baku GnuTLS gagal: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "mengalokasikan kredensial GnuTLS anonim: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "menset kredensial GnuTLS anonim: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "mengalokasikan kredensial GnuTLS X.509: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "memuatkan kredensial GnuTLS X.509: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "tidak ditemukan CA X.509: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "tidak ditemukan CA X.509" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "menset kredensial GnuTLS X.509: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "menset prioritas penyandi GnuTLS (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "Kegagalan handshake GnuTLS: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verifikasi sertifikat peer: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "sertifikat server tidak dipercaya" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "sertifikat server tidak berisikan penerbit yang dikenal" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "sertifikat server telah dicabut" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "tidak dapat memverifikasi sertifikat server (rc=%d)" #: src/gsasl.c:603 #, fuzzy, c-format msgid "getting channel binding failed: %s" msgstr "seting baku GnuTLS gagal: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Tidak dapat menemukan mekanisme...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mekanisme tidak tersedia: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "" "Masukkan data otentikasi base64 dari klien (tekan RET bila tidak ada):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "" "Masukkan data otentikasi base64 dari server (tekan RET bila tidak ada):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "kesalahan mekanisme: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Otentikasi server selesai (klien dipercaya)...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Otentikasi klien selesai (server dipercaya)...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Masukkan data aplikasi (EOF untuk mengakhiri):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Data aplikasi berkode base64 yang dikirim:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "kesalahan pengkodean: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Sesi selesai...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "gagal mengakhiri sesi GnuTLS: %s" #~ msgid "Cannot initialize Windows sockets." #~ msgstr "Tidak dapat menginisialisasi soket Windows." #~ msgid "" #~ "missing argument\n" #~ "Try `%s --help' for more information." #~ msgstr "" #~ "argumen hilang\n" #~ "Coba `%s' --help untuk informasi lebih lanjut." #~ msgid "" #~ "\n" #~ "Report bugs to <%s>.\n" #~ msgstr "" #~ "\n" #~ "Laporkan bugs ke <%s>.\n" gsasl-1.8.1/po/da.po0000644000000000000000000001517013521017730011066 00000000000000# Danish translation gsasl. # Copyright (C) 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Joe Hansen , 2015. # msgid "" msgstr "" "Project-Id-Version: gsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2015-05-01 18:00+0200\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/imap.c:76 src/smtp.c:79 #, c-format msgid "Chose SASL mechanisms:\n" msgstr "Vælg SASL-mekanismer:\n" #: src/imap.c:106 src/smtp.c:113 src/gsasl.c:206 #, c-format msgid "Using mechanism:\n" msgstr "Bruger mekanisme:\n" #: src/imap.c:186 #, fuzzy, c-format msgid "warning: server did not return a token\n" msgstr "fejl: server returnerede ikke et symbol\n" #: src/smtp.c:192 #, c-format msgid "" "error: could not parse server data:\n" "%s\n" msgstr "" "fejl: kunne ikke fortolke serverdata:\n" "%s\n" #: src/gsasl.c:178 #, c-format msgid "Choose SASL mechanism:\n" msgstr "Vælg SASL-mekanisme:\n" #: src/gsasl.c:187 #, c-format msgid "Input list of SASL mechanisms supported by server:\n" msgstr "Inddataliste for SASL-mekanismer understøttet af serveren:\n" #: src/gsasl.c:223 #, c-format msgid "Output from server:\n" msgstr "Uddata fra serveren:\n" #: src/gsasl.c:225 #, c-format msgid "Output from client:\n" msgstr "Uddata fra klienten:\n" #: src/gsasl.c:272 #, c-format msgid "Try `%s --help' for more information.\n" msgstr "Prøv »%s --help« for yderligere information.\n" #: src/gsasl.c:327 #, c-format msgid "missing argument" msgstr "mangler argument" #: src/gsasl.c:334 #, c-format msgid "need both --x509-cert-file and --x509-key-file" msgstr "kræver både --x509-cert-file og --x509-key-file" #: src/gsasl.c:338 #, c-format msgid "cannot use both --starttls and --no-starttls" msgstr "kan ikke bruge både --starttls og --no-starttls" #: src/gsasl.c:341 #, c-format msgid "cannot use both --smtp and --imap" msgstr "kan ikke bruge både --smtp og --imap" #: src/gsasl.c:407 #, c-format msgid "initialization failure: %s" msgstr "initialiseringsfejl: %s" #: src/gsasl.c:422 #, c-format msgid "error listing mechanisms: %s" msgstr "fejl ved visning af mekanismer: %s" #: src/gsasl.c:429 #, c-format msgid "This client supports the following mechanisms:\n" msgstr "Denne klient understøtter de følgende mekanismer:\n" #: src/gsasl.c:432 #, c-format msgid "This server supports the following mechanisms:\n" msgstr "Denne server understøtter de følgende mekanismer:\n" #: src/gsasl.c:494 #, c-format msgid "GnuTLS global initialization failed: %s" msgstr "GnuTLS global initialisering mislykkedes: %s" #: src/gsasl.c:499 #, c-format msgid "GnuTLS initialization failed: %s" msgstr "GnuTLS-initialisering mislykkedes: %s" #: src/gsasl.c:504 #, c-format msgid "setting GnuTLS defaults failed: %s" msgstr "angivelse af GnuTLS-standarder mislykkedes: %s" #: src/gsasl.c:510 #, c-format msgid "allocating anonymous GnuTLS credential: %s" msgstr "allokerer anonym GnuTLS-akkreditiv: %s" #: src/gsasl.c:515 #, c-format msgid "setting anonymous GnuTLS credential: %s" msgstr "angiver anonym GnuTLS-akkreditiv: %s" #: src/gsasl.c:520 #, c-format msgid "allocating X.509 GnuTLS credential: %s" msgstr "allokerer X.509 GnuTLS-akkreditiv: %s" #: src/gsasl.c:528 #, c-format msgid "loading X.509 GnuTLS credential: %s" msgstr "indlæser X.509 GnuTLS-akkreditiv: %s" #: src/gsasl.c:536 #, c-format msgid "no X.509 CAs found: %s" msgstr "ingen X.509 CA'er blev fundet: %s" #: src/gsasl.c:539 #, c-format msgid "no X.509 CAs found" msgstr "ingen X.509 CA'er blev fundet" #: src/gsasl.c:545 #, c-format msgid "setting X.509 GnuTLS credential: %s" msgstr "angiver X.509 GnuTLS-akkreditiv: %s" #: src/gsasl.c:556 #, c-format msgid "setting GnuTLS cipher priority (%s): %s\n" msgstr "angiver prioritet for GnuTLS-krypteringsalgoritme (%s): %s\n" #: src/gsasl.c:568 #, c-format msgid "GnuTLS handshake failed: %s" msgstr "GnuTLS-håndtryk mislykkedes: %s" #: src/gsasl.c:577 #, c-format msgid "verifying peer certificate: %s" msgstr "verificerer modpartcertifikat: %s" #: src/gsasl.c:581 #, c-format msgid "server certificate is not trusted" msgstr "servercertifikat er ikke troværdigt" #: src/gsasl.c:585 #, c-format msgid "server certificate hasn't got a known issuer" msgstr "servercertifikat har ikke en kendt udsteder" #: src/gsasl.c:588 #, c-format msgid "server certificate has been revoked" msgstr "servercertifikat er blevet tilbagekaldt" #: src/gsasl.c:592 #, fuzzy, c-format msgid "could not verify server certificate (rc=%u)" msgstr "kunne ikke verificere servercertifikat (rc=%d)" #: src/gsasl.c:603 #, c-format msgid "getting channel binding failed: %s" msgstr "hentning af kanalbinding mislykkedes: %s" #: src/gsasl.c:633 #, c-format msgid "Cannot find mechanism...\n" msgstr "Kan ikke finde mekanisme ...\n" #: src/gsasl.c:650 #, c-format msgid "mechanism unavailable: %s" msgstr "mekanisme utilgængelig: %s" #: src/gsasl.c:678 #, c-format msgid "Enter base64 authentication data from client (press RET if none):\n" msgstr "Indtast base64-godkendelsesdata fra klienten (tast RET hvis ingen):\n" #: src/gsasl.c:681 #, c-format msgid "Enter base64 authentication data from server (press RET if none):\n" msgstr "Indtast base64-godkendelsesdata fra serveren (tast RET hvis ingen):\n" #: src/gsasl.c:691 #, c-format msgid "server error" msgstr "serverfejl" #: src/gsasl.c:699 #, c-format msgid "mechanism error: %s" msgstr "mekanismefejl: %s" #: src/gsasl.c:705 #, c-format msgid "Server authentication finished (client trusted)...\n" msgstr "Servergodkendelse afsluttet (klient troværdig) ...\n" #: src/gsasl.c:708 #, c-format msgid "Client authentication finished (server trusted)...\n" msgstr "Klientgodkendelse afsluttet (server troværdig) ...\n" #: src/gsasl.c:733 #, c-format msgid "Enter application data (EOF to finish):\n" msgstr "Indtast programdata (EOF for at afslutte):\n" #: src/gsasl.c:804 #, c-format msgid "Base64 encoded application data to send:\n" msgstr "Base64-kodede programdata at sende:\n" #: src/gsasl.c:850 #, c-format msgid "SASL record too large: %zu\n" msgstr "SASL-post er for stor: %zu\n" #: src/gsasl.c:874 #, c-format msgid "encoding error: %s" msgstr "kodningsfejl: %s" #: src/gsasl.c:879 #, c-format msgid "Session finished...\n" msgstr "Session afsluttet ...\n" #: src/gsasl.c:895 #, c-format msgid "terminating GnuTLS session failed: %s" msgstr "afslutning af GnuTLS-session mislykkedes: %s" gsasl-1.8.1/po/sq.gmo0000644000000000000000000000355513521017731011276 00000000000000H)Is3(BB-p3//CUF"/>R8XX#|:))'Q   Base64 encoded application data to send: Cannot find mechanism... Client authentication finished (server trusted)... Enter application data (EOF to finish): Enter base64 authentication data from client (press RET if none): Enter base64 authentication data from server (press RET if none): Output from client: Output from server: Server authentication finished (client trusted)... Session finished... This client supports the following mechanisms: This server supports the following mechanisms: Using mechanism: Project-Id-Version: gsasl 0.1.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2004-09-11 11:58+0200 Last-Translator: Laurent Dhima Language-Team: Albanian Language: sq MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Të dhënat e kodifikuara me bazë64 të programit për t'u dërguar: E pamundur gjetja e mekanizmit... Autentifikimi i klientit përfundoi (i besuar nga serveri)... Shkruaj të dhënat e programit (EOF për të mbaruar): Shto të dhënat me bazë64 të autentifikimit nga klienti (shtyp RET nëse nuk duhen): Shto të dhënat me bazë64 të autentifikimit nga serveri (shtyp RET nëse nuk duhen): Rezultati nga klienti: Rezultati nga serveri: Autentifikimi nga serveri përfundoi (klient i besuar)... Seanca përfundoi... Ky klient suporton mekanizmat në vijim: Ky server suporton mekanizmat në vijim: Duke përdorur mekanizmin: gsasl-1.8.1/src/0000755000000000000000000000000013521017732010371 500000000000000gsasl-1.8.1/src/callbacks.c0000644000000000000000000001406313516323263012403 00000000000000/* callbacks.c --- Implementation of gsasl callbacks. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include "internal.h" #include "callbacks.h" #include "striconv.h" #include "readline.h" #if HAVE_LANGINFO_CODESET #include /* For nl_langinfo. */ #endif static char * locale_to_utf8 (char *str) { #if HAVE_LANGINFO_CODESET if (str) { char *from = nl_langinfo (CODESET); char *q = str_iconv (str, from, "UTF-8"); if (!q) fprintf (stderr, "warning: Could not convert string to UTF-8...\n"); else { free (str); str = q; } } #endif return str; } static char * readutf8line (const char *prompt) { char *p = readline (prompt); return locale_to_utf8 (p); } static char * readutf8pass (const char *prompt) { char *p = getpass (prompt); return locale_to_utf8 (p); } int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; switch (prop) { case GSASL_ANONYMOUS_TOKEN: if (args_info.anonymous_token_arg == NULL) args_info.anonymous_token_arg = readutf8line ("Enter anonymous token (e.g., email address): "); gsasl_property_set (sctx, GSASL_ANONYMOUS_TOKEN, args_info.anonymous_token_arg); rc = GSASL_OK; break; case GSASL_CB_TLS_UNIQUE: if (!args_info.no_cb_flag && b64cbtlsunique == NULL && args_info.hostname_arg == NULL) b64cbtlsunique = readutf8line ("Enter base64 encoded tls-unique channel binding: "); if (!args_info.no_cb_flag && b64cbtlsunique && *b64cbtlsunique) gsasl_property_set (sctx, prop, b64cbtlsunique); rc = GSASL_OK; break; case GSASL_PASSWORD: if (args_info.password_arg == NULL) args_info.password_arg = readutf8pass ("Enter password: "); gsasl_property_set (sctx, GSASL_PASSWORD, args_info.password_arg); rc = GSASL_OK; break; case GSASL_PASSCODE: if (args_info.passcode_arg == NULL) args_info.passcode_arg = readutf8pass ("Enter passcode: "); gsasl_property_set (sctx, GSASL_PASSCODE, args_info.passcode_arg); rc = GSASL_OK; break; case GSASL_AUTHID: if (args_info.authentication_id_arg == NULL) { #if HAVE_GETPWUID uid_t uid; struct passwd *pw; uid = getuid (); pw = getpwuid (uid); if (pw && pw->pw_name) { printf ("Using system username `%s' as " "authentication identity.\n", pw->pw_name); args_info.authentication_id_arg = xstrdup (pw->pw_name); } else #endif args_info.authentication_id_arg = readutf8line ("Enter authentication ID: "); } gsasl_property_set (sctx, GSASL_AUTHID, args_info.authentication_id_arg); rc = GSASL_OK; break; case GSASL_AUTHZID: gsasl_property_set (sctx, GSASL_AUTHZID, args_info.authorization_id_arg); rc = GSASL_OK; break; case GSASL_SERVICE: if (args_info.service_arg == NULL) args_info.service_arg = readutf8line ("Enter GSSAPI service name (e.g. \"imap\"): "); gsasl_property_set (sctx, GSASL_SERVICE, args_info.service_arg); rc = GSASL_OK; break; case GSASL_HOSTNAME: if (args_info.hostname_arg == NULL) args_info.hostname_arg = readutf8line ("Enter hostname of server: "); gsasl_property_set (sctx, GSASL_HOSTNAME, args_info.hostname_arg); rc = GSASL_OK; break; case GSASL_REALM: if (args_info.realm_arg == NULL) args_info.realm_arg = readutf8line ("Enter realm of server (optional): "); if (args_info.realm_arg && *args_info.realm_arg) gsasl_property_set (sctx, GSASL_REALM, args_info.realm_arg); rc = GSASL_OK; break; case GSASL_QOP: if (args_info.quality_of_protection_arg == NULL) args_info.quality_of_protection_arg = readutf8line ("Enter quality of protection (optional, e.g. 'qop-int'): "); if (args_info.quality_of_protection_arg && *args_info.quality_of_protection_arg) gsasl_property_set (sctx, GSASL_QOP, args_info.quality_of_protection_arg); rc = GSASL_OK; break; case GSASL_VALIDATE_GSSAPI: { char *str; printf ("Authzid: %s\nDisplay Name: %s\n", gsasl_property_fast (sctx, GSASL_AUTHZID), gsasl_property_fast (sctx, GSASL_GSSAPI_DISPLAY_NAME)); str = readutf8line ("Validate GSS-API user? (y/n) "); if (strcmp (str, "y") == 0 || strcmp (str, "Y") == 0) rc = GSASL_OK; else rc = GSASL_AUTHENTICATION_ERROR; free (str); } break; case GSASL_SCRAM_SALTED_PASSWORD: case GSASL_SCRAM_ITER: case GSASL_SCRAM_SALT: break; case GSASL_SAML20_IDP_IDENTIFIER: { char *str = readutf8line ("Enter SAML authentication identifier " "(e.g. \"http://example.org/\"): "); gsasl_property_set (sctx, GSASL_SAML20_IDP_IDENTIFIER, str); rc = GSASL_OK; } break; case GSASL_SAML20_AUTHENTICATE_IN_BROWSER: { const char *url = gsasl_property_get (sctx, GSASL_SAML20_REDIRECT_URL); printf ("Proceed to this URL to authenticate using SAML 2.0:\n%s\n", url); rc = GSASL_OK; } break; case GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: { const char *url = gsasl_property_get (sctx, GSASL_OPENID20_REDIRECT_URL); printf ("Proceed to this URL to authenticate using OpenID 2.0:\n%s\n", url); rc = GSASL_OK; } break; default: fprintf (stderr, "warning: mechanism requested unsupported property `%u'\n", prop); break; } return rc; } gsasl-1.8.1/src/gsasl.ggo0000644000000000000000000001162013516252321012117 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . purpose "Authenticate user to a server using Simple Authentication and Security Layer. Currently IMAP and SMTP servers are supported. This is a command line interface for the GNU SASL library." section "Commands" option "client" c "Act as client." flag on option "server" s "Act as server." flag off option "client-mechanisms" - "Write name of supported client mechanisms separated by space to stdout." flag off option "server-mechanisms" - "Write name of supported server mechanisms separated by space to stdout." flag off section "Network options" option "connect" - "Connect to TCP server and negotiate on stream instead of stdin/stdout. PORT is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the --hostname default." string typestr="HOST[:PORT]" no #option "listen" - "Listen on network socket and provide authentication services following the supported protocols. This implies --server and defaults to IMAP mode." string typestr="HOST:[PORT]" no argoptional default="localhost:143" section "Generic options" option "application-data" d "After authentication, read data from stdin and run it through the mechanism's security layer and print it base64 encoded to stdout. The default is to terminate after authentication." flag on option "imap" - "Use a IMAP-like logon procedure (client only). Also sets the --service default to 'imap'." flag off option "smtp" - "Use a SMTP-like logon procedure (client only). Also sets the --service default to 'smtp'." flag off option "mechanism" m "Mechanism to use." string no option "no-client-first" - "Disallow client to send data first (client only)." flag off section "SASL mechanism options (they are prompted for when required)" option "anonymous-token" n "Token for anonymous authentication, usually mail address (ANONYMOUS only)." string no option "authentication-id" a "Identity of credential owner." string no option "authorization-id" z "Identity to request service for." string no option "password" p "Password for authentication (insecure for non-testing purposes)." string no option "realm" r "Realm. Defaults to hostname." string no option "maxbuf" x "Indicate maximum buffer size (DIGEST-MD5 only)." int typestr="NUMBER" no option "passcode" - "Passcode for authentication (SECURID only)." string typestr="NUMBER" no option "service" - "Set the requested service name (should be a registered GSSAPI host based service name)." string no option "hostname" - "Set the name of the server with the requested service." string no option "service-name" - "Set the generic server name in case of a replicated server (DIGEST-MD5 only)." string no option "enable-cram-md5-validate" - "Validate CRAM-MD5 challenge and response interactively." flag off option "disable-cleartext-validate" - "Disable cleartext validate hook, forcing server to prompt for password." flag off option "quality-of-protection" - "How application payload will be protected. 'qop-auth' means no protection, 'qop-int' means integrity protection, 'qop-conf' means integrity and confidentialiy protection. Currently only used by DIGEST-MD5, where the default is 'qop-int'." string typestr="TYPE" no section "STARTTLS options" option "starttls" - "Force use of STARTTLS. The default is to use STARTTLS when available." flag off option "no-starttls" - "Unconditionally disable STARTTLS." flag off option "no-cb" - "Don't use channel bindings from TLS." flag off option "x509-ca-file" - "File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done." string typestr="FILE" no option "x509-cert-file" - "File containing client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair." string typestr="FILE" no option "x509-key-file" - "Private key for the client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair." string typestr="FILE" no option "priority" - "Cipher priority string." string no section "Other options" option "verbose" - "Produce verbose output." flag off option "quiet" - "Don't produce any diagnostic output." flag off gsasl-1.8.1/src/gsasl.c0000644000000000000000000005237513516322212011576 00000000000000/* gsasl.c --- Command line interface to libgsasl. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include "internal.h" #include "callbacks.h" #include "imap.h" #include "smtp.h" #include "sockets.h" #ifdef HAVE_LIBGNUTLS #include gnutls_session session; bool using_tls = false; #endif char *b64cbtlsunique = NULL; struct gengetopt_args_info args_info; int sockfd = 0; int writeln (const char *str) { printf ("%s\n", str); if (sockfd) { ssize_t len = strlen (str); #ifdef HAVE_LIBGNUTLS if (using_tls) { /* GnuTLS < 1.2.9 cannot handle data != NULL && count == 0, it will return an error. */ if (len > 0) len = gnutls_record_send (session, str, len); else len = 0; } else #endif len = write (sockfd, str, len); if (len != strlen (str)) return 0; #define CRLF "\r\n" #ifdef HAVE_LIBGNUTLS if (using_tls) len = gnutls_record_send (session, CRLF, strlen (CRLF)); else #endif len = write (sockfd, CRLF, strlen (CRLF)); if (len != strlen (CRLF)) return 0; } return 1; } int readln (char **out) { if (sockfd) { size_t allocated = 0, used = 0; char *input = NULL; /* FIXME: Read larger chunks. Problem: buffering too large reads? */ do { ssize_t nread; if (used == allocated) input = x2realloc (input, &allocated); #ifdef HAVE_LIBGNUTLS if (using_tls) nread = gnutls_record_recv (session, &input[used], 1); else #endif nread = recv (sockfd, &input[used], 1, 0); if (nread <= 0) return 0; used += nread; } while (input[used - 1] != '\n'); if (used == allocated) input = x2realloc (input, &allocated); input[used] = '\0'; *out = input; printf ("%s", *out); } else { *out = readline (""); if (*out == NULL) return 0; } return 1; } static int greeting (void) { if (args_info.imap_flag) return imap_greeting (); if (args_info.smtp_flag) return smtp_greeting (); return 1; } #ifdef HAVE_LIBGNUTLS static int has_starttls (void) { if (args_info.imap_flag) return imap_has_starttls (); if (args_info.smtp_flag) return smtp_has_starttls (); return 0; } static int starttls (void) { if (args_info.imap_flag) return imap_starttls (); if (args_info.smtp_flag) return smtp_starttls (); return 1; } #endif static int select_mechanism (char **mechlist) { char *in; if (args_info.imap_flag) return imap_select_mechanism (mechlist); if (args_info.smtp_flag) return smtp_select_mechanism (mechlist); if (args_info.mechanism_arg) *mechlist = args_info.mechanism_arg; else if (args_info.server_flag) { if (!args_info.quiet_given) fprintf (stderr, _("Choose SASL mechanism:\n")); if (!readln (&in)) return 0; *mechlist = in; } else /* if (args_info.client_flag) */ { if (!args_info.quiet_given) fprintf (stderr, _("Input list of SASL mechanisms supported by server:\n")); if (!readln (&in)) return 0; *mechlist = in; } return 1; } static int authenticate (const char *mech) { if (args_info.imap_flag) return imap_authenticate (mech); if (args_info.smtp_flag) return smtp_authenticate (mech); if (!args_info.quiet_given) fprintf (stderr, _("Using mechanism:\n")); puts (mech); return 1; } static int step_send (const char *data) { if (args_info.imap_flag) return imap_step_send (data); if (args_info.smtp_flag) return smtp_step_send (data); if (!args_info.quiet_given) { if (args_info.server_flag) fprintf (stderr, _("Output from server:\n")); else fprintf (stderr, _("Output from client:\n")); } fprintf (stdout, "%s\n", data); return 1; } /* Return 1 on token, 2 on protocol success, 3 on protocol fail, 0 on errors. */ static int step_recv (char **data) { if (args_info.imap_flag) return imap_step_recv (data); if (args_info.smtp_flag) return smtp_step_recv (data); if (!readln (data)) return 0; return 1; } static int logout (void) { if (args_info.imap_flag) return imap_logout (); if (args_info.smtp_flag) return smtp_logout (); return 1; } const char version_etc_copyright[] = /* Do *not* mark this string for translation. %s is a copyright symbol suitable for this locale, and %d is the copyright year. */ "Copyright %s %d Simon Josefsson."; static void usage (int status) GSASL_ATTR_NO_RETRUN; static void usage (int status) { if (status != EXIT_SUCCESS) fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else { cmdline_parser_print_help (); emit_bug_reporting_address (); } exit (status); } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int res; char *in; char *connect_hostname = NULL; char *connect_service = NULL; #ifdef HAVE_LIBGNUTLS gnutls_anon_client_credentials anoncred; gnutls_certificate_credentials x509cred; #endif set_program_name (argv[0]); setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); /* This is necessary for modern MinGW compilers that provide working getaddrinfo function, which results in gnulib not detecting that it is broken. The proper fix is for gnulib to wrap the getaddrinfo call and initialize Windows sockets in the wrapper. */ (void) gl_sockets_startup (SOCKETS_1_1); if (cmdline_parser (argc, argv, &args_info) != 0) return EXIT_FAILURE; if (args_info.version_given) { const char *p = PACKAGE_NAME; if (strcmp (gsasl_check_version (NULL), PACKAGE_VERSION) != 0) p = PACKAGE_STRING; version_etc (stdout, "gsasl", p, gsasl_check_version (NULL), "Simon Josefsson", (char *) NULL); return EXIT_SUCCESS; } if (args_info.help_given) usage (EXIT_SUCCESS); if (!(args_info.client_flag || args_info.client_given) && !args_info.server_given && !args_info.client_mechanisms_flag && !args_info.server_mechanisms_flag) { error (0, 0, _("missing argument")); usage (EXIT_FAILURE); } if ((args_info.x509_cert_file_arg && !args_info.x509_key_file_arg) || (!args_info.x509_cert_file_arg && args_info.x509_key_file_arg)) error (EXIT_FAILURE, 0, _("need both --x509-cert-file and --x509-key-file")); if (args_info.starttls_flag && args_info.no_starttls_flag) error (EXIT_FAILURE, 0, _("cannot use both --starttls and --no-starttls")); if (args_info.smtp_flag && args_info.imap_flag) error (EXIT_FAILURE, 0, _("cannot use both --smtp and --imap")); if (!args_info.connect_given && args_info.inputs_num == 0 && !args_info.client_given && !args_info.server_given && !args_info.client_mechanisms_flag && !args_info.server_mechanisms_flag) { cmdline_parser_print_help (); emit_bug_reporting_address (); return EXIT_SUCCESS; } if (args_info.connect_given) { if (strrchr (args_info.connect_arg, ':')) { connect_hostname = xstrdup (args_info.connect_arg); *strrchr (connect_hostname, ':') = '\0'; connect_service = xstrdup (strrchr (args_info.connect_arg, ':') + 1); } else { connect_hostname = xstrdup (args_info.connect_arg); if (args_info.smtp_flag) connect_service = xstrdup ("smtp"); else connect_service = xstrdup ("imap"); } } else if (args_info.inputs_num > 0) { connect_hostname = args_info.inputs[0]; if (args_info.inputs_num > 1) connect_service = args_info.inputs[1]; else if (args_info.smtp_flag) connect_service = xstrdup ("smtp"); else connect_service = xstrdup ("imap"); } if (connect_service && !args_info.smtp_flag && !args_info.imap_flag) { if (strcmp (connect_service, "25") == 0 || strcmp (connect_service, "smtp") == 0) args_info.smtp_flag = 1; else args_info.imap_flag = 1; } if (args_info.imap_flag && !args_info.service_given) args_info.service_arg = xstrdup ("imap"); if (args_info.smtp_flag && !args_info.service_given) args_info.service_arg = xstrdup ("smtp"); if (args_info.imap_flag || args_info.smtp_flag) args_info.no_client_first_flag = 1; if (connect_hostname && !args_info.hostname_arg) args_info.hostname_arg = xstrdup (connect_hostname); if (!isatty (STDOUT_FILENO)) setvbuf (stdout, NULL, _IOLBF, BUFSIZ); res = gsasl_init (&ctx); if (res != GSASL_OK) error (EXIT_FAILURE, 0, _("initialization failure: %s"), gsasl_strerror (res)); gsasl_callback_set (ctx, callback); if (args_info.client_mechanisms_flag || args_info.server_mechanisms_flag) { char *mechs; if (args_info.client_mechanisms_flag) res = gsasl_client_mechlist (ctx, &mechs); else res = gsasl_server_mechlist (ctx, &mechs); if (res != GSASL_OK) error (EXIT_FAILURE, 0, _("error listing mechanisms: %s"), gsasl_strerror (res)); if (!args_info.quiet_given) { if (args_info.client_mechanisms_flag) fprintf (stderr, _("This client supports the following mechanisms:\n")); else fprintf (stderr, _("This server supports the following mechanisms:\n")); } fprintf (stdout, "%s\n", mechs); free (mechs); return EXIT_SUCCESS; } if (args_info.connect_given || args_info.inputs_num > 0) { struct addrinfo hints; struct addrinfo *ai0, *ai; memset (&hints, 0, sizeof (hints)); hints.ai_flags = AI_CANONNAME; hints.ai_socktype = SOCK_STREAM; res = getaddrinfo (connect_hostname, connect_service, &hints, &ai0); if (res != 0) error (EXIT_FAILURE, 0, "%s: %s", connect_hostname, gai_strerror (res)); for (ai = ai0; ai; ai = ai->ai_next) { fprintf (stderr, "Trying %s...\n", quote (ai->ai_canonname ? ai->ai_canonname : connect_hostname)); sockfd = socket (ai->ai_family, ai->ai_socktype, ai->ai_protocol); if (sockfd < 0) { error (0, errno, "socket"); continue; } if (connect (sockfd, ai->ai_addr, ai->ai_addrlen) < 0) { int save_errno = errno; close (sockfd); sockfd = -1; error (0, save_errno, "connect"); continue; } break; } if (sockfd < 0) error (EXIT_FAILURE, errno, "socket"); freeaddrinfo (ai); } if (!greeting ()) return 1; #ifdef HAVE_LIBGNUTLS if (sockfd && !args_info.no_starttls_flag && (args_info.starttls_flag || has_starttls ())) { res = gnutls_global_init (); if (res < 0) error (EXIT_FAILURE, 0, _("GnuTLS global initialization failed: %s"), gnutls_strerror (res)); res = gnutls_init (&session, GNUTLS_CLIENT); if (res < 0) error (EXIT_FAILURE, 0, _("GnuTLS initialization failed: %s"), gnutls_strerror (res)); res = gnutls_set_default_priority (session); if (res < 0) error (EXIT_FAILURE, 0, _("setting GnuTLS defaults failed: %s"), gnutls_strerror (res)); res = gnutls_anon_allocate_client_credentials (&anoncred); if (res < 0) error (EXIT_FAILURE, 0, _("allocating anonymous GnuTLS credential: %s"), gnutls_strerror (res)); res = gnutls_credentials_set (session, GNUTLS_CRD_ANON, anoncred); if (res < 0) error (EXIT_FAILURE, 0, _("setting anonymous GnuTLS credential: %s"), gnutls_strerror (res)); res = gnutls_certificate_allocate_credentials (&x509cred); if (res < 0) error (EXIT_FAILURE, 0, _("allocating X.509 GnuTLS credential: %s"), gnutls_strerror (res)); if (args_info.x509_cert_file_arg && args_info.x509_key_file_arg) res = gnutls_certificate_set_x509_key_file (x509cred, args_info.x509_cert_file_arg, args_info.x509_key_file_arg, GNUTLS_X509_FMT_PEM); if (res != GNUTLS_E_SUCCESS) error (EXIT_FAILURE, 0, _("loading X.509 GnuTLS credential: %s"), gnutls_strerror (res)); if (args_info.x509_ca_file_arg) { res = gnutls_certificate_set_x509_trust_file (x509cred, args_info.x509_ca_file_arg, GNUTLS_X509_FMT_PEM); if (res < 0) error (EXIT_FAILURE, 0, _("no X.509 CAs found: %s"), gnutls_strerror (res)); if (res == 0) error (EXIT_FAILURE, 0, _("no X.509 CAs found")); } res = gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, x509cred); if (res < 0) error (EXIT_FAILURE, 0, _("setting X.509 GnuTLS credential: %s"), gnutls_strerror (res)); if (args_info.priority_arg) { const char *err_pos; res = gnutls_priority_set_direct (session, args_info.priority_arg, &err_pos); if (res < 0) error (EXIT_FAILURE, 0, _("setting GnuTLS cipher priority (%s): %s\n"), gnutls_strerror (res), err_pos); } gnutls_transport_set_ptr (session, (gnutls_transport_ptr) (unsigned long) sockfd); if (!starttls ()) return 1; res = gnutls_handshake (session); if (res < 0) error (EXIT_FAILURE, 0, _("GnuTLS handshake failed: %s"), gnutls_strerror (res)); if (args_info.x509_ca_file_arg) { unsigned int status; res = gnutls_certificate_verify_peers2 (session, &status); if (res < 0) error (EXIT_FAILURE, 0, _("verifying peer certificate: %s"), gnutls_strerror (res)); if (status & GNUTLS_CERT_INVALID) error (EXIT_FAILURE, 0, _("server certificate is not trusted")); if (status & GNUTLS_CERT_SIGNER_NOT_FOUND) error (EXIT_FAILURE, 0, _("server certificate hasn't got a known issuer")); if (status & GNUTLS_CERT_REVOKED) error (EXIT_FAILURE, 0, _("server certificate has been revoked")); if (status != 0) error (EXIT_FAILURE, 0, _("could not verify server certificate (rc=%u)"), status); } #if HAVE_GNUTLS_SESSION_CHANNEL_BINDING if (!args_info.no_cb_flag) { gnutls_datum cb; res = gnutls_session_channel_binding (session, GNUTLS_CB_TLS_UNIQUE, &cb); if (res != GNUTLS_E_SUCCESS) error (EXIT_FAILURE, 0, _("getting channel binding failed: %s"), gnutls_strerror (res)); res = gsasl_base64_to ((char *) cb.data, cb.size, &b64cbtlsunique, NULL); if (res != GSASL_OK) error (EXIT_FAILURE, 0, "%s", gsasl_strerror (res)); } #endif using_tls = true; } #endif if (args_info.client_flag || args_info.client_given || args_info.server_given) { char *out; char *b64output; size_t output_len; size_t b64output_len; const char *mech; Gsasl_session *xctx = NULL; if (!select_mechanism (&in)) return 1; mech = gsasl_client_suggest_mechanism (ctx, in); if (mech == NULL) { fprintf (stderr, _("Cannot find mechanism...\n")); return 0; } if (args_info.mechanism_arg) mech = args_info.mechanism_arg; if (!authenticate (mech)) return 1; /* Authenticate using mechanism */ if (args_info.server_flag) res = gsasl_server_start (ctx, mech, &xctx); else res = gsasl_client_start (ctx, mech, &xctx); if (res != GSASL_OK) error (EXIT_FAILURE, 0, _("mechanism unavailable: %s"), gsasl_strerror (res)); in = NULL; out = NULL; if (!args_info.server_flag && args_info.no_client_first_flag) { res = GSASL_NEEDS_MORE; goto no_client_first; } do { int res2; res = gsasl_step64 (xctx, in, &out); if (res != GSASL_NEEDS_MORE && res != GSASL_OK) break; if (!step_send (out)) return 1; no_client_first: if (!args_info.quiet_given && !args_info.imap_flag && !args_info.smtp_flag) { if (args_info.server_flag) fprintf (stderr, _("Enter base64 authentication data " "from client (press RET if none):\n")); else fprintf (stderr, _("Enter base64 authentication data " "from server (press RET if none):\n")); } /* Return 1 on token, 2 on protocol success, 3 on protocol fail, 0 on errors. */ res2 = step_recv (&in); if (!res2) return 1; if (res2 == 3) error (EXIT_FAILURE, 0, _("server error")); if (res2 == 2) break; } while (args_info.imap_flag || args_info.smtp_flag || res == GSASL_NEEDS_MORE); if (res != GSASL_OK) error (EXIT_FAILURE, 0, _("mechanism error: %s"), gsasl_strerror (res)); if (!args_info.quiet_given) { if (args_info.server_flag) fprintf (stderr, _("Server authentication " "finished (client trusted)...\n")); else fprintf (stderr, _("Client authentication " "finished (server trusted)...\n")); fflush (stderr); } /* Transfer application payload */ if (args_info.application_data_flag) { struct pollfd pfd[2]; char *sockbuf = NULL; /* we read chunks of 1000 bytes at a time */ size_t sockpos = 0, sockalloc = 0, sockalloc1 = 1000; /* Setup pollfd structs... */ pfd[0].fd = STDIN_FILENO; pfd[0].events = POLLIN; if (sockfd) { pfd[1].fd = sockfd; pfd[1].events = POLLIN; } if (!args_info.quiet_given) { fprintf (stderr, _("Enter application data (EOF to finish):\n")); fflush (stderr); } while (1) { int rc; pfd[0].revents = 0; pfd[1].revents = 0; rc = poll (pfd, sockfd ? 2 : 1, -1); if (rc < 0 && errno == EINTR) continue; /* Always check for errors */ if (rc < 0) error (EXIT_FAILURE, errno, "poll"); /* We got data to read from stdin.. */ if ((pfd[0].revents & (POLLIN | POLLERR)) == POLLIN) { char *line = NULL; size_t n; ssize_t len; len = getline (&line, &n, stdin); if (len <= 0) break; if (args_info.imap_flag || args_info.smtp_flag) { if (len < 2 || strcmp (&line[len - 2], "\r\n") != 0) { line = xrealloc (line, len + 2); line[len - 1] = '\r'; line[len] = '\n'; line[len + 1] = '\0'; len++; } } else { len--; line[len] = '\0'; } res = gsasl_encode (xctx, line, len, &out, &output_len); if (res != GSASL_OK) break; if (sockfd) { #ifdef HAVE_LIBGNUTLS if (using_tls) len = gnutls_record_send (session, out, output_len); else #endif len = write (sockfd, out, output_len); if (len != output_len) error (EXIT_FAILURE, errno, "write"); } else if (!(strlen (line) == output_len && memcmp (line, out, output_len) == 0)) { res = gsasl_base64_to (out, output_len, &b64output, &b64output_len); if (res != GSASL_OK) break; if (!args_info.quiet_given) fprintf (stderr, _("Base64 encoded application " "data to send:\n")); fprintf (stdout, "%s\n", b64output); free (b64output); } free (line); free (out); } /* If there was an error, quit. */ else if (pfd[0].revents & (POLLERR | POLLHUP)) { error (0, 0, "poll stdin"); break; } /* We got data to read from the socket.. */ if (sockfd && (pfd[1].revents & (POLLIN | POLLERR)) == POLLIN) { ssize_t len; if (sockalloc == sockpos) sockbuf = x2realloc (sockbuf, &sockalloc1); sockalloc = sockalloc1; #ifdef HAVE_LIBGNUTLS if (using_tls) len = gnutls_record_recv (session, &sockbuf[sockpos], sockalloc - sockpos); else #endif len = recv (sockfd, &sockbuf[sockpos], sockalloc - sockpos, 0); if (len <= 0) break; sockpos += len; res = gsasl_decode (xctx, sockbuf, sockpos, &out, &output_len); if (res == GSASL_NEEDS_MORE) { #define MAX_INPUT_SIZE 0x100000 if (sockpos > MAX_INPUT_SIZE) error (EXIT_FAILURE, 0, _("SASL record too large: %zu\n"), sockpos); continue; } if (res != GSASL_OK) break; free (sockbuf); sockbuf = NULL; sockpos = 0; sockalloc = 0; sockalloc1 = 1000; printf ("%.*s", (int) output_len, out); free (out); } /* If there was an error, quit. */ else if (pfd[1].revents & (POLLERR | POLLHUP)) { error (0, 0, "poll socket"); break; } } if (res != GSASL_OK) error (EXIT_FAILURE, 0, _("encoding error: %s"), gsasl_strerror (res)); } if (!args_info.quiet_given) fprintf (stderr, _("Session finished...\n")); if (!logout ()) return 1; gsasl_finish (xctx); } if (sockfd) { #ifdef HAVE_LIBGNUTLS if (using_tls) { res = gnutls_bye (session, GNUTLS_SHUT_RDWR); if (res < 0) error (EXIT_FAILURE, 0, _("terminating GnuTLS session failed: %s"), gnutls_strerror (res)); } #endif shutdown (sockfd, SHUT_RDWR); close (sockfd); } gsasl_done (ctx); #ifdef HAVE_LIBGNUTLS if (using_tls) { gnutls_deinit (session); gnutls_anon_free_client_credentials (anoncred); gnutls_certificate_free_credentials (x509cred); gnutls_global_deinit (); } #endif return 0; } gsasl-1.8.1/src/callbacks.h0000644000000000000000000000172113516252321012401 00000000000000/* callbacks.h --- Prototypes for SASL callbacks. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifndef CALLBACKS_H #define CALLBACKS_H #include /* Gsasl_session_ctx */ extern int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop); #endif /* CALLBACKS_H */ gsasl-1.8.1/src/smtp.c0000644000000000000000000000721013516252321011437 00000000000000/* smtp.c --- Implement SMTP profile of SASL login. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include "smtp.h" int smtp_greeting (void) { char *in; if (!readln (&in)) return 0; return 1; } int smtp_has_starttls (void) { char *in; int has_tls = 0; if (!writeln ("EHLO [127.0.0.1]")) return 0; do { if (!readln (&in)) return 0; #define TLSGREETING "250-STARTTLS" if (strncmp (in, TLSGREETING, strlen (TLSGREETING)) == 0) has_tls = 1; } while (strncmp (in, "250 ", 4) != 0); return has_tls; } int smtp_starttls (void) { char *in; if (!writeln ("STARTTLS")) return 0; if (!readln (&in)) return 0; return 1; } int smtp_select_mechanism (char **mechlist) { char *in; if (args_info.server_flag) { if (!args_info.quiet_given) fprintf (stderr, _("Chose SASL mechanisms:\n")); if (!readln (&in)) return 0; *mechlist = in; } else { if (!writeln ("EHLO [127.0.0.1]")) return 0; do { if (!readln (&in)) return 0; #define GREETING1 "250-AUTH " #define GREETING2 "250 AUTH " if (strncmp (in, GREETING1, strlen (GREETING1)) == 0) *mechlist = in + strlen (GREETING1); else if (strncmp (in, GREETING2, strlen (GREETING2)) == 0) *mechlist = in + strlen (GREETING2); } while (strncmp (in, "250 ", 4) != 0); } return 1; } int smtp_authenticate (const char *mech) { if (args_info.server_flag) { if (!args_info.quiet_given) fprintf (stderr, _("Using mechanism:\n")); puts (mech); } else { char *buf; int rc; int len; len = asprintf (&buf, "AUTH %s", mech); if (len < 0) return 0; rc = writeln (buf); free (buf); if (!rc) return 0; } return 1; } int smtp_step_send (const char *data) { char *buf; int rc; int len; if (args_info.server_flag) len = asprintf (&buf, "334 %s", data); else len = asprintf (&buf, "%s", data); if (len < 0) return 0; rc = writeln (buf); free (buf); if (!rc) return 0; return 1; } /* Return 1 on token, 2 on protocol success, 3 on protocol fail, 0 on errors. */ int smtp_step_recv (char **data) { char *p; if (!readln (data)) return 0; p = *data; if (strlen (p) <= 3) return 0; if (strncmp (p, "334 ", 4) == 0) { memmove (&p[0], &p[4], strlen (p) - 3); if (p[strlen (p) - 1] == '\n') p[strlen (p) - 1] = '\0'; if (p[strlen (p) - 1] == '\r') p[strlen (p) - 1] = '\0'; return 1; } if (strncmp (p, "235 ", 4) == 0) { /* Never a token here, we don't support additional server information on success. */ return 2; } if (strncmp (p, "535 ", 4) == 0) return 3; fprintf (stderr, _("error: could not parse server data:\n%s\n"), p); return 0; } int smtp_logout (void) { char *in; if (!writeln ("QUIT")) return 0; /* read "221 2.0.0 foo closing ..." */ if (!readln (&in)) return 0; free (in); return 1; } gsasl-1.8.1/src/Makefile.am0000644000000000000000000000304613516252321012347 00000000000000## Process this file with automake to produce Makefile.in # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src AM_CPPFLAGS += -DLOCALEDIR=\"$(datadir)/locale\" bin_PROGRAMS = gsasl gsasl_SOURCES = gsasl.c \ imap.c imap.h smtp.c smtp.h \ callbacks.h callbacks.c internal.h gsasl_LDADD = ../lib/src/libgsasl.la ../gl/libgl.la \ $(LTLIBREADLINE) $(LTLIBGNUTLS) $(LIBSOCKET) $(LTLIBINTL) \ libgsasl_cmd.la noinst_LTLIBRARIES = libgsasl_cmd.la BUILT_SOURCES = gsasl_cmd.c gsasl_cmd.h libgsasl_cmd_la_SOURCES = $(BUILT_SOURCES) gsasl.ggo libgsasl_cmd_la_LIBADD = ../gl/libgl.la libgsasl_cmd_la_CFLAGS = $(BUILT_SOURCES): gsasl.ggo Makefile.am gengetopt --unamed-opts="HOST [PORT]" \ --no-handle-version --no-handle-help \ --input $< --file-name gsasl_cmd gsasl-1.8.1/src/gsasl_cmd.c0000644000000000000000000013577413521017353012431 00000000000000/* File autogenerated by gengetopt version 2.22.6 generated with the following command: gengetopt --unamed-opts=HOST [PORT] --no-handle-version --no-handle-help --input gsasl.ggo --file-name gsasl_cmd The developers of gengetopt consider the fixed text that goes in all gengetopt output files to be in the public domain: we make no copyright claims on it. */ /* If we use autoconf. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #ifndef FIX_UNUSED #define FIX_UNUSED(X) (void) (X) /* avoid warnings for unused params */ #endif #include #include "gsasl_cmd.h" const char *gengetopt_args_info_purpose = "Authenticate user to a server using Simple Authentication and\nSecurity Layer. Currently IMAP and SMTP servers are supported. This\nis a command line interface for the GNU SASL library."; const char *gengetopt_args_info_usage = "Usage: " CMDLINE_PARSER_PACKAGE " [OPTIONS]... [HOST [PORT]]..."; const char *gengetopt_args_info_versiontext = ""; const char *gengetopt_args_info_description = ""; const char *gengetopt_args_info_help[] = { " -h, --help Print help and exit", " -V, --version Print version and exit", "\nCommands:", " -c, --client Act as client. (default=on)", " -s, --server Act as server. (default=off)", " --client-mechanisms Write name of supported client mechanisms\n separated by space to stdout. (default=off)", " --server-mechanisms Write name of supported server mechanisms\n separated by space to stdout. (default=off)", "\nNetwork options:", " --connect=HOST[:PORT] Connect to TCP server and negotiate on stream\n instead of stdin/stdout. PORT is the protocol\n service, or an integer denoting the port, and\n defaults to 143 (imap) if not specified. Also\n sets the --hostname default.", "\nGeneric options:", " -d, --application-data After authentication, read data from stdin and\n run it through the mechanism's security layer\n and print it base64 encoded to stdout. The\n default is to terminate after authentication.\n (default=on)", " --imap Use a IMAP-like logon procedure (client only).\n Also sets the --service default to 'imap'.\n (default=off)", " --smtp Use a SMTP-like logon procedure (client only).\n Also sets the --service default to 'smtp'.\n (default=off)", " -m, --mechanism=STRING Mechanism to use.", " --no-client-first Disallow client to send data first (client\n only). (default=off)", "\nSASL mechanism options (they are prompted for when required):", " -n, --anonymous-token=STRING Token for anonymous authentication, usually\n mail address (ANONYMOUS only).", " -a, --authentication-id=STRING\n Identity of credential owner.", " -z, --authorization-id=STRING Identity to request service for.", " -p, --password=STRING Password for authentication (insecure for\n non-testing purposes).", " -r, --realm=STRING Realm. Defaults to hostname.", " -x, --maxbuf=NUMBER Indicate maximum buffer size (DIGEST-MD5 only).", " --passcode=NUMBER Passcode for authentication (SECURID only).", " --service=STRING Set the requested service name (should be a\n registered GSSAPI host based service name).", " --hostname=STRING Set the name of the server with the requested\n service.", " --service-name=STRING Set the generic server name in case of a\n replicated server (DIGEST-MD5 only).", " --enable-cram-md5-validate\n Validate CRAM-MD5 challenge and response\n interactively. (default=off)", " --disable-cleartext-validate\n Disable cleartext validate hook, forcing server\n to prompt for password. (default=off)", " --quality-of-protection=TYPE\n How application payload will be protected.\n 'qop-auth' means no protection, 'qop-int'\n means integrity protection, 'qop-conf' means\n integrity and confidentialiy protection.\n Currently only used by DIGEST-MD5, where the\n default is 'qop-int'.", "\nSTARTTLS options:", " --starttls Force use of STARTTLS. The default is to use\n STARTTLS when available. (default=off)", " --no-starttls Unconditionally disable STARTTLS.\n (default=off)", " --no-cb Don't use channel bindings from TLS.\n (default=off)", " --x509-ca-file=FILE File containing one or more X.509 Certificate\n Authorities certificates in PEM format, used\n to verify the certificate received from the\n server. If not specified, no verification of\n the remote server certificate will be done.", " --x509-cert-file=FILE File containing client X.509 certificate in PEM\n format. Used together with --x509-key-file\n to specify the certificate/key pair.", " --x509-key-file=FILE Private key for the client X.509 certificate in\n PEM format. Used together with\n --x509-key-file to specify the\n certificate/key pair.", " --priority=STRING Cipher priority string.", "\nOther options:", " --verbose Produce verbose output. (default=off)", " --quiet Don't produce any diagnostic output.\n (default=off)", 0 }; typedef enum {ARG_NO , ARG_FLAG , ARG_STRING , ARG_INT } cmdline_parser_arg_type; static void clear_given (struct gengetopt_args_info *args_info); static void clear_args (struct gengetopt_args_info *args_info); static int cmdline_parser_internal (int argc, char **argv, struct gengetopt_args_info *args_info, struct cmdline_parser_params *params, const char *additional_error); static char * gengetopt_strdup (const char *s); static void clear_given (struct gengetopt_args_info *args_info) { args_info->help_given = 0 ; args_info->version_given = 0 ; args_info->client_given = 0 ; args_info->server_given = 0 ; args_info->client_mechanisms_given = 0 ; args_info->server_mechanisms_given = 0 ; args_info->connect_given = 0 ; args_info->application_data_given = 0 ; args_info->imap_given = 0 ; args_info->smtp_given = 0 ; args_info->mechanism_given = 0 ; args_info->no_client_first_given = 0 ; args_info->anonymous_token_given = 0 ; args_info->authentication_id_given = 0 ; args_info->authorization_id_given = 0 ; args_info->password_given = 0 ; args_info->realm_given = 0 ; args_info->maxbuf_given = 0 ; args_info->passcode_given = 0 ; args_info->service_given = 0 ; args_info->hostname_given = 0 ; args_info->service_name_given = 0 ; args_info->enable_cram_md5_validate_given = 0 ; args_info->disable_cleartext_validate_given = 0 ; args_info->quality_of_protection_given = 0 ; args_info->starttls_given = 0 ; args_info->no_starttls_given = 0 ; args_info->no_cb_given = 0 ; args_info->x509_ca_file_given = 0 ; args_info->x509_cert_file_given = 0 ; args_info->x509_key_file_given = 0 ; args_info->priority_given = 0 ; args_info->verbose_given = 0 ; args_info->quiet_given = 0 ; } static void clear_args (struct gengetopt_args_info *args_info) { FIX_UNUSED (args_info); args_info->client_flag = 1; args_info->server_flag = 0; args_info->client_mechanisms_flag = 0; args_info->server_mechanisms_flag = 0; args_info->connect_arg = NULL; args_info->connect_orig = NULL; args_info->application_data_flag = 1; args_info->imap_flag = 0; args_info->smtp_flag = 0; args_info->mechanism_arg = NULL; args_info->mechanism_orig = NULL; args_info->no_client_first_flag = 0; args_info->anonymous_token_arg = NULL; args_info->anonymous_token_orig = NULL; args_info->authentication_id_arg = NULL; args_info->authentication_id_orig = NULL; args_info->authorization_id_arg = NULL; args_info->authorization_id_orig = NULL; args_info->password_arg = NULL; args_info->password_orig = NULL; args_info->realm_arg = NULL; args_info->realm_orig = NULL; args_info->maxbuf_orig = NULL; args_info->passcode_arg = NULL; args_info->passcode_orig = NULL; args_info->service_arg = NULL; args_info->service_orig = NULL; args_info->hostname_arg = NULL; args_info->hostname_orig = NULL; args_info->service_name_arg = NULL; args_info->service_name_orig = NULL; args_info->enable_cram_md5_validate_flag = 0; args_info->disable_cleartext_validate_flag = 0; args_info->quality_of_protection_arg = NULL; args_info->quality_of_protection_orig = NULL; args_info->starttls_flag = 0; args_info->no_starttls_flag = 0; args_info->no_cb_flag = 0; args_info->x509_ca_file_arg = NULL; args_info->x509_ca_file_orig = NULL; args_info->x509_cert_file_arg = NULL; args_info->x509_cert_file_orig = NULL; args_info->x509_key_file_arg = NULL; args_info->x509_key_file_orig = NULL; args_info->priority_arg = NULL; args_info->priority_orig = NULL; args_info->verbose_flag = 0; args_info->quiet_flag = 0; } static void init_args_info(struct gengetopt_args_info *args_info) { args_info->help_help = gengetopt_args_info_help[0] ; args_info->version_help = gengetopt_args_info_help[1] ; args_info->client_help = gengetopt_args_info_help[3] ; args_info->server_help = gengetopt_args_info_help[4] ; args_info->client_mechanisms_help = gengetopt_args_info_help[5] ; args_info->server_mechanisms_help = gengetopt_args_info_help[6] ; args_info->connect_help = gengetopt_args_info_help[8] ; args_info->application_data_help = gengetopt_args_info_help[10] ; args_info->imap_help = gengetopt_args_info_help[11] ; args_info->smtp_help = gengetopt_args_info_help[12] ; args_info->mechanism_help = gengetopt_args_info_help[13] ; args_info->no_client_first_help = gengetopt_args_info_help[14] ; args_info->anonymous_token_help = gengetopt_args_info_help[16] ; args_info->authentication_id_help = gengetopt_args_info_help[17] ; args_info->authorization_id_help = gengetopt_args_info_help[18] ; args_info->password_help = gengetopt_args_info_help[19] ; args_info->realm_help = gengetopt_args_info_help[20] ; args_info->maxbuf_help = gengetopt_args_info_help[21] ; args_info->passcode_help = gengetopt_args_info_help[22] ; args_info->service_help = gengetopt_args_info_help[23] ; args_info->hostname_help = gengetopt_args_info_help[24] ; args_info->service_name_help = gengetopt_args_info_help[25] ; args_info->enable_cram_md5_validate_help = gengetopt_args_info_help[26] ; args_info->disable_cleartext_validate_help = gengetopt_args_info_help[27] ; args_info->quality_of_protection_help = gengetopt_args_info_help[28] ; args_info->starttls_help = gengetopt_args_info_help[30] ; args_info->no_starttls_help = gengetopt_args_info_help[31] ; args_info->no_cb_help = gengetopt_args_info_help[32] ; args_info->x509_ca_file_help = gengetopt_args_info_help[33] ; args_info->x509_cert_file_help = gengetopt_args_info_help[34] ; args_info->x509_key_file_help = gengetopt_args_info_help[35] ; args_info->priority_help = gengetopt_args_info_help[36] ; args_info->verbose_help = gengetopt_args_info_help[38] ; args_info->quiet_help = gengetopt_args_info_help[39] ; } void cmdline_parser_print_version (void) { printf ("%s %s\n", (strlen(CMDLINE_PARSER_PACKAGE_NAME) ? CMDLINE_PARSER_PACKAGE_NAME : CMDLINE_PARSER_PACKAGE), CMDLINE_PARSER_VERSION); if (strlen(gengetopt_args_info_versiontext) > 0) printf("\n%s\n", gengetopt_args_info_versiontext); } static void print_help_common(void) { cmdline_parser_print_version (); if (strlen(gengetopt_args_info_purpose) > 0) printf("\n%s\n", gengetopt_args_info_purpose); if (strlen(gengetopt_args_info_usage) > 0) printf("\n%s\n", gengetopt_args_info_usage); printf("\n"); if (strlen(gengetopt_args_info_description) > 0) printf("%s\n\n", gengetopt_args_info_description); } void cmdline_parser_print_help (void) { int i = 0; print_help_common(); while (gengetopt_args_info_help[i]) printf("%s\n", gengetopt_args_info_help[i++]); } void cmdline_parser_init (struct gengetopt_args_info *args_info) { clear_given (args_info); clear_args (args_info); init_args_info (args_info); args_info->inputs = 0; args_info->inputs_num = 0; } void cmdline_parser_params_init(struct cmdline_parser_params *params) { if (params) { params->override = 0; params->initialize = 1; params->check_required = 1; params->check_ambiguity = 0; params->print_errors = 1; } } struct cmdline_parser_params * cmdline_parser_params_create(void) { struct cmdline_parser_params *params = (struct cmdline_parser_params *)malloc(sizeof(struct cmdline_parser_params)); cmdline_parser_params_init(params); return params; } static void free_string_field (char **s) { if (*s) { free (*s); *s = 0; } } static void cmdline_parser_release (struct gengetopt_args_info *args_info) { unsigned int i; free_string_field (&(args_info->connect_arg)); free_string_field (&(args_info->connect_orig)); free_string_field (&(args_info->mechanism_arg)); free_string_field (&(args_info->mechanism_orig)); free_string_field (&(args_info->anonymous_token_arg)); free_string_field (&(args_info->anonymous_token_orig)); free_string_field (&(args_info->authentication_id_arg)); free_string_field (&(args_info->authentication_id_orig)); free_string_field (&(args_info->authorization_id_arg)); free_string_field (&(args_info->authorization_id_orig)); free_string_field (&(args_info->password_arg)); free_string_field (&(args_info->password_orig)); free_string_field (&(args_info->realm_arg)); free_string_field (&(args_info->realm_orig)); free_string_field (&(args_info->maxbuf_orig)); free_string_field (&(args_info->passcode_arg)); free_string_field (&(args_info->passcode_orig)); free_string_field (&(args_info->service_arg)); free_string_field (&(args_info->service_orig)); free_string_field (&(args_info->hostname_arg)); free_string_field (&(args_info->hostname_orig)); free_string_field (&(args_info->service_name_arg)); free_string_field (&(args_info->service_name_orig)); free_string_field (&(args_info->quality_of_protection_arg)); free_string_field (&(args_info->quality_of_protection_orig)); free_string_field (&(args_info->x509_ca_file_arg)); free_string_field (&(args_info->x509_ca_file_orig)); free_string_field (&(args_info->x509_cert_file_arg)); free_string_field (&(args_info->x509_cert_file_orig)); free_string_field (&(args_info->x509_key_file_arg)); free_string_field (&(args_info->x509_key_file_orig)); free_string_field (&(args_info->priority_arg)); free_string_field (&(args_info->priority_orig)); for (i = 0; i < args_info->inputs_num; ++i) free (args_info->inputs [i]); if (args_info->inputs_num) free (args_info->inputs); clear_given (args_info); } static void write_into_file(FILE *outfile, const char *opt, const char *arg, const char *values[]) { FIX_UNUSED (values); if (arg) { fprintf(outfile, "%s=\"%s\"\n", opt, arg); } else { fprintf(outfile, "%s\n", opt); } } int cmdline_parser_dump(FILE *outfile, struct gengetopt_args_info *args_info) { int i = 0; if (!outfile) { fprintf (stderr, "%s: cannot dump options to stream\n", CMDLINE_PARSER_PACKAGE); return EXIT_FAILURE; } if (args_info->help_given) write_into_file(outfile, "help", 0, 0 ); if (args_info->version_given) write_into_file(outfile, "version", 0, 0 ); if (args_info->client_given) write_into_file(outfile, "client", 0, 0 ); if (args_info->server_given) write_into_file(outfile, "server", 0, 0 ); if (args_info->client_mechanisms_given) write_into_file(outfile, "client-mechanisms", 0, 0 ); if (args_info->server_mechanisms_given) write_into_file(outfile, "server-mechanisms", 0, 0 ); if (args_info->connect_given) write_into_file(outfile, "connect", args_info->connect_orig, 0); if (args_info->application_data_given) write_into_file(outfile, "application-data", 0, 0 ); if (args_info->imap_given) write_into_file(outfile, "imap", 0, 0 ); if (args_info->smtp_given) write_into_file(outfile, "smtp", 0, 0 ); if (args_info->mechanism_given) write_into_file(outfile, "mechanism", args_info->mechanism_orig, 0); if (args_info->no_client_first_given) write_into_file(outfile, "no-client-first", 0, 0 ); if (args_info->anonymous_token_given) write_into_file(outfile, "anonymous-token", args_info->anonymous_token_orig, 0); if (args_info->authentication_id_given) write_into_file(outfile, "authentication-id", args_info->authentication_id_orig, 0); if (args_info->authorization_id_given) write_into_file(outfile, "authorization-id", args_info->authorization_id_orig, 0); if (args_info->password_given) write_into_file(outfile, "password", args_info->password_orig, 0); if (args_info->realm_given) write_into_file(outfile, "realm", args_info->realm_orig, 0); if (args_info->maxbuf_given) write_into_file(outfile, "maxbuf", args_info->maxbuf_orig, 0); if (args_info->passcode_given) write_into_file(outfile, "passcode", args_info->passcode_orig, 0); if (args_info->service_given) write_into_file(outfile, "service", args_info->service_orig, 0); if (args_info->hostname_given) write_into_file(outfile, "hostname", args_info->hostname_orig, 0); if (args_info->service_name_given) write_into_file(outfile, "service-name", args_info->service_name_orig, 0); if (args_info->enable_cram_md5_validate_given) write_into_file(outfile, "enable-cram-md5-validate", 0, 0 ); if (args_info->disable_cleartext_validate_given) write_into_file(outfile, "disable-cleartext-validate", 0, 0 ); if (args_info->quality_of_protection_given) write_into_file(outfile, "quality-of-protection", args_info->quality_of_protection_orig, 0); if (args_info->starttls_given) write_into_file(outfile, "starttls", 0, 0 ); if (args_info->no_starttls_given) write_into_file(outfile, "no-starttls", 0, 0 ); if (args_info->no_cb_given) write_into_file(outfile, "no-cb", 0, 0 ); if (args_info->x509_ca_file_given) write_into_file(outfile, "x509-ca-file", args_info->x509_ca_file_orig, 0); if (args_info->x509_cert_file_given) write_into_file(outfile, "x509-cert-file", args_info->x509_cert_file_orig, 0); if (args_info->x509_key_file_given) write_into_file(outfile, "x509-key-file", args_info->x509_key_file_orig, 0); if (args_info->priority_given) write_into_file(outfile, "priority", args_info->priority_orig, 0); if (args_info->verbose_given) write_into_file(outfile, "verbose", 0, 0 ); if (args_info->quiet_given) write_into_file(outfile, "quiet", 0, 0 ); i = EXIT_SUCCESS; return i; } int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info) { FILE *outfile; int i = 0; outfile = fopen(filename, "w"); if (!outfile) { fprintf (stderr, "%s: cannot open file for writing: %s\n", CMDLINE_PARSER_PACKAGE, filename); return EXIT_FAILURE; } i = cmdline_parser_dump(outfile, args_info); fclose (outfile); return i; } void cmdline_parser_free (struct gengetopt_args_info *args_info) { cmdline_parser_release (args_info); } /** @brief replacement of strdup, which is not standard */ char * gengetopt_strdup (const char *s) { char *result = 0; if (!s) return result; result = (char*)malloc(strlen(s) + 1); if (result == (char*)0) return (char*)0; strcpy(result, s); return result; } int cmdline_parser (int argc, char **argv, struct gengetopt_args_info *args_info) { return cmdline_parser2 (argc, argv, args_info, 0, 1, 1); } int cmdline_parser_ext (int argc, char **argv, struct gengetopt_args_info *args_info, struct cmdline_parser_params *params) { int result; result = cmdline_parser_internal (argc, argv, args_info, params, 0); if (result == EXIT_FAILURE) { cmdline_parser_free (args_info); exit (EXIT_FAILURE); } return result; } int cmdline_parser2 (int argc, char **argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required) { int result; struct cmdline_parser_params params; params.override = override; params.initialize = initialize; params.check_required = check_required; params.check_ambiguity = 0; params.print_errors = 1; result = cmdline_parser_internal (argc, argv, args_info, ¶ms, 0); if (result == EXIT_FAILURE) { cmdline_parser_free (args_info); exit (EXIT_FAILURE); } return result; } int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name) { FIX_UNUSED (args_info); FIX_UNUSED (prog_name); return EXIT_SUCCESS; } static char *package_name = 0; /** * @brief updates an option * @param field the generic pointer to the field to update * @param orig_field the pointer to the orig field * @param field_given the pointer to the number of occurrence of this option * @param prev_given the pointer to the number of occurrence already seen * @param value the argument for this option (if null no arg was specified) * @param possible_values the possible values for this option (if specified) * @param default_value the default value (in case the option only accepts fixed values) * @param arg_type the type of this option * @param check_ambiguity @see cmdline_parser_params.check_ambiguity * @param override @see cmdline_parser_params.override * @param no_free whether to free a possible previous value * @param multiple_option whether this is a multiple option * @param long_opt the corresponding long option * @param short_opt the corresponding short option (or '-' if none) * @param additional_error possible further error specification */ static int update_arg(void *field, char **orig_field, unsigned int *field_given, unsigned int *prev_given, char *value, const char *possible_values[], const char *default_value, cmdline_parser_arg_type arg_type, int check_ambiguity, int override, int no_free, int multiple_option, const char *long_opt, char short_opt, const char *additional_error) { char *stop_char = 0; const char *val = value; int found; char **string_field; FIX_UNUSED (field); stop_char = 0; found = 0; if (!multiple_option && prev_given && (*prev_given || (check_ambiguity && *field_given))) { if (short_opt != '-') fprintf (stderr, "%s: `--%s' (`-%c') option given more than once%s\n", package_name, long_opt, short_opt, (additional_error ? additional_error : "")); else fprintf (stderr, "%s: `--%s' option given more than once%s\n", package_name, long_opt, (additional_error ? additional_error : "")); return 1; /* failure */ } FIX_UNUSED (default_value); if (field_given && *field_given && ! override) return 0; if (prev_given) (*prev_given)++; if (field_given) (*field_given)++; if (possible_values) val = possible_values[found]; switch(arg_type) { case ARG_FLAG: *((int *)field) = !*((int *)field); break; case ARG_INT: if (val) *((int *)field) = strtol (val, &stop_char, 0); break; case ARG_STRING: if (val) { string_field = (char **)field; if (!no_free && *string_field) free (*string_field); /* free previous string */ *string_field = gengetopt_strdup (val); } break; default: break; }; /* check numeric conversion */ switch(arg_type) { case ARG_INT: if (val && !(stop_char && *stop_char == '\0')) { fprintf(stderr, "%s: invalid numeric value: %s\n", package_name, val); return 1; /* failure */ } break; default: ; }; /* store the original value */ switch(arg_type) { case ARG_NO: case ARG_FLAG: break; default: if (value && orig_field) { if (no_free) { *orig_field = value; } else { if (*orig_field) free (*orig_field); /* free previous string */ *orig_field = gengetopt_strdup (value); } } }; return 0; /* OK */ } int cmdline_parser_internal ( int argc, char **argv, struct gengetopt_args_info *args_info, struct cmdline_parser_params *params, const char *additional_error) { int c; /* Character of the parsed option. */ int error_occurred = 0; struct gengetopt_args_info local_args_info; int override; int initialize; int check_required; int check_ambiguity; package_name = argv[0]; override = params->override; initialize = params->initialize; check_required = params->check_required; check_ambiguity = params->check_ambiguity; if (initialize) cmdline_parser_init (args_info); cmdline_parser_init (&local_args_info); optarg = 0; optind = 0; opterr = params->print_errors; optopt = '?'; while (1) { int option_index = 0; static struct option long_options[] = { { "help", 0, NULL, 'h' }, { "version", 0, NULL, 'V' }, { "client", 0, NULL, 'c' }, { "server", 0, NULL, 's' }, { "client-mechanisms", 0, NULL, 0 }, { "server-mechanisms", 0, NULL, 0 }, { "connect", 1, NULL, 0 }, { "application-data", 0, NULL, 'd' }, { "imap", 0, NULL, 0 }, { "smtp", 0, NULL, 0 }, { "mechanism", 1, NULL, 'm' }, { "no-client-first", 0, NULL, 0 }, { "anonymous-token", 1, NULL, 'n' }, { "authentication-id", 1, NULL, 'a' }, { "authorization-id", 1, NULL, 'z' }, { "password", 1, NULL, 'p' }, { "realm", 1, NULL, 'r' }, { "maxbuf", 1, NULL, 'x' }, { "passcode", 1, NULL, 0 }, { "service", 1, NULL, 0 }, { "hostname", 1, NULL, 0 }, { "service-name", 1, NULL, 0 }, { "enable-cram-md5-validate", 0, NULL, 0 }, { "disable-cleartext-validate", 0, NULL, 0 }, { "quality-of-protection", 1, NULL, 0 }, { "starttls", 0, NULL, 0 }, { "no-starttls", 0, NULL, 0 }, { "no-cb", 0, NULL, 0 }, { "x509-ca-file", 1, NULL, 0 }, { "x509-cert-file", 1, NULL, 0 }, { "x509-key-file", 1, NULL, 0 }, { "priority", 1, NULL, 0 }, { "verbose", 0, NULL, 0 }, { "quiet", 0, NULL, 0 }, { 0, 0, 0, 0 } }; c = getopt_long (argc, argv, "hVcsdm:n:a:z:p:r:x:", long_options, &option_index); if (c == -1) break; /* Exit from `while (1)' loop. */ switch (c) { case 'h': /* Print help and exit. */ if (update_arg( 0 , 0 , &(args_info->help_given), &(local_args_info.help_given), optarg, 0, 0, ARG_NO, check_ambiguity, override, 0, 0, "help", 'h', additional_error)) goto failure; cmdline_parser_free (&local_args_info); return 0; break; case 'V': /* Print version and exit. */ if (update_arg( 0 , 0 , &(args_info->version_given), &(local_args_info.version_given), optarg, 0, 0, ARG_NO, check_ambiguity, override, 0, 0, "version", 'V', additional_error)) goto failure; cmdline_parser_free (&local_args_info); return 0; break; case 'c': /* Act as client.. */ if (update_arg((void *)&(args_info->client_flag), 0, &(args_info->client_given), &(local_args_info.client_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "client", 'c', additional_error)) goto failure; break; case 's': /* Act as server.. */ if (update_arg((void *)&(args_info->server_flag), 0, &(args_info->server_given), &(local_args_info.server_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "server", 's', additional_error)) goto failure; break; case 'd': /* After authentication, read data from stdin and run it through the mechanism's security layer and print it base64 encoded to stdout. The default is to terminate after authentication.. */ if (update_arg((void *)&(args_info->application_data_flag), 0, &(args_info->application_data_given), &(local_args_info.application_data_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "application-data", 'd', additional_error)) goto failure; break; case 'm': /* Mechanism to use.. */ if (update_arg( (void *)&(args_info->mechanism_arg), &(args_info->mechanism_orig), &(args_info->mechanism_given), &(local_args_info.mechanism_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "mechanism", 'm', additional_error)) goto failure; break; case 'n': /* Token for anonymous authentication, usually mail address (ANONYMOUS only).. */ if (update_arg( (void *)&(args_info->anonymous_token_arg), &(args_info->anonymous_token_orig), &(args_info->anonymous_token_given), &(local_args_info.anonymous_token_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "anonymous-token", 'n', additional_error)) goto failure; break; case 'a': /* Identity of credential owner.. */ if (update_arg( (void *)&(args_info->authentication_id_arg), &(args_info->authentication_id_orig), &(args_info->authentication_id_given), &(local_args_info.authentication_id_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "authentication-id", 'a', additional_error)) goto failure; break; case 'z': /* Identity to request service for.. */ if (update_arg( (void *)&(args_info->authorization_id_arg), &(args_info->authorization_id_orig), &(args_info->authorization_id_given), &(local_args_info.authorization_id_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "authorization-id", 'z', additional_error)) goto failure; break; case 'p': /* Password for authentication (insecure for non-testing purposes).. */ if (update_arg( (void *)&(args_info->password_arg), &(args_info->password_orig), &(args_info->password_given), &(local_args_info.password_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "password", 'p', additional_error)) goto failure; break; case 'r': /* Realm. Defaults to hostname.. */ if (update_arg( (void *)&(args_info->realm_arg), &(args_info->realm_orig), &(args_info->realm_given), &(local_args_info.realm_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "realm", 'r', additional_error)) goto failure; break; case 'x': /* Indicate maximum buffer size (DIGEST-MD5 only).. */ if (update_arg( (void *)&(args_info->maxbuf_arg), &(args_info->maxbuf_orig), &(args_info->maxbuf_given), &(local_args_info.maxbuf_given), optarg, 0, 0, ARG_INT, check_ambiguity, override, 0, 0, "maxbuf", 'x', additional_error)) goto failure; break; case 0: /* Long option with no short option */ /* Write name of supported client mechanisms separated by space to stdout.. */ if (strcmp (long_options[option_index].name, "client-mechanisms") == 0) { if (update_arg((void *)&(args_info->client_mechanisms_flag), 0, &(args_info->client_mechanisms_given), &(local_args_info.client_mechanisms_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "client-mechanisms", '-', additional_error)) goto failure; } /* Write name of supported server mechanisms separated by space to stdout.. */ else if (strcmp (long_options[option_index].name, "server-mechanisms") == 0) { if (update_arg((void *)&(args_info->server_mechanisms_flag), 0, &(args_info->server_mechanisms_given), &(local_args_info.server_mechanisms_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "server-mechanisms", '-', additional_error)) goto failure; } /* Connect to TCP server and negotiate on stream instead of stdin/stdout. PORT is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the --hostname default.. */ else if (strcmp (long_options[option_index].name, "connect") == 0) { if (update_arg( (void *)&(args_info->connect_arg), &(args_info->connect_orig), &(args_info->connect_given), &(local_args_info.connect_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "connect", '-', additional_error)) goto failure; } /* Use a IMAP-like logon procedure (client only). Also sets the --service default to 'imap'.. */ else if (strcmp (long_options[option_index].name, "imap") == 0) { if (update_arg((void *)&(args_info->imap_flag), 0, &(args_info->imap_given), &(local_args_info.imap_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "imap", '-', additional_error)) goto failure; } /* Use a SMTP-like logon procedure (client only). Also sets the --service default to 'smtp'.. */ else if (strcmp (long_options[option_index].name, "smtp") == 0) { if (update_arg((void *)&(args_info->smtp_flag), 0, &(args_info->smtp_given), &(local_args_info.smtp_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "smtp", '-', additional_error)) goto failure; } /* Disallow client to send data first (client only).. */ else if (strcmp (long_options[option_index].name, "no-client-first") == 0) { if (update_arg((void *)&(args_info->no_client_first_flag), 0, &(args_info->no_client_first_given), &(local_args_info.no_client_first_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "no-client-first", '-', additional_error)) goto failure; } /* Passcode for authentication (SECURID only).. */ else if (strcmp (long_options[option_index].name, "passcode") == 0) { if (update_arg( (void *)&(args_info->passcode_arg), &(args_info->passcode_orig), &(args_info->passcode_given), &(local_args_info.passcode_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "passcode", '-', additional_error)) goto failure; } /* Set the requested service name (should be a registered GSSAPI host based service name).. */ else if (strcmp (long_options[option_index].name, "service") == 0) { if (update_arg( (void *)&(args_info->service_arg), &(args_info->service_orig), &(args_info->service_given), &(local_args_info.service_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "service", '-', additional_error)) goto failure; } /* Set the name of the server with the requested service.. */ else if (strcmp (long_options[option_index].name, "hostname") == 0) { if (update_arg( (void *)&(args_info->hostname_arg), &(args_info->hostname_orig), &(args_info->hostname_given), &(local_args_info.hostname_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "hostname", '-', additional_error)) goto failure; } /* Set the generic server name in case of a replicated server (DIGEST-MD5 only).. */ else if (strcmp (long_options[option_index].name, "service-name") == 0) { if (update_arg( (void *)&(args_info->service_name_arg), &(args_info->service_name_orig), &(args_info->service_name_given), &(local_args_info.service_name_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "service-name", '-', additional_error)) goto failure; } /* Validate CRAM-MD5 challenge and response interactively.. */ else if (strcmp (long_options[option_index].name, "enable-cram-md5-validate") == 0) { if (update_arg((void *)&(args_info->enable_cram_md5_validate_flag), 0, &(args_info->enable_cram_md5_validate_given), &(local_args_info.enable_cram_md5_validate_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "enable-cram-md5-validate", '-', additional_error)) goto failure; } /* Disable cleartext validate hook, forcing server to prompt for password.. */ else if (strcmp (long_options[option_index].name, "disable-cleartext-validate") == 0) { if (update_arg((void *)&(args_info->disable_cleartext_validate_flag), 0, &(args_info->disable_cleartext_validate_given), &(local_args_info.disable_cleartext_validate_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "disable-cleartext-validate", '-', additional_error)) goto failure; } /* How application payload will be protected. 'qop-auth' means no protection, 'qop-int' means integrity protection, 'qop-conf' means integrity and confidentialiy protection. Currently only used by DIGEST-MD5, where the default is 'qop-int'.. */ else if (strcmp (long_options[option_index].name, "quality-of-protection") == 0) { if (update_arg( (void *)&(args_info->quality_of_protection_arg), &(args_info->quality_of_protection_orig), &(args_info->quality_of_protection_given), &(local_args_info.quality_of_protection_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "quality-of-protection", '-', additional_error)) goto failure; } /* Force use of STARTTLS. The default is to use STARTTLS when available.. */ else if (strcmp (long_options[option_index].name, "starttls") == 0) { if (update_arg((void *)&(args_info->starttls_flag), 0, &(args_info->starttls_given), &(local_args_info.starttls_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "starttls", '-', additional_error)) goto failure; } /* Unconditionally disable STARTTLS.. */ else if (strcmp (long_options[option_index].name, "no-starttls") == 0) { if (update_arg((void *)&(args_info->no_starttls_flag), 0, &(args_info->no_starttls_given), &(local_args_info.no_starttls_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "no-starttls", '-', additional_error)) goto failure; } /* Don't use channel bindings from TLS.. */ else if (strcmp (long_options[option_index].name, "no-cb") == 0) { if (update_arg((void *)&(args_info->no_cb_flag), 0, &(args_info->no_cb_given), &(local_args_info.no_cb_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "no-cb", '-', additional_error)) goto failure; } /* File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done.. */ else if (strcmp (long_options[option_index].name, "x509-ca-file") == 0) { if (update_arg( (void *)&(args_info->x509_ca_file_arg), &(args_info->x509_ca_file_orig), &(args_info->x509_ca_file_given), &(local_args_info.x509_ca_file_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "x509-ca-file", '-', additional_error)) goto failure; } /* File containing client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair.. */ else if (strcmp (long_options[option_index].name, "x509-cert-file") == 0) { if (update_arg( (void *)&(args_info->x509_cert_file_arg), &(args_info->x509_cert_file_orig), &(args_info->x509_cert_file_given), &(local_args_info.x509_cert_file_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "x509-cert-file", '-', additional_error)) goto failure; } /* Private key for the client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair.. */ else if (strcmp (long_options[option_index].name, "x509-key-file") == 0) { if (update_arg( (void *)&(args_info->x509_key_file_arg), &(args_info->x509_key_file_orig), &(args_info->x509_key_file_given), &(local_args_info.x509_key_file_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "x509-key-file", '-', additional_error)) goto failure; } /* Cipher priority string.. */ else if (strcmp (long_options[option_index].name, "priority") == 0) { if (update_arg( (void *)&(args_info->priority_arg), &(args_info->priority_orig), &(args_info->priority_given), &(local_args_info.priority_given), optarg, 0, 0, ARG_STRING, check_ambiguity, override, 0, 0, "priority", '-', additional_error)) goto failure; } /* Produce verbose output.. */ else if (strcmp (long_options[option_index].name, "verbose") == 0) { if (update_arg((void *)&(args_info->verbose_flag), 0, &(args_info->verbose_given), &(local_args_info.verbose_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "verbose", '-', additional_error)) goto failure; } /* Don't produce any diagnostic output.. */ else if (strcmp (long_options[option_index].name, "quiet") == 0) { if (update_arg((void *)&(args_info->quiet_flag), 0, &(args_info->quiet_given), &(local_args_info.quiet_given), optarg, 0, 0, ARG_FLAG, check_ambiguity, override, 1, 0, "quiet", '-', additional_error)) goto failure; } break; case '?': /* Invalid option. */ /* `getopt_long' already printed an error message. */ goto failure; default: /* bug: option not considered. */ fprintf (stderr, "%s: option unknown: %c%s\n", CMDLINE_PARSER_PACKAGE, c, (additional_error ? additional_error : "")); abort (); } /* switch */ } /* while */ cmdline_parser_release (&local_args_info); if ( error_occurred ) return (EXIT_FAILURE); if (optind < argc) { int i = 0 ; int found_prog_name = 0; /* whether program name, i.e., argv[0], is in the remaining args (this may happen with some implementations of getopt, but surely not with the one included by gengetopt) */ i = optind; while (i < argc) if (argv[i++] == argv[0]) { found_prog_name = 1; break; } i = 0; args_info->inputs_num = argc - optind - found_prog_name; args_info->inputs = (char **)(malloc ((args_info->inputs_num)*sizeof(char *))) ; while (optind < argc) if (argv[optind++] != argv[0]) args_info->inputs[ i++ ] = gengetopt_strdup (argv[optind-1]) ; } return 0; failure: cmdline_parser_release (&local_args_info); return (EXIT_FAILURE); } gsasl-1.8.1/src/gsasl_cmd.h0000644000000000000000000004773613521017353012436 00000000000000/** @file gsasl_cmd.h * @brief The header file for the command line option parser * generated by GNU Gengetopt version 2.22.6 * http://www.gnu.org/software/gengetopt. * DO NOT modify this file, since it can be overwritten * @author GNU Gengetopt by Lorenzo Bettini */ #ifndef GSASL_CMD_H #define GSASL_CMD_H /* If we use autoconf. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include /* for FILE */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef CMDLINE_PARSER_PACKAGE /** @brief the program name (used for printing errors) */ #define CMDLINE_PARSER_PACKAGE PACKAGE #endif #ifndef CMDLINE_PARSER_PACKAGE_NAME /** @brief the complete program name (used for help and version) */ #ifdef PACKAGE_NAME #define CMDLINE_PARSER_PACKAGE_NAME PACKAGE_NAME #else #define CMDLINE_PARSER_PACKAGE_NAME PACKAGE #endif #endif #ifndef CMDLINE_PARSER_VERSION /** @brief the program version */ #define CMDLINE_PARSER_VERSION VERSION #endif /** @brief Where the command line options are stored */ struct gengetopt_args_info { const char *help_help; /**< @brief Print help and exit help description. */ const char *version_help; /**< @brief Print version and exit help description. */ int client_flag; /**< @brief Act as client. (default=on). */ const char *client_help; /**< @brief Act as client. help description. */ int server_flag; /**< @brief Act as server. (default=off). */ const char *server_help; /**< @brief Act as server. help description. */ int client_mechanisms_flag; /**< @brief Write name of supported client mechanisms separated by space to stdout. (default=off). */ const char *client_mechanisms_help; /**< @brief Write name of supported client mechanisms separated by space to stdout. help description. */ int server_mechanisms_flag; /**< @brief Write name of supported server mechanisms separated by space to stdout. (default=off). */ const char *server_mechanisms_help; /**< @brief Write name of supported server mechanisms separated by space to stdout. help description. */ char * connect_arg; /**< @brief Connect to TCP server and negotiate on stream instead of stdin/stdout. PORT is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the --hostname default.. */ char * connect_orig; /**< @brief Connect to TCP server and negotiate on stream instead of stdin/stdout. PORT is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the --hostname default. original value given at command line. */ const char *connect_help; /**< @brief Connect to TCP server and negotiate on stream instead of stdin/stdout. PORT is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the --hostname default. help description. */ int application_data_flag; /**< @brief After authentication, read data from stdin and run it through the mechanism's security layer and print it base64 encoded to stdout. The default is to terminate after authentication. (default=on). */ const char *application_data_help; /**< @brief After authentication, read data from stdin and run it through the mechanism's security layer and print it base64 encoded to stdout. The default is to terminate after authentication. help description. */ int imap_flag; /**< @brief Use a IMAP-like logon procedure (client only). Also sets the --service default to 'imap'. (default=off). */ const char *imap_help; /**< @brief Use a IMAP-like logon procedure (client only). Also sets the --service default to 'imap'. help description. */ int smtp_flag; /**< @brief Use a SMTP-like logon procedure (client only). Also sets the --service default to 'smtp'. (default=off). */ const char *smtp_help; /**< @brief Use a SMTP-like logon procedure (client only). Also sets the --service default to 'smtp'. help description. */ char * mechanism_arg; /**< @brief Mechanism to use.. */ char * mechanism_orig; /**< @brief Mechanism to use. original value given at command line. */ const char *mechanism_help; /**< @brief Mechanism to use. help description. */ int no_client_first_flag; /**< @brief Disallow client to send data first (client only). (default=off). */ const char *no_client_first_help; /**< @brief Disallow client to send data first (client only). help description. */ char * anonymous_token_arg; /**< @brief Token for anonymous authentication, usually mail address (ANONYMOUS only).. */ char * anonymous_token_orig; /**< @brief Token for anonymous authentication, usually mail address (ANONYMOUS only). original value given at command line. */ const char *anonymous_token_help; /**< @brief Token for anonymous authentication, usually mail address (ANONYMOUS only). help description. */ char * authentication_id_arg; /**< @brief Identity of credential owner.. */ char * authentication_id_orig; /**< @brief Identity of credential owner. original value given at command line. */ const char *authentication_id_help; /**< @brief Identity of credential owner. help description. */ char * authorization_id_arg; /**< @brief Identity to request service for.. */ char * authorization_id_orig; /**< @brief Identity to request service for. original value given at command line. */ const char *authorization_id_help; /**< @brief Identity to request service for. help description. */ char * password_arg; /**< @brief Password for authentication (insecure for non-testing purposes).. */ char * password_orig; /**< @brief Password for authentication (insecure for non-testing purposes). original value given at command line. */ const char *password_help; /**< @brief Password for authentication (insecure for non-testing purposes). help description. */ char * realm_arg; /**< @brief Realm. Defaults to hostname.. */ char * realm_orig; /**< @brief Realm. Defaults to hostname. original value given at command line. */ const char *realm_help; /**< @brief Realm. Defaults to hostname. help description. */ int maxbuf_arg; /**< @brief Indicate maximum buffer size (DIGEST-MD5 only).. */ char * maxbuf_orig; /**< @brief Indicate maximum buffer size (DIGEST-MD5 only). original value given at command line. */ const char *maxbuf_help; /**< @brief Indicate maximum buffer size (DIGEST-MD5 only). help description. */ char * passcode_arg; /**< @brief Passcode for authentication (SECURID only).. */ char * passcode_orig; /**< @brief Passcode for authentication (SECURID only). original value given at command line. */ const char *passcode_help; /**< @brief Passcode for authentication (SECURID only). help description. */ char * service_arg; /**< @brief Set the requested service name (should be a registered GSSAPI host based service name).. */ char * service_orig; /**< @brief Set the requested service name (should be a registered GSSAPI host based service name). original value given at command line. */ const char *service_help; /**< @brief Set the requested service name (should be a registered GSSAPI host based service name). help description. */ char * hostname_arg; /**< @brief Set the name of the server with the requested service.. */ char * hostname_orig; /**< @brief Set the name of the server with the requested service. original value given at command line. */ const char *hostname_help; /**< @brief Set the name of the server with the requested service. help description. */ char * service_name_arg; /**< @brief Set the generic server name in case of a replicated server (DIGEST-MD5 only).. */ char * service_name_orig; /**< @brief Set the generic server name in case of a replicated server (DIGEST-MD5 only). original value given at command line. */ const char *service_name_help; /**< @brief Set the generic server name in case of a replicated server (DIGEST-MD5 only). help description. */ int enable_cram_md5_validate_flag; /**< @brief Validate CRAM-MD5 challenge and response interactively. (default=off). */ const char *enable_cram_md5_validate_help; /**< @brief Validate CRAM-MD5 challenge and response interactively. help description. */ int disable_cleartext_validate_flag; /**< @brief Disable cleartext validate hook, forcing server to prompt for password. (default=off). */ const char *disable_cleartext_validate_help; /**< @brief Disable cleartext validate hook, forcing server to prompt for password. help description. */ char * quality_of_protection_arg; /**< @brief How application payload will be protected. 'qop-auth' means no protection, 'qop-int' means integrity protection, 'qop-conf' means integrity and confidentialiy protection. Currently only used by DIGEST-MD5, where the default is 'qop-int'.. */ char * quality_of_protection_orig; /**< @brief How application payload will be protected. 'qop-auth' means no protection, 'qop-int' means integrity protection, 'qop-conf' means integrity and confidentialiy protection. Currently only used by DIGEST-MD5, where the default is 'qop-int'. original value given at command line. */ const char *quality_of_protection_help; /**< @brief How application payload will be protected. 'qop-auth' means no protection, 'qop-int' means integrity protection, 'qop-conf' means integrity and confidentialiy protection. Currently only used by DIGEST-MD5, where the default is 'qop-int'. help description. */ int starttls_flag; /**< @brief Force use of STARTTLS. The default is to use STARTTLS when available. (default=off). */ const char *starttls_help; /**< @brief Force use of STARTTLS. The default is to use STARTTLS when available. help description. */ int no_starttls_flag; /**< @brief Unconditionally disable STARTTLS. (default=off). */ const char *no_starttls_help; /**< @brief Unconditionally disable STARTTLS. help description. */ int no_cb_flag; /**< @brief Don't use channel bindings from TLS. (default=off). */ const char *no_cb_help; /**< @brief Don't use channel bindings from TLS. help description. */ char * x509_ca_file_arg; /**< @brief File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done.. */ char * x509_ca_file_orig; /**< @brief File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done. original value given at command line. */ const char *x509_ca_file_help; /**< @brief File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done. help description. */ char * x509_cert_file_arg; /**< @brief File containing client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair.. */ char * x509_cert_file_orig; /**< @brief File containing client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. original value given at command line. */ const char *x509_cert_file_help; /**< @brief File containing client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. help description. */ char * x509_key_file_arg; /**< @brief Private key for the client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair.. */ char * x509_key_file_orig; /**< @brief Private key for the client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. original value given at command line. */ const char *x509_key_file_help; /**< @brief Private key for the client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. help description. */ char * priority_arg; /**< @brief Cipher priority string.. */ char * priority_orig; /**< @brief Cipher priority string. original value given at command line. */ const char *priority_help; /**< @brief Cipher priority string. help description. */ int verbose_flag; /**< @brief Produce verbose output. (default=off). */ const char *verbose_help; /**< @brief Produce verbose output. help description. */ int quiet_flag; /**< @brief Don't produce any diagnostic output. (default=off). */ const char *quiet_help; /**< @brief Don't produce any diagnostic output. help description. */ unsigned int help_given ; /**< @brief Whether help was given. */ unsigned int version_given ; /**< @brief Whether version was given. */ unsigned int client_given ; /**< @brief Whether client was given. */ unsigned int server_given ; /**< @brief Whether server was given. */ unsigned int client_mechanisms_given ; /**< @brief Whether client-mechanisms was given. */ unsigned int server_mechanisms_given ; /**< @brief Whether server-mechanisms was given. */ unsigned int connect_given ; /**< @brief Whether connect was given. */ unsigned int application_data_given ; /**< @brief Whether application-data was given. */ unsigned int imap_given ; /**< @brief Whether imap was given. */ unsigned int smtp_given ; /**< @brief Whether smtp was given. */ unsigned int mechanism_given ; /**< @brief Whether mechanism was given. */ unsigned int no_client_first_given ; /**< @brief Whether no-client-first was given. */ unsigned int anonymous_token_given ; /**< @brief Whether anonymous-token was given. */ unsigned int authentication_id_given ; /**< @brief Whether authentication-id was given. */ unsigned int authorization_id_given ; /**< @brief Whether authorization-id was given. */ unsigned int password_given ; /**< @brief Whether password was given. */ unsigned int realm_given ; /**< @brief Whether realm was given. */ unsigned int maxbuf_given ; /**< @brief Whether maxbuf was given. */ unsigned int passcode_given ; /**< @brief Whether passcode was given. */ unsigned int service_given ; /**< @brief Whether service was given. */ unsigned int hostname_given ; /**< @brief Whether hostname was given. */ unsigned int service_name_given ; /**< @brief Whether service-name was given. */ unsigned int enable_cram_md5_validate_given ; /**< @brief Whether enable-cram-md5-validate was given. */ unsigned int disable_cleartext_validate_given ; /**< @brief Whether disable-cleartext-validate was given. */ unsigned int quality_of_protection_given ; /**< @brief Whether quality-of-protection was given. */ unsigned int starttls_given ; /**< @brief Whether starttls was given. */ unsigned int no_starttls_given ; /**< @brief Whether no-starttls was given. */ unsigned int no_cb_given ; /**< @brief Whether no-cb was given. */ unsigned int x509_ca_file_given ; /**< @brief Whether x509-ca-file was given. */ unsigned int x509_cert_file_given ; /**< @brief Whether x509-cert-file was given. */ unsigned int x509_key_file_given ; /**< @brief Whether x509-key-file was given. */ unsigned int priority_given ; /**< @brief Whether priority was given. */ unsigned int verbose_given ; /**< @brief Whether verbose was given. */ unsigned int quiet_given ; /**< @brief Whether quiet was given. */ char **inputs ; /**< @brief unamed options (options without names) */ unsigned inputs_num ; /**< @brief unamed options number */ } ; /** @brief The additional parameters to pass to parser functions */ struct cmdline_parser_params { int override; /**< @brief whether to override possibly already present options (default 0) */ int initialize; /**< @brief whether to initialize the option structure gengetopt_args_info (default 1) */ int check_required; /**< @brief whether to check that all required options were provided (default 1) */ int check_ambiguity; /**< @brief whether to check for options already specified in the option structure gengetopt_args_info (default 0) */ int print_errors; /**< @brief whether getopt_long should print an error message for a bad option (default 1) */ } ; /** @brief the purpose string of the program */ extern const char *gengetopt_args_info_purpose; /** @brief the usage string of the program */ extern const char *gengetopt_args_info_usage; /** @brief the description string of the program */ extern const char *gengetopt_args_info_description; /** @brief all the lines making the help output */ extern const char *gengetopt_args_info_help[]; /** * The command line parser * @param argc the number of command line options * @param argv the command line options * @param args_info the structure where option information will be stored * @return 0 if everything went fine, NON 0 if an error took place */ int cmdline_parser (int argc, char **argv, struct gengetopt_args_info *args_info); /** * The command line parser (version with additional parameters - deprecated) * @param argc the number of command line options * @param argv the command line options * @param args_info the structure where option information will be stored * @param override whether to override possibly already present options * @param initialize whether to initialize the option structure my_args_info * @param check_required whether to check that all required options were provided * @return 0 if everything went fine, NON 0 if an error took place * @deprecated use cmdline_parser_ext() instead */ int cmdline_parser2 (int argc, char **argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); /** * The command line parser (version with additional parameters) * @param argc the number of command line options * @param argv the command line options * @param args_info the structure where option information will be stored * @param params additional parameters for the parser * @return 0 if everything went fine, NON 0 if an error took place */ int cmdline_parser_ext (int argc, char **argv, struct gengetopt_args_info *args_info, struct cmdline_parser_params *params); /** * Save the contents of the option struct into an already open FILE stream. * @param outfile the stream where to dump options * @param args_info the option struct to dump * @return 0 if everything went fine, NON 0 if an error took place */ int cmdline_parser_dump(FILE *outfile, struct gengetopt_args_info *args_info); /** * Save the contents of the option struct into a (text) file. * This file can be read by the config file parser (if generated by gengetopt) * @param filename the file where to save * @param args_info the option struct to save * @return 0 if everything went fine, NON 0 if an error took place */ int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info); /** * Print the help */ void cmdline_parser_print_help(void); /** * Print the version */ void cmdline_parser_print_version(void); /** * Initializes all the fields a cmdline_parser_params structure * to their default values * @param params the structure to initialize */ void cmdline_parser_params_init(struct cmdline_parser_params *params); /** * Allocates dynamically a cmdline_parser_params structure and initializes * all its fields to their default values * @return the created and initialized cmdline_parser_params structure */ struct cmdline_parser_params *cmdline_parser_params_create(void); /** * Initializes the passed gengetopt_args_info structure's fields * (also set default values for options that have a default) * @param args_info the structure to initialize */ void cmdline_parser_init (struct gengetopt_args_info *args_info); /** * Deallocates the string fields of the gengetopt_args_info structure * (but does not deallocate the structure itself) * @param args_info the structure to deallocate */ void cmdline_parser_free (struct gengetopt_args_info *args_info); /** * Checks that all the required options were specified * @param args_info the structure to check * @param prog_name the name of the program that will be used to print * possible errors * @return */ int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* GSASL_CMD_H */ gsasl-1.8.1/src/imap.c0000644000000000000000000000742313516252321011410 00000000000000/* imap.c --- Implement IMAP profile of SASL login. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include "imap.h" int imap_greeting (void) { char *in; if (!readln (&in)) return 0; return 1; } int imap_has_starttls (void) { char *in; int has_tls = 0; if (!writeln (". CAPABILITY")) return 0; if (!readln (&in)) return 0; has_tls = strstr (in, "STARTTLS") != NULL; if (!readln (&in)) return 0; return has_tls; } int imap_starttls (void) { char *in; if (!writeln (". STARTTLS")) return 0; if (!readln (&in)) return 0; return 1; } int imap_select_mechanism (char **mechlist) { char *in; if (args_info.server_flag) { if (!args_info.quiet_given) fprintf (stderr, _("Chose SASL mechanisms:\n")); if (!readln (&in)) return 0; *mechlist = in; } else { if (!writeln (". CAPABILITY")) return 0; if (!readln (&in)) return 0; /* XXX parse IMAP capability line */ *mechlist = in; if (!readln (&in)) return 0; } return 1; } int imap_authenticate (const char *mech) { if (args_info.server_flag) { if (!args_info.quiet_given) fprintf (stderr, _("Using mechanism:\n")); puts (mech); } else { char *buf; int rc; int len; len = asprintf (&buf, ". AUTHENTICATE %s", mech); if (len < 0) return 0; rc = writeln (buf); free (buf); if (!rc) return 0; } return 1; } int imap_step_send (const char *data) { char *buf; int rc; int len; if (args_info.server_flag) len = asprintf (&buf, "+ %s", data); else len = asprintf (&buf, "%s", data); if (len < 0) return 0; rc = writeln (buf); free (buf); if (!rc) return 0; return 1; } /* Return 1 on token, 2 on protocol success, 3 on protocol fail, 0 on errors. */ int imap_step_recv (char **data) { char *p; if (!readln (data)) return 0; p = *data; if (!args_info.server_flag) { /* skip untagged responses which can be returned by the server after authentication (e.g. dovecot returns new '* CAPABILITY' information before the final '. OK'). */ while (*p == '*') { if (!readln (data)) return 0; p = *data; } if (strlen (p) >= 4 && strncmp (p, ". OK", 4) == 0) return 2; if (strlen (p) >= 2 && strncmp (p, ". ", 2) == 0) return 3; if (strlen (p) >= 2 && strncmp (p, "+ ", 2) == 0) memmove (&p[0], &p[2], strlen (p) - 1); /* This is a workaround for servers (e.g., Microsoft Exchange) that return '+' instead of the correct '+ '. */ else if (strcmp (p, "+\n") == 0) p[0] = '\0'; else { fprintf (stderr, _("warning: server did not return a token\n")); return 3; } } if (p[strlen (p) - 1] == '\n') p[strlen (p) - 1] = '\0'; if (p[strlen (p) - 1] == '\r') p[strlen (p) - 1] = '\0'; return 1; } int imap_logout (void) { char *in; if (!writeln (". LOGOUT")) return 0; /* read "* BYE ..." */ if (!readln (&in)) return 0; free (in); /* read ". OK ..." */ if (!readln (&in)) return 0; free (in); return 1; } gsasl-1.8.1/src/imap.h0000644000000000000000000000223013516252321011404 00000000000000/* imap.h --- Header file for IMAP profile of SASL login. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include "internal.h" extern int imap_greeting (void); extern int imap_has_starttls (void); extern int imap_starttls (void); extern int imap_select_mechanism (char **mechlist); extern int imap_authenticate (const char *mech); extern int imap_step_send (const char *data); extern int imap_step_recv (char **data); extern int imap_auth_finish (void); extern int imap_logout (void); gsasl-1.8.1/src/smtp.h0000644000000000000000000000223013516252321011441 00000000000000/* smtp.h --- Header file for SMTP profile of SASL login. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include "internal.h" extern int smtp_greeting (void); extern int smtp_has_starttls (void); extern int smtp_starttls (void); extern int smtp_select_mechanism (char **mechlist); extern int smtp_authenticate (const char *mech); extern int smtp_step_send (const char *data); extern int smtp_step_recv (char **data); extern int smtp_auth_finish (void); extern int smtp_logout (void); gsasl-1.8.1/src/Makefile.in0000644000000000000000000021076413521017140012361 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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 = gsasl$(EXEEXT) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_cmd_la_DEPENDENCIES = ../gl/libgl.la am__objects_1 = libgsasl_cmd_la-gsasl_cmd.lo am_libgsasl_cmd_la_OBJECTS = $(am__objects_1) libgsasl_cmd_la_OBJECTS = $(am_libgsasl_cmd_la_OBJECTS) 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 = libgsasl_cmd_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libgsasl_cmd_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am_gsasl_OBJECTS = gsasl.$(OBJEXT) imap.$(OBJEXT) smtp.$(OBJEXT) \ callbacks.$(OBJEXT) gsasl_OBJECTS = $(am_gsasl_OBJECTS) am__DEPENDENCIES_1 = gsasl_DEPENDENCIES = ../lib/src/libgsasl.la ../gl/libgl.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) libgsasl_cmd.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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/callbacks.Po ./$(DEPDIR)/gsasl.Po \ ./$(DEPDIR)/imap.Po ./$(DEPDIR)/libgsasl_cmd_la-gsasl_cmd.Plo \ ./$(DEPDIR)/smtp.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 = $(libgsasl_cmd_la_SOURCES) $(gsasl_SOURCES) DIST_SOURCES = $(libgsasl_cmd_la_SOURCES) $(gsasl_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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/lib/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src \ -DLOCALEDIR=\"$(datadir)/locale\" gsasl_SOURCES = gsasl.c \ imap.c imap.h smtp.c smtp.h \ callbacks.h callbacks.c internal.h gsasl_LDADD = ../lib/src/libgsasl.la ../gl/libgl.la \ $(LTLIBREADLINE) $(LTLIBGNUTLS) $(LIBSOCKET) $(LTLIBINTL) \ libgsasl_cmd.la noinst_LTLIBRARIES = libgsasl_cmd.la BUILT_SOURCES = gsasl_cmd.c gsasl_cmd.h libgsasl_cmd_la_SOURCES = $(BUILT_SOURCES) gsasl.ggo libgsasl_cmd_la_LIBADD = ../gl/libgl.la libgsasl_cmd_la_CFLAGS = all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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 src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/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-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl_cmd.la: $(libgsasl_cmd_la_OBJECTS) $(libgsasl_cmd_la_DEPENDENCIES) $(EXTRA_libgsasl_cmd_la_DEPENDENCIES) $(AM_V_CCLD)$(libgsasl_cmd_la_LINK) $(libgsasl_cmd_la_OBJECTS) $(libgsasl_cmd_la_LIBADD) $(LIBS) gsasl$(EXEEXT): $(gsasl_OBJECTS) $(gsasl_DEPENDENCIES) $(EXTRA_gsasl_DEPENDENCIES) @rm -f gsasl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gsasl_OBJECTS) $(gsasl_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callbacks.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gsasl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imap.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgsasl_cmd_la-gsasl_cmd.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smtp.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $@ $< libgsasl_cmd_la-gsasl_cmd.lo: gsasl_cmd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgsasl_cmd_la_CFLAGS) $(CFLAGS) -MT libgsasl_cmd_la-gsasl_cmd.lo -MD -MP -MF $(DEPDIR)/libgsasl_cmd_la-gsasl_cmd.Tpo -c -o libgsasl_cmd_la-gsasl_cmd.lo `test -f 'gsasl_cmd.c' || echo '$(srcdir)/'`gsasl_cmd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgsasl_cmd_la-gsasl_cmd.Tpo $(DEPDIR)/libgsasl_cmd_la-gsasl_cmd.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gsasl_cmd.c' object='libgsasl_cmd_la-gsasl_cmd.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgsasl_cmd_la_CFLAGS) $(CFLAGS) -c -o libgsasl_cmd_la-gsasl_cmd.lo `test -f 'gsasl_cmd.c' || echo '$(srcdir)/'`gsasl_cmd.c 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: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool \ clean-noinstLTLIBRARIES mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/callbacks.Po -rm -f ./$(DEPDIR)/gsasl.Po -rm -f ./$(DEPDIR)/imap.Po -rm -f ./$(DEPDIR)/libgsasl_cmd_la-gsasl_cmd.Plo -rm -f ./$(DEPDIR)/smtp.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)/callbacks.Po -rm -f ./$(DEPDIR)/gsasl.Po -rm -f ./$(DEPDIR)/imap.Po -rm -f ./$(DEPDIR)/libgsasl_cmd_la-gsasl_cmd.Plo -rm -f ./$(DEPDIR)/smtp.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: all check install install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool \ clean-noinstLTLIBRARIES 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 $(BUILT_SOURCES): gsasl.ggo Makefile.am gengetopt --unamed-opts="HOST [PORT]" \ --no-handle-version --no-handle-help \ --input $< --file-name gsasl_cmd # 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: gsasl-1.8.1/src/internal.h0000644000000000000000000000372713516252321012306 00000000000000/* internal.h --- internal header file for gsasl * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifndef _INTERNAL_H #define _INTERNAL_H #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include #include #include #include /* for AF_INET */ #include /* poll() */ #include #include #include #ifdef HAVE_PWD_H #include /* getpwuid */ #endif #include /* Gnulib. */ #include "progname.h" #include "error.h" #include "getpass.h" #include "readline.h" #include "quote.h" #include "version-etc.h" #include "xalloc.h" /* Get i18n. */ #include #include #define _(String) gettext (String) #define gettext_noop(String) String #define N_(String) gettext_noop (String) extern int writeln (const char *str); extern int readln (char **out); #include "gsasl_cmd.h" extern struct gengetopt_args_info args_info; extern char *b64cbtlsunique; /* This feature is available in gcc versions 2.5 and later. */ #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define GSASL_ATTR_NO_RETRUN #else #define GSASL_ATTR_NO_RETRUN __attribute__ ((__noreturn__)) #endif #endif /* _INTERNAL_H */ gsasl-1.8.1/configure0000755000000000000000000510665313521017135011446 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for GNU SASL 1.8.1. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1 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\" ) || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gsasl@gnu.org $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='GNU SASL' PACKAGE_TARNAME='gsasl' PACKAGE_VERSION='1.8.1' PACKAGE_STRING='GNU SASL 1.8.1' PACKAGE_BUGREPORT='bug-gsasl@gnu.org' PACKAGE_URL='http://www.gnu.org/software/gsasl/' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" gl_use_threads_default= gl_use_winpthreads_default= gt_needs= ac_header_list= ac_func_list= gl_getopt_required=POSIX enable_option_checking=no ac_subst_vars='gltests_LTLIBOBJS gltests_LIBOBJS gl_LTLIBOBJS gl_LIBOBJS CONFIG_INCLUDE am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS subdirs WARN_CFLAGS WSTACK_CFLAGS WERROR_CFLAGS LASSO_FALSE LASSO_TRUE LASSO_LIBS LASSO_CFLAGS WINDOWS_FALSE WINDOWS_TRUE LIBTESTS_LIBDEPS YIELD_LIB abs_aux_dir HAVE_STRUCT_SCHED_PARAM HAVE_SCHED_H NEXT_AS_FIRST_DIRECTIVE_SCHED_H NEXT_SCHED_H REPLACE_SCHED_YIELD HAVE_SCHED_YIELD GNULIB_SCHED_YIELD LIB_PTHREAD_SIGMASK LIB_PTHREAD HAVE_PTHREAD_H NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H NEXT_PTHREAD_H REPLACE_PTHREAD_SPIN_DESTROY REPLACE_PTHREAD_SPIN_UNLOCK REPLACE_PTHREAD_SPIN_TRYLOCK REPLACE_PTHREAD_SPIN_LOCK REPLACE_PTHREAD_SPIN_INIT REPLACE_PTHREAD_KEY_DELETE REPLACE_PTHREAD_GETSPECIFIC REPLACE_PTHREAD_SETSPECIFIC REPLACE_PTHREAD_KEY_CREATE REPLACE_PTHREAD_COND_DESTROY REPLACE_PTHREAD_COND_BROADCAST REPLACE_PTHREAD_COND_SIGNAL REPLACE_PTHREAD_COND_TIMEDWAIT REPLACE_PTHREAD_COND_WAIT REPLACE_PTHREAD_CONDATTR_DESTROY REPLACE_PTHREAD_CONDATTR_INIT REPLACE_PTHREAD_COND_INIT REPLACE_PTHREAD_RWLOCK_DESTROY REPLACE_PTHREAD_RWLOCK_UNLOCK REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK REPLACE_PTHREAD_RWLOCK_TRYWRLOCK REPLACE_PTHREAD_RWLOCK_TRYRDLOCK REPLACE_PTHREAD_RWLOCK_WRLOCK REPLACE_PTHREAD_RWLOCK_RDLOCK REPLACE_PTHREAD_RWLOCKATTR_DESTROY REPLACE_PTHREAD_RWLOCKATTR_INIT REPLACE_PTHREAD_RWLOCK_INIT REPLACE_PTHREAD_MUTEX_DESTROY REPLACE_PTHREAD_MUTEX_UNLOCK REPLACE_PTHREAD_MUTEX_TIMEDLOCK REPLACE_PTHREAD_MUTEX_TRYLOCK REPLACE_PTHREAD_MUTEX_LOCK REPLACE_PTHREAD_MUTEXATTR_DESTROY REPLACE_PTHREAD_MUTEXATTR_SETROBUST REPLACE_PTHREAD_MUTEXATTR_GETROBUST REPLACE_PTHREAD_MUTEXATTR_SETTYPE REPLACE_PTHREAD_MUTEXATTR_GETTYPE REPLACE_PTHREAD_MUTEXATTR_INIT REPLACE_PTHREAD_MUTEX_INIT REPLACE_PTHREAD_ONCE REPLACE_PTHREAD_EXIT REPLACE_PTHREAD_JOIN REPLACE_PTHREAD_DETACH REPLACE_PTHREAD_EQUAL REPLACE_PTHREAD_SELF REPLACE_PTHREAD_ATTR_DESTROY REPLACE_PTHREAD_ATTR_SETDETACHSTATE REPLACE_PTHREAD_ATTR_GETDETACHSTATE REPLACE_PTHREAD_ATTR_INIT REPLACE_PTHREAD_CREATE HAVE_PTHREAD_SPIN_DESTROY HAVE_PTHREAD_SPIN_UNLOCK HAVE_PTHREAD_SPIN_TRYLOCK HAVE_PTHREAD_SPIN_LOCK HAVE_PTHREAD_SPIN_INIT HAVE_PTHREAD_KEY_DELETE HAVE_PTHREAD_GETSPECIFIC HAVE_PTHREAD_SETSPECIFIC HAVE_PTHREAD_KEY_CREATE HAVE_PTHREAD_COND_DESTROY HAVE_PTHREAD_COND_BROADCAST HAVE_PTHREAD_COND_SIGNAL HAVE_PTHREAD_COND_TIMEDWAIT HAVE_PTHREAD_COND_WAIT HAVE_PTHREAD_CONDATTR_DESTROY HAVE_PTHREAD_CONDATTR_INIT HAVE_PTHREAD_COND_INIT HAVE_PTHREAD_RWLOCK_DESTROY HAVE_PTHREAD_RWLOCK_UNLOCK HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK HAVE_PTHREAD_RWLOCK_TRYWRLOCK HAVE_PTHREAD_RWLOCK_TRYRDLOCK HAVE_PTHREAD_RWLOCK_WRLOCK HAVE_PTHREAD_RWLOCK_RDLOCK HAVE_PTHREAD_RWLOCKATTR_DESTROY HAVE_PTHREAD_RWLOCKATTR_INIT HAVE_PTHREAD_RWLOCK_INIT HAVE_PTHREAD_MUTEX_DESTROY HAVE_PTHREAD_MUTEX_UNLOCK HAVE_PTHREAD_MUTEX_TIMEDLOCK HAVE_PTHREAD_MUTEX_TRYLOCK HAVE_PTHREAD_MUTEX_LOCK HAVE_PTHREAD_MUTEXATTR_DESTROY HAVE_PTHREAD_MUTEXATTR_SETROBUST HAVE_PTHREAD_MUTEXATTR_GETROBUST HAVE_PTHREAD_MUTEXATTR_SETTYPE HAVE_PTHREAD_MUTEXATTR_GETTYPE HAVE_PTHREAD_MUTEXATTR_INIT HAVE_PTHREAD_MUTEX_INIT HAVE_PTHREAD_ONCE HAVE_PTHREAD_EXIT HAVE_PTHREAD_JOIN HAVE_PTHREAD_DETACH HAVE_PTHREAD_EQUAL HAVE_PTHREAD_SELF HAVE_PTHREAD_ATTR_DESTROY HAVE_PTHREAD_ATTR_SETDETACHSTATE HAVE_PTHREAD_ATTR_GETDETACHSTATE HAVE_PTHREAD_ATTR_INIT HAVE_PTHREAD_CREATE HAVE_PTHREAD_PROCESS_SHARED HAVE_PTHREAD_MUTEX_ROBUST HAVE_PTHREAD_MUTEX_RECURSIVE HAVE_PTHREAD_CREATE_DETACHED HAVE_PTHREAD_SPINLOCK_T HAVE_PTHREAD_T GNULIB_PTHREAD_MUTEX_TIMEDLOCK GNULIB_PTHREAD_SPIN GNULIB_PTHREAD_TSS GNULIB_PTHREAD_COND GNULIB_PTHREAD_RWLOCK GNULIB_PTHREAD_MUTEX GNULIB_PTHREAD_ONCE GNULIB_PTHREAD_THREAD LIB_NANOSLEEP NEXT_AS_FIRST_DIRECTIVE_LOCALE_H NEXT_LOCALE_H HAVE_XLOCALE_H REPLACE_STRUCT_LCONV REPLACE_FREELOCALE REPLACE_DUPLOCALE REPLACE_NEWLOCALE REPLACE_SETLOCALE REPLACE_LOCALECONV HAVE_FREELOCALE HAVE_DUPLOCALE HAVE_NEWLOCALE GNULIB_LOCALENAME GNULIB_DUPLOCALE GNULIB_SETLOCALE GNULIB_LOCALECONV HAVE_LANGINFO_YESEXPR HAVE_LANGINFO_ERA HAVE_LANGINFO_ALTMON HAVE_LANGINFO_T_FMT_AMPM HAVE_LANGINFO_CODESET HAVE_LANGINFO_H NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H NEXT_LANGINFO_H REPLACE_NL_LANGINFO HAVE_NL_LANGINFO GNULIB_NL_LANGINFO NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H NEXT_INTTYPES_H UINT64_MAX_EQ_ULONG_MAX UINT32_MAX_LT_UINTMAX_MAX PRIPTR_PREFIX PRI_MACROS_BROKEN INT64_MAX_EQ_LONG_MAX INT32_MAX_LT_INTMAX_MAX REPLACE_STRTOUMAX REPLACE_STRTOIMAX HAVE_IMAXDIV_T HAVE_DECL_STRTOUMAX HAVE_DECL_STRTOIMAX HAVE_DECL_IMAXDIV HAVE_DECL_IMAXABS GNULIB_STRTOUMAX GNULIB_STRTOIMAX GNULIB_IMAXDIV GNULIB_IMAXABS INET_PTON_LIB NEXT_AS_FIRST_DIRECTIVE_FCNTL_H NEXT_FCNTL_H REPLACE_OPENAT REPLACE_OPEN REPLACE_FCNTL HAVE_OPENAT HAVE_FCNTL GNULIB_OPENAT GNULIB_OPEN GNULIB_NONBLOCKING GNULIB_FCNTL NEXT_AS_FIRST_DIRECTIVE_CTYPE_H NEXT_CTYPE_H HAVE_ISBLANK GNULIB_ISBLANK LOCALE_TR_UTF8 LOCALE_FR gltests_WITNESS REPLACE_TOWLOWER REPLACE_ISWCNTRL HAVE_WCTYPE_H NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H NEXT_WCTYPE_H HAVE_ISWCNTRL REPLACE_ISWBLANK HAVE_WCTRANS_T HAVE_WCTYPE_T HAVE_ISWBLANK GNULIB_TOWCTRANS GNULIB_WCTRANS GNULIB_ISWCTYPE GNULIB_WCTYPE GNULIB_ISWBLANK HAVE_CRTDEFS_H HAVE_WINT_T NEXT_AS_FIRST_DIRECTIVE_WCHAR_H NEXT_WCHAR_H VALGRIND LIBUNISTRING_UNITYPES_H LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE LIBUNISTRING_UNISTR_H HAVE_UNISTD_H NEXT_AS_FIRST_DIRECTIVE_UNISTD_H NEXT_UNISTD_H UNISTD_H_DEFINES_STRUCT_TIMESPEC PTHREAD_H_DEFINES_STRUCT_TIMESPEC SYS_TIME_H_DEFINES_STRUCT_TIMESPEC TIME_H_DEFINES_STRUCT_TIMESPEC NEXT_AS_FIRST_DIRECTIVE_TIME_H NEXT_TIME_H REPLACE_LOCALTIME REPLACE_GMTIME REPLACE_TZSET REPLACE_TIMEGM REPLACE_STRFTIME REPLACE_NANOSLEEP REPLACE_MKTIME REPLACE_LOCALTIME_R REPLACE_CTIME HAVE_TIMEZONE_T HAVE_TZSET HAVE_TIMEGM HAVE_STRPTIME HAVE_NANOSLEEP HAVE_DECL_LOCALTIME_R GNULIB_TZSET GNULIB_TIME_RZ GNULIB_TIME_R GNULIB_TIMEGM GNULIB_STRPTIME GNULIB_STRFTIME GNULIB_NANOSLEEP GNULIB_LOCALTIME GNULIB_MKTIME GNULIB_CTIME HAVE_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H NEXT_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H NEXT_SYS_TIME_H REPLACE_STRUCT_TIMEVAL REPLACE_GETTIMEOFDAY HAVE_SYS_TIME_H HAVE_STRUCT_TIMEVAL HAVE_GETTIMEOFDAY GNULIB_GETTIMEOFDAY NEXT_AS_FIRST_DIRECTIVE_STRING_H NEXT_STRING_H NEXT_AS_FIRST_DIRECTIVE_STDLIB_H NEXT_STDLIB_H NEXT_AS_FIRST_DIRECTIVE_STDIO_H NEXT_STDIO_H GL_GENERATE_STDINT_H_FALSE GL_GENERATE_STDINT_H_TRUE STDINT_H HAVE_SYS_INTTYPES_H HAVE_SYS_BITYPES_H HAVE_C99_STDINT_H WINT_T_SUFFIX WCHAR_T_SUFFIX SIG_ATOMIC_T_SUFFIX SIZE_T_SUFFIX PTRDIFF_T_SUFFIX HAVE_SIGNED_WINT_T HAVE_SIGNED_WCHAR_T HAVE_SIGNED_SIG_ATOMIC_T BITSIZEOF_WINT_T BITSIZEOF_WCHAR_T BITSIZEOF_SIG_ATOMIC_T BITSIZEOF_SIZE_T BITSIZEOF_PTRDIFF_T HAVE_STDINT_H NEXT_AS_FIRST_DIRECTIVE_STDINT_H NEXT_STDINT_H HAVE_SYS_TYPES_H HAVE_INTTYPES_H HAVE_WCHAR_H HAVE_UNSIGNED_LONG_LONG_INT HAVE_LONG_LONG_INT GNULIB_OVERRIDES_WINT_T NEXT_AS_FIRST_DIRECTIVE_STDDEF_H NEXT_STDDEF_H GL_GENERATE_STDDEF_H_FALSE GL_GENERATE_STDDEF_H_TRUE STDDEF_H HAVE_WCHAR_T HAVE_MAX_ALIGN_T REPLACE_NULL HAVE__BOOL GL_GENERATE_STDBOOL_H_FALSE GL_GENERATE_STDBOOL_H_TRUE STDBOOL_H GL_GENERATE_STDARG_H_FALSE GL_GENERATE_STDARG_H_TRUE STDARG_H NEXT_AS_FIRST_DIRECTIVE_STDARG_H NEXT_STDARG_H GL_GENERATE_STDALIGN_H_FALSE GL_GENERATE_STDALIGN_H_TRUE STDALIGN_H NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H NEXT_SIGNAL_H REPLACE_RAISE REPLACE_PTHREAD_SIGMASK HAVE_SIGHANDLER_T HAVE_TYPE_VOLATILE_SIG_ATOMIC_T HAVE_STRUCT_SIGACTION_SA_SIGACTION HAVE_SIGACTION HAVE_SIGINFO_T HAVE_SIGSET_T HAVE_RAISE HAVE_PTHREAD_SIGMASK HAVE_POSIX_SIGNALBLOCKING GNULIB_SIGACTION GNULIB_SIGPROCMASK GNULIB_SIGNAL_H_SIGPIPE GNULIB_RAISE GNULIB_PTHREAD_SIGMASK LIB_SELECT HAVE_SYS_SELECT_H NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H NEXT_SYS_SELECT_H REPLACE_SELECT REPLACE_PSELECT HAVE_PSELECT GNULIB_SELECT GNULIB_PSELECT LTLIBREADLINE LIBREADLINE LIB_POLL LIBSOCKET NEXT_AS_FIRST_DIRECTIVE_POLL_H NEXT_POLL_H HAVE_POLL_H REPLACE_POLL HAVE_POLL GNULIB_POLL PMCCABE GL_GENERATE_NETINET_IN_H_FALSE GL_GENERATE_NETINET_IN_H_TRUE NETINET_IN_H HAVE_NETINET_IN_H NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H NEXT_NETINET_IN_H APPLE_UNIVERSAL_BUILD UNDEFINE_STRTOK_R REPLACE_STRSIGNAL REPLACE_STRERROR_R REPLACE_STRERROR REPLACE_STRTOK_R REPLACE_STRCASESTR REPLACE_STRSTR REPLACE_STRNLEN REPLACE_STRNDUP REPLACE_STRNCAT REPLACE_STRDUP REPLACE_STRCHRNUL REPLACE_STPNCPY REPLACE_MEMMEM REPLACE_MEMCHR HAVE_STRVERSCMP HAVE_DECL_STRSIGNAL HAVE_DECL_STRERROR_R HAVE_DECL_STRTOK_R HAVE_STRCASESTR HAVE_STRSEP HAVE_STRPBRK HAVE_DECL_STRNLEN HAVE_DECL_STRNDUP HAVE_DECL_STRDUP HAVE_STRCHRNUL HAVE_STPNCPY HAVE_STPCPY HAVE_RAWMEMCHR HAVE_DECL_MEMRCHR HAVE_MEMPCPY HAVE_DECL_MEMMEM HAVE_MEMCHR HAVE_FFSLL HAVE_FFSL HAVE_EXPLICIT_BZERO HAVE_MBSLEN GNULIB_STRVERSCMP GNULIB_STRSIGNAL GNULIB_STRERROR_R GNULIB_STRERROR GNULIB_MBSTOK_R GNULIB_MBSSEP GNULIB_MBSSPN GNULIB_MBSPBRK GNULIB_MBSCSPN GNULIB_MBSCASESTR GNULIB_MBSPCASECMP GNULIB_MBSNCASECMP GNULIB_MBSCASECMP GNULIB_MBSSTR GNULIB_MBSRCHR GNULIB_MBSCHR GNULIB_MBSNLEN GNULIB_MBSLEN GNULIB_STRTOK_R GNULIB_STRCASESTR GNULIB_STRSTR GNULIB_STRSEP GNULIB_STRPBRK GNULIB_STRNLEN GNULIB_STRNDUP GNULIB_STRNCAT GNULIB_STRDUP GNULIB_STRCHRNUL GNULIB_STPNCPY GNULIB_STPCPY GNULIB_RAWMEMCHR GNULIB_MEMRCHR GNULIB_MEMPCPY GNULIB_MEMMEM GNULIB_MEMCHR GNULIB_FFSLL GNULIB_FFSL GNULIB_EXPLICIT_BZERO LOCALE_FR_UTF8 LOCALE_ZH_CN LOCALE_JA REPLACE_WCSFTIME REPLACE_WCSWIDTH REPLACE_WCWIDTH REPLACE_WCSNRTOMBS REPLACE_WCSRTOMBS REPLACE_WCRTOMB REPLACE_MBSNRTOWCS REPLACE_MBSRTOWCS REPLACE_MBRLEN REPLACE_MBRTOWC REPLACE_MBSINIT REPLACE_WCTOB REPLACE_BTOWC REPLACE_MBSTATE_T HAVE_DECL_WCWIDTH HAVE_DECL_WCTOB HAVE_WCSFTIME HAVE_WCSWIDTH HAVE_WCSTOK HAVE_WCSSTR HAVE_WCSPBRK HAVE_WCSSPN HAVE_WCSCSPN HAVE_WCSRCHR HAVE_WCSCHR HAVE_WCSDUP HAVE_WCSXFRM HAVE_WCSCOLL HAVE_WCSNCASECMP HAVE_WCSCASECMP HAVE_WCSNCMP HAVE_WCSCMP HAVE_WCSNCAT HAVE_WCSCAT HAVE_WCPNCPY HAVE_WCSNCPY HAVE_WCPCPY HAVE_WCSCPY HAVE_WCSNLEN HAVE_WCSLEN HAVE_WMEMSET HAVE_WMEMMOVE HAVE_WMEMCPY HAVE_WMEMCMP HAVE_WMEMCHR HAVE_WCSNRTOMBS HAVE_WCSRTOMBS HAVE_WCRTOMB HAVE_MBSNRTOWCS HAVE_MBSRTOWCS HAVE_MBRLEN HAVE_MBRTOWC HAVE_MBSINIT HAVE_BTOWC GNULIB_WCSFTIME GNULIB_WCSWIDTH GNULIB_WCSTOK GNULIB_WCSSTR GNULIB_WCSPBRK GNULIB_WCSSPN GNULIB_WCSCSPN GNULIB_WCSRCHR GNULIB_WCSCHR GNULIB_WCSDUP GNULIB_WCSXFRM GNULIB_WCSCOLL GNULIB_WCSNCASECMP GNULIB_WCSCASECMP GNULIB_WCSNCMP GNULIB_WCSCMP GNULIB_WCSNCAT GNULIB_WCSCAT GNULIB_WCPNCPY GNULIB_WCSNCPY GNULIB_WCPCPY GNULIB_WCSCPY GNULIB_WCSNLEN GNULIB_WCSLEN GNULIB_WMEMSET GNULIB_WMEMMOVE GNULIB_WMEMCPY GNULIB_WMEMCMP GNULIB_WMEMCHR GNULIB_WCWIDTH GNULIB_WCSNRTOMBS GNULIB_WCSRTOMBS GNULIB_WCRTOMB GNULIB_MBSNRTOWCS GNULIB_MBSRTOWCS GNULIB_MBRLEN GNULIB_MBRTOWC GNULIB_MBSINIT GNULIB_WCTOB GNULIB_BTOWC REPLACE_WCTOMB REPLACE_UNSETENV REPLACE_STRTOLD REPLACE_STRTOD REPLACE_SETSTATE REPLACE_SETENV REPLACE_REALPATH REPLACE_REALLOC REPLACE_RANDOM_R REPLACE_RANDOM REPLACE_QSORT_R REPLACE_PUTENV REPLACE_PTSNAME_R REPLACE_PTSNAME REPLACE_MKSTEMP REPLACE_MBTOWC REPLACE_MALLOC REPLACE_INITSTATE REPLACE_CANONICALIZE_FILE_NAME REPLACE_CALLOC HAVE_DECL_UNSETENV HAVE_UNLOCKPT HAVE_SYS_LOADAVG_H HAVE_STRUCT_RANDOM_DATA HAVE_STRTOULL HAVE_STRTOLL HAVE_STRTOLD HAVE_STRTOD HAVE_DECL_SETSTATE HAVE_SETSTATE HAVE_DECL_SETENV HAVE_SETENV HAVE_SECURE_GETENV HAVE_RPMATCH HAVE_REALPATH HAVE_REALLOCARRAY HAVE_RANDOM_R HAVE_RANDOM_H HAVE_RANDOM HAVE_QSORT_R HAVE_PTSNAME_R HAVE_PTSNAME HAVE_POSIX_OPENPT HAVE_MKSTEMPS HAVE_MKSTEMP HAVE_MKOSTEMPS HAVE_MKOSTEMP HAVE_MKDTEMP HAVE_MBTOWC HAVE_DECL_INITSTATE HAVE_INITSTATE HAVE_GRANTPT HAVE_GETSUBOPT HAVE_DECL_GETLOADAVG HAVE_CANONICALIZE_FILE_NAME HAVE_ATOLL HAVE__EXIT GNULIB_WCTOMB GNULIB_UNSETENV GNULIB_UNLOCKPT GNULIB_SYSTEM_POSIX GNULIB_STRTOULL GNULIB_STRTOLL GNULIB_STRTOLD GNULIB_STRTOD GNULIB_SETENV GNULIB_SECURE_GETENV GNULIB_RPMATCH GNULIB_REALPATH GNULIB_REALLOC_POSIX GNULIB_REALLOCARRAY GNULIB_RANDOM_R GNULIB_RANDOM GNULIB_QSORT_R GNULIB_PUTENV GNULIB_PTSNAME_R GNULIB_PTSNAME GNULIB_POSIX_OPENPT GNULIB_MKSTEMPS GNULIB_MKSTEMP GNULIB_MKOSTEMPS GNULIB_MKOSTEMP GNULIB_MKDTEMP GNULIB_MBTOWC GNULIB_MALLOC_POSIX GNULIB_GRANTPT GNULIB_GETSUBOPT GNULIB_GETLOADAVG GNULIB_CANONICALIZE_FILE_NAME GNULIB_CALLOC_POSIX GNULIB_ATOLL GNULIB__EXIT LTLIBMULTITHREAD LIBMULTITHREAD LTLIBTHREAD LIBTHREAD LOCALCHARSET_TESTS_ENVIRONMENT GL_GENERATE_LIMITS_H_FALSE GL_GENERATE_LIMITS_H_TRUE LIMITS_H NEXT_AS_FIRST_DIRECTIVE_LIMITS_H NEXT_LIMITS_H NEXT_AS_FIRST_DIRECTIVE_ICONV_H NEXT_ICONV_H GL_GENERATE_ICONV_H_FALSE GL_GENERATE_ICONV_H_TRUE ICONV_H REPLACE_ICONV_UTF REPLACE_ICONV_OPEN REPLACE_ICONV ICONV_CONST GNULIB_ICONV GNULIB_GL_UNISTD_H_GETOPT GETOPT_CDEFS_H GETOPT_H HAVE_SYS_CDEFS_H HAVE_GETOPT_H NEXT_AS_FIRST_DIRECTIVE_GETOPT_H NEXT_GETOPT_H GETADDRINFO_LIB INET_NTOP_LIB SERVENT_LIB HOSTENT_LIB HAVE_NETDB_H NEXT_AS_FIRST_DIRECTIVE_NETDB_H NEXT_NETDB_H REPLACE_GAI_STRERROR HAVE_DECL_GETNAMEINFO HAVE_DECL_GETADDRINFO HAVE_DECL_GAI_STRERROR HAVE_DECL_FREEADDRINFO HAVE_STRUCT_ADDRINFO GNULIB_GETADDRINFO WINDOWS_64_BIT_ST_SIZE WINDOWS_STAT_TIMESPEC NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H NEXT_SYS_STAT_H REPLACE_UTIMENSAT REPLACE_STAT REPLACE_MKNOD REPLACE_MKFIFO REPLACE_MKDIR REPLACE_LSTAT REPLACE_FUTIMENS REPLACE_FSTATAT REPLACE_FSTAT HAVE_UTIMENSAT HAVE_MKNODAT HAVE_MKNOD HAVE_MKFIFOAT HAVE_MKFIFO HAVE_MKDIRAT HAVE_LSTAT HAVE_LCHMOD HAVE_FUTIMENS HAVE_FSTATAT HAVE_FCHMODAT GNULIB_OVERRIDES_STRUCT_STAT GNULIB_UTIMENSAT GNULIB_STAT GNULIB_MKNODAT GNULIB_MKNOD GNULIB_MKFIFOAT GNULIB_MKFIFO GNULIB_MKDIRAT GNULIB_LSTAT GNULIB_LCHMOD GNULIB_FUTIMENS GNULIB_FSTATAT GNULIB_FSTAT GNULIB_FCHMODAT WINDOWS_STAT_INODES WINDOWS_64_BIT_OFF_T NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H NEXT_SYS_TYPES_H REPLACE_VSPRINTF REPLACE_VSNPRINTF REPLACE_VPRINTF REPLACE_VFPRINTF REPLACE_VDPRINTF REPLACE_VASPRINTF REPLACE_TMPFILE REPLACE_STDIO_WRITE_FUNCS REPLACE_STDIO_READ_FUNCS REPLACE_SPRINTF REPLACE_SNPRINTF REPLACE_RENAMEAT REPLACE_RENAME REPLACE_REMOVE REPLACE_PRINTF REPLACE_POPEN REPLACE_PERROR REPLACE_OBSTACK_PRINTF REPLACE_GETLINE REPLACE_GETDELIM REPLACE_FTELLO REPLACE_FTELL REPLACE_FSEEKO REPLACE_FSEEK REPLACE_FREOPEN REPLACE_FPURGE REPLACE_FPRINTF REPLACE_FOPEN REPLACE_FFLUSH REPLACE_FDOPEN REPLACE_FCLOSE REPLACE_DPRINTF HAVE_VDPRINTF HAVE_VASPRINTF HAVE_RENAMEAT HAVE_POPEN HAVE_PCLOSE HAVE_FTELLO HAVE_FSEEKO HAVE_DPRINTF HAVE_DECL_VSNPRINTF HAVE_DECL_SNPRINTF HAVE_DECL_OBSTACK_PRINTF HAVE_DECL_GETLINE HAVE_DECL_GETDELIM HAVE_DECL_FTELLO HAVE_DECL_FSEEKO HAVE_DECL_FPURGE GNULIB_VSPRINTF_POSIX GNULIB_VSNPRINTF GNULIB_VPRINTF_POSIX GNULIB_VPRINTF GNULIB_VFPRINTF_POSIX GNULIB_VFPRINTF GNULIB_VDPRINTF GNULIB_VSCANF GNULIB_VFSCANF GNULIB_VASPRINTF GNULIB_TMPFILE GNULIB_STDIO_H_SIGPIPE GNULIB_STDIO_H_NONBLOCKING GNULIB_SPRINTF_POSIX GNULIB_SNPRINTF GNULIB_SCANF GNULIB_RENAMEAT GNULIB_RENAME GNULIB_REMOVE GNULIB_PUTS GNULIB_PUTCHAR GNULIB_PUTC GNULIB_PRINTF_POSIX GNULIB_PRINTF GNULIB_POPEN GNULIB_PERROR GNULIB_PCLOSE GNULIB_OBSTACK_PRINTF_POSIX GNULIB_OBSTACK_PRINTF GNULIB_GETLINE GNULIB_GETDELIM GNULIB_GETCHAR GNULIB_GETC GNULIB_FWRITE GNULIB_FTELLO GNULIB_FTELL GNULIB_FSEEKO GNULIB_FSEEK GNULIB_FSCANF GNULIB_FREOPEN GNULIB_FREAD GNULIB_FPUTS GNULIB_FPUTC GNULIB_FPURGE GNULIB_FPRINTF_POSIX GNULIB_FPRINTF GNULIB_FOPEN GNULIB_FGETS GNULIB_FGETC GNULIB_FFLUSH GNULIB_FDOPEN GNULIB_FCLOSE GNULIB_DPRINTF REPLACE_ITOLD GL_GENERATE_FLOAT_H_FALSE GL_GENERATE_FLOAT_H_TRUE FLOAT_H NEXT_AS_FIRST_DIRECTIVE_FLOAT_H NEXT_FLOAT_H EOVERFLOW_VALUE EOVERFLOW_HIDDEN ENOLINK_VALUE ENOLINK_HIDDEN EMULTIHOP_VALUE EMULTIHOP_HIDDEN GL_GENERATE_ERRNO_H_FALSE GL_GENERATE_ERRNO_H_TRUE ERRNO_H NEXT_AS_FIRST_DIRECTIVE_ERRNO_H NEXT_ERRNO_H HAVE_SYS_SOCKET_H NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H NEXT_SYS_SOCKET_H HAVE_ACCEPT4 HAVE_SA_FAMILY_T HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY HAVE_STRUCT_SOCKADDR_STORAGE GNULIB_ACCEPT4 GNULIB_SHUTDOWN GNULIB_SETSOCKOPT GNULIB_SENDTO GNULIB_RECVFROM GNULIB_SEND GNULIB_RECV GNULIB_LISTEN GNULIB_GETSOCKOPT GNULIB_GETSOCKNAME GNULIB_GETPEERNAME GNULIB_BIND GNULIB_ACCEPT GNULIB_CONNECT GNULIB_SOCKET HAVE_WINSOCK2_H HAVE_MSVC_INVALID_PARAMETER_HANDLER UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS UNISTD_H_HAVE_WINSOCK2_H REPLACE_WRITE REPLACE_USLEEP REPLACE_UNLINKAT REPLACE_UNLINK REPLACE_TTYNAME_R REPLACE_TRUNCATE REPLACE_SYMLINKAT REPLACE_SYMLINK REPLACE_SLEEP REPLACE_RMDIR REPLACE_READLINKAT REPLACE_READLINK REPLACE_READ REPLACE_PWRITE REPLACE_PREAD REPLACE_LSEEK REPLACE_LINKAT REPLACE_LINK REPLACE_LCHOWN REPLACE_ISATTY REPLACE_GETPASS REPLACE_GETPAGESIZE REPLACE_GETGROUPS REPLACE_GETLOGIN_R REPLACE_GETDTABLESIZE REPLACE_GETDOMAINNAME REPLACE_GETCWD REPLACE_FTRUNCATE REPLACE_FCHOWNAT REPLACE_FACCESSAT REPLACE_DUP2 REPLACE_DUP REPLACE_CLOSE REPLACE_CHOWN HAVE_SYS_PARAM_H HAVE_OS_H HAVE_DECL_TTYNAME_R HAVE_DECL_TRUNCATE HAVE_DECL_SETHOSTNAME HAVE_DECL_GETUSERSHELL HAVE_DECL_GETPAGESIZE HAVE_DECL_GETLOGIN_R HAVE_DECL_GETLOGIN HAVE_DECL_GETDOMAINNAME HAVE_DECL_FDATASYNC HAVE_DECL_FCHDIR HAVE_DECL_ENVIRON HAVE_USLEEP HAVE_UNLINKAT HAVE_SYMLINKAT HAVE_SYMLINK HAVE_SLEEP HAVE_SETHOSTNAME HAVE_READLINKAT HAVE_READLINK HAVE_PWRITE HAVE_PREAD HAVE_PIPE2 HAVE_PIPE HAVE_LINKAT HAVE_LINK HAVE_LCHOWN HAVE_GROUP_MEMBER HAVE_GETPASS HAVE_GETPAGESIZE HAVE_GETLOGIN HAVE_GETHOSTNAME HAVE_GETGROUPS HAVE_GETDTABLESIZE HAVE_FTRUNCATE HAVE_FSYNC HAVE_FDATASYNC HAVE_FCHOWNAT HAVE_FCHDIR HAVE_FACCESSAT HAVE_EUIDACCESS HAVE_DUP3 HAVE_DUP2 HAVE_COPY_FILE_RANGE HAVE_CHOWN GNULIB_WRITE GNULIB_USLEEP GNULIB_UNLINKAT GNULIB_UNLINK GNULIB_UNISTD_H_SIGPIPE GNULIB_UNISTD_H_NONBLOCKING GNULIB_TTYNAME_R GNULIB_TRUNCATE GNULIB_SYMLINKAT GNULIB_SYMLINK GNULIB_SLEEP GNULIB_SETHOSTNAME GNULIB_RMDIR GNULIB_READLINKAT GNULIB_READLINK GNULIB_READ GNULIB_PWRITE GNULIB_PREAD GNULIB_PIPE2 GNULIB_PIPE GNULIB_LSEEK GNULIB_LINKAT GNULIB_LINK GNULIB_LCHOWN GNULIB_ISATTY GNULIB_GROUP_MEMBER GNULIB_GETUSERSHELL GNULIB_GETPASS GNULIB_GETPAGESIZE GNULIB_GETLOGIN_R GNULIB_GETLOGIN GNULIB_GETHOSTNAME GNULIB_GETGROUPS GNULIB_GETDTABLESIZE GNULIB_GETDOMAINNAME GNULIB_GETCWD GNULIB_FTRUNCATE GNULIB_FSYNC GNULIB_FDATASYNC GNULIB_FCHOWNAT GNULIB_FCHDIR GNULIB_FACCESSAT GNULIB_EUIDACCESS GNULIB_ENVIRON GNULIB_DUP3 GNULIB_DUP2 GNULIB_DUP GNULIB_COPY_FILE_RANGE GNULIB_CLOSE GNULIB_CHOWN GNULIB_CHDIR HAVE_WS2TCPIP_H HAVE_FEATURES_H NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H NEXT_ARPA_INET_H PRAGMA_COLUMNS PRAGMA_SYSTEM_HEADER INCLUDE_NEXT_AS_FIRST_DIRECTIVE INCLUDE_NEXT HAVE_ARPA_INET_H REPLACE_INET_PTON REPLACE_INET_NTOP HAVE_DECL_INET_PTON HAVE_DECL_INET_NTOP GNULIB_INET_PTON GNULIB_INET_NTOP HAVE_ALLOCA_H GL_GENERATE_ALLOCA_H_FALSE GL_GENERATE_ALLOCA_H_TRUE ALLOCA_H ALLOCA LTALLOCA GL_COND_LIBTOOL_FALSE GL_COND_LIBTOOL_TRUE GTK_DOC_USE_REBASE_FALSE GTK_DOC_USE_REBASE_TRUE GTK_DOC_USE_LIBTOOL_FALSE GTK_DOC_USE_LIBTOOL_TRUE GTK_DOC_BUILD_PDF_FALSE GTK_DOC_BUILD_PDF_TRUE GTK_DOC_BUILD_HTML_FALSE GTK_DOC_BUILD_HTML_TRUE ENABLE_GTK_DOC_FALSE ENABLE_GTK_DOC_TRUE HAVE_GTK_DOC_FALSE HAVE_GTK_DOC_TRUE GTKDOC_DEPS_LIBS GTKDOC_DEPS_CFLAGS HTML_DIR GTKDOC_MKPDF GTKDOC_REBASE GTKDOC_CHECK_PATH GTKDOC_CHECK PKG_CONFIG LIBGNUTLS_PREFIX LTLIBGNUTLS LIBGNUTLS HAVE_LIBGNUTLS OBSOLETE_FALSE OBSOLETE_TRUE POSUB LTLIBINTL LIBINTL INTLLIBS LTLIBICONV LIBICONV INTL_MACOSX_LIBS XGETTEXT_EXTRA_OPTIONS MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS EPSTOPDF DIA HELP2MAN PERL LT_SYS_LIBRARY_PATH OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP SED LIBTOOL OBJDUMP DLLTOOL AS host_os host_vendor host_cpu host build_os build_vendor build_cpu build RANLIB ARFLAGS ac_ct_AR AR EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL am__quote' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_largefile enable_threads enable_shared enable_static with_pic enable_fast_install with_aix_soname with_gnu_ld with_sysroot enable_libtool_lock enable_nls enable_rpath with_libiconv_prefix with_libintl_prefix enable_obsolete with_gnutls with_libgnutls_prefix with_html_dir enable_gtk_doc enable_gtk_doc_html enable_gtk_doc_pdf with_libreadline_prefix enable_valgrind_tests with_packager with_packager_version with_packager_bug_reports with_lasso enable_gcc_warnings ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP LT_SYS_LIBRARY_PATH PKG_CONFIG GTKDOC_DEPS_CFLAGS GTKDOC_DEPS_LIBS LASSO_CFLAGS LASSO_LIBS' ac_subdirs_all='lib' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures GNU SASL 1.8.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/gsasl] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of GNU SASL 1.8.1:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-largefile omit support for large files --enable-threads={posix|windows} specify multithreading API --disable-threads build without multithread safety --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths --disable-obsolete disable backwards compatibility code --enable-gtk-doc use gtk-doc to build documentation [[default=no]] --enable-gtk-doc-html build documentation in html format [[default=yes]] --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] --disable-valgrind-tests don't try to run self tests under valgrind --enable-gcc-warnings turn on lots of GCC warnings (for developers) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir --without-gnutls disable GnuTLS support --with-libgnutls-prefix[=DIR] search for libgnutls in DIR/include and DIR/lib --without-libgnutls-prefix don't search for libgnutls in includedir and libdir --with-html-dir=PATH path to installed docs --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib --without-libreadline-prefix don't search for libreadline in includedir and libdir --with-packager String identifying the packager of this software --with-packager-version Packager-specific version information --with-packager-bug-reports Packager info for bug reports (URL/e-mail/...) --without-lasso disable Lasso (used by examples/saml20/) Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor LT_SYS_LIBRARY_PATH User-defined run-time library search path. PKG_CONFIG path to pkg-config utility GTKDOC_DEPS_CFLAGS C compiler flags for GTKDOC_DEPS, overriding pkg-config GTKDOC_DEPS_LIBS linker flags for GTKDOC_DEPS, overriding pkg-config LASSO_CFLAGS C compiler flags for LASSO, overriding pkg-config LASSO_LIBS linker flags for LASSO, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . GNU SASL home page: . General help using GNU software: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF GNU SASL configure 1.8.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## -------------------------------- ## ## Report this to bug-gsasl@gnu.org ## ## -------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES # ---------------------------------------------------- # Tries to find if the field MEMBER exists in type AGGR, after including # INCLUDES, setting cache variable VAR accordingly. ac_fn_c_check_member () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } if eval \${$4+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$4=yes" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (sizeof ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$4=yes" else eval "$4=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_member # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes # INCLUDES, setting VAR accordingly. Returns whether the value could be # computed ac_fn_c_compute_int () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid; break else as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=$ac_mid; break else as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else ac_lo= ac_hi= fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid else as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; '') ac_retval=1 ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 static long int longval () { return $2; } static unsigned long int ulongval () { return $2; } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : echo >>conftest.val; read $3 &5 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_decl cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU SASL $as_me 1.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi gt_needs="$gt_needs " as_fn_append ac_header_list " arpa/inet.h" as_fn_append ac_header_list " features.h" as_fn_append ac_header_list " sys/socket.h" as_fn_append ac_func_list " _set_invalid_parameter_handler" as_fn_append ac_header_list " sys/stat.h" as_fn_append ac_header_list " netdb.h" as_fn_append ac_header_list " netinet/in.h" as_fn_append ac_func_list " getdelim" gl_getopt_required=GNU as_fn_append ac_header_list " getopt.h" as_fn_append ac_header_list " sys/cdefs.h" as_fn_append ac_func_list " getpass" as_fn_append ac_header_list " stdio_ext.h" as_fn_append ac_header_list " termios.h" as_fn_append ac_func_list " __fsetlocking" as_fn_append ac_func_list " getprogname" as_fn_append ac_func_list " getexecname" as_fn_append ac_header_list " iconv.h" as_fn_append ac_header_list " limits.h" as_fn_append ac_header_list " threads.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_func_list " mbsinit" as_fn_append ac_func_list " mbrtowc" as_fn_append ac_header_list " sys/mman.h" as_fn_append ac_func_list " mprotect" as_fn_append ac_header_list " sys/param.h" as_fn_append ac_header_list " poll.h" as_fn_append ac_header_list " sys/ioctl.h" as_fn_append ac_header_list " sys/filio.h" as_fn_append ac_header_list " sys/select.h" as_fn_append ac_func_list " snprintf" as_fn_append ac_header_list " sys/time.h" as_fn_append ac_header_list " wchar.h" as_fn_append ac_header_list " stdint.h" as_fn_append ac_func_list " strdup" as_fn_append ac_header_list " sys/uio.h" as_fn_append ac_func_list " vasnprintf" as_fn_append ac_header_list " crtdefs.h" as_fn_append ac_func_list " iswcntrl" as_fn_append ac_header_list " wctype.h" as_fn_append ac_func_list " btowc" as_fn_append ac_func_list " fcntl" as_fn_append ac_func_list " symlink" as_fn_append ac_func_list " getdtablesize" as_fn_append ac_header_list " inttypes.h" as_fn_append ac_func_list " isblank" as_fn_append ac_header_list " langinfo.h" as_fn_append ac_header_list " xlocale.h" as_fn_append ac_func_list " newlocale" as_fn_append ac_func_list " uselocale" as_fn_append ac_func_list " duplocale" as_fn_append ac_func_list " freelocale" as_fn_append ac_header_list " semaphore.h" as_fn_append ac_func_list " lstat" as_fn_append ac_header_list " pthread.h" as_fn_append ac_func_list " pthread_sigmask" as_fn_append ac_func_list " setenv" as_fn_append ac_func_list " sigaction" as_fn_append ac_func_list " sigaltstack" as_fn_append ac_func_list " siginterrupt" as_fn_append ac_func_list " sleep" as_fn_append ac_func_list " shutdown" as_fn_append ac_func_list " usleep" as_fn_append ac_func_list " wcrtomb" as_fn_append ac_func_list " wctob" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in lib/build-aux "$srcdir"/lib/build-aux; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in lib/build-aux \"$srcdir\"/lib/build-aux" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. am__api_version='1.16' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='gsasl' VERSION='1.8.1' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' ac_config_headers="$ac_config_headers config.h" # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } case $?:`cat confinc.out 2>/dev/null` in #( '0:this is the am__doit target') : case $s in #( BSD) : am__include='.include' am__quote='"' ;; #( *) : am__include='include' am__quote='' ;; esac ;; #( *) : ;; esac if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 $as_echo "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= fi if test "$MINIX" = yes; then $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h $as_echo "#define _ALL_SOURCE 1" >>confdefs.h $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h $as_echo "#define _OPENBSD_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 $as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; } if ${ac_cv_should_define__xopen_source+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_should_define__xopen_source=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include mbstate_t x; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE 500 #include mbstate_t x; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_should_define__xopen_source=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 $as_echo "$ac_cv_should_define__xopen_source" >&6; } test $ac_cv_should_define__xopen_source = yes && $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h $as_echo "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; } if ${gl_cv_c_amsterdam_compiler+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ACK__ Amsterdam #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Amsterdam" >/dev/null 2>&1; then : gl_cv_c_amsterdam_compiler=yes else gl_cv_c_amsterdam_compiler=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; } if test $gl_cv_c_amsterdam_compiler = yes; then if test -z "$AR"; then AR='cc -c.a' fi if test -z "$ARFLAGS"; then ARFLAGS='-o' fi else if test -n "$ac_tool_prefix"; then for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 $as_echo_n "checking the archiver ($AR) interface... " >&6; } if ${am_cv_ar_interface+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am_cv_ar_interface=ar cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int some_variable = 0; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 $as_echo "$am_cv_ar_interface" >&6; } case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) as_fn_error $? "could not determine $AR interface" "$LINENO" 5 ;; esac fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="ar" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi if test -z "$ARFLAGS"; then ARFLAGS='cr' fi if test -z "$RANLIB"; then if test $gl_cv_c_amsterdam_compiler = yes; then RANLIB=':' else if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi fi fi # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # IEEE behaviour is the default on all CPUs except Alpha and SH # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 # and the GCC 4.1.2 manual). case "$host_cpu" in alpha*) # On Alpha systems, a compiler option provides the behaviour. # See the ieee(3) manual page, also available at # if test -n "$GCC"; then # GCC has the option -mieee. # For full IEEE compliance (rarely needed), use option -mieee-with-inexact. CPPFLAGS="$CPPFLAGS -mieee" else # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact. # For full IEEE compliance (rarely needed), use option -ieee_with_inexact. CPPFLAGS="$CPPFLAGS -ieee" fi ;; sh*) if test -n "$GCC"; then # GCC has the option -mieee. CPPFLAGS="$CPPFLAGS -mieee" fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } if ${ac_cv_sys_largefile_source+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for off_t */ #include int main () { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_sys_largefile_source=no; break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGEFILE_SOURCE 1 #include /* for off_t */ #include int main () { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_sys_largefile_source=1; break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_cv_sys_largefile_source=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 $as_echo "$ac_cv_sys_largefile_source" >&6; } case $ac_cv_sys_largefile_source in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source _ACEOF ;; esac rm -rf conftest* # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug # in glibc 2.1.3, but that breaks too many other things. # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. if test $ac_cv_sys_largefile_source != unknown; then $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h fi # Check whether --enable-largefile was given. if test "${enable_largefile+set}" = set; then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } if ${ac_cv_sys_largefile_CC+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : break fi rm -f core conftest.err conftest.$ac_objext CC="$CC -n32" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_largefile_CC=' -n32'; break fi rm -f core conftest.err conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 $as_echo "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } if ${ac_cv_sys_file_offset_bits+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=64; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits _ACEOF ;; esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } if ${ac_cv_sys_large_files+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=1; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 $as_echo "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _LARGE_FILES $ac_cv_sys_large_files _ACEOF ;; esac rm -rf conftest* fi $as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h fi case $ac_cv_prog_cc_stdc in #( no) : ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( *) : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } if ${ac_cv_prog_cc_c99+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static void test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str; int number; float fnumber; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; } _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c99" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c99" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; esac if test "x$ac_cv_prog_cc_c99" != xno; then : ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 else ac_cv_prog_cc_stdc=no fi fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } if ${ac_cv_prog_cc_stdc+:} false; then : $as_echo_n "(cached) " >&6 fi case $ac_cv_prog_cc_stdc in #( no) : { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; #( '') : { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; #( *) : { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; esac # Check whether --enable-threads was given. if test "${enable_threads+set}" = set; then : enableval=$enable_threads; gl_use_threads=$enableval else if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else case "$host_os" in osf*) gl_use_threads=no ;; cygwin*) case `uname -r` in 1.[0-5].*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac ;; mingw*) case "$gl_use_winpthreads_default" in yes) gl_use_threads=posix ;; no) gl_use_threads=windows ;; *) gl_use_threads=yes ;; esac ;; *) gl_use_threads=yes ;; esac fi fi if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # For using : case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_LINK_IFELSE test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac fi # Pre-early section. # Code from module absolute-header: # Code from module alloca: # Code from module alloca-opt: # Code from module alloca-opt-tests: # Code from module arpa_inet: # Code from module arpa_inet-tests: # Code from module assure: # Code from module autobuild: if test -z "$AB_PACKAGE"; then AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE} fi { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5 $as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;} if test -z "$AB_VERSION"; then AB_VERSION=${PACKAGE_VERSION:-$VERSION} fi { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5 $as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;} hostname=`hostname` if test "$hostname"; then { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5 $as_echo "$as_me: autobuild hostname... $hostname" >&6;} fi date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ` if test "$?" != 0; then date=`date` fi if test "$date"; then { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5 $as_echo "$as_me: autobuild timestamp... $date" >&6;} fi # Code from module binary-io: # Code from module binary-io-tests: # Code from module btowc: # Code from module btowc-tests: # Code from module c-ctype: # Code from module c-ctype-tests: # Code from module c-strcase: # Code from module c-strcase-tests: # Code from module c-strcaseeq: # Code from module cloexec: # Code from module cloexec-tests: # Code from module close: # Code from module close-tests: # Code from module connect: # Code from module connect-tests: # Code from module ctype: # Code from module ctype-tests: # Code from module dirname-lgpl: # Code from module dosname: # Code from module double-slash-root: # Code from module dup2: # Code from module dup2-tests: # Code from module environ: # Code from module environ-tests: # Code from module errno: # Code from module errno-tests: # Code from module error: # Code from module exitfail: # Code from module extensions: # Code from module extern-inline: # Code from module fcntl: # Code from module fcntl-h: # Code from module fcntl-h-tests: # Code from module fcntl-tests: # Code from module fd-hook: # Code from module fdl-1.3: # Code from module fdopen: # Code from module fdopen-tests: # Code from module fgetc-tests: # Code from module filename: # Code from module flexmember: # Code from module float: # Code from module float-tests: # Code from module fpieee: # Code from module fpucw: # Code from module fputc-tests: # Code from module fread-tests: # Code from module fseek: # Code from module fseek-tests: # Code from module fseeko: # Code from module fseeko-tests: # Code from module fstat: # Code from module fstat-tests: # Code from module fwrite-tests: # Code from module gendocs: # Code from module getaddrinfo: # Code from module getaddrinfo-tests: # Code from module getcwd-lgpl: # Code from module getcwd-lgpl-tests: # Code from module getdelim: # Code from module getdelim-tests: # Code from module getdtablesize: # Code from module getdtablesize-tests: # Code from module getline: # Code from module getline-tests: # Code from module getopt-gnu: # Code from module getopt-gnu-tests: # Code from module getopt-posix: # Code from module getopt-posix-tests: # Code from module getpagesize: # Code from module getpass: # Code from module getpass-gnu: # Code from module getprogname: # Code from module getprogname-tests: # Code from module gettext-h: # Code from module gnumakefile: # Code from module gnupload: # Code from module gperf: # Code from module hard-locale: # Code from module havelib: # Code from module hostent: # Code from module iconv: # Code from module iconv-h: # Code from module iconv-h-tests: # Code from module iconv-tests: # Code from module iconv_open: # Code from module ignore-value: # Code from module ignore-value-tests: # Code from module include_next: # Code from module inet_ntop: # Code from module inet_ntop-tests: # Code from module inet_pton: # Code from module inet_pton-tests: # Code from module inline: # Code from module intprops: # Code from module intprops-tests: # Code from module inttypes: # Code from module inttypes-incomplete: # Code from module inttypes-tests: # Code from module isblank: # Code from module isblank-tests: # Code from module langinfo: # Code from module langinfo-tests: # Code from module largefile: # Code from module limits-h: # Code from module limits-h-tests: # Code from module localcharset: # Code from module localcharset-tests: # Code from module locale: # Code from module locale-tests: # Code from module localename: # Code from module localename-tests: # Code from module lock: # Code from module lock-tests: # Code from module lseek: # Code from module lseek-tests: # Code from module lstat: # Code from module lstat-tests: # Code from module maintainer-makefile: # Code from module malloc-posix: # Code from module malloca: # Code from module malloca-tests: # Code from module manywarnings: # Code from module mbrtowc: # Code from module mbrtowc-tests: # Code from module mbsinit: # Code from module mbsinit-tests: # Code from module mbtowc: # Code from module memchr: # Code from module memchr-tests: # Code from module minmax: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: # Code from module nanosleep: # Code from module nanosleep-tests: # Code from module netdb: # Code from module netdb-tests: # Code from module netinet_in: # Code from module netinet_in-tests: # Code from module nocrash: # Code from module open: # Code from module open-tests: # Code from module pathmax: # Code from module pathmax-tests: # Code from module pmccabe2html: # Code from module poll: # Code from module poll-h: # Code from module poll-h-tests: # Code from module progname: # Code from module pthread-h: $as_echo "#define _REENTRANT 1" >>confdefs.h $as_echo "#define _THREAD_SAFE 1" >>confdefs.h # Code from module pthread-h-tests: # Code from module pthread-thread: # Code from module pthread-thread-tests: # Code from module pthread_sigmask: # Code from module pthread_sigmask-tests: # Code from module putenv: # Code from module quote: # Code from module quotearg: # Code from module quotearg-simple: # Code from module quotearg-simple-tests: # Code from module raise: # Code from module raise-tests: # Code from module readline: # Code from module recv: # Code from module recv-tests: # Code from module same-inode: # Code from module sched: # Code from module sched-tests: # Code from module select: # Code from module servent: # Code from module setenv: # Code from module setenv-tests: # Code from module setlocale: # Code from module setlocale-tests: # Code from module shutdown: # Code from module shutdown-tests: # Code from module sigaction: # Code from module sigaction-tests: # Code from module signal-h: # Code from module signal-h-tests: # Code from module sigprocmask: # Code from module sigprocmask-tests: # Code from module size_max: # Code from module sleep: # Code from module sleep-tests: # Code from module snippet/_Noreturn: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/unused-parameter: # Code from module snippet/warn-on-use: # Code from module snprintf: # Code from module snprintf-tests: # Code from module socket: # Code from module socketlib: # Code from module sockets: # Code from module sockets-tests: # Code from module socklen: # Code from module ssize_t: # Code from module stat: # Code from module stat-tests: # Code from module stat-time: # Code from module stat-time-tests: # Code from module stdalign: # Code from module stdalign-tests: # Code from module stdarg: # Code from module stdbool: # Code from module stdbool-tests: # Code from module stddef: # Code from module stddef-tests: # Code from module stdint: # Code from module stdint-tests: # Code from module stdio: # Code from module stdio-tests: # Code from module stdlib: # Code from module stdlib-tests: # Code from module strdup-posix: # Code from module streq: # Code from module strerror: # Code from module strerror-override: # Code from module strerror-tests: # Code from module striconv: # Code from module striconv-tests: # Code from module string: # Code from module string-tests: # Code from module strtok_r: # Code from module symlink: # Code from module symlink-tests: # Code from module sys_select: # Code from module sys_select-tests: # Code from module sys_socket: # Code from module sys_socket-tests: # Code from module sys_stat: # Code from module sys_stat-tests: # Code from module sys_time: # Code from module sys_time-tests: # Code from module sys_types: # Code from module sys_types-tests: # Code from module sys_uio: # Code from module sys_uio-tests: # Code from module test-framework-sh: # Code from module test-framework-sh-tests: # Code from module thread: # Code from module thread-tests: # Code from module threadlib: # Code from module time: # Code from module time-tests: # Code from module unistd: # Code from module unistd-tests: # Code from module unistr/base: # Code from module unistr/u8-mbtoucr: # Code from module unistr/u8-mbtoucr-tests: # Code from module unistr/u8-uctomb: # Code from module unistr/u8-uctomb-tests: # Code from module unitypes: # Code from module unsetenv: # Code from module unsetenv-tests: # Code from module update-copyright: # Code from module useless-if-before-free: # Code from module usleep: # Code from module usleep-tests: # Code from module valgrind-tests: # Code from module vasnprintf: # Code from module vasnprintf-tests: # Code from module vasprintf: # Code from module vasprintf-tests: # Code from module vc-list-files: # Code from module vc-list-files-tests: # Code from module verify: # Code from module verify-tests: # Code from module version-etc: # Code from module version-etc-fsf: # Code from module version-etc-tests: # Code from module warnings: # Code from module wchar: # Code from module wchar-tests: # Code from module wcrtomb: # Code from module wcrtomb-tests: # Code from module wctob: # Code from module wctomb: # Code from module wctype-h: # Code from module wctype-h-tests: # Code from module windows-mutex: # Code from module windows-once: # Code from module windows-recmutex: # Code from module windows-rwlock: # Code from module windows-thread: # Code from module windows-tls: # Code from module xalloc: # Code from module xalloc-die: # Code from module xalloc-die-tests: # Code from module xalloc-oversized: # Code from module xsize: # Code from module yield: if test -n "$ac_tool_prefix"; then for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 $as_echo_n "checking the archiver ($AR) interface... " >&6; } if ${am_cv_ar_interface+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am_cv_ar_interface=ar cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int some_variable = 0; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 $as_echo "$am_cv_ar_interface" >&6; } case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) as_fn_error $? "could not determine $AR interface" "$LINENO" 5 ;; esac enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AS+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AS="${ac_tool_prefix}as" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AS=$ac_cv_prog_AS if test -n "$AS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 $as_echo "$AS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_AS"; then ac_ct_AS=$AS # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AS+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AS"; then ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AS="as" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AS=$ac_cv_prog_ac_ct_AS if test -n "$ac_ct_AS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 $as_echo "$ac_ct_AS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_AS" = x; then AS="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AS=$ac_ct_AS fi else AS="$ac_cv_prog_AS" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi ;; esac test -z "$AS" && AS=as test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$OBJDUMP" && OBJDUMP=objdump case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.6' macro_revision='2.4.6' ltmain=$ac_aux_dir/ltmain.sh # 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' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # 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*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else 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 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } 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 if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi if test -n "$lt_cv_sys_max_cmd_len"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #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 fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi ;; darwin*) if test yes = "$GCC"; then reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } 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 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # 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 # 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 # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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" >&5 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && 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_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_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_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_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && 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" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 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 fi 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi 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|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 $as_echo "$with_sysroot" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 $as_echo_n "checking for a working dd... " >&6; } if ${ac_cv_path_lt_DD+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then ac_path_lt_DD_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in dd; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue 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 $ac_path_lt_DD_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_lt_DD"; then : fi else ac_cv_path_lt_DD=$lt_DD fi rm -f conftest.i conftest2.i conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 $as_echo "$ac_cv_path_lt_DD" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 $as_echo_n "checking how to truncate binary pipes... " >&6; } if ${lt_cv_truncate_bin+:} false; then : $as_echo_n "(cached) " >&6 else 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" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 $as_echo "$lt_cv_truncate_bin" >&6; } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; 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-%%"` } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else 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" >&5 $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 >&5 # 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 >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else 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" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $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 >&5 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 >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } 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[91]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[012][,.]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _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 # 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$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options enable_dlopen=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; 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 else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; 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 else enable_static=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac else pic_mode=default fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; 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 else enable_fast_install=yes fi shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. if test "${with_aix_soname+set}" = set; then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 ;; esac lt_cv_with_aix_soname=$with_aix_soname else if ${lt_cv_with_aix_soname+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 $as_echo "$with_aix_soname" >&6; } 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 # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF 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 func_cc_basename $compiler cc_basename=$func_cc_basename_result # 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else 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 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/${ac_tool_prefix}file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 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 fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else 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 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"file" 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 fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC=$CC ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$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);}' # 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 # 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 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* 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* ## 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_prog_compiler_no_builtin_flag= if test yes = "$GCC"; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" ## 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\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test yes = "$GCC"; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi lt_prog_compiler_pic='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-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_prog_compiler_pic='-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 lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; 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_prog_compiler_pic='-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_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-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). lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-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_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-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_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## 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\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works"; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 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>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test yes = "$lt_cv_prog_compiler_static_works"; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=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\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $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* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=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\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $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* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test no = "$hard_links"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an 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'. exclude_expsyms='_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. 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*) link_all_deplibs=no ;; esac ld_shlibs=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 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='$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 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else whole_archive_flag_spec= 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 ld_shlibs=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 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='$wl--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+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 archive_cmds='$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... archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $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 ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' link_all_deplibs=yes ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$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' archive_expsym_cmds='$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' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$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. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='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 whole_archive_flag_spec='$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 whole_archive_flag_spec='$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 whole_archive_flag_spec= 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 whole_archive_flag_spec='$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' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='$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' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='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*) export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='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 ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$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 ld_shlibs=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 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=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 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test no = "$ld_shlibs"; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=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 export_symbols_cmds='$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 export_symbols_cmds='`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. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='$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. hardcode_direct=no hardcode_direct_absolute=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 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' 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 export_dynamic_flag_spec='$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. always_export_symbols=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. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`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_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $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. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`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_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$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. no_undefined_flag=' $wl-bernotok' allow_undefined_flag=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes archive_expsym_cmds='$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. archive_expsym_cmds="$archive_expsym_cmds"'~$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 archive_expsym_cmds="$archive_expsym_cmds"'~$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 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-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 hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # 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. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $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, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='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 hardcode_libdir_flag_spec=' ' allow_undefined_flag=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. archive_cmds='$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. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test yes = "$lt_cv_ld_force_load"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag=$_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 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" archive_expsym_cmds="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" module_expsym_cmds="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" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test yes = "$GCC"; then archive_cmds='$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 archive_cmds='$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 hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$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*) archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # 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) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" 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>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test yes = "$lt_cv_prog_compiler__b"; then archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then archive_cmds='$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. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$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 link_all_deplibs=no else archive_cmds='$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' archive_expsym_cmds='$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 archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' else archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='$wl-rpath,$libdir' fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$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' archive_expsym_cmds='$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' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; osf3*) if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$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 archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$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' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$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' archive_expsym_cmds='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 hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then wlarc='$wl' archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='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='' archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='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 hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=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 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=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. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='$wl-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$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. no_undefined_flag='$wl-z,text' allow_undefined_flag='$wl-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='$wl-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test no = "$ld_shlibs" && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test yes,yes = "$GCC,$enable_shared"; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } 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 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' 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`' 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. hardcode_libdir_flag_spec='-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 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test yes = "$hardcode_automatic"; then # We can hardcode non-existent directories. if test no != "$hardcode_direct" && # 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, )" && test no != "$hardcode_minus_L"; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test relink = "$hardcode_action" || test yes = "$inherit_rpath"; 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 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; 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_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen=shl_load else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen=dlopen else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi fi fi fi fi fi ;; 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" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } 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 striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 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" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } 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" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report what library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC ac_config_commands="$ac_config_commands libtool" # Only expand once: PERL=${PERL-"${am_missing_run}perl"} HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"} DIA=${DIA-"${am_missing_run}dia"} EPSTOPDF=${EPSTOPDF-"${am_missing_run}epstopdf"} # Internationalization. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } GETTEXT_MACRO_VERSION=0.19 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 $as_echo_n "checking for ld... " >&6; } elif test "$GCC" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if test -n "$LD"; then # Let the user override the test with a path. : else if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 conftest.$ac_ext /* end confdefs.h. */ #if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # The compiler produces 64-bit code. Add option '-b64' so that the # linker groks 64-bit object files. case "$acl_cv_path_LD " in *" -b64 "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; sparc64-*-netbsd*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else # The compiler produces 32-bit code. Add option '-m elf32_sparc' # so that the linker groks 32-bit object files. case "$acl_cv_path_LD " in *" -m elf32_sparc "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac fi LD="$acl_cv_path_LD" fi if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 $as_echo_n "checking 32-bit host C ABI... " >&6; } if ${gl_cv_host_cpu_c_abi_32bit+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$gl_cv_host_cpu_c_abi"; then case "$gl_cv_host_cpu_c_abi" in i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) gl_cv_host_cpu_c_abi_32bit=yes ;; *) gl_cv_host_cpu_c_abi_32bit=no ;; esac else case "$host_cpu" in i[4567]86 ) gl_cv_host_cpu_c_abi_32bit=yes ;; x86_64 ) # On x86_64 systems, the C compiler may be generating code in one of # these ABIs: # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 # with native Windows (mingw, MSVC). # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if (defined __x86_64__ || defined __amd64__ \ || defined _M_X64 || defined _M_AMD64) \ && !(defined __ILP32__ || defined _ILP32) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; arm* | aarch64 ) # Assume arm with EABI. # On arm64 systems, the C compiler may be generating code in one of # these ABIs: # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) # On hppa, the C compiler may be generating 32-bit code or 64-bit # code. In the latter case, it defines _LP64 and __LP64__. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __LP64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; ia64* ) # On ia64 on HP-UX, the C compiler may be generating 64-bit code or # 32-bit code. In the latter case, it defines _ILP32. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _ILP32 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=yes else gl_cv_host_cpu_c_abi_32bit=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; mips* ) # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this # at 32. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; powerpc* ) # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. # No need to distinguish them here; the caller may distinguish # them based on the OS. # On powerpc64 systems, the C compiler may still be generating # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may # be generating 64-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; rs6000 ) gl_cv_host_cpu_c_abi_32bit=yes ;; riscv32 | riscv64 ) # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. # Size of 'long' and 'void *': cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __s390x__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; sparc | sparc64 ) # UltraSPARCs running Linux have `uname -m` = "sparc64", but the # C compiler still generates 32-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; *) gl_cv_host_cpu_c_abi_32bit=no ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; } HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" case "$host_os" in solaris*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } if ${gl_cv_solaris_64bit+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _LP64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_solaris_64bit=yes else gl_cv_solaris_64bit=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; };; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5 $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; } if ${acl_cv_libdirstems+:} false; then : $as_echo_n "(cached) " >&6 else acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) if test "$HOST_CPU_C_ABI_32BIT" != yes; then searchpath=`(if test -f /usr/bin/gcc \ && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \ LC_ALL=C /usr/bin/gcc -print-search-dirs; \ else \ LC_ALL=C $CC -print-search-dirs; \ fi) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 $as_echo "$acl_cv_libdirstems" >&6; } # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2. acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'` use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBICONV= LTLIBICONV= INCICONV= LIBICONV_PREFIX= HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFPreferencesCopyAppValue=yes else gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFLocaleCopyPreferredLanguages(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyPreferredLanguages=yes else gt_cv_func_CFLocaleCopyPreferredLanguages=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi LIBINTL= LTLIBINTL= POSUB= case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 $as_echo_n "checking for GNU gettext in libc... " >&6; } if eval \${$gt_func_gnugettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libc=yes" else eval "$gt_func_gnugettext_libc=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do if test "$cross_compiling" = yes; then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif int main () { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 16; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi test "$am_cv_func_iconv_works" = no || break done LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 $as_echo "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBINTL= LTLIBINTL= INCINTL= LIBINTL_PREFIX= HAVE_LIBINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 $as_echo_n "checking for GNU gettext in libintl... " >&6; } if eval \${$gt_func_gnugettext_libintl+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libintl=yes" else eval "$gt_func_gnugettext_libintl=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 $as_echo_n "checking whether to use NLS... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 $as_echo_n "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 $as_echo "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 $as_echo_n "checking how to link with libintl... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 $as_echo "$LIBINTL" >&6; } for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h fi POSUB=po fi INTLLIBS="$LIBINTL" # Checks for header files. for ac_header in pwd.h do : ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" if test "x$ac_cv_header_pwd_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PWD_H 1 _ACEOF fi done # Checks for library functions. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 $as_echo_n "checking for library containing socket... " >&6; } if ${ac_cv_search_socket+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char socket (); int main () { return socket (); ; return 0; } _ACEOF for ac_lib in '' socket; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_socket=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_socket+:} false; then : break fi done if ${ac_cv_search_socket+:} false; then : else ac_cv_search_socket=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 $as_echo "$ac_cv_search_socket" >&6; } ac_res=$ac_cv_search_socket if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi for ac_func in getpwuid do : ac_fn_c_check_func "$LINENO" "getpwuid" "ac_cv_func_getpwuid" if test "x$ac_cv_func_getpwuid" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETPWUID 1 _ACEOF fi done # Allow disabling of obsolete stuff. # Check whether --enable-obsolete was given. if test "${enable_obsolete+set}" = set; then : enableval=$enable_obsolete; obsolete=$enableval fi if test "$obsolete" = "no"; then $as_echo "#define GSASL_NO_OBSOLETE 1" >>confdefs.h else obsolete=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if backwards compatibility code should be present" >&5 $as_echo_n "checking if backwards compatibility code should be present... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $obsolete" >&5 $as_echo "$obsolete" >&6; } if test "$obsolete" = "yes"; then OBSOLETE_TRUE= OBSOLETE_FALSE='#' else OBSOLETE_TRUE='#' OBSOLETE_FALSE= fi # Check for GnuTLS. # Check whether --with-gnutls was given. if test "${with_gnutls+set}" = set; then : withval=$with_gnutls; gnutls=$withval else gnutls=yes fi if test "$gnutls" != "no"; then use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libgnutls-prefix was given. if test "${with_libgnutls_prefix+set}" = set; then : withval=$with_libgnutls_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBGNUTLS= LTLIBGNUTLS= INCGNUTLS= LIBGNUTLS_PREFIX= HAVE_LIBGNUTLS= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='gnutls ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBGNUTLS="${LTLIBGNUTLS}${LTLIBGNUTLS:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBGNUTLS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBGNUTLS="${LTLIBGNUTLS}${LTLIBGNUTLS:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBGNUTLS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$found_so" else LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$found_a" else LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'gnutls'; then LIBGNUTLS_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'gnutls'; then LIBGNUTLS_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCGNUTLS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCGNUTLS="${INCGNUTLS}${INCGNUTLS:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBGNUTLS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBGNUTLS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBGNUTLS="${LTLIBGNUTLS}${LTLIBGNUTLS:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$dep" LTLIBGNUTLS="${LTLIBGNUTLS}${LTLIBGNUTLS:+ }$dep" ;; esac done fi else LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }-l$name" LTLIBGNUTLS="${LTLIBGNUTLS}${LTLIBGNUTLS:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGNUTLS="${LIBGNUTLS}${LIBGNUTLS:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBGNUTLS="${LTLIBGNUTLS}${LTLIBGNUTLS:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCGNUTLS; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgnutls" >&5 $as_echo_n "checking for libgnutls... " >&6; } if ${ac_cv_libgnutls+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBGNUTLS" in *" -l"*) LIBS="$LIBS $LIBGNUTLS" ;; *) LIBS="$LIBGNUTLS $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { gnutls_priority_set_direct (0, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libgnutls=yes else ac_cv_libgnutls='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgnutls" >&5 $as_echo "$ac_cv_libgnutls" >&6; } if test "$ac_cv_libgnutls" = yes; then HAVE_LIBGNUTLS=yes $as_echo "#define HAVE_LIBGNUTLS 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libgnutls" >&5 $as_echo_n "checking how to link with libgnutls... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS" >&5 $as_echo "$LIBGNUTLS" >&6; } else HAVE_LIBGNUTLS=no CPPFLAGS="$ac_save_CPPFLAGS" LIBGNUTLS= LTLIBGNUTLS= LIBGNUTLS_PREFIX= fi fi if test "$ac_cv_libgnutls" != yes; then gnutls=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GnuTLS not found. STARTTLS support disabled." >&5 $as_echo "$as_me: WARNING: GnuTLS not found. STARTTLS support disabled." >&2;} fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if STARTTLS support via GnuTLS should be built" >&5 $as_echo_n "checking if STARTTLS support via GnuTLS should be built... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnutls" >&5 $as_echo "$gnutls" >&6; } if test "$ac_cv_libgnutls" = yes; then save_LIBS="$LIBS" LIBS="$LIBS $LIBGNUTLS" for ac_func in gnutls_session_channel_binding do : ac_fn_c_check_func "$LINENO" "gnutls_session_channel_binding" "ac_cv_func_gnutls_session_channel_binding" if test "x$ac_cv_func_gnutls_session_channel_binding" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GNUTLS_SESSION_CHANNEL_BINDING 1 _ACEOF fi done LIBS="$save_LIBS" fi # Check for gtk-doc. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi gtk_doc_requires="gtk-doc >= 1.1" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5 $as_echo_n "checking for gtk-doc... " >&6; } if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then have_gtk_doc=yes else have_gtk_doc=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5 $as_echo "$have_gtk_doc" >&6; } if test "$have_gtk_doc" = "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You will not be able to create source packages with 'make dist' because $gtk_doc_requires is not found." >&5 $as_echo "$as_me: WARNING: You will not be able to create source packages with 'make dist' because $gtk_doc_requires is not found." >&2;} fi # Extract the first word of "gtkdoc-check", so it can be a program name with args. set dummy gtkdoc-check; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_GTKDOC_CHECK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$GTKDOC_CHECK"; then ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK if test -n "$GTKDOC_CHECK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 $as_echo "$GTKDOC_CHECK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gtkdoc-check", so it can be a program name with args. set dummy gtkdoc-check; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then : $as_echo_n "(cached) " >&6 else case $GTKDOC_CHECK_PATH in [\\/]* | ?:[\\/]*) ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH if test -n "$GTKDOC_CHECK_PATH"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5 $as_echo "$GTKDOC_CHECK_PATH" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi for ac_prog in gtkdoc-rebase do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GTKDOC_REBASE+:} false; then : $as_echo_n "(cached) " >&6 else case $GTKDOC_REBASE in [\\/]* | ?:[\\/]*) ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE if test -n "$GTKDOC_REBASE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 $as_echo "$GTKDOC_REBASE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$GTKDOC_REBASE" && break done test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. set dummy gtkdoc-mkpdf; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GTKDOC_MKPDF+:} false; then : $as_echo_n "(cached) " >&6 else case $GTKDOC_MKPDF in [\\/]* | ?:[\\/]*) ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF if test -n "$GTKDOC_MKPDF"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 $as_echo "$GTKDOC_MKPDF" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Check whether --with-html-dir was given. if test "${with_html_dir+set}" = set; then : withval=$with_html_dir; else with_html_dir='${datadir}/gtk-doc/html' fi HTML_DIR="$with_html_dir" # Check whether --enable-gtk-doc was given. if test "${enable_gtk_doc+set}" = set; then : enableval=$enable_gtk_doc; else enable_gtk_doc=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 $as_echo "$enable_gtk_doc" >&6; } if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then as_fn_error $? " You must have $gtk_doc_requires installed to build documentation for $PACKAGE_NAME. Please install gtk-doc or disable building the documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5 fi if test "x$PACKAGE_NAME" != "xglib"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5 $as_echo_n "checking for GTKDOC_DEPS... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTKDOC_DEPS_CFLAGS"; then pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" else if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GTKDOC_DEPS_LIBS"; then pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" else if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"` else GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0"` fi # Put the nasty error message in config.log where it belongs echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } : elif test $pkg_failed = untried; then : else GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } : fi fi # Check whether --enable-gtk-doc-html was given. if test "${enable_gtk_doc_html+set}" = set; then : enableval=$enable_gtk_doc_html; else enable_gtk_doc_html=yes fi # Check whether --enable-gtk-doc-pdf was given. if test "${enable_gtk_doc_pdf+set}" = set; then : enableval=$enable_gtk_doc_pdf; else enable_gtk_doc_pdf=no fi if test -z "$GTKDOC_MKPDF"; then enable_gtk_doc_pdf=no fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi if test x$have_gtk_doc = xyes; then HAVE_GTK_DOC_TRUE= HAVE_GTK_DOC_FALSE='#' else HAVE_GTK_DOC_TRUE='#' HAVE_GTK_DOC_FALSE= fi if test x$enable_gtk_doc = xyes; then ENABLE_GTK_DOC_TRUE= ENABLE_GTK_DOC_FALSE='#' else ENABLE_GTK_DOC_TRUE='#' ENABLE_GTK_DOC_FALSE= fi if test x$enable_gtk_doc_html = xyes; then GTK_DOC_BUILD_HTML_TRUE= GTK_DOC_BUILD_HTML_FALSE='#' else GTK_DOC_BUILD_HTML_TRUE='#' GTK_DOC_BUILD_HTML_FALSE= fi if test x$enable_gtk_doc_pdf = xyes; then GTK_DOC_BUILD_PDF_TRUE= GTK_DOC_BUILD_PDF_FALSE='#' else GTK_DOC_BUILD_PDF_TRUE='#' GTK_DOC_BUILD_PDF_FALSE= fi if test -n "$LIBTOOL"; then GTK_DOC_USE_LIBTOOL_TRUE= GTK_DOC_USE_LIBTOOL_FALSE='#' else GTK_DOC_USE_LIBTOOL_TRUE='#' GTK_DOC_USE_LIBTOOL_FALSE= fi if test -n "$GTKDOC_REBASE"; then GTK_DOC_USE_REBASE_TRUE= GTK_DOC_USE_REBASE_FALSE='#' else GTK_DOC_USE_REBASE_TRUE='#' GTK_DOC_USE_REBASE_FALSE= fi # For gnulib stuff in gl/. LIBC_FATAL_STDERR_=1 export LIBC_FATAL_STDERR_ ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 $as_echo_n "checking for working alloca.h... " >&6; } if ${ac_cv_working_alloca_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_working_alloca_h=yes else ac_cv_working_alloca_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 $as_echo "$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 $as_echo_n "checking for alloca... " >&6; } if ${ac_cv_func_alloca_works+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # ifdef HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ void *alloca (size_t); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_func_alloca_works=yes else ac_cv_func_alloca_works=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 $as_echo "$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext $as_echo "#define C_ALLOCA 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } if ${ac_cv_os_cray+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined CRAY && ! defined CRAY2 webecray #else wenotbecray #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then : ac_cv_os_cray=yes else ac_cv_os_cray=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 $as_echo "$ac_cv_os_cray" >&6; } if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 $as_echo_n "checking stack direction for C alloca... " >&6; } if ${ac_cv_c_stack_direction+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_c_stack_direction=0 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_stack_direction=1 else ac_cv_c_stack_direction=-1 fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 $as_echo "$ac_cv_c_stack_direction" >&6; } cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi GNULIB_INET_NTOP=0; GNULIB_INET_PTON=0; HAVE_DECL_INET_NTOP=1; HAVE_DECL_INET_PTON=1; REPLACE_INET_NTOP=0; REPLACE_INET_PTON=0; for ac_header in $ac_header_list do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; } if ${gl_cv_have_include_next+:} false; then : $as_echo_n "(cached) " >&6 else rm -rf conftestd1a conftestd1b conftestd2 mkdir conftestd1a conftestd1b conftestd2 cat < conftestd1a/conftest.h #define DEFINED_IN_CONFTESTD1 #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd1b/conftest.h #define DEFINED_IN_CONFTESTD1 #include #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd2/conftest.h #ifndef DEFINED_IN_CONFTESTD1 #error "include_next test doesn't work" #endif #define DEFINED_IN_CONFTESTD2 EOF gl_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_have_include_next=yes else CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_have_include_next=buggy else gl_cv_have_include_next=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CPPFLAGS="$gl_save_CPPFLAGS" rm -rf conftestd1a conftestd1b conftestd2 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 $as_echo "$gl_cv_have_include_next" >&6; } PRAGMA_SYSTEM_HEADER= if test $gl_cv_have_include_next = yes; then INCLUDE_NEXT=include_next INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next if test -n "$GCC"; then PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' fi else if test $gl_cv_have_include_next = buggy; then INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next else INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 $as_echo_n "checking whether system header files limit the line length... " >&6; } if ${gl_cv_pragma_columns+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __TANDEM choke me #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "choke me" >/dev/null 2>&1; then : gl_cv_pragma_columns=yes else gl_cv_pragma_columns=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 $as_echo "$gl_cv_pragma_columns" >&6; } if test $gl_cv_pragma_columns = yes; then PRAGMA_COLUMNS="#pragma COLUMNS 10000" else PRAGMA_COLUMNS= fi if test $ac_cv_header_features_h = yes; then HAVE_FEATURES_H=1 else HAVE_FEATURES_H=0 fi if test $ac_cv_header_sys_socket_h = no; then for ac_header in ws2tcpip.h do : ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WS2TCPIP_H 1 _ACEOF fi done fi GNULIB_CHDIR=0; GNULIB_CHOWN=0; GNULIB_CLOSE=0; GNULIB_COPY_FILE_RANGE=0; GNULIB_DUP=0; GNULIB_DUP2=0; GNULIB_DUP3=0; GNULIB_ENVIRON=0; GNULIB_EUIDACCESS=0; GNULIB_FACCESSAT=0; GNULIB_FCHDIR=0; GNULIB_FCHOWNAT=0; GNULIB_FDATASYNC=0; GNULIB_FSYNC=0; GNULIB_FTRUNCATE=0; GNULIB_GETCWD=0; GNULIB_GETDOMAINNAME=0; GNULIB_GETDTABLESIZE=0; GNULIB_GETGROUPS=0; GNULIB_GETHOSTNAME=0; GNULIB_GETLOGIN=0; GNULIB_GETLOGIN_R=0; GNULIB_GETPAGESIZE=0; GNULIB_GETPASS=0; GNULIB_GETUSERSHELL=0; GNULIB_GROUP_MEMBER=0; GNULIB_ISATTY=0; GNULIB_LCHOWN=0; GNULIB_LINK=0; GNULIB_LINKAT=0; GNULIB_LSEEK=0; GNULIB_PIPE=0; GNULIB_PIPE2=0; GNULIB_PREAD=0; GNULIB_PWRITE=0; GNULIB_READ=0; GNULIB_READLINK=0; GNULIB_READLINKAT=0; GNULIB_RMDIR=0; GNULIB_SETHOSTNAME=0; GNULIB_SLEEP=0; GNULIB_SYMLINK=0; GNULIB_SYMLINKAT=0; GNULIB_TRUNCATE=0; GNULIB_TTYNAME_R=0; GNULIB_UNISTD_H_NONBLOCKING=0; GNULIB_UNISTD_H_SIGPIPE=0; GNULIB_UNLINK=0; GNULIB_UNLINKAT=0; GNULIB_USLEEP=0; GNULIB_WRITE=0; HAVE_CHOWN=1; HAVE_COPY_FILE_RANGE=1; HAVE_DUP2=1; HAVE_DUP3=1; HAVE_EUIDACCESS=1; HAVE_FACCESSAT=1; HAVE_FCHDIR=1; HAVE_FCHOWNAT=1; HAVE_FDATASYNC=1; HAVE_FSYNC=1; HAVE_FTRUNCATE=1; HAVE_GETDTABLESIZE=1; HAVE_GETGROUPS=1; HAVE_GETHOSTNAME=1; HAVE_GETLOGIN=1; HAVE_GETPAGESIZE=1; HAVE_GETPASS=1; HAVE_GROUP_MEMBER=1; HAVE_LCHOWN=1; HAVE_LINK=1; HAVE_LINKAT=1; HAVE_PIPE=1; HAVE_PIPE2=1; HAVE_PREAD=1; HAVE_PWRITE=1; HAVE_READLINK=1; HAVE_READLINKAT=1; HAVE_SETHOSTNAME=1; HAVE_SLEEP=1; HAVE_SYMLINK=1; HAVE_SYMLINKAT=1; HAVE_UNLINKAT=1; HAVE_USLEEP=1; HAVE_DECL_ENVIRON=1; HAVE_DECL_FCHDIR=1; HAVE_DECL_FDATASYNC=1; HAVE_DECL_GETDOMAINNAME=1; HAVE_DECL_GETLOGIN=1; HAVE_DECL_GETLOGIN_R=1; HAVE_DECL_GETPAGESIZE=1; HAVE_DECL_GETUSERSHELL=1; HAVE_DECL_SETHOSTNAME=1; HAVE_DECL_TRUNCATE=1; HAVE_DECL_TTYNAME_R=1; HAVE_OS_H=0; HAVE_SYS_PARAM_H=0; REPLACE_CHOWN=0; REPLACE_CLOSE=0; REPLACE_DUP=0; REPLACE_DUP2=0; REPLACE_FACCESSAT=0; REPLACE_FCHOWNAT=0; REPLACE_FTRUNCATE=0; REPLACE_GETCWD=0; REPLACE_GETDOMAINNAME=0; REPLACE_GETDTABLESIZE=0; REPLACE_GETLOGIN_R=0; REPLACE_GETGROUPS=0; REPLACE_GETPAGESIZE=0; REPLACE_GETPASS=0; REPLACE_ISATTY=0; REPLACE_LCHOWN=0; REPLACE_LINK=0; REPLACE_LINKAT=0; REPLACE_LSEEK=0; REPLACE_PREAD=0; REPLACE_PWRITE=0; REPLACE_READ=0; REPLACE_READLINK=0; REPLACE_READLINKAT=0; REPLACE_RMDIR=0; REPLACE_SLEEP=0; REPLACE_SYMLINK=0; REPLACE_SYMLINKAT=0; REPLACE_TRUNCATE=0; REPLACE_TTYNAME_R=0; REPLACE_UNLINK=0; REPLACE_UNLINKAT=0; REPLACE_USLEEP=0; REPLACE_WRITE=0; UNISTD_H_HAVE_WINSOCK2_H=0; UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; for ac_func in $ac_func_list do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h else HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 fi GNULIB_SOCKET=0; GNULIB_CONNECT=0; GNULIB_ACCEPT=0; GNULIB_BIND=0; GNULIB_GETPEERNAME=0; GNULIB_GETSOCKNAME=0; GNULIB_GETSOCKOPT=0; GNULIB_LISTEN=0; GNULIB_RECV=0; GNULIB_SEND=0; GNULIB_RECVFROM=0; GNULIB_SENDTO=0; GNULIB_SETSOCKOPT=0; GNULIB_SHUTDOWN=0; GNULIB_ACCEPT4=0; HAVE_STRUCT_SOCKADDR_STORAGE=1; HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; HAVE_SA_FAMILY_T=1; HAVE_ACCEPT4=1; case "$host_os" in osf*) $as_echo "#define _POSIX_PII_SOCKET 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 $as_echo_n "checking whether is self-contained... " >&6; } if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_sys_socket_h_selfcontained=yes else gl_cv_header_sys_socket_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 $as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } if test $gl_cv_header_sys_socket_h_selfcontained = yes; then for ac_func in shutdown do : ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" if test "x$ac_cv_func_shutdown" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SHUTDOWN 1 _ACEOF fi done if test $ac_cv_func_shutdown = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 $as_echo_n "checking whether defines the SHUT_* macros... " >&6; } if ${gl_cv_header_sys_socket_h_shut+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_sys_socket_h_shut=yes else gl_cv_header_sys_socket_h_shut=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 $as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } if test $gl_cv_header_sys_socket_h_shut = no; then SYS_SOCKET_H='sys/socket.h' fi fi fi # We need to check for ws2tcpip.h now. if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_socket_h='<'sys/socket.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_socket_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_socket_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/socket.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_socket_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_socket_h gl_cv_next_sys_socket_h='"'$gl_header'"' else gl_cv_next_sys_socket_h='<'sys/socket.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 $as_echo "$gl_cv_next_sys_socket_h" >&6; } fi NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/socket.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_socket_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h = yes; then HAVE_SYS_SOCKET_H=1 else HAVE_SYS_SOCKET_H=0 fi if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_STORAGE 1 _ACEOF fi ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_type_sa_family_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SA_FAMILY_T 1 _ACEOF fi if test $ac_cv_type_struct_sockaddr_storage = no; then HAVE_STRUCT_SOCKADDR_STORAGE=0 fi if test $ac_cv_type_sa_family_t = no; then HAVE_SA_FAMILY_T=0 fi if test $ac_cv_type_struct_sockaddr_storage != no; then ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 _ACEOF else HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0 fi fi if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then SYS_SOCKET_H='sys/socket.h' fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 $as_echo_n "checking whether // is distinct from /... " >&6; } if ${gl_cv_double_slash_root+:} false; then : $as_echo_n "(cached) " >&6 else if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date # that have a distinct // are Apollo DomainOS (too old to port to), # Cygwin, and z/OS. If anyone knows of another system for which // has # special semantics and is distinct from /, please report it to # . case $host in *-cygwin | i370-ibm-openedition) gl_cv_double_slash_root=yes ;; *) # Be optimistic and assume that / and // are the same when we # don't know. gl_cv_double_slash_root='unknown, assuming no' ;; esac else set x `ls -di / // 2>/dev/null` if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then gl_cv_double_slash_root=no else gl_cv_double_slash_root=yes fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 $as_echo "$gl_cv_double_slash_root" >&6; } if test "$gl_cv_double_slash_root" = yes; then $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 $as_echo_n "checking for complete errno.h... " >&6; } if ${gl_cv_header_errno_h_complete+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if !defined ETXTBSY booboo #endif #if !defined ENOMSG booboo #endif #if !defined EIDRM booboo #endif #if !defined ENOLINK booboo #endif #if !defined EPROTO booboo #endif #if !defined EMULTIHOP booboo #endif #if !defined EBADMSG booboo #endif #if !defined EOVERFLOW booboo #endif #if !defined ENOTSUP booboo #endif #if !defined ENETRESET booboo #endif #if !defined ECONNABORTED booboo #endif #if !defined ESTALE booboo #endif #if !defined EDQUOT booboo #endif #if !defined ECANCELED booboo #endif #if !defined EOWNERDEAD booboo #endif #if !defined ENOTRECOVERABLE booboo #endif #if !defined EILSEQ booboo #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "booboo" >/dev/null 2>&1; then : gl_cv_header_errno_h_complete=no else gl_cv_header_errno_h_complete=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 $as_echo "$gl_cv_header_errno_h_complete" >&6; } if test $gl_cv_header_errno_h_complete = yes; then ERRNO_H='' else if test $gl_cv_have_include_next = yes; then gl_cv_next_errno_h='<'errno.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_errno_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'errno.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_errno_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_errno_h gl_cv_next_errno_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 $as_echo "$gl_cv_next_errno_h" >&6; } fi NEXT_ERRNO_H=$gl_cv_next_errno_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'errno.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_errno_h fi NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive ERRNO_H='errno.h' fi if test -n "$ERRNO_H"; then GL_GENERATE_ERRNO_H_TRUE= GL_GENERATE_ERRNO_H_FALSE='#' else GL_GENERATE_ERRNO_H_TRUE='#' GL_GENERATE_ERRNO_H_FALSE= fi if test -n "$ERRNO_H"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 $as_echo_n "checking for EMULTIHOP value... " >&6; } if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef EMULTIHOP yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EMULTIHOP=yes else gl_cv_header_errno_h_EMULTIHOP=no fi rm -f conftest* if test $gl_cv_header_errno_h_EMULTIHOP = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef EMULTIHOP yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EMULTIHOP=hidden fi rm -f conftest* if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include "; then : fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 $as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } case $gl_cv_header_errno_h_EMULTIHOP in yes | no) EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ;; *) EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ;; esac fi if test -n "$ERRNO_H"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 $as_echo_n "checking for ENOLINK value... " >&6; } if ${gl_cv_header_errno_h_ENOLINK+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef ENOLINK yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_ENOLINK=yes else gl_cv_header_errno_h_ENOLINK=no fi rm -f conftest* if test $gl_cv_header_errno_h_ENOLINK = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef ENOLINK yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_ENOLINK=hidden fi rm -f conftest* if test $gl_cv_header_errno_h_ENOLINK = hidden; then if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include "; then : fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 $as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } case $gl_cv_header_errno_h_ENOLINK in yes | no) ENOLINK_HIDDEN=0; ENOLINK_VALUE= ;; *) ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" ;; esac fi if test -n "$ERRNO_H"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 $as_echo_n "checking for EOVERFLOW value... " >&6; } if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef EOVERFLOW yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EOVERFLOW=yes else gl_cv_header_errno_h_EOVERFLOW=no fi rm -f conftest* if test $gl_cv_header_errno_h_EOVERFLOW = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef EOVERFLOW yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EOVERFLOW=hidden fi rm -f conftest* if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include "; then : fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 $as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } case $gl_cv_header_errno_h_EOVERFLOW in yes | no) EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ;; *) EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ;; esac fi ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" if test "x$ac_cv_have_decl_strerror_r" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRERROR_R $ac_have_decl _ACEOF for ac_func in strerror_r do : ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" if test "x$ac_cv_func_strerror_r" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRERROR_R 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 $as_echo_n "checking whether strerror_r returns char *... " >&6; } if ${ac_cv_func_strerror_r_char_p+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); char *p = strerror_r (0, buf, sizeof buf); return !p || x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_func_strerror_r_char_p=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else # strerror_r is not declared. Choose between # systems that have relatively inaccessible declarations for the # function. BeOS and DEC UNIX 4.0 fall in this category, but the # former has a strerror_r that returns char*, while the latter # has a strerror_r that returns `int'. # This test should segfault on the DEC system. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default extern char *strerror_r (); int main () { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); return ! isalpha (x); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_strerror_r_char_p=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; } if test $ac_cv_func_strerror_r_char_p = yes; then $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi XGETTEXT_EXTRA_OPTIONS= GNULIB_DPRINTF=0; GNULIB_FCLOSE=0; GNULIB_FDOPEN=0; GNULIB_FFLUSH=0; GNULIB_FGETC=0; GNULIB_FGETS=0; GNULIB_FOPEN=0; GNULIB_FPRINTF=0; GNULIB_FPRINTF_POSIX=0; GNULIB_FPURGE=0; GNULIB_FPUTC=0; GNULIB_FPUTS=0; GNULIB_FREAD=0; GNULIB_FREOPEN=0; GNULIB_FSCANF=0; GNULIB_FSEEK=0; GNULIB_FSEEKO=0; GNULIB_FTELL=0; GNULIB_FTELLO=0; GNULIB_FWRITE=0; GNULIB_GETC=0; GNULIB_GETCHAR=0; GNULIB_GETDELIM=0; GNULIB_GETLINE=0; GNULIB_OBSTACK_PRINTF=0; GNULIB_OBSTACK_PRINTF_POSIX=0; GNULIB_PCLOSE=0; GNULIB_PERROR=0; GNULIB_POPEN=0; GNULIB_PRINTF=0; GNULIB_PRINTF_POSIX=0; GNULIB_PUTC=0; GNULIB_PUTCHAR=0; GNULIB_PUTS=0; GNULIB_REMOVE=0; GNULIB_RENAME=0; GNULIB_RENAMEAT=0; GNULIB_SCANF=0; GNULIB_SNPRINTF=0; GNULIB_SPRINTF_POSIX=0; GNULIB_STDIO_H_NONBLOCKING=0; GNULIB_STDIO_H_SIGPIPE=0; GNULIB_TMPFILE=0; GNULIB_VASPRINTF=0; GNULIB_VFSCANF=0; GNULIB_VSCANF=0; GNULIB_VDPRINTF=0; GNULIB_VFPRINTF=0; GNULIB_VFPRINTF_POSIX=0; GNULIB_VPRINTF=0; GNULIB_VPRINTF_POSIX=0; GNULIB_VSNPRINTF=0; GNULIB_VSPRINTF_POSIX=0; HAVE_DECL_FPURGE=1; HAVE_DECL_FSEEKO=1; HAVE_DECL_FTELLO=1; HAVE_DECL_GETDELIM=1; HAVE_DECL_GETLINE=1; HAVE_DECL_OBSTACK_PRINTF=1; HAVE_DECL_SNPRINTF=1; HAVE_DECL_VSNPRINTF=1; HAVE_DPRINTF=1; HAVE_FSEEKO=1; HAVE_FTELLO=1; HAVE_PCLOSE=1; HAVE_POPEN=1; HAVE_RENAMEAT=1; HAVE_VASPRINTF=1; HAVE_VDPRINTF=1; REPLACE_DPRINTF=0; REPLACE_FCLOSE=0; REPLACE_FDOPEN=0; REPLACE_FFLUSH=0; REPLACE_FOPEN=0; REPLACE_FPRINTF=0; REPLACE_FPURGE=0; REPLACE_FREOPEN=0; REPLACE_FSEEK=0; REPLACE_FSEEKO=0; REPLACE_FTELL=0; REPLACE_FTELLO=0; REPLACE_GETDELIM=0; REPLACE_GETLINE=0; REPLACE_OBSTACK_PRINTF=0; REPLACE_PERROR=0; REPLACE_POPEN=0; REPLACE_PRINTF=0; REPLACE_REMOVE=0; REPLACE_RENAME=0; REPLACE_RENAMEAT=0; REPLACE_SNPRINTF=0; REPLACE_SPRINTF=0; REPLACE_STDIO_READ_FUNCS=0; REPLACE_STDIO_WRITE_FUNCS=0; REPLACE_TMPFILE=0; REPLACE_VASPRINTF=0; REPLACE_VDPRINTF=0; REPLACE_VFPRINTF=0; REPLACE_VPRINTF=0; REPLACE_VSNPRINTF=0; REPLACE_VSPRINTF=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 $as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } if ${gl_cv_var_stdin_large_offset+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if defined __SL64 && defined __SCLE /* cygwin */ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and it is easier to do a version check than building a runtime test. */ # include # if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) choke me # endif #endif ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_var_stdin_large_offset=yes else gl_cv_var_stdin_large_offset=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 $as_echo "$gl_cv_var_stdin_large_offset" >&6; } ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" if test "x$ac_cv_type_mode_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define mode_t int _ACEOF fi case "$host_os" in mingw*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5 $as_echo_n "checking for 64-bit off_t... " >&6; } if ${gl_cv_type_off_t_64+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_off_t_64=yes else gl_cv_type_off_t_64=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5 $as_echo "$gl_cv_type_off_t_64" >&6; } if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else WINDOWS_64_BIT_OFF_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit st_size" >&5 $as_echo_n "checking for 64-bit st_size... " >&6; } if ${gl_cv_member_st_size_64+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct stat buf; int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_member_st_size_64=yes else gl_cv_member_st_size_64=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_member_st_size_64" >&5 $as_echo "$gl_cv_member_st_size_64" >&6; } if test $gl_cv_member_st_size_64 = no; then WINDOWS_64_BIT_ST_SIZE=1 else WINDOWS_64_BIT_ST_SIZE=0 fi ;; *) WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac $as_echo "#define _USE_STD_STAT 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_types_h='<'sys/types.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_types_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/types.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_types_h gl_cv_next_sys_types_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 $as_echo "$gl_cv_next_sys_types_h" >&6; } fi NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/types.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_types_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive WINDOWS_STAT_INODES=0 ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default" if test "x$ac_cv_have_decl_fseeko" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FSEEKO $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 $as_echo_n "checking for fseeko... " >&6; } if ${gl_cv_func_fseeko+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { fseeko (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_fseeko=yes else gl_cv_func_fseeko=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 $as_echo "$gl_cv_func_fseeko" >&6; } if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi fi GNULIB_FCHMODAT=0; GNULIB_FSTAT=0; GNULIB_FSTATAT=0; GNULIB_FUTIMENS=0; GNULIB_LCHMOD=0; GNULIB_LSTAT=0; GNULIB_MKDIRAT=0; GNULIB_MKFIFO=0; GNULIB_MKFIFOAT=0; GNULIB_MKNOD=0; GNULIB_MKNODAT=0; GNULIB_STAT=0; GNULIB_UTIMENSAT=0; GNULIB_OVERRIDES_STRUCT_STAT=0; HAVE_FCHMODAT=1; HAVE_FSTATAT=1; HAVE_FUTIMENS=1; HAVE_LCHMOD=1; HAVE_LSTAT=1; HAVE_MKDIRAT=1; HAVE_MKFIFO=1; HAVE_MKFIFOAT=1; HAVE_MKNOD=1; HAVE_MKNODAT=1; HAVE_UTIMENSAT=1; REPLACE_FSTAT=0; REPLACE_FSTATAT=0; REPLACE_FUTIMENS=0; REPLACE_LSTAT=0; REPLACE_MKDIR=0; REPLACE_MKFIFO=0; REPLACE_MKNOD=0; REPLACE_STAT=0; REPLACE_UTIMENSAT=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; } if ${ac_cv_header_stat_broken+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if defined S_ISBLK && defined S_IFDIR extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; #endif #if defined S_ISBLK && defined S_IFCHR extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; #endif #if defined S_ISLNK && defined S_IFREG extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; #endif #if defined S_ISSOCK && defined S_IFREG extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stat_broken=no else ac_cv_header_stat_broken=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 $as_echo "$ac_cv_header_stat_broken" >&6; } if test $ac_cv_header_stat_broken = yes; then $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_stat_h='<'sys/stat.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_stat_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_stat_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/stat.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_stat_h gl_cv_next_sys_stat_h='"'$gl_header'"' else gl_cv_next_sys_stat_h='<'sys/stat.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 $as_echo "$gl_cv_next_sys_stat_h" >&6; } fi NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/stat.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_stat_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive WINDOWS_STAT_TIMESPEC=0 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include #include " if test "x$ac_cv_type_nlink_t" = xyes; then : else $as_echo "#define nlink_t int" >>confdefs.h fi GNULIB_GETADDRINFO=0; HAVE_STRUCT_ADDRINFO=1; HAVE_DECL_FREEADDRINFO=1; HAVE_DECL_GAI_STRERROR=1; HAVE_DECL_GETADDRINFO=1; HAVE_DECL_GETNAMEINFO=1; REPLACE_GAI_STRERROR=0; if test $gl_cv_have_include_next = yes; then gl_cv_next_netdb_h='<'netdb.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_netdb_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_netdb_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'netdb.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_netdb_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_netdb_h gl_cv_next_netdb_h='"'$gl_header'"' else gl_cv_next_netdb_h='<'netdb.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 $as_echo "$gl_cv_next_netdb_h" >&6; } fi NEXT_NETDB_H=$gl_cv_next_netdb_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'netdb.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_netdb_h fi NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive if test $ac_cv_header_netdb_h = yes; then HAVE_NETDB_H=1 else HAVE_NETDB_H=0 fi HOSTENT_LIB= gl_saved_libs="$LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 $as_echo_n "checking for library containing gethostbyname... " >&6; } if ${ac_cv_search_gethostbyname+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char gethostbyname (); int main () { return gethostbyname (); ; return 0; } _ACEOF for ac_lib in '' nsl network net; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_gethostbyname=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_gethostbyname+:} false; then : break fi done if ${ac_cv_search_gethostbyname+:} false; then : else ac_cv_search_gethostbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 $as_echo "$ac_cv_search_gethostbyname" >&6; } ac_res=$ac_cv_search_gethostbyname if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_gethostbyname" != "none required"; then HOSTENT_LIB="$ac_cv_search_gethostbyname" fi fi LIBS="$gl_saved_libs" if test -z "$HOSTENT_LIB"; then for ac_func in gethostbyname do : ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" if test "x$ac_cv_func_gethostbyname" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETHOSTBYNAME 1 _ACEOF else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 $as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } if ${gl_cv_w32_gethostbyname+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_w32_gethostbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef HAVE_WINSOCK2_H #include #endif #include int main () { gethostbyname(NULL); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_w32_gethostbyname=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 $as_echo "$gl_cv_w32_gethostbyname" >&6; } if test "$gl_cv_w32_gethostbyname" = "yes"; then HOSTENT_LIB="-lws2_32" fi fi done fi SERVENT_LIB= gl_saved_libs="$LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 $as_echo_n "checking for library containing getservbyname... " >&6; } if ${ac_cv_search_getservbyname+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char getservbyname (); int main () { return getservbyname (); ; return 0; } _ACEOF for ac_lib in '' socket network net; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_getservbyname=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_getservbyname+:} false; then : break fi done if ${ac_cv_search_getservbyname+:} false; then : else ac_cv_search_getservbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 $as_echo "$ac_cv_search_getservbyname" >&6; } ac_res=$ac_cv_search_getservbyname if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_getservbyname" != "none required"; then SERVENT_LIB="$ac_cv_search_getservbyname" fi fi LIBS="$gl_saved_libs" if test -z "$SERVENT_LIB"; then for ac_func in getservbyname do : ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" if test "x$ac_cv_func_getservbyname" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETSERVBYNAME 1 _ACEOF else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 $as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } if ${gl_cv_w32_getservbyname+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_w32_getservbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef HAVE_WINSOCK2_H #include #endif #include int main () { getservbyname(NULL,NULL); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_w32_getservbyname=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 $as_echo "$gl_cv_w32_getservbyname" >&6; } if test "$gl_cv_w32_getservbyname" = "yes"; then SERVENT_LIB="-lws2_32" fi fi done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } if ${ac_cv_c_restrict+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_restrict=no # The order here caters to the fact that C++ does not require restrict. for ac_kw in __restrict __restrict__ _Restrict restrict; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ typedef int *int_ptr; int foo (int_ptr $ac_kw ip) { return ip[0]; } int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ int bar (int ip[$ac_kw]) { return ip[0]; } int main () { int s[1]; int *$ac_kw t = s; t[0] = 0; return foo (t) + bar (t); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_restrict=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_restrict" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 $as_echo "$ac_cv_c_restrict" >&6; } case $ac_cv_c_restrict in restrict) ;; no) $as_echo "#define restrict /**/" >>confdefs.h ;; *) cat >>confdefs.h <<_ACEOF #define restrict $ac_cv_c_restrict _ACEOF ;; esac HAVE_INET_NTOP=1 INET_NTOP_LIB= if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $HAVE_WINSOCK2_H = 1; then REPLACE_INET_NTOP=1 ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include " if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_NTOP $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_ntop = yes; then INET_NTOP_LIB="-lws2_32" else HAVE_DECL_INET_NTOP=0 fi else gl_save_LIBS=$LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 $as_echo_n "checking for library containing inet_ntop... " >&6; } if ${ac_cv_search_inet_ntop+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char inet_ntop (); int main () { return inet_ntop (); ; return 0; } _ACEOF for ac_lib in '' nsl resolv network; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_inet_ntop=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_inet_ntop+:} false; then : break fi done if ${ac_cv_search_inet_ntop+:} false; then : else ac_cv_search_inet_ntop=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 $as_echo "$ac_cv_search_inet_ntop" >&6; } ac_res=$ac_cv_search_inet_ntop if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" else for ac_func in inet_ntop do : ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" if test "x$ac_cv_func_inet_ntop" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INET_NTOP 1 _ACEOF fi done if test $ac_cv_func_inet_ntop = no; then HAVE_INET_NTOP=0 fi fi LIBS=$gl_save_LIBS if test "$ac_cv_search_inet_ntop" != "no" \ && test "$ac_cv_search_inet_ntop" != "none required"; then INET_NTOP_LIB="$ac_cv_search_inet_ntop" fi ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include #if HAVE_NETDB_H # include #endif " if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_NTOP $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_ntop = no; then HAVE_DECL_INET_NTOP=0 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 $as_echo_n "checking for IPv4 sockets... " >&6; } if ${gl_cv_socket_ipv4+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif int main () { int x = AF_INET; struct in_addr y; struct sockaddr_in z; if (&x && &y && &z) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_socket_ipv4=yes else gl_cv_socket_ipv4=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 $as_echo "$gl_cv_socket_ipv4" >&6; } if test $gl_cv_socket_ipv4 = yes; then $as_echo "#define HAVE_IPV4 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 $as_echo_n "checking for IPv6 sockets... " >&6; } if ${gl_cv_socket_ipv6+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif int main () { int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; if (&x && &y && &z) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_socket_ipv6=yes else gl_cv_socket_ipv6=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 $as_echo "$gl_cv_socket_ipv6" >&6; } if test $gl_cv_socket_ipv6 = yes; then $as_echo "#define HAVE_IPV6 1" >>confdefs.h fi ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" if test "x$ac_cv_have_decl_getdelim" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETDELIM $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" if test "x$ac_cv_have_decl_getline" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETLINE $ac_have_decl _ACEOF if test $gl_cv_have_include_next = yes; then gl_cv_next_getopt_h='<'getopt.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_getopt_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_getopt_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'getopt.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_getopt_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_getopt_h gl_cv_next_getopt_h='"'$gl_header'"' else gl_cv_next_getopt_h='<'getopt.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 $as_echo "$gl_cv_next_getopt_h" >&6; } fi NEXT_GETOPT_H=$gl_cv_next_getopt_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'getopt.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_getopt_h fi NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive if test $ac_cv_header_getopt_h = yes; then HAVE_GETOPT_H=1 else HAVE_GETOPT_H=0 fi gl_replace_getopt= if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then for ac_header in getopt.h do : ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" if test "x$ac_cv_header_getopt_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETOPT_H 1 _ACEOF else gl_replace_getopt=yes fi done fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then for ac_func in getopt_long_only do : ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" if test "x$ac_cv_func_getopt_long_only" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETOPT_LONG_ONLY 1 _ACEOF else gl_replace_getopt=yes fi done fi if test -z "$gl_replace_getopt"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 $as_echo_n "checking whether getopt is POSIX compatible... " >&6; } if ${gl_cv_func_getopt_posix+:} false; then : $as_echo_n "(cached) " >&6 else if test $cross_compiling = no; then if test "$cross_compiling" = yes; then : { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { static char program[] = "program"; static char a[] = "-a"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, a, foo, bar, NULL }; int c; c = getopt (4, argv, "ab"); if (!(c == 'a')) return 1; c = getopt (4, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) return 3; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getopt_posix=maybe else gl_cv_func_getopt_posix=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $gl_cv_func_getopt_posix = maybe; then if test "$cross_compiling" = yes; then : { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { static char program[] = "program"; static char donald[] = "donald"; static char p[] = "-p"; static char billy[] = "billy"; static char duck[] = "duck"; static char a[] = "-a"; static char bar[] = "bar"; char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; int c; c = getopt (7, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) return 5; if (!(strcmp (argv[1], "donald") == 0)) return 6; if (!(strcmp (argv[2], "-p") == 0)) return 7; if (!(strcmp (argv[3], "billy") == 0)) return 8; if (!(strcmp (argv[4], "duck") == 0)) return 9; if (!(strcmp (argv[5], "-a") == 0)) return 10; if (!(strcmp (argv[6], "bar") == 0)) return 11; if (!(optind == 1)) return 12; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getopt_posix=maybe else gl_cv_func_getopt_posix=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi if test $gl_cv_func_getopt_posix = maybe; then if test "$cross_compiling" = yes; then : { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See \`config.log' for more details" "$LINENO" 5; } else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { static char program[] = "program"; static char ab[] = "-ab"; char *argv[3] = { program, ab, NULL }; if (getopt (2, argv, "ab:") != 'a') return 13; if (getopt (2, argv, "ab:") != '?') return 14; if (optopt != 'b') return 15; if (optind != 2) return 16; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getopt_posix=yes else gl_cv_func_getopt_posix=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi else case "$host_os" in darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";; *) gl_cv_func_getopt_posix="guessing yes";; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 $as_echo "$gl_cv_func_getopt_posix" >&6; } case "$gl_cv_func_getopt_posix" in *no) gl_replace_getopt=yes ;; esac fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 $as_echo_n "checking for working GNU getopt function... " >&6; } if ${gl_cv_func_getopt_gnu+:} false; then : $as_echo_n "(cached) " >&6 else # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the # optstring is necessary for programs like m4 that have POSIX-mandated # semantics for supporting options interspersed with files. # Also, since getopt_long is a GNU extension, we require optind=0. # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; # so take care to revert to the correct (non-)export state. gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #if defined __MACH__ && defined __APPLE__ /* Avoid a crash on Mac OS X. */ #include #include #include #include #include #include /* The exception port on which our thread listens. */ static mach_port_t our_exception_port; /* The main function of the thread listening for exceptions of type EXC_BAD_ACCESS. */ static void * mach_exception_thread (void *arg) { /* Buffer for a message to be received. */ struct { mach_msg_header_t head; mach_msg_body_t msgh_body; char data[1024]; } msg; mach_msg_return_t retval; /* Wait for a message on the exception port. */ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); if (retval != MACH_MSG_SUCCESS) abort (); exit (1); } static void nocrash_init (void) { mach_port_t self = mach_task_self (); /* Allocate a port on which the thread shall listen for exceptions. */ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) == KERN_SUCCESS) { /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ if (mach_port_insert_right (self, our_exception_port, our_exception_port, MACH_MSG_TYPE_MAKE_SEND) == KERN_SUCCESS) { /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting for us. */ exception_mask_t mask = EXC_MASK_BAD_ACCESS; /* Create the thread listening on the exception port. */ pthread_attr_t attr; pthread_t thread; if (pthread_attr_init (&attr) == 0 && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { pthread_attr_destroy (&attr); /* Replace the exception port info for these exceptions with our own. Note that we replace the exception port for the entire task, not only for a particular thread. This has the effect that when our exception port gets the message, the thread specific exception port has already been asked, and we don't need to bother about it. See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ task_set_exception_ports (self, mask, our_exception_port, EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); } } } } #elif defined _WIN32 && ! defined __CYGWIN__ /* Avoid a crash on native Windows. */ #define WIN32_LEAN_AND_MEAN #include #include static LONG WINAPI exception_filter (EXCEPTION_POINTERS *ExceptionInfo) { switch (ExceptionInfo->ExceptionRecord->ExceptionCode) { case EXCEPTION_ACCESS_VIOLATION: case EXCEPTION_IN_PAGE_ERROR: case EXCEPTION_STACK_OVERFLOW: case EXCEPTION_GUARD_PAGE: case EXCEPTION_PRIV_INSTRUCTION: case EXCEPTION_ILLEGAL_INSTRUCTION: case EXCEPTION_DATATYPE_MISALIGNMENT: case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: case EXCEPTION_NONCONTINUABLE_EXCEPTION: exit (1); } return EXCEPTION_CONTINUE_SEARCH; } static void nocrash_init (void) { SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); } #else /* Avoid a crash on POSIX systems. */ #include #include /* A POSIX signal handler. */ static void exception_handler (int sig) { _exit (1); } static void nocrash_init (void) { #ifdef SIGSEGV signal (SIGSEGV, exception_handler); #endif #ifdef SIGBUS signal (SIGBUS, exception_handler); #endif } #endif int main () { int result = 0; nocrash_init(); /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10. */ { static char conftest[] = "conftest"; static char plus[] = "-+"; char *argv[3] = { conftest, plus, NULL }; opterr = 0; if (getopt (2, argv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { static char program[] = "program"; static char p[] = "-p"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, p, foo, bar, NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') result |= 2; else if (optarg != NULL) result |= 4; else if (getopt (4, argv, "p::") != -1) result |= 6; else if (optind != 2) result |= 8; } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { static char program[] = "program"; static char foo[] = "foo"; static char p[] = "-p"; char *argv[] = { program, foo, p, NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; else if (getopt (3, argv, "-p") != 'p') result |= 16; } /* This code fails on glibc 2.11. */ { static char program[] = "program"; static char b[] = "-b"; static char a[] = "-a"; char *argv[] = { program, b, a, NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 32; else if (getopt (3, argv, "+:a:b") != ':') result |= 32; } /* This code dumps core on glibc 2.14. */ { static char program[] = "program"; static char w[] = "-W"; static char dummy[] = "dummy"; char *argv[] = { program, w, dummy, NULL }; optind = opterr = 1; if (getopt (3, argv, "W;") != 'W') result |= 64; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getopt_gnu=yes else gl_cv_func_getopt_gnu=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi case $gl_had_POSIXLY_CORRECT in exported) ;; yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 $as_echo "$gl_cv_func_getopt_gnu" >&6; } if test "$gl_cv_func_getopt_gnu" != yes; then gl_replace_getopt=yes else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5 $as_echo_n "checking for working GNU getopt_long function... " >&6; } if ${gl_cv_func_getopt_long_gnu+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in openbsd*) gl_cv_func_getopt_long_gnu="guessing no";; *) gl_cv_func_getopt_long_gnu="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { static const struct option long_options[] = { { "xtremely-",no_argument, NULL, 1003 }, { "xtra", no_argument, NULL, 1001 }, { "xtreme", no_argument, NULL, 1002 }, { "xtremely", no_argument, NULL, 1003 }, { NULL, 0, NULL, 0 } }; /* This code fails on OpenBSD 5.0. */ { static char program[] = "program"; static char xtremel[] = "--xtremel"; char *argv[] = { program, xtremel, NULL }; int option_index; optind = 1; opterr = 0; if (getopt_long (2, argv, "", long_options, &option_index) != 1003) return 1; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getopt_long_gnu=yes else gl_cv_func_getopt_long_gnu=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5 $as_echo "$gl_cv_func_getopt_long_gnu" >&6; } case "$gl_cv_func_getopt_long_gnu" in *yes) ;; *) gl_replace_getopt=yes ;; esac fi fi if test $ac_cv_func_getpass = no; then HAVE_GETPASS=0 fi ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "flockfile" "ac_cv_have_decl_flockfile" "$ac_includes_default" if test "x$ac_cv_have_decl_flockfile" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FLOCKFILE $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "funlockfile" "ac_cv_have_decl_funlockfile" "$ac_includes_default" if test "x$ac_cv_have_decl_funlockfile" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FUNLOCKFILE $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl _ACEOF GNULIB_ICONV=0; ICONV_CONST=; REPLACE_ICONV=0; REPLACE_ICONV_OPEN=0; REPLACE_ICONV_UTF=0; ICONV_H=''; if false; then ICONV_H='iconv.h' fi if test -n "$ICONV_H"; then GL_GENERATE_ICONV_H_TRUE= GL_GENERATE_ICONV_H_FALSE='#' else GL_GENERATE_ICONV_H_TRUE='#' GL_GENERATE_ICONV_H_FALSE= fi am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do if test "$cross_compiling" = yes; then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif int main () { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 16; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi test "$am_cv_func_iconv_works" = no || break done LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 $as_echo "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 $as_echo_n "checking for iconv declaration... " >&6; } if ${am_cv_proto_iconv+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_cv_proto_iconv_arg1="" else am_cv_proto_iconv_arg1="const" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_proto_iconv" >&5 $as_echo " $am_cv_proto_iconv" >&6; } else am_cv_proto_iconv_arg1="" fi cat >>confdefs.h <<_ACEOF #define ICONV_CONST $am_cv_proto_iconv_arg1 _ACEOF if test -n "$am_cv_proto_iconv_arg1"; then ICONV_CONST="const" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac if test $gl_cv_have_include_next = yes; then gl_cv_next_limits_h='<'limits.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_limits_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_limits_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'limits.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_limits_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_limits_h gl_cv_next_limits_h='"'$gl_header'"' else gl_cv_next_limits_h='<'limits.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5 $as_echo "$gl_cv_next_limits_h" >&6; } fi NEXT_LIMITS_H=$gl_cv_next_limits_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'limits.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_limits_h fi NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=$gl_next_as_first_directive { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc." >&5 $as_echo_n "checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... " >&6; } if ${gl_cv_header_limits_width+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include long long llm = LLONG_MAX; int wb = WORD_BIT; int ullw = ULLONG_WIDTH; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_limits_width=yes else gl_cv_header_limits_width=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_limits_width" >&5 $as_echo "$gl_cv_header_limits_width" >&6; } if test "$gl_cv_header_limits_width" = yes; then LIMITS_H= else LIMITS_H=limits.h fi if test -n "$LIMITS_H"; then GL_GENERATE_LIMITS_H_TRUE= GL_GENERATE_LIMITS_H_FALSE='#' else GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } if ${am_cv_langinfo_codeset+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { char* cs = nl_langinfo(CODESET); return !cs; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_langinfo_codeset=yes else am_cv_langinfo_codeset=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 $as_echo "$am_cv_langinfo_codeset" >&6; } if test $am_cv_langinfo_codeset = yes; then $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h fi gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 $as_echo_n "checking whether imported symbols can be declared weak... " >&6; } if ${gl_cv_have_weak+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int main () { xyzzy(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_have_weak=maybe fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test $gl_cv_have_weak = maybe; then if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ELF__ Extensible Linking Format #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : gl_cv_have_weak="guessing yes" else gl_cv_have_weak="guessing no" fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #pragma weak fputs int main () { return (fputs == NULL); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_have_weak=yes else gl_cv_have_weak=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 $as_echo "$gl_cv_have_weak" >&6; } if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then : fi if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes; then : gl_have_pthread_h=yes else gl_have_pthread_h=no fi if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads gl_have_pthread= # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html save_LIBS=$LIBS for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include pthread_mutex_t m; pthread_mutexattr_t ma; int main () { pthread_mutex_lock (&m); pthread_mutexattr_init (&ma); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_have_pthread=yes LIBTHREAD=$gl_pthread LTLIBTHREAD=$gl_pthread LIBMULTITHREAD=$gl_pthread LTLIBMULTITHREAD=$gl_pthread fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$save_LIBS test -n "$gl_have_pthread" && break done # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test -n "$gl_have_pthread" && test -z "$LIBTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_kill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_kill=yes else ac_cv_lib_pthread_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in solaris | solaris2.1-9 | solaris2.1-9.* | hpux*) $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h esac fi elif test -z "$gl_have_pthread"; then # Some library is needed. Try libpthread and libc_r. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_kill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_kill=yes else ac_cv_lib_pthread_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread fi if test -z "$gl_have_pthread"; then # For FreeBSD 4. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 $as_echo_n "checking for pthread_kill in -lc_r... " >&6; } if ${ac_cv_lib_c_r_pthread_kill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_c_r_pthread_kill=yes else ac_cv_lib_c_r_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : gl_have_pthread=yes LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r fi fi fi if test -n "$gl_have_pthread"; then gl_threads_api=posix $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= fi fi fi fi fi if test -z "$gl_have_pthread"; then case "$gl_use_threads" in yes | windows | win32) # The 'win32' is for backward compatibility. if { case "$host_os" in mingw*) true;; *) false;; esac }; then gl_threads_api=windows $as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h fi ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 $as_echo_n "checking for multithread API to use... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 $as_echo "$gl_threads_api" >&6; } GNULIB__EXIT=0; GNULIB_ATOLL=0; GNULIB_CALLOC_POSIX=0; GNULIB_CANONICALIZE_FILE_NAME=0; GNULIB_GETLOADAVG=0; GNULIB_GETSUBOPT=0; GNULIB_GRANTPT=0; GNULIB_MALLOC_POSIX=0; GNULIB_MBTOWC=0; GNULIB_MKDTEMP=0; GNULIB_MKOSTEMP=0; GNULIB_MKOSTEMPS=0; GNULIB_MKSTEMP=0; GNULIB_MKSTEMPS=0; GNULIB_POSIX_OPENPT=0; GNULIB_PTSNAME=0; GNULIB_PTSNAME_R=0; GNULIB_PUTENV=0; GNULIB_QSORT_R=0; GNULIB_RANDOM=0; GNULIB_RANDOM_R=0; GNULIB_REALLOCARRAY=0; GNULIB_REALLOC_POSIX=0; GNULIB_REALPATH=0; GNULIB_RPMATCH=0; GNULIB_SECURE_GETENV=0; GNULIB_SETENV=0; GNULIB_STRTOD=0; GNULIB_STRTOLD=0; GNULIB_STRTOLL=0; GNULIB_STRTOULL=0; GNULIB_SYSTEM_POSIX=0; GNULIB_UNLOCKPT=0; GNULIB_UNSETENV=0; GNULIB_WCTOMB=0; HAVE__EXIT=1; HAVE_ATOLL=1; HAVE_CANONICALIZE_FILE_NAME=1; HAVE_DECL_GETLOADAVG=1; HAVE_GETSUBOPT=1; HAVE_GRANTPT=1; HAVE_INITSTATE=1; HAVE_DECL_INITSTATE=1; HAVE_MBTOWC=1; HAVE_MKDTEMP=1; HAVE_MKOSTEMP=1; HAVE_MKOSTEMPS=1; HAVE_MKSTEMP=1; HAVE_MKSTEMPS=1; HAVE_POSIX_OPENPT=1; HAVE_PTSNAME=1; HAVE_PTSNAME_R=1; HAVE_QSORT_R=1; HAVE_RANDOM=1; HAVE_RANDOM_H=1; HAVE_RANDOM_R=1; HAVE_REALLOCARRAY=1; HAVE_REALPATH=1; HAVE_RPMATCH=1; HAVE_SECURE_GETENV=1; HAVE_SETENV=1; HAVE_DECL_SETENV=1; HAVE_SETSTATE=1; HAVE_DECL_SETSTATE=1; HAVE_STRTOD=1; HAVE_STRTOLD=1; HAVE_STRTOLL=1; HAVE_STRTOULL=1; HAVE_STRUCT_RANDOM_DATA=1; HAVE_SYS_LOADAVG_H=0; HAVE_UNLOCKPT=1; HAVE_DECL_UNSETENV=1; REPLACE_CALLOC=0; REPLACE_CANONICALIZE_FILE_NAME=0; REPLACE_INITSTATE=0; REPLACE_MALLOC=0; REPLACE_MBTOWC=0; REPLACE_MKSTEMP=0; REPLACE_PTSNAME=0; REPLACE_PTSNAME_R=0; REPLACE_PUTENV=0; REPLACE_QSORT_R=0; REPLACE_RANDOM=0; REPLACE_RANDOM_R=0; REPLACE_REALLOC=0; REPLACE_REALPATH=0; REPLACE_SETENV=0; REPLACE_SETSTATE=0; REPLACE_STRTOD=0; REPLACE_STRTOLD=0; REPLACE_UNSETENV=0; REPLACE_WCTOMB=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } if ${gl_cv_func_malloc_posix+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #if defined _WIN32 && ! defined __CYGWIN__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_malloc_posix=yes else gl_cv_func_malloc_posix=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 $as_echo "$gl_cv_func_malloc_posix" >&6; } GNULIB_BTOWC=0; GNULIB_WCTOB=0; GNULIB_MBSINIT=0; GNULIB_MBRTOWC=0; GNULIB_MBRLEN=0; GNULIB_MBSRTOWCS=0; GNULIB_MBSNRTOWCS=0; GNULIB_WCRTOMB=0; GNULIB_WCSRTOMBS=0; GNULIB_WCSNRTOMBS=0; GNULIB_WCWIDTH=0; GNULIB_WMEMCHR=0; GNULIB_WMEMCMP=0; GNULIB_WMEMCPY=0; GNULIB_WMEMMOVE=0; GNULIB_WMEMSET=0; GNULIB_WCSLEN=0; GNULIB_WCSNLEN=0; GNULIB_WCSCPY=0; GNULIB_WCPCPY=0; GNULIB_WCSNCPY=0; GNULIB_WCPNCPY=0; GNULIB_WCSCAT=0; GNULIB_WCSNCAT=0; GNULIB_WCSCMP=0; GNULIB_WCSNCMP=0; GNULIB_WCSCASECMP=0; GNULIB_WCSNCASECMP=0; GNULIB_WCSCOLL=0; GNULIB_WCSXFRM=0; GNULIB_WCSDUP=0; GNULIB_WCSCHR=0; GNULIB_WCSRCHR=0; GNULIB_WCSCSPN=0; GNULIB_WCSSPN=0; GNULIB_WCSPBRK=0; GNULIB_WCSSTR=0; GNULIB_WCSTOK=0; GNULIB_WCSWIDTH=0; GNULIB_WCSFTIME=0; HAVE_BTOWC=1; HAVE_MBSINIT=1; HAVE_MBRTOWC=1; HAVE_MBRLEN=1; HAVE_MBSRTOWCS=1; HAVE_MBSNRTOWCS=1; HAVE_WCRTOMB=1; HAVE_WCSRTOMBS=1; HAVE_WCSNRTOMBS=1; HAVE_WMEMCHR=1; HAVE_WMEMCMP=1; HAVE_WMEMCPY=1; HAVE_WMEMMOVE=1; HAVE_WMEMSET=1; HAVE_WCSLEN=1; HAVE_WCSNLEN=1; HAVE_WCSCPY=1; HAVE_WCPCPY=1; HAVE_WCSNCPY=1; HAVE_WCPNCPY=1; HAVE_WCSCAT=1; HAVE_WCSNCAT=1; HAVE_WCSCMP=1; HAVE_WCSNCMP=1; HAVE_WCSCASECMP=1; HAVE_WCSNCASECMP=1; HAVE_WCSCOLL=1; HAVE_WCSXFRM=1; HAVE_WCSDUP=1; HAVE_WCSCHR=1; HAVE_WCSRCHR=1; HAVE_WCSCSPN=1; HAVE_WCSSPN=1; HAVE_WCSPBRK=1; HAVE_WCSSTR=1; HAVE_WCSTOK=1; HAVE_WCSWIDTH=1; HAVE_WCSFTIME=1; HAVE_DECL_WCTOB=1; HAVE_DECL_WCWIDTH=1; REPLACE_MBSTATE_T=0; REPLACE_BTOWC=0; REPLACE_WCTOB=0; REPLACE_MBSINIT=0; REPLACE_MBRTOWC=0; REPLACE_MBRLEN=0; REPLACE_MBSRTOWCS=0; REPLACE_MBSNRTOWCS=0; REPLACE_WCRTOMB=0; REPLACE_WCSRTOMBS=0; REPLACE_WCSNRTOMBS=0; REPLACE_WCWIDTH=0; REPLACE_WCSWIDTH=0; REPLACE_WCSFTIME=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 $as_echo_n "checking for mbstate_t... " >&6; } if ${ac_cv_type_mbstate_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { mbstate_t x; return sizeof x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_type_mbstate_t=yes else ac_cv_type_mbstate_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 $as_echo "$ac_cv_type_mbstate_t" >&6; } if test $ac_cv_type_mbstate_t = yes; then $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h else $as_echo "#define mbstate_t int" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 $as_echo_n "checking for a traditional japanese locale... " >&6; } if ${gt_cv_locale_ja+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales on Cygwin 1.5.x. */ if (MB_CUR_MAX == 1) return 1; /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Note that on native Windows, the Japanese locale is # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we # cannot use it here. gt_cv_locale_ja=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the AIX locale name. if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP else # Test for the locale name with explicit encoding suffix. if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else # Test for the HP-UX, OSF/1, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else # Test for the IRIX, FreeBSD locale name. if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else # Test for the Solaris 7 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else # Special test for NetBSD 1.6. if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then gt_cv_locale_ja=ja_JP.eucJP else # None found. gt_cv_locale_ja=none fi fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 $as_echo "$gt_cv_locale_ja" >&6; } LOCALE_JA=$gt_cv_locale_ja { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 $as_echo_n "checking for a transitional chinese locale... " >&6; } if ${gt_cv_locale_zh_CN+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } /* Check whether a typical GB18030 multibyte sequence is recognized as a single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=Chinese_China.54936 else # None found. gt_cv_locale_zh_CN=none fi ;; solaris2.8) # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. gt_cv_locale_zh_CN=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name without encoding suffix. if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN else # Test for the locale name with explicit encoding suffix. if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN.GB18030 else # None found. gt_cv_locale_zh_CN=none fi fi ;; esac else # If there was a link error, due to mblen(), the system is so old that # it certainly doesn't have a chinese locale. gt_cv_locale_zh_CN=none fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 $as_echo "$gt_cv_locale_zh_CN" >&6; } LOCALE_ZH_CN=$gt_cv_locale_zh_CN { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 $as_echo_n "checking for a french Unicode locale... " >&6; } if ${gt_cv_locale_fr_utf8+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 $as_echo "$gt_cv_locale_fr_utf8" >&6; } LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 GNULIB_EXPLICIT_BZERO=0; GNULIB_FFSL=0; GNULIB_FFSLL=0; GNULIB_MEMCHR=0; GNULIB_MEMMEM=0; GNULIB_MEMPCPY=0; GNULIB_MEMRCHR=0; GNULIB_RAWMEMCHR=0; GNULIB_STPCPY=0; GNULIB_STPNCPY=0; GNULIB_STRCHRNUL=0; GNULIB_STRDUP=0; GNULIB_STRNCAT=0; GNULIB_STRNDUP=0; GNULIB_STRNLEN=0; GNULIB_STRPBRK=0; GNULIB_STRSEP=0; GNULIB_STRSTR=0; GNULIB_STRCASESTR=0; GNULIB_STRTOK_R=0; GNULIB_MBSLEN=0; GNULIB_MBSNLEN=0; GNULIB_MBSCHR=0; GNULIB_MBSRCHR=0; GNULIB_MBSSTR=0; GNULIB_MBSCASECMP=0; GNULIB_MBSNCASECMP=0; GNULIB_MBSPCASECMP=0; GNULIB_MBSCASESTR=0; GNULIB_MBSCSPN=0; GNULIB_MBSPBRK=0; GNULIB_MBSSPN=0; GNULIB_MBSSEP=0; GNULIB_MBSTOK_R=0; GNULIB_STRERROR=0; GNULIB_STRERROR_R=0; GNULIB_STRSIGNAL=0; GNULIB_STRVERSCMP=0; HAVE_MBSLEN=0; HAVE_EXPLICIT_BZERO=1; HAVE_FFSL=1; HAVE_FFSLL=1; HAVE_MEMCHR=1; HAVE_DECL_MEMMEM=1; HAVE_MEMPCPY=1; HAVE_DECL_MEMRCHR=1; HAVE_RAWMEMCHR=1; HAVE_STPCPY=1; HAVE_STPNCPY=1; HAVE_STRCHRNUL=1; HAVE_DECL_STRDUP=1; HAVE_DECL_STRNDUP=1; HAVE_DECL_STRNLEN=1; HAVE_STRPBRK=1; HAVE_STRSEP=1; HAVE_STRCASESTR=1; HAVE_DECL_STRTOK_R=1; HAVE_DECL_STRERROR_R=1; HAVE_DECL_STRSIGNAL=1; HAVE_STRVERSCMP=1; REPLACE_MEMCHR=0; REPLACE_MEMMEM=0; REPLACE_STPNCPY=0; REPLACE_STRCHRNUL=0; REPLACE_STRDUP=0; REPLACE_STRNCAT=0; REPLACE_STRNDUP=0; REPLACE_STRNLEN=0; REPLACE_STRSTR=0; REPLACE_STRCASESTR=0; REPLACE_STRTOK_R=0; REPLACE_STRERROR=0; REPLACE_STRERROR_R=0; REPLACE_STRSIGNAL=0; UNDEFINE_STRTOK_R=0; # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes; then : gl_have_mmap=yes else gl_have_mmap=no fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 $as_echo "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi if test $HAVE_MEMCHR = 1; then # Detect platform-specific bugs in some versions of glibc: # memchr should not dereference anything with length 0 # https://bugzilla.redhat.com/show_bug.cgi?id=499689 # memchr should not dereference overestimated length after a match # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 # https://sourceware.org/bugzilla/show_bug.cgi?id=10162 # memchr should cast the second argument to 'unsigned char'. # This bug exists in Android 4.3. # Assume that memchr works on platforms that lack mprotect. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 $as_echo_n "checking whether memchr works... " >&6; } if ${gl_cv_func_memchr_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_memchr_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_memchr_works="guessing yes" ;; # Be pessimistic for now. *) gl_cv_func_memchr_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_SYS_MMAN_H # include # include # include # include # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif int main () { int result = 0; char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { int pagesize = getpagesize (); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) fence = two_pages + pagesize; } #endif if (fence) { if (memchr (fence, 0, 0)) result |= 1; strcpy (fence - 9, "12345678"); if (memchr (fence - 9, 0, 79) != fence - 1) result |= 2; if (memchr (fence - 1, 0, 3) != fence - 1) result |= 4; } /* Test against bug on Android 4.3. */ { char input[3]; input[0] = 'a'; input[1] = 'b'; input[2] = 'c'; if (memchr (input, 0x789abc00 | 'b', 3) != input + 1) result |= 8; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_memchr_works=yes else gl_cv_func_memchr_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 $as_echo "$gl_cv_func_memchr_works" >&6; } case "$gl_cv_func_memchr_works" in *yes) ;; *) REPLACE_MEMCHR=1 ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines MIN and MAX" >&5 $as_echo_n "checking whether defines MIN and MAX... " >&6; } if ${gl_cv_minmax_in_limits_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = MIN (42, 17); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_minmax_in_limits_h=yes else gl_cv_minmax_in_limits_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_limits_h" >&5 $as_echo "$gl_cv_minmax_in_limits_h" >&6; } if test $gl_cv_minmax_in_limits_h = yes; then $as_echo "#define HAVE_MINMAX_IN_LIMITS_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines MIN and MAX" >&5 $as_echo_n "checking whether defines MIN and MAX... " >&6; } if ${gl_cv_minmax_in_sys_param_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = MIN (42, 17); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_minmax_in_sys_param_h=yes else gl_cv_minmax_in_sys_param_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_sys_param_h" >&5 $as_echo "$gl_cv_minmax_in_sys_param_h" >&6; } if test $gl_cv_minmax_in_sys_param_h = yes; then $as_echo "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h fi gl_cv_c_multiarch=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : arch= prev= for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do if test -n "$prev"; then case $word in i?86 | x86_64 | ppc | ppc64) if test -z "$arch" || test "$arch" = "$word"; then arch="$word" else gl_cv_c_multiarch=yes fi ;; esac prev= else if test "x$word" = "x-arch"; then prev=arch fi fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $gl_cv_c_multiarch = yes; then APPLE_UNIVERSAL_BUILD=1 else APPLE_UNIVERSAL_BUILD=0 fi GNULIB_POLL=0; HAVE_POLL=1; REPLACE_POLL=0; if test $ac_cv_header_poll_h = yes; then HAVE_POLL_H=1 else HAVE_POLL_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_poll_h='<'poll.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_poll_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_poll_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'poll.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_poll_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_poll_h gl_cv_next_poll_h='"'$gl_header'"' else gl_cv_next_poll_h='<'poll.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_poll_h" >&5 $as_echo "$gl_cv_next_poll_h" >&6; } fi NEXT_POLL_H=$gl_cv_next_poll_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'poll.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_poll_h fi NEXT_AS_FIRST_DIRECTIVE_POLL_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi LIBSOCKET= if test $HAVE_WINSOCK2_H = 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 $as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; } if ${gl_cv_func_wsastartup+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef HAVE_WINSOCK2_H # include #endif int main () { WORD wVersionRequested = MAKEWORD(1, 1); WSADATA wsaData; int err = WSAStartup(wVersionRequested, &wsaData); WSACleanup (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_wsastartup=yes else gl_cv_func_wsastartup=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 $as_echo "$gl_cv_func_wsastartup" >&6; } if test "$gl_cv_func_wsastartup" = "yes"; then $as_echo "#define WINDOWS_SOCKETS 1" >>confdefs.h LIBSOCKET='-lws2_32' fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 $as_echo_n "checking for library containing setsockopt... " >&6; } if ${gl_cv_lib_socket+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_lib_socket= cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else gl_save_LIBS="$LIBS" LIBS="$gl_save_LIBS -lsocket" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_lib_socket="-lsocket" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnetwork" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_lib_socket="-lnetwork" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnet" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_lib_socket="-lnet" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi fi LIBS="$gl_save_LIBS" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then gl_cv_lib_socket="none needed" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 $as_echo "$gl_cv_lib_socket" >&6; } if test "$gl_cv_lib_socket" != "none needed"; then LIBSOCKET="$gl_cv_lib_socket" fi fi : GNULIB_PSELECT=0; GNULIB_SELECT=0; HAVE_PSELECT=1; REPLACE_PSELECT=0; REPLACE_SELECT=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 $as_echo_n "checking whether is self-contained... " >&6; } if ${gl_cv_header_sys_select_h_selfcontained+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { struct timeval b; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_sys_select_h_selfcontained=yes else gl_cv_header_sys_select_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $gl_cv_header_sys_select_h_selfcontained = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int memset; int bzero; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #undef memset #define memset nonexistent_memset extern #ifdef __cplusplus "C" #endif void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero extern #ifdef __cplusplus "C" #endif void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else gl_cv_header_sys_select_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5 $as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_select_h='<'sys/select.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_select_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_select_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/select.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_select_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_select_h gl_cv_next_sys_select_h='"'$gl_header'"' else gl_cv_next_sys_select_h='<'sys/select.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 $as_echo "$gl_cv_next_sys_select_h" >&6; } fi NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/select.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_select_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive if test $ac_cv_header_sys_select_h = yes; then HAVE_SYS_SELECT_H=1 else HAVE_SYS_SELECT_H=0 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi GNULIB_PTHREAD_SIGMASK=0; GNULIB_RAISE=0; GNULIB_SIGNAL_H_SIGPIPE=0; GNULIB_SIGPROCMASK=0; GNULIB_SIGACTION=0; HAVE_POSIX_SIGNALBLOCKING=1; HAVE_PTHREAD_SIGMASK=1; HAVE_RAISE=1; HAVE_SIGSET_T=1; HAVE_SIGINFO_T=1; HAVE_SIGACTION=1; HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; HAVE_SIGHANDLER_T=1; REPLACE_PTHREAD_SIGMASK=0; REPLACE_RAISE=0; ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" " #include /* Mingw defines sigset_t not in , but in . */ #include " if test "x$ac_cv_type_sigset_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SIGSET_T 1 _ACEOF gl_cv_type_sigset_t=yes else gl_cv_type_sigset_t=no fi if test $gl_cv_type_sigset_t != yes; then HAVE_SIGSET_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } if ${ac_cv_type_uid_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "uid_t" >/dev/null 2>&1; then : ac_cv_type_uid_t=yes else ac_cv_type_uid_t=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 $as_echo "$ac_cv_type_uid_t" >&6; } if test $ac_cv_type_uid_t = no; then $as_echo "#define uid_t int" >>confdefs.h $as_echo "#define gid_t int" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } if ${gl_cv_func_snprintf_retval_c99+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_retval_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_retval_c99="guessing no";; openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_retval_c99="guessing no";; netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on MSVC, no on mingw. mingw*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Known" >/dev/null 2>&1; then : gl_cv_func_snprintf_retval_c99="guessing yes" else gl_cv_func_snprintf_retval_c99="guessing no" fi rm -f conftest* ;; # If we don't know, assume the worst. *) gl_cv_func_snprintf_retval_c99="guessing no";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_snprintf_retval_c99=yes else gl_cv_func_snprintf_retval_c99=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 $as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" if test "x$ac_cv_have_decl_snprintf" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SNPRINTF $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } if ${ac_cv_header_stdbool_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __cplusplus typedef bool Bool; #else typedef _Bool Bool; #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif struct s { Bool s: 1; Bool t; bool u: 1; bool v; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; char d[(bool) 0.5 == true ? 1 : -1]; /* See body of main program for 'e'. */ char f[(Bool) 0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (Bool)]; char i[sizeof s.t]; enum { j = false, k = true, l = false * true, m = true * 256 }; /* The following fails for HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ Bool q = true; Bool *pq = &q; bool *qq = &q; int main () { bool e = &s; *pq |= q; *pq |= ! q; *qq |= q; *qq |= ! q; /* Refer to every declared value, to avoid compiler optimizations. */ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + !m + !n + !o + !p + !q + !pq + !qq); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdbool_h=yes else ac_cv_header_stdbool_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 _ACEOF fi REPLACE_NULL=0; HAVE_MAX_ALIGN_T=1; HAVE_WCHAR_T=1; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 $as_echo_n "checking for wchar_t... " >&6; } if ${gt_cv_c_wchar_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include wchar_t foo = (wchar_t)'\0'; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_wchar_t=yes else gt_cv_c_wchar_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 $as_echo "$gt_cv_c_wchar_t" >&6; } if test $gt_cv_c_wchar_t = yes; then $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 $as_echo_n "checking for wint_t... " >&6; } if ${gt_cv_c_wint_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include wint_t foo = (wchar_t)'\0'; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_wint_t=yes else gt_cv_c_wint_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 $as_echo "$gt_cv_c_wint_t" >&6; } if test $gt_cv_c_wint_t = yes; then $as_echo "#define HAVE_WINT_T 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wint_t is too small" >&5 $as_echo_n "checking whether wint_t is too small... " >&6; } if ${gl_cv_type_wint_t_too_small+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include #endif #include int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_wint_t_too_small=no else gl_cv_type_wint_t_too_small=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wint_t_too_small" >&5 $as_echo "$gl_cv_type_wint_t_too_small" >&6; } if test $gl_cv_type_wint_t_too_small = yes; then GNULIB_OVERRIDES_WINT_T=1 else GNULIB_OVERRIDES_WINT_T=0 fi else GNULIB_OVERRIDES_WINT_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 $as_echo_n "checking for unsigned long long int... " >&6; } if ${ac_cv_type_unsigned_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_type_unsigned_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many implementations with broken preprocessors. Perhaps this can be revisited in 2012. In the meantime, code should not expect #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63; int main () { /* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | (llmax / ll) | (llmax % ll) | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | (ullmax / ull) | (ullmax % ull)); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else ac_cv_type_unsigned_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } if test $ac_cv_type_unsigned_long_long_int = yes; then $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 $as_echo_n "checking for long long int... " >&6; } if ${ac_cv_type_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int if test $ac_cv_type_long_long_int = yes; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef LLONG_MAX # define HALF \ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) # define LLONG_MAX (HALF - 1 + HALF) #endif int main () { long long int n = 1; int i; for (i = 0; ; i++) { long long int m = n << i; if (m >> i != n) return 1; if (LLONG_MAX / 2 < m) break; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_type_long_long_int=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 $as_echo "$ac_cv_type_long_long_int" >&6; } if test $ac_cv_type_long_long_int = yes; then $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h fi if test $ac_cv_type_long_long_int = yes; then HAVE_LONG_LONG_INT=1 else HAVE_LONG_LONG_INT=0 fi if test $ac_cv_type_unsigned_long_long_int = yes; then HAVE_UNSIGNED_LONG_LONG_INT=1 else HAVE_UNSIGNED_LONG_LONG_INT=0 fi if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi if test $ac_cv_header_inttypes_h = yes; then HAVE_INTTYPES_H=1 else HAVE_INTTYPES_H=0 fi if test $ac_cv_header_sys_types_h = yes; then HAVE_SYS_TYPES_H=1 else HAVE_SYS_TYPES_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_stdint_h='<'stdint.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stdint_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_stdint_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdint.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdint_h gl_cv_next_stdint_h='"'$gl_header'"' else gl_cv_next_stdint_h='<'stdint.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 $as_echo "$gl_cv_next_stdint_h" >&6; } fi NEXT_STDINT_H=$gl_cv_next_stdint_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdint.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdint_h fi NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive if test $ac_cv_header_stdint_h = yes; then HAVE_STDINT_H=1 else HAVE_STDINT_H=0 fi if test $ac_cv_header_stdint_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; } if ${gl_cv_header_working_stdint_h+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_working_stdint_h=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ #if !(defined WCHAR_MIN && defined WCHAR_MAX) #error "WCHAR_MIN, WCHAR_MAX not defined in " #endif /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #ifdef INT8_MAX int8_t a1 = INT8_MAX; int8_t a1min = INT8_MIN; #endif #ifdef INT16_MAX int16_t a2 = INT16_MAX; int16_t a2min = INT16_MIN; #endif #ifdef INT32_MAX int32_t a3 = INT32_MAX; int32_t a3min = INT32_MIN; #endif #ifdef INT64_MAX int64_t a4 = INT64_MAX; int64_t a4min = INT64_MIN; #endif #ifdef UINT8_MAX uint8_t b1 = UINT8_MAX; #else typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; #endif #ifdef UINT16_MAX uint16_t b2 = UINT16_MAX; #endif #ifdef UINT32_MAX uint32_t b3 = UINT32_MAX; #endif #ifdef UINT64_MAX uint64_t b4 = UINT64_MAX; #endif int_least8_t c1 = INT8_C (0x7f); int_least8_t c1max = INT_LEAST8_MAX; int_least8_t c1min = INT_LEAST8_MIN; int_least16_t c2 = INT16_C (0x7fff); int_least16_t c2max = INT_LEAST16_MAX; int_least16_t c2min = INT_LEAST16_MIN; int_least32_t c3 = INT32_C (0x7fffffff); int_least32_t c3max = INT_LEAST32_MAX; int_least32_t c3min = INT_LEAST32_MIN; int_least64_t c4 = INT64_C (0x7fffffffffffffff); int_least64_t c4max = INT_LEAST64_MAX; int_least64_t c4min = INT_LEAST64_MIN; uint_least8_t d1 = UINT8_C (0xff); uint_least8_t d1max = UINT_LEAST8_MAX; uint_least16_t d2 = UINT16_C (0xffff); uint_least16_t d2max = UINT_LEAST16_MAX; uint_least32_t d3 = UINT32_C (0xffffffff); uint_least32_t d3max = UINT_LEAST32_MAX; uint_least64_t d4 = UINT64_C (0xffffffffffffffff); uint_least64_t d4max = UINT_LEAST64_MAX; int_fast8_t e1 = INT_FAST8_MAX; int_fast8_t e1min = INT_FAST8_MIN; int_fast16_t e2 = INT_FAST16_MAX; int_fast16_t e2min = INT_FAST16_MIN; int_fast32_t e3 = INT_FAST32_MAX; int_fast32_t e3min = INT_FAST32_MIN; int_fast64_t e4 = INT_FAST64_MAX; int_fast64_t e4min = INT_FAST64_MIN; uint_fast8_t f1 = UINT_FAST8_MAX; uint_fast16_t f2 = UINT_FAST16_MAX; uint_fast32_t f3 = UINT_FAST32_MAX; uint_fast64_t f4 = UINT_FAST64_MAX; #ifdef INTPTR_MAX intptr_t g = INTPTR_MAX; intptr_t gmin = INTPTR_MIN; #endif #ifdef UINTPTR_MAX uintptr_t h = UINTPTR_MAX; #endif intmax_t i = INTMAX_MAX; uintmax_t j = UINTMAX_MAX; /* Check that SIZE_MAX has the correct type, if possible. */ #if 201112 <= __STDC_VERSION__ int k = _Generic (SIZE_MAX, size_t: 0); #elif (2 <= __GNUC__ || defined __IBM__TYPEOF__ \ || (0x5110 <= __SUNPRO_C && !__STDC__)) extern size_t k; extern __typeof__ (SIZE_MAX) k; #endif #include /* for CHAR_BIT */ #define TYPE_MINIMUM(t) \ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) #define TYPE_MAXIMUM(t) \ ((t) ((t) 0 < (t) -1 \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) struct s { int check_PTRDIFF: PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ? 1 : -1; /* Detect bug in FreeBSD 6.0 / ia64. */ int check_SIG_ATOMIC: SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ? 1 : -1; int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; int check_WCHAR: WCHAR_MIN == TYPE_MINIMUM (wchar_t) && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ? 1 : -1; /* Detect bug in mingw. */ int check_WINT: WINT_MIN == TYPE_MINIMUM (wint_t) && WINT_MAX == TYPE_MAXIMUM (wint_t) ? 1 : -1; /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ int check_UINT8_C: (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; int check_UINT16_C: (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; /* Detect bugs in OpenBSD 3.9 stdint.h. */ #ifdef UINT8_MAX int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; #endif #ifdef UINT16_MAX int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; #endif #ifdef UINT32_MAX int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; #endif #ifdef UINT64_MAX int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; #endif int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; }; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on native Windows. mingw*) gl_cv_header_working_stdint_h="guessing yes" ;; # In general, assume it works. *) gl_cv_header_working_stdint_h="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #include #include #define MVAL(macro) MVAL1(macro) #define MVAL1(expression) #expression static const char *macro_values[] = { #ifdef INT8_MAX MVAL (INT8_MAX), #endif #ifdef INT16_MAX MVAL (INT16_MAX), #endif #ifdef INT32_MAX MVAL (INT32_MAX), #endif #ifdef INT64_MAX MVAL (INT64_MAX), #endif #ifdef UINT8_MAX MVAL (UINT8_MAX), #endif #ifdef UINT16_MAX MVAL (UINT16_MAX), #endif #ifdef UINT32_MAX MVAL (UINT32_MAX), #endif #ifdef UINT64_MAX MVAL (UINT64_MAX), #endif NULL }; int main () { const char **mv; for (mv = macro_values; *mv != NULL; mv++) { const char *value = *mv; /* Test whether it looks like a cast expression. */ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 || strncmp (value, "((int)"/*)*/, 6) == 0 || strncmp (value, "((signed short)"/*)*/, 15) == 0 || strncmp (value, "((signed char)"/*)*/, 14) == 0) return mv - macro_values + 1; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_header_working_stdint_h=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 $as_echo "$gl_cv_header_working_stdint_h" >&6; } fi HAVE_C99_STDINT_H=0 HAVE_SYS_BITYPES_H=0 HAVE_SYS_INTTYPES_H=0 STDINT_H=stdint.h case "$gl_cv_header_working_stdint_h" in *yes) HAVE_C99_STDINT_H=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5 $as_echo_n "checking whether stdint.h predates C++11... " >&6; } if ${gl_cv_header_stdint_predates_cxx11_h+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_stdint_predates_cxx11_h=yes cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #include /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif intmax_t im = INTMAX_MAX; int32_t i32 = INT32_C (0x7fffffff); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_stdint_predates_cxx11_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_predates_cxx11_h" >&5 $as_echo "$gl_cv_header_stdint_predates_cxx11_h" >&6; } if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then $as_echo "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h $as_echo "#define __STDC_LIMIT_MACROS 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5 $as_echo_n "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; } if ${gl_cv_header_stdint_width+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_stdint_width=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif int iw = UINTMAX_WIDTH; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_stdint_width=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_width" >&5 $as_echo "$gl_cv_header_stdint_width" >&6; } if test "$gl_cv_header_stdint_width" = yes; then STDINT_H= fi ;; *) for ac_header in sys/inttypes.h sys/bitypes.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_sys_inttypes_h = yes; then HAVE_SYS_INTTYPES_H=1 fi if test $ac_cv_header_sys_bitypes_h = yes; then HAVE_SYS_BITYPES_H=1 fi if test $APPLE_UNIVERSAL_BUILD = 0; then for gltype in ptrdiff_t size_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 $as_echo_n "checking for bit size of $gltype... " >&6; } if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #include "; then : else result=unknown fi eval gl_cv_bitsizeof_${gltype}=\$result fi eval ac_res=\$gl_cv_bitsizeof_${gltype} { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` cat >>confdefs.h <<_ACEOF #define BITSIZEOF_${GLTYPE} $result _ACEOF eval BITSIZEOF_${GLTYPE}=\$result done fi for gltype in sig_atomic_t wchar_t wint_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 $as_echo_n "checking for bit size of $gltype... " >&6; } if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #include "; then : else result=unknown fi eval gl_cv_bitsizeof_${gltype}=\$result fi eval ac_res=\$gl_cv_bitsizeof_${gltype} { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` cat >>confdefs.h <<_ACEOF #define BITSIZEOF_${GLTYPE} $result _ACEOF eval BITSIZEOF_${GLTYPE}=\$result done for gltype in sig_atomic_t wchar_t wint_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 $as_echo_n "checking whether $gltype is signed... " >&6; } if eval \${gl_cv_type_${gltype}_signed+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : result=yes else result=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext eval gl_cv_type_${gltype}_signed=\$result fi eval ac_res=\$gl_cv_type_${gltype}_signed { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval result=\$gl_cv_type_${gltype}_signed GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` if test "$result" = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_SIGNED_${GLTYPE} 1 _ACEOF eval HAVE_SIGNED_${GLTYPE}=1 else eval HAVE_SIGNED_${GLTYPE}=0 fi done gl_cv_type_ptrdiff_t_signed=yes gl_cv_type_size_t_signed=no if test $APPLE_UNIVERSAL_BUILD = 0; then for gltype in ptrdiff_t size_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } if eval \${gl_cv_type_${gltype}_suffix+:} false; then : $as_echo_n "(cached) " >&6 else eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif extern $gltype foo; extern $gltype1 foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done fi eval ac_res=\$gl_cv_type_${gltype}_suffix { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result cat >>confdefs.h <<_ACEOF #define ${GLTYPE}_SUFFIX $result _ACEOF done fi for gltype in sig_atomic_t wchar_t wint_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } if eval \${gl_cv_type_${gltype}_suffix+:} false; then : $as_echo_n "(cached) " >&6 else eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif extern $gltype foo; extern $gltype1 foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done fi eval ac_res=\$gl_cv_type_${gltype}_suffix { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result cat >>confdefs.h <<_ACEOF #define ${GLTYPE}_SUFFIX $result _ACEOF done if test $GNULIB_OVERRIDES_WINT_T = 1; then BITSIZEOF_WINT_T=32 fi ;; esac LIMITS_H='limits.h' if test -n "$LIMITS_H"; then GL_GENERATE_LIMITS_H_TRUE= GL_GENERATE_LIMITS_H_FALSE='#' else GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE= fi if test -n "$STDINT_H"; then GL_GENERATE_STDINT_H_TRUE= GL_GENERATE_STDINT_H_FALSE='#' else GL_GENERATE_STDINT_H_TRUE='#' GL_GENERATE_STDINT_H_FALSE= fi ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" if test "x$ac_cv_have_decl_strdup" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRDUP $ac_have_decl _ACEOF REPLACE_STRERROR_0=0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 $as_echo_n "checking whether strerror(0) succeeds... " >&6; } if ${gl_cv_func_strerror_0_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_strerror_0_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_strerror_0_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { int result = 0; char *str; errno = 0; str = strerror (0); if (!*str) result |= 1; if (errno) result |= 2; if (strstr (str, "nknown") || strstr (str, "ndefined")) result |= 4; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_strerror_0_works=yes else gl_cv_func_strerror_0_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 $as_echo "$gl_cv_func_strerror_0_works" >&6; } case "$gl_cv_func_strerror_0_works" in *yes) ;; *) REPLACE_STRERROR_0=1 $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h ;; esac if test $gl_cv_have_include_next = yes; then gl_cv_next_string_h='<'string.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_string_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'string.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_string_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_string_h gl_cv_next_string_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 $as_echo "$gl_cv_next_string_h" >&6; } fi NEXT_STRING_H=$gl_cv_next_string_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'string.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_string_h fi NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive ac_fn_c_check_decl "$LINENO" "strtok_r" "ac_cv_have_decl_strtok_r" "$ac_includes_default" if test "x$ac_cv_have_decl_strtok_r" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRTOK_R $ac_have_decl _ACEOF GNULIB_GETTIMEOFDAY=0; HAVE_GETTIMEOFDAY=1; HAVE_STRUCT_TIMEVAL=1; HAVE_SYS_TIME_H=1; REPLACE_GETTIMEOFDAY=0; REPLACE_STRUCT_TIMEVAL=0; if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_time_h='<'sys/time.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_time_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_time_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/time.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_time_h gl_cv_next_sys_time_h='"'$gl_header'"' else gl_cv_next_sys_time_h='<'sys/time.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5 $as_echo "$gl_cv_next_sys_time_h" >&6; } fi NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/time.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_time_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive if test $ac_cv_header_sys_time_h != yes; then HAVE_SYS_TIME_H=0 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 $as_echo_n "checking for struct timeval... " >&6; } if ${gl_cv_sys_struct_timeval+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif int main () { static struct timeval x; x.tv_sec = x.tv_usec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timeval=yes else gl_cv_sys_struct_timeval=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5 $as_echo "$gl_cv_sys_struct_timeval" >&6; } if test $gl_cv_sys_struct_timeval != yes; then HAVE_STRUCT_TIMEVAL=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wide-enough struct timeval.tv_sec member" >&5 $as_echo_n "checking for wide-enough struct timeval.tv_sec member... " >&6; } if ${gl_cv_sys_struct_timeval_tv_sec+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif int main () { static struct timeval x; typedef int verify_tv_sec_type[ sizeof (time_t) <= sizeof x.tv_sec ? 1 : -1 ]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timeval_tv_sec=yes else gl_cv_sys_struct_timeval_tv_sec=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval_tv_sec" >&5 $as_echo "$gl_cv_sys_struct_timeval_tv_sec" >&6; } if test $gl_cv_sys_struct_timeval_tv_sec != yes; then REPLACE_STRUCT_TIMEVAL=1 fi fi GNULIB_CTIME=0; GNULIB_MKTIME=0; GNULIB_LOCALTIME=0; GNULIB_NANOSLEEP=0; GNULIB_STRFTIME=0; GNULIB_STRPTIME=0; GNULIB_TIMEGM=0; GNULIB_TIME_R=0; GNULIB_TIME_RZ=0; GNULIB_TZSET=0; HAVE_DECL_LOCALTIME_R=1; HAVE_NANOSLEEP=1; HAVE_STRPTIME=1; HAVE_TIMEGM=1; HAVE_TZSET=1; HAVE_TIMEZONE_T=0; REPLACE_CTIME=GNULIB_PORTCHECK; REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; REPLACE_MKTIME=GNULIB_PORTCHECK; REPLACE_NANOSLEEP=GNULIB_PORTCHECK; REPLACE_STRFTIME=GNULIB_PORTCHECK; REPLACE_TIMEGM=GNULIB_PORTCHECK; REPLACE_TZSET=GNULIB_PORTCHECK; : ${GNULIB_GETTIMEOFDAY=0}; REPLACE_GMTIME=0; REPLACE_LOCALTIME=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_time_h=yes else gl_cv_sys_struct_timespec_in_time_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } TIME_H_DEFINES_STRUCT_TIMESPEC=0 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then TIME_H_DEFINES_STRUCT_TIMESPEC=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_sys_time_h=yes else gl_cv_sys_struct_timespec_in_sys_time_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_pthread_h=yes else gl_cv_sys_struct_timespec_in_pthread_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_unistd_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_unistd_h=yes else gl_cv_sys_struct_timespec_in_unistd_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_unistd_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; } if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 fi fi fi fi if test $gl_cv_have_include_next = yes; then gl_cv_next_time_h='<'time.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_time_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'time.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_time_h gl_cv_next_time_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 $as_echo "$gl_cv_next_time_h" >&6; } fi NEXT_TIME_H=$gl_cv_next_time_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'time.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_time_h fi NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' if test "$HAVE_LIBUNISTRING" = yes; then LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"` LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"` LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"` fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 $as_echo_n "checking for inttypes.h... " >&6; } if ${gl_cv_header_inttypes_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_inttypes_h=yes else gl_cv_header_inttypes_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 $as_echo "$gl_cv_header_inttypes_h" >&6; } if test $gl_cv_header_inttypes_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H_WITH_UINTMAX 1 _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 $as_echo_n "checking for stdint.h... " >&6; } if ${gl_cv_header_stdint_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_stdint_h=yes else gl_cv_header_stdint_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 $as_echo "$gl_cv_header_stdint_h" >&6; } if test $gl_cv_header_stdint_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H_WITH_UINTMAX 1 _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 $as_echo_n "checking for intmax_t... " >&6; } if ${gt_cv_c_intmax_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif int main () { intmax_t x = -1; return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_intmax_t=yes else gt_cv_c_intmax_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 $as_echo "$gt_cv_c_intmax_t" >&6; } if test $gt_cv_c_intmax_t = yes; then $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h else test $ac_cv_type_long_long_int = yes \ && ac_type='long long' \ || ac_type='long' cat >>confdefs.h <<_ACEOF #define intmax_t $ac_type _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 $as_echo_n "checking where to find the exponent in a 'double'... " >&6; } if ${gl_cv_cc_double_expbit0+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined arm || defined __arm || defined __arm__ mixed_endianness #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "mixed_endianness" >/dev/null 2>&1; then : gl_cv_cc_double_expbit0="unknown" else : if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi : case $ac_cv_c_bigendian in #( yes) gl_cv_cc_double_expbit0="word 0 bit 20";; #( no) gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( universal) $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) gl_cv_cc_double_expbit0="unknown" ;; esac fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { double value; unsigned int word[NWORDS]; } memory_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (double x) { memory_double m; size_t i; /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ memset (&m, 0, sizeof (memory_double)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25); add_to_ored_words (0.5); add_to_ored_words (1.0); add_to_ored_words (2.0); add_to_ored_words (4.0); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_cc_double_expbit0=`cat conftest.out` else gl_cv_cc_double_expbit0="unknown" fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 $as_echo "$gl_cv_cc_double_expbit0" >&6; } case "$gl_cv_cc_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` cat >>confdefs.h <<_ACEOF #define DBL_EXPBIT0_WORD $word _ACEOF cat >>confdefs.h <<_ACEOF #define DBL_EXPBIT0_BIT $bit _ACEOF ;; esac for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include " if test "x$ac_cv_have_decl__snprintf" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__SNPRINTF $ac_have_decl _ACEOF case "$gl_cv_func_snprintf_retval_c99" in *yes) $as_echo "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 $as_echo_n "checking whether uses 'inline' correctly... " >&6; } if ${gl_cv_header_wchar_h_correct_inline+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_wchar_h_correct_inline=yes cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include extern int zero (void); int main () { return zero(); } _ACEOF save_ac_compile="$ac_compile" ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest1/` if echo '#include "conftest.c"' >conftest1.c && { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int zero (void) { return 0; } _ACEOF ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest2/` if echo '#include "conftest.c"' >conftest2.c && { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then : else gl_cv_header_wchar_h_correct_inline=no fi fi fi ac_compile="$save_ac_compile" rm -f conftest12.c conftest12.$ac_objext conftest$ac_exeext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } if test $gl_cv_header_wchar_h_correct_inline = no; then as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: - Add the flag -fgnu89-inline to CC and reconfigure, or - Fix your include files, using parts of , or - Use a gcc version older than 4.3, or - Don't use the flags -std=c99 or -std=gnu99. Configuration aborted." "$LINENO" 5 fi if test $ac_cv_header_crtdefs_h = yes; then HAVE_CRTDEFS_H=1 else HAVE_CRTDEFS_H=0 fi GNULIB_ISWBLANK=0; GNULIB_WCTYPE=0; GNULIB_ISWCTYPE=0; GNULIB_WCTRANS=0; GNULIB_TOWCTRANS=0; HAVE_ISWBLANK=1; HAVE_WCTYPE_T=1; HAVE_WCTRANS_T=1; REPLACE_ISWBLANK=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 $as_echo_n "checking for a traditional french locale... " >&6; } if ${gt_cv_locale_fr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 7 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 $as_echo "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr GNULIB_ISBLANK=0; HAVE_ISBLANK=1; { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 $as_echo_n "checking if environ is properly declared... " >&6; } if ${gt_cv_var_environ_declaration+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if HAVE_UNISTD_H #include #endif /* mingw, BeOS, Haiku declare environ in , not in . */ #include extern struct { int foo; } environ; int main () { environ.foo = 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_var_environ_declaration=no else gt_cv_var_environ_declaration=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5 $as_echo "$gt_cv_var_environ_declaration" >&6; } if test $gt_cv_var_environ_declaration = yes; then $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h fi if test $gt_cv_var_environ_declaration != yes; then HAVE_DECL_ENVIRON=0 fi GNULIB_FCNTL=0; GNULIB_NONBLOCKING=0; GNULIB_OPEN=0; GNULIB_OPENAT=0; HAVE_FCNTL=1; HAVE_OPENAT=1; REPLACE_FCNTL=0; REPLACE_OPEN=0; REPLACE_OPENAT=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 $as_echo_n "checking for working fcntl.h... " >&6; } if ${gl_cv_header_working_fcntl_h+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess 'no' on native Windows. mingw*) gl_cv_header_working_fcntl_h='no' ;; *) gl_cv_header_working_fcntl_h=cross-compiling ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include # include # defined sleep(n) _sleep ((n) * 1000) #endif #include #ifndef O_NOATIME #define O_NOATIME 0 #endif #ifndef O_NOFOLLOW #define O_NOFOLLOW 0 #endif static int const constants[] = { O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY }; int main () { int result = !constants; #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink ("/dev/null", sym) != 0) result |= 2; else { int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); if (fd >= 0) { close (fd); result |= 4; } } if (unlink (sym) != 0 || symlink (".", sym) != 0) result |= 2; else { int fd = open (sym, O_RDONLY | O_NOFOLLOW); if (fd >= 0) { close (fd); result |= 4; } } unlink (sym); } #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); if (fd < 0) result |= 8; else { struct stat st0; if (fstat (fd, &st0) != 0) result |= 16; else { char c; sleep (1); if (read (fd, &c, 1) != 1) result |= 24; else { if (close (fd) != 0) result |= 32; else { struct stat st1; if (stat (file, &st1) != 0) result |= 40; else if (st0.st_atime != st1.st_atime) result |= 64; } } } } } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_header_working_fcntl_h=yes else case $? in #( 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( *) gl_cv_header_working_fcntl_h='no';; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 $as_echo "$gl_cv_header_working_fcntl_h" >&6; } case $gl_cv_header_working_fcntl_h in #( *O_NOATIME* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac cat >>confdefs.h <<_ACEOF #define HAVE_WORKING_O_NOATIME $ac_val _ACEOF case $gl_cv_header_working_fcntl_h in #( *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac cat >>confdefs.h <<_ACEOF #define HAVE_WORKING_O_NOFOLLOW $ac_val _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 $as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } if ${gl_cv_func_ungetc_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on bionic systems. *-android*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_ungetc_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_ungetc_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f; if (!(f = fopen ("conftest.tmp", "w+"))) return 1; if (fputs ("abc", f) < 0) { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != 'b') { fclose (f); return 4; } if (ungetc ('d', f) != 'd') { fclose (f); return 5; } if (ftell (f) != 1) { fclose (f); return 6; } if (fgetc (f) != 'd') { fclose (f); return 7; } if (ftell (f) != 2) { fclose (f); return 8; } if (fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 9; } if (ftell (f) != 2) { fclose (f); return 10; } if (fgetc (f) != 'c') { fclose (f); return 11; } fclose (f); remove ("conftest.tmp"); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_ungetc_works=yes else gl_cv_func_ungetc_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5 $as_echo "$gl_cv_func_ungetc_works" >&6; } case "$gl_cv_func_ungetc_works" in *yes) ;; *) $as_echo "#define FUNC_UNGETC_BROKEN 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5 $as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; } if ${gl_cv_func_getcwd_null+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on Cygwin. cygwin*) gl_cv_func_getcwd_null="guessing yes";; # If we don't know, assume the worst. *) gl_cv_func_getcwd_null="guessing no";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # include # if HAVE_UNISTD_H # include # else /* on Windows with MSVC */ # include # endif # ifndef getcwd char *getcwd (); # endif int main () { #if defined _WIN32 && ! defined __CYGWIN__ /* mingw cwd does not start with '/', but getcwd does allocate. However, mingw fails to honor non-zero size. */ #else if (chdir ("/") != 0) return 1; else { char *f = getcwd (NULL, 0); if (! f) return 2; if (f[0] != '/') { free (f); return 3; } if (f[1] != '\0') { free (f); return 4; } free (f); return 0; } #endif ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getcwd_null=yes else gl_cv_func_getcwd_null=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5 $as_echo "$gl_cv_func_getcwd_null" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5 $as_echo_n "checking for getcwd with POSIX signature... " >&6; } if ${gl_cv_func_getcwd_posix_signature+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { extern #ifdef __cplusplus "C" #endif char *getcwd (char *, size_t); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_getcwd_posix_signature=yes else gl_cv_func_getcwd_posix_signature=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5 $as_echo "$gl_cv_func_getcwd_posix_signature" >&6; } ac_fn_c_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default" if test "x$ac_cv_have_decl_getdtablesize" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETDTABLESIZE $ac_have_decl _ACEOF GNULIB_IMAXABS=0; GNULIB_IMAXDIV=0; GNULIB_STRTOIMAX=0; GNULIB_STRTOUMAX=0; HAVE_DECL_IMAXABS=1; HAVE_DECL_IMAXDIV=1; HAVE_DECL_STRTOIMAX=1; HAVE_DECL_STRTOUMAX=1; HAVE_IMAXDIV_T=1; REPLACE_STRTOIMAX=0; REPLACE_STRTOUMAX=0; INT32_MAX_LT_INTMAX_MAX=1; INT64_MAX_EQ_LONG_MAX='defined _LP64'; PRI_MACROS_BROKEN=0; PRIPTR_PREFIX=__PRIPTR_PREFIX; UINT32_MAX_LT_UINTMAX_MAX=1; UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; if test $gl_cv_have_include_next = yes; then gl_cv_next_inttypes_h='<'inttypes.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_inttypes_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_inttypes_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'inttypes.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_inttypes_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_inttypes_h gl_cv_next_inttypes_h='"'$gl_header'"' else gl_cv_next_inttypes_h='<'inttypes.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 $as_echo "$gl_cv_next_inttypes_h" >&6; } fi NEXT_INTTYPES_H=$gl_cv_next_inttypes_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'inttypes.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_inttypes_h fi NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive for ac_header in inttypes.h do : ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" if test "x$ac_cv_header_inttypes_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H 1 _ACEOF fi done if test $ac_cv_header_inttypes_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; } if ${gt_cv_inttypes_pri_broken+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef PRId32 char *p = PRId32; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_inttypes_pri_broken=no else gt_cv_inttypes_pri_broken=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5 $as_echo "$gt_cv_inttypes_pri_broken" >&6; } fi if test "$gt_cv_inttypes_pri_broken" = yes; then cat >>confdefs.h <<_ACEOF #define PRI_MACROS_BROKEN 1 _ACEOF PRI_MACROS_BROKEN=1 else PRI_MACROS_BROKEN=0 fi GNULIB_NL_LANGINFO=0; HAVE_NL_LANGINFO=1; REPLACE_NL_LANGINFO=0; GNULIB_LOCALECONV=0; GNULIB_SETLOCALE=0; GNULIB_DUPLOCALE=0; GNULIB_LOCALENAME=0; HAVE_NEWLOCALE=1; HAVE_DUPLOCALE=1; HAVE_FREELOCALE=1; REPLACE_LOCALECONV=0; REPLACE_SETLOCALE=0; REPLACE_NEWLOCALE=0; REPLACE_DUPLOCALE=0; REPLACE_FREELOCALE=0; REPLACE_STRUCT_LCONV=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if ${gt_cv_val_LC_MESSAGES+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_val_LC_MESSAGES=yes else gt_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 $as_echo "$gt_cv_val_LC_MESSAGES" >&6; } if test $gt_cv_val_LC_MESSAGES = yes; then $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi if test $ac_cv_func_uselocale = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uselocale works" >&5 $as_echo_n "checking whether uselocale works... " >&6; } if ${gt_cv_func_uselocale_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : # Guess no on AIX, yes otherwise. case "$host_os" in aix*) gt_cv_func_uselocale_works="guessing no" ;; *) gt_cv_func_uselocale_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_XLOCALE_H # include #endif int main () { uselocale (NULL); setlocale (LC_ALL, "en_US.UTF-8"); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gt_cv_func_uselocale_works=yes else gt_cv_func_uselocale_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_uselocale_works" >&5 $as_echo "$gt_cv_func_uselocale_works" >&6; } else gt_cv_func_uselocale_works=no fi case "$gt_cv_func_uselocale_works" in *yes) $as_echo "#define HAVE_WORKING_USELOCALE 1" >>confdefs.h ;; esac case "$gt_cv_func_uselocale_works" in *yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fake locale system (OpenBSD)" >&5 $as_echo_n "checking for fake locale system (OpenBSD)... " >&6; } if ${gt_cv_locale_fake+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in openbsd*) gt_cv_locale_fake="guessing yes" ;; *) gt_cv_locale_fake="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_XLOCALE_H # include #endif int main () { locale_t loc1, loc2; if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL) return 1; if (setlocale (LC_ALL, "fr_FR.UTF-8") == NULL) return 1; loc1 = newlocale (LC_ALL_MASK, "de_DE.UTF-8", (locale_t)0); loc2 = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", (locale_t)0); return !(loc1 == loc2); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gt_cv_locale_fake=yes else gt_cv_locale_fake=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fake" >&5 $as_echo "$gt_cv_locale_fake" >&6; } ;; *) gt_cv_locale_fake=no ;; esac case "$gt_cv_locale_fake" in *yes) $as_echo "#define HAVE_FAKE_LOCALES 1" >>confdefs.h ;; esac case "$gt_cv_func_uselocale_works" in *yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris 11.4 locale system" >&5 $as_echo_n "checking for Solaris 11.4 locale system... " >&6; } if ${gt_cv_locale_solaris114+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in solaris*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct _LC_locale_t *x; locale_t y; int main () { *y = x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_locale_solaris114=yes else gt_cv_locale_solaris114=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; *) gt_cv_locale_solaris114=no ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_solaris114" >&5 $as_echo "$gt_cv_locale_solaris114" >&6; } ;; *) gt_cv_locale_solaris114=no ;; esac if test $gt_cv_locale_solaris114 = yes; then $as_echo "#define HAVE_SOLARIS114_LOCALES 1" >>confdefs.h fi case "$gt_cv_func_uselocale_works" in *yes) for ac_func in getlocalename_l do : ac_fn_c_check_func "$LINENO" "getlocalename_l" "ac_cv_func_getlocalename_l" if test "x$ac_cv_func_getlocalename_l" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETLOCALENAME_L 1 _ACEOF fi done ;; esac gt_nameless_locales=no if false; then gt_nameless_locales=yes $as_echo "#define HAVE_NAMELESS_LOCALES 1" >>confdefs.h fi ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" if test "x$ac_cv_have_decl_alarm" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ALARM $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then : $as_echo_n "(cached) " >&6 else rm -f conftest.sym conftest.file echo >conftest.file if test "$cross_compiling" = yes; then : case "$host_os" in linux-* | linux) # Guess yes on Linux systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; *-gnu* | gnu*) # Guess yes on glibc systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; mingw*) # Guess no on native Windows. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; *) # If we don't know, assume the worst. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; if (symlink ("conftest.file", "conftest.sym") != 0) return 1; /* Linux will dereference the symlink and fail, as required by POSIX. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_lstat_dereferences_slashed_symlink=yes else gl_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.sym conftest.file fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 $as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } case "$gl_cv_func_lstat_dereferences_slashed_symlink" in *yes) cat >>confdefs.h <<_ACEOF #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 _ACEOF ;; esac for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on platforms where we know the result. *-gnu* | gnu* | *-musl* | freebsd* | netbsd* | openbsd* \ | hpux* | solaris* | cygwin* | mingw*) ac_cv_func_malloc_0_nonnull="guessing yes" ;; # If we don't know, assume the worst. *) ac_cv_func_malloc_0_nonnull="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { char *p = malloc (0); int result = !p; free (p); return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } case "$ac_cv_func_malloc_0_nonnull" in *yes) gl_cv_func_malloc_0_nonnull=1 ;; *) gl_cv_func_malloc_0_nonnull=0 ;; esac cat >>confdefs.h <<_ACEOF #define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5 $as_echo_n "checking for O_CLOEXEC... " >&6; } if ${gl_cv_macro_O_CLOEXEC+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef O_CLOEXEC choke me; #endif int main () { return O_CLOEXEC; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_macro_O_CLOEXEC=yes else gl_cv_macro_O_CLOEXEC=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_macro_O_CLOEXEC" >&5 $as_echo "$gl_cv_macro_O_CLOEXEC" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 $as_echo_n "checking for promoted mode_t type... " >&6; } if ${gl_cv_promoted_mode_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_promoted_mode_t='int' else gl_cv_promoted_mode_t='mode_t' fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 $as_echo "$gl_cv_promoted_mode_t" >&6; } cat >>confdefs.h <<_ACEOF #define PROMOTED_MODE_T $gl_cv_promoted_mode_t _ACEOF GNULIB_PTHREAD_THREAD=0; GNULIB_PTHREAD_ONCE=0; GNULIB_PTHREAD_MUTEX=0; GNULIB_PTHREAD_RWLOCK=0; GNULIB_PTHREAD_COND=0; GNULIB_PTHREAD_TSS=0; GNULIB_PTHREAD_SPIN=0; GNULIB_PTHREAD_MUTEX_TIMEDLOCK=0; HAVE_PTHREAD_T=1; HAVE_PTHREAD_SPINLOCK_T=1; HAVE_PTHREAD_CREATE_DETACHED=1; HAVE_PTHREAD_MUTEX_RECURSIVE=1; HAVE_PTHREAD_MUTEX_ROBUST=1; HAVE_PTHREAD_PROCESS_SHARED=1; HAVE_PTHREAD_CREATE=1; HAVE_PTHREAD_ATTR_INIT=1; HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; HAVE_PTHREAD_ATTR_DESTROY=1; HAVE_PTHREAD_SELF=1; HAVE_PTHREAD_EQUAL=1; HAVE_PTHREAD_DETACH=1; HAVE_PTHREAD_JOIN=1; HAVE_PTHREAD_EXIT=1; HAVE_PTHREAD_ONCE=1; HAVE_PTHREAD_MUTEX_INIT=1; HAVE_PTHREAD_MUTEXATTR_INIT=1; HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; HAVE_PTHREAD_MUTEXATTR_DESTROY=1; HAVE_PTHREAD_MUTEX_LOCK=1; HAVE_PTHREAD_MUTEX_TRYLOCK=1; HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; HAVE_PTHREAD_MUTEX_UNLOCK=1; HAVE_PTHREAD_MUTEX_DESTROY=1; HAVE_PTHREAD_RWLOCK_INIT=1; HAVE_PTHREAD_RWLOCKATTR_INIT=1; HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; HAVE_PTHREAD_RWLOCK_RDLOCK=1; HAVE_PTHREAD_RWLOCK_WRLOCK=1; HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; HAVE_PTHREAD_RWLOCK_UNLOCK=1; HAVE_PTHREAD_RWLOCK_DESTROY=1; HAVE_PTHREAD_COND_INIT=1; HAVE_PTHREAD_CONDATTR_INIT=1; HAVE_PTHREAD_CONDATTR_DESTROY=1; HAVE_PTHREAD_COND_WAIT=1; HAVE_PTHREAD_COND_TIMEDWAIT=1; HAVE_PTHREAD_COND_SIGNAL=1; HAVE_PTHREAD_COND_BROADCAST=1; HAVE_PTHREAD_COND_DESTROY=1; HAVE_PTHREAD_KEY_CREATE=1; HAVE_PTHREAD_SETSPECIFIC=1; HAVE_PTHREAD_GETSPECIFIC=1; HAVE_PTHREAD_KEY_DELETE=1; HAVE_PTHREAD_SPIN_INIT=1; HAVE_PTHREAD_SPIN_LOCK=1; HAVE_PTHREAD_SPIN_TRYLOCK=1; HAVE_PTHREAD_SPIN_UNLOCK=1; HAVE_PTHREAD_SPIN_DESTROY=1; REPLACE_PTHREAD_CREATE=0; REPLACE_PTHREAD_ATTR_INIT=0; REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; REPLACE_PTHREAD_ATTR_DESTROY=0; REPLACE_PTHREAD_SELF=0; REPLACE_PTHREAD_EQUAL=0; REPLACE_PTHREAD_DETACH=0; REPLACE_PTHREAD_JOIN=0; REPLACE_PTHREAD_EXIT=0; REPLACE_PTHREAD_ONCE=0; REPLACE_PTHREAD_MUTEX_INIT=0; REPLACE_PTHREAD_MUTEXATTR_INIT=0; REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; REPLACE_PTHREAD_MUTEX_LOCK=0; REPLACE_PTHREAD_MUTEX_TRYLOCK=0; REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; REPLACE_PTHREAD_MUTEX_UNLOCK=0; REPLACE_PTHREAD_MUTEX_DESTROY=0; REPLACE_PTHREAD_RWLOCK_INIT=0; REPLACE_PTHREAD_RWLOCKATTR_INIT=0; REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; REPLACE_PTHREAD_RWLOCK_RDLOCK=0; REPLACE_PTHREAD_RWLOCK_WRLOCK=0; REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; REPLACE_PTHREAD_RWLOCK_UNLOCK=0; REPLACE_PTHREAD_RWLOCK_DESTROY=0; REPLACE_PTHREAD_COND_INIT=0; REPLACE_PTHREAD_CONDATTR_INIT=0; REPLACE_PTHREAD_CONDATTR_DESTROY=0; REPLACE_PTHREAD_COND_WAIT=0; REPLACE_PTHREAD_COND_TIMEDWAIT=0; REPLACE_PTHREAD_COND_SIGNAL=0; REPLACE_PTHREAD_COND_BROADCAST=0; REPLACE_PTHREAD_COND_DESTROY=0; REPLACE_PTHREAD_KEY_CREATE=0; REPLACE_PTHREAD_SETSPECIFIC=0; REPLACE_PTHREAD_GETSPECIFIC=0; REPLACE_PTHREAD_KEY_DELETE=0; REPLACE_PTHREAD_SPIN_INIT=0; REPLACE_PTHREAD_SPIN_LOCK=0; REPLACE_PTHREAD_SPIN_TRYLOCK=0; REPLACE_PTHREAD_SPIN_UNLOCK=0; REPLACE_PTHREAD_SPIN_DESTROY=0; GNULIB_SCHED_YIELD=0; HAVE_SCHED_YIELD=1; REPLACE_SCHED_YIELD=0; ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" if test "x$ac_cv_have_decl_setenv" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SETENV $ac_have_decl _ACEOF if test $ac_cv_have_decl_setenv = no; then HAVE_DECL_SETENV=0 fi for ac_header in search.h do : ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" if test "x$ac_cv_header_search_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SEARCH_H 1 _ACEOF fi done for ac_func in tsearch do : ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" if test "x$ac_cv_func_tsearch" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_TSEARCH 1 _ACEOF fi done ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" if test "x$ac_cv_have_decl_unsetenv" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_UNSETENV $ac_have_decl _ACEOF YIELD_LIB= if test $gl_threads_api = posix; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5 $as_echo_n "checking for sched_yield in -lrt... " >&6; } if ${ac_cv_lib_rt_sched_yield+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sched_yield (); int main () { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_rt_sched_yield=yes else ac_cv_lib_rt_sched_yield=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; } if test "x$ac_cv_lib_rt_sched_yield" = xyes; then : YIELD_LIB=-lrt else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 $as_echo_n "checking for sched_yield in -lposix4... " >&6; } if ${ac_cv_lib_posix4_sched_yield+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sched_yield (); int main () { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_posix4_sched_yield=yes else ac_cv_lib_posix4_sched_yield=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; } if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then : YIELD_LIB=-lposix4 fi fi fi if true; then GL_COND_LIBTOOL_TRUE= GL_COND_LIBTOOL_FALSE='#' else GL_COND_LIBTOOL_TRUE='#' GL_COND_LIBTOOL_FALSE= fi gl_cond_libtool=true gl_m4_base='m4' gl_source_base='gl' LTALLOCA=`echo "$ALLOCA" | sed -e 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'` if test $ac_cv_func_alloca_works = no; then : fi # Define an additional variable used in the Makefile substitution. if test $ac_cv_working_alloca_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 $as_echo_n "checking for alloca as a compiler built-in... " >&6; } if ${gl_cv_rpl_alloca+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __GNUC__ || defined _AIX || defined _MSC_VER Need own alloca #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Need own alloca" >/dev/null 2>&1; then : gl_cv_rpl_alloca=yes else gl_cv_rpl_alloca=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 $as_echo "$gl_cv_rpl_alloca" >&6; } if test $gl_cv_rpl_alloca = yes; then $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h ALLOCA_H=alloca.h else ALLOCA_H= fi else ALLOCA_H=alloca.h fi if test -n "$ALLOCA_H"; then GL_GENERATE_ALLOCA_H_TRUE= GL_GENERATE_ALLOCA_H_FALSE='#' else GL_GENERATE_ALLOCA_H_TRUE='#' GL_GENERATE_ALLOCA_H_FALSE= fi if test $ac_cv_working_alloca_h = yes; then HAVE_ALLOCA_H=1 else HAVE_ALLOCA_H=0 fi if test $ac_cv_header_arpa_inet_h = yes; then HAVE_ARPA_INET_H=1 else HAVE_ARPA_INET_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_arpa_inet_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_arpa_inet_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'arpa/inet.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_arpa_inet_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_arpa_inet_h gl_cv_next_arpa_inet_h='"'$gl_header'"' else gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 $as_echo "$gl_cv_next_arpa_inet_h" >&6; } fi NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'arpa/inet.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_arpa_inet_h fi NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then REPLACE_CLOSE=1 fi if test $REPLACE_CLOSE = 1; then gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext" fi GNULIB_CLOSE=1 $as_echo "#define GNULIB_TEST_CLOSE 1" >>confdefs.h if test "$ac_cv_header_winsock2_h" = yes; then gl_LIBOBJS="$gl_LIBOBJS connect.$ac_objext" fi GNULIB_CONNECT=1 $as_echo "#define GNULIB_TEST_CONNECT 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 $as_echo_n "checking whether // is distinct from /... " >&6; } if ${gl_cv_double_slash_root+:} false; then : $as_echo_n "(cached) " >&6 else if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date # that have a distinct // are Apollo DomainOS (too old to port to), # Cygwin, and z/OS. If anyone knows of another system for which // has # special semantics and is distinct from /, please report it to # . case $host in *-cygwin | i370-ibm-openedition) gl_cv_double_slash_root=yes ;; *) # Be optimistic and assume that / and // are the same when we # don't know. gl_cv_double_slash_root='unknown, assuming no' ;; esac else set x `ls -di / // 2>/dev/null` if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then gl_cv_double_slash_root=no else gl_cv_double_slash_root=yes fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 $as_echo "$gl_cv_double_slash_root" >&6; } if test "$gl_cv_double_slash_root" = yes; then $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h fi $as_echo "#define HAVE_DUP2 1" >>confdefs.h if test $HAVE_DUP2 = 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 $as_echo_n "checking whether dup2 works... " >&6; } if ${gl_cv_func_dup2_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in mingw*) # on this platform, dup2 always returns 0 for success gl_cv_func_dup2_works="guessing no" ;; cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 gl_cv_func_dup2_works="guessing no" ;; aix* | freebsd*) # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, # not EBADF. gl_cv_func_dup2_works="guessing no" ;; haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. gl_cv_func_dup2_works="guessing no" ;; *-android*) # implemented using dup3(), which fails if oldfd == newfd gl_cv_func_dup2_works="guessing no" ;; os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. gl_cv_func_dup2_works="guessing no" ;; *) gl_cv_func_dup2_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif int main () { int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; #endif if (dup2 (1, 1) != 1) result |= 2; #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif close (0); if (dup2 (0, 0) != -1) result |= 8; /* Many gnulib modules require POSIX conformance of EBADF. */ if (dup2 (2, bad_fd) == -1 && errno != EBADF) result |= 16; /* Flush out some cygwin core dumps. */ if (dup2 (2, -1) != -1 || errno != EBADF) result |= 32; dup2 (2, 255); dup2 (2, 256); /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ { int fd = open (".", O_RDONLY); if (fd == -1) result |= 64; else if (dup2 (fd, fd + 1) == -1) result |= 128; close (fd); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_dup2_works=yes else gl_cv_func_dup2_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 $as_echo "$gl_cv_func_dup2_works" >&6; } case "$gl_cv_func_dup2_works" in *yes) ;; *) REPLACE_DUP2=1 for ac_func in setdtablesize do : ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize" if test "x$ac_cv_func_setdtablesize" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SETDTABLESIZE 1 _ACEOF fi done ;; esac fi if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext" fi GNULIB_DUP2=1 $as_echo "#define GNULIB_TEST_DUP2 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 $as_echo_n "checking for error_at_line... " >&6; } if ${ac_cv_lib_error_at_line+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { error_at_line (0, 0, "", 0, "an error occurred"); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_error_at_line=yes else ac_cv_lib_error_at_line=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 $as_echo "$ac_cv_lib_error_at_line" >&6; } if test $ac_cv_lib_error_at_line = no; then gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" : fi XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" FLOAT_H= REPLACE_FLOAT_LDBL=0 case "$host_os" in aix* | beos* | openbsd* | mirbsd* | irix*) FLOAT_H=float.h ;; freebsd* | dragonfly*) case "$host_cpu" in i[34567]86 ) FLOAT_H=float.h ;; x86_64 ) # On x86_64 systems, the C compiler may still be generating # 32-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __x86_64__ || defined __amd64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else FLOAT_H=float.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac ;; linux*) case "$host_cpu" in powerpc*) FLOAT_H=float.h ;; esac ;; esac case "$host_os" in aix* | freebsd* | dragonfly* | linux*) if test -n "$FLOAT_H"; then REPLACE_FLOAT_LDBL=1 fi ;; esac REPLACE_ITOLD=0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5 $as_echo_n "checking whether conversion from 'int' to 'long double' works... " >&6; } if ${gl_cv_func_itold_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host" in sparc*-*-linux*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_itold_works="guessing no" else gl_cv_func_itold_works="guessing yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; # Guess yes on native Windows. mingw*) gl_cv_func_itold_works="guessing yes" ;; *) gl_cv_func_itold_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int i = -1; volatile long double ld; int main () { ld += i * 1.0L; if (ld > 0) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_itold_works=yes else gl_cv_func_itold_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5 $as_echo "$gl_cv_func_itold_works" >&6; } case "$gl_cv_func_itold_works" in *no) REPLACE_ITOLD=1 FLOAT_H=float.h ;; esac if test -n "$FLOAT_H"; then if test $gl_cv_have_include_next = yes; then gl_cv_next_float_h='<'float.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_float_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'float.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_float_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_float_h gl_cv_next_float_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 $as_echo "$gl_cv_next_float_h" >&6; } fi NEXT_FLOAT_H=$gl_cv_next_float_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'float.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_float_h fi NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive fi if test -n "$FLOAT_H"; then GL_GENERATE_FLOAT_H_TRUE= GL_GENERATE_FLOAT_H_FALSE='#' else GL_GENERATE_FLOAT_H_TRUE='#' GL_GENERATE_FLOAT_H_FALSE= fi if test $REPLACE_FLOAT_LDBL = 1; then gl_LIBOBJS="$gl_LIBOBJS float.$ac_objext" fi if test $REPLACE_ITOLD = 1; then gl_LIBOBJS="$gl_LIBOBJS itold.$ac_objext" fi if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then REPLACE_FSEEK=1 fi if test $REPLACE_FSEEK = 1; then gl_LIBOBJS="$gl_LIBOBJS fseek.$ac_objext" fi GNULIB_FSEEK=1 $as_echo "#define GNULIB_TEST_FSEEK 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 $as_echo_n "checking for fseeko... " >&6; } if ${gl_cv_func_fseeko+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { fseeko (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_fseeko=yes else gl_cv_func_fseeko=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 $as_echo "$gl_cv_func_fseeko" >&6; } if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi fi if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" for ac_func in _fseeki64 do : ac_fn_c_check_func "$LINENO" "_fseeki64" "ac_cv_func__fseeki64" if test "x$ac_cv_func__fseeki64" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__FSEEKI64 1 _ACEOF fi done if test $ac_cv_func__fseeki64 = yes; then ac_fn_c_check_decl "$LINENO" "_fseeki64" "ac_cv_have_decl__fseeki64" "$ac_includes_default" if test "x$ac_cv_have_decl__fseeki64" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__FSEEKI64 $ac_have_decl _ACEOF fi fi GNULIB_FSEEKO=1 $as_echo "#define GNULIB_TEST_FSEEKO 1" >>confdefs.h case "$host_os" in mingw* | solaris*) REPLACE_FSTAT=1 ;; esac if test $REPLACE_FSTAT = 1; then gl_LIBOBJS="$gl_LIBOBJS fstat.$ac_objext" case "$host_os" in mingw*) gl_LIBOBJS="$gl_LIBOBJS stat-w32.$ac_objext" ;; esac : fi GNULIB_FSTAT=1 $as_echo "#define GNULIB_TEST_FSTAT 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5 $as_echo_n "checking how to do getaddrinfo, freeaddrinfo and getnameinfo... " >&6; } GETADDRINFO_LIB= gai_saved_LIBS="$LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 $as_echo_n "checking for library containing getaddrinfo... " >&6; } if ${ac_cv_search_getaddrinfo+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char getaddrinfo (); int main () { return getaddrinfo (); ; return 0; } _ACEOF for ac_lib in '' socket network net; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_getaddrinfo=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_getaddrinfo+:} false; then : break fi done if ${ac_cv_search_getaddrinfo+:} false; then : else ac_cv_search_getaddrinfo=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 $as_echo "$ac_cv_search_getaddrinfo" >&6; } ac_res=$ac_cv_search_getaddrinfo if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_getaddrinfo" != "none required"; then GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" fi fi LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" HAVE_GETADDRINFO=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5 $as_echo_n "checking for getaddrinfo... " >&6; } if ${gl_cv_func_getaddrinfo+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #include int main () { getaddrinfo("", "", NULL, NULL); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_getaddrinfo=yes else gl_cv_func_getaddrinfo=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5 $as_echo "$gl_cv_func_getaddrinfo" >&6; } if test $gl_cv_func_getaddrinfo = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5 $as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; } if ${gl_cv_w32_getaddrinfo+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_w32_getaddrinfo=no am_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef HAVE_WS2TCPIP_H #include #endif #include int main () { getaddrinfo(NULL, NULL, NULL, NULL); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_w32_getaddrinfo=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5 $as_echo "$gl_cv_w32_getaddrinfo" >&6; } if test "$gl_cv_w32_getaddrinfo" = "yes"; then GETADDRINFO_LIB="-lws2_32" LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" else HAVE_GETADDRINFO=0 fi fi # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an # inline function declared in ws2tcpip.h, so we need to get that # header included somehow. ac_fn_c_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" " #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif #include " if test "x$ac_cv_have_decl_gai_strerror" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GAI_STRERROR $ac_have_decl _ACEOF if test $ac_cv_have_decl_gai_strerror = yes; then ac_fn_c_check_decl "$LINENO" "gai_strerrorA" "ac_cv_have_decl_gai_strerrorA" " #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif #include " if test "x$ac_cv_have_decl_gai_strerrorA" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GAI_STRERRORA $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror with POSIX signature" >&5 $as_echo_n "checking for gai_strerror with POSIX signature... " >&6; } if ${gl_cv_func_gai_strerror_posix_signature+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif #include extern #ifdef __cplusplus "C" #endif const char *gai_strerror(int); _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_gai_strerror_posix_signature=yes else gl_cv_func_gai_strerror_posix_signature=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror_posix_signature" >&5 $as_echo "$gl_cv_func_gai_strerror_posix_signature" >&6; } if test $gl_cv_func_gai_strerror_posix_signature = no; then REPLACE_GAI_STRERROR=1 fi fi LIBS="$gai_saved_LIBS" ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" " #include #include " if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_SA_LEN 1 _ACEOF fi ac_fn_c_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_have_decl_getaddrinfo" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETADDRINFO $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_have_decl_freeaddrinfo" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FREEADDRINFO $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_have_decl_getnameinfo" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETNAMEINFO $ac_have_decl _ACEOF if test $ac_cv_have_decl_getaddrinfo = no; then HAVE_DECL_GETADDRINFO=0 fi if test $ac_cv_have_decl_freeaddrinfo = no; then HAVE_DECL_FREEADDRINFO=0 fi if test $ac_cv_have_decl_gai_strerror = no; then HAVE_DECL_GAI_STRERROR=0 fi if test $ac_cv_have_decl_getnameinfo = no; then HAVE_DECL_GETNAMEINFO=0 fi ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" " #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_type_struct_addrinfo" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_ADDRINFO 1 _ACEOF fi if test $ac_cv_type_struct_addrinfo = no; then HAVE_STRUCT_ADDRINFO=0 fi case " $GETADDRINFO_LIB " in *" $HOSTENT_LIB "*) ;; *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;; esac case " $GETADDRINFO_LIB " in *" $SERVENT_LIB "*) ;; *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;; esac case " $GETADDRINFO_LIB " in *" $INET_NTOP_LIB "*) ;; *) GETADDRINFO_LIB="$GETADDRINFO_LIB $INET_NTOP_LIB" ;; esac if test $HAVE_GETADDRINFO = 0; then gl_LIBOBJS="$gl_LIBOBJS getaddrinfo.$ac_objext" fi if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then gl_LIBOBJS="$gl_LIBOBJS gai_strerror.$ac_objext" fi GNULIB_GETADDRINFO=1 $as_echo "#define GNULIB_TEST_GETADDRINFO 1" >>confdefs.h if test $ac_cv_func_getdelim = yes; then HAVE_GETDELIM=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 $as_echo_n "checking for working getdelim function... " >&6; } if ${gl_cv_func_working_getdelim+:} false; then : $as_echo_n "(cached) " >&6 else echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then : gl_cv_func_working_getdelim="guessing yes" else case "$host_os" in *-musl*) gl_cv_func_working_getdelim="guessing yes" ;; *) gl_cv_func_working_getdelim="guessing no" ;; esac fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getdelim (&line, &siz, '\n', in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getdelim (&line, &siz, '\n', in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_working_getdelim=yes else gl_cv_func_working_getdelim=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 $as_echo "$gl_cv_func_working_getdelim" >&6; } case "$gl_cv_func_working_getdelim" in *yes) ;; *) REPLACE_GETDELIM=1 ;; esac else HAVE_GETDELIM=0 fi if test $ac_cv_have_decl_getdelim = no; then HAVE_DECL_GETDELIM=0 fi if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" for ac_func in flockfile funlockfile do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl _ACEOF fi GNULIB_GETDELIM=1 $as_echo "#define GNULIB_TEST_GETDELIM 1" >>confdefs.h gl_getline_needs_run_time_check=no ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" if test "x$ac_cv_func_getline" = xyes; then : gl_getline_needs_run_time_check=yes else am_cv_func_working_getline=no fi if test $gl_getline_needs_run_time_check = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 $as_echo_n "checking for working getline function... " >&6; } if ${am_cv_func_working_getline+:} false; then : $as_echo_n "(cached) " >&6 else echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then : am_cv_func_working_getline="guessing yes" else case "$host_os" in *-musl*) am_cv_func_working_getline="guessing yes" ;; *) am_cv_func_working_getline="guessing no" ;; esac fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getline (&line, &siz, in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } free (line); } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getline (&line, &siz, in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_working_getline=yes else am_cv_func_working_getline=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 $as_echo "$am_cv_func_working_getline" >&6; } fi if test $ac_cv_have_decl_getline = no; then HAVE_DECL_GETLINE=0 fi case "$am_cv_func_working_getline" in *yes) ;; *) REPLACE_GETLINE=1 ;; esac if test $REPLACE_GETLINE = 1; then gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" : fi GNULIB_GETLINE=1 $as_echo "#define GNULIB_TEST_GETLINE 1" >>confdefs.h REPLACE_GETOPT=0 if test -n "$gl_replace_getopt"; then REPLACE_GETOPT=1 fi if test $REPLACE_GETOPT = 1; then if test $ac_cv_header_sys_cdefs_h = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h GETOPT_H=getopt.h GETOPT_CDEFS_H=getopt-cdefs.h fi if test $REPLACE_GETOPT = 1; then gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" GNULIB_GL_UNISTD_H_GETOPT=1 fi if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS = 1; then gl_LIBOBJS="$gl_LIBOBJS getpass.$ac_objext" ac_fn_c_check_decl "$LINENO" "__fsetlocking" "ac_cv_have_decl___fsetlocking" "#include #if HAVE_STDIO_EXT_H #include #endif " if test "x$ac_cv_have_decl___fsetlocking" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL___FSETLOCKING $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcgetattr" >&5 $as_echo_n "checking for tcgetattr... " >&6; } if ${gl_cv_func_tcgetattr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct termios x; int main () { return tcgetattr(0,&x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_tcgetattr=yes else gl_cv_func_tcgetattr=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tcgetattr" >&5 $as_echo "$gl_cv_func_tcgetattr" >&6; } if test $gl_cv_func_tcgetattr = yes; then HAVE_TCGETATTR=1 else HAVE_TCGETATTR=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_TCGETATTR $HAVE_TCGETATTR _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcsetattr" >&5 $as_echo_n "checking for tcsetattr... " >&6; } if ${gl_cv_func_tcsetattr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct termios x; int main () { return tcsetattr(0,0,&x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_tcsetattr=yes else gl_cv_func_tcsetattr=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tcsetattr" >&5 $as_echo "$gl_cv_func_tcsetattr" >&6; } if test $gl_cv_func_tcsetattr = yes; then HAVE_TCSETATTR=1 else HAVE_TCSETATTR=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_TCSETATTR $HAVE_TCSETATTR _ACEOF fi GNULIB_GETPASS=1 $as_echo "#define GNULIB_TEST_GETPASS 1" >>confdefs.h if test $ac_cv_func_getpass = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpass without length limitations" >&5 $as_echo_n "checking for getpass without length limitations... " >&6; } if ${gl_cv_func_getpass_good+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then : gl_cv_func_getpass_good=yes else gl_cv_func_getpass_good=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getpass_good" >&5 $as_echo "$gl_cv_func_getpass_good" >&6; } if test $gl_cv_func_getpass_good != yes; then REPLACE_GETPASS=1 fi fi if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS = 1; then gl_LIBOBJS="$gl_LIBOBJS getpass.$ac_objext" ac_fn_c_check_decl "$LINENO" "__fsetlocking" "ac_cv_have_decl___fsetlocking" "#include #if HAVE_STDIO_EXT_H #include #endif " if test "x$ac_cv_have_decl___fsetlocking" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL___FSETLOCKING $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcgetattr" >&5 $as_echo_n "checking for tcgetattr... " >&6; } if ${gl_cv_func_tcgetattr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct termios x; int main () { return tcgetattr(0,&x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_tcgetattr=yes else gl_cv_func_tcgetattr=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tcgetattr" >&5 $as_echo "$gl_cv_func_tcgetattr" >&6; } if test $gl_cv_func_tcgetattr = yes; then HAVE_TCGETATTR=1 else HAVE_TCGETATTR=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_TCGETATTR $HAVE_TCGETATTR _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcsetattr" >&5 $as_echo_n "checking for tcsetattr... " >&6; } if ${gl_cv_func_tcsetattr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct termios x; int main () { return tcsetattr(0,0,&x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_tcsetattr=yes else gl_cv_func_tcsetattr=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tcsetattr" >&5 $as_echo "$gl_cv_func_tcsetattr" >&6; } if test $gl_cv_func_tcsetattr = yes; then HAVE_TCSETATTR=1 else HAVE_TCSETATTR=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_TCSETATTR $HAVE_TCSETATTR _ACEOF fi GNULIB_GETPASS=1 $as_echo "#define GNULIB_TEST_GETPASS 1" >>confdefs.h ac_found=0 ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include " if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : ac_found=1 fi ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include " if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : ac_found=1 fi ac_fn_c_check_decl "$LINENO" "__argv" "ac_cv_have_decl___argv" "#include " if test "x$ac_cv_have_decl___argv" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL___ARGV $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : ac_found=1 fi # Incur the cost of this test only if none of the above worked. if test $ac_found = 0; then # On OpenBSD 5.1, using the global __progname variable appears to be # the only way to implement getprogname. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined in default libraries" >&5 $as_echo_n "checking whether __progname is defined in default libraries... " >&6; } if ${gl_cv_var___progname+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_var___progname= cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern char *__progname; int main () { return *__progname; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_var___progname=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var___progname" >&5 $as_echo "$gl_cv_var___progname" >&6; } if test "$gl_cv_var___progname" = yes; then $as_echo "#define HAVE_VAR___PROGNAME 1" >>confdefs.h fi fi # Autoconf 2.61a.99 and earlier don't support linking a file only # in VPATH builds. But since GNUmakefile is for maintainer use # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. GNUmakefile=GNUmakefile ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" HOSTENT_LIB= gl_saved_libs="$LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 $as_echo_n "checking for library containing gethostbyname... " >&6; } if ${ac_cv_search_gethostbyname+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char gethostbyname (); int main () { return gethostbyname (); ; return 0; } _ACEOF for ac_lib in '' nsl network net; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_gethostbyname=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_gethostbyname+:} false; then : break fi done if ${ac_cv_search_gethostbyname+:} false; then : else ac_cv_search_gethostbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 $as_echo "$ac_cv_search_gethostbyname" >&6; } ac_res=$ac_cv_search_gethostbyname if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_gethostbyname" != "none required"; then HOSTENT_LIB="$ac_cv_search_gethostbyname" fi fi LIBS="$gl_saved_libs" if test -z "$HOSTENT_LIB"; then for ac_func in gethostbyname do : ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" if test "x$ac_cv_func_gethostbyname" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETHOSTBYNAME 1 _ACEOF else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5 $as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; } if ${gl_cv_w32_gethostbyname+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_w32_gethostbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef HAVE_WINSOCK2_H #include #endif #include int main () { gethostbyname(NULL); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_w32_gethostbyname=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5 $as_echo "$gl_cv_w32_gethostbyname" >&6; } if test "$gl_cv_w32_gethostbyname" = "yes"; then HOSTENT_LIB="-lws2_32" fi fi done fi GNULIB_ICONV=1 if test $gl_cv_have_include_next = yes; then gl_cv_next_iconv_h='<'iconv.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_iconv_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_iconv_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'iconv.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_iconv_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_iconv_h gl_cv_next_iconv_h='"'$gl_header'"' else gl_cv_next_iconv_h='<'iconv.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_iconv_h" >&5 $as_echo "$gl_cv_next_iconv_h" >&6; } fi NEXT_ICONV_H=$gl_cv_next_iconv_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'iconv.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_iconv_h fi NEXT_AS_FIRST_DIRECTIVE_ICONV_H=$gl_next_as_first_directive if test "$am_cv_func_iconv" = yes; then ICONV_H='iconv.h' if test -n "$ICONV_H"; then GL_GENERATE_ICONV_H_TRUE= GL_GENERATE_ICONV_H_FALSE='#' else GL_GENERATE_ICONV_H_TRUE='#' GL_GENERATE_ICONV_H_FALSE= fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if defined _LIBICONV_VERSION || (defined __GLIBC__ && !defined __UCLIBC__) gnu_iconv #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "gnu_iconv" >/dev/null 2>&1; then : gl_func_iconv_gnu=yes else gl_func_iconv_gnu=no fi rm -f conftest* if test $gl_func_iconv_gnu = no; then iconv_flavor= case "$host_os" in aix*) iconv_flavor=ICONV_FLAVOR_AIX ;; irix*) iconv_flavor=ICONV_FLAVOR_IRIX ;; hpux*) iconv_flavor=ICONV_FLAVOR_HPUX ;; osf*) iconv_flavor=ICONV_FLAVOR_OSF ;; solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;; esac if test -n "$iconv_flavor"; then cat >>confdefs.h <<_ACEOF #define ICONV_FLAVOR $iconv_flavor _ACEOF ICONV_H='iconv.h' if test -n "$ICONV_H"; then GL_GENERATE_ICONV_H_TRUE= GL_GENERATE_ICONV_H_FALSE='#' else GL_GENERATE_ICONV_H_TRUE='#' GL_GENERATE_ICONV_H_FALSE= fi REPLACE_ICONV_OPEN=1 fi fi fi if test $REPLACE_ICONV_OPEN = 1; then gl_LIBOBJS="$gl_LIBOBJS iconv_open.$ac_objext" fi if test $REPLACE_ICONV = 1; then gl_LIBOBJS="$gl_LIBOBJS iconv.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS iconv_close.$ac_objext" fi HAVE_INET_NTOP=1 INET_NTOP_LIB= if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $HAVE_WINSOCK2_H = 1; then REPLACE_INET_NTOP=1 ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include " if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_NTOP $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_ntop = yes; then INET_NTOP_LIB="-lws2_32" else HAVE_DECL_INET_NTOP=0 fi else gl_save_LIBS=$LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 $as_echo_n "checking for library containing inet_ntop... " >&6; } if ${ac_cv_search_inet_ntop+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char inet_ntop (); int main () { return inet_ntop (); ; return 0; } _ACEOF for ac_lib in '' nsl resolv network; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_inet_ntop=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_inet_ntop+:} false; then : break fi done if ${ac_cv_search_inet_ntop+:} false; then : else ac_cv_search_inet_ntop=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 $as_echo "$ac_cv_search_inet_ntop" >&6; } ac_res=$ac_cv_search_inet_ntop if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" else for ac_func in inet_ntop do : ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" if test "x$ac_cv_func_inet_ntop" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INET_NTOP 1 _ACEOF fi done if test $ac_cv_func_inet_ntop = no; then HAVE_INET_NTOP=0 fi fi LIBS=$gl_save_LIBS if test "$ac_cv_search_inet_ntop" != "no" \ && test "$ac_cv_search_inet_ntop" != "none required"; then INET_NTOP_LIB="$ac_cv_search_inet_ntop" fi ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include #if HAVE_NETDB_H # include #endif " if test "x$ac_cv_have_decl_inet_ntop" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_NTOP $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_ntop = no; then HAVE_DECL_INET_NTOP=0 fi fi if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then gl_LIBOBJS="$gl_LIBOBJS inet_ntop.$ac_objext" fi GNULIB_INET_NTOP=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5 $as_echo_n "checking whether the compiler generally respects inline... " >&6; } if ${gl_cv_c_inline_effective+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_c_inline = no; then gl_cv_c_inline_effective=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifdef __NO_INLINE__ #error "inline is not effective" #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_c_inline_effective=yes else gl_cv_c_inline_effective=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5 $as_echo "$gl_cv_c_inline_effective" >&6; } if test $gl_cv_c_inline_effective = yes; then $as_echo "#define HAVE_INLINE 1" >>confdefs.h fi LOCALCHARSET_TESTS_ENVIRONMENT= if test "$gl_threads_api" = posix; then # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. has_rwlock=false ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include " if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : has_rwlock=true $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h fi if $has_rwlock; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_rwlock_rdlock prefers a writer to a reader" >&5 $as_echo_n "checking whether pthread_rwlock_rdlock prefers a writer to a reader... " >&6; } if ${gl_cv_pthread_rwlock_rdlock_prefer_writer+:} false; then : $as_echo_n "(cached) " >&6 else save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" if test "$cross_compiling" = yes; then : gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (exit (10 + (n))) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static pthread_rwlock_t lock; static pthread_t reader1; static pthread_t writer; static pthread_t reader2; static pthread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static pthread_mutex_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9: The second reader thread requests the lock. */ err = pthread_rwlock_tryrdlock (&lock); if (err == 0) FAILURE (); else if (err != EBUSY) UNEXPECTED (9); /* Step 10: Launch a timer, to test whether the next call blocks. */ if (pthread_create (&timer, NULL, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = pthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (pthread_create (&reader2, NULL, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (pthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = pthread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (pthread_rwlock_init (&lock, NULL)) UNEXPECTED (1); if (pthread_mutex_init (&baton, NULL)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (pthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (pthread_create (&writer, NULL, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_pthread_rwlock_rdlock_prefer_writer=yes else gl_cv_pthread_rwlock_rdlock_prefer_writer=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS="$save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pthread_rwlock_rdlock_prefer_writer" >&5 $as_echo "$gl_cv_pthread_rwlock_rdlock_prefer_writer" >&6; } case "$gl_cv_pthread_rwlock_rdlock_prefer_writer" in *yes) $as_echo "#define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1" >>confdefs.h ;; esac fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) error "No, in Mac OS X < 10.7 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : $as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi : cat >>confdefs.h <<_ACEOF #define GNULIB_LOCK 1 _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 $as_echo_n "checking whether lseek detects pipes... " >&6; } if ${gl_cv_func_lseek_pipe+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in mingw*) gl_cv_func_lseek_pipe=no ;; *) if test $cross_compiling = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for off_t */ #include /* for SEEK_CUR */ #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif int main () { /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if test -s conftest$ac_exeext \ && ./conftest$ac_exeext < conftest.$ac_ext \ && test 1 = "`echo hi \ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi else gl_cv_func_lseek_pipe=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __BEOS__ /* BeOS mistakenly return 0 when trying to seek on pipes. */ Choke me. #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 $as_echo "$gl_cv_func_lseek_pipe" >&6; } if test $gl_cv_func_lseek_pipe = no; then REPLACE_LSEEK=1 $as_echo "#define LSEEK_PIPE_BROKEN 1" >>confdefs.h fi if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_LSEEK=1 fi if test $REPLACE_LSEEK = 1; then gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext" fi GNULIB_LSEEK=1 $as_echo "#define GNULIB_TEST_LSEEK 1" >>confdefs.h if test $gl_cv_func_malloc_posix = yes; then $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h else REPLACE_MALLOC=1 fi if test $REPLACE_MALLOC = 1; then gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" fi GNULIB_MALLOC_POSIX=1 $as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on AIX and OSF/1. aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_incomplete_state=yes else gl_cv_func_mbrtowc_incomplete_state=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris 8. solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { /* This fails on Solaris 8: mbrtowc returns 2, and sets wc to 0x00F0. mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 6, &state) != 4 && mbtowc (&wc, input + 3, 6) == 4) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_sanitycheck=yes else gl_cv_func_mbrtowc_sanitycheck=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac case "$gl_cv_func_mbrtowc_sanitycheck" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac else REPLACE_MBSTATE_T=1 fi if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" " /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include " if test "x$ac_cv_have_decl_mbrtowc" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_MBRTOWC $ac_have_decl _ACEOF if test $ac_cv_have_decl_mbrtowc = yes; then REPLACE_MBRTOWC=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOWC=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 $as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; } if ${gl_cv_func_mbrtowc_null_arg1+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; esac if test $LOCALE_FR_UTF8 != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { char input[] = "\303\237er"; mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 5, &state); if (ret != 2) result |= 1; if (!mbsinit (&state)) result |= 2; memset (&state, '\0', sizeof (mbstate_t)); ret = mbrtowc (NULL, input, 5, &state); if (ret != 2) /* Solaris 7 fails here: ret is -1. */ result |= 4; if (!mbsinit (&state)) result |= 8; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_null_arg1=yes else gl_cv_func_mbrtowc_null_arg1=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5 $as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 $as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } if ${gl_cv_func_mbrtowc_null_arg2+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on OSF/1. osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; esac if test $LOCALE_FR_UTF8 != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { mbstate_t state; wchar_t wc; int ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; mbrtowc (&wc, NULL, 5, &state); /* Check that wc was not modified. */ if (wc != (wchar_t) 0xBADFACE) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_null_arg2=yes else gl_cv_func_mbrtowc_null_arg2=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5 $as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 $as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } if ${gl_cv_func_mbrtowc_retval+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on HP-UX, Solaris, native Windows. hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_retval="guessing yes" ;; esac if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \ || { case "$host_os" in mingw*) true;; *) false;; esac; }; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { int result = 0; int found_some_locale = 0; /* This fails on Solaris. */ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 1) result |= 1; } found_some_locale = 1; } /* This fails on HP-UX 11.11. */ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 2) result |= 2; } found_some_locale = 1; } /* This fails on native Windows. */ if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) { char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 4; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) { char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 8; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_China.936") != NULL) { char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 16; } found_some_locale = 1; } return (found_some_locale ? result : 77); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_retval=yes else if test $? != 77; then gl_cv_func_mbrtowc_retval=no fi fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 $as_echo "$gl_cv_func_mbrtowc_retval" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 $as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris 8 and 9. solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { /* This fails on Solaris 8 and 9. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "", 1, &state) != 0) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_nul_retval=yes else gl_cv_func_mbrtowc_nul_retval=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 $as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works on empty input" >&5 $as_echo_n "checking whether mbrtowc works on empty input... " >&6; } if ${gl_cv_func_mbrtowc_empty_input+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on AIX and glibc systems. aix* | *-gnu* | gnu*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_mbrtowc_empty_input="guessing yes" ;; *) gl_cv_func_mbrtowc_empty_input="guessing yes" ;; esac if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include static wchar_t wc; static mbstate_t mbs; int main (void) { return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_empty_input=yes else gl_cv_func_mbrtowc_empty_input=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_empty_input" >&5 $as_echo "$gl_cv_func_mbrtowc_empty_input" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5 $as_echo_n "checking whether the C locale is free of encoding errors... " >&6; } if ${gl_cv_C_locale_sans_EILSEQ+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_C_locale_sans_EILSEQ="guessing no" if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on native Windows. mingw*) gl_cv_C_locale_sans_EILSEQ="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { int i; char *locale = setlocale (LC_ALL, "C"); if (! locale) return 2; for (i = CHAR_MIN; i <= CHAR_MAX; i++) { char c = i; wchar_t wc; mbstate_t mbs = { 0, }; size_t ss = mbrtowc (&wc, &c, 1, &mbs); if (1 < ss) return 3; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_C_locale_sans_EILSEQ=yes else gl_cv_C_locale_sans_EILSEQ=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_C_locale_sans_EILSEQ" >&5 $as_echo "$gl_cv_C_locale_sans_EILSEQ" >&6; } case "$gl_cv_func_mbrtowc_null_arg1" in *yes) ;; *) $as_echo "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_null_arg2" in *yes) ;; *) $as_echo "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_retval" in *yes) ;; *) $as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_nul_retval" in *yes) ;; *) $as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_empty_input" in *yes) ;; *) $as_echo "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case $gl_cv_C_locale_sans_EILSEQ in *yes) ;; *) $as_echo "#define C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac fi fi if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext" : fi GNULIB_MBRTOWC=1 $as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on AIX and OSF/1. aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_incomplete_state=yes else gl_cv_func_mbrtowc_incomplete_state=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris 8. solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { /* This fails on Solaris 8: mbrtowc returns 2, and sets wc to 0x00F0. mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 6, &state) != 4 && mbtowc (&wc, input + 3, 6) == 4) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_sanitycheck=yes else gl_cv_func_mbrtowc_sanitycheck=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac case "$gl_cv_func_mbrtowc_sanitycheck" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac else REPLACE_MBSTATE_T=1 fi if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" " /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include " if test "x$ac_cv_have_decl_mbsinit" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_MBSINIT $ac_have_decl _ACEOF if test $ac_cv_have_decl_mbsinit = yes; then REPLACE_MBSINIT=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSINIT=1 else case "$host_os" in mingw*) REPLACE_MBSINIT=1 ;; esac fi fi if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext" : fi GNULIB_MBSINIT=1 $as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" for ac_header in bp-sym.h do : ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" if test "x$ac_cv_header_bp_sym_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BP_SYM_H 1 _ACEOF fi done fi GNULIB_MEMCHR=1 $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext" fi if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext" fi cat >>confdefs.h <<_ACEOF #define GNULIB_MSVC_NOTHROW 1 _ACEOF if test $gl_cv_have_include_next = yes; then gl_cv_next_netdb_h='<'netdb.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_netdb_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_netdb_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'netdb.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_netdb_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_netdb_h gl_cv_next_netdb_h='"'$gl_header'"' else gl_cv_next_netdb_h='<'netdb.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5 $as_echo "$gl_cv_next_netdb_h" >&6; } fi NEXT_NETDB_H=$gl_cv_next_netdb_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'netdb.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_netdb_h fi NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive if test $ac_cv_header_netdb_h = yes; then HAVE_NETDB_H=1 else HAVE_NETDB_H=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 $as_echo_n "checking whether is self-contained... " >&6; } if ${gl_cv_header_netinet_in_h_selfcontained+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_netinet_in_h_selfcontained=yes else gl_cv_header_netinet_in_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 $as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; } if test $gl_cv_header_netinet_in_h_selfcontained = yes; then NETINET_IN_H='' else NETINET_IN_H='netinet/in.h' for ac_header in netinet/in.h do : ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" if test "x$ac_cv_header_netinet_in_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_NETINET_IN_H 1 _ACEOF fi done if test $gl_cv_have_include_next = yes; then gl_cv_next_netinet_in_h='<'netinet/in.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_netinet_in_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_netinet_in_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'netinet/in.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_netinet_in_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_netinet_in_h gl_cv_next_netinet_in_h='"'$gl_header'"' else gl_cv_next_netinet_in_h='<'netinet/in.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 $as_echo "$gl_cv_next_netinet_in_h" >&6; } fi NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'netinet/in.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_netinet_in_h fi NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive if test $ac_cv_header_netinet_in_h = yes; then HAVE_NETINET_IN_H=1 else HAVE_NETINET_IN_H=0 fi fi if test -n "$NETINET_IN_H"; then GL_GENERATE_NETINET_IN_H_TRUE= GL_GENERATE_NETINET_IN_H_FALSE='#' else GL_GENERATE_NETINET_IN_H_TRUE='#' GL_GENERATE_NETINET_IN_H_FALSE= fi # Extract the first word of "pmccabe", so it can be a program name with args. set dummy pmccabe; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PMCCABE+:} false; then : $as_echo_n "(cached) " >&6 else case $PMCCABE in [\\/]* | ?:[\\/]*) ac_cv_path_PMCCABE="$PMCCABE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PMCCABE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_PMCCABE" && ac_cv_path_PMCCABE="false" ;; esac fi PMCCABE=$ac_cv_path_PMCCABE if test -n "$PMCCABE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PMCCABE" >&5 $as_echo "$PMCCABE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test $ac_cv_header_poll_h = no; then ac_cv_func_poll=no gl_cv_func_poll=no else ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" if test "x$ac_cv_func_poll" = xyes; then : # Check whether poll() works on special files (like /dev/null) and # and ttys (like /dev/tty). On Mac OS X 10.4.0 and AIX 5.3, it doesn't. if test "$cross_compiling" = yes; then : # When cross-compiling, assume that poll() works everywhere except on # Mac OS X or AIX, regardless of its version. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if (defined(__APPLE__) && defined(__MACH__)) || defined(_AIX) This is MacOSX or AIX #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "MacOSX" >/dev/null 2>&1; then : gl_cv_func_poll="guessing no" else gl_cv_func_poll="guessing yes" fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main() { int result = 0; struct pollfd ufd; /* Try /dev/null for reading. */ ufd.fd = open ("/dev/null", O_RDONLY); /* If /dev/null does not exist, it's not Mac OS X nor AIX. */ if (ufd.fd >= 0) { ufd.events = POLLIN; ufd.revents = 0; if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLIN)) result |= 1; } /* Try /dev/null for writing. */ ufd.fd = open ("/dev/null", O_WRONLY); /* If /dev/null does not exist, it's not Mac OS X nor AIX. */ if (ufd.fd >= 0) { ufd.events = POLLOUT; ufd.revents = 0; if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLOUT)) result |= 2; } /* Trying /dev/tty may be too environment dependent. */ return result; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_poll=yes else gl_cv_func_poll=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi case "$gl_cv_func_poll" in *yes) ;; *) ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" if test "x$ac_cv_func_poll" = xyes; then : ac_cv_func_poll=yes else ac_cv_func_poll=no fi if test $ac_cv_func_poll = no; then HAVE_POLL=0 else REPLACE_POLL=1 fi ;; esac if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then : else $as_echo "#define HAVE_POLL 1" >>confdefs.h fi LIB_POLL="$LIBSOCKET" if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then case "$host_os" in mingw*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define WIN32_LEAN_AND_MEAN #include int main () { MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else LIB_POLL="$LIB_POLL -luser32" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ;; esac fi if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then gl_LIBOBJS="$gl_LIBOBJS poll.$ac_objext" fi GNULIB_POLL=1 $as_echo "#define GNULIB_TEST_POLL 1" >>confdefs.h if test $ac_cv_header_poll_h = yes; then HAVE_POLL_H=1 else HAVE_POLL_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_poll_h='<'poll.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_poll_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_poll_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'poll.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_poll_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_poll_h gl_cv_next_poll_h='"'$gl_header'"' else gl_cv_next_poll_h='<'poll.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_poll_h" >&5 $as_echo "$gl_cv_next_poll_h" >&6; } fi NEXT_POLL_H=$gl_cv_next_poll_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'poll.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_poll_h fi NEXT_AS_FIRST_DIRECTIVE_POLL_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include " if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include " if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl _ACEOF : : use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libreadline-prefix was given. if test "${with_libreadline_prefix+set}" = set; then : withval=$with_libreadline_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBREADLINE= LTLIBREADLINE= INCREADLINE= LIBREADLINE_PREFIX= HAVE_LIBREADLINE= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='readline ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBREADLINE; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBREADLINE; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so" else LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_a" else LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'readline'; then LIBREADLINE_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'readline'; then LIBREADLINE_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCREADLINE; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCREADLINE="${INCREADLINE}${INCREADLINE:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBREADLINE; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBREADLINE; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$dep" LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }$dep" ;; esac done fi else LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-l$name" LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-R$found_dir" done fi am_save_CPPFLAGS="$CPPFLAGS" for element in $INCREADLINE; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline" >&5 $as_echo_n "checking for readline... " >&6; } if ${gl_cv_lib_readline+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_lib_readline=no am_save_LIBS="$LIBS" for extra_lib in "" ncurses termcap curses; do LIBS="$am_save_LIBS $LIBREADLINE" if test -n "$extra_lib"; then LIBS="$LIBS -l$extra_lib" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { readline((char*)0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if test -n "$extra_lib"; then gl_cv_lib_readline="yes, requires -l$extra_lib" else gl_cv_lib_readline="yes" fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_lib_readline" != no; then break fi done LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_readline" >&5 $as_echo "$gl_cv_lib_readline" >&6; } if test "$gl_cv_lib_readline" != no; then $as_echo "#define HAVE_READLINE 1" >>confdefs.h extra_lib=`echo "$gl_cv_lib_readline" | sed -n -e 's/yes, requires //p'` if test -n "$extra_lib"; then LIBREADLINE="$LIBREADLINE $extra_lib" LTLIBREADLINE="$LTLIBREADLINE $extra_lib" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libreadline" >&5 $as_echo_n "checking how to link with libreadline... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBREADLINE" >&5 $as_echo "$LIBREADLINE" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBREADLINE= LTLIBREADLINE= fi for ac_header in readline/readline.h readline/history.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test "$gl_cv_lib_readline" = no; then gl_LIBOBJS="$gl_LIBOBJS readline.$ac_objext" : fi if test "$ac_cv_header_winsock2_h" = yes; then gl_LIBOBJS="$gl_LIBOBJS recv.$ac_objext" fi GNULIB_RECV=1 $as_echo "#define GNULIB_TEST_RECV 1" >>confdefs.h if test "$ac_cv_header_winsock2_h" = yes; then REPLACE_SELECT=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5 $as_echo_n "checking whether select supports a 0 argument... " >&6; } if ${gl_cv_func_select_supports0+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Interix. interix*) gl_cv_func_select_supports0="guessing no";; # Guess yes otherwise. *) gl_cv_func_select_supports0="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_SELECT_H #include #endif int main () { struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_select_supports0=yes else gl_cv_func_select_supports0=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 $as_echo "$gl_cv_func_select_supports0" >&6; } case "$gl_cv_func_select_supports0" in *yes) ;; *) REPLACE_SELECT=1 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select detects invalid fds" >&5 $as_echo_n "checking whether select detects invalid fds... " >&6; } if ${gl_cv_func_select_detects_ebadf+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_select_detects_ebadf="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_select_detects_ebadf="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_select_detects_ebadf="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_SELECT_H # include #endif #include #include int main () { fd_set set; dup2(0, 16); FD_ZERO(&set); FD_SET(16, &set); close(16); struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (17, &set, NULL, NULL, &timeout) != -1 || errno != EBADF; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_select_detects_ebadf=yes else gl_cv_func_select_detects_ebadf=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_detects_ebadf" >&5 $as_echo "$gl_cv_func_select_detects_ebadf" >&6; } case $gl_cv_func_select_detects_ebadf in *yes) ;; *) REPLACE_SELECT=1 ;; esac fi LIB_SELECT="$LIBSOCKET" if test $REPLACE_SELECT = 1; then case "$host_os" in mingw*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define WIN32_LEAN_AND_MEAN #include int main () { MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else LIB_SELECT="$LIB_SELECT -luser32" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ;; esac fi if test $REPLACE_SELECT = 1; then gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext" fi GNULIB_SELECT=1 $as_echo "#define GNULIB_TEST_SELECT 1" >>confdefs.h SERVENT_LIB= gl_saved_libs="$LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5 $as_echo_n "checking for library containing getservbyname... " >&6; } if ${ac_cv_search_getservbyname+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char getservbyname (); int main () { return getservbyname (); ; return 0; } _ACEOF for ac_lib in '' socket network net; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_getservbyname=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_getservbyname+:} false; then : break fi done if ${ac_cv_search_getservbyname+:} false; then : else ac_cv_search_getservbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5 $as_echo "$ac_cv_search_getservbyname" >&6; } ac_res=$ac_cv_search_getservbyname if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" if test "$ac_cv_search_getservbyname" != "none required"; then SERVENT_LIB="$ac_cv_search_getservbyname" fi fi LIBS="$gl_saved_libs" if test -z "$SERVENT_LIB"; then for ac_func in getservbyname do : ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" if test "x$ac_cv_func_getservbyname" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETSERVBYNAME 1 _ACEOF else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5 $as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; } if ${gl_cv_w32_getservbyname+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_w32_getservbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef HAVE_WINSOCK2_H #include #endif #include int main () { getservbyname(NULL,NULL); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_w32_getservbyname=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5 $as_echo "$gl_cv_w32_getservbyname" >&6; } if test "$gl_cv_w32_getservbyname" = "yes"; then SERVENT_LIB="-lws2_32" fi fi done fi if test "$ac_cv_header_winsock2_h" = yes; then gl_LIBOBJS="$gl_LIBOBJS shutdown.$ac_objext" fi GNULIB_SHUTDOWN=1 $as_echo "#define GNULIB_TEST_SHUTDOWN 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_signal_h='<'signal.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_signal_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'signal.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_signal_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_signal_h gl_cv_next_signal_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5 $as_echo "$gl_cv_next_signal_h" >&6; } fi NEXT_SIGNAL_H=$gl_cv_next_signal_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'signal.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_signal_h fi NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive # AIX declares sig_atomic_t to already include volatile, and C89 compilers # then choke on 'volatile sig_atomic_t'. C99 requires that it compile. ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" " #include " if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then : else HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0 fi ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" " #include " if test "x$ac_cv_type_sighandler_t" = xyes; then : else HAVE_SIGHANDLER_T=0 fi for ac_header in stdint.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 $as_echo_n "checking for SIZE_MAX... " >&6; } if ${gl_cv_size_max+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_size_max= cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Found it" >/dev/null 2>&1; then : gl_cv_size_max=yes fi rm -f conftest* if test -z "$gl_cv_size_max"; then if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include #include "; then : else size_t_bits_minus_1= fi if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : else fits_in_uint= fi if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern size_t foo; extern unsigned long foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : fits_in_uint=0 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else gl_cv_size_max='((size_t)~(size_t)0)' fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 $as_echo "$gl_cv_size_max" >&6; } if test "$gl_cv_size_max" != yes; then cat >>confdefs.h <<_ACEOF #define SIZE_MAX $gl_cv_size_max _ACEOF fi gl_cv_func_snprintf_usable=no for ac_func in snprintf do : ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" if test "x$ac_cv_func_snprintf" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SNPRINTF 1 _ACEOF fi done if test $ac_cv_func_snprintf = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 $as_echo_n "checking whether snprintf respects a size of 1... " >&6; } if ${gl_cv_func_snprintf_size1+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_size1="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_snprintf_size1="guessing yes" ;; *) gl_cv_func_snprintf_size1="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_snprintf_size1=yes else gl_cv_func_snprintf_size1=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 $as_echo "$gl_cv_func_snprintf_size1" >&6; } case "$gl_cv_func_snprintf_size1" in *yes) case "$gl_cv_func_snprintf_retval_c99" in *yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 $as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } if ${gl_cv_func_printf_positions+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) gl_cv_func_printf_positions="guessing no";; beos*) gl_cv_func_printf_positions="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_positions="guessing yes";; # Guess no on native Windows. mingw* | pw*) gl_cv_func_printf_positions="guessing no";; *) gl_cv_func_printf_positions="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* The string "%2$d %1$d", with dollar characters protected from the shell's dollar expansion (possibly an autoconf bug). */ static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; static char buf[100]; int main () { sprintf (buf, format, 33, 55); return (strcmp (buf, "55 33") != 0); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_printf_positions=yes else gl_cv_func_printf_positions=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5 $as_echo "$gl_cv_func_printf_positions" >&6; } case "$gl_cv_func_printf_positions" in *yes) gl_cv_func_snprintf_usable=yes ;; esac ;; esac ;; esac fi if test $gl_cv_func_snprintf_usable = no; then gl_LIBOBJS="$gl_LIBOBJS snprintf.$ac_objext" if test $ac_cv_func_snprintf = yes; then REPLACE_SNPRINTF=1 else if test $ac_cv_have_decl_snprintf = yes; then REPLACE_SNPRINTF=1 fi fi : fi if test $ac_cv_have_decl_snprintf = no; then HAVE_DECL_SNPRINTF=0 fi GNULIB_SNPRINTF=1 $as_echo "#define GNULIB_TEST_SNPRINTF 1" >>confdefs.h cat >>confdefs.h <<_ACEOF #define GNULIB_SNPRINTF 1 _ACEOF if test "$ac_cv_header_winsock2_h" = yes; then gl_LIBOBJS="$gl_LIBOBJS socket.$ac_objext" fi # When this module is used, sockets may actually occur as file descriptors, # hence it is worth warning if the modules 'close' and 'ioctl' are not used. if test "$ac_cv_header_winsock2_h" = yes; then UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 fi GNULIB_SOCKET=1 $as_echo "#define GNULIB_TEST_SOCKET 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " /* is not needed according to POSIX, but the in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #if HAVE_SYS_SOCKET_H # include #elif HAVE_WS2TCPIP_H # include #endif " if test "x$ac_cv_type_socklen_t" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 $as_echo_n "checking for socklen_t equivalent... " >&6; } if ${gl_cv_socklen_t_equiv+:} false; then : $as_echo_n "(cached) " >&6 else # Systems have either "struct sockaddr *" or # "void *" as the second argument to getpeername gl_cv_socklen_t_equiv= for arg2 in "struct sockaddr" void; do for t in int size_t "unsigned int" "long int" "unsigned long int"; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int getpeername (int, $arg2 *, $t *); int main () { $t len; getpeername (0, 0, &len); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_socklen_t_equiv="$t" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$gl_cv_socklen_t_equiv" != "" && break done test "$gl_cv_socklen_t_equiv" != "" && break done if test "$gl_cv_socklen_t_equiv" = ""; then as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 $as_echo "$gl_cv_socklen_t_equiv" >&6; } cat >>confdefs.h <<_ACEOF #define socklen_t $gl_cv_socklen_t_equiv _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 $as_echo_n "checking for ssize_t... " >&6; } if ${gt_cv_ssize_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_ssize_t=yes else gt_cv_ssize_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 $as_echo "$gt_cv_ssize_t" >&6; } if test $gt_cv_ssize_t = no; then $as_echo "#define ssize_t int" >>confdefs.h fi ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5 $as_echo_n "checking whether struct stat.st_atim is of type struct timespec... " >&6; } if ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_TIME_H # include #endif #include struct timespec ts; struct stat st; int main () { st.st_atim = ts; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes else ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5 $as_echo "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; } if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then $as_echo "#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h fi else ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1 _ACEOF fi fi fi fi ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1 _ACEOF fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h" >&5 $as_echo_n "checking for working stdalign.h... " >&6; } if ${gl_cv_header_working_stdalign_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Test that alignof yields a result consistent with offsetof. This catches GCC bug 52023 . */ #ifdef __cplusplus template struct alignof_helper { char a; t b; }; # define ao(type) offsetof (alignof_helper, b) #else # define ao(type) offsetof (struct { char a; type b; }, b) #endif char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; /* Test _Alignas only on platforms where gnulib can help. */ #if \ ((defined __cplusplus && 201103 <= __cplusplus) \ || (defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ || 1300 <= _MSC_VER) struct alignas_test { char c; char alignas (8) alignas_8; }; char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 ? 1 : -1]; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_working_stdalign_h=yes else gl_cv_header_working_stdalign_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5 $as_echo "$gl_cv_header_working_stdalign_h" >&6; } if test $gl_cv_header_working_stdalign_h = yes; then STDALIGN_H='' else STDALIGN_H='stdalign.h' fi if test -n "$STDALIGN_H"; then GL_GENERATE_STDALIGN_H_TRUE= GL_GENERATE_STDALIGN_H_FALSE='#' else GL_GENERATE_STDALIGN_H_TRUE='#' GL_GENERATE_STDALIGN_H_FALSE= fi STDARG_H='' NEXT_STDARG_H='' { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 $as_echo_n "checking for va_copy... " >&6; } if ${gl_cv_func_va_copy+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef va_copy void (*func) (va_list, va_list) = va_copy; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_va_copy=yes else gl_cv_func_va_copy=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5 $as_echo "$gl_cv_func_va_copy" >&6; } if test $gl_cv_func_va_copy = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined _AIX && !defined __GNUC__ AIX vaccine #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "vaccine" >/dev/null 2>&1; then : gl_aixcc=yes else gl_aixcc=no fi rm -f conftest* if test $gl_aixcc = yes; then STDARG_H=stdarg.h if test $gl_cv_have_include_next = yes; then gl_cv_next_stdarg_h='<'stdarg.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stdarg_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdarg.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdarg_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdarg_h gl_cv_next_stdarg_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5 $as_echo "$gl_cv_next_stdarg_h" >&6; } fi NEXT_STDARG_H=$gl_cv_next_stdarg_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdarg.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdarg_h fi NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive if test "$gl_cv_next_stdarg_h" = '""'; then gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' NEXT_STDARG_H="$gl_cv_next_stdarg_h" fi else saved_as_echo_n="$as_echo_n" as_echo_n=':' if ${gl_cv_func___va_copy+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef __va_copy error, bail out #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func___va_copy=yes else gl_cv_func___va_copy=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi as_echo_n="$saved_as_echo_n" if test $gl_cv_func___va_copy = yes; then $as_echo "#define va_copy __va_copy" >>confdefs.h else $as_echo "#define va_copy gl_va_copy" >>confdefs.h fi fi fi if test -n "$STDARG_H"; then GL_GENERATE_STDARG_H_TRUE= GL_GENERATE_STDARG_H_FALSE='#' else GL_GENERATE_STDARG_H_TRUE='#' GL_GENERATE_STDARG_H_FALSE= fi # Define two additional variables used in the Makefile substitution. if test "$ac_cv_header_stdbool_h" = yes; then STDBOOL_H='' else STDBOOL_H='stdbool.h' fi if test -n "$STDBOOL_H"; then GL_GENERATE_STDBOOL_H_TRUE= GL_GENERATE_STDBOOL_H_FALSE='#' else GL_GENERATE_STDBOOL_H_TRUE='#' GL_GENERATE_STDBOOL_H_FALSE= fi if test "$ac_cv_type__Bool" = yes; then HAVE__BOOL=1 else HAVE__BOOL=0 fi STDDEF_H= { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good max_align_t" >&5 $as_echo_n "checking for good max_align_t... " >&6; } if ${gl_cv_type_max_align_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include unsigned int s = sizeof (max_align_t); #if defined __GNUC__ || defined __IBM__ALIGNOF__ int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1]; int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1]; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_max_align_t=yes else gl_cv_type_max_align_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_max_align_t" >&5 $as_echo "$gl_cv_type_max_align_t" >&6; } if test $gl_cv_type_max_align_t = no; then HAVE_MAX_ALIGN_T=0 STDDEF_H=stddef.h fi if test $gt_cv_c_wchar_t = no; then HAVE_WCHAR_T=0 STDDEF_H=stddef.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } if ${gl_cv_decl_null_works+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int test[2 * (sizeof NULL == sizeof (void *)) -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_decl_null_works=yes else gl_cv_decl_null_works=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 $as_echo "$gl_cv_decl_null_works" >&6; } if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 STDDEF_H=stddef.h fi if test -n "$STDDEF_H"; then GL_GENERATE_STDDEF_H_TRUE= GL_GENERATE_STDDEF_H_FALSE='#' else GL_GENERATE_STDDEF_H_TRUE='#' GL_GENERATE_STDDEF_H_FALSE= fi if test -n "$STDDEF_H"; then if test $gl_cv_have_include_next = yes; then gl_cv_next_stddef_h='<'stddef.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stddef_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stddef.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stddef_h gl_cv_next_stddef_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 $as_echo "$gl_cv_next_stddef_h" >&6; } fi NEXT_STDDEF_H=$gl_cv_next_stddef_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stddef.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stddef_h fi NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive fi $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_stdio_h='<'stdio.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stdio_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdio.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdio_h gl_cv_next_stdio_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 $as_echo "$gl_cv_next_stdio_h" >&6; } fi NEXT_STDIO_H=$gl_cv_next_stdio_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdio.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdio_h fi NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive { $as_echo "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5 $as_echo_n "checking which flavor of printf attribute matches inttypes macros... " >&6; } if ${gl_cv_func_printf_attribute_flavor+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define __STDC_FORMAT_MACROS 1 #include #include /* For non-mingw systems, compilation will trivially succeed. For mingw, compilation will succeed for older mingw (system printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */ #if (defined _WIN32 && ! defined __CYGWIN__) && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1]; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_printf_attribute_flavor=system else gl_cv_func_printf_attribute_flavor=gnu fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_attribute_flavor" >&5 $as_echo "$gl_cv_func_printf_attribute_flavor" >&6; } if test "$gl_cv_func_printf_attribute_flavor" = gnu; then $as_echo "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h fi GNULIB_FSCANF=1 cat >>confdefs.h <<_ACEOF #define GNULIB_FSCANF 1 _ACEOF GNULIB_SCANF=1 cat >>confdefs.h <<_ACEOF #define GNULIB_SCANF 1 _ACEOF GNULIB_FGETC=1 GNULIB_GETC=1 GNULIB_GETCHAR=1 GNULIB_FGETS=1 GNULIB_FREAD=1 GNULIB_FPRINTF=1 GNULIB_PRINTF=1 GNULIB_VFPRINTF=1 GNULIB_VPRINTF=1 GNULIB_FPUTC=1 GNULIB_PUTC=1 GNULIB_PUTCHAR=1 GNULIB_FPUTS=1 GNULIB_PUTS=1 GNULIB_FWRITE=1 if test $gl_cv_have_include_next = yes; then gl_cv_next_stdlib_h='<'stdlib.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stdlib_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdlib.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdlib_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdlib_h gl_cv_next_stdlib_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 $as_echo "$gl_cv_next_stdlib_h" >&6; } fi NEXT_STDLIB_H=$gl_cv_next_stdlib_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdlib.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdlib_h fi NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive if test $ac_cv_func_strdup = yes; then if test $gl_cv_func_malloc_posix != yes; then REPLACE_STRDUP=1 fi fi if test $ac_cv_have_decl_strdup = no; then HAVE_DECL_STRDUP=0 fi if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then gl_LIBOBJS="$gl_LIBOBJS strdup.$ac_objext" : fi GNULIB_STRDUP=1 $as_echo "#define GNULIB_TEST_STRDUP 1" >>confdefs.h if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 $as_echo_n "checking for working strerror function... " >&6; } if ${gl_cv_func_working_strerror+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_working_strerror="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_working_strerror="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { if (!*strerror (-2)) return 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_working_strerror=yes else gl_cv_func_working_strerror=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 $as_echo "$gl_cv_func_working_strerror" >&6; } case "$gl_cv_func_working_strerror" in *yes) ;; *) REPLACE_STRERROR=1 ;; esac else REPLACE_STRERROR=1 fi if test $REPLACE_STRERROR = 1; then gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" fi cat >>confdefs.h <<_ACEOF #define GNULIB_STRERROR 1 _ACEOF GNULIB_STRERROR=1 $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then gl_LIBOBJS="$gl_LIBOBJS strerror-override.$ac_objext" if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi fi if test $gl_cond_libtool = false; then gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" gl_libdeps="$gl_libdeps $LIBICONV" fi for ac_func in strtok_r do : ac_fn_c_check_func "$LINENO" "strtok_r" "ac_cv_func_strtok_r" if test "x$ac_cv_func_strtok_r" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRTOK_R 1 _ACEOF fi done if test $ac_cv_func_strtok_r = yes; then HAVE_STRTOK_R=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtok_r works" >&5 $as_echo_n "checking whether strtok_r works... " >&6; } if ${gl_cv_func_strtok_r_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_strtok_r_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_strtok_r_works="guessing yes" ;; *) gl_cv_func_strtok_r_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __OPTIMIZE__ # define __OPTIMIZE__ 1 #endif #undef __OPTIMIZE_SIZE__ #undef __NO_INLINE__ #include #include int main () { static const char dummy[] = "\177\01a"; char delimiters[] = "xxxxxxxx"; char *save_ptr = (char *) dummy; strtok_r (delimiters, "x", &save_ptr); strtok_r (NULL, "x", &save_ptr); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_strtok_r_works=yes else gl_cv_func_strtok_r_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtok_r_works" >&5 $as_echo "$gl_cv_func_strtok_r_works" >&6; } case "$gl_cv_func_strtok_r_works" in *no) UNDEFINE_STRTOK_R=1 ;; esac else HAVE_STRTOK_R=0 fi if test $ac_cv_have_decl_strtok_r = no; then HAVE_DECL_STRTOK_R=0 fi if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then gl_LIBOBJS="$gl_LIBOBJS strtok_r.$ac_objext" : fi GNULIB_STRTOK_R=1 $as_echo "#define GNULIB_TEST_STRTOK_R 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_stat_h='<'sys/stat.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_stat_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_stat_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/stat.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_stat_h gl_cv_next_sys_stat_h='"'$gl_header'"' else gl_cv_next_sys_stat_h='<'sys/stat.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 $as_echo "$gl_cv_next_sys_stat_h" >&6; } fi NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/stat.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_stat_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive WINDOWS_STAT_TIMESPEC=0 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include #include " if test "x$ac_cv_type_nlink_t" = xyes; then : else $as_echo "#define nlink_t int" >>confdefs.h fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_uio_h='<'sys/uio.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_uio_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_uio_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/uio.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_uio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_uio_h gl_cv_next_sys_uio_h='"'$gl_header'"' else gl_cv_next_sys_uio_h='<'sys/uio.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_uio_h" >&5 $as_echo "$gl_cv_next_sys_uio_h" >&6; } fi NEXT_SYS_UIO_H=$gl_cv_next_sys_uio_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/uio.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_uio_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H=$gl_next_as_first_directive if test $ac_cv_header_sys_uio_h = yes; then HAVE_SYS_UIO_H=1 else HAVE_SYS_UIO_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_unistd_h='<'unistd.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_unistd_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_unistd_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'unistd.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_unistd_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_unistd_h gl_cv_next_unistd_h='"'$gl_header'"' else gl_cv_next_unistd_h='<'unistd.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 $as_echo "$gl_cv_next_unistd_h" >&6; } fi NEXT_UNISTD_H=$gl_cv_next_unistd_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'unistd.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_unistd_h fi NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive if test $ac_cv_header_unistd_h = yes; then HAVE_UNISTD_H=1 else HAVE_UNISTD_H=0 fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4 } } } } }; then LIBUNISTRING_UNISTR_H='unistr.h' else LIBUNISTRING_UNISTR_H= fi cat >>confdefs.h <<_ACEOF #define GNULIB_UNISTR_U8_MBTOUCR 1 _ACEOF if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE= LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE='#' else LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE='#' LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE= fi cat >>confdefs.h <<_ACEOF #define GNULIB_UNISTR_U8_UCTOMB 1 _ACEOF if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE= LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE='#' else LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE='#' LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE= fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4 } } } } }; then LIBUNISTRING_UNITYPES_H='unitypes.h' else LIBUNISTRING_UNITYPES_H= fi # Check whether --enable-valgrind-tests was given. if test "${enable_valgrind_tests+set}" = set; then : enableval=$enable_valgrind_tests; opt_valgrind_tests=$enableval else opt_valgrind_tests=yes fi # Run self-tests under valgrind? if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then for ac_prog in valgrind do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_VALGRIND+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$VALGRIND"; then ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_VALGRIND="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi VALGRIND=$ac_cv_prog_VALGRIND if test -n "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 $as_echo "$VALGRIND" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$VALGRIND" && break done if test "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind options for tests" >&5 $as_echo_n "checking for valgrind options for tests... " >&6; } if ${gl_cv_opt_valgrind_tests+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_opt_valgrind_tests="-q --error-exitcode=1 --leak-check=full" $VALGRIND $gl_valgrind_opts ls > /dev/null 2>&1 || gl_cv_opt_valgrind_tests=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_opt_valgrind_tests" >&5 $as_echo "$gl_cv_opt_valgrind_tests" >&6; } if test "$gl_cv_opt_valgrind_tests" != no; then VALGRIND="$VALGRIND $gl_cv_opt_valgrind_tests" else VALGRIND= fi fi fi if test $ac_cv_func_vasnprintf = no; then gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" if test $ac_cv_func_vasnprintf = yes; then $as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes; then : else $as_echo "#define ptrdiff_t long" >>confdefs.h fi fi for ac_func in vasprintf do : ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" if test "x$ac_cv_func_vasprintf" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VASPRINTF 1 _ACEOF fi done if test $ac_cv_func_vasprintf = no; then gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext" if test $ac_cv_func_vasprintf = yes; then REPLACE_VASPRINTF=1 else HAVE_VASPRINTF=0 fi fi GNULIB_VASPRINTF=1 $as_echo "#define GNULIB_TEST_VASPRINTF 1" >>confdefs.h XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format" XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format" # Check whether --with-packager was given. if test "${with_packager+set}" = set; then : withval=$with_packager; case $withval in yes|no) ;; *) cat >>confdefs.h <<_ACEOF #define PACKAGE_PACKAGER "$withval" _ACEOF ;; esac fi # Check whether --with-packager-version was given. if test "${with_packager_version+set}" = set; then : withval=$with_packager_version; case $withval in yes|no) ;; *) cat >>confdefs.h <<_ACEOF #define PACKAGE_PACKAGER_VERSION "$withval" _ACEOF ;; esac fi # Check whether --with-packager-bug-reports was given. if test "${with_packager_bug_reports+set}" = set; then : withval=$with_packager_bug_reports; case $withval in yes|no) ;; *) cat >>confdefs.h <<_ACEOF #define PACKAGE_PACKAGER_BUG_REPORTS "$withval" _ACEOF ;; esac fi if test "X$with_packager" = "X" && \ test "X$with_packager_version$with_packager_bug_reports" != "X" then as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_wchar_h='<'wchar.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_wchar_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_wchar_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'wchar.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_wchar_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_wchar_h gl_cv_next_wchar_h='"'$gl_header'"' else gl_cv_next_wchar_h='<'wchar.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 $as_echo "$gl_cv_next_wchar_h" >&6; } fi NEXT_WCHAR_H=$gl_cv_next_wchar_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'wchar.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_wchar_h fi NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi if test $ac_cv_func_iswcntrl = yes; then HAVE_ISWCNTRL=1 else HAVE_ISWCNTRL=0 fi if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_wctype_h='<'wctype.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_wctype_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_wctype_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'wctype.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_wctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_wctype_h gl_cv_next_wctype_h='"'$gl_header'"' else gl_cv_next_wctype_h='<'wctype.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 $as_echo "$gl_cv_next_wctype_h" >&6; } fi NEXT_WCTYPE_H=$gl_cv_next_wctype_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'wctype.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_wctype_h fi NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive if test $ac_cv_header_wctype_h = yes; then if test $ac_cv_func_iswcntrl = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 $as_echo_n "checking whether iswcntrl works... " >&6; } if ${gl_cv_func_iswcntrl_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if __GNU_LIBRARY__ == 1 Linux libc5 i18n is broken. #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_iswcntrl_works="guessing yes" else gl_cv_func_iswcntrl_works="guessing no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #include int main () { return iswprint ('x') == 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_iswcntrl_works=yes else gl_cv_func_iswcntrl_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 $as_echo "$gl_cv_func_iswcntrl_works" >&6; } fi HAVE_WCTYPE_H=1 else HAVE_WCTYPE_H=0 fi case "$gl_cv_func_iswcntrl_works" in *yes) REPLACE_ISWCNTRL=0 ;; *) REPLACE_ISWCNTRL=1 ;; esac if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then : fi if test $REPLACE_ISWCNTRL = 1; then REPLACE_TOWLOWER=1 else for ac_func in towlower do : ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower" if test "x$ac_cv_func_towlower" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_TOWLOWER 1 _ACEOF fi done if test $ac_cv_func_towlower = yes; then REPLACE_TOWLOWER=0 else ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #if HAVE_WCTYPE_H # include #endif " if test "x$ac_cv_have_decl_towlower" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_TOWLOWER $ac_have_decl _ACEOF if test $ac_cv_have_decl_towlower = yes; then REPLACE_TOWLOWER=1 else REPLACE_TOWLOWER=0 fi fi fi if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then : fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 $as_echo_n "checking for wctype_t... " >&6; } if ${gl_cv_type_wctype_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #if HAVE_WCTYPE_H # include #endif wctype_t a; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_wctype_t=yes else gl_cv_type_wctype_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5 $as_echo "$gl_cv_type_wctype_t" >&6; } if test $gl_cv_type_wctype_t = no; then HAVE_WCTYPE_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 $as_echo_n "checking for wctrans_t... " >&6; } if ${gl_cv_type_wctrans_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #include wctrans_t a; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_wctrans_t=yes else gl_cv_type_wctrans_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5 $as_echo "$gl_cv_type_wctrans_t" >&6; } if test $gl_cv_type_wctrans_t = no; then HAVE_WCTRANS_T=0 fi case "$host_os" in mingw*) gl_LIBOBJS="$gl_LIBOBJS windows-mutex.$ac_objext" ;; esac case "$host_os" in mingw*) gl_LIBOBJS="$gl_LIBOBJS windows-once.$ac_objext" ;; esac case "$host_os" in mingw*) gl_LIBOBJS="$gl_LIBOBJS windows-recmutex.$ac_objext" ;; esac case "$host_os" in mingw*) gl_LIBOBJS="$gl_LIBOBJS windows-rwlock.$ac_objext" ;; esac : for ac_header in stdint.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H 1 _ACEOF fi done # End of code from modules gltests_libdeps= gltests_ltlibdeps= gl_source_base='gltests' gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS gl_module_indicator_condition=$gltests_WITNESS if test $ac_cv_func_btowc = no; then HAVE_BTOWC=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 $as_echo_n "checking whether btowc(0) is correct... " >&6; } if ${gl_cv_func_btowc_nul+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Cygwin. cygwin*) gl_cv_func_btowc_nul="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_btowc_nul="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_btowc_nul="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (btowc ('\0') != 0) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_btowc_nul=yes else gl_cv_func_btowc_nul=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 $as_echo "$gl_cv_func_btowc_nul" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 $as_echo_n "checking whether btowc(EOF) is correct... " >&6; } if ${gl_cv_func_btowc_eof+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on IRIX. irix*) gl_cv_func_btowc_eof="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_btowc_eof="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_btowc_eof="guessing yes" ;; esac if test $LOCALE_FR != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) { if (btowc (EOF) != WEOF) return 1; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_btowc_eof=yes else gl_cv_func_btowc_eof=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 $as_echo "$gl_cv_func_btowc_eof" >&6; } case "$gl_cv_func_btowc_nul" in *yes) ;; *) REPLACE_BTOWC=1 ;; esac case "$gl_cv_func_btowc_eof" in *yes) ;; *) REPLACE_BTOWC=1 ;; esac fi if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then gltests_LIBOBJS="$gltests_LIBOBJS btowc.$ac_objext" : fi if test "$GNULIB_BTOWC" != 1; then if test "$GNULIB_BTOWC" = 0; then GNULIB_BTOWC=$gl_module_indicator_condition else GNULIB_BTOWC="($GNULIB_BTOWC || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_BTOWC 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 $as_echo_n "checking for a traditional french locale... " >&6; } if ${gt_cv_locale_fr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 7 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 $as_echo "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 $as_echo_n "checking for a french Unicode locale... " >&6; } if ${gt_cv_locale_fr_utf8+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 $as_echo "$gt_cv_locale_fr_utf8" >&6; } LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 $as_echo_n "checking for a traditional french locale... " >&6; } if ${gt_cv_locale_fr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 7 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 $as_echo "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5 $as_echo_n "checking for a turkish Unicode locale... " >&6; } if ${gt_cv_locale_tr_utf8+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. But BeOS does not implement the Turkish upper-/lowercase mappings. Therefore, let this program return 1 on BeOS. */ /* Check whether the given locale name is recognized by the system. */ #if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; #else if (setlocale (LC_ALL, "") == NULL) return 1; #endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ #if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } #endif #ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; #endif /* Check whether in the abbreviation of the eighth month, the second character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f) return 1; /* Check whether the upper-/lowercase mappings are as expected for Turkish. */ if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i' || towupper(0x0131) != 'I' || towlower ('I') != 0x0131) return 1; return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=Turkish_Turkey.65001 else # None found. gt_cv_locale_tr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr_TR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr_TR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr.UTF-8 else # None found. gt_cv_locale_tr_utf8=none fi fi fi ;; esac else gt_cv_locale_tr_utf8=none fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5 $as_echo "$gt_cv_locale_tr_utf8" >&6; } LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8 $as_echo "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_ctype_h='<'ctype.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_ctype_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'ctype.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_ctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_ctype_h gl_cv_next_ctype_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_ctype_h" >&5 $as_echo "$gl_cv_next_ctype_h" >&6; } fi NEXT_CTYPE_H=$gl_cv_next_ctype_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'ctype.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_ctype_h fi NEXT_AS_FIRST_DIRECTIVE_CTYPE_H=$gl_next_as_first_directive if test "$GNULIB_ENVIRON" != 1; then if test "$GNULIB_ENVIRON" = 0; then GNULIB_ENVIRON=$gl_module_indicator_condition else GNULIB_ENVIRON="($GNULIB_ENVIRON || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h if test $ac_cv_func_fcntl = no; then if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 $as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; } if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case $host_os in aix* | cygwin* | haiku*) gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif int main () { int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; if (errno != EINVAL) result |= 2; if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; if (errno != EINVAL) result |= 8; /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ { int fd; fd = open (".", O_RDONLY); if (fd == -1) result |= 16; else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) result |= 32; close (fd); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fcntl_f_dupfd_works=yes else gl_cv_func_fcntl_f_dupfd_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5 $as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; } case $gl_cv_func_fcntl_f_dupfd_works in *yes) ;; *) if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi $as_echo "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 $as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef F_DUPFD_CLOEXEC choke me #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __linux__ /* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace it to support the semantics on older kernels that failed with EINVAL. */ choke me #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_fcntl_f_dupfd_cloexec=yes else gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else gl_cv_func_fcntl_f_dupfd_cloexec=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5 $as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi fi fi if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then gltests_LIBOBJS="$gltests_LIBOBJS fcntl.$ac_objext" fi if test "$GNULIB_FCNTL" != 1; then if test "$GNULIB_FCNTL" = 0; then GNULIB_FCNTL=$gl_module_indicator_condition else GNULIB_FCNTL="($GNULIB_FCNTL || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_FCNTL 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_fcntl_h='<'fcntl.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_fcntl_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'fcntl.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_fcntl_h gl_cv_next_fcntl_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 $as_echo "$gl_cv_next_fcntl_h" >&6; } fi NEXT_FCNTL_H=$gl_cv_next_fcntl_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'fcntl.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_fcntl_h fi NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_FDOPEN=1 fi if test $REPLACE_FDOPEN = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fdopen sets errno" >&5 $as_echo_n "checking whether fdopen sets errno... " >&6; } if ${gl_cv_func_fdopen_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in mingw*) gl_cv_func_fdopen_works="guessing no" ;; *) gl_cv_func_fdopen_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { FILE *fp; errno = 0; fp = fdopen (-1, "r"); if (fp == NULL && errno == 0) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fdopen_works=yes else gl_cv_func_fdopen_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopen_works" >&5 $as_echo "$gl_cv_func_fdopen_works" >&6; } case "$gl_cv_func_fdopen_works" in *no) REPLACE_FDOPEN=1 ;; esac fi if test $REPLACE_FDOPEN = 1; then gltests_LIBOBJS="$gltests_LIBOBJS fdopen.$ac_objext" fi if test "$GNULIB_FDOPEN" != 1; then if test "$GNULIB_FDOPEN" = 0; then GNULIB_FDOPEN=$gl_module_indicator_condition else GNULIB_FDOPEN="($GNULIB_FDOPEN || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5 $as_echo_n "checking for flexible array member... " >&6; } if ${ac_cv_c_flexmember+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include struct m { struct m *next, **list; char name[]; }; struct s { struct s *p; struct m *m; int n; double d[]; }; int main () { int m = getchar (); size_t nbytes = offsetof (struct s, d) + m * sizeof (double); nbytes += sizeof (struct s) - 1; nbytes -= nbytes % sizeof (struct s); struct s *p = malloc (nbytes); p->p = p; p->m = NULL; p->d[0] = 0.0; return p->d != (double *) NULL; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_flexmember=yes else ac_cv_c_flexmember=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5 $as_echo "$ac_cv_c_flexmember" >&6; } if test $ac_cv_c_flexmember = yes; then $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h else $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h fi case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in *yes,yes) ;; *) REPLACE_GETCWD=1 ;; esac if test $REPLACE_GETCWD = 1; then gltests_LIBOBJS="$gltests_LIBOBJS getcwd-lgpl.$ac_objext" fi if test "$GNULIB_GETCWD" != 1; then if test "$GNULIB_GETCWD" = 0; then GNULIB_GETCWD=$gl_module_indicator_condition else GNULIB_GETCWD="($GNULIB_GETCWD || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETCWD 1" >>confdefs.h if test $ac_cv_func_getdtablesize = yes && test $ac_cv_have_decl_getdtablesize = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getdtablesize works" >&5 $as_echo_n "checking whether getdtablesize works... " >&6; } if ${gl_cv_func_getdtablesize_works+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;; *) if test "$cross_compiling" = yes; then : case "$host_os" in cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows gl_cv_func_getdtablesize_works="guessing no" ;; *) gl_cv_func_getdtablesize_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int size = getdtablesize(); if (dup2 (0, getdtablesize()) != -1) return 1; if (size != getdtablesize()) return 2; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getdtablesize_works=yes else gl_cv_func_getdtablesize_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getdtablesize_works" >&5 $as_echo "$gl_cv_func_getdtablesize_works" >&6; } case "$gl_cv_func_getdtablesize_works" in *yes | "no (limitation)") ;; *) REPLACE_GETDTABLESIZE=1 ;; esac else HAVE_GETDTABLESIZE=0 fi if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS getdtablesize.$ac_objext" : fi if test "$GNULIB_GETDTABLESIZE" != 1; then if test "$GNULIB_GETDTABLESIZE" = 0; then GNULIB_GETDTABLESIZE=$gl_module_indicator_condition else GNULIB_GETDTABLESIZE="($GNULIB_GETDTABLESIZE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5 $as_echo_n "checking for getpagesize... " >&6; } if ${gl_cv_func_getpagesize+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return getpagesize(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_getpagesize=yes else gl_cv_func_getpagesize=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getpagesize" >&5 $as_echo "$gl_cv_func_getpagesize" >&6; } if test $gl_cv_func_getpagesize = no; then HAVE_GETPAGESIZE=0 for ac_header in OS.h do : ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" if test "x$ac_cv_header_OS_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_OS_H 1 _ACEOF fi done if test $ac_cv_header_OS_h = yes; then HAVE_OS_H=1 fi for ac_header in sys/param.h do : ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" if test "x$ac_cv_header_sys_param_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_PARAM_H 1 _ACEOF fi done if test $ac_cv_header_sys_param_h = yes; then HAVE_SYS_PARAM_H=1 fi fi case "$host_os" in mingw*) REPLACE_GETPAGESIZE=1 ;; esac ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default" if test "x$ac_cv_have_decl_getpagesize" = xyes; then : else HAVE_DECL_GETPAGESIZE=0 fi if test $REPLACE_GETPAGESIZE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS getpagesize.$ac_objext" fi if test "$GNULIB_GETPAGESIZE" != 1; then if test "$GNULIB_GETPAGESIZE" = 0; then GNULIB_GETPAGESIZE=$gl_module_indicator_condition else GNULIB_GETPAGESIZE="($GNULIB_GETPAGESIZE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac HAVE_INET_PTON=1 INET_PTON_LIB= if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $HAVE_WINSOCK2_H = 1; then REPLACE_INET_PTON=1 ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include " if test "x$ac_cv_have_decl_inet_pton" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_PTON $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_pton = yes; then INET_PTON_LIB="-lws2_32" else HAVE_DECL_INET_PTON=0 fi else gl_save_LIBS=$LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5 $as_echo_n "checking for library containing inet_pton... " >&6; } if ${ac_cv_search_inet_pton+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char inet_pton (); int main () { return inet_pton (); ; return 0; } _ACEOF for ac_lib in '' nsl resolv network; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_inet_pton=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_inet_pton+:} false; then : break fi done if ${ac_cv_search_inet_pton+:} false; then : else ac_cv_search_inet_pton=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5 $as_echo "$ac_cv_search_inet_pton" >&6; } ac_res=$ac_cv_search_inet_pton if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" else for ac_func in inet_pton do : ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" if test "x$ac_cv_func_inet_pton" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INET_PTON 1 _ACEOF fi done if test $ac_cv_func_inet_pton = no; then HAVE_INET_PTON=0 fi fi LIBS=$gl_save_LIBS if test "$ac_cv_search_inet_pton" != "no" \ && test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include #if HAVE_NETDB_H # include #endif " if test "x$ac_cv_have_decl_inet_pton" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_PTON $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_pton = no; then HAVE_DECL_INET_PTON=0 fi fi if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1; then gltests_LIBOBJS="$gltests_LIBOBJS inet_pton.$ac_objext" fi if test "$GNULIB_INET_PTON" != 1; then if test "$GNULIB_INET_PTON" = 0; then GNULIB_INET_PTON=$gl_module_indicator_condition else GNULIB_INET_PTON="($GNULIB_INET_PTON || $gl_module_indicator_condition)" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac PRIPTR_PREFIX= if test -n "$STDINT_H"; then PRIPTR_PREFIX='"l"' else for glpfx in '' l ll I64; do case $glpfx in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; I64) gltype1='__int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern intptr_t foo; extern $gltype1 foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : PRIPTR_PREFIX='"'$glpfx'"' fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test -n "$PRIPTR_PREFIX" && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5 $as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; } if ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined INT32_MAX && defined INTMAX_MAX #define CONDITION (INT32_MAX < INTMAX_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (int) < sizeof (long long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes else gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5 $as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; } if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then INT32_MAX_LT_INTMAX_MAX=1; else INT32_MAX_LT_INTMAX_MAX=0; fi if test $APPLE_UNIVERSAL_BUILD = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5 $as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; } if ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined INT64_MAX #define CONDITION (INT64_MAX == LONG_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (long long int) == sizeof (long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes else gl_cv_test_INT64_MAX_EQ_LONG_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5 $as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; } if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then INT64_MAX_EQ_LONG_MAX=1; else INT64_MAX_EQ_LONG_MAX=0; fi else INT64_MAX_EQ_LONG_MAX=-1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5 $as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; } if ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined UINT32_MAX && defined UINTMAX_MAX #define CONDITION (UINT32_MAX < UINTMAX_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes else gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5 $as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; } if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then UINT32_MAX_LT_UINTMAX_MAX=1; else UINT32_MAX_LT_UINTMAX_MAX=0; fi if test $APPLE_UNIVERSAL_BUILD = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5 $as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; } if ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined UINT64_MAX #define CONDITION (UINT64_MAX == ULONG_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes else gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5 $as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; } if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then UINT64_MAX_EQ_ULONG_MAX=1; else UINT64_MAX_EQ_ULONG_MAX=0; fi else UINT64_MAX_EQ_ULONG_MAX=-1 fi if test $ac_cv_func_isblank = no; then HAVE_ISBLANK=0 fi if test $HAVE_ISBLANK = 0; then gltests_LIBOBJS="$gltests_LIBOBJS isblank.$ac_objext" fi if test "$GNULIB_ISBLANK" != 1; then if test "$GNULIB_ISBLANK" = 0; then GNULIB_ISBLANK=$gl_module_indicator_condition else GNULIB_ISBLANK="($GNULIB_ISBLANK || $gl_module_indicator_condition)" fi fi if test $gl_cv_have_include_next = yes; then gl_cv_next_langinfo_h='<'langinfo.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_langinfo_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_langinfo_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'langinfo.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_langinfo_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_langinfo_h gl_cv_next_langinfo_h='"'$gl_header'"' else gl_cv_next_langinfo_h='<'langinfo.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 $as_echo "$gl_cv_next_langinfo_h" >&6; } fi NEXT_LANGINFO_H=$gl_cv_next_langinfo_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'langinfo.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_langinfo_h fi NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive HAVE_LANGINFO_CODESET=0 HAVE_LANGINFO_T_FMT_AMPM=0 HAVE_LANGINFO_ALTMON=0 HAVE_LANGINFO_ERA=0 HAVE_LANGINFO_YESEXPR=0 if test $ac_cv_header_langinfo_h = yes; then HAVE_LANGINFO_H=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 $as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } if ${gl_cv_header_langinfo_codeset+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = CODESET; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_langinfo_codeset=yes else gl_cv_header_langinfo_codeset=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5 $as_echo "$gl_cv_header_langinfo_codeset" >&6; } if test $gl_cv_header_langinfo_codeset = yes; then HAVE_LANGINFO_CODESET=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 $as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = T_FMT_AMPM; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_langinfo_t_fmt_ampm=yes else gl_cv_header_langinfo_t_fmt_ampm=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5 $as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then HAVE_LANGINFO_T_FMT_AMPM=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ALTMON_1" >&5 $as_echo_n "checking whether langinfo.h defines ALTMON_1... " >&6; } if ${gl_cv_header_langinfo_altmon+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = ALTMON_1; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_langinfo_altmon=yes else gl_cv_header_langinfo_altmon=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_altmon" >&5 $as_echo "$gl_cv_header_langinfo_altmon" >&6; } if test $gl_cv_header_langinfo_altmon = yes; then HAVE_LANGINFO_ALTMON=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 $as_echo_n "checking whether langinfo.h defines ERA... " >&6; } if ${gl_cv_header_langinfo_era+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = ERA; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_langinfo_era=yes else gl_cv_header_langinfo_era=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5 $as_echo "$gl_cv_header_langinfo_era" >&6; } if test $gl_cv_header_langinfo_era = yes; then HAVE_LANGINFO_ERA=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 $as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } if ${gl_cv_header_langinfo_yesexpr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int a = YESEXPR; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_langinfo_yesexpr=yes else gl_cv_header_langinfo_yesexpr=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5 $as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } if test $gl_cv_header_langinfo_yesexpr = yes; then HAVE_LANGINFO_YESEXPR=1 fi else HAVE_LANGINFO_H=0 fi case "$host_os" in solaris*) $as_echo "#define _LCONV_C99 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5 $as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; } if ${gl_cv_header_locale_h_posix2001+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = LC_MESSAGES; int y = sizeof (((struct lconv *) 0)->decimal_point); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_locale_h_posix2001=yes else gl_cv_header_locale_h_posix2001=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5 $as_echo "$gl_cv_header_locale_h_posix2001" >&6; } if test $ac_cv_header_xlocale_h = yes; then HAVE_XLOCALE_H=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 $as_echo_n "checking whether locale.h defines locale_t... " >&6; } if ${gl_cv_header_locale_has_locale_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include locale_t x; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_locale_has_locale_t=yes else gl_cv_header_locale_has_locale_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5 $as_echo "$gl_cv_header_locale_has_locale_t" >&6; } if test $gl_cv_header_locale_has_locale_t = yes; then gl_cv_header_locale_h_needs_xlocale_h=no else gl_cv_header_locale_h_needs_xlocale_h=yes fi else HAVE_XLOCALE_H=0 gl_cv_header_locale_h_needs_xlocale_h=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct lconv is properly defined" >&5 $as_echo_n "checking whether struct lconv is properly defined... " >&6; } if ${gl_cv_sys_struct_lconv_ok+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct lconv l; int x = sizeof (l.decimal_point); int y = sizeof (l.int_p_cs_precedes); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_lconv_ok=yes else gl_cv_sys_struct_lconv_ok=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_lconv_ok" >&5 $as_echo "$gl_cv_sys_struct_lconv_ok" >&6; } if test $gl_cv_sys_struct_lconv_ok = no; then REPLACE_STRUCT_LCONV=1 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_locale_h='<'locale.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_locale_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'locale.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_locale_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_locale_h gl_cv_next_locale_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5 $as_echo "$gl_cv_next_locale_h" >&6; } fi NEXT_LOCALE_H=$gl_cv_next_locale_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'locale.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_locale_h fi NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive if test $ac_cv_func_newlocale != yes; then HAVE_NEWLOCALE=0 fi if test $ac_cv_func_duplocale != yes; then HAVE_DUPLOCALE=0 fi if test $ac_cv_func_freelocale != yes; then HAVE_FREELOCALE=0 fi if test $gt_nameless_locales = yes; then REPLACE_NEWLOCALE=1 REPLACE_DUPLOCALE=1 REPLACE_FREELOCALE=1 fi if test "$GNULIB_LOCALENAME" != 1; then if test "$GNULIB_LOCALENAME" = 0; then GNULIB_LOCALENAME=$gl_module_indicator_condition else GNULIB_LOCALENAME="($GNULIB_LOCALENAME || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_LOCALENAME 1" >>confdefs.h if test $ac_cv_func_lstat = yes; then case $host_os,$gl_cv_func_lstat_dereferences_slashed_symlink in solaris* | *no) REPLACE_LSTAT=1 ;; esac else HAVE_LSTAT=0 fi if test $REPLACE_LSTAT = 1; then gltests_LIBOBJS="$gltests_LIBOBJS lstat.$ac_objext" : fi if test "$GNULIB_LSTAT" != 1; then if test "$GNULIB_LSTAT" = 0; then GNULIB_LSTAT=$gl_module_indicator_condition else GNULIB_LSTAT="($GNULIB_LSTAT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_LSTAT 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 $as_echo_n "checking for a traditional french locale... " >&6; } if ${gt_cv_locale_fr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 7 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 $as_echo "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 $as_echo_n "checking for a french Unicode locale... " >&6; } if ${gt_cv_locale_fr_utf8+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 $as_echo "$gt_cv_locale_fr_utf8" >&6; } LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 $as_echo_n "checking for a traditional japanese locale... " >&6; } if ${gt_cv_locale_ja+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales on Cygwin 1.5.x. */ if (MB_CUR_MAX == 1) return 1; /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Note that on native Windows, the Japanese locale is # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we # cannot use it here. gt_cv_locale_ja=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the AIX locale name. if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP else # Test for the locale name with explicit encoding suffix. if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else # Test for the HP-UX, OSF/1, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else # Test for the IRIX, FreeBSD locale name. if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else # Test for the Solaris 7 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else # Special test for NetBSD 1.6. if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then gt_cv_locale_ja=ja_JP.eucJP else # None found. gt_cv_locale_ja=none fi fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 $as_echo "$gt_cv_locale_ja" >&6; } LOCALE_JA=$gt_cv_locale_ja { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 $as_echo_n "checking for a transitional chinese locale... " >&6; } if ${gt_cv_locale_zh_CN+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } /* Check whether a typical GB18030 multibyte sequence is recognized as a single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=Chinese_China.54936 else # None found. gt_cv_locale_zh_CN=none fi ;; solaris2.8) # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. gt_cv_locale_zh_CN=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name without encoding suffix. if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN else # Test for the locale name with explicit encoding suffix. if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN.GB18030 else # None found. gt_cv_locale_zh_CN=none fi fi ;; esac else # If there was a link error, due to mblen(), the system is so old that # it certainly doesn't have a chinese locale. gt_cv_locale_zh_CN=none fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 $as_echo "$gt_cv_locale_zh_CN" >&6; } LOCALE_ZH_CN=$gt_cv_locale_zh_CN { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 $as_echo_n "checking for a french Unicode locale... " >&6; } if ${gt_cv_locale_fr_utf8+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 $as_echo "$gt_cv_locale_fr_utf8" >&6; } LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 for ac_func in mbtowc do : ac_fn_c_check_func "$LINENO" "mbtowc" "ac_cv_func_mbtowc" if test "x$ac_cv_func_mbtowc" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_MBTOWC 1 _ACEOF fi done if test $ac_cv_func_mbtowc = no; then HAVE_MBTOWC=0 else if false; then REPLACE_MBTOWC=1 fi fi if test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1; then gltests_LIBOBJS="$gltests_LIBOBJS mbtowc.$ac_objext" : fi if test "$GNULIB_MBTOWC" != 1; then if test "$GNULIB_MBTOWC" = 0; then GNULIB_MBTOWC=$gl_module_indicator_condition else GNULIB_MBTOWC="($GNULIB_MBTOWC || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes; then : gl_have_mmap=yes else gl_have_mmap=no fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 $as_echo "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi nanosleep_save_libs=$LIBS # Solaris 2.5.1 needs -lposix4 to get the nanosleep function. # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. LIB_NANOSLEEP= { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 $as_echo_n "checking for library containing nanosleep... " >&6; } if ${ac_cv_search_nanosleep+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char nanosleep (); int main () { return nanosleep (); ; return 0; } _ACEOF for ac_lib in '' rt posix4; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_nanosleep=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_nanosleep+:} false; then : break fi done if ${ac_cv_search_nanosleep+:} false; then : else ac_cv_search_nanosleep=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 $as_echo "$ac_cv_search_nanosleep" >&6; } ac_res=$ac_cv_search_nanosleep if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" test "$ac_cv_search_nanosleep" = "none required" || LIB_NANOSLEEP=$ac_cv_search_nanosleep fi if test "x$ac_cv_search_nanosleep" != xno; then if test $APPLE_UNIVERSAL_BUILD = 1; then # A universal build on Apple Mac OS X platforms. # The test result would be 'no (mishandles large arguments)' in 64-bit # mode but 'yes' in 32-bit mode. But we need a configuration result that # is valid in both modes. gl_cv_func_nanosleep='no (mishandles large arguments)' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nanosleep" >&5 $as_echo_n "checking for working nanosleep... " >&6; } if ${gl_cv_func_nanosleep+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in linux*) # Guess it halfway works when the kernel is Linux. gl_cv_func_nanosleep='guessing no (mishandles large arguments)' ;; mingw*) # Guess no on native Windows. gl_cv_func_nanosleep='guessing no' ;; *) # If we don't know, assume the worst. gl_cv_func_nanosleep='guessing no' ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_SYS_TIME_H #include #endif #include #include #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) #if HAVE_DECL_ALARM static void check_for_SIGALRM (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main () { static struct timespec ts_sleep; static struct timespec ts_remaining; /* Test for major problems first. */ if (! nanosleep) return 2; ts_sleep.tv_sec = 0; ts_sleep.tv_nsec = 1; #if HAVE_DECL_ALARM { static struct sigaction act; act.sa_handler = check_for_SIGALRM; sigemptyset (&act.sa_mask); sigaction (SIGALRM, &act, NULL); alarm (1); if (nanosleep (&ts_sleep, NULL) != 0) return 3; /* Test for a minor problem: the handling of large arguments. */ ts_sleep.tv_sec = TYPE_MAXIMUM (time_t); ts_sleep.tv_nsec = 999999999; alarm (1); if (nanosleep (&ts_sleep, &ts_remaining) != -1) return 4; if (errno != EINTR) return 5; if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10) return 6; } #else /* A simpler test for native Windows. */ if (nanosleep (&ts_sleep, &ts_remaining) < 0) return 3; #endif return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_nanosleep=yes else case $? in 4|5|6) gl_cv_func_nanosleep='no (mishandles large arguments)';; *) gl_cv_func_nanosleep=no;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nanosleep" >&5 $as_echo "$gl_cv_func_nanosleep" >&6; } case "$gl_cv_func_nanosleep" in *yes) REPLACE_NANOSLEEP=0 ;; *) REPLACE_NANOSLEEP=1 case "$gl_cv_func_nanosleep" in *"mishandles large arguments"*) $as_echo "#define HAVE_BUG_BIG_NANOSLEEP 1" >>confdefs.h ;; *) # The replacement uses select(). Add $LIBSOCKET to $LIB_NANOSLEEP. for ac_lib in $LIBSOCKET; do case " $LIB_NANOSLEEP " in *" $ac_lib "*) ;; *) LIB_NANOSLEEP="$LIB_NANOSLEEP $ac_lib";; esac done ;; esac ;; esac else HAVE_NANOSLEEP=0 fi LIBS=$nanosleep_save_libs if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then gltests_LIBOBJS="$gltests_LIBOBJS nanosleep.$ac_objext" : fi if test "$GNULIB_NANOSLEEP" != 1; then if test "$GNULIB_NANOSLEEP" = 0; then GNULIB_NANOSLEEP=$gl_module_indicator_condition else GNULIB_NANOSLEEP="($GNULIB_NANOSLEEP || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_NANOSLEEP 1" >>confdefs.h case "$host_os" in mingw* | pw*) REPLACE_OPEN=1 ;; *) if test "$gl_cv_macro_O_CLOEXEC" != yes; then REPLACE_OPEN=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5 $as_echo_n "checking whether open recognizes a trailing slash... " >&6; } if ${gl_cv_func_open_slash+:} false; then : $as_echo_n "(cached) " >&6 else # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then touch conftest.tmp ln -s conftest.tmp conftest.lnk fi if test "$cross_compiling" = yes; then : case "$host_os" in freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) gl_cv_func_open_slash="guessing no" ;; *) gl_cv_func_open_slash="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #endif int main () { int result = 0; #if HAVE_LSTAT if (open ("conftest.lnk/", O_RDONLY) != -1) result |= 1; #endif if (open ("conftest.sl/", O_CREAT, 0600) >= 0) result |= 2; return result; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_open_slash=yes else gl_cv_func_open_slash=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.sl conftest.tmp conftest.lnk fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5 $as_echo "$gl_cv_func_open_slash" >&6; } case "$gl_cv_func_open_slash" in *no) $as_echo "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h REPLACE_OPEN=1 ;; esac ;; esac if test $REPLACE_OPEN = 1; then gltests_LIBOBJS="$gltests_LIBOBJS open.$ac_objext" : fi if test "$GNULIB_OPEN" != 1; then if test "$GNULIB_OPEN" = 0; then GNULIB_OPEN=$gl_module_indicator_condition else GNULIB_OPEN="($GNULIB_OPEN || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_OPEN 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_pthread_h='<'pthread.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_pthread_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_pthread_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'pthread.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_pthread_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_pthread_h gl_cv_next_pthread_h='"'$gl_header'"' else gl_cv_next_pthread_h='<'pthread.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_pthread_h" >&5 $as_echo "$gl_cv_next_pthread_h" >&6; } fi NEXT_PTHREAD_H=$gl_cv_next_pthread_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'pthread.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_pthread_h fi NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H=$gl_next_as_first_directive if test $ac_cv_header_pthread_h = yes && test $gl_threads_api != windows; then HAVE_PTHREAD_H=1 else HAVE_PTHREAD_H=0 fi ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "$ac_includes_default #if HAVE_PTHREAD_H #include #endif " if test "x$ac_cv_type_pthread_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PTHREAD_T 1 _ACEOF fi ac_fn_c_check_type "$LINENO" "pthread_spinlock_t" "ac_cv_type_pthread_spinlock_t" "$ac_includes_default #if HAVE_PTHREAD_H #include #endif " if test "x$ac_cv_type_pthread_spinlock_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PTHREAD_SPINLOCK_T 1 _ACEOF fi if test $ac_cv_type_pthread_t != yes; then HAVE_PTHREAD_T=0 fi if test $ac_cv_type_pthread_spinlock_t != yes; then HAVE_PTHREAD_SPINLOCK_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_CREATE_DETACHED" >&5 $as_echo_n "checking for PTHREAD_CREATE_DETACHED... " >&6; } if ${gl_cv_const_PTHREAD_CREATE_DETACHED+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_CREATE_DETACHED; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_CREATE_DETACHED=yes else gl_cv_const_PTHREAD_CREATE_DETACHED=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_CREATE_DETACHED" >&5 $as_echo "$gl_cv_const_PTHREAD_CREATE_DETACHED" >&6; } if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then HAVE_PTHREAD_CREATE_DETACHED=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_RECURSIVE" >&5 $as_echo_n "checking for PTHREAD_MUTEX_RECURSIVE... " >&6; } if ${gl_cv_const_PTHREAD_MUTEX_RECURSIVE+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_MUTEX_RECURSIVE; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes else gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&5 $as_echo "$gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&6; } if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then HAVE_PTHREAD_MUTEX_RECURSIVE=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ROBUST" >&5 $as_echo_n "checking for PTHREAD_MUTEX_ROBUST... " >&6; } if ${gl_cv_const_PTHREAD_MUTEX_ROBUST+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_MUTEX_ROBUST; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_MUTEX_ROBUST=yes else gl_cv_const_PTHREAD_MUTEX_ROBUST=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_ROBUST" >&5 $as_echo "$gl_cv_const_PTHREAD_MUTEX_ROBUST" >&6; } if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then HAVE_PTHREAD_MUTEX_ROBUST=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PROCESS_SHARED" >&5 $as_echo_n "checking for PTHREAD_PROCESS_SHARED... " >&6; } if ${gl_cv_const_PTHREAD_PROCESS_SHARED+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_PROCESS_SHARED; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_PROCESS_SHARED=yes else gl_cv_const_PTHREAD_PROCESS_SHARED=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_PROCESS_SHARED" >&5 $as_echo "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then HAVE_PTHREAD_PROCESS_SHARED=0 fi LIB_PTHREAD="$LIBMULTITHREAD" if { case "$host_os" in mingw*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 REPLACE_PTHREAD_ATTR_GETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_SETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_DESTROY=1 REPLACE_PTHREAD_SELF=1 REPLACE_PTHREAD_EQUAL=1 REPLACE_PTHREAD_DETACH=1 REPLACE_PTHREAD_JOIN=1 REPLACE_PTHREAD_EXIT=1 else if test $HAVE_PTHREAD_H = 0; then HAVE_PTHREAD_CREATE=0 HAVE_PTHREAD_ATTR_INIT=0 HAVE_PTHREAD_ATTR_GETDETACHSTATE=0 HAVE_PTHREAD_ATTR_SETDETACHSTATE=0 HAVE_PTHREAD_ATTR_DESTROY=0 HAVE_PTHREAD_SELF=0 HAVE_PTHREAD_EQUAL=0 HAVE_PTHREAD_DETACH=0 HAVE_PTHREAD_JOIN=0 HAVE_PTHREAD_EXIT=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create exists as a global function" >&5 $as_echo_n "checking whether pthread_create exists as a global function... " >&6; } if ${gl_cv_func_pthread_create+:} false; then : $as_echo_n "(cached) " >&6 else saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif int pthread_create (void); int main () { return pthread_create (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_pthread_create=yes else gl_cv_func_pthread_create=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_create" >&5 $as_echo "$gl_cv_func_pthread_create" >&6; } if test $gl_cv_func_pthread_create = no; then REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 $as_echo "#define PTHREAD_CREATE_IS_INLINE 1" >>confdefs.h fi fi fi if test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS pthread-thread.$ac_objext" fi if test "$GNULIB_PTHREAD_THREAD" != 1; then if test "$GNULIB_PTHREAD_THREAD" = 0; then GNULIB_PTHREAD_THREAD=$gl_module_indicator_condition else GNULIB_PTHREAD_THREAD="($GNULIB_PTHREAD_THREAD || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PTHREAD_THREAD 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask is a macro" >&5 $as_echo_n "checking whether pthread_sigmask is a macro... " >&6; } if ${gl_cv_func_pthread_sigmask_macro+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifdef pthread_sigmask headers_define_pthread_sigmask #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "headers_define_pthread_sigmask" >/dev/null 2>&1; then : gl_cv_func_pthread_sigmask_macro=yes else gl_cv_func_pthread_sigmask_macro=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_macro" >&5 $as_echo "$gl_cv_func_pthread_sigmask_macro" >&6; } LIB_PTHREAD_SIGMASK= if test $gl_cv_func_pthread_sigmask_macro = yes; then HAVE_PTHREAD_SIGMASK=0 REPLACE_PTHREAD_SIGMASK=1 else if test "$gl_threads_api" = posix; then if test $ac_cv_func_pthread_sigmask = yes; then : else if test -n "$LIBMULTITHREAD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_sigmask in $LIBMULTITHREAD" >&5 $as_echo_n "checking for pthread_sigmask in $LIBMULTITHREAD... " >&6; } if ${gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return pthread_sigmask (0, (sigset_t *) 0, (sigset_t *) 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=yes else gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD" >&5 $as_echo "$gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD" >&6; } if test $gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD = yes; then LIB_PTHREAD_SIGMASK="$LIBMULTITHREAD" else HAVE_PTHREAD_SIGMASK=0 fi else HAVE_PTHREAD_SIGMASK=0 fi fi else if test $ac_cv_func_pthread_sigmask = yes; then REPLACE_PTHREAD_SIGMASK=1 else HAVE_PTHREAD_SIGMASK=0 fi fi fi if test $HAVE_PTHREAD_SIGMASK = 1; then if test -z "$LIB_PTHREAD_SIGMASK"; then case " $LIBS " in *' -pthread '*) ;; *' -lpthread '*) ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask works without -lpthread" >&5 $as_echo_n "checking whether pthread_sigmask works without -lpthread... " >&6; } if ${gl_cv_func_pthread_sigmask_in_libc_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in freebsd* | hpux* | solaris | solaris2.[2-9]*) gl_cv_func_pthread_sigmask_in_libc_works="guessing no";; *) gl_cv_func_pthread_sigmask_in_libc_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { sigset_t set; sigemptyset (&set); return pthread_sigmask (1729, &set, NULL) != 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_pthread_sigmask_in_libc_works=no else gl_cv_func_pthread_sigmask_in_libc_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_in_libc_works" >&5 $as_echo "$gl_cv_func_pthread_sigmask_in_libc_works" >&6; } case "$gl_cv_func_pthread_sigmask_in_libc_works" in *no) REPLACE_PTHREAD_SIGMASK=1 $as_echo "#define PTHREAD_SIGMASK_INEFFECTIVE 1" >>confdefs.h ;; esac;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask returns error numbers" >&5 $as_echo_n "checking whether pthread_sigmask returns error numbers... " >&6; } if ${gl_cv_func_pthread_sigmask_return_works+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_LIBS="$LIBS" LIBS="$LIBS $LIB_PTHREAD_SIGMASK" if test "$cross_compiling" = yes; then : case "$host_os" in cygwin*) gl_cv_func_pthread_sigmask_return_works="guessing no";; *) gl_cv_func_pthread_sigmask_return_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { sigset_t set; sigemptyset (&set); if (pthread_sigmask (1729, &set, NULL) == -1) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_pthread_sigmask_return_works=yes else gl_cv_func_pthread_sigmask_return_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_return_works" >&5 $as_echo "$gl_cv_func_pthread_sigmask_return_works" >&6; } case "$gl_cv_func_pthread_sigmask_return_works" in *no) REPLACE_PTHREAD_SIGMASK=1 $as_echo "#define PTHREAD_SIGMASK_FAILS_WITH_ERRNO 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask unblocks signals correctly" >&5 $as_echo_n "checking whether pthread_sigmask unblocks signals correctly... " >&6; } if ${gl_cv_func_pthread_sigmask_unblock_works+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in irix*) gl_cv_func_pthread_sigmask_unblock_works="guessing no";; *) gl_cv_func_pthread_sigmask_unblock_works="guessing yes";; esac gl_save_LIBS=$LIBS LIBS="$LIBS $LIBMULTITHREAD" if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main () { sigset_t set; int pid = getpid (); char command[80]; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); if (!(pthread_sigmask (SIG_BLOCK, &set, NULL) == 0)) return 1; sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); if (!(system (command) == 0)) return 2; sleep (2); if (!(sigint_occurred == 0)) return 3; if (!(pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0)) return 4; if (!(sigint_occurred == 1)) /* This fails on IRIX. */ return 5; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : : else gl_cv_func_pthread_sigmask_unblock_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS=$gl_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_unblock_works" >&5 $as_echo "$gl_cv_func_pthread_sigmask_unblock_works" >&6; } case "$gl_cv_func_pthread_sigmask_unblock_works" in *no) REPLACE_PTHREAD_SIGMASK=1 $as_echo "#define PTHREAD_SIGMASK_UNBLOCK_BUG 1" >>confdefs.h ;; esac fi if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then gltests_LIBOBJS="$gltests_LIBOBJS pthread_sigmask.$ac_objext" if test $HAVE_PTHREAD_SIGMASK = 1; then $as_echo "#define HAVE_PTHREAD_SIGMASK 1" >>confdefs.h fi fi if test "$GNULIB_PTHREAD_SIGMASK" != 1; then if test "$GNULIB_PTHREAD_SIGMASK" = 0; then GNULIB_PTHREAD_SIGMASK=$gl_module_indicator_condition else GNULIB_PTHREAD_SIGMASK="($GNULIB_PTHREAD_SIGMASK || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PTHREAD_SIGMASK 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5 $as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; } if ${gl_cv_func_svid_putenv+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_svid_putenv="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_svid_putenv="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Put it in env. */ if (putenv ("CONFTEST_putenv=val")) return 1; /* Try to remove it. */ if (putenv ("CONFTEST_putenv")) return 2; /* Make sure it was deleted. */ if (getenv ("CONFTEST_putenv") != 0) return 3; return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_svid_putenv=yes else gl_cv_func_svid_putenv=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5 $as_echo "$gl_cv_func_svid_putenv" >&6; } case "$gl_cv_func_svid_putenv" in *yes) ;; *) REPLACE_PUTENV=1 ;; esac if test $REPLACE_PUTENV = 1; then gltests_LIBOBJS="$gltests_LIBOBJS putenv.$ac_objext" ac_fn_c_check_decl "$LINENO" "_putenv" "ac_cv_have_decl__putenv" "$ac_includes_default" if test "x$ac_cv_have_decl__putenv" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__PUTENV $ac_have_decl _ACEOF fi if test "$GNULIB_PUTENV" != 1; then if test "$GNULIB_PUTENV" = 0; then GNULIB_PUTENV=$gl_module_indicator_condition else GNULIB_PUTENV="($GNULIB_PUTENV || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PUTENV 1" >>confdefs.h # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes; then : gl_have_mmap=yes else gl_have_mmap=no fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 $as_echo "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi for ac_func in raise do : ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise" if test "x$ac_cv_func_raise" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_RAISE 1 _ACEOF fi done if test $ac_cv_func_raise = no; then HAVE_RAISE=0 else if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_RAISE=1 fi if test $gl_cv_type_sigset_t = yes; then ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" if test "x$ac_cv_func_sigprocmask" = xyes; then : gl_cv_func_sigprocmask=1 fi fi if test -z "$gl_cv_func_sigprocmask"; then HAVE_POSIX_SIGNALBLOCKING=0 fi if test $HAVE_POSIX_SIGNALBLOCKING = 0; then : fi fi if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS raise.$ac_objext" : fi if test "$GNULIB_RAISE" != 1; then if test "$GNULIB_RAISE" = 0; then GNULIB_RAISE=$gl_module_indicator_condition else GNULIB_RAISE="($GNULIB_RAISE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_RAISE 1" >>confdefs.h for ac_header in sched.h do : ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "#if HAVE_SYS_CDEFS_H #include #endif " if test "x$ac_cv_header_sched_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SCHED_H 1 _ACEOF fi done if test $gl_cv_have_include_next = yes; then gl_cv_next_sched_h='<'sched.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sched_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sched.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sched_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sched_h gl_cv_next_sched_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5 $as_echo "$gl_cv_next_sched_h" >&6; } fi NEXT_SCHED_H=$gl_cv_next_sched_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sched.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sched_h fi NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive if test "$ac_cv_header_sched_h" = yes; then HAVE_SCHED_H=1 else HAVE_SCHED_H=0 fi if test "$HAVE_SCHED_H" = 1; then ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#if HAVE_SYS_CDEFS_H #include #endif #include " if test "x$ac_cv_type_struct_sched_param" = xyes; then : HAVE_STRUCT_SCHED_PARAM=1 else HAVE_STRUCT_SCHED_PARAM=0 fi else HAVE_STRUCT_SCHED_PARAM=0 case "$host_os" in os2*) ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include " if test "x$ac_cv_type_struct_sched_param" = xyes; then : HAVE_STRUCT_SCHED_PARAM=1 fi ;; vms) ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include " if test "x$ac_cv_type_struct_sched_param" = xyes; then : HAVE_STRUCT_SCHED_PARAM=1 fi ;; esac fi if test "$ac_cv_header_sys_cdefs_h" = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi if test $ac_cv_func_setenv = no; then HAVE_SETENV=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5 $as_echo_n "checking whether setenv validates arguments... " >&6; } if ${gl_cv_func_setenv_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_setenv_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_setenv_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { int result = 0; { if (setenv ("", "", 0) != -1) result |= 1; else if (errno != EINVAL) result |= 2; } { if (setenv ("a", "=", 1) != 0) result |= 4; else if (strcmp (getenv ("a"), "=") != 0) result |= 8; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_setenv_works=yes else gl_cv_func_setenv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5 $as_echo "$gl_cv_func_setenv_works" >&6; } case "$gl_cv_func_setenv_works" in *yes) ;; *) REPLACE_SETENV=1 ;; esac fi if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then gltests_LIBOBJS="$gltests_LIBOBJS setenv.$ac_objext" fi if test "$GNULIB_SETENV" != 1; then if test "$GNULIB_SETENV" = 0; then GNULIB_SETENV=$gl_module_indicator_condition else GNULIB_SETENV="($GNULIB_SETENV || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SETENV 1" >>confdefs.h case "$host_os" in mingw*) REPLACE_SETLOCALE=1 ;; cygwin*) case `uname -r` in 1.5.*) REPLACE_SETLOCALE=1 ;; esac ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setlocale supports the C locale" >&5 $as_echo_n "checking whether setlocale supports the C locale... " >&6; } if ${gl_cv_func_setlocale_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_setlocale_works="guessing no";; # Guess yes otherwise. *) gl_cv_func_setlocale_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return setlocale (LC_ALL, "C") == NULL; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_setlocale_works=yes else gl_cv_func_setlocale_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setlocale_works" >&5 $as_echo "$gl_cv_func_setlocale_works" >&6; } case "$gl_cv_func_setlocale_works" in *yes) ;; *) REPLACE_SETLOCALE=1 ;; esac ;; esac if test $REPLACE_SETLOCALE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS setlocale.$ac_objext" : fi if test "$GNULIB_SETLOCALE" != 1; then if test "$GNULIB_SETLOCALE" = 0; then GNULIB_SETLOCALE=$gl_module_indicator_condition else GNULIB_SETLOCALE="($GNULIB_SETLOCALE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SETLOCALE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 $as_echo_n "checking for a traditional french locale... " >&6; } if ${gt_cv_locale_fr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 7 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 $as_echo "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 $as_echo_n "checking for a french Unicode locale... " >&6; } if ${gt_cv_locale_fr_utf8+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 $as_echo "$gt_cv_locale_fr_utf8" >&6; } LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 $as_echo_n "checking for a traditional japanese locale... " >&6; } if ${gt_cv_locale_ja+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales on Cygwin 1.5.x. */ if (MB_CUR_MAX == 1) return 1; /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Note that on native Windows, the Japanese locale is # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we # cannot use it here. gt_cv_locale_ja=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the AIX locale name. if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP else # Test for the locale name with explicit encoding suffix. if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else # Test for the HP-UX, OSF/1, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else # Test for the IRIX, FreeBSD locale name. if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else # Test for the Solaris 7 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else # Special test for NetBSD 1.6. if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then gt_cv_locale_ja=ja_JP.eucJP else # None found. gt_cv_locale_ja=none fi fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 $as_echo "$gt_cv_locale_ja" >&6; } LOCALE_JA=$gt_cv_locale_ja { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 $as_echo_n "checking for a transitional chinese locale... " >&6; } if ${gt_cv_locale_zh_CN+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } /* Check whether a typical GB18030 multibyte sequence is recognized as a single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=Chinese_China.54936 else # None found. gt_cv_locale_zh_CN=none fi ;; solaris2.8) # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. gt_cv_locale_zh_CN=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name without encoding suffix. if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN else # Test for the locale name with explicit encoding suffix. if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN.GB18030 else # None found. gt_cv_locale_zh_CN=none fi fi ;; esac else # If there was a link error, due to mblen(), the system is so old that # it certainly doesn't have a chinese locale. gt_cv_locale_zh_CN=none fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 $as_echo "$gt_cv_locale_zh_CN" >&6; } LOCALE_ZH_CN=$gt_cv_locale_zh_CN if test $ac_cv_func_sigaction = yes; then ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include " if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1 _ACEOF fi if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 fi else HAVE_SIGACTION=0 fi if test $HAVE_SIGACTION = 0; then gltests_LIBOBJS="$gltests_LIBOBJS sigaction.$ac_objext" ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" " #include " if test "x$ac_cv_type_siginfo_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SIGINFO_T 1 _ACEOF fi if test $ac_cv_type_siginfo_t = no; then HAVE_SIGINFO_T=0 fi fi if test "$GNULIB_SIGACTION" != 1; then if test "$GNULIB_SIGACTION" = 0; then GNULIB_SIGACTION=$gl_module_indicator_condition else GNULIB_SIGACTION="($GNULIB_SIGACTION || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SIGACTION 1" >>confdefs.h if test $gl_cv_type_sigset_t = yes; then ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" if test "x$ac_cv_func_sigprocmask" = xyes; then : gl_cv_func_sigprocmask=1 fi fi if test -z "$gl_cv_func_sigprocmask"; then HAVE_POSIX_SIGNALBLOCKING=0 fi if test $HAVE_POSIX_SIGNALBLOCKING = 0; then gltests_LIBOBJS="$gltests_LIBOBJS sigprocmask.$ac_objext" : fi if test "$GNULIB_SIGPROCMASK" != 1; then if test "$GNULIB_SIGPROCMASK" = 0; then GNULIB_SIGPROCMASK=$gl_module_indicator_condition else GNULIB_SIGPROCMASK="($GNULIB_SIGPROCMASK || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include " if test "x$ac_cv_have_decl_sleep" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SLEEP $ac_have_decl _ACEOF if test $ac_cv_have_decl_sleep != yes; then HAVE_SLEEP=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5 $as_echo_n "checking for working sleep... " >&6; } if ${gl_cv_func_sleep_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_sleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_sleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_sleep_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (2); } int main () { /* Failure to compile this test due to missing alarm is okay, since all such platforms (mingw) also lack sleep. */ unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ unsigned int remaining; signal (SIGALRM, handle_alarm); alarm (1); remaining = sleep (pentecost); if (remaining > pentecost) return 3; if (remaining <= pentecost - 10) return 4; return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_sleep_works=yes else gl_cv_func_sleep_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5 $as_echo "$gl_cv_func_sleep_works" >&6; } case "$gl_cv_func_sleep_works" in *yes) ;; *) REPLACE_SLEEP=1 ;; esac fi if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then gltests_LIBOBJS="$gltests_LIBOBJS sleep.$ac_objext" fi if test "$GNULIB_SLEEP" != 1; then if test "$GNULIB_SLEEP" = 0; then GNULIB_SLEEP=$gl_module_indicator_condition else GNULIB_SLEEP="($GNULIB_SLEEP || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SLEEP 1" >>confdefs.h case "$host_os" in mingw*) REPLACE_STAT=1 ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } if ${gl_cv_func_stat_file_slash+:} false; then : $as_echo_n "(cached) " >&6 else touch conftest.tmp # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then ln -s conftest.tmp conftest.lnk fi if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_stat_file_slash="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int result = 0; struct stat st; if (!stat ("conftest.tmp/", &st)) result |= 1; #if HAVE_LSTAT if (!stat ("conftest.lnk/", &st)) result |= 2; #endif return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_stat_file_slash=yes else gl_cv_func_stat_file_slash=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.tmp conftest.lnk fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5 $as_echo "$gl_cv_func_stat_file_slash" >&6; } case $gl_cv_func_stat_file_slash in *no) REPLACE_STAT=1 $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h ;; esac case $host_os in solaris*) REPLACE_FSTAT=1 ;; esac ;; esac if test $REPLACE_STAT = 1; then gltests_LIBOBJS="$gltests_LIBOBJS stat.$ac_objext" case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS stat-w32.$ac_objext" ;; esac : fi if test "$GNULIB_STAT" != 1; then if test "$GNULIB_STAT" = 0; then GNULIB_STAT=$gl_module_indicator_condition else GNULIB_STAT="($GNULIB_STAT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_STAT 1" >>confdefs.h if test $ac_cv_func_symlink = no; then HAVE_SYMLINK=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5 $as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; } if ${gl_cv_func_symlink_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_symlink_works="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_symlink_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int result = 0; if (!symlink ("a", "conftest.link/")) result |= 1; if (symlink ("conftest.f", "conftest.lnk2")) result |= 2; else if (!symlink ("a", "conftest.lnk2/")) result |= 4; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_symlink_works=yes else gl_cv_func_symlink_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.f conftest.link conftest.lnk2 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5 $as_echo "$gl_cv_func_symlink_works" >&6; } case "$gl_cv_func_symlink_works" in *yes) ;; *) REPLACE_SYMLINK=1 ;; esac fi if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then gltests_LIBOBJS="$gltests_LIBOBJS symlink.$ac_objext" fi if test "$GNULIB_SYMLINK" != 1; then if test "$GNULIB_SYMLINK" = 0; then GNULIB_SYMLINK=$gl_module_indicator_condition else GNULIB_SYMLINK="($GNULIB_SYMLINK || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SYMLINK 1" >>confdefs.h if test $gl_threads_api = posix; then gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" for ac_func in pthread_atfork do : ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork" if test "x$ac_cv_func_pthread_atfork" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PTHREAD_ATFORK 1 _ACEOF fi done LIBS="$gl_save_LIBS" fi if test $ac_cv_have_decl_unsetenv = no; then HAVE_DECL_UNSETENV=0 fi for ac_func in unsetenv do : ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" if test "x$ac_cv_func_unsetenv" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_UNSETENV 1 _ACEOF fi done if test $ac_cv_func_unsetenv = no; then HAVE_UNSETENV=0 else HAVE_UNSETENV=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 $as_echo_n "checking for unsetenv() return type... " >&6; } if ${gt_cv_func_unsetenv_ret+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #undef _BSD #define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ #include extern #ifdef __cplusplus "C" #endif int unsetenv (const char *name); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_func_unsetenv_ret='int' else gt_cv_func_unsetenv_ret='void' fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5 $as_echo "$gt_cv_func_unsetenv_ret" >&6; } if test $gt_cv_func_unsetenv_ret = 'void'; then $as_echo "#define VOID_UNSETENV 1" >>confdefs.h REPLACE_UNSETENV=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 $as_echo_n "checking whether unsetenv obeys POSIX... " >&6; } if ${gl_cv_func_unsetenv_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_unsetenv_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern char **environ; int main () { char entry1[] = "a=1"; char entry2[] = "b=2"; char *env[] = { entry1, entry2, NULL }; if (putenv ((char *) "a=1")) return 1; if (putenv (entry2)) return 2; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 3; if (!unsetenv ("") || errno != EINVAL) return 4; entry2[0] = 'b'; environ = env; if (!getenv ("a")) return 5; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 6; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_unsetenv_works=yes else gl_cv_func_unsetenv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5 $as_echo "$gl_cv_func_unsetenv_works" >&6; } case "$gl_cv_func_unsetenv_works" in *yes) ;; *) REPLACE_UNSETENV=1 ;; esac fi if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then gltests_LIBOBJS="$gltests_LIBOBJS unsetenv.$ac_objext" fi if test "$GNULIB_UNSETENV" != 1; then if test "$GNULIB_UNSETENV" = 0; then GNULIB_UNSETENV=$gl_module_indicator_condition else GNULIB_UNSETENV="($GNULIB_UNSETENV || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "useconds_t" "ac_cv_type_useconds_t" "$ac_includes_default" if test "x$ac_cv_type_useconds_t" = xyes; then : else $as_echo "#define useconds_t unsigned int" >>confdefs.h fi if test $ac_cv_func_usleep = no; then HAVE_USLEEP=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep allows large arguments" >&5 $as_echo_n "checking whether usleep allows large arguments... " >&6; } if ${gl_cv_func_usleep_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_usleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_usleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_usleep_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !!usleep (1000000); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_usleep_works=yes else gl_cv_func_usleep_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_usleep_works" >&5 $as_echo "$gl_cv_func_usleep_works" >&6; } case "$gl_cv_func_usleep_works" in *yes) ;; *) REPLACE_USLEEP=1 ;; esac fi if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then gltests_LIBOBJS="$gltests_LIBOBJS usleep.$ac_objext" fi if test "$GNULIB_USLEEP" != 1; then if test "$GNULIB_USLEEP" = 0; then GNULIB_USLEEP=$gl_module_indicator_condition else GNULIB_USLEEP="($GNULIB_USLEEP || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_USLEEP 1" >>confdefs.h # Check whether --enable-valgrind-tests was given. if test "${enable_valgrind_tests+set}" = set; then : enableval=$enable_valgrind_tests; opt_valgrind_tests=$enableval else opt_valgrind_tests=yes fi # Run self-tests under valgrind? if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then for ac_prog in valgrind do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_VALGRIND+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$VALGRIND"; then ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_VALGRIND="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi VALGRIND=$ac_cv_prog_VALGRIND if test -n "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 $as_echo "$VALGRIND" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$VALGRIND" && break done if test "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind options for tests" >&5 $as_echo_n "checking for valgrind options for tests... " >&6; } if ${gl_cv_opt_valgrind_tests+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_opt_valgrind_tests="-q --error-exitcode=1 --leak-check=full" $VALGRIND $gl_valgrind_opts ls > /dev/null 2>&1 || gl_cv_opt_valgrind_tests=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_opt_valgrind_tests" >&5 $as_echo "$gl_cv_opt_valgrind_tests" >&6; } if test "$gl_cv_opt_valgrind_tests" != no; then VALGRIND="$VALGRIND $gl_cv_opt_valgrind_tests" else VALGRIND= fi fi fi abs_aux_dir=`cd "$ac_aux_dir"; pwd` if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on AIX and OSF/1. aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_incomplete_state=yes else gl_cv_func_mbrtowc_incomplete_state=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris 8. solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { /* This fails on Solaris 8: mbrtowc returns 2, and sets wc to 0x00F0. mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 6, &state) != 4 && mbtowc (&wc, input + 3, 6) == 4) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_mbrtowc_sanitycheck=yes else gl_cv_func_mbrtowc_sanitycheck=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac case "$gl_cv_func_mbrtowc_sanitycheck" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac else REPLACE_MBSTATE_T=1 fi if test $ac_cv_func_wcrtomb = no; then HAVE_WCRTOMB=0 ac_fn_c_check_decl "$LINENO" "wcrtomb" "ac_cv_have_decl_wcrtomb" " /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include " if test "x$ac_cv_have_decl_wcrtomb" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_WCRTOMB $ac_have_decl _ACEOF if test $ac_cv_have_decl_wcrtomb = yes; then REPLACE_WCRTOMB=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_WCRTOMB=1 fi if test $REPLACE_WCRTOMB = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb works in the C locale" >&5 $as_echo_n "checking whether wcrtomb works in the C locale... " >&6; } if ${gl_cv_func_wcrtomb_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_wcrtomb_works="guessing no";; # Guess yes otherwise. *) gl_cv_func_wcrtomb_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include int main () { mbstate_t state; char out[64]; int count; memset (&state, 0, sizeof (state)); out[0] = 'x'; count = wcrtomb (out, L'a', &state); return !(count == 1 && out[0] == 'a'); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_wcrtomb_works=yes else gl_cv_func_wcrtomb_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_works" >&5 $as_echo "$gl_cv_func_wcrtomb_works" >&6; } case "$gl_cv_func_wcrtomb_works" in *yes) ;; *) REPLACE_WCRTOMB=1 ;; esac fi if test $REPLACE_WCRTOMB = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 $as_echo_n "checking whether wcrtomb return value is correct... " >&6; } if ${gl_cv_func_wcrtomb_retval+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on AIX 4, OSF/1 and Solaris. aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_wcrtomb_retval="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_wcrtomb_retval="guessing yes" ;; esac if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 1; } if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 2; } if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 4; } if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 8; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_wcrtomb_retval=yes else gl_cv_func_wcrtomb_retval=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 $as_echo "$gl_cv_func_wcrtomb_retval" >&6; } case "$gl_cv_func_wcrtomb_retval" in *yes) ;; *) REPLACE_WCRTOMB=1 ;; esac fi fi if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then gltests_LIBOBJS="$gltests_LIBOBJS wcrtomb.$ac_objext" : fi if test "$GNULIB_WCRTOMB" != 1; then if test "$GNULIB_WCRTOMB" = 0; then GNULIB_WCRTOMB=$gl_module_indicator_condition else GNULIB_WCRTOMB="($GNULIB_WCRTOMB || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 $as_echo_n "checking for a traditional french locale... " >&6; } if ${gt_cv_locale_fr+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 7 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 $as_echo "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 $as_echo_n "checking for a french Unicode locale... " >&6; } if ${gt_cv_locale_fr_utf8+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 $as_echo "$gt_cv_locale_fr_utf8" >&6; } LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 $as_echo_n "checking for a traditional japanese locale... " >&6; } if ${gt_cv_locale_ja+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales on Cygwin 1.5.x. */ if (MB_CUR_MAX == 1) return 1; /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Note that on native Windows, the Japanese locale is # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we # cannot use it here. gt_cv_locale_ja=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the AIX locale name. if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP else # Test for the locale name with explicit encoding suffix. if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else # Test for the HP-UX, OSF/1, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else # Test for the IRIX, FreeBSD locale name. if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else # Test for the Solaris 7 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else # Special test for NetBSD 1.6. if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then gt_cv_locale_ja=ja_JP.eucJP else # None found. gt_cv_locale_ja=none fi fi fi fi fi fi ;; esac fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 $as_echo "$gt_cv_locale_ja" >&6; } LOCALE_JA=$gt_cv_locale_ja { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 $as_echo_n "checking for a transitional chinese locale... " >&6; } if ${gt_cv_locale_zh_CN+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } /* Check whether a typical GB18030 multibyte sequence is recognized as a single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=Chinese_China.54936 else # None found. gt_cv_locale_zh_CN=none fi ;; solaris2.8) # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. gt_cv_locale_zh_CN=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name without encoding suffix. if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN else # Test for the locale name with explicit encoding suffix. if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN.GB18030 else # None found. gt_cv_locale_zh_CN=none fi fi ;; esac else # If there was a link error, due to mblen(), the system is so old that # it certainly doesn't have a chinese locale. gt_cv_locale_zh_CN=none fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 $as_echo "$gt_cv_locale_zh_CN" >&6; } LOCALE_ZH_CN=$gt_cv_locale_zh_CN if test $ac_cv_func_wctob = no; then HAVE_WCTOB=0 HAVE_DECL_WCTOB=0 else HAVE_WCTOB=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5 $as_echo_n "checking whether wctob works... " >&6; } if ${gl_cv_func_wctob_works+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris <= 9 and Cygwin. solaris2.[1-9] | solaris2.[1-9].* | cygwin*) gl_cv_func_wctob_works="guessing no" ;; # Guess no on native Windows. mingw*) gl_cv_func_wctob_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_wctob_works="guessing yes" ;; esac case "$host_os" in cygwin*) if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include register long global __asm__ ("%ebx"); int main () { setlocale (LC_ALL, "en_US.UTF-8"); global = 0x12345678; if (wctob (0x00FC) != -1) return 1; if (global != 0x12345678) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : : else gl_cv_func_wctob_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) { wchar_t wc; if (mbtowc (&wc, "\374", 1) == 1) if (wctob (wc) != (unsigned char) '\374') return 1; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_wctob_works=yes else gl_cv_func_wctob_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5 $as_echo "$gl_cv_func_wctob_works" >&6; } case "$gl_cv_func_wctob_works" in *yes) ;; *) REPLACE_WCTOB=1 ;; esac if test $REPLACE_WCTOB = 0; then ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" " /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include " if test "x$ac_cv_have_decl_wctob" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_WCTOB $ac_have_decl _ACEOF if test $ac_cv_have_decl_wctob != yes; then HAVE_DECL_WCTOB=0 fi fi fi if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then gltests_LIBOBJS="$gltests_LIBOBJS wctob.$ac_objext" : fi if test "$GNULIB_WCTOB" != 1; then if test "$GNULIB_WCTOB" = 0; then GNULIB_WCTOB=$gl_module_indicator_condition else GNULIB_WCTOB="($GNULIB_WCTOB || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_WCTOB 1" >>confdefs.h if false; then REPLACE_WCTOMB=1 fi if test $REPLACE_WCTOMB = 1; then gltests_LIBOBJS="$gltests_LIBOBJS wctomb.$ac_objext" : fi if test "$GNULIB_WCTOMB" != 1; then if test "$GNULIB_WCTOMB" = 0; then GNULIB_WCTOMB=$gl_module_indicator_condition else GNULIB_WCTOMB="($GNULIB_WCTOMB || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_WCTOMB 1" >>confdefs.h case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-thread.$ac_objext" ;; esac case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-tls.$ac_objext" ;; esac LIBTESTS_LIBDEPS="$gltests_libdeps" $as_echo "#define GNULIB_NO_VLA 1" >>confdefs.h if test "$gl_cv_func_wsastartup" = "yes"; then WINDOWS_TRUE= WINDOWS_FALSE='#' else WINDOWS_TRUE='#' WINDOWS_FALSE= fi # Check for Lasso. For examples/saml20/. Disabled by default on Windows. lasso_default=yes if test "$gl_cv_func_wsastartup" = "yes"; then lasso_default=no fi # Check whether --with-lasso was given. if test "${with_lasso+set}" = set; then : withval=$with_lasso; lasso=$withval else lasso=$lasso_default fi if test "$lasso" != "no"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LASSO" >&5 $as_echo_n "checking for LASSO... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LASSO_CFLAGS"; then pkg_cv_LASSO_CFLAGS="$LASSO_CFLAGS" else if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lasso >= 2.2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lasso >= 2.2.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LASSO_CFLAGS=`$PKG_CONFIG --cflags "lasso >= 2.2.1" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$LASSO_LIBS"; then pkg_cv_LASSO_LIBS="$LASSO_LIBS" else if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lasso >= 2.2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "lasso >= 2.2.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LASSO_LIBS=`$PKG_CONFIG --libs "lasso >= 2.2.1" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LASSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lasso >= 2.2.1"` else LASSO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lasso >= 2.2.1"` fi # Put the nasty error message in config.log where it belongs echo "$LASSO_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } lasso=no elif test $pkg_failed = untried; then lasso=no else LASSO_CFLAGS=$pkg_cv_LASSO_CFLAGS LASSO_LIBS=$pkg_cv_LASSO_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } lasso=yes fi LASSO_CFLAGS=`echo $pkg_cv_LASSO_CFLAGS | sed -e 's,\\\\,,g'` fi if test "$lasso" = "yes"; then LASSO_TRUE= LASSO_FALSE='#' else LASSO_TRUE='#' LASSO_FALSE= fi # Check whether --enable-gcc-warnings was given. if test "${enable_gcc_warnings+set}" = set; then : enableval=$enable_gcc_warnings; case $enableval in yes|no) ;; *) as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;; esac gl_gcc_warnings=$enableval else gl_gcc_warnings=no fi if test "$gl_gcc_warnings" = yes; then ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror -Wunknown-warning-option" >&5 $as_echo_n "checking whether C compiler handles -Werror -Wunknown-warning-option... " >&6; } if ${gl_cv_warn_c__Werror__Wunknown_warning_option+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__Werror__Wunknown_warning_option=yes else gl_cv_warn_c__Werror__Wunknown_warning_option=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror__Wunknown_warning_option" >&5 $as_echo "$gl_cv_warn_c__Werror__Wunknown_warning_option" >&6; } if test "x$gl_cv_warn_c__Werror__Wunknown_warning_option" = xyes; then : gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' else gl_unknown_warnings_are_errors= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror" >&5 $as_echo_n "checking whether C compiler handles -Werror... " >&6; } if ${gl_cv_warn_c__Werror+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__Werror=yes else gl_cv_warn_c__Werror=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror" >&5 $as_echo "$gl_cv_warn_c__Werror" >&6; } if test "x$gl_cv_warn_c__Werror" = xyes; then : as_fn_append WERROR_CFLAGS " -Werror" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wframe-larger-than=250" >&5 $as_echo_n "checking whether C compiler handles -Wframe-larger-than=250... " >&6; } if ${gl_cv_warn_c__Wframe_larger_than_250+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wframe-larger-than=250" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__Wframe_larger_than_250=yes else gl_cv_warn_c__Wframe_larger_than_250=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wframe_larger_than_250" >&5 $as_echo "$gl_cv_warn_c__Wframe_larger_than_250" >&6; } if test "x$gl_cv_warn_c__Wframe_larger_than_250" = xyes; then : as_fn_append WSTACK_CFLAGS " -Wframe-larger-than=250" fi nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings nw="$nw -Wpadded" # Our structs are not padded nw="$nw -Wundef" # warns on '#if GNULIB_FOO' etc in gnulib nw="$nw -Wc++-compat" # We don't care strongly about C++ compilers nw="$nw -Wswitch-enum" # Too many warnings for now nw="$nw -Wconversion" # Too many warnings for now nw="$nw -Wsign-conversion" # Too many warnings for now nw="$nw -Wtraditional" # Warns on #elif which we use often nw="$nw -Wtraditional-conversion" # Too many warnings for now nw="$nw -Wunreachable-code" # Too many false positives nw="$nw -Wsuggest-attribute=pure" # Is it worth using attributes? nw="$nw -Wsuggest-attribute=const" # Is it worth using attributes? ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$GCC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5 $as_echo_n "checking whether -Wno-missing-field-initializers is supported... " >&6; } if ${gl_cv_cc_nomfi_supported+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_nomfi_supported=yes else gl_cv_cc_nomfi_supported=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5 $as_echo "$gl_cv_cc_nomfi_supported" >&6; } if test "$gl_cv_cc_nomfi_supported" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5 $as_echo_n "checking whether -Wno-missing-field-initializers is needed... " >&6; } if ${gl_cv_cc_nomfi_needed+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -W -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int f (void) { typedef struct { int a; int b; } s_t; s_t s1 = { 0, }; return s1.b; } int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_nomfi_needed=no else gl_cv_cc_nomfi_needed=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5 $as_echo "$gl_cv_cc_nomfi_needed" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wuninitialized is supported" >&5 $as_echo_n "checking whether -Wuninitialized is supported... " >&6; } if ${gl_cv_cc_uninitialized_supported+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror -Wuninitialized" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_uninitialized_supported=yes else gl_cv_cc_uninitialized_supported=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_uninitialized_supported" >&5 $as_echo "$gl_cv_cc_uninitialized_supported" >&6; } fi # List all gcc warning categories. # To compare this list to your installed GCC's, run this Bash command: # # comm -3 \ # <((sed -n 's/^ *\(-[^ 0-9][^ ]*\) .*/\1/p' manywarnings.m4; \ # awk '/^[^#]/ {print ws}' ../build-aux/gcc-warning.spec) | sort) \ # <(LC_ALL=C gcc --help=warnings | sed -n 's/^ \(-[^ ]*\) .*/\1/p' | sort) gl_manywarn_set= for gl_manywarn_item in -fno-common \ -W \ -Wabsolute-value \ -Waddress \ -Waddress-of-packed-member \ -Waggressive-loop-optimizations \ -Wall \ -Wattribute-warning \ -Wattributes \ -Wbad-function-cast \ -Wbool-compare \ -Wbool-operation \ -Wbuiltin-declaration-mismatch \ -Wbuiltin-macro-redefined \ -Wcannot-profile \ -Wcast-align \ -Wcast-align=strict \ -Wcast-function-type \ -Wchar-subscripts \ -Wclobbered \ -Wcomment \ -Wcomments \ -Wcoverage-mismatch \ -Wcpp \ -Wdangling-else \ -Wdate-time \ -Wdeprecated \ -Wdeprecated-declarations \ -Wdesignated-init \ -Wdisabled-optimization \ -Wdiscarded-array-qualifiers \ -Wdiscarded-qualifiers \ -Wdiv-by-zero \ -Wdouble-promotion \ -Wduplicated-branches \ -Wduplicated-cond \ -Wduplicate-decl-specifier \ -Wempty-body \ -Wendif-labels \ -Wenum-compare \ -Wexpansion-to-defined \ -Wextra \ -Wformat-contains-nul \ -Wformat-extra-args \ -Wformat-nonliteral \ -Wformat-security \ -Wformat-signedness \ -Wformat-y2k \ -Wformat-zero-length \ -Wframe-address \ -Wfree-nonheap-object \ -Whsa \ -Wif-not-aligned \ -Wignored-attributes \ -Wignored-qualifiers \ -Wimplicit \ -Wimplicit-function-declaration \ -Wimplicit-int \ -Wincompatible-pointer-types \ -Winit-self \ -Winline \ -Wint-conversion \ -Wint-in-bool-context \ -Wint-to-pointer-cast \ -Winvalid-memory-model \ -Winvalid-pch \ -Wlogical-not-parentheses \ -Wlogical-op \ -Wmain \ -Wmaybe-uninitialized \ -Wmemset-elt-size \ -Wmemset-transposed-args \ -Wmisleading-indentation \ -Wmissing-attributes \ -Wmissing-braces \ -Wmissing-declarations \ -Wmissing-field-initializers \ -Wmissing-include-dirs \ -Wmissing-parameter-type \ -Wmissing-profile \ -Wmissing-prototypes \ -Wmultichar \ -Wmultistatement-macros \ -Wnarrowing \ -Wnested-externs \ -Wnonnull \ -Wnonnull-compare \ -Wnull-dereference \ -Wodr \ -Wold-style-declaration \ -Wold-style-definition \ -Wopenmp-simd \ -Woverflow \ -Woverlength-strings \ -Woverride-init \ -Wpacked \ -Wpacked-bitfield-compat \ -Wpacked-not-aligned \ -Wparentheses \ -Wpointer-arith \ -Wpointer-compare \ -Wpointer-sign \ -Wpointer-to-int-cast \ -Wpragmas \ -Wpsabi \ -Wrestrict \ -Wreturn-local-addr \ -Wreturn-type \ -Wscalar-storage-order \ -Wsequence-point \ -Wshadow \ -Wshift-count-negative \ -Wshift-count-overflow \ -Wshift-negative-value \ -Wsizeof-array-argument \ -Wsizeof-pointer-div \ -Wsizeof-pointer-memaccess \ -Wstack-protector \ -Wstrict-aliasing \ -Wstrict-overflow \ -Wstrict-prototypes \ -Wstringop-truncation \ -Wsuggest-attribute=cold \ -Wsuggest-attribute=const \ -Wsuggest-attribute=format \ -Wsuggest-attribute=malloc \ -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=pure \ -Wsuggest-final-methods \ -Wsuggest-final-types \ -Wswitch \ -Wswitch-bool \ -Wswitch-unreachable \ -Wsync-nand \ -Wsystem-headers \ -Wtautological-compare \ -Wtrampolines \ -Wtrigraphs \ -Wtype-limits \ -Wuninitialized \ -Wunknown-pragmas \ -Wunsafe-loop-optimizations \ -Wunused \ -Wunused-but-set-parameter \ -Wunused-but-set-variable \ -Wunused-function \ -Wunused-label \ -Wunused-local-typedefs \ -Wunused-macros \ -Wunused-parameter \ -Wunused-result \ -Wunused-value \ -Wunused-variable \ -Wvarargs \ -Wvariadic-macros \ -Wvector-operation-performance \ -Wvla \ -Wvolatile-register-var \ -Wwrite-strings \ \ ; do gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" done # gcc --help=warnings outputs an unusual form for these options; list # them here so that the above 'comm' command doesn't report a false match. # Would prefer "min (PTRDIFF_MAX, SIZE_MAX)", but it must be a literal. # Also, AC_COMPUTE_INT requires it to fit in a long; it is 2**63 on # the only platforms where it does not fit in a long, so make that # a special case. { $as_echo "$as_me:${as_lineno-$LINENO}: checking max safe object size" >&5 $as_echo_n "checking max safe object size... " >&6; } if ac_fn_c_compute_int "$LINENO" "LONG_MAX < (PTRDIFF_MAX < (size_t) -1 ? PTRDIFF_MAX : (size_t) -1) ? -1 : PTRDIFF_MAX < (size_t) -1 ? (long) PTRDIFF_MAX : (long) (size_t) -1" "gl_alloc_max" "#include #include #include "; then : else gl_alloc_max=2147483647 fi case $gl_alloc_max in -1) gl_alloc_max=9223372036854775807;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_alloc_max" >&5 $as_echo "$gl_alloc_max" >&6; } gl_manywarn_set="$gl_manywarn_set -Walloc-size-larger-than=$gl_alloc_max" gl_manywarn_set="$gl_manywarn_set -Warray-bounds=2" gl_manywarn_set="$gl_manywarn_set -Wattribute-alias=2" gl_manywarn_set="$gl_manywarn_set -Wformat-overflow=2" gl_manywarn_set="$gl_manywarn_set -Wformat-truncation=2" gl_manywarn_set="$gl_manywarn_set -Wimplicit-fallthrough=5" gl_manywarn_set="$gl_manywarn_set -Wnormalized=nfc" gl_manywarn_set="$gl_manywarn_set -Wshift-overflow=2" gl_manywarn_set="$gl_manywarn_set -Wstringop-overflow=2" gl_manywarn_set="$gl_manywarn_set -Wunused-const-variable=2" gl_manywarn_set="$gl_manywarn_set -Wvla-larger-than=4031" # These are needed for older GCC versions. if test -n "$GCC"; then case `($CC --version) 2>/dev/null` in 'gcc (GCC) '[0-3].* | \ 'gcc (GCC) '4.[0-7].*) gl_manywarn_set="$gl_manywarn_set -fdiagnostics-show-option" gl_manywarn_set="$gl_manywarn_set -funit-at-a-time" ;; esac fi # Disable specific options as needed. if test "$gl_cv_cc_nomfi_needed" = yes; then gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" fi if test "$gl_cv_cc_uninitialized_supported" = no; then gl_manywarn_set="$gl_manywarn_set -Wno-uninitialized" fi ws=$gl_manywarn_set ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu gl_warn_set= set x $ws; shift for gl_warn_item do case " $nw " in *" $gl_warn_item "*) ;; *) gl_warn_set="$gl_warn_set $gl_warn_item" ;; esac done ws=$gl_warn_set for w in $ws; do as_gl_Warn=`$as_echo "gl_cv_warn_c_$w" | $as_tr_sh` gl_positive="$w" case $gl_positive in -Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $w" >&5 $as_echo_n "checking whether C compiler handles $w... " >&6; } if eval \${$as_gl_Warn+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors $gl_positive" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$as_gl_Warn=yes" else eval "$as_gl_Warn=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi eval ac_res=\$$as_gl_Warn { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : as_fn_append WARN_CFLAGS " $w" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-missing-field-initializers" >&5 $as_echo_n "checking whether C compiler handles -Wno-missing-field-initializers... " >&6; } if ${gl_cv_warn_c__Wno_missing_field_initializers+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-field-initializers" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__Wno_missing_field_initializers=yes else gl_cv_warn_c__Wno_missing_field_initializers=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_missing_field_initializers" >&5 $as_echo "$gl_cv_warn_c__Wno_missing_field_initializers" >&6; } if test "x$gl_cv_warn_c__Wno_missing_field_initializers" = xyes; then : as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-parameter" >&5 $as_echo_n "checking whether C compiler handles -Wno-unused-parameter... " >&6; } if ${gl_cv_warn_c__Wno_unused_parameter+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-parameter" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__Wno_unused_parameter=yes else gl_cv_warn_c__Wno_unused_parameter=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_parameter" >&5 $as_echo "$gl_cv_warn_c__Wno_unused_parameter" >&6; } if test "x$gl_cv_warn_c__Wno_unused_parameter" = xyes; then : as_fn_append WARN_CFLAGS " -Wno-unused-parameter" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-sign-compare" >&5 $as_echo_n "checking whether C compiler handles -Wno-sign-compare... " >&6; } if ${gl_cv_warn_c__Wno_sign_compare+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__Wno_sign_compare=yes else gl_cv_warn_c__Wno_sign_compare=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_sign_compare" >&5 $as_echo "$gl_cv_warn_c__Wno_sign_compare" >&6; } if test "x$gl_cv_warn_c__Wno_sign_compare" = xyes; then : as_fn_append WARN_CFLAGS " -Wno-sign-compare" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-deprecated-declarations" >&5 $as_echo_n "checking whether C compiler handles -Wno-deprecated-declarations... " >&6; } if ${gl_cv_warn_c__Wno_deprecated_declarations+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wdeprecated-declarations" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__Wno_deprecated_declarations=yes else gl_cv_warn_c__Wno_deprecated_declarations=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_deprecated_declarations" >&5 $as_echo "$gl_cv_warn_c__Wno_deprecated_declarations" >&6; } if test "x$gl_cv_warn_c__Wno_deprecated_declarations" = xyes; then : as_fn_append WARN_CFLAGS " -Wno-deprecated-declarations" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5 $as_echo_n "checking whether C compiler handles -fdiagnostics-show-option... " >&6; } if ${gl_cv_warn_c__fdiagnostics_show_option+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -fdiagnostics-show-option" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_warn_c__fdiagnostics_show_option=yes else gl_cv_warn_c__fdiagnostics_show_option=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_save_compiler_FLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__fdiagnostics_show_option" >&5 $as_echo "$gl_cv_warn_c__fdiagnostics_show_option" >&6; } if test "x$gl_cv_warn_c__fdiagnostics_show_option" = xyes; then : as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" fi fi # Export things for lib/configure.ac. export WARN_CFLAGS subdirs="$subdirs lib" ac_config_files="$ac_config_files Makefile doc/Makefile doc/cyclo/Makefile doc/doxygen/Doxyfile doc/reference/Makefile doc/reference/version.xml examples/Makefile examples/openid20/Makefile examples/saml20/Makefile gl/Makefile gltests/Makefile po/Makefile.in src/Makefile tests/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${OBSOLETE_TRUE}" && test -z "${OBSOLETE_FALSE}"; then as_fn_error $? "conditional \"OBSOLETE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_FLOAT_H_TRUE}" && test -z "${GL_GENERATE_FLOAT_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_FLOAT_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi CONFIG_INCLUDE=config.h if test -z "${GL_GENERATE_NETINET_IN_H_TRUE}" && test -z "${GL_GENERATE_NETINET_IN_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_NETINET_IN_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDALIGN_H_TRUE}" && test -z "${GL_GENERATE_STDALIGN_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDALIGN_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDARG_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE}"; then as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE}"; then as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi gl_libobjs= gl_ltlibobjs= if test -n "$gl_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs $i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs $i.lo" done fi gl_LIBOBJS=$gl_libobjs gl_LTLIBOBJS=$gl_ltlibobjs gltests_libobjs= gltests_ltlibobjs= if test -n "$gltests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs $i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" done fi gltests_LIBOBJS=$gltests_libobjs gltests_LTLIBOBJS=$gltests_ltlibobjs if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then as_fn_error $? "conditional \"WINDOWS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${LASSO_TRUE}" && test -z "${LASSO_FALSE}"; then as_fn_error $? "conditional \"LASSO\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by GNU SASL $as_me 1.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_links="$ac_config_links" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration links: $config_links Configuration commands: $config_commands Report bugs to . GNU SASL home page: . General help using GNU software: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ GNU SASL config.status 1.8.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" # 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' AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 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 AS \ DLLTOOL \ OBJDUMP \ SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_import \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_nm_interface \ nm_file_list_spec \ lt_cv_truncate_bin \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; 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 reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ configure_time_dlsearch_path \ configure_time_lt_sys_library_path; 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 ac_aux_dir='$ac_aux_dir' # 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 PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile' # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" GNUmakefile=$GNUmakefile _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/cyclo/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cyclo/Makefile" ;; "doc/doxygen/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Doxyfile" ;; "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;; "doc/reference/version.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/version.xml" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "examples/openid20/Makefile") CONFIG_FILES="$CONFIG_FILES examples/openid20/Makefile" ;; "examples/saml20/Makefile") CONFIG_FILES="$CONFIG_FILES examples/saml20/Makefile" ;; "gl/Makefile") CONFIG_FILES="$CONFIG_FILES gl/Makefile" ;; "gltests/Makefile") CONFIG_FILES="$CONFIG_FILES gltests/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :L) # # CONFIG_LINK # if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then : else # Prefer the file from the source tree if names are identical. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then ac_source=$srcdir/$ac_source fi { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;} if test ! -r "$ac_source"; then as_fn_error $? "$ac_source: file not found" "$LINENO" 5 fi rm -f "$ac_file" # Try a relative symlink, then a hard link, then a copy. case $ac_source in [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; *) ac_rel_source=$ac_top_build_prefix$ac_source ;; esac ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || ln "$ac_source" "$ac_file" 2>/dev/null || cp -p "$ac_source" "$ac_file" || as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 fi ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. case $CONFIG_FILES in #( *\'*) : eval set x "$CONFIG_FILES" ;; #( *) : set x $CONFIG_FILES ;; #( *) : ;; esac shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`$as_dirname -- "$am_mf" || $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` am_filepart=`$as_basename -- "$am_mf" || $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` { echo "$as_me:$LINENO: cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles" >&5 (cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See \`config.log' for more details" "$LINENO" 5; } fi { am_dirpart=; unset am_dirpart;} { am_filepart=; unset am_filepart;} { am_mf=; unset am_mf;} { am_rc=; unset am_rc;} rm -f conftest-deps.mk } ;; "libtool":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 # 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 . # The names of the tagged configurations supported by this script. available_tags='' # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG # Assembler program. AS=$lt_AS # DLL creation program. DLLTOOL=$lt_DLLTOOL # Object dumper program. OBJDUMP=$lt_OBJDUMP # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shared archive member basename,for filename based shared library versioning on AIX. shared_archive_member_spec=$shared_archive_member_spec # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm into a list of symbols to manually relocate. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # The name lister interface. nm_interface=$lt_lt_cv_nm_interface # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and where our libraries should be installed. lt_sysroot=$lt_sysroot # Command to truncate a binary pipe. lt_truncate_bin=$lt_lt_cv_truncate_bin # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Detected run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # 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. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE # 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$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; 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-%%"` } # ### 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 ltmain=$ac_aux_dir/ltmain.sh # 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" ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi # # CONFIG_SUBDIRS section. # if test "$no_recursion" != yes; then # Remove --cache-file, --srcdir, and --disable-option-checking arguments # so they do not pile up. ac_sub_configure_args= ac_prev= eval "set x $ac_configure_args" shift for ac_arg do if test -n "$ac_prev"; then ac_prev= continue fi case $ac_arg in -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | --c=*) ;; --config-cache | -C) ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ;; --disable-option-checking) ;; *) case $ac_arg in *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_sub_configure_args " '$ac_arg'" ;; esac done # Always prepend --prefix to ensure using the same prefix # in subdir configurations. ac_arg="--prefix=$prefix" case $ac_arg in *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" # Pass --silent if test "$silent" = yes; then ac_sub_configure_args="--silent $ac_sub_configure_args" fi # Always prepend --disable-option-checking to silence warnings, since # different subdirs can have different --enable and --with options. ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" ac_popdir=`pwd` for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue # Do not complain, so a configure script can configure whichever # parts of a large source tree are present. test -d "$srcdir/$ac_dir" || continue ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 $as_echo "$ac_msg" >&6 as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" # Check for guested configure; otherwise get Cygnus style configure. if test -f "$ac_srcdir/configure.gnu"; then ac_sub_configure=$ac_srcdir/configure.gnu elif test -f "$ac_srcdir/configure"; then ac_sub_configure=$ac_srcdir/configure elif test -f "$ac_srcdir/configure.in"; then # This should be Cygnus configure. ac_sub_configure=$ac_aux_dir/configure else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} ac_sub_configure= fi # The recursion is here. if test -n "$ac_sub_configure"; then # Make the cache file name correct relative to the subdirectory. case $cache_file in [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; *) # Relative name. ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} # The eval makes quoting arguments work. eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 fi cd "$ac_popdir" done fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi { $as_echo "$as_me:${as_lineno-$LINENO}: summary of main build options: version: ${VERSION} Host type: ${host} Install prefix: ${prefix} Compiler: cc: ${CC} cflags: ${CFLAGS} cppflags: ${CPPFLAGS} Warning flags: $gl_gcc_warnings Library types: Shared=${enable_shared}, Static=${enable_static} Valgrind: ${VALGRIND} Obsolete functions: $obsolete GnuTLS support: $gnutls CPPFLAGS: $INCLIBGNUTLS LDADD: $LTLIBGNUTLS Lasso support: $lasso CPPFLAGS: $LASSO_CFLAGS LDADD: $LASSO_LIBS " >&5 $as_echo "$as_me: summary of main build options: version: ${VERSION} Host type: ${host} Install prefix: ${prefix} Compiler: cc: ${CC} cflags: ${CFLAGS} cppflags: ${CPPFLAGS} Warning flags: $gl_gcc_warnings Library types: Shared=${enable_shared}, Static=${enable_static} Valgrind: ${VALGRIND} Obsolete functions: $obsolete GnuTLS support: $gnutls CPPFLAGS: $INCLIBGNUTLS LDADD: $LTLIBGNUTLS Lasso support: $lasso CPPFLAGS: $LASSO_CFLAGS LDADD: $LASSO_LIBS " >&6;} gsasl-1.8.1/m4/0000755000000000000000000000000013521017723010122 500000000000000gsasl-1.8.1/m4/pkg.m40000644000000000000000000001214512222241125011060 00000000000000# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES gsasl-1.8.1/m4/sys_types_h.m40000644000000000000000000000337313516251576012675 00000000000000# sys_types_h.m4 serial 9 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN_ONCE([gl_SYS_TYPES_H], [ dnl Use sane struct stat types in OpenVMS 8.2 and later. AC_DEFINE([_USE_STD_STAT], 1, [For standard stat data types on VMS.]) AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) gl_NEXT_HEADERS([sys/types.h]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Whether to override the 'off_t' type. AC_REQUIRE([gl_TYPE_OFF_T]) dnl Whether to override the 'dev_t' and 'ino_t' types. m4_ifdef([gl_WINDOWS_STAT_INODES], [ AC_REQUIRE([gl_WINDOWS_STAT_INODES]) ], [ WINDOWS_STAT_INODES=0 ]) AC_SUBST([WINDOWS_STAT_INODES]) ]) AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS], [ ]) # This works around a buggy version in autoconf <= 2.69. # See m4_version_prereq([2.70], [], [ # This is taken from the following Autoconf patch: # https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=e17a30e987d7ee695fb4294a82d987ec3dc9b974 m4_undefine([AC_HEADER_MAJOR]) AC_DEFUN([AC_HEADER_MAJOR], [AC_CHECK_HEADERS_ONCE([sys/types.h]) AC_CHECK_HEADER([sys/mkdev.h], [AC_DEFINE([MAJOR_IN_MKDEV], [1], [Define to 1 if `major', `minor', and `makedev' are declared in .])]) if test $ac_cv_header_sys_mkdev_h = no; then AC_CHECK_HEADER([sys/sysmacros.h], [AC_DEFINE([MAJOR_IN_SYSMACROS], [1], [Define to 1 if `major', `minor', and `makedev' are declared in .])]) fi ]) ]) gsasl-1.8.1/m4/quotearg.m40000644000000000000000000000047413516251576012152 00000000000000# quotearg.m4 serial 9 dnl Copyright (C) 2002, 2004-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_QUOTEARG], [ : ]) gsasl-1.8.1/m4/locale-tr.m40000644000000000000000000001206213516251575012200 00000000000000# locale-tr.m4 serial 11 dnl Copyright (C) 2003, 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Determine the name of a turkish locale with UTF-8 encoding. AC_DEFUN([gt_LOCALE_TR_UTF8], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a turkish Unicode locale], [gt_cv_locale_tr_utf8], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([ changequote(,)dnl #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. But BeOS does not implement the Turkish upper-/lowercase mappings. Therefore, let this program return 1 on BeOS. */ /* Check whether the given locale name is recognized by the system. */ #if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; #else if (setlocale (LC_ALL, "") == NULL) return 1; #endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ #if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } #endif #ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; #endif /* Check whether in the abbreviation of the eighth month, the second character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f) return 1; /* Check whether the upper-/lowercase mappings are as expected for Turkish. */ if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i' || towupper(0x0131) != 'I' || towlower ('I') != 0x0131) return 1; return 0; } changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=Turkish_Turkey.65001 else # None found. gt_cv_locale_tr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr_TR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr_TR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr.UTF-8 else # None found. gt_cv_locale_tr_utf8=none fi fi fi ;; esac else gt_cv_locale_tr_utf8=none fi rm -fr conftest* ]) LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8 AC_SUBST([LOCALE_TR_UTF8]) ]) gsasl-1.8.1/m4/quote.m40000644000000000000000000000057313516251576011460 00000000000000# quote.m4 serial 6 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_QUOTE], [ dnl Prerequisites of lib/quote.c. dnl (none) : ]) gsasl-1.8.1/m4/dup2.m40000644000000000000000000001013413516251575011166 00000000000000#serial 25 dnl Copyright (C) 2002, 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_DUP2], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) m4_ifdef([gl_FUNC_DUP2_OBSOLETE], [ AC_CHECK_FUNCS_ONCE([dup2]) if test $ac_cv_func_dup2 = no; then HAVE_DUP2=0 fi ], [ AC_DEFINE([HAVE_DUP2], [1], [Define to 1 if you have the 'dup2' function.]) ]) if test $HAVE_DUP2 = 1; then AC_CACHE_CHECK([whether dup2 works], [gl_cv_func_dup2_works], [AC_RUN_IFELSE([ AC_LANG_PROGRAM( [[#include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif ]], [[int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; #endif if (dup2 (1, 1) != 1) result |= 2; #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif close (0); if (dup2 (0, 0) != -1) result |= 8; /* Many gnulib modules require POSIX conformance of EBADF. */ if (dup2 (2, bad_fd) == -1 && errno != EBADF) result |= 16; /* Flush out some cygwin core dumps. */ if (dup2 (2, -1) != -1 || errno != EBADF) result |= 32; dup2 (2, 255); dup2 (2, 256); /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ { int fd = open (".", O_RDONLY); if (fd == -1) result |= 64; else if (dup2 (fd, fd + 1) == -1) result |= 128; close (fd); } return result;]]) ], [gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no], [case "$host_os" in mingw*) # on this platform, dup2 always returns 0 for success gl_cv_func_dup2_works="guessing no" ;; cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 gl_cv_func_dup2_works="guessing no" ;; aix* | freebsd*) # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, # not EBADF. gl_cv_func_dup2_works="guessing no" ;; haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. gl_cv_func_dup2_works="guessing no" ;; *-android*) # implemented using dup3(), which fails if oldfd == newfd gl_cv_func_dup2_works="guessing no" ;; os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. gl_cv_func_dup2_works="guessing no" ;; *) gl_cv_func_dup2_works="guessing yes" ;; esac]) ]) case "$gl_cv_func_dup2_works" in *yes) ;; *) REPLACE_DUP2=1 AC_CHECK_FUNCS([setdtablesize]) ;; esac fi dnl Replace dup2() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then if test $HAVE_DUP2 = 1; then REPLACE_DUP2=1 fi fi ]) ]) # Prerequisites of lib/dup2.c. AC_DEFUN([gl_PREREQ_DUP2], []) gsasl-1.8.1/m4/multiarch.m40000644000000000000000000000367413516251575012317 00000000000000# multiarch.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Determine whether the compiler is or may be producing universal binaries. # # On Mac OS X 10.5 and later systems, the user can create libraries and # executables that work on multiple system types--known as "fat" or # "universal" binaries--by specifying multiple '-arch' options to the # compiler but only a single '-arch' option to the preprocessor. Like # this: # # ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ # CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ # CPP="gcc -E" CXXCPP="g++ -E" # # Detect this situation and set APPLE_UNIVERSAL_BUILD accordingly. AC_DEFUN_ONCE([gl_MULTIARCH], [ dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN. gl_cv_c_multiarch=no AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; ]])], [ dnl Check for potential -arch flags. It is not universal unless dnl there are at least two -arch flags with different values. arch= prev= for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do if test -n "$prev"; then case $word in i?86 | x86_64 | ppc | ppc64) if test -z "$arch" || test "$arch" = "$word"; then arch="$word" else gl_cv_c_multiarch=yes fi ;; esac prev= else if test "x$word" = "x-arch"; then prev=arch fi fi done ]) if test $gl_cv_c_multiarch = yes; then APPLE_UNIVERSAL_BUILD=1 else APPLE_UNIVERSAL_BUILD=0 fi AC_SUBST([APPLE_UNIVERSAL_BUILD]) ]) gsasl-1.8.1/m4/sys_uio_h.m40000644000000000000000000000165413516251576012325 00000000000000# sys_uio_h.m4 serial 1 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_SYS_UIO], [ AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/uio.h]) if test $ac_cv_header_sys_uio_h = yes; then HAVE_SYS_UIO_H=1 else HAVE_SYS_UIO_H=0 fi AC_SUBST([HAVE_SYS_UIO_H]) ]) AC_DEFUN([gl_SYS_UIO_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_UIO_H_DEFAULTS], [ ]) gsasl-1.8.1/m4/mbstate_t.m40000644000000000000000000000256713516251575012311 00000000000000# mbstate_t.m4 serial 13 dnl Copyright (C) 2000-2002, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # From Paul Eggert. # BeOS 5 has but does not define mbstate_t, # so you can't declare an object of that type. # Check for this incompatibility with Standard C. # AC_TYPE_MBSTATE_T # ----------------- AC_DEFUN([AC_TYPE_MBSTATE_T], [ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl for HP-UX 11.11 AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [AC_INCLUDES_DEFAULT[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include ]], [[mbstate_t x; return sizeof x;]])], [ac_cv_type_mbstate_t=yes], [ac_cv_type_mbstate_t=no])]) if test $ac_cv_type_mbstate_t = yes; then AC_DEFINE([HAVE_MBSTATE_T], [1], [Define to 1 if declares mbstate_t.]) else AC_DEFINE([mbstate_t], [int], [Define to a type if does not define.]) fi ]) gsasl-1.8.1/m4/thread.m40000644000000000000000000000076113516251576011571 00000000000000# thread.m4 serial 3 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_THREAD], [ AC_REQUIRE([gl_THREADLIB]) if test $gl_threads_api = posix; then gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_CHECK_FUNCS([pthread_atfork]) LIBS="$gl_save_LIBS" fi ]) gsasl-1.8.1/m4/sigaction.m40000644000000000000000000000232513516251573012275 00000000000000# sigaction.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Determine if sigaction interface is present. AC_DEFUN([gl_SIGACTION], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([sigaction]) if test $ac_cv_func_sigaction = yes; then AC_CHECK_MEMBERS([struct sigaction.sa_sigaction], , , [[#include ]]) if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 fi else HAVE_SIGACTION=0 fi ]) # Prerequisites of the part of lib/signal.in.h and of lib/sigaction.c. AC_DEFUN([gl_PREREQ_SIGACTION], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([AC_TYPE_UID_T]) AC_REQUIRE([gl_PREREQ_SIG_HANDLER_H]) AC_CHECK_FUNCS_ONCE([sigaltstack siginterrupt]) AC_CHECK_TYPES([siginfo_t], [], [], [[ #include ]]) if test $ac_cv_type_siginfo_t = no; then HAVE_SIGINFO_T=0 fi ]) # Prerequisites of lib/sig-handler.h. AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], [:]) gsasl-1.8.1/m4/stdarg.m40000644000000000000000000000533313516251576011606 00000000000000# stdarg.m4 serial 7 dnl Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Provide a working va_copy in combination with . AC_DEFUN([gl_STDARG_H], [ STDARG_H='' NEXT_STDARG_H='' AC_CACHE_CHECK([for va_copy], [gl_cv_func_va_copy], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[ #ifndef va_copy void (*func) (va_list, va_list) = va_copy; #endif ]])], [gl_cv_func_va_copy=yes], [gl_cv_func_va_copy=no]) ]) if test $gl_cv_func_va_copy = no; then dnl Provide a substitute. dnl Usually a simple definition in is enough. Not so on AIX 5 dnl with some versions of the /usr/vac/bin/cc compiler. It has an dnl which does '#undef va_copy', leading to a missing va_copy symbol. For dnl this platform, we use an substitute. But we cannot use this dnl approach on other platforms, because often defines only dnl preprocessor macros and gl_ABSOLUTE_HEADER, gl_CHECK_NEXT_HEADERS do dnl not work in this situation. AC_EGREP_CPP([vaccine], [#if defined _AIX && !defined __GNUC__ AIX vaccine #endif ], [gl_aixcc=yes], [gl_aixcc=no]) if test $gl_aixcc = yes; then dnl Provide a substitute file. STDARG_H=stdarg.h gl_NEXT_HEADERS([stdarg.h]) dnl Fallback for the case when contains only macro definitions. if test "$gl_cv_next_stdarg_h" = '""'; then gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' NEXT_STDARG_H="$gl_cv_next_stdarg_h" fi else dnl Provide a substitute in , either __va_copy or as a simple dnl assignment. gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[ #ifndef __va_copy error, bail out #endif ]])], [gl_cv_func___va_copy=yes], [gl_cv_func___va_copy=no])]) if test $gl_cv_func___va_copy = yes; then AC_DEFINE([va_copy], [__va_copy], [Define as a macro for copying va_list variables.]) else AH_VERBATIM([gl_VA_COPY], [/* A replacement for va_copy, if needed. */ #define gl_va_copy(a,b) ((a) = (b))]) AC_DEFINE([va_copy], [gl_va_copy], [Define as a macro for copying va_list variables.]) fi fi fi AC_SUBST([STDARG_H]) AM_CONDITIONAL([GL_GENERATE_STDARG_H], [test -n "$STDARG_H"]) AC_SUBST([NEXT_STDARG_H]) ]) gsasl-1.8.1/m4/absolute-header.m40000644000000000000000000001034713516251575013366 00000000000000# absolute-header.m4 serial 16 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Derek Price. # gl_ABSOLUTE_HEADER(HEADER1 HEADER2 ...) # --------------------------------------- # Find the absolute name of a header file, testing first if the header exists. # If the header were sys/inttypes.h, this macro would define # ABSOLUTE_SYS_INTTYPES_H to the '""' quoted absolute name of sys/inttypes.h # in config.h # (e.g. '#define ABSOLUTE_SYS_INTTYPES_H "///usr/include/sys/inttypes.h"'). # The three "///" are to pacify Sun C 5.8, which otherwise would say # "warning: #include of /usr/include/... may be non-portable". # Use '""', not '<>', so that the /// cannot be confused with a C99 comment. # Note: This macro assumes that the header file is not empty after # preprocessing, i.e. it does not only define preprocessor macros but also # provides some type/enum definitions or function/variable declarations. AC_DEFUN([gl_ABSOLUTE_HEADER], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_PREPROC_REQUIRE()dnl dnl FIXME: gl_absolute_header and ac_header_exists must be used unquoted dnl until we can assume autoconf 2.64 or newer. m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_absolute_header], [gl_cv_absolute_]m4_defn([gl_HEADER_NAME]))dnl AC_CACHE_CHECK([absolute name of <]m4_defn([gl_HEADER_NAME])[>], m4_defn([gl_absolute_header]), [AS_VAR_PUSHDEF([ac_header_exists], [ac_cv_header_]m4_defn([gl_HEADER_NAME]))dnl AC_CHECK_HEADERS_ONCE(m4_defn([gl_HEADER_NAME]))dnl if test AS_VAR_GET(ac_header_exists) = yes; then gl_ABSOLUTE_HEADER_ONE(m4_defn([gl_HEADER_NAME])) fi AS_VAR_POPDEF([ac_header_exists])dnl ])dnl AC_DEFINE_UNQUOTED(AS_TR_CPP([ABSOLUTE_]m4_defn([gl_HEADER_NAME])), ["AS_VAR_GET(gl_absolute_header)"], [Define this to an absolute name of <]m4_defn([gl_HEADER_NAME])[>.]) AS_VAR_POPDEF([gl_absolute_header])dnl ])dnl ])# gl_ABSOLUTE_HEADER # gl_ABSOLUTE_HEADER_ONE(HEADER) # ------------------------------ # Like gl_ABSOLUTE_HEADER, except that: # - it assumes that the header exists, # - it uses the current CPPFLAGS, # - it does not cache the result, # - it is silent. AC_DEFUN([gl_ABSOLUTE_HEADER_ONE], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <]]m4_dquote([$1])[[>]])]) dnl AIX "xlc -E" and "cc -E" omit #line directives for header files dnl that contain only a #include of other header files and no dnl non-comment tokens of their own. This leads to a failure to dnl detect the absolute name of , , dnl and others. The workaround is to force preservation of comments dnl through option -C. This ensures all necessary #line directives dnl are present. GCC supports option -C as well. case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac changequote(,) case "$host_os" in mingw*) dnl For the sake of native Windows compilers (excluding gcc), dnl treat backslash as a directory separator, like /. dnl Actually, these compilers use a double-backslash as dnl directory separator, inside the dnl # line "filename" dnl directives. gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac dnl A sed expression that turns a string into a basic regular dnl expression, for use within "/.../". gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo '$1' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' changequote([,]) dnl eval is necessary to expand gl_absname_cpp. dnl Ultrix and Pyramid sh refuse to redirect output of eval, dnl so use subshell. AS_VAR_SET([gl_cv_absolute_]AS_TR_SH([[$1]]), [`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | sed -n "$gl_absolute_header_sed"`]) ]) gsasl-1.8.1/m4/intl-thread-locale.m40000644000000000000000000001524313516251573013770 00000000000000# intl-thread-locale.m4 serial 4 dnl Copyright (C) 2015-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Check how to retrieve the name of a per-thread locale (POSIX locale_t). dnl Sets gt_nameless_locales. AC_DEFUN([gt_INTL_THREAD_LOCALE_NAME], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade Solaris to define 'locale_t'. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl Test whether uselocale() exists and works at all. gt_FUNC_USELOCALE dnl On OpenBSD >= 6.2, the locale_t type and the uselocale(), newlocale(), dnl duplocale(), freelocale() functions exist but are effectively useless, dnl because the locale_t value depends only on the LC_CTYPE category of the dnl locale and furthermore contains only one bit of information (it dnl distinguishes the "C" locale from the *.UTF-8 locales). See dnl . dnl In the setlocale() implementation they have thought about the programs dnl that use the API ("Even though only LC_CTYPE has any effect in the dnl OpenBSD base system, store complete information about the global locale, dnl such that third-party software can access it"), but for uselocale() dnl they did not think about the programs. dnl In this situation, even the HAVE_NAMELESS_LOCALES support does not work. dnl So, define HAVE_FAKE_LOCALES and disable all locale_t support. case "$gt_cv_func_uselocale_works" in *yes) AC_CHECK_HEADERS_ONCE([xlocale.h]) AC_CACHE_CHECK([for fake locale system (OpenBSD)], [gt_cv_locale_fake], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_XLOCALE_H # include #endif int main () { locale_t loc1, loc2; if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL) return 1; if (setlocale (LC_ALL, "fr_FR.UTF-8") == NULL) return 1; loc1 = newlocale (LC_ALL_MASK, "de_DE.UTF-8", (locale_t)0); loc2 = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", (locale_t)0); return !(loc1 == loc2); }]])], [gt_cv_locale_fake=yes], [gt_cv_locale_fake=no], [dnl Guess the locale system is fake only on OpenBSD. case "$host_os" in openbsd*) gt_cv_locale_fake="guessing yes" ;; *) gt_cv_locale_fake="guessing no" ;; esac ]) ]) ;; *) gt_cv_locale_fake=no ;; esac case "$gt_cv_locale_fake" in *yes) AC_DEFINE([HAVE_FAKE_LOCALES], [1], [Define if the locale_t type contains insufficient information, as on OpenBSD.]) ;; esac case "$gt_cv_func_uselocale_works" in *yes) AC_CACHE_CHECK([for Solaris 11.4 locale system], [gt_cv_locale_solaris114], [case "$host_os" in solaris*) dnl Test whether defines locale_t as a typedef of dnl 'struct _LC_locale_t **' (whereas Illumos defines it as a dnl typedef of 'struct _locale *'). dnl Another possible test would be to include dnl and test whether it defines the _LC_core_data_locale_t type. dnl This type was added in Solaris 11.4. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include struct _LC_locale_t *x; locale_t y; ]], [[*y = x;]])], [gt_cv_locale_solaris114=yes], [gt_cv_locale_solaris114=no]) ;; *) gt_cv_locale_solaris114=no ;; esac ]) ;; *) gt_cv_locale_solaris114=no ;; esac if test $gt_cv_locale_solaris114 = yes; then AC_DEFINE([HAVE_SOLARIS114_LOCALES], [1], [Define if the locale_t type is as on Solaris 11.4.]) fi dnl Solaris 12 will maybe provide getlocalename_l. If it does, it will dnl improve the implementation of gl_locale_name_thread(), by removing dnl the use of undocumented structures. case "$gt_cv_func_uselocale_works" in *yes) AC_CHECK_FUNCS([getlocalename_l]) ;; esac dnl This code is for future use, in case we some day have to port to a dnl platform where the locale_t type does not provide access to the name of dnl each locale category. This code has the drawback that it requires the dnl gnulib overrides of 'newlocale', 'duplocale', 'freelocale', which is a dnl problem for GNU libunistring. Therefore try hard to avoid enabling this dnl code! gt_nameless_locales=no if false; then gt_nameless_locales=yes AC_DEFINE([HAVE_NAMELESS_LOCALES], [1], [Define if the locale_t type does not contain the name of each locale category.]) fi ]) dnl Tests whether uselocale() exists and is usable. dnl Sets gt_cv_func_uselocale_works. Defines HAVE_WORKING_USELOCALE. AC_DEFUN([gt_FUNC_USELOCALE], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade Solaris to define 'locale_t'. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_FUNCS_ONCE([uselocale]) dnl On AIX 7.2, the uselocale() function is not documented and leads to dnl crashes in subsequent setlocale() invocations. if test $ac_cv_func_uselocale = yes; then AC_CHECK_HEADERS_ONCE([xlocale.h]) AC_CACHE_CHECK([whether uselocale works], [gt_cv_func_uselocale_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_XLOCALE_H # include #endif int main () { uselocale (NULL); setlocale (LC_ALL, "en_US.UTF-8"); return 0; }]])], [gt_cv_func_uselocale_works=yes], [gt_cv_func_uselocale_works=no], [# Guess no on AIX, yes otherwise. case "$host_os" in aix*) gt_cv_func_uselocale_works="guessing no" ;; *) gt_cv_func_uselocale_works="guessing yes" ;; esac ]) ]) else gt_cv_func_uselocale_works=no fi case "$gt_cv_func_uselocale_works" in *yes) AC_DEFINE([HAVE_WORKING_USELOCALE], [1], [Define if the uselocale function exists any may safely be called.]) ;; esac ]) gsasl-1.8.1/m4/netdb_h.m40000644000000000000000000000304113516251575011716 00000000000000# netdb_h.m4 serial 11 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_NETDB], [ AC_REQUIRE([gl_NETDB_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([netdb.h]) if test $ac_cv_header_netdb_h = yes; then HAVE_NETDB_H=1 else HAVE_NETDB_H=0 fi AC_SUBST([HAVE_NETDB_H]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [getaddrinfo freeaddrinfo gai_strerror getnameinfo]) ]) AC_DEFUN([gl_NETDB_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_NETDB_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_NETDB_H_DEFAULTS], [ GNULIB_GETADDRINFO=0; AC_SUBST([GNULIB_GETADDRINFO]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_STRUCT_ADDRINFO=1; AC_SUBST([HAVE_STRUCT_ADDRINFO]) HAVE_DECL_FREEADDRINFO=1; AC_SUBST([HAVE_DECL_FREEADDRINFO]) HAVE_DECL_GAI_STRERROR=1; AC_SUBST([HAVE_DECL_GAI_STRERROR]) HAVE_DECL_GETADDRINFO=1; AC_SUBST([HAVE_DECL_GETADDRINFO]) HAVE_DECL_GETNAMEINFO=1; AC_SUBST([HAVE_DECL_GETNAMEINFO]) REPLACE_GAI_STRERROR=0; AC_SUBST([REPLACE_GAI_STRERROR]) ]) gsasl-1.8.1/m4/malloca.m40000644000000000000000000000110113516251575011716 00000000000000# malloca.m4 serial 1 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MALLOCA], [ dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables dnl @ALLOCA@ and @LTALLOCA@. dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. AC_REQUIRE([gl_EEMALLOC]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ]) gsasl-1.8.1/m4/poll.m40000644000000000000000000000640213516251575011265 00000000000000# poll.m4 serial 19 dnl Copyright (c) 2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_POLL], [ AC_REQUIRE([gl_POLL_H]) AC_REQUIRE([gl_SOCKETS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles if test $ac_cv_header_poll_h = no; then ac_cv_func_poll=no gl_cv_func_poll=no else AC_CHECK_FUNC([poll], [# Check whether poll() works on special files (like /dev/null) and # and ttys (like /dev/tty). On Mac OS X 10.4.0 and AIX 5.3, it doesn't. AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include int main() { int result = 0; struct pollfd ufd; /* Try /dev/null for reading. */ ufd.fd = open ("/dev/null", O_RDONLY); /* If /dev/null does not exist, it's not Mac OS X nor AIX. */ if (ufd.fd >= 0) { ufd.events = POLLIN; ufd.revents = 0; if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLIN)) result |= 1; } /* Try /dev/null for writing. */ ufd.fd = open ("/dev/null", O_WRONLY); /* If /dev/null does not exist, it's not Mac OS X nor AIX. */ if (ufd.fd >= 0) { ufd.events = POLLOUT; ufd.revents = 0; if (!(poll (&ufd, 1, 0) == 1 && ufd.revents == POLLOUT)) result |= 2; } /* Trying /dev/tty may be too environment dependent. */ return result; }]])], [gl_cv_func_poll=yes], [gl_cv_func_poll=no], [# When cross-compiling, assume that poll() works everywhere except on # Mac OS X or AIX, regardless of its version. AC_EGREP_CPP([MacOSX], [ #if (defined(__APPLE__) && defined(__MACH__)) || defined(_AIX) This is MacOSX or AIX #endif ], [gl_cv_func_poll="guessing no"], [gl_cv_func_poll="guessing yes"])])]) fi case "$gl_cv_func_poll" in *yes) ;; *) AC_CHECK_FUNC([poll], [ac_cv_func_poll=yes], [ac_cv_func_poll=no]) if test $ac_cv_func_poll = no; then HAVE_POLL=0 else REPLACE_POLL=1 fi ;; esac if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then : else AC_DEFINE([HAVE_POLL], [1], [Define to 1 if you have the 'poll' function and it works.]) fi dnl Determine the needed libraries. LIB_POLL="$LIBSOCKET" if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then case "$host_os" in mingw*) dnl On the MSVC platform, the function MsgWaitForMultipleObjects dnl (used in lib/poll.c) requires linking with -luser32. On mingw, dnl it is implicit. AC_LINK_IFELSE( [AC_LANG_SOURCE([[ #define WIN32_LEAN_AND_MEAN #include int main () { MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); return 0; }]])], [], [LIB_POLL="$LIB_POLL -luser32"]) ;; esac fi AC_SUBST([LIB_POLL]) ]) # Prerequisites of lib/poll.c. AC_DEFUN([gl_PREREQ_POLL], [ AC_CHECK_HEADERS_ONCE([sys/ioctl.h sys/filio.h]) ]) gsasl-1.8.1/m4/dirname.m40000644000000000000000000000105413516251573011732 00000000000000#serial 10 -*- autoconf -*- dnl Copyright (C) 2002-2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_DIRNAME], [ AC_REQUIRE([gl_DIRNAME_LGPL]) ]) AC_DEFUN([gl_DIRNAME_LGPL], [ dnl Prerequisites of lib/dirname.h. AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c, dnl lib/stripslash.c. ]) gsasl-1.8.1/m4/fcntl.m40000644000000000000000000001035113516251573011421 00000000000000# fcntl.m4 serial 9 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # For now, this module ensures that fcntl() # - supports F_DUPFD correctly # - supports or emulates F_DUPFD_CLOEXEC # - supports F_GETFD # Still to be ported to mingw: # - F_SETFD # - F_GETFL, F_SETFL # - F_GETOWN, F_SETOWN # - F_GETLK, F_SETLK, F_SETLKW AC_DEFUN([gl_FUNC_FCNTL], [ dnl Persuade glibc to expose F_DUPFD_CLOEXEC. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([fcntl]) if test $ac_cv_func_fcntl = no; then gl_REPLACE_FCNTL else dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target dnl haiku alpha 2 F_DUPFD has wrong errno AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly], [gl_cv_func_fcntl_f_dupfd_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif ]], [[int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; if (errno != EINVAL) result |= 2; if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; if (errno != EINVAL) result |= 8; /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ { int fd; fd = open (".", O_RDONLY); if (fd == -1) result |= 16; else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) result |= 32; close (fd); } return result;]])], [gl_cv_func_fcntl_f_dupfd_works=yes], [gl_cv_func_fcntl_f_dupfd_works=no], [case $host_os in aix* | cygwin* | haiku*) gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; esac])]) case $gl_cv_func_fcntl_f_dupfd_works in *yes) ;; *) gl_REPLACE_FCNTL AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD behavior does not match POSIX]) ;; esac dnl Many systems lack F_DUPFD_CLOEXEC AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC], [gl_cv_func_fcntl_f_dupfd_cloexec], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #ifndef F_DUPFD_CLOEXEC choke me #endif ]])], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #ifdef __linux__ /* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace it to support the semantics on older kernels that failed with EINVAL. */ choke me #endif ]])], [gl_cv_func_fcntl_f_dupfd_cloexec=yes], [gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"])], [gl_cv_func_fcntl_f_dupfd_cloexec=no])]) if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then gl_REPLACE_FCNTL dnl No witness macro needed for this bug. fi fi dnl Replace fcntl() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then gl_REPLACE_FCNTL fi ]) ]) AC_DEFUN([gl_REPLACE_FCNTL], [ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([fcntl]) if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi ]) gsasl-1.8.1/m4/wctomb.m40000644000000000000000000000071413516251576011613 00000000000000# wctomb.m4 serial 2 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_WCTOMB], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) if false; then REPLACE_WCTOMB=1 fi ]) # Prerequisites of lib/wctomb.c. AC_DEFUN([gl_PREREQ_WCTOMB], [ : ]) gsasl-1.8.1/m4/wctob.m40000644000000000000000000000705713516251576011445 00000000000000# wctob.m4 serial 11 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_WCTOB], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([wctob]) if test $ac_cv_func_wctob = no; then HAVE_WCTOB=0 HAVE_DECL_WCTOB=0 else HAVE_WCTOB=1 dnl Solaris 9 has the wctob() function but it does not work. dnl Cygwin 1.7.2 has the wctob() function but it clobbers caller-owned dnl registers, see . AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_FR]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether wctob works], [gl_cv_func_wctob_works], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris <= 9 and Cygwin. solaris2.[1-9] | solaris2.[1-9].* | cygwin*) gl_cv_func_wctob_works="guessing no" ;; # Guess no on native Windows. mingw*) gl_cv_func_wctob_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_wctob_works="guessing yes" ;; esac changequote([,])dnl case "$host_os" in cygwin*) AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include register long global __asm__ ("%ebx"); int main () { setlocale (LC_ALL, "en_US.UTF-8"); global = 0x12345678; if (wctob (0x00FC) != -1) return 1; if (global != 0x12345678) return 2; return 0; }]])], [:], [gl_cv_func_wctob_works=no], [:]) ;; esac if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) { wchar_t wc; if (mbtowc (&wc, "\374", 1) == 1) if (wctob (wc) != (unsigned char) '\374') return 1; } return 0; }]])], [gl_cv_func_wctob_works=yes], [gl_cv_func_wctob_works=no], [:]) fi ]) case "$gl_cv_func_wctob_works" in *yes) ;; *) REPLACE_WCTOB=1 ;; esac if test $REPLACE_WCTOB = 0; then dnl IRIX 6.5 has the wctob() function but does not declare it. AC_CHECK_DECLS([wctob], [], [], [[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include ]]) if test $ac_cv_have_decl_wctob != yes; then HAVE_DECL_WCTOB=0 fi fi fi ]) # Prerequisites of lib/wctob.c. AC_DEFUN([gl_PREREQ_WCTOB], [ : ]) gsasl-1.8.1/m4/getaddrinfo.m40000644000000000000000000001344413516251575012611 00000000000000# getaddrinfo.m4 serial 31 dnl Copyright (C) 2004-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GETADDRINFO], [ AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H AC_REQUIRE([gl_HEADER_NETDB])dnl for HAVE_NETDB_H AC_MSG_CHECKING([how to do getaddrinfo, freeaddrinfo and getnameinfo]) GETADDRINFO_LIB= gai_saved_LIBS="$LIBS" dnl Where is getaddrinfo()? dnl - On Solaris, it is in libsocket. dnl - On Haiku, it is in libnetwork. dnl - On BeOS, it is in libnet. dnl - On native Windows, it is in ws2_32.dll. dnl - Otherwise it is in libc. AC_SEARCH_LIBS([getaddrinfo], [socket network net], [if test "$ac_cv_search_getaddrinfo" != "none required"; then GETADDRINFO_LIB="$ac_cv_search_getaddrinfo" fi]) LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" HAVE_GETADDRINFO=1 AC_CACHE_CHECK([for getaddrinfo], [gl_cv_func_getaddrinfo], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #include ]], [[getaddrinfo("", "", NULL, NULL);]])], [gl_cv_func_getaddrinfo=yes], [gl_cv_func_getaddrinfo=no])]) if test $gl_cv_func_getaddrinfo = no; then AC_CACHE_CHECK([for getaddrinfo in ws2tcpip.h and -lws2_32], gl_cv_w32_getaddrinfo, [ gl_cv_w32_getaddrinfo=no am_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_WS2TCPIP_H #include #endif #include ]], [[getaddrinfo(NULL, NULL, NULL, NULL);]])], [gl_cv_w32_getaddrinfo=yes]) LIBS="$am_save_LIBS" ]) if test "$gl_cv_w32_getaddrinfo" = "yes"; then GETADDRINFO_LIB="-lws2_32" LIBS="$gai_saved_LIBS $GETADDRINFO_LIB" else HAVE_GETADDRINFO=0 fi fi # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an # inline function declared in ws2tcpip.h, so we need to get that # header included somehow. AC_CHECK_DECLS([gai_strerror], [], [], [[ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif #include ]]) if test $ac_cv_have_decl_gai_strerror = yes; then AC_CHECK_DECLS([gai_strerrorA], [], [], [[ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif #include ]]) dnl check for correct signature AC_CACHE_CHECK([for gai_strerror with POSIX signature], [gl_cv_func_gai_strerror_posix_signature], [ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif #include extern #ifdef __cplusplus "C" #endif const char *gai_strerror(int);]])], [gl_cv_func_gai_strerror_posix_signature=yes], [gl_cv_func_gai_strerror_posix_signature=no])]) if test $gl_cv_func_gai_strerror_posix_signature = no; then REPLACE_GAI_STRERROR=1 fi fi LIBS="$gai_saved_LIBS" gl_PREREQ_GETADDRINFO AC_SUBST([GETADDRINFO_LIB]) ]) # Prerequisites of lib/netdb.in.h and lib/getaddrinfo.c. AC_DEFUN([gl_PREREQ_GETADDRINFO], [ AC_REQUIRE([gl_NETDB_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H AC_REQUIRE([gl_HOSTENT]) dnl for HOSTENT_LIB AC_REQUIRE([gl_SERVENT]) dnl for SERVENT_LIB AC_REQUIRE([gl_FUNC_INET_NTOP]) dnl for INET_NTOP_LIB AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_SOCKET_FAMILIES]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl Including sys/socket.h is wrong for Windows, but Windows does not dnl have sa_len so the result is correct anyway. AC_CHECK_MEMBERS([struct sockaddr.sa_len], , , [ #include #include ]) AC_CHECK_HEADERS_ONCE([netinet/in.h]) AC_CHECK_DECLS([getaddrinfo, freeaddrinfo, getnameinfo],,,[[ /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]]) if test $ac_cv_have_decl_getaddrinfo = no; then HAVE_DECL_GETADDRINFO=0 fi if test $ac_cv_have_decl_freeaddrinfo = no; then HAVE_DECL_FREEADDRINFO=0 fi if test $ac_cv_have_decl_gai_strerror = no; then HAVE_DECL_GAI_STRERROR=0 fi if test $ac_cv_have_decl_getnameinfo = no; then HAVE_DECL_GETNAMEINFO=0 fi AC_CHECK_TYPES([struct addrinfo],,,[ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETDB_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]) if test $ac_cv_type_struct_addrinfo = no; then HAVE_STRUCT_ADDRINFO=0 fi dnl Append $HOSTENT_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates. case " $GETADDRINFO_LIB " in *" $HOSTENT_LIB "*) ;; *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;; esac dnl Append $SERVENT_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates. case " $GETADDRINFO_LIB " in *" $SERVENT_LIB "*) ;; *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;; esac dnl Append $INET_NTOP_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates. case " $GETADDRINFO_LIB " in *" $INET_NTOP_LIB "*) ;; *) GETADDRINFO_LIB="$GETADDRINFO_LIB $INET_NTOP_LIB" ;; esac ]) gsasl-1.8.1/m4/xsize.m40000644000000000000000000000062613516251576011464 00000000000000# xsize.m4 serial 5 dnl Copyright (C) 2003-2004, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_XSIZE], [ dnl Prerequisites of lib/xsize.h. AC_REQUIRE([gl_SIZE_MAX]) AC_CHECK_HEADERS([stdint.h]) ]) gsasl-1.8.1/m4/exponentd.m40000644000000000000000000000755213516251575012332 00000000000000# exponentd.m4 serial 3 dnl Copyright (C) 2007-2008, 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_DOUBLE_EXPONENT_LOCATION], [ AC_CACHE_CHECK([where to find the exponent in a 'double'], [gl_cv_cc_double_expbit0], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { double value; unsigned int word[NWORDS]; } memory_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (double x) { memory_double m; size_t i; /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ memset (&m, 0, sizeof (memory_double)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25); add_to_ored_words (0.5); add_to_ored_words (1.0); add_to_ored_words (2.0); add_to_ored_words (4.0); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } ]])], [gl_cv_cc_double_expbit0=`cat conftest.out`], [gl_cv_cc_double_expbit0="unknown"], [ dnl On ARM, there are two 'double' floating-point formats, used by dnl different sets of instructions: The older FPA instructions assume dnl that they are stored in big-endian word order, while the words dnl (like integer types) are stored in little-endian byte order. dnl The newer VFP instructions assume little-endian order dnl consistently. AC_EGREP_CPP([mixed_endianness], [ #if defined arm || defined __arm || defined __arm__ mixed_endianness #endif ], [gl_cv_cc_double_expbit0="unknown"], [ pushdef([AC_MSG_CHECKING],[:])dnl pushdef([AC_MSG_RESULT],[:])dnl pushdef([AC_MSG_RESULT_UNQUOTED],[:])dnl AC_C_BIGENDIAN( [gl_cv_cc_double_expbit0="word 0 bit 20"], [gl_cv_cc_double_expbit0="word 1 bit 20"], [gl_cv_cc_double_expbit0="unknown"]) popdef([AC_MSG_RESULT_UNQUOTED])dnl popdef([AC_MSG_RESULT])dnl popdef([AC_MSG_CHECKING])dnl ]) ]) rm -f conftest.out ]) case "$gl_cv_cc_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` AC_DEFINE_UNQUOTED([DBL_EXPBIT0_WORD], [$word], [Define as the word index where to find the exponent of 'double'.]) AC_DEFINE_UNQUOTED([DBL_EXPBIT0_BIT], [$bit], [Define as the bit index in the word where to find bit 0 of the exponent of 'double'.]) ;; esac ]) gsasl-1.8.1/m4/sys_time_h.m40000644000000000000000000000734113516251576012466 00000000000000# Configure a replacement for . # serial 9 # Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. # 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. # Written by Paul Eggert and Martin Lambers. AC_DEFUN([gl_HEADER_SYS_TIME_H], [ dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement dnl below is expanded once only, before all REPLACE_GETTIMEOFDAY=1 dnl statements that occur in other macros. AC_REQUIRE([gl_HEADER_SYS_TIME_H_BODY]) ]) AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) gl_CHECK_NEXT_HEADERS([sys/time.h]) if test $ac_cv_header_sys_time_h != yes; then HAVE_SYS_TIME_H=0 fi dnl On native Windows with MSVC, 'struct timeval' is defined in dnl only. So include that header in the list. gl_PREREQ_SYS_H_WINSOCK2 AC_CACHE_CHECK([for struct timeval], [gl_cv_sys_struct_timeval], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif ]], [[static struct timeval x; x.tv_sec = x.tv_usec;]])], [gl_cv_sys_struct_timeval=yes], [gl_cv_sys_struct_timeval=no]) ]) if test $gl_cv_sys_struct_timeval != yes; then HAVE_STRUCT_TIMEVAL=0 else dnl On native Windows with a 64-bit 'time_t', 'struct timeval' is defined dnl (in and for mingw64, in only dnl for MSVC) with a tv_sec field of type 'long' (32-bit!), which is dnl smaller than the 'time_t' type mandated by POSIX. dnl On OpenBSD 5.1 amd64, tv_sec is 64 bits and time_t 32 bits, but dnl that is good enough. AC_CACHE_CHECK([for wide-enough struct timeval.tv_sec member], [gl_cv_sys_struct_timeval_tv_sec], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif ]], [[static struct timeval x; typedef int verify_tv_sec_type[ sizeof (time_t) <= sizeof x.tv_sec ? 1 : -1 ]; ]])], [gl_cv_sys_struct_timeval_tv_sec=yes], [gl_cv_sys_struct_timeval_tv_sec=no]) ]) if test $gl_cv_sys_struct_timeval_tv_sec != yes; then REPLACE_STRUCT_TIMEVAL=1 fi fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_SYS_TIME_H # include #endif #include ]], [gettimeofday]) ]) AC_DEFUN([gl_SYS_TIME_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_HEADER_SYS_TIME_H_DEFAULTS], [ GNULIB_GETTIMEOFDAY=0; AC_SUBST([GNULIB_GETTIMEOFDAY]) dnl Assume POSIX behavior unless another module says otherwise. HAVE_GETTIMEOFDAY=1; AC_SUBST([HAVE_GETTIMEOFDAY]) HAVE_STRUCT_TIMEVAL=1; AC_SUBST([HAVE_STRUCT_TIMEVAL]) HAVE_SYS_TIME_H=1; AC_SUBST([HAVE_SYS_TIME_H]) REPLACE_GETTIMEOFDAY=0; AC_SUBST([REPLACE_GETTIMEOFDAY]) REPLACE_STRUCT_TIMEVAL=0; AC_SUBST([REPLACE_STRUCT_TIMEVAL]) ]) gsasl-1.8.1/m4/inttypes-pri.m40000644000000000000000000000234513516251575012770 00000000000000# inttypes-pri.m4 serial 7 (gettext-0.18.2) dnl Copyright (C) 1997-2002, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.53]) # Define PRI_MACROS_BROKEN if exists and defines the PRI* # macros to non-string values. This is the case on AIX 4.3.3. AC_DEFUN([gt_INTTYPES_PRI], [ AC_CHECK_HEADERS([inttypes.h]) if test $ac_cv_header_inttypes_h = yes; then AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], [gt_cv_inttypes_pri_broken], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #ifdef PRId32 char *p = PRId32; #endif ]], [[]])], [gt_cv_inttypes_pri_broken=no], [gt_cv_inttypes_pri_broken=yes]) ]) fi if test "$gt_cv_inttypes_pri_broken" = yes; then AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1], [Define if exists and defines unusable PRI* macros.]) PRI_MACROS_BROKEN=1 else PRI_MACROS_BROKEN=0 fi AC_SUBST([PRI_MACROS_BROKEN]) ]) gsasl-1.8.1/m4/inttypes_h.m40000644000000000000000000000177413516251575012514 00000000000000# inttypes_h.m4 serial 10 dnl Copyright (C) 1997-2004, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. # Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[uintmax_t i = (uintmax_t) -1; return !i;]])], [gl_cv_header_inttypes_h=yes], [gl_cv_header_inttypes_h=no])]) if test $gl_cv_header_inttypes_h = yes; then AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) gsasl-1.8.1/m4/socketlib.m40000644000000000000000000000567113516251576012306 00000000000000# socketlib.m4 serial 2 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl gl_SOCKETLIB dnl Determines the library to use for socket functions. dnl Sets and AC_SUBSTs LIBSOCKET. AC_DEFUN([gl_SOCKETLIB], [ gl_PREREQ_SYS_H_WINSOCK2 dnl for HAVE_WINSOCK2_H LIBSOCKET= if test $HAVE_WINSOCK2_H = 1; then dnl Native Windows API (not Cygwin). AC_CACHE_CHECK([if we need to call WSAStartup in winsock2.h and -lws2_32], [gl_cv_func_wsastartup], [ gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_WINSOCK2_H # include #endif]], [[ WORD wVersionRequested = MAKEWORD(1, 1); WSADATA wsaData; int err = WSAStartup(wVersionRequested, &wsaData); WSACleanup ();]])], gl_cv_func_wsastartup=yes, gl_cv_func_wsastartup=no) LIBS="$gl_save_LIBS" ]) if test "$gl_cv_func_wsastartup" = "yes"; then AC_DEFINE([WINDOWS_SOCKETS], [1], [Define if WSAStartup is needed.]) LIBSOCKET='-lws2_32' fi else dnl Unix API. dnl Solaris has most socket functions in libsocket. dnl Haiku has most socket functions in libnetwork. dnl BeOS has most socket functions in libnet. dnl On HP-UX, do NOT link with libxnet, because in 64-bit mode this would dnl break code (e.g. in libraries) that invokes accept(), getpeername(), dnl getsockname(), getsockopt(), or recvfrom() with a 32-bit addrlen. See dnl "man xopen_networking" for details. AC_CACHE_CHECK([for library containing setsockopt], [gl_cv_lib_socket], [ gl_cv_lib_socket= AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [], [gl_save_LIBS="$LIBS" LIBS="$gl_save_LIBS -lsocket" AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [gl_cv_lib_socket="-lsocket"]) if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnetwork" AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [gl_cv_lib_socket="-lnetwork"]) if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnet" AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [gl_cv_lib_socket="-lnet"]) fi fi LIBS="$gl_save_LIBS" ]) if test -z "$gl_cv_lib_socket"; then gl_cv_lib_socket="none needed" fi ]) if test "$gl_cv_lib_socket" != "none needed"; then LIBSOCKET="$gl_cv_lib_socket" fi fi AC_SUBST([LIBSOCKET]) ]) gsasl-1.8.1/m4/stat.m40000644000000000000000000000507413516251576011277 00000000000000# serial 15 # Copyright (C) 2009-2019 Free Software Foundation, Inc. # # 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. AC_DEFUN([gl_FUNC_STAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([lstat]) case "$host_os" in mingw*) dnl On this platform, the original stat() returns st_atime, st_mtime, dnl st_ctime values that are affected by the time zone. REPLACE_STAT=1 ;; *) dnl AIX 7.1, Solaris 9, mingw64 mistakenly succeed on stat("file/"). dnl (For mingw, this is due to a broken stat() override in libmingwex.a.) dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/"). AC_CACHE_CHECK([whether stat handles trailing slashes on files], [gl_cv_func_stat_file_slash], [touch conftest.tmp # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then ln -s conftest.tmp conftest.lnk fi AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int result = 0; struct stat st; if (!stat ("conftest.tmp/", &st)) result |= 1; #if HAVE_LSTAT if (!stat ("conftest.lnk/", &st)) result |= 2; #endif return result; ]])], [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no], [case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_stat_file_slash="guessing no" ;; esac ]) rm -f conftest.tmp conftest.lnk]) case $gl_cv_func_stat_file_slash in *no) REPLACE_STAT=1 AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs help when passed a file name with a trailing slash]);; esac case $host_os in dnl Solaris stat can return a negative tv_nsec. solaris*) REPLACE_FSTAT=1 ;; esac ;; esac ]) # Prerequisites of lib/stat.c and lib/stat-w32.c. AC_DEFUN([gl_PREREQ_STAT], [ AC_REQUIRE([gl_HEADER_SYS_STAT_H]) : ]) gsasl-1.8.1/m4/stdalign.m40000644000000000000000000000442713516251576012132 00000000000000# Check for stdalign.h that conforms to C11. dnl Copyright 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Prepare for substituting if it is not supported. AC_DEFUN([gl_STDALIGN_H], [ AC_CACHE_CHECK([for working stdalign.h], [gl_cv_header_working_stdalign_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include /* Test that alignof yields a result consistent with offsetof. This catches GCC bug 52023 . */ #ifdef __cplusplus template struct alignof_helper { char a; t b; }; # define ao(type) offsetof (alignof_helper, b) #else # define ao(type) offsetof (struct { char a; type b; }, b) #endif char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; /* Test _Alignas only on platforms where gnulib can help. */ #if \ ((defined __cplusplus && 201103 <= __cplusplus) \ || (defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ || 1300 <= _MSC_VER) struct alignas_test { char c; char alignas (8) alignas_8; }; char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 ? 1 : -1]; #endif ]])], [gl_cv_header_working_stdalign_h=yes], [gl_cv_header_working_stdalign_h=no])]) if test $gl_cv_header_working_stdalign_h = yes; then STDALIGN_H='' else STDALIGN_H='stdalign.h' fi AC_SUBST([STDALIGN_H]) AM_CONDITIONAL([GL_GENERATE_STDALIGN_H], [test -n "$STDALIGN_H"]) ]) gsasl-1.8.1/m4/error.m40000644000000000000000000000151013516251575011443 00000000000000#serial 14 # Copyright (C) 1996-1998, 2001-2004, 2009-2019 Free Software Foundation, Inc. # # 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. AC_DEFUN([gl_ERROR], [ dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer dnl maintained in Autoconf and because it invokes AC_LIBOBJ. AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[error_at_line (0, 0, "", 0, "an error occurred");]])], [ac_cv_lib_error_at_line=yes], [ac_cv_lib_error_at_line=no])]) ]) # Prerequisites of lib/error.c. AC_DEFUN([gl_PREREQ_ERROR], [ AC_REQUIRE([AC_FUNC_STRERROR_R]) : ]) gsasl-1.8.1/m4/pathmax.m40000644000000000000000000000215513516251575011762 00000000000000# pathmax.m4 serial 11 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PATHMAX], [ dnl Prerequisites of lib/pathmax.h. AC_CHECK_HEADERS_ONCE([sys/param.h]) ]) # Expands to a piece of C program that defines PATH_MAX in the same way as # "pathmax.h" will do. AC_DEFUN([gl_PATHMAX_SNIPPET], [[ /* Arrange to define PATH_MAX, like "pathmax.h" does. */ #if HAVE_UNISTD_H # include #endif #include #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include #endif #if !defined PATH_MAX && defined MAXPATHLEN # define PATH_MAX MAXPATHLEN #endif #ifdef __hpux # undef PATH_MAX # define PATH_MAX 1024 #endif #if defined _WIN32 && ! defined __CYGWIN__ # undef PATH_MAX # define PATH_MAX 260 #endif ]]) # Prerequisites of gl_PATHMAX_SNIPPET. AC_DEFUN([gl_PATHMAX_SNIPPET_PREREQ], [ AC_CHECK_HEADERS_ONCE([unistd.h sys/param.h]) ]) gsasl-1.8.1/m4/localcharset.m40000644000000000000000000000063313516251575012763 00000000000000# localcharset.m4 serial 8 dnl Copyright (C) 2002, 2004, 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_LOCALCHARSET], [ dnl Prerequisites of lib/localcharset.c. AC_REQUIRE([AM_LANGINFO_CODESET]) ]) gsasl-1.8.1/m4/host-cpu-c-abi.m40000644000000000000000000005176113516251573013040 00000000000000# host-cpu-c-abi.m4 serial 11 dnl Copyright (C) 2002-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible and Sam Steingold. dnl Sets the HOST_CPU variable to the canonical name of the CPU. dnl Sets the HOST_CPU_C_ABI variable to the canonical name of the CPU with its dnl C language ABI (application binary interface). dnl Also defines __${HOST_CPU}__ and __${HOST_CPU_C_ABI}__ as C macros in dnl config.h. dnl dnl This canonical name can be used to select a particular assembly language dnl source file that will interoperate with C code on the given host. dnl dnl For example: dnl * 'i386' and 'sparc' are different canonical names, because code for i386 dnl will not run on SPARC CPUs and vice versa. They have different dnl instruction sets. dnl * 'sparc' and 'sparc64' are different canonical names, because code for dnl 'sparc' and code for 'sparc64' cannot be linked together: 'sparc' code dnl contains 32-bit instructions, whereas 'sparc64' code contains 64-bit dnl instructions. A process on a SPARC CPU can be in 32-bit mode or in 64-bit dnl mode, but not both. dnl * 'mips' and 'mipsn32' are different canonical names, because they use dnl different argument passing and return conventions for C functions, and dnl although the instruction set of 'mips' is a large subset of the dnl instruction set of 'mipsn32'. dnl * 'mipsn32' and 'mips64' are different canonical names, because they use dnl different sizes for the C types like 'int' and 'void *', and although dnl the instruction sets of 'mipsn32' and 'mips64' are the same. dnl * The same canonical name is used for different endiannesses. You can dnl determine the endianness through preprocessor symbols: dnl - 'arm': test __ARMEL__. dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL. dnl - 'powerpc64': test _BIG_ENDIAN vs. _LITTLE_ENDIAN. dnl * The same name 'i386' is used for CPUs of type i386, i486, i586 dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because dnl - Instructions that do not exist on all of these CPUs (cmpxchg, dnl MMX, SSE, SSE2, 3DNow! etc.) are not frequently used. If your dnl assembly language source files use such instructions, you will dnl need to make the distinction. dnl - Speed of execution of the common instruction set is reasonable across dnl the entire family of CPUs. If you have assembly language source files dnl that are optimized for particular CPU types (like GNU gmp has), you dnl will need to make the distinction. dnl See . AC_DEFUN([gl_HOST_CPU_C_ABI], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_C_ASM]) AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi], [case "$host_cpu" in changequote(,)dnl i[4567]86 ) changequote([,])dnl gl_cv_host_cpu_c_abi=i386 ;; x86_64 ) # On x86_64 systems, the C compiler may be generating code in one of # these ABIs: # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 # with native Windows (mingw, MSVC). # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (defined __x86_64__ || defined __amd64__ \ || defined _M_X64 || defined _M_AMD64) int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=x86_64-x32], [gl_cv_host_cpu_c_abi=x86_64])], [gl_cv_host_cpu_c_abi=i386]) ;; changequote(,)dnl alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) changequote([,])dnl gl_cv_host_cpu_c_abi=alpha ;; arm* | aarch64 ) # Assume arm with EABI. # On arm64 systems, the C compiler may be generating code in one of # these ABIs: # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __aarch64__ int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=arm64-ilp32], [gl_cv_host_cpu_c_abi=arm64])], [# Don't distinguish little-endian and big-endian arm, since they # don't require different machine code for simple operations and # since the user can distinguish them through the preprocessor # defines __ARMEL__ vs. __ARMEB__. # But distinguish arm which passes floating-point arguments and # return values in integer registers (r0, r1, ...) - this is # gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which # passes them in float registers (s0, s1, ...) and double registers # (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer # sets the preprocessor defines __ARM_PCS (for the first case) and # __ARM_PCS_VFP (for the second case), but older GCC does not. echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c # Look for a reference to the register d0 in the .s file. AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1 if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then gl_cv_host_cpu_c_abi=armhf else gl_cv_host_cpu_c_abi=arm fi rm -f conftest* ]) ;; hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) # On hppa, the C compiler may be generating 32-bit code or 64-bit # code. In the latter case, it defines _LP64 and __LP64__. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __LP64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=hppa64], [gl_cv_host_cpu_c_abi=hppa]) ;; ia64* ) # On ia64 on HP-UX, the C compiler may be generating 64-bit code or # 32-bit code. In the latter case, it defines _ILP32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=ia64-ilp32], [gl_cv_host_cpu_c_abi=ia64]) ;; mips* ) # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this # at 32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mips64], [# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIN32. # In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIO32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (_MIPS_SIM == _ABIN32) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mipsn32], [gl_cv_host_cpu_c_abi=mips])]) ;; powerpc* ) # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. # No need to distinguish them here; the caller may distinguish # them based on the OS. # On powerpc64 systems, the C compiler may still be generating # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may # be generating 64-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif ]])], [# On powerpc64, there are two ABIs on Linux: The AIX compatible # one and the ELFv2 one. The latter defines _CALL_ELF=2. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _CALL_ELF && _CALL_ELF == 2 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=powerpc64-elfv2], [gl_cv_host_cpu_c_abi=powerpc64]) ], [gl_cv_host_cpu_c_abi=powerpc]) ;; rs6000 ) gl_cv_host_cpu_c_abi=powerpc ;; riscv32 | riscv64 ) # There are 2 architectures (with variants): rv32* and rv64*. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if __riscv_xlen == 64 int ok; #else error fail #endif ]])], [cpu=riscv64], [cpu=riscv32]) # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. # Size of 'long' and 'void *': AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ int ok; #else error fail #endif ]])], [main_abi=lp64], [main_abi=ilp32]) # Float ABIs: # __riscv_float_abi_double: # 'float' and 'double' are passed in floating-point registers. # __riscv_float_abi_single: # 'float' are passed in floating-point registers. # __riscv_float_abi_soft: # No values are passed in floating-point registers. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_double int ok; #else error fail #endif ]])], [float_abi=d], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_single int ok; #else error fail #endif ]])], [float_abi=f], [float_abi='']) ]) gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}" ;; s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __s390x__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=s390x], [gl_cv_host_cpu_c_abi=s390]) ;; sparc | sparc64 ) # UltraSPARCs running Linux have `uname -m` = "sparc64", but the # C compiler still generates 32-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=sparc64], [gl_cv_host_cpu_c_abi=sparc]) ;; *) gl_cv_host_cpu_c_abi="$host_cpu" ;; esac ]) dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same. HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'` HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi" AC_SUBST([HOST_CPU]) AC_SUBST([HOST_CPU_C_ABI]) # This was # AC_DEFINE_UNQUOTED([__${HOST_CPU}__]) # AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__]) # earlier, but KAI C++ 3.2d doesn't like this. sed -e 's/-/_/g' >> confdefs.h < #endif #include ]], [[getservbyname(NULL,NULL);]])], [gl_cv_w32_getservbyname=yes]) LIBS="$gl_save_LIBS" ]) if test "$gl_cv_w32_getservbyname" = "yes"; then SERVENT_LIB="-lws2_32" fi ]) fi AC_SUBST([SERVENT_LIB]) ]) gsasl-1.8.1/m4/lt~obsolete.m40000644000000000000000000001377413521017123012664 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])]) gsasl-1.8.1/m4/msvc-nothrow.m40000644000000000000000000000053013516251575012761 00000000000000# msvc-nothrow.m4 serial 1 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MSVC_NOTHROW], [ AC_REQUIRE([gl_MSVC_INVAL]) ]) gsasl-1.8.1/m4/fdopen.m40000644000000000000000000000257613516251575011602 00000000000000# fdopen.m4 serial 4 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FDOPEN], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles m4_ifdef([gl_MSVC_INVAL], [ AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_FDOPEN=1 fi ]) if test $REPLACE_FDOPEN = 0; then dnl Test whether fdopen() sets errno when it fails due to a bad fd argument. AC_CACHE_CHECK([whether fdopen sets errno], [gl_cv_func_fdopen_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main (void) { FILE *fp; errno = 0; fp = fdopen (-1, "r"); if (fp == NULL && errno == 0) return 1; return 0; }]])], [gl_cv_func_fdopen_works=yes], [gl_cv_func_fdopen_works=no], [case "$host_os" in mingw*) gl_cv_func_fdopen_works="guessing no" ;; *) gl_cv_func_fdopen_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_fdopen_works" in *no) REPLACE_FDOPEN=1 ;; esac fi ]) dnl Prerequisites of lib/fdopen.c. AC_DEFUN([gl_PREREQ_FDOPEN], []) gsasl-1.8.1/m4/fstat.m40000644000000000000000000000206313516251575011437 00000000000000# fstat.m4 serial 6 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FSTAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) case "$host_os" in mingw* | solaris*) dnl On MinGW, the original stat() returns st_atime, st_mtime, dnl st_ctime values that are affected by the time zone. dnl Solaris stat can return a negative tv_nsec. REPLACE_FSTAT=1 ;; esac dnl Replace fstat() for supporting the gnulib-defined open() on directories. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then case "$gl_cv_func_open_directory_works" in *yes) ;; *) REPLACE_FSTAT=1 ;; esac fi ]) ]) # Prerequisites of lib/fstat.c and lib/stat-w32.c. AC_DEFUN([gl_PREREQ_FSTAT], [ AC_REQUIRE([gl_HEADER_SYS_STAT_H]) : ]) gsasl-1.8.1/m4/locale-ja.m40000644000000000000000000001323313516251575012146 00000000000000# locale-ja.m4 serial 14 dnl Copyright (C) 2003, 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Determine the name of a japanese locale with EUC-JP encoding. AC_DEFUN([gt_LOCALE_JA], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a traditional japanese locale], [gt_cv_locale_ja], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([ changequote(,)dnl #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales on Cygwin 1.5.x. */ if (MB_CUR_MAX == 1) return 1; /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } return 0; #endif } changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Note that on native Windows, the Japanese locale is # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we # cannot use it here. gt_cv_locale_ja=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the AIX locale name. if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP else # Test for the locale name with explicit encoding suffix. if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else # Test for the HP-UX, OSF/1, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else # Test for the IRIX, FreeBSD locale name. if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else # Test for the Solaris 7 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else # Special test for NetBSD 1.6. if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then gt_cv_locale_ja=ja_JP.eucJP else # None found. gt_cv_locale_ja=none fi fi fi fi fi fi ;; esac fi rm -fr conftest* ]) LOCALE_JA=$gt_cv_locale_ja AC_SUBST([LOCALE_JA]) ]) gsasl-1.8.1/m4/setenv.m40000644000000000000000000001123513516251576011624 00000000000000# setenv.m4 serial 28 dnl Copyright (C) 2001-2004, 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SETENV], [ AC_REQUIRE([gl_FUNC_SETENV_SEPARATE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles if test $ac_cv_func_setenv = no; then HAVE_SETENV=0 else AC_CACHE_CHECK([whether setenv validates arguments], [gl_cv_func_setenv_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #include ]], [[ int result = 0; { if (setenv ("", "", 0) != -1) result |= 1; else if (errno != EINVAL) result |= 2; } { if (setenv ("a", "=", 1) != 0) result |= 4; else if (strcmp (getenv ("a"), "=") != 0) result |= 8; } return result; ]])], [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_setenv_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_setenv_works="guessing no" ;; esac ])]) case "$gl_cv_func_setenv_works" in *yes) ;; *) REPLACE_SETENV=1 ;; esac fi ]) # Like gl_FUNC_SETENV, except prepare for separate compilation # (no REPLACE_SETENV, no AC_LIBOBJ). AC_DEFUN([gl_FUNC_SETENV_SEPARATE], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_CHECK_DECLS_ONCE([setenv]) if test $ac_cv_have_decl_setenv = no; then HAVE_DECL_SETENV=0 fi AC_CHECK_FUNCS_ONCE([setenv]) gl_PREREQ_SETENV ]) AC_DEFUN([gl_FUNC_UNSETENV], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_DECLS_ONCE([unsetenv]) if test $ac_cv_have_decl_unsetenv = no; then HAVE_DECL_UNSETENV=0 fi AC_CHECK_FUNCS([unsetenv]) if test $ac_cv_func_unsetenv = no; then HAVE_UNSETENV=0 else HAVE_UNSETENV=1 dnl Some BSDs return void, failing to do error checking. AC_CACHE_CHECK([for unsetenv() return type], [gt_cv_func_unsetenv_ret], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #undef _BSD #define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ #include extern #ifdef __cplusplus "C" #endif int unsetenv (const char *name); ]], [[]])], [gt_cv_func_unsetenv_ret='int'], [gt_cv_func_unsetenv_ret='void'])]) if test $gt_cv_func_unsetenv_ret = 'void'; then AC_DEFINE([VOID_UNSETENV], [1], [Define to 1 if unsetenv returns void instead of int.]) REPLACE_UNSETENV=1 fi dnl Solaris 10 unsetenv does not remove all copies of a name. dnl Haiku alpha 2 unsetenv gets confused by assignment to environ. dnl OpenBSD 4.7 unsetenv("") does not fail. AC_CACHE_CHECK([whether unsetenv obeys POSIX], [gl_cv_func_unsetenv_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include extern char **environ; ]], [[ char entry1[] = "a=1"; char entry2[] = "b=2"; char *env[] = { entry1, entry2, NULL }; if (putenv ((char *) "a=1")) return 1; if (putenv (entry2)) return 2; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 3; if (!unsetenv ("") || errno != EINVAL) return 4; entry2[0] = 'b'; environ = env; if (!getenv ("a")) return 5; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 6; ]])], [gl_cv_func_unsetenv_works=yes], [gl_cv_func_unsetenv_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_unsetenv_works="guessing no" ;; esac ])]) case "$gl_cv_func_unsetenv_works" in *yes) ;; *) REPLACE_UNSETENV=1 ;; esac fi ]) # Prerequisites of lib/setenv.c. AC_DEFUN([gl_PREREQ_SETENV], [ AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([gl_ENVIRON]) AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CHECK_HEADERS([search.h]) AC_CHECK_FUNCS([tsearch]) ]) # Prerequisites of lib/unsetenv.c. AC_DEFUN([gl_PREREQ_UNSETENV], [ AC_REQUIRE([gl_ENVIRON]) AC_CHECK_HEADERS_ONCE([unistd.h]) ]) gsasl-1.8.1/m4/netinet_in_h.m40000644000000000000000000000207513516251575012764 00000000000000# netinet_in_h.m4 serial 5 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_NETINET_IN], [ AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_netinet_in_h_selfcontained], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], [gl_cv_header_netinet_in_h_selfcontained=yes], [gl_cv_header_netinet_in_h_selfcontained=no]) ]) if test $gl_cv_header_netinet_in_h_selfcontained = yes; then NETINET_IN_H='' else NETINET_IN_H='netinet/in.h' AC_CHECK_HEADERS([netinet/in.h]) gl_CHECK_NEXT_HEADERS([netinet/in.h]) if test $ac_cv_header_netinet_in_h = yes; then HAVE_NETINET_IN_H=1 else HAVE_NETINET_IN_H=0 fi AC_SUBST([HAVE_NETINET_IN_H]) fi AC_SUBST([NETINET_IN_H]) AM_CONDITIONAL([GL_GENERATE_NETINET_IN_H], [test -n "$NETINET_IN_H"]) ]) gsasl-1.8.1/m4/poll_h.m40000644000000000000000000000301413516251575011570 00000000000000# poll_h.m4 serial 3 dnl Copyright (C) 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Bruno Haible. AC_DEFUN([gl_POLL_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_POLL_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([poll.h]) if test $ac_cv_header_poll_h = yes; then HAVE_POLL_H=1 else HAVE_POLL_H=0 fi AC_SUBST([HAVE_POLL_H]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([poll.h]) gl_PREREQ_SYS_H_WINSOCK2 dnl for HAVE_WINSOCK2_H dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [poll]) ]) AC_DEFUN([gl_POLL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_POLL_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_POLL_H_DEFAULTS], [ GNULIB_POLL=0; AC_SUBST([GNULIB_POLL]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_POLL=1; AC_SUBST([HAVE_POLL]) REPLACE_POLL=0; AC_SUBST([REPLACE_POLL]) ]) gsasl-1.8.1/m4/getopt.m40000644000000000000000000003131113516251575011616 00000000000000# getopt.m4 serial 46 dnl Copyright (C) 2002-2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Request a POSIX compliant getopt function. AC_DEFUN([gl_FUNC_GETOPT_POSIX], [ m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX]) AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_GETOPT_CHECK_HEADERS]) dnl Other modules can request the gnulib implementation of the getopt dnl functions unconditionally, by defining gl_REPLACE_GETOPT_ALWAYS. dnl argp.m4 does this. m4_ifdef([gl_REPLACE_GETOPT_ALWAYS], [ REPLACE_GETOPT=1 ], [ REPLACE_GETOPT=0 if test -n "$gl_replace_getopt"; then REPLACE_GETOPT=1 fi ]) if test $REPLACE_GETOPT = 1; then dnl Arrange for getopt.h to be created. gl_GETOPT_SUBSTITUTE_HEADER fi ]) # Request a POSIX compliant getopt function with GNU extensions (such as # options with optional arguments) and the functions getopt_long, # getopt_long_only. AC_DEFUN([gl_FUNC_GETOPT_GNU], [ dnl Set the variable gl_getopt_required, so that all invocations of dnl gl_GETOPT_CHECK_HEADERS in the scope of the current configure file dnl will check for getopt with GNU extensions. dnl This means that if one gnulib-tool invocation requests getopt-posix dnl and another gnulib-tool invocation requests getopt-gnu, it is as if dnl both had requested getopt-gnu. m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU]) dnl No need to invoke gl_FUNC_GETOPT_POSIX here; this is automatically dnl done through the module dependency getopt-gnu -> getopt-posix. ]) # Determine whether to replace the entire getopt facility. AC_DEFUN([gl_GETOPT_CHECK_HEADERS], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([AC_PROG_AWK]) dnl for awk that supports ENVIRON dnl Persuade Solaris to declare optarg, optind, opterr, optopt. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) gl_CHECK_NEXT_HEADERS([getopt.h]) if test $ac_cv_header_getopt_h = yes; then HAVE_GETOPT_H=1 else HAVE_GETOPT_H=0 fi AC_SUBST([HAVE_GETOPT_H]) gl_replace_getopt= dnl Test whether is available. if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes]) fi dnl Test whether the function getopt_long is available. if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes]) fi dnl POSIX 2008 does not specify leading '+' behavior, but see dnl http://austingroupbugs.net/view.php?id=191 for a recommendation on dnl the next version of POSIX. For now, we only guarantee leading '+' dnl behavior with getopt-gnu. if test -z "$gl_replace_getopt"; then AC_CACHE_CHECK([whether getopt is POSIX compatible], [gl_cv_func_getopt_posix], [ dnl Merging these three different test programs into a single one dnl would require a reset mechanism. On BSD systems, it can be done dnl through 'optreset'; on some others (glibc), it can be done by dnl setting 'optind' to 0; on others again (HP-UX, IRIX, OSF/1, dnl Solaris 9, musl libc), there is no such mechanism. if test $cross_compiling = no; then dnl Sanity check. Succeeds everywhere (except on MSVC, dnl which lacks and getopt() entirely). AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { static char program[] = "program"; static char a[] = "-a"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, a, foo, bar, NULL }; int c; c = getopt (4, argv, "ab"); if (!(c == 'a')) return 1; c = getopt (4, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) return 3; return 0; } ]])], [gl_cv_func_getopt_posix=maybe], [gl_cv_func_getopt_posix=no]) if test $gl_cv_func_getopt_posix = maybe; then dnl Sanity check with '+'. Succeeds everywhere (except on MSVC, dnl which lacks and getopt() entirely). AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { static char program[] = "program"; static char donald[] = "donald"; static char p[] = "-p"; static char billy[] = "billy"; static char duck[] = "duck"; static char a[] = "-a"; static char bar[] = "bar"; char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; int c; c = getopt (7, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) return 5; if (!(strcmp (argv[1], "donald") == 0)) return 6; if (!(strcmp (argv[2], "-p") == 0)) return 7; if (!(strcmp (argv[3], "billy") == 0)) return 8; if (!(strcmp (argv[4], "duck") == 0)) return 9; if (!(strcmp (argv[5], "-a") == 0)) return 10; if (!(strcmp (argv[6], "bar") == 0)) return 11; if (!(optind == 1)) return 12; return 0; } ]])], [gl_cv_func_getopt_posix=maybe], [gl_cv_func_getopt_posix=no]) fi if test $gl_cv_func_getopt_posix = maybe; then dnl Detect Mac OS X 10.5, AIX 7.1, mingw bug. AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { static char program[] = "program"; static char ab[] = "-ab"; char *argv[3] = { program, ab, NULL }; if (getopt (2, argv, "ab:") != 'a') return 13; if (getopt (2, argv, "ab:") != '?') return 14; if (optopt != 'b') return 15; if (optind != 2) return 16; return 0; } ]])], [gl_cv_func_getopt_posix=yes], [gl_cv_func_getopt_posix=no]) fi else case "$host_os" in darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";; *) gl_cv_func_getopt_posix="guessing yes";; esac fi ]) case "$gl_cv_func_getopt_posix" in *no) gl_replace_getopt=yes ;; esac fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu], [# Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the # optstring is necessary for programs like m4 that have POSIX-mandated # semantics for supporting options interspersed with files. # Also, since getopt_long is a GNU extension, we require optind=0. # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; # so take care to revert to the correct (non-)export state. dnl GNU Coding Standards currently allow awk but not env; besides, env dnl is ambiguous with environment values that contain newlines. gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" #include #include ]GL_NOCRASH[ ]], [[ int result = 0; nocrash_init(); /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10. */ { static char conftest[] = "conftest"; static char plus[] = "-+"; char *argv[3] = { conftest, plus, NULL }; opterr = 0; if (getopt (2, argv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { static char program[] = "program"; static char p[] = "-p"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, p, foo, bar, NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') result |= 2; else if (optarg != NULL) result |= 4; else if (getopt (4, argv, "p::") != -1) result |= 6; else if (optind != 2) result |= 8; } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { static char program[] = "program"; static char foo[] = "foo"; static char p[] = "-p"; char *argv[] = { program, foo, p, NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; else if (getopt (3, argv, "-p") != 'p') result |= 16; } /* This code fails on glibc 2.11. */ { static char program[] = "program"; static char b[] = "-b"; static char a[] = "-a"; char *argv[] = { program, b, a, NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 32; else if (getopt (3, argv, "+:a:b") != ':') result |= 32; } /* This code dumps core on glibc 2.14. */ { static char program[] = "program"; static char w[] = "-W"; static char dummy[] = "dummy"; char *argv[] = { program, w, dummy, NULL }; optind = opterr = 1; if (getopt (3, argv, "W;") != 'W') result |= 64; } return result; ]])], [gl_cv_func_getopt_gnu=yes], [gl_cv_func_getopt_gnu=no], [dnl Cross compiling. Assume the worst, even on glibc platforms. gl_cv_func_getopt_gnu="guessing no" ]) case $gl_had_POSIXLY_CORRECT in exported) ;; yes) AS_UNSET([POSIXLY_CORRECT]); POSIXLY_CORRECT=1 ;; *) AS_UNSET([POSIXLY_CORRECT]) ;; esac ]) if test "$gl_cv_func_getopt_gnu" != yes; then gl_replace_getopt=yes else AC_CACHE_CHECK([for working GNU getopt_long function], [gl_cv_func_getopt_long_gnu], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include ]], [[static const struct option long_options[] = { { "xtremely-",no_argument, NULL, 1003 }, { "xtra", no_argument, NULL, 1001 }, { "xtreme", no_argument, NULL, 1002 }, { "xtremely", no_argument, NULL, 1003 }, { NULL, 0, NULL, 0 } }; /* This code fails on OpenBSD 5.0. */ { static char program[] = "program"; static char xtremel[] = "--xtremel"; char *argv[] = { program, xtremel, NULL }; int option_index; optind = 1; opterr = 0; if (getopt_long (2, argv, "", long_options, &option_index) != 1003) return 1; } return 0; ]])], [gl_cv_func_getopt_long_gnu=yes], [gl_cv_func_getopt_long_gnu=no], [dnl Cross compiling. Guess no on OpenBSD, yes otherwise. case "$host_os" in openbsd*) gl_cv_func_getopt_long_gnu="guessing no";; *) gl_cv_func_getopt_long_gnu="guessing yes";; esac ]) ]) case "$gl_cv_func_getopt_long_gnu" in *yes) ;; *) gl_replace_getopt=yes ;; esac fi fi ]) AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER], [ AC_CHECK_HEADERS_ONCE([sys/cdefs.h]) if test $ac_cv_header_sys_cdefs_h = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi AC_SUBST([HAVE_SYS_CDEFS_H]) AC_DEFINE([__GETOPT_PREFIX], [[rpl_]], [Define to rpl_ if the getopt replacement functions and variables should be used.]) GETOPT_H=getopt.h GETOPT_CDEFS_H=getopt-cdefs.h AC_SUBST([GETOPT_H]) AC_SUBST([GETOPT_CDEFS_H]) ]) gsasl-1.8.1/m4/manywarnings.m40000644000000000000000000002355313516251575013042 00000000000000# manywarnings.m4 serial 18 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # gl_MANYWARN_COMPLEMENT(OUTVAR, LISTVAR, REMOVEVAR) # -------------------------------------------------- # Copy LISTVAR to OUTVAR except for the entries in REMOVEVAR. # Elements separated by whitespace. In set logic terms, the function # does OUTVAR = LISTVAR \ REMOVEVAR. AC_DEFUN([gl_MANYWARN_COMPLEMENT], [ gl_warn_set= set x $2; shift for gl_warn_item do case " $3 " in *" $gl_warn_item "*) ;; *) gl_warn_set="$gl_warn_set $gl_warn_item" ;; esac done $1=$gl_warn_set ]) # gl_MANYWARN_ALL_GCC(VARIABLE) # ----------------------------- # Add all documented GCC warning parameters to variable VARIABLE. # Note that you need to test them using gl_WARN_ADD if you want to # make sure your gcc understands it. # # The effects of this macro depend on the current language (_AC_LANG). AC_DEFUN([gl_MANYWARN_ALL_GCC], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) # Specialization for _AC_LANG = C. # Use of m4_defun rather than AC_DEFUN works around a bug in autoconf < 2.63b. m4_defun([gl_MANYWARN_ALL_GCC(C)], [ AC_LANG_PUSH([C]) dnl First, check for some issues that only occur when combining multiple dnl gcc warning categories. AC_REQUIRE([AC_PROG_CC]) if test -n "$GCC"; then dnl Check if -W -Werror -Wno-missing-field-initializers is supported dnl with the current $CC $CFLAGS $CPPFLAGS. AC_CACHE_CHECK([whether -Wno-missing-field-initializers is supported], [gl_cv_cc_nomfi_supported], [gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [gl_cv_cc_nomfi_supported=yes], [gl_cv_cc_nomfi_supported=no]) CFLAGS="$gl_save_CFLAGS" ]) if test "$gl_cv_cc_nomfi_supported" = yes; then dnl Now check whether -Wno-missing-field-initializers is needed dnl for the { 0, } construct. AC_CACHE_CHECK([whether -Wno-missing-field-initializers is needed], [gl_cv_cc_nomfi_needed], [gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -W -Werror" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[int f (void) { typedef struct { int a; int b; } s_t; s_t s1 = { 0, }; return s1.b; } ]], [[]])], [gl_cv_cc_nomfi_needed=no], [gl_cv_cc_nomfi_needed=yes]) CFLAGS="$gl_save_CFLAGS" ]) fi dnl Next, check if -Werror -Wuninitialized is useful with the dnl user's choice of $CFLAGS; some versions of gcc warn that it dnl has no effect if -O is not also used AC_CACHE_CHECK([whether -Wuninitialized is supported], [gl_cv_cc_uninitialized_supported], [gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror -Wuninitialized" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [gl_cv_cc_uninitialized_supported=yes], [gl_cv_cc_uninitialized_supported=no]) CFLAGS="$gl_save_CFLAGS" ]) fi # List all gcc warning categories. # To compare this list to your installed GCC's, run this Bash command: # # comm -3 \ # <((sed -n 's/^ *\(-[^ 0-9][^ ]*\) .*/\1/p' manywarnings.m4; \ # awk '/^[^#]/ {print $1}' ../build-aux/gcc-warning.spec) | sort) \ # <(LC_ALL=C gcc --help=warnings | sed -n 's/^ \(-[^ ]*\) .*/\1/p' | sort) gl_manywarn_set= for gl_manywarn_item in -fno-common \ -W \ -Wabsolute-value \ -Waddress \ -Waddress-of-packed-member \ -Waggressive-loop-optimizations \ -Wall \ -Wattribute-warning \ -Wattributes \ -Wbad-function-cast \ -Wbool-compare \ -Wbool-operation \ -Wbuiltin-declaration-mismatch \ -Wbuiltin-macro-redefined \ -Wcannot-profile \ -Wcast-align \ -Wcast-align=strict \ -Wcast-function-type \ -Wchar-subscripts \ -Wclobbered \ -Wcomment \ -Wcomments \ -Wcoverage-mismatch \ -Wcpp \ -Wdangling-else \ -Wdate-time \ -Wdeprecated \ -Wdeprecated-declarations \ -Wdesignated-init \ -Wdisabled-optimization \ -Wdiscarded-array-qualifiers \ -Wdiscarded-qualifiers \ -Wdiv-by-zero \ -Wdouble-promotion \ -Wduplicated-branches \ -Wduplicated-cond \ -Wduplicate-decl-specifier \ -Wempty-body \ -Wendif-labels \ -Wenum-compare \ -Wexpansion-to-defined \ -Wextra \ -Wformat-contains-nul \ -Wformat-extra-args \ -Wformat-nonliteral \ -Wformat-security \ -Wformat-signedness \ -Wformat-y2k \ -Wformat-zero-length \ -Wframe-address \ -Wfree-nonheap-object \ -Whsa \ -Wif-not-aligned \ -Wignored-attributes \ -Wignored-qualifiers \ -Wimplicit \ -Wimplicit-function-declaration \ -Wimplicit-int \ -Wincompatible-pointer-types \ -Winit-self \ -Winline \ -Wint-conversion \ -Wint-in-bool-context \ -Wint-to-pointer-cast \ -Winvalid-memory-model \ -Winvalid-pch \ -Wlogical-not-parentheses \ -Wlogical-op \ -Wmain \ -Wmaybe-uninitialized \ -Wmemset-elt-size \ -Wmemset-transposed-args \ -Wmisleading-indentation \ -Wmissing-attributes \ -Wmissing-braces \ -Wmissing-declarations \ -Wmissing-field-initializers \ -Wmissing-include-dirs \ -Wmissing-parameter-type \ -Wmissing-profile \ -Wmissing-prototypes \ -Wmultichar \ -Wmultistatement-macros \ -Wnarrowing \ -Wnested-externs \ -Wnonnull \ -Wnonnull-compare \ -Wnull-dereference \ -Wodr \ -Wold-style-declaration \ -Wold-style-definition \ -Wopenmp-simd \ -Woverflow \ -Woverlength-strings \ -Woverride-init \ -Wpacked \ -Wpacked-bitfield-compat \ -Wpacked-not-aligned \ -Wparentheses \ -Wpointer-arith \ -Wpointer-compare \ -Wpointer-sign \ -Wpointer-to-int-cast \ -Wpragmas \ -Wpsabi \ -Wrestrict \ -Wreturn-local-addr \ -Wreturn-type \ -Wscalar-storage-order \ -Wsequence-point \ -Wshadow \ -Wshift-count-negative \ -Wshift-count-overflow \ -Wshift-negative-value \ -Wsizeof-array-argument \ -Wsizeof-pointer-div \ -Wsizeof-pointer-memaccess \ -Wstack-protector \ -Wstrict-aliasing \ -Wstrict-overflow \ -Wstrict-prototypes \ -Wstringop-truncation \ -Wsuggest-attribute=cold \ -Wsuggest-attribute=const \ -Wsuggest-attribute=format \ -Wsuggest-attribute=malloc \ -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=pure \ -Wsuggest-final-methods \ -Wsuggest-final-types \ -Wswitch \ -Wswitch-bool \ -Wswitch-unreachable \ -Wsync-nand \ -Wsystem-headers \ -Wtautological-compare \ -Wtrampolines \ -Wtrigraphs \ -Wtype-limits \ -Wuninitialized \ -Wunknown-pragmas \ -Wunsafe-loop-optimizations \ -Wunused \ -Wunused-but-set-parameter \ -Wunused-but-set-variable \ -Wunused-function \ -Wunused-label \ -Wunused-local-typedefs \ -Wunused-macros \ -Wunused-parameter \ -Wunused-result \ -Wunused-value \ -Wunused-variable \ -Wvarargs \ -Wvariadic-macros \ -Wvector-operation-performance \ -Wvla \ -Wvolatile-register-var \ -Wwrite-strings \ \ ; do gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" done # gcc --help=warnings outputs an unusual form for these options; list # them here so that the above 'comm' command doesn't report a false match. # Would prefer "min (PTRDIFF_MAX, SIZE_MAX)", but it must be a literal. # Also, AC_COMPUTE_INT requires it to fit in a long; it is 2**63 on # the only platforms where it does not fit in a long, so make that # a special case. AC_MSG_CHECKING([max safe object size]) AC_COMPUTE_INT([gl_alloc_max], [LONG_MAX < (PTRDIFF_MAX < (size_t) -1 ? PTRDIFF_MAX : (size_t) -1) ? -1 : PTRDIFF_MAX < (size_t) -1 ? (long) PTRDIFF_MAX : (long) (size_t) -1], [[#include #include #include ]], [gl_alloc_max=2147483647]) case $gl_alloc_max in -1) gl_alloc_max=9223372036854775807;; esac AC_MSG_RESULT([$gl_alloc_max]) gl_manywarn_set="$gl_manywarn_set -Walloc-size-larger-than=$gl_alloc_max" gl_manywarn_set="$gl_manywarn_set -Warray-bounds=2" gl_manywarn_set="$gl_manywarn_set -Wattribute-alias=2" gl_manywarn_set="$gl_manywarn_set -Wformat-overflow=2" gl_manywarn_set="$gl_manywarn_set -Wformat-truncation=2" gl_manywarn_set="$gl_manywarn_set -Wimplicit-fallthrough=5" gl_manywarn_set="$gl_manywarn_set -Wnormalized=nfc" gl_manywarn_set="$gl_manywarn_set -Wshift-overflow=2" gl_manywarn_set="$gl_manywarn_set -Wstringop-overflow=2" gl_manywarn_set="$gl_manywarn_set -Wunused-const-variable=2" gl_manywarn_set="$gl_manywarn_set -Wvla-larger-than=4031" # These are needed for older GCC versions. if test -n "$GCC"; then case `($CC --version) 2>/dev/null` in 'gcc (GCC) '[[0-3]].* | \ 'gcc (GCC) '4.[[0-7]].*) gl_manywarn_set="$gl_manywarn_set -fdiagnostics-show-option" gl_manywarn_set="$gl_manywarn_set -funit-at-a-time" ;; esac fi # Disable specific options as needed. if test "$gl_cv_cc_nomfi_needed" = yes; then gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" fi if test "$gl_cv_cc_uninitialized_supported" = no; then gl_manywarn_set="$gl_manywarn_set -Wno-uninitialized" fi $1=$gl_manywarn_set AC_LANG_POP([C]) ]) # Specialization for _AC_LANG = C++. # Use of m4_defun rather than AC_DEFUN works around a bug in autoconf < 2.63b. m4_defun([gl_MANYWARN_ALL_GCC(C++)], [ gl_MANYWARN_ALL_GCC_CXX_IMPL([$1]) ]) gsasl-1.8.1/m4/gnulib-common.m40000644000000000000000000004050713516251575013071 00000000000000# gnulib-common.m4 serial 44 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.62]) # gl_COMMON # is expanded unconditionally through gnulib-tool magic. AC_DEFUN([gl_COMMON], [ dnl Use AC_REQUIRE here, so that the code is expanded once only. AC_REQUIRE([gl_00GNULIB]) AC_REQUIRE([gl_COMMON_BODY]) ]) AC_DEFUN([gl_COMMON_BODY], [ AH_VERBATIM([_Noreturn], [/* The _Noreturn keyword of C11. */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER))) # define _Noreturn [[noreturn]] # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) /* _Noreturn works as-is. */ # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif ]) AH_VERBATIM([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. __APPLE__ && __MACH__ test for Mac OS X. __APPLE_CC__ tests for the Apple compiler and its version. __STDC_VERSION__ tests for the C99 mode. */ #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ # define __GNUC_STDC_INLINE__ 1 #endif]) AH_VERBATIM([unused_parameter], [/* Define as a marker that can be attached to declarations that might not be used. This helps to reduce warnings, such as from GCC -Wunused-parameter. */ #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED __attribute__ ((__unused__)) #else # define _GL_UNUSED #endif /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name is a misnomer outside of parameter lists. */ #define _UNUSED_PARAMETER_ _GL_UNUSED /* gcc supports the "unused" attribute on possibly unused labels, and g++ has since version 4.5. Note to support C++ as well as C, _GL_UNUSED_LABEL should be used with a trailing ; */ #if !defined __cplusplus || __GNUC__ > 4 \ || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) # define _GL_UNUSED_LABEL _GL_UNUSED #else # define _GL_UNUSED_LABEL #endif /* The __pure__ attribute was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The __const__ attribute was added in gcc 2.95. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) #else # define _GL_ATTRIBUTE_CONST /* empty */ #endif /* The __malloc__ attribute was added in gcc 3. */ #if 3 <= __GNUC__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) #else # define _GL_ATTRIBUTE_MALLOC /* empty */ #endif ]) AH_VERBATIM([async_safe], [/* The _GL_ASYNC_SAFE marker should be attached to functions that are signal handlers (for signals other than SIGABRT, SIGPIPE) or can be invoked from such signal handlers. Such functions have some restrictions: * All functions that it calls should be marked _GL_ASYNC_SAFE as well, or should be listed as async-signal-safe in POSIX section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in particular, are NOT async-signal-safe. * All memory locations (variables and struct fields) that these functions access must be marked 'volatile'. This holds for both read and write accesses. Otherwise the compiler might optimize away stores to and reads from such locations that occur in the program, depending on its data flow analysis. For example, when the program contains a loop that is intended to inspect a variable set from within a signal handler while (!signal_occurred) ; the compiler is allowed to transform this into an endless loop if the variable 'signal_occurred' is not declared 'volatile'. Additionally, recall that: * A signal handler should not modify errno (except if it is a handler for a fatal signal and ends by raising the same signal again, thus provoking the termination of the process). If it invokes a function that may clobber errno, it needs to save and restore the value of errno. */ #define _GL_ASYNC_SAFE ]) dnl Preparation for running test programs: dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not dnl to /dev/tty, so they can be redirected to log files. Such diagnostics dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. LIBC_FATAL_STDERR_=1 export LIBC_FATAL_STDERR_ ]) # gl_MODULE_INDICATOR_CONDITION # expands to a C preprocessor expression that evaluates to 1 or 0, depending # whether a gnulib module that has been requested shall be considered present # or not. m4_define([gl_MODULE_INDICATOR_CONDITION], [1]) # gl_MODULE_INDICATOR_SET_VARIABLE([modulename]) # sets the shell variable that indicates the presence of the given module to # a C preprocessor expression that will evaluate to 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], [ gl_MODULE_INDICATOR_SET_VARIABLE_AUX( [GNULIB_[]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION]) ]) # gl_MODULE_INDICATOR_SET_VARIABLE_AUX([variable]) # modifies the shell variable to include the gl_MODULE_INDICATOR_CONDITION. # The shell variable's value is a C preprocessor expression that evaluates # to 0 or 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX], [ m4_if(m4_defn([gl_MODULE_INDICATOR_CONDITION]), [1], [ dnl Simplify the expression VALUE || 1 to 1. $1=1 ], [gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([$1], [gl_MODULE_INDICATOR_CONDITION])]) ]) # gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([variable], [condition]) # modifies the shell variable to include the given condition. The shell # variable's value is a C preprocessor expression that evaluates to 0 or 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR], [ dnl Simplify the expression 1 || CONDITION to 1. if test "$[]$1" != 1; then dnl Simplify the expression 0 || CONDITION to CONDITION. if test "$[]$1" = 0; then $1=$2 else $1="($[]$1 || $2)" fi fi ]) # gl_MODULE_INDICATOR([modulename]) # defines a C macro indicating the presence of the given module # in a location where it can be used. # | Value | Value | # | in lib/ | in tests/ | # --------------------------------------------+---------+-----------+ # Module present among main modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module present among tests-related modules: | 0 | 1 | # --------------------------------------------+---------+-----------+ # Module not present at all: | 0 | 0 | # --------------------------------------------+---------+-----------+ AC_DEFUN([gl_MODULE_INDICATOR], [ AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [gl_MODULE_INDICATOR_CONDITION], [Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module $1 shall be considered present.]) ]) # gl_MODULE_INDICATOR_FOR_TESTS([modulename]) # defines a C macro indicating the presence of the given module # in lib or tests. This is useful to determine whether the module # should be tested. # | Value | Value | # | in lib/ | in tests/ | # --------------------------------------------+---------+-----------+ # Module present among main modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module present among tests-related modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module not present at all: | 0 | 0 | # --------------------------------------------+---------+-----------+ AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [ AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], [Define to 1 when the gnulib module $1 should be tested.]) ]) # gl_ASSERT_NO_GNULIB_POSIXCHECK # asserts that there will never be a need to #define GNULIB_POSIXCHECK. # and thereby enables an optimization of configure and config.h. # Used by Emacs. AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK], [ dnl Override gl_WARN_ON_USE_PREPARE. dnl But hide this definition from 'aclocal'. AC_DEFUN([gl_W][ARN_ON_USE_PREPARE], []) ]) # gl_ASSERT_NO_GNULIB_TESTS # asserts that there will be no gnulib tests in the scope of the configure.ac # and thereby enables an optimization of config.h. # Used by Emacs. AC_DEFUN([gl_ASSERT_NO_GNULIB_TESTS], [ dnl Override gl_MODULE_INDICATOR_FOR_TESTS. AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], []) ]) # Test whether exists. # Set HAVE_FEATURES_H. AC_DEFUN([gl_FEATURES_H], [ AC_CHECK_HEADERS_ONCE([features.h]) if test $ac_cv_header_features_h = yes; then HAVE_FEATURES_H=1 else HAVE_FEATURES_H=0 fi AC_SUBST([HAVE_FEATURES_H]) ]) # AS_VAR_IF(VAR, VALUE, [IF-MATCH], [IF-NOT-MATCH]) # ---------------------------------------------------- # Backport of autoconf-2.63b's macro. # Remove this macro when we can assume autoconf >= 2.64. m4_ifndef([AS_VAR_IF], [m4_define([AS_VAR_IF], [AS_IF([test x"AS_VAR_GET([$1])" = x""$2], [$3], [$4])])]) # gl_PROG_CC_C99 # Modifies the value of the shell variable CC in an attempt to make $CC # understand ISO C99 source code. # This is like AC_PROG_CC_C99, except that # - AC_PROG_CC_C99 does not mix well with AC_PROG_CC_STDC # , # but many more packages use AC_PROG_CC_STDC than AC_PROG_CC_C99 # . # Remaining problems: # - When AC_PROG_CC_STDC is invoked twice, it adds the C99 enabling options # to CC twice # . # - AC_PROG_CC_STDC is likely to change now that C11 is an ISO standard. AC_DEFUN([gl_PROG_CC_C99], [ dnl Change that version number to the minimum Autoconf version that supports dnl mixing AC_PROG_CC_C99 calls with AC_PROG_CC_STDC calls. m4_version_prereq([9.0], [AC_REQUIRE([AC_PROG_CC_C99])], [AC_REQUIRE([AC_PROG_CC_STDC])]) ]) # gl_PROG_AR_RANLIB # Determines the values for AR, ARFLAGS, RANLIB that fit with the compiler. # The user can set the variables AR, ARFLAGS, RANLIB if he wants to override # the values. AC_DEFUN([gl_PROG_AR_RANLIB], [ dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler dnl as "cc", and GCC as "gcc". They have different object file formats and dnl library formats. In particular, the GNU binutils programs ar and ranlib dnl produce libraries that work only with gcc, not with cc. AC_REQUIRE([AC_PROG_CC]) dnl The '][' hides this use from 'aclocal'. AC_BEFORE([$0], [A][M_PROG_AR]) AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler], [ AC_EGREP_CPP([Amsterdam], [ #ifdef __ACK__ Amsterdam #endif ], [gl_cv_c_amsterdam_compiler=yes], [gl_cv_c_amsterdam_compiler=no]) ]) dnl Don't compete with AM_PROG_AR's decision about AR/ARFLAGS if we are not dnl building with __ACK__. if test $gl_cv_c_amsterdam_compiler = yes; then if test -z "$AR"; then AR='cc -c.a' fi if test -z "$ARFLAGS"; then ARFLAGS='-o' fi else dnl AM_PROG_AR was added in automake v1.11.2. AM_PROG_AR does not AC_SUBST dnl ARFLAGS variable (it is filed into Makefile.in directly by automake dnl script on-demand, if not specified by ./configure of course). dnl Don't AC_REQUIRE the AM_PROG_AR otherwise the code for __ACK__ above dnl will be ignored. Also, pay attention to call AM_PROG_AR in else block dnl because AM_PROG_AR is written so it could re-set AR variable even for dnl __ACK__. It may seem like its easier to avoid calling the macro here, dnl but we need to AC_SUBST both AR/ARFLAGS (thus those must have some good dnl default value and automake should usually know them). dnl dnl The '][' hides this use from 'aclocal'. m4_ifdef([A][M_PROG_AR], [A][M_PROG_AR], [:]) fi dnl In case the code above has not helped with setting AR/ARFLAGS, use dnl Automake-documented default values for AR and ARFLAGS, but prefer dnl ${host}-ar over ar (useful for cross-compiling). AC_CHECK_TOOL([AR], [ar], [ar]) if test -z "$ARFLAGS"; then ARFLAGS='cr' fi AC_SUBST([AR]) AC_SUBST([ARFLAGS]) if test -z "$RANLIB"; then if test $gl_cv_c_amsterdam_compiler = yes; then RANLIB=':' else dnl Use the ranlib program if it is available. AC_PROG_RANLIB fi fi AC_SUBST([RANLIB]) ]) # AC_C_RESTRICT # This definition is copied from post-2.69 Autoconf and overrides the # AC_C_RESTRICT macro from autoconf 2.60..2.69. It can be removed # once autoconf >= 2.70 can be assumed. It's painful to check version # numbers, and in practice this macro is more up-to-date than Autoconf # is, so override Autoconf unconditionally. AC_DEFUN([AC_C_RESTRICT], [AC_CACHE_CHECK([for C/C++ restrict keyword], [ac_cv_c_restrict], [ac_cv_c_restrict=no # The order here caters to the fact that C++ does not require restrict. for ac_kw in __restrict __restrict__ _Restrict restrict; do AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[typedef int *int_ptr; int foo (int_ptr $ac_kw ip) { return ip[0]; } int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ int bar (int ip[$ac_kw]) { return ip[0]; } ]], [[int s[1]; int *$ac_kw t = s; t[0] = 0; return foo (t) + bar (t); ]])], [ac_cv_c_restrict=$ac_kw]) test "$ac_cv_c_restrict" != no && break done ]) AH_VERBATIM([restrict], [/* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported directly. */ #undef restrict /* Work around a bug in Sun C++: it does not support _Restrict or __restrict__, even though the corresponding Sun C compiler ends up with "#define restrict _Restrict" or "#define restrict __restrict__" in the previous line. Perhaps some future version of Sun C++ will work with restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ #if defined __SUNPRO_CC && !defined __RESTRICT # define _Restrict # define __restrict__ #endif]) case $ac_cv_c_restrict in restrict) ;; no) AC_DEFINE([restrict], []) ;; *) AC_DEFINE_UNQUOTED([restrict], [$ac_cv_c_restrict]) ;; esac ])# AC_C_RESTRICT # gl_BIGENDIAN # is like AC_C_BIGENDIAN, except that it can be AC_REQUIREd. # Note that AC_REQUIRE([AC_C_BIGENDIAN]) does not work reliably because some # macros invoke AC_C_BIGENDIAN with arguments. AC_DEFUN([gl_BIGENDIAN], [ AC_C_BIGENDIAN ]) # gl_CACHE_VAL_SILENT(cache-id, command-to-set-it) # is like AC_CACHE_VAL(cache-id, command-to-set-it), except that it does not # output a spurious "(cached)" mark in the midst of other configure output. # This macro should be used instead of AC_CACHE_VAL when it is not surrounded # by an AC_MSG_CHECKING/AC_MSG_RESULT pair. AC_DEFUN([gl_CACHE_VAL_SILENT], [ saved_as_echo_n="$as_echo_n" as_echo_n=':' AC_CACHE_VAL([$1], [$2]) as_echo_n="$saved_as_echo_n" ]) # AS_VAR_COPY was added in autoconf 2.63b m4_define_default([AS_VAR_COPY], [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])]) gsasl-1.8.1/m4/ltsugar.m40000644000000000000000000001044013521017122011755 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 ]) gsasl-1.8.1/m4/warnings.m40000644000000000000000000001016713516251576012153 00000000000000# warnings.m4 serial 14 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # gl_AS_VAR_APPEND(VAR, VALUE) # ---------------------------- # Provide the functionality of AS_VAR_APPEND if Autoconf does not have it. m4_ifdef([AS_VAR_APPEND], [m4_copy([AS_VAR_APPEND], [gl_AS_VAR_APPEND])], [m4_define([gl_AS_VAR_APPEND], [AS_VAR_SET([$1], [AS_VAR_GET([$1])$2])])]) # gl_COMPILER_OPTION_IF(OPTION, [IF-SUPPORTED], [IF-NOT-SUPPORTED], # [PROGRAM = AC_LANG_PROGRAM()]) # ----------------------------------------------------------------- # Check if the compiler supports OPTION when compiling PROGRAM. # # The effects of this macro depend on the current language (_AC_LANG). AC_DEFUN([gl_COMPILER_OPTION_IF], [ dnl FIXME: gl_Warn must be used unquoted until we can assume Autoconf dnl 2.64 or newer. AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_[]_AC_LANG_ABBREV[]_$1])dnl AS_VAR_PUSHDEF([gl_Flags], [_AC_LANG_PREFIX[]FLAGS])dnl AS_LITERAL_IF([$1], [m4_pushdef([gl_Positive], m4_bpatsubst([$1], [^-Wno-], [-W]))], [gl_positive="$1" case $gl_positive in -Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;; esac m4_pushdef([gl_Positive], [$gl_positive])])dnl AC_CACHE_CHECK([whether _AC_LANG compiler handles $1], m4_defn([gl_Warn]), [ gl_save_compiler_FLAGS="$gl_Flags" gl_AS_VAR_APPEND(m4_defn([gl_Flags]), [" $gl_unknown_warnings_are_errors ]m4_defn([gl_Positive])["]) AC_LINK_IFELSE([m4_default([$4], [AC_LANG_PROGRAM([])])], [AS_VAR_SET(gl_Warn, [yes])], [AS_VAR_SET(gl_Warn, [no])]) gl_Flags="$gl_save_compiler_FLAGS" ]) AS_VAR_IF(gl_Warn, [yes], [$2], [$3]) m4_popdef([gl_Positive])dnl AS_VAR_POPDEF([gl_Flags])dnl AS_VAR_POPDEF([gl_Warn])dnl ]) # gl_UNKNOWN_WARNINGS_ARE_ERRORS # ------------------------------ # Clang doesn't complain about unknown warning options unless one also # specifies -Wunknown-warning-option -Werror. Detect this. # # The effects of this macro depend on the current language (_AC_LANG). AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) # Specialization for _AC_LANG = C. This macro can be AC_REQUIREd. # Use of m4_defun rather than AC_DEFUN works around a bug in autoconf < 2.63b. m4_defun([gl_UNKNOWN_WARNINGS_ARE_ERRORS(C)], [ AC_LANG_PUSH([C]) gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL AC_LANG_POP([C]) ]) # Specialization for _AC_LANG = C++. This macro can be AC_REQUIREd. # Use of m4_defun rather than AC_DEFUN works around a bug in autoconf < 2.63b. m4_defun([gl_UNKNOWN_WARNINGS_ARE_ERRORS(C++)], [ AC_LANG_PUSH([C++]) gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL AC_LANG_POP([C++]) ]) # Specialization for _AC_LANG = Objective C. This macro can be AC_REQUIREd. # Use of m4_defun rather than AC_DEFUN works around a bug in autoconf < 2.63b. m4_defun([gl_UNKNOWN_WARNINGS_ARE_ERRORS(Objective C)], [ AC_LANG_PUSH([Objective C]) gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL AC_LANG_POP([Objective C]) ]) AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL], [gl_COMPILER_OPTION_IF([-Werror -Wunknown-warning-option], [gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'], [gl_unknown_warnings_are_errors=])]) # gl_WARN_ADD(OPTION, [VARIABLE = WARN_CFLAGS/WARN_CXXFLAGS], # [PROGRAM = AC_LANG_PROGRAM()]) # ----------------------------------------------------------- # Adds parameter to WARN_CFLAGS/WARN_CXXFLAGS if the compiler supports it # when compiling PROGRAM. For example, gl_WARN_ADD([-Wparentheses]). # # If VARIABLE is a variable name, AC_SUBST it. # # The effects of this macro depend on the current language (_AC_LANG). AC_DEFUN([gl_WARN_ADD], [AC_REQUIRE([gl_UNKNOWN_WARNINGS_ARE_ERRORS(]_AC_LANG[)]) gl_COMPILER_OPTION_IF([$1], [gl_AS_VAR_APPEND(m4_if([$2], [], [[WARN_]_AC_LANG_PREFIX[FLAGS]], [[$2]]), [" $1"])], [], [$3]) m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])])], [AC_SUBST([WARN_]_AC_LANG_PREFIX[FLAGS])])dnl ]) # Local Variables: # mode: autoconf # End: gsasl-1.8.1/m4/wchar_t.m40000644000000000000000000000146213516251576011750 00000000000000# wchar_t.m4 serial 4 (gettext-0.18.2) dnl Copyright (C) 2002-2003, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Test whether has the 'wchar_t' type. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WCHAR_T], [ AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include wchar_t foo = (wchar_t)'\0';]], [[]])], [gt_cv_c_wchar_t=yes], [gt_cv_c_wchar_t=no])]) if test $gt_cv_c_wchar_t = yes; then AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.]) fi ]) gsasl-1.8.1/m4/mbrtowc.m40000644000000000000000000005005413516251575011776 00000000000000# mbrtowc.m4 serial 31 -*- coding: utf-8 -*- dnl Copyright (C) 2001-2002, 2004-2005, 2008-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_MBRTOWC], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) gl_MBSTATE_T_BROKEN AC_CHECK_FUNCS_ONCE([mbrtowc]) if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 AC_CHECK_DECLS([mbrtowc],,, [[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include ]]) if test $ac_cv_have_decl_mbrtowc = yes; then dnl On Minix 3.1.8, the system's declares mbrtowc() although dnl it does not have the function. Avoid a collision with gnulib's dnl replacement. REPLACE_MBRTOWC=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOWC=1 else gl_MBRTOWC_NULL_ARG1 gl_MBRTOWC_NULL_ARG2 gl_MBRTOWC_RETVAL gl_MBRTOWC_NUL_RETVAL gl_MBRTOWC_EMPTY_INPUT gl_MBRTOWC_C_LOCALE case "$gl_cv_func_mbrtowc_null_arg1" in *yes) ;; *) AC_DEFINE([MBRTOWC_NULL_ARG1_BUG], [1], [Define if the mbrtowc function has the NULL pwc argument bug.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_null_arg2" in *yes) ;; *) AC_DEFINE([MBRTOWC_NULL_ARG2_BUG], [1], [Define if the mbrtowc function has the NULL string argument bug.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_retval" in *yes) ;; *) AC_DEFINE([MBRTOWC_RETVAL_BUG], [1], [Define if the mbrtowc function returns a wrong return value.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_nul_retval" in *yes) ;; *) AC_DEFINE([MBRTOWC_NUL_RETVAL_BUG], [1], [Define if the mbrtowc function does not return 0 for a NUL character.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_empty_input" in *yes) ;; *) AC_DEFINE([MBRTOWC_EMPTY_INPUT_BUG], [1], [Define if the mbrtowc function does not return (size_t) -2 for empty input.]) REPLACE_MBRTOWC=1 ;; esac case $gl_cv_C_locale_sans_EILSEQ in *yes) ;; *) AC_DEFINE([C_LOCALE_MAYBE_EILSEQ], [1], [Define to 1 if the C locale may have encoding errors.]) REPLACE_MBRTOWC=1 ;; esac fi fi ]) dnl Test whether mbsinit() and mbrtowc() need to be overridden in a way that dnl redefines the semantics of the given mbstate_t type. dnl Result is REPLACE_MBSTATE_T. dnl When this is set to 1, we replace both mbsinit() and mbrtowc(), in order to dnl avoid inconsistencies. AC_DEFUN([gl_MBSTATE_T_BROKEN], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) AC_CHECK_FUNCS_ONCE([mbsinit]) AC_CHECK_FUNCS_ONCE([mbrtowc]) if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then gl_MBRTOWC_INCOMPLETE_STATE gl_MBRTOWC_SANITYCHECK REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac case "$gl_cv_func_mbrtowc_sanitycheck" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac else REPLACE_MBSTATE_T=1 fi ]) dnl Test whether mbrtowc puts the state into non-initial state when parsing an dnl incomplete multibyte character. dnl Result is gl_cv_func_mbrtowc_incomplete_state. AC_DEFUN([gl_MBRTOWC_INCOMPLETE_STATE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_JA]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc handles incomplete characters], [gl_cv_func_mbrtowc_incomplete_state], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on AIX and OSF/1. aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_JA != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_incomplete_state=yes], [gl_cv_func_mbrtowc_incomplete_state=no], [:]) fi ]) ]) dnl Test whether mbrtowc works not worse than mbtowc. dnl Result is gl_cv_func_mbrtowc_sanitycheck. AC_DEFUN([gl_MBRTOWC_SANITYCHECK], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc works as well as mbtowc], [gl_cv_func_mbrtowc_sanitycheck], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris 8. solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { /* This fails on Solaris 8: mbrtowc returns 2, and sets wc to 0x00F0. mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 6, &state) != 4 && mbtowc (&wc, input + 3, 6) == 4) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_sanitycheck=yes], [gl_cv_func_mbrtowc_sanitycheck=no], [:]) fi ]) ]) dnl Test whether mbrtowc supports a NULL pwc argument correctly. dnl Result is gl_cv_func_mbrtowc_null_arg1. AC_DEFUN([gl_MBRTOWC_NULL_ARG1], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_FR_UTF8]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc handles a NULL pwc argument], [gl_cv_func_mbrtowc_null_arg1], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_FR_UTF8 != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { char input[] = "\303\237er"; mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 5, &state); if (ret != 2) result |= 1; if (!mbsinit (&state)) result |= 2; memset (&state, '\0', sizeof (mbstate_t)); ret = mbrtowc (NULL, input, 5, &state); if (ret != 2) /* Solaris 7 fails here: ret is -1. */ result |= 4; if (!mbsinit (&state)) result |= 8; } return result; }]])], [gl_cv_func_mbrtowc_null_arg1=yes], [gl_cv_func_mbrtowc_null_arg1=no], [:]) fi ]) ]) dnl Test whether mbrtowc supports a NULL string argument correctly. dnl Result is gl_cv_func_mbrtowc_null_arg2. AC_DEFUN([gl_MBRTOWC_NULL_ARG2], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_FR_UTF8]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc handles a NULL string argument], [gl_cv_func_mbrtowc_null_arg2], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on OSF/1. osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_FR_UTF8 != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { mbstate_t state; wchar_t wc; int ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; mbrtowc (&wc, NULL, 5, &state); /* Check that wc was not modified. */ if (wc != (wchar_t) 0xBADFACE) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_null_arg2=yes], [gl_cv_func_mbrtowc_null_arg2=no], [:]) fi ]) ]) dnl Test whether mbrtowc, when parsing the end of a multibyte character, dnl correctly returns the number of bytes that were needed to complete the dnl character (not the total number of bytes of the multibyte character). dnl Result is gl_cv_func_mbrtowc_retval. AC_DEFUN([gl_MBRTOWC_RETVAL], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_FR_UTF8]) AC_REQUIRE([gt_LOCALE_JA]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether mbrtowc has a correct return value], [gl_cv_func_mbrtowc_retval], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on HP-UX, Solaris, native Windows. hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_retval="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \ || { case "$host_os" in mingw*) true;; *) false;; esac; }; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { int result = 0; int found_some_locale = 0; /* This fails on Solaris. */ if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 1) result |= 1; } found_some_locale = 1; } /* This fails on HP-UX 11.11. */ if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 2) result |= 2; } found_some_locale = 1; } /* This fails on native Windows. */ if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) { char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 4; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) { char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 8; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_China.936") != NULL) { char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 16; } found_some_locale = 1; } return (found_some_locale ? result : 77); }]])], [gl_cv_func_mbrtowc_retval=yes], [if test $? != 77; then gl_cv_func_mbrtowc_retval=no fi ], [:]) fi ]) ]) dnl Test whether mbrtowc, when parsing a NUL character, correctly returns 0. dnl Result is gl_cv_func_mbrtowc_nul_retval. AC_DEFUN([gl_MBRTOWC_NUL_RETVAL], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc returns 0 when parsing a NUL character], [gl_cv_func_mbrtowc_nul_retval], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris 8 and 9. solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { /* This fails on Solaris 8 and 9. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "", 1, &state) != 0) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_nul_retval=yes], [gl_cv_func_mbrtowc_nul_retval=no], [:]) fi ]) ]) dnl Test whether mbrtowc returns the correct value on empty input. AC_DEFUN([gl_MBRTOWC_EMPTY_INPUT], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc works on empty input], [gl_cv_func_mbrtowc_empty_input], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on AIX and glibc systems. aix* | *-gnu* | gnu*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_mbrtowc_empty_input="guessing yes" ;; *) gl_cv_func_mbrtowc_empty_input="guessing yes" ;; esac changequote([,])dnl AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include static wchar_t wc; static mbstate_t mbs; int main (void) { return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2; }]])], [gl_cv_func_mbrtowc_empty_input=yes], [gl_cv_func_mbrtowc_empty_input=no], [:]) ]) ]) dnl Test whether mbrtowc reports encoding errors in the C locale. dnl Although POSIX was never intended to allow this, the GNU C Library dnl and other implementations do it. See: dnl https://sourceware.org/bugzilla/show_bug.cgi?id=19932 AC_DEFUN([gl_MBRTOWC_C_LOCALE], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether the C locale is free of encoding errors], [gl_cv_C_locale_sans_EILSEQ], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. gl_cv_C_locale_sans_EILSEQ="guessing no" AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include ]], [[ int i; char *locale = setlocale (LC_ALL, "C"); if (! locale) return 2; for (i = CHAR_MIN; i <= CHAR_MAX; i++) { char c = i; wchar_t wc; mbstate_t mbs = { 0, }; size_t ss = mbrtowc (&wc, &c, 1, &mbs); if (1 < ss) return 3; } return 0; ]])], [gl_cv_C_locale_sans_EILSEQ=yes], [gl_cv_C_locale_sans_EILSEQ=no], [case "$host_os" in # Guess yes on native Windows. mingw*) gl_cv_C_locale_sans_EILSEQ="guessing yes" ;; esac ]) ]) ]) # Prerequisites of lib/mbrtowc.c. AC_DEFUN([gl_PREREQ_MBRTOWC], [ AC_REQUIRE([AC_C_INLINE]) : ]) dnl From Paul Eggert dnl This is an override of an autoconf macro. AC_DEFUN([AC_FUNC_MBRTOWC], [ dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60. AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared], [gl_cv_func_mbrtowc], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[/* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include ]], [[wchar_t wc; char const s[] = ""; size_t n = 1; mbstate_t state; return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])], [gl_cv_func_mbrtowc=yes], [gl_cv_func_mbrtowc=no])]) if test $gl_cv_func_mbrtowc = yes; then AC_DEFINE([HAVE_MBRTOWC], [1], [Define to 1 if mbrtowc and mbstate_t are properly declared.]) fi ]) gsasl-1.8.1/m4/extern-inline.m40000644000000000000000000001156713521000315013064 00000000000000dnl 'extern inline' a la ISO C99. dnl Copyright 2012-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_EXTERN_INLINE], [ AH_VERBATIM([extern_inline], [/* Please see the Gnulib manual for how to use these macros. Suppress extern inline with HP-UX cc, as it appears to be broken; see . Suppress extern inline with Sun C in standards-conformance mode, as it mishandles inline functions that call each other. E.g., for 'inline void f (void) { } inline void g (void) { f (); }', c99 incorrectly complains 'reference to static identifier "f" in extern inline function'. This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) on configurations that mistakenly use 'static inline' to implement functions or macros in standard C headers like . For example, if isdigit is mistakenly implemented via a static inline function, a program containing an extern inline function that calls isdigit may not work since the C standard prohibits extern inline functions from calling static functions (ISO C 99 section 6.7.4.(3). This bug is known to occur on: OS X 10.8 and earlier; see: https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html DragonFly; see http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log FreeBSD; see: https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and for clang but remains for g++; see . Assume DragonFly and FreeBSD will be similar. GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. It defines a macro __GNUC_STDC_INLINE__ to indicate this situation or a macro __GNUC_GNU_INLINE__ to indicate the opposite situation. GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline semantics but warns, unless -fgnu89-inline is used: warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. */ #if (((defined __APPLE__ && defined __MACH__) \ || defined __DragonFly__ || defined __FreeBSD__) \ && (defined __header_inline \ ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ && ! defined __clang__) \ : ((! defined _DONT_USE_CTYPE_INLINE_ \ && (defined __GNUC__ || defined __cplusplus)) \ || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ && defined __GNUC__ && ! defined __cplusplus)))) # define _GL_EXTERN_INLINE_STDHEADER_BUG #endif #if ((__GNUC__ \ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ : (199901L <= __STDC_VERSION__ \ && !defined __HP_cc \ && !defined __PGI \ && !(defined __SUNPRO_C && __STDC__))) \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # define _GL_INLINE inline # define _GL_EXTERN_INLINE extern inline # define _GL_EXTERN_INLINE_IN_USE #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) # else # define _GL_INLINE extern inline # endif # define _GL_EXTERN_INLINE extern # define _GL_EXTERN_INLINE_IN_USE #else # define _GL_INLINE static _GL_UNUSED # define _GL_EXTERN_INLINE static _GL_UNUSED #endif /* In GCC 4.6 (inclusive) to 5.1 (exclusive), suppress bogus "no previous prototype for 'FOO'" and "no previous declaration for 'FOO'" diagnostics, when FOO is an inline function in the header; see and . */ #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ # define _GL_INLINE_HEADER_CONST_PRAGMA # else # define _GL_INLINE_HEADER_CONST_PRAGMA \ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") # endif # define _GL_INLINE_HEADER_BEGIN \ _Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ _GL_INLINE_HEADER_CONST_PRAGMA # define _GL_INLINE_HEADER_END \ _Pragma ("GCC diagnostic pop") #else # define _GL_INLINE_HEADER_BEGIN # define _GL_INLINE_HEADER_END #endif]) ]) gsasl-1.8.1/m4/wchar_h.m40000644000000000000000000002371513516251576011741 00000000000000dnl A placeholder for ISO C99 , for platforms that have issues. dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Eric Blake. # wchar_h.m4 serial 43 AC_DEFUN([gl_WCHAR_H], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) dnl Prepare for creating substitute . dnl Check for (missing in Linux uClibc when built without wide dnl character support). dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([wchar.h]) if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi AC_SUBST([HAVE_WCHAR_H]) AC_REQUIRE([gl_FEATURES_H]) AC_REQUIRE([gt_TYPE_WINT_T]) if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi AC_SUBST([HAVE_WINT_T]) AC_REQUIRE([gl_TYPE_WINT_T_PREREQ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include #endif #include ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth wcsftime ]) ]) dnl Check whether is usable at all. AC_DEFUN([gl_WCHAR_H_INLINE_OK], [ dnl Test whether suffers due to the transition from '__inline' to dnl 'gnu_inline'. See dnl and . In summary, dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and dnl the option -std=c99 or -std=gnu99, leads to a broken . AC_CACHE_CHECK([whether uses 'inline' correctly], [gl_cv_header_wchar_h_correct_inline], [gl_cv_header_wchar_h_correct_inline=yes AC_LANG_CONFTEST([ AC_LANG_SOURCE([[#define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include extern int zero (void); int main () { return zero(); } ]])]) dnl Do not rename the object file from conftest.$ac_objext to dnl conftest1.$ac_objext, as this will cause the link to fail on dnl z/OS when using the XPLINK object format (due to duplicate dnl CSECT names). Instead, temporarily redefine $ac_compile so dnl that the object file has the latter name from the start. save_ac_compile="$ac_compile" ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest1/` if echo '#include "conftest.c"' >conftest1.c && AC_TRY_EVAL([ac_compile]); then AC_LANG_CONFTEST([ AC_LANG_SOURCE([[#define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int zero (void) { return 0; } ]])]) dnl See note above about renaming object files. ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest2/` if echo '#include "conftest.c"' >conftest2.c && AC_TRY_EVAL([ac_compile]); then if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then : else gl_cv_header_wchar_h_correct_inline=no fi fi fi ac_compile="$save_ac_compile" rm -f conftest[12].c conftest[12].$ac_objext conftest$ac_exeext ]) if test $gl_cv_header_wchar_h_correct_inline = no; then AC_MSG_ERROR([ cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: - Add the flag -fgnu89-inline to CC and reconfigure, or - Fix your include files, using parts of , or - Use a gcc version older than 4.3, or - Don't use the flags -std=c99 or -std=gnu99. Configuration aborted.]) fi ]) AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_WCHAR_H_DEFAULTS], [ GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC]) GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB]) GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT]) GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC]) GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN]) GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS]) GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS]) GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB]) GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS]) GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS]) GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH]) GNULIB_WMEMCHR=0; AC_SUBST([GNULIB_WMEMCHR]) GNULIB_WMEMCMP=0; AC_SUBST([GNULIB_WMEMCMP]) GNULIB_WMEMCPY=0; AC_SUBST([GNULIB_WMEMCPY]) GNULIB_WMEMMOVE=0; AC_SUBST([GNULIB_WMEMMOVE]) GNULIB_WMEMSET=0; AC_SUBST([GNULIB_WMEMSET]) GNULIB_WCSLEN=0; AC_SUBST([GNULIB_WCSLEN]) GNULIB_WCSNLEN=0; AC_SUBST([GNULIB_WCSNLEN]) GNULIB_WCSCPY=0; AC_SUBST([GNULIB_WCSCPY]) GNULIB_WCPCPY=0; AC_SUBST([GNULIB_WCPCPY]) GNULIB_WCSNCPY=0; AC_SUBST([GNULIB_WCSNCPY]) GNULIB_WCPNCPY=0; AC_SUBST([GNULIB_WCPNCPY]) GNULIB_WCSCAT=0; AC_SUBST([GNULIB_WCSCAT]) GNULIB_WCSNCAT=0; AC_SUBST([GNULIB_WCSNCAT]) GNULIB_WCSCMP=0; AC_SUBST([GNULIB_WCSCMP]) GNULIB_WCSNCMP=0; AC_SUBST([GNULIB_WCSNCMP]) GNULIB_WCSCASECMP=0; AC_SUBST([GNULIB_WCSCASECMP]) GNULIB_WCSNCASECMP=0; AC_SUBST([GNULIB_WCSNCASECMP]) GNULIB_WCSCOLL=0; AC_SUBST([GNULIB_WCSCOLL]) GNULIB_WCSXFRM=0; AC_SUBST([GNULIB_WCSXFRM]) GNULIB_WCSDUP=0; AC_SUBST([GNULIB_WCSDUP]) GNULIB_WCSCHR=0; AC_SUBST([GNULIB_WCSCHR]) GNULIB_WCSRCHR=0; AC_SUBST([GNULIB_WCSRCHR]) GNULIB_WCSCSPN=0; AC_SUBST([GNULIB_WCSCSPN]) GNULIB_WCSSPN=0; AC_SUBST([GNULIB_WCSSPN]) GNULIB_WCSPBRK=0; AC_SUBST([GNULIB_WCSPBRK]) GNULIB_WCSSTR=0; AC_SUBST([GNULIB_WCSSTR]) GNULIB_WCSTOK=0; AC_SUBST([GNULIB_WCSTOK]) GNULIB_WCSWIDTH=0; AC_SUBST([GNULIB_WCSWIDTH]) GNULIB_WCSFTIME=0; AC_SUBST([GNULIB_WCSFTIME]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC]) HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT]) HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC]) HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN]) HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS]) HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS]) HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB]) HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS]) HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS]) HAVE_WMEMCHR=1; AC_SUBST([HAVE_WMEMCHR]) HAVE_WMEMCMP=1; AC_SUBST([HAVE_WMEMCMP]) HAVE_WMEMCPY=1; AC_SUBST([HAVE_WMEMCPY]) HAVE_WMEMMOVE=1; AC_SUBST([HAVE_WMEMMOVE]) HAVE_WMEMSET=1; AC_SUBST([HAVE_WMEMSET]) HAVE_WCSLEN=1; AC_SUBST([HAVE_WCSLEN]) HAVE_WCSNLEN=1; AC_SUBST([HAVE_WCSNLEN]) HAVE_WCSCPY=1; AC_SUBST([HAVE_WCSCPY]) HAVE_WCPCPY=1; AC_SUBST([HAVE_WCPCPY]) HAVE_WCSNCPY=1; AC_SUBST([HAVE_WCSNCPY]) HAVE_WCPNCPY=1; AC_SUBST([HAVE_WCPNCPY]) HAVE_WCSCAT=1; AC_SUBST([HAVE_WCSCAT]) HAVE_WCSNCAT=1; AC_SUBST([HAVE_WCSNCAT]) HAVE_WCSCMP=1; AC_SUBST([HAVE_WCSCMP]) HAVE_WCSNCMP=1; AC_SUBST([HAVE_WCSNCMP]) HAVE_WCSCASECMP=1; AC_SUBST([HAVE_WCSCASECMP]) HAVE_WCSNCASECMP=1; AC_SUBST([HAVE_WCSNCASECMP]) HAVE_WCSCOLL=1; AC_SUBST([HAVE_WCSCOLL]) HAVE_WCSXFRM=1; AC_SUBST([HAVE_WCSXFRM]) HAVE_WCSDUP=1; AC_SUBST([HAVE_WCSDUP]) HAVE_WCSCHR=1; AC_SUBST([HAVE_WCSCHR]) HAVE_WCSRCHR=1; AC_SUBST([HAVE_WCSRCHR]) HAVE_WCSCSPN=1; AC_SUBST([HAVE_WCSCSPN]) HAVE_WCSSPN=1; AC_SUBST([HAVE_WCSSPN]) HAVE_WCSPBRK=1; AC_SUBST([HAVE_WCSPBRK]) HAVE_WCSSTR=1; AC_SUBST([HAVE_WCSSTR]) HAVE_WCSTOK=1; AC_SUBST([HAVE_WCSTOK]) HAVE_WCSWIDTH=1; AC_SUBST([HAVE_WCSWIDTH]) HAVE_WCSFTIME=1; AC_SUBST([HAVE_WCSFTIME]) HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB]) HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH]) REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T]) REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC]) REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB]) REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT]) REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC]) REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN]) REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS]) REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS]) REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB]) REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS]) REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS]) REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH]) REPLACE_WCSWIDTH=0; AC_SUBST([REPLACE_WCSWIDTH]) REPLACE_WCSFTIME=0; AC_SUBST([REPLACE_WCSFTIME]) ]) gsasl-1.8.1/m4/po.m40000644000000000000000000004503713516317326010741 00000000000000# po.m4 serial 22 (gettext-0.19) dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.60]) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl AC_REQUIRE([AC_PROG_SED])dnl AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.19]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" tab=`printf '\t'` if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" <, a header that may be supplied by this distribution.]) ALLOCA_H=alloca.h else dnl alloca exists as a library function, i.e. it is slow and probably dnl a memory leak. Don't define HAVE_ALLOCA in this case. ALLOCA_H= fi else ALLOCA_H=alloca.h fi AC_SUBST([ALLOCA_H]) AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"]) if test $ac_cv_working_alloca_h = yes; then HAVE_ALLOCA_H=1 else HAVE_ALLOCA_H=0 fi AC_SUBST([HAVE_ALLOCA_H]) ]) # Prerequisites of lib/alloca.c. # STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. AC_DEFUN([gl_PREREQ_ALLOCA], [:]) # This works around a bug in autoconf <= 2.68. # See . m4_version_prereq([2.69], [] ,[ # This is taken from the following Autoconf patch: # https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=6cd9f12520b0d6f76d3230d7565feba1ecf29497 # _AC_LIBOBJ_ALLOCA # ----------------- # Set up the LIBOBJ replacement of 'alloca'. Well, not exactly # AC_LIBOBJ since we actually set the output variable 'ALLOCA'. # Nevertheless, for Automake, AC_LIBSOURCES it. m4_define([_AC_LIBOBJ_ALLOCA], [# The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. AC_LIBSOURCES(alloca.c) AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])dnl AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using 'alloca.c'.]) AC_CACHE_CHECK(whether 'alloca.c' needs Cray hooks, ac_cv_os_cray, [AC_EGREP_CPP(webecray, [#if defined CRAY && ! defined CRAY2 webecray #else wenotbecray #endif ], ac_cv_os_cray=yes, ac_cv_os_cray=no)]) if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do AC_CHECK_FUNC($ac_func, [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func, [Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP systems. This function is required for 'alloca.c' support on those systems.]) break]) done fi AC_CACHE_CHECK([stack direction for C alloca], [ac_cv_c_stack_direction], [AC_RUN_IFELSE([AC_LANG_SOURCE( [AC_INCLUDES_DEFAULT int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; }])], [ac_cv_c_stack_direction=1], [ac_cv_c_stack_direction=-1], [ac_cv_c_stack_direction=0])]) AH_VERBATIM([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ @%:@undef STACK_DIRECTION])dnl AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction) ])# _AC_LIBOBJ_ALLOCA ]) gsasl-1.8.1/m4/stdint_h.m40000644000000000000000000000174313516251576012137 00000000000000# stdint_h.m4 serial 9 dnl Copyright (C) 1997-2004, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. # Define HAVE_STDINT_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_STDINT_H], [ AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[uintmax_t i = (uintmax_t) -1; return !i;]])], [gl_cv_header_stdint_h=yes], [gl_cv_header_stdint_h=no])]) if test $gl_cv_header_stdint_h = yes; then AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) gsasl-1.8.1/m4/lseek.m40000644000000000000000000000436113516251575011424 00000000000000# lseek.m4 serial 10 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_LSEEK], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_CC]) AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe], [case "$host_os" in mingw*) dnl Native Windows. dnl The result of lseek (fd, (off_t)0, SEEK_CUR) or dnl SetFilePointer(handle, 0, NULL, FILE_CURRENT) dnl for a pipe depends on the environment: In a Cygwin 1.5 dnl environment it succeeds (wrong); in a Cygwin 1.7 environment dnl it fails with a wrong errno value. gl_cv_func_lseek_pipe=no ;; *) if test $cross_compiling = no; then AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include /* for off_t */ #include /* for SEEK_CUR */ #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif ]], [[ /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ]])], [if test -s conftest$ac_exeext \ && ./conftest$ac_exeext < conftest.$ac_ext \ && test 1 = "`echo hi \ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi ], [gl_cv_func_lseek_pipe=no]) else AC_COMPILE_IFELSE( [AC_LANG_SOURCE([[ #if defined __BEOS__ /* BeOS mistakenly return 0 when trying to seek on pipes. */ Choke me. #endif]])], [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no]) fi ;; esac ]) if test $gl_cv_func_lseek_pipe = no; then REPLACE_LSEEK=1 AC_DEFINE([LSEEK_PIPE_BROKEN], [1], [Define to 1 if lseek does not detect pipes.]) fi AC_REQUIRE([gl_SYS_TYPES_H]) if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_LSEEK=1 fi ]) gsasl-1.8.1/m4/readline.m40000644000000000000000000000533013516251576012102 00000000000000# readline.m4 serial 10 dnl Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Simon Josefsson, with help from Bruno Haible and Oskar dnl Liljeblad. AC_DEFUN([gl_FUNC_READLINE], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libreadline and define LIBREADLINE, LTLIBREADLINE and dnl INCREADLINE accordingly. AC_LIB_LINKFLAGS_BODY([readline]) dnl Add $INCREADLINE to CPPFLAGS before performing the following checks, dnl because if the user has installed libreadline and not disabled its use dnl via --without-libreadline-prefix, he wants to use it. The AC_LINK_IFELSE dnl will then succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCREADLINE]) AC_CACHE_CHECK([for readline], [gl_cv_lib_readline], [ gl_cv_lib_readline=no am_save_LIBS="$LIBS" dnl On some systems, -lreadline doesn't link without an additional dnl -lncurses or -ltermcap. dnl Try -lncurses before -ltermcap, because libtermcap is insecure dnl by design and obsolete since 1994. Try -lcurses last, because dnl libcurses is unusable on some old Unices. for extra_lib in "" ncurses termcap curses; do LIBS="$am_save_LIBS $LIBREADLINE" if test -n "$extra_lib"; then LIBS="$LIBS -l$extra_lib" fi AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include #include ]], [[readline((char*)0);]])], [if test -n "$extra_lib"; then gl_cv_lib_readline="yes, requires -l$extra_lib" else gl_cv_lib_readline="yes" fi ]) if test "$gl_cv_lib_readline" != no; then break fi done LIBS="$am_save_LIBS" ]) if test "$gl_cv_lib_readline" != no; then AC_DEFINE([HAVE_READLINE], [1], [Define if you have the readline library.]) extra_lib=`echo "$gl_cv_lib_readline" | sed -n -e 's/yes, requires //p'` if test -n "$extra_lib"; then LIBREADLINE="$LIBREADLINE $extra_lib" LTLIBREADLINE="$LTLIBREADLINE $extra_lib" fi AC_MSG_CHECKING([how to link with libreadline]) AC_MSG_RESULT([$LIBREADLINE]) else dnl If $LIBREADLINE didn't lead to a usable library, we don't dnl need $INCREADLINE either. CPPFLAGS="$am_save_CPPFLAGS" LIBREADLINE= LTLIBREADLINE= fi AC_SUBST([LIBREADLINE]) AC_SUBST([LTLIBREADLINE]) AC_CHECK_HEADERS([readline/readline.h readline/history.h]) ]) # Prerequisites of lib/readline.c. AC_DEFUN([gl_PREREQ_READLINE], [ : ]) gsasl-1.8.1/m4/wcrtomb.m40000644000000000000000000001151313516251576011774 00000000000000# wcrtomb.m4 serial 14 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_WCRTOMB], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) gl_MBSTATE_T_BROKEN AC_CHECK_FUNCS_ONCE([wcrtomb]) if test $ac_cv_func_wcrtomb = no; then HAVE_WCRTOMB=0 AC_CHECK_DECLS([wcrtomb],,, [[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include ]]) if test $ac_cv_have_decl_wcrtomb = yes; then dnl On Minix 3.1.8, the system's declares wcrtomb() although dnl it does not have the function. Avoid a collision with gnulib's dnl replacement. REPLACE_WCRTOMB=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_WCRTOMB=1 fi if test $REPLACE_WCRTOMB = 0; then dnl On Android 4.3, wcrtomb produces wrong characters in the C locale. dnl On AIX 4.3, OSF/1 5.1 and Solaris <= 11.3, wcrtomb (NULL, 0, NULL) dnl sometimes returns 0 instead of 1. AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_FR]) AC_REQUIRE([gt_LOCALE_FR_UTF8]) AC_REQUIRE([gt_LOCALE_JA]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether wcrtomb works in the C locale], [gl_cv_func_wcrtomb_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include int main () { mbstate_t state; char out[64]; int count; memset (&state, 0, sizeof (state)); out[0] = 'x'; count = wcrtomb (out, L'a', &state); return !(count == 1 && out[0] == 'a'); }]])], [gl_cv_func_wcrtomb_works=yes], [gl_cv_func_wcrtomb_works=no], [case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_wcrtomb_works="guessing no";; # Guess yes otherwise. *) gl_cv_func_wcrtomb_works="guessing yes";; esac ]) ]) case "$gl_cv_func_wcrtomb_works" in *yes) ;; *) REPLACE_WCRTOMB=1 ;; esac fi if test $REPLACE_WCRTOMB = 0; then AC_CACHE_CHECK([whether wcrtomb return value is correct], [gl_cv_func_wcrtomb_retval], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on AIX 4, OSF/1 and Solaris. aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_wcrtomb_retval="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_wcrtomb_retval="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 1; } if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 2; } if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 4; } if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 8; } return result; }]])], [gl_cv_func_wcrtomb_retval=yes], [gl_cv_func_wcrtomb_retval=no], [:]) fi ]) case "$gl_cv_func_wcrtomb_retval" in *yes) ;; *) REPLACE_WCRTOMB=1 ;; esac fi fi ]) # Prerequisites of lib/wcrtomb.c. AC_DEFUN([gl_PREREQ_WCRTOMB], [ : ]) gsasl-1.8.1/m4/btowc.m40000644000000000000000000000647413516251575011446 00000000000000# btowc.m4 serial 11 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_BTOWC], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) dnl Check whether is usable at all, first. Otherwise the test dnl program below may lead to an endless loop. See dnl . AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) AC_CHECK_FUNCS_ONCE([btowc]) if test $ac_cv_func_btowc = no; then HAVE_BTOWC=0 else AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_FR]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Cygwin 1.7.2 btowc('\0') is WEOF, not 0. AC_CACHE_CHECK([whether btowc(0) is correct], [gl_cv_func_btowc_nul], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (btowc ('\0') != 0) return 1; return 0; }]])], [gl_cv_func_btowc_nul=yes], [gl_cv_func_btowc_nul=no], [ changequote(,)dnl case "$host_os" in # Guess no on Cygwin. cygwin*) gl_cv_func_btowc_nul="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_btowc_nul="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_btowc_nul="guessing yes" ;; esac changequote([,])dnl ]) ]) dnl IRIX 6.5 btowc(EOF) is 0xFF, not WEOF. AC_CACHE_CHECK([whether btowc(EOF) is correct], [gl_cv_func_btowc_eof], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on IRIX. irix*) gl_cv_func_btowc_eof="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_btowc_eof="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_btowc_eof="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_FR != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) { if (btowc (EOF) != WEOF) return 1; } return 0; }]])], [gl_cv_func_btowc_eof=yes], [gl_cv_func_btowc_eof=no], [:]) fi ]) case "$gl_cv_func_btowc_nul" in *yes) ;; *) REPLACE_BTOWC=1 ;; esac case "$gl_cv_func_btowc_eof" in *yes) ;; *) REPLACE_BTOWC=1 ;; esac fi ]) # Prerequisites of lib/btowc.c. AC_DEFUN([gl_PREREQ_BTOWC], [ : ]) gsasl-1.8.1/m4/getcwd.m40000644000000000000000000001213013516251575011567 00000000000000# getcwd.m4 - check for working getcwd that is compatible with glibc # Copyright (C) 2001, 2003-2007, 2009-2019 Free Software Foundation, Inc. # 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. # Written by Paul Eggert. # serial 17 AC_DEFUN([gl_FUNC_GETCWD_NULL], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], [gl_cv_func_getcwd_null], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ # include # if HAVE_UNISTD_H # include # else /* on Windows with MSVC */ # include # endif # ifndef getcwd char *getcwd (); # endif ]], [[ #if defined _WIN32 && ! defined __CYGWIN__ /* mingw cwd does not start with '/', but getcwd does allocate. However, mingw fails to honor non-zero size. */ #else if (chdir ("/") != 0) return 1; else { char *f = getcwd (NULL, 0); if (! f) return 2; if (f[0] != '/') { free (f); return 3; } if (f[1] != '\0') { free (f); return 4; } free (f); return 0; } #endif ]])], [gl_cv_func_getcwd_null=yes], [gl_cv_func_getcwd_null=no], [[case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on Cygwin. cygwin*) gl_cv_func_getcwd_null="guessing yes";; # If we don't know, assume the worst. *) gl_cv_func_getcwd_null="guessing no";; esac ]])]) ]) AC_DEFUN([gl_FUNC_GETCWD_SIGNATURE], [ AC_CACHE_CHECK([for getcwd with POSIX signature], [gl_cv_func_getcwd_posix_signature], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[extern #ifdef __cplusplus "C" #endif char *getcwd (char *, size_t); ]]) ], [gl_cv_func_getcwd_posix_signature=yes], [gl_cv_func_getcwd_posix_signature=no]) ]) ]) dnl Guarantee that getcwd will malloc with a NULL first argument. Assumes dnl that either the system getcwd is robust, or that calling code is okay dnl with spurious failures when run from a directory with an absolute name dnl larger than 4k bytes. dnl dnl Assumes that getcwd exists; if you are worried about obsolete dnl platforms that lacked getcwd(), then you need to use the GPL module. AC_DEFUN([gl_FUNC_GETCWD_LGPL], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETCWD_NULL]) AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE]) case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in *yes,yes) ;; *) dnl Minimal replacement lib/getcwd-lgpl.c. REPLACE_GETCWD=1 ;; esac ]) dnl Check for all known getcwd bugs; useful for a program likely to be dnl executed from an arbitrary location. AC_DEFUN([gl_FUNC_GETCWD], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETCWD_NULL]) AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles gl_abort_bug=no case "$host_os" in mingw*) gl_cv_func_getcwd_path_max=yes ;; *) gl_FUNC_GETCWD_PATH_MAX case "$gl_cv_func_getcwd_null" in *yes) gl_FUNC_GETCWD_ABORT_BUG([gl_abort_bug=yes]) ;; esac ;; esac dnl Define HAVE_MINIMALLY_WORKING_GETCWD and HAVE_PARTLY_WORKING_GETCWD dnl if appropriate. case "$gl_cv_func_getcwd_path_max" in "no"|"no, it has the AIX bug") ;; *) AC_DEFINE([HAVE_MINIMALLY_WORKING_GETCWD], [1], [Define to 1 if getcwd minimally works, that is, its result can be trusted when it succeeds.]) ;; esac case "$gl_cv_func_getcwd_path_max" in "no, but it is partly working") AC_DEFINE([HAVE_PARTLY_WORKING_GETCWD], [1], [Define to 1 if getcwd works, except it sometimes fails when it shouldn't, setting errno to ERANGE, ENAMETOOLONG, or ENOENT.]) ;; "yes, but with shorter paths") AC_DEFINE([HAVE_GETCWD_SHORTER], [1], [Define to 1 if getcwd works, but with shorter paths than is generally tested with the replacement.]) ;; esac if { case "$gl_cv_func_getcwd_null" in *yes) false;; *) true;; esac; } \ || test $gl_cv_func_getcwd_posix_signature != yes \ || { case "$gl_cv_func_getcwd_path_max" in *yes*) false;; *) true;; esac; } \ || test $gl_abort_bug = yes; then REPLACE_GETCWD=1 fi ]) # Prerequisites of lib/getcwd.c, when full replacement is in effect. AC_DEFUN([gl_PREREQ_GETCWD], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO]) : ]) gsasl-1.8.1/m4/wint_t.m40000644000000000000000000000444313516251576011627 00000000000000# wint_t.m4 serial 7 dnl Copyright (C) 2003, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Test whether has the 'wint_t' type and whether gnulib's dnl or would, if present, override 'wint_t'. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WINT_T], [ AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include wint_t foo = (wchar_t)'\0';]], [[]])], [gt_cv_c_wint_t=yes], [gt_cv_c_wint_t=no])]) if test $gt_cv_c_wint_t = yes; then AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.]) dnl Determine whether gnulib's or would, if present, dnl override 'wint_t'. AC_CACHE_CHECK([whether wint_t is too small], [gl_cv_type_wint_t_too_small], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include #endif #include int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; ]])], [gl_cv_type_wint_t_too_small=no], [gl_cv_type_wint_t_too_small=yes])]) if test $gl_cv_type_wint_t_too_small = yes; then GNULIB_OVERRIDES_WINT_T=1 else GNULIB_OVERRIDES_WINT_T=0 fi else GNULIB_OVERRIDES_WINT_T=0 fi AC_SUBST([GNULIB_OVERRIDES_WINT_T]) ]) dnl Prerequisites of the 'wint_t' override. AC_DEFUN([gl_TYPE_WINT_T_PREREQ], [ AC_CHECK_HEADERS_ONCE([crtdefs.h]) if test $ac_cv_header_crtdefs_h = yes; then HAVE_CRTDEFS_H=1 else HAVE_CRTDEFS_H=0 fi AC_SUBST([HAVE_CRTDEFS_H]) ]) gsasl-1.8.1/m4/fcntl_h.m40000644000000000000000000000327113516251575011735 00000000000000# serial 15 # Configure fcntl.h. dnl Copyright (C) 2006-2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. AC_DEFUN([gl_FCNTL_H], [ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_REQUIRE([gl_FCNTL_O_FLAGS]) gl_NEXT_HEADERS([fcntl.h]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [fcntl openat]) ]) AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_FCNTL_H_DEFAULTS], [ GNULIB_FCNTL=0; AC_SUBST([GNULIB_FCNTL]) GNULIB_NONBLOCKING=0; AC_SUBST([GNULIB_NONBLOCKING]) GNULIB_OPEN=0; AC_SUBST([GNULIB_OPEN]) GNULIB_OPENAT=0; AC_SUBST([GNULIB_OPENAT]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT]) ]) gsasl-1.8.1/m4/malloc.m40000644000000000000000000000651213516251575011570 00000000000000# malloc.m4 serial 19 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. m4_version_prereq([2.70], [] ,[ # This is adapted with modifications from upstream Autoconf here: # https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=04be2b7a29d65d9a08e64e8e56e594c91749598c AC_DEFUN([_AC_FUNC_MALLOC_IF], [ AC_REQUIRE([AC_HEADER_STDC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles AC_CHECK_HEADERS([stdlib.h]) AC_CACHE_CHECK([for GNU libc compatible malloc], [ac_cv_func_malloc_0_nonnull], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif ]], [[char *p = malloc (0); int result = !p; free (p); return result;]]) ], [ac_cv_func_malloc_0_nonnull=yes], [ac_cv_func_malloc_0_nonnull=no], [case "$host_os" in # Guess yes on platforms where we know the result. *-gnu* | gnu* | *-musl* | freebsd* | netbsd* | openbsd* \ | hpux* | solaris* | cygwin* | mingw*) ac_cv_func_malloc_0_nonnull="guessing yes" ;; # If we don't know, assume the worst. *) ac_cv_func_malloc_0_nonnull="guessing no" ;; esac ]) ]) case "$ac_cv_func_malloc_0_nonnull" in *yes) $1 ;; *) $2 ;; esac ])# _AC_FUNC_MALLOC_IF ]) # gl_FUNC_MALLOC_GNU # ------------------ # Test whether 'malloc (0)' is handled like in GNU libc, and replace malloc if # it is not. AC_DEFUN([gl_FUNC_MALLOC_GNU], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) dnl _AC_FUNC_MALLOC_IF is defined in Autoconf. _AC_FUNC_MALLOC_IF( [AC_DEFINE([HAVE_MALLOC_GNU], [1], [Define to 1 if your system has a GNU libc compatible 'malloc' function, and to 0 otherwise.])], [AC_DEFINE([HAVE_MALLOC_GNU], [0]) REPLACE_MALLOC=1 ]) ]) # gl_FUNC_MALLOC_POSIX # -------------------- # Test whether 'malloc' is POSIX compliant (sets errno to ENOMEM when it # fails), and replace malloc if it is not. AC_DEFUN([gl_FUNC_MALLOC_POSIX], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) if test $gl_cv_func_malloc_posix = yes; then AC_DEFINE([HAVE_MALLOC_POSIX], [1], [Define if the 'malloc' function is POSIX compliant.]) else REPLACE_MALLOC=1 fi ]) # Test whether malloc, realloc, calloc are POSIX compliant, # Set gl_cv_func_malloc_posix to yes or no accordingly. AC_DEFUN([gl_CHECK_MALLOC_POSIX], [ AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant], [gl_cv_func_malloc_posix], [ dnl It is too dangerous to try to allocate a large amount of memory: dnl some systems go to their knees when you do that. So assume that dnl all Unix implementations of the function are POSIX compliant. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[]], [[#if defined _WIN32 && ! defined __CYGWIN__ choke me #endif ]])], [gl_cv_func_malloc_posix=yes], [gl_cv_func_malloc_posix=no]) ]) ]) gsasl-1.8.1/m4/ltoptions.m40000644000000000000000000003426213521017121012336 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])]) gsasl-1.8.1/m4/extensions.m40000644000000000000000000001572713516251575012530 00000000000000# serial 18 -*- Autoconf -*- # Enable extensions on systems that normally disable them. # Copyright (C) 2003, 2006-2019 Free Software Foundation, Inc. # 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. # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git # Autoconf. Perhaps we can remove this once we can assume Autoconf # 2.70 or later everywhere, but since Autoconf mutates rapidly # enough in this area it's likely we'll need to redefine # AC_USE_SYSTEM_EXTENSIONS for quite some time. # If autoconf reports a warning # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS # the fix is # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked # but always AC_REQUIREd, # 2) to ensure that for each occurrence of # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) # or # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # the corresponding gnulib module description has 'extensions' among # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS # invocation occurs in gl_EARLY, not in gl_INIT. # AC_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them, # typically due to standards-conformance issues. # # Remember that #undef in AH_VERBATIM gets replaced with #define by # AC_DEFINE. The goal here is to define all known feature-enabling # macros, then, if reports of conflicts are made, disable macros that # cause problems on some platforms (such as __EXTENSIONS__). AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl AC_BEFORE([$0], [AC_RUN_IFELSE])dnl AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) if test "$MINIX" = yes; then AC_DEFINE([_POSIX_SOURCE], [1], [Define to 1 if you need to in order for 'stat' and other things to work.]) AC_DEFINE([_POSIX_1_SOURCE], [2], [Define to 2 if the system does not provide POSIX.1 features except with this defined.]) AC_DEFINE([_MINIX], [1], [Define to 1 if on MINIX.]) AC_DEFINE([_NETBSD_SOURCE], [1], [Define to 1 to make NetBSD features available. MINIX 3 needs this.]) fi dnl Use a different key than __EXTENSIONS__, as that name broke existing dnl configure.ac when using autoheader 2.62. AH_VERBATIM([USE_SYSTEM_EXTENSIONS], [/* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable NetBSD extensions on NetBSD. */ #ifndef _NETBSD_SOURCE # undef _NETBSD_SOURCE #endif /* Enable OpenBSD extensions on NetBSD. */ #ifndef _OPENBSD_SOURCE # undef _OPENBSD_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ # undef __STDC_WANT_IEC_60559_BFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ #ifndef __STDC_WANT_LIB_EXT2__ # undef __STDC_WANT_LIB_EXT2__ #endif /* Enable extensions specified by ISO/IEC 24747:2009. */ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ # undef __STDC_WANT_MATH_SPEC_FUNCS__ #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable X/Open extensions if necessary. HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of whether compiling with -Ae or -D_HPUX_SOURCE=1. */ #ifndef _XOPEN_SOURCE # undef _XOPEN_SOURCE #endif /* Enable X/Open compliant socket functions that do not require linking with -lxnet on HP-UX 11.11. */ #ifndef _HPUX_ALT_XOPEN_SOCKET_API # undef _HPUX_ALT_XOPEN_SOCKET_API #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif ]) AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], [ac_cv_safe_to_define___extensions__], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ # define __EXTENSIONS__ 1 ]AC_INCLUDES_DEFAULT])], [ac_cv_safe_to_define___extensions__=yes], [ac_cv_safe_to_define___extensions__=no])]) test $ac_cv_safe_to_define___extensions__ = yes && AC_DEFINE([__EXTENSIONS__]) AC_DEFINE([_ALL_SOURCE]) AC_DEFINE([_DARWIN_C_SOURCE]) AC_DEFINE([_GNU_SOURCE]) AC_DEFINE([_NETBSD_SOURCE]) AC_DEFINE([_OPENBSD_SOURCE]) AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) AC_DEFINE([__STDC_WANT_IEC_60559_ATTRIBS_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_BFP_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_DFP_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_FUNCS_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_TYPES_EXT__]) AC_DEFINE([__STDC_WANT_LIB_EXT2__]) AC_DEFINE([__STDC_WANT_MATH_SPEC_FUNCS__]) AC_DEFINE([_TANDEM_SOURCE]) AC_CACHE_CHECK([whether _XOPEN_SOURCE should be defined], [ac_cv_should_define__xopen_source], [ac_cv_should_define__xopen_source=no AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include mbstate_t x;]])], [], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #define _XOPEN_SOURCE 500 #include mbstate_t x;]])], [ac_cv_should_define__xopen_source=yes])])]) test $ac_cv_should_define__xopen_source = yes && AC_DEFINE([_XOPEN_SOURCE], [500]) AC_DEFINE([_HPUX_ALT_XOPEN_SOCKET_API]) ])# AC_USE_SYSTEM_EXTENSIONS # gl_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them, # typically due to standards-conformance issues. AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [ dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. dnl gnulib does not need it. But if it gets required by third-party macros dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. AC_REQUIRE([AC_GNU_SOURCE]) AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ]) gsasl-1.8.1/m4/putenv.m40000644000000000000000000000364113516251576011643 00000000000000# putenv.m4 serial 23 dnl Copyright (C) 2002-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Jim Meyering. dnl dnl Check whether putenv ("FOO") removes FOO from the environment. dnl The putenv in libc on at least SunOS 4.1.4 does *not* do that. AC_DEFUN([gl_FUNC_PUTENV], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([for putenv compatible with GNU and SVID], [gl_cv_func_svid_putenv], [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[[ /* Put it in env. */ if (putenv ("CONFTEST_putenv=val")) return 1; /* Try to remove it. */ if (putenv ("CONFTEST_putenv")) return 2; /* Make sure it was deleted. */ if (getenv ("CONFTEST_putenv") != 0) return 3; return 0; ]])], gl_cv_func_svid_putenv=yes, gl_cv_func_svid_putenv=no, dnl When crosscompiling, assume putenv is broken. [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_svid_putenv="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_svid_putenv="guessing no" ;; esac ]) ]) case "$gl_cv_func_svid_putenv" in *yes) ;; *) REPLACE_PUTENV=1 ;; esac ]) # Prerequisites of lib/putenv.c. AC_DEFUN([gl_PREREQ_PUTENV], [ AC_CHECK_DECLS([_putenv]) ]) gsasl-1.8.1/m4/hostent.m40000644000000000000000000000317513516251575012007 00000000000000# hostent.m4 serial 3 dnl Copyright (C) 2008, 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HOSTENT], [ dnl Where are gethostent(), sethostent(), endhostent(), gethostbyname(), dnl gethostbyaddr() defined? dnl - On Solaris < 11.4, they are in libnsl. Ignore libxnet. dnl - On Haiku, they are in libnetwork. dnl - On BeOS, they are in libnet. dnl - On native Windows, they are in ws2_32.dll. dnl - Otherwise they are in libc. AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H HOSTENT_LIB= gl_saved_libs="$LIBS" AC_SEARCH_LIBS([gethostbyname], [nsl network net], [if test "$ac_cv_search_gethostbyname" != "none required"; then HOSTENT_LIB="$ac_cv_search_gethostbyname" fi]) LIBS="$gl_saved_libs" if test -z "$HOSTENT_LIB"; then AC_CHECK_FUNCS([gethostbyname], , [ AC_CACHE_CHECK([for gethostbyname in winsock2.h and -lws2_32], [gl_cv_w32_gethostbyname], [gl_cv_w32_gethostbyname=no gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #ifdef HAVE_WINSOCK2_H #include #endif #include ]], [[gethostbyname(NULL);]])], [gl_cv_w32_gethostbyname=yes]) LIBS="$gl_save_LIBS" ]) if test "$gl_cv_w32_gethostbyname" = "yes"; then HOSTENT_LIB="-lws2_32" fi ]) fi AC_SUBST([HOSTENT_LIB]) ]) gsasl-1.8.1/m4/fseek.m40000644000000000000000000000100513516251575011406 00000000000000# fseek.m4 serial 4 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FSEEK], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_FSEEKO]) dnl When fseeko needs fixes, fseek needs them too. if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then REPLACE_FSEEK=1 fi ]) gsasl-1.8.1/m4/gettext.m40000644000000000000000000003561513516317326012010 00000000000000# gettext.m4 serial 66 (gettext-0.18.2) dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2006, 2008-2010. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value '$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH([included-gettext], [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ]])], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ]])], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ]])], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE([ENABLE_NLS], [1], [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE([HAVE_GETTEXT], [1], [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE([HAVE_DCGETTEXT], [1], [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST([BUILD_INCLUDED_LIBINTL]) AC_SUBST([USE_INCLUDED_LIBINTL]) AC_SUBST([CATOBJEXT]) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST([DATADIRNAME]) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST([INSTOBJEXT]) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST([GENCAT]) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST([INTLOBJS]) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST([INTLLIBS]) dnl Make all documented variables known to autoconf. AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) AC_SUBST([POSUB]) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) gsasl-1.8.1/m4/lock.m40000644000000000000000000000303713516251575011250 00000000000000# lock.m4 serial 14 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([gl_LOCK], [ AC_REQUIRE([gl_THREADLIB]) if test "$gl_threads_api" = posix; then # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. has_rwlock=false AC_CHECK_TYPE([pthread_rwlock_t], [has_rwlock=true AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1], [Define if the POSIX multithreading library has read/write locks.])], [], [#include ]) if $has_rwlock; then gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. AC_COMPILE_IFELSE([ AC_LANG_PROGRAM( [[#include ]], [[ #if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) error "No, in Mac OS X < 10.7 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif ]])], [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1], [Define if the defines PTHREAD_MUTEX_RECURSIVE.])]) fi gl_PREREQ_LOCK ]) # Prerequisites of lib/glthread/lock.c. AC_DEFUN([gl_PREREQ_LOCK], [:]) gsasl-1.8.1/m4/lib-ld.m40000644000000000000000000001237213516251575011465 00000000000000# lib-ld.m4 serial 9 dnl Copyright (C) 1996-2003, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid dnl collision with libtool.m4. dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 /dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then AC_MSG_CHECKING([for ld]) elif test "$GCC" = yes; then AC_MSG_CHECKING([for ld used by $CC]) elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi if test -n "$LD"; then # Let the user override the test with a path. : else AC_CACHE_VAL([acl_cv_path_LD], [ acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 to declare environ. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([unistd.h]) gt_CHECK_VAR_DECL( [#if HAVE_UNISTD_H #include #endif /* mingw, BeOS, Haiku declare environ in , not in . */ #include ], [environ]) if test $gt_cv_var_environ_declaration != yes; then HAVE_DECL_ENVIRON=0 fi ]) # Check if a variable is properly declared. # gt_CHECK_VAR_DECL(includes,variable) AC_DEFUN([gt_CHECK_VAR_DECL], [ define([gt_cv_var], [gt_cv_var_]$2[_declaration]) AC_CACHE_CHECK([if $2 is properly declared], [gt_cv_var], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[$1 extern struct { int foo; } $2;]], [[$2.foo = 1;]])], [gt_cv_var=no], [gt_cv_var=yes])]) if test $gt_cv_var = yes; then AC_DEFINE([HAVE_]m4_translit($2, [a-z], [A-Z])[_DECL], 1, [Define if you have the declaration of $2.]) fi undefine([gt_cv_var]) ]) gsasl-1.8.1/m4/nanosleep.m40000644000000000000000000001200613516251573012276 00000000000000# serial 38 dnl From Jim Meyering. dnl Check for the nanosleep function. dnl If not found, use the supplied replacement. dnl # Copyright (C) 1999-2001, 2003-2019 Free Software Foundation, Inc. # 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. AC_DEFUN([gl_FUNC_NANOSLEEP], [ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc and Solaris to declare nanosleep. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_REQUIRE([gl_FUNC_SELECT]) AC_CHECK_DECLS_ONCE([alarm]) nanosleep_save_libs=$LIBS # Solaris 2.5.1 needs -lposix4 to get the nanosleep function. # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. LIB_NANOSLEEP= AC_SUBST([LIB_NANOSLEEP]) AC_SEARCH_LIBS([nanosleep], [rt posix4], [test "$ac_cv_search_nanosleep" = "none required" || LIB_NANOSLEEP=$ac_cv_search_nanosleep]) if test "x$ac_cv_search_nanosleep" != xno; then dnl The system has a nanosleep function. AC_REQUIRE([gl_MULTIARCH]) if test $APPLE_UNIVERSAL_BUILD = 1; then # A universal build on Apple Mac OS X platforms. # The test result would be 'no (mishandles large arguments)' in 64-bit # mode but 'yes' in 32-bit mode. But we need a configuration result that # is valid in both modes. gl_cv_func_nanosleep='no (mishandles large arguments)' fi AC_CACHE_CHECK([for working nanosleep], [gl_cv_func_nanosleep], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #if HAVE_SYS_TIME_H #include #endif #include #include #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) #if HAVE_DECL_ALARM static void check_for_SIGALRM (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main () { static struct timespec ts_sleep; static struct timespec ts_remaining; /* Test for major problems first. */ if (! nanosleep) return 2; ts_sleep.tv_sec = 0; ts_sleep.tv_nsec = 1; #if HAVE_DECL_ALARM { static struct sigaction act; act.sa_handler = check_for_SIGALRM; sigemptyset (&act.sa_mask); sigaction (SIGALRM, &act, NULL); alarm (1); if (nanosleep (&ts_sleep, NULL) != 0) return 3; /* Test for a minor problem: the handling of large arguments. */ ts_sleep.tv_sec = TYPE_MAXIMUM (time_t); ts_sleep.tv_nsec = 999999999; alarm (1); if (nanosleep (&ts_sleep, &ts_remaining) != -1) return 4; if (errno != EINTR) return 5; if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10) return 6; } #else /* A simpler test for native Windows. */ if (nanosleep (&ts_sleep, &ts_remaining) < 0) return 3; #endif return 0; }]])], [gl_cv_func_nanosleep=yes], [case $? in dnl ( 4|5|6) gl_cv_func_nanosleep='no (mishandles large arguments)';; dnl ( *) gl_cv_func_nanosleep=no;; esac], [case "$host_os" in dnl (( linux*) # Guess it halfway works when the kernel is Linux. gl_cv_func_nanosleep='guessing no (mishandles large arguments)' ;; mingw*) # Guess no on native Windows. gl_cv_func_nanosleep='guessing no' ;; *) # If we don't know, assume the worst. gl_cv_func_nanosleep='guessing no' ;; esac ]) ]) case "$gl_cv_func_nanosleep" in *yes) REPLACE_NANOSLEEP=0 ;; *) REPLACE_NANOSLEEP=1 case "$gl_cv_func_nanosleep" in *"mishandles large arguments"*) AC_DEFINE([HAVE_BUG_BIG_NANOSLEEP], [1], [Define to 1 if nanosleep mishandles large arguments.]) ;; *) # The replacement uses select(). Add $LIBSOCKET to $LIB_NANOSLEEP. for ac_lib in $LIBSOCKET; do case " $LIB_NANOSLEEP " in *" $ac_lib "*) ;; *) LIB_NANOSLEEP="$LIB_NANOSLEEP $ac_lib";; esac done ;; esac ;; esac else HAVE_NANOSLEEP=0 fi LIBS=$nanosleep_save_libs ]) # Prerequisites of lib/nanosleep.c. AC_DEFUN([gl_PREREQ_NANOSLEEP], [ AC_CHECK_HEADERS_ONCE([sys/select.h]) gl_PREREQ_SIG_HANDLER_H ]) gsasl-1.8.1/m4/nls.m40000644000000000000000000000231513516317326011107 00000000000000# nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) gsasl-1.8.1/m4/flexmember.m40000644000000000000000000000325413516251573012445 00000000000000# serial 5 # Check for flexible array member support. # Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc. # 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. # Written by Paul Eggert. AC_DEFUN([AC_C_FLEXIBLE_ARRAY_MEMBER], [ AC_CACHE_CHECK([for flexible array member], ac_cv_c_flexmember, [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include struct m { struct m *next, **list; char name[]; }; struct s { struct s *p; struct m *m; int n; double d[]; };]], [[int m = getchar (); size_t nbytes = offsetof (struct s, d) + m * sizeof (double); nbytes += sizeof (struct s) - 1; nbytes -= nbytes % sizeof (struct s); struct s *p = malloc (nbytes); p->p = p; p->m = NULL; p->d[0] = 0.0; return p->d != (double *) NULL;]])], [ac_cv_c_flexmember=yes], [ac_cv_c_flexmember=no])]) if test $ac_cv_c_flexmember = yes; then AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [], [Define to nothing if C supports flexible array members, and to 1 if it does not. That way, with a declaration like 'struct s { int n; short d@<:@FLEXIBLE_ARRAY_MEMBER@:>@; };', the struct hack can be used with pre-C99 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate the size in bytes of such a struct containing an N-element array.]) else AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [1]) fi ]) gsasl-1.8.1/m4/localename.m40000644000000000000000000000157013516251575012420 00000000000000# localename.m4 serial 6 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_LOCALENAME], [ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) AC_REQUIRE([gt_LC_MESSAGES]) AC_REQUIRE([gt_INTL_THREAD_LOCALE_NAME]) AC_REQUIRE([gt_INTL_MACOSX]) AC_CHECK_HEADERS_ONCE([langinfo.h]) AC_CHECK_FUNCS_ONCE([newlocale duplocale freelocale]) if test $ac_cv_func_newlocale != yes; then HAVE_NEWLOCALE=0 fi if test $ac_cv_func_duplocale != yes; then HAVE_DUPLOCALE=0 fi if test $ac_cv_func_freelocale != yes; then HAVE_FREELOCALE=0 fi if test $gt_nameless_locales = yes; then REPLACE_NEWLOCALE=1 REPLACE_DUPLOCALE=1 REPLACE_FREELOCALE=1 fi ]) gsasl-1.8.1/m4/codeset.m40000644000000000000000000000152013516251575011741 00000000000000# codeset.m4 serial 5 (gettext-0.18.2) dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016, 2019 Free Software dnl Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_LANGINFO_CODESET], [ AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[char* cs = nl_langinfo(CODESET); return !cs;]])], [am_cv_langinfo_codeset=yes], [am_cv_langinfo_codeset=no]) ]) if test $am_cv_langinfo_codeset = yes; then AC_DEFINE([HAVE_LANGINFO_CODESET], [1], [Define if you have and nl_langinfo(CODESET).]) fi ]) gsasl-1.8.1/m4/string_h.m40000644000000000000000000001311113516251576012130 00000000000000# Configure a GNU-like replacement for . # Copyright (C) 2007-2019 Free Software Foundation, Inc. # 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 22 # Written by Paul Eggert. AC_DEFUN([gl_HEADER_STRING_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_HEADER_STRING_H_BODY]) ]) AC_DEFUN([gl_HEADER_STRING_H_BODY], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) gl_NEXT_HEADERS([string.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp]) ]) AC_DEFUN([gl_STRING_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [ GNULIB_EXPLICIT_BZERO=0; AC_SUBST([GNULIB_EXPLICIT_BZERO]) GNULIB_FFSL=0; AC_SUBST([GNULIB_FFSL]) GNULIB_FFSLL=0; AC_SUBST([GNULIB_FFSLL]) GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR]) GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR]) GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY]) GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY]) GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL]) GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP]) GNULIB_STRNCAT=0; AC_SUBST([GNULIB_STRNCAT]) GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP]) GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN]) GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK]) GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP]) GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR]) GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR]) GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R]) GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN]) GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN]) GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR]) GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR]) GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR]) GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP]) GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP]) GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP]) GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR]) GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN]) GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK]) GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN]) GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP]) GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R]) GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR]) GNULIB_STRERROR_R=0; AC_SUBST([GNULIB_STRERROR_R]) GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL]) GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_EXPLICIT_BZERO=1; AC_SUBST([HAVE_EXPLICIT_BZERO]) HAVE_FFSL=1; AC_SUBST([HAVE_FFSL]) HAVE_FFSLL=1; AC_SUBST([HAVE_FFSLL]) HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR]) HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR]) HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP]) HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN]) HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR]) HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) HAVE_DECL_STRERROR_R=1; AC_SUBST([HAVE_DECL_STRERROR_R]) HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL]) HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP]) REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR]) REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM]) REPLACE_STPNCPY=0; AC_SUBST([REPLACE_STPNCPY]) REPLACE_STRCHRNUL=0; AC_SUBST([REPLACE_STRCHRNUL]) REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP]) REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT]) REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP]) REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN]) REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR]) REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) REPLACE_STRTOK_R=0; AC_SUBST([REPLACE_STRTOK_R]) REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR]) REPLACE_STRERROR_R=0; AC_SUBST([REPLACE_STRERROR_R]) REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL]) UNDEFINE_STRTOK_R=0; AC_SUBST([UNDEFINE_STRTOK_R]) ]) gsasl-1.8.1/m4/size_max.m40000644000000000000000000000547213516251576012145 00000000000000# size_max.m4 serial 11 dnl Copyright (C) 2003, 2005-2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.61]) AC_DEFUN([gl_SIZE_MAX], [ AC_CHECK_HEADERS([stdint.h]) dnl First test whether the system already has SIZE_MAX. AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ gl_cv_size_max= AC_EGREP_CPP([Found it], [ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif ], [gl_cv_size_max=yes]) if test -z "$gl_cv_size_max"; then dnl Define it ourselves. Here we assume that the type 'size_t' is not wider dnl than the type 'unsigned long'. Try hard to find a definition that can dnl be used in a preprocessor #if, i.e. doesn't contain a cast. AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include #include ], [size_t_bits_minus_1=]) AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include ], [fits_in_uint=]) if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then dnl Even though SIZE_MAX fits in an unsigned int, it must be of type dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include extern size_t foo; extern unsigned long foo; ]], [[]])], [fits_in_uint=0]) fi dnl We cannot use 'expr' to simplify this expression, because 'expr' dnl works only with 'long' integers in the host environment, while we dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else dnl Shouldn't happen, but who knows... gl_cv_size_max='((size_t)~(size_t)0)' fi fi ]) if test "$gl_cv_size_max" != yes; then AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], [Define as the maximum value of type 'size_t', if the system doesn't define it.]) fi dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after dnl . Remember that the #undef in AH_VERBATIM gets replaced with dnl #define by AC_DEFINE_UNQUOTED. AH_VERBATIM([SIZE_MAX], [/* Define as the maximum value of type 'size_t', if the system doesn't define it. */ #ifndef SIZE_MAX # undef SIZE_MAX #endif]) ]) gsasl-1.8.1/m4/errno_h.m40000644000000000000000000000573613516251575011764 00000000000000# errno_h.m4 serial 13 dnl Copyright (C) 2004, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.61]) AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [ AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [ AC_EGREP_CPP([booboo],[ #include #if !defined ETXTBSY booboo #endif #if !defined ENOMSG booboo #endif #if !defined EIDRM booboo #endif #if !defined ENOLINK booboo #endif #if !defined EPROTO booboo #endif #if !defined EMULTIHOP booboo #endif #if !defined EBADMSG booboo #endif #if !defined EOVERFLOW booboo #endif #if !defined ENOTSUP booboo #endif #if !defined ENETRESET booboo #endif #if !defined ECONNABORTED booboo #endif #if !defined ESTALE booboo #endif #if !defined EDQUOT booboo #endif #if !defined ECANCELED booboo #endif #if !defined EOWNERDEAD booboo #endif #if !defined ENOTRECOVERABLE booboo #endif #if !defined EILSEQ booboo #endif ], [gl_cv_header_errno_h_complete=no], [gl_cv_header_errno_h_complete=yes]) ]) if test $gl_cv_header_errno_h_complete = yes; then ERRNO_H='' else gl_NEXT_HEADERS([errno.h]) ERRNO_H='errno.h' fi AC_SUBST([ERRNO_H]) AM_CONDITIONAL([GL_GENERATE_ERRNO_H], [test -n "$ERRNO_H"]) gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) gl_REPLACE_ERRNO_VALUE([ENOLINK]) gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) ]) # Assuming $1 = EOVERFLOW. # The EOVERFLOW errno value ought to be defined in , according to # POSIX. But some systems (like OpenBSD 4.0 or AIX 3) don't define it, and # some systems (like OSF/1) define it when _XOPEN_SOURCE_EXTENDED is defined. # Check for the value of EOVERFLOW. # Set the variables EOVERFLOW_HIDDEN and EOVERFLOW_VALUE. AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [ if test -n "$ERRNO_H"; then AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ AC_EGREP_CPP([yes],[ #include #ifdef ]$1[ yes #endif ], [gl_cv_header_errno_h_]$1[=yes], [gl_cv_header_errno_h_]$1[=no]) if test $gl_cv_header_errno_h_]$1[ = no; then AC_EGREP_CPP([yes],[ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef ]$1[ yes #endif ], [gl_cv_header_errno_h_]$1[=hidden]) if test $gl_cv_header_errno_h_]$1[ = hidden; then dnl The macro exists but is hidden. dnl Define it to the same value. AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [ #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include ]) fi fi ]) case $gl_cv_header_errno_h_]$1[ in yes | no) ]$1[_HIDDEN=0; ]$1[_VALUE= ;; *) ]$1[_HIDDEN=1; ]$1[_VALUE="$gl_cv_header_errno_h_]$1[" ;; esac AC_SUBST($1[_HIDDEN]) AC_SUBST($1[_VALUE]) fi ]) gsasl-1.8.1/m4/double-slash-root.m40000644000000000000000000000312513516251573013657 00000000000000# double-slash-root.m4 serial 4 -*- Autoconf -*- dnl Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_DOUBLE_SLASH_ROOT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether // is distinct from /], [gl_cv_double_slash_root], [ if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date # that have a distinct // are Apollo DomainOS (too old to port to), # Cygwin, and z/OS. If anyone knows of another system for which // has # special semantics and is distinct from /, please report it to # . case $host in *-cygwin | i370-ibm-openedition) gl_cv_double_slash_root=yes ;; *) # Be optimistic and assume that / and // are the same when we # don't know. gl_cv_double_slash_root='unknown, assuming no' ;; esac else set x `ls -di / // 2>/dev/null` if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then gl_cv_double_slash_root=no else gl_cv_double_slash_root=yes fi fi]) if test "$gl_cv_double_slash_root" = yes; then AC_DEFINE([DOUBLE_SLASH_IS_DISTINCT_ROOT], [1], [Define to 1 if // is a file system root distinct from /.]) fi ]) gsasl-1.8.1/m4/locale-fr.m40000644000000000000000000002460413516251575012167 00000000000000# locale-fr.m4 serial 19 dnl Copyright (C) 2003, 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Determine the name of a french locale with traditional encoding. AC_DEFUN([gt_LOCALE_FR], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a traditional french locale], [gt_cv_locale_fr], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([ changequote(,)dnl #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 7 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* ]) LOCALE_FR=$gt_cv_locale_fr AC_SUBST([LOCALE_FR]) ]) dnl Determine the name of a french locale with UTF-8 encoding. AC_DEFUN([gt_LOCALE_FR_UTF8], [ AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a french Unicode locale], [gt_cv_locale_fr_utf8], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([ changequote(,)dnl #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 7 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* ]) LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 AC_SUBST([LOCALE_FR_UTF8]) ]) gsasl-1.8.1/m4/eealloc.m40000644000000000000000000000166713516251575011733 00000000000000# eealloc.m4 serial 3 dnl Copyright (C) 2003, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_EEALLOC], [ AC_REQUIRE([gl_EEMALLOC]) AC_REQUIRE([gl_EEREALLOC]) ]) AC_DEFUN([gl_EEMALLOC], [ _AC_FUNC_MALLOC_IF( [gl_cv_func_malloc_0_nonnull=1], [gl_cv_func_malloc_0_nonnull=0]) AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull], [If malloc(0) is != NULL, define this to 1. Otherwise define this to 0.]) ]) AC_DEFUN([gl_EEREALLOC], [ _AC_FUNC_REALLOC_IF( [gl_cv_func_realloc_0_nonnull=1], [gl_cv_func_realloc_0_nonnull=0]) AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull], [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this to 0.]) ]) gsasl-1.8.1/m4/lcmessage.m40000644000000000000000000000253313516251575012263 00000000000000# lcmessage.m4 serial 7 (gettext-0.18.2) dnl Copyright (C) 1995-2002, 2004-2005, 2008-2014, 2016, 2019 Free Software dnl Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995. # Check whether LC_MESSAGES is available in . AC_DEFUN([gt_LC_MESSAGES], [ AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[return LC_MESSAGES]])], [gt_cv_val_LC_MESSAGES=yes], [gt_cv_val_LC_MESSAGES=no])]) if test $gt_cv_val_LC_MESSAGES = yes; then AC_DEFINE([HAVE_LC_MESSAGES], [1], [Define if your file defines LC_MESSAGES.]) fi ]) gsasl-1.8.1/m4/close.m40000644000000000000000000000222113516251575011417 00000000000000# close.m4 serial 9 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_CLOSE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) m4_ifdef([gl_MSVC_INVAL], [ AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi ]) m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ gl_PREREQ_SYS_H_WINSOCK2 if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then dnl Even if the 'socket' module is not used here, another part of the dnl application may use it and pass file descriptors that refer to dnl sockets to the close() function. So enable the support for sockets. REPLACE_CLOSE=1 fi ]) dnl Replace close() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ if test $REPLACE_CLOSE = 0; then gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then REPLACE_CLOSE=1 fi fi ]) ]) gsasl-1.8.1/m4/include_next.m40000644000000000000000000002106113516251575012776 00000000000000# include_next.m4 serial 24 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert and Derek Price. dnl Sets INCLUDE_NEXT, INCLUDE_NEXT_AS_FIRST_DIRECTIVE, PRAGMA_SYSTEM_HEADER, dnl and PRAGMA_COLUMNS. dnl dnl INCLUDE_NEXT expands to 'include_next' if the compiler supports it, or to dnl 'include' otherwise. dnl dnl INCLUDE_NEXT_AS_FIRST_DIRECTIVE expands to 'include_next' if the compiler dnl supports it in the special case that it is the first include directive in dnl the given file, or to 'include' otherwise. dnl dnl PRAGMA_SYSTEM_HEADER can be used in files that contain #include_next, dnl so as to avoid GCC warnings when the gcc option -pedantic is used. dnl '#pragma GCC system_header' has the same effect as if the file was found dnl through the include search path specified with '-isystem' options (as dnl opposed to the search path specified with '-I' options). Namely, gcc dnl does not warn about some things, and on some systems (Solaris and Interix) dnl __STDC__ evaluates to 0 instead of to 1. The latter is an undesired side dnl effect; we are therefore careful to use 'defined __STDC__' or '1' instead dnl of plain '__STDC__'. dnl dnl PRAGMA_COLUMNS can be used in files that override system header files, so dnl as to avoid compilation errors on HP NonStop systems when the gnulib file dnl is included by a system header file that does a "#pragma COLUMNS 80" (which dnl has the effect of truncating the lines of that file and all files that it dnl includes to 80 columns) and the gnulib file has lines longer than 80 dnl columns. AC_DEFUN([gl_INCLUDE_NEXT], [ AC_LANG_PREPROC_REQUIRE() AC_CACHE_CHECK([whether the preprocessor supports include_next], [gl_cv_have_include_next], [rm -rf conftestd1a conftestd1b conftestd2 mkdir conftestd1a conftestd1b conftestd2 dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on dnl AIX 6.1 support include_next when used as first preprocessor directive dnl in a file, but not when preceded by another include directive. Check dnl for this bug by including . dnl Additionally, with this same compiler, include_next is a no-op when dnl used in a header file that was included by specifying its absolute dnl file name. Despite these two bugs, include_next is used in the dnl compiler's . By virtue of the second bug, we need to use dnl include_next as well in this case. cat < conftestd1a/conftest.h #define DEFINED_IN_CONFTESTD1 #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd1b/conftest.h #define DEFINED_IN_CONFTESTD1 #include #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd2/conftest.h #ifndef DEFINED_IN_CONFTESTD1 #error "include_next test doesn't work" #endif #define DEFINED_IN_CONFTESTD2 EOF gl_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" dnl We intentionally avoid using AC_LANG_SOURCE here. AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], [gl_cv_have_include_next=yes], [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], [gl_cv_have_include_next=buggy], [gl_cv_have_include_next=no]) ]) CPPFLAGS="$gl_save_CPPFLAGS" rm -rf conftestd1a conftestd1b conftestd2 ]) PRAGMA_SYSTEM_HEADER= if test $gl_cv_have_include_next = yes; then INCLUDE_NEXT=include_next INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next if test -n "$GCC"; then PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' fi else if test $gl_cv_have_include_next = buggy; then INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next else INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include fi fi AC_SUBST([INCLUDE_NEXT]) AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) AC_SUBST([PRAGMA_SYSTEM_HEADER]) AC_CACHE_CHECK([whether system header files limit the line length], [gl_cv_pragma_columns], [dnl HP NonStop systems, which define __TANDEM, have this misfeature. AC_EGREP_CPP([choke me], [ #ifdef __TANDEM choke me #endif ], [gl_cv_pragma_columns=yes], [gl_cv_pragma_columns=no]) ]) if test $gl_cv_pragma_columns = yes; then PRAGMA_COLUMNS="#pragma COLUMNS 10000" else PRAGMA_COLUMNS= fi AC_SUBST([PRAGMA_COLUMNS]) ]) # gl_CHECK_NEXT_HEADERS(HEADER1 HEADER2 ...) # ------------------------------------------ # For each arg foo.h, if #include_next works, define NEXT_FOO_H to be # ''; otherwise define it to be # '"///usr/include/foo.h"', or whatever other absolute file name is suitable. # Also, if #include_next works as first preprocessing directive in a file, # define NEXT_AS_FIRST_DIRECTIVE_FOO_H to be ''; otherwise define it to # be # '"///usr/include/foo.h"', or whatever other absolute file name is suitable. # That way, a header file with the following line: # #@INCLUDE_NEXT@ @NEXT_FOO_H@ # or # #@INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ @NEXT_AS_FIRST_DIRECTIVE_FOO_H@ # behaves (after sed substitution) as if it contained # #include_next # even if the compiler does not support include_next. # The three "///" are to pacify Sun C 5.8, which otherwise would say # "warning: #include of /usr/include/... may be non-portable". # Use '""', not '<>', so that the /// cannot be confused with a C99 comment. # Note: This macro assumes that the header file is not empty after # preprocessing, i.e. it does not only define preprocessor macros but also # provides some type/enum definitions or function/variable declarations. # # This macro also checks whether each header exists, by invoking # AC_CHECK_HEADERS_ONCE or AC_CHECK_HEADERS on each argument. AC_DEFUN([gl_CHECK_NEXT_HEADERS], [ gl_NEXT_HEADERS_INTERNAL([$1], [check]) ]) # gl_NEXT_HEADERS(HEADER1 HEADER2 ...) # ------------------------------------ # Like gl_CHECK_NEXT_HEADERS, except do not check whether the headers exist. # This is suitable for headers like that are standardized by C89 # and therefore can be assumed to exist. AC_DEFUN([gl_NEXT_HEADERS], [ gl_NEXT_HEADERS_INTERNAL([$1], [assume]) ]) # The guts of gl_CHECK_NEXT_HEADERS and gl_NEXT_HEADERS. AC_DEFUN([gl_NEXT_HEADERS_INTERNAL], [ AC_REQUIRE([gl_INCLUDE_NEXT]) AC_REQUIRE([AC_CANONICAL_HOST]) m4_if([$2], [check], [AC_CHECK_HEADERS_ONCE([$1]) ]) dnl FIXME: gl_next_header and gl_header_exists must be used unquoted dnl until we can assume autoconf 2.64 or newer. m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_next_header], [gl_cv_next_]m4_defn([gl_HEADER_NAME])) if test $gl_cv_have_include_next = yes; then AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) else AC_CACHE_CHECK( [absolute name of <]m4_defn([gl_HEADER_NAME])[>], m4_defn([gl_next_header]), [m4_if([$2], [check], [AS_VAR_PUSHDEF([gl_header_exists], [ac_cv_header_]m4_defn([gl_HEADER_NAME])) if test AS_VAR_GET(gl_header_exists) = yes; then AS_VAR_POPDEF([gl_header_exists]) ]) gl_ABSOLUTE_HEADER_ONE(gl_HEADER_NAME) AS_VAR_COPY([gl_header], [gl_cv_absolute_]AS_TR_SH(gl_HEADER_NAME)) AS_VAR_SET(gl_next_header, ['"'$gl_header'"']) m4_if([$2], [check], [else AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) fi ]) ]) fi AC_SUBST( AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), [AS_VAR_GET(gl_next_header)]) if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'gl_HEADER_NAME'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=AS_VAR_GET(gl_next_header) fi AC_SUBST( AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), [$gl_next_as_first_directive]) AS_VAR_POPDEF([gl_next_header])]) ]) # Autoconf 2.68 added warnings for our use of AC_COMPILE_IFELSE; # this fallback is safe for all earlier autoconf versions. m4_define_default([AC_LANG_DEFINES_PROVIDED]) gsasl-1.8.1/m4/pthread_sigmask.m40000644000000000000000000002267313516251573013472 00000000000000# pthread_sigmask.m4 serial 18 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([pthread_sigmask]) dnl On MinGW pthread_sigmask is just a macro which always returns 0. dnl It does not exist as a real function, which is required by POSIX. AC_CACHE_CHECK([whether pthread_sigmask is a macro], [gl_cv_func_pthread_sigmask_macro], [AC_EGREP_CPP([headers_define_pthread_sigmask], [ #include #include #ifdef pthread_sigmask headers_define_pthread_sigmask #endif], [gl_cv_func_pthread_sigmask_macro=yes], [gl_cv_func_pthread_sigmask_macro=no]) ]) LIB_PTHREAD_SIGMASK= if test $gl_cv_func_pthread_sigmask_macro = yes; then dnl pthread_sigmask is a dummy macro. HAVE_PTHREAD_SIGMASK=0 dnl Make sure to '#undef pthread_sigmask' before defining it. REPLACE_PTHREAD_SIGMASK=1 else dnl Test whether the gnulib module 'threadlib' is in use. dnl Some packages like Emacs use --avoid=threadlib. dnl Write the symbol in such a way that it does not cause 'aclocal' to pick dnl the threadlib.m4 file that is installed in $PREFIX/share/aclocal/. m4_ifdef([gl_][THREADLIB], [ AC_REQUIRE([gl_][THREADLIB]) if test "$gl_threads_api" = posix; then if test $ac_cv_func_pthread_sigmask = yes; then dnl pthread_sigmask is available without -lpthread. : else if test -n "$LIBMULTITHREAD"; then AC_CACHE_CHECK([for pthread_sigmask in $LIBMULTITHREAD], [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD], [gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[return pthread_sigmask (0, (sigset_t *) 0, (sigset_t *) 0);]]) ], [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=yes], [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=no]) LIBS="$gl_save_LIBS" ]) if test $gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD = yes; then dnl pthread_sigmask is available with -pthread or -lpthread. LIB_PTHREAD_SIGMASK="$LIBMULTITHREAD" else dnl pthread_sigmask is not available at all. HAVE_PTHREAD_SIGMASK=0 fi else dnl pthread_sigmask is not available at all. HAVE_PTHREAD_SIGMASK=0 fi fi else dnl pthread_sigmask may exist but does not interoperate with the chosen dnl multithreading facility. if test $ac_cv_func_pthread_sigmask = yes; then REPLACE_PTHREAD_SIGMASK=1 else HAVE_PTHREAD_SIGMASK=0 fi fi ], [ dnl The module 'threadlib' is not in use, due to --avoid=threadlib being dnl specified. dnl The package either has prepared CPPFLAGS and LIBS for use of dnl POSIX:2008 threads, or wants to build single-threaded programs. if test $ac_cv_func_pthread_sigmask = yes; then dnl pthread_sigmask exists and does not require extra libraries. dnl Assume that it is declared. : else dnl pthread_sigmask either does not exist or needs extra libraries. HAVE_PTHREAD_SIGMASK=0 dnl Define the symbol rpl_pthread_sigmask, not pthread_sigmask, dnl so as to not accidentally override the system's pthread_sigmask dnl symbol from libpthread. This is necessary on IRIX 6.5. REPLACE_PTHREAD_SIGMASK=1 fi ]) fi AC_SUBST([LIB_PTHREAD_SIGMASK]) dnl We don't need a variable LTLIB_PTHREAD_SIGMASK, because when dnl "$gl_threads_api" = posix, $LTLIBMULTITHREAD and $LIBMULTITHREAD are the dnl same. dnl Now test for some bugs in the system function. if test $HAVE_PTHREAD_SIGMASK = 1; then AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl On FreeBSD 6.4, HP-UX 11.31, Solaris 9, in programs that are not linked dnl with -lpthread, the pthread_sigmask() function always returns 0 and has dnl no effect. if test -z "$LIB_PTHREAD_SIGMASK"; then case " $LIBS " in *' -pthread '*) ;; *' -lpthread '*) ;; *) AC_CACHE_CHECK([whether pthread_sigmask works without -lpthread], [gl_cv_func_pthread_sigmask_in_libc_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { sigset_t set; sigemptyset (&set); return pthread_sigmask (1729, &set, NULL) != 0; }]])], [gl_cv_func_pthread_sigmask_in_libc_works=no], [gl_cv_func_pthread_sigmask_in_libc_works=yes], [ changequote(,)dnl case "$host_os" in freebsd* | hpux* | solaris | solaris2.[2-9]*) gl_cv_func_pthread_sigmask_in_libc_works="guessing no";; *) gl_cv_func_pthread_sigmask_in_libc_works="guessing yes";; esac changequote([,])dnl ]) ]) case "$gl_cv_func_pthread_sigmask_in_libc_works" in *no) REPLACE_PTHREAD_SIGMASK=1 AC_DEFINE([PTHREAD_SIGMASK_INEFFECTIVE], [1], [Define to 1 if pthread_sigmask may return 0 and have no effect.]) ;; esac;; esac fi dnl On Cygwin 1.7.5, the pthread_sigmask() has a wrong return value dnl convention: Upon failure, it returns -1 and sets errno. AC_CACHE_CHECK([whether pthread_sigmask returns error numbers], [gl_cv_func_pthread_sigmask_return_works], [ gl_save_LIBS="$LIBS" LIBS="$LIBS $LIB_PTHREAD_SIGMASK" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { sigset_t set; sigemptyset (&set); if (pthread_sigmask (1729, &set, NULL) == -1) return 1; return 0; }]])], [gl_cv_func_pthread_sigmask_return_works=yes], [gl_cv_func_pthread_sigmask_return_works=no], [case "$host_os" in cygwin*) gl_cv_func_pthread_sigmask_return_works="guessing no";; *) gl_cv_func_pthread_sigmask_return_works="guessing yes";; esac ]) LIBS="$gl_save_LIBS" ]) case "$gl_cv_func_pthread_sigmask_return_works" in *no) REPLACE_PTHREAD_SIGMASK=1 AC_DEFINE([PTHREAD_SIGMASK_FAILS_WITH_ERRNO], [1], [Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.]) ;; esac dnl On IRIX 6.5, in a single-threaded program, pending signals are not dnl immediately delivered when they are unblocked through pthread_sigmask, dnl only a little while later. AC_CACHE_CHECK([whether pthread_sigmask unblocks signals correctly], [gl_cv_func_pthread_sigmask_unblock_works], [ case "$host_os" in irix*) gl_cv_func_pthread_sigmask_unblock_works="guessing no";; *) gl_cv_func_pthread_sigmask_unblock_works="guessing yes";; esac m4_ifdef([gl_][THREADLIB], [dnl Link against $LIBMULTITHREAD, not only $LIB_PTHREAD_SIGMASK. dnl Otherwise we get a false positive on those platforms where dnl $gl_cv_func_pthread_sigmask_in_libc_works is "no". gl_save_LIBS=$LIBS LIBS="$LIBS $LIBMULTITHREAD"]) AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #include static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main () { sigset_t set; int pid = getpid (); char command[80]; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); if (!(pthread_sigmask (SIG_BLOCK, &set, NULL) == 0)) return 1; sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); if (!(system (command) == 0)) return 2; sleep (2); if (!(sigint_occurred == 0)) return 3; if (!(pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0)) return 4; if (!(sigint_occurred == 1)) /* This fails on IRIX. */ return 5; return 0; }]])], [:], [gl_cv_func_pthread_sigmask_unblock_works=no], [:]) m4_ifdef([gl_][THREADLIB], [LIBS=$gl_save_LIBS]) ]) case "$gl_cv_func_pthread_sigmask_unblock_works" in *no) REPLACE_PTHREAD_SIGMASK=1 AC_DEFINE([PTHREAD_SIGMASK_UNBLOCK_BUG], [1], [Define to 1 if pthread_sigmask() unblocks signals incorrectly.]) ;; esac fi ]) # Prerequisite of lib/pthread_sigmask.c. AC_DEFUN([gl_PREREQ_PTHREAD_SIGMASK], [ if test $HAVE_PTHREAD_SIGMASK = 1; then AC_DEFINE([HAVE_PTHREAD_SIGMASK], [1], [Define to 1 if the pthread_sigmask function can be used (despite bugs).]) fi ]) gsasl-1.8.1/m4/strdup.m40000644000000000000000000000165713516251573011645 00000000000000# strdup.m4 serial 13 dnl Copyright (C) 2002-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRDUP], [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([strdup]) AC_CHECK_DECLS_ONCE([strdup]) if test $ac_cv_have_decl_strdup = no; then HAVE_DECL_STRDUP=0 fi ]) AC_DEFUN([gl_FUNC_STRDUP_POSIX], [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) AC_CHECK_FUNCS_ONCE([strdup]) if test $ac_cv_func_strdup = yes; then if test $gl_cv_func_malloc_posix != yes; then REPLACE_STRDUP=1 fi fi AC_CHECK_DECLS_ONCE([strdup]) if test $ac_cv_have_decl_strdup = no; then HAVE_DECL_STRDUP=0 fi ]) # Prerequisites of lib/strdup.c. AC_DEFUN([gl_PREREQ_STRDUP], [:]) gsasl-1.8.1/m4/getpagesize.m40000644000000000000000000000276213516251575012633 00000000000000# getpagesize.m4 serial 10 dnl Copyright (C) 2002, 2004-2005, 2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_GETPAGESIZE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CHECK_FUNC_GETPAGESIZE if test $gl_cv_func_getpagesize = no; then HAVE_GETPAGESIZE=0 AC_CHECK_HEADERS([OS.h]) if test $ac_cv_header_OS_h = yes; then HAVE_OS_H=1 fi AC_CHECK_HEADERS([sys/param.h]) if test $ac_cv_header_sys_param_h = yes; then HAVE_SYS_PARAM_H=1 fi fi case "$host_os" in mingw*) REPLACE_GETPAGESIZE=1 ;; esac dnl Also check whether it's declared. dnl mingw has getpagesize() in libgcc.a but doesn't declare it. AC_CHECK_DECL([getpagesize], , [HAVE_DECL_GETPAGESIZE=0]) ]) dnl Tests whether the function getpagesize() exists. dnl Sets gl_cv_func_getpagesize. AC_DEFUN([gl_CHECK_FUNC_GETPAGESIZE], [ dnl We can't use AC_CHECK_FUNC here, because getpagesize() is defined as a dnl static inline function when compiling for Android 4.4 or older. AC_CACHE_CHECK([for getpagesize], [gl_cv_func_getpagesize], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[return getpagesize();]]) ], [gl_cv_func_getpagesize=yes], [gl_cv_func_getpagesize=no]) ]) ]) gsasl-1.8.1/m4/langinfo_h.m40000644000000000000000000000772013516251575012427 00000000000000# langinfo_h.m4 serial 8 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_LANGINFO_H], [ AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) dnl Persuade glibc-2.0.6 to define CODESET. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([langinfo.h]) dnl Determine whether exists. It is missing on mingw and BeOS. HAVE_LANGINFO_CODESET=0 HAVE_LANGINFO_T_FMT_AMPM=0 HAVE_LANGINFO_ALTMON=0 HAVE_LANGINFO_ERA=0 HAVE_LANGINFO_YESEXPR=0 AC_CHECK_HEADERS_ONCE([langinfo.h]) if test $ac_cv_header_langinfo_h = yes; then HAVE_LANGINFO_H=1 dnl Determine what defines. CODESET and ERA etc. are missing dnl on OpenBSD 3.8. T_FMT_AMPM and YESEXPR, NOEXPR are missing on IRIX 5.3. dnl ALTMON_* are missing on glibc 2.26 and many other systems. AC_CACHE_CHECK([whether langinfo.h defines CODESET], [gl_cv_header_langinfo_codeset], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include int a = CODESET; ]])], [gl_cv_header_langinfo_codeset=yes], [gl_cv_header_langinfo_codeset=no]) ]) if test $gl_cv_header_langinfo_codeset = yes; then HAVE_LANGINFO_CODESET=1 fi AC_CACHE_CHECK([whether langinfo.h defines T_FMT_AMPM], [gl_cv_header_langinfo_t_fmt_ampm], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include int a = T_FMT_AMPM; ]])], [gl_cv_header_langinfo_t_fmt_ampm=yes], [gl_cv_header_langinfo_t_fmt_ampm=no]) ]) if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then HAVE_LANGINFO_T_FMT_AMPM=1 fi AC_CACHE_CHECK([whether langinfo.h defines ALTMON_1], [gl_cv_header_langinfo_altmon], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include int a = ALTMON_1; ]])], [gl_cv_header_langinfo_altmon=yes], [gl_cv_header_langinfo_altmon=no]) ]) if test $gl_cv_header_langinfo_altmon = yes; then HAVE_LANGINFO_ALTMON=1 fi AC_CACHE_CHECK([whether langinfo.h defines ERA], [gl_cv_header_langinfo_era], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include int a = ERA; ]])], [gl_cv_header_langinfo_era=yes], [gl_cv_header_langinfo_era=no]) ]) if test $gl_cv_header_langinfo_era = yes; then HAVE_LANGINFO_ERA=1 fi AC_CACHE_CHECK([whether langinfo.h defines YESEXPR], [gl_cv_header_langinfo_yesexpr], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include int a = YESEXPR; ]])], [gl_cv_header_langinfo_yesexpr=yes], [gl_cv_header_langinfo_yesexpr=no]) ]) if test $gl_cv_header_langinfo_yesexpr = yes; then HAVE_LANGINFO_YESEXPR=1 fi else HAVE_LANGINFO_H=0 fi AC_SUBST([HAVE_LANGINFO_H]) AC_SUBST([HAVE_LANGINFO_CODESET]) AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM]) AC_SUBST([HAVE_LANGINFO_ALTMON]) AC_SUBST([HAVE_LANGINFO_ERA]) AC_SUBST([HAVE_LANGINFO_YESEXPR]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [nl_langinfo]) ]) AC_DEFUN([gl_LANGINFO_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_LANGINFO_H_DEFAULTS], [ GNULIB_NL_LANGINFO=0; AC_SUBST([GNULIB_NL_LANGINFO]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_NL_LANGINFO=1; AC_SUBST([HAVE_NL_LANGINFO]) REPLACE_NL_LANGINFO=0; AC_SUBST([REPLACE_NL_LANGINFO]) ]) gsasl-1.8.1/m4/mmap-anon.m40000644000000000000000000000373313516251575012206 00000000000000# mmap-anon.m4 serial 10 dnl Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Detect how mmap can be used to create anonymous (not file-backed) memory # mappings. # - On Linux, AIX, OSF/1, Solaris, Cygwin, Interix, Haiku, both MAP_ANONYMOUS # and MAP_ANON exist and have the same value. # - On HP-UX, only MAP_ANONYMOUS exists. # - On Mac OS X, FreeBSD, NetBSD, OpenBSD, only MAP_ANON exists. # - On IRIX, neither exists, and a file descriptor opened to /dev/zero must be # used. AC_DEFUN([gl_FUNC_MMAP_ANON], [ dnl Persuade glibc to define MAP_ANONYMOUS. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no]) # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then AC_MSG_CHECKING([for MAP_ANONYMOUS]) AC_EGREP_CPP([I cannot identify this map], [ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif ], [gl_have_mmap_anonymous=yes]) if test $gl_have_mmap_anonymous != yes; then AC_EGREP_CPP([I cannot identify this map], [ #include #ifdef MAP_ANON I cannot identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.]) gl_have_mmap_anonymous=yes]) fi AC_MSG_RESULT([$gl_have_mmap_anonymous]) if test $gl_have_mmap_anonymous = yes; then AC_DEFINE([HAVE_MAP_ANONYMOUS], [1], [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including config.h and .]) fi fi ]) gsasl-1.8.1/m4/largefile.m40000644000000000000000000001345313516251575012255 00000000000000# Enable large files on systems where this is not the default. # Copyright 1992-1996, 1998-2019 Free Software Foundation, Inc. # 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. # The following implementation works around a problem in autoconf <= 2.69; # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, # or configures them incorrectly in some cases. m4_version_prereq([2.70], [] ,[ # _AC_SYS_LARGEFILE_TEST_INCLUDES # ------------------------------- m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], [@%:@include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]];[]dnl ]) # _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, # CACHE-VAR, # DESCRIPTION, # PROLOGUE, [FUNCTION-BODY]) # -------------------------------------------------------- m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], [AC_CACHE_CHECK([for $1 value needed for large files], [$3], [while :; do m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( [AC_LANG_PROGRAM([$5], [$6])], [$3=no; break]) m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( [AC_LANG_PROGRAM([@%:@define $1 $2 $5], [$6])], [$3=$2; break]) $3=unknown break done]) case $$3 in #( no | unknown) ;; *) AC_DEFINE_UNQUOTED([$1], [$$3], [$4]);; esac rm -rf conftest*[]dnl ])# _AC_SYS_LARGEFILE_MACRO_VALUE # AC_SYS_LARGEFILE # ---------------- # By default, many hosts won't let programs access large files; # one must use special compiler options to get large-file access to work. # For more details about this brain damage please see: # http://www.unix-systems.org/version2/whatsnew/lfs20mar.html AC_DEFUN([AC_SYS_LARGEFILE], [AC_ARG_ENABLE(largefile, [ --disable-largefile omit support for large files]) if test "$enable_largefile" != no; then AC_CACHE_CHECK([for special C compiler options needed for large files], ac_cv_sys_largefile_CC, [ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])]) AC_COMPILE_IFELSE([], [break]) CC="$CC -n32" AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break]) break done CC=$ac_save_CC rm -f conftest.$ac_ext fi]) if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, ac_cv_sys_file_offset_bits, [Number of bits in a file offset, on hosts where this is settable.], [_AC_SYS_LARGEFILE_TEST_INCLUDES]) if test $ac_cv_sys_file_offset_bits = unknown; then _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, ac_cv_sys_large_files, [Define for large files, on AIX-style hosts.], [_AC_SYS_LARGEFILE_TEST_INCLUDES]) fi AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1], [Enable large inode numbers on Mac OS X 10.5.]) fi ])# AC_SYS_LARGEFILE ])# m4_version_prereq 2.70 # Enable large files on systems where this is implemented by Gnulib, not by the # system headers. # Set the variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE if Gnulib # overrides ensure that off_t or 'struct size.st_size' are 64-bit, respectively. AC_DEFUN([gl_LARGEFILE], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) dnl Native Windows. dnl mingw64 defines off_t to a 64-bit type already, if dnl _FILE_OFFSET_BITS=64, which is ensured by AC_SYS_LARGEFILE. AC_CACHE_CHECK([for 64-bit off_t], [gl_cv_type_off_t_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_type_off_t_64=yes], [gl_cv_type_off_t_64=no]) ]) if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else WINDOWS_64_BIT_OFF_T=0 fi dnl Some mingw versions define, if _FILE_OFFSET_BITS=64, 'struct stat' dnl to 'struct _stat32i64' or 'struct _stat64' (depending on dnl _USE_32BIT_TIME_T), which has a 32-bit st_size member. AC_CACHE_CHECK([for 64-bit st_size], [gl_cv_member_st_size_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include struct stat buf; int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_member_st_size_64=yes], [gl_cv_member_st_size_64=no]) ]) if test $gl_cv_member_st_size_64 = no; then WINDOWS_64_BIT_ST_SIZE=1 else WINDOWS_64_BIT_ST_SIZE=0 fi ;; *) dnl Nothing to do on gnulib's side. dnl A 64-bit off_t is dnl - already the default on Mac OS X, FreeBSD, NetBSD, OpenBSD, IRIX, dnl OSF/1, Cygwin, dnl - enabled by _FILE_OFFSET_BITS=64 (ensured by AC_SYS_LARGEFILE) on dnl glibc, HP-UX, Solaris, dnl - enabled by _LARGE_FILES=1 (ensured by AC_SYS_LARGEFILE) on AIX, dnl - impossible to achieve on Minix 3.1.8. WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac ]) gsasl-1.8.1/m4/arpa_inet_h.m40000644000000000000000000000362513516251575012574 00000000000000# arpa_inet_h.m4 serial 14 dnl Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Simon Josefsson and Bruno Haible AC_DEFUN([gl_HEADER_ARPA_INET], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([arpa/inet.h]) if test $ac_cv_header_arpa_inet_h = yes; then HAVE_ARPA_INET_H=1 else HAVE_ARPA_INET_H=0 fi AC_SUBST([HAVE_ARPA_INET_H]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([arpa/inet.h]) AC_REQUIRE([gl_FEATURES_H]) gl_PREREQ_SYS_H_WS2TCPIP dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* On some systems, this header is not self-consistent. */ #if !(defined __GLIBC__ || defined __UCLIBC__) # include #endif #ifdef __TANDEM # include #endif #include ]], [inet_ntop inet_pton]) ]) AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_ARPA_INET_H_DEFAULTS], [ GNULIB_INET_NTOP=0; AC_SUBST([GNULIB_INET_NTOP]) GNULIB_INET_PTON=0; AC_SUBST([GNULIB_INET_PTON]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_INET_NTOP=1; AC_SUBST([HAVE_DECL_INET_NTOP]) HAVE_DECL_INET_PTON=1; AC_SUBST([HAVE_DECL_INET_PTON]) REPLACE_INET_NTOP=0; AC_SUBST([REPLACE_INET_NTOP]) REPLACE_INET_PTON=0; AC_SUBST([REPLACE_INET_PTON]) ]) gsasl-1.8.1/m4/inline.m40000644000000000000000000000315413516251575011576 00000000000000# inline.m4 serial 4 dnl Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Test for the 'inline' keyword or equivalent. dnl Define 'inline' to a supported equivalent, or to nothing if not supported, dnl like AC_C_INLINE does. Also, define HAVE_INLINE if 'inline' or an dnl equivalent is effectively supported, i.e. if the compiler is likely to dnl drop unused 'static inline' functions. AC_DEFUN([gl_INLINE], [ AC_REQUIRE([AC_C_INLINE]) AC_CACHE_CHECK([whether the compiler generally respects inline], [gl_cv_c_inline_effective], [if test $ac_cv_c_inline = no; then gl_cv_c_inline_effective=no else dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is dnl specified. dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result dnl depends on optimization flags, which can be in CFLAGS. dnl (AC_EGREP_CPP looks only at the CPPFLAGS.) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[#ifdef __NO_INLINE__ #error "inline is not effective" #endif]])], [gl_cv_c_inline_effective=yes], [gl_cv_c_inline_effective=no]) fi ]) if test $gl_cv_c_inline_effective = yes; then AC_DEFINE([HAVE_INLINE], [1], [Define to 1 if the compiler supports one of the keywords 'inline', '__inline__', '__inline' and effectively inlines functions marked as such.]) fi ]) gsasl-1.8.1/m4/open-cloexec.m40000644000000000000000000000132313516251573012673 00000000000000# Test whether O_CLOEXEC is defined. dnl Copyright 2017-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PREPROC_O_CLOEXEC], [ AC_CACHE_CHECK([for O_CLOEXEC], [gl_cv_macro_O_CLOEXEC], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include #ifndef O_CLOEXEC choke me; #endif ]], [[return O_CLOEXEC;]])], [gl_cv_macro_O_CLOEXEC=yes], [gl_cv_macro_O_CLOEXEC=no])]) ]) gsasl-1.8.1/m4/open.m40000644000000000000000000000523713516251575011265 00000000000000# open.m4 serial 15 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_OPEN], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PREPROC_O_CLOEXEC]) case "$host_os" in mingw* | pw*) REPLACE_OPEN=1 ;; *) dnl open("foo/") should not create a file when the file name has a dnl trailing slash. FreeBSD only has the problem on symlinks. AC_CHECK_FUNCS_ONCE([lstat]) if test "$gl_cv_macro_O_CLOEXEC" != yes; then REPLACE_OPEN=1 fi AC_CACHE_CHECK([whether open recognizes a trailing slash], [gl_cv_func_open_slash], [# Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then touch conftest.tmp ln -s conftest.tmp conftest.lnk fi AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_UNISTD_H # include #endif int main () { int result = 0; #if HAVE_LSTAT if (open ("conftest.lnk/", O_RDONLY) != -1) result |= 1; #endif if (open ("conftest.sl/", O_CREAT, 0600) >= 0) result |= 2; return result; }]])], [gl_cv_func_open_slash=yes], [gl_cv_func_open_slash=no], [ changequote(,)dnl case "$host_os" in freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) gl_cv_func_open_slash="guessing no" ;; *) gl_cv_func_open_slash="guessing yes" ;; esac changequote([,])dnl ]) rm -f conftest.sl conftest.tmp conftest.lnk ]) case "$gl_cv_func_open_slash" in *no) AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1], [Define to 1 if open() fails to recognize a trailing slash.]) REPLACE_OPEN=1 ;; esac ;; esac dnl Replace open() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ if test $REPLACE_OPEN = 0; then gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then REPLACE_OPEN=1 fi fi ]) dnl Replace open() for supporting the gnulib-defined O_NONBLOCK flag. m4_ifdef([gl_NONBLOCKING_IO], [ if test $REPLACE_OPEN = 0; then gl_NONBLOCKING_IO if test $gl_cv_have_open_O_NONBLOCK != yes; then REPLACE_OPEN=1 fi fi ]) ]) # Prerequisites of lib/open.c. AC_DEFUN([gl_PREREQ_OPEN], [ AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) : ]) gsasl-1.8.1/m4/raise.m40000644000000000000000000000177113516251573011424 00000000000000# raise.m4 serial 4 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_RAISE], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS([raise]) if test $ac_cv_func_raise = no; then HAVE_RAISE=0 else m4_ifdef([gl_MSVC_INVAL], [ AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_RAISE=1 fi ]) m4_ifdef([gl_SIGNALBLOCKING], [ gl_SIGNALBLOCKING if test $HAVE_POSIX_SIGNALBLOCKING = 0; then m4_ifdef([gl_SIGNAL_SIGPIPE], [ gl_SIGNAL_SIGPIPE if test $gl_cv_header_signal_h_SIGPIPE != yes; then REPLACE_RAISE=1 fi ], [:]) fi ]) fi ]) # Prerequisites of lib/raise.c. AC_DEFUN([gl_PREREQ_RAISE], [:]) gsasl-1.8.1/m4/00gnulib.m40000644000000000000000000000415213516251575011737 00000000000000# 00gnulib.m4 serial 3 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file must be named something that sorts before all other dnl gnulib-provided .m4 files. It is needed until such time as we can dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE and dnl m4_divert semantics. # Until autoconf 2.63, handling of the diversion stack required m4_init # to be called first; but this does not happen with aclocal. Wrapping # the entire execution in another layer of the diversion stack fixes this. # Worse, prior to autoconf 2.62, m4_wrap depended on the underlying m4 # for whether it was FIFO or LIFO; in order to properly balance with # m4_init, we need to undo our push just before anything wrapped within # the m4_init body. The way to ensure this is to wrap both sides of # m4_init with a one-shot macro that does the pop at the right time. m4_ifndef([_m4_divert_diversion], [m4_divert_push([KILL]) m4_define([gl_divert_fixup], [m4_divert_pop()m4_define([$0])]) m4_define([m4_init], [gl_divert_fixup()]m4_defn([m4_init])[gl_divert_fixup()])]) # AC_DEFUN_ONCE([NAME], VALUE) # ---------------------------- # Define NAME to expand to VALUE on the first use (whether by direct # expansion, or by AC_REQUIRE), and to nothing on all subsequent uses. # Avoid bugs in AC_REQUIRE in Autoconf 2.63 and earlier. This # definition is slower than the version in Autoconf 2.64, because it # can only use interfaces that existed since 2.59; but it achieves the # same effect. Quoting is necessary to avoid confusing Automake. m4_version_prereq([2.63.263], [], [m4_define([AC][_DEFUN_ONCE], [AC][_DEFUN([$1], [AC_REQUIRE([_gl_DEFUN_ONCE([$1])], [m4_indir([_gl_DEFUN_ONCE([$1])])])])]dnl [AC][_DEFUN([_gl_DEFUN_ONCE([$1])], [$2])])]) # gl_00GNULIB # ----------- # Witness macro that this file has been included. Needed to force # Automake to include this file prior to all other gnulib .m4 files. AC_DEFUN([gl_00GNULIB]) gsasl-1.8.1/m4/fseeko.m40000644000000000000000000000454413516251575011600 00000000000000# fseeko.m4 serial 19 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FSEEKO], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) AC_REQUIRE([gl_SYS_TYPES_H]) AC_REQUIRE([AC_PROG_CC]) dnl Persuade glibc to declare fseeko(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [fseeko (stdin, 0, 0);])], [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no]) ]) AC_CHECK_DECLS_ONCE([fseeko]) if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi m4_ifdef([gl_FUNC_FFLUSH_STDIN], [ gl_FUNC_FFLUSH_STDIN case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FSEEKO=1 ;; esac ]) fi ]) dnl Code shared by fseeko and ftello. Determine if large files are supported, dnl but stdin does not start as a large file by default. AC_DEFUN([gl_STDIN_LARGE_OFFSET], [ AC_CACHE_CHECK([whether stdin defaults to large file offsets], [gl_cv_var_stdin_large_offset], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[#if defined __SL64 && defined __SCLE /* cygwin */ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and it is easier to do a version check than building a runtime test. */ # include # if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) choke me # endif #endif]])], [gl_cv_var_stdin_large_offset=yes], [gl_cv_var_stdin_large_offset=no])]) ]) # Prerequisites of lib/fseeko.c. AC_DEFUN([gl_PREREQ_FSEEKO], [ dnl Native Windows has the function _fseeki64. mingw hides it in some dnl circumstances, but mingw64 makes it usable again. AC_CHECK_FUNCS([_fseeki64]) if test $ac_cv_func__fseeki64 = yes; then AC_CHECK_DECLS([_fseeki64]) fi ]) gsasl-1.8.1/m4/sys_stat_h.m40000644000000000000000000000741013516251576012500 00000000000000# sys_stat_h.m4 serial 31 -*- Autoconf -*- dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Eric Blake. dnl Provide a GNU-like . AC_DEFUN([gl_HEADER_SYS_STAT_H], [ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) dnl Check for broken stat macros. AC_REQUIRE([AC_HEADER_STAT]) gl_CHECK_NEXT_HEADERS([sys/stat.h]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Whether to enable precise timestamps in 'struct stat'. m4_ifdef([gl_WINDOWS_STAT_TIMESPEC], [ AC_REQUIRE([gl_WINDOWS_STAT_TIMESPEC]) ], [ WINDOWS_STAT_TIMESPEC=0 ]) AC_SUBST([WINDOWS_STAT_TIMESPEC]) dnl Whether to ensure that struct stat.st_size is 64-bit wide. m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([gl_LARGEFILE]) ], [ WINDOWS_64_BIT_ST_SIZE=0 ]) AC_SUBST([WINDOWS_64_BIT_ST_SIZE]) dnl Define types that are supposed to be defined in or dnl . AC_CHECK_TYPE([nlink_t], [], [AC_DEFINE([nlink_t], [int], [Define to the type of st_nlink in struct stat, or a supertype.])], [#include #include ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat]) ]) # gl_HEADER_SYS_STAT_H AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR GNULIB_FCHMODAT=0; AC_SUBST([GNULIB_FCHMODAT]) GNULIB_FSTAT=0; AC_SUBST([GNULIB_FSTAT]) GNULIB_FSTATAT=0; AC_SUBST([GNULIB_FSTATAT]) GNULIB_FUTIMENS=0; AC_SUBST([GNULIB_FUTIMENS]) GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD]) GNULIB_LSTAT=0; AC_SUBST([GNULIB_LSTAT]) GNULIB_MKDIRAT=0; AC_SUBST([GNULIB_MKDIRAT]) GNULIB_MKFIFO=0; AC_SUBST([GNULIB_MKFIFO]) GNULIB_MKFIFOAT=0; AC_SUBST([GNULIB_MKFIFOAT]) GNULIB_MKNOD=0; AC_SUBST([GNULIB_MKNOD]) GNULIB_MKNODAT=0; AC_SUBST([GNULIB_MKNODAT]) GNULIB_STAT=0; AC_SUBST([GNULIB_STAT]) GNULIB_UTIMENSAT=0; AC_SUBST([GNULIB_UTIMENSAT]) GNULIB_OVERRIDES_STRUCT_STAT=0; AC_SUBST([GNULIB_OVERRIDES_STRUCT_STAT]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_FCHMODAT=1; AC_SUBST([HAVE_FCHMODAT]) HAVE_FSTATAT=1; AC_SUBST([HAVE_FSTATAT]) HAVE_FUTIMENS=1; AC_SUBST([HAVE_FUTIMENS]) HAVE_LCHMOD=1; AC_SUBST([HAVE_LCHMOD]) HAVE_LSTAT=1; AC_SUBST([HAVE_LSTAT]) HAVE_MKDIRAT=1; AC_SUBST([HAVE_MKDIRAT]) HAVE_MKFIFO=1; AC_SUBST([HAVE_MKFIFO]) HAVE_MKFIFOAT=1; AC_SUBST([HAVE_MKFIFOAT]) HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD]) HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT]) HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT]) REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT]) REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT]) REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS]) REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT]) REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR]) REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO]) REPLACE_MKNOD=0; AC_SUBST([REPLACE_MKNOD]) REPLACE_STAT=0; AC_SUBST([REPLACE_STAT]) REPLACE_UTIMENSAT=0; AC_SUBST([REPLACE_UTIMENSAT]) ]) gsasl-1.8.1/m4/lib-link.m40000644000000000000000000010000413516251575012011 00000000000000# lib-link.m4 serial 28 dnl Copyright (C) 2001-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.61]) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes popdef([NAME]) popdef([Name]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message]) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. The missing-message dnl defaults to 'no' and may contain additional hints for the user. dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, dnl because these -l options might require -L options that are present in dnl LIBS. -l options benefit only from the -L options listed before it. dnl Otherwise, add it to the front of LIBS, because it may be a static dnl library that depends on another static library that is present in LIBS. dnl Static libraries benefit only from the static libraries listed after dnl it. case " $LIB[]NAME" in *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; *) LIBS="$LIB[]NAME $LIBS" ;; esac AC_LINK_IFELSE( [AC_LANG_PROGRAM([[$3]], [[$4]])], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= LIB[]NAME[]_PREFIX= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) popdef([NAME]) popdef([Name]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl acl_libext, dnl acl_shlibext, dnl acl_libname_spec, dnl acl_library_names_spec, dnl acl_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Complain if config.rpath is missing. AC_REQUIRE_AUX_FILE([config.rpath]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_FROMPACKAGE(name, package) dnl declares that libname comes from the given package. The configure file dnl will then not have a --with-libname-prefix option but a dnl --with-package-prefix option. Several libraries can come from the same dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar dnl macro call that searches for libname. AC_DEFUN([AC_LIB_FROMPACKAGE], [ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) popdef([PACKUP]) popdef([PACK]) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH(PACK[-prefix], [[ --with-]]PACK[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib --without-]]PACK[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been dnl computed. So it has to be reset here. HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi popdef([PACKLIBS]) popdef([PACKUP]) popdef([PACK]) popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) gsasl-1.8.1/m4/fpieee.m40000644000000000000000000000434013516251575011553 00000000000000# fpieee.m4 serial 2 -*- coding: utf-8 -*- dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl IEEE 754 standardized three items: dnl - The formats of single-float and double-float - nowadays commonly dnl available as 'float' and 'double' in C and C++. dnl No autoconf test needed. dnl - The overflow and division by zero behaviour: The result are values dnl '±Inf' and 'NaN', rather than exceptions as it was before. dnl This file provides an autoconf macro for ensuring this behaviour of dnl floating-point operations. dnl - A set of conditions (overflow, underflow, inexact, etc.) which can dnl be configured to trigger an exception. dnl This cannot be done in a portable way: it depends on the compiler, dnl libc, kernel, and CPU. No autoconf macro is provided for this. dnl Ensure non-trapping behaviour of floating-point overflow and dnl floating-point division by zero. dnl (For integer overflow, see gcc's -ftrapv option; for integer division by dnl zero, see the autoconf macro in intdiv0.m4.) AC_DEFUN([gl_FP_IEEE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) # IEEE behaviour is the default on all CPUs except Alpha and SH # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 # and the GCC 4.1.2 manual). case "$host_cpu" in alpha*) # On Alpha systems, a compiler option provides the behaviour. # See the ieee(3) manual page, also available at # if test -n "$GCC"; then # GCC has the option -mieee. # For full IEEE compliance (rarely needed), use option -mieee-with-inexact. CPPFLAGS="$CPPFLAGS -mieee" else # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact. # For full IEEE compliance (rarely needed), use option -ieee_with_inexact. CPPFLAGS="$CPPFLAGS -ieee" fi ;; sh*) if test -n "$GCC"; then # GCC has the option -mieee. CPPFLAGS="$CPPFLAGS -mieee" fi ;; esac ]) gsasl-1.8.1/m4/stdint.m40000644000000000000000000004334113516251576011630 00000000000000# stdint.m4 serial 53 dnl Copyright (C) 2001-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert and Bruno Haible. dnl Test whether is supported or must be substituted. AC_PREREQ([2.61]) AC_DEFUN_ONCE([gl_STDINT_H], [ AC_PREREQ([2.59])dnl AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_LIMITS_H]) AC_REQUIRE([gt_TYPE_WINT_T]) dnl Check for long long int and unsigned long long int. AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) if test $ac_cv_type_long_long_int = yes; then HAVE_LONG_LONG_INT=1 else HAVE_LONG_LONG_INT=0 fi AC_SUBST([HAVE_LONG_LONG_INT]) AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) if test $ac_cv_type_unsigned_long_long_int = yes; then HAVE_UNSIGNED_LONG_LONG_INT=1 else HAVE_UNSIGNED_LONG_LONG_INT=0 fi AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) dnl Check for , in the same way as gl_WCHAR_H does. AC_CHECK_HEADERS_ONCE([wchar.h]) if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi AC_SUBST([HAVE_WCHAR_H]) dnl Check for . dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h. if test $ac_cv_header_inttypes_h = yes; then HAVE_INTTYPES_H=1 else HAVE_INTTYPES_H=0 fi AC_SUBST([HAVE_INTTYPES_H]) dnl Check for . dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h. if test $ac_cv_header_sys_types_h = yes; then HAVE_SYS_TYPES_H=1 else HAVE_SYS_TYPES_H=0 fi AC_SUBST([HAVE_SYS_TYPES_H]) gl_CHECK_NEXT_HEADERS([stdint.h]) if test $ac_cv_header_stdint_h = yes; then HAVE_STDINT_H=1 else HAVE_STDINT_H=0 fi AC_SUBST([HAVE_STDINT_H]) dnl Now see whether we need a substitute . if test $ac_cv_header_stdint_h = yes; then AC_CACHE_CHECK([whether stdint.h conforms to C99], [gl_cv_header_working_stdint_h], [gl_cv_header_working_stdint_h=no AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ #if !(defined WCHAR_MIN && defined WCHAR_MAX) #error "WCHAR_MIN, WCHAR_MAX not defined in " #endif ] gl_STDINT_INCLUDES [ #ifdef INT8_MAX int8_t a1 = INT8_MAX; int8_t a1min = INT8_MIN; #endif #ifdef INT16_MAX int16_t a2 = INT16_MAX; int16_t a2min = INT16_MIN; #endif #ifdef INT32_MAX int32_t a3 = INT32_MAX; int32_t a3min = INT32_MIN; #endif #ifdef INT64_MAX int64_t a4 = INT64_MAX; int64_t a4min = INT64_MIN; #endif #ifdef UINT8_MAX uint8_t b1 = UINT8_MAX; #else typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; #endif #ifdef UINT16_MAX uint16_t b2 = UINT16_MAX; #endif #ifdef UINT32_MAX uint32_t b3 = UINT32_MAX; #endif #ifdef UINT64_MAX uint64_t b4 = UINT64_MAX; #endif int_least8_t c1 = INT8_C (0x7f); int_least8_t c1max = INT_LEAST8_MAX; int_least8_t c1min = INT_LEAST8_MIN; int_least16_t c2 = INT16_C (0x7fff); int_least16_t c2max = INT_LEAST16_MAX; int_least16_t c2min = INT_LEAST16_MIN; int_least32_t c3 = INT32_C (0x7fffffff); int_least32_t c3max = INT_LEAST32_MAX; int_least32_t c3min = INT_LEAST32_MIN; int_least64_t c4 = INT64_C (0x7fffffffffffffff); int_least64_t c4max = INT_LEAST64_MAX; int_least64_t c4min = INT_LEAST64_MIN; uint_least8_t d1 = UINT8_C (0xff); uint_least8_t d1max = UINT_LEAST8_MAX; uint_least16_t d2 = UINT16_C (0xffff); uint_least16_t d2max = UINT_LEAST16_MAX; uint_least32_t d3 = UINT32_C (0xffffffff); uint_least32_t d3max = UINT_LEAST32_MAX; uint_least64_t d4 = UINT64_C (0xffffffffffffffff); uint_least64_t d4max = UINT_LEAST64_MAX; int_fast8_t e1 = INT_FAST8_MAX; int_fast8_t e1min = INT_FAST8_MIN; int_fast16_t e2 = INT_FAST16_MAX; int_fast16_t e2min = INT_FAST16_MIN; int_fast32_t e3 = INT_FAST32_MAX; int_fast32_t e3min = INT_FAST32_MIN; int_fast64_t e4 = INT_FAST64_MAX; int_fast64_t e4min = INT_FAST64_MIN; uint_fast8_t f1 = UINT_FAST8_MAX; uint_fast16_t f2 = UINT_FAST16_MAX; uint_fast32_t f3 = UINT_FAST32_MAX; uint_fast64_t f4 = UINT_FAST64_MAX; #ifdef INTPTR_MAX intptr_t g = INTPTR_MAX; intptr_t gmin = INTPTR_MIN; #endif #ifdef UINTPTR_MAX uintptr_t h = UINTPTR_MAX; #endif intmax_t i = INTMAX_MAX; uintmax_t j = UINTMAX_MAX; /* Check that SIZE_MAX has the correct type, if possible. */ #if 201112 <= __STDC_VERSION__ int k = _Generic (SIZE_MAX, size_t: 0); #elif (2 <= __GNUC__ || defined __IBM__TYPEOF__ \ || (0x5110 <= __SUNPRO_C && !__STDC__)) extern size_t k; extern __typeof__ (SIZE_MAX) k; #endif #include /* for CHAR_BIT */ #define TYPE_MINIMUM(t) \ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) #define TYPE_MAXIMUM(t) \ ((t) ((t) 0 < (t) -1 \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) struct s { int check_PTRDIFF: PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ? 1 : -1; /* Detect bug in FreeBSD 6.0 / ia64. */ int check_SIG_ATOMIC: SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ? 1 : -1; int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; int check_WCHAR: WCHAR_MIN == TYPE_MINIMUM (wchar_t) && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ? 1 : -1; /* Detect bug in mingw. */ int check_WINT: WINT_MIN == TYPE_MINIMUM (wint_t) && WINT_MAX == TYPE_MAXIMUM (wint_t) ? 1 : -1; /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ int check_UINT8_C: (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; int check_UINT16_C: (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; /* Detect bugs in OpenBSD 3.9 stdint.h. */ #ifdef UINT8_MAX int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; #endif #ifdef UINT16_MAX int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; #endif #ifdef UINT32_MAX int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; #endif #ifdef UINT64_MAX int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; #endif int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; }; ]])], [dnl Determine whether the various *_MIN, *_MAX macros are usable dnl in preprocessor expression. We could do it by compiling a test dnl program for each of these macros. It is faster to run a program dnl that inspects the macro expansion. dnl This detects a bug on HP-UX 11.23/ia64. AC_RUN_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include ] gl_STDINT_INCLUDES [ #include #include #define MVAL(macro) MVAL1(macro) #define MVAL1(expression) #expression static const char *macro_values[] = { #ifdef INT8_MAX MVAL (INT8_MAX), #endif #ifdef INT16_MAX MVAL (INT16_MAX), #endif #ifdef INT32_MAX MVAL (INT32_MAX), #endif #ifdef INT64_MAX MVAL (INT64_MAX), #endif #ifdef UINT8_MAX MVAL (UINT8_MAX), #endif #ifdef UINT16_MAX MVAL (UINT16_MAX), #endif #ifdef UINT32_MAX MVAL (UINT32_MAX), #endif #ifdef UINT64_MAX MVAL (UINT64_MAX), #endif NULL }; ]], [[ const char **mv; for (mv = macro_values; *mv != NULL; mv++) { const char *value = *mv; /* Test whether it looks like a cast expression. */ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 || strncmp (value, "((int)"/*)*/, 6) == 0 || strncmp (value, "((signed short)"/*)*/, 15) == 0 || strncmp (value, "((signed char)"/*)*/, 14) == 0) return mv - macro_values + 1; } return 0; ]])], [gl_cv_header_working_stdint_h=yes], [], [case "$host_os" in # Guess yes on native Windows. mingw*) gl_cv_header_working_stdint_h="guessing yes" ;; # In general, assume it works. *) gl_cv_header_working_stdint_h="guessing yes" ;; esac ]) ]) ]) fi HAVE_C99_STDINT_H=0 HAVE_SYS_BITYPES_H=0 HAVE_SYS_INTTYPES_H=0 STDINT_H=stdint.h case "$gl_cv_header_working_stdint_h" in *yes) HAVE_C99_STDINT_H=1 dnl Now see whether the system works without dnl __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defined. AC_CACHE_CHECK([whether stdint.h predates C++11], [gl_cv_header_stdint_predates_cxx11_h], [gl_cv_header_stdint_predates_cxx11_h=yes AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #include ] gl_STDINT_INCLUDES [ intmax_t im = INTMAX_MAX; int32_t i32 = INT32_C (0x7fffffff); ]])], [gl_cv_header_stdint_predates_cxx11_h=no])]) if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then AC_DEFINE([__STDC_CONSTANT_MACROS], [1], [Define to 1 if the system predates C++11.]) AC_DEFINE([__STDC_LIMIT_MACROS], [1], [Define to 1 if the system predates C++11.]) fi AC_CACHE_CHECK([whether stdint.h has UINTMAX_WIDTH etc.], [gl_cv_header_stdint_width], [gl_cv_header_stdint_width=no AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include ]gl_STDINT_INCLUDES[ int iw = UINTMAX_WIDTH; ]])], [gl_cv_header_stdint_width=yes])]) if test "$gl_cv_header_stdint_width" = yes; then STDINT_H= fi ;; *) dnl Check for , and for dnl (used in Linux libc4 >= 4.6.7 and libc5). AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h]) if test $ac_cv_header_sys_inttypes_h = yes; then HAVE_SYS_INTTYPES_H=1 fi if test $ac_cv_header_sys_bitypes_h = yes; then HAVE_SYS_BITYPES_H=1 fi gl_STDINT_TYPE_PROPERTIES ;; esac dnl The substitute stdint.h needs the substitute limit.h's _GL_INTEGER_WIDTH. gl_REPLACE_LIMITS_H AC_SUBST([HAVE_C99_STDINT_H]) AC_SUBST([HAVE_SYS_BITYPES_H]) AC_SUBST([HAVE_SYS_INTTYPES_H]) AC_SUBST([STDINT_H]) AM_CONDITIONAL([GL_GENERATE_STDINT_H], [test -n "$STDINT_H"]) ]) dnl gl_STDINT_BITSIZEOF(TYPES, INCLUDES) dnl Determine the size of each of the given types in bits. AC_DEFUN([gl_STDINT_BITSIZEOF], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), [Define to the number of bits in type ']gltype['.])]) for gltype in $1 ; do AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}], [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [$2 #include ], [result=unknown]) eval gl_cv_bitsizeof_${gltype}=\$result ]) eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then dnl Use a nonempty default, because some compilers, such as IRIX 5 cc, dnl do a syntax check even on unused #if conditions and give an error dnl on valid C code like this: dnl #if 0 dnl # if > 32 dnl # endif dnl #endif result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result]) eval BITSIZEOF_${GLTYPE}=\$result done m4_foreach_w([gltype], [$1], [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ]) dnl gl_CHECK_TYPES_SIGNED(TYPES, INCLUDES) dnl Determine the signedness of each of the given types. dnl Define HAVE_SIGNED_TYPE if type is signed. AC_DEFUN([gl_CHECK_TYPES_SIGNED], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), [Define to 1 if ']gltype[' is a signed integer type.])]) for gltype in $1 ; do AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([$2[ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])], result=yes, result=no) eval gl_cv_type_${gltype}_signed=\$result ]) eval result=\$gl_cv_type_${gltype}_signed GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` if test "$result" = yes; then AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1]) eval HAVE_SIGNED_${GLTYPE}=1 else eval HAVE_SIGNED_${GLTYPE}=0 fi done m4_foreach_w([gltype], [$1], [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ]) dnl gl_INTEGER_TYPE_SUFFIX(TYPES, INCLUDES) dnl Determine the suffix to use for integer constants of the given types. dnl Define t_SUFFIX for each such type. AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX], [Define to l, ll, u, ul, ull, etc., as suitable for constants of type ']gltype['.])]) for gltype in $1 ; do AC_CACHE_CHECK([for $gltype integer literal suffix], [gl_cv_type_${gltype}_suffix], [eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([$2[ extern $gltype foo; extern $gltype1 foo;]])], [eval gl_cv_type_${gltype}_suffix=\$glsuf]) eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done]) GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result]) done m4_foreach_w([gltype], [$1], [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])]) ]) dnl gl_STDINT_INCLUDES AC_DEFUN([gl_STDINT_INCLUDES], [[ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif ]]) dnl gl_STDINT_TYPE_PROPERTIES dnl Compute HAVE_SIGNED_t, BITSIZEOF_t and t_SUFFIX, for all the types t dnl of interest to stdint.in.h. AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [ AC_REQUIRE([gl_MULTIARCH]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) fi gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) gl_cv_type_ptrdiff_t_signed=yes gl_cv_type_size_t_signed=no if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) fi gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) dnl If wint_t is smaller than 'int', it cannot satisfy the ISO C 99 dnl requirement that wint_t is "unchanged by default argument promotions". dnl In this case gnulib's and override wint_t. dnl Set the variable BITSIZEOF_WINT_T accordingly. if test $GNULIB_OVERRIDES_WINT_T = 1; then BITSIZEOF_WINT_T=32 fi ]) gsasl-1.8.1/m4/xalloc.m40000644000000000000000000000047213516251576011603 00000000000000# xalloc.m4 serial 18 dnl Copyright (C) 2002-2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_XALLOC], [:]) gsasl-1.8.1/m4/off_t.m40000644000000000000000000000100613516251575011407 00000000000000# off_t.m4 serial 1 dnl Copyright (C) 2012-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Check whether to override the 'off_t' type. dnl Set WINDOWS_64_BIT_OFF_T. AC_DEFUN([gl_TYPE_OFF_T], [ m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([gl_LARGEFILE]) ], [ WINDOWS_64_BIT_OFF_T=0 ]) AC_SUBST([WINDOWS_64_BIT_OFF_T]) ]) gsasl-1.8.1/m4/minmax.m40000644000000000000000000000245513516251573011612 00000000000000# minmax.m4 serial 4 dnl Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.53]) AC_DEFUN([gl_MINMAX], [ AC_REQUIRE([gl_PREREQ_MINMAX]) ]) # Prerequisites of lib/minmax.h. AC_DEFUN([gl_PREREQ_MINMAX], [ gl_MINMAX_IN_HEADER([limits.h]) gl_MINMAX_IN_HEADER([sys/param.h]) ]) dnl gl_MINMAX_IN_HEADER(HEADER) dnl The parameter has to be a literal header name; it cannot be macro, dnl nor a shell variable. (Because autoheader collects only AC_DEFINE dnl invocations with a literal macro name.) AC_DEFUN([gl_MINMAX_IN_HEADER], [ m4_pushdef([header], AS_TR_SH([$1])) m4_pushdef([HEADER], AS_TR_CPP([$1])) AC_CACHE_CHECK([whether <$1> defines MIN and MAX], [gl_cv_minmax_in_]header, [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include <$1> int x = MIN (42, 17);]], [[]])], [gl_cv_minmax_in_]header[=yes], [gl_cv_minmax_in_]header[=no])]) if test $gl_cv_minmax_in_[]header = yes; then AC_DEFINE([HAVE_MINMAX_IN_]HEADER, 1, [Define to 1 if <$1> defines the MIN and MAX macros.]) fi m4_popdef([HEADER]) m4_popdef([header]) ]) gsasl-1.8.1/m4/select.m40000644000000000000000000000662313516251576011604 00000000000000# select.m4 serial 10 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SELECT], [ AC_REQUIRE([gl_HEADER_SYS_SELECT]) AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SOCKETS]) if test "$ac_cv_header_winsock2_h" = yes; then REPLACE_SELECT=1 else dnl On Interix 3.5, select(0, NULL, NULL, NULL, timeout) fails with error dnl EFAULT. AC_CHECK_HEADERS_ONCE([sys/select.h]) AC_CACHE_CHECK([whether select supports a 0 argument], [gl_cv_func_select_supports0], [ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include #if HAVE_SYS_SELECT_H #include #endif int main () { struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; }]])], [gl_cv_func_select_supports0=yes], [gl_cv_func_select_supports0=no], [ changequote(,)dnl case "$host_os" in # Guess no on Interix. interix*) gl_cv_func_select_supports0="guessing no";; # Guess yes otherwise. *) gl_cv_func_select_supports0="guessing yes";; esac changequote([,])dnl ]) ]) case "$gl_cv_func_select_supports0" in *yes) ;; *) REPLACE_SELECT=1 ;; esac dnl On FreeBSD 8.2, select() doesn't always reject bad fds. AC_CACHE_CHECK([whether select detects invalid fds], [gl_cv_func_select_detects_ebadf], [ AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #if HAVE_SYS_SELECT_H # include #endif #include #include ]],[[ fd_set set; dup2(0, 16); FD_ZERO(&set); FD_SET(16, &set); close(16); struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (17, &set, NULL, NULL, &timeout) != -1 || errno != EBADF; ]])], [gl_cv_func_select_detects_ebadf=yes], [gl_cv_func_select_detects_ebadf=no], [ case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_select_detects_ebadf="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_select_detects_ebadf="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_select_detects_ebadf="guessing no" ;; esac ]) ]) case $gl_cv_func_select_detects_ebadf in *yes) ;; *) REPLACE_SELECT=1 ;; esac fi dnl Determine the needed libraries. LIB_SELECT="$LIBSOCKET" if test $REPLACE_SELECT = 1; then case "$host_os" in mingw*) dnl On the MSVC platform, the function MsgWaitForMultipleObjects dnl (used in lib/select.c) requires linking with -luser32. On mingw, dnl it is implicit. AC_LINK_IFELSE( [AC_LANG_SOURCE([[ #define WIN32_LEAN_AND_MEAN #include int main () { MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); return 0; }]])], [], [LIB_SELECT="$LIB_SELECT -luser32"]) ;; esac fi AC_SUBST([LIB_SELECT]) ]) gsasl-1.8.1/m4/yield.m40000644000000000000000000000136613516251576011432 00000000000000# yield.m4 serial 3 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_YIELD], [ AC_REQUIRE([gl_THREADLIB]) dnl On some systems, sched_yield is in librt, rather than in libpthread. YIELD_LIB= if test $gl_threads_api = posix; then dnl Solaris 7...10 has sched_yield in librt, not in libpthread or libc. AC_CHECK_LIB([rt], [sched_yield], [YIELD_LIB=-lrt], [dnl Solaris 2.5.1, 2.6 has sched_yield in libposix4, not librt. AC_CHECK_LIB([posix4], [sched_yield], [YIELD_LIB=-lposix4])]) fi AC_SUBST([YIELD_LIB]) ]) gsasl-1.8.1/m4/getpass.m40000644000000000000000000000620113516251575011762 00000000000000# getpass.m4 serial 16 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Provide a getpass() function if the system doesn't have it. AC_DEFUN_ONCE([gl_FUNC_GETPASS], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl Persuade Solaris and to declare getpass(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_FUNCS_ONCE([getpass]) if test $ac_cv_func_getpass = no; then HAVE_GETPASS=0 fi ]) # Provide the GNU getpass() implementation. It supports passwords of # arbitrary length (not just 8 bytes as on HP-UX). AC_DEFUN([gl_FUNC_GETPASS_GNU], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETPASS]) if test $ac_cv_func_getpass = yes; then AC_CACHE_CHECK([for getpass without length limitations], [gl_cv_func_getpass_good], [AC_EGREP_CPP([Lucky GNU user], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif ], [gl_cv_func_getpass_good=yes], [gl_cv_func_getpass_good=no]) ]) if test $gl_cv_func_getpass_good != yes; then REPLACE_GETPASS=1 fi fi ]) # Prerequisites of lib/getpass.c. AC_DEFUN([gl_PREREQ_GETPASS], [ AC_CHECK_HEADERS_ONCE([stdio_ext.h termios.h]) AC_CHECK_FUNCS_ONCE([__fsetlocking]) AC_CHECK_DECLS([__fsetlocking],,, [[#include #if HAVE_STDIO_EXT_H #include #endif]]) AC_CHECK_DECLS_ONCE([fflush_unlocked]) AC_CHECK_DECLS_ONCE([flockfile]) AC_CHECK_DECLS_ONCE([fputs_unlocked]) AC_CHECK_DECLS_ONCE([funlockfile]) AC_CHECK_DECLS_ONCE([putc_unlocked]) dnl We can't use AC_CHECK_FUNC here, because tcgetattr() is defined as a dnl static inline function when compiling for Android 4.4 or older. AC_CACHE_CHECK([for tcgetattr], [gl_cv_func_tcgetattr], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include struct termios x; ]], [[return tcgetattr(0,&x);]]) ], [gl_cv_func_tcgetattr=yes], [gl_cv_func_tcgetattr=no]) ]) if test $gl_cv_func_tcgetattr = yes; then HAVE_TCGETATTR=1 else HAVE_TCGETATTR=0 fi AC_DEFINE_UNQUOTED([HAVE_TCGETATTR], [$HAVE_TCGETATTR], [Define to 1 if the system has the 'tcgetattr' function.]) dnl We can't use AC_CHECK_FUNC here, because tcsetattr() is defined as a dnl static inline function when compiling for Android 4.4 or older. AC_CACHE_CHECK([for tcsetattr], [gl_cv_func_tcsetattr], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include struct termios x; ]], [[return tcsetattr(0,0,&x);]]) ], [gl_cv_func_tcsetattr=yes], [gl_cv_func_tcsetattr=no]) ]) if test $gl_cv_func_tcsetattr = yes; then HAVE_TCSETATTR=1 else HAVE_TCSETATTR=0 fi AC_DEFINE_UNQUOTED([HAVE_TCSETATTR], [$HAVE_TCSETATTR], [Define to 1 if the system has the 'tcsetattr' function.]) ]) gsasl-1.8.1/m4/getprogname.m40000644000000000000000000000263313516251573012627 00000000000000# getprogname.m4 - check for getprogname or replacements for it # Copyright (C) 2016-2019 Free Software Foundation, Inc. # 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 4 AC_DEFUN([gl_FUNC_GETPROGNAME], [ AC_CHECK_FUNCS_ONCE([getprogname getexecname]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) ac_found=0 AC_CHECK_DECLS([program_invocation_name], [ac_found=1], [], [#include ]) AC_CHECK_DECLS([program_invocation_short_name], [ac_found=1], [], [#include ]) AC_CHECK_DECLS([__argv], [ac_found=1], [], [#include ]) # Incur the cost of this test only if none of the above worked. if test $ac_found = 0; then # On OpenBSD 5.1, using the global __progname variable appears to be # the only way to implement getprogname. AC_CACHE_CHECK([whether __progname is defined in default libraries], [gl_cv_var___progname], [ gl_cv_var___progname= AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[extern char *__progname;]], [[return *__progname;]] )], [gl_cv_var___progname=yes] ) ] ) if test "$gl_cv_var___progname" = yes; then AC_DEFINE([HAVE_VAR___PROGNAME], 1, [Define if you have a global __progname variable]) fi fi ]) gsasl-1.8.1/m4/pthread_h.m40000644000000000000000000003400213516251573012250 00000000000000# pthread_h.m4 serial 4 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PTHREAD_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_PTHREAD_H_DEFAULTS]) AC_REQUIRE([gl_THREADLIB]) gl_CHECK_NEXT_HEADERS([pthread.h]) dnl On mingw, if --enable-threads=windows or gl_AVOID_WINPTHREAD is used, dnl ignore the from the mingw-w64 winpthreads library. if test $ac_cv_header_pthread_h = yes && test $gl_threads_api != windows; then HAVE_PTHREAD_H=1 else HAVE_PTHREAD_H=0 fi AC_SUBST([HAVE_PTHREAD_H]) AC_CHECK_TYPES([pthread_t, pthread_spinlock_t], [], [], [AC_INCLUDES_DEFAULT[ #if HAVE_PTHREAD_H #include #endif]]) if test $ac_cv_type_pthread_t != yes; then HAVE_PTHREAD_T=0 fi if test $ac_cv_type_pthread_spinlock_t != yes; then HAVE_PTHREAD_SPINLOCK_T=0 fi dnl Constants may be defined as C preprocessor macros or as enum items. AC_CACHE_CHECK([for PTHREAD_CREATE_DETACHED], [gl_cv_const_PTHREAD_CREATE_DETACHED], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_CREATE_DETACHED; ]], [[]])], [gl_cv_const_PTHREAD_CREATE_DETACHED=yes], [gl_cv_const_PTHREAD_CREATE_DETACHED=no]) ]) if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then HAVE_PTHREAD_CREATE_DETACHED=0 fi AC_CACHE_CHECK([for PTHREAD_MUTEX_RECURSIVE], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_MUTEX_RECURSIVE; ]], [[]])], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no]) ]) if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then HAVE_PTHREAD_MUTEX_RECURSIVE=0 fi AC_CACHE_CHECK([for PTHREAD_MUTEX_ROBUST], [gl_cv_const_PTHREAD_MUTEX_ROBUST], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_MUTEX_ROBUST; ]], [[]])], [gl_cv_const_PTHREAD_MUTEX_ROBUST=yes], [gl_cv_const_PTHREAD_MUTEX_ROBUST=no]) ]) if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then HAVE_PTHREAD_MUTEX_ROBUST=0 fi AC_CACHE_CHECK([for PTHREAD_PROCESS_SHARED], [gl_cv_const_PTHREAD_PROCESS_SHARED], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_PROCESS_SHARED; ]], [[]])], [gl_cv_const_PTHREAD_PROCESS_SHARED=yes], [gl_cv_const_PTHREAD_PROCESS_SHARED=no]) ]) if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then HAVE_PTHREAD_PROCESS_SHARED=0 fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [ pthread_create pthread_attr_init pthread_attr_getdetachstate pthread_attr_setdetachstate pthread_attr_destroy pthread_self pthread_equal pthread_detach pthread_join pthread_exit pthread_once pthread_mutex_init pthread_mutexattr_init pthread_mutexattr_gettype pthread_mutexattr_settype pthread_mutexattr_getrobust pthread_mutexattr_setrobust pthread_mutexattr_destroy pthread_mutex_lock pthread_mutex_trylock pthread_mutex_timedlock pthread_mutex_unlock pthread_mutex_destroy pthread_rwlock_init pthread_rwlockattr_init pthread_rwlockattr_destroy pthread_rwlock_rdlock pthread_rwlock_wrlock pthread_rwlock_tryrdlock pthread_rwlock_trywrlock pthread_rwlock_timedrdlock pthread_rwlock_timedwrlock pthread_rwlock_unlock pthread_rwlock_destroy pthread_cond_init pthread_condattr_init pthread_condattr_destroy pthread_cond_wait pthread_cond_timedwait pthread_cond_signal pthread_cond_broadcast pthread_cond_destroy pthread_key_create pthread_setspecific pthread_getspecific pthread_key_delete pthread_spin_init pthread_spin_lock pthread_spin_trylock pthread_spin_unlock pthread_spin_destroy]) AC_REQUIRE([AC_C_RESTRICT]) dnl For backward compatibility with gnulib versions <= 2019-07. LIB_PTHREAD="$LIBMULTITHREAD" AC_SUBST([LIB_PTHREAD]) ]) AC_DEFUN([gl_PTHREAD_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_PTHREAD_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_PTHREAD_H_DEFAULTS], [ GNULIB_PTHREAD_THREAD=0; AC_SUBST([GNULIB_PTHREAD_THREAD]) GNULIB_PTHREAD_ONCE=0; AC_SUBST([GNULIB_PTHREAD_ONCE]) GNULIB_PTHREAD_MUTEX=0; AC_SUBST([GNULIB_PTHREAD_MUTEX]) GNULIB_PTHREAD_RWLOCK=0; AC_SUBST([GNULIB_PTHREAD_RWLOCK]) GNULIB_PTHREAD_COND=0; AC_SUBST([GNULIB_PTHREAD_COND]) GNULIB_PTHREAD_TSS=0; AC_SUBST([GNULIB_PTHREAD_TSS]) GNULIB_PTHREAD_SPIN=0; AC_SUBST([GNULIB_PTHREAD_SPIN]) GNULIB_PTHREAD_MUTEX_TIMEDLOCK=0; AC_SUBST([GNULIB_PTHREAD_MUTEX_TIMEDLOCK]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_PTHREAD_T=1; AC_SUBST([HAVE_PTHREAD_T]) HAVE_PTHREAD_SPINLOCK_T=1; AC_SUBST([HAVE_PTHREAD_SPINLOCK_T]) HAVE_PTHREAD_CREATE_DETACHED=1; AC_SUBST([HAVE_PTHREAD_CREATE_DETACHED]) HAVE_PTHREAD_MUTEX_RECURSIVE=1; AC_SUBST([HAVE_PTHREAD_MUTEX_RECURSIVE]) HAVE_PTHREAD_MUTEX_ROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEX_ROBUST]) HAVE_PTHREAD_PROCESS_SHARED=1; AC_SUBST([HAVE_PTHREAD_PROCESS_SHARED]) HAVE_PTHREAD_CREATE=1; AC_SUBST([HAVE_PTHREAD_CREATE]) HAVE_PTHREAD_ATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_ATTR_INIT]) HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; AC_SUBST([HAVE_PTHREAD_ATTR_GETDETACHSTATE]) HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; AC_SUBST([HAVE_PTHREAD_ATTR_SETDETACHSTATE]) HAVE_PTHREAD_ATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_ATTR_DESTROY]) HAVE_PTHREAD_SELF=1; AC_SUBST([HAVE_PTHREAD_SELF]) HAVE_PTHREAD_EQUAL=1; AC_SUBST([HAVE_PTHREAD_EQUAL]) HAVE_PTHREAD_DETACH=1; AC_SUBST([HAVE_PTHREAD_DETACH]) HAVE_PTHREAD_JOIN=1; AC_SUBST([HAVE_PTHREAD_JOIN]) HAVE_PTHREAD_EXIT=1; AC_SUBST([HAVE_PTHREAD_EXIT]) HAVE_PTHREAD_ONCE=1; AC_SUBST([HAVE_PTHREAD_ONCE]) HAVE_PTHREAD_MUTEX_INIT=1; AC_SUBST([HAVE_PTHREAD_MUTEX_INIT]) HAVE_PTHREAD_MUTEXATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_INIT]) HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_GETTYPE]) HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_SETTYPE]) HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_GETROBUST]) HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_SETROBUST]) HAVE_PTHREAD_MUTEXATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_DESTROY]) HAVE_PTHREAD_MUTEX_LOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_LOCK]) HAVE_PTHREAD_MUTEX_TRYLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_TRYLOCK]) HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_TIMEDLOCK]) HAVE_PTHREAD_MUTEX_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_UNLOCK]) HAVE_PTHREAD_MUTEX_DESTROY=1; AC_SUBST([HAVE_PTHREAD_MUTEX_DESTROY]) HAVE_PTHREAD_RWLOCK_INIT=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_INIT]) HAVE_PTHREAD_RWLOCKATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_RWLOCKATTR_INIT]) HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_RWLOCKATTR_DESTROY]) HAVE_PTHREAD_RWLOCK_RDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_RDLOCK]) HAVE_PTHREAD_RWLOCK_WRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_WRLOCK]) HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TRYRDLOCK]) HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TRYWRLOCK]) HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK]) HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK]) HAVE_PTHREAD_RWLOCK_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_UNLOCK]) HAVE_PTHREAD_RWLOCK_DESTROY=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_DESTROY]) HAVE_PTHREAD_COND_INIT=1; AC_SUBST([HAVE_PTHREAD_COND_INIT]) HAVE_PTHREAD_CONDATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_CONDATTR_INIT]) HAVE_PTHREAD_CONDATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_CONDATTR_DESTROY]) HAVE_PTHREAD_COND_WAIT=1; AC_SUBST([HAVE_PTHREAD_COND_WAIT]) HAVE_PTHREAD_COND_TIMEDWAIT=1; AC_SUBST([HAVE_PTHREAD_COND_TIMEDWAIT]) HAVE_PTHREAD_COND_SIGNAL=1; AC_SUBST([HAVE_PTHREAD_COND_SIGNAL]) HAVE_PTHREAD_COND_BROADCAST=1; AC_SUBST([HAVE_PTHREAD_COND_BROADCAST]) HAVE_PTHREAD_COND_DESTROY=1; AC_SUBST([HAVE_PTHREAD_COND_DESTROY]) HAVE_PTHREAD_KEY_CREATE=1; AC_SUBST([HAVE_PTHREAD_KEY_CREATE]) HAVE_PTHREAD_SETSPECIFIC=1; AC_SUBST([HAVE_PTHREAD_SETSPECIFIC]) HAVE_PTHREAD_GETSPECIFIC=1; AC_SUBST([HAVE_PTHREAD_GETSPECIFIC]) HAVE_PTHREAD_KEY_DELETE=1; AC_SUBST([HAVE_PTHREAD_KEY_DELETE]) HAVE_PTHREAD_SPIN_INIT=1; AC_SUBST([HAVE_PTHREAD_SPIN_INIT]) HAVE_PTHREAD_SPIN_LOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_LOCK]) HAVE_PTHREAD_SPIN_TRYLOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_TRYLOCK]) HAVE_PTHREAD_SPIN_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_UNLOCK]) HAVE_PTHREAD_SPIN_DESTROY=1; AC_SUBST([HAVE_PTHREAD_SPIN_DESTROY]) REPLACE_PTHREAD_CREATE=0; AC_SUBST([REPLACE_PTHREAD_CREATE]) REPLACE_PTHREAD_ATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_ATTR_INIT]) REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; AC_SUBST([REPLACE_PTHREAD_ATTR_GETDETACHSTATE]) REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; AC_SUBST([REPLACE_PTHREAD_ATTR_SETDETACHSTATE]) REPLACE_PTHREAD_ATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_ATTR_DESTROY]) REPLACE_PTHREAD_SELF=0; AC_SUBST([REPLACE_PTHREAD_SELF]) REPLACE_PTHREAD_EQUAL=0; AC_SUBST([REPLACE_PTHREAD_EQUAL]) REPLACE_PTHREAD_DETACH=0; AC_SUBST([REPLACE_PTHREAD_DETACH]) REPLACE_PTHREAD_JOIN=0; AC_SUBST([REPLACE_PTHREAD_JOIN]) REPLACE_PTHREAD_EXIT=0; AC_SUBST([REPLACE_PTHREAD_EXIT]) REPLACE_PTHREAD_ONCE=0; AC_SUBST([REPLACE_PTHREAD_ONCE]) REPLACE_PTHREAD_MUTEX_INIT=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_INIT]) REPLACE_PTHREAD_MUTEXATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_INIT]) REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_GETTYPE]) REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_SETTYPE]) REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_GETROBUST]) REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_SETROBUST]) REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_DESTROY]) REPLACE_PTHREAD_MUTEX_LOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_LOCK]) REPLACE_PTHREAD_MUTEX_TRYLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_TRYLOCK]) REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_TIMEDLOCK]) REPLACE_PTHREAD_MUTEX_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_UNLOCK]) REPLACE_PTHREAD_MUTEX_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_DESTROY]) REPLACE_PTHREAD_RWLOCK_INIT=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_INIT]) REPLACE_PTHREAD_RWLOCKATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_RWLOCKATTR_INIT]) REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_RWLOCKATTR_DESTROY]) REPLACE_PTHREAD_RWLOCK_RDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_RDLOCK]) REPLACE_PTHREAD_RWLOCK_WRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_WRLOCK]) REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TRYRDLOCK]) REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TRYWRLOCK]) REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK]) REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK]) REPLACE_PTHREAD_RWLOCK_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_UNLOCK]) REPLACE_PTHREAD_RWLOCK_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_DESTROY]) REPLACE_PTHREAD_COND_INIT=0; AC_SUBST([REPLACE_PTHREAD_COND_INIT]) REPLACE_PTHREAD_CONDATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_CONDATTR_INIT]) REPLACE_PTHREAD_CONDATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_CONDATTR_DESTROY]) REPLACE_PTHREAD_COND_WAIT=0; AC_SUBST([REPLACE_PTHREAD_COND_WAIT]) REPLACE_PTHREAD_COND_TIMEDWAIT=0; AC_SUBST([REPLACE_PTHREAD_COND_TIMEDWAIT]) REPLACE_PTHREAD_COND_SIGNAL=0; AC_SUBST([REPLACE_PTHREAD_COND_SIGNAL]) REPLACE_PTHREAD_COND_BROADCAST=0; AC_SUBST([REPLACE_PTHREAD_COND_BROADCAST]) REPLACE_PTHREAD_COND_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_COND_DESTROY]) REPLACE_PTHREAD_KEY_CREATE=0; AC_SUBST([REPLACE_PTHREAD_KEY_CREATE]) REPLACE_PTHREAD_SETSPECIFIC=0; AC_SUBST([REPLACE_PTHREAD_SETSPECIFIC]) REPLACE_PTHREAD_GETSPECIFIC=0; AC_SUBST([REPLACE_PTHREAD_GETSPECIFIC]) REPLACE_PTHREAD_KEY_DELETE=0; AC_SUBST([REPLACE_PTHREAD_KEY_DELETE]) REPLACE_PTHREAD_SPIN_INIT=0; AC_SUBST([REPLACE_PTHREAD_SPIN_INIT]) REPLACE_PTHREAD_SPIN_LOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_LOCK]) REPLACE_PTHREAD_SPIN_TRYLOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_TRYLOCK]) REPLACE_PTHREAD_SPIN_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_UNLOCK]) REPLACE_PTHREAD_SPIN_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_SPIN_DESTROY]) ]) gsasl-1.8.1/m4/snprintf.m40000644000000000000000000000356713516251576012174 00000000000000# snprintf.m4 serial 7 dnl Copyright (C) 2002-2004, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Libintl 0.17 will replace snprintf only if it does not support %1$s, dnl but defers to any gnulib snprintf replacements. Therefore, gnulib dnl must guarantee that the decision for replacing snprintf is a superset dnl of the reasons checked by libintl. AC_DEFUN([gl_FUNC_SNPRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_cv_func_snprintf_usable=no AC_CHECK_FUNCS([snprintf]) if test $ac_cv_func_snprintf = yes; then gl_SNPRINTF_SIZE1 case "$gl_cv_func_snprintf_size1" in *yes) gl_SNPRINTF_RETVAL_C99 case "$gl_cv_func_snprintf_retval_c99" in *yes) gl_PRINTF_POSITIONS case "$gl_cv_func_printf_positions" in *yes) gl_cv_func_snprintf_usable=yes ;; esac ;; esac ;; esac fi if test $gl_cv_func_snprintf_usable = no; then gl_REPLACE_SNPRINTF fi AC_CHECK_DECLS_ONCE([snprintf]) if test $ac_cv_have_decl_snprintf = no; then HAVE_DECL_SNPRINTF=0 fi ]) AC_DEFUN([gl_REPLACE_SNPRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_LIBOBJ([snprintf]) if test $ac_cv_func_snprintf = yes; then REPLACE_SNPRINTF=1 else AC_CHECK_DECLS_ONCE([snprintf]) if test $ac_cv_have_decl_snprintf = yes; then dnl If the function is declared but does not appear to exist, it may be dnl defined as an inline function. In order to avoid a conflict, we have dnl to define rpl_snprintf, not snprintf. REPLACE_SNPRINTF=1 fi fi gl_PREREQ_SNPRINTF ]) # Prerequisites of lib/snprintf.c. AC_DEFUN([gl_PREREQ_SNPRINTF], [:]) gsasl-1.8.1/m4/limits-h.m40000644000000000000000000000244213516251573012043 00000000000000dnl Check whether limits.h has needed features. dnl Copyright 2016-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. AC_DEFUN_ONCE([gl_LIMITS_H], [ gl_CHECK_NEXT_HEADERS([limits.h]) AC_CACHE_CHECK([whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.], [gl_cv_header_limits_width], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include long long llm = LLONG_MAX; int wb = WORD_BIT; int ullw = ULLONG_WIDTH; ]])], [gl_cv_header_limits_width=yes], [gl_cv_header_limits_width=no])]) if test "$gl_cv_header_limits_width" = yes; then LIMITS_H= else LIMITS_H=limits.h fi AC_SUBST([LIMITS_H]) AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) ]) dnl Unconditionally enables the replacement of . AC_DEFUN([gl_REPLACE_LIMITS_H], [ AC_REQUIRE([gl_LIMITS_H]) LIMITS_H='limits.h' AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) ]) gsasl-1.8.1/m4/valgrind-tests.m40000644000000000000000000000240513516251576013265 00000000000000# valgrind-tests.m4 serial 4 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # gl_VALGRIND_TESTS() # ------------------- # Check if valgrind is available, and set VALGRIND to it if available. AC_DEFUN([gl_VALGRIND_TESTS], [ AC_ARG_ENABLE([valgrind-tests], AS_HELP_STRING([--disable-valgrind-tests], [don't try to run self tests under valgrind]), [opt_valgrind_tests=$enableval], [opt_valgrind_tests=yes]) # Run self-tests under valgrind? if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then AC_CHECK_PROGS([VALGRIND], [valgrind]) if test "$VALGRIND"; then AC_CACHE_CHECK([for valgrind options for tests], [gl_cv_opt_valgrind_tests], [gl_cv_opt_valgrind_tests="-q --error-exitcode=1 --leak-check=full" $VALGRIND $gl_valgrind_opts ls > /dev/null 2>&1 || gl_cv_opt_valgrind_tests=no]) if test "$gl_cv_opt_valgrind_tests" != no; then VALGRIND="$VALGRIND $gl_cv_opt_valgrind_tests" else VALGRIND= fi fi fi ]) gsasl-1.8.1/m4/mbtowc.m40000644000000000000000000000106313516251575011610 00000000000000# mbtowc.m4 serial 3 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_MBTOWC], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_CHECK_FUNCS([mbtowc]) if test $ac_cv_func_mbtowc = no; then HAVE_MBTOWC=0 else if false; then REPLACE_MBTOWC=1 fi fi ]) # Prerequisites of lib/mbtowc.c. AC_DEFUN([gl_PREREQ_MBTOWC], [ : ]) gsasl-1.8.1/m4/libunistring-base.m40000644000000000000000000001426013516251575013741 00000000000000# libunistring-base.m4 serial 5 dnl Copyright (C) 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paolo Bonzini and Bruno Haible. dnl gl_LIBUNISTRING_MODULE([VERSION], [Module]) dnl Declares that the source files of Module should be compiled, unless we dnl are linking with libunistring and its version is >= the given VERSION. dnl Defines an automake conditional LIBUNISTRING_COMPILE_$MODULE that is dnl true if the source files of Module should be compiled. dnl This macro is to be used for public libunistring API, not for dnl undocumented API. dnl dnl You have to bump the VERSION argument to the next projected version dnl number each time you make a change that affects the behaviour of the dnl functions defined in Module (even if the sources of Module itself do not dnl change). AC_DEFUN([gl_LIBUNISTRING_MODULE], [ AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE]) dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from dnl gl_LIBUNISTRING_CORE if that macro has been run. AM_CONDITIONAL(AS_TR_CPP([LIBUNISTRING_COMPILE_$2]), [gl_LIBUNISTRING_VERSION_CMP([$1])]) ]) dnl gl_LIBUNISTRING_LIBHEADER([VERSION], [HeaderFile]) dnl Declares that HeaderFile should be created, unless we are linking dnl with libunistring and its version is >= the given VERSION. dnl HeaderFile should be relative to the lib directory and end in '.h'. dnl Prepares for substituting LIBUNISTRING_HEADERFILE (to HeaderFile or empty). dnl dnl When we are linking with the already installed libunistring and its version dnl is < VERSION, we create HeaderFile here, because we may compile functions dnl (via gl_LIBUNISTRING_MODULE above) that are not contained in the installed dnl version. dnl When we are linking with the already installed libunistring and its version dnl is > VERSION, we don't create HeaderFile here: it could cause compilation dnl errors in other libunistring header files if some types are missing. dnl dnl You have to bump the VERSION argument to the next projected version dnl number each time you make a non-comment change to the HeaderFile. AC_DEFUN([gl_LIBUNISTRING_LIBHEADER], [ AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE]) dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from dnl gl_LIBUNISTRING_CORE if that macro has been run. if gl_LIBUNISTRING_VERSION_CMP([$1]); then LIBUNISTRING_[]AS_TR_CPP([$2])='$2' else LIBUNISTRING_[]AS_TR_CPP([$2])= fi AC_SUBST([LIBUNISTRING_]AS_TR_CPP([$2])) ]) dnl Miscellaneous preparations/initializations. AC_DEFUN([gl_LIBUNISTRING_LIB_PREPARE], [ dnl Ensure that HAVE_LIBUNISTRING is fully determined at this point. m4_ifdef([gl_LIBUNISTRING], [AC_REQUIRE([gl_LIBUNISTRING])]) AC_REQUIRE([AC_PROG_AWK]) dnl Sed expressions to extract the parts of a version number. changequote(,) gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' changequote([,]) if test "$HAVE_LIBUNISTRING" = yes; then LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"` LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"` LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"` fi ]) dnl gl_LIBUNISTRING_VERSION_CMP([VERSION]) dnl Expands to a shell statement that evaluates to true if LIBUNISTRING_VERSION dnl is less than the VERSION argument. AC_DEFUN([gl_LIBUNISTRING_VERSION_CMP], [ { test "$HAVE_LIBUNISTRING" != yes \ || { dnl AS_LITERAL_IF exists and works fine since autoconf-2.59 at least. AS_LITERAL_IF([$1], [dnl This is the optimized variant, that assumes the argument is a literal: m4_pushdef([requested_version_major], [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^\([0-9]*\).*], [\1]), [])]) m4_pushdef([requested_version_minor], [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.]\([0-9]*\).*], [\1]), [$1])]) m4_pushdef([requested_version_subminor], [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.][0-9]*[.]\([0-9]*\).*], [\1]), [$1])]) test $LIBUNISTRING_VERSION_MAJOR -lt requested_version_major \ || { test $LIBUNISTRING_VERSION_MAJOR -eq requested_version_major \ && { test $LIBUNISTRING_VERSION_MINOR -lt requested_version_minor \ || { test $LIBUNISTRING_VERSION_MINOR -eq requested_version_minor \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt requested_version_subminor } } } m4_popdef([requested_version_subminor]) m4_popdef([requested_version_minor]) m4_popdef([requested_version_major]) ], [dnl This is the unoptimized variant: requested_version_major=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_major"` requested_version_minor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_minor"` requested_version_subminor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_subminor"` test $LIBUNISTRING_VERSION_MAJOR -lt $requested_version_major \ || { test $LIBUNISTRING_VERSION_MAJOR -eq $requested_version_major \ && { test $LIBUNISTRING_VERSION_MINOR -lt $requested_version_minor \ || { test $LIBUNISTRING_VERSION_MINOR -eq $requested_version_minor \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt $requested_version_subminor } } } ]) } }]) dnl gl_LIBUNISTRING_ARG_OR_ZERO([ARG], [ORIG]) expands to ARG if it is not the dnl same as ORIG, otherwise to 0. m4_define([gl_LIBUNISTRING_ARG_OR_ZERO], [m4_if([$1], [$2], [0], [$1])]) gsasl-1.8.1/m4/socklen.m40000644000000000000000000000615713516251576011765 00000000000000# socklen.m4 serial 11 dnl Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Albert Chin, Windows fixes from Simon Josefsson. dnl Check for socklen_t: historically on BSD it is an int, and in dnl POSIX 1g it is a type of its own, but some platforms use different dnl types for the argument to getsockopt, getpeername, etc.: dnl HP-UX 10.20, IRIX 6.5, OSF/1 4.0, Interix 3.5, BeOS. dnl So we have to test to find something that will work. AC_DEFUN([gl_TYPE_SOCKLEN_T], [AC_REQUIRE([gl_CHECK_SOCKET_HEADERS])dnl AC_CHECK_TYPE([socklen_t], , [AC_CACHE_CHECK([for socklen_t equivalent], [gl_cv_socklen_t_equiv], [# Systems have either "struct sockaddr *" or # "void *" as the second argument to getpeername gl_cv_socklen_t_equiv= for arg2 in "struct sockaddr" void; do for t in int size_t "unsigned int" "long int" "unsigned long int"; do AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[#include #include int getpeername (int, $arg2 *, $t *);]], [[$t len; getpeername (0, 0, &len);]])], [gl_cv_socklen_t_equiv="$t"]) test "$gl_cv_socklen_t_equiv" != "" && break done test "$gl_cv_socklen_t_equiv" != "" && break done if test "$gl_cv_socklen_t_equiv" = ""; then AC_MSG_ERROR([Cannot find a type to use in place of socklen_t]) fi ]) AC_DEFINE_UNQUOTED([socklen_t], [$gl_cv_socklen_t_equiv], [type to use in place of socklen_t if not defined])], [gl_SOCKET_HEADERS])]) dnl On mingw32, socklen_t is in ws2tcpip.h ('int'), so we try to find dnl it there too. But on Cygwin, wc2tcpip.h must not be included. Users dnl of this module should use the same include pattern as gl_SOCKET_HEADERS. dnl When you change this macro, keep also in sync: dnl - gl_CHECK_SOCKET_HEADERS, dnl - the Include section of modules/socklen. AC_DEFUN([gl_SOCKET_HEADERS], [ /* is not needed according to POSIX, but the in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #if HAVE_SYS_SOCKET_H # include #elif HAVE_WS2TCPIP_H # include #endif ]) dnl Tests for the existence of the header for socket facilities. dnl Defines the C macros HAVE_SYS_SOCKET_H, HAVE_WS2TCPIP_H. dnl This macro must match gl_SOCKET_HEADERS. AC_DEFUN([gl_CHECK_SOCKET_HEADERS], [AC_CHECK_HEADERS_ONCE([sys/socket.h]) if test $ac_cv_header_sys_socket_h = no; then dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make dnl the check for those headers unconditional; yet cygwin reports dnl that the headers are present but cannot be compiled (since on dnl cygwin, all socket information should come from sys/socket.h). AC_CHECK_HEADERS([ws2tcpip.h]) fi ]) gsasl-1.8.1/m4/isblank.m40000644000000000000000000000103213516251573011732 00000000000000# isblank.m4 serial 3 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_ISBLANK], [ dnl Persuade glibc to declare isblank(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([isblank]) if test $ac_cv_func_isblank = no; then HAVE_ISBLANK=0 fi ]) gsasl-1.8.1/m4/stdlib_h.m40000644000000000000000000001513213516251576012110 00000000000000# stdlib_h.m4 serial 48 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_STDLIB_H], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) gl_NEXT_HEADERS([stdlib.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include #if HAVE_SYS_LOADAVG_H /* OpenIndiana has a bug: must be included before . */ # include # include #endif #if HAVE_RANDOM_H # include #endif ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt initstate initstate_r mbtowc mkdtemp mkostemp mkostemps mkstemp mkstemps posix_openpt ptsname ptsname_r qsort_r random random_r reallocarray realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtold strtoll strtoull unlockpt unsetenv]) ]) AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_STDLIB_H_DEFAULTS], [ GNULIB__EXIT=0; AC_SUBST([GNULIB__EXIT]) GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) GNULIB_MBTOWC=0; AC_SUBST([GNULIB_MBTOWC]) GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS]) GNULIB_POSIX_OPENPT=0; AC_SUBST([GNULIB_POSIX_OPENPT]) GNULIB_PTSNAME=0; AC_SUBST([GNULIB_PTSNAME]) GNULIB_PTSNAME_R=0; AC_SUBST([GNULIB_PTSNAME_R]) GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) GNULIB_QSORT_R=0; AC_SUBST([GNULIB_QSORT_R]) GNULIB_RANDOM=0; AC_SUBST([GNULIB_RANDOM]) GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) GNULIB_REALLOCARRAY=0; AC_SUBST([GNULIB_REALLOCARRAY]) GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH]) GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) GNULIB_SECURE_GETENV=0; AC_SUBST([GNULIB_SECURE_GETENV]) GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) GNULIB_STRTOLD=0; AC_SUBST([GNULIB_STRTOLD]) GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) HAVE_GRANTPT=1; AC_SUBST([HAVE_GRANTPT]) HAVE_INITSTATE=1; AC_SUBST([HAVE_INITSTATE]) HAVE_DECL_INITSTATE=1; AC_SUBST([HAVE_DECL_INITSTATE]) HAVE_MBTOWC=1; AC_SUBST([HAVE_MBTOWC]) HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP]) HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS]) HAVE_MKSTEMP=1; AC_SUBST([HAVE_MKSTEMP]) HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS]) HAVE_POSIX_OPENPT=1; AC_SUBST([HAVE_POSIX_OPENPT]) HAVE_PTSNAME=1; AC_SUBST([HAVE_PTSNAME]) HAVE_PTSNAME_R=1; AC_SUBST([HAVE_PTSNAME_R]) HAVE_QSORT_R=1; AC_SUBST([HAVE_QSORT_R]) HAVE_RANDOM=1; AC_SUBST([HAVE_RANDOM]) HAVE_RANDOM_H=1; AC_SUBST([HAVE_RANDOM_H]) HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) HAVE_REALLOCARRAY=1; AC_SUBST([HAVE_REALLOCARRAY]) HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH]) HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) HAVE_SECURE_GETENV=1; AC_SUBST([HAVE_SECURE_GETENV]) HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) HAVE_DECL_SETENV=1; AC_SUBST([HAVE_DECL_SETENV]) HAVE_SETSTATE=1; AC_SUBST([HAVE_SETSTATE]) HAVE_DECL_SETSTATE=1; AC_SUBST([HAVE_DECL_SETSTATE]) HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) HAVE_STRTOLD=1; AC_SUBST([HAVE_STRTOLD]) HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT]) HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV]) REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC]) REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) REPLACE_INITSTATE=0; AC_SUBST([REPLACE_INITSTATE]) REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC]) REPLACE_MBTOWC=0; AC_SUBST([REPLACE_MBTOWC]) REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) REPLACE_PTSNAME=0; AC_SUBST([REPLACE_PTSNAME]) REPLACE_PTSNAME_R=0; AC_SUBST([REPLACE_PTSNAME_R]) REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) REPLACE_QSORT_R=0; AC_SUBST([REPLACE_QSORT_R]) REPLACE_RANDOM=0; AC_SUBST([REPLACE_RANDOM]) REPLACE_RANDOM_R=0; AC_SUBST([REPLACE_RANDOM_R]) REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH]) REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) REPLACE_SETSTATE=0; AC_SUBST([REPLACE_SETSTATE]) REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) REPLACE_STRTOLD=0; AC_SUBST([REPLACE_STRTOLD]) REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB]) ]) gsasl-1.8.1/m4/locale_h.m40000644000000000000000000001104113516251575012060 00000000000000# locale_h.m4 serial 21 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_LOCALE_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) dnl Persuade glibc to define locale_t and the int_p_*, int_n_* dnl members of 'struct lconv'. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl If is replaced, then must also be replaced. AC_REQUIRE([gl_STDDEF_H]) dnl Solaris 11.0 defines the int_p_*, int_n_* members of 'struct lconv' dnl only if _LCONV_C99 is defined. AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in solaris*) AC_DEFINE([_LCONV_C99], [1], [Define to 1 on Solaris.]) ;; esac AC_CACHE_CHECK([whether locale.h conforms to POSIX:2001], [gl_cv_header_locale_h_posix2001], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = LC_MESSAGES; int y = sizeof (((struct lconv *) 0)->decimal_point);]], [[]])], [gl_cv_header_locale_h_posix2001=yes], [gl_cv_header_locale_h_posix2001=no])]) dnl Check for . AC_CHECK_HEADERS_ONCE([xlocale.h]) if test $ac_cv_header_xlocale_h = yes; then HAVE_XLOCALE_H=1 dnl Check whether use of locale_t requires inclusion of , dnl e.g. on Mac OS X 10.5. If does not define locale_t by dnl itself, we assume that will do so. AC_CACHE_CHECK([whether locale.h defines locale_t], [gl_cv_header_locale_has_locale_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include locale_t x;]], [[]])], [gl_cv_header_locale_has_locale_t=yes], [gl_cv_header_locale_has_locale_t=no]) ]) if test $gl_cv_header_locale_has_locale_t = yes; then gl_cv_header_locale_h_needs_xlocale_h=no else gl_cv_header_locale_h_needs_xlocale_h=yes fi else HAVE_XLOCALE_H=0 gl_cv_header_locale_h_needs_xlocale_h=no fi AC_SUBST([HAVE_XLOCALE_H]) dnl Check whether 'struct lconv' is complete. dnl Bionic libc's 'struct lconv' is just a dummy. dnl On OpenBSD 4.9, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.5.x, dnl mingw, MSVC 9, it lacks the int_p_* and int_n_* members. AC_CACHE_CHECK([whether struct lconv is properly defined], [gl_cv_sys_struct_lconv_ok], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include struct lconv l; int x = sizeof (l.decimal_point); int y = sizeof (l.int_p_cs_precedes);]], [[]])], [gl_cv_sys_struct_lconv_ok=yes], [gl_cv_sys_struct_lconv_ok=no]) ]) if test $gl_cv_sys_struct_lconv_ok = no; then REPLACE_STRUCT_LCONV=1 fi dnl is always overridden, because of GNULIB_POSIXCHECK. gl_NEXT_HEADERS([locale.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include /* Some systems provide declarations in a non-standard header. */ #if HAVE_XLOCALE_H # include #endif ]], [setlocale newlocale duplocale freelocale]) ]) AC_DEFUN([gl_LOCALE_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_LOCALE_H_DEFAULTS], [ GNULIB_LOCALECONV=0; AC_SUBST([GNULIB_LOCALECONV]) GNULIB_SETLOCALE=0; AC_SUBST([GNULIB_SETLOCALE]) GNULIB_DUPLOCALE=0; AC_SUBST([GNULIB_DUPLOCALE]) GNULIB_LOCALENAME=0; AC_SUBST([GNULIB_LOCALENAME]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_NEWLOCALE=1; AC_SUBST([HAVE_NEWLOCALE]) HAVE_DUPLOCALE=1; AC_SUBST([HAVE_DUPLOCALE]) HAVE_FREELOCALE=1; AC_SUBST([HAVE_FREELOCALE]) REPLACE_LOCALECONV=0; AC_SUBST([REPLACE_LOCALECONV]) REPLACE_SETLOCALE=0; AC_SUBST([REPLACE_SETLOCALE]) REPLACE_NEWLOCALE=0; AC_SUBST([REPLACE_NEWLOCALE]) REPLACE_DUPLOCALE=0; AC_SUBST([REPLACE_DUPLOCALE]) REPLACE_FREELOCALE=0; AC_SUBST([REPLACE_FREELOCALE]) REPLACE_STRUCT_LCONV=0; AC_SUBST([REPLACE_STRUCT_LCONV]) ]) gsasl-1.8.1/m4/stdbool.m40000644000000000000000000000671613516251576011776 00000000000000# Check for stdbool.h that conforms to C99. dnl Copyright (C) 2002-2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. #serial 7 # Prepare for substituting if it is not supported. AC_DEFUN([AM_STDBOOL_H], [ AC_REQUIRE([AC_CHECK_HEADER_STDBOOL]) # Define two additional variables used in the Makefile substitution. if test "$ac_cv_header_stdbool_h" = yes; then STDBOOL_H='' else STDBOOL_H='stdbool.h' fi AC_SUBST([STDBOOL_H]) AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"]) if test "$ac_cv_type__Bool" = yes; then HAVE__BOOL=1 else HAVE__BOOL=0 fi AC_SUBST([HAVE__BOOL]) ]) # AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future. AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H]) # This version of the macro is needed in autoconf <= 2.68. AC_DEFUN([AC_CHECK_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99], [ac_cv_header_stdbool_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #ifdef __cplusplus typedef bool Bool; #else typedef _Bool Bool; #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif struct s { Bool s: 1; Bool t; bool u: 1; bool v; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; char d[(bool) 0.5 == true ? 1 : -1]; /* See body of main program for 'e'. */ char f[(Bool) 0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (Bool)]; char i[sizeof s.t]; enum { j = false, k = true, l = false * true, m = true * 256 }; /* The following fails for HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ Bool q = true; Bool *pq = &q; bool *qq = &q; ]], [[ bool e = &s; *pq |= q; *pq |= ! q; *qq |= q; *qq |= ! q; /* Refer to every declared value, to avoid compiler optimizations. */ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + !m + !n + !o + !p + !q + !pq + !qq); ]])], [ac_cv_header_stdbool_h=yes], [ac_cv_header_stdbool_h=no])]) AC_CHECK_TYPES([_Bool]) ]) gsasl-1.8.1/m4/threadlib.m40000644000000000000000000003357513516251576012271 00000000000000# threadlib.m4 serial 20 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.60]) dnl gl_THREADLIB dnl ------------ dnl Tests for a multithreading library to be used. dnl If the configure.ac contains a definition of the gl_THREADLIB_DEFAULT_NO dnl (it must be placed before the invocation of gl_THREADLIB_EARLY!), then the dnl default is 'no', otherwise it is system dependent. In both cases, the user dnl can change the choice through the options --enable-threads=choice or dnl --disable-threads. dnl Defines at most one of the macros USE_POSIX_THREADS, USE_WINDOWS_THREADS. dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with dnl libtool). dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for dnl programs that really need multithread functionality. The difference dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak dnl symbols, typically LIBTHREAD is empty whereas LIBMULTITHREAD is not. dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for dnl multithread-safe programs. dnl Since support for GNU pth was removed, $LTLIBTHREAD and $LIBTHREAD have the dnl same value, and similarly $LTLIBMULTITHREAD and $LIBMULTITHREAD have the dnl same value. Only system libraries are needed. AC_DEFUN([gl_THREADLIB_EARLY], [ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) ]) dnl The guts of gl_THREADLIB_EARLY. Needs to be expanded only once. AC_DEFUN([gl_THREADLIB_EARLY_BODY], [ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that dnl influences the result of the autoconf tests that test for *_unlocked dnl declarations, on AIX 5 at least. Therefore it must come early. AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl AC_BEFORE([$0], [gl_ARGP])dnl AC_REQUIRE([AC_CANONICAL_HOST]) dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl Check for multithreading. m4_ifdef([gl_THREADLIB_DEFAULT_NO], [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])], [m4_divert_text([DEFAULTS], [gl_use_threads_default=])]) m4_divert_text([DEFAULTS], [gl_use_winpthreads_default=]) AC_ARG_ENABLE([threads], AC_HELP_STRING([--enable-threads={posix|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [ AC_HELP_STRING([--disable-threads], [build without multithread safety])]), [gl_use_threads=$enableval], [if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else changequote(,)dnl case "$host_os" in dnl Disable multithreading by default on OSF/1, because it interferes dnl with fork()/exec(): When msgexec is linked with -lpthread, its dnl child process gets an endless segmentation fault inside execvp(). osf*) gl_use_threads=no ;; dnl Disable multithreading by default on Cygwin 1.5.x, because it has dnl bugs that lead to endless loops or crashes. See dnl . cygwin*) case `uname -r` in 1.[0-5].*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac ;; dnl Obey gl_AVOID_WINPTHREAD on mingw. mingw*) case "$gl_use_winpthreads_default" in yes) gl_use_threads=posix ;; no) gl_use_threads=windows ;; *) gl_use_threads=yes ;; esac ;; *) gl_use_threads=yes ;; esac changequote([,])dnl fi ]) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # For using : case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_LINK_IFELSE test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac fi ]) dnl The guts of gl_THREADLIB. Needs to be expanded only once. AC_DEFUN([gl_THREADLIB_BODY], [ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then dnl Check whether the compiler and linker support weak declarations. AC_CACHE_CHECK([whether imported symbols can be declared weak], [gl_cv_have_weak], [gl_cv_have_weak=no dnl First, test whether the compiler accepts it syntactically. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[extern void xyzzy (); #pragma weak xyzzy]], [[xyzzy();]])], [gl_cv_have_weak=maybe]) if test $gl_cv_have_weak = maybe; then dnl Second, test whether it actually works. On Cygwin 1.7.2, with dnl gcc 4.3, symbols declared weak always evaluate to the address 0. AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #pragma weak fputs int main () { return (fputs == NULL); }]])], [gl_cv_have_weak=yes], [gl_cv_have_weak=no], [dnl When cross-compiling, assume that only ELF platforms support dnl weak symbols. AC_EGREP_CPP([Extensible Linking Format], [#ifdef __ELF__ Extensible Linking Format #endif ], [gl_cv_have_weak="guessing yes"], [gl_cv_have_weak="guessing no"]) ]) fi dnl But when linking statically, weak symbols don't work. case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac ]) if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then dnl If we use weak symbols to implement pthread_in_use / pth_in_use / dnl thread_in_use, we also need to test whether the ISO C 11 thrd_create dnl facility is in use. AC_CHECK_HEADERS_ONCE([threads.h]) : fi if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. AC_CHECK_HEADER([pthread.h], [gl_have_pthread_h=yes], [gl_have_pthread_h=no]) if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads gl_have_pthread= # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html save_LIBS=$LIBS for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include pthread_mutex_t m; pthread_mutexattr_t ma; ]], [[pthread_mutex_lock (&m); pthread_mutexattr_init (&ma);]])], [gl_have_pthread=yes LIBTHREAD=$gl_pthread LTLIBTHREAD=$gl_pthread LIBMULTITHREAD=$gl_pthread LTLIBMULTITHREAD=$gl_pthread]) LIBS=$save_LIBS test -n "$gl_have_pthread" && break done # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test -n "$gl_have_pthread" && test -z "$LIBTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. AC_CHECK_LIB([pthread], [pthread_kill], [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], [Define if the pthread_in_use() detection is hard.]) esac ]) elif test -z "$gl_have_pthread"; then # Some library is needed. Try libpthread and libc_r. AC_CHECK_LIB([pthread], [pthread_kill], [gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) if test -z "$gl_have_pthread"; then # For FreeBSD 4. AC_CHECK_LIB([c_r], [pthread_kill], [gl_have_pthread=yes LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) fi fi if test -n "$gl_have_pthread"; then gl_threads_api=posix AC_DEFINE([USE_POSIX_THREADS], [1], [Define if the POSIX multithreading library can be used.]) if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], [Define if references to the POSIX multithreading library should be made weak.]) LIBTHREAD= LTLIBTHREAD= fi fi fi fi fi if test -z "$gl_have_pthread"; then case "$gl_use_threads" in yes | windows | win32) # The 'win32' is for backward compatibility. if { case "$host_os" in mingw*) true;; *) false;; esac }; then gl_threads_api=windows AC_DEFINE([USE_WINDOWS_THREADS], [1], [Define if the native Windows multithreading API can be used.]) fi ;; esac fi fi AC_MSG_CHECKING([for multithread API to use]) AC_MSG_RESULT([$gl_threads_api]) AC_SUBST([LIBTHREAD]) AC_SUBST([LTLIBTHREAD]) AC_SUBST([LIBMULTITHREAD]) AC_SUBST([LTLIBMULTITHREAD]) ]) AC_DEFUN([gl_THREADLIB], [ AC_REQUIRE([gl_THREADLIB_EARLY]) AC_REQUIRE([gl_THREADLIB_BODY]) ]) dnl gl_DISABLE_THREADS dnl ------------------ dnl Sets the gl_THREADLIB default so that threads are not used by default. dnl The user can still override it at installation time, by using the dnl configure option '--enable-threads'. AC_DEFUN([gl_DISABLE_THREADS], [ m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no]) ]) dnl gl_AVOID_WINPTHREAD dnl ------------------- dnl Sets the gl_THREADLIB default so that on mingw, a dependency to the dnl libwinpthread DLL (mingw-w64 winpthreads library) is avoided. dnl The user can still override it at installation time, by using the dnl configure option '--enable-threads'. AC_DEFUN([gl_AVOID_WINPTHREAD], [ m4_divert_text([INIT_PREPARE], [gl_use_winpthreads_default=no]) ]) dnl Survey of platforms: dnl dnl Platform Available Compiler Supports test-lock dnl flavours option weak result dnl --------------- --------- --------- -------- --------- dnl Linux 2.4/glibc posix -lpthread Y OK dnl dnl GNU Hurd/glibc posix dnl dnl Ubuntu 14.04 posix -pthread Y OK dnl dnl FreeBSD 5.3 posix -lc_r Y dnl posix -lkse ? Y dnl posix -lpthread ? Y dnl posix -lthr Y dnl dnl FreeBSD 5.2 posix -lc_r Y dnl posix -lkse Y dnl posix -lthr Y dnl dnl FreeBSD 4.0,4.10 posix -lc_r Y OK dnl dnl NetBSD 1.6 -- dnl dnl OpenBSD 3.4 posix -lpthread Y OK dnl dnl Mac OS X 10.[123] posix -lpthread Y OK dnl dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK dnl dnl HP-UX 11 posix -lpthread N (cc) OK dnl Y (gcc) dnl dnl IRIX 6.5 posix -lpthread Y 0.5 dnl dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK dnl dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK dnl -lpthread (gcc) Y dnl dnl Cygwin posix -lpthread Y OK dnl dnl Mingw windows N OK dnl dnl BeOS 5 -- dnl dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is dnl turned off: dnl OK if all three tests terminate OK, dnl 0.5 if the first test terminates OK but the second one loops endlessly, dnl 0.0 if the first test already loops endlessly. gsasl-1.8.1/m4/stat-time.m40000644000000000000000000000605713516251573012232 00000000000000# Checks for stat-related time functions. # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2019 Free Software # Foundation, Inc. # 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. dnl From Paul Eggert. # st_atim.tv_nsec - Linux, Solaris, Cygwin # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1) # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway) # st_birthtim - Cygwin 1.7.0+ AC_DEFUN([gl_STAT_TIME], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec], [AC_CACHE_CHECK([whether struct stat.st_atim is of type struct timespec], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[ #include #include #if HAVE_SYS_TIME_H # include #endif #include struct timespec ts; struct stat st; ]], [[ st.st_atim = ts; ]])], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no])]) if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then AC_DEFINE([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC], [1], [Define to 1 if the type of the st_atim member of a struct stat is struct timespec.]) fi], [AC_CHECK_MEMBERS([struct stat.st_atimespec.tv_nsec], [], [AC_CHECK_MEMBERS([struct stat.st_atimensec], [], [AC_CHECK_MEMBERS([struct stat.st_atim.st__tim.tv_nsec], [], [], [#include #include ])], [#include #include ])], [#include #include ])], [#include #include ]) ]) # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.) # and NTFS (Cygwin). # There was a time when this field was named st_createtime (21 June # 2002 to 16 July 2002) But that window is very small and applied only # to development code, so systems still using that configuration are # not supported. See revisions 1.10 and 1.11 of FreeBSD's # src/sys/ufs/ufs/dinode.h. # AC_DEFUN([gl_STAT_BIRTHTIME], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CHECK_MEMBERS([struct stat.st_birthtimespec.tv_nsec], [], [AC_CHECK_MEMBERS([struct stat.st_birthtimensec], [], [AC_CHECK_MEMBERS([struct stat.st_birthtim.tv_nsec], [], [], [#include #include ])], [#include #include ])], [#include #include ]) ]) gsasl-1.8.1/m4/getline.m40000644000000000000000000000636113516251575011752 00000000000000# getline.m4 serial 29 dnl Copyright (C) 1998-2003, 2005-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.59]) dnl See if there's a working, system-supplied version of the getline function. dnl We can't just do AC_REPLACE_FUNCS([getline]) because some systems dnl have a function by that name in -linet that doesn't have anything dnl to do with the function we need. AC_DEFUN([gl_FUNC_GETLINE], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare getline(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([getline]) gl_getline_needs_run_time_check=no AC_CHECK_FUNC([getline], [dnl Found it in some library. Verify that it works. gl_getline_needs_run_time_check=yes], [am_cv_func_working_getline=no]) if test $gl_getline_needs_run_time_check = yes; then AC_CACHE_CHECK([for working getline function], [am_cv_func_working_getline], [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data AC_RUN_IFELSE([AC_LANG_SOURCE([[ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getline (&line, &siz, in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } free (line); } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getline (&line, &siz, in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } ]])], [am_cv_func_working_getline=yes], [am_cv_func_working_getline=no], [dnl We're cross compiling. dnl Guess it works on glibc2 systems and musl systems. AC_EGREP_CPP([Lucky GNU user], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif ], [am_cv_func_working_getline="guessing yes"], [case "$host_os" in *-musl*) am_cv_func_working_getline="guessing yes" ;; *) am_cv_func_working_getline="guessing no" ;; esac ]) ]) ]) fi if test $ac_cv_have_decl_getline = no; then HAVE_DECL_GETLINE=0 fi case "$am_cv_func_working_getline" in *yes) ;; *) dnl Set REPLACE_GETLINE always: Even if we have not found the broken dnl getline function among $LIBS, it may exist in libinet and the dnl executable may be linked with -linet. REPLACE_GETLINE=1 ;; esac ]) # Prerequisites of lib/getline.c. AC_DEFUN([gl_PREREQ_GETLINE], [ : ]) gsasl-1.8.1/m4/warn-on-use.m40000644000000000000000000000435413516251576012477 00000000000000# warn-on-use.m4 serial 6 dnl Copyright (C) 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # gl_WARN_ON_USE_PREPARE(INCLUDES, NAMES) # --------------------------------------- # If the module 'posixcheck' is in use: # # For each whitespace-separated element in the list of NAMES, define # HAVE_RAW_DECL_name if the function has a declaration among INCLUDES # even after being undefined as a macro. # # See warn-on-use.h for some hints on how to poison function names, as # well as ideas on poisoning global variables and macros. NAMES may # include global variables, but remember that only functions work with # _GL_WARN_ON_USE. Typically, INCLUDES only needs to list a single # header, but if the replacement header pulls in other headers because # some systems declare functions in the wrong header, then INCLUDES # should do likewise. # # It is generally safe to assume declarations for functions declared # in the intersection of C89 and C11 (such as printf) without # needing gl_WARN_ON_USE_PREPARE. AC_DEFUN([gl_WARN_ON_USE_PREPARE], [ m4_ifdef([gl_POSIXCHECK], [m4_foreach_w([gl_decl], [$2], [AH_TEMPLATE([HAVE_RAW_DECL_]AS_TR_CPP(m4_defn([gl_decl])), [Define to 1 if ]m4_defn([gl_decl])[ is declared even after undefining macros.])])dnl dnl FIXME: gl_Symbol must be used unquoted until we can assume dnl autoconf 2.64 or newer. for gl_func in m4_flatten([$2]); do AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl AC_CACHE_CHECK([whether $gl_func is declared without a macro], gl_Symbol, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$1], [@%:@undef $gl_func (void) $gl_func;])], [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])]) AS_VAR_IF(gl_Symbol, [yes], [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1]) dnl shortcut - if the raw declaration exists, then set a cache dnl variable to allow skipping any later AC_CHECK_DECL efforts eval ac_cv_have_decl_$gl_func=yes]) AS_VAR_POPDEF([gl_Symbol])dnl done ]) ]) gsasl-1.8.1/m4/sys_select_h.m40000644000000000000000000000671613516251576013014 00000000000000# sys_select_h.m4 serial 20 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_SYS_SELECT], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_select_h_selfcontained], [ dnl Test against two bugs: dnl 1. On many platforms, assumes prior inclusion of dnl . dnl 2. On OSF/1 4.0, provides only a forward declaration dnl of 'struct timeval', and no definition of this type. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[struct timeval b;]])], [gl_cv_header_sys_select_h_selfcontained=yes], [gl_cv_header_sys_select_h_selfcontained=no]) dnl Test against another bug: dnl 3. On Solaris 10, provides an FD_ZERO implementation dnl that relies on memset(), but without including . if test $gl_cv_header_sys_select_h_selfcontained = yes; then AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[int memset; int bzero;]]) ], [AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[ #undef memset #define memset nonexistent_memset extern #ifdef __cplusplus "C" #endif void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero extern #ifdef __cplusplus "C" #endif void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); ]]) ], [], [gl_cv_header_sys_select_h_selfcontained=no]) ]) fi ]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/select.h]) if test $ac_cv_header_sys_select_h = yes; then HAVE_SYS_SELECT_H=1 else HAVE_SYS_SELECT_H=0 fi AC_SUBST([HAVE_SYS_SELECT_H]) gl_PREREQ_SYS_H_WINSOCK2 dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Some systems require prerequisite headers. */ #include #if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H # include #endif #include ]], [pselect select]) ]) AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_SELECT_H_DEFAULTS], [ GNULIB_PSELECT=0; AC_SUBST([GNULIB_PSELECT]) GNULIB_SELECT=0; AC_SUBST([GNULIB_SELECT]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_PSELECT=1; AC_SUBST([HAVE_PSELECT]) REPLACE_PSELECT=0; AC_SUBST([REPLACE_PSELECT]) REPLACE_SELECT=0; AC_SUBST([REPLACE_SELECT]) ]) gsasl-1.8.1/m4/usleep.m40000644000000000000000000000372613516251573011620 00000000000000# usleep.m4 serial 6 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This macro intentionally does not check for select or nanosleep; dnl both of those modules can require external libraries. AC_DEFUN([gl_FUNC_USLEEP], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl usleep was required in POSIX 2001, but dropped as obsolete in dnl POSIX 2008; therefore, it is not always exposed in headers. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([usleep]) AC_CHECK_TYPE([useconds_t], [], [AC_DEFINE([useconds_t], [unsigned int], [Define to an unsigned 32-bit type if lacks this type.])]) if test $ac_cv_func_usleep = no; then HAVE_USLEEP=0 else dnl POSIX allows implementations to reject arguments larger than dnl 999999, but GNU guarantees it will work. AC_CACHE_CHECK([whether usleep allows large arguments], [gl_cv_func_usleep_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include ]], [[return !!usleep (1000000);]])], [gl_cv_func_usleep_works=yes], [gl_cv_func_usleep_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_usleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_usleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_usleep_works="guessing no" ;; esac ])]) case "$gl_cv_func_usleep_works" in *yes) ;; *) REPLACE_USLEEP=1 ;; esac fi ]) gsasl-1.8.1/m4/nocrash.m40000644000000000000000000001055313516251575011756 00000000000000# nocrash.m4 serial 5 dnl Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Based on libsigsegv, from Bruno Haible and Paolo Bonzini. AC_PREREQ([2.13]) dnl Expands to some code for use in .c programs that will cause the configure dnl test to exit instead of crashing. This is useful to avoid triggering dnl action from a background debugger and to avoid core dumps. dnl Usage: ... dnl ]GL_NOCRASH[ dnl ... dnl int main() { nocrash_init(); ... } AC_DEFUN([GL_NOCRASH],[[ #include #if defined __MACH__ && defined __APPLE__ /* Avoid a crash on Mac OS X. */ #include #include #include #include #include #include /* The exception port on which our thread listens. */ static mach_port_t our_exception_port; /* The main function of the thread listening for exceptions of type EXC_BAD_ACCESS. */ static void * mach_exception_thread (void *arg) { /* Buffer for a message to be received. */ struct { mach_msg_header_t head; mach_msg_body_t msgh_body; char data[1024]; } msg; mach_msg_return_t retval; /* Wait for a message on the exception port. */ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); if (retval != MACH_MSG_SUCCESS) abort (); exit (1); } static void nocrash_init (void) { mach_port_t self = mach_task_self (); /* Allocate a port on which the thread shall listen for exceptions. */ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) == KERN_SUCCESS) { /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ if (mach_port_insert_right (self, our_exception_port, our_exception_port, MACH_MSG_TYPE_MAKE_SEND) == KERN_SUCCESS) { /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting for us. */ exception_mask_t mask = EXC_MASK_BAD_ACCESS; /* Create the thread listening on the exception port. */ pthread_attr_t attr; pthread_t thread; if (pthread_attr_init (&attr) == 0 && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { pthread_attr_destroy (&attr); /* Replace the exception port info for these exceptions with our own. Note that we replace the exception port for the entire task, not only for a particular thread. This has the effect that when our exception port gets the message, the thread specific exception port has already been asked, and we don't need to bother about it. See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ task_set_exception_ports (self, mask, our_exception_port, EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); } } } } #elif defined _WIN32 && ! defined __CYGWIN__ /* Avoid a crash on native Windows. */ #define WIN32_LEAN_AND_MEAN #include #include static LONG WINAPI exception_filter (EXCEPTION_POINTERS *ExceptionInfo) { switch (ExceptionInfo->ExceptionRecord->ExceptionCode) { case EXCEPTION_ACCESS_VIOLATION: case EXCEPTION_IN_PAGE_ERROR: case EXCEPTION_STACK_OVERFLOW: case EXCEPTION_GUARD_PAGE: case EXCEPTION_PRIV_INSTRUCTION: case EXCEPTION_ILLEGAL_INSTRUCTION: case EXCEPTION_DATATYPE_MISALIGNMENT: case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: case EXCEPTION_NONCONTINUABLE_EXCEPTION: exit (1); } return EXCEPTION_CONTINUE_SEARCH; } static void nocrash_init (void) { SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); } #else /* Avoid a crash on POSIX systems. */ #include #include /* A POSIX signal handler. */ static void exception_handler (int sig) { _exit (1); } static void nocrash_init (void) { #ifdef SIGSEGV signal (SIGSEGV, exception_handler); #endif #ifdef SIGBUS signal (SIGBUS, exception_handler); #endif } #endif ]]) gsasl-1.8.1/m4/locale-zh.m40000644000000000000000000001265613516251575012205 00000000000000# locale-zh.m4 serial 14 dnl Copyright (C) 2003, 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Determine the name of a chinese locale with GB18030 encoding. AC_DEFUN([gt_LOCALE_ZH_CN], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a transitional chinese locale], [gt_cv_locale_zh_CN], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([ changequote(,)dnl #include #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } /* Check whether a typical GB18030 multibyte sequence is recognized as a single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; return 0; #endif } changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" as "Japanese" or "Japanese_Japan.932", # and similar. mingw*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=Chinese_China.54936 else # None found. gt_cv_locale_zh_CN=none fi ;; solaris2.8) # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. gt_cv_locale_zh_CN=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name without encoding suffix. if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN else # Test for the locale name with explicit encoding suffix. if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN.GB18030 else # None found. gt_cv_locale_zh_CN=none fi fi ;; esac else # If there was a link error, due to mblen(), the system is so old that # it certainly doesn't have a chinese locale. gt_cv_locale_zh_CN=none fi rm -fr conftest* ]) LOCALE_ZH_CN=$gt_cv_locale_zh_CN AC_SUBST([LOCALE_ZH_CN]) ]) gsasl-1.8.1/m4/sockets.m40000644000000000000000000000070713516251576011775 00000000000000# sockets.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SOCKETS], [ AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gl_SOCKETLIB]) gl_PREREQ_SOCKETS ]) # Prerequisites of lib/sockets.c. AC_DEFUN([gl_PREREQ_SOCKETS], [ : ]) gsasl-1.8.1/m4/ssize_t.m40000644000000000000000000000146313516251576012002 00000000000000# ssize_t.m4 serial 5 (gettext-0.18.2) dnl Copyright (C) 2001-2003, 2006, 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Test whether ssize_t is defined. AC_DEFUN([gt_TYPE_SSIZE_T], [ AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x;]])], [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])]) if test $gt_cv_ssize_t = no; then AC_DEFINE([ssize_t], [int], [Define as a signed type of the same size as size_t.]) fi ]) gsasl-1.8.1/m4/autobuild.m40000644000000000000000000000201013516251575012276 00000000000000# autobuild.m4 serial 7 dnl Copyright (C) 2004, 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # Usage: AB_INIT([MODE]). AC_DEFUN([AB_INIT], [ AC_REQUIRE([AC_CANONICAL_BUILD]) AC_REQUIRE([AC_CANONICAL_HOST]) if test -z "$AB_PACKAGE"; then AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE} fi AC_MSG_NOTICE([autobuild project... $AB_PACKAGE]) if test -z "$AB_VERSION"; then AB_VERSION=${PACKAGE_VERSION:-$VERSION} fi AC_MSG_NOTICE([autobuild revision... $AB_VERSION]) hostname=`hostname` if test "$hostname"; then AC_MSG_NOTICE([autobuild hostname... $hostname]) fi ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])]) date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ` if test "$?" != 0; then date=`date` fi if test "$date"; then AC_MSG_NOTICE([autobuild timestamp... $date]) fi ]) gsasl-1.8.1/m4/mode_t.m40000644000000000000000000000234213516251575011565 00000000000000# mode_t.m4 serial 2 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # For using mode_t, it's sufficient to use AC_TYPE_MODE_T and # include . # Define PROMOTED_MODE_T to the type that is the result of "default argument # promotion" (ISO C 6.5.2.2.(6)) of the type mode_t. AC_DEFUN([gl_PROMOTED_TYPE_MODE_T], [ AC_REQUIRE([AC_TYPE_MODE_T]) AC_CACHE_CHECK([for promoted mode_t type], [gl_cv_promoted_mode_t], [ dnl Assume mode_t promotes to 'int' if and only if it is smaller than 'int', dnl and to itself otherwise. This assumption is not guaranteed by the ISO C dnl standard, but we don't know of any real-world counterexamples. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];]])], [gl_cv_promoted_mode_t='int'], [gl_cv_promoted_mode_t='mode_t']) ]) AC_DEFINE_UNQUOTED([PROMOTED_MODE_T], [$gl_cv_promoted_mode_t], [Define to the type that is the result of default argument promotions of type mode_t.]) ]) gsasl-1.8.1/m4/version-etc.m40000644000000000000000000000222613516251576012556 00000000000000# version-etc.m4 serial 1 # Copyright (C) 2009-2019 Free Software Foundation, Inc. # 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. dnl $1 - configure flag and define name dnl $2 - human readable description m4_define([gl_VERSION_ETC_FLAG], [dnl AC_ARG_WITH([$1], [AS_HELP_STRING([--with-$1], [$2])], [dnl case $withval in yes|no) ;; *) AC_DEFINE_UNQUOTED(AS_TR_CPP([PACKAGE_$1]), ["$withval"], [$2]) ;; esac ]) ]) AC_DEFUN([gl_VERSION_ETC], [dnl gl_VERSION_ETC_FLAG([packager], [String identifying the packager of this software]) gl_VERSION_ETC_FLAG([packager-version], [Packager-specific version information]) gl_VERSION_ETC_FLAG([packager-bug-reports], [Packager info for bug reports (URL/e-mail/...)]) if test "X$with_packager" = "X" && \ test "X$with_packager_version$with_packager_bug_reports" != "X" then AC_MSG_ERROR([The --with-packager-{bug-reports,version} options require --with-packager]) fi ]) gsasl-1.8.1/m4/libtool.m40000644000000000000000000112640013521017121011744 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 cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru 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[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _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=cru} _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' ;; # 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 gsasl-1.8.1/m4/vasnprintf.m40000644000000000000000000002113313516251576012510 00000000000000# vasnprintf.m4 serial 36 dnl Copyright (C) 2002-2004, 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_VASNPRINTF], [ AC_CHECK_FUNCS_ONCE([vasnprintf]) if test $ac_cv_func_vasnprintf = no; then gl_REPLACE_VASNPRINTF fi ]) AC_DEFUN([gl_REPLACE_VASNPRINTF], [ AC_CHECK_FUNCS_ONCE([vasnprintf]) AC_LIBOBJ([vasnprintf]) AC_LIBOBJ([printf-args]) AC_LIBOBJ([printf-parse]) AC_LIBOBJ([asnprintf]) if test $ac_cv_func_vasnprintf = yes; then AC_DEFINE([REPLACE_VASNPRINTF], [1], [Define if vasnprintf exists but is overridden by gnulib.]) fi gl_PREREQ_PRINTF_ARGS gl_PREREQ_PRINTF_PARSE gl_PREREQ_VASNPRINTF gl_PREREQ_ASNPRINTF ]) # Prerequisites of lib/printf-args.h, lib/printf-args.c. AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) ]) # Prerequisites of lib/printf-parse.h, lib/printf-parse.c. AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [ AC_REQUIRE([gl_FEATURES_H]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_REQUIRE([AC_TYPE_SIZE_T]) AC_CHECK_TYPE([ptrdiff_t], , [AC_DEFINE([ptrdiff_t], [long], [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ]) AC_REQUIRE([gt_AC_TYPE_INTMAX_T]) ]) # Prerequisites of lib/vasnprintf.c. AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). AC_CHECK_DECLS([_snprintf], , , [[#include ]]) dnl Knowing DBL_EXPBIT0_WORD and DBL_EXPBIT0_BIT enables an optimization dnl in the code for NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE. AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) dnl We can avoid a lot of code by assuming that snprintf's return value dnl conforms to ISO C99. So check that. AC_REQUIRE([gl_SNPRINTF_RETVAL_C99]) case "$gl_cv_func_snprintf_retval_c99" in *yes) AC_DEFINE([HAVE_SNPRINTF_RETVAL_C99], [1], [Define if the return value of the snprintf function is the number of of bytes (excluding the terminating NUL) that would have been produced if the buffer had been large enough.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting 'long double' # arguments. AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) case "$gl_cv_func_printf_long_double" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting infinite 'double' # arguments. AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [ AC_REQUIRE([gl_PRINTF_INFINITE]) case "$gl_cv_func_printf_infinite" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for infinite 'double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting infinite 'long double' # arguments. AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE]) dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if dnl NEED_PRINTF_LONG_DOUBLE is already set. AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE]) case "$gl_cv_func_printf_long_double" in *yes) case "$gl_cv_func_printf_infinite_long_double" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for infinite 'long double' arguments.]) ;; esac ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'a' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_A]) case "$gl_cv_func_printf_directive_a" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1], [Define if the vasnprintf implementation needs special code for the 'a' and 'A' directives.]) AC_CHECK_FUNCS([nl_langinfo]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'F' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_F]) case "$gl_cv_func_printf_directive_f" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1], [Define if the vasnprintf implementation needs special code for the 'F' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'ls' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS]) case "$gl_cv_func_printf_directive_ls" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1], [Define if the vasnprintf implementation needs special code for the 'ls' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the ' flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [ AC_REQUIRE([gl_PRINTF_FLAG_GROUPING]) case "$gl_cv_func_printf_flag_grouping" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1], [Define if the vasnprintf implementation needs special code for the ' flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the '-' flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [ AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST]) case "$gl_cv_func_printf_flag_leftadjust" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1], [Define if the vasnprintf implementation needs special code for the '-' flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 0 flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [ AC_REQUIRE([gl_PRINTF_FLAG_ZERO]) case "$gl_cv_func_printf_flag_zero" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1], [Define if the vasnprintf implementation needs special code for the 0 flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting large precisions. AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [ AC_REQUIRE([gl_PRINTF_PRECISION]) case "$gl_cv_func_printf_precision" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1], [Define if the vasnprintf implementation needs special code for supporting large precisions without arbitrary bounds.]) AC_DEFINE([NEED_PRINTF_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'double' arguments.]) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for surviving out-of-memory # conditions. AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [ AC_REQUIRE([gl_PRINTF_ENOMEM]) case "$gl_cv_func_printf_enomem" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_ENOMEM], [1], [Define if the vasnprintf implementation needs special code for surviving out-of-memory conditions.]) AC_DEFINE([NEED_PRINTF_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'double' arguments.]) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Prerequisites of lib/vasnprintf.c including all extras for POSIX compliance. AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_EXTRAS], [ AC_REQUIRE([gl_PREREQ_VASNPRINTF]) gl_PREREQ_VASNPRINTF_LONG_DOUBLE gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE gl_PREREQ_VASNPRINTF_DIRECTIVE_A gl_PREREQ_VASNPRINTF_DIRECTIVE_F gl_PREREQ_VASNPRINTF_DIRECTIVE_LS gl_PREREQ_VASNPRINTF_FLAG_GROUPING gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST gl_PREREQ_VASNPRINTF_FLAG_ZERO gl_PREREQ_VASNPRINTF_PRECISION gl_PREREQ_VASNPRINTF_ENOMEM ]) # Prerequisites of lib/asnprintf.c. AC_DEFUN([gl_PREREQ_ASNPRINTF], [ ]) gsasl-1.8.1/m4/ltversion.m40000644000000000000000000000127313521017122012325 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) ]) gsasl-1.8.1/m4/iconv_open.m40000644000000000000000000000374513516251575012465 00000000000000# iconv_open.m4 serial 15 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_ICONV_OPEN], [ AC_REQUIRE([AM_ICONV]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test "$am_cv_func_iconv" = yes; then dnl Provide the override, for the sake of the C++ aliases. gl_REPLACE_ICONV_H dnl Test whether iconv_open accepts standardized encoding names. dnl We know that GNU libiconv and GNU libc do. AC_EGREP_CPP([gnu_iconv], [ #include #if defined _LIBICONV_VERSION || (defined __GLIBC__ && !defined __UCLIBC__) gnu_iconv #endif ], [gl_func_iconv_gnu=yes], [gl_func_iconv_gnu=no]) if test $gl_func_iconv_gnu = no; then iconv_flavor= case "$host_os" in aix*) iconv_flavor=ICONV_FLAVOR_AIX ;; irix*) iconv_flavor=ICONV_FLAVOR_IRIX ;; hpux*) iconv_flavor=ICONV_FLAVOR_HPUX ;; osf*) iconv_flavor=ICONV_FLAVOR_OSF ;; solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;; esac if test -n "$iconv_flavor"; then AC_DEFINE_UNQUOTED([ICONV_FLAVOR], [$iconv_flavor], [Define to a symbolic name denoting the flavor of iconv_open() implementation.]) gl_REPLACE_ICONV_OPEN fi fi m4_ifdef([gl_FUNC_ICONV_OPEN_UTF_SUPPORT], [ gl_FUNC_ICONV_OPEN_UTF_SUPPORT case "$gl_cv_func_iconv_supports_utf" in *yes) ;; *) REPLACE_ICONV_UTF=1 AC_DEFINE([REPLACE_ICONV_UTF], [1], [Define if the iconv() functions are enhanced to handle the UTF-{16,32}{BE,LE} encodings.]) REPLACE_ICONV=1 gl_REPLACE_ICONV_OPEN ;; esac ]) fi ]) AC_DEFUN([gl_REPLACE_ICONV_OPEN], [ gl_REPLACE_ICONV_H REPLACE_ICONV_OPEN=1 ]) gsasl-1.8.1/m4/setlocale.m40000644000000000000000000000357013516251576012276 00000000000000# setlocale.m4 serial 6 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SETLOCALE], [ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in dnl On native Windows systems, setlocale(category,NULL) does not look at dnl the environment variables LC_ALL, category, and LANG. mingw*) REPLACE_SETLOCALE=1 ;; dnl On Cygwin 1.5.x, setlocale always succeeds but setlocale(LC_CTYPE,NULL) dnl is then still "C". cygwin*) case `uname -r` in 1.5.*) REPLACE_SETLOCALE=1 ;; esac ;; dnl On Android 4.3, setlocale(category,"C") always fails. *) AC_CACHE_CHECK([whether setlocale supports the C locale], [gl_cv_func_setlocale_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include int main () { return setlocale (LC_ALL, "C") == NULL; }]])], [gl_cv_func_setlocale_works=yes], [gl_cv_func_setlocale_works=no], [case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_setlocale_works="guessing no";; # Guess yes otherwise. *) gl_cv_func_setlocale_works="guessing yes";; esac ]) ]) case "$gl_cv_func_setlocale_works" in *yes) ;; *) REPLACE_SETLOCALE=1 ;; esac ;; esac ]) # Prerequisites of lib/setlocale.c. AC_DEFUN([gl_PREREQ_SETLOCALE], [ dnl No need to check for CFLocaleCopyPreferredLanguages and dnl CFPreferencesCopyAppValue because lib/setlocale.c is not used on Mac OS X. dnl (The Mac OS X specific code is only used in libintl.) : ]) gsasl-1.8.1/m4/getdelim.m40000644000000000000000000000537413516251575012120 00000000000000# getdelim.m4 serial 13 dnl Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. dnl dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.59]) AC_DEFUN([gl_FUNC_GETDELIM], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare getdelim(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([getdelim]) AC_CHECK_FUNCS_ONCE([getdelim]) if test $ac_cv_func_getdelim = yes; then HAVE_GETDELIM=1 dnl Found it in some library. Verify that it works. AC_CACHE_CHECK([for working getdelim function], [gl_cv_func_working_getdelim], [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data AC_RUN_IFELSE([AC_LANG_SOURCE([[ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getdelim (&line, &siz, '\n', in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getdelim (&line, &siz, '\n', in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } ]])], [gl_cv_func_working_getdelim=yes], [gl_cv_func_working_getdelim=no], [dnl We're cross compiling. dnl Guess it works on glibc2 systems and musl systems. AC_EGREP_CPP([Lucky GNU user], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif ], [gl_cv_func_working_getdelim="guessing yes"], [case "$host_os" in *-musl*) gl_cv_func_working_getdelim="guessing yes" ;; *) gl_cv_func_working_getdelim="guessing no" ;; esac ]) ]) ]) case "$gl_cv_func_working_getdelim" in *yes) ;; *) REPLACE_GETDELIM=1 ;; esac else HAVE_GETDELIM=0 fi if test $ac_cv_have_decl_getdelim = no; then HAVE_DECL_GETDELIM=0 fi ]) # Prerequisites of lib/getdelim.c. AC_DEFUN([gl_PREREQ_GETDELIM], [ AC_CHECK_FUNCS([flockfile funlockfile]) AC_CHECK_DECLS([getc_unlocked]) ]) gsasl-1.8.1/m4/msvc-inval.m40000644000000000000000000000133413516251575012375 00000000000000# msvc-inval.m4 serial 1 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MSVC_INVAL], [ AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler]) if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1], [Define to 1 on MSVC platforms that have the "invalid parameter handler" concept.]) else HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 fi AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER]) ]) gsasl-1.8.1/m4/strtok_r.m40000644000000000000000000000512313516251576012166 00000000000000# strtok_r.m4 serial 15 dnl Copyright (C) 2002-2004, 2006-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRTOK_R], [ dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'. AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS([strtok_r]) if test $ac_cv_func_strtok_r = yes; then HAVE_STRTOK_R=1 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault dnl when the second argument to strtok_r is a constant string that has dnl exactly one byte and compiling with optimization. This bug is, for dnl example, present in the glibc 2.7-18 package in Debian "lenny". dnl See . AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM([[ #ifndef __OPTIMIZE__ # define __OPTIMIZE__ 1 #endif #undef __OPTIMIZE_SIZE__ #undef __NO_INLINE__ #include #include ]], [[static const char dummy[] = "\177\01a"; char delimiters[] = "xxxxxxxx"; char *save_ptr = (char *) dummy; strtok_r (delimiters, "x", &save_ptr); strtok_r (NULL, "x", &save_ptr); return 0; ]]) ], [gl_cv_func_strtok_r_works=yes], [gl_cv_func_strtok_r_works=no], [case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_strtok_r_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_strtok_r_works="guessing yes" ;; *) gl_cv_func_strtok_r_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_strtok_r_works" in *no) dnl We could set REPLACE_STRTOK_R=1 here, but it's only the macro dnl version in which is wrong. The code compiled dnl into libc is fine. UNDEFINE_STRTOK_R=1 ;; esac else HAVE_STRTOK_R=0 fi AC_CHECK_DECLS_ONCE([strtok_r]) if test $ac_cv_have_decl_strtok_r = no; then HAVE_DECL_STRTOK_R=0 fi ]) # Prerequisites of lib/strtok_r.c. AC_DEFUN([gl_PREREQ_STRTOK_R], [ : ]) gsasl-1.8.1/m4/iconv_h.m40000644000000000000000000000355713516251575011754 00000000000000# iconv_h.m4 serial 11 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_ICONV_H], [ AC_REQUIRE([gl_ICONV_H_DEFAULTS]) dnl Execute this unconditionally, because ICONV_H may be set by other dnl modules, after this code is executed. gl_CHECK_NEXT_HEADERS([iconv.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], [iconv iconv_open]) ]) dnl Unconditionally enables the replacement of . AC_DEFUN([gl_REPLACE_ICONV_H], [ AC_REQUIRE([gl_ICONV_H_DEFAULTS]) ICONV_H='iconv.h' AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"]) ]) AC_DEFUN([gl_ICONV_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_ICONV_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_ICONV_H_DEFAULTS], [ m4_ifdef([gl_ANSI_CXX], [AC_REQUIRE([gl_ANSI_CXX])]) GNULIB_ICONV=0; AC_SUBST([GNULIB_ICONV]) dnl Assume proper GNU behavior unless another module says otherwise. ICONV_CONST=; AC_SUBST([ICONV_CONST]) REPLACE_ICONV=0; AC_SUBST([REPLACE_ICONV]) REPLACE_ICONV_OPEN=0; AC_SUBST([REPLACE_ICONV_OPEN]) REPLACE_ICONV_UTF=0; AC_SUBST([REPLACE_ICONV_UTF]) ICONV_H=''; AC_SUBST([ICONV_H]) m4_ifdef([gl_POSIXCHECK], [ICONV_H='iconv.h'], [if m4_ifdef([gl_ANSI_CXX], [test "$CXX" != no], [false]); then dnl Override always, to support the C++ GNULIB_NAMESPACE. ICONV_H='iconv.h' fi ]) AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"]) ]) gsasl-1.8.1/m4/mbsinit.m40000644000000000000000000000276313516251575011772 00000000000000# mbsinit.m4 serial 8 dnl Copyright (C) 2008, 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_MBSINIT], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) gl_MBSTATE_T_BROKEN AC_CHECK_FUNCS_ONCE([mbsinit]) if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 AC_CHECK_DECLS([mbsinit],,, [[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include ]]) if test $ac_cv_have_decl_mbsinit = yes; then dnl On Minix 3.1.8, the system's declares mbsinit() although dnl it does not have the function. Avoid a collision with gnulib's dnl replacement. REPLACE_MBSINIT=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSINIT=1 else dnl On mingw, mbsinit() always returns 1, which is inappropriate for dnl states produced by mbrtowc() for an incomplete multibyte character dnl in multibyte locales. case "$host_os" in mingw*) REPLACE_MBSINIT=1 ;; esac fi fi ]) # Prerequisites of lib/mbsinit.c. AC_DEFUN([gl_PREREQ_MBSINIT], [ : ]) gsasl-1.8.1/m4/signal_h.m40000644000000000000000000000604213516251576012104 00000000000000# signal_h.m4 serial 18 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SIGNAL_H], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) gl_NEXT_HEADERS([signal.h]) # AIX declares sig_atomic_t to already include volatile, and C89 compilers # then choke on 'volatile sig_atomic_t'. C99 requires that it compile. AC_CHECK_TYPE([volatile sig_atomic_t], [], [HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0], [[ #include ]]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) AC_REQUIRE([AC_TYPE_UID_T]) dnl Persuade glibc to define sighandler_t. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_TYPE([sighandler_t], [], [HAVE_SIGHANDLER_T=0], [[ #include ]]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [pthread_sigmask sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask]) ]) AC_DEFUN([gl_CHECK_TYPE_SIGSET_T], [ AC_CHECK_TYPES([sigset_t], [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no], [[ #include /* Mingw defines sigset_t not in , but in . */ #include ]]) if test $gl_cv_type_sigset_t != yes; then HAVE_SIGSET_T=0 fi ]) AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SIGNAL_H_DEFAULTS], [ GNULIB_PTHREAD_SIGMASK=0; AC_SUBST([GNULIB_PTHREAD_SIGMASK]) GNULIB_RAISE=0; AC_SUBST([GNULIB_RAISE]) GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) HAVE_PTHREAD_SIGMASK=1; AC_SUBST([HAVE_PTHREAD_SIGMASK]) HAVE_RAISE=1; AC_SUBST([HAVE_RAISE]) HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T]) HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T]) HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION]) HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION]) HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) HAVE_SIGHANDLER_T=1; AC_SUBST([HAVE_SIGHANDLER_T]) REPLACE_PTHREAD_SIGMASK=0; AC_SUBST([REPLACE_PTHREAD_SIGMASK]) REPLACE_RAISE=0; AC_SUBST([REPLACE_RAISE]) ]) gsasl-1.8.1/m4/float_h.m40000644000000000000000000000545713516251575011744 00000000000000# float_h.m4 serial 12 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FLOAT_H], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) FLOAT_H= REPLACE_FLOAT_LDBL=0 case "$host_os" in aix* | beos* | openbsd* | mirbsd* | irix*) FLOAT_H=float.h ;; freebsd* | dragonfly*) case "$host_cpu" in changequote(,)dnl i[34567]86 ) changequote([,])dnl FLOAT_H=float.h ;; x86_64 ) # On x86_64 systems, the C compiler may still be generating # 32-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __x86_64__ || defined __amd64__ int ok; #else error fail #endif ]])], [], [FLOAT_H=float.h]) ;; esac ;; linux*) case "$host_cpu" in powerpc*) FLOAT_H=float.h ;; esac ;; esac case "$host_os" in aix* | freebsd* | dragonfly* | linux*) if test -n "$FLOAT_H"; then REPLACE_FLOAT_LDBL=1 fi ;; esac dnl Test against glibc-2.7 Linux/SPARC64 bug. REPLACE_ITOLD=0 AC_CACHE_CHECK([whether conversion from 'int' to 'long double' works], [gl_cv_func_itold_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ int i = -1; volatile long double ld; int main () { ld += i * 1.0L; if (ld > 0) return 1; return 0; }]])], [gl_cv_func_itold_works=yes], [gl_cv_func_itold_works=no], [case "$host" in sparc*-*-linux*) AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __arch64__ int ok; #else error fail #endif ]])], [gl_cv_func_itold_works="guessing no"], [gl_cv_func_itold_works="guessing yes"]) ;; # Guess yes on native Windows. mingw*) gl_cv_func_itold_works="guessing yes" ;; *) gl_cv_func_itold_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_itold_works" in *no) REPLACE_ITOLD=1 dnl We add the workaround to but also to , dnl to increase the chances that the fix function gets pulled in. FLOAT_H=float.h ;; esac if test -n "$FLOAT_H"; then gl_NEXT_HEADERS([float.h]) fi AC_SUBST([FLOAT_H]) AM_CONDITIONAL([GL_GENERATE_FLOAT_H], [test -n "$FLOAT_H"]) AC_SUBST([REPLACE_ITOLD]) ]) gsasl-1.8.1/m4/pthread-thread.m40000644000000000000000000000432413516251573013212 00000000000000# pthread-thread.m4 serial 1 dnl Copyright (C) 2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PTHREAD_THREAD], [ AC_REQUIRE([gl_PTHREAD_H]) AC_REQUIRE([AC_CANONICAL_HOST]) if { case "$host_os" in mingw*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then dnl Choose function names that don't conflict with the mingw-w64 winpthreads dnl library. REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 REPLACE_PTHREAD_ATTR_GETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_SETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_DESTROY=1 REPLACE_PTHREAD_SELF=1 REPLACE_PTHREAD_EQUAL=1 REPLACE_PTHREAD_DETACH=1 REPLACE_PTHREAD_JOIN=1 REPLACE_PTHREAD_EXIT=1 else if test $HAVE_PTHREAD_H = 0; then HAVE_PTHREAD_CREATE=0 HAVE_PTHREAD_ATTR_INIT=0 HAVE_PTHREAD_ATTR_GETDETACHSTATE=0 HAVE_PTHREAD_ATTR_SETDETACHSTATE=0 HAVE_PTHREAD_ATTR_DESTROY=0 HAVE_PTHREAD_SELF=0 HAVE_PTHREAD_EQUAL=0 HAVE_PTHREAD_DETACH=0 HAVE_PTHREAD_JOIN=0 HAVE_PTHREAD_EXIT=0 else dnl On HP-UX 11.11, pthread_create() and pthread_attr_init() are only dnl defined as inline functions. AC_CACHE_CHECK([whether pthread_create exists as a global function], [gl_cv_func_pthread_create], [saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_LINK_IFELSE( [AC_LANG_SOURCE( [[extern #ifdef __cplusplus "C" #endif int pthread_create (void); int main () { return pthread_create (); } ]])], [gl_cv_func_pthread_create=yes], [gl_cv_func_pthread_create=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_pthread_create = no; then REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 AC_DEFINE([PTHREAD_CREATE_IS_INLINE], [1], [Define if pthread_create is an inline function.]) fi fi fi ]) gsasl-1.8.1/m4/intlmacosx.m40000644000000000000000000000623213516251575012501 00000000000000# intlmacosx.m4 serial 7 (gettext-0.20.2) dnl Copyright (C) 2004-2014, 2016, 2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on Mac OS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in Mac OS X 10.4. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFPreferencesCopyAppValue(NULL, NULL)]])], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Don't check for the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent, dnl because in macOS 10.13.4 it has the following behaviour: dnl When two or more languages are specified in the dnl "System Preferences > Language & Region > Preferred Languages" panel, dnl it returns en_CC where CC is the territory (even when English is not among dnl the preferred languages!). What we want instead is what dnl CFLocaleCopyCurrent returned in earlier macOS releases and what dnl CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the dnl first among the preferred languages and CC is the territory. AC_CACHE_CHECK([for CFLocaleCopyPreferredLanguages], [gt_cv_func_CFLocaleCopyPreferredLanguages], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFLocaleCopyPreferredLanguages();]])], [gt_cv_func_CFLocaleCopyPreferredLanguages=yes], [gt_cv_func_CFLocaleCopyPreferredLanguages=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1], [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) gsasl-1.8.1/m4/fcntl-o.m40000644000000000000000000001120213516251575011653 00000000000000# fcntl-o.m4 serial 6 dnl Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. AC_PREREQ([2.60]) # Test whether the flags O_NOATIME and O_NOFOLLOW actually work. # Define HAVE_WORKING_O_NOATIME to 1 if O_NOATIME works, or to 0 otherwise. # Define HAVE_WORKING_O_NOFOLLOW to 1 if O_NOFOLLOW works, or to 0 otherwise. AC_DEFUN([gl_FCNTL_O_FLAGS], [ dnl Persuade glibc to define O_NOATIME and O_NOFOLLOW. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CHECK_FUNCS_ONCE([symlink]) AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include # include # defined sleep(n) _sleep ((n) * 1000) #endif #include #ifndef O_NOATIME #define O_NOATIME 0 #endif #ifndef O_NOFOLLOW #define O_NOFOLLOW 0 #endif static int const constants[] = { O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY }; ]], [[ int result = !constants; #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink ("/dev/null", sym) != 0) result |= 2; else { int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); if (fd >= 0) { close (fd); result |= 4; } } if (unlink (sym) != 0 || symlink (".", sym) != 0) result |= 2; else { int fd = open (sym, O_RDONLY | O_NOFOLLOW); if (fd >= 0) { close (fd); result |= 4; } } unlink (sym); } #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); if (fd < 0) result |= 8; else { struct stat st0; if (fstat (fd, &st0) != 0) result |= 16; else { char c; sleep (1); if (read (fd, &c, 1) != 1) result |= 24; else { if (close (fd) != 0) result |= 32; else { struct stat st1; if (stat (file, &st1) != 0) result |= 40; else if (st0.st_atime != st1.st_atime) result |= 64; } } } } } return result;]])], [gl_cv_header_working_fcntl_h=yes], [case $? in #( 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( *) gl_cv_header_working_fcntl_h='no';; esac], [case "$host_os" in # Guess 'no' on native Windows. mingw*) gl_cv_header_working_fcntl_h='no' ;; *) gl_cv_header_working_fcntl_h=cross-compiling ;; esac ]) ]) case $gl_cv_header_working_fcntl_h in #( *O_NOATIME* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val], [Define to 1 if O_NOATIME works.]) case $gl_cv_header_working_fcntl_h in #( *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val], [Define to 1 if O_NOFOLLOW works.]) ]) gsasl-1.8.1/m4/progtest.m40000644000000000000000000000604013516317327012162 00000000000000# progtest.m4 serial 7 (gettext-0.18.2) dnl Copyright (C) 1996-2003, 2005, 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. AC_PREREQ([2.50]) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL([ac_cv_path_$1], [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$][$1]) else AC_MSG_RESULT([no]) fi AC_SUBST([$1])dnl ]) gsasl-1.8.1/m4/stddef_h.m40000644000000000000000000000450113516251576012076 00000000000000dnl A placeholder for , for platforms that have issues. # stddef_h.m4 serial 6 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_STDDEF_H], [ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) AC_REQUIRE([gt_TYPE_WCHAR_T]) STDDEF_H= dnl Test whether the type max_align_t exists and whether its alignment dnl "is as great as is supported by the implementation in all contexts". AC_CACHE_CHECK([for good max_align_t], [gl_cv_type_max_align_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include unsigned int s = sizeof (max_align_t); #if defined __GNUC__ || defined __IBM__ALIGNOF__ int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1]; int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1]; #endif ]])], [gl_cv_type_max_align_t=yes], [gl_cv_type_max_align_t=no]) ]) if test $gl_cv_type_max_align_t = no; then HAVE_MAX_ALIGN_T=0 STDDEF_H=stddef.h fi if test $gt_cv_c_wchar_t = no; then HAVE_WCHAR_T=0 STDDEF_H=stddef.h fi AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions], [gl_cv_decl_null_works], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include int test[2 * (sizeof NULL == sizeof (void *)) -1]; ]])], [gl_cv_decl_null_works=yes], [gl_cv_decl_null_works=no])]) if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 STDDEF_H=stddef.h fi AC_SUBST([STDDEF_H]) AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"]) if test -n "$STDDEF_H"; then gl_NEXT_HEADERS([stddef.h]) fi ]) AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_STDDEF_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. REPLACE_NULL=0; AC_SUBST([REPLACE_NULL]) HAVE_MAX_ALIGN_T=1; AC_SUBST([HAVE_MAX_ALIGN_T]) HAVE_WCHAR_T=1; AC_SUBST([HAVE_WCHAR_T]) ]) gsasl-1.8.1/m4/printf.m40000644000000000000000000020546313516251576011632 00000000000000# printf.m4 serial 61 dnl Copyright (C) 2003, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Test whether the *printf family of functions supports the 'j', 'z', 't', dnl 'L' size specifiers. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_sizes_c99. AC_DEFUN([gl_PRINTF_SIZES_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports size specifiers as in C99], [gl_cv_func_printf_sizes_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #if HAVE_STDINT_H_WITH_UINTMAX # include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX # include #endif static char buf[100]; int main () { int result = 0; #if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX buf[0] = '\0'; if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 || strcmp (buf, "12345671 33") != 0) result |= 1; #else result |= 1; #endif buf[0] = '\0'; if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 || strcmp (buf, "12345672 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 || strcmp (buf, "12345673 33") != 0) result |= 4; buf[0] = '\0'; if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 || strcmp (buf, "1.5 33") != 0) result |= 8; return result; }]])], [gl_cv_func_printf_sizes_c99=yes], [gl_cv_func_printf_sizes_c99=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_printf_sizes_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_printf_sizes_c99="guessing no";; openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_printf_sizes_c99="guessing no";; netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_sizes_c99="guessing yes";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_sizes_c99="guessing yes"], [gl_cv_func_printf_sizes_c99="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_sizes_c99="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports 'long double' dnl arguments together with the 'L' size specifier. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_long_double. AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports 'long double' arguments], [gl_cv_func_printf_long_double], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[10000]; int main () { int result = 0; buf[0] = '\0'; if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.750000 33") != 0) result |= 1; buf[0] = '\0'; if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.750000e+00 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.75 33") != 0) result |= 4; return result; }]])], [gl_cv_func_printf_long_double=yes], [gl_cv_func_printf_long_double=no], [case "$host_os" in # Guess no on BeOS. beos*) gl_cv_func_printf_long_double="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_long_double="guessing yes";; # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_long_double="guessing yes"], [gl_cv_func_printf_long_double="guessing no"]) ;; *) gl_cv_func_printf_long_double="guessing yes";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports infinite and NaN dnl 'double' arguments and negative zero arguments in the %f, %e, %g dnl directives. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_infinite. AC_DEFUN([gl_PRINTF_INFINITE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports infinite 'double' arguments], [gl_cv_func_printf_infinite], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static int strisnan (const char *string, size_t start_index, size_t end_index) { if (start_index < end_index) { if (string[start_index] == '-') start_index++; if (start_index + 3 <= end_index && memcmp (string + start_index, "nan", 3) == 0) { start_index += 3; if (start_index == end_index || (string[start_index] == '(' && string[end_index - 1] == ')')) return 1; } } return 0; } static int have_minus_zero () { static double plus_zero = 0.0; double minus_zero = - plus_zero; return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; } static char buf[10000]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%f", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%f", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%f", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%e", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 4; if (sprintf (buf, "%e", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 4; if (sprintf (buf, "%e", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 8; if (sprintf (buf, "%g", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 16; if (sprintf (buf, "%g", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 16; if (sprintf (buf, "%g", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 32; /* This test fails on HP-UX 10.20. */ if (have_minus_zero ()) if (sprintf (buf, "%g", - zero) < 0 || strcmp (buf, "-0") != 0) result |= 64; return result; }]])], [gl_cv_func_printf_infinite=yes], [gl_cv_func_printf_infinite=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; darwin*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; hpux*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_printf_infinite="guessing no";; netbsd*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_infinite="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_infinite="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_infinite="guessing yes"], [gl_cv_func_printf_infinite="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_infinite="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports infinite and NaN dnl 'long double' arguments in the %f, %e, %g directives. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_infinite_long_double. AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl The user can set or unset the variable gl_printf_safe to indicate dnl that he wishes a safe handling of non-IEEE-754 'long double' values. if test -n "$gl_printf_safe"; then AC_DEFINE([CHECK_PRINTF_SAFE], [1], [Define if you wish *printf() functions that have a safe handling of non-IEEE-754 'long double' values.]) fi case "$gl_cv_func_printf_long_double" in *yes) AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments], [gl_cv_func_printf_infinite_long_double], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ ]GL_NOCRASH[ #include #include #include static int strisnan (const char *string, size_t start_index, size_t end_index) { if (start_index < end_index) { if (string[start_index] == '-') start_index++; if (start_index + 3 <= end_index && memcmp (string + start_index, "nan", 3) == 0) { start_index += 3; if (start_index == end_index || (string[start_index] == '(' && string[end_index - 1] == ')')) return 1; } } return 0; } static char buf[10000]; static long double zeroL = 0.0L; int main () { int result = 0; nocrash_init(); if (sprintf (buf, "%Lf", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; if (sprintf (buf, "%Le", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; if (sprintf (buf, "%Lg", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Le", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Lg", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; } { /* Signalling NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Le", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Lg", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; } { /* Pseudo-NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 4; if (sprintf (buf, "%Le", x.value) <= 0) result |= 4; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 4; } { /* Pseudo-Infinity. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 8; if (sprintf (buf, "%Le", x.value) <= 0) result |= 8; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 8; } { /* Pseudo-Zero. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 16; if (sprintf (buf, "%Le", x.value) <= 0) result |= 16; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 16; } { /* Unnormalized number. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 32; if (sprintf (buf, "%Le", x.value) <= 0) result |= 32; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 32; } { /* Pseudo-Denormal. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 64; if (sprintf (buf, "%Le", x.value) <= 0) result |= 64; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 64; } #endif return result; }]])], [gl_cv_func_printf_infinite_long_double=yes], [gl_cv_func_printf_infinite_long_double=no], [case "$host_cpu" in # Guess no on ia64, x86_64, i386. ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; *) case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite_long_double="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_infinite_long_double="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_infinite_long_double="guessing yes"], [gl_cv_func_printf_infinite_long_double="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_infinite_long_double="guessing no";; esac ;; esac ]) ]) ;; *) gl_cv_func_printf_infinite_long_double="irrelevant" ;; esac ]) dnl Test whether the *printf family of functions supports the 'a' and 'A' dnl conversion specifier for hexadecimal output of floating-point numbers. dnl (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_a. AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives], [gl_cv_func_printf_directive_a], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 || (strcmp (buf, "0x1.922p+1 33") != 0 && strcmp (buf, "0x3.244p+0 33") != 0 && strcmp (buf, "0x6.488p-1 33") != 0 && strcmp (buf, "0xc.91p-2 33") != 0)) result |= 1; if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 || (strcmp (buf, "-0X1.922P+1 33") != 0 && strcmp (buf, "-0X3.244P+0 33") != 0 && strcmp (buf, "-0X6.488P-1 33") != 0 && strcmp (buf, "-0XC.91P-2 33") != 0)) result |= 2; /* This catches a FreeBSD 6.1 bug: it doesn't round. */ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x1.83p+0 33") != 0 && strcmp (buf, "0x3.05p-1 33") != 0 && strcmp (buf, "0x6.0ap-2 33") != 0 && strcmp (buf, "0xc.14p-3 33") != 0)) result |= 4; /* This catches a Mac OS X 10.12.4 (Darwin 16.5) bug: it doesn't round. */ if (sprintf (buf, "%.0a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x2p+0 33") != 0 && strcmp (buf, "0x3p-1 33") != 0 && strcmp (buf, "0x6p-2 33") != 0 && strcmp (buf, "0xcp-3 33") != 0)) result |= 4; /* This catches a FreeBSD 6.1 bug. See */ if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0 || buf[0] == '0') result |= 8; /* This catches a Mac OS X 10.3.9 (Darwin 7.9) bug. */ if (sprintf (buf, "%.1a", 1.999) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) result |= 16; /* This catches the same Mac OS X 10.3.9 (Darwin 7.9) bug and also a glibc 2.4 bug . */ if (sprintf (buf, "%.1La", 1.999L) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) result |= 32; return result; }]])], [gl_cv_func_printf_directive_a=yes], [gl_cv_func_printf_directive_a=no], [ case "$host_os" in # Guess yes on glibc >= 2.5 systems. *-gnu* | gnu*) AC_EGREP_CPP([BZ2908], [ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__ BZ2908 #endif #endif ], [gl_cv_func_printf_directive_a="guessing yes"], [gl_cv_func_printf_directive_a="guessing no"]) ;; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_directive_a="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_a="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_printf_directive_a="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_printf_directive_a="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %F format dnl directive. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_f. AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'F' directive], [gl_cv_func_printf_directive_f], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 || strcmp (buf, "1234567.000000 33") != 0) result |= 1; if (sprintf (buf, "%F", 1.0 / zero) < 0 || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) result |= 2; /* This catches a Cygwin 1.5.x bug. */ if (sprintf (buf, "%.F", 1234.0) < 0 || strcmp (buf, "1234") != 0) result |= 4; return result; }]])], [gl_cv_func_printf_directive_f=yes], [gl_cv_func_printf_directive_f=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_directive_f="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; darwin*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_directive_f="guessing yes";; solaris*) gl_cv_func_printf_directive_f="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_f="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_directive_f="guessing yes"], [gl_cv_func_printf_directive_f="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_directive_f="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %n format dnl directive. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_n. AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'n' directive], [gl_cv_func_printf_directive_n], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #ifdef _MSC_VER /* See page about "Parameter Validation" on msdn.microsoft.com. */ static void cdecl invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { exit (1); } #endif static char fmtstring[10]; static char buf[100]; int main () { int count = -1; #ifdef _MSC_VER _set_invalid_parameter_handler (invalid_parameter_handler); #endif /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 || strcmp (buf, "123 ") != 0 || count != 4) return 1; return 0; }]])], [gl_cv_func_printf_directive_n=yes], [gl_cv_func_printf_directive_n=no], [case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_n="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_printf_directive_n="guessing no";; *) gl_cv_func_printf_directive_n="guessing yes";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %ls format dnl directive and in particular, when a precision is specified, whether dnl the functions stop converting the wide string argument when the number dnl of bytes that have been produced by this conversion equals or exceeds dnl the precision. dnl Result is gl_cv_func_printf_directive_ls. AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'ls' directive], [gl_cv_func_printf_directive_ls], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #include int main () { int result = 0; char buf[100]; /* Test whether %ls works at all. This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on Cygwin 1.5. */ { static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; buf[0] = '\0'; if (sprintf (buf, "%ls", wstring) < 0 || strcmp (buf, "abc") != 0) result |= 1; } /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an assertion failure inside libc), but not on OpenBSD 4.0. */ { static const wchar_t wstring[] = { 'a', 0 }; buf[0] = '\0'; if (sprintf (buf, "%ls", wstring) < 0 || strcmp (buf, "a") != 0) result |= 2; } /* Test whether precisions in %ls are supported as specified in ISO C 99 section 7.19.6.1: "If a precision is specified, no more than that many bytes are written (including shift sequences, if any), and the array shall contain a null wide character if, to equal the multibyte character sequence length given by the precision, the function would need to access a wide character one past the end of the array." This test fails on Solaris 10. */ { static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; buf[0] = '\0'; if (sprintf (buf, "%.2ls", wstring) < 0 || strcmp (buf, "ab") != 0) result |= 8; } return result; }]])], [gl_cv_func_printf_directive_ls=yes], [gl_cv_func_printf_directive_ls=no], [ changequote(,)dnl case "$host_os" in openbsd*) gl_cv_func_printf_directive_ls="guessing no";; irix*) gl_cv_func_printf_directive_ls="guessing no";; solaris*) gl_cv_func_printf_directive_ls="guessing no";; cygwin*) gl_cv_func_printf_directive_ls="guessing no";; beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_ls="guessing no";; # Guess yes on native Windows. mingw*) gl_cv_func_printf_directive_ls="guessing yes";; *) gl_cv_func_printf_directive_ls="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports POSIX/XSI format dnl strings with positions. (POSIX:2001) dnl Result is gl_cv_func_printf_positions. AC_DEFUN([gl_PRINTF_POSITIONS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions], [gl_cv_func_printf_positions], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* The string "%2$d %1$d", with dollar characters protected from the shell's dollar expansion (possibly an autoconf bug). */ static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; static char buf[100]; int main () { sprintf (buf, format, 33, 55); return (strcmp (buf, "55 33") != 0); }]])], [gl_cv_func_printf_positions=yes], [gl_cv_func_printf_positions=no], [ changequote(,)dnl case "$host_os" in netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) gl_cv_func_printf_positions="guessing no";; beos*) gl_cv_func_printf_positions="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_positions="guessing yes";; # Guess no on native Windows. mingw* | pw*) gl_cv_func_printf_positions="guessing no";; *) gl_cv_func_printf_positions="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports POSIX/XSI format dnl strings with the ' flag for grouping of decimal digits. (POSIX:2001) dnl Result is gl_cv_func_printf_flag_grouping. AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the grouping flag], [gl_cv_func_printf_flag_grouping], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { if (sprintf (buf, "%'d %d", 1234567, 99) < 0 || buf[strlen (buf) - 1] != '9') return 1; return 0; }]])], [gl_cv_func_printf_flag_grouping=yes], [gl_cv_func_printf_flag_grouping=no], [ changequote(,)dnl case "$host_os" in cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_flag_grouping="guessing no";; # Guess no on native Windows. mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; *) gl_cv_func_printf_flag_grouping="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports the - flag correctly. dnl (ISO C99.) See dnl dnl Result is gl_cv_func_printf_flag_leftadjust. AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly], [gl_cv_func_printf_flag_leftadjust], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { /* Check that a '-' flag is not annihilated by a negative width. */ if (sprintf (buf, "a%-*sc", -3, "b") < 0 || strcmp (buf, "ab c") != 0) return 1; return 0; }]])], [gl_cv_func_printf_flag_leftadjust=yes], [gl_cv_func_printf_flag_leftadjust=no], [ changequote(,)dnl case "$host_os" in # Guess yes on HP-UX 11. hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess no on HP-UX 10 and older. hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess yes on native Windows. mingw*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess yes otherwise. *) gl_cv_func_printf_flag_leftadjust="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports padding of non-finite dnl values with the 0 flag correctly. (ISO C99 + TC1 + TC2.) See dnl dnl Result is gl_cv_func_printf_flag_zero. AC_DEFUN([gl_PRINTF_FLAG_ZERO], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the zero flag correctly], [gl_cv_func_printf_flag_zero], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0 || (strcmp (buf, " inf") != 0 && strcmp (buf, " infinity") != 0)) return 1; return 0; }]])], [gl_cv_func_printf_flag_zero=yes], [gl_cv_func_printf_flag_zero=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_flag_zero="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_printf_flag_zero="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_printf_flag_zero="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports large precisions. dnl On mingw, precisions larger than 512 are treated like 512, in integer, dnl floating-point or pointer output. On Solaris 10/x86, precisions larger dnl than 510 in floating-point output crash the program. On Solaris 10/SPARC, dnl precisions larger than 510 in floating-point output yield wrong results. dnl On AIX 7.1, precisions larger than 998 in floating-point output yield dnl wrong results. On BeOS, precisions larger than 1044 crash the program. dnl Result is gl_cv_func_printf_precision. AC_DEFUN([gl_PRINTF_PRECISION], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports large precisions], [gl_cv_func_printf_precision], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[5000]; int main () { int result = 0; #ifdef __BEOS__ /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ return 1; #endif if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) result |= 1; if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5) result |= 2; if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5 || buf[0] != '1') result |= 4; if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5 || buf[0] != '1') result |= 4; return result; }]])], [gl_cv_func_printf_precision=yes], [gl_cv_func_printf_precision=no], [ changequote(,)dnl case "$host_os" in # Guess no only on Solaris, native Windows, and BeOS systems. solaris*) gl_cv_func_printf_precision="guessing no" ;; mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;; beos*) gl_cv_func_printf_precision="guessing no" ;; # Guess yes on Android. linux*-android*) gl_cv_func_printf_precision="guessing yes" ;; *) gl_cv_func_printf_precision="guessing yes" ;; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions recovers gracefully in case dnl of an out-of-memory condition, or whether it crashes the entire program. dnl Result is gl_cv_func_printf_enomem. AC_DEFUN([gl_PRINTF_ENOMEM], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_MULTIARCH]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf survives out-of-memory conditions], [gl_cv_func_printf_enomem], [ gl_cv_func_printf_enomem="guessing no" if test "$cross_compiling" = no; then if test $APPLE_UNIVERSAL_BUILD = 0; then AC_LANG_CONFTEST([AC_LANG_SOURCE([ ]GL_NOCRASH[ changequote(,)dnl #include #include #include #include #include int main() { struct rlimit limit; int ret; nocrash_init (); /* Some printf implementations allocate temporary space with malloc. */ /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ #ifdef RLIMIT_DATA if (getrlimit (RLIMIT_DATA, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_DATA, &limit) < 0) return 77; #endif /* On Linux systems, malloc() is limited by RLIMIT_AS. */ #ifdef RLIMIT_AS if (getrlimit (RLIMIT_AS, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_AS, &limit) < 0) return 77; #endif /* Some printf implementations allocate temporary space on the stack. */ #ifdef RLIMIT_STACK if (getrlimit (RLIMIT_STACK, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_STACK, &limit) < 0) return 77; #endif ret = printf ("%.5000000f", 1.0); return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); } changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then (./conftest 2>&AS_MESSAGE_LOG_FD result=$? _AS_ECHO_LOG([\$? = $result]) if test $result != 0 && test $result != 77; then result=1; fi exit $result ) >/dev/null 2>/dev/null case $? in 0) gl_cv_func_printf_enomem="yes" ;; 77) gl_cv_func_printf_enomem="guessing no" ;; *) gl_cv_func_printf_enomem="no" ;; esac else gl_cv_func_printf_enomem="guessing no" fi rm -fr conftest* else dnl A universal build on Apple Mac OS X platforms. dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode. dnl But we need a configuration result that is valid in both modes. gl_cv_func_printf_enomem="guessing no" fi fi if test "$gl_cv_func_printf_enomem" = "guessing no"; then changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on Solaris. solaris*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on AIX. aix*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on HP-UX/hppa. hpux*) case "$host_cpu" in hppa*) gl_cv_func_printf_enomem="guessing yes";; *) gl_cv_func_printf_enomem="guessing no";; esac ;; # Guess yes on IRIX. irix*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on OSF/1. osf*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on Haiku. haiku*) gl_cv_func_printf_enomem="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_enomem="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_printf_enomem="guessing no";; esac changequote([,])dnl fi ]) ]) dnl Test whether the snprintf function exists. (ISO C99, POSIX:2001) dnl Result is ac_cv_func_snprintf. AC_DEFUN([gl_SNPRINTF_PRESENCE], [ AC_CHECK_FUNCS_ONCE([snprintf]) ]) dnl Test whether the string produced by the snprintf function is always NUL dnl terminated. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_snprintf_truncation_c99. AC_DEFUN([gl_SNPRINTF_TRUNCATION_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf truncates the result as in C99], [gl_cv_func_snprintf_truncation_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); my_snprintf (buf, 3, "%d %d", 4567, 89); if (memcmp (buf, "45\0DEF", 6) != 0) return 1; return 0; }]])], [gl_cv_func_snprintf_truncation_c99=yes], [gl_cv_func_snprintf_truncation_c99=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_truncation_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";; darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_truncation_c99="guessing no";; openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_snprintf_truncation_c99="guessing no";; solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";; aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OSF/1 >= 5. osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_truncation_c99="guessing no";; netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess no on native Windows. mingw*) gl_cv_func_snprintf_truncation_c99="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_snprintf_truncation_c99="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the return value of the snprintf function is the number dnl of bytes (excluding the terminating NUL) that would have been produced dnl if the buffer had been large enough. (ISO C99, POSIX:2001) dnl For example, this test program fails on IRIX 6.5: dnl --------------------------------------------------------------------- dnl #include dnl int main() dnl { dnl static char buf[8]; dnl int retval = snprintf (buf, 3, "%d", 12345); dnl return retval >= 0 && retval < 3; dnl } dnl --------------------------------------------------------------------- dnl Result is gl_cv_func_snprintf_retval_c99. AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf returns a byte count as in C99], [gl_cv_func_snprintf_retval_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; }]])], [gl_cv_func_snprintf_retval_c99=yes], [gl_cv_func_snprintf_retval_c99=no], [case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_retval_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_retval_c99="guessing no";; openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_retval_c99="guessing no";; netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_snprintf_retval_c99="guessing yes"], [gl_cv_func_snprintf_retval_c99="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_snprintf_retval_c99="guessing no";; esac ]) ]) ]) dnl Test whether the snprintf function supports the %n format directive dnl also in truncated portions of the format string. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_snprintf_directive_n. AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], [gl_cv_func_snprintf_directive_n], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char fmtstring[10]; static char buf[100]; int main () { int count = -1; /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); my_snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); if (count != 6) return 1; return 0; }]])], [gl_cv_func_snprintf_directive_n=yes], [gl_cv_func_snprintf_directive_n=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_directive_n="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_directive_n="guessing no";; darwin*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_snprintf_directive_n="guessing no";; solaris*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_directive_n="guessing no";; aix*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on OSF/1 >= 5. osf[3-4]*) gl_cv_func_snprintf_directive_n="guessing no";; osf*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_directive_n="guessing no";; netbsd*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_snprintf_directive_n="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_snprintf_directive_n="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_snprintf_directive_n="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the snprintf function, when passed a size = 1, writes any dnl output without bounds in this case, behaving like sprintf. This is the dnl case on Linux libc5. dnl Result is gl_cv_func_snprintf_size1. AC_DEFUN([gl_SNPRINTF_SIZE1], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf respects a size of 1], [gl_cv_func_snprintf_size1], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; }]])], [gl_cv_func_snprintf_size1=yes], [gl_cv_func_snprintf_size1=no], [case "$host_os" in # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_size1="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_snprintf_size1="guessing yes" ;; *) gl_cv_func_snprintf_size1="guessing yes" ;; esac ]) ]) ]) dnl Test whether the vsnprintf function, when passed a zero size, produces no dnl output. (ISO C99, POSIX:2001) dnl For example, snprintf nevertheless writes a NUL byte in this case dnl on OSF/1 5.1: dnl --------------------------------------------------------------------- dnl #include dnl int main() dnl { dnl static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; dnl snprintf (buf, 0, "%d", 12345); dnl return buf[0] != 'D'; dnl } dnl --------------------------------------------------------------------- dnl And vsnprintf writes any output without bounds in this case, behaving like dnl vsprintf, on HP-UX 11 and OSF/1 5.1: dnl --------------------------------------------------------------------- dnl #include dnl #include dnl static int my_snprintf (char *buf, int size, const char *format, ...) dnl { dnl va_list args; dnl int ret; dnl va_start (args, format); dnl ret = vsnprintf (buf, size, format, args); dnl va_end (args); dnl return ret; dnl } dnl int main() dnl { dnl static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; dnl my_snprintf (buf, 0, "%d", 12345); dnl return buf[0] != 'D'; dnl } dnl --------------------------------------------------------------------- dnl Result is gl_cv_func_vsnprintf_zerosize_c99. AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99], [gl_cv_func_vsnprintf_zerosize_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 0, "%d", 12345); return buf[0] != 'D'; }]])], [gl_cv_func_vsnprintf_zerosize_c99=yes], [gl_cv_func_vsnprintf_zerosize_c99=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Cygwin. cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on native Windows. mingw* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # If we don't know, assume the worst. *) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl The results of these tests on various platforms are: dnl dnl 1 = gl_PRINTF_SIZES_C99 dnl 2 = gl_PRINTF_LONG_DOUBLE dnl 3 = gl_PRINTF_INFINITE dnl 4 = gl_PRINTF_INFINITE_LONG_DOUBLE dnl 5 = gl_PRINTF_DIRECTIVE_A dnl 6 = gl_PRINTF_DIRECTIVE_F dnl 7 = gl_PRINTF_DIRECTIVE_N dnl 8 = gl_PRINTF_DIRECTIVE_LS dnl 9 = gl_PRINTF_POSITIONS dnl 10 = gl_PRINTF_FLAG_GROUPING dnl 11 = gl_PRINTF_FLAG_LEFTADJUST dnl 12 = gl_PRINTF_FLAG_ZERO dnl 13 = gl_PRINTF_PRECISION dnl 14 = gl_PRINTF_ENOMEM dnl 15 = gl_SNPRINTF_PRESENCE dnl 16 = gl_SNPRINTF_TRUNCATION_C99 dnl 17 = gl_SNPRINTF_RETVAL_C99 dnl 18 = gl_SNPRINTF_DIRECTIVE_N dnl 19 = gl_SNPRINTF_SIZE1 dnl 20 = gl_VSNPRINTF_ZEROSIZE_C99 dnl dnl 1 = checking whether printf supports size specifiers as in C99... dnl 2 = checking whether printf supports 'long double' arguments... dnl 3 = checking whether printf supports infinite 'double' arguments... dnl 4 = checking whether printf supports infinite 'long double' arguments... dnl 5 = checking whether printf supports the 'a' and 'A' directives... dnl 6 = checking whether printf supports the 'F' directive... dnl 7 = checking whether printf supports the 'n' directive... dnl 8 = checking whether printf supports the 'ls' directive... dnl 9 = checking whether printf supports POSIX/XSI format strings with positions... dnl 10 = checking whether printf supports the grouping flag... dnl 11 = checking whether printf supports the left-adjust flag correctly... dnl 12 = checking whether printf supports the zero flag correctly... dnl 13 = checking whether printf supports large precisions... dnl 14 = checking whether printf survives out-of-memory conditions... dnl 15 = checking for snprintf... dnl 16 = checking whether snprintf truncates the result as in C99... dnl 17 = checking whether snprintf returns a byte count as in C99... dnl 18 = checking whether snprintf fully supports the 'n' directive... dnl 19 = checking whether snprintf respects a size of 1... dnl 20 = checking whether vsnprintf respects a zero size as in C99... dnl dnl . = yes, # = no. dnl dnl 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 dnl glibc 2.5 . . . . . . . . . . . . . . . . . . . . dnl glibc 2.3.6 . . . . # . . . . . . . . . . . . . . . dnl FreeBSD 5.4, 6.1 . . . . # . . . . . . # . # . . . . . . dnl Mac OS X 10.5.8 . . . # # . . . . . . # . . . . . . . . dnl Mac OS X 10.3.9 . . . . # . . . . . . # . # . . . . . . dnl OpenBSD 3.9, 4.0 . . # # # # . # . # . # . # . . . . . . dnl Cygwin 1.7.0 (2009) . . . # . . . ? . . . . . ? . . . . . . dnl Cygwin 1.5.25 (2008) . . . # # . . # . . . . . # . . . . . . dnl Cygwin 1.5.19 (2006) # . . # # # . # . # . # # # . . . . . . dnl Solaris 11.4 . . # # # . . # . . . # . . . . . . . . dnl Solaris 11.3 . . . . # . . # . . . . . . . . . . . . dnl Solaris 11.0 . . # # # . . # . . . # . . . . . . . . dnl Solaris 10 . . # # # . . # . . . # # . . . . . . . dnl Solaris 2.6 ... 9 # . # # # # . # . . . # # . . . # . . . dnl Solaris 2.5.1 # . # # # # . # . . . # . . # # # # # # dnl AIX 7.1 . . # # # . . . . . . # # . . . . . . . dnl AIX 5.2 . . # # # . . . . . . # . . . . . . . . dnl AIX 4.3.2, 5.1 # . # # # # . . . . . # . . . . # . . . dnl HP-UX 11.31 . . . . # . . . . . . # . . . . # # . . dnl HP-UX 11.{00,11,23} # . . . # # . . . . . # . . . . # # . # dnl HP-UX 10.20 # . # . # # . ? . . # # . . . . # # ? # dnl IRIX 6.5 # . # # # # . # . . . # . . . . # . . . dnl OSF/1 5.1 # . # # # # . . . . . # . . . . # . . # dnl OSF/1 4.0d # . # # # # . . . . . # . . # # # # # # dnl NetBSD 5.0 . . . # # . . . . . . # . # . . . . . . dnl NetBSD 4.0 . ? ? ? ? ? . ? . ? ? ? ? ? . . . ? ? ? dnl NetBSD 3.0 . . . . # # . ? # # ? # . # . . . . . . dnl Haiku . . . # # # . # . . . . . ? . . ? . . . dnl BeOS # # . # # # . ? # . ? . # ? . . ? . . . dnl Android 4.3 . . # # # # # # . # . # . # . . . # . . dnl old mingw / msvcrt # # # # # # . . # # . # # ? . # # # . . dnl MSVC 9 # # # # # # # . # # . # # ? # # # # . . dnl mingw 2009-2011 . # . # . . . . # # . . . ? . . . . . . dnl mingw-w64 2011 # # # # # # . . # # . # # ? . # # # . . gsasl-1.8.1/m4/pthread_rwlock_rdlock.m40000644000000000000000000001314013516251573014660 00000000000000# pthread_rwlock_rdlock.m4 serial 2 dnl Copyright (C) 2017-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Inspired by dnl https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c dnl by Intel Corporation. dnl Test whether in a situation where dnl - an rwlock is taken by a reader and has a writer waiting, dnl - an additional reader requests the lock, dnl - the waiting writer and the requesting reader threads have the same dnl priority, dnl the requesting reader thread gets blocked, so that at some point the dnl waiting writer can acquire the lock. dnl Without such a guarantee, when there a N readers and each of the readers dnl spends more than 1/Nth of the time with the lock held, there is a high dnl probability that the waiting writer will not get the lock in a given finite dnl time, a phenomenon called "writer starvation". dnl Without such a guarantee, applications have a hard time avoiding writer dnl starvation. dnl dnl POSIX:2017 makes this requirement only for implementations that support TPS dnl (Thread Priority Scheduling) and only for the scheduling policies SCHED_FIFO dnl and SCHED_RR, see dnl http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html dnl but this test verifies the guarantee regardless of TPS and regardless of dnl scheduling policy. dnl Glibc currently does not provide this guarantee, see dnl https://sourceware.org/bugzilla/show_bug.cgi?id=13701 AC_DEFUN([gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER], [ AC_REQUIRE([gl_THREADLIB_EARLY]) AC_CACHE_CHECK([whether pthread_rwlock_rdlock prefers a writer to a reader], [gl_cv_pthread_rwlock_rdlock_prefer_writer], [save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (exit (10 + (n))) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static pthread_rwlock_t lock; static pthread_t reader1; static pthread_t writer; static pthread_t reader2; static pthread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static pthread_mutex_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9: The second reader thread requests the lock. */ err = pthread_rwlock_tryrdlock (&lock); if (err == 0) FAILURE (); else if (err != EBUSY) UNEXPECTED (9); /* Step 10: Launch a timer, to test whether the next call blocks. */ if (pthread_create (&timer, NULL, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = pthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (pthread_create (&reader2, NULL, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (pthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = pthread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (pthread_rwlock_init (&lock, NULL)) UNEXPECTED (1); if (pthread_mutex_init (&baton, NULL)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (pthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (pthread_create (&writer, NULL, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } ]])], [gl_cv_pthread_rwlock_rdlock_prefer_writer=yes], [gl_cv_pthread_rwlock_rdlock_prefer_writer=no], [gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes"]) LIBS="$save_LIBS" ]) case "$gl_cv_pthread_rwlock_rdlock_prefer_writer" in *yes) AC_DEFINE([HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER], [1], [Define if the 'pthread_rwlock_rdlock' function prefers a writer to a reader.]) ;; esac ]) gsasl-1.8.1/m4/ungetc.m40000644000000000000000000000456013516251576011610 00000000000000# ungetc.m4 serial 7 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether ungetc works on arbitrary bytes], [gl_cv_func_ungetc_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include ]], [FILE *f; if (!(f = fopen ("conftest.tmp", "w+"))) return 1; if (fputs ("abc", f) < 0) { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != 'b') { fclose (f); return 4; } if (ungetc ('d', f) != 'd') { fclose (f); return 5; } if (ftell (f) != 1) { fclose (f); return 6; } if (fgetc (f) != 'd') { fclose (f); return 7; } if (ftell (f) != 2) { fclose (f); return 8; } if (fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 9; } if (ftell (f) != 2) { fclose (f); return 10; } if (fgetc (f) != 'c') { fclose (f); return 11; } fclose (f); remove ("conftest.tmp");])], [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on bionic systems. *-android*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_ungetc_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_ungetc_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_ungetc_works" in *yes) ;; *) AC_DEFINE([FUNC_UNGETC_BROKEN], [1], [Define to 1 if ungetc is broken when used on arbitrary bytes.]) ;; esac ]) gsasl-1.8.1/m4/memchr.m40000644000000000000000000000674713516251575011606 00000000000000# memchr.m4 serial 14 dnl Copyright (C) 2002-2004, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Check for prerequisites for memory fence checks. gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) m4_ifdef([gl_FUNC_MEMCHR_OBSOLETE], [ dnl These days, we assume memchr is present. But if support for old dnl platforms is desired: AC_CHECK_FUNCS_ONCE([memchr]) if test $ac_cv_func_memchr = no; then HAVE_MEMCHR=0 fi ]) if test $HAVE_MEMCHR = 1; then # Detect platform-specific bugs in some versions of glibc: # memchr should not dereference anything with length 0 # https://bugzilla.redhat.com/show_bug.cgi?id=499689 # memchr should not dereference overestimated length after a match # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 # https://sourceware.org/bugzilla/show_bug.cgi?id=10162 # memchr should cast the second argument to 'unsigned char'. # This bug exists in Android 4.3. # Assume that memchr works on platforms that lack mprotect. AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #if HAVE_SYS_MMAN_H # include # include # include # include # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif ]], [[ int result = 0; char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { int pagesize = getpagesize (); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) fence = two_pages + pagesize; } #endif if (fence) { if (memchr (fence, 0, 0)) result |= 1; strcpy (fence - 9, "12345678"); if (memchr (fence - 9, 0, 79) != fence - 1) result |= 2; if (memchr (fence - 1, 0, 3) != fence - 1) result |= 4; } /* Test against bug on Android 4.3. */ { char input[3]; input[0] = 'a'; input[1] = 'b'; input[2] = 'c'; if (memchr (input, 0x789abc00 | 'b', 3) != input + 1) result |= 8; } return result; ]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no], [case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_memchr_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_memchr_works="guessing yes" ;; # Be pessimistic for now. *) gl_cv_func_memchr_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_memchr_works" in *yes) ;; *) REPLACE_MEMCHR=1 ;; esac fi ]) # Prerequisites of lib/memchr.c. AC_DEFUN([gl_PREREQ_MEMCHR], [ AC_CHECK_HEADERS([bp-sym.h]) ]) gsasl-1.8.1/m4/stdio_h.m40000644000000000000000000002522713516251576011757 00000000000000# stdio_h.m4 serial 49 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_STDIO_H], [ AH_VERBATIM([MINGW_ANSI_STDIO], [/* Use GNU style printf and scanf. */ #ifndef __USE_MINGW_ANSI_STDIO # undef __USE_MINGW_ANSI_STDIO #endif ]) AC_DEFINE([__USE_MINGW_ANSI_STDIO]) AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_NEXT_HEADERS([stdio.h]) dnl Determine whether __USE_MINGW_ANSI_STDIO makes printf and dnl inttypes.h behave like gnu instead of system; we must give our dnl printf wrapper the right attribute to match. AC_CACHE_CHECK([which flavor of printf attribute matches inttypes macros], [gl_cv_func_printf_attribute_flavor], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #define __STDC_FORMAT_MACROS 1 #include #include /* For non-mingw systems, compilation will trivially succeed. For mingw, compilation will succeed for older mingw (system printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */ #if (defined _WIN32 && ! defined __CYGWIN__) && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1]; #endif ]])], [gl_cv_func_printf_attribute_flavor=system], [gl_cv_func_printf_attribute_flavor=gnu])]) if test "$gl_cv_func_printf_attribute_flavor" = gnu; then AC_DEFINE([GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU], [1], [Define to 1 if printf and friends should be labeled with attribute "__gnu_printf__" instead of "__printf__"]) fi dnl No need to create extra modules for these functions. Everyone who uses dnl likely needs them. GNULIB_FSCANF=1 gl_MODULE_INDICATOR([fscanf]) GNULIB_SCANF=1 gl_MODULE_INDICATOR([scanf]) GNULIB_FGETC=1 GNULIB_GETC=1 GNULIB_GETCHAR=1 GNULIB_FGETS=1 GNULIB_FREAD=1 dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c" dnl "expected source file, required through AC_LIBSOURCES, not found". It is dnl also an optimization, to avoid performing a configure check whose result dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING dnl or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then REPLACE_STDIO_READ_FUNCS=1 AC_LIBOBJ([stdio-read]) fi ]) dnl No need to create extra modules for these functions. Everyone who uses dnl likely needs them. GNULIB_FPRINTF=1 GNULIB_PRINTF=1 GNULIB_VFPRINTF=1 GNULIB_VPRINTF=1 GNULIB_FPUTC=1 GNULIB_PUTC=1 GNULIB_PUTCHAR=1 GNULIB_FPUTS=1 GNULIB_PUTS=1 GNULIB_FWRITE=1 dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" dnl "expected source file, required through AC_LIBSOURCES, not found". It is dnl also an optimization, to avoid performing a configure check whose result dnl is not used. But it does not make the test of GNULIB_STDIO_H_SIGPIPE or dnl GNULIB_SIGPIPE redundant. m4_ifdef([gl_SIGNAL_SIGPIPE], [ gl_SIGNAL_SIGPIPE if test $gl_cv_header_signal_h_SIGPIPE != yes; then REPLACE_STDIO_WRITE_FUNCS=1 AC_LIBOBJ([stdio-write]) fi ]) dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" dnl "expected source file, required through AC_LIBSOURCES, not found". It is dnl also an optimization, to avoid performing a configure check whose result dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING dnl or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then REPLACE_STDIO_WRITE_FUNCS=1 AC_LIBOBJ([stdio-write]) fi ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by both C89 and C11. gl_WARN_ON_USE_PREPARE([[#include ]], [dprintf fpurge fseeko ftello getdelim getline gets pclose popen renameat snprintf tmpfile vdprintf vsnprintf]) ]) AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_STDIO_H_DEFAULTS], [ GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) GNULIB_FDOPEN=0; AC_SUBST([GNULIB_FDOPEN]) GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) GNULIB_FGETC=0; AC_SUBST([GNULIB_FGETC]) GNULIB_FGETS=0; AC_SUBST([GNULIB_FGETS]) GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN]) GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF]) GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX]) GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE]) GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC]) GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS]) GNULIB_FREAD=0; AC_SUBST([GNULIB_FREAD]) GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN]) GNULIB_FSCANF=0; AC_SUBST([GNULIB_FSCANF]) GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK]) GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO]) GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL]) GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO]) GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE]) GNULIB_GETC=0; AC_SUBST([GNULIB_GETC]) GNULIB_GETCHAR=0; AC_SUBST([GNULIB_GETCHAR]) GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM]) GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE]) GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) GNULIB_PCLOSE=0; AC_SUBST([GNULIB_PCLOSE]) GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN]) GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX]) GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC]) GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR]) GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS]) GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE]) GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME]) GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT]) GNULIB_SCANF=0; AC_SUBST([GNULIB_SCANF]) GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF]) GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX]) GNULIB_STDIO_H_NONBLOCKING=0; AC_SUBST([GNULIB_STDIO_H_NONBLOCKING]) GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE]) GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF]) GNULIB_VFSCANF=0; AC_SUBST([GNULIB_VFSCANF]) GNULIB_VSCANF=0; AC_SUBST([GNULIB_VSCANF]) GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF]) GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF]) GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX]) GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF]) GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX]) GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF]) GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO]) HAVE_DECL_FTELLO=1; AC_SUBST([HAVE_DECL_FTELLO]) HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF]) HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF]) HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) HAVE_PCLOSE=1; AC_SUBST([HAVE_PCLOSE]) HAVE_POPEN=1; AC_SUBST([HAVE_POPEN]) HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT]) HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) REPLACE_FDOPEN=0; AC_SUBST([REPLACE_FDOPEN]) REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE]) REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN]) REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK]) REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO]) REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL]) REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO]) REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM]) REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE]) REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF]) REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR]) REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN]) REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF]) REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE]) REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME]) REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT]) REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF]) REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF]) REPLACE_STDIO_READ_FUNCS=0; AC_SUBST([REPLACE_STDIO_READ_FUNCS]) REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE]) REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF]) REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF]) REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF]) REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF]) REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF]) REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF]) ]) gsasl-1.8.1/m4/sys_socket_h.m40000644000000000000000000001464713516251576013027 00000000000000# sys_socket_h.m4 serial 24 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson. AC_DEFUN([gl_HEADER_SYS_SOCKET], [ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl On OSF/1, the functions recv(), send(), recvfrom(), sendto() have dnl old-style declarations (with return type 'int' instead of 'ssize_t') dnl unless _POSIX_PII_SOCKET is defined. case "$host_os" in osf*) AC_DEFINE([_POSIX_PII_SOCKET], [1], [Define to 1 in order to get the POSIX compatible declarations of socket functions.]) ;; esac AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_socket_h_selfcontained], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], [gl_cv_header_sys_socket_h_selfcontained=yes], [gl_cv_header_sys_socket_h_selfcontained=no]) ]) if test $gl_cv_header_sys_socket_h_selfcontained = yes; then dnl If the shutdown function exists, should define dnl SHUT_RD, SHUT_WR, SHUT_RDWR. AC_CHECK_FUNCS([shutdown]) if test $ac_cv_func_shutdown = yes; then AC_CACHE_CHECK([whether defines the SHUT_* macros], [gl_cv_header_sys_socket_h_shut], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };]])], [gl_cv_header_sys_socket_h_shut=yes], [gl_cv_header_sys_socket_h_shut=no]) ]) if test $gl_cv_header_sys_socket_h_shut = no; then SYS_SOCKET_H='sys/socket.h' fi fi fi # We need to check for ws2tcpip.h now. gl_PREREQ_SYS_H_SOCKET AC_CHECK_TYPES([struct sockaddr_storage, sa_family_t],,,[ /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]) if test $ac_cv_type_struct_sockaddr_storage = no; then HAVE_STRUCT_SOCKADDR_STORAGE=0 fi if test $ac_cv_type_sa_family_t = no; then HAVE_SA_FAMILY_T=0 fi if test $ac_cv_type_struct_sockaddr_storage != no; then AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family], [], [HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0], [#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]) fi if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then SYS_SOCKET_H='sys/socket.h' fi gl_PREREQ_SYS_H_WINSOCK2 dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Some systems require prerequisite headers. */ #include #include ]], [socket connect accept bind getpeername getsockname getsockopt listen recv send recvfrom sendto setsockopt shutdown accept4]) ]) AC_DEFUN([gl_PREREQ_SYS_H_SOCKET], [ dnl Check prerequisites of the replacement. AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) gl_CHECK_NEXT_HEADERS([sys/socket.h]) if test $ac_cv_header_sys_socket_h = yes; then HAVE_SYS_SOCKET_H=1 else HAVE_SYS_SOCKET_H=0 fi AC_SUBST([HAVE_SYS_SOCKET_H]) gl_PREREQ_SYS_H_WS2TCPIP ]) # Common prerequisites of the replacement and of the # replacement. # Sets and substitutes HAVE_WINSOCK2_H. AC_DEFUN([gl_PREREQ_SYS_H_WINSOCK2], [ m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) AC_CHECK_HEADERS_ONCE([sys/socket.h]) if test $ac_cv_header_sys_socket_h != yes; then dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make dnl the check for those headers unconditional; yet cygwin reports dnl that the headers are present but cannot be compiled (since on dnl cygwin, all socket information should come from sys/socket.h). AC_CHECK_HEADERS([winsock2.h]) fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi AC_SUBST([HAVE_WINSOCK2_H]) ]) # Common prerequisites of the replacement and of the # replacement. # Sets and substitutes HAVE_WS2TCPIP_H. AC_DEFUN([gl_PREREQ_SYS_H_WS2TCPIP], [ AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi AC_SUBST([HAVE_WS2TCPIP_H]) ]) AC_DEFUN([gl_SYS_SOCKET_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_SOCKET_H_DEFAULTS], [ GNULIB_SOCKET=0; AC_SUBST([GNULIB_SOCKET]) GNULIB_CONNECT=0; AC_SUBST([GNULIB_CONNECT]) GNULIB_ACCEPT=0; AC_SUBST([GNULIB_ACCEPT]) GNULIB_BIND=0; AC_SUBST([GNULIB_BIND]) GNULIB_GETPEERNAME=0; AC_SUBST([GNULIB_GETPEERNAME]) GNULIB_GETSOCKNAME=0; AC_SUBST([GNULIB_GETSOCKNAME]) GNULIB_GETSOCKOPT=0; AC_SUBST([GNULIB_GETSOCKOPT]) GNULIB_LISTEN=0; AC_SUBST([GNULIB_LISTEN]) GNULIB_RECV=0; AC_SUBST([GNULIB_RECV]) GNULIB_SEND=0; AC_SUBST([GNULIB_SEND]) GNULIB_RECVFROM=0; AC_SUBST([GNULIB_RECVFROM]) GNULIB_SENDTO=0; AC_SUBST([GNULIB_SENDTO]) GNULIB_SETSOCKOPT=0; AC_SUBST([GNULIB_SETSOCKOPT]) GNULIB_SHUTDOWN=0; AC_SUBST([GNULIB_SHUTDOWN]) GNULIB_ACCEPT4=0; AC_SUBST([GNULIB_ACCEPT4]) HAVE_STRUCT_SOCKADDR_STORAGE=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE]) HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY]) HAVE_SA_FAMILY_T=1; AC_SUBST([HAVE_SA_FAMILY_T]) HAVE_ACCEPT4=1; AC_SUBST([HAVE_ACCEPT4]) ]) gsasl-1.8.1/m4/sleep.m40000644000000000000000000000444413516251573011431 00000000000000# sleep.m4 serial 10 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SLEEP], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl We expect to see the declaration of sleep() in a header file. dnl Older versions of mingw have a sleep() function that is an alias to dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep(): dnl it takes the number of milliseconds as argument and returns void. dnl mingw does not declare this function. AC_CHECK_DECLS([sleep], , , [[#include ]]) AC_CHECK_FUNCS_ONCE([sleep]) if test $ac_cv_have_decl_sleep != yes; then HAVE_SLEEP=0 else dnl Cygwin 1.5.x has a bug where sleep can't exceed 49.7 days. AC_CACHE_CHECK([for working sleep], [gl_cv_func_sleep_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #include static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (2); } ]], [[ /* Failure to compile this test due to missing alarm is okay, since all such platforms (mingw) also lack sleep. */ unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ unsigned int remaining; signal (SIGALRM, handle_alarm); alarm (1); remaining = sleep (pentecost); if (remaining > pentecost) return 3; if (remaining <= pentecost - 10) return 4; return 0; ]])], [gl_cv_func_sleep_works=yes], [gl_cv_func_sleep_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_sleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_sleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_sleep_works="guessing no" ;; esac ])]) case "$gl_cv_func_sleep_works" in *yes) ;; *) REPLACE_SLEEP=1 ;; esac fi ]) gsasl-1.8.1/m4/symlink.m40000644000000000000000000000374013516251576012010 00000000000000# serial 8 # See if we need to provide symlink replacement. dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Written by Eric Blake. AC_DEFUN([gl_FUNC_SYMLINK], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([symlink]) dnl The best we can do on mingw is provide a dummy that always fails, so dnl that compilation can proceed with fewer ifdefs. On FreeBSD 7.2, AIX 7.1, dnl and Solaris 9, we want to fix a bug with trailing slash handling. if test $ac_cv_func_symlink = no; then HAVE_SYMLINK=0 else AC_CACHE_CHECK([whether symlink handles trailing slash correctly], [gl_cv_func_symlink_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int result = 0; if (!symlink ("a", "conftest.link/")) result |= 1; if (symlink ("conftest.f", "conftest.lnk2")) result |= 2; else if (!symlink ("a", "conftest.lnk2/")) result |= 4; return result; ]])], [gl_cv_func_symlink_works=yes], [gl_cv_func_symlink_works=no], [case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_symlink_works="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_symlink_works="guessing no" ;; esac ]) rm -f conftest.f conftest.link conftest.lnk2]) case "$gl_cv_func_symlink_works" in *yes) ;; *) REPLACE_SYMLINK=1 ;; esac fi ]) gsasl-1.8.1/m4/inet_pton.m40000644000000000000000000000446013516251575012320 00000000000000# inet_pton.m4 serial 19 dnl Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_INET_PTON], [ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) dnl Persuade Solaris to declare inet_pton. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_C_RESTRICT]) dnl Most platforms that provide inet_pton define it in libc. dnl Solaris 8..10 provide inet_pton in libnsl instead. dnl Solaris 2.6..7 provide inet_pton in libresolv instead. dnl Haiku provides it in -lnetwork. dnl Native Windows provides it in -lws2_32 instead, with a declaration in dnl , and it uses stdcall calling convention, not cdecl dnl (hence we cannot use AC_CHECK_FUNCS, AC_SEARCH_LIBS to find it). HAVE_INET_PTON=1 INET_PTON_LIB= gl_PREREQ_SYS_H_WINSOCK2 if test $HAVE_WINSOCK2_H = 1; then dnl It needs to be overridden, because the stdcall calling convention dnl is not compliant with POSIX. Set REPLACE_INET_PTON in order to avoid dnl a name conflict at the linker level, even though the header file dnl declares inet_pton only if _WIN32_WINNT >= 0x0600. REPLACE_INET_PTON=1 AC_CHECK_DECLS([inet_pton],,, [[#include ]]) if test $ac_cv_have_decl_inet_pton = yes; then INET_PTON_LIB="-lws2_32" else HAVE_DECL_INET_PTON=0 fi else gl_save_LIBS=$LIBS AC_SEARCH_LIBS([inet_pton], [nsl resolv network], [], [AC_CHECK_FUNCS([inet_pton]) if test $ac_cv_func_inet_pton = no; then HAVE_INET_PTON=0 fi ]) LIBS=$gl_save_LIBS if test "$ac_cv_search_inet_pton" != "no" \ && test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi AC_CHECK_HEADERS_ONCE([netdb.h]) AC_CHECK_DECLS([inet_pton],,, [[#include #if HAVE_NETDB_H # include #endif ]]) if test $ac_cv_have_decl_inet_pton = no; then HAVE_DECL_INET_PTON=0 fi fi AC_SUBST([INET_PTON_LIB]) ]) # Prerequisites of lib/inet_pton.c. AC_DEFUN([gl_PREREQ_INET_PTON], [ AC_REQUIRE([gl_SOCKET_FAMILIES]) ]) gsasl-1.8.1/m4/getdtablesize.m40000644000000000000000000000474013516251575013150 00000000000000# getdtablesize.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_GETDTABLESIZE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([getdtablesize]) AC_CHECK_DECLS_ONCE([getdtablesize]) if test $ac_cv_func_getdtablesize = yes && test $ac_cv_have_decl_getdtablesize = yes; then AC_CACHE_CHECK([whether getdtablesize works], [gl_cv_func_getdtablesize_works], [dnl There are two concepts: the "maximum possible file descriptor value + 1" dnl and the "maximum number of open file descriptors in a process". dnl Per SUSv2 and POSIX, getdtablesize() should return the first one. dnl On most platforms, the first and the second concept are the same. dnl On OpenVMS, however, they are different and getdtablesize() returns dnl the second one; thus the test below fails. But we don't care dnl because there's no good way to write a replacement getdtablesize(). case "$host_os" in vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;; *) dnl Cygwin 1.7.25 automatically increases the RLIMIT_NOFILE soft dnl limit up to an unchangeable hard limit; all other platforms dnl correctly require setrlimit before getdtablesize() can report dnl a larger value. AC_RUN_IFELSE([ AC_LANG_PROGRAM([[#include ]], [int size = getdtablesize(); if (dup2 (0, getdtablesize()) != -1) return 1; if (size != getdtablesize()) return 2; ])], [gl_cv_func_getdtablesize_works=yes], [gl_cv_func_getdtablesize_works=no], [case "$host_os" in cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows gl_cv_func_getdtablesize_works="guessing no" ;; *) gl_cv_func_getdtablesize_works="guessing yes" ;; esac ]) ;; esac ]) case "$gl_cv_func_getdtablesize_works" in *yes | "no (limitation)") ;; *) REPLACE_GETDTABLESIZE=1 ;; esac else HAVE_GETDTABLESIZE=0 fi ]) # Prerequisites of lib/getdtablesize.c. AC_DEFUN([gl_PREREQ_GETDTABLESIZE], [:]) gsasl-1.8.1/m4/signalblocking.m40000644000000000000000000000164113516251573013303 00000000000000# signalblocking.m4 serial 14 dnl Copyright (C) 2001-2002, 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Determine available signal blocking primitives. Three different APIs exist: # 1) POSIX: sigemptyset, sigaddset, sigprocmask # 2) SYSV: sighold, sigrelse # 3) BSD: sigblock, sigsetmask # For simplicity, here we check only for the POSIX signal blocking. AC_DEFUN([gl_SIGNALBLOCKING], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) if test $gl_cv_type_sigset_t = yes; then AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1]) fi if test -z "$gl_cv_func_sigprocmask"; then HAVE_POSIX_SIGNALBLOCKING=0 fi ]) # Prerequisites of lib/sigprocmask.c. AC_DEFUN([gl_PREREQ_SIGPROCMASK], [:]) gsasl-1.8.1/m4/sched_h.m40000644000000000000000000000517413516251573011717 00000000000000# sched_h.m4 serial 12 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Bruno Haible. AC_DEFUN([gl_SCHED_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_SCHED_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_HEADERS_ONCE([sys/cdefs.h]) AC_CHECK_HEADERS([sched.h], [], [], [[#if HAVE_SYS_CDEFS_H #include #endif ]]) gl_NEXT_HEADERS([sched.h]) if test "$ac_cv_header_sched_h" = yes; then HAVE_SCHED_H=1 else HAVE_SCHED_H=0 fi AC_SUBST([HAVE_SCHED_H]) if test "$HAVE_SCHED_H" = 1; then AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [HAVE_STRUCT_SCHED_PARAM=0], [[#if HAVE_SYS_CDEFS_H #include #endif #include ]]) else HAVE_STRUCT_SCHED_PARAM=0 case "$host_os" in os2*) dnl On OS/2 kLIBC, struct sched_param is in spawn.h. AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [], [#include ]) ;; vms) dnl On OpenVMS 7.2 or newer, struct sched_param is in pthread.h. AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [], [#include ]) ;; esac fi AC_SUBST([HAVE_STRUCT_SCHED_PARAM]) if test "$ac_cv_header_sys_cdefs_h" = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi AC_SUBST([HAVE_SYS_CDEFS_H]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [sched_yield]) ]) AC_DEFUN([gl_SCHED_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SCHED_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SCHED_H_DEFAULTS], [ GNULIB_SCHED_YIELD=0; AC_SUBST([GNULIB_SCHED_YIELD]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_SCHED_YIELD=1; AC_SUBST([HAVE_SCHED_YIELD]) REPLACE_SCHED_YIELD=0; AC_SUBST([REPLACE_SCHED_YIELD]) ]) gsasl-1.8.1/m4/vasprintf.m40000644000000000000000000000210013516251576012323 00000000000000# vasprintf.m4 serial 6 dnl Copyright (C) 2002-2003, 2006-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_VASPRINTF], [ AC_CHECK_FUNCS([vasprintf]) if test $ac_cv_func_vasprintf = no; then gl_REPLACE_VASPRINTF fi ]) AC_DEFUN([gl_REPLACE_VASPRINTF], [ AC_LIBOBJ([vasprintf]) AC_LIBOBJ([asprintf]) AC_REQUIRE([gl_STDIO_H_DEFAULTS]) if test $ac_cv_func_vasprintf = yes; then REPLACE_VASPRINTF=1 else HAVE_VASPRINTF=0 fi gl_PREREQ_VASPRINTF_H gl_PREREQ_VASPRINTF gl_PREREQ_ASPRINTF ]) # Prerequisites of the vasprintf portion of lib/stdio.h. AC_DEFUN([gl_PREREQ_VASPRINTF_H], [ dnl Persuade glibc to declare asprintf() and vasprintf(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ]) # Prerequisites of lib/vasprintf.c. AC_DEFUN([gl_PREREQ_VASPRINTF], [ ]) # Prerequisites of lib/asprintf.c. AC_DEFUN([gl_PREREQ_ASPRINTF], [ ]) gsasl-1.8.1/m4/longlong.m40000644000000000000000000001111613516251575012134 00000000000000# longlong.m4 serial 18 dnl Copyright (C) 1999-2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. AC_PREREQ([2.62]) # Define HAVE_LONG_LONG_INT if 'long long int' works. # This can be faster than what's in Autoconf 2.62 through 2.68. # Note: If the type 'long long int' exists but is only 32 bits large # (as on some very old compilers), HAVE_LONG_LONG_INT will not be # defined. In this case you can treat 'long long int' like 'long int'. AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], [ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int if test $ac_cv_type_long_long_int = yes; then dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. dnl If cross compiling, assume the bug is not important, since dnl nobody cross compiles for this platform as far as we know. AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[@%:@include @%:@ifndef LLONG_MAX @%:@ define HALF \ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) @%:@ define LLONG_MAX (HALF - 1 + HALF) @%:@endif]], [[long long int n = 1; int i; for (i = 0; ; i++) { long long int m = n << i; if (m >> i != n) return 1; if (LLONG_MAX / 2 < m) break; } return 0;]])], [], [ac_cv_type_long_long_int=no], [:]) fi fi]) if test $ac_cv_type_long_long_int = yes; then AC_DEFINE([HAVE_LONG_LONG_INT], [1], [Define to 1 if the system has the type 'long long int'.]) fi ]) # Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. # This can be faster than what's in Autoconf 2.62 through 2.68. # Note: If the type 'unsigned long long int' exists but is only 32 bits # large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT # will not be defined. In this case you can treat 'unsigned long long int' # like 'unsigned long int'. AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ AC_CACHE_CHECK([for unsigned long long int], [ac_cv_type_unsigned_long_long_int], [ac_cv_type_unsigned_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then AC_LINK_IFELSE( [_AC_TYPE_LONG_LONG_SNIPPET], [], [ac_cv_type_unsigned_long_long_int=no]) fi]) if test $ac_cv_type_unsigned_long_long_int = yes; then AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], [Define to 1 if the system has the type 'unsigned long long int'.]) fi ]) # Expands to a C program that can be used to test for simultaneous support # of 'long long' and 'unsigned long long'. We don't want to say that # 'long long' is available if 'unsigned long long' is not, or vice versa, # because too many programs rely on the symmetry between signed and unsigned # integer types (excluding 'bool'). AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [ AC_LANG_PROGRAM( [[/* For now, do not test the preprocessor; as of 2007 there are too many implementations with broken preprocessors. Perhaps this can be revisited in 2012. In the meantime, code should not expect #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63;]], [[/* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | (llmax / ll) | (llmax % ll) | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | (ullmax / ull) | (ullmax % ull));]]) ]) gsasl-1.8.1/m4/gtk-doc.m40000644000000000000000000001066013521000261011624 00000000000000# -*- mode: autoconf -*- # # gtk-doc.m4 - configure macro to check for gtk-doc # Copyright (C) 2003 James Henstridge # 2007-2017 Stefan Sauer # # 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 3 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, see . # # As a special exception, the above 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. # serial 2 dnl Usage: dnl GTK_DOC_CHECK([minimum-gtk-doc-version]) AC_DEFUN([GTK_DOC_CHECK], [ AC_REQUIRE([PKG_PROG_PKG_CONFIG]) AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first ifelse([$1],[],[gtk_doc_requires="gtk-doc"],[gtk_doc_requires="gtk-doc >= $1"]) AC_MSG_CHECKING([for gtk-doc]) PKG_CHECK_EXISTS([$gtk_doc_requires],[have_gtk_doc=yes],[have_gtk_doc=no]) AC_MSG_RESULT($have_gtk_doc) if test "$have_gtk_doc" = "no"; then AC_MSG_WARN([ You will not be able to create source packages with 'make dist' because $gtk_doc_requires is not found.]) fi dnl check for tools we added during development dnl Use AC_CHECK_PROG to avoid the check target using an absolute path that dnl may not be writable by the user. Currently, automake requires that the dnl test name must end in '.test'. dnl https://bugzilla.gnome.org/show_bug.cgi?id=701638 AC_CHECK_PROG([GTKDOC_CHECK],[gtkdoc-check],[gtkdoc-check.test]) AC_PATH_PROG([GTKDOC_CHECK_PATH],[gtkdoc-check]) AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true]) AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf]) dnl for overriding the documentation installation directory AC_ARG_WITH([html-dir], AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),, [with_html_dir='${datadir}/gtk-doc/html']) HTML_DIR="$with_html_dir" AC_SUBST([HTML_DIR]) dnl enable/disable documentation building AC_ARG_ENABLE([gtk-doc], AS_HELP_STRING([--enable-gtk-doc], [use gtk-doc to build documentation [[default=no]]]),, [enable_gtk_doc=no]) AC_MSG_CHECKING([whether to build gtk-doc documentation]) AC_MSG_RESULT($enable_gtk_doc) if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then AC_MSG_ERROR([ You must have $gtk_doc_requires installed to build documentation for $PACKAGE_NAME. Please install gtk-doc or disable building the documentation by adding '--disable-gtk-doc' to '[$]0'.]) fi dnl don't check for glib if we build glib if test "x$PACKAGE_NAME" != "xglib"; then dnl don't fail if someone does not have glib PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,[:]) fi dnl enable/disable output formats AC_ARG_ENABLE([gtk-doc-html], AS_HELP_STRING([--enable-gtk-doc-html], [build documentation in html format [[default=yes]]]),, [enable_gtk_doc_html=yes]) AC_ARG_ENABLE([gtk-doc-pdf], AS_HELP_STRING([--enable-gtk-doc-pdf], [build documentation in pdf format [[default=no]]]),, [enable_gtk_doc_pdf=no]) if test -z "$GTKDOC_MKPDF"; then enable_gtk_doc_pdf=no fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi AC_SUBST([AM_DEFAULT_VERBOSITY]) AM_CONDITIONAL([HAVE_GTK_DOC], [test x$have_gtk_doc = xyes]) AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes]) AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes]) AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes]) AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"]) AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"]) ]) gsasl-1.8.1/m4/wctype_h.m40000644000000000000000000001557513516251576012155 00000000000000# wctype_h.m4 serial 21 dnl A placeholder for ISO C99 , for platforms that lack it. dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. AC_DEFUN([gl_WCTYPE_H], [ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([iswcntrl]) if test $ac_cv_func_iswcntrl = yes; then HAVE_ISWCNTRL=1 else HAVE_ISWCNTRL=0 fi AC_SUBST([HAVE_ISWCNTRL]) AC_REQUIRE([gt_TYPE_WINT_T]) if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi AC_SUBST([HAVE_WINT_T]) AC_REQUIRE([gl_TYPE_WINT_T_PREREQ]) gl_CHECK_NEXT_HEADERS([wctype.h]) if test $ac_cv_header_wctype_h = yes; then if test $ac_cv_func_iswcntrl = yes; then dnl Linux libc5 has an iswprint function that returns 0 for all arguments. dnl The other functions are likely broken in the same way. AC_CACHE_CHECK([whether iswcntrl works], [gl_cv_func_iswcntrl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #include int main () { return iswprint ('x') == 0; } ]])], [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no], [dnl Guess no on Linux libc5, yes otherwise. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #if __GNU_LIBRARY__ == 1 Linux libc5 i18n is broken. #endif]], [])], [gl_cv_func_iswcntrl_works="guessing yes"], [gl_cv_func_iswcntrl_works="guessing no"]) ]) ]) fi HAVE_WCTYPE_H=1 else HAVE_WCTYPE_H=0 fi AC_SUBST([HAVE_WCTYPE_H]) case "$gl_cv_func_iswcntrl_works" in *yes) REPLACE_ISWCNTRL=0 ;; *) REPLACE_ISWCNTRL=1 ;; esac AC_SUBST([REPLACE_ISWCNTRL]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then dnl Redefine all of iswcntrl, ..., iswxdigit in . : fi if test $REPLACE_ISWCNTRL = 1; then REPLACE_TOWLOWER=1 else AC_CHECK_FUNCS([towlower]) if test $ac_cv_func_towlower = yes; then REPLACE_TOWLOWER=0 else AC_CHECK_DECLS([towlower],,, [[/* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #if HAVE_WCTYPE_H # include #endif ]]) if test $ac_cv_have_decl_towlower = yes; then dnl On Minix 3.1.8, the system's declares towlower() and dnl towupper() although it does not have the functions. Avoid a dnl collision with gnulib's replacement. REPLACE_TOWLOWER=1 else REPLACE_TOWLOWER=0 fi fi fi AC_SUBST([REPLACE_TOWLOWER]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then dnl Redefine towlower, towupper in . : fi dnl We assume that the wctype() and iswctype() functions exist if and only dnl if the type wctype_t is defined in or in if that dnl exists. dnl HP-UX 11.00 declares all these in and lacks . AC_CACHE_CHECK([for wctype_t], [gl_cv_type_wctype_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[/* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #if HAVE_WCTYPE_H # include #endif wctype_t a; ]], [[]])], [gl_cv_type_wctype_t=yes], [gl_cv_type_wctype_t=no]) ]) if test $gl_cv_type_wctype_t = no; then HAVE_WCTYPE_T=0 fi dnl We assume that the wctrans() and towctrans() functions exist if and only dnl if the type wctrans_t is defined in . AC_CACHE_CHECK([for wctrans_t], [gl_cv_type_wctrans_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[/* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #include wctrans_t a; ]], [[]])], [gl_cv_type_wctrans_t=yes], [gl_cv_type_wctrans_t=no]) ]) if test $gl_cv_type_wctrans_t = no; then HAVE_WCTRANS_T=0 fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include # include #endif #include ]], [wctype iswctype wctrans towctrans ]) ]) AC_DEFUN([gl_WCTYPE_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_WCTYPE_H_DEFAULTS], [ GNULIB_ISWBLANK=0; AC_SUBST([GNULIB_ISWBLANK]) GNULIB_WCTYPE=0; AC_SUBST([GNULIB_WCTYPE]) GNULIB_ISWCTYPE=0; AC_SUBST([GNULIB_ISWCTYPE]) GNULIB_WCTRANS=0; AC_SUBST([GNULIB_WCTRANS]) GNULIB_TOWCTRANS=0; AC_SUBST([GNULIB_TOWCTRANS]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_ISWBLANK=1; AC_SUBST([HAVE_ISWBLANK]) HAVE_WCTYPE_T=1; AC_SUBST([HAVE_WCTYPE_T]) HAVE_WCTRANS_T=1; AC_SUBST([HAVE_WCTRANS_T]) REPLACE_ISWBLANK=0; AC_SUBST([REPLACE_ISWBLANK]) ]) gsasl-1.8.1/m4/sockpfaf.m40000644000000000000000000000500013516251576012105 00000000000000# sockpfaf.m4 serial 9 dnl Copyright (C) 2004, 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Test for some common socket protocol families (PF_INET, PF_INET6, ...) dnl and some common address families (AF_INET, AF_INET6, ...). dnl This test assumes that a system supports an address family if and only if dnl it supports the corresponding protocol family. dnl From Bruno Haible. AC_DEFUN([gl_SOCKET_FAMILIES], [ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_CHECK_HEADERS_ONCE([netinet/in.h]) AC_CACHE_CHECK([for IPv4 sockets], [gl_cv_socket_ipv4], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif]], [[int x = AF_INET; struct in_addr y; struct sockaddr_in z; if (&x && &y && &z) return 0;]])], gl_cv_socket_ipv4=yes, gl_cv_socket_ipv4=no)]) if test $gl_cv_socket_ipv4 = yes; then AC_DEFINE([HAVE_IPV4], [1], [Define to 1 if defines AF_INET.]) fi AC_CACHE_CHECK([for IPv6 sockets], [gl_cv_socket_ipv6], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif]], [[int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; if (&x && &y && &z) return 0;]])], gl_cv_socket_ipv6=yes, gl_cv_socket_ipv6=no)]) if test $gl_cv_socket_ipv6 = yes; then AC_DEFINE([HAVE_IPV6], [1], [Define to 1 if defines AF_INET6.]) fi ]) AC_DEFUN([gl_SOCKET_FAMILY_UNIX], [ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_CHECK_HEADERS_ONCE([sys/un.h]) AC_CACHE_CHECK([for UNIX domain sockets], [gl_cv_socket_unix], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_SYS_UN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif]], [[int x = AF_UNIX; struct sockaddr_un y; if (&x && &y) return 0;]])], gl_cv_socket_unix=yes, gl_cv_socket_unix=no)]) if test $gl_cv_socket_unix = yes; then AC_DEFINE([HAVE_UNIXSOCKET], [1], [Define to 1 if defines AF_UNIX.]) fi ]) gsasl-1.8.1/m4/intmax_t.m40000644000000000000000000000416613516251575012147 00000000000000# intmax_t.m4 serial 8 dnl Copyright (C) 1997-2004, 2006-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. AC_PREREQ([2.53]) # Define intmax_t to 'long' or 'long long' # if it is not already defined in or . AC_DEFUN([gl_AC_TYPE_INTMAX_T], [ dnl For simplicity, we assume that a header file defines 'intmax_t' if and dnl only if it defines 'uintmax_t'. AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) test $ac_cv_type_long_long_int = yes \ && ac_type='long long' \ || ac_type='long' AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], [Define to long or long long if and don't define.]) else AC_DEFINE([HAVE_INTMAX_T], [1], [Define if you have the 'intmax_t' type in or .]) fi ]) dnl An alternative would be to explicitly test for 'intmax_t'. AC_DEFUN([gt_AC_TYPE_INTMAX_T], [ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif ]], [[intmax_t x = -1; return !x;]])], [gt_cv_c_intmax_t=yes], [gt_cv_c_intmax_t=no])]) if test $gt_cv_c_intmax_t = yes; then AC_DEFINE([HAVE_INTMAX_T], [1], [Define if you have the 'intmax_t' type in or .]) else AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) test $ac_cv_type_long_long_int = yes \ && ac_type='long long' \ || ac_type='long' AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], [Define to long or long long if and don't define.]) fi ]) gsasl-1.8.1/m4/lstat.m40000644000000000000000000000541313516251575011447 00000000000000# serial 32 # Copyright (C) 1997-2001, 2003-2019 Free Software Foundation, Inc. # # 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. dnl From Jim Meyering. AC_DEFUN([gl_FUNC_LSTAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) dnl If lstat does not exist, the replacement does dnl "#define lstat stat", and lstat.c is a no-op. AC_CHECK_FUNCS_ONCE([lstat]) if test $ac_cv_func_lstat = yes; then AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) case $host_os,$gl_cv_func_lstat_dereferences_slashed_symlink in solaris* | *no) REPLACE_LSTAT=1 ;; esac else HAVE_LSTAT=0 fi ]) # Prerequisites of lib/lstat.c. AC_DEFUN([gl_PREREQ_LSTAT], [:]) AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], [ dnl We don't use AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK any more, because it dnl is no longer maintained in Autoconf and because it invokes AC_LIBOBJ. AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether lstat correctly handles trailing slash], [gl_cv_func_lstat_dereferences_slashed_symlink], [rm -f conftest.sym conftest.file echo >conftest.file AC_RUN_IFELSE( [AC_LANG_PROGRAM( [AC_INCLUDES_DEFAULT], [[struct stat sbuf; if (symlink ("conftest.file", "conftest.sym") != 0) return 1; /* Linux will dereference the symlink and fail, as required by POSIX. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; ]])], [gl_cv_func_lstat_dereferences_slashed_symlink=yes], [gl_cv_func_lstat_dereferences_slashed_symlink=no], [case "$host_os" in linux-* | linux) # Guess yes on Linux systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; *-gnu* | gnu*) # Guess yes on glibc systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; mingw*) # Guess no on native Windows. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; *) # If we don't know, assume the worst. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; esac ]) rm -f conftest.sym conftest.file ]) case "$gl_cv_func_lstat_dereferences_slashed_symlink" in *yes) AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1], [Define to 1 if 'lstat' dereferences a symlink specified with a trailing slash.]) ;; esac ]) gsasl-1.8.1/m4/unistd_h.m40000644000000000000000000002300613516251576012134 00000000000000# unistd_h.m4 serial 75 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Simon Josefsson, Bruno Haible. AC_DEFUN([gl_UNISTD_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([unistd.h]) if test $ac_cv_header_unistd_h = yes; then HAVE_UNISTD_H=1 else HAVE_UNISTD_H=0 fi AC_SUBST([HAVE_UNISTD_H]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Determine WINDOWS_64_BIT_OFF_T. AC_REQUIRE([gl_TYPE_OFF_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_UNISTD_H # include #endif /* Some systems declare various items in the wrong headers. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include # if defined _WIN32 && ! defined __CYGWIN__ # include # endif #endif ]], [chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getpass getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat truncate ttyname_r unlink unlinkat usleep]) ]) AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_UNISTD_H_DEFAULTS], [ GNULIB_CHDIR=0; AC_SUBST([GNULIB_CHDIR]) GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) GNULIB_COPY_FILE_RANGE=0; AC_SUBST([GNULIB_COPY_FILE_RANGE]) GNULIB_DUP=0; AC_SUBST([GNULIB_DUP]) GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3]) GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS]) GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT]) GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT]) GNULIB_FDATASYNC=0; AC_SUBST([GNULIB_FDATASYNC]) GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME]) GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE]) GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS]) GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME]) GNULIB_GETLOGIN=0; AC_SUBST([GNULIB_GETLOGIN]) GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R]) GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE]) GNULIB_GETPASS=0; AC_SUBST([GNULIB_GETPASS]) GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL]) GNULIB_GROUP_MEMBER=0; AC_SUBST([GNULIB_GROUP_MEMBER]) GNULIB_ISATTY=0; AC_SUBST([GNULIB_ISATTY]) GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN]) GNULIB_LINK=0; AC_SUBST([GNULIB_LINK]) GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT]) GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK]) GNULIB_PIPE=0; AC_SUBST([GNULIB_PIPE]) GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2]) GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD]) GNULIB_PWRITE=0; AC_SUBST([GNULIB_PWRITE]) GNULIB_READ=0; AC_SUBST([GNULIB_READ]) GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK]) GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT]) GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR]) GNULIB_SETHOSTNAME=0; AC_SUBST([GNULIB_SETHOSTNAME]) GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP]) GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK]) GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT]) GNULIB_TRUNCATE=0; AC_SUBST([GNULIB_TRUNCATE]) GNULIB_TTYNAME_R=0; AC_SUBST([GNULIB_TTYNAME_R]) GNULIB_UNISTD_H_NONBLOCKING=0; AC_SUBST([GNULIB_UNISTD_H_NONBLOCKING]) GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK]) GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT]) GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP]) GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN]) HAVE_COPY_FILE_RANGE=1; AC_SUBST([HAVE_COPY_FILE_RANGE]) HAVE_DUP2=1; AC_SUBST([HAVE_DUP2]) HAVE_DUP3=1; AC_SUBST([HAVE_DUP3]) HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS]) HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT]) HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR]) HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT]) HAVE_FDATASYNC=1; AC_SUBST([HAVE_FDATASYNC]) HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS]) HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME]) HAVE_GETLOGIN=1; AC_SUBST([HAVE_GETLOGIN]) HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE]) HAVE_GETPASS=1; AC_SUBST([HAVE_GETPASS]) HAVE_GROUP_MEMBER=1; AC_SUBST([HAVE_GROUP_MEMBER]) HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN]) HAVE_LINK=1; AC_SUBST([HAVE_LINK]) HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT]) HAVE_PIPE=1; AC_SUBST([HAVE_PIPE]) HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2]) HAVE_PREAD=1; AC_SUBST([HAVE_PREAD]) HAVE_PWRITE=1; AC_SUBST([HAVE_PWRITE]) HAVE_READLINK=1; AC_SUBST([HAVE_READLINK]) HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT]) HAVE_SETHOSTNAME=1; AC_SUBST([HAVE_SETHOSTNAME]) HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP]) HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK]) HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT]) HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT]) HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP]) HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) HAVE_DECL_FDATASYNC=1; AC_SUBST([HAVE_DECL_FDATASYNC]) HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) HAVE_DECL_GETLOGIN=1; AC_SUBST([HAVE_DECL_GETLOGIN]) HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) HAVE_DECL_SETHOSTNAME=1; AC_SUBST([HAVE_DECL_SETHOSTNAME]) HAVE_DECL_TRUNCATE=1; AC_SUBST([HAVE_DECL_TRUNCATE]) HAVE_DECL_TTYNAME_R=1; AC_SUBST([HAVE_DECL_TTYNAME_R]) HAVE_OS_H=0; AC_SUBST([HAVE_OS_H]) HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H]) REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN]) REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE]) REPLACE_DUP=0; AC_SUBST([REPLACE_DUP]) REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2]) REPLACE_FACCESSAT=0; AC_SUBST([REPLACE_FACCESSAT]) REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT]) REPLACE_FTRUNCATE=0; AC_SUBST([REPLACE_FTRUNCATE]) REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD]) REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME]) REPLACE_GETDTABLESIZE=0; AC_SUBST([REPLACE_GETDTABLESIZE]) REPLACE_GETLOGIN_R=0; AC_SUBST([REPLACE_GETLOGIN_R]) REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS]) REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE]) REPLACE_GETPASS=0; AC_SUBST([REPLACE_GETPASS]) REPLACE_ISATTY=0; AC_SUBST([REPLACE_ISATTY]) REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN]) REPLACE_LINK=0; AC_SUBST([REPLACE_LINK]) REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT]) REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK]) REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD]) REPLACE_PWRITE=0; AC_SUBST([REPLACE_PWRITE]) REPLACE_READ=0; AC_SUBST([REPLACE_READ]) REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK]) REPLACE_READLINKAT=0; AC_SUBST([REPLACE_READLINKAT]) REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR]) REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP]) REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK]) REPLACE_SYMLINKAT=0; AC_SUBST([REPLACE_SYMLINKAT]) REPLACE_TRUNCATE=0; AC_SUBST([REPLACE_TRUNCATE]) REPLACE_TTYNAME_R=0; AC_SUBST([REPLACE_TTYNAME_R]) REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK]) REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT]) REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP]) REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE]) UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) ]) gsasl-1.8.1/m4/ctype.m40000644000000000000000000000177513516251573011451 00000000000000# ctype_h.m4 serial 6 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_CTYPE_H], [ AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_NEXT_HEADERS([ctype.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [isblank]) ]) AC_DEFUN([gl_CTYPE_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_CTYPE_H_DEFAULTS], [ GNULIB_ISBLANK=0; AC_SUBST([GNULIB_ISBLANK]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_ISBLANK=1; AC_SUBST([HAVE_ISBLANK]) ]) gsasl-1.8.1/m4/inet_ntop.m40000644000000000000000000000446513516251575012325 00000000000000# inet_ntop.m4 serial 21 dnl Copyright (C) 2005-2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_INET_NTOP], [ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) dnl Persuade Solaris to declare inet_ntop. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_C_RESTRICT]) dnl Most platforms that provide inet_ntop define it in libc. dnl Solaris 8..10 provide inet_ntop in libnsl instead. dnl Solaris 2.6..7 provide inet_ntop in libresolv instead. dnl Haiku provides it in -lnetwork. dnl Native Windows provides it in -lws2_32 instead, with a declaration in dnl , and it uses stdcall calling convention, not cdecl dnl (hence we cannot use AC_CHECK_FUNCS, AC_SEARCH_LIBS to find it). HAVE_INET_NTOP=1 INET_NTOP_LIB= gl_PREREQ_SYS_H_WINSOCK2 if test $HAVE_WINSOCK2_H = 1; then dnl It needs to be overridden, because the stdcall calling convention dnl is not compliant with POSIX. Set REPLACE_INET_NTOP in order to avoid dnl a name conflict at the linker level, even though the header file dnl declares inet_ntop only if _WIN32_WINNT >= 0x0600. REPLACE_INET_NTOP=1 AC_CHECK_DECLS([inet_ntop],,, [[#include ]]) if test $ac_cv_have_decl_inet_ntop = yes; then INET_NTOP_LIB="-lws2_32" else HAVE_DECL_INET_NTOP=0 fi else gl_save_LIBS=$LIBS AC_SEARCH_LIBS([inet_ntop], [nsl resolv network], [], [AC_CHECK_FUNCS([inet_ntop]) if test $ac_cv_func_inet_ntop = no; then HAVE_INET_NTOP=0 fi ]) LIBS=$gl_save_LIBS if test "$ac_cv_search_inet_ntop" != "no" \ && test "$ac_cv_search_inet_ntop" != "none required"; then INET_NTOP_LIB="$ac_cv_search_inet_ntop" fi AC_CHECK_HEADERS_ONCE([netdb.h]) AC_CHECK_DECLS([inet_ntop],,, [[#include #if HAVE_NETDB_H # include #endif ]]) if test $ac_cv_have_decl_inet_ntop = no; then HAVE_DECL_INET_NTOP=0 fi fi AC_SUBST([INET_NTOP_LIB]) ]) # Prerequisites of lib/inet_ntop.c. AC_DEFUN([gl_PREREQ_INET_NTOP], [ AC_REQUIRE([gl_SOCKET_FAMILIES]) ]) gsasl-1.8.1/m4/iconv.m40000644000000000000000000002300313516251575011431 00000000000000# iconv.m4 serial 21 dnl Copyright (C) 2000-2002, 2007-2014, 2016-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, dnl Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif ]], [[int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 16; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ]])], [am_cv_func_iconv_works=yes], , [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) test "$am_cv_func_iconv_works" = no || break done LIBS="$am_save_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ]) dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to dnl avoid warnings like dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". dnl This is tricky because of the way 'aclocal' is implemented: dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. dnl Otherwise aclocal's initial scan pass would miss the macro definition. dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. dnl Otherwise aclocal would emit many "Use of uninitialized value $1" dnl warnings. m4_define([gl_iconv_AC_DEFUN], m4_version_prereq([2.64], [[AC_DEFUN_ONCE( [$1], [$2])]], [m4_ifdef([gl_00GNULIB], [[AC_DEFUN_ONCE( [$1], [$2])]], [[AC_DEFUN( [$1], [$2])]])])) gl_iconv_AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL([am_cv_proto_iconv], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ]], [[]])], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"]) am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([ $am_cv_proto_iconv]) else dnl When compiling GNU libiconv on a system that does not have iconv yet, dnl pick the POSIX compliant declaration without 'const'. am_cv_proto_iconv_arg1="" fi AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) dnl Also substitute ICONV_CONST in the gnulib generated . m4_ifdef([gl_ICONV_H_DEFAULTS], [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test -n "$am_cv_proto_iconv_arg1"; then ICONV_CONST="const" fi ]) ]) gsasl-1.8.1/m4/gnulib-comp.m40000644000000000000000000013253413516270051012527 00000000000000# DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # # This file represents the compiled summary of the specification in # gnulib-cache.m4. It lists the computed macro invocations that need # to be invoked from configure.ac. # In projects that use version control, this file can be treated like # other built files. # This macro should be invoked from ./configure.ac, in the section # "Checks for programs", right after AC_PROG_CC, and certainly before # any checks for libraries, header files, types and library functions. AC_DEFUN([gl_EARLY], [ m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace m4_pattern_allow([^gl_ES$])dnl a valid locale name m4_pattern_allow([^gl_LIBOBJS$])dnl a variable m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable # Pre-early section. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_PROG_AR_RANLIB]) AC_REQUIRE([AM_PROG_CC_C_O]) # Code from module absolute-header: # Code from module alloca: # Code from module alloca-opt: # Code from module alloca-opt-tests: # Code from module arpa_inet: # Code from module arpa_inet-tests: # Code from module assure: # Code from module autobuild: AB_INIT # Code from module binary-io: # Code from module binary-io-tests: # Code from module btowc: # Code from module btowc-tests: # Code from module c-ctype: # Code from module c-ctype-tests: # Code from module c-strcase: # Code from module c-strcase-tests: # Code from module c-strcaseeq: # Code from module cloexec: # Code from module cloexec-tests: # Code from module close: # Code from module close-tests: # Code from module connect: # Code from module connect-tests: # Code from module ctype: # Code from module ctype-tests: # Code from module dirname-lgpl: # Code from module dosname: # Code from module double-slash-root: # Code from module dup2: # Code from module dup2-tests: # Code from module environ: # Code from module environ-tests: # Code from module errno: # Code from module errno-tests: # Code from module error: # Code from module exitfail: # Code from module extensions: # Code from module extern-inline: # Code from module fcntl: # Code from module fcntl-h: # Code from module fcntl-h-tests: # Code from module fcntl-tests: # Code from module fd-hook: # Code from module fdl-1.3: # Code from module fdopen: # Code from module fdopen-tests: # Code from module fgetc-tests: # Code from module filename: # Code from module flexmember: # Code from module float: # Code from module float-tests: # Code from module fpieee: AC_REQUIRE([gl_FP_IEEE]) # Code from module fpucw: # Code from module fputc-tests: # Code from module fread-tests: # Code from module fseek: # Code from module fseek-tests: # Code from module fseeko: AC_REQUIRE([AC_FUNC_FSEEKO]) # Code from module fseeko-tests: # Code from module fstat: # Code from module fstat-tests: # Code from module fwrite-tests: # Code from module gendocs: # Code from module getaddrinfo: # Code from module getaddrinfo-tests: # Code from module getcwd-lgpl: # Code from module getcwd-lgpl-tests: # Code from module getdelim: # Code from module getdelim-tests: # Code from module getdtablesize: # Code from module getdtablesize-tests: # Code from module getline: # Code from module getline-tests: # Code from module getopt-gnu: # Code from module getopt-gnu-tests: # Code from module getopt-posix: # Code from module getopt-posix-tests: # Code from module getpagesize: # Code from module getpass: # Code from module getpass-gnu: # Code from module getprogname: # Code from module getprogname-tests: # Code from module gettext-h: # Code from module gnumakefile: # Code from module gnupload: # Code from module gperf: # Code from module hard-locale: # Code from module havelib: # Code from module hostent: # Code from module iconv: # Code from module iconv-h: # Code from module iconv-h-tests: # Code from module iconv-tests: # Code from module iconv_open: # Code from module ignore-value: # Code from module ignore-value-tests: # Code from module include_next: # Code from module inet_ntop: # Code from module inet_ntop-tests: # Code from module inet_pton: # Code from module inet_pton-tests: # Code from module inline: # Code from module intprops: # Code from module intprops-tests: # Code from module inttypes: # Code from module inttypes-incomplete: # Code from module inttypes-tests: # Code from module isblank: # Code from module isblank-tests: # Code from module langinfo: # Code from module langinfo-tests: # Code from module largefile: AC_REQUIRE([AC_SYS_LARGEFILE]) # Code from module limits-h: # Code from module limits-h-tests: # Code from module localcharset: # Code from module localcharset-tests: # Code from module locale: # Code from module locale-tests: # Code from module localename: # Code from module localename-tests: # Code from module lock: # Code from module lock-tests: # Code from module lseek: # Code from module lseek-tests: # Code from module lstat: # Code from module lstat-tests: # Code from module maintainer-makefile: # Code from module malloc-posix: # Code from module malloca: # Code from module malloca-tests: # Code from module manywarnings: # Code from module mbrtowc: # Code from module mbrtowc-tests: # Code from module mbsinit: # Code from module mbsinit-tests: # Code from module mbtowc: # Code from module memchr: # Code from module memchr-tests: # Code from module minmax: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: # Code from module nanosleep: # Code from module nanosleep-tests: # Code from module netdb: # Code from module netdb-tests: # Code from module netinet_in: # Code from module netinet_in-tests: # Code from module nocrash: # Code from module open: # Code from module open-tests: # Code from module pathmax: # Code from module pathmax-tests: # Code from module pmccabe2html: # Code from module poll: # Code from module poll-h: # Code from module poll-h-tests: # Code from module progname: # Code from module pthread-h: AC_DEFINE([_REENTRANT], 1, [For thread-safety on OSF/1, Solaris.]) AC_DEFINE([_THREAD_SAFE], 1, [For thread-safety on AIX, FreeBSD.]) # Code from module pthread-h-tests: # Code from module pthread-thread: # Code from module pthread-thread-tests: # Code from module pthread_sigmask: # Code from module pthread_sigmask-tests: # Code from module putenv: # Code from module quote: # Code from module quotearg: # Code from module quotearg-simple: # Code from module quotearg-simple-tests: # Code from module raise: # Code from module raise-tests: # Code from module readline: # Code from module recv: # Code from module recv-tests: # Code from module same-inode: # Code from module sched: # Code from module sched-tests: # Code from module select: # Code from module servent: # Code from module setenv: # Code from module setenv-tests: # Code from module setlocale: # Code from module setlocale-tests: # Code from module shutdown: # Code from module shutdown-tests: # Code from module sigaction: # Code from module sigaction-tests: # Code from module signal-h: # Code from module signal-h-tests: # Code from module sigprocmask: # Code from module sigprocmask-tests: # Code from module size_max: # Code from module sleep: # Code from module sleep-tests: # Code from module snippet/_Noreturn: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/unused-parameter: # Code from module snippet/warn-on-use: # Code from module snprintf: # Code from module snprintf-tests: # Code from module socket: # Code from module socketlib: # Code from module sockets: # Code from module sockets-tests: # Code from module socklen: # Code from module ssize_t: # Code from module stat: # Code from module stat-tests: # Code from module stat-time: # Code from module stat-time-tests: # Code from module stdalign: # Code from module stdalign-tests: # Code from module stdarg: dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode dnl for the builtin va_copy to work. gl_PROG_CC_C99 arranges for this. gl_PROG_CC_C99 # Code from module stdbool: # Code from module stdbool-tests: # Code from module stddef: # Code from module stddef-tests: # Code from module stdint: # Code from module stdint-tests: # Code from module stdio: # Code from module stdio-tests: # Code from module stdlib: # Code from module stdlib-tests: # Code from module strdup-posix: # Code from module streq: # Code from module strerror: # Code from module strerror-override: # Code from module strerror-tests: # Code from module striconv: # Code from module striconv-tests: # Code from module string: # Code from module string-tests: # Code from module strtok_r: # Code from module symlink: # Code from module symlink-tests: # Code from module sys_select: # Code from module sys_select-tests: # Code from module sys_socket: # Code from module sys_socket-tests: # Code from module sys_stat: # Code from module sys_stat-tests: # Code from module sys_time: # Code from module sys_time-tests: # Code from module sys_types: # Code from module sys_types-tests: # Code from module sys_uio: # Code from module sys_uio-tests: # Code from module test-framework-sh: # Code from module test-framework-sh-tests: # Code from module thread: # Code from module thread-tests: # Code from module threadlib: gl_THREADLIB_EARLY # Code from module time: # Code from module time-tests: # Code from module unistd: # Code from module unistd-tests: # Code from module unistr/base: # Code from module unistr/u8-mbtoucr: # Code from module unistr/u8-mbtoucr-tests: # Code from module unistr/u8-uctomb: # Code from module unistr/u8-uctomb-tests: # Code from module unitypes: # Code from module unsetenv: # Code from module unsetenv-tests: # Code from module update-copyright: # Code from module useless-if-before-free: # Code from module usleep: # Code from module usleep-tests: # Code from module valgrind-tests: # Code from module vasnprintf: # Code from module vasnprintf-tests: # Code from module vasprintf: # Code from module vasprintf-tests: # Code from module vc-list-files: # Code from module vc-list-files-tests: # Code from module verify: # Code from module verify-tests: # Code from module version-etc: # Code from module version-etc-fsf: # Code from module version-etc-tests: # Code from module warnings: # Code from module wchar: # Code from module wchar-tests: # Code from module wcrtomb: # Code from module wcrtomb-tests: # Code from module wctob: # Code from module wctomb: # Code from module wctype-h: # Code from module wctype-h-tests: # Code from module windows-mutex: # Code from module windows-once: # Code from module windows-recmutex: # Code from module windows-rwlock: # Code from module windows-thread: # Code from module windows-tls: # Code from module xalloc: # Code from module xalloc-die: # Code from module xalloc-die-tests: # Code from module xalloc-oversized: # Code from module xsize: # Code from module yield: ]) # This macro should be invoked from ./configure.ac, in the section # "Check for header files, types and library functions". AC_DEFUN([gl_INIT], [ AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) gl_cond_libtool=true gl_m4_base='m4' m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) m4_pushdef([gl_LIBSOURCES_LIST], []) m4_pushdef([gl_LIBSOURCES_DIR], []) gl_COMMON gl_source_base='gl' changequote(,)dnl LTALLOCA=`echo "$ALLOCA" | sed -e 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'` changequote([, ])dnl AC_SUBST([LTALLOCA]) gl_FUNC_ALLOCA gl_HEADER_ARPA_INET AC_PROG_MKDIR_P gl_FUNC_CLOSE if test $REPLACE_CLOSE = 1; then AC_LIBOBJ([close]) fi gl_UNISTD_MODULE_INDICATOR([close]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([connect]) fi gl_SYS_SOCKET_MODULE_INDICATOR([connect]) gl_DIRNAME_LGPL gl_DOUBLE_SLASH_ROOT gl_FUNC_DUP2 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then AC_LIBOBJ([dup2]) gl_PREREQ_DUP2 fi gl_UNISTD_MODULE_INDICATOR([dup2]) gl_HEADER_ERRNO_H gl_ERROR if test $ac_cv_lib_error_at_line = no; then AC_LIBOBJ([error]) gl_PREREQ_ERROR fi m4_ifdef([AM_XGETTEXT_OPTION], [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) AC_REQUIRE([gl_EXTERN_INLINE]) gl_FLOAT_H if test $REPLACE_FLOAT_LDBL = 1; then AC_LIBOBJ([float]) fi if test $REPLACE_ITOLD = 1; then AC_LIBOBJ([itold]) fi gl_FUNC_FSEEK if test $REPLACE_FSEEK = 1; then AC_LIBOBJ([fseek]) fi gl_STDIO_MODULE_INDICATOR([fseek]) gl_FUNC_FSEEKO if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then AC_LIBOBJ([fseeko]) gl_PREREQ_FSEEKO fi gl_STDIO_MODULE_INDICATOR([fseeko]) gl_FUNC_FSTAT if test $REPLACE_FSTAT = 1; then AC_LIBOBJ([fstat]) case "$host_os" in mingw*) AC_LIBOBJ([stat-w32]) ;; esac gl_PREREQ_FSTAT fi gl_SYS_STAT_MODULE_INDICATOR([fstat]) gl_GETADDRINFO if test $HAVE_GETADDRINFO = 0; then AC_LIBOBJ([getaddrinfo]) fi if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then AC_LIBOBJ([gai_strerror]) fi gl_NETDB_MODULE_INDICATOR([getaddrinfo]) gl_FUNC_GETDELIM if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then AC_LIBOBJ([getdelim]) gl_PREREQ_GETDELIM fi gl_STDIO_MODULE_INDICATOR([getdelim]) gl_FUNC_GETLINE if test $REPLACE_GETLINE = 1; then AC_LIBOBJ([getline]) gl_PREREQ_GETLINE fi gl_STDIO_MODULE_INDICATOR([getline]) gl_FUNC_GETOPT_GNU dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are dnl done in the getopt-posix module. gl_FUNC_GETOPT_POSIX if test $REPLACE_GETOPT = 1; then AC_LIBOBJ([getopt]) AC_LIBOBJ([getopt1]) dnl Arrange for unistd.h to include getopt.h. GNULIB_GL_UNISTD_H_GETOPT=1 fi AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) gl_FUNC_GETPASS if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS = 1; then AC_LIBOBJ([getpass]) gl_PREREQ_GETPASS fi gl_UNISTD_MODULE_INDICATOR([getpass]) gl_FUNC_GETPASS_GNU if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS = 1; then AC_LIBOBJ([getpass]) gl_PREREQ_GETPASS fi gl_UNISTD_MODULE_INDICATOR([getpass]) gl_FUNC_GETPROGNAME AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) # Autoconf 2.61a.99 and earlier don't support linking a file only # in VPATH builds. But since GNUmakefile is for maintainer use # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. GNUmakefile=GNUmakefile m4_if(m4_version_compare([2.61a.100], m4_defn([m4_PACKAGE_VERSION])), [1], [], [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile])]) gl_HOSTENT AM_ICONV m4_ifdef([gl_ICONV_MODULE_INDICATOR], [gl_ICONV_MODULE_INDICATOR([iconv])]) gl_ICONV_H gl_FUNC_ICONV_OPEN if test $REPLACE_ICONV_OPEN = 1; then AC_LIBOBJ([iconv_open]) fi if test $REPLACE_ICONV = 1; then AC_LIBOBJ([iconv]) AC_LIBOBJ([iconv_close]) fi gl_FUNC_INET_NTOP if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then AC_LIBOBJ([inet_ntop]) gl_PREREQ_INET_NTOP fi gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) gl_INLINE AC_REQUIRE([gl_LARGEFILE]) gl_LIMITS_H gl_LOCALCHARSET dnl For backward compatibility. Some packages still use this. LOCALCHARSET_TESTS_ENVIRONMENT= AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) gl_LOCK gl_MODULE_INDICATOR([lock]) gl_FUNC_LSEEK if test $REPLACE_LSEEK = 1; then AC_LIBOBJ([lseek]) fi gl_UNISTD_MODULE_INDICATOR([lseek]) AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) AC_REQUIRE([AC_PROG_SED]) AC_REQUIRE([AC_PROG_GREP]) gl_FUNC_MALLOC_POSIX if test $REPLACE_MALLOC = 1; then AC_LIBOBJ([malloc]) fi gl_STDLIB_MODULE_INDICATOR([malloc-posix]) gl_FUNC_MBRTOWC if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then AC_LIBOBJ([mbrtowc]) gl_PREREQ_MBRTOWC fi gl_WCHAR_MODULE_INDICATOR([mbrtowc]) gl_FUNC_MBSINIT if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then AC_LIBOBJ([mbsinit]) gl_PREREQ_MBSINIT fi gl_WCHAR_MODULE_INDICATOR([mbsinit]) gl_FUNC_MEMCHR if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then AC_LIBOBJ([memchr]) gl_PREREQ_MEMCHR fi gl_STRING_MODULE_INDICATOR([memchr]) gl_MINMAX AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then AC_LIBOBJ([msvc-inval]) fi AC_REQUIRE([gl_MSVC_NOTHROW]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then AC_LIBOBJ([msvc-nothrow]) fi gl_MODULE_INDICATOR([msvc-nothrow]) gl_MULTIARCH gl_HEADER_NETDB gl_HEADER_NETINET_IN AC_PROG_MKDIR_P gl_PATHMAX AC_PATH_PROG([PMCCABE], [pmccabe], [false]) gl_FUNC_POLL if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then AC_LIBOBJ([poll]) gl_PREREQ_POLL fi gl_POLL_MODULE_INDICATOR([poll]) gl_POLL_H AC_CHECK_DECLS([program_invocation_name], [], [], [#include ]) AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include ]) gl_QUOTE gl_QUOTEARG gl_FUNC_READLINE if test "$gl_cv_lib_readline" = no; then AC_LIBOBJ([readline]) gl_PREREQ_READLINE fi AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([recv]) fi gl_SYS_SOCKET_MODULE_INDICATOR([recv]) gl_FUNC_SELECT if test $REPLACE_SELECT = 1; then AC_LIBOBJ([select]) fi gl_SYS_SELECT_MODULE_INDICATOR([select]) gl_SERVENT AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([shutdown]) fi gl_SYS_SOCKET_MODULE_INDICATOR([shutdown]) gl_SIGNAL_H gl_SIZE_MAX gl_FUNC_SNPRINTF gl_STDIO_MODULE_INDICATOR([snprintf]) gl_MODULE_INDICATOR([snprintf]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([socket]) fi # When this module is used, sockets may actually occur as file descriptors, # hence it is worth warning if the modules 'close' and 'ioctl' are not used. m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2]) if test "$ac_cv_header_winsock2_h" = yes; then UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 fi gl_SYS_SOCKET_MODULE_INDICATOR([socket]) AC_REQUIRE([gl_SOCKETLIB]) AC_REQUIRE([gl_SOCKETS]) gl_TYPE_SOCKLEN_T gt_TYPE_SSIZE_T gl_STAT_TIME gl_STAT_BIRTHTIME gl_STDALIGN_H gl_STDARG_H AM_STDBOOL_H gl_STDDEF_H gl_STDINT_H gl_STDIO_H gl_STDLIB_H gl_FUNC_STRDUP_POSIX if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then AC_LIBOBJ([strdup]) gl_PREREQ_STRDUP fi gl_STRING_MODULE_INDICATOR([strdup]) gl_FUNC_STRERROR if test $REPLACE_STRERROR = 1; then AC_LIBOBJ([strerror]) fi gl_MODULE_INDICATOR([strerror]) gl_STRING_MODULE_INDICATOR([strerror]) AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([gl_FUNC_STRERROR_0]) if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then AC_LIBOBJ([strerror-override]) gl_PREREQ_SYS_H_WINSOCK2 fi if test $gl_cond_libtool = false; then gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" gl_libdeps="$gl_libdeps $LIBICONV" fi gl_HEADER_STRING_H gl_FUNC_STRTOK_R if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then AC_LIBOBJ([strtok_r]) gl_PREREQ_STRTOK_R fi gl_STRING_MODULE_INDICATOR([strtok_r]) AC_REQUIRE([gl_HEADER_SYS_SELECT]) AC_PROG_MKDIR_P AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_PROG_MKDIR_P gl_HEADER_SYS_STAT_H AC_PROG_MKDIR_P gl_HEADER_SYS_TIME_H AC_PROG_MKDIR_P gl_SYS_TYPES_H AC_PROG_MKDIR_P gl_HEADER_SYS_UIO AC_PROG_MKDIR_P AC_REQUIRE([gl_THREADLIB]) gl_HEADER_TIME_H gl_UNISTD_H gl_LIBUNISTRING_LIBHEADER([0.9.4], [unistr.h]) gl_MODULE_INDICATOR([unistr/u8-mbtoucr]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr]) gl_MODULE_INDICATOR([unistr/u8-uctomb]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb]) gl_LIBUNISTRING_LIBHEADER([0.9.4], [unitypes.h]) gl_VALGRIND_TESTS gl_FUNC_VASNPRINTF gl_FUNC_VASPRINTF gl_STDIO_MODULE_INDICATOR([vasprintf]) m4_ifdef([AM_XGETTEXT_OPTION], [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format]) AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) gl_VERSION_ETC gl_WCHAR_H gl_WCTYPE_H AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-mutex]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-once]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-recmutex]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-rwlock]) ;; esac gl_XALLOC gl_XSIZE # End of code from modules m4_ifval(gl_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || for gl_file in ]gl_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([gl_LIBSOURCES_DIR]) m4_popdef([gl_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gl_libobjs= gl_ltlibobjs= if test -n "$gl_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs $i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs $i.lo" done fi AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) ]) gltests_libdeps= gltests_ltlibdeps= m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) m4_pushdef([gltests_LIBSOURCES_LIST], []) m4_pushdef([gltests_LIBSOURCES_DIR], []) gl_COMMON gl_source_base='gltests' changequote(,)dnl gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS changequote([, ])dnl AC_SUBST([gltests_WITNESS]) gl_module_indicator_condition=$gltests_WITNESS m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) gl_FUNC_BTOWC if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then AC_LIBOBJ([btowc]) gl_PREREQ_BTOWC fi gl_WCHAR_MODULE_INDICATOR([btowc]) gt_LOCALE_FR gt_LOCALE_FR_UTF8 gt_LOCALE_FR gt_LOCALE_TR_UTF8 gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) gl_CTYPE_H gl_ENVIRON gl_UNISTD_MODULE_INDICATOR([environ]) gl_FUNC_FCNTL if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then AC_LIBOBJ([fcntl]) fi gl_FCNTL_MODULE_INDICATOR([fcntl]) gl_FCNTL_H gl_FUNC_FDOPEN if test $REPLACE_FDOPEN = 1; then AC_LIBOBJ([fdopen]) gl_PREREQ_FDOPEN fi gl_STDIO_MODULE_INDICATOR([fdopen]) AC_C_FLEXIBLE_ARRAY_MEMBER gl_FUNC_UNGETC_WORKS gl_FUNC_UNGETC_WORKS gl_FUNC_GETCWD_LGPL if test $REPLACE_GETCWD = 1; then AC_LIBOBJ([getcwd-lgpl]) fi gl_UNISTD_MODULE_INDICATOR([getcwd]) gl_FUNC_GETDTABLESIZE if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then AC_LIBOBJ([getdtablesize]) gl_PREREQ_GETDTABLESIZE fi gl_UNISTD_MODULE_INDICATOR([getdtablesize]) gl_FUNC_GETPAGESIZE if test $REPLACE_GETPAGESIZE = 1; then AC_LIBOBJ([getpagesize]) fi gl_UNISTD_MODULE_INDICATOR([getpagesize]) AC_C_BIGENDIAN gl_FUNC_INET_PTON if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1; then AC_LIBOBJ([inet_pton]) gl_PREREQ_INET_PTON fi gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) AC_C_BIGENDIAN gl_INTTYPES_H gl_INTTYPES_INCOMPLETE gl_FUNC_ISBLANK if test $HAVE_ISBLANK = 0; then AC_LIBOBJ([isblank]) fi gl_CTYPE_MODULE_INDICATOR([isblank]) gl_LANGINFO_H gl_LOCALE_H AC_CHECK_FUNCS_ONCE([newlocale]) gl_LOCALENAME gl_LOCALE_MODULE_INDICATOR([localename]) AC_CHECK_FUNCS_ONCE([newlocale]) AC_CHECK_HEADERS_ONCE([semaphore.h]) AC_CHECK_DECLS_ONCE([alarm]) gl_FUNC_LSTAT if test $REPLACE_LSTAT = 1; then AC_LIBOBJ([lstat]) gl_PREREQ_LSTAT fi gl_SYS_STAT_MODULE_INDICATOR([lstat]) gl_MALLOCA gt_LOCALE_FR gt_LOCALE_FR_UTF8 gt_LOCALE_JA gt_LOCALE_ZH_CN gt_LOCALE_FR_UTF8 gl_FUNC_MBTOWC if test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1; then AC_LIBOBJ([mbtowc]) gl_PREREQ_MBTOWC fi gl_STDLIB_MODULE_INDICATOR([mbtowc]) dnl Check for prerequisites for memory fence checks. gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) gl_FUNC_NANOSLEEP if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then AC_LIBOBJ([nanosleep]) gl_PREREQ_NANOSLEEP fi gl_TIME_MODULE_INDICATOR([nanosleep]) AC_CHECK_DECLS_ONCE([alarm]) gl_FUNC_OPEN if test $REPLACE_OPEN = 1; then AC_LIBOBJ([open]) gl_PREREQ_OPEN fi gl_FCNTL_MODULE_INDICATOR([open]) gl_PTHREAD_H gl_PTHREAD_THREAD if test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1; then AC_LIBOBJ([pthread-thread]) fi gl_PTHREAD_MODULE_INDICATOR([pthread-thread]) gl_FUNC_PTHREAD_SIGMASK if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then AC_LIBOBJ([pthread_sigmask]) gl_PREREQ_PTHREAD_SIGMASK fi gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask]) gl_FUNC_PUTENV if test $REPLACE_PUTENV = 1; then AC_LIBOBJ([putenv]) gl_PREREQ_PUTENV fi gl_STDLIB_MODULE_INDICATOR([putenv]) dnl Check for prerequisites for memory fence checks. dnl FIXME: zerosize-ptr.h requires these: make a module for it gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) gl_FUNC_RAISE if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then AC_LIBOBJ([raise]) gl_PREREQ_RAISE fi gl_SIGNAL_MODULE_INDICATOR([raise]) gl_SCHED_H gl_FUNC_SETENV if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then AC_LIBOBJ([setenv]) fi gl_STDLIB_MODULE_INDICATOR([setenv]) gl_FUNC_SETLOCALE if test $REPLACE_SETLOCALE = 1; then AC_LIBOBJ([setlocale]) gl_PREREQ_SETLOCALE fi gl_LOCALE_MODULE_INDICATOR([setlocale]) gt_LOCALE_FR gt_LOCALE_FR_UTF8 gt_LOCALE_JA gt_LOCALE_ZH_CN gl_SIGACTION if test $HAVE_SIGACTION = 0; then AC_LIBOBJ([sigaction]) gl_PREREQ_SIGACTION fi gl_SIGNAL_MODULE_INDICATOR([sigaction]) gl_SIGNALBLOCKING if test $HAVE_POSIX_SIGNALBLOCKING = 0; then AC_LIBOBJ([sigprocmask]) gl_PREREQ_SIGPROCMASK fi gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) gl_FUNC_SLEEP if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then AC_LIBOBJ([sleep]) fi gl_UNISTD_MODULE_INDICATOR([sleep]) AC_CHECK_DECLS_ONCE([alarm]) gl_FUNC_STAT if test $REPLACE_STAT = 1; then AC_LIBOBJ([stat]) case "$host_os" in mingw*) AC_LIBOBJ([stat-w32]) ;; esac gl_PREREQ_STAT fi gl_SYS_STAT_MODULE_INDICATOR([stat]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) gl_FUNC_SYMLINK if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then AC_LIBOBJ([symlink]) fi gl_UNISTD_MODULE_INDICATOR([symlink]) AC_CHECK_FUNCS_ONCE([shutdown]) gl_THREAD gl_FUNC_UNSETENV if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then AC_LIBOBJ([unsetenv]) gl_PREREQ_UNSETENV fi gl_STDLIB_MODULE_INDICATOR([unsetenv]) gl_FUNC_USLEEP if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then AC_LIBOBJ([usleep]) fi gl_UNISTD_MODULE_INDICATOR([usleep]) gl_VALGRIND_TESTS abs_aux_dir=`cd "$ac_aux_dir"; pwd` AC_SUBST([abs_aux_dir]) gl_FUNC_WCRTOMB if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then AC_LIBOBJ([wcrtomb]) gl_PREREQ_WCRTOMB fi gl_WCHAR_MODULE_INDICATOR([wcrtomb]) gt_LOCALE_FR gt_LOCALE_FR_UTF8 gt_LOCALE_JA gt_LOCALE_ZH_CN gl_FUNC_WCTOB if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then AC_LIBOBJ([wctob]) gl_PREREQ_WCTOB fi gl_WCHAR_MODULE_INDICATOR([wctob]) gl_FUNC_WCTOMB if test $REPLACE_WCTOMB = 1; then AC_LIBOBJ([wctomb]) gl_PREREQ_WCTOMB fi gl_STDLIB_MODULE_INDICATOR([wctomb]) AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-thread]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-tls]) ;; esac AC_REQUIRE([gl_YIELD]) m4_popdef([gl_MODULE_INDICATOR_CONDITION]) m4_ifval(gltests_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || for gl_file in ]gltests_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([gltests_LIBSOURCES_DIR]) m4_popdef([gltests_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gltests_libobjs= gltests_ltlibobjs= if test -n "$gltests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs $i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" done fi AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) ]) LIBTESTS_LIBDEPS="$gltests_libdeps" AC_SUBST([LIBTESTS_LIBDEPS]) ]) # Like AC_LIBOBJ, except that the module name goes # into gl_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gl_LIBOBJ], [ AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into gl_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gl_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([gl_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([gl_LIBSOURCES_DIR], [gl]) m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # Like AC_LIBOBJ, except that the module name goes # into gltests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gltests_LIBOBJ], [ AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into gltests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gltests_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([gltests_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([gltests_LIBSOURCES_DIR], [gltests]) m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # This macro records the list of files which have been installed by # gnulib-tool and may be removed by future gnulib-tool invocations. AC_DEFUN([gl_FILE_LIST], [ build-aux/config.rpath build-aux/gendocs.sh build-aux/gnupload build-aux/pmccabe.css build-aux/pmccabe2html build-aux/update-copyright build-aux/useless-if-before-free build-aux/vc-list-files doc/fdl-1.3.texi doc/gendocs_template doc/gendocs_template_min lib/_Noreturn.h lib/alloca.c lib/alloca.in.h lib/arg-nonnull.h lib/arpa_inet.in.h lib/asnprintf.c lib/asprintf.c lib/assure.h lib/basename-lgpl.c lib/c++defs.h lib/c-ctype.c lib/c-ctype.h lib/c-strcase.h lib/c-strcasecmp.c lib/c-strcaseeq.h lib/c-strncasecmp.c lib/close.c lib/connect.c lib/dirname-lgpl.c lib/dirname.h lib/dosname.h lib/dup2.c lib/errno.in.h lib/error.c lib/error.h lib/exitfail.c lib/exitfail.h lib/fd-hook.c lib/fd-hook.h lib/float+.h lib/float.c lib/float.in.h lib/fseek.c lib/fseeko.c lib/fstat.c lib/gai_strerror.c lib/getaddrinfo.c lib/getdelim.c lib/getline.c lib/getopt-cdefs.in.h lib/getopt-core.h lib/getopt-ext.h lib/getopt-pfx-core.h lib/getopt-pfx-ext.h lib/getopt.c lib/getopt.in.h lib/getopt1.c lib/getopt_int.h lib/getpass.c lib/getpass.h lib/getprogname.c lib/getprogname.h lib/gettext.h lib/glthread/lock.c lib/glthread/lock.h lib/glthread/threadlib.c lib/hard-locale.c lib/hard-locale.h lib/iconv.c lib/iconv.in.h lib/iconv_close.c lib/iconv_open-aix.gperf lib/iconv_open-hpux.gperf lib/iconv_open-irix.gperf lib/iconv_open-osf.gperf lib/iconv_open-solaris.gperf lib/iconv_open.c lib/inet_ntop.c lib/intprops.h lib/itold.c lib/limits.in.h lib/localcharset.c lib/localcharset.h lib/lseek.c lib/malloc.c lib/mbrtowc.c lib/mbsinit.c lib/memchr.c lib/memchr.valgrind lib/minmax.h lib/msvc-inval.c lib/msvc-inval.h lib/msvc-nothrow.c lib/msvc-nothrow.h lib/netdb.in.h lib/netinet_in.in.h lib/pathmax.h lib/poll.c lib/poll.in.h lib/printf-args.c lib/printf-args.h lib/printf-parse.c lib/printf-parse.h lib/progname.c lib/progname.h lib/quote.h lib/quotearg.c lib/quotearg.h lib/readline.c lib/readline.h lib/recv.c lib/select.c lib/shutdown.c lib/signal.in.h lib/size_max.h lib/snprintf.c lib/socket.c lib/sockets.c lib/sockets.h lib/stat-time.c lib/stat-time.h lib/stat-w32.c lib/stat-w32.h lib/stdalign.in.h lib/stdarg.in.h lib/stdbool.in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-impl.h lib/stdio.in.h lib/stdlib.in.h lib/strdup.c lib/streq.h lib/strerror-override.c lib/strerror-override.h lib/strerror.c lib/striconv.c lib/striconv.h lib/string.in.h lib/stripslash.c lib/strtok_r.c lib/sys_select.in.h lib/sys_socket.c lib/sys_socket.in.h lib/sys_stat.in.h lib/sys_time.in.h lib/sys_types.in.h lib/sys_uio.in.h lib/time.in.h lib/unistd.c lib/unistd.in.h lib/unistr.in.h lib/unistr/u8-mbtoucr.c lib/unistr/u8-uctomb-aux.c lib/unistr/u8-uctomb.c lib/unitypes.in.h lib/unused-parameter.h lib/vasnprintf.c lib/vasnprintf.h lib/vasprintf.c lib/verify.h lib/version-etc.c lib/version-etc.h lib/w32sock.h lib/warn-on-use.h lib/wchar.in.h lib/wctype-h.c lib/wctype.in.h lib/windows-initguard.h lib/windows-mutex.c lib/windows-mutex.h lib/windows-once.c lib/windows-once.h lib/windows-recmutex.c lib/windows-recmutex.h lib/windows-rwlock.c lib/windows-rwlock.h lib/xalloc-die.c lib/xalloc-oversized.h lib/xalloc.h lib/xmalloc.c lib/xsize.c lib/xsize.h m4/00gnulib.m4 m4/absolute-header.m4 m4/alloca.m4 m4/arpa_inet_h.m4 m4/autobuild.m4 m4/btowc.m4 m4/close.m4 m4/codeset.m4 m4/ctype.m4 m4/dirname.m4 m4/double-slash-root.m4 m4/dup2.m4 m4/eealloc.m4 m4/environ.m4 m4/errno_h.m4 m4/error.m4 m4/exponentd.m4 m4/extensions.m4 m4/extern-inline.m4 m4/fcntl-o.m4 m4/fcntl.m4 m4/fcntl_h.m4 m4/fdopen.m4 m4/flexmember.m4 m4/float_h.m4 m4/fpieee.m4 m4/fseek.m4 m4/fseeko.m4 m4/fstat.m4 m4/getaddrinfo.m4 m4/getcwd.m4 m4/getdelim.m4 m4/getdtablesize.m4 m4/getline.m4 m4/getopt.m4 m4/getpagesize.m4 m4/getpass.m4 m4/getprogname.m4 m4/gnulib-common.m4 m4/host-cpu-c-abi.m4 m4/hostent.m4 m4/iconv.m4 m4/iconv_h.m4 m4/iconv_open.m4 m4/include_next.m4 m4/inet_ntop.m4 m4/inet_pton.m4 m4/inline.m4 m4/intl-thread-locale.m4 m4/intlmacosx.m4 m4/intmax_t.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/isblank.m4 m4/langinfo_h.m4 m4/largefile.m4 m4/lcmessage.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/libunistring-base.m4 m4/limits-h.m4 m4/localcharset.m4 m4/locale-fr.m4 m4/locale-ja.m4 m4/locale-tr.m4 m4/locale-zh.m4 m4/locale_h.m4 m4/localename.m4 m4/lock.m4 m4/longlong.m4 m4/lseek.m4 m4/lstat.m4 m4/malloc.m4 m4/malloca.m4 m4/manywarnings-c++.m4 m4/manywarnings.m4 m4/math_h.m4 m4/mbrtowc.m4 m4/mbsinit.m4 m4/mbstate_t.m4 m4/mbtowc.m4 m4/memchr.m4 m4/minmax.m4 m4/mmap-anon.m4 m4/mode_t.m4 m4/msvc-inval.m4 m4/msvc-nothrow.m4 m4/multiarch.m4 m4/nanosleep.m4 m4/netdb_h.m4 m4/netinet_in_h.m4 m4/nocrash.m4 m4/off_t.m4 m4/open-cloexec.m4 m4/open.m4 m4/pathmax.m4 m4/poll.m4 m4/poll_h.m4 m4/printf.m4 m4/pthread-thread.m4 m4/pthread_h.m4 m4/pthread_rwlock_rdlock.m4 m4/pthread_sigmask.m4 m4/putenv.m4 m4/quote.m4 m4/quotearg.m4 m4/raise.m4 m4/readline.m4 m4/sched_h.m4 m4/select.m4 m4/servent.m4 m4/setenv.m4 m4/setlocale.m4 m4/sigaction.m4 m4/signal_h.m4 m4/signalblocking.m4 m4/size_max.m4 m4/sleep.m4 m4/snprintf.m4 m4/socketlib.m4 m4/sockets.m4 m4/socklen.m4 m4/sockpfaf.m4 m4/ssize_t.m4 m4/stat-time.m4 m4/stat.m4 m4/stdalign.m4 m4/stdarg.m4 m4/stdbool.m4 m4/stddef_h.m4 m4/stdint.m4 m4/stdint_h.m4 m4/stdio_h.m4 m4/stdlib_h.m4 m4/strdup.m4 m4/strerror.m4 m4/string_h.m4 m4/strtok_r.m4 m4/symlink.m4 m4/sys_select_h.m4 m4/sys_socket_h.m4 m4/sys_stat_h.m4 m4/sys_time_h.m4 m4/sys_types_h.m4 m4/sys_uio_h.m4 m4/thread.m4 m4/threadlib.m4 m4/time_h.m4 m4/ungetc.m4 m4/unistd_h.m4 m4/usleep.m4 m4/valgrind-tests.m4 m4/vasnprintf.m4 m4/vasprintf.m4 m4/version-etc.m4 m4/warn-on-use.m4 m4/warnings.m4 m4/wchar_h.m4 m4/wchar_t.m4 m4/wcrtomb.m4 m4/wctob.m4 m4/wctomb.m4 m4/wctype_h.m4 m4/wint_t.m4 m4/xalloc.m4 m4/xsize.m4 m4/yield.m4 tests/init.sh tests/macros.h tests/nap.h tests/signature.h tests/test-alloca-opt.c tests/test-arpa_inet.c tests/test-binary-io.c tests/test-binary-io.sh tests/test-btowc.c tests/test-btowc1.sh tests/test-btowc2.sh tests/test-c-ctype.c tests/test-c-strcase.sh tests/test-c-strcasecmp.c tests/test-c-strncasecmp.c tests/test-cloexec.c tests/test-close.c tests/test-connect.c tests/test-ctype.c tests/test-dup2.c tests/test-environ.c tests/test-errno.c tests/test-fcntl-h.c tests/test-fcntl.c tests/test-fdopen.c tests/test-fgetc.c tests/test-float.c tests/test-fputc.c tests/test-fread.c tests/test-fseek.c tests/test-fseek.sh tests/test-fseek2.sh tests/test-fseeko.c tests/test-fseeko.sh tests/test-fseeko2.sh tests/test-fseeko3.c tests/test-fseeko3.sh tests/test-fseeko4.c tests/test-fseeko4.sh tests/test-fstat.c tests/test-fwrite.c tests/test-getaddrinfo.c tests/test-getcwd-lgpl.c tests/test-getdelim.c tests/test-getdtablesize.c tests/test-getline.c tests/test-getopt-gnu.c tests/test-getopt-main.h tests/test-getopt-posix.c tests/test-getopt.h tests/test-getopt_long.h tests/test-getprogname.c tests/test-iconv-h.c tests/test-iconv.c tests/test-ignore-value.c tests/test-inet_ntop.c tests/test-inet_pton.c tests/test-init.sh tests/test-intprops.c tests/test-inttypes.c tests/test-isblank.c tests/test-langinfo.c tests/test-limits-h.c tests/test-localcharset.c tests/test-locale.c tests/test-localename.c tests/test-lock.c tests/test-lseek.c tests/test-lseek.sh tests/test-lstat.c tests/test-lstat.h tests/test-malloca.c tests/test-mbrtowc-w32-1.sh tests/test-mbrtowc-w32-2.sh tests/test-mbrtowc-w32-3.sh tests/test-mbrtowc-w32-4.sh tests/test-mbrtowc-w32-5.sh tests/test-mbrtowc-w32.c tests/test-mbrtowc.c tests/test-mbrtowc1.sh tests/test-mbrtowc2.sh tests/test-mbrtowc3.sh tests/test-mbrtowc4.sh tests/test-mbrtowc5.sh tests/test-mbsinit.c tests/test-mbsinit.sh tests/test-memchr.c tests/test-nanosleep.c tests/test-netdb.c tests/test-netinet_in.c tests/test-once.c tests/test-open.c tests/test-open.h tests/test-pathmax.c tests/test-poll-h.c tests/test-pthread-thread.c tests/test-pthread.c tests/test-pthread_sigmask1.c tests/test-pthread_sigmask2.c tests/test-quotearg-simple.c tests/test-quotearg.h tests/test-raise.c tests/test-recv.c tests/test-rwlock1.c tests/test-sched.c tests/test-setenv.c tests/test-setlocale1.c tests/test-setlocale1.sh tests/test-setlocale2.c tests/test-setlocale2.sh tests/test-shutdown.c tests/test-sigaction.c tests/test-signal-h.c tests/test-sigprocmask.c tests/test-sleep.c tests/test-snprintf.c tests/test-sockets.c tests/test-stat-time.c tests/test-stat.c tests/test-stat.h tests/test-stdalign.c tests/test-stdbool.c tests/test-stddef.c tests/test-stdint.c tests/test-stdio.c tests/test-stdlib.c tests/test-strerror.c tests/test-striconv.c tests/test-string.c tests/test-symlink.c tests/test-symlink.h tests/test-sys_select.c tests/test-sys_socket.c tests/test-sys_stat.c tests/test-sys_time.c tests/test-sys_types.c tests/test-sys_uio.c tests/test-sys_wait.h tests/test-thread_create.c tests/test-thread_self.c tests/test-time.c tests/test-unistd.c tests/test-unsetenv.c tests/test-usleep.c tests/test-vasnprintf.c tests/test-vasprintf.c tests/test-vc-list-files-cvs.sh tests/test-vc-list-files-git.sh tests/test-verify-try.c tests/test-verify.c tests/test-verify.sh tests/test-version-etc.c tests/test-version-etc.sh tests/test-wchar.c tests/test-wcrtomb-w32-1.sh tests/test-wcrtomb-w32-2.sh tests/test-wcrtomb-w32-3.sh tests/test-wcrtomb-w32-4.sh tests/test-wcrtomb-w32-5.sh tests/test-wcrtomb-w32.c tests/test-wcrtomb.c tests/test-wcrtomb.sh tests/test-wctype-h.c tests/test-xalloc-die.c tests/test-xalloc-die.sh tests/unistr/test-u8-mbtoucr.c tests/unistr/test-u8-uctomb.c tests/zerosize-ptr.h tests=lib/_Noreturn.h tests=lib/arg-nonnull.h tests=lib/binary-io.c tests=lib/binary-io.h tests=lib/btowc.c tests=lib/c++defs.h tests=lib/cloexec.c tests=lib/cloexec.h tests=lib/ctype.in.h tests=lib/fcntl.c tests=lib/fcntl.in.h tests=lib/fdopen.c tests=lib/filename.h tests=lib/flexmember.h tests=lib/fpucw.h tests=lib/getcwd-lgpl.c tests=lib/getdtablesize.c tests=lib/getpagesize.c tests=lib/glthread/thread.c tests=lib/glthread/thread.h tests=lib/glthread/yield.h tests=lib/ignore-value.h tests=lib/inet_pton.c tests=lib/inttypes.in.h tests=lib/isblank.c tests=lib/langinfo.in.h tests=lib/locale.in.h tests=lib/localename-table.c tests=lib/localename-table.h tests=lib/localename.c tests=lib/localename.h tests=lib/lstat.c tests=lib/malloca.c tests=lib/malloca.h tests=lib/mbtowc-impl.h tests=lib/mbtowc.c tests=lib/nanosleep.c tests=lib/open.c tests=lib/pthread-thread.c tests=lib/pthread.in.h tests=lib/pthread_sigmask.c tests=lib/putenv.c tests=lib/raise.c tests=lib/same-inode.h tests=lib/sched.in.h tests=lib/setenv.c tests=lib/setlocale.c tests=lib/sig-handler.c tests=lib/sig-handler.h tests=lib/sigaction.c tests=lib/sigprocmask.c tests=lib/sleep.c tests=lib/stat-w32.c tests=lib/stat-w32.h tests=lib/stat.c tests=lib/symlink.c tests=lib/unsetenv.c tests=lib/unused-parameter.h tests=lib/usleep.c tests=lib/version-etc-fsf.c tests=lib/warn-on-use.h tests=lib/wcrtomb.c tests=lib/wctob.c tests=lib/wctomb-impl.h tests=lib/wctomb.c tests=lib/windows-thread.c tests=lib/windows-thread.h tests=lib/windows-tls.c tests=lib/windows-tls.h top/GNUmakefile top/maint.mk ]) gsasl-1.8.1/m4/inttypes.m40000644000000000000000000001240413516251575012175 00000000000000# inttypes.m4 serial 27 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Derek Price, Bruno Haible. dnl Test whether is supported or must be substituted. AC_DEFUN([gl_INTTYPES_H], [ AC_REQUIRE([gl_INTTYPES_INCOMPLETE]) gl_INTTYPES_PRI_SCN ]) AC_DEFUN_ONCE([gl_INTTYPES_INCOMPLETE], [ AC_REQUIRE([gl_STDINT_H]) AC_CHECK_HEADERS_ONCE([inttypes.h]) dnl Override always, so that the portability warnings work. AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([inttypes.h]) AC_REQUIRE([gl_MULTIARCH]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [imaxabs imaxdiv strtoimax strtoumax]) ]) # Ensure that the PRI* and SCN* macros are defined appropriately. AC_DEFUN([gl_INTTYPES_PRI_SCN], [ AC_REQUIRE([gt_INTTYPES_PRI]) PRIPTR_PREFIX= if test -n "$STDINT_H"; then dnl Using the gnulib . It always defines intptr_t to 'long'. PRIPTR_PREFIX='"l"' else dnl Using the system's . for glpfx in '' l ll I64; do case $glpfx in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; I64) gltype1='__int64';; esac AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include extern intptr_t foo; extern $gltype1 foo;]])], [PRIPTR_PREFIX='"'$glpfx'"']) test -n "$PRIPTR_PREFIX" && break done fi AC_SUBST([PRIPTR_PREFIX]) gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [INT32_MAX_LT_INTMAX_MAX], [defined INT32_MAX && defined INTMAX_MAX], [INT32_MAX < INTMAX_MAX], [sizeof (int) < sizeof (long long int)]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [INT64_MAX_EQ_LONG_MAX], [defined INT64_MAX], [INT64_MAX == LONG_MAX], [sizeof (long long int) == sizeof (long int)]) else INT64_MAX_EQ_LONG_MAX=-1 fi gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [UINT32_MAX_LT_UINTMAX_MAX], [defined UINT32_MAX && defined UINTMAX_MAX], [UINT32_MAX < UINTMAX_MAX], [sizeof (unsigned int) < sizeof (unsigned long long int)]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [UINT64_MAX_EQ_ULONG_MAX], [defined UINT64_MAX], [UINT64_MAX == ULONG_MAX], [sizeof (unsigned long long int) == sizeof (unsigned long int)]) else UINT64_MAX_EQ_ULONG_MAX=-1 fi ]) # Define the symbol $1 to be 1 if the condition is true, 0 otherwise. # If $2 is true, the condition is $3; otherwise if long long int is supported # approximate the condition with $4; otherwise, assume the condition is false. # The condition should work on all C99 platforms; the approximations should be # good enough to work on all practical pre-C99 platforms. # $2 is evaluated by the C preprocessor, $3 and $4 as compile-time constants. AC_DEFUN([gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION], [ AC_CACHE_CHECK([whether $3], [gl_cv_test_$1], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[/* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if $2 #define CONDITION ($3) #elif HAVE_LONG_LONG_INT #define CONDITION ($4) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1];]])], [gl_cv_test_$1=yes], [gl_cv_test_$1=no])]) if test $gl_cv_test_$1 = yes; then $1=1; else $1=0; fi AC_SUBST([$1]) ]) AC_DEFUN([gl_INTTYPES_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_INTTYPES_H_DEFAULTS], [ GNULIB_IMAXABS=0; AC_SUBST([GNULIB_IMAXABS]) GNULIB_IMAXDIV=0; AC_SUBST([GNULIB_IMAXDIV]) GNULIB_STRTOIMAX=0; AC_SUBST([GNULIB_STRTOIMAX]) GNULIB_STRTOUMAX=0; AC_SUBST([GNULIB_STRTOUMAX]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_IMAXABS=1; AC_SUBST([HAVE_DECL_IMAXABS]) HAVE_DECL_IMAXDIV=1; AC_SUBST([HAVE_DECL_IMAXDIV]) HAVE_DECL_STRTOIMAX=1; AC_SUBST([HAVE_DECL_STRTOIMAX]) HAVE_DECL_STRTOUMAX=1; AC_SUBST([HAVE_DECL_STRTOUMAX]) HAVE_IMAXDIV_T=1; AC_SUBST([HAVE_IMAXDIV_T]) REPLACE_STRTOIMAX=0; AC_SUBST([REPLACE_STRTOIMAX]) REPLACE_STRTOUMAX=0; AC_SUBST([REPLACE_STRTOUMAX]) INT32_MAX_LT_INTMAX_MAX=1; AC_SUBST([INT32_MAX_LT_INTMAX_MAX]) INT64_MAX_EQ_LONG_MAX='defined _LP64'; AC_SUBST([INT64_MAX_EQ_LONG_MAX]) PRI_MACROS_BROKEN=0; AC_SUBST([PRI_MACROS_BROKEN]) PRIPTR_PREFIX=__PRIPTR_PREFIX; AC_SUBST([PRIPTR_PREFIX]) UINT32_MAX_LT_UINTMAX_MAX=1; AC_SUBST([UINT32_MAX_LT_UINTMAX_MAX]) UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; AC_SUBST([UINT64_MAX_EQ_ULONG_MAX]) ]) gsasl-1.8.1/m4/time_h.m40000644000000000000000000001376213516251576011574 00000000000000# Configure a more-standard replacement for . # Copyright (C) 2000-2001, 2003-2007, 2009-2019 Free Software Foundation, Inc. # serial 11 # 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. # Written by Paul Eggert and Jim Meyering. AC_DEFUN([gl_HEADER_TIME_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_HEADER_TIME_H_BODY]) ]) AC_DEFUN([gl_HEADER_TIME_H_BODY], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) gl_NEXT_HEADERS([time.h]) AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) ]) dnl Check whether 'struct timespec' is declared dnl in time.h, sys/time.h, pthread.h, or unistd.h. AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [ AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_time_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_time_h=yes], [gl_cv_sys_struct_timespec_in_time_h=no])]) TIME_H_DEFINES_STRUCT_TIMESPEC=0 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then TIME_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_sys_time_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_sys_time_h=yes], [gl_cv_sys_struct_timespec_in_sys_time_h=no])]) if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_pthread_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_pthread_h=yes], [gl_cv_sys_struct_timespec_in_pthread_h=no])]) if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_unistd_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_unistd_h=yes], [gl_cv_sys_struct_timespec_in_unistd_h=no])]) if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 fi fi fi fi AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([UNISTD_H_DEFINES_STRUCT_TIMESPEC]) ]) AC_DEFUN([gl_TIME_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], [ GNULIB_CTIME=0; AC_SUBST([GNULIB_CTIME]) GNULIB_MKTIME=0; AC_SUBST([GNULIB_MKTIME]) GNULIB_LOCALTIME=0; AC_SUBST([GNULIB_LOCALTIME]) GNULIB_NANOSLEEP=0; AC_SUBST([GNULIB_NANOSLEEP]) GNULIB_STRFTIME=0; AC_SUBST([GNULIB_STRFTIME]) GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) GNULIB_TIME_RZ=0; AC_SUBST([GNULIB_TIME_RZ]) GNULIB_TZSET=0; AC_SUBST([GNULIB_TZSET]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R]) HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) HAVE_TZSET=1; AC_SUBST([HAVE_TZSET]) dnl Even GNU libc does not have timezone_t yet. HAVE_TIMEZONE_T=0; AC_SUBST([HAVE_TIMEZONE_T]) dnl If another module says to replace or to not replace, do that. dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; dnl this lets maintainers check for portability. REPLACE_CTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_CTIME]) REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R]) REPLACE_MKTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_MKTIME]) REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP]) REPLACE_STRFTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_STRFTIME]) REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM]) REPLACE_TZSET=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TZSET]) dnl Hack so that the time module doesn't depend on the sys_time module. dnl First, default GNULIB_GETTIMEOFDAY to 0 if sys_time is absent. : ${GNULIB_GETTIMEOFDAY=0}; AC_SUBST([GNULIB_GETTIMEOFDAY]) dnl Second, it's OK to not use GNULIB_PORTCHECK for REPLACE_GMTIME dnl and REPLACE_LOCALTIME, as portability to Solaris 2.6 and earlier dnl is no longer a big deal. REPLACE_GMTIME=0; AC_SUBST([REPLACE_GMTIME]) REPLACE_LOCALTIME=0; AC_SUBST([REPLACE_LOCALTIME]) ]) gsasl-1.8.1/m4/strerror.m40000644000000000000000000000711513516251576012204 00000000000000# strerror.m4 serial 20 dnl Copyright (C) 2002, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRERROR], [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([gl_FUNC_STRERROR_0]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS]) ]) if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then AC_CACHE_CHECK([for working strerror function], [gl_cv_func_working_strerror], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[if (!*strerror (-2)) return 1;]])], [gl_cv_func_working_strerror=yes], [gl_cv_func_working_strerror=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_working_strerror="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_working_strerror="guessing no" ;; esac ]) ]) case "$gl_cv_func_working_strerror" in *yes) ;; *) dnl The system's strerror() fails to return a string for out-of-range dnl integers. Replace it. REPLACE_STRERROR=1 ;; esac m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's dnl buffer, we must replace strerror. case "$gl_cv_func_strerror_r_works" in *no) REPLACE_STRERROR=1 ;; esac ]) else dnl The system's strerror() cannot know about the new errno values we add dnl to , or any fix for strerror(0). Replace it. REPLACE_STRERROR=1 fi ]) dnl Detect if strerror(0) passes (that is, does not set errno, and does not dnl return a string that matches strerror(-1)). AC_DEFUN([gl_FUNC_STRERROR_0], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles REPLACE_STRERROR_0=0 AC_CACHE_CHECK([whether strerror(0) succeeds], [gl_cv_func_strerror_0_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[int result = 0; char *str; errno = 0; str = strerror (0); if (!*str) result |= 1; if (errno) result |= 2; if (strstr (str, "nknown") || strstr (str, "ndefined")) result |= 4; return result;]])], [gl_cv_func_strerror_0_works=yes], [gl_cv_func_strerror_0_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_strerror_0_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_strerror_0_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_strerror_0_works" in *yes) ;; *) REPLACE_STRERROR_0=1 AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0) does not return a message implying success.]) ;; esac ]) gsasl-1.8.1/m4/lib-prefix.m40000644000000000000000000002272013516251575012361 00000000000000# lib-prefix.m4 serial 14 dnl Copyright (C) 2001-2005, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH([lib-prefix], [[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates dnl - a variable acl_libdirstem, containing the basename of the libdir, either dnl "lib" or "lib64" or "lib/64", dnl - a variable acl_libdirstem2, as a secondary possible value for dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or dnl "lib/amd64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. dnl On glibc systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine dnl the compiler's default mode by looking at the compiler's library search dnl path. If at least one of its elements ends in /lib64 or points to a dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. dnl Otherwise we use the default, namely "lib". dnl On Solaris systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_HOST_CPU_C_ABI_32BIT]) case "$host_os" in solaris*) AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef _LP64 int ok; #else error fail #endif ]])], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) ]);; esac dnl Allow the user to override the result by setting acl_cv_libdirstems. AC_CACHE_CHECK([for the common suffixes of directories in the library search path], [acl_cv_libdirstems], [acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment dnl . dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the dnl symlink is missing, so we set acl_libdirstem2 too. if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) dnl If $CC generates code for a 32-bit ABI, the libraries are dnl surely under $prefix/lib, not $prefix/lib64. if test "$HOST_CPU_C_ABI_32BIT" != yes; then dnl The result is a property of the system. However, non-system dnl compilers sometimes have odd library search paths. Therefore dnl prefer asking /usr/bin/gcc, if available, rather than $CC. searchpath=`(if test -f /usr/bin/gcc \ && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \ LC_ALL=C /usr/bin/gcc -print-search-dirs; \ else \ LC_ALL=C $CC -print-search-dirs; \ fi) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2" ]) # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2. acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'` ]) gsasl-1.8.1/maint.mk0000644000000000000000000020147513516251601011173 00000000000000# -*-Makefile-*- # This Makefile fragment tries to be general-purpose enough to be # used by many projects via the gnulib maintainer-makefile module. ## Copyright (C) 2001-2019 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 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, see . # This is reported not to work with make-3.79.1 # ME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) ME := maint.mk # These variables ought to be defined through the configure.ac section # of the module description. But some packages import this file directly, # ignoring the module description. AWK ?= awk GREP ?= grep SED ?= sed # Helper variables. _empty = _sp = $(_empty) $(_empty) # _equal,S1,S2 # ------------ # If S1 == S2, return S1, otherwise the empty string. _equal = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1))) # member-check,VARIABLE,VALID-VALUES # ---------------------------------- # Check that $(VARIABLE) is in the space-separated list of VALID-VALUES, and # return it. Die otherwise. member-check = \ $(strip \ $(if $($(1)), \ $(if $(findstring $(_sp),$($(1))), \ $(error invalid $(1): '$($(1))', expected $(2)), \ $(or $(findstring $(_sp)$($(1))$(_sp),$(_sp)$(2)$(_sp)), \ $(error invalid $(1): '$($(1))', expected $(2)))), \ $(error $(1) undefined))) # Do not save the original name or timestamp in the .tar.gz file. # Use --rsyncable if available. gzip_rsyncable := \ $(shell gzip --help 2>/dev/null|$(GREP) rsyncable >/dev/null \ && printf %s --rsyncable) GZIP_ENV = '--no-name --best $(gzip_rsyncable)' GIT = git VC = $(GIT) VC_LIST = $(srcdir)/$(_build-aux)/vc-list-files -C $(srcdir) # You can override this variable in cfg.mk if your gnulib submodule lives # in a different location. gnulib_dir ?= $(srcdir)/gnulib # You can override this variable in cfg.mk to set your own regexp # matching files to ignore. VC_LIST_ALWAYS_EXCLUDE_REGEX ?= ^$$ # This is to preprocess robustly the output of $(VC_LIST), so that even # when $(srcdir) is a pathological name like "....", the leading sed command # removes only the intended prefix. _dot_escaped_srcdir = $(subst .,\.,$(srcdir)) # Post-process $(VC_LIST) output, prepending $(srcdir)/, but only # when $(srcdir) is not ".". ifeq ($(srcdir),.) _prepend_srcdir_prefix = else _prepend_srcdir_prefix = | $(SED) 's|^|$(srcdir)/|' endif # In order to be able to consistently filter "."-relative names, # (i.e., with no $(srcdir) prefix), this definition is careful to # remove any $(srcdir) prefix, and to restore what it removes. _sc_excl = \ $(or $(exclude_file_name_regexp--$@),^$$) VC_LIST_EXCEPT = \ $(VC_LIST) | $(SED) 's|^$(_dot_escaped_srcdir)/||' \ | if test -f $(srcdir)/.x-$@; then $(GREP) -vEf $(srcdir)/.x-$@; \ else $(GREP) -Ev -e "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi \ | $(GREP) -Ev -e '($(VC_LIST_ALWAYS_EXCLUDE_REGEX)|$(_sc_excl))' \ $(_prepend_srcdir_prefix) ifeq ($(origin prev_version_file), undefined) prev_version_file = $(srcdir)/.prev-version endif PREV_VERSION := $(shell cat $(prev_version_file) 2>/dev/null) VERSION_REGEXP = $(subst .,\.,$(VERSION)) PREV_VERSION_REGEXP = $(subst .,\.,$(PREV_VERSION)) ifeq ($(VC),$(GIT)) this-vc-tag = v$(VERSION) this-vc-tag-regexp = v$(VERSION_REGEXP) else tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') tag-this-version = $(subst .,_,$(VERSION)) this-vc-tag = $(tag-package)-$(tag-this-version) this-vc-tag-regexp = $(this-vc-tag) endif my_distdir = $(PACKAGE)-$(VERSION) # Old releases are stored here. release_archive_dir ?= ../release # If RELEASE_TYPE is undefined, but RELEASE is, use its second word. # But overwrite VERSION. ifdef RELEASE VERSION := $(word 1, $(RELEASE)) RELEASE_TYPE ?= $(word 2, $(RELEASE)) endif # Validate and return $(RELEASE_TYPE), or die. RELEASE_TYPES = alpha beta stable release-type = $(call member-check,RELEASE_TYPE,$(RELEASE_TYPES)) # Override gnu_rel_host and url_dir_list in cfg.mk if these are not right. # Use alpha.gnu.org for alpha and beta releases. # Use ftp.gnu.org for stable releases. gnu_ftp_host-alpha = alpha.gnu.org gnu_ftp_host-beta = alpha.gnu.org gnu_ftp_host-stable = ftp.gnu.org gnu_rel_host ?= $(gnu_ftp_host-$(release-type)) url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org), \ https://ftpmirror.gnu.org/$(PACKAGE), \ https://$(gnu_rel_host)/gnu/$(PACKAGE)) # Override this in cfg.mk if you are using a different format in your # NEWS file. today = $(shell date +%Y-%m-%d) # Select which lines of NEWS are searched for $(news-check-regexp). # This is a sed line number spec. The default says that we search # lines 1..10 of NEWS for $(news-check-regexp). # If you want to search only line 3 or only lines 20-22, use "3" or "20,22". news-check-lines-spec ?= 1,10 news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' # Prevent programs like 'sort' from considering distinct strings to be equal. # Doing it here saves us from having to set LC_ALL elsewhere in this file. export LC_ALL = C ## --------------- ## ## Sanity checks. ## ## --------------- ## ifneq ($(_gl-Makefile),) _cfg_mk := $(wildcard $(srcdir)/cfg.mk) # Collect the names of rules starting with 'sc_'. syntax-check-rules := $(sort $(shell $(SED) -n \ 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk))) .PHONY: $(syntax-check-rules) ifeq ($(shell $(VC_LIST) >/dev/null 2>&1; echo $$?),0) local-checks-available += $(syntax-check-rules) else local-checks-available += no-vc-detected no-vc-detected: @echo "No version control files detected; skipping syntax check" endif .PHONY: $(local-checks-available) # Arrange to print the name of each syntax-checking rule just before running it. $(syntax-check-rules): %: %.m sc_m_rules_ = $(patsubst %, %.m, $(syntax-check-rules)) .PHONY: $(sc_m_rules_) $(sc_m_rules_): @echo $(patsubst sc_%.m, %, $@) @date +%s.%N > .sc-start-$(basename $@) # Compute and print the elapsed time for each syntax-check rule. sc_z_rules_ = $(patsubst %, %.z, $(syntax-check-rules)) .PHONY: $(sc_z_rules_) $(sc_z_rules_): %.z: % @end=$$(date +%s.%N); \ start=$$(cat .sc-start-$*); \ rm -f .sc-start-$*; \ $(AWK) -v s=$$start -v e=$$end \ 'END {printf "%.2f $(patsubst sc_%,%,$*)\n", e - s}' < /dev/null # The patsubst here is to replace each sc_% rule with its sc_%.z wrapper # that computes and prints elapsed time. local-check := \ $(patsubst sc_%, sc_%.z, \ $(filter-out $(local-checks-to-skip), $(local-checks-available))) syntax-check: $(local-check) endif # _sc_search_regexp # # This macro searches for a given construct in the selected files and # then takes some action. # # Parameters (shell variables): # # prohibit | require # # Regular expression (ERE) denoting either a forbidden construct # or a required construct. Those arguments are exclusive. # # exclude # # Regular expression (ERE) denoting lines to ignore that matched # a prohibit construct. For example, this can be used to exclude # comments that mention why the nearby code uses an alternative # construct instead of the simpler prohibited construct. # # in_vc_files | in_files # # grep-E-style regexp selecting the files to check. For in_vc_files, # the regexp is used to select matching files from the list of all # version-controlled files; for in_files, it's from the names printed # by "find $(srcdir)". When neither is specified, use all files that # are under version control. # # containing | non_containing # # Select the files (non) containing strings matching this regexp. # If both arguments are specified then CONTAINING takes # precedence. # # with_grep_options # # Extra options for grep. # # ignore_case # # Ignore case. # # halt # # Message to display before to halting execution. # # Finally, you may exempt files based on an ERE matching file names. # For example, to exempt from the sc_space_tab check all files with the # .diff suffix, set this Make variable: # # exclude_file_name_regexp--sc_space_tab = \.diff$ # # Note that while this functionality is mostly inherited via VC_LIST_EXCEPT, # when filtering by name via in_files, we explicitly filter out matching # names here as well. # Initialize each, so that envvar settings cannot interfere. export require = export prohibit = export exclude = export in_vc_files = export in_files = export containing = export non_containing = export halt = export with_grep_options = # By default, _sc_search_regexp does not ignore case. export ignore_case = _ignore_case = $$(test -n "$$ignore_case" && printf %s -i || :) define _sc_say_and_exit dummy=; : so we do not need a semicolon before each use; \ { printf '%s\n' "$(ME): $$msg" 1>&2; exit 1; }; endef define _sc_search_regexp dummy=; : so we do not need a semicolon before each use; \ \ : Check arguments; \ test -n "$$prohibit" && test -n "$$require" \ && { msg='Cannot specify both prohibit and require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -z "$$require" \ && { msg='Should specify either prohibit or require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -n "$$exclude" \ && { msg='Use of exclude requires a prohibit pattern' \ $(_sc_say_and_exit) } || :; \ test -n "$$in_vc_files" && test -n "$$in_files" \ && { msg='Cannot specify both in_vc_files and in_files' \ $(_sc_say_and_exit) } || :; \ test "x$$halt" != x \ || { msg='halt not defined' $(_sc_say_and_exit) }; \ \ : Filter by file name; \ if test -n "$$in_files"; then \ files=$$(find $(srcdir) | $(GREP) -E "$$in_files" \ | $(GREP) -Ev '$(_sc_excl)'); \ else \ files=$$($(VC_LIST_EXCEPT)); \ if test -n "$$in_vc_files"; then \ files=$$(echo "$$files" | $(GREP) -E "$$in_vc_files"); \ fi; \ fi; \ \ : Filter by content; \ test -n "$$files" \ && test -n "$$containing" \ && { files=$$(echo "$$files" | xargs $(GREP) -l "$$containing"); } \ || :; \ test -n "$$files" \ && test -n "$$non_containing" \ && { files=$$(echo "$$files" | xargs $(GREP) -vl "$$non_containing"); } \ || :; \ \ : Check for the construct; \ if test -n "$$files"; then \ if test -n "$$prohibit"; then \ echo "$$files" \ | xargs $(GREP) $$with_grep_options $(_ignore_case) -nE \ "$$prohibit" /dev/null \ | $(GREP) -vE "$${exclude:-^$$}" \ && { msg="$$halt" $(_sc_say_and_exit) } \ || :; \ else \ echo "$$files" \ | xargs \ $(GREP) $$with_grep_options $(_ignore_case) -LE "$$require" \ | $(GREP) . \ && { msg="$$halt" $(_sc_say_and_exit) } \ || :; \ fi \ else :; \ fi || :; endef sc_avoid_if_before_free: @$(VC_LIST_EXCEPT) \ | $(GREP) -v useless-if-before-free \ | xargs \ $(srcdir)/$(_build-aux)/useless-if-before-free \ $(useless_free_options) \ && { printf '$(ME): found useless "if"' \ ' before "free" above\n' 1>&2; \ exit 1; } \ || : sc_cast_of_argument_to_free: @prohibit='\/dev/null 2>&1; then \ (cd $(srcdir) && autoconf --trace AC_CONFIG_FILES:'$$1') | \ tr ' ' '\n' | \ $(SED) -ne '/Makefile/{s/\.in$$//;p;}' | \ while read m; do \ $(MAKE) -qp -f $$m .DUMMY-TARGET 2>/dev/null | \ $(AWK) -v file=$$m -e '$($@_awk_)' || exit 1; \ done; \ fi # Using EXIT_SUCCESS as the first argument to error is misleading, # since when that parameter is 0, error does not exit. Use '0' instead. sc_error_exit_success: @prohibit='error *\(EXIT_SUCCESS,' \ in_vc_files='\.[chly]$$' \ halt='found error (EXIT_SUCCESS' \ $(_sc_search_regexp) # "FATAL:" should be fully upper-cased in error messages # "WARNING:" should be fully upper-cased, or fully lower-cased sc_error_message_warn_fatal: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '"Warning|"Fatal|"fatal' \ && { echo '$(ME): use FATAL, WARNING or warning' 1>&2; \ exit 1; } \ || : # Error messages should not start with a capital letter sc_error_message_uppercase: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '"[A-Z]' \ | $(GREP) -vE '"FATAL|"WARNING|"Java|"C#|PRIuMAX' \ && { echo '$(ME): found capitalized error message' 1>&2; \ exit 1; } \ || : # Error messages should not end with a period sc_error_message_period: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '[^."]\."' \ && { echo '$(ME): found error message ending in period' 1>&2; \ exit 1; } \ || : sc_file_system: @prohibit=file''system \ exclude='/proc/filesystems' \ ignore_case=1 \ halt='found use of "file''system"; spell it "file system"' \ $(_sc_search_regexp) # Don't use cpp tests of this symbol. All code assumes config.h is included. sc_prohibit_have_config_h: @prohibit='^# *if.*HAVE''_CONFIG_H' \ halt='found use of HAVE''_CONFIG_H; remove' \ $(_sc_search_regexp) # Nearly all .c files must include . However, we also permit this # via inclusion of a package-specific header, if cfg.mk specified one. # config_h_header must be suitable for grep -E. config_h_header ?= sc_require_config_h: @require='^# *include $(config_h_header)' \ in_vc_files='\.c$$' \ halt='the above files do not include ' \ $(_sc_search_regexp) # Print each file name for which the first #include does not match # $(config_h_header). Like grep -m 1, this only looks at the first match. perl_config_h_first_ = \ -e 'BEGIN {$$ret = 0}' \ -e 'if (/^\# *include\b/) {' \ -e ' if (not m{^\# *include $(config_h_header)}) {' \ -e ' print "$$ARGV\n";' \ -e ' $$ret = 1;' \ -e ' }' \ -e ' \# Move on to next file after first include' \ -e ' close ARGV;' \ -e '}' \ -e 'END {exit $$ret}' # You must include before including any other header file. # This can possibly be via a package-specific header, if given by cfg.mk. sc_require_config_h_first: @if $(VC_LIST_EXCEPT) | $(GREP) '\.c$$' > /dev/null; then \ files=$$($(VC_LIST_EXCEPT) | $(GREP) '\.c$$') && \ perl -n $(perl_config_h_first_) $$files || \ { echo '$(ME): the above files include some other header' \ 'before ' 1>&2; exit 1; } || :; \ else :; \ fi sc_prohibit_HAVE_MBRTOWC: @prohibit='\bHAVE_MBRTOWC\b' \ halt="do not use $$prohibit; it is always defined" \ $(_sc_search_regexp) # To use this "command" macro, you must first define two shell variables: # h: the header name, with no enclosing <> or "" # re: a regular expression that matches IFF something provided by $h is used. define _sc_header_without_use dummy=; : so we do not need a semicolon before each use; \ h_esc=`echo '[<"]'"$$h"'[">]'|$(SED) 's/\./\\\\./g'`; \ if $(VC_LIST_EXCEPT) | $(GREP) '\.c$$' > /dev/null; then \ files=$$($(GREP) -l '^# *include '"$$h_esc" \ $$($(VC_LIST_EXCEPT) | $(GREP) '\.c$$')) && \ $(GREP) -LE "$$re" $$files | $(GREP) . && \ { echo "$(ME): the above files include $$h but don't use it" \ 1>&2; exit 1; } || :; \ else :; \ fi endef # Prohibit the inclusion of assert.h without an actual use of assert. sc_prohibit_assert_without_use: @h='assert.h' re='\new(file => "/dev/stdin")->as_string'|sed 's/\?://g' # Note this was produced by the above: # _xa1 = \ #x(((2n?)?re|c(har)?|n(re|m)|z)alloc|alloc_(oversized|die)|m(alloc|emdup)|strdup) # But we can do better, in at least two ways: # 1) take advantage of two "dup"-suffixed strings: # x(((2n?)?re|c(har)?|n(re|m)|[mz])alloc|alloc_(oversized|die)|(mem|str)dup) # 2) notice that "c(har)?|[mz]" is equivalent to the shorter and more readable # "char|[cmz]" # x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) _xa1 = x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) _xa2 = X([CZ]|N?M)ALLOC sc_prohibit_xalloc_without_use: @h='xalloc.h' \ re='\<($(_xa1)|$(_xa2)) *\('\ $(_sc_header_without_use) # Extract function names: # perl -lne '/^(?:extern )?(?:void|char) \*?(\w+) *\(/ and print $1' lib/hash.h _hash_re = \ clear|delete|free|get_(first|next)|insert|lookup|print_statistics|reset_tuning _hash_fn = \<($(_hash_re)) *\( _hash_struct = (struct )?\<[Hh]ash_(table|tuning)\> sc_prohibit_hash_without_use: @h='hash.h' \ re='$(_hash_fn)|$(_hash_struct)'\ $(_sc_header_without_use) sc_prohibit_cloexec_without_use: @h='cloexec.h' re='\<(set_cloexec_flag|dup_cloexec) *\(' \ $(_sc_header_without_use) sc_prohibit_posixver_without_use: @h='posixver.h' re='\' \ halt='do not use HAVE''_FCNTL_H or O'_NDELAY \ $(_sc_search_regexp) # FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ # Each nonempty ChangeLog line must start with a year number, or a TAB. sc_changelog: @prohibit='^[^12 ]' \ in_vc_files='^ChangeLog$$' \ halt='found unexpected prefix in a ChangeLog' \ $(_sc_search_regexp) # Ensure that each .c file containing a "main" function also # calls bindtextdomain. sc_bindtextdomain: @require='bindtextdomain *\(' \ in_vc_files='\.c$$' \ containing='\
/dev/null \ && : || { die=1; echo $$i; } \ done; \ test $$die = 1 && \ { echo 1>&2 '$(ME): the final line in each of the above is not:'; \ echo 1>&2 'Exit something'; \ exit 1; } || :; \ fi sc_trailing_blank: @prohibit='[ ]$$' \ halt='found trailing blank(s)' \ exclude='^Binary file .* matches$$' \ $(_sc_search_regexp) # Match lines like the following, but where there is only one space # between the options and the description: # -D, --all-repeated[=delimit-method] print all duplicate lines\n longopt_re = --[a-z][0-9A-Za-z-]*(\[?=[0-9A-Za-z-]*\]?)? sc_two_space_separator_in_usage: @prohibit='^ *(-[A-Za-z],)? $(longopt_re) [^ ].*\\$$' \ halt='help2man requires at least two spaces between an option and its description'\ $(_sc_search_regexp) # A regexp matching function names like "error" that may be used # to emit translatable messages. _gl_translatable_diag_func_re ?= error # Look for diagnostics that aren't marked for translation. # This won't find any for which error's format string is on a separate line. sc_unmarked_diagnostics: @prohibit='\<$(_gl_translatable_diag_func_re) *\([^"]*"[^"]*[a-z]{3}' \ exclude='(_|ngettext ?)\(' \ halt='found unmarked diagnostic(s)' \ $(_sc_search_regexp) # Avoid useless parentheses like those in this example: # #if defined (SYMBOL) || defined (SYM2) sc_useless_cpp_parens: @prohibit='^# *if .*defined *\(' \ halt='found useless parentheses in cpp directive' \ $(_sc_search_regexp) # List headers for which HAVE_HEADER_H is always true, assuming you are # using the appropriate gnulib module. CAUTION: for each "unnecessary" # #if HAVE_HEADER_H that you remove, be sure that your project explicitly # requires the gnulib module that guarantees the usability of that header. gl_assured_headers_ = \ cd $(gnulib_dir)/lib && echo *.in.h|$(SED) 's/\.in\.h//g' # Convert the list of names to upper case, and replace each space with "|". az_ = abcdefghijklmnopqrstuvwxyz AZ_ = ABCDEFGHIJKLMNOPQRSTUVWXYZ gl_header_upper_case_or_ = \ $$($(gl_assured_headers_) \ | tr $(az_)/.- $(AZ_)___ \ | tr -s ' ' '|' \ ) sc_prohibit_always_true_header_tests: @or=$(gl_header_upper_case_or_); \ re="HAVE_($$or)_H"; \ prohibit='\<'"$$re"'\>' \ halt=$$(printf '%s\n' \ 'do not test the above HAVE_
_H symbol(s);' \ ' with the corresponding gnulib module, they are always true') \ $(_sc_search_regexp) sc_prohibit_defined_have_decl_tests: @prohibit='(#[ ]*ifn?def|\[ (]+HAVE_DECL_' \ halt='HAVE_DECL macros are always defined' \ $(_sc_search_regexp) # ================================================================== gl_other_headers_ ?= \ intprops.h \ openat.h \ stat-macros.h # Perl -lne code to extract "significant" cpp-defined symbols from a # gnulib header file, eliminating a few common false-positives. # The exempted names below are defined only conditionally in gnulib, # and hence sometimes must/may be defined in application code. gl_extract_significant_defines_ = \ /^\# *define ([^_ (][^ (]*)(\s*\(|\s+\w+)/\ && $$2 !~ /(?:rpl_|_used_without_)/\ && $$1 !~ /^(?:NSIG|ENODATA)$$/\ && $$1 !~ /^(?:SA_RESETHAND|SA_RESTART)$$/\ and print $$1 # Create a list of regular expressions matching the names # of macros that are guaranteed to be defined by parts of gnulib. define def_sym_regex gen_h=$(gl_generated_headers_); \ (cd $(gnulib_dir)/lib; \ for f in *.in.h $(gl_other_headers_); do \ test -f $$f \ && perl -lne '$(gl_extract_significant_defines_)' $$f; \ done; \ ) | sort -u \ | $(SED) 's/^/^ *# *(define|undef) */;s/$$/\\>/' endef # Don't define macros that we already get from gnulib header files. sc_prohibit_always-defined_macros: @if test -d $(gnulib_dir); then \ case $$(echo all: | $(GREP) -l -f - Makefile) in Makefile);; *) \ echo '$(ME): skipping $@: you lack GNU grep' 1>&2; exit 0;; \ esac; \ regex=$$($(def_sym_regex)); export regex; \ $(VC_LIST_EXCEPT) \ | xargs sh -c 'echo $$regex | $(GREP) -E -f - "$$@"' \ dummy /dev/null \ && { printf '$(ME): define the above' \ ' via some gnulib .h file\n' 1>&2; \ exit 1; } \ || :; \ fi # ================================================================== # Prohibit checked in backup files. sc_prohibit_backup_files: @$(VC_LIST) | $(GREP) '~$$' && \ { echo '$(ME): found version controlled backup file' 1>&2; \ exit 1; } || : # Require the latest GPL. sc_GPL_version: @prohibit='either ''version [^3]' \ halt='GPL vN, N!=3' \ $(_sc_search_regexp) # Require the latest GFDL. Two regexp, since some .texi files end up # line wrapping between 'Free Documentation License,' and 'Version'. _GFDL_regexp = (Free ''Documentation.*Version 1\.[^3]|Version 1\.[^3] or any) sc_GFDL_version: @prohibit='$(_GFDL_regexp)' \ halt='GFDL vN, N!=3' \ $(_sc_search_regexp) # Don't use Texinfo's @acronym{}. # https://lists.gnu.org/r/bug-gnulib/2010-03/msg00321.html texinfo_suffix_re_ ?= \.(txi|texi(nfo)?)$$ sc_texinfo_acronym: @prohibit='@acronym\{' \ in_vc_files='$(texinfo_suffix_re_)' \ halt='found use of Texinfo @acronym{}' \ $(_sc_search_regexp) cvs_keywords = \ Author|Date|Header|Id|Name|Locker|Log|RCSfile|Revision|Source|State sc_prohibit_cvs_keyword: @prohibit='\$$($(cvs_keywords))\$$' \ halt='do not use CVS keyword expansion' \ $(_sc_search_regexp) # This Perl code is slightly obfuscated. Not only is each "$" doubled # because it's in a Makefile, but the $$c's are comments; we cannot # use "#" due to the way the script ends up concatenated onto one line. # It would be much more concise, and would produce better output (including # counts) if written as: # perl -ln -0777 -e '/\n(\n+)$/ and print "$ARGV: ".length $1' ... # but that would be far less efficient, reading the entire contents # of each file, rather than just the last two bytes of each. # In addition, while the code below detects both blank lines and a missing # newline at EOF, the above detects only the former. # # This is a perl script that is expected to be the single-quoted argument # to a command-line "-le". The remaining arguments are file names. # Print the name of each file that does not end in exactly one newline byte. # I.e., warn if there are blank lines (2 or more newlines), or if the # last byte is not a newline. However, currently we don't complain # about any file that contains exactly one byte. # Exit nonzero if at least one such file is found, otherwise, exit 0. # Warn about, but otherwise ignore open failure. Ignore seek/read failure. # # Use this if you want to remove trailing empty lines from selected files: # perl -pi -0777 -e 's/\n\n+$/\n/' files... # require_exactly_one_NL_at_EOF_ = \ foreach my $$f (@ARGV) \ { \ open F, "<", $$f or (warn "failed to open $$f: $$!\n"), next; \ my $$p = sysseek (F, -2, 2); \ my $$c = "seek failure probably means file has < 2 bytes; ignore"; \ my $$last_two_bytes; \ defined $$p and $$p = sysread F, $$last_two_bytes, 2; \ close F; \ $$c = "ignore read failure"; \ $$p && ($$last_two_bytes eq "\n\n" \ || substr ($$last_two_bytes,1) ne "\n") \ and (print $$f), $$fail=1; \ } \ END { exit defined $$fail } sc_prohibit_empty_lines_at_EOF: @$(VC_LIST_EXCEPT) \ | xargs perl -le '$(require_exactly_one_NL_at_EOF_)' \ || { echo '$(ME): empty line(s) or no newline at EOF' 1>&2; \ exit 1; } \ || : # Make sure we don't use st_blocks. Use ST_NBLOCKS instead. # This is a bit of a kludge, since it prevents use of the string # even in comments, but for now it does the job with no false positives. sc_prohibit_stat_st_blocks: @prohibit='[.>]st_blocks' \ halt='do not use st_blocks; use ST_NBLOCKS' \ $(_sc_search_regexp) # Make sure we don't define any S_IS* macros in src/*.c files. # They're already defined via gnulib's sys/stat.h replacement. sc_prohibit_S_IS_definition: @prohibit='^ *# *define *S_IS' \ halt='do not define S_IS* macros; include ' \ $(_sc_search_regexp) # Perl block to convert a match to FILE_NAME:LINENO:TEST, # that is shared by two definitions below. perl_filename_lineno_text_ = \ -e ' {' \ -e ' $$n = ($$` =~ tr/\n/\n/ + 1);' \ -e ' ($$v = $$&) =~ s/\n/\\n/g;' \ -e ' print "$$ARGV:$$n:$$v\n";' \ -e ' }' prohibit_doubled_words_ = \ the then in an on if is it but for or at and do to # expand the regex before running the check to avoid using expensive captures prohibit_doubled_word_expanded_ = \ $(join $(prohibit_doubled_words_),$(addprefix \s+,$(prohibit_doubled_words_))) prohibit_doubled_word_RE_ ?= \ /\b(?:$(subst $(_sp),|,$(prohibit_doubled_word_expanded_)))\b/gims prohibit_doubled_word_ = \ -e 'while ($(prohibit_doubled_word_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_doubled_word_match_RE_ ?= ^$$ sc_prohibit_doubled_word: @$(VC_LIST_EXCEPT) \ | xargs perl -n -0777 $(prohibit_doubled_word_) \ | $(GREP) -vE '$(ignore_doubled_word_match_RE_)' \ | $(GREP) . \ && { echo '$(ME): doubled words' 1>&2; exit 1; } \ || : # A regular expression matching undesirable combinations of words like # "can not"; this matches them even when the two words appear on different # lines, but not when there is an intervening delimiter like "#" or "*". # Similarly undesirable, "See @xref{...}", since an @xref should start # a sentence. Explicitly prohibit any prefix of "see" or "also". # Also prohibit a prefix matching "\w+ +". # @pxref gets the same see/also treatment and should be parenthesized; # presume it must *not* start a sentence. # POSIX spells it "timestamp" rather than "time\s+stamp", so we do, too. bad_xref_re_ ?= (?:[\w,:;] +|(?:see|also)\s+)\@xref\{ bad_pxref_re_ ?= (?:[.!?]|(?:see|also))\s+\@pxref\{ prohibit_undesirable_word_seq_RE_ ?= \ /(?:\bcan\s+not\b|\btime\s+stamps?\b|$(bad_xref_re_)|$(bad_pxref_re_))/gims prohibit_undesirable_word_seq_ = \ -e 'while ($(prohibit_undesirable_word_seq_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_undesirable_word_sequence_RE_ ?= ^$$ sc_prohibit_undesirable_word_seq: @$(VC_LIST_EXCEPT) \ | xargs perl -n -0777 $(prohibit_undesirable_word_seq_) \ | $(GREP) -vE '$(ignore_undesirable_word_sequence_RE_)' \ | $(GREP) . \ && { echo '$(ME): undesirable word sequence' >&2; exit 1; } \ || : # Except for shell files and for loops, double semicolon is probably a mistake sc_prohibit_double_semicolon: @prohibit='; *;[ {} \]*(/[/*]|$$)' \ in_vc_files='\.[chly]$$' \ exclude='\bfor *\(.*\)' \ halt="Double semicolon detected" \ $(_sc_search_regexp) _ptm1 = use "test C1 && test C2", not "test C1 -''a C2" _ptm2 = use "test C1 || test C2", not "test C1 -''o C2" # Using test's -a and -o operators is not portable. # We prefer test over [, since the latter is spelled [[ in configure.ac. sc_prohibit_test_minus_ao: @prohibit='(\ /dev/null \ || { fail=1; echo 1>&2 "$(ME): $$p uses proper_name_utf8"; }; \ done; \ test $$fail = 1 && \ { echo 1>&2 '$(ME): the above do not link with any ICONV library'; \ exit 1; } || :; \ fi # Warn about "c0nst struct Foo const foo[]", # but not about "char const *const foo" or "#define const const". sc_redundant_const: @prohibit='\bconst\b[[:space:][:alnum:]]{2,}\bconst\b' \ halt='redundant "const" in declarations' \ $(_sc_search_regexp) sc_const_long_option: @prohibit='^ *static.*struct option ' \ exclude='const struct option|struct option const' \ halt='add "const" to the above declarations' \ $(_sc_search_regexp) NEWS_hash = \ $$($(SED) -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \ $(srcdir)/NEWS \ | perl -0777 -pe \ 's/^Copyright.+?Free\sSoftware\sFoundation,\sInc\.\n//ms' \ | md5sum - \ | $(SED) 's/ .*//') # Ensure that we don't accidentally insert an entry into an old NEWS block. sc_immutable_NEWS: @if test -f $(srcdir)/NEWS; then \ test "$(NEWS_hash)" = '$(old_NEWS_hash)' && : || \ { echo '$(ME): you have modified old NEWS' 1>&2; exit 1; }; \ fi # Update the hash stored above. Do this after each release and # for any corrections to old entries. update-NEWS-hash: NEWS perl -pi -e 's/^(old_NEWS_hash[ \t]+:?=[ \t]+).*/$${1}'"$(NEWS_hash)/" \ $(srcdir)/cfg.mk # Ensure that we use only the standard $(VAR) notation, # not @...@ in Makefile.am, now that we can rely on automake # to emit a definition for each substituted variable. # However, there is still one case in which @VAR@ use is not just # legitimate, but actually required: when augmenting an automake-defined # variable with a prefix. For example, gettext uses this: # MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@ # otherwise, makeinfo would put German or French (current locale) # navigation hints in the otherwise-English documentation. # # Allow the package to add exceptions via a hook in cfg.mk; # for example, @PRAGMA_SYSTEM_HEADER@ can be permitted by # setting this to ' && !/PRAGMA_SYSTEM_HEADER/'. _makefile_at_at_check_exceptions ?= sc_makefile_at_at_check: @perl -ne '/\@\w+\@/' \ -e ' && !/(\w+)\s+=.*\@\1\@$$/' \ -e ''$(_makefile_at_at_check_exceptions) \ -e 'and (print "$$ARGV:$$.: $$_"), $$m=1; END {exit !$$m}' \ $$($(VC_LIST_EXCEPT) | $(GREP) -E '(^|/)(Makefile\.am|[^/]+\.mk)$$') \ && { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || : news-check: NEWS $(AM_V_GEN)if $(SED) -n $(news-check-lines-spec)p $< \ | $(GREP) -E $(news-check-regexp) >/dev/null; then \ :; \ else \ echo 'NEWS: $$(news-check-regexp) failed to match' 1>&2; \ exit 1; \ fi sc_makefile_TAB_only_indentation: @prohibit='^ [ ]{8}' \ in_vc_files='akefile|\.mk$$' \ halt='found TAB-8-space indentation' \ $(_sc_search_regexp) sc_m4_quote_check: @prohibit='(AC_DEFINE(_UNQUOTED)?|AC_DEFUN)\([^[]' \ in_vc_files='(^configure\.ac|\.m4)$$' \ halt='quote the first arg to AC_DEF*' \ $(_sc_search_regexp) fix_po_file_diag = \ 'you have changed the set of files with translatable diagnostics;\n\ apply the above patch\n' # Generate a list of files in which to search for translatable strings. perl_translatable_files_list_ = \ -e 'foreach $$file (@ARGV) {' \ -e ' \# Consider only file extensions with one or two letters' \ -e ' $$file =~ /\...?$$/ or next;' \ -e ' \# Ignore m4 and mk files' \ -e ' $$file =~ /\.m[4k]$$/ and next;' \ -e ' \# Ignore a .c or .h file with a corresponding .l or .y file' \ -e ' $$file =~ /(.+)\.[ch]$$/ && (-e "$${1}.l" || -e "$${1}.y")' \ -e ' and next;' \ -e ' \# Skip unreadable files' \ -e ' -r $$file or next;' \ -e ' print "$$file ";' \ -e '}' # Verify that all source files using _() (more specifically, files that # match $(_gl_translatable_string_re)) are listed in po/POTFILES.in. po_file ?= $(srcdir)/po/POTFILES.in generated_files ?= $(srcdir)/lib/*.[ch] _gl_translatable_string_re ?= \b(N?_|gettext *)\([^)"]*("|$$) sc_po_check: @if test -f $(po_file); then \ $(GREP) -E -v '^(#|$$)' $(po_file) \ | $(GREP) -v '^src/false\.c$$' | sort > $@-1; \ { $(VC_LIST_EXCEPT); echo $(generated_files); } \ | xargs perl $(perl_translatable_files_list_) \ | xargs $(GREP) -E -l '$(_gl_translatable_string_re)' \ | $(SED) 's|^$(_dot_escaped_srcdir)/||' \ | sort -u > $@-2; \ diff -u -L $(po_file) -L $(po_file) $@-1 $@-2 \ || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; }; \ rm -f $@-1 $@-2; \ fi # Sometimes it is useful to change the PATH environment variable # in Makefiles. When doing so, it's better not to use the Unix-centric # path separator of ':', but rather the automake-provided '$(PATH_SEPARATOR)'. msg = 'Do not use ":" above; use $$(PATH_SEPARATOR) instead' sc_makefile_path_separator_check: @prohibit='PATH[=].*:' \ in_vc_files='akefile|\.mk$$' \ halt=$(msg) \ $(_sc_search_regexp) # Check that 'make alpha' will not fail at the end of the process, # i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release) # and is read-only. writable-files: $(AM_V_GEN)if test -d $(release_archive_dir); then \ for file in $(DIST_ARCHIVES); do \ for p in ./ $(release_archive_dir)/; do \ test -e $$p$$file || continue; \ test -w $$p$$file \ || { echo ERROR: $$p$$file is not writable; fail=1; }; \ done; \ done; \ test "$$fail" && exit 1 || : ; \ else :; \ fi v_etc_file = $(gnulib_dir)/lib/version-etc.c sample-test = tests/sample-test texi = doc/$(PACKAGE).texi # Make sure that the copyright date in $(v_etc_file) is up to date. # Do the same for the $(sample-test) and the main doc/.texi file. sc_copyright_check: @require='enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' \ in_files=$(v_etc_file) \ halt='out of date copyright in $(v_etc_file); update it' \ $(_sc_search_regexp) @require='# Copyright \(C\) '$$(date +%Y)' Free' \ in_vc_files=$(sample-test) \ halt='out of date copyright in $(sample-test); update it' \ $(_sc_search_regexp) @require='Copyright @copyright\{\} .*'$$(date +%Y) \ in_vc_files=$(texi) \ halt='out of date copyright in $(texi); update it' \ $(_sc_search_regexp) # If tests/help-version exists and seems to be new enough, assume that its # use of init.sh and path_prepend_ is correct, and ensure that every other # use of init.sh is identical. # This is useful because help-version cross-checks prog --version # with $(VERSION), which verifies that its path_prepend_ invocation # sets PATH correctly. This is an inexpensive way to ensure that # the other init.sh-using tests also get it right. _hv_file ?= $(srcdir)/tests/help-version _hv_regex_weak ?= ^ *\. .*/init\.sh" # Fix syntax-highlighters " _hv_regex_strong ?= ^ *\. "\$${srcdir=\.}/init\.sh" sc_cross_check_PATH_usage_in_tests: @if test -f $(_hv_file); then \ $(GREP) -l 'VERSION mismatch' $(_hv_file) >/dev/null \ || { echo "$@: skipped: no such file: $(_hv_file)" 1>&2; \ exit 0; }; \ $(GREP) -lE '$(_hv_regex_strong)' $(_hv_file) >/dev/null \ || { echo "$@: $(_hv_file) lacks conforming use of init.sh" 1>&2; \ exit 1; }; \ good=$$($(GREP) -E '$(_hv_regex_strong)' $(_hv_file)); \ $(VC_LIST_EXCEPT) \ | xargs $(GREP) -lE '$(_hv_regex_weak)' \ | xargs $(GREP) -LFx "$$good" \ | $(GREP) . \ && { printf "$(ME): the above files use" \ " path_prepend_ inconsistently\n" 1>&2; \ exit 1; } \ || :; \ fi # BRE regex of file contents to identify a test script. _test_script_regex ?= \ # In tests, use "compare expected actual", not the reverse. sc_prohibit_reversed_compare_failure: @prohibit='\ vc-diffs || : $(AM_V_at)if test -s vc-diffs; then \ cat vc-diffs; \ echo "Some files are locally modified:" 1>&2; \ exit 1; \ else \ rm vc-diffs; \ fi rel-files = $(DIST_ARCHIVES) gnulib-version = $$(cd $(gnulib_dir) \ && { git describe || git rev-parse --short=10 HEAD; } ) bootstrap-tools ?= autoconf,automake,gnulib gpgv = $$(gpgv2 --version >/dev/null && echo gpgv2 || echo gpgv) # If it's not already specified, derive the GPG key ID from # the signed tag we've just applied to mark this release. gpg_key_ID ?= \ $$(cd $(srcdir) \ && git cat-file tag v$(VERSION) \ | $(gpgv) --status-fd 1 --keyring /dev/null - - 2>/dev/null \ | $(AWK) '/^\[GNUPG:\] ERRSIG / {print $$3; exit}') translation_project_ ?= coordinator@translationproject.org # Make info-gnu the default only for a stable release. announcement_Cc_stable = $(translation_project_), $(PACKAGE_BUGREPORT) announcement_mail_headers_stable = \ To: info-gnu@gnu.org \ Cc: $(announcement_Cc_) \ Mail-Followup-To: $(PACKAGE_BUGREPORT) announcement_Cc_alpha = $(translation_project_) announcement_mail_headers_alpha = \ To: $(PACKAGE_BUGREPORT) \ Cc: $(announcement_Cc_) announcement_mail_Cc_beta = $(announcement_mail_Cc_alpha) announcement_mail_headers_beta = $(announcement_mail_headers_alpha) announcement_mail_Cc_ ?= $(announcement_mail_Cc_$(release-type)) announcement_mail_headers_ ?= $(announcement_mail_headers_$(release-type)) announcement: NEWS ChangeLog $(rel-files) # Not $(AM_V_GEN) since the output of this command serves as # announcement message: it would start with " GEN announcement". $(AM_V_at)$(srcdir)/$(_build-aux)/announce-gen \ --mail-headers='$(announcement_mail_headers_)' \ --release-type=$(release-type) \ --package=$(PACKAGE) \ --prev=$(PREV_VERSION) \ --curr=$(VERSION) \ --gpg-key-id=$(gpg_key_ID) \ --srcdir=$(srcdir) \ --news=$(srcdir)/NEWS \ --bootstrap-tools=$(bootstrap-tools) \ $$(case ,$(bootstrap-tools), in (*,gnulib,*) \ echo --gnulib-version=$(gnulib-version);; esac) \ --no-print-checksums \ $(addprefix --url-dir=, $(url_dir_list)) .PHONY: release-commit release-commit: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/do-release-commit-and-tag \ -C $(abs_builddir) $(RELEASE) ## ---------------- ## ## Updating files. ## ## ---------------- ## ftp-gnu = https://ftp.gnu.org/gnu www-gnu = https://www.gnu.org upload_dest_dir_ ?= $(PACKAGE) upload_command = \ $(srcdir)/$(_build-aux)/gnupload $(GNUPLOADFLAGS) \ --to $(gnu_rel_host):$(upload_dest_dir_) \ $(rel-files) emit_upload_commands: @echo ===================================== @echo ===================================== @echo '$(upload_command)' @echo '# send the ~/announce-$(my_distdir) e-mail' @echo ===================================== @echo ===================================== .PHONY: upload upload: $(AM_V_GEN)$(upload_command) define emit-commit-log printf '%s\n' 'maint: post-release administrivia' '' \ '* NEWS: Add header line for next release.' \ '* .prev-version: Record previous version.' \ '* cfg.mk (old_NEWS_hash): Auto-update.' endef .PHONY: no-submodule-changes no-submodule-changes: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ diff=$$(cd $(srcdir) && git submodule -q foreach \ git diff-index --name-only HEAD) \ || exit 1; \ case $$diff in '') ;; \ *) echo '$(ME): submodule files are locally modified:'; \ echo "$$diff"; exit 1;; esac; \ else \ : ; \ fi submodule-checks ?= no-submodule-changes public-submodule-commit # Ensure that each sub-module commit we're using is public. # Without this, it is too easy to tag and release code that # cannot be built from a fresh clone. .PHONY: public-submodule-commit public-submodule-commit: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ cd $(srcdir) && \ git submodule --quiet foreach \ 'test "$$(git rev-parse "$$sha1")" \ = "$$(git merge-base origin "$$sha1")"' \ || { echo '$(ME): found non-public submodule commit' >&2; \ exit 1; }; \ else \ : ; \ fi # This rule has a high enough utility/cost ratio that it should be a # dependent of "check" by default. However, some of us do occasionally # commit a temporary change that deliberately points to a non-public # submodule commit, and want to be able to use rules like "make check". # In that case, run e.g., "make check gl_public_submodule_commit=" # to disable this test. gl_public_submodule_commit ?= public-submodule-commit check: $(gl_public_submodule_commit) .PHONY: alpha beta stable release ALL_RECURSIVE_TARGETS += alpha beta stable alpha beta stable: $(local-check) writable-files $(submodule-checks) $(AM_V_GEN)test $@ = stable \ && { echo $(VERSION) | $(GREP) -E '^[0-9]+(\.[0-9]+)+$$' \ || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\ || : $(AM_V_at)$(MAKE) vc-diff-check $(AM_V_at)$(MAKE) news-check $(AM_V_at)$(MAKE) distcheck $(AM_V_at)$(MAKE) dist $(AM_V_at)$(MAKE) $(release-prep-hook) RELEASE_TYPE=$@ $(AM_V_at)$(MAKE) -s emit_upload_commands RELEASE_TYPE=$@ release: $(AM_V_GEN)$(MAKE) _version $(AM_V_GEN)$(MAKE) $(release-type) # Override this in cfg.mk if you follow different procedures. release-prep-hook ?= release-prep gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?] .PHONY: release-prep release-prep: $(AM_V_GEN)$(MAKE) --no-print-directory -s announcement \ > ~/announce-$(my_distdir) $(AM_V_at)if test -d $(release_archive_dir); then \ ln $(rel-files) $(release_archive_dir); \ chmod a-w $(rel-files); \ fi $(AM_V_at)echo $(VERSION) > $(prev_version_file) $(AM_V_at)$(MAKE) update-NEWS-hash $(AM_V_at)perl -pi \ -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' \ $(srcdir)/NEWS $(AM_V_at)msg=$$($(emit-commit-log)) || exit 1; \ cd $(srcdir) && $(VC) commit -m "$$msg" -a # Override this with e.g., -s $(srcdir)/some_other_name.texi # if the default $(PACKAGE)-derived name doesn't apply. gendocs_options_ ?= .PHONY: web-manual web-manual: $(AM_V_GEN)test -z "$(manual_title)" \ && { echo define manual_title in cfg.mk 1>&2; exit 1; } || : $(AM_V_at)cd '$(srcdir)/doc'; \ $(SHELL) ../$(_build-aux)/gendocs.sh $(gendocs_options_) \ -o '$(abs_builddir)/doc/manual' \ --email $(PACKAGE_BUGREPORT) $(PACKAGE) \ "$(PACKAGE_NAME) - $(manual_title)" $(AM_V_at)echo " *** Upload the doc/manual directory to web-cvs." .PHONY: web-manual-update web-manual-update: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/gnu-web-doc-update -C $(abs_builddir) # Code Coverage init-coverage: $(MAKE) $(AM_MAKEFLAGS) clean lcov --directory . --zerocounters COVERAGE_CCOPTS ?= "-g --coverage" COVERAGE_OUT ?= doc/coverage build-coverage: $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) check mkdir -p $(COVERAGE_OUT) lcov --directory . --output-file $(COVERAGE_OUT)/$(PACKAGE).info \ --capture gen-coverage: genhtml --output-directory $(COVERAGE_OUT) \ $(COVERAGE_OUT)/$(PACKAGE).info \ --highlight --frames --legend \ --title "$(PACKAGE_NAME)" coverage: $(MAKE) init-coverage $(MAKE) build-coverage $(MAKE) gen-coverage # Some projects carry local adjustments for gnulib modules via patches in # a gnulib patch directory whose default name is gl/ (defined in bootstrap # via local_gl_dir=gl). Those patches become stale as the originals evolve # in gnulib. Use this rule to refresh any stale patches. It applies each # patch to the original in $(gnulib_dir) and uses the temporary result to # generate a fuzz-free .diff file. If you customize the name of your local # gnulib patch directory via bootstrap.conf, this rule detects that name. # Run this from a non-VPATH (i.e., srcdir) build directory. .PHONY: refresh-gnulib-patches refresh-gnulib-patches: gl=gl; \ if test -f bootstrap.conf; then \ t=$$(perl -lne '/^\s*local_gl_dir=(\S+)/ and $$d=$$1;' \ -e 'END{defined $$d and print $$d}' bootstrap.conf); \ test -n "$$t" && gl=$$t; \ fi; \ for diff in $$(cd $$gl; git ls-files | $(GREP) '\.diff$$'); do \ b=$$(printf %s "$$diff"|$(SED) 's/\.diff$$//'); \ VERSION_CONTROL=none \ patch "$(gnulib_dir)/$$b" "$$gl/$$diff" || exit 1; \ ( cd $(gnulib_dir) || exit 1; \ git diff "$$b" > "../$$gl/$$diff"; \ git checkout $$b ) || exit 1; \ done # Update gettext files. PACKAGE ?= $(shell basename $(PWD)) PO_DOMAIN ?= $(PACKAGE) POURL = https://translationproject.org/latest/$(PO_DOMAIN)/ PODIR ?= po refresh-po: rm -f $(PODIR)/*.po && \ echo "$(ME): getting translations into po (please ignore the robots.txt ERROR 404)..." && \ wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \ echo 'en@boldquot' > $(PODIR)/LINGUAS && \ echo 'en@quot' >> $(PODIR)/LINGUAS && \ ls $(PODIR)/*.po | $(SED) 's/\.po//;s,$(PODIR)/,,' | \ sort >> $(PODIR)/LINGUAS # Running indent once is not idempotent, but running it twice is. INDENT_SOURCES ?= $(C_SOURCES) .PHONY: indent indent: indent $(INDENT_SOURCES) indent $(INDENT_SOURCES) # If you want to set UPDATE_COPYRIGHT_* environment variables, # put the assignments in this variable. update-copyright-env ?= # Run this rule once per year (usually early in January) # to update all FSF copyright year lists in your project. # If you have an additional project-specific rule, # add it in cfg.mk along with a line 'update-copyright: prereq'. # By default, exclude all variants of COPYING; you can also # add exemptions (such as ChangeLog..* for rotated change logs) # in the file .x-update-copyright. .PHONY: update-copyright update-copyright: $(AM_V_GEN)$(GREP) -l -w Copyright \ $$(export VC_LIST_EXCEPT_DEFAULT=COPYING && $(VC_LIST_EXCEPT)) \ | $(update-copyright-env) xargs $(srcdir)/$(_build-aux)/$@ # This tight_scope test is skipped with a warning if $(_gl_TS_headers) is not # overridden and $(_gl_TS_dir)/Makefile.am does not mention noinst_HEADERS. # NOTE: to override any _gl_TS_* default value, you must # define the variable(s) using "export" in cfg.mk. _gl_TS_dir ?= src ALL_RECURSIVE_TARGETS += sc_tight_scope sc_tight_scope: tight-scope.mk @fail=0; \ if ! $(GREP) '^ *export _gl_TS_headers *=' $(srcdir)/cfg.mk \ > /dev/null \ && ! $(GREP) -w noinst_HEADERS $(srcdir)/$(_gl_TS_dir)/Makefile.am \ > /dev/null 2>&1; then \ echo '$(ME): skipping $@'; \ else \ $(MAKE) -s -C $(_gl_TS_dir) \ -f Makefile \ -f $(abs_top_srcdir)/cfg.mk \ -f $(abs_top_builddir)/$< \ _gl_tight_scope \ || fail=1; \ fi; \ rm -f $<; \ exit $$fail tight-scope.mk: $(ME) @rm -f $@ $@-t @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) > $@-t @chmod a=r $@-t && mv $@-t $@ ifeq (a,b) # TS-start # Most functions should have static scope. # Any that don't must be marked with 'extern', but 'main' # and 'usage' are exceptions: they're always extern, but # do not need to be marked. Symbols matching '__.*' are # reserved by the compiler, so are automatically excluded below. _gl_TS_unmarked_extern_functions ?= main usage _gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\w+) *\(/ # If your project uses a macro like "XTERN", then put # the following in cfg.mk to override this default: # export _gl_TS_extern = extern|XTERN _gl_TS_extern ?= extern # The second nm|grep checks for file-scope variables with 'extern' scope. # Without gnulib's progname module, you might put program_name here. # Symbols matching '__.*' are reserved by the compiler, # so are automatically excluded below. _gl_TS_unmarked_extern_vars ?= # NOTE: the _match variables are perl expressions -- not mere regular # expressions -- so that you can extend them to match other patterns # and easily extract matched variable names. # For example, if your project declares some global variables via # a macro like this: GLOBAL(type, var_name, initializer), then you # can override this definition to automatically extract those names: # export _gl_TS_var_match = \ # /^(?:$(_gl_TS_extern)) .*?\**(\w+)(\[.*?\])?;/ || /\bGLOBAL\(.*?,\s*(.*?),/ _gl_TS_var_match ?= /^(?:$(_gl_TS_extern)) .*?(\w+)(\[.*?\])?;/ # The names of object files in (or relative to) $(_gl_TS_dir). _gl_TS_obj_files ?= *.$(OBJEXT) # Files in which to search for the one-line style extern declarations. # $(_gl_TS_dir)-relative. _gl_TS_headers ?= $(noinst_HEADERS) _gl_TS_other_headers ?= *.h .PHONY: _gl_tight_scope _gl_tight_scope: $(bin_PROGRAMS) sed_wrap='s/^/^_?/;s/$$/$$/'; \ t=exceptions-$$$$; \ trap 's=$$?; rm -f $$t; exit $$s' 0; \ for sig in 1 2 3 13 15; do \ eval "trap 'v=`expr $$sig + 128`; (exit $$v); exit $$v' $$sig"; \ done; \ src=`for f in $(SOURCES); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ hdr=`for f in $(_gl_TS_headers); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ ( printf '%s\n' '__.*' $(_gl_TS_unmarked_extern_functions); \ $(GREP) -h -A1 '^extern .*[^;]$$' $$src \ | $(GREP) -vE '^(extern |--|#)' | $(SED) 's/ .*//; /^$$/d'; \ perl -lne \ '$(_gl_TS_function_match) and print $$1' $$hdr; \ ) | sort -u | $(SED) "$$sed_wrap" > $$t; \ nm -g $(_gl_TS_obj_files)|$(SED) -n 's/.* T //p'|$(GREP) -Ev -f $$t \ && { echo the above functions should have static scope >&2; \ exit 1; } || : ; \ ( printf '%s\n' '__.*' main $(_gl_TS_unmarked_extern_vars); \ perl -lne '$(_gl_TS_var_match) and print $$1' \ $$hdr $(_gl_TS_other_headers) \ ) | sort -u | $(SED) "$$sed_wrap" > $$t; \ nm -g $(_gl_TS_obj_files) | $(SED) -n 's/.* [BCDGRS] //p' \ | sort -u | $(GREP) -Ev -f $$t \ && { echo the above variables should have static scope >&2; \ exit 1; } || : # TS-end endif gsasl-1.8.1/.clcopying0000644000000000000000000000030513516252320011506 00000000000000 ----- Copyright (C) 2002-2019 Simon Josefsson Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved. gsasl-1.8.1/gltests/0000755000000000000000000000000013521017734011271 500000000000000gsasl-1.8.1/gltests/test-fseeko2.sh0000755000000000000000000000012213516251600014052 00000000000000#!/bin/sh exec ${CHECKER} ./test-fseeko${EXEEXT} 1 2 < "$srcdir/test-fseeko2.sh" gsasl-1.8.1/gltests/test-lock.c0000644000000000000000000004665313516251600013274 00000000000000/* Test of locking in multithreaded situations. Copyright (C) 2005, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #if USE_POSIX_THREADS || USE_WINDOWS_THREADS #if USE_POSIX_THREADS # define TEST_POSIX_THREADS 1 #endif #if USE_WINDOWS_THREADS # define TEST_WINDOWS_THREADS 1 #endif /* Whether to enable locking. Uncomment this to get a test program without locking, to verify that it crashes. */ #define ENABLE_LOCKING 1 /* Which tests to perform. Uncomment some of these, to verify that all tests crash if no locking is enabled. */ #define DO_TEST_LOCK 1 #define DO_TEST_RWLOCK 1 #define DO_TEST_RECURSIVE_LOCK 1 #define DO_TEST_ONCE 1 /* Whether to help the scheduler through explicit yield(). Uncomment this to see if the operating system has a fair scheduler. */ #define EXPLICIT_YIELD 1 /* Whether to use 'volatile' on some variables that communicate information between threads. If set to 0, a semaphore or a lock is used to protect these variables. If set to 1, 'volatile' is used; this is theoretically equivalent but can lead to much slower execution (e.g. 30x slower total run time on a 40-core machine), because 'volatile' does not imply any synchronization/communication between different CPUs. */ #define USE_VOLATILE 0 #if USE_POSIX_THREADS && HAVE_SEMAPHORE_H /* Whether to use a semaphore to communicate information between threads. If set to 0, a lock is used. If set to 1, a semaphore is used. Uncomment this to reduce the dependencies of this test. */ # define USE_SEMAPHORE 1 /* Mac OS X provides only named semaphores (sem_open); its facility for unnamed semaphores (sem_init) does not work. */ # if defined __APPLE__ && defined __MACH__ # define USE_NAMED_SEMAPHORE 1 # else # define USE_UNNAMED_SEMAPHORE 1 # endif #endif /* Whether to print debugging messages. */ #define ENABLE_DEBUGGING 0 /* Number of simultaneous threads. */ #define THREAD_COUNT 10 /* Number of operations performed in each thread. This is quite high, because with a smaller count, say 5000, we often get an "OK" result even without ENABLE_LOCKING (on Linux/x86). */ #define REPEAT_COUNT 50000 #include #include #include #include #if !ENABLE_LOCKING # undef USE_POSIX_THREADS # undef USE_WINDOWS_THREADS #endif #include "glthread/lock.h" #if !ENABLE_LOCKING # if TEST_POSIX_THREADS # define USE_POSIX_THREADS 1 # endif # if TEST_WINDOWS_THREADS # define USE_WINDOWS_THREADS 1 # endif #endif #include "glthread/thread.h" #include "glthread/yield.h" #if USE_SEMAPHORE # include # include # include # include #endif #if HAVE_DECL_ALARM # include # include #endif #if ENABLE_DEBUGGING # define dbgprintf printf #else # define dbgprintf if (0) printf #endif #if EXPLICIT_YIELD # define yield() gl_thread_yield () #else # define yield() #endif #if USE_VOLATILE struct atomic_int { volatile int value; }; static void init_atomic_int (struct atomic_int *ai) { } static int get_atomic_int_value (struct atomic_int *ai) { return ai->value; } static void set_atomic_int_value (struct atomic_int *ai, int new_value) { ai->value = new_value; } #elif USE_SEMAPHORE /* This atomic_int implementation can only support the values 0 and 1. It is initially 0 and can be set to 1 only once. */ # if USE_UNNAMED_SEMAPHORE struct atomic_int { sem_t semaphore; }; #define atomic_int_semaphore(ai) (&(ai)->semaphore) static void init_atomic_int (struct atomic_int *ai) { sem_init (&ai->semaphore, 0, 0); } # endif # if USE_NAMED_SEMAPHORE struct atomic_int { sem_t *semaphore; }; #define atomic_int_semaphore(ai) ((ai)->semaphore) static void init_atomic_int (struct atomic_int *ai) { sem_t *s; unsigned int count; for (count = 0; ; count++) { char name[80]; /* Use getpid() in the name, so that different processes running at the same time will not interfere. Use ai in the name, so that different atomic_int in the same process will not interfere. Use a count in the name, so that even in the (unlikely) case that a semaphore with the specified name already exists, we can try a different name. */ sprintf (name, "test-lock-%lu-%p-%u", (unsigned long) getpid (), ai, count); s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); if (s == SEM_FAILED) { if (errno == EEXIST) /* Retry with a different name. */ continue; else { perror ("sem_open failed"); abort (); } } else { /* Try not to leave a semaphore hanging around on the file system eternally, if we can avoid it. */ sem_unlink (name); break; } } ai->semaphore = s; } # endif static int get_atomic_int_value (struct atomic_int *ai) { if (sem_trywait (atomic_int_semaphore (ai)) == 0) { if (sem_post (atomic_int_semaphore (ai))) abort (); return 1; } else if (errno == EAGAIN) return 0; else abort (); } static void set_atomic_int_value (struct atomic_int *ai, int new_value) { if (new_value == 0) /* It's already initialized with 0. */ return; /* To set the value 1: */ if (sem_post (atomic_int_semaphore (ai))) abort (); } #else struct atomic_int { gl_lock_define (, lock) int value; }; static void init_atomic_int (struct atomic_int *ai) { gl_lock_init (ai->lock); } static int get_atomic_int_value (struct atomic_int *ai) { gl_lock_lock (ai->lock); int ret = ai->value; gl_lock_unlock (ai->lock); return ret; } static void set_atomic_int_value (struct atomic_int *ai, int new_value) { gl_lock_lock (ai->lock); ai->value = new_value; gl_lock_unlock (ai->lock); } #endif #define ACCOUNT_COUNT 4 static int account[ACCOUNT_COUNT]; static int random_account (void) { return ((unsigned int) rand () >> 3) % ACCOUNT_COUNT; } static void check_accounts (void) { int i, sum; sum = 0; for (i = 0; i < ACCOUNT_COUNT; i++) sum += account[i]; if (sum != ACCOUNT_COUNT * 1000) abort (); } /* ------------------- Test normal (non-recursive) locks ------------------- */ /* Test normal locks by having several bank accounts and several threads which shuffle around money between the accounts and another thread checking that all the money is still there. */ gl_lock_define_initialized(static, my_lock) static void * lock_mutator_thread (void *arg) { int repeat; for (repeat = REPEAT_COUNT; repeat > 0; repeat--) { int i1, i2, value; dbgprintf ("Mutator %p before lock\n", gl_thread_self_pointer ()); gl_lock_lock (my_lock); dbgprintf ("Mutator %p after lock\n", gl_thread_self_pointer ()); i1 = random_account (); i2 = random_account (); value = ((unsigned int) rand () >> 3) % 10; account[i1] += value; account[i2] -= value; dbgprintf ("Mutator %p before unlock\n", gl_thread_self_pointer ()); gl_lock_unlock (my_lock); dbgprintf ("Mutator %p after unlock\n", gl_thread_self_pointer ()); dbgprintf ("Mutator %p before check lock\n", gl_thread_self_pointer ()); gl_lock_lock (my_lock); check_accounts (); gl_lock_unlock (my_lock); dbgprintf ("Mutator %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Mutator %p dying.\n", gl_thread_self_pointer ()); return NULL; } static struct atomic_int lock_checker_done; static void * lock_checker_thread (void *arg) { while (get_atomic_int_value (&lock_checker_done) == 0) { dbgprintf ("Checker %p before check lock\n", gl_thread_self_pointer ()); gl_lock_lock (my_lock); check_accounts (); gl_lock_unlock (my_lock); dbgprintf ("Checker %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Checker %p dying.\n", gl_thread_self_pointer ()); return NULL; } static void test_lock (void) { int i; gl_thread_t checkerthread; gl_thread_t threads[THREAD_COUNT]; /* Initialization. */ for (i = 0; i < ACCOUNT_COUNT; i++) account[i] = 1000; init_atomic_int (&lock_checker_done); set_atomic_int_value (&lock_checker_done, 0); /* Spawn the threads. */ checkerthread = gl_thread_create (lock_checker_thread, NULL); for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (lock_mutator_thread, NULL); /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); set_atomic_int_value (&lock_checker_done, 1); gl_thread_join (checkerthread, NULL); check_accounts (); } /* ----------------- Test read-write (non-recursive) locks ----------------- */ /* Test read-write locks by having several bank accounts and several threads which shuffle around money between the accounts and several other threads that check that all the money is still there. */ gl_rwlock_define_initialized(static, my_rwlock) static void * rwlock_mutator_thread (void *arg) { int repeat; for (repeat = REPEAT_COUNT; repeat > 0; repeat--) { int i1, i2, value; dbgprintf ("Mutator %p before wrlock\n", gl_thread_self_pointer ()); gl_rwlock_wrlock (my_rwlock); dbgprintf ("Mutator %p after wrlock\n", gl_thread_self_pointer ()); i1 = random_account (); i2 = random_account (); value = ((unsigned int) rand () >> 3) % 10; account[i1] += value; account[i2] -= value; dbgprintf ("Mutator %p before unlock\n", gl_thread_self_pointer ()); gl_rwlock_unlock (my_rwlock); dbgprintf ("Mutator %p after unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Mutator %p dying.\n", gl_thread_self_pointer ()); return NULL; } static struct atomic_int rwlock_checker_done; static void * rwlock_checker_thread (void *arg) { while (get_atomic_int_value (&rwlock_checker_done) == 0) { dbgprintf ("Checker %p before check rdlock\n", gl_thread_self_pointer ()); gl_rwlock_rdlock (my_rwlock); check_accounts (); gl_rwlock_unlock (my_rwlock); dbgprintf ("Checker %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Checker %p dying.\n", gl_thread_self_pointer ()); return NULL; } static void test_rwlock (void) { int i; gl_thread_t checkerthreads[THREAD_COUNT]; gl_thread_t threads[THREAD_COUNT]; /* Initialization. */ for (i = 0; i < ACCOUNT_COUNT; i++) account[i] = 1000; init_atomic_int (&rwlock_checker_done); set_atomic_int_value (&rwlock_checker_done, 0); /* Spawn the threads. */ for (i = 0; i < THREAD_COUNT; i++) checkerthreads[i] = gl_thread_create (rwlock_checker_thread, NULL); for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (rwlock_mutator_thread, NULL); /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); set_atomic_int_value (&rwlock_checker_done, 1); for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (checkerthreads[i], NULL); check_accounts (); } /* -------------------------- Test recursive locks -------------------------- */ /* Test recursive locks by having several bank accounts and several threads which shuffle around money between the accounts (recursively) and another thread checking that all the money is still there. */ gl_recursive_lock_define_initialized(static, my_reclock) static void recshuffle (void) { int i1, i2, value; dbgprintf ("Mutator %p before lock\n", gl_thread_self_pointer ()); gl_recursive_lock_lock (my_reclock); dbgprintf ("Mutator %p after lock\n", gl_thread_self_pointer ()); i1 = random_account (); i2 = random_account (); value = ((unsigned int) rand () >> 3) % 10; account[i1] += value; account[i2] -= value; /* Recursive with probability 0.5. */ if (((unsigned int) rand () >> 3) % 2) recshuffle (); dbgprintf ("Mutator %p before unlock\n", gl_thread_self_pointer ()); gl_recursive_lock_unlock (my_reclock); dbgprintf ("Mutator %p after unlock\n", gl_thread_self_pointer ()); } static void * reclock_mutator_thread (void *arg) { int repeat; for (repeat = REPEAT_COUNT; repeat > 0; repeat--) { recshuffle (); dbgprintf ("Mutator %p before check lock\n", gl_thread_self_pointer ()); gl_recursive_lock_lock (my_reclock); check_accounts (); gl_recursive_lock_unlock (my_reclock); dbgprintf ("Mutator %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Mutator %p dying.\n", gl_thread_self_pointer ()); return NULL; } static struct atomic_int reclock_checker_done; static void * reclock_checker_thread (void *arg) { while (get_atomic_int_value (&reclock_checker_done) == 0) { dbgprintf ("Checker %p before check lock\n", gl_thread_self_pointer ()); gl_recursive_lock_lock (my_reclock); check_accounts (); gl_recursive_lock_unlock (my_reclock); dbgprintf ("Checker %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Checker %p dying.\n", gl_thread_self_pointer ()); return NULL; } static void test_recursive_lock (void) { int i; gl_thread_t checkerthread; gl_thread_t threads[THREAD_COUNT]; /* Initialization. */ for (i = 0; i < ACCOUNT_COUNT; i++) account[i] = 1000; init_atomic_int (&reclock_checker_done); set_atomic_int_value (&reclock_checker_done, 0); /* Spawn the threads. */ checkerthread = gl_thread_create (reclock_checker_thread, NULL); for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (reclock_mutator_thread, NULL); /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); set_atomic_int_value (&reclock_checker_done, 1); gl_thread_join (checkerthread, NULL); check_accounts (); } /* ------------------------ Test once-only execution ------------------------ */ /* Test once-only execution by having several threads attempt to grab a once-only task simultaneously (triggered by releasing a read-write lock). */ gl_once_define(static, fresh_once) static int ready[THREAD_COUNT]; static gl_lock_t ready_lock[THREAD_COUNT]; #if ENABLE_LOCKING static gl_rwlock_t fire_signal[REPEAT_COUNT]; #else static volatile int fire_signal_state; #endif static gl_once_t once_control; static int performed; gl_lock_define_initialized(static, performed_lock) static void once_execute (void) { gl_lock_lock (performed_lock); performed++; gl_lock_unlock (performed_lock); } static void * once_contender_thread (void *arg) { int id = (int) (intptr_t) arg; int repeat; for (repeat = 0; repeat <= REPEAT_COUNT; repeat++) { /* Tell the main thread that we're ready. */ gl_lock_lock (ready_lock[id]); ready[id] = 1; gl_lock_unlock (ready_lock[id]); if (repeat == REPEAT_COUNT) break; dbgprintf ("Contender %p waiting for signal for round %d\n", gl_thread_self_pointer (), repeat); #if ENABLE_LOCKING /* Wait for the signal to go. */ gl_rwlock_rdlock (fire_signal[repeat]); /* And don't hinder the others (if the scheduler is unfair). */ gl_rwlock_unlock (fire_signal[repeat]); #else /* Wait for the signal to go. */ while (fire_signal_state <= repeat) yield (); #endif dbgprintf ("Contender %p got the signal for round %d\n", gl_thread_self_pointer (), repeat); /* Contend for execution. */ gl_once (once_control, once_execute); } return NULL; } static void test_once (void) { int i, repeat; gl_thread_t threads[THREAD_COUNT]; /* Initialize all variables. */ for (i = 0; i < THREAD_COUNT; i++) { ready[i] = 0; gl_lock_init (ready_lock[i]); } #if ENABLE_LOCKING for (i = 0; i < REPEAT_COUNT; i++) gl_rwlock_init (fire_signal[i]); #else fire_signal_state = 0; #endif #if ENABLE_LOCKING /* Block all fire_signals. */ for (i = REPEAT_COUNT-1; i >= 0; i--) gl_rwlock_wrlock (fire_signal[i]); #endif /* Spawn the threads. */ for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (once_contender_thread, (void *) (intptr_t) i); for (repeat = 0; repeat <= REPEAT_COUNT; repeat++) { /* Wait until every thread is ready. */ dbgprintf ("Main thread before synchronizing for round %d\n", repeat); for (;;) { int ready_count = 0; for (i = 0; i < THREAD_COUNT; i++) { gl_lock_lock (ready_lock[i]); ready_count += ready[i]; gl_lock_unlock (ready_lock[i]); } if (ready_count == THREAD_COUNT) break; yield (); } dbgprintf ("Main thread after synchronizing for round %d\n", repeat); if (repeat > 0) { /* Check that exactly one thread executed the once_execute() function. */ if (performed != 1) abort (); } if (repeat == REPEAT_COUNT) break; /* Preparation for the next round: Initialize once_control. */ memcpy (&once_control, &fresh_once, sizeof (gl_once_t)); /* Preparation for the next round: Reset the performed counter. */ performed = 0; /* Preparation for the next round: Reset the ready flags. */ for (i = 0; i < THREAD_COUNT; i++) { gl_lock_lock (ready_lock[i]); ready[i] = 0; gl_lock_unlock (ready_lock[i]); } /* Signal all threads simultaneously. */ dbgprintf ("Main thread giving signal for round %d\n", repeat); #if ENABLE_LOCKING gl_rwlock_unlock (fire_signal[repeat]); #else fire_signal_state = repeat + 1; #endif } /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); } /* -------------------------------------------------------------------------- */ int main () { #if HAVE_DECL_ALARM /* Declare failure if test takes too long, by using default abort caused by SIGALRM. */ int alarm_value = 600; signal (SIGALRM, SIG_DFL); alarm (alarm_value); #endif #if DO_TEST_LOCK printf ("Starting test_lock ..."); fflush (stdout); test_lock (); printf (" OK\n"); fflush (stdout); #endif #if DO_TEST_RWLOCK printf ("Starting test_rwlock ..."); fflush (stdout); test_rwlock (); printf (" OK\n"); fflush (stdout); #endif #if DO_TEST_RECURSIVE_LOCK printf ("Starting test_recursive_lock ..."); fflush (stdout); test_recursive_lock (); printf (" OK\n"); fflush (stdout); #endif #if DO_TEST_ONCE printf ("Starting test_once ..."); fflush (stdout); test_once (); printf (" OK\n"); fflush (stdout); #endif return 0; } #else /* No multithreading available. */ #include int main () { fputs ("Skipping test: multithreading not enabled\n", stderr); return 77; } #endif gsasl-1.8.1/gltests/test-binary-io.sh0000755000000000000000000000040013516251600014404 00000000000000#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-bin-out0.tmp t-bin-out1.tmp" ${CHECKER} ./test-binary-io${EXEEXT} 1 > t-bin-out1.tmp || exit 1 cmp t-bin-out0.tmp t-bin-out1.tmp > /dev/null || exit 1 rm -fr $tmpfiles exit 0 gsasl-1.8.1/gltests/test-vc-list-files-cvs.sh0000755000000000000000000000325713516251601016003 00000000000000#!/bin/sh # Unit tests for vc-list-files # Copyright (C) 2008-2019 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # 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 3 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, see . */ : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ . tmpdir=vc-cvs repo=`pwd`/$tmpdir/repo fail=0 for i in with-cvsu without; do # On the first iteration, test using cvsu, if it's in your path. # On the second iteration, ensure that cvsu fails, so we'll # exercise the awk-using code. if test $i = without; then printf '%s\n' '#!/bin/sh' 'exit 1' > cvsu chmod a+x cvsu PATH=`pwd`:$PATH export PATH fi ok=0 mkdir $tmpdir && cd $tmpdir && # without cvs, skip the test { ( cvs -Q -d "$repo" init ) > /dev/null 2>&1 \ || skip_ "cvs not found in PATH"; } && mkdir w && cd w && mkdir d && touch d/a b c && cvs -Q -d "$repo" import -m imp m M M0 && cvs -Q -d "$repo" co m && cd m && printf '%s\n' b c d/a > expected && $BOURNE_SHELL "$abs_aux_dir/vc-list-files" | sort > actual && compare expected actual && ok=1 test $ok = 0 && fail=1 done Exit $fail gsasl-1.8.1/gltests/test-wctype-h.c0000644000000000000000000000376613516251601014103 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "macros.h" /* Check that the type wint_t is defined. */ wint_t a = 'x'; /* Check that WEOF is defined. */ wint_t e = WEOF; /* Check that the type wctype_t is defined. */ wctype_t p; /* Check that the type wctrans_t is defined. */ wctrans_t q; int main (void) { /* Check that the isw* functions exist as functions or as macros. */ (void) iswalnum (0); (void) iswalpha (0); (void) iswcntrl (0); (void) iswdigit (0); (void) iswgraph (0); (void) iswlower (0); (void) iswprint (0); (void) iswpunct (0); (void) iswspace (0); (void) iswupper (0); (void) iswxdigit (0); /* Check that the isw* functions map WEOF to 0. */ ASSERT (!iswalnum (e)); ASSERT (!iswalpha (e)); ASSERT (!iswcntrl (e)); ASSERT (!iswdigit (e)); ASSERT (!iswgraph (e)); ASSERT (!iswlower (e)); ASSERT (!iswprint (e)); ASSERT (!iswpunct (e)); ASSERT (!iswspace (e)); ASSERT (!iswupper (e)); ASSERT (!iswxdigit (e)); /* Check that the tow* functions exist as functions or as macros. */ (void) towlower (0); (void) towupper (0); /* Check that the tow* functions map WEOF to WEOF. */ ASSERT (towlower (e) == e); ASSERT (towupper (e) == e); return 0; } gsasl-1.8.1/gltests/test-fseek.sh0000755000000000000000000000021613516251600013615 00000000000000#!/bin/sh ${CHECKER} ./test-fseek${EXEEXT} 1 < "$srcdir/test-fseek.sh" || exit 1 echo hi | ${CHECKER} ./test-fseek${EXEEXT} || exit 1 exit 0 gsasl-1.8.1/gltests/test-xalloc-die.sh0000755000000000000000000000212213516251601014540 00000000000000#!/bin/sh # Test suite for xalloc_die. # Copyright (C) 2009-2019 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # 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 3 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, see . . "${srcdir=.}/init.sh"; path_prepend_ . ${CHECKER} test-xalloc-die${EXEEXT} > out 2> err case $? in 1) ;; *) Exit 1;; esac tr -d '\015' < err \ | sed 's,.*test-xalloc-die[.ex]*:,test-xalloc-die:,' > err2 || Exit 1 compare - err2 <<\EOF || Exit 1 test-xalloc-die: memory exhausted EOF test -s out && Exit 1 Exit $fail gsasl-1.8.1/gltests/inttypes.in.h0000644000000000000000000006477213516251577013677 00000000000000/* Copyright (C) 2006-2019 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Derek Price. This file is part of gnulib. 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 3 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, see . */ /* * ISO C 99 for platforms that lack it. * */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Include the original if it exists, and if this file has not been included yet or if this file includes gnulib stdint.h which in turn includes this file. The include_next requires a split double-inclusion guard. */ #if ! defined INTTYPES_H || defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H # if @HAVE_INTTYPES_H@ /* Some pre-C++11 implementations need this. */ # if defined __cplusplus && ! defined __STDC_FORMAT_MACROS # define __STDC_FORMAT_MACROS 1 # endif # @INCLUDE_NEXT@ @NEXT_INTTYPES_H@ # endif #endif #if ! defined INTTYPES_H && ! defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H #define INTTYPES_H /* Include or the gnulib replacement. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* Get CHAR_BIT. */ #include /* On mingw, __USE_MINGW_ANSI_STDIO only works if is also included */ #if defined _WIN32 && ! defined __CYGWIN__ # include #endif #if !(INT_MIN == INT32_MIN && INT_MAX == INT32_MAX) # error "This file assumes that 'int' has exactly 32 bits. Please report your platform and compiler to ." #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* 7.8.1 Macros for format specifiers */ #if defined _TNS_R_TARGET /* Tandem NonStop R series and compatible platforms released before July 2005 support %Ld but not %lld. */ # define _LONG_LONG_FORMAT_PREFIX "L" #else # define _LONG_LONG_FORMAT_PREFIX "ll" #endif #if !defined PRId8 || @PRI_MACROS_BROKEN@ # undef PRId8 # ifdef INT8_MAX # define PRId8 "d" # endif #endif #if !defined PRIi8 || @PRI_MACROS_BROKEN@ # undef PRIi8 # ifdef INT8_MAX # define PRIi8 "i" # endif #endif #if !defined PRIo8 || @PRI_MACROS_BROKEN@ # undef PRIo8 # ifdef UINT8_MAX # define PRIo8 "o" # endif #endif #if !defined PRIu8 || @PRI_MACROS_BROKEN@ # undef PRIu8 # ifdef UINT8_MAX # define PRIu8 "u" # endif #endif #if !defined PRIx8 || @PRI_MACROS_BROKEN@ # undef PRIx8 # ifdef UINT8_MAX # define PRIx8 "x" # endif #endif #if !defined PRIX8 || @PRI_MACROS_BROKEN@ # undef PRIX8 # ifdef UINT8_MAX # define PRIX8 "X" # endif #endif #if !defined PRId16 || @PRI_MACROS_BROKEN@ # undef PRId16 # ifdef INT16_MAX # define PRId16 "d" # endif #endif #if !defined PRIi16 || @PRI_MACROS_BROKEN@ # undef PRIi16 # ifdef INT16_MAX # define PRIi16 "i" # endif #endif #if !defined PRIo16 || @PRI_MACROS_BROKEN@ # undef PRIo16 # ifdef UINT16_MAX # define PRIo16 "o" # endif #endif #if !defined PRIu16 || @PRI_MACROS_BROKEN@ # undef PRIu16 # ifdef UINT16_MAX # define PRIu16 "u" # endif #endif #if !defined PRIx16 || @PRI_MACROS_BROKEN@ # undef PRIx16 # ifdef UINT16_MAX # define PRIx16 "x" # endif #endif #if !defined PRIX16 || @PRI_MACROS_BROKEN@ # undef PRIX16 # ifdef UINT16_MAX # define PRIX16 "X" # endif #endif #if !defined PRId32 || @PRI_MACROS_BROKEN@ # undef PRId32 # ifdef INT32_MAX # define PRId32 "d" # endif #endif #if !defined PRIi32 || @PRI_MACROS_BROKEN@ # undef PRIi32 # ifdef INT32_MAX # define PRIi32 "i" # endif #endif #if !defined PRIo32 || @PRI_MACROS_BROKEN@ # undef PRIo32 # ifdef UINT32_MAX # define PRIo32 "o" # endif #endif #if !defined PRIu32 || @PRI_MACROS_BROKEN@ # undef PRIu32 # ifdef UINT32_MAX # define PRIu32 "u" # endif #endif #if !defined PRIx32 || @PRI_MACROS_BROKEN@ # undef PRIx32 # ifdef UINT32_MAX # define PRIx32 "x" # endif #endif #if !defined PRIX32 || @PRI_MACROS_BROKEN@ # undef PRIX32 # ifdef UINT32_MAX # define PRIX32 "X" # endif #endif #ifdef INT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _PRI64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRI64_PREFIX "I64" # elif @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 # define _PRI64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined PRId64 || @PRI_MACROS_BROKEN@ # undef PRId64 # define PRId64 _PRI64_PREFIX "d" # endif # if !defined PRIi64 || @PRI_MACROS_BROKEN@ # undef PRIi64 # define PRIi64 _PRI64_PREFIX "i" # endif #endif #ifdef UINT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _PRIu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRIu64_PREFIX "I64" # elif @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 # define _PRIu64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined PRIo64 || @PRI_MACROS_BROKEN@ # undef PRIo64 # define PRIo64 _PRIu64_PREFIX "o" # endif # if !defined PRIu64 || @PRI_MACROS_BROKEN@ # undef PRIu64 # define PRIu64 _PRIu64_PREFIX "u" # endif # if !defined PRIx64 || @PRI_MACROS_BROKEN@ # undef PRIx64 # define PRIx64 _PRIu64_PREFIX "x" # endif # if !defined PRIX64 || @PRI_MACROS_BROKEN@ # undef PRIX64 # define PRIX64 _PRIu64_PREFIX "X" # endif #endif #if !defined PRIdLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST8 # define PRIdLEAST8 "d" #endif #if !defined PRIiLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST8 # define PRIiLEAST8 "i" #endif #if !defined PRIoLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST8 # define PRIoLEAST8 "o" #endif #if !defined PRIuLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST8 # define PRIuLEAST8 "u" #endif #if !defined PRIxLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST8 # define PRIxLEAST8 "x" #endif #if !defined PRIXLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST8 # define PRIXLEAST8 "X" #endif #if !defined PRIdLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST16 # define PRIdLEAST16 "d" #endif #if !defined PRIiLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST16 # define PRIiLEAST16 "i" #endif #if !defined PRIoLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST16 # define PRIoLEAST16 "o" #endif #if !defined PRIuLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST16 # define PRIuLEAST16 "u" #endif #if !defined PRIxLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST16 # define PRIxLEAST16 "x" #endif #if !defined PRIXLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST16 # define PRIXLEAST16 "X" #endif #if !defined PRIdLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST32 # define PRIdLEAST32 "d" #endif #if !defined PRIiLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST32 # define PRIiLEAST32 "i" #endif #if !defined PRIoLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST32 # define PRIoLEAST32 "o" #endif #if !defined PRIuLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST32 # define PRIuLEAST32 "u" #endif #if !defined PRIxLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST32 # define PRIxLEAST32 "x" #endif #if !defined PRIXLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST32 # define PRIXLEAST32 "X" #endif #ifdef INT64_MAX # if !defined PRIdLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST64 # define PRIdLEAST64 PRId64 # endif # if !defined PRIiLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST64 # define PRIiLEAST64 PRIi64 # endif #endif #ifdef UINT64_MAX # if !defined PRIoLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST64 # define PRIoLEAST64 PRIo64 # endif # if !defined PRIuLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST64 # define PRIuLEAST64 PRIu64 # endif # if !defined PRIxLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST64 # define PRIxLEAST64 PRIx64 # endif # if !defined PRIXLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST64 # define PRIXLEAST64 PRIX64 # endif #endif #if !defined PRIdFAST8 || @PRI_MACROS_BROKEN@ # undef PRIdFAST8 # if INT_FAST8_MAX > INT32_MAX # define PRIdFAST8 PRId64 # else # define PRIdFAST8 "d" # endif #endif #if !defined PRIiFAST8 || @PRI_MACROS_BROKEN@ # undef PRIiFAST8 # if INT_FAST8_MAX > INT32_MAX # define PRIiFAST8 PRIi64 # else # define PRIiFAST8 "i" # endif #endif #if !defined PRIoFAST8 || @PRI_MACROS_BROKEN@ # undef PRIoFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIoFAST8 PRIo64 # else # define PRIoFAST8 "o" # endif #endif #if !defined PRIuFAST8 || @PRI_MACROS_BROKEN@ # undef PRIuFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIuFAST8 PRIu64 # else # define PRIuFAST8 "u" # endif #endif #if !defined PRIxFAST8 || @PRI_MACROS_BROKEN@ # undef PRIxFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIxFAST8 PRIx64 # else # define PRIxFAST8 "x" # endif #endif #if !defined PRIXFAST8 || @PRI_MACROS_BROKEN@ # undef PRIXFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIXFAST8 PRIX64 # else # define PRIXFAST8 "X" # endif #endif #if !defined PRIdFAST16 || @PRI_MACROS_BROKEN@ # undef PRIdFAST16 # if INT_FAST16_MAX > INT32_MAX # define PRIdFAST16 PRId64 # else # define PRIdFAST16 "d" # endif #endif #if !defined PRIiFAST16 || @PRI_MACROS_BROKEN@ # undef PRIiFAST16 # if INT_FAST16_MAX > INT32_MAX # define PRIiFAST16 PRIi64 # else # define PRIiFAST16 "i" # endif #endif #if !defined PRIoFAST16 || @PRI_MACROS_BROKEN@ # undef PRIoFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIoFAST16 PRIo64 # else # define PRIoFAST16 "o" # endif #endif #if !defined PRIuFAST16 || @PRI_MACROS_BROKEN@ # undef PRIuFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIuFAST16 PRIu64 # else # define PRIuFAST16 "u" # endif #endif #if !defined PRIxFAST16 || @PRI_MACROS_BROKEN@ # undef PRIxFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIxFAST16 PRIx64 # else # define PRIxFAST16 "x" # endif #endif #if !defined PRIXFAST16 || @PRI_MACROS_BROKEN@ # undef PRIXFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIXFAST16 PRIX64 # else # define PRIXFAST16 "X" # endif #endif #if !defined PRIdFAST32 || @PRI_MACROS_BROKEN@ # undef PRIdFAST32 # if INT_FAST32_MAX > INT32_MAX # define PRIdFAST32 PRId64 # else # define PRIdFAST32 "d" # endif #endif #if !defined PRIiFAST32 || @PRI_MACROS_BROKEN@ # undef PRIiFAST32 # if INT_FAST32_MAX > INT32_MAX # define PRIiFAST32 PRIi64 # else # define PRIiFAST32 "i" # endif #endif #if !defined PRIoFAST32 || @PRI_MACROS_BROKEN@ # undef PRIoFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIoFAST32 PRIo64 # else # define PRIoFAST32 "o" # endif #endif #if !defined PRIuFAST32 || @PRI_MACROS_BROKEN@ # undef PRIuFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIuFAST32 PRIu64 # else # define PRIuFAST32 "u" # endif #endif #if !defined PRIxFAST32 || @PRI_MACROS_BROKEN@ # undef PRIxFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIxFAST32 PRIx64 # else # define PRIxFAST32 "x" # endif #endif #if !defined PRIXFAST32 || @PRI_MACROS_BROKEN@ # undef PRIXFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIXFAST32 PRIX64 # else # define PRIXFAST32 "X" # endif #endif #ifdef INT64_MAX # if !defined PRIdFAST64 || @PRI_MACROS_BROKEN@ # undef PRIdFAST64 # define PRIdFAST64 PRId64 # endif # if !defined PRIiFAST64 || @PRI_MACROS_BROKEN@ # undef PRIiFAST64 # define PRIiFAST64 PRIi64 # endif #endif #ifdef UINT64_MAX # if !defined PRIoFAST64 || @PRI_MACROS_BROKEN@ # undef PRIoFAST64 # define PRIoFAST64 PRIo64 # endif # if !defined PRIuFAST64 || @PRI_MACROS_BROKEN@ # undef PRIuFAST64 # define PRIuFAST64 PRIu64 # endif # if !defined PRIxFAST64 || @PRI_MACROS_BROKEN@ # undef PRIxFAST64 # define PRIxFAST64 PRIx64 # endif # if !defined PRIXFAST64 || @PRI_MACROS_BROKEN@ # undef PRIXFAST64 # define PRIXFAST64 PRIX64 # endif #endif #if !defined PRIdMAX || @PRI_MACROS_BROKEN@ # undef PRIdMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define PRIdMAX PRId64 # else # define PRIdMAX "ld" # endif #endif #if !defined PRIiMAX || @PRI_MACROS_BROKEN@ # undef PRIiMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define PRIiMAX PRIi64 # else # define PRIiMAX "li" # endif #endif #if !defined PRIoMAX || @PRI_MACROS_BROKEN@ # undef PRIoMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIoMAX PRIo64 # else # define PRIoMAX "lo" # endif #endif #if !defined PRIuMAX || @PRI_MACROS_BROKEN@ # undef PRIuMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIuMAX PRIu64 # else # define PRIuMAX "lu" # endif #endif #if !defined PRIxMAX || @PRI_MACROS_BROKEN@ # undef PRIxMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIxMAX PRIx64 # else # define PRIxMAX "lx" # endif #endif #if !defined PRIXMAX || @PRI_MACROS_BROKEN@ # undef PRIXMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIXMAX PRIX64 # else # define PRIXMAX "lX" # endif #endif #if !defined PRIdPTR || @PRI_MACROS_BROKEN@ # undef PRIdPTR # ifdef INTPTR_MAX # define PRIdPTR @PRIPTR_PREFIX@ "d" # endif #endif #if !defined PRIiPTR || @PRI_MACROS_BROKEN@ # undef PRIiPTR # ifdef INTPTR_MAX # define PRIiPTR @PRIPTR_PREFIX@ "i" # endif #endif #if !defined PRIoPTR || @PRI_MACROS_BROKEN@ # undef PRIoPTR # ifdef UINTPTR_MAX # define PRIoPTR @PRIPTR_PREFIX@ "o" # endif #endif #if !defined PRIuPTR || @PRI_MACROS_BROKEN@ # undef PRIuPTR # ifdef UINTPTR_MAX # define PRIuPTR @PRIPTR_PREFIX@ "u" # endif #endif #if !defined PRIxPTR || @PRI_MACROS_BROKEN@ # undef PRIxPTR # ifdef UINTPTR_MAX # define PRIxPTR @PRIPTR_PREFIX@ "x" # endif #endif #if !defined PRIXPTR || @PRI_MACROS_BROKEN@ # undef PRIXPTR # ifdef UINTPTR_MAX # define PRIXPTR @PRIPTR_PREFIX@ "X" # endif #endif #if !defined SCNd8 || @PRI_MACROS_BROKEN@ # undef SCNd8 # ifdef INT8_MAX # define SCNd8 "hhd" # endif #endif #if !defined SCNi8 || @PRI_MACROS_BROKEN@ # undef SCNi8 # ifdef INT8_MAX # define SCNi8 "hhi" # endif #endif #if !defined SCNo8 || @PRI_MACROS_BROKEN@ # undef SCNo8 # ifdef UINT8_MAX # define SCNo8 "hho" # endif #endif #if !defined SCNu8 || @PRI_MACROS_BROKEN@ # undef SCNu8 # ifdef UINT8_MAX # define SCNu8 "hhu" # endif #endif #if !defined SCNx8 || @PRI_MACROS_BROKEN@ # undef SCNx8 # ifdef UINT8_MAX # define SCNx8 "hhx" # endif #endif #if !defined SCNd16 || @PRI_MACROS_BROKEN@ # undef SCNd16 # ifdef INT16_MAX # define SCNd16 "hd" # endif #endif #if !defined SCNi16 || @PRI_MACROS_BROKEN@ # undef SCNi16 # ifdef INT16_MAX # define SCNi16 "hi" # endif #endif #if !defined SCNo16 || @PRI_MACROS_BROKEN@ # undef SCNo16 # ifdef UINT16_MAX # define SCNo16 "ho" # endif #endif #if !defined SCNu16 || @PRI_MACROS_BROKEN@ # undef SCNu16 # ifdef UINT16_MAX # define SCNu16 "hu" # endif #endif #if !defined SCNx16 || @PRI_MACROS_BROKEN@ # undef SCNx16 # ifdef UINT16_MAX # define SCNx16 "hx" # endif #endif #if !defined SCNd32 || @PRI_MACROS_BROKEN@ # undef SCNd32 # ifdef INT32_MAX # define SCNd32 "d" # endif #endif #if !defined SCNi32 || @PRI_MACROS_BROKEN@ # undef SCNi32 # ifdef INT32_MAX # define SCNi32 "i" # endif #endif #if !defined SCNo32 || @PRI_MACROS_BROKEN@ # undef SCNo32 # ifdef UINT32_MAX # define SCNo32 "o" # endif #endif #if !defined SCNu32 || @PRI_MACROS_BROKEN@ # undef SCNu32 # ifdef UINT32_MAX # define SCNu32 "u" # endif #endif #if !defined SCNx32 || @PRI_MACROS_BROKEN@ # undef SCNx32 # ifdef UINT32_MAX # define SCNx32 "x" # endif #endif #ifdef INT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _SCN64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCN64_PREFIX "I64" # elif @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 # define _SCN64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined SCNd64 || @PRI_MACROS_BROKEN@ # undef SCNd64 # define SCNd64 _SCN64_PREFIX "d" # endif # if !defined SCNi64 || @PRI_MACROS_BROKEN@ # undef SCNi64 # define SCNi64 _SCN64_PREFIX "i" # endif #endif #ifdef UINT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _SCNu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCNu64_PREFIX "I64" # elif @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 # define _SCNu64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined SCNo64 || @PRI_MACROS_BROKEN@ # undef SCNo64 # define SCNo64 _SCNu64_PREFIX "o" # endif # if !defined SCNu64 || @PRI_MACROS_BROKEN@ # undef SCNu64 # define SCNu64 _SCNu64_PREFIX "u" # endif # if !defined SCNx64 || @PRI_MACROS_BROKEN@ # undef SCNx64 # define SCNx64 _SCNu64_PREFIX "x" # endif #endif #if !defined SCNdLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST8 # define SCNdLEAST8 "hhd" #endif #if !defined SCNiLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST8 # define SCNiLEAST8 "hhi" #endif #if !defined SCNoLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST8 # define SCNoLEAST8 "hho" #endif #if !defined SCNuLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST8 # define SCNuLEAST8 "hhu" #endif #if !defined SCNxLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST8 # define SCNxLEAST8 "hhx" #endif #if !defined SCNdLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST16 # define SCNdLEAST16 "hd" #endif #if !defined SCNiLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST16 # define SCNiLEAST16 "hi" #endif #if !defined SCNoLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST16 # define SCNoLEAST16 "ho" #endif #if !defined SCNuLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST16 # define SCNuLEAST16 "hu" #endif #if !defined SCNxLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST16 # define SCNxLEAST16 "hx" #endif #if !defined SCNdLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST32 # define SCNdLEAST32 "d" #endif #if !defined SCNiLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST32 # define SCNiLEAST32 "i" #endif #if !defined SCNoLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST32 # define SCNoLEAST32 "o" #endif #if !defined SCNuLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST32 # define SCNuLEAST32 "u" #endif #if !defined SCNxLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST32 # define SCNxLEAST32 "x" #endif #ifdef INT64_MAX # if !defined SCNdLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST64 # define SCNdLEAST64 SCNd64 # endif # if !defined SCNiLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST64 # define SCNiLEAST64 SCNi64 # endif #endif #ifdef UINT64_MAX # if !defined SCNoLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST64 # define SCNoLEAST64 SCNo64 # endif # if !defined SCNuLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST64 # define SCNuLEAST64 SCNu64 # endif # if !defined SCNxLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST64 # define SCNxLEAST64 SCNx64 # endif #endif #if !defined SCNdFAST8 || @PRI_MACROS_BROKEN@ # undef SCNdFAST8 # if INT_FAST8_MAX > INT32_MAX # define SCNdFAST8 SCNd64 # elif INT_FAST8_MAX == 0x7fff # define SCNdFAST8 "hd" # elif INT_FAST8_MAX == 0x7f # define SCNdFAST8 "hhd" # else # define SCNdFAST8 "d" # endif #endif #if !defined SCNiFAST8 || @PRI_MACROS_BROKEN@ # undef SCNiFAST8 # if INT_FAST8_MAX > INT32_MAX # define SCNiFAST8 SCNi64 # elif INT_FAST8_MAX == 0x7fff # define SCNiFAST8 "hi" # elif INT_FAST8_MAX == 0x7f # define SCNiFAST8 "hhi" # else # define SCNiFAST8 "i" # endif #endif #if !defined SCNoFAST8 || @PRI_MACROS_BROKEN@ # undef SCNoFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNoFAST8 SCNo64 # elif UINT_FAST8_MAX == 0xffff # define SCNoFAST8 "ho" # elif UINT_FAST8_MAX == 0xff # define SCNoFAST8 "hho" # else # define SCNoFAST8 "o" # endif #endif #if !defined SCNuFAST8 || @PRI_MACROS_BROKEN@ # undef SCNuFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNuFAST8 SCNu64 # elif UINT_FAST8_MAX == 0xffff # define SCNuFAST8 "hu" # elif UINT_FAST8_MAX == 0xff # define SCNuFAST8 "hhu" # else # define SCNuFAST8 "u" # endif #endif #if !defined SCNxFAST8 || @PRI_MACROS_BROKEN@ # undef SCNxFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNxFAST8 SCNx64 # elif UINT_FAST8_MAX == 0xffff # define SCNxFAST8 "hx" # elif UINT_FAST8_MAX == 0xff # define SCNxFAST8 "hhx" # else # define SCNxFAST8 "x" # endif #endif #if !defined SCNdFAST16 || @PRI_MACROS_BROKEN@ # undef SCNdFAST16 # if INT_FAST16_MAX > INT32_MAX # define SCNdFAST16 SCNd64 # elif INT_FAST16_MAX == 0x7fff # define SCNdFAST16 "hd" # else # define SCNdFAST16 "d" # endif #endif #if !defined SCNiFAST16 || @PRI_MACROS_BROKEN@ # undef SCNiFAST16 # if INT_FAST16_MAX > INT32_MAX # define SCNiFAST16 SCNi64 # elif INT_FAST16_MAX == 0x7fff # define SCNiFAST16 "hi" # else # define SCNiFAST16 "i" # endif #endif #if !defined SCNoFAST16 || @PRI_MACROS_BROKEN@ # undef SCNoFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNoFAST16 SCNo64 # elif UINT_FAST16_MAX == 0xffff # define SCNoFAST16 "ho" # else # define SCNoFAST16 "o" # endif #endif #if !defined SCNuFAST16 || @PRI_MACROS_BROKEN@ # undef SCNuFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNuFAST16 SCNu64 # elif UINT_FAST16_MAX == 0xffff # define SCNuFAST16 "hu" # else # define SCNuFAST16 "u" # endif #endif #if !defined SCNxFAST16 || @PRI_MACROS_BROKEN@ # undef SCNxFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNxFAST16 SCNx64 # elif UINT_FAST16_MAX == 0xffff # define SCNxFAST16 "hx" # else # define SCNxFAST16 "x" # endif #endif #if !defined SCNdFAST32 || @PRI_MACROS_BROKEN@ # undef SCNdFAST32 # if INT_FAST32_MAX > INT32_MAX # define SCNdFAST32 SCNd64 # else # define SCNdFAST32 "d" # endif #endif #if !defined SCNiFAST32 || @PRI_MACROS_BROKEN@ # undef SCNiFAST32 # if INT_FAST32_MAX > INT32_MAX # define SCNiFAST32 SCNi64 # else # define SCNiFAST32 "i" # endif #endif #if !defined SCNoFAST32 || @PRI_MACROS_BROKEN@ # undef SCNoFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNoFAST32 SCNo64 # else # define SCNoFAST32 "o" # endif #endif #if !defined SCNuFAST32 || @PRI_MACROS_BROKEN@ # undef SCNuFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNuFAST32 SCNu64 # else # define SCNuFAST32 "u" # endif #endif #if !defined SCNxFAST32 || @PRI_MACROS_BROKEN@ # undef SCNxFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNxFAST32 SCNx64 # else # define SCNxFAST32 "x" # endif #endif #ifdef INT64_MAX # if !defined SCNdFAST64 || @PRI_MACROS_BROKEN@ # undef SCNdFAST64 # define SCNdFAST64 SCNd64 # endif # if !defined SCNiFAST64 || @PRI_MACROS_BROKEN@ # undef SCNiFAST64 # define SCNiFAST64 SCNi64 # endif #endif #ifdef UINT64_MAX # if !defined SCNoFAST64 || @PRI_MACROS_BROKEN@ # undef SCNoFAST64 # define SCNoFAST64 SCNo64 # endif # if !defined SCNuFAST64 || @PRI_MACROS_BROKEN@ # undef SCNuFAST64 # define SCNuFAST64 SCNu64 # endif # if !defined SCNxFAST64 || @PRI_MACROS_BROKEN@ # undef SCNxFAST64 # define SCNxFAST64 SCNx64 # endif #endif #if !defined SCNdMAX || @PRI_MACROS_BROKEN@ # undef SCNdMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define SCNdMAX SCNd64 # else # define SCNdMAX "ld" # endif #endif #if !defined SCNiMAX || @PRI_MACROS_BROKEN@ # undef SCNiMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define SCNiMAX SCNi64 # else # define SCNiMAX "li" # endif #endif #if !defined SCNoMAX || @PRI_MACROS_BROKEN@ # undef SCNoMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNoMAX SCNo64 # else # define SCNoMAX "lo" # endif #endif #if !defined SCNuMAX || @PRI_MACROS_BROKEN@ # undef SCNuMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNuMAX SCNu64 # else # define SCNuMAX "lu" # endif #endif #if !defined SCNxMAX || @PRI_MACROS_BROKEN@ # undef SCNxMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNxMAX SCNx64 # else # define SCNxMAX "lx" # endif #endif #if !defined SCNdPTR || @PRI_MACROS_BROKEN@ # undef SCNdPTR # ifdef INTPTR_MAX # define SCNdPTR @PRIPTR_PREFIX@ "d" # endif #endif #if !defined SCNiPTR || @PRI_MACROS_BROKEN@ # undef SCNiPTR # ifdef INTPTR_MAX # define SCNiPTR @PRIPTR_PREFIX@ "i" # endif #endif #if !defined SCNoPTR || @PRI_MACROS_BROKEN@ # undef SCNoPTR # ifdef UINTPTR_MAX # define SCNoPTR @PRIPTR_PREFIX@ "o" # endif #endif #if !defined SCNuPTR || @PRI_MACROS_BROKEN@ # undef SCNuPTR # ifdef UINTPTR_MAX # define SCNuPTR @PRIPTR_PREFIX@ "u" # endif #endif #if !defined SCNxPTR || @PRI_MACROS_BROKEN@ # undef SCNxPTR # ifdef UINTPTR_MAX # define SCNxPTR @PRIPTR_PREFIX@ "x" # endif #endif /* 7.8.2 Functions for greatest-width integer types */ #ifdef __cplusplus extern "C" { #endif #if @GNULIB_IMAXABS@ # if !@HAVE_DECL_IMAXABS@ extern intmax_t imaxabs (intmax_t); # endif #elif defined GNULIB_POSIXCHECK # undef imaxabs # if HAVE_RAW_DECL_IMAXABS _GL_WARN_ON_USE (imaxabs, "imaxabs is unportable - " "use gnulib module imaxabs for portability"); # endif #endif #if @GNULIB_IMAXDIV@ # if !@HAVE_IMAXDIV_T@ # if !GNULIB_defined_imaxdiv_t typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; # define GNULIB_defined_imaxdiv_t 1 # endif # endif # if !@HAVE_DECL_IMAXDIV@ extern imaxdiv_t imaxdiv (intmax_t, intmax_t); # endif #elif defined GNULIB_POSIXCHECK # undef imaxdiv # if HAVE_RAW_DECL_IMAXDIV _GL_WARN_ON_USE (imaxdiv, "imaxdiv is unportable - " "use gnulib module imaxdiv for portability"); # endif #endif #if @GNULIB_STRTOIMAX@ # if @REPLACE_STRTOIMAX@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtoimax # define strtoimax rpl_strtoimax # endif _GL_FUNCDECL_RPL (strtoimax, intmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoimax, intmax_t, (const char *, char **, int)); # else # if !@HAVE_DECL_STRTOIMAX@ # undef strtoimax _GL_FUNCDECL_SYS (strtoimax, intmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoimax, intmax_t, (const char *, char **, int)); # endif _GL_CXXALIASWARN (strtoimax); #elif defined GNULIB_POSIXCHECK # undef strtoimax # if HAVE_RAW_DECL_STRTOIMAX _GL_WARN_ON_USE (strtoimax, "strtoimax is unportable - " "use gnulib module strtoimax for portability"); # endif #endif #if @GNULIB_STRTOUMAX@ # if @REPLACE_STRTOUMAX@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtoumax # define strtoumax rpl_strtoumax # endif _GL_FUNCDECL_RPL (strtoumax, uintmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoumax, uintmax_t, (const char *, char **, int)); # else # if !@HAVE_DECL_STRTOUMAX@ # undef strtoumax _GL_FUNCDECL_SYS (strtoumax, uintmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoumax, uintmax_t, (const char *, char **, int)); # endif _GL_CXXALIASWARN (strtoumax); #elif defined GNULIB_POSIXCHECK # undef strtoumax # if HAVE_RAW_DECL_STRTOUMAX _GL_WARN_ON_USE (strtoumax, "strtoumax is unportable - " "use gnulib module strtoumax for portability"); # endif #endif /* Don't bother defining or declaring wcstoimax and wcstoumax, since wide-character functions like this are hardly ever useful. */ #ifdef __cplusplus } #endif #endif /* !defined INTTYPES_H && !defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H */ gsasl-1.8.1/gltests/test-stdlib.c0000644000000000000000000000262513516251601013615 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that EXIT_SUCCESS is 0, per POSIX. */ static int exitcode = EXIT_SUCCESS; #if EXIT_SUCCESS "oops" #endif /* Check for GNU value (not guaranteed by POSIX, but is guaranteed by gnulib). */ #if EXIT_FAILURE != 1 "oops" #endif /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); #if GNULIB_TEST_SYSTEM_POSIX # include "test-sys_wait.h" #else # define test_sys_wait_macros() 0 #endif int main (void) { if (test_sys_wait_macros ()) return 1; return exitcode; } gsasl-1.8.1/gltests/test-getdelim.c0000644000000000000000000000465513516251600014132 00000000000000/* Test of getdelim() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (getdelim, ssize_t, (char **, size_t *, int, FILE *)); #include #include #include "macros.h" int main (void) { FILE *f; char *line; size_t len; ssize_t result; /* Create test file. */ f = fopen ("test-getdelim.txt", "wb"); if (!f || fwrite ("anAnbcnd\0f", 1, 10, f) != 10 || fclose (f) != 0) { fputs ("Failed to create sample file.\n", stderr); remove ("test-getdelim.txt"); return 1; } f = fopen ("test-getdelim.txt", "rb"); if (!f) { fputs ("Failed to reopen sample file.\n", stderr); remove ("test-getdelim.txt"); return 1; } /* Test initial allocation, which must include trailing NUL. */ line = NULL; len = 0; result = getdelim (&line, &len, 'n', f); ASSERT (result == 2); ASSERT (strcmp (line, "an") == 0); ASSERT (2 < len); free (line); /* Test initial allocation again, with line = NULL and len != 0. */ line = NULL; len = (size_t)(~0) / 4; result = getdelim (&line, &len, 'n', f); ASSERT (result == 2); ASSERT (strcmp (line, "An") == 0); ASSERT (2 < len); free (line); /* Test growth of buffer. */ line = malloc (1); len = 1; result = getdelim (&line, &len, 'n', f); ASSERT (result == 3); ASSERT (strcmp (line, "bcn") == 0); ASSERT (3 < len); /* Test embedded NULs and EOF behavior. */ result = getdelim (&line, &len, 'n', f); ASSERT (result == 3); ASSERT (memcmp (line, "d\0f", 4) == 0); ASSERT (3 < len); result = getdelim (&line, &len, 'n', f); ASSERT (result == -1); free (line); fclose (f); remove ("test-getdelim.txt"); return 0; } gsasl-1.8.1/gltests/test-iconv.c0000644000000000000000000001214313516251600013445 00000000000000/* Test of character set conversion. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #if HAVE_ICONV # include # ifndef ICONV_CONST # define ICONV_CONST /* empty */ # endif #include "signature.h" SIGNATURE_CHECK (iconv, size_t, (iconv_t, ICONV_CONST char **, size_t *, char **, size_t *)); SIGNATURE_CHECK (iconv_close, int, (iconv_t x)); SIGNATURE_CHECK (iconv_open, iconv_t, (char const *, char const *)); #endif #include #include #include "macros.h" int main () { #if HAVE_ICONV /* Assume that iconv() supports at least the encodings ASCII, ISO-8859-1, and UTF-8. */ iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO8859-1"); iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); #if defined __MVS__ && defined __IBMC__ /* String literals below are in ASCII, not EBCDIC. */ # pragma convert("ISO8859-1") # define CONVERT_ENABLED #endif ASSERT (cd_88591_to_utf8 != (iconv_t)(-1)); ASSERT (cd_utf8_to_88591 != (iconv_t)(-1)); /* Test conversion from ISO-8859-1 to UTF-8 with no errors. */ { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; static const char expected[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (ICONV_CONST char **) &inptr, &inbytesleft, &outptr, &outbytesleft); ASSERT (res == 0 && inbytesleft == 0); ASSERT (outptr == buf + strlen (expected)); ASSERT (memcmp (buf, expected, strlen (expected)) == 0); } /* Test conversion from ISO-8859-1 to UTF-8 with E2BIG. */ { static const char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; const char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, (ICONV_CONST char **) &inptr, &inbytesleft, &outptr, &outbytesleft); ASSERT (res == (size_t)(-1) && errno == E2BIG); ASSERT (inbytesleft == 1); ASSERT (outbytesleft == 1); ASSERT ((unsigned char) buf[1] == 0xAD); ASSERT ((unsigned char) buf[0] == 0xDE); } /* Test conversion from UTF-8 to ISO-8859-1 with no errors. */ { static const char input[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; static const char expected[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (ICONV_CONST char **) &inptr, &inbytesleft, &outptr, &outbytesleft); ASSERT (res == 0 && inbytesleft == 0); ASSERT (outptr == buf + strlen (expected)); ASSERT (memcmp (buf, expected, strlen (expected)) == 0); } /* Test conversion from UTF-8 to ISO-8859-1 with EILSEQ. */ { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (ICONV_CONST char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == (size_t)(-1)) { ASSERT (errno == EILSEQ); ASSERT (inbytesleft == strlen (input) && outptr == buf); } else { ASSERT (res == 1); ASSERT (inbytesleft == 0); } } /* Test conversion from UTF-8 to ISO-8859-1 with EINVAL. */ { static const char input[] = "\342"; char buf[10]; const char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (ICONV_CONST char **) &inptr, &inbytesleft, &outptr, &outbytesleft); ASSERT (res == (size_t)(-1) && errno == EINVAL); ASSERT (inbytesleft == 1 && outptr == buf); } iconv_close (cd_88591_to_utf8); iconv_close (cd_utf8_to_88591); #ifdef CONVERT_ENABLED # pragma convert(pop) #endif #endif /* HAVE_ICONV */ return 0; } gsasl-1.8.1/gltests/isblank.c0000644000000000000000000000246713516251573013016 00000000000000/* Test whether a character is a blank. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include int isblank (int c) { /* On all known platforms, in all predefined locales, isblank(c) is likely equivalent with (c == ' ' || c == '\t'). Look at the glibc definition (in glibc/localedata/locales/i18n): The "blank" characters are '\t', ' ', U+1680, U+180E, U+2000..U+2006, U+2008..U+200A, U+205F, U+3000, and none except the first two is present in a common 8-bit encoding. Therefore the substitute for other platforms is not more complicated than this. */ return (c == ' ' || c == '\t'); } gsasl-1.8.1/gltests/windows-tls.c0000644000000000000000000002456713516251574013673 00000000000000/* Thread-local storage (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include /* Specification. */ #include "windows-tls.h" #include #include #include #include "windows-once.h" void * glwthread_tls_get (glwthread_tls_key_t key) { return TlsGetValue (key); } int glwthread_tls_set (glwthread_tls_key_t key, void *value) { if (!TlsSetValue (key, value)) return EINVAL; return 0; } /* The following variables keep track of TLS keys with non-NULL destructor. */ static glwthread_once_t dtor_table_init_once = GLWTHREAD_ONCE_INIT; static CRITICAL_SECTION dtor_table_lock; struct dtor { glwthread_tls_key_t key; void (*destructor) (void *); }; /* The table of dtors. */ static struct dtor *dtor_table; /* Number of active entries in the dtor_table. */ static unsigned int dtors_count; /* Valid indices into dtor_table are 0..dtors_used-1. */ static unsigned int dtors_used; /* Allocation size of dtor_table. */ static unsigned int dtors_allocated; /* Invariant: 0 <= dtors_count <= dtors_used <= dtors_allocated. */ /* Number of threads that are currently processing destructors. */ static unsigned int dtor_processing_threads; static void dtor_table_initialize (void) { InitializeCriticalSection (&dtor_table_lock); /* The other variables are already initialized to NULL or 0, respectively. */ } static void dtor_table_ensure_initialized (void) { glwthread_once (&dtor_table_init_once, dtor_table_initialize); } /* Shrinks dtors_used down to dtors_count, by replacing inactive entries with active ones. */ static void dtor_table_shrink_used (void) { unsigned int i = 0; unsigned int j = dtors_used; for (;;) { BOOL i_found = FALSE; BOOL j_found = FALSE; /* Find the next inactive entry, from the left. */ for (; i < dtors_count;) { if (dtor_table[i].destructor == NULL) { i_found = TRUE; break; } i++; } /* Find the next active entry, from the right. */ for (; j > dtors_count;) { j--; if (dtor_table[j].destructor != NULL) { j_found = TRUE; break; } } if (i_found != j_found) /* dtors_count was apparently wrong. */ abort (); if (!i_found) break; /* i_found and j_found are TRUE. Swap the two entries. */ dtor_table[i] = dtor_table[j]; i++; } dtors_used = dtors_count; } void glwthread_tls_process_destructors (void) { unsigned int repeat; dtor_table_ensure_initialized (); EnterCriticalSection (&dtor_table_lock); if (dtor_processing_threads == 0) { /* Now it's the appropriate time for shrinking dtors_used. */ if (dtors_used > dtors_count) dtor_table_shrink_used (); } dtor_processing_threads++; for (repeat = GLWTHREAD_DESTRUCTOR_ITERATIONS; repeat > 0; repeat--) { unsigned int destructors_run = 0; /* Iterate across dtor_table. We don't need to make a copy of dtor_table, because * When another thread calls glwthread_tls_key_create with a non-NULL destructor argument, this will possibly reallocate the dtor_table array and increase dtors_allocated as well as dtors_used and dtors_count, but it will not change dtors_used nor the contents of the first dtors_used entries of dtor_table. * When another thread calls glwthread_tls_key_delete, this will possibly set some 'destructor' member to NULL, thus marking an entry as inactive, but it will not otherwise change dtors_used nor the contents of the first dtors_used entries of dtor_table. */ unsigned int i_limit = dtors_used; unsigned int i; for (i = 0; i < i_limit; i++) { struct dtor current = dtor_table[i]; if (current.destructor != NULL) { /* The current dtor has not been deleted yet. */ void *current_value = glwthread_tls_get (current.key); if (current_value != NULL) { /* The current value is non-NULL. Run the destructor. */ glwthread_tls_set (current.key, NULL); LeaveCriticalSection (&dtor_table_lock); current.destructor (current_value); EnterCriticalSection (&dtor_table_lock); destructors_run++; } } } /* When all TLS values were already NULL, no further iterations are needed. */ if (destructors_run == 0) break; } dtor_processing_threads--; LeaveCriticalSection (&dtor_table_lock); } int glwthread_tls_key_create (glwthread_tls_key_t *keyp, void (*destructor) (void *)) { if (destructor != NULL) { dtor_table_ensure_initialized (); EnterCriticalSection (&dtor_table_lock); if (dtor_processing_threads == 0) { /* Now it's the appropriate time for shrinking dtors_used. */ if (dtors_used > dtors_count) dtor_table_shrink_used (); } while (dtors_used == dtors_allocated) { /* Need to grow the dtor_table. */ unsigned int new_allocated = 2 * dtors_allocated + 1; if (new_allocated < 7) new_allocated = 7; if (new_allocated <= dtors_allocated) /* overflow? */ new_allocated = UINT_MAX; LeaveCriticalSection (&dtor_table_lock); { struct dtor *new_table = (struct dtor *) malloc (new_allocated * sizeof (struct dtor)); if (new_table == NULL) return ENOMEM; EnterCriticalSection (&dtor_table_lock); /* Attention! dtors_used, dtors_allocated may have changed! */ if (dtors_used < new_allocated) { if (dtors_allocated < new_allocated) { /* The new_table is useful. */ memcpy (new_table, dtor_table, dtors_used * sizeof (struct dtor)); dtor_table = new_table; dtors_allocated = new_allocated; } else { /* The new_table is not useful, since another thread meanwhile allocated a drop_table that is at least as large. */ free (new_table); } break; } /* The new_table is not useful, since other threads increased dtors_used. Free it any retry. */ free (new_table); } } /* Here dtors_used < dtors_allocated. */ { /* Allocate a new key. */ glwthread_tls_key_t key = TlsAlloc (); if (key == (DWORD)-1) { LeaveCriticalSection (&dtor_table_lock); return EAGAIN; } /* Store the new dtor in the dtor_table, after all used entries. Do not overwrite inactive entries with indices < dtors_used, in order not to disturb glwthread_tls_process_destructors invocations that may be executing in other threads. */ dtor_table[dtors_used].key = key; dtor_table[dtors_used].destructor = destructor; dtors_used++; dtors_count++; LeaveCriticalSection (&dtor_table_lock); *keyp = key; } } else { /* Allocate a new key. */ glwthread_tls_key_t key = TlsAlloc (); if (key == (DWORD)-1) return EAGAIN; *keyp = key; } return 0; } int glwthread_tls_key_delete (glwthread_tls_key_t key) { /* Should the destructor be called for all threads that are currently running? Probably not, because - ISO C does not specify when the destructor is to be invoked at all. - In POSIX, the destructor functions specified with pthread_key_create() are invoked at thread exit. - It would be hard to implement, because there are no primitives for accessing thread-specific values from a different thread. */ dtor_table_ensure_initialized (); EnterCriticalSection (&dtor_table_lock); if (dtor_processing_threads == 0) { /* Now it's the appropriate time for shrinking dtors_used. */ if (dtors_used > dtors_count) dtor_table_shrink_used (); /* Here dtors_used == dtors_count. */ /* Find the key in dtor_table. */ { unsigned int i_limit = dtors_used; unsigned int i; for (i = 0; i < i_limit; i++) if (dtor_table[i].key == key) { if (i < dtors_used - 1) /* Swap the entries i and dtors_used - 1. */ dtor_table[i] = dtor_table[dtors_used - 1]; dtors_count = dtors_used = dtors_used - 1; break; } } } else { /* Be careful not to disturb the glwthread_tls_process_destructors invocations that are executing in other threads. */ unsigned int i_limit = dtors_used; unsigned int i; for (i = 0; i < i_limit; i++) if (dtor_table[i].destructor != NULL /* skip inactive entries */ && dtor_table[i].key == key) { /* Mark this entry as inactive. */ dtor_table[i].destructor = NULL; dtors_count = dtors_count - 1; break; } } LeaveCriticalSection (&dtor_table_lock); /* Now we have ensured that glwthread_tls_process_destructors will no longer use this key. */ if (!TlsFree (key)) return EINVAL; return 0; } gsasl-1.8.1/gltests/test-pthread.c0000644000000000000000000000454113516251574013773 00000000000000/* Test of substitute. Copyright (C) 2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2019. */ #include #include #include "verify.h" /* Check that the types are all defined. */ pthread_t t1; pthread_attr_t t2; pthread_once_t t3 = PTHREAD_ONCE_INIT; pthread_mutex_t t4 = PTHREAD_MUTEX_INITIALIZER; pthread_mutexattr_t t5; pthread_rwlock_t t6 = PTHREAD_RWLOCK_INITIALIZER; pthread_rwlockattr_t t7; pthread_cond_t t8 = PTHREAD_COND_INITIALIZER; pthread_condattr_t t9; pthread_key_t t10; pthread_spinlock_t t11; #ifdef TODO /* Not implemented in gnulib yet */ pthread_barrier_t t12; pthread_barrierattr_t t13; #endif /* Check that the various macros are defined. */ /* Constants for pthread_attr_setdetachstate(). */ int ds[] = { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; /* Constants for pthread_exit(). */ void *canceled = PTHREAD_CANCELED; /* Constants for pthread_mutexattr_settype(). */ int mt[] = { PTHREAD_MUTEX_DEFAULT, PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_RECURSIVE, PTHREAD_MUTEX_ERRORCHECK }; #ifdef TODO /* Not implemented in gnulib yet */ /* Constants for pthread_mutexattr_setrobust(). */ int mr[] = { PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_STALLED }; /* Constants for pthread_barrierattr_setpshared(). */ int bp[] = { PTHREAD_PROCESS_SHARED, PTHREAD_PROCESS_PRIVATE }; /* Constants for pthread_barrier_wait(). */ int bw[] = { PTHREAD_BARRIER_SERIAL_THREAD }; /* Constants for pthread_setcancelstate(). */ int cs[] = { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; /* Constants for pthread_setcanceltype(). */ int ct[] = { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; #endif int main (void) { return 0; } gsasl-1.8.1/gltests/sig-handler.c0000644000000000000000000000013213516251573013553 00000000000000#include #define SIG_HANDLER_INLINE _GL_EXTERN_INLINE #include "sig-handler.h" gsasl-1.8.1/gltests/test-init.sh0000755000000000000000000000463413516251600013473 00000000000000#!/bin/sh # Unit tests for init.sh # Copyright (C) 2011-2019 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # 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 3 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, see . */ : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ . fail=0 test_compare() { touch empty || fail=1 echo xyz > in || fail=1 compare /dev/null /dev/null >out 2>err || fail=1 test -s out && fail_ "out not empty: $(cat out)" # "err" should be empty, too, but has "set -x" output when VERBOSE=yes case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare /dev/null empty >out 2>err || fail=1 test -s out && fail_ "out not empty: $(cat out)" case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare in in >out 2>err || fail=1 test -s out && fail_ "out not empty: $(cat out)" case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare /dev/null in >out 2>err && fail=1 cat <<\EOF > exp diff -u /dev/null in --- /dev/null 1970-01-01 +++ in 1970-01-01 +xyz EOF compare exp out || fail=1 case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare empty in >out 2>err && fail=1 # Compare against expected output only if compare is using diff -u. if grep @ out >/dev/null; then # Remove the TAB-date suffix on each --- and +++ line, # for both the expected and the actual output files. # Also remove the @@ line, since Solaris 5.10 and GNU diff formats differ: # -@@ -0,0 +1 @@ # +@@ -1,0 +1,1 @@ # Also, remove space after leading '+', since AIX 7.1 diff outputs a space. sed 's/ .*//;/^@@/d;s/^+ /+/' out > k && mv k out cat <<\EOF > exp --- empty +++ in +xyz EOF compare exp out || fail=1 fi case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac } test_compare Exit $fail gsasl-1.8.1/gltests/same-inode.h0000644000000000000000000000321613516251600013401 00000000000000/* Determine whether two stat buffers are known to refer to the same file. Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef SAME_INODE_H # define SAME_INODE_H 1 # include # if defined __VMS && __CRTL_VER < 80200000 # define SAME_INODE(a, b) \ ((a).st_ino[0] == (b).st_ino[0] \ && (a).st_ino[1] == (b).st_ino[1] \ && (a).st_ino[2] == (b).st_ino[2] \ && (a).st_dev == (b).st_dev) # elif defined _WIN32 && ! defined __CYGWIN__ /* Native Windows. */ # if _GL_WINDOWS_STAT_INODES /* stat() and fstat() set st_dev and st_ino to 0 if information about the inode is not available. */ # define SAME_INODE(a, b) \ (!((a).st_ino == 0 && (a).st_dev == 0) \ && (a).st_ino == (b).st_ino && (a).st_dev == (b).st_dev) # else /* stat() and fstat() set st_ino to 0 always. */ # define SAME_INODE(a, b) 0 # endif # else # define SAME_INODE(a, b) \ ((a).st_ino == (b).st_ino \ && (a).st_dev == (b).st_dev) # endif #endif gsasl-1.8.1/gltests/arg-nonnull.h0000644000000000000000000000230113516251573013617 00000000000000/* A C macro for declaring that specific arguments must not be NULL. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools that the values passed as arguments n, ..., m must be non-NULL pointers. n = 1 stands for the first argument, n = 2 for the second argument etc. */ #ifndef _GL_ARG_NONNULL # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) # else # define _GL_ARG_NONNULL(params) # endif #endif gsasl-1.8.1/gltests/mbtowc.c0000644000000000000000000000164713516251600012654 00000000000000/* Convert multibyte character to wide character. Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. 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 3 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, see . */ #include #include #include #include #include #include "mbtowc-impl.h" gsasl-1.8.1/gltests/test-wcrtomb-w32-1.sh0000755000000000000000000000013513516251601014745 00000000000000#!/bin/sh # Test a CP1252 locale. ${CHECKER} ./test-wcrtomb-w32${EXEEXT} French_France 1252 gsasl-1.8.1/gltests/test-pathmax.c0000644000000000000000000000170413516251600013772 00000000000000/* Test of "pathmax.h". Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include "pathmax.h" /* Check that PATH_MAX is a constant if it is defined. */ #ifdef PATH_MAX int a = PATH_MAX; #endif int main (void) { return 0; } gsasl-1.8.1/gltests/test-recv.c0000644000000000000000000000244413516251601013272 00000000000000/* Test the recv() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (recv, ssize_t, (int, void *, size_t, int)); #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { char byte; errno = 0; ASSERT (recv (-1, &byte, 1, 0) == -1); ASSERT (errno == EBADF); } { char byte; close (99); errno = 0; ASSERT (recv (99, &byte, 1, 0) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/gltests/test-vasprintf.c0000644000000000000000000000471613516251601014353 00000000000000/* Test of vasprintf() and asprintf() functions. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (asprintf, int, (char **, char const *, ...)); SIGNATURE_CHECK (vasprintf, int, (char **, char const *, va_list)); #include #include #include #include "macros.h" static int my_asprintf (char **result, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vasprintf (result, format, args); va_end (args); return ret; } static void test_vasprintf () { int repeat; for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = my_asprintf (&result, "%d", 12345); ASSERT (retval == 5); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); free (result); } for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = my_asprintf (&result, "%08lx", 12345UL); ASSERT (retval == 8); ASSERT (result != NULL); ASSERT (strcmp (result, "00003039") == 0); free (result); } } static void test_asprintf () { int repeat; for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = asprintf (&result, "%d", 12345); ASSERT (retval == 5); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); free (result); } for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = asprintf (&result, "%08lx", 12345UL); ASSERT (retval == 8); ASSERT (result != NULL); ASSERT (strcmp (result, "00003039") == 0); free (result); } } int main (int argc, char *argv[]) { test_vasprintf (); test_asprintf (); return 0; } gsasl-1.8.1/gltests/stat-w32.h0000644000000000000000000000306613516251574012761 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _STAT_W32_H #define _STAT_W32_H 1 /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC extern struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft); #else extern time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft); #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ extern int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf); /* Bitmasks for st_mode. */ #define S_IREAD_UGO (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6)) #define S_IWRITE_UGO (_S_IWRITE | (_S_IWRITE >> 3) | (_S_IWRITE >> 6)) #define S_IEXEC_UGO (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6)) #endif /* _STAT_W32_H */ gsasl-1.8.1/gltests/test-once.c0000644000000000000000000000204413516251574013264 00000000000000/* Test of once-only execution in multithreaded situations. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2018. */ #include #include "glthread/lock.h" #include "macros.h" gl_once_define(static, a_once) static int a; static void a_init (void) { a = 42; } int main () { gl_once (a_once, a_init); ASSERT (a == 42); return 0; } gsasl-1.8.1/gltests/test-memchr.c0000644000000000000000000000731313516251600013605 00000000000000/* * Copyright (C) 2008-2019 Free Software Foundation, Inc. * Written by Eric Blake and Bruno Haible * * 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 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (memchr, void *, (void const *, int, size_t)); #include #include "zerosize-ptr.h" #include "macros.h" /* Calculating void * + int is not portable, so this wrapper converts to char * to make the tests easier to write. */ #define MEMCHR (char *) memchr int main (void) { size_t n = 0x100000; char *input = malloc (n); ASSERT (input); input[0] = 'a'; input[1] = 'b'; memset (input + 2, 'c', 1024); memset (input + 1026, 'd', n - 1028); input[n - 2] = 'e'; input[n - 1] = 'a'; /* Basic behavior tests. */ ASSERT (MEMCHR (input, 'a', n) == input); ASSERT (MEMCHR (input, 'a', 0) == NULL); ASSERT (MEMCHR (zerosize_ptr (), 'a', 0) == NULL); ASSERT (MEMCHR (input, 'b', n) == input + 1); ASSERT (MEMCHR (input, 'c', n) == input + 2); ASSERT (MEMCHR (input, 'd', n) == input + 1026); ASSERT (MEMCHR (input + 1, 'a', n - 1) == input + n - 1); ASSERT (MEMCHR (input + 1, 'e', n - 1) == input + n - 2); ASSERT (MEMCHR (input + 1, 0x789abc00 | 'e', n - 1) == input + n - 2); ASSERT (MEMCHR (input, 'f', n) == NULL); ASSERT (MEMCHR (input, '\0', n) == NULL); /* Check that a very long haystack is handled quickly if the byte is found near the beginning. */ { size_t repeat = 10000; for (; repeat > 0; repeat--) { ASSERT (MEMCHR (input, 'c', n) == input + 2); } } /* Alignment tests. */ { int i, j; for (i = 0; i < 32; i++) { for (j = 0; j < 256; j++) input[i + j] = j; for (j = 0; j < 256; j++) { ASSERT (MEMCHR (input + i, j, 256) == input + i + j); } } } /* Check that memchr() does not read past the first occurrence of the byte being searched. See the Austin Group's clarification . Test both '\0' and something else, since some implementations special-case searching for NUL. */ { char *page_boundary = (char *) zerosize_ptr (); /* Too small, and we miss cache line boundary tests; too large, and the test takes cubically longer to complete. */ int limit = 257; if (page_boundary != NULL) { for (n = 1; n <= limit; n++) { char *mem = page_boundary - n; memset (mem, 'X', n); ASSERT (MEMCHR (mem, 'U', n) == NULL); ASSERT (MEMCHR (mem, 0, n) == NULL); { size_t i; size_t k; for (i = 0; i < n; i++) { mem[i] = 'U'; for (k = i + 1; k < n + limit; k++) ASSERT (MEMCHR (mem, 'U', k) == mem + i); mem[i] = 0; for (k = i + 1; k < n + limit; k++) ASSERT (MEMCHR (mem, 0, k) == mem + i); mem[i] = 'X'; } } } } } free (input); return 0; } gsasl-1.8.1/gltests/test-setlocale1.c0000644000000000000000000000334213516251601014365 00000000000000/* Test of setting the current locale. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (setlocale, char *, (int, const char *)); #include #include #include "macros.h" int main (int argc, char *argv[]) { char *name1; char *name2; /* Try to set the locale by implicitly looking at the LC_ALL environment variable. configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) return 1; name1 = strdup (setlocale (LC_ALL, NULL)); /* Reset the locale. */ if (setlocale (LC_ALL, "C") == NULL) return 1; /* Try to set the locale by explicitly looking at the LC_ALL environment variable. configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL) return 1; name2 = strdup (setlocale (LC_ALL, NULL)); /* Test that the two results are the same. */ ASSERT (strcmp (name1, name2) == 0); free (name1); free (name2); return 0; } gsasl-1.8.1/gltests/test-iconv-h.c0000644000000000000000000000150013516251600013665 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #if HAVE_ICONV # include #endif int main () { return 0; } gsasl-1.8.1/gltests/test-getcwd-lgpl.c0000644000000000000000000000510613516251600014541 00000000000000/* Test of getcwd() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (getcwd, char *, (char *, size_t)); #include #include #include #include #include "macros.h" int main (int argc, char **argv) { char *pwd1; char *pwd2; /* If the user provides an argument, attempt to chdir there first. */ if (1 < argc) { if (chdir (argv[1]) == 0) printf ("changed to directory %s\n", argv[1]); } pwd1 = getcwd (NULL, 0); ASSERT (pwd1 && *pwd1); if (1 < argc) printf ("cwd=%s\n", pwd1); /* Make sure the result is usable. */ ASSERT (chdir (pwd1) == 0); ASSERT (chdir (".//./.") == 0); /* Make sure that result is normalized. */ pwd2 = getcwd (NULL, 0); ASSERT (pwd2); ASSERT (strcmp (pwd1, pwd2) == 0); free (pwd2); { size_t len = strlen (pwd1); ssize_t i = len - 10; if (i < 1) i = 1; pwd2 = getcwd (NULL, len + 1); ASSERT (pwd2); free (pwd2); pwd2 = malloc (len + 2); for ( ; i <= len; i++) { char *tmp; errno = 0; ASSERT (getcwd (pwd2, i) == NULL); ASSERT (errno == ERANGE); /* Allow either glibc or BSD behavior, since POSIX allows both. */ errno = 0; tmp = getcwd (NULL, i); if (tmp) { ASSERT (strcmp (pwd1, tmp) == 0); free (tmp); } else { ASSERT (errno == ERANGE); } } ASSERT (getcwd (pwd2, len + 1) == pwd2); pwd2[len] = '/'; pwd2[len + 1] = '\0'; } ASSERT (strstr (pwd2, "/./") == NULL); ASSERT (strstr (pwd2, "/../") == NULL); ASSERT (strstr (pwd2 + 1 + (pwd2[1] == '/'), "//") == NULL); /* Validate a POSIX requirement on size. */ errno = 0; ASSERT (getcwd(pwd2, 0) == NULL); ASSERT (errno == EINVAL); free (pwd1); free (pwd2); return 0; } gsasl-1.8.1/gltests/test-sleep.c0000644000000000000000000000263313516251574013454 00000000000000/* Test of sleep() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (sleep, unsigned int, (unsigned int)); #include #include "macros.h" #if HAVE_DECL_ALARM static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main (void) { ASSERT (sleep (1) <= 1); ASSERT (sleep (0) == 0); #if HAVE_DECL_ALARM { const unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ unsigned int remaining; signal (SIGALRM, handle_alarm); alarm (1); remaining = sleep (pentecost); ASSERT (pentecost - 10 < remaining && remaining <= pentecost); } #endif return 0; } gsasl-1.8.1/gltests/stat.c0000644000000000000000000003240313516251600012326 00000000000000/* Work around platform bugs in stat. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake and Bruno Haible. */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_stat doesn't recurse to rpl_stat. */ #define __need_system_sys_stat_h #include /* Get the original definition of stat. It might be defined as a macro. */ #include #include #undef __need_system_sys_stat_h #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE #endif #if !defined WINDOWS_NATIVE static int orig_stat (const char *filename, struct stat *buf) { return stat (filename, buf); } #endif /* Specification. */ #ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" #else # include #endif #include "stat-time.h" #include #include #include #include #include "filename.h" #include "malloca.h" #include "verify.h" #ifdef WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include # include "stat-w32.h" #endif #ifdef WINDOWS_NATIVE /* Return TRUE if the given file name denotes an UNC root. */ static BOOL is_unc_root (const char *rname) { /* Test whether it has the syntax '\\server\share'. */ if (ISSLASH (rname[0]) && ISSLASH (rname[1])) { /* It starts with two slashes. Find the next slash. */ const char *p = rname + 2; const char *q = p; while (*q != '\0' && !ISSLASH (*q)) q++; if (q > p && *q != '\0') { /* Found the next slash at q. */ q++; const char *r = q; while (*r != '\0' && !ISSLASH (*r)) r++; if (r > q && *r == '\0') return TRUE; } } return FALSE; } #endif /* Store information about NAME into ST. Work around bugs with trailing slashes. Mingw has other bugs (such as st_ino always being 0 on success) which this wrapper does not work around. But at least this implementation provides the ability to emulate fchdir correctly. */ int rpl_stat (char const *name, struct stat *buf) { #ifdef WINDOWS_NATIVE /* Fill the fields ourselves, because the original stat function returns values for st_atime, st_mtime, st_ctime that depend on the current time zone. See */ /* XXX Should we convert to wchar_t* and prepend '\\?\', in order to work around length limitations ? */ /* POSIX specifies: "More than two leading characters shall be treated as a single character." */ if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) { name += 2; while (ISSLASH (name[1])) name++; } size_t len = strlen (name); size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); /* Remove trailing slashes (except the very first one, at position drive_prefix_len), but remember their presence. */ size_t rlen; bool check_dir = false; rlen = len; while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) { check_dir = true; if (rlen == drive_prefix_len + 1) break; rlen--; } /* Handle '' and 'C:'. */ if (!check_dir && rlen == drive_prefix_len) { errno = ENOENT; return -1; } /* Handle '\\'. */ if (rlen == 1 && ISSLASH (name[0]) && len >= 2) { errno = ENOENT; return -1; } const char *rname; char *malloca_rname; if (rlen == len) { rname = name; malloca_rname = NULL; } else { malloca_rname = malloca (rlen + 1); if (malloca_rname == NULL) { errno = ENOMEM; return -1; } memcpy (malloca_rname, name, rlen); malloca_rname[rlen] = '\0'; rname = malloca_rname; } /* There are two ways to get at the requested information: - by scanning the parent directory and examining the relevant directory entry, - by opening the file directly. The first approach fails for root directories (e.g. 'C:\') and UNC root directories (e.g. '\\server\share'). The second approach fails for some system files (e.g. 'C:\pagefile.sys' and 'C:\hiberfil.sys'): ERROR_SHARING_VIOLATION. The second approach gives more information (in particular, correct st_dev, st_ino, st_nlink fields). So we use the second approach and, as a fallback except for root and UNC root directories, also the first approach. */ { int ret; { /* Approach based on the file. */ /* Open a handle to the file. CreateFile */ HANDLE h = CreateFile (rname, FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, NULL, OPEN_EXISTING, /* FILE_FLAG_POSIX_SEMANTICS (treat file names that differ only in case as different) makes sense only when applied to *all* filesystem operations. */ FILE_FLAG_BACKUP_SEMANTICS /* | FILE_FLAG_POSIX_SEMANTICS */, NULL); if (h != INVALID_HANDLE_VALUE) { ret = _gl_fstat_by_handle (h, rname, buf); CloseHandle (h); goto done; } } /* Test for root and UNC root directories. */ if ((rlen == drive_prefix_len + 1 && ISSLASH (rname[drive_prefix_len])) || is_unc_root (rname)) goto failed; /* Fallback. */ { /* Approach based on the directory entry. */ if (strchr (rname, '?') != NULL || strchr (rname, '*') != NULL) { /* Other Windows API functions would fail with error ERROR_INVALID_NAME. */ if (malloca_rname != NULL) freea (malloca_rname); errno = ENOENT; return -1; } /* Get the details about the directory entry. This can be done through FindFirstFile or through FindFirstFileEx with argument FindExInfoBasic */ WIN32_FIND_DATA info; HANDLE h = FindFirstFile (rname, &info); if (h == INVALID_HANDLE_VALUE) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { FindClose (h); if (malloca_rname != NULL) freea (malloca_rname); errno = EOVERFLOW; return -1; } # if _GL_WINDOWS_STAT_INODES buf->st_dev = 0; # if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_ino = 0; # endif # else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; # endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { const char *last_dot = NULL; const char *p; for (p = info.cFileName; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } } buf->st_mode = mode; /* st_nlink. Ignore hard links here. */ buf->st_nlink = 1; /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime. */ # if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); # else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); # endif FindClose (h); ret = 0; } done: if (ret >= 0 && check_dir && !S_ISDIR (buf->st_mode)) { errno = ENOTDIR; ret = -1; } if (malloca_rname != NULL) { int saved_errno = errno; freea (malloca_rname); errno = saved_errno; } return ret; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "rpl_stat error 0x%x\n", (unsigned int) error); #endif if (malloca_rname != NULL) freea (malloca_rname); switch (error) { /* Some of these errors probably cannot happen with the specific flags that we pass to CreateFile. But who knows... */ case ERROR_FILE_NOT_FOUND: /* The last component of rname does not exist. */ case ERROR_PATH_NOT_FOUND: /* Some directory component in rname does not exist. */ case ERROR_BAD_PATHNAME: /* rname is such as '\\server'. */ case ERROR_BAD_NET_NAME: /* rname is such as '\\server\nonexistentshare'. */ case ERROR_INVALID_NAME: /* rname contains wildcards, misplaced colon, etc. */ case ERROR_DIRECTORY: errno = ENOENT; break; case ERROR_ACCESS_DENIED: /* rname is such as 'C:\System Volume Information\foo'. */ case ERROR_SHARING_VIOLATION: /* rname is such as 'C:\pagefile.sys' (second approach only). */ /* XXX map to EACCESS or EPERM? */ errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_PROTECT: errno = EROFS; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; case ERROR_BUFFER_OVERFLOW: case ERROR_FILENAME_EXCED_RANGE: errno = ENAMETOOLONG; break; case ERROR_DELETE_PENDING: /* XXX map to EACCESS or EPERM? */ errno = EPERM; break; default: errno = EINVAL; break; } return -1; } #else int result = orig_stat (name, buf); if (result == 0) { # if REPLACE_FUNC_STAT_FILE /* Solaris 9 mistakenly succeeds when given a non-directory with a trailing slash. */ if (!S_ISDIR (buf->st_mode)) { size_t len = strlen (name); if (ISSLASH (name[len - 1])) { errno = ENOTDIR; return -1; } } # endif /* REPLACE_FUNC_STAT_FILE */ result = stat_time_normalize (result, buf); } return result; #endif } gsasl-1.8.1/gltests/test-locale.c0000644000000000000000000000441413516251600013570 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" int a[] = { LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, LC_TIME }; /* Check that the 'struct lconv' type is defined. */ struct lconv l; int ls; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); int main () { #if HAVE_NEWLOCALE /* Check that the locale_t type and the LC_GLOBAL_LOCALE macro are defined. */ locale_t b = LC_GLOBAL_LOCALE; (void) b; #endif /* Check that 'struct lconv' has the ISO C and POSIX specified members. */ ls += sizeof (*l.decimal_point); ls += sizeof (*l.thousands_sep); ls += sizeof (*l.grouping); ls += sizeof (*l.mon_decimal_point); ls += sizeof (*l.mon_thousands_sep); ls += sizeof (*l.mon_grouping); ls += sizeof (*l.positive_sign); ls += sizeof (*l.negative_sign); ls += sizeof (*l.currency_symbol); ls += sizeof (l.frac_digits); ls += sizeof (l.p_cs_precedes); ls += sizeof (l.p_sign_posn); ls += sizeof (l.p_sep_by_space); ls += sizeof (l.n_cs_precedes); ls += sizeof (l.n_sign_posn); ls += sizeof (l.n_sep_by_space); ls += sizeof (*l.int_curr_symbol); ls += sizeof (l.int_frac_digits); ls += sizeof (l.int_p_cs_precedes); ls += sizeof (l.int_p_sign_posn); ls += sizeof (l.int_p_sep_by_space); ls += sizeof (l.int_n_cs_precedes); ls += sizeof (l.int_n_sign_posn); ls += sizeof (l.int_n_sep_by_space); return 0; } gsasl-1.8.1/gltests/test-sigprocmask.c0000644000000000000000000000506013516251574014663 00000000000000/* Test of sigprocmask. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include "signature.h" SIGNATURE_CHECK (sigprocmask, int, (int, const sigset_t *, sigset_t *)); #include #include #include #include #include "macros.h" #if !(defined _WIN32 && !defined __CYGWIN__) static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main (int argc, char *argv[]) { sigset_t set; pid_t pid = getpid (); char command[80]; if (sizeof (int) < sizeof pid && 0x7fffffff < pid) { fputs ("Skipping test: pid too large\n", stderr); return 77; } signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); /* Check error handling. */ ASSERT (sigprocmask (1729, &set, NULL) == -1); ASSERT (errno == EINVAL); /* Block SIGINT. */ ASSERT (sigprocmask (SIG_BLOCK, &set, NULL) == 0); /* Request a SIGINT signal from outside. */ sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, (int) pid); ASSERT (system (command) == 0); /* Wait. */ sleep (2); /* The signal should not have arrived yet, because it is blocked. */ ASSERT (sigint_occurred == 0); /* Unblock SIGINT. */ ASSERT (sigprocmask (SIG_UNBLOCK, &set, NULL) == 0); /* The signal should have arrived now, because POSIX says "If there are any pending unblocked signals after the call to sigprocmask(), at least one of those signals shall be delivered before the call to sigprocmask() returns." */ ASSERT (sigint_occurred == 1); return 0; } #else /* On native Windows, getpid() values and the arguments that are passed to the (Cygwin?) 'kill' program are not necessarily related. */ int main () { fputs ("Skipping test: native Windows platform\n", stderr); return 77; } #endif gsasl-1.8.1/gltests/wcrtomb.c0000644000000000000000000000334313516251601013032 00000000000000/* Convert wide character to multibyte character. Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2008. 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 3 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, see . */ #include /* Specification. */ #include #include #include size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps) { /* This implementation of wcrtomb supports only stateless encodings. ps must be in the initial state. */ if (ps != NULL && !mbsinit (ps)) { errno = EINVAL; return (size_t)(-1); } if (s == NULL) /* We know the NUL wide character corresponds to the NUL character. */ return 1; else { #if defined __ANDROID__ /* Implement consistently with mbrtowc(): through a 1:1 correspondence, as in ISO-8859-1. */ if (wc >= 0 && wc <= 0xff) { *s = (unsigned char) wc; return 1; } #else /* Implement on top of wctomb(). */ int ret = wctomb (s, wc); if (ret >= 0) return ret; #endif else { errno = EILSEQ; return (size_t)(-1); } } } gsasl-1.8.1/gltests/test-time.c0000644000000000000000000000236113516251601013267 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that the types are all defined. */ struct timespec t1; #if 0 /* POSIX:2008 does not require pid_t in unconditionally, and indeed it's missing on Mac OS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */ pid_t t2; #endif /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); int main (void) { return 0; } gsasl-1.8.1/gltests/test-fseeko4.sh0000755000000000000000000000013213516251600014055 00000000000000#!/bin/sh ${CHECKER} ./test-fseeko4${EXEEXT} "$srcdir/test-fseeko4.sh" || exit 1 exit 0 gsasl-1.8.1/gltests/test-stat.h0000644000000000000000000000642313516251601013314 00000000000000/* Tests of stat. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ /* This file is designed to test both stat(n,buf) and fstatat(AT_FDCWD,n,buf,0). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static int test_stat_func (int (*func) (char const *, struct stat *), bool print) { struct stat st1; struct stat st2; char *cwd = getcwd (NULL, 0); ASSERT (cwd); ASSERT (func (".", &st1) == 0); ASSERT (func ("./", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (func (cwd, &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (func ("/", &st1) == 0); ASSERT (func ("///", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif errno = 0; ASSERT (func ("", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch/", &st1) == -1); ASSERT (errno == ENOENT); ASSERT (close (creat (BASE "file", 0600)) == 0); ASSERT (func (BASE "file", &st1) == 0); errno = 0; ASSERT (func (BASE "file/", &st1) == -1); ASSERT (errno == ENOTDIR); /* Now for some symlink tests, where supported. We set up: link1 -> directory link2 -> file link3 -> dangling link4 -> loop then test behavior with trailing slash. */ if (symlink (".", BASE "link1") != 0) { ASSERT (unlink (BASE "file") == 0); if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } ASSERT (symlink (BASE "file", BASE "link2") == 0); ASSERT (symlink (BASE "nosuch", BASE "link3") == 0); ASSERT (symlink (BASE "link4", BASE "link4") == 0); ASSERT (func (BASE "link1/", &st1) == 0); ASSERT (S_ISDIR (st1.st_mode)); errno = 0; ASSERT (func (BASE "link2/", &st1) == -1); ASSERT (errno == ENOTDIR); errno = 0; ASSERT (func (BASE "link3/", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func (BASE "link4/", &st1) == -1); ASSERT (errno == ELOOP); /* Cleanup. */ ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link1") == 0); ASSERT (unlink (BASE "link2") == 0); ASSERT (unlink (BASE "link3") == 0); ASSERT (unlink (BASE "link4") == 0); free (cwd); return 0; } gsasl-1.8.1/gltests/test-setlocale1.sh0000755000000000000000000000156213516251601014562 00000000000000#!/bin/sh : ${LOCALE_FR=fr_FR} : ${LOCALE_FR_UTF8=fr_FR.UTF-8} : ${LOCALE_JA=ja_JP} : ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none \ && test $LOCALE_JA = none && test $LOCALE_ZH_CN = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no locale for testing is installed" else echo "Skipping test: no locale for testing is supported" fi exit 77 fi if test $LOCALE_FR != none; then LC_ALL=$LOCALE_FR ${CHECKER} ./test-setlocale1${EXEEXT} || exit 1 fi if test $LOCALE_FR_UTF8 != none; then LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-setlocale1${EXEEXT} || exit 1 fi if test $LOCALE_JA != none; then LC_ALL=$LOCALE_JA ${CHECKER} ./test-setlocale1${EXEEXT} || exit 1 fi if test $LOCALE_ZH_CN != none; then LC_ALL=$LOCALE_ZH_CN ${CHECKER} ./test-setlocale1${EXEEXT} || exit 1 fi exit 0 gsasl-1.8.1/gltests/ignore-value.h0000644000000000000000000000423513516251577013774 00000000000000/* ignore a function return without a compiler warning. -*- coding: utf-8 -*- Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Jim Meyering, Eric Blake and Pádraig Brady. */ /* Use "ignore_value" to avoid a warning when using a function declared with gcc's warn_unused_result attribute, but for which you really do want to ignore the result. Traditionally, people have used a "(void)" cast to indicate that a function's return value is deliberately unused. However, if the function is declared with __attribute__((warn_unused_result)), gcc issues a warning even with the cast. Caution: most of the time, you really should heed gcc's warning, and check the return value. However, in those exceptional cases in which you're sure you know what you're doing, use this function. For the record, here's one of the ignorable warnings: "copy.c:233: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result". */ #ifndef _GL_IGNORE_VALUE_H #define _GL_IGNORE_VALUE_H /* Normally casting an expression to void discards its value, but GCC versions 3.4 and newer have __attribute__ ((__warn_unused_result__)) which may cause unwanted diagnostics in that case. Use __typeof__ and __extension__ to work around the problem, if the workaround is known to be needed. */ #if 3 < __GNUC__ + (4 <= __GNUC_MINOR__) # define ignore_value(x) \ (__extension__ ({ __typeof__ (x) __x = (x); (void) __x; })) #else # define ignore_value(x) ((void) (x)) #endif #endif gsasl-1.8.1/gltests/test-close.c0000644000000000000000000000220213516251600013427 00000000000000/* Test closing a file or socket. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (close, int, (int)); #include #include "macros.h" int main (void) { /* Test behaviour for invalid file descriptors. */ { errno = 0; ASSERT (close (-1) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (close (99) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/gltests/version-etc-fsf.c0000644000000000000000000000220313516251601014361 00000000000000/* Variable with FSF copyright information, for version-etc. Copyright (C) 1999-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Jim Meyering. */ #include /* Specification. */ #include "version-etc.h" /* Default copyright goes to the FSF. */ const char version_etc_copyright[] = /* Do *not* mark this string for translation. %s is a copyright symbol suitable for this locale, and %d is the copyright year. */ "Copyright %s %d Free Software Foundation, Inc."; gsasl-1.8.1/gltests/test-inet_ntop.c0000644000000000000000000000310013516251600014317 00000000000000/* Test of inet_ntop function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (inet_ntop, char const *, (int, void const *, char *, socklen_t)); #include #include #include #include "macros.h" int main (void) { #if defined AF_INET /* HAVE_IPV4 */ { struct in_addr internal; char printable[16]; const char *result; /* This machine was for a long time known as ma2s2.mathematik.uni-karlsruhe.de. */ # ifdef WORDS_BIGENDIAN internal.s_addr = 0x810D7302; # else internal.s_addr = 0x02730D81; # endif result = inet_ntop (AF_INET, &internal, printable, sizeof (printable)); ASSERT (result != NULL); ASSERT (strcmp (result, "129.13.115.2") == 0); } #endif return 0; } gsasl-1.8.1/gltests/test-sigaction.c0000644000000000000000000000677513516251574014337 00000000000000/* Test of sigaction() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (sigaction, int, (int, struct sigaction const *, struct sigaction *)); #include #include "macros.h" #ifndef SA_NOCLDSTOP # define SA_NOCLDSTOP 0 #endif #ifndef SA_ONSTACK # define SA_ONSTACK 0 #endif #ifndef SA_RESETHAND # define SA_RESETHAND 0 #endif #ifndef SA_RESTART # define SA_RESTART 0 #endif #ifndef SA_SIGINFO # define SA_SIGINFO 0 #endif #ifndef SA_NOCLDWAIT # define SA_NOCLDWAIT 0 #endif /* Define a mask of flags required by POSIX. Some implementations provide other flags as extensions, such as SA_RESTORER, that we must ignore in this test. */ #define MASK_SA_FLAGS (SA_NOCLDSTOP | SA_ONSTACK | SA_RESETHAND | SA_RESTART \ | SA_SIGINFO | SA_NOCLDWAIT | SA_NODEFER) /* This test is unsafe in the presence of an asynchronous SIGABRT, because we install a signal-handler that is intentionally not async-safe. Hopefully, this does not lead to too many reports of false failures, since people don't generally use 'kill -s SIGABRT' to end a runaway program. */ static void handler (int sig) { static int entry_count; struct sigaction sa; ASSERT (sig == SIGABRT); ASSERT (sigaction (SIGABRT, NULL, &sa) == 0); ASSERT ((sa.sa_flags & SA_SIGINFO) == 0); switch (entry_count++) { case 0: ASSERT ((sa.sa_flags & SA_RESETHAND) == 0); ASSERT (sa.sa_handler == handler); break; case 1: /* This assertion fails on glibc-2.3.6 systems with LinuxThreads, when this program is linked with -lpthread, due to the sigaction() override in libpthread.so. */ #if !(defined __GLIBC__ || defined __UCLIBC__) ASSERT (sa.sa_handler == SIG_DFL); #endif break; default: ASSERT (0); } } int main (void) { struct sigaction sa; struct sigaction old_sa; sa.sa_handler = handler; sa.sa_flags = 0; ASSERT (sigemptyset (&sa.sa_mask) == 0); ASSERT (sigaction (SIGABRT, &sa, NULL) == 0); ASSERT (raise (SIGABRT) == 0); sa.sa_flags = SA_RESETHAND | SA_NODEFER; ASSERT (sigaction (SIGABRT, &sa, &old_sa) == 0); ASSERT ((old_sa.sa_flags & MASK_SA_FLAGS) == 0); ASSERT (old_sa.sa_handler == handler); ASSERT (raise (SIGABRT) == 0); sa.sa_handler = SIG_DFL; ASSERT (sigaction (SIGABRT, &sa, &old_sa) == 0); ASSERT ((old_sa.sa_flags & SA_SIGINFO) == 0); #if !(defined __GLIBC__ || defined __UCLIBC__) /* see above */ ASSERT (old_sa.sa_handler == SIG_DFL); #endif sa.sa_handler = SIG_IGN; ASSERT (sigaction (SIGABRT, &sa, NULL) == 0); ASSERT (raise (SIGABRT) == 0); ASSERT (sigaction (SIGABRT, NULL, &old_sa) == 0); ASSERT (old_sa.sa_handler == SIG_IGN); ASSERT (raise (SIGABRT) == 0); return 0; } gsasl-1.8.1/gltests/usleep.c0000644000000000000000000000436513516251574012670 00000000000000/* Pausing execution of the current thread. Copyright (C) 2009-2019 Free Software Foundation, Inc. Written by Eric Blake , 2009. 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 3 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, see . */ /* This file is _intentionally_ light-weight. Rather than using select or nanosleep, both of which drag in external libraries on some platforms, this merely rounds up to the nearest second if usleep() does not exist. If sub-second resolution is important, then use a more powerful interface to begin with. */ #include /* Specification. */ #include #include #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include #endif #ifndef HAVE_USLEEP # define HAVE_USLEEP 0 #endif /* Sleep for MICRO microseconds, which can be greater than 1 second. Return -1 and set errno to EINVAL on range error (about 4295 seconds), or 0 on success. Interaction with SIGALARM is unspecified. */ int usleep (useconds_t micro) #undef usleep { #if defined _WIN32 && ! defined __CYGWIN__ unsigned int milliseconds = micro / 1000; if (sizeof milliseconds < sizeof micro && micro / 1000 != milliseconds) { errno = EINVAL; return -1; } if (micro % 1000) milliseconds++; Sleep (milliseconds); return 0; #else unsigned int seconds = micro / 1000000; if (sizeof seconds < sizeof micro && micro / 1000000 != seconds) { errno = EINVAL; return -1; } if (!HAVE_USLEEP && micro % 1000000) seconds++; while ((seconds = sleep (seconds)) != 0); # if !HAVE_USLEEP # define usleep(x) 0 # endif return usleep (micro % 1000000); #endif } gsasl-1.8.1/gltests/sigaction.c0000644000000000000000000001611513516251573013346 00000000000000/* POSIX compatible signal blocking. Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Eric Blake , 2008. 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 3 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, see . */ #include /* Specification. */ #include #include #include #include /* This implementation of sigaction is tailored to native Windows behavior: signal() has SysV semantics (ie. the handler is uninstalled before it is invoked). This is an inherent data race if an asynchronous signal is sent twice in a row before we can reinstall our handler, but there's nothing we can do about it. Meanwhile, sigprocmask() is not present, and while we can use the gnulib replacement to provide critical sections, it too suffers from potential data races in the face of an ill-timed asynchronous signal. And we compound the situation by reading static storage in a signal handler, which POSIX warns is not generically async-signal-safe. Oh well. Additionally: - We don't implement SA_NOCLDSTOP or SA_NOCLDWAIT, because SIGCHLD is not defined. - We don't implement SA_ONSTACK, because sigaltstack() is not present. - We ignore SA_RESTART, because blocking native Windows API calls are not interrupted anyway when an asynchronous signal occurs, and the MSVCRT runtime never sets errno to EINTR. - We don't implement SA_SIGINFO because it is impossible to do so portably. POSIX states that an application should not mix signal() and sigaction(). We support the use of signal() within the gnulib sigprocmask() substitute, but all other application code linked with this module should stick with only sigaction(). */ /* Check some of our assumptions. */ #if defined SIGCHLD || defined HAVE_SIGALTSTACK || defined HAVE_SIGINTERRUPT # error "Revisit the assumptions made in the sigaction module" #endif /* Out-of-range substitutes make a good fallback for uncatchable signals. */ #ifndef SIGKILL # define SIGKILL (-1) #endif #ifndef SIGSTOP # define SIGSTOP (-1) #endif /* On native Windows, as of 2008, the signal SIGABRT_COMPAT is an alias for the signal SIGABRT. Only one signal handler is stored for both SIGABRT and SIGABRT_COMPAT. SIGABRT_COMPAT is not a signal of its own. */ #if defined _WIN32 && ! defined __CYGWIN__ # undef SIGABRT_COMPAT # define SIGABRT_COMPAT 6 #endif /* A signal handler. */ typedef void (*handler_t) (int signal); /* Set of current actions. If sa_handler for an entry is NULL, then that signal is not currently handled by the sigaction handler. */ static struct sigaction volatile action_array[NSIG] /* = 0 */; /* Signal handler that is installed for signals. */ static void sigaction_handler (int sig) { handler_t handler; sigset_t mask; sigset_t oldmask; int saved_errno = errno; if (sig < 0 || NSIG <= sig || !action_array[sig].sa_handler) { /* Unexpected situation; be careful to avoid recursive abort. */ if (sig == SIGABRT) signal (SIGABRT, SIG_DFL); abort (); } /* Reinstall the signal handler when required; otherwise update the bookkeeping so that the user's handler may call sigaction and get accurate results. We know the signal isn't currently blocked, or we wouldn't be in its handler, therefore we know that we are not interrupting a sigaction() call. There is a race where any asynchronous instance of the same signal occurring before we reinstall the handler will trigger the default handler; oh well. */ handler = action_array[sig].sa_handler; if ((action_array[sig].sa_flags & SA_RESETHAND) == 0) signal (sig, sigaction_handler); else action_array[sig].sa_handler = NULL; /* Block appropriate signals. */ mask = action_array[sig].sa_mask; if ((action_array[sig].sa_flags & SA_NODEFER) == 0) sigaddset (&mask, sig); sigprocmask (SIG_BLOCK, &mask, &oldmask); /* Invoke the user's handler, then restore prior mask. */ errno = saved_errno; handler (sig); saved_errno = errno; sigprocmask (SIG_SETMASK, &oldmask, NULL); errno = saved_errno; } /* Change and/or query the action that will be taken on delivery of signal SIG. If not NULL, ACT describes the new behavior. If not NULL, OACT is set to the prior behavior. Return 0 on success, or set errno and return -1 on failure. */ int sigaction (int sig, const struct sigaction *restrict act, struct sigaction *restrict oact) { sigset_t mask; sigset_t oldmask; int saved_errno; if (sig < 0 || NSIG <= sig || sig == SIGKILL || sig == SIGSTOP || (act && act->sa_handler == SIG_ERR)) { errno = EINVAL; return -1; } #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif /* POSIX requires sigaction() to be async-signal-safe. In other words, if an asynchronous signal can occur while we are anywhere inside this function, the user's handler could then call sigaction() recursively and expect consistent results. We meet this rule by using sigprocmask to block all signals before modifying any data structure that could be read from a signal handler; this works since we know that the gnulib sigprocmask replacement does not try to use sigaction() from its handler. */ if (!act && !oact) return 0; sigfillset (&mask); sigprocmask (SIG_BLOCK, &mask, &oldmask); if (oact) { if (action_array[sig].sa_handler) *oact = action_array[sig]; else { /* Safe to change the handler at will here, since all signals are currently blocked. */ oact->sa_handler = signal (sig, SIG_DFL); if (oact->sa_handler == SIG_ERR) goto failure; signal (sig, oact->sa_handler); oact->sa_flags = SA_RESETHAND | SA_NODEFER; sigemptyset (&oact->sa_mask); } } if (act) { /* Safe to install the handler before updating action_array, since all signals are currently blocked. */ if (act->sa_handler == SIG_DFL || act->sa_handler == SIG_IGN) { if (signal (sig, act->sa_handler) == SIG_ERR) goto failure; action_array[sig].sa_handler = NULL; } else { if (signal (sig, sigaction_handler) == SIG_ERR) goto failure; action_array[sig] = *act; } } sigprocmask (SIG_SETMASK, &oldmask, NULL); return 0; failure: saved_errno = errno; sigprocmask (SIG_SETMASK, &oldmask, NULL); errno = saved_errno; return -1; } gsasl-1.8.1/gltests/btowc.c0000644000000000000000000000211013516251577012476 00000000000000/* Convert unibyte character to wide character. Copyright (C) 2008, 2010-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2008. 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 3 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, see . */ #include /* Specification. */ #include #include #include wint_t btowc (int c) { if (c != EOF) { char buf[1]; wchar_t wc; buf[0] = c; if (mbtowc (&wc, buf, 1) >= 0) return wc; } return WEOF; } gsasl-1.8.1/gltests/flexmember.h0000644000000000000000000000503613516251573013521 00000000000000/* Sizes of structs with flexible array members. Copyright 2016-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library 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 3 of the License, or (at your option) any later version. The GNU C Library 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 the GNU C Library; if not, see . Written by Paul Eggert. */ #include /* Nonzero multiple of alignment of TYPE, suitable for FLEXSIZEOF below. On older platforms without _Alignof, use a pessimistic bound that is safe in practice even if FLEXIBLE_ARRAY_MEMBER is 1. On newer platforms, use _Alignof to get a tighter bound. */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 # define FLEXALIGNOF(type) (sizeof (type) & ~ (sizeof (type) - 1)) #else # define FLEXALIGNOF(type) _Alignof (type) #endif /* Yield a properly aligned upper bound on the size of a struct of type TYPE with a flexible array member named MEMBER that is followed by N bytes of other data. The result is suitable as an argument to malloc. For example: struct s { int n; char d[FLEXIBLE_ARRAY_MEMBER]; }; struct s *p = malloc (FLEXSIZEOF (struct s, d, n * sizeof (char))); FLEXSIZEOF (TYPE, MEMBER, N) is not simply (sizeof (TYPE) + N), since FLEXIBLE_ARRAY_MEMBER may be 1 on pre-C11 platforms. Nor is it simply (offsetof (TYPE, MEMBER) + N), as that might yield a size that causes malloc to yield a pointer that is not properly aligned for TYPE; for example, if sizeof (int) == alignof (int) == 4, malloc (offsetof (struct s, d) + 3 * sizeof (char)) is equivalent to malloc (7) and might yield a pointer that is not a multiple of 4 (which means the pointer is not properly aligned for struct s), whereas malloc (FLEXSIZEOF (struct s, d, 3 * sizeof (char))) is equivalent to malloc (8) and must yield a pointer that is a multiple of 4. Yield a value less than N if and only if arithmetic overflow occurs. */ #define FLEXSIZEOF(type, member, n) \ ((offsetof (type, member) + FLEXALIGNOF (type) - 1 + (n)) \ & ~ (FLEXALIGNOF (type) - 1)) gsasl-1.8.1/gltests/test-rwlock1.c0000644000000000000000000001220213516251574013717 00000000000000/* Test of glthread_rwlock_rdlock function. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. Inspired by https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c by Intel Corporation. */ #include #include "glthread/lock.h" #include #include #include #include #include "glthread/thread.h" /* Verify that in a situation where - an rwlock is taken by a reader and has a writer waiting, - an additional reader requests the lock, - the waiting writer and the requesting reader threads have the same priority, the requesting reader thread gets blocked, so that at some point the waiting writer can acquire the lock. Without such a guarantee, when there a N readers and each of the readers spends more than 1/Nth of the time with the lock held, there is a high probability that the waiting writer will not get the lock in a given finite time, a phenomenon called "writer starvation". Without such a guarantee, applications have a hard time avoiding writer starvation. POSIX:2008 makes this requirement only for implementations that support TPS (Thread Priority Scheduling) and only for the scheduling policies SCHED_FIFO and SCHED_RR, see http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html but test verifies the guarantee regardless of TPS and regardless of scheduling policy. */ #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (fprintf (stderr, "Unexpected outcome %d\n", n), abort ()) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static gl_rwlock_t lock; static gl_thread_t reader1; static gl_thread_t writer; static gl_thread_t reader2; static gl_thread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static gl_lock_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (glthread_lock_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (glthread_lock_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9 omitted. */ /* Step 10: Launch a timer, to test whether the next call blocks. */ if (glthread_create (&timer, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (glthread_lock_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = glthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (glthread_lock_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (glthread_create (&reader2, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (glthread_lock_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (glthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = gl_thread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (glthread_rwlock_init (&lock)) UNEXPECTED (1); if (glthread_lock_init (&baton)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (glthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (glthread_create (&writer, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } gsasl-1.8.1/gltests/test-wcrtomb-w32.c0000644000000000000000000002166713516251601014431 00000000000000/* Test of conversion of wide character to multibyte character. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include #include #include #include #include "macros.h" #if defined _WIN32 && !defined __CYGWIN__ static int test_one_locale (const char *name, int codepage) { char buf[64]; size_t ret; # if 1 /* Portable code to set the locale. */ { char name_with_codepage[1024]; sprintf (name_with_codepage, "%s.%d", name, codepage); /* Set the locale. */ if (setlocale (LC_ALL, name_with_codepage) == NULL) return 77; } # else /* Hacky way to set a locale.codepage combination that setlocale() refuses to set. */ { /* Codepage of the current locale, set with setlocale(). Not necessarily the same as GetACP(). */ extern __declspec(dllimport) unsigned int __lc_codepage; /* Set the locale. */ if (setlocale (LC_ALL, name) == NULL) return 77; /* Clobber the codepage and MB_CUR_MAX, both set by setlocale(). */ __lc_codepage = codepage; switch (codepage) { case 1252: case 1256: MB_CUR_MAX = 1; break; case 932: case 950: case 936: MB_CUR_MAX = 2; break; case 54936: case 65001: MB_CUR_MAX = 4; break; } /* Test whether the codepage is really available. */ { mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, " ", 1, &state) == (size_t)(-1)) return 77; } } # endif /* Test NUL character. */ { buf[0] = 'x'; ret = wcrtomb (buf, 0, NULL); ASSERT (ret == 1); ASSERT (buf[0] == '\0'); } /* Test single bytes. */ { int c; for (c = 0; c < 0x100; c++) switch (c) { case '\t': case '\v': case '\f': case ' ': case '!': case '"': case '#': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case ';': case '<': case '=': case '>': case '?': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '[': case '\\': case ']': case '^': case '_': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case '{': case '|': case '}': case '~': /* c is in the ISO C "basic character set". */ ret = wcrtomb (buf, btowc (c), NULL); ASSERT (ret == 1); ASSERT (buf[0] == (char) c); break; } } /* Test special calling convention, passing a NULL pointer. */ { ret = wcrtomb (NULL, '\0', NULL); ASSERT (ret == 1); ret = wcrtomb (NULL, btowc ('x'), NULL); ASSERT (ret == 1); } switch (codepage) { case 1252: /* Locale encoding is CP1252, an extension of ISO-8859-1. */ { /* Convert "B\374\337er": "Büßer" */ memset (buf, 'x', 8); ret = wcrtomb (buf, 0x00FC, NULL); ASSERT (ret == 1); ASSERT (memcmp (buf, "\374", 1) == 0); ASSERT (buf[1] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x00DF, NULL); ASSERT (ret == 1); ASSERT (memcmp (buf, "\337", 1) == 0); ASSERT (buf[1] == 'x'); } return 0; case 1256: /* Locale encoding is CP1256, not the same as ISO-8859-6. */ { /* Convert "x\302\341\346y": "xآلوy" */ memset (buf, 'x', 8); ret = wcrtomb (buf, 0x0622, NULL); ASSERT (ret == 1); ASSERT (memcmp (buf, "\302", 1) == 0); ASSERT (buf[1] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x0644, NULL); ASSERT (ret == 1); ASSERT (memcmp (buf, "\341", 1) == 0); ASSERT (buf[1] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x0648, NULL); ASSERT (ret == 1); ASSERT (memcmp (buf, "\346", 1) == 0); ASSERT (buf[1] == 'x'); } return 0; case 932: /* Locale encoding is CP932, similar to Shift_JIS. */ { /* Convert "<\223\372\226\173\214\352>": "<日本語>" */ memset (buf, 'x', 8); ret = wcrtomb (buf, 0x65E5, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\223\372", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x672C, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\226\173", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x8A9E, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\214\352", 2) == 0); ASSERT (buf[2] == 'x'); } return 0; case 950: /* Locale encoding is CP950, similar to Big5. */ { /* Convert "<\244\351\245\273\273\171>": "<日本語>" */ memset (buf, 'x', 8); ret = wcrtomb (buf, 0x65E5, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\244\351", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x672C, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\245\273", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x8A9E, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\273\171", 2) == 0); ASSERT (buf[2] == 'x'); } return 0; case 936: /* Locale encoding is CP936 = GBK, an extension of GB2312. */ { /* Convert "<\310\325\261\276\325\132>": "<日本語>" */ memset (buf, 'x', 8); ret = wcrtomb (buf, 0x65E5, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\310\325", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x672C, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\261\276", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x8A9E, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\325\132", 2) == 0); ASSERT (buf[2] == 'x'); } return 0; case 54936: /* Locale encoding is CP54936 = GB18030. */ { /* Convert "B\250\271\201\060\211\070er": "Büßer" */ memset (buf, 'x', 8); ret = wcrtomb (buf, 0x00FC, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\250\271", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x00DF, NULL); ASSERT (ret == 4); ASSERT (memcmp (buf, "\201\060\211\070", 4) == 0); ASSERT (buf[4] == 'x'); } return 0; case 65001: /* Locale encoding is CP65001 = UTF-8. */ { /* Convert "B\303\274\303\237er": "Büßer" */ memset (buf, 'x', 8); ret = wcrtomb (buf, 0x00FC, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\303\274", 2) == 0); ASSERT (buf[2] == 'x'); memset (buf, 'x', 8); ret = wcrtomb (buf, 0x00DF, NULL); ASSERT (ret == 2); ASSERT (memcmp (buf, "\303\237", 2) == 0); ASSERT (buf[2] == 'x'); } return 0; default: return 1; } } int main (int argc, char *argv[]) { int codepage = atoi (argv[argc - 1]); int result; int i; result = 77; for (i = 1; i < argc - 1; i++) { int ret = test_one_locale (argv[i], codepage); if (ret != 77) result = ret; } if (result == 77) { fprintf (stderr, "Skipping test: found no locale with codepage %d\n", codepage); } return result; } #else int main (int argc, char *argv[]) { fputs ("Skipping test: not a native Windows system\n", stderr); return 77; } #endif gsasl-1.8.1/gltests/nanosleep.c0000644000000000000000000001777613516251573013370 00000000000000/* Provide a replacement for the POSIX nanosleep function. Copyright (C) 1999-2000, 2002, 2004-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Jim Meyering and Bruno Haible for the native Windows part */ #include #include #include "intprops.h" #include "sig-handler.h" #include "verify.h" #include #include #include #include #include #include #include #include enum { BILLION = 1000 * 1000 * 1000 }; #if HAVE_BUG_BIG_NANOSLEEP int nanosleep (const struct timespec *requested_delay, struct timespec *remaining_delay) # undef nanosleep { /* nanosleep mishandles large sleeps due to internal overflow problems. The worst known case of this is Linux 2.6.9 with glibc 2.3.4, which can't sleep more than 24.85 days (2^31 milliseconds). Similarly, cygwin 1.5.x, which can't sleep more than 49.7 days (2^32 milliseconds). Solve this by breaking the sleep up into smaller chunks. */ if (requested_delay->tv_nsec < 0 || BILLION <= requested_delay->tv_nsec) { errno = EINVAL; return -1; } { /* Verify that time_t is large enough. */ verify (TYPE_MAXIMUM (time_t) / 24 / 24 / 60 / 60); const time_t limit = 24 * 24 * 60 * 60; time_t seconds = requested_delay->tv_sec; struct timespec intermediate; intermediate.tv_nsec = requested_delay->tv_nsec; while (limit < seconds) { int result; intermediate.tv_sec = limit; result = nanosleep (&intermediate, remaining_delay); seconds -= limit; if (result) { if (remaining_delay) remaining_delay->tv_sec += seconds; return result; } intermediate.tv_nsec = 0; } intermediate.tv_sec = seconds; return nanosleep (&intermediate, remaining_delay); } } #elif defined _WIN32 && ! defined __CYGWIN__ /* Native Windows platforms. */ # define WIN32_LEAN_AND_MEAN # include /* The Windows API function Sleep() has a resolution of about 15 ms and takes at least 5 ms to execute. We use this function for longer time periods. Additionally, we use busy-looping over short time periods, to get a resolution of about 0.01 ms. In order to measure such short timespans, we use the QueryPerformanceCounter() function. */ int nanosleep (const struct timespec *requested_delay, struct timespec *remaining_delay) { static bool initialized; /* Number of performance counter increments per nanosecond, or zero if it could not be determined. */ static double ticks_per_nanosecond; if (requested_delay->tv_nsec < 0 || BILLION <= requested_delay->tv_nsec) { errno = EINVAL; return -1; } /* For requested delays of one second or more, 15ms resolution is sufficient. */ if (requested_delay->tv_sec == 0) { if (!initialized) { /* Initialize ticks_per_nanosecond. */ LARGE_INTEGER ticks_per_second; if (QueryPerformanceFrequency (&ticks_per_second)) ticks_per_nanosecond = (double) ticks_per_second.QuadPart / 1000000000.0; initialized = true; } if (ticks_per_nanosecond) { /* QueryPerformanceFrequency worked. We can use QueryPerformanceCounter. Use a combination of Sleep and busy-looping. */ /* Number of milliseconds to pass to the Sleep function. Since Sleep can take up to 8 ms less or 8 ms more than requested (or maybe more if the system is loaded), we subtract 10 ms. */ int sleep_millis = (int) requested_delay->tv_nsec / 1000000 - 10; /* Determine how many ticks to delay. */ LONGLONG wait_ticks = requested_delay->tv_nsec * ticks_per_nanosecond; /* Start. */ LARGE_INTEGER counter_before; if (QueryPerformanceCounter (&counter_before)) { /* Wait until the performance counter has reached this value. We don't need to worry about overflow, because the performance counter is reset at reboot, and with a frequency of 3.6E6 ticks per second 63 bits suffice for over 80000 years. */ LONGLONG wait_until = counter_before.QuadPart + wait_ticks; /* Use Sleep for the longest part. */ if (sleep_millis > 0) Sleep (sleep_millis); /* Busy-loop for the rest. */ for (;;) { LARGE_INTEGER counter_after; if (!QueryPerformanceCounter (&counter_after)) /* QueryPerformanceCounter failed, but succeeded earlier. Should not happen. */ break; if (counter_after.QuadPart >= wait_until) /* The requested time has elapsed. */ break; } goto done; } } } /* Implementation for long delays and as fallback. */ Sleep (requested_delay->tv_sec * 1000 + requested_delay->tv_nsec / 1000000); done: /* Sleep is not interruptible. So there is no remaining delay. */ if (remaining_delay != NULL) { remaining_delay->tv_sec = 0; remaining_delay->tv_nsec = 0; } return 0; } #else /* Unix platforms lacking nanosleep. */ /* Some systems (MSDOS) don't have SIGCONT. Using SIGTERM here turns the signal-handling code below into a no-op on such systems. */ # ifndef SIGCONT # define SIGCONT SIGTERM # endif static sig_atomic_t volatile suspended; /* Handle SIGCONT. */ static _GL_ASYNC_SAFE void sighandler (int sig) { suspended = 1; } /* Suspend execution for at least *TS_DELAY seconds. */ static int my_usleep (const struct timespec *ts_delay) { struct timeval tv_delay; tv_delay.tv_sec = ts_delay->tv_sec; tv_delay.tv_usec = (ts_delay->tv_nsec + 999) / 1000; if (tv_delay.tv_usec == 1000000) { if (tv_delay.tv_sec == TYPE_MAXIMUM (time_t)) tv_delay.tv_usec = 1000000 - 1; /* close enough */ else { tv_delay.tv_sec++; tv_delay.tv_usec = 0; } } return select (0, NULL, NULL, NULL, &tv_delay); } /* Suspend execution for at least *REQUESTED_DELAY seconds. The *REMAINING_DELAY part isn't implemented yet. */ int nanosleep (const struct timespec *requested_delay, struct timespec *remaining_delay) { static bool initialized; if (requested_delay->tv_nsec < 0 || BILLION <= requested_delay->tv_nsec) { errno = EINVAL; return -1; } /* set up sig handler */ if (! initialized) { struct sigaction oldact; sigaction (SIGCONT, NULL, &oldact); if (get_handler (&oldact) != SIG_IGN) { struct sigaction newact; newact.sa_handler = sighandler; sigemptyset (&newact.sa_mask); newact.sa_flags = 0; sigaction (SIGCONT, &newact, NULL); } initialized = true; } suspended = 0; if (my_usleep (requested_delay) == -1) { if (suspended) { /* Calculate time remaining. */ /* FIXME: the code in sleep doesn't use this, so there's no rush to implement it. */ errno = EINTR; } return -1; } /* FIXME: Restore sig handler? */ return 0; } #endif gsasl-1.8.1/gltests/test-ignore-value.c0000644000000000000000000000365213516251600014731 00000000000000/* Test the "ignore-value" module. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake. */ #include #include "ignore-value.h" #include #ifndef _GL_ATTRIBUTE_RETURN_CHECK # if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4) # define _GL_ATTRIBUTE_RETURN_CHECK # else # define _GL_ATTRIBUTE_RETURN_CHECK __attribute__((__warn_unused_result__)) # endif #endif struct s { int i; }; static char doChar (void) _GL_ATTRIBUTE_RETURN_CHECK; static int doInt (void) _GL_ATTRIBUTE_RETURN_CHECK; static off_t doOff (void) _GL_ATTRIBUTE_RETURN_CHECK; static void *doPtr (void) _GL_ATTRIBUTE_RETURN_CHECK; static struct s doStruct (void) _GL_ATTRIBUTE_RETURN_CHECK; static char doChar (void) { return 0; } static int doInt (void) { return 0; } static off_t doOff (void) { return 0; } static void * doPtr (void) { return NULL; } static struct s doStruct (void) { static struct s s1; return s1; } int main (void) { /* If this test can compile with -Werror and the same warnings as the rest of the project, then we are properly silencing warnings about ignored return values. */ ignore_value (doChar ()); ignore_value (doInt ()); ignore_value (doOff ()); ignore_value (doPtr ()); ignore_value (doStruct ()); return 0; } gsasl-1.8.1/gltests/test-sys_stat.c0000644000000000000000000001626613516251601014213 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check the existence of some macros. */ int a[] = { S_IFMT, #ifdef S_IFBLK /* missing on MSVC */ S_IFBLK, #endif S_IFCHR, S_IFDIR, S_IFIFO, S_IFREG, #ifdef S_IFLNK /* missing on native Windows and DJGPP */ S_IFLNK, #endif #ifdef S_IFSOCK /* missing on native Windows and DJGPP */ S_IFSOCK, #endif S_IRWXU, S_IRUSR, S_IWUSR, S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, S_ISBLK (S_IFREG), S_ISCHR (S_IFREG), S_ISDIR (S_IFREG), S_ISFIFO (S_IFREG), S_ISREG (S_IFREG), S_ISLNK (S_IFREG), S_ISSOCK (S_IFREG), S_ISDOOR (S_IFREG), S_ISMPB (S_IFREG), S_ISMPX (S_IFREG), S_ISNAM (S_IFREG), S_ISNWK (S_IFREG), S_ISPORT (S_IFREG), S_ISCTG (S_IFREG), S_ISOFD (S_IFREG), S_ISOFL (S_IFREG), S_ISWHT (S_IFREG) }; /* Sanity checks. */ verify (S_IRWXU == (S_IRUSR | S_IWUSR | S_IXUSR)); verify (S_IRWXG == (S_IRGRP | S_IWGRP | S_IXGRP)); verify (S_IRWXO == (S_IROTH | S_IWOTH | S_IXOTH)); #ifdef S_IFBLK verify (S_ISBLK (S_IFBLK)); #endif verify (!S_ISBLK (S_IFCHR)); verify (!S_ISBLK (S_IFDIR)); verify (!S_ISBLK (S_IFIFO)); verify (!S_ISBLK (S_IFREG)); #ifdef S_IFLNK verify (!S_ISBLK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISBLK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISCHR (S_IFBLK)); #endif verify (S_ISCHR (S_IFCHR)); verify (!S_ISCHR (S_IFDIR)); verify (!S_ISCHR (S_IFIFO)); verify (!S_ISCHR (S_IFREG)); #ifdef S_IFLNK verify (!S_ISCHR (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISCHR (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISDIR (S_IFBLK)); #endif verify (!S_ISDIR (S_IFCHR)); verify (S_ISDIR (S_IFDIR)); verify (!S_ISDIR (S_IFIFO)); verify (!S_ISDIR (S_IFREG)); #ifdef S_IFLNK verify (!S_ISDIR (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISDIR (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISFIFO (S_IFBLK)); #endif verify (!S_ISFIFO (S_IFCHR)); verify (!S_ISFIFO (S_IFDIR)); verify (S_ISFIFO (S_IFIFO)); verify (!S_ISFIFO (S_IFREG)); #ifdef S_IFLNK verify (!S_ISFIFO (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISFIFO (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISREG (S_IFBLK)); #endif verify (!S_ISREG (S_IFCHR)); verify (!S_ISREG (S_IFDIR)); verify (!S_ISREG (S_IFIFO)); verify (S_ISREG (S_IFREG)); #ifdef S_IFLNK verify (!S_ISREG (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISREG (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISLNK (S_IFBLK)); #endif verify (!S_ISLNK (S_IFCHR)); verify (!S_ISLNK (S_IFDIR)); verify (!S_ISLNK (S_IFIFO)); verify (!S_ISLNK (S_IFREG)); #ifdef S_IFLNK verify (S_ISLNK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISLNK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISSOCK (S_IFBLK)); #endif verify (!S_ISSOCK (S_IFCHR)); verify (!S_ISSOCK (S_IFDIR)); verify (!S_ISSOCK (S_IFIFO)); verify (!S_ISSOCK (S_IFREG)); #ifdef S_IFLNK verify (!S_ISSOCK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (S_ISSOCK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISDOOR (S_IFBLK)); #endif verify (!S_ISDOOR (S_IFCHR)); verify (!S_ISDOOR (S_IFDIR)); verify (!S_ISDOOR (S_IFIFO)); verify (!S_ISDOOR (S_IFREG)); #ifdef S_IFLNK verify (!S_ISDOOR (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISDOOR (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISMPB (S_IFBLK)); #endif verify (!S_ISMPB (S_IFCHR)); verify (!S_ISMPB (S_IFDIR)); verify (!S_ISMPB (S_IFIFO)); verify (!S_ISMPB (S_IFREG)); #ifdef S_IFLNK verify (!S_ISMPB (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISMPB (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISMPX (S_IFBLK)); #endif verify (!S_ISMPX (S_IFCHR)); verify (!S_ISMPX (S_IFDIR)); verify (!S_ISMPX (S_IFIFO)); verify (!S_ISMPX (S_IFREG)); #ifdef S_IFLNK verify (!S_ISMPX (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISMPX (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISNAM (S_IFBLK)); #endif verify (!S_ISNAM (S_IFCHR)); verify (!S_ISNAM (S_IFDIR)); verify (!S_ISNAM (S_IFIFO)); verify (!S_ISNAM (S_IFREG)); #ifdef S_IFLNK verify (!S_ISNAM (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISNAM (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISNWK (S_IFBLK)); #endif verify (!S_ISNWK (S_IFCHR)); verify (!S_ISNWK (S_IFDIR)); verify (!S_ISNWK (S_IFIFO)); verify (!S_ISNWK (S_IFREG)); #ifdef S_IFLNK verify (!S_ISNWK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISNWK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISPORT (S_IFBLK)); #endif verify (!S_ISPORT (S_IFCHR)); verify (!S_ISPORT (S_IFDIR)); verify (!S_ISPORT (S_IFIFO)); verify (!S_ISPORT (S_IFREG)); #ifdef S_IFLNK verify (!S_ISPORT (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISPORT (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISCTG (S_IFBLK)); #endif verify (!S_ISCTG (S_IFCHR)); verify (!S_ISCTG (S_IFDIR)); verify (!S_ISCTG (S_IFIFO)); verify (!S_ISCTG (S_IFREG)); #ifdef S_IFLNK verify (!S_ISCTG (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISCTG (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISOFD (S_IFBLK)); #endif verify (!S_ISOFD (S_IFCHR)); verify (!S_ISOFD (S_IFDIR)); verify (!S_ISOFD (S_IFIFO)); verify (!S_ISOFD (S_IFREG)); #ifdef S_IFLNK verify (!S_ISOFD (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISOFD (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISOFL (S_IFBLK)); #endif verify (!S_ISOFL (S_IFCHR)); verify (!S_ISOFL (S_IFDIR)); verify (!S_ISOFL (S_IFIFO)); verify (!S_ISOFL (S_IFREG)); #ifdef S_IFLNK verify (!S_ISOFL (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISOFL (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISWHT (S_IFBLK)); #endif verify (!S_ISWHT (S_IFCHR)); verify (!S_ISWHT (S_IFDIR)); verify (!S_ISWHT (S_IFIFO)); verify (!S_ISWHT (S_IFREG)); #ifdef S_IFLNK verify (!S_ISWHT (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISWHT (S_IFSOCK)); #endif /* POSIX 2008 requires traditional encoding of permission constants. */ verify (S_IRWXU == 00700); verify (S_IRUSR == 00400); verify (S_IWUSR == 00200); verify (S_IXUSR == 00100); verify (S_IRWXG == 00070); verify (S_IRGRP == 00040); verify (S_IWGRP == 00020); verify (S_IXGRP == 00010); verify (S_IRWXO == 00007); verify (S_IROTH == 00004); verify (S_IWOTH == 00002); verify (S_IXOTH == 00001); verify (S_ISUID == 04000); verify (S_ISGID == 02000); verify (S_ISVTX == 01000); #if ((0 <= UTIME_NOW && UTIME_NOW < 1000000000) \ || (0 <= UTIME_OMIT && UTIME_OMIT < 1000000000) \ || UTIME_NOW == UTIME_OMIT) invalid UTIME macros #endif /* Check the existence of some types. */ nlink_t t1; off_t t2; mode_t t3; struct timespec st; int main (void) { return 0; } gsasl-1.8.1/gltests/test-float.c0000644000000000000000000002162513516251600013441 00000000000000/* Test of substitute. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include "fpucw.h" #include "macros.h" /* Check that FLT_RADIX is a constant expression. */ int a[] = { FLT_RADIX }; #if FLT_RADIX == 2 /* Return 2^n. */ static float pow2f (int n) { int k = n; volatile float x = 1; volatile float y = 2; /* Invariant: 2^n == x * y^k. */ if (k < 0) { y = 0.5f; k = - k; } while (k > 0) { if (k != 2 * (k / 2)) { x = x * y; k = k - 1; } if (k == 0) break; y = y * y; k = k / 2; } /* Now k == 0, hence x == 2^n. */ return x; } /* Return 2^n. */ static double pow2d (int n) { int k = n; volatile double x = 1; volatile double y = 2; /* Invariant: 2^n == x * y^k. */ if (k < 0) { y = 0.5; k = - k; } while (k > 0) { if (k != 2 * (k / 2)) { x = x * y; k = k - 1; } if (k == 0) break; y = y * y; k = k / 2; } /* Now k == 0, hence x == 2^n. */ return x; } /* Return 2^n. */ static long double pow2l (int n) { int k = n; volatile long double x = 1; volatile long double y = 2; /* Invariant: 2^n == x * y^k. */ if (k < 0) { y = 0.5L; k = - k; } while (k > 0) { if (k != 2 * (k / 2)) { x = x * y; k = k - 1; } if (k == 0) break; y = y * y; k = k / 2; } /* Now k == 0, hence x == 2^n. */ return x; } /* ----------------------- Check macros for 'float' ----------------------- */ /* Check that the FLT_* macros expand to constant expressions. */ int fb[] = { FLT_MANT_DIG, FLT_MIN_EXP, FLT_MAX_EXP, FLT_DIG, FLT_MIN_10_EXP, FLT_MAX_10_EXP }; float fc[] = { FLT_EPSILON, FLT_MIN, FLT_MAX }; static void test_float (void) { /* Check that the value of FLT_MIN_EXP is well parenthesized. */ ASSERT ((FLT_MIN_EXP % 101111) == (FLT_MIN_EXP) % 101111); /* Check that the value of DBL_MIN_10_EXP is well parenthesized. */ ASSERT ((FLT_MIN_10_EXP % 101111) == (FLT_MIN_10_EXP) % 101111); /* Check that 'float' is as specified in IEEE 754. */ ASSERT (FLT_MANT_DIG == 24); ASSERT (FLT_MIN_EXP == -125); ASSERT (FLT_MAX_EXP == 128); /* Check the value of FLT_MIN_10_EXP. */ ASSERT (FLT_MIN_10_EXP == - (int) (- (FLT_MIN_EXP - 1) * 0.30103)); /* Check the value of FLT_DIG. */ ASSERT (FLT_DIG == (int) ((FLT_MANT_DIG - 1) * 0.30103)); /* Check the value of FLT_MIN_10_EXP. */ ASSERT (FLT_MIN_10_EXP == - (int) (- (FLT_MIN_EXP - 1) * 0.30103)); /* Check the value of FLT_MAX_10_EXP. */ ASSERT (FLT_MAX_10_EXP == (int) (FLT_MAX_EXP * 0.30103)); /* Check the value of FLT_MAX. */ { volatile float m = FLT_MAX; int n; ASSERT (m + m > m); for (n = 0; n <= 2 * FLT_MANT_DIG; n++) { volatile float pow2_n = pow2f (n); /* 2^n */ volatile float x = m + (m / pow2_n); if (x > m) ASSERT (x + x == x); else ASSERT (!(x + x == x)); } } /* Check the value of FLT_MIN. */ { volatile float m = FLT_MIN; volatile float x = pow2f (FLT_MIN_EXP - 1); ASSERT (m == x); } /* Check the value of FLT_EPSILON. */ { volatile float e = FLT_EPSILON; volatile float me; int n; me = 1.0f + e; ASSERT (me > 1.0f); ASSERT (me - 1.0f == e); for (n = 0; n <= 2 * FLT_MANT_DIG; n++) { volatile float half_n = pow2f (- n); /* 2^-n */ volatile float x = me - half_n; if (x < me) ASSERT (x <= 1.0f); } } } /* ----------------------- Check macros for 'double' ----------------------- */ /* Check that the DBL_* macros expand to constant expressions. */ int db[] = { DBL_MANT_DIG, DBL_MIN_EXP, DBL_MAX_EXP, DBL_DIG, DBL_MIN_10_EXP, DBL_MAX_10_EXP }; double dc[] = { DBL_EPSILON, DBL_MIN, DBL_MAX }; static void test_double (void) { /* Check that the value of DBL_MIN_EXP is well parenthesized. */ ASSERT ((DBL_MIN_EXP % 101111) == (DBL_MIN_EXP) % 101111); /* Check that the value of DBL_MIN_10_EXP is well parenthesized. */ ASSERT ((DBL_MIN_10_EXP % 101111) == (DBL_MIN_10_EXP) % 101111); /* Check that 'double' is as specified in IEEE 754. */ ASSERT (DBL_MANT_DIG == 53); ASSERT (DBL_MIN_EXP == -1021); ASSERT (DBL_MAX_EXP == 1024); /* Check the value of DBL_MIN_10_EXP. */ ASSERT (DBL_MIN_10_EXP == - (int) (- (DBL_MIN_EXP - 1) * 0.30103)); /* Check the value of DBL_DIG. */ ASSERT (DBL_DIG == (int) ((DBL_MANT_DIG - 1) * 0.30103)); /* Check the value of DBL_MIN_10_EXP. */ ASSERT (DBL_MIN_10_EXP == - (int) (- (DBL_MIN_EXP - 1) * 0.30103)); /* Check the value of DBL_MAX_10_EXP. */ ASSERT (DBL_MAX_10_EXP == (int) (DBL_MAX_EXP * 0.30103)); /* Check the value of DBL_MAX. */ { volatile double m = DBL_MAX; int n; ASSERT (m + m > m); for (n = 0; n <= 2 * DBL_MANT_DIG; n++) { volatile double pow2_n = pow2d (n); /* 2^n */ volatile double x = m + (m / pow2_n); if (x > m) ASSERT (x + x == x); else ASSERT (!(x + x == x)); } } /* Check the value of DBL_MIN. */ { volatile double m = DBL_MIN; volatile double x = pow2d (DBL_MIN_EXP - 1); ASSERT (m == x); } /* Check the value of DBL_EPSILON. */ { volatile double e = DBL_EPSILON; volatile double me; int n; me = 1.0 + e; ASSERT (me > 1.0); ASSERT (me - 1.0 == e); for (n = 0; n <= 2 * DBL_MANT_DIG; n++) { volatile double half_n = pow2d (- n); /* 2^-n */ volatile double x = me - half_n; if (x < me) ASSERT (x <= 1.0); } } } /* -------------------- Check macros for 'long double' -------------------- */ /* Check that the LDBL_* macros expand to constant expressions. */ int lb[] = { LDBL_MANT_DIG, LDBL_MIN_EXP, LDBL_MAX_EXP, LDBL_DIG, LDBL_MIN_10_EXP, LDBL_MAX_10_EXP }; long double lc1 = LDBL_EPSILON; long double lc2 = LDBL_MIN; #if 0 /* LDBL_MAX is not a constant expression on some platforms. */ long double lc3 = LDBL_MAX; #endif static void test_long_double (void) { /* Check that the value of LDBL_MIN_EXP is well parenthesized. */ ASSERT ((LDBL_MIN_EXP % 101111) == (LDBL_MIN_EXP) % 101111); /* Check that the value of LDBL_MIN_10_EXP is well parenthesized. */ ASSERT ((LDBL_MIN_10_EXP % 101111) == (LDBL_MIN_10_EXP) % 101111); /* Check that 'long double' is at least as wide as 'double'. */ ASSERT (LDBL_MANT_DIG >= DBL_MANT_DIG); ASSERT (LDBL_MIN_EXP - LDBL_MANT_DIG <= DBL_MIN_EXP - DBL_MANT_DIG); ASSERT (LDBL_MAX_EXP >= DBL_MAX_EXP); /* Check the value of LDBL_DIG. */ ASSERT (LDBL_DIG == (int)((LDBL_MANT_DIG - 1) * 0.30103)); /* Check the value of LDBL_MIN_10_EXP. */ ASSERT (LDBL_MIN_10_EXP == - (int) (- (LDBL_MIN_EXP - 1) * 0.30103)); /* Check the value of LDBL_MAX_10_EXP. */ ASSERT (LDBL_MAX_10_EXP == (int) (LDBL_MAX_EXP * 0.30103)); /* Check the value of LDBL_MAX. */ { volatile long double m = LDBL_MAX; int n; ASSERT (m + m > m); for (n = 0; n <= 2 * LDBL_MANT_DIG; n++) { volatile long double pow2_n = pow2l (n); /* 2^n */ volatile long double x = m + (m / pow2_n); if (x > m) ASSERT (x + x == x); else ASSERT (!(x + x == x)); } } /* Check the value of LDBL_MIN. */ { volatile long double m = LDBL_MIN; volatile long double x = pow2l (LDBL_MIN_EXP - 1); ASSERT (m == x); } /* Check the value of LDBL_EPSILON. */ { volatile long double e = LDBL_EPSILON; volatile long double me; int n; me = 1.0L + e; ASSERT (me > 1.0L); ASSERT (me - 1.0L == e); for (n = 0; n <= 2 * LDBL_MANT_DIG; n++) { volatile long double half_n = pow2l (- n); /* 2^-n */ volatile long double x = me - half_n; if (x < me) ASSERT (x <= 1.0L); } } } int main () { test_float (); test_double (); { DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); test_long_double (); END_LONG_DOUBLE_ROUNDING (); } return 0; } #else int main () { fprintf (stderr, "Skipping test: FLT_RADIX is not 2.\n"); return 77; } #endif gsasl-1.8.1/gltests/test-fseeko.c0000644000000000000000000000457513516251600013615 00000000000000/* Test of fseeko() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include #include "signature.h" SIGNATURE_CHECK (fseeko, int, (FILE *, off_t, int)); #include "macros.h" #ifndef FUNC_UNGETC_BROKEN # define FUNC_UNGETC_BROKEN 0 #endif int main (int argc, char **argv _GL_UNUSED) { /* Assume stdin is non-empty, seekable, and starts with '#!/bin/sh' iff argc > 1. */ int expected = argc > 1 ? 0 : -1; /* Exit with success only if fseek/fseeko agree. */ int r1 = fseeko (stdin, 0, SEEK_CUR); int r2 = fseek (stdin, 0, SEEK_CUR); ASSERT (r1 == r2 && r1 == expected); if (argc > 1) { /* Test that fseek discards previously read ungetc data. */ int ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ungetc (ch, stdin) == ch); ASSERT (fseeko (stdin, 2, SEEK_SET) == 0); ch = fgetc (stdin); ASSERT (ch == '/'); if (2 < argc) { if (FUNC_UNGETC_BROKEN) { fputs ("Skipping test: ungetc cannot handle arbitrary bytes\n", stderr); return 77; } /* Test that fseek discards random ungetc data. */ ASSERT (ungetc (ch ^ 0xff, stdin) == (ch ^ 0xff)); } ASSERT (fseeko (stdin, 0, SEEK_END) == 0); ASSERT (fgetc (stdin) == EOF); /* Test that fseek resets end-of-file marker. */ ASSERT (feof (stdin)); ASSERT (fseeko (stdin, 0, SEEK_END) == 0); ASSERT (!feof (stdin)); } return 0; } gsasl-1.8.1/gltests/test-arpa_inet.c0000644000000000000000000000156413516251600014276 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include int main (void) { return 0; } gsasl-1.8.1/gltests/stat-w32.c0000644000000000000000000004224213516251574012753 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Ensure that defines FILE_ID_INFO. */ #undef _WIN32_WINNT #define _WIN32_WINNT _WIN32_WINNT_WIN8 #include #include #include #include #include #include #include /* Specification. */ #include "stat-w32.h" #include "pathmax.h" #include "verify.h" /* Avoid warnings from gcc -Wcast-function-type. */ #define GetProcAddress \ (void *) GetProcAddress #if _GL_WINDOWS_STAT_INODES == 2 /* GetFileInformationByHandleEx was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFileInformationByHandleExFuncType) (HANDLE hFile, FILE_INFO_BY_HANDLE_CLASS fiClass, LPVOID lpBuffer, DWORD dwBufferSize); static GetFileInformationByHandleExFuncType GetFileInformationByHandleExFunc = NULL; #endif /* GetFinalPathNameByHandle was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFinalPathNameByHandleFuncType) (HANDLE hFile, LPTSTR lpFilePath, DWORD lenFilePath, DWORD dwFlags); static GetFinalPathNameByHandleFuncType GetFinalPathNameByHandleFunc = NULL; static BOOL initialized = FALSE; static void initialize (void) { HMODULE kernel32 = LoadLibrary ("kernel32.dll"); if (kernel32 != NULL) { #if _GL_WINDOWS_STAT_INODES == 2 GetFileInformationByHandleExFunc = (GetFileInformationByHandleExFuncType) GetProcAddress (kernel32, "GetFileInformationByHandleEx"); #endif GetFinalPathNameByHandleFunc = (GetFinalPathNameByHandleFuncType) GetProcAddress (kernel32, "GetFinalPathNameByHandleA"); } initialized = TRUE; } /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft) { struct timespec result; /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) { result.tv_sec = 0; result.tv_nsec = 0; } else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; result.tv_sec = since_1970 / (unsigned long long) 10000000; result.tv_nsec = (unsigned long) (since_1970 % (unsigned long long) 10000000) * 100; } return result; } #else time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft) { /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) return 0; else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; return since_1970 / (unsigned long long) 10000000; } } #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf) { /* GetFileType */ DWORD type = GetFileType (h); if (type == FILE_TYPE_DISK) { if (!initialized) initialize (); /* st_mode can be determined through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ BY_HANDLE_FILE_INFORMATION info; if (! GetFileInformationByHandle (h, &info)) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { errno = EOVERFLOW; return -1; } #if _GL_WINDOWS_STAT_INODES /* st_ino can be determined through GetFileInformationByHandle as 64 bits, or through GetFileInformationByHandleEx with argument FileIdInfo as 128 bits. The latter requires -D_WIN32_WINNT=_WIN32_WINNT_WIN8 or higher. */ /* Experiments show that GetFileInformationByHandleEx does not provide much more information than GetFileInformationByHandle: * The dwVolumeSerialNumber from GetFileInformationByHandle is equal to the low 32 bits of the 64-bit VolumeSerialNumber from GetFileInformationByHandleEx, and is apparently sufficient for identifying the device. * The nFileIndex from GetFileInformationByHandle is equal to the low 64 bits of the 128-bit FileId from GetFileInformationByHandleEx, and the high 64 bits of this 128-bit FileId are zero. * On a FAT file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_PARAMETER, whereas GetFileInformationByHandle succeeds. * On a CIFS/SMB file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_LEVEL, whereas GetFileInformationByHandle succeeds. */ # if _GL_WINDOWS_STAT_INODES == 2 if (GetFileInformationByHandleExFunc != NULL) { FILE_ID_INFO id; if (GetFileInformationByHandleExFunc (h, FileIdInfo, &id, sizeof (id))) { buf->st_dev = id.VolumeSerialNumber; verify (sizeof (ino_t) == sizeof (id.FileId)); memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t)); goto ino_done; } else { switch (GetLastError ()) { case ERROR_INVALID_PARAMETER: /* older Windows version, or FAT */ case ERROR_INVALID_LEVEL: /* CIFS/SMB file system */ goto fallback; default: goto failed; } } } fallback: ; /* Fallback for older Windows versions. */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino._gl_ino[0] = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; buf->st_ino._gl_ino[1] = 0; ino_done: ; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; # endif #else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; #endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. If the file name is already known, use it. Otherwise, for non-empty files, it can be determined through GetFinalPathNameByHandle or through GetFileInformationByHandleEx with argument FileNameInfo Both require -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { char fpath[PATH_MAX]; if (path != NULL || (GetFinalPathNameByHandleFunc != NULL && GetFinalPathNameByHandleFunc (h, fpath, sizeof (fpath), VOLUME_NAME_NONE) < sizeof (fpath) && (path = fpath, 1))) { const char *last_dot = NULL; const char *p; for (p = path; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } else /* Cannot determine file name. Pretend that it is executable. */ mode |= S_IEXEC_UGO; } } buf->st_mode = mode; /* st_nlink can be determined through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ buf->st_nlink = (info.nNumberOfLinks > SHRT_MAX ? SHRT_MAX : info.nNumberOfLinks); /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size can be determined through GetFileSizeEx or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime can be determined through GetFileTime or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); #else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); #endif return 0; } else if (type == FILE_TYPE_CHAR || type == FILE_TYPE_PIPE) { buf->st_dev = 0; #if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; #else buf->st_ino = 0; #endif buf->st_mode = (type == FILE_TYPE_PIPE ? _S_IFIFO : _S_IFCHR); buf->st_nlink = 1; buf->st_uid = 0; buf->st_gid = 0; buf->st_rdev = 0; if (type == FILE_TYPE_PIPE) { /* PeekNamedPipe */ DWORD bytes_available; if (PeekNamedPipe (h, NULL, 0, NULL, &bytes_available, NULL)) buf->st_size = bytes_available; else buf->st_size = 0; } else buf->st_size = 0; #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim.tv_sec = 0; buf->st_atim.tv_nsec = 0; buf->st_mtim.tv_sec = 0; buf->st_mtim.tv_nsec = 0; buf->st_ctim.tv_sec = 0; buf->st_ctim.tv_nsec = 0; #else buf->st_atime = 0; buf->st_mtime = 0; buf->st_ctime = 0; #endif return 0; } else { errno = ENOENT; return -1; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "_gl_fstat_by_handle error 0x%x\n", (unsigned int) error); #endif switch (error) { case ERROR_ACCESS_DENIED: case ERROR_SHARING_VIOLATION: errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; default: errno = EINVAL; break; } return -1; } } #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif gsasl-1.8.1/gltests/sched.in.h0000644000000000000000000000512713516251573013067 00000000000000/* A GNU-like . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _@GUARD_PREFIX@_SCHED_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_SCHED_H@ # if @HAVE_SYS_CDEFS_H@ # include # endif # @INCLUDE_NEXT@ @NEXT_SCHED_H@ #endif #ifndef _@GUARD_PREFIX@_SCHED_H #define _@GUARD_PREFIX@_SCHED_H /* Get pid_t. This is needed on glibc 2.11 (see glibc bug ) and Mac OS X 10.5. */ #include #ifdef __KLIBC__ /* On OS/2 kLIBC, struct sched_param is in spawn.h. */ # include #endif #ifdef __VMS /* On OpenVMS, struct sched_param is in . */ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !@HAVE_STRUCT_SCHED_PARAM@ # if !GNULIB_defined_struct_sched_param struct sched_param { int sched_priority; }; # define GNULIB_defined_struct_sched_param 1 # endif #endif #if !(defined SCHED_FIFO && defined SCHED_RR && defined SCHED_OTHER) # define SCHED_FIFO 1 # define SCHED_RR 2 # define SCHED_OTHER 0 #endif #if @GNULIB_SCHED_YIELD@ # if @REPLACE_SCHED_YIELD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sched_yield # define sched_yield rpl_sched_yield # endif _GL_FUNCDECL_RPL (sched_yield, int, (void)); _GL_CXXALIAS_RPL (sched_yield, int, (void)); # else # if !@HAVE_SCHED_YIELD@ _GL_FUNCDECL_SYS (sched_yield, int, (void)); # endif _GL_CXXALIAS_SYS (sched_yield, int, (void)); # endif _GL_CXXALIASWARN (sched_yield); #elif defined GNULIB_POSIXCHECK # undef sched_yield # if HAVE_RAW_DECL_SCHED_YIELD _GL_WARN_ON_USE (sched_yield, "sched_yield is not portable - " "use gnulib module sched_yield for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SCHED_H */ #endif /* _@GUARD_PREFIX@_SCHED_H */ gsasl-1.8.1/gltests/test-setlocale2.c0000644000000000000000000000335013516251601014365 00000000000000/* Test of setting the current locale. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include #include #include int main () { /* Try to set the locale by implicitly looking at the LC_ALL environment variable. */ if (setlocale (LC_ALL, "") != NULL) /* It was successful. Check whether LC_CTYPE is non-trivial. */ if (strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) { fprintf (stderr, "setlocale did not fail for implicit %s\n", getenv ("LC_ALL")); return 1; } /* Reset the locale. */ if (setlocale (LC_ALL, "C") == NULL) return 1; /* Try to set the locale by explicitly looking at the LC_ALL environment variable. */ if (setlocale (LC_ALL, getenv ("LC_ALL")) != NULL) /* It was successful. Check whether LC_CTYPE is non-trivial. */ if (strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) { fprintf (stderr, "setlocale did not fail for explicit %s\n", getenv ("LC_ALL")); return 1; } return 0; } gsasl-1.8.1/gltests/test-verify-try.c0000644000000000000000000000162013516251574014457 00000000000000/* Test the "verify" module. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* This is a separate source file, so that the execution of test-verify.sh does not interfere with the building of the 'test-verify' program. */ #include "test-verify.c" gsasl-1.8.1/gltests/putenv.c0000644000000000000000000001170613516251600012677 00000000000000/* Copyright (C) 1991, 1994, 1997-1998, 2000, 2003-2019 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. 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 3 of the License, or 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, see . */ #include /* Specification. */ #include #include /* Include errno.h *after* sys/types.h to work around header problems on AIX 3.2.5. */ #include #ifndef __set_errno # define __set_errno(ev) ((errno) = (ev)) #endif #include #include #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include #endif #if _LIBC # if HAVE_GNU_LD # define environ __environ # else extern char **environ; # endif #endif #if _LIBC /* This lock protects against simultaneous modifications of 'environ'. */ # include __libc_lock_define_initialized (static, envlock) # define LOCK __libc_lock_lock (envlock) # define UNLOCK __libc_lock_unlock (envlock) #else # define LOCK # define UNLOCK #endif static int _unsetenv (const char *name) { size_t len; #if !HAVE_DECL__PUTENV char **ep; #endif if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) { __set_errno (EINVAL); return -1; } len = strlen (name); #if HAVE_DECL__PUTENV { int putenv_result, putenv_errno; char *name_ = malloc (len + 2); memcpy (name_, name, len); name_[len] = '='; name_[len + 1] = 0; putenv_result = _putenv (name_); putenv_errno = errno; free (name_); __set_errno (putenv_errno); return putenv_result; } #else LOCK; ep = environ; while (*ep != NULL) if (!strncmp (*ep, name, len) && (*ep)[len] == '=') { /* Found it. Remove this pointer by moving later ones back. */ char **dp = ep; do dp[0] = dp[1]; while (*dp++); /* Continue the loop in case NAME appears again. */ } else ++ep; UNLOCK; return 0; #endif } /* Put STRING, which is of the form "NAME=VALUE", in the environment. If STRING contains no '=', then remove STRING from the environment. */ int putenv (char *string) { const char *name_end = strchr (string, '='); char **ep; if (name_end == NULL) { /* Remove the variable from the environment. */ return _unsetenv (string); } #if HAVE_DECL__PUTENV /* Rely on _putenv to allocate the new environment. If other parts of the application use _putenv, the !HAVE_DECL__PUTENV code would fight over who owns the environ vector, causing a crash. */ if (name_end[1]) return _putenv (string); else { /* _putenv ("NAME=") unsets NAME, so invoke _putenv ("NAME= ") to allocate the environ vector and then replace the new entry with "NAME=". */ int putenv_result, putenv_errno; char *name_x = malloc (name_end - string + sizeof "= "); if (!name_x) return -1; memcpy (name_x, string, name_end - string + 1); name_x[name_end - string + 1] = ' '; name_x[name_end - string + 2] = 0; putenv_result = _putenv (name_x); putenv_errno = errno; for (ep = environ; *ep; ep++) if (strcmp (*ep, name_x) == 0) { *ep = string; break; } # if defined _WIN32 && ! defined __CYGWIN__ if (putenv_result == 0) { /* _putenv propagated "NAME= " into the subprocess environment; fix that by calling SetEnvironmentVariable directly. */ name_x[name_end - string] = 0; putenv_result = SetEnvironmentVariable (name_x, "") ? 0 : -1; putenv_errno = ENOMEM; /* ENOMEM is the only way to fail. */ } # endif free (name_x); __set_errno (putenv_errno); return putenv_result; } #else for (ep = environ; *ep; ep++) if (strncmp (*ep, string, name_end - string) == 0 && (*ep)[name_end - string] == '=') break; if (*ep) *ep = string; else { static char **last_environ = NULL; size_t size = ep - environ; char **new_environ = malloc ((size + 2) * sizeof *new_environ); if (! new_environ) return -1; new_environ[0] = string; memcpy (new_environ + 1, environ, (size + 1) * sizeof *new_environ); free (last_environ); last_environ = new_environ; environ = new_environ; } return 0; #endif } gsasl-1.8.1/gltests/unistr/0000755000000000000000000000000013521017734012615 500000000000000gsasl-1.8.1/gltests/unistr/test-u8-mbtoucr.c0000644000000000000000000001057713516251601015672 00000000000000/* Test of u8_mbtoucr() function. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2010. */ #include #include "unistr.h" #include "macros.h" int main () { ucs4_t uc; int ret; /* Test NUL unit input. */ { static const uint8_t input[] = ""; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 1); ASSERT (ret == 1); ASSERT (uc == 0); } /* Test ISO 646 unit input. */ { ucs4_t c; uint8_t buf[1]; for (c = 0; c < 0x80; c++) { buf[0] = c; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, buf, 1); ASSERT (ret == 1); ASSERT (uc == c); } } /* Test 2-byte character input. */ { static const uint8_t input[] = { 0xC3, 0x97 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 2); ASSERT (ret == 2); ASSERT (uc == 0x00D7); } /* Test 3-byte character input. */ { static const uint8_t input[] = { 0xE2, 0x82, 0xAC }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 3); ASSERT (ret == 3); ASSERT (uc == 0x20AC); } /* Test 4-byte character input. */ { static const uint8_t input[] = { 0xF4, 0x8F, 0xBF, 0xBD }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 4); ASSERT (ret == 4); ASSERT (uc == 0x10FFFD); } /* Test incomplete/invalid 1-byte input. */ { static const uint8_t input[] = { 0xC1 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 1); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xC3 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 1); ASSERT (ret == -2); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xE2 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 1); ASSERT (ret == -2); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xF4 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 1); ASSERT (ret == -2); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xFE }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 1); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } /* Test incomplete/invalid 2-byte input. */ { static const uint8_t input[] = { 0xE0, 0x9F }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 2); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xE2, 0x82 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 2); ASSERT (ret == -2); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xE2, 0xD0 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 2); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xF0, 0x8F }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 2); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xF3, 0x8F }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 2); ASSERT (ret == -2); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xF3, 0xD0 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 2); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } /* Test incomplete/invalid 3-byte input. */ { static const uint8_t input[] = { 0xF3, 0x8F, 0xBF }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 3); ASSERT (ret == -2); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xF3, 0xD0, 0xBF }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 3); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } { static const uint8_t input[] = { 0xF3, 0x8F, 0xD0 }; uc = 0xBADFACE; ret = u8_mbtoucr (&uc, input, 3); ASSERT (ret == -1); ASSERT (uc == 0xFFFD); } return 0; } gsasl-1.8.1/gltests/unistr/test-u8-uctomb.c0000644000000000000000000000740313516251601015502 00000000000000/* Test of u8_uctomb() function. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2010. */ #include #include "unistr.h" #include "macros.h" #define MAGIC 0xBA int main () { /* Test ISO 646 character, in particular the NUL character. */ { ucs4_t uc; for (uc = 0; uc < 0x80; uc++) { uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; int ret; ret = u8_uctomb (buf, uc, 0); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ret = u8_uctomb (buf, uc, 1); ASSERT (ret == 1); ASSERT (buf[0] == uc); ASSERT (buf[1] == MAGIC); } } /* Test 2-byte character. */ { ucs4_t uc = 0x00D7; uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; int ret; ret = u8_uctomb (buf, uc, 0); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ret = u8_uctomb (buf, uc, 1); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ret = u8_uctomb (buf, uc, 2); ASSERT (ret == 2); ASSERT (buf[0] == 0xC3); ASSERT (buf[1] == 0x97); ASSERT (buf[2] == MAGIC); } /* Test 3-byte character. */ { ucs4_t uc = 0x20AC; uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; int ret; ret = u8_uctomb (buf, uc, 0); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ret = u8_uctomb (buf, uc, 1); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ret = u8_uctomb (buf, uc, 2); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ASSERT (buf[1] == MAGIC); ret = u8_uctomb (buf, uc, 3); ASSERT (ret == 3); ASSERT (buf[0] == 0xE2); ASSERT (buf[1] == 0x82); ASSERT (buf[2] == 0xAC); ASSERT (buf[3] == MAGIC); } /* Test 4-byte character. */ { ucs4_t uc = 0x10FFFD; uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; int ret; ret = u8_uctomb (buf, uc, 0); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ret = u8_uctomb (buf, uc, 1); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ret = u8_uctomb (buf, uc, 2); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ASSERT (buf[1] == MAGIC); ret = u8_uctomb (buf, uc, 3); ASSERT (ret == -2); ASSERT (buf[0] == MAGIC); ASSERT (buf[1] == MAGIC); ASSERT (buf[2] == MAGIC); ret = u8_uctomb (buf, uc, 4); ASSERT (ret == 4); ASSERT (buf[0] == 0xF4); ASSERT (buf[1] == 0x8F); ASSERT (buf[2] == 0xBF); ASSERT (buf[3] == 0xBD); ASSERT (buf[4] == MAGIC); } /* Test invalid characters. */ { ucs4_t invalid[] = { 0x110000, 0xD800, 0xDBFF, 0xDC00, 0xDFFF }; uint8_t buf[5] = { MAGIC, MAGIC, MAGIC, MAGIC, MAGIC }; size_t i; for (i = 0; i < SIZEOF (invalid); i++) { ucs4_t uc = invalid[i]; int n; for (n = 0; n <= 4; n++) { int ret = u8_uctomb (buf, uc, n); ASSERT (ret == -1); ASSERT (buf[0] == MAGIC); ASSERT (buf[1] == MAGIC); ASSERT (buf[2] == MAGIC); ASSERT (buf[3] == MAGIC); ASSERT (buf[4] == MAGIC); } } } return 0; } gsasl-1.8.1/gltests/c++defs.h0000644000000000000000000003413013516251573012602 00000000000000/* C++ compatible function declaration macros. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_CXXDEFS_H #define _GL_CXXDEFS_H /* Begin/end the GNULIB_NAMESPACE namespace. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { # define _GL_END_NAMESPACE } #else # define _GL_BEGIN_NAMESPACE # define _GL_END_NAMESPACE #endif /* The three most frequent use cases of these macros are: * For providing a substitute for a function that is missing on some platforms, but is declared and works fine on the platforms on which it exists: #if @GNULIB_FOO@ # if !@HAVE_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on all platforms, but is broken/insufficient and needs to be replaced on some platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on some platforms but is broken/insufficient and needs to be replaced on some of them and is additionally either missing or undeclared on some other platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif */ /* _GL_EXTERN_C declaration; performs the declaration with C linkage. */ #if defined __cplusplus # define _GL_EXTERN_C extern "C" #else # define _GL_EXTERN_C extern #endif /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); declares a replacement function, named rpl_func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype rpl_func parameters_and_attributes /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); declares the system function, named func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype func parameters_and_attributes /* _GL_CXXALIAS_RPL (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to rpl_func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); Wrapping rpl_func in an object with an inline conversion operator avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is actually used in the program. */ #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::rpl_func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); except that the C function rpl_func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::rpl_func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to the system provided function func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); Wrapping func in an object with an inline conversion operator avoids a reference to func unless GNULIB_NAMESPACE::func is actually used in the program. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function is picked among a set of overloaded functions, namely the one with rettype2 and parameters2. Two consecutive casts are used to silence the "cannot find a match" and "invalid conversion" errors that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE /* The outer cast must be a reinterpret_cast. The inner cast: When the function is defined as a set of overloaded functions, it works as a static_cast<>, choosing the designated variant. When the function is defined as a single variant, it works as a reinterpret_cast<>. The parenthesized cast syntax works both ways. */ # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast((rettype2 (*) parameters2)(::func)); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN (func); causes a warning to be emitted when ::func is used but not when GNULIB_NAMESPACE::func is used. func must be defined without overloaded variants. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN(func) \ _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) # define _GL_CXXALIASWARN_1(func,namespace) \ _GL_CXXALIASWARN_2 (func, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_WARN_ON_USE (func, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN_2(func,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN(func) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); causes a warning to be emitted when the given overloaded variant of ::func is used but not when GNULIB_NAMESPACE::func is used. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ GNULIB_NAMESPACE) # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif #endif /* _GL_CXXDEFS_H */ gsasl-1.8.1/gltests/test-thread_create.c0000644000000000000000000000405213516251601015122 00000000000000/* Test of gl_thread_create () macro. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include "glthread/thread.h" #include #include #include "macros.h" static gl_thread_t main_thread_before; static gl_thread_t main_thread_after; static gl_thread_t worker_thread; static int dummy; static volatile int work_done; static void * worker_thread_func (void *arg) { work_done = 1; return &dummy; } int main () { main_thread_before = gl_thread_self (); if (glthread_create (&worker_thread, worker_thread_func, NULL) == 0) { void *ret; /* Check that gl_thread_self () has the same value before than after the first call to gl_thread_create (). */ main_thread_after = gl_thread_self (); ASSERT (memcmp (&main_thread_before, &main_thread_after, sizeof (gl_thread_t)) == 0); gl_thread_join (worker_thread, &ret); /* Check the return value of the thread. */ ASSERT (ret == &dummy); /* Check that worker_thread_func () has finished executing. */ ASSERT (work_done); return 0; } else { #if USE_POSIX_THREADS || USE_WINDOWS_THREADS fputs ("glthread_create failed\n", stderr); return 1; #else fputs ("Skipping test: multithreading not enabled\n", stderr); return 77; #endif } } gsasl-1.8.1/gltests/test-lstat.h0000644000000000000000000000765113516251600013473 00000000000000/* Test of lstat() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson, 2008; and Eric Blake, 2009. */ /* This file is designed to test both lstat(n,buf) and fstatat(AT_FDCWD,n,buf,AT_SYMLINK_NOFOLLOW). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static int test_lstat_func (int (*func) (char const *, struct stat *), bool print) { struct stat st1; struct stat st2; /* Test for common directories. */ ASSERT (func (".", &st1) == 0); ASSERT (func ("./", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); ASSERT (func ("/", &st1) == 0); ASSERT (func ("///", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); ASSERT (func ("..", &st1) == 0); ASSERT (S_ISDIR (st1.st_mode)); /* Test for error conditions. */ errno = 0; ASSERT (func ("", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch/", &st1) == -1); ASSERT (errno == ENOENT); ASSERT (close (creat (BASE "file", 0600)) == 0); ASSERT (func (BASE "file", &st1) == 0); ASSERT (S_ISREG (st1.st_mode)); errno = 0; ASSERT (func (BASE "file/", &st1) == -1); ASSERT (errno == ENOTDIR); /* Now for some symlink tests, where supported. We set up: link1 -> directory link2 -> file link3 -> dangling link4 -> loop then test behavior both with and without trailing slash. */ if (symlink (".", BASE "link1") != 0) { ASSERT (unlink (BASE "file") == 0); if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } ASSERT (symlink (BASE "file", BASE "link2") == 0); ASSERT (symlink (BASE "nosuch", BASE "link3") == 0); ASSERT (symlink (BASE "link4", BASE "link4") == 0); ASSERT (func (BASE "link1", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); ASSERT (func (BASE "link1/", &st1) == 0); ASSERT (stat (BASE "link1", &st2) == 0); ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (func (BASE "link2", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); errno = 0; ASSERT (func (BASE "link2/", &st1) == -1); ASSERT (errno == ENOTDIR); ASSERT (func (BASE "link3", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); errno = 0; ASSERT (func (BASE "link3/", &st1) == -1); ASSERT (errno == ENOENT); ASSERT (func (BASE "link4", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); errno = 0; ASSERT (func (BASE "link4/", &st1) == -1); ASSERT (errno == ELOOP); /* Cleanup. */ ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link1") == 0); ASSERT (unlink (BASE "link2") == 0); ASSERT (unlink (BASE "link3") == 0); ASSERT (unlink (BASE "link4") == 0); return 0; } gsasl-1.8.1/gltests/test-quotearg-simple.c0000644000000000000000000003734013516251601015454 00000000000000/* Test of quotearg family of functions. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2008. */ #include #include "quotearg.h" #include #include #include #include #include #include "localcharset.h" #include "macros.h" #include "zerosize-ptr.h" #include "test-quotearg.h" static struct result_groups results_g[] = { /* literal_quoting_style */ { { "", "\0""1\0", 3, "simple", " \t\n'\"\033?""?/\\", "a:b", "a\\b", "a' b", LQ RQ, LQ RQ }, { "", "1", 1, "simple", " \t\n'\"\033?""?/\\", "a:b", "a\\b", "a' b", LQ RQ, LQ RQ }, { "", "1", 1, "simple", " \t\n'\"\033?""?/\\", "a:b", "a\\b", "a' b", LQ RQ, LQ RQ } }, /* shell_quoting_style */ { { "''", "\0""1\0", 3, "simple", "' \t\n'\\''\"\033?""?/\\'", "a:b", "'a\\b'", "\"a' b\"", LQ RQ, LQ RQ }, { "''", "1", 1, "simple", "' \t\n'\\''\"\033?""?/\\'", "a:b", "'a\\b'", "\"a' b\"", LQ RQ, LQ RQ }, { "''", "1", 1, "simple", "' \t\n'\\''\"\033?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", LQ RQ, LQ RQ } }, /* shell_always_quoting_style */ { { "''", "'\0""1\0'", 5, "'simple'", "' \t\n'\\''\"\033?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", "'" LQ RQ "'", "'" LQ RQ "'" }, { "''", "'1'", 3, "'simple'", "' \t\n'\\''\"\033?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", "'" LQ RQ "'", "'" LQ RQ "'" }, { "''", "'1'", 3, "'simple'", "' \t\n'\\''\"\033?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", "'" LQ RQ "'", "'" LQ RQ "'" } }, /* shell_escape_quoting_style */ { { "''", "''$'\\0''1'$'\\0'", 15, "simple", "' '$'\\t\\n'\\''\"'$'\\033''?""?/\\'", "a:b", "'a\\b'", "\"a' b\"", "''$'" LQ_ENC RQ_ENC "'", LQ RQ }, { "''", "''$'\\0''1'$'\\0'", 15, "simple", "' '$'\\t\\n'\\''\"'$'\\033''?""?/\\'", "a:b", "'a\\b'", "\"a' b\"", "''$'" LQ_ENC RQ_ENC "'", LQ RQ }, { "''", "''$'\\0''1'$'\\0'", 15, "simple", "' '$'\\t\\n'\\''\"'$'\\033''?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", "''$'" LQ_ENC RQ_ENC "'", LQ RQ } }, /* shell_escape_always_quoting_style */ { { "''", "''$'\\0''1'$'\\0'", 15, "'simple'", "' '$'\\t\\n'\\''\"'$'\\033''?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", "''$'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" }, { "''", "''$'\\0''1'$'\\0'", 15, "'simple'", "' '$'\\t\\n'\\''\"'$'\\033''?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", "''$'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" }, { "''", "''$'\\0''1'$'\\0'", 15, "'simple'", "' '$'\\t\\n'\\''\"'$'\\033''?""?/\\'", "'a:b'", "'a\\b'", "\"a' b\"", "''$'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" } }, /* c_quoting_style */ { { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" }, { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" }, { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a\\:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" } }, /* c_maybe_quoting_style */ { { "", "\"\\0001\\0\"", 9, "simple", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "a:b", "a\\b", "a' b", "\"" LQ_ENC RQ_ENC "\"", LQ RQ }, { "", "\"\\0001\\0\"", 9, "simple", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "a:b", "a\\b", "a' b", "\"" LQ_ENC RQ_ENC "\"", LQ RQ }, { "", "\"\\0001\\0\"", 9, "simple", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a:b\"", "a\\b", "a' b", "\"" LQ_ENC RQ_ENC "\"", LQ RQ } }, /* escape_quoting_style */ { { "", "\\0001\\0", 7, "simple", " \\t\\n'\"\\033?""?/\\\\", "a:b", "a\\\\b", "a' b", LQ_ENC RQ_ENC, LQ RQ }, { "", "\\0001\\0", 7, "simple", " \\t\\n'\"\\033?""?/\\\\", "a:b", "a\\\\b", "a' b", LQ_ENC RQ_ENC, LQ RQ }, { "", "\\0001\\0", 7, "simple", " \\t\\n'\"\\033?""?/\\\\", "a\\:b", "a\\\\b", "a' b", LQ_ENC RQ_ENC, LQ RQ } }, /* locale_quoting_style */ { { "''", "'\\0001\\0'", 9, "'simple'", "' \\t\\n\\'\"\\033?""?/\\\\'", "'a:b'", "'a\\\\b'", "'a\\' b'", "'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" }, { "''", "'\\0001\\0'", 9, "'simple'", "' \\t\\n\\'\"\\033?""?/\\\\'", "'a:b'", "'a\\\\b'", "'a\\' b'", "'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" }, { "''", "'\\0001\\0'", 9, "'simple'", "' \\t\\n\\'\"\\033?""?/\\\\'", "'a\\:b'", "'a\\\\b'", "'a\\' b'", "'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" } }, /* clocale_quoting_style */ { { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" }, { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" }, { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a\\:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" } } }; static struct result_groups flag_results[] = { /* literal_quoting_style and QA_ELIDE_NULL_BYTES */ { { "", "1", 1, "simple", " \t\n'\"\033?""?/\\", "a:b", "a\\b", "a' b", LQ RQ, LQ RQ }, { "", "1", 1, "simple", " \t\n'\"\033?""?/\\", "a:b", "a\\b", "a' b", LQ RQ, LQ RQ }, { "", "1", 1, "simple", " \t\n'\"\033?""?/\\", "a:b", "a\\b", "a' b", LQ RQ, LQ RQ } }, /* c_quoting_style and QA_ELIDE_OUTER_QUOTES */ { { "", "\"\\0001\\0\"", 9, "simple", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "a:b", "a\\b", "a' b", "\"" LQ_ENC RQ_ENC "\"", LQ RQ }, { "", "\"\\0001\\0\"", 9, "simple", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "a:b", "a\\b", "a' b", "\"" LQ_ENC RQ_ENC "\"", LQ RQ }, { "", "\"\\0001\\0\"", 9, "simple", "\" \\t\\n'\\\"\\033?""?/\\\\\"", "\"a:b\"", "a\\b", "a' b", "\"" LQ_ENC RQ_ENC "\"", LQ RQ } }, /* c_quoting_style and QA_SPLIT_TRIGRAPHS */ { { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?\"\"?/\\\\\"", "\"a:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" }, { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?\"\"?/\\\\\"", "\"a:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" }, { "\"\"", "\"\\0001\\0\"", 9, "\"simple\"", "\" \\t\\n'\\\"\\033?\"\"?/\\\\\"", "\"a\\:b\"", "\"a\\\\b\"", "\"a' b\"", "\"" LQ_ENC RQ_ENC "\"", "\"" LQ RQ "\"" } } }; static char const *custom_quotes[][2] = { { "", "" }, { "'", "'" }, { "(", ")" }, { ":", " " }, { " ", ":" }, { "# ", "\n" }, { "\"'", "'\"" } }; static struct result_groups custom_results[] = { /* left_quote = right_quote = "" */ { { "", "\\0001\\0", 7, "simple", " \\t\\n'\"\\033?""?/\\\\", "a:b", "a\\\\b", "a' b", LQ_ENC RQ_ENC, LQ RQ }, { "", "\\0001\\0", 7, "simple", " \\t\\n'\"\\033?""?/\\\\", "a:b", "a\\\\b", "a' b", LQ_ENC RQ_ENC, LQ RQ }, { "", "\\0001\\0", 7, "simple", " \\t\\n'\"\\033?""?/\\\\", "a\\:b", "a\\\\b", "a' b", LQ_ENC RQ_ENC, LQ RQ } }, /* left_quote = right_quote = "'" */ { { "''", "'\\0001\\0'", 9, "'simple'", "' \\t\\n\\'\"\\033?""?/\\\\'", "'a:b'", "'a\\\\b'", "'a\\' b'", "'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" }, { "''", "'\\0001\\0'", 9, "'simple'", "' \\t\\n\\'\"\\033?""?/\\\\'", "'a:b'", "'a\\\\b'", "'a\\' b'", "'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" }, { "''", "'\\0001\\0'", 9, "'simple'", "' \\t\\n\\'\"\\033?""?/\\\\'", "'a\\:b'", "'a\\\\b'", "'a\\' b'", "'" LQ_ENC RQ_ENC "'", "'" LQ RQ "'" } }, /* left_quote = "(" and right_quote = ")" */ { { "()", "(\\0001\\0)", 9, "(simple)", "( \\t\\n'\"\\033?""?/\\\\)", "(a:b)", "(a\\\\b)", "(a' b)", "(" LQ_ENC RQ_ENC ")", "(" LQ RQ ")" }, { "()", "(\\0001\\0)", 9, "(simple)", "( \\t\\n'\"\\033?""?/\\\\)", "(a:b)", "(a\\\\b)", "(a' b)", "(" LQ_ENC RQ_ENC ")", "(" LQ RQ ")" }, { "()", "(\\0001\\0)", 9, "(simple)", "( \\t\\n'\"\\033?""?/\\\\)", "(a\\:b)", "(a\\\\b)", "(a' b)", "(" LQ_ENC RQ_ENC ")", "(" LQ RQ ")" } }, /* left_quote = ":" and right_quote = " " */ { { ": ", ":\\0001\\0 ", 9, ":simple ", ":\\ \\t\\n'\"\\033?""?/\\\\ ", ":a:b ", ":a\\\\b ", ":a'\\ b ", ":" LQ_ENC RQ_ENC " ", ":" LQ RQ " " }, { ": ", ":\\0001\\0 ", 9, ":simple ", ":\\ \\t\\n'\"\\033?""?/\\\\ ", ":a:b ", ":a\\\\b ", ":a'\\ b ", ":" LQ_ENC RQ_ENC " ", ":" LQ RQ " " }, { ": ", ":\\0001\\0 ", 9, ":simple ", ":\\ \\t\\n'\"\\033?""?/\\\\ ", ":a\\:b ", ":a\\\\b ", ":a'\\ b ", ":" LQ_ENC RQ_ENC " ", ":" LQ RQ " " } }, /* left_quote = " " and right_quote = ":" */ { { " :", " \\0001\\0:", 9, " simple:", " \\t\\n'\"\\033?""?/\\\\:", " a\\:b:", " a\\\\b:", " a' b:", " " LQ_ENC RQ_ENC ":", " " LQ RQ ":" }, { " :", " \\0001\\0:", 9, " simple:", " \\t\\n'\"\\033?""?/\\\\:", " a\\:b:", " a\\\\b:", " a' b:", " " LQ_ENC RQ_ENC ":", " " LQ RQ ":" }, { " :", " \\0001\\0:", 9, " simple:", " \\t\\n'\"\\033?""?/\\\\:", " a\\:b:", " a\\\\b:", " a' b:", " " LQ_ENC RQ_ENC ":", " " LQ RQ ":" } }, /* left_quote = "# " and right_quote = "\n" */ { { "# \n", "# \\0001\\0\n", 10, "# simple\n", "# \\t\\n'\"\\033?""?/\\\\\n", "# a:b\n", "# a\\\\b\n", "# a' b\n", "# " LQ_ENC RQ_ENC "\n", "# " LQ RQ "\n" }, { "# \n", "# \\0001\\0\n", 10, "# simple\n", "# \\t\\n'\"\\033?""?/\\\\\n", "# a:b\n", "# a\\\\b\n", "# a' b\n", "# " LQ_ENC RQ_ENC "\n", "# " LQ RQ "\n" }, { "# \n", "# \\0001\\0\n", 10, "# simple\n", "# \\t\\n'\"\\033?""?/\\\\\n", "# a\\:b\n", "# a\\\\b\n", "# a' b\n", "# " LQ_ENC RQ_ENC "\n", "# " LQ RQ "\n" } }, /* left_quote = "\"'" and right_quote = "'\"" */ { { "\"''\"", "\"'\\0001\\0'\"", 11, "\"'simple'\"", "\"' \\t\\n\\'\"\\033?""?/\\\\'\"", "\"'a:b'\"", "\"'a\\\\b'\"", "\"'a' b'\"", "\"'" LQ_ENC RQ_ENC "'\"", "\"'" LQ RQ "'\"" }, { "\"''\"", "\"'\\0001\\0'\"", 11, "\"'simple'\"", "\"' \\t\\n\\'\"\\033?""?/\\\\'\"", "\"'a:b'\"", "\"'a\\\\b'\"", "\"'a' b'\"", "\"'" LQ_ENC RQ_ENC "'\"", "\"'" LQ RQ "'\"" }, { "\"''\"", "\"'\\0001\\0'\"", 11, "\"'simple'\"", "\"' \\t\\n\\'\"\\033?""?/\\\\'\"", "\"'a\\:b'\"", "\"'a\\\\b'\"", "\"'a' b'\"", "\"'" LQ_ENC RQ_ENC "'\"", "\"'" LQ RQ "'\"" } } }; static char * use_quote_double_quotes (const char *str, size_t *len) { char *p = *len == SIZE_MAX ? quotearg_char (str, '"') : quotearg_char_mem (str, *len, '"'); *len = strlen (p); return p; } int main (int argc _GL_UNUSED, char *argv[]) { int i; bool ascii_only = MB_CUR_MAX == 1 && !isprint ((unsigned char) LQ[0]); /* This part of the program is hard-wired to the C locale since it does not call setlocale. However, according to POSIX, the use of 8-bit bytes in a character context in the C locale gives unspecified results (that is, the C locale charset is allowed to be unibyte with 8-bit bytes rejected [ASCII], unibyte with 8-bit bytes being characters [often ISO-8859-1], or multibyte [often UTF-8]). We assume that the latter two cases will be indistinguishable in this test - that is, the LQ and RQ sequences will pass through unchanged in either type of charset. So when testing for quoting of str7, use the ascii_only flag to decide what to expect for the 8-bit data being quoted. */ ASSERT (!isprint ('\033')); for (i = literal_quoting_style; i <= clocale_quoting_style; i++) { set_quoting_style (NULL, (enum quoting_style) i); if (!(i == locale_quoting_style || i == clocale_quoting_style) || (strcmp (locale_charset (), "ASCII") == 0 || strcmp (locale_charset (), "ANSI_X3.4-1968") == 0)) { compare_strings (use_quotearg_buffer, &results_g[i].group1, ascii_only); compare_strings (use_quotearg, &results_g[i].group2, ascii_only); if (i == c_quoting_style) compare_strings (use_quote_double_quotes, &results_g[i].group2, ascii_only); compare_strings (use_quotearg_colon, &results_g[i].group3, ascii_only); } } set_quoting_style (NULL, literal_quoting_style); ASSERT (set_quoting_flags (NULL, QA_ELIDE_NULL_BYTES) == 0); compare_strings (use_quotearg_buffer, &flag_results[0].group1, ascii_only); compare_strings (use_quotearg, &flag_results[0].group2, ascii_only); compare_strings (use_quotearg_colon, &flag_results[0].group3, ascii_only); set_quoting_style (NULL, c_quoting_style); ASSERT (set_quoting_flags (NULL, QA_ELIDE_OUTER_QUOTES) == QA_ELIDE_NULL_BYTES); compare_strings (use_quotearg_buffer, &flag_results[1].group1, ascii_only); compare_strings (use_quotearg, &flag_results[1].group2, ascii_only); compare_strings (use_quote_double_quotes, &flag_results[1].group2, ascii_only); compare_strings (use_quotearg_colon, &flag_results[1].group3, ascii_only); ASSERT (set_quoting_flags (NULL, QA_SPLIT_TRIGRAPHS) == QA_ELIDE_OUTER_QUOTES); compare_strings (use_quotearg_buffer, &flag_results[2].group1, ascii_only); compare_strings (use_quotearg, &flag_results[2].group2, ascii_only); compare_strings (use_quote_double_quotes, &flag_results[2].group2, ascii_only); compare_strings (use_quotearg_colon, &flag_results[2].group3, ascii_only); ASSERT (set_quoting_flags (NULL, 0) == QA_SPLIT_TRIGRAPHS); for (i = 0; i < sizeof custom_quotes / sizeof *custom_quotes; ++i) { set_custom_quoting (NULL, custom_quotes[i][0], custom_quotes[i][1]); compare_strings (use_quotearg_buffer, &custom_results[i].group1, ascii_only); compare_strings (use_quotearg, &custom_results[i].group2, ascii_only); compare_strings (use_quotearg_colon, &custom_results[i].group3, ascii_only); } { /* Trigger the bug whereby quotearg_buffer would read beyond the NUL that defines the end of the string being quoted. Use an input string whose NUL is the last byte before an unreadable page. */ char *z = zerosize_ptr (); if (z) { size_t q_len = 1024; char *q = malloc (q_len + 1); char buf[10]; memset (q, 'Q', q_len); q[q_len] = 0; /* Z points to the boundary between a readable/writable page and one that is neither readable nor writable. Position our string so its NUL is at the end of the writable one. */ char const *str = "____"; size_t s_len = strlen (str); z -= s_len + 1; memcpy (z, str, s_len + 1); set_custom_quoting (NULL, q, q); /* Whether this actually triggers a SEGV depends on the implementation of memcmp: whether it compares only byte-at- a-time, and from left to right (no SEGV) or some other way. */ size_t n = quotearg_buffer (buf, sizeof buf, z, SIZE_MAX, NULL); ASSERT (n == s_len + 2 * q_len); ASSERT (memcmp (buf, q, sizeof buf) == 0); free (q); } } quotearg_free (); return 0; } gsasl-1.8.1/gltests/test-mbrtowc-w32-4.sh0000755000000000000000000000013413516251600014746 00000000000000#!/bin/sh # Test a CP950 locale. ${CHECKER} ./test-mbrtowc-w32${EXEEXT} Chinese_Taiwan 950 gsasl-1.8.1/gltests/test-fseek2.sh0000755000000000000000000000012013516251600013671 00000000000000#!/bin/sh exec ${CHECKER} ./test-fseek${EXEEXT} 1 2 < "$srcdir/test-fseek2.sh" gsasl-1.8.1/gltests/macros.h0000644000000000000000000000673113516251577012666 00000000000000/* Common macros used by gnulib tests. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* This file contains macros that are used by many gnulib tests. Put here only frequently used macros, say, used by 10 tests or more. */ #include #include #ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif #endif /* Define ASSERT_STREAM before including this file if ASSERT must target a stream other than stderr. */ #ifndef ASSERT_STREAM # define ASSERT_STREAM stderr #endif /* ASSERT (condition); verifies that the specified condition is fulfilled. If not, a message is printed to ASSERT_STREAM if defined (defaulting to stderr if undefined) and the program is terminated with an error code. This macro has the following properties: - The programmer specifies the expected condition, not the failure condition. This simplifies thinking. - The condition is tested always, regardless of compilation flags. (Unlike the macro from .) - On Unix platforms, the tester can debug the test program with a debugger (provided core dumps are enabled: "ulimit -c unlimited"). - For the sake of platforms where no debugger is available (such as some mingw systems), an error message is printed on the error stream that includes the source location of the ASSERT invocation. */ #define ASSERT(expr) \ do \ { \ if (!(expr)) \ { \ fprintf (ASSERT_STREAM, "%s:%d: assertion '%s' failed\n", \ __FILE__, __LINE__, #expr); \ fflush (ASSERT_STREAM); \ abort (); \ } \ } \ while (0) /* SIZEOF (array) returns the number of elements of an array. It works for arrays that are declared outside functions and for local variables of array type. It does *not* work for function parameters of array type, because they are actually parameters of pointer type. */ #define SIZEOF(array) (sizeof (array) / sizeof (array[0])) /* STREQ (str1, str2) Return true if two strings compare equal. */ #define STREQ(a, b) (strcmp (a, b) == 0) /* Some numbers in the interval [0,1). */ extern const float randomf[1000]; extern const double randomd[1000]; extern const long double randoml[1000]; gsasl-1.8.1/gltests/test-btowc2.sh0000755000000000000000000000060113516251600013716 00000000000000#!/bin/sh # Test whether a specific UTF-8 locale is installed. : ${LOCALE_FR_UTF8=fr_FR.UTF-8} if test $LOCALE_FR_UTF8 = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no french Unicode locale is installed" else echo "Skipping test: no french Unicode locale is supported" fi exit 77 fi LC_ALL=$LOCALE_FR_UTF8 \ ${CHECKER} ./test-btowc${EXEEXT} 2 gsasl-1.8.1/gltests/test-wchar.c0000644000000000000000000000213613516251601013435 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that the types wchar_t and wint_t are defined. */ wchar_t a = 'c'; wint_t b = 'x'; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); int main (void) { return 0; } gsasl-1.8.1/gltests/test-intprops.c0000644000000000000000000004420313516251600014207 00000000000000/* Test intprops.h. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert. */ /* Tell gcc not to warn about the long expressions that the overflow macros expand to, or about the (X < 0) expressions. */ #if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) # pragma GCC diagnostic ignored "-Woverlength-strings" # pragma GCC diagnostic ignored "-Wtype-limits" /* Work around a bug in GCC 6.1 and earlier; see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68971 */ # pragma GCC diagnostic ignored "-Woverflow" #endif #include #include "intprops.h" #include "verify.h" #include #include #include #include "macros.h" /* Compile-time verification of expression X. In this file, we need it as a statement, rather than as a declaration. */ #define verify_stmt(x) do { verify (x); } while (0) /* VERIFY (X) uses a static assertion for compilers that are known to work, and falls back on a dynamic assertion for other compilers. These tests should be checkable via 'verify' rather than 'ASSERT', but using 'verify' would run into a bug with HP-UX 11.23 cc; see . */ #if __GNUC__ || __SUNPRO_C # define VERIFY(x) verify_stmt (x) #else # define VERIFY(x) ASSERT (x) #endif #define DONTCARE __LINE__ int main (void) { /* Use VERIFY for tests that must be integer constant expressions, ASSERT otherwise. */ /* TYPE_IS_INTEGER. */ ASSERT (TYPE_IS_INTEGER (bool)); ASSERT (TYPE_IS_INTEGER (char)); ASSERT (TYPE_IS_INTEGER (signed char)); ASSERT (TYPE_IS_INTEGER (unsigned char)); ASSERT (TYPE_IS_INTEGER (short int)); ASSERT (TYPE_IS_INTEGER (unsigned short int)); ASSERT (TYPE_IS_INTEGER (int)); ASSERT (TYPE_IS_INTEGER (unsigned int)); ASSERT (TYPE_IS_INTEGER (long int)); ASSERT (TYPE_IS_INTEGER (unsigned long int)); ASSERT (TYPE_IS_INTEGER (intmax_t)); ASSERT (TYPE_IS_INTEGER (uintmax_t)); ASSERT (! TYPE_IS_INTEGER (float)); ASSERT (! TYPE_IS_INTEGER (double)); ASSERT (! TYPE_IS_INTEGER (long double)); /* TYPE_SIGNED. */ /* VERIFY (! TYPE_SIGNED (bool)); // not guaranteed by gnulib substitute */ VERIFY (TYPE_SIGNED (signed char)); VERIFY (! TYPE_SIGNED (unsigned char)); VERIFY (TYPE_SIGNED (short int)); VERIFY (! TYPE_SIGNED (unsigned short int)); VERIFY (TYPE_SIGNED (int)); VERIFY (! TYPE_SIGNED (unsigned int)); VERIFY (TYPE_SIGNED (long int)); VERIFY (! TYPE_SIGNED (unsigned long int)); VERIFY (TYPE_SIGNED (intmax_t)); VERIFY (! TYPE_SIGNED (uintmax_t)); ASSERT (TYPE_SIGNED (float)); ASSERT (TYPE_SIGNED (double)); ASSERT (TYPE_SIGNED (long double)); /* Integer representation. Check that it is two's complement. */ VERIFY (INT_MIN + INT_MAX < 0); /* TYPE_MINIMUM, TYPE_MAXIMUM. */ VERIFY (TYPE_MINIMUM (char) == CHAR_MIN); VERIFY (TYPE_MAXIMUM (char) == CHAR_MAX); VERIFY (TYPE_MINIMUM (unsigned char) == 0); VERIFY (TYPE_MAXIMUM (unsigned char) == UCHAR_MAX); VERIFY (TYPE_MINIMUM (signed char) == SCHAR_MIN); VERIFY (TYPE_MAXIMUM (signed char) == SCHAR_MAX); VERIFY (TYPE_MINIMUM (short int) == SHRT_MIN); VERIFY (TYPE_MAXIMUM (short int) == SHRT_MAX); VERIFY (TYPE_MINIMUM (unsigned short int) == 0); VERIFY (TYPE_MAXIMUM (unsigned short int) == USHRT_MAX); VERIFY (TYPE_MINIMUM (int) == INT_MIN); VERIFY (TYPE_MAXIMUM (int) == INT_MAX); VERIFY (TYPE_MINIMUM (unsigned int) == 0); VERIFY (TYPE_MAXIMUM (unsigned int) == UINT_MAX); VERIFY (TYPE_MINIMUM (long int) == LONG_MIN); VERIFY (TYPE_MAXIMUM (long int) == LONG_MAX); VERIFY (TYPE_MINIMUM (unsigned long int) == 0); VERIFY (TYPE_MAXIMUM (unsigned long int) == ULONG_MAX); #ifdef LLONG_MAX verify_stmt (TYPE_MINIMUM (long long int) == LLONG_MIN); verify_stmt (TYPE_MAXIMUM (long long int) == LLONG_MAX); verify_stmt (TYPE_MINIMUM (unsigned long long int) == 0); verify_stmt (TYPE_MAXIMUM (unsigned long long int) == ULLONG_MAX); #endif VERIFY (TYPE_MINIMUM (intmax_t) == INTMAX_MIN); VERIFY (TYPE_MAXIMUM (intmax_t) == INTMAX_MAX); VERIFY (TYPE_MINIMUM (uintmax_t) == 0); VERIFY (TYPE_MAXIMUM (uintmax_t) == UINTMAX_MAX); /* TYPE_WIDTH. */ #ifdef CHAR_WIDTH verify_stmt (TYPE_WIDTH (char) == CHAR_WIDTH); verify_stmt (TYPE_WIDTH (signed char) == SCHAR_WIDTH); verify_stmt (TYPE_WIDTH (unsigned char) == UCHAR_WIDTH); verify_stmt (TYPE_WIDTH (short int) == SHRT_WIDTH); verify_stmt (TYPE_WIDTH (unsigned short int) == USHRT_WIDTH); verify_stmt (TYPE_WIDTH (int) == INT_WIDTH); verify_stmt (TYPE_WIDTH (unsigned int) == UINT_WIDTH); verify_stmt (TYPE_WIDTH (long int) == LONG_WIDTH); verify_stmt (TYPE_WIDTH (unsigned long int) == ULONG_WIDTH); #ifdef LLONG_WIDTH verify_stmt (TYPE_WIDTH (long long int) == LLONG_WIDTH); verify_stmt (TYPE_WIDTH (unsigned long long int) == ULLONG_WIDTH); #endif #endif /* INT_BITS_STRLEN_BOUND. */ VERIFY (INT_BITS_STRLEN_BOUND (1) == 1); VERIFY (INT_BITS_STRLEN_BOUND (2620) == 789); /* INT_STRLEN_BOUND, INT_BUFSIZE_BOUND. */ #ifdef INT32_MAX /* POSIX guarantees int32_t; this ports to non-POSIX. */ VERIFY (INT_STRLEN_BOUND (int32_t) == sizeof ("-2147483648") - 1); VERIFY (INT_BUFSIZE_BOUND (int32_t) == sizeof ("-2147483648")); #endif #ifdef INT64_MAX VERIFY (INT_STRLEN_BOUND (int64_t) == sizeof ("-9223372036854775808") - 1); VERIFY (INT_BUFSIZE_BOUND (int64_t) == sizeof ("-9223372036854775808")); #endif /* All the INT__RANGE_OVERFLOW tests are equally valid as INT__OVERFLOW tests, so define macros to do both. OP is the operation, OPNAME its symbolic name, A and B its operands, T the result type, V the overflow flag, and VRES the result if V and if two's complement. CHECK_BINOP is for most binary operatinos, CHECK_SBINOP for binary +, -, * when the result type is signed, and CHECK_UNOP for unary operations. */ #define CHECK_BINOP(op, opname, a, b, t, v, vres) \ VERIFY (INT_##opname##_RANGE_OVERFLOW (a, b, TYPE_MINIMUM (t), \ TYPE_MAXIMUM (t)) \ == (v)); \ VERIFY (INT_##opname##_OVERFLOW (a, b) == (v)) #define CHECK_SBINOP(op, opname, a, b, t, v, vres) \ CHECK_BINOP(op, opname, a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_##opname##_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) op (b)))); \ } #define CHECK_UNOP(op, opname, a, t, v) \ VERIFY (INT_##opname##_RANGE_OVERFLOW (a, TYPE_MINIMUM (t), \ TYPE_MAXIMUM (t)) \ == (v)); \ VERIFY (INT_##opname##_OVERFLOW (a) == (v)) /* INT__RANGE_OVERFLOW, INT__OVERFLOW. */ VERIFY (INT_ADD_RANGE_OVERFLOW (INT_MAX, 1, INT_MIN, INT_MAX)); VERIFY (INT_ADD_OVERFLOW (INT_MAX, 1)); CHECK_SBINOP (+, ADD, INT_MAX, 1, int, true, INT_MIN); CHECK_SBINOP (+, ADD, INT_MAX, -1, int, false, INT_MAX - 1); CHECK_SBINOP (+, ADD, INT_MIN, 1, int, false, INT_MIN + 1); CHECK_SBINOP (+, ADD, INT_MIN, -1, int, true, INT_MAX); CHECK_BINOP (+, ADD, UINT_MAX, 1u, unsigned int, true, 0u); CHECK_BINOP (+, ADD, 0u, 1u, unsigned int, false, 1u); CHECK_SBINOP (-, SUBTRACT, INT_MAX, 1, int, false, INT_MAX - 1); CHECK_SBINOP (-, SUBTRACT, INT_MAX, -1, int, true, INT_MIN); CHECK_SBINOP (-, SUBTRACT, INT_MIN, 1, int, true, INT_MAX); CHECK_SBINOP (-, SUBTRACT, INT_MIN, -1, int, false, INT_MIN - -1); CHECK_BINOP (-, SUBTRACT, UINT_MAX, 1u, unsigned int, false, UINT_MAX - 1u); CHECK_BINOP (-, SUBTRACT, 0u, 1u, unsigned int, true, 0u - 1u); CHECK_UNOP (-, NEGATE, INT_MIN, int, true); CHECK_UNOP (-, NEGATE, 0, int, false); CHECK_UNOP (-, NEGATE, INT_MAX, int, false); CHECK_UNOP (-, NEGATE, 0u, unsigned int, false); CHECK_UNOP (-, NEGATE, 1u, unsigned int, true); CHECK_UNOP (-, NEGATE, UINT_MAX, unsigned int, true); CHECK_SBINOP (*, MULTIPLY, INT_MAX, INT_MAX, int, true, 1); CHECK_SBINOP (*, MULTIPLY, INT_MAX, INT_MIN, int, true, INT_MIN); CHECK_SBINOP (*, MULTIPLY, INT_MIN, INT_MAX, int, true, INT_MIN); CHECK_SBINOP (*, MULTIPLY, INT_MIN, INT_MIN, int, true, 0); CHECK_SBINOP (*, MULTIPLY, -1, INT_MIN, int, INT_NEGATE_OVERFLOW (INT_MIN), INT_MIN); CHECK_SBINOP (*, MULTIPLY, LONG_MIN / INT_MAX, (long int) INT_MAX, long int, false, LONG_MIN - LONG_MIN % INT_MAX); CHECK_BINOP (/, DIVIDE, INT_MIN, -1, int, INT_NEGATE_OVERFLOW (INT_MIN), INT_MIN); CHECK_BINOP (/, DIVIDE, INT_MAX, 1, int, false, INT_MAX); CHECK_BINOP (/, DIVIDE, (unsigned int) INT_MIN, -1u, unsigned int, false, INT_MIN / -1u); CHECK_BINOP (%, REMAINDER, INT_MIN, -1, int, INT_NEGATE_OVERFLOW (INT_MIN), 0); CHECK_BINOP (%, REMAINDER, INT_MAX, 1, int, false, 0); CHECK_BINOP (%, REMAINDER, (unsigned int) INT_MIN, -1u, unsigned int, false, INT_MIN % -1u); CHECK_BINOP (<<, LEFT_SHIFT, UINT_MAX, 1, unsigned int, true, UINT_MAX << 1); CHECK_BINOP (<<, LEFT_SHIFT, UINT_MAX / 2 + 1, 1, unsigned int, true, (UINT_MAX / 2 + 1) << 1); CHECK_BINOP (<<, LEFT_SHIFT, UINT_MAX / 2, 1, unsigned int, false, (UINT_MAX / 2) << 1); /* INT__OVERFLOW and INT__WRAPV with mixed types. */ #define CHECK_SUM(a, b, t, v, vres) \ CHECK_SUM1(a, b, t, v, vres); \ CHECK_SUM1(b, a, t, v, vres) #define CHECK_SSUM(a, b, t, v, vres) \ CHECK_SSUM1(a, b, t, v, vres); \ CHECK_SSUM1(b, a, t, v, vres) #define CHECK_SUM1(a, b, t, v, vres) \ VERIFY (INT_ADD_OVERFLOW (a, b) == (v)) #define CHECK_SSUM1(a, b, t, v, vres) \ CHECK_SUM1(a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_ADD_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) + (b)))); \ } CHECK_SSUM (-1, LONG_MIN, long int, true, LONG_MAX); CHECK_SUM (-1, UINT_MAX, unsigned int, false, DONTCARE); CHECK_SSUM (-1L, INT_MIN, long int, INT_MIN == LONG_MIN, INT_MIN == LONG_MIN ? INT_MAX : DONTCARE); CHECK_SUM (0u, -1, unsigned int, true, 0u + -1); CHECK_SUM (0u, 0, unsigned int, false, DONTCARE); CHECK_SUM (0u, 1, unsigned int, false, DONTCARE); CHECK_SSUM (1, LONG_MAX, long int, true, LONG_MIN); CHECK_SUM (1, UINT_MAX, unsigned int, true, 0u); CHECK_SSUM (1L, INT_MAX, long int, INT_MAX == LONG_MAX, INT_MAX == LONG_MAX ? INT_MIN : DONTCARE); CHECK_SUM (1u, INT_MAX, unsigned int, INT_MAX == UINT_MAX, 1u + INT_MAX); CHECK_SUM (1u, INT_MIN, unsigned int, true, 1u + INT_MIN); { long int result; ASSERT (INT_ADD_WRAPV (1, INT_MAX, &result) == (INT_MAX == LONG_MAX)); ASSERT (INT_ADD_WRAPV (-1, INT_MIN, &result) == (INT_MIN == LONG_MIN)); } #define CHECK_DIFFERENCE(a, b, t, v, vres) \ VERIFY (INT_SUBTRACT_OVERFLOW (a, b) == (v)) #define CHECK_SDIFFERENCE(a, b, t, v, vres) \ CHECK_DIFFERENCE(a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_SUBTRACT_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) - (b)))); \ } CHECK_DIFFERENCE (INT_MAX, 1u, unsigned int, UINT_MAX < INT_MAX - 1, INT_MAX - 1u); CHECK_DIFFERENCE (UINT_MAX, 1, unsigned int, false, UINT_MAX - 1); CHECK_DIFFERENCE (0u, -1, unsigned int, false, 0u - -1); CHECK_DIFFERENCE (UINT_MAX, -1, unsigned int, true, UINT_MAX - -1); CHECK_DIFFERENCE (INT_MIN, 1u, unsigned int, true, INT_MIN - 1u); CHECK_DIFFERENCE (-1, 0u, unsigned int, true, -1 - 0u); CHECK_SDIFFERENCE (-1, INT_MIN, int, false, -1 - INT_MIN); CHECK_SDIFFERENCE (-1, INT_MAX, int, false, -1 - INT_MAX); CHECK_SDIFFERENCE (0, INT_MIN, int, INT_MIN < -INT_MAX, INT_MIN); CHECK_SDIFFERENCE (0, INT_MAX, int, false, 0 - INT_MAX); { long int result; ASSERT (INT_SUBTRACT_WRAPV (INT_MAX, -1, &result) == (INT_MAX == LONG_MAX)); ASSERT (INT_SUBTRACT_WRAPV (INT_MIN, 1, &result) == (INT_MAX == LONG_MAX)); } #define CHECK_PRODUCT(a, b, t, v, vres) \ CHECK_PRODUCT1(a, b, t, v, vres); \ CHECK_PRODUCT1(b, a, t, v, vres) #define CHECK_SPRODUCT(a, b, t, v, vres) \ CHECK_SPRODUCT1(a, b, t, v, vres); \ CHECK_SPRODUCT1(b, a, t, v, vres) #define CHECK_PRODUCT1(a, b, t, v, vres) \ VERIFY (INT_MULTIPLY_OVERFLOW (a, b) == (v)) #define CHECK_SPRODUCT1(a, b, t, v, vres) \ CHECK_PRODUCT1(a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_MULTIPLY_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) * (b)))); \ } CHECK_PRODUCT (-1, 1u, unsigned int, true, -1 * 1u); CHECK_SPRODUCT (-1, INT_MIN, int, INT_NEGATE_OVERFLOW (INT_MIN), INT_MIN); CHECK_PRODUCT (-1, UINT_MAX, unsigned int, true, -1 * UINT_MAX); CHECK_SPRODUCT (-32768, LONG_MAX / -32768 - 1, long int, true, LONG_MIN); CHECK_SPRODUCT (-12345, LONG_MAX / -12345, long int, false, DONTCARE); CHECK_SPRODUCT (0, -1, int, false, DONTCARE); CHECK_SPRODUCT (0, 0, int, false, DONTCARE); CHECK_PRODUCT (0, 0u, unsigned int, false, DONTCARE); CHECK_SPRODUCT (0, 1, int, false, DONTCARE); CHECK_SPRODUCT (0, INT_MAX, int, false, DONTCARE); CHECK_SPRODUCT (0, INT_MIN, int, false, DONTCARE); CHECK_PRODUCT (0, UINT_MAX, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, -1, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, 0, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, 0u, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, 1, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, INT_MAX, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, INT_MIN, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, UINT_MAX, unsigned int, false, DONTCARE); CHECK_SPRODUCT (1, INT_MAX, int, false, DONTCARE); CHECK_SPRODUCT (1, INT_MIN, int, false, DONTCARE); CHECK_PRODUCT (1, UINT_MAX, unsigned int, false, DONTCARE); CHECK_PRODUCT (1u, INT_MIN, unsigned int, true, 1u * INT_MIN); CHECK_PRODUCT (1u, INT_MAX, unsigned int, UINT_MAX < INT_MAX, 1u * INT_MAX); CHECK_PRODUCT (INT_MAX, UINT_MAX, unsigned int, true, INT_MAX * UINT_MAX); CHECK_PRODUCT (INT_MAX, ULONG_MAX, unsigned long int, true, INT_MAX * ULONG_MAX); CHECK_SPRODUCT (INT_MIN, LONG_MAX / INT_MIN - 1, long int, true, LONG_MIN); CHECK_SPRODUCT (INT_MIN, LONG_MAX / INT_MIN, long int, false, DONTCARE); CHECK_PRODUCT (INT_MIN, UINT_MAX, unsigned int, true, INT_MIN * UINT_MAX); CHECK_PRODUCT (INT_MIN, ULONG_MAX, unsigned long int, true, INT_MIN * ULONG_MAX); { long int result; ASSERT (INT_MULTIPLY_WRAPV (INT_MAX, INT_MAX, &result) == (LONG_MAX / INT_MAX < INT_MAX)); ASSERT (INT_MULTIPLY_WRAPV (INT_MAX, INT_MAX, &result) || result == INT_MAX * (long int) INT_MAX); ASSERT (INT_MULTIPLY_WRAPV (INT_MIN, INT_MIN, &result) || result == INT_MIN * (long int) INT_MIN); } # ifdef LLONG_MAX { long long int result; ASSERT (INT_MULTIPLY_WRAPV (LONG_MAX, LONG_MAX, &result) == (LLONG_MAX / LONG_MAX < LONG_MAX)); ASSERT (INT_MULTIPLY_WRAPV (LONG_MAX, LONG_MAX, &result) || result == LONG_MAX * (long long int) LONG_MAX); ASSERT (INT_MULTIPLY_WRAPV (LONG_MIN, LONG_MIN, &result) || result == LONG_MIN * (long long int) LONG_MIN); } # endif #define CHECK_QUOTIENT(a, b, v) VERIFY (INT_DIVIDE_OVERFLOW (a, b) == (v)) CHECK_QUOTIENT (INT_MIN, -1L, INT_MIN == LONG_MIN); CHECK_QUOTIENT (INT_MIN, UINT_MAX, false); CHECK_QUOTIENT (INTMAX_MIN, UINTMAX_MAX, false); CHECK_QUOTIENT (INTMAX_MIN, UINT_MAX, false); CHECK_QUOTIENT (-11, 10u, true); CHECK_QUOTIENT (-10, 10u, true); CHECK_QUOTIENT (-9, 10u, false); CHECK_QUOTIENT (11u, -10, true); CHECK_QUOTIENT (10u, -10, true); CHECK_QUOTIENT (9u, -10, false); #define CHECK_REMAINDER(a, b, v) VERIFY (INT_REMAINDER_OVERFLOW (a, b) == (v)) CHECK_REMAINDER (INT_MIN, -1L, INT_MIN == LONG_MIN); CHECK_REMAINDER (-1, UINT_MAX, true); CHECK_REMAINDER ((intmax_t) -1, UINTMAX_MAX, true); CHECK_REMAINDER (INTMAX_MIN, UINT_MAX, (INTMAX_MAX < UINT_MAX && - (unsigned int) INTMAX_MIN % UINT_MAX != 0)); CHECK_REMAINDER (INT_MIN, ULONG_MAX, INT_MIN % ULONG_MAX != 1); CHECK_REMAINDER (1u, -1, false); CHECK_REMAINDER (37*39u, -39, false); CHECK_REMAINDER (37*39u + 1, -39, true); CHECK_REMAINDER (37*39u - 1, -39, true); CHECK_REMAINDER (LONG_MAX, -INT_MAX, false); return 0; } gsasl-1.8.1/gltests/test-mbrtowc5.sh0000755000000000000000000000025313516251574014275 00000000000000#!/bin/sh # Test whether the POSIX locale has encoding errors. LC_ALL=C \ ${CHECKER} ./test-mbrtowc${EXEEXT} 5 || exit LC_ALL=POSIX \ ${CHECKER} ./test-mbrtowc${EXEEXT} 5 gsasl-1.8.1/gltests/_Noreturn.h0000644000000000000000000000267313516251573013352 00000000000000/* A C macro for declaring that a function does not return. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER))) # define _Noreturn [[noreturn]] # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) /* _Noreturn works as-is. */ # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif gsasl-1.8.1/gltests/test-sched.c0000644000000000000000000000230313516251574013424 00000000000000/* Test of substitute. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include /* Check that 'struct sched_param' is defined. */ static struct sched_param a; /* Check that the SCHED_* macros are defined and compile-time constants. */ int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER }; /* Check that the types are all defined. */ pid_t t1; static int f1; int main () { /* Check fields of 'struct sched_param'. */ f1 = a.sched_priority; return 0; } gsasl-1.8.1/gltests/test-vasnprintf.c0000644000000000000000000000663713516251601014535 00000000000000/* Test of vasnprintf() and asnprintf() functions. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include "vasnprintf.h" #include #include #include #include "macros.h" static void test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...)) { char buf[8]; int size; for (size = 0; size <= 8; size++) { size_t length = size; char *result = my_asnprintf (NULL, &length, "%d", 12345); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); ASSERT (length == 5); free (result); } for (size = 0; size <= 8; size++) { size_t length; char *result; memcpy (buf, "DEADBEEF", 8); length = size; result = my_asnprintf (buf, &length, "%d", 12345); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); ASSERT (length == 5); if (size < 5 + 1) ASSERT (result != buf); ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); if (result != buf) free (result); } /* Note: This test assumes IEEE 754 representation of 'double' floats. */ for (size = 0; size <= 8; size++) { size_t length; char *result; memcpy (buf, "DEADBEEF", 8); length = size; result = my_asnprintf (buf, &length, "%2.0f", 1.6314159265358979e+125); ASSERT (result != NULL); /* The exact result and the result on glibc systems is 163141592653589790215729350939528493057529598899734151772468186268423257777068536614838678161083520756952076273094236944990208 On Cygwin, the result is 163141592653589790215729350939528493057529600000000000000000000000000000000000000000000000000000000000000000000000000000000000 On HP-UX 11.31 / hppa and IRIX 6.5, the result is 163141592653589790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 */ ASSERT (strlen (result) == 126); ASSERT (memcmp (result, "163141592653589790", 18) == 0); ASSERT (length == 126); if (size < 126 + 1) ASSERT (result != buf); ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); if (result != buf) free (result); } } static char * my_asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) { va_list args; char *ret; va_start (args, format); ret = vasnprintf (resultbuf, lengthp, format, args); va_end (args); return ret; } static void test_vasnprintf () { test_function (my_asnprintf); } static void test_asnprintf () { test_function (asnprintf); } int main (int argc, char *argv[]) { test_vasnprintf (); test_asnprintf (); return 0; } gsasl-1.8.1/gltests/test-strerror.c0000644000000000000000000000371013516251601014212 00000000000000/* Test of strerror() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (strerror, char *, (int)); #include #include "macros.h" int main (void) { char *str; errno = 0; str = strerror (EACCES); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); errno = 0; str = strerror (ETIMEDOUT); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); errno = 0; str = strerror (EOVERFLOW); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); /* POSIX requires strerror (0) to succeed. Reject use of "Unknown error", but allow "Success", "No error", or even Solaris' "Error 0" which are distinct patterns from true out-of-range strings. http://austingroupbugs.net/view.php?id=382 */ errno = 0; str = strerror (0); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); ASSERT (strstr (str, "nknown") == NULL); ASSERT (strstr (str, "ndefined") == NULL); /* POSIX requires strerror to produce a non-NULL result for all inputs; as an extension, we also guarantee a non-empty result. Reporting EINVAL is optional. */ errno = 0; str = strerror (-3); ASSERT (str); ASSERT (*str); ASSERT (errno == 0 || errno == EINVAL); return 0; } gsasl-1.8.1/gltests/test-stat.c0000644000000000000000000000313413516251601013303 00000000000000/* Tests of stat. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include /* Caution: stat may be a function-like macro. Although this signature check must pass, it may be the signature of the real (and broken) stat rather than rpl_stat. Most code should not use the address of stat. */ #include "signature.h" SIGNATURE_CHECK (stat, int, (char const *, struct stat *)); #include #include #include #include #include #include #include "same-inode.h" #include "macros.h" #define BASE "test-stat.t" #include "test-stat.h" /* Wrapper around stat, which works even if stat is a function-like macro, where test_stat_func(stat) would do the wrong thing. */ static int do_stat (char const *name, struct stat *st) { return stat (name, st); } int main (void) { return test_stat_func (do_stat, true); } gsasl-1.8.1/gltests/test-c-strcase.sh0000755000000000000000000000124513516251600014407 00000000000000#!/bin/sh # Test in the C locale. ${CHECKER} ./test-c-strcasecmp${EXEEXT} || exit 1 ${CHECKER} ./test-c-strncasecmp${EXEEXT} || exit 1 # Test in an ISO-8859-1 or ISO-8859-15 locale. : ${LOCALE_FR=fr_FR} if test $LOCALE_FR != none; then LC_ALL=$LOCALE_FR ${CHECKER} ./test-c-strcasecmp${EXEEXT} locale || exit 1 LC_ALL=$LOCALE_FR ${CHECKER} ./test-c-strncasecmp${EXEEXT} locale || exit 1 fi # Test in a Turkish UTF-8 locale. : ${LOCALE_TR_UTF8=tr_TR.UTF-8} if test $LOCALE_TR_UTF8 != none; then LC_ALL=$LOCALE_TR_UTF8 ${CHECKER} ./test-c-strcasecmp${EXEEXT} locale || exit 1 LC_ALL=$LOCALE_TR_UTF8 ${CHECKER} ./test-c-strncasecmp${EXEEXT} locale || exit 1 fi exit 0 gsasl-1.8.1/gltests/test-getopt-main.h0000644000000000000000000000411413516251574014571 00000000000000/* Test of command line argument processing. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include "signature.h" SIGNATURE_CHECK (getopt, int, (int, char * const[], char const *)); #include #include #include #include /* This test intentionally remaps stderr. So, we arrange to have fd 10 (outside the range of interesting fd's during the test) set up to duplicate the original stderr. */ #define BACKUP_STDERR_FILENO 10 #define ASSERT_STREAM myerr #include "macros.h" static FILE *myerr; #include "test-getopt.h" #if TEST_GETOPT_GNU # include "test-getopt_long.h" #endif int main (void) { /* This test validates that stderr is used correctly, so move the original into fd 10. */ if (dup2 (STDERR_FILENO, BACKUP_STDERR_FILENO) != BACKUP_STDERR_FILENO || (myerr = fdopen (BACKUP_STDERR_FILENO, "w")) == NULL) return 2; ASSERT (freopen (TEST_GETOPT_TMP_NAME, "w", stderr) == stderr); /* These default values are required by POSIX. */ ASSERT (optind == 1); ASSERT (opterr != 0); setenv ("POSIXLY_CORRECT", "1", 1); test_getopt (); #if TEST_GETOPT_GNU test_getopt_long_posix (); #endif unsetenv ("POSIXLY_CORRECT"); test_getopt (); #if TEST_GETOPT_GNU test_getopt_long (); test_getopt_long_only (); #endif ASSERT (fclose (stderr) == 0); ASSERT (remove (TEST_GETOPT_TMP_NAME) == 0); return 0; } gsasl-1.8.1/gltests/test-isblank.c0000644000000000000000000000305013516251574013761 00000000000000/* Test of isblank() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (isblank, int, (int)); #include #include #include "macros.h" int main (int argc, char *argv[]) { unsigned int c; /* Verify the property in the "C" locale. POSIX specifies in that - in all locales, the blank characters include the and characters, - in the "POSIX" locale (which is usually the same as the "C" locale), the blank characters include only the ASCII and characters. */ for (c = 0; c <= UCHAR_MAX; c++) ASSERT (!isblank (c) == !(c == ' ' || c == '\t')); ASSERT (!isblank (EOF)); return 0; } gsasl-1.8.1/gltests/test-fcntl.c0000644000000000000000000002345013516251574013452 00000000000000/* Test of fcntl(2). Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include /* Specification. */ #include #include "signature.h" SIGNATURE_CHECK (fcntl, int, (int, int, ...)); /* Helpers. */ #include #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #endif #include "binary-io.h" #include "macros.h" #if !O_BINARY # define setmode(f,m) zero () static int zero (void) { return 0; } #endif /* Return true if FD is open. */ static bool is_open (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; #else # ifndef F_GETFL # error Please port fcntl to your platform # endif return 0 <= fcntl (fd, F_GETFL); #endif } /* Return true if FD is open and inheritable across exec/spawn. */ static bool is_inheritable (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ HANDLE h = (HANDLE) _get_osfhandle (fd); DWORD flags; if (h == INVALID_HANDLE_VALUE || GetHandleInformation (h, &flags) == 0) return false; return (flags & HANDLE_FLAG_INHERIT) != 0; #else # ifndef F_GETFD # error Please port fcntl to your platform # endif int i = fcntl (fd, F_GETFD); return 0 <= i && (i & FD_CLOEXEC) == 0; #endif } /* Return non-zero if FD is open in the given MODE, which is either O_TEXT or O_BINARY. */ static bool is_mode (int fd, int mode) { int value = setmode (fd, O_BINARY); setmode (fd, value); return mode == value; } /* Since native fcntl can have more supported operations than our replacement is aware of, and since various operations assign different types to the vararg argument, a wrapper around fcntl must be able to pass a vararg of unknown type on through to the original fcntl. Make sure that this works properly: func1 behaves like the original fcntl interpreting the vararg as an int or a pointer to a struct, and func2 behaves like rpl_fcntl that doesn't know what type to forward. */ struct dummy_struct { long filler; int value; }; static int func1 (int a, ...) { va_list arg; int i; va_start (arg, a); if (a < 4) i = va_arg (arg, int); else { struct dummy_struct *s = va_arg (arg, struct dummy_struct *); i = s->value; } va_end (arg); return i; } static int func2 (int a, ...) { va_list arg; void *p; va_start (arg, a); p = va_arg (arg, void *); va_end (arg); return func1 (a, p); } /* Ensure that all supported fcntl actions are distinct, and usable in preprocessor expressions. */ static void check_flags (void) { switch (0) { case F_DUPFD: #if F_DUPFD #endif case F_DUPFD_CLOEXEC: #if F_DUPFD_CLOEXEC #endif case F_GETFD: #if F_GETFD #endif #ifdef F_SETFD case F_SETFD: # if F_SETFD # endif #endif #ifdef F_GETFL case F_GETFL: # if F_GETFL # endif #endif #ifdef F_SETFL case F_SETFL: # if F_SETFL # endif #endif #ifdef F_GETOWN case F_GETOWN: # if F_GETOWN # endif #endif #ifdef F_SETOWN case F_SETOWN: # if F_SETOWN # endif #endif #ifdef F_GETLK case F_GETLK: # if F_GETLK # endif #endif #ifdef F_SETLK case F_SETLK: # if F_SETLK # endif #endif #ifdef F_SETLKW case F_SETLKW: # if F_SETLKW # endif #endif ; } } int main (void) { const char *file = "test-fcntl.tmp"; int fd; int bad_fd = getdtablesize (); /* Sanity check that rpl_fcntl is likely to work. */ ASSERT (func2 (1, 2) == 2); ASSERT (func2 (2, -2) == -2); ASSERT (func2 (3, 0x80000000) == 0x80000000); { struct dummy_struct s = { 0L, 4 }; ASSERT (func2 (4, &s) == 4); } check_flags (); /* Assume std descriptors were provided by invoker, and ignore fds that might have been inherited. */ fd = creat (file, 0600); ASSERT (STDERR_FILENO < fd); close (fd + 1); close (fd + 2); /* For F_DUPFD*, the source must be valid. */ errno = 0; ASSERT (fcntl (-1, F_DUPFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_DUPFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_DUPFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (-1, F_DUPFD_CLOEXEC, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_DUPFD_CLOEXEC, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_DUPFD_CLOEXEC, 0) == -1); ASSERT (errno == EBADF); /* For F_DUPFD*, the destination must be valid. */ errno = 0; ASSERT (fcntl (fd, F_DUPFD, -1) == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (fcntl (fd, F_DUPFD, bad_fd) == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, -1) == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, bad_fd) == -1); ASSERT (errno == EINVAL || errno == EMFILE /* WSL */); /* For F_DUPFD*, check for correct inheritance, as well as preservation of text vs. binary. */ setmode (fd, O_BINARY); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (!is_open (fd + 2)); ASSERT (is_inheritable (fd)); ASSERT (is_mode (fd, O_BINARY)); ASSERT (fcntl (fd, F_DUPFD, fd) == fd + 1); ASSERT (is_open (fd)); ASSERT (is_open (fd + 1)); ASSERT (!is_open (fd + 2)); ASSERT (is_inheritable (fd + 1)); ASSERT (is_mode (fd, O_BINARY)); ASSERT (is_mode (fd + 1, O_BINARY)); ASSERT (close (fd + 1) == 0); ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, fd + 2) == fd + 2); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (is_open (fd + 2)); ASSERT (is_inheritable (fd)); ASSERT (!is_inheritable (fd + 2)); ASSERT (is_mode (fd, O_BINARY)); ASSERT (is_mode (fd + 2, O_BINARY)); ASSERT (close (fd) == 0); setmode (fd + 2, O_TEXT); ASSERT (fcntl (fd + 2, F_DUPFD, fd + 1) == fd + 1); ASSERT (!is_open (fd)); ASSERT (is_open (fd + 1)); ASSERT (is_open (fd + 2)); ASSERT (is_inheritable (fd + 1)); ASSERT (!is_inheritable (fd + 2)); ASSERT (is_mode (fd + 1, O_TEXT)); ASSERT (is_mode (fd + 2, O_TEXT)); ASSERT (close (fd + 1) == 0); ASSERT (fcntl (fd + 2, F_DUPFD_CLOEXEC, 0) == fd); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (is_open (fd + 2)); ASSERT (!is_inheritable (fd)); ASSERT (!is_inheritable (fd + 2)); ASSERT (is_mode (fd, O_TEXT)); ASSERT (is_mode (fd + 2, O_TEXT)); ASSERT (close (fd + 2) == 0); /* Test F_GETFD on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_GETFD) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_GETFD) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_GETFD) == -1); ASSERT (errno == EBADF); /* Test F_GETFD, the FD_CLOEXEC bit. */ { int result = fcntl (fd, F_GETFD); ASSERT (0 <= result); ASSERT ((result & FD_CLOEXEC) == FD_CLOEXEC); ASSERT (dup (fd) == fd + 1); result = fcntl (fd + 1, F_GETFD); ASSERT (0 <= result); ASSERT ((result & FD_CLOEXEC) == 0); ASSERT (close (fd + 1) == 0); } #ifdef F_SETFD /* Test F_SETFD on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_SETFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_SETFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_SETFD, 0) == -1); ASSERT (errno == EBADF); #endif #ifdef F_GETFL /* Test F_GETFL on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_GETFL) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_GETFL) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_GETFL) == -1); ASSERT (errno == EBADF); #endif #ifdef F_SETFL /* Test F_SETFL on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_SETFL, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_SETFL, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_SETFL, 0) == -1); ASSERT (errno == EBADF); #endif #ifdef F_GETOWN /* Test F_GETOWN on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_GETOWN) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_GETOWN) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_GETOWN) == -1); ASSERT (errno == EBADF); #endif #ifdef F_SETOWN /* Test F_SETFL on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_SETOWN, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_SETOWN, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_SETOWN, 0) == -1); ASSERT (errno == EBADF); #endif /* Cleanup. */ ASSERT (close (fd) == 0); ASSERT (unlink (file) == 0); return 0; } gsasl-1.8.1/gltests/mbtowc-impl.h0000644000000000000000000000262713516251600013617 00000000000000/* Convert multibyte character to wide character. Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. 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 3 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, see . */ /* We don't need a static internal state, because the encoding is not state dependent, and when mbrtowc returns (size_t)(-2). we throw the result away. */ int mbtowc (wchar_t *pwc, const char *s, size_t n) { if (s == NULL) return 0; else { mbstate_t state; wchar_t wc; size_t result; memset (&state, 0, sizeof (mbstate_t)); result = mbrtowc (&wc, s, n, &state); if (result == (size_t)-1 || result == (size_t)-2) { errno = EILSEQ; return -1; } if (pwc != NULL) *pwc = wc; return (wc == 0 ? 0 : result); } } gsasl-1.8.1/gltests/test-langinfo.c0000644000000000000000000000357213516251600014132 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include #include /* Check that all the nl_item values are defined. */ int items[] = { /* nl_langinfo items of the LC_CTYPE category */ CODESET, /* nl_langinfo items of the LC_NUMERIC category */ RADIXCHAR, THOUSEP, /* nl_langinfo items of the LC_TIME category */ D_T_FMT, D_FMT, T_FMT, T_FMT_AMPM, AM_STR, PM_STR, DAY_1, DAY_2, DAY_3, DAY_4, DAY_5, DAY_6, DAY_7, ABDAY_1, ABDAY_2, ABDAY_3, ABDAY_4, ABDAY_5, ABDAY_6, ABDAY_7, MON_1, MON_2, MON_3, MON_4, MON_5, MON_6, MON_7, MON_8, MON_9, MON_10, MON_11, MON_12, ABMON_1, ABMON_2, ABMON_3, ABMON_4, ABMON_5, ABMON_6, ABMON_7, ABMON_8, ABMON_9, ABMON_10, ABMON_11, ABMON_12, ERA, ERA_D_FMT, ERA_D_T_FMT, ERA_T_FMT, ALT_DIGITS, /* nl_langinfo items of the LC_MONETARY category */ CRNCYSTR, /* nl_langinfo items of the LC_MESSAGES category */ YESEXPR, NOEXPR }; int main (void) { return 0; } gsasl-1.8.1/gltests/test-verify.sh0000755000000000000000000000132513516251601014027 00000000000000#!/bin/sh . "${srcdir=.}/init.sh" # We are not interested in triggering bugs in the compilers and tools # (such as gcc 4.3.1 on openSUSE 11.0). unset MALLOC_PERTURB_ # Rather than figure out how to invoke the compiler with the right # include path ourselves, we let make do it: (cd "$initial_cwd_" \ && rm -f test-verify-try.o \ && $MAKE test-verify-try.o >/dev/null 2>&1) \ || skip_ "cannot compile error-free" # Now, prove that we encounter all expected compilation failures: : >out : >err for i in 1 2 3 4 5; do (cd "$initial_cwd_" rm -f test-verify-try.o $MAKE CFLAGS=-DEXP_FAIL=$i test-verify-try.o) >>out 2>>err \ && { warn_ "compiler didn't detect verification failure $i"; fail=1; } done Exit $fail gsasl-1.8.1/gltests/test-shutdown.c0000644000000000000000000000237213516251601014206 00000000000000/* Test the shutdown() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (shutdown, int, (int, int)); #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { errno = 0; ASSERT (shutdown (-1, SHUT_RD) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (shutdown (99, SHUT_RD) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/gltests/test-mbrtowc3.sh0000755000000000000000000000057313516251600014266 00000000000000#!/bin/sh # Test whether a specific EUC-JP locale is installed. : ${LOCALE_JA=ja_JP} if test $LOCALE_JA = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no traditional japanese locale is installed" else echo "Skipping test: no traditional japanese locale is supported" fi exit 77 fi LC_ALL=$LOCALE_JA \ ${CHECKER} ./test-mbrtowc${EXEEXT} 3 gsasl-1.8.1/gltests/test-mbsinit.sh0000755000000000000000000000060113516251600014163 00000000000000#!/bin/sh # Test whether a specific UTF-8 locale is installed. : ${LOCALE_FR_UTF8=fr_FR.UTF-8} if test $LOCALE_FR_UTF8 = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no french Unicode locale is installed" else echo "Skipping test: no french Unicode locale is supported" fi exit 77 fi LC_ALL=$LOCALE_FR_UTF8 \ ${CHECKER} ./test-mbsinit${EXEEXT} gsasl-1.8.1/gltests/symlink.c0000644000000000000000000000263213516251600013042 00000000000000/* Stub for symlink(). Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include #include #if HAVE_SYMLINK # undef symlink /* Create a symlink, but reject trailing slash. */ int rpl_symlink (char const *contents, char const *name) { size_t len = strlen (name); if (len && name[len - 1] == '/') { struct stat st; if (lstat (name, &st) == 0) errno = EEXIST; return -1; } return symlink (contents, name); } #else /* !HAVE_SYMLINK */ /* The system does not support symlinks. */ int symlink (char const *contents _GL_UNUSED, char const *name _GL_UNUSED) { errno = ENOSYS; return -1; } #endif /* !HAVE_SYMLINK */ gsasl-1.8.1/gltests/test-quotearg.h0000644000000000000000000000745013516251601014171 00000000000000/* Test of quotearg family of functions. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2008. */ struct result_strings { char const *str1; /* Translation of "". */ char const *str2; /* Translation of "\0""1\0". */ size_t len2; /* Length of str2. */ char const *str3; /* Translation of "simple". */ char const *str4; /* Translation of " \t\n'\"\033?""?/\\". */ char const *str5; /* Translation of "a:b". */ char const *str6; /* Translation of "a\\b". */ char const *str7; /* Translation of "a' b". */ char const *str8a; /* Translation of LQ RQ, in ASCII charset. */ char const *str8b; /* Translation of LQ RQ, in Latin1 or UTF-8 charset. */ }; struct result_groups { struct result_strings group1; /* Via quotearg_buffer. */ struct result_strings group2; /* Via quotearg{,_mem}. */ struct result_strings group3; /* Via quotearg_colon{,_mem}. */ }; /* These quotes are borrowed from a pt_PT.utf8 translation. */ # define LQ "\302\253" # define RQ "\302\273" # define LQ_ENC "\\302\\253" # define RQ_ENC "\\302\\273" # define RQ_ESC "\\\302\273" static struct result_strings inputs = { "", "\0001\0", 3, "simple", " \t\n'\"\033?""?/\\", "a:b", "a\\b", "a' b", LQ RQ, NULL }; static void compare (char const *a, size_t la, char const *b, size_t lb) { ASSERT (la == lb); ASSERT (memcmp (a, b, la) == 0); ASSERT (b[lb] == '\0'); } static void compare_strings (char *(func) (char const *, size_t *), struct result_strings *results, bool ascii_only) { size_t len; char *p; len = 0; p = func (inputs.str1, &len); compare (results->str1, strlen (results->str1), p, len); len = inputs.len2; p = func (inputs.str2, &len); compare (results->str2, results->len2, p, len); len = SIZE_MAX; p = func (inputs.str3, &len); compare (results->str3, strlen (results->str3), p, len); len = strlen (inputs.str4); p = func (inputs.str4, &len); compare (results->str4, strlen (results->str4), p, len); len = SIZE_MAX; p = func (inputs.str5, &len); compare (results->str5, strlen (results->str5), p, len); len = strlen (inputs.str6); p = func (inputs.str6, &len); compare (results->str6, strlen (results->str6), p, len); len = strlen (inputs.str7); p = func (inputs.str7, &len); compare (results->str7, strlen (results->str7), p, len); len = strlen (inputs.str8a); p = func (inputs.str8a, &len); if (ascii_only) compare (results->str8a, strlen (results->str8a), p, len); else compare (results->str8b, strlen (results->str8b), p, len); } static char * use_quotearg_buffer (const char *str, size_t *len) { static char buf[100]; size_t size; memset (buf, 0xa5, 100); size = quotearg_buffer (buf, 100, str, *len, NULL); *len = size; ASSERT ((unsigned char) buf[size + 1] == 0xa5); return buf; } static char * use_quotearg (const char *str, size_t *len) { char *p = *len == SIZE_MAX ? quotearg (str) : quotearg_mem (str, *len); *len = strlen (p); return p; } static char * use_quotearg_colon (const char *str, size_t *len) { char *p = (*len == SIZE_MAX ? quotearg_colon (str) : quotearg_colon_mem (str, *len)); *len = strlen (p); return p; } gsasl-1.8.1/gltests/test-mbrtowc-w32-3.sh0000755000000000000000000000013413516251600014745 00000000000000#!/bin/sh # Test a CP932 locale. ${CHECKER} ./test-mbrtowc-w32${EXEEXT} Japanese_Japan 932 gsasl-1.8.1/gltests/test-lseek.c0000644000000000000000000000632313516251600013435 00000000000000/* Test of lseek() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake, 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (lseek, off_t, (int, off_t, int)); #include #include "macros.h" /* ARGC must be 2; *ARGV[1] is '0' if stdin and stdout are files, '1' if they are pipes, and '2' if they are closed. Check for proper semantics of lseek. */ int main (int argc, char **argv) { if (argc != 2) return 2; switch (*argv[1]) { case '0': /* regular files */ ASSERT (lseek (0, (off_t)2, SEEK_SET) == 2); ASSERT (lseek (0, (off_t)-4, SEEK_CUR) == -1); ASSERT (errno == EINVAL); errno = 0; #if ! defined __BEOS__ /* POSIX says that the last lseek call, when failing, does not change the current offset. But BeOS sets it to 0. */ ASSERT (lseek (0, (off_t)0, SEEK_CUR) == 2); #endif #if 0 /* leads to SIGSYS on IRIX 6.5 */ ASSERT (lseek (0, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1); ASSERT (errno == EINVAL); #endif ASSERT (lseek (1, (off_t)2, SEEK_SET) == 2); errno = 0; ASSERT (lseek (1, (off_t)-4, SEEK_CUR) == -1); ASSERT (errno == EINVAL); errno = 0; #if ! defined __BEOS__ /* POSIX says that the last lseek call, when failing, does not change the current offset. But BeOS sets it to 0. */ ASSERT (lseek (1, (off_t)0, SEEK_CUR) == 2); #endif #if 0 /* leads to SIGSYS on IRIX 6.5 */ ASSERT (lseek (1, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1); ASSERT (errno == EINVAL); #endif break; case '1': /* pipes */ errno = 0; ASSERT (lseek (0, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == ESPIPE); errno = 0; ASSERT (lseek (1, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == ESPIPE); break; case '2': /* closed */ /* Explicitly close file descriptors 0 and 1. The <&- and >&- in the invoking shell are not enough on HP-UX. */ close (0); close (1); errno = 0; ASSERT (lseek (0, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (lseek (1, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); /* Test behaviour for invalid file descriptors. */ errno = 0; ASSERT (lseek (-1, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); close (99); errno = 0; ASSERT (lseek (99, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); break; default: return 1; } return 0; } gsasl-1.8.1/gltests/test-getline.c0000644000000000000000000000463213516251600013762 00000000000000/* Test of getline() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (getline, ssize_t, (char **, size_t *, FILE *)); #include #include #include "macros.h" int main (void) { FILE *f; char *line; size_t len; ssize_t result; /* Create test file. */ f = fopen ("test-getline.txt", "wb"); if (!f || fwrite ("a\nA\nbc\nd\0f", 1, 10, f) != 10 || fclose (f) != 0) { fputs ("Failed to create sample file.\n", stderr); remove ("test-getline.txt"); return 1; } f = fopen ("test-getline.txt", "rb"); if (!f) { fputs ("Failed to reopen sample file.\n", stderr); remove ("test-getline.txt"); return 1; } /* Test initial allocation, which must include trailing NUL. */ line = NULL; len = 0; result = getline (&line, &len, f); ASSERT (result == 2); ASSERT (strcmp (line, "a\n") == 0); ASSERT (2 < len); free (line); /* Test initial allocation again, with line = NULL and len != 0. */ line = NULL; len = (size_t)(~0) / 4; result = getline (&line, &len, f); ASSERT (result == 2); ASSERT (strcmp (line, "A\n") == 0); ASSERT (2 < len); free (line); /* Test growth of buffer, must not leak. */ len = 1; line = malloc (len); result = getline (&line, &len, f); ASSERT (result == 3); ASSERT (strcmp (line, "bc\n") == 0); ASSERT (3 < len); /* Test embedded NULs and EOF behavior. */ result = getline (&line, &len, f); ASSERT (result == 3); ASSERT (memcmp (line, "d\0f", 4) == 0); ASSERT (3 < len); result = getline (&line, &len, f); ASSERT (result == -1); free (line); fclose (f); remove ("test-getline.txt"); return 0; } gsasl-1.8.1/gltests/localename-table.c0000644000000000000000000000267713516251573014563 00000000000000/* Table that maps a locale object to the names of the locale categories. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2018. */ #include #if HAVE_WORKING_USELOCALE && HAVE_NAMELESS_LOCALES /* Specification. */ #include "localename-table.h" #include /* A hash function for pointers. */ size_t _GL_ATTRIBUTE_CONST locale_hash_function (locale_t x) { uintptr_t p = (uintptr_t) x; size_t h = ((p % 4177) << 12) + ((p % 79) << 6) + (p % 61); return h; } struct locale_hash_node * locale_hash_table[LOCALE_HASH_TABLE_SIZE] /* = { NULL, ..., NULL } */; gl_rwlock_define_initialized(, locale_lock) #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif gsasl-1.8.1/gltests/localename-table.h0000644000000000000000000000553613516251573014565 00000000000000/* Table that maps a locale object to the names of the locale categories. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2018. */ #if HAVE_WORKING_USELOCALE && HAVE_NAMELESS_LOCALES # include # include # ifdef IN_LIBINTL # include "lock.h" # else # include "glthread/lock.h" # endif struct locale_categories_names { /* Locale category -> name (allocated with indefinite extent). */ const char *category_name[6]; }; /* A hash table of fixed size. Multiple threads can access it read-only simultaneously, but only one thread can insert into it or remove from it at the same time. This hash table has global scope, so that when an application uses both GNU libintl and gnulib, the application sees only one hash table. (When linking statically with libintl, the fact that localename-table.c is a separate compilation unit resolves the duplicate symbol conflict. When linking with libintl as a shared library, we rely on ELF and the symbol conflict resolution implemented in the ELF dynamic loader here.) Both the libintl overrides and the gnulib overrides of the functions newlocale, duplocale, freelocale see the same hash table (and the same lock). For this reason, the internal layout of the hash table and the hash function MUST NEVER CHANGE. If you need to change the internal layout or the hash function, introduce versioning by appending a version suffix to the symbols at the linker level. */ # define locale_hash_function libintl_locale_hash_function # define locale_hash_table libintl_locale_hash_table # define locale_lock libintl_locale_lock extern size_t _GL_ATTRIBUTE_CONST locale_hash_function (locale_t x); /* A node in a hash bucket collision list. */ struct locale_hash_node { struct locale_hash_node *next; locale_t locale; struct locale_categories_names names; }; # define LOCALE_HASH_TABLE_SIZE 101 extern struct locale_hash_node * locale_hash_table[LOCALE_HASH_TABLE_SIZE]; /* This lock protects the locale_hash_table against multiple simultaneous accesses (except that multiple simultaneous read accesses are allowed). */ gl_rwlock_define(extern, locale_lock) #endif gsasl-1.8.1/gltests/pthread_sigmask.c0000644000000000000000000000534013516251573014531 00000000000000/* POSIX compatible signal blocking for threads. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include #if PTHREAD_SIGMASK_INEFFECTIVE # include #endif #if PTHREAD_SIGMASK_UNBLOCK_BUG # include #endif int pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask) #undef pthread_sigmask { #if HAVE_PTHREAD_SIGMASK int ret; # if PTHREAD_SIGMASK_INEFFECTIVE sigset_t omask, omask_copy; sigset_t *old_mask_ptr = &omask; sigemptyset (&omask); /* Add a signal unlikely to be blocked, so that OMASK_COPY is unlikely to match the actual mask. */ sigaddset (&omask, SIGILL); memcpy (&omask_copy, &omask, sizeof omask); # else sigset_t *old_mask_ptr = old_mask; # endif ret = pthread_sigmask (how, new_mask, old_mask_ptr); # if PTHREAD_SIGMASK_INEFFECTIVE if (ret == 0) { /* Detect whether pthread_sigmask is currently ineffective. Don't cache the information: libpthread.so could be dynamically loaded after the program started and after pthread_sigmask was called for the first time. */ if (memcmp (&omask_copy, &omask, sizeof omask) == 0 && pthread_sigmask (1729, &omask_copy, NULL) == 0) { /* pthread_sigmask is currently ineffective. The program is not linked to -lpthread. So use sigprocmask instead. */ return (sigprocmask (how, new_mask, old_mask) < 0 ? errno : 0); } if (old_mask) memcpy (old_mask, &omask, sizeof omask); } # endif # if PTHREAD_SIGMASK_FAILS_WITH_ERRNO if (ret == -1) return errno; # endif # if PTHREAD_SIGMASK_UNBLOCK_BUG if (ret == 0 && new_mask != NULL && (how == SIG_UNBLOCK || how == SIG_SETMASK)) { /* Give the OS the opportunity to raise signals that were pending before the pthread_sigmask call and have now been unblocked. */ usleep (1); } # endif return ret; #else int ret = sigprocmask (how, new_mask, old_mask); return (ret < 0 ? errno : 0); #endif } gsasl-1.8.1/gltests/test-ctype.c0000644000000000000000000000154113516251574013465 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include int main (void) { return 0; } gsasl-1.8.1/gltests/test-fseek.c0000644000000000000000000000435513516251600013432 00000000000000/* Test of fseek() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if the user requested GNULIB_POSIXCHECK. */ #define _GL_NO_LARGE_FILES #include #include "signature.h" SIGNATURE_CHECK (fseek, int, (FILE *, long, int)); #include "macros.h" #ifndef FUNC_UNGETC_BROKEN # define FUNC_UNGETC_BROKEN 0 #endif int main (int argc, char **argv) { /* Assume stdin is non-empty, seekable, and starts with '#!/bin/sh' iff argc > 1. */ int expected = argc > 1 ? 0 : -1; ASSERT (fseek (stdin, 0, SEEK_CUR) == expected); if (argc > 1) { /* Test that fseek discards previously read ungetc data. */ int ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ungetc (ch, stdin) == ch); ASSERT (fseek (stdin, 2, SEEK_SET) == 0); ch = fgetc (stdin); ASSERT (ch == '/'); if (2 < argc) { if (FUNC_UNGETC_BROKEN) { fputs ("Skipping test: ungetc cannot handle arbitrary bytes\n", stderr); return 77; } /* Test that fseek discards random ungetc data. */ ASSERT (ungetc (ch ^ 0xff, stdin) == (ch ^ 0xff)); } ASSERT (fseek (stdin, 0, SEEK_END) == 0); ASSERT (fgetc (stdin) == EOF); /* Test that fseek resets end-of-file marker. */ ASSERT (feof (stdin)); ASSERT (fseek (stdin, 0, SEEK_END) == 0); ASSERT (!feof (stdin)); } return 0; } gsasl-1.8.1/gltests/fcntl.c0000644000000000000000000004434313516251573012500 00000000000000/* Provide file descriptor control. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake . */ #include /* Specification. */ #include #include #include #include #include #include #ifdef __KLIBC__ # define INCL_DOS # include #endif #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif /* Upper bound on getdtablesize(). See lib/getdtablesize.c. */ # define OPEN_MAX_MAX 0x10000 /* Duplicate OLDFD into the first available slot of at least NEWFD, which must be positive, with FLAGS determining whether the duplicate will be inheritable. */ static int dupfd (int oldfd, int newfd, int flags) { /* Mingw has no way to create an arbitrary fd. Iterate until all file descriptors less than newfd are filled up. */ HANDLE curr_process = GetCurrentProcess (); HANDLE old_handle = (HANDLE) _get_osfhandle (oldfd); unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT]; unsigned int fds_to_close_bound = 0; int result; BOOL inherit = flags & O_CLOEXEC ? FALSE : TRUE; int mode; if (newfd < 0 || getdtablesize () <= newfd) { errno = EINVAL; return -1; } if (old_handle == INVALID_HANDLE_VALUE || (mode = setmode (oldfd, O_BINARY)) == -1) { /* oldfd is not open, or is an unassigned standard file descriptor. */ errno = EBADF; return -1; } setmode (oldfd, mode); flags |= mode; for (;;) { HANDLE new_handle; int duplicated_fd; unsigned int index; if (!DuplicateHandle (curr_process, /* SourceProcessHandle */ old_handle, /* SourceHandle */ curr_process, /* TargetProcessHandle */ (PHANDLE) &new_handle, /* TargetHandle */ (DWORD) 0, /* DesiredAccess */ inherit, /* InheritHandle */ DUPLICATE_SAME_ACCESS)) /* Options */ { switch (GetLastError ()) { case ERROR_TOO_MANY_OPEN_FILES: errno = EMFILE; break; case ERROR_INVALID_HANDLE: case ERROR_INVALID_TARGET_HANDLE: case ERROR_DIRECT_ACCESS_HANDLE: errno = EBADF; break; case ERROR_INVALID_PARAMETER: case ERROR_INVALID_FUNCTION: case ERROR_INVALID_ACCESS: errno = EINVAL; break; default: errno = EACCES; break; } result = -1; break; } duplicated_fd = _open_osfhandle ((intptr_t) new_handle, flags); if (duplicated_fd < 0) { CloseHandle (new_handle); result = -1; break; } if (newfd <= duplicated_fd) { result = duplicated_fd; break; } /* Set the bit duplicated_fd in fds_to_close[]. */ index = (unsigned int) duplicated_fd / CHAR_BIT; if (fds_to_close_bound <= index) { if (sizeof fds_to_close <= index) /* Need to increase OPEN_MAX_MAX. */ abort (); memset (fds_to_close + fds_to_close_bound, '\0', index + 1 - fds_to_close_bound); fds_to_close_bound = index + 1; } fds_to_close[index] |= 1 << ((unsigned int) duplicated_fd % CHAR_BIT); } /* Close the previous fds that turned out to be too small. */ { int saved_errno = errno; unsigned int duplicated_fd; for (duplicated_fd = 0; duplicated_fd < fds_to_close_bound * CHAR_BIT; duplicated_fd++) if ((fds_to_close[duplicated_fd / CHAR_BIT] >> (duplicated_fd % CHAR_BIT)) & 1) close (duplicated_fd); errno = saved_errno; } # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (oldfd, result); # endif return result; } #endif /* W32 */ /* Forward declarations, because we '#undef fcntl' in the middle of this compilation unit. */ /* Our implementation of fcntl (fd, F_DUPFD, target). */ static int rpl_fcntl_DUPFD (int fd, int target); /* Our implementation of fcntl (fd, F_DUPFD_CLOEXEC, target). */ static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target); #ifdef __KLIBC__ /* Adds support for fcntl on directories. */ static int klibc_fcntl (int fd, int action, /* arg */...); #endif /* Perform the specified ACTION on the file descriptor FD, possibly using the argument ARG further described below. This replacement handles the following actions, and forwards all others on to the native fcntl. An unrecognized ACTION returns -1 with errno set to EINVAL. F_DUPFD - duplicate FD, with int ARG being the minimum target fd. If successful, return the duplicate, which will be inheritable; otherwise return -1 and set errno. F_DUPFD_CLOEXEC - duplicate FD, with int ARG being the minimum target fd. If successful, return the duplicate, which will not be inheritable; otherwise return -1 and set errno. F_GETFD - ARG need not be present. If successful, return a non-negative value containing the descriptor flags of FD (only FD_CLOEXEC is portable, but other flags may be present); otherwise return -1 and set errno. */ int fcntl (int fd, int action, /* arg */...) #undef fcntl #ifdef __KLIBC__ # define fcntl klibc_fcntl #endif { va_list arg; int result = -1; va_start (arg, action); switch (action) { case F_DUPFD: { int target = va_arg (arg, int); result = rpl_fcntl_DUPFD (fd, target); break; } case F_DUPFD_CLOEXEC: { int target = va_arg (arg, int); result = rpl_fcntl_DUPFD_CLOEXEC (fd, target); break; } #if !HAVE_FCNTL case F_GETFD: { # if defined _WIN32 && ! defined __CYGWIN__ HANDLE handle = (HANDLE) _get_osfhandle (fd); DWORD flags; if (handle == INVALID_HANDLE_VALUE || GetHandleInformation (handle, &flags) == 0) errno = EBADF; else result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC; # else /* !W32 */ /* Use dup2 to reject invalid file descriptors. No way to access this information, so punt. */ if (0 <= dup2 (fd, fd)) result = 0; # endif /* !W32 */ break; } /* F_GETFD */ #endif /* !HAVE_FCNTL */ /* Implementing F_SETFD on mingw is not trivial - there is no API for changing the O_NOINHERIT bit on an fd, and merely changing the HANDLE_FLAG_INHERIT bit on the underlying handle can lead to odd state. It may be possible by duplicating the handle, using _open_osfhandle with the right flags, then using dup2 to move the duplicate onto the original, but that is not supported for now. */ default: { #if HAVE_FCNTL switch (action) { #ifdef F_BARRIERFSYNC /* macOS */ case F_BARRIERFSYNC: #endif #ifdef F_CHKCLEAN /* macOS */ case F_CHKCLEAN: #endif #ifdef F_CLOSEM /* NetBSD, HP-UX */ case F_CLOSEM: #endif #ifdef F_FLUSH_DATA /* macOS */ case F_FLUSH_DATA: #endif #ifdef F_FREEZE_FS /* macOS */ case F_FREEZE_FS: #endif #ifdef F_FULLFSYNC /* macOS */ case F_FULLFSYNC: #endif #ifdef F_GETCONFINED /* macOS */ case F_GETCONFINED: #endif #ifdef F_GETDEFAULTPROTLEVEL /* macOS */ case F_GETDEFAULTPROTLEVEL: #endif #ifdef F_GETFD /* POSIX */ case F_GETFD: #endif #ifdef F_GETFL /* POSIX */ case F_GETFL: #endif #ifdef F_GETLEASE /* Linux */ case F_GETLEASE: #endif #ifdef F_GETNOSIGPIPE /* macOS */ case F_GETNOSIGPIPE: #endif #ifdef F_GETOWN /* POSIX */ case F_GETOWN: #endif #ifdef F_GETPIPE_SZ /* Linux */ case F_GETPIPE_SZ: #endif #ifdef F_GETPROTECTIONCLASS /* macOS */ case F_GETPROTECTIONCLASS: #endif #ifdef F_GETPROTECTIONLEVEL /* macOS */ case F_GETPROTECTIONLEVEL: #endif #ifdef F_GET_SEALS /* Linux */ case F_GET_SEALS: #endif #ifdef F_GETSIG /* Linux */ case F_GETSIG: #endif #ifdef F_MAXFD /* NetBSD */ case F_MAXFD: #endif #ifdef F_RECYCLE /* macOS */ case F_RECYCLE: #endif #ifdef F_SETFIFOENH /* HP-UX */ case F_SETFIFOENH: #endif #ifdef F_THAW_FS /* macOS */ case F_THAW_FS: #endif /* These actions take no argument. */ result = fcntl (fd, action); break; #ifdef F_ADD_SEALS /* Linux */ case F_ADD_SEALS: #endif #ifdef F_BADFD /* Solaris */ case F_BADFD: #endif #ifdef F_CHECK_OPENEVT /* macOS */ case F_CHECK_OPENEVT: #endif #ifdef F_DUP2FD /* FreeBSD, AIX, Solaris */ case F_DUP2FD: #endif #ifdef F_DUP2FD_CLOEXEC /* FreeBSD, Solaris */ case F_DUP2FD_CLOEXEC: #endif #ifdef F_DUP2FD_CLOFORK /* Solaris */ case F_DUP2FD_CLOFORK: #endif #ifdef F_DUPFD /* POSIX */ case F_DUPFD: #endif #ifdef F_DUPFD_CLOEXEC /* POSIX */ case F_DUPFD_CLOEXEC: #endif #ifdef F_DUPFD_CLOFORK /* Solaris */ case F_DUPFD_CLOFORK: #endif #ifdef F_GETXFL /* Solaris */ case F_GETXFL: #endif #ifdef F_GLOBAL_NOCACHE /* macOS */ case F_GLOBAL_NOCACHE: #endif #ifdef F_MAKECOMPRESSED /* macOS */ case F_MAKECOMPRESSED: #endif #ifdef F_MOVEDATAEXTENTS /* macOS */ case F_MOVEDATAEXTENTS: #endif #ifdef F_NOCACHE /* macOS */ case F_NOCACHE: #endif #ifdef F_NODIRECT /* macOS */ case F_NODIRECT: #endif #ifdef F_NOTIFY /* Linux */ case F_NOTIFY: #endif #ifdef F_OPLKACK /* IRIX */ case F_OPLKACK: #endif #ifdef F_OPLKREG /* IRIX */ case F_OPLKREG: #endif #ifdef F_RDAHEAD /* macOS */ case F_RDAHEAD: #endif #ifdef F_SETBACKINGSTORE /* macOS */ case F_SETBACKINGSTORE: #endif #ifdef F_SETCONFINED /* macOS */ case F_SETCONFINED: #endif #ifdef F_SETFD /* POSIX */ case F_SETFD: #endif #ifdef F_SETFL /* POSIX */ case F_SETFL: #endif #ifdef F_SETLEASE /* Linux */ case F_SETLEASE: #endif #ifdef F_SETNOSIGPIPE /* macOS */ case F_SETNOSIGPIPE: #endif #ifdef F_SETOWN /* POSIX */ case F_SETOWN: #endif #ifdef F_SETPIPE_SZ /* Linux */ case F_SETPIPE_SZ: #endif #ifdef F_SETPROTECTIONCLASS /* macOS */ case F_SETPROTECTIONCLASS: #endif #ifdef F_SETSIG /* Linux */ case F_SETSIG: #endif #ifdef F_SINGLE_WRITER /* macOS */ case F_SINGLE_WRITER: #endif /* These actions take an 'int' argument. */ { int x = va_arg (arg, int); result = fcntl (fd, action, x); } break; default: /* Other actions take a pointer argument. */ { void *p = va_arg (arg, void *); result = fcntl (fd, action, p); } break; } #else errno = EINVAL; #endif break; } } va_end (arg); return result; } static int rpl_fcntl_DUPFD (int fd, int target) { int result; #if !HAVE_FCNTL result = dupfd (fd, target, 0); #elif FCNTL_DUPFD_BUGGY || REPLACE_FCHDIR /* Detect invalid target; needed for cygwin 1.5.x. */ if (target < 0 || getdtablesize () <= target) { result = -1; errno = EINVAL; } else { /* Haiku alpha 2 loses fd flags on original. */ int flags = fcntl (fd, F_GETFD); if (flags < 0) result = -1; else { result = fcntl (fd, F_DUPFD, target); if (0 <= result && fcntl (fd, F_SETFD, flags) == -1) { int saved_errno = errno; close (result); result = -1; errno = saved_errno; } # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif } } #else result = fcntl (fd, F_DUPFD, target); #endif return result; } static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target) { int result; #if !HAVE_FCNTL result = dupfd (fd, target, O_CLOEXEC); #else /* HAVE_FCNTL */ # if defined __HAIKU__ /* On Haiku, the system fcntl (fd, F_DUPFD_CLOEXEC, target) sets the FD_CLOEXEC flag on fd, not on target. Therefore avoid the system fcntl in this case. */ # define have_dupfd_cloexec -1 # else /* Try the system call first, if the headers claim it exists (that is, if GNULIB_defined_F_DUPFD_CLOEXEC is 0), since we may be running with a glibc that has the macro but with an older kernel that does not support it. Cache the information on whether the system call really works, but avoid caching failure if the corresponding F_DUPFD fails for any reason. 0 = unknown, 1 = yes, -1 = no. */ static int have_dupfd_cloexec = GNULIB_defined_F_DUPFD_CLOEXEC ? -1 : 0; if (0 <= have_dupfd_cloexec) { result = fcntl (fd, F_DUPFD_CLOEXEC, target); if (0 <= result || errno != EINVAL) { have_dupfd_cloexec = 1; # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif } else { result = rpl_fcntl_DUPFD (fd, target); if (result >= 0) have_dupfd_cloexec = -1; } } else # endif result = rpl_fcntl_DUPFD (fd, target); if (0 <= result && have_dupfd_cloexec == -1) { int flags = fcntl (result, F_GETFD); if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) { int saved_errno = errno; close (result); errno = saved_errno; result = -1; } } #endif /* HAVE_FCNTL */ return result; } #undef fcntl #ifdef __KLIBC__ static int klibc_fcntl (int fd, int action, /* arg */...) { va_list arg_ptr; int arg; struct stat sbuf; int result; va_start (arg_ptr, action); arg = va_arg (arg_ptr, int); result = fcntl (fd, action, arg); /* EPERM for F_DUPFD, ENOTSUP for others */ if (result == -1 && (errno == EPERM || errno == ENOTSUP) && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) { ULONG ulMode; switch (action) { case F_DUPFD: /* Find available fd */ while (fcntl (arg, F_GETFL) != -1 || errno != EBADF) arg++; result = dup2 (fd, arg); break; /* Using underlying APIs is right ? */ case F_GETFD: if (DosQueryFHState (fd, &ulMode)) break; result = (ulMode & OPEN_FLAGS_NOINHERIT) ? FD_CLOEXEC : 0; break; case F_SETFD: if (arg & ~FD_CLOEXEC) break; if (DosQueryFHState (fd, &ulMode)) break; if (arg & FD_CLOEXEC) ulMode |= OPEN_FLAGS_NOINHERIT; else ulMode &= ~OPEN_FLAGS_NOINHERIT; /* Filter supported flags. */ ulMode &= (OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT); if (DosSetFHState (fd, ulMode)) break; result = 0; break; case F_GETFL: result = 0; break; case F_SETFL: if (arg != 0) break; result = 0; break; default: errno = EINVAL; break; } } va_end (arg_ptr); return result; } #endif gsasl-1.8.1/gltests/test-fgetc.c0000644000000000000000000000476513516251600013432 00000000000000/* Test of fgetc() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fgetc, int, (FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fgetc.txt"; /* We don't have an fgetc() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Prepare a file. */ { const char text[] = "hello world"; int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600); ASSERT (fd >= 0); ASSERT (write (fd, text, sizeof (text)) == sizeof (text)); ASSERT (close (fd) == 0); } /* Test that fgetc() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "r"); ASSERT (fp != NULL); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fgetc (fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fgetc() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "r"); if (fp != NULL) { errno = 0; ASSERT (fgetc (fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "r"); if (fp != NULL) { errno = 0; ASSERT (fgetc (fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/gltests/test-mbrtowc-w32-5.sh0000755000000000000000000000013313516251600014746 00000000000000#!/bin/sh # Test a CP936 locale. ${CHECKER} ./test-mbrtowc-w32${EXEEXT} Chinese_China 936 gsasl-1.8.1/gltests/test-vc-list-files-git.sh0000755000000000000000000000265513516251601015774 00000000000000#!/bin/sh # Unit tests for vc-list-files # Copyright (C) 2008-2019 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # 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 3 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, see . */ : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ . tmpdir=vc-git-$$ GIT_DIR= GIT_WORK_TREE=; unset GIT_DIR GIT_WORK_TREE fail=1 mkdir $tmpdir && cd $tmpdir && # without git, skip the test # The double use of 'exit' is needed for the reference to $? inside the trap. { ( git init -q ) > /dev/null 2>&1 \ || skip_ "git not found in PATH"; } && mkdir d && touch d/a b c && git config user.email "you@example.com" && git config user.name "Your Name" && git add . > /dev/null && git commit -q -a -m log && printf '%s\n' b c d/a > expected && $BOURNE_SHELL "$abs_aux_dir/vc-list-files" > actual && compare expected actual && fail=0 Exit $fail gsasl-1.8.1/gltests/init.sh0000644000000000000000000005422713516251577012533 00000000000000# source this file; set up for tests # Copyright (C) 2009-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see . # Using this file in a test # ========================= # # The typical skeleton of a test looks like this: # # #!/bin/sh # . "${srcdir=.}/init.sh"; path_prepend_ . # Execute some commands. # Note that these commands are executed in a subdirectory, therefore you # need to prepend "../" to relative filenames in the build directory. # Note that the "path_prepend_ ." is useful only if the body of your # test invokes programs residing in the initial directory. # For example, if the programs you want to test are in src/, and this test # script is named tests/test-1, then you would use "path_prepend_ ../src", # or perhaps export PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" # to all tests via automake's TESTS_ENVIRONMENT. # Set the exit code 0 for success, 77 for skipped, or 1 or other for failure. # Use the skip_ and fail_ functions to print a diagnostic and then exit # with the corresponding exit code. # Exit $? # Executing a test that uses this file # ==================================== # # Running a single test: # $ make check TESTS=test-foo.sh # # Running a single test, with verbose output: # $ make check TESTS=test-foo.sh VERBOSE=yes # # Running a single test, keeping the temporary directory: # $ make check TESTS=test-foo.sh KEEP=yes # # Running a single test, with single-stepping: # 1. Go into a sub-shell: # $ bash # 2. Set relevant environment variables from TESTS_ENVIRONMENT in the # Makefile: # $ export srcdir=../../tests # this is an example # 3. Execute the commands from the test, copy&pasting them one by one: # $ . "$srcdir/init.sh"; path_prepend_ . # ... # 4. Finally # $ exit # ============================================================================= # Elementary diagnostics ME_=`expr "./$0" : '.*/\(.*\)$'` # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # We use a trap below for cleanup. This requires us to go through # hoops to get the right exit status transported through the handler. # So use 'Exit STATUS' instead of 'exit STATUS' inside of the tests. # Turn off errexit here so that we don't trip the bug with OSF1/Tru64 # sh inside this function. Exit () { set +e; (exit $1); exit $1; } # Print warnings (e.g., about skipped and failed tests) to this file number. # Override by defining to say, 9, in init.cfg, and putting say, # export ...ENVVAR_SETTINGS...; $(SHELL) 9>&2 # in the definition of TESTS_ENVIRONMENT in your tests/Makefile.am file. # This is useful when using automake's parallel tests mode, to print # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} # Note that correct expansion of "$*" depends on IFS starting with ' '. # Always write the full diagnostic to stderr. # When stderr_fileno_ is not 2, also emit the first line of the # diagnostic to that file descriptor. warn_ () { # If IFS does not start with ' ', set it and emit the warning in a subshell. case $IFS in ' '*) printf '%s\n' "$*" >&2 test $stderr_fileno_ = 2 \ || { printf '%s\n' "$*" | sed 1q >&$stderr_fileno_ ; } ;; *) (IFS=' '; warn_ "$@");; esac } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } fatal_ () { warn_ "$ME_: hard error: $@"; Exit 99; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } # ============================================================================= # Ensure the shell supports modern syntax. # Sanitize this shell to POSIX mode, if possible. DUALCASE=1; export DUALCASE if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # We require $(...) support unconditionally. # We require non-surprising "local" semantics (this eliminates dash). # This takes the admittedly draconian step of eliminating dash, because the # assignment tab=$(printf '\t') works fine, yet preceding it with "local " # transforms it into an assignment that sets the variable to the empty string. # That is too counter-intuitive, and can lead to subtle run-time malfunction. # The example below is less subtle in that with dash, it evokes the run-time # exception "dash: 1: local: 1: bad variable name". # We require a few additional shell features only when $EXEEXT is nonempty, # in order to support automatic $EXEEXT emulation: # - hyphen-containing alias names # - we prefer to use ${var#...} substitution, rather than having # to work around lack of support for that feature. # The following code attempts to find a shell with support for these features. # If the current shell passes the test, we're done. Otherwise, test other # shells until we find one that passes. If one is found, re-exec it. # If no acceptable shell is found, skip the current test. # # The "...set -x; P=1 true 2>err..." test is to disqualify any shell that # emits "P=1" into err, as /bin/sh from SunOS 5.11 and OpenBSD 4.7 do. # # Use "9" to indicate success (rather than 0), in case some shell acts # like Solaris 10's /bin/sh but exits successfully instead of with status 2. # Eval this code in a subshell to determine a shell's suitability. # 10 - passes all tests; ok to use # 9 - ok, but enabling "set -x" corrupts app stderr; prefer higher score # ? - not ok gl_shell_test_script_=' test $(echo y) = y || exit 1 f_local_() { local v=1; }; f_local_ || exit 1 f_dash_local_fail_() { local t=$(printf " 1"); }; f_dash_local_fail_ score_=10 if test "$VERBOSE" = yes; then test -n "$( (exec 3>&1; set -x; P=1 true 2>&3) 2> /dev/null)" && score_=9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b="echo zoo" v=abx test ${v%x} = ab \ && test ${v#a} = bx \ && test $(a-b) = zoo \ && exit $score_ ' if test "x$1" = "x--no-reexec"; then shift else # Assume a working shell. Export to subshells (setup_ needs this). gl_set_x_corrupts_stderr_=false export gl_set_x_corrupts_stderr_ # Record the first marginally acceptable shell. marginal_= # Search for a shell that meets our requirements. for re_shell_ in __current__ "${CONFIG_SHELL:-no_shell}" \ /bin/sh bash dash zsh pdksh fail do test "$re_shell_" = no_shell && continue # If we've made it all the way to the sentinel, "fail" without # finding even a marginal shell, skip this test. if test "$re_shell_" = fail; then test -z "$marginal_" && skip_ failed to find an adequate shell re_shell_=$marginal_ break fi # When testing the current shell, simply "eval" the test code. # Otherwise, run it via $re_shell_ -c ... if test "$re_shell_" = __current__; then # 'eval'ing this code makes Solaris 10's /bin/sh exit with # $? set to 2. It does not evaluate any of the code after the # "unexpected" first '('. Thus, we must run it in a subshell. ( eval "$gl_shell_test_script_" ) > /dev/null 2>&1 else "$re_shell_" -c "$gl_shell_test_script_" 2>/dev/null fi st_=$? # $re_shell_ works just fine. Use it. if test $st_ = 10; then gl_set_x_corrupts_stderr_=false break fi # If this is our first marginally acceptable shell, remember it. if test "$st_:$marginal_" = 9: ; then marginal_="$re_shell_" gl_set_x_corrupts_stderr_=true fi done if test "$re_shell_" != __current__; then # Found a usable shell. Preserve -v and -x. case $- in *v*x* | *x*v*) opts_=-vx ;; *v*) opts_=-v ;; *x*) opts_=-x ;; *) opts_= ;; esac re_shell=$re_shell_ export re_shell exec "$re_shell_" $opts_ "$0" --no-reexec "$@" echo "$ME_: exec failed" 1>&2 exit 127 fi fi # ============================================================================= # Ensure the shell behaves reasonably. # If this is bash, turn off all aliases. test -n "$BASH_VERSION" && unalias -a # Note that when supporting $EXEEXT (transparently mapping from PROG_NAME to # PROG_NAME.exe), we want to support hyphen-containing names like test-acos. # That is part of the shell-selection test above. Why use aliases rather # than functions? Because support for hyphen-containing aliases is more # widespread than that for hyphen-containing function names. test -n "$EXEEXT" && test -n "$BASH_VERSION" && shopt -s expand_aliases # ============================================================================= # Creating a temporary directory (needed by the core test framework) # Create a temporary directory, much like mktemp -d does. # Written by Jim Meyering. # # Usage: mktempd_ /tmp phoey.XXXXXXXXXX # # First, try to use the mktemp program. # Failing that, we'll roll our own mktemp-like function: # - try to get random bytes from /dev/urandom # - failing that, generate output from a combination of quickly-varying # sources and gzip. Ignore non-varying gzip header, and extract # "random" bits from there. # - given those bits, map to file-name bytes using tr, and try to create # the desired directory. # - make only $MAX_TRIES_ attempts # Helper function. Print $N pseudo-random bytes from a-zA-Z0-9. rand_bytes_ () { n_=$1 # Maybe try openssl rand -base64 $n_prime_|tr '+/=\012' abcd first? # But if they have openssl, they probably have mktemp, too. chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 dev_rand_=/dev/urandom if test -r "$dev_rand_"; then # Note: 256-length($chars_) == 194; 3 copies of $chars_ is 186 + 8 = 194. dd ibs=$n_ count=1 if=$dev_rand_ 2>/dev/null \ | LC_ALL=C tr -c $chars_ 01234567$chars_$chars_$chars_ return fi n_plus_50_=`expr $n_ + 50` cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef' data_=` (eval "$cmds_") 2>&1 | gzip ` # Ensure that $data_ has length at least 50+$n_ while :; do len_=`echo "$data_"|wc -c` test $n_plus_50_ -le $len_ && break; data_=` (echo "$data_"; eval "$cmds_") 2>&1 | gzip ` done echo "$data_" \ | dd bs=1 skip=50 count=$n_ 2>/dev/null \ | LC_ALL=C tr -c $chars_ 01234567$chars_$chars_$chars_ } mktempd_ () { case $# in 2);; *) fail_ "Usage: mktempd_ DIR TEMPLATE";; esac destdir_=$1 template_=$2 MAX_TRIES_=4 # Disallow any trailing slash on specified destdir: # it would subvert the post-mktemp "case"-based destdir test. case $destdir_ in / | //) destdir_slash_=$destdir;; */) fail_ "invalid destination dir: remove trailing slash(es)";; *) destdir_slash_=$destdir_/;; esac case $template_ in *XXXX) ;; *) fail_ \ "invalid template: $template_ (must have a suffix of at least 4 X's)";; esac # First, try to use mktemp. d=`unset TMPDIR; { mktemp -d -t -p "$destdir_" "$template_"; } 2>/dev/null` && # The resulting name must be in the specified directory. case $d in "$destdir_slash_"*) :;; *) false;; esac && # It must have created the directory. test -d "$d" && # It must have 0700 permissions. Handle sticky "S" bits. perms=`ls -dgo "$d" 2>/dev/null` && case $perms in drwx--[-S]---*) :;; *) false;; esac && { echo "$d" return } # If we reach this point, we'll have to create a directory manually. # Get a copy of the template without its suffix of X's. base_template_=`echo "$template_"|sed 's/XX*$//'` # Calculate how many X's we've just removed. template_length_=`echo "$template_" | wc -c` nx_=`echo "$base_template_" | wc -c` nx_=`expr $template_length_ - $nx_` err_= i_=1 while :; do X_=`rand_bytes_ $nx_` candidate_dir_="$destdir_slash_$base_template_$X_" err_=`mkdir -m 0700 "$candidate_dir_" 2>&1` \ && { echo "$candidate_dir_"; return; } test $MAX_TRIES_ -le $i_ && break; i_=`expr $i_ + 1` done fail_ "$err_" } # ============================================================================= # Core test framework # An arbitrary prefix to help distinguish test directories. testdir_prefix_ () { printf gt; } # Set up the environment for the test to run in. setup_ () { if test "$VERBOSE" = yes; then # Test whether set -x may cause the selected shell to corrupt an # application's stderr. Many do, including zsh-4.3.10 and the /bin/sh # from SunOS 5.11, OpenBSD 4.7 and Irix 5.x and 6.5. # If enabling verbose output this way would cause trouble, simply # issue a warning and refrain. if $gl_set_x_corrupts_stderr_; then warn_ "using SHELL=$SHELL with 'set -x' corrupts stderr" else set -x fi fi initial_cwd_=$PWD # Create and enter the temporary directory. pfx_=`testdir_prefix_` test_dir_=`mktempd_ "$initial_cwd_" "$pfx_-$ME_.XXXX"` \ || fail_ "failed to create temporary directory in $initial_cwd_" cd "$test_dir_" || fail_ "failed to cd to temporary directory" # Set variables srcdir, builddir, for the convenience of the test. case $srcdir in /* | ?:*) ;; *) srcdir="../$srcdir" ;; esac builddir=".." export srcdir builddir # As autoconf-generated configure scripts do, ensure that IFS # is defined initially, so that saving and restoring $IFS works. gl_init_sh_nl_=' ' IFS=" "" $gl_init_sh_nl_" # This trap statement, along with a trap on 0 below, ensure that the # temporary directory, $test_dir_, is removed upon exit as well as # upon receipt of any of the listed signals. for sig_ in 1 2 3 13 15; do eval "trap 'Exit $(expr $sig_ + 128)' $sig_" done } # This is a stub function that is run upon trap (upon regular exit and # interrupt). Override it with a per-test function, e.g., to unmount # a partition, or to undo any other global state changes. cleanup_ () { :; } # Run the user-overridable cleanup_ function, remove the temporary # directory and exit with the incoming value of $?. remove_tmp_ () { __st=$? cleanup_ if test "$KEEP" = yes; then echo "Not removing temporary directory $test_dir_" else # cd out of the directory we're about to remove cd "$initial_cwd_" || cd / || cd /tmp chmod -R u+rwx "$test_dir_" # If removal fails and exit status was to be 0, then change it to 1. rm -rf "$test_dir_" || { test $__st = 0 && __st=1; } fi exit $__st } # ============================================================================= # Prepending directories to PATH # Given a directory name, DIR, if every entry in it that matches *.exe # contains only the specified bytes (see the case stmt below), then print # a space-separated list of those names and return 0. Otherwise, don't # print anything and return 1. Naming constraints apply also to DIR. find_exe_basenames_ () { feb_dir_=$1 feb_fail_=0 feb_result_= feb_sp_= for feb_file_ in $feb_dir_/*.exe; do # If there was no *.exe file, or there existed a file named "*.exe" that # was deleted between the above glob expansion and the existence test # below, just skip it. test "x$feb_file_" = "x$feb_dir_/*.exe" && test ! -f "$feb_file_" \ && continue # Exempt [.exe, since we can't create a function by that name, yet # we can't invoke [ by PATH search anyways due to shell builtins. test "x$feb_file_" = "x$feb_dir_/[.exe" && continue case $feb_file_ in *[!-a-zA-Z/0-9_.+]*) feb_fail_=1; break;; *) # Remove leading file name components as well as the .exe suffix. feb_file_=${feb_file_##*/} feb_file_=${feb_file_%.exe} feb_result_="$feb_result_$feb_sp_$feb_file_";; esac feb_sp_=' ' done test $feb_fail_ = 0 && printf %s "$feb_result_" return $feb_fail_ } # Consider the files in directory, $1. # For each file name of the form PROG.exe, create an alias named # PROG that simply invokes PROG.exe, then return 0. If any selected # file name or the directory name, $1, contains an unexpected character, # define no alias and return 1. create_exe_shims_ () { case $EXEEXT in '') return 0 ;; .exe) ;; *) echo "$0: unexpected \$EXEEXT value: $EXEEXT" 1>&2; return 1 ;; esac base_names_=`find_exe_basenames_ $1` \ || { echo "$0 (exe_shim): skipping directory: $1" 1>&2; return 0; } if test -n "$base_names_"; then for base_ in $base_names_; do alias "$base_"="$base_$EXEEXT" done fi return 0 } # Use this function to prepend to PATH an absolute name for each # specified, possibly-$initial_cwd_-relative, directory. path_prepend_ () { while test $# != 0; do path_dir_=$1 case $path_dir_ in '') fail_ "invalid path dir: '$1'";; /* | ?:*) abs_path_dir_=$path_dir_;; *) abs_path_dir_=$initial_cwd_/$path_dir_;; esac case $abs_path_dir_ in *$PATH_SEPARATOR*) fail_ "invalid path dir: '$abs_path_dir_'";; esac PATH="$abs_path_dir_$PATH_SEPARATOR$PATH" # Create an alias, FOO, for each FOO.exe in this directory. create_exe_shims_ "$abs_path_dir_" \ || fail_ "something failed (above): $abs_path_dir_" shift done export PATH } # ============================================================================= # Convenience environment variables for the tests # ----------------------------------------------------------------------------- # Enable glibc's malloc-perturbing option. # This is useful for exposing code that depends on the fact that # malloc-related functions often return memory that is mostly zeroed. # If you have the time and cycles, use valgrind to do an even better job. : ${MALLOC_PERTURB_=87} export MALLOC_PERTURB_ # ----------------------------------------------------------------------------- # The interpreter for Bourne-shell scripts. # No special standards compatibility requirements. # Some environments, such as Android, don't have /bin/sh. if test -f /bin/sh$EXEEXT; then BOURNE_SHELL=/bin/sh else BOURNE_SHELL=sh fi # ============================================================================= # Convenience functions for the tests # ----------------------------------------------------------------------------- # Return value checking # This is used to simplify checking of the return value # which is useful when ensuring a command fails as desired. # I.e., just doing `command ... &&fail=1` will not catch # a segfault in command for example. With this helper you # instead check an explicit exit code like # returns_ 1 command ... || fail returns_ () { # Disable tracing so it doesn't interfere with stderr of the wrapped command { set +x; } 2>/dev/null local exp_exit="$1" shift "$@" test $? -eq $exp_exit && ret_=0 || ret_=1 if test "$VERBOSE" = yes && test "$gl_set_x_corrupts_stderr_" = false; then set -x fi { return $ret_; } 2>/dev/null } # ----------------------------------------------------------------------------- # Text file comparison # Emit a header similar to that from diff -u; Print the simulated "diff" # command so that the order of arguments is clear. Don't bother with @@ lines. emit_diff_u_header_ () { printf '%s\n' "diff -u $*" \ "--- $1 1970-01-01" \ "+++ $2 1970-01-01" } # Arrange not to let diff or cmp operate on /dev/null, # since on some systems (at least OSF/1 5.1), that doesn't work. # When there are not two arguments, or no argument is /dev/null, return 2. # When one argument is /dev/null and the other is not empty, # cat the nonempty file to stderr and return 1. # Otherwise, return 0. compare_dev_null_ () { test $# = 2 || return 2 if test "x$1" = x/dev/null; then test -s "$2" || return 0 emit_diff_u_header_ "$@"; sed 's/^/+/' "$2" return 1 fi if test "x$2" = x/dev/null; then test -s "$1" || return 0 emit_diff_u_header_ "$@"; sed 's/^/-/' "$1" return 1 fi return 2 } for diff_opt_ in -u -U3 -c '' no; do test "$diff_opt_" != no && diff_out_=`exec 2>/dev/null; diff $diff_opt_ "$0" "$0" < /dev/null` && break done if test "$diff_opt_" != no; then if test -z "$diff_out_"; then compare_ () { diff $diff_opt_ "$@"; } else compare_ () { # If no differences were found, AIX and HP-UX 'diff' produce output # like "No differences encountered". Hide this output. diff $diff_opt_ "$@" > diff.out diff_status_=$? test $diff_status_ -eq 0 || cat diff.out || diff_status_=2 rm -f diff.out || diff_status_=2 return $diff_status_ } fi elif cmp -s /dev/null /dev/null 2>/dev/null; then compare_ () { cmp -s "$@"; } else compare_ () { cmp "$@"; } fi # Usage: compare EXPECTED ACTUAL # # Given compare_dev_null_'s preprocessing, defer to compare_ if 2 or more. # Otherwise, propagate $? to caller: any diffs have already been printed. compare () { # This looks like it can be factored to use a simple "case $?" # after unchecked compare_dev_null_ invocation, but that would # fail in a "set -e" environment. if compare_dev_null_ "$@"; then return 0 else case $? in 1) return 1;; *) compare_ "$@";; esac fi } # ----------------------------------------------------------------------------- # If you want to override the testdir_prefix_ function, # or to add more utility functions, use this file. test -f "$srcdir/init.cfg" \ && . "$srcdir/init.cfg" # ============================================================================= # Set up the environment for the test to run in. setup_ "$@" # This trap is here, rather than in the setup_ function, because some # shells run the exit trap at shell function exit, rather than script exit. trap remove_tmp_ 0 gsasl-1.8.1/gltests/test-wcrtomb-w32-4.sh0000755000000000000000000000013413516251601014747 00000000000000#!/bin/sh # Test a CP950 locale. ${CHECKER} ./test-wcrtomb-w32${EXEEXT} Chinese_Taiwan 950 gsasl-1.8.1/gltests/test-binary-io.c0000644000000000000000000000305413516251600014221 00000000000000/* Test of binary mode I/O. Copyright (C) 2005, 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #include "binary-io.h" #include #include #include #include #include #include #include "macros.h" int main (int argc, char *argv[]) { /* Test the O_BINARY macro. */ { int fd = open ("t-bin-out0.tmp", O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0600); if (write (fd, "Hello\n", 6) < 0) exit (1); close (fd); } { struct stat statbuf; if (stat ("t-bin-out0.tmp", &statbuf) < 0) exit (1); ASSERT (statbuf.st_size == 6); } switch (argv[1][0]) { case '1': /* Test the set_binary_mode() function. */ set_binary_mode (1, O_BINARY); fputs ("Hello\n", stdout); break; default: break; } return 0; } gsasl-1.8.1/gltests/test-netinet_in.c0000644000000000000000000000156613516251600014472 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include int main (void) { return 0; } gsasl-1.8.1/gltests/malloca.h0000644000000000000000000001062213516251600012767 00000000000000/* Safe automatic memory allocation. Copyright (C) 2003-2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2003. 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 3, 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, see . */ #ifndef _MALLOCA_H #define _MALLOCA_H #include #include #include #include #include "xalloc-oversized.h" #ifdef __cplusplus extern "C" { #endif /* safe_alloca(N) is equivalent to alloca(N) when it is safe to call alloca(N); otherwise it returns NULL. It either returns N bytes of memory allocated on the stack, that lasts until the function returns, or NULL. Use of safe_alloca should be avoided: - inside arguments of function calls - undefined behaviour, - in inline functions - the allocation may actually last until the calling function returns. */ #if HAVE_ALLOCA /* The OS usually guarantees only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely allocate anything larger than 4096 bytes. Also care for the possibility of a few compiler-allocated temporary stack slots. This must be a macro, not a function. */ # define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL) #else # define safe_alloca(N) ((void) (N), NULL) #endif /* malloca(N) is a safe variant of alloca(N). It allocates N bytes of memory allocated on the stack, that must be freed using freea() before the function returns. Upon failure, it returns NULL. */ #if HAVE_ALLOCA # define malloca(N) \ ((N) < 4032 - (2 * sa_alignment_max - 1) \ ? (void *) (((uintptr_t) (char *) alloca ((N) + 2 * sa_alignment_max - 1) \ + (2 * sa_alignment_max - 1)) \ & ~(uintptr_t)(2 * sa_alignment_max - 1)) \ : mmalloca (N)) #else # define malloca(N) \ mmalloca (N) #endif extern void * mmalloca (size_t n); /* Free a block of memory allocated through malloca(). */ #if HAVE_ALLOCA extern void freea (void *p); #else # define freea free #endif /* nmalloca(N,S) is an overflow-safe variant of malloca (N * S). It allocates an array of N objects, each with S bytes of memory, on the stack. S must be positive and N must be nonnegative. The array must be freed using freea() before the function returns. */ #define nmalloca(n, s) (xalloc_oversized (n, s) ? NULL : malloca ((n) * (s))) #ifdef __cplusplus } #endif /* ------------------- Auxiliary, non-public definitions ------------------- */ /* Determine the alignment of a type at compile time. */ #if defined __GNUC__ || defined __IBM__ALIGNOF__ # define sa_alignof __alignof__ #elif defined __cplusplus template struct sa_alignof_helper { char __slot1; type __slot2; }; # define sa_alignof(type) offsetof (sa_alignof_helper, __slot2) #elif defined __hpux /* Work around a HP-UX 10.20 cc bug with enums constants defined as offsetof values. */ # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) #elif defined _AIX /* Work around an AIX 3.2.5 xlc bug with enums constants defined as offsetof values. */ # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) #else # define sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2) #endif enum { /* The desired alignment of memory allocations is the maximum alignment among all elementary types. */ sa_alignment_long = sa_alignof (long), sa_alignment_double = sa_alignof (double), #if HAVE_LONG_LONG_INT sa_alignment_longlong = sa_alignof (long long), #endif sa_alignment_longdouble = sa_alignof (long double), sa_alignment_max = ((sa_alignment_long - 1) | (sa_alignment_double - 1) #if HAVE_LONG_LONG_INT | (sa_alignment_longlong - 1) #endif | (sa_alignment_longdouble - 1) ) + 1 }; #endif /* _MALLOCA_H */ gsasl-1.8.1/gltests/test-getopt_long.h0000644000000000000000000017550613516251600014672 00000000000000/* Test of command line argument processing. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ static int a_seen; static int b_seen; static int q_seen; static const struct option long_options_required[] = { { "alpha", no_argument, NULL, 'a' }, { "beta", no_argument, &b_seen, 1 }, { "prune", required_argument, NULL, 'p' }, { "quetsche", required_argument, &q_seen, 1 }, { "xtremely-",no_argument, NULL, 1003 }, { "xtra", no_argument, NULL, 1001 }, { "xtreme", no_argument, NULL, 1002 }, { "xtremely", no_argument, NULL, 1003 }, { NULL, 0, NULL, 0 } }; static const struct option long_options_optional[] = { { "alpha", no_argument, NULL, 'a' }, { "beta", no_argument, &b_seen, 1 }, { "prune", optional_argument, NULL, 'p' }, { "quetsche", optional_argument, &q_seen, 1 }, { NULL, 0, NULL, 0 } }; static void getopt_long_loop (int argc, const char **argv, const char *options, const struct option *long_options, const char **p_value, const char **q_value, int *non_options_count, const char **non_options, int *unrecognized) { int option_index = -1; int c; opterr = 0; q_seen = 0; while ((c = getopt_long (argc, (char **) argv, options, long_options, &option_index)) != -1) { switch (c) { case 0: /* An option with a non-NULL flag pointer was processed. */ if (q_seen) *q_value = optarg; break; case 'a': a_seen++; break; case 'b': b_seen = 1; break; case 'p': *p_value = optarg; break; case 'q': *q_value = optarg; break; case '\1': /* Must only happen with option '-' at the beginning. */ ASSERT (options[0] == '-'); non_options[(*non_options_count)++] = optarg; break; case ':': /* Must only happen with option ':' at the beginning. */ ASSERT (options[0] == ':' || ((options[0] == '-' || options[0] == '+') && options[1] == ':')); FALLTHROUGH; case '?': *unrecognized = optopt; break; default: *unrecognized = c; break; } } } /* Reduce casting, so we can use string literals elsewhere. getopt_long takes an array of char*, but luckily does not modify those elements, so we can pass const char*. */ static int do_getopt_long (int argc, const char **argv, const char *shortopts, const struct option *longopts, int *longind) { return getopt_long (argc, (char **) argv, shortopts, longopts, longind); } static void test_getopt_long (void) { int start; /* Test disambiguation of options. */ { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--x"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xt"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xtr"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xtra"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == 1001); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xtre"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xtrem"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xtreme"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == 1002); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xtremel"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == 1003); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--xtremely"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == 1003); } /* Check that -W handles unknown options. */ { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "W;", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 'W'); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-Wunknown"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "W;", long_options_required, &option_index); /* glibc and BSD behave differently here, but for now, we allow both behaviors since W support is not frequently used. */ if (c == '?') { ASSERT (optopt == 0); ASSERT (optarg == NULL); } else { ASSERT (c == 'W'); ASSERT (strcmp (optarg, "unknown") == 0); } } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc++] = "unknown"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "W;", long_options_required, &option_index); /* glibc and BSD behave differently here, but for now, we allow both behaviors since W support is not frequently used. */ if (c == '?') { ASSERT (optopt == 0); ASSERT (optarg == NULL); } else { ASSERT (c == 'W'); ASSERT (strcmp (optarg, "unknown") == 0); } } /* Test that 'W' does not dump core: https://sourceware.org/bugzilla/show_bug.cgi?id=12922 */ { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc++] = "dummy"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long (argc, argv, "W;", NULL, &option_index); ASSERT (c == 'W'); ASSERT (optind == 2); } /* Test processing of boolean short options. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-b"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-ba"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 2); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } /* Test processing of boolean long options. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--alpha"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--beta"; argv[argc++] = "--alpha"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--alpha"; argv[argc++] = "--beta"; argv[argc++] = "--alpha"; argv[argc++] = "--beta"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 2); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); } /* Test processing of boolean long options via -W. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-Walpha"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abW;", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc++] = "beta"; argv[argc++] = "-W"; argv[argc++] = "alpha"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "aW;b", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-Walpha"; argv[argc++] = "-Wbeta"; argv[argc++] = "-Walpha"; argv[argc++] = "-Wbeta"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "W;ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 2); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); } /* Test processing of short options with arguments. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "-q"; argv[argc++] = "baz"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value != NULL && strcmp (q_value, "baz") == 0); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); } /* Test processing of long options with arguments. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--p=foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "--q"; argv[argc++] = "baz"; argv[argc++] = "--p=foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value != NULL && strcmp (q_value, "baz") == 0); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); } /* Test processing of long options with arguments via -W. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-Wp=foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p:q:W;", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc++] = "p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p:W;q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "-Wq"; argv[argc++] = "baz"; argv[argc++] = "-W"; argv[argc++] = "p=foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "W;abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value != NULL && strcmp (q_value, "baz") == 0); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 6); } /* Test processing of short options with optional arguments. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } /* Test processing of long options with optional arguments. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--p=foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--p="; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && *p_value == '\0'); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "--p"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } /* Test processing of long options with optional arguments via -W. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-Wp=foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::q::W;", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-Wp"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::q::W;", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-Wp="; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "W;p::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && *p_value == '\0'); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc++] = "p="; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "W;p::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && *p_value == '\0'); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc++] = "p"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "W;abp::q::", long_options_optional, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); /* ASSERT (p_value == NULL); */ ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); } /* Check that invalid options are recognized. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-x"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'x'); ASSERT (optind == 5); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-:"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == ':'); ASSERT (optind == 5); } /* Check that unexpected arguments are recognized. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "--a="; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'a'); ASSERT (optind == 4); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "--b="; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); /* When flag is non-zero, glibc sets optopt anyway, but BSD leaves optopt unchanged. */ ASSERT (unrecognized == 1 || unrecognized == 0); ASSERT (optind == 4); } /* Check that by default, non-options arguments are moved to the end. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "donald") == 0); ASSERT (strcmp (argv[5], "duck") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); } /* Check that '--' ends the argument processing. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[20]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "--"; argv[argc++] = "-b"; argv[argc++] = "foo"; argv[argc++] = "-q"; argv[argc++] = "johnny"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "--") == 0); ASSERT (strcmp (argv[5], "donald") == 0); ASSERT (strcmp (argv[6], "duck") == 0); ASSERT (strcmp (argv[7], "-b") == 0); ASSERT (strcmp (argv[8], "foo") == 0); ASSERT (strcmp (argv[9], "-q") == 0); ASSERT (strcmp (argv[10], "johnny") == 0); ASSERT (strcmp (argv[11], "bar") == 0); ASSERT (argv[12] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); } /* Check that the '-' flag causes non-options to be returned in order. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "-abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 3); ASSERT (strcmp (non_options[0], "donald") == 0); ASSERT (strcmp (non_options[1], "duck") == 0); ASSERT (strcmp (non_options[2], "bar") == 0); ASSERT (unrecognized == 0); ASSERT (optind == 7); } /* Check that '--' ends the argument processing. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[20]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "--"; argv[argc++] = "-b"; argv[argc++] = "foo"; argv[argc++] = "-q"; argv[argc++] = "johnny"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "-abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "--") == 0); ASSERT (strcmp (argv[7], "-b") == 0); ASSERT (strcmp (argv[8], "foo") == 0); ASSERT (strcmp (argv[9], "-q") == 0); ASSERT (strcmp (argv[10], "johnny") == 0); ASSERT (strcmp (argv[11], "bar") == 0); ASSERT (argv[12] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); if (non_options_count == 2) { /* glibc behaviour. */ ASSERT (non_options_count == 2); ASSERT (strcmp (non_options[0], "donald") == 0); ASSERT (strcmp (non_options[1], "duck") == 0); ASSERT (unrecognized == 0); ASSERT (optind == 7); } else { /* Another valid behaviour. */ ASSERT (non_options_count == 7); ASSERT (strcmp (non_options[0], "donald") == 0); ASSERT (strcmp (non_options[1], "duck") == 0); ASSERT (strcmp (non_options[2], "-b") == 0); ASSERT (strcmp (non_options[3], "foo") == 0); ASSERT (strcmp (non_options[4], "-q") == 0); ASSERT (strcmp (non_options[5], "johnny") == 0); ASSERT (strcmp (non_options[6], "bar") == 0); ASSERT (unrecognized == 0); ASSERT (optind == 12); } } /* Check that the '-' flag has to come first. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:-", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "donald") == 0); ASSERT (strcmp (argv[5], "duck") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); } /* Check that the '+' flag causes the first non-option to terminate the loop. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "+abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); } for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-+"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "+abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == '+'); ASSERT (optind == 2); } /* Check that '--' ends the argument processing. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[20]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "--"; argv[argc++] = "-b"; argv[argc++] = "foo"; argv[argc++] = "-q"; argv[argc++] = "johnny"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "+abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "--") == 0); ASSERT (strcmp (argv[7], "-b") == 0); ASSERT (strcmp (argv[8], "foo") == 0); ASSERT (strcmp (argv[9], "-q") == 0); ASSERT (strcmp (argv[10], "johnny") == 0); ASSERT (strcmp (argv[11], "bar") == 0); ASSERT (argv[12] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); } /* Check that the '+' flag has to come first. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:+", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "donald") == 0); ASSERT (strcmp (argv[5], "duck") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); } } /* Test behavior of getopt_long when POSIXLY_CORRECT is set in the environment. Options with optional arguments should not change behavior just because of an environment variable. https://lists.gnu.org/r/bug-m4/2006-09/msg00028.html */ static void test_getopt_long_posix (void) { int start; /* Check that POSIXLY_CORRECT stops parsing the same as leading '+'. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "abp:q:", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); } /* Check that POSIXLY_CORRECT doesn't change optional arguments. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "p::", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); } /* Check that leading - still sees options after non-options. */ for (start = 0; start <= 1; start++) { const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; int argc = 0; const char *argv[10]; a_seen = 0; b_seen = 0; argv[argc++] = "program"; argv[argc++] = "-a"; argv[argc++] = "billy"; argv[argc++] = "-b"; argv[argc] = NULL; optind = start; getopt_long_loop (argc, argv, "-ab", long_options_required, &p_value, &q_value, &non_options_count, non_options, &unrecognized); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 1); ASSERT (strcmp (non_options[0], "billy") == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); } } /* Reduce casting, so we can use string literals elsewhere. getopt_long_only takes an array of char*, but luckily does not modify those elements, so we can pass const char*. */ static int do_getopt_long_only (int argc, const char **argv, const char *shortopts, const struct option *longopts, int *longind) { return getopt_long_only (argc, (char **) argv, shortopts, longopts, longind); } static void test_getopt_long_only (void) { /* Test disambiguation of options. */ { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-x"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-x"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "abx", long_options_required, &option_index); ASSERT (c == 'x'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--x"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "abx", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-b"; argv[argc] = NULL; optind = 1; opterr = 0; b_seen = 0; c = do_getopt_long_only (argc, argv, "abx", long_options_required, &option_index); ASSERT (c == 'b'); ASSERT (b_seen == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "--b"; argv[argc] = NULL; optind = 1; opterr = 0; b_seen = 0; c = do_getopt_long_only (argc, argv, "abx", long_options_required, &option_index); ASSERT (c == 0); ASSERT (b_seen == 1); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-xt"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-xt"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "abx", long_options_required, &option_index); ASSERT (c == '?'); ASSERT (optopt == 0); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-xtra"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "ab", long_options_required, &option_index); ASSERT (c == 1001); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-xtreme"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "abx:", long_options_required, &option_index); ASSERT (c == 1002); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-xtremel"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "ab", long_options_required, &option_index); /* glibc getopt_long_only is intentionally different from getopt_long when handling a prefix that is common to two spellings, when both spellings have the same option directives. BSD getopt_long_only treats both cases the same. */ ASSERT (c == 1003 || c == '?'); ASSERT (optind == 2); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-xtremel"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "abx::", long_options_required, &option_index); /* glibc getopt_long_only is intentionally different from getopt_long when handling a prefix that is common to two spellings, when both spellings have the same option directives. BSD getopt_long_only treats both cases the same. */ ASSERT (c == 1003 || c == '?'); ASSERT (optind == 2); ASSERT (optarg == NULL); } { int argc = 0; const char *argv[10]; int option_index; int c; argv[argc++] = "program"; argv[argc++] = "-xtras"; argv[argc] = NULL; optind = 1; opterr = 0; c = do_getopt_long_only (argc, argv, "abx::", long_options_required, &option_index); ASSERT (c == 'x'); ASSERT (strcmp (optarg, "tras") == 0); } } gsasl-1.8.1/gltests/test-limits-h.c0000644000000000000000000000762213516251574014075 00000000000000/* Test of substitute. Copyright 2016-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert. */ #include #include #include "verify.h" #if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) # pragma GCC diagnostic ignored "-Woverlength-strings" #endif #define verify_width(width, min, max) \ verify ((max) >> ((width) - 1 - ((min) < 0)) == 1) /* Macros borrowed from intprops.h. */ #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) #define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT) #define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1))) /* Type width macros. */ int type_bits[] = { CHAR_BIT, WORD_BIT, LONG_BIT }; verify_width (CHAR_BIT, CHAR_MIN, CHAR_MAX); verify_width (WORD_BIT, INT_MIN, INT_MAX); verify_width (LONG_BIT, LONG_MIN, LONG_MAX); /* Numerical limit macros. */ char limits1[] = { CHAR_MIN, CHAR_MAX }; verify (TYPE_MINIMUM (char) == CHAR_MIN); verify (TYPE_MAXIMUM (char) == CHAR_MAX); signed char limits2[] = { SCHAR_MIN, SCHAR_MAX }; verify (TYPE_MINIMUM (signed char) == SCHAR_MIN); verify (TYPE_MAXIMUM (signed char) == SCHAR_MAX); unsigned char limits3[] = { UCHAR_MAX }; verify (TYPE_MINIMUM (unsigned char) == 0); verify (TYPE_MAXIMUM (unsigned char) == UCHAR_MAX); short limits4[] = { SHRT_MIN, SHRT_MAX }; verify (TYPE_MINIMUM (short int) == SHRT_MIN); verify (TYPE_MAXIMUM (short int) == SHRT_MAX); unsigned short limits5[] = { USHRT_MAX }; verify (TYPE_MINIMUM (unsigned short int) == 0); verify (TYPE_MAXIMUM (unsigned short int) == USHRT_MAX); int limits6[] = { INT_MIN, INT_MAX }; verify (TYPE_MINIMUM (int) == INT_MIN); verify (TYPE_MAXIMUM (int) == INT_MAX); unsigned int limits7[] = { UINT_MAX }; verify (TYPE_MINIMUM (unsigned int) == 0); verify (TYPE_MAXIMUM (unsigned int) == UINT_MAX); long limits8[] = { LONG_MIN, LONG_MAX }; verify (TYPE_MINIMUM (long int) == LONG_MIN); verify (TYPE_MAXIMUM (long int) == LONG_MAX); unsigned long limits9[] = { ULONG_MAX }; verify (TYPE_MINIMUM (unsigned long int) == 0); verify (TYPE_MAXIMUM (unsigned long int) == ULONG_MAX); long long limits10[] = { LLONG_MIN, LLONG_MAX }; verify (TYPE_MINIMUM (long long int) == LLONG_MIN); verify (TYPE_MAXIMUM (long long int) == LLONG_MAX); unsigned long long limits11[] = { ULLONG_MAX }; verify (TYPE_MINIMUM (unsigned long long int) == 0); verify (TYPE_MAXIMUM (unsigned long long int) == ULLONG_MAX); /* Macros specified by ISO/IEC TS 18661-1:2014. */ verify_width (CHAR_WIDTH, CHAR_MIN, CHAR_MAX); verify_width (SCHAR_WIDTH, SCHAR_MIN, SCHAR_MAX); verify_width (UCHAR_WIDTH, 0, UCHAR_MAX); verify_width (SHRT_WIDTH, SHRT_MIN, SHRT_MAX); verify_width (USHRT_WIDTH, 0, USHRT_MAX); verify_width (INT_WIDTH, INT_MIN, INT_MAX); verify_width (UINT_WIDTH, 0, UINT_MAX); verify_width (LONG_WIDTH, LONG_MIN, LONG_MAX); verify_width (ULONG_WIDTH, 0, ULONG_MAX); verify_width (LLONG_WIDTH, LLONG_MIN, LLONG_MAX); verify_width (ULLONG_WIDTH, 0, ULLONG_MAX); int main (void) { return 0; } gsasl-1.8.1/gltests/binary-io.c0000644000000000000000000000245713516251577013267 00000000000000/* Binary mode I/O. Copyright 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #define BINARY_IO_INLINE _GL_EXTERN_INLINE #include "binary-io.h" #if defined __DJGPP__ || defined __EMX__ # include int set_binary_mode (int fd, int mode) { if (isatty (fd)) /* If FD refers to a console (not a pipe, not a regular file), O_TEXT is the only reasonable mode, both on input and on output. Silently ignore the request. If we were to return -1 here, all programs that use xset_binary_mode would fail when run with console input or console output. */ return O_TEXT; else return __gl_setmode (fd, mode); } #endif gsasl-1.8.1/gltests/test-stdio.c0000644000000000000000000000232313516251601013451 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); /* Check that the types are all defined. */ fpos_t t1; off_t t2; size_t t3; ssize_t t4; va_list t5; int main (void) { return 0; } gsasl-1.8.1/gltests/test-wcrtomb-w32-5.sh0000755000000000000000000000013313516251601014747 00000000000000#!/bin/sh # Test a CP936 locale. ${CHECKER} ./test-wcrtomb-w32${EXEEXT} Chinese_China 936 gsasl-1.8.1/gltests/test-fputc.c0000644000000000000000000000465613516251600013462 00000000000000/* Test of fputc() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fputc, int, (int, FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fputc.txt"; /* We don't have an fputc() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Test that fputc() on an unbuffered stream sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "w"); ASSERT (fp != NULL); setvbuf (fp, NULL, _IONBF, 0); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fputc ('x', fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fputc() on an unbuffered stream sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fputc ('x', fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fputc ('x', fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/gltests/test-version-etc.c0000644000000000000000000000202413516251601014563 00000000000000/* Test suite for version-etc. Copyright (C) 2009-2019 Free Software Foundation, Inc. This file is part of the GNUlib Library. 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 3 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, see . */ #include #include "version-etc.h" #define AUTHORS "Sergey Poznyakoff", "Eric Blake" int main (int argc _GL_UNUSED, char **argv) { version_etc (stdout, "test-version-etc", "dummy", "0", AUTHORS, (const char *) NULL); return 0; } gsasl-1.8.1/gltests/sig-handler.h0000644000000000000000000000354213516251573013570 00000000000000/* Convenience declarations when working with . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_SIG_HANDLER_H #define _GL_SIG_HANDLER_H #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef SIG_HANDLER_INLINE # define SIG_HANDLER_INLINE _GL_INLINE #endif /* Convenience type when working with signal handlers. */ typedef void (*sa_handler_t) (int); /* Return the handler of a signal, as a sa_handler_t value regardless of its true type. The resulting function can be compared to special values like SIG_IGN but it is not portable to call it. */ SIG_HANDLER_INLINE sa_handler_t _GL_ATTRIBUTE_PURE get_handler (struct sigaction const *a) { /* POSIX says that special values like SIG_IGN can only occur when action.sa_flags does not contain SA_SIGINFO. But in Linux 2.4, for example, sa_sigaction and sa_handler are aliases and a signal is ignored if sa_sigaction (after casting) equals SIG_IGN. In this case, this implementation relies on the fact that the two are aliases, and simply returns sa_handler. */ return a->sa_handler; } _GL_INLINE_HEADER_END #endif /* _GL_SIG_HANDLER_H */ gsasl-1.8.1/gltests/test-dup2.c0000644000000000000000000001375513516251600013213 00000000000000/* Test duplicating file descriptors. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (dup2, int, (int, int)); #include #include #if HAVE_SYS_RESOURCE_H # include #endif #include "binary-io.h" #if GNULIB_TEST_CLOEXEC # include "cloexec.h" #endif #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #endif #include "macros.h" /* Return non-zero if FD is open. */ static int is_open (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; #else # ifndef F_GETFL # error Please port fcntl to your platform # endif return 0 <= fcntl (fd, F_GETFL); #endif } #if GNULIB_TEST_CLOEXEC /* Return non-zero if FD is open and inheritable across exec/spawn. */ static int is_inheritable (int fd) { # if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ HANDLE h = (HANDLE) _get_osfhandle (fd); DWORD flags; if (h == INVALID_HANDLE_VALUE || GetHandleInformation (h, &flags) == 0) return 0; return (flags & HANDLE_FLAG_INHERIT) != 0; # else # ifndef F_GETFD # error Please port fcntl to your platform # endif int i = fcntl (fd, F_GETFD); return 0 <= i && (i & FD_CLOEXEC) == 0; # endif } #endif /* GNULIB_TEST_CLOEXEC */ #if !O_BINARY # define setmode(f,m) zero () static int zero (void) { return 0; } #endif /* Return non-zero if FD is open in the given MODE, which is either O_TEXT or O_BINARY. */ static int is_mode (int fd, int mode) { int value = setmode (fd, O_BINARY); setmode (fd, value); return mode == value; } int main (void) { const char *file = "test-dup2.tmp"; char buffer[1]; int bad_fd = getdtablesize (); int fd = open (file, O_CREAT | O_TRUNC | O_RDWR, 0600); /* Assume std descriptors were provided by invoker. */ ASSERT (STDERR_FILENO < fd); ASSERT (is_open (fd)); /* Ignore any other fd's leaked into this process. */ close (fd + 1); close (fd + 2); ASSERT (!is_open (fd + 1)); ASSERT (!is_open (fd + 2)); /* Assigning to self must be a no-op. */ ASSERT (dup2 (fd, fd) == fd); ASSERT (is_open (fd)); /* The source must be valid. */ errno = 0; ASSERT (dup2 (-1, fd) == -1); ASSERT (errno == EBADF); close (99); errno = 0; ASSERT (dup2 (99, fd) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup2 (AT_FDCWD, fd) == -1); ASSERT (errno == EBADF); ASSERT (is_open (fd)); /* If the source is not open, then the destination is unaffected. */ errno = 0; ASSERT (dup2 (fd + 1, fd + 1) == -1); ASSERT (errno == EBADF); ASSERT (!is_open (fd + 1)); errno = 0; ASSERT (dup2 (fd + 1, fd) == -1); ASSERT (errno == EBADF); ASSERT (is_open (fd)); /* The destination must be valid. */ errno = 0; ASSERT (dup2 (fd, -2) == -1); ASSERT (errno == EBADF); if (bad_fd > 256) { ASSERT (dup2 (fd, 255) == 255); ASSERT (dup2 (fd, 256) == 256); ASSERT (close (255) == 0); ASSERT (close (256) == 0); } ASSERT (dup2 (fd, bad_fd - 1) == bad_fd - 1); ASSERT (close (bad_fd - 1) == 0); errno = 0; ASSERT (dup2 (fd, bad_fd) == -1); ASSERT (errno == EBADF); /* Using dup2 can skip fds. */ ASSERT (dup2 (fd, fd + 2) == fd + 2); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (is_open (fd + 2)); /* Verify that dup2 closes the previous occupant of a fd. */ ASSERT (open ("/dev/null", O_WRONLY, 0600) == fd + 1); ASSERT (dup2 (fd + 1, fd) == fd); ASSERT (close (fd + 1) == 0); ASSERT (write (fd, "1", 1) == 1); ASSERT (dup2 (fd + 2, fd) == fd); ASSERT (lseek (fd, 0, SEEK_END) == 0); ASSERT (write (fd + 2, "2", 1) == 1); ASSERT (lseek (fd, 0, SEEK_SET) == 0); ASSERT (read (fd, buffer, 1) == 1); ASSERT (*buffer == '2'); #if GNULIB_TEST_CLOEXEC /* Any new fd created by dup2 must not be cloexec. */ ASSERT (close (fd + 2) == 0); ASSERT (dup_cloexec (fd) == fd + 1); ASSERT (!is_inheritable (fd + 1)); ASSERT (dup2 (fd + 1, fd + 1) == fd + 1); ASSERT (!is_inheritable (fd + 1)); ASSERT (dup2 (fd + 1, fd + 2) == fd + 2); ASSERT (!is_inheritable (fd + 1)); ASSERT (is_inheritable (fd + 2)); errno = 0; ASSERT (dup2 (fd + 1, -1) == -1); ASSERT (errno == EBADF); ASSERT (!is_inheritable (fd + 1)); #endif /* On systems that distinguish between text and binary mode, dup2 reuses the mode of the source. */ setmode (fd, O_BINARY); ASSERT (is_mode (fd, O_BINARY)); ASSERT (dup2 (fd, fd + 1) == fd + 1); ASSERT (is_mode (fd + 1, O_BINARY)); setmode (fd, O_TEXT); ASSERT (is_mode (fd, O_TEXT)); ASSERT (dup2 (fd, fd + 1) == fd + 1); ASSERT (is_mode (fd + 1, O_TEXT)); /* Clean up. */ ASSERT (close (fd + 2) == 0); ASSERT (close (fd + 1) == 0); ASSERT (close (fd) == 0); ASSERT (unlink (file) == 0); return 0; } gsasl-1.8.1/gltests/test-sys_time.c0000644000000000000000000000215013516251601014161 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include /* Check that the 'struct timeval' type is defined. */ struct timeval a; /* Check that a.tv_sec is wide enough to hold a time_t, ignoring signedness issues. */ typedef int verify_tv_sec_type[sizeof (time_t) <= sizeof (a.tv_sec) ? 1 : -1]; int main (void) { return 0; } gsasl-1.8.1/gltests/lstat.c0000644000000000000000000000721513516251577012522 00000000000000/* Work around a bug of lstat on some systems Copyright (C) 1997-2006, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Jim Meyering */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_lstat doesn't recurse to rpl_lstat. */ #define __need_system_sys_stat_h #include #if !HAVE_LSTAT /* On systems that lack symlinks, our replacement already defined lstat as stat, so there is nothing further to do other than avoid an empty file. */ typedef int dummy; #else /* HAVE_LSTAT */ /* Get the original definition of lstat. It might be defined as a macro. */ # include # include # undef __need_system_sys_stat_h static int orig_lstat (const char *filename, struct stat *buf) { return lstat (filename, buf); } /* Specification. */ # ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" # else # include # endif # include "stat-time.h" # include # include /* lstat works differently on Linux and Solaris systems. POSIX (see "pathname resolution" in the glossary) requires that programs like 'ls' take into consideration the fact that FILE has a trailing slash when FILE is a symbolic link. On Linux and Solaris 10 systems, the lstat function already has the desired semantics (in treating 'lstat ("symlink/", sbuf)' just like 'lstat ("symlink/.", sbuf)', but on Solaris 9 and earlier it does not. If FILE has a trailing slash and specifies a symbolic link, then use stat() to get more info on the referent of FILE. If the referent is a non-directory, then set errno to ENOTDIR and return -1. Otherwise, return stat's result. */ int rpl_lstat (const char *file, struct stat *sbuf) { int result = orig_lstat (file, sbuf); /* This replacement file can blindly check against '/' rather than using the ISSLASH macro, because all platforms with '\\' either lack symlinks (mingw) or have working lstat (cygwin) and thus do not compile this file. 0 len should have already been filtered out above, with a failure return of ENOENT. */ if (result == 0) { if (S_ISDIR (sbuf->st_mode) || file[strlen (file) - 1] != '/') result = stat_time_normalize (result, sbuf); else { /* At this point, a trailing slash is permitted only on symlink-to-dir; but it should have found information on the directory, not the symlink. Call 'stat' to get info about the link's referent. Our replacement stat guarantees valid results, even if the symlink is not pointing to a directory. */ if (!S_ISLNK (sbuf->st_mode)) { errno = ENOTDIR; return -1; } result = stat (file, sbuf); } } return result; } #endif /* HAVE_LSTAT */ gsasl-1.8.1/gltests/test-wcrtomb.c0000644000000000000000000001113113516251601014001 00000000000000/* Test of conversion of wide character to multibyte character. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (wcrtomb, size_t, (char *, wchar_t, mbstate_t *)); #include #include #include #include "macros.h" /* Check the multibyte character s[0..n-1]. */ static void check_character (const char *s, size_t n) { wchar_t wc; char buf[64]; int iret; size_t ret; wc = (wchar_t) 0xBADFACE; iret = mbtowc (&wc, s, n); ASSERT (iret == n); ret = wcrtomb (buf, wc, NULL); ASSERT (ret == n); ASSERT (memcmp (buf, s, n) == 0); /* Test special calling convention, passing a NULL pointer. */ ret = wcrtomb (NULL, wc, NULL); ASSERT (ret == 1); } int main (int argc, char *argv[]) { char buf[64]; size_t ret; /* configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) return 1; /* Test NUL character. */ { buf[0] = 'x'; ret = wcrtomb (buf, 0, NULL); ASSERT (ret == 1); ASSERT (buf[0] == '\0'); } /* Test single bytes. */ { int c; for (c = 0; c < 0x100; c++) switch (c) { case '\t': case '\v': case '\f': case ' ': case '!': case '"': case '#': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case ';': case '<': case '=': case '>': case '?': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '[': case '\\': case ']': case '^': case '_': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case '{': case '|': case '}': case '~': /* c is in the ISO C "basic character set". */ ret = wcrtomb (buf, btowc (c), NULL); ASSERT (ret == 1); ASSERT (buf[0] == (char) c); break; } } /* Test special calling convention, passing a NULL pointer. */ { ret = wcrtomb (NULL, '\0', NULL); ASSERT (ret == 1); ret = wcrtomb (NULL, btowc ('x'), NULL); ASSERT (ret == 1); } if (argc > 1) switch (argv[1][0]) { case '1': /* Locale encoding is ISO-8859-1 or ISO-8859-15. */ { const char input[] = "B\374\337er"; /* "Büßer" */ check_character (input + 1, 1); check_character (input + 2, 1); } return 0; case '2': /* Locale encoding is UTF-8. */ { const char input[] = "B\303\274\303\237er"; /* "Büßer" */ check_character (input + 1, 2); check_character (input + 3, 2); } return 0; case '3': /* Locale encoding is EUC-JP. */ { const char input[] = "<\306\374\313\334\270\354>"; /* "<日本語>" */ check_character (input + 1, 2); check_character (input + 3, 2); check_character (input + 5, 2); } return 0; case '4': /* Locale encoding is GB18030. */ { const char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ check_character (input + 1, 2); check_character (input + 3, 4); } return 0; case '5': /* C locale; tested above. */ return 0; } return 1; } gsasl-1.8.1/gltests/test-pthread_sigmask2.c0000644000000000000000000000477513516251574015604 00000000000000/* Test of pthread_sigmask in a multi-threaded program. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include #include #include #include #include "macros.h" #if USE_POSIX_THREADS static pthread_t main_thread; static pthread_t killer_thread; static void * killer_thread_func (void *arg) { sleep (1); pthread_kill (main_thread, SIGINT); return NULL; } static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main (int argc, char *argv[]) { sigset_t set; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); /* Check error handling. */ ASSERT (pthread_sigmask (1729, &set, NULL) == EINVAL); /* Block SIGINT. */ ASSERT (pthread_sigmask (SIG_BLOCK, &set, NULL) == 0); /* Request a SIGINT signal from another thread. */ main_thread = pthread_self (); ASSERT (pthread_create (&killer_thread, NULL, killer_thread_func, NULL) == 0); /* Wait. */ sleep (2); /* The signal should not have arrived yet, because it is blocked. */ ASSERT (sigint_occurred == 0); /* Unblock SIGINT. */ ASSERT (pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0); /* The signal should have arrived now, because POSIX says "If there are any pending unblocked signals after the call to pthread_sigmask(), at least one of those signals shall be delivered before the call to pthread_sigmask() returns." */ ASSERT (sigint_occurred == 1); /* Clean up the thread. This avoid a "ThreadSanitizer: thread leak" warning from "gcc -fsanitize=thread". */ ASSERT (pthread_join (killer_thread, NULL) == 0); return 0; } #else int main () { fputs ("Skipping test: POSIX threads not enabled\n", stderr); return 77; } #endif gsasl-1.8.1/gltests/ctype.in.h0000644000000000000000000000342213516251573013121 00000000000000/* A substitute for ISO C99 , for platforms on which it is incomplete. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible. */ /* * ISO C 99 for platforms on which it is incomplete. * */ #ifndef _@GUARD_PREFIX@_CTYPE_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Include the original . */ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_CTYPE_H@ #ifndef _@GUARD_PREFIX@_CTYPE_H #define _@GUARD_PREFIX@_CTYPE_H /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Return non-zero if c is a blank, i.e. a space or tab character. */ #if @GNULIB_ISBLANK@ # if !@HAVE_ISBLANK@ _GL_EXTERN_C int isblank (int c); # endif #elif defined GNULIB_POSIXCHECK # undef isblank # if HAVE_RAW_DECL_ISBLANK _GL_WARN_ON_USE (isblank, "isblank is unportable - " "use gnulib module isblank for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_CTYPE_H */ #endif /* _@GUARD_PREFIX@_CTYPE_H */ gsasl-1.8.1/gltests/test-open.h0000644000000000000000000000646113516251600013303 00000000000000/* Test of opening a file descriptor. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ /* Make test_open always inline if we're using Fortify, which defines __always_inline to do that. Do nothing otherwise. This works around a glibc bug whereby 'open' cannot be used as a function pointer when _FORTIFY_SOURCE is positive. */ #if __GLIBC__ && defined __always_inline # define ALWAYS_INLINE __always_inline #else # define ALWAYS_INLINE #endif /* This file is designed to test both open(n,buf[,mode]) and openat(AT_FDCWD,n,buf[,mode]). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static ALWAYS_INLINE int test_open (int (*func) (char const *, int, ...), bool print) { int fd; /* Remove anything from prior partial run. */ unlink (BASE "file"); /* Cannot create directory. */ errno = 0; ASSERT (func ("nonexist.ent/", O_CREAT | O_RDONLY, 0600) == -1); ASSERT (errno == ENOTDIR || errno == EISDIR || errno == ENOENT || errno == EINVAL); /* Create a regular file. */ fd = func (BASE "file", O_CREAT | O_RDONLY, 0600); ASSERT (0 <= fd); ASSERT (close (fd) == 0); /* Trailing slash handling. */ errno = 0; ASSERT (func (BASE "file/", O_RDONLY) == -1); ASSERT (errno == ENOTDIR || errno == EISDIR || errno == EINVAL); /* Directories cannot be opened for writing. */ errno = 0; ASSERT (func (".", O_WRONLY) == -1); ASSERT (errno == EISDIR || errno == EACCES); /* /dev/null must exist, and be writable. */ fd = func ("/dev/null", O_RDONLY); ASSERT (0 <= fd); { char c; ASSERT (read (fd, &c, 1) == 0); } ASSERT (close (fd) == 0); fd = func ("/dev/null", O_WRONLY); ASSERT (0 <= fd); ASSERT (write (fd, "c", 1) == 1); ASSERT (close (fd) == 0); /* Although O_NONBLOCK on regular files can be ignored, it must not cause a failure. */ fd = func (BASE "file", O_NONBLOCK | O_RDONLY); ASSERT (0 <= fd); ASSERT (close (fd) == 0); /* Symlink handling, where supported. */ if (symlink (BASE "file", BASE "link") != 0) { ASSERT (unlink (BASE "file") == 0); if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } errno = 0; ASSERT (func (BASE "link/", O_RDONLY) == -1); ASSERT (errno == ENOTDIR); fd = func (BASE "link", O_RDONLY); ASSERT (0 <= fd); ASSERT (close (fd) == 0); /* Cleanup. */ ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link") == 0); return 0; } gsasl-1.8.1/gltests/test-c-strcasecmp.c0000644000000000000000000000422313516251600014713 00000000000000/* Test of case-insensitive string comparison function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include "c-strcase.h" #include "c-ctype.h" #include #include #include "macros.h" int main (int argc, char *argv[]) { if (argc > 1) { /* configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) return 1; } ASSERT (c_strcasecmp ("paragraph", "Paragraph") == 0); ASSERT (c_strcasecmp ("paragrapH", "parAgRaph") == 0); ASSERT (c_strcasecmp ("paragraph", "paraLyzed") < 0); ASSERT (c_strcasecmp ("paraLyzed", "paragraph") > 0); ASSERT (c_strcasecmp ("para", "paragraph") < 0); ASSERT (c_strcasecmp ("paragraph", "para") > 0); /* The following tests shows how c_strcasecmp() is different from strcasecmp(). */ ASSERT (c_strcasecmp ("\311mile", "\351mile") < 0); ASSERT (c_strcasecmp ("\351mile", "\311mile") > 0); /* The following tests shows how c_strcasecmp() is different from mbscasecmp(). */ ASSERT (c_strcasecmp ("\303\266zg\303\274r", "\303\226ZG\303\234R") > 0); /* özgür */ ASSERT (c_strcasecmp ("\303\226ZG\303\234R", "\303\266zg\303\274r") < 0); /* özgür */ #if C_CTYPE_ASCII /* This test shows how strings of different size cannot compare equal. */ ASSERT (c_strcasecmp ("turkish", "TURK\304\260SH") < 0); ASSERT (c_strcasecmp ("TURK\304\260SH", "turkish") > 0); #endif return 0; } gsasl-1.8.1/gltests/sleep.c0000644000000000000000000000436113516251574012477 00000000000000/* Pausing execution of the current thread. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2007. 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 3 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, see . */ #include /* Specification. */ #include #include #include "verify.h" #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include unsigned int sleep (unsigned int seconds) { unsigned int remaining; /* Sleep for 1 second many times, because 1. Sleep is not interruptible by Ctrl-C, 2. we want to avoid arithmetic overflow while multiplying with 1000. */ for (remaining = seconds; remaining > 0; remaining--) Sleep (1000); return remaining; } #elif HAVE_SLEEP # undef sleep /* Guarantee unlimited sleep and a reasonable return value. Cygwin 1.5.x rejects attempts to sleep more than 49.7 days (2**32 milliseconds), but uses uninitialized memory which results in a garbage answer. Similarly, Linux 2.6.9 with glibc 2.3.4 has a too small return value when asked to sleep more than 24.85 days. */ unsigned int rpl_sleep (unsigned int seconds) { /* This requires int larger than 16 bits. */ verify (UINT_MAX / 24 / 24 / 60 / 60); const unsigned int limit = 24 * 24 * 60 * 60; while (limit < seconds) { unsigned int result; seconds -= limit; result = sleep (limit); if (result) return seconds + result; } return sleep (seconds); } #else /* !HAVE_SLEEP */ #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." #endif gsasl-1.8.1/gltests/test-stdbool.c0000644000000000000000000000663613516251601014010 00000000000000/* Test of substitute. Copyright (C) 2002-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ /* We want this test to succeed even when using gcc's -Werror; but to do that requires a pragma that didn't exist before 4.3.0. */ #ifndef __GNUC__ # define ADDRESS_CHECK_OKAY #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 3) /* No way to silence -Waddress. */ #else # pragma GCC diagnostic ignored "-Waddress" # define ADDRESS_CHECK_OKAY #endif #include #include #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif /* Several tests cannot be guaranteed with gnulib's , at least, not for all compilers and compiler options. */ #if HAVE_STDBOOL_H || 3 <= __GNUC__ struct s { _Bool s: 1; _Bool t; } s; #endif char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; #if HAVE_STDBOOL_H || 3 <= __GNUC__ /* See above. */ char d[(bool) 0.5 == true ? 1 : -1]; # ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ /* C99 may plausibly be interpreted as not requiring support for a cast from a variable's address to bool in a static initializer. So treat it like a GCC extension. */ # ifdef __GNUC__ bool e = &s; # endif # endif char f[(_Bool) 0.0 == false ? 1 : -1]; #endif char g[true]; char h[sizeof (_Bool)]; #if HAVE_STDBOOL_H || 3 <= __GNUC__ /* See above. */ char i[sizeof s.t]; #endif enum { j = false, k = true, l = false * true, m = true * 256 }; _Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ _Bool q = true; _Bool *pq = &q; int main () { int error = 0; #if HAVE_STDBOOL_H || 3 <= __GNUC__ /* See above. */ # ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ /* A cast from a variable's address to bool is valid in expressions. */ { bool e1 = &s; if (!e1) error = 1; } # endif #endif /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 reported by James Lemley on 2005-10-05; see https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html This is a runtime test, since a corresponding compile-time test would rely on initializer extensions. */ { char digs[] = "0123456789"; if (&(digs + 5)[-2 + (bool) 1] != &digs[4]) error = 1; } return error; } gsasl-1.8.1/gltests/wctomb.c0000644000000000000000000000162413516251601012650 00000000000000/* Convert wide character to multibyte character. Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. 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 3 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, see . */ #include #include #include #include #include "wctomb-impl.h" gsasl-1.8.1/gltests/test-mbrtowc-w32-1.sh0000755000000000000000000000013513516251600014744 00000000000000#!/bin/sh # Test a CP1252 locale. ${CHECKER} ./test-mbrtowc-w32${EXEEXT} French_France 1252 gsasl-1.8.1/gltests/setenv.c0000644000000000000000000002502713516251600012663 00000000000000/* Copyright (C) 1992, 1995-2003, 2005-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3 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, see . */ #if !_LIBC /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the name == NULL test below. */ # define _GL_ARG_NONNULL(params) # define _GL_USE_STDLIB_ALLOC 1 # include #endif #include /* Specification. */ #include #include #ifndef __set_errno # define __set_errno(ev) ((errno) = (ev)) #endif #include #if _LIBC || HAVE_UNISTD_H # include #endif #if !_LIBC # include "malloca.h" #endif #if _LIBC || !HAVE_SETENV #if !_LIBC # define __environ environ #endif #if _LIBC /* This lock protects against simultaneous modifications of 'environ'. */ # include __libc_lock_define_initialized (static, envlock) # define LOCK __libc_lock_lock (envlock) # define UNLOCK __libc_lock_unlock (envlock) #else # define LOCK # define UNLOCK #endif /* In the GNU C library we must keep the namespace clean. */ #ifdef _LIBC # define setenv __setenv # define clearenv __clearenv # define tfind __tfind # define tsearch __tsearch #endif /* In the GNU C library implementation we try to be more clever and allow arbitrarily many changes of the environment given that the used values are from a small set. Outside glibc this will eat up all memory after a while. */ #if defined _LIBC || (defined HAVE_SEARCH_H && defined HAVE_TSEARCH \ && defined __GNUC__) # define USE_TSEARCH 1 # include typedef int (*compar_fn_t) (const void *, const void *); /* This is a pointer to the root of the search tree with the known values. */ static void *known_values; # define KNOWN_VALUE(Str) \ ({ \ void *value = tfind (Str, &known_values, (compar_fn_t) strcmp); \ value != NULL ? *(char **) value : NULL; \ }) # define STORE_VALUE(Str) \ tsearch (Str, &known_values, (compar_fn_t) strcmp) #else # undef USE_TSEARCH # define KNOWN_VALUE(Str) NULL # define STORE_VALUE(Str) do { } while (0) #endif /* If this variable is not a null pointer we allocated the current environment. */ static char **last_environ; /* This function is used by 'setenv' and 'putenv'. The difference between the two functions is that for the former must create a new string which is then placed in the environment, while the argument of 'putenv' must be used directly. This is all complicated by the fact that we try to reuse values once generated for a 'setenv' call since we can never free the strings. */ int __add_to_environ (const char *name, const char *value, const char *combined, int replace) { char **ep; size_t size; const size_t namelen = strlen (name); const size_t vallen = value != NULL ? strlen (value) + 1 : 0; LOCK; /* We have to get the pointer now that we have the lock and not earlier since another thread might have created a new environment. */ ep = __environ; size = 0; if (ep != NULL) { for (; *ep != NULL; ++ep) if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') break; else ++size; } if (ep == NULL || *ep == NULL) { char **new_environ; #ifdef USE_TSEARCH char *new_value; #endif /* We allocated this space; we can extend it. */ new_environ = (char **) (last_environ == NULL ? malloc ((size + 2) * sizeof (char *)) : realloc (last_environ, (size + 2) * sizeof (char *))); if (new_environ == NULL) { /* It's easier to set errno to ENOMEM than to rely on the 'malloc-posix' and 'realloc-posix' gnulib modules. */ __set_errno (ENOMEM); UNLOCK; return -1; } /* If the whole entry is given add it. */ if (combined != NULL) /* We must not add the string to the search tree since it belongs to the user. */ new_environ[size] = (char *) combined; else { /* See whether the value is already known. */ #ifdef USE_TSEARCH # ifdef _LIBC new_value = (char *) alloca (namelen + 1 + vallen); __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), value, vallen); # else new_value = (char *) malloca (namelen + 1 + vallen); if (new_value == NULL) { __set_errno (ENOMEM); UNLOCK; return -1; } memcpy (new_value, name, namelen); new_value[namelen] = '='; memcpy (&new_value[namelen + 1], value, vallen); # endif new_environ[size] = KNOWN_VALUE (new_value); if (new_environ[size] == NULL) #endif { new_environ[size] = (char *) malloc (namelen + 1 + vallen); if (new_environ[size] == NULL) { #if defined USE_TSEARCH && !defined _LIBC freea (new_value); #endif __set_errno (ENOMEM); UNLOCK; return -1; } #ifdef USE_TSEARCH memcpy (new_environ[size], new_value, namelen + 1 + vallen); #else memcpy (new_environ[size], name, namelen); new_environ[size][namelen] = '='; memcpy (&new_environ[size][namelen + 1], value, vallen); #endif /* And save the value now. We cannot do this when we remove the string since then we cannot decide whether it is a user string or not. */ STORE_VALUE (new_environ[size]); } #if defined USE_TSEARCH && !defined _LIBC freea (new_value); #endif } if (__environ != last_environ) memcpy ((char *) new_environ, (char *) __environ, size * sizeof (char *)); new_environ[size + 1] = NULL; last_environ = __environ = new_environ; } else if (replace) { char *np; /* Use the user string if given. */ if (combined != NULL) np = (char *) combined; else { #ifdef USE_TSEARCH char *new_value; # ifdef _LIBC new_value = alloca (namelen + 1 + vallen); __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), value, vallen); # else new_value = malloca (namelen + 1 + vallen); if (new_value == NULL) { __set_errno (ENOMEM); UNLOCK; return -1; } memcpy (new_value, name, namelen); new_value[namelen] = '='; memcpy (&new_value[namelen + 1], value, vallen); # endif np = KNOWN_VALUE (new_value); if (np == NULL) #endif { np = (char *) malloc (namelen + 1 + vallen); if (np == NULL) { #if defined USE_TSEARCH && !defined _LIBC freea (new_value); #endif __set_errno (ENOMEM); UNLOCK; return -1; } #ifdef USE_TSEARCH memcpy (np, new_value, namelen + 1 + vallen); #else memcpy (np, name, namelen); np[namelen] = '='; memcpy (&np[namelen + 1], value, vallen); #endif /* And remember the value. */ STORE_VALUE (np); } #if defined USE_TSEARCH && !defined _LIBC freea (new_value); #endif } *ep = np; } UNLOCK; return 0; } int setenv (const char *name, const char *value, int replace) { if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) { __set_errno (EINVAL); return -1; } return __add_to_environ (name, value, NULL, replace); } /* The 'clearenv' was planned to be added to POSIX.1 but probably never made it. Nevertheless the POSIX.9 standard (POSIX bindings for Fortran 77) requires this function. */ int clearenv (void) { LOCK; if (__environ == last_environ && __environ != NULL) { /* We allocated this environment so we can free it. */ free (__environ); last_environ = NULL; } /* Clear the environment pointer removes the whole environment. */ __environ = NULL; UNLOCK; return 0; } #ifdef _LIBC static void free_mem (void) { /* Remove all traces. */ clearenv (); /* Now remove the search tree. */ __tdestroy (known_values, free); known_values = NULL; } text_set_element (__libc_subfreeres, free_mem); # undef setenv # undef clearenv weak_alias (__setenv, setenv) weak_alias (__clearenv, clearenv) #endif #endif /* _LIBC || !HAVE_SETENV */ /* The rest of this file is called into use when replacing an existing but buggy setenv. Known bugs include failure to diagnose invalid name, and consuming a leading '=' from value. */ #if HAVE_SETENV # undef setenv # if !HAVE_DECL_SETENV extern int setenv (const char *, const char *, int); # endif # define STREQ(a, b) (strcmp (a, b) == 0) int rpl_setenv (const char *name, const char *value, int replace) { int result; if (!name || !*name || strchr (name, '=')) { errno = EINVAL; return -1; } /* Call the real setenv even if replace is 0, in case implementation has underlying data to update, such as when environ changes. */ result = setenv (name, value, replace); if (result == 0 && replace && *value == '=') { char *tmp = getenv (name); if (!STREQ (tmp, value)) { int saved_errno; size_t len = strlen (value); tmp = malloca (len + 2); /* Since leading '=' is eaten, double it up. */ *tmp = '='; memcpy (tmp + 1, value, len + 1); result = setenv (name, tmp, replace); saved_errno = errno; freea (tmp); errno = saved_errno; } } return result; } #endif /* HAVE_SETENV */ gsasl-1.8.1/gltests/test-environ.c0000644000000000000000000000310613516251600014006 00000000000000/* Test of environ variable. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include int main () { /* The environment variables that are set even in the weirdest situations are HOME and PATH. POSIX says that HOME is initialized by the system, and that PATH may be unset. But in practice it's more frequent to see HOME unset and PATH set. So we test the presence of PATH. */ char **remaining_variables = environ; char *string; /* Wine 1.2 environ is always NULL see . */ return 0; for (; (string = *remaining_variables) != NULL; remaining_variables++) { if (strncmp (string, "PATH=", 5) == 0) /* Found the PATH environment variable. */ return 0; } /* Failed to find the PATH environment variable. */ return 1; } gsasl-1.8.1/gltests/glthread/0000755000000000000000000000000013521017734013063 500000000000000gsasl-1.8.1/gltests/glthread/yield.h0000644000000000000000000000355313516251577014301 00000000000000/* Yielding the processor to other threads and processes. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* This file contains a primitive for yielding the processor to other threads. extern void gl_thread_yield (void); */ #ifndef _GLTHREAD_YIELD_H #define _GLTHREAD_YIELD_H #include /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # ifdef __cplusplus extern "C" { # endif # define gl_thread_yield() \ sched_yield () # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # ifdef __cplusplus extern "C" { # endif # define gl_thread_yield() \ Sleep (0) # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ # define gl_thread_yield() 0 #endif /* ========================================================================= */ #endif /* _GLTHREAD_YIELD_H */ gsasl-1.8.1/gltests/glthread/thread.h0000644000000000000000000002456113516251577014444 00000000000000/* Creating and controlling threads. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ /* This file contains primitives for creating and controlling threads. Thread data type: gl_thread_t. Creating a thread: thread = gl_thread_create (func, arg); Or with control of error handling: err = glthread_create (&thread, func, arg); extern int glthread_create (gl_thread_t *result, void *(*func) (void *), void *arg); Querying and changing the signal mask of a thread (not supported on all platforms): gl_thread_sigmask (how, newmask, oldmask); Or with control of error handling: err = glthread_sigmask (how, newmask, oldmask); extern int glthread_sigmask (int how, const sigset_t *newmask, sigset_t *oldmask); Waiting for termination of another thread: gl_thread_join (thread, &return_value); Or with control of error handling: err = glthread_join (thread, &return_value); extern int glthread_join (gl_thread_t thread, void **return_value_ptr); Getting a reference to the current thread: current = gl_thread_self (); extern gl_thread_t gl_thread_self (void); Getting a reference to the current thread as a pointer, for debugging: ptr = gl_thread_self_pointer (); extern void * gl_thread_self_pointer (void); Terminating the current thread: gl_thread_exit (return_value); extern _Noreturn void gl_thread_exit (void *return_value); Requesting custom code to be executed at fork() time (not supported on all platforms): gl_thread_atfork (prepare_func, parent_func, child_func); Or with control of error handling: err = glthread_atfork (prepare_func, parent_func, child_func); extern int glthread_atfork (void (*prepare_func) (void), void (*parent_func) (void), void (*child_func) (void)); Note that even on platforms where this is supported, use of fork() and threads together is problematic, see */ #ifndef _GLTHREAD_THREAD_H #define _GLTHREAD_THREAD_H #include #include #if !defined c11_threads_in_use # if HAVE_THREADS_H && USE_POSIX_THREADS_WEAK # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif #endif #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GLTHREAD_THREAD_INLINE # define _GLTHREAD_THREAD_INLINE _GL_INLINE #endif /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include /* On IRIX, pthread_atfork is declared in , not in . */ # if defined __sgi # include # endif # if USE_POSIX_THREADS_WEAK /* Compilers other than GCC need to see the declaration of pthread_sigmask before the "#pragma weak pthread_sigmask" below. */ # include # endif # ifdef __cplusplus extern "C" { # endif # if PTHREAD_IN_USE_DETECTION_HARD /* The pthread_in_use() detection needs to be done at runtime. */ # define pthread_in_use() \ glthread_in_use () extern int glthread_in_use (void); # endif # if USE_POSIX_THREADS_WEAK /* Use weak references to the POSIX threads library. */ /* Weak references avoid dragging in external libraries if the other parts of the program don't use them. Here we use them, because we don't want every program that uses libintl to depend on libpthread. This assumes that libpthread would not be loaded after libintl; i.e. if libintl is loaded first, by an executable that does not depend on libpthread, and then a module is dynamically loaded that depends on libpthread, libintl will not be multithread-safe. */ /* The way to test at runtime whether libpthread is present is to test whether a function pointer's value, such as &pthread_mutex_init, is non-NULL. However, some versions of GCC have a bug through which, in PIC mode, &foo != NULL always evaluates to true if there is a direct call to foo(...) in the same function. To avoid this, we test the address of a function in libpthread that we don't use. */ # ifndef pthread_sigmask /* Do not declare rpl_pthread_sigmask weak. */ # pragma weak pthread_sigmask # endif # pragma weak pthread_join # ifndef pthread_self # pragma weak pthread_self # endif # pragma weak pthread_exit # if HAVE_PTHREAD_ATFORK # pragma weak pthread_atfork # endif # if !PTHREAD_IN_USE_DETECTION_HARD # pragma weak pthread_mutexattr_gettype # define pthread_in_use() \ (pthread_mutexattr_gettype != NULL || c11_threads_in_use ()) # endif # else # if !PTHREAD_IN_USE_DETECTION_HARD # define pthread_in_use() 1 # endif # endif /* -------------------------- gl_thread_t datatype -------------------------- */ /* This choice of gl_thread_t assumes that pthread_equal (a, b) is equivalent to ((a) == (b)). This is the case on all platforms in use in 2008. */ typedef pthread_t gl_thread_t; # define glthread_create(THREADP, FUNC, ARG) \ (pthread_in_use () ? pthread_create (THREADP, NULL, FUNC, ARG) : ENOSYS) # define glthread_sigmask(HOW, SET, OSET) \ (pthread_in_use () ? pthread_sigmask (HOW, SET, OSET) : 0) # define glthread_join(THREAD, RETVALP) \ (pthread_in_use () ? pthread_join (THREAD, RETVALP) : 0) # ifdef PTW32_VERSION /* In pthreads-win32, pthread_t is a struct with a pointer field 'p' and other fields. */ # define gl_thread_self() \ (pthread_in_use () ? pthread_self () : gl_null_thread) # define gl_thread_self_pointer() \ (pthread_in_use () ? pthread_self ().p : NULL) extern const gl_thread_t gl_null_thread; # elif defined __MVS__ /* On IBM z/OS, pthread_t is a struct with an 8-byte '__' field. The first three bytes of this field appear to uniquely identify a pthread_t, though not necessarily representing a pointer. */ # define gl_thread_self() \ (pthread_in_use () ? pthread_self () : gl_null_thread) # define gl_thread_self_pointer() \ (pthread_in_use () ? *((void **) pthread_self ().__) : NULL) extern const gl_thread_t gl_null_thread; # else # define gl_thread_self() \ (pthread_in_use () ? pthread_self () : (pthread_t) NULL) # define gl_thread_self_pointer() \ (pthread_in_use () ? (void *) pthread_self () : NULL) # endif # define gl_thread_exit(RETVAL) \ (pthread_in_use () ? pthread_exit (RETVAL) : 0) # if HAVE_PTHREAD_ATFORK # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) \ (pthread_in_use () ? pthread_atfork (PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) : 0) # else # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 # endif # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-thread.h" # ifdef __cplusplus extern "C" { # endif /* -------------------------- gl_thread_t datatype -------------------------- */ typedef glwthread_thread_t gl_thread_t; # define glthread_create(THREADP, FUNC, ARG) \ glwthread_thread_create (THREADP, 0, FUNC, ARG) # define glthread_sigmask(HOW, SET, OSET) \ /* unsupported */ 0 # define glthread_join(THREAD, RETVALP) \ glwthread_thread_join (THREAD, RETVALP) # define gl_thread_self() \ glwthread_thread_self () # define gl_thread_self_pointer() \ gl_thread_self () # define gl_thread_exit(RETVAL) \ glwthread_thread_exit (RETVAL) # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ typedef int gl_thread_t; # define glthread_create(THREADP, FUNC, ARG) ENOSYS # define glthread_sigmask(HOW, SET, OSET) 0 # define glthread_join(THREAD, RETVALP) 0 # define gl_thread_self() 0 # define gl_thread_self_pointer() \ ((void *) gl_thread_self ()) # define gl_thread_exit(RETVAL) 0 # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 #endif /* ========================================================================= */ /* Macros with built-in error handling. */ #ifdef __cplusplus extern "C" { #endif _GLTHREAD_THREAD_INLINE gl_thread_t gl_thread_create (void *(*func) (void *arg), void *arg) { gl_thread_t thread; int ret; ret = glthread_create (&thread, func, arg); if (ret != 0) abort (); return thread; } #define gl_thread_sigmask(HOW, SET, OSET) \ do \ { \ if (glthread_sigmask (HOW, SET, OSET)) \ abort (); \ } \ while (0) #define gl_thread_join(THREAD, RETVAL) \ do \ { \ if (glthread_join (THREAD, RETVAL)) \ abort (); \ } \ while (0) #define gl_thread_atfork(PREPARE, PARENT, CHILD) \ do \ { \ if (glthread_atfork (PREPARE, PARENT, CHILD)) \ abort (); \ } \ while (0) #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _GLTHREAD_THREAD_H */ gsasl-1.8.1/gltests/glthread/thread.c0000644000000000000000000000266213516251577014435 00000000000000/* Creating and controlling threads. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ #include /* Specification. */ # define _GLTHREAD_THREAD_INLINE _GL_EXTERN_INLINE #include "glthread/thread.h" #include #include "glthread/lock.h" /* ========================================================================= */ #if USE_POSIX_THREADS #include #if defined PTW32_VERSION || defined __MVS__ const gl_thread_t gl_null_thread /* = { .p = NULL } */; #endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS #endif /* ========================================================================= */ gsasl-1.8.1/gltests/test-stddef.c0000644000000000000000000000540013516251601013577 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include #include #include "verify.h" /* Check that appropriate types are defined. */ wchar_t a = 'c'; ptrdiff_t b = 1; size_t c = 2; max_align_t x; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); /* Check that offsetof produces integer constants with correct type. */ struct d { char e; char f; }; /* Solaris 10 has a bug where offsetof is under-parenthesized, and cannot be used as an arbitrary expression. However, since it is unlikely to bite real code, we ignore that short-coming. */ /* verify (sizeof offsetof (struct d, e) == sizeof (size_t)); */ verify (sizeof (offsetof (struct d, e)) == sizeof (size_t)); verify (offsetof (struct d, f) == 1); /* offsetof promotes to an unsigned integer if and only if sizes do not fit in int. */ verify ((offsetof (struct d, e) < -1) == (INT_MAX < (size_t) -1)); /* Check max_align_t's alignment. */ verify (alignof (double) <= alignof (max_align_t)); verify (alignof (int) <= alignof (max_align_t)); verify (alignof (long double) <= alignof (max_align_t)); verify (alignof (long int) <= alignof (max_align_t)); verify (alignof (ptrdiff_t) <= alignof (max_align_t)); verify (alignof (size_t) <= alignof (max_align_t)); verify (alignof (wchar_t) <= alignof (max_align_t)); verify (alignof (struct d) <= alignof (max_align_t)); #if defined __GNUC__ || defined __IBM__ALIGNOF__ verify (__alignof__ (double) <= __alignof__ (max_align_t)); verify (__alignof__ (int) <= __alignof__ (max_align_t)); verify (__alignof__ (long double) <= __alignof__ (max_align_t)); verify (__alignof__ (long int) <= __alignof__ (max_align_t)); verify (__alignof__ (ptrdiff_t) <= __alignof__ (max_align_t)); verify (__alignof__ (size_t) <= __alignof__ (max_align_t)); verify (__alignof__ (wchar_t) <= __alignof__ (max_align_t)); verify (__alignof__ (struct d) <= __alignof__ (max_align_t)); #endif int main (void) { return 0; } gsasl-1.8.1/gltests/raise.c0000644000000000000000000000341413516251573012467 00000000000000/* Provide a non-threads replacement for the POSIX raise function. Copyright (C) 2002-2003, 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Jim Meyering and Bruno Haible */ #include /* Specification. */ #include #if HAVE_RAISE /* Native Windows platform. */ # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Forward declaration. */ static int raise_nothrow (int sig); # else # define raise_nothrow raise # endif #else /* An old Unix platform. */ # include #endif int raise (int sig) #undef raise { #if GNULIB_defined_signal_blocking && GNULIB_defined_SIGPIPE if (sig == SIGPIPE) return _gl_raise_SIGPIPE (); #endif #if HAVE_RAISE return raise_nothrow (sig); #else return kill (getpid (), sig); #endif } #if HAVE_RAISE && HAVE_MSVC_INVALID_PARAMETER_HANDLER static int raise_nothrow (int sig) { int result; TRY_MSVC_INVAL { result = raise (sig); } CATCH_MSVC_INVAL { result = -1; errno = EINVAL; } DONE_MSVC_INVAL; return result; } #endif gsasl-1.8.1/gltests/test-fread.c0000644000000000000000000000516113516251600013412 00000000000000/* Test of fread() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fread, size_t, (void *, size_t, size_t, FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fread.txt"; /* We don't have an fread() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Prepare a file. */ { const char text[] = "hello world"; int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600); ASSERT (fd >= 0); ASSERT (write (fd, text, sizeof (text)) == sizeof (text)); ASSERT (close (fd) == 0); } /* Test that fread() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "r"); char buf[5]; ASSERT (fp != NULL); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fread (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fread() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "r"); if (fp != NULL) { char buf[1]; errno = 0; ASSERT (fread (buf, 1, 1, fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "r"); if (fp != NULL) { char buf[1]; errno = 0; ASSERT (fread (buf, 1, 1, fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/gltests/filename.h0000644000000000000000000000362613516251573013156 00000000000000/* Basic filename support macros. Copyright (C) 2001-2004, 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _FILENAME_H #define _FILENAME_H #ifdef __cplusplus extern "C" { #endif /* Pathname support. ISSLASH(C) tests whether C is a directory separator character. IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, it may be concatenated to a directory pathname. IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. */ #if defined _WIN32 || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ /* Native Windows, Cygwin, OS/2, DOS */ # define ISSLASH(C) ((C) == '/' || (C) == '\\') # define HAS_DEVICE(P) \ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ && (P)[1] == ':') # define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) # define IS_PATH_WITH_DIR(P) \ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) # define FILE_SYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) #else /* Unix */ # define ISSLASH(C) ((C) == '/') # define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) # define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) # define FILE_SYSTEM_PREFIX_LEN(P) 0 #endif #ifdef __cplusplus } #endif #endif /* _FILENAME_H */ gsasl-1.8.1/gltests/nap.h0000644000000000000000000001021513516251573012144 00000000000000/* Assist in file system timestamp tests. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #ifndef GLTEST_NAP_H # define GLTEST_NAP_H # include # include # include /* Name of the witness file. */ #define TEMPFILE BASE "nap.tmp" /* File descriptor used for the witness file. */ static int nap_fd = -1; /* Return A - B, in ns. Return 0 if the true result would be negative. Return INT_MAX if the true result would be greater than INT_MAX. */ static int diff_timespec (struct timespec a, struct timespec b) { time_t as = a.tv_sec; time_t bs = b.tv_sec; int ans = a.tv_nsec; int bns = b.tv_nsec; int sdiff; ASSERT (0 <= ans && ans < 2000000000); ASSERT (0 <= bns && bns < 2000000000); if (! (bs < as || (bs == as && bns < ans))) return 0; if (INT_SUBTRACT_WRAPV (as, bs, &sdiff) || INT_MULTIPLY_WRAPV (sdiff, 1000000000, &sdiff) || INT_ADD_WRAPV (sdiff, ans - bns, &sdiff)) return INT_MAX; return sdiff; } /* If DO_WRITE, bump the modification time of the file designated by NAP_FD. Then fetch the new STAT information of NAP_FD. */ static void nap_get_stat (struct stat *st, int do_write) { if (do_write) { ASSERT (write (nap_fd, "\n", 1) == 1); #if defined _WIN32 || defined __CYGWIN__ /* On Windows, the modification times are not changed until NAP_FD is closed. See */ close (nap_fd); nap_fd = open (TEMPFILE, O_RDWR, 0600); ASSERT (nap_fd != -1); lseek (nap_fd, 0, SEEK_END); #endif } ASSERT (fstat (nap_fd, st) == 0); } /* Given a file whose descriptor is FD, see whether delaying by DELAY nanoseconds causes a change in a file's mtime. OLD_ST is the file's status, recently gotten. */ static bool nap_works (int delay, struct stat old_st) { struct stat st; struct timespec delay_spec; delay_spec.tv_sec = delay / 1000000000; delay_spec.tv_nsec = delay % 1000000000; ASSERT (nanosleep (&delay_spec, 0) == 0); nap_get_stat (&st, 1); if (diff_timespec (get_stat_mtime (&st), get_stat_mtime (&old_st))) return true; return false; } static void clear_temp_file (void) { if (0 <= nap_fd) { ASSERT (close (nap_fd) != -1); ASSERT (unlink (TEMPFILE) != -1); } } /* Sleep long enough to notice a timestamp difference on the file system in the current directory. Use an adaptive approach, trying to find the smallest delay which works on the current file system to make the timestamp difference appear. Assert a maximum delay of ~2 seconds, more precisely sum(2^n) from 0 to 30 = 2^31 - 1 = 2.1s. Assumes that BASE is defined, and requires that the test module depends on nanosleep. */ static void nap (void) { struct stat old_st; static int delay = 1; if (-1 == nap_fd) { atexit (clear_temp_file); ASSERT ((nap_fd = creat (TEMPFILE, 0600)) != -1); nap_get_stat (&old_st, 0); } else { ASSERT (0 <= nap_fd); nap_get_stat (&old_st, 1); } if (1 < delay) delay = delay / 2; /* Try half of the previous delay. */ ASSERT (0 < delay); for (;;) { if (nap_works (delay, old_st)) return; if (delay <= (2147483647 - 1) / 2) { delay = delay * 2 + 1; continue; } else break; } /* Bummer: even the highest nap delay didn't work. */ ASSERT (0); } #endif /* GLTEST_NAP_H */ gsasl-1.8.1/gltests/test-usleep.c0000644000000000000000000000211213516251574013631 00000000000000/* Test of usleep() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (usleep, int, (useconds_t)); #include #include "macros.h" int main (void) { time_t start = time (NULL); ASSERT (usleep (1000000) == 0); ASSERT (start < time (NULL)); ASSERT (usleep (0) == 0); return 0; } gsasl-1.8.1/gltests/open.c0000644000000000000000000001504713516251600012321 00000000000000/* Open a descriptor to a file. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_open doesn't recurse to rpl_open. */ #define __need_system_fcntl_h #include /* Get the original definition of open. It might be defined as a macro. */ #include #include #undef __need_system_fcntl_h static int orig_open (const char *filename, int flags, mode_t mode) { return open (filename, flags, mode); } /* Specification. */ /* Write "fcntl.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ #include "fcntl.h" #include "cloexec.h" #include #include #include #include #include #include #ifndef REPLACE_OPEN_DIRECTORY # define REPLACE_OPEN_DIRECTORY 0 #endif int open (const char *filename, int flags, ...) { /* 0 = unknown, 1 = yes, -1 = no. */ #if GNULIB_defined_O_CLOEXEC int have_cloexec = -1; #else static int have_cloexec; #endif mode_t mode; int fd; mode = 0; if (flags & O_CREAT) { va_list arg; va_start (arg, flags); /* We have to use PROMOTED_MODE_T instead of mode_t, otherwise GCC 4 creates crashing code when 'mode_t' is smaller than 'int'. */ mode = va_arg (arg, PROMOTED_MODE_T); va_end (arg); } #if GNULIB_defined_O_NONBLOCK /* The only known platform that lacks O_NONBLOCK is mingw, but it also lacks named pipes and Unix sockets, which are the only two file types that require non-blocking handling in open(). Therefore, it is safe to ignore O_NONBLOCK here. It is handy that mingw also lacks openat(), so that is also covered here. */ flags &= ~O_NONBLOCK; #endif #if defined _WIN32 && ! defined __CYGWIN__ if (strcmp (filename, "/dev/null") == 0) filename = "NUL"; #endif #if OPEN_TRAILING_SLASH_BUG /* If the filename ends in a slash and one of O_CREAT, O_WRONLY, O_RDWR is specified, then fail. Rationale: POSIX says that "A pathname that contains at least one non-slash character and that ends with one or more trailing slashes shall be resolved as if a single dot character ( '.' ) were appended to the pathname." and "The special filename dot shall refer to the directory specified by its predecessor." If the named file already exists as a directory, then - if O_CREAT is specified, open() must fail because of the semantics of O_CREAT, - if O_WRONLY or O_RDWR is specified, open() must fail because POSIX says that it fails with errno = EISDIR in this case. If the named file does not exist or does not name a directory, then - if O_CREAT is specified, open() must fail since open() cannot create directories, - if O_WRONLY or O_RDWR is specified, open() must fail because the file does not contain a '.' directory. */ if (flags & (O_CREAT | O_WRONLY | O_RDWR)) { size_t len = strlen (filename); if (len > 0 && filename[len - 1] == '/') { errno = EISDIR; return -1; } } #endif fd = orig_open (filename, flags & ~(have_cloexec <= 0 ? O_CLOEXEC : 0), mode); if (flags & O_CLOEXEC) { if (! have_cloexec) { if (0 <= fd) have_cloexec = 1; else if (errno == EINVAL) { fd = orig_open (filename, flags & ~O_CLOEXEC, mode); have_cloexec = -1; } } if (have_cloexec < 0 && 0 <= fd) set_cloexec_flag (fd, true); } #if REPLACE_FCHDIR /* Implementing fchdir and fdopendir requires the ability to open a directory file descriptor. If open doesn't support that (as on mingw), we use a dummy file that behaves the same as directories on Linux (ie. always reports EOF on attempts to read()), and override fstat() in fchdir.c to hide the fact that we have a dummy. */ if (REPLACE_OPEN_DIRECTORY && fd < 0 && errno == EACCES && ((flags & O_ACCMODE) == O_RDONLY || (O_SEARCH != O_RDONLY && (flags & O_ACCMODE) == O_SEARCH))) { struct stat statbuf; if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) { /* Maximum recursion depth of 1. */ fd = open ("/dev/null", flags, mode); if (0 <= fd) fd = _gl_register_fd (fd, filename); } else errno = EACCES; } #endif #if OPEN_TRAILING_SLASH_BUG /* If the filename ends in a slash and fd does not refer to a directory, then fail. Rationale: POSIX says that "A pathname that contains at least one non-slash character and that ends with one or more trailing slashes shall be resolved as if a single dot character ( '.' ) were appended to the pathname." and "The special filename dot shall refer to the directory specified by its predecessor." If the named file without the slash is not a directory, open() must fail with ENOTDIR. */ if (fd >= 0) { /* We know len is positive, since open did not fail with ENOENT. */ size_t len = strlen (filename); if (filename[len - 1] == '/') { struct stat statbuf; if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) { close (fd); errno = ENOTDIR; return -1; } } } #endif #if REPLACE_FCHDIR if (!REPLACE_OPEN_DIRECTORY && 0 <= fd) fd = _gl_register_fd (fd, filename); #endif return fd; } gsasl-1.8.1/gltests/test-snprintf.c0000644000000000000000000000372313516251601014177 00000000000000/* Test of snprintf() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (snprintf, int, (char *, size_t, char const *, ...)); #include #include "macros.h" int main (int argc, char *argv[]) { char buf[8]; int size; int retval; retval = snprintf (NULL, 0, "%d", 12345); ASSERT (retval == 5); for (size = 0; size <= 8; size++) { memcpy (buf, "DEADBEEF", 8); retval = snprintf (buf, size, "%d", 12345); ASSERT (retval == 5); if (size < 6) { if (size > 0) { ASSERT (memcmp (buf, "12345", size - 1) == 0); ASSERT (buf[size - 1] == '\0' || buf[size - 1] == '0' + size); } #if !CHECK_SNPRINTF_POSIX if (size > 0) #endif ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); } else { ASSERT (memcmp (buf, "12345\0EF", 8) == 0); } } /* Test the support of the POSIX/XSI format strings with positions. */ { char result[100]; retval = snprintf (result, sizeof (result), "%2$d %1$d", 33, 55); ASSERT (strcmp (result, "55 33") == 0); ASSERT (retval == strlen (result)); } return 0; } gsasl-1.8.1/gltests/test-cloexec.c0000644000000000000000000000772713516251574013777 00000000000000/* Test duplicating non-inheritable file descriptors. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include "cloexec.h" #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #endif #include "binary-io.h" #include "macros.h" /* Return non-zero if FD is open and inheritable across exec/spawn. */ static int is_inheritable (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ HANDLE h = (HANDLE) _get_osfhandle (fd); DWORD flags; if (h == INVALID_HANDLE_VALUE || GetHandleInformation (h, &flags) == 0) return 0; return (flags & HANDLE_FLAG_INHERIT) != 0; #else # ifndef F_GETFD # error Please port fcntl to your platform # endif int i = fcntl (fd, F_GETFD); return 0 <= i && (i & FD_CLOEXEC) == 0; #endif } #if !O_BINARY # define setmode(f,m) zero () static int zero (void) { return 0; } #endif /* Return non-zero if FD is open in the given MODE, which is either O_TEXT or O_BINARY. */ static int is_mode (int fd, int mode) { int value = setmode (fd, O_BINARY); setmode (fd, value); return mode == value; } int main (void) { const char *file = "test-cloexec.tmp"; int fd = creat (file, 0600); int fd2; int bad_fd = getdtablesize (); /* Assume std descriptors were provided by invoker. */ ASSERT (STDERR_FILENO < fd); ASSERT (is_inheritable (fd)); /* Normal use of set_cloexec_flag. */ ASSERT (set_cloexec_flag (fd, true) == 0); #if !(defined _WIN32 && ! defined __CYGWIN__) ASSERT (!is_inheritable (fd)); #endif ASSERT (set_cloexec_flag (fd, false) == 0); ASSERT (is_inheritable (fd)); /* Normal use of dup_cloexec. */ fd2 = dup_cloexec (fd); ASSERT (fd < fd2); ASSERT (!is_inheritable (fd2)); ASSERT (close (fd) == 0); ASSERT (dup_cloexec (fd2) == fd); ASSERT (!is_inheritable (fd)); ASSERT (close (fd2) == 0); /* On systems that distinguish between text and binary mode, dup_cloexec reuses the mode of the source. */ setmode (fd, O_BINARY); ASSERT (is_mode (fd, O_BINARY)); fd2 = dup_cloexec (fd); ASSERT (fd < fd2); ASSERT (is_mode (fd2, O_BINARY)); ASSERT (close (fd2) == 0); setmode (fd, O_TEXT); ASSERT (is_mode (fd, O_TEXT)); fd2 = dup_cloexec (fd); ASSERT (fd < fd2); ASSERT (is_mode (fd2, O_TEXT)); ASSERT (close (fd2) == 0); /* Test error handling. */ errno = 0; ASSERT (set_cloexec_flag (-1, false) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (set_cloexec_flag (bad_fd, false) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (set_cloexec_flag (fd2, false) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup_cloexec (-1) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup_cloexec (bad_fd) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup_cloexec (fd2) == -1); ASSERT (errno == EBADF); /* Clean up. */ ASSERT (close (fd) == 0); ASSERT (unlink (file) == 0); return 0; } gsasl-1.8.1/gltests/test-wcrtomb-w32-3.sh0000755000000000000000000000013413516251601014746 00000000000000#!/bin/sh # Test a CP932 locale. ${CHECKER} ./test-wcrtomb-w32${EXEEXT} Japanese_Japan 932 gsasl-1.8.1/gltests/test-stat-time.c0000644000000000000000000001524113516251574014252 00000000000000/* Test of . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by James Youngman , 2007. */ #include #include "stat-time.h" #include #include #include #include #include #include #include "macros.h" #define BASE "test-stat-time.t" #include "nap.h" enum { NFILES = 4 }; static char filename_stamp1[50]; static char filename_testfile[50]; static char filename_stamp2[50]; static char filename_stamp3[50]; /* Use file names that are different at each run. This is necessary for test_birthtime() to pass on native Windows: On this platform, the file system apparently remembers the creation time of a file even after it is removed and created anew. See "Windows NT Contains File System Tunneling Capabilities" */ static void initialize_filenames (void) { long t = (long) time (NULL); sprintf (filename_stamp1, "t-stt-%ld-stamp1", t); sprintf (filename_testfile, "t-stt-%ld-testfile", t); sprintf (filename_stamp2, "t-stt-%ld-stamp2", t); sprintf (filename_stamp3, "t-stt-%ld-stamp3", t); } static int force_unlink (const char *filename) { /* This chmod is necessary on mingw, where unlink() of a read-only file fails with EPERM. */ chmod (filename, 0600); return unlink (filename); } static void cleanup (int sig) { /* Remove temporary files. */ force_unlink (filename_stamp1); force_unlink (filename_testfile); force_unlink (filename_stamp2); force_unlink (filename_stamp3); if (sig != 0) _exit (1); } static int open_file (const char *filename, int flags) { int fd = open (filename, flags | O_WRONLY, 0500); if (fd >= 0) { close (fd); return 1; } else { return 0; } } static void create_file (const char *filename) { ASSERT (open_file (filename, O_CREAT | O_EXCL)); } static void do_stat (const char *filename, struct stat *p) { ASSERT (stat (filename, p) == 0); } static void prepare_test (struct stat *statinfo, struct timespec *modtimes) { int i; create_file (filename_stamp1); nap (); create_file (filename_testfile); nap (); create_file (filename_stamp2); nap (); ASSERT (chmod (filename_testfile, 0400) == 0); nap (); create_file (filename_stamp3); do_stat (filename_stamp1, &statinfo[0]); do_stat (filename_testfile, &statinfo[1]); do_stat (filename_stamp2, &statinfo[2]); do_stat (filename_stamp3, &statinfo[3]); /* Now use our access functions. */ for (i = 0; i < NFILES; ++i) { modtimes[i] = get_stat_mtime (&statinfo[i]); } } static void test_mtime (const struct stat *statinfo, struct timespec *modtimes) { int i; /* Use the struct stat fields directly. */ /* mtime(stamp1) < mtime(stamp2) */ ASSERT (statinfo[0].st_mtime < statinfo[2].st_mtime || (statinfo[0].st_mtime == statinfo[2].st_mtime && (get_stat_mtime_ns (&statinfo[0]) < get_stat_mtime_ns (&statinfo[2])))); /* mtime(stamp2) < mtime(stamp3) */ ASSERT (statinfo[2].st_mtime < statinfo[3].st_mtime || (statinfo[2].st_mtime == statinfo[3].st_mtime && (get_stat_mtime_ns (&statinfo[2]) < get_stat_mtime_ns (&statinfo[3])))); /* Now check the result of the access functions. */ /* mtime(stamp1) < mtime(stamp2) */ ASSERT (modtimes[0].tv_sec < modtimes[2].tv_sec || (modtimes[0].tv_sec == modtimes[2].tv_sec && modtimes[0].tv_nsec < modtimes[2].tv_nsec)); /* mtime(stamp2) < mtime(stamp3) */ ASSERT (modtimes[2].tv_sec < modtimes[3].tv_sec || (modtimes[2].tv_sec == modtimes[3].tv_sec && modtimes[2].tv_nsec < modtimes[3].tv_nsec)); /* verify equivalence */ for (i = 0; i < NFILES; ++i) { struct timespec ts; ts = get_stat_mtime (&statinfo[i]); ASSERT (ts.tv_sec == statinfo[i].st_mtime); } } #if defined _WIN32 && !defined __CYGWIN__ /* Skip the ctime tests on native Windows platforms, because their st_ctime is either the same as st_mtime (plus or minus an offset) or set to the file _creation_ time, and is not influenced by rename or chmod. */ # define test_ctime(ignored) ((void) 0) #else static void test_ctime (const struct stat *statinfo) { /* On some buggy NFS clients, mtime and ctime are disproportionately skewed from one another. Skip this test in that case. */ if (statinfo[0].st_mtime != statinfo[0].st_ctime) return; /* mtime(stamp2) < ctime(testfile) */ ASSERT (statinfo[2].st_mtime < statinfo[1].st_ctime || (statinfo[2].st_mtime == statinfo[1].st_ctime && (get_stat_mtime_ns (&statinfo[2]) < get_stat_ctime_ns (&statinfo[1])))); } #endif static void test_birthtime (const struct stat *statinfo, const struct timespec *modtimes, struct timespec *birthtimes) { int i; /* Collect the birth times. */ for (i = 0; i < NFILES; ++i) { birthtimes[i] = get_stat_birthtime (&statinfo[i]); if (birthtimes[i].tv_nsec < 0) return; } /* mtime(stamp1) < birthtime(testfile) */ ASSERT (modtimes[0].tv_sec < birthtimes[1].tv_sec || (modtimes[0].tv_sec == birthtimes[1].tv_sec && modtimes[0].tv_nsec < birthtimes[1].tv_nsec)); /* birthtime(testfile) < mtime(stamp2) */ ASSERT (birthtimes[1].tv_sec < modtimes[2].tv_sec || (birthtimes[1].tv_sec == modtimes[2].tv_sec && birthtimes[1].tv_nsec < modtimes[2].tv_nsec)); } int main (void) { struct stat statinfo[NFILES]; struct timespec modtimes[NFILES]; struct timespec birthtimes[NFILES]; initialize_filenames (); #ifdef SIGHUP signal (SIGHUP, cleanup); #endif #ifdef SIGINT signal (SIGINT, cleanup); #endif #ifdef SIGQUIT signal (SIGQUIT, cleanup); #endif #ifdef SIGTERM signal (SIGTERM, cleanup); #endif cleanup (0); prepare_test (statinfo, modtimes); test_mtime (statinfo, modtimes); test_ctime (statinfo); test_birthtime (statinfo, modtimes, birthtimes); cleanup (0); return 0; } gsasl-1.8.1/gltests/Makefile.am0000644000000000000000000014766413516251627013274 00000000000000## DO NOT EDIT! GENERATED AUTOMATICALLY! ## Process this file with automake to produce Makefile.in. # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. AUTOMAKE_OPTIONS = 1.11 foreign subdir-objects SUBDIRS = . TESTS = XFAIL_TESTS = TESTS_ENVIRONMENT = noinst_PROGRAMS = check_PROGRAMS = EXTRA_PROGRAMS = noinst_HEADERS = noinst_LIBRARIES = check_LIBRARIES = libtests.a EXTRA_DIST = BUILT_SOURCES = SUFFIXES = MOSTLYCLEANFILES = core *.stackdump MOSTLYCLEANDIRS = CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = AM_CPPFLAGS = \ -D@gltests_WITNESS@=1 \ -I. -I$(srcdir) \ -I.. -I$(srcdir)/.. \ -I../gl -I$(srcdir)/../gl LDADD = libtests.a ../gl/libgl.la libtests.a $(LIBTESTS_LIBDEPS) libtests_a_SOURCES = libtests_a_LIBADD = $(gltests_LIBOBJS) libtests_a_DEPENDENCIES = $(gltests_LIBOBJS) EXTRA_libtests_a_SOURCES = AM_LIBTOOLFLAGS = --preserve-dup-deps TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)' ## begin gnulib module alloca-opt-tests TESTS += test-alloca-opt check_PROGRAMS += test-alloca-opt EXTRA_DIST += test-alloca-opt.c ## end gnulib module alloca-opt-tests ## begin gnulib module arpa_inet-tests TESTS += test-arpa_inet check_PROGRAMS += test-arpa_inet EXTRA_DIST += test-arpa_inet.c ## end gnulib module arpa_inet-tests ## begin gnulib module binary-io libtests_a_SOURCES += binary-io.h binary-io.c ## end gnulib module binary-io ## begin gnulib module binary-io-tests TESTS += test-binary-io.sh check_PROGRAMS += test-binary-io EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h ## end gnulib module binary-io-tests ## begin gnulib module btowc EXTRA_DIST += btowc.c EXTRA_libtests_a_SOURCES += btowc.c ## end gnulib module btowc ## begin gnulib module btowc-tests TESTS += test-btowc1.sh test-btowc2.sh TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' check_PROGRAMS += test-btowc EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h ## end gnulib module btowc-tests ## begin gnulib module c-ctype-tests TESTS += test-c-ctype check_PROGRAMS += test-c-ctype EXTRA_DIST += test-c-ctype.c macros.h ## end gnulib module c-ctype-tests ## begin gnulib module c-strcase-tests TESTS += test-c-strcase.sh TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h ## end gnulib module c-strcase-tests ## begin gnulib module cloexec libtests_a_SOURCES += cloexec.c EXTRA_DIST += cloexec.h ## end gnulib module cloexec ## begin gnulib module cloexec-tests TESTS += test-cloexec check_PROGRAMS += test-cloexec EXTRA_DIST += test-cloexec.c macros.h ## end gnulib module cloexec-tests ## begin gnulib module close-tests TESTS += test-close check_PROGRAMS += test-close EXTRA_DIST += test-close.c signature.h macros.h ## end gnulib module close-tests ## begin gnulib module connect-tests TESTS += test-connect check_PROGRAMS += test-connect test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) EXTRA_DIST += test-connect.c signature.h macros.h ## end gnulib module connect-tests ## begin gnulib module ctype BUILT_SOURCES += ctype.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/ctype.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += ctype.h ctype.h-t EXTRA_DIST += ctype.in.h ## end gnulib module ctype ## begin gnulib module ctype-tests TESTS += test-ctype check_PROGRAMS += test-ctype EXTRA_DIST += test-ctype.c ## end gnulib module ctype-tests ## begin gnulib module dup2-tests TESTS += test-dup2 check_PROGRAMS += test-dup2 EXTRA_DIST += test-dup2.c signature.h macros.h ## end gnulib module dup2-tests ## begin gnulib module environ-tests TESTS += test-environ check_PROGRAMS += test-environ EXTRA_DIST += test-environ.c ## end gnulib module environ-tests ## begin gnulib module errno-tests TESTS += test-errno check_PROGRAMS += test-errno EXTRA_DIST += test-errno.c ## end gnulib module errno-tests ## begin gnulib module fcntl EXTRA_DIST += fcntl.c EXTRA_libtests_a_SOURCES += fcntl.c ## end gnulib module fcntl ## begin gnulib module fcntl-h BUILT_SOURCES += fcntl.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/fcntl.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += fcntl.h fcntl.h-t EXTRA_DIST += fcntl.in.h ## end gnulib module fcntl-h ## begin gnulib module fcntl-h-tests TESTS += test-fcntl-h check_PROGRAMS += test-fcntl-h EXTRA_DIST += test-fcntl-h.c ## end gnulib module fcntl-h-tests ## begin gnulib module fcntl-tests TESTS += test-fcntl check_PROGRAMS += test-fcntl EXTRA_DIST += test-fcntl.c signature.h macros.h ## end gnulib module fcntl-tests ## begin gnulib module fdopen EXTRA_DIST += fdopen.c EXTRA_libtests_a_SOURCES += fdopen.c ## end gnulib module fdopen ## begin gnulib module fdopen-tests TESTS += test-fdopen check_PROGRAMS += test-fdopen EXTRA_DIST += test-fdopen.c signature.h macros.h ## end gnulib module fdopen-tests ## begin gnulib module fgetc-tests TESTS += test-fgetc check_PROGRAMS += test-fgetc EXTRA_DIST += test-fgetc.c signature.h macros.h ## end gnulib module fgetc-tests ## begin gnulib module filename EXTRA_DIST += filename.h ## end gnulib module filename ## begin gnulib module flexmember EXTRA_DIST += flexmember.h ## end gnulib module flexmember ## begin gnulib module float-tests TESTS += test-float check_PROGRAMS += test-float EXTRA_DIST += test-float.c macros.h ## end gnulib module float-tests ## begin gnulib module fpucw EXTRA_DIST += fpucw.h ## end gnulib module fpucw ## begin gnulib module fputc-tests TESTS += test-fputc check_PROGRAMS += test-fputc EXTRA_DIST += test-fputc.c signature.h macros.h ## end gnulib module fputc-tests ## begin gnulib module fread-tests TESTS += test-fread check_PROGRAMS += test-fread EXTRA_DIST += test-fread.c signature.h macros.h ## end gnulib module fread-tests ## begin gnulib module fseek-tests TESTS += test-fseek.sh test-fseek2.sh check_PROGRAMS += test-fseek EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h ## end gnulib module fseek-tests ## begin gnulib module fseeko-tests TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4 EXTRA_DIST += test-fseeko.c test-fseeko.sh test-fseeko2.sh test-fseeko3.c test-fseeko3.sh test-fseeko4.c test-fseeko4.sh signature.h macros.h ## end gnulib module fseeko-tests ## begin gnulib module fstat-tests TESTS += test-fstat check_PROGRAMS += test-fstat EXTRA_DIST += test-fstat.c signature.h macros.h ## end gnulib module fstat-tests ## begin gnulib module fwrite-tests TESTS += test-fwrite check_PROGRAMS += test-fwrite EXTRA_DIST += test-fwrite.c signature.h macros.h ## end gnulib module fwrite-tests ## begin gnulib module getaddrinfo-tests TESTS += test-getaddrinfo check_PROGRAMS += test-getaddrinfo test_getaddrinfo_LDADD = $(LDADD) @GETADDRINFO_LIB@ @LIBINTL@ EXTRA_DIST += signature.h test-getaddrinfo.c ## end gnulib module getaddrinfo-tests ## begin gnulib module getcwd-lgpl EXTRA_DIST += getcwd-lgpl.c EXTRA_libtests_a_SOURCES += getcwd-lgpl.c ## end gnulib module getcwd-lgpl ## begin gnulib module getcwd-lgpl-tests TESTS += test-getcwd-lgpl check_PROGRAMS += test-getcwd-lgpl test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL) EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h ## end gnulib module getcwd-lgpl-tests ## begin gnulib module getdelim-tests TESTS += test-getdelim check_PROGRAMS += test-getdelim MOSTLYCLEANFILES += test-getdelim.txt EXTRA_DIST += test-getdelim.c signature.h macros.h ## end gnulib module getdelim-tests ## begin gnulib module getdtablesize EXTRA_DIST += getdtablesize.c EXTRA_libtests_a_SOURCES += getdtablesize.c ## end gnulib module getdtablesize ## begin gnulib module getdtablesize-tests TESTS += test-getdtablesize check_PROGRAMS += test-getdtablesize EXTRA_DIST += test-getdtablesize.c signature.h macros.h ## end gnulib module getdtablesize-tests ## begin gnulib module getline-tests TESTS += test-getline check_PROGRAMS += test-getline MOSTLYCLEANFILES += test-getline.txt EXTRA_DIST += test-getline.c signature.h macros.h ## end gnulib module getline-tests ## begin gnulib module getopt-gnu-tests TESTS += test-getopt-gnu check_PROGRAMS += test-getopt-gnu test_getopt_gnu_LDADD = $(LDADD) $(LIBINTL) EXTRA_DIST += macros.h signature.h test-getopt-gnu.c test-getopt-main.h test-getopt.h test-getopt_long.h ## end gnulib module getopt-gnu-tests ## begin gnulib module getopt-posix-tests TESTS += test-getopt-posix check_PROGRAMS += test-getopt-posix test_getopt_posix_LDADD = $(LDADD) $(LIBINTL) EXTRA_DIST += macros.h signature.h test-getopt-posix.c test-getopt-main.h test-getopt.h ## end gnulib module getopt-posix-tests ## begin gnulib module getpagesize EXTRA_DIST += getpagesize.c EXTRA_libtests_a_SOURCES += getpagesize.c ## end gnulib module getpagesize ## begin gnulib module getprogname-tests DEFS += -DEXEEXT=\"@EXEEXT@\" TESTS += test-getprogname check_PROGRAMS += test-getprogname test_getprogname_LDADD = $(LDADD) EXTRA_DIST += test-getprogname.c ## end gnulib module getprogname-tests ## begin gnulib module gperf GPERF = gperf V_GPERF = $(V_GPERF_@AM_V@) V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@) V_GPERF_0 = @echo " GPERF " $@; ## end gnulib module gperf ## begin gnulib module iconv-h-tests TESTS += test-iconv-h check_PROGRAMS += test-iconv-h EXTRA_DIST += test-iconv-h.c ## end gnulib module iconv-h-tests ## begin gnulib module iconv-tests TESTS += test-iconv check_PROGRAMS += test-iconv test_iconv_LDADD = $(LDADD) @LIBICONV@ EXTRA_DIST += test-iconv.c signature.h macros.h ## end gnulib module iconv-tests ## begin gnulib module ignore-value EXTRA_DIST += ignore-value.h ## end gnulib module ignore-value ## begin gnulib module ignore-value-tests TESTS += test-ignore-value check_PROGRAMS += test-ignore-value EXTRA_DIST += test-ignore-value.c ## end gnulib module ignore-value-tests ## begin gnulib module inet_ntop-tests TESTS += test-inet_ntop check_PROGRAMS += test-inet_ntop test_inet_ntop_LDADD = $(LDADD) @INET_NTOP_LIB@ EXTRA_DIST += test-inet_ntop.c signature.h macros.h ## end gnulib module inet_ntop-tests ## begin gnulib module inet_pton EXTRA_DIST += inet_pton.c EXTRA_libtests_a_SOURCES += inet_pton.c ## end gnulib module inet_pton ## begin gnulib module inet_pton-tests TESTS += test-inet_pton check_PROGRAMS += test-inet_pton test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@ EXTRA_DIST += test-inet_pton.c signature.h macros.h ## end gnulib module inet_pton-tests ## begin gnulib module intprops-tests TESTS += test-intprops check_PROGRAMS += test-intprops EXTRA_DIST += test-intprops.c macros.h ## end gnulib module intprops-tests ## begin gnulib module inttypes-incomplete BUILT_SOURCES += inttypes.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \ -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \ -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/inttypes.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += inttypes.h inttypes.h-t EXTRA_DIST += inttypes.in.h ## end gnulib module inttypes-incomplete ## begin gnulib module inttypes-tests TESTS += test-inttypes check_PROGRAMS += test-inttypes EXTRA_DIST += test-inttypes.c ## end gnulib module inttypes-tests ## begin gnulib module isblank EXTRA_DIST += isblank.c EXTRA_libtests_a_SOURCES += isblank.c ## end gnulib module isblank ## begin gnulib module isblank-tests TESTS += test-isblank check_PROGRAMS += test-isblank EXTRA_DIST += test-isblank.c signature.h macros.h ## end gnulib module isblank-tests ## begin gnulib module langinfo BUILT_SOURCES += langinfo.h # We need the following in order to create an empty placeholder for # when the system doesn't have one. langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \ -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \ -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \ -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/langinfo.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += langinfo.h langinfo.h-t EXTRA_DIST += langinfo.in.h ## end gnulib module langinfo ## begin gnulib module langinfo-tests TESTS += test-langinfo check_PROGRAMS += test-langinfo EXTRA_DIST += test-langinfo.c ## end gnulib module langinfo-tests ## begin gnulib module limits-h-tests TESTS += test-limits-h check_PROGRAMS += test-limits-h EXTRA_DIST += test-limits-h.c ## end gnulib module limits-h-tests ## begin gnulib module localcharset-tests noinst_PROGRAMS += test-localcharset EXTRA_DIST += test-localcharset.c ## end gnulib module localcharset-tests ## begin gnulib module locale BUILT_SOURCES += locale.h # We need the following in order to create when the system # doesn't have one that provides all definitions. locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \ -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \ -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \ -e 's/@''GNULIB_LOCALENAME''@/$(GNULIB_LOCALENAME)/g' \ -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \ -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \ -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \ -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \ -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \ -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \ -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \ -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \ -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/locale.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += locale.h locale.h-t EXTRA_DIST += locale.in.h ## end gnulib module locale ## begin gnulib module locale-tests TESTS += test-locale check_PROGRAMS += test-locale EXTRA_DIST += test-locale.c ## end gnulib module locale-tests ## begin gnulib module localename libtests_a_SOURCES += localename.c localename-table.c EXTRA_DIST += localename-table.h localename.h ## end gnulib module localename ## begin gnulib module localename-tests TESTS += test-localename check_PROGRAMS += test-localename test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD) EXTRA_DIST += test-localename.c macros.h ## end gnulib module localename-tests ## begin gnulib module lock-tests TESTS += test-rwlock1 test-lock test-once1 test-once2 check_PROGRAMS += test-rwlock1 test-lock test-once1 test-once2 test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_once1_SOURCES = test-once.c test_once1_LDADD = $(LDADD) @LIBTHREAD@ test_once2_SOURCES = test-once.c test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@ EXTRA_DIST += test-rwlock1.c test-lock.c test-once.c ## end gnulib module lock-tests ## begin gnulib module lseek-tests TESTS += test-lseek.sh check_PROGRAMS += test-lseek EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h ## end gnulib module lseek-tests ## begin gnulib module lstat EXTRA_DIST += lstat.c EXTRA_libtests_a_SOURCES += lstat.c ## end gnulib module lstat ## begin gnulib module lstat-tests TESTS += test-lstat check_PROGRAMS += test-lstat EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h ## end gnulib module lstat-tests ## begin gnulib module malloca libtests_a_SOURCES += malloca.c EXTRA_DIST += malloca.h ## end gnulib module malloca ## begin gnulib module malloca-tests TESTS += test-malloca check_PROGRAMS += test-malloca EXTRA_DIST += test-malloca.c ## end gnulib module malloca-tests ## begin gnulib module mbrtowc-tests TESTS += \ test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \ test-mbrtowc5.sh \ test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \ test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh TESTS_ENVIRONMENT += \ LOCALE_FR='@LOCALE_FR@' \ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ LOCALE_JA='@LOCALE_JA@' \ LOCALE_ZH_CN='@LOCALE_ZH_CN@' check_PROGRAMS += test-mbrtowc test-mbrtowc-w32 EXTRA_DIST += test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh test-mbrtowc5.sh test-mbrtowc.c test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh test-mbrtowc-w32.c signature.h macros.h ## end gnulib module mbrtowc-tests ## begin gnulib module mbsinit-tests TESTS += test-mbsinit.sh TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' check_PROGRAMS += test-mbsinit EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h ## end gnulib module mbsinit-tests ## begin gnulib module mbtowc EXTRA_DIST += mbtowc-impl.h mbtowc.c EXTRA_libtests_a_SOURCES += mbtowc.c ## end gnulib module mbtowc ## begin gnulib module memchr-tests TESTS += test-memchr check_PROGRAMS += test-memchr EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h ## end gnulib module memchr-tests ## begin gnulib module nanosleep EXTRA_DIST += nanosleep.c EXTRA_libtests_a_SOURCES += nanosleep.c ## end gnulib module nanosleep ## begin gnulib module nanosleep-tests TESTS += test-nanosleep check_PROGRAMS += test-nanosleep test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP) EXTRA_DIST += test-nanosleep.c signature.h macros.h ## end gnulib module nanosleep-tests ## begin gnulib module netdb-tests TESTS += test-netdb check_PROGRAMS += test-netdb EXTRA_DIST += test-netdb.c ## end gnulib module netdb-tests ## begin gnulib module netinet_in-tests TESTS += test-netinet_in check_PROGRAMS += test-netinet_in EXTRA_DIST += test-netinet_in.c ## end gnulib module netinet_in-tests ## begin gnulib module open EXTRA_DIST += open.c EXTRA_libtests_a_SOURCES += open.c ## end gnulib module open ## begin gnulib module open-tests TESTS += test-open check_PROGRAMS += test-open EXTRA_DIST += test-open.h test-open.c signature.h macros.h ## end gnulib module open-tests ## begin gnulib module pathmax-tests TESTS += test-pathmax check_PROGRAMS += test-pathmax EXTRA_DIST += test-pathmax.c ## end gnulib module pathmax-tests ## begin gnulib module poll-h-tests TESTS += test-poll-h check_PROGRAMS += test-poll-h EXTRA_DIST += test-poll-h.c ## end gnulib module poll-h-tests ## begin gnulib module pthread-h BUILT_SOURCES += pthread.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ -e 's/@''GNULIB_PTHREAD_THREAD''@/$(GNULIB_PTHREAD_THREAD)/g' \ -e 's/@''GNULIB_PTHREAD_ONCE''@/$(GNULIB_PTHREAD_ONCE)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX''@/$(GNULIB_PTHREAD_MUTEX)/g' \ -e 's/@''GNULIB_PTHREAD_RWLOCK''@/$(GNULIB_PTHREAD_RWLOCK)/g' \ -e 's/@''GNULIB_PTHREAD_COND''@/$(GNULIB_PTHREAD_COND)/g' \ -e 's/@''GNULIB_PTHREAD_TSS''@/$(GNULIB_PTHREAD_TSS)/g' \ -e 's/@''GNULIB_PTHREAD_SPIN''@/$(GNULIB_PTHREAD_SPIN)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/$(GNULIB_PTHREAD_MUTEX_TIMEDLOCK)/g' \ -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|$(HAVE_PTHREAD_CREATE_DETACHED)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|$(HAVE_PTHREAD_MUTEX_RECURSIVE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|$(HAVE_PTHREAD_MUTEX_ROBUST)|g' \ -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|$(HAVE_PTHREAD_PROCESS_SHARED)|g' \ -e 's|@''HAVE_PTHREAD_CREATE''@|$(HAVE_PTHREAD_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|$(HAVE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|$(HAVE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_SELF''@|$(HAVE_PTHREAD_SELF)|g' \ -e 's|@''HAVE_PTHREAD_EQUAL''@|$(HAVE_PTHREAD_EQUAL)|g' \ -e 's|@''HAVE_PTHREAD_DETACH''@|$(HAVE_PTHREAD_DETACH)|g' \ -e 's|@''HAVE_PTHREAD_JOIN''@|$(HAVE_PTHREAD_JOIN)|g' \ -e 's|@''HAVE_PTHREAD_EXIT''@|$(HAVE_PTHREAD_EXIT)|g' \ -e 's|@''HAVE_PTHREAD_ONCE''@|$(HAVE_PTHREAD_ONCE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|$(HAVE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|$(HAVE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|$(HAVE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|$(HAVE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|$(HAVE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|$(HAVE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|$(HAVE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|$(HAVE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|$(HAVE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|$(HAVE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|$(HAVE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|$(HAVE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|$(HAVE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|$(HAVE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|$(HAVE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_INIT''@|$(HAVE_PTHREAD_COND_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|$(HAVE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|$(HAVE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_WAIT''@|$(HAVE_PTHREAD_COND_WAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|$(HAVE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|$(HAVE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|$(HAVE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|$(HAVE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|$(HAVE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|$(HAVE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|$(HAVE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|$(HAVE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|$(HAVE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|$(HAVE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|$(HAVE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|$(HAVE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|$(HAVE_PTHREAD_SPIN_DESTROY)|g' \ < $(srcdir)/pthread.in.h | \ sed -e 's|@''REPLACE_PTHREAD_CREATE''@|$(REPLACE_PTHREAD_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|$(REPLACE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|$(REPLACE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_SELF''@|$(REPLACE_PTHREAD_SELF)|g' \ -e 's|@''REPLACE_PTHREAD_EQUAL''@|$(REPLACE_PTHREAD_EQUAL)|g' \ -e 's|@''REPLACE_PTHREAD_DETACH''@|$(REPLACE_PTHREAD_DETACH)|g' \ -e 's|@''REPLACE_PTHREAD_JOIN''@|$(REPLACE_PTHREAD_JOIN)|g' \ -e 's|@''REPLACE_PTHREAD_EXIT''@|$(REPLACE_PTHREAD_EXIT)|g' \ -e 's|@''REPLACE_PTHREAD_ONCE''@|$(REPLACE_PTHREAD_ONCE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|$(REPLACE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|$(REPLACE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|$(REPLACE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|$(REPLACE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|$(REPLACE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|$(REPLACE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|$(REPLACE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|$(REPLACE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|$(REPLACE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|$(REPLACE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|$(REPLACE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|$(REPLACE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|$(REPLACE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_INIT''@|$(REPLACE_PTHREAD_COND_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|$(REPLACE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|$(REPLACE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|$(REPLACE_PTHREAD_COND_WAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|$(REPLACE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|$(REPLACE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|$(REPLACE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|$(REPLACE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|$(REPLACE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|$(REPLACE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|$(REPLACE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|$(REPLACE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|$(REPLACE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|$(REPLACE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|$(REPLACE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|$(REPLACE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|$(REPLACE_PTHREAD_SPIN_DESTROY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += pthread.h pthread.h-t EXTRA_DIST += pthread.in.h ## end gnulib module pthread-h ## begin gnulib module pthread-h-tests TESTS += test-pthread check_PROGRAMS += test-pthread EXTRA_DIST += test-pthread.c ## end gnulib module pthread-h-tests ## begin gnulib module pthread-thread EXTRA_DIST += pthread-thread.c EXTRA_libtests_a_SOURCES += pthread-thread.c ## end gnulib module pthread-thread ## begin gnulib module pthread-thread-tests TESTS += test-pthread-thread check_PROGRAMS += test-pthread-thread test_pthread_thread_LDADD = $(LDADD) @LIBMULTITHREAD@ EXTRA_DIST += test-pthread-thread.c macros.h ## end gnulib module pthread-thread-tests ## begin gnulib module pthread_sigmask EXTRA_DIST += pthread_sigmask.c EXTRA_libtests_a_SOURCES += pthread_sigmask.c ## end gnulib module pthread_sigmask ## begin gnulib module pthread_sigmask-tests TESTS += test-pthread_sigmask1 test-pthread_sigmask2 check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2 test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@ EXTRA_DIST += test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h macros.h ## end gnulib module pthread_sigmask-tests ## begin gnulib module putenv EXTRA_DIST += putenv.c EXTRA_libtests_a_SOURCES += putenv.c ## end gnulib module putenv ## begin gnulib module quotearg-simple-tests TESTS += test-quotearg-simple check_PROGRAMS += test-quotearg-simple test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@ EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h ## end gnulib module quotearg-simple-tests ## begin gnulib module raise EXTRA_DIST += raise.c EXTRA_libtests_a_SOURCES += raise.c ## end gnulib module raise ## begin gnulib module raise-tests TESTS += test-raise check_PROGRAMS += test-raise EXTRA_DIST += test-raise.c signature.h macros.h ## end gnulib module raise-tests ## begin gnulib module recv-tests TESTS += test-recv check_PROGRAMS += test-recv test_recv_LDADD = $(LDADD) @LIBSOCKET@ EXTRA_DIST += test-recv.c signature.h macros.h ## end gnulib module recv-tests ## begin gnulib module same-inode EXTRA_DIST += same-inode.h ## end gnulib module same-inode ## begin gnulib module sched BUILT_SOURCES += sched.h # We need the following in order to create a replacement for when # the system doesn't have one. sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ -e 's/@''GNULIB_SCHED_YIELD''@/$(GNULIB_SCHED_YIELD)/g' \ -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \ -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sched.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sched.h sched.h-t EXTRA_DIST += sched.in.h ## end gnulib module sched ## begin gnulib module sched-tests TESTS += test-sched check_PROGRAMS += test-sched EXTRA_DIST += test-sched.c ## end gnulib module sched-tests ## begin gnulib module setenv EXTRA_DIST += setenv.c EXTRA_libtests_a_SOURCES += setenv.c ## end gnulib module setenv ## begin gnulib module setenv-tests TESTS += test-setenv check_PROGRAMS += test-setenv EXTRA_DIST += test-setenv.c signature.h macros.h ## end gnulib module setenv-tests ## begin gnulib module setlocale EXTRA_DIST += setlocale.c EXTRA_libtests_a_SOURCES += setlocale.c ## end gnulib module setlocale ## begin gnulib module setlocale-tests TESTS += test-setlocale1.sh test-setlocale2.sh TESTS_ENVIRONMENT += \ LOCALE_FR='@LOCALE_FR@' \ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ LOCALE_JA='@LOCALE_JA@' \ LOCALE_ZH_CN='@LOCALE_ZH_CN@' check_PROGRAMS += test-setlocale1 test-setlocale2 EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h ## end gnulib module setlocale-tests ## begin gnulib module shutdown-tests TESTS += test-shutdown check_PROGRAMS += test-shutdown test_shutdown_LDADD = $(LDADD) @LIBSOCKET@ EXTRA_DIST += test-shutdown.c signature.h macros.h ## end gnulib module shutdown-tests ## begin gnulib module sigaction libtests_a_SOURCES += sig-handler.c EXTRA_DIST += sig-handler.h sigaction.c EXTRA_libtests_a_SOURCES += sigaction.c ## end gnulib module sigaction ## begin gnulib module sigaction-tests TESTS += test-sigaction check_PROGRAMS += test-sigaction EXTRA_DIST += test-sigaction.c signature.h macros.h ## end gnulib module sigaction-tests ## begin gnulib module signal-h-tests TESTS += test-signal-h check_PROGRAMS += test-signal-h EXTRA_DIST += test-signal-h.c ## end gnulib module signal-h-tests ## begin gnulib module sigprocmask EXTRA_DIST += sigprocmask.c EXTRA_libtests_a_SOURCES += sigprocmask.c ## end gnulib module sigprocmask ## begin gnulib module sigprocmask-tests TESTS += test-sigprocmask check_PROGRAMS += test-sigprocmask EXTRA_DIST += test-sigprocmask.c signature.h macros.h ## end gnulib module sigprocmask-tests ## begin gnulib module sleep EXTRA_DIST += sleep.c EXTRA_libtests_a_SOURCES += sleep.c ## end gnulib module sleep ## begin gnulib module sleep-tests TESTS += test-sleep check_PROGRAMS += test-sleep EXTRA_DIST += test-sleep.c signature.h macros.h ## end gnulib module sleep-tests ## begin gnulib module snippet/_Noreturn # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H=$(srcdir)/_Noreturn.h EXTRA_DIST += _Noreturn.h ## end gnulib module snippet/_Noreturn ## begin gnulib module snippet/arg-nonnull # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H=$(srcdir)/arg-nonnull.h EXTRA_DIST += arg-nonnull.h ## end gnulib module snippet/arg-nonnull ## begin gnulib module snippet/c++defs # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H=$(srcdir)/c++defs.h EXTRA_DIST += c++defs.h ## end gnulib module snippet/c++defs ## begin gnulib module snippet/unused-parameter # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H=$(srcdir)/unused-parameter.h EXTRA_DIST += unused-parameter.h ## end gnulib module snippet/unused-parameter ## begin gnulib module snippet/warn-on-use # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H=$(srcdir)/warn-on-use.h EXTRA_DIST += warn-on-use.h ## end gnulib module snippet/warn-on-use ## begin gnulib module snprintf-tests TESTS += test-snprintf check_PROGRAMS += test-snprintf EXTRA_DIST += test-snprintf.c signature.h macros.h ## end gnulib module snprintf-tests ## begin gnulib module sockets-tests TESTS += test-sockets check_PROGRAMS += test-sockets test_sockets_LDADD = $(LDADD) @LIBSOCKET@ EXTRA_DIST += test-sockets.c ## end gnulib module sockets-tests ## begin gnulib module stat EXTRA_DIST += stat-w32.c stat-w32.h stat.c EXTRA_libtests_a_SOURCES += stat-w32.c stat.c ## end gnulib module stat ## begin gnulib module stat-tests TESTS += test-stat check_PROGRAMS += test-stat test_stat_LDADD = $(LDADD) $(LIBINTL) EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h ## end gnulib module stat-tests ## begin gnulib module stat-time-tests TESTS += test-stat-time check_PROGRAMS += test-stat-time test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP) EXTRA_DIST += test-stat-time.c macros.h nap.h ## end gnulib module stat-time-tests ## begin gnulib module stdalign-tests TESTS += test-stdalign check_PROGRAMS += test-stdalign EXTRA_DIST += test-stdalign.c macros.h ## end gnulib module stdalign-tests ## begin gnulib module stdbool-tests TESTS += test-stdbool check_PROGRAMS += test-stdbool EXTRA_DIST += test-stdbool.c ## end gnulib module stdbool-tests ## begin gnulib module stddef-tests TESTS += test-stddef check_PROGRAMS += test-stddef EXTRA_DIST += test-stddef.c ## end gnulib module stddef-tests ## begin gnulib module stdint-tests TESTS += test-stdint check_PROGRAMS += test-stdint EXTRA_DIST += test-stdint.c ## end gnulib module stdint-tests ## begin gnulib module stdio-tests TESTS += test-stdio check_PROGRAMS += test-stdio EXTRA_DIST += test-stdio.c ## end gnulib module stdio-tests ## begin gnulib module stdlib-tests TESTS += test-stdlib check_PROGRAMS += test-stdlib EXTRA_DIST += test-stdlib.c test-sys_wait.h ## end gnulib module stdlib-tests ## begin gnulib module strerror-tests TESTS += test-strerror check_PROGRAMS += test-strerror EXTRA_DIST += test-strerror.c signature.h macros.h ## end gnulib module strerror-tests ## begin gnulib module striconv-tests TESTS += test-striconv check_PROGRAMS += test-striconv test_striconv_LDADD = $(LDADD) @LIBICONV@ EXTRA_DIST += test-striconv.c macros.h ## end gnulib module striconv-tests ## begin gnulib module string-tests TESTS += test-string check_PROGRAMS += test-string EXTRA_DIST += test-string.c ## end gnulib module string-tests ## begin gnulib module symlink EXTRA_DIST += symlink.c EXTRA_libtests_a_SOURCES += symlink.c ## end gnulib module symlink ## begin gnulib module symlink-tests TESTS += test-symlink check_PROGRAMS += test-symlink EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h ## end gnulib module symlink-tests ## begin gnulib module sys_select-tests TESTS += test-sys_select check_PROGRAMS += test-sys_select EXTRA_DIST += test-sys_select.c signature.h ## end gnulib module sys_select-tests ## begin gnulib module sys_socket-tests TESTS += test-sys_socket check_PROGRAMS += test-sys_socket EXTRA_DIST += test-sys_socket.c ## end gnulib module sys_socket-tests ## begin gnulib module sys_stat-tests TESTS += test-sys_stat check_PROGRAMS += test-sys_stat EXTRA_DIST += test-sys_stat.c ## end gnulib module sys_stat-tests ## begin gnulib module sys_time-tests TESTS += test-sys_time check_PROGRAMS += test-sys_time EXTRA_DIST += test-sys_time.c ## end gnulib module sys_time-tests ## begin gnulib module sys_types-tests TESTS += test-sys_types check_PROGRAMS += test-sys_types EXTRA_DIST += test-sys_types.c ## end gnulib module sys_types-tests ## begin gnulib module sys_uio-tests TESTS += test-sys_uio check_PROGRAMS += test-sys_uio EXTRA_DIST += test-sys_uio.c ## end gnulib module sys_uio-tests ## begin gnulib module test-framework-sh-tests TESTS += test-init.sh EXTRA_DIST += init.sh EXTRA_DIST += test-init.sh ## end gnulib module test-framework-sh-tests ## begin gnulib module thread libtests_a_SOURCES += glthread/thread.h glthread/thread.c ## end gnulib module thread ## begin gnulib module thread-tests TESTS += test-thread_self test-thread_create check_PROGRAMS += test-thread_self test-thread_create test_thread_self_LDADD = $(LDADD) @LIBTHREAD@ test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@ EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h ## end gnulib module thread-tests ## begin gnulib module time-tests TESTS += test-time check_PROGRAMS += test-time EXTRA_DIST += test-time.c ## end gnulib module time-tests ## begin gnulib module unistd-tests TESTS += test-unistd check_PROGRAMS += test-unistd EXTRA_DIST += test-unistd.c ## end gnulib module unistd-tests ## begin gnulib module unistr/u8-mbtoucr-tests TESTS += test-u8-mbtoucr check_PROGRAMS += test-u8-mbtoucr test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING) EXTRA_DIST += unistr/test-u8-mbtoucr.c macros.h ## end gnulib module unistr/u8-mbtoucr-tests ## begin gnulib module unistr/u8-uctomb-tests TESTS += test-u8-uctomb check_PROGRAMS += test-u8-uctomb test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING) EXTRA_DIST += unistr/test-u8-uctomb.c macros.h ## end gnulib module unistr/u8-uctomb-tests ## begin gnulib module unsetenv EXTRA_DIST += unsetenv.c EXTRA_libtests_a_SOURCES += unsetenv.c ## end gnulib module unsetenv ## begin gnulib module unsetenv-tests TESTS += test-unsetenv check_PROGRAMS += test-unsetenv EXTRA_DIST += test-unsetenv.c signature.h macros.h ## end gnulib module unsetenv-tests ## begin gnulib module usleep EXTRA_DIST += usleep.c EXTRA_libtests_a_SOURCES += usleep.c ## end gnulib module usleep ## begin gnulib module usleep-tests TESTS += test-usleep check_PROGRAMS += test-usleep EXTRA_DIST += test-usleep.c signature.h macros.h ## end gnulib module usleep-tests ## begin gnulib module vasnprintf-tests TESTS += test-vasnprintf check_PROGRAMS += test-vasnprintf EXTRA_DIST += test-vasnprintf.c macros.h ## end gnulib module vasnprintf-tests ## begin gnulib module vasprintf-tests TESTS += test-vasprintf check_PROGRAMS += test-vasprintf EXTRA_DIST += test-vasprintf.c signature.h macros.h ## end gnulib module vasprintf-tests ## begin gnulib module vc-list-files-tests TESTS += test-vc-list-files-git.sh TESTS += test-vc-list-files-cvs.sh TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)' EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh ## end gnulib module vc-list-files-tests ## begin gnulib module verify-tests TESTS_ENVIRONMENT += MAKE='$(MAKE)' TESTS += test-verify test-verify.sh check_PROGRAMS += test-verify # test-verify-try is never built, but test-verify.sh needs a rule to # build test-verify-try.o. EXTRA_PROGRAMS += test-verify-try # This test expects compilation of test-verify-try.c to fail, and # each time it fails, the makefile rule does not perform the usual # "mv -f $name.Tpo $name.po, so tell make clean to remove that file. MOSTLYCLEANFILES += .deps/test-verify-try.Tpo EXTRA_DIST += test-verify.c test-verify-try.c test-verify.sh ## end gnulib module verify-tests ## begin gnulib module version-etc-fsf libtests_a_SOURCES += version-etc-fsf.c ## end gnulib module version-etc-fsf ## begin gnulib module version-etc-tests TESTS += test-version-etc.sh check_PROGRAMS += test-version-etc test_version_etc_LDADD = $(LDADD) @LIBINTL@ EXTRA_DIST += test-version-etc.c test-version-etc.sh ## end gnulib module version-etc-tests ## begin gnulib module wchar-tests TESTS += test-wchar check_PROGRAMS += test-wchar EXTRA_DIST += test-wchar.c ## end gnulib module wchar-tests ## begin gnulib module wcrtomb EXTRA_DIST += wcrtomb.c EXTRA_libtests_a_SOURCES += wcrtomb.c ## end gnulib module wcrtomb ## begin gnulib module wcrtomb-tests TESTS += \ test-wcrtomb.sh \ test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \ test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh TESTS_ENVIRONMENT += \ LOCALE_FR='@LOCALE_FR@' \ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ LOCALE_JA='@LOCALE_JA@' \ LOCALE_ZH_CN='@LOCALE_ZH_CN@' check_PROGRAMS += test-wcrtomb test-wcrtomb-w32 EXTRA_DIST += test-wcrtomb.sh test-wcrtomb.c test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh test-wcrtomb-w32.c signature.h macros.h ## end gnulib module wcrtomb-tests ## begin gnulib module wctob EXTRA_DIST += wctob.c EXTRA_libtests_a_SOURCES += wctob.c ## end gnulib module wctob ## begin gnulib module wctomb EXTRA_DIST += wctomb-impl.h wctomb.c EXTRA_libtests_a_SOURCES += wctomb.c ## end gnulib module wctomb ## begin gnulib module wctype-h-tests TESTS += test-wctype-h check_PROGRAMS += test-wctype-h EXTRA_DIST += test-wctype-h.c macros.h ## end gnulib module wctype-h-tests ## begin gnulib module windows-thread EXTRA_DIST += windows-thread.c windows-thread.h EXTRA_libtests_a_SOURCES += windows-thread.c ## end gnulib module windows-thread ## begin gnulib module windows-tls EXTRA_DIST += windows-tls.c windows-tls.h EXTRA_libtests_a_SOURCES += windows-tls.c ## end gnulib module windows-tls ## begin gnulib module xalloc-die-tests TESTS += test-xalloc-die.sh check_PROGRAMS += test-xalloc-die test_xalloc_die_LDADD = $(LDADD) @LIBINTL@ EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh ## end gnulib module xalloc-die-tests ## begin gnulib module yield libtests_a_SOURCES += glthread/yield.h ## end gnulib module yield # Clean up after Solaris cc. clean-local: rm -rf SunWS_cache mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : gsasl-1.8.1/gltests/test-thread_self.c0000644000000000000000000000215113516251601014606 00000000000000/* Test of gl_thread_self () macro. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include "glthread/thread.h" gl_thread_t main_thread; int main () { /* Check that gl_thread_self () can be used with just $(LIBTHREAD), not $(LIBMULTITHREAD), i.e. in libraries that are multithread-safe but don't create threads themselves. */ main_thread = gl_thread_self (); return 0; } gsasl-1.8.1/gltests/signature.h0000644000000000000000000000367713516251600013374 00000000000000/* Macro for checking that a function declaration is compliant. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef SIGNATURE_CHECK /* Check that the function FN takes the specified arguments ARGS with a return type of RET. This header is designed to be included after and the one system header that is supposed to contain the function being checked, but prior to any other system headers that are necessary for the unit test. Therefore, this file does not include any system headers, nor reference anything outside of the macro arguments. For an example, if foo.h should provide: extern int foo (char, float); then the unit test named test-foo.c would start out with: #include #include #include "signature.h" SIGNATURE_CHECK (foo, int, (char, float)); #include ... */ # define SIGNATURE_CHECK(fn, ret, args) \ SIGNATURE_CHECK1 (fn, ret, args, __LINE__) /* Necessary to allow multiple SIGNATURE_CHECK lines in a unit test. Note that the checks must not occupy the same line. */ # define SIGNATURE_CHECK1(fn, ret, args, id) \ SIGNATURE_CHECK2 (fn, ret, args, id) /* macroexpand line */ # define SIGNATURE_CHECK2(fn, ret, args, id) \ static ret (* _GL_UNUSED signature_check ## id) args = fn #endif /* SIGNATURE_CHECK */ gsasl-1.8.1/gltests/test-btowc.c0000644000000000000000000000331113516251600013442 00000000000000/* Test of conversion of unibyte character to wide character. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (btowc, wint_t, (int)); #include #include #include "macros.h" int main (int argc, char *argv[]) { int c; /* configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) return 1; ASSERT (btowc (EOF) == WEOF); if (argc > 1) switch (argv[1][0]) { case '1': /* Locale encoding is ISO-8859-1 or ISO-8859-15. */ for (c = 0; c < 0x80; c++) ASSERT (btowc (c) == c); for (c = 0xA0; c < 0x100; c++) ASSERT (btowc (c) != WEOF); return 0; case '2': /* Locale encoding is UTF-8. */ for (c = 0; c < 0x80; c++) ASSERT (btowc (c) == c); for (c = 0x80; c < 0x100; c++) ASSERT (btowc (c) == WEOF); return 0; } return 1; } gsasl-1.8.1/gltests/localename.h0000644000000000000000000001073713516251577013503 00000000000000/* Determine name of the currently selected locale. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_LOCALENAME_H #define _GL_LOCALENAME_H #ifdef __cplusplus extern "C" { #endif /* Determine the current locale's name. It considers both the POSIX notion of locale name (see functions gl_locale_name_thread and gl_locale_name_posix) and the system notion of locale name (see function gl_locale_name_default). CATEGORY is a locale category abbreviation, as defined in , but not LC_ALL. E.g. LC_MESSAGES. CATEGORYNAME is the name of CATEGORY as a string, e.g. "LC_MESSAGES". Return the locale category's name, canonicalized into XPG syntax language[_territory][.codeset][@modifier] The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name (int category, const char *categoryname); /* Determine the current per-thread locale's name, as specified by uselocale() calls. CATEGORY is a locale category abbreviation, as defined in , but not LC_ALL. E.g. LC_MESSAGES. CATEGORYNAME is the name of CATEGORY as a string, e.g. "LC_MESSAGES". Return the locale category's name, canonicalized into XPG syntax language[_territory][.codeset][@modifier] or NULL if no locale has been specified for the current thread. The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_thread (int category, const char *categoryname); /* Determine the thread-independent current locale's name, as specified by setlocale() calls or by environment variables. CATEGORY is a locale category abbreviation, as defined in , but not LC_ALL. E.g. LC_MESSAGES. CATEGORYNAME is the name of CATEGORY as a string, e.g. "LC_MESSAGES". Return the locale category's name, canonicalized into XPG syntax language[_territory][.codeset][@modifier] or NULL if no locale has been specified to setlocale() or by environment variables. The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_posix (int category, const char *categoryname); /* Determine the default locale's name, as specified by environment variables. Return the locale category's name, or NULL if no locale has been specified by environment variables. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_environ (int category, const char *categoryname); /* Determine the default locale's name. This is the current locale's name, if not specified by uselocale() calls, by setlocale() calls, or by environment variables. This locale name is usually determined by systems settings that the user can manipulate through a GUI. Quoting POSIX:2001: "All implementations shall define a locale as the default locale, to be invoked when no environment variables are set, or set to the empty string. This default locale can be the C locale or any other implementation-defined locale. Some implementations may provide facilities for local installation administrators to set the default locale, customizing it for each location. IEEE Std 1003.1-2001 does not require such a facility." The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_default (void) #if !(HAVE_CFPREFERENCESCOPYAPPVALUE || defined _WIN32 || defined __CYGWIN__) _GL_ATTRIBUTE_CONST #endif ; #ifdef __cplusplus } #endif #endif /* _GL_LOCALENAME_H */ gsasl-1.8.1/gltests/test-sys_wait.h0000644000000000000000000000361613516251601014204 00000000000000/* Test of macros shared between and . Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2010. */ static int test_sys_wait_macros (void) { /* Check subset of macros that must be visible here. Note that some of these macros are only portable when operating on an lvalue. */ int i; for (i = 0; i < 0x8000; i = (i ? i << 1 : 1)) { /* POSIX requires that for all valid process statuses, that exactly one of these three macros is true. But not all possible 16-bit values map to valid process status. Traditionally, 8 of the bits are for WIFEXITED, 7 of the bits to tell between WIFSIGNALED and WIFSTOPPED, and either 0x80 or 0x8000 to flag that core was also dumped. Since we don't know which byte is WIFEXITED, we skip the both possible bits that can signal core dump. */ if (i == 0x80) continue; if (!!WIFSIGNALED (i) + !!WIFEXITED (i) + !!WIFSTOPPED (i) != 1) return 1; } i = WEXITSTATUS (i) + WSTOPSIG (i) + WTERMSIG (i); switch (i) { #if 0 /* Gnulib doesn't guarantee these, yet. */ case WNOHANG: case WUNTRACED: #endif break; } return 0; } gsasl-1.8.1/gltests/test-setenv.c0000644000000000000000000000310713516251601013634 00000000000000/* Tests of setenv. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (setenv, int, (char const *, char const *, int)); #include #include #include #include "macros.h" int main (void) { /* Test overwriting. */ ASSERT (setenv ("a", "==", -1) == 0); ASSERT (setenv ("a", "2", 0) == 0); ASSERT (strcmp (getenv ("a"), "==") == 0); /* Required to fail with EINVAL. */ errno = 0; ASSERT (setenv ("", "", 1) == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (setenv ("a=b", "", 0) == -1); ASSERT (errno == EINVAL); #if 0 /* glibc and gnulib's implementation guarantee this, but POSIX no longer requires it: http://austingroupbugs.net/view.php?id=185 */ errno = 0; ASSERT (setenv (NULL, "", 0) == -1); ASSERT (errno == EINVAL); #endif return 0; } gsasl-1.8.1/gltests/test-fseeko3.sh0000755000000000000000000000024613516251600014062 00000000000000#!/bin/sh ${CHECKER} ./test-fseeko3${EXEEXT} 0 "$srcdir/test-fseeko3.sh" || exit 1 ${CHECKER} ./test-fseeko3${EXEEXT} 1 "$srcdir/test-fseeko3.sh" || exit 1 exit 0 gsasl-1.8.1/gltests/test-setlocale2.sh0000755000000000000000000000136513516251601014564 00000000000000#!/bin/sh # Test locale names with likely unsupported encoding in Unix syntax. for name in ar_SA.ISO-8859-1 fr_FR.CP1251 zh_TW.GB18030 zh_CN.BIG5; do env LC_ALL=$name ${CHECKER} ./test-setlocale2${EXEEXT} 1 || exit 1 done # Test locale names with likely unsupported encoding in native Windows syntax. for name in "Arabic_Saudi Arabia.1252" "Arabic_Saudi Arabia.65001" \ French_France.65001 Japanese_Japan.65001 Turkish_Turkey.65001 \ Chinese_Taiwan.65001 Chinese_China.54936 Chinese_China.65001; do # Here we use 'env' to set the LC_ALL environment variable, because on # Solaris 11.0, the /bin/sh refuses to do it for Turkish_Turkey.65001. env LC_ALL="$name" ${CHECKER} ./test-setlocale2${EXEEXT} 1 || exit 1 done exit 0 gsasl-1.8.1/gltests/unsetenv.c0000644000000000000000000000547313516251601013232 00000000000000/* Copyright (C) 1992, 1995-2002, 2005-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3 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, see . */ /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the name == NULL test below. */ #define _GL_ARG_NONNULL(params) #include /* Specification. */ #include #include #if !_LIBC # define __set_errno(ev) ((errno) = (ev)) #endif #include #include #if !_LIBC # define __environ environ #endif #if _LIBC /* This lock protects against simultaneous modifications of 'environ'. */ # include __libc_lock_define_initialized (static, envlock) # define LOCK __libc_lock_lock (envlock) # define UNLOCK __libc_lock_unlock (envlock) #else # define LOCK # define UNLOCK #endif /* In the GNU C library we must keep the namespace clean. */ #ifdef _LIBC # define unsetenv __unsetenv #endif #if _LIBC || !HAVE_UNSETENV int unsetenv (const char *name) { size_t len; char **ep; if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) { __set_errno (EINVAL); return -1; } len = strlen (name); LOCK; ep = __environ; while (*ep != NULL) if (!strncmp (*ep, name, len) && (*ep)[len] == '=') { /* Found it. Remove this pointer by moving later ones back. */ char **dp = ep; do dp[0] = dp[1]; while (*dp++); /* Continue the loop in case NAME appears again. */ } else ++ep; UNLOCK; return 0; } #ifdef _LIBC # undef unsetenv weak_alias (__unsetenv, unsetenv) #endif #else /* HAVE_UNSETENV */ # undef unsetenv # if !HAVE_DECL_UNSETENV # if VOID_UNSETENV extern void unsetenv (const char *); # else extern int unsetenv (const char *); # endif # endif /* Call the underlying unsetenv, in case there is hidden bookkeeping that needs updating beyond just modifying environ. */ int rpl_unsetenv (const char *name) { int result = 0; if (!name || !*name || strchr (name, '=')) { errno = EINVAL; return -1; } while (getenv (name)) # if !VOID_UNSETENV result = # endif unsetenv (name); return result; } #endif /* HAVE_UNSETENV */ gsasl-1.8.1/gltests/test-xalloc-die.c0000644000000000000000000000163413516251601014354 00000000000000/* Test of xalloc_die() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson , 2009. */ #include #include "xalloc.h" int main (int argc _GL_UNUSED, char **argv) { xalloc_die (); return 0; } gsasl-1.8.1/gltests/zerosize-ptr.h0000644000000000000000000000572513516251601014045 00000000000000/* Return a pointer to a zero-size object in memory. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* ISO C 99 does not allow memcmp(), memchr() etc. to be invoked with a NULL argument. Therefore this file produces a non-NULL pointer which cannot be dereferenced, if possible. */ /* On Android, when targeting Android 4.4 or older with a GCC toolchain, prevent a compilation error "error: call to 'mmap' declared with attribute error: mmap is not available with _FILE_OFFSET_BITS=64 when using GCC until android-21. Either raise your minSdkVersion, disable _FILE_OFFSET_BITS=64, or switch to Clang." The files that we access in this compilation unit are less than 2 GB large. */ #if defined __ANDROID__ # undef _FILE_OFFSET_BITS # undef __USE_FILE_OFFSET64 #endif #include /* Test whether mmap() and mprotect() are available. We don't use HAVE_MMAP, because AC_FUNC_MMAP would not define it on HP-UX. HAVE_MPROTECT is not enough, because mingw does not have mmap() but has an mprotect() function in libgcc.a. */ #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # include # include # include # include /* Define MAP_FILE when it isn't otherwise. */ # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif /* Return a pointer to a zero-size object in memory (that is, actually, a pointer to a page boundary where the previous page is readable and writable and the next page is neither readable not writable), if possible. Return NULL otherwise. */ static void * zerosize_ptr (void) { /* Use mmap and mprotect when they exist. Don't test HAVE_MMAP, because it is not defined on HP-UX 11 (since it does not support MAP_FIXED). */ #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { int pagesize = getpagesize (); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) return two_pages + pagesize; } #endif return NULL; } gsasl-1.8.1/gltests/test-sys_types.c0000644000000000000000000000172213516251601014373 00000000000000/* Test of substitute. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include /* Check that the types are all defined. */ pid_t t1; size_t t2; ssize_t t3; off_t t4; mode_t t5; int main (void) { return 0; } gsasl-1.8.1/gltests/test-pthread-thread.c0000644000000000000000000000364313516251574015242 00000000000000/* Test of pthread_create () function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include #include #include "macros.h" static pthread_t main_thread_before; static pthread_t main_thread_after; static pthread_t worker_thread; #define MAGIC ((void *) 1266074729) static volatile int work_done; static void * worker_thread_func (void *arg) { work_done = 1; return MAGIC; } int main () { main_thread_before = pthread_self (); if (pthread_create (&worker_thread, NULL, worker_thread_func, NULL) == 0) { void *ret; /* Check that pthread_self () has the same value before than after the first call to pthread_create (). */ main_thread_after = pthread_self (); ASSERT (memcmp (&main_thread_before, &main_thread_after, sizeof (pthread_t)) == 0); ASSERT (pthread_join (worker_thread, &ret) == 0); /* Check the return value of the thread. */ ASSERT (ret == MAGIC); /* Check that worker_thread_func () has finished executing. */ ASSERT (work_done); return 0; } else { fputs ("pthread_create failed\n", stderr); return 1; } } gsasl-1.8.1/gltests/wctob.c0000644000000000000000000000226513516251601012475 00000000000000/* Convert wide character to unibyte character. Copyright (C) 2008, 2010-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2008. 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 3 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, see . */ #include /* Specification. */ #include #include #include int wctob (wint_t wc) { char buf[64]; if (!(MB_CUR_MAX <= sizeof (buf))) abort (); /* Handle the case where WEOF is a value that does not fit in a wchar_t. */ if (wc == (wchar_t)wc) if (wctomb (buf, (wchar_t)wc) == 1) return (unsigned char) buf[0]; return EOF; } gsasl-1.8.1/gltests/test-unistd.c0000644000000000000000000000305013516251601013633 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; /* Check that the various *_FILENO macros are defined. */ #if ! (defined STDIN_FILENO \ && (STDIN_FILENO + STDOUT_FILENO + STDERR_FILENO == 3)) missing or broken *_FILENO macros #endif /* Check that the types are all defined. */ size_t t1; ssize_t t2; #ifdef TODO /* Not implemented in gnulib yet */ uid_t t3; gid_t t4; #endif off_t t5; pid_t t6; #ifdef TODO useconds_t t7; intptr_t t8; #endif int main (void) { return 0; } gsasl-1.8.1/gltests/test-fseeko4.c0000644000000000000000000000357313516251600013676 00000000000000/* Test of fseeko() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include #include #include "macros.h" int main (int argc, char **argv) { const char *filename = argv[1]; /* Test that fseeko() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "r"); ASSERT (fp != NULL); setvbuf (fp, NULL, _IONBF, 0); ASSERT (ftell (fp) == 0); ASSERT (fseeko (fp, 0, SEEK_END) == 0); ASSERT (ftell (fp) > 0); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fseeko (fp, 0, SEEK_SET) == -1); ASSERT (errno == EBADF); fclose (fp); } /* Test that fseeko() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { errno = 0; ASSERT (fseeko (fp, 0, SEEK_END) == -1); ASSERT (errno == EBADF); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { errno = 0; ASSERT (fseeko (fp, 0, SEEK_END) == -1); ASSERT (errno == EBADF); fclose (fp); } } return 0; } gsasl-1.8.1/gltests/test-getaddrinfo.c0000644000000000000000000001201513516251600014613 00000000000000/* Test the getaddrinfo module. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson. */ #include #include #include "signature.h" SIGNATURE_CHECK (gai_strerror, char const *, (int)); /* On native Windows, these two functions may have the __stdcall calling convention. But the SIGNATURE_CHECK works only for functions with __cdecl calling convention. */ #if !(defined _WIN32 && !defined __CYGWIN__) SIGNATURE_CHECK (freeaddrinfo, void, (struct addrinfo *)); SIGNATURE_CHECK (getaddrinfo, int, (char const *, char const *, struct addrinfo const *, struct addrinfo **)); #endif #include #include #include #include #include #include "sockets.h" /* Whether to print debugging messages. */ #define ENABLE_DEBUGGING 0 #if ENABLE_DEBUGGING # define dbgprintf printf #else # define dbgprintf if (0) printf #endif /* BeOS does not have AF_UNSPEC. */ #ifndef AF_UNSPEC # define AF_UNSPEC 0 #endif #ifndef EAI_SERVICE # define EAI_SERVICE 0 #endif static int simple (char const *host, char const *service) { char buf[BUFSIZ]; static int skip = 0; struct addrinfo hints; struct addrinfo *ai0, *ai; int res; int err; /* Once we skipped the test, do not try anything else */ if (skip) return 0; dbgprintf ("Finding %s service %s...\n", host, service); /* This initializes "hints" but does not use it. Is there a reason for this? If so, please fix this comment. */ memset (&hints, 0, sizeof (hints)); hints.ai_flags = AI_CANONNAME; hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; res = getaddrinfo (host, service, 0, &ai0); err = errno; dbgprintf ("res %d: %s\n", res, gai_strerror (res)); if (res != 0) { /* EAI_AGAIN is returned if no network is available. Don't fail the test merely because someone is down the country on their in-law's farm. */ if (res == EAI_AGAIN) { skip++; fprintf (stderr, "skipping getaddrinfo test: no network?\n"); return 77; } /* IRIX reports EAI_NONAME for "https". Don't fail the test merely because of this. */ if (res == EAI_NONAME) return 0; /* Solaris reports EAI_SERVICE for "http" and "https". Don't fail the test merely because of this. */ if (res == EAI_SERVICE) return 0; #ifdef EAI_NODATA /* AIX reports EAI_NODATA for "https". Don't fail the test merely because of this. */ if (res == EAI_NODATA) return 0; #endif /* Provide details if errno was set. */ if (res == EAI_SYSTEM) fprintf (stderr, "system error: %s\n", strerror (err)); return 1; } for (ai = ai0; ai; ai = ai->ai_next) { void *ai_addr = ai->ai_addr; struct sockaddr_in *sock_addr = ai_addr; dbgprintf ("\tflags %x\n", ai->ai_flags + 0u); dbgprintf ("\tfamily %x\n", ai->ai_family + 0u); dbgprintf ("\tsocktype %x\n", ai->ai_socktype + 0u); dbgprintf ("\tprotocol %x\n", ai->ai_protocol + 0u); dbgprintf ("\taddrlen %lu: ", (unsigned long) ai->ai_addrlen); dbgprintf ("\tFound %s\n", inet_ntop (ai->ai_family, &sock_addr->sin_addr, buf, sizeof (buf) - 1)); if (ai->ai_canonname) dbgprintf ("\tFound %s...\n", ai->ai_canonname); { char ipbuf[BUFSIZ]; char portbuf[BUFSIZ]; res = getnameinfo (ai->ai_addr, ai->ai_addrlen, ipbuf, sizeof (ipbuf) - 1, portbuf, sizeof (portbuf) - 1, NI_NUMERICHOST|NI_NUMERICSERV); dbgprintf ("\t\tgetnameinfo %d: %s\n", res, gai_strerror (res)); if (res == 0) { dbgprintf ("\t\tip %s\n", ipbuf); dbgprintf ("\t\tport %s\n", portbuf); } } } freeaddrinfo (ai0); return 0; } #define HOST1 "www.gnu.org" #define SERV1 "http" #define HOST2 "www.ibm.com" #define SERV2 "https" #define HOST3 "microsoft.com" #define SERV3 "http" #define HOST4 "google.org" #define SERV4 "ldap" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); return simple (HOST1, SERV1) + simple (HOST2, SERV2) + simple (HOST3, SERV3) + simple (HOST4, SERV4); } gsasl-1.8.1/gltests/test-mbrtowc4.sh0000755000000000000000000000061513516251600014264 00000000000000#!/bin/sh # Test whether a specific GB18030 locale is installed. : ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no transitional chinese locale is installed" else echo "Skipping test: no transitional chinese locale is supported" fi exit 77 fi LC_ALL=$LOCALE_ZH_CN \ ${CHECKER} ./test-mbrtowc${EXEEXT} 4 gsasl-1.8.1/gltests/test-stdint.c0000644000000000000000000003330613516251601013641 00000000000000/* Test of substitute. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2006. */ #include /* Whether to enable pedantic checks. */ #define DO_PEDANTIC 0 #include #include "verify.h" #include "intprops.h" #if __GNUC__ >= 2 && DO_PEDANTIC # define verify_same_types(expr1,expr2) \ extern void _verify_func(__LINE__) (__typeof__ (expr1) *); \ extern void _verify_func(__LINE__) (__typeof__ (expr2) *); # define _verify_func(line) _verify_func2(line) # define _verify_func2(line) verify_func_ ## line #else # define verify_same_types(expr1,expr2) extern void verify_func (int) #endif /* 7.18.1.1. Exact-width integer types */ /* 7.18.2.1. Limits of exact-width integer types */ int8_t a1[3] = { INT8_C (17), INT8_MIN, INT8_MAX }; verify (TYPE_MINIMUM (int8_t) == INT8_MIN); verify (TYPE_MAXIMUM (int8_t) == INT8_MAX); verify_same_types (INT8_MIN, (int8_t) 0 + 0); verify_same_types (INT8_MAX, (int8_t) 0 + 0); int16_t a2[3] = { INT16_C (17), INT16_MIN, INT16_MAX }; verify (TYPE_MINIMUM (int16_t) == INT16_MIN); verify (TYPE_MAXIMUM (int16_t) == INT16_MAX); verify_same_types (INT16_MIN, (int16_t) 0 + 0); verify_same_types (INT16_MAX, (int16_t) 0 + 0); int32_t a3[3] = { INT32_C (17), INT32_MIN, INT32_MAX }; verify (TYPE_MINIMUM (int32_t) == INT32_MIN); verify (TYPE_MAXIMUM (int32_t) == INT32_MAX); verify_same_types (INT32_MIN, (int32_t) 0 + 0); verify_same_types (INT32_MAX, (int32_t) 0 + 0); #ifdef INT64_MAX int64_t a4[3] = { INT64_C (17), INT64_MIN, INT64_MAX }; verify (TYPE_MINIMUM (int64_t) == INT64_MIN); verify (TYPE_MAXIMUM (int64_t) == INT64_MAX); verify_same_types (INT64_MIN, (int64_t) 0 + 0); verify_same_types (INT64_MAX, (int64_t) 0 + 0); #endif uint8_t b1[2] = { UINT8_C (17), UINT8_MAX }; verify (TYPE_MAXIMUM (uint8_t) == UINT8_MAX); verify_same_types (UINT8_MAX, (uint8_t) 0 + 0); uint16_t b2[2] = { UINT16_C (17), UINT16_MAX }; verify (TYPE_MAXIMUM (uint16_t) == UINT16_MAX); verify_same_types (UINT16_MAX, (uint16_t) 0 + 0); uint32_t b3[2] = { UINT32_C (17), UINT32_MAX }; verify (TYPE_MAXIMUM (uint32_t) == UINT32_MAX); verify_same_types (UINT32_MAX, (uint32_t) 0 + 0); #ifdef UINT64_MAX uint64_t b4[2] = { UINT64_C (17), UINT64_MAX }; verify (TYPE_MAXIMUM (uint64_t) == UINT64_MAX); verify_same_types (UINT64_MAX, (uint64_t) 0 + 0); #endif #if INT8_MIN && INT8_MAX && INT16_MIN && INT16_MAX && INT32_MIN && INT32_MAX /* ok */ #else err or; #endif #if UINT8_MAX && UINT16_MAX && UINT32_MAX /* ok */ #else err or; #endif /* 7.18.1.2. Minimum-width integer types */ /* 7.18.2.2. Limits of minimum-width integer types */ int_least8_t c1[3] = { 17, INT_LEAST8_MIN, INT_LEAST8_MAX }; verify (TYPE_MINIMUM (int_least8_t) == INT_LEAST8_MIN); verify (TYPE_MAXIMUM (int_least8_t) == INT_LEAST8_MAX); verify_same_types (INT_LEAST8_MIN, (int_least8_t) 0 + 0); verify_same_types (INT_LEAST8_MAX, (int_least8_t) 0 + 0); int_least16_t c2[3] = { 17, INT_LEAST16_MIN, INT_LEAST16_MAX }; verify (TYPE_MINIMUM (int_least16_t) == INT_LEAST16_MIN); verify (TYPE_MAXIMUM (int_least16_t) == INT_LEAST16_MAX); verify_same_types (INT_LEAST16_MIN, (int_least16_t) 0 + 0); verify_same_types (INT_LEAST16_MAX, (int_least16_t) 0 + 0); int_least32_t c3[3] = { 17, INT_LEAST32_MIN, INT_LEAST32_MAX }; verify (TYPE_MINIMUM (int_least32_t) == INT_LEAST32_MIN); verify (TYPE_MAXIMUM (int_least32_t) == INT_LEAST32_MAX); verify_same_types (INT_LEAST32_MIN, (int_least32_t) 0 + 0); verify_same_types (INT_LEAST32_MAX, (int_least32_t) 0 + 0); #ifdef INT_LEAST64_MAX int_least64_t c4[3] = { 17, INT_LEAST64_MIN, INT_LEAST64_MAX }; verify (TYPE_MINIMUM (int_least64_t) == INT_LEAST64_MIN); verify (TYPE_MAXIMUM (int_least64_t) == INT_LEAST64_MAX); verify_same_types (INT_LEAST64_MIN, (int_least64_t) 0 + 0); verify_same_types (INT_LEAST64_MAX, (int_least64_t) 0 + 0); #endif uint_least8_t d1[2] = { 17, UINT_LEAST8_MAX }; verify (TYPE_MAXIMUM (uint_least8_t) == UINT_LEAST8_MAX); verify_same_types (UINT_LEAST8_MAX, (uint_least8_t) 0 + 0); uint_least16_t d2[2] = { 17, UINT_LEAST16_MAX }; verify (TYPE_MAXIMUM (uint_least16_t) == UINT_LEAST16_MAX); verify_same_types (UINT_LEAST16_MAX, (uint_least16_t) 0 + 0); uint_least32_t d3[2] = { 17, UINT_LEAST32_MAX }; verify (TYPE_MAXIMUM (uint_least32_t) == UINT_LEAST32_MAX); verify_same_types (UINT_LEAST32_MAX, (uint_least32_t) 0 + 0); #ifdef UINT_LEAST64_MAX uint_least64_t d4[2] = { 17, UINT_LEAST64_MAX }; verify (TYPE_MAXIMUM (uint_least64_t) == UINT_LEAST64_MAX); verify_same_types (UINT_LEAST64_MAX, (uint_least64_t) 0 + 0); #endif #if INT_LEAST8_MIN && INT_LEAST8_MAX && INT_LEAST16_MIN && INT_LEAST16_MAX && INT_LEAST32_MIN && INT_LEAST32_MAX /* ok */ #else err or; #endif #if UINT_LEAST8_MAX && UINT_LEAST16_MAX && UINT_LEAST32_MAX /* ok */ #else err or; #endif /* 7.18.1.3. Fastest minimum-width integer types */ /* 7.18.2.3. Limits of fastest minimum-width integer types */ int_fast8_t e1[3] = { 17, INT_FAST8_MIN, INT_FAST8_MAX }; verify (TYPE_MINIMUM (int_fast8_t) == INT_FAST8_MIN); verify (TYPE_MAXIMUM (int_fast8_t) == INT_FAST8_MAX); verify_same_types (INT_FAST8_MIN, (int_fast8_t) 0 + 0); verify_same_types (INT_FAST8_MAX, (int_fast8_t) 0 + 0); int_fast16_t e2[3] = { 17, INT_FAST16_MIN, INT_FAST16_MAX }; verify (TYPE_MINIMUM (int_fast16_t) == INT_FAST16_MIN); verify (TYPE_MAXIMUM (int_fast16_t) == INT_FAST16_MAX); verify_same_types (INT_FAST16_MIN, (int_fast16_t) 0 + 0); verify_same_types (INT_FAST16_MAX, (int_fast16_t) 0 + 0); int_fast32_t e3[3] = { 17, INT_FAST32_MIN, INT_FAST32_MAX }; verify (TYPE_MINIMUM (int_fast32_t) == INT_FAST32_MIN); verify (TYPE_MAXIMUM (int_fast32_t) == INT_FAST32_MAX); verify_same_types (INT_FAST32_MIN, (int_fast32_t) 0 + 0); verify_same_types (INT_FAST32_MAX, (int_fast32_t) 0 + 0); #ifdef INT_FAST64_MAX int_fast64_t e4[3] = { 17, INT_FAST64_MIN, INT_FAST64_MAX }; verify (TYPE_MINIMUM (int_fast64_t) == INT_FAST64_MIN); verify (TYPE_MAXIMUM (int_fast64_t) == INT_FAST64_MAX); verify_same_types (INT_FAST64_MIN, (int_fast64_t) 0 + 0); verify_same_types (INT_FAST64_MAX, (int_fast64_t) 0 + 0); #endif uint_fast8_t f1[2] = { 17, UINT_FAST8_MAX }; verify (TYPE_MAXIMUM (uint_fast8_t) == UINT_FAST8_MAX); verify_same_types (UINT_FAST8_MAX, (uint_fast8_t) 0 + 0); uint_fast16_t f2[2] = { 17, UINT_FAST16_MAX }; verify (TYPE_MAXIMUM (uint_fast16_t) == UINT_FAST16_MAX); verify_same_types (UINT_FAST16_MAX, (uint_fast16_t) 0 + 0); uint_fast32_t f3[2] = { 17, UINT_FAST32_MAX }; verify (TYPE_MAXIMUM (uint_fast32_t) == UINT_FAST32_MAX); verify_same_types (UINT_FAST32_MAX, (uint_fast32_t) 0 + 0); #ifdef UINT_FAST64_MAX uint_fast64_t f4[2] = { 17, UINT_FAST64_MAX }; verify (TYPE_MAXIMUM (uint_fast64_t) == UINT_FAST64_MAX); verify_same_types (UINT_FAST64_MAX, (uint_fast64_t) 0 + 0); #endif #if INT_FAST8_MIN && INT_FAST8_MAX && INT_FAST16_MIN && INT_FAST16_MAX && INT_FAST32_MIN && INT_FAST32_MAX /* ok */ #else err or; #endif #if UINT_FAST8_MAX && UINT_FAST16_MAX && UINT_FAST32_MAX /* ok */ #else err or; #endif /* 7.18.1.4. Integer types capable of holding object pointers */ /* 7.18.2.4. Limits of integer types capable of holding object pointers */ intptr_t g[3] = { 17, INTPTR_MIN, INTPTR_MAX }; verify (TYPE_MINIMUM (intptr_t) == INTPTR_MIN); verify (TYPE_MAXIMUM (intptr_t) == INTPTR_MAX); verify_same_types (INTPTR_MIN, (intptr_t) 0 + 0); verify_same_types (INTPTR_MAX, (intptr_t) 0 + 0); uintptr_t h[2] = { 17, UINTPTR_MAX }; verify (TYPE_MAXIMUM (uintptr_t) == UINTPTR_MAX); verify_same_types (UINTPTR_MAX, (uintptr_t) 0 + 0); #if INTPTR_MIN && INTPTR_MAX && UINTPTR_MAX /* ok */ #else err or; #endif /* 7.18.1.5. Greatest-width integer types */ /* 7.18.2.5. Limits of greatest-width integer types */ intmax_t i[3] = { INTMAX_C (17), INTMAX_MIN, INTMAX_MAX }; verify (TYPE_MINIMUM (intmax_t) == INTMAX_MIN); verify (TYPE_MAXIMUM (intmax_t) == INTMAX_MAX); verify_same_types (INTMAX_MIN, (intmax_t) 0 + 0); verify_same_types (INTMAX_MAX, (intmax_t) 0 + 0); uintmax_t j[2] = { UINTMAX_C (17), UINTMAX_MAX }; verify (TYPE_MAXIMUM (uintmax_t) == UINTMAX_MAX); verify_same_types (UINTMAX_MAX, (uintmax_t) 0 + 0); /* As of 2007, Sun C and HP-UX 10.20 cc don't support 'long long' constants in the preprocessor. */ #if !(defined __SUNPRO_C || (defined __hpux && !defined __GNUC__)) #if INTMAX_MIN && INTMAX_MAX && UINTMAX_MAX /* ok */ #else err or; #endif #endif /* 7.18.3. Limits of other integer types */ #include verify (TYPE_MINIMUM (ptrdiff_t) == PTRDIFF_MIN); verify (TYPE_MAXIMUM (ptrdiff_t) == PTRDIFF_MAX); verify_same_types (PTRDIFF_MIN, (ptrdiff_t) 0 + 0); verify_same_types (PTRDIFF_MAX, (ptrdiff_t) 0 + 0); #if PTRDIFF_MIN && PTRDIFF_MAX /* ok */ #else err or; #endif #include verify (TYPE_MINIMUM (sig_atomic_t) == SIG_ATOMIC_MIN); verify (TYPE_MAXIMUM (sig_atomic_t) == SIG_ATOMIC_MAX); verify_same_types (SIG_ATOMIC_MIN, (sig_atomic_t) 0 + 0); verify_same_types (SIG_ATOMIC_MAX, (sig_atomic_t) 0 + 0); #if SIG_ATOMIC_MIN != 17 && SIG_ATOMIC_MAX /* ok */ #else err or; #endif verify (TYPE_MAXIMUM (size_t) == SIZE_MAX); verify_same_types (SIZE_MAX, (size_t) 0 + 0); #if SIZE_MAX /* ok */ #else err or; #endif #if HAVE_WCHAR_T verify (TYPE_MINIMUM (wchar_t) == WCHAR_MIN); verify (TYPE_MAXIMUM (wchar_t) == WCHAR_MAX); verify_same_types (WCHAR_MIN, (wchar_t) 0 + 0); verify_same_types (WCHAR_MAX, (wchar_t) 0 + 0); # if WCHAR_MIN != 17 && WCHAR_MAX /* ok */ # else err or; # endif #endif #if HAVE_WINT_T # include verify (TYPE_MINIMUM (wint_t) == WINT_MIN); verify (TYPE_MAXIMUM (wint_t) == WINT_MAX); verify_same_types (WINT_MIN, (wint_t) 0 + 0); verify_same_types (WINT_MAX, (wint_t) 0 + 0); # if WINT_MIN != 17 && WINT_MAX /* ok */ # else err or; # endif #endif /* 7.18.4. Macros for integer constants */ verify (INT8_C (17) == 17); verify_same_types (INT8_C (17), (int_least8_t)0 + 0); verify (UINT8_C (17) == 17); verify_same_types (UINT8_C (17), (uint_least8_t)0 + 0); verify (INT16_C (17) == 17); verify_same_types (INT16_C (17), (int_least16_t)0 + 0); verify (UINT16_C (17) == 17); verify_same_types (UINT16_C (17), (uint_least16_t)0 + 0); verify (INT32_C (17) == 17); verify_same_types (INT32_C (17), (int_least32_t)0 + 0); verify (UINT32_C (17) == 17); verify_same_types (UINT32_C (17), (uint_least32_t)0 + 0); #ifdef INT64_C verify (INT64_C (17) == 17); verify_same_types (INT64_C (17), (int_least64_t)0 + 0); #endif #ifdef UINT64_C verify (UINT64_C (17) == 17); verify_same_types (UINT64_C (17), (uint_least64_t)0 + 0); #endif verify (INTMAX_C (17) == 17); verify_same_types (INTMAX_C (17), (intmax_t)0 + 0); verify (UINTMAX_C (17) == 17); verify_same_types (UINTMAX_C (17), (uintmax_t)0 + 0); /* Use _GL_VERIFY (with a fixed-length diagnostic string) rather than verify, because the latter would require forming each stringified expression, and many of these would be so long as to trigger a warning/error like this: test-stdint.c:407:1: error: string length '6980' is greater than the \ length '4095' ISO C99 compilers are required to support \ [-Werror=overlength-strings] */ #define verify_width(width, min, max) \ _GL_VERIFY ((max) >> ((width) - 1 - ((min) < 0)) == 1, \ "verify_width check") /* Macros specified by ISO/IEC TS 18661-1:2014. */ #ifdef INT8_MAX verify_width (INT8_WIDTH, INT8_MIN, INT8_MAX); #endif #ifdef UINT8_MAX verify_width (UINT8_WIDTH, 0, UINT8_MAX); #endif #ifdef INT16_MAX verify_width (INT16_WIDTH, INT16_MIN, INT16_MAX); #endif #ifdef UINT16_MAX verify_width (UINT16_WIDTH, 0, UINT16_MAX); #endif #ifdef INT32_MAX verify_width (INT32_WIDTH, INT32_MIN, INT32_MAX); #endif #ifdef UINT32_MAX verify_width (UINT32_WIDTH, 0, UINT32_MAX); #endif #ifdef INT64_MAX verify_width (INT64_WIDTH, INT64_MIN, INT64_MAX); #endif #ifdef UINT64_MAX verify_width (UINT64_WIDTH, 0, UINT64_MAX); #endif verify_width (INT_LEAST8_WIDTH, INT_LEAST8_MIN, INT_LEAST8_MAX); verify_width (UINT_LEAST8_WIDTH, 0, UINT_LEAST8_MAX); verify_width (INT_LEAST16_WIDTH, INT_LEAST16_MIN, INT_LEAST16_MAX); verify_width (UINT_LEAST16_WIDTH, 0, UINT_LEAST16_MAX); verify_width (INT_LEAST32_WIDTH, INT_LEAST32_MIN, INT_LEAST32_MAX); verify_width (UINT_LEAST32_WIDTH, 0, UINT_LEAST32_MAX); verify_width (INT_LEAST64_WIDTH, INT_LEAST64_MIN, INT_LEAST64_MAX); verify_width (UINT_LEAST64_WIDTH, 0, UINT_LEAST64_MAX); verify_width (INT_FAST8_WIDTH, INT_FAST8_MIN, INT_FAST8_MAX); verify_width (UINT_FAST8_WIDTH, 0, UINT_FAST8_MAX); verify_width (INT_FAST16_WIDTH, INT_FAST16_MIN, INT_FAST16_MAX); verify_width (UINT_FAST16_WIDTH, 0, UINT_FAST16_MAX); verify_width (INT_FAST32_WIDTH, INT_FAST32_MIN, INT_FAST32_MAX); verify_width (UINT_FAST32_WIDTH, 0, UINT_FAST32_MAX); verify_width (INT_FAST64_WIDTH, INT_FAST64_MIN, INT_FAST64_MAX); verify_width (UINT_FAST64_WIDTH, 0, UINT_FAST64_MAX); verify_width (INTPTR_WIDTH, INTPTR_MIN, INTPTR_MAX); verify_width (UINTPTR_WIDTH, 0, UINTPTR_MAX); verify_width (INTMAX_WIDTH, INTMAX_MIN, INTMAX_MAX); verify_width (UINTMAX_WIDTH, 0, UINTMAX_MAX); verify_width (PTRDIFF_WIDTH, PTRDIFF_MIN, PTRDIFF_MAX); verify_width (SIZE_WIDTH, 0, SIZE_MAX); verify_width (WCHAR_WIDTH, WCHAR_MIN, WCHAR_MAX); #ifdef WINT_MAX verify_width (WINT_WIDTH, WINT_MIN, WINT_MAX); #endif #ifdef SIG_ATOMIC_MAX verify_width (SIG_ATOMIC_WIDTH, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX); #endif int main (void) { return 0; } gsasl-1.8.1/gltests/test-malloca.c0000644000000000000000000000306113516251600013736 00000000000000/* Test of safe automatic memory allocation. Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #include "malloca.h" #include static void do_allocation (int n) { void *ptr = malloca (n); freea (ptr); safe_alloca (n); } void (*func) (int) = do_allocation; int main () { int i; /* This slows down malloc a lot. */ unsetenv ("MALLOC_PERTURB_"); /* Repeat a lot of times, to make sure there's no memory leak. */ for (i = 0; i < 50000; i++) { /* Try various values. n = 0 gave a crash on Alpha with gcc-2.5.8. Some versions of Mac OS X have a stack size limit of 512 KB. */ func (34); func (134); func (399); func (510823); func (129321); func (0); func (4070); func (4095); func (1); func (16582); } return 0; } gsasl-1.8.1/gltests/test-verify.c0000644000000000000000000000351013516251601013632 00000000000000/* Test the "verify" module. Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible. */ #include #include "verify.h" #ifndef EXP_FAIL # define EXP_FAIL 0 #endif int x; enum { a, b, c }; #if EXP_FAIL == 1 verify (x >= 0); /* should give ERROR: non-constant expression */ #endif verify (c == 2); /* should be ok */ #if EXP_FAIL == 2 verify (1 + 1 == 3); /* should give ERROR */ #endif verify (1 == 1); verify (1 == 1); /* should be ok */ enum { item = verify_expr (1 == 1, 10 * 0 + 17) /* should be ok */ }; static int function (int n) { #if EXP_FAIL == 3 verify (n >= 0); /* should give ERROR: non-constant expression */ #endif verify (c == 2); /* should be ok */ #if EXP_FAIL == 4 verify (1 + 1 == 3); /* should give ERROR */ #endif verify (1 == 1); verify (1 == 1); /* should be ok */ if (n) return ((void) verify_expr (1 == 1, 1), verify_expr (1 == 1, 8)); /* should be ok */ #if EXP_FAIL == 5 return verify_expr (1 == 2, 5); /* should give ERROR */ #endif return 0; } int main (void) { return !(function (0) == 0 && function (1) == 8); } gsasl-1.8.1/gltests/test-netdb.c0000644000000000000000000000200513516251600013417 00000000000000/* Test of substitute. Copyright (C) 2007-2008, 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson , 2008. */ #include #include /* Check that the 'struct hostent' type is defined. */ struct hostent t1; /* Check that the 'socklen_t' type is defined. */ socklen_t t2; int main (void) { return 0; } gsasl-1.8.1/gltests/test-signal-h.c0000644000000000000000000000475313516251601014042 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include /* Check for required types. */ struct { size_t a; uid_t b; volatile sig_atomic_t c; sigset_t d; pid_t e; #if 0 /* Not guaranteed by gnulib. */ pthread_t f; struct timespec g; #endif } s; /* Check that NSIG is defined. */ int nsig = NSIG; int main (void) { switch (0) { /* The following are guaranteed by C. */ case 0: case SIGABRT: case SIGFPE: case SIGILL: case SIGINT: case SIGSEGV: case SIGTERM: /* The following is guaranteed by gnulib. */ #if GNULIB_SIGPIPE || defined SIGPIPE case SIGPIPE: #endif /* Ensure no conflict with other standardized names. */ #ifdef SIGALRM case SIGALRM: #endif /* On Haiku, SIGBUS is mistakenly equal to SIGSEGV. */ #if defined SIGBUS && SIGBUS != SIGSEGV case SIGBUS: #endif #ifdef SIGCHLD case SIGCHLD: #endif #ifdef SIGCONT case SIGCONT: #endif #ifdef SIGHUP case SIGHUP: #endif #ifdef SIGKILL case SIGKILL: #endif #ifdef SIGQUIT case SIGQUIT: #endif #ifdef SIGSTOP case SIGSTOP: #endif #ifdef SIGTSTP case SIGTSTP: #endif #ifdef SIGTTIN case SIGTTIN: #endif #ifdef SIGTTOU case SIGTTOU: #endif #ifdef SIGUSR1 case SIGUSR1: #endif #ifdef SIGUSR2 case SIGUSR2: #endif #ifdef SIGSYS case SIGSYS: #endif #ifdef SIGTRAP case SIGTRAP: #endif #ifdef SIGURG case SIGURG: #endif #ifdef SIGVTALRM case SIGVTALRM: #endif #ifdef SIGXCPU case SIGXCPU: #endif #ifdef SIGXFSZ case SIGXFSZ: #endif /* SIGRTMIN and SIGRTMAX need not be compile-time constants. */ #if 0 # ifdef SIGRTMIN case SIGRTMIN: # endif # ifdef SIGRTMAX case SIGRTMAX: # endif #endif ; } return s.a + s.b + s.c + s.e; } gsasl-1.8.1/gltests/test-raise.c0000644000000000000000000000264113516251574013446 00000000000000/* Test raising a signal. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (raise, int, (int)); #include #include "macros.h" /* It is safe to use _Noreturn here: exit() never returns, and GCC knows that exit() is a non-returning function, even on platforms where its declaration in does not have the 'noreturn' attribute. */ static _Noreturn void handler (int sig) { exit (0); } int main (void) { /* Test behaviour for invalid argument. */ ASSERT (raise (-1) != 0); /* Test behaviour for SIGINT. */ ASSERT (signal (SIGINT, handler) != SIG_ERR); raise (SIGINT); /* We should not get here, because the handler takes away the control. */ exit (1); } gsasl-1.8.1/gltests/cloexec.c0000644000000000000000000000442713516251573013013 00000000000000/* cloexec.c - set or clear the close-on-exec descriptor flag Copyright (C) 1991, 2004-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . The code is taken from glibc/manual/llio.texi */ #include #include "cloexec.h" #include #include #include /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, or clear the flag if VALUE is false. Return 0 on success, or -1 on error with 'errno' set. Note that on MingW, this function does NOT protect DESC from being inherited into spawned children. Instead, either use dup_cloexec followed by closing the original DESC, or use interfaces such as open or pipe2 that accept flags like O_CLOEXEC to create DESC non-inheritable in the first place. */ int set_cloexec_flag (int desc, bool value) { #ifdef F_SETFD int flags = fcntl (desc, F_GETFD, 0); if (0 <= flags) { int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC); if (flags == newflags || fcntl (desc, F_SETFD, newflags) != -1) return 0; } return -1; #else /* !F_SETFD */ /* Use dup2 to reject invalid file descriptors; the cloexec flag will be unaffected. */ if (desc < 0) { errno = EBADF; return -1; } if (dup2 (desc, desc) < 0) /* errno is EBADF here. */ return -1; /* There is nothing we can do on this kind of platform. Punt. */ return 0; #endif /* !F_SETFD */ } /* Duplicates a file handle FD, while marking the copy to be closed prior to exec or spawn. Returns -1 and sets errno if FD could not be duplicated. */ int dup_cloexec (int fd) { return fcntl (fd, F_DUPFD_CLOEXEC, 0); } gsasl-1.8.1/gltests/test-sockets.c0000644000000000000000000000216413516251601014005 00000000000000/* * Copyright (C) 2008-2019 Free Software Foundation, Inc. * Written by Simon Josefsson. * * 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 3 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, see . */ #include #include #include "sockets.h" int main (void) { int err; err = gl_sockets_startup (SOCKETS_1_1); if (err != 0) { printf ("wsastartup failed %d\n", err); return 1; } err = gl_sockets_cleanup (); if (err != 0) { printf ("wsacleanup failed %d\n", err); return 1; } (void) gl_fd_to_handle (0); return 0; } gsasl-1.8.1/gltests/test-mbrtowc-w32.c0000644000000000000000000005417413516251600014427 00000000000000/* Test of conversion of multibyte character to wide character. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include #include #include #include #include #include "macros.h" #if defined _WIN32 && !defined __CYGWIN__ static int test_one_locale (const char *name, int codepage) { mbstate_t state; wchar_t wc; size_t ret; # if 1 /* Portable code to set the locale. */ { char name_with_codepage[1024]; sprintf (name_with_codepage, "%s.%d", name, codepage); /* Set the locale. */ if (setlocale (LC_ALL, name_with_codepage) == NULL) return 77; } # else /* Hacky way to set a locale.codepage combination that setlocale() refuses to set. */ { /* Codepage of the current locale, set with setlocale(). Not necessarily the same as GetACP(). */ extern __declspec(dllimport) unsigned int __lc_codepage; /* Set the locale. */ if (setlocale (LC_ALL, name) == NULL) return 77; /* Clobber the codepage and MB_CUR_MAX, both set by setlocale(). */ __lc_codepage = codepage; switch (codepage) { case 1252: case 1256: MB_CUR_MAX = 1; break; case 932: case 950: case 936: MB_CUR_MAX = 2; break; case 54936: case 65001: MB_CUR_MAX = 4; break; } /* Test whether the codepage is really available. */ memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, " ", 1, &state) == (size_t)(-1)) return 77; } # endif /* Test zero-length input. */ { memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "x", 0, &state); /* gnulib's implementation returns (size_t)(-2). The AIX 5.1 implementation returns (size_t)(-1). glibc's implementation returns 0. */ ASSERT (ret == (size_t)(-2) || ret == (size_t)(-1) || ret == 0); ASSERT (mbsinit (&state)); } /* Test NUL byte input. */ { memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "", 1, &state); ASSERT (ret == 0); ASSERT (wc == 0); ASSERT (mbsinit (&state)); ret = mbrtowc (NULL, "", 1, &state); ASSERT (ret == 0); ASSERT (mbsinit (&state)); } /* Test single-byte input. */ { int c; char buf[1]; memset (&state, '\0', sizeof (mbstate_t)); for (c = 0; c < 0x100; c++) switch (c) { case '\t': case '\v': case '\f': case ' ': case '!': case '"': case '#': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case ';': case '<': case '=': case '>': case '?': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '[': case '\\': case ']': case '^': case '_': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case '{': case '|': case '}': case '~': /* c is in the ISO C "basic character set". */ buf[0] = c; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, buf, 1, &state); ASSERT (ret == 1); ASSERT (wc == c); ASSERT (mbsinit (&state)); ret = mbrtowc (NULL, buf, 1, &state); ASSERT (ret == 1); ASSERT (mbsinit (&state)); break; } } /* Test special calling convention, passing a NULL pointer. */ { memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, NULL, 5, &state); ASSERT (ret == 0); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (mbsinit (&state)); } switch (codepage) { case 1252: /* Locale encoding is CP1252, an extension of ISO-8859-1. */ { char input[] = "B\374\337er"; /* "Büßer" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'B'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 1, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == (unsigned char) '\374'); ASSERT (wc == 0x00FC); ASSERT (mbsinit (&state)); input[1] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 2, 3, &state); ASSERT (ret == 1); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 2, 3, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == (unsigned char) '\337'); ASSERT (wc == 0x00DF); ASSERT (mbsinit (&state)); input[2] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 2, &state); ASSERT (ret == 1); ASSERT (wc == 'e'); ASSERT (mbsinit (&state)); input[3] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 4, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'r'); ASSERT (mbsinit (&state)); } return 0; case 1256: /* Locale encoding is CP1256, not the same as ISO-8859-6. */ { char input[] = "x\302\341\346y"; /* "xآلوy" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'x'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 1, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == (unsigned char) '\302'); ASSERT (wc == 0x0622); ASSERT (mbsinit (&state)); input[1] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 2, 3, &state); ASSERT (ret == 1); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 2, 3, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == (unsigned char) '\341'); ASSERT (wc == 0x0644); ASSERT (mbsinit (&state)); input[2] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 2, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == (unsigned char) '\346'); ASSERT (wc == 0x0648); ASSERT (mbsinit (&state)); input[3] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 4, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'y'); ASSERT (mbsinit (&state)); } return 0; case 932: /* Locale encoding is CP932, similar to Shift_JIS. */ { char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == '<'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 2, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x65E5); ASSERT (mbsinit (&state)); input[1] = '\0'; input[2] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[3] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 4, 4, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x672C); ASSERT (mbsinit (&state)); input[4] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x8A9E); ASSERT (mbsinit (&state)); input[5] = '\0'; input[6] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 7, 1, &state); ASSERT (ret == 1); ASSERT (wc == '>'); ASSERT (mbsinit (&state)); /* Test some invalid input. */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ ASSERT ((ret == (size_t)-1 && errno == EILSEQ) || ret == (size_t)-2); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ ASSERT ((ret == (size_t)-1 && errno == EILSEQ) || (ret == 2 && wc == 0x30FB)); } return 0; case 950: /* Locale encoding is CP950, similar to Big5. */ { char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == '<'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 2, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x65E5); ASSERT (mbsinit (&state)); input[1] = '\0'; input[2] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[3] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 4, 4, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x672C); ASSERT (mbsinit (&state)); input[4] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x8A9E); ASSERT (mbsinit (&state)); input[5] = '\0'; input[6] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 7, 1, &state); ASSERT (ret == 1); ASSERT (wc == '>'); ASSERT (mbsinit (&state)); /* Test some invalid input. */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ ASSERT ((ret == (size_t)-1 && errno == EILSEQ) || ret == (size_t)-2); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ ASSERT ((ret == (size_t)-1 && errno == EILSEQ) || (ret == 2 && wc == '?')); } return 0; case 936: /* Locale encoding is CP936 = GBK, an extension of GB2312. */ { char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == '<'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 2, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x65E5); ASSERT (mbsinit (&state)); input[1] = '\0'; input[2] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[3] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 4, 4, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x672C); ASSERT (mbsinit (&state)); input[4] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x8A9E); ASSERT (mbsinit (&state)); input[5] = '\0'; input[6] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 7, 1, &state); ASSERT (ret == 1); ASSERT (wc == '>'); ASSERT (mbsinit (&state)); /* Test some invalid input. */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ ASSERT ((ret == (size_t)-1 && errno == EILSEQ) || ret == (size_t)-2); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ ASSERT ((ret == (size_t)-1 && errno == EILSEQ) || (ret == 2 && wc == '?')); } return 0; case 54936: /* Locale encoding is CP54936 = GB18030. */ { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'B'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[1] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 2, 7, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x00FC); ASSERT (mbsinit (&state)); input[2] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 3, 6, &state); ASSERT (ret == 4); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 6, &state); ASSERT (ret == 4); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x00DF); ASSERT (mbsinit (&state)); input[3] = '\0'; input[4] = '\0'; input[5] = '\0'; input[6] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 7, 2, &state); ASSERT (ret == 1); ASSERT (wc == 'e'); ASSERT (mbsinit (&state)); input[5] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 8, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'r'); ASSERT (mbsinit (&state)); /* Test some invalid input. */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\201\045", 2, &state); /* 0x81 0x25 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\201\060\377", 3, &state); /* 0x81 0x30 0xFF */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\201\060\377\064", 4, &state); /* 0x81 0x30 0xFF 0x34 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\201\060\211\072", 4, &state); /* 0x81 0x30 0x89 0x3A */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); } return 0; case 65001: /* Locale encoding is CP65001 = UTF-8. */ { char input[] = "B\303\274\303\237er"; /* "Büßer" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'B'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[1] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 2, 5, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x00FC); ASSERT (mbsinit (&state)); input[2] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 3, 4, &state); ASSERT (ret == 2); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 4, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (wc == 0x00DF); ASSERT (mbsinit (&state)); input[3] = '\0'; input[4] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 5, 2, &state); ASSERT (ret == 1); ASSERT (wc == 'e'); ASSERT (mbsinit (&state)); input[5] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 6, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'r'); ASSERT (mbsinit (&state)); /* Test some invalid input. */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\303\300", 2, &state); /* 0xC3 0xC0 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\343\300", 2, &state); /* 0xE3 0xC0 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\343\300\200", 3, &state); /* 0xE3 0xC0 0x80 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\343\200\300", 3, &state); /* 0xE3 0x80 0xC0 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\363\300", 2, &state); /* 0xF3 0xC0 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\363\300\200\200", 4, &state); /* 0xF3 0xC0 0x80 0x80 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\363\200\300", 3, &state); /* 0xF3 0x80 0xC0 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\363\200\300\200", 4, &state); /* 0xF3 0x80 0xC0 0x80 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "\363\200\200\300", 4, &state); /* 0xF3 0x80 0x80 0xC0 */ ASSERT (ret == (size_t)-1); ASSERT (errno == EILSEQ); } return 0; default: return 1; } } int main (int argc, char *argv[]) { int codepage = atoi (argv[argc - 1]); int result; int i; result = 77; for (i = 1; i < argc - 1; i++) { int ret = test_one_locale (argv[i], codepage); if (ret != 77) result = ret; } if (result == 77) { fprintf (stderr, "Skipping test: found no locale with codepage %d\n", codepage); } return result; } #else int main (int argc, char *argv[]) { fputs ("Skipping test: not a native Windows system\n", stderr); return 77; } #endif gsasl-1.8.1/gltests/test-lseek.sh0000755000000000000000000000065013516251600013625 00000000000000#!/bin/sh tmpfiles= trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles=t-lseek.tmp # seekable files ${CHECKER} ./test-lseek${EXEEXT} 0 < "$srcdir/test-lseek.sh" > t-lseek.tmp || exit 1 # pipes echo hi | { ${CHECKER} ./test-lseek${EXEEXT} 1; echo $? > t-lseek.tmp; cat > /dev/null; } | cat test "`cat t-lseek.tmp`" = "0" || exit 1 # closed descriptors ${CHECKER} ./test-lseek${EXEEXT} 2 <&- >&- || exit 1 rm -rf $tmpfiles exit 0 gsasl-1.8.1/gltests/pthread.in.h0000644000000000000000000020271013516317361013423 00000000000000/* Implement the most essential subset of POSIX 1003.1-2008 pthread.h. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Paul Eggert, Glen Lenker, and Bruno Haible. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _GL_ALREADY_INCLUDING_PTHREAD_H /* Special invocation convention: On Android, we have a sequence of nested includes -> -> -> -> -> . In this situation, PTHREAD_COND_INITIALIZER is not yet defined, therefore we should not attempt to define PTHREAD_MUTEX_NORMAL etc. */ #@INCLUDE_NEXT@ @NEXT_PTHREAD_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_PTHREAD_H_ #if @HAVE_PTHREAD_H@ # define _GL_ALREADY_INCLUDING_PTHREAD_H /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_PTHREAD_H@ # undef _GL_ALREADY_INCLUDING_PTHREAD_H #endif #ifndef _@GUARD_PREFIX@_PTHREAD_H_ #define _@GUARD_PREFIX@_PTHREAD_H_ #define __need_system_stdlib_h #include #undef __need_system_stdlib_h /* The pthreads-win32 defines a couple of broken macros. */ #undef asctime_r #undef ctime_r #undef gmtime_r #undef localtime_r #undef rand_r #undef strtok_r #include #include #include #include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _Noreturn is copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* =========== Thread types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_THREAD@ # include "windows-thread.h" # if @HAVE_PTHREAD_T@ # define pthread_t rpl_pthread_t # define pthread_attr_t rpl_pthread_attr_t # endif # if !GNULIB_defined_pthread_thread_types typedef glwthread_thread_t pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # else # if @HAVE_PTHREAD_T@ # define pthread_t rpl_pthread_t # define pthread_attr_t rpl_pthread_attr_t # endif # if !GNULIB_defined_pthread_thread_types typedef int pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # endif # undef PTHREAD_CREATE_JOINABLE # undef PTHREAD_CREATE_DETACHED # define PTHREAD_CREATE_JOINABLE 0 # define PTHREAD_CREATE_DETACHED 1 #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_thread_types typedef int pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # endif # if !@HAVE_PTHREAD_CREATE_DETACHED@ # define PTHREAD_CREATE_JOINABLE 0 # define PTHREAD_CREATE_DETACHED 1 # endif #endif /* =========== Once-only control (initialization) types and macros ========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_ONCE@ # include "windows-once.h" # if @HAVE_PTHREAD_T@ # define pthread_once_t rpl_pthread_once_t # endif # if !GNULIB_defined_pthread_once_types typedef glwthread_once_t pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT GLWTHREAD_ONCE_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_once_t rpl_pthread_once_t # endif # if !GNULIB_defined_pthread_once_types typedef int pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT { 0 } # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_once_types typedef int pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT { 0 } # endif #endif /* =========== Mutex types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_MUTEX@ # include "windows-timedmutex.h" # include "windows-timedrecmutex.h" # if @HAVE_PTHREAD_T@ # define pthread_mutex_t rpl_pthread_mutex_t # define pthread_mutexattr_t rpl_pthread_mutexattr_t # endif # if !GNULIB_defined_pthread_mutex_types typedef struct { int type; union { glwthread_timedmutex_t u_timedmutex; glwthread_timedrecmutex_t u_timedrecmutex; } u; } pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 1, { GLWTHREAD_TIMEDMUTEX_INIT } } # else # if @HAVE_PTHREAD_T@ # define pthread_mutex_t rpl_pthread_mutex_t # define pthread_mutexattr_t rpl_pthread_mutexattr_t # endif # if !GNULIB_defined_pthread_mutex_types typedef int pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 0 } # endif # undef PTHREAD_MUTEX_DEFAULT # undef PTHREAD_MUTEX_NORMAL # undef PTHREAD_MUTEX_ERRORCHECK # undef PTHREAD_MUTEX_RECURSIVE # define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL # define PTHREAD_MUTEX_NORMAL 0 # define PTHREAD_MUTEX_ERRORCHECK 1 # define PTHREAD_MUTEX_RECURSIVE 2 # undef PTHREAD_MUTEX_STALLED # undef PTHREAD_MUTEX_ROBUST # define PTHREAD_MUTEX_STALLED 0 # define PTHREAD_MUTEX_ROBUST 1 #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_mutex_types typedef int pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 0 } # endif # if !@HAVE_PTHREAD_MUTEX_RECURSIVE@ # define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL # define PTHREAD_MUTEX_NORMAL 0 # define PTHREAD_MUTEX_ERRORCHECK 1 # define PTHREAD_MUTEX_RECURSIVE 2 # endif # if !@HAVE_PTHREAD_MUTEX_ROBUST@ # define PTHREAD_MUTEX_STALLED 0 # define PTHREAD_MUTEX_ROBUST 1 # endif #endif /* =========== Read-write lock types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_RWLOCK@ # include "windows-timedrwlock.h" # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef glwthread_timedrwlock_t pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER GLWTHREAD_TIMEDRWLOCK_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef int pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER { 0 } # endif #elif @GNULIB_PTHREAD_RWLOCK@ && @REPLACE_PTHREAD_RWLOCK_INIT@ /* i.e. PTHREAD_RWLOCK_UNIMPLEMENTED */ # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef struct { pthread_mutex_t lock; /* protects the remaining fields */ pthread_cond_t waiting_readers; /* waiting readers */ pthread_cond_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 } #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_rwlock_types typedef int pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER { 0 } # endif #endif /* =========== Condition variable types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_COND@ # include "windows-cond.h" # if @HAVE_PTHREAD_T@ # define pthread_cond_t rpl_pthread_cond_t # define pthread_condattr_t rpl_pthread_condattr_t # endif # if !GNULIB_defined_pthread_cond_types typedef glwthread_cond_t pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER GLWTHREAD_COND_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_cond_t rpl_pthread_cond_t # define pthread_condattr_t rpl_pthread_condattr_t # endif # if !GNULIB_defined_pthread_cond_types typedef int pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER { 0 } # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_cond_types typedef int pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER { 0 } # endif #endif /* =========== Thread-specific storage types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_TSS@ # include "windows-tls.h" # if @HAVE_PTHREAD_T@ # define pthread_key_t rpl_pthread_key_t # endif # if !GNULIB_defined_pthread_tss_types typedef glwthread_tls_key_t pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS GLWTHREAD_DESTRUCTOR_ITERATIONS # else # if @HAVE_PTHREAD_T@ # define pthread_key_t rpl_pthread_key_t # endif # if !GNULIB_defined_pthread_tss_types typedef void ** pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS 0 # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_tss_types typedef void ** pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS 0 # endif #endif /* =========== Spinlock types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_SPIN@ # include "windows-spin.h" # if @HAVE_PTHREAD_T@ # define pthread_spinlock_t rpl_pthread_spinlock_t # endif # if !GNULIB_defined_pthread_spin_types typedef glwthread_spinlock_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # else # if @HAVE_PTHREAD_T@ # define pthread_spinlock_t rpl_pthread_spinlock_t # endif # if !GNULIB_defined_pthread_spin_types typedef pthread_mutex_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # endif # undef PTHREAD_PROCESS_PRIVATE # undef PTHREAD_PROCESS_SHARED # define PTHREAD_PROCESS_PRIVATE 0 # define PTHREAD_PROCESS_SHARED 1 #else # if !@HAVE_PTHREAD_SPINLOCK_T@ /* Approximate spinlocks with mutexes. */ # if !GNULIB_defined_pthread_spin_types typedef pthread_mutex_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # endif # if !@HAVE_PTHREAD_PROCESS_SHARED@ # define PTHREAD_PROCESS_PRIVATE 0 # define PTHREAD_PROCESS_SHARED 1 # endif #endif /* =========== Other types and macros =========== */ #if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_other_pthread_types typedef int pthread_barrier_t; typedef unsigned int pthread_barrierattr_t; # define GNULIB_defined_other_pthread_types 1 # endif #endif #if !defined PTHREAD_CANCELED # define PTHREAD_BARRIER_SERIAL_THREAD (-1) # define PTHREAD_CANCEL_DEFERRED 0 # define PTHREAD_CANCEL_ASYNCHRONOUS 1 # define PTHREAD_CANCEL_ENABLE 0 # define PTHREAD_CANCEL_DISABLE 1 # define PTHREAD_CANCELED ((void *) -1) # define PTHREAD_INHERIT_SCHED 0 # define PTHREAD_EXPLICIT_SCHED 1 # define PTHREAD_PRIO_NONE 0 # define PTHREAD_PRIO_INHERIT 1 # define PTHREAD_PRIO_PROTECT 2 # define PTHREAD_SCOPE_SYSTEM 0 # define PTHREAD_SCOPE_PROCESS 1 #endif /* =========== Thread functions =========== */ #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_CREATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_create # define pthread_create rpl_pthread_create # endif _GL_FUNCDECL_RPL (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg) _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg)); # else # if !@HAVE_PTHREAD_CREATE@ _GL_FUNCDECL_SYS (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg) _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg)); # endif _GL_CXXALIASWARN (pthread_create); #elif defined GNULIB_POSIXCHECK # undef pthread_create # if HAVE_RAW_DECL_PTHREAD_CREATE _GL_WARN_ON_USE (pthread_create, "pthread_create is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_init # define pthread_attr_init rpl_pthread_attr_init # endif _GL_FUNCDECL_RPL (pthread_attr_init, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_init, int, (pthread_attr_t *attr)); # else # if !@HAVE_PTHREAD_ATTR_INIT@ _GL_FUNCDECL_SYS (pthread_attr_init, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_init, int, (pthread_attr_t *attr)); # endif _GL_CXXALIASWARN (pthread_attr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_init # if HAVE_RAW_DECL_PTHREAD_ATTR_INIT _GL_WARN_ON_USE (pthread_attr_init, "pthread_attr_init is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_getdetachstate # define pthread_attr_getdetachstate rpl_pthread_attr_getdetachstate # endif _GL_FUNCDECL_RPL (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep)); # else # if !@HAVE_PTHREAD_ATTR_GETDETACHSTATE@ _GL_FUNCDECL_SYS (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep)); # endif _GL_CXXALIASWARN (pthread_attr_getdetachstate); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_getdetachstate # if HAVE_RAW_DECL_PTHREAD_ATTR_GETDETACHSTATE _GL_WARN_ON_USE (pthread_attr_getdetachstate, "pthread_attr_getdetachstate is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_setdetachstate # define pthread_attr_setdetachstate rpl_pthread_attr_setdetachstate # endif _GL_FUNCDECL_RPL (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate)); # else # if !@HAVE_PTHREAD_ATTR_SETDETACHSTATE@ _GL_FUNCDECL_SYS (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate)); # endif _GL_CXXALIASWARN (pthread_attr_setdetachstate); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_setdetachstate # if HAVE_RAW_DECL_PTHREAD_ATTR_SETDETACHSTATE _GL_WARN_ON_USE (pthread_attr_setdetachstate, "pthread_attr_setdetachstate is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_destroy # define pthread_attr_destroy rpl_pthread_attr_destroy # endif _GL_FUNCDECL_RPL (pthread_attr_destroy, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_destroy, int, (pthread_attr_t *attr)); # else # if !@HAVE_PTHREAD_ATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_attr_destroy, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_destroy, int, (pthread_attr_t *attr)); # endif _GL_CXXALIASWARN (pthread_attr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_destroy # if HAVE_RAW_DECL_PTHREAD_ATTR_DESTROY _GL_WARN_ON_USE (pthread_attr_destroy, "pthread_attr_destroy is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_SELF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_self # define pthread_self rpl_pthread_self # endif _GL_FUNCDECL_RPL (pthread_self, pthread_t, (void) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (pthread_self, pthread_t, (void)); # else # if !@HAVE_PTHREAD_SELF@ _GL_FUNCDECL_SYS (pthread_self, pthread_t, (void) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (pthread_self, pthread_t, (void)); # endif _GL_CXXALIASWARN (pthread_self); #elif defined GNULIB_POSIXCHECK # undef pthread_self # if HAVE_RAW_DECL_PTHREAD_SELF _GL_WARN_ON_USE (pthread_self, "pthread_self is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_EQUAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_equal # define pthread_equal rpl_pthread_equal # endif _GL_FUNCDECL_RPL (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); _GL_CXXALIAS_RPL (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # else # if !@HAVE_PTHREAD_EQUAL@ _GL_FUNCDECL_SYS (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # endif _GL_CXXALIAS_SYS (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # endif _GL_CXXALIASWARN (pthread_equal); #elif defined GNULIB_POSIXCHECK # undef pthread_equal # if HAVE_RAW_DECL_PTHREAD_EQUAL _GL_WARN_ON_USE (pthread_equal, "pthread_equal is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_DETACH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_detach # define pthread_detach rpl_pthread_detach # endif _GL_FUNCDECL_RPL (pthread_detach, int, (pthread_t thread)); _GL_CXXALIAS_RPL (pthread_detach, int, (pthread_t thread)); # else # if !@HAVE_PTHREAD_DETACH@ _GL_FUNCDECL_SYS (pthread_detach, int, (pthread_t thread)); # endif _GL_CXXALIAS_SYS (pthread_detach, int, (pthread_t thread)); # endif _GL_CXXALIASWARN (pthread_detach); #elif defined GNULIB_POSIXCHECK # undef pthread_detach # if HAVE_RAW_DECL_PTHREAD_DETACH _GL_WARN_ON_USE (pthread_detach, "pthread_detach is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_JOIN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_join # define pthread_join rpl_pthread_join # endif _GL_FUNCDECL_RPL (pthread_join, int, (pthread_t thread, void **valuep)); _GL_CXXALIAS_RPL (pthread_join, int, (pthread_t thread, void **valuep)); # else # if !@HAVE_PTHREAD_JOIN@ _GL_FUNCDECL_SYS (pthread_join, int, (pthread_t thread, void **valuep)); # endif _GL_CXXALIAS_SYS (pthread_join, int, (pthread_t thread, void **valuep)); # endif _GL_CXXALIASWARN (pthread_join); #elif defined GNULIB_POSIXCHECK # undef pthread_join # if HAVE_RAW_DECL_PTHREAD_JOIN _GL_WARN_ON_USE (pthread_join, "pthread_join is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_EXIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_exit # define pthread_exit rpl_pthread_exit # endif _GL_FUNCDECL_RPL (pthread_exit, _Noreturn void, (void *value)); _GL_CXXALIAS_RPL (pthread_exit, _Noreturn void, (void *value)); # else # if !@HAVE_PTHREAD_EXIT@ _GL_FUNCDECL_SYS (pthread_exit, _Noreturn void, (void *value)); # endif _GL_CXXALIAS_SYS (pthread_exit, _Noreturn void, (void *value)); # endif _GL_CXXALIASWARN (pthread_exit); #elif defined GNULIB_POSIXCHECK # undef pthread_exit # if HAVE_RAW_DECL_PTHREAD_EXIT _GL_WARN_ON_USE (pthread_exit, "pthread_exit is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif /* =========== Once-only control (initialization) functions =========== */ #if @GNULIB_PTHREAD_ONCE@ # if @REPLACE_PTHREAD_ONCE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_once # define pthread_once rpl_pthread_once # endif _GL_FUNCDECL_RPL (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void)) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void))); # else # if !@HAVE_PTHREAD_ONCE@ _GL_FUNCDECL_SYS (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void)) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void))); # endif _GL_CXXALIASWARN (pthread_once); #elif defined GNULIB_POSIXCHECK # undef pthread_once # if HAVE_RAW_DECL_PTHREAD_ONCE _GL_WARN_ON_USE (pthread_once, "pthread_once is not portable - " "use gnulib module pthread-once for portability"); # endif #endif /* =========== Mutex functions =========== */ #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_init # define pthread_mutex_init rpl_pthread_mutex_init # endif _GL_FUNCDECL_RPL (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEX_INIT@ _GL_FUNCDECL_SYS (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_mutex_init); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_init # if HAVE_RAW_DECL_PTHREAD_MUTEX_INIT _GL_WARN_ON_USE (pthread_mutex_init, "pthread_mutex_init is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_init # define pthread_mutexattr_init rpl_pthread_mutexattr_init # endif _GL_FUNCDECL_RPL (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEXATTR_INIT@ _GL_FUNCDECL_SYS (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_mutexattr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_init # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_INIT _GL_WARN_ON_USE (pthread_mutexattr_init, "pthread_mutexattr_init is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_gettype # define pthread_mutexattr_gettype rpl_pthread_mutexattr_gettype # endif _GL_FUNCDECL_RPL (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep)); # else # if !@HAVE_PTHREAD_MUTEXATTR_GETTYPE@ _GL_FUNCDECL_SYS (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep)); # endif _GL_CXXALIASWARN (pthread_mutexattr_gettype); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_gettype # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_GETTYPE _GL_WARN_ON_USE (pthread_mutexattr_gettype, "pthread_mutexattr_gettype is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_settype # define pthread_mutexattr_settype rpl_pthread_mutexattr_settype # endif _GL_FUNCDECL_RPL (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type)); # else # if !@HAVE_PTHREAD_MUTEXATTR_SETTYPE@ _GL_FUNCDECL_SYS (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type)); # endif _GL_CXXALIASWARN (pthread_mutexattr_settype); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_settype # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_SETTYPE _GL_WARN_ON_USE (pthread_mutexattr_settype, "pthread_mutexattr_settype is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_getrobust # define pthread_mutexattr_getrobust rpl_pthread_mutexattr_getrobust # endif _GL_FUNCDECL_RPL (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp)); # else # if !@HAVE_PTHREAD_MUTEXATTR_GETROBUST@ _GL_FUNCDECL_SYS (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp)); # endif _GL_CXXALIASWARN (pthread_mutexattr_getrobust); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_getrobust # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_GETROBUST _GL_WARN_ON_USE (pthread_mutexattr_getrobust, "pthread_mutexattr_getrobust is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_setrobust # define pthread_mutexattr_setrobust rpl_pthread_mutexattr_setrobust # endif _GL_FUNCDECL_RPL (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust)); # else # if !@HAVE_PTHREAD_MUTEXATTR_SETROBUST@ _GL_FUNCDECL_SYS (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust)); # endif _GL_CXXALIASWARN (pthread_mutexattr_setrobust); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_setrobust # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_SETROBUST _GL_WARN_ON_USE (pthread_mutexattr_setrobust, "pthread_mutexattr_setrobust is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_destroy # define pthread_mutexattr_destroy rpl_pthread_mutexattr_destroy # endif _GL_FUNCDECL_RPL (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEXATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_mutexattr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_destroy # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_DESTROY _GL_WARN_ON_USE (pthread_mutexattr_destroy, "pthread_mutexattr_destroy is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_LOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_lock # define pthread_mutex_lock rpl_pthread_mutex_lock # endif _GL_FUNCDECL_RPL (pthread_mutex_lock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_lock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_LOCK@ _GL_FUNCDECL_SYS (pthread_mutex_lock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_lock, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_lock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_lock # if HAVE_RAW_DECL_PTHREAD_MUTEX_LOCK _GL_WARN_ON_USE (pthread_mutex_lock, "pthread_mutex_lock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_TRYLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_trylock # define pthread_mutex_trylock rpl_pthread_mutex_trylock # endif _GL_FUNCDECL_RPL (pthread_mutex_trylock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_trylock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_TRYLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_trylock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_trylock, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_trylock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_trylock # if HAVE_RAW_DECL_PTHREAD_MUTEX_TRYLOCK _GL_WARN_ON_USE (pthread_mutex_trylock, "pthread_mutex_trylock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ # if @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_timedlock # define pthread_mutex_timedlock rpl_pthread_mutex_timedlock # endif _GL_FUNCDECL_RPL (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_MUTEX_TIMEDLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_mutex_timedlock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_timedlock # if HAVE_RAW_DECL_PTHREAD_MUTEX_TIMEDLOCK _GL_WARN_ON_USE (pthread_mutex_timedlock, "pthread_mutex_timedlock is not portable - " "use gnulib module pthread_mutex_timedlock for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_unlock # define pthread_mutex_unlock rpl_pthread_mutex_unlock # endif _GL_FUNCDECL_RPL (pthread_mutex_unlock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_unlock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_UNLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_unlock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_unlock, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_unlock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_unlock # if HAVE_RAW_DECL_PTHREAD_MUTEX_UNLOCK _GL_WARN_ON_USE (pthread_mutex_unlock, "pthread_mutex_unlock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_destroy # define pthread_mutex_destroy rpl_pthread_mutex_destroy # endif _GL_FUNCDECL_RPL (pthread_mutex_destroy, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_destroy, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_DESTROY@ _GL_FUNCDECL_SYS (pthread_mutex_destroy, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_destroy, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_destroy # if HAVE_RAW_DECL_PTHREAD_MUTEX_DESTROY _GL_WARN_ON_USE (pthread_mutex_destroy, "pthread_mutex_destroy is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif /* =========== Read-write lock functions =========== */ #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_init # define pthread_rwlock_init rpl_pthread_rwlock_init # endif _GL_FUNCDECL_RPL (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCK_INIT@ _GL_FUNCDECL_SYS (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_rwlock_init); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_init # if HAVE_RAW_DECL_PTHREAD_RWLOCK_INIT _GL_WARN_ON_USE (pthread_rwlock_init, "pthread_rwlock_init is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCKATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlockattr_init # define pthread_rwlockattr_init rpl_pthread_rwlockattr_init # endif _GL_FUNCDECL_RPL (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCKATTR_INIT@ _GL_FUNCDECL_SYS (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_rwlockattr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlockattr_init # if HAVE_RAW_DECL_PTHREAD_RWLOCKATTR_INIT _GL_WARN_ON_USE (pthread_rwlockattr_init, "pthread_rwlockattr_init is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlockattr_destroy # define pthread_rwlockattr_destroy rpl_pthread_rwlockattr_destroy # endif _GL_FUNCDECL_RPL (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCKATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_rwlockattr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlockattr_destroy # if HAVE_RAW_DECL_PTHREAD_RWLOCKATTR_DESTROY _GL_WARN_ON_USE (pthread_rwlockattr_destroy, "pthread_rwlockattr_destroy is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_RDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_rdlock # define pthread_rwlock_rdlock rpl_pthread_rwlock_rdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_RDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_rdlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_rdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_RDLOCK _GL_WARN_ON_USE (pthread_rwlock_rdlock, "pthread_rwlock_rdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_WRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_wrlock # define pthread_rwlock_wrlock rpl_pthread_rwlock_wrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_WRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_wrlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_wrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_WRLOCK _GL_WARN_ON_USE (pthread_rwlock_wrlock, "pthread_rwlock_wrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_tryrdlock # define pthread_rwlock_tryrdlock rpl_pthread_rwlock_tryrdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_tryrdlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_tryrdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TRYRDLOCK _GL_WARN_ON_USE (pthread_rwlock_tryrdlock, "pthread_rwlock_tryrdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_trywrlock # define pthread_rwlock_trywrlock rpl_pthread_rwlock_trywrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_trywrlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_trywrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TRYWRLOCK _GL_WARN_ON_USE (pthread_rwlock_trywrlock, "pthread_rwlock_trywrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_timedrdlock # define pthread_rwlock_timedrdlock rpl_pthread_rwlock_timedrdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_rwlock_timedrdlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_timedrdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TIMEDRDLOCK _GL_WARN_ON_USE (pthread_rwlock_timedrdlock, "pthread_rwlock_timedrdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_timedwrlock # define pthread_rwlock_timedwrlock rpl_pthread_rwlock_timedwrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_rwlock_timedwrlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_timedwrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TIMEDWRLOCK _GL_WARN_ON_USE (pthread_rwlock_timedwrlock, "pthread_rwlock_timedwrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_unlock # define pthread_rwlock_unlock rpl_pthread_rwlock_unlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_UNLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_unlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_unlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_UNLOCK _GL_WARN_ON_USE (pthread_rwlock_unlock, "pthread_rwlock_unlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_destroy # define pthread_rwlock_destroy rpl_pthread_rwlock_destroy # endif _GL_FUNCDECL_RPL (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_DESTROY@ _GL_FUNCDECL_SYS (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_destroy # if HAVE_RAW_DECL_PTHREAD_RWLOCK_DESTROY _GL_WARN_ON_USE (pthread_rwlock_destroy, "pthread_rwlock_destroy is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif /* =========== Condition variable functions =========== */ #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_init # define pthread_cond_init rpl_pthread_cond_init # endif _GL_FUNCDECL_RPL (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_COND_INIT@ _GL_FUNCDECL_SYS (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_cond_init); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_init # if HAVE_RAW_DECL_PTHREAD_COND_INIT _GL_WARN_ON_USE (pthread_cond_init, "pthread_cond_init is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_CONDATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_condattr_init # define pthread_condattr_init rpl_pthread_condattr_init # endif _GL_FUNCDECL_RPL (pthread_condattr_init, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_condattr_init, int, (pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_CONDATTR_INIT@ _GL_FUNCDECL_SYS (pthread_condattr_init, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_condattr_init, int, (pthread_condattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_condattr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_condattr_init # if HAVE_RAW_DECL_PTHREAD_CONDATTR_INIT _GL_WARN_ON_USE (pthread_condattr_init, "pthread_condattr_init is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_CONDATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_condattr_destroy # define pthread_condattr_destroy rpl_pthread_condattr_destroy # endif _GL_FUNCDECL_RPL (pthread_condattr_destroy, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_condattr_destroy, int, (pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_CONDATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_condattr_destroy, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_condattr_destroy, int, (pthread_condattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_condattr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_condattr_destroy # if HAVE_RAW_DECL_PTHREAD_CONDATTR_DESTROY _GL_WARN_ON_USE (pthread_condattr_destroy, "pthread_condattr_destroy is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_WAIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_wait # define pthread_cond_wait rpl_pthread_cond_wait # endif _GL_FUNCDECL_RPL (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_COND_WAIT@ _GL_FUNCDECL_SYS (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_cond_wait); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_wait # if HAVE_RAW_DECL_PTHREAD_COND_WAIT _GL_WARN_ON_USE (pthread_cond_wait, "pthread_cond_wait is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_TIMEDWAIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_timedwait # define pthread_cond_timedwait rpl_pthread_cond_timedwait # endif _GL_FUNCDECL_RPL (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2, 3))); _GL_CXXALIAS_RPL (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_COND_TIMEDWAIT@ _GL_FUNCDECL_SYS (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_cond_timedwait); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_timedwait # if HAVE_RAW_DECL_PTHREAD_COND_TIMEDWAIT _GL_WARN_ON_USE (pthread_cond_timedwait, "pthread_cond_timedwait is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_SIGNAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_signal # define pthread_cond_signal rpl_pthread_cond_signal # endif _GL_FUNCDECL_RPL (pthread_cond_signal, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_signal, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_SIGNAL@ _GL_FUNCDECL_SYS (pthread_cond_signal, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_signal, int, (pthread_cond_t *cond)); # endif _GL_CXXALIASWARN (pthread_cond_signal); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_signal # if HAVE_RAW_DECL_PTHREAD_COND_SIGNAL _GL_WARN_ON_USE (pthread_cond_signal, "pthread_cond_signal is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_BROADCAST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_broadcast # define pthread_cond_broadcast rpl_pthread_cond_broadcast # endif _GL_FUNCDECL_RPL (pthread_cond_broadcast, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_broadcast, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_BROADCAST@ _GL_FUNCDECL_SYS (pthread_cond_broadcast, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_broadcast, int, (pthread_cond_t *cond)); # endif _GL_CXXALIASWARN (pthread_cond_broadcast); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_broadcast # if HAVE_RAW_DECL_PTHREAD_COND_BROADCAST _GL_WARN_ON_USE (pthread_cond_broadcast, "pthread_cond_broadcast is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_destroy # define pthread_cond_destroy rpl_pthread_cond_destroy # endif _GL_FUNCDECL_RPL (pthread_cond_destroy, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_destroy, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_DESTROY@ _GL_FUNCDECL_SYS (pthread_cond_destroy, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_destroy, int, (pthread_cond_t *cond)); # endif _GL_CXXALIASWARN (pthread_cond_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_destroy # if HAVE_RAW_DECL_PTHREAD_COND_DESTROY _GL_WARN_ON_USE (pthread_cond_destroy, "pthread_cond_destroy is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif /* =========== Thread-specific storage functions =========== */ #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_KEY_CREATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_key_create # define pthread_key_create rpl_pthread_key_create # endif _GL_FUNCDECL_RPL (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *)) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *))); # else # if !@HAVE_PTHREAD_KEY_CREATE@ _GL_FUNCDECL_SYS (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *)) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *))); # endif _GL_CXXALIASWARN (pthread_key_create); #elif defined GNULIB_POSIXCHECK # undef pthread_key_create # if HAVE_RAW_DECL_PTHREAD_KEY_CREATE _GL_WARN_ON_USE (pthread_key_create, "pthread_key_create is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_SETSPECIFIC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_setspecific # define pthread_setspecific rpl_pthread_setspecific # endif _GL_FUNCDECL_RPL (pthread_setspecific, int, (pthread_key_t key, const void *value)); _GL_CXXALIAS_RPL (pthread_setspecific, int, (pthread_key_t key, const void *value)); # else # if !@HAVE_PTHREAD_SETSPECIFIC@ _GL_FUNCDECL_SYS (pthread_setspecific, int, (pthread_key_t key, const void *value)); # endif _GL_CXXALIAS_SYS (pthread_setspecific, int, (pthread_key_t key, const void *value)); # endif _GL_CXXALIASWARN (pthread_setspecific); #elif defined GNULIB_POSIXCHECK # undef pthread_setspecific # if HAVE_RAW_DECL_PTHREAD_SETSPECIFIC _GL_WARN_ON_USE (pthread_setspecific, "pthread_setspecific is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_GETSPECIFIC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_getspecific # define pthread_getspecific rpl_pthread_getspecific # endif _GL_FUNCDECL_RPL (pthread_getspecific, void *, (pthread_key_t key)); _GL_CXXALIAS_RPL (pthread_getspecific, void *, (pthread_key_t key)); # else # if !@HAVE_PTHREAD_GETSPECIFIC@ _GL_FUNCDECL_SYS (pthread_getspecific, void *, (pthread_key_t key)); # endif _GL_CXXALIAS_SYS (pthread_getspecific, void *, (pthread_key_t key)); # endif _GL_CXXALIASWARN (pthread_getspecific); #elif defined GNULIB_POSIXCHECK # undef pthread_getspecific # if HAVE_RAW_DECL_PTHREAD_GETSPECIFIC _GL_WARN_ON_USE (pthread_getspecific, "pthread_getspecific is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_KEY_DELETE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_key_delete # define pthread_key_delete rpl_pthread_key_delete # endif _GL_FUNCDECL_RPL (pthread_key_delete, int, (pthread_key_t key)); _GL_CXXALIAS_RPL (pthread_key_delete, int, (pthread_key_t key)); # else # if !@HAVE_PTHREAD_KEY_DELETE@ _GL_FUNCDECL_SYS (pthread_key_delete, int, (pthread_key_t key)); # endif _GL_CXXALIAS_SYS (pthread_key_delete, int, (pthread_key_t key)); # endif _GL_CXXALIASWARN (pthread_key_delete); #elif defined GNULIB_POSIXCHECK # undef pthread_key_delete # if HAVE_RAW_DECL_PTHREAD_KEY_DELETE _GL_WARN_ON_USE (pthread_key_delete, "pthread_key_delete is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif /* =========== Spinlock functions =========== */ #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_init # define pthread_spin_init rpl_pthread_spin_init # endif _GL_FUNCDECL_RPL (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes)); # else # if !@HAVE_PTHREAD_SPIN_INIT@ _GL_FUNCDECL_SYS (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes)); # endif _GL_CXXALIASWARN (pthread_spin_init); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_init # if HAVE_RAW_DECL_PTHREAD_SPIN_INIT _GL_WARN_ON_USE (pthread_spin_init, "pthread_spin_init is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_LOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_lock # define pthread_spin_lock rpl_pthread_spin_lock # endif _GL_FUNCDECL_RPL (pthread_spin_lock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_lock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_LOCK@ _GL_FUNCDECL_SYS (pthread_spin_lock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_lock, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_lock); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_lock # if HAVE_RAW_DECL_PTHREAD_SPIN_LOCK _GL_WARN_ON_USE (pthread_spin_lock, "pthread_spin_lock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_TRYLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_trylock # define pthread_spin_trylock rpl_pthread_spin_trylock # endif _GL_FUNCDECL_RPL (pthread_spin_trylock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_trylock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_TRYLOCK@ _GL_FUNCDECL_SYS (pthread_spin_trylock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_trylock, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_trylock); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_trylock # if HAVE_RAW_DECL_PTHREAD_SPIN_TRYLOCK _GL_WARN_ON_USE (pthread_spin_trylock, "pthread_spin_trylock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_unlock # define pthread_spin_unlock rpl_pthread_spin_unlock # endif _GL_FUNCDECL_RPL (pthread_spin_unlock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_unlock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_UNLOCK@ _GL_FUNCDECL_SYS (pthread_spin_unlock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_unlock, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_unlock); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_unlock # if HAVE_RAW_DECL_PTHREAD_SPIN_UNLOCK _GL_WARN_ON_USE (pthread_spin_unlock, "pthread_spin_unlock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_destroy # define pthread_spin_destroy rpl_pthread_spin_destroy # endif _GL_FUNCDECL_RPL (pthread_spin_destroy, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_destroy, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_DESTROY@ _GL_FUNCDECL_SYS (pthread_spin_destroy, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_destroy, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_destroy # if HAVE_RAW_DECL_PTHREAD_SPIN_DESTROY _GL_WARN_ON_USE (pthread_spin_destroy, "pthread_spin_destroy is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_PTHREAD_H_ */ #endif /* _@GUARD_PREFIX@_PTHREAD_H_ */ #endif gsasl-1.8.1/gltests/langinfo.in.h0000644000000000000000000001506113516251577013600 00000000000000/* Substitute for and wrapper around . Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* * POSIX for platforms that lack it or have an incomplete one. * */ #ifndef _@GUARD_PREFIX@_LANGINFO_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_LANGINFO_H@ # @INCLUDE_NEXT@ @NEXT_LANGINFO_H@ #endif #ifndef _@GUARD_PREFIX@_LANGINFO_H #define _@GUARD_PREFIX@_LANGINFO_H #if !@HAVE_LANGINFO_H@ /* A platform that lacks . */ /* Assume that it also lacks and the nl_item type. */ # if !GNULIB_defined_nl_item typedef int nl_item; # define GNULIB_defined_nl_item 1 # endif /* nl_langinfo items of the LC_CTYPE category */ # define CODESET 10000 /* nl_langinfo items of the LC_NUMERIC category */ # define RADIXCHAR 10001 # define DECIMAL_POINT RADIXCHAR # define THOUSEP 10002 # define THOUSANDS_SEP THOUSEP # define GROUPING 10114 /* nl_langinfo items of the LC_TIME category */ # define D_T_FMT 10003 # define D_FMT 10004 # define T_FMT 10005 # define T_FMT_AMPM 10006 # define AM_STR 10007 # define PM_STR 10008 # define DAY_1 10009 # define DAY_2 (DAY_1 + 1) # define DAY_3 (DAY_1 + 2) # define DAY_4 (DAY_1 + 3) # define DAY_5 (DAY_1 + 4) # define DAY_6 (DAY_1 + 5) # define DAY_7 (DAY_1 + 6) # define ABDAY_1 10016 # define ABDAY_2 (ABDAY_1 + 1) # define ABDAY_3 (ABDAY_1 + 2) # define ABDAY_4 (ABDAY_1 + 3) # define ABDAY_5 (ABDAY_1 + 4) # define ABDAY_6 (ABDAY_1 + 5) # define ABDAY_7 (ABDAY_1 + 6) # define MON_1 10023 # define MON_2 (MON_1 + 1) # define MON_3 (MON_1 + 2) # define MON_4 (MON_1 + 3) # define MON_5 (MON_1 + 4) # define MON_6 (MON_1 + 5) # define MON_7 (MON_1 + 6) # define MON_8 (MON_1 + 7) # define MON_9 (MON_1 + 8) # define MON_10 (MON_1 + 9) # define MON_11 (MON_1 + 10) # define MON_12 (MON_1 + 11) # define ALTMON_1 10200 # define ALTMON_2 (ALTMON_1 + 1) # define ALTMON_3 (ALTMON_1 + 2) # define ALTMON_4 (ALTMON_1 + 3) # define ALTMON_5 (ALTMON_1 + 4) # define ALTMON_6 (ALTMON_1 + 5) # define ALTMON_7 (ALTMON_1 + 6) # define ALTMON_8 (ALTMON_1 + 7) # define ALTMON_9 (ALTMON_1 + 8) # define ALTMON_10 (ALTMON_1 + 9) # define ALTMON_11 (ALTMON_1 + 10) # define ALTMON_12 (ALTMON_1 + 11) # define ABMON_1 10035 # define ABMON_2 (ABMON_1 + 1) # define ABMON_3 (ABMON_1 + 2) # define ABMON_4 (ABMON_1 + 3) # define ABMON_5 (ABMON_1 + 4) # define ABMON_6 (ABMON_1 + 5) # define ABMON_7 (ABMON_1 + 6) # define ABMON_8 (ABMON_1 + 7) # define ABMON_9 (ABMON_1 + 8) # define ABMON_10 (ABMON_1 + 9) # define ABMON_11 (ABMON_1 + 10) # define ABMON_12 (ABMON_1 + 11) # define ERA 10047 # define ERA_D_FMT 10048 # define ERA_D_T_FMT 10049 # define ERA_T_FMT 10050 # define ALT_DIGITS 10051 /* nl_langinfo items of the LC_MONETARY category */ # define CRNCYSTR 10052 # define CURRENCY_SYMBOL CRNCYSTR # define INT_CURR_SYMBOL 10100 # define MON_DECIMAL_POINT 10101 # define MON_THOUSANDS_SEP 10102 # define MON_GROUPING 10103 # define POSITIVE_SIGN 10104 # define NEGATIVE_SIGN 10105 # define FRAC_DIGITS 10106 # define INT_FRAC_DIGITS 10107 # define P_CS_PRECEDES 10108 # define N_CS_PRECEDES 10109 # define P_SEP_BY_SPACE 10110 # define N_SEP_BY_SPACE 10111 # define P_SIGN_POSN 10112 # define N_SIGN_POSN 10113 /* nl_langinfo items of the LC_MESSAGES category */ # define YESEXPR 10053 # define NOEXPR 10054 #else /* A platform that has . */ # if !@HAVE_LANGINFO_CODESET@ # define CODESET 10000 # define GNULIB_defined_CODESET 1 # endif # if !@HAVE_LANGINFO_T_FMT_AMPM@ # define T_FMT_AMPM 10006 # define GNULIB_defined_T_FMT_AMPM 1 # endif # if !@HAVE_LANGINFO_ALTMON@ # define ALTMON_1 10200 # define ALTMON_2 (ALTMON_1 + 1) # define ALTMON_3 (ALTMON_1 + 2) # define ALTMON_4 (ALTMON_1 + 3) # define ALTMON_5 (ALTMON_1 + 4) # define ALTMON_6 (ALTMON_1 + 5) # define ALTMON_7 (ALTMON_1 + 6) # define ALTMON_8 (ALTMON_1 + 7) # define ALTMON_9 (ALTMON_1 + 8) # define ALTMON_10 (ALTMON_1 + 9) # define ALTMON_11 (ALTMON_1 + 10) # define ALTMON_12 (ALTMON_1 + 11) # define GNULIB_defined_ALTMON 1 # endif # if !@HAVE_LANGINFO_ERA@ # define ERA 10047 # define ERA_D_FMT 10048 # define ERA_D_T_FMT 10049 # define ERA_T_FMT 10050 # define ALT_DIGITS 10051 # define GNULIB_defined_ERA 1 # endif # if !@HAVE_LANGINFO_YESEXPR@ # define YESEXPR 10053 # define NOEXPR 10054 # define GNULIB_defined_YESEXPR 1 # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declare overridden functions. */ /* Return a piece of locale dependent information. Note: The difference between nl_langinfo (CODESET) and locale_charset () is that the latter normalizes the encoding names to GNU conventions. */ #if @GNULIB_NL_LANGINFO@ # if @REPLACE_NL_LANGINFO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef nl_langinfo # define nl_langinfo rpl_nl_langinfo # endif _GL_FUNCDECL_RPL (nl_langinfo, char *, (nl_item item)); _GL_CXXALIAS_RPL (nl_langinfo, char *, (nl_item item)); # else # if !@HAVE_NL_LANGINFO@ _GL_FUNCDECL_SYS (nl_langinfo, char *, (nl_item item)); # endif _GL_CXXALIAS_SYS (nl_langinfo, char *, (nl_item item)); # endif _GL_CXXALIASWARN (nl_langinfo); #elif defined GNULIB_POSIXCHECK # undef nl_langinfo # if HAVE_RAW_DECL_NL_LANGINFO _GL_WARN_ON_USE (nl_langinfo, "nl_langinfo is not portable - " "use gnulib module nl_langinfo for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_LANGINFO_H */ #endif /* _@GUARD_PREFIX@_LANGINFO_H */ gsasl-1.8.1/gltests/test-mbrtowc.c0000644000000000000000000002605113521000444014001 00000000000000/* Test of conversion of multibyte character to wide character. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (mbrtowc, size_t, (wchar_t *, char const *, size_t, mbstate_t *)); #include #include #include #include "macros.h" int main (int argc, char *argv[]) { mbstate_t state; wchar_t wc; size_t ret; /* configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) return 1; /* Test zero-length input. */ { memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "x", 0, &state); ASSERT (ret == (size_t)(-2)); ASSERT (mbsinit (&state)); } /* Test NUL byte input. */ { memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, "", 1, &state); ASSERT (ret == 0); ASSERT (wc == 0); ASSERT (mbsinit (&state)); ret = mbrtowc (NULL, "", 1, &state); ASSERT (ret == 0); ASSERT (mbsinit (&state)); } /* Test single-byte input. */ { int c; char buf[1]; memset (&state, '\0', sizeof (mbstate_t)); for (c = 0; c < 0x100; c++) switch (c) { default: if (! (c && 1 < argc && argv[1][0] == '5')) break; FALLTHROUGH; case '\t': case '\v': case '\f': case ' ': case '!': case '"': case '#': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case ';': case '<': case '=': case '>': case '?': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '[': case '\\': case ']': case '^': case '_': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case '{': case '|': case '}': case '~': /* c is in the ISO C "basic character set", or argv[1] starts with '5' so we are testing all nonnull bytes. */ buf[0] = c; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, buf, 1, &state); ASSERT (ret == 1); if (c < 0x80) /* c is an ASCII character. */ ASSERT (wc == c); else /* argv[1] starts with '5', that is, we are testing the C or POSIX locale. On most platforms, the bytes 0x80..0xFF map to U+0080..U+00FF. But on musl libc, the bytes 0x80..0xFF map to U+DF80..U+DFFF. */ ASSERT (wc == (btowc (c) == WEOF ? c : btowc (c))); ASSERT (mbsinit (&state)); ret = mbrtowc (NULL, buf, 1, &state); ASSERT (ret == 1); ASSERT (mbsinit (&state)); break; } } /* Test special calling convention, passing a NULL pointer. */ { memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, NULL, 5, &state); ASSERT (ret == 0); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (mbsinit (&state)); } if (argc > 1) switch (argv[1][0]) { case '1': /* Locale encoding is ISO-8859-1 or ISO-8859-15. */ { char input[] = "B\374\337er"; /* "Büßer" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'B'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 1, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == (unsigned char) '\374'); ASSERT (mbsinit (&state)); input[1] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 2, 3, &state); ASSERT (ret == 1); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 2, 3, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == (unsigned char) '\337'); ASSERT (mbsinit (&state)); input[2] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 2, &state); ASSERT (ret == 1); ASSERT (wc == 'e'); ASSERT (mbsinit (&state)); input[3] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 4, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'r'); ASSERT (mbsinit (&state)); } return 0; case '2': /* Locale encoding is UTF-8. */ { char input[] = "B\303\274\303\237er"; /* "Büßer" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'B'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[1] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 2, 5, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (mbsinit (&state)); input[2] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 3, 4, &state); ASSERT (ret == 2); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 4, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (mbsinit (&state)); input[3] = '\0'; input[4] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 5, 2, &state); ASSERT (ret == 1); ASSERT (wc == 'e'); ASSERT (mbsinit (&state)); input[5] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 6, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'r'); ASSERT (mbsinit (&state)); } return 0; case '3': /* Locale encoding is EUC-JP. */ { char input[] = "<\306\374\313\334\270\354>"; /* "<日本語>" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == '<'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 2, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (mbsinit (&state)); input[1] = '\0'; input[2] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[3] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 4, 4, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (mbsinit (&state)); input[4] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 5, 3, &state); ASSERT (ret == 2); ASSERT (wctob (wc) == EOF); ASSERT (mbsinit (&state)); input[5] = '\0'; input[6] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 7, 1, &state); ASSERT (ret == 1); ASSERT (wc == '>'); ASSERT (mbsinit (&state)); } return 0; case '4': /* Locale encoding is GB18030. */ { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'B'); ASSERT (mbsinit (&state)); input[0] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 1, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (wc == (wchar_t) 0xBADFACE); ASSERT (!mbsinit (&state)); input[1] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 2, 7, &state); ASSERT (ret == 1); ASSERT (wctob (wc) == EOF); ASSERT (mbsinit (&state)); input[2] = '\0'; /* Test support of NULL first argument. */ ret = mbrtowc (NULL, input + 3, 6, &state); ASSERT (ret == 4); ASSERT (mbsinit (&state)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 3, 6, &state); ASSERT (ret == 4); ASSERT (wctob (wc) == EOF); ASSERT (mbsinit (&state)); input[3] = '\0'; input[4] = '\0'; input[5] = '\0'; input[6] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 7, 2, &state); ASSERT (ret == 1); ASSERT (wc == 'e'); ASSERT (mbsinit (&state)); input[5] = '\0'; wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input + 8, 1, &state); ASSERT (ret == 1); ASSERT (wc == 'r'); ASSERT (mbsinit (&state)); } return 0; case '5': /* C locale; tested above. */ return 0; } return 1; } gsasl-1.8.1/gltests/test-fseeko3.c0000644000000000000000000000240513516251600013666 00000000000000/* Test of fseeko() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2011. */ #include #include #include #include "macros.h" int main (int argc, char **argv) { int do_initial_ftell = atoi (argv[1]); const char *filename = argv[2]; FILE *fp = fopen (filename, "r"); ASSERT (fp != NULL); if (do_initial_ftell) { off_t pos = ftell (fp); ASSERT (pos == 0); } ASSERT (fseeko (fp, 0, SEEK_END) == 0); { off_t pos = ftell (fp); ASSERT (pos > 0); } ASSERT (fclose (fp) == 0); return 0; } gsasl-1.8.1/gltests/test-nanosleep.c0000644000000000000000000000426313516251574014331 00000000000000/* Test of nanosleep() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timespec *)); #include #include #include #include "macros.h" #if HAVE_DECL_ALARM static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main (void) { struct timespec ts; ts.tv_sec = 1000; ts.tv_nsec = -1; errno = 0; ASSERT (nanosleep (&ts, NULL) == -1); ASSERT (errno == EINVAL); ts.tv_nsec = 1000000000; errno = 0; ASSERT (nanosleep (&ts, NULL) == -1); ASSERT (errno == EINVAL); ts.tv_sec = 0; ts.tv_nsec = 1; ASSERT (nanosleep (&ts, &ts) == 0); /* Remaining time is only defined on EINTR failure; but on success, it is typically either 0 or unchanged from input. At any rate, it shouldn't be randomly changed to unrelated values. */ ASSERT (ts.tv_sec == 0); ASSERT (ts.tv_nsec == 0 || ts.tv_nsec == 1); ts.tv_nsec = 0; ASSERT (nanosleep (&ts, NULL) == 0); #if HAVE_DECL_ALARM { const time_t pentecost = 50 * 24 * 60 * 60; /* 50 days. */ signal (SIGALRM, handle_alarm); alarm (1); ts.tv_sec = pentecost; ts.tv_nsec = 999999999; errno = 0; ASSERT (nanosleep (&ts, &ts) == -1); ASSERT (errno == EINTR); ASSERT (pentecost - 10 < ts.tv_sec && ts.tv_sec <= pentecost); ASSERT (0 <= ts.tv_nsec && ts.tv_nsec <= 999999999); } #endif return 0; } gsasl-1.8.1/gltests/windows-thread.c0000644000000000000000000001507013516251574014325 00000000000000/* Creating and controlling threads (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-thread.h" #include #include #include #include "windows-once.h" #include "windows-tls.h" /* The Thread-Local Storage (TLS) key that allows to access each thread's 'struct glwthread_thread_struct *' pointer. */ static DWORD self_key = (DWORD)-1; /* Initializes self_key. This function must only be called once. */ static void do_init_self_key (void) { self_key = TlsAlloc (); /* If this fails, we're hosed. */ if (self_key == (DWORD)-1) abort (); } /* Initializes self_key. */ static void init_self_key (void) { static glwthread_once_t once = GLWTHREAD_ONCE_INIT; glwthread_once (&once, do_init_self_key); } /* This structure contains information about a thread. It is stored in TLS under key self_key. */ struct glwthread_thread_struct { /* Fields for managing the handle. */ HANDLE volatile handle; CRITICAL_SECTION handle_lock; /* Fields for managing the exit value. */ BOOL volatile detached; void * volatile result; /* Fields for managing the thread start. */ void * (*func) (void *); void *arg; }; /* Return a real HANDLE object for the current thread. */ static HANDLE get_current_thread_handle (void) { HANDLE this_handle; /* GetCurrentThread() returns a pseudo-handle, i.e. only a symbolic identifier, not a real handle. */ if (!DuplicateHandle (GetCurrentProcess (), GetCurrentThread (), GetCurrentProcess (), &this_handle, 0, FALSE, DUPLICATE_SAME_ACCESS)) abort (); return this_handle; } glwthread_thread_t glwthread_thread_self (void) { glwthread_thread_t thread; if (self_key == (DWORD)-1) init_self_key (); thread = TlsGetValue (self_key); if (thread == NULL) { /* This happens only in threads that have not been created through glthread_create(), such as the main thread. */ for (;;) { thread = (struct glwthread_thread_struct *) malloc (sizeof (struct glwthread_thread_struct)); if (thread != NULL) break; /* Memory allocation failed. There is not much we can do. Have to busy-loop, waiting for the availability of memory. */ Sleep (1); } thread->handle = get_current_thread_handle (); InitializeCriticalSection (&thread->handle_lock); thread->detached = FALSE; /* This can lead to a memory leak. */ thread->result = NULL; /* just to be deterministic */ TlsSetValue (self_key, thread); } return thread; } /* The main function of a freshly creating thread. It's a wrapper around the FUNC and ARG arguments passed to glthread_create_func. */ static unsigned int WINAPI wrapper_func (void *varg) { struct glwthread_thread_struct *thread = (struct glwthread_thread_struct *) varg; EnterCriticalSection (&thread->handle_lock); /* Create a new handle for the thread only if the parent thread did not yet fill in the handle. */ if (thread->handle == NULL) thread->handle = get_current_thread_handle (); LeaveCriticalSection (&thread->handle_lock); if (self_key == (DWORD)-1) init_self_key (); TlsSetValue (self_key, thread); /* Run the thread. Store the exit value if the thread was not terminated otherwise. */ thread->result = thread->func (thread->arg); /* Process the TLS destructors. */ glwthread_tls_process_destructors (); if (thread->detached) { /* Clean up the thread, like thrd_join would do. */ DeleteCriticalSection (&thread->handle_lock); CloseHandle (thread->handle); free (thread); } return 0; } int glwthread_thread_create (glwthread_thread_t *threadp, unsigned int attr, void * (*func) (void *), void *arg) { struct glwthread_thread_struct *thread = (struct glwthread_thread_struct *) malloc (sizeof (struct glwthread_thread_struct)); if (thread == NULL) return ENOMEM; thread->handle = NULL; InitializeCriticalSection (&thread->handle_lock); thread->detached = (attr & GLWTHREAD_ATTR_DETACHED ? TRUE : FALSE); thread->result = NULL; /* just to be deterministic */ thread->func = func; thread->arg = arg; { unsigned int thread_id; HANDLE thread_handle; thread_handle = (HANDLE) _beginthreadex (NULL, 100000, wrapper_func, thread, 0, &thread_id); /* calls CreateThread with the same arguments */ if (thread_handle == NULL) { DeleteCriticalSection (&thread->handle_lock); free (thread); return EAGAIN; } EnterCriticalSection (&thread->handle_lock); if (thread->handle == NULL) thread->handle = thread_handle; else /* thread->handle was already set by the thread itself. */ CloseHandle (thread_handle); LeaveCriticalSection (&thread->handle_lock); *threadp = thread; return 0; } } int glwthread_thread_join (glwthread_thread_t thread, void **retvalp) { if (thread == NULL) return EINVAL; if (thread == glwthread_thread_self ()) return EDEADLK; if (thread->detached) return EINVAL; if (WaitForSingleObject (thread->handle, INFINITE) == WAIT_FAILED) return EINVAL; if (retvalp != NULL) *retvalp = thread->result; DeleteCriticalSection (&thread->handle_lock); CloseHandle (thread->handle); free (thread); return 0; } int glwthread_thread_detach (glwthread_thread_t thread) { if (thread == NULL) return EINVAL; if (thread->detached) return EINVAL; thread->detached = TRUE; return 0; } int glwthread_thread_exit (void *retval) { glwthread_thread_t thread = glwthread_thread_self (); thread->result = retval; glwthread_tls_process_destructors (); _endthreadex (0); /* calls ExitThread (0) */ abort (); } gsasl-1.8.1/gltests/test-version-etc.sh0000755000000000000000000000267713516251601014774 00000000000000#! /bin/sh # Test suite for version-etc. # Copyright (C) 2009-2019 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # 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 3 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, see . . "${srcdir=.}/init.sh"; path_prepend_ . TMP=ve-expected.tmp LC_ALL=C export LC_ALL ERR=0 cat > $TMP <. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Sergey Poznyakoff and Eric Blake. EOT ${CHECKER} test-version-etc${EXEEXT} --version | sed '1s/test-version-etc (.*) .*/test-version-etc (PROJECT) VERSION/ /^Packaged by/d 2,3 s/Copyright (C) [0-9]\{4,4\}/COPYRIGHT/' | tr -d '\015' | compare $TMP - || ERR=1 rm $TMP exit $ERR gsasl-1.8.1/gltests/test-symlink.c0000644000000000000000000000242313516251601014016 00000000000000/* Tests of symlink. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (symlink, int, (char const *, char const *)); #include #include #include #include #include #include #include "ignore-value.h" #include "macros.h" #define BASE "test-symlink.t" #include "test-symlink.h" int main (void) { /* Remove any leftovers from a previous partial run. */ ignore_value (system ("rm -rf " BASE "*")); return test_symlink (symlink, true); } gsasl-1.8.1/gltests/test-mbrtowc2.sh0000755000000000000000000000060313516251600014257 00000000000000#!/bin/sh # Test whether a specific UTF-8 locale is installed. : ${LOCALE_FR_UTF8=fr_FR.UTF-8} if test $LOCALE_FR_UTF8 = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no french Unicode locale is installed" else echo "Skipping test: no french Unicode locale is supported" fi exit 77 fi LC_ALL=$LOCALE_FR_UTF8 \ ${CHECKER} ./test-mbrtowc${EXEEXT} 2 gsasl-1.8.1/gltests/windows-thread.h0000644000000000000000000000431113516251574014326 00000000000000/* Creating and controlling threads (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_THREAD_H #define _WINDOWS_THREAD_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include /* The glwthread_thread_t is a pointer to a structure in memory. Why not the thread handle? If it were the thread handle, it would be hard to implement glwthread_thread_self() (since GetCurrentThread () returns a pseudo-handle, DuplicateHandle (GetCurrentThread ()) returns a handle that must be closed afterwards, and there is no function for quickly retrieving a thread handle from its id). Why not the thread id? I tried it. It did not work: Sometimes ids appeared that did not belong to running threads, and glthread_join failed with ESRCH. */ typedef struct glwthread_thread_struct *glwthread_thread_t; #ifdef __cplusplus extern "C" { #endif /* attr is a bit mask, consisting of the following bits: */ #define GLWTHREAD_ATTR_DETACHED 1 extern int glwthread_thread_create (glwthread_thread_t *threadp, unsigned int attr, void * (*func) (void *), void *arg); extern int glwthread_thread_join (glwthread_thread_t thread, void **retvalp); extern int glwthread_thread_detach (glwthread_thread_t thread); extern glwthread_thread_t glwthread_thread_self (void); extern int glwthread_thread_exit (void *retval); #ifdef __cplusplus } #endif #endif /* _WINDOWS_THREAD_H */ gsasl-1.8.1/gltests/fcntl.in.h0000644000000000000000000002373713516251577013122 00000000000000/* Like , but with non-working flags defined to 0. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Paul Eggert */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_system_fcntl_h /* Special invocation convention. */ /* Needed before . May also define off_t to a 64-bit type on native Windows. */ #include /* On some systems other than glibc, is a prerequisite of . On glibc systems, we would like to avoid namespace pollution. But on glibc systems, includes inside an extern "C" { ... } block, which leads to errors in C++ mode with the overridden from gnulib. These errors are known to be gone with g++ version >= 4.3. */ #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) # include #endif #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_FCNTL_H /* Needed before . May also define off_t to a 64-bit type on native Windows. */ #include /* On some systems other than glibc, is a prerequisite of . On glibc systems, we would like to avoid namespace pollution. But on glibc systems, includes inside an extern "C" { ... } block, which leads to errors in C++ mode with the overridden from gnulib. These errors are known to be gone with g++ version >= 4.3. */ #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) # include #endif /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ #ifndef _@GUARD_PREFIX@_FCNTL_H #define _@GUARD_PREFIX@_FCNTL_H #ifndef __GLIBC__ /* Avoid namespace pollution on glibc systems. */ # include #endif /* Native Windows platforms declare open(), creat() in . */ #if (@GNULIB_OPEN@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declare overridden functions. */ #if @GNULIB_FCNTL@ # if @REPLACE_FCNTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fcntl # define fcntl rpl_fcntl # endif _GL_FUNCDECL_RPL (fcntl, int, (int fd, int action, ...)); _GL_CXXALIAS_RPL (fcntl, int, (int fd, int action, ...)); # else # if !@HAVE_FCNTL@ _GL_FUNCDECL_SYS (fcntl, int, (int fd, int action, ...)); # endif _GL_CXXALIAS_SYS (fcntl, int, (int fd, int action, ...)); # endif _GL_CXXALIASWARN (fcntl); #elif defined GNULIB_POSIXCHECK # undef fcntl # if HAVE_RAW_DECL_FCNTL _GL_WARN_ON_USE (fcntl, "fcntl is not always POSIX compliant - " "use gnulib module fcntl for portability"); # endif #endif #if @GNULIB_OPEN@ # if @REPLACE_OPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef open # define open rpl_open # endif _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); # else _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); # endif /* On HP-UX 11, in C++ mode, open() is defined as an inline function with a default argument. _GL_CXXALIASWARN does not work in this case. */ # if !defined __hpux _GL_CXXALIASWARN (open); # endif #elif defined GNULIB_POSIXCHECK # undef open /* Assume open is always declared. */ _GL_WARN_ON_USE (open, "open is not always POSIX compliant - " "use gnulib module open for portability"); #endif #if @GNULIB_OPENAT@ # if @REPLACE_OPENAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef openat # define openat rpl_openat # endif _GL_FUNCDECL_RPL (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...)); # else # if !@HAVE_OPENAT@ _GL_FUNCDECL_SYS (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...)); # endif _GL_CXXALIASWARN (openat); #elif defined GNULIB_POSIXCHECK # undef openat # if HAVE_RAW_DECL_OPENAT _GL_WARN_ON_USE (openat, "openat is not portable - " "use gnulib module openat for portability"); # endif #endif /* Fix up the FD_* macros, only known to be missing on mingw. */ #ifndef FD_CLOEXEC # define FD_CLOEXEC 1 #endif /* Fix up the supported F_* macros. Intentionally leave other F_* macros undefined. Only known to be missing on mingw. */ #ifndef F_DUPFD_CLOEXEC # define F_DUPFD_CLOEXEC 0x40000000 /* Witness variable: 1 if gnulib defined F_DUPFD_CLOEXEC, 0 otherwise. */ # define GNULIB_defined_F_DUPFD_CLOEXEC 1 #else # define GNULIB_defined_F_DUPFD_CLOEXEC 0 #endif #ifndef F_DUPFD # define F_DUPFD 1 #endif #ifndef F_GETFD # define F_GETFD 2 #endif /* Fix up the O_* macros. */ /* AIX 7.1 with XL C 12.1 defines O_CLOEXEC, O_NOFOLLOW, and O_TTY_INIT to values outside 'int' range, so omit these misdefinitions. But avoid namespace pollution on non-AIX systems. */ #ifdef _AIX # include # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX) # undef O_CLOEXEC # endif # if defined O_NOFOLLOW && ! (INT_MIN <= O_NOFOLLOW && O_NOFOLLOW <= INT_MAX) # undef O_NOFOLLOW # endif # if defined O_TTY_INIT && ! (INT_MIN <= O_TTY_INIT && O_TTY_INIT <= INT_MAX) # undef O_TTY_INIT # endif #endif #if !defined O_DIRECT && defined O_DIRECTIO /* Tru64 spells it 'O_DIRECTIO'. */ # define O_DIRECT O_DIRECTIO #endif #if !defined O_CLOEXEC && defined O_NOINHERIT /* Mingw spells it 'O_NOINHERIT'. */ # define O_CLOEXEC O_NOINHERIT #endif #ifndef O_CLOEXEC # define O_CLOEXEC 0x40000000 /* Try to not collide with system O_* flags. */ # define GNULIB_defined_O_CLOEXEC 1 #else # define GNULIB_defined_O_CLOEXEC 0 #endif #ifndef O_DIRECT # define O_DIRECT 0 #endif #ifndef O_DIRECTORY # define O_DIRECTORY 0 #endif #ifndef O_DSYNC # define O_DSYNC 0 #endif #ifndef O_EXEC # define O_EXEC O_RDONLY /* This is often close enough in older systems. */ #endif #ifndef O_IGNORE_CTTY # define O_IGNORE_CTTY 0 #endif #ifndef O_NDELAY # define O_NDELAY 0 #endif #ifndef O_NOATIME # define O_NOATIME 0 #endif #ifndef O_NONBLOCK # define O_NONBLOCK O_NDELAY #endif /* If the gnulib module 'nonblocking' is in use, guarantee a working non-zero value of O_NONBLOCK. Otherwise, O_NONBLOCK is defined (above) to O_NDELAY or to 0 as fallback. */ #if @GNULIB_NONBLOCKING@ # if O_NONBLOCK # define GNULIB_defined_O_NONBLOCK 0 # else # define GNULIB_defined_O_NONBLOCK 1 # undef O_NONBLOCK # define O_NONBLOCK 0x40000000 # endif #endif #ifndef O_NOCTTY # define O_NOCTTY 0 #endif #ifndef O_NOFOLLOW # define O_NOFOLLOW 0 #endif #ifndef O_NOLINK # define O_NOLINK 0 #endif #ifndef O_NOLINKS # define O_NOLINKS 0 #endif #ifndef O_NOTRANS # define O_NOTRANS 0 #endif #ifndef O_RSYNC # define O_RSYNC 0 #endif #ifndef O_SEARCH # define O_SEARCH O_RDONLY /* This is often close enough in older systems. */ #endif #ifndef O_SYNC # define O_SYNC 0 #endif #ifndef O_TTY_INIT # define O_TTY_INIT 0 #endif #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) # undef O_ACCMODE # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) #endif /* For systems that distinguish between text and binary I/O. O_BINARY is usually declared in fcntl.h */ #if !defined O_BINARY && defined _O_BINARY /* For MSC-compatible compilers. */ # define O_BINARY _O_BINARY # define O_TEXT _O_TEXT #endif #if defined __BEOS__ || defined __HAIKU__ /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ # undef O_BINARY # undef O_TEXT #endif #ifndef O_BINARY # define O_BINARY 0 # define O_TEXT 0 #endif /* Fix up the AT_* macros. */ /* Work around a bug in Solaris 9 and 10: AT_FDCWD is positive. Its value exceeds INT_MAX, so its use as an int doesn't conform to the C standard, and GCC and Sun C complain in some cases. If the bug is present, undef AT_FDCWD here, so it can be redefined below. */ #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 # undef AT_FDCWD #endif /* Use the same bit pattern as Solaris 9, but with the proper signedness. The bit pattern is important, in case this actually is Solaris with the above workaround. */ #ifndef AT_FDCWD # define AT_FDCWD (-3041965) #endif /* Use the same values as Solaris 9. This shouldn't matter, but there's no real reason to differ. */ #ifndef AT_SYMLINK_NOFOLLOW # define AT_SYMLINK_NOFOLLOW 4096 #endif #ifndef AT_REMOVEDIR # define AT_REMOVEDIR 1 #endif /* Solaris 9 lacks these two, so just pick unique values. */ #ifndef AT_SYMLINK_FOLLOW # define AT_SYMLINK_FOLLOW 2 #endif #ifndef AT_EACCESS # define AT_EACCESS 4 #endif #endif /* _@GUARD_PREFIX@_FCNTL_H */ #endif /* _@GUARD_PREFIX@_FCNTL_H */ #endif gsasl-1.8.1/gltests/warn-on-use.h0000644000000000000000000001351113516251574013544 00000000000000/* A C macro for emitting warnings if a function is used. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_WARN_ON_USE (function, "literal string") issues a declaration for FUNCTION which will then trigger a compiler warning containing the text of "literal string" anywhere that function is called, if supported by the compiler. If the compiler does not support this feature, the macro expands to an unused extern declaration. _GL_WARN_ON_USE_ATTRIBUTE ("literal string") expands to the attribute used in _GL_WARN_ON_USE. If the compiler does not support this feature, it expands to empty. These macros are useful for marking a function as a potential portability trap, with the intent that "literal string" include instructions on the replacement function that should be used instead. _GL_WARN_ON_USE is for functions with 'extern' linkage. _GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline' linkage. However, one of the reasons that a function is a portability trap is if it has the wrong signature. Declaring FUNCTION with a different signature in C is a compilation error, so this macro must use the same type as any existing declaration so that programs that avoid the problematic FUNCTION do not fail to compile merely because they included a header that poisoned the function. But this implies that _GL_WARN_ON_USE is only safe to use if FUNCTION is known to already have a declaration. Use of this macro implies that there must not be any other macro hiding the declaration of FUNCTION; but undefining FUNCTION first is part of the poisoning process anyway (although for symbols that are provided only via a macro, the result is a compilation error rather than a warning containing "literal string"). Also note that in C++, it is only safe to use if FUNCTION has no overloads. For an example, it is possible to poison 'getline' by: - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], [getline]) in configure.ac, which potentially defines HAVE_RAW_DECL_GETLINE - adding this code to a header that wraps the system : #undef getline #if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" "not universally present; use the gnulib module getline"); #endif It is not possible to directly poison global variables. But it is possible to write a wrapper accessor function, and poison that (less common usage, like &environ, will cause a compilation error rather than issue the nice warning, but the end result of informing the developer about their portability problem is still achieved): #if HAVE_RAW_DECL_ENVIRON static char *** rpl_environ (void) { return &environ; } _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); # undef environ # define environ (*rpl_environ ()) #endif or better (avoiding contradictory use of 'static' and 'extern'): #if HAVE_RAW_DECL_ENVIRON static char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is not always properly declared") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) #endif */ #ifndef _GL_WARN_ON_USE # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) /* A compiler attribute is available in gcc versions 4.3.0 and later. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function __attribute__ ((__warning__ (message))) # define _GL_WARN_ON_USE_ATTRIBUTE(message) \ __attribute__ ((__warning__ (message))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function # define _GL_WARN_ON_USE_ATTRIBUTE(message) # else /* Unsupported. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # define _GL_WARN_ON_USE_ATTRIBUTE(message) # endif #endif /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") is like _GL_WARN_ON_USE (function, "string"), except that the function is declared with the given prototype, consisting of return type, parameters, and attributes. This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does not work in this case. */ #ifndef _GL_WARN_ON_USE_CXX # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes \ __attribute__ ((__warning__ (msg))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes # else /* Unsupported. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # endif #endif /* _GL_WARN_EXTERN_C declaration; performs the declaration with C linkage. */ #ifndef _GL_WARN_EXTERN_C # if defined __cplusplus # define _GL_WARN_EXTERN_C extern "C" # else # define _GL_WARN_EXTERN_C extern # endif #endif gsasl-1.8.1/gltests/test-btowc1.sh0000755000000000000000000000055613516251600013726 00000000000000#!/bin/sh # Test in an ISO-8859-1 or ISO-8859-15 locale. : ${LOCALE_FR=fr_FR} if test $LOCALE_FR = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no traditional french locale is installed" else echo "Skipping test: no traditional french locale is supported" fi exit 77 fi LC_ALL=$LOCALE_FR \ ${CHECKER} ./test-btowc${EXEEXT} 1 gsasl-1.8.1/gltests/test-c-ctype.c0000644000000000000000000001464413516251600013703 00000000000000/* Test of character handling in C locale. Copyright (C) 2005, 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #include "c-ctype.h" #include #include #include #include "macros.h" static void test_agree_with_C_locale (void) { int c; for (c = 0; c <= UCHAR_MAX; c++) { ASSERT (c_isascii (c) == (isascii (c) != 0)); if (c_isascii (c)) { ASSERT (c_isalnum (c) == (isalnum (c) != 0)); ASSERT (c_isalpha (c) == (isalpha (c) != 0)); ASSERT (c_isblank (c) == (isblank (c) != 0)); ASSERT (c_iscntrl (c) == (iscntrl (c) != 0)); ASSERT (c_isdigit (c) == (isdigit (c) != 0)); ASSERT (c_islower (c) == (islower (c) != 0)); ASSERT (c_isgraph (c) == (isgraph (c) != 0)); ASSERT (c_isprint (c) == (isprint (c) != 0)); ASSERT (c_ispunct (c) == (ispunct (c) != 0)); ASSERT (c_isspace (c) == (isspace (c) != 0)); ASSERT (c_isupper (c) == (isupper (c) != 0)); ASSERT (c_isxdigit (c) == (isxdigit (c) != 0)); ASSERT (c_tolower (c) == tolower (c)); ASSERT (c_toupper (c) == toupper (c)); } } } static void test_all (void) { int c; int n_isascii = 0; for (c = CHAR_MIN; c <= UCHAR_MAX; c++) { if (! (0 <= c && c <= CHAR_MAX)) { ASSERT (! c_isascii (c)); ASSERT (! c_isalnum (c)); ASSERT (! c_isalpha (c)); ASSERT (! c_isblank (c)); ASSERT (! c_iscntrl (c)); ASSERT (! c_isdigit (c)); ASSERT (! c_islower (c)); ASSERT (! c_isgraph (c)); ASSERT (! c_isprint (c)); ASSERT (! c_ispunct (c)); ASSERT (! c_isspace (c)); ASSERT (! c_isupper (c)); ASSERT (! c_isxdigit (c)); ASSERT (c_tolower (c) == c); ASSERT (c_toupper (c) == c); } n_isascii += c_isascii (c); #ifdef C_CTYPE_ASCII ASSERT (c_isascii (c) == (0 <= c && c <= 0x7f)); #endif ASSERT (c_isascii (c) == (c_isprint (c) || c_iscntrl (c))); ASSERT (c_isalnum (c) == (c_isalpha (c) || c_isdigit (c))); ASSERT (c_isalpha (c) == (c_islower (c) || c_isupper (c))); switch (c) { case '\t': case ' ': ASSERT (c_isblank (c) == 1); break; default: ASSERT (c_isblank (c) == 0); break; } #ifdef C_CTYPE_ASCII ASSERT (c_iscntrl (c) == ((c >= 0 && c < 0x20) || c == 0x7f)); #endif switch (c) { case '\a': case '\b': case '\f': case '\n': case '\r': case '\t': case '\v': ASSERT (c_iscntrl (c)); break; } ASSERT (! (c_iscntrl (c) && c_isprint (c))); switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': ASSERT (c_isdigit (c) == 1); break; default: ASSERT (c_isdigit (c) == 0); break; } switch (c) { case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': ASSERT (c_islower (c) == 1); ASSERT (c_toupper (c) == c - 'a' + 'A'); break; default: ASSERT (c_islower (c) == 0); ASSERT (c_toupper (c) == c); break; } #ifdef C_CTYPE_ASCII ASSERT (c_isgraph (c) == ((c >= 0x20 && c < 0x7f) && c != ' ')); ASSERT (c_isprint (c) == (c >= 0x20 && c < 0x7f)); #endif ASSERT (c_isgraph (c) == (c_isalnum (c) || c_ispunct (c))); ASSERT (c_isprint (c) == (c_isgraph (c) || c == ' ')); switch (c) { case '!': case '"': case '#': case '$': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case ':': case ';': case '<': case '=': case '>': case '?': case '@': case '[': case'\\': case ']': case '^': case '_': case '`': case '{': case '|': case '}': case '~': ASSERT (c_ispunct (c) == 1); break; default: ASSERT (c_ispunct (c) == 0); break; } switch (c) { case ' ': case '\t': case '\n': case '\v': case '\f': case '\r': ASSERT (c_isspace (c) == 1); break; default: ASSERT (c_isspace (c) == 0); break; } switch (c) { case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': ASSERT (c_isupper (c) == 1); ASSERT (c_tolower (c) == c - 'A' + 'a'); break; default: ASSERT (c_isupper (c) == 0); ASSERT (c_tolower (c) == c); break; } switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': ASSERT (c_isxdigit (c) == 1); break; default: ASSERT (c_isxdigit (c) == 0); break; } } ASSERT (n_isascii == 128); } int main () { test_agree_with_C_locale (); test_all (); setlocale (LC_ALL, "de_DE"); test_all (); setlocale (LC_ALL, "ja_JP.EUC-JP"); test_all (); return 0; } gsasl-1.8.1/gltests/test-stdalign.c0000644000000000000000000000733213516251601014141 00000000000000/* Test of . Copyright 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert, inspired by Bruno Haible's test-alignof.c. */ #include #include #include #include #include "verify.h" #include "macros.h" typedef long double longdouble; typedef struct { char a[1]; } struct1; typedef struct { char a[2]; } struct2; typedef struct { char a[3]; } struct3; typedef struct { char a[4]; } struct4; verify (__alignof_is_defined == 1); #ifndef alignof # error "alignof is not a macro" #endif #if __alignas_is_defined verify (__alignas_is_defined == 1); # ifndef alignas # error "alignas is not a macro" # endif /* mingw can go up only to 8. 8 is all that GNU Emacs needs, so let's limit the test to 8 for now. */ # define TEST_ALIGNMENT 8 #else # define _Alignas(alignment) # define alignas(alignment) # define TEST_ALIGNMENT 1 #endif #define CHECK_STATIC(type) \ typedef struct { char slot1; type slot2; } type##_helper; \ verify (alignof (type) == offsetof (type##_helper, slot2)); \ verify (_Alignof (type) == alignof (type)); \ const int type##_alignment = alignof (type); \ type alignas (TEST_ALIGNMENT) static_##type##_alignas; \ type _Alignas (TEST_ALIGNMENT) static_##type##_Alignas #define CHECK_ALIGNED(var) ASSERT ((uintptr_t) &(var) % TEST_ALIGNMENT == 0) CHECK_STATIC (char); CHECK_STATIC (short); CHECK_STATIC (int); CHECK_STATIC (long); #ifdef INT64_MAX CHECK_STATIC (int64_t); #endif CHECK_STATIC (float); CHECK_STATIC (double); /* CHECK_STATIC (longdouble); */ CHECK_STATIC (struct1); CHECK_STATIC (struct2); CHECK_STATIC (struct3); CHECK_STATIC (struct4); int main () { #if defined __SUNPRO_C /* Avoid a test failure due to Sun Studio Developer Bug Report #2125432. */ fputs ("Skipping test: known Sun C compiler bug\n", stderr); return 77; #elif defined __HP_cc && __ia64 /* Avoid a test failure due to HP-UX Itanium cc bug; see: https://lists.gnu.org/r/bug-gnulib/2017-03/msg00078.html */ fputs ("Skipping test: known HP-UX Itanium cc compiler bug\n", stderr); return 77; #else CHECK_ALIGNED (static_char_alignas); CHECK_ALIGNED (static_char_Alignas); CHECK_ALIGNED (static_short_alignas); CHECK_ALIGNED (static_short_Alignas); CHECK_ALIGNED (static_int_alignas); CHECK_ALIGNED (static_int_Alignas); CHECK_ALIGNED (static_long_alignas); CHECK_ALIGNED (static_long_Alignas); # ifdef INT64_MAX CHECK_ALIGNED (static_int64_t_alignas); CHECK_ALIGNED (static_int64_t_Alignas); # endif CHECK_ALIGNED (static_float_alignas); CHECK_ALIGNED (static_float_Alignas); CHECK_ALIGNED (static_double_alignas); CHECK_ALIGNED (static_double_Alignas); /* CHECK_ALIGNED (static_longdouble_alignas); */ /* CHECK_ALIGNED (static_longdouble_Alignas); */ CHECK_ALIGNED (static_struct1_alignas); CHECK_ALIGNED (static_struct1_Alignas); CHECK_ALIGNED (static_struct2_alignas); CHECK_ALIGNED (static_struct2_Alignas); CHECK_ALIGNED (static_struct3_alignas); CHECK_ALIGNED (static_struct3_Alignas); CHECK_ALIGNED (static_struct4_alignas); CHECK_ALIGNED (static_struct4_Alignas); return 0; #endif } gsasl-1.8.1/gltests/pthread-thread.c0000644000000000000000000000754513516251573014271 00000000000000/* Creating and controlling POSIX threads. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Paul Eggert, 2010, and Bruno Haible , 2019. */ #include /* Specification. */ #include #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # include "windows-thread.h" #else # include #endif typedef void * (* pthread_main_function_t) (void *); #if ((defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS) || !HAVE_PTHREAD_H int pthread_attr_init (pthread_attr_t *attr) { *attr = PTHREAD_CREATE_JOINABLE; return 0; } int pthread_attr_getdetachstate (pthread_attr_t *attr, int *detachstatep) { *detachstatep = *attr & (PTHREAD_CREATE_JOINABLE | PTHREAD_CREATE_DETACHED); return 0; } int pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate) { if (!(detachstate == PTHREAD_CREATE_JOINABLE || detachstate == PTHREAD_CREATE_DETACHED)) return EINVAL; *attr ^= (*attr ^ detachstate) & (PTHREAD_CREATE_JOINABLE | PTHREAD_CREATE_DETACHED); return 0; } int pthread_attr_destroy (pthread_attr_t *attr _GL_UNUSED) { return 0; } #endif #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS /* Use Windows threads. */ int pthread_create (pthread_t *threadp, const pthread_attr_t *attr, pthread_main_function_t mainfunc, void *arg) { unsigned int glwthread_attr = (attr != NULL && (*attr & (PTHREAD_CREATE_JOINABLE | PTHREAD_CREATE_DETACHED)) != PTHREAD_CREATE_JOINABLE ? GLWTHREAD_ATTR_DETACHED : 0); return glwthread_thread_create (threadp, glwthread_attr, mainfunc, arg); } pthread_t pthread_self (void) { return glwthread_thread_self (); } int pthread_equal (pthread_t thread1, pthread_t thread2) { return thread1 == thread2; } int pthread_detach (pthread_t thread) { return glwthread_thread_detach (thread); } int pthread_join (pthread_t thread, void **valuep) { return glwthread_thread_join (thread, valuep); } void pthread_exit (void *value) { glwthread_thread_exit (value); } #elif HAVE_PTHREAD_H /* Provide workarounds for POSIX threads. */ # if PTHREAD_CREATE_IS_INLINE int pthread_create (pthread_t *threadp, const pthread_attr_t *attr, pthread_main_function_t mainfunc, void *arg) # undef pthread_create { return pthread_create (threadp, attr, mainfunc, arg); } int pthread_attr_init (pthread_attr_t *attr) # undef pthread_attr_init { return pthread_attr_init (attr); } # endif #else /* Provide a dummy implementation for single-threaded applications. */ int pthread_create (pthread_t *threadp, const pthread_attr_t *attr, pthread_main_function_t mainfunc, void *arg) { /* The maximum number of threads is reached. Do not create a thread. */ return EAGAIN; } pthread_t pthread_self (void) { return 42; } int pthread_equal (pthread_t thread1, pthread_t thread2) { return thread1 == thread2; } int pthread_detach (pthread_t thread) { /* There are no joinable threads. */ return EINVAL; } int pthread_join (pthread_t thread, void **valuep) { /* There are no joinable threads. */ return EINVAL; } void pthread_exit (void *value) { /* There is just one thread, so the process exits. */ exit (0); } #endif gsasl-1.8.1/gltests/test-sys_select.c0000644000000000000000000000336213516251601014510 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" /* The following may be macros without underlying functions, so only check signature if they are not macros. */ #ifndef FD_CLR SIGNATURE_CHECK (FD_CLR, void, (int, fd_set *)); #endif #ifndef FD_ISSET SIGNATURE_CHECK (FD_ISSET, void, (int, fd_set *)); #endif #ifndef FD_SET SIGNATURE_CHECK (FD_SET, int, (int, fd_set *)); #endif #ifndef FD_ZERO SIGNATURE_CHECK (FD_ZERO, void, (fd_set *)); #endif /* Check that the 'struct timeval' type is defined. */ struct timeval a; /* Check that a.tv_sec is wide enough to hold a time_t, ignoring signedness issues. */ typedef int verify_tv_sec_type[sizeof (time_t) <= sizeof (a.tv_sec) ? 1 : -1]; /* Check that sigset_t is defined. */ sigset_t t2; int main (void) { /* Check that FD_ZERO can be used. This should not yield a warning such as "warning: implicit declaration of function 'memset'". */ fd_set fds; FD_ZERO (&fds); return 0; } gsasl-1.8.1/gltests/test-getdtablesize.c0000644000000000000000000000215113516251600015153 00000000000000/* Test of getdtablesize() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (getdtablesize, int, (void)); #include "macros.h" int main (int argc, char *argv[]) { ASSERT (getdtablesize () >= 3); ASSERT (dup2 (0, getdtablesize() - 1) == getdtablesize () - 1); ASSERT (dup2 (0, getdtablesize()) == -1); return 0; } gsasl-1.8.1/gltests/test-getopt.h0000644000000000000000000012565513516251600013653 00000000000000/* Test of command line argument processing. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include /* The glibc/gnulib implementation of getopt supports setting optind = 0, but not all other implementations do. This matters for getopt. But for getopt_long, we require GNU compatibility. */ #if defined __GETOPT_PREFIX || (__GLIBC__ >= 2 && !defined __UCLIBC__) # define OPTIND_MIN 0 #elif HAVE_DECL_OPTRESET # define OPTIND_MIN (optreset = 1) #else # define OPTIND_MIN 1 #endif static void getopt_loop (int argc, const char **argv, const char *options, int *a_seen, int *b_seen, const char **p_value, const char **q_value, int *non_options_count, const char **non_options, int *unrecognized, bool *message_issued) { int c; int pos = ftell (stderr); while ((c = getopt (argc, (char **) argv, options)) != -1) { switch (c) { case 'a': (*a_seen)++; break; case 'b': (*b_seen)++; break; case 'p': *p_value = optarg; break; case 'q': *q_value = optarg; break; case '\1': /* Must only happen with option '-' at the beginning. */ ASSERT (options[0] == '-'); non_options[(*non_options_count)++] = optarg; break; case ':': /* Must only happen with option ':' at the beginning. */ ASSERT (options[0] == ':' || ((options[0] == '-' || options[0] == '+') && options[1] == ':')); FALLTHROUGH; case '?': *unrecognized = optopt; break; default: *unrecognized = c; break; } } *message_issued = pos < ftell (stderr); } static void test_getopt (void) { int start; bool posixly = !!getenv ("POSIXLY_CORRECT"); /* See comment in getopt.c: glibc gets a LSB-compliant getopt. Standalone applications get a POSIX-compliant getopt. */ #if defined __GETOPT_PREFIX || !(__GLIBC__ >= 2 || defined __MINGW32__) /* Using getopt from gnulib or from a non-glibc system. */ posixly = true; #endif /* Test processing of boolean options. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-b"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ba"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "-a"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "ab", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 2); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); ASSERT (!output); } /* Test processing of options with arguments. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "p:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "p:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ab"; argv[argc++] = "-q"; argv[argc++] = "baz"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 1); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value != NULL && strcmp (q_value, "baz") == 0); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); ASSERT (!output); } #if GNULIB_TEST_GETOPT_GNU /* Test processing of options with optional arguments. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-pfoo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "p::q::", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "p::q::", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 2); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "abp::q::", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 3); ASSERT (!output); } #endif /* GNULIB_TEST_GETOPT_GNU */ /* Check that invalid options are recognized; and that both opterr and leading ':' can silence output. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-x"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 42; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'x'); ASSERT (optind == 5); ASSERT (output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-x"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 0; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'x'); ASSERT (optind == 5); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-x"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, ":abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'x'); ASSERT (optind == 5); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-:"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 42; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == ':'); ASSERT (optind == 5); ASSERT (output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-:"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 0; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == ':'); ASSERT (optind == 5); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc++] = "foo"; argv[argc++] = "-:"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, ":abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "foo") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == ':'); ASSERT (optind == 5); ASSERT (!output); } /* Check for missing argument behavior. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ap"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'p'); ASSERT (optind == 2); ASSERT (output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ap"; argv[argc] = NULL; optind = start; opterr = 0; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'p'); ASSERT (optind == 2); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-ap"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, ":abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'p'); ASSERT (optind == 2); ASSERT (!output); } /* Check that by default, non-options arguments are moved to the end. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); if (posixly) { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); ASSERT (!output); } else { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "donald") == 0); ASSERT (strcmp (argv[5], "duck") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); ASSERT (!output); } } /* Check that '--' ends the argument processing. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[20]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "--"; argv[argc++] = "-b"; argv[argc++] = "foo"; argv[argc++] = "-q"; argv[argc++] = "johnny"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); if (posixly) { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "--") == 0); ASSERT (strcmp (argv[7], "-b") == 0); ASSERT (strcmp (argv[8], "foo") == 0); ASSERT (strcmp (argv[9], "-q") == 0); ASSERT (strcmp (argv[10], "johnny") == 0); ASSERT (strcmp (argv[11], "bar") == 0); ASSERT (argv[12] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); ASSERT (!output); } else { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "--") == 0); ASSERT (strcmp (argv[5], "donald") == 0); ASSERT (strcmp (argv[6], "duck") == 0); ASSERT (strcmp (argv[7], "-b") == 0); ASSERT (strcmp (argv[8], "foo") == 0); ASSERT (strcmp (argv[9], "-q") == 0); ASSERT (strcmp (argv[10], "johnny") == 0); ASSERT (strcmp (argv[11], "bar") == 0); ASSERT (argv[12] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 5); ASSERT (!output); } } #if GNULIB_TEST_GETOPT_GNU /* Check that the '-' flag causes non-options to be returned in order. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "-abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 3); ASSERT (strcmp (non_options[0], "donald") == 0); ASSERT (strcmp (non_options[1], "duck") == 0); ASSERT (strcmp (non_options[2], "bar") == 0); ASSERT (unrecognized == 0); ASSERT (optind == 7); ASSERT (!output); } /* Check that '--' ends the argument processing. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[20]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "--"; argv[argc++] = "-b"; argv[argc++] = "foo"; argv[argc++] = "-q"; argv[argc++] = "johnny"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "-abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "--") == 0); ASSERT (strcmp (argv[7], "-b") == 0); ASSERT (strcmp (argv[8], "foo") == 0); ASSERT (strcmp (argv[9], "-q") == 0); ASSERT (strcmp (argv[10], "johnny") == 0); ASSERT (strcmp (argv[11], "bar") == 0); ASSERT (argv[12] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (!output); if (non_options_count == 2) { /* glibc behaviour. */ ASSERT (non_options_count == 2); ASSERT (strcmp (non_options[0], "donald") == 0); ASSERT (strcmp (non_options[1], "duck") == 0); ASSERT (unrecognized == 0); ASSERT (optind == 7); } else { /* Another valid behaviour. */ ASSERT (non_options_count == 7); ASSERT (strcmp (non_options[0], "donald") == 0); ASSERT (strcmp (non_options[1], "duck") == 0); ASSERT (strcmp (non_options[2], "-b") == 0); ASSERT (strcmp (non_options[3], "foo") == 0); ASSERT (strcmp (non_options[4], "-q") == 0); ASSERT (strcmp (non_options[5], "johnny") == 0); ASSERT (strcmp (non_options[6], "bar") == 0); ASSERT (unrecognized == 0); ASSERT (optind == 12); } } /* Check that the '-' flag has to come first. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:-", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); if (posixly) { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); ASSERT (!output); } else { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "donald") == 0); ASSERT (strcmp (argv[5], "duck") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); ASSERT (!output); } } /* Check that the '+' flag causes the first non-option to terminate the loop. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "+abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-+"; argv[argc] = NULL; optind = start; getopt_loop (argc, argv, "+abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == '+'); ASSERT (optind == 2); ASSERT (output); } /* Check that '--' ends the argument processing. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[20]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "--"; argv[argc++] = "-b"; argv[argc++] = "foo"; argv[argc++] = "-q"; argv[argc++] = "johnny"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "+abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "--") == 0); ASSERT (strcmp (argv[7], "-b") == 0); ASSERT (strcmp (argv[8], "foo") == 0); ASSERT (strcmp (argv[9], "-q") == 0); ASSERT (strcmp (argv[10], "johnny") == 0); ASSERT (strcmp (argv[11], "bar") == 0); ASSERT (argv[12] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); ASSERT (!output); } #endif /* GNULIB_TEST_GETOPT_GNU */ /* Check that the '+' flag has to come first. */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "abp:q:+", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); if (posixly) { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); ASSERT (!output); } else { ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "-p") == 0); ASSERT (strcmp (argv[2], "billy") == 0); ASSERT (strcmp (argv[3], "-a") == 0); ASSERT (strcmp (argv[4], "donald") == 0); ASSERT (strcmp (argv[5], "duck") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 1); ASSERT (b_seen == 0); ASSERT (p_value != NULL && strcmp (p_value, "billy") == 0); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 4); ASSERT (!output); } } #if GNULIB_TEST_GETOPT_GNU /* If GNU extensions are supported, require compliance with POSIX interpretation on leading '+' behavior. http://austingroupbugs.net/view.php?id=191 */ for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "donald"; argv[argc++] = "-p"; argv[argc++] = "billy"; argv[argc++] = "duck"; argv[argc++] = "-a"; argv[argc++] = "bar"; argv[argc] = NULL; optind = start; opterr = 1; getopt_loop (argc, argv, "+:abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (strcmp (argv[0], "program") == 0); ASSERT (strcmp (argv[1], "donald") == 0); ASSERT (strcmp (argv[2], "-p") == 0); ASSERT (strcmp (argv[3], "billy") == 0); ASSERT (strcmp (argv[4], "duck") == 0); ASSERT (strcmp (argv[5], "-a") == 0); ASSERT (strcmp (argv[6], "bar") == 0); ASSERT (argv[7] == NULL); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 0); ASSERT (optind == 1); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-p"; argv[argc] = NULL; optind = start; getopt_loop (argc, argv, "+:abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 0); ASSERT (b_seen == 0); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'p'); ASSERT (optind == 2); ASSERT (!output); } for (start = OPTIND_MIN; start <= 1; start++) { int a_seen = 0; int b_seen = 0; const char *p_value = NULL; const char *q_value = NULL; int non_options_count = 0; const char *non_options[10]; int unrecognized = 0; bool output; int argc = 0; const char *argv[10]; argv[argc++] = "program"; argv[argc++] = "-b"; argv[argc++] = "-p"; argv[argc] = NULL; optind = start; getopt_loop (argc, argv, "+:abp:q:", &a_seen, &b_seen, &p_value, &q_value, &non_options_count, non_options, &unrecognized, &output); ASSERT (a_seen == 0); ASSERT (b_seen == 1); ASSERT (p_value == NULL); ASSERT (q_value == NULL); ASSERT (non_options_count == 0); ASSERT (unrecognized == 'p'); ASSERT (optind == 3); ASSERT (!output); } /* Check that 'W' does not dump core: https://sourceware.org/bugzilla/show_bug.cgi?id=12922 Technically, POSIX says the presence of ';' in the opt-string gives unspecified behavior, so we only test this when GNU compliance is desired. */ for (start = OPTIND_MIN; start <= 1; start++) { int argc = 0; const char *argv[10]; int pos = ftell (stderr); argv[argc++] = "program"; argv[argc++] = "-W"; argv[argc++] = "dummy"; argv[argc] = NULL; optind = start; opterr = 1; ASSERT (getopt (argc, (char **) argv, "W;") == 'W'); ASSERT (ftell (stderr) == pos); ASSERT (optind == 2); } #endif /* GNULIB_TEST_GETOPT_GNU */ } gsasl-1.8.1/gltests/test-fseeko.sh0000755000000000000000000000022113516251600013770 00000000000000#!/bin/sh ${CHECKER} ./test-fseeko${EXEEXT} 1 < "$srcdir/test-fseeko.sh" || exit 1 echo hi | ${CHECKER} ./test-fseeko${EXEEXT} || exit 1 exit 0 gsasl-1.8.1/gltests/getdtablesize.c0000644000000000000000000000654413516251577014225 00000000000000/* getdtablesize() function: Return maximum possible file descriptor value + 1. Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2008. 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 3 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, see . */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int _setmaxstdio_nothrow (int newmax) { int result; TRY_MSVC_INVAL { result = _setmaxstdio (newmax); } CATCH_MSVC_INVAL { result = -1; } DONE_MSVC_INVAL; return result; } # else # define _setmaxstdio_nothrow _setmaxstdio # endif /* Cache for the previous getdtablesize () result. Safe to cache because Windows also lacks setrlimit. */ static int dtablesize; int getdtablesize (void) { if (dtablesize == 0) { /* We are looking for the number N such that the valid file descriptors are 0..N-1. It can be obtained through a loop as follows: { int fd; for (fd = 3; fd < 65536; fd++) if (dup2 (0, fd) == -1) break; return fd; } On Windows XP, the result is 2048. The drawback of this loop is that it allocates memory for a libc internal array that is never freed. The number N can also be obtained as the upper bound for _getmaxstdio (). _getmaxstdio () returns the maximum number of open FILE objects. The sanity check in _setmaxstdio reveals the maximum number of file descriptors. This too allocates memory, but it is freed when we call _setmaxstdio with the original value. */ int orig_max_stdio = _getmaxstdio (); unsigned int bound; for (bound = 0x10000; _setmaxstdio_nothrow (bound) < 0; bound = bound / 2) ; _setmaxstdio_nothrow (orig_max_stdio); dtablesize = bound; } return dtablesize; } #else # include # include # ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY # endif # ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY # endif # ifdef __CYGWIN__ /* Cygwin 1.7.25 auto-increases the RLIMIT_NOFILE soft limit until it hits the compile-time constant hard limit of 3200. We might as well just report the hard limit. */ # define rlim_cur rlim_max # endif int getdtablesize (void) { struct rlimit lim; if (getrlimit (RLIMIT_NOFILE, &lim) == 0 && 0 <= lim.rlim_cur && lim.rlim_cur <= INT_MAX && lim.rlim_cur != RLIM_INFINITY && lim.rlim_cur != RLIM_SAVED_CUR && lim.rlim_cur != RLIM_SAVED_MAX) return lim.rlim_cur; return INT_MAX; } #endif gsasl-1.8.1/gltests/windows-tls.h0000644000000000000000000000266413516251574013672 00000000000000/* Thread-local storage (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #ifndef _WINDOWS_TLS_H #define _WINDOWS_TLS_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef DWORD glwthread_tls_key_t; #ifdef __cplusplus extern "C" { #endif extern int glwthread_tls_key_create (glwthread_tls_key_t *keyp, void (*destructor) (void *)); extern void *glwthread_tls_get (glwthread_tls_key_t key); extern int glwthread_tls_set (glwthread_tls_key_t key, void *value); extern int glwthread_tls_key_delete (glwthread_tls_key_t key); extern void glwthread_tls_process_destructors (void); #define GLWTHREAD_DESTRUCTOR_ITERATIONS 4 #ifdef __cplusplus } #endif #endif /* _WINDOWS_TLS_H */ gsasl-1.8.1/gltests/test-symlink.h0000644000000000000000000000607113516251601014026 00000000000000/* Tests of symlink. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ /* This file is designed to test both symlink(a,b) and symlinkat(a,AT_FDCWD,b). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static int test_symlink (int (*func) (char const *, char const *), bool print) { if (func ("nowhere", BASE "link1")) { if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } /* Some systems allow the creation of 0-length symlinks as a synonym for "."; but most reject it. */ { int status; errno = 0; status = func ("", BASE "link2"); if (status == -1) ASSERT (errno == ENOENT || errno == EINVAL); else { ASSERT (status == 0); ASSERT (unlink (BASE "link2") == 0); } } /* Sanity checks of failures. */ errno = 0; ASSERT (func ("nowhere", "") == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nowhere", ".") == -1); ASSERT (errno == EEXIST || errno == EINVAL); errno = 0; ASSERT (func ("somewhere", BASE "link1") == -1); ASSERT (errno == EEXIST); errno = 0; ASSERT (func ("nowhere", BASE "link2/") == -1); ASSERT (errno == ENOTDIR || errno == ENOENT); ASSERT (mkdir (BASE "dir", 0700) == 0); errno = 0; ASSERT (func ("nowhere", BASE "dir") == -1); ASSERT (errno == EEXIST); errno = 0; ASSERT (func ("nowhere", BASE "dir/") == -1); ASSERT (errno == EEXIST || errno == EINVAL); ASSERT (close (creat (BASE "file", 0600)) == 0); errno = 0; ASSERT (func ("nowhere", BASE "file") == -1); ASSERT (errno == EEXIST); errno = 0; ASSERT (func ("nowhere", BASE "file/") == -1); ASSERT (errno == EEXIST || errno == ENOTDIR || errno == ENOENT); /* Trailing slash must always be rejected. */ ASSERT (unlink (BASE "link1") == 0); ASSERT (func (BASE "link2", BASE "link1") == 0); errno = 0; ASSERT (func (BASE "nowhere", BASE "link1/") == -1); ASSERT (errno == EEXIST || errno == ENOTDIR || errno == ENOENT); errno = 0; ASSERT (unlink (BASE "link2") == -1); ASSERT (errno == ENOENT); /* Cleanup. */ ASSERT (rmdir (BASE "dir") == 0); ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link1") == 0); return 0; } gsasl-1.8.1/gltests/test-mbrtowc1.sh0000755000000000000000000000056013516251600014260 00000000000000#!/bin/sh # Test in an ISO-8859-1 or ISO-8859-15 locale. : ${LOCALE_FR=fr_FR} if test $LOCALE_FR = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no traditional french locale is installed" else echo "Skipping test: no traditional french locale is supported" fi exit 77 fi LC_ALL=$LOCALE_FR \ ${CHECKER} ./test-mbrtowc${EXEEXT} 1 gsasl-1.8.1/gltests/test-inet_pton.c0000644000000000000000000000333013516251600014324 00000000000000/* Test of inet_pton function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (inet_pton, int, (int, const char *, void *)); #include #include #include "macros.h" int main (void) { #if defined AF_INET /* HAVE_IPV4 */ { /* This machine was for a long time known as ma2s2.mathematik.uni-karlsruhe.de. */ const char printable[] = "129.13.115.2"; struct in_addr internal; int ret; ret = inet_pton (AF_INET, printable, &internal); ASSERT (ret == 1); /* Verify that internal is filled in network byte order. */ ASSERT (((unsigned char *) &internal)[0] == 0x81); ASSERT (((unsigned char *) &internal)[1] == 0x0D); ASSERT (((unsigned char *) &internal)[2] == 0x73); ASSERT (((unsigned char *) &internal)[3] == 0x02); # ifdef WORDS_BIGENDIAN ASSERT (internal.s_addr == 0x810D7302); # else ASSERT (internal.s_addr == 0x02730D81); # endif } #endif return 0; } gsasl-1.8.1/gltests/test-errno.c0000644000000000000000000000555513516251600013465 00000000000000/* Test of substitute. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include /* Verify that the POSIX mandated errno values exist and can be used as initializers outside of a function. The variable names happen to match the Linux/x86 error numbers. */ int e1 = EPERM; int e2 = ENOENT; int e3 = ESRCH; int e4 = EINTR; int e5 = EIO; int e6 = ENXIO; int e7 = E2BIG; int e8 = ENOEXEC; int e9 = EBADF; int e10 = ECHILD; int e11 = EAGAIN; int e11a = EWOULDBLOCK; int e12 = ENOMEM; int e13 = EACCES; int e14 = EFAULT; int e16 = EBUSY; int e17 = EEXIST; int e18 = EXDEV; int e19 = ENODEV; int e20 = ENOTDIR; int e21 = EISDIR; int e22 = EINVAL; int e23 = ENFILE; int e24 = EMFILE; int e25 = ENOTTY; int e26 = ETXTBSY; int e27 = EFBIG; int e28 = ENOSPC; int e29 = ESPIPE; int e30 = EROFS; int e31 = EMLINK; int e32 = EPIPE; int e33 = EDOM; int e34 = ERANGE; int e35 = EDEADLK; int e36 = ENAMETOOLONG; int e37 = ENOLCK; int e38 = ENOSYS; int e39 = ENOTEMPTY; int e40 = ELOOP; int e42 = ENOMSG; int e43 = EIDRM; int e67 = ENOLINK; int e71 = EPROTO; int e72 = EMULTIHOP; int e74 = EBADMSG; int e75 = EOVERFLOW; int e84 = EILSEQ; int e88 = ENOTSOCK; int e89 = EDESTADDRREQ; int e90 = EMSGSIZE; int e91 = EPROTOTYPE; int e92 = ENOPROTOOPT; int e93 = EPROTONOSUPPORT; int e95 = EOPNOTSUPP; int e95a = ENOTSUP; int e97 = EAFNOSUPPORT; int e98 = EADDRINUSE; int e99 = EADDRNOTAVAIL; int e100 = ENETDOWN; int e101 = ENETUNREACH; int e102 = ENETRESET; int e103 = ECONNABORTED; int e104 = ECONNRESET; int e105 = ENOBUFS; int e106 = EISCONN; int e107 = ENOTCONN; int e110 = ETIMEDOUT; int e111 = ECONNREFUSED; int e113 = EHOSTUNREACH; int e114 = EALREADY; int e115 = EINPROGRESS; int e116 = ESTALE; int e122 = EDQUOT; int e125 = ECANCELED; int e130 = EOWNERDEAD; int e131 = ENOTRECOVERABLE; /* Don't verify that these errno values are all different, except for possibly EWOULDBLOCK == EAGAIN. Even Linux/x86 does not pass this check: it has ENOTSUP == EOPNOTSUPP. */ int main () { /* Verify that errno can be assigned. */ errno = EOVERFLOW; /* snprintf() callers want to distinguish EINVAL and EOVERFLOW. */ if (errno == EINVAL) return 1; return 0; } gsasl-1.8.1/gltests/getpagesize.c0000644000000000000000000000224613516251577013701 00000000000000/* getpagesize emulation for systems where it cannot be done in a C macro. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible and Martin Lambers. */ #include /* Specification. */ #include /* This implementation is only for native Windows systems. */ #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include int getpagesize (void) { SYSTEM_INFO system_info; GetSystemInfo (&system_info); return system_info.dwPageSize; } #endif gsasl-1.8.1/gltests/sigprocmask.c0000644000000000000000000002060113516251573013703 00000000000000/* POSIX compatible signal blocking. Copyright (C) 2006-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2006. 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 3 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, see . */ #include /* Specification. */ #include #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif /* We assume that a platform without POSIX signal blocking functions also does not have the POSIX sigaction() function, only the signal() function. We also assume signal() has SysV semantics, where any handler is uninstalled prior to being invoked. This is true for native Windows platforms. */ /* We use raw signal(), but also provide a wrapper rpl_signal() so that applications can query or change a blocked signal. */ #undef signal /* Provide invalid signal numbers as fallbacks if the uncatchable signals are not defined. */ #ifndef SIGKILL # define SIGKILL (-1) #endif #ifndef SIGSTOP # define SIGSTOP (-1) #endif /* On native Windows, as of 2008, the signal SIGABRT_COMPAT is an alias for the signal SIGABRT. Only one signal handler is stored for both SIGABRT and SIGABRT_COMPAT. SIGABRT_COMPAT is not a signal of its own. */ #if defined _WIN32 && ! defined __CYGWIN__ # undef SIGABRT_COMPAT # define SIGABRT_COMPAT 6 #endif #ifdef SIGABRT_COMPAT # define SIGABRT_COMPAT_MASK (1U << SIGABRT_COMPAT) #else # define SIGABRT_COMPAT_MASK 0 #endif typedef void (*handler_t) (int); #if HAVE_MSVC_INVALID_PARAMETER_HANDLER static handler_t signal_nothrow (int sig, handler_t handler) { handler_t result; TRY_MSVC_INVAL { result = signal (sig, handler); } CATCH_MSVC_INVAL { result = SIG_ERR; errno = EINVAL; } DONE_MSVC_INVAL; return result; } # define signal signal_nothrow #endif /* Handling of gnulib defined signals. */ #if GNULIB_defined_SIGPIPE static handler_t SIGPIPE_handler = SIG_DFL; #endif #if GNULIB_defined_SIGPIPE static handler_t ext_signal (int sig, handler_t handler) { switch (sig) { case SIGPIPE: { handler_t old_handler = SIGPIPE_handler; SIGPIPE_handler = handler; return old_handler; } default: /* System defined signal */ return signal (sig, handler); } } # undef signal # define signal ext_signal #endif int sigismember (const sigset_t *set, int sig) { if (sig >= 0 && sig < NSIG) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif return (*set >> sig) & 1; } else return 0; } int sigemptyset (sigset_t *set) { *set = 0; return 0; } int sigaddset (sigset_t *set, int sig) { if (sig >= 0 && sig < NSIG) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif *set |= 1U << sig; return 0; } else { errno = EINVAL; return -1; } } int sigdelset (sigset_t *set, int sig) { if (sig >= 0 && sig < NSIG) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif *set &= ~(1U << sig); return 0; } else { errno = EINVAL; return -1; } } int sigfillset (sigset_t *set) { *set = ((2U << (NSIG - 1)) - 1) & ~ SIGABRT_COMPAT_MASK; return 0; } /* Set of currently blocked signals. */ static volatile sigset_t blocked_set /* = 0 */; /* Set of currently blocked and pending signals. */ static volatile sig_atomic_t pending_array[NSIG] /* = { 0 } */; /* Signal handler that is installed for blocked signals. */ static void blocked_handler (int sig) { /* Reinstall the handler, in case the signal occurs multiple times while blocked. There is an inherent race where an asynchronous signal in between when the kernel uninstalled the handler and when we reinstall it will trigger the default handler; oh well. */ signal (sig, blocked_handler); if (sig >= 0 && sig < NSIG) pending_array[sig] = 1; } int sigpending (sigset_t *set) { sigset_t pending = 0; int sig; for (sig = 0; sig < NSIG; sig++) if (pending_array[sig]) pending |= 1U << sig; *set = pending; return 0; } /* The previous signal handlers. Only the array elements corresponding to blocked signals are relevant. */ static volatile handler_t old_handlers[NSIG]; int sigprocmask (int operation, const sigset_t *set, sigset_t *old_set) { if (old_set != NULL) *old_set = blocked_set; if (set != NULL) { sigset_t new_blocked_set; sigset_t to_unblock; sigset_t to_block; switch (operation) { case SIG_BLOCK: new_blocked_set = blocked_set | *set; break; case SIG_SETMASK: new_blocked_set = *set; break; case SIG_UNBLOCK: new_blocked_set = blocked_set & ~*set; break; default: errno = EINVAL; return -1; } to_unblock = blocked_set & ~new_blocked_set; to_block = new_blocked_set & ~blocked_set; if (to_block != 0) { int sig; for (sig = 0; sig < NSIG; sig++) if ((to_block >> sig) & 1) { pending_array[sig] = 0; if ((old_handlers[sig] = signal (sig, blocked_handler)) != SIG_ERR) blocked_set |= 1U << sig; } } if (to_unblock != 0) { sig_atomic_t received[NSIG]; int sig; for (sig = 0; sig < NSIG; sig++) if ((to_unblock >> sig) & 1) { if (signal (sig, old_handlers[sig]) != blocked_handler) /* The application changed a signal handler while the signal was blocked, bypassing our rpl_signal replacement. We don't support this. */ abort (); received[sig] = pending_array[sig]; blocked_set &= ~(1U << sig); pending_array[sig] = 0; } else received[sig] = 0; for (sig = 0; sig < NSIG; sig++) if (received[sig]) raise (sig); } } return 0; } /* Install the handler FUNC for signal SIG, and return the previous handler. */ handler_t rpl_signal (int sig, handler_t handler) { /* We must provide a wrapper, so that a user can query what handler they installed even if that signal is currently blocked. */ if (sig >= 0 && sig < NSIG && sig != SIGKILL && sig != SIGSTOP && handler != SIG_ERR) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif if (blocked_set & (1U << sig)) { /* POSIX states that sigprocmask and signal are both async-signal-safe. This is not true of our implementation - there is a slight data race where an asynchronous interrupt on signal A can occur after we install blocked_handler but before we have updated old_handlers for signal B, such that handler A can see stale information if it calls signal(B). Oh well - signal handlers really shouldn't try to manipulate the installed handlers of unrelated signals. */ handler_t result = old_handlers[sig]; old_handlers[sig] = handler; return result; } else return signal (sig, handler); } else { errno = EINVAL; return SIG_ERR; } } #if GNULIB_defined_SIGPIPE /* Raise the signal SIGPIPE. */ int _gl_raise_SIGPIPE (void) { if (blocked_set & (1U << SIGPIPE)) pending_array[SIGPIPE] = 1; else { handler_t handler = SIGPIPE_handler; if (handler == SIG_DFL) exit (128 + SIGPIPE); else if (handler != SIG_IGN) (*handler) (SIGPIPE); } return 0; } #endif gsasl-1.8.1/gltests/fpucw.h0000644000000000000000000001123413516251577012520 00000000000000/* Manipulating the FPU control word. -*- coding: utf-8 -*- Copyright (C) 2007-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2007. 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 3 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, see . */ #ifndef _FPUCW_H #define _FPUCW_H /* The i386 floating point hardware (the 387 compatible FPU, not the modern SSE/SSE2 hardware) has a controllable rounding precision. It is specified through the 'PC' bits in the FPU control word ('fctrl' register). (See the GNU libc i386 header for details.) On some platforms, such as Linux or Solaris, the default precision setting is set to "extended precision". This means that 'long double' instructions operate correctly, but 'double' computations often produce slightly different results as on strictly IEEE 754 conforming systems. On some platforms, such as NetBSD, the default precision is set to "double precision". This means that 'long double' instructions will operate only as 'double', i.e. lead to wrong results. Similarly on FreeBSD 6.4, at least for the division of 'long double' numbers. The FPU control word is under control of the application, i.e. it is not required to be set either way by the ABI. (In fact, the i386 ABI https://www.linux-mips.org/pub/linux/mips/doc/ABI/abi386-4.pdf page 3-12 = page 38 is not clear about it. But in any case, gcc treats the control word like a "preserved" register: it emits code that assumes that the control word is preserved across calls, and it restores the control word at the end of functions that modify it.) See Vincent Lefèvre's page https://www.vinc17.net/research/extended.en.html for a good explanation. See http://www.uwsg.iu.edu/hypermail/linux/kernel/0103.0/0453.html for some argumentation which setting should be the default. */ /* This header file provides the following facilities: fpucw_t integral type holding the value of 'fctrl' FPU_PC_MASK bit mask denoting the precision control FPU_PC_DOUBLE precision control for 53 bits mantissa FPU_PC_EXTENDED precision control for 64 bits mantissa GET_FPUCW () yields the current FPU control word SET_FPUCW (word) sets the FPU control word DECL_LONG_DOUBLE_ROUNDING variable declaration for BEGIN/END_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING () starts a sequence of instructions with 'long double' safe operation precision END_LONG_DOUBLE_ROUNDING () ends a sequence of instructions with 'long double' safe operation precision */ /* Inline assembler like this works only with GNU C. */ #if (defined __i386__ || defined __x86_64__) && defined __GNUC__ typedef unsigned short fpucw_t; /* glibc calls this fpu_control_t */ # define FPU_PC_MASK 0x0300 # define FPU_PC_DOUBLE 0x200 /* glibc calls this _FPU_DOUBLE */ # define FPU_PC_EXTENDED 0x300 /* glibc calls this _FPU_EXTENDED */ # define GET_FPUCW() __extension__ \ ({ fpucw_t _cw; \ __asm__ __volatile__ ("fnstcw %0" : "=m" (*&_cw)); \ _cw; \ }) # define SET_FPUCW(word) __extension__ \ (void)({ fpucw_t _ncw = (word); \ __asm__ __volatile__ ("fldcw %0" : : "m" (*&_ncw)); \ }) # define DECL_LONG_DOUBLE_ROUNDING \ fpucw_t oldcw; # define BEGIN_LONG_DOUBLE_ROUNDING() \ (void)(oldcw = GET_FPUCW (), \ SET_FPUCW ((oldcw & ~FPU_PC_MASK) | FPU_PC_EXTENDED)) # define END_LONG_DOUBLE_ROUNDING() \ SET_FPUCW (oldcw) #else typedef unsigned int fpucw_t; # define FPU_PC_MASK 0 # define FPU_PC_DOUBLE 0 # define FPU_PC_EXTENDED 0 # define GET_FPUCW() 0 # define SET_FPUCW(word) (void)(word) # define DECL_LONG_DOUBLE_ROUNDING # define BEGIN_LONG_DOUBLE_ROUNDING() # define END_LONG_DOUBLE_ROUNDING() #endif #endif /* _FPUCW_H */ gsasl-1.8.1/gltests/wctomb-impl.h0000644000000000000000000000211313516251601013606 00000000000000/* Convert wide character to multibyte character. Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. 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 3 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, see . */ int wctomb (char *s, wchar_t wc) { if (s == NULL) return 0; else { mbstate_t state; size_t result; memset (&state, 0, sizeof (mbstate_t)); result = wcrtomb (s, wc, &state); if (result == (size_t)-1) return -1; return result; } } gsasl-1.8.1/gltests/test-localename.c0000644000000000000000000006005113516251600014430 00000000000000/* Test of gl_locale_name function and its variants. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include "localename.h" #include #include #include #include "macros.h" #if HAVE_NEWLOCALE && HAVE_WORKING_USELOCALE && !HAVE_FAKE_LOCALES # define HAVE_GOOD_USELOCALE 1 #endif #if HAVE_GOOD_USELOCALE static struct { int cat; int mask; const char *string; } const categories[] = { { LC_CTYPE, LC_CTYPE_MASK, "LC_CTYPE" }, { LC_NUMERIC, LC_NUMERIC_MASK, "LC_NUMERIC" }, { LC_TIME, LC_TIME_MASK, "LC_TIME" }, { LC_COLLATE, LC_COLLATE_MASK, "LC_COLLATE" }, { LC_MONETARY, LC_MONETARY_MASK, "LC_MONETARY" }, { LC_MESSAGES, LC_MESSAGES_MASK, "LC_MESSAGES" } # ifdef LC_PAPER , { LC_PAPER, LC_PAPER_MASK, "LC_PAPER" } # endif # ifdef LC_NAME , { LC_NAME, LC_NAME_MASK, "LC_NAME" } # endif # ifdef LC_ADDRESS , { LC_ADDRESS, LC_ADDRESS_MASK, "LC_ADDRESS" } # endif # ifdef LC_TELEPHONE , { LC_TELEPHONE, LC_TELEPHONE_MASK, "LC_TELEPHONE" } # endif # ifdef LC_MEASUREMENT , { LC_MEASUREMENT, LC_MEASUREMENT_MASK, "LC_MEASUREMENT" } # endif # ifdef LC_IDENTIFICATION , { LC_IDENTIFICATION, LC_IDENTIFICATION_MASK, "LC_IDENTIFICATION" } # endif }; #endif /* Test the gl_locale_name() function. */ static void test_locale_name (void) { const char *ret; const char *name; /* Check that gl_locale_name returns non-NULL. */ ASSERT (gl_locale_name (LC_MESSAGES, "LC_MESSAGES") != NULL); /* Get into a defined state, */ setlocale (LC_ALL, "en_US.UTF-8"); #if HAVE_GOOD_USELOCALE uselocale (LC_GLOBAL_LOCALE); #endif /* Check that when all environment variables are unset, gl_locale_name returns the default locale. */ unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LC_NUMERIC"); unsetenv ("LANG"); /* Need also to unset all environment variables that specify standard or non-standard locale categories. Otherwise, on glibc systems, when some of these variables are set and reference a nonexistent locale, the setlocale (LC_ALL, "") call below would fail. */ unsetenv ("LC_COLLATE"); unsetenv ("LC_MONETARY"); unsetenv ("LC_TIME"); unsetenv ("LC_ADDRESS"); unsetenv ("LC_IDENTIFICATION"); unsetenv ("LC_MEASUREMENT"); unsetenv ("LC_NAME"); unsetenv ("LC_PAPER"); unsetenv ("LC_TELEPHONE"); ret = setlocale (LC_ALL, ""); ASSERT (ret != NULL); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), gl_locale_name_default ()) == 0); ASSERT (strcmp (gl_locale_name (LC_NUMERIC, "LC_NUMERIC"), gl_locale_name_default ()) == 0); /* Check that an empty environment variable is treated like an unset environment variable. */ setenv ("LC_ALL", "", 1); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); setlocale (LC_ALL, ""); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), gl_locale_name_default ()) == 0); unsetenv ("LC_ALL"); setenv ("LC_CTYPE", "", 1); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); setlocale (LC_ALL, ""); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), gl_locale_name_default ()) == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "", 1); unsetenv ("LANG"); setlocale (LC_ALL, ""); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), gl_locale_name_default ()) == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "", 1); setlocale (LC_ALL, ""); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), gl_locale_name_default ()) == 0); /* Check that LC_ALL overrides the others, and LANG is overridden by the others. */ setenv ("LC_ALL", "C", 1); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); setlocale (LC_ALL, ""); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), "C") == 0); unsetenv ("LC_ALL"); setenv ("LC_CTYPE", "C", 1); setenv ("LC_MESSAGES", "C", 1); unsetenv ("LANG"); setlocale (LC_ALL, ""); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), "C") == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "C", 1); setlocale (LC_ALL, ""); ASSERT (strcmp (gl_locale_name (LC_MESSAGES, "LC_MESSAGES"), "C") == 0); /* Check mixed situations. */ unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "fr_FR.UTF-8", 1); setenv ("LANG", "de_DE.UTF-8", 1); if (setlocale (LC_ALL, "") != NULL) { name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); #if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, here, gl_locale_name_thread (LC_CTYPE, "LC_CTYPE") returns NULL and gl_locale_name_posix (LC_CTYPE, "LC_CTYPE") returns either "de_DE" or "de_DE.UTF-8". */ ASSERT (strcmp (name, "de_DE") == 0 || strcmp (name, "de_DE.UTF-8") == 0); #else ASSERT (strcmp (name, "de_DE.UTF-8") == 0); #endif name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); } unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "fr_FR.UTF-8", 1); unsetenv ("LANG"); if (setlocale (LC_ALL, "") != NULL) { name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); ASSERT (strcmp (name, gl_locale_name_default ()) == 0); name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); } #if HAVE_GOOD_USELOCALE /* Check that gl_locale_name considers the thread locale. */ { locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); if (locale != NULL) { uselocale (locale); name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } /* Check that gl_locale_name distinguishes different categories of the thread locale, and that the name is the right one for each. */ { unsigned int i; for (i = 0; i < SIZEOF (categories); i++) { int category_mask = categories[i].mask; locale_t loc = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); if (loc != NULL) { locale_t locale = newlocale (category_mask, "de_DE.UTF-8", loc); if (locale == NULL) freelocale (loc); else { unsigned int j; uselocale (locale); for (j = 0; j < SIZEOF (categories); j++) { const char *name_j = gl_locale_name (categories[j].cat, categories[j].string); if (j == i) ASSERT (strcmp (name_j, "de_DE.UTF-8") == 0); else ASSERT (strcmp (name_j, "fr_FR.UTF-8") == 0); } uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } } } #endif } /* Test the gl_locale_name_thread() function. */ static void test_locale_name_thread (void) { /* Get into a defined state, */ setlocale (LC_ALL, "en_US.UTF-8"); #if HAVE_GOOD_USELOCALE /* Check that gl_locale_name_thread returns NULL when no thread locale is set. */ uselocale (LC_GLOBAL_LOCALE); ASSERT (gl_locale_name_thread (LC_CTYPE, "LC_CTYPE") == NULL); ASSERT (gl_locale_name_thread (LC_MESSAGES, "LC_MESSAGES") == NULL); /* Check that gl_locale_name_thread considers the thread locale. */ { locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); if (locale != NULL) { const char *name; uselocale (locale); name = gl_locale_name_thread (LC_CTYPE, "LC_CTYPE"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name = gl_locale_name_thread (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } /* Check that gl_locale_name_thread distinguishes different categories of the thread locale, and that the name is the right one for each. */ { unsigned int i; for (i = 0; i < SIZEOF (categories); i++) { int category_mask = categories[i].mask; locale_t loc = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); if (loc != NULL) { locale_t locale = newlocale (category_mask, "de_DE.UTF-8", loc); if (locale == NULL) freelocale (loc); else { unsigned int j; uselocale (locale); for (j = 0; j < SIZEOF (categories); j++) { const char *name_j = gl_locale_name_thread (categories[j].cat, categories[j].string); if (j == i) ASSERT (strcmp (name_j, "de_DE.UTF-8") == 0); else ASSERT (strcmp (name_j, "fr_FR.UTF-8") == 0); } uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } } } /* Check that gl_locale_name_thread returns a string that is allocated with indefinite extent. */ { /* Try many locale names in turn, in order to defeat possible caches. */ static const char * const choices[] = { "C", "POSIX", "af_ZA", "af_ZA.UTF-8", "am_ET", "am_ET.UTF-8", "be_BY", "be_BY.UTF-8", "bg_BG", "bg_BG.UTF-8", "ca_ES", "ca_ES.UTF-8", "cs_CZ", "cs_CZ.UTF-8", "da_DK", "da_DK.UTF-8", "de_AT", "de_AT.UTF-8", "de_CH", "de_CH.UTF-8", "de_DE", "de_DE.UTF-8", "el_GR", "el_GR.UTF-8", "en_AU", "en_AU.UTF-8", "en_CA", "en_CA.UTF-8", "en_GB", "en_GB.UTF-8", "en_IE", "en_IE.UTF-8", "en_NZ", "en_NZ.UTF-8", "en_US", "en_US.UTF-8", "es_ES", "es_ES.UTF-8", "et_EE", "et_EE.UTF-8", "eu_ES", "eu_ES.UTF-8", "fi_FI", "fi_FI.UTF-8", "fr_BE", "fr_BE.UTF-8", "fr_CA", "fr_CA.UTF-8", "fr_CH", "fr_CH.UTF-8", "fr_FR", "fr_FR.UTF-8", "he_IL", "he_IL.UTF-8", "hr_HR", "hr_HR.UTF-8", "hu_HU", "hu_HU.UTF-8", "hy_AM", "is_IS", "is_IS.UTF-8", "it_CH", "it_CH.UTF-8", "it_IT", "it_IT.UTF-8", "ja_JP.UTF-8", "kk_KZ", "kk_KZ.UTF-8", "ko_KR.UTF-8", "lt_LT", "lt_LT.UTF-8", "nl_BE", "nl_BE.UTF-8", "nl_NL", "nl_NL.UTF-8", "no_NO", "no_NO.UTF-8", "pl_PL", "pl_PL.UTF-8", "pt_BR", "pt_BR.UTF-8", "pt_PT", "pt_PT.UTF-8", "ro_RO", "ro_RO.UTF-8", "ru_RU", "ru_RU.UTF-8", "sk_SK", "sk_SK.UTF-8", "sl_SI", "sl_SI.UTF-8", "sv_SE", "sv_SE.UTF-8", "tr_TR", "tr_TR.UTF-8", "uk_UA", "uk_UA.UTF-8", "zh_CN", "zh_CN.UTF-8", "zh_HK", "zh_HK.UTF-8", "zh_TW", "zh_TW.UTF-8" }; /* Remember which locales are available. */ unsigned char /* bool */ available[SIZEOF (choices)]; /* Array of remembered results of gl_locale_name_thread. */ const char *unsaved_names[SIZEOF (choices)][SIZEOF (categories)]; /* Array of remembered results of gl_locale_name_thread, stored in safe memory. */ char *saved_names[SIZEOF (choices)][SIZEOF (categories)]; unsigned int j; for (j = 0; j < SIZEOF (choices); j++) { locale_t locale = newlocale (LC_ALL_MASK, choices[j], NULL); available[j] = (locale != NULL); if (locale != NULL) { unsigned int i; uselocale (locale); for (i = 0; i < SIZEOF (categories); i++) { unsaved_names[j][i] = gl_locale_name_thread (categories[i].cat, categories[i].string); saved_names[j][i] = strdup (unsaved_names[j][i]); } uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } /* Verify the unsaved_names are still valid. */ for (j = 0; j < SIZEOF (choices); j++) if (available[j]) { unsigned int i; for (i = 0; i < SIZEOF (categories); i++) ASSERT (strcmp (unsaved_names[j][i], saved_names[j][i]) == 0); } /* Allocate many locales, without freeing them. This is an attempt at overwriting as much of the previously allocated memory as possible. */ for (j = SIZEOF (choices); j > 0; ) { j--; if (available[j]) { locale_t locale = newlocale (LC_ALL_MASK, choices[j], NULL); unsigned int i; ASSERT (locale != NULL); uselocale (locale); for (i = 0; i < SIZEOF (categories); i++) { const char *name = gl_locale_name_thread (categories[i].cat, categories[i].string); ASSERT (strcmp (unsaved_names[j][i], name) == 0); } uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } /* Verify the unsaved_names are still valid. */ for (j = 0; j < SIZEOF (choices); j++) if (available[j]) { unsigned int i; for (i = 0; i < SIZEOF (categories); i++) { ASSERT (strcmp (unsaved_names[j][i], saved_names[j][i]) == 0); free (saved_names[j][i]); } } } #else /* Check that gl_locale_name_thread always returns NULL. */ ASSERT (gl_locale_name_thread (LC_CTYPE, "LC_CTYPE") == NULL); ASSERT (gl_locale_name_thread (LC_MESSAGES, "LC_MESSAGES") == NULL); #endif } /* Test the gl_locale_name_posix() function. */ static void test_locale_name_posix (void) { const char *ret; const char *name; /* Get into a defined state, */ setlocale (LC_ALL, "en_US.UTF-8"); #if HAVE_GOOD_USELOCALE uselocale (LC_GLOBAL_LOCALE); #endif /* Check that when all environment variables are unset, gl_locale_name_posix returns either NULL or the default locale. */ unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LC_NUMERIC"); unsetenv ("LANG"); /* Need also to unset all environment variables that specify standard or non-standard locale categories. Otherwise, on glibc systems, when some of these variables are set and reference a nonexistent locale, the setlocale (LC_ALL, "") call below would fail. */ unsetenv ("LC_COLLATE"); unsetenv ("LC_MONETARY"); unsetenv ("LC_TIME"); unsetenv ("LC_ADDRESS"); unsetenv ("LC_IDENTIFICATION"); unsetenv ("LC_MEASUREMENT"); unsetenv ("LC_NAME"); unsetenv ("LC_PAPER"); unsetenv ("LC_TELEPHONE"); ret = setlocale (LC_ALL, ""); ASSERT (ret != NULL); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name = gl_locale_name_posix (LC_NUMERIC, "LC_NUMERIC"); ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); /* Check that an empty environment variable is treated like an unset environment variable. */ setenv ("LC_ALL", "", 1); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); setlocale (LC_ALL, ""); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); unsetenv ("LC_ALL"); setenv ("LC_CTYPE", "", 1); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); setlocale (LC_ALL, ""); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "", 1); unsetenv ("LANG"); setlocale (LC_ALL, ""); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "", 1); setlocale (LC_ALL, ""); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); /* Check that LC_ALL overrides the others, and LANG is overridden by the others. */ setenv ("LC_ALL", "C", 1); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); setlocale (LC_ALL, ""); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); unsetenv ("LC_ALL"); setenv ("LC_CTYPE", "C", 1); setenv ("LC_MESSAGES", "C", 1); unsetenv ("LANG"); setlocale (LC_ALL, ""); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "C", 1); setlocale (LC_ALL, ""); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); /* Check mixed situations. */ unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "fr_FR.UTF-8", 1); setenv ("LANG", "de_DE.UTF-8", 1); if (setlocale (LC_ALL, "") != NULL) { name = gl_locale_name_posix (LC_CTYPE, "LC_CTYPE"); #if defined _WIN32 && !defined __CYGWIN__ ASSERT (strcmp (name, "de_DE") == 0 || strcmp (name, "de_DE.UTF-8") == 0); #else ASSERT (strcmp (name, "de_DE.UTF-8") == 0); #endif name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); } unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "fr_FR.UTF-8", 1); unsetenv ("LANG"); if (setlocale (LC_ALL, "") != NULL) { name = gl_locale_name_posix (LC_CTYPE, "LC_CTYPE"); ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); } #if HAVE_GOOD_USELOCALE /* Check that gl_locale_name_posix ignores the thread locale. */ { locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); if (locale != NULL) { unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "C", 1); setlocale (LC_ALL, ""); uselocale (locale); name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } #endif } /* Test the gl_locale_name_environ() function. */ static void test_locale_name_environ (void) { const char *name; /* Get into a defined state, */ setlocale (LC_ALL, "en_US.UTF-8"); #if HAVE_GOOD_USELOCALE uselocale (LC_GLOBAL_LOCALE); #endif /* Check that when all environment variables are unset, gl_locale_name_environ returns NULL. */ unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LC_NUMERIC"); unsetenv ("LANG"); ASSERT (gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES") == NULL); ASSERT (gl_locale_name_environ (LC_NUMERIC, "LC_NUMERIC") == NULL); /* Check that an empty environment variable is treated like an unset environment variable. */ setenv ("LC_ALL", "", 1); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); ASSERT (gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES") == NULL); unsetenv ("LC_ALL"); setenv ("LC_CTYPE", "", 1); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); ASSERT (gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES") == NULL); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "", 1); unsetenv ("LANG"); ASSERT (gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES") == NULL); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "", 1); ASSERT (gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES") == NULL); /* Check that LC_ALL overrides the others, and LANG is overridden by the others. */ setenv ("LC_ALL", "C", 1); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); unsetenv ("LANG"); name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); unsetenv ("LC_ALL"); setenv ("LC_CTYPE", "C", 1); setenv ("LC_MESSAGES", "C", 1); unsetenv ("LANG"); name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "C", 1); name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); /* Check mixed situations. */ unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "fr_FR.UTF-8", 1); setenv ("LANG", "de_DE.UTF-8", 1); name = gl_locale_name_environ (LC_CTYPE, "LC_CTYPE"); ASSERT (strcmp (name, "de_DE.UTF-8") == 0); name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); setenv ("LC_MESSAGES", "fr_FR.UTF-8", 1); unsetenv ("LANG"); name = gl_locale_name_environ (LC_CTYPE, "LC_CTYPE"); ASSERT (name == NULL); name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); #if HAVE_GOOD_USELOCALE /* Check that gl_locale_name_environ ignores the thread locale. */ { locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); if (locale != NULL) { unsetenv ("LC_ALL"); unsetenv ("LC_CTYPE"); unsetenv ("LC_MESSAGES"); setenv ("LANG", "C", 1); setlocale (LC_ALL, ""); uselocale (locale); name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); ASSERT (strcmp (name, "C") == 0); uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } #endif } /* Test the gl_locale_name_default() function. */ static void test_locale_name_default (void) { const char *name = gl_locale_name_default (); ASSERT (name != NULL); /* Only Mac OS X and Windows have a facility for the user to set the default locale. */ #if !((defined __APPLE__ && defined __MACH__) || (defined _WIN32 || defined __CYGWIN__)) ASSERT (strcmp (name, "C") == 0); #endif #if HAVE_GOOD_USELOCALE /* Check that gl_locale_name_default ignores the thread locale. */ { locale_t locale = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", NULL); if (locale != NULL) { uselocale (locale); ASSERT (strcmp (gl_locale_name_default (), name) == 0); uselocale (LC_GLOBAL_LOCALE); freelocale (locale); } } #endif } int main () { test_locale_name (); test_locale_name_thread (); test_locale_name_posix (); test_locale_name_environ (); test_locale_name_default (); return 0; } gsasl-1.8.1/gltests/test-inttypes.c0000644000000000000000000000606113516251600014210 00000000000000/* Test of substitute. Copyright (C) 2006-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include /* Tests for macros supposed to be defined in inttypes.h. */ const char *k = /* implicit string concatenation */ #ifdef INT8_MAX PRId8 PRIi8 #endif #ifdef UINT8_MAX PRIo8 PRIu8 PRIx8 PRIX8 #endif #ifdef INT16_MAX PRId16 PRIi16 #endif #ifdef UINT16_MAX PRIo16 PRIu16 PRIx16 PRIX16 #endif #ifdef INT32_MAX PRId32 PRIi32 #endif #ifdef UINT32_MAX PRIo32 PRIu32 PRIx32 PRIX32 #endif #ifdef INT64_MAX PRId64 PRIi64 #endif #ifdef UINT64_MAX PRIo64 PRIu64 PRIx64 PRIX64 #endif PRIdLEAST8 PRIiLEAST8 PRIoLEAST8 PRIuLEAST8 PRIxLEAST8 PRIXLEAST8 PRIdLEAST16 PRIiLEAST16 PRIoLEAST16 PRIuLEAST16 PRIxLEAST16 PRIXLEAST16 PRIdLEAST32 PRIiLEAST32 PRIoLEAST32 PRIuLEAST32 PRIxLEAST32 PRIXLEAST32 PRIdLEAST64 PRIiLEAST64 PRIoLEAST64 PRIuLEAST64 PRIxLEAST64 PRIXLEAST64 PRIdFAST8 PRIiFAST8 PRIoFAST8 PRIuFAST8 PRIxFAST8 PRIXFAST8 PRIdFAST16 PRIiFAST16 PRIoFAST16 PRIuFAST16 PRIxFAST16 PRIXFAST16 PRIdFAST32 PRIiFAST32 PRIoFAST32 PRIuFAST32 PRIxFAST32 PRIXFAST32 PRIdFAST64 PRIiFAST64 PRIoFAST64 PRIuFAST64 PRIxFAST64 PRIXFAST64 PRIdMAX PRIiMAX PRIoMAX PRIuMAX PRIxMAX PRIXMAX #ifdef INTPTR_MAX PRIdPTR PRIiPTR #endif #ifdef UINTPTR_MAX PRIoPTR PRIuPTR PRIxPTR PRIXPTR #endif ; const char *l = /* implicit string concatenation */ #ifdef INT8_MAX SCNd8 SCNi8 #endif #ifdef UINT8_MAX SCNo8 SCNu8 SCNx8 #endif #ifdef INT16_MAX SCNd16 SCNi16 #endif #ifdef UINT16_MAX SCNo16 SCNu16 SCNx16 #endif #ifdef INT32_MAX SCNd32 SCNi32 #endif #ifdef UINT32_MAX SCNo32 SCNu32 SCNx32 #endif #ifdef INT64_MAX SCNd64 SCNi64 #endif #ifdef UINT64_MAX SCNo64 SCNu64 SCNx64 #endif SCNdLEAST8 SCNiLEAST8 SCNoLEAST8 SCNuLEAST8 SCNxLEAST8 SCNdLEAST16 SCNiLEAST16 SCNoLEAST16 SCNuLEAST16 SCNxLEAST16 SCNdLEAST32 SCNiLEAST32 SCNoLEAST32 SCNuLEAST32 SCNxLEAST32 SCNdLEAST64 SCNiLEAST64 SCNoLEAST64 SCNuLEAST64 SCNxLEAST64 SCNdFAST8 SCNiFAST8 SCNoFAST8 SCNuFAST8 SCNxFAST8 SCNdFAST16 SCNiFAST16 SCNoFAST16 SCNuFAST16 SCNxFAST16 SCNdFAST32 SCNiFAST32 SCNoFAST32 SCNuFAST32 SCNxFAST32 SCNdFAST64 SCNiFAST64 SCNoFAST64 SCNuFAST64 SCNxFAST64 SCNdMAX SCNiMAX SCNoMAX SCNuMAX SCNxMAX #ifdef INTPTR_MAX SCNdPTR SCNiPTR #endif #ifdef UINTPTR_MAX SCNoPTR SCNuPTR SCNxPTR #endif ; int main (void) { return 0; } gsasl-1.8.1/gltests/localename.c0000644000000000000000000030510513516251577013472 00000000000000/* Determine name of the currently selected locale. Copyright (C) 1995-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Ulrich Drepper , 1995. */ /* Native Windows code written by Tor Lillqvist . */ /* Mac OS X code written by Bruno Haible . */ #include /* Specification. */ #ifdef IN_LIBINTL # include "gettextP.h" #else # include "localename.h" #endif #include #include #include #include #include #include "flexmember.h" /* We cannot support uselocale() on platforms where the locale_t type is fake. See intl-thread-locale.m4 for details. */ #if HAVE_WORKING_USELOCALE && !HAVE_FAKE_LOCALES # define HAVE_GOOD_USELOCALE 1 #endif #if HAVE_GOOD_USELOCALE /* Mac OS X 10.5 defines the locale_t type in . */ # if defined __APPLE__ && defined __MACH__ # include # endif # if (__GLIBC__ >= 2 && !defined __UCLIBC__) || (defined __linux__ && HAVE_LANGINFO_H) || defined __CYGWIN__ # include # endif # if !defined IN_LIBINTL # include "glthread/lock.h" # endif # if defined __sun # if HAVE_GETLOCALENAME_L /* Solaris >= 12. */ extern char * getlocalename_l(int, locale_t); # elif HAVE_SOLARIS114_LOCALES # include # endif # endif # if HAVE_NAMELESS_LOCALES # include # include "localename-table.h" # endif #endif #if HAVE_CFPREFERENCESCOPYAPPVALUE # include # include #endif #if defined _WIN32 && !defined __CYGWIN__ # define WINDOWS_NATIVE # if !defined IN_LIBINTL # include "glthread/lock.h" # endif #endif #if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Native Windows or Cygwin */ # define WIN32_LEAN_AND_MEAN # include # include /* List of language codes, sorted by value: 0x01 LANG_ARABIC 0x02 LANG_BULGARIAN 0x03 LANG_CATALAN 0x04 LANG_CHINESE 0x05 LANG_CZECH 0x06 LANG_DANISH 0x07 LANG_GERMAN 0x08 LANG_GREEK 0x09 LANG_ENGLISH 0x0a LANG_SPANISH 0x0b LANG_FINNISH 0x0c LANG_FRENCH 0x0d LANG_HEBREW 0x0e LANG_HUNGARIAN 0x0f LANG_ICELANDIC 0x10 LANG_ITALIAN 0x11 LANG_JAPANESE 0x12 LANG_KOREAN 0x13 LANG_DUTCH 0x14 LANG_NORWEGIAN 0x15 LANG_POLISH 0x16 LANG_PORTUGUESE 0x17 LANG_ROMANSH 0x18 LANG_ROMANIAN 0x19 LANG_RUSSIAN 0x1a LANG_CROATIAN == LANG_SERBIAN 0x1b LANG_SLOVAK 0x1c LANG_ALBANIAN 0x1d LANG_SWEDISH 0x1e LANG_THAI 0x1f LANG_TURKISH 0x20 LANG_URDU 0x21 LANG_INDONESIAN 0x22 LANG_UKRAINIAN 0x23 LANG_BELARUSIAN 0x24 LANG_SLOVENIAN 0x25 LANG_ESTONIAN 0x26 LANG_LATVIAN 0x27 LANG_LITHUANIAN 0x28 LANG_TAJIK 0x29 LANG_FARSI 0x2a LANG_VIETNAMESE 0x2b LANG_ARMENIAN 0x2c LANG_AZERI 0x2d LANG_BASQUE 0x2e LANG_SORBIAN 0x2f LANG_MACEDONIAN 0x30 LANG_SUTU 0x31 LANG_TSONGA 0x32 LANG_TSWANA 0x33 LANG_VENDA 0x34 LANG_XHOSA 0x35 LANG_ZULU 0x36 LANG_AFRIKAANS 0x37 LANG_GEORGIAN 0x38 LANG_FAEROESE 0x39 LANG_HINDI 0x3a LANG_MALTESE 0x3b LANG_SAMI 0x3c LANG_GAELIC 0x3d LANG_YIDDISH 0x3e LANG_MALAY 0x3f LANG_KAZAK 0x40 LANG_KYRGYZ 0x41 LANG_SWAHILI 0x42 LANG_TURKMEN 0x43 LANG_UZBEK 0x44 LANG_TATAR 0x45 LANG_BENGALI 0x46 LANG_PUNJABI 0x47 LANG_GUJARATI 0x48 LANG_ORIYA 0x49 LANG_TAMIL 0x4a LANG_TELUGU 0x4b LANG_KANNADA 0x4c LANG_MALAYALAM 0x4d LANG_ASSAMESE 0x4e LANG_MARATHI 0x4f LANG_SANSKRIT 0x50 LANG_MONGOLIAN 0x51 LANG_TIBETAN 0x52 LANG_WELSH 0x53 LANG_CAMBODIAN 0x54 LANG_LAO 0x55 LANG_BURMESE 0x56 LANG_GALICIAN 0x57 LANG_KONKANI 0x58 LANG_MANIPURI 0x59 LANG_SINDHI 0x5a LANG_SYRIAC 0x5b LANG_SINHALESE 0x5c LANG_CHEROKEE 0x5d LANG_INUKTITUT 0x5e LANG_AMHARIC 0x5f LANG_TAMAZIGHT 0x60 LANG_KASHMIRI 0x61 LANG_NEPALI 0x62 LANG_FRISIAN 0x63 LANG_PASHTO 0x64 LANG_TAGALOG 0x65 LANG_DIVEHI 0x66 LANG_EDO 0x67 LANG_FULFULDE 0x68 LANG_HAUSA 0x69 LANG_IBIBIO 0x6a LANG_YORUBA 0x6d LANG_BASHKIR 0x6e LANG_LUXEMBOURGISH 0x6f LANG_GREENLANDIC 0x70 LANG_IGBO 0x71 LANG_KANURI 0x72 LANG_OROMO 0x73 LANG_TIGRINYA 0x74 LANG_GUARANI 0x75 LANG_HAWAIIAN 0x76 LANG_LATIN 0x77 LANG_SOMALI 0x78 LANG_YI 0x79 LANG_PAPIAMENTU 0x7a LANG_MAPUDUNGUN 0x7c LANG_MOHAWK 0x7e LANG_BRETON 0x82 LANG_OCCITAN 0x83 LANG_CORSICAN 0x84 LANG_ALSATIAN 0x85 LANG_YAKUT 0x86 LANG_KICHE 0x87 LANG_KINYARWANDA 0x88 LANG_WOLOF 0x8c LANG_DARI 0x91 LANG_SCOTTISH_GAELIC */ /* Mingw headers don't have latest language and sublanguage codes. */ # ifndef LANG_AFRIKAANS # define LANG_AFRIKAANS 0x36 # endif # ifndef LANG_ALBANIAN # define LANG_ALBANIAN 0x1c # endif # ifndef LANG_ALSATIAN # define LANG_ALSATIAN 0x84 # endif # ifndef LANG_AMHARIC # define LANG_AMHARIC 0x5e # endif # ifndef LANG_ARABIC # define LANG_ARABIC 0x01 # endif # ifndef LANG_ARMENIAN # define LANG_ARMENIAN 0x2b # endif # ifndef LANG_ASSAMESE # define LANG_ASSAMESE 0x4d # endif # ifndef LANG_AZERI # define LANG_AZERI 0x2c # endif # ifndef LANG_BASHKIR # define LANG_BASHKIR 0x6d # endif # ifndef LANG_BASQUE # define LANG_BASQUE 0x2d # endif # ifndef LANG_BELARUSIAN # define LANG_BELARUSIAN 0x23 # endif # ifndef LANG_BENGALI # define LANG_BENGALI 0x45 # endif # ifndef LANG_BRETON # define LANG_BRETON 0x7e # endif # ifndef LANG_BURMESE # define LANG_BURMESE 0x55 # endif # ifndef LANG_CAMBODIAN # define LANG_CAMBODIAN 0x53 # endif # ifndef LANG_CATALAN # define LANG_CATALAN 0x03 # endif # ifndef LANG_CHEROKEE # define LANG_CHEROKEE 0x5c # endif # ifndef LANG_CORSICAN # define LANG_CORSICAN 0x83 # endif # ifndef LANG_DARI # define LANG_DARI 0x8c # endif # ifndef LANG_DIVEHI # define LANG_DIVEHI 0x65 # endif # ifndef LANG_EDO # define LANG_EDO 0x66 # endif # ifndef LANG_ESTONIAN # define LANG_ESTONIAN 0x25 # endif # ifndef LANG_FAEROESE # define LANG_FAEROESE 0x38 # endif # ifndef LANG_FARSI # define LANG_FARSI 0x29 # endif # ifndef LANG_FRISIAN # define LANG_FRISIAN 0x62 # endif # ifndef LANG_FULFULDE # define LANG_FULFULDE 0x67 # endif # ifndef LANG_GAELIC # define LANG_GAELIC 0x3c # endif # ifndef LANG_GALICIAN # define LANG_GALICIAN 0x56 # endif # ifndef LANG_GEORGIAN # define LANG_GEORGIAN 0x37 # endif # ifndef LANG_GREENLANDIC # define LANG_GREENLANDIC 0x6f # endif # ifndef LANG_GUARANI # define LANG_GUARANI 0x74 # endif # ifndef LANG_GUJARATI # define LANG_GUJARATI 0x47 # endif # ifndef LANG_HAUSA # define LANG_HAUSA 0x68 # endif # ifndef LANG_HAWAIIAN # define LANG_HAWAIIAN 0x75 # endif # ifndef LANG_HEBREW # define LANG_HEBREW 0x0d # endif # ifndef LANG_HINDI # define LANG_HINDI 0x39 # endif # ifndef LANG_IBIBIO # define LANG_IBIBIO 0x69 # endif # ifndef LANG_IGBO # define LANG_IGBO 0x70 # endif # ifndef LANG_INDONESIAN # define LANG_INDONESIAN 0x21 # endif # ifndef LANG_INUKTITUT # define LANG_INUKTITUT 0x5d # endif # ifndef LANG_KANNADA # define LANG_KANNADA 0x4b # endif # ifndef LANG_KANURI # define LANG_KANURI 0x71 # endif # ifndef LANG_KASHMIRI # define LANG_KASHMIRI 0x60 # endif # ifndef LANG_KAZAK # define LANG_KAZAK 0x3f # endif # ifndef LANG_KICHE # define LANG_KICHE 0x86 # endif # ifndef LANG_KINYARWANDA # define LANG_KINYARWANDA 0x87 # endif # ifndef LANG_KONKANI # define LANG_KONKANI 0x57 # endif # ifndef LANG_KYRGYZ # define LANG_KYRGYZ 0x40 # endif # ifndef LANG_LAO # define LANG_LAO 0x54 # endif # ifndef LANG_LATIN # define LANG_LATIN 0x76 # endif # ifndef LANG_LATVIAN # define LANG_LATVIAN 0x26 # endif # ifndef LANG_LITHUANIAN # define LANG_LITHUANIAN 0x27 # endif # ifndef LANG_LUXEMBOURGISH # define LANG_LUXEMBOURGISH 0x6e # endif # ifndef LANG_MACEDONIAN # define LANG_MACEDONIAN 0x2f # endif # ifndef LANG_MALAY # define LANG_MALAY 0x3e # endif # ifndef LANG_MALAYALAM # define LANG_MALAYALAM 0x4c # endif # ifndef LANG_MALTESE # define LANG_MALTESE 0x3a # endif # ifndef LANG_MANIPURI # define LANG_MANIPURI 0x58 # endif # ifndef LANG_MAORI # define LANG_MAORI 0x81 # endif # ifndef LANG_MAPUDUNGUN # define LANG_MAPUDUNGUN 0x7a # endif # ifndef LANG_MARATHI # define LANG_MARATHI 0x4e # endif # ifndef LANG_MOHAWK # define LANG_MOHAWK 0x7c # endif # ifndef LANG_MONGOLIAN # define LANG_MONGOLIAN 0x50 # endif # ifndef LANG_NEPALI # define LANG_NEPALI 0x61 # endif # ifndef LANG_OCCITAN # define LANG_OCCITAN 0x82 # endif # ifndef LANG_ORIYA # define LANG_ORIYA 0x48 # endif # ifndef LANG_OROMO # define LANG_OROMO 0x72 # endif # ifndef LANG_PAPIAMENTU # define LANG_PAPIAMENTU 0x79 # endif # ifndef LANG_PASHTO # define LANG_PASHTO 0x63 # endif # ifndef LANG_PUNJABI # define LANG_PUNJABI 0x46 # endif # ifndef LANG_QUECHUA # define LANG_QUECHUA 0x6b # endif # ifndef LANG_ROMANSH # define LANG_ROMANSH 0x17 # endif # ifndef LANG_SAMI # define LANG_SAMI 0x3b # endif # ifndef LANG_SANSKRIT # define LANG_SANSKRIT 0x4f # endif # ifndef LANG_SCOTTISH_GAELIC # define LANG_SCOTTISH_GAELIC 0x91 # endif # ifndef LANG_SERBIAN # define LANG_SERBIAN 0x1a # endif # ifndef LANG_SINDHI # define LANG_SINDHI 0x59 # endif # ifndef LANG_SINHALESE # define LANG_SINHALESE 0x5b # endif # ifndef LANG_SLOVAK # define LANG_SLOVAK 0x1b # endif # ifndef LANG_SOMALI # define LANG_SOMALI 0x77 # endif # ifndef LANG_SORBIAN # define LANG_SORBIAN 0x2e # endif # ifndef LANG_SOTHO # define LANG_SOTHO 0x6c # endif # ifndef LANG_SUTU # define LANG_SUTU 0x30 # endif # ifndef LANG_SWAHILI # define LANG_SWAHILI 0x41 # endif # ifndef LANG_SYRIAC # define LANG_SYRIAC 0x5a # endif # ifndef LANG_TAGALOG # define LANG_TAGALOG 0x64 # endif # ifndef LANG_TAJIK # define LANG_TAJIK 0x28 # endif # ifndef LANG_TAMAZIGHT # define LANG_TAMAZIGHT 0x5f # endif # ifndef LANG_TAMIL # define LANG_TAMIL 0x49 # endif # ifndef LANG_TATAR # define LANG_TATAR 0x44 # endif # ifndef LANG_TELUGU # define LANG_TELUGU 0x4a # endif # ifndef LANG_THAI # define LANG_THAI 0x1e # endif # ifndef LANG_TIBETAN # define LANG_TIBETAN 0x51 # endif # ifndef LANG_TIGRINYA # define LANG_TIGRINYA 0x73 # endif # ifndef LANG_TSONGA # define LANG_TSONGA 0x31 # endif # ifndef LANG_TSWANA # define LANG_TSWANA 0x32 # endif # ifndef LANG_TURKMEN # define LANG_TURKMEN 0x42 # endif # ifndef LANG_UIGHUR # define LANG_UIGHUR 0x80 # endif # ifndef LANG_UKRAINIAN # define LANG_UKRAINIAN 0x22 # endif # ifndef LANG_URDU # define LANG_URDU 0x20 # endif # ifndef LANG_UZBEK # define LANG_UZBEK 0x43 # endif # ifndef LANG_VENDA # define LANG_VENDA 0x33 # endif # ifndef LANG_VIETNAMESE # define LANG_VIETNAMESE 0x2a # endif # ifndef LANG_WELSH # define LANG_WELSH 0x52 # endif # ifndef LANG_WOLOF # define LANG_WOLOF 0x88 # endif # ifndef LANG_XHOSA # define LANG_XHOSA 0x34 # endif # ifndef LANG_YAKUT # define LANG_YAKUT 0x85 # endif # ifndef LANG_YI # define LANG_YI 0x78 # endif # ifndef LANG_YIDDISH # define LANG_YIDDISH 0x3d # endif # ifndef LANG_YORUBA # define LANG_YORUBA 0x6a # endif # ifndef LANG_ZULU # define LANG_ZULU 0x35 # endif # ifndef SUBLANG_AFRIKAANS_SOUTH_AFRICA # define SUBLANG_AFRIKAANS_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_ALBANIAN_ALBANIA # define SUBLANG_ALBANIAN_ALBANIA 0x01 # endif # ifndef SUBLANG_ALSATIAN_FRANCE # define SUBLANG_ALSATIAN_FRANCE 0x01 # endif # ifndef SUBLANG_AMHARIC_ETHIOPIA # define SUBLANG_AMHARIC_ETHIOPIA 0x01 # endif # ifndef SUBLANG_ARABIC_SAUDI_ARABIA # define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 # endif # ifndef SUBLANG_ARABIC_IRAQ # define SUBLANG_ARABIC_IRAQ 0x02 # endif # ifndef SUBLANG_ARABIC_EGYPT # define SUBLANG_ARABIC_EGYPT 0x03 # endif # ifndef SUBLANG_ARABIC_LIBYA # define SUBLANG_ARABIC_LIBYA 0x04 # endif # ifndef SUBLANG_ARABIC_ALGERIA # define SUBLANG_ARABIC_ALGERIA 0x05 # endif # ifndef SUBLANG_ARABIC_MOROCCO # define SUBLANG_ARABIC_MOROCCO 0x06 # endif # ifndef SUBLANG_ARABIC_TUNISIA # define SUBLANG_ARABIC_TUNISIA 0x07 # endif # ifndef SUBLANG_ARABIC_OMAN # define SUBLANG_ARABIC_OMAN 0x08 # endif # ifndef SUBLANG_ARABIC_YEMEN # define SUBLANG_ARABIC_YEMEN 0x09 # endif # ifndef SUBLANG_ARABIC_SYRIA # define SUBLANG_ARABIC_SYRIA 0x0a # endif # ifndef SUBLANG_ARABIC_JORDAN # define SUBLANG_ARABIC_JORDAN 0x0b # endif # ifndef SUBLANG_ARABIC_LEBANON # define SUBLANG_ARABIC_LEBANON 0x0c # endif # ifndef SUBLANG_ARABIC_KUWAIT # define SUBLANG_ARABIC_KUWAIT 0x0d # endif # ifndef SUBLANG_ARABIC_UAE # define SUBLANG_ARABIC_UAE 0x0e # endif # ifndef SUBLANG_ARABIC_BAHRAIN # define SUBLANG_ARABIC_BAHRAIN 0x0f # endif # ifndef SUBLANG_ARABIC_QATAR # define SUBLANG_ARABIC_QATAR 0x10 # endif # ifndef SUBLANG_ARMENIAN_ARMENIA # define SUBLANG_ARMENIAN_ARMENIA 0x01 # endif # ifndef SUBLANG_ASSAMESE_INDIA # define SUBLANG_ASSAMESE_INDIA 0x01 # endif # ifndef SUBLANG_AZERI_LATIN # define SUBLANG_AZERI_LATIN 0x01 # endif # ifndef SUBLANG_AZERI_CYRILLIC # define SUBLANG_AZERI_CYRILLIC 0x02 # endif # ifndef SUBLANG_BASHKIR_RUSSIA # define SUBLANG_BASHKIR_RUSSIA 0x01 # endif # ifndef SUBLANG_BASQUE_BASQUE # define SUBLANG_BASQUE_BASQUE 0x01 # endif # ifndef SUBLANG_BELARUSIAN_BELARUS # define SUBLANG_BELARUSIAN_BELARUS 0x01 # endif # ifndef SUBLANG_BENGALI_INDIA # define SUBLANG_BENGALI_INDIA 0x01 # endif # ifndef SUBLANG_BENGALI_BANGLADESH # define SUBLANG_BENGALI_BANGLADESH 0x02 # endif # ifndef SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN # define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN 0x05 # endif # ifndef SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC # define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x08 # endif # ifndef SUBLANG_BRETON_FRANCE # define SUBLANG_BRETON_FRANCE 0x01 # endif # ifndef SUBLANG_BULGARIAN_BULGARIA # define SUBLANG_BULGARIAN_BULGARIA 0x01 # endif # ifndef SUBLANG_CAMBODIAN_CAMBODIA # define SUBLANG_CAMBODIAN_CAMBODIA 0x01 # endif # ifndef SUBLANG_CATALAN_SPAIN # define SUBLANG_CATALAN_SPAIN 0x01 # endif # ifndef SUBLANG_CORSICAN_FRANCE # define SUBLANG_CORSICAN_FRANCE 0x01 # endif # ifndef SUBLANG_CROATIAN_CROATIA # define SUBLANG_CROATIAN_CROATIA 0x01 # endif # ifndef SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN # define SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN 0x04 # endif # ifndef SUBLANG_CHINESE_MACAU # define SUBLANG_CHINESE_MACAU 0x05 # endif # ifndef SUBLANG_CZECH_CZECH_REPUBLIC # define SUBLANG_CZECH_CZECH_REPUBLIC 0x01 # endif # ifndef SUBLANG_DANISH_DENMARK # define SUBLANG_DANISH_DENMARK 0x01 # endif # ifndef SUBLANG_DARI_AFGHANISTAN # define SUBLANG_DARI_AFGHANISTAN 0x01 # endif # ifndef SUBLANG_DIVEHI_MALDIVES # define SUBLANG_DIVEHI_MALDIVES 0x01 # endif # ifndef SUBLANG_DUTCH_SURINAM # define SUBLANG_DUTCH_SURINAM 0x03 # endif # ifndef SUBLANG_ENGLISH_SOUTH_AFRICA # define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 # endif # ifndef SUBLANG_ENGLISH_JAMAICA # define SUBLANG_ENGLISH_JAMAICA 0x08 # endif # ifndef SUBLANG_ENGLISH_CARIBBEAN # define SUBLANG_ENGLISH_CARIBBEAN 0x09 # endif # ifndef SUBLANG_ENGLISH_BELIZE # define SUBLANG_ENGLISH_BELIZE 0x0a # endif # ifndef SUBLANG_ENGLISH_TRINIDAD # define SUBLANG_ENGLISH_TRINIDAD 0x0b # endif # ifndef SUBLANG_ENGLISH_ZIMBABWE # define SUBLANG_ENGLISH_ZIMBABWE 0x0c # endif # ifndef SUBLANG_ENGLISH_PHILIPPINES # define SUBLANG_ENGLISH_PHILIPPINES 0x0d # endif # ifndef SUBLANG_ENGLISH_INDONESIA # define SUBLANG_ENGLISH_INDONESIA 0x0e # endif # ifndef SUBLANG_ENGLISH_HONGKONG # define SUBLANG_ENGLISH_HONGKONG 0x0f # endif # ifndef SUBLANG_ENGLISH_INDIA # define SUBLANG_ENGLISH_INDIA 0x10 # endif # ifndef SUBLANG_ENGLISH_MALAYSIA # define SUBLANG_ENGLISH_MALAYSIA 0x11 # endif # ifndef SUBLANG_ENGLISH_SINGAPORE # define SUBLANG_ENGLISH_SINGAPORE 0x12 # endif # ifndef SUBLANG_ESTONIAN_ESTONIA # define SUBLANG_ESTONIAN_ESTONIA 0x01 # endif # ifndef SUBLANG_FAEROESE_FAROE_ISLANDS # define SUBLANG_FAEROESE_FAROE_ISLANDS 0x01 # endif # ifndef SUBLANG_FARSI_IRAN # define SUBLANG_FARSI_IRAN 0x01 # endif # ifndef SUBLANG_FINNISH_FINLAND # define SUBLANG_FINNISH_FINLAND 0x01 # endif # ifndef SUBLANG_FRENCH_LUXEMBOURG # define SUBLANG_FRENCH_LUXEMBOURG 0x05 # endif # ifndef SUBLANG_FRENCH_MONACO # define SUBLANG_FRENCH_MONACO 0x06 # endif # ifndef SUBLANG_FRENCH_WESTINDIES # define SUBLANG_FRENCH_WESTINDIES 0x07 # endif # ifndef SUBLANG_FRENCH_REUNION # define SUBLANG_FRENCH_REUNION 0x08 # endif # ifndef SUBLANG_FRENCH_CONGO # define SUBLANG_FRENCH_CONGO 0x09 # endif # ifndef SUBLANG_FRENCH_SENEGAL # define SUBLANG_FRENCH_SENEGAL 0x0a # endif # ifndef SUBLANG_FRENCH_CAMEROON # define SUBLANG_FRENCH_CAMEROON 0x0b # endif # ifndef SUBLANG_FRENCH_COTEDIVOIRE # define SUBLANG_FRENCH_COTEDIVOIRE 0x0c # endif # ifndef SUBLANG_FRENCH_MALI # define SUBLANG_FRENCH_MALI 0x0d # endif # ifndef SUBLANG_FRENCH_MOROCCO # define SUBLANG_FRENCH_MOROCCO 0x0e # endif # ifndef SUBLANG_FRENCH_HAITI # define SUBLANG_FRENCH_HAITI 0x0f # endif # ifndef SUBLANG_FRISIAN_NETHERLANDS # define SUBLANG_FRISIAN_NETHERLANDS 0x01 # endif # ifndef SUBLANG_GALICIAN_SPAIN # define SUBLANG_GALICIAN_SPAIN 0x01 # endif # ifndef SUBLANG_GEORGIAN_GEORGIA # define SUBLANG_GEORGIAN_GEORGIA 0x01 # endif # ifndef SUBLANG_GERMAN_LUXEMBOURG # define SUBLANG_GERMAN_LUXEMBOURG 0x04 # endif # ifndef SUBLANG_GERMAN_LIECHTENSTEIN # define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 # endif # ifndef SUBLANG_GREEK_GREECE # define SUBLANG_GREEK_GREECE 0x01 # endif # ifndef SUBLANG_GREENLANDIC_GREENLAND # define SUBLANG_GREENLANDIC_GREENLAND 0x01 # endif # ifndef SUBLANG_GUJARATI_INDIA # define SUBLANG_GUJARATI_INDIA 0x01 # endif # ifndef SUBLANG_HAUSA_NIGERIA_LATIN # define SUBLANG_HAUSA_NIGERIA_LATIN 0x01 # endif # ifndef SUBLANG_HEBREW_ISRAEL # define SUBLANG_HEBREW_ISRAEL 0x01 # endif # ifndef SUBLANG_HINDI_INDIA # define SUBLANG_HINDI_INDIA 0x01 # endif # ifndef SUBLANG_HUNGARIAN_HUNGARY # define SUBLANG_HUNGARIAN_HUNGARY 0x01 # endif # ifndef SUBLANG_ICELANDIC_ICELAND # define SUBLANG_ICELANDIC_ICELAND 0x01 # endif # ifndef SUBLANG_IGBO_NIGERIA # define SUBLANG_IGBO_NIGERIA 0x01 # endif # ifndef SUBLANG_INDONESIAN_INDONESIA # define SUBLANG_INDONESIAN_INDONESIA 0x01 # endif # ifndef SUBLANG_INUKTITUT_CANADA # define SUBLANG_INUKTITUT_CANADA 0x01 # endif # undef SUBLANG_INUKTITUT_CANADA_LATIN # define SUBLANG_INUKTITUT_CANADA_LATIN 0x02 # undef SUBLANG_IRISH_IRELAND # define SUBLANG_IRISH_IRELAND 0x02 # ifndef SUBLANG_JAPANESE_JAPAN # define SUBLANG_JAPANESE_JAPAN 0x01 # endif # ifndef SUBLANG_KANNADA_INDIA # define SUBLANG_KANNADA_INDIA 0x01 # endif # ifndef SUBLANG_KASHMIRI_INDIA # define SUBLANG_KASHMIRI_INDIA 0x02 # endif # ifndef SUBLANG_KAZAK_KAZAKHSTAN # define SUBLANG_KAZAK_KAZAKHSTAN 0x01 # endif # ifndef SUBLANG_KICHE_GUATEMALA # define SUBLANG_KICHE_GUATEMALA 0x01 # endif # ifndef SUBLANG_KINYARWANDA_RWANDA # define SUBLANG_KINYARWANDA_RWANDA 0x01 # endif # ifndef SUBLANG_KONKANI_INDIA # define SUBLANG_KONKANI_INDIA 0x01 # endif # ifndef SUBLANG_KYRGYZ_KYRGYZSTAN # define SUBLANG_KYRGYZ_KYRGYZSTAN 0x01 # endif # ifndef SUBLANG_LAO_LAOS # define SUBLANG_LAO_LAOS 0x01 # endif # ifndef SUBLANG_LATVIAN_LATVIA # define SUBLANG_LATVIAN_LATVIA 0x01 # endif # ifndef SUBLANG_LITHUANIAN_LITHUANIA # define SUBLANG_LITHUANIAN_LITHUANIA 0x01 # endif # undef SUBLANG_LOWER_SORBIAN_GERMANY # define SUBLANG_LOWER_SORBIAN_GERMANY 0x02 # ifndef SUBLANG_LUXEMBOURGISH_LUXEMBOURG # define SUBLANG_LUXEMBOURGISH_LUXEMBOURG 0x01 # endif # ifndef SUBLANG_MACEDONIAN_MACEDONIA # define SUBLANG_MACEDONIAN_MACEDONIA 0x01 # endif # ifndef SUBLANG_MALAY_MALAYSIA # define SUBLANG_MALAY_MALAYSIA 0x01 # endif # ifndef SUBLANG_MALAY_BRUNEI_DARUSSALAM # define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 # endif # ifndef SUBLANG_MALAYALAM_INDIA # define SUBLANG_MALAYALAM_INDIA 0x01 # endif # ifndef SUBLANG_MALTESE_MALTA # define SUBLANG_MALTESE_MALTA 0x01 # endif # ifndef SUBLANG_MAORI_NEW_ZEALAND # define SUBLANG_MAORI_NEW_ZEALAND 0x01 # endif # ifndef SUBLANG_MAPUDUNGUN_CHILE # define SUBLANG_MAPUDUNGUN_CHILE 0x01 # endif # ifndef SUBLANG_MARATHI_INDIA # define SUBLANG_MARATHI_INDIA 0x01 # endif # ifndef SUBLANG_MOHAWK_CANADA # define SUBLANG_MOHAWK_CANADA 0x01 # endif # ifndef SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA # define SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA 0x01 # endif # ifndef SUBLANG_MONGOLIAN_PRC # define SUBLANG_MONGOLIAN_PRC 0x02 # endif # ifndef SUBLANG_NEPALI_NEPAL # define SUBLANG_NEPALI_NEPAL 0x01 # endif # ifndef SUBLANG_NEPALI_INDIA # define SUBLANG_NEPALI_INDIA 0x02 # endif # ifndef SUBLANG_OCCITAN_FRANCE # define SUBLANG_OCCITAN_FRANCE 0x01 # endif # ifndef SUBLANG_ORIYA_INDIA # define SUBLANG_ORIYA_INDIA 0x01 # endif # ifndef SUBLANG_PASHTO_AFGHANISTAN # define SUBLANG_PASHTO_AFGHANISTAN 0x01 # endif # ifndef SUBLANG_POLISH_POLAND # define SUBLANG_POLISH_POLAND 0x01 # endif # ifndef SUBLANG_PUNJABI_INDIA # define SUBLANG_PUNJABI_INDIA 0x01 # endif # ifndef SUBLANG_PUNJABI_PAKISTAN # define SUBLANG_PUNJABI_PAKISTAN 0x02 # endif # ifndef SUBLANG_QUECHUA_BOLIVIA # define SUBLANG_QUECHUA_BOLIVIA 0x01 # endif # ifndef SUBLANG_QUECHUA_ECUADOR # define SUBLANG_QUECHUA_ECUADOR 0x02 # endif # ifndef SUBLANG_QUECHUA_PERU # define SUBLANG_QUECHUA_PERU 0x03 # endif # ifndef SUBLANG_ROMANIAN_ROMANIA # define SUBLANG_ROMANIAN_ROMANIA 0x01 # endif # ifndef SUBLANG_ROMANIAN_MOLDOVA # define SUBLANG_ROMANIAN_MOLDOVA 0x02 # endif # ifndef SUBLANG_ROMANSH_SWITZERLAND # define SUBLANG_ROMANSH_SWITZERLAND 0x01 # endif # ifndef SUBLANG_RUSSIAN_RUSSIA # define SUBLANG_RUSSIAN_RUSSIA 0x01 # endif # ifndef SUBLANG_RUSSIAN_MOLDAVIA # define SUBLANG_RUSSIAN_MOLDAVIA 0x02 # endif # ifndef SUBLANG_SAMI_NORTHERN_NORWAY # define SUBLANG_SAMI_NORTHERN_NORWAY 0x01 # endif # ifndef SUBLANG_SAMI_NORTHERN_SWEDEN # define SUBLANG_SAMI_NORTHERN_SWEDEN 0x02 # endif # ifndef SUBLANG_SAMI_NORTHERN_FINLAND # define SUBLANG_SAMI_NORTHERN_FINLAND 0x03 # endif # ifndef SUBLANG_SAMI_LULE_NORWAY # define SUBLANG_SAMI_LULE_NORWAY 0x04 # endif # ifndef SUBLANG_SAMI_LULE_SWEDEN # define SUBLANG_SAMI_LULE_SWEDEN 0x05 # endif # ifndef SUBLANG_SAMI_SOUTHERN_NORWAY # define SUBLANG_SAMI_SOUTHERN_NORWAY 0x06 # endif # ifndef SUBLANG_SAMI_SOUTHERN_SWEDEN # define SUBLANG_SAMI_SOUTHERN_SWEDEN 0x07 # endif # undef SUBLANG_SAMI_SKOLT_FINLAND # define SUBLANG_SAMI_SKOLT_FINLAND 0x08 # undef SUBLANG_SAMI_INARI_FINLAND # define SUBLANG_SAMI_INARI_FINLAND 0x09 # ifndef SUBLANG_SANSKRIT_INDIA # define SUBLANG_SANSKRIT_INDIA 0x01 # endif # ifndef SUBLANG_SERBIAN_LATIN # define SUBLANG_SERBIAN_LATIN 0x02 # endif # ifndef SUBLANG_SERBIAN_CYRILLIC # define SUBLANG_SERBIAN_CYRILLIC 0x03 # endif # ifndef SUBLANG_SINDHI_INDIA # define SUBLANG_SINDHI_INDIA 0x01 # endif # undef SUBLANG_SINDHI_PAKISTAN # define SUBLANG_SINDHI_PAKISTAN 0x02 # ifndef SUBLANG_SINDHI_AFGHANISTAN # define SUBLANG_SINDHI_AFGHANISTAN 0x02 # endif # ifndef SUBLANG_SINHALESE_SRI_LANKA # define SUBLANG_SINHALESE_SRI_LANKA 0x01 # endif # ifndef SUBLANG_SLOVAK_SLOVAKIA # define SUBLANG_SLOVAK_SLOVAKIA 0x01 # endif # ifndef SUBLANG_SLOVENIAN_SLOVENIA # define SUBLANG_SLOVENIAN_SLOVENIA 0x01 # endif # ifndef SUBLANG_SOTHO_SOUTH_AFRICA # define SUBLANG_SOTHO_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_SPANISH_GUATEMALA # define SUBLANG_SPANISH_GUATEMALA 0x04 # endif # ifndef SUBLANG_SPANISH_COSTA_RICA # define SUBLANG_SPANISH_COSTA_RICA 0x05 # endif # ifndef SUBLANG_SPANISH_PANAMA # define SUBLANG_SPANISH_PANAMA 0x06 # endif # ifndef SUBLANG_SPANISH_DOMINICAN_REPUBLIC # define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 # endif # ifndef SUBLANG_SPANISH_VENEZUELA # define SUBLANG_SPANISH_VENEZUELA 0x08 # endif # ifndef SUBLANG_SPANISH_COLOMBIA # define SUBLANG_SPANISH_COLOMBIA 0x09 # endif # ifndef SUBLANG_SPANISH_PERU # define SUBLANG_SPANISH_PERU 0x0a # endif # ifndef SUBLANG_SPANISH_ARGENTINA # define SUBLANG_SPANISH_ARGENTINA 0x0b # endif # ifndef SUBLANG_SPANISH_ECUADOR # define SUBLANG_SPANISH_ECUADOR 0x0c # endif # ifndef SUBLANG_SPANISH_CHILE # define SUBLANG_SPANISH_CHILE 0x0d # endif # ifndef SUBLANG_SPANISH_URUGUAY # define SUBLANG_SPANISH_URUGUAY 0x0e # endif # ifndef SUBLANG_SPANISH_PARAGUAY # define SUBLANG_SPANISH_PARAGUAY 0x0f # endif # ifndef SUBLANG_SPANISH_BOLIVIA # define SUBLANG_SPANISH_BOLIVIA 0x10 # endif # ifndef SUBLANG_SPANISH_EL_SALVADOR # define SUBLANG_SPANISH_EL_SALVADOR 0x11 # endif # ifndef SUBLANG_SPANISH_HONDURAS # define SUBLANG_SPANISH_HONDURAS 0x12 # endif # ifndef SUBLANG_SPANISH_NICARAGUA # define SUBLANG_SPANISH_NICARAGUA 0x13 # endif # ifndef SUBLANG_SPANISH_PUERTO_RICO # define SUBLANG_SPANISH_PUERTO_RICO 0x14 # endif # ifndef SUBLANG_SPANISH_US # define SUBLANG_SPANISH_US 0x15 # endif # ifndef SUBLANG_SWAHILI_KENYA # define SUBLANG_SWAHILI_KENYA 0x01 # endif # ifndef SUBLANG_SWEDISH_SWEDEN # define SUBLANG_SWEDISH_SWEDEN 0x01 # endif # ifndef SUBLANG_SWEDISH_FINLAND # define SUBLANG_SWEDISH_FINLAND 0x02 # endif # ifndef SUBLANG_SYRIAC_SYRIA # define SUBLANG_SYRIAC_SYRIA 0x01 # endif # ifndef SUBLANG_TAGALOG_PHILIPPINES # define SUBLANG_TAGALOG_PHILIPPINES 0x01 # endif # ifndef SUBLANG_TAJIK_TAJIKISTAN # define SUBLANG_TAJIK_TAJIKISTAN 0x01 # endif # ifndef SUBLANG_TAMAZIGHT_ARABIC # define SUBLANG_TAMAZIGHT_ARABIC 0x01 # endif # ifndef SUBLANG_TAMAZIGHT_ALGERIA_LATIN # define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02 # endif # ifndef SUBLANG_TAMIL_INDIA # define SUBLANG_TAMIL_INDIA 0x01 # endif # ifndef SUBLANG_TATAR_RUSSIA # define SUBLANG_TATAR_RUSSIA 0x01 # endif # ifndef SUBLANG_TELUGU_INDIA # define SUBLANG_TELUGU_INDIA 0x01 # endif # ifndef SUBLANG_THAI_THAILAND # define SUBLANG_THAI_THAILAND 0x01 # endif # ifndef SUBLANG_TIBETAN_PRC # define SUBLANG_TIBETAN_PRC 0x01 # endif # undef SUBLANG_TIBETAN_BHUTAN # define SUBLANG_TIBETAN_BHUTAN 0x02 # ifndef SUBLANG_TIGRINYA_ETHIOPIA # define SUBLANG_TIGRINYA_ETHIOPIA 0x01 # endif # ifndef SUBLANG_TIGRINYA_ERITREA # define SUBLANG_TIGRINYA_ERITREA 0x02 # endif # ifndef SUBLANG_TSWANA_SOUTH_AFRICA # define SUBLANG_TSWANA_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_TURKISH_TURKEY # define SUBLANG_TURKISH_TURKEY 0x01 # endif # ifndef SUBLANG_TURKMEN_TURKMENISTAN # define SUBLANG_TURKMEN_TURKMENISTAN 0x01 # endif # ifndef SUBLANG_UIGHUR_PRC # define SUBLANG_UIGHUR_PRC 0x01 # endif # ifndef SUBLANG_UKRAINIAN_UKRAINE # define SUBLANG_UKRAINIAN_UKRAINE 0x01 # endif # ifndef SUBLANG_UPPER_SORBIAN_GERMANY # define SUBLANG_UPPER_SORBIAN_GERMANY 0x01 # endif # ifndef SUBLANG_URDU_PAKISTAN # define SUBLANG_URDU_PAKISTAN 0x01 # endif # ifndef SUBLANG_URDU_INDIA # define SUBLANG_URDU_INDIA 0x02 # endif # ifndef SUBLANG_UZBEK_LATIN # define SUBLANG_UZBEK_LATIN 0x01 # endif # ifndef SUBLANG_UZBEK_CYRILLIC # define SUBLANG_UZBEK_CYRILLIC 0x02 # endif # ifndef SUBLANG_VIETNAMESE_VIETNAM # define SUBLANG_VIETNAMESE_VIETNAM 0x01 # endif # ifndef SUBLANG_WELSH_UNITED_KINGDOM # define SUBLANG_WELSH_UNITED_KINGDOM 0x01 # endif # ifndef SUBLANG_WOLOF_SENEGAL # define SUBLANG_WOLOF_SENEGAL 0x01 # endif # ifndef SUBLANG_XHOSA_SOUTH_AFRICA # define SUBLANG_XHOSA_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_YAKUT_RUSSIA # define SUBLANG_YAKUT_RUSSIA 0x01 # endif # ifndef SUBLANG_YI_PRC # define SUBLANG_YI_PRC 0x01 # endif # ifndef SUBLANG_YORUBA_NIGERIA # define SUBLANG_YORUBA_NIGERIA 0x01 # endif # ifndef SUBLANG_ZULU_SOUTH_AFRICA # define SUBLANG_ZULU_SOUTH_AFRICA 0x01 # endif /* GetLocaleInfoA operations. */ # ifndef LOCALE_SNAME # define LOCALE_SNAME 0x5c # endif # ifndef LOCALE_NAME_MAX_LENGTH # define LOCALE_NAME_MAX_LENGTH 85 # endif #endif #if HAVE_CFPREFERENCESCOPYAPPVALUE /* Mac OS X 10.4 or newer */ /* Canonicalize a Mac OS X locale name to a Unix locale name. NAME is a sufficiently large buffer. On input, it contains the Mac OS X locale name. On output, it contains the Unix locale name. */ # if !defined IN_LIBINTL static # endif void gl_locale_name_canonicalize (char *name) { /* This conversion is based on a posting by Deborah GoldSmith on 2005-03-08, https://lists.apple.com/archives/carbon-dev/2005/Mar/msg00293.html */ /* Convert legacy (NeXTstep inherited) English names to Unix (ISO 639 and ISO 3166) names. Prior to Mac OS X 10.3, there is no API for doing this. Therefore we do it ourselves, using a table based on the results of the Mac OS X 10.3.8 function CFLocaleCreateCanonicalLocaleIdentifierFromString(). */ typedef struct { const char legacy[21+1]; const char unixy[5+1]; } legacy_entry; static const legacy_entry legacy_table[] = { { "Afrikaans", "af" }, { "Albanian", "sq" }, { "Amharic", "am" }, { "Arabic", "ar" }, { "Armenian", "hy" }, { "Assamese", "as" }, { "Aymara", "ay" }, { "Azerbaijani", "az" }, { "Basque", "eu" }, { "Belarusian", "be" }, { "Belorussian", "be" }, { "Bengali", "bn" }, { "Brazilian Portugese", "pt_BR" }, { "Brazilian Portuguese", "pt_BR" }, { "Breton", "br" }, { "Bulgarian", "bg" }, { "Burmese", "my" }, { "Byelorussian", "be" }, { "Catalan", "ca" }, { "Chewa", "ny" }, { "Chichewa", "ny" }, { "Chinese", "zh" }, { "Chinese, Simplified", "zh_CN" }, { "Chinese, Traditional", "zh_TW" }, { "Chinese, Tradtional", "zh_TW" }, { "Croatian", "hr" }, { "Czech", "cs" }, { "Danish", "da" }, { "Dutch", "nl" }, { "Dzongkha", "dz" }, { "English", "en" }, { "Esperanto", "eo" }, { "Estonian", "et" }, { "Faroese", "fo" }, { "Farsi", "fa" }, { "Finnish", "fi" }, { "Flemish", "nl_BE" }, { "French", "fr" }, { "Galician", "gl" }, { "Gallegan", "gl" }, { "Georgian", "ka" }, { "German", "de" }, { "Greek", "el" }, { "Greenlandic", "kl" }, { "Guarani", "gn" }, { "Gujarati", "gu" }, { "Hawaiian", "haw" }, /* Yes, "haw", not "cpe". */ { "Hebrew", "he" }, { "Hindi", "hi" }, { "Hungarian", "hu" }, { "Icelandic", "is" }, { "Indonesian", "id" }, { "Inuktitut", "iu" }, { "Irish", "ga" }, { "Italian", "it" }, { "Japanese", "ja" }, { "Javanese", "jv" }, { "Kalaallisut", "kl" }, { "Kannada", "kn" }, { "Kashmiri", "ks" }, { "Kazakh", "kk" }, { "Khmer", "km" }, { "Kinyarwanda", "rw" }, { "Kirghiz", "ky" }, { "Korean", "ko" }, { "Kurdish", "ku" }, { "Latin", "la" }, { "Latvian", "lv" }, { "Lithuanian", "lt" }, { "Macedonian", "mk" }, { "Malagasy", "mg" }, { "Malay", "ms" }, { "Malayalam", "ml" }, { "Maltese", "mt" }, { "Manx", "gv" }, { "Marathi", "mr" }, { "Moldavian", "mo" }, { "Mongolian", "mn" }, { "Nepali", "ne" }, { "Norwegian", "nb" }, /* Yes, "nb", not the obsolete "no". */ { "Nyanja", "ny" }, { "Nynorsk", "nn" }, { "Oriya", "or" }, { "Oromo", "om" }, { "Panjabi", "pa" }, { "Pashto", "ps" }, { "Persian", "fa" }, { "Polish", "pl" }, { "Portuguese", "pt" }, { "Portuguese, Brazilian", "pt_BR" }, { "Punjabi", "pa" }, { "Pushto", "ps" }, { "Quechua", "qu" }, { "Romanian", "ro" }, { "Ruanda", "rw" }, { "Rundi", "rn" }, { "Russian", "ru" }, { "Sami", "se_NO" }, /* Not just "se". */ { "Sanskrit", "sa" }, { "Scottish", "gd" }, { "Serbian", "sr" }, { "Simplified Chinese", "zh_CN" }, { "Sindhi", "sd" }, { "Sinhalese", "si" }, { "Slovak", "sk" }, { "Slovenian", "sl" }, { "Somali", "so" }, { "Spanish", "es" }, { "Sundanese", "su" }, { "Swahili", "sw" }, { "Swedish", "sv" }, { "Tagalog", "tl" }, { "Tajik", "tg" }, { "Tajiki", "tg" }, { "Tamil", "ta" }, { "Tatar", "tt" }, { "Telugu", "te" }, { "Thai", "th" }, { "Tibetan", "bo" }, { "Tigrinya", "ti" }, { "Tongan", "to" }, { "Traditional Chinese", "zh_TW" }, { "Turkish", "tr" }, { "Turkmen", "tk" }, { "Uighur", "ug" }, { "Ukrainian", "uk" }, { "Urdu", "ur" }, { "Uzbek", "uz" }, { "Vietnamese", "vi" }, { "Welsh", "cy" }, { "Yiddish", "yi" } }; /* Convert new-style locale names with language tags (ISO 639 and ISO 15924) to Unix (ISO 639 and ISO 3166) names. */ typedef struct { const char langtag[7+1]; const char unixy[12+1]; } langtag_entry; static const langtag_entry langtag_table[] = { /* Mac OS X has "az-Arab", "az-Cyrl", "az-Latn". The default script for az on Unix is Latin. */ { "az-Latn", "az" }, /* Mac OS X has "bs-Cyrl", "bs-Latn". The default script for bs on Unix is Latin. */ { "bs-Latn", "bs" }, /* Mac OS X has "ga-dots". Does not yet exist on Unix. */ { "ga-dots", "ga" }, /* Mac OS X has "kk-Cyrl". The default script for kk on Unix is Cyrillic. */ { "kk-Cyrl", "kk" }, /* Mac OS X has "mn-Cyrl", "mn-Mong". The default script for mn on Unix is Cyrillic. */ { "mn-Cyrl", "mn" }, /* Mac OS X has "ms-Arab", "ms-Latn". The default script for ms on Unix is Latin. */ { "ms-Latn", "ms" }, /* Mac OS X has "pa-Arab", "pa-Guru". Country codes are used to distinguish these on Unix. */ { "pa-Arab", "pa_PK" }, { "pa-Guru", "pa_IN" }, /* Mac OS X has "shi-Latn", "shi-Tfng". Does not yet exist on Unix. */ /* Mac OS X has "sr-Cyrl", "sr-Latn". The default script for sr on Unix is Cyrillic. */ { "sr-Cyrl", "sr" }, /* Mac OS X has "tg-Cyrl". The default script for tg on Unix is Cyrillic. */ { "tg-Cyrl", "tg" }, /* Mac OS X has "tk-Cyrl". The default script for tk on Unix is Cyrillic. */ { "tk-Cyrl", "tk" }, /* Mac OS X has "tt-Cyrl". The default script for tt on Unix is Cyrillic. */ { "tt-Cyrl", "tt" }, /* Mac OS X has "uz-Arab", "uz-Cyrl", "uz-Latn". The default script for uz on Unix is Latin. */ { "uz-Latn", "uz" }, /* Mac OS X has "vai-Latn", "vai-Vaii". Does not yet exist on Unix. */ /* Mac OS X has "yue-Hans", "yue-Hant". The default script for yue on Unix is Simplified Han. */ { "yue-Hans", "yue" }, /* Mac OS X has "zh-Hans", "zh-Hant". Country codes are used to distinguish these on Unix. */ { "zh-Hans", "zh_CN" }, { "zh-Hant", "zh_TW" } }; /* Convert script names (ISO 15924) to Unix conventions. See https://www.unicode.org/iso15924/iso15924-codes.html */ typedef struct { const char script[4+1]; const char unixy[9+1]; } script_entry; static const script_entry script_table[] = { { "Arab", "arabic" }, { "Cyrl", "cyrillic" }, { "Latn", "latin" }, { "Mong", "mongolian" } }; /* Step 1: Convert using legacy_table. */ if (name[0] >= 'A' && name[0] <= 'Z') { unsigned int i1, i2; i1 = 0; i2 = sizeof (legacy_table) / sizeof (legacy_entry); while (i2 - i1 > 1) { /* At this point we know that if name occurs in legacy_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const legacy_entry *p = &legacy_table[i]; if (strcmp (name, p->legacy) < 0) i2 = i; else i1 = i; } if (strcmp (name, legacy_table[i1].legacy) == 0) { strcpy (name, legacy_table[i1].unixy); return; } } /* Step 2: Convert using langtag_table and script_table. */ if (strlen (name) == 7 && name[2] == '-') { unsigned int i1, i2; i1 = 0; i2 = sizeof (langtag_table) / sizeof (langtag_entry); while (i2 - i1 > 1) { /* At this point we know that if name occurs in langtag_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const langtag_entry *p = &langtag_table[i]; if (strcmp (name, p->langtag) < 0) i2 = i; else i1 = i; } if (strcmp (name, langtag_table[i1].langtag) == 0) { strcpy (name, langtag_table[i1].unixy); return; } i1 = 0; i2 = sizeof (script_table) / sizeof (script_entry); while (i2 - i1 > 1) { /* At this point we know that if (name + 3) occurs in script_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const script_entry *p = &script_table[i]; if (strcmp (name + 3, p->script) < 0) i2 = i; else i1 = i; } if (strcmp (name + 3, script_table[i1].script) == 0) { name[2] = '@'; strcpy (name + 3, script_table[i1].unixy); return; } } /* Step 3: Convert new-style dash to Unix underscore. */ { char *p; for (p = name; *p != '\0'; p++) if (*p == '-') *p = '_'; } } #endif #if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Native Windows or Cygwin */ /* Canonicalize a Windows native locale name to a Unix locale name. NAME is a sufficiently large buffer. On input, it contains the Windows locale name. On output, it contains the Unix locale name. */ # if !defined IN_LIBINTL static # endif void gl_locale_name_canonicalize (char *name) { /* FIXME: This is probably incomplete: it does not handle "zh-Hans" and "zh-Hant". */ char *p; for (p = name; *p != '\0'; p++) if (*p == '-') { *p = '_'; p++; for (; *p != '\0'; p++) { if (*p >= 'a' && *p <= 'z') *p += 'A' - 'a'; if (*p == '-') { *p = '\0'; return; } } return; } } # if !defined IN_LIBINTL static # endif const char * gl_locale_name_from_win32_LANGID (LANGID langid) { /* Activate the new code only when the GETTEXT_MUI environment variable is set, for the time being, since the new code is not well tested. */ if (getenv ("GETTEXT_MUI") != NULL) { static char namebuf[256]; /* Query the system's notion of locale name. On Windows95/98/ME, GetLocaleInfoA returns some incorrect results. But we don't need to support systems that are so old. */ if (GetLocaleInfoA (MAKELCID (langid, SORT_DEFAULT), LOCALE_SNAME, namebuf, sizeof (namebuf) - 1)) { /* Convert it to a Unix locale name. */ gl_locale_name_canonicalize (namebuf); return namebuf; } } /* Internet Explorer has an LCID to RFC3066 name mapping stored in HKEY_CLASSES_ROOT\Mime\Database\Rfc1766. But we better don't use that since IE's i18n subsystem is known to be inconsistent with the native Windows base (e.g. they have different character conversion facilities that produce different results). */ /* Use our own table. */ { int primary, sub; /* Split into language and territory part. */ primary = PRIMARYLANGID (langid); sub = SUBLANGID (langid); /* Dispatch on language. See also https://www.unicode.org/unicode/onlinedat/languages.html . For details about languages, see https://www.ethnologue.com/ . */ switch (primary) { case LANG_AFRIKAANS: switch (sub) { case SUBLANG_AFRIKAANS_SOUTH_AFRICA: return "af_ZA"; } return "af"; case LANG_ALBANIAN: switch (sub) { case SUBLANG_ALBANIAN_ALBANIA: return "sq_AL"; } return "sq"; case LANG_ALSATIAN: switch (sub) { case SUBLANG_ALSATIAN_FRANCE: return "gsw_FR"; } return "gsw"; case LANG_AMHARIC: switch (sub) { case SUBLANG_AMHARIC_ETHIOPIA: return "am_ET"; } return "am"; case LANG_ARABIC: switch (sub) { case SUBLANG_ARABIC_SAUDI_ARABIA: return "ar_SA"; case SUBLANG_ARABIC_IRAQ: return "ar_IQ"; case SUBLANG_ARABIC_EGYPT: return "ar_EG"; case SUBLANG_ARABIC_LIBYA: return "ar_LY"; case SUBLANG_ARABIC_ALGERIA: return "ar_DZ"; case SUBLANG_ARABIC_MOROCCO: return "ar_MA"; case SUBLANG_ARABIC_TUNISIA: return "ar_TN"; case SUBLANG_ARABIC_OMAN: return "ar_OM"; case SUBLANG_ARABIC_YEMEN: return "ar_YE"; case SUBLANG_ARABIC_SYRIA: return "ar_SY"; case SUBLANG_ARABIC_JORDAN: return "ar_JO"; case SUBLANG_ARABIC_LEBANON: return "ar_LB"; case SUBLANG_ARABIC_KUWAIT: return "ar_KW"; case SUBLANG_ARABIC_UAE: return "ar_AE"; case SUBLANG_ARABIC_BAHRAIN: return "ar_BH"; case SUBLANG_ARABIC_QATAR: return "ar_QA"; } return "ar"; case LANG_ARMENIAN: switch (sub) { case SUBLANG_ARMENIAN_ARMENIA: return "hy_AM"; } return "hy"; case LANG_ASSAMESE: switch (sub) { case SUBLANG_ASSAMESE_INDIA: return "as_IN"; } return "as"; case LANG_AZERI: switch (sub) { /* FIXME: Adjust this when Azerbaijani locales appear on Unix. */ case 0x1e: return "az@latin"; case SUBLANG_AZERI_LATIN: return "az_AZ@latin"; case 0x1d: return "az@cyrillic"; case SUBLANG_AZERI_CYRILLIC: return "az_AZ@cyrillic"; } return "az"; case LANG_BASHKIR: switch (sub) { case SUBLANG_BASHKIR_RUSSIA: return "ba_RU"; } return "ba"; case LANG_BASQUE: switch (sub) { case SUBLANG_BASQUE_BASQUE: return "eu_ES"; } return "eu"; /* Ambiguous: could be "eu_ES" or "eu_FR". */ case LANG_BELARUSIAN: switch (sub) { case SUBLANG_BELARUSIAN_BELARUS: return "be_BY"; } return "be"; case LANG_BENGALI: switch (sub) { case SUBLANG_BENGALI_INDIA: return "bn_IN"; case SUBLANG_BENGALI_BANGLADESH: return "bn_BD"; } return "bn"; case LANG_BRETON: switch (sub) { case SUBLANG_BRETON_FRANCE: return "br_FR"; } return "br"; case LANG_BULGARIAN: switch (sub) { case SUBLANG_BULGARIAN_BULGARIA: return "bg_BG"; } return "bg"; case LANG_BURMESE: switch (sub) { case SUBLANG_DEFAULT: return "my_MM"; } return "my"; case LANG_CAMBODIAN: switch (sub) { case SUBLANG_CAMBODIAN_CAMBODIA: return "km_KH"; } return "km"; case LANG_CATALAN: switch (sub) { case SUBLANG_CATALAN_SPAIN: return "ca_ES"; } return "ca"; case LANG_CHEROKEE: switch (sub) { case SUBLANG_DEFAULT: return "chr_US"; } return "chr"; case LANG_CHINESE: switch (sub) { case SUBLANG_CHINESE_TRADITIONAL: case 0x1f: return "zh_TW"; case SUBLANG_CHINESE_SIMPLIFIED: case 0x00: return "zh_CN"; case SUBLANG_CHINESE_HONGKONG: return "zh_HK"; /* traditional */ case SUBLANG_CHINESE_SINGAPORE: return "zh_SG"; /* simplified */ case SUBLANG_CHINESE_MACAU: return "zh_MO"; /* traditional */ } return "zh"; case LANG_CORSICAN: switch (sub) { case SUBLANG_CORSICAN_FRANCE: return "co_FR"; } return "co"; case LANG_CROATIAN: /* LANG_CROATIAN == LANG_SERBIAN == LANG_BOSNIAN * What used to be called Serbo-Croatian * should really now be two separate * languages because of political reasons. * (Says tml, who knows nothing about Serbian * or Croatian.) * (I can feel those flames coming already.) */ switch (sub) { /* Croatian */ case 0x00: return "hr"; case SUBLANG_CROATIAN_CROATIA: return "hr_HR"; case SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN: return "hr_BA"; /* Serbian */ case 0x1f: return "sr"; case 0x1c: return "sr"; /* latin */ case SUBLANG_SERBIAN_LATIN: return "sr_CS"; /* latin */ case 0x09: return "sr_RS"; /* latin */ case 0x0b: return "sr_ME"; /* latin */ case 0x06: return "sr_BA"; /* latin */ case 0x1b: return "sr@cyrillic"; case SUBLANG_SERBIAN_CYRILLIC: return "sr_CS@cyrillic"; case 0x0a: return "sr_RS@cyrillic"; case 0x0c: return "sr_ME@cyrillic"; case 0x07: return "sr_BA@cyrillic"; /* Bosnian */ case 0x1e: return "bs"; case 0x1a: return "bs"; /* latin */ case SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN: return "bs_BA"; /* latin */ case 0x19: return "bs@cyrillic"; case SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC: return "bs_BA@cyrillic"; } return "hr"; case LANG_CZECH: switch (sub) { case SUBLANG_CZECH_CZECH_REPUBLIC: return "cs_CZ"; } return "cs"; case LANG_DANISH: switch (sub) { case SUBLANG_DANISH_DENMARK: return "da_DK"; } return "da"; case LANG_DARI: /* FIXME: Adjust this when such locales appear on Unix. */ switch (sub) { case SUBLANG_DARI_AFGHANISTAN: return "prs_AF"; } return "prs"; case LANG_DIVEHI: switch (sub) { case SUBLANG_DIVEHI_MALDIVES: return "dv_MV"; } return "dv"; case LANG_DUTCH: switch (sub) { case SUBLANG_DUTCH: return "nl_NL"; case SUBLANG_DUTCH_BELGIAN: /* FLEMISH, VLAAMS */ return "nl_BE"; case SUBLANG_DUTCH_SURINAM: return "nl_SR"; } return "nl"; case LANG_EDO: switch (sub) { case SUBLANG_DEFAULT: return "bin_NG"; } return "bin"; case LANG_ENGLISH: switch (sub) { /* SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. Heh. I thought * English was the language spoken in England. * Oh well. */ case SUBLANG_ENGLISH_US: return "en_US"; case SUBLANG_ENGLISH_UK: return "en_GB"; case SUBLANG_ENGLISH_AUS: return "en_AU"; case SUBLANG_ENGLISH_CAN: return "en_CA"; case SUBLANG_ENGLISH_NZ: return "en_NZ"; case SUBLANG_ENGLISH_EIRE: return "en_IE"; case SUBLANG_ENGLISH_SOUTH_AFRICA: return "en_ZA"; case SUBLANG_ENGLISH_JAMAICA: return "en_JM"; case SUBLANG_ENGLISH_CARIBBEAN: return "en_GD"; /* Grenada? */ case SUBLANG_ENGLISH_BELIZE: return "en_BZ"; case SUBLANG_ENGLISH_TRINIDAD: return "en_TT"; case SUBLANG_ENGLISH_ZIMBABWE: return "en_ZW"; case SUBLANG_ENGLISH_PHILIPPINES: return "en_PH"; case SUBLANG_ENGLISH_INDONESIA: return "en_ID"; case SUBLANG_ENGLISH_HONGKONG: return "en_HK"; case SUBLANG_ENGLISH_INDIA: return "en_IN"; case SUBLANG_ENGLISH_MALAYSIA: return "en_MY"; case SUBLANG_ENGLISH_SINGAPORE: return "en_SG"; } return "en"; case LANG_ESTONIAN: switch (sub) { case SUBLANG_ESTONIAN_ESTONIA: return "et_EE"; } return "et"; case LANG_FAEROESE: switch (sub) { case SUBLANG_FAEROESE_FAROE_ISLANDS: return "fo_FO"; } return "fo"; case LANG_FARSI: switch (sub) { case SUBLANG_FARSI_IRAN: return "fa_IR"; } return "fa"; case LANG_FINNISH: switch (sub) { case SUBLANG_FINNISH_FINLAND: return "fi_FI"; } return "fi"; case LANG_FRENCH: switch (sub) { case SUBLANG_FRENCH: return "fr_FR"; case SUBLANG_FRENCH_BELGIAN: /* WALLOON */ return "fr_BE"; case SUBLANG_FRENCH_CANADIAN: return "fr_CA"; case SUBLANG_FRENCH_SWISS: return "fr_CH"; case SUBLANG_FRENCH_LUXEMBOURG: return "fr_LU"; case SUBLANG_FRENCH_MONACO: return "fr_MC"; case SUBLANG_FRENCH_WESTINDIES: return "fr"; /* Caribbean? */ case SUBLANG_FRENCH_REUNION: return "fr_RE"; case SUBLANG_FRENCH_CONGO: return "fr_CG"; case SUBLANG_FRENCH_SENEGAL: return "fr_SN"; case SUBLANG_FRENCH_CAMEROON: return "fr_CM"; case SUBLANG_FRENCH_COTEDIVOIRE: return "fr_CI"; case SUBLANG_FRENCH_MALI: return "fr_ML"; case SUBLANG_FRENCH_MOROCCO: return "fr_MA"; case SUBLANG_FRENCH_HAITI: return "fr_HT"; } return "fr"; case LANG_FRISIAN: switch (sub) { case SUBLANG_FRISIAN_NETHERLANDS: return "fy_NL"; } return "fy"; case LANG_FULFULDE: /* Spoken in Nigeria, Guinea, Senegal, Mali, Niger, Cameroon, Benin. */ switch (sub) { case SUBLANG_DEFAULT: return "ff_NG"; } return "ff"; case LANG_GAELIC: switch (sub) { case 0x01: /* SCOTTISH */ /* old, superseded by LANG_SCOTTISH_GAELIC */ return "gd_GB"; case SUBLANG_IRISH_IRELAND: return "ga_IE"; } return "ga"; case LANG_GALICIAN: switch (sub) { case SUBLANG_GALICIAN_SPAIN: return "gl_ES"; } return "gl"; case LANG_GEORGIAN: switch (sub) { case SUBLANG_GEORGIAN_GEORGIA: return "ka_GE"; } return "ka"; case LANG_GERMAN: switch (sub) { case SUBLANG_GERMAN: return "de_DE"; case SUBLANG_GERMAN_SWISS: return "de_CH"; case SUBLANG_GERMAN_AUSTRIAN: return "de_AT"; case SUBLANG_GERMAN_LUXEMBOURG: return "de_LU"; case SUBLANG_GERMAN_LIECHTENSTEIN: return "de_LI"; } return "de"; case LANG_GREEK: switch (sub) { case SUBLANG_GREEK_GREECE: return "el_GR"; } return "el"; case LANG_GREENLANDIC: switch (sub) { case SUBLANG_GREENLANDIC_GREENLAND: return "kl_GL"; } return "kl"; case LANG_GUARANI: switch (sub) { case SUBLANG_DEFAULT: return "gn_PY"; } return "gn"; case LANG_GUJARATI: switch (sub) { case SUBLANG_GUJARATI_INDIA: return "gu_IN"; } return "gu"; case LANG_HAUSA: switch (sub) { case 0x1f: return "ha"; case SUBLANG_HAUSA_NIGERIA_LATIN: return "ha_NG"; } return "ha"; case LANG_HAWAIIAN: /* FIXME: Do they mean Hawaiian ("haw_US", 1000 speakers) or Hawaii Creole English ("cpe_US", 600000 speakers)? */ switch (sub) { case SUBLANG_DEFAULT: return "cpe_US"; } return "cpe"; case LANG_HEBREW: switch (sub) { case SUBLANG_HEBREW_ISRAEL: return "he_IL"; } return "he"; case LANG_HINDI: switch (sub) { case SUBLANG_HINDI_INDIA: return "hi_IN"; } return "hi"; case LANG_HUNGARIAN: switch (sub) { case SUBLANG_HUNGARIAN_HUNGARY: return "hu_HU"; } return "hu"; case LANG_IBIBIO: switch (sub) { case SUBLANG_DEFAULT: return "nic_NG"; } return "nic"; case LANG_ICELANDIC: switch (sub) { case SUBLANG_ICELANDIC_ICELAND: return "is_IS"; } return "is"; case LANG_IGBO: switch (sub) { case SUBLANG_IGBO_NIGERIA: return "ig_NG"; } return "ig"; case LANG_INDONESIAN: switch (sub) { case SUBLANG_INDONESIAN_INDONESIA: return "id_ID"; } return "id"; case LANG_INUKTITUT: switch (sub) { case 0x1e: return "iu"; /* syllabic */ case SUBLANG_INUKTITUT_CANADA: return "iu_CA"; /* syllabic */ case 0x1f: return "iu@latin"; case SUBLANG_INUKTITUT_CANADA_LATIN: return "iu_CA@latin"; } return "iu"; case LANG_ITALIAN: switch (sub) { case SUBLANG_ITALIAN: return "it_IT"; case SUBLANG_ITALIAN_SWISS: return "it_CH"; } return "it"; case LANG_JAPANESE: switch (sub) { case SUBLANG_JAPANESE_JAPAN: return "ja_JP"; } return "ja"; case LANG_KANNADA: switch (sub) { case SUBLANG_KANNADA_INDIA: return "kn_IN"; } return "kn"; case LANG_KANURI: switch (sub) { case SUBLANG_DEFAULT: return "kr_NG"; } return "kr"; case LANG_KASHMIRI: switch (sub) { case SUBLANG_DEFAULT: return "ks_PK"; case SUBLANG_KASHMIRI_INDIA: return "ks_IN"; } return "ks"; case LANG_KAZAK: switch (sub) { case SUBLANG_KAZAK_KAZAKHSTAN: return "kk_KZ"; } return "kk"; case LANG_KICHE: /* FIXME: Adjust this when such locales appear on Unix. */ switch (sub) { case SUBLANG_KICHE_GUATEMALA: return "qut_GT"; } return "qut"; case LANG_KINYARWANDA: switch (sub) { case SUBLANG_KINYARWANDA_RWANDA: return "rw_RW"; } return "rw"; case LANG_KONKANI: /* FIXME: Adjust this when such locales appear on Unix. */ switch (sub) { case SUBLANG_KONKANI_INDIA: return "kok_IN"; } return "kok"; case LANG_KOREAN: switch (sub) { case SUBLANG_DEFAULT: return "ko_KR"; } return "ko"; case LANG_KYRGYZ: switch (sub) { case SUBLANG_KYRGYZ_KYRGYZSTAN: return "ky_KG"; } return "ky"; case LANG_LAO: switch (sub) { case SUBLANG_LAO_LAOS: return "lo_LA"; } return "lo"; case LANG_LATIN: switch (sub) { case SUBLANG_DEFAULT: return "la_VA"; } return "la"; case LANG_LATVIAN: switch (sub) { case SUBLANG_LATVIAN_LATVIA: return "lv_LV"; } return "lv"; case LANG_LITHUANIAN: switch (sub) { case SUBLANG_LITHUANIAN_LITHUANIA: return "lt_LT"; } return "lt"; case LANG_LUXEMBOURGISH: switch (sub) { case SUBLANG_LUXEMBOURGISH_LUXEMBOURG: return "lb_LU"; } return "lb"; case LANG_MACEDONIAN: switch (sub) { case SUBLANG_MACEDONIAN_MACEDONIA: return "mk_MK"; } return "mk"; case LANG_MALAY: switch (sub) { case SUBLANG_MALAY_MALAYSIA: return "ms_MY"; case SUBLANG_MALAY_BRUNEI_DARUSSALAM: return "ms_BN"; } return "ms"; case LANG_MALAYALAM: switch (sub) { case SUBLANG_MALAYALAM_INDIA: return "ml_IN"; } return "ml"; case LANG_MALTESE: switch (sub) { case SUBLANG_MALTESE_MALTA: return "mt_MT"; } return "mt"; case LANG_MANIPURI: /* FIXME: Adjust this when such locales appear on Unix. */ switch (sub) { case SUBLANG_DEFAULT: return "mni_IN"; } return "mni"; case LANG_MAORI: switch (sub) { case SUBLANG_MAORI_NEW_ZEALAND: return "mi_NZ"; } return "mi"; case LANG_MAPUDUNGUN: switch (sub) { case SUBLANG_MAPUDUNGUN_CHILE: return "arn_CL"; } return "arn"; case LANG_MARATHI: switch (sub) { case SUBLANG_MARATHI_INDIA: return "mr_IN"; } return "mr"; case LANG_MOHAWK: switch (sub) { case SUBLANG_MOHAWK_CANADA: return "moh_CA"; } return "moh"; case LANG_MONGOLIAN: switch (sub) { case SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA: case 0x1e: return "mn_MN"; case SUBLANG_MONGOLIAN_PRC: case 0x1f: return "mn_CN"; } return "mn"; /* Ambiguous: could be "mn_CN" or "mn_MN". */ case LANG_NEPALI: switch (sub) { case SUBLANG_NEPALI_NEPAL: return "ne_NP"; case SUBLANG_NEPALI_INDIA: return "ne_IN"; } return "ne"; case LANG_NORWEGIAN: switch (sub) { case 0x1f: return "nb"; case SUBLANG_NORWEGIAN_BOKMAL: return "nb_NO"; case 0x1e: return "nn"; case SUBLANG_NORWEGIAN_NYNORSK: return "nn_NO"; } return "no"; case LANG_OCCITAN: switch (sub) { case SUBLANG_OCCITAN_FRANCE: return "oc_FR"; } return "oc"; case LANG_ORIYA: switch (sub) { case SUBLANG_ORIYA_INDIA: return "or_IN"; } return "or"; case LANG_OROMO: switch (sub) { case SUBLANG_DEFAULT: return "om_ET"; } return "om"; case LANG_PAPIAMENTU: switch (sub) { case SUBLANG_DEFAULT: return "pap_AN"; } return "pap"; case LANG_PASHTO: switch (sub) { case SUBLANG_PASHTO_AFGHANISTAN: return "ps_AF"; } return "ps"; /* Ambiguous: could be "ps_PK" or "ps_AF". */ case LANG_POLISH: switch (sub) { case SUBLANG_POLISH_POLAND: return "pl_PL"; } return "pl"; case LANG_PORTUGUESE: switch (sub) { /* Hmm. SUBLANG_PORTUGUESE_BRAZILIAN == SUBLANG_DEFAULT. Same phenomenon as SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. */ case SUBLANG_PORTUGUESE_BRAZILIAN: return "pt_BR"; case SUBLANG_PORTUGUESE: return "pt_PT"; } return "pt"; case LANG_PUNJABI: switch (sub) { case SUBLANG_PUNJABI_INDIA: return "pa_IN"; /* Gurmukhi script */ case SUBLANG_PUNJABI_PAKISTAN: return "pa_PK"; /* Arabic script */ } return "pa"; case LANG_QUECHUA: /* Note: Microsoft uses the non-ISO language code "quz". */ switch (sub) { case SUBLANG_QUECHUA_BOLIVIA: return "qu_BO"; case SUBLANG_QUECHUA_ECUADOR: return "qu_EC"; case SUBLANG_QUECHUA_PERU: return "qu_PE"; } return "qu"; case LANG_ROMANIAN: switch (sub) { case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO"; case SUBLANG_ROMANIAN_MOLDOVA: return "ro_MD"; } return "ro"; case LANG_ROMANSH: switch (sub) { case SUBLANG_ROMANSH_SWITZERLAND: return "rm_CH"; } return "rm"; case LANG_RUSSIAN: switch (sub) { case SUBLANG_RUSSIAN_RUSSIA: return "ru_RU"; case SUBLANG_RUSSIAN_MOLDAVIA: return "ru_MD"; } return "ru"; /* Ambiguous: could be "ru_RU" or "ru_UA" or "ru_MD". */ case LANG_SAMI: switch (sub) { /* Northern Sami */ case 0x00: return "se"; case SUBLANG_SAMI_NORTHERN_NORWAY: return "se_NO"; case SUBLANG_SAMI_NORTHERN_SWEDEN: return "se_SE"; case SUBLANG_SAMI_NORTHERN_FINLAND: return "se_FI"; /* Lule Sami */ case 0x1f: return "smj"; case SUBLANG_SAMI_LULE_NORWAY: return "smj_NO"; case SUBLANG_SAMI_LULE_SWEDEN: return "smj_SE"; /* Southern Sami */ case 0x1e: return "sma"; case SUBLANG_SAMI_SOUTHERN_NORWAY: return "sma_NO"; case SUBLANG_SAMI_SOUTHERN_SWEDEN: return "sma_SE"; /* Skolt Sami */ case 0x1d: return "sms"; case SUBLANG_SAMI_SKOLT_FINLAND: return "sms_FI"; /* Inari Sami */ case 0x1c: return "smn"; case SUBLANG_SAMI_INARI_FINLAND: return "smn_FI"; } return "se"; /* or "smi"? */ case LANG_SANSKRIT: switch (sub) { case SUBLANG_SANSKRIT_INDIA: return "sa_IN"; } return "sa"; case LANG_SCOTTISH_GAELIC: switch (sub) { case SUBLANG_DEFAULT: return "gd_GB"; } return "gd"; case LANG_SINDHI: switch (sub) { case SUBLANG_SINDHI_INDIA: return "sd_IN"; case SUBLANG_SINDHI_PAKISTAN: return "sd_PK"; /*case SUBLANG_SINDHI_AFGHANISTAN: return "sd_AF";*/ } return "sd"; case LANG_SINHALESE: switch (sub) { case SUBLANG_SINHALESE_SRI_LANKA: return "si_LK"; } return "si"; case LANG_SLOVAK: switch (sub) { case SUBLANG_SLOVAK_SLOVAKIA: return "sk_SK"; } return "sk"; case LANG_SLOVENIAN: switch (sub) { case SUBLANG_SLOVENIAN_SLOVENIA: return "sl_SI"; } return "sl"; case LANG_SOMALI: switch (sub) { case SUBLANG_DEFAULT: return "so_SO"; } return "so"; case LANG_SORBIAN: /* FIXME: Adjust this when such locales appear on Unix. */ switch (sub) { /* Upper Sorbian */ case 0x00: return "hsb"; case SUBLANG_UPPER_SORBIAN_GERMANY: return "hsb_DE"; /* Lower Sorbian */ case 0x1f: return "dsb"; case SUBLANG_LOWER_SORBIAN_GERMANY: return "dsb_DE"; } return "wen"; case LANG_SOTHO: /* calls it "Sesotho sa Leboa"; according to it's the same as Northern Sotho. */ switch (sub) { case SUBLANG_SOTHO_SOUTH_AFRICA: return "nso_ZA"; } return "nso"; case LANG_SPANISH: switch (sub) { case SUBLANG_SPANISH: return "es_ES"; case SUBLANG_SPANISH_MEXICAN: return "es_MX"; case SUBLANG_SPANISH_MODERN: return "es_ES@modern"; /* not seen on Unix */ case SUBLANG_SPANISH_GUATEMALA: return "es_GT"; case SUBLANG_SPANISH_COSTA_RICA: return "es_CR"; case SUBLANG_SPANISH_PANAMA: return "es_PA"; case SUBLANG_SPANISH_DOMINICAN_REPUBLIC: return "es_DO"; case SUBLANG_SPANISH_VENEZUELA: return "es_VE"; case SUBLANG_SPANISH_COLOMBIA: return "es_CO"; case SUBLANG_SPANISH_PERU: return "es_PE"; case SUBLANG_SPANISH_ARGENTINA: return "es_AR"; case SUBLANG_SPANISH_ECUADOR: return "es_EC"; case SUBLANG_SPANISH_CHILE: return "es_CL"; case SUBLANG_SPANISH_URUGUAY: return "es_UY"; case SUBLANG_SPANISH_PARAGUAY: return "es_PY"; case SUBLANG_SPANISH_BOLIVIA: return "es_BO"; case SUBLANG_SPANISH_EL_SALVADOR: return "es_SV"; case SUBLANG_SPANISH_HONDURAS: return "es_HN"; case SUBLANG_SPANISH_NICARAGUA: return "es_NI"; case SUBLANG_SPANISH_PUERTO_RICO: return "es_PR"; case SUBLANG_SPANISH_US: return "es_US"; } return "es"; case LANG_SUTU: switch (sub) { case SUBLANG_DEFAULT: return "bnt_TZ"; /* or "st_LS" or "nso_ZA"? */ } return "bnt"; case LANG_SWAHILI: switch (sub) { case SUBLANG_SWAHILI_KENYA: return "sw_KE"; } return "sw"; case LANG_SWEDISH: switch (sub) { case SUBLANG_SWEDISH_SWEDEN: return "sv_SE"; case SUBLANG_SWEDISH_FINLAND: return "sv_FI"; } return "sv"; case LANG_SYRIAC: switch (sub) { case SUBLANG_SYRIAC_SYRIA: return "syr_SY"; /* An extinct language. */ } return "syr"; case LANG_TAGALOG: switch (sub) { case SUBLANG_TAGALOG_PHILIPPINES: return "tl_PH"; /* or "fil_PH"? */ } return "tl"; /* or "fil"? */ case LANG_TAJIK: switch (sub) { case 0x1f: return "tg"; case SUBLANG_TAJIK_TAJIKISTAN: return "tg_TJ"; } return "tg"; case LANG_TAMAZIGHT: /* Note: Microsoft uses the non-ISO language code "tmz". */ switch (sub) { /* FIXME: Adjust this when Tamazight locales appear on Unix. */ case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic"; case 0x1f: return "ber@latin"; case SUBLANG_TAMAZIGHT_ALGERIA_LATIN: return "ber_DZ@latin"; } return "ber"; case LANG_TAMIL: switch (sub) { case SUBLANG_TAMIL_INDIA: return "ta_IN"; } return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG". */ case LANG_TATAR: switch (sub) { case SUBLANG_TATAR_RUSSIA: return "tt_RU"; } return "tt"; case LANG_TELUGU: switch (sub) { case SUBLANG_TELUGU_INDIA: return "te_IN"; } return "te"; case LANG_THAI: switch (sub) { case SUBLANG_THAI_THAILAND: return "th_TH"; } return "th"; case LANG_TIBETAN: switch (sub) { case SUBLANG_TIBETAN_PRC: /* Most Tibetans would not like "bo_CN". But Tibet does not yet have a country code of its own. */ return "bo"; case SUBLANG_TIBETAN_BHUTAN: return "bo_BT"; } return "bo"; case LANG_TIGRINYA: switch (sub) { case SUBLANG_TIGRINYA_ETHIOPIA: return "ti_ET"; case SUBLANG_TIGRINYA_ERITREA: return "ti_ER"; } return "ti"; case LANG_TSONGA: switch (sub) { case SUBLANG_DEFAULT: return "ts_ZA"; } return "ts"; case LANG_TSWANA: /* Spoken in South Africa, Botswana. */ switch (sub) { case SUBLANG_TSWANA_SOUTH_AFRICA: return "tn_ZA"; } return "tn"; case LANG_TURKISH: switch (sub) { case SUBLANG_TURKISH_TURKEY: return "tr_TR"; } return "tr"; case LANG_TURKMEN: switch (sub) { case SUBLANG_TURKMEN_TURKMENISTAN: return "tk_TM"; } return "tk"; case LANG_UIGHUR: switch (sub) { case SUBLANG_UIGHUR_PRC: return "ug_CN"; } return "ug"; case LANG_UKRAINIAN: switch (sub) { case SUBLANG_UKRAINIAN_UKRAINE: return "uk_UA"; } return "uk"; case LANG_URDU: switch (sub) { case SUBLANG_URDU_PAKISTAN: return "ur_PK"; case SUBLANG_URDU_INDIA: return "ur_IN"; } return "ur"; case LANG_UZBEK: switch (sub) { case 0x1f: return "uz"; case SUBLANG_UZBEK_LATIN: return "uz_UZ"; case 0x1e: return "uz@cyrillic"; case SUBLANG_UZBEK_CYRILLIC: return "uz_UZ@cyrillic"; } return "uz"; case LANG_VENDA: switch (sub) { case SUBLANG_DEFAULT: return "ve_ZA"; } return "ve"; case LANG_VIETNAMESE: switch (sub) { case SUBLANG_VIETNAMESE_VIETNAM: return "vi_VN"; } return "vi"; case LANG_WELSH: switch (sub) { case SUBLANG_WELSH_UNITED_KINGDOM: return "cy_GB"; } return "cy"; case LANG_WOLOF: switch (sub) { case SUBLANG_WOLOF_SENEGAL: return "wo_SN"; } return "wo"; case LANG_XHOSA: switch (sub) { case SUBLANG_XHOSA_SOUTH_AFRICA: return "xh_ZA"; } return "xh"; case LANG_YAKUT: switch (sub) { case SUBLANG_YAKUT_RUSSIA: return "sah_RU"; } return "sah"; case LANG_YI: switch (sub) { case SUBLANG_YI_PRC: return "ii_CN"; } return "ii"; case LANG_YIDDISH: switch (sub) { case SUBLANG_DEFAULT: return "yi_IL"; } return "yi"; case LANG_YORUBA: switch (sub) { case SUBLANG_YORUBA_NIGERIA: return "yo_NG"; } return "yo"; case LANG_ZULU: switch (sub) { case SUBLANG_ZULU_SOUTH_AFRICA: return "zu_ZA"; } return "zu"; default: return "C"; } } } # if !defined IN_LIBINTL static # endif const char * gl_locale_name_from_win32_LCID (LCID lcid) { LANGID langid; /* Strip off the sorting rules, keep only the language part. */ langid = LANGIDFROMLCID (lcid); return gl_locale_name_from_win32_LANGID (langid); } # ifdef WINDOWS_NATIVE /* Two variables to interface between get_lcid and the EnumLocales callback function below. */ static LCID found_lcid; static char lname[LC_MAX * (LOCALE_NAME_MAX_LENGTH + 1) + 1]; /* Callback function for EnumLocales. */ static BOOL CALLBACK enum_locales_fn (LPTSTR locale_num_str) { char *endp; char locval[2 * LOCALE_NAME_MAX_LENGTH + 1 + 1]; LCID try_lcid = strtoul (locale_num_str, &endp, 16); if (GetLocaleInfo (try_lcid, LOCALE_SENGLANGUAGE, locval, LOCALE_NAME_MAX_LENGTH)) { strcat (locval, "_"); if (GetLocaleInfo (try_lcid, LOCALE_SENGCOUNTRY, locval + strlen (locval), LOCALE_NAME_MAX_LENGTH)) { size_t locval_len = strlen (locval); if (strncmp (locval, lname, locval_len) == 0 && (lname[locval_len] == '.' || lname[locval_len] == '\0')) { found_lcid = try_lcid; return FALSE; } } } return TRUE; } /* This lock protects the get_lcid against multiple simultaneous calls. */ gl_lock_define_initialized(static, get_lcid_lock) /* Return the Locale ID (LCID) number given the locale's name, a string, in LOCALE_NAME. This works by enumerating all the locales supported by the system, until we find one whose name matches LOCALE_NAME. */ static LCID get_lcid (const char *locale_name) { /* A simple cache. */ static LCID last_lcid; static char last_locale[1000]; /* Lock while looking for an LCID, to protect access to static variables: last_lcid, last_locale, found_lcid, and lname. */ gl_lock_lock (get_lcid_lock); if (last_lcid > 0 && strcmp (locale_name, last_locale) == 0) { gl_lock_unlock (get_lcid_lock); return last_lcid; } strncpy (lname, locale_name, sizeof (lname) - 1); lname[sizeof (lname) - 1] = '\0'; found_lcid = 0; EnumSystemLocales (enum_locales_fn, LCID_SUPPORTED); if (found_lcid > 0) { last_lcid = found_lcid; strcpy (last_locale, locale_name); } gl_lock_unlock (get_lcid_lock); return found_lcid; } # endif #endif #if HAVE_GOOD_USELOCALE /* glibc, Mac OS X, FreeBSD >= 9.1, Cygwin >= 2.6, Solaris 11 OpenIndiana, or Solaris >= 11.4 */ /* Simple hash set of strings. We don't want to drag in lots of hash table code here. */ # define SIZE_BITS (sizeof (size_t) * CHAR_BIT) /* A hash function for NUL-terminated char* strings using the method described by Bruno Haible. See https://www.haible.de/bruno/hashfunc.html. */ static size_t _GL_ATTRIBUTE_PURE string_hash (const void *x) { const char *s = (const char *) x; size_t h = 0; for (; *s; s++) h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); return h; } /* A hash table of fixed size. Multiple threads can access it read-only simultaneously, but only one thread can insert into it at the same time. */ /* A node in a hash bucket collision list. */ struct struniq_hash_node { struct struniq_hash_node * volatile next; char contents[FLEXIBLE_ARRAY_MEMBER]; }; # define STRUNIQ_HASH_TABLE_SIZE 257 static struct struniq_hash_node * volatile struniq_hash_table[STRUNIQ_HASH_TABLE_SIZE] /* = { NULL, ..., NULL } */; /* This lock protects the struniq_hash_table against multiple simultaneous insertions. */ gl_lock_define_initialized(static, struniq_lock) /* Store a copy of the given string in a string pool with indefinite extent. Return a pointer to this copy. */ static const char * struniq (const char *string) { size_t hashcode = string_hash (string); size_t slot = hashcode % STRUNIQ_HASH_TABLE_SIZE; size_t size; struct struniq_hash_node *new_node; struct struniq_hash_node *p; for (p = struniq_hash_table[slot]; p != NULL; p = p->next) if (strcmp (p->contents, string) == 0) return p->contents; size = strlen (string) + 1; new_node = (struct struniq_hash_node *) malloc (FLEXSIZEOF (struct struniq_hash_node, contents, size)); if (new_node == NULL) /* Out of memory. Return a statically allocated string. */ return "C"; memcpy (new_node->contents, string, size); /* Lock while inserting new_node. */ gl_lock_lock (struniq_lock); /* Check whether another thread already added the string while we were waiting on the lock. */ for (p = struniq_hash_table[slot]; p != NULL; p = p->next) if (strcmp (p->contents, string) == 0) { free (new_node); new_node = p; goto done; } /* Really insert new_node into the hash table. Fill new_node entirely first, because other threads may be iterating over the linked list. */ new_node->next = struniq_hash_table[slot]; struniq_hash_table[slot] = new_node; done: /* Unlock after new_node is inserted. */ gl_lock_unlock (struniq_lock); return new_node->contents; } #endif #if HAVE_GOOD_USELOCALE && HAVE_NAMELESS_LOCALES /* The 'locale_t' object does not contain the names of the locale categories. We have to associate them with the object through a hash table. The hash table is defined in localename-table.[hc]. */ /* Returns the name of a given locale category in a given locale_t object, allocated as a string with indefinite extent. */ static const char * get_locale_t_name (int category, locale_t locale) { if (locale == LC_GLOBAL_LOCALE) { /* Query the global locale. */ const char *name = setlocale (category, NULL); if (name != NULL) return struniq (name); else /* Should normally not happen. */ return ""; } else { /* Look up the names in the hash table. */ size_t hashcode = locale_hash_function (locale); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; /* If the locale was not found in the table, return "". This can happen if the application uses the original newlocale()/duplocale() functions instead of the overridden ones. */ const char *name = ""; struct locale_hash_node *p; /* Lock while looking up the hash node. */ gl_rwlock_rdlock (locale_lock); for (p = locale_hash_table[slot]; p != NULL; p = p->next) if (p->locale == locale) { name = p->names.category_name[category]; break; } gl_rwlock_unlock (locale_lock); return name; } } # if !(defined newlocale && defined duplocale && defined freelocale) # error "newlocale, duplocale, freelocale not being replaced as expected!" # endif /* newlocale() override. */ locale_t newlocale (int category_mask, const char *name, locale_t base) #undef newlocale { struct locale_categories_names names; struct locale_hash_node *node; locale_t result; /* Make sure name has indefinite extent. */ if (((LC_CTYPE_MASK | LC_NUMERIC_MASK | LC_TIME_MASK | LC_COLLATE_MASK | LC_MONETARY_MASK | LC_MESSAGES_MASK) & category_mask) != 0) name = struniq (name); /* Determine the category names of the result. */ if (((LC_CTYPE_MASK | LC_NUMERIC_MASK | LC_TIME_MASK | LC_COLLATE_MASK | LC_MONETARY_MASK | LC_MESSAGES_MASK) & ~category_mask) == 0) { /* Use name, ignore base. */ int category; name = struniq (name); for (category = 0; category < 6; category++) names.category_name[category] = name; } else { /* Use base, possibly also name. */ if (base == NULL) { int category; for (category = 0; category < 6; category++) { int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: abort (); } names.category_name[category] = ((mask & category_mask) != 0 ? name : "C"); } } else if (base == LC_GLOBAL_LOCALE) { int category; for (category = 0; category < 6; category++) { int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: abort (); } names.category_name[category] = ((mask & category_mask) != 0 ? name : get_locale_t_name (category, LC_GLOBAL_LOCALE)); } } else { /* Look up the names of base in the hash table. Like multiple calls of get_locale_t_name, but locking only once. */ struct locale_hash_node *p; int category; /* Lock while looking up the hash node. */ gl_rwlock_rdlock (locale_lock); for (p = locale_hash_table[locale_hash_function (base) % LOCALE_HASH_TABLE_SIZE]; p != NULL; p = p->next) if (p->locale == base) break; for (category = 0; category < 6; category++) { int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: abort (); } names.category_name[category] = ((mask & category_mask) != 0 ? name : (p != NULL ? p->names.category_name[category] : "")); } gl_rwlock_unlock (locale_lock); } } node = (struct locale_hash_node *) malloc (sizeof (struct locale_hash_node)); if (node == NULL) /* errno is set to ENOMEM. */ return NULL; result = newlocale (category_mask, name, base); if (result == NULL) { int saved_errno = errno; free (node); errno = saved_errno; return NULL; } /* Fill the hash node. */ node->locale = result; node->names = names; /* Insert it in the hash table. */ { size_t hashcode = locale_hash_function (result); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; struct locale_hash_node *p; /* Lock while inserting the new node. */ gl_rwlock_wrlock (locale_lock); for (p = locale_hash_table[slot]; p != NULL; p = p->next) if (p->locale == result) { /* This can happen if the application uses the original freelocale() function instead of the overridden one. */ p->names = node->names; break; } if (p == NULL) { node->next = locale_hash_table[slot]; locale_hash_table[slot] = node; } gl_rwlock_unlock (locale_lock); if (p != NULL) free (node); } return result; } /* duplocale() override. */ locale_t duplocale (locale_t locale) #undef duplocale { struct locale_hash_node *node; locale_t result; if (locale == NULL) /* Invalid argument. */ abort (); node = (struct locale_hash_node *) malloc (sizeof (struct locale_hash_node)); if (node == NULL) /* errno is set to ENOMEM. */ return NULL; result = duplocale (locale); if (result == NULL) { int saved_errno = errno; free (node); errno = saved_errno; return NULL; } /* Fill the hash node. */ node->locale = result; if (locale == LC_GLOBAL_LOCALE) { int category; for (category = 0; category < 6; category++) node->names.category_name[category] = get_locale_t_name (category, LC_GLOBAL_LOCALE); /* Lock before inserting the new node. */ gl_rwlock_wrlock (locale_lock); } else { struct locale_hash_node *p; /* Lock once, for the lookup and the insertion. */ gl_rwlock_wrlock (locale_lock); for (p = locale_hash_table[locale_hash_function (locale) % LOCALE_HASH_TABLE_SIZE]; p != NULL; p = p->next) if (p->locale == locale) break; if (p != NULL) node->names = p->names; else { /* This can happen if the application uses the original newlocale()/duplocale() functions instead of the overridden ones. */ int category; for (category = 0; category < 6; category++) node->names.category_name[category] = ""; } } /* Insert it in the hash table. */ { size_t hashcode = locale_hash_function (result); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; struct locale_hash_node *p; for (p = locale_hash_table[slot]; p != NULL; p = p->next) if (p->locale == result) { /* This can happen if the application uses the original freelocale() function instead of the overridden one. */ p->names = node->names; break; } if (p == NULL) { node->next = locale_hash_table[slot]; locale_hash_table[slot] = node; } gl_rwlock_unlock (locale_lock); if (p != NULL) free (node); } return result; } /* freelocale() override. */ void freelocale (locale_t locale) #undef freelocale { if (locale == NULL || locale == LC_GLOBAL_LOCALE) /* Invalid argument. */ abort (); { size_t hashcode = locale_hash_function (locale); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; struct locale_hash_node *found; struct locale_hash_node **p; found = NULL; /* Lock while removing the hash node. */ gl_rwlock_wrlock (locale_lock); for (p = &locale_hash_table[slot]; *p != NULL; p = &(*p)->next) if ((*p)->locale == locale) { found = *p; *p = (*p)->next; break; } gl_rwlock_unlock (locale_lock); free (found); } freelocale (locale); } #endif #if defined IN_LIBINTL || HAVE_GOOD_USELOCALE /* Like gl_locale_name_thread, except that the result is not in storage of indefinite extent. */ # if !defined IN_LIBINTL static # endif const char * gl_locale_name_thread_unsafe (int category, const char *categoryname) { # if HAVE_GOOD_USELOCALE { locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) { # if __GLIBC__ >= 2 && !defined __UCLIBC__ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in glibc < 2.12. See . */ const char *name = nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); if (name[0] == '\0') /* Fallback code for glibc < 2.4, which did not implement nl_langinfo (_NL_LOCALE_NAME (category)). */ name = thread_locale->__names[category]; return name; # elif defined __linux__ && HAVE_LANGINFO_H && defined NL_LOCALE_NAME /* musl libc */ return nl_langinfo_l (NL_LOCALE_NAME (category), thread_locale); # elif (defined __FreeBSD__ || defined __DragonFly__) || (defined __APPLE__ && defined __MACH__) /* FreeBSD, Mac OS X */ int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: /* We shouldn't get here. */ return ""; } return querylocale (mask, thread_locale); # elif defined __sun # if HAVE_GETLOCALENAME_L /* Solaris >= 12. */ return getlocalename_l (category, thread_locale); # elif HAVE_SOLARIS114_LOCALES /* Solaris >= 11.4. */ void *lcp = (*thread_locale)->core.data->lcp; if (lcp != NULL) switch (category) { case LC_CTYPE: case LC_NUMERIC: case LC_TIME: case LC_COLLATE: case LC_MONETARY: case LC_MESSAGES: return ((const char * const *) lcp)[category]; default: /* We shouldn't get here. */ return ""; } # elif HAVE_NAMELESS_LOCALES return get_locale_t_name (category, thread_locale); # else /* Solaris 11 OpenIndiana. For the internal structure of locale objects, see https://github.com/OpenIndiana/illumos-gate/blob/master/usr/src/lib/libc/port/locale/localeimpl.h */ switch (category) { case LC_CTYPE: case LC_NUMERIC: case LC_TIME: case LC_COLLATE: case LC_MONETARY: case LC_MESSAGES: return ((const char * const *) thread_locale)[category]; default: /* We shouldn't get here. */ return ""; } # endif # elif defined __CYGWIN__ /* Cygwin < 2.6 lacks uselocale and thread-local locales altogether. Cygwin <= 2.6.1 lacks NL_LOCALE_NAME, requiring peeking inside an opaque struct. */ # ifdef NL_LOCALE_NAME return nl_langinfo_l (NL_LOCALE_NAME (category), thread_locale); # else /* FIXME: Remove when we can assume new-enough Cygwin. */ struct __locale_t { char categories[7][32]; }; return ((struct __locale_t *) thread_locale)->categories[category]; # endif # elif defined __ANDROID__ return MB_CUR_MAX == 4 ? "C.UTF-8" : "C"; # endif } } # endif return NULL; } #endif const char * gl_locale_name_thread (int category, const char *categoryname) { #if HAVE_GOOD_USELOCALE const char *name = gl_locale_name_thread_unsafe (category, categoryname); if (name != NULL) return struniq (name); #endif /* On WINDOWS_NATIVE, don't use GetThreadLocale() here, because when SetThreadLocale has not been called - which is a very frequent case - the value of GetThreadLocale() ignores past calls to 'setlocale'. */ return NULL; } /* XPG3 defines the result of 'setlocale (category, NULL)' as: "Directs 'setlocale()' to query 'category' and return the current setting of 'local'." However it does not specify the exact format. Neither do SUSV2 and ISO C 99. So we can use this feature only on selected systems (e.g. those using GNU C Library). */ #if defined _LIBC || ((defined __GLIBC__ && __GLIBC__ >= 2) && !defined __UCLIBC__) # define HAVE_LOCALE_NULL #endif const char * gl_locale_name_posix (int category, const char *categoryname) { #if defined WINDOWS_NATIVE if (LC_MIN <= category && category <= LC_MAX) { const char *locname = setlocale (category, NULL); LCID lcid; /* If CATEGORY is LC_ALL, the result might be a semi-colon separated list of locales. We need only one, so we take the one corresponding to LC_CTYPE, as the most important for character translations. */ if (category == LC_ALL && strchr (locname, ';')) locname = setlocale (LC_CTYPE, NULL); /* Convert locale name to LCID. We don't want to use LocaleNameToLCID because (a) it is only available since Vista, and (b) it doesn't accept locale names returned by 'setlocale'. */ lcid = get_lcid (locname); if (lcid > 0) return gl_locale_name_from_win32_LCID (lcid); } #endif { const char *locname; /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. On some systems this can be done by the 'setlocale' function itself. */ #if defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL locname = setlocale (category, NULL); #else /* On other systems we ignore what setlocale reports and instead look at the environment variables directly. This is necessary 1. on systems which have a facility for customizing the default locale (Mac OS X, native Windows, Cygwin) and where the system's setlocale() function ignores this default locale (Mac OS X, Cygwin), in two cases: a. when the user missed to use the setlocale() override from libintl (for example by not including ), b. when setlocale supports only the "C" locale, such as on Cygwin 1.5.x. In this case even the override from libintl cannot help. 2. on all systems where setlocale supports only the "C" locale. */ /* Strictly speaking, it is a POSIX violation to look at the environment variables regardless whether setlocale has been called or not. POSIX says: "For C-language programs, the POSIX locale shall be the default locale when the setlocale() function is not called." But we assume that all programs that use internationalized APIs call setlocale (LC_ALL, ""). */ locname = gl_locale_name_environ (category, categoryname); #endif /* Convert the locale name from the format returned by setlocale() or found in the environment variables to the XPG syntax. */ #if defined WINDOWS_NATIVE if (locname != NULL) { /* Convert locale name to LCID. We don't want to use LocaleNameToLCID because (a) it is only available since Vista, and (b) it doesn't accept locale names returned by 'setlocale'. */ LCID lcid = get_lcid (locname); if (lcid > 0) return gl_locale_name_from_win32_LCID (lcid); } #endif return locname; } } const char * gl_locale_name_environ (int category, const char *categoryname) { const char *retval; /* Setting of LC_ALL overrides all other. */ retval = getenv ("LC_ALL"); if (retval != NULL && retval[0] != '\0') return retval; /* Next comes the name of the desired category. */ retval = getenv (categoryname); if (retval != NULL && retval[0] != '\0') return retval; /* Last possibility is the LANG environment variable. */ retval = getenv ("LANG"); if (retval != NULL && retval[0] != '\0') { #if HAVE_CFPREFERENCESCOPYAPPVALUE /* Mac OS X 10.2 or newer. Ignore invalid LANG value set by the Terminal application. */ if (strcmp (retval, "UTF-8") != 0) #endif #if defined __CYGWIN__ /* Cygwin. Ignore dummy LANG value set by ~/.profile. */ if (strcmp (retval, "C.UTF-8") != 0) #endif return retval; } return NULL; } const char * gl_locale_name_default (void) { /* POSIX:2001 says: "All implementations shall define a locale as the default locale, to be invoked when no environment variables are set, or set to the empty string. This default locale can be the POSIX locale or any other implementation-defined locale. Some implementations may provide facilities for local installation administrators to set the default locale, customizing it for each location. POSIX:2001 does not require such a facility. The systems with such a facility are Mac OS X and Windows: They provide a GUI that allows the user to choose a locale. - On Mac OS X, by default, none of LC_* or LANG are set. Starting with Mac OS X 10.4 or 10.5, LANG is set for processes launched by the 'Terminal' application (but sometimes to an incorrect value "UTF-8"). When no environment variable is set, setlocale (LC_ALL, "") uses the "C" locale. - On native Windows, by default, none of LC_* or LANG are set. When no environment variable is set, setlocale (LC_ALL, "") uses the locale chosen by the user. - On Cygwin 1.5.x, by default, none of LC_* or LANG are set. When no environment variable is set, setlocale (LC_ALL, "") uses the "C" locale. - On Cygwin 1.7, by default, LANG is set to "C.UTF-8" when the default ~/.profile is executed. When no environment variable is set, setlocale (LC_ALL, "") uses the "C.UTF-8" locale, which operates in the same way as the "C" locale. */ #if !(HAVE_CFPREFERENCESCOPYAPPVALUE || defined WINDOWS_NATIVE || defined __CYGWIN__) /* The system does not have a way of setting the locale, other than the POSIX specified environment variables. We use C as default locale. */ return "C"; #else /* Return an XPG style locale name language[_territory][@modifier]. Don't even bother determining the codeset; it's not useful in this context, because message catalogs are not specific to a single codeset. */ # if HAVE_CFPREFERENCESCOPYAPPVALUE /* Mac OS X 10.4 or newer */ /* Don't use the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent, because in macOS 10.13.4 it has the following behaviour: When two or more languages are specified in the "System Preferences > Language & Region > Preferred Languages" panel, it returns en_CC where CC is the territory (even when English is not among the preferred languages!). What we want instead is what CFLocaleCopyCurrent returned in earlier macOS releases and what CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the first among the preferred languages and CC is the territory. */ { /* Cache the locale name, since CoreFoundation calls are expensive. */ static const char *cached_localename; if (cached_localename == NULL) { char namebuf[256]; CFTypeRef value = CFPreferencesCopyAppValue (CFSTR ("AppleLocale"), kCFPreferencesCurrentApplication); if (value != NULL && CFGetTypeID (value) == CFStringGetTypeID ()) { CFStringRef name = (CFStringRef)value; if (CFStringGetCString (name, namebuf, sizeof (namebuf), kCFStringEncodingASCII)) { gl_locale_name_canonicalize (namebuf); cached_localename = strdup (namebuf); } } if (cached_localename == NULL) cached_localename = "C"; } return cached_localename; } # endif # if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Native Windows or Cygwin */ { LCID lcid; /* Use native Windows API locale ID. */ lcid = GetThreadLocale (); return gl_locale_name_from_win32_LCID (lcid); } # endif #endif } /* Determine the current locale's name, and canonicalize it into XPG syntax language[_territory][.codeset][@modifier] The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ const char * gl_locale_name (int category, const char *categoryname) { const char *retval; retval = gl_locale_name_thread (category, categoryname); if (retval != NULL) return retval; retval = gl_locale_name_posix (category, categoryname); if (retval != NULL) return retval; return gl_locale_name_default (); } gsasl-1.8.1/gltests/test-lstat.c0000644000000000000000000000340613516251600013460 00000000000000/* Test of lstat() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson, 2008; and Eric Blake, 2009. */ #include #include /* Caution: lstat may be a function-like macro. Although this signature check must pass, it may be the signature of the real (and broken) lstat rather than rpl_lstat. Most code should not use the address of lstat. */ #include "signature.h" SIGNATURE_CHECK (lstat, int, (char const *, struct stat *)); #include #include #include #include #include #include #include "same-inode.h" #include "ignore-value.h" #include "macros.h" #define BASE "test-lstat.t" #include "test-lstat.h" /* Wrapper around lstat, which works even if lstat is a function-like macro, where test_lstat_func(lstat) would do the wrong thing. */ static int do_lstat (char const *name, struct stat *st) { return lstat (name, st); } int main (void) { /* Remove any leftovers from a previous partial run. */ ignore_value (system ("rm -rf " BASE "*")); return test_lstat_func (do_lstat, true); } gsasl-1.8.1/gltests/getcwd-lgpl.c0000644000000000000000000000637013516251577013605 00000000000000/* Copyright (C) 2011-2019 Free Software Foundation, Inc. This file is part of gnulib. 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 3 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, see . */ #include /* Specification */ #include #include #include #include #if GNULIB_GETCWD /* Favor GPL getcwd.c if both getcwd and getcwd-lgpl modules are in use. */ typedef int dummy; #else /* Get the name of the current working directory, and put it in SIZE bytes of BUF. Returns NULL if the directory couldn't be determined (perhaps because the absolute name was longer than PATH_MAX, or because of missing read/search permissions on parent directories) or SIZE was too small. If successful, returns BUF. If BUF is NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as necessary. */ # undef getcwd char * rpl_getcwd (char *buf, size_t size) { char *ptr; char *result; /* Handle single size operations. */ if (buf) { if (!size) { errno = EINVAL; return NULL; } return getcwd (buf, size); } if (size) { buf = malloc (size); if (!buf) { errno = ENOMEM; return NULL; } result = getcwd (buf, size); if (!result) { int saved_errno = errno; free (buf); errno = saved_errno; } return result; } /* Flexible sizing requested. Avoid over-allocation for the common case of a name that fits within a 4k page, minus some space for local variables, to be sure we don't skip over a guard page. */ { char tmp[4032]; size = sizeof tmp; ptr = getcwd (tmp, size); if (ptr) { result = strdup (ptr); if (!result) errno = ENOMEM; return result; } if (errno != ERANGE) return NULL; } /* My what a large directory name we have. */ do { size <<= 1; ptr = realloc (buf, size); if (ptr == NULL) { free (buf); errno = ENOMEM; return NULL; } buf = ptr; result = getcwd (buf, size); } while (!result && errno == ERANGE); if (!result) { int saved_errno = errno; free (buf); errno = saved_errno; } else { /* Here result == buf. */ /* Shrink result before returning it. */ size_t actual_size = strlen (result) + 1; if (actual_size < size) { char *shrinked_result = realloc (result, actual_size); if (shrinked_result != NULL) result = shrinked_result; } } return result; } #endif gsasl-1.8.1/gltests/test-string.c0000644000000000000000000000201013516251601013626 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); int main (void) { return 0; } gsasl-1.8.1/gltests/test-getopt-gnu.c0000644000000000000000000000363013516251574014433 00000000000000/* Test of command line argument processing. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include /* None of the files accessed by this test are large, so disable the ftell link warning if we are not using the gnulib ftell module. */ #define _GL_NO_LARGE_FILES /* POSIX and glibc provide the getopt() function in , see http://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html https://www.gnu.org/software/libc/manual/html_node/Using-Getopt.html But gnulib provides the getopt() function in , not in . This is what we are testing here. */ #include #ifndef __getopt_argv_const # define __getopt_argv_const const #endif #include "signature.h" SIGNATURE_CHECK (getopt_long, int, (int, char *__getopt_argv_const *, char const *, struct option const *, int *)); SIGNATURE_CHECK (getopt_long_only, int, (int, char *__getopt_argv_const *, char const *, struct option const *, int *)); #define TEST_GETOPT_GNU 1 #define TEST_GETOPT_TMP_NAME "test-getopt-gnu.tmp" #include "test-getopt-main.h" gsasl-1.8.1/gltests/test-c-strncasecmp.c0000644000000000000000000000601113516251600015066 00000000000000/* Test of case-insensitive string comparison function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include "c-strcase.h" #include "c-ctype.h" #include #include #include "macros.h" int main (int argc, char *argv[]) { if (argc > 1) { /* configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) return 1; } ASSERT (c_strncasecmp ("paragraph", "Paragraph", 1000000) == 0); ASSERT (c_strncasecmp ("paragraph", "Paragraph", 9) == 0); ASSERT (c_strncasecmp ("paragrapH", "parAgRaph", 1000000) == 0); ASSERT (c_strncasecmp ("paragrapH", "parAgRaph", 9) == 0); ASSERT (c_strncasecmp ("paragraph", "paraLyzed", 10) < 0); ASSERT (c_strncasecmp ("paragraph", "paraLyzed", 9) < 0); ASSERT (c_strncasecmp ("paragraph", "paraLyzed", 5) < 0); ASSERT (c_strncasecmp ("paragraph", "paraLyzed", 4) == 0); ASSERT (c_strncasecmp ("paraLyzed", "paragraph", 10) > 0); ASSERT (c_strncasecmp ("paraLyzed", "paragraph", 9) > 0); ASSERT (c_strncasecmp ("paraLyzed", "paragraph", 5) > 0); ASSERT (c_strncasecmp ("paraLyzed", "paragraph", 4) == 0); ASSERT (c_strncasecmp ("para", "paragraph", 10) < 0); ASSERT (c_strncasecmp ("para", "paragraph", 9) < 0); ASSERT (c_strncasecmp ("para", "paragraph", 5) < 0); ASSERT (c_strncasecmp ("para", "paragraph", 4) == 0); ASSERT (c_strncasecmp ("paragraph", "para", 10) > 0); ASSERT (c_strncasecmp ("paragraph", "para", 9) > 0); ASSERT (c_strncasecmp ("paragraph", "para", 5) > 0); ASSERT (c_strncasecmp ("paragraph", "para", 4) == 0); /* The following tests shows how c_strncasecmp() is different from strncasecmp(). */ ASSERT (c_strncasecmp ("\311mily", "\351mile", 4) < 0); ASSERT (c_strncasecmp ("\351mile", "\311mily", 4) > 0); /* The following tests shows how c_strncasecmp() is different from mbsncasecmp(). */ ASSERT (c_strncasecmp ("\303\266zg\303\274r", "\303\226ZG\303\234R", 99) > 0); /* özgür */ ASSERT (c_strncasecmp ("\303\226ZG\303\234R", "\303\266zg\303\274r", 99) < 0); /* özgür */ #if C_CTYPE_ASCII /* This test shows how strings of different size cannot compare equal. */ ASSERT (c_strncasecmp ("turkish", "TURK\304\260SH", 7) < 0); ASSERT (c_strncasecmp ("TURK\304\260SH", "turkish", 7) > 0); #endif return 0; } gsasl-1.8.1/gltests/test-fstat.c0000644000000000000000000000237513516251600013456 00000000000000/* Tests of fstat() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fstat, int, (int, struct stat *)); #include #include #include "macros.h" int main (int argc, char *argv[]) { /* Test behaviour for invalid file descriptors. */ { struct stat statbuf; errno = 0; ASSERT (fstat (-1, &statbuf) == -1); ASSERT (errno == EBADF); } { struct stat statbuf; close (99); errno = 0; ASSERT (fstat (99, &statbuf) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/gltests/test-localcharset.c0000644000000000000000000000222413516251574015004 00000000000000/* Manual test of localcharset() function. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* This program prints the result of locale_charset in the current locale. One way to use it is: $ for l in `locale -a`; do echo -n "$l "; LANG=$l ./test-localcharset; done \ | sort -k 2 */ #include #include "localcharset.h" #include #include int main (void) { setlocale (LC_ALL, ""); printf ("%s\n", locale_charset ()); return 0; } gsasl-1.8.1/gltests/test-getprogname.c0000644000000000000000000000400713516251574014651 00000000000000/* Test the gnulib getprogname module. Copyright (C) 2016-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include "getprogname.h" #include #include #ifdef __hpux # define STREQ(a, b) (strncmp (a, b, 14) == 0) #else # define STREQ(a, b) (strcmp (a, b) == 0) #endif int main (void) { char const *p = getprogname (); /* libtool creates a temporary executable whose name is sometimes prefixed with "lt-" (depends on the platform). But the name of the temporary executable is a detail that should not be visible to the end user and to the test suite. Remove this "lt-" prefix here. */ if (strncmp (p, "lt-", 3) == 0) p += 3; /* Note: You can make this test fail a) by running it on a case-insensitive file system (such as on Windows, Cygwin, or on Mac OS X with a case-insensitive HFS+ file system), with an invocation that contains upper case characters, e.g. test-GETPROGNAME, b) by hardlinking or symlinking it to a different name (e.g. test-foo) and invoking it through that name. That's not the intended use. The Makefile always invokes it as 'test-getprogname${EXEEXT}'. */ #if defined __CYGWIN__ /* The Cygwin getprogname() function strips the ".exe" suffix. */ assert (STREQ (p, "test-getprogname")); #else assert (STREQ (p, "test-getprogname" EXEEXT)); #endif return 0; } gsasl-1.8.1/gltests/locale.in.h0000644000000000000000000002145613516251577013247 00000000000000/* A POSIX . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (defined _WIN32 && !defined __CYGWIN__ && defined __need_locale_t) \ || defined _GL_ALREADY_INCLUDING_LOCALE_H /* Special invocation convention: - Inside mingw header files, - To handle Solaris header files (through Solaris 10) when combined with gettext's libintl.h. */ #@INCLUDE_NEXT@ @NEXT_LOCALE_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_LOCALE_H #define _GL_ALREADY_INCLUDING_LOCALE_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_LOCALE_H@ #undef _GL_ALREADY_INCLUDING_LOCALE_H #ifndef _@GUARD_PREFIX@_LOCALE_H #define _@GUARD_PREFIX@_LOCALE_H /* NetBSD 5.0 mis-defines NULL. */ #include /* Mac OS X 10.5 defines the locale_t type in . */ #if @HAVE_XLOCALE_H@ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C. On systems that don't define it, use the same value as GNU libintl. */ #if !defined LC_MESSAGES # define LC_MESSAGES 1729 #endif /* Bionic libc's 'struct lconv' is just a dummy. */ #if @REPLACE_STRUCT_LCONV@ # define lconv rpl_lconv struct lconv { /* All 'char *' are actually 'const char *'. */ /* Members that depend on the LC_NUMERIC category of the locale. See */ /* Symbol used as decimal point. */ char *decimal_point; /* Symbol used to separate groups of digits to the left of the decimal point. */ char *thousands_sep; /* Definition of the size of groups of digits to the left of the decimal point. */ char *grouping; /* Members that depend on the LC_MONETARY category of the locale. See */ /* Symbol used as decimal point. */ char *mon_decimal_point; /* Symbol used to separate groups of digits to the left of the decimal point. */ char *mon_thousands_sep; /* Definition of the size of groups of digits to the left of the decimal point. */ char *mon_grouping; /* Sign used to indicate a value >= 0. */ char *positive_sign; /* Sign used to indicate a value < 0. */ char *negative_sign; /* For formatting local currency. */ /* Currency symbol (3 characters) followed by separator (1 character). */ char *currency_symbol; /* Number of digits after the decimal point. */ char frac_digits; /* For values >= 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char p_cs_precedes; /* For values >= 0: Position of the sign. */ char p_sign_posn; /* For values >= 0: Placement of spaces between currency symbol, sign, and number. */ char p_sep_by_space; /* For values < 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char n_cs_precedes; /* For values < 0: Position of the sign. */ char n_sign_posn; /* For values < 0: Placement of spaces between currency symbol, sign, and number. */ char n_sep_by_space; /* For formatting international currency. */ /* Currency symbol (3 characters) followed by separator (1 character). */ char *int_curr_symbol; /* Number of digits after the decimal point. */ char int_frac_digits; /* For values >= 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char int_p_cs_precedes; /* For values >= 0: Position of the sign. */ char int_p_sign_posn; /* For values >= 0: Placement of spaces between currency symbol, sign, and number. */ char int_p_sep_by_space; /* For values < 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char int_n_cs_precedes; /* For values < 0: Position of the sign. */ char int_n_sign_posn; /* For values < 0: Placement of spaces between currency symbol, sign, and number. */ char int_n_sep_by_space; }; #endif #if @GNULIB_LOCALECONV@ # if @REPLACE_LOCALECONV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localeconv # define localeconv rpl_localeconv # endif _GL_FUNCDECL_RPL (localeconv, struct lconv *, (void)); _GL_CXXALIAS_RPL (localeconv, struct lconv *, (void)); # else _GL_CXXALIAS_SYS (localeconv, struct lconv *, (void)); # endif _GL_CXXALIASWARN (localeconv); #elif @REPLACE_STRUCT_LCONV@ # undef localeconv # define localeconv localeconv_used_without_requesting_gnulib_module_localeconv #elif defined GNULIB_POSIXCHECK # undef localeconv # if HAVE_RAW_DECL_LOCALECONV _GL_WARN_ON_USE (localeconv, "localeconv returns too few information on some platforms - " "use gnulib module localeconv for portability"); # endif #endif #if @GNULIB_SETLOCALE@ # if @REPLACE_SETLOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setlocale # define setlocale rpl_setlocale # define GNULIB_defined_setlocale 1 # endif _GL_FUNCDECL_RPL (setlocale, char *, (int category, const char *locale)); _GL_CXXALIAS_RPL (setlocale, char *, (int category, const char *locale)); # else _GL_CXXALIAS_SYS (setlocale, char *, (int category, const char *locale)); # endif _GL_CXXALIASWARN (setlocale); #elif defined GNULIB_POSIXCHECK # undef setlocale # if HAVE_RAW_DECL_SETLOCALE _GL_WARN_ON_USE (setlocale, "setlocale works differently on native Windows - " "use gnulib module setlocale for portability"); # endif #endif #if /*@GNULIB_NEWLOCALE@ ||*/ (@GNULIB_LOCALENAME@ && @HAVE_NEWLOCALE@) # if @REPLACE_NEWLOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef newlocale # define newlocale rpl_newlocale # define GNULIB_defined_newlocale 1 # endif _GL_FUNCDECL_RPL (newlocale, locale_t, (int category_mask, const char *name, locale_t base) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (newlocale, locale_t, (int category_mask, const char *name, locale_t base)); # else # if @HAVE_NEWLOCALE@ _GL_CXXALIAS_SYS (newlocale, locale_t, (int category_mask, const char *name, locale_t base)); # endif # endif # if @HAVE_NEWLOCALE@ _GL_CXXALIASWARN (newlocale); # endif #elif defined GNULIB_POSIXCHECK # undef newlocale # if HAVE_RAW_DECL_NEWLOCALE _GL_WARN_ON_USE (newlocale, "newlocale is not portable"); # endif #endif #if @GNULIB_DUPLOCALE@ || (@GNULIB_LOCALENAME@ && @HAVE_DUPLOCALE@) # if @REPLACE_DUPLOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef duplocale # define duplocale rpl_duplocale # define GNULIB_defined_duplocale 1 # endif _GL_FUNCDECL_RPL (duplocale, locale_t, (locale_t locale) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (duplocale, locale_t, (locale_t locale)); # else # if @HAVE_DUPLOCALE@ _GL_CXXALIAS_SYS (duplocale, locale_t, (locale_t locale)); # endif # endif # if @HAVE_DUPLOCALE@ _GL_CXXALIASWARN (duplocale); # endif #elif defined GNULIB_POSIXCHECK # undef duplocale # if HAVE_RAW_DECL_DUPLOCALE _GL_WARN_ON_USE (duplocale, "duplocale is buggy on some glibc systems - " "use gnulib module duplocale for portability"); # endif #endif #if /*@GNULIB_FREELOCALE@ ||*/ (@GNULIB_LOCALENAME@ && @HAVE_FREELOCALE@) # if @REPLACE_FREELOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef freelocale # define freelocale rpl_freelocale # define GNULIB_defined_freelocale 1 # endif _GL_FUNCDECL_RPL (freelocale, void, (locale_t locale) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (freelocale, void, (locale_t locale)); # else # if @HAVE_FREELOCALE@ _GL_CXXALIAS_SYS (freelocale, void, (locale_t locale)); # endif # endif # if @HAVE_FREELOCALE@ _GL_CXXALIASWARN (freelocale); # endif #elif defined GNULIB_POSIXCHECK # undef freelocale # if HAVE_RAW_DECL_FREELOCALE _GL_WARN_ON_USE (freelocale, "freelocale is not portable"); # endif #endif #endif /* _@GUARD_PREFIX@_LOCALE_H */ #endif /* _@GUARD_PREFIX@_LOCALE_H */ #endif /* !(__need_locale_t || _GL_ALREADY_INCLUDING_LOCALE_H) */ gsasl-1.8.1/gltests/test-sys_uio.c0000644000000000000000000000173613516251601014030 00000000000000/* Test of substitute. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2011. */ #include #include /* Check that necessary types are defined. */ size_t a; ssize_t b; struct iovec c; int main (void) { return a + b + !!c.iov_base + c.iov_len; } gsasl-1.8.1/gltests/test-fcntl-h.c0000644000000000000000000000554313516251600013670 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include /* Check that the various O_* macros are defined. */ int o = (O_DIRECT | O_DIRECTORY | O_DSYNC | O_IGNORE_CTTY | O_NDELAY | O_NOATIME | O_NONBLOCK | O_NOCTTY | O_NOFOLLOW | O_NOLINK | O_NOLINKS | O_NOTRANS | O_RSYNC | O_SYNC | O_TTY_INIT | O_BINARY | O_TEXT); /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; /* Check that the FD_* macros are defined. */ int i = FD_CLOEXEC; /* Check that the types are all defined. */ pid_t t1; off_t t2; mode_t t3; int main (void) { /* Ensure no overlap in SEEK_*. */ switch (0) { case SEEK_CUR: case SEEK_END: case SEEK_SET: ; } /* Ensure no dangerous overlap in non-zero gnulib-defined replacements. */ switch (O_RDONLY) { /* Access modes */ case O_RDONLY: case O_WRONLY: case O_RDWR: #if O_EXEC && O_EXEC != O_RDONLY case O_EXEC: #endif #if O_SEARCH && O_EXEC != O_SEARCH && O_SEARCH != O_RDONLY case O_SEARCH: #endif i = ! (~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)); break; /* Everyone should have these */ case O_CREAT: case O_EXCL: case O_TRUNC: case O_APPEND: break; /* These might be 0 or O_RDONLY, only test non-zero versions. */ #if O_CLOEXEC case O_CLOEXEC: #endif #if O_DIRECT case O_DIRECT: #endif #if O_DIRECTORY case O_DIRECTORY: #endif #if O_DSYNC case O_DSYNC: #endif #if O_IGNORE_CTTY case O_IGNORE_CTTY: #endif #if O_NOATIME case O_NOATIME: #endif #if O_NONBLOCK case O_NONBLOCK: #endif #if O_NOCTTY case O_NOCTTY: #endif #if O_NOFOLLOW case O_NOFOLLOW: #endif #if O_NOLINK case O_NOLINK: #endif #if O_NOLINKS case O_NOLINKS: #endif #if O_NOTRANS case O_NOTRANS: #endif #if O_RSYNC && O_RSYNC != O_DSYNC case O_RSYNC: #endif #if O_SYNC && O_SYNC != O_DSYNC && O_SYNC != O_RSYNC case O_SYNC: #endif #if O_TTY_INIT case O_TTY_INIT: #endif #if O_BINARY case O_BINARY: #endif #if O_TEXT case O_TEXT: #endif ; } return !i; } gsasl-1.8.1/gltests/test-getopt-posix.c0000644000000000000000000000273213516251574015006 00000000000000/* Test of command line argument processing. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include /* None of the files accessed by this test are large, so disable the ftell link warning if we are not using the gnulib ftell module. */ #define _GL_NO_LARGE_FILES /* POSIX and glibc provide the getopt() function in , see http://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html https://www.gnu.org/software/libc/manual/html_node/Using-Getopt.html But gnulib provides the getopt() function in , not in . Nevertheless the getopt() function should also be found in . */ #include #define TEST_GETOPT_GNU 0 #define TEST_GETOPT_TMP_NAME "test-getopt-posix.tmp" #include "test-getopt-main.h" gsasl-1.8.1/gltests/test-fwrite.c0000644000000000000000000000513113516251600013626 00000000000000/* Test of fwrite() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fwrite, size_t, (const void *, size_t, size_t, FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fwrite.txt"; /* We don't have an fwrite() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Test that fwrite() on an unbuffered stream sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "w"); char buf[5] = "world"; ASSERT (fp != NULL); setvbuf (fp, NULL, _IONBF, 0); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fwrite() on an unbuffered stream sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { char buf[5] = "world"; setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { char buf[5] = "world"; setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/gltests/test-mbsinit.c0000644000000000000000000000267713516251600014007 00000000000000/* Test of test for initial conversion state. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (mbsinit, int, (const mbstate_t *)); #include #include "macros.h" int main (int argc, char *argv[]) { static mbstate_t state; ASSERT (mbsinit (NULL)); ASSERT (mbsinit (&state)); if (argc > 1) { static const char input[1] = "\303"; wchar_t wc; size_t ret; /* configure should already have checked that the locale is supported. */ if (setlocale (LC_ALL, "") == NULL) return 1; ret = mbrtowc (&wc, input, 1, &state); ASSERT (ret == (size_t)(-2)); ASSERT (!mbsinit (&state)); } return 0; } gsasl-1.8.1/gltests/inet_pton.c0000644000000000000000000001537313516251577013376 00000000000000/* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* * Copyright (c) 1996,1999 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ #include /* Specification. */ #include #if HAVE_DECL_INET_PTON # undef inet_pton int rpl_inet_pton (int af, const char *restrict src, void *restrict dst) { return inet_pton (af, src, dst); } #else # include # include # include # define NS_INADDRSZ 4 # define NS_IN6ADDRSZ 16 # define NS_INT16SZ 2 /* * WARNING: Don't even consider trying to compile this on a system where * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. */ static int inet_pton4 (const char *src, unsigned char *dst); # if HAVE_IPV6 static int inet_pton6 (const char *src, unsigned char *dst); # endif /* int * inet_pton(af, src, dst) * convert from presentation format (which usually means ASCII printable) * to network format (which is usually some kind of binary format). * return: * 1 if the address was valid for the specified address family * 0 if the address wasn't valid ('dst' is untouched in this case) * -1 if some other error occurred ('dst' is untouched in this case, too) * author: * Paul Vixie, 1996. */ int inet_pton (int af, const char *restrict src, void *restrict dst) { switch (af) { case AF_INET: return (inet_pton4 (src, dst)); # if HAVE_IPV6 case AF_INET6: return (inet_pton6 (src, dst)); # endif default: errno = EAFNOSUPPORT; return (-1); } /* NOTREACHED */ } /* int * inet_pton4(src, dst) * like inet_aton() but without all the hexadecimal, octal (with the * exception of 0) and shorthand. * return: * 1 if 'src' is a valid dotted quad, else 0. * notice: * does not touch 'dst' unless it's returning 1. * author: * Paul Vixie, 1996. */ static int inet_pton4 (const char *restrict src, unsigned char *restrict dst) { int saw_digit, octets, ch; unsigned char tmp[NS_INADDRSZ], *tp; saw_digit = 0; octets = 0; *(tp = tmp) = 0; while ((ch = *src++) != '\0') { if (ch >= '0' && ch <= '9') { unsigned new = *tp * 10 + (ch - '0'); if (saw_digit && *tp == 0) return (0); if (new > 255) return (0); *tp = new; if (!saw_digit) { if (++octets > 4) return (0); saw_digit = 1; } } else if (ch == '.' && saw_digit) { if (octets == 4) return (0); *++tp = 0; saw_digit = 0; } else return (0); } if (octets < 4) return (0); memcpy (dst, tmp, NS_INADDRSZ); return (1); } # if HAVE_IPV6 /* int * inet_pton6(src, dst) * convert presentation level address to network order binary form. * return: * 1 if 'src' is a valid [RFC1884 2.2] address, else 0. * notice: * (1) does not touch 'dst' unless it's returning 1. * (2) :: in a full address is silently ignored. * credit: * inspired by Mark Andrews. * author: * Paul Vixie, 1996. */ static int inet_pton6 (const char *restrict src, unsigned char *restrict dst) { static const char xdigits[] = "0123456789abcdef"; unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; const char *curtok; int ch, saw_xdigit; unsigned val; tp = memset (tmp, '\0', NS_IN6ADDRSZ); endp = tp + NS_IN6ADDRSZ; colonp = NULL; /* Leading :: requires some special handling. */ if (*src == ':') if (*++src != ':') return (0); curtok = src; saw_xdigit = 0; val = 0; while ((ch = c_tolower (*src++)) != '\0') { const char *pch; pch = strchr (xdigits, ch); if (pch != NULL) { val <<= 4; val |= (pch - xdigits); if (val > 0xffff) return (0); saw_xdigit = 1; continue; } if (ch == ':') { curtok = src; if (!saw_xdigit) { if (colonp) return (0); colonp = tp; continue; } else if (*src == '\0') { return (0); } if (tp + NS_INT16SZ > endp) return (0); *tp++ = (u_char) (val >> 8) & 0xff; *tp++ = (u_char) val & 0xff; saw_xdigit = 0; val = 0; continue; } if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && inet_pton4 (curtok, tp) > 0) { tp += NS_INADDRSZ; saw_xdigit = 0; break; /* '\0' was seen by inet_pton4(). */ } return (0); } if (saw_xdigit) { if (tp + NS_INT16SZ > endp) return (0); *tp++ = (u_char) (val >> 8) & 0xff; *tp++ = (u_char) val & 0xff; } if (colonp != NULL) { /* * Since some memmove()'s erroneously fail to handle * overlapping regions, we'll do the shift by hand. */ const int n = tp - colonp; int i; if (tp == endp) return (0); for (i = 1; i <= n; i++) { endp[-i] = colonp[n - i]; colonp[n - i] = 0; } tp = endp; } if (tp != endp) return (0); memcpy (dst, tmp, NS_IN6ADDRSZ); return (1); } # endif #endif gsasl-1.8.1/gltests/test-alloca-opt.c0000644000000000000000000000276313516251600014371 00000000000000/* Test of optional automatic memory allocation. Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #if HAVE_ALLOCA static void do_allocation (int n) { void *ptr = alloca (n); (void) ptr; } void (*func) (int) = do_allocation; #endif int main () { #if HAVE_ALLOCA int i; /* Repeat a lot of times, to make sure there's no memory leak. */ for (i = 0; i < 100000; i++) { /* Try various values. n = 0 gave a crash on Alpha with gcc-2.5.8. Some versions of Mac OS X have a stack size limit of 512 KB. */ func (34); func (134); func (399); func (510823); func (129321); func (0); func (4070); func (4095); func (1); func (16582); } #endif return 0; } gsasl-1.8.1/gltests/test-wcrtomb.sh0000755000000000000000000000166213516251601014204 00000000000000#!/bin/sh # Test in an ISO-8859-1 or ISO-8859-15 locale. : ${LOCALE_FR=fr_FR} if test $LOCALE_FR != none; then LC_ALL=$LOCALE_FR \ ${CHECKER} ./test-wcrtomb${EXEEXT} 1 \ || exit 1 fi # Test whether a specific UTF-8 locale is installed. : ${LOCALE_FR_UTF8=fr_FR.UTF-8} if test $LOCALE_FR_UTF8 != none; then LC_ALL=$LOCALE_FR_UTF8 \ ${CHECKER} ./test-wcrtomb${EXEEXT} 2 \ || exit 1 fi # Test whether a specific EUC-JP locale is installed. : ${LOCALE_JA=ja_JP} if test $LOCALE_JA != none; then LC_ALL=$LOCALE_JA \ ${CHECKER} ./test-wcrtomb${EXEEXT} 3 \ || exit 1 fi # Test whether a specific GB18030 locale is installed. : ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN != none; then LC_ALL=$LOCALE_ZH_CN \ ${CHECKER} ./test-wcrtomb${EXEEXT} 4 \ || exit 1 fi # Test in the POSIX locale. LC_ALL=C ${CHECKER} ./test-wcrtomb${EXEEXT} 5 || exit 1 LC_ALL=POSIX ${CHECKER} ./test-wcrtomb${EXEEXT} 5 || exit 1 exit 0 gsasl-1.8.1/gltests/binary-io.h0000644000000000000000000000457313516251577013275 00000000000000/* Binary mode I/O. Copyright (C) 2001, 2003, 2005, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _BINARY_H #define _BINARY_H /* For systems that distinguish between text and binary I/O. O_BINARY is guaranteed by the gnulib . */ #include /* The MSVC7 doesn't like to be included after '#define fileno ...', so we include it here first. */ #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef BINARY_IO_INLINE # define BINARY_IO_INLINE _GL_INLINE #endif #if O_BINARY # if defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__ # include /* declares setmode() */ # define __gl_setmode setmode # else # define __gl_setmode _setmode # undef fileno # define fileno _fileno # endif #else /* On reasonable systems, binary I/O is the only choice. */ /* Use a function rather than a macro, to avoid gcc warnings "warning: statement with no effect". */ BINARY_IO_INLINE int __gl_setmode (int fd _GL_UNUSED, int mode _GL_UNUSED) { return O_BINARY; } #endif /* Set FD's mode to MODE, which should be either O_TEXT or O_BINARY. Return the old mode if successful, -1 (setting errno) on failure. Ordinarily this function would be called 'setmode', since that is its name on MS-Windows, but it is called 'set_binary_mode' here to avoid colliding with a BSD function of another name. */ #if defined __DJGPP__ || defined __EMX__ extern int set_binary_mode (int fd, int mode); #else BINARY_IO_INLINE int set_binary_mode (int fd, int mode) { return __gl_setmode (fd, mode); } #endif /* This macro is obsolescent. */ #define SET_BINARY(fd) ((void) set_binary_mode (fd, O_BINARY)) _GL_INLINE_HEADER_END #endif /* _BINARY_H */ gsasl-1.8.1/gltests/Makefile.in0000644000000000000000000074251613521017140013264 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. 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@ TESTS = test-alloca-opt$(EXEEXT) test-arpa_inet$(EXEEXT) \ test-binary-io.sh test-btowc1.sh test-btowc2.sh \ test-c-ctype$(EXEEXT) test-c-strcase.sh test-cloexec$(EXEEXT) \ test-close$(EXEEXT) test-connect$(EXEEXT) test-ctype$(EXEEXT) \ test-dup2$(EXEEXT) test-environ$(EXEEXT) test-errno$(EXEEXT) \ test-fcntl-h$(EXEEXT) test-fcntl$(EXEEXT) test-fdopen$(EXEEXT) \ test-fgetc$(EXEEXT) test-float$(EXEEXT) test-fputc$(EXEEXT) \ test-fread$(EXEEXT) test-fseek.sh test-fseek2.sh \ test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh \ test-fstat$(EXEEXT) test-fwrite$(EXEEXT) \ test-getaddrinfo$(EXEEXT) test-getcwd-lgpl$(EXEEXT) \ test-getdelim$(EXEEXT) test-getdtablesize$(EXEEXT) \ test-getline$(EXEEXT) test-getopt-gnu$(EXEEXT) \ test-getopt-posix$(EXEEXT) test-getprogname$(EXEEXT) \ test-iconv-h$(EXEEXT) test-iconv$(EXEEXT) \ test-ignore-value$(EXEEXT) test-inet_ntop$(EXEEXT) \ test-inet_pton$(EXEEXT) test-intprops$(EXEEXT) \ test-inttypes$(EXEEXT) test-isblank$(EXEEXT) \ test-langinfo$(EXEEXT) test-limits-h$(EXEEXT) \ test-locale$(EXEEXT) test-localename$(EXEEXT) \ test-rwlock1$(EXEEXT) test-lock$(EXEEXT) test-once1$(EXEEXT) \ test-once2$(EXEEXT) test-lseek.sh test-lstat$(EXEEXT) \ test-malloca$(EXEEXT) test-mbrtowc1.sh test-mbrtowc2.sh \ test-mbrtowc3.sh test-mbrtowc4.sh test-mbrtowc5.sh \ test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh \ test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh \ test-mbrtowc-w32-5.sh test-mbsinit.sh test-memchr$(EXEEXT) \ test-nanosleep$(EXEEXT) test-netdb$(EXEEXT) \ test-netinet_in$(EXEEXT) test-open$(EXEEXT) \ test-pathmax$(EXEEXT) test-poll-h$(EXEEXT) \ test-pthread$(EXEEXT) test-pthread-thread$(EXEEXT) \ test-pthread_sigmask1$(EXEEXT) test-pthread_sigmask2$(EXEEXT) \ test-quotearg-simple$(EXEEXT) test-raise$(EXEEXT) \ test-recv$(EXEEXT) test-sched$(EXEEXT) test-setenv$(EXEEXT) \ test-setlocale1.sh test-setlocale2.sh test-shutdown$(EXEEXT) \ test-sigaction$(EXEEXT) test-signal-h$(EXEEXT) \ test-sigprocmask$(EXEEXT) test-sleep$(EXEEXT) \ test-snprintf$(EXEEXT) test-sockets$(EXEEXT) \ test-stat$(EXEEXT) test-stat-time$(EXEEXT) \ test-stdalign$(EXEEXT) test-stdbool$(EXEEXT) \ test-stddef$(EXEEXT) test-stdint$(EXEEXT) test-stdio$(EXEEXT) \ test-stdlib$(EXEEXT) test-strerror$(EXEEXT) \ test-striconv$(EXEEXT) test-string$(EXEEXT) \ test-symlink$(EXEEXT) test-sys_select$(EXEEXT) \ test-sys_socket$(EXEEXT) test-sys_stat$(EXEEXT) \ test-sys_time$(EXEEXT) test-sys_types$(EXEEXT) \ test-sys_uio$(EXEEXT) test-init.sh test-thread_self$(EXEEXT) \ test-thread_create$(EXEEXT) test-time$(EXEEXT) \ test-unistd$(EXEEXT) test-u8-mbtoucr$(EXEEXT) \ test-u8-uctomb$(EXEEXT) test-unsetenv$(EXEEXT) \ test-usleep$(EXEEXT) test-vasnprintf$(EXEEXT) \ test-vasprintf$(EXEEXT) test-vc-list-files-git.sh \ test-vc-list-files-cvs.sh test-verify$(EXEEXT) test-verify.sh \ test-version-etc.sh test-wchar$(EXEEXT) test-wcrtomb.sh \ test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh \ test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh \ test-wcrtomb-w32-5.sh test-wctype-h$(EXEEXT) \ test-xalloc-die.sh XFAIL_TESTS = noinst_PROGRAMS = test-localcharset$(EXEEXT) check_PROGRAMS = test-alloca-opt$(EXEEXT) test-arpa_inet$(EXEEXT) \ test-binary-io$(EXEEXT) test-btowc$(EXEEXT) \ test-c-ctype$(EXEEXT) test-c-strcasecmp$(EXEEXT) \ test-c-strncasecmp$(EXEEXT) test-cloexec$(EXEEXT) \ test-close$(EXEEXT) test-connect$(EXEEXT) test-ctype$(EXEEXT) \ test-dup2$(EXEEXT) test-environ$(EXEEXT) test-errno$(EXEEXT) \ test-fcntl-h$(EXEEXT) test-fcntl$(EXEEXT) test-fdopen$(EXEEXT) \ test-fgetc$(EXEEXT) test-float$(EXEEXT) test-fputc$(EXEEXT) \ test-fread$(EXEEXT) test-fseek$(EXEEXT) test-fseeko$(EXEEXT) \ test-fseeko3$(EXEEXT) test-fseeko4$(EXEEXT) \ test-fstat$(EXEEXT) test-fwrite$(EXEEXT) \ test-getaddrinfo$(EXEEXT) test-getcwd-lgpl$(EXEEXT) \ test-getdelim$(EXEEXT) test-getdtablesize$(EXEEXT) \ test-getline$(EXEEXT) test-getopt-gnu$(EXEEXT) \ test-getopt-posix$(EXEEXT) test-getprogname$(EXEEXT) \ test-iconv-h$(EXEEXT) test-iconv$(EXEEXT) \ test-ignore-value$(EXEEXT) test-inet_ntop$(EXEEXT) \ test-inet_pton$(EXEEXT) test-intprops$(EXEEXT) \ test-inttypes$(EXEEXT) test-isblank$(EXEEXT) \ test-langinfo$(EXEEXT) test-limits-h$(EXEEXT) \ test-locale$(EXEEXT) test-localename$(EXEEXT) \ test-rwlock1$(EXEEXT) test-lock$(EXEEXT) test-once1$(EXEEXT) \ test-once2$(EXEEXT) test-lseek$(EXEEXT) test-lstat$(EXEEXT) \ test-malloca$(EXEEXT) test-mbrtowc$(EXEEXT) \ test-mbrtowc-w32$(EXEEXT) test-mbsinit$(EXEEXT) \ test-memchr$(EXEEXT) test-nanosleep$(EXEEXT) \ test-netdb$(EXEEXT) test-netinet_in$(EXEEXT) \ test-open$(EXEEXT) test-pathmax$(EXEEXT) test-poll-h$(EXEEXT) \ test-pthread$(EXEEXT) test-pthread-thread$(EXEEXT) \ test-pthread_sigmask1$(EXEEXT) test-pthread_sigmask2$(EXEEXT) \ test-quotearg-simple$(EXEEXT) test-raise$(EXEEXT) \ test-recv$(EXEEXT) test-sched$(EXEEXT) test-setenv$(EXEEXT) \ test-setlocale1$(EXEEXT) test-setlocale2$(EXEEXT) \ test-shutdown$(EXEEXT) test-sigaction$(EXEEXT) \ test-signal-h$(EXEEXT) test-sigprocmask$(EXEEXT) \ test-sleep$(EXEEXT) test-snprintf$(EXEEXT) \ test-sockets$(EXEEXT) test-stat$(EXEEXT) \ test-stat-time$(EXEEXT) test-stdalign$(EXEEXT) \ test-stdbool$(EXEEXT) test-stddef$(EXEEXT) \ test-stdint$(EXEEXT) test-stdio$(EXEEXT) test-stdlib$(EXEEXT) \ test-strerror$(EXEEXT) test-striconv$(EXEEXT) \ test-string$(EXEEXT) test-symlink$(EXEEXT) \ test-sys_select$(EXEEXT) test-sys_socket$(EXEEXT) \ test-sys_stat$(EXEEXT) test-sys_time$(EXEEXT) \ test-sys_types$(EXEEXT) test-sys_uio$(EXEEXT) \ test-thread_self$(EXEEXT) test-thread_create$(EXEEXT) \ test-time$(EXEEXT) test-unistd$(EXEEXT) \ test-u8-mbtoucr$(EXEEXT) test-u8-uctomb$(EXEEXT) \ test-unsetenv$(EXEEXT) test-usleep$(EXEEXT) \ test-vasnprintf$(EXEEXT) test-vasprintf$(EXEEXT) \ test-verify$(EXEEXT) test-version-etc$(EXEEXT) \ test-wchar$(EXEEXT) test-wcrtomb$(EXEEXT) \ test-wcrtomb-w32$(EXEEXT) test-wctype-h$(EXEEXT) \ test-xalloc-die$(EXEEXT) EXTRA_PROGRAMS = test-verify-try$(EXEEXT) subdir = gltests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) LIBRARIES = $(noinst_LIBRARIES) AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libtests_a_AR = $(AR) $(ARFLAGS) am__DEPENDENCIES_1 = am__dirstamp = $(am__leading_dot)dirstamp am_libtests_a_OBJECTS = binary-io.$(OBJEXT) cloexec.$(OBJEXT) \ localename.$(OBJEXT) localename-table.$(OBJEXT) \ malloca.$(OBJEXT) sig-handler.$(OBJEXT) \ glthread/thread.$(OBJEXT) version-etc-fsf.$(OBJEXT) libtests_a_OBJECTS = $(am_libtests_a_OBJECTS) test_alloca_opt_SOURCES = test-alloca-opt.c test_alloca_opt_OBJECTS = test-alloca-opt.$(OBJEXT) test_alloca_opt_LDADD = $(LDADD) test_alloca_opt_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) 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 = test_arpa_inet_SOURCES = test-arpa_inet.c test_arpa_inet_OBJECTS = test-arpa_inet.$(OBJEXT) test_arpa_inet_LDADD = $(LDADD) test_arpa_inet_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_binary_io_SOURCES = test-binary-io.c test_binary_io_OBJECTS = test-binary-io.$(OBJEXT) test_binary_io_LDADD = $(LDADD) test_binary_io_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_btowc_SOURCES = test-btowc.c test_btowc_OBJECTS = test-btowc.$(OBJEXT) test_btowc_LDADD = $(LDADD) test_btowc_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_c_ctype_SOURCES = test-c-ctype.c test_c_ctype_OBJECTS = test-c-ctype.$(OBJEXT) test_c_ctype_LDADD = $(LDADD) test_c_ctype_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_c_strcasecmp_SOURCES = test-c-strcasecmp.c test_c_strcasecmp_OBJECTS = test-c-strcasecmp.$(OBJEXT) test_c_strcasecmp_LDADD = $(LDADD) test_c_strcasecmp_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_c_strncasecmp_SOURCES = test-c-strncasecmp.c test_c_strncasecmp_OBJECTS = test-c-strncasecmp.$(OBJEXT) test_c_strncasecmp_LDADD = $(LDADD) test_c_strncasecmp_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_cloexec_SOURCES = test-cloexec.c test_cloexec_OBJECTS = test-cloexec.$(OBJEXT) test_cloexec_LDADD = $(LDADD) test_cloexec_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_close_SOURCES = test-close.c test_close_OBJECTS = test-close.$(OBJEXT) test_close_LDADD = $(LDADD) test_close_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_connect_SOURCES = test-connect.c test_connect_OBJECTS = test-connect.$(OBJEXT) am__DEPENDENCIES_2 = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_connect_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_ctype_SOURCES = test-ctype.c test_ctype_OBJECTS = test-ctype.$(OBJEXT) test_ctype_LDADD = $(LDADD) test_ctype_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_dup2_SOURCES = test-dup2.c test_dup2_OBJECTS = test-dup2.$(OBJEXT) test_dup2_LDADD = $(LDADD) test_dup2_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_environ_SOURCES = test-environ.c test_environ_OBJECTS = test-environ.$(OBJEXT) test_environ_LDADD = $(LDADD) test_environ_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_errno_SOURCES = test-errno.c test_errno_OBJECTS = test-errno.$(OBJEXT) test_errno_LDADD = $(LDADD) test_errno_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fcntl_SOURCES = test-fcntl.c test_fcntl_OBJECTS = test-fcntl.$(OBJEXT) test_fcntl_LDADD = $(LDADD) test_fcntl_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fcntl_h_SOURCES = test-fcntl-h.c test_fcntl_h_OBJECTS = test-fcntl-h.$(OBJEXT) test_fcntl_h_LDADD = $(LDADD) test_fcntl_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fdopen_SOURCES = test-fdopen.c test_fdopen_OBJECTS = test-fdopen.$(OBJEXT) test_fdopen_LDADD = $(LDADD) test_fdopen_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fgetc_SOURCES = test-fgetc.c test_fgetc_OBJECTS = test-fgetc.$(OBJEXT) test_fgetc_LDADD = $(LDADD) test_fgetc_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_float_SOURCES = test-float.c test_float_OBJECTS = test-float.$(OBJEXT) test_float_LDADD = $(LDADD) test_float_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fputc_SOURCES = test-fputc.c test_fputc_OBJECTS = test-fputc.$(OBJEXT) test_fputc_LDADD = $(LDADD) test_fputc_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fread_SOURCES = test-fread.c test_fread_OBJECTS = test-fread.$(OBJEXT) test_fread_LDADD = $(LDADD) test_fread_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseek_SOURCES = test-fseek.c test_fseek_OBJECTS = test-fseek.$(OBJEXT) test_fseek_LDADD = $(LDADD) test_fseek_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseeko_SOURCES = test-fseeko.c test_fseeko_OBJECTS = test-fseeko.$(OBJEXT) test_fseeko_LDADD = $(LDADD) test_fseeko_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseeko3_SOURCES = test-fseeko3.c test_fseeko3_OBJECTS = test-fseeko3.$(OBJEXT) test_fseeko3_LDADD = $(LDADD) test_fseeko3_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseeko4_SOURCES = test-fseeko4.c test_fseeko4_OBJECTS = test-fseeko4.$(OBJEXT) test_fseeko4_LDADD = $(LDADD) test_fseeko4_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fstat_SOURCES = test-fstat.c test_fstat_OBJECTS = test-fstat.$(OBJEXT) test_fstat_LDADD = $(LDADD) test_fstat_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fwrite_SOURCES = test-fwrite.c test_fwrite_OBJECTS = test-fwrite.$(OBJEXT) test_fwrite_LDADD = $(LDADD) test_fwrite_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_getaddrinfo_SOURCES = test-getaddrinfo.c test_getaddrinfo_OBJECTS = test-getaddrinfo.$(OBJEXT) test_getaddrinfo_DEPENDENCIES = $(am__DEPENDENCIES_2) test_getcwd_lgpl_SOURCES = test-getcwd-lgpl.c test_getcwd_lgpl_OBJECTS = test-getcwd-lgpl.$(OBJEXT) test_getcwd_lgpl_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_getdelim_SOURCES = test-getdelim.c test_getdelim_OBJECTS = test-getdelim.$(OBJEXT) test_getdelim_LDADD = $(LDADD) test_getdelim_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_getdtablesize_SOURCES = test-getdtablesize.c test_getdtablesize_OBJECTS = test-getdtablesize.$(OBJEXT) test_getdtablesize_LDADD = $(LDADD) test_getdtablesize_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_getline_SOURCES = test-getline.c test_getline_OBJECTS = test-getline.$(OBJEXT) test_getline_LDADD = $(LDADD) test_getline_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_getopt_gnu_SOURCES = test-getopt-gnu.c test_getopt_gnu_OBJECTS = test-getopt-gnu.$(OBJEXT) test_getopt_gnu_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_getopt_posix_SOURCES = test-getopt-posix.c test_getopt_posix_OBJECTS = test-getopt-posix.$(OBJEXT) test_getopt_posix_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_getprogname_SOURCES = test-getprogname.c test_getprogname_OBJECTS = test-getprogname.$(OBJEXT) test_getprogname_DEPENDENCIES = $(am__DEPENDENCIES_2) test_iconv_SOURCES = test-iconv.c test_iconv_OBJECTS = test-iconv.$(OBJEXT) test_iconv_DEPENDENCIES = $(am__DEPENDENCIES_2) test_iconv_h_SOURCES = test-iconv-h.c test_iconv_h_OBJECTS = test-iconv-h.$(OBJEXT) test_iconv_h_LDADD = $(LDADD) test_iconv_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ignore_value_SOURCES = test-ignore-value.c test_ignore_value_OBJECTS = test-ignore-value.$(OBJEXT) test_ignore_value_LDADD = $(LDADD) test_ignore_value_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_inet_ntop_SOURCES = test-inet_ntop.c test_inet_ntop_OBJECTS = test-inet_ntop.$(OBJEXT) test_inet_ntop_DEPENDENCIES = $(am__DEPENDENCIES_2) test_inet_pton_SOURCES = test-inet_pton.c test_inet_pton_OBJECTS = test-inet_pton.$(OBJEXT) test_inet_pton_DEPENDENCIES = $(am__DEPENDENCIES_2) test_intprops_SOURCES = test-intprops.c test_intprops_OBJECTS = test-intprops.$(OBJEXT) test_intprops_LDADD = $(LDADD) test_intprops_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_inttypes_SOURCES = test-inttypes.c test_inttypes_OBJECTS = test-inttypes.$(OBJEXT) test_inttypes_LDADD = $(LDADD) test_inttypes_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_isblank_SOURCES = test-isblank.c test_isblank_OBJECTS = test-isblank.$(OBJEXT) test_isblank_LDADD = $(LDADD) test_isblank_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_langinfo_SOURCES = test-langinfo.c test_langinfo_OBJECTS = test-langinfo.$(OBJEXT) test_langinfo_LDADD = $(LDADD) test_langinfo_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_limits_h_SOURCES = test-limits-h.c test_limits_h_OBJECTS = test-limits-h.$(OBJEXT) test_limits_h_LDADD = $(LDADD) test_limits_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_localcharset_SOURCES = test-localcharset.c test_localcharset_OBJECTS = test-localcharset.$(OBJEXT) test_localcharset_LDADD = $(LDADD) test_localcharset_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_locale_SOURCES = test-locale.c test_locale_OBJECTS = test-locale.$(OBJEXT) test_locale_LDADD = $(LDADD) test_locale_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_localename_SOURCES = test-localename.c test_localename_OBJECTS = test-localename.$(OBJEXT) test_localename_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_lock_SOURCES = test-lock.c test_lock_OBJECTS = test-lock.$(OBJEXT) test_lock_DEPENDENCIES = $(am__DEPENDENCIES_2) test_lseek_SOURCES = test-lseek.c test_lseek_OBJECTS = test-lseek.$(OBJEXT) test_lseek_LDADD = $(LDADD) test_lseek_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_lstat_SOURCES = test-lstat.c test_lstat_OBJECTS = test-lstat.$(OBJEXT) test_lstat_LDADD = $(LDADD) test_lstat_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_malloca_SOURCES = test-malloca.c test_malloca_OBJECTS = test-malloca.$(OBJEXT) test_malloca_LDADD = $(LDADD) test_malloca_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_mbrtowc_SOURCES = test-mbrtowc.c test_mbrtowc_OBJECTS = test-mbrtowc.$(OBJEXT) test_mbrtowc_LDADD = $(LDADD) test_mbrtowc_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_mbrtowc_w32_SOURCES = test-mbrtowc-w32.c test_mbrtowc_w32_OBJECTS = test-mbrtowc-w32.$(OBJEXT) test_mbrtowc_w32_LDADD = $(LDADD) test_mbrtowc_w32_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_mbsinit_SOURCES = test-mbsinit.c test_mbsinit_OBJECTS = test-mbsinit.$(OBJEXT) test_mbsinit_LDADD = $(LDADD) test_mbsinit_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_memchr_SOURCES = test-memchr.c test_memchr_OBJECTS = test-memchr.$(OBJEXT) test_memchr_LDADD = $(LDADD) test_memchr_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_nanosleep_SOURCES = test-nanosleep.c test_nanosleep_OBJECTS = test-nanosleep.$(OBJEXT) test_nanosleep_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_netdb_SOURCES = test-netdb.c test_netdb_OBJECTS = test-netdb.$(OBJEXT) test_netdb_LDADD = $(LDADD) test_netdb_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_netinet_in_SOURCES = test-netinet_in.c test_netinet_in_OBJECTS = test-netinet_in.$(OBJEXT) test_netinet_in_LDADD = $(LDADD) test_netinet_in_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) am_test_once1_OBJECTS = test-once.$(OBJEXT) test_once1_OBJECTS = $(am_test_once1_OBJECTS) test_once1_DEPENDENCIES = $(am__DEPENDENCIES_2) am_test_once2_OBJECTS = test-once.$(OBJEXT) test_once2_OBJECTS = $(am_test_once2_OBJECTS) test_once2_DEPENDENCIES = $(am__DEPENDENCIES_2) test_open_SOURCES = test-open.c test_open_OBJECTS = test-open.$(OBJEXT) test_open_LDADD = $(LDADD) test_open_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_pathmax_SOURCES = test-pathmax.c test_pathmax_OBJECTS = test-pathmax.$(OBJEXT) test_pathmax_LDADD = $(LDADD) test_pathmax_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_poll_h_SOURCES = test-poll-h.c test_poll_h_OBJECTS = test-poll-h.$(OBJEXT) test_poll_h_LDADD = $(LDADD) test_poll_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_pthread_SOURCES = test-pthread.c test_pthread_OBJECTS = test-pthread.$(OBJEXT) test_pthread_LDADD = $(LDADD) test_pthread_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_pthread_thread_SOURCES = test-pthread-thread.c test_pthread_thread_OBJECTS = test-pthread-thread.$(OBJEXT) test_pthread_thread_DEPENDENCIES = $(am__DEPENDENCIES_2) test_pthread_sigmask1_SOURCES = test-pthread_sigmask1.c test_pthread_sigmask1_OBJECTS = test-pthread_sigmask1.$(OBJEXT) test_pthread_sigmask1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_pthread_sigmask2_SOURCES = test-pthread_sigmask2.c test_pthread_sigmask2_OBJECTS = test-pthread_sigmask2.$(OBJEXT) test_pthread_sigmask2_DEPENDENCIES = $(am__DEPENDENCIES_2) test_quotearg_simple_SOURCES = test-quotearg-simple.c test_quotearg_simple_OBJECTS = test-quotearg-simple.$(OBJEXT) test_quotearg_simple_DEPENDENCIES = $(am__DEPENDENCIES_2) test_raise_SOURCES = test-raise.c test_raise_OBJECTS = test-raise.$(OBJEXT) test_raise_LDADD = $(LDADD) test_raise_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_recv_SOURCES = test-recv.c test_recv_OBJECTS = test-recv.$(OBJEXT) test_recv_DEPENDENCIES = $(am__DEPENDENCIES_2) test_rwlock1_SOURCES = test-rwlock1.c test_rwlock1_OBJECTS = test-rwlock1.$(OBJEXT) test_rwlock1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_sched_SOURCES = test-sched.c test_sched_OBJECTS = test-sched.$(OBJEXT) test_sched_LDADD = $(LDADD) test_sched_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_setenv_SOURCES = test-setenv.c test_setenv_OBJECTS = test-setenv.$(OBJEXT) test_setenv_LDADD = $(LDADD) test_setenv_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_setlocale1_SOURCES = test-setlocale1.c test_setlocale1_OBJECTS = test-setlocale1.$(OBJEXT) test_setlocale1_LDADD = $(LDADD) test_setlocale1_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_setlocale2_SOURCES = test-setlocale2.c test_setlocale2_OBJECTS = test-setlocale2.$(OBJEXT) test_setlocale2_LDADD = $(LDADD) test_setlocale2_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_shutdown_SOURCES = test-shutdown.c test_shutdown_OBJECTS = test-shutdown.$(OBJEXT) test_shutdown_DEPENDENCIES = $(am__DEPENDENCIES_2) test_sigaction_SOURCES = test-sigaction.c test_sigaction_OBJECTS = test-sigaction.$(OBJEXT) test_sigaction_LDADD = $(LDADD) test_sigaction_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_signal_h_SOURCES = test-signal-h.c test_signal_h_OBJECTS = test-signal-h.$(OBJEXT) test_signal_h_LDADD = $(LDADD) test_signal_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sigprocmask_SOURCES = test-sigprocmask.c test_sigprocmask_OBJECTS = test-sigprocmask.$(OBJEXT) test_sigprocmask_LDADD = $(LDADD) test_sigprocmask_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sleep_SOURCES = test-sleep.c test_sleep_OBJECTS = test-sleep.$(OBJEXT) test_sleep_LDADD = $(LDADD) test_sleep_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_snprintf_SOURCES = test-snprintf.c test_snprintf_OBJECTS = test-snprintf.$(OBJEXT) test_snprintf_LDADD = $(LDADD) test_snprintf_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sockets_SOURCES = test-sockets.c test_sockets_OBJECTS = test-sockets.$(OBJEXT) test_sockets_DEPENDENCIES = $(am__DEPENDENCIES_2) test_stat_SOURCES = test-stat.c test_stat_OBJECTS = test-stat.$(OBJEXT) test_stat_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) test_stat_time_SOURCES = test-stat-time.c test_stat_time_OBJECTS = test-stat-time.$(OBJEXT) test_stat_time_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_stdalign_SOURCES = test-stdalign.c test_stdalign_OBJECTS = test-stdalign.$(OBJEXT) test_stdalign_LDADD = $(LDADD) test_stdalign_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdbool_SOURCES = test-stdbool.c test_stdbool_OBJECTS = test-stdbool.$(OBJEXT) test_stdbool_LDADD = $(LDADD) test_stdbool_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stddef_SOURCES = test-stddef.c test_stddef_OBJECTS = test-stddef.$(OBJEXT) test_stddef_LDADD = $(LDADD) test_stddef_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdint_SOURCES = test-stdint.c test_stdint_OBJECTS = test-stdint.$(OBJEXT) test_stdint_LDADD = $(LDADD) test_stdint_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdio_SOURCES = test-stdio.c test_stdio_OBJECTS = test-stdio.$(OBJEXT) test_stdio_LDADD = $(LDADD) test_stdio_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdlib_SOURCES = test-stdlib.c test_stdlib_OBJECTS = test-stdlib.$(OBJEXT) test_stdlib_LDADD = $(LDADD) test_stdlib_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_strerror_SOURCES = test-strerror.c test_strerror_OBJECTS = test-strerror.$(OBJEXT) test_strerror_LDADD = $(LDADD) test_strerror_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_striconv_SOURCES = test-striconv.c test_striconv_OBJECTS = test-striconv.$(OBJEXT) test_striconv_DEPENDENCIES = $(am__DEPENDENCIES_2) test_string_SOURCES = test-string.c test_string_OBJECTS = test-string.$(OBJEXT) test_string_LDADD = $(LDADD) test_string_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_symlink_SOURCES = test-symlink.c test_symlink_OBJECTS = test-symlink.$(OBJEXT) test_symlink_LDADD = $(LDADD) test_symlink_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_select_SOURCES = test-sys_select.c test_sys_select_OBJECTS = test-sys_select.$(OBJEXT) test_sys_select_LDADD = $(LDADD) test_sys_select_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_socket_SOURCES = test-sys_socket.c test_sys_socket_OBJECTS = test-sys_socket.$(OBJEXT) test_sys_socket_LDADD = $(LDADD) test_sys_socket_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_stat_SOURCES = test-sys_stat.c test_sys_stat_OBJECTS = test-sys_stat.$(OBJEXT) test_sys_stat_LDADD = $(LDADD) test_sys_stat_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_time_SOURCES = test-sys_time.c test_sys_time_OBJECTS = test-sys_time.$(OBJEXT) test_sys_time_LDADD = $(LDADD) test_sys_time_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_types_SOURCES = test-sys_types.c test_sys_types_OBJECTS = test-sys_types.$(OBJEXT) test_sys_types_LDADD = $(LDADD) test_sys_types_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_uio_SOURCES = test-sys_uio.c test_sys_uio_OBJECTS = test-sys_uio.$(OBJEXT) test_sys_uio_LDADD = $(LDADD) test_sys_uio_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_thread_create_SOURCES = test-thread_create.c test_thread_create_OBJECTS = test-thread_create.$(OBJEXT) test_thread_create_DEPENDENCIES = $(am__DEPENDENCIES_2) test_thread_self_SOURCES = test-thread_self.c test_thread_self_OBJECTS = test-thread_self.$(OBJEXT) test_thread_self_DEPENDENCIES = $(am__DEPENDENCIES_2) test_time_SOURCES = test-time.c test_time_OBJECTS = test-time.$(OBJEXT) test_time_LDADD = $(LDADD) test_time_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) am_test_u8_mbtoucr_OBJECTS = unistr/test-u8-mbtoucr.$(OBJEXT) test_u8_mbtoucr_OBJECTS = $(am_test_u8_mbtoucr_OBJECTS) test_u8_mbtoucr_DEPENDENCIES = $(am__DEPENDENCIES_2) am_test_u8_uctomb_OBJECTS = unistr/test-u8-uctomb.$(OBJEXT) test_u8_uctomb_OBJECTS = $(am_test_u8_uctomb_OBJECTS) test_u8_uctomb_DEPENDENCIES = $(am__DEPENDENCIES_2) test_unistd_SOURCES = test-unistd.c test_unistd_OBJECTS = test-unistd.$(OBJEXT) test_unistd_LDADD = $(LDADD) test_unistd_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_unsetenv_SOURCES = test-unsetenv.c test_unsetenv_OBJECTS = test-unsetenv.$(OBJEXT) test_unsetenv_LDADD = $(LDADD) test_unsetenv_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_usleep_SOURCES = test-usleep.c test_usleep_OBJECTS = test-usleep.$(OBJEXT) test_usleep_LDADD = $(LDADD) test_usleep_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_vasnprintf_SOURCES = test-vasnprintf.c test_vasnprintf_OBJECTS = test-vasnprintf.$(OBJEXT) test_vasnprintf_LDADD = $(LDADD) test_vasnprintf_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_vasprintf_SOURCES = test-vasprintf.c test_vasprintf_OBJECTS = test-vasprintf.$(OBJEXT) test_vasprintf_LDADD = $(LDADD) test_vasprintf_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_verify_SOURCES = test-verify.c test_verify_OBJECTS = test-verify.$(OBJEXT) test_verify_LDADD = $(LDADD) test_verify_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_verify_try_SOURCES = test-verify-try.c test_verify_try_OBJECTS = test-verify-try.$(OBJEXT) test_verify_try_LDADD = $(LDADD) test_verify_try_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_version_etc_SOURCES = test-version-etc.c test_version_etc_OBJECTS = test-version-etc.$(OBJEXT) test_version_etc_DEPENDENCIES = $(am__DEPENDENCIES_2) test_wchar_SOURCES = test-wchar.c test_wchar_OBJECTS = test-wchar.$(OBJEXT) test_wchar_LDADD = $(LDADD) test_wchar_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_wcrtomb_SOURCES = test-wcrtomb.c test_wcrtomb_OBJECTS = test-wcrtomb.$(OBJEXT) test_wcrtomb_LDADD = $(LDADD) test_wcrtomb_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_wcrtomb_w32_SOURCES = test-wcrtomb-w32.c test_wcrtomb_w32_OBJECTS = test-wcrtomb-w32.$(OBJEXT) test_wcrtomb_w32_LDADD = $(LDADD) test_wcrtomb_w32_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_wctype_h_SOURCES = test-wctype-h.c test_wctype_h_OBJECTS = test-wctype-h.$(OBJEXT) test_wctype_h_LDADD = $(LDADD) test_wctype_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_xalloc_die_SOURCES = test-xalloc-die.c test_xalloc_die_OBJECTS = test-xalloc-die.$(OBJEXT) test_xalloc_die_DEPENDENCIES = $(am__DEPENDENCIES_2) 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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/binary-io.Po ./$(DEPDIR)/btowc.Po \ ./$(DEPDIR)/cloexec.Po ./$(DEPDIR)/fcntl.Po \ ./$(DEPDIR)/fdopen.Po ./$(DEPDIR)/getcwd-lgpl.Po \ ./$(DEPDIR)/getdtablesize.Po ./$(DEPDIR)/getpagesize.Po \ ./$(DEPDIR)/inet_pton.Po ./$(DEPDIR)/isblank.Po \ ./$(DEPDIR)/localename-table.Po ./$(DEPDIR)/localename.Po \ ./$(DEPDIR)/lstat.Po ./$(DEPDIR)/malloca.Po \ ./$(DEPDIR)/mbtowc.Po ./$(DEPDIR)/nanosleep.Po \ ./$(DEPDIR)/open.Po ./$(DEPDIR)/pthread-thread.Po \ ./$(DEPDIR)/pthread_sigmask.Po ./$(DEPDIR)/putenv.Po \ ./$(DEPDIR)/raise.Po ./$(DEPDIR)/setenv.Po \ ./$(DEPDIR)/setlocale.Po ./$(DEPDIR)/sig-handler.Po \ ./$(DEPDIR)/sigaction.Po ./$(DEPDIR)/sigprocmask.Po \ ./$(DEPDIR)/sleep.Po ./$(DEPDIR)/stat-w32.Po \ ./$(DEPDIR)/stat.Po ./$(DEPDIR)/symlink.Po \ ./$(DEPDIR)/test-alloca-opt.Po ./$(DEPDIR)/test-arpa_inet.Po \ ./$(DEPDIR)/test-binary-io.Po ./$(DEPDIR)/test-btowc.Po \ ./$(DEPDIR)/test-c-ctype.Po ./$(DEPDIR)/test-c-strcasecmp.Po \ ./$(DEPDIR)/test-c-strncasecmp.Po ./$(DEPDIR)/test-cloexec.Po \ ./$(DEPDIR)/test-close.Po ./$(DEPDIR)/test-connect.Po \ ./$(DEPDIR)/test-ctype.Po ./$(DEPDIR)/test-dup2.Po \ ./$(DEPDIR)/test-environ.Po ./$(DEPDIR)/test-errno.Po \ ./$(DEPDIR)/test-fcntl-h.Po ./$(DEPDIR)/test-fcntl.Po \ ./$(DEPDIR)/test-fdopen.Po ./$(DEPDIR)/test-fgetc.Po \ ./$(DEPDIR)/test-float.Po ./$(DEPDIR)/test-fputc.Po \ ./$(DEPDIR)/test-fread.Po ./$(DEPDIR)/test-fseek.Po \ ./$(DEPDIR)/test-fseeko.Po ./$(DEPDIR)/test-fseeko3.Po \ ./$(DEPDIR)/test-fseeko4.Po ./$(DEPDIR)/test-fstat.Po \ ./$(DEPDIR)/test-fwrite.Po ./$(DEPDIR)/test-getaddrinfo.Po \ ./$(DEPDIR)/test-getcwd-lgpl.Po ./$(DEPDIR)/test-getdelim.Po \ ./$(DEPDIR)/test-getdtablesize.Po ./$(DEPDIR)/test-getline.Po \ ./$(DEPDIR)/test-getopt-gnu.Po \ ./$(DEPDIR)/test-getopt-posix.Po \ ./$(DEPDIR)/test-getprogname.Po ./$(DEPDIR)/test-iconv-h.Po \ ./$(DEPDIR)/test-iconv.Po ./$(DEPDIR)/test-ignore-value.Po \ ./$(DEPDIR)/test-inet_ntop.Po ./$(DEPDIR)/test-inet_pton.Po \ ./$(DEPDIR)/test-intprops.Po ./$(DEPDIR)/test-inttypes.Po \ ./$(DEPDIR)/test-isblank.Po ./$(DEPDIR)/test-langinfo.Po \ ./$(DEPDIR)/test-limits-h.Po ./$(DEPDIR)/test-localcharset.Po \ ./$(DEPDIR)/test-locale.Po ./$(DEPDIR)/test-localename.Po \ ./$(DEPDIR)/test-lock.Po ./$(DEPDIR)/test-lseek.Po \ ./$(DEPDIR)/test-lstat.Po ./$(DEPDIR)/test-malloca.Po \ ./$(DEPDIR)/test-mbrtowc-w32.Po ./$(DEPDIR)/test-mbrtowc.Po \ ./$(DEPDIR)/test-mbsinit.Po ./$(DEPDIR)/test-memchr.Po \ ./$(DEPDIR)/test-nanosleep.Po ./$(DEPDIR)/test-netdb.Po \ ./$(DEPDIR)/test-netinet_in.Po ./$(DEPDIR)/test-once.Po \ ./$(DEPDIR)/test-open.Po ./$(DEPDIR)/test-pathmax.Po \ ./$(DEPDIR)/test-poll-h.Po ./$(DEPDIR)/test-pthread-thread.Po \ ./$(DEPDIR)/test-pthread.Po \ ./$(DEPDIR)/test-pthread_sigmask1.Po \ ./$(DEPDIR)/test-pthread_sigmask2.Po \ ./$(DEPDIR)/test-quotearg-simple.Po ./$(DEPDIR)/test-raise.Po \ ./$(DEPDIR)/test-recv.Po ./$(DEPDIR)/test-rwlock1.Po \ ./$(DEPDIR)/test-sched.Po ./$(DEPDIR)/test-setenv.Po \ ./$(DEPDIR)/test-setlocale1.Po ./$(DEPDIR)/test-setlocale2.Po \ ./$(DEPDIR)/test-shutdown.Po ./$(DEPDIR)/test-sigaction.Po \ ./$(DEPDIR)/test-signal-h.Po ./$(DEPDIR)/test-sigprocmask.Po \ ./$(DEPDIR)/test-sleep.Po ./$(DEPDIR)/test-snprintf.Po \ ./$(DEPDIR)/test-sockets.Po ./$(DEPDIR)/test-stat-time.Po \ ./$(DEPDIR)/test-stat.Po ./$(DEPDIR)/test-stdalign.Po \ ./$(DEPDIR)/test-stdbool.Po ./$(DEPDIR)/test-stddef.Po \ ./$(DEPDIR)/test-stdint.Po ./$(DEPDIR)/test-stdio.Po \ ./$(DEPDIR)/test-stdlib.Po ./$(DEPDIR)/test-strerror.Po \ ./$(DEPDIR)/test-striconv.Po ./$(DEPDIR)/test-string.Po \ ./$(DEPDIR)/test-symlink.Po ./$(DEPDIR)/test-sys_select.Po \ ./$(DEPDIR)/test-sys_socket.Po ./$(DEPDIR)/test-sys_stat.Po \ ./$(DEPDIR)/test-sys_time.Po ./$(DEPDIR)/test-sys_types.Po \ ./$(DEPDIR)/test-sys_uio.Po ./$(DEPDIR)/test-thread_create.Po \ ./$(DEPDIR)/test-thread_self.Po ./$(DEPDIR)/test-time.Po \ ./$(DEPDIR)/test-unistd.Po ./$(DEPDIR)/test-unsetenv.Po \ ./$(DEPDIR)/test-usleep.Po ./$(DEPDIR)/test-vasnprintf.Po \ ./$(DEPDIR)/test-vasprintf.Po ./$(DEPDIR)/test-verify-try.Po \ ./$(DEPDIR)/test-verify.Po ./$(DEPDIR)/test-version-etc.Po \ ./$(DEPDIR)/test-wchar.Po ./$(DEPDIR)/test-wcrtomb-w32.Po \ ./$(DEPDIR)/test-wcrtomb.Po ./$(DEPDIR)/test-wctype-h.Po \ ./$(DEPDIR)/test-xalloc-die.Po ./$(DEPDIR)/unsetenv.Po \ ./$(DEPDIR)/usleep.Po ./$(DEPDIR)/version-etc-fsf.Po \ ./$(DEPDIR)/wcrtomb.Po ./$(DEPDIR)/wctob.Po \ ./$(DEPDIR)/wctomb.Po ./$(DEPDIR)/windows-thread.Po \ ./$(DEPDIR)/windows-tls.Po glthread/$(DEPDIR)/thread.Po \ unistr/$(DEPDIR)/test-u8-mbtoucr.Po \ unistr/$(DEPDIR)/test-u8-uctomb.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 = $(libtests_a_SOURCES) $(EXTRA_libtests_a_SOURCES) \ test-alloca-opt.c test-arpa_inet.c test-binary-io.c \ test-btowc.c test-c-ctype.c test-c-strcasecmp.c \ test-c-strncasecmp.c test-cloexec.c test-close.c \ test-connect.c test-ctype.c test-dup2.c test-environ.c \ test-errno.c test-fcntl.c test-fcntl-h.c test-fdopen.c \ test-fgetc.c test-float.c test-fputc.c test-fread.c \ test-fseek.c test-fseeko.c test-fseeko3.c test-fseeko4.c \ test-fstat.c test-fwrite.c test-getaddrinfo.c \ test-getcwd-lgpl.c test-getdelim.c test-getdtablesize.c \ test-getline.c test-getopt-gnu.c test-getopt-posix.c \ test-getprogname.c test-iconv.c test-iconv-h.c \ test-ignore-value.c test-inet_ntop.c test-inet_pton.c \ test-intprops.c test-inttypes.c test-isblank.c test-langinfo.c \ test-limits-h.c test-localcharset.c test-locale.c \ test-localename.c test-lock.c test-lseek.c test-lstat.c \ test-malloca.c test-mbrtowc.c test-mbrtowc-w32.c \ test-mbsinit.c test-memchr.c test-nanosleep.c test-netdb.c \ test-netinet_in.c $(test_once1_SOURCES) $(test_once2_SOURCES) \ test-open.c test-pathmax.c test-poll-h.c test-pthread.c \ test-pthread-thread.c test-pthread_sigmask1.c \ test-pthread_sigmask2.c test-quotearg-simple.c test-raise.c \ test-recv.c test-rwlock1.c test-sched.c test-setenv.c \ test-setlocale1.c test-setlocale2.c test-shutdown.c \ test-sigaction.c test-signal-h.c test-sigprocmask.c \ test-sleep.c test-snprintf.c test-sockets.c test-stat.c \ test-stat-time.c test-stdalign.c test-stdbool.c test-stddef.c \ test-stdint.c test-stdio.c test-stdlib.c test-strerror.c \ test-striconv.c test-string.c test-symlink.c test-sys_select.c \ test-sys_socket.c test-sys_stat.c test-sys_time.c \ test-sys_types.c test-sys_uio.c test-thread_create.c \ test-thread_self.c test-time.c $(test_u8_mbtoucr_SOURCES) \ $(test_u8_uctomb_SOURCES) test-unistd.c test-unsetenv.c \ test-usleep.c test-vasnprintf.c test-vasprintf.c test-verify.c \ test-verify-try.c test-version-etc.c test-wchar.c \ test-wcrtomb.c test-wcrtomb-w32.c test-wctype-h.c \ test-xalloc-die.c DIST_SOURCES = $(libtests_a_SOURCES) $(EXTRA_libtests_a_SOURCES) \ test-alloca-opt.c test-arpa_inet.c test-binary-io.c \ test-btowc.c test-c-ctype.c test-c-strcasecmp.c \ test-c-strncasecmp.c test-cloexec.c test-close.c \ test-connect.c test-ctype.c test-dup2.c test-environ.c \ test-errno.c test-fcntl.c test-fcntl-h.c test-fdopen.c \ test-fgetc.c test-float.c test-fputc.c test-fread.c \ test-fseek.c test-fseeko.c test-fseeko3.c test-fseeko4.c \ test-fstat.c test-fwrite.c test-getaddrinfo.c \ test-getcwd-lgpl.c test-getdelim.c test-getdtablesize.c \ test-getline.c test-getopt-gnu.c test-getopt-posix.c \ test-getprogname.c test-iconv.c test-iconv-h.c \ test-ignore-value.c test-inet_ntop.c test-inet_pton.c \ test-intprops.c test-inttypes.c test-isblank.c test-langinfo.c \ test-limits-h.c test-localcharset.c test-locale.c \ test-localename.c test-lock.c test-lseek.c test-lstat.c \ test-malloca.c test-mbrtowc.c test-mbrtowc-w32.c \ test-mbsinit.c test-memchr.c test-nanosleep.c test-netdb.c \ test-netinet_in.c $(test_once1_SOURCES) $(test_once2_SOURCES) \ test-open.c test-pathmax.c test-poll-h.c test-pthread.c \ test-pthread-thread.c test-pthread_sigmask1.c \ test-pthread_sigmask2.c test-quotearg-simple.c test-raise.c \ test-recv.c test-rwlock1.c test-sched.c test-setenv.c \ test-setlocale1.c test-setlocale2.c test-shutdown.c \ test-sigaction.c test-signal-h.c test-sigprocmask.c \ test-sleep.c test-snprintf.c test-sockets.c test-stat.c \ test-stat-time.c test-stdalign.c test-stdbool.c test-stddef.c \ test-stdint.c test-stdio.c test-stdlib.c test-strerror.c \ test-striconv.c test-string.c test-symlink.c test-sys_select.c \ test-sys_socket.c test-sys_stat.c test-sys_time.c \ test-sys_types.c test-sys_uio.c test-thread_create.c \ test-thread_self.c test-time.c $(test_u8_mbtoucr_SOURCES) \ $(test_u8_uctomb_SOURCES) test-unistd.c test-unsetenv.c \ test-usleep.c test-vasnprintf.c test-vasprintf.c test-verify.c \ test-verify-try.c test-version-etc.c test-wchar.c \ test-wcrtomb.c test-wcrtomb-w32.c test-wctype-h.c \ test-xalloc-die.c 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 HEADERS = $(noinst_HEADERS) 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 \ check recheck distdir distdir-am 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)` ETAGS = etags CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } 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__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_DRIVER = $(SHELL) $(top_srcdir)/lib/build-aux/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/lib/build-aux/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/lib/build-aux/depcomp \ $(top_srcdir)/lib/build-aux/test-driver DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ -DEXEEXT=\"@EXEEXT@\" DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = 1.11 foreign subdir-objects SUBDIRS = . TESTS_ENVIRONMENT = EXEEXT='@EXEEXT@' srcdir='$(srcdir)' \ LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' \ LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \ LOCALE_JA='@LOCALE_JA@' LOCALE_ZH_CN='@LOCALE_ZH_CN@' \ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_FR='@LOCALE_FR@' \ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_JA='@LOCALE_JA@' \ LOCALE_ZH_CN='@LOCALE_ZH_CN@' abs_aux_dir='$(abs_aux_dir)' \ MAKE='$(MAKE)' LOCALE_FR='@LOCALE_FR@' \ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_JA='@LOCALE_JA@' \ LOCALE_ZH_CN='@LOCALE_ZH_CN@' noinst_HEADERS = noinst_LIBRARIES = check_LIBRARIES = libtests.a EXTRA_DIST = test-alloca-opt.c test-arpa_inet.c test-binary-io.sh \ test-binary-io.c macros.h btowc.c test-btowc1.sh \ test-btowc2.sh test-btowc.c signature.h macros.h \ test-c-ctype.c macros.h test-c-strcase.sh test-c-strcasecmp.c \ test-c-strncasecmp.c macros.h cloexec.h test-cloexec.c \ macros.h test-close.c signature.h macros.h test-connect.c \ signature.h macros.h ctype.in.h test-ctype.c test-dup2.c \ signature.h macros.h test-environ.c test-errno.c fcntl.c \ fcntl.in.h test-fcntl-h.c test-fcntl.c signature.h macros.h \ fdopen.c test-fdopen.c signature.h macros.h test-fgetc.c \ signature.h macros.h filename.h flexmember.h test-float.c \ macros.h fpucw.h test-fputc.c signature.h macros.h \ test-fread.c signature.h macros.h test-fseek.c test-fseek.sh \ test-fseek2.sh signature.h macros.h test-fseeko.c \ test-fseeko.sh test-fseeko2.sh test-fseeko3.c test-fseeko3.sh \ test-fseeko4.c test-fseeko4.sh signature.h macros.h \ test-fstat.c signature.h macros.h test-fwrite.c signature.h \ macros.h signature.h test-getaddrinfo.c getcwd-lgpl.c \ test-getcwd-lgpl.c signature.h macros.h test-getdelim.c \ signature.h macros.h getdtablesize.c test-getdtablesize.c \ signature.h macros.h test-getline.c signature.h macros.h \ macros.h signature.h test-getopt-gnu.c test-getopt-main.h \ test-getopt.h test-getopt_long.h macros.h signature.h \ test-getopt-posix.c test-getopt-main.h test-getopt.h \ getpagesize.c test-getprogname.c test-iconv-h.c test-iconv.c \ signature.h macros.h ignore-value.h test-ignore-value.c \ test-inet_ntop.c signature.h macros.h inet_pton.c \ test-inet_pton.c signature.h macros.h test-intprops.c macros.h \ inttypes.in.h test-inttypes.c isblank.c test-isblank.c \ signature.h macros.h langinfo.in.h test-langinfo.c \ test-limits-h.c test-localcharset.c locale.in.h test-locale.c \ localename-table.h localename.h test-localename.c macros.h \ test-rwlock1.c test-lock.c test-once.c test-lseek.c \ test-lseek.sh signature.h macros.h lstat.c test-lstat.h \ test-lstat.c signature.h macros.h malloca.h test-malloca.c \ test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh \ test-mbrtowc4.sh test-mbrtowc5.sh test-mbrtowc.c \ test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh \ test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh \ test-mbrtowc-w32-5.sh test-mbrtowc-w32.c signature.h macros.h \ test-mbsinit.sh test-mbsinit.c signature.h macros.h \ mbtowc-impl.h mbtowc.c test-memchr.c zerosize-ptr.h \ signature.h macros.h nanosleep.c test-nanosleep.c signature.h \ macros.h test-netdb.c test-netinet_in.c open.c test-open.h \ test-open.c signature.h macros.h test-pathmax.c test-poll-h.c \ pthread.in.h test-pthread.c pthread-thread.c \ test-pthread-thread.c macros.h pthread_sigmask.c \ test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h \ macros.h putenv.c test-quotearg-simple.c test-quotearg.h \ macros.h zerosize-ptr.h raise.c test-raise.c signature.h \ macros.h test-recv.c signature.h macros.h same-inode.h \ sched.in.h test-sched.c setenv.c test-setenv.c signature.h \ macros.h setlocale.c test-setlocale1.sh test-setlocale1.c \ test-setlocale2.sh test-setlocale2.c signature.h macros.h \ test-shutdown.c signature.h macros.h sig-handler.h sigaction.c \ test-sigaction.c signature.h macros.h test-signal-h.c \ sigprocmask.c test-sigprocmask.c signature.h macros.h sleep.c \ test-sleep.c signature.h macros.h _Noreturn.h arg-nonnull.h \ c++defs.h unused-parameter.h warn-on-use.h test-snprintf.c \ signature.h macros.h test-sockets.c stat-w32.c stat-w32.h \ stat.c test-stat.h test-stat.c signature.h macros.h \ test-stat-time.c macros.h nap.h test-stdalign.c macros.h \ test-stdbool.c test-stddef.c test-stdint.c test-stdio.c \ test-stdlib.c test-sys_wait.h test-strerror.c signature.h \ macros.h test-striconv.c macros.h test-string.c symlink.c \ test-symlink.h test-symlink.c signature.h macros.h \ test-sys_select.c signature.h test-sys_socket.c \ test-sys_stat.c test-sys_time.c test-sys_types.c \ test-sys_uio.c init.sh test-init.sh test-thread_self.c \ test-thread_create.c macros.h test-time.c test-unistd.c \ unistr/test-u8-mbtoucr.c macros.h unistr/test-u8-uctomb.c \ macros.h unsetenv.c test-unsetenv.c signature.h macros.h \ usleep.c test-usleep.c signature.h macros.h test-vasnprintf.c \ macros.h test-vasprintf.c signature.h macros.h \ test-vc-list-files-git.sh test-vc-list-files-cvs.sh \ test-verify.c test-verify-try.c test-verify.sh \ test-version-etc.c test-version-etc.sh test-wchar.c wcrtomb.c \ test-wcrtomb.sh test-wcrtomb.c test-wcrtomb-w32-1.sh \ test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \ test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh test-wcrtomb-w32.c \ signature.h macros.h wctob.c wctomb-impl.h wctomb.c \ test-wctype-h.c macros.h windows-thread.c windows-thread.h \ windows-tls.c windows-tls.h test-xalloc-die.c \ test-xalloc-die.sh BUILT_SOURCES = ctype.h fcntl.h inttypes.h langinfo.h locale.h \ pthread.h sched.h SUFFIXES = # This test expects compilation of test-verify-try.c to fail, and # each time it fails, the makefile rule does not perform the usual # "mv -f $name.Tpo $name.po, so tell make clean to remove that file. MOSTLYCLEANFILES = core *.stackdump ctype.h ctype.h-t fcntl.h \ fcntl.h-t test-getdelim.txt test-getline.txt inttypes.h \ inttypes.h-t langinfo.h langinfo.h-t locale.h locale.h-t \ pthread.h pthread.h-t sched.h sched.h-t \ .deps/test-verify-try.Tpo MOSTLYCLEANDIRS = CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = AM_CPPFLAGS = \ -D@gltests_WITNESS@=1 \ -I. -I$(srcdir) \ -I.. -I$(srcdir)/.. \ -I../gl -I$(srcdir)/../gl LDADD = libtests.a ../gl/libgl.la libtests.a $(LIBTESTS_LIBDEPS) libtests_a_SOURCES = binary-io.h binary-io.c cloexec.c localename.c \ localename-table.c malloca.c sig-handler.c glthread/thread.h \ glthread/thread.c version-etc-fsf.c glthread/yield.h libtests_a_LIBADD = $(gltests_LIBOBJS) libtests_a_DEPENDENCIES = $(gltests_LIBOBJS) EXTRA_libtests_a_SOURCES = btowc.c fcntl.c fdopen.c getcwd-lgpl.c \ getdtablesize.c getpagesize.c inet_pton.c isblank.c lstat.c \ mbtowc.c nanosleep.c open.c pthread-thread.c pthread_sigmask.c \ putenv.c raise.c setenv.c setlocale.c sigaction.c \ sigprocmask.c sleep.c stat-w32.c stat.c symlink.c unsetenv.c \ usleep.c wcrtomb.c wctob.c wctomb.c windows-thread.c \ windows-tls.c AM_LIBTOOLFLAGS = --preserve-dup-deps test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) test_getaddrinfo_LDADD = $(LDADD) @GETADDRINFO_LIB@ @LIBINTL@ test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL) test_getopt_gnu_LDADD = $(LDADD) $(LIBINTL) test_getopt_posix_LDADD = $(LDADD) $(LIBINTL) test_getprogname_LDADD = $(LDADD) GPERF = gperf V_GPERF = $(V_GPERF_@AM_V@) V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@) V_GPERF_0 = @echo " GPERF " $@; test_iconv_LDADD = $(LDADD) @LIBICONV@ test_inet_ntop_LDADD = $(LDADD) @INET_NTOP_LIB@ test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@ test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD) test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_once1_SOURCES = test-once.c test_once1_LDADD = $(LDADD) @LIBTHREAD@ test_once2_SOURCES = test-once.c test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@ test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP) test_pthread_thread_LDADD = $(LDADD) @LIBMULTITHREAD@ test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@ test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@ test_recv_LDADD = $(LDADD) @LIBSOCKET@ test_shutdown_LDADD = $(LDADD) @LIBSOCKET@ # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H = $(srcdir)/_Noreturn.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H = $(srcdir)/arg-nonnull.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H = $(srcdir)/c++defs.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H = $(srcdir)/unused-parameter.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H = $(srcdir)/warn-on-use.h test_sockets_LDADD = $(LDADD) @LIBSOCKET@ test_stat_LDADD = $(LDADD) $(LIBINTL) test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP) test_striconv_LDADD = $(LDADD) @LIBICONV@ test_thread_self_LDADD = $(LDADD) @LIBTHREAD@ test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@ test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING) test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING) test_version_etc_LDADD = $(LDADD) @LIBINTL@ test_xalloc_die_LDADD = $(LDADD) @LIBINTL@ all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs $(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) --foreign gltests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gltests/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): clean-checkPROGRAMS: @list='$(check_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 clean-checkLIBRARIES: -test -z "$(check_LIBRARIES)" || rm -f $(check_LIBRARIES) clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) glthread/$(am__dirstamp): @$(MKDIR_P) glthread @: > glthread/$(am__dirstamp) glthread/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) glthread/$(DEPDIR) @: > glthread/$(DEPDIR)/$(am__dirstamp) glthread/thread.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) libtests.a: $(libtests_a_OBJECTS) $(libtests_a_DEPENDENCIES) $(EXTRA_libtests_a_DEPENDENCIES) $(AM_V_at)-rm -f libtests.a $(AM_V_AR)$(libtests_a_AR) libtests.a $(libtests_a_OBJECTS) $(libtests_a_LIBADD) $(AM_V_at)$(RANLIB) libtests.a test-alloca-opt$(EXEEXT): $(test_alloca_opt_OBJECTS) $(test_alloca_opt_DEPENDENCIES) $(EXTRA_test_alloca_opt_DEPENDENCIES) @rm -f test-alloca-opt$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_alloca_opt_OBJECTS) $(test_alloca_opt_LDADD) $(LIBS) test-arpa_inet$(EXEEXT): $(test_arpa_inet_OBJECTS) $(test_arpa_inet_DEPENDENCIES) $(EXTRA_test_arpa_inet_DEPENDENCIES) @rm -f test-arpa_inet$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_arpa_inet_OBJECTS) $(test_arpa_inet_LDADD) $(LIBS) test-binary-io$(EXEEXT): $(test_binary_io_OBJECTS) $(test_binary_io_DEPENDENCIES) $(EXTRA_test_binary_io_DEPENDENCIES) @rm -f test-binary-io$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_binary_io_OBJECTS) $(test_binary_io_LDADD) $(LIBS) test-btowc$(EXEEXT): $(test_btowc_OBJECTS) $(test_btowc_DEPENDENCIES) $(EXTRA_test_btowc_DEPENDENCIES) @rm -f test-btowc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_btowc_OBJECTS) $(test_btowc_LDADD) $(LIBS) test-c-ctype$(EXEEXT): $(test_c_ctype_OBJECTS) $(test_c_ctype_DEPENDENCIES) $(EXTRA_test_c_ctype_DEPENDENCIES) @rm -f test-c-ctype$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_c_ctype_OBJECTS) $(test_c_ctype_LDADD) $(LIBS) test-c-strcasecmp$(EXEEXT): $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_DEPENDENCIES) $(EXTRA_test_c_strcasecmp_DEPENDENCIES) @rm -f test-c-strcasecmp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_LDADD) $(LIBS) test-c-strncasecmp$(EXEEXT): $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_DEPENDENCIES) $(EXTRA_test_c_strncasecmp_DEPENDENCIES) @rm -f test-c-strncasecmp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_LDADD) $(LIBS) test-cloexec$(EXEEXT): $(test_cloexec_OBJECTS) $(test_cloexec_DEPENDENCIES) $(EXTRA_test_cloexec_DEPENDENCIES) @rm -f test-cloexec$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_cloexec_OBJECTS) $(test_cloexec_LDADD) $(LIBS) test-close$(EXEEXT): $(test_close_OBJECTS) $(test_close_DEPENDENCIES) $(EXTRA_test_close_DEPENDENCIES) @rm -f test-close$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_close_OBJECTS) $(test_close_LDADD) $(LIBS) test-connect$(EXEEXT): $(test_connect_OBJECTS) $(test_connect_DEPENDENCIES) $(EXTRA_test_connect_DEPENDENCIES) @rm -f test-connect$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_connect_OBJECTS) $(test_connect_LDADD) $(LIBS) test-ctype$(EXEEXT): $(test_ctype_OBJECTS) $(test_ctype_DEPENDENCIES) $(EXTRA_test_ctype_DEPENDENCIES) @rm -f test-ctype$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ctype_OBJECTS) $(test_ctype_LDADD) $(LIBS) test-dup2$(EXEEXT): $(test_dup2_OBJECTS) $(test_dup2_DEPENDENCIES) $(EXTRA_test_dup2_DEPENDENCIES) @rm -f test-dup2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_dup2_OBJECTS) $(test_dup2_LDADD) $(LIBS) test-environ$(EXEEXT): $(test_environ_OBJECTS) $(test_environ_DEPENDENCIES) $(EXTRA_test_environ_DEPENDENCIES) @rm -f test-environ$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_environ_OBJECTS) $(test_environ_LDADD) $(LIBS) test-errno$(EXEEXT): $(test_errno_OBJECTS) $(test_errno_DEPENDENCIES) $(EXTRA_test_errno_DEPENDENCIES) @rm -f test-errno$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_errno_OBJECTS) $(test_errno_LDADD) $(LIBS) test-fcntl$(EXEEXT): $(test_fcntl_OBJECTS) $(test_fcntl_DEPENDENCIES) $(EXTRA_test_fcntl_DEPENDENCIES) @rm -f test-fcntl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fcntl_OBJECTS) $(test_fcntl_LDADD) $(LIBS) test-fcntl-h$(EXEEXT): $(test_fcntl_h_OBJECTS) $(test_fcntl_h_DEPENDENCIES) $(EXTRA_test_fcntl_h_DEPENDENCIES) @rm -f test-fcntl-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fcntl_h_OBJECTS) $(test_fcntl_h_LDADD) $(LIBS) test-fdopen$(EXEEXT): $(test_fdopen_OBJECTS) $(test_fdopen_DEPENDENCIES) $(EXTRA_test_fdopen_DEPENDENCIES) @rm -f test-fdopen$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fdopen_OBJECTS) $(test_fdopen_LDADD) $(LIBS) test-fgetc$(EXEEXT): $(test_fgetc_OBJECTS) $(test_fgetc_DEPENDENCIES) $(EXTRA_test_fgetc_DEPENDENCIES) @rm -f test-fgetc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fgetc_OBJECTS) $(test_fgetc_LDADD) $(LIBS) test-float$(EXEEXT): $(test_float_OBJECTS) $(test_float_DEPENDENCIES) $(EXTRA_test_float_DEPENDENCIES) @rm -f test-float$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_float_OBJECTS) $(test_float_LDADD) $(LIBS) test-fputc$(EXEEXT): $(test_fputc_OBJECTS) $(test_fputc_DEPENDENCIES) $(EXTRA_test_fputc_DEPENDENCIES) @rm -f test-fputc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fputc_OBJECTS) $(test_fputc_LDADD) $(LIBS) test-fread$(EXEEXT): $(test_fread_OBJECTS) $(test_fread_DEPENDENCIES) $(EXTRA_test_fread_DEPENDENCIES) @rm -f test-fread$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fread_OBJECTS) $(test_fread_LDADD) $(LIBS) test-fseek$(EXEEXT): $(test_fseek_OBJECTS) $(test_fseek_DEPENDENCIES) $(EXTRA_test_fseek_DEPENDENCIES) @rm -f test-fseek$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseek_OBJECTS) $(test_fseek_LDADD) $(LIBS) test-fseeko$(EXEEXT): $(test_fseeko_OBJECTS) $(test_fseeko_DEPENDENCIES) $(EXTRA_test_fseeko_DEPENDENCIES) @rm -f test-fseeko$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseeko_OBJECTS) $(test_fseeko_LDADD) $(LIBS) test-fseeko3$(EXEEXT): $(test_fseeko3_OBJECTS) $(test_fseeko3_DEPENDENCIES) $(EXTRA_test_fseeko3_DEPENDENCIES) @rm -f test-fseeko3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseeko3_OBJECTS) $(test_fseeko3_LDADD) $(LIBS) test-fseeko4$(EXEEXT): $(test_fseeko4_OBJECTS) $(test_fseeko4_DEPENDENCIES) $(EXTRA_test_fseeko4_DEPENDENCIES) @rm -f test-fseeko4$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseeko4_OBJECTS) $(test_fseeko4_LDADD) $(LIBS) test-fstat$(EXEEXT): $(test_fstat_OBJECTS) $(test_fstat_DEPENDENCIES) $(EXTRA_test_fstat_DEPENDENCIES) @rm -f test-fstat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fstat_OBJECTS) $(test_fstat_LDADD) $(LIBS) test-fwrite$(EXEEXT): $(test_fwrite_OBJECTS) $(test_fwrite_DEPENDENCIES) $(EXTRA_test_fwrite_DEPENDENCIES) @rm -f test-fwrite$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fwrite_OBJECTS) $(test_fwrite_LDADD) $(LIBS) test-getaddrinfo$(EXEEXT): $(test_getaddrinfo_OBJECTS) $(test_getaddrinfo_DEPENDENCIES) $(EXTRA_test_getaddrinfo_DEPENDENCIES) @rm -f test-getaddrinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getaddrinfo_OBJECTS) $(test_getaddrinfo_LDADD) $(LIBS) test-getcwd-lgpl$(EXEEXT): $(test_getcwd_lgpl_OBJECTS) $(test_getcwd_lgpl_DEPENDENCIES) $(EXTRA_test_getcwd_lgpl_DEPENDENCIES) @rm -f test-getcwd-lgpl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getcwd_lgpl_OBJECTS) $(test_getcwd_lgpl_LDADD) $(LIBS) test-getdelim$(EXEEXT): $(test_getdelim_OBJECTS) $(test_getdelim_DEPENDENCIES) $(EXTRA_test_getdelim_DEPENDENCIES) @rm -f test-getdelim$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getdelim_OBJECTS) $(test_getdelim_LDADD) $(LIBS) test-getdtablesize$(EXEEXT): $(test_getdtablesize_OBJECTS) $(test_getdtablesize_DEPENDENCIES) $(EXTRA_test_getdtablesize_DEPENDENCIES) @rm -f test-getdtablesize$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getdtablesize_OBJECTS) $(test_getdtablesize_LDADD) $(LIBS) test-getline$(EXEEXT): $(test_getline_OBJECTS) $(test_getline_DEPENDENCIES) $(EXTRA_test_getline_DEPENDENCIES) @rm -f test-getline$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getline_OBJECTS) $(test_getline_LDADD) $(LIBS) test-getopt-gnu$(EXEEXT): $(test_getopt_gnu_OBJECTS) $(test_getopt_gnu_DEPENDENCIES) $(EXTRA_test_getopt_gnu_DEPENDENCIES) @rm -f test-getopt-gnu$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getopt_gnu_OBJECTS) $(test_getopt_gnu_LDADD) $(LIBS) test-getopt-posix$(EXEEXT): $(test_getopt_posix_OBJECTS) $(test_getopt_posix_DEPENDENCIES) $(EXTRA_test_getopt_posix_DEPENDENCIES) @rm -f test-getopt-posix$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getopt_posix_OBJECTS) $(test_getopt_posix_LDADD) $(LIBS) test-getprogname$(EXEEXT): $(test_getprogname_OBJECTS) $(test_getprogname_DEPENDENCIES) $(EXTRA_test_getprogname_DEPENDENCIES) @rm -f test-getprogname$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getprogname_OBJECTS) $(test_getprogname_LDADD) $(LIBS) test-iconv$(EXEEXT): $(test_iconv_OBJECTS) $(test_iconv_DEPENDENCIES) $(EXTRA_test_iconv_DEPENDENCIES) @rm -f test-iconv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_iconv_OBJECTS) $(test_iconv_LDADD) $(LIBS) test-iconv-h$(EXEEXT): $(test_iconv_h_OBJECTS) $(test_iconv_h_DEPENDENCIES) $(EXTRA_test_iconv_h_DEPENDENCIES) @rm -f test-iconv-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_iconv_h_OBJECTS) $(test_iconv_h_LDADD) $(LIBS) test-ignore-value$(EXEEXT): $(test_ignore_value_OBJECTS) $(test_ignore_value_DEPENDENCIES) $(EXTRA_test_ignore_value_DEPENDENCIES) @rm -f test-ignore-value$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ignore_value_OBJECTS) $(test_ignore_value_LDADD) $(LIBS) test-inet_ntop$(EXEEXT): $(test_inet_ntop_OBJECTS) $(test_inet_ntop_DEPENDENCIES) $(EXTRA_test_inet_ntop_DEPENDENCIES) @rm -f test-inet_ntop$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_inet_ntop_OBJECTS) $(test_inet_ntop_LDADD) $(LIBS) test-inet_pton$(EXEEXT): $(test_inet_pton_OBJECTS) $(test_inet_pton_DEPENDENCIES) $(EXTRA_test_inet_pton_DEPENDENCIES) @rm -f test-inet_pton$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_inet_pton_OBJECTS) $(test_inet_pton_LDADD) $(LIBS) test-intprops$(EXEEXT): $(test_intprops_OBJECTS) $(test_intprops_DEPENDENCIES) $(EXTRA_test_intprops_DEPENDENCIES) @rm -f test-intprops$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_intprops_OBJECTS) $(test_intprops_LDADD) $(LIBS) test-inttypes$(EXEEXT): $(test_inttypes_OBJECTS) $(test_inttypes_DEPENDENCIES) $(EXTRA_test_inttypes_DEPENDENCIES) @rm -f test-inttypes$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_inttypes_OBJECTS) $(test_inttypes_LDADD) $(LIBS) test-isblank$(EXEEXT): $(test_isblank_OBJECTS) $(test_isblank_DEPENDENCIES) $(EXTRA_test_isblank_DEPENDENCIES) @rm -f test-isblank$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_isblank_OBJECTS) $(test_isblank_LDADD) $(LIBS) test-langinfo$(EXEEXT): $(test_langinfo_OBJECTS) $(test_langinfo_DEPENDENCIES) $(EXTRA_test_langinfo_DEPENDENCIES) @rm -f test-langinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_langinfo_OBJECTS) $(test_langinfo_LDADD) $(LIBS) test-limits-h$(EXEEXT): $(test_limits_h_OBJECTS) $(test_limits_h_DEPENDENCIES) $(EXTRA_test_limits_h_DEPENDENCIES) @rm -f test-limits-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_limits_h_OBJECTS) $(test_limits_h_LDADD) $(LIBS) test-localcharset$(EXEEXT): $(test_localcharset_OBJECTS) $(test_localcharset_DEPENDENCIES) $(EXTRA_test_localcharset_DEPENDENCIES) @rm -f test-localcharset$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_localcharset_OBJECTS) $(test_localcharset_LDADD) $(LIBS) test-locale$(EXEEXT): $(test_locale_OBJECTS) $(test_locale_DEPENDENCIES) $(EXTRA_test_locale_DEPENDENCIES) @rm -f test-locale$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_locale_OBJECTS) $(test_locale_LDADD) $(LIBS) test-localename$(EXEEXT): $(test_localename_OBJECTS) $(test_localename_DEPENDENCIES) $(EXTRA_test_localename_DEPENDENCIES) @rm -f test-localename$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_localename_OBJECTS) $(test_localename_LDADD) $(LIBS) test-lock$(EXEEXT): $(test_lock_OBJECTS) $(test_lock_DEPENDENCIES) $(EXTRA_test_lock_DEPENDENCIES) @rm -f test-lock$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_lock_OBJECTS) $(test_lock_LDADD) $(LIBS) test-lseek$(EXEEXT): $(test_lseek_OBJECTS) $(test_lseek_DEPENDENCIES) $(EXTRA_test_lseek_DEPENDENCIES) @rm -f test-lseek$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_lseek_OBJECTS) $(test_lseek_LDADD) $(LIBS) test-lstat$(EXEEXT): $(test_lstat_OBJECTS) $(test_lstat_DEPENDENCIES) $(EXTRA_test_lstat_DEPENDENCIES) @rm -f test-lstat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_lstat_OBJECTS) $(test_lstat_LDADD) $(LIBS) test-malloca$(EXEEXT): $(test_malloca_OBJECTS) $(test_malloca_DEPENDENCIES) $(EXTRA_test_malloca_DEPENDENCIES) @rm -f test-malloca$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_malloca_OBJECTS) $(test_malloca_LDADD) $(LIBS) test-mbrtowc$(EXEEXT): $(test_mbrtowc_OBJECTS) $(test_mbrtowc_DEPENDENCIES) $(EXTRA_test_mbrtowc_DEPENDENCIES) @rm -f test-mbrtowc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_mbrtowc_OBJECTS) $(test_mbrtowc_LDADD) $(LIBS) test-mbrtowc-w32$(EXEEXT): $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_DEPENDENCIES) $(EXTRA_test_mbrtowc_w32_DEPENDENCIES) @rm -f test-mbrtowc-w32$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_LDADD) $(LIBS) test-mbsinit$(EXEEXT): $(test_mbsinit_OBJECTS) $(test_mbsinit_DEPENDENCIES) $(EXTRA_test_mbsinit_DEPENDENCIES) @rm -f test-mbsinit$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_mbsinit_OBJECTS) $(test_mbsinit_LDADD) $(LIBS) test-memchr$(EXEEXT): $(test_memchr_OBJECTS) $(test_memchr_DEPENDENCIES) $(EXTRA_test_memchr_DEPENDENCIES) @rm -f test-memchr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_memchr_OBJECTS) $(test_memchr_LDADD) $(LIBS) test-nanosleep$(EXEEXT): $(test_nanosleep_OBJECTS) $(test_nanosleep_DEPENDENCIES) $(EXTRA_test_nanosleep_DEPENDENCIES) @rm -f test-nanosleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_nanosleep_OBJECTS) $(test_nanosleep_LDADD) $(LIBS) test-netdb$(EXEEXT): $(test_netdb_OBJECTS) $(test_netdb_DEPENDENCIES) $(EXTRA_test_netdb_DEPENDENCIES) @rm -f test-netdb$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_netdb_OBJECTS) $(test_netdb_LDADD) $(LIBS) test-netinet_in$(EXEEXT): $(test_netinet_in_OBJECTS) $(test_netinet_in_DEPENDENCIES) $(EXTRA_test_netinet_in_DEPENDENCIES) @rm -f test-netinet_in$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_netinet_in_OBJECTS) $(test_netinet_in_LDADD) $(LIBS) test-once1$(EXEEXT): $(test_once1_OBJECTS) $(test_once1_DEPENDENCIES) $(EXTRA_test_once1_DEPENDENCIES) @rm -f test-once1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_once1_OBJECTS) $(test_once1_LDADD) $(LIBS) test-once2$(EXEEXT): $(test_once2_OBJECTS) $(test_once2_DEPENDENCIES) $(EXTRA_test_once2_DEPENDENCIES) @rm -f test-once2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_once2_OBJECTS) $(test_once2_LDADD) $(LIBS) test-open$(EXEEXT): $(test_open_OBJECTS) $(test_open_DEPENDENCIES) $(EXTRA_test_open_DEPENDENCIES) @rm -f test-open$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_open_OBJECTS) $(test_open_LDADD) $(LIBS) test-pathmax$(EXEEXT): $(test_pathmax_OBJECTS) $(test_pathmax_DEPENDENCIES) $(EXTRA_test_pathmax_DEPENDENCIES) @rm -f test-pathmax$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pathmax_OBJECTS) $(test_pathmax_LDADD) $(LIBS) test-poll-h$(EXEEXT): $(test_poll_h_OBJECTS) $(test_poll_h_DEPENDENCIES) $(EXTRA_test_poll_h_DEPENDENCIES) @rm -f test-poll-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_poll_h_OBJECTS) $(test_poll_h_LDADD) $(LIBS) test-pthread$(EXEEXT): $(test_pthread_OBJECTS) $(test_pthread_DEPENDENCIES) $(EXTRA_test_pthread_DEPENDENCIES) @rm -f test-pthread$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_OBJECTS) $(test_pthread_LDADD) $(LIBS) test-pthread-thread$(EXEEXT): $(test_pthread_thread_OBJECTS) $(test_pthread_thread_DEPENDENCIES) $(EXTRA_test_pthread_thread_DEPENDENCIES) @rm -f test-pthread-thread$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_thread_OBJECTS) $(test_pthread_thread_LDADD) $(LIBS) test-pthread_sigmask1$(EXEEXT): $(test_pthread_sigmask1_OBJECTS) $(test_pthread_sigmask1_DEPENDENCIES) $(EXTRA_test_pthread_sigmask1_DEPENDENCIES) @rm -f test-pthread_sigmask1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_sigmask1_OBJECTS) $(test_pthread_sigmask1_LDADD) $(LIBS) test-pthread_sigmask2$(EXEEXT): $(test_pthread_sigmask2_OBJECTS) $(test_pthread_sigmask2_DEPENDENCIES) $(EXTRA_test_pthread_sigmask2_DEPENDENCIES) @rm -f test-pthread_sigmask2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_sigmask2_OBJECTS) $(test_pthread_sigmask2_LDADD) $(LIBS) test-quotearg-simple$(EXEEXT): $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_DEPENDENCIES) $(EXTRA_test_quotearg_simple_DEPENDENCIES) @rm -f test-quotearg-simple$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_LDADD) $(LIBS) test-raise$(EXEEXT): $(test_raise_OBJECTS) $(test_raise_DEPENDENCIES) $(EXTRA_test_raise_DEPENDENCIES) @rm -f test-raise$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_raise_OBJECTS) $(test_raise_LDADD) $(LIBS) test-recv$(EXEEXT): $(test_recv_OBJECTS) $(test_recv_DEPENDENCIES) $(EXTRA_test_recv_DEPENDENCIES) @rm -f test-recv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_recv_OBJECTS) $(test_recv_LDADD) $(LIBS) test-rwlock1$(EXEEXT): $(test_rwlock1_OBJECTS) $(test_rwlock1_DEPENDENCIES) $(EXTRA_test_rwlock1_DEPENDENCIES) @rm -f test-rwlock1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_rwlock1_OBJECTS) $(test_rwlock1_LDADD) $(LIBS) test-sched$(EXEEXT): $(test_sched_OBJECTS) $(test_sched_DEPENDENCIES) $(EXTRA_test_sched_DEPENDENCIES) @rm -f test-sched$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sched_OBJECTS) $(test_sched_LDADD) $(LIBS) test-setenv$(EXEEXT): $(test_setenv_OBJECTS) $(test_setenv_DEPENDENCIES) $(EXTRA_test_setenv_DEPENDENCIES) @rm -f test-setenv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_setenv_OBJECTS) $(test_setenv_LDADD) $(LIBS) test-setlocale1$(EXEEXT): $(test_setlocale1_OBJECTS) $(test_setlocale1_DEPENDENCIES) $(EXTRA_test_setlocale1_DEPENDENCIES) @rm -f test-setlocale1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_setlocale1_OBJECTS) $(test_setlocale1_LDADD) $(LIBS) test-setlocale2$(EXEEXT): $(test_setlocale2_OBJECTS) $(test_setlocale2_DEPENDENCIES) $(EXTRA_test_setlocale2_DEPENDENCIES) @rm -f test-setlocale2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_setlocale2_OBJECTS) $(test_setlocale2_LDADD) $(LIBS) test-shutdown$(EXEEXT): $(test_shutdown_OBJECTS) $(test_shutdown_DEPENDENCIES) $(EXTRA_test_shutdown_DEPENDENCIES) @rm -f test-shutdown$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_shutdown_OBJECTS) $(test_shutdown_LDADD) $(LIBS) test-sigaction$(EXEEXT): $(test_sigaction_OBJECTS) $(test_sigaction_DEPENDENCIES) $(EXTRA_test_sigaction_DEPENDENCIES) @rm -f test-sigaction$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sigaction_OBJECTS) $(test_sigaction_LDADD) $(LIBS) test-signal-h$(EXEEXT): $(test_signal_h_OBJECTS) $(test_signal_h_DEPENDENCIES) $(EXTRA_test_signal_h_DEPENDENCIES) @rm -f test-signal-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_signal_h_OBJECTS) $(test_signal_h_LDADD) $(LIBS) test-sigprocmask$(EXEEXT): $(test_sigprocmask_OBJECTS) $(test_sigprocmask_DEPENDENCIES) $(EXTRA_test_sigprocmask_DEPENDENCIES) @rm -f test-sigprocmask$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sigprocmask_OBJECTS) $(test_sigprocmask_LDADD) $(LIBS) test-sleep$(EXEEXT): $(test_sleep_OBJECTS) $(test_sleep_DEPENDENCIES) $(EXTRA_test_sleep_DEPENDENCIES) @rm -f test-sleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sleep_OBJECTS) $(test_sleep_LDADD) $(LIBS) test-snprintf$(EXEEXT): $(test_snprintf_OBJECTS) $(test_snprintf_DEPENDENCIES) $(EXTRA_test_snprintf_DEPENDENCIES) @rm -f test-snprintf$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_snprintf_OBJECTS) $(test_snprintf_LDADD) $(LIBS) test-sockets$(EXEEXT): $(test_sockets_OBJECTS) $(test_sockets_DEPENDENCIES) $(EXTRA_test_sockets_DEPENDENCIES) @rm -f test-sockets$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sockets_OBJECTS) $(test_sockets_LDADD) $(LIBS) test-stat$(EXEEXT): $(test_stat_OBJECTS) $(test_stat_DEPENDENCIES) $(EXTRA_test_stat_DEPENDENCIES) @rm -f test-stat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stat_OBJECTS) $(test_stat_LDADD) $(LIBS) test-stat-time$(EXEEXT): $(test_stat_time_OBJECTS) $(test_stat_time_DEPENDENCIES) $(EXTRA_test_stat_time_DEPENDENCIES) @rm -f test-stat-time$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stat_time_OBJECTS) $(test_stat_time_LDADD) $(LIBS) test-stdalign$(EXEEXT): $(test_stdalign_OBJECTS) $(test_stdalign_DEPENDENCIES) $(EXTRA_test_stdalign_DEPENDENCIES) @rm -f test-stdalign$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdalign_OBJECTS) $(test_stdalign_LDADD) $(LIBS) test-stdbool$(EXEEXT): $(test_stdbool_OBJECTS) $(test_stdbool_DEPENDENCIES) $(EXTRA_test_stdbool_DEPENDENCIES) @rm -f test-stdbool$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdbool_OBJECTS) $(test_stdbool_LDADD) $(LIBS) test-stddef$(EXEEXT): $(test_stddef_OBJECTS) $(test_stddef_DEPENDENCIES) $(EXTRA_test_stddef_DEPENDENCIES) @rm -f test-stddef$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stddef_OBJECTS) $(test_stddef_LDADD) $(LIBS) test-stdint$(EXEEXT): $(test_stdint_OBJECTS) $(test_stdint_DEPENDENCIES) $(EXTRA_test_stdint_DEPENDENCIES) @rm -f test-stdint$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdint_OBJECTS) $(test_stdint_LDADD) $(LIBS) test-stdio$(EXEEXT): $(test_stdio_OBJECTS) $(test_stdio_DEPENDENCIES) $(EXTRA_test_stdio_DEPENDENCIES) @rm -f test-stdio$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdio_OBJECTS) $(test_stdio_LDADD) $(LIBS) test-stdlib$(EXEEXT): $(test_stdlib_OBJECTS) $(test_stdlib_DEPENDENCIES) $(EXTRA_test_stdlib_DEPENDENCIES) @rm -f test-stdlib$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdlib_OBJECTS) $(test_stdlib_LDADD) $(LIBS) test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES) $(EXTRA_test_strerror_DEPENDENCIES) @rm -f test-strerror$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_strerror_OBJECTS) $(test_strerror_LDADD) $(LIBS) test-striconv$(EXEEXT): $(test_striconv_OBJECTS) $(test_striconv_DEPENDENCIES) $(EXTRA_test_striconv_DEPENDENCIES) @rm -f test-striconv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_striconv_OBJECTS) $(test_striconv_LDADD) $(LIBS) test-string$(EXEEXT): $(test_string_OBJECTS) $(test_string_DEPENDENCIES) $(EXTRA_test_string_DEPENDENCIES) @rm -f test-string$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_string_OBJECTS) $(test_string_LDADD) $(LIBS) test-symlink$(EXEEXT): $(test_symlink_OBJECTS) $(test_symlink_DEPENDENCIES) $(EXTRA_test_symlink_DEPENDENCIES) @rm -f test-symlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_symlink_OBJECTS) $(test_symlink_LDADD) $(LIBS) test-sys_select$(EXEEXT): $(test_sys_select_OBJECTS) $(test_sys_select_DEPENDENCIES) $(EXTRA_test_sys_select_DEPENDENCIES) @rm -f test-sys_select$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_select_OBJECTS) $(test_sys_select_LDADD) $(LIBS) test-sys_socket$(EXEEXT): $(test_sys_socket_OBJECTS) $(test_sys_socket_DEPENDENCIES) $(EXTRA_test_sys_socket_DEPENDENCIES) @rm -f test-sys_socket$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_socket_OBJECTS) $(test_sys_socket_LDADD) $(LIBS) test-sys_stat$(EXEEXT): $(test_sys_stat_OBJECTS) $(test_sys_stat_DEPENDENCIES) $(EXTRA_test_sys_stat_DEPENDENCIES) @rm -f test-sys_stat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_stat_OBJECTS) $(test_sys_stat_LDADD) $(LIBS) test-sys_time$(EXEEXT): $(test_sys_time_OBJECTS) $(test_sys_time_DEPENDENCIES) $(EXTRA_test_sys_time_DEPENDENCIES) @rm -f test-sys_time$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_time_OBJECTS) $(test_sys_time_LDADD) $(LIBS) test-sys_types$(EXEEXT): $(test_sys_types_OBJECTS) $(test_sys_types_DEPENDENCIES) $(EXTRA_test_sys_types_DEPENDENCIES) @rm -f test-sys_types$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_types_OBJECTS) $(test_sys_types_LDADD) $(LIBS) test-sys_uio$(EXEEXT): $(test_sys_uio_OBJECTS) $(test_sys_uio_DEPENDENCIES) $(EXTRA_test_sys_uio_DEPENDENCIES) @rm -f test-sys_uio$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_uio_OBJECTS) $(test_sys_uio_LDADD) $(LIBS) test-thread_create$(EXEEXT): $(test_thread_create_OBJECTS) $(test_thread_create_DEPENDENCIES) $(EXTRA_test_thread_create_DEPENDENCIES) @rm -f test-thread_create$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_thread_create_OBJECTS) $(test_thread_create_LDADD) $(LIBS) test-thread_self$(EXEEXT): $(test_thread_self_OBJECTS) $(test_thread_self_DEPENDENCIES) $(EXTRA_test_thread_self_DEPENDENCIES) @rm -f test-thread_self$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_thread_self_OBJECTS) $(test_thread_self_LDADD) $(LIBS) test-time$(EXEEXT): $(test_time_OBJECTS) $(test_time_DEPENDENCIES) $(EXTRA_test_time_DEPENDENCIES) @rm -f test-time$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_time_OBJECTS) $(test_time_LDADD) $(LIBS) unistr/$(am__dirstamp): @$(MKDIR_P) unistr @: > unistr/$(am__dirstamp) unistr/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) unistr/$(DEPDIR) @: > unistr/$(DEPDIR)/$(am__dirstamp) unistr/test-u8-mbtoucr.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) test-u8-mbtoucr$(EXEEXT): $(test_u8_mbtoucr_OBJECTS) $(test_u8_mbtoucr_DEPENDENCIES) $(EXTRA_test_u8_mbtoucr_DEPENDENCIES) @rm -f test-u8-mbtoucr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_u8_mbtoucr_OBJECTS) $(test_u8_mbtoucr_LDADD) $(LIBS) unistr/test-u8-uctomb.$(OBJEXT): unistr/$(am__dirstamp) \ unistr/$(DEPDIR)/$(am__dirstamp) test-u8-uctomb$(EXEEXT): $(test_u8_uctomb_OBJECTS) $(test_u8_uctomb_DEPENDENCIES) $(EXTRA_test_u8_uctomb_DEPENDENCIES) @rm -f test-u8-uctomb$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_u8_uctomb_OBJECTS) $(test_u8_uctomb_LDADD) $(LIBS) test-unistd$(EXEEXT): $(test_unistd_OBJECTS) $(test_unistd_DEPENDENCIES) $(EXTRA_test_unistd_DEPENDENCIES) @rm -f test-unistd$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_unistd_OBJECTS) $(test_unistd_LDADD) $(LIBS) test-unsetenv$(EXEEXT): $(test_unsetenv_OBJECTS) $(test_unsetenv_DEPENDENCIES) $(EXTRA_test_unsetenv_DEPENDENCIES) @rm -f test-unsetenv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_unsetenv_OBJECTS) $(test_unsetenv_LDADD) $(LIBS) test-usleep$(EXEEXT): $(test_usleep_OBJECTS) $(test_usleep_DEPENDENCIES) $(EXTRA_test_usleep_DEPENDENCIES) @rm -f test-usleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_usleep_OBJECTS) $(test_usleep_LDADD) $(LIBS) test-vasnprintf$(EXEEXT): $(test_vasnprintf_OBJECTS) $(test_vasnprintf_DEPENDENCIES) $(EXTRA_test_vasnprintf_DEPENDENCIES) @rm -f test-vasnprintf$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_vasnprintf_OBJECTS) $(test_vasnprintf_LDADD) $(LIBS) test-vasprintf$(EXEEXT): $(test_vasprintf_OBJECTS) $(test_vasprintf_DEPENDENCIES) $(EXTRA_test_vasprintf_DEPENDENCIES) @rm -f test-vasprintf$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_vasprintf_OBJECTS) $(test_vasprintf_LDADD) $(LIBS) test-verify$(EXEEXT): $(test_verify_OBJECTS) $(test_verify_DEPENDENCIES) $(EXTRA_test_verify_DEPENDENCIES) @rm -f test-verify$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_verify_OBJECTS) $(test_verify_LDADD) $(LIBS) test-verify-try$(EXEEXT): $(test_verify_try_OBJECTS) $(test_verify_try_DEPENDENCIES) $(EXTRA_test_verify_try_DEPENDENCIES) @rm -f test-verify-try$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_verify_try_OBJECTS) $(test_verify_try_LDADD) $(LIBS) test-version-etc$(EXEEXT): $(test_version_etc_OBJECTS) $(test_version_etc_DEPENDENCIES) $(EXTRA_test_version_etc_DEPENDENCIES) @rm -f test-version-etc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_version_etc_OBJECTS) $(test_version_etc_LDADD) $(LIBS) test-wchar$(EXEEXT): $(test_wchar_OBJECTS) $(test_wchar_DEPENDENCIES) $(EXTRA_test_wchar_DEPENDENCIES) @rm -f test-wchar$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_wchar_OBJECTS) $(test_wchar_LDADD) $(LIBS) test-wcrtomb$(EXEEXT): $(test_wcrtomb_OBJECTS) $(test_wcrtomb_DEPENDENCIES) $(EXTRA_test_wcrtomb_DEPENDENCIES) @rm -f test-wcrtomb$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_wcrtomb_OBJECTS) $(test_wcrtomb_LDADD) $(LIBS) test-wcrtomb-w32$(EXEEXT): $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_DEPENDENCIES) $(EXTRA_test_wcrtomb_w32_DEPENDENCIES) @rm -f test-wcrtomb-w32$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_LDADD) $(LIBS) test-wctype-h$(EXEEXT): $(test_wctype_h_OBJECTS) $(test_wctype_h_DEPENDENCIES) $(EXTRA_test_wctype_h_DEPENDENCIES) @rm -f test-wctype-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_wctype_h_OBJECTS) $(test_wctype_h_LDADD) $(LIBS) test-xalloc-die$(EXEEXT): $(test_xalloc_die_OBJECTS) $(test_xalloc_die_DEPENDENCIES) $(EXTRA_test_xalloc_die_DEPENDENCIES) @rm -f test-xalloc-die$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_xalloc_die_OBJECTS) $(test_xalloc_die_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f glthread/*.$(OBJEXT) -rm -f unistr/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary-io.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/btowc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cloexec.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fdopen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getcwd-lgpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdtablesize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getpagesize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inet_pton.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/isblank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localename-table.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localename.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloca.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbtowc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanosleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread-thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread_sigmask.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/putenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/raise.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setlocale.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sig-handler.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigaction.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigprocmask.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-w32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-alloca-opt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-arpa_inet.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-binary-io.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-btowc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-c-ctype.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-c-strcasecmp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-c-strncasecmp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-cloexec.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-close.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-connect.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ctype.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dup2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-environ.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-errno.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fcntl-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fcntl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fdopen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fgetc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-float.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fputc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseek.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseeko.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseeko3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseeko4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fwrite.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getaddrinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getcwd-lgpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getdelim.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getdtablesize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getline.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getopt-gnu.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getopt-posix.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getprogname.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-iconv-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-iconv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ignore-value.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-inet_ntop.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-inet_pton.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-intprops.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-inttypes.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-isblank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-langinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-limits-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-localcharset.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-locale.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-localename.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-lock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-lseek.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-lstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-malloca.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-mbrtowc-w32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-mbrtowc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-mbsinit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-memchr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-nanosleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-netdb.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-netinet_in.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-once.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pathmax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-poll-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread-thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread_sigmask1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread_sigmask2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-quotearg-simple.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-raise.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-recv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-rwlock1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sched.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-setenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-setlocale1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-setlocale2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-shutdown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sigaction.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-signal-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sigprocmask.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-snprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sockets.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stat-time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdalign.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdbool.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stddef.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdint.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdlib.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-strerror.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-striconv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-string.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-symlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_select.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_stat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_types.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_uio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-thread_create.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-thread_self.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-unistd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-unsetenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-usleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-vasnprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-vasprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-verify-try.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-verify.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-version-etc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-wchar.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-wcrtomb-w32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-wcrtomb.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-wctype-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-xalloc-die.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unsetenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version-etc-fsf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wcrtomb.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wctob.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wctomb.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-tls.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@unistr/$(DEPDIR)/test-u8-mbtoucr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@unistr/$(DEPDIR)/test-u8-uctomb.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 # 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" 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 # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: $(check_PROGRAMS) $(check_LIBRARIES) @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_PROGRAMS) $(check_LIBRARIES) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? test-alloca-opt.log: test-alloca-opt$(EXEEXT) @p='test-alloca-opt$(EXEEXT)'; \ b='test-alloca-opt'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-arpa_inet.log: test-arpa_inet$(EXEEXT) @p='test-arpa_inet$(EXEEXT)'; \ b='test-arpa_inet'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-binary-io.sh.log: test-binary-io.sh @p='test-binary-io.sh'; \ b='test-binary-io.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-btowc1.sh.log: test-btowc1.sh @p='test-btowc1.sh'; \ b='test-btowc1.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-btowc2.sh.log: test-btowc2.sh @p='test-btowc2.sh'; \ b='test-btowc2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-c-ctype.log: test-c-ctype$(EXEEXT) @p='test-c-ctype$(EXEEXT)'; \ b='test-c-ctype'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-c-strcase.sh.log: test-c-strcase.sh @p='test-c-strcase.sh'; \ b='test-c-strcase.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-cloexec.log: test-cloexec$(EXEEXT) @p='test-cloexec$(EXEEXT)'; \ b='test-cloexec'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-close.log: test-close$(EXEEXT) @p='test-close$(EXEEXT)'; \ b='test-close'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-connect.log: test-connect$(EXEEXT) @p='test-connect$(EXEEXT)'; \ b='test-connect'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ctype.log: test-ctype$(EXEEXT) @p='test-ctype$(EXEEXT)'; \ b='test-ctype'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-dup2.log: test-dup2$(EXEEXT) @p='test-dup2$(EXEEXT)'; \ b='test-dup2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-environ.log: test-environ$(EXEEXT) @p='test-environ$(EXEEXT)'; \ b='test-environ'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-errno.log: test-errno$(EXEEXT) @p='test-errno$(EXEEXT)'; \ b='test-errno'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fcntl-h.log: test-fcntl-h$(EXEEXT) @p='test-fcntl-h$(EXEEXT)'; \ b='test-fcntl-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fcntl.log: test-fcntl$(EXEEXT) @p='test-fcntl$(EXEEXT)'; \ b='test-fcntl'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fdopen.log: test-fdopen$(EXEEXT) @p='test-fdopen$(EXEEXT)'; \ b='test-fdopen'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fgetc.log: test-fgetc$(EXEEXT) @p='test-fgetc$(EXEEXT)'; \ b='test-fgetc'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-float.log: test-float$(EXEEXT) @p='test-float$(EXEEXT)'; \ b='test-float'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fputc.log: test-fputc$(EXEEXT) @p='test-fputc$(EXEEXT)'; \ b='test-fputc'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fread.log: test-fread$(EXEEXT) @p='test-fread$(EXEEXT)'; \ b='test-fread'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseek.sh.log: test-fseek.sh @p='test-fseek.sh'; \ b='test-fseek.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseek2.sh.log: test-fseek2.sh @p='test-fseek2.sh'; \ b='test-fseek2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko.sh.log: test-fseeko.sh @p='test-fseeko.sh'; \ b='test-fseeko.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko2.sh.log: test-fseeko2.sh @p='test-fseeko2.sh'; \ b='test-fseeko2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko3.sh.log: test-fseeko3.sh @p='test-fseeko3.sh'; \ b='test-fseeko3.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko4.sh.log: test-fseeko4.sh @p='test-fseeko4.sh'; \ b='test-fseeko4.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fstat.log: test-fstat$(EXEEXT) @p='test-fstat$(EXEEXT)'; \ b='test-fstat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fwrite.log: test-fwrite$(EXEEXT) @p='test-fwrite$(EXEEXT)'; \ b='test-fwrite'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getaddrinfo.log: test-getaddrinfo$(EXEEXT) @p='test-getaddrinfo$(EXEEXT)'; \ b='test-getaddrinfo'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getcwd-lgpl.log: test-getcwd-lgpl$(EXEEXT) @p='test-getcwd-lgpl$(EXEEXT)'; \ b='test-getcwd-lgpl'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getdelim.log: test-getdelim$(EXEEXT) @p='test-getdelim$(EXEEXT)'; \ b='test-getdelim'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getdtablesize.log: test-getdtablesize$(EXEEXT) @p='test-getdtablesize$(EXEEXT)'; \ b='test-getdtablesize'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getline.log: test-getline$(EXEEXT) @p='test-getline$(EXEEXT)'; \ b='test-getline'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getopt-gnu.log: test-getopt-gnu$(EXEEXT) @p='test-getopt-gnu$(EXEEXT)'; \ b='test-getopt-gnu'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getopt-posix.log: test-getopt-posix$(EXEEXT) @p='test-getopt-posix$(EXEEXT)'; \ b='test-getopt-posix'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getprogname.log: test-getprogname$(EXEEXT) @p='test-getprogname$(EXEEXT)'; \ b='test-getprogname'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-iconv-h.log: test-iconv-h$(EXEEXT) @p='test-iconv-h$(EXEEXT)'; \ b='test-iconv-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-iconv.log: test-iconv$(EXEEXT) @p='test-iconv$(EXEEXT)'; \ b='test-iconv'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ignore-value.log: test-ignore-value$(EXEEXT) @p='test-ignore-value$(EXEEXT)'; \ b='test-ignore-value'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-inet_ntop.log: test-inet_ntop$(EXEEXT) @p='test-inet_ntop$(EXEEXT)'; \ b='test-inet_ntop'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-inet_pton.log: test-inet_pton$(EXEEXT) @p='test-inet_pton$(EXEEXT)'; \ b='test-inet_pton'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-intprops.log: test-intprops$(EXEEXT) @p='test-intprops$(EXEEXT)'; \ b='test-intprops'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-inttypes.log: test-inttypes$(EXEEXT) @p='test-inttypes$(EXEEXT)'; \ b='test-inttypes'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-isblank.log: test-isblank$(EXEEXT) @p='test-isblank$(EXEEXT)'; \ b='test-isblank'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-langinfo.log: test-langinfo$(EXEEXT) @p='test-langinfo$(EXEEXT)'; \ b='test-langinfo'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-limits-h.log: test-limits-h$(EXEEXT) @p='test-limits-h$(EXEEXT)'; \ b='test-limits-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-locale.log: test-locale$(EXEEXT) @p='test-locale$(EXEEXT)'; \ b='test-locale'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-localename.log: test-localename$(EXEEXT) @p='test-localename$(EXEEXT)'; \ b='test-localename'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-rwlock1.log: test-rwlock1$(EXEEXT) @p='test-rwlock1$(EXEEXT)'; \ b='test-rwlock1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-lock.log: test-lock$(EXEEXT) @p='test-lock$(EXEEXT)'; \ b='test-lock'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-once1.log: test-once1$(EXEEXT) @p='test-once1$(EXEEXT)'; \ b='test-once1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-once2.log: test-once2$(EXEEXT) @p='test-once2$(EXEEXT)'; \ b='test-once2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-lseek.sh.log: test-lseek.sh @p='test-lseek.sh'; \ b='test-lseek.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-lstat.log: test-lstat$(EXEEXT) @p='test-lstat$(EXEEXT)'; \ b='test-lstat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-malloca.log: test-malloca$(EXEEXT) @p='test-malloca$(EXEEXT)'; \ b='test-malloca'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc1.sh.log: test-mbrtowc1.sh @p='test-mbrtowc1.sh'; \ b='test-mbrtowc1.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc2.sh.log: test-mbrtowc2.sh @p='test-mbrtowc2.sh'; \ b='test-mbrtowc2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc3.sh.log: test-mbrtowc3.sh @p='test-mbrtowc3.sh'; \ b='test-mbrtowc3.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc4.sh.log: test-mbrtowc4.sh @p='test-mbrtowc4.sh'; \ b='test-mbrtowc4.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc5.sh.log: test-mbrtowc5.sh @p='test-mbrtowc5.sh'; \ b='test-mbrtowc5.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc-w32-1.sh.log: test-mbrtowc-w32-1.sh @p='test-mbrtowc-w32-1.sh'; \ b='test-mbrtowc-w32-1.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc-w32-2.sh.log: test-mbrtowc-w32-2.sh @p='test-mbrtowc-w32-2.sh'; \ b='test-mbrtowc-w32-2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc-w32-3.sh.log: test-mbrtowc-w32-3.sh @p='test-mbrtowc-w32-3.sh'; \ b='test-mbrtowc-w32-3.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc-w32-4.sh.log: test-mbrtowc-w32-4.sh @p='test-mbrtowc-w32-4.sh'; \ b='test-mbrtowc-w32-4.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbrtowc-w32-5.sh.log: test-mbrtowc-w32-5.sh @p='test-mbrtowc-w32-5.sh'; \ b='test-mbrtowc-w32-5.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-mbsinit.sh.log: test-mbsinit.sh @p='test-mbsinit.sh'; \ b='test-mbsinit.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-memchr.log: test-memchr$(EXEEXT) @p='test-memchr$(EXEEXT)'; \ b='test-memchr'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-nanosleep.log: test-nanosleep$(EXEEXT) @p='test-nanosleep$(EXEEXT)'; \ b='test-nanosleep'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-netdb.log: test-netdb$(EXEEXT) @p='test-netdb$(EXEEXT)'; \ b='test-netdb'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-netinet_in.log: test-netinet_in$(EXEEXT) @p='test-netinet_in$(EXEEXT)'; \ b='test-netinet_in'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-open.log: test-open$(EXEEXT) @p='test-open$(EXEEXT)'; \ b='test-open'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pathmax.log: test-pathmax$(EXEEXT) @p='test-pathmax$(EXEEXT)'; \ b='test-pathmax'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-poll-h.log: test-poll-h$(EXEEXT) @p='test-poll-h$(EXEEXT)'; \ b='test-poll-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread.log: test-pthread$(EXEEXT) @p='test-pthread$(EXEEXT)'; \ b='test-pthread'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread-thread.log: test-pthread-thread$(EXEEXT) @p='test-pthread-thread$(EXEEXT)'; \ b='test-pthread-thread'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread_sigmask1.log: test-pthread_sigmask1$(EXEEXT) @p='test-pthread_sigmask1$(EXEEXT)'; \ b='test-pthread_sigmask1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread_sigmask2.log: test-pthread_sigmask2$(EXEEXT) @p='test-pthread_sigmask2$(EXEEXT)'; \ b='test-pthread_sigmask2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-quotearg-simple.log: test-quotearg-simple$(EXEEXT) @p='test-quotearg-simple$(EXEEXT)'; \ b='test-quotearg-simple'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-raise.log: test-raise$(EXEEXT) @p='test-raise$(EXEEXT)'; \ b='test-raise'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-recv.log: test-recv$(EXEEXT) @p='test-recv$(EXEEXT)'; \ b='test-recv'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sched.log: test-sched$(EXEEXT) @p='test-sched$(EXEEXT)'; \ b='test-sched'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-setenv.log: test-setenv$(EXEEXT) @p='test-setenv$(EXEEXT)'; \ b='test-setenv'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-setlocale1.sh.log: test-setlocale1.sh @p='test-setlocale1.sh'; \ b='test-setlocale1.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-setlocale2.sh.log: test-setlocale2.sh @p='test-setlocale2.sh'; \ b='test-setlocale2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-shutdown.log: test-shutdown$(EXEEXT) @p='test-shutdown$(EXEEXT)'; \ b='test-shutdown'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sigaction.log: test-sigaction$(EXEEXT) @p='test-sigaction$(EXEEXT)'; \ b='test-sigaction'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-signal-h.log: test-signal-h$(EXEEXT) @p='test-signal-h$(EXEEXT)'; \ b='test-signal-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sigprocmask.log: test-sigprocmask$(EXEEXT) @p='test-sigprocmask$(EXEEXT)'; \ b='test-sigprocmask'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sleep.log: test-sleep$(EXEEXT) @p='test-sleep$(EXEEXT)'; \ b='test-sleep'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-snprintf.log: test-snprintf$(EXEEXT) @p='test-snprintf$(EXEEXT)'; \ b='test-snprintf'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sockets.log: test-sockets$(EXEEXT) @p='test-sockets$(EXEEXT)'; \ b='test-sockets'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stat.log: test-stat$(EXEEXT) @p='test-stat$(EXEEXT)'; \ b='test-stat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stat-time.log: test-stat-time$(EXEEXT) @p='test-stat-time$(EXEEXT)'; \ b='test-stat-time'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdalign.log: test-stdalign$(EXEEXT) @p='test-stdalign$(EXEEXT)'; \ b='test-stdalign'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdbool.log: test-stdbool$(EXEEXT) @p='test-stdbool$(EXEEXT)'; \ b='test-stdbool'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stddef.log: test-stddef$(EXEEXT) @p='test-stddef$(EXEEXT)'; \ b='test-stddef'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdint.log: test-stdint$(EXEEXT) @p='test-stdint$(EXEEXT)'; \ b='test-stdint'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdio.log: test-stdio$(EXEEXT) @p='test-stdio$(EXEEXT)'; \ b='test-stdio'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdlib.log: test-stdlib$(EXEEXT) @p='test-stdlib$(EXEEXT)'; \ b='test-stdlib'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-strerror.log: test-strerror$(EXEEXT) @p='test-strerror$(EXEEXT)'; \ b='test-strerror'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-striconv.log: test-striconv$(EXEEXT) @p='test-striconv$(EXEEXT)'; \ b='test-striconv'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-string.log: test-string$(EXEEXT) @p='test-string$(EXEEXT)'; \ b='test-string'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-symlink.log: test-symlink$(EXEEXT) @p='test-symlink$(EXEEXT)'; \ b='test-symlink'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_select.log: test-sys_select$(EXEEXT) @p='test-sys_select$(EXEEXT)'; \ b='test-sys_select'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_socket.log: test-sys_socket$(EXEEXT) @p='test-sys_socket$(EXEEXT)'; \ b='test-sys_socket'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_stat.log: test-sys_stat$(EXEEXT) @p='test-sys_stat$(EXEEXT)'; \ b='test-sys_stat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_time.log: test-sys_time$(EXEEXT) @p='test-sys_time$(EXEEXT)'; \ b='test-sys_time'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_types.log: test-sys_types$(EXEEXT) @p='test-sys_types$(EXEEXT)'; \ b='test-sys_types'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_uio.log: test-sys_uio$(EXEEXT) @p='test-sys_uio$(EXEEXT)'; \ b='test-sys_uio'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-init.sh.log: test-init.sh @p='test-init.sh'; \ b='test-init.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-thread_self.log: test-thread_self$(EXEEXT) @p='test-thread_self$(EXEEXT)'; \ b='test-thread_self'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-thread_create.log: test-thread_create$(EXEEXT) @p='test-thread_create$(EXEEXT)'; \ b='test-thread_create'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-time.log: test-time$(EXEEXT) @p='test-time$(EXEEXT)'; \ b='test-time'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-unistd.log: test-unistd$(EXEEXT) @p='test-unistd$(EXEEXT)'; \ b='test-unistd'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-u8-mbtoucr.log: test-u8-mbtoucr$(EXEEXT) @p='test-u8-mbtoucr$(EXEEXT)'; \ b='test-u8-mbtoucr'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-u8-uctomb.log: test-u8-uctomb$(EXEEXT) @p='test-u8-uctomb$(EXEEXT)'; \ b='test-u8-uctomb'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-unsetenv.log: test-unsetenv$(EXEEXT) @p='test-unsetenv$(EXEEXT)'; \ b='test-unsetenv'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-usleep.log: test-usleep$(EXEEXT) @p='test-usleep$(EXEEXT)'; \ b='test-usleep'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-vasnprintf.log: test-vasnprintf$(EXEEXT) @p='test-vasnprintf$(EXEEXT)'; \ b='test-vasnprintf'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-vasprintf.log: test-vasprintf$(EXEEXT) @p='test-vasprintf$(EXEEXT)'; \ b='test-vasprintf'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-vc-list-files-git.sh.log: test-vc-list-files-git.sh @p='test-vc-list-files-git.sh'; \ b='test-vc-list-files-git.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-vc-list-files-cvs.sh.log: test-vc-list-files-cvs.sh @p='test-vc-list-files-cvs.sh'; \ b='test-vc-list-files-cvs.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-verify.log: test-verify$(EXEEXT) @p='test-verify$(EXEEXT)'; \ b='test-verify'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-verify.sh.log: test-verify.sh @p='test-verify.sh'; \ b='test-verify.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-version-etc.sh.log: test-version-etc.sh @p='test-version-etc.sh'; \ b='test-version-etc.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wchar.log: test-wchar$(EXEEXT) @p='test-wchar$(EXEEXT)'; \ b='test-wchar'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wcrtomb.sh.log: test-wcrtomb.sh @p='test-wcrtomb.sh'; \ b='test-wcrtomb.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wcrtomb-w32-1.sh.log: test-wcrtomb-w32-1.sh @p='test-wcrtomb-w32-1.sh'; \ b='test-wcrtomb-w32-1.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wcrtomb-w32-2.sh.log: test-wcrtomb-w32-2.sh @p='test-wcrtomb-w32-2.sh'; \ b='test-wcrtomb-w32-2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wcrtomb-w32-3.sh.log: test-wcrtomb-w32-3.sh @p='test-wcrtomb-w32-3.sh'; \ b='test-wcrtomb-w32-3.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wcrtomb-w32-4.sh.log: test-wcrtomb-w32-4.sh @p='test-wcrtomb-w32-4.sh'; \ b='test-wcrtomb-w32-4.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wcrtomb-w32-5.sh.log: test-wcrtomb-w32-5.sh @p='test-wcrtomb-w32-5.sh'; \ b='test-wcrtomb-w32-5.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wctype-h.log: test-wctype-h$(EXEEXT) @p='test-wctype-h$(EXEEXT)'; \ b='test-wctype-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-xalloc-die.sh.log: test-xalloc-die.sh @p='test-xalloc-die.sh'; \ b='test-xalloc-die.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 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 @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 check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LIBRARIES) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(PROGRAMS) $(LIBRARIES) $(HEADERS) installdirs: installdirs-recursive installdirs-am: install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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: -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 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) -rm -f glthread/$(DEPDIR)/$(am__dirstamp) -rm -f glthread/$(am__dirstamp) -rm -f unistr/$(DEPDIR)/$(am__dirstamp) -rm -f unistr/$(am__dirstamp) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \ clean-libtool clean-local clean-noinstLIBRARIES \ clean-noinstPROGRAMS mostlyclean-am distclean: distclean-recursive -rm -f ./$(DEPDIR)/binary-io.Po -rm -f ./$(DEPDIR)/btowc.Po -rm -f ./$(DEPDIR)/cloexec.Po -rm -f ./$(DEPDIR)/fcntl.Po -rm -f ./$(DEPDIR)/fdopen.Po -rm -f ./$(DEPDIR)/getcwd-lgpl.Po -rm -f ./$(DEPDIR)/getdtablesize.Po -rm -f ./$(DEPDIR)/getpagesize.Po -rm -f ./$(DEPDIR)/inet_pton.Po -rm -f ./$(DEPDIR)/isblank.Po -rm -f ./$(DEPDIR)/localename-table.Po -rm -f ./$(DEPDIR)/localename.Po -rm -f ./$(DEPDIR)/lstat.Po -rm -f ./$(DEPDIR)/malloca.Po -rm -f ./$(DEPDIR)/mbtowc.Po -rm -f ./$(DEPDIR)/nanosleep.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/pthread-thread.Po -rm -f ./$(DEPDIR)/pthread_sigmask.Po -rm -f ./$(DEPDIR)/putenv.Po -rm -f ./$(DEPDIR)/raise.Po -rm -f ./$(DEPDIR)/setenv.Po -rm -f ./$(DEPDIR)/setlocale.Po -rm -f ./$(DEPDIR)/sig-handler.Po -rm -f ./$(DEPDIR)/sigaction.Po -rm -f ./$(DEPDIR)/sigprocmask.Po -rm -f ./$(DEPDIR)/sleep.Po -rm -f ./$(DEPDIR)/stat-w32.Po -rm -f ./$(DEPDIR)/stat.Po -rm -f ./$(DEPDIR)/symlink.Po -rm -f ./$(DEPDIR)/test-alloca-opt.Po -rm -f ./$(DEPDIR)/test-arpa_inet.Po -rm -f ./$(DEPDIR)/test-binary-io.Po -rm -f ./$(DEPDIR)/test-btowc.Po -rm -f ./$(DEPDIR)/test-c-ctype.Po -rm -f ./$(DEPDIR)/test-c-strcasecmp.Po -rm -f ./$(DEPDIR)/test-c-strncasecmp.Po -rm -f ./$(DEPDIR)/test-cloexec.Po -rm -f ./$(DEPDIR)/test-close.Po -rm -f ./$(DEPDIR)/test-connect.Po -rm -f ./$(DEPDIR)/test-ctype.Po -rm -f ./$(DEPDIR)/test-dup2.Po -rm -f ./$(DEPDIR)/test-environ.Po -rm -f ./$(DEPDIR)/test-errno.Po -rm -f ./$(DEPDIR)/test-fcntl-h.Po -rm -f ./$(DEPDIR)/test-fcntl.Po -rm -f ./$(DEPDIR)/test-fdopen.Po -rm -f ./$(DEPDIR)/test-fgetc.Po -rm -f ./$(DEPDIR)/test-float.Po -rm -f ./$(DEPDIR)/test-fputc.Po -rm -f ./$(DEPDIR)/test-fread.Po -rm -f ./$(DEPDIR)/test-fseek.Po -rm -f ./$(DEPDIR)/test-fseeko.Po -rm -f ./$(DEPDIR)/test-fseeko3.Po -rm -f ./$(DEPDIR)/test-fseeko4.Po -rm -f ./$(DEPDIR)/test-fstat.Po -rm -f ./$(DEPDIR)/test-fwrite.Po -rm -f ./$(DEPDIR)/test-getaddrinfo.Po -rm -f ./$(DEPDIR)/test-getcwd-lgpl.Po -rm -f ./$(DEPDIR)/test-getdelim.Po -rm -f ./$(DEPDIR)/test-getdtablesize.Po -rm -f ./$(DEPDIR)/test-getline.Po -rm -f ./$(DEPDIR)/test-getopt-gnu.Po -rm -f ./$(DEPDIR)/test-getopt-posix.Po -rm -f ./$(DEPDIR)/test-getprogname.Po -rm -f ./$(DEPDIR)/test-iconv-h.Po -rm -f ./$(DEPDIR)/test-iconv.Po -rm -f ./$(DEPDIR)/test-ignore-value.Po -rm -f ./$(DEPDIR)/test-inet_ntop.Po -rm -f ./$(DEPDIR)/test-inet_pton.Po -rm -f ./$(DEPDIR)/test-intprops.Po -rm -f ./$(DEPDIR)/test-inttypes.Po -rm -f ./$(DEPDIR)/test-isblank.Po -rm -f ./$(DEPDIR)/test-langinfo.Po -rm -f ./$(DEPDIR)/test-limits-h.Po -rm -f ./$(DEPDIR)/test-localcharset.Po -rm -f ./$(DEPDIR)/test-locale.Po -rm -f ./$(DEPDIR)/test-localename.Po -rm -f ./$(DEPDIR)/test-lock.Po -rm -f ./$(DEPDIR)/test-lseek.Po -rm -f ./$(DEPDIR)/test-lstat.Po -rm -f ./$(DEPDIR)/test-malloca.Po -rm -f ./$(DEPDIR)/test-mbrtowc-w32.Po -rm -f ./$(DEPDIR)/test-mbrtowc.Po -rm -f ./$(DEPDIR)/test-mbsinit.Po -rm -f ./$(DEPDIR)/test-memchr.Po -rm -f ./$(DEPDIR)/test-nanosleep.Po -rm -f ./$(DEPDIR)/test-netdb.Po -rm -f ./$(DEPDIR)/test-netinet_in.Po -rm -f ./$(DEPDIR)/test-once.Po -rm -f ./$(DEPDIR)/test-open.Po -rm -f ./$(DEPDIR)/test-pathmax.Po -rm -f ./$(DEPDIR)/test-poll-h.Po -rm -f ./$(DEPDIR)/test-pthread-thread.Po -rm -f ./$(DEPDIR)/test-pthread.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask1.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask2.Po -rm -f ./$(DEPDIR)/test-quotearg-simple.Po -rm -f ./$(DEPDIR)/test-raise.Po -rm -f ./$(DEPDIR)/test-recv.Po -rm -f ./$(DEPDIR)/test-rwlock1.Po -rm -f ./$(DEPDIR)/test-sched.Po -rm -f ./$(DEPDIR)/test-setenv.Po -rm -f ./$(DEPDIR)/test-setlocale1.Po -rm -f ./$(DEPDIR)/test-setlocale2.Po -rm -f ./$(DEPDIR)/test-shutdown.Po -rm -f ./$(DEPDIR)/test-sigaction.Po -rm -f ./$(DEPDIR)/test-signal-h.Po -rm -f ./$(DEPDIR)/test-sigprocmask.Po -rm -f ./$(DEPDIR)/test-sleep.Po -rm -f ./$(DEPDIR)/test-snprintf.Po -rm -f ./$(DEPDIR)/test-sockets.Po -rm -f ./$(DEPDIR)/test-stat-time.Po -rm -f ./$(DEPDIR)/test-stat.Po -rm -f ./$(DEPDIR)/test-stdalign.Po -rm -f ./$(DEPDIR)/test-stdbool.Po -rm -f ./$(DEPDIR)/test-stddef.Po -rm -f ./$(DEPDIR)/test-stdint.Po -rm -f ./$(DEPDIR)/test-stdio.Po -rm -f ./$(DEPDIR)/test-stdlib.Po -rm -f ./$(DEPDIR)/test-strerror.Po -rm -f ./$(DEPDIR)/test-striconv.Po -rm -f ./$(DEPDIR)/test-string.Po -rm -f ./$(DEPDIR)/test-symlink.Po -rm -f ./$(DEPDIR)/test-sys_select.Po -rm -f ./$(DEPDIR)/test-sys_socket.Po -rm -f ./$(DEPDIR)/test-sys_stat.Po -rm -f ./$(DEPDIR)/test-sys_time.Po -rm -f ./$(DEPDIR)/test-sys_types.Po -rm -f ./$(DEPDIR)/test-sys_uio.Po -rm -f ./$(DEPDIR)/test-thread_create.Po -rm -f ./$(DEPDIR)/test-thread_self.Po -rm -f ./$(DEPDIR)/test-time.Po -rm -f ./$(DEPDIR)/test-unistd.Po -rm -f ./$(DEPDIR)/test-unsetenv.Po -rm -f ./$(DEPDIR)/test-usleep.Po -rm -f ./$(DEPDIR)/test-vasnprintf.Po -rm -f ./$(DEPDIR)/test-vasprintf.Po -rm -f ./$(DEPDIR)/test-verify-try.Po -rm -f ./$(DEPDIR)/test-verify.Po -rm -f ./$(DEPDIR)/test-version-etc.Po -rm -f ./$(DEPDIR)/test-wchar.Po -rm -f ./$(DEPDIR)/test-wcrtomb-w32.Po -rm -f ./$(DEPDIR)/test-wcrtomb.Po -rm -f ./$(DEPDIR)/test-wctype-h.Po -rm -f ./$(DEPDIR)/test-xalloc-die.Po -rm -f ./$(DEPDIR)/unsetenv.Po -rm -f ./$(DEPDIR)/usleep.Po -rm -f ./$(DEPDIR)/version-etc-fsf.Po -rm -f ./$(DEPDIR)/wcrtomb.Po -rm -f ./$(DEPDIR)/wctob.Po -rm -f ./$(DEPDIR)/wctomb.Po -rm -f ./$(DEPDIR)/windows-thread.Po -rm -f ./$(DEPDIR)/windows-tls.Po -rm -f glthread/$(DEPDIR)/thread.Po -rm -f unistr/$(DEPDIR)/test-u8-mbtoucr.Po -rm -f unistr/$(DEPDIR)/test-u8-uctomb.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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 ./$(DEPDIR)/binary-io.Po -rm -f ./$(DEPDIR)/btowc.Po -rm -f ./$(DEPDIR)/cloexec.Po -rm -f ./$(DEPDIR)/fcntl.Po -rm -f ./$(DEPDIR)/fdopen.Po -rm -f ./$(DEPDIR)/getcwd-lgpl.Po -rm -f ./$(DEPDIR)/getdtablesize.Po -rm -f ./$(DEPDIR)/getpagesize.Po -rm -f ./$(DEPDIR)/inet_pton.Po -rm -f ./$(DEPDIR)/isblank.Po -rm -f ./$(DEPDIR)/localename-table.Po -rm -f ./$(DEPDIR)/localename.Po -rm -f ./$(DEPDIR)/lstat.Po -rm -f ./$(DEPDIR)/malloca.Po -rm -f ./$(DEPDIR)/mbtowc.Po -rm -f ./$(DEPDIR)/nanosleep.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/pthread-thread.Po -rm -f ./$(DEPDIR)/pthread_sigmask.Po -rm -f ./$(DEPDIR)/putenv.Po -rm -f ./$(DEPDIR)/raise.Po -rm -f ./$(DEPDIR)/setenv.Po -rm -f ./$(DEPDIR)/setlocale.Po -rm -f ./$(DEPDIR)/sig-handler.Po -rm -f ./$(DEPDIR)/sigaction.Po -rm -f ./$(DEPDIR)/sigprocmask.Po -rm -f ./$(DEPDIR)/sleep.Po -rm -f ./$(DEPDIR)/stat-w32.Po -rm -f ./$(DEPDIR)/stat.Po -rm -f ./$(DEPDIR)/symlink.Po -rm -f ./$(DEPDIR)/test-alloca-opt.Po -rm -f ./$(DEPDIR)/test-arpa_inet.Po -rm -f ./$(DEPDIR)/test-binary-io.Po -rm -f ./$(DEPDIR)/test-btowc.Po -rm -f ./$(DEPDIR)/test-c-ctype.Po -rm -f ./$(DEPDIR)/test-c-strcasecmp.Po -rm -f ./$(DEPDIR)/test-c-strncasecmp.Po -rm -f ./$(DEPDIR)/test-cloexec.Po -rm -f ./$(DEPDIR)/test-close.Po -rm -f ./$(DEPDIR)/test-connect.Po -rm -f ./$(DEPDIR)/test-ctype.Po -rm -f ./$(DEPDIR)/test-dup2.Po -rm -f ./$(DEPDIR)/test-environ.Po -rm -f ./$(DEPDIR)/test-errno.Po -rm -f ./$(DEPDIR)/test-fcntl-h.Po -rm -f ./$(DEPDIR)/test-fcntl.Po -rm -f ./$(DEPDIR)/test-fdopen.Po -rm -f ./$(DEPDIR)/test-fgetc.Po -rm -f ./$(DEPDIR)/test-float.Po -rm -f ./$(DEPDIR)/test-fputc.Po -rm -f ./$(DEPDIR)/test-fread.Po -rm -f ./$(DEPDIR)/test-fseek.Po -rm -f ./$(DEPDIR)/test-fseeko.Po -rm -f ./$(DEPDIR)/test-fseeko3.Po -rm -f ./$(DEPDIR)/test-fseeko4.Po -rm -f ./$(DEPDIR)/test-fstat.Po -rm -f ./$(DEPDIR)/test-fwrite.Po -rm -f ./$(DEPDIR)/test-getaddrinfo.Po -rm -f ./$(DEPDIR)/test-getcwd-lgpl.Po -rm -f ./$(DEPDIR)/test-getdelim.Po -rm -f ./$(DEPDIR)/test-getdtablesize.Po -rm -f ./$(DEPDIR)/test-getline.Po -rm -f ./$(DEPDIR)/test-getopt-gnu.Po -rm -f ./$(DEPDIR)/test-getopt-posix.Po -rm -f ./$(DEPDIR)/test-getprogname.Po -rm -f ./$(DEPDIR)/test-iconv-h.Po -rm -f ./$(DEPDIR)/test-iconv.Po -rm -f ./$(DEPDIR)/test-ignore-value.Po -rm -f ./$(DEPDIR)/test-inet_ntop.Po -rm -f ./$(DEPDIR)/test-inet_pton.Po -rm -f ./$(DEPDIR)/test-intprops.Po -rm -f ./$(DEPDIR)/test-inttypes.Po -rm -f ./$(DEPDIR)/test-isblank.Po -rm -f ./$(DEPDIR)/test-langinfo.Po -rm -f ./$(DEPDIR)/test-limits-h.Po -rm -f ./$(DEPDIR)/test-localcharset.Po -rm -f ./$(DEPDIR)/test-locale.Po -rm -f ./$(DEPDIR)/test-localename.Po -rm -f ./$(DEPDIR)/test-lock.Po -rm -f ./$(DEPDIR)/test-lseek.Po -rm -f ./$(DEPDIR)/test-lstat.Po -rm -f ./$(DEPDIR)/test-malloca.Po -rm -f ./$(DEPDIR)/test-mbrtowc-w32.Po -rm -f ./$(DEPDIR)/test-mbrtowc.Po -rm -f ./$(DEPDIR)/test-mbsinit.Po -rm -f ./$(DEPDIR)/test-memchr.Po -rm -f ./$(DEPDIR)/test-nanosleep.Po -rm -f ./$(DEPDIR)/test-netdb.Po -rm -f ./$(DEPDIR)/test-netinet_in.Po -rm -f ./$(DEPDIR)/test-once.Po -rm -f ./$(DEPDIR)/test-open.Po -rm -f ./$(DEPDIR)/test-pathmax.Po -rm -f ./$(DEPDIR)/test-poll-h.Po -rm -f ./$(DEPDIR)/test-pthread-thread.Po -rm -f ./$(DEPDIR)/test-pthread.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask1.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask2.Po -rm -f ./$(DEPDIR)/test-quotearg-simple.Po -rm -f ./$(DEPDIR)/test-raise.Po -rm -f ./$(DEPDIR)/test-recv.Po -rm -f ./$(DEPDIR)/test-rwlock1.Po -rm -f ./$(DEPDIR)/test-sched.Po -rm -f ./$(DEPDIR)/test-setenv.Po -rm -f ./$(DEPDIR)/test-setlocale1.Po -rm -f ./$(DEPDIR)/test-setlocale2.Po -rm -f ./$(DEPDIR)/test-shutdown.Po -rm -f ./$(DEPDIR)/test-sigaction.Po -rm -f ./$(DEPDIR)/test-signal-h.Po -rm -f ./$(DEPDIR)/test-sigprocmask.Po -rm -f ./$(DEPDIR)/test-sleep.Po -rm -f ./$(DEPDIR)/test-snprintf.Po -rm -f ./$(DEPDIR)/test-sockets.Po -rm -f ./$(DEPDIR)/test-stat-time.Po -rm -f ./$(DEPDIR)/test-stat.Po -rm -f ./$(DEPDIR)/test-stdalign.Po -rm -f ./$(DEPDIR)/test-stdbool.Po -rm -f ./$(DEPDIR)/test-stddef.Po -rm -f ./$(DEPDIR)/test-stdint.Po -rm -f ./$(DEPDIR)/test-stdio.Po -rm -f ./$(DEPDIR)/test-stdlib.Po -rm -f ./$(DEPDIR)/test-strerror.Po -rm -f ./$(DEPDIR)/test-striconv.Po -rm -f ./$(DEPDIR)/test-string.Po -rm -f ./$(DEPDIR)/test-symlink.Po -rm -f ./$(DEPDIR)/test-sys_select.Po -rm -f ./$(DEPDIR)/test-sys_socket.Po -rm -f ./$(DEPDIR)/test-sys_stat.Po -rm -f ./$(DEPDIR)/test-sys_time.Po -rm -f ./$(DEPDIR)/test-sys_types.Po -rm -f ./$(DEPDIR)/test-sys_uio.Po -rm -f ./$(DEPDIR)/test-thread_create.Po -rm -f ./$(DEPDIR)/test-thread_self.Po -rm -f ./$(DEPDIR)/test-time.Po -rm -f ./$(DEPDIR)/test-unistd.Po -rm -f ./$(DEPDIR)/test-unsetenv.Po -rm -f ./$(DEPDIR)/test-usleep.Po -rm -f ./$(DEPDIR)/test-vasnprintf.Po -rm -f ./$(DEPDIR)/test-vasprintf.Po -rm -f ./$(DEPDIR)/test-verify-try.Po -rm -f ./$(DEPDIR)/test-verify.Po -rm -f ./$(DEPDIR)/test-version-etc.Po -rm -f ./$(DEPDIR)/test-wchar.Po -rm -f ./$(DEPDIR)/test-wcrtomb-w32.Po -rm -f ./$(DEPDIR)/test-wcrtomb.Po -rm -f ./$(DEPDIR)/test-wctype-h.Po -rm -f ./$(DEPDIR)/test-xalloc-die.Po -rm -f ./$(DEPDIR)/unsetenv.Po -rm -f ./$(DEPDIR)/usleep.Po -rm -f ./$(DEPDIR)/version-etc-fsf.Po -rm -f ./$(DEPDIR)/wcrtomb.Po -rm -f ./$(DEPDIR)/wctob.Po -rm -f ./$(DEPDIR)/wctomb.Po -rm -f ./$(DEPDIR)/windows-thread.Po -rm -f ./$(DEPDIR)/windows-tls.Po -rm -f glthread/$(DEPDIR)/thread.Po -rm -f unistr/$(DEPDIR)/test-u8-mbtoucr.Po -rm -f unistr/$(DEPDIR)/test-u8-uctomb.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-local pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all check check-am install install-am \ install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--depfiles check check-TESTS check-am clean \ clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \ clean-libtool clean-local clean-noinstLIBRARIES \ 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-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 \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-local pdf pdf-am ps ps-am \ recheck tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # We need the following in order to create when the system # doesn't have one that works with the given compiler. ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/ctype.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/fcntl.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \ -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \ -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/inttypes.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create an empty placeholder for # when the system doesn't have one. langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \ -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \ -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \ -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/langinfo.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that provides all definitions. locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \ -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \ -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \ -e 's/@''GNULIB_LOCALENAME''@/$(GNULIB_LOCALENAME)/g' \ -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \ -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \ -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \ -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \ -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \ -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \ -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \ -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \ -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/locale.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ -e 's/@''GNULIB_PTHREAD_THREAD''@/$(GNULIB_PTHREAD_THREAD)/g' \ -e 's/@''GNULIB_PTHREAD_ONCE''@/$(GNULIB_PTHREAD_ONCE)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX''@/$(GNULIB_PTHREAD_MUTEX)/g' \ -e 's/@''GNULIB_PTHREAD_RWLOCK''@/$(GNULIB_PTHREAD_RWLOCK)/g' \ -e 's/@''GNULIB_PTHREAD_COND''@/$(GNULIB_PTHREAD_COND)/g' \ -e 's/@''GNULIB_PTHREAD_TSS''@/$(GNULIB_PTHREAD_TSS)/g' \ -e 's/@''GNULIB_PTHREAD_SPIN''@/$(GNULIB_PTHREAD_SPIN)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/$(GNULIB_PTHREAD_MUTEX_TIMEDLOCK)/g' \ -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|$(HAVE_PTHREAD_CREATE_DETACHED)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|$(HAVE_PTHREAD_MUTEX_RECURSIVE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|$(HAVE_PTHREAD_MUTEX_ROBUST)|g' \ -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|$(HAVE_PTHREAD_PROCESS_SHARED)|g' \ -e 's|@''HAVE_PTHREAD_CREATE''@|$(HAVE_PTHREAD_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|$(HAVE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|$(HAVE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_SELF''@|$(HAVE_PTHREAD_SELF)|g' \ -e 's|@''HAVE_PTHREAD_EQUAL''@|$(HAVE_PTHREAD_EQUAL)|g' \ -e 's|@''HAVE_PTHREAD_DETACH''@|$(HAVE_PTHREAD_DETACH)|g' \ -e 's|@''HAVE_PTHREAD_JOIN''@|$(HAVE_PTHREAD_JOIN)|g' \ -e 's|@''HAVE_PTHREAD_EXIT''@|$(HAVE_PTHREAD_EXIT)|g' \ -e 's|@''HAVE_PTHREAD_ONCE''@|$(HAVE_PTHREAD_ONCE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|$(HAVE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|$(HAVE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|$(HAVE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|$(HAVE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|$(HAVE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|$(HAVE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|$(HAVE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|$(HAVE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|$(HAVE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|$(HAVE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|$(HAVE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|$(HAVE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|$(HAVE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|$(HAVE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|$(HAVE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_INIT''@|$(HAVE_PTHREAD_COND_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|$(HAVE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|$(HAVE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_WAIT''@|$(HAVE_PTHREAD_COND_WAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|$(HAVE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|$(HAVE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|$(HAVE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|$(HAVE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|$(HAVE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|$(HAVE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|$(HAVE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|$(HAVE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|$(HAVE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|$(HAVE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|$(HAVE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|$(HAVE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|$(HAVE_PTHREAD_SPIN_DESTROY)|g' \ < $(srcdir)/pthread.in.h | \ sed -e 's|@''REPLACE_PTHREAD_CREATE''@|$(REPLACE_PTHREAD_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|$(REPLACE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|$(REPLACE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_SELF''@|$(REPLACE_PTHREAD_SELF)|g' \ -e 's|@''REPLACE_PTHREAD_EQUAL''@|$(REPLACE_PTHREAD_EQUAL)|g' \ -e 's|@''REPLACE_PTHREAD_DETACH''@|$(REPLACE_PTHREAD_DETACH)|g' \ -e 's|@''REPLACE_PTHREAD_JOIN''@|$(REPLACE_PTHREAD_JOIN)|g' \ -e 's|@''REPLACE_PTHREAD_EXIT''@|$(REPLACE_PTHREAD_EXIT)|g' \ -e 's|@''REPLACE_PTHREAD_ONCE''@|$(REPLACE_PTHREAD_ONCE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|$(REPLACE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|$(REPLACE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|$(REPLACE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|$(REPLACE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|$(REPLACE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|$(REPLACE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|$(REPLACE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|$(REPLACE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|$(REPLACE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|$(REPLACE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|$(REPLACE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|$(REPLACE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|$(REPLACE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_INIT''@|$(REPLACE_PTHREAD_COND_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|$(REPLACE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|$(REPLACE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|$(REPLACE_PTHREAD_COND_WAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|$(REPLACE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|$(REPLACE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|$(REPLACE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|$(REPLACE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|$(REPLACE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|$(REPLACE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|$(REPLACE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|$(REPLACE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|$(REPLACE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|$(REPLACE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|$(REPLACE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|$(REPLACE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|$(REPLACE_PTHREAD_SPIN_DESTROY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create a replacement for when # the system doesn't have one. sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ -e 's/@''GNULIB_SCHED_YIELD''@/$(GNULIB_SCHED_YIELD)/g' \ -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \ -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sched.in.h; \ } > $@-t && \ mv $@-t $@ # Clean up after Solaris cc. clean-local: rm -rf SunWS_cache mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gsasl-1.8.1/gltests/test-striconv.c0000644000000000000000000001421513516251601014201 00000000000000/* Test of character set conversion. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include "striconv.h" #if HAVE_ICONV # include #endif #include #include #include #include "macros.h" int main () { #if HAVE_ICONV /* Assume that iconv() supports at least the encodings ASCII, ISO-8859-1, and UTF-8. */ iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8"); ASSERT (cd_88591_to_utf8 != (iconv_t)(-1)); ASSERT (cd_utf8_to_88591 != (iconv_t)(-1)); /* ------------------------- Test mem_cd_iconv() ------------------------- */ /* Test conversion from ISO-8859-1 to UTF-8 with no errors. */ { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; static const char expected[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; char *result = NULL; size_t length = 0; int retval = mem_cd_iconv (input, strlen (input), cd_88591_to_utf8, &result, &length); ASSERT (retval == 0); ASSERT (length == strlen (expected)); ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0); free (result); } /* Test conversion from UTF-8 to ISO-8859-1 with no errors. */ { static const char input[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; static const char expected[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char *result = NULL; size_t length = 0; int retval = mem_cd_iconv (input, strlen (input), cd_utf8_to_88591, &result, &length); ASSERT (retval == 0); ASSERT (length == strlen (expected)); ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0); free (result); } /* Test conversion from UTF-8 to ISO-8859-1 with EILSEQ. */ { static const char input[] = "\342\202\254"; /* EURO SIGN */ char *result = NULL; size_t length = 0; int retval = mem_cd_iconv (input, strlen (input), cd_utf8_to_88591, &result, &length); ASSERT (retval == -1 && errno == EILSEQ); ASSERT (result == NULL); } /* Test conversion from UTF-8 to ISO-8859-1 with EINVAL. */ { static const char input[] = "\342"; char *result = NULL; size_t length = 0; int retval = mem_cd_iconv (input, strlen (input), cd_utf8_to_88591, &result, &length); ASSERT (retval == 0); ASSERT (length == 0); free (result); } /* ------------------------- Test str_cd_iconv() ------------------------- */ /* Test conversion from ISO-8859-1 to UTF-8 with no errors. */ { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; static const char expected[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; char *result = str_cd_iconv (input, cd_88591_to_utf8); ASSERT (result != NULL); ASSERT (strcmp (result, expected) == 0); free (result); } /* Test conversion from UTF-8 to ISO-8859-1 with no errors. */ { static const char input[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; static const char expected[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char *result = str_cd_iconv (input, cd_utf8_to_88591); ASSERT (result != NULL); ASSERT (strcmp (result, expected) == 0); free (result); } /* Test conversion from UTF-8 to ISO-8859-1 with EILSEQ. */ { static const char input[] = "Costs: 27 \342\202\254"; /* EURO SIGN */ char *result = str_cd_iconv (input, cd_utf8_to_88591); ASSERT (result == NULL && errno == EILSEQ); } /* Test conversion from UTF-8 to ISO-8859-1 with EINVAL. */ { static const char input[] = "\342"; char *result = str_cd_iconv (input, cd_utf8_to_88591); ASSERT (result != NULL); ASSERT (strcmp (result, "") == 0); free (result); } iconv_close (cd_88591_to_utf8); iconv_close (cd_utf8_to_88591); /* -------------------------- Test str_iconv() -------------------------- */ /* Test conversion from ISO-8859-1 to UTF-8 with no errors. */ { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; static const char expected[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; char *result = str_iconv (input, "ISO-8859-1", "UTF-8"); ASSERT (result != NULL); ASSERT (strcmp (result, expected) == 0); free (result); } /* Test conversion from UTF-8 to ISO-8859-1 with no errors. */ { static const char input[] = "\303\204rger mit b\303\266sen B\303\274bchen ohne Augenma\303\237"; static const char expected[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char *result = str_iconv (input, "UTF-8", "ISO-8859-1"); ASSERT (result != NULL); ASSERT (strcmp (result, expected) == 0); free (result); } /* Test conversion from UTF-8 to ISO-8859-1 with EILSEQ. */ { static const char input[] = "Costs: 27 \342\202\254"; /* EURO SIGN */ char *result = str_iconv (input, "UTF-8", "ISO-8859-1"); ASSERT (result == NULL && errno == EILSEQ); } /* Test conversion from UTF-8 to ISO-8859-1 with EINVAL. */ { static const char input[] = "\342"; char *result = str_iconv (input, "UTF-8", "ISO-8859-1"); ASSERT (result != NULL); ASSERT (strcmp (result, "") == 0); free (result); } #endif return 0; } gsasl-1.8.1/gltests/test-wcrtomb-w32-2.sh0000755000000000000000000000014513516251601014747 00000000000000#!/bin/sh # Test a CP1256 locale. ${CHECKER} ./test-wcrtomb-w32${EXEEXT} "Arabic_Saudi Arabia" 1256 gsasl-1.8.1/gltests/test-unsetenv.c0000644000000000000000000000355413516251601014205 00000000000000/* Tests of unsetenv. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (unsetenv, int, (char const *)); #include #include #include #include "macros.h" int main (void) { char entry[] = "b=2"; /* Wine 1.2 environ is always NULL see . */ return 0; /* Test removal when multiple entries present. */ ASSERT (putenv ((char *) "a=1") == 0); ASSERT (putenv (entry) == 0); entry[0] = 'a'; /* Unspecified what getenv("a") would be at this point. */ ASSERT (unsetenv ("a") == 0); /* Both entries will be removed. */ ASSERT (getenv ("a") == NULL); ASSERT (unsetenv ("a") == 0); /* Required to fail with EINVAL. */ errno = 0; ASSERT (unsetenv ("") == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (unsetenv ("a=b") == -1); ASSERT (errno == EINVAL); #if 0 /* glibc and gnulib's implementation guarantee this, but POSIX no longer requires it: http://austingroupbugs.net/view.php?id=185 */ errno = 0; ASSERT (unsetenv (NULL) == -1); ASSERT (errno == EINVAL); #endif return 0; } gsasl-1.8.1/gltests/test-sys_socket.c0000644000000000000000000000330113516251601014512 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include #if HAVE_SHUTDOWN /* Check some integer constant expressions. */ int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; #endif /* Check that the 'socklen_t' type is defined. */ socklen_t t1; /* Check that the 'size_t' and 'ssize_t' types are defined. */ size_t t2; ssize_t t3; /* Check that 'struct iovec' is defined. */ struct iovec io; /* Check that a minimal set of 'struct msghdr' is defined. */ struct msghdr msg; int main (void) { struct sockaddr_storage x; sa_family_t i; /* Check some errno values. */ switch (ENOTSOCK) { case ENOTSOCK: case EADDRINUSE: case ENETRESET: case ECONNABORTED: case ECONNRESET: case ENOTCONN: case ESHUTDOWN: break; } x.ss_family = 42; i = 42; msg.msg_iov = &io; return (x.ss_family - i + msg.msg_namelen + msg.msg_iov->iov_len + msg.msg_iovlen); } gsasl-1.8.1/gltests/test-pthread_sigmask1.c0000644000000000000000000000467613516251574015603 00000000000000/* Test of pthread_sigmask in a single-threaded program. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include "signature.h" SIGNATURE_CHECK (pthread_sigmask, int, (int, const sigset_t *, sigset_t *)); #include #include #include #include #include "macros.h" #if !(defined _WIN32 && !defined __CYGWIN__) static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main (int argc, char *argv[]) { sigset_t set; int pid = getpid (); char command[80]; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); /* Check error handling. */ ASSERT (pthread_sigmask (1729, &set, NULL) == EINVAL); /* Block SIGINT. */ ASSERT (pthread_sigmask (SIG_BLOCK, &set, NULL) == 0); /* Request a SIGINT signal from outside. */ sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); ASSERT (system (command) == 0); /* Wait. */ sleep (2); /* The signal should not have arrived yet, because it is blocked. */ ASSERT (sigint_occurred == 0); /* Unblock SIGINT. */ ASSERT (pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0); /* The signal should have arrived now, because POSIX says "If there are any pending unblocked signals after the call to pthread_sigmask(), at least one of those signals shall be delivered before the call to pthread_sigmask() returns." */ ASSERT (sigint_occurred == 1); return 0; } #else /* On native Windows, getpid() values and the arguments that are passed to the (Cygwin?) 'kill' program are not necessarily related. */ int main () { fputs ("Skipping test: native Windows platform\n", stderr); return 77; } #endif gsasl-1.8.1/gltests/unused-parameter.h0000644000000000000000000000304313516251574014651 00000000000000/* A C macro for declaring that specific function parameters are not used. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_UNUSED_PARAMETER is a marker that can be appended to function parameter declarations for parameters that are not used. This helps to reduce warnings, such as from GCC -Wunused-parameter. The syntax is as follows: type param _GL_UNUSED_PARAMETER or more generally param_decl _GL_UNUSED_PARAMETER For example: int param _GL_UNUSED_PARAMETER int *(*param)(void) _GL_UNUSED_PARAMETER Other possible, but obscure and discouraged syntaxes: int _GL_UNUSED_PARAMETER *(*param)(void) _GL_UNUSED_PARAMETER int *(*param)(void) */ #ifndef _GL_UNUSED_PARAMETER # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED_PARAMETER __attribute__ ((__unused__)) # else # define _GL_UNUSED_PARAMETER # endif #endif gsasl-1.8.1/gltests/fdopen.c0000644000000000000000000000273013516251577012643 00000000000000/* Open a stream with a given file descriptor. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef fdopen #if HAVE_MSVC_INVALID_PARAMETER_HANDLER static FILE * fdopen_nothrow (int fd, const char *mode) { FILE *result; TRY_MSVC_INVAL { result = fdopen (fd, mode); } CATCH_MSVC_INVAL { result = NULL; } DONE_MSVC_INVAL; return result; } #else # define fdopen_nothrow fdopen #endif FILE * rpl_fdopen (int fd, const char *mode) { int saved_errno = errno; FILE *fp; errno = 0; fp = fdopen_nothrow (fd, mode); if (fp == NULL) { if (errno == 0) errno = EBADF; } else errno = saved_errno; return fp; } gsasl-1.8.1/gltests/malloca.c0000644000000000000000000000640213516251577013000 00000000000000/* Safe automatic memory allocation. Copyright (C) 2003, 2006-2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2003, 2018. 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 3, 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, see . */ #define _GL_USE_STDLIB_ALLOC 1 #include /* Specification. */ #include "malloca.h" #include "verify.h" /* The speed critical point in this file is freea() applied to an alloca() result: it must be fast, to match the speed of alloca(). The speed of mmalloca() and freea() in the other case are not critical, because they are only invoked for big memory sizes. Here we use a bit in the address as an indicator, an idea by Ondřej Bílka. malloca() can return three types of pointers: - Pointers ≡ 0 mod 2*sa_alignment_max come from stack allocation. - Pointers ≡ sa_alignment_max mod 2*sa_alignment_max come from heap allocation. - NULL comes from a failed heap allocation. */ /* Type for holding very small pointer differences. */ typedef unsigned char small_t; /* Verify that it is wide enough. */ verify (2 * sa_alignment_max - 1 <= (small_t) -1); void * mmalloca (size_t n) { #if HAVE_ALLOCA /* Allocate one more word, used to determine the address to pass to freea(), and room for the alignment ≡ sa_alignment_max mod 2*sa_alignment_max. */ size_t nplus = n + sizeof (small_t) + 2 * sa_alignment_max - 1; if (nplus >= n) { char *mem = (char *) malloc (nplus); if (mem != NULL) { char *p = (char *)((((uintptr_t)mem + sizeof (small_t) + sa_alignment_max - 1) & ~(uintptr_t)(2 * sa_alignment_max - 1)) + sa_alignment_max); /* Here p >= mem + sizeof (small_t), and p <= mem + sizeof (small_t) + 2 * sa_alignment_max - 1 hence p + n <= mem + nplus. So, the memory range [p, p+n) lies in the allocated memory range [mem, mem + nplus). */ ((small_t *) p)[-1] = p - mem; /* p ≡ sa_alignment_max mod 2*sa_alignment_max. */ return p; } } /* Out of memory. */ return NULL; #else # if !MALLOC_0_IS_NONNULL if (n == 0) n = 1; # endif return malloc (n); #endif } #if HAVE_ALLOCA void freea (void *p) { /* Check argument. */ if ((uintptr_t) p & (sa_alignment_max - 1)) { /* p was not the result of a malloca() call. Invalid argument. */ abort (); } /* Determine whether p was a non-NULL pointer returned by mmalloca(). */ if ((uintptr_t) p & sa_alignment_max) { void *mem = (char *) p - ((small_t *) p)[-1]; free (mem); } } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/gltests/test-open.c0000644000000000000000000000215013516251600013265 00000000000000/* Test of opening a file descriptor. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (open, int, (char const *, int, ...)); #include #include #include #include #include "macros.h" #define BASE "test-open.t" #include "test-open.h" int main (void) { return test_open (open, true); } gsasl-1.8.1/gltests/test-mbrtowc-w32-2.sh0000755000000000000000000000014513516251600014746 00000000000000#!/bin/sh # Test a CP1256 locale. ${CHECKER} ./test-mbrtowc-w32${EXEEXT} "Arabic_Saudi Arabia" 1256 gsasl-1.8.1/gltests/cloexec.h0000644000000000000000000000273413516251573013017 00000000000000/* cloexec.c - set or clear the close-on-exec descriptor flag Copyright (C) 2004, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, or clear the flag if VALUE is false. Return 0 on success, or -1 on error with 'errno' set. Note that on MingW, this function does NOT protect DESC from being inherited into spawned children. Instead, either use dup_cloexec followed by closing the original DESC, or use interfaces such as open or pipe2 that accept flags like O_CLOEXEC to create DESC non-inheritable in the first place. */ int set_cloexec_flag (int desc, bool value); /* Duplicates a file handle FD, while marking the copy to be closed prior to exec or spawn. Returns -1 and sets errno if FD could not be duplicated. */ int dup_cloexec (int fd); gsasl-1.8.1/gltests/test-poll-h.c0000644000000000000000000000210313516251601013516 00000000000000/* Test of substitute. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible, 2010. */ #include #include /* Check that the nfds_t type is defined. */ nfds_t a; /* Check that the various POLL* macros are defined. */ int b = POLLIN | POLLPRI | POLLOUT | POLLERR | POLLHUP | POLLNVAL | POLLRDNORM | POLLRDBAND | POLLWRNORM | POLLWRBAND; int main (void) { return 0; } gsasl-1.8.1/gltests/test-connect.c0000644000000000000000000000314313516251600013760 00000000000000/* Test connecting a client socket. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (connect, int, (int, const struct sockaddr *, socklen_t)); #include #include #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { struct sockaddr_in addr; addr.sin_family = AF_INET; inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr); addr.sin_port = htons (80); { errno = 0; ASSERT (connect (-1, (const struct sockaddr *) &addr, sizeof (addr)) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (connect (99, (const struct sockaddr *) &addr, sizeof (addr)) == -1); ASSERT (errno == EBADF); } } return 0; } gsasl-1.8.1/gltests/test-fdopen.c0000644000000000000000000000255713516251600013612 00000000000000/* Test opening a stream with a file descriptor. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fdopen, FILE *, (int, const char *)); #include #include #include "macros.h" int main (void) { /* Test behavior on failure. POSIX makes it hard to check for failure, since the behavior is not well-defined on invalid file descriptors, so try fdopen 1000 times and if that's not enough to fail due to EMFILE, so be it. */ int i; for (i = 0; i < 1000; i++) { errno = 0; if (! fdopen (STDOUT_FILENO, "w")) { ASSERT (errno != 0); break; } } return 0; } gsasl-1.8.1/gltests/setlocale.c0000644000000000000000000016076513516251600013343 00000000000000/* Set the current locale. -*- coding: utf-8 -*- Copyright (C) 2009, 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include /* Override setlocale() so that when the default locale is requested (locale = ""), the environment variables LC_ALL, LC_*, and LANG are considered. Also include all the functionality from libintl's setlocale() override. */ /* Please keep this file in sync with gettext/gettext-runtime/intl/setlocale.c ! */ /* Specification. */ #include #include #include #include #include "localename.h" #if HAVE_CFLOCALECOPYPREFERREDLANGUAGES || HAVE_CFPREFERENCESCOPYAPPVALUE # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES # include # elif HAVE_CFPREFERENCESCOPYAPPVALUE # include # endif # include # include # include extern void gl_locale_name_canonicalize (char *name); #endif #if 1 # undef setlocale /* Return string representation of locale category CATEGORY. */ static const char * category_to_name (int category) { const char *retval; switch (category) { case LC_COLLATE: retval = "LC_COLLATE"; break; case LC_CTYPE: retval = "LC_CTYPE"; break; case LC_MONETARY: retval = "LC_MONETARY"; break; case LC_NUMERIC: retval = "LC_NUMERIC"; break; case LC_TIME: retval = "LC_TIME"; break; case LC_MESSAGES: retval = "LC_MESSAGES"; break; default: /* If you have a better idea for a default value let me know. */ retval = "LC_XXX"; } return retval; } # if defined _WIN32 && ! defined __CYGWIN__ /* The native Windows setlocale() function expects locale names of the form "German" or "German_Germany" or "DEU", but not "de" or "de_DE". We need to convert the names from the form with ISO 639 language code and ISO 3166 country code to the form with English names or with three-letter identifier. The three-letter identifiers known by a Windows XP SP2 or SP3 are: AFK Afrikaans_South Africa.1252 ARA Arabic_Saudi Arabia.1256 ARB Arabic_Lebanon.1256 ARE Arabic_Egypt.1256 ARG Arabic_Algeria.1256 ARH Arabic_Bahrain.1256 ARI Arabic_Iraq.1256 ARJ Arabic_Jordan.1256 ARK Arabic_Kuwait.1256 ARL Arabic_Libya.1256 ARM Arabic_Morocco.1256 ARO Arabic_Oman.1256 ARQ Arabic_Qatar.1256 ARS Arabic_Syria.1256 ART Arabic_Tunisia.1256 ARU Arabic_U.A.E..1256 ARY Arabic_Yemen.1256 AZE Azeri (Latin)_Azerbaijan.1254 BEL Belarusian_Belarus.1251 BGR Bulgarian_Bulgaria.1251 BSB Bosnian_Bosnia and Herzegovina.1250 BSC Bosnian (Cyrillic)_Bosnia and Herzegovina.1250 (wrong encoding!) CAT Catalan_Spain.1252 CHH Chinese_Hong Kong S.A.R..950 CHI Chinese_Singapore.936 CHS Chinese_People's Republic of China.936 CHT Chinese_Taiwan.950 CSY Czech_Czech Republic.1250 CYM Welsh_United Kingdom.1252 DAN Danish_Denmark.1252 DEA German_Austria.1252 DEC German_Liechtenstein.1252 DEL German_Luxembourg.1252 DES German_Switzerland.1252 DEU German_Germany.1252 ELL Greek_Greece.1253 ENA English_Australia.1252 ENB English_Caribbean.1252 ENC English_Canada.1252 ENG English_United Kingdom.1252 ENI English_Ireland.1252 ENJ English_Jamaica.1252 ENL English_Belize.1252 ENP English_Republic of the Philippines.1252 ENS English_South Africa.1252 ENT English_Trinidad and Tobago.1252 ENU English_United States.1252 ENW English_Zimbabwe.1252 ENZ English_New Zealand.1252 ESA Spanish_Panama.1252 ESB Spanish_Bolivia.1252 ESC Spanish_Costa Rica.1252 ESD Spanish_Dominican Republic.1252 ESE Spanish_El Salvador.1252 ESF Spanish_Ecuador.1252 ESG Spanish_Guatemala.1252 ESH Spanish_Honduras.1252 ESI Spanish_Nicaragua.1252 ESL Spanish_Chile.1252 ESM Spanish_Mexico.1252 ESN Spanish_Spain.1252 ESO Spanish_Colombia.1252 ESP Spanish_Spain.1252 ESR Spanish_Peru.1252 ESS Spanish_Argentina.1252 ESU Spanish_Puerto Rico.1252 ESV Spanish_Venezuela.1252 ESY Spanish_Uruguay.1252 ESZ Spanish_Paraguay.1252 ETI Estonian_Estonia.1257 EUQ Basque_Spain.1252 FAR Farsi_Iran.1256 FIN Finnish_Finland.1252 FOS Faroese_Faroe Islands.1252 FPO Filipino_Philippines.1252 FRA French_France.1252 FRB French_Belgium.1252 FRC French_Canada.1252 FRL French_Luxembourg.1252 FRM French_Principality of Monaco.1252 FRS French_Switzerland.1252 FYN Frisian_Netherlands.1252 GLC Galician_Spain.1252 HEB Hebrew_Israel.1255 HRB Croatian_Bosnia and Herzegovina.1250 HRV Croatian_Croatia.1250 HUN Hungarian_Hungary.1250 IND Indonesian_Indonesia.1252 IRE Irish_Ireland.1252 ISL Icelandic_Iceland.1252 ITA Italian_Italy.1252 ITS Italian_Switzerland.1252 IUK Inuktitut (Latin)_Canada.1252 JPN Japanese_Japan.932 KKZ Kazakh_Kazakhstan.1251 KOR Korean_Korea.949 KYR Kyrgyz_Kyrgyzstan.1251 LBX Luxembourgish_Luxembourg.1252 LTH Lithuanian_Lithuania.1257 LVI Latvian_Latvia.1257 MKI FYRO Macedonian_Former Yugoslav Republic of Macedonia.1251 MON Mongolian_Mongolia.1251 MPD Mapudungun_Chile.1252 MSB Malay_Brunei Darussalam.1252 MSL Malay_Malaysia.1252 MWK Mohawk_Canada.1252 NLB Dutch_Belgium.1252 NLD Dutch_Netherlands.1252 NON Norwegian-Nynorsk_Norway.1252 NOR Norwegian (Bokmål)_Norway.1252 NSO Northern Sotho_South Africa.1252 PLK Polish_Poland.1250 PTB Portuguese_Brazil.1252 PTG Portuguese_Portugal.1252 QUB Quechua_Bolivia.1252 QUE Quechua_Ecuador.1252 QUP Quechua_Peru.1252 RMC Romansh_Switzerland.1252 ROM Romanian_Romania.1250 RUS Russian_Russia.1251 SKY Slovak_Slovakia.1250 SLV Slovenian_Slovenia.1250 SMA Sami (Southern)_Norway.1252 SMB Sami (Southern)_Sweden.1252 SME Sami (Northern)_Norway.1252 SMF Sami (Northern)_Sweden.1252 SMG Sami (Northern)_Finland.1252 SMJ Sami (Lule)_Norway.1252 SMK Sami (Lule)_Sweden.1252 SMN Sami (Inari)_Finland.1252 SMS Sami (Skolt)_Finland.1252 SQI Albanian_Albania.1250 SRB Serbian (Cyrillic)_Serbia and Montenegro.1251 SRL Serbian (Latin)_Serbia and Montenegro.1250 SRN Serbian (Cyrillic)_Bosnia and Herzegovina.1251 SRS Serbian (Latin)_Bosnia and Herzegovina.1250 SVE Swedish_Sweden.1252 SVF Swedish_Finland.1252 SWK Swahili_Kenya.1252 THA Thai_Thailand.874 TRK Turkish_Turkey.1254 TSN Tswana_South Africa.1252 TTT Tatar_Russia.1251 UKR Ukrainian_Ukraine.1251 URD Urdu_Islamic Republic of Pakistan.1256 USA English_United States.1252 UZB Uzbek (Latin)_Uzbekistan.1254 VIT Vietnamese_Viet Nam.1258 XHO Xhosa_South Africa.1252 ZHH Chinese_Hong Kong S.A.R..950 ZHI Chinese_Singapore.936 ZHM Chinese_Macau S.A.R..950 ZUL Zulu_South Africa.1252 */ /* Table from ISO 639 language code, optionally with country or script suffix, to English name. Keep in sync with the gl_locale_name_from_win32_LANGID function in localename.c! */ struct table_entry { const char *code; const char *english; }; static const struct table_entry language_table[] = { { "af", "Afrikaans" }, { "am", "Amharic" }, { "ar", "Arabic" }, { "arn", "Mapudungun" }, { "as", "Assamese" }, { "az@cyrillic", "Azeri (Cyrillic)" }, { "az@latin", "Azeri (Latin)" }, { "ba", "Bashkir" }, { "be", "Belarusian" }, { "ber", "Tamazight" }, { "ber@arabic", "Tamazight (Arabic)" }, { "ber@latin", "Tamazight (Latin)" }, { "bg", "Bulgarian" }, { "bin", "Edo" }, { "bn", "Bengali" }, { "bn_BD", "Bengali (Bangladesh)" }, { "bn_IN", "Bengali (India)" }, { "bnt", "Sutu" }, { "bo", "Tibetan" }, { "br", "Breton" }, { "bs", "BSB" }, /* "Bosnian (Latin)" */ { "bs@cyrillic", "BSC" }, /* Bosnian (Cyrillic) */ { "ca", "Catalan" }, { "chr", "Cherokee" }, { "co", "Corsican" }, { "cpe", "Hawaiian" }, { "cs", "Czech" }, { "cy", "Welsh" }, { "da", "Danish" }, { "de", "German" }, { "dsb", "Lower Sorbian" }, { "dv", "Divehi" }, { "el", "Greek" }, { "en", "English" }, { "es", "Spanish" }, { "et", "Estonian" }, { "eu", "Basque" }, { "fa", "Farsi" }, { "ff", "Fulfulde" }, { "fi", "Finnish" }, { "fo", "Faroese" }, /* "Faeroese" does not work */ { "fr", "French" }, { "fy", "Frisian" }, { "ga", "IRE" }, /* Gaelic (Ireland) */ { "gd", "Gaelic (Scotland)" }, { "gd", "Scottish Gaelic" }, { "gl", "Galician" }, { "gn", "Guarani" }, { "gsw", "Alsatian" }, { "gu", "Gujarati" }, { "ha", "Hausa" }, { "he", "Hebrew" }, { "hi", "Hindi" }, { "hr", "Croatian" }, { "hsb", "Upper Sorbian" }, { "hu", "Hungarian" }, { "hy", "Armenian" }, { "id", "Indonesian" }, { "ig", "Igbo" }, { "ii", "Yi" }, { "is", "Icelandic" }, { "it", "Italian" }, { "iu", "IUK" }, /* Inuktitut */ { "ja", "Japanese" }, { "ka", "Georgian" }, { "kk", "Kazakh" }, { "kl", "Greenlandic" }, { "km", "Cambodian" }, { "km", "Khmer" }, { "kn", "Kannada" }, { "ko", "Korean" }, { "kok", "Konkani" }, { "kr", "Kanuri" }, { "ks", "Kashmiri" }, { "ks_IN", "Kashmiri_India" }, { "ks_PK", "Kashmiri (Arabic)_Pakistan" }, { "ky", "Kyrgyz" }, { "la", "Latin" }, { "lb", "Luxembourgish" }, { "lo", "Lao" }, { "lt", "Lithuanian" }, { "lv", "Latvian" }, { "mi", "Maori" }, { "mk", "FYRO Macedonian" }, { "mk", "Macedonian" }, { "ml", "Malayalam" }, { "mn", "Mongolian" }, { "mni", "Manipuri" }, { "moh", "Mohawk" }, { "mr", "Marathi" }, { "ms", "Malay" }, { "mt", "Maltese" }, { "my", "Burmese" }, { "nb", "NOR" }, /* Norwegian Bokmål */ { "ne", "Nepali" }, { "nic", "Ibibio" }, { "nl", "Dutch" }, { "nn", "NON" }, /* Norwegian Nynorsk */ { "no", "Norwegian" }, { "nso", "Northern Sotho" }, { "nso", "Sepedi" }, { "oc", "Occitan" }, { "om", "Oromo" }, { "or", "Oriya" }, { "pa", "Punjabi" }, { "pap", "Papiamentu" }, { "pl", "Polish" }, { "prs", "Dari" }, { "ps", "Pashto" }, { "pt", "Portuguese" }, { "qu", "Quechua" }, { "qut", "K'iche'" }, { "rm", "Romansh" }, { "ro", "Romanian" }, { "ru", "Russian" }, { "rw", "Kinyarwanda" }, { "sa", "Sanskrit" }, { "sah", "Yakut" }, { "sd", "Sindhi" }, { "se", "Sami (Northern)" }, { "se", "Northern Sami" }, { "si", "Sinhalese" }, { "sk", "Slovak" }, { "sl", "Slovenian" }, { "sma", "Sami (Southern)" }, { "sma", "Southern Sami" }, { "smj", "Sami (Lule)" }, { "smj", "Lule Sami" }, { "smn", "Sami (Inari)" }, { "smn", "Inari Sami" }, { "sms", "Sami (Skolt)" }, { "sms", "Skolt Sami" }, { "so", "Somali" }, { "sq", "Albanian" }, { "sr", "Serbian (Latin)" }, { "sr@cyrillic", "SRB" }, /* Serbian (Cyrillic) */ { "sv", "Swedish" }, { "sw", "Swahili" }, { "syr", "Syriac" }, { "ta", "Tamil" }, { "te", "Telugu" }, { "tg", "Tajik" }, { "th", "Thai" }, { "ti", "Tigrinya" }, { "tk", "Turkmen" }, { "tl", "Filipino" }, { "tn", "Tswana" }, { "tr", "Turkish" }, { "ts", "Tsonga" }, { "tt", "Tatar" }, { "ug", "Uighur" }, { "uk", "Ukrainian" }, { "ur", "Urdu" }, { "uz", "Uzbek" }, { "uz", "Uzbek (Latin)" }, { "uz@cyrillic", "Uzbek (Cyrillic)" }, { "ve", "Venda" }, { "vi", "Vietnamese" }, { "wen", "Sorbian" }, { "wo", "Wolof" }, { "xh", "Xhosa" }, { "yi", "Yiddish" }, { "yo", "Yoruba" }, { "zh", "Chinese" }, { "zu", "Zulu" } }; /* Table from ISO 3166 country code to English name. Keep in sync with the gl_locale_name_from_win32_LANGID function in localename.c! */ static const struct table_entry country_table[] = { { "AE", "U.A.E." }, { "AF", "Afghanistan" }, { "AL", "Albania" }, { "AM", "Armenia" }, { "AN", "Netherlands Antilles" }, { "AR", "Argentina" }, { "AT", "Austria" }, { "AU", "Australia" }, { "AZ", "Azerbaijan" }, { "BA", "Bosnia and Herzegovina" }, { "BD", "Bangladesh" }, { "BE", "Belgium" }, { "BG", "Bulgaria" }, { "BH", "Bahrain" }, { "BN", "Brunei Darussalam" }, { "BO", "Bolivia" }, { "BR", "Brazil" }, { "BT", "Bhutan" }, { "BY", "Belarus" }, { "BZ", "Belize" }, { "CA", "Canada" }, { "CG", "Congo" }, { "CH", "Switzerland" }, { "CI", "Cote d'Ivoire" }, { "CL", "Chile" }, { "CM", "Cameroon" }, { "CN", "People's Republic of China" }, { "CO", "Colombia" }, { "CR", "Costa Rica" }, { "CS", "Serbia and Montenegro" }, { "CZ", "Czech Republic" }, { "DE", "Germany" }, { "DK", "Denmark" }, { "DO", "Dominican Republic" }, { "DZ", "Algeria" }, { "EC", "Ecuador" }, { "EE", "Estonia" }, { "EG", "Egypt" }, { "ER", "Eritrea" }, { "ES", "Spain" }, { "ET", "Ethiopia" }, { "FI", "Finland" }, { "FO", "Faroe Islands" }, { "FR", "France" }, { "GB", "United Kingdom" }, { "GD", "Caribbean" }, { "GE", "Georgia" }, { "GL", "Greenland" }, { "GR", "Greece" }, { "GT", "Guatemala" }, { "HK", "Hong Kong" }, { "HK", "Hong Kong S.A.R." }, { "HN", "Honduras" }, { "HR", "Croatia" }, { "HT", "Haiti" }, { "HU", "Hungary" }, { "ID", "Indonesia" }, { "IE", "Ireland" }, { "IL", "Israel" }, { "IN", "India" }, { "IQ", "Iraq" }, { "IR", "Iran" }, { "IS", "Iceland" }, { "IT", "Italy" }, { "JM", "Jamaica" }, { "JO", "Jordan" }, { "JP", "Japan" }, { "KE", "Kenya" }, { "KG", "Kyrgyzstan" }, { "KH", "Cambodia" }, { "KR", "South Korea" }, { "KW", "Kuwait" }, { "KZ", "Kazakhstan" }, { "LA", "Laos" }, { "LB", "Lebanon" }, { "LI", "Liechtenstein" }, { "LK", "Sri Lanka" }, { "LT", "Lithuania" }, { "LU", "Luxembourg" }, { "LV", "Latvia" }, { "LY", "Libya" }, { "MA", "Morocco" }, { "MC", "Principality of Monaco" }, { "MD", "Moldava" }, { "MD", "Moldova" }, { "ME", "Montenegro" }, { "MK", "Former Yugoslav Republic of Macedonia" }, { "ML", "Mali" }, { "MM", "Myanmar" }, { "MN", "Mongolia" }, { "MO", "Macau S.A.R." }, { "MT", "Malta" }, { "MV", "Maldives" }, { "MX", "Mexico" }, { "MY", "Malaysia" }, { "NG", "Nigeria" }, { "NI", "Nicaragua" }, { "NL", "Netherlands" }, { "NO", "Norway" }, { "NP", "Nepal" }, { "NZ", "New Zealand" }, { "OM", "Oman" }, { "PA", "Panama" }, { "PE", "Peru" }, { "PH", "Philippines" }, { "PK", "Islamic Republic of Pakistan" }, { "PL", "Poland" }, { "PR", "Puerto Rico" }, { "PT", "Portugal" }, { "PY", "Paraguay" }, { "QA", "Qatar" }, { "RE", "Reunion" }, { "RO", "Romania" }, { "RS", "Serbia" }, { "RU", "Russia" }, { "RW", "Rwanda" }, { "SA", "Saudi Arabia" }, { "SE", "Sweden" }, { "SG", "Singapore" }, { "SI", "Slovenia" }, { "SK", "Slovak" }, { "SN", "Senegal" }, { "SO", "Somalia" }, { "SR", "Suriname" }, { "SV", "El Salvador" }, { "SY", "Syria" }, { "TH", "Thailand" }, { "TJ", "Tajikistan" }, { "TM", "Turkmenistan" }, { "TN", "Tunisia" }, { "TR", "Turkey" }, { "TT", "Trinidad and Tobago" }, { "TW", "Taiwan" }, { "TZ", "Tanzania" }, { "UA", "Ukraine" }, { "US", "United States" }, { "UY", "Uruguay" }, { "VA", "Vatican" }, { "VE", "Venezuela" }, { "VN", "Viet Nam" }, { "YE", "Yemen" }, { "ZA", "South Africa" }, { "ZW", "Zimbabwe" } }; /* Given a string STRING, find the set of indices i such that TABLE[i].code is the given STRING. It is a range [lo,hi-1]. */ typedef struct { size_t lo; size_t hi; } range_t; static void search (const struct table_entry *table, size_t table_size, const char *string, range_t *result) { /* The table is sorted. Perform a binary search. */ size_t hi = table_size; size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, strcmp (table[i].code, string) < 0, for i >= hi, strcmp (table[i].code, string) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = strcmp (table[mid].code, string); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with strcmp (language_table[i].code, string) == 0. Find the entire interval of such i. */ { size_t i; for (i = mid; i > lo; ) { i--; if (strcmp (table[i].code, string) < 0) { lo = i + 1; break; } } } { size_t i; for (i = mid + 1; i < hi; i++) { if (strcmp (table[i].code, string) > 0) { hi = i; break; } } } /* The set of i with strcmp (language_table[i].code, string) == 0 is the interval [lo, hi-1]. */ break; } } result->lo = lo; result->hi = hi; } /* Like setlocale, but accept also locale names in the form ll or ll_CC, where ll is an ISO 639 language code and CC is an ISO 3166 country code. */ static char * setlocale_unixlike (int category, const char *locale) { char *result; char llCC_buf[64]; char ll_buf[64]; char CC_buf[64]; /* The native Windows implementation of setlocale understands the special locale name "C", but not "POSIX". Therefore map "POSIX" to "C". */ if (locale != NULL && strcmp (locale, "POSIX") == 0) locale = "C"; /* First, try setlocale with the original argument unchanged. */ result = setlocale (category, locale); if (result != NULL) return result; /* Otherwise, assume the argument is in the form language[_territory][.codeset][@modifier] and try to map it using the tables. */ if (strlen (locale) < sizeof (llCC_buf)) { /* Second try: Remove the codeset part. */ { const char *p = locale; char *q = llCC_buf; /* Copy the part before the dot. */ for (; *p != '\0' && *p != '.'; p++, q++) *q = *p; if (*p == '.') /* Skip the part up to the '@', if any. */ for (; *p != '\0' && *p != '@'; p++) ; /* Copy the part starting with '@', if any. */ for (; *p != '\0'; p++, q++) *q = *p; *q = '\0'; } /* llCC_buf now contains language[_territory][@modifier] */ if (strcmp (llCC_buf, locale) != 0) { result = setlocale (category, llCC_buf); if (result != NULL) return result; } /* Look it up in language_table. */ { range_t range; size_t i; search (language_table, sizeof (language_table) / sizeof (language_table[0]), llCC_buf, &range); for (i = range.lo; i < range.hi; i++) { /* Try the replacement in language_table[i]. */ result = setlocale (category, language_table[i].english); if (result != NULL) return result; } } /* Split language[_territory][@modifier] into ll_buf = language[@modifier] and CC_buf = territory */ { const char *underscore = strchr (llCC_buf, '_'); if (underscore != NULL) { const char *territory_start = underscore + 1; const char *territory_end = strchr (territory_start, '@'); if (territory_end == NULL) territory_end = territory_start + strlen (territory_start); memcpy (ll_buf, llCC_buf, underscore - llCC_buf); strcpy (ll_buf + (underscore - llCC_buf), territory_end); memcpy (CC_buf, territory_start, territory_end - territory_start); CC_buf[territory_end - territory_start] = '\0'; { /* Look up ll_buf in language_table and CC_buf in country_table. */ range_t language_range; search (language_table, sizeof (language_table) / sizeof (language_table[0]), ll_buf, &language_range); if (language_range.lo < language_range.hi) { range_t country_range; search (country_table, sizeof (country_table) / sizeof (country_table[0]), CC_buf, &country_range); if (country_range.lo < country_range.hi) { size_t i; size_t j; for (i = language_range.lo; i < language_range.hi; i++) for (j = country_range.lo; j < country_range.hi; j++) { /* Concatenate the replacements. */ const char *part1 = language_table[i].english; size_t part1_len = strlen (part1); const char *part2 = country_table[j].english; size_t part2_len = strlen (part2) + 1; char buf[64+64]; if (!(part1_len + 1 + part2_len <= sizeof (buf))) abort (); memcpy (buf, part1, part1_len); buf[part1_len] = '_'; memcpy (buf + part1_len + 1, part2, part2_len); /* Try the concatenated replacements. */ result = setlocale (category, buf); if (result != NULL) return result; } } /* Try omitting the country entirely. This may set a locale corresponding to the wrong country, but is better than failing entirely. */ { size_t i; for (i = language_range.lo; i < language_range.hi; i++) { /* Try only the language replacement. */ result = setlocale (category, language_table[i].english); if (result != NULL) return result; } } } } } } } /* Failed. */ return NULL; } # elif defined __ANDROID__ /* Like setlocale, but accept also the locale names "C" and "POSIX". */ static char * setlocale_unixlike (int category, const char *locale) { char *result = setlocale (category, locale); if (result == NULL) switch (category) { case LC_CTYPE: case LC_NUMERIC: case LC_TIME: case LC_COLLATE: case LC_MONETARY: case LC_MESSAGES: case LC_ALL: case LC_PAPER: case LC_NAME: case LC_ADDRESS: case LC_TELEPHONE: case LC_MEASUREMENT: if (locale == NULL || strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0) result = (char *) "C"; break; default: break; } return result; } # define setlocale setlocale_unixlike # else # define setlocale_unixlike setlocale # endif # if LC_MESSAGES == 1729 /* The system does not store an LC_MESSAGES locale category. Do it here. */ static char lc_messages_name[64] = "C"; /* Like setlocale, but support also LC_MESSAGES. */ static char * setlocale_single (int category, const char *locale) { if (category == LC_MESSAGES) { if (locale != NULL) { lc_messages_name[sizeof (lc_messages_name) - 1] = '\0'; strncpy (lc_messages_name, locale, sizeof (lc_messages_name) - 1); } return lc_messages_name; } else return setlocale_unixlike (category, locale); } # else # define setlocale_single setlocale_unixlike # endif # if defined __APPLE__ && defined __MACH__ /* Mapping from language to main territory where that language is spoken. */ static char const locales_with_principal_territory[][6 + 1] = { /* Language Main territory */ "ace_ID", /* Achinese Indonesia */ "af_ZA", /* Afrikaans South Africa */ "ak_GH", /* Akan Ghana */ "am_ET", /* Amharic Ethiopia */ "an_ES", /* Aragonese Spain */ "ang_GB", /* Old English Britain */ "arn_CL", /* Mapudungun Chile */ "as_IN", /* Assamese India */ "ast_ES", /* Asturian Spain */ "av_RU", /* Avaric Russia */ "awa_IN", /* Awadhi India */ "az_AZ", /* Azerbaijani Azerbaijan */ "ban_ID", /* Balinese Indonesia */ "be_BY", /* Belarusian Belarus */ "bej_SD", /* Beja Sudan */ "bem_ZM", /* Bemba Zambia */ "bg_BG", /* Bulgarian Bulgaria */ "bho_IN", /* Bhojpuri India */ "bi_VU", /* Bislama Vanuatu */ "bik_PH", /* Bikol Philippines */ "bin_NG", /* Bini Nigeria */ "bm_ML", /* Bambara Mali */ "bn_IN", /* Bengali India */ "bo_CN", /* Tibetan China */ "br_FR", /* Breton France */ "bs_BA", /* Bosnian Bosnia */ "bug_ID", /* Buginese Indonesia */ "ca_ES", /* Catalan Spain */ "ce_RU", /* Chechen Russia */ "ceb_PH", /* Cebuano Philippines */ "co_FR", /* Corsican France */ "cr_CA", /* Cree Canada */ /* Don't put "crh_UZ" or "crh_UA" here. That would be asking for fruitless political discussion. */ "cs_CZ", /* Czech Czech Republic */ "csb_PL", /* Kashubian Poland */ "cy_GB", /* Welsh Britain */ "da_DK", /* Danish Denmark */ "de_DE", /* German Germany */ "din_SD", /* Dinka Sudan */ "doi_IN", /* Dogri India */ "dsb_DE", /* Lower Sorbian Germany */ "dv_MV", /* Divehi Maldives */ "dz_BT", /* Dzongkha Bhutan */ "ee_GH", /* Éwé Ghana */ "el_GR", /* Greek Greece */ /* Don't put "en_GB" or "en_US" here. That would be asking for fruitless political discussion. */ "es_ES", /* Spanish Spain */ "et_EE", /* Estonian Estonia */ "fa_IR", /* Persian Iran */ "fi_FI", /* Finnish Finland */ "fil_PH", /* Filipino Philippines */ "fj_FJ", /* Fijian Fiji */ "fo_FO", /* Faroese Faeroe Islands */ "fon_BJ", /* Fon Benin */ "fr_FR", /* French France */ "fur_IT", /* Friulian Italy */ "fy_NL", /* Western Frisian Netherlands */ "ga_IE", /* Irish Ireland */ "gd_GB", /* Scottish Gaelic Britain */ "gon_IN", /* Gondi India */ "gsw_CH", /* Swiss German Switzerland */ "gu_IN", /* Gujarati India */ "he_IL", /* Hebrew Israel */ "hi_IN", /* Hindi India */ "hil_PH", /* Hiligaynon Philippines */ "hr_HR", /* Croatian Croatia */ "hsb_DE", /* Upper Sorbian Germany */ "ht_HT", /* Haitian Haiti */ "hu_HU", /* Hungarian Hungary */ "hy_AM", /* Armenian Armenia */ "id_ID", /* Indonesian Indonesia */ "ig_NG", /* Igbo Nigeria */ "ii_CN", /* Sichuan Yi China */ "ilo_PH", /* Iloko Philippines */ "is_IS", /* Icelandic Iceland */ "it_IT", /* Italian Italy */ "ja_JP", /* Japanese Japan */ "jab_NG", /* Hyam Nigeria */ "jv_ID", /* Javanese Indonesia */ "ka_GE", /* Georgian Georgia */ "kab_DZ", /* Kabyle Algeria */ "kaj_NG", /* Jju Nigeria */ "kam_KE", /* Kamba Kenya */ "kmb_AO", /* Kimbundu Angola */ "kcg_NG", /* Tyap Nigeria */ "kdm_NG", /* Kagoma Nigeria */ "kg_CD", /* Kongo Democratic Republic of Congo */ "kk_KZ", /* Kazakh Kazakhstan */ "kl_GL", /* Kalaallisut Greenland */ "km_KH", /* Central Khmer Cambodia */ "kn_IN", /* Kannada India */ "ko_KR", /* Korean Korea (South) */ "kok_IN", /* Konkani India */ "kr_NG", /* Kanuri Nigeria */ "kru_IN", /* Kurukh India */ "ky_KG", /* Kyrgyz Kyrgyzstan */ "lg_UG", /* Ganda Uganda */ "li_BE", /* Limburgish Belgium */ "lo_LA", /* Laotian Laos */ "lt_LT", /* Lithuanian Lithuania */ "lu_CD", /* Luba-Katanga Democratic Republic of Congo */ "lua_CD", /* Luba-Lulua Democratic Republic of Congo */ "luo_KE", /* Luo Kenya */ "lv_LV", /* Latvian Latvia */ "mad_ID", /* Madurese Indonesia */ "mag_IN", /* Magahi India */ "mai_IN", /* Maithili India */ "mak_ID", /* Makasar Indonesia */ "man_ML", /* Mandingo Mali */ "men_SL", /* Mende Sierra Leone */ "mfe_MU", /* Mauritian Creole Mauritius */ "mg_MG", /* Malagasy Madagascar */ "mi_NZ", /* Maori New Zealand */ "min_ID", /* Minangkabau Indonesia */ "mk_MK", /* Macedonian North Macedonia */ "ml_IN", /* Malayalam India */ "mn_MN", /* Mongolian Mongolia */ "mni_IN", /* Manipuri India */ "mos_BF", /* Mossi Burkina Faso */ "mr_IN", /* Marathi India */ "ms_MY", /* Malay Malaysia */ "mt_MT", /* Maltese Malta */ "mwr_IN", /* Marwari India */ "my_MM", /* Burmese Myanmar */ "na_NR", /* Nauru Nauru */ "nah_MX", /* Nahuatl Mexico */ "nap_IT", /* Neapolitan Italy */ "nb_NO", /* Norwegian Bokmål Norway */ "nds_DE", /* Low Saxon Germany */ "ne_NP", /* Nepali Nepal */ "nl_NL", /* Dutch Netherlands */ "nn_NO", /* Norwegian Nynorsk Norway */ "no_NO", /* Norwegian Norway */ "nr_ZA", /* South Ndebele South Africa */ "nso_ZA", /* Northern Sotho South Africa */ "ny_MW", /* Chichewa Malawi */ "nym_TZ", /* Nyamwezi Tanzania */ "nyn_UG", /* Nyankole Uganda */ "oc_FR", /* Occitan France */ "oj_CA", /* Ojibwa Canada */ "or_IN", /* Oriya India */ "pa_IN", /* Punjabi India */ "pag_PH", /* Pangasinan Philippines */ "pam_PH", /* Pampanga Philippines */ "pap_AN", /* Papiamento Netherlands Antilles - this line can be removed in 2018 */ "pbb_CO", /* Páez Colombia */ "pl_PL", /* Polish Poland */ "ps_AF", /* Pashto Afghanistan */ "pt_PT", /* Portuguese Portugal */ "raj_IN", /* Rajasthani India */ "rm_CH", /* Romansh Switzerland */ "rn_BI", /* Kirundi Burundi */ "ro_RO", /* Romanian Romania */ "ru_RU", /* Russian Russia */ "rw_RW", /* Kinyarwanda Rwanda */ "sa_IN", /* Sanskrit India */ "sah_RU", /* Yakut Russia */ "sas_ID", /* Sasak Indonesia */ "sat_IN", /* Santali India */ "sc_IT", /* Sardinian Italy */ "scn_IT", /* Sicilian Italy */ "sg_CF", /* Sango Central African Republic */ "shn_MM", /* Shan Myanmar */ "si_LK", /* Sinhala Sri Lanka */ "sid_ET", /* Sidamo Ethiopia */ "sk_SK", /* Slovak Slovakia */ "sl_SI", /* Slovenian Slovenia */ "sm_WS", /* Samoan Samoa */ "smn_FI", /* Inari Sami Finland */ "sms_FI", /* Skolt Sami Finland */ "so_SO", /* Somali Somalia */ "sq_AL", /* Albanian Albania */ "sr_RS", /* Serbian Serbia */ "srr_SN", /* Serer Senegal */ "suk_TZ", /* Sukuma Tanzania */ "sus_GN", /* Susu Guinea */ "sv_SE", /* Swedish Sweden */ "te_IN", /* Telugu India */ "tem_SL", /* Timne Sierra Leone */ "tet_ID", /* Tetum Indonesia */ "tg_TJ", /* Tajik Tajikistan */ "th_TH", /* Thai Thailand */ "ti_ER", /* Tigrinya Eritrea */ "tiv_NG", /* Tiv Nigeria */ "tk_TM", /* Turkmen Turkmenistan */ "tl_PH", /* Tagalog Philippines */ "to_TO", /* Tonga Tonga */ "tpi_PG", /* Tok Pisin Papua New Guinea */ "tr_TR", /* Turkish Turkey */ "tum_MW", /* Tumbuka Malawi */ "ug_CN", /* Uighur China */ "uk_UA", /* Ukrainian Ukraine */ "umb_AO", /* Umbundu Angola */ "ur_PK", /* Urdu Pakistan */ "uz_UZ", /* Uzbek Uzbekistan */ "ve_ZA", /* Venda South Africa */ "vi_VN", /* Vietnamese Vietnam */ "wa_BE", /* Walloon Belgium */ "wal_ET", /* Walamo Ethiopia */ "war_PH", /* Waray Philippines */ "wen_DE", /* Sorbian Germany */ "yao_MW", /* Yao Malawi */ "zap_MX" /* Zapotec Mexico */ }; /* Compare just the language part of two locale names. */ static int langcmp (const char *locale1, const char *locale2) { size_t locale1_len; size_t locale2_len; int cmp; { const char *locale1_end = strchr (locale1, '_'); if (locale1_end != NULL) locale1_len = locale1_end - locale1; else locale1_len = strlen (locale1); } { const char *locale2_end = strchr (locale2, '_'); if (locale2_end != NULL) locale2_len = locale2_end - locale2; else locale2_len = strlen (locale2); } if (locale1_len < locale2_len) { cmp = memcmp (locale1, locale2, locale1_len); if (cmp == 0) cmp = -1; } else { cmp = memcmp (locale1, locale2, locale2_len); if (locale1_len > locale2_len && cmp == 0) cmp = 1; } return cmp; } /* Given a locale name, return the main locale with the same language, or NULL if not found. For example: "fr_DE" -> "fr_FR". */ static const char * get_main_locale_with_same_language (const char *locale) { # define table locales_with_principal_territory /* The table is sorted. Perform a binary search. */ size_t hi = sizeof (table) / sizeof (table[0]); size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, langcmp (table[i], locale) < 0, for i >= hi, langcmp (table[i], locale) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = langcmp (table[mid], locale); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with langcmp (language_table[i], locale) == 0. Verify that it is the only such i. */ if (mid > lo && langcmp (table[mid - 1], locale) >= 0) abort (); if (mid + 1 < hi && langcmp (table[mid + 1], locale) <= 0) abort (); return table[mid]; } } # undef table return NULL; } /* Mapping from territory to main language that is spoken in that territory. */ static char const locales_with_principal_language[][6 + 1] = { /* This is based on the set of existing locales in glibc, with duplicates removed, and on the Wikipedia pages named "Languages of ". If in doubt, use the locale that exists in macOS. For example, the only "*_IN" locale in macOS 10.13 is "hi_IN", so use that. */ /* A useful shell function for producing a line of this table is: func_line () { # Usage: func_line ll_CC ll=`echo "$1" | sed -e 's|_.*||'` cc=`echo "$1" | sed -e 's|^.*_||'` llx=`sed -n -e "s|^${ll} ||p" < gettext-tools/doc/ISO_639` ccx=`expand gettext-tools/doc/ISO_3166 | sed -n -e "s|^${cc} *||p"` echo " \"$1\", /$X* ${llx} ${ccx} *$X/" } */ /* Main language Territory */ "ca_AD", /* Catalan Andorra */ "ar_AE", /* Arabic United Arab Emirates */ "ps_AF", /* Pashto Afghanistan */ "en_AG", /* English Antigua and Barbuda */ "sq_AL", /* Albanian Albania */ "hy_AM", /* Armenian Armenia */ "pap_AN", /* Papiamento Netherlands Antilles - this line can be removed in 2018 */ "pt_AO", /* Portuguese Angola */ "es_AR", /* Spanish Argentina */ "de_AT", /* German Austria */ "en_AU", /* English Australia */ /* Aruba has two official languages: "nl_AW", "pap_AW". */ "az_AZ", /* Azerbaijani Azerbaijan */ "bs_BA", /* Bosnian Bosnia */ "bn_BD", /* Bengali Bangladesh */ "nl_BE", /* Dutch Belgium */ "fr_BF", /* French Burkina Faso */ "bg_BG", /* Bulgarian Bulgaria */ "ar_BH", /* Arabic Bahrain */ "rn_BI", /* Kirundi Burundi */ "fr_BJ", /* French Benin */ "es_BO", /* Spanish Bolivia */ "pt_BR", /* Portuguese Brazil */ "dz_BT", /* Dzongkha Bhutan */ "en_BW", /* English Botswana */ "be_BY", /* Belarusian Belarus */ "en_CA", /* English Canada */ "fr_CD", /* French Democratic Republic of Congo */ "sg_CF", /* Sango Central African Republic */ "de_CH", /* German Switzerland */ "es_CL", /* Spanish Chile */ "zh_CN", /* Chinese China */ "es_CO", /* Spanish Colombia */ "es_CR", /* Spanish Costa Rica */ "es_CU", /* Spanish Cuba */ /* Curaçao has three official languages: "nl_CW", "pap_CW", "en_CW". */ "el_CY", /* Greek Cyprus */ "cs_CZ", /* Czech Czech Republic */ "de_DE", /* German Germany */ /* Djibouti has two official languages: "ar_DJ" and "fr_DJ". */ "da_DK", /* Danish Denmark */ "es_DO", /* Spanish Dominican Republic */ "ar_DZ", /* Arabic Algeria */ "es_EC", /* Spanish Ecuador */ "et_EE", /* Estonian Estonia */ "ar_EG", /* Arabic Egypt */ "ti_ER", /* Tigrinya Eritrea */ "es_ES", /* Spanish Spain */ "am_ET", /* Amharic Ethiopia */ "fi_FI", /* Finnish Finland */ /* Fiji has three official languages: "en_FJ", "fj_FJ", "hif_FJ". */ "fo_FO", /* Faroese Faeroe Islands */ "fr_FR", /* French France */ "en_GB", /* English Britain */ "ka_GE", /* Georgian Georgia */ "en_GH", /* English Ghana */ "kl_GL", /* Kalaallisut Greenland */ "fr_GN", /* French Guinea */ "el_GR", /* Greek Greece */ "es_GT", /* Spanish Guatemala */ "zh_HK", /* Chinese Hong Kong */ "es_HN", /* Spanish Honduras */ "hr_HR", /* Croatian Croatia */ "ht_HT", /* Haitian Haiti */ "hu_HU", /* Hungarian Hungary */ "id_ID", /* Indonesian Indonesia */ "en_IE", /* English Ireland */ "he_IL", /* Hebrew Israel */ "hi_IN", /* Hindi India */ "ar_IQ", /* Arabic Iraq */ "fa_IR", /* Persian Iran */ "is_IS", /* Icelandic Iceland */ "it_IT", /* Italian Italy */ "ar_JO", /* Arabic Jordan */ "ja_JP", /* Japanese Japan */ "sw_KE", /* Swahili Kenya */ "ky_KG", /* Kyrgyz Kyrgyzstan */ "km_KH", /* Central Khmer Cambodia */ "ko_KR", /* Korean Korea (South) */ "ar_KW", /* Arabic Kuwait */ "kk_KZ", /* Kazakh Kazakhstan */ "lo_LA", /* Laotian Laos */ "ar_LB", /* Arabic Lebanon */ "de_LI", /* German Liechtenstein */ "si_LK", /* Sinhala Sri Lanka */ "lt_LT", /* Lithuanian Lithuania */ /* Luxembourg has three official languages: "lb_LU", "fr_LU", "de_LU". */ "lv_LV", /* Latvian Latvia */ "ar_LY", /* Arabic Libya */ "ar_MA", /* Arabic Morocco */ "sr_ME", /* Serbian Montenegro */ "mg_MG", /* Malagasy Madagascar */ "mk_MK", /* Macedonian North Macedonia */ "fr_ML", /* French Mali */ "my_MM", /* Burmese Myanmar */ "mn_MN", /* Mongolian Mongolia */ "mt_MT", /* Maltese Malta */ "mfe_MU", /* Mauritian Creole Mauritius */ "dv_MV", /* Divehi Maldives */ "ny_MW", /* Chichewa Malawi */ "es_MX", /* Spanish Mexico */ "ms_MY", /* Malay Malaysia */ "en_NG", /* English Nigeria */ "es_NI", /* Spanish Nicaragua */ "nl_NL", /* Dutch Netherlands */ "no_NO", /* Norwegian Norway */ "ne_NP", /* Nepali Nepal */ "na_NR", /* Nauru Nauru */ "niu_NU", /* Niuean Niue */ "en_NZ", /* English New Zealand */ "ar_OM", /* Arabic Oman */ "es_PA", /* Spanish Panama */ "es_PE", /* Spanish Peru */ "tpi_PG", /* Tok Pisin Papua New Guinea */ "fil_PH", /* Filipino Philippines */ "pa_PK", /* Punjabi Pakistan */ "pl_PL", /* Polish Poland */ "es_PR", /* Spanish Puerto Rico */ "pt_PT", /* Portuguese Portugal */ "es_PY", /* Spanish Paraguay */ "ar_QA", /* Arabic Qatar */ "ro_RO", /* Romanian Romania */ "sr_RS", /* Serbian Serbia */ "ru_RU", /* Russian Russia */ "rw_RW", /* Kinyarwanda Rwanda */ "ar_SA", /* Arabic Saudi Arabia */ "en_SC", /* English Seychelles */ "ar_SD", /* Arabic Sudan */ "sv_SE", /* Swedish Sweden */ "en_SG", /* English Singapore */ "sl_SI", /* Slovenian Slovenia */ "sk_SK", /* Slovak Slovakia */ "en_SL", /* English Sierra Leone */ "fr_SN", /* French Senegal */ "so_SO", /* Somali Somalia */ "ar_SS", /* Arabic South Sudan */ "es_SV", /* Spanish El Salvador */ "ar_SY", /* Arabic Syria */ "th_TH", /* Thai Thailand */ "tg_TJ", /* Tajik Tajikistan */ "tk_TM", /* Turkmen Turkmenistan */ "ar_TN", /* Arabic Tunisia */ "to_TO", /* Tonga Tonga */ "tr_TR", /* Turkish Turkey */ "zh_TW", /* Chinese Taiwan */ "sw_TZ", /* Swahili Tanzania */ "uk_UA", /* Ukrainian Ukraine */ "lg_UG", /* Ganda Uganda */ "en_US", /* English United States of America */ "es_UY", /* Spanish Uruguay */ "uz_UZ", /* Uzbek Uzbekistan */ "es_VE", /* Spanish Venezuela */ "vi_VN", /* Vietnamese Vietnam */ "bi_VU", /* Bislama Vanuatu */ "sm_WS", /* Samoan Samoa */ "ar_YE", /* Arabic Yemen */ "en_ZA", /* English South Africa */ "en_ZM", /* English Zambia */ "en_ZW" /* English Zimbabwe */ }; /* Compare just the territory part of two locale names. */ static int terrcmp (const char *locale1, const char *locale2) { const char *territory1 = strrchr (locale1, '_') + 1; const char *territory2 = strrchr (locale2, '_') + 1; return strcmp (territory1, territory2); } /* Given a locale name, return the locale corresponding to the main language with the same territory, or NULL if not found. For example: "fr_DE" -> "de_DE". */ static const char * get_main_locale_with_same_territory (const char *locale) { if (strrchr (locale, '_') != NULL) { # define table locales_with_principal_language /* The table is sorted. Perform a binary search. */ size_t hi = sizeof (table) / sizeof (table[0]); size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, terrcmp (table[i], locale) < 0, for i >= hi, terrcmp (table[i], locale) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = terrcmp (table[mid], locale); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with terrcmp (language_table[i], locale) == 0. Verify that it is the only such i. */ if (mid > lo && terrcmp (table[mid - 1], locale) >= 0) abort (); if (mid + 1 < hi && terrcmp (table[mid + 1], locale) <= 0) abort (); return table[mid]; } } # undef table } return NULL; } # endif char * rpl_setlocale (int category, const char *locale) { if (locale != NULL && locale[0] == '\0') { /* A request to the set the current locale to the default locale. */ if (category == LC_ALL) { /* Set LC_CTYPE first. Then the other categories. */ static int const categories[] = { LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES }; char *saved_locale; const char *base_name; unsigned int i; /* Back up the old locale, in case one of the steps fails. */ saved_locale = setlocale (LC_ALL, NULL); if (saved_locale == NULL) return NULL; saved_locale = strdup (saved_locale); if (saved_locale == NULL) return NULL; /* Set LC_CTYPE category. Set all other categories (except possibly LC_MESSAGES) to the same value in the same call; this is likely to save calls. */ base_name = gl_locale_name_environ (LC_CTYPE, category_to_name (LC_CTYPE)); if (base_name == NULL) base_name = gl_locale_name_default (); if (setlocale_unixlike (LC_ALL, base_name) != NULL) { /* LC_CTYPE category already set. */ i = 1; } else { /* On Mac OS X, "UTF-8" is a valid locale name for LC_CTYPE but not for LC_ALL. Therefore this call may fail. So, try another base_name. */ base_name = "C"; if (setlocale_unixlike (LC_ALL, base_name) == NULL) goto fail; i = 0; } # if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, setlocale(LC_ALL,...) may succeed but set the LC_CTYPE category to an invalid value ("C") when it does not support the specified encoding. Report a failure instead. */ if (strchr (base_name, '.') != NULL && strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) goto fail; # endif for (; i < sizeof (categories) / sizeof (categories[0]); i++) { int cat = categories[i]; const char *name; name = gl_locale_name_environ (cat, category_to_name (cat)); if (name == NULL) name = gl_locale_name_default (); /* If name is the same as base_name, it has already been set through the setlocale call before the loop. */ if (strcmp (name, base_name) != 0 # if LC_MESSAGES == 1729 || cat == LC_MESSAGES # endif ) if (setlocale_single (cat, name) == NULL) # if defined __APPLE__ && defined __MACH__ { /* On Mac OS X 10.13, some locales can be set through System Preferences > Language & Region, that are not supported by libc. The system's setlocale() falls back to "C" for these locale categories. We can do better, by trying an existing locale with the same language or an existing locale with the same territory. If we can't, print a warning, to limit user expectations. */ int warn = 0; if (cat == LC_CTYPE) warn = (setlocale_single (cat, "UTF-8") == NULL); else if (cat == LC_MESSAGES) { # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES || HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.4 or newer */ /* Take the primary language preference. */ # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES /* MacOS X 10.5 or newer */ CFArrayRef prefArray = CFLocaleCopyPreferredLanguages (); # elif HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.4 or newer */ CFTypeRef preferences = CFPreferencesCopyAppValue (CFSTR ("AppleLanguages"), kCFPreferencesCurrentApplication); if (preferences != NULL && CFGetTypeID (preferences) == CFArrayGetTypeID ()) { CFArrayRef prefArray = (CFArrayRef)preferences; # endif int n = CFArrayGetCount (prefArray); if (n > 0) { char buf[256]; CFTypeRef element = CFArrayGetValueAtIndex (prefArray, 0); if (element != NULL && CFGetTypeID (element) == CFStringGetTypeID () && CFStringGetCString ((CFStringRef)element, buf, sizeof (buf), kCFStringEncodingASCII)) { /* Remove the country. E.g. "zh-Hans-DE" -> "zh-Hans". */ char *last_minus = strrchr (buf, '-'); if (last_minus != NULL) *last_minus = '\0'; /* Convert to Unix locale name. E.g. "zh-Hans" -> "zh_CN". */ gl_locale_name_canonicalize (buf); /* Try setlocale with this value. */ if (setlocale_single (cat, buf) == NULL) { const char *last_try = get_main_locale_with_same_language (buf); if (last_try == NULL || setlocale_single (cat, last_try) == NULL) warn = 1; } } } # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES /* MacOS X 10.5 or newer */ CFRelease (prefArray); # elif HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.4 or newer */ } # endif # else const char *last_try = get_main_locale_with_same_language (name); if (last_try == NULL || setlocale_single (cat, last_try) == NULL) warn = 1; # endif } else { /* For LC_NUMERIC, the application should use the locale properties kCFLocaleDecimalSeparator, kCFLocaleGroupingSeparator. For LC_TIME, the application should use the locale property kCFLocaleCalendarIdentifier. For LC_COLLATE, the application should use the locale properties kCFLocaleCollationIdentifier, kCFLocaleCollatorIdentifier. For LC_MONETARY, the applicationshould use the locale properties kCFLocaleCurrencySymbol, kCFLocaleCurrencyCode. But since most applications don't have macOS specific code like this, try an existing locale with the same territory. */ const char *last_try = get_main_locale_with_same_territory (name); if (last_try == NULL || setlocale_single (cat, last_try) == NULL) warn = 1; } if (warn) { /* Warn only if the environment variable SETLOCALE_VERBOSE is set. Otherwise these warnings are just annoyances, since normal users won't invoke 'localedef'. */ const char *verbose = getenv ("SETLOCALE_VERBOSE"); if (verbose != NULL && verbose[0] != '\0') fprintf (stderr, "Warning: Failed to set locale category %s to %s.\n", category_to_name (cat), name); } } # else goto fail; # endif } /* All steps were successful. */ free (saved_locale); return setlocale (LC_ALL, NULL); fail: if (saved_locale[0] != '\0') /* don't risk an endless recursion */ setlocale (LC_ALL, saved_locale); free (saved_locale); return NULL; } else { const char *name = gl_locale_name_environ (category, category_to_name (category)); if (name == NULL) name = gl_locale_name_default (); return setlocale_single (category, name); } } else { # if defined _WIN32 && ! defined __CYGWIN__ if (category == LC_ALL && locale != NULL && strchr (locale, '.') != NULL) { char *saved_locale; /* Back up the old locale. */ saved_locale = setlocale (LC_ALL, NULL); if (saved_locale == NULL) return NULL; saved_locale = strdup (saved_locale); if (saved_locale == NULL) return NULL; if (setlocale_unixlike (LC_ALL, locale) == NULL) { free (saved_locale); return NULL; } /* On native Windows, setlocale(LC_ALL,...) may succeed but set the LC_CTYPE category to an invalid value ("C") when it does not support the specified encoding. Report a failure instead. */ if (strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) { if (saved_locale[0] != '\0') /* don't risk an endless recursion */ setlocale (LC_ALL, saved_locale); free (saved_locale); return NULL; } /* It was really successful. */ free (saved_locale); return setlocale (LC_ALL, NULL); } else # endif return setlocale_single (category, locale); } } #endif gsasl-1.8.1/lib/0000755000000000000000000000000013521017727010354 500000000000000gsasl-1.8.1/lib/kerberos_v5/0000755000000000000000000000000013521017727012602 500000000000000gsasl-1.8.1/lib/kerberos_v5/shared.h0000644000000000000000000000245313516252320014137 00000000000000/* shared.h --- Experimental SASL mechanism KERBEROS_V5, shared definitions. * Copyright (C) 2003-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "kerberos_v5.h" /* Get Shishi API. */ #include #ifdef HAVE_NETINET_IN_H #include /* ntohl */ #endif #define DEBUG 0 #define BITMAP_LEN 1 #define MAXBUF_LEN 4 #define RANDOM_LEN 16 #define MUTUAL (1 << 3) #define SERVER_HELLO_LEN BITMAP_LEN + MAXBUF_LEN + RANDOM_LEN #define CLIENT_HELLO_LEN BITMAP_LEN + MAXBUF_LEN #define MAXBUF_DEFAULT 65536 gsasl-1.8.1/lib/kerberos_v5/Makefile.am0000644000000000000000000000241213516252320014547 00000000000000## Process this file with automake to produce Makefile.in # Copyright (C) 2002-2019 Simon Josefsson. # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) # -Igl is for strdup. AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl noinst_LTLIBRARIES = libgsasl-kerberos_v5.la libgsasl_kerberos_v5_la_SOURCES = kerberos_v5.h shared.h if CLIENT libgsasl_kerberos_v5_la_SOURCES += client.c endif if SERVER libgsasl_kerberos_v5_la_SOURCES += server.c endif gsasl-1.8.1/lib/kerberos_v5/kerberos_v5.h0000644000000000000000000000552213516252320015117 00000000000000/* kerberos_v5.h --- Prototypes for experimental SASL mechanism KERBEROS_V5. * Copyright (C) 2003-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * * NB! Shishi is licensed under GPL, so linking GSASL with it require * that you follow the GPL for GSASL as well. * */ #ifndef _KERBEROS_V5_H #define _KERBEROS_V5_H #include "internal.h" #define _GSASL_KERBEROS_V5_NAME "KERBEROS_V5" extern int _gsasl_kerberos_v5_client_init (Gsasl * ctx); extern int _gsasl_kerberos_v5_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_kerberos_v5_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len); extern int _gsasl_kerberos_v5_client_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len); extern int _gsasl_kerberos_v5_client_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len); extern int _gsasl_kerberos_v5_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_kerberos_v5_server_init (Gsasl * ctx); extern int _gsasl_kerberos_v5_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_kerberos_v5_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len); extern int _gsasl_kerberos_v5_server_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len); extern int _gsasl_kerberos_v5_server_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len); extern int _gsasl_kerberos_v5_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* _KERBEROS_V5_H */ gsasl-1.8.1/lib/kerberos_v5/server.c0000644000000000000000000004126213516252320014173 00000000000000/* server.c --- Experimental SASL mechanism KERBEROS_V5, server side. * Copyright (C) 2003-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * * NB! Shishi is licensed under GPL, so linking GSASL with it require * that you follow the GPL for GSASL as well. * */ #include "kerberos_v5.h" #include "shared.h" struct _Gsasl_kerberos_v5_server_state { int firststep; Shishi *sh; char serverhello[BITMAP_LEN + MAXBUF_LEN + RANDOM_LEN]; char *random; int serverqops; uint32_t servermaxbuf; int clientqop; int clientmutual; uint32_t clientmaxbuf; char *username; char *userrealm; char *serverrealm; char *serverservice; char *serverhostname; char *password; Shishi_key *userkey; /* user's key derived with string2key */ Shishi_key *sessionkey; /* shared between client and server */ Shishi_key *sessiontktkey; /* known only by server */ Shishi_ap *ap; Shishi_as *as; Shishi_safe *safe; }; int _gsasl_kerberos_v5_server_init (Gsasl_ctx * ctx) { if (!shishi_check_version (SHISHI_VERSION)) return GSASL_UNKNOWN_MECHANISM; return GSASL_OK; } int _gsasl_kerberos_v5_server_start (Gsasl_session * sctx, void **mech_data) { struct _Gsasl_kerberos_v5_server_state *state; int err; state = malloc (sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; memset (state, 0, sizeof (*state)); state->random = (char *) malloc (RANDOM_LEN); if (state->random == NULL) return GSASL_MALLOC_ERROR; err = shishi_init_server (&state->sh); if (err) return GSASL_KERBEROS_V5_INIT_ERROR; err = shishi_randomize (state->sh, state->random, RANDOM_LEN); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; /* This can be pretty much anything, the client will never have it. */ err = shishi_key_random (state->sh, SHISHI_AES256_CTS_HMAC_SHA1_96, &state->sessiontktkey); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; err = shishi_as (state->sh, &state->as); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; state->firststep = 1; state->serverqops = GSASL_QOP_AUTH | GSASL_QOP_AUTH_INT; *mech_data = state; return GSASL_OK; } int _gsasl_kerberos_v5_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len) { struct _Gsasl_kerberos_v5_server_state *state = mech_data; Gsasl_server_callback_realm cb_realm; Gsasl_server_callback_qop cb_qop; Gsasl_server_callback_maxbuf cb_maxbuf; Gsasl_server_callback_cipher cb_cipher; Gsasl_server_callback_retrieve cb_retrieve; Gsasl_server_callback_service cb_service; unsigned char buf[BUFSIZ]; size_t buflen; Gsasl_ctx *ctx; ASN1_TYPE asn1; int err; ctx = gsasl_server_ctx_get (sctx); if (ctx == NULL) return GSASL_CANNOT_GET_CTX; cb_realm = gsasl_server_callback_realm_get (ctx); cb_qop = gsasl_server_callback_qop_get (ctx); cb_maxbuf = gsasl_server_callback_maxbuf_get (ctx); cb_retrieve = gsasl_server_callback_retrieve_get (ctx); cb_service = gsasl_server_callback_service_get (ctx); if (cb_service == NULL) return GSASL_NEED_SERVER_SERVICE_CALLBACK; if (state->firststep) { uint32_t tmp; unsigned char *p; /* * The initial server packet should contain one octet containing * a bit mask of supported security layers, four octets * indicating the maximum cipher-text buffer size the server is * able to receive (or 0 if no security layers are supported) in * network byte order, and then 16 octets containing random data * (see [4] on how random data might be generated). * * The security layers and their corresponding bit-masks are as * follows: * * Bit 0 No security layer * Bit 1 Integrity (KRB-SAFE) protection * Bit 2 Privacy (KRB-PRIV) protection * Bit 3 Mutual authentication is required (AP option MUTUAL- * REQUIRED must also be present). * * Other bit-masks may be defined in the future; bits which are * not understood must be negotiated off. * */ if (output && *output_len < BITMAP_LEN + MAXBUF_LEN + RANDOM_LEN) return GSASL_TOO_SMALL_BUFFER; p = &state->serverhello[0]; if (cb_qop) state->serverqops = cb_qop (sctx); *p = 0; if (state->serverqops & GSASL_QOP_AUTH) *p |= GSASL_QOP_AUTH; if (state->serverqops & GSASL_QOP_AUTH_INT) *p |= GSASL_QOP_AUTH_INT; if (state->serverqops & GSASL_QOP_AUTH_CONF) *p |= GSASL_QOP_AUTH_CONF; /* XXX we always require mutual authentication for now */ *p |= MUTUAL; if (!(state->serverqops & ~GSASL_QOP_AUTH)) state->servermaxbuf = 0; else if (cb_maxbuf) state->servermaxbuf = cb_maxbuf (sctx); else state->servermaxbuf = MAXBUF_DEFAULT; tmp = htonl (state->servermaxbuf); memcpy (&state->serverhello[BITMAP_LEN], &tmp, MAXBUF_LEN); memcpy (&state->serverhello[BITMAP_LEN + MAXBUF_LEN], state->random, RANDOM_LEN); if (output) memcpy (output, state->serverhello, SERVER_HELLO_LEN); *output_len = BITMAP_LEN + MAXBUF_LEN + RANDOM_LEN; state->firststep = 0; return GSASL_NEEDS_MORE; } if (cb_retrieve) { /* Non-infrastructure mode */ if (*output_len < 2048) return GSASL_TOO_SMALL_BUFFER; if (shishi_as_req_der_set (state->as, input, input_len) == SHISHI_OK) { Shishi_tkt *tkt; int etype, i; tkt = shishi_as_tkt (state->as); if (!tkt) return GSASL_KERBEROS_V5_INTERNAL_ERROR; i = 1; do { err = shishi_kdcreq_etype (state->sh, shishi_as_req (state->as), &etype, i); if (err == SHISHI_OK && shishi_cipher_supported_p (etype)) break; } while (err == SHISHI_OK); if (err != SHISHI_OK) return err; /* XXX use a "preferred server kdc etype" from shishi instead? */ err = shishi_key_random (state->sh, etype, &state->sessionkey); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; err = shishi_tkt_key_set (tkt, state->sessionkey); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; buflen = sizeof (buf) - 1; err = shishi_kdcreq_cname_get (state->sh, shishi_as_req (state->as), buf, &buflen); if (err != SHISHI_OK) return err; buf[buflen] = '\0'; state->username = strdup (buf); buflen = sizeof (buf) - 1; err = shishi_kdcreq_realm_get (state->sh, shishi_as_req (state->as), buf, &buflen); if (err != SHISHI_OK) return err; buf[buflen] = '\0'; state->userrealm = strdup (buf); buflen = sizeof (buf) - 1; err = cb_retrieve (sctx, state->username, NULL, state->userrealm, NULL, &buflen); if (err != GSASL_OK) return err; state->password = malloc (buflen + 1); if (state->password == NULL) return GSASL_MALLOC_ERROR; err = cb_retrieve (sctx, state->username, NULL, state->userrealm, state->password, &buflen); if (err != GSASL_OK) return err; state->password[buflen] = '\0'; buflen = sizeof (buf) - 1; if (cb_realm) { err = cb_realm (sctx, buf, &buflen, 0); if (err != GSASL_OK) return err; } else buflen = 0; buf[buflen] = '\0'; state->serverrealm = strdup (buf); buflen = sizeof (buf) - 1; err = cb_service (sctx, buf, &buflen, NULL, NULL); if (err != GSASL_OK) return err; buf[buflen] = '\0'; state->serverservice = strdup (buf); buflen = sizeof (buf) - 1; err = cb_service (sctx, NULL, NULL, buf, &buflen); if (err != GSASL_OK) return err; buf[buflen] = '\0'; state->serverhostname = strdup (buf); /* XXX do some checking on realm and server name? Right now we simply doesn't care about what client requested and return a ticket for this server. This is bad. */ err = shishi_tkt_clientrealm_set (tkt, state->userrealm, state->username); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; { char *p; p = malloc (strlen (state->serverservice) + strlen ("/") + strlen (state->serverhostname) + 1); if (p == NULL) return GSASL_MALLOC_ERROR; sprintf (p, "%s/%s", state->serverservice, state->serverhostname); err = shishi_tkt_serverrealm_set (tkt, state->serverrealm, p); free (p); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; } buflen = sizeof (buf); err = shishi_as_derive_salt (state->sh, shishi_as_req (state->as), shishi_as_rep (state->as), buf, &buflen); if (err != SHISHI_OK) return err; err = shishi_key_from_string (state->sh, etype, state->password, strlen (state->password), buf, buflen, NULL, &state->userkey); if (err != SHISHI_OK) return err; err = shishi_tkt_build (tkt, state->sessiontktkey); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; err = shishi_as_rep_build (state->as, state->userkey); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; #if DEBUG shishi_kdcreq_print (state->sh, stderr, shishi_as_req (state->as)); shishi_encticketpart_print (state->sh, stderr, shishi_tkt_encticketpart (tkt)); shishi_ticket_print (state->sh, stderr, shishi_tkt_ticket (tkt)); shishi_enckdcreppart_print (state->sh, stderr, shishi_tkt_enckdcreppart (state->as)); shishi_kdcrep_print (state->sh, stderr, shishi_as_rep (state->as)); #endif err = shishi_as_rep_der (state->as, output, output_len); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; return GSASL_NEEDS_MORE; } else if ((asn1 = shishi_der2asn1_apreq (state->sh, input, input_len))) { int adtype; err = shishi_ap (state->sh, &state->ap); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; shishi_ap_req_set (state->ap, asn1); err = shishi_ap_req_process (state->ap, state->sessiontktkey); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; #if DEBUG shishi_apreq_print (state->sh, stderr, shishi_ap_req (state->ap)); shishi_ticket_print (state->sh, stderr, shishi_tkt_ticket (shishi_ap_tkt (state->ap))); shishi_authenticator_print (state->sh, stderr, shishi_ap_authenticator (state->ap)); #endif buflen = sizeof (buf); err = shishi_authenticator_authorizationdata (state->sh, shishi_ap_authenticator (state->ap), &adtype, buf, &buflen, 1); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; if (adtype != 0xFF /* -1 in one-complements form */ || buflen < CLIENT_HELLO_LEN + SERVER_HELLO_LEN) return GSASL_AUTHENTICATION_ERROR; { unsigned char clientbitmap; memcpy (&clientbitmap, &buf[0], BITMAP_LEN); state->clientqop = 0; if (clientbitmap & GSASL_QOP_AUTH) state->clientqop |= GSASL_QOP_AUTH; if (clientbitmap & GSASL_QOP_AUTH_INT) state->clientqop |= GSASL_QOP_AUTH_INT; if (clientbitmap & GSASL_QOP_AUTH_CONF) state->clientqop |= GSASL_QOP_AUTH_CONF; if (clientbitmap & MUTUAL) state->clientmutual = 1; } memcpy (&state->clientmaxbuf, &input[BITMAP_LEN], MAXBUF_LEN); state->clientmaxbuf = ntohl (state->clientmaxbuf); if (!(state->clientqop & state->serverqops)) return GSASL_AUTHENTICATION_ERROR; /* XXX check clientmaxbuf too */ if (memcmp (&buf[CLIENT_HELLO_LEN], state->serverhello, SERVER_HELLO_LEN) != 0) return GSASL_AUTHENTICATION_ERROR; { char cksum[BUFSIZ]; int cksumlen; int cksumtype; Shishi_key *key; key = shishi_tkt_key (shishi_as_tkt (state->as)); cksumtype = shishi_cipher_defaultcksumtype (shishi_key_type (key)); cksumlen = sizeof (cksum); err = shishi_checksum (state->sh, key, SHISHI_KEYUSAGE_APREQ_AUTHENTICATOR_CKSUM, cksumtype, buf, buflen, cksum, &cksumlen); if (err != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; buflen = sizeof (buf); err = shishi_authenticator_cksum (state->sh, shishi_ap_authenticator (state->ap), &cksumtype, buf, &buflen); if (err != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; if (buflen != cksumlen || memcmp (buf, cksum, buflen) != 0) return GSASL_AUTHENTICATION_ERROR; } /* XXX use authorization_id */ if (state->clientmutual) { err = shishi_ap_rep_build (state->ap); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; err = shishi_ap_rep_der (state->ap, output, output_len); if (err) return GSASL_KERBEROS_V5_INTERNAL_ERROR; } else *output_len = 0; return GSASL_OK; } } else { /* XXX Currently we only handle AS-REQ and AP-REQ in non-infrastructure mode. Supporting infrastructure mode is simple, just send the AS-REQ to the KDC and wait for AS-REP instead of creating AS-REP locally. We should probably have a callback to decide policy: 1) non-infrastructure mode (NIM) only 2) infrastructure mode (IM) only 3) proxied infrastructure mode (PIM) only 4) NIM with fallback to IM (useful for local server overrides) 5) IM with fallback to NIM (useful for admins if KDC is offline) 6) ...etc with PIM too */ return GSASL_NEED_SERVER_RETRIEVE_CALLBACK; } *output_len = 0; return GSASL_NEEDS_MORE; } int _gsasl_kerberos_v5_server_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len) { struct _Gsasl_kerberos_v5_server_state *state = mech_data; int res; if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_CONF) { return GSASL_INTEGRITY_ERROR; } else if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_INT) { res = shishi_safe (state->sh, &state->safe); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_set_user_data (state->sh, shishi_safe_safe (state->safe), input, input_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_build (state->safe, state->sessionkey); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_safe_der (state->safe, output, output_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, input, input_len); } return GSASL_OK; } int _gsasl_kerberos_v5_server_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len) { struct _Gsasl_kerberos_v5_server_state *state = mech_data; int res; if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_CONF) { return GSASL_INTEGRITY_ERROR; } else if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_INT) { Shishi_asn1 asn1safe; res = shishi_safe (state->sh, &state->safe); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_safe_der_set (state->safe, input, input_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_verify (state->safe, state->sessionkey); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_user_data (state->sh, shishi_safe_safe (state->safe), output, output_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; return GSASL_OK; } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, input, input_len); } return GSASL_OK; } int _gsasl_kerberos_v5_server_finish (Gsasl_session * sctx, void *mech_data) { struct _Gsasl_kerberos_v5_server_state *state = mech_data; shishi_done (state->sh); free (state->username); free (state->password); free (state->random); free (state); return GSASL_OK; } gsasl-1.8.1/lib/kerberos_v5/Makefile.in0000644000000000000000000017154713521017117014577 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson. # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = kerberos_v5 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_kerberos_v5_la_LIBADD = am__libgsasl_kerberos_v5_la_SOURCES_DIST = kerberos_v5.h shared.h \ client.c server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_kerberos_v5_la_OBJECTS = $(am__objects_1) $(am__objects_2) libgsasl_kerberos_v5_la_OBJECTS = \ $(am_libgsasl_kerberos_v5_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/server.Plo 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 = $(libgsasl_kerberos_v5_la_SOURCES) DIST_SOURCES = $(am__libgsasl_kerberos_v5_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) # -Igl is for strdup. AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl noinst_LTLIBRARIES = libgsasl-kerberos_v5.la libgsasl_kerberos_v5_la_SOURCES = kerberos_v5.h shared.h \ $(am__append_1) $(am__append_2) 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 kerberos_v5/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu kerberos_v5/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-kerberos_v5.la: $(libgsasl_kerberos_v5_la_OBJECTS) $(libgsasl_kerberos_v5_la_DEPENDENCIES) $(EXTRA_libgsasl_kerberos_v5_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_kerberos_v5_la_OBJECTS) $(libgsasl_kerberos_v5_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/kerberos_v5/client.c0000644000000000000000000003005513516252320014141 00000000000000/* client.c --- Experimental SASL mechanism KERBEROS_V5, client side. * Copyright (C) 2003-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * * NB! Shishi is licensed under GPL, so linking GSASL with it require * that you follow the GPL for GSASL as well. * */ #include "kerberos_v5.h" #include "shared.h" struct _Gsasl_kerberos_v5_client_state { int step; char serverhello[BITMAP_LEN + MAXBUF_LEN + RANDOM_LEN]; int serverqops; int clientqop; int servermutual; uint32_t servermaxbuf; uint32_t clientmaxbuf; Shishi *sh; Shishi_tkt *tkt; Shishi_as *as; Shishi_ap *ap; Shishi_key *sessionkey; Shishi_safe *safe; }; int _gsasl_kerberos_v5_client_init (Gsasl_ctx * ctx) { if (!shishi_check_version (SHISHI_VERSION)) return GSASL_UNKNOWN_MECHANISM; return GSASL_OK; } int _gsasl_kerberos_v5_client_start (Gsasl_session * sctx, void **mech_data) { struct _Gsasl_kerberos_v5_client_state *state; Gsasl_ctx *ctx; int err; state = malloc (sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; memset (state, 0, sizeof (*state)); err = shishi_init (&state->sh); if (err) return GSASL_KERBEROS_V5_INIT_ERROR; state->step = 0; state->clientqop = GSASL_QOP_AUTH_INT; *mech_data = state; return GSASL_OK; } #define STEP_FIRST 0 #define STEP_NONINFRA_SEND_ASREQ 1 #define STEP_NONINFRA_WAIT_ASREP 2 #define STEP_NONINFRA_SEND_APREQ 3 #define STEP_NONINFRA_WAIT_APREP 4 #define STEP_SUCCESS 5 int _gsasl_kerberos_v5_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len) { struct _Gsasl_kerberos_v5_client_state *state = mech_data; Gsasl_client_callback_authentication_id cb_authentication_id; Gsasl_client_callback_authorization_id cb_authorization_id; Gsasl_client_callback_qop cb_qop; Gsasl_client_callback_realm cb_realm; Gsasl_client_callback_password cb_password; Gsasl_client_callback_service cb_service; Gsasl_client_callback_maxbuf cb_maxbuf; Gsasl_ctx *ctx; int res; int len; ctx = gsasl_client_ctx_get (sctx); if (ctx == NULL) return GSASL_CANNOT_GET_CTX; /* These are optional */ cb_realm = gsasl_client_callback_realm_get (ctx); cb_service = gsasl_client_callback_service_get (ctx); cb_authentication_id = gsasl_client_callback_authentication_id_get (ctx); cb_authorization_id = gsasl_client_callback_authorization_id_get (ctx); cb_qop = gsasl_client_callback_qop_get (ctx); cb_maxbuf = gsasl_client_callback_maxbuf_get (ctx); /* Only optionally needed in infrastructure mode */ cb_password = gsasl_client_callback_password_get (ctx); if (cb_password == NULL) return GSASL_NEED_CLIENT_PASSWORD_CALLBACK; /* I think we really need this one */ cb_service = gsasl_client_callback_service_get (ctx); if (cb_service == NULL) return GSASL_NEED_CLIENT_SERVICE_CALLBACK; switch (state->step) { case STEP_FIRST: if (input == NULL) { *output_len = 0; return GSASL_NEEDS_MORE; } if (input_len != SERVER_HELLO_LEN) return GSASL_MECHANISM_PARSE_ERROR; memcpy (state->serverhello, input, input_len); { unsigned char serverbitmap; memcpy (&serverbitmap, input, BITMAP_LEN); state->serverqops = 0; if (serverbitmap & GSASL_QOP_AUTH) state->serverqops |= GSASL_QOP_AUTH; if (serverbitmap & GSASL_QOP_AUTH_INT) state->serverqops |= GSASL_QOP_AUTH_INT; if (serverbitmap & GSASL_QOP_AUTH_CONF) state->serverqops |= GSASL_QOP_AUTH_CONF; if (serverbitmap & MUTUAL) state->servermutual = 1; } memcpy (&state->servermaxbuf, &input[BITMAP_LEN], MAXBUF_LEN); state->servermaxbuf = ntohl (state->servermaxbuf); if (cb_qop) state->clientqop = cb_qop (sctx, state->serverqops); if (!(state->serverqops & state->clientqop & (GSASL_QOP_AUTH | GSASL_QOP_AUTH_INT | GSASL_QOP_AUTH_CONF))) return GSASL_AUTHENTICATION_ERROR; /* XXX for now we require server authentication */ if (!state->servermutual) return GSASL_AUTHENTICATION_ERROR; /* Decide policy here: non-infrastructure, infrastructure or proxy. * * A callback to decide should be added, but without the default * should be: * * IF shishi_tktset_get_for_server() THEN * INFRASTRUCTURE MODE * ELSE IF shishi_realm_for_server(server) THEN * PROXY INFRASTRUCTURE (then fallback to NIM?) * ELSE * NON-INFRASTRUCTURE MODE */ state->step = STEP_NONINFRA_SEND_APREQ; /* only NIM for now.. */ /* fall through */ case STEP_NONINFRA_SEND_ASREQ: res = shishi_as (state->sh, &state->as); if (res) return GSASL_KERBEROS_V5_INTERNAL_ERROR; if (cb_authentication_id) /* Shishi defaults to one otherwise */ { len = *output_len - 1; res = cb_authentication_id (sctx, output, &len); if (res != GSASL_OK) return res; output[len] = '\0'; res = shishi_kdcreq_set_cname (state->sh, shishi_as_req (state->as), SHISHI_NT_UNKNOWN, output); if (res != GSASL_OK) return res; } if (cb_realm) { len = *output_len - 1; res = cb_realm (sctx, output, &len); if (res != GSASL_OK) return res; } else len = 0; output[len] = '\0'; res = shishi_kdcreq_set_realm (state->sh, shishi_as_req (state->as), output); if (res != GSASL_OK) return res; if (cb_service) { char *sname[3]; size_t servicelen = 0; size_t hostnamelen = 0; res = cb_service (sctx, NULL, &servicelen, NULL, &hostnamelen, /* XXX support servicename a'la DIGEST-MD5 too? */ NULL, NULL); if (res != GSASL_OK) return res; if (*output_len < servicelen + 1 + hostnamelen + 1) return GSASL_TOO_SMALL_BUFFER; sname[0] = &output[0]; sname[1] = &output[servicelen + 2]; sname[2] = NULL; res = cb_service (sctx, sname[0], &servicelen, sname[1], &hostnamelen, NULL, NULL); if (res != GSASL_OK) return res; sname[0][servicelen] = '\0'; sname[1][hostnamelen] = '\0'; res = shishi_kdcreq_set_sname (state->sh, shishi_as_req (state->as), SHISHI_NT_UNKNOWN, sname); if (res != GSASL_OK) return res; } /* XXX query application for encryption types and set the etype field? Already configured by shishi though... */ res = shishi_a2d (state->sh, shishi_as_req (state->as), output, output_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; state->step = STEP_NONINFRA_WAIT_ASREP; res = GSASL_NEEDS_MORE; break; case STEP_NONINFRA_WAIT_ASREP: if (shishi_as_rep_der_set (state->as, input, input_len) != SHISHI_OK) return GSASL_MECHANISM_PARSE_ERROR; /* XXX? password stored in callee's output buffer */ len = *output_len - 1; res = cb_password (sctx, output, &len); if (res != GSASL_OK && res != GSASL_NEEDS_MORE) return res; output[len] = '\0'; res = shishi_as_rep_process (state->as, NULL, output); if (res != SHISHI_OK) return GSASL_AUTHENTICATION_ERROR; state->step = STEP_NONINFRA_SEND_APREQ; /* fall through */ case STEP_NONINFRA_SEND_APREQ: if (*output_len <= CLIENT_HELLO_LEN + SERVER_HELLO_LEN) return GSASL_TOO_SMALL_BUFFER; if (!(state->clientqop & ~GSASL_QOP_AUTH)) state->clientmaxbuf = 0; else if (cb_maxbuf) state->clientmaxbuf = cb_maxbuf (sctx, state->servermaxbuf); else state->clientmaxbuf = MAXBUF_DEFAULT; /* XXX for now we require server authentication */ output[0] = state->clientqop | MUTUAL; { uint32_t tmp; tmp = ntohl (state->clientmaxbuf); memcpy (&output[BITMAP_LEN], &tmp, MAXBUF_LEN); } memcpy (&output[CLIENT_HELLO_LEN], state->serverhello, SERVER_HELLO_LEN); if (cb_authorization_id) { len = *output_len - CLIENT_HELLO_LEN + SERVER_HELLO_LEN; res = cb_authorization_id (sctx, &output[CLIENT_HELLO_LEN + SERVER_HELLO_LEN], &len); } else len = 0; len += CLIENT_HELLO_LEN + SERVER_HELLO_LEN; res = shishi_ap_tktoptionsdata (state->sh, &state->ap, shishi_as_tkt (state->as), SHISHI_APOPTIONS_MUTUAL_REQUIRED, output, len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_authenticator_add_authorizationdata (state->sh, shishi_ap_authenticator (state->ap), -1, output, len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; /* XXX set realm in AP-REQ and Authenticator */ res = shishi_ap_req_der (state->ap, output, output_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; state->step = STEP_NONINFRA_WAIT_APREP; res = GSASL_NEEDS_MORE; break; case STEP_NONINFRA_WAIT_APREP: if (shishi_ap_rep_der_set (state->ap, input, input_len) != SHISHI_OK) return GSASL_MECHANISM_PARSE_ERROR; res = shishi_ap_rep_verify (state->ap); if (res != SHISHI_OK) return GSASL_AUTHENTICATION_ERROR; state->step = STEP_SUCCESS; /* XXX support AP session keys */ state->sessionkey = shishi_tkt_key (shishi_as_tkt (state->as)); *output_len = 0; res = GSASL_OK; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } int _gsasl_kerberos_v5_client_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct _Gsasl_kerberos_v5_client_state *state = mech_data; int res; if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_CONF) { return GSASL_INTEGRITY_ERROR; } else if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_INT) { res = shishi_safe (state->sh, &state->safe); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_set_user_data (state->sh, shishi_safe_safe (state->safe), input, input_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_build (state->safe, state->sessionkey); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; res = shishi_safe_safe_der (state->safe, output, output_len); if (res != SHISHI_OK) return GSASL_KERBEROS_V5_INTERNAL_ERROR; } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, input, input_len); } return GSASL_OK; } int _gsasl_kerberos_v5_client_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char *output, size_t * output_len) { struct _Gsasl_kerberos_v5_client_state *state = mech_data; if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_CONF) { return GSASL_INTEGRITY_ERROR; } else if (state && state->sessionkey && state->clientqop & GSASL_QOP_AUTH_INT) { return GSASL_INTEGRITY_ERROR; } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, input, input_len); } return GSASL_OK; } int _gsasl_kerberos_v5_client_finish (Gsasl_session * sctx, void *mech_data) { struct _Gsasl_kerberos_v5_client_state *state = mech_data; shishi_done (state->sh); free (state); return GSASL_OK; } gsasl-1.8.1/lib/securid/0000755000000000000000000000000013521017727012012 500000000000000gsasl-1.8.1/lib/securid/securid.h0000644000000000000000000000316513516252321013541 00000000000000/* securid.h --- Prototypes for SASL mechanism SECURID as defined in RFC 2808. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef SECURID_H #define SECURID_H #include #define GSASL_SECURID_NAME "SECURID" extern Gsasl_mechanism gsasl_securid_mechanism; extern int _gsasl_securid_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_securid_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_securid_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_securid_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); #endif /* SECURID_H */ gsasl-1.8.1/lib/securid/Makefile.am0000644000000000000000000000225713516252321013767 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-securid.la libgsasl_securid_la_SOURCES = securid.h mechinfo.c if CLIENT libgsasl_securid_la_SOURCES += client.c endif if SERVER libgsasl_securid_la_SOURCES += server.c endif gsasl-1.8.1/lib/securid/server.c0000644000000000000000000000644013516252321013403 00000000000000/* server.c --- SASL mechanism SECURID from RFC 2808, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "securid.h" /* Get malloc, free. */ #include /* Get memchr, strdup, strlen. */ #include #define PASSCODE "passcode" #define PIN "pin" int _gsasl_securid_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { const char *authorization_id = NULL; const char *authentication_id = NULL; const char *passcode = NULL; const char *suggestedpin; char *pin = NULL; int res; size_t len; if (input_len == 0) { *output_len = 0; *output = NULL; return GSASL_NEEDS_MORE; } authorization_id = input; authentication_id = memchr (input, '\0', input_len - 1); if (authentication_id) { authentication_id++; passcode = memchr (authentication_id, '\0', input_len - strlen (authorization_id) - 1 - 1); if (passcode) { passcode++; pin = memchr (passcode, '\0', input_len - strlen (authorization_id) - 1 - strlen (authentication_id) - 1 - 1); if (pin) { pin++; if (pin && !*pin) pin = NULL; } } } if (passcode == NULL) return GSASL_MECHANISM_PARSE_ERROR; gsasl_property_set (sctx, GSASL_AUTHID, authentication_id); gsasl_property_set (sctx, GSASL_AUTHZID, authorization_id); gsasl_property_set (sctx, GSASL_PASSCODE, passcode); if (pin) gsasl_property_set (sctx, GSASL_PIN, pin); else gsasl_property_set (sctx, GSASL_PIN, NULL); res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_SECURID); switch (res) { case GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE: *output = strdup (PASSCODE); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (PASSCODE); res = GSASL_NEEDS_MORE; break; case GSASL_SECURID_SERVER_NEED_NEW_PIN: suggestedpin = gsasl_property_get (sctx, GSASL_SUGGESTED_PIN); if (suggestedpin) len = strlen (suggestedpin); else len = 0; *output_len = strlen (PIN) + len; *output = malloc (*output_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, PIN, strlen (PIN)); if (suggestedpin) memcpy (*output + strlen (PIN), suggestedpin, len); res = GSASL_NEEDS_MORE; break; default: *output_len = 0; *output = NULL; break; } return res; } gsasl-1.8.1/lib/securid/mechinfo.c0000644000000000000000000000267113516252321013667 00000000000000/* mechinfo.c --- Definition of SECURID mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "securid.h" Gsasl_mechanism gsasl_securid_mechanism = { GSASL_SECURID_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_securid_client_start, #else NULL, #endif #ifdef USE_CLIENT _gsasl_securid_client_step, #else NULL, #endif #ifdef USE_CLIENT _gsasl_securid_client_finish, #else NULL, #endif NULL, NULL} , { NULL, NULL, NULL, #ifdef USE_SERVER _gsasl_securid_server_step, #else NULL, #endif NULL, NULL, NULL} }; gsasl-1.8.1/lib/securid/Makefile.in0000644000000000000000000017172313521017120013775 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = securid ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_securid_la_LIBADD = am__libgsasl_securid_la_SOURCES_DIST = securid.h mechinfo.c client.c \ server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_securid_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_securid_la_OBJECTS = $(am_libgsasl_securid_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_securid_la_SOURCES) DIST_SOURCES = $(am__libgsasl_securid_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-securid.la libgsasl_securid_la_SOURCES = securid.h mechinfo.c $(am__append_1) \ $(am__append_2) 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 securid/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu securid/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-securid.la: $(libgsasl_securid_la_OBJECTS) $(libgsasl_securid_la_DEPENDENCIES) $(EXTRA_libgsasl_securid_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_securid_la_OBJECTS) $(libgsasl_securid_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/securid/client.c0000644000000000000000000000766413516252321013364 00000000000000/* client.c --- SASL mechanism SECURID from RFC 2808, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "securid.h" /* Get malloc, free. */ #include /* Get strdup, strlen. */ #include #define PASSCODE "passcode" #define PIN "pin" int _gsasl_securid_client_start (Gsasl_session * sctx, void **mech_data) { int *step; step = (int *) malloc (sizeof (*step)); if (step == NULL) return GSASL_MALLOC_ERROR; *step = 0; *mech_data = step; return GSASL_OK; } int _gsasl_securid_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { int *step = mech_data; const char *authzid = NULL, *authid = NULL, *passcode = NULL, *pin = NULL; size_t authzidlen, authidlen, passcodelen, pinlen = 0; int do_pin = 0; int res; switch (*step) { case 1: if (input_len == strlen (PASSCODE) && memcmp (input, PASSCODE, strlen (PASSCODE)) == 0) { *step = 0; } else if (input_len >= strlen (PIN) && memcmp (input, PIN, strlen (PIN)) == 0) { do_pin = 1; *step = 0; } else { *output_len = 0; res = GSASL_OK; break; } /* fall through */ case 0: authzid = gsasl_property_get (sctx, GSASL_AUTHZID); if (authzid) authzidlen = strlen (authzid); else authzidlen = 0; authid = gsasl_property_get (sctx, GSASL_AUTHID); if (!authid) return GSASL_NO_AUTHID; authidlen = strlen (authid); passcode = gsasl_property_get (sctx, GSASL_PASSCODE); if (!passcode) return GSASL_NO_PASSCODE; passcodelen = strlen (passcode); if (do_pin) { if (input_len > strlen (PIN)) gsasl_property_set_raw (sctx, GSASL_SUGGESTED_PIN, &input[strlen (PIN)], input_len - strlen (PIN)); pin = gsasl_property_get (sctx, GSASL_PIN); if (!pin) return GSASL_NO_PIN; pinlen = strlen (pin); } *output_len = authzidlen + 1 + authidlen + 1 + passcodelen + 1; if (do_pin) *output_len += pinlen + 1; *output = malloc (*output_len); if (*output == NULL) return GSASL_MALLOC_ERROR; if (authzid) memcpy (*output, authzid, authzidlen); (*output)[authzidlen] = '\0'; memcpy (*output + authzidlen + 1, authid, authidlen); (*output)[authzidlen + 1 + authidlen] = '\0'; memcpy (*output + authzidlen + 1 + authidlen + 1, passcode, passcodelen); (*output)[authzidlen + 1 + authidlen + 1 + passcodelen] = '\0'; if (do_pin) { memcpy (*output + authzidlen + 1 + authidlen + 1 + passcodelen + 1, pin, pinlen); (*output)[authzidlen + 1 + authidlen + 1 + passcodelen + 1 + pinlen] = '\0'; } (*step)++; res = GSASL_OK; break; case 2: *output_len = 0; *output = NULL; (*step)++; res = GSASL_OK; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_securid_client_finish (Gsasl_session * sctx, void *mech_data) { int *step = mech_data; free (step); } gsasl-1.8.1/lib/digest-md5/0000755000000000000000000000000013521017726012315 500000000000000gsasl-1.8.1/lib/digest-md5/printer.h0000644000000000000000000000240013516252320014060 00000000000000/* printer.h --- Convert DIGEST-MD5 token structures into strings. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_PRINTER_H #define DIGEST_MD5_PRINTER_H /* Get token types. */ #include "tokens.h" extern char *digest_md5_print_challenge (digest_md5_challenge * challenge); extern char *digest_md5_print_response (digest_md5_response * response); extern char *digest_md5_print_finish (digest_md5_finish * out); #endif /* DIGEST_MD5_PRINTER_H */ gsasl-1.8.1/lib/digest-md5/printer.c0000644000000000000000000001731613516252320014067 00000000000000/* printer.h --- Convert DIGEST-MD5 token structures into strings. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "printer.h" /* Get free. */ #include /* Get asprintf. */ #include /* Get token validator. */ #include "validate.h" /* Append a key/value pair to a comma'd string list. Additionally enclose the value in quotes if requested. */ static int comma_append (char **dst, const char *key, const char *value, int quotes) { char *tmp; int result; if (*dst) if (value) if (quotes) result = asprintf (&tmp, "%s, %s=\"%s\"", *dst, key, value); else result = asprintf (&tmp, "%s, %s=%s", *dst, key, value); else result = asprintf (&tmp, "%s, %s", *dst, key); else if (value) if (quotes) result = asprintf (&tmp, "%s=\"%s\"", key, value); else result = asprintf (&tmp, "%s=%s", key, value); else result = asprintf (&tmp, "%s", key); if (result < 0) return result; free (*dst); *dst = tmp; return result; } char * digest_md5_print_challenge (digest_md5_challenge * c) { char *out = NULL; size_t i; /* Below we assume the mandatory fields are present, verify that first to avoid crashes. */ if (digest_md5_validate_challenge (c) != 0) return NULL; for (i = 0; i < c->nrealms; i++) { if (comma_append (&out, "realm", c->realms[i], 1) < 0) { free (out); return NULL; } } if (c->nonce) if (comma_append (&out, "nonce", c->nonce, 1) < 0) { free (out); return NULL; } if (c->qops) { char *tmp = NULL; if (c->qops & DIGEST_MD5_QOP_AUTH) if (comma_append (&tmp, "auth", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (c->qops & DIGEST_MD5_QOP_AUTH_INT) if (comma_append (&tmp, "auth-int", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (c->qops & DIGEST_MD5_QOP_AUTH_CONF) if (comma_append (&tmp, "auth-conf", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (comma_append (&out, "qop", tmp, 1) < 0) { free (tmp); free (out); return NULL; } free (tmp); } if (c->stale) if (comma_append (&out, "stale", "true", 0) < 0) { free (out); return NULL; } if (c->servermaxbuf) { char *tmp; if (asprintf (&tmp, "%lu", c->servermaxbuf) < 0) { free (out); return NULL; } if (comma_append (&out, "maxbuf", tmp, 0) < 0) { free (out); return NULL; } free (tmp); } if (c->utf8) if (comma_append (&out, "charset", "utf-8", 0) < 0) { free (out); return NULL; } if (comma_append (&out, "algorithm", "md5-sess", 0) < 0) { free (out); return NULL; } if (c->ciphers) { char *tmp = NULL; if (c->ciphers & DIGEST_MD5_CIPHER_3DES) if (comma_append (&tmp, "3des", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (c->ciphers & DIGEST_MD5_CIPHER_DES) if (comma_append (&tmp, "des", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (c->ciphers & DIGEST_MD5_CIPHER_RC4_40) if (comma_append (&tmp, "rc4-40", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (c->ciphers & DIGEST_MD5_CIPHER_RC4) if (comma_append (&tmp, "rc4", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (c->ciphers & DIGEST_MD5_CIPHER_RC4_56) if (comma_append (&tmp, "rc4-56", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (c->ciphers & DIGEST_MD5_CIPHER_AES_CBC) if (comma_append (&tmp, "aes-cbc", NULL, 0) < 0) { free (tmp); free (out); return NULL; } if (comma_append (&out, "cipher", tmp, 1) < 0) { free (tmp); free (out); return NULL; } free (tmp); } return out; } char * digest_md5_print_response (digest_md5_response * r) { char *out = NULL; const char *qop = NULL; const char *cipher = NULL; /* Below we assume the mandatory fields are present, verify that first to avoid crashes. */ if (digest_md5_validate_response (r) != 0) return NULL; if (r->qop & DIGEST_MD5_QOP_AUTH_CONF) qop = "qop=auth-conf"; else if (r->qop & DIGEST_MD5_QOP_AUTH_INT) qop = "qop=auth-int"; else if (r->qop & DIGEST_MD5_QOP_AUTH) qop = "qop=auth"; if (r->cipher & DIGEST_MD5_CIPHER_3DES) cipher = "cipher=3des"; else if (r->cipher & DIGEST_MD5_CIPHER_DES) cipher = "cipher=des"; else if (r->cipher & DIGEST_MD5_CIPHER_RC4_40) cipher = "cipher=rc4-40"; else if (r->cipher & DIGEST_MD5_CIPHER_RC4) cipher = "cipher=rc4"; else if (r->cipher & DIGEST_MD5_CIPHER_RC4_56) cipher = "cipher=rc4-56"; else if (r->cipher & DIGEST_MD5_CIPHER_AES_CBC) cipher = "cipher=aes-cbc"; else if (r->cipher & DIGEST_MD5_CIPHER_3DES) cipher = "cipher=3des"; if (r->username) if (comma_append (&out, "username", r->username, 1) < 0) { free (out); return NULL; } if (r->realm) if (comma_append (&out, "realm", r->realm, 1) < 0) { free (out); return NULL; } if (r->nonce) if (comma_append (&out, "nonce", r->nonce, 1) < 0) { free (out); return NULL; } if (r->cnonce) if (comma_append (&out, "cnonce", r->cnonce, 1) < 0) { free (out); return NULL; } if (r->nc) { char *tmp; if (asprintf (&tmp, "%08lx", r->nc) < 0) { free (out); return NULL; } if (comma_append (&out, "nc", tmp, 0) < 0) { free (tmp); free (out); return NULL; } free (tmp); } if (qop) if (comma_append (&out, qop, NULL, 0) < 0) { free (out); return NULL; } if (r->digesturi) if (comma_append (&out, "digest-uri", r->digesturi, 1) < 0) { free (out); return NULL; } if (r->response) if (comma_append (&out, "response", r->response, 0) < 0) { free (out); return NULL; } if (r->clientmaxbuf) { char *tmp; if (asprintf (&tmp, "%lu", r->clientmaxbuf) < 0) { free (out); return NULL; } if (comma_append (&out, "maxbuf", tmp, 0) < 0) { free (tmp); free (out); return NULL; } free (tmp); } if (r->utf8) if (comma_append (&out, "charset", "utf-8", 0) < 0) { free (out); return NULL; } if (cipher) if (comma_append (&out, cipher, NULL, 0) < 0) { free (out); return NULL; } if (r->authzid) if (comma_append (&out, "authzid", r->authzid, 1) < 0) { free (out); return NULL; } return out; } char * digest_md5_print_finish (digest_md5_finish * finish) { char *out; /* Below we assume the mandatory fields are present, verify that first to avoid crashes. */ if (digest_md5_validate_finish (finish) != 0) return NULL; if (asprintf (&out, "rspauth=%s", finish->rspauth) < 0) return NULL; return out; } gsasl-1.8.1/lib/digest-md5/README0000644000000000000000000000320713516252320013112 00000000000000DIGEST-MD5 README -- Notes on the implementation Copyright (C) 2004-2019 Simon Josefsson See the end for copying conditions. This directory hold an implementation of DIGEST-MD5. This module is written in portable C89. It may be used as a stand-alone implementation, outside of the framework that GNU SASL provide. It needs two external symbols, gc_md5 and gc_hmac_md5, which should be easy to re-implement, if you are not using libgc. The files CLIENT.C and SERVER.C contain the glue between GNU SASL and the stand-alone implementation. Currently it is the best (only) example on how to use the module. For updates to the project, see . Random notes follow. * I initialled wanted to use abnf2perl from to build a Flex/Yacc grammar for DIGEST-MD5, instead of parser.c. However, the perl script did not seem to handle several required construct, and did not generally seem finished. Secondly, the Yacc generated code was difficult to read, and hence difficult to review. I still wish to explore this way, because the current parser is too permissive, but don't have time now. * It intentionally do not implement sub-sequent authentication. If you believe that saving one round-trip in some, for most users uncommon situations, make up for the added code complexity, hire me to implement the missing pieces. ---------------------------------------------------------------------- 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. gsasl-1.8.1/lib/digest-md5/getsubopt.c0000644000000000000000000000654513516252320014422 00000000000000/* getsubopt.c --- Parse comma separate list into words, DIGEST-MD5 style. * Copyright (C) 2002-2019 Simon Josefsson * Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. * From the GNU C Library, under GNU LGPL version 2.1. * Contributed by Ulrich Drepper , 1996. * Modified for Libgsasl by Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "parser.h" /* Get memchr and memcmp. */ #include /* Parse comma separated suboption from *OPTIONP and match against strings in TOKENS. If found return index and set *VALUEP to optional value introduced by an equal sign. If the suboption is not part of TOKENS return in *VALUEP beginning of unknown suboption. On exit *OPTIONP is set to the beginning of the next token or at the terminating NUL character. This function is NOT identical to standard getsubopt! */ int digest_md5_getsubopt (char **optionp, const char *const *tokens, char **valuep) { char *endp, *vstart; int cnt; int inside_quote = 0; if (**optionp == '\0') return -1; /* Find end of next token. */ endp = *optionp; while (*endp != '\0' && (inside_quote || (!inside_quote && *endp != ','))) { if (*endp == '"') inside_quote = !inside_quote; endp++; } /* Find start of value. */ vstart = memchr (*optionp, '=', endp - *optionp); if (vstart == NULL) vstart = endp; /* Try to match the characters between *OPTIONP and VSTART against one of the TOKENS. */ for (cnt = 0; tokens[cnt] != NULL; ++cnt) if (memcmp (*optionp, tokens[cnt], vstart - *optionp) == 0 && tokens[cnt][vstart - *optionp] == '\0') { /* We found the current option in TOKENS. */ *valuep = vstart != endp ? vstart + 1 : NULL; while (*valuep && (**valuep == ' ' || **valuep == '\t' || **valuep == '\r' || **valuep == '\n' || **valuep == '"')) (*valuep)++; if (*endp != '\0') { *endp = '\0'; *optionp = endp + 1; } else *optionp = endp; endp--; while (*endp == ' ' || *endp == '\t' || *endp == '\r' || *endp == '\n' || *endp == '"') *endp-- = '\0'; while (**optionp == ' ' || **optionp == '\t' || **optionp == '\r' || **optionp == '\n') (*optionp)++; return cnt; } /* The current suboption does not match any option. */ *valuep = *optionp; if (*endp != '\0') *endp++ = '\0'; *optionp = endp; while (**optionp == ' ' || **optionp == '\t' || **optionp == '\r' || **optionp == '\n') (*optionp)++; return -1; } gsasl-1.8.1/lib/digest-md5/digesthmac.c0000644000000000000000000002127013516252320014506 00000000000000/* digesthmac.c --- Compute DIGEST-MD5 response value. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "digesthmac.h" /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include /* Get sprintf. */ #include /* Get gc_md5. */ #include #define HEXCHAR(c) ((c & 0x0F) > 9 ? 'a' + (c & 0x0F) - 10 : '0' + (c & 0x0F)) #define QOP_AUTH "auth" #define QOP_AUTH_INT "auth-int" #define QOP_AUTH_CONF "auth-conf" #define A2_PRE "AUTHENTICATE:" #define A2_POST ":00000000000000000000000000000000" #define COLON ":" #define MD5LEN 16 #define DERIVE_CLIENT_INTEGRITY_KEY_STRING \ "Digest session key to client-to-server signing key magic constant" #define DERIVE_CLIENT_INTEGRITY_KEY_STRING_LEN 65 #define DERIVE_SERVER_INTEGRITY_KEY_STRING \ "Digest session key to server-to-client signing key magic constant" #define DERIVE_SERVER_INTEGRITY_KEY_STRING_LEN 65 #define DERIVE_CLIENT_CONFIDENTIALITY_KEY_STRING \ "Digest H(A1) to client-to-server sealing key magic constant" #define DERIVE_CLIENT_CONFIDENTIALITY_KEY_STRING_LEN 59 #define DERIVE_SERVER_CONFIDENTIALITY_KEY_STRING \ "Digest H(A1) to server-to-client sealing key magic constant" #define DERIVE_SERVER_CONFIDENTIALITY_KEY_STRING_LEN 59 /* Compute in 33 bytes large array OUTPUT the DIGEST-MD5 response value. SECRET holds the 16 bytes MD5 hash SS, i.e., H(username:realm:passwd). NONCE is a zero terminated string with the server nonce. NC is the nonce-count, typically 1 for initial authentication. CNONCE is a zero terminated string with the client nonce. QOP is the quality of protection to use. AUTHZID is a zero terminated string with the authorization identity. DIGESTURI is a zero terminated string with the server principal (e.g., imap/mail.example.org). RSPAUTH is a boolean which indicate whether to compute a value for the RSPAUTH response or the "real" authentication. CIPHER is the cipher to use. KIC, KIS, KCC, KCS are either NULL, or points to 16 byte arrays that will hold the computed keys on output. Returns 0 on success. */ int digest_md5_hmac (char *output, char secret[MD5LEN], const char *nonce, unsigned long nc, const char *cnonce, digest_md5_qop qop, const char *authzid, const char *digesturi, int rspauth, digest_md5_cipher cipher, char *kic, char *kis, char *kcc, char *kcs) { const char *a2string = rspauth ? COLON : A2_PRE; char nchex[9]; char a1hexhash[2 * MD5LEN]; char a2hexhash[2 * MD5LEN]; char hash[MD5LEN]; char *tmp, *p; size_t tmplen; int rc; int i; /* A1 */ tmplen = MD5LEN + strlen (COLON) + strlen (nonce) + strlen (COLON) + strlen (cnonce); if (authzid && strlen (authzid) > 0) tmplen += strlen (COLON) + strlen (authzid); p = tmp = malloc (tmplen); if (tmp == NULL) return -1; memcpy (p, secret, MD5LEN); p += MD5LEN; memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); memcpy (p, nonce, strlen (nonce)); p += strlen (nonce); memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); memcpy (p, cnonce, strlen (cnonce)); p += strlen (cnonce); if (authzid && strlen (authzid) > 0) { memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); memcpy (p, authzid, strlen (authzid)); p += strlen (authzid); } rc = gc_md5 (tmp, tmplen, hash); free (tmp); if (rc) return rc; if (kic) { char hash2[MD5LEN]; char q[MD5LEN + DERIVE_CLIENT_INTEGRITY_KEY_STRING_LEN]; size_t qlen = MD5LEN + DERIVE_CLIENT_INTEGRITY_KEY_STRING_LEN; memcpy (q, hash, MD5LEN); memcpy (q + MD5LEN, DERIVE_CLIENT_INTEGRITY_KEY_STRING, DERIVE_CLIENT_INTEGRITY_KEY_STRING_LEN); rc = gc_md5 (q, qlen, hash2); if (rc) return rc; memcpy (kic, hash2, MD5LEN); } if (kis) { char hash2[MD5LEN]; char q[MD5LEN + DERIVE_SERVER_INTEGRITY_KEY_STRING_LEN]; size_t qlen = MD5LEN + DERIVE_SERVER_INTEGRITY_KEY_STRING_LEN; memcpy (q, hash, MD5LEN); memcpy (q + MD5LEN, DERIVE_SERVER_INTEGRITY_KEY_STRING, DERIVE_SERVER_INTEGRITY_KEY_STRING_LEN); rc = gc_md5 (q, qlen, hash2); if (rc) return rc; memcpy (kis, hash2, MD5LEN); } if (kcc) { char hash2[MD5LEN]; int n; char q[MD5LEN + DERIVE_CLIENT_CONFIDENTIALITY_KEY_STRING_LEN]; if (cipher == DIGEST_MD5_CIPHER_RC4_40) n = 5; else if (cipher == DIGEST_MD5_CIPHER_RC4_56) n = 7; else n = MD5LEN; memcpy (q, hash, n); memcpy (q + n, DERIVE_CLIENT_CONFIDENTIALITY_KEY_STRING, DERIVE_CLIENT_CONFIDENTIALITY_KEY_STRING_LEN); rc = gc_md5 (q, n + DERIVE_CLIENT_CONFIDENTIALITY_KEY_STRING_LEN, hash2); if (rc) return rc; memcpy (kcc, hash2, MD5LEN); } if (kcs) { char hash2[MD5LEN]; int n; char q[MD5LEN + DERIVE_SERVER_CONFIDENTIALITY_KEY_STRING_LEN]; if (cipher == DIGEST_MD5_CIPHER_RC4_40) n = 5; else if (cipher == DIGEST_MD5_CIPHER_RC4_56) n = 7; else n = MD5LEN; memcpy (q, hash, n); memcpy (q + n, DERIVE_SERVER_CONFIDENTIALITY_KEY_STRING, DERIVE_SERVER_CONFIDENTIALITY_KEY_STRING_LEN); rc = gc_md5 (q, n + DERIVE_SERVER_CONFIDENTIALITY_KEY_STRING_LEN, hash2); if (rc) return rc; memcpy (kcs, hash2, MD5LEN); } for (i = 0; i < MD5LEN; i++) { a1hexhash[2 * i + 1] = HEXCHAR (hash[i]); a1hexhash[2 * i + 0] = HEXCHAR (hash[i] >> 4); } /* A2 */ tmplen = strlen (a2string) + strlen (digesturi); if (qop & DIGEST_MD5_QOP_AUTH_INT || qop & DIGEST_MD5_QOP_AUTH_CONF) tmplen += strlen (A2_POST); p = tmp = malloc (tmplen); if (tmp == NULL) return -1; memcpy (p, a2string, strlen (a2string)); p += strlen (a2string); memcpy (p, digesturi, strlen (digesturi)); p += strlen (digesturi); if (qop & DIGEST_MD5_QOP_AUTH_INT || qop & DIGEST_MD5_QOP_AUTH_CONF) memcpy (p, A2_POST, strlen (A2_POST)); rc = gc_md5 (tmp, tmplen, hash); free (tmp); if (rc) return rc; for (i = 0; i < MD5LEN; i++) { a2hexhash[2 * i + 1] = HEXCHAR (hash[i]); a2hexhash[2 * i + 0] = HEXCHAR (hash[i] >> 4); } /* response_value */ sprintf (nchex, "%08lx", nc); tmplen = 2 * MD5LEN + strlen (COLON) + strlen (nonce) + strlen (COLON) + strlen (nchex) + strlen (COLON) + strlen (cnonce) + strlen (COLON); if (qop & DIGEST_MD5_QOP_AUTH_CONF) tmplen += strlen (QOP_AUTH_CONF); else if (qop & DIGEST_MD5_QOP_AUTH_INT) tmplen += strlen (QOP_AUTH_INT); else if (qop & DIGEST_MD5_QOP_AUTH) tmplen += strlen (QOP_AUTH); tmplen += strlen (COLON) + 2 * MD5LEN; p = tmp = malloc (tmplen); if (tmp == NULL) return -1; memcpy (p, a1hexhash, 2 * MD5LEN); p += 2 * MD5LEN; memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); memcpy (p, nonce, strlen (nonce)); p += strlen (nonce); memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); memcpy (p, nchex, strlen (nchex)); p += strlen (nchex); memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); memcpy (p, cnonce, strlen (cnonce)); p += strlen (cnonce); memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); if (qop & DIGEST_MD5_QOP_AUTH_CONF) { memcpy (p, QOP_AUTH_CONF, strlen (QOP_AUTH_CONF)); p += strlen (QOP_AUTH_CONF); } else if (qop & DIGEST_MD5_QOP_AUTH_INT) { memcpy (p, QOP_AUTH_INT, strlen (QOP_AUTH_INT)); p += strlen (QOP_AUTH_INT); } else if (qop & DIGEST_MD5_QOP_AUTH) { memcpy (p, QOP_AUTH, strlen (QOP_AUTH)); p += strlen (QOP_AUTH); } memcpy (p, COLON, strlen (COLON)); p += strlen (COLON); memcpy (p, a2hexhash, 2 * MD5LEN); rc = gc_md5 (tmp, tmplen, hash); free (tmp); if (rc) return rc; for (i = 0; i < MD5LEN; i++) { output[2 * i + 1] = HEXCHAR (hash[i]); output[2 * i + 0] = HEXCHAR (hash[i] >> 4); } output[32] = '\0'; return 0; } gsasl-1.8.1/lib/digest-md5/free.c0000644000000000000000000000301713516252320013316 00000000000000/* free.h --- Free allocated data in DIGEST-MD5 token structures. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ /* Get prototypes. */ #include "free.h" /* Get free. */ #include /* Get memset. */ #include void digest_md5_free_challenge (digest_md5_challenge * c) { size_t i; for (i = 0; i < c->nrealms; i++) free (c->realms[i]); free (c->realms); free (c->nonce); memset (c, 0, sizeof (*c)); } void digest_md5_free_response (digest_md5_response * r) { free (r->username); free (r->realm); free (r->nonce); free (r->cnonce); free (r->digesturi); free (r->authzid); memset (r, 0, sizeof (*r)); } void digest_md5_free_finish (digest_md5_finish * f) { memset (f, 0, sizeof (*f)); } gsasl-1.8.1/lib/digest-md5/nonascii.c0000644000000000000000000000452213516252320014202 00000000000000/* server.c --- DIGEST-MD5 mechanism from RFC 2831, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "nonascii.h" #include #include /* C89 compliant way to cast 'char' to 'unsigned char'. */ static inline unsigned char to_uchar (char ch) { return ch; } char * latin1toutf8 (const char *str) { char *p = malloc (2 * strlen (str) + 1); if (p) { size_t i, j = 0; for (i = 0; str[i]; i++) { if (to_uchar (str[i]) < 0x80) p[j++] = str[i]; else if (to_uchar (str[i]) < 0xC0) { p[j++] = (unsigned char) 0xC2; p[j++] = str[i]; } else { p[j++] = (unsigned char) 0xC3; p[j++] = str[i] - 64; } } p[j] = 0x00; } return p; } char * utf8tolatin1ifpossible (const char *passwd) { char *p; size_t i; for (i = 0; passwd[i]; i++) { if (to_uchar (passwd[i]) > 0x7F) { if (to_uchar (passwd[i]) < 0xC0 || to_uchar (passwd[i]) > 0xC3) return strdup (passwd); i++; if (to_uchar (passwd[i]) < 0x80 || to_uchar (passwd[i]) > 0xBF) return strdup (passwd); } } p = malloc (strlen (passwd) + 1); if (p) { size_t j = 0; for (i = 0; passwd[i]; i++) { if (to_uchar (passwd[i]) > 0x7F) { /* p[i+1] can't be zero here */ p[j++] = ((to_uchar (passwd[i]) & 0x3) << 6) | (to_uchar (passwd[i + 1]) & 0x3F); i++; } else p[j++] = passwd[i]; } p[j] = 0x00; } return p; } gsasl-1.8.1/lib/digest-md5/digest-md5.h0000644000000000000000000000514513516252320014350 00000000000000/* digest-md5.h --- Prototypes for DIGEST-MD5 mechanism as defined in RFC 2831. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_H #define DIGEST_MD5_H #include #define GSASL_DIGEST_MD5_NAME "DIGEST-MD5" extern Gsasl_mechanism gsasl_digest_md5_mechanism; extern int _gsasl_digest_md5_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_digest_md5_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_digest_md5_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_digest_md5_client_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_digest_md5_client_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_digest_md5_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_digest_md5_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_digest_md5_server_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_digest_md5_server_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_digest_md5_server_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); #endif /* DIGEST_MD5_H */ gsasl-1.8.1/lib/digest-md5/validate.h0000644000000000000000000000251013516252320014170 00000000000000/* validate.h --- Validate consistency of DIGEST-MD5 tokens. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_VALIDATE_H #define DIGEST_MD5_VALIDATE_H /* Get token types. */ #include "tokens.h" extern int digest_md5_validate_challenge (digest_md5_challenge * c); extern int digest_md5_validate_response (digest_md5_response * r); extern int digest_md5_validate_finish (digest_md5_finish * f); extern int digest_md5_validate (digest_md5_challenge * c, digest_md5_response * r); #endif /* DIGEST_MD5_VALIDATE_H */ gsasl-1.8.1/lib/digest-md5/parser.c0000644000000000000000000003434113516252320013675 00000000000000/* parser.c --- DIGEST-MD5 parser. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "parser.h" /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include /* Get validator. */ #include "validate.h" #define DEFAULT_CHARSET "utf-8" #define DEFAULT_ALGORITHM "md5-sess" enum { /* the order must match the following struct */ CHALLENGE_REALM = 0, CHALLENGE_NONCE, CHALLENGE_QOP, CHALLENGE_STALE, CHALLENGE_MAXBUF, CHALLENGE_CHARSET, CHALLENGE_ALGORITHM, CHALLENGE_CIPHER }; static const char *const digest_challenge_opts[] = { /* the order must match the previous enum */ "realm", "nonce", "qop", "stale", "maxbuf", "charset", "algorithm", "cipher", NULL }; /* qop-value = "auth" | "auth-int" | "auth-conf" | qop-token */ enum { /* the order must match the following struct */ QOP_AUTH = 0, QOP_AUTH_INT, QOP_AUTH_CONF }; static const char *const qop_opts[] = { /* the order must match the previous enum */ "auth", "auth-int", "auth-conf", NULL }; /* cipher-value = "3des" | "des" | "rc4-40" | "rc4" | * "rc4-56" | "aes-cbc" | cipher-token * ;; "des" and "3des" ciphers are obsolete. */ enum { /* the order must match the following struct */ CIPHER_DES = 0, CIPHER_3DES, CIPHER_RC4, CIPHER_RC4_40, CIPHER_RC4_56, CIPHER_AES_CBC }; static const char *const cipher_opts[] = { /* the order must match the previous enum */ "des", "3des", "rc4", "rc4-40", "rc4-56", "aes-cbc", NULL }; static int parse_challenge (char *challenge, digest_md5_challenge * out) { int done_algorithm = 0; int disable_qop_auth_conf = 0; char *value; memset (out, 0, sizeof (*out)); /* The size of a digest-challenge MUST be less than 2048 bytes. */ if (strlen (challenge) >= 2048) return -1; while (*challenge != '\0') switch (digest_md5_getsubopt (&challenge, digest_challenge_opts, &value)) { case CHALLENGE_REALM: { char **tmp; out->nrealms++; tmp = realloc (out->realms, out->nrealms * sizeof (*out->realms)); if (!tmp) return -1; out->realms = tmp; out->realms[out->nrealms - 1] = strdup (value); if (!out->realms[out->nrealms - 1]) return -1; } break; case CHALLENGE_NONCE: /* This directive is required and MUST appear exactly once; if not present, or if multiple instances are present, the client should abort the authentication exchange. */ if (out->nonce) return -1; out->nonce = strdup (value); if (!out->nonce) return -1; break; case CHALLENGE_QOP: /* <> */ if (out->qops) return -1; { char *subsubopts; char *val; subsubopts = value; while (*subsubopts != '\0') switch (digest_md5_getsubopt (&subsubopts, qop_opts, &val)) { case QOP_AUTH: out->qops |= DIGEST_MD5_QOP_AUTH; break; case QOP_AUTH_INT: out->qops |= DIGEST_MD5_QOP_AUTH_INT; break; case QOP_AUTH_CONF: out->qops |= DIGEST_MD5_QOP_AUTH_CONF; break; default: /* The client MUST ignore unrecognized options */ break; } } /* if the client recognizes no cipher, it MUST behave as if "auth-conf" qop option wasn't provided by the server. */ if (disable_qop_auth_conf) out->qops &= ~DIGEST_MD5_QOP_AUTH_CONF; /* if the client recognizes no option, it MUST abort the authentication exchange. */ if (!out->qops) return -1; break; case CHALLENGE_STALE: /* This directive may appear at most once; if multiple instances are present, the client MUST abort the authentication exchange. */ if (out->stale) return -1; out->stale = 1; break; case CHALLENGE_MAXBUF: /* This directive may appear at most once; if multiple instances are present, or the value is out of range the client MUST abort the authentication exchange. */ if (out->servermaxbuf) return -1; out->servermaxbuf = strtoul (value, NULL, 10); /* FIXME: error handling. */ /* The value MUST be bigger than 16 (32 for Confidentiality protection with the "aes-cbc" cipher) and smaller or equal to 16777215 (i.e. 2**24-1). */ if (out->servermaxbuf <= 16 || out->servermaxbuf > 16777215) return -1; break; case CHALLENGE_CHARSET: /* This directive may appear at most once; if multiple instances are present, the client MUST abort the authentication exchange. */ if (out->utf8) return -1; if (strcmp (DEFAULT_CHARSET, value) != 0) return -1; out->utf8 = 1; break; case CHALLENGE_ALGORITHM: /* This directive is required and MUST appear exactly once; if not present, or if multiple instances are present, the client SHOULD abort the authentication exchange. */ if (done_algorithm) return -1; if (strcmp (DEFAULT_ALGORITHM, value) != 0) return -1; done_algorithm = 1; break; case CHALLENGE_CIPHER: /* This directive must be present exactly once if "auth-conf" is offered in the "qop-options" directive */ if (out->ciphers) return -1; { char *subsubopts; char *val; subsubopts = value; while (*subsubopts != '\0') switch (digest_md5_getsubopt (&subsubopts, cipher_opts, &val)) { case CIPHER_DES: out->ciphers |= DIGEST_MD5_CIPHER_DES; break; case CIPHER_3DES: out->ciphers |= DIGEST_MD5_CIPHER_3DES; break; case CIPHER_RC4: out->ciphers |= DIGEST_MD5_CIPHER_RC4; break; case CIPHER_RC4_40: out->ciphers |= DIGEST_MD5_CIPHER_RC4_40; break; case CIPHER_RC4_56: out->ciphers |= DIGEST_MD5_CIPHER_RC4_56; break; case CIPHER_AES_CBC: out->ciphers |= DIGEST_MD5_CIPHER_AES_CBC; break; default: /* The client MUST ignore unrecognized ciphers */ break; } } /* if the client recognizes no cipher, it MUST behave as if "auth-conf" qop option wasn't provided by the server. */ if (!out->ciphers) { disable_qop_auth_conf = 1; if (out->qops) { /* if the client recognizes no option, it MUST abort the authentication exchange. */ out->qops &= ~DIGEST_MD5_QOP_AUTH_CONF; if (!out->qops) return -1; } } break; default: /* The client MUST ignore any unrecognized directives. */ break; } /* This directive is required and MUST appear exactly once; if not present, or if multiple instances are present, the client SHOULD abort the authentication exchange. */ if (!done_algorithm) return -1; /* Validate that we have the mandatory fields. */ if (digest_md5_validate_challenge (out) != 0) return -1; return 0; } enum { /* the order must match the following struct */ RESPONSE_USERNAME = 0, RESPONSE_REALM, RESPONSE_NONCE, RESPONSE_CNONCE, RESPONSE_NC, RESPONSE_QOP, RESPONSE_DIGEST_URI, RESPONSE_RESPONSE, RESPONSE_MAXBUF, RESPONSE_CHARSET, RESPONSE_CIPHER, RESPONSE_AUTHZID }; static const char *const digest_response_opts[] = { /* the order must match the previous enum */ "username", "realm", "nonce", "cnonce", "nc", "qop", "digest-uri", "response", "maxbuf", "charset", "cipher", "authzid", NULL }; static int parse_response (char *response, digest_md5_response * out) { char *value; memset (out, 0, sizeof (*out)); /* The size of a digest-response MUST be less than 4096 bytes. */ if (strlen (response) >= 4096) return -1; while (*response != '\0') switch (digest_md5_getsubopt (&response, digest_response_opts, &value)) { case RESPONSE_USERNAME: /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (out->username) return -1; out->username = strdup (value); if (!out->username) return -1; break; case RESPONSE_REALM: /* This directive is required if the server provided any realms in the "digest-challenge", in which case it may appear exactly once and its value SHOULD be one of those realms. */ if (out->realm) return -1; out->realm = strdup (value); if (!out->realm) return -1; break; case RESPONSE_NONCE: /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (out->nonce) return -1; out->nonce = strdup (value); if (!out->nonce) return -1; break; case RESPONSE_CNONCE: /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (out->cnonce) return -1; out->cnonce = strdup (value); if (!out->cnonce) return -1; break; case RESPONSE_NC: /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (out->nc) return -1; /* nc-value = 8LHEX */ if (strlen (value) != 8) return -1; out->nc = strtoul (value, NULL, 16); /* FIXME: error handling. */ break; case RESPONSE_QOP: /* If present, it may appear exactly once and its value MUST be one of the alternatives in qop-options. */ if (out->qop) return -1; if (strcmp (value, "auth") == 0) out->qop = DIGEST_MD5_QOP_AUTH; else if (strcmp (value, "auth-int") == 0) out->qop = DIGEST_MD5_QOP_AUTH_INT; else if (strcmp (value, "auth-conf") == 0) out->qop = DIGEST_MD5_QOP_AUTH_CONF; else return -1; break; case RESPONSE_DIGEST_URI: /* This directive is required and MUST be present exactly once; if multiple instances are present, the client MUST abort the authentication exchange. */ if (out->digesturi) return -1; /* FIXME: sub-parse. */ out->digesturi = strdup (value); if (!out->digesturi) return -1; break; case RESPONSE_RESPONSE: /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (*out->response) return -1; /* A string of 32 hex digits */ if (strlen (value) != DIGEST_MD5_RESPONSE_LENGTH) return -1; strcpy (out->response, value); break; case RESPONSE_MAXBUF: /* This directive may appear at most once; if multiple instances are present, the server MUST abort the authentication exchange. */ if (out->clientmaxbuf) return -1; out->clientmaxbuf = strtoul (value, NULL, 10); /* FIXME: error handling. */ /* If the value is less or equal to 16 (<<32 for aes-cbc>>) or bigger than 16777215 (i.e. 2**24-1), the server MUST abort the authentication exchange. */ if (out->clientmaxbuf <= 16 || out->clientmaxbuf > 16777215) return -1; break; case RESPONSE_CHARSET: if (strcmp (DEFAULT_CHARSET, value) != 0) return -1; out->utf8 = 1; break; case RESPONSE_CIPHER: if (out->cipher) return -1; if (strcmp (value, "3des") == 0) out->cipher = DIGEST_MD5_CIPHER_3DES; else if (strcmp (value, "des") == 0) out->cipher = DIGEST_MD5_CIPHER_DES; else if (strcmp (value, "rc4-40") == 0) out->cipher = DIGEST_MD5_CIPHER_RC4_40; else if (strcmp (value, "rc4") == 0) out->cipher = DIGEST_MD5_CIPHER_RC4; else if (strcmp (value, "rc4-56") == 0) out->cipher = DIGEST_MD5_CIPHER_RC4_56; else if (strcmp (value, "aes-cbc") == 0) out->cipher = DIGEST_MD5_CIPHER_AES_CBC; else return -1; break; case RESPONSE_AUTHZID: /* This directive may appear at most once; if multiple instances are present, the server MUST abort the authentication exchange. <> */ if (out->authzid) return -1; /* The authzid MUST NOT be an empty string. */ if (*value == '\0') return -1; out->authzid = strdup (value); if (!out->authzid) return -1; break; default: /* The client MUST ignore any unrecognized directives. */ break; } /* Validate that we have the mandatory fields. */ if (digest_md5_validate_response (out) != 0) return -1; return 0; } enum { /* the order must match the following struct */ RESPONSEAUTH_RSPAUTH = 0 }; static const char *const digest_responseauth_opts[] = { /* the order must match the previous enum */ "rspauth", NULL }; static int parse_finish (char *finish, digest_md5_finish * out) { char *value; memset (out, 0, sizeof (*out)); /* The size of a response-auth MUST be less than 2048 bytes. */ if (strlen (finish) >= 2048) return -1; while (*finish != '\0') switch (digest_md5_getsubopt (&finish, digest_responseauth_opts, &value)) { case RESPONSEAUTH_RSPAUTH: if (*out->rspauth) return -1; /* A string of 32 hex digits */ if (strlen (value) != DIGEST_MD5_RESPONSE_LENGTH) return -1; strcpy (out->rspauth, value); break; default: /* The client MUST ignore any unrecognized directives. */ break; } /* Validate that we have the mandatory fields. */ if (digest_md5_validate_finish (out) != 0) return -1; return 0; } int digest_md5_parse_challenge (const char *challenge, size_t len, digest_md5_challenge * out) { char *subopts = len ? strndup (challenge, len) : strdup (challenge); int rc; if (!subopts) return -1; rc = parse_challenge (subopts, out); free (subopts); return rc; } int digest_md5_parse_response (const char *response, size_t len, digest_md5_response * out) { char *subopts = len ? strndup (response, len) : strdup (response); int rc; if (!subopts) return -1; rc = parse_response (subopts, out); free (subopts); return rc; } int digest_md5_parse_finish (const char *finish, size_t len, digest_md5_finish * out) { char *subopts = len ? strndup (finish, len) : strdup (finish); int rc; if (!subopts) return -1; rc = parse_finish (subopts, out); free (subopts); return rc; } gsasl-1.8.1/lib/digest-md5/tokens.h0000644000000000000000000001143013516252320013703 00000000000000/* tokens.h --- Types for DIGEST-MD5 tokens. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_TOKENS_H #define DIGEST_MD5_TOKENS_H /* Get size_t. */ #include /* Length of MD5 output. */ #define DIGEST_MD5_LENGTH 16 /* Quality of Protection types. */ enum digest_md5_qop { DIGEST_MD5_QOP_AUTH = 1, DIGEST_MD5_QOP_AUTH_INT = 2, DIGEST_MD5_QOP_AUTH_CONF = 4 }; typedef enum digest_md5_qop digest_md5_qop; /* Cipher types. */ enum digest_md5_cipher { DIGEST_MD5_CIPHER_DES = 1, DIGEST_MD5_CIPHER_3DES = 2, DIGEST_MD5_CIPHER_RC4 = 4, DIGEST_MD5_CIPHER_RC4_40 = 8, DIGEST_MD5_CIPHER_RC4_56 = 16, DIGEST_MD5_CIPHER_AES_CBC = 32 }; typedef enum digest_md5_cipher digest_md5_cipher; /* * digest-challenge = * 1#( realm | nonce | qop-options | stale | server_maxbuf | charset * algorithm | cipher-opts | auth-param ) * * realm = "realm" "=" <"> realm-value <"> * realm-value = qdstr-val * nonce = "nonce" "=" <"> nonce-value <"> * nonce-value = *qdtext * qop-options = "qop" "=" <"> qop-list <"> * qop-list = 1#qop-value * qop-value = "auth" | "auth-int" | "auth-conf" | qop-token * ;; qop-token is reserved for identifying future * ;; extensions to DIGEST-MD5 * qop-token = token * stale = "stale" "=" "true" * server_maxbuf = "maxbuf" "=" maxbuf-value * maxbuf-value = 1*DIGIT * charset = "charset" "=" "utf-8" * algorithm = "algorithm" "=" "md5-sess" * cipher-opts = "cipher" "=" <"> 1#cipher-value <"> * cipher-value = "3des" | "des" | "rc4-40" | "rc4" | * "rc4-56" | "aes-cbc" | cipher-token * ;; "des" and "3des" ciphers are obsolete. * ;; cipher-token is reserved for new ciphersuites * cipher-token = token * auth-param = token "=" ( token | quoted-string ) * */ struct digest_md5_challenge { size_t nrealms; char **realms; char *nonce; int qops; int stale; unsigned long servermaxbuf; int utf8; int ciphers; }; typedef struct digest_md5_challenge digest_md5_challenge; #define DIGEST_MD5_RESPONSE_LENGTH 32 /* * digest-response = 1#( username | realm | nonce | cnonce | * nonce-count | qop | digest-uri | response | * client_maxbuf | charset | cipher | authzid | * auth-param ) * * username = "username" "=" <"> username-value <"> * username-value = qdstr-val * cnonce = "cnonce" "=" <"> cnonce-value <"> * cnonce-value = *qdtext * nonce-count = "nc" "=" nc-value * nc-value = 8LHEX * client_maxbuf = "maxbuf" "=" maxbuf-value * qop = "qop" "=" qop-value * digest-uri = "digest-uri" "=" <"> digest-uri-value <"> * digest-uri-value = serv-type "/" host [ "/" serv-name ] * serv-type = 1*ALPHA * serv-name = host * response = "response" "=" response-value * response-value = 32LHEX * LHEX = "0" | "1" | "2" | "3" | * "4" | "5" | "6" | "7" | * "8" | "9" | "a" | "b" | * "c" | "d" | "e" | "f" * cipher = "cipher" "=" cipher-value * authzid = "authzid" "=" <"> authzid-value <"> * authzid-value = qdstr-val * */ struct digest_md5_response { char *username; char *realm; char *nonce; char *cnonce; unsigned long nc; digest_md5_qop qop; char *digesturi; unsigned long clientmaxbuf; int utf8; digest_md5_cipher cipher; char *authzid; char response[DIGEST_MD5_RESPONSE_LENGTH + 1]; }; typedef struct digest_md5_response digest_md5_response; /* * response-auth = "rspauth" "=" response-value */ struct digest_md5_finish { char rspauth[DIGEST_MD5_RESPONSE_LENGTH + 1]; }; typedef struct digest_md5_finish digest_md5_finish; #endif /* DIGEST_MD5_TOKENS_H */ gsasl-1.8.1/lib/digest-md5/validate.c0000644000000000000000000000741113516252320014170 00000000000000/* validate.c --- Validate consistency of DIGEST-MD5 tokens. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "validate.h" /* Get strcmp, strlen. */ #include int digest_md5_validate_challenge (digest_md5_challenge * c) { /* This directive is required and MUST appear exactly once; if not present, or if multiple instances are present, the client should abort the authentication exchange. */ if (!c->nonce) return -1; /* This directive must be present exactly once if "auth-conf" is offered in the "qop-options" directive */ if (c->ciphers && !(c->qops & DIGEST_MD5_QOP_AUTH_CONF)) return -1; if (!c->ciphers && (c->qops & DIGEST_MD5_QOP_AUTH_CONF)) return -1; return 0; } int digest_md5_validate_response (digest_md5_response * r) { /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (!r->username) return -1; /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (!r->nonce) return -1; /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (!r->cnonce) return -1; /* This directive is required and MUST be present exactly once; otherwise, or if the value is 0, authentication fails. */ if (!r->nc) return -1; /* This directive is required and MUST be present exactly once; if multiple instances are present, the client MUST abort the authentication exchange. */ if (!r->digesturi) return -1; /* This directive is required and MUST be present exactly once; otherwise, authentication fails. */ if (!*r->response) return -1; if (strlen (r->response) != DIGEST_MD5_RESPONSE_LENGTH) return -1; /* This directive MUST appear exactly once if "auth-conf" is negotiated; if required and not present, authentication fails. If the client recognizes no cipher and the server only advertised "auth-conf" in the qop option, the client MUST abort the authentication exchange. */ if (r->qop == DIGEST_MD5_QOP_AUTH_CONF && !r->cipher) return -1; if (r->qop != DIGEST_MD5_QOP_AUTH_CONF && r->cipher) return -1; return 0; } int digest_md5_validate_finish (digest_md5_finish * f) { if (!f->rspauth) return -1; /* A string of 32 hex digits */ if (strlen (f->rspauth) != DIGEST_MD5_RESPONSE_LENGTH) return -1; return 0; } int digest_md5_validate (digest_md5_challenge * c, digest_md5_response * r) { if (!c->nonce || !r->nonce) return -1; if (strcmp (c->nonce, r->nonce) != 0) return -1; if (r->nc != 1) return -1; if (!c->utf8 && r->utf8) return -1; if (!((c->qops ? c->qops : DIGEST_MD5_QOP_AUTH) & (r->qop ? r->qop : DIGEST_MD5_QOP_AUTH))) return -1; if ((r->qop & DIGEST_MD5_QOP_AUTH_CONF) && !(c->ciphers & r->cipher)) return -1; /* FIXME: Check more? */ return 0; } gsasl-1.8.1/lib/digest-md5/digesthmac.h0000644000000000000000000000427513516252320014521 00000000000000/* digesthmac.h --- Compute DIGEST-MD5 response value. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_DIGESTHMAC_H #define DIGEST_MD5_DIGESTHMAC_H /* Get token types. */ #include "tokens.h" /* Compute in 33 bytes large array OUTPUT the DIGEST-MD5 response value. SECRET holds the 16 bytes MD5 hash SS, i.e., H(username:realm:passwd). NONCE is a zero terminated string with the server nonce. NC is the nonce-count, typically 1 for initial authentication. CNONCE is a zero terminated string with the client nonce. QOP is the quality of protection to use. AUTHZID is a zero terminated string with the authorization identity. DIGESTURI is a zero terminated string with the server principal (e.g., imap/mail.example.org). RSPAUTH is a boolean which indicate whether to compute a value for the RSPAUTH response or the "real" authentication. CIPHER is the cipher to use. KIC, KIS, KCC, KCS are either NULL, or points to 16 byte arrays that will hold the computed keys on output. Returns 0 on success. */ extern int digest_md5_hmac (char *output, char secret[DIGEST_MD5_LENGTH], const char *nonce, unsigned long nc, const char *cnonce, digest_md5_qop qop, const char *authzid, const char *digesturi, int rspauth, digest_md5_cipher cipher, char *kic, char *kis, char *kcc, char *kcs); #endif /* DIGEST_MD5_DIGESTHMAC_H */ gsasl-1.8.1/lib/digest-md5/Makefile.am0000644000000000000000000000302213516252320014261 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl EXTRA_DIST = README noinst_LTLIBRARIES = libgsasl-digest_md5.la libgsasl_digest_md5_la_SOURCES = digest-md5.h mechinfo.c \ session.h session.c \ getsubopt.c \ tokens.h \ digesthmac.h digesthmac.c \ validate.h validate.c \ parser.h parser.c \ printer.h printer.c \ free.h free.c \ nonascii.h nonascii.c \ qop.h qop.c if CLIENT libgsasl_digest_md5_la_SOURCES += client.c endif if SERVER libgsasl_digest_md5_la_SOURCES += server.c endif LDADD = libgsasl-digest_md5.la ../gl/libgl.la ctests = test-parser TESTS = $(ctests) check_PROGRAMS = $(ctests) gsasl-1.8.1/lib/digest-md5/free.h0000644000000000000000000000233713516252320013327 00000000000000/* free.h --- Free allocated data in DIGEST-MD5 token structures. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_FREE_H #define DIGEST_MD5_FREE_H /* Get token types. */ #include "tokens.h" extern void digest_md5_free_challenge (digest_md5_challenge * c); extern void digest_md5_free_response (digest_md5_response * r); extern void digest_md5_free_finish (digest_md5_finish * f); #endif /* DIGEST_MD5_FREE_H */ gsasl-1.8.1/lib/digest-md5/test-parser.c0000644000000000000000000001256513516324507014665 00000000000000/* test-parser.c --- Self tests of DIGEST-MD5 parser & printer. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include "parser.h" #include "printer.h" #include "digesthmac.h" #include "gc.h" int main (int argc, char *argv[]) { digest_md5_challenge c; digest_md5_response r; digest_md5_finish f; char buf32[33]; char buf16[16]; int rc; char *tmp; { const char *token = "nonce=4711, foo=bar, algorithm=md5-sess"; printf ("challenge `%s': ", token); rc = digest_md5_parse_challenge (token, 0, &c); if (rc != 0) abort (); printf ("nonce `%s': %s", c.nonce, strcmp ("4711", c.nonce) == 0 ? "PASS" : "FAILURE"); printf ("\n"); tmp = digest_md5_print_challenge (&c); if (!tmp) abort (); printf ("printed `%s' PASS\n", tmp); free (tmp); } { const char *token = "qop=\"auth, auth-conf\", nonce=42, algorithm=md5-sess"; printf ("challenge `%s': ", token); rc = digest_md5_parse_challenge (token, 0, &c); if (rc == 0) abort (); printf ("PASS\n"); } { const char *token = "cipher=\"des\", nonce=42, algorithm=md5-sess"; printf ("challenge `%s': ", token); rc = digest_md5_parse_challenge (token, 0, &c); if (rc == 0) abort (); printf ("PASS\n"); } { const char *token = "qop=\"auth, auth-conf\", nonce=42, " "algorithm=md5-sess, cipher=\"des\""; printf ("challenge `%s': ", token); rc = digest_md5_parse_challenge (token, 0, &c); if (rc != 0) abort (); printf ("qop %02x ciphers %02x: %s\n", c.qops, c.ciphers, (c.qops == 5 && c.ciphers == 1) ? "PASS" : "FAILURE"); tmp = digest_md5_print_challenge (&c); if (!tmp) abort (); printf ("printed `%s' PASS\n", tmp); free (tmp); } { const char *token = "bar=foo, foo=bar"; printf ("challenge `%s': ", token); rc = digest_md5_parse_challenge (token, 0, &c); if (rc == 0) abort (); printf ("PASS\n"); } { const char *token = "realm=foo, realm=bar, nonce=42, algorithm=md5-sess"; printf ("challenge `%s': ", token); rc = digest_md5_parse_challenge (token, 0, &c); if (rc != 0) abort (); if (c.nrealms != 2) abort (); printf ("realms `%s', `%s': PASS\n", c.realms[0], c.realms[1]); tmp = digest_md5_print_challenge (&c); if (!tmp) abort (); printf ("printed `%s' PASS\n", tmp); free (tmp); } /* Response */ { const char *token = "bar=foo, foo=bar"; printf ("response `%s': ", token); rc = digest_md5_parse_response (token, 0, &r); if (rc == 0) abort (); printf ("PASS\n"); } { const char *token = "username=jas, nonce=42, cnonce=4711, nc=00000001, " "digest-uri=foo, response=01234567890123456789012345678901"; printf ("response `%s': ", token); rc = digest_md5_parse_response (token, 0, &r); if (rc != 0) abort (); printf ("username `%s', nonce `%s', cnonce `%s'," " nc %08lx, digest-uri `%s', response `%s': PASS\n", r.username, r.nonce, r.cnonce, r.nc, r.digesturi, r.response); tmp = digest_md5_print_response (&r); if (!tmp) abort (); printf ("printed `%s' PASS\n", tmp); free (tmp); } /* Auth-response, finish. */ { const char *token = "rspauth=\"6a204da26b9888ee40bb3052ff056a67\""; printf ("finish `%s': ", token); rc = digest_md5_parse_finish (token, 0, &f); if (rc != 0) abort (); printf ("`%s'? %s\n", f.rspauth, strcmp ("6a204da26b9888ee40bb3052ff056a67", f.rspauth) == 0 ? "ok" : "FAILURE"); } { const char *token = "bar=foo, foo=bar"; printf ("finish `%s': ", token); rc = digest_md5_parse_finish (token, 0, &f); if (rc == 0) abort (); printf ("invalid? PASS\n"); } rc = gc_init (); if (rc != 0) { printf ("gc_init error %d\n", rc); abort (); } memset (buf16, 'Q', 16); rc = digest_md5_hmac (buf32, buf16, "nonce", 1, "cnonce", DIGEST_MD5_QOP_AUTH, "authzid", "digesturi", 1, 0, NULL, NULL, NULL, NULL); if (rc != 0) abort (); buf32[32] = '\0'; if (strcmp (buf32, "6a204da26b9888ee40bb3052ff056a67") != 0) abort (); printf ("digest: `%s': PASS\n", buf32); rc = digest_md5_hmac (buf32, buf16, "nonce", 1, "cnonce", DIGEST_MD5_QOP_AUTH, "authzid", "digesturi", 0, 0, NULL, NULL, NULL, NULL); if (rc != 0) abort (); buf32[32] = '\0'; if (strcmp (buf32, "6c1f58bfa46e9c225b93745c84204efd") != 0) abort (); printf ("digest: `%s': PASS\n", buf32); return 0; } gsasl-1.8.1/lib/digest-md5/server.c0000644000000000000000000002272213516252320013707 00000000000000/* server.c --- DIGEST-MD5 mechanism from RFC 2831, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "digest-md5.h" /* Get malloc, free. */ #include /* Get memcpy, strdup, strlen. */ #include /* Get tools. */ #include "nonascii.h" #include "tokens.h" #include "parser.h" #include "printer.h" #include "free.h" #include "session.h" #include "digesthmac.h" #include "validate.h" #include "qop.h" #define NONCE_ENTROPY_BYTES 16 struct _Gsasl_digest_md5_server_state { int step; unsigned long readseqnum, sendseqnum; char secret[DIGEST_MD5_LENGTH]; char kic[DIGEST_MD5_LENGTH]; char kcc[DIGEST_MD5_LENGTH]; char kis[DIGEST_MD5_LENGTH]; char kcs[DIGEST_MD5_LENGTH]; digest_md5_challenge challenge; digest_md5_response response; digest_md5_finish finish; }; typedef struct _Gsasl_digest_md5_server_state _Gsasl_digest_md5_server_state; int _gsasl_digest_md5_server_start (Gsasl_session * sctx, void **mech_data) { _Gsasl_digest_md5_server_state *state; char nonce[NONCE_ENTROPY_BYTES]; char *p; int rc; rc = gsasl_nonce (nonce, NONCE_ENTROPY_BYTES); if (rc != GSASL_OK) return rc; rc = gsasl_base64_to (nonce, NONCE_ENTROPY_BYTES, &p, NULL); if (rc != GSASL_OK) return rc; state = calloc (1, sizeof (*state)); if (state == NULL) { free (p); return GSASL_MALLOC_ERROR; } state->challenge.qops = DIGEST_MD5_QOP_AUTH; state->challenge.ciphers = 0; state->challenge.nonce = p; state->challenge.utf8 = 1; *mech_data = state; return GSASL_OK; } static char _gsasl_digest_md5_hexdigit_to_char (char hexdigit) { /* The hex representation always contains lowercase alphabetic characters. See RFC 2831, 1.1. */ if (hexdigit >= '0' && hexdigit <= '9') return hexdigit - '0'; if (hexdigit >= 'a' && hexdigit <= 'z') return hexdigit - 'a' + 10; return -1; } static char _gsasl_digest_md5_hex_to_char (char u, char l) { return (char) (((unsigned char) _gsasl_digest_md5_hexdigit_to_char (u)) * 16 + _gsasl_digest_md5_hexdigit_to_char (l)); } static int _gsasl_digest_md5_set_hashed_secret (char *secret, const char *hex_secret) { /* Convert the hex string containing the secret to a byte array */ const char *p; char *s; if (!hex_secret) return GSASL_AUTHENTICATION_ERROR; s = secret; p = hex_secret; while (*p) { *s = _gsasl_digest_md5_hex_to_char (p[0], p[1]); s++; p += 2; } return GSASL_OK; } int _gsasl_digest_md5_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_digest_md5_server_state *state = mech_data; int rc, res; *output = NULL; *output_len = 0; switch (state->step) { case 0: /* Set realm. */ { const char *c; c = gsasl_property_get (sctx, GSASL_REALM); if (c) { state->challenge.nrealms = 1; state->challenge.realms = malloc (sizeof (*state->challenge.realms)); if (!state->challenge.realms) return GSASL_MALLOC_ERROR; state->challenge.realms[0] = strdup (c); if (!state->challenge.realms[0]) return GSASL_MALLOC_ERROR; } } /* Set QOP */ { const char *qopstr = gsasl_property_get (sctx, GSASL_QOPS); if (qopstr) { int qops = digest_md5_qopstr2qops (qopstr); if (qops == -1) return GSASL_MALLOC_ERROR; /* We don't support confidentiality right now. */ if (qops & DIGEST_MD5_QOP_AUTH_CONF) return GSASL_AUTHENTICATION_ERROR; if (qops) state->challenge.qops = qops; } } /* FIXME: cipher, maxbuf, more realms. */ /* Create challenge. */ *output = digest_md5_print_challenge (&state->challenge); if (!*output) return GSASL_AUTHENTICATION_ERROR; *output_len = strlen (*output); state->step++; res = GSASL_NEEDS_MORE; break; case 1: if (digest_md5_parse_response (input, input_len, &state->response) < 0) return GSASL_MECHANISM_PARSE_ERROR; /* Make sure response is consistent with challenge. */ if (digest_md5_validate (&state->challenge, &state->response) < 0) return GSASL_MECHANISM_PARSE_ERROR; /* Store properties, from the client response. */ if (state->response.utf8) { gsasl_property_set (sctx, GSASL_AUTHID, state->response.username); gsasl_property_set (sctx, GSASL_REALM, state->response.realm); } else { /* Client provided username/realm in ISO-8859-1 form, convert it to UTF-8 since the library is all-UTF-8. */ char *tmp; tmp = latin1toutf8 (state->response.username); if (!tmp) return GSASL_MALLOC_ERROR; gsasl_property_set (sctx, GSASL_AUTHID, tmp); free (tmp); tmp = latin1toutf8 (state->response.realm); if (!tmp) return GSASL_MALLOC_ERROR; gsasl_property_set (sctx, GSASL_REALM, tmp); free (tmp); } gsasl_property_set (sctx, GSASL_AUTHZID, state->response.authzid); /* FIXME: cipher, maxbuf. */ /* Compute secret. */ { const char *passwd; const char *hashed_passwd; hashed_passwd = gsasl_property_get (sctx, GSASL_DIGEST_MD5_HASHED_PASSWORD); if (hashed_passwd) { if (strlen (hashed_passwd) != (DIGEST_MD5_LENGTH * 2)) return GSASL_AUTHENTICATION_ERROR; rc = _gsasl_digest_md5_set_hashed_secret (state->secret, hashed_passwd); if (rc != GSASL_OK) return rc; } else if ((passwd = gsasl_property_get (sctx, GSASL_PASSWORD)) != NULL) { char *tmp, *tmp2; tmp2 = utf8tolatin1ifpossible (passwd); rc = asprintf (&tmp, "%s:%s:%s", state->response.username, state->response.realm ? state->response.realm : "", tmp2); free (tmp2); if (rc < 0) return GSASL_MALLOC_ERROR; rc = gsasl_md5 (tmp, strlen (tmp), &tmp2); free (tmp); if (rc != GSASL_OK) return rc; memcpy (state->secret, tmp2, DIGEST_MD5_LENGTH); free (tmp2); } else { return GSASL_NO_PASSWORD; } } /* Check client response. */ { char check[DIGEST_MD5_RESPONSE_LENGTH + 1]; rc = digest_md5_hmac (check, state->secret, state->response.nonce, state->response.nc, state->response.cnonce, state->response.qop, state->response.authzid, state->response.digesturi, 0, state->response.cipher, state->kic, state->kis, state->kcc, state->kcs); if (rc) return GSASL_AUTHENTICATION_ERROR; if (strcmp (state->response.response, check) != 0) return GSASL_AUTHENTICATION_ERROR; } /* Create finish token. */ rc = digest_md5_hmac (state->finish.rspauth, state->secret, state->response.nonce, state->response.nc, state->response.cnonce, state->response.qop, state->response.authzid, state->response.digesturi, 1, state->response.cipher, NULL, NULL, NULL, NULL); if (rc) return GSASL_AUTHENTICATION_ERROR; *output = digest_md5_print_finish (&state->finish); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (*output); state->step++; res = GSASL_OK; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_digest_md5_server_finish (Gsasl_session * sctx, void *mech_data) { _Gsasl_digest_md5_server_state *state = mech_data; if (!state) return; digest_md5_free_challenge (&state->challenge); digest_md5_free_response (&state->response); digest_md5_free_finish (&state->finish); free (state); } int _gsasl_digest_md5_server_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_digest_md5_server_state *state = mech_data; int res; res = digest_md5_encode (input, input_len, output, output_len, state->response.qop, state->sendseqnum, state->kis); if (res) return res == -2 ? GSASL_NEEDS_MORE : GSASL_INTEGRITY_ERROR; if (state->sendseqnum == 4294967295UL) state->sendseqnum = 0; else state->sendseqnum++; return GSASL_OK; } int _gsasl_digest_md5_server_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_digest_md5_server_state *state = mech_data; int res; res = digest_md5_decode (input, input_len, output, output_len, state->response.qop, state->readseqnum, state->kic); if (res) return res == -2 ? GSASL_NEEDS_MORE : GSASL_INTEGRITY_ERROR; if (state->readseqnum == 4294967295UL) state->readseqnum = 0; else state->readseqnum++; return GSASL_OK; } gsasl-1.8.1/lib/digest-md5/qop.c0000644000000000000000000000441613516252320013200 00000000000000/* qop.c --- DIGEST-MD5 QOP handling. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "qop.h" #include "tokens.h" #include "parser.h" #include #include int digest_md5_qopstr2qops (const char *qopstr) { int qops = 0; enum { /* the order must match the following struct */ QOP_AUTH = 0, QOP_AUTH_INT, QOP_AUTH_CONF }; const char *const qop_opts[] = { /* the order must match the previous enum */ "qop-auth", "qop-int", "qop-conf", NULL }; char *subsubopts; char *val; char *qopdup; if (!qopstr) return 0; qopdup = strdup (qopstr); if (!qopdup) return -1; subsubopts = qopdup; while (*subsubopts != '\0') switch (digest_md5_getsubopt (&subsubopts, qop_opts, &val)) { case QOP_AUTH: qops |= DIGEST_MD5_QOP_AUTH; break; case QOP_AUTH_INT: qops |= DIGEST_MD5_QOP_AUTH_INT; break; case QOP_AUTH_CONF: qops |= DIGEST_MD5_QOP_AUTH_CONF; break; default: /* ignore unrecognized options */ break; } free (qopdup); return qops; } const char * digest_md5_qops2qopstr (int qops) { const char *qopstr[] = { /* 0 */ "qop-auth", /* 1 */ "qop-auth", /* 2 */ "qop-int", /* 3 */ "qop-auth, qop-int", /* 4 */ "qop-conf", /* 5 */ "qop-auth, qop-conf", /* 6 */ "qop-int, qop-conf", /* 7 */ "qop-auth, qop-int, qop-conf" }; return qopstr[qops & 0x07]; } gsasl-1.8.1/lib/digest-md5/session.c0000644000000000000000000001233513516252320014063 00000000000000/* session.c --- Data integrity/privacy protection of DIGEST-MD5. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "session.h" /* Get malloc, free. */ #include /* Get memcpy, strdup, strlen. */ #include /* Get gc_hmac_md5. */ #include #define MD5LEN 16 #define SASL_INTEGRITY_PREFIX_LENGTH 4 #define MAC_DATA_LEN 4 #define MAC_HMAC_LEN 10 #define MAC_MSG_TYPE "\x00\x01" #define MAC_MSG_TYPE_LEN 2 #define MAC_SEQNUM_LEN 4 int digest_md5_encode (const char *input, size_t input_len, char **output, size_t * output_len, digest_md5_qop qop, unsigned long sendseqnum, char key[DIGEST_MD5_LENGTH]) { int res; if (qop & DIGEST_MD5_QOP_AUTH_CONF) { return -1; } else if (qop & DIGEST_MD5_QOP_AUTH_INT) { char *seqnumin; char hash[GC_MD5_DIGEST_SIZE]; size_t len; seqnumin = malloc (MAC_SEQNUM_LEN + input_len); if (seqnumin == NULL) return -1; seqnumin[0] = (sendseqnum >> 24) & 0xFF; seqnumin[1] = (sendseqnum >> 16) & 0xFF; seqnumin[2] = (sendseqnum >> 8) & 0xFF; seqnumin[3] = sendseqnum & 0xFF; memcpy (seqnumin + MAC_SEQNUM_LEN, input, input_len); res = gc_hmac_md5 (key, MD5LEN, seqnumin, MAC_SEQNUM_LEN + input_len, hash); free (seqnumin); if (res) return -1; *output_len = MAC_DATA_LEN + input_len + MAC_HMAC_LEN + MAC_MSG_TYPE_LEN + MAC_SEQNUM_LEN; *output = malloc (*output_len); if (!*output) return -1; len = MAC_DATA_LEN; memcpy (*output + len, input, input_len); len += input_len; memcpy (*output + len, hash, MAC_HMAC_LEN); len += MAC_HMAC_LEN; memcpy (*output + len, MAC_MSG_TYPE, MAC_MSG_TYPE_LEN); len += MAC_MSG_TYPE_LEN; (*output + len)[0] = (sendseqnum >> 24) & 0xFF; (*output + len)[1] = (sendseqnum >> 16) & 0xFF; (*output + len)[2] = (sendseqnum >> 8) & 0xFF; (*output + len)[3] = sendseqnum & 0xFF; len += MAC_SEQNUM_LEN; (*output)[0] = ((len - MAC_DATA_LEN) >> 24) & 0xFF; (*output)[1] = ((len - MAC_DATA_LEN) >> 16) & 0xFF; (*output)[2] = ((len - MAC_DATA_LEN) >> 8) & 0xFF; (*output)[3] = (len - MAC_DATA_LEN) & 0xFF; } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return -1; memcpy (*output, input, input_len); } return 0; } #define C2I(buf) ((buf[3] & 0xFF) | \ ((buf[2] & 0xFF) << 8) | \ ((buf[1] & 0xFF) << 16) | \ ((buf[0] & 0xFF) << 24)) int digest_md5_decode (const char *input, size_t input_len, char **output, size_t * output_len, digest_md5_qop qop, unsigned long readseqnum, char key[DIGEST_MD5_LENGTH]) { if (qop & DIGEST_MD5_QOP_AUTH_CONF) { return -1; } else if (qop & DIGEST_MD5_QOP_AUTH_INT) { char *seqnumin; char hash[GC_MD5_DIGEST_SIZE]; unsigned long len; char tmpbuf[SASL_INTEGRITY_PREFIX_LENGTH]; int res; if (input_len < SASL_INTEGRITY_PREFIX_LENGTH) return -2; len = C2I (input); if (input_len < SASL_INTEGRITY_PREFIX_LENGTH + len) return -2; len -= MAC_HMAC_LEN + MAC_MSG_TYPE_LEN + MAC_SEQNUM_LEN; seqnumin = malloc (SASL_INTEGRITY_PREFIX_LENGTH + len); if (seqnumin == NULL) return -1; tmpbuf[0] = (readseqnum >> 24) & 0xFF; tmpbuf[1] = (readseqnum >> 16) & 0xFF; tmpbuf[2] = (readseqnum >> 8) & 0xFF; tmpbuf[3] = readseqnum & 0xFF; memcpy (seqnumin, tmpbuf, SASL_INTEGRITY_PREFIX_LENGTH); memcpy (seqnumin + SASL_INTEGRITY_PREFIX_LENGTH, input + MAC_DATA_LEN, len); res = gc_hmac_md5 (key, MD5LEN, seqnumin, MAC_SEQNUM_LEN + len, hash); free (seqnumin); if (res) return -1; if (memcmp (hash, input + input_len - MAC_SEQNUM_LEN - MAC_MSG_TYPE_LEN - MAC_HMAC_LEN, MAC_HMAC_LEN) == 0 && memcmp (MAC_MSG_TYPE, input + input_len - MAC_SEQNUM_LEN - MAC_MSG_TYPE_LEN, MAC_MSG_TYPE_LEN) == 0 && memcmp (tmpbuf, input + input_len - MAC_SEQNUM_LEN, MAC_SEQNUM_LEN) == 0) { *output_len = len; *output = malloc (*output_len); if (!*output) return -1; memcpy (*output, input + MAC_DATA_LEN, len); } else return -1; } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return -1; memcpy (*output, input, input_len); } return 0; } gsasl-1.8.1/lib/digest-md5/session.h0000644000000000000000000000272713516252320014074 00000000000000/* session.h --- Data integrity/privacy protection of DIGEST-MD5. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_SESSION_H #define DIGEST_MD5_SESSION_H /* Get token types. */ #include "tokens.h" extern int digest_md5_encode (const char *input, size_t input_len, char **output, size_t * output_len, digest_md5_qop qop, unsigned long sendseqnum, char key[DIGEST_MD5_LENGTH]); extern int digest_md5_decode (const char *input, size_t input_len, char **output, size_t * output_len, digest_md5_qop qop, unsigned long readseqnum, char key[DIGEST_MD5_LENGTH]); #endif /* DIGEST_MD5_SESSION_H */ gsasl-1.8.1/lib/digest-md5/parser.h0000644000000000000000000000266013516252320013701 00000000000000/* parser.h --- DIGEST-MD5 parser. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_PARSER_H #define DIGEST_MD5_PARSER_H /* Get token types. */ #include "tokens.h" extern int digest_md5_getsubopt (char **optionp, const char *const *tokens, char **valuep); extern int digest_md5_parse_challenge (const char *challenge, size_t len, digest_md5_challenge * out); extern int digest_md5_parse_response (const char *response, size_t len, digest_md5_response * out); extern int digest_md5_parse_finish (const char *finish, size_t len, digest_md5_finish * out); #endif /* DIGEST_MD5_PARSER_H */ gsasl-1.8.1/lib/digest-md5/nonascii.h0000644000000000000000000000216113516252320014204 00000000000000/* nonascii.h --- Prototypes for UTF-8 vs Latin-1 conversion for DIGEST-MD5 * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_NONASCII_H #define DIGEST_MD5_NONASCII_H extern char *latin1toutf8 (const char *str); extern char *utf8tolatin1ifpossible (const char *passwd); #endif /* DIGEST_MD5_NONASCII_H */ gsasl-1.8.1/lib/digest-md5/mechinfo.c0000644000000000000000000000355013516252320014167 00000000000000/* mechinfo.c --- Definition of DIGEST-MD5 mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "digest-md5.h" Gsasl_mechanism gsasl_digest_md5_mechanism = { GSASL_DIGEST_MD5_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_digest_md5_client_start, #else NULL, #endif #ifdef USE_CLIENT _gsasl_digest_md5_client_step, #else NULL, #endif #ifdef USE_CLIENT _gsasl_digest_md5_client_finish, #else NULL, #endif #ifdef USE_CLIENT _gsasl_digest_md5_client_encode, #else NULL, #endif #ifdef USE_CLIENT _gsasl_digest_md5_client_decode #else NULL #endif } , { NULL, NULL, #ifdef USE_SERVER _gsasl_digest_md5_server_start, #else NULL, #endif #ifdef USE_SERVER _gsasl_digest_md5_server_step, #else NULL, #endif #ifdef USE_SERVER _gsasl_digest_md5_server_finish, #else NULL, #endif #ifdef USE_SERVER _gsasl_digest_md5_server_encode, #else NULL, #endif #ifdef USE_SERVER _gsasl_digest_md5_server_decode #else NULL #endif } }; gsasl-1.8.1/lib/digest-md5/Makefile.in0000644000000000000000000023334513521017117014306 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c TESTS = $(am__EXEEXT_1) check_PROGRAMS = $(am__EXEEXT_1) subdir = digest-md5 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__EXEEXT_1 = test-parser$(EXEEXT) LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_digest_md5_la_LIBADD = am__libgsasl_digest_md5_la_SOURCES_DIST = digest-md5.h mechinfo.c \ session.h session.c getsubopt.c tokens.h digesthmac.h \ digesthmac.c validate.h validate.c parser.h parser.c printer.h \ printer.c free.h free.c nonascii.h nonascii.c qop.h qop.c \ client.c server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_digest_md5_la_OBJECTS = mechinfo.lo session.lo \ getsubopt.lo digesthmac.lo validate.lo parser.lo printer.lo \ free.lo nonascii.lo qop.lo $(am__objects_1) $(am__objects_2) libgsasl_digest_md5_la_OBJECTS = $(am_libgsasl_digest_md5_la_OBJECTS) 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 = test_parser_SOURCES = test-parser.c test_parser_OBJECTS = test-parser.$(OBJEXT) test_parser_LDADD = $(LDADD) test_parser_DEPENDENCIES = libgsasl-digest_md5.la ../gl/libgl.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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo \ ./$(DEPDIR)/digesthmac.Plo ./$(DEPDIR)/free.Plo \ ./$(DEPDIR)/getsubopt.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/nonascii.Plo ./$(DEPDIR)/parser.Plo \ ./$(DEPDIR)/printer.Plo ./$(DEPDIR)/qop.Plo \ ./$(DEPDIR)/server.Plo ./$(DEPDIR)/session.Plo \ ./$(DEPDIR)/test-parser.Po ./$(DEPDIR)/validate.Plo 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 = $(libgsasl_digest_md5_la_SOURCES) test-parser.c DIST_SOURCES = $(am__libgsasl_digest_md5_la_SOURCES_DIST) \ test-parser.c 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)` ETAGS = etags CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } 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__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) AM_RECURSIVE_TARGETS = check recheck TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp \ $(top_srcdir)/build-aux/test-driver README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl EXTRA_DIST = README noinst_LTLIBRARIES = libgsasl-digest_md5.la libgsasl_digest_md5_la_SOURCES = digest-md5.h mechinfo.c session.h \ session.c getsubopt.c tokens.h digesthmac.h digesthmac.c \ validate.h validate.c parser.h parser.c printer.h printer.c \ free.h free.c nonascii.h nonascii.c qop.h qop.c \ $(am__append_1) $(am__append_2) LDADD = libgsasl-digest_md5.la ../gl/libgl.la ctests = test-parser all: all-am .SUFFIXES: .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs $(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 digest-md5/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu digest-md5/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): clean-checkPROGRAMS: @list='$(check_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-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-digest_md5.la: $(libgsasl_digest_md5_la_OBJECTS) $(libgsasl_digest_md5_la_DEPENDENCIES) $(EXTRA_libgsasl_digest_md5_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_digest_md5_la_OBJECTS) $(libgsasl_digest_md5_la_LIBADD) $(LIBS) test-parser$(EXEEXT): $(test_parser_OBJECTS) $(test_parser_DEPENDENCIES) $(EXTRA_test_parser_DEPENDENCIES) @rm -f test-parser$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_parser_OBJECTS) $(test_parser_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/digesthmac.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/free.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsubopt.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonascii.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printer.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qop.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/session.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-parser.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/validate.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: $(check_PROGRAMS) @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_PROGRAMS) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? test-parser.log: test-parser$(EXEEXT) @p='test-parser$(EXEEXT)'; \ b='test-parser'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 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 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: 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: -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) 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-checkPROGRAMS clean-generic clean-libtool \ clean-noinstLTLIBRARIES mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/digesthmac.Plo -rm -f ./$(DEPDIR)/free.Plo -rm -f ./$(DEPDIR)/getsubopt.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/nonascii.Plo -rm -f ./$(DEPDIR)/parser.Plo -rm -f ./$(DEPDIR)/printer.Plo -rm -f ./$(DEPDIR)/qop.Plo -rm -f ./$(DEPDIR)/server.Plo -rm -f ./$(DEPDIR)/session.Plo -rm -f ./$(DEPDIR)/test-parser.Po -rm -f ./$(DEPDIR)/validate.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/digesthmac.Plo -rm -f ./$(DEPDIR)/free.Plo -rm -f ./$(DEPDIR)/getsubopt.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/nonascii.Plo -rm -f ./$(DEPDIR)/parser.Plo -rm -f ./$(DEPDIR)/printer.Plo -rm -f ./$(DEPDIR)/qop.Plo -rm -f ./$(DEPDIR)/server.Plo -rm -f ./$(DEPDIR)/session.Plo -rm -f ./$(DEPDIR)/test-parser.Po -rm -f ./$(DEPDIR)/validate.Plo -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: .MAKE: check-am install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \ check-am clean clean-checkPROGRAMS clean-generic clean-libtool \ clean-noinstLTLIBRARIES 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-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 recheck tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/digest-md5/client.c0000644000000000000000000002051713516252320013657 00000000000000/* client.c --- DIGEST-MD5 mechanism from RFC 2831, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "digest-md5.h" /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include /* Get tools. */ #include "nonascii.h" #include "tokens.h" #include "parser.h" #include "printer.h" #include "free.h" #include "session.h" #include "digesthmac.h" #include "qop.h" #define CNONCE_ENTROPY_BYTES 16 struct _Gsasl_digest_md5_client_state { int step; unsigned long readseqnum, sendseqnum; char secret[DIGEST_MD5_LENGTH]; char kic[DIGEST_MD5_LENGTH]; char kcc[DIGEST_MD5_LENGTH]; char kis[DIGEST_MD5_LENGTH]; char kcs[DIGEST_MD5_LENGTH]; digest_md5_challenge challenge; digest_md5_response response; digest_md5_finish finish; }; typedef struct _Gsasl_digest_md5_client_state _Gsasl_digest_md5_client_state; int _gsasl_digest_md5_client_start (Gsasl_session * sctx, void **mech_data) { _Gsasl_digest_md5_client_state *state; char nonce[CNONCE_ENTROPY_BYTES]; char *p; int rc; rc = gsasl_nonce (nonce, CNONCE_ENTROPY_BYTES); if (rc != GSASL_OK) return rc; rc = gsasl_base64_to (nonce, CNONCE_ENTROPY_BYTES, &p, NULL); if (rc != GSASL_OK) return rc; state = calloc (1, sizeof (*state)); if (state == NULL) { free (p); return GSASL_MALLOC_ERROR; } state->response.cnonce = p; state->response.nc = 1; *mech_data = state; return GSASL_OK; } int _gsasl_digest_md5_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_digest_md5_client_state *state = mech_data; int rc, res; *output = NULL; *output_len = 0; switch (state->step) { case 0: state->step++; if (input_len == 0) return GSASL_NEEDS_MORE; /* fall through */ case 1: { if (digest_md5_parse_challenge (input, input_len, &state->challenge) < 0) return GSASL_MECHANISM_PARSE_ERROR; /* FIXME: How to let application know of remaining realms? One idea, add a GSASL_REALM_COUNT property, and have the GSASL_REALM be that many concatenated zero terminated realm strings. Slightly hackish, though. Another cleaner approach would be to add gsasl_property_set_array and gsasl_property_get_array APIs, for those properties that may be used multiple times. */ if (state->challenge.nrealms > 0) gsasl_property_set (sctx, GSASL_REALM, state->challenge.realms[0]); else gsasl_property_set (sctx, GSASL_REALM, NULL); /* FIXME: cipher, maxbuf. */ /* Create response token. */ state->response.utf8 = 1; gsasl_property_set (sctx, GSASL_QOPS, digest_md5_qops2qopstr (state->challenge.qops)); { const char *qop = gsasl_property_get (sctx, GSASL_QOP); if (!qop) state->response.qop = GSASL_QOP_AUTH; else if (strcmp (qop, "qop-int") == 0) state->response.qop = GSASL_QOP_AUTH_INT; else if (strcmp (qop, "qop-auth") == 0) state->response.qop = GSASL_QOP_AUTH; else /* We don't support confidentiality or unknown keywords. */ return GSASL_AUTHENTICATION_ERROR; } state->response.nonce = strdup (state->challenge.nonce); if (!state->response.nonce) return GSASL_MALLOC_ERROR; { const char *service = gsasl_property_get (sctx, GSASL_SERVICE); const char *hostname = gsasl_property_get (sctx, GSASL_HOSTNAME); if (!service) return GSASL_NO_SERVICE; if (!hostname) return GSASL_NO_HOSTNAME; if (asprintf (&state->response.digesturi, "%s/%s", service, hostname) < 0) return GSASL_MALLOC_ERROR; } { const char *c; char *tmp, *tmp2; c = gsasl_property_get (sctx, GSASL_AUTHID); if (!c) return GSASL_NO_AUTHID; state->response.username = strdup (c); if (!state->response.username) return GSASL_MALLOC_ERROR; c = gsasl_property_get (sctx, GSASL_AUTHZID); if (c) { state->response.authzid = strdup (c); if (!state->response.authzid) return GSASL_MALLOC_ERROR; } gsasl_callback (NULL, sctx, GSASL_REALM); c = gsasl_property_fast (sctx, GSASL_REALM); if (c) { state->response.realm = strdup (c); if (!state->response.realm) return GSASL_MALLOC_ERROR; } c = gsasl_property_get (sctx, GSASL_PASSWORD); if (!c) return GSASL_NO_PASSWORD; tmp2 = utf8tolatin1ifpossible (c); rc = asprintf (&tmp, "%s:%s:%s", state->response.username, state->response.realm ? state->response.realm : "", tmp2); free (tmp2); if (rc < 0) return GSASL_MALLOC_ERROR; rc = gsasl_md5 (tmp, strlen (tmp), &tmp2); free (tmp); if (rc != GSASL_OK) return rc; memcpy (state->secret, tmp2, DIGEST_MD5_LENGTH); free (tmp2); } rc = digest_md5_hmac (state->response.response, state->secret, state->response.nonce, state->response.nc, state->response.cnonce, state->response.qop, state->response.authzid, state->response.digesturi, 0, state->response.cipher, state->kic, state->kis, state->kcc, state->kcs); if (rc) return GSASL_CRYPTO_ERROR; *output = digest_md5_print_response (&state->response); if (!*output) return GSASL_AUTHENTICATION_ERROR; *output_len = strlen (*output); state->step++; res = GSASL_NEEDS_MORE; } break; case 2: { char check[DIGEST_MD5_RESPONSE_LENGTH + 1]; if (digest_md5_parse_finish (input, input_len, &state->finish) < 0) return GSASL_MECHANISM_PARSE_ERROR; res = digest_md5_hmac (check, state->secret, state->response.nonce, state->response.nc, state->response.cnonce, state->response.qop, state->response.authzid, state->response.digesturi, 1, state->response.cipher, NULL, NULL, NULL, NULL); if (res != GSASL_OK) break; if (strcmp (state->finish.rspauth, check) == 0) res = GSASL_OK; else res = GSASL_AUTHENTICATION_ERROR; state->step++; } break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_digest_md5_client_finish (Gsasl_session * sctx, void *mech_data) { _Gsasl_digest_md5_client_state *state = mech_data; if (!state) return; digest_md5_free_challenge (&state->challenge); digest_md5_free_response (&state->response); digest_md5_free_finish (&state->finish); free (state); } int _gsasl_digest_md5_client_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_digest_md5_client_state *state = mech_data; int res; res = digest_md5_encode (input, input_len, output, output_len, state->response.qop, state->sendseqnum, state->kic); if (res) return res == -2 ? GSASL_NEEDS_MORE : GSASL_INTEGRITY_ERROR; if (state->sendseqnum == 4294967295UL) state->sendseqnum = 0; else state->sendseqnum++; return GSASL_OK; } int _gsasl_digest_md5_client_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_digest_md5_client_state *state = mech_data; int res; res = digest_md5_decode (input, input_len, output, output_len, state->response.qop, state->readseqnum, state->kis); if (res) return res == -2 ? GSASL_NEEDS_MORE : GSASL_INTEGRITY_ERROR; if (state->readseqnum == 4294967295UL) state->readseqnum = 0; else state->readseqnum++; return GSASL_OK; } gsasl-1.8.1/lib/digest-md5/qop.h0000644000000000000000000000212113516252320013174 00000000000000/* qop.h --- Prototypes for DIGEST-MD5 qop handling. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_MD5_QOP_H #define DIGEST_MD5_QOP_H extern int digest_md5_qopstr2qops (const char *qopstr); extern const char *digest_md5_qops2qopstr (int qops); #endif /* DIGEST_MD5_QOP_H */ gsasl-1.8.1/lib/gl/0000755000000000000000000000000013521017725010754 500000000000000gsasl-1.8.1/lib/gl/sys_stat.in.h0000644000000000000000000005417113516251666013343 00000000000000/* Provide a more complete sys/stat.h header file. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Eric Blake, Paul Eggert, and Jim Meyering. */ /* This file is supposed to be used on platforms where is incomplete. It is intended to provide definitions and prototypes needed by an application. Start with what the system provides. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_system_sys_stat_h /* Special invocation convention. */ #@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_STAT_H /* Get nlink_t. May also define off_t to a 64-bit type on native Windows. */ #include /* Get struct timespec. */ #include /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ #ifndef _@GUARD_PREFIX@_SYS_STAT_H #define _@GUARD_PREFIX@_SYS_STAT_H /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Before doing "#define mknod rpl_mknod" below, we need to include all headers that may declare mknod(). OS/2 kLIBC declares mknod() in , not in . */ #ifdef __KLIBC__ # include #endif /* Before doing "#define mkdir rpl_mkdir" below, we need to include all headers that may declare mkdir(). Native Windows platforms declare mkdir in and/or , not in . */ #if defined _WIN32 && ! defined __CYGWIN__ # include /* mingw32, mingw64 */ # include /* mingw64, MSVC 9 */ #endif /* Native Windows platforms declare umask() in . */ #if 0 && (defined _WIN32 && ! defined __CYGWIN__) # include #endif /* Large File Support on native Windows. */ #if @WINDOWS_64_BIT_ST_SIZE@ # define stat _stati64 #endif /* Optionally, override 'struct stat' on native Windows. */ #if @GNULIB_OVERRIDES_STRUCT_STAT@ # undef stat # if @GNULIB_STAT@ # define stat rpl_stat # else /* Provoke a clear link error if stat() is used as a function and module 'stat' is not in use. */ # define stat stat_used_without_requesting_gnulib_module_stat # endif # if !GNULIB_defined_struct_stat struct stat { dev_t st_dev; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; # if 0 uid_t st_uid; # else /* uid_t is not defined by default on native Windows. */ short st_uid; # endif # if 0 gid_t st_gid; # else /* gid_t is not defined by default on native Windows. */ short st_gid; # endif dev_t st_rdev; off_t st_size; # if 0 blksize_t st_blksize; blkcnt_t st_blocks; # endif # if @WINDOWS_STAT_TIMESPEC@ struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # else time_t st_atime; time_t st_mtime; time_t st_ctime; # endif }; # if @WINDOWS_STAT_TIMESPEC@ # define st_atime st_atim.tv_sec # define st_mtime st_mtim.tv_sec # define st_ctime st_ctim.tv_sec /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_STAT_TIMESPEC 1 # endif # define GNULIB_defined_struct_stat 1 # endif /* Other possible values of st_mode. */ # if 0 # define _S_IFBLK 0x6000 # endif # if 0 # define _S_IFLNK 0xA000 # endif # if 0 # define _S_IFSOCK 0xC000 # endif #endif #ifndef S_IFIFO # ifdef _S_IFIFO # define S_IFIFO _S_IFIFO # endif #endif #ifndef S_IFMT # define S_IFMT 0170000 #endif #if STAT_MACROS_BROKEN # undef S_ISBLK # undef S_ISCHR # undef S_ISDIR # undef S_ISFIFO # undef S_ISLNK # undef S_ISNAM # undef S_ISMPB # undef S_ISMPC # undef S_ISNWK # undef S_ISREG # undef S_ISSOCK #endif #ifndef S_ISBLK # ifdef S_IFBLK # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) # else # define S_ISBLK(m) 0 # endif #endif #ifndef S_ISCHR # ifdef S_IFCHR # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) # else # define S_ISCHR(m) 0 # endif #endif #ifndef S_ISDIR # ifdef S_IFDIR # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) # else # define S_ISDIR(m) 0 # endif #endif #ifndef S_ISDOOR /* Solaris 2.5 and up */ # define S_ISDOOR(m) 0 #endif #ifndef S_ISFIFO # ifdef S_IFIFO # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) # else # define S_ISFIFO(m) 0 # endif #endif #ifndef S_ISLNK # ifdef S_IFLNK # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) # else # define S_ISLNK(m) 0 # endif #endif #ifndef S_ISMPB /* V7 */ # ifdef S_IFMPB # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) # define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) # else # define S_ISMPB(m) 0 # define S_ISMPC(m) 0 # endif #endif #ifndef S_ISMPX /* AIX */ # define S_ISMPX(m) 0 #endif #ifndef S_ISNAM /* Xenix */ # ifdef S_IFNAM # define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) # else # define S_ISNAM(m) 0 # endif #endif #ifndef S_ISNWK /* HP/UX */ # ifdef S_IFNWK # define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK) # else # define S_ISNWK(m) 0 # endif #endif #ifndef S_ISPORT /* Solaris 10 and up */ # define S_ISPORT(m) 0 #endif #ifndef S_ISREG # ifdef S_IFREG # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) # else # define S_ISREG(m) 0 # endif #endif #ifndef S_ISSOCK # ifdef S_IFSOCK # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) # else # define S_ISSOCK(m) 0 # endif #endif #ifndef S_TYPEISMQ # define S_TYPEISMQ(p) 0 #endif #ifndef S_TYPEISTMO # define S_TYPEISTMO(p) 0 #endif #ifndef S_TYPEISSEM # ifdef S_INSEM # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) # else # define S_TYPEISSEM(p) 0 # endif #endif #ifndef S_TYPEISSHM # ifdef S_INSHD # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD) # else # define S_TYPEISSHM(p) 0 # endif #endif /* high performance ("contiguous data") */ #ifndef S_ISCTG # define S_ISCTG(p) 0 #endif /* Cray DMF (data migration facility): off line, with data */ #ifndef S_ISOFD # define S_ISOFD(p) 0 #endif /* Cray DMF (data migration facility): off line, with no data */ #ifndef S_ISOFL # define S_ISOFL(p) 0 #endif /* 4.4BSD whiteout */ #ifndef S_ISWHT # define S_ISWHT(m) 0 #endif /* If any of the following are undefined, define them to their de facto standard values. */ #if !S_ISUID # define S_ISUID 04000 #endif #if !S_ISGID # define S_ISGID 02000 #endif /* S_ISVTX is a common extension to POSIX. */ #ifndef S_ISVTX # define S_ISVTX 01000 #endif #if !S_IRUSR && S_IREAD # define S_IRUSR S_IREAD #endif #if !S_IRUSR # define S_IRUSR 00400 #endif #if !S_IRGRP # define S_IRGRP (S_IRUSR >> 3) #endif #if !S_IROTH # define S_IROTH (S_IRUSR >> 6) #endif #if !S_IWUSR && S_IWRITE # define S_IWUSR S_IWRITE #endif #if !S_IWUSR # define S_IWUSR 00200 #endif #if !S_IWGRP # define S_IWGRP (S_IWUSR >> 3) #endif #if !S_IWOTH # define S_IWOTH (S_IWUSR >> 6) #endif #if !S_IXUSR && S_IEXEC # define S_IXUSR S_IEXEC #endif #if !S_IXUSR # define S_IXUSR 00100 #endif #if !S_IXGRP # define S_IXGRP (S_IXUSR >> 3) #endif #if !S_IXOTH # define S_IXOTH (S_IXUSR >> 6) #endif #if !S_IRWXU # define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) #endif #if !S_IRWXG # define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP) #endif #if !S_IRWXO # define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH) #endif /* S_IXUGO is a common extension to POSIX. */ #if !S_IXUGO # define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) #endif #ifndef S_IRWXUGO # define S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO) #endif /* Macros for futimens and utimensat. */ #ifndef UTIME_NOW # define UTIME_NOW (-1) # define UTIME_OMIT (-2) #endif #if @GNULIB_FCHMODAT@ # if !@HAVE_FCHMODAT@ _GL_FUNCDECL_SYS (fchmodat, int, (int fd, char const *file, mode_t mode, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (fchmodat, int, (int fd, char const *file, mode_t mode, int flag)); _GL_CXXALIASWARN (fchmodat); #elif defined GNULIB_POSIXCHECK # undef fchmodat # if HAVE_RAW_DECL_FCHMODAT _GL_WARN_ON_USE (fchmodat, "fchmodat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FSTAT@ # if @REPLACE_FSTAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fstat # define fstat rpl_fstat # endif _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf)); # else _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); # endif _GL_CXXALIASWARN (fstat); #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # undef fstat # define fstat fstat_used_without_requesting_gnulib_module_fstat #elif @WINDOWS_64_BIT_ST_SIZE@ /* Above, we define stat to _stati64. */ # define fstat _fstati64 #elif defined GNULIB_POSIXCHECK # undef fstat # if HAVE_RAW_DECL_FSTAT _GL_WARN_ON_USE (fstat, "fstat has portability problems - " "use gnulib module fstat for portability"); # endif #endif #if @GNULIB_FSTATAT@ # if @REPLACE_FSTATAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fstatat # define fstatat rpl_fstatat # endif _GL_FUNCDECL_RPL (fstatat, int, (int fd, char const *name, struct stat *st, int flags) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (fstatat, int, (int fd, char const *name, struct stat *st, int flags)); # else # if !@HAVE_FSTATAT@ _GL_FUNCDECL_SYS (fstatat, int, (int fd, char const *name, struct stat *st, int flags) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (fstatat, int, (int fd, char const *name, struct stat *st, int flags)); # endif _GL_CXXALIASWARN (fstatat); #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # undef fstatat # define fstatat fstatat_used_without_requesting_gnulib_module_fstatat #elif defined GNULIB_POSIXCHECK # undef fstatat # if HAVE_RAW_DECL_FSTATAT _GL_WARN_ON_USE (fstatat, "fstatat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FUTIMENS@ /* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our futimens implementation relies on futimesat, which on Solaris 10 makes an invocation to futimens that is meant to invoke the libc's futimens(), not gnulib's futimens(). */ # if @REPLACE_FUTIMENS@ || (!@HAVE_FUTIMENS@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef futimens # define futimens rpl_futimens # endif _GL_FUNCDECL_RPL (futimens, int, (int fd, struct timespec const times[2])); _GL_CXXALIAS_RPL (futimens, int, (int fd, struct timespec const times[2])); # else # if !@HAVE_FUTIMENS@ _GL_FUNCDECL_SYS (futimens, int, (int fd, struct timespec const times[2])); # endif _GL_CXXALIAS_SYS (futimens, int, (int fd, struct timespec const times[2])); # endif # if @HAVE_FUTIMENS@ _GL_CXXALIASWARN (futimens); # endif #elif defined GNULIB_POSIXCHECK # undef futimens # if HAVE_RAW_DECL_FUTIMENS _GL_WARN_ON_USE (futimens, "futimens is not portable - " "use gnulib module futimens for portability"); # endif #endif #if @GNULIB_LCHMOD@ /* Change the mode of FILENAME to MODE, without dereferencing it if FILENAME denotes a symbolic link. */ # if !@HAVE_LCHMOD@ /* The lchmod replacement follows symbolic links. Callers should take this into account; lchmod should be applied only to arguments that are known to not be symbolic links. On hosts that lack lchmod, this can lead to race conditions between the check and the invocation of lchmod, but we know of no workarounds that are reliable in general. You might try requesting support for lchmod from your operating system supplier. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lchmod chmod # endif /* Need to cast, because on mingw, the second parameter of chmod is int mode. */ _GL_CXXALIAS_RPL_CAST_1 (lchmod, chmod, int, (const char *filename, mode_t mode)); # else # if 0 /* assume already declared */ _GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (lchmod, int, (const char *filename, mode_t mode)); # endif # if @HAVE_LCHMOD@ _GL_CXXALIASWARN (lchmod); # endif #elif defined GNULIB_POSIXCHECK # undef lchmod # if HAVE_RAW_DECL_LCHMOD _GL_WARN_ON_USE (lchmod, "lchmod is unportable - " "use gnulib module lchmod for portability"); # endif #endif #if @GNULIB_LSTAT@ # if ! @HAVE_LSTAT@ /* mingw does not support symlinks, therefore it does not have lstat. But without links, stat does just fine. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lstat stat # endif _GL_CXXALIAS_RPL_1 (lstat, stat, int, (const char *name, struct stat *buf)); # elif @REPLACE_LSTAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lstat # define lstat rpl_lstat # endif _GL_FUNCDECL_RPL (lstat, int, (const char *name, struct stat *buf) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (lstat, int, (const char *name, struct stat *buf)); # else _GL_CXXALIAS_SYS (lstat, int, (const char *name, struct stat *buf)); # endif # if @HAVE_LSTAT@ _GL_CXXALIASWARN (lstat); # endif #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # undef lstat # define lstat lstat_used_without_requesting_gnulib_module_lstat #elif defined GNULIB_POSIXCHECK # undef lstat # if HAVE_RAW_DECL_LSTAT _GL_WARN_ON_USE (lstat, "lstat is unportable - " "use gnulib module lstat for portability"); # endif #endif #if @REPLACE_MKDIR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkdir # define mkdir rpl_mkdir # endif _GL_FUNCDECL_RPL (mkdir, int, (char const *name, mode_t mode) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); #else /* mingw's _mkdir() function has 1 argument, but we pass 2 arguments. Additionally, it declares _mkdir (and depending on compile flags, an alias mkdir), only in the nonstandard includes and , which are included above. */ # if defined _WIN32 && ! defined __CYGWIN__ # if !GNULIB_defined_rpl_mkdir static int rpl_mkdir (char const *name, mode_t mode) { return _mkdir (name); } # define GNULIB_defined_rpl_mkdir 1 # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mkdir rpl_mkdir # endif _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); # else _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); # endif #endif _GL_CXXALIASWARN (mkdir); #if @GNULIB_MKDIRAT@ # if !@HAVE_MKDIRAT@ _GL_FUNCDECL_SYS (mkdirat, int, (int fd, char const *file, mode_t mode) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mkdirat, int, (int fd, char const *file, mode_t mode)); _GL_CXXALIASWARN (mkdirat); #elif defined GNULIB_POSIXCHECK # undef mkdirat # if HAVE_RAW_DECL_MKDIRAT _GL_WARN_ON_USE (mkdirat, "mkdirat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_MKFIFO@ # if @REPLACE_MKFIFO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkfifo # define mkfifo rpl_mkfifo # endif _GL_FUNCDECL_RPL (mkfifo, int, (char const *file, mode_t mode) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkfifo, int, (char const *file, mode_t mode)); # else # if !@HAVE_MKFIFO@ _GL_FUNCDECL_SYS (mkfifo, int, (char const *file, mode_t mode) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkfifo, int, (char const *file, mode_t mode)); # endif _GL_CXXALIASWARN (mkfifo); #elif defined GNULIB_POSIXCHECK # undef mkfifo # if HAVE_RAW_DECL_MKFIFO _GL_WARN_ON_USE (mkfifo, "mkfifo is not portable - " "use gnulib module mkfifo for portability"); # endif #endif #if @GNULIB_MKFIFOAT@ # if !@HAVE_MKFIFOAT@ _GL_FUNCDECL_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode)); _GL_CXXALIASWARN (mkfifoat); #elif defined GNULIB_POSIXCHECK # undef mkfifoat # if HAVE_RAW_DECL_MKFIFOAT _GL_WARN_ON_USE (mkfifoat, "mkfifoat is not portable - " "use gnulib module mkfifoat for portability"); # endif #endif #if @GNULIB_MKNOD@ # if @REPLACE_MKNOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mknod # define mknod rpl_mknod # endif _GL_FUNCDECL_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev)); # else # if !@HAVE_MKNOD@ _GL_FUNCDECL_SYS (mknod, int, (char const *file, mode_t mode, dev_t dev) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on OSF/1 5.1, the third parameter is '...'. */ _GL_CXXALIAS_SYS_CAST (mknod, int, (char const *file, mode_t mode, dev_t dev)); # endif _GL_CXXALIASWARN (mknod); #elif defined GNULIB_POSIXCHECK # undef mknod # if HAVE_RAW_DECL_MKNOD _GL_WARN_ON_USE (mknod, "mknod is not portable - " "use gnulib module mknod for portability"); # endif #endif #if @GNULIB_MKNODAT@ # if !@HAVE_MKNODAT@ _GL_FUNCDECL_SYS (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev)); _GL_CXXALIASWARN (mknodat); #elif defined GNULIB_POSIXCHECK # undef mknodat # if HAVE_RAW_DECL_MKNODAT _GL_WARN_ON_USE (mknodat, "mknodat is not portable - " "use gnulib module mkfifoat for portability"); # endif #endif #if @GNULIB_STAT@ # if @REPLACE_STAT@ # if !@GNULIB_OVERRIDES_STRUCT_STAT@ /* We can't use the object-like #define stat rpl_stat, because of struct stat. This means that rpl_stat will not be used if the user does (stat)(a,b). Oh well. */ # if defined _AIX && defined stat && defined _LARGE_FILES /* With _LARGE_FILES defined, AIX (only) defines stat to stat64, so we have to replace stat64() instead of stat(). */ # undef stat64 # define stat64(name, st) rpl_stat (name, st) # elif @WINDOWS_64_BIT_ST_SIZE@ /* Above, we define stat to _stati64. */ # if defined __MINGW32__ && defined _stati64 # ifndef _USE_32BIT_TIME_T /* The system headers define _stati64 to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # elif defined _MSC_VER && defined _stati64 # ifdef _USE_32BIT_TIME_T /* The system headers define _stati64 to _stat32i64. */ # undef _stat32i64 # define _stat32i64(name, st) rpl_stat (name, st) # else /* The system headers define _stati64 to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # else # undef _stati64 # define _stati64(name, st) rpl_stat (name, st) # endif # elif defined __MINGW32__ && defined stat # ifdef _USE_32BIT_TIME_T /* The system headers define stat to _stat32i64. */ # undef _stat32i64 # define _stat32i64(name, st) rpl_stat (name, st) # else /* The system headers define stat to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # elif defined _MSC_VER && defined stat # ifdef _USE_32BIT_TIME_T /* The system headers define stat to _stat32. */ # undef _stat32 # define _stat32(name, st) rpl_stat (name, st) # else /* The system headers define stat to _stat64i32. */ # undef _stat64i32 # define _stat64i32(name, st) rpl_stat (name, st) # endif # else /* !(_AIX || __MINGW32__ || _MSC_VER) */ # undef stat # define stat(name, st) rpl_stat (name, st) # endif /* !_LARGE_FILES */ # endif /* !@GNULIB_OVERRIDES_STRUCT_STAT@ */ _GL_EXTERN_C int stat (const char *name, struct stat *buf) _GL_ARG_NONNULL ((1, 2)); # endif #elif @GNULIB_OVERRIDES_STRUCT_STAT@ /* see above: #define stat stat_used_without_requesting_gnulib_module_stat */ #elif defined GNULIB_POSIXCHECK # undef stat # if HAVE_RAW_DECL_STAT _GL_WARN_ON_USE (stat, "stat is unportable - " "use gnulib module stat for portability"); # endif #endif #if @GNULIB_UTIMENSAT@ /* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our utimensat implementation relies on futimesat, which on Solaris 10 makes an invocation to utimensat that is meant to invoke the libc's utimensat(), not gnulib's utimensat(). */ # if @REPLACE_UTIMENSAT@ || (!@HAVE_UTIMENSAT@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef utimensat # define utimensat rpl_utimensat # endif _GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag)); # else # if !@HAVE_UTIMENSAT@ _GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag)); # endif # if @HAVE_UTIMENSAT@ _GL_CXXALIASWARN (utimensat); # endif #elif defined GNULIB_POSIXCHECK # undef utimensat # if HAVE_RAW_DECL_UTIMENSAT _GL_WARN_ON_USE (utimensat, "utimensat is not portable - " "use gnulib module utimensat for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_STAT_H */ #endif /* _@GUARD_PREFIX@_SYS_STAT_H */ #endif gsasl-1.8.1/lib/gl/gl_openssl.h0000644000000000000000000000736013516251670013223 00000000000000/* Wrap openssl crypto hash routines in gnulib interface. -*- coding: utf-8 -*- Copyright (C) 2013-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Pádraig Brady */ #ifndef GL_OPENSSL_NAME # error "Please define GL_OPENSSL_NAME to 1,5,256 etc." #endif #ifndef _GL_INLINE_HEADER_BEGIN # error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef GL_OPENSSL_INLINE # define GL_OPENSSL_INLINE _GL_INLINE #endif /* Concatenate two preprocessor tokens. */ #define _GLCRYPTO_CONCAT_(prefix, suffix) prefix##suffix #define _GLCRYPTO_CONCAT(prefix, suffix) _GLCRYPTO_CONCAT_ (prefix, suffix) #if GL_OPENSSL_NAME == 5 # define OPENSSL_ALG md5 #else # define OPENSSL_ALG _GLCRYPTO_CONCAT (sha, GL_OPENSSL_NAME) #endif /* Context type mappings. */ #if BASE_OPENSSL_TYPE != GL_OPENSSL_NAME # undef BASE_OPENSSL_TYPE # if GL_OPENSSL_NAME == 224 # define BASE_OPENSSL_TYPE 256 # elif GL_OPENSSL_NAME == 384 # define BASE_OPENSSL_TYPE 512 # endif # define md5_CTX MD5_CTX # define sha1_CTX SHA_CTX # define sha224_CTX SHA256_CTX # define sha224_ctx sha256_ctx # define sha256_CTX SHA256_CTX # define sha384_CTX SHA512_CTX # define sha384_ctx sha512_ctx # define sha512_CTX SHA512_CTX # undef _gl_CTX # undef _gl_ctx # define _gl_CTX _GLCRYPTO_CONCAT (OPENSSL_ALG, _CTX) /* openssl type. */ # define _gl_ctx _GLCRYPTO_CONCAT (OPENSSL_ALG, _ctx) /* gnulib type. */ struct _gl_ctx { _gl_CTX CTX; }; #endif /* Function name mappings. */ #define md5_prefix MD5 #define sha1_prefix SHA1 #define sha224_prefix SHA224 #define sha256_prefix SHA256 #define sha384_prefix SHA384 #define sha512_prefix SHA512 #define _GLCRYPTO_PREFIX _GLCRYPTO_CONCAT (OPENSSL_ALG, _prefix) #define OPENSSL_FN(suffix) _GLCRYPTO_CONCAT (_GLCRYPTO_PREFIX, suffix) #define GL_CRYPTO_FN(suffix) _GLCRYPTO_CONCAT (OPENSSL_ALG, suffix) GL_OPENSSL_INLINE void GL_CRYPTO_FN (_init_ctx) (struct _gl_ctx *ctx) { (void) OPENSSL_FN (_Init) ((_gl_CTX *) ctx); } /* These were never exposed by gnulib. */ #if ! (GL_OPENSSL_NAME == 224 || GL_OPENSSL_NAME == 384) GL_OPENSSL_INLINE void GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } GL_OPENSSL_INLINE void GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } #endif GL_OPENSSL_INLINE void * GL_CRYPTO_FN (_finish_ctx) (struct _gl_ctx *ctx, void *res) { OPENSSL_FN (_Final) ((unsigned char *) res, (_gl_CTX *) ctx); return res; } GL_OPENSSL_INLINE void * GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *res) { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); } GL_OPENSSL_INLINE void * GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *res) { /* Assume any unprocessed bytes in ctx are not to be ignored. */ _gl_CTX tmp_ctx = *(_gl_CTX *) ctx; OPENSSL_FN (_Final) ((unsigned char *) res, &tmp_ctx); return res; } /* Undef so we can include multiple times. */ #undef GL_CRYPTO_FN #undef OPENSSL_FN #undef _GLCRYPTO_PREFIX #undef OPENSSL_ALG #undef GL_OPENSSL_NAME _GL_INLINE_HEADER_END gsasl-1.8.1/lib/gl/msvc-nothrow.c0000644000000000000000000000254413516251666013523 00000000000000/* Wrappers that don't throw invalid parameter notifications with MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include /* Specification. */ #include "msvc-nothrow.h" /* Get declarations of the native Windows API functions. */ #define WIN32_LEAN_AND_MEAN #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef _get_osfhandle #if HAVE_MSVC_INVALID_PARAMETER_HANDLER intptr_t _gl_nothrow_get_osfhandle (int fd) { intptr_t result; TRY_MSVC_INVAL { result = _get_osfhandle (fd); } CATCH_MSVC_INVAL { result = (intptr_t) INVALID_HANDLE_VALUE; } DONE_MSVC_INVAL; return result; } #endif gsasl-1.8.1/lib/gl/stat-time.c0000644000000000000000000000013213516251666012753 00000000000000#include #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE #include "stat-time.h" gsasl-1.8.1/lib/gl/ftello.c0000644000000000000000000000464013516251665012340 00000000000000/* An ftello() function that works around platform bugs. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Get lseek. */ #include #include "stdio-impl.h" off_t ftello (FILE *fp) #undef ftello #if !HAVE_FTELLO # undef ftell # define ftello ftell #endif #if _GL_WINDOWS_64_BIT_OFF_T # undef ftello # if HAVE__FTELLI64 /* msvc, mingw64 */ # define ftello _ftelli64 # else /* mingw */ # define ftello ftello64 # endif #endif { #if LSEEK_PIPE_BROKEN /* mingw gives bogus answers rather than failure on non-seekable files. */ if (lseek (fileno (fp), 0, SEEK_CUR) == -1) return -1; #endif #if FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE /* Solaris */ /* The Solaris stdio leaves the _IOREAD flag set after reading from a file reaches EOF and the program then starts writing to the file. ftello gets confused by this. */ if (fp_->_flag & _IOWRT) { off_t pos; /* Call ftello nevertheless, for the side effects that it does on fp. */ ftello (fp); /* Compute the file position ourselves. */ pos = lseek (fileno (fp), (off_t) 0, SEEK_CUR); if (pos >= 0) { if ((fp_->_flag & _IONBF) == 0 && fp_->_base != NULL) pos += fp_->_ptr - fp_->_base; } return pos; } #endif #if defined __SL64 && defined __SCLE /* Cygwin */ if ((fp->_flags & __SL64) == 0) { /* Cygwin 1.5.0 through 1.5.24 failed to open stdin in 64-bit mode; but has an ftello that requires 64-bit mode. */ FILE *tmp = fopen ("/dev/null", "r"); if (!tmp) return -1; fp->_flags |= __SL64; fp->_seek64 = tmp->_seek64; fclose (tmp); } #endif return ftello (fp); } gsasl-1.8.1/lib/gl/strverscmp.c0000644000000000000000000000620113516251671013253 00000000000000/* Compare strings while treating digits characters numerically. Copyright (C) 1997-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jean-François Bignolles , 1997. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _LIBC # include # define __strverscmp strverscmp #endif #include #include #include /* states: S_N: normal, S_I: comparing integral part, S_F: comparing fractional parts, S_Z: idem but with leading Zeroes only */ #define S_N 0x0 #define S_I 0x3 #define S_F 0x6 #define S_Z 0x9 /* result_type: CMP: return diff; LEN: compare using len_diff/diff */ #define CMP 2 #define LEN 3 /* Compare S1 and S2 as strings holding indices/version numbers, returning less than, equal to or greater than zero if S1 is less than, equal to or greater than S2 (for more info, see the texinfo doc). */ int __strverscmp (const char *s1, const char *s2) { const unsigned char *p1 = (const unsigned char *) s1; const unsigned char *p2 = (const unsigned char *) s2; /* Symbol(s) 0 [1-9] others Transition (10) 0 (01) d (00) x */ static const uint_least8_t next_state[] = { /* state x d 0 */ /* S_N */ S_N, S_I, S_Z, /* S_I */ S_N, S_I, S_I, /* S_F */ S_N, S_F, S_F, /* S_Z */ S_N, S_F, S_Z }; static const int_least8_t result_type[] = { /* state x/x x/d x/0 d/x d/d d/0 0/x 0/d 0/0 */ /* S_N */ CMP, CMP, CMP, CMP, LEN, CMP, CMP, CMP, CMP, /* S_I */ CMP, -1, -1, +1, LEN, LEN, +1, LEN, LEN, /* S_F */ CMP, CMP, CMP, CMP, CMP, CMP, CMP, CMP, CMP, /* S_Z */ CMP, +1, +1, -1, CMP, CMP, -1, CMP, CMP }; if (p1 == p2) return 0; unsigned char c1 = *p1++; unsigned char c2 = *p2++; /* Hint: '0' is a digit too. */ int state = S_N + ((c1 == '0') + (isdigit (c1) != 0)); int diff; while ((diff = c1 - c2) == 0) { if (c1 == '\0') return diff; state = next_state[state]; c1 = *p1++; c2 = *p2++; state += (c1 == '0') + (isdigit (c1) != 0); } state = result_type[state * 3 + (((c2 == '0') + (isdigit (c2) != 0)))]; switch (state) { case CMP: return diff; case LEN: while (isdigit (*p1++)) if (!isdigit (*p2++)) return 1; return isdigit (*p2) ? -1 : diff; default: return state; } } libc_hidden_def (__strverscmp) weak_alias (__strverscmp, strverscmp) gsasl-1.8.1/lib/gl/base64.c0000644000000000000000000004767313516251670012150 00000000000000/* base64.c -- Encode binary data using printable characters. Copyright (C) 1999-2001, 2004-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Simon Josefsson. Partially adapted from GNU MailUtils * (mailbox/filter_trans.c, as of 2004-11-28). Improved by review * from Paul Eggert, Bruno Haible, and Stepan Kasal. * * See also RFC 4648 . * * Be careful with error checking. Here is how you would typically * use these functions: * * bool ok = base64_decode_alloc (in, inlen, &out, &outlen); * if (!ok) * FAIL: input was not valid base64 * if (out == NULL) * FAIL: memory allocation error * OK: data in OUT/OUTLEN * * size_t outlen = base64_encode_alloc (in, inlen, &out); * if (out == NULL && outlen == 0 && inlen != 0) * FAIL: input too long * if (out == NULL) * FAIL: memory allocation error * OK: data in OUT/OUTLEN. * */ #include /* Get prototype. */ #include "base64.h" /* Get malloc. */ #include /* Get UCHAR_MAX. */ #include #include /* C89 compliant way to cast 'char' to 'unsigned char'. */ static unsigned char to_uchar (char ch) { return ch; } static const char b64c[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /* Base64 encode IN array of size INLEN into OUT array. OUT needs to be of length >= BASE64_LENGTH(INLEN), and INLEN needs to be a multiple of 3. */ static void base64_encode_fast (const char *restrict in, size_t inlen, char *restrict out) { while (inlen) { *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; *out++ = b64c[to_uchar (in[2]) & 0x3f]; inlen -= 3; in += 3; } } /* Base64 encode IN array of size INLEN into OUT array of size OUTLEN. If OUTLEN is less than BASE64_LENGTH(INLEN), write as many bytes as possible. If OUTLEN is larger than BASE64_LENGTH(INLEN), also zero terminate the output buffer. */ void base64_encode (const char *restrict in, size_t inlen, char *restrict out, size_t outlen) { /* Note this outlen constraint can be enforced at compile time. I.E. that the output buffer is exactly large enough to hold the encoded inlen bytes. The inlen constraints (of corresponding to outlen, and being a multiple of 3) can change at runtime at the end of input. However the common case when reading large inputs is to have both constraints satisfied, so we depend on both in base_encode_fast(). */ if (outlen % 4 == 0 && inlen == outlen / 4 * 3) { base64_encode_fast (in, inlen, out); return; } while (inlen && outlen) { *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; if (!--outlen) break; *out++ = b64c[((to_uchar (in[0]) << 4) + (--inlen ? to_uchar (in[1]) >> 4 : 0)) & 0x3f]; if (!--outlen) break; *out++ = (inlen ? b64c[((to_uchar (in[1]) << 2) + (--inlen ? to_uchar (in[2]) >> 6 : 0)) & 0x3f] : '='); if (!--outlen) break; *out++ = inlen ? b64c[to_uchar (in[2]) & 0x3f] : '='; if (!--outlen) break; if (inlen) inlen--; if (inlen) in += 3; } if (outlen) *out = '\0'; } /* Allocate a buffer and store zero terminated base64 encoded data from array IN of size INLEN, returning BASE64_LENGTH(INLEN), i.e., the length of the encoded data, excluding the terminating zero. On return, the OUT variable will hold a pointer to newly allocated memory that must be deallocated by the caller. If output string length would overflow, 0 is returned and OUT is set to NULL. If memory allocation failed, OUT is set to NULL, and the return value indicates length of the requested memory block, i.e., BASE64_LENGTH(inlen) + 1. */ size_t base64_encode_alloc (const char *in, size_t inlen, char **out) { size_t outlen = 1 + BASE64_LENGTH (inlen); /* Check for overflow in outlen computation. * * If there is no overflow, outlen >= inlen. * * If the operation (inlen + 2) overflows then it yields at most +1, so * outlen is 0. * * If the multiplication overflows, we lose at least half of the * correct value, so the result is < ((inlen + 2) / 3) * 2, which is * less than (inlen + 2) * 0.66667, which is less than inlen as soon as * (inlen > 4). */ if (inlen > outlen) { *out = NULL; return 0; } *out = malloc (outlen); if (!*out) return outlen; base64_encode (in, inlen, *out, outlen); return outlen - 1; } /* With this approach this file works independent of the charset used (think EBCDIC). However, it does assume that the characters in the Base64 alphabet (A-Za-z0-9+/) are encoded in 0..255. POSIX 1003.1-2001 require that char and unsigned char are 8-bit quantities, though, taking care of that problem. But this may be a potential problem on non-POSIX C99 platforms. IBM C V6 for AIX mishandles "#define B64(x) ...'x'...", so use "_" as the formal parameter rather than "x". */ #define B64(_) \ ((_) == 'A' ? 0 \ : (_) == 'B' ? 1 \ : (_) == 'C' ? 2 \ : (_) == 'D' ? 3 \ : (_) == 'E' ? 4 \ : (_) == 'F' ? 5 \ : (_) == 'G' ? 6 \ : (_) == 'H' ? 7 \ : (_) == 'I' ? 8 \ : (_) == 'J' ? 9 \ : (_) == 'K' ? 10 \ : (_) == 'L' ? 11 \ : (_) == 'M' ? 12 \ : (_) == 'N' ? 13 \ : (_) == 'O' ? 14 \ : (_) == 'P' ? 15 \ : (_) == 'Q' ? 16 \ : (_) == 'R' ? 17 \ : (_) == 'S' ? 18 \ : (_) == 'T' ? 19 \ : (_) == 'U' ? 20 \ : (_) == 'V' ? 21 \ : (_) == 'W' ? 22 \ : (_) == 'X' ? 23 \ : (_) == 'Y' ? 24 \ : (_) == 'Z' ? 25 \ : (_) == 'a' ? 26 \ : (_) == 'b' ? 27 \ : (_) == 'c' ? 28 \ : (_) == 'd' ? 29 \ : (_) == 'e' ? 30 \ : (_) == 'f' ? 31 \ : (_) == 'g' ? 32 \ : (_) == 'h' ? 33 \ : (_) == 'i' ? 34 \ : (_) == 'j' ? 35 \ : (_) == 'k' ? 36 \ : (_) == 'l' ? 37 \ : (_) == 'm' ? 38 \ : (_) == 'n' ? 39 \ : (_) == 'o' ? 40 \ : (_) == 'p' ? 41 \ : (_) == 'q' ? 42 \ : (_) == 'r' ? 43 \ : (_) == 's' ? 44 \ : (_) == 't' ? 45 \ : (_) == 'u' ? 46 \ : (_) == 'v' ? 47 \ : (_) == 'w' ? 48 \ : (_) == 'x' ? 49 \ : (_) == 'y' ? 50 \ : (_) == 'z' ? 51 \ : (_) == '0' ? 52 \ : (_) == '1' ? 53 \ : (_) == '2' ? 54 \ : (_) == '3' ? 55 \ : (_) == '4' ? 56 \ : (_) == '5' ? 57 \ : (_) == '6' ? 58 \ : (_) == '7' ? 59 \ : (_) == '8' ? 60 \ : (_) == '9' ? 61 \ : (_) == '+' ? 62 \ : (_) == '/' ? 63 \ : -1) static const signed char b64[0x100] = { B64 (0), B64 (1), B64 (2), B64 (3), B64 (4), B64 (5), B64 (6), B64 (7), B64 (8), B64 (9), B64 (10), B64 (11), B64 (12), B64 (13), B64 (14), B64 (15), B64 (16), B64 (17), B64 (18), B64 (19), B64 (20), B64 (21), B64 (22), B64 (23), B64 (24), B64 (25), B64 (26), B64 (27), B64 (28), B64 (29), B64 (30), B64 (31), B64 (32), B64 (33), B64 (34), B64 (35), B64 (36), B64 (37), B64 (38), B64 (39), B64 (40), B64 (41), B64 (42), B64 (43), B64 (44), B64 (45), B64 (46), B64 (47), B64 (48), B64 (49), B64 (50), B64 (51), B64 (52), B64 (53), B64 (54), B64 (55), B64 (56), B64 (57), B64 (58), B64 (59), B64 (60), B64 (61), B64 (62), B64 (63), B64 (64), B64 (65), B64 (66), B64 (67), B64 (68), B64 (69), B64 (70), B64 (71), B64 (72), B64 (73), B64 (74), B64 (75), B64 (76), B64 (77), B64 (78), B64 (79), B64 (80), B64 (81), B64 (82), B64 (83), B64 (84), B64 (85), B64 (86), B64 (87), B64 (88), B64 (89), B64 (90), B64 (91), B64 (92), B64 (93), B64 (94), B64 (95), B64 (96), B64 (97), B64 (98), B64 (99), B64 (100), B64 (101), B64 (102), B64 (103), B64 (104), B64 (105), B64 (106), B64 (107), B64 (108), B64 (109), B64 (110), B64 (111), B64 (112), B64 (113), B64 (114), B64 (115), B64 (116), B64 (117), B64 (118), B64 (119), B64 (120), B64 (121), B64 (122), B64 (123), B64 (124), B64 (125), B64 (126), B64 (127), B64 (128), B64 (129), B64 (130), B64 (131), B64 (132), B64 (133), B64 (134), B64 (135), B64 (136), B64 (137), B64 (138), B64 (139), B64 (140), B64 (141), B64 (142), B64 (143), B64 (144), B64 (145), B64 (146), B64 (147), B64 (148), B64 (149), B64 (150), B64 (151), B64 (152), B64 (153), B64 (154), B64 (155), B64 (156), B64 (157), B64 (158), B64 (159), B64 (160), B64 (161), B64 (162), B64 (163), B64 (164), B64 (165), B64 (166), B64 (167), B64 (168), B64 (169), B64 (170), B64 (171), B64 (172), B64 (173), B64 (174), B64 (175), B64 (176), B64 (177), B64 (178), B64 (179), B64 (180), B64 (181), B64 (182), B64 (183), B64 (184), B64 (185), B64 (186), B64 (187), B64 (188), B64 (189), B64 (190), B64 (191), B64 (192), B64 (193), B64 (194), B64 (195), B64 (196), B64 (197), B64 (198), B64 (199), B64 (200), B64 (201), B64 (202), B64 (203), B64 (204), B64 (205), B64 (206), B64 (207), B64 (208), B64 (209), B64 (210), B64 (211), B64 (212), B64 (213), B64 (214), B64 (215), B64 (216), B64 (217), B64 (218), B64 (219), B64 (220), B64 (221), B64 (222), B64 (223), B64 (224), B64 (225), B64 (226), B64 (227), B64 (228), B64 (229), B64 (230), B64 (231), B64 (232), B64 (233), B64 (234), B64 (235), B64 (236), B64 (237), B64 (238), B64 (239), B64 (240), B64 (241), B64 (242), B64 (243), B64 (244), B64 (245), B64 (246), B64 (247), B64 (248), B64 (249), B64 (250), B64 (251), B64 (252), B64 (253), B64 (254), B64 (255) }; #if UCHAR_MAX == 255 # define uchar_in_range(c) true #else # define uchar_in_range(c) ((c) <= 255) #endif /* Return true if CH is a character from the Base64 alphabet, and false otherwise. Note that '=' is padding and not considered to be part of the alphabet. */ bool isbase64 (char ch) { return uchar_in_range (to_uchar (ch)) && 0 <= b64[to_uchar (ch)]; } /* Initialize decode-context buffer, CTX. */ void base64_decode_ctx_init (struct base64_decode_context *ctx) { ctx->i = 0; } /* If CTX->i is 0 or 4, there are four or more bytes in [*IN..IN_END), and none of those four is a newline, then return *IN. Otherwise, copy up to 4 - CTX->i non-newline bytes from that range into CTX->buf, starting at index CTX->i and setting CTX->i to reflect the number of bytes copied, and return CTX->buf. In either case, advance *IN to point to the byte after the last one processed, and set *N_NON_NEWLINE to the number of verified non-newline bytes accessible through the returned pointer. */ static char * get_4 (struct base64_decode_context *ctx, char const *restrict *in, char const *restrict in_end, size_t *n_non_newline) { if (ctx->i == 4) ctx->i = 0; if (ctx->i == 0) { char const *t = *in; if (4 <= in_end - *in && memchr (t, '\n', 4) == NULL) { /* This is the common case: no newline. */ *in += 4; *n_non_newline = 4; return (char *) t; } } { /* Copy non-newline bytes into BUF. */ char const *p = *in; while (p < in_end) { char c = *p++; if (c != '\n') { ctx->buf[ctx->i++] = c; if (ctx->i == 4) break; } } *in = p; *n_non_newline = ctx->i; return ctx->buf; } } #define return_false \ do \ { \ *outp = out; \ return false; \ } \ while (false) /* Decode up to four bytes of base64-encoded data, IN, of length INLEN into the output buffer, *OUT, of size *OUTLEN bytes. Return true if decoding is successful, false otherwise. If *OUTLEN is too small, as many bytes as possible are written to *OUT. On return, advance *OUT to point to the byte after the last one written, and decrement *OUTLEN to reflect the number of bytes remaining in *OUT. */ static bool decode_4 (char const *restrict in, size_t inlen, char *restrict *outp, size_t *outleft) { char *out = *outp; if (inlen < 2) return false; if (!isbase64 (in[0]) || !isbase64 (in[1])) return false; if (*outleft) { *out++ = ((b64[to_uchar (in[0])] << 2) | (b64[to_uchar (in[1])] >> 4)); --*outleft; } if (inlen == 2) return_false; if (in[2] == '=') { if (inlen != 4) return_false; if (in[3] != '=') return_false; } else { if (!isbase64 (in[2])) return_false; if (*outleft) { *out++ = (((b64[to_uchar (in[1])] << 4) & 0xf0) | (b64[to_uchar (in[2])] >> 2)); --*outleft; } if (inlen == 3) return_false; if (in[3] == '=') { if (inlen != 4) return_false; } else { if (!isbase64 (in[3])) return_false; if (*outleft) { *out++ = (((b64[to_uchar (in[2])] << 6) & 0xc0) | b64[to_uchar (in[3])]); --*outleft; } } } *outp = out; return true; } /* Decode base64-encoded input array IN of length INLEN to output array OUT that can hold *OUTLEN bytes. The input data may be interspersed with newlines. Return true if decoding was successful, i.e. if the input was valid base64 data, false otherwise. If *OUTLEN is too small, as many bytes as possible will be written to OUT. On return, *OUTLEN holds the length of decoded bytes in OUT. Note that as soon as any non-alphabet, non-newline character is encountered, decoding is stopped and false is returned. If INLEN is zero, then process only whatever data is stored in CTX. Initially, CTX must have been initialized via base64_decode_ctx_init. Subsequent calls to this function must reuse whatever state is recorded in that buffer. It is necessary for when a quadruple of base64 input bytes spans two input buffers. If CTX is NULL then newlines are treated as garbage and the input buffer is processed as a unit. */ bool base64_decode_ctx (struct base64_decode_context *ctx, const char *restrict in, size_t inlen, char *restrict out, size_t *outlen) { size_t outleft = *outlen; bool ignore_newlines = ctx != NULL; bool flush_ctx = false; unsigned int ctx_i = 0; if (ignore_newlines) { ctx_i = ctx->i; flush_ctx = inlen == 0; } while (true) { size_t outleft_save = outleft; if (ctx_i == 0 && !flush_ctx) { while (true) { /* Save a copy of outleft, in case we need to re-parse this block of four bytes. */ outleft_save = outleft; if (!decode_4 (in, inlen, &out, &outleft)) break; in += 4; inlen -= 4; } } if (inlen == 0 && !flush_ctx) break; /* Handle the common case of 72-byte wrapped lines. This also handles any other multiple-of-4-byte wrapping. */ if (inlen && *in == '\n' && ignore_newlines) { ++in; --inlen; continue; } /* Restore OUT and OUTLEFT. */ out -= outleft_save - outleft; outleft = outleft_save; { char const *in_end = in + inlen; char const *non_nl; if (ignore_newlines) non_nl = get_4 (ctx, &in, in_end, &inlen); else non_nl = in; /* Might have nl in this case. */ /* If the input is empty or consists solely of newlines (0 non-newlines), then we're done. Likewise if there are fewer than 4 bytes when not flushing context and not treating newlines as garbage. */ if (inlen == 0 || (inlen < 4 && !flush_ctx && ignore_newlines)) { inlen = 0; break; } if (!decode_4 (non_nl, inlen, &out, &outleft)) break; inlen = in_end - in; } } *outlen -= outleft; return inlen == 0; } /* Allocate an output buffer in *OUT, and decode the base64 encoded data stored in IN of size INLEN to the *OUT buffer. On return, the size of the decoded data is stored in *OUTLEN. OUTLEN may be NULL, if the caller is not interested in the decoded length. *OUT may be NULL to indicate an out of memory error, in which case *OUTLEN contains the size of the memory block needed. The function returns true on successful decoding and memory allocation errors. (Use the *OUT and *OUTLEN parameters to differentiate between successful decoding and memory error.) The function returns false if the input was invalid, in which case *OUT is NULL and *OUTLEN is undefined. */ bool base64_decode_alloc_ctx (struct base64_decode_context *ctx, const char *in, size_t inlen, char **out, size_t *outlen) { /* This may allocate a few bytes too many, depending on input, but it's not worth the extra CPU time to compute the exact size. The exact size is 3 * (inlen + (ctx ? ctx->i : 0)) / 4, minus 1 if the input ends with "=" and minus another 1 if the input ends with "==". Dividing before multiplying avoids the possibility of overflow. */ size_t needlen = 3 * (inlen / 4) + 3; *out = malloc (needlen); if (!*out) return true; if (!base64_decode_ctx (ctx, in, inlen, *out, &needlen)) { free (*out); *out = NULL; return false; } if (outlen) *outlen = needlen; return true; } gsasl-1.8.1/lib/gl/strndup.c0000644000000000000000000000205413516251671012544 00000000000000/* A replacement function, for systems that lack strndup. Copyright (C) 1996-1998, 2001-2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include #include #include char * strndup (char const *s, size_t n) { size_t len = strnlen (s, n); char *new = malloc (len + 1); if (new == NULL) return NULL; new[len] = '\0'; return memcpy (new, s, len); } gsasl-1.8.1/lib/gl/vasprintf.c0000644000000000000000000000252213516251671013061 00000000000000/* Formatted output to strings. Copyright (C) 1999, 2002, 2006-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include /* Specification. */ #ifdef IN_LIBASPRINTF # include "vasprintf.h" #else # include #endif #include #include #include #include "vasnprintf.h" int vasprintf (char **resultp, const char *format, va_list args) { size_t length; char *result = vasnprintf (NULL, &length, format, args); if (result == NULL) return -1; if (length > INT_MAX) { free (result); errno = EOVERFLOW; return -1; } *resultp = result; /* Return the number of resulting bytes, excluding the trailing NUL. */ return length; } gsasl-1.8.1/lib/gl/arg-nonnull.h0000644000000000000000000000233013516251665013306 00000000000000/* A C macro for declaring that specific arguments must not be NULL. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools that the values passed as arguments n, ..., m must be non-NULL pointers. n = 1 stands for the first argument, n = 2 for the second argument etc. */ #ifndef _GL_ARG_NONNULL # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) # else # define _GL_ARG_NONNULL(params) # endif #endif gsasl-1.8.1/lib/gl/stdio-impl.h0000644000000000000000000001731713516251666013147 00000000000000/* Implementation details of FILE streams. Copyright (C) 2007-2008, 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Many stdio implementations have the same logic and therefore can share the same implementation of stdio extension API, except that some fields have different naming conventions, or their access requires some casts. */ /* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this problem by defining it ourselves. FIXME: Do not rely on glibc internals. */ #if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN # define _IO_IN_BACKUP 0x100 #endif /* BSD stdio derived implementations. */ #if defined __NetBSD__ /* NetBSD */ /* Get __NetBSD_Version__. */ # include #endif #include /* For detecting Plan9. */ #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __DragonFly__ /* DragonFly */ /* See . */ # define fp_ ((struct { struct __FILE_public pub; \ struct { unsigned char *_base; int _size; } _bf; \ void *cookie; \ void *_close; \ void *_read; \ void *_seek; \ void *_write; \ struct { unsigned char *_base; int _size; } _ub; \ int _ur; \ unsigned char _ubuf[3]; \ unsigned char _nbuf[1]; \ struct { unsigned char *_base; int _size; } _lb; \ int _blksize; \ fpos_t _offset; \ /* More fields, not relevant here. */ \ } *) fp) /* See . */ # define _p pub._p # define _flags pub._flags # define _r pub._r # define _w pub._w # elif defined __ANDROID__ /* Android */ # ifdef __LP64__ # define _gl_flags_file_t int # else # define _gl_flags_file_t short # endif /* Up to this commit from 2015-10-12 the innards of FILE were public, and fp_ub could be defined like for OpenBSD, see and . After this commit, the innards of FILE are hidden. */ # define fp_ ((struct { unsigned char *_p; \ int _r; \ int _w; \ _gl_flags_file_t _flags; \ _gl_flags_file_t _file; \ struct { unsigned char *_base; size_t _size; } _bf; \ int _lbfsize; \ void *_cookie; \ void *_close; \ void *_read; \ void *_seek; \ void *_write; \ struct { unsigned char *_base; size_t _size; } _ext; \ unsigned char *_up; \ int _ur; \ unsigned char _ubuf[3]; \ unsigned char _nbuf[1]; \ struct { unsigned char *_base; size_t _size; } _lb; \ int _blksize; \ fpos_t _offset; \ /* More fields, not relevant here. */ \ } *) fp) # else # define fp_ fp # endif # if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __minix /* NetBSD >= 1.5ZA, OpenBSD, Minix 3 */ /* See and and */ struct __sfileext { struct __sbuf _ub; /* ungetc buffer */ /* More fields, not relevant here. */ }; # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub # elif defined __ANDROID__ /* Android */ struct __sfileext { struct { unsigned char *_base; size_t _size; } _ub; /* ungetc buffer */ /* More fields, not relevant here. */ }; # define fp_ub ((struct __sfileext *) fp_->_ext._base)->_ub # else /* FreeBSD, NetBSD <= 1.5Z, DragonFly, Mac OS X, Cygwin */ # define fp_ub fp_->_ub # endif # define HASUB(fp) (fp_ub._base != NULL) # if defined __ANDROID__ /* Android */ /* Needed after this commit from 2016-01-25 */ # ifndef __SEOF # define __SLBF 1 # define __SNBF 2 # define __SRD 4 # define __SWR 8 # define __SRW 0x10 # define __SEOF 0x20 # define __SERR 0x40 # endif # ifndef __SOFF # define __SOFF 0x1000 # endif # endif #endif /* SystemV derived implementations. */ #ifdef __TANDEM /* NonStop Kernel */ # ifndef _IOERR /* These values were determined by the program 'stdioext-flags' at . */ # define _IOERR 0x40 # define _IOREAD 0x80 # define _IOWRT 0x4 # define _IORW 0x100 # endif #endif #if defined _IOERR # if defined __sun && defined _LP64 /* Solaris/{SPARC,AMD64} 64-bit */ # define fp_ ((struct { unsigned char *_ptr; \ unsigned char *_base; \ unsigned char *_end; \ long _cnt; \ int _file; \ unsigned int _flag; \ } *) fp) # elif defined __VMS /* OpenVMS */ # define fp_ ((struct _iobuf *) fp) # else # define fp_ fp # endif # if defined _SCO_DS /* OpenServer */ # define _cnt __cnt # define _ptr __ptr # define _base __base # define _flag __flag # endif #elif defined _WIN32 && ! defined __CYGWIN__ /* newer Windows with MSVC */ /* does not define the innards of FILE any more. */ # define WINDOWS_OPAQUE_FILE struct _gl_real_FILE { /* Note: Compared to older Windows and to mingw, it has the fields _base and _cnt swapped. */ unsigned char *_ptr; unsigned char *_base; int _cnt; int _flag; int _file; int _charbuf; int _bufsiz; }; # define fp_ ((struct _gl_real_FILE *) fp) /* These values were determined by a program similar to the one at . */ # define _IOREAD 0x1 # define _IOWRT 0x2 # define _IORW 0x4 # define _IOEOF 0x8 # define _IOERR 0x10 #endif gsasl-1.8.1/lib/gl/gettext.h0000644000000000000000000002501313516251670012535 00000000000000/* Convenience header for conditional use of GNU . Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _LIBGETTEXT_H #define _LIBGETTEXT_H 1 /* NLS can be disabled through the configure --disable-nls option or through "#define ENABLE NLS 0" before including this file. */ #if defined ENABLE_NLS && ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include /* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by the gettext() and ngettext() macros. This is an alternative to calling textdomain(), and is useful for libraries. */ # ifdef DEFAULT_TEXT_DOMAIN # undef gettext # define gettext(Msgid) \ dgettext (DEFAULT_TEXT_DOMAIN, Msgid) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ dngettext (DEFAULT_TEXT_DOMAIN, Msgid1, Msgid2, N) # endif #else /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. We don't include as well because people using "gettext.h" will not include , and also including would fail on SunOS 4, whereas is OK. */ #if defined(__sun) # include #endif /* Many header files from the libstdc++ coming with g++ 3.3 or newer include , which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. */ #if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3) # include # if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H # include # endif #endif /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. On pre-ANSI systems without 'const', the config.h file is supposed to contain "#define const". */ # undef gettext # define gettext(Msgid) ((const char *) (Msgid)) # undef dgettext # define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid)) # undef dcgettext # define dcgettext(Domainname, Msgid, Category) \ ((void) (Category), dgettext (Domainname, Msgid)) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ ((N) == 1 \ ? ((void) (Msgid2), (const char *) (Msgid1)) \ : ((void) (Msgid1), (const char *) (Msgid2))) # undef dngettext # define dngettext(Domainname, Msgid1, Msgid2, N) \ ((void) (Domainname), ngettext (Msgid1, Msgid2, N)) # undef dcngettext # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) # undef textdomain # define textdomain(Domainname) ((const char *) (Domainname)) # undef bindtextdomain # define bindtextdomain(Domainname, Dirname) \ ((void) (Domainname), (const char *) (Dirname)) # undef bind_textdomain_codeset # define bind_textdomain_codeset(Domainname, Codeset) \ ((void) (Domainname), (const char *) (Codeset)) #endif /* Prefer gnulib's setlocale override over libintl's setlocale override. */ #ifdef GNULIB_defined_setlocale # undef setlocale # define setlocale rpl_setlocale #endif /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time translation is done at a different place in the code. The argument, String, should be a literal string. Concatenated strings and other string expressions won't work. The macro's expansion is not parenthesized, so that it is suitable as initializer for static 'char[]' or 'const char[]' variables. */ #define gettext_noop(String) String /* The separator between msgctxt and msgid in a .mo file. */ #define GETTEXT_CONTEXT_GLUE "\004" /* Pseudo function calls, taking a MSGCTXT and a MSGID instead of just a MSGID. MSGCTXT and MSGID must be string literals. MSGCTXT should be short and rarely need to change. The letter 'p' stands for 'particular' or 'special'. */ #ifdef DEFAULT_TEXT_DOMAIN # define pgettext(Msgctxt, Msgid) \ pgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #else # define pgettext(Msgctxt, Msgid) \ pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #endif #define dpgettext(Domainname, Msgctxt, Msgid) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) #ifdef DEFAULT_TEXT_DOMAIN # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #else # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #endif #define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * pgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, int category) { const char *translation = dcgettext (domain, msg_ctxt_id, category); if (translation == msg_ctxt_id) return msgid; else return translation; } #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * npgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { const char *translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); if (translation == msg_ctxt_id || translation == msgid_plural) return (n == 1 ? msgid : msgid_plural); else return translation; } /* The same thing extended for non-constant arguments. Here MSGCTXT and MSGID can be arbitrary expressions. But for string literals these macros are less efficient than those above. */ #include /* GNULIB_NO_VLA can be defined to disable use of VLAs even if supported. This relates to the -Wvla and -Wvla-larger-than warnings, enabled in the default GCC many warnings set. This allows programs to disable use of VLAs, which may be unintended, or may be awkward to support portably, or may have security implications due to non-deterministic stack usage. */ #if (!defined GNULIB_NO_VLA \ && (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ /* || (__STDC_VERSION__ == 199901L && !defined __HP_cc) || (__STDC_VERSION__ >= 201112L && !defined __STDC_NO_VLA__) */ )) # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 #else # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 #endif #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS #include #endif #define pgettext_expr(Msgctxt, Msgid) \ dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES) #define dpgettext_expr(Domainname, Msgctxt, Msgid) \ dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcgettext (domain, msg_ctxt_id, category); found_translation = (translation != msg_ctxt_id); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return msgid; } #define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcnpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); found_translation = !(translation == msg_ctxt_id || translation == msgid_plural); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return (n == 1 ? msgid : msgid_plural); } #endif /* _LIBGETTEXT_H */ gsasl-1.8.1/lib/gl/minmax.h0000644000000000000000000000452013516251671012343 00000000000000/* MIN, MAX macros. Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _MINMAX_H #define _MINMAX_H /* Note: MIN, MAX are also defined in on some systems (glibc, IRIX, HP-UX, OSF/1). Therefore you might get warnings about MIN, MAX macro redefinitions on some systems; the workaround is to #include this file as the last one among the #include list. */ /* Before we define the following symbols we get the file since otherwise we get redefinitions on some systems if is included after this file. Likewise for . If more than one of these system headers define MIN and MAX, pick just one of the headers (because the definitions most likely are the same). */ #if HAVE_MINMAX_IN_LIMITS_H # include #elif HAVE_MINMAX_IN_SYS_PARAM_H # include #endif /* Note: MIN and MAX should be used with two arguments of the same type. They might not return the minimum and maximum of their two arguments, if the arguments have different types or have unusual floating-point values. For example, on a typical host with 32-bit 'int', 64-bit 'long long', and 64-bit IEEE 754 'double' types: MAX (-1, 2147483648) returns 4294967295. MAX (9007199254740992.0, 9007199254740993) returns 9007199254740992.0. MAX (NaN, 0.0) returns 0.0. MAX (+0.0, -0.0) returns -0.0. and in each case the answer is in some sense bogus. */ /* MAX(a,b) returns the maximum of A and B. */ #ifndef MAX # define MAX(a,b) ((a) > (b) ? (a) : (b)) #endif /* MIN(a,b) returns the minimum of A and B. */ #ifndef MIN # define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif #endif /* _MINMAX_H */ gsasl-1.8.1/lib/gl/stat-w32.h0000644000000000000000000000311513516251666012441 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _STAT_W32_H #define _STAT_W32_H 1 /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC extern struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft); #else extern time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft); #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ extern int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf); /* Bitmasks for st_mode. */ #define S_IREAD_UGO (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6)) #define S_IWRITE_UGO (_S_IWRITE | (_S_IWRITE >> 3) | (_S_IWRITE >> 6)) #define S_IEXEC_UGO (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6)) #endif /* _STAT_W32_H */ gsasl-1.8.1/lib/gl/memchr.valgrind0000644000000000000000000000217113516251671013704 00000000000000# Suppress a valgrind message about use of uninitialized memory in memchr(). # Copyright (C) 2009-2019 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . # POSIX states that when the character is found, memchr must not read extra # bytes in an overestimated length (for example, where memchr is used to # implement strnlen). However, we use a safe word read to provide a speedup. { memchr-value4 Memcheck:Value4 fun:rpl_memchr } { memchr-value8 Memcheck:Value8 fun:rpl_memchr } gsasl-1.8.1/lib/gl/fpurge.c0000644000000000000000000001172513516251665012345 00000000000000/* Flushing buffers of a FILE stream. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if HAVE___FPURGE /* glibc >= 2.2, Haiku, Solaris >= 7, Android API >= 23 */ # include #endif #include #include "stdio-impl.h" int fpurge (FILE *fp) { #if HAVE___FPURGE /* glibc >= 2.2, Haiku, Solaris >= 7, Android API >= 23, musl libc */ __fpurge (fp); /* The __fpurge function does not have a return value. */ return 0; #elif HAVE_FPURGE /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin 1.7 */ /* Call the system's fpurge function. */ # undef fpurge # if !HAVE_DECL_FPURGE extern int fpurge (FILE *); # endif int result = fpurge (fp); # if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ if (result == 0) /* Correct the invariants that fpurge broke. on BSD systems says: "The following always hold: if _flags & __SRD, _w is 0." If this invariant is not fulfilled and the stream is read-write but currently reading, subsequent putc or fputc calls will write directly into the buffer, although they shouldn't be allowed to. */ if ((fp_->_flags & __SRD) != 0) fp_->_w = 0; # endif return result; #else /* Most systems provide FILE as a struct and the necessary bitmask in , because they need it for implementing getc() and putc() as fast macros. */ # if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ fp->_IO_read_end = fp->_IO_read_ptr; fp->_IO_write_ptr = fp->_IO_write_base; /* Avoid memory leak when there is an active ungetc buffer. */ if (fp->_IO_save_base != NULL) { free (fp->_IO_save_base); fp->_IO_save_base = NULL; } return 0; # elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ fp_->_p = fp_->_bf._base; fp_->_r = 0; fp_->_w = ((fp_->_flags & (__SLBF | __SNBF | __SRD)) == 0 /* fully buffered and not currently reading? */ ? fp_->_bf._size : 0); /* Avoid memory leak when there is an active ungetc buffer. */ if (fp_ub._base != NULL) { if (fp_ub._base != fp_->_ubuf) free (fp_ub._base); fp_ub._base = NULL; } return 0; # elif defined __EMX__ /* emx+gcc */ fp->_ptr = fp->_buffer; fp->_rcount = 0; fp->_wcount = 0; fp->_ungetc_count = 0; return 0; # elif defined __minix /* Minix */ fp->_ptr = fp->_buf; if (fp->_ptr != NULL) fp->_count = 0; return 0; # elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */ fp_->_ptr = fp_->_base; if (fp_->_ptr != NULL) fp_->_cnt = 0; return 0; # elif defined __UCLIBC__ /* uClibc */ # ifdef __STDIO_BUFFERS if (fp->__modeflags & __FLAG_WRITING) fp->__bufpos = fp->__bufstart; else if (fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) fp->__bufpos = fp->__bufread; # endif return 0; # elif defined __QNX__ /* QNX */ fp->_Rback = fp->_Back + sizeof (fp->_Back); fp->_Rsave = NULL; if (fp->_Mode & 0x2000 /* _MWRITE */) /* fp->_Buf <= fp->_Next <= fp->_Wend */ fp->_Next = fp->_Buf; else /* fp->_Buf <= fp->_Next <= fp->_Rend */ fp->_Rend = fp->_Next; return 0; # elif defined __MINT__ /* Atari FreeMiNT */ if (fp->__pushed_back) { fp->__bufp = fp->__pushback_bufp; fp->__pushed_back = 0; } /* Preserve the current file position. */ if (fp->__target != -1) fp->__target += fp->__bufp - fp->__buffer; fp->__bufp = fp->__buffer; /* Nothing in the buffer, next getc is nontrivial. */ fp->__get_limit = fp->__bufp; /* Nothing in the buffer, next putc is nontrivial. */ fp->__put_limit = fp->__buffer; return 0; # elif defined EPLAN9 /* Plan9 */ fp->rp = fp->wp = fp->lp = fp->buf; return 0; # else # error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." # endif #endif } gsasl-1.8.1/lib/gl/lseek.c0000644000000000000000000000350013516251666012151 00000000000000/* An lseek() function that detects pipes. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Windows platforms. */ /* Get GetFileType. */ # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #else # include #endif #include #undef lseek off_t rpl_lseek (int fd, off_t offset, int whence) { #if defined _WIN32 && ! defined __CYGWIN__ /* mingw lseek mistakenly succeeds on pipes, sockets, and terminals. */ HANDLE h = (HANDLE) _get_osfhandle (fd); if (h == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } if (GetFileType (h) != FILE_TYPE_DISK) { errno = ESPIPE; return -1; } #else /* BeOS lseek mistakenly succeeds on pipes... */ struct stat statbuf; if (fstat (fd, &statbuf) < 0) return -1; if (!S_ISREG (statbuf.st_mode)) { errno = ESPIPE; return -1; } #endif #if _GL_WINDOWS_64_BIT_OFF_T return _lseeki64 (fd, offset, whence); #else return lseek (fd, offset, whence); #endif } gsasl-1.8.1/lib/gl/md5.h0000644000000000000000000001113213516251671011534 00000000000000/* Declaration of functions and data types used for MD5 sum computing library functions. Copyright (C) 1995-1997, 1999-2001, 2004-2006, 2008-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _MD5_H #define _MD5_H 1 #include #include # if HAVE_OPENSSL_MD5 # include # endif #define MD5_DIGEST_SIZE 16 #define MD5_BLOCK_SIZE 64 #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ # define __GNUC_PREREQ(maj, min) \ ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) # else # define __GNUC_PREREQ(maj, min) 0 # endif #endif #ifndef __THROW # if defined __cplusplus && __GNUC_PREREQ (2,8) # define __THROW throw () # else # define __THROW # endif #endif #ifndef _LIBC # define __md5_buffer md5_buffer # define __md5_finish_ctx md5_finish_ctx # define __md5_init_ctx md5_init_ctx # define __md5_process_block md5_process_block # define __md5_process_bytes md5_process_bytes # define __md5_read_ctx md5_read_ctx # define __md5_stream md5_stream #endif # ifdef __cplusplus extern "C" { # endif # if HAVE_OPENSSL_MD5 # define GL_OPENSSL_NAME 5 # include "gl_openssl.h" # else /* Structure to save state of computation between the single steps. */ struct md5_ctx { uint32_t A; uint32_t B; uint32_t C; uint32_t D; uint32_t total[2]; uint32_t buflen; /* ≥ 0, ≤ 128 */ uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ }; /* * The following three functions are build up the low level used in * the functions 'md5_stream' and 'md5_buffer'. */ /* Initialize structure containing state of computation. (RFC 1321, 3.3: Step 3) */ extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW; /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ extern void __md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) __THROW; /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 64. */ extern void __md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) __THROW; /* Process the remaining bytes in the buffer and put result from CTX in first 16 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) __THROW; /* Put result from CTX in first 16 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) __THROW; /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *__md5_buffer (const char *buffer, size_t len, void *resblock) __THROW; # endif /* Compute MD5 message digest for bytes read from STREAM. STREAM is an open file stream. Regular files are handled more efficiently. The contents of STREAM from its current position to its end will be read. The case that the last operation on STREAM was an 'ungetc' is not supported. The resulting message digest number will be written into the 16 bytes beginning at RESBLOCK. */ extern int __md5_stream (FILE *stream, void *resblock) __THROW; # ifdef __cplusplus } # endif #endif /* md5.h */ /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/lib/gl/fseeko.c0000644000000000000000000001402213516251665012322 00000000000000/* An fseeko() function that, together with fflush(), is POSIX compliant. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include /* Specification. */ #include /* Get off_t, lseek, _POSIX_VERSION. */ #include #include "stdio-impl.h" int fseeko (FILE *fp, off_t offset, int whence) #undef fseeko #if !HAVE_FSEEKO # undef fseek # define fseeko fseek #endif #if _GL_WINDOWS_64_BIT_OFF_T # undef fseeko # if HAVE__FSEEKI64 && HAVE_DECL__FSEEKI64 /* msvc, mingw since msvcrt8.0, mingw64 */ # define fseeko _fseeki64 # else /* mingw before msvcrt8.0 */ # define fseeko fseeko64 # endif #endif { #if LSEEK_PIPE_BROKEN /* mingw gives bogus answers rather than failure on non-seekable files. */ if (lseek (fileno (fp), 0, SEEK_CUR) == -1) return EOF; #endif /* These tests are based on fpurge.c. */ #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ if (fp->_IO_read_end == fp->_IO_read_ptr && fp->_IO_write_ptr == fp->_IO_write_base && fp->_IO_save_base == NULL) #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __SL64 && defined __SCLE /* Cygwin */ if ((fp->_flags & __SL64) == 0) { /* Cygwin 1.5.0 through 1.5.24 failed to open stdin in 64-bit mode; but has an fseeko that requires 64-bit mode. */ FILE *tmp = fopen ("/dev/null", "r"); if (!tmp) return -1; fp->_flags |= __SL64; fp->_seek64 = tmp->_seek64; fclose (tmp); } # endif if (fp_->_p == fp_->_bf._base && fp_->_r == 0 && fp_->_w == ((fp_->_flags & (__SLBF | __SNBF | __SRD)) == 0 /* fully buffered and not currently reading? */ ? fp_->_bf._size : 0) && fp_ub._base == NULL) #elif defined __EMX__ /* emx+gcc */ if (fp->_ptr == fp->_buffer && fp->_rcount == 0 && fp->_wcount == 0 && fp->_ungetc_count == 0) #elif defined __minix /* Minix */ if (fp_->_ptr == fp_->_buf && (fp_->_ptr == NULL || fp_->_count == 0)) #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */ if (fp_->_ptr == fp_->_base && (fp_->_ptr == NULL || fp_->_cnt == 0)) #elif defined __UCLIBC__ /* uClibc */ if (((fp->__modeflags & __FLAG_WRITING) == 0 || fp->__bufpos == fp->__bufstart) && ((fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) == 0 || fp->__bufpos == fp->__bufread)) #elif defined __QNX__ /* QNX */ if ((fp->_Mode & 0x2000 /* _MWRITE */ ? fp->_Next == fp->_Buf : fp->_Next == fp->_Rend) && fp->_Rback == fp->_Back + sizeof (fp->_Back) && fp->_Rsave == NULL) #elif defined __MINT__ /* Atari FreeMiNT */ if (fp->__bufp == fp->__buffer && fp->__get_limit == fp->__bufp && fp->__put_limit == fp->__bufp && !fp->__pushed_back) #elif defined EPLAN9 /* Plan9 */ if (fp->rp == fp->buf && fp->wp == fp->buf) #elif FUNC_FFLUSH_STDIN < 0 && 200809 <= _POSIX_VERSION /* Cross-compiling to some other system advertising conformance to POSIX.1-2008 or later. Assume fseeko and fflush work as advertised. If this assumption is incorrect, please report the bug to bug-gnulib. */ if (0) #else #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." #endif { /* We get here when an fflush() call immediately preceded this one (or if ftell() has created buffers but no I/O has occurred on a newly-opened stream). We know there are no buffers. */ off_t pos = lseek (fileno (fp), offset, whence); if (pos == -1) { #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ fp_->_flags &= ~__SOFF; #endif return -1; } #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ fp->_flags &= ~_IO_EOF_SEEN; fp->_offset = pos; #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000) || defined __minix /* fp_->_offset is typed as an integer. */ fp_->_offset = pos; # else /* fp_->_offset is an fpos_t. */ { /* Use a union, since on NetBSD, the compilation flags determine whether fpos_t is typedef'd to off_t or a struct containing a single off_t member. */ union { fpos_t f; off_t o; } u; u.o = pos; fp_->_offset = u.f; } # endif fp_->_flags |= __SOFF; fp_->_flags &= ~__SEOF; #elif defined __EMX__ /* emx+gcc */ fp->_flags &= ~_IOEOF; #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */ fp_->_flag &= ~_IOEOF; #elif defined __MINT__ /* Atari FreeMiNT */ fp->__offset = pos; fp->__eof = 0; #endif return 0; } return fseeko (fp, offset, whence); } gsasl-1.8.1/lib/gl/limits.in.h0000644000000000000000000000742713516251666012775 00000000000000/* A GNU-like . Copyright 2016-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _@GUARD_PREFIX@_LIMITS_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_LIMITS_H@ #ifndef _@GUARD_PREFIX@_LIMITS_H #define _@GUARD_PREFIX@_LIMITS_H #ifndef LLONG_MIN # if defined LONG_LONG_MIN /* HP-UX 11.31 */ # define LLONG_MIN LONG_LONG_MIN # elif defined LONGLONG_MIN /* IRIX 6.5 */ # define LLONG_MIN LONGLONG_MIN # elif defined __GNUC__ # define LLONG_MIN (- __LONG_LONG_MAX__ - 1LL) # endif #endif #ifndef LLONG_MAX # if defined LONG_LONG_MAX /* HP-UX 11.31 */ # define LLONG_MAX LONG_LONG_MAX # elif defined LONGLONG_MAX /* IRIX 6.5 */ # define LLONG_MAX LONGLONG_MAX # elif defined __GNUC__ # define LLONG_MAX __LONG_LONG_MAX__ # endif #endif #ifndef ULLONG_MAX # if defined ULONG_LONG_MAX /* HP-UX 11.31 */ # define ULLONG_MAX ULONG_LONG_MAX # elif defined ULONGLONG_MAX /* IRIX 6.5 */ # define ULLONG_MAX ULONGLONG_MAX # elif defined __GNUC__ # define ULLONG_MAX (__LONG_LONG_MAX__ * 2ULL + 1ULL) # endif #endif /* The number of usable bits in an unsigned or signed integer type with minimum value MIN and maximum value MAX, as an int expression suitable in #if. Cover all known practical hosts. This implementation exploits the fact that MAX is 1 less than a power of 2, and merely counts the number of 1 bits in MAX; "COBn" means "count the number of 1 bits in the low-order n bits"). */ #define _GL_INTEGER_WIDTH(min, max) (((min) < 0) + _GL_COB128 (max)) #define _GL_COB128(n) (_GL_COB64 ((n) >> 31 >> 31 >> 2) + _GL_COB64 (n)) #define _GL_COB64(n) (_GL_COB32 ((n) >> 31 >> 1) + _GL_COB32 (n)) #define _GL_COB32(n) (_GL_COB16 ((n) >> 16) + _GL_COB16 (n)) #define _GL_COB16(n) (_GL_COB8 ((n) >> 8) + _GL_COB8 (n)) #define _GL_COB8(n) (_GL_COB4 ((n) >> 4) + _GL_COB4 (n)) #define _GL_COB4(n) (!!((n) & 8) + !!((n) & 4) + !!((n) & 2) + !!((n) & 1)) #ifndef WORD_BIT /* Assume 'int' is 32 bits wide. */ # define WORD_BIT 32 #endif #ifndef LONG_BIT /* Assume 'long' is 32 or 64 bits wide. */ # if LONG_MAX == INT_MAX # define LONG_BIT 32 # else # define LONG_BIT 64 # endif #endif /* Macros specified by ISO/IEC TS 18661-1:2014. */ #if (! defined ULLONG_WIDTH \ && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__)) # define CHAR_WIDTH _GL_INTEGER_WIDTH (CHAR_MIN, CHAR_MAX) # define SCHAR_WIDTH _GL_INTEGER_WIDTH (SCHAR_MIN, SCHAR_MAX) # define UCHAR_WIDTH _GL_INTEGER_WIDTH (0, UCHAR_MAX) # define SHRT_WIDTH _GL_INTEGER_WIDTH (SHRT_MIN, SHRT_MAX) # define USHRT_WIDTH _GL_INTEGER_WIDTH (0, USHRT_MAX) # define INT_WIDTH _GL_INTEGER_WIDTH (INT_MIN, INT_MAX) # define UINT_WIDTH _GL_INTEGER_WIDTH (0, UINT_MAX) # define LONG_WIDTH _GL_INTEGER_WIDTH (LONG_MIN, LONG_MAX) # define ULONG_WIDTH _GL_INTEGER_WIDTH (0, ULONG_MAX) # define LLONG_WIDTH _GL_INTEGER_WIDTH (LLONG_MIN, LLONG_MAX) # define ULLONG_WIDTH _GL_INTEGER_WIDTH (0, ULLONG_MAX) #endif /* !ULLONG_WIDTH && (_GNU_SOURCE || __STDC_WANT_IEC_60559_BFP_EXT__) */ #endif /* _@GUARD_PREFIX@_LIMITS_H */ #endif /* _@GUARD_PREFIX@_LIMITS_H */ gsasl-1.8.1/lib/gl/fflush.c0000644000000000000000000001713013516251665012340 00000000000000/* fflush.c -- allow flushing input streams Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake. */ #include /* Specification. */ #include #include #include #include "freading.h" #include "stdio-impl.h" #include "unused-parameter.h" #undef fflush #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */ static void clear_ungetc_buffer_preserving_position (FILE *fp) { if (fp->_flags & _IO_IN_BACKUP) /* _IO_free_backup_area is a bit complicated. Simply call fseek. */ fseeko (fp, 0, SEEK_CUR); } #else /* Clear the stream's ungetc buffer. May modify the value of ftello (fp). */ static void clear_ungetc_buffer (FILE *fp) { # if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ if (HASUB (fp)) { fp_->_p += fp_->_r; fp_->_r = 0; } # elif defined __EMX__ /* emx+gcc */ if (fp->_ungetc_count > 0) { fp->_ungetc_count = 0; fp->_rcount = - fp->_rcount; } # elif defined _IOERR /* Minix, AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */ /* Nothing to do. */ # else /* other implementations */ fseeko (fp, 0, SEEK_CUR); # endif } #endif #if ! (defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1) /* GNU libc, BeOS, Haiku, Linux libc5 */ # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ static int disable_seek_optimization (FILE *fp) { int saved_flags = fp_->_flags & (__SOPT | __SNPT); fp_->_flags = (fp_->_flags & ~__SOPT) | __SNPT; return saved_flags; } static void restore_seek_optimization (FILE *fp, int saved_flags) { fp_->_flags = (fp_->_flags & ~(__SOPT | __SNPT)) | saved_flags; } # else static void update_fpos_cache (FILE *fp _GL_UNUSED_PARAMETER, off_t pos _GL_UNUSED_PARAMETER) { # if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __CYGWIN__ /* fp_->_offset is typed as an integer. */ fp_->_offset = pos; # else /* fp_->_offset is an fpos_t. */ /* Use a union, since on NetBSD, the compilation flags determine whether fpos_t is typedef'd to off_t or a struct containing a single off_t member. */ union { fpos_t f; off_t o; } u; u.o = pos; fp_->_offset = u.f; # endif fp_->_flags |= __SOFF; # endif } # endif #endif /* Flush all pending data on STREAM according to POSIX rules. Both output and seekable input streams are supported. */ int rpl_fflush (FILE *stream) { /* When stream is NULL, POSIX and C99 only require flushing of "output streams and update streams in which the most recent operation was not input", and all implementations do this. When stream is "an output stream or an update stream in which the most recent operation was not input", POSIX and C99 requires that fflush writes out any buffered data, and all implementations do this. When stream is, however, an input stream or an update stream in which the most recent operation was input, C99 specifies nothing, and POSIX only specifies behavior if the stream is seekable. mingw, in particular, drops the input buffer, leaving the file descriptor positioned at the end of the input buffer. I.e. ftell (stream) is lost. We don't want to call the implementation's fflush in this case. We test ! freading (stream) here, rather than fwriting (stream), because what we need to know is whether the stream holds a "read buffer", and on mingw this is indicated by _IOREAD, regardless of _IOWRT. */ if (stream == NULL || ! freading (stream)) return fflush (stream); #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ clear_ungetc_buffer_preserving_position (stream); return fflush (stream); #else { /* Notes about the file-position indicator: 1) The file position indicator is incremented by fgetc() and decremented by ungetc(): "... the fgetc() function shall ... advance the associated file position indicator for the stream ..." "The file-position indicator is decremented by each successful call to ungetc()..." 2) says: "The value of the file-position indicator for the stream after reading or discarding all pushed-back bytes shall be the same as it was before the bytes were pushed back." Here we are discarding all pushed-back bytes. But more specifically, 3) says: "[After fflush(),] the file offset of the underlying open file description shall be set to the file position of the stream, and any characters pushed back onto the stream by ungetc() ... shall be discarded." */ /* POSIX does not specify fflush behavior for non-seekable input streams. Some implementations purge unread data, some return EBADF, some do nothing. */ off_t pos = ftello (stream); if (pos == -1) { errno = EBADF; return EOF; } /* Clear the ungetc buffer. */ clear_ungetc_buffer (stream); /* To get here, we must be flushing a seekable input stream, so the semantics of fpurge are now appropriate to clear the buffer. To avoid losing data, the lseek is also necessary. */ { int result = fpurge (stream); if (result != 0) return result; } # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ { /* Disable seek optimization for the next fseeko call. This tells the following fseeko call to seek to the desired position directly, rather than to seek to a block-aligned boundary. */ int saved_flags = disable_seek_optimization (stream); int result = fseeko (stream, pos, SEEK_SET); restore_seek_optimization (stream, saved_flags); return result; } # else pos = lseek (fileno (stream), pos, SEEK_SET); if (pos == -1) return EOF; /* After a successful lseek, update the file descriptor's position cache in the stream. */ update_fpos_cache (stream, pos); return 0; # endif } #endif } gsasl-1.8.1/lib/gl/unistd.c0000644000000000000000000000014713516251671012354 00000000000000#include #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE #include "unistd.h" typedef int dummy; gsasl-1.8.1/lib/gl/sha1.c0000644000000000000000000003320513516251671011703 00000000000000/* sha1.c - Functions to compute SHA1 message digest of files or memory blocks according to the NIST specification FIPS-180-1. Copyright (C) 2000-2001, 2003-2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Scott G. Miller Credits: Robert Klep -- Expansion function fix */ #include #if HAVE_OPENSSL_SHA1 # define GL_OPENSSL_INLINE _GL_EXTERN_INLINE #endif #include "sha1.h" #include #include #include #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #include #ifdef WORDS_BIGENDIAN # define SWAP(n) (n) #else # define SWAP(n) bswap_32 (n) #endif #define BLOCKSIZE 32768 #if BLOCKSIZE % 64 != 0 # error "invalid BLOCKSIZE" #endif #if ! HAVE_OPENSSL_SHA1 /* This array contains the bytes used to pad the buffer to the next 64-byte boundary. (RFC 1321, 3.1: Step 1) */ static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; /* Take a pointer to a 160 bit block of data (five 32 bit ints) and initialize it to the start constants of the SHA1 algorithm. This must be called before using hash in the call to sha1_hash. */ void sha1_init_ctx (struct sha1_ctx *ctx) { ctx->A = 0x67452301; ctx->B = 0xefcdab89; ctx->C = 0x98badcfe; ctx->D = 0x10325476; ctx->E = 0xc3d2e1f0; ctx->total[0] = ctx->total[1] = 0; ctx->buflen = 0; } /* Copy the 4 byte value from v into the memory location pointed to by *cp, If your architecture allows unaligned access this is equivalent to * (uint32_t *) cp = v */ static void set_uint32 (char *cp, uint32_t v) { memcpy (cp, &v, sizeof v); } /* Put result from CTX in first 20 bytes following RESBUF. The result must be in little endian byte order. */ void * sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) { char *r = resbuf; set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); set_uint32 (r + 4 * sizeof ctx->E, SWAP (ctx->E)); return resbuf; } /* Process the remaining bytes in the internal buffer and the usual prolog according to the standard and write the result to RESBUF. */ void * sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) { /* Take yet unprocessed bytes into account. */ uint32_t bytes = ctx->buflen; size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; /* Now count remaining bytes. */ ctx->total[0] += bytes; if (ctx->total[0] < bytes) ++ctx->total[1]; /* Put the 64-bit file length in *bits* at the end of the buffer. */ ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3); memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); /* Process last bytes. */ sha1_process_block (ctx->buffer, size * 4, ctx); return sha1_read_ctx (ctx, resbuf); } #endif #ifdef GL_COMPILE_CRYPTO_STREAM #include "af_alg.h" /* Compute SHA1 message digest for bytes read from STREAM. The resulting message digest number will be written into the 20 bytes beginning at RESBLOCK. */ int sha1_stream (FILE *stream, void *resblock) { switch (afalg_stream (stream, "sha1", resblock, SHA1_DIGEST_SIZE)) { case 0: return 0; case -EIO: return 1; } char *buffer = malloc (BLOCKSIZE + 72); if (!buffer) return 1; struct sha1_ctx ctx; sha1_init_ctx (&ctx); size_t sum; /* Iterate over full file contents. */ while (1) { /* We read the file in blocks of BLOCKSIZE bytes. One call of the computation function processes the whole buffer so that with the next round of the loop another block can be read. */ size_t n; sum = 0; /* Read block. Take care for partial reads. */ while (1) { /* Either process a partial fread() from this loop, or the fread() in afalg_stream may have gotten EOF. We need to avoid a subsequent fread() as EOF may not be sticky. For details of such systems, see: https://sourceware.org/bugzilla/show_bug.cgi?id=1190 */ if (feof (stream)) goto process_partial_block; n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); sum += n; if (sum == BLOCKSIZE) break; if (n == 0) { /* Check for the error flag IFF N == 0, so that we don't exit the loop after a partial read due to e.g., EAGAIN or EWOULDBLOCK. */ if (ferror (stream)) { free (buffer); return 1; } goto process_partial_block; } } /* Process buffer with BLOCKSIZE bytes. Note that BLOCKSIZE % 64 == 0 */ sha1_process_block (buffer, BLOCKSIZE, &ctx); } process_partial_block:; /* Process any remaining bytes. */ if (sum > 0) sha1_process_bytes (buffer, sum, &ctx); /* Construct result in desired memory. */ sha1_finish_ctx (&ctx, resblock); free (buffer); return 0; } #endif #if ! HAVE_OPENSSL_SHA1 /* Compute SHA1 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ void * sha1_buffer (const char *buffer, size_t len, void *resblock) { struct sha1_ctx ctx; /* Initialize the computation context. */ sha1_init_ctx (&ctx); /* Process whole buffer but last len % 64 bytes. */ sha1_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return sha1_finish_ctx (&ctx, resblock); } void sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) { /* When we already have some bits in our internal buffer concatenate both inputs first. */ if (ctx->buflen != 0) { size_t left_over = ctx->buflen; size_t add = 128 - left_over > len ? len : 128 - left_over; memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx->buflen += add; if (ctx->buflen > 64) { sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx->buflen &= 63; /* The regions in the following copy operation cannot overlap, because ctx->buflen < 64 ≤ (left_over + add) & ~63. */ memcpy (ctx->buffer, &((char *) ctx->buffer)[(left_over + add) & ~63], ctx->buflen); } buffer = (const char *) buffer + add; len -= add; } /* Process available complete blocks. */ if (len >= 64) { #if !(_STRING_ARCH_unaligned || _STRING_INLINE_unaligned) # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) if (UNALIGNED_P (buffer)) while (len > 64) { sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer = (const char *) buffer + 64; len -= 64; } else #endif { sha1_process_block (buffer, len & ~63, ctx); buffer = (const char *) buffer + (len & ~63); len &= 63; } } /* Move remaining bytes in internal buffer. */ if (len > 0) { size_t left_over = ctx->buflen; memcpy (&((char *) ctx->buffer)[left_over], buffer, len); left_over += len; if (left_over >= 64) { sha1_process_block (ctx->buffer, 64, ctx); left_over -= 64; /* The regions in the following copy operation cannot overlap, because left_over ≤ 64. */ memcpy (ctx->buffer, &ctx->buffer[16], left_over); } ctx->buflen = left_over; } } /* --- Code below is the primary difference between md5.c and sha1.c --- */ /* SHA1 round constants */ #define K1 0x5a827999 #define K2 0x6ed9eba1 #define K3 0x8f1bbcdc #define K4 0xca62c1d6 /* Round functions. Note that F2 is the same as F4. */ #define F1(B,C,D) ( D ^ ( B & ( C ^ D ) ) ) #define F2(B,C,D) (B ^ C ^ D) #define F3(B,C,D) ( ( B & C ) | ( D & ( B | C ) ) ) #define F4(B,C,D) (B ^ C ^ D) /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 64 == 0. Most of this code comes from GnuPG's cipher/sha1.c. */ void sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) { const uint32_t *words = buffer; size_t nwords = len / sizeof (uint32_t); const uint32_t *endp = words + nwords; uint32_t x[16]; uint32_t a = ctx->A; uint32_t b = ctx->B; uint32_t c = ctx->C; uint32_t d = ctx->D; uint32_t e = ctx->E; uint32_t lolen = len; /* First increment the byte count. RFC 1321 specifies the possible length of the file up to 2^64 bits. Here we only compute the number of bytes. Do a double word increment. */ ctx->total[0] += lolen; ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); #define rol(x, n) (((x) << (n)) | ((uint32_t) (x) >> (32 - (n)))) #define M(I) ( tm = x[I&0x0f] ^ x[(I-14)&0x0f] \ ^ x[(I-8)&0x0f] ^ x[(I-3)&0x0f] \ , (x[I&0x0f] = rol(tm, 1)) ) #define R(A,B,C,D,E,F,K,M) do { E += rol( A, 5 ) \ + F( B, C, D ) \ + K \ + M; \ B = rol( B, 30 ); \ } while(0) while (words < endp) { uint32_t tm; int t; for (t = 0; t < 16; t++) { x[t] = SWAP (*words); words++; } R( a, b, c, d, e, F1, K1, x[ 0] ); R( e, a, b, c, d, F1, K1, x[ 1] ); R( d, e, a, b, c, F1, K1, x[ 2] ); R( c, d, e, a, b, F1, K1, x[ 3] ); R( b, c, d, e, a, F1, K1, x[ 4] ); R( a, b, c, d, e, F1, K1, x[ 5] ); R( e, a, b, c, d, F1, K1, x[ 6] ); R( d, e, a, b, c, F1, K1, x[ 7] ); R( c, d, e, a, b, F1, K1, x[ 8] ); R( b, c, d, e, a, F1, K1, x[ 9] ); R( a, b, c, d, e, F1, K1, x[10] ); R( e, a, b, c, d, F1, K1, x[11] ); R( d, e, a, b, c, F1, K1, x[12] ); R( c, d, e, a, b, F1, K1, x[13] ); R( b, c, d, e, a, F1, K1, x[14] ); R( a, b, c, d, e, F1, K1, x[15] ); R( e, a, b, c, d, F1, K1, M(16) ); R( d, e, a, b, c, F1, K1, M(17) ); R( c, d, e, a, b, F1, K1, M(18) ); R( b, c, d, e, a, F1, K1, M(19) ); R( a, b, c, d, e, F2, K2, M(20) ); R( e, a, b, c, d, F2, K2, M(21) ); R( d, e, a, b, c, F2, K2, M(22) ); R( c, d, e, a, b, F2, K2, M(23) ); R( b, c, d, e, a, F2, K2, M(24) ); R( a, b, c, d, e, F2, K2, M(25) ); R( e, a, b, c, d, F2, K2, M(26) ); R( d, e, a, b, c, F2, K2, M(27) ); R( c, d, e, a, b, F2, K2, M(28) ); R( b, c, d, e, a, F2, K2, M(29) ); R( a, b, c, d, e, F2, K2, M(30) ); R( e, a, b, c, d, F2, K2, M(31) ); R( d, e, a, b, c, F2, K2, M(32) ); R( c, d, e, a, b, F2, K2, M(33) ); R( b, c, d, e, a, F2, K2, M(34) ); R( a, b, c, d, e, F2, K2, M(35) ); R( e, a, b, c, d, F2, K2, M(36) ); R( d, e, a, b, c, F2, K2, M(37) ); R( c, d, e, a, b, F2, K2, M(38) ); R( b, c, d, e, a, F2, K2, M(39) ); R( a, b, c, d, e, F3, K3, M(40) ); R( e, a, b, c, d, F3, K3, M(41) ); R( d, e, a, b, c, F3, K3, M(42) ); R( c, d, e, a, b, F3, K3, M(43) ); R( b, c, d, e, a, F3, K3, M(44) ); R( a, b, c, d, e, F3, K3, M(45) ); R( e, a, b, c, d, F3, K3, M(46) ); R( d, e, a, b, c, F3, K3, M(47) ); R( c, d, e, a, b, F3, K3, M(48) ); R( b, c, d, e, a, F3, K3, M(49) ); R( a, b, c, d, e, F3, K3, M(50) ); R( e, a, b, c, d, F3, K3, M(51) ); R( d, e, a, b, c, F3, K3, M(52) ); R( c, d, e, a, b, F3, K3, M(53) ); R( b, c, d, e, a, F3, K3, M(54) ); R( a, b, c, d, e, F3, K3, M(55) ); R( e, a, b, c, d, F3, K3, M(56) ); R( d, e, a, b, c, F3, K3, M(57) ); R( c, d, e, a, b, F3, K3, M(58) ); R( b, c, d, e, a, F3, K3, M(59) ); R( a, b, c, d, e, F4, K4, M(60) ); R( e, a, b, c, d, F4, K4, M(61) ); R( d, e, a, b, c, F4, K4, M(62) ); R( c, d, e, a, b, F4, K4, M(63) ); R( b, c, d, e, a, F4, K4, M(64) ); R( a, b, c, d, e, F4, K4, M(65) ); R( e, a, b, c, d, F4, K4, M(66) ); R( d, e, a, b, c, F4, K4, M(67) ); R( c, d, e, a, b, F4, K4, M(68) ); R( b, c, d, e, a, F4, K4, M(69) ); R( a, b, c, d, e, F4, K4, M(70) ); R( e, a, b, c, d, F4, K4, M(71) ); R( d, e, a, b, c, F4, K4, M(72) ); R( c, d, e, a, b, F4, K4, M(73) ); R( b, c, d, e, a, F4, K4, M(74) ); R( a, b, c, d, e, F4, K4, M(75) ); R( e, a, b, c, d, F4, K4, M(76) ); R( d, e, a, b, c, F4, K4, M(77) ); R( c, d, e, a, b, F4, K4, M(78) ); R( b, c, d, e, a, F4, K4, M(79) ); a = ctx->A += a; b = ctx->B += b; c = ctx->C += c; d = ctx->D += d; e = ctx->E += e; } } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/lib/gl/time.in.h0000644000000000000000000003137113516251666012425 00000000000000/* A more-standard . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Don't get in the way of glibc when it includes time.h merely to declare a few standard symbols, rather than to declare all the symbols. (However, skip this for MinGW as it treats __need_time_t incompatibly.) Also, Solaris 8 eventually includes itself recursively; if that is happening, just include the system without adding our own declarations. */ #if (((defined __need_time_t || defined __need_clock_t \ || defined __need_timespec) \ && !defined __MINGW32__) \ || defined _@GUARD_PREFIX@_TIME_H) # @INCLUDE_NEXT@ @NEXT_TIME_H@ #else # define _@GUARD_PREFIX@_TIME_H # @INCLUDE_NEXT@ @NEXT_TIME_H@ /* NetBSD 5.0 mis-defines NULL. */ # include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Some systems don't define struct timespec (e.g., AIX 4.1). Or they define it with the wrong member names or define it in (e.g., FreeBSD circa 1997). Stock Mingw prior to 3.0 does not define it, but the pthreads-win32 library defines it in . */ # if ! @TIME_H_DEFINES_STRUCT_TIMESPEC@ # if @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ # include # elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ # include # elif @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ # include # else # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_timespec # undef timespec # define timespec rpl_timespec struct timespec { time_t tv_sec; long int tv_nsec; }; # define GNULIB_defined_struct_timespec 1 # endif # ifdef __cplusplus } # endif # endif # endif # if !GNULIB_defined_struct_time_t_must_be_integral /* Per http://austingroupbugs.net/view.php?id=327, POSIX requires time_t to be an integer type, even though C99 permits floating point. We don't know of any implementation that uses floating point, and it is much easier to write code that doesn't have to worry about that corner case, so we force the issue. */ struct __time_t_must_be_integral { unsigned int __floating_time_t_unsupported : (time_t) 1; }; # define GNULIB_defined_struct_time_t_must_be_integral 1 # endif /* Sleep for at least RQTP seconds unless interrupted, If interrupted, return -1 and store the remaining time into RMTP. See . */ # if @GNULIB_NANOSLEEP@ # if @REPLACE_NANOSLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define nanosleep rpl_nanosleep # endif _GL_FUNCDECL_RPL (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp)); # else # if ! @HAVE_NANOSLEEP@ _GL_FUNCDECL_SYS (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp)); # endif _GL_CXXALIASWARN (nanosleep); # endif /* Initialize time conversion information. */ # if @GNULIB_TZSET@ # if @REPLACE_TZSET@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tzset # define tzset rpl_tzset # endif _GL_FUNCDECL_RPL (tzset, void, (void)); _GL_CXXALIAS_RPL (tzset, void, (void)); # else # if ! @HAVE_TZSET@ _GL_FUNCDECL_SYS (tzset, void, (void)); # endif _GL_CXXALIAS_SYS (tzset, void, (void)); # endif _GL_CXXALIASWARN (tzset); # endif /* Return the 'time_t' representation of TP and normalize TP. */ # if @GNULIB_MKTIME@ # if @REPLACE_MKTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mktime rpl_mktime # endif _GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp)); # else _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp)); # endif _GL_CXXALIASWARN (mktime); # endif /* Convert TIMER to RESULT, assuming local time and UTC respectively. See and . */ # if @GNULIB_TIME_R@ # if @REPLACE_LOCALTIME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localtime_r # define localtime_r rpl_localtime_r # endif _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # else # if ! @HAVE_DECL_LOCALTIME_R@ _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # endif # if @HAVE_DECL_LOCALTIME_R@ _GL_CXXALIASWARN (localtime_r); # endif # if @REPLACE_LOCALTIME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gmtime_r # define gmtime_r rpl_gmtime_r # endif _GL_FUNCDECL_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # else # if ! @HAVE_DECL_LOCALTIME_R@ _GL_FUNCDECL_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # endif # if @HAVE_DECL_LOCALTIME_R@ _GL_CXXALIASWARN (gmtime_r); # endif # endif /* Convert TIMER to RESULT, assuming local time and UTC respectively. See and . */ # if @GNULIB_LOCALTIME@ || @REPLACE_LOCALTIME@ # if @REPLACE_LOCALTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localtime # define localtime rpl_localtime # endif _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer)); # else _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer)); # endif _GL_CXXALIASWARN (localtime); # endif # if 0 || @REPLACE_GMTIME@ # if @REPLACE_GMTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gmtime # define gmtime rpl_gmtime # endif _GL_FUNCDECL_RPL (gmtime, struct tm *, (time_t const *__timer) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gmtime, struct tm *, (time_t const *__timer)); # else _GL_CXXALIAS_SYS (gmtime, struct tm *, (time_t const *__timer)); # endif _GL_CXXALIASWARN (gmtime); # endif /* Parse BUF as a timestamp, assuming FORMAT specifies its layout, and store the resulting broken-down time into TM. See . */ # if @GNULIB_STRPTIME@ # if ! @HAVE_STRPTIME@ _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, char const *restrict __format, struct tm *restrict __tm) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, char const *restrict __format, struct tm *restrict __tm)); _GL_CXXALIASWARN (strptime); # endif /* Convert *TP to a date and time string. See . */ # if @GNULIB_CTIME@ # if @REPLACE_CTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define ctime rpl_ctime # endif _GL_FUNCDECL_RPL (ctime, char *, (time_t const *__tp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (ctime, char *, (time_t const *__tp)); # else _GL_CXXALIAS_SYS (ctime, char *, (time_t const *__tp)); # endif _GL_CXXALIASWARN (ctime); # endif /* Convert *TP to a date and time string. See . */ # if @GNULIB_STRFTIME@ # if @REPLACE_STRFTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strftime rpl_strftime # endif _GL_FUNCDECL_RPL (strftime, size_t, (char *__buf, size_t __bufsize, const char *__fmt, const struct tm *__tp) _GL_ARG_NONNULL ((1, 3, 4))); _GL_CXXALIAS_RPL (strftime, size_t, (char *__buf, size_t __bufsize, const char *__fmt, const struct tm *__tp)); # else _GL_CXXALIAS_SYS (strftime, size_t, (char *__buf, size_t __bufsize, const char *__fmt, const struct tm *__tp)); # endif _GL_CXXALIASWARN (strftime); # endif # if defined _GNU_SOURCE && @GNULIB_TIME_RZ@ && ! @HAVE_TIMEZONE_T@ typedef struct tm_zone *timezone_t; _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); _GL_CXXALIAS_SYS (tzalloc, timezone_t, (char const *__name)); _GL_FUNCDECL_SYS (tzfree, void, (timezone_t __tz)); _GL_CXXALIAS_SYS (tzfree, void, (timezone_t __tz)); _GL_FUNCDECL_SYS (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_SYS (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result)); _GL_FUNCDECL_SYS (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __result) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_SYS (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __result)); # endif /* Convert TM to a time_t value, assuming UTC. */ # if @GNULIB_TIMEGM@ # if @REPLACE_TIMEGM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef timegm # define timegm rpl_timegm # endif _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm)); # else # if ! @HAVE_TIMEGM@ _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm)); # endif _GL_CXXALIASWARN (timegm); # endif /* Encourage applications to avoid unsafe functions that can overrun buffers when given outlandish struct tm values. Portable applications should use strftime (or even sprintf) instead. */ # if defined GNULIB_POSIXCHECK # undef asctime _GL_WARN_ON_USE (asctime, "asctime can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # if defined GNULIB_POSIXCHECK # undef asctime_r _GL_WARN_ON_USE (asctime, "asctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # if defined GNULIB_POSIXCHECK # undef ctime _GL_WARN_ON_USE (asctime, "ctime can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # if defined GNULIB_POSIXCHECK # undef ctime_r _GL_WARN_ON_USE (asctime, "ctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif #endif gsasl-1.8.1/lib/gl/memmem.c0000644000000000000000000000527013516251671012325 00000000000000/* Copyright (C) 1991-1994, 1996-1998, 2000, 2004, 2007-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* This particular implementation was written by Eric Blake, 2008. */ #ifndef _LIBC # include #endif /* Specification of memmem. */ #include #define RETURN_TYPE void * #define AVAILABLE(h, h_l, j, n_l) ((j) <= (h_l) - (n_l)) #include "str-two-way.h" /* Return the first occurrence of NEEDLE in HAYSTACK. Return HAYSTACK if NEEDLE_LEN is 0, otherwise NULL if NEEDLE is not found in HAYSTACK. */ void * memmem (const void *haystack_start, size_t haystack_len, const void *needle_start, size_t needle_len) { /* Abstract memory is considered to be an array of 'unsigned char' values, not an array of 'char' values. See ISO C 99 section 6.2.6.1. */ const unsigned char *haystack = (const unsigned char *) haystack_start; const unsigned char *needle = (const unsigned char *) needle_start; if (needle_len == 0) /* The first occurrence of the empty string is deemed to occur at the beginning of the string. */ return (void *) haystack; /* Sanity check, otherwise the loop might search through the whole memory. */ if (__builtin_expect (haystack_len < needle_len, 0)) return NULL; /* Use optimizations in memchr when possible, to reduce the search size of haystack using a linear algorithm with a smaller coefficient. However, avoid memchr for long needles, since we can often achieve sublinear performance. */ if (needle_len < LONG_NEEDLE_THRESHOLD) { haystack = memchr (haystack, *needle, haystack_len); if (!haystack || __builtin_expect (needle_len == 1, 0)) return (void *) haystack; haystack_len -= haystack - (const unsigned char *) haystack_start; if (haystack_len < needle_len) return NULL; return two_way_short_needle (haystack, haystack_len, needle, needle_len); } else return two_way_long_needle (haystack, haystack_len, needle, needle_len); } #undef LONG_NEEDLE_THRESHOLD gsasl-1.8.1/lib/gl/stat-w32.c0000644000000000000000000004227113516251666012442 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Ensure that defines FILE_ID_INFO. */ #undef _WIN32_WINNT #define _WIN32_WINNT _WIN32_WINNT_WIN8 #include #include #include #include #include #include #include /* Specification. */ #include "stat-w32.h" #include "pathmax.h" #include "verify.h" /* Avoid warnings from gcc -Wcast-function-type. */ #define GetProcAddress \ (void *) GetProcAddress #if _GL_WINDOWS_STAT_INODES == 2 /* GetFileInformationByHandleEx was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFileInformationByHandleExFuncType) (HANDLE hFile, FILE_INFO_BY_HANDLE_CLASS fiClass, LPVOID lpBuffer, DWORD dwBufferSize); static GetFileInformationByHandleExFuncType GetFileInformationByHandleExFunc = NULL; #endif /* GetFinalPathNameByHandle was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFinalPathNameByHandleFuncType) (HANDLE hFile, LPTSTR lpFilePath, DWORD lenFilePath, DWORD dwFlags); static GetFinalPathNameByHandleFuncType GetFinalPathNameByHandleFunc = NULL; static BOOL initialized = FALSE; static void initialize (void) { HMODULE kernel32 = LoadLibrary ("kernel32.dll"); if (kernel32 != NULL) { #if _GL_WINDOWS_STAT_INODES == 2 GetFileInformationByHandleExFunc = (GetFileInformationByHandleExFuncType) GetProcAddress (kernel32, "GetFileInformationByHandleEx"); #endif GetFinalPathNameByHandleFunc = (GetFinalPathNameByHandleFuncType) GetProcAddress (kernel32, "GetFinalPathNameByHandleA"); } initialized = TRUE; } /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft) { struct timespec result; /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) { result.tv_sec = 0; result.tv_nsec = 0; } else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; result.tv_sec = since_1970 / (unsigned long long) 10000000; result.tv_nsec = (unsigned long) (since_1970 % (unsigned long long) 10000000) * 100; } return result; } #else time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft) { /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) return 0; else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; return since_1970 / (unsigned long long) 10000000; } } #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf) { /* GetFileType */ DWORD type = GetFileType (h); if (type == FILE_TYPE_DISK) { if (!initialized) initialize (); /* st_mode can be determined through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ BY_HANDLE_FILE_INFORMATION info; if (! GetFileInformationByHandle (h, &info)) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { errno = EOVERFLOW; return -1; } #if _GL_WINDOWS_STAT_INODES /* st_ino can be determined through GetFileInformationByHandle as 64 bits, or through GetFileInformationByHandleEx with argument FileIdInfo as 128 bits. The latter requires -D_WIN32_WINNT=_WIN32_WINNT_WIN8 or higher. */ /* Experiments show that GetFileInformationByHandleEx does not provide much more information than GetFileInformationByHandle: * The dwVolumeSerialNumber from GetFileInformationByHandle is equal to the low 32 bits of the 64-bit VolumeSerialNumber from GetFileInformationByHandleEx, and is apparently sufficient for identifying the device. * The nFileIndex from GetFileInformationByHandle is equal to the low 64 bits of the 128-bit FileId from GetFileInformationByHandleEx, and the high 64 bits of this 128-bit FileId are zero. * On a FAT file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_PARAMETER, whereas GetFileInformationByHandle succeeds. * On a CIFS/SMB file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_LEVEL, whereas GetFileInformationByHandle succeeds. */ # if _GL_WINDOWS_STAT_INODES == 2 if (GetFileInformationByHandleExFunc != NULL) { FILE_ID_INFO id; if (GetFileInformationByHandleExFunc (h, FileIdInfo, &id, sizeof (id))) { buf->st_dev = id.VolumeSerialNumber; verify (sizeof (ino_t) == sizeof (id.FileId)); memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t)); goto ino_done; } else { switch (GetLastError ()) { case ERROR_INVALID_PARAMETER: /* older Windows version, or FAT */ case ERROR_INVALID_LEVEL: /* CIFS/SMB file system */ goto fallback; default: goto failed; } } } fallback: ; /* Fallback for older Windows versions. */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino._gl_ino[0] = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; buf->st_ino._gl_ino[1] = 0; ino_done: ; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; # endif #else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; #endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. If the file name is already known, use it. Otherwise, for non-empty files, it can be determined through GetFinalPathNameByHandle or through GetFileInformationByHandleEx with argument FileNameInfo Both require -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { char fpath[PATH_MAX]; if (path != NULL || (GetFinalPathNameByHandleFunc != NULL && GetFinalPathNameByHandleFunc (h, fpath, sizeof (fpath), VOLUME_NAME_NONE) < sizeof (fpath) && (path = fpath, 1))) { const char *last_dot = NULL; const char *p; for (p = path; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } else /* Cannot determine file name. Pretend that it is executable. */ mode |= S_IEXEC_UGO; } } buf->st_mode = mode; /* st_nlink can be determined through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ buf->st_nlink = (info.nNumberOfLinks > SHRT_MAX ? SHRT_MAX : info.nNumberOfLinks); /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size can be determined through GetFileSizeEx or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime can be determined through GetFileTime or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); #else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); #endif return 0; } else if (type == FILE_TYPE_CHAR || type == FILE_TYPE_PIPE) { buf->st_dev = 0; #if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; #else buf->st_ino = 0; #endif buf->st_mode = (type == FILE_TYPE_PIPE ? _S_IFIFO : _S_IFCHR); buf->st_nlink = 1; buf->st_uid = 0; buf->st_gid = 0; buf->st_rdev = 0; if (type == FILE_TYPE_PIPE) { /* PeekNamedPipe */ DWORD bytes_available; if (PeekNamedPipe (h, NULL, 0, NULL, &bytes_available, NULL)) buf->st_size = bytes_available; else buf->st_size = 0; } else buf->st_size = 0; #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim.tv_sec = 0; buf->st_atim.tv_nsec = 0; buf->st_mtim.tv_sec = 0; buf->st_mtim.tv_nsec = 0; buf->st_ctim.tv_sec = 0; buf->st_ctim.tv_nsec = 0; #else buf->st_atime = 0; buf->st_mtime = 0; buf->st_ctime = 0; #endif return 0; } else { errno = ENOENT; return -1; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "_gl_fstat_by_handle error 0x%x\n", (unsigned int) error); #endif switch (error) { case ERROR_ACCESS_DENIED: case ERROR_SHARING_VIOLATION: errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; default: errno = EINVAL; break; } return -1; } } #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif gsasl-1.8.1/lib/gl/memchr.c0000644000000000000000000001337613516251671012331 00000000000000/* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2019 Free Software Foundation, Inc. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and commentary by Jim Blandy (jimb@ai.mit.edu); adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu), and implemented by Roland McGrath (roland@ai.mit.edu). NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _LIBC # include #endif #include #include #if defined _LIBC # include #else # define reg_char char #endif #include #if HAVE_BP_SYM_H || defined _LIBC # include #else # define BP_SYM(sym) sym #endif #undef __memchr #ifdef _LIBC # undef memchr #endif #ifndef weak_alias # define __memchr memchr #endif /* Search no more than N bytes of S for C. */ void * __memchr (void const *s, int c_in, size_t n) { /* On 32-bit hardware, choosing longword to be a 32-bit unsigned long instead of a 64-bit uintmax_t tends to give better performance. On 64-bit hardware, unsigned long is generally 64 bits already. Change this typedef to experiment with performance. */ typedef unsigned long int longword; const unsigned char *char_ptr; const longword *longword_ptr; longword repeated_one; longword repeated_c; unsigned reg_char c; c = (unsigned char) c_in; /* Handle the first few bytes by reading one byte at a time. Do this until CHAR_PTR is aligned on a longword boundary. */ for (char_ptr = (const unsigned char *) s; n > 0 && (size_t) char_ptr % sizeof (longword) != 0; --n, ++char_ptr) if (*char_ptr == c) return (void *) char_ptr; longword_ptr = (const longword *) char_ptr; /* All these elucidatory comments refer to 4-byte longwords, but the theory applies equally well to any size longwords. */ /* Compute auxiliary longword values: repeated_one is a value which has a 1 in every byte. repeated_c has c in every byte. */ repeated_one = 0x01010101; repeated_c = c | (c << 8); repeated_c |= repeated_c << 16; if (0xffffffffU < (longword) -1) { repeated_one |= repeated_one << 31 << 1; repeated_c |= repeated_c << 31 << 1; if (8 < sizeof (longword)) { size_t i; for (i = 64; i < sizeof (longword) * 8; i *= 2) { repeated_one |= repeated_one << i; repeated_c |= repeated_c << i; } } } /* Instead of the traditional loop which tests each byte, we will test a longword at a time. The tricky part is testing if *any of the four* bytes in the longword in question are equal to c. We first use an xor with repeated_c. This reduces the task to testing whether *any of the four* bytes in longword1 is zero. We compute tmp = ((longword1 - repeated_one) & ~longword1) & (repeated_one << 7). That is, we perform the following operations: 1. Subtract repeated_one. 2. & ~longword1. 3. & a mask consisting of 0x80 in every byte. Consider what happens in each byte: - If a byte of longword1 is zero, step 1 and 2 transform it into 0xff, and step 3 transforms it into 0x80. A carry can also be propagated to more significant bytes. - If a byte of longword1 is nonzero, let its lowest 1 bit be at position k (0 <= k <= 7); so the lowest k bits are 0. After step 1, the byte ends in a single bit of value 0 and k bits of value 1. After step 2, the result is just k bits of value 1: 2^k - 1. After step 3, the result is 0. And no carry is produced. So, if longword1 has only non-zero bytes, tmp is zero. Whereas if longword1 has a zero byte, call j the position of the least significant zero byte. Then the result has a zero at positions 0, ..., j-1 and a 0x80 at position j. We cannot predict the result at the more significant bytes (positions j+1..3), but it does not matter since we already have a non-zero bit at position 8*j+7. So, the test whether any byte in longword1 is zero is equivalent to testing whether tmp is nonzero. */ while (n >= sizeof (longword)) { longword longword1 = *longword_ptr ^ repeated_c; if ((((longword1 - repeated_one) & ~longword1) & (repeated_one << 7)) != 0) break; longword_ptr++; n -= sizeof (longword); } char_ptr = (const unsigned char *) longword_ptr; /* At this point, we know that either n < sizeof (longword), or one of the sizeof (longword) bytes starting at char_ptr is == c. On little-endian machines, we could determine the first such byte without any further memory accesses, just by looking at the tmp result from the last loop iteration. But this does not work on big-endian machines. Choose code that works in both cases. */ for (; n > 0; --n, ++char_ptr) { if (*char_ptr == c) return (void *) char_ptr; } return NULL; } #ifdef weak_alias weak_alias (__memchr, BP_SYM (memchr)) #endif gsasl-1.8.1/lib/gl/gc-pbkdf2-sha1.c0000644000000000000000000000535113516251670013440 00000000000000/* gc-pbkdf2-sha1.c --- Password-Based Key Derivation Function a'la PKCS#5 Copyright (C) 2002-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Simon Josefsson. */ #include #include "gc.h" #include #include /* Implement PKCS#5 PBKDF2 as per RFC 2898. The PRF to use is hard coded to be HMAC-SHA1. Inputs are the password P of length PLEN, the salt S of length SLEN, the iteration counter C (> 0), and the desired derived output length DKLEN. Output buffer is DK which must have room for at least DKLEN octets. The output buffer will be filled with the derived data. */ Gc_rc gc_pbkdf2_sha1 (const char *P, size_t Plen, const char *S, size_t Slen, unsigned int c, char *DK, size_t dkLen) { unsigned int hLen = 20; char U[20]; char T[20]; unsigned int u; unsigned int l; unsigned int r; unsigned int i; unsigned int k; int rc; char *tmp; size_t tmplen = Slen + 4; if (c == 0) return GC_PKCS5_INVALID_ITERATION_COUNT; if (dkLen == 0) return GC_PKCS5_INVALID_DERIVED_KEY_LENGTH; if (dkLen > 4294967295U) return GC_PKCS5_DERIVED_KEY_TOO_LONG; l = ((dkLen - 1) / hLen) + 1; r = dkLen - (l - 1) * hLen; tmp = malloc (tmplen); if (tmp == NULL) return GC_MALLOC_ERROR; memcpy (tmp, S, Slen); for (i = 1; i <= l; i++) { memset (T, 0, hLen); for (u = 1; u <= c; u++) { if (u == 1) { tmp[Slen + 0] = (i & 0xff000000) >> 24; tmp[Slen + 1] = (i & 0x00ff0000) >> 16; tmp[Slen + 2] = (i & 0x0000ff00) >> 8; tmp[Slen + 3] = (i & 0x000000ff) >> 0; rc = gc_hmac_sha1 (P, Plen, tmp, tmplen, U); } else rc = gc_hmac_sha1 (P, Plen, U, hLen, U); if (rc != GC_OK) { free (tmp); return rc; } for (k = 0; k < hLen; k++) T[k] ^= U[k]; } memcpy (DK + (i - 1) * hLen, T, i == l ? r : hLen); } free (tmp); return GC_OK; } gsasl-1.8.1/lib/gl/gss-extra.c0000644000000000000000000001631012222241124012743 00000000000000/* gss-extra.c --- Provide GSS-API symbols when missing from library. * Copyright (C) 2010 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H # include "config.h" #endif /* Get specification. */ #include "gss-extra.h" /* Get strcmp. */ #include /* Get malloc, free. */ #include #ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE /* MIT Kerberos for Windows version 3.2.2 lacks this. */ static gss_OID_desc tmp = { 10, (void *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x04" }; gss_OID GSS_C_NT_HOSTBASED_SERVICE = &tmp; #endif #ifndef HAVE_GSS_OID_EQUAL int gss_oid_equal (const gss_OID first_oid, const gss_OID second_oid) { return first_oid && second_oid && first_oid->length == second_oid->length && memcmp (first_oid->elements, second_oid->elements, second_oid->length) == 0; } #endif #ifndef HAVE_GSS_INQUIRE_MECH_FOR_SASLNAME /* Provide a dummy replacement function for GSS-API libraries that lacks gss_inquire_mech_for_saslname. This function only works for Kerberos V5. */ OM_uint32 gss_inquire_mech_for_saslname (OM_uint32 * minor_status, const gss_buffer_t sasl_mech_name, gss_OID * mech_type) { static gss_OID_desc krb5oid_static = { 9, (char *) "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02" }; if (sasl_mech_name->value == NULL || sasl_mech_name->length != 8 || memcmp (sasl_mech_name->value, "GS2-KRB5", 8) != 0) { if (minor_status) *minor_status = 0; return GSS_S_BAD_MECH; } if (mech_type) *mech_type = &krb5oid_static; return GSS_S_COMPLETE; } #endif /* * The functions _gss_asn1_length_der and _gss_asn1_get_length_der are * borrowed from GNU Libtasn1, under LGPLv2.1+. * Copyright (C) 2002 Fabio Fiorina. * The remaining functions below are copied from GNU GSS but re-licensed * to LGPLv2.1+. * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon Josefsson */ #ifndef HAVE_GSS_ENCAPSULATE_TOKEN static void _gss_asn1_length_der (size_t len, unsigned char *ans, size_t * ans_len) { size_t k; unsigned char temp[sizeof (len)]; if (len < 128) { if (ans != NULL) ans[0] = (unsigned char) len; *ans_len = 1; } else { k = 0; while (len) { temp[k++] = len & 0xFF; len = len >> 8; } *ans_len = k + 1; if (ans != NULL) { ans[0] = ((unsigned char) k & 0x7F) + 128; while (k--) ans[*ans_len - 1 - k] = temp[k]; } } } static OM_uint32 _gss_encapsulate_token_prefix (const char *prefix, size_t prefixlen, const char *in, size_t inlen, const char *oid, OM_uint32 oidlen, void **out, size_t * outlen) { size_t oidlenlen; size_t asn1len, asn1lenlen; unsigned char *p; if (prefix == NULL) prefixlen = 0; _gss_asn1_length_der (oidlen, NULL, &oidlenlen); asn1len = 1 + oidlenlen + oidlen + prefixlen + inlen; _gss_asn1_length_der (asn1len, NULL, &asn1lenlen); *outlen = 1 + asn1lenlen + asn1len; p = *out = malloc (*outlen); if (!p) return -1; *p++ = '\x60'; _gss_asn1_length_der (asn1len, p, &asn1lenlen); p += asn1lenlen; *p++ = '\x06'; _gss_asn1_length_der (oidlen, p, &oidlenlen); p += oidlenlen; memcpy (p, oid, oidlen); p += oidlen; if (prefixlen > 0) { memcpy (p, prefix, prefixlen); p += prefixlen; } memcpy (p, in, inlen); return 0; } extern OM_uint32 gss_encapsulate_token (const gss_buffer_t input_token, const gss_OID token_oid, gss_buffer_t output_token) { int rc; if (!input_token) return GSS_S_CALL_INACCESSIBLE_READ; if (!token_oid) return GSS_S_CALL_INACCESSIBLE_READ; if (!output_token) return GSS_S_CALL_INACCESSIBLE_WRITE; rc = _gss_encapsulate_token_prefix (NULL, 0, input_token->value, input_token->length, token_oid->elements, token_oid->length, &output_token->value, &output_token->length); if (rc != 0) return GSS_S_FAILURE; return GSS_S_COMPLETE; } #endif /* HAVE_GSS_ENCAPSULATE_TOKEN */ #ifndef HAVE_GSS_ENCAPSULATE_TOKEN static size_t _gss_asn1_get_length_der (const char *der, size_t der_len, size_t * len) { size_t ans; size_t k, punt; *len = 0; if (der_len <= 0) return 0; if (!(der[0] & 128)) { /* short form */ *len = 1; return (unsigned char) der[0]; } else { /* Long form */ k = (unsigned char) der[0] & 0x7F; punt = 1; if (k) { /* definite length method */ ans = 0; while (punt <= k && punt < der_len) { size_t last = ans; ans = ans * 256 + (unsigned char) der[punt++]; if (ans < last) /* we wrapped around, no bignum support... */ return -2; } } else { /* indefinite length method */ ans = -1; } *len = punt; return ans; } } static int _gss_decapsulate_token (const char *in, size_t inlen, char **oid, size_t * oidlen, char **out, size_t * outlen) { size_t i; size_t asn1lenlen; if (inlen-- == 0) return -1; if (*in++ != '\x60') return -1; i = inlen; asn1lenlen = _gss_asn1_get_length_der (in, inlen, &i); if (inlen < i) return -1; inlen -= i; in += i; if (inlen != asn1lenlen) return -1; if (inlen-- == 0) return -1; if (*in++ != '\x06') return -1; i = inlen; asn1lenlen = _gss_asn1_get_length_der (in, inlen, &i); if (inlen < i) return -1; inlen -= i; in += i; if (inlen < asn1lenlen) return -1; *oidlen = asn1lenlen; *oid = (char *) in; inlen -= asn1lenlen; in += asn1lenlen; *outlen = inlen; *out = (char *) in; return 0; } OM_uint32 gss_decapsulate_token (const gss_buffer_t input_token, const gss_OID token_oid, gss_buffer_t output_token) { gss_OID_desc tmpoid; char *oid = NULL, *out = NULL; size_t oidlen = 0, outlen = 0; if (!input_token) return GSS_S_CALL_INACCESSIBLE_READ; if (!token_oid) return GSS_S_CALL_INACCESSIBLE_READ; if (!output_token) return GSS_S_CALL_INACCESSIBLE_WRITE; if (_gss_decapsulate_token ((char *) input_token->value, input_token->length, &oid, &oidlen, &out, &outlen) != 0) return GSS_S_DEFECTIVE_TOKEN; tmpoid.length = oidlen; tmpoid.elements = oid; if (!gss_oid_equal (token_oid, &tmpoid)) return GSS_S_DEFECTIVE_TOKEN; output_token->length = outlen; output_token->value = malloc (outlen); if (!output_token->value) return GSS_S_FAILURE; memcpy (output_token->value, out, outlen); return GSS_S_COMPLETE; } #endif gsasl-1.8.1/lib/gl/itold.c0000644000000000000000000000204013516251670012152 00000000000000/* Replacement for 'int' to 'long double' conversion routine. Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include void _Qp_itoq (long double *result, int a) { /* Convert from 'int' to 'double', then from 'double' to 'long double'. */ *result = (double) a; } gsasl-1.8.1/lib/gl/c++defs.h0000644000000000000000000003415713516251665012300 00000000000000/* C++ compatible function declaration macros. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_CXXDEFS_H #define _GL_CXXDEFS_H /* Begin/end the GNULIB_NAMESPACE namespace. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { # define _GL_END_NAMESPACE } #else # define _GL_BEGIN_NAMESPACE # define _GL_END_NAMESPACE #endif /* The three most frequent use cases of these macros are: * For providing a substitute for a function that is missing on some platforms, but is declared and works fine on the platforms on which it exists: #if @GNULIB_FOO@ # if !@HAVE_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on all platforms, but is broken/insufficient and needs to be replaced on some platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on some platforms but is broken/insufficient and needs to be replaced on some of them and is additionally either missing or undeclared on some other platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif */ /* _GL_EXTERN_C declaration; performs the declaration with C linkage. */ #if defined __cplusplus # define _GL_EXTERN_C extern "C" #else # define _GL_EXTERN_C extern #endif /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); declares a replacement function, named rpl_func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype rpl_func parameters_and_attributes /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); declares the system function, named func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype func parameters_and_attributes /* _GL_CXXALIAS_RPL (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to rpl_func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); Wrapping rpl_func in an object with an inline conversion operator avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is actually used in the program. */ #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::rpl_func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); except that the C function rpl_func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::rpl_func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to the system provided function func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); Wrapping func in an object with an inline conversion operator avoids a reference to func unless GNULIB_NAMESPACE::func is actually used in the program. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function is picked among a set of overloaded functions, namely the one with rettype2 and parameters2. Two consecutive casts are used to silence the "cannot find a match" and "invalid conversion" errors that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE /* The outer cast must be a reinterpret_cast. The inner cast: When the function is defined as a set of overloaded functions, it works as a static_cast<>, choosing the designated variant. When the function is defined as a single variant, it works as a reinterpret_cast<>. The parenthesized cast syntax works both ways. */ # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast((rettype2 (*) parameters2)(::func)); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN (func); causes a warning to be emitted when ::func is used but not when GNULIB_NAMESPACE::func is used. func must be defined without overloaded variants. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN(func) \ _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) # define _GL_CXXALIASWARN_1(func,namespace) \ _GL_CXXALIASWARN_2 (func, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_WARN_ON_USE (func, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN_2(func,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN(func) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); causes a warning to be emitted when the given overloaded variant of ::func is used but not when GNULIB_NAMESPACE::func is used. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ GNULIB_NAMESPACE) # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif #endif /* _GL_CXXDEFS_H */ gsasl-1.8.1/lib/gl/c-ctype.h0000644000000000000000000002243613516251670012423 00000000000000/* Character handling in C locale. These functions work like the corresponding functions in , except that they have the C (POSIX) locale hardwired, whereas the functions' behaviour depends on the current locale set via setlocale. Copyright (C) 2000-2003, 2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef C_CTYPE_H #define C_CTYPE_H #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef C_CTYPE_INLINE # define C_CTYPE_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* The functions defined in this file assume the "C" locale and a character set without diacritics (ASCII-US or EBCDIC-US or something like that). Even if the "C" locale on a particular system is an extension of the ASCII character set (like on BeOS, where it is UTF-8, or on AmigaOS, where it is ISO-8859-1), the functions in this file recognize only the ASCII characters. */ #if (' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126) /* The character set is ASCII or one of its variants or extensions, not EBCDIC. Testing the value of '\n' and '\r' is not relevant. */ # define C_CTYPE_ASCII 1 #elif ! (' ' == '\x40' && '0' == '\xf0' \ && 'A' == '\xc1' && 'J' == '\xd1' && 'S' == '\xe2' \ && 'a' == '\x81' && 'j' == '\x91' && 's' == '\xa2') # error "Only ASCII and EBCDIC are supported" #endif #if 'A' < 0 # error "EBCDIC and char is signed -- not supported" #endif /* Cases for control characters. */ #define _C_CTYPE_CNTRL \ case '\a': case '\b': case '\f': case '\n': \ case '\r': case '\t': case '\v': \ _C_CTYPE_OTHER_CNTRL /* ASCII control characters other than those with \-letter escapes. */ #if C_CTYPE_ASCII # define _C_CTYPE_OTHER_CNTRL \ case '\x00': case '\x01': case '\x02': case '\x03': \ case '\x04': case '\x05': case '\x06': case '\x0e': \ case '\x0f': case '\x10': case '\x11': case '\x12': \ case '\x13': case '\x14': case '\x15': case '\x16': \ case '\x17': case '\x18': case '\x19': case '\x1a': \ case '\x1b': case '\x1c': case '\x1d': case '\x1e': \ case '\x1f': case '\x7f' #else /* Use EBCDIC code page 1047's assignments for ASCII control chars; assume all EBCDIC code pages agree about these assignments. */ # define _C_CTYPE_OTHER_CNTRL \ case '\x00': case '\x01': case '\x02': case '\x03': \ case '\x07': case '\x0e': case '\x0f': case '\x10': \ case '\x11': case '\x12': case '\x13': case '\x18': \ case '\x19': case '\x1c': case '\x1d': case '\x1e': \ case '\x1f': case '\x26': case '\x27': case '\x2d': \ case '\x2e': case '\x32': case '\x37': case '\x3c': \ case '\x3d': case '\x3f' #endif /* Cases for lowercase hex letters, and lowercase letters, all offset by N. */ #define _C_CTYPE_LOWER_A_THRU_F_N(N) \ case 'a' + (N): case 'b' + (N): case 'c' + (N): case 'd' + (N): \ case 'e' + (N): case 'f' + (N) #define _C_CTYPE_LOWER_N(N) \ _C_CTYPE_LOWER_A_THRU_F_N(N): \ case 'g' + (N): case 'h' + (N): case 'i' + (N): case 'j' + (N): \ case 'k' + (N): case 'l' + (N): case 'm' + (N): case 'n' + (N): \ case 'o' + (N): case 'p' + (N): case 'q' + (N): case 'r' + (N): \ case 's' + (N): case 't' + (N): case 'u' + (N): case 'v' + (N): \ case 'w' + (N): case 'x' + (N): case 'y' + (N): case 'z' + (N) /* Cases for hex letters, digits, lower, punct, and upper. */ #define _C_CTYPE_A_THRU_F \ _C_CTYPE_LOWER_A_THRU_F_N (0): \ _C_CTYPE_LOWER_A_THRU_F_N ('A' - 'a') #define _C_CTYPE_DIGIT \ case '0': case '1': case '2': case '3': \ case '4': case '5': case '6': case '7': \ case '8': case '9' #define _C_CTYPE_LOWER _C_CTYPE_LOWER_N (0) #define _C_CTYPE_PUNCT \ case '!': case '"': case '#': case '$': \ case '%': case '&': case '\'': case '(': \ case ')': case '*': case '+': case ',': \ case '-': case '.': case '/': case ':': \ case ';': case '<': case '=': case '>': \ case '?': case '@': case '[': case '\\': \ case ']': case '^': case '_': case '`': \ case '{': case '|': case '}': case '~' #define _C_CTYPE_UPPER _C_CTYPE_LOWER_N ('A' - 'a') /* Function definitions. */ /* Unlike the functions in , which require an argument in the range of the 'unsigned char' type, the functions here operate on values that are in the 'unsigned char' range or in the 'char' range. In other words, when you have a 'char' value, you need to cast it before using it as argument to a function: const char *s = ...; if (isalpha ((unsigned char) *s)) ... but you don't need to cast it for the functions defined in this file: const char *s = ...; if (c_isalpha (*s)) ... */ C_CTYPE_INLINE bool c_isalnum (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isalpha (int c) { switch (c) { _C_CTYPE_LOWER: _C_CTYPE_UPPER: return true; default: return false; } } /* The function isascii is not locale dependent. Its use in EBCDIC is questionable. */ C_CTYPE_INLINE bool c_isascii (int c) { switch (c) { case ' ': _C_CTYPE_CNTRL: _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isblank (int c) { return c == ' ' || c == '\t'; } C_CTYPE_INLINE bool c_iscntrl (int c) { switch (c) { _C_CTYPE_CNTRL: return true; default: return false; } } C_CTYPE_INLINE bool c_isdigit (int c) { switch (c) { _C_CTYPE_DIGIT: return true; default: return false; } } C_CTYPE_INLINE bool c_isgraph (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_islower (int c) { switch (c) { _C_CTYPE_LOWER: return true; default: return false; } } C_CTYPE_INLINE bool c_isprint (int c) { switch (c) { case ' ': _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_ispunct (int c) { switch (c) { _C_CTYPE_PUNCT: return true; default: return false; } } C_CTYPE_INLINE bool c_isspace (int c) { switch (c) { case ' ': case '\t': case '\n': case '\v': case '\f': case '\r': return true; default: return false; } } C_CTYPE_INLINE bool c_isupper (int c) { switch (c) { _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isxdigit (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_A_THRU_F: return true; default: return false; } } C_CTYPE_INLINE int c_tolower (int c) { switch (c) { _C_CTYPE_UPPER: return c - 'A' + 'a'; default: return c; } } C_CTYPE_INLINE int c_toupper (int c) { switch (c) { _C_CTYPE_LOWER: return c - 'a' + 'A'; default: return c; } } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* C_CTYPE_H */ gsasl-1.8.1/lib/gl/unistd.in.h0000644000000000000000000016071613516251671012777 00000000000000/* Substitute for and wrapper around . Copyright (C) 2003-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _@GUARD_PREFIX@_UNISTD_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #ifdef _GL_INCLUDING_UNISTD_H /* Special invocation convention: - On Mac OS X 10.3.9 we have a sequence of nested includes -> -> -> In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_UNISTD_H@ #else /* Normal invocation convention. */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_UNISTD_H@ # define _GL_INCLUDING_UNISTD_H # @INCLUDE_NEXT@ @NEXT_UNISTD_H@ # undef _GL_INCLUDING_UNISTD_H #endif /* Get all possible declarations of gethostname(). */ #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ && !defined _GL_INCLUDING_WINSOCK2_H # define _GL_INCLUDING_WINSOCK2_H # include # undef _GL_INCLUDING_WINSOCK2_H #endif #if !defined _@GUARD_PREFIX@_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H #define _@GUARD_PREFIX@_UNISTD_H /* NetBSD 5.0 mis-defines NULL. Also get size_t. */ /* But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* mingw doesn't define the SEEK_* or *_FILENO macros in . */ /* MSVC declares 'unlink' in , not in . We must include it before we #define unlink rpl_unlink. */ /* Cygwin 1.7.1 declares symlinkat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \ || ((@GNULIB_UNLINK@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__)) \ || ((@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK) \ && defined __CYGWIN__)) \ && ! defined __GLIBC__ # include #endif /* Cygwin 1.7.1 and Android 4.3 declare unlinkat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (@GNULIB_UNLINKAT@ || defined GNULIB_POSIXCHECK) \ && (defined __CYGWIN__ || defined __ANDROID__) \ && ! defined __GLIBC__ # include #endif /* mingw fails to declare _exit in . */ /* mingw, MSVC, BeOS, Haiku declare environ in , not in . */ /* Solaris declares getcwd not only in but also in . */ /* OSF Tru64 Unix cannot see gnulib rpl_strtod when system is included here. */ /* But avoid namespace pollution on glibc systems. */ #if !defined __GLIBC__ && !defined __osf__ # define __need_system_stdlib_h # include # undef __need_system_stdlib_h #endif /* Native Windows platforms declare chdir, getcwd, rmdir in and/or , not in . They also declare access(), chmod(), close(), dup(), dup2(), isatty(), lseek(), read(), unlink(), write() in . */ #if ((@GNULIB_CHDIR@ || @GNULIB_GETCWD@ || @GNULIB_RMDIR@ \ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__)) # include /* mingw32, mingw64 */ # include /* mingw64, MSVC 9 */ #elif (@GNULIB_CLOSE@ || @GNULIB_DUP@ || @GNULIB_DUP2@ || @GNULIB_ISATTY@ \ || @GNULIB_LSEEK@ || @GNULIB_READ@ || @GNULIB_UNLINK@ || @GNULIB_WRITE@ \ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) # include #endif /* AIX and OSF/1 5.1 declare getdomainname in , not in . NonStop Kernel declares gethostname in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if ((@GNULIB_GETDOMAINNAME@ && (defined _AIX || defined __osf__)) \ || (@GNULIB_GETHOSTNAME@ && defined __TANDEM)) \ && !defined __GLIBC__ # include #endif /* Android 4.3 declares fchownat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (@GNULIB_FCHOWNAT@ || defined GNULIB_POSIXCHECK) && defined __ANDROID__ \ && !defined __GLIBC__ # include #endif /* MSVC defines off_t in . May also define off_t to a 64-bit type on native Windows. */ /* But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ /* Get off_t, ssize_t. */ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Get getopt(), optarg, optind, opterr, optopt. */ #if @GNULIB_UNISTD_H_GETOPT@ && !defined _GL_SYSTEM_GETOPT # include # include #endif #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_UNISTD_INLINE # define _GL_UNISTD_INLINE _GL_INLINE #endif /* Hide some function declarations from . */ #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h # undef recv # define recv recv_used_without_including_sys_socket_h # undef send # define send send_used_without_including_sys_socket_h # undef recvfrom # define recvfrom recvfrom_used_without_including_sys_socket_h # undef sendto # define sendto sendto_used_without_including_sys_socket_h # undef setsockopt # define setsockopt setsockopt_used_without_including_sys_socket_h # undef shutdown # define shutdown shutdown_used_without_including_sys_socket_h # else _GL_WARN_ON_USE (socket, "socket() used without including "); _GL_WARN_ON_USE (connect, "connect() used without including "); _GL_WARN_ON_USE (accept, "accept() used without including "); _GL_WARN_ON_USE (bind, "bind() used without including "); _GL_WARN_ON_USE (getpeername, "getpeername() used without including "); _GL_WARN_ON_USE (getsockname, "getsockname() used without including "); _GL_WARN_ON_USE (getsockopt, "getsockopt() used without including "); _GL_WARN_ON_USE (listen, "listen() used without including "); _GL_WARN_ON_USE (recv, "recv() used without including "); _GL_WARN_ON_USE (send, "send() used without including "); _GL_WARN_ON_USE (recvfrom, "recvfrom() used without including "); _GL_WARN_ON_USE (sendto, "sendto() used without including "); _GL_WARN_ON_USE (setsockopt, "setsockopt() used without including "); _GL_WARN_ON_USE (shutdown, "shutdown() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif /* OS/2 EMX lacks these macros. */ #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif #ifndef STDOUT_FILENO # define STDOUT_FILENO 1 #endif #ifndef STDERR_FILENO # define STDERR_FILENO 2 #endif /* Ensure *_OK macros exist. */ #ifndef F_OK # define F_OK 0 # define X_OK 1 # define W_OK 2 # define R_OK 4 #endif /* Declare overridden functions. */ #if defined GNULIB_POSIXCHECK /* The access() function is a security risk. */ _GL_WARN_ON_USE (access, "the access function is a security risk - " "use the gnulib module faccessat instead"); #endif #if @GNULIB_CHDIR@ _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1))); _GL_CXXALIASWARN (chdir); #elif defined GNULIB_POSIXCHECK # undef chdir # if HAVE_RAW_DECL_CHDIR _GL_WARN_ON_USE (chown, "chdir is not always in - " "use gnulib module chdir for portability"); # endif #endif #if @GNULIB_CHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Follow symbolic links. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_DUP2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup2 rpl_dup2 # endif _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); # else # if !@HAVE_DUP2@ _GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd)); # endif _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); # endif _GL_CXXALIASWARN (dup2); #elif defined GNULIB_POSIXCHECK # undef dup2 # if HAVE_RAW_DECL_DUP2 _GL_WARN_ON_USE (dup2, "dup2 is unportable - " "use gnulib module dup2 for portability"); # endif #endif #if @GNULIB_DUP3@ /* Copy the file descriptor OLDFD into file descriptor NEWFD, with the specified flags. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). Close NEWFD first if it is open. Return newfd if successful, otherwise -1 and errno set. See the Linux man page at . */ # if @HAVE_DUP3@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup3 rpl_dup3 # endif _GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags)); _GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags)); # else _GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags)); _GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags)); # endif _GL_CXXALIASWARN (dup3); #elif defined GNULIB_POSIXCHECK # undef dup3 # if HAVE_RAW_DECL_DUP3 _GL_WARN_ON_USE (dup3, "dup3 is unportable - " "use gnulib module dup3 for portability"); # endif #endif #if @GNULIB_ENVIRON@ # if defined __CYGWIN__ && !defined __i386__ /* The 'environ' variable is defined in a DLL. Therefore its declaration needs the '__declspec(dllimport)' attribute, but the system's lacks it. This leads to a link error on 64-bit Cygwin when the option -Wl,--disable-auto-import is in use. */ _GL_EXTERN_C __declspec(dllimport) char **environ; # endif # if !@HAVE_DECL_ENVIRON@ /* Set of environment variables and values. An array of strings of the form "VARIABLE=VALUE", terminated with a NULL. */ # if defined __APPLE__ && defined __MACH__ # include # if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR # define _GL_USE_CRT_EXTERNS # endif # endif # ifdef _GL_USE_CRT_EXTERNS # include # define environ (*_NSGetEnviron ()) # else # ifdef __cplusplus extern "C" { # endif extern char **environ; # ifdef __cplusplus } # endif # endif # endif #elif defined GNULIB_POSIXCHECK # if HAVE_RAW_DECL_ENVIRON _GL_UNISTD_INLINE char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is unportable - " "use gnulib module environ for portability") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) # endif #endif #if @GNULIB_EUIDACCESS@ /* Like access(), except that it uses the effective user id and group id of the current process. */ # if !@HAVE_EUIDACCESS@ _GL_FUNCDECL_SYS (euidaccess, int, (const char *filename, int mode) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (euidaccess, int, (const char *filename, int mode)); _GL_CXXALIASWARN (euidaccess); # if defined GNULIB_POSIXCHECK /* Like access(), this function is a security risk. */ _GL_WARN_ON_USE (euidaccess, "the euidaccess function is a security risk - " "use the gnulib module faccessat instead"); # endif #elif defined GNULIB_POSIXCHECK # undef euidaccess # if HAVE_RAW_DECL_EUIDACCESS _GL_WARN_ON_USE (euidaccess, "euidaccess is unportable - " "use gnulib module euidaccess for portability"); # endif #endif #if @GNULIB_FACCESSAT@ # if @REPLACE_FACCESSAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef faccessat # define faccessat rpl_faccessat # endif _GL_FUNCDECL_RPL (faccessat, int, (int fd, char const *name, int mode, int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (faccessat, int, (int fd, char const *name, int mode, int flag)); # else # if !@HAVE_FACCESSAT@ _GL_FUNCDECL_SYS (faccessat, int, (int fd, char const *file, int mode, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (faccessat, int, (int fd, char const *file, int mode, int flag)); # endif _GL_CXXALIASWARN (faccessat); #elif defined GNULIB_POSIXCHECK # undef faccessat # if HAVE_RAW_DECL_FACCESSAT _GL_WARN_ON_USE (faccessat, "faccessat is not portable - " "use gnulib module faccessat for portability"); # endif #endif #if @GNULIB_FCHDIR@ /* Change the process' current working directory to the directory on which the given file descriptor is open. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if ! @HAVE_FCHDIR@ _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); /* Gnulib internal hooks needed to maintain the fchdir metadata. */ _GL_EXTERN_C int _gl_register_fd (int fd, const char *filename) _GL_ARG_NONNULL ((2)); _GL_EXTERN_C void _gl_unregister_fd (int fd); _GL_EXTERN_C int _gl_register_dup (int oldfd, int newfd); _GL_EXTERN_C const char *_gl_directory_name (int fd); # else # if !@HAVE_DECL_FCHDIR@ _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); # endif # endif _GL_CXXALIAS_SYS (fchdir, int, (int /*fd*/)); _GL_CXXALIASWARN (fchdir); #elif defined GNULIB_POSIXCHECK # undef fchdir # if HAVE_RAW_DECL_FCHDIR _GL_WARN_ON_USE (fchdir, "fchdir is unportable - " "use gnulib module fchdir for portability"); # endif #endif #if @GNULIB_FCHOWNAT@ # if @REPLACE_FCHOWNAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fchownat # define fchownat rpl_fchownat # endif _GL_FUNCDECL_RPL (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag)); # else # if !@HAVE_FCHOWNAT@ _GL_FUNCDECL_SYS (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag)); # endif _GL_CXXALIASWARN (fchownat); #elif defined GNULIB_POSIXCHECK # undef fchownat # if HAVE_RAW_DECL_FCHOWNAT _GL_WARN_ON_USE (fchownat, "fchownat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FDATASYNC@ /* Synchronize changes to a file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if !@HAVE_FDATASYNC@ || !@HAVE_DECL_FDATASYNC@ _GL_FUNCDECL_SYS (fdatasync, int, (int fd)); # endif _GL_CXXALIAS_SYS (fdatasync, int, (int fd)); _GL_CXXALIASWARN (fdatasync); #elif defined GNULIB_POSIXCHECK # undef fdatasync # if HAVE_RAW_DECL_FDATASYNC _GL_WARN_ON_USE (fdatasync, "fdatasync is unportable - " "use gnulib module fdatasync for portability"); # endif #endif #if @GNULIB_FSYNC@ /* Synchronize changes, including metadata, to a file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if !@HAVE_FSYNC@ _GL_FUNCDECL_SYS (fsync, int, (int fd)); # endif _GL_CXXALIAS_SYS (fsync, int, (int fd)); _GL_CXXALIASWARN (fsync); #elif defined GNULIB_POSIXCHECK # undef fsync # if HAVE_RAW_DECL_FSYNC _GL_WARN_ON_USE (fsync, "fsync is unportable - " "use gnulib module fsync for portability"); # endif #endif #if @GNULIB_FTRUNCATE@ /* Change the size of the file to which FD is opened to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_FTRUNCATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftruncate # define ftruncate rpl_ftruncate # endif _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length)); _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length)); # else # if !@HAVE_FTRUNCATE@ _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length)); # endif _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length)); # endif _GL_CXXALIASWARN (ftruncate); #elif defined GNULIB_POSIXCHECK # undef ftruncate # if HAVE_RAW_DECL_FTRUNCATE _GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - " "use gnulib module ftruncate for portability"); # endif #endif #if @GNULIB_GETCWD@ /* Get the name of the current working directory, and put it in SIZE bytes of BUF. Return BUF if successful, or NULL if the directory couldn't be determined or SIZE was too small. See the POSIX:2008 specification . Additionally, the gnulib module 'getcwd' guarantees the following GNU extension: If BUF is NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as necessary. */ # if @REPLACE_GETCWD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getcwd rpl_getcwd # endif _GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size)); _GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size)); # else /* Need to cast, because on mingw, the second parameter is int size. */ _GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); # endif _GL_CXXALIASWARN (getcwd); #elif defined GNULIB_POSIXCHECK # undef getcwd # if HAVE_RAW_DECL_GETCWD _GL_WARN_ON_USE (getcwd, "getcwd is unportable - " "use gnulib module getcwd for portability"); # endif #endif #if @GNULIB_GETDOMAINNAME@ /* Return the NIS domain name of the machine. WARNING! The NIS domain name is unrelated to the fully qualified host name of the machine. It is also unrelated to email addresses. WARNING! The NIS domain name is usually the empty string or "(none)" when not using NIS. Put up to LEN bytes of the NIS domain name into NAME. Null terminate it if the name is shorter than LEN. If the NIS domain name is longer than LEN, set errno = EINVAL and return -1. Return 0 if successful, otherwise set errno and return -1. */ # if @REPLACE_GETDOMAINNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdomainname # define getdomainname rpl_getdomainname # endif _GL_FUNCDECL_RPL (getdomainname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getdomainname, int, (char *name, size_t len)); # else # if !@HAVE_DECL_GETDOMAINNAME@ _GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getdomainname, int, (char *name, size_t len)); # endif _GL_CXXALIASWARN (getdomainname); #elif defined GNULIB_POSIXCHECK # undef getdomainname # if HAVE_RAW_DECL_GETDOMAINNAME _GL_WARN_ON_USE (getdomainname, "getdomainname is unportable - " "use gnulib module getdomainname for portability"); # endif #endif #if @GNULIB_GETDTABLESIZE@ /* Return the maximum number of file descriptors in the current process. In POSIX, this is same as sysconf (_SC_OPEN_MAX). */ # if @REPLACE_GETDTABLESIZE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdtablesize # define getdtablesize rpl_getdtablesize # endif _GL_FUNCDECL_RPL (getdtablesize, int, (void)); _GL_CXXALIAS_RPL (getdtablesize, int, (void)); # else # if !@HAVE_GETDTABLESIZE@ _GL_FUNCDECL_SYS (getdtablesize, int, (void)); # endif _GL_CXXALIAS_SYS (getdtablesize, int, (void)); # endif _GL_CXXALIASWARN (getdtablesize); #elif defined GNULIB_POSIXCHECK # undef getdtablesize # if HAVE_RAW_DECL_GETDTABLESIZE _GL_WARN_ON_USE (getdtablesize, "getdtablesize is unportable - " "use gnulib module getdtablesize for portability"); # endif #endif #if @GNULIB_GETGROUPS@ /* Return the supplemental groups that the current process belongs to. It is unspecified whether the effective group id is in the list. If N is 0, return the group count; otherwise, N describes how many entries are available in GROUPS. Return -1 and set errno if N is not 0 and not large enough. Fails with ENOSYS on some systems. */ # if @REPLACE_GETGROUPS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getgroups # define getgroups rpl_getgroups # endif _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); # else # if !@HAVE_GETGROUPS@ _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); # endif _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); # endif _GL_CXXALIASWARN (getgroups); #elif defined GNULIB_POSIXCHECK # undef getgroups # if HAVE_RAW_DECL_GETGROUPS _GL_WARN_ON_USE (getgroups, "getgroups is unportable - " "use gnulib module getgroups for portability"); # endif #endif #if @GNULIB_GETHOSTNAME@ /* Return the standard host name of the machine. WARNING! The host name may or may not be fully qualified. Put up to LEN bytes of the host name into NAME. Null terminate it if the name is shorter than LEN. If the host name is longer than LEN, set errno = EINVAL and return -1. Return 0 if successful, otherwise set errno and return -1. */ # if @UNISTD_H_HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname rpl_gethostname # endif _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); # else # if !@HAVE_GETHOSTNAME@ _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 10 and OSF/1 5.1 systems, the second parameter is int len. */ _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); # endif _GL_CXXALIASWARN (gethostname); #elif @UNISTD_H_HAVE_WINSOCK2_H@ # undef gethostname # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname #elif defined GNULIB_POSIXCHECK # undef gethostname # if HAVE_RAW_DECL_GETHOSTNAME _GL_WARN_ON_USE (gethostname, "gethostname is unportable - " "use gnulib module gethostname for portability"); # endif #endif #if @GNULIB_GETLOGIN@ /* Returns the user's login name, or NULL if it cannot be found. Upon error, returns NULL with errno set. See . Most programs don't need to use this function, because the information is available through environment variables: ${LOGNAME-$USER} on Unix platforms, $USERNAME on native Windows platforms. */ # if !@HAVE_DECL_GETLOGIN@ _GL_FUNCDECL_SYS (getlogin, char *, (void)); # endif _GL_CXXALIAS_SYS (getlogin, char *, (void)); _GL_CXXALIASWARN (getlogin); #elif defined GNULIB_POSIXCHECK # undef getlogin # if HAVE_RAW_DECL_GETLOGIN _GL_WARN_ON_USE (getlogin, "getlogin is unportable - " "use gnulib module getlogin for portability"); # endif #endif #if @GNULIB_GETLOGIN_R@ /* Copies the user's login name to NAME. The array pointed to by NAME has room for SIZE bytes. Returns 0 if successful. Upon error, an error number is returned, or -1 in the case that the login name cannot be found but no specific error is provided (this case is hopefully rare but is left open by the POSIX spec). See . Most programs don't need to use this function, because the information is available through environment variables: ${LOGNAME-$USER} on Unix platforms, $USERNAME on native Windows platforms. */ # if @REPLACE_GETLOGIN_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getlogin_r rpl_getlogin_r # endif _GL_FUNCDECL_RPL (getlogin_r, int, (char *name, size_t size) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getlogin_r, int, (char *name, size_t size)); # else # if !@HAVE_DECL_GETLOGIN_R@ _GL_FUNCDECL_SYS (getlogin_r, int, (char *name, size_t size) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 10 systems, the second argument is int size. */ _GL_CXXALIAS_SYS_CAST (getlogin_r, int, (char *name, size_t size)); # endif _GL_CXXALIASWARN (getlogin_r); #elif defined GNULIB_POSIXCHECK # undef getlogin_r # if HAVE_RAW_DECL_GETLOGIN_R _GL_WARN_ON_USE (getlogin_r, "getlogin_r is unportable - " "use gnulib module getlogin_r for portability"); # endif #endif #if @GNULIB_GETPAGESIZE@ # if @REPLACE_GETPAGESIZE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getpagesize rpl_getpagesize # endif _GL_FUNCDECL_RPL (getpagesize, int, (void)); _GL_CXXALIAS_RPL (getpagesize, int, (void)); # else # if !@HAVE_GETPAGESIZE@ # if !defined getpagesize /* This is for POSIX systems. */ # if !defined _gl_getpagesize && defined _SC_PAGESIZE # if ! (defined __VMS && __VMS_VER < 70000000) # define _gl_getpagesize() sysconf (_SC_PAGESIZE) # endif # endif /* This is for older VMS. */ # if !defined _gl_getpagesize && defined __VMS # ifdef __ALPHA # define _gl_getpagesize() 8192 # else # define _gl_getpagesize() 512 # endif # endif /* This is for BeOS. */ # if !defined _gl_getpagesize && @HAVE_OS_H@ # include # if defined B_PAGE_SIZE # define _gl_getpagesize() B_PAGE_SIZE # endif # endif /* This is for AmigaOS4.0. */ # if !defined _gl_getpagesize && defined __amigaos4__ # define _gl_getpagesize() 2048 # endif /* This is for older Unix systems. */ # if !defined _gl_getpagesize && @HAVE_SYS_PARAM_H@ # include # ifdef EXEC_PAGESIZE # define _gl_getpagesize() EXEC_PAGESIZE # else # ifdef NBPG # ifndef CLSIZE # define CLSIZE 1 # endif # define _gl_getpagesize() (NBPG * CLSIZE) # else # ifdef NBPC # define _gl_getpagesize() NBPC # endif # endif # endif # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getpagesize() _gl_getpagesize () # else # if !GNULIB_defined_getpagesize_function _GL_UNISTD_INLINE int getpagesize () { return _gl_getpagesize (); } # define GNULIB_defined_getpagesize_function 1 # endif # endif # endif # endif /* Need to cast, because on Cygwin 1.5.x systems, the return type is size_t. */ _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); # endif # if @HAVE_DECL_GETPAGESIZE@ _GL_CXXALIASWARN (getpagesize); # endif #elif defined GNULIB_POSIXCHECK # undef getpagesize # if HAVE_RAW_DECL_GETPAGESIZE _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - " "use gnulib module getpagesize for portability"); # endif #endif #if @GNULIB_GETPASS@ /* Function getpass() from module 'getpass': Read a password from /dev/tty or stdin. Function getpass() from module 'getpass-gnu': Read a password of arbitrary length from /dev/tty or stdin. */ # if @REPLACE_GETPASS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpass # define getpass rpl_getpass # endif _GL_FUNCDECL_RPL (getpass, char *, (const char *prompt) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getpass, char *, (const char *prompt)); # else # if !@HAVE_GETPASS@ _GL_FUNCDECL_SYS (getpass, char *, (const char *prompt) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getpass, char *, (const char *prompt)); # endif _GL_CXXALIASWARN (getpass); #elif defined GNULIB_POSIXCHECK # undef getpass # if HAVE_RAW_DECL_GETPASS _GL_WARN_ON_USE (getpass, "getpass is unportable - " "use gnulib module getpass or getpass-gnu for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Return the next valid login shell on the system, or NULL when the end of the list has been reached. */ # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (getusershell, char *, (void)); # endif _GL_CXXALIAS_SYS (getusershell, char *, (void)); _GL_CXXALIASWARN (getusershell); #elif defined GNULIB_POSIXCHECK # undef getusershell # if HAVE_RAW_DECL_GETUSERSHELL _GL_WARN_ON_USE (getusershell, "getusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Rewind to pointer that is advanced at each getusershell() call. */ # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (setusershell, void, (void)); # endif _GL_CXXALIAS_SYS (setusershell, void, (void)); _GL_CXXALIASWARN (setusershell); #elif defined GNULIB_POSIXCHECK # undef setusershell # if HAVE_RAW_DECL_SETUSERSHELL _GL_WARN_ON_USE (setusershell, "setusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Free the pointer that is advanced at each getusershell() call and associated resources. */ # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (endusershell, void, (void)); # endif _GL_CXXALIAS_SYS (endusershell, void, (void)); _GL_CXXALIASWARN (endusershell); #elif defined GNULIB_POSIXCHECK # undef endusershell # if HAVE_RAW_DECL_ENDUSERSHELL _GL_WARN_ON_USE (endusershell, "endusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GROUP_MEMBER@ /* Determine whether group id is in calling user's group list. */ # if !@HAVE_GROUP_MEMBER@ _GL_FUNCDECL_SYS (group_member, int, (gid_t gid)); # endif _GL_CXXALIAS_SYS (group_member, int, (gid_t gid)); _GL_CXXALIASWARN (group_member); #elif defined GNULIB_POSIXCHECK # undef group_member # if HAVE_RAW_DECL_GROUP_MEMBER _GL_WARN_ON_USE (group_member, "group_member is unportable - " "use gnulib module group-member for portability"); # endif #endif #if @GNULIB_ISATTY@ # if @REPLACE_ISATTY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef isatty # define isatty rpl_isatty # endif _GL_FUNCDECL_RPL (isatty, int, (int fd)); _GL_CXXALIAS_RPL (isatty, int, (int fd)); # else _GL_CXXALIAS_SYS (isatty, int, (int fd)); # endif _GL_CXXALIASWARN (isatty); #elif defined GNULIB_POSIXCHECK # undef isatty # if HAVE_RAW_DECL_ISATTY _GL_WARN_ON_USE (isatty, "isatty has portability problems on native Windows - " "use gnulib module isatty for portability"); # endif #endif #if @GNULIB_LCHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Do not follow symbolic links. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_LCHOWN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lchown # define lchown rpl_lchown # endif _GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)); # else # if !@HAVE_LCHOWN@ _GL_FUNCDECL_SYS (lchown, int, (char const *file, uid_t owner, gid_t group) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (lchown, int, (char const *file, uid_t owner, gid_t group)); # endif _GL_CXXALIASWARN (lchown); #elif defined GNULIB_POSIXCHECK # undef lchown # if HAVE_RAW_DECL_LCHOWN _GL_WARN_ON_USE (lchown, "lchown is unportable to pre-POSIX.1-2001 systems - " "use gnulib module lchown for portability"); # endif #endif #if @GNULIB_LINK@ /* Create a new hard link for an existing file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if @REPLACE_LINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define link rpl_link # endif _GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2)); # else # if !@HAVE_LINK@ _GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2)); # endif _GL_CXXALIASWARN (link); #elif defined GNULIB_POSIXCHECK # undef link # if HAVE_RAW_DECL_LINK _GL_WARN_ON_USE (link, "link is unportable - " "use gnulib module link for portability"); # endif #endif #if @GNULIB_LINKAT@ /* Create a new hard link for an existing file, relative to two directories. FLAG controls whether symlinks are followed. Return 0 if successful, otherwise -1 and errno set. */ # if @REPLACE_LINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef linkat # define linkat rpl_linkat # endif _GL_FUNCDECL_RPL (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag) _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag)); # else # if !@HAVE_LINKAT@ _GL_FUNCDECL_SYS (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag) _GL_ARG_NONNULL ((2, 4))); # endif _GL_CXXALIAS_SYS (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag)); # endif _GL_CXXALIASWARN (linkat); #elif defined GNULIB_POSIXCHECK # undef linkat # if HAVE_RAW_DECL_LINKAT _GL_WARN_ON_USE (linkat, "linkat is unportable - " "use gnulib module linkat for portability"); # endif #endif #if @GNULIB_LSEEK@ /* Set the offset of FD relative to SEEK_SET, SEEK_CUR, or SEEK_END. Return the new offset if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_LSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lseek rpl_lseek # endif _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence)); _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence)); # else _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence)); # endif _GL_CXXALIASWARN (lseek); #elif defined GNULIB_POSIXCHECK # undef lseek # if HAVE_RAW_DECL_LSEEK _GL_WARN_ON_USE (lseek, "lseek does not fail with ESPIPE on pipes on some " "systems - use gnulib module lseek for portability"); # endif #endif #if @GNULIB_PIPE@ /* Create a pipe, defaulting to O_BINARY mode. Store the read-end as fd[0] and the write-end as fd[1]. Return 0 upon success, or -1 with errno set upon failure. */ # if !@HAVE_PIPE@ _GL_FUNCDECL_SYS (pipe, int, (int fd[2]) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pipe, int, (int fd[2])); _GL_CXXALIASWARN (pipe); #elif defined GNULIB_POSIXCHECK # undef pipe # if HAVE_RAW_DECL_PIPE _GL_WARN_ON_USE (pipe, "pipe is unportable - " "use gnulib module pipe-posix for portability"); # endif #endif #if @GNULIB_PIPE2@ /* Create a pipe, applying the given flags when opening the read-end of the pipe and the write-end of the pipe. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). Store the read-end as fd[0] and the write-end as fd[1]. Return 0 upon success, or -1 with errno set upon failure. See also the Linux man page at . */ # if @HAVE_PIPE2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define pipe2 rpl_pipe2 # endif _GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags)); # else _GL_FUNCDECL_SYS (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (pipe2, int, (int fd[2], int flags)); # endif _GL_CXXALIASWARN (pipe2); #elif defined GNULIB_POSIXCHECK # undef pipe2 # if HAVE_RAW_DECL_PIPE2 _GL_WARN_ON_USE (pipe2, "pipe2 is unportable - " "use gnulib module pipe2 for portability"); # endif #endif #if @GNULIB_PREAD@ /* Read at most BUFSIZE bytes from FD into BUF, starting at OFFSET. Return the number of bytes placed into BUF if successful, otherwise set errno and return -1. 0 indicates EOF. See the POSIX:2008 specification . */ # if @REPLACE_PREAD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pread # define pread rpl_pread # endif _GL_FUNCDECL_RPL (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset)); # else # if !@HAVE_PREAD@ _GL_FUNCDECL_SYS (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset)); # endif _GL_CXXALIASWARN (pread); #elif defined GNULIB_POSIXCHECK # undef pread # if HAVE_RAW_DECL_PREAD _GL_WARN_ON_USE (pread, "pread is unportable - " "use gnulib module pread for portability"); # endif #endif #if @GNULIB_PWRITE@ /* Write at most BUFSIZE bytes from BUF into FD, starting at OFFSET. Return the number of bytes written if successful, otherwise set errno and return -1. 0 indicates nothing written. See the POSIX:2008 specification . */ # if @REPLACE_PWRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pwrite # define pwrite rpl_pwrite # endif _GL_FUNCDECL_RPL (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset)); # else # if !@HAVE_PWRITE@ _GL_FUNCDECL_SYS (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset)); # endif _GL_CXXALIASWARN (pwrite); #elif defined GNULIB_POSIXCHECK # undef pwrite # if HAVE_RAW_DECL_PWRITE _GL_WARN_ON_USE (pwrite, "pwrite is unportable - " "use gnulib module pwrite for portability"); # endif #endif #if @GNULIB_READ@ /* Read up to COUNT bytes from file descriptor FD into the buffer starting at BUF. See the POSIX:2008 specification . */ # if @REPLACE_READ@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef read # define read rpl_read # endif _GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count)); # else /* Need to cast, because on mingw, the third parameter is unsigned int count and the return type is 'int'. */ _GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count)); # endif _GL_CXXALIASWARN (read); #endif #if @GNULIB_READLINK@ /* Read the contents of the symbolic link FILE and place the first BUFSIZE bytes of it into BUF. Return the number of bytes placed into BUF if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_READLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlink rpl_readlink # endif _GL_FUNCDECL_RPL (readlink, ssize_t, (const char *file, char *buf, size_t bufsize) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (readlink, ssize_t, (const char *file, char *buf, size_t bufsize)); # else # if !@HAVE_READLINK@ _GL_FUNCDECL_SYS (readlink, ssize_t, (const char *file, char *buf, size_t bufsize) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (readlink, ssize_t, (const char *file, char *buf, size_t bufsize)); # endif _GL_CXXALIASWARN (readlink); #elif defined GNULIB_POSIXCHECK # undef readlink # if HAVE_RAW_DECL_READLINK _GL_WARN_ON_USE (readlink, "readlink is unportable - " "use gnulib module readlink for portability"); # endif #endif #if @GNULIB_READLINKAT@ # if @REPLACE_READLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlinkat rpl_readlinkat # endif _GL_FUNCDECL_RPL (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len)); # else # if !@HAVE_READLINKAT@ _GL_FUNCDECL_SYS (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (readlinkat, ssize_t, (int fd, char const *file, char *buf, size_t len)); # endif _GL_CXXALIASWARN (readlinkat); #elif defined GNULIB_POSIXCHECK # undef readlinkat # if HAVE_RAW_DECL_READLINKAT _GL_WARN_ON_USE (readlinkat, "readlinkat is not portable - " "use gnulib module readlinkat for portability"); # endif #endif #if @GNULIB_RMDIR@ /* Remove the directory DIR. */ # if @REPLACE_RMDIR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define rmdir rpl_rmdir # endif _GL_FUNCDECL_RPL (rmdir, int, (char const *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (rmdir, int, (char const *name)); # else _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); # endif _GL_CXXALIASWARN (rmdir); #elif defined GNULIB_POSIXCHECK # undef rmdir # if HAVE_RAW_DECL_RMDIR _GL_WARN_ON_USE (rmdir, "rmdir is unportable - " "use gnulib module rmdir for portability"); # endif #endif #if @GNULIB_SETHOSTNAME@ /* Set the host name of the machine. The host name may or may not be fully qualified. Put LEN bytes of NAME into the host name. Return 0 if successful, otherwise, set errno and return -1. Platforms with no ability to set the hostname return -1 and set errno = ENOSYS. */ # if !@HAVE_SETHOSTNAME@ || !@HAVE_DECL_SETHOSTNAME@ _GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 11 2011-10, Mac OS X 10.5, IRIX 6.5 and FreeBSD 6.4 the second parameter is int. On Solaris 11 2011-10, the first parameter is not const. */ _GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len)); _GL_CXXALIASWARN (sethostname); #elif defined GNULIB_POSIXCHECK # undef sethostname # if HAVE_RAW_DECL_SETHOSTNAME _GL_WARN_ON_USE (sethostname, "sethostname is unportable - " "use gnulib module sethostname for portability"); # endif #endif #if @GNULIB_SLEEP@ /* Pause the execution of the current thread for N seconds. Returns the number of seconds left to sleep. See the POSIX:2008 specification . */ # if @REPLACE_SLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sleep # define sleep rpl_sleep # endif _GL_FUNCDECL_RPL (sleep, unsigned int, (unsigned int n)); _GL_CXXALIAS_RPL (sleep, unsigned int, (unsigned int n)); # else # if !@HAVE_SLEEP@ _GL_FUNCDECL_SYS (sleep, unsigned int, (unsigned int n)); # endif _GL_CXXALIAS_SYS (sleep, unsigned int, (unsigned int n)); # endif _GL_CXXALIASWARN (sleep); #elif defined GNULIB_POSIXCHECK # undef sleep # if HAVE_RAW_DECL_SLEEP _GL_WARN_ON_USE (sleep, "sleep is unportable - " "use gnulib module sleep for portability"); # endif #endif #if @GNULIB_SYMLINK@ # if @REPLACE_SYMLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef symlink # define symlink rpl_symlink # endif _GL_FUNCDECL_RPL (symlink, int, (char const *contents, char const *file) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (symlink, int, (char const *contents, char const *file)); # else # if !@HAVE_SYMLINK@ _GL_FUNCDECL_SYS (symlink, int, (char const *contents, char const *file) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (symlink, int, (char const *contents, char const *file)); # endif _GL_CXXALIASWARN (symlink); #elif defined GNULIB_POSIXCHECK # undef symlink # if HAVE_RAW_DECL_SYMLINK _GL_WARN_ON_USE (symlink, "symlink is not portable - " "use gnulib module symlink for portability"); # endif #endif #if @GNULIB_SYMLINKAT@ # if @REPLACE_SYMLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef symlinkat # define symlinkat rpl_symlinkat # endif _GL_FUNCDECL_RPL (symlinkat, int, (char const *contents, int fd, char const *file) _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (symlinkat, int, (char const *contents, int fd, char const *file)); # else # if !@HAVE_SYMLINKAT@ _GL_FUNCDECL_SYS (symlinkat, int, (char const *contents, int fd, char const *file) _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS (symlinkat, int, (char const *contents, int fd, char const *file)); # endif _GL_CXXALIASWARN (symlinkat); #elif defined GNULIB_POSIXCHECK # undef symlinkat # if HAVE_RAW_DECL_SYMLINKAT _GL_WARN_ON_USE (symlinkat, "symlinkat is not portable - " "use gnulib module symlinkat for portability"); # endif #endif #if @GNULIB_TRUNCATE@ /* Change the size of the file designated by FILENAME to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_TRUNCATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef truncate # define truncate rpl_truncate # endif _GL_FUNCDECL_RPL (truncate, int, (const char *filename, off_t length) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (truncate, int, (const char *filename, off_t length)); # else # if !@HAVE_DECL_TRUNCATE@ _GL_FUNCDECL_SYS (truncate, int, (const char *filename, off_t length) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (truncate, int, (const char *filename, off_t length)); # endif _GL_CXXALIASWARN (truncate); #elif defined GNULIB_POSIXCHECK # undef truncate # if HAVE_RAW_DECL_TRUNCATE _GL_WARN_ON_USE (truncate, "truncate is unportable - " "use gnulib module truncate for portability"); # endif #endif #if @GNULIB_TTYNAME_R@ /* Store at most BUFLEN characters of the pathname of the terminal FD is open on in BUF. Return 0 on success, otherwise an error number. */ # if @REPLACE_TTYNAME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ttyname_r # define ttyname_r rpl_ttyname_r # endif _GL_FUNCDECL_RPL (ttyname_r, int, (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (ttyname_r, int, (int fd, char *buf, size_t buflen)); # else # if !@HAVE_DECL_TTYNAME_R@ _GL_FUNCDECL_SYS (ttyname_r, int, (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (ttyname_r, int, (int fd, char *buf, size_t buflen)); # endif _GL_CXXALIASWARN (ttyname_r); #elif defined GNULIB_POSIXCHECK # undef ttyname_r # if HAVE_RAW_DECL_TTYNAME_R _GL_WARN_ON_USE (ttyname_r, "ttyname_r is not portable - " "use gnulib module ttyname_r for portability"); # endif #endif #if @GNULIB_UNLINK@ # if @REPLACE_UNLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlink # define unlink rpl_unlink # endif _GL_FUNCDECL_RPL (unlink, int, (char const *file) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (unlink, int, (char const *file)); # else _GL_CXXALIAS_SYS (unlink, int, (char const *file)); # endif _GL_CXXALIASWARN (unlink); #elif defined GNULIB_POSIXCHECK # undef unlink # if HAVE_RAW_DECL_UNLINK _GL_WARN_ON_USE (unlink, "unlink is not portable - " "use gnulib module unlink for portability"); # endif #endif #if @GNULIB_UNLINKAT@ # if @REPLACE_UNLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlinkat # define unlinkat rpl_unlinkat # endif _GL_FUNCDECL_RPL (unlinkat, int, (int fd, char const *file, int flag) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (unlinkat, int, (int fd, char const *file, int flag)); # else # if !@HAVE_UNLINKAT@ _GL_FUNCDECL_SYS (unlinkat, int, (int fd, char const *file, int flag) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (unlinkat, int, (int fd, char const *file, int flag)); # endif _GL_CXXALIASWARN (unlinkat); #elif defined GNULIB_POSIXCHECK # undef unlinkat # if HAVE_RAW_DECL_UNLINKAT _GL_WARN_ON_USE (unlinkat, "unlinkat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_USLEEP@ /* Pause the execution of the current thread for N microseconds. Returns 0 on completion, or -1 on range error. See the POSIX:2001 specification . */ # if @REPLACE_USLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef usleep # define usleep rpl_usleep # endif _GL_FUNCDECL_RPL (usleep, int, (useconds_t n)); _GL_CXXALIAS_RPL (usleep, int, (useconds_t n)); # else # if !@HAVE_USLEEP@ _GL_FUNCDECL_SYS (usleep, int, (useconds_t n)); # endif _GL_CXXALIAS_SYS (usleep, int, (useconds_t n)); # endif _GL_CXXALIASWARN (usleep); #elif defined GNULIB_POSIXCHECK # undef usleep # if HAVE_RAW_DECL_USLEEP _GL_WARN_ON_USE (usleep, "usleep is unportable - " "use gnulib module usleep for portability"); # endif #endif #if @GNULIB_WRITE@ /* Write up to COUNT bytes starting at BUF to file descriptor FD. See the POSIX:2008 specification . */ # if @REPLACE_WRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef write # define write rpl_write # endif _GL_FUNCDECL_RPL (write, ssize_t, (int fd, const void *buf, size_t count) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (write, ssize_t, (int fd, const void *buf, size_t count)); # else /* Need to cast, because on mingw, the third parameter is unsigned int count and the return type is 'int'. */ _GL_CXXALIAS_SYS_CAST (write, ssize_t, (int fd, const void *buf, size_t count)); # endif _GL_CXXALIASWARN (write); #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_UNISTD_H */ #endif /* _GL_INCLUDING_UNISTD_H */ #endif /* _@GUARD_PREFIX@_UNISTD_H */ gsasl-1.8.1/lib/gl/float.c0000644000000000000000000000253413516251670012154 00000000000000/* Auxiliary definitions for . Copyright (C) 2011-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2011. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__ const union gl_long_double_union gl_LDBL_MAX = { { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL } }; #elif defined __i386__ const union gl_long_double_union gl_LDBL_MAX = { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } }; #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif gsasl-1.8.1/lib/gl/sys-limits.h0000644000000000000000000000321513516251666013173 00000000000000/* System call limits Copyright 2018-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _GL_SYS_LIMITS_H #define _GL_SYS_LIMITS_H #include /* Maximum number of bytes to read or write in a single system call. This can be useful for system calls like sendfile on GNU/Linux, which do not handle more than MAX_RW_COUNT bytes correctly. The Linux kernel MAX_RW_COUNT is at least INT_MAX >> 20 << 20, where the 20 comes from the Hexagon port with 1 MiB pages; use that as an approximation, as the exact value may not be available to us. Using this also works around a serious Linux bug before 2.6.16; see . Using this also works around a Tru64 5.1 bug, where attempting to read INT_MAX bytes fails with errno == EINVAL. See . Using this is likely to work around similar bugs in other operating systems. */ enum { SYS_BUFSIZE_MAX = INT_MAX >> 20 << 20 }; #endif gsasl-1.8.1/lib/gl/fseek.c0000644000000000000000000000206513516251665012147 00000000000000/* An fseek() function that, together with fflush(), is POSIX compliant. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Get off_t. */ #include int fseek (FILE *fp, long offset, int whence) { /* Use the replacement fseeko function with all its workarounds. */ return fseeko (fp, (off_t)offset, whence); } gsasl-1.8.1/lib/gl/msvc-inval.h0000644000000000000000000002121413516251666013134 00000000000000/* Invalid parameter handler for MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _MSVC_INVAL_H #define _MSVC_INVAL_H /* With MSVC runtime libraries with the "invalid parameter handler" concept, functions like fprintf(), dup2(), or close() crash when the caller passes an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) instead. This file defines macros that turn such an invalid parameter notification into a non-local exit. An error code can then be produced at the target of this exit. You can thus write code like TRY_MSVC_INVAL { } CATCH_MSVC_INVAL { } DONE_MSVC_INVAL; This entire block expands to a single statement. The handling of invalid parameters can be done in three ways: * The default way, which is reasonable for programs (not libraries): AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [DEFAULT_HANDLING]) * The way for libraries that make "hairy" calls (like close(-1), or fclose(fp) where fileno(fp) is closed, or simply getdtablesize()): AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [HAIRY_LIBRARY_HANDLING]) * The way for libraries that make no "hairy" calls: AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [SANE_LIBRARY_HANDLING]) */ #define DEFAULT_HANDLING 0 #define HAIRY_LIBRARY_HANDLING 1 #define SANE_LIBRARY_HANDLING 2 #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) /* A native Windows platform with the "invalid parameter handler" concept, and either DEFAULT_HANDLING or HAIRY_LIBRARY_HANDLING. */ # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING /* Default handling. */ # ifdef __cplusplus extern "C" { # endif /* Ensure that the invalid parameter handler in installed that just returns. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ gl_msvc_inval_ensure_handler (); \ if (1) # define CATCH_MSVC_INVAL \ else # define DONE_MSVC_INVAL \ } \ while (0) # else /* Handling for hairy libraries. */ # include /* Gnulib can define its own status codes, as described in the page "Raising Software Exceptions" on microsoft.com . Our status codes are composed of - 0xE0000000, mandatory for all user-defined status codes, - 0x474E550, a API identifier ("GNU"), - 0, 1, 2, ..., used to distinguish different status codes from the same API. */ # define STATUS_GNULIB_INVALID_PARAMETER (0xE0000000 + 0x474E550 + 0) # if defined _MSC_VER /* A compiler that supports __try/__except, as described in the page "try-except statement" on microsoft.com . With __try/__except, we can use the multithread-safe exception handling. */ # ifdef __cplusplus extern "C" { # endif /* Ensure that the invalid parameter handler in installed that raises a software exception with code STATUS_GNULIB_INVALID_PARAMETER. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ gl_msvc_inval_ensure_handler (); \ __try # define CATCH_MSVC_INVAL \ __except (GetExceptionCode () == STATUS_GNULIB_INVALID_PARAMETER \ ? EXCEPTION_EXECUTE_HANDLER \ : EXCEPTION_CONTINUE_SEARCH) # define DONE_MSVC_INVAL \ } \ while (0) # else /* Any compiler. We can only use setjmp/longjmp. */ # include # ifdef __cplusplus extern "C" { # endif struct gl_msvc_inval_per_thread { /* The restart that will resume execution at the code between CATCH_MSVC_INVAL and DONE_MSVC_INVAL. It is enabled only between TRY_MSVC_INVAL and CATCH_MSVC_INVAL. */ jmp_buf restart; /* Tells whether the contents of restart is valid. */ int restart_valid; }; /* Ensure that the invalid parameter handler in installed that passes control to the gl_msvc_inval_restart if it is valid, or raises a software exception with code STATUS_GNULIB_INVALID_PARAMETER otherwise. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); /* Return a pointer to the per-thread data for the current thread. */ extern struct gl_msvc_inval_per_thread *gl_msvc_inval_current (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ struct gl_msvc_inval_per_thread *msvc_inval_current; \ gl_msvc_inval_ensure_handler (); \ msvc_inval_current = gl_msvc_inval_current (); \ /* First, initialize gl_msvc_inval_restart. */ \ if (setjmp (msvc_inval_current->restart) == 0) \ { \ /* Then, mark it as valid. */ \ msvc_inval_current->restart_valid = 1; # define CATCH_MSVC_INVAL \ /* Execution completed. \ Mark gl_msvc_inval_restart as invalid. */ \ msvc_inval_current->restart_valid = 0; \ } \ else \ { \ /* Execution triggered an invalid parameter notification. \ Mark gl_msvc_inval_restart as invalid. */ \ msvc_inval_current->restart_valid = 0; # define DONE_MSVC_INVAL \ } \ } \ while (0) # endif # endif #else /* A platform that does not need to the invalid parameter handler, or when SANE_LIBRARY_HANDLING is desired. */ /* The braces here avoid GCC warnings like "warning: suggest explicit braces to avoid ambiguous 'else'". */ # define TRY_MSVC_INVAL \ do \ { \ if (1) # define CATCH_MSVC_INVAL \ else # define DONE_MSVC_INVAL \ } \ while (0) #endif #endif /* _MSVC_INVAL_H */ gsasl-1.8.1/lib/gl/gss-extra.h0000644000000000000000000000357512222241124012761 00000000000000/* gss-extra.h --- Provide GSS-API symbols when missing from library. * Copyright (C) 2010 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef GSS_EXTRA_H # define GSS_EXTRA_H /* Get GSS-API functions. */ #ifdef HAVE_LIBGSS # include #elif HAVE_GSSAPI_H # include #elif HAVE_GSSAPI_GSSAPI_H # include #endif #ifndef HAVE_GSS_OID_EQUAL extern int gss_oid_equal (const gss_OID first_oid, const gss_OID second_oid); #endif /* HAVE_GSS_OID_EQUAL */ #ifndef HAVE_GSS_INQUIRE_MECH_FOR_SASLNAME OM_uint32 gss_inquire_mech_for_saslname (OM_uint32 * minor_status, const gss_buffer_t sasl_mech_name, gss_OID * mech_type); #endif /* HAVE_GSS_INQUIRE_MECH_FOR_SASLNAME */ #ifndef HAVE_GSS_ENCAPSULATE_TOKEN extern OM_uint32 gss_encapsulate_token (const gss_buffer_t input_token, const gss_OID token_oid, gss_buffer_t output_token); #endif /* HAVE_GSS_ENCAPSULATE_TOKEN */ #ifndef HAVE_GSS_DECAPSULATE_TOKEN OM_uint32 gss_decapsulate_token (const gss_buffer_t input_token, const gss_OID token_oid, gss_buffer_t output_token); #endif #endif /* GSS_EXTRA_H */ gsasl-1.8.1/lib/gl/gc-gnulib.c0000644000000000000000000004420113516251670012713 00000000000000/* gc-gnulib.c --- Common gnulib internal crypto interface functions * Copyright (C) 2002-2019 Free Software Foundation, Inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1, or (at your * option) any later version. * * This file 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this file; if not, see . * */ /* Note: This file is only built if GC uses internal functions. */ #include /* Get prototype. */ #include "gc.h" #include #include /* For randomize. */ #ifdef GNULIB_GC_RANDOM # include # include # include # include # include #endif /* Hashes. */ #ifdef GNULIB_GC_MD2 # include "md2.h" #endif #ifdef GNULIB_GC_MD4 # include "md4.h" #endif #ifdef GNULIB_GC_MD5 # include "md5.h" #endif #ifdef GNULIB_GC_SHA1 # include "sha1.h" #endif #ifdef GNULIB_GC_SM3 # include "sm3.h" #endif #if defined(GNULIB_GC_HMAC_MD5) || defined(GNULIB_GC_HMAC_SHA1) || defined(GNULIB_GC_HMAC_SHA256) || defined(GNULIB_GC_HMAC_SHA512) # include "hmac.h" #endif /* Ciphers. */ #ifdef GNULIB_GC_ARCFOUR # include "arcfour.h" #endif #ifdef GNULIB_GC_ARCTWO # include "arctwo.h" #endif #ifdef GNULIB_GC_DES # include "des.h" #endif #ifdef GNULIB_GC_RIJNDAEL # include "rijndael-api-fst.h" #endif #ifdef GNULIB_GC_RANDOM # if defined _WIN32 && ! defined __CYGWIN__ # include # include HCRYPTPROV g_hProv = 0; # ifndef PROV_INTEL_SEC # define PROV_INTEL_SEC 22 # endif # ifndef CRYPT_VERIFY_CONTEXT # define CRYPT_VERIFY_CONTEXT 0xF0000000 # endif # endif #endif Gc_rc gc_init (void) { #ifdef GNULIB_GC_RANDOM # if defined _WIN32 && ! defined __CYGWIN__ if (g_hProv) CryptReleaseContext (g_hProv, 0); /* There is no need to create a container for just random data, so we can use CRYPT_VERIFY_CONTEXT (one call) see: http://blogs.msdn.com/dangriff/archive/2003/11/19/51709.aspx */ /* We first try to use the Intel PIII RNG if drivers are present */ if (!CryptAcquireContext (&g_hProv, NULL, NULL, PROV_INTEL_SEC, CRYPT_VERIFY_CONTEXT)) { /* not a PIII or no drivers available, use default RSA CSP */ if (!CryptAcquireContext (&g_hProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFY_CONTEXT)) return GC_RANDOM_ERROR; } # endif #endif return GC_OK; } void gc_done (void) { #ifdef GNULIB_GC_RANDOM # if defined _WIN32 && ! defined __CYGWIN__ if (g_hProv) { CryptReleaseContext (g_hProv, 0); g_hProv = 0; } # endif #endif return; } #ifdef GNULIB_GC_RANDOM /* Randomness. */ static Gc_rc randomize (int level, char *data, size_t datalen) { #if defined _WIN32 && ! defined __CYGWIN__ if (!g_hProv) return GC_RANDOM_ERROR; CryptGenRandom (g_hProv, (DWORD) datalen, data); #else int fd; const char *device; size_t len = 0; int rc; switch (level) { case 0: device = NAME_OF_NONCE_DEVICE; break; case 1: device = NAME_OF_PSEUDO_RANDOM_DEVICE; break; default: device = NAME_OF_RANDOM_DEVICE; break; } if (strcmp (device, "no") == 0) return GC_RANDOM_ERROR; fd = open (device, O_RDONLY); if (fd < 0) return GC_RANDOM_ERROR; do { ssize_t tmp; tmp = read (fd, data, datalen); if (tmp < 0) { int save_errno = errno; close (fd); errno = save_errno; return GC_RANDOM_ERROR; } len += tmp; } while (len < datalen); rc = close (fd); if (rc < 0) return GC_RANDOM_ERROR; #endif return GC_OK; } Gc_rc gc_nonce (char *data, size_t datalen) { return randomize (0, data, datalen); } Gc_rc gc_pseudo_random (char *data, size_t datalen) { return randomize (1, data, datalen); } Gc_rc gc_random (char *data, size_t datalen) { return randomize (2, data, datalen); } #endif /* Memory allocation. */ void gc_set_allocators (gc_malloc_t func_malloc, gc_malloc_t secure_malloc, gc_secure_check_t secure_check, gc_realloc_t func_realloc, gc_free_t func_free) { return; } /* Ciphers. */ typedef struct _gc_cipher_ctx { Gc_cipher alg; Gc_cipher_mode mode; #ifdef GNULIB_GC_ARCTWO arctwo_context arctwoContext; char arctwoIV[ARCTWO_BLOCK_SIZE]; #endif #ifdef GNULIB_GC_ARCFOUR arcfour_context arcfourContext; #endif #ifdef GNULIB_GC_DES gl_des_ctx desContext; #endif #ifdef GNULIB_GC_RIJNDAEL rijndaelKeyInstance aesEncKey; rijndaelKeyInstance aesDecKey; rijndaelCipherInstance aesContext; #endif } _gc_cipher_ctx; Gc_rc gc_cipher_open (Gc_cipher alg, Gc_cipher_mode mode, gc_cipher_handle * outhandle) { _gc_cipher_ctx *ctx; Gc_rc rc = GC_OK; ctx = calloc (sizeof (*ctx), 1); if (!ctx) return GC_MALLOC_ERROR; ctx->alg = alg; ctx->mode = mode; switch (alg) { #ifdef GNULIB_GC_ARCTWO case GC_ARCTWO40: switch (mode) { case GC_ECB: case GC_CBC: break; default: rc = GC_INVALID_CIPHER; } break; #endif #ifdef GNULIB_GC_ARCFOUR case GC_ARCFOUR128: case GC_ARCFOUR40: switch (mode) { case GC_STREAM: break; default: rc = GC_INVALID_CIPHER; } break; #endif #ifdef GNULIB_GC_DES case GC_DES: switch (mode) { case GC_ECB: break; default: rc = GC_INVALID_CIPHER; } break; #endif #ifdef GNULIB_GC_RIJNDAEL case GC_AES128: case GC_AES192: case GC_AES256: switch (mode) { case GC_ECB: case GC_CBC: break; default: rc = GC_INVALID_CIPHER; } break; #endif default: rc = GC_INVALID_CIPHER; } if (rc == GC_OK) *outhandle = ctx; else free (ctx); return rc; } Gc_rc gc_cipher_setkey (gc_cipher_handle handle, size_t keylen, const char *key) { _gc_cipher_ctx *ctx = handle; switch (ctx->alg) { #ifdef GNULIB_GC_ARCTWO case GC_ARCTWO40: arctwo_setkey (&ctx->arctwoContext, keylen, key); break; #endif #ifdef GNULIB_GC_ARCFOUR case GC_ARCFOUR128: case GC_ARCFOUR40: arcfour_setkey (&ctx->arcfourContext, key, keylen); break; #endif #ifdef GNULIB_GC_DES case GC_DES: if (keylen != 8) return GC_INVALID_CIPHER; gl_des_setkey (&ctx->desContext, key); break; #endif #ifdef GNULIB_GC_RIJNDAEL case GC_AES128: case GC_AES192: case GC_AES256: { rijndael_rc rc; size_t i; char keyMaterial[RIJNDAEL_MAX_KEY_SIZE + 1]; for (i = 0; i < keylen; i++) sprintf (&keyMaterial[2 * i], "%02x", key[i] & 0xFF); rc = rijndaelMakeKey (&ctx->aesEncKey, RIJNDAEL_DIR_ENCRYPT, keylen * 8, keyMaterial); if (rc < 0) return GC_INVALID_CIPHER; rc = rijndaelMakeKey (&ctx->aesDecKey, RIJNDAEL_DIR_DECRYPT, keylen * 8, keyMaterial); if (rc < 0) return GC_INVALID_CIPHER; rc = rijndaelCipherInit (&ctx->aesContext, RIJNDAEL_MODE_ECB, NULL); if (rc < 0) return GC_INVALID_CIPHER; } break; #endif default: return GC_INVALID_CIPHER; } return GC_OK; } Gc_rc gc_cipher_setiv (gc_cipher_handle handle, size_t ivlen, const char *iv) { _gc_cipher_ctx *ctx = handle; switch (ctx->alg) { #ifdef GNULIB_GC_ARCTWO case GC_ARCTWO40: if (ivlen != ARCTWO_BLOCK_SIZE) return GC_INVALID_CIPHER; memcpy (ctx->arctwoIV, iv, ivlen); break; #endif #ifdef GNULIB_GC_RIJNDAEL case GC_AES128: case GC_AES192: case GC_AES256: switch (ctx->mode) { case GC_ECB: /* Doesn't use IV. */ break; case GC_CBC: { rijndael_rc rc; size_t i; char ivMaterial[2 * RIJNDAEL_MAX_IV_SIZE + 1]; for (i = 0; i < ivlen; i++) sprintf (&ivMaterial[2 * i], "%02x", iv[i] & 0xFF); rc = rijndaelCipherInit (&ctx->aesContext, RIJNDAEL_MODE_CBC, ivMaterial); if (rc < 0) return GC_INVALID_CIPHER; } break; default: return GC_INVALID_CIPHER; } break; #endif default: return GC_INVALID_CIPHER; } return GC_OK; } Gc_rc gc_cipher_encrypt_inline (gc_cipher_handle handle, size_t len, char *data) { _gc_cipher_ctx *ctx = handle; switch (ctx->alg) { #ifdef GNULIB_GC_ARCTWO case GC_ARCTWO40: switch (ctx->mode) { case GC_ECB: arctwo_encrypt (&ctx->arctwoContext, data, data, len); break; case GC_CBC: for (; len >= ARCTWO_BLOCK_SIZE; len -= ARCTWO_BLOCK_SIZE, data += ARCTWO_BLOCK_SIZE) { size_t i; for (i = 0; i < ARCTWO_BLOCK_SIZE; i++) data[i] ^= ctx->arctwoIV[i]; arctwo_encrypt (&ctx->arctwoContext, data, data, ARCTWO_BLOCK_SIZE); memcpy (ctx->arctwoIV, data, ARCTWO_BLOCK_SIZE); } break; default: return GC_INVALID_CIPHER; } break; #endif #ifdef GNULIB_GC_ARCFOUR case GC_ARCFOUR128: case GC_ARCFOUR40: arcfour_stream (&ctx->arcfourContext, data, data, len); break; #endif #ifdef GNULIB_GC_DES case GC_DES: for (; len >= 8; len -= 8, data += 8) gl_des_ecb_encrypt (&ctx->desContext, data, data); break; #endif #ifdef GNULIB_GC_RIJNDAEL case GC_AES128: case GC_AES192: case GC_AES256: { int nblocks; nblocks = rijndaelBlockEncrypt (&ctx->aesContext, &ctx->aesEncKey, data, 8 * len, data); if (nblocks < 0) return GC_INVALID_CIPHER; } break; #endif default: return GC_INVALID_CIPHER; } return GC_OK; } Gc_rc gc_cipher_decrypt_inline (gc_cipher_handle handle, size_t len, char *data) { _gc_cipher_ctx *ctx = handle; switch (ctx->alg) { #ifdef GNULIB_GC_ARCTWO case GC_ARCTWO40: switch (ctx->mode) { case GC_ECB: arctwo_decrypt (&ctx->arctwoContext, data, data, len); break; case GC_CBC: for (; len >= ARCTWO_BLOCK_SIZE; len -= ARCTWO_BLOCK_SIZE, data += ARCTWO_BLOCK_SIZE) { char tmpIV[ARCTWO_BLOCK_SIZE]; size_t i; memcpy (tmpIV, data, ARCTWO_BLOCK_SIZE); arctwo_decrypt (&ctx->arctwoContext, data, data, ARCTWO_BLOCK_SIZE); for (i = 0; i < ARCTWO_BLOCK_SIZE; i++) data[i] ^= ctx->arctwoIV[i]; memcpy (ctx->arctwoIV, tmpIV, ARCTWO_BLOCK_SIZE); } break; default: return GC_INVALID_CIPHER; } break; #endif #ifdef GNULIB_GC_ARCFOUR case GC_ARCFOUR128: case GC_ARCFOUR40: arcfour_stream (&ctx->arcfourContext, data, data, len); break; #endif #ifdef GNULIB_GC_DES case GC_DES: for (; len >= 8; len -= 8, data += 8) gl_des_ecb_decrypt (&ctx->desContext, data, data); break; #endif #ifdef GNULIB_GC_RIJNDAEL case GC_AES128: case GC_AES192: case GC_AES256: { int nblocks; nblocks = rijndaelBlockDecrypt (&ctx->aesContext, &ctx->aesDecKey, data, 8 * len, data); if (nblocks < 0) return GC_INVALID_CIPHER; } break; #endif default: return GC_INVALID_CIPHER; } return GC_OK; } Gc_rc gc_cipher_close (gc_cipher_handle handle) { _gc_cipher_ctx *ctx = handle; free (ctx); return GC_OK; } /* Hashes. */ #define MAX_DIGEST_SIZE 32 typedef struct _gc_hash_ctx { Gc_hash alg; Gc_hash_mode mode; char hash[MAX_DIGEST_SIZE]; #ifdef GNULIB_GC_MD2 struct md2_ctx md2Context; #endif #ifdef GNULIB_GC_MD4 struct md4_ctx md4Context; #endif #ifdef GNULIB_GC_MD5 struct md5_ctx md5Context; #endif #ifdef GNULIB_GC_SHA1 struct sha1_ctx sha1Context; #endif #ifdef GNULIB_GC_SM3 struct sm3_ctx sm3Context; #endif } _gc_hash_ctx; Gc_rc gc_hash_open (Gc_hash hash, Gc_hash_mode mode, gc_hash_handle * outhandle) { _gc_hash_ctx *ctx; Gc_rc rc = GC_OK; if (mode != 0) return GC_INVALID_HASH; ctx = calloc (sizeof (*ctx), 1); if (!ctx) return GC_MALLOC_ERROR; ctx->alg = hash; ctx->mode = mode; switch (hash) { #ifdef GNULIB_GC_MD2 case GC_MD2: md2_init_ctx (&ctx->md2Context); break; #endif #ifdef GNULIB_GC_MD4 case GC_MD4: md4_init_ctx (&ctx->md4Context); break; #endif #ifdef GNULIB_GC_MD5 case GC_MD5: md5_init_ctx (&ctx->md5Context); break; #endif #ifdef GNULIB_GC_SHA1 case GC_SHA1: sha1_init_ctx (&ctx->sha1Context); break; #endif #ifdef GNULIB_GC_SM3 case GC_SM3: sm3_init_ctx (&ctx->sm3Context); break; #endif default: rc = GC_INVALID_HASH; break; } if (rc == GC_OK) *outhandle = ctx; else free (ctx); return rc; } Gc_rc gc_hash_clone (gc_hash_handle handle, gc_hash_handle * outhandle) { _gc_hash_ctx *in = handle; _gc_hash_ctx *out; *outhandle = out = calloc (sizeof (*out), 1); if (!out) return GC_MALLOC_ERROR; memcpy (out, in, sizeof (*out)); return GC_OK; } size_t gc_hash_digest_length (Gc_hash hash) { size_t len; switch (hash) { case GC_MD2: len = GC_MD2_DIGEST_SIZE; break; case GC_MD4: len = GC_MD4_DIGEST_SIZE; break; case GC_MD5: len = GC_MD5_DIGEST_SIZE; break; case GC_RMD160: len = GC_RMD160_DIGEST_SIZE; break; case GC_SHA1: len = GC_SHA1_DIGEST_SIZE; break; case GC_SM3: len = GC_SM3_DIGEST_SIZE; break; default: return 0; } return len; } void gc_hash_write (gc_hash_handle handle, size_t len, const char *data) { _gc_hash_ctx *ctx = handle; switch (ctx->alg) { #ifdef GNULIB_GC_MD2 case GC_MD2: md2_process_bytes (data, len, &ctx->md2Context); break; #endif #ifdef GNULIB_GC_MD4 case GC_MD4: md4_process_bytes (data, len, &ctx->md4Context); break; #endif #ifdef GNULIB_GC_MD5 case GC_MD5: md5_process_bytes (data, len, &ctx->md5Context); break; #endif #ifdef GNULIB_GC_SHA1 case GC_SHA1: sha1_process_bytes (data, len, &ctx->sha1Context); break; #endif #ifdef GNULIB_GC_SM3 case GC_SM3: sm3_process_bytes (data, len, &ctx->sm3Context); break; #endif default: break; } } const char * gc_hash_read (gc_hash_handle handle) { _gc_hash_ctx *ctx = handle; const char *ret = NULL; switch (ctx->alg) { #ifdef GNULIB_GC_MD2 case GC_MD2: md2_finish_ctx (&ctx->md2Context, ctx->hash); ret = ctx->hash; break; #endif #ifdef GNULIB_GC_MD4 case GC_MD4: md4_finish_ctx (&ctx->md4Context, ctx->hash); ret = ctx->hash; break; #endif #ifdef GNULIB_GC_MD5 case GC_MD5: md5_finish_ctx (&ctx->md5Context, ctx->hash); ret = ctx->hash; break; #endif #ifdef GNULIB_GC_SHA1 case GC_SHA1: sha1_finish_ctx (&ctx->sha1Context, ctx->hash); ret = ctx->hash; break; #endif #ifdef GNULIB_GC_SM3 case GC_SM3: sm3_finish_ctx (&ctx->sm3Context, ctx->hash); ret = ctx->hash; break; #endif default: return NULL; } return ret; } void gc_hash_close (gc_hash_handle handle) { _gc_hash_ctx *ctx = handle; free (ctx); } Gc_rc gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *resbuf) { switch (hash) { #ifdef GNULIB_GC_MD2 case GC_MD2: md2_buffer (in, inlen, resbuf); break; #endif #ifdef GNULIB_GC_MD4 case GC_MD4: md4_buffer (in, inlen, resbuf); break; #endif #ifdef GNULIB_GC_MD5 case GC_MD5: md5_buffer (in, inlen, resbuf); break; #endif #ifdef GNULIB_GC_SHA1 case GC_SHA1: sha1_buffer (in, inlen, resbuf); break; #endif #ifdef GNULIB_GC_SM3 case GC_SM3: sm3_buffer (in, inlen, resbuf); break; #endif default: return GC_INVALID_HASH; } return GC_OK; } #ifdef GNULIB_GC_MD2 Gc_rc gc_md2 (const void *in, size_t inlen, void *resbuf) { md2_buffer (in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_MD4 Gc_rc gc_md4 (const void *in, size_t inlen, void *resbuf) { md4_buffer (in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_MD5 Gc_rc gc_md5 (const void *in, size_t inlen, void *resbuf) { md5_buffer (in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_SHA1 Gc_rc gc_sha1 (const void *in, size_t inlen, void *resbuf) { sha1_buffer (in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_SM3 Gc_rc gc_sm3 (const void *in, size_t inlen, void *resbuf) { sm3_buffer (in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_MD5 Gc_rc gc_hmac_md5 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { hmac_md5 (key, keylen, in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_SHA1 Gc_rc gc_hmac_sha1 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { hmac_sha1 (key, keylen, in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_SHA256 Gc_rc gc_hmac_sha256 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { hmac_sha256 (key, keylen, in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_SHA512 Gc_rc gc_hmac_sha512 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { hmac_sha512 (key, keylen, in, inlen, resbuf); return GC_OK; } #endif gsasl-1.8.1/lib/gl/af_alg.h0000644000000000000000000000667213516251665012300 00000000000000/* af_alg.h - Compute message digests from file streams and buffers. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Matteo Croce , 2018. Documentation by Bruno Haible , 2018. */ /* Declare specific functions for computing message digests using the Linux kernel crypto API, if available. This kernel API gives access to specialized crypto instructions (that would also be available in user space) or to crypto devices (not directly available in user space). For a more complete set of facilities that use the Linux kernel crypto API, look at libkcapi. */ #ifndef AF_ALG_H # define AF_ALG_H 1 # include # include # ifdef __cplusplus extern "C" { # endif # if USE_LINUX_CRYPTO_API /* Compute a message digest of a memory region. The memory region starts at BUFFER and is LEN bytes long. ALG is the message digest algorithm; see the file /proc/crypto. RESBLOCK points to a block of HASHLEN bytes, for the result. HASHLEN must be the length of the message digest, in bytes, in particular: alg | hashlen -------+-------- md5 | 16 sha1 | 20 sha224 | 28 sha256 | 32 sha384 | 48 sha512 | 64 If successful, fill RESBLOCK and return 0. Upon failure, return a negated error number. */ int afalg_buffer (const char *buffer, size_t len, const char *alg, void *resblock, ssize_t hashlen); /* Compute a message digest of data read from STREAM. STREAM is an open file stream. The last operation on STREAM should not be 'ungetc', and if STREAM is also open for writing it should have been fflushed since its last write. Read from the current position to the end of STREAM. Handle regular files efficiently. ALG is the message digest algorithm; see the file /proc/crypto. RESBLOCK points to a block of HASHLEN bytes, for the result. HASHLEN must be the length of the message digest, in bytes, in particular: alg | hashlen -------+-------- md5 | 16 sha1 | 20 sha224 | 28 sha256 | 32 sha384 | 48 sha512 | 64 If successful, fill RESBLOCK and return 0. Upon failure, return a negated error number. Unless returning 0 or -EIO, restore STREAM's file position so that the caller can fall back on some other method. */ int afalg_stream (FILE *stream, const char *alg, void *resblock, ssize_t hashlen); # else static inline int afalg_buffer (const char *buffer, size_t len, const char *alg, void *resblock, ssize_t hashlen) { return -EAFNOSUPPORT; } static inline int afalg_stream (FILE *stream, const char *alg, void *resblock, ssize_t hashlen) { return -EAFNOSUPPORT; } # endif # ifdef __cplusplus } # endif #endif /* AF_ALG_H */ gsasl-1.8.1/lib/gl/xsize.c0000644000000000000000000000011612402701120012162 00000000000000#include #define XSIZE_INLINE _GL_EXTERN_INLINE #include "xsize.h" gsasl-1.8.1/lib/gl/md5.c0000644000000000000000000003672613516251671011547 00000000000000/* Functions to compute MD5 message digest of files or memory blocks. according to the definition of MD5 in RFC 1321 from April 1992. Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Ulrich Drepper , 1995. */ #include #if HAVE_OPENSSL_MD5 # define GL_OPENSSL_INLINE _GL_EXTERN_INLINE #endif #include "md5.h" #include #include #include #include #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #ifdef _LIBC # include # if __BYTE_ORDER == __BIG_ENDIAN # define WORDS_BIGENDIAN 1 # endif /* We need to keep the namespace clean so define the MD5 function protected using leading __ . */ # define md5_init_ctx __md5_init_ctx # define md5_process_block __md5_process_block # define md5_process_bytes __md5_process_bytes # define md5_finish_ctx __md5_finish_ctx # define md5_read_ctx __md5_read_ctx # define md5_stream __md5_stream # define md5_buffer __md5_buffer #endif #include #ifdef WORDS_BIGENDIAN # define SWAP(n) bswap_32 (n) #else # define SWAP(n) (n) #endif #define BLOCKSIZE 32768 #if BLOCKSIZE % 64 != 0 # error "invalid BLOCKSIZE" #endif #if ! HAVE_OPENSSL_MD5 /* This array contains the bytes used to pad the buffer to the next 64-byte boundary. (RFC 1321, 3.1: Step 1) */ static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; /* Initialize structure containing state of computation. (RFC 1321, 3.3: Step 3) */ void md5_init_ctx (struct md5_ctx *ctx) { ctx->A = 0x67452301; ctx->B = 0xefcdab89; ctx->C = 0x98badcfe; ctx->D = 0x10325476; ctx->total[0] = ctx->total[1] = 0; ctx->buflen = 0; } /* Copy the 4 byte value from v into the memory location pointed to by *cp, If your architecture allows unaligned access this is equivalent to * (uint32_t *) cp = v */ static void set_uint32 (char *cp, uint32_t v) { memcpy (cp, &v, sizeof v); } /* Put result from CTX in first 16 bytes following RESBUF. The result must be in little endian byte order. */ void * md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) { char *r = resbuf; set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); return resbuf; } /* Process the remaining bytes in the internal buffer and the usual prolog according to the standard and write the result to RESBUF. */ void * md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) { /* Take yet unprocessed bytes into account. */ uint32_t bytes = ctx->buflen; size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; /* Now count remaining bytes. */ ctx->total[0] += bytes; if (ctx->total[0] < bytes) ++ctx->total[1]; /* Put the 64-bit file length in *bits* at the end of the buffer. */ ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); /* Process last bytes. */ md5_process_block (ctx->buffer, size * 4, ctx); return md5_read_ctx (ctx, resbuf); } #endif #if defined _LIBC || defined GL_COMPILE_CRYPTO_STREAM #include "af_alg.h" /* Compute MD5 message digest for bytes read from STREAM. The resulting message digest number will be written into the 16 bytes beginning at RESBLOCK. */ int md5_stream (FILE *stream, void *resblock) { switch (afalg_stream (stream, "md5", resblock, MD5_DIGEST_SIZE)) { case 0: return 0; case -EIO: return 1; } char *buffer = malloc (BLOCKSIZE + 72); if (!buffer) return 1; struct md5_ctx ctx; md5_init_ctx (&ctx); size_t sum; /* Iterate over full file contents. */ while (1) { /* We read the file in blocks of BLOCKSIZE bytes. One call of the computation function processes the whole buffer so that with the next round of the loop another block can be read. */ size_t n; sum = 0; /* Read block. Take care for partial reads. */ while (1) { /* Either process a partial fread() from this loop, or the fread() in afalg_stream may have gotten EOF. We need to avoid a subsequent fread() as EOF may not be sticky. For details of such systems, see: https://sourceware.org/bugzilla/show_bug.cgi?id=1190 */ if (feof (stream)) goto process_partial_block; n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); sum += n; if (sum == BLOCKSIZE) break; if (n == 0) { /* Check for the error flag IFF N == 0, so that we don't exit the loop after a partial read due to e.g., EAGAIN or EWOULDBLOCK. */ if (ferror (stream)) { free (buffer); return 1; } goto process_partial_block; } } /* Process buffer with BLOCKSIZE bytes. Note that BLOCKSIZE % 64 == 0 */ md5_process_block (buffer, BLOCKSIZE, &ctx); } process_partial_block: /* Process any remaining bytes. */ if (sum > 0) md5_process_bytes (buffer, sum, &ctx); /* Construct result in desired memory. */ md5_finish_ctx (&ctx, resblock); free (buffer); return 0; } #endif #if ! HAVE_OPENSSL_MD5 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ void * md5_buffer (const char *buffer, size_t len, void *resblock) { struct md5_ctx ctx; /* Initialize the computation context. */ md5_init_ctx (&ctx); /* Process whole buffer but last len % 64 bytes. */ md5_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return md5_finish_ctx (&ctx, resblock); } void md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) { /* When we already have some bits in our internal buffer concatenate both inputs first. */ if (ctx->buflen != 0) { size_t left_over = ctx->buflen; size_t add = 128 - left_over > len ? len : 128 - left_over; memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx->buflen += add; if (ctx->buflen > 64) { md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx->buflen &= 63; /* The regions in the following copy operation cannot overlap, because ctx->buflen < 64 ≤ (left_over + add) & ~63. */ memcpy (ctx->buffer, &((char *) ctx->buffer)[(left_over + add) & ~63], ctx->buflen); } buffer = (const char *) buffer + add; len -= add; } /* Process available complete blocks. */ if (len >= 64) { #if !(_STRING_ARCH_unaligned || _STRING_INLINE_unaligned) # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) if (UNALIGNED_P (buffer)) while (len > 64) { md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer = (const char *) buffer + 64; len -= 64; } else #endif { md5_process_block (buffer, len & ~63, ctx); buffer = (const char *) buffer + (len & ~63); len &= 63; } } /* Move remaining bytes in internal buffer. */ if (len > 0) { size_t left_over = ctx->buflen; memcpy (&((char *) ctx->buffer)[left_over], buffer, len); left_over += len; if (left_over >= 64) { md5_process_block (ctx->buffer, 64, ctx); left_over -= 64; /* The regions in the following copy operation cannot overlap, because left_over ≤ 64. */ memcpy (ctx->buffer, &ctx->buffer[16], left_over); } ctx->buflen = left_over; } } /* These are the four functions used in the four steps of the MD5 algorithm and defined in the RFC 1321. The first function is a little bit optimized (as found in Colin Plumbs public domain implementation). */ /* #define FF(b, c, d) ((b & c) | (~b & d)) */ #define FF(b, c, d) (d ^ (b & (c ^ d))) #define FG(b, c, d) FF (d, b, c) #define FH(b, c, d) (b ^ c ^ d) #define FI(b, c, d) (c ^ (b | ~d)) /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 64 == 0. */ void md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) { uint32_t correct_words[16]; const uint32_t *words = buffer; size_t nwords = len / sizeof (uint32_t); const uint32_t *endp = words + nwords; uint32_t A = ctx->A; uint32_t B = ctx->B; uint32_t C = ctx->C; uint32_t D = ctx->D; uint32_t lolen = len; /* First increment the byte count. RFC 1321 specifies the possible length of the file up to 2^64 bits. Here we only compute the number of bytes. Do a double word increment. */ ctx->total[0] += lolen; ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); /* Process all bytes in the buffer with 64 bytes in each round of the loop. */ while (words < endp) { uint32_t *cwp = correct_words; uint32_t A_save = A; uint32_t B_save = B; uint32_t C_save = C; uint32_t D_save = D; /* First round: using the given function, the context and a constant the next context is computed. Because the algorithms processing unit is a 32-bit word and it is determined to work on words in little endian byte order we perhaps have to change the byte order before the computation. To reduce the work for the next steps we store the swapped words in the array CORRECT_WORDS. */ #define OP(a, b, c, d, s, T) \ do \ { \ a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ ++words; \ CYCLIC (a, s); \ a += b; \ } \ while (0) /* It is unfortunate that C does not provide an operator for cyclic rotation. Hope the C compiler is smart enough. */ #define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s))) /* Before we start, one word to the strange constants. They are defined in RFC 1321 as T[i] = (int) (4294967296.0 * fabs (sin (i))), i=1..64 Here is an equivalent invocation using Perl: perl -e 'foreach(1..64){printf "0x%08x\n", int (4294967296 * abs (sin $_))}' */ /* Round 1. */ OP (A, B, C, D, 7, 0xd76aa478); OP (D, A, B, C, 12, 0xe8c7b756); OP (C, D, A, B, 17, 0x242070db); OP (B, C, D, A, 22, 0xc1bdceee); OP (A, B, C, D, 7, 0xf57c0faf); OP (D, A, B, C, 12, 0x4787c62a); OP (C, D, A, B, 17, 0xa8304613); OP (B, C, D, A, 22, 0xfd469501); OP (A, B, C, D, 7, 0x698098d8); OP (D, A, B, C, 12, 0x8b44f7af); OP (C, D, A, B, 17, 0xffff5bb1); OP (B, C, D, A, 22, 0x895cd7be); OP (A, B, C, D, 7, 0x6b901122); OP (D, A, B, C, 12, 0xfd987193); OP (C, D, A, B, 17, 0xa679438e); OP (B, C, D, A, 22, 0x49b40821); /* For the second to fourth round we have the possibly swapped words in CORRECT_WORDS. Redefine the macro to take an additional first argument specifying the function to use. */ #undef OP #define OP(f, a, b, c, d, k, s, T) \ do \ { \ a += f (b, c, d) + correct_words[k] + T; \ CYCLIC (a, s); \ a += b; \ } \ while (0) /* Round 2. */ OP (FG, A, B, C, D, 1, 5, 0xf61e2562); OP (FG, D, A, B, C, 6, 9, 0xc040b340); OP (FG, C, D, A, B, 11, 14, 0x265e5a51); OP (FG, B, C, D, A, 0, 20, 0xe9b6c7aa); OP (FG, A, B, C, D, 5, 5, 0xd62f105d); OP (FG, D, A, B, C, 10, 9, 0x02441453); OP (FG, C, D, A, B, 15, 14, 0xd8a1e681); OP (FG, B, C, D, A, 4, 20, 0xe7d3fbc8); OP (FG, A, B, C, D, 9, 5, 0x21e1cde6); OP (FG, D, A, B, C, 14, 9, 0xc33707d6); OP (FG, C, D, A, B, 3, 14, 0xf4d50d87); OP (FG, B, C, D, A, 8, 20, 0x455a14ed); OP (FG, A, B, C, D, 13, 5, 0xa9e3e905); OP (FG, D, A, B, C, 2, 9, 0xfcefa3f8); OP (FG, C, D, A, B, 7, 14, 0x676f02d9); OP (FG, B, C, D, A, 12, 20, 0x8d2a4c8a); /* Round 3. */ OP (FH, A, B, C, D, 5, 4, 0xfffa3942); OP (FH, D, A, B, C, 8, 11, 0x8771f681); OP (FH, C, D, A, B, 11, 16, 0x6d9d6122); OP (FH, B, C, D, A, 14, 23, 0xfde5380c); OP (FH, A, B, C, D, 1, 4, 0xa4beea44); OP (FH, D, A, B, C, 4, 11, 0x4bdecfa9); OP (FH, C, D, A, B, 7, 16, 0xf6bb4b60); OP (FH, B, C, D, A, 10, 23, 0xbebfbc70); OP (FH, A, B, C, D, 13, 4, 0x289b7ec6); OP (FH, D, A, B, C, 0, 11, 0xeaa127fa); OP (FH, C, D, A, B, 3, 16, 0xd4ef3085); OP (FH, B, C, D, A, 6, 23, 0x04881d05); OP (FH, A, B, C, D, 9, 4, 0xd9d4d039); OP (FH, D, A, B, C, 12, 11, 0xe6db99e5); OP (FH, C, D, A, B, 15, 16, 0x1fa27cf8); OP (FH, B, C, D, A, 2, 23, 0xc4ac5665); /* Round 4. */ OP (FI, A, B, C, D, 0, 6, 0xf4292244); OP (FI, D, A, B, C, 7, 10, 0x432aff97); OP (FI, C, D, A, B, 14, 15, 0xab9423a7); OP (FI, B, C, D, A, 5, 21, 0xfc93a039); OP (FI, A, B, C, D, 12, 6, 0x655b59c3); OP (FI, D, A, B, C, 3, 10, 0x8f0ccc92); OP (FI, C, D, A, B, 10, 15, 0xffeff47d); OP (FI, B, C, D, A, 1, 21, 0x85845dd1); OP (FI, A, B, C, D, 8, 6, 0x6fa87e4f); OP (FI, D, A, B, C, 15, 10, 0xfe2ce6e0); OP (FI, C, D, A, B, 6, 15, 0xa3014314); OP (FI, B, C, D, A, 13, 21, 0x4e0811a1); OP (FI, A, B, C, D, 4, 6, 0xf7537e82); OP (FI, D, A, B, C, 11, 10, 0xbd3af235); OP (FI, C, D, A, B, 2, 15, 0x2ad7d2bb); OP (FI, B, C, D, A, 9, 21, 0xeb86d391); /* Add the starting values of the context. */ A += A_save; B += B_save; C += C_save; D += D_save; } /* Put checksum in context given as argument. */ ctx->A = A; ctx->B = B; ctx->C = C; ctx->D = D; } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/lib/gl/errno.in.h0000644000000000000000000001643513516251670012613 00000000000000/* A POSIX-like . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _@GUARD_PREFIX@_ERRNO_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_ERRNO_H@ #ifndef _@GUARD_PREFIX@_ERRNO_H #define _@GUARD_PREFIX@_ERRNO_H /* On native Windows platforms, many macros are not defined. */ # if defined _WIN32 && ! defined __CYGWIN__ /* These are the same values as defined by MSVC 10, for interoperability. */ # ifndef ENOMSG # define ENOMSG 122 # define GNULIB_defined_ENOMSG 1 # endif # ifndef EIDRM # define EIDRM 111 # define GNULIB_defined_EIDRM 1 # endif # ifndef ENOLINK # define ENOLINK 121 # define GNULIB_defined_ENOLINK 1 # endif # ifndef EPROTO # define EPROTO 134 # define GNULIB_defined_EPROTO 1 # endif # ifndef EBADMSG # define EBADMSG 104 # define GNULIB_defined_EBADMSG 1 # endif # ifndef EOVERFLOW # define EOVERFLOW 132 # define GNULIB_defined_EOVERFLOW 1 # endif # ifndef ENOTSUP # define ENOTSUP 129 # define GNULIB_defined_ENOTSUP 1 # endif # ifndef ENETRESET # define ENETRESET 117 # define GNULIB_defined_ENETRESET 1 # endif # ifndef ECONNABORTED # define ECONNABORTED 106 # define GNULIB_defined_ECONNABORTED 1 # endif # ifndef ECANCELED # define ECANCELED 105 # define GNULIB_defined_ECANCELED 1 # endif # ifndef EOWNERDEAD # define EOWNERDEAD 133 # define GNULIB_defined_EOWNERDEAD 1 # endif # ifndef ENOTRECOVERABLE # define ENOTRECOVERABLE 127 # define GNULIB_defined_ENOTRECOVERABLE 1 # endif # ifndef EINPROGRESS # define EINPROGRESS 112 # define EALREADY 103 # define ENOTSOCK 128 # define EDESTADDRREQ 109 # define EMSGSIZE 115 # define EPROTOTYPE 136 # define ENOPROTOOPT 123 # define EPROTONOSUPPORT 135 # define EOPNOTSUPP 130 # define EAFNOSUPPORT 102 # define EADDRINUSE 100 # define EADDRNOTAVAIL 101 # define ENETDOWN 116 # define ENETUNREACH 118 # define ECONNRESET 108 # define ENOBUFS 119 # define EISCONN 113 # define ENOTCONN 126 # define ETIMEDOUT 138 # define ECONNREFUSED 107 # define ELOOP 114 # define EHOSTUNREACH 110 # define EWOULDBLOCK 140 # define GNULIB_defined_ESOCK 1 # endif # ifndef ETXTBSY # define ETXTBSY 139 # define ENODATA 120 /* not required by POSIX */ # define ENOSR 124 /* not required by POSIX */ # define ENOSTR 125 /* not required by POSIX */ # define ETIME 137 /* not required by POSIX */ # define EOTHER 131 /* not required by POSIX */ # define GNULIB_defined_ESTREAMS 1 # endif /* These are intentionally the same values as the WSA* error numbers, defined in . */ # define ESOCKTNOSUPPORT 10044 /* not required by POSIX */ # define EPFNOSUPPORT 10046 /* not required by POSIX */ # define ESHUTDOWN 10058 /* not required by POSIX */ # define ETOOMANYREFS 10059 /* not required by POSIX */ # define EHOSTDOWN 10064 /* not required by POSIX */ # define EPROCLIM 10067 /* not required by POSIX */ # define EUSERS 10068 /* not required by POSIX */ # define EDQUOT 10069 # define ESTALE 10070 # define EREMOTE 10071 /* not required by POSIX */ # define GNULIB_defined_EWINSOCK 1 # endif /* On OSF/1 5.1, when _XOPEN_SOURCE_EXTENDED is not defined, the macros EMULTIHOP, ENOLINK, EOVERFLOW are not defined. */ # if @EMULTIHOP_HIDDEN@ # define EMULTIHOP @EMULTIHOP_VALUE@ # define GNULIB_defined_EMULTIHOP 1 # endif # if @ENOLINK_HIDDEN@ # define ENOLINK @ENOLINK_VALUE@ # define GNULIB_defined_ENOLINK 1 # endif # if @EOVERFLOW_HIDDEN@ # define EOVERFLOW @EOVERFLOW_VALUE@ # define GNULIB_defined_EOVERFLOW 1 # endif /* On OpenBSD 4.0 and on native Windows, the macros ENOMSG, EIDRM, ENOLINK, EPROTO, EMULTIHOP, EBADMSG, EOVERFLOW, ENOTSUP, ECANCELED are not defined. Likewise, on NonStop Kernel, EDQUOT is not defined. Define them here. Values >= 2000 seem safe to use: Solaris ESTALE = 151, HP-UX EWOULDBLOCK = 246, IRIX EDQUOT = 1133. Note: When one of these systems defines some of these macros some day, binaries will have to be recompiled so that they recognizes the new errno values from the system. */ # ifndef ENOMSG # define ENOMSG 2000 # define GNULIB_defined_ENOMSG 1 # endif # ifndef EIDRM # define EIDRM 2001 # define GNULIB_defined_EIDRM 1 # endif # ifndef ENOLINK # define ENOLINK 2002 # define GNULIB_defined_ENOLINK 1 # endif # ifndef EPROTO # define EPROTO 2003 # define GNULIB_defined_EPROTO 1 # endif # ifndef EMULTIHOP # define EMULTIHOP 2004 # define GNULIB_defined_EMULTIHOP 1 # endif # ifndef EBADMSG # define EBADMSG 2005 # define GNULIB_defined_EBADMSG 1 # endif # ifndef EOVERFLOW # define EOVERFLOW 2006 # define GNULIB_defined_EOVERFLOW 1 # endif # ifndef ENOTSUP # define ENOTSUP 2007 # define GNULIB_defined_ENOTSUP 1 # endif # ifndef ENETRESET # define ENETRESET 2011 # define GNULIB_defined_ENETRESET 1 # endif # ifndef ECONNABORTED # define ECONNABORTED 2012 # define GNULIB_defined_ECONNABORTED 1 # endif # ifndef ESTALE # define ESTALE 2009 # define GNULIB_defined_ESTALE 1 # endif # ifndef EDQUOT # define EDQUOT 2010 # define GNULIB_defined_EDQUOT 1 # endif # ifndef ECANCELED # define ECANCELED 2008 # define GNULIB_defined_ECANCELED 1 # endif /* On many platforms, the macros EOWNERDEAD and ENOTRECOVERABLE are not defined. */ # ifndef EOWNERDEAD # if defined __sun /* Use the same values as defined for Solaris >= 8, for interoperability. */ # define EOWNERDEAD 58 # define ENOTRECOVERABLE 59 # elif defined _WIN32 && ! defined __CYGWIN__ /* We have a conflict here: pthreads-win32 defines these values differently than MSVC 10. It's hairy to decide which one to use. */ # if defined __MINGW32__ && !defined USE_WINDOWS_THREADS /* Use the same values as defined by pthreads-win32, for interoperability. */ # define EOWNERDEAD 43 # define ENOTRECOVERABLE 44 # else /* Use the same values as defined by MSVC 10, for interoperability. */ # define EOWNERDEAD 133 # define ENOTRECOVERABLE 127 # endif # else # define EOWNERDEAD 2013 # define ENOTRECOVERABLE 2014 # endif # define GNULIB_defined_EOWNERDEAD 1 # define GNULIB_defined_ENOTRECOVERABLE 1 # endif # ifndef EILSEQ # define EILSEQ 2015 # define GNULIB_defined_EILSEQ 1 # endif #endif /* _@GUARD_PREFIX@_ERRNO_H */ #endif /* _@GUARD_PREFIX@_ERRNO_H */ gsasl-1.8.1/lib/gl/stdalign.in.h0000644000000000000000000001121713516251671013265 00000000000000/* A substitute for ISO C11 . Copyright 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Paul Eggert and Bruno Haible. */ #ifndef _GL_STDALIGN_H #define _GL_STDALIGN_H /* ISO C11 for platforms that lack it. References: ISO C11 (latest free draft ) sections 6.5.3.4, 6.7.5, 7.15. C++11 (latest free draft ) section 18.10. */ /* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment requirement of a structure member (i.e., slot or field) that is of type TYPE, as an integer constant expression. This differs from GCC's __alignof__ operator, which can yield a better-performing alignment for an object of that type. For example, on x86 with GCC, __alignof__ (double) and __alignof__ (long long) are 8, whereas alignof (double) and alignof (long long) are 4 unless the option '-malign-double' is used. The result cannot be used as a value for an 'enum' constant, if you want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. Include for offsetof. */ #include /* FreeBSD 9.1 , included by and lots of other standard headers, defines conflicting implementations of _Alignas and _Alignof that are no better than ours; override them. */ #undef _Alignas #undef _Alignof /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 . */ #if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9))) # ifdef __cplusplus # if 201103 <= __cplusplus # define _Alignof(type) alignof (type) # else template struct __alignof_helper { char __a; __t __b; }; # define _Alignof(type) offsetof (__alignof_helper, __b) # endif # else # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) # endif #endif #if ! (defined __cplusplus && 201103 <= __cplusplus) # define alignof _Alignof #endif #define __alignof_is_defined 1 /* alignas (A), also known as _Alignas (A), aligns a variable or type to the alignment A, where A is an integer constant expression. For example: int alignas (8) foo; struct s { int a; int alignas (8) bar; }; aligns the address of FOO and the offset of BAR to be multiples of 8. A should be a power of two that is at least the type's alignment and at most the implementation's alignment limit. This limit is 2**28 on typical GNUish hosts, and 2**13 on MSVC. To be portable to MSVC through at least version 10.0, A should be an integer constant, as MSVC does not support expressions such as 1 << 3. To be portable to Sun C 5.11, do not align auto variables to anything stricter than their default alignment. The following C11 requirements are not supported here: - If A is zero, alignas has no effect. - alignas can be used multiple times; the strictest one wins. - alignas (TYPE) is equivalent to alignas (alignof (TYPE)). */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 # if defined __cplusplus && 201103 <= __cplusplus # define _Alignas(a) alignas (a) # elif ((defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__) # define _Alignas(a) __attribute__ ((__aligned__ (a))) # elif 1300 <= _MSC_VER # define _Alignas(a) __declspec (align (a)) # endif #endif #if ((defined _Alignas && ! (defined __cplusplus && 201103 <= __cplusplus)) \ || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) # define alignas _Alignas #endif #if defined alignas || (defined __cplusplus && 201103 <= __cplusplus) # define __alignas_is_defined 1 #endif #endif /* _GL_STDALIGN_H */ gsasl-1.8.1/lib/gl/size_max.h0000644000000000000000000000224113516251671012667 00000000000000/* size_max.h -- declare SIZE_MAX through system headers Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. Written by Simon Josefsson. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef GNULIB_SIZE_MAX_H #define GNULIB_SIZE_MAX_H /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ # include /* Get SIZE_MAX declaration on systems like glibc 2. */ # if HAVE_STDINT_H # include # endif /* On systems where these include files don't define it, SIZE_MAX is defined in config.h. */ #endif /* GNULIB_SIZE_MAX_H */ gsasl-1.8.1/lib/gl/hmac.h0000644000000000000000000000426713516251670011771 00000000000000/* hmac.h -- hashed message authentication codes Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Simon Josefsson. */ #ifndef HMAC_H # define HMAC_H 1 #include /* Compute Hashed Message Authentication Code with MD5, as described in RFC 2104, over BUFFER data of BUFLEN bytes using the KEY of KEYLEN bytes, writing the output to pre-allocated 16 byte minimum RESBUF buffer. Return 0 on success. */ int hmac_md5 (const void *key, size_t keylen, const void *buffer, size_t buflen, void *resbuf); /* Compute Hashed Message Authentication Code with SHA-1, over BUFFER data of BUFLEN bytes using the KEY of KEYLEN bytes, writing the output to pre-allocated 20 byte minimum RESBUF buffer. Return 0 on success. */ int hmac_sha1 (const void *key, size_t keylen, const void *in, size_t inlen, void *resbuf); /* Compute Hashed Message Authentication Code with SHA-256, over BUFFER data of BUFLEN bytes using the KEY of KEYLEN bytes, writing the output to pre-allocated 32 byte minimum RESBUF buffer. Return 0 on success. */ int hmac_sha256 (const void *key, size_t keylen, const void *in, size_t inlen, void *resbuf); /* Compute Hashed Message Authentication Code with SHA-512, over BUFFER data of BUFLEN bytes using the KEY of KEYLEN bytes, writing the output to pre-allocated 64 byte minimum RESBUF buffer. Return 0 on success. */ int hmac_sha512 (const void *key, size_t keylen, const void *in, size_t inlen, void *resbuf); #endif /* HMAC_H */ gsasl-1.8.1/lib/gl/sys_types.in.h0000644000000000000000000000615713516251671013531 00000000000000/* Provide a more complete sys/types.h. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _WIN32 && !defined __CYGWIN__ \ && (defined __need_off_t || defined __need___off64_t \ || defined __need_ssize_t || defined __need_time_t) /* Special invocation convention inside mingw header files. */ #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_TYPES_H /* The include_next requires a split double-inclusion guard. */ # define _GL_INCLUDING_SYS_TYPES_H #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ # undef _GL_INCLUDING_SYS_TYPES_H #ifndef _@GUARD_PREFIX@_SYS_TYPES_H #define _@GUARD_PREFIX@_SYS_TYPES_H /* Override off_t if Large File Support is requested on native Windows. */ #if @WINDOWS_64_BIT_OFF_T@ /* Same as int64_t in . */ # if defined _MSC_VER # define off_t __int64 # else # define off_t long long int # endif /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_64_BIT_OFF_T 1 #endif /* Override dev_t and ino_t if distinguishable inodes support is requested on native Windows. */ #if @WINDOWS_STAT_INODES@ # if @WINDOWS_STAT_INODES@ == 2 /* Experimental, not useful in Windows 10. */ /* Define dev_t to a 64-bit type. */ # if !defined GNULIB_defined_dev_t typedef unsigned long long int rpl_dev_t; # undef dev_t # define dev_t rpl_dev_t # define GNULIB_defined_dev_t 1 # endif /* Define ino_t to a 128-bit type. */ # if !defined GNULIB_defined_ino_t /* MSVC does not have a 128-bit integer type. GCC has a 128-bit integer type __int128, but only on 64-bit targets. */ typedef struct { unsigned long long int _gl_ino[2]; } rpl_ino_t; # undef ino_t # define ino_t rpl_ino_t # define GNULIB_defined_ino_t 1 # endif # else /* @WINDOWS_STAT_INODES@ == 1 */ /* Define ino_t to a 64-bit type. */ # if !defined GNULIB_defined_ino_t typedef unsigned long long int rpl_ino_t; # undef ino_t # define ino_t rpl_ino_t # define GNULIB_defined_ino_t 1 # endif # endif /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_STAT_INODES @WINDOWS_STAT_INODES@ #endif /* MSVC 9 defines size_t in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (defined _WIN32 && ! defined __CYGWIN__) && ! defined __GLIBC__ # include #endif #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ #endif /* __need_XXX */ gsasl-1.8.1/lib/gl/msvc-nothrow.h0000644000000000000000000000301113516251666013516 00000000000000/* Wrappers that don't throw invalid parameter notifications with MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _MSVC_NOTHROW_H #define _MSVC_NOTHROW_H /* With MSVC runtime libraries with the "invalid parameter handler" concept, functions like fprintf(), dup2(), or close() crash when the caller passes an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) instead. This file defines wrappers that turn such an invalid parameter notification into an error code. */ #if defined _WIN32 && ! defined __CYGWIN__ /* Get original declaration of _get_osfhandle. */ # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Override _get_osfhandle. */ extern intptr_t _gl_nothrow_get_osfhandle (int fd); # define _get_osfhandle _gl_nothrow_get_osfhandle # endif #endif #endif /* _MSVC_NOTHROW_H */ gsasl-1.8.1/lib/gl/string.in.h0000644000000000000000000012061013516251671012764 00000000000000/* A GNU-like . Copyright (C) 1995-1996, 2001-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _GL_ALREADY_INCLUDING_STRING_H /* Special invocation convention: - On OS X/NetBSD we have a sequence of nested includes -> -> "string.h" In this situation system _chk variants due to -D_FORTIFY_SOURCE might be used after any replacements defined here. */ #@INCLUDE_NEXT@ @NEXT_STRING_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STRING_H #define _GL_ALREADY_INCLUDING_STRING_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STRING_H@ #undef _GL_ALREADY_INCLUDING_STRING_H #ifndef _@GUARD_PREFIX@_STRING_H #define _@GUARD_PREFIX@_STRING_H /* NetBSD 5.0 mis-defines NULL. */ #include /* MirBSD defines mbslen as a macro. */ #if @GNULIB_MBSLEN@ && defined __MirBSD__ # include #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* NetBSD 5.0 declares strsignal in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_STRSIGNAL@ || defined GNULIB_POSIXCHECK) && defined __NetBSD__ \ && ! defined __GLIBC__ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Clear a block of memory. The compiler will not delete a call to this function, even if the block is dead after the call. */ #if @GNULIB_EXPLICIT_BZERO@ # if ! @HAVE_EXPLICIT_BZERO@ _GL_FUNCDECL_SYS (explicit_bzero, void, (void *__dest, size_t __n) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (explicit_bzero, void, (void *__dest, size_t __n)); _GL_CXXALIASWARN (explicit_bzero); #elif defined GNULIB_POSIXCHECK # undef explicit_bzero # if HAVE_RAW_DECL_EXPLICIT_BZERO _GL_WARN_ON_USE (explicit_bzero, "explicit_bzero is unportable - " "use gnulib module explicit_bzero for portability"); # endif #endif /* Find the index of the least-significant set bit. */ #if @GNULIB_FFSL@ # if !@HAVE_FFSL@ _GL_FUNCDECL_SYS (ffsl, int, (long int i)); # endif _GL_CXXALIAS_SYS (ffsl, int, (long int i)); _GL_CXXALIASWARN (ffsl); #elif defined GNULIB_POSIXCHECK # undef ffsl # if HAVE_RAW_DECL_FFSL _GL_WARN_ON_USE (ffsl, "ffsl is not portable - use the ffsl module"); # endif #endif /* Find the index of the least-significant set bit. */ #if @GNULIB_FFSLL@ # if !@HAVE_FFSLL@ _GL_FUNCDECL_SYS (ffsll, int, (long long int i)); # endif _GL_CXXALIAS_SYS (ffsll, int, (long long int i)); _GL_CXXALIASWARN (ffsll); #elif defined GNULIB_POSIXCHECK # undef ffsll # if HAVE_RAW_DECL_FFSLL _GL_WARN_ON_USE (ffsll, "ffsll is not portable - use the ffsll module"); # endif #endif /* Return the first instance of C within N bytes of S, or NULL. */ #if @GNULIB_MEMCHR@ # if @REPLACE_MEMCHR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define memchr rpl_memchr # endif _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); # else # if ! @HAVE_MEMCHR@ _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C" { const void * std::memchr (const void *, int, size_t); } extern "C++" { void * std::memchr (void *, int, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (memchr, void *, (void const *__s, int __c, size_t __n), void const *, (void const *__s, int __c, size_t __n)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); _GL_CXXALIASWARN1 (memchr, void const *, (void const *__s, int __c, size_t __n)); # else _GL_CXXALIASWARN (memchr); # endif #elif defined GNULIB_POSIXCHECK # undef memchr /* Assume memchr is always declared. */ _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " "use gnulib module memchr for portability" ); #endif /* Return the first occurrence of NEEDLE in HAYSTACK. */ #if @GNULIB_MEMMEM@ # if @REPLACE_MEMMEM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define memmem rpl_memmem # endif _GL_FUNCDECL_RPL (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len)); # else # if ! @HAVE_DECL_MEMMEM@ _GL_FUNCDECL_SYS (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len)); # endif _GL_CXXALIASWARN (memmem); #elif defined GNULIB_POSIXCHECK # undef memmem # if HAVE_RAW_DECL_MEMMEM _GL_WARN_ON_USE (memmem, "memmem is unportable and often quadratic - " "use gnulib module memmem-simple for portability, " "and module memmem for speed" ); # endif #endif /* Copy N bytes of SRC to DEST, return pointer to bytes after the last written byte. */ #if @GNULIB_MEMPCPY@ # if ! @HAVE_MEMPCPY@ _GL_FUNCDECL_SYS (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n)); _GL_CXXALIASWARN (mempcpy); #elif defined GNULIB_POSIXCHECK # undef mempcpy # if HAVE_RAW_DECL_MEMPCPY _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " "use gnulib module mempcpy for portability"); # endif #endif /* Search backwards through a block for a byte (specified as an int). */ #if @GNULIB_MEMRCHR@ # if ! @HAVE_DECL_MEMRCHR@ _GL_FUNCDECL_SYS (memrchr, void *, (void const *, int, size_t) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const void * std::memrchr (const void *, int, size_t); } extern "C++" { void * std::memrchr (void *, int, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (memrchr, void *, (void const *, int, size_t), void const *, (void const *, int, size_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (memrchr, void *, (void *, int, size_t)); _GL_CXXALIASWARN1 (memrchr, void const *, (void const *, int, size_t)); # else _GL_CXXALIASWARN (memrchr); # endif #elif defined GNULIB_POSIXCHECK # undef memrchr # if HAVE_RAW_DECL_MEMRCHR _GL_WARN_ON_USE (memrchr, "memrchr is unportable - " "use gnulib module memrchr for portability"); # endif #endif /* Find the first occurrence of C in S. More efficient than memchr(S,C,N), at the expense of undefined behavior if C does not occur within N bytes. */ #if @GNULIB_RAWMEMCHR@ # if ! @HAVE_RAWMEMCHR@ _GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const void * std::rawmemchr (const void *, int); } extern "C++" { void * std::rawmemchr (void *, int); } */ _GL_CXXALIAS_SYS_CAST2 (rawmemchr, void *, (void const *__s, int __c_in), void const *, (void const *__s, int __c_in)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (rawmemchr, void *, (void *__s, int __c_in)); _GL_CXXALIASWARN1 (rawmemchr, void const *, (void const *__s, int __c_in)); # else _GL_CXXALIASWARN (rawmemchr); # endif #elif defined GNULIB_POSIXCHECK # undef rawmemchr # if HAVE_RAW_DECL_RAWMEMCHR _GL_WARN_ON_USE (rawmemchr, "rawmemchr is unportable - " "use gnulib module rawmemchr for portability"); # endif #endif /* Copy SRC to DST, returning the address of the terminating '\0' in DST. */ #if @GNULIB_STPCPY@ # if ! @HAVE_STPCPY@ _GL_FUNCDECL_SYS (stpcpy, char *, (char *restrict __dst, char const *restrict __src) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (stpcpy, char *, (char *restrict __dst, char const *restrict __src)); _GL_CXXALIASWARN (stpcpy); #elif defined GNULIB_POSIXCHECK # undef stpcpy # if HAVE_RAW_DECL_STPCPY _GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - " "use gnulib module stpcpy for portability"); # endif #endif /* Copy no more than N bytes of SRC to DST, returning a pointer past the last non-NUL byte written into DST. */ #if @GNULIB_STPNCPY@ # if @REPLACE_STPNCPY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef stpncpy # define stpncpy rpl_stpncpy # endif _GL_FUNCDECL_RPL (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n)); # else # if ! @HAVE_STPNCPY@ _GL_FUNCDECL_SYS (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n)); # endif _GL_CXXALIASWARN (stpncpy); #elif defined GNULIB_POSIXCHECK # undef stpncpy # if HAVE_RAW_DECL_STPNCPY _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " "use gnulib module stpncpy for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strchr() does not work with multibyte strings if the locale encoding is GB18030 and the character to be searched is a digit. */ # undef strchr /* Assume strchr is always declared. */ _GL_WARN_ON_USE (strchr, "strchr cannot work correctly on character strings " "in some multibyte locales - " "use mbschr if you care about internationalization"); #endif /* Find the first occurrence of C in S or the final NUL byte. */ #if @GNULIB_STRCHRNUL@ # if @REPLACE_STRCHRNUL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strchrnul rpl_strchrnul # endif _GL_FUNCDECL_RPL (strchrnul, char *, (const char *__s, int __c_in) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strchrnul, char *, (const char *str, int ch)); # else # if ! @HAVE_STRCHRNUL@ _GL_FUNCDECL_SYS (strchrnul, char *, (char const *__s, int __c_in) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * std::strchrnul (const char *, int); } extern "C++" { char * std::strchrnul (char *, int); } */ _GL_CXXALIAS_SYS_CAST2 (strchrnul, char *, (char const *__s, int __c_in), char const *, (char const *__s, int __c_in)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strchrnul, char *, (char *__s, int __c_in)); _GL_CXXALIASWARN1 (strchrnul, char const *, (char const *__s, int __c_in)); # else _GL_CXXALIASWARN (strchrnul); # endif #elif defined GNULIB_POSIXCHECK # undef strchrnul # if HAVE_RAW_DECL_STRCHRNUL _GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - " "use gnulib module strchrnul for portability"); # endif #endif /* Duplicate S, returning an identical malloc'd string. */ #if @GNULIB_STRDUP@ # if @REPLACE_STRDUP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strdup # define strdup rpl_strdup # endif _GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); # else # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup /* strdup exists as a function and as a macro. Get rid of the macro. */ # undef strdup # endif # if !(@HAVE_DECL_STRDUP@ || defined strdup) _GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); # endif _GL_CXXALIASWARN (strdup); #elif defined GNULIB_POSIXCHECK # undef strdup # if HAVE_RAW_DECL_STRDUP _GL_WARN_ON_USE (strdup, "strdup is unportable - " "use gnulib module strdup for portability"); # endif #endif /* Append no more than N characters from SRC onto DEST. */ #if @GNULIB_STRNCAT@ # if @REPLACE_STRNCAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strncat # define strncat rpl_strncat # endif _GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n)); # else _GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n)); # endif _GL_CXXALIASWARN (strncat); #elif defined GNULIB_POSIXCHECK # undef strncat # if HAVE_RAW_DECL_STRNCAT _GL_WARN_ON_USE (strncat, "strncat is unportable - " "use gnulib module strncat for portability"); # endif #endif /* Return a newly allocated copy of at most N bytes of STRING. */ #if @GNULIB_STRNDUP@ # if @REPLACE_STRNDUP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strndup # define strndup rpl_strndup # endif _GL_FUNCDECL_RPL (strndup, char *, (char const *__s, size_t __n) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n)); # else # if ! @HAVE_DECL_STRNDUP@ _GL_FUNCDECL_SYS (strndup, char *, (char const *__s, size_t __n) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strndup, char *, (char const *__s, size_t __n)); # endif _GL_CXXALIASWARN (strndup); #elif defined GNULIB_POSIXCHECK # undef strndup # if HAVE_RAW_DECL_STRNDUP _GL_WARN_ON_USE (strndup, "strndup is unportable - " "use gnulib module strndup for portability"); # endif #endif /* Find the length (number of bytes) of STRING, but scan at most MAXLEN bytes. If no '\0' terminator is found in that many bytes, return MAXLEN. */ #if @GNULIB_STRNLEN@ # if @REPLACE_STRNLEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strnlen # define strnlen rpl_strnlen # endif _GL_FUNCDECL_RPL (strnlen, size_t, (char const *__s, size_t __maxlen) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strnlen, size_t, (char const *__s, size_t __maxlen)); # else # if ! @HAVE_DECL_STRNLEN@ _GL_FUNCDECL_SYS (strnlen, size_t, (char const *__s, size_t __maxlen) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strnlen, size_t, (char const *__s, size_t __maxlen)); # endif _GL_CXXALIASWARN (strnlen); #elif defined GNULIB_POSIXCHECK # undef strnlen # if HAVE_RAW_DECL_STRNLEN _GL_WARN_ON_USE (strnlen, "strnlen is unportable - " "use gnulib module strnlen for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strcspn() assumes the second argument is a list of single-byte characters. Even in this simple case, it does not work with multibyte strings if the locale encoding is GB18030 and one of the characters to be searched is a digit. */ # undef strcspn /* Assume strcspn is always declared. */ _GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on character strings " "in multibyte locales - " "use mbscspn if you care about internationalization"); #endif /* Find the first occurrence in S of any character in ACCEPT. */ #if @GNULIB_STRPBRK@ # if ! @HAVE_STRPBRK@ _GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif /* On some systems, this function is defined as an overloaded function: extern "C" { const char * strpbrk (const char *, const char *); } extern "C++" { char * strpbrk (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strpbrk, char *, (char const *__s, char const *__accept), const char *, (char const *__s, char const *__accept)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept)); _GL_CXXALIASWARN1 (strpbrk, char const *, (char const *__s, char const *__accept)); # else _GL_CXXALIASWARN (strpbrk); # endif # if defined GNULIB_POSIXCHECK /* strpbrk() assumes the second argument is a list of single-byte characters. Even in this simple case, it does not work with multibyte strings if the locale encoding is GB18030 and one of the characters to be searched is a digit. */ # undef strpbrk _GL_WARN_ON_USE (strpbrk, "strpbrk cannot work correctly on character strings " "in multibyte locales - " "use mbspbrk if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strpbrk # if HAVE_RAW_DECL_STRPBRK _GL_WARN_ON_USE (strpbrk, "strpbrk is unportable - " "use gnulib module strpbrk for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strspn() assumes the second argument is a list of single-byte characters. Even in this simple case, it cannot work with multibyte strings. */ # undef strspn /* Assume strspn is always declared. */ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " "in multibyte locales - " "use mbsspn if you care about internationalization"); #endif #if defined GNULIB_POSIXCHECK /* strrchr() does not work with multibyte strings if the locale encoding is GB18030 and the character to be searched is a digit. */ # undef strrchr /* Assume strrchr is always declared. */ _GL_WARN_ON_USE (strrchr, "strrchr cannot work correctly on character strings " "in some multibyte locales - " "use mbsrchr if you care about internationalization"); #endif /* Search the next delimiter (char listed in DELIM) starting at *STRINGP. If one is found, overwrite it with a NUL, and advance *STRINGP to point to the next char after it. Otherwise, set *STRINGP to NULL. If *STRINGP was already NULL, nothing happens. Return the old value of *STRINGP. This is a variant of strtok() that is multithread-safe and supports empty fields. Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. Caveat: It doesn't work with multibyte strings unless all of the delimiter characters are ASCII characters < 0x30. See also strtok_r(). */ #if @GNULIB_STRSEP@ # if ! @HAVE_STRSEP@ _GL_FUNCDECL_SYS (strsep, char *, (char **restrict __stringp, char const *restrict __delim) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strsep, char *, (char **restrict __stringp, char const *restrict __delim)); _GL_CXXALIASWARN (strsep); # if defined GNULIB_POSIXCHECK # undef strsep _GL_WARN_ON_USE (strsep, "strsep cannot work correctly on character strings " "in multibyte locales - " "use mbssep if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strsep # if HAVE_RAW_DECL_STRSEP _GL_WARN_ON_USE (strsep, "strsep is unportable - " "use gnulib module strsep for portability"); # endif #endif #if @GNULIB_STRSTR@ # if @REPLACE_STRSTR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strstr rpl_strstr # endif _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); # else /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * strstr (const char *, const char *); } extern "C++" { char * strstr (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strstr, char *, (const char *haystack, const char *needle), const char *, (const char *haystack, const char *needle)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); _GL_CXXALIASWARN1 (strstr, const char *, (const char *haystack, const char *needle)); # else _GL_CXXALIASWARN (strstr); # endif #elif defined GNULIB_POSIXCHECK /* strstr() does not work with multibyte strings if the locale encoding is different from UTF-8: POSIX says that it operates on "strings", and "string" in POSIX is defined as a sequence of bytes, not of characters. */ # undef strstr /* Assume strstr is always declared. */ _GL_WARN_ON_USE (strstr, "strstr is quadratic on many systems, and cannot " "work correctly on character strings in most " "multibyte locales - " "use mbsstr if you care about internationalization, " "or use strstr if you care about speed"); #endif /* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive comparison. */ #if @GNULIB_STRCASESTR@ # if @REPLACE_STRCASESTR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strcasestr rpl_strcasestr # endif _GL_FUNCDECL_RPL (strcasestr, char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strcasestr, char *, (const char *haystack, const char *needle)); # else # if ! @HAVE_STRCASESTR@ _GL_FUNCDECL_SYS (strcasestr, char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * strcasestr (const char *, const char *); } extern "C++" { char * strcasestr (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strcasestr, char *, (const char *haystack, const char *needle), const char *, (const char *haystack, const char *needle)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (strcasestr, char *, (char *haystack, const char *needle)); _GL_CXXALIASWARN1 (strcasestr, const char *, (const char *haystack, const char *needle)); # else _GL_CXXALIASWARN (strcasestr); # endif #elif defined GNULIB_POSIXCHECK /* strcasestr() does not work with multibyte strings: It is a glibc extension, and glibc implements it only for unibyte locales. */ # undef strcasestr # if HAVE_RAW_DECL_STRCASESTR _GL_WARN_ON_USE (strcasestr, "strcasestr does work correctly on character " "strings in multibyte locales - " "use mbscasestr if you care about " "internationalization, or use c-strcasestr if you want " "a locale independent function"); # endif #endif /* Parse S into tokens separated by characters in DELIM. If S is NULL, the saved pointer in SAVE_PTR is used as the next starting point. For example: char s[] = "-abc-=-def"; char *sp; x = strtok_r(s, "-", &sp); // x = "abc", sp = "=-def" x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = strtok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" This is a variant of strtok() that is multithread-safe. For the POSIX documentation for this function, see: http://www.opengroup.org/susv3xsh/strtok.html Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. Caveat: It doesn't work with multibyte strings unless all of the delimiter characters are ASCII characters < 0x30. See also strsep(). */ #if @GNULIB_STRTOK_R@ # if @REPLACE_STRTOK_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtok_r # define strtok_r rpl_strtok_r # endif _GL_FUNCDECL_RPL (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr)); # else # if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK # undef strtok_r # endif # if ! @HAVE_DECL_STRTOK_R@ _GL_FUNCDECL_SYS (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr)); # endif _GL_CXXALIASWARN (strtok_r); # if defined GNULIB_POSIXCHECK _GL_WARN_ON_USE (strtok_r, "strtok_r cannot work correctly on character " "strings in multibyte locales - " "use mbstok_r if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strtok_r # if HAVE_RAW_DECL_STRTOK_R _GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - " "use gnulib module strtok_r for portability"); # endif #endif /* The following functions are not specified by POSIX. They are gnulib extensions. */ #if @GNULIB_MBSLEN@ /* Return the number of multibyte characters in the character string STRING. This considers multibyte characters, unlike strlen, which counts bytes. */ # ifdef __MirBSD__ /* MirBSD defines mbslen as a macro. Override it. */ # undef mbslen # endif # if @HAVE_MBSLEN@ /* AIX, OSF/1, MirBSD define mbslen already in libc. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbslen rpl_mbslen # endif _GL_FUNCDECL_RPL (mbslen, size_t, (const char *string) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbslen, size_t, (const char *string)); # else _GL_FUNCDECL_SYS (mbslen, size_t, (const char *string) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbslen, size_t, (const char *string)); # endif _GL_CXXALIASWARN (mbslen); #endif #if @GNULIB_MBSNLEN@ /* Return the number of multibyte characters in the character string starting at STRING and ending at STRING + LEN. */ _GL_EXTERN_C size_t mbsnlen (const char *string, size_t len) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1)); #endif #if @GNULIB_MBSCHR@ /* Locate the first single-byte character C in the character string STRING, and return a pointer to it. Return NULL if C is not found in STRING. Unlike strchr(), this function works correctly in multibyte locales with encodings such as GB18030. */ # if defined __hpux # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbschr rpl_mbschr /* avoid collision with HP-UX function */ # endif _GL_FUNCDECL_RPL (mbschr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbschr, char *, (const char *string, int c)); # else _GL_FUNCDECL_SYS (mbschr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbschr, char *, (const char *string, int c)); # endif _GL_CXXALIASWARN (mbschr); #endif #if @GNULIB_MBSRCHR@ /* Locate the last single-byte character C in the character string STRING, and return a pointer to it. Return NULL if C is not found in STRING. Unlike strrchr(), this function works correctly in multibyte locales with encodings such as GB18030. */ # if defined __hpux || defined __INTERIX # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbsrchr rpl_mbsrchr /* avoid collision with system function */ # endif _GL_FUNCDECL_RPL (mbsrchr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbsrchr, char *, (const char *string, int c)); # else _GL_FUNCDECL_SYS (mbsrchr, char *, (const char *string, int c) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbsrchr, char *, (const char *string, int c)); # endif _GL_CXXALIASWARN (mbsrchr); #endif #if @GNULIB_MBSSTR@ /* Find the first occurrence of the character string NEEDLE in the character string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK. Unlike strstr(), this function works correctly in multibyte locales with encodings different from UTF-8. */ _GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSCASECMP@ /* Compare the character strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. Note: This function may, in multibyte locales, return 0 for strings of different lengths! Unlike strcasecmp(), this function works correctly in multibyte locales. */ _GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSNCASECMP@ /* Compare the initial segment of the character string S1 consisting of at most N characters with the initial segment of the character string S2 consisting of at most N characters, ignoring case, returning less than, equal to or greater than zero if the initial segment of S1 is lexicographically less than, equal to or greater than the initial segment of S2. Note: This function may, in multibyte locales, return 0 for initial segments of different lengths! Unlike strncasecmp(), this function works correctly in multibyte locales. But beware that N is not a byte count but a character count! */ _GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSPCASECMP@ /* Compare the initial segment of the character string STRING consisting of at most mbslen (PREFIX) characters with the character string PREFIX, ignoring case. If the two match, return a pointer to the first byte after this prefix in STRING. Otherwise, return NULL. Note: This function may, in multibyte locales, return non-NULL if STRING is of smaller length than PREFIX! Unlike strncasecmp(), this function works correctly in multibyte locales. */ _GL_EXTERN_C char * mbspcasecmp (const char *string, const char *prefix) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSCASESTR@ /* Find the first occurrence of the character string NEEDLE in the character string HAYSTACK, using case-insensitive comparison. Note: This function may, in multibyte locales, return success even if strlen (haystack) < strlen (needle) ! Unlike strcasestr(), this function works correctly in multibyte locales. */ _GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSCSPN@ /* Find the first occurrence in the character string STRING of any character in the character string ACCEPT. Return the number of bytes from the beginning of the string to this occurrence, or to the end of the string if none exists. Unlike strcspn(), this function works correctly in multibyte locales. */ _GL_EXTERN_C size_t mbscspn (const char *string, const char *accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSPBRK@ /* Find the first occurrence in the character string STRING of any character in the character string ACCEPT. Return the pointer to it, or NULL if none exists. Unlike strpbrk(), this function works correctly in multibyte locales. */ # if defined __hpux # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbspbrk rpl_mbspbrk /* avoid collision with HP-UX function */ # endif _GL_FUNCDECL_RPL (mbspbrk, char *, (const char *string, const char *accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (mbspbrk, char *, (const char *string, const char *accept)); # else _GL_FUNCDECL_SYS (mbspbrk, char *, (const char *string, const char *accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (mbspbrk, char *, (const char *string, const char *accept)); # endif _GL_CXXALIASWARN (mbspbrk); #endif #if @GNULIB_MBSSPN@ /* Find the first occurrence in the character string STRING of any character not in the character string REJECT. Return the number of bytes from the beginning of the string to this occurrence, or to the end of the string if none exists. Unlike strspn(), this function works correctly in multibyte locales. */ _GL_EXTERN_C size_t mbsspn (const char *string, const char *reject) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSSEP@ /* Search the next delimiter (multibyte character listed in the character string DELIM) starting at the character string *STRINGP. If one is found, overwrite it with a NUL, and advance *STRINGP to point to the next multibyte character after it. Otherwise, set *STRINGP to NULL. If *STRINGP was already NULL, nothing happens. Return the old value of *STRINGP. This is a variant of mbstok_r() that supports empty fields. Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. See also mbstok_r(). */ _GL_EXTERN_C char * mbssep (char **stringp, const char *delim) _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSTOK_R@ /* Parse the character string STRING into tokens separated by characters in the character string DELIM. If STRING is NULL, the saved pointer in SAVE_PTR is used as the next starting point. For example: char s[] = "-abc-=-def"; char *sp; x = mbstok_r(s, "-", &sp); // x = "abc", sp = "=-def" x = mbstok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = mbstok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. See also mbssep(). */ _GL_EXTERN_C char * mbstok_r (char *string, const char *delim, char **save_ptr) _GL_ARG_NONNULL ((2, 3)); #endif /* Map any int, typically from errno, into an error message. */ #if @GNULIB_STRERROR@ # if @REPLACE_STRERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerror # define strerror rpl_strerror # endif _GL_FUNCDECL_RPL (strerror, char *, (int)); _GL_CXXALIAS_RPL (strerror, char *, (int)); # else _GL_CXXALIAS_SYS (strerror, char *, (int)); # endif _GL_CXXALIASWARN (strerror); #elif defined GNULIB_POSIXCHECK # undef strerror /* Assume strerror is always declared. */ _GL_WARN_ON_USE (strerror, "strerror is unportable - " "use gnulib module strerror to guarantee non-NULL result"); #endif /* Map any int, typically from errno, into an error message. Multithread-safe. Uses the POSIX declaration, not the glibc declaration. */ #if @GNULIB_STRERROR_R@ # if @REPLACE_STRERROR_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerror_r # define strerror_r rpl_strerror_r # endif _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); # else # if !@HAVE_DECL_STRERROR_R@ _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); # endif # if @HAVE_DECL_STRERROR_R@ _GL_CXXALIASWARN (strerror_r); # endif #elif defined GNULIB_POSIXCHECK # undef strerror_r # if HAVE_RAW_DECL_STRERROR_R _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - " "use gnulib module strerror_r-posix for portability"); # endif #endif #if @GNULIB_STRSIGNAL@ # if @REPLACE_STRSIGNAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strsignal rpl_strsignal # endif _GL_FUNCDECL_RPL (strsignal, char *, (int __sig)); _GL_CXXALIAS_RPL (strsignal, char *, (int __sig)); # else # if ! @HAVE_DECL_STRSIGNAL@ _GL_FUNCDECL_SYS (strsignal, char *, (int __sig)); # endif /* Need to cast, because on Cygwin 1.5.x systems, the return type is 'const char *'. */ _GL_CXXALIAS_SYS_CAST (strsignal, char *, (int __sig)); # endif _GL_CXXALIASWARN (strsignal); #elif defined GNULIB_POSIXCHECK # undef strsignal # if HAVE_RAW_DECL_STRSIGNAL _GL_WARN_ON_USE (strsignal, "strsignal is unportable - " "use gnulib module strsignal for portability"); # endif #endif #if @GNULIB_STRVERSCMP@ # if !@HAVE_STRVERSCMP@ _GL_FUNCDECL_SYS (strverscmp, int, (const char *, const char *) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strverscmp, int, (const char *, const char *)); _GL_CXXALIASWARN (strverscmp); #elif defined GNULIB_POSIXCHECK # undef strverscmp # if HAVE_RAW_DECL_STRVERSCMP _GL_WARN_ON_USE (strverscmp, "strverscmp is unportable - " "use gnulib module strverscmp for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_STRING_H */ #endif /* _@GUARD_PREFIX@_STRING_H */ #endif gsasl-1.8.1/lib/gl/freading.c0000644000000000000000000000614613516251665012635 00000000000000/* Retrieve information about a FILE stream. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "freading.h" #include "stdio-impl.h" /* Don't use glibc's __freading function in glibc < 2.7, see */ #if !(HAVE___FREADING && (!defined __GLIBC__ || defined __UCLIBC__ || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 7))) bool freading (FILE *fp) { /* Most systems provide FILE as a struct and the necessary bitmask in , because they need it for implementing getc() and putc() as fast macros. */ # if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ return ((fp->_flags & _IO_NO_WRITES) != 0 || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0 && fp->_IO_read_base != NULL)); # elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ return (fp_->_flags & __SRD) != 0; # elif defined __EMX__ /* emx+gcc */ return (fp->_flags & _IOREAD) != 0; # elif defined __minix /* Minix */ return (fp->_flags & _IOREADING) != 0; # elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */ # if defined __sun /* Solaris */ return (fp_->_flag & _IOREAD) != 0 && (fp_->_flag & _IOWRT) == 0; # else return (fp_->_flag & _IOREAD) != 0; # endif # elif defined __UCLIBC__ /* uClibc */ return (fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) != 0; # elif defined __QNX__ /* QNX */ return ((fp->_Mode & 0x2 /* _MOPENW */) == 0 || (fp->_Mode & 0x1000 /* _MREAD */) != 0); # elif defined __MINT__ /* Atari FreeMiNT */ if (!fp->__mode.__write) return 1; if (!fp->__mode.__read) return 0; # ifdef _IO_CURRENTLY_GETTING /* Flag added on 2009-02-28 */ return (fp->__flags & _IO_CURRENTLY_GETTING) != 0; # else return (fp->__buffer < fp->__get_limit /*|| fp->__bufp == fp->__put_limit ??*/); # endif # elif defined EPLAN9 /* Plan9 */ if (fp->state == 0 /* CLOSED */ || fp->state == 4 /* WR */) return 0; return (fp->state == 3 /* RD */ && (fp->bufl == 0 || fp->rp < fp->wp)); # else # error "Please port gnulib freading.c to your platform!" # endif } #endif gsasl-1.8.1/lib/gl/printf-args.h0000644000000000000000000000756313516251671013320 00000000000000/* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _PRINTF_ARGS_H #define _PRINTF_ARGS_H /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be declared. STATIC Set to 'static' to declare the function static. */ /* Default parameters. */ #ifndef PRINTF_FETCHARGS # define PRINTF_FETCHARGS printf_fetchargs #endif /* Get size_t. */ #include /* Get wchar_t. */ #if HAVE_WCHAR_T # include #endif /* Get wint_t. */ #if HAVE_WINT_T # include #endif /* Get va_list. */ #include /* Argument types */ typedef enum { TYPE_NONE, TYPE_SCHAR, TYPE_UCHAR, TYPE_SHORT, TYPE_USHORT, TYPE_INT, TYPE_UINT, TYPE_LONGINT, TYPE_ULONGINT, #if HAVE_LONG_LONG_INT TYPE_LONGLONGINT, TYPE_ULONGLONGINT, #endif TYPE_DOUBLE, TYPE_LONGDOUBLE, TYPE_CHAR, #if HAVE_WINT_T TYPE_WIDE_CHAR, #endif TYPE_STRING, #if HAVE_WCHAR_T TYPE_WIDE_STRING, #endif TYPE_POINTER, TYPE_COUNT_SCHAR_POINTER, TYPE_COUNT_SHORT_POINTER, TYPE_COUNT_INT_POINTER, TYPE_COUNT_LONGINT_POINTER #if HAVE_LONG_LONG_INT , TYPE_COUNT_LONGLONGINT_POINTER #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ , TYPE_U8_STRING , TYPE_U16_STRING , TYPE_U32_STRING #endif } arg_type; /* Polymorphic argument */ typedef struct { arg_type type; union { signed char a_schar; unsigned char a_uchar; short a_short; unsigned short a_ushort; int a_int; unsigned int a_uint; long int a_longint; unsigned long int a_ulongint; #if HAVE_LONG_LONG_INT long long int a_longlongint; unsigned long long int a_ulonglongint; #endif float a_float; double a_double; long double a_longdouble; int a_char; #if HAVE_WINT_T wint_t a_wide_char; #endif const char* a_string; #if HAVE_WCHAR_T const wchar_t* a_wide_string; #endif void* a_pointer; signed char * a_count_schar_pointer; short * a_count_short_pointer; int * a_count_int_pointer; long int * a_count_longint_pointer; #if HAVE_LONG_LONG_INT long long int * a_count_longlongint_pointer; #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ const uint8_t * a_u8_string; const uint16_t * a_u16_string; const uint32_t * a_u32_string; #endif } a; } argument; /* Number of directly allocated arguments (no malloc() needed). */ #define N_DIRECT_ALLOC_ARGUMENTS 7 typedef struct { size_t count; argument *arg; argument direct_alloc_arg[N_DIRECT_ALLOC_ARGUMENTS]; } arguments; /* Fetch the arguments, putting them into a. */ #ifdef STATIC STATIC #else extern #endif int PRINTF_FETCHARGS (va_list args, arguments *a); #endif /* _PRINTF_ARGS_H */ gsasl-1.8.1/lib/gl/gc.h0000644000000000000000000003036013516251670011443 00000000000000/* gc.h --- Header file for implementation agnostic crypto wrapper API. * Copyright (C) 2002-2005, 2007-2008, 2011-2019 Free Software Foundation, Inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1, or (at your * option) any later version. * * This file 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this file; if not, see . * */ #ifndef _GL_GC_H # define _GL_GC_H /* Get size_t. */ # include enum Gc_rc { GC_OK = 0, GC_MALLOC_ERROR, GC_INIT_ERROR, GC_RANDOM_ERROR, GC_INVALID_CIPHER, GC_INVALID_HASH, GC_PKCS5_INVALID_ITERATION_COUNT, GC_PKCS5_INVALID_DERIVED_KEY_LENGTH, GC_PKCS5_DERIVED_KEY_TOO_LONG }; typedef enum Gc_rc Gc_rc; /* Hash types. */ enum Gc_hash { GC_MD4, GC_MD5, GC_SHA1, GC_MD2, GC_RMD160, GC_SHA256, GC_SHA384, GC_SHA512, GC_SHA224, GC_SM3 }; typedef enum Gc_hash Gc_hash; enum Gc_hash_mode { GC_NULL, GC_HMAC }; typedef enum Gc_hash_mode Gc_hash_mode; typedef void *gc_hash_handle; #define GC_MD2_DIGEST_SIZE 16 #define GC_MD4_DIGEST_SIZE 16 #define GC_MD5_DIGEST_SIZE 16 #define GC_RMD160_DIGEST_SIZE 20 #define GC_SHA1_DIGEST_SIZE 20 #define GC_SHA256_DIGEST_SIZE 32 #define GC_SHA384_DIGEST_SIZE 48 #define GC_SHA512_DIGEST_SIZE 64 #define GC_SHA224_DIGEST_SIZE 24 #define GC_SM3_DIGEST_SIZE 32 /* Cipher types. */ enum Gc_cipher { GC_AES128, GC_AES192, GC_AES256, GC_3DES, GC_DES, GC_ARCFOUR128, GC_ARCFOUR40, GC_ARCTWO40, GC_CAMELLIA128, GC_CAMELLIA256 }; typedef enum Gc_cipher Gc_cipher; enum Gc_cipher_mode { GC_ECB, GC_CBC, GC_STREAM }; typedef enum Gc_cipher_mode Gc_cipher_mode; typedef void *gc_cipher_handle; /* Call before respectively after any other functions. */ extern Gc_rc gc_init (void); extern void gc_done (void); /* Memory allocation (avoid). */ typedef void *(*gc_malloc_t) (size_t n); typedef int (*gc_secure_check_t) (const void *); typedef void *(*gc_realloc_t) (void *p, size_t n); typedef void (*gc_free_t) (void *); extern void gc_set_allocators (gc_malloc_t func_malloc, gc_malloc_t secure_malloc, gc_secure_check_t secure_check, gc_realloc_t func_realloc, gc_free_t func_free); /* Randomness. */ extern Gc_rc gc_nonce (char *data, size_t datalen); extern Gc_rc gc_pseudo_random (char *data, size_t datalen); extern Gc_rc gc_random (char *data, size_t datalen); /* Ciphers. */ extern Gc_rc gc_cipher_open (Gc_cipher cipher, Gc_cipher_mode mode, gc_cipher_handle *outhandle); extern Gc_rc gc_cipher_setkey (gc_cipher_handle handle, size_t keylen, const char *key); extern Gc_rc gc_cipher_setiv (gc_cipher_handle handle, size_t ivlen, const char *iv); extern Gc_rc gc_cipher_encrypt_inline (gc_cipher_handle handle, size_t len, char *data); extern Gc_rc gc_cipher_decrypt_inline (gc_cipher_handle handle, size_t len, char *data); extern Gc_rc gc_cipher_close (gc_cipher_handle handle); /* Hashes. */ extern Gc_rc gc_hash_open (Gc_hash hash, Gc_hash_mode mode, gc_hash_handle *outhandle); extern Gc_rc gc_hash_clone (gc_hash_handle handle, gc_hash_handle *outhandle); extern size_t gc_hash_digest_length (Gc_hash hash) _GL_ATTRIBUTE_CONST; extern void gc_hash_hmac_setkey (gc_hash_handle handle, size_t len, const char *key); extern void gc_hash_write (gc_hash_handle handle, size_t len, const char *data); extern const char *gc_hash_read (gc_hash_handle handle); extern void gc_hash_close (gc_hash_handle handle); /* Compute a hash value over buffer IN of INLEN bytes size using the algorithm HASH, placing the result in the pre-allocated buffer OUT. The required size of OUT depends on HASH, and is generally GC__DIGEST_SIZE. For example, for GC_MD5 the output buffer must be 16 bytes. The return value is 0 (GC_OK) on success, or another Gc_rc error code. */ extern Gc_rc gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *out); /* One-call interface. */ extern Gc_rc gc_md2 (const void *in, size_t inlen, void *resbuf); extern Gc_rc gc_md4 (const void *in, size_t inlen, void *resbuf); extern Gc_rc gc_md5 (const void *in, size_t inlen, void *resbuf); extern Gc_rc gc_sha1 (const void *in, size_t inlen, void *resbuf); extern Gc_rc gc_sm3 (const void *in, size_t inlen, void *resbuf); extern Gc_rc gc_hmac_md5 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf); extern Gc_rc gc_hmac_sha1 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf); extern Gc_rc gc_hmac_sha256 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf); extern Gc_rc gc_hmac_sha512 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf); /* Derive cryptographic keys from a password P of length PLEN, with salt S of length SLEN, placing the result in pre-allocated buffer DK of length DKLEN. An iteration count is specified in C, where a larger value means this function take more time (typical iteration counts are 1000-20000). This function "stretches" the key to be exactly dkLen bytes long. GC_OK is returned on success, otherwise a Gc_rc error code is returned. */ extern Gc_rc gc_pbkdf2_sha1 (const char *P, size_t Plen, const char *S, size_t Slen, unsigned int c, char *DK, size_t dkLen); /* TODO: From: Simon Josefsson Subject: Re: generic crypto Newsgroups: gmane.comp.lib.gnulib.bugs Cc: bug-gnulib@gnu.org Date: Fri, 07 Oct 2005 12:50:57 +0200 Mail-Copies-To: nobody Paul Eggert writes: > Simon Josefsson writes: > >> * Perhaps the /dev/?random reading should be separated into a separate >> module? It might be useful outside of the gc layer too. > > Absolutely. I've been meaning to do that for months (for a "shuffle" > program I want to add to coreutils), but hadn't gotten around to it. > It would have to be generalized a bit. I'd like to have the file > descriptor cached, for example. I'll write a separate module for that part. I think we should even add a good PRNG that is re-seeded from /dev/?random frequently. GnuTLS can need a lot of random data on a big server, more than /dev/random can supply. And /dev/urandom might not be strong enough. Further, the security of /dev/?random can also be questionable. >> I'm also not sure about the names of those functions, they suggest >> a more higher-level API than what is really offered (i.e., the >> names "nonce" and "pseudo_random" and "random" imply certain >> cryptographic properties). > > Could you expand a bit more on that? What is the relationship between > nonce/pseudorandom/random and the /dev/ values you are using? There is none, that is the problem. Applications generally need different kind of "random" numbers. Sometimes they just need some random data and doesn't care whether it is possible for an attacker to compute the string (aka a "nonce"). Sometimes they need data that is very difficult to compute (i.e., computing it require inverting SHA1 or similar). Sometimes they need data that is not possible to compute, i.e., it wants real entropy collected over time on the system. Collecting the last kind of random data is very expensive, so it must not be used too often. The second kind of random data ("pseudo random") is typically generated by seeding a good PRNG with a couple of hundred bytes of real entropy from the "real random" data pool. The "nonce" is usually computed using the PRNG as well, because PRNGs are usually fast. Pseudo-random data is typically used for session keys. Strong random data is often used to generate long-term keys (e.g., private RSA keys). Of course, there are many subtleties. There are several different kind of nonce:s. Sometimes a nonce is just an ever-increasing integer, starting from 0. Sometimes it is assumed to be unlikely to be the same as previous nonces, but without a requirement that the nonce is possible to guess. MD5(system clock) would thus suffice, if it isn't called too often. You can guess what the next value will be, but it will always be different. The problem is that /dev/?random doesn't offer any kind of semantic guarantees. But applications need an API that make that promise. I think we should do this in several steps: 1) Write a module that can read from /dev/?random. 2) Add a module for a known-good PRNG suitable for random number generation, that can be continuously re-seeded. 3) Add a high-level module that provide various different randomness functions. One for nonces, perhaps even different kind of nonces, one for pseudo random data, and one for strong random data. It is not clear whether we can hope to achieve the last one in a portable way. Further, it would be useful to allow users to provide their own entropy source as a file, used to seed the PRNG or initialize the strong randomness pool. This is used on embedded platforms that doesn't have enough interrupts to hope to generate good random data. > For example, why not use OpenBSD's /dev/arandom? I don't trust ARC4. For example, recent cryptographic efforts indicate that you must throw away the first 512 bytes generated from the PRNG for it to be secure. I don't know whether OpenBSD do this. Further, I recall some eprint paper on RC4 security that didn't inspire confidence. While I trust the random devices in OpenBSD more than Solaris/AIX/HPUX/etc, I think that since we need something better on Solaris/AIX/HPUX we'd might as well use it on OpenBSD or even Linux too. > Here is one thought. The user could specify a desired quality level > range, and the implementation then would supply random data that is at > least as good as the lower bound of the range. I.e., ihe > implementation refuses to produce any random data if it can't generate > data that is at least as good as the lower end of the range. The > upper bound of the range is advice from the user not to be any more > expensive than that, but the implementation can ignore the advice if > it doesn't have anything cheaper. I'm not sure this is a good idea. Users can't really be expected to understand this. Further, applications need many different kind of random data. Selecting the randomness level for each by the user will be too complicated. I think it is better if the application decide, from its cryptographic requirement, what entropy quality it require, and call the proper API. Meeting the implied semantic properties should be the job for gnulib. >> Perhaps gc_dev_random and gc_dev_urandom? > > To some extent. I'd rather insulate the user from the details of > where the random numbers come from. On the other hand we need to > provide a way for applications to specify a file that contains > random bits, so that people can override the defaults. Agreed. This may require some thinking before it is finalized. Is it ok to install the GC module as-is meanwhile? Then I can continue to add the stuff that GnuTLS need, and then come back to re-working the randomness module. That way, we have two different projects that use the code. GnuTLS includes the same randomness code that was in GNU SASL and that is in the current gc module. I feel much more comfortable working in small steps at a time, rather then working on this for a long time in gnulib and only later integrate the stuff in GnuTLS. Thanks, Simon */ #endif /* _GL_GC_H */ gsasl-1.8.1/lib/gl/stdint.in.h0000644000000000000000000005424613516251671012776 00000000000000/* Copyright (C) 2001-2002, 2004-2019 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. This file is part of gnulib. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* * ISO C 99 for platforms that lack it. * */ #ifndef _@GUARD_PREFIX@_STDINT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* When including a system file that in turn includes , use the system , not our substitute. This avoids problems with (for example) VMS, whose includes . */ #define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H /* On Android (Bionic libc), includes this file before having defined 'time_t'. Therefore in this case avoid including other system header files; just include the system's . Ideally we should test __BIONIC__ here, but it is only defined after has been included; hence test __ANDROID__ instead. */ #if defined __ANDROID__ && defined _GL_INCLUDING_SYS_TYPES_H # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else /* Get those types that are already defined in other system include files, so that we can "#define int8_t signed char" below without worrying about a later system include file containing a "typedef signed char int8_t;" that will get messed up by our macro. Our macros should all be consistent with the system versions, except for the "fast" types and macros, which we recommend against using in public interfaces due to compiler differences. */ #if @HAVE_STDINT_H@ # if defined __sgi && ! defined __c99 /* Bypass IRIX's if in C89 mode, since it merely annoys users with "This header file is to be used only for c99 mode compilations" diagnostics. */ # define __STDINT_H__ # endif /* Some pre-C++11 implementations need this. */ # ifdef __cplusplus # ifndef __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS 1 # endif # ifndef __STDC_LIMIT_MACROS # define __STDC_LIMIT_MACROS 1 # endif # endif /* Other systems may have an incomplete or buggy . Include it before , since any "#include " in would reinclude us, skipping our contents because _@GUARD_PREFIX@_STDINT_H is defined. The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #endif #if ! defined _@GUARD_PREFIX@_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H #define _@GUARD_PREFIX@_STDINT_H /* Get SCHAR_MIN, SCHAR_MAX, UCHAR_MAX, INT_MIN, INT_MAX, LONG_MIN, LONG_MAX, ULONG_MAX, _GL_INTEGER_WIDTH. */ #include /* Override WINT_MIN and WINT_MAX if gnulib's or overrides wint_t. */ #if @GNULIB_OVERRIDES_WINT_T@ # undef WINT_MIN # undef WINT_MAX # define WINT_MIN 0x0U # define WINT_MAX 0xffffffffU #endif #if ! @HAVE_C99_STDINT_H@ /* defines some of the stdint.h types as well, on glibc, IRIX 6.5, and OpenBSD 3.8 (via ). AIX 5.2 isn't needed and causes troubles. Mac OS X 10.4.6 includes (which is us), but relies on the system definitions, so include after @NEXT_STDINT_H@. */ # if @HAVE_SYS_TYPES_H@ && ! defined _AIX # include # endif # if @HAVE_INTTYPES_H@ /* In OpenBSD 3.8, includes , which defines int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__. also defines intptr_t and uintptr_t. */ # include # elif @HAVE_SYS_INTTYPES_H@ /* Solaris 7 has the types except the *_fast*_t types, and the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX. */ # include # endif # if @HAVE_SYS_BITYPES_H@ && ! defined __BIT_TYPES_DEFINED__ /* Linux libc4 >= 4.6.7 and libc5 have a that defines int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is included by . */ # include # endif # undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H /* Minimum and maximum values for an integer type under the usual assumption. Return an unspecified value if BITS == 0, adding a check to pacify picky compilers. */ /* These are separate macros, because if you try to merge these macros into a single one, HP-UX cc rejects the resulting expression in constant expressions. */ # define _STDINT_UNSIGNED_MIN(bits, zero) \ (zero) # define _STDINT_SIGNED_MIN(bits, zero) \ (~ _STDINT_MAX (1, bits, zero)) # define _STDINT_MAX(signed, bits, zero) \ (((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1) #if !GNULIB_defined_stdint_types /* 7.18.1.1. Exact-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. */ # undef int8_t # undef uint8_t typedef signed char gl_int8_t; typedef unsigned char gl_uint8_t; # define int8_t gl_int8_t # define uint8_t gl_uint8_t # undef int16_t # undef uint16_t typedef short int gl_int16_t; typedef unsigned short int gl_uint16_t; # define int16_t gl_int16_t # define uint16_t gl_uint16_t # undef int32_t # undef uint32_t typedef int gl_int32_t; typedef unsigned int gl_uint32_t; # define int32_t gl_int32_t # define uint32_t gl_uint32_t /* If the system defines INT64_MAX, assume int64_t works. That way, if the underlying platform defines int64_t to be a 64-bit long long int, the code below won't mistakenly define it to be a 64-bit long int, which would mess up C++ name mangling. We must use #ifdef rather than #if, to avoid an error with HP-UX 10.20 cc. */ # ifdef INT64_MAX # define GL_INT64_T # else /* Do not undefine int64_t if gnulib is not being used with 64-bit types, since otherwise it breaks platforms like Tandem/NSK. */ # if LONG_MAX >> 31 >> 31 == 1 # undef int64_t typedef long int gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # elif defined _MSC_VER # undef int64_t typedef __int64 gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # elif @HAVE_LONG_LONG_INT@ # undef int64_t typedef long long int gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # endif # endif # ifdef UINT64_MAX # define GL_UINT64_T # else # if ULONG_MAX >> 31 >> 31 >> 1 == 1 # undef uint64_t typedef unsigned long int gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # elif defined _MSC_VER # undef uint64_t typedef unsigned __int64 gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # elif @HAVE_UNSIGNED_LONG_LONG_INT@ # undef uint64_t typedef unsigned long long int gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # endif # endif /* Avoid collision with Solaris 2.5.1 etc. */ # define _UINT8_T # define _UINT32_T # define _UINT64_T /* 7.18.1.2. Minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types are the same as the corresponding N_t types. */ # undef int_least8_t # undef uint_least8_t # undef int_least16_t # undef uint_least16_t # undef int_least32_t # undef uint_least32_t # undef int_least64_t # undef uint_least64_t # define int_least8_t int8_t # define uint_least8_t uint8_t # define int_least16_t int16_t # define uint_least16_t uint16_t # define int_least32_t int32_t # define uint_least32_t uint32_t # ifdef GL_INT64_T # define int_least64_t int64_t # endif # ifdef GL_UINT64_T # define uint_least64_t uint64_t # endif /* 7.18.1.3. Fastest minimum-width integer types */ /* Note: Other substitutes may define these types differently. It is not recommended to use these types in public header files. */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types are taken from the same list of types. The following code normally uses types consistent with glibc, as that lessens the chance of incompatibility with older GNU hosts. */ # undef int_fast8_t # undef uint_fast8_t # undef int_fast16_t # undef uint_fast16_t # undef int_fast32_t # undef uint_fast32_t # undef int_fast64_t # undef uint_fast64_t typedef signed char gl_int_fast8_t; typedef unsigned char gl_uint_fast8_t; # ifdef __sun /* Define types compatible with SunOS 5.10, so that code compiled under earlier SunOS versions works with code compiled under SunOS 5.10. */ typedef int gl_int_fast32_t; typedef unsigned int gl_uint_fast32_t; # else typedef long int gl_int_fast32_t; typedef unsigned long int gl_uint_fast32_t; # endif typedef gl_int_fast32_t gl_int_fast16_t; typedef gl_uint_fast32_t gl_uint_fast16_t; # define int_fast8_t gl_int_fast8_t # define uint_fast8_t gl_uint_fast8_t # define int_fast16_t gl_int_fast16_t # define uint_fast16_t gl_uint_fast16_t # define int_fast32_t gl_int_fast32_t # define uint_fast32_t gl_uint_fast32_t # ifdef GL_INT64_T # define int_fast64_t int64_t # endif # ifdef GL_UINT64_T # define uint_fast64_t uint64_t # endif /* 7.18.1.4. Integer types capable of holding object pointers */ /* kLIBC's stdint.h defines _INTPTR_T_DECLARED and needs its own definitions of intptr_t and uintptr_t (which use int and unsigned) to avoid clashes with declarations of system functions like sbrk. */ # ifndef _INTPTR_T_DECLARED # undef intptr_t # undef uintptr_t typedef long int gl_intptr_t; typedef unsigned long int gl_uintptr_t; # define intptr_t gl_intptr_t # define uintptr_t gl_uintptr_t # endif /* 7.18.1.5. Greatest-width integer types */ /* Note: These types are compiler dependent. It may be unwise to use them in public header files. */ /* If the system defines INTMAX_MAX, assume that intmax_t works, and similarly for UINTMAX_MAX and uintmax_t. This avoids problems with assuming one type where another is used by the system. */ # ifndef INTMAX_MAX # undef INTMAX_C # undef intmax_t # if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 typedef long long int gl_intmax_t; # define intmax_t gl_intmax_t # elif defined GL_INT64_T # define intmax_t int64_t # else typedef long int gl_intmax_t; # define intmax_t gl_intmax_t # endif # endif # ifndef UINTMAX_MAX # undef UINTMAX_C # undef uintmax_t # if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 typedef unsigned long long int gl_uintmax_t; # define uintmax_t gl_uintmax_t # elif defined GL_UINT64_T # define uintmax_t uint64_t # else typedef unsigned long int gl_uintmax_t; # define uintmax_t gl_uintmax_t # endif # endif /* Verify that intmax_t and uintmax_t have the same size. Too much code breaks if this is not the case. If this check fails, the reason is likely to be found in the autoconf macros. */ typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) ? 1 : -1]; # define GNULIB_defined_stdint_types 1 # endif /* !GNULIB_defined_stdint_types */ /* 7.18.2. Limits of specified-width integer types */ /* 7.18.2.1. Limits of exact-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. */ # undef INT8_MIN # undef INT8_MAX # undef UINT8_MAX # define INT8_MIN (~ INT8_MAX) # define INT8_MAX 127 # define UINT8_MAX 255 # undef INT16_MIN # undef INT16_MAX # undef UINT16_MAX # define INT16_MIN (~ INT16_MAX) # define INT16_MAX 32767 # define UINT16_MAX 65535 # undef INT32_MIN # undef INT32_MAX # undef UINT32_MAX # define INT32_MIN (~ INT32_MAX) # define INT32_MAX 2147483647 # define UINT32_MAX 4294967295U # if defined GL_INT64_T && ! defined INT64_MAX /* Prefer (- INTMAX_C (1) << 63) over (~ INT64_MAX) because SunPRO C 5.0 evaluates the latter incorrectly in preprocessor expressions. */ # define INT64_MIN (- INTMAX_C (1) << 63) # define INT64_MAX INTMAX_C (9223372036854775807) # endif # if defined GL_UINT64_T && ! defined UINT64_MAX # define UINT64_MAX UINTMAX_C (18446744073709551615) # endif /* 7.18.2.2. Limits of minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types are the same as the corresponding N_t types. */ # undef INT_LEAST8_MIN # undef INT_LEAST8_MAX # undef UINT_LEAST8_MAX # define INT_LEAST8_MIN INT8_MIN # define INT_LEAST8_MAX INT8_MAX # define UINT_LEAST8_MAX UINT8_MAX # undef INT_LEAST16_MIN # undef INT_LEAST16_MAX # undef UINT_LEAST16_MAX # define INT_LEAST16_MIN INT16_MIN # define INT_LEAST16_MAX INT16_MAX # define UINT_LEAST16_MAX UINT16_MAX # undef INT_LEAST32_MIN # undef INT_LEAST32_MAX # undef UINT_LEAST32_MAX # define INT_LEAST32_MIN INT32_MIN # define INT_LEAST32_MAX INT32_MAX # define UINT_LEAST32_MAX UINT32_MAX # undef INT_LEAST64_MIN # undef INT_LEAST64_MAX # ifdef GL_INT64_T # define INT_LEAST64_MIN INT64_MIN # define INT_LEAST64_MAX INT64_MAX # endif # undef UINT_LEAST64_MAX # ifdef GL_UINT64_T # define UINT_LEAST64_MAX UINT64_MAX # endif /* 7.18.2.3. Limits of fastest minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types are taken from the same list of types. */ # undef INT_FAST8_MIN # undef INT_FAST8_MAX # undef UINT_FAST8_MAX # define INT_FAST8_MIN SCHAR_MIN # define INT_FAST8_MAX SCHAR_MAX # define UINT_FAST8_MAX UCHAR_MAX # undef INT_FAST16_MIN # undef INT_FAST16_MAX # undef UINT_FAST16_MAX # define INT_FAST16_MIN INT_FAST32_MIN # define INT_FAST16_MAX INT_FAST32_MAX # define UINT_FAST16_MAX UINT_FAST32_MAX # undef INT_FAST32_MIN # undef INT_FAST32_MAX # undef UINT_FAST32_MAX # ifdef __sun # define INT_FAST32_MIN INT_MIN # define INT_FAST32_MAX INT_MAX # define UINT_FAST32_MAX UINT_MAX # else # define INT_FAST32_MIN LONG_MIN # define INT_FAST32_MAX LONG_MAX # define UINT_FAST32_MAX ULONG_MAX # endif # undef INT_FAST64_MIN # undef INT_FAST64_MAX # ifdef GL_INT64_T # define INT_FAST64_MIN INT64_MIN # define INT_FAST64_MAX INT64_MAX # endif # undef UINT_FAST64_MAX # ifdef GL_UINT64_T # define UINT_FAST64_MAX UINT64_MAX # endif /* 7.18.2.4. Limits of integer types capable of holding object pointers */ # undef INTPTR_MIN # undef INTPTR_MAX # undef UINTPTR_MAX # define INTPTR_MIN LONG_MIN # define INTPTR_MAX LONG_MAX # define UINTPTR_MAX ULONG_MAX /* 7.18.2.5. Limits of greatest-width integer types */ # ifndef INTMAX_MAX # undef INTMAX_MIN # ifdef INT64_MAX # define INTMAX_MIN INT64_MIN # define INTMAX_MAX INT64_MAX # else # define INTMAX_MIN INT32_MIN # define INTMAX_MAX INT32_MAX # endif # endif # ifndef UINTMAX_MAX # ifdef UINT64_MAX # define UINTMAX_MAX UINT64_MAX # else # define UINTMAX_MAX UINT32_MAX # endif # endif /* 7.18.3. Limits of other integer types */ /* ptrdiff_t limits */ # undef PTRDIFF_MIN # undef PTRDIFF_MAX # if @APPLE_UNIVERSAL_BUILD@ # ifdef _LP64 # define PTRDIFF_MIN _STDINT_SIGNED_MIN (64, 0l) # define PTRDIFF_MAX _STDINT_MAX (1, 64, 0l) # else # define PTRDIFF_MIN _STDINT_SIGNED_MIN (32, 0) # define PTRDIFF_MAX _STDINT_MAX (1, 32, 0) # endif # else # define PTRDIFF_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) # define PTRDIFF_MAX \ _STDINT_MAX (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) # endif /* sig_atomic_t limits */ # undef SIG_ATOMIC_MIN # undef SIG_ATOMIC_MAX # if @HAVE_SIGNED_SIG_ATOMIC_T@ # define SIG_ATOMIC_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_SIG_ATOMIC_T@, 0@SIG_ATOMIC_T_SUFFIX@) # else # define SIG_ATOMIC_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_SIG_ATOMIC_T@, 0@SIG_ATOMIC_T_SUFFIX@) # endif # define SIG_ATOMIC_MAX \ _STDINT_MAX (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \ 0@SIG_ATOMIC_T_SUFFIX@) /* size_t limit */ # undef SIZE_MAX # if @APPLE_UNIVERSAL_BUILD@ # ifdef _LP64 # define SIZE_MAX _STDINT_MAX (0, 64, 0ul) # else # define SIZE_MAX _STDINT_MAX (0, 32, 0ul) # endif # else # define SIZE_MAX _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0@SIZE_T_SUFFIX@) # endif /* wchar_t limits */ /* Get WCHAR_MIN, WCHAR_MAX. This include is not on the top, above, because on OSF/1 4.0 we have a sequence of nested includes -> -> -> , and the latter includes and assumes its types are already defined. */ # if @HAVE_WCHAR_H@ && ! (defined WCHAR_MIN && defined WCHAR_MAX) /* BSD/OS 4.0.1 has a bug: , and must be included before . */ # include # include # include # define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H # include # undef _GL_JUST_INCLUDE_SYSTEM_WCHAR_H # endif # undef WCHAR_MIN # undef WCHAR_MAX # if @HAVE_SIGNED_WCHAR_T@ # define WCHAR_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) # else # define WCHAR_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) # endif # define WCHAR_MAX \ _STDINT_MAX (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) /* wint_t limits */ # undef WINT_MIN # undef WINT_MAX # if @HAVE_SIGNED_WINT_T@ # define WINT_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) # else # define WINT_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) # endif # define WINT_MAX \ _STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) /* 7.18.4. Macros for integer constants */ /* 7.18.4.1. Macros for minimum-width integer constants */ /* According to ISO C 99 Technical Corrigendum 1 */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits, and int is 32 bits. */ # undef INT8_C # undef UINT8_C # define INT8_C(x) x # define UINT8_C(x) x # undef INT16_C # undef UINT16_C # define INT16_C(x) x # define UINT16_C(x) x # undef INT32_C # undef UINT32_C # define INT32_C(x) x # define UINT32_C(x) x ## U # undef INT64_C # undef UINT64_C # if LONG_MAX >> 31 >> 31 == 1 # define INT64_C(x) x##L # elif defined _MSC_VER # define INT64_C(x) x##i64 # elif @HAVE_LONG_LONG_INT@ # define INT64_C(x) x##LL # endif # if ULONG_MAX >> 31 >> 31 >> 1 == 1 # define UINT64_C(x) x##UL # elif defined _MSC_VER # define UINT64_C(x) x##ui64 # elif @HAVE_UNSIGNED_LONG_LONG_INT@ # define UINT64_C(x) x##ULL # endif /* 7.18.4.2. Macros for greatest-width integer constants */ # ifndef INTMAX_C # if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 # define INTMAX_C(x) x##LL # elif defined GL_INT64_T # define INTMAX_C(x) INT64_C(x) # else # define INTMAX_C(x) x##L # endif # endif # ifndef UINTMAX_C # if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 # define UINTMAX_C(x) x##ULL # elif defined GL_UINT64_T # define UINTMAX_C(x) UINT64_C(x) # else # define UINTMAX_C(x) x##UL # endif # endif #endif /* !@HAVE_C99_STDINT_H@ */ /* Macros specified by ISO/IEC TS 18661-1:2014. */ #if (!defined UINTMAX_WIDTH \ && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__)) # ifdef INT8_MAX # define INT8_WIDTH _GL_INTEGER_WIDTH (INT8_MIN, INT8_MAX) # endif # ifdef UINT8_MAX # define UINT8_WIDTH _GL_INTEGER_WIDTH (0, UINT8_MAX) # endif # ifdef INT16_MAX # define INT16_WIDTH _GL_INTEGER_WIDTH (INT16_MIN, INT16_MAX) # endif # ifdef UINT16_MAX # define UINT16_WIDTH _GL_INTEGER_WIDTH (0, UINT16_MAX) # endif # ifdef INT32_MAX # define INT32_WIDTH _GL_INTEGER_WIDTH (INT32_MIN, INT32_MAX) # endif # ifdef UINT32_MAX # define UINT32_WIDTH _GL_INTEGER_WIDTH (0, UINT32_MAX) # endif # ifdef INT64_MAX # define INT64_WIDTH _GL_INTEGER_WIDTH (INT64_MIN, INT64_MAX) # endif # ifdef UINT64_MAX # define UINT64_WIDTH _GL_INTEGER_WIDTH (0, UINT64_MAX) # endif # define INT_LEAST8_WIDTH _GL_INTEGER_WIDTH (INT_LEAST8_MIN, INT_LEAST8_MAX) # define UINT_LEAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST8_MAX) # define INT_LEAST16_WIDTH _GL_INTEGER_WIDTH (INT_LEAST16_MIN, INT_LEAST16_MAX) # define UINT_LEAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST16_MAX) # define INT_LEAST32_WIDTH _GL_INTEGER_WIDTH (INT_LEAST32_MIN, INT_LEAST32_MAX) # define UINT_LEAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST32_MAX) # define INT_LEAST64_WIDTH _GL_INTEGER_WIDTH (INT_LEAST64_MIN, INT_LEAST64_MAX) # define UINT_LEAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST64_MAX) # define INT_FAST8_WIDTH _GL_INTEGER_WIDTH (INT_FAST8_MIN, INT_FAST8_MAX) # define UINT_FAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST8_MAX) # define INT_FAST16_WIDTH _GL_INTEGER_WIDTH (INT_FAST16_MIN, INT_FAST16_MAX) # define UINT_FAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST16_MAX) # define INT_FAST32_WIDTH _GL_INTEGER_WIDTH (INT_FAST32_MIN, INT_FAST32_MAX) # define UINT_FAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST32_MAX) # define INT_FAST64_WIDTH _GL_INTEGER_WIDTH (INT_FAST64_MIN, INT_FAST64_MAX) # define UINT_FAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST64_MAX) # define INTPTR_WIDTH _GL_INTEGER_WIDTH (INTPTR_MIN, INTPTR_MAX) # define UINTPTR_WIDTH _GL_INTEGER_WIDTH (0, UINTPTR_MAX) # define INTMAX_WIDTH _GL_INTEGER_WIDTH (INTMAX_MIN, INTMAX_MAX) # define UINTMAX_WIDTH _GL_INTEGER_WIDTH (0, UINTMAX_MAX) # define PTRDIFF_WIDTH _GL_INTEGER_WIDTH (PTRDIFF_MIN, PTRDIFF_MAX) # define SIZE_WIDTH _GL_INTEGER_WIDTH (0, SIZE_MAX) # define WCHAR_WIDTH _GL_INTEGER_WIDTH (WCHAR_MIN, WCHAR_MAX) # ifdef WINT_MAX # define WINT_WIDTH _GL_INTEGER_WIDTH (WINT_MIN, WINT_MAX) # endif # ifdef SIG_ATOMIC_MAX # define SIG_ATOMIC_WIDTH _GL_INTEGER_WIDTH (SIG_ATOMIC_MIN, SIG_ATOMIC_MAX) # endif #endif /* !WINT_WIDTH && (_GNU_SOURCE || __STDC_WANT_IEC_60559_BFP_EXT__) */ #endif /* _@GUARD_PREFIX@_STDINT_H */ #endif /* !(defined __ANDROID__ && ...) */ #endif /* !defined _@GUARD_PREFIX@_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */ gsasl-1.8.1/lib/gl/stdio.in.h0000644000000000000000000014476513516251671012621 00000000000000/* A GNU-like . Copyright (C) 2004, 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_FILE || defined __need___FILE || defined _GL_ALREADY_INCLUDING_STDIO_H /* Special invocation convention: - Inside glibc header files. - On OSF/1 5.1 we have a sequence of nested includes -> -> -> -> -> -> -> . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_STDIO_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STDIO_H #define _GL_ALREADY_INCLUDING_STDIO_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDIO_H@ #undef _GL_ALREADY_INCLUDING_STDIO_H #ifndef _@GUARD_PREFIX@_STDIO_H #define _@GUARD_PREFIX@_STDIO_H /* Get va_list. Needed on many systems, including glibc 2.8. */ #include #include /* Get off_t and ssize_t. Needed on many systems, including glibc 2.8 and eglibc 2.11.2. May also define off_t to a 64-bit type on native Windows. */ #include /* The __attribute__ feature is available in gcc versions 2.5 and later. The __-protected variants of the attributes 'format' and 'printf' are accepted by gcc versions 2.6.4 (effectively 2.7) and later. We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because gnulib and libintl do '#define printf __printf__' when they override the 'printf' function. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) #else # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ #endif /* _GL_ATTRIBUTE_FORMAT_PRINTF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. */ #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) # define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument)) #else # define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) #endif /* _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_PRINTF, except that it indicates to GCC that the supported format string directives are the ones of the system printf(), rather than the ones standardized by ISO C99 and POSIX. */ #if GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU # define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT_PRINTF (formatstring_parameter, first_argument) #else # define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) #endif /* _GL_ATTRIBUTE_FORMAT_SCANF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. */ #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__gnu_scanf__, formatstring_parameter, first_argument)) #else # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) #endif /* _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_SCANF, except that it indicates to GCC that the supported format string directives are the ones of the system scanf(), rather than the ones standardized by ISO C99 and POSIX. */ #define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) /* Solaris 10 and NetBSD 7.0 declare renameat in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && (defined __sun || defined __NetBSD__) \ && ! defined __GLIBC__ # include #endif /* Android 4.3 declares renameat in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && defined __ANDROID__ \ && ! defined __GLIBC__ # include #endif /* MSVC declares 'perror' in , not in . We must include it before we #define perror rpl_perror. */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_PERROR@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) \ && ! defined __GLIBC__ # include #endif /* MSVC declares 'remove' in , not in . We must include it before we #define remove rpl_remove. */ /* MSVC declares 'rename' in , not in . We must include it before we #define rename rpl_rename. */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_REMOVE@ || @GNULIB_RENAME@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) \ && ! defined __GLIBC__ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Macros for stringification. */ #define _GL_STDIO_STRINGIZE(token) #token #define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token) /* When also using extern inline, suppress the use of static inline in standard headers of problematic Apple configurations, as Libc at least through Libc-825.26 (2013-04-09) mishandles it; see, e.g., . Perhaps Apple will fix this some day. */ #if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \ && defined __GNUC__ && defined __STDC__) # undef putc_unlocked #endif #if @GNULIB_DPRINTF@ # if @REPLACE_DPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dprintf rpl_dprintf # endif _GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...)); # else # if !@HAVE_DPRINTF@ _GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *format, ...)); # endif _GL_CXXALIASWARN (dprintf); #elif defined GNULIB_POSIXCHECK # undef dprintf # if HAVE_RAW_DECL_DPRINTF _GL_WARN_ON_USE (dprintf, "dprintf is unportable - " "use gnulib module dprintf for portability"); # endif #endif #if @GNULIB_FCLOSE@ /* Close STREAM and its underlying file descriptor. */ # if @REPLACE_FCLOSE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fclose rpl_fclose # endif _GL_FUNCDECL_RPL (fclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fclose, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (fclose, int, (FILE *stream)); # endif _GL_CXXALIASWARN (fclose); #elif defined GNULIB_POSIXCHECK # undef fclose /* Assume fclose is always declared. */ _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " "use gnulib module fclose for portable POSIX compliance"); #endif #if @GNULIB_FDOPEN@ # if @REPLACE_FDOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fdopen # define fdopen rpl_fdopen # endif _GL_FUNCDECL_RPL (fdopen, FILE *, (int fd, const char *mode) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode)); # else _GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); # endif _GL_CXXALIASWARN (fdopen); #elif defined GNULIB_POSIXCHECK # undef fdopen /* Assume fdopen is always declared. */ _GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - " "use gnulib module fdopen for portability"); #endif #if @GNULIB_FFLUSH@ /* Flush all pending data on STREAM according to POSIX rules. Both output and seekable input streams are supported. Note! LOSS OF DATA can occur if fflush is applied on an input stream that is _not_seekable_ or on an update stream that is _not_seekable_ and in which the most recent operation was input. Seekability can be tested with lseek(fileno(fp),0,SEEK_CUR). */ # if @REPLACE_FFLUSH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fflush rpl_fflush # endif _GL_FUNCDECL_RPL (fflush, int, (FILE *gl_stream)); _GL_CXXALIAS_RPL (fflush, int, (FILE *gl_stream)); # else _GL_CXXALIAS_SYS (fflush, int, (FILE *gl_stream)); # endif _GL_CXXALIASWARN (fflush); #elif defined GNULIB_POSIXCHECK # undef fflush /* Assume fflush is always declared. */ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " "use gnulib module fflush for portable POSIX compliance"); #endif #if @GNULIB_FGETC@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fgetc # define fgetc rpl_fgetc # endif _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fgetc, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (fgetc, int, (FILE *stream)); # endif _GL_CXXALIASWARN (fgetc); #endif #if @GNULIB_FGETS@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fgets # define fgets rpl_fgets # endif _GL_FUNCDECL_RPL (fgets, char *, (char *s, int n, FILE *stream) _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (fgets, char *, (char *s, int n, FILE *stream)); # else _GL_CXXALIAS_SYS (fgets, char *, (char *s, int n, FILE *stream)); # endif _GL_CXXALIASWARN (fgets); #endif #if @GNULIB_FOPEN@ # if @REPLACE_FOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fopen # define fopen rpl_fopen # endif _GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode)); # else _GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode)); # endif _GL_CXXALIASWARN (fopen); #elif defined GNULIB_POSIXCHECK # undef fopen /* Assume fopen is always declared. */ _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " "use gnulib module fopen for portability"); #endif #if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@ # if (@GNULIB_FPRINTF_POSIX@ && @REPLACE_FPRINTF@) \ || (@GNULIB_FPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fprintf rpl_fprintf # endif # define GNULIB_overrides_fprintf 1 # if @GNULIB_FPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); # else _GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...)); # else _GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...)); # endif _GL_CXXALIASWARN (fprintf); #endif #if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_fprintf # undef fprintf # endif /* Assume fprintf is always declared. */ _GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " "use gnulib module fprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_FPURGE@ /* Discard all pending buffered I/O data on STREAM. STREAM must not be wide-character oriented. When discarding pending output, the file position is set back to where it was before the write calls. When discarding pending input, the file position is advanced to match the end of the previously read input. Return 0 if successful. Upon error, return -1 and set errno. */ # if @REPLACE_FPURGE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fpurge rpl_fpurge # endif _GL_FUNCDECL_RPL (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fpurge, int, (FILE *gl_stream)); # else # if !@HAVE_DECL_FPURGE@ _GL_FUNCDECL_SYS (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (fpurge, int, (FILE *gl_stream)); # endif _GL_CXXALIASWARN (fpurge); #elif defined GNULIB_POSIXCHECK # undef fpurge # if HAVE_RAW_DECL_FPURGE _GL_WARN_ON_USE (fpurge, "fpurge is not always present - " "use gnulib module fpurge for portability"); # endif #endif #if @GNULIB_FPUTC@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fputc # define fputc rpl_fputc # endif _GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fputc, int, (int c, FILE *stream)); # else _GL_CXXALIAS_SYS (fputc, int, (int c, FILE *stream)); # endif _GL_CXXALIASWARN (fputc); #endif #if @GNULIB_FPUTS@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fputs # define fputs rpl_fputs # endif _GL_FUNCDECL_RPL (fputs, int, (const char *string, FILE *stream) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (fputs, int, (const char *string, FILE *stream)); # else _GL_CXXALIAS_SYS (fputs, int, (const char *string, FILE *stream)); # endif _GL_CXXALIASWARN (fputs); #endif #if @GNULIB_FREAD@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fread # define fread rpl_fread # endif _GL_FUNCDECL_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream) _GL_ARG_NONNULL ((4))); _GL_CXXALIAS_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream)); # else _GL_CXXALIAS_SYS (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream)); # endif _GL_CXXALIASWARN (fread); #endif #if @GNULIB_FREOPEN@ # if @REPLACE_FREOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef freopen # define freopen rpl_freopen # endif _GL_FUNCDECL_RPL (freopen, FILE *, (const char *filename, const char *mode, FILE *stream) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (freopen, FILE *, (const char *filename, const char *mode, FILE *stream)); # else _GL_CXXALIAS_SYS (freopen, FILE *, (const char *filename, const char *mode, FILE *stream)); # endif _GL_CXXALIASWARN (freopen); #elif defined GNULIB_POSIXCHECK # undef freopen /* Assume freopen is always declared. */ _GL_WARN_ON_USE (freopen, "freopen on native Windows platforms is not POSIX compliant - " "use gnulib module freopen for portability"); #endif #if @GNULIB_FSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fscanf # define fscanf rpl_fscanf # endif _GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...)); # else _GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...)); # endif _GL_CXXALIASWARN (fscanf); #endif /* Set up the following warnings, based on which modules are in use. GNU Coding Standards discourage the use of fseek, since it imposes an arbitrary limitation on some 32-bit hosts. Remember that the fseek module depends on the fseeko module, so we only have three cases to consider: 1. The developer is not using either module. Issue a warning under GNULIB_POSIXCHECK for both functions, to remind them that both functions have bugs on some systems. _GL_NO_LARGE_FILES has no impact on this warning. 2. The developer is using both modules. They may be unaware of the arbitrary limitations of fseek, so issue a warning under GNULIB_POSIXCHECK. On the other hand, they may be using both modules intentionally, so the developer can define _GL_NO_LARGE_FILES in the compilation units where the use of fseek is safe, to silence the warning. 3. The developer is using the fseeko module, but not fseek. Gnulib guarantees that fseek will still work around platform bugs in that case, but we presume that the developer is aware of the pitfalls of fseek and was trying to avoid it, so issue a warning even when GNULIB_POSIXCHECK is undefined. Again, _GL_NO_LARGE_FILES can be defined to silence the warning in particular compilation units. In C++ compilations with GNULIB_NAMESPACE, in order to avoid that fseek gets defined as a macro, it is recommended that the developer uses the fseek module, even if he is not calling the fseek function. Most gnulib clients that perform stream operations should fall into category 3. */ #if @GNULIB_FSEEK@ # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES # define _GL_FSEEK_WARN /* Category 2, above. */ # undef fseek # endif # if @REPLACE_FSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fseek # define fseek rpl_fseek # endif _GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence)); # else _GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence)); # endif _GL_CXXALIASWARN (fseek); #endif #if @GNULIB_FSEEKO@ # if !@GNULIB_FSEEK@ && !defined _GL_NO_LARGE_FILES # define _GL_FSEEK_WARN /* Category 3, above. */ # undef fseek # endif # if @REPLACE_FSEEKO@ /* Provide an fseeko function that is aware of a preceding fflush(), and which detects pipes. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fseeko # define fseeko rpl_fseeko # endif _GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)); # else # if ! @HAVE_DECL_FSEEKO@ _GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)); # endif _GL_CXXALIASWARN (fseeko); #elif defined GNULIB_POSIXCHECK # define _GL_FSEEK_WARN /* Category 1, above. */ # undef fseek # undef fseeko # if HAVE_RAW_DECL_FSEEKO _GL_WARN_ON_USE (fseeko, "fseeko is unportable - " "use gnulib module fseeko for portability"); # endif #endif #ifdef _GL_FSEEK_WARN # undef _GL_FSEEK_WARN /* Here, either fseek is undefined (but C89 guarantees that it is declared), or it is defined as rpl_fseek (declared above). */ _GL_WARN_ON_USE (fseek, "fseek cannot handle files larger than 4 GB " "on 32-bit platforms - " "use fseeko function for handling of large files"); #endif /* ftell, ftello. See the comments on fseek/fseeko. */ #if @GNULIB_FTELL@ # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES # define _GL_FTELL_WARN /* Category 2, above. */ # undef ftell # endif # if @REPLACE_FTELL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftell # define ftell rpl_ftell # endif _GL_FUNCDECL_RPL (ftell, long, (FILE *fp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (ftell, long, (FILE *fp)); # else _GL_CXXALIAS_SYS (ftell, long, (FILE *fp)); # endif _GL_CXXALIASWARN (ftell); #endif #if @GNULIB_FTELLO@ # if !@GNULIB_FTELL@ && !defined _GL_NO_LARGE_FILES # define _GL_FTELL_WARN /* Category 3, above. */ # undef ftell # endif # if @REPLACE_FTELLO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftello # define ftello rpl_ftello # endif _GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (ftello, off_t, (FILE *fp)); # else # if ! @HAVE_DECL_FTELLO@ _GL_FUNCDECL_SYS (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (ftello, off_t, (FILE *fp)); # endif _GL_CXXALIASWARN (ftello); #elif defined GNULIB_POSIXCHECK # define _GL_FTELL_WARN /* Category 1, above. */ # undef ftell # undef ftello # if HAVE_RAW_DECL_FTELLO _GL_WARN_ON_USE (ftello, "ftello is unportable - " "use gnulib module ftello for portability"); # endif #endif #ifdef _GL_FTELL_WARN # undef _GL_FTELL_WARN /* Here, either ftell is undefined (but C89 guarantees that it is declared), or it is defined as rpl_ftell (declared above). */ _GL_WARN_ON_USE (ftell, "ftell cannot handle files larger than 4 GB " "on 32-bit platforms - " "use ftello function for handling of large files"); #endif #if @GNULIB_FWRITE@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fwrite # define fwrite rpl_fwrite # endif _GL_FUNCDECL_RPL (fwrite, size_t, (const void *ptr, size_t s, size_t n, FILE *stream) _GL_ARG_NONNULL ((1, 4))); _GL_CXXALIAS_RPL (fwrite, size_t, (const void *ptr, size_t s, size_t n, FILE *stream)); # else _GL_CXXALIAS_SYS (fwrite, size_t, (const void *ptr, size_t s, size_t n, FILE *stream)); /* Work around bug 11959 when fortifying glibc 2.4 through 2.15 , which sometimes causes an unwanted diagnostic for fwrite calls. This affects only function declaration attributes under certain versions of gcc and clang, and is not needed for C++. */ # if (0 < __USE_FORTIFY_LEVEL \ && __GLIBC__ == 2 && 4 <= __GLIBC_MINOR__ && __GLIBC_MINOR__ <= 15 \ && 3 < __GNUC__ + (4 <= __GNUC_MINOR__) \ && !defined __cplusplus) # undef fwrite # undef fwrite_unlocked extern size_t __REDIRECT (rpl_fwrite, (const void *__restrict, size_t, size_t, FILE *__restrict), fwrite); extern size_t __REDIRECT (rpl_fwrite_unlocked, (const void *__restrict, size_t, size_t, FILE *__restrict), fwrite_unlocked); # define fwrite rpl_fwrite # define fwrite_unlocked rpl_fwrite_unlocked # endif # endif _GL_CXXALIASWARN (fwrite); #endif #if @GNULIB_GETC@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getc # define getc rpl_fgetc # endif _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (getc, int, (FILE *stream)); # endif _GL_CXXALIASWARN (getc); #endif #if @GNULIB_GETCHAR@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getchar # define getchar rpl_getchar # endif _GL_FUNCDECL_RPL (getchar, int, (void)); _GL_CXXALIAS_RPL (getchar, int, (void)); # else _GL_CXXALIAS_SYS (getchar, int, (void)); # endif _GL_CXXALIASWARN (getchar); #endif #if @GNULIB_GETDELIM@ /* Read input, up to (and including) the next occurrence of DELIMITER, from STREAM, store it in *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE bytes of space. It is realloc'd as necessary. Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ # if @REPLACE_GETDELIM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdelim # define getdelim rpl_getdelim # endif _GL_FUNCDECL_RPL (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream) _GL_ARG_NONNULL ((1, 2, 4))); _GL_CXXALIAS_RPL (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream)); # else # if !@HAVE_DECL_GETDELIM@ _GL_FUNCDECL_SYS (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream) _GL_ARG_NONNULL ((1, 2, 4))); # endif _GL_CXXALIAS_SYS (getdelim, ssize_t, (char **lineptr, size_t *linesize, int delimiter, FILE *stream)); # endif _GL_CXXALIASWARN (getdelim); #elif defined GNULIB_POSIXCHECK # undef getdelim # if HAVE_RAW_DECL_GETDELIM _GL_WARN_ON_USE (getdelim, "getdelim is unportable - " "use gnulib module getdelim for portability"); # endif #endif #if @GNULIB_GETLINE@ /* Read a line, up to (and including) the next newline, from STREAM, store it in *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE bytes of space. It is realloc'd as necessary. Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ # if @REPLACE_GETLINE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getline # define getline rpl_getline # endif _GL_FUNCDECL_RPL (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream) _GL_ARG_NONNULL ((1, 2, 3))); _GL_CXXALIAS_RPL (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream)); # else # if !@HAVE_DECL_GETLINE@ _GL_FUNCDECL_SYS (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (getline, ssize_t, (char **lineptr, size_t *linesize, FILE *stream)); # endif # if @HAVE_DECL_GETLINE@ _GL_CXXALIASWARN (getline); # endif #elif defined GNULIB_POSIXCHECK # undef getline # if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is unportable - " "use gnulib module getline for portability"); # endif #endif /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning; besides, C11 removed it. */ #undef gets #if HAVE_RAW_DECL_GETS && !defined __cplusplus _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ struct obstack; /* Grow an obstack with formatted output. Return the number of bytes added to OBS. No trailing nul byte is added, and the object should be closed with obstack_finish before use. Upon memory allocation error, call obstack_alloc_failed_handler. Upon other error, return -1. */ # if @REPLACE_OBSTACK_PRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define obstack_printf rpl_obstack_printf # endif _GL_FUNCDECL_RPL (obstack_printf, int, (struct obstack *obs, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (obstack_printf, int, (struct obstack *obs, const char *format, ...)); # else # if !@HAVE_DECL_OBSTACK_PRINTF@ _GL_FUNCDECL_SYS (obstack_printf, int, (struct obstack *obs, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (obstack_printf, int, (struct obstack *obs, const char *format, ...)); # endif _GL_CXXALIASWARN (obstack_printf); # if @REPLACE_OBSTACK_PRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define obstack_vprintf rpl_obstack_vprintf # endif _GL_FUNCDECL_RPL (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args)); # else # if !@HAVE_DECL_OBSTACK_PRINTF@ _GL_FUNCDECL_SYS (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args)); # endif _GL_CXXALIASWARN (obstack_vprintf); #endif #if @GNULIB_PCLOSE@ # if !@HAVE_PCLOSE@ _GL_FUNCDECL_SYS (pclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pclose, int, (FILE *stream)); _GL_CXXALIASWARN (pclose); #elif defined GNULIB_POSIXCHECK # undef pclose # if HAVE_RAW_DECL_PCLOSE _GL_WARN_ON_USE (pclose, "pclose is unportable - " "use gnulib module pclose for more portability"); # endif #endif #if @GNULIB_PERROR@ /* Print a message to standard error, describing the value of ERRNO, (if STRING is not NULL and not empty) prefixed with STRING and ": ", and terminated with a newline. */ # if @REPLACE_PERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define perror rpl_perror # endif _GL_FUNCDECL_RPL (perror, void, (const char *string)); _GL_CXXALIAS_RPL (perror, void, (const char *string)); # else _GL_CXXALIAS_SYS (perror, void, (const char *string)); # endif _GL_CXXALIASWARN (perror); #elif defined GNULIB_POSIXCHECK # undef perror /* Assume perror is always declared. */ _GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " "use gnulib module perror for portability"); #endif #if @GNULIB_POPEN@ # if @REPLACE_POPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef popen # define popen rpl_popen # endif _GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); # else # if !@HAVE_POPEN@ _GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); # endif _GL_CXXALIASWARN (popen); #elif defined GNULIB_POSIXCHECK # undef popen # if HAVE_RAW_DECL_POPEN _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " "use gnulib module popen or pipe for more portability"); # endif #endif #if @GNULIB_PRINTF_POSIX@ || @GNULIB_PRINTF@ # if (@GNULIB_PRINTF_POSIX@ && @REPLACE_PRINTF@) \ || (@GNULIB_PRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if defined __GNUC__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) /* Don't break __attribute__((format(printf,M,N))). */ # define printf __printf__ # endif # if @GNULIB_PRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL_1 (__printf__, int, (const char *format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)) _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2) _GL_ARG_NONNULL ((1))); # else _GL_FUNCDECL_RPL_1 (__printf__, int, (const char *format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...)); # else # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define printf rpl_printf # endif _GL_FUNCDECL_RPL (printf, int, (const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (printf, int, (const char *format, ...)); # endif # define GNULIB_overrides_printf 1 # else _GL_CXXALIAS_SYS (printf, int, (const char *format, ...)); # endif _GL_CXXALIASWARN (printf); #endif #if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_printf # undef printf # endif /* Assume printf is always declared. */ _GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " "use gnulib module printf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_PUTC@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putc # define putc rpl_fputc # endif _GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL_1 (putc, rpl_fputc, int, (int c, FILE *stream)); # else _GL_CXXALIAS_SYS (putc, int, (int c, FILE *stream)); # endif _GL_CXXALIASWARN (putc); #endif #if @GNULIB_PUTCHAR@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putchar # define putchar rpl_putchar # endif _GL_FUNCDECL_RPL (putchar, int, (int c)); _GL_CXXALIAS_RPL (putchar, int, (int c)); # else _GL_CXXALIAS_SYS (putchar, int, (int c)); # endif _GL_CXXALIASWARN (putchar); #endif #if @GNULIB_PUTS@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef puts # define puts rpl_puts # endif _GL_FUNCDECL_RPL (puts, int, (const char *string) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (puts, int, (const char *string)); # else _GL_CXXALIAS_SYS (puts, int, (const char *string)); # endif _GL_CXXALIASWARN (puts); #endif #if @GNULIB_REMOVE@ # if @REPLACE_REMOVE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef remove # define remove rpl_remove # endif _GL_FUNCDECL_RPL (remove, int, (const char *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (remove, int, (const char *name)); # else _GL_CXXALIAS_SYS (remove, int, (const char *name)); # endif _GL_CXXALIASWARN (remove); #elif defined GNULIB_POSIXCHECK # undef remove /* Assume remove is always declared. */ _GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - " "use gnulib module remove for more portability"); #endif #if @GNULIB_RENAME@ # if @REPLACE_RENAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef rename # define rename rpl_rename # endif _GL_FUNCDECL_RPL (rename, int, (const char *old_filename, const char *new_filename) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (rename, int, (const char *old_filename, const char *new_filename)); # else _GL_CXXALIAS_SYS (rename, int, (const char *old_filename, const char *new_filename)); # endif _GL_CXXALIASWARN (rename); #elif defined GNULIB_POSIXCHECK # undef rename /* Assume rename is always declared. */ _GL_WARN_ON_USE (rename, "rename is buggy on some platforms - " "use gnulib module rename for more portability"); #endif #if @GNULIB_RENAMEAT@ # if @REPLACE_RENAMEAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef renameat # define renameat rpl_renameat # endif _GL_FUNCDECL_RPL (renameat, int, (int fd1, char const *file1, int fd2, char const *file2) _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (renameat, int, (int fd1, char const *file1, int fd2, char const *file2)); # else # if !@HAVE_RENAMEAT@ _GL_FUNCDECL_SYS (renameat, int, (int fd1, char const *file1, int fd2, char const *file2) _GL_ARG_NONNULL ((2, 4))); # endif _GL_CXXALIAS_SYS (renameat, int, (int fd1, char const *file1, int fd2, char const *file2)); # endif _GL_CXXALIASWARN (renameat); #elif defined GNULIB_POSIXCHECK # undef renameat # if HAVE_RAW_DECL_RENAMEAT _GL_WARN_ON_USE (renameat, "renameat is not portable - " "use gnulib module renameat for portability"); # endif #endif #if @GNULIB_SCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if defined __GNUC__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef scanf /* Don't break __attribute__((format(scanf,M,N))). */ # define scanf __scanf__ # endif _GL_FUNCDECL_RPL_1 (__scanf__, int, (const char *format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_scanf)) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...)); # else # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef scanf # define scanf rpl_scanf # endif _GL_FUNCDECL_RPL (scanf, int, (const char *format, ...) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (scanf, int, (const char *format, ...)); # endif # else _GL_CXXALIAS_SYS (scanf, int, (const char *format, ...)); # endif _GL_CXXALIASWARN (scanf); #endif #if @GNULIB_SNPRINTF@ # if @REPLACE_SNPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define snprintf rpl_snprintf # endif _GL_FUNCDECL_RPL (snprintf, int, (char *str, size_t size, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_RPL (snprintf, int, (char *str, size_t size, const char *format, ...)); # else # if !@HAVE_DECL_SNPRINTF@ _GL_FUNCDECL_SYS (snprintf, int, (char *str, size_t size, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4) _GL_ARG_NONNULL ((3))); # endif _GL_CXXALIAS_SYS (snprintf, int, (char *str, size_t size, const char *format, ...)); # endif _GL_CXXALIASWARN (snprintf); #elif defined GNULIB_POSIXCHECK # undef snprintf # if HAVE_RAW_DECL_SNPRINTF _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " "use gnulib module snprintf for portability"); # endif #endif /* Some people would argue that all sprintf uses should be warned about (for example, OpenBSD issues a link warning for it), since it can cause security holes due to buffer overruns. However, we believe that sprintf can be used safely, and is more efficient than snprintf in those safe cases; and as proof of our belief, we use sprintf in several gnulib modules. So this header intentionally avoids adding a warning to sprintf except when GNULIB_POSIXCHECK is defined. */ #if @GNULIB_SPRINTF_POSIX@ # if @REPLACE_SPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define sprintf rpl_sprintf # endif _GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...)); # else _GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...)); # endif _GL_CXXALIASWARN (sprintf); #elif defined GNULIB_POSIXCHECK # undef sprintf /* Assume sprintf is always declared. */ _GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " "use gnulib module sprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_TMPFILE@ # if @REPLACE_TMPFILE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define tmpfile rpl_tmpfile # endif _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)); _GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); # else _GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); # endif _GL_CXXALIASWARN (tmpfile); #elif defined GNULIB_POSIXCHECK # undef tmpfile # if HAVE_RAW_DECL_TMPFILE _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " "use gnulib module tmpfile for portability"); # endif #endif #if @GNULIB_VASPRINTF@ /* Write formatted output to a string dynamically allocated with malloc(). If the memory allocation succeeds, store the address of the string in *RESULT and return the number of resulting bytes, excluding the trailing NUL. Upon memory allocation error, or some other error, return -1. */ # if @REPLACE_VASPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define asprintf rpl_asprintf # endif _GL_FUNCDECL_RPL (asprintf, int, (char **result, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (asprintf, int, (char **result, const char *format, ...)); # else # if !@HAVE_VASPRINTF@ _GL_FUNCDECL_SYS (asprintf, int, (char **result, const char *format, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (asprintf, int, (char **result, const char *format, ...)); # endif _GL_CXXALIASWARN (asprintf); # if @REPLACE_VASPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vasprintf rpl_vasprintf # endif _GL_FUNCDECL_RPL (vasprintf, int, (char **result, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (vasprintf, int, (char **result, const char *format, va_list args)); # else # if !@HAVE_VASPRINTF@ _GL_FUNCDECL_SYS (vasprintf, int, (char **result, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (vasprintf, int, (char **result, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vasprintf); #endif #if @GNULIB_VDPRINTF@ # if @REPLACE_VDPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vdprintf rpl_vdprintf # endif _GL_FUNCDECL_RPL (vdprintf, int, (int fd, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (vdprintf, int, (int fd, const char *format, va_list args)); # else # if !@HAVE_VDPRINTF@ _GL_FUNCDECL_SYS (vdprintf, int, (int fd, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((2))); # endif /* Need to cast, because on Solaris, the third parameter will likely be __va_list args. */ _GL_CXXALIAS_SYS_CAST (vdprintf, int, (int fd, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vdprintf); #elif defined GNULIB_POSIXCHECK # undef vdprintf # if HAVE_RAW_DECL_VDPRINTF _GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - " "use gnulib module vdprintf for portability"); # endif #endif #if @GNULIB_VFPRINTF_POSIX@ || @GNULIB_VFPRINTF@ # if (@GNULIB_VFPRINTF_POSIX@ && @REPLACE_VFPRINTF@) \ || (@GNULIB_VFPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vfprintf rpl_vfprintf # endif # define GNULIB_overrides_vfprintf 1 # if @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); # else _GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)); # else /* Need to cast, because on Solaris, the third parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vfprintf, int, (FILE *fp, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vfprintf); #endif #if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_vfprintf # undef vfprintf # endif /* Assume vfprintf is always declared. */ _GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " "use gnulib module vfprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_VFSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef vfscanf # define vfscanf rpl_vfscanf # endif _GL_FUNCDECL_RPL (vfscanf, int, (FILE *stream, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (vfscanf, int, (FILE *stream, const char *format, va_list args)); # else _GL_CXXALIAS_SYS (vfscanf, int, (FILE *stream, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vfscanf); #endif #if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VPRINTF@ # if (@GNULIB_VPRINTF_POSIX@ && @REPLACE_VPRINTF@) \ || (@GNULIB_VPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vprintf rpl_vprintf # endif # define GNULIB_overrides_vprintf 1 # if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (1, 0) _GL_ARG_NONNULL ((1))); # else _GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 0) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args)); # else /* Need to cast, because on Solaris, the second parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args)); # endif _GL_CXXALIASWARN (vprintf); #endif #if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_vprintf # undef vprintf # endif /* Assume vprintf is always declared. */ _GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " "use gnulib module vprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_VSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef vscanf # define vscanf rpl_vscanf # endif _GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 0) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args)); # else _GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args)); # endif _GL_CXXALIASWARN (vscanf); #endif #if @GNULIB_VSNPRINTF@ # if @REPLACE_VSNPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vsnprintf rpl_vsnprintf # endif _GL_FUNCDECL_RPL (vsnprintf, int, (char *str, size_t size, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_RPL (vsnprintf, int, (char *str, size_t size, const char *format, va_list args)); # else # if !@HAVE_DECL_VSNPRINTF@ _GL_FUNCDECL_SYS (vsnprintf, int, (char *str, size_t size, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3))); # endif _GL_CXXALIAS_SYS (vsnprintf, int, (char *str, size_t size, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vsnprintf); #elif defined GNULIB_POSIXCHECK # undef vsnprintf # if HAVE_RAW_DECL_VSNPRINTF _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " "use gnulib module vsnprintf for portability"); # endif #endif #if @GNULIB_VSPRINTF_POSIX@ # if @REPLACE_VSPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vsprintf rpl_vsprintf # endif _GL_FUNCDECL_RPL (vsprintf, int, (char *str, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (vsprintf, int, (char *str, const char *format, va_list args)); # else /* Need to cast, because on Solaris, the third parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vsprintf, int, (char *str, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vsprintf); #elif defined GNULIB_POSIXCHECK # undef vsprintf /* Assume vsprintf is always declared. */ _GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " "use gnulib module vsprintf-posix for portable " "POSIX compliance"); #endif #endif /* _@GUARD_PREFIX@_STDIO_H */ #endif /* _@GUARD_PREFIX@_STDIO_H */ #endif gsasl-1.8.1/lib/gl/vasnprintf.c0000644000000000000000000066764513516251671013266 00000000000000/* vsprintf with automatic memory allocation. Copyright (C) 1999, 2002-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* This file can be parametrized with the following macros: VASNPRINTF The name of the function being defined. FCHAR_T The element type of the format string. DCHAR_T The element type of the destination (result) string. FCHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. MUST be set if FCHAR_T and DCHAR_T are not the same type. DIRECTIVE Structure denoting a format directive. Depends on FCHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on FCHAR_T. PRINTF_PARSE Function that parses a format string. Depends on FCHAR_T. DCHAR_CPY memcpy like function for DCHAR_T[] arrays. DCHAR_SET memset like function for DCHAR_T[] arrays. DCHAR_MBSNLEN mbsnlen like function for DCHAR_T[] arrays. SNPRINTF The system's snprintf (or similar) function. This may be either snprintf or swprintf. TCHAR_T The element type of the argument and result string of the said SNPRINTF function. This may be either char or wchar_t. The code exploits that sizeof (TCHAR_T) | sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). DCHAR_IS_TCHAR Set to 1 if DCHAR_T and TCHAR_T are the same type. DCHAR_CONV_FROM_ENCODING A function to convert from char[] to DCHAR[]. DCHAR_IS_UINT8_T Set to 1 if DCHAR_T is uint8_t. DCHAR_IS_UINT16_T Set to 1 if DCHAR_T is uint16_t. DCHAR_IS_UINT32_T Set to 1 if DCHAR_T is uint32_t. */ /* Tell glibc's to provide a prototype for snprintf(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifndef VASNPRINTF # include #endif #ifndef IN_LIBINTL # include #endif /* Specification. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "vasnwprintf.h" # else # include "vasnprintf.h" # endif #endif #include /* localeconv() */ #include /* snprintf(), sprintf() */ #include /* abort(), malloc(), realloc(), free() */ #include /* memcpy(), strlen() */ #include /* errno */ #include /* CHAR_BIT */ #include /* DBL_MAX_EXP, LDBL_MAX_EXP */ #if HAVE_NL_LANGINFO # include #endif #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "wprintf-parse.h" # else # include "printf-parse.h" # endif #endif /* Checked size_t computations. */ #include "xsize.h" #include "verify.h" #if (NEED_PRINTF_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "float+.h" #endif #if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL # include # include "isnand-nolibm.h" #endif #if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "isnanl-nolibm.h" # include "fpucw.h" #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL # include # include "isnand-nolibm.h" # include "printf-frexp.h" #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "isnanl-nolibm.h" # include "printf-frexpl.h" # include "fpucw.h" #endif #ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif #endif /* Default parameters. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # define VASNPRINTF vasnwprintf # define FCHAR_T wchar_t # define DCHAR_T wchar_t # define TCHAR_T wchar_t # define DCHAR_IS_TCHAR 1 # define DIRECTIVE wchar_t_directive # define DIRECTIVES wchar_t_directives # define PRINTF_PARSE wprintf_parse # define DCHAR_CPY wmemcpy # define DCHAR_SET wmemset # else # define VASNPRINTF vasnprintf # define FCHAR_T char # define DCHAR_T char # define TCHAR_T char # define DCHAR_IS_TCHAR 1 # define DIRECTIVE char_directive # define DIRECTIVES char_directives # define PRINTF_PARSE printf_parse # define DCHAR_CPY memcpy # define DCHAR_SET memset # endif #endif #if WIDE_CHAR_VERSION /* TCHAR_T is wchar_t. */ # define USE_SNPRINTF 1 # if HAVE_DECL__SNWPRINTF /* On Windows, the function swprintf() has a different signature than on Unix; we use the function _snwprintf() or - on mingw - snwprintf() instead. The mingw function snwprintf() has fewer bugs than the MSVCRT function _snwprintf(), so prefer that. */ # if defined __MINGW32__ # define SNPRINTF snwprintf # else # define SNPRINTF _snwprintf # define USE_MSVC__SNPRINTF 1 # endif # else /* Unix. */ # define SNPRINTF swprintf # endif #else /* TCHAR_T is char. */ /* Use snprintf if it exists under the name 'snprintf' or '_snprintf'. But don't use it on BeOS, since BeOS snprintf produces no output if the size argument is >= 0x3000000. Also don't use it on Linux libc5, since there snprintf with size = 1 writes any output without bounds, like sprintf. */ # if (HAVE_DECL__SNPRINTF || HAVE_SNPRINTF) && !defined __BEOS__ && !(__GNU_LIBRARY__ == 1) # define USE_SNPRINTF 1 # else # define USE_SNPRINTF 0 # endif # if HAVE_DECL__SNPRINTF /* Windows. The mingw function snprintf() has fewer bugs than the MSVCRT function _snprintf(), so prefer that. */ # if defined __MINGW32__ # define SNPRINTF snprintf /* Here we need to call the native snprintf, not rpl_snprintf. */ # undef snprintf # else /* MSVC versions < 14 did not have snprintf, only _snprintf. */ # define SNPRINTF _snprintf # define USE_MSVC__SNPRINTF 1 # endif # else /* Unix. */ # define SNPRINTF snprintf /* Here we need to call the native snprintf, not rpl_snprintf. */ # undef snprintf # endif #endif /* Here we need to call the native sprintf, not rpl_sprintf. */ #undef sprintf /* GCC >= 4.0 with -Wall emits unjustified "... may be used uninitialized" warnings in this file. Use -Dlint to suppress them. */ #if defined GCC_LINT || defined lint # define IF_LINT(Code) Code #else # define IF_LINT(Code) /* empty */ #endif /* Avoid some warnings from "gcc -Wshadow". This file doesn't use the exp() and remainder() functions. */ #undef exp #define exp expo #undef remainder #define remainder rem #if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF) && !WIDE_CHAR_VERSION # if (HAVE_STRNLEN && !defined _AIX) # define local_strnlen strnlen # else # ifndef local_strnlen_defined # define local_strnlen_defined 1 static size_t local_strnlen (const char *string, size_t maxlen) { const char *end = memchr (string, '\0', maxlen); return end ? (size_t) (end - string) : maxlen; } # endif # endif #endif #if (((!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF) && WIDE_CHAR_VERSION) || ((!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (NEED_PRINTF_DIRECTIVE_LS && !defined IN_LIBINTL)) && !WIDE_CHAR_VERSION && DCHAR_IS_TCHAR)) && HAVE_WCHAR_T # if HAVE_WCSLEN # define local_wcslen wcslen # else /* Solaris 2.5.1 has wcslen() in a separate library libw.so. To avoid a dependency towards this library, here is a local substitute. Define this substitute only once, even if this file is included twice in the same compilation unit. */ # ifndef local_wcslen_defined # define local_wcslen_defined 1 static size_t local_wcslen (const wchar_t *s) { const wchar_t *ptr; for (ptr = s; *ptr != (wchar_t) 0; ptr++) ; return ptr - s; } # endif # endif #endif #if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF) && HAVE_WCHAR_T && WIDE_CHAR_VERSION # if HAVE_WCSNLEN # define local_wcsnlen wcsnlen # else # ifndef local_wcsnlen_defined # define local_wcsnlen_defined 1 static size_t local_wcsnlen (const wchar_t *s, size_t maxlen) { const wchar_t *ptr; for (ptr = s; maxlen > 0 && *ptr != (wchar_t) 0; ptr++, maxlen--) ; return ptr - s; } # endif # endif #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL /* Determine the decimal-point character according to the current locale. */ # ifndef decimal_point_char_defined # define decimal_point_char_defined 1 static char decimal_point_char (void) { const char *point; /* Determine it in a multithread-safe way. We know nl_langinfo is multithread-safe on glibc systems and Mac OS X systems, but is not required to be multithread-safe by POSIX. sprintf(), however, is multithread-safe. localeconv() is rarely multithread-safe. */ # if HAVE_NL_LANGINFO && (__GLIBC__ || defined __UCLIBC__ || (defined __APPLE__ && defined __MACH__)) point = nl_langinfo (RADIXCHAR); # elif 1 char pointbuf[5]; sprintf (pointbuf, "%#.0f", 1.0); point = &pointbuf[1]; # else point = localeconv () -> decimal_point; # endif /* The decimal point is always a single byte: either '.' or ','. */ return (point[0] != '\0' ? point[0] : '.'); } # endif #endif #if NEED_PRINTF_INFINITE_DOUBLE && !NEED_PRINTF_DOUBLE && !defined IN_LIBINTL /* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ static int is_infinite_or_zero (double x) { return isnand (x) || x + x == x; } #endif #if NEED_PRINTF_INFINITE_LONG_DOUBLE && !NEED_PRINTF_LONG_DOUBLE && !defined IN_LIBINTL /* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ static int is_infinite_or_zerol (long double x) { return isnanl (x) || x + x == x; } #endif #if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL /* Converting 'long double' to decimal without rare rounding bugs requires real bignums. We use the naming conventions of GNU gmp, but vastly simpler (and slower) algorithms. */ typedef unsigned int mp_limb_t; # define GMP_LIMB_BITS 32 verify (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS); typedef unsigned long long mp_twolimb_t; # define GMP_TWOLIMB_BITS 64 verify (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS); /* Representation of a bignum >= 0. */ typedef struct { size_t nlimbs; mp_limb_t *limbs; /* Bits in little-endian order, allocated with malloc(). */ } mpn_t; /* Compute the product of two bignums >= 0. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * multiply (mpn_t src1, mpn_t src2, mpn_t *dest) { const mp_limb_t *p1; const mp_limb_t *p2; size_t len1; size_t len2; if (src1.nlimbs <= src2.nlimbs) { len1 = src1.nlimbs; p1 = src1.limbs; len2 = src2.nlimbs; p2 = src2.limbs; } else { len1 = src2.nlimbs; p1 = src2.limbs; len2 = src1.nlimbs; p2 = src1.limbs; } /* Now 0 <= len1 <= len2. */ if (len1 == 0) { /* src1 or src2 is zero. */ dest->nlimbs = 0; dest->limbs = (mp_limb_t *) malloc (1); } else { /* Here 1 <= len1 <= len2. */ size_t dlen; mp_limb_t *dp; size_t k, i, j; dlen = len1 + len2; dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); if (dp == NULL) return NULL; for (k = len2; k > 0; ) dp[--k] = 0; for (i = 0; i < len1; i++) { mp_limb_t digit1 = p1[i]; mp_twolimb_t carry = 0; for (j = 0; j < len2; j++) { mp_limb_t digit2 = p2[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; carry += dp[i + j]; dp[i + j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } dp[i + len2] = (mp_limb_t) carry; } /* Normalise. */ while (dlen > 0 && dp[dlen - 1] == 0) dlen--; dest->nlimbs = dlen; dest->limbs = dp; } return dest->limbs; } /* Compute the quotient of a bignum a >= 0 and a bignum b > 0. a is written as a = q * b + r with 0 <= r < b. q is the quotient, r the remainder. Finally, round-to-even is performed: If r > b/2 or if r = b/2 and q is odd, q is incremented. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * divide (mpn_t a, mpn_t b, mpn_t *q) { /* Algorithm: First normalise a and b: a=[a[m-1],...,a[0]], b=[b[n-1],...,b[0]] with m>=0 and n>0 (in base beta = 2^GMP_LIMB_BITS). If m=n=1, perform a single-precision division: r:=0, j:=m, while j>0 do {Here (q[m-1]*beta^(m-1)+...+q[j]*beta^j) * b[0] + r*beta^j = = a[m-1]*beta^(m-1)+...+a[j]*beta^j und 0<=r=n>1, perform a multiple-precision division: We have a/b < beta^(m-n+1). s:=intDsize-1-(highest bit in b[n-1]), 0<=s=beta/2. For j=m-n,...,0: {Here 0 <= r < b*beta^(j+1).} Compute q* : q* := floor((r[j+n]*beta+r[j+n-1])/b[n-1]). In case of overflow (q* >= beta) set q* := beta-1. Compute c2 := ((r[j+n]*beta+r[j+n-1]) - q* * b[n-1])*beta + r[j+n-2] and c3 := b[n-2] * q*. {We have 0 <= c2 < 2*beta^2, even 0 <= c2 < beta^2 if no overflow occurred. Furthermore 0 <= c3 < beta^2. If there was overflow and r[j+n]*beta+r[j+n-1] - q* * b[n-1] >= beta, i.e. c2 >= beta^2, the next test can be skipped.} While c3 > c2, {Here 0 <= c2 < c3 < beta^2} Put q* := q* - 1, c2 := c2 + b[n-1]*beta, c3 := c3 - b[n-2]. If q* > 0: Put r := r - b * q* * beta^j. In detail: [r[n+j],...,r[j]] := [r[n+j],...,r[j]] - q* * [b[n-1],...,b[0]]. hence: u:=0, for i:=0 to n-1 do u := u + q* * b[i], r[j+i]:=r[j+i]-(u mod beta) (+ beta, if carry), u:=u div beta (+ 1, if carry in subtraction) r[n+j]:=r[n+j]-u. {Since always u = (q* * [b[i-1],...,b[0]] div beta^i) + 1 < q* + 1 <= beta, the carry u does not overflow.} If a negative carry occurs, put q* := q* - 1 and [r[n+j],...,r[j]] := [r[n+j],...,r[j]] + [0,b[n-1],...,b[0]]. Set q[j] := q*. Normalise [q[m-n],..,q[0]]; this yields the quotient q. Shift [r[n-1],...,r[0]] right by s bits and normalise; this yields the rest r. The room for q[j] can be allocated at the memory location of r[n+j]. Finally, round-to-even: Shift r left by 1 bit. If r > b or if r = b and q[0] is odd, q := q+1. */ const mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; const mp_limb_t *b_ptr = b.limbs; size_t b_len = b.nlimbs; mp_limb_t *roomptr; mp_limb_t *tmp_roomptr = NULL; mp_limb_t *q_ptr; size_t q_len; mp_limb_t *r_ptr; size_t r_len; /* Allocate room for a_len+2 digits. (Need a_len+1 digits for the real division and 1 more digit for the final rounding of q.) */ roomptr = (mp_limb_t *) malloc ((a_len + 2) * sizeof (mp_limb_t)); if (roomptr == NULL) return NULL; /* Normalise a. */ while (a_len > 0 && a_ptr[a_len - 1] == 0) a_len--; /* Normalise b. */ for (;;) { if (b_len == 0) /* Division by zero. */ abort (); if (b_ptr[b_len - 1] == 0) b_len--; else break; } /* Here m = a_len >= 0 and n = b_len > 0. */ if (a_len < b_len) { /* m beta^(m-2) <= a/b < beta^m */ r_ptr = roomptr; q_ptr = roomptr + 1; { mp_limb_t den = b_ptr[0]; mp_limb_t remainder = 0; const mp_limb_t *sourceptr = a_ptr + a_len; mp_limb_t *destptr = q_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--sourceptr; *--destptr = num / den; remainder = num % den; } /* Normalise and store r. */ if (remainder > 0) { r_ptr[0] = remainder; r_len = 1; } else r_len = 0; /* Normalise q. */ q_len = a_len; if (q_ptr[q_len - 1] == 0) q_len--; } } else { /* n>1: multiple precision division. beta^(m-1) <= a < beta^m, beta^(n-1) <= b < beta^n ==> beta^(m-n-1) <= a/b < beta^(m-n+1). */ /* Determine s. */ size_t s; { mp_limb_t msd = b_ptr[b_len - 1]; /* = b[n-1], > 0 */ /* Determine s = GMP_LIMB_BITS - integer_length (msd). Code copied from gnulib's integer_length.c. */ # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) s = __builtin_clz (msd); # else # if defined DBL_EXPBIT0_WORD && defined DBL_EXPBIT0_BIT if (GMP_LIMB_BITS <= DBL_MANT_BIT) { /* Use 'double' operations. Assumes an IEEE 754 'double' implementation. */ # define DBL_EXP_MASK ((DBL_MAX_EXP - DBL_MIN_EXP) | 7) # define DBL_EXP_BIAS (DBL_EXP_MASK / 2 - 1) # define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) union { double value; unsigned int word[NWORDS]; } m; /* Use a single integer to floating-point conversion. */ m.value = msd; s = GMP_LIMB_BITS - (((m.word[DBL_EXPBIT0_WORD] >> DBL_EXPBIT0_BIT) & DBL_EXP_MASK) - DBL_EXP_BIAS); } else # undef NWORDS # endif { s = 31; if (msd >= 0x10000) { msd = msd >> 16; s -= 16; } if (msd >= 0x100) { msd = msd >> 8; s -= 8; } if (msd >= 0x10) { msd = msd >> 4; s -= 4; } if (msd >= 0x4) { msd = msd >> 2; s -= 2; } if (msd >= 0x2) { msd = msd >> 1; s -= 1; } } # endif } /* 0 <= s < GMP_LIMB_BITS. Copy b, shifting it left by s bits. */ if (s > 0) { tmp_roomptr = (mp_limb_t *) malloc (b_len * sizeof (mp_limb_t)); if (tmp_roomptr == NULL) { free (roomptr); return NULL; } { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = tmp_roomptr; mp_twolimb_t accu = 0; size_t count; for (count = b_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } /* accu must be zero, since that was how s was determined. */ if (accu != 0) abort (); } b_ptr = tmp_roomptr; } /* Copy a, shifting it left by s bits, yields r. Memory layout: At the beginning: r = roomptr[0..a_len], at the end: r = roomptr[0..b_len-1], q = roomptr[b_len..a_len] */ r_ptr = roomptr; if (s == 0) { memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); r_ptr[a_len] = 0; } else { const mp_limb_t *sourceptr = a_ptr; mp_limb_t *destptr = r_ptr; mp_twolimb_t accu = 0; size_t count; for (count = a_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } *destptr++ = (mp_limb_t) accu; } q_ptr = roomptr + b_len; q_len = a_len - b_len + 1; /* q will have m-n+1 limbs */ { size_t j = a_len - b_len; /* m-n */ mp_limb_t b_msd = b_ptr[b_len - 1]; /* b[n-1] */ mp_limb_t b_2msd = b_ptr[b_len - 2]; /* b[n-2] */ mp_twolimb_t b_msdd = /* b[n-1]*beta+b[n-2] */ ((mp_twolimb_t) b_msd << GMP_LIMB_BITS) | b_2msd; /* Division loop, traversed m-n+1 times. j counts down, b is unchanged, beta/2 <= b[n-1] < beta. */ for (;;) { mp_limb_t q_star; mp_limb_t c1; if (r_ptr[j + b_len] < b_msd) /* r[j+n] < b[n-1] ? */ { /* Divide r[j+n]*beta+r[j+n-1] by b[n-1], no overflow. */ mp_twolimb_t num = ((mp_twolimb_t) r_ptr[j + b_len] << GMP_LIMB_BITS) | r_ptr[j + b_len - 1]; q_star = num / b_msd; c1 = num % b_msd; } else { /* Overflow, hence r[j+n]*beta+r[j+n-1] >= beta*b[n-1]. */ q_star = (mp_limb_t)~(mp_limb_t)0; /* q* = beta-1 */ /* Test whether r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] >= beta <==> r[j+n]*beta+r[j+n-1] + b[n-1] >= beta*b[n-1]+beta <==> b[n-1] < floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) {<= beta !}. If yes, jump directly to the subtraction loop. (Otherwise, r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] < beta <==> floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) = b[n-1] ) */ if (r_ptr[j + b_len] > b_msd || (c1 = r_ptr[j + b_len - 1] + b_msd) < b_msd) /* r[j+n] >= b[n-1]+1 or r[j+n] = b[n-1] and the addition r[j+n-1]+b[n-1] gives a carry. */ goto subtract; } /* q_star = q*, c1 = (r[j+n]*beta+r[j+n-1]) - q* * b[n-1] (>=0, 0, decrease it by b[n-1]*beta+b[n-2]. Because of b[n-1]*beta+b[n-2] >= beta^2/2 this can happen only twice. */ if (c3 > c2) { q_star = q_star - 1; /* q* := q* - 1 */ if (c3 - c2 > b_msdd) q_star = q_star - 1; /* q* := q* - 1 */ } } if (q_star > 0) subtract: { /* Subtract r := r - b * q* * beta^j. */ mp_limb_t cr; { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_twolimb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { /* Here 0 <= carry <= q*. */ carry = carry + (mp_twolimb_t) q_star * (mp_twolimb_t) *sourceptr++ + (mp_limb_t) ~(*destptr); /* Here 0 <= carry <= beta*q* + beta-1. */ *destptr++ = ~(mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; /* <= q* */ } cr = (mp_limb_t) carry; } /* Subtract cr from r_ptr[j + b_len], then forget about r_ptr[j + b_len]. */ if (cr > r_ptr[j + b_len]) { /* Subtraction gave a carry. */ q_star = q_star - 1; /* q* := q* - 1 */ /* Add b back. */ { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_limb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { mp_limb_t source1 = *sourceptr++; mp_limb_t source2 = *destptr; *destptr++ = source1 + source2 + carry; carry = (carry ? source1 >= (mp_limb_t) ~source2 : source1 > (mp_limb_t) ~source2); } } /* Forget about the carry and about r[j+n]. */ } } /* q* is determined. Store it as q[j]. */ q_ptr[j] = q_star; if (j == 0) break; j--; } } r_len = b_len; /* Normalise q. */ if (q_ptr[q_len - 1] == 0) q_len--; # if 0 /* Not needed here, since we need r only to compare it with b/2, and b is shifted left by s bits. */ /* Shift r right by s bits. */ if (s > 0) { mp_limb_t ptr = r_ptr + r_len; mp_twolimb_t accu = 0; size_t count; for (count = r_len; count > 0; count--) { accu = (mp_twolimb_t) (mp_limb_t) accu << GMP_LIMB_BITS; accu += (mp_twolimb_t) *--ptr << (GMP_LIMB_BITS - s); *ptr = (mp_limb_t) (accu >> GMP_LIMB_BITS); } } # endif /* Normalise r. */ while (r_len > 0 && r_ptr[r_len - 1] == 0) r_len--; } /* Compare r << 1 with b. */ if (r_len > b_len) goto increment_q; { size_t i; for (i = b_len;;) { mp_limb_t r_i = (i <= r_len && i > 0 ? r_ptr[i - 1] >> (GMP_LIMB_BITS - 1) : 0) | (i < r_len ? r_ptr[i] << 1 : 0); mp_limb_t b_i = (i < b_len ? b_ptr[i] : 0); if (r_i > b_i) goto increment_q; if (r_i < b_i) goto keep_q; if (i == 0) break; i--; } } if (q_len > 0 && ((q_ptr[0] & 1) != 0)) /* q is odd. */ increment_q: { size_t i; for (i = 0; i < q_len; i++) if (++(q_ptr[i]) != 0) goto keep_q; q_ptr[q_len++] = 1; } keep_q: if (tmp_roomptr != NULL) free (tmp_roomptr); q->limbs = q_ptr; q->nlimbs = q_len; return roomptr; } /* Convert a bignum a >= 0, multiplied with 10^extra_zeroes, to decimal representation. Destroys the contents of a. Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * convert_to_decimal (mpn_t a, size_t extra_zeroes) { mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; /* 0.03345 is slightly larger than log(2)/(9*log(10)). */ size_t c_len = 9 * ((size_t)(a_len * (GMP_LIMB_BITS * 0.03345f)) + 1); /* We need extra_zeroes bytes for zeroes, followed by c_len bytes for the digits of a, followed by 1 byte for the terminating NUL. */ char *c_ptr = (char *) malloc (xsum (xsum (extra_zeroes, c_len), 1)); if (c_ptr != NULL) { char *d_ptr = c_ptr; for (; extra_zeroes > 0; extra_zeroes--) *d_ptr++ = '0'; while (a_len > 0) { /* Divide a by 10^9, in-place. */ mp_limb_t remainder = 0; mp_limb_t *ptr = a_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--ptr; *ptr = num / 1000000000; remainder = num % 1000000000; } /* Store the remainder as 9 decimal digits. */ for (count = 9; count > 0; count--) { *d_ptr++ = '0' + (remainder % 10); remainder = remainder / 10; } /* Normalize a. */ if (a_ptr[a_len - 1] == 0) a_len--; } /* Remove leading zeroes. */ while (d_ptr > c_ptr && d_ptr[-1] == '0') d_ptr--; /* But keep at least one zero. */ if (d_ptr == c_ptr) *d_ptr++ = '0'; /* Terminate the string. */ *d_ptr = '\0'; } return c_ptr; } # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_long_double (long double x, int *ep, mpn_t *mp) { mpn_t m; int exp; long double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (LDBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); /* x = 2^exp * y = 2^(exp - LDBL_MANT_BIT) * (y * 2^LDBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * 2^LDBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'long double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'long double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (LDBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (LDBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = LDBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess precision. */ if (!(y == 0.0L)) abort (); # endif /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - LDBL_MANT_BIT; return m.limbs; } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_double (double x, int *ep, mpn_t *mp) { mpn_t m; int exp; double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (DBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); /* x = 2^exp * y = 2^(exp - DBL_MANT_BIT) * (y * 2^DBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * 2^DBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (DBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (DBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = DBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } if (!(y == 0.0)) abort (); /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - DBL_MANT_BIT; return m.limbs; } # endif /* Assuming x = 2^e * m is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_decoded (int e, mpn_t m, void *memory, int n) { int s; size_t extra_zeroes; unsigned int abs_n; unsigned int abs_s; mp_limb_t *pow5_ptr; size_t pow5_len; unsigned int s_limbs; unsigned int s_bits; mpn_t pow5; mpn_t z; void *z_memory; char *digits; if (memory == NULL) return NULL; /* x = 2^e * m, hence y = round (2^e * 10^n * m) = round (2^(e+n) * 5^n * m) = round (2^s * 5^n * m). */ s = e + n; extra_zeroes = 0; /* Factor out a common power of 10 if possible. */ if (s > 0 && n > 0) { extra_zeroes = (s < n ? s : n); s -= extra_zeroes; n -= extra_zeroes; } /* Here y = round (2^s * 5^n * m) * 10^extra_zeroes. Before converting to decimal, we need to compute z = round (2^s * 5^n * m). */ /* Compute 5^|n|, possibly shifted by |s| bits if n and s have the same sign. 2.322 is slightly larger than log(5)/log(2). */ abs_n = (n >= 0 ? n : -n); abs_s = (s >= 0 ? s : -s); pow5_ptr = (mp_limb_t *) malloc (((int)(abs_n * (2.322f / GMP_LIMB_BITS)) + 1 + abs_s / GMP_LIMB_BITS + 1) * sizeof (mp_limb_t)); if (pow5_ptr == NULL) { free (memory); return NULL; } /* Initialize with 1. */ pow5_ptr[0] = 1; pow5_len = 1; /* Multiply with 5^|n|. */ if (abs_n > 0) { static mp_limb_t const small_pow5[13 + 1] = { 1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125 }; unsigned int n13; for (n13 = 0; n13 <= abs_n; n13 += 13) { mp_limb_t digit1 = small_pow5[n13 + 13 <= abs_n ? 13 : abs_n - n13]; size_t j; mp_twolimb_t carry = 0; for (j = 0; j < pow5_len; j++) { mp_limb_t digit2 = pow5_ptr[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; pow5_ptr[j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } if (carry > 0) pow5_ptr[pow5_len++] = (mp_limb_t) carry; } } s_limbs = abs_s / GMP_LIMB_BITS; s_bits = abs_s % GMP_LIMB_BITS; if (n >= 0 ? s >= 0 : s <= 0) { /* Multiply with 2^|s|. */ if (s_bits > 0) { mp_limb_t *ptr = pow5_ptr; mp_twolimb_t accu = 0; size_t count; for (count = pow5_len; count > 0; count--) { accu += (mp_twolimb_t) *ptr << s_bits; *ptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) { *ptr = (mp_limb_t) accu; pow5_len++; } } if (s_limbs > 0) { size_t count; for (count = pow5_len; count > 0;) { count--; pow5_ptr[s_limbs + count] = pow5_ptr[count]; } for (count = s_limbs; count > 0;) { count--; pow5_ptr[count] = 0; } pow5_len += s_limbs; } pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* Multiply m with pow5. No division needed. */ z_memory = multiply (m, pow5, &z); } else { /* Divide m by pow5 and round. */ z_memory = divide (m, pow5, &z); } } else { pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* n >= 0, s < 0. Multiply m with pow5, then divide by 2^|s|. */ mpn_t numerator; mpn_t denominator; void *tmp_memory; tmp_memory = multiply (m, pow5, &numerator); if (tmp_memory == NULL) { free (pow5_ptr); free (memory); return NULL; } /* Construct 2^|s|. */ { mp_limb_t *ptr = pow5_ptr + pow5_len; size_t i; for (i = 0; i < s_limbs; i++) ptr[i] = 0; ptr[s_limbs] = (mp_limb_t) 1 << s_bits; denominator.limbs = ptr; denominator.nlimbs = s_limbs + 1; } z_memory = divide (numerator, denominator, &z); free (tmp_memory); } else { /* n < 0, s > 0. Multiply m with 2^s, then divide by pow5. */ mpn_t numerator; mp_limb_t *num_ptr; num_ptr = (mp_limb_t *) malloc ((m.nlimbs + s_limbs + 1) * sizeof (mp_limb_t)); if (num_ptr == NULL) { free (pow5_ptr); free (memory); return NULL; } { mp_limb_t *destptr = num_ptr; { size_t i; for (i = 0; i < s_limbs; i++) *destptr++ = 0; } if (s_bits > 0) { const mp_limb_t *sourceptr = m.limbs; mp_twolimb_t accu = 0; size_t count; for (count = m.nlimbs; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s_bits; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) *destptr++ = (mp_limb_t) accu; } else { const mp_limb_t *sourceptr = m.limbs; size_t count; for (count = m.nlimbs; count > 0; count--) *destptr++ = *sourceptr++; } numerator.limbs = num_ptr; numerator.nlimbs = destptr - num_ptr; } z_memory = divide (numerator, pow5, &z); free (num_ptr); } } free (pow5_ptr); free (memory); /* Here y = round (x * 10^n) = z * 10^extra_zeroes. */ if (z_memory == NULL) return NULL; digits = convert_to_decimal (z, extra_zeroes); free (z_memory); return digits; } # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_long_double (long double x, int n) { int e IF_LINT(= 0); mpn_t m; void *memory = decode_long_double (x, &e, &m); return scale10_round_decimal_decoded (e, m, memory, n); } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_double (double x, int n) { int e IF_LINT(= 0); mpn_t m; void *memory = decode_double (x, &e, &m); return scale10_round_decimal_decoded (e, m, memory, n); } # endif # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10l (long double x) { int exp; long double y; double z; double l; /* Split into exponential part and mantissa. */ y = frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); if (y == 0.0L) return INT_MIN; if (y < 0.5L) { while (y < (1.0L / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0L * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0L / (1 << 16))) { y *= 1.0L * (1 << 16); exp -= 16; } if (y < (1.0L / (1 << 8))) { y *= 1.0L * (1 << 8); exp -= 8; } if (y < (1.0L / (1 << 4))) { y *= 1.0L * (1 << 4); exp -= 4; } if (y < (1.0L / (1 << 2))) { y *= 1.0L * (1 << 2); exp -= 2; } if (y < (1.0L / (1 << 1))) { y *= 1.0L * (1 << 1); exp -= 1; } } if (!(y >= 0.5L && y < 1.0L)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) Four terms are enough to get an approximation with error < 10^-7. */ l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10 (double x) { int exp; double y; double z; double l; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); if (y == 0.0) return INT_MIN; if (y < 0.5) { while (y < (1.0 / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0 * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0 / (1 << 16))) { y *= 1.0 * (1 << 16); exp -= 16; } if (y < (1.0 / (1 << 8))) { y *= 1.0 * (1 << 8); exp -= 8; } if (y < (1.0 / (1 << 4))) { y *= 1.0 * (1 << 4); exp -= 4; } if (y < (1.0 / (1 << 2))) { y *= 1.0 * (1 << 2); exp -= 2; } if (y < (1.0 / (1 << 1))) { y *= 1.0 * (1 << 1); exp -= 1; } } if (!(y >= 0.5 && y < 1.0)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) Four terms are enough to get an approximation with error < 10^-7. */ l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif /* Tests whether a string of digits consists of exactly PRECISION zeroes and a single '1' digit. */ static int is_borderline (const char *digits, size_t precision) { for (; precision > 0; precision--, digits++) if (*digits != '0') return 0; if (*digits != '1') return 0; digits++; return *digits == '\0'; } #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF /* Use a different function name, to make it possible that the 'wchar_t' parametrization and the 'char' parametrization get compiled in the same translation unit. */ # if WIDE_CHAR_VERSION # define MAX_ROOM_NEEDED wmax_room_needed # else # define MAX_ROOM_NEEDED max_room_needed # endif /* Returns the number of TCHAR_T units needed as temporary space for the result of sprintf or SNPRINTF of a single conversion directive. */ static size_t MAX_ROOM_NEEDED (const arguments *ap, size_t arg_index, FCHAR_T conversion, arg_type type, int flags, size_t width, int has_precision, size_t precision, int pad_ourselves) { size_t tmp_length; switch (conversion) { case 'd': case 'i': case 'u': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Multiply by 2, as an estimate for FLAG_GROUP. */ tmp_length = xsum (tmp_length, tmp_length); /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'o': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'x': case 'X': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Add 2, to account for a leading sign or alternate form. */ tmp_length = xsum (tmp_length, 2); break; case 'f': case 'F': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ else tmp_length = (unsigned int) (DBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ tmp_length = xsum (tmp_length, precision); break; case 'e': case 'E': case 'g': case 'G': tmp_length = 12; /* sign, decimal point, exponent etc. */ tmp_length = xsum (tmp_length, precision); break; case 'a': case 'A': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (DBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); break; case 'c': # if HAVE_WINT_T && !WIDE_CHAR_VERSION if (type == TYPE_WIDE_CHAR) tmp_length = MB_CUR_MAX; else # endif tmp_length = 1; break; case 's': # if HAVE_WCHAR_T if (type == TYPE_WIDE_STRING) { # if WIDE_CHAR_VERSION /* ISO C says about %ls in fwprintf: "If the precision is not specified or is greater than the size of the array, the array shall contain a null wide character." So if there is a precision, we must not use wcslen. */ const wchar_t *arg = ap->arg[arg_index].a.a_wide_string; if (has_precision) tmp_length = local_wcsnlen (arg, precision); else tmp_length = local_wcslen (arg); # else /* ISO C says about %ls in fprintf: "If a precision is specified, no more than that many bytes are written (including shift sequences, if any), and the array shall contain a null wide character if, to equal the multibyte character sequence length given by the precision, the function would need to access a wide character one past the end of the array." So if there is a precision, we must not use wcslen. */ /* This case has already been handled separately in VASNPRINTF. */ abort (); # endif } else # endif { # if WIDE_CHAR_VERSION /* ISO C says about %s in fwprintf: "If the precision is not specified or is greater than the size of the converted array, the converted array shall contain a null wide character." So if there is a precision, we must not use strlen. */ /* This case has already been handled separately in VASNPRINTF. */ abort (); # else /* ISO C says about %s in fprintf: "If the precision is not specified or greater than the size of the array, the array shall contain a null character." So if there is a precision, we must not use strlen. */ const char *arg = ap->arg[arg_index].a.a_string; if (has_precision) tmp_length = local_strnlen (arg, precision); else tmp_length = strlen (arg); # endif } break; case 'p': tmp_length = (unsigned int) (sizeof (void *) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1 /* turn floor into ceil */ + 2; /* account for leading 0x */ break; default: abort (); } if (!pad_ourselves) { # if ENABLE_UNISTDIO /* Padding considers the number of characters, therefore the number of elements after padding may be > max (tmp_length, width) but is certainly <= tmp_length + width. */ tmp_length = xsum (tmp_length, width); # else /* Padding considers the number of elements, says POSIX. */ if (tmp_length < width) tmp_length = width; # endif } tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ return tmp_length; } #endif DCHAR_T * VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, const FCHAR_T *format, va_list args) { DIRECTIVES d; arguments a; if (PRINTF_PARSE (format, &d, &a) < 0) /* errno is already set. */ return NULL; #define CLEANUP() \ if (d.dir != d.direct_alloc_dir) \ free (d.dir); \ if (a.arg != a.direct_alloc_arg) \ free (a.arg); if (PRINTF_FETCHARGS (args, &a) < 0) { CLEANUP (); errno = EINVAL; return NULL; } { size_t buf_neededlength; TCHAR_T *buf; TCHAR_T *buf_malloced; const FCHAR_T *cp; size_t i; DIRECTIVE *dp; /* Output string accumulator. */ DCHAR_T *result; size_t allocated; size_t length; /* Allocate a small buffer that will hold a directive passed to sprintf or snprintf. */ buf_neededlength = xsum4 (7, d.max_width_length, d.max_precision_length, 6); #if HAVE_ALLOCA if (buf_neededlength < 4000 / sizeof (TCHAR_T)) { buf = (TCHAR_T *) alloca (buf_neededlength * sizeof (TCHAR_T)); buf_malloced = NULL; } else #endif { size_t buf_memsize = xtimes (buf_neededlength, sizeof (TCHAR_T)); if (size_overflow_p (buf_memsize)) goto out_of_memory_1; buf = (TCHAR_T *) malloc (buf_memsize); if (buf == NULL) goto out_of_memory_1; buf_malloced = buf; } if (resultbuf != NULL) { result = resultbuf; allocated = *lengthp; } else { result = NULL; allocated = 0; } length = 0; /* Invariants: result is either == resultbuf or == NULL or malloc-allocated. If length > 0, then result != NULL. */ /* Ensures that allocated >= needed. Aborts through a jump to out_of_memory if needed is SIZE_MAX or otherwise too big. */ #define ENSURE_ALLOCATION(needed) \ if ((needed) > allocated) \ { \ size_t memory_size; \ DCHAR_T *memory; \ \ allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ if ((needed) > allocated) \ allocated = (needed); \ memory_size = xtimes (allocated, sizeof (DCHAR_T)); \ if (size_overflow_p (memory_size)) \ goto out_of_memory; \ if (result == resultbuf || result == NULL) \ memory = (DCHAR_T *) malloc (memory_size); \ else \ memory = (DCHAR_T *) realloc (result, memory_size); \ if (memory == NULL) \ goto out_of_memory; \ if (result == resultbuf && length > 0) \ DCHAR_CPY (memory, result, length); \ result = memory; \ } for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) { if (cp != dp->dir_start) { size_t n = dp->dir_start - cp; size_t augmented_length = xsum (length, n); ENSURE_ALLOCATION (augmented_length); /* This copies a piece of FCHAR_T[] into a DCHAR_T[]. Here we need that the format string contains only ASCII characters if FCHAR_T and DCHAR_T are not the same type. */ if (sizeof (FCHAR_T) == sizeof (DCHAR_T)) { DCHAR_CPY (result + length, (const DCHAR_T *) cp, n); length = augmented_length; } else { do result[length++] = *cp++; while (--n > 0); } } if (i == d.count) break; /* Execute a single directive. */ if (dp->conversion == '%') { size_t augmented_length; if (!(dp->arg_index == ARG_NONE)) abort (); augmented_length = xsum (length, 1); ENSURE_ALLOCATION (augmented_length); result[length] = '%'; length = augmented_length; } else { if (!(dp->arg_index != ARG_NONE)) abort (); if (dp->conversion == 'n') { switch (a.arg[dp->arg_index].type) { case TYPE_COUNT_SCHAR_POINTER: *a.arg[dp->arg_index].a.a_count_schar_pointer = length; break; case TYPE_COUNT_SHORT_POINTER: *a.arg[dp->arg_index].a.a_count_short_pointer = length; break; case TYPE_COUNT_INT_POINTER: *a.arg[dp->arg_index].a.a_count_int_pointer = length; break; case TYPE_COUNT_LONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longint_pointer = length; break; #if HAVE_LONG_LONG_INT case TYPE_COUNT_LONGLONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; break; #endif default: abort (); } } #if ENABLE_UNISTDIO /* The unistdio extensions. */ else if (dp->conversion == 'U') { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } switch (type) { case TYPE_U8_STRING: { const uint8_t *arg = a.arg[dp->arg_index].a.a_u8_string; const uint8_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u8_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT8_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-8 to locale encoding. */ converted = u8_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-8 to UTF-16/UTF-32. */ converted = U8_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U16_STRING: { const uint16_t *arg = a.arg[dp->arg_index].a.a_u16_string; const uint16_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u16_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT16_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-16 to locale encoding. */ converted = u16_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-16 to UTF-8/UTF-32. */ converted = U16_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U32_STRING: { const uint32_t *arg = a.arg[dp->arg_index].a.a_u32_string; const uint32_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u32_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT32_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-32 to locale encoding. */ converted = u32_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-32 to UTF-8/UTF-16. */ converted = U32_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; default: abort (); } } #endif #if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (NEED_PRINTF_DIRECTIVE_LS && !defined IN_LIBINTL)) && HAVE_WCHAR_T else if (dp->conversion == 's' # if WIDE_CHAR_VERSION && a.arg[dp->arg_index].type != TYPE_WIDE_STRING # else && a.arg[dp->arg_index].type == TYPE_WIDE_STRING # endif ) { /* The normal handling of the 's' directive below requires allocating a temporary buffer. The determination of its length (tmp_length), in the case when a precision is specified, below requires a conversion between a char[] string and a wchar_t[] wide string. It could be done, but we have no guarantee that the implementation of sprintf will use the exactly same algorithm. Without this guarantee, it is possible to have buffer overrun bugs. In order to avoid such bugs, we implement the entire processing of the 's' directive ourselves. */ int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } # if WIDE_CHAR_VERSION /* %s in vasnwprintf. See the specification of fwprintf. */ { const char *arg = a.arg[dp->arg_index].a.a_string; const char *arg_end; size_t characters; if (has_precision) { /* Use only as many bytes as needed to produce PRECISION wide characters, from the left. */ # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count; # if HAVE_MBRTOWC count = mbrlen (arg_end, MB_CUR_MAX, &state); # else count = mblen (arg_end, MB_CUR_MAX); # endif if (count == 0) /* Found the terminating NUL. */ break; if (count < 0) { /* Invalid or incomplete multibyte character. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of wide characters. */ # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; for (;;) { int count; # if HAVE_MBRTOWC count = mbrlen (arg_end, MB_CUR_MAX, &state); # else count = mblen (arg_end, MB_CUR_MAX); # endif if (count == 0) /* Found the terminating NUL. */ break; if (count < 0) { /* Invalid or incomplete multibyte character. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } if (has_precision || has_width) { /* We know the number of wide characters in advance. */ size_t remaining; # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif ENSURE_ALLOCATION (xsum (length, characters)); for (remaining = characters; remaining > 0; remaining--) { wchar_t wc; int count; # if HAVE_MBRTOWC count = mbrtowc (&wc, arg, arg_end - arg, &state); # else count = mbtowc (&wc, arg, arg_end - arg); # endif if (count <= 0) /* mbrtowc not consistent with mbrlen, or mbtowc not consistent with mblen. */ abort (); result[length++] = wc; arg += count; } if (!(arg == arg_end)) abort (); } else { # if HAVE_MBRTOWC mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif while (arg < arg_end) { wchar_t wc; int count; # if HAVE_MBRTOWC count = mbrtowc (&wc, arg, arg_end - arg, &state); # else count = mbtowc (&wc, arg, arg_end - arg); # endif if (count <= 0) /* mbrtowc not consistent with mbrlen, or mbtowc not consistent with mblen. */ abort (); ENSURE_ALLOCATION (xsum (length, 1)); result[length++] = wc; arg += count; } } if (characters < width && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } # else /* %ls in vasnprintf. See the specification of fprintf. */ { const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; const wchar_t *arg_end; size_t characters; # if !DCHAR_IS_TCHAR /* This code assumes that TCHAR_T is 'char'. */ verify (sizeof (TCHAR_T) == 1); TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t tmpdst_len; # endif size_t w; if (has_precision) { /* Use only as many wide characters as needed to produce at most PRECISION bytes, from the left. */ # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; while (precision > 0) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg_end == 0) /* Found the terminating null wide character. */ break; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg_end, &state); # else count = wctomb (cbuf, *arg_end); # endif if (count < 0) { /* Cannot convert. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } if (precision < (unsigned int) count) break; arg_end++; characters += count; precision -= count; } } # if DCHAR_IS_TCHAR else if (has_width) # else else # endif { /* Use the entire string, and count the number of bytes. */ # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif arg_end = arg; characters = 0; for (;;) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg_end == 0) /* Found the terminating null wide character. */ break; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg_end, &state); # else count = wctomb (cbuf, *arg_end); # endif if (count < 0) { /* Cannot convert. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end++; characters += count; } } # if DCHAR_IS_TCHAR else { /* Use the entire string. */ arg_end = arg + local_wcslen (arg); /* The number of bytes doesn't matter. */ characters = 0; } # endif # if !DCHAR_IS_TCHAR /* Convert the string into a piece of temporary memory. */ tmpsrc = (TCHAR_T *) malloc (characters * sizeof (TCHAR_T)); if (tmpsrc == NULL) goto out_of_memory; { TCHAR_T *tmpptr = tmpsrc; size_t remaining; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif for (remaining = characters; remaining > 0; ) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg, &state); # else count = wctomb (cbuf, *arg); # endif if (count <= 0) /* Inconsistency. */ abort (); memcpy (tmpptr, cbuf, count); tmpptr += count; arg++; remaining -= count; } if (!(arg == arg_end)) abort (); } /* Convert from TCHAR_T[] to DCHAR_T[]. */ tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, characters, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) { int saved_errno = errno; free (tmpsrc); if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } free (tmpsrc); # endif if (has_width) { # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ w = DCHAR_MBSNLEN (result + length, characters); # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = characters; # endif } else /* w doesn't matter. */ w = 0; if (w < width && !(dp->flags & FLAG_LEFT)) { size_t n = width - w; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_TCHAR if (has_precision || has_width) { /* We know the number of bytes in advance. */ size_t remaining; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif ENSURE_ALLOCATION (xsum (length, characters)); for (remaining = characters; remaining > 0; ) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg, &state); # else count = wctomb (cbuf, *arg); # endif if (count <= 0) /* Inconsistency. */ abort (); memcpy (result + length, cbuf, count); length += count; arg++; remaining -= count; } if (!(arg == arg_end)) abort (); } else { # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); # endif while (arg < arg_end) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t count = wcrtomb (cbuf, *arg, &state); # else count = wctomb (cbuf, *arg); # endif if (count <= 0) { /* Cannot convert. */ if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } ENSURE_ALLOCATION (xsum (length, count)); memcpy (result + length, cbuf, count); length += count; arg++; } } # else ENSURE_ALLOCATION (xsum (length, tmpdst_len)); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); length += tmpdst_len; # endif if (w < width && (dp->flags & FLAG_LEFT)) { size_t n = width - w; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } # endif } #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL else if ((dp->conversion == 'a' || dp->conversion == 'A') # if !(NEED_PRINTF_DIRECTIVE_A || (NEED_PRINTF_LONG_DOUBLE && NEED_PRINTF_DOUBLE)) && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # endif ) # endif ) { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; size_t width; int has_precision; size_t precision; size_t tmp_length; size_t count; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* Allocate a temporary buffer of sufficient size. */ if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) ((LDBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) ((DBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; if (type == TYPE_LONGDOUBLE) { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; long double mantissa; if (arg > 0.0L) mantissa = printf_frexpl (arg, &exponent); else { exponent = 0; mantissa = 0.0L; } if (has_precision && precision < (unsigned int) ((LDBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ long double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5L : tail > 0.5L) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0L; } if (tail != 0.0L) for (q = precision; q > 0; q--) tail *= 0.0625L; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0L || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0L) { mantissa *= 16.0L; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } END_LONG_DOUBLE_ROUNDING (); } # else abort (); # endif } else { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE double arg = a.arg[dp->arg_index].a.a_double; if (isnand (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; double mantissa; if (arg > 0.0) mantissa = printf_frexp (arg, &exponent); else { exponent = 0; mantissa = 0.0; } if (has_precision && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5 : tail > 0.5) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0; } if (tail != 0.0) for (q = precision; q > 0; q--) tail *= 0.0625; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0 || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0) { mantissa *= 16.0; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } } # else abort (); # endif } /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ count = p - tmp; if (count < width) { size_t pad = width - count; DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION (n); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } #endif #if (NEED_PRINTF_INFINITE_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL else if ((dp->conversion == 'f' || dp->conversion == 'F' || dp->conversion == 'e' || dp->conversion == 'E' || dp->conversion == 'g' || dp->conversion == 'G' || dp->conversion == 'a' || dp->conversion == 'A') && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # elif NEED_PRINTF_INFINITE_DOUBLE || (a.arg[dp->arg_index].type == TYPE_DOUBLE /* The systems (mingw) which produce wrong output for Inf, -Inf, and NaN also do so for -0.0. Therefore we treat this case here as well. */ && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double)) # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # elif NEED_PRINTF_INFINITE_LONG_DOUBLE || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE /* Some systems produce wrong output for Inf, -Inf, and NaN. Some systems in this category (IRIX 5.3) also do so for -0.0. Therefore we treat this case here as well. */ && is_infinite_or_zerol (a.arg[dp->arg_index].a.a_longdouble)) # endif )) { # if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) arg_type type = a.arg[dp->arg_index].type; # endif int flags = dp->flags; size_t width; size_t count; int has_precision; size_t precision; size_t tmp_length; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* POSIX specifies the default precision to be 6 for %f, %F, %e, %E, but not for %g, %G. Implementations appear to use the same default precision also for %g, %G. But for %a, %A, the default precision is 0. */ if (!has_precision) if (!(dp->conversion == 'a' || dp->conversion == 'A')) precision = 6; /* Allocate a temporary buffer of sufficient size. */ # if NEED_PRINTF_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); # elif NEED_PRINTF_INFINITE_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : 0); # elif NEED_PRINTF_LONG_DOUBLE tmp_length = LDBL_DIG + 1; # elif NEED_PRINTF_DOUBLE tmp_length = DBL_DIG + 1; # else tmp_length = 0; # endif if (tmp_length < precision) tmp_length = precision; # if NEED_PRINTF_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (!(isnanl (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10l (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif # if NEED_PRINTF_DOUBLE # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE if (type == TYPE_DOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { double arg = a.arg[dp->arg_index].a.a_double; if (!(isnand (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10 (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_LONG_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_long_double (arg, precision); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0L) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0L. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)precision - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ if (is_borderline (digits, precision)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_long_double (arg, (int)precision - exponent + 1); if (digits2 == NULL) { free (digits); END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } if (strlen (digits2) == precision + 1) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0L) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0L. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ if (is_borderline (digits, precision - 1)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_long_double (arg, (int)(precision - 1) - exponent + 1); if (digits2 == NULL) { free (digits); END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } if (strlen (digits2) == precision) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t ecount = exponent + 1; /* Note: count <= precision = ndigits. */ for (; ecount > 0; ecount--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t ecount = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; ecount > 0; ecount--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } free (digits); } } else abort (); # else /* arg is finite. */ if (!(arg == 0.0L)) abort (); pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else if (dp->conversion == 'e' || dp->conversion == 'E') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion; /* 'e' or 'E' */ *p++ = '+'; *p++ = '0'; *p++ = '0'; } else if (dp->conversion == 'g' || dp->conversion == 'G') { *p++ = '0'; if (flags & FLAG_ALT) { size_t ndigits = (precision > 0 ? precision - 1 : 0); *p++ = decimal_point_char (); for (; ndigits > 0; --ndigits) *p++ = '0'; } } else if (dp->conversion == 'a' || dp->conversion == 'A') { *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion - 'A' + 'P'; *p++ = '+'; *p++ = '0'; } else abort (); # endif } END_LONG_DOUBLE_ROUNDING (); } } # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE else # endif # endif # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE { double arg = a.arg[dp->arg_index].a.a_double; if (isnand (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_double (arg, precision); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)precision - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ if (is_borderline (digits, precision)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_double (arg, (int)precision - exponent + 1); if (digits2 == NULL) { free (digits); goto out_of_memory; } if (strlen (digits2) == precision + 1) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ if (is_borderline (digits, precision - 1)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_double (arg, (int)(precision - 1) - exponent + 1); if (digits2 == NULL) { free (digits); goto out_of_memory; } if (strlen (digits2) == precision) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t ecount = exponent + 1; /* Note: ecount <= precision = ndigits. */ for (; ecount > 0; ecount--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t ecount = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; ecount > 0; ecount--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } free (digits); } } else abort (); # else /* arg is finite. */ if (!(arg == 0.0)) abort (); pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else if (dp->conversion == 'e' || dp->conversion == 'E') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion; /* 'e' or 'E' */ *p++ = '+'; /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ *p++ = '0'; # endif *p++ = '0'; *p++ = '0'; } else if (dp->conversion == 'g' || dp->conversion == 'G') { *p++ = '0'; if (flags & FLAG_ALT) { size_t ndigits = (precision > 0 ? precision - 1 : 0); *p++ = decimal_point_char (); for (; ndigits > 0; --ndigits) *p++ = '0'; } } else abort (); # endif } } } # endif /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ count = p - tmp; if (count < width) { size_t pad = width - count; DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION (n); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } #endif else { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int has_width; #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION size_t width; #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_UNBOUNDED_PRECISION int has_precision; size_t precision; #endif #if NEED_PRINTF_UNBOUNDED_PRECISION int prec_ourselves; #else # define prec_ourselves 0 #endif #if NEED_PRINTF_FLAG_LEFTADJUST # define pad_ourselves 1 #elif !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int pad_ourselves; #else # define pad_ourselves 0 #endif TCHAR_T *fbp; unsigned int prefix_count; int prefixes[2] IF_LINT (= { 0 }); int orig_errno; #if !USE_SNPRINTF size_t tmp_length; TCHAR_T tmpbuf[700]; TCHAR_T *tmp; #endif #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_width = 0; #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_width = 1; #endif } #endif #if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_UNBOUNDED_PRECISION has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } #endif /* Decide whether to handle the precision ourselves. */ #if NEED_PRINTF_UNBOUNDED_PRECISION switch (dp->conversion) { case 'd': case 'i': case 'u': case 'o': case 'x': case 'X': case 'p': prec_ourselves = has_precision && (precision > 0); break; default: prec_ourselves = 0; break; } #endif /* Decide whether to perform the padding ourselves. */ #if !NEED_PRINTF_FLAG_LEFTADJUST && (!DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION) switch (dp->conversion) { # if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO /* If we need conversion from TCHAR_T[] to DCHAR_T[], we need to perform the padding after this conversion. Functions with unistdio extensions perform the padding based on character count rather than element count. */ case 'c': case 's': # endif # if NEED_PRINTF_FLAG_ZERO case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': # endif pad_ourselves = 1; break; default: pad_ourselves = prec_ourselves; break; } #endif #if !USE_SNPRINTF /* Allocate a temporary buffer of sufficient size for calling sprintf. */ tmp_length = MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, flags, width, has_precision, precision, pad_ourselves); if (tmp_length <= sizeof (tmpbuf) / sizeof (TCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (TCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (TCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } #endif /* Construct the format string for calling snprintf or sprintf. */ fbp = buf; *fbp++ = '%'; #if NEED_PRINTF_FLAG_GROUPING /* The underlying implementation doesn't support the ' flag. Produce no grouping characters in this case; this is acceptable because the grouping is locale dependent. */ #else if (flags & FLAG_GROUP) *fbp++ = '\''; #endif if (flags & FLAG_LEFT) *fbp++ = '-'; if (flags & FLAG_SHOWSIGN) *fbp++ = '+'; if (flags & FLAG_SPACE) *fbp++ = ' '; if (flags & FLAG_ALT) *fbp++ = '#'; #if __GLIBC__ >= 2 && !defined __UCLIBC__ if (flags & FLAG_LOCALIZED) *fbp++ = 'I'; #endif if (!pad_ourselves) { if (flags & FLAG_ZERO) *fbp++ = '0'; if (dp->width_start != dp->width_end) { size_t n = dp->width_end - dp->width_start; /* The width specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->width_start; do *fbp++ = *mp++; while (--n > 0); } } } if (!prec_ourselves) { if (dp->precision_start != dp->precision_end) { size_t n = dp->precision_end - dp->precision_start; /* The precision specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->precision_start; do *fbp++ = *mp++; while (--n > 0); } } } switch (type) { #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: case TYPE_ULONGLONGINT: # if defined _WIN32 && ! defined __CYGWIN__ *fbp++ = 'I'; *fbp++ = '6'; *fbp++ = '4'; break; # else *fbp++ = 'l'; # endif #endif FALLTHROUGH; case TYPE_LONGINT: case TYPE_ULONGINT: #if HAVE_WINT_T case TYPE_WIDE_CHAR: #endif #if HAVE_WCHAR_T case TYPE_WIDE_STRING: #endif *fbp++ = 'l'; break; case TYPE_LONGDOUBLE: *fbp++ = 'L'; break; default: break; } #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') *fbp = 'f'; else #endif *fbp = dp->conversion; #if USE_SNPRINTF # if ! (((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \ && !defined __UCLIBC__) \ || (defined __APPLE__ && defined __MACH__) \ || defined __ANDROID__ \ || (defined _WIN32 && ! defined __CYGWIN__)) fbp[1] = '%'; fbp[2] = 'n'; fbp[3] = '\0'; # else /* On glibc2 systems from glibc >= 2.3 - probably also older ones - we know that snprintf's return value conforms to ISO C 99: the tests gl_SNPRINTF_RETVAL_C99 and gl_SNPRINTF_TRUNCATION_C99 pass. Therefore we can avoid using %n in this situation. On glibc2 systems from 2004-10-18 or newer, the use of %n in format strings in writable memory may crash the program (if compiled with _FORTIFY_SOURCE=2), so we should avoid it in this situation. */ /* On Mac OS X 10.3 or newer, we know that snprintf's return value conforms to ISO C 99: the tests gl_SNPRINTF_RETVAL_C99 and gl_SNPRINTF_TRUNCATION_C99 pass. Therefore we can avoid using %n in this situation. On Mac OS X 10.13 or newer, the use of %n in format strings in writable memory by default crashes the program, so we should avoid it in this situation. */ /* On Android, we know that snprintf's return value conforms to ISO C 99: the tests gl_SNPRINTF_RETVAL_C99 and gl_SNPRINTF_TRUNCATION_C99 pass. Therefore we can avoid using %n in this situation. Starting on 2018-03-07, the use of %n in format strings produces a fatal error (see ), so we should avoid it. */ /* On native Windows systems (such as mingw), we can avoid using %n because: - Although the gl_SNPRINTF_TRUNCATION_C99 test fails, snprintf does not write more than the specified number of bytes. (snprintf (buf, 3, "%d %d", 4567, 89) writes '4', '5', '6' into buf, not '4', '5', '\0'.) - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf allows us to recognize the case of an insufficient buffer size: it returns -1 in this case. On native Windows systems (such as mingw) where the OS is Windows Vista, the use of %n in format strings by default crashes the program. See and So we should avoid %n in this situation. */ fbp[1] = '\0'; # endif #else fbp[1] = '\0'; #endif /* Construct the arguments for calling snprintf or sprintf. */ prefix_count = 0; if (!pad_ourselves && dp->width_arg_index != ARG_NONE) { if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; } if (!prec_ourselves && dp->precision_arg_index != ARG_NONE) { if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; } #if USE_SNPRINTF /* The SNPRINTF result is appended after result[0..length]. The latter is an array of DCHAR_T; SNPRINTF appends an array of TCHAR_T to it. This is possible because sizeof (TCHAR_T) divides sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). */ # define TCHARS_PER_DCHAR (sizeof (DCHAR_T) / sizeof (TCHAR_T)) /* Ensure that maxlen below will be >= 2. Needed on BeOS, where an snprintf() with maxlen==1 acts like sprintf(). */ ENSURE_ALLOCATION (xsum (length, (2 + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR)); /* Prepare checking whether snprintf returns the count via %n. */ *(TCHAR_T *) (result + length) = '\0'; #endif orig_errno = errno; for (;;) { int count = -1; #if USE_SNPRINTF int retcount = 0; size_t maxlen = allocated - length; /* SNPRINTF can fail if its second argument is > INT_MAX. */ if (maxlen > INT_MAX / TCHARS_PER_DCHAR) maxlen = INT_MAX / TCHARS_PER_DCHAR; maxlen = maxlen * TCHARS_PER_DCHAR; # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ arg, &count); \ break; \ case 1: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], arg, &count); \ break; \ case 2: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], prefixes[1], arg, \ &count); \ break; \ default: \ abort (); \ } #else # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ count = sprintf (tmp, buf, arg); \ break; \ case 1: \ count = sprintf (tmp, buf, prefixes[0], arg); \ break; \ case 2: \ count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ arg); \ break; \ default: \ abort (); \ } #endif errno = 0; switch (type) { case TYPE_SCHAR: { int arg = a.arg[dp->arg_index].a.a_schar; SNPRINTF_BUF (arg); } break; case TYPE_UCHAR: { unsigned int arg = a.arg[dp->arg_index].a.a_uchar; SNPRINTF_BUF (arg); } break; case TYPE_SHORT: { int arg = a.arg[dp->arg_index].a.a_short; SNPRINTF_BUF (arg); } break; case TYPE_USHORT: { unsigned int arg = a.arg[dp->arg_index].a.a_ushort; SNPRINTF_BUF (arg); } break; case TYPE_INT: { int arg = a.arg[dp->arg_index].a.a_int; SNPRINTF_BUF (arg); } break; case TYPE_UINT: { unsigned int arg = a.arg[dp->arg_index].a.a_uint; SNPRINTF_BUF (arg); } break; case TYPE_LONGINT: { long int arg = a.arg[dp->arg_index].a.a_longint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGINT: { unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; SNPRINTF_BUF (arg); } break; #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: { long long int arg = a.arg[dp->arg_index].a.a_longlongint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGLONGINT: { unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; SNPRINTF_BUF (arg); } break; #endif case TYPE_DOUBLE: { double arg = a.arg[dp->arg_index].a.a_double; SNPRINTF_BUF (arg); } break; case TYPE_LONGDOUBLE: { long double arg = a.arg[dp->arg_index].a.a_longdouble; SNPRINTF_BUF (arg); } break; case TYPE_CHAR: { int arg = a.arg[dp->arg_index].a.a_char; SNPRINTF_BUF (arg); } break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: { wint_t arg = a.arg[dp->arg_index].a.a_wide_char; SNPRINTF_BUF (arg); } break; #endif case TYPE_STRING: { const char *arg = a.arg[dp->arg_index].a.a_string; SNPRINTF_BUF (arg); } break; #if HAVE_WCHAR_T case TYPE_WIDE_STRING: { const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; SNPRINTF_BUF (arg); } break; #endif case TYPE_POINTER: { void *arg = a.arg[dp->arg_index].a.a_pointer; SNPRINTF_BUF (arg); } break; default: abort (); } #if USE_SNPRINTF /* Portability: Not all implementations of snprintf() are ISO C 99 compliant. Determine the number of bytes that snprintf() has produced or would have produced. */ if (count >= 0) { /* Verify that snprintf() has NUL-terminated its result. */ if ((unsigned int) count < maxlen && ((TCHAR_T *) (result + length)) [count] != '\0') abort (); /* Portability hack. */ if (retcount > count) count = retcount; } else { /* snprintf() doesn't understand the '%n' directive. */ if (fbp[1] != '\0') { /* Don't use the '%n' directive; instead, look at the snprintf() return value. */ fbp[1] = '\0'; continue; } else { /* Look at the snprintf() return value. */ if (retcount < 0) { # if !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF /* HP-UX 10.20 snprintf() is doubly deficient: It doesn't understand the '%n' directive, *and* it returns -1 (rather than the length that would have been required) when the buffer is too small. But a failure at this point can also come from other reasons than a too small buffer, such as an invalid wide string argument to the %ls directive, or possibly an invalid floating-point argument. */ size_t tmp_length = MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, flags, width, has_precision, precision, pad_ourselves); if (maxlen < tmp_length) { /* Make more room. But try to do through this reallocation only once. */ size_t bigger_need = xsum (length, xsum (tmp_length, TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR); /* And always grow proportionally. (There may be several arguments, each needing a little more room than the previous one.) */ size_t bigger_need2 = xsum (xtimes (allocated, 2), 12); if (bigger_need < bigger_need2) bigger_need = bigger_need2; ENSURE_ALLOCATION (bigger_need); continue; } # endif } else count = retcount; } } #endif /* Attempt to handle failure. */ if (count < 0) { /* SNPRINTF or sprintf failed. Save and use the errno that it has set, if any. */ int saved_errno = errno; if (saved_errno == 0) { if (dp->conversion == 'c' || dp->conversion == 's') saved_errno = EILSEQ; else saved_errno = EINVAL; } if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } #if USE_SNPRINTF /* Handle overflow of the allocated buffer. If such an overflow occurs, a C99 compliant snprintf() returns a count >= maxlen. However, a non-compliant snprintf() function returns only count = maxlen - 1. To cover both cases, test whether count >= maxlen - 1. */ if ((unsigned int) count + 1 >= maxlen) { /* If maxlen already has attained its allowed maximum, allocating more memory will not increase maxlen. Instead of looping, bail out. */ if (maxlen == INT_MAX / TCHARS_PER_DCHAR) goto overflow; else { /* Need at least (count + 1) * sizeof (TCHAR_T) bytes. (The +1 is for the trailing NUL.) But ask for (count + 2) * sizeof (TCHAR_T) bytes, so that in the next round, we likely get maxlen > (unsigned int) count + 1 and so we don't get here again. And allocate proportionally, to avoid looping eternally if snprintf() reports a too small count. */ size_t n = xmax (xsum (length, ((unsigned int) count + 2 + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); continue; } } #endif #if NEED_PRINTF_UNBOUNDED_PRECISION if (prec_ourselves) { /* Handle the precision. */ TCHAR_T *prec_ptr = # if USE_SNPRINTF (TCHAR_T *) (result + length); # else tmp; # endif size_t prefix_count; size_t move; prefix_count = 0; /* Put the additional zeroes after the sign. */ if (count >= 1 && (*prec_ptr == '-' || *prec_ptr == '+' || *prec_ptr == ' ')) prefix_count = 1; /* Put the additional zeroes after the 0x prefix if (flags & FLAG_ALT) || (dp->conversion == 'p'). */ else if (count >= 2 && prec_ptr[0] == '0' && (prec_ptr[1] == 'x' || prec_ptr[1] == 'X')) prefix_count = 2; move = count - prefix_count; if (precision > move) { /* Insert zeroes. */ size_t insert = precision - move; TCHAR_T *prec_end; # if USE_SNPRINTF size_t n = xsum (length, (count + insert + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR); length += (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; ENSURE_ALLOCATION (n); length -= (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; prec_ptr = (TCHAR_T *) (result + length); # endif prec_end = prec_ptr + count; prec_ptr += prefix_count; while (prec_end > prec_ptr) { prec_end--; prec_end[insert] = prec_end[0]; } prec_end += insert; do *--prec_end = '0'; while (prec_end > prec_ptr); count += insert; } } #endif #if !USE_SNPRINTF if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); #endif #if !DCHAR_IS_TCHAR /* Convert from TCHAR_T[] to DCHAR_T[]. */ if (dp->conversion == 'c' || dp->conversion == 's') { /* type = TYPE_CHAR or TYPE_WIDE_CHAR or TYPE_STRING TYPE_WIDE_STRING. The result string is not certainly ASCII. */ const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t tmpdst_len; /* This code assumes that TCHAR_T is 'char'. */ verify (sizeof (TCHAR_T) == 1); # if USE_SNPRINTF tmpsrc = (TCHAR_T *) (result + length); # else tmpsrc = tmp; # endif tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, count, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } ENSURE_ALLOCATION (xsum (length, tmpdst_len)); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); count = tmpdst_len; } else { /* The result string is ASCII. Simple 1:1 conversion. */ # if USE_SNPRINTF /* If sizeof (DCHAR_T) == sizeof (TCHAR_T), it's a no-op conversion, in-place on the array starting at (result + length). */ if (sizeof (DCHAR_T) != sizeof (TCHAR_T)) # endif { const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t n; # if USE_SNPRINTF if (result == resultbuf) { tmpsrc = (TCHAR_T *) (result + length); /* ENSURE_ALLOCATION will not move tmpsrc (because it's part of resultbuf). */ ENSURE_ALLOCATION (xsum (length, count)); } else { /* ENSURE_ALLOCATION will move the array (because it uses realloc(). */ ENSURE_ALLOCATION (xsum (length, count)); tmpsrc = (TCHAR_T *) (result + length); } # else tmpsrc = tmp; ENSURE_ALLOCATION (xsum (length, count)); # endif tmpdst = result + length; /* Copy backwards, because of overlapping. */ tmpsrc += count; tmpdst += count; for (n = count; n > 0; n--) *--tmpdst = *--tmpsrc; } } #endif #if DCHAR_IS_TCHAR && !USE_SNPRINTF /* Make room for the result. */ if (count > allocated - length) { /* Need at least count elements. But allocate proportionally. */ size_t n = xmax (xsum (length, count), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); } #endif /* Here count <= allocated - length. */ /* Perform padding. */ #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION if (pad_ourselves && has_width) { size_t w; # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ w = DCHAR_MBSNLEN (result + length, count); # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = count; # endif if (w < width) { size_t pad = width - w; /* Make room for the result. */ if (xsum (count, pad) > allocated - length) { /* Need at least count + pad elements. But allocate proportionally. */ size_t n = xmax (xsum3 (length, count, pad), xtimes (allocated, 2)); # if USE_SNPRINTF length += count; ENSURE_ALLOCATION (n); length -= count; # else ENSURE_ALLOCATION (n); # endif } /* Here count + pad <= allocated - length. */ { # if !DCHAR_IS_TCHAR || USE_SNPRINTF DCHAR_T * const rp = result + length; # else DCHAR_T * const rp = tmp; # endif DCHAR_T *p = rp + count; DCHAR_T *end = p + pad; DCHAR_T *pad_ptr; # if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO if (dp->conversion == 'c' || dp->conversion == 's') /* No zero-padding for string directives. */ pad_ptr = NULL; else # endif { pad_ptr = (*rp == '-' ? rp + 1 : rp); /* No zero-padding of "inf" and "nan". */ if ((*pad_ptr >= 'A' && *pad_ptr <= 'Z') || (*pad_ptr >= 'a' && *pad_ptr <= 'z')) pad_ptr = NULL; } /* The generated string now extends from rp to p, with the zero padding insertion point being at pad_ptr. */ count = count + pad; /* = end - rp */ if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > rp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } } } } #endif /* Here still count <= allocated - length. */ #if !DCHAR_IS_TCHAR || USE_SNPRINTF /* The snprintf() result did fit. */ #else /* Append the sprintf() result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); #endif #if !USE_SNPRINTF if (tmp != tmpbuf) free (tmp); #endif #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') { /* Convert the %f result to upper case for %F. */ DCHAR_T *rp = result + length; size_t rc; for (rc = count; rc > 0; rc--, rp++) if (*rp >= 'a' && *rp <= 'z') *rp = *rp - 'a' + 'A'; } #endif length += count; break; } errno = orig_errno; #undef pad_ourselves #undef prec_ourselves } } } /* Add the final NUL. */ ENSURE_ALLOCATION (xsum (length, 1)); result[length] = '\0'; if (result != resultbuf && length + 1 < allocated) { /* Shrink the allocated memory if possible. */ DCHAR_T *memory; memory = (DCHAR_T *) realloc (result, (length + 1) * sizeof (DCHAR_T)); if (memory != NULL) result = memory; } if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); *lengthp = length; /* Note that we can produce a big string of a length > INT_MAX. POSIX says that snprintf() fails with errno = EOVERFLOW in this case, but that's only because snprintf() returns an 'int'. This function does not have this limitation. */ return result; #if USE_SNPRINTF overflow: if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EOVERFLOW; return NULL; #endif out_of_memory: if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); out_of_memory_1: CLEANUP (); errno = ENOMEM; return NULL; } } #undef MAX_ROOM_NEEDED #undef TCHARS_PER_DCHAR #undef SNPRINTF #undef USE_SNPRINTF #undef DCHAR_SET #undef DCHAR_CPY #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef DCHAR_IS_TCHAR #undef TCHAR_T #undef DCHAR_T #undef FCHAR_T #undef VASNPRINTF gsasl-1.8.1/lib/gl/base64.h0000644000000000000000000000427413516251670012143 00000000000000/* base64.h -- Encode binary data using printable characters. Copyright (C) 2004-2006, 2009-2019 Free Software Foundation, Inc. Written by Simon Josefsson. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef BASE64_H # define BASE64_H /* Get size_t. */ # include /* Get bool. */ # include # ifdef __cplusplus extern "C" { # endif /* This uses that the expression (n+(k-1))/k means the smallest integer >= n/k, i.e., the ceiling of n/k. */ # define BASE64_LENGTH(inlen) ((((inlen) + 2) / 3) * 4) struct base64_decode_context { unsigned int i; char buf[4]; }; extern bool isbase64 (char ch) _GL_ATTRIBUTE_CONST; extern void base64_encode (const char *restrict in, size_t inlen, char *restrict out, size_t outlen); extern size_t base64_encode_alloc (const char *in, size_t inlen, char **out); extern void base64_decode_ctx_init (struct base64_decode_context *ctx); extern bool base64_decode_ctx (struct base64_decode_context *ctx, const char *restrict in, size_t inlen, char *restrict out, size_t *outlen); extern bool base64_decode_alloc_ctx (struct base64_decode_context *ctx, const char *in, size_t inlen, char **out, size_t *outlen); #define base64_decode(in, inlen, out, outlen) \ base64_decode_ctx (NULL, in, inlen, out, outlen) #define base64_decode_alloc(in, inlen, out, outlen) \ base64_decode_alloc_ctx (NULL, in, inlen, out, outlen) # ifdef __cplusplus } # endif #endif /* BASE64_H */ gsasl-1.8.1/lib/gl/libc-config.h0000644000000000000000000001170613516251666013236 00000000000000/* System definitions for code taken from the GNU C Library Copyright 2017-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Paul Eggert. */ /* This is intended to be a good-enough substitute for glibc system macros like those defined in , so that Gnulib code shared with glibc can do this as the first #include: #ifndef _LIBC # include #endif When compiled as part of glibc this is a no-op; when compiled as part of Gnulib this includes Gnulib's and defines macros that glibc library code would normally assume. */ #include /* On glibc this includes and and #defines _FEATURES_H, __WORDSIZE, and __set_errno. On FreeBSD 11 it includes which defines __nonnull. Elsewhere it is harmless. */ #include /* From glibc . */ #ifndef __set_errno # define __set_errno(val) (errno = (val)) #endif /* From glibc . */ #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ # define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR__)) # else # define __GNUC_PREREQ(maj, min) 0 # endif #endif #ifndef __glibc_clang_prereq # if defined __clang_major__ && defined __clang_minor__ # define __glibc_clang_prereq(maj, min) \ ((maj) < __clang_major__ + ((min) <= __clang_minor__)) # else # define __glibc_clang_prereq(maj, min) 0 # endif #endif /* Prepare to include , which is our copy of glibc . */ /* Define _FEATURES_H so that does not include . */ #ifndef _FEATURES_H # define _FEATURES_H 1 #endif /* Define __WORDSIZE so that does not attempt to include nonexistent files. Make it a syntax error, since Gnulib does not use __WORDSIZE now, and if Gnulib uses it later the syntax error will let us know that __WORDSIZE needs configuring. */ #ifndef __WORDSIZE # define __WORDSIZE %%% #endif /* Undef the macros unconditionally defined by our copy of glibc , so that they do not clash with any system-defined versions. */ #undef _SYS_CDEFS_H #undef __ASMNAME #undef __ASMNAME2 #undef __BEGIN_DECLS #undef __CONCAT #undef __END_DECLS #undef __HAVE_GENERIC_SELECTION #undef __LDBL_COMPAT #undef __LDBL_REDIR #undef __LDBL_REDIR1 #undef __LDBL_REDIR1_DECL #undef __LDBL_REDIR1_NTH #undef __LDBL_REDIR_DECL #undef __LDBL_REDIR_NTH #undef __LEAF #undef __LEAF_ATTR #undef __NTH #undef __NTHNL #undef __P #undef __PMT #undef __REDIRECT #undef __REDIRECT_LDBL #undef __REDIRECT_NTH #undef __REDIRECT_NTHNL #undef __REDIRECT_NTH_LDBL #undef __STRING #undef __THROW #undef __THROWNL #undef __always_inline #undef __attribute__ #undef __attribute_alloc_size__ #undef __attribute_artificial__ #undef __attribute_const__ #undef __attribute_deprecated__ #undef __attribute_deprecated_msg__ #undef __attribute_format_arg__ #undef __attribute_format_strfmon__ #undef __attribute_malloc__ #undef __attribute_noinline__ #undef __attribute_nonstring__ #undef __attribute_pure__ #undef __attribute_used__ #undef __attribute_warn_unused_result__ #undef __bos #undef __bos0 #undef __errordecl #undef __extension__ #undef __extern_always_inline #undef __extern_inline #undef __flexarr #undef __fortify_function #undef __glibc_c99_flexarr_available #undef __glibc_clang_has_extension #undef __glibc_likely #undef __glibc_macro_warning #undef __glibc_macro_warning1 #undef __glibc_unlikely #undef __inline #undef __ptr_t #undef __restrict #undef __restrict_arr #undef __va_arg_pack #undef __va_arg_pack_len #undef __warnattr #undef __warndecl /* Include our copy of glibc . */ #include /* __inline is too pessimistic for non-GCC. */ #undef __inline #ifndef HAVE___INLINE # if 199901 <= __STDC_VERSION__ || defined inline # define __inline inline # else # define __inline # endif #endif /* A substitute for glibc , good enough for Gnulib. */ #define attribute_hidden #define libc_hidden_proto(name, ...) #define libc_hidden_def(name) #define libc_hidden_weak(name) #define libc_hidden_ver(local, name) #define strong_alias(name, aliasname) #define weak_alias(name, aliasname) /* A substitute for glibc , good enough for Gnulib. */ #define SHLIB_COMPAT(lib, introduced, obsoleted) 0 #define versioned_symbol(lib, local, symbol, version) gsasl-1.8.1/lib/gl/stddef.in.h0000644000000000000000000000751213516251671012734 00000000000000/* A substitute for POSIX 2008 , for platforms that have issues. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Eric Blake. */ /* * POSIX 2008 for platforms that have issues. * */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_wchar_t || defined __need_size_t \ || defined __need_ptrdiff_t || defined __need_NULL \ || defined __need_wint_t /* Special invocation convention inside gcc header files. In particular, gcc provides a version of that blindly redefines NULL even when __need_wint_t was defined, even though wint_t is not normally provided by . Hence, we must remember if special invocation has ever been used to obtain wint_t, in which case we need to clean up NULL yet again. */ # if !(defined _@GUARD_PREFIX@_STDDEF_H && defined _GL_STDDEF_WINT_T) # ifdef __need_wint_t # define _GL_STDDEF_WINT_T # endif # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ # endif #else /* Normal invocation convention. */ # ifndef _@GUARD_PREFIX@_STDDEF_H /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ /* On NetBSD 5.0, the definition of NULL lacks proper parentheses. */ # if (@REPLACE_NULL@ \ && (!defined _@GUARD_PREFIX@_STDDEF_H || defined _GL_STDDEF_WINT_T)) # undef NULL # ifdef __cplusplus /* ISO C++ says that the macro NULL must expand to an integer constant expression, hence '((void *) 0)' is not allowed in C++. */ # if __GNUG__ >= 3 /* GNU C++ has a __null macro that behaves like an integer ('int' or 'long') but has the same size as a pointer. Use that, to avoid warnings. */ # define NULL __null # else # define NULL 0L # endif # else # define NULL ((void *) 0) # endif # endif # ifndef _@GUARD_PREFIX@_STDDEF_H # define _@GUARD_PREFIX@_STDDEF_H /* Some platforms lack wchar_t. */ #if !@HAVE_WCHAR_T@ # define wchar_t int #endif /* Some platforms lack max_align_t. The check for _GCC_MAX_ALIGN_T is a hack in case the configure-time test was done with g++ even though we are currently compiling with gcc. */ #if ! (@HAVE_MAX_ALIGN_T@ || defined _GCC_MAX_ALIGN_T) # if !GNULIB_defined_max_align_t /* On the x86, the maximum storage alignment of double, long, etc. is 4, but GCC's C11 ABI for x86 says that max_align_t has an alignment of 8, and the C11 standard allows this. Work around this problem by using __alignof__ (which returns 8 for double) rather than _Alignof (which returns 4), and align each union member accordingly. */ # ifdef __GNUC__ # define _GL_STDDEF_ALIGNAS(type) \ __attribute__ ((__aligned__ (__alignof__ (type)))) # else # define _GL_STDDEF_ALIGNAS(type) /* */ # endif typedef union { char *__p _GL_STDDEF_ALIGNAS (char *); double __d _GL_STDDEF_ALIGNAS (double); long double __ld _GL_STDDEF_ALIGNAS (long double); long int __i _GL_STDDEF_ALIGNAS (long int); } rpl_max_align_t; # define max_align_t rpl_max_align_t # define GNULIB_defined_max_align_t 1 # endif #endif # endif /* _@GUARD_PREFIX@_STDDEF_H */ # endif /* _@GUARD_PREFIX@_STDDEF_H */ #endif /* __need_XXX */ gsasl-1.8.1/lib/gl/Makefile.am0000644000000000000000000016126213516270120012732 00000000000000## DO NOT EDIT! GENERATED AUTOMATICALLY! ## Process this file with automake to produce Makefile.in. # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # Reproduce by: # gnulib-tool --import --local-dir=gl/override \ # --lib=libgl \ # --source-base=gl \ # --m4-base=m4 \ # --doc-base=doc \ # --tests-base=gltests \ # --aux-dir=build-aux \ # --with-tests \ # --lgpl=2 \ # --no-conditional-dependencies \ # --libtool \ # --macro-prefix=gl \ # --no-vc-files \ # --avoid=vc-list-files-tests \ # base64 \ # c-ctype \ # crypto/gc \ # crypto/gc-hmac-md5 \ # crypto/gc-hmac-sha1 \ # crypto/gc-md5 \ # crypto/gc-pbkdf2-sha1 \ # crypto/gc-random \ # crypto/gc-sha1 \ # getline \ # gettext-h \ # gss-extra \ # lib-msvc-compat \ # lib-symbol-versions \ # lib-symbol-visibility \ # maintainer-makefile \ # memmem \ # memxor \ # minmax \ # strndup \ # strnlen \ # strverscmp \ # valgrind-tests \ # vasprintf AUTOMAKE_OPTIONS = 1.11 gnits SUBDIRS = noinst_HEADERS = noinst_LIBRARIES = noinst_LTLIBRARIES = EXTRA_DIST = BUILT_SOURCES = SUFFIXES = MOSTLYCLEANFILES = core *.stackdump MOSTLYCLEANDIRS = CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = # No GNU Make output. AM_CPPFLAGS = AM_CFLAGS = noinst_LTLIBRARIES += libgl.la libgl_la_SOURCES = libgl_la_LIBADD = $(gl_LTLIBOBJS) libgl_la_DEPENDENCIES = $(gl_LTLIBOBJS) EXTRA_libgl_la_SOURCES = libgl_la_LDFLAGS = $(AM_LDFLAGS) libgl_la_LDFLAGS += -no-undefined libgl_la_LDFLAGS += $(LIB_CRYPTO) libgl_la_LDFLAGS += $(LTLIBINTL) ## begin gnulib module absolute-header # Use this preprocessor expression to decide whether #include_next works. # Do not rely on a 'configure'-time test for this, since the expression # might appear in an installed header, which is used by some other compiler. HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER) ## end gnulib module absolute-header ## begin gnulib module alloca-opt BUILT_SOURCES += $(ALLOCA_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_ALLOCA_H alloca.h: alloca.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \ } > $@-t && \ mv -f $@-t $@ else alloca.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += alloca.h alloca.h-t EXTRA_DIST += alloca.in.h ## end gnulib module alloca-opt ## begin gnulib module base64 libgl_la_SOURCES += base64.h base64.c ## end gnulib module base64 ## begin gnulib module byteswap BUILT_SOURCES += $(BYTESWAP_H) # We need the following in order to create when the system # doesn't have one. if GL_GENERATE_BYTESWAP_H byteswap.h: byteswap.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/byteswap.in.h; \ } > $@-t && \ mv -f $@-t $@ else byteswap.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += byteswap.h byteswap.h-t EXTRA_DIST += byteswap.in.h ## end gnulib module byteswap ## begin gnulib module c-ctype libgl_la_SOURCES += c-ctype.h c-ctype.c ## end gnulib module c-ctype ## begin gnulib module crypto/af_alg libgl_la_SOURCES += af_alg.c EXTRA_DIST += af_alg.h sys-limits.h ## end gnulib module crypto/af_alg ## begin gnulib module crypto/gc if GL_COND_LIBTOOL libgl_la_LDFLAGS += $(LTLIBGCRYPT) endif EXTRA_DIST += gc-gnulib.c gc-libgcrypt.c gc.h EXTRA_libgl_la_SOURCES += gc-gnulib.c gc-libgcrypt.c ## end gnulib module crypto/gc ## begin gnulib module crypto/gc-md5 libgl_la_SOURCES += md5.h ## end gnulib module crypto/gc-md5 ## begin gnulib module crypto/gc-pbkdf2-sha1 libgl_la_SOURCES += gc-pbkdf2-sha1.c ## end gnulib module crypto/gc-pbkdf2-sha1 ## begin gnulib module crypto/hmac-md5 libgl_la_SOURCES += hmac-md5.c EXTRA_DIST += hmac.c hmac.h EXTRA_libgl_la_SOURCES += hmac.c ## end gnulib module crypto/hmac-md5 ## begin gnulib module crypto/hmac-sha1 libgl_la_SOURCES += hmac-sha1.c EXTRA_DIST += hmac.c hmac.h EXTRA_libgl_la_SOURCES += hmac.c ## end gnulib module crypto/hmac-sha1 ## begin gnulib module crypto/md5-buffer libgl_la_SOURCES += md5.c EXTRA_DIST += gl_openssl.h md5.h ## end gnulib module crypto/md5-buffer ## begin gnulib module crypto/sha1-buffer libgl_la_SOURCES += sha1.c EXTRA_DIST += gl_openssl.h sha1.h ## end gnulib module crypto/sha1-buffer ## begin gnulib module errno BUILT_SOURCES += $(ERRNO_H) # We need the following in order to create when the system # doesn't have one that is POSIX compliant. if GL_GENERATE_ERRNO_H errno.h: errno.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ < $(srcdir)/errno.in.h; \ } > $@-t && \ mv $@-t $@ else errno.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += errno.h errno.h-t EXTRA_DIST += errno.in.h ## end gnulib module errno ## begin gnulib module fflush EXTRA_DIST += fflush.c stdio-impl.h EXTRA_libgl_la_SOURCES += fflush.c ## end gnulib module fflush ## begin gnulib module float BUILT_SOURCES += $(FLOAT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_FLOAT_H float.h: float.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ < $(srcdir)/float.in.h; \ } > $@-t && \ mv $@-t $@ else float.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += float.h float.h-t EXTRA_DIST += float.c float.in.h itold.c EXTRA_libgl_la_SOURCES += float.c itold.c ## end gnulib module float ## begin gnulib module fpurge EXTRA_DIST += fpurge.c stdio-impl.h EXTRA_libgl_la_SOURCES += fpurge.c ## end gnulib module fpurge ## begin gnulib module freading libgl_la_SOURCES += freading.c EXTRA_DIST += freading.h stdio-impl.h ## end gnulib module freading ## begin gnulib module fseek EXTRA_DIST += fseek.c EXTRA_libgl_la_SOURCES += fseek.c ## end gnulib module fseek ## begin gnulib module fseeko EXTRA_DIST += fseeko.c stdio-impl.h EXTRA_libgl_la_SOURCES += fseeko.c ## end gnulib module fseeko ## begin gnulib module fstat EXTRA_DIST += fstat.c stat-w32.c stat-w32.h EXTRA_libgl_la_SOURCES += fstat.c stat-w32.c ## end gnulib module fstat ## begin gnulib module ftell EXTRA_DIST += ftell.c EXTRA_libgl_la_SOURCES += ftell.c ## end gnulib module ftell ## begin gnulib module ftello EXTRA_DIST += ftello.c stdio-impl.h EXTRA_libgl_la_SOURCES += ftello.c ## end gnulib module ftello ## begin gnulib module getdelim EXTRA_DIST += getdelim.c EXTRA_libgl_la_SOURCES += getdelim.c ## end gnulib module getdelim ## begin gnulib module getline EXTRA_DIST += getline.c EXTRA_libgl_la_SOURCES += getline.c ## end gnulib module getline ## begin gnulib module gettext-h libgl_la_SOURCES += gettext.h ## end gnulib module gettext-h ## begin gnulib module gnumakefile EXTRA_DIST += $(top_srcdir)/GNUmakefile distclean-local: clean-GNUmakefile clean-GNUmakefile: test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile ## end gnulib module gnumakefile ## begin gnulib module gss-extra EXTRA_DIST += gss-extra.c gss-extra.h EXTRA_libgl_la_SOURCES += gss-extra.c ## end gnulib module gss-extra ## begin gnulib module havelib EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath ## end gnulib module havelib ## begin gnulib module intprops EXTRA_DIST += intprops.h ## end gnulib module intprops ## begin gnulib module lib-symbol-visibility # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the # compilation of all sources that make up the library. This line here does it # only for the gnulib part of it. The developer is responsible for adding # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library. AM_CFLAGS += $(CFLAG_VISIBILITY) ## end gnulib module lib-symbol-visibility ## begin gnulib module libc-config EXTRA_DIST += cdefs.h libc-config.h ## end gnulib module libc-config ## begin gnulib module limits-h BUILT_SOURCES += $(LIMITS_H) # We need the following in order to create when the system # doesn't have one that is compatible with GNU. if GL_GENERATE_LIMITS_H limits.h: limits.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \ < $(srcdir)/limits.in.h; \ } > $@-t && \ mv $@-t $@ else limits.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += limits.h limits.h-t EXTRA_DIST += limits.in.h ## end gnulib module limits-h ## begin gnulib module lseek EXTRA_DIST += lseek.c EXTRA_libgl_la_SOURCES += lseek.c ## end gnulib module lseek ## begin gnulib module maintainer-makefile EXTRA_DIST += $(top_srcdir)/maint.mk ## end gnulib module maintainer-makefile ## begin gnulib module memchr EXTRA_DIST += memchr.c memchr.valgrind EXTRA_libgl_la_SOURCES += memchr.c ## end gnulib module memchr ## begin gnulib module memmem-simple EXTRA_DIST += memmem.c str-two-way.h EXTRA_libgl_la_SOURCES += memmem.c ## end gnulib module memmem-simple ## begin gnulib module memxor libgl_la_SOURCES += memxor.c EXTRA_DIST += memxor.h ## end gnulib module memxor ## begin gnulib module minmax libgl_la_SOURCES += minmax.h ## end gnulib module minmax ## begin gnulib module msvc-inval EXTRA_DIST += msvc-inval.c msvc-inval.h EXTRA_libgl_la_SOURCES += msvc-inval.c ## end gnulib module msvc-inval ## begin gnulib module msvc-nothrow EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h EXTRA_libgl_la_SOURCES += msvc-nothrow.c ## end gnulib module msvc-nothrow ## begin gnulib module pathmax EXTRA_DIST += pathmax.h ## end gnulib module pathmax ## begin gnulib module size_max libgl_la_SOURCES += size_max.h ## end gnulib module size_max ## begin gnulib module snippet/arg-nonnull # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H=$(srcdir)/arg-nonnull.h EXTRA_DIST += arg-nonnull.h ## end gnulib module snippet/arg-nonnull ## begin gnulib module snippet/c++defs # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H=$(srcdir)/c++defs.h EXTRA_DIST += c++defs.h ## end gnulib module snippet/c++defs ## begin gnulib module snippet/unused-parameter # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H=$(srcdir)/unused-parameter.h EXTRA_DIST += unused-parameter.h ## end gnulib module snippet/unused-parameter ## begin gnulib module snippet/warn-on-use # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H=$(srcdir)/warn-on-use.h EXTRA_DIST += warn-on-use.h ## end gnulib module snippet/warn-on-use ## begin gnulib module stat-time libgl_la_SOURCES += stat-time.c EXTRA_DIST += stat-time.h ## end gnulib module stat-time ## begin gnulib module stdalign BUILT_SOURCES += $(STDALIGN_H) # We need the following in order to create when the system # doesn't have one that works. if GL_GENERATE_STDALIGN_H stdalign.h: stdalign.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/stdalign.in.h; \ } > $@-t && \ mv $@-t $@ else stdalign.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stdalign.h stdalign.h-t EXTRA_DIST += stdalign.in.h ## end gnulib module stdalign ## begin gnulib module stdbool BUILT_SOURCES += $(STDBOOL_H) # We need the following in order to create when the system # doesn't have one that works. if GL_GENERATE_STDBOOL_H stdbool.h: stdbool.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ } > $@-t && \ mv $@-t $@ else stdbool.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stdbool.h stdbool.h-t EXTRA_DIST += stdbool.in.h ## end gnulib module stdbool ## begin gnulib module stddef BUILT_SOURCES += $(STDDEF_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDDEF_H stddef.h: stddef.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ < $(srcdir)/stddef.in.h; \ } > $@-t && \ mv $@-t $@ else stddef.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stddef.h stddef.h-t EXTRA_DIST += stddef.in.h ## end gnulib module stddef ## begin gnulib module stdint BUILT_SOURCES += $(STDINT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDINT_H stdint.h: stdint.in.h $(top_builddir)/config.status $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ < $(srcdir)/stdint.in.h; \ } > $@-t && \ mv $@-t $@ else stdint.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += stdint.h stdint.h-t EXTRA_DIST += stdint.in.h ## end gnulib module stdint ## begin gnulib module stdio BUILT_SOURCES += stdio.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ < $(srcdir)/stdio.in.h | \ sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += stdio.h stdio.h-t EXTRA_DIST += stdio.in.h ## end gnulib module stdio ## begin gnulib module string BUILT_SOURCES += string.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \ -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \ -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ < $(srcdir)/string.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += string.h string.h-t EXTRA_DIST += string.in.h ## end gnulib module string ## begin gnulib module strndup EXTRA_DIST += strndup.c EXTRA_libgl_la_SOURCES += strndup.c ## end gnulib module strndup ## begin gnulib module strnlen EXTRA_DIST += strnlen.c EXTRA_libgl_la_SOURCES += strnlen.c ## end gnulib module strnlen ## begin gnulib module strverscmp EXTRA_DIST += strverscmp.c EXTRA_libgl_la_SOURCES += strverscmp.c ## end gnulib module strverscmp ## begin gnulib module sys_socket BUILT_SOURCES += sys/socket.h libgl_la_SOURCES += sys_socket.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \ -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \ -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \ -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \ -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \ -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \ -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \ -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \ -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \ -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \ -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \ -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_socket.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_socket.in.h ## end gnulib module sys_socket ## begin gnulib module sys_stat BUILT_SOURCES += sys/stat.h # We need the following in order to create when the system # has one that is incomplete. sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_stat.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_stat.in.h ## end gnulib module sys_stat ## begin gnulib module sys_types BUILT_SOURCES += sys/types.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/types.h: sys_types.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \ < $(srcdir)/sys_types.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/types.h sys/types.h-t EXTRA_DIST += sys_types.in.h ## end gnulib module sys_types ## begin gnulib module sys_uio BUILT_SOURCES += sys/uio.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ < $(srcdir)/sys_uio.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_uio.in.h ## end gnulib module sys_uio ## begin gnulib module time BUILT_SOURCES += time.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -e 's/@''GNULIB_CTIME''@/$(GNULIB_CTIME)/g' \ -e 's/@''GNULIB_LOCALTIME''@/$(GNULIB_LOCALTIME)/g' \ -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ -e 's/@''GNULIB_STRFTIME''@/$(GNULIB_STRFTIME)/g' \ -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \ -e 's/@''GNULIB_TZSET''@/$(GNULIB_TZSET)/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \ -e 's|@''HAVE_TZSET''@|$(HAVE_TZSET)|g' \ -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \ -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \ -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/time.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += time.h time.h-t EXTRA_DIST += time.in.h ## end gnulib module time ## begin gnulib module unistd BUILT_SOURCES += unistd.h libgl_la_SOURCES += unistd.c # We need the following in order to create an empty placeholder for # when the system doesn't have one. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \ -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \ -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ < $(srcdir)/unistd.in.h | \ sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \ -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | \ sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \ -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += unistd.h unistd.h-t EXTRA_DIST += unistd.in.h ## end gnulib module unistd ## begin gnulib module useless-if-before-free EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free ## end gnulib module useless-if-before-free ## begin gnulib module vasnprintf EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h EXTRA_libgl_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c ## end gnulib module vasnprintf ## begin gnulib module vasprintf EXTRA_DIST += asprintf.c vasprintf.c EXTRA_libgl_la_SOURCES += asprintf.c vasprintf.c ## end gnulib module vasprintf ## begin gnulib module vc-list-files EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files ## end gnulib module vc-list-files ## begin gnulib module verify EXTRA_DIST += verify.h ## end gnulib module verify ## begin gnulib module wchar BUILT_SOURCES += wchar.h # We need the following in order to create when the system # version does not work standalone. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \ -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \ -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \ -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \ -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \ -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \ -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \ -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \ -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \ -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \ -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \ -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \ -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \ -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \ -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \ -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \ -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \ -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \ -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \ -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \ -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \ -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \ -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \ -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \ -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \ -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \ -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \ -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \ -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCSFTIME''@/$(GNULIB_WCSFTIME)/g' \ < $(srcdir)/wchar.in.h | \ sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \ -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ | \ sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += wchar.h wchar.h-t EXTRA_DIST += wchar.in.h ## end gnulib module wchar ## begin gnulib module xsize libgl_la_SOURCES += xsize.h xsize.c ## end gnulib module xsize mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : gsasl-1.8.1/lib/gl/verify.h0000644000000000000000000002617113516251671012364 00000000000000/* Compile-time assert-like macros. Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ #ifndef _GL_VERIFY_H #define _GL_VERIFY_H /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert (R, DIAGNOSTIC) works as per C11. This is supported by GCC 4.6.0 and later, in C mode. Define _GL_HAVE__STATIC_ASSERT1 to 1 if _Static_assert (R) works as per C2X, and define _GL_HAVE_STATIC_ASSERT1 if static_assert (R) works as per C++17. This is supported by GCC 9.1 and later. Support compilers claiming conformance to the relevant standard, and also support GCC when not pedantic. If we were willing to slow 'configure' down we could also use it with other compilers, but since this affects only the quality of diagnostics, why bother? */ #ifndef __cplusplus # if (201112L <= __STDC_VERSION__ \ || (!defined __STRICT_ANSI__ && 4 < __GNUC__ + (6 <= __GNUC_MINOR__))) # define _GL_HAVE__STATIC_ASSERT 1 # endif # if (202000L <= __STDC_VERSION__ \ || (!defined __STRICT_ANSI__ && 9 <= __GNUC__)) # define _GL_HAVE__STATIC_ASSERT1 1 # endif #else # if 201703L <= __cplusplus || 9 <= __GNUC__ # define _GL_HAVE_STATIC_ASSERT1 1 # endif #endif /* FreeBSD 9.1 , included by and lots of other system headers, defines a conflicting _Static_assert that is no better than ours; override it. */ #ifndef _GL_HAVE__STATIC_ASSERT # include # undef _Static_assert #endif /* Each of these macros verifies that its argument R is nonzero. To be portable, R should be an integer constant expression. Unlike assert (R), there is no run-time overhead. If _Static_assert works, verify (R) uses it directly. Similarly, _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct that is an operand of sizeof. The code below uses several ideas for C++ compilers, and for C compilers that do not support _Static_assert: * The first step is ((R) ? 1 : -1). Given an expression R, of integral or boolean or floating-point type, this yields an expression of integral type, whose value is later verified to be constant and nonnegative. * Next this expression W is wrapped in a type struct _gl_verify_type { unsigned int _gl_verify_error_if_negative: W; }. If W is negative, this yields a compile-time error. No compiler can deal with a bit-field of negative size. One might think that an array size check would have the same effect, that is, that the type struct { unsigned int dummy[W]; } would work as well. However, inside a function, some compilers (such as C++ compilers and GNU C) allow local parameters and variables inside array size expressions. With these compilers, an array size check would not properly diagnose this misuse of the verify macro: void function (int n) { verify (n < 0); } * For the verify macro, the struct _gl_verify_type will need to somehow be embedded into a declaration. To be portable, this declaration must declare an object, a constant, a function, or a typedef name. If the declared entity uses the type directly, such as in struct dummy {...}; typedef struct {...} dummy; extern struct {...} *dummy; extern void dummy (struct {...} *); extern struct {...} *dummy (void); two uses of the verify macro would yield colliding declarations if the entity names are not disambiguated. A workaround is to attach the current line number to the entity name: #define _GL_CONCAT0(x, y) x##y #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) extern struct {...} * _GL_CONCAT (dummy, __LINE__); But this has the problem that two invocations of verify from within the same macro would collide, since the __LINE__ value would be the same for both invocations. (The GCC __COUNTER__ macro solves this problem, but is not portable.) A solution is to use the sizeof operator. It yields a number, getting rid of the identity of the type. Declarations like extern int dummy [sizeof (struct {...})]; extern void dummy (int [sizeof (struct {...})]); extern int (*dummy (void)) [sizeof (struct {...})]; can be repeated. * Should the implementation use a named struct or an unnamed struct? Which of the following alternatives can be used? extern int dummy [sizeof (struct {...})]; extern int dummy [sizeof (struct _gl_verify_type {...})]; extern void dummy (int [sizeof (struct {...})]); extern void dummy (int [sizeof (struct _gl_verify_type {...})]); extern int (*dummy (void)) [sizeof (struct {...})]; extern int (*dummy (void)) [sizeof (struct _gl_verify_type {...})]; In the second and sixth case, the struct type is exported to the outer scope; two such declarations therefore collide. GCC warns about the first, third, and fourth cases. So the only remaining possibility is the fifth case: extern int (*dummy (void)) [sizeof (struct {...})]; * GCC warns about duplicate declarations of the dummy function if -Wredundant-decls is used. GCC 4.3 and later have a builtin __COUNTER__ macro that can let us generate unique identifiers for each dummy function, to suppress this warning. * This implementation exploits the fact that older versions of GCC, which do not support _Static_assert, also do not warn about the last declaration mentioned above. * GCC warns if -Wnested-externs is enabled and 'verify' is used within a function body; but inside a function, you can always arrange to use verify_expr instead. * In C++, any struct definition inside sizeof is invalid. Use a template type to work around the problem. */ /* Concatenate two preprocessor tokens. */ #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) #define _GL_CONCAT0(x, y) x##y /* _GL_COUNTER is an integer, preferably one that changes each time we use it. Use __COUNTER__ if it works, falling back on __LINE__ otherwise. __LINE__ isn't perfect, but it's better than a constant. */ #if defined __COUNTER__ && __COUNTER__ != __COUNTER__ # define _GL_COUNTER __COUNTER__ #else # define _GL_COUNTER __LINE__ #endif /* Generate a symbol with the given prefix, making it unique if possible. */ #define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER) /* Verify requirement R at compile-time, as an integer constant expression that returns 1. If R is false, fail at compile-time. */ #define _GL_VERIFY_TRUE(R) (!!sizeof (_GL_VERIFY_TYPE (R))) #ifdef __cplusplus # if !GNULIB_defined_struct__gl_verify_type template struct _gl_verify_type { unsigned int _gl_verify_error_if_negative: w; }; # define GNULIB_defined_struct__gl_verify_type 1 # endif # define _GL_VERIFY_TYPE(R) _gl_verify_type<(R) ? 1 : -1> #elif defined _GL_HAVE__STATIC_ASSERT1 # define _GL_VERIFY_TYPE(R) \ struct { \ _Static_assert (R); \ int _gl_dummy; \ } #else # define _GL_VERIFY_TYPE(R) \ struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; } #endif /* Verify requirement R at compile-time, as a declaration without a trailing ';'. If R is false, fail at compile-time. This macro requires three or more arguments but uses at most the first two, so that the _Static_assert macro optionally defined below supports both the C11 two-argument syntax and the C2X one-argument syntax. Unfortunately, unlike C11, this implementation must appear as an ordinary declaration, and cannot appear inside struct { ... }. */ #if defined _GL_HAVE__STATIC_ASSERT # define _GL_VERIFY(R, DIAGNOSTIC, ...) _Static_assert (R, DIAGNOSTIC) #else # define _GL_VERIFY(R, DIAGNOSTIC, ...) \ extern int (*_GL_GENSYM (_gl_verify_function) (void)) \ [_GL_VERIFY_TRUE (R)] #endif /* _GL_STATIC_ASSERT_H is defined if this code is copied into assert.h. */ #ifdef _GL_STATIC_ASSERT_H # if !defined _GL_HAVE__STATIC_ASSERT1 && !defined _Static_assert # define _Static_assert(...) \ _GL_VERIFY (__VA_ARGS__, "static assertion failed", -) # endif # if !defined _GL_HAVE_STATIC_ASSERT1 && !defined static_assert # define static_assert _Static_assert /* C11 requires this #define. */ # endif #endif /* @assert.h omit start@ */ /* Each of these macros verifies that its argument R is nonzero. To be portable, R should be an integer constant expression. Unlike assert (R), there is no run-time overhead. There are two macros, since no single macro can be used in all contexts in C. verify_expr (R, E) is for scalar contexts, including integer constant expression contexts. verify (R) is for declaration contexts, e.g., the top level. */ /* Verify requirement R at compile-time. Return the value of the expression E. */ #define verify_expr(R, E) (_GL_VERIFY_TRUE (R) ? (E) : (E)) /* Verify requirement R at compile-time, as a declaration without a trailing ';'. verify (R) acts like static_assert (R) except that it is portable to C11/C++14 and earlier, and its name is shorter and may be more convenient. */ #ifdef _GL_HAVE__STATIC_ASSERT1 # define verify(R) _Static_assert (R) #else # define verify(R) _GL_VERIFY (R, "verify (...)", -) #endif #ifndef __has_builtin # define __has_builtin(x) 0 #endif /* Assume that R always holds. Behavior is undefined if R is false, fails to evaluate, or has side effects. Although assuming R can help a compiler generate better code or diagnostics, performance can suffer if R uses hard-to-optimize features such as function calls not inlined by the compiler. */ #if (__has_builtin (__builtin_unreachable) \ || 4 < __GNUC__ + (5 <= __GNUC_MINOR__)) # define assume(R) ((R) ? (void) 0 : __builtin_unreachable ()) #elif 1200 <= _MSC_VER # define assume(R) __assume (R) #elif ((defined GCC_LINT || defined lint) \ && (__has_builtin (__builtin_trap) \ || 3 < __GNUC__ + (3 < __GNUC_MINOR__ + (4 <= __GNUC_PATCHLEVEL__)))) /* Doing it this way helps various packages when configured with --enable-gcc-warnings, which compiles with -Dlint. It's nicer when 'assume' silences warnings even with older GCCs. */ # define assume(R) ((R) ? (void) 0 : __builtin_trap ()) #else /* Some tools grok NOTREACHED, e.g., Oracle Studio 12.6. */ # define assume(R) ((R) ? (void) 0 : /*NOTREACHED*/ (void) 0) #endif /* @assert.h omit end@ */ #endif gsasl-1.8.1/lib/gl/byteswap.in.h0000644000000000000000000000375313516251665013327 00000000000000/* byteswap.h - Byte swapping Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. Written by Oskar Liljeblad , 2005. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_BYTESWAP_H #define _GL_BYTESWAP_H /* Given an unsigned 16-bit argument X, return the value corresponding to X with reversed byte order. */ #define bswap_16(x) ((((x) & 0x00FF) << 8) | \ (((x) & 0xFF00) >> 8)) /* Given an unsigned 32-bit argument X, return the value corresponding to X with reversed byte order. */ #define bswap_32(x) ((((x) & 0x000000FF) << 24) | \ (((x) & 0x0000FF00) << 8) | \ (((x) & 0x00FF0000) >> 8) | \ (((x) & 0xFF000000) >> 24)) /* Given an unsigned 64-bit argument X, return the value corresponding to X with reversed byte order. */ #define bswap_64(x) ((((x) & 0x00000000000000FFULL) << 56) | \ (((x) & 0x000000000000FF00ULL) << 40) | \ (((x) & 0x0000000000FF0000ULL) << 24) | \ (((x) & 0x00000000FF000000ULL) << 8) | \ (((x) & 0x000000FF00000000ULL) >> 8) | \ (((x) & 0x0000FF0000000000ULL) >> 24) | \ (((x) & 0x00FF000000000000ULL) >> 40) | \ (((x) & 0xFF00000000000000ULL) >> 56)) #endif /* _GL_BYTESWAP_H */ gsasl-1.8.1/lib/gl/ftell.c0000644000000000000000000000220513516251665012154 00000000000000/* An ftell() function that works around platform bugs. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include long ftell (FILE *fp) { /* Use the replacement ftello function with all its workarounds. */ off_t offset = ftello (fp); if (LONG_MIN <= offset && offset <= LONG_MAX) return /* (long) */ offset; else { errno = EOVERFLOW; return -1; } } gsasl-1.8.1/lib/gl/alloca.in.h0000644000000000000000000000454413516251670012717 00000000000000/* Memory allocation on the stack. Copyright (C) 1995, 1999, 2001-2004, 2006-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H means there is a real alloca function. */ #ifndef _GL_ALLOCA_H #define _GL_ALLOCA_H /* alloca (N) returns a pointer to N bytes of memory allocated on the stack, which will last until the function returns. Use of alloca should be avoided: - inside arguments of function calls - undefined behaviour, - in inline functions - the allocation may actually last until the calling function returns, - for huge N (say, N >= 65536) - you never know how large (or small) the stack is, and when the stack cannot fulfill the memory allocation request, the program just crashes. */ #ifndef alloca # ifdef __GNUC__ /* Some version of mingw have an that causes trouble when included after 'alloca' gets defined as a macro. As a workaround, include this first and define 'alloca' as a macro afterwards. */ # if (defined _WIN32 && ! defined __CYGWIN__) && @HAVE_ALLOCA_H@ # include_next # endif # define alloca __builtin_alloca # elif defined _AIX # define alloca __alloca # elif defined _MSC_VER # include # define alloca _alloca # elif defined __DECC && defined __VMS # define alloca __ALLOCA # elif defined __TANDEM && defined _TNS_E_TARGET # ifdef __cplusplus extern "C" # endif void *_alloca (unsigned short); # pragma intrinsic (_alloca) # define alloca _alloca # elif defined __MVS__ # include # else # include # ifdef __cplusplus extern "C" # endif void *alloca (size_t); # endif #endif #endif /* _GL_ALLOCA_H */ gsasl-1.8.1/lib/gl/af_alg.c0000644000000000000000000001526413516251665012270 00000000000000/* af_alg.c - Compute message digests from file streams and buffers. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Matteo Croce , 2018. */ #include #include "af_alg.h" #if USE_LINUX_CRYPTO_API #include #include #include #include #include #include #include #include #include "sys-limits.h" #define BLOCKSIZE 32768 /* Return a newly created socket for ALG. On error, return a negative error number. */ static int alg_socket (char const *alg) { struct sockaddr_alg salg = { .salg_family = AF_ALG, .salg_type = "hash", }; /* Copy alg into salg.salg_name, without calling strcpy nor strlen. */ for (size_t i = 0; (salg.salg_name[i] = alg[i]) != '\0'; i++) if (i == sizeof salg.salg_name - 1) /* alg is too long. */ return -EINVAL; int cfd = socket (AF_ALG, SOCK_SEQPACKET | SOCK_CLOEXEC, 0); if (cfd < 0) return -EAFNOSUPPORT; int ofd = (bind (cfd, (struct sockaddr *) &salg, sizeof salg) == 0 ? accept4 (cfd, NULL, 0, SOCK_CLOEXEC) : -1); close (cfd); return ofd < 0 ? -EAFNOSUPPORT : ofd; } int afalg_buffer (const char *buffer, size_t len, const char *alg, void *resblock, ssize_t hashlen) { /* On Linux < 4.9, the value for an empty stream is wrong (all zeroes). See . This was not fixed properly until November 2016, see . */ if (len == 0) return -EAFNOSUPPORT; int ofd = alg_socket (alg); if (ofd < 0) return ofd; int result; for (;;) { ssize_t size = (len > BLOCKSIZE ? BLOCKSIZE : len); if (send (ofd, buffer, size, MSG_MORE) != size) { result = -EAFNOSUPPORT; break; } buffer += size; len -= size; if (len == 0) { result = read (ofd, resblock, hashlen) == hashlen ? 0 : -EAFNOSUPPORT; break; } } close (ofd); return result; } int afalg_stream (FILE *stream, const char *alg, void *resblock, ssize_t hashlen) { int ofd = alg_socket (alg); if (ofd < 0) return ofd; /* If STREAM's size is known and nonzero and not too large, attempt sendfile to pipe the data. The nonzero restriction avoids issues with /proc files that pretend to be empty, and lets the classic read-write loop work around an empty-input bug noted below. */ int fd = fileno (stream); int result; struct stat st; off_t off = ftello (stream); if (0 <= off && fstat (fd, &st) == 0 && (S_ISREG (st.st_mode) || S_TYPEISSHM (&st) || S_TYPEISTMO (&st)) && off < st.st_size && st.st_size - off < SYS_BUFSIZE_MAX) { /* Make sure the offset of fileno (stream) reflects how many bytes have been read from stream before this function got invoked. Note: fflush on an input stream after ungetc does not work as expected on some platforms. Therefore this situation is not supported here. */ if (fflush (stream)) result = -EIO; else { off_t nbytes = st.st_size - off; if (sendfile (ofd, fd, &off, nbytes) == nbytes) { if (read (ofd, resblock, hashlen) == hashlen) { /* The input buffers of stream are no longer valid. */ if (lseek (fd, off, SEEK_SET) != (off_t)-1) result = 0; else /* The file position of fd has not changed. */ result = -EAFNOSUPPORT; } else /* The file position of fd has not changed. */ result = -EAFNOSUPPORT; } else /* The file position of fd has not changed. */ result = -EAFNOSUPPORT; } } else { /* sendfile not possible, do a classic read-write loop. */ /* Number of bytes to seek (backwards) in case of error. */ off_t nseek = 0; for (;;) { char buf[BLOCKSIZE]; /* When the stream is not seekable, start with a single-byte block, so that we can use ungetc() in the case that send() fails. */ size_t blocksize = (nseek == 0 && off < 0 ? 1 : BLOCKSIZE); ssize_t size = fread (buf, 1, blocksize, stream); if (size == 0) { /* On Linux < 4.9, the value for an empty stream is wrong (all 0). See . This was not fixed properly until November 2016, see . */ result = ferror (stream) ? -EIO : nseek == 0 ? -EAFNOSUPPORT : 0; break; } nseek -= size; if (send (ofd, buf, size, MSG_MORE) != size) { if (nseek == -1) { /* 1 byte of pushback buffer is guaranteed on stream, even if stream is not seekable. */ ungetc ((unsigned char) buf[0], stream); result = -EAFNOSUPPORT; } else if (fseeko (stream, nseek, SEEK_CUR) == 0) /* The position of stream has been restored. */ result = -EAFNOSUPPORT; else result = -EIO; break; } /* Don't assume that EOF is sticky. See: . */ if (feof (stream)) { result = 0; break; } } if (result == 0 && read (ofd, resblock, hashlen) != hashlen) { if (nseek == 0 || fseeko (stream, nseek, SEEK_CUR) == 0) /* The position of stream has been restored. */ result = -EAFNOSUPPORT; else result = -EIO; } } close (ofd); return result; } #endif gsasl-1.8.1/lib/gl/pathmax.h0000644000000000000000000000561513516251666012526 00000000000000/* Define PATH_MAX somehow. Requires sys/types.h. Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _PATHMAX_H # define _PATHMAX_H /* POSIX:2008 defines PATH_MAX to be the maximum number of bytes in a filename, including the terminating NUL byte. PATH_MAX is not defined on systems which have no limit on filename length, such as GNU/Hurd. This file does *not* define PATH_MAX always. Programs that use this file can handle the GNU/Hurd case in several ways: - Either with a package-wide handling, or with a per-file handling, - Either through a #ifdef PATH_MAX or through a fallback like #ifndef PATH_MAX # define PATH_MAX 8192 #endif or through a fallback like #ifndef PATH_MAX # define PATH_MAX pathconf ("/", _PC_PATH_MAX) #endif */ # include # include # ifndef _POSIX_PATH_MAX # define _POSIX_PATH_MAX 256 # endif /* Don't include sys/param.h if it already has been. */ # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include # endif # if !defined PATH_MAX && defined MAXPATHLEN # define PATH_MAX MAXPATHLEN # endif # ifdef __hpux /* On HP-UX, PATH_MAX designates the maximum number of bytes in a filename, *not* including the terminating NUL byte, and is set to 1023. Additionally, when _XOPEN_SOURCE is defined to 500 or more, PATH_MAX is not defined at all any more. */ # undef PATH_MAX # define PATH_MAX 1024 # endif # if defined _WIN32 && ! defined __CYGWIN__ /* The page "Naming Files, Paths, and Namespaces" on msdn.microsoft.com, section "Maximum Path Length Limitation", explains that the maximum size of a filename, including the terminating NUL byte, is 260 = 3 + 256 + 1. This is the same value as - FILENAME_MAX in , - _MAX_PATH in , - MAX_PATH in . Undefine the original value, because mingw's gets it wrong. */ # undef PATH_MAX # define PATH_MAX 260 # endif #endif /* _PATHMAX_H */ gsasl-1.8.1/lib/gl/sys_socket.in.h0000644000000000000000000005615613516251666013665 00000000000000/* Provide a sys/socket header file for systems lacking it (read: MinGW) and for systems where it is incomplete. Copyright (C) 2005-2019 Free Software Foundation, Inc. Written by Simon Josefsson. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* This file is supposed to be used on platforms that lack , on platforms where cannot be included standalone, and on platforms where does not provide all necessary definitions. It is intended to provide definitions and prototypes needed by an application. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _GL_ALREADY_INCLUDING_SYS_SOCKET_H /* Special invocation convention: - On Cygwin 1.5.x we have a sequence of nested includes -> -> -> , and the latter includes . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_SYS_SOCKET_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_SOCKET_H #if @HAVE_SYS_SOCKET_H@ # define _GL_ALREADY_INCLUDING_SYS_SOCKET_H /* On many platforms, assumes prior inclusion of . */ # include /* On FreeBSD 6.4, defines some macros that assume that NULL is defined. */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_SOCKET_H@ # undef _GL_ALREADY_INCLUDING_SYS_SOCKET_H #endif #ifndef _@GUARD_PREFIX@_SYS_SOCKET_H #define _@GUARD_PREFIX@_SYS_SOCKET_H #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_SYS_SOCKET_INLINE # define _GL_SYS_SOCKET_INLINE _GL_INLINE #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !@HAVE_SA_FAMILY_T@ # if !GNULIB_defined_sa_family_t /* On OS/2 kLIBC, sa_family_t is unsigned char unless TCPV40HDRS is defined. */ # if !defined __KLIBC__ || defined TCPV40HDRS typedef unsigned short sa_family_t; # else typedef unsigned char sa_family_t; # endif # define GNULIB_defined_sa_family_t 1 # endif #endif #if @HAVE_STRUCT_SOCKADDR_STORAGE@ /* Make the 'struct sockaddr_storage' field 'ss_family' visible on AIX 7.1. */ # if !@HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ # ifndef ss_family # define ss_family __ss_family # endif # endif #else # include /* Code taken from glibc sysdeps/unix/sysv/linux/bits/socket.h on 2009-05-08, licensed under LGPLv2.1+, plus portability fixes. */ # define __ss_aligntype unsigned long int # define _SS_SIZE 256 # define _SS_PADSIZE \ (_SS_SIZE - ((sizeof (sa_family_t) >= alignof (__ss_aligntype) \ ? sizeof (sa_family_t) \ : alignof (__ss_aligntype)) \ + sizeof (__ss_aligntype))) # if !GNULIB_defined_struct_sockaddr_storage struct sockaddr_storage { sa_family_t ss_family; /* Address family, etc. */ __ss_aligntype __ss_align; /* Force desired alignment. */ char __ss_padding[_SS_PADSIZE]; }; # define GNULIB_defined_struct_sockaddr_storage 1 # endif #endif /* Get struct iovec. */ /* But avoid namespace pollution on glibc systems. */ #if ! defined __GLIBC__ # include #endif #if @HAVE_SYS_SOCKET_H@ /* A platform that has . */ /* For shutdown(). */ # if !defined SHUT_RD # define SHUT_RD 0 # endif # if !defined SHUT_WR # define SHUT_WR 1 # endif # if !defined SHUT_RDWR # define SHUT_RDWR 2 # endif # ifdef __VMS /* OpenVMS */ # ifndef CMSG_SPACE # define CMSG_SPACE(length) _CMSG_SPACE(length) # endif # ifndef CMSG_LEN # define CMSG_LEN(length) _CMSG_LEN(length) # endif # endif #else # ifdef __CYGWIN__ # error "Cygwin does have a sys/socket.h, doesn't it?!?" # endif /* A platform that lacks . Currently only MinGW is supported. See the gnulib manual regarding Windows sockets. MinGW has the header files winsock2.h and ws2tcpip.h that declare the sys/socket.h definitions we need. Note that you can influence which definitions you get by setting the WINVER symbol before including these two files. For example, getaddrinfo is only available if _WIN32_WINNT >= 0x0501 (that symbol is set indirectly through WINVER). You can set this by adding AC_DEFINE(WINVER, 0x0501) to configure.ac. Note that your code may not run on older Windows releases then. My Windows 2000 box was not able to run the code, for example. The situation is slightly confusing because suggests that getaddrinfo should be available on all Windows releases. */ # if @HAVE_WINSOCK2_H@ # include # endif # if @HAVE_WS2TCPIP_H@ # include # endif /* For shutdown(). */ # if !defined SHUT_RD && defined SD_RECEIVE # define SHUT_RD SD_RECEIVE # endif # if !defined SHUT_WR && defined SD_SEND # define SHUT_WR SD_SEND # endif # if !defined SHUT_RDWR && defined SD_BOTH # define SHUT_RDWR SD_BOTH # endif # if @HAVE_WINSOCK2_H@ /* Include headers needed by the emulation code. */ # include # include # if !GNULIB_defined_socklen_t typedef int socklen_t; # define GNULIB_defined_socklen_t 1 # endif # endif /* Rudimentary 'struct msghdr'; this works as long as you don't try to access msg_control or msg_controllen. */ struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; int msg_iovlen; int msg_flags; }; #endif /* Ensure SO_REUSEPORT is defined. */ /* For the subtle differences between SO_REUSEPORT and SO_REUSEADDR, see https://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t and https://lwn.net/Articles/542629/ */ #ifndef SO_REUSEPORT # define SO_REUSEPORT SO_REUSEADDR #endif /* Fix some definitions from . */ #if @HAVE_WINSOCK2_H@ # if !GNULIB_defined_rpl_fd_isset /* Re-define FD_ISSET to avoid a WSA call while we are not using network sockets. */ _GL_SYS_SOCKET_INLINE int rpl_fd_isset (SOCKET fd, fd_set * set) { u_int i; if (set == NULL) return 0; for (i = 0; i < set->fd_count; i++) if (set->fd_array[i] == fd) return 1; return 0; } # define GNULIB_defined_rpl_fd_isset 1 # endif # undef FD_ISSET # define FD_ISSET(fd, set) rpl_fd_isset(fd, set) #endif /* Hide some function declarations from . */ #if @HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_UNISTD_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else _GL_WARN_ON_USE (close, "close() used without including "); # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname gethostname_used_without_including_unistd_h # else _GL_WARN_ON_USE (gethostname, "gethostname() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif /* Wrap everything else to use libc file descriptors for sockets. */ #if @GNULIB_SOCKET@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket rpl_socket # endif _GL_FUNCDECL_RPL (socket, int, (int domain, int type, int protocol)); _GL_CXXALIAS_RPL (socket, int, (int domain, int type, int protocol)); # else _GL_CXXALIAS_SYS (socket, int, (int domain, int type, int protocol)); # endif _GL_CXXALIASWARN (socket); #elif @HAVE_WINSOCK2_H@ # undef socket # define socket socket_used_without_requesting_gnulib_module_socket #elif defined GNULIB_POSIXCHECK # undef socket # if HAVE_RAW_DECL_SOCKET _GL_WARN_ON_USE (socket, "socket is not always POSIX compliant - " "use gnulib module socket for portability"); # endif #endif #if @GNULIB_CONNECT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef connect # define connect rpl_connect # endif _GL_FUNCDECL_RPL (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # else /* Need to cast, because on NonStop Kernel, the third parameter is size_t addrlen. */ _GL_CXXALIAS_SYS_CAST (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # endif _GL_CXXALIASWARN (connect); #elif @HAVE_WINSOCK2_H@ # undef connect # define connect socket_used_without_requesting_gnulib_module_connect #elif defined GNULIB_POSIXCHECK # undef connect # if HAVE_RAW_DECL_CONNECT _GL_WARN_ON_USE (connect, "connect is not always POSIX compliant - " "use gnulib module connect for portability"); # endif #endif #if @GNULIB_ACCEPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef accept # define accept rpl_accept # endif _GL_FUNCDECL_RPL (accept, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); _GL_CXXALIAS_RPL (accept, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (accept, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # endif _GL_CXXALIASWARN (accept); #elif @HAVE_WINSOCK2_H@ # undef accept # define accept accept_used_without_requesting_gnulib_module_accept #elif defined GNULIB_POSIXCHECK # undef accept # if HAVE_RAW_DECL_ACCEPT _GL_WARN_ON_USE (accept, "accept is not always POSIX compliant - " "use gnulib module accept for portability"); # endif #endif #if @GNULIB_BIND@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef bind # define bind rpl_bind # endif _GL_FUNCDECL_RPL (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # else /* Need to cast, because on NonStop Kernel, the third parameter is size_t addrlen. */ _GL_CXXALIAS_SYS_CAST (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # endif _GL_CXXALIASWARN (bind); #elif @HAVE_WINSOCK2_H@ # undef bind # define bind bind_used_without_requesting_gnulib_module_bind #elif defined GNULIB_POSIXCHECK # undef bind # if HAVE_RAW_DECL_BIND _GL_WARN_ON_USE (bind, "bind is not always POSIX compliant - " "use gnulib module bind for portability"); # endif #endif #if @GNULIB_GETPEERNAME@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpeername # define getpeername rpl_getpeername # endif _GL_FUNCDECL_RPL (getpeername, int, (int fd, struct sockaddr *addr, socklen_t *addrlen) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (getpeername, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (getpeername, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # endif _GL_CXXALIASWARN (getpeername); #elif @HAVE_WINSOCK2_H@ # undef getpeername # define getpeername getpeername_used_without_requesting_gnulib_module_getpeername #elif defined GNULIB_POSIXCHECK # undef getpeername # if HAVE_RAW_DECL_GETPEERNAME _GL_WARN_ON_USE (getpeername, "getpeername is not always POSIX compliant - " "use gnulib module getpeername for portability"); # endif #endif #if @GNULIB_GETSOCKNAME@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getsockname # define getsockname rpl_getsockname # endif _GL_FUNCDECL_RPL (getsockname, int, (int fd, struct sockaddr *addr, socklen_t *addrlen) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (getsockname, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (getsockname, int, (int fd, struct sockaddr *addr, socklen_t *addrlen)); # endif _GL_CXXALIASWARN (getsockname); #elif @HAVE_WINSOCK2_H@ # undef getsockname # define getsockname getsockname_used_without_requesting_gnulib_module_getsockname #elif defined GNULIB_POSIXCHECK # undef getsockname # if HAVE_RAW_DECL_GETSOCKNAME _GL_WARN_ON_USE (getsockname, "getsockname is not always POSIX compliant - " "use gnulib module getsockname for portability"); # endif #endif #if @GNULIB_GETSOCKOPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getsockopt # define getsockopt rpl_getsockopt # endif _GL_FUNCDECL_RPL (getsockopt, int, (int fd, int level, int optname, void *optval, socklen_t *optlen) _GL_ARG_NONNULL ((4, 5))); _GL_CXXALIAS_RPL (getsockopt, int, (int fd, int level, int optname, void *optval, socklen_t *optlen)); # else /* Need to cast, because on Solaris 10 systems, the fifth parameter is void *optlen. */ _GL_CXXALIAS_SYS_CAST (getsockopt, int, (int fd, int level, int optname, void *optval, socklen_t *optlen)); # endif _GL_CXXALIASWARN (getsockopt); #elif @HAVE_WINSOCK2_H@ # undef getsockopt # define getsockopt getsockopt_used_without_requesting_gnulib_module_getsockopt #elif defined GNULIB_POSIXCHECK # undef getsockopt # if HAVE_RAW_DECL_GETSOCKOPT _GL_WARN_ON_USE (getsockopt, "getsockopt is not always POSIX compliant - " "use gnulib module getsockopt for portability"); # endif #endif #if @GNULIB_LISTEN@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef listen # define listen rpl_listen # endif _GL_FUNCDECL_RPL (listen, int, (int fd, int backlog)); _GL_CXXALIAS_RPL (listen, int, (int fd, int backlog)); # else _GL_CXXALIAS_SYS (listen, int, (int fd, int backlog)); # endif _GL_CXXALIASWARN (listen); #elif @HAVE_WINSOCK2_H@ # undef listen # define listen listen_used_without_requesting_gnulib_module_listen #elif defined GNULIB_POSIXCHECK # undef listen # if HAVE_RAW_DECL_LISTEN _GL_WARN_ON_USE (listen, "listen is not always POSIX compliant - " "use gnulib module listen for portability"); # endif #endif #if @GNULIB_RECV@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef recv # define recv rpl_recv # endif _GL_FUNCDECL_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); # else _GL_CXXALIAS_SYS (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); # endif _GL_CXXALIASWARN (recv); #elif @HAVE_WINSOCK2_H@ # undef recv # define recv recv_used_without_requesting_gnulib_module_recv #elif defined GNULIB_POSIXCHECK # undef recv # if HAVE_RAW_DECL_RECV _GL_WARN_ON_USE (recv, "recv is not always POSIX compliant - " "use gnulib module recv for portability"); # endif #endif #if @GNULIB_SEND@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef send # define send rpl_send # endif _GL_FUNCDECL_RPL (send, ssize_t, (int fd, const void *buf, size_t len, int flags) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (send, ssize_t, (int fd, const void *buf, size_t len, int flags)); # else _GL_CXXALIAS_SYS (send, ssize_t, (int fd, const void *buf, size_t len, int flags)); # endif _GL_CXXALIASWARN (send); #elif @HAVE_WINSOCK2_H@ # undef send # define send send_used_without_requesting_gnulib_module_send #elif defined GNULIB_POSIXCHECK # undef send # if HAVE_RAW_DECL_SEND _GL_WARN_ON_USE (send, "send is not always POSIX compliant - " "use gnulib module send for portability"); # endif #endif #if @GNULIB_RECVFROM@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef recvfrom # define recvfrom rpl_recvfrom # endif _GL_FUNCDECL_RPL (recvfrom, ssize_t, (int fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (recvfrom, ssize_t, (int fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen)); # else /* Need to cast, because on Solaris 10 systems, the sixth parameter is void *fromlen. */ _GL_CXXALIAS_SYS_CAST (recvfrom, ssize_t, (int fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen)); # endif _GL_CXXALIASWARN (recvfrom); #elif @HAVE_WINSOCK2_H@ # undef recvfrom # define recvfrom recvfrom_used_without_requesting_gnulib_module_recvfrom #elif defined GNULIB_POSIXCHECK # undef recvfrom # if HAVE_RAW_DECL_RECVFROM _GL_WARN_ON_USE (recvfrom, "recvfrom is not always POSIX compliant - " "use gnulib module recvfrom for portability"); # endif #endif #if @GNULIB_SENDTO@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sendto # define sendto rpl_sendto # endif _GL_FUNCDECL_RPL (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen)); # else /* Need to cast, because on NonStop Kernel, the sixth parameter is size_t tolen. */ _GL_CXXALIAS_SYS_CAST (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen)); # endif _GL_CXXALIASWARN (sendto); #elif @HAVE_WINSOCK2_H@ # undef sendto # define sendto sendto_used_without_requesting_gnulib_module_sendto #elif defined GNULIB_POSIXCHECK # undef sendto # if HAVE_RAW_DECL_SENDTO _GL_WARN_ON_USE (sendto, "sendto is not always POSIX compliant - " "use gnulib module sendto for portability"); # endif #endif #if @GNULIB_SETSOCKOPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setsockopt # define setsockopt rpl_setsockopt # endif _GL_FUNCDECL_RPL (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen) _GL_ARG_NONNULL ((4))); _GL_CXXALIAS_RPL (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen)); # else /* Need to cast, because on NonStop Kernel, the fifth parameter is size_t optlen. */ _GL_CXXALIAS_SYS_CAST (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen)); # endif _GL_CXXALIASWARN (setsockopt); #elif @HAVE_WINSOCK2_H@ # undef setsockopt # define setsockopt setsockopt_used_without_requesting_gnulib_module_setsockopt #elif defined GNULIB_POSIXCHECK # undef setsockopt # if HAVE_RAW_DECL_SETSOCKOPT _GL_WARN_ON_USE (setsockopt, "setsockopt is not always POSIX compliant - " "use gnulib module setsockopt for portability"); # endif #endif #if @GNULIB_SHUTDOWN@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef shutdown # define shutdown rpl_shutdown # endif _GL_FUNCDECL_RPL (shutdown, int, (int fd, int how)); _GL_CXXALIAS_RPL (shutdown, int, (int fd, int how)); # else _GL_CXXALIAS_SYS (shutdown, int, (int fd, int how)); # endif _GL_CXXALIASWARN (shutdown); #elif @HAVE_WINSOCK2_H@ # undef shutdown # define shutdown shutdown_used_without_requesting_gnulib_module_shutdown #elif defined GNULIB_POSIXCHECK # undef shutdown # if HAVE_RAW_DECL_SHUTDOWN _GL_WARN_ON_USE (shutdown, "shutdown is not always POSIX compliant - " "use gnulib module shutdown for portability"); # endif #endif #if @GNULIB_ACCEPT4@ /* Accept a connection on a socket, with specific opening flags. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). See also the Linux man page at . */ # if @HAVE_ACCEPT4@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define accept4 rpl_accept4 # endif _GL_FUNCDECL_RPL (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); _GL_CXXALIAS_RPL (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); # else _GL_FUNCDECL_SYS (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); _GL_CXXALIAS_SYS (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); # endif _GL_CXXALIASWARN (accept4); #elif defined GNULIB_POSIXCHECK # undef accept4 # if HAVE_RAW_DECL_ACCEPT4 _GL_WARN_ON_USE (accept4, "accept4 is unportable - " "use gnulib module accept4 for portability"); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif gsasl-1.8.1/lib/gl/fstat.c0000644000000000000000000000516113516251665012173 00000000000000/* fstat() replacement. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_fstat doesn't recurse to rpl_fstat. */ #define __need_system_sys_stat_h #include /* Get the original definition of fstat. It might be defined as a macro. */ #include #include #undef __need_system_sys_stat_h #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE #endif #if !defined WINDOWS_NATIVE static int orig_fstat (int fd, struct stat *buf) { return fstat (fd, buf); } #endif /* Specification. */ #ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" #else # include #endif #include "stat-time.h" #include #include #ifdef WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # include "stat-w32.h" #endif int rpl_fstat (int fd, struct stat *buf) { #if REPLACE_FCHDIR && REPLACE_OPEN_DIRECTORY /* Handle the case when rpl_open() used a dummy file descriptor to work around an open() that can't normally visit directories. */ const char *name = _gl_directory_name (fd); if (name != NULL) return stat (name, buf); #endif #ifdef WINDOWS_NATIVE /* Fill the fields ourselves, because the original fstat function returns values for st_atime, st_mtime, st_ctime that depend on the current time zone. See */ HANDLE h = (HANDLE) _get_osfhandle (fd); if (h == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } return _gl_fstat_by_handle (h, NULL, buf); #else return stat_time_normalize (orig_fstat (fd, buf), buf); #endif } gsasl-1.8.1/lib/gl/asprintf.c0000644000000000000000000000213113516251670012666 00000000000000/* Formatted output to strings. Copyright (C) 1999, 2002, 2006-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include /* Specification. */ #ifdef IN_LIBASPRINTF # include "vasprintf.h" #else # include #endif #include int asprintf (char **resultp, const char *format, ...) { va_list args; int result; va_start (args, format); result = vasprintf (resultp, format, args); va_end (args); return result; } gsasl-1.8.1/lib/gl/vasnprintf.h0000644000000000000000000000563013516251671013247 00000000000000/* vsprintf with automatic memory allocation. Copyright (C) 2002-2004, 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _VASNPRINTF_H #define _VASNPRINTF_H /* Get va_list. */ #include /* Get size_t. */ #include /* The __attribute__ feature is available in gcc versions 2.5 and later. The __-protected variants of the attributes 'format' and 'printf' are accepted by gcc versions 2.6.4 (effectively 2.7) and later. We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because gnulib and libintl do '#define printf __printf__' when they override the 'printf' function. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) #else # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ #endif #ifdef __cplusplus extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). You can pass a preallocated buffer for the result in RESULTBUF and its size in *LENGTHP; otherwise you pass RESULTBUF = NULL. If successful, return the address of the string (this may be = RESULTBUF if no dynamic memory allocation was necessary) and set *LENGTHP to the number of resulting bytes, excluding the trailing NUL. Upon error, set errno and return NULL. When dynamic memory allocation occurs, the preallocated buffer is left alone (with possibly modified contents). This makes it possible to use a statically allocated or stack-allocated buffer, like this: char buf[100]; size_t len = sizeof (buf); char *output = vasnprintf (buf, &len, format, args); if (output == NULL) ... error handling ...; else { ... use the output string ...; if (output != buf) free (output); } */ #if REPLACE_VASNPRINTF # define asnprintf rpl_asnprintf # define vasnprintf rpl_vasnprintf #endif extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 4)); extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 0)); #ifdef __cplusplus } #endif #endif /* _VASNPRINTF_H */ gsasl-1.8.1/lib/gl/warn-on-use.h0000644000000000000000000001354013516251666013233 00000000000000/* A C macro for emitting warnings if a function is used. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* _GL_WARN_ON_USE (function, "literal string") issues a declaration for FUNCTION which will then trigger a compiler warning containing the text of "literal string" anywhere that function is called, if supported by the compiler. If the compiler does not support this feature, the macro expands to an unused extern declaration. _GL_WARN_ON_USE_ATTRIBUTE ("literal string") expands to the attribute used in _GL_WARN_ON_USE. If the compiler does not support this feature, it expands to empty. These macros are useful for marking a function as a potential portability trap, with the intent that "literal string" include instructions on the replacement function that should be used instead. _GL_WARN_ON_USE is for functions with 'extern' linkage. _GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline' linkage. However, one of the reasons that a function is a portability trap is if it has the wrong signature. Declaring FUNCTION with a different signature in C is a compilation error, so this macro must use the same type as any existing declaration so that programs that avoid the problematic FUNCTION do not fail to compile merely because they included a header that poisoned the function. But this implies that _GL_WARN_ON_USE is only safe to use if FUNCTION is known to already have a declaration. Use of this macro implies that there must not be any other macro hiding the declaration of FUNCTION; but undefining FUNCTION first is part of the poisoning process anyway (although for symbols that are provided only via a macro, the result is a compilation error rather than a warning containing "literal string"). Also note that in C++, it is only safe to use if FUNCTION has no overloads. For an example, it is possible to poison 'getline' by: - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], [getline]) in configure.ac, which potentially defines HAVE_RAW_DECL_GETLINE - adding this code to a header that wraps the system : #undef getline #if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" "not universally present; use the gnulib module getline"); #endif It is not possible to directly poison global variables. But it is possible to write a wrapper accessor function, and poison that (less common usage, like &environ, will cause a compilation error rather than issue the nice warning, but the end result of informing the developer about their portability problem is still achieved): #if HAVE_RAW_DECL_ENVIRON static char *** rpl_environ (void) { return &environ; } _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); # undef environ # define environ (*rpl_environ ()) #endif or better (avoiding contradictory use of 'static' and 'extern'): #if HAVE_RAW_DECL_ENVIRON static char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is not always properly declared") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) #endif */ #ifndef _GL_WARN_ON_USE # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) /* A compiler attribute is available in gcc versions 4.3.0 and later. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function __attribute__ ((__warning__ (message))) # define _GL_WARN_ON_USE_ATTRIBUTE(message) \ __attribute__ ((__warning__ (message))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function # define _GL_WARN_ON_USE_ATTRIBUTE(message) # else /* Unsupported. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # define _GL_WARN_ON_USE_ATTRIBUTE(message) # endif #endif /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") is like _GL_WARN_ON_USE (function, "string"), except that the function is declared with the given prototype, consisting of return type, parameters, and attributes. This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does not work in this case. */ #ifndef _GL_WARN_ON_USE_CXX # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes \ __attribute__ ((__warning__ (msg))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes # else /* Unsupported. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # endif #endif /* _GL_WARN_EXTERN_C declaration; performs the declaration with C linkage. */ #ifndef _GL_WARN_EXTERN_C # if defined __cplusplus # define _GL_WARN_EXTERN_C extern "C" # else # define _GL_WARN_EXTERN_C extern # endif #endif gsasl-1.8.1/lib/gl/printf-parse.c0000644000000000000000000005317213516251671013466 00000000000000/* Formatted output to strings. Copyright (C) 1999-2000, 2002-2003, 2006-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* This file can be parametrized with the following macros: CHAR_T The element type of the format string. CHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. DIRECTIVE Structure denoting a format directive. Depends on CHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on CHAR_T. PRINTF_PARSE Function that parses a format string. Depends on CHAR_T. STATIC Set to 'static' to declare the function static. ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. */ #ifndef PRINTF_PARSE # include #endif /* Specification. */ #ifndef PRINTF_PARSE # include "printf-parse.h" #endif /* Default parameters. */ #ifndef PRINTF_PARSE # define PRINTF_PARSE printf_parse # define CHAR_T char # define DIRECTIVE char_directive # define DIRECTIVES char_directives #endif /* Get size_t, NULL. */ #include /* Get intmax_t. */ #if defined IN_LIBINTL || defined IN_LIBASPRINTF # if HAVE_STDINT_H_WITH_UINTMAX # include # endif # if HAVE_INTTYPES_H_WITH_UINTMAX # include # endif #else # include #endif /* malloc(), realloc(), free(). */ #include /* memcpy(). */ #include /* errno. */ #include /* Checked size_t computations. */ #include "xsize.h" #if CHAR_T_ONLY_ASCII /* c_isascii(). */ # include "c-ctype.h" #endif #ifdef STATIC STATIC #endif int PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) { const CHAR_T *cp = format; /* pointer into format */ size_t arg_posn = 0; /* number of regular arguments consumed */ size_t d_allocated; /* allocated elements of d->dir */ size_t a_allocated; /* allocated elements of a->arg */ size_t max_width_length = 0; size_t max_precision_length = 0; d->count = 0; d_allocated = N_DIRECT_ALLOC_DIRECTIVES; d->dir = d->direct_alloc_dir; a->count = 0; a_allocated = N_DIRECT_ALLOC_ARGUMENTS; a->arg = a->direct_alloc_arg; #define REGISTER_ARG(_index_,_type_) \ { \ size_t n = (_index_); \ if (n >= a_allocated) \ { \ size_t memory_size; \ argument *memory; \ \ a_allocated = xtimes (a_allocated, 2); \ if (a_allocated <= n) \ a_allocated = xsum (n, 1); \ memory_size = xtimes (a_allocated, sizeof (argument)); \ if (size_overflow_p (memory_size)) \ /* Overflow, would lead to out of memory. */ \ goto out_of_memory; \ memory = (argument *) (a->arg != a->direct_alloc_arg \ ? realloc (a->arg, memory_size) \ : malloc (memory_size)); \ if (memory == NULL) \ /* Out of memory. */ \ goto out_of_memory; \ if (a->arg == a->direct_alloc_arg) \ memcpy (memory, a->arg, a->count * sizeof (argument)); \ a->arg = memory; \ } \ while (a->count <= n) \ a->arg[a->count++].type = TYPE_NONE; \ if (a->arg[n].type == TYPE_NONE) \ a->arg[n].type = (_type_); \ else if (a->arg[n].type != (_type_)) \ /* Ambiguous type for positional argument. */ \ goto error; \ } while (*cp != '\0') { CHAR_T c = *cp++; if (c == '%') { size_t arg_index = ARG_NONE; DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ /* Initialize the next directive. */ dp->dir_start = cp - 1; dp->flags = 0; dp->width_start = NULL; dp->width_end = NULL; dp->width_arg_index = ARG_NONE; dp->precision_start = NULL; dp->precision_end = NULL; dp->precision_arg_index = ARG_NONE; dp->arg_index = ARG_NONE; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; arg_index = n - 1; cp = np + 1; } } /* Read the flags. */ for (;;) { if (*cp == '\'') { dp->flags |= FLAG_GROUP; cp++; } else if (*cp == '-') { dp->flags |= FLAG_LEFT; cp++; } else if (*cp == '+') { dp->flags |= FLAG_SHOWSIGN; cp++; } else if (*cp == ' ') { dp->flags |= FLAG_SPACE; cp++; } else if (*cp == '#') { dp->flags |= FLAG_ALT; cp++; } else if (*cp == '0') { dp->flags |= FLAG_ZERO; cp++; } #if __GLIBC__ >= 2 && !defined __UCLIBC__ else if (*cp == 'I') { dp->flags |= FLAG_LOCALIZED; cp++; } #endif else break; } /* Parse the field width. */ if (*cp == '*') { dp->width_start = cp; cp++; dp->width_end = cp; if (max_width_length < 1) max_width_length = 1; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->width_arg_index = n - 1; cp = np + 1; } } if (dp->width_arg_index == ARG_NONE) { dp->width_arg_index = arg_posn++; if (dp->width_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->width_arg_index, TYPE_INT); } else if (*cp >= '0' && *cp <= '9') { size_t width_length; dp->width_start = cp; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->width_end = cp; width_length = dp->width_end - dp->width_start; if (max_width_length < width_length) max_width_length = width_length; } /* Parse the precision. */ if (*cp == '.') { cp++; if (*cp == '*') { dp->precision_start = cp - 1; cp++; dp->precision_end = cp; if (max_precision_length < 2) max_precision_length = 2; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->precision_arg_index = n - 1; cp = np + 1; } } if (dp->precision_arg_index == ARG_NONE) { dp->precision_arg_index = arg_posn++; if (dp->precision_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->precision_arg_index, TYPE_INT); } else { size_t precision_length; dp->precision_start = cp - 1; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->precision_end = cp; precision_length = dp->precision_end - dp->precision_start; if (max_precision_length < precision_length) max_precision_length = precision_length; } } { arg_type type; /* Parse argument type/size specifiers. */ { int flags = 0; for (;;) { if (*cp == 'h') { flags |= (1 << (flags & 1)); cp++; } else if (*cp == 'L') { flags |= 4; cp++; } else if (*cp == 'l') { flags += 8; cp++; } else if (*cp == 'j') { if (sizeof (intmax_t) > sizeof (long)) { /* intmax_t = long long */ flags += 16; } else if (sizeof (intmax_t) > sizeof (int)) { /* intmax_t = long */ flags += 8; } cp++; } else if (*cp == 'z' || *cp == 'Z') { /* 'z' is standardized in ISO C 99, but glibc uses 'Z' because the warning facility in gcc-2.95.2 understands only 'Z' (see gcc-2.95.2/gcc/c-common.c:1784). */ if (sizeof (size_t) > sizeof (long)) { /* size_t = long long */ flags += 16; } else if (sizeof (size_t) > sizeof (int)) { /* size_t = long */ flags += 8; } cp++; } else if (*cp == 't') { if (sizeof (ptrdiff_t) > sizeof (long)) { /* ptrdiff_t = long long */ flags += 16; } else if (sizeof (ptrdiff_t) > sizeof (int)) { /* ptrdiff_t = long */ flags += 8; } cp++; } #if defined __APPLE__ && defined __MACH__ /* On Mac OS X 10.3, PRIdMAX is defined as "qd". We cannot change it to "lld" because PRIdMAX must also be understood by the system's printf routines. */ else if (*cp == 'q') { if (64 / 8 > sizeof (long)) { /* int64_t = long long */ flags += 16; } else { /* int64_t = long */ flags += 8; } cp++; } #endif #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, PRIdMAX is defined as "I64d". We cannot change it to "lld" because PRIdMAX must also be understood by the system's printf routines. */ else if (*cp == 'I' && cp[1] == '6' && cp[2] == '4') { if (64 / 8 > sizeof (long)) { /* __int64 = long long */ flags += 16; } else { /* __int64 = long */ flags += 8; } cp += 3; } #endif else break; } /* Read the conversion character. */ c = *cp++; switch (c) { case 'd': case 'i': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_LONGLONGINT; else #endif /* If 'long long' exists and is the same as 'long', we parse "lld" into TYPE_LONGINT. */ if (flags >= 8) type = TYPE_LONGINT; else if (flags & 2) type = TYPE_SCHAR; else if (flags & 1) type = TYPE_SHORT; else type = TYPE_INT; break; case 'o': case 'u': case 'x': case 'X': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_ULONGLONGINT; else #endif /* If 'unsigned long long' exists and is the same as 'unsigned long', we parse "llu" into TYPE_ULONGINT. */ if (flags >= 8) type = TYPE_ULONGINT; else if (flags & 2) type = TYPE_UCHAR; else if (flags & 1) type = TYPE_USHORT; else type = TYPE_UINT; break; case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': if (flags >= 16 || (flags & 4)) type = TYPE_LONGDOUBLE; else type = TYPE_DOUBLE; break; case 'c': if (flags >= 8) #if HAVE_WINT_T type = TYPE_WIDE_CHAR; #else goto error; #endif else type = TYPE_CHAR; break; #if HAVE_WINT_T case 'C': type = TYPE_WIDE_CHAR; c = 'c'; break; #endif case 's': if (flags >= 8) #if HAVE_WCHAR_T type = TYPE_WIDE_STRING; #else goto error; #endif else type = TYPE_STRING; break; #if HAVE_WCHAR_T case 'S': type = TYPE_WIDE_STRING; c = 's'; break; #endif case 'p': type = TYPE_POINTER; break; case 'n': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_COUNT_LONGLONGINT_POINTER; else #endif /* If 'long long' exists and is the same as 'long', we parse "lln" into TYPE_COUNT_LONGINT_POINTER. */ if (flags >= 8) type = TYPE_COUNT_LONGINT_POINTER; else if (flags & 2) type = TYPE_COUNT_SCHAR_POINTER; else if (flags & 1) type = TYPE_COUNT_SHORT_POINTER; else type = TYPE_COUNT_INT_POINTER; break; #if ENABLE_UNISTDIO /* The unistdio extensions. */ case 'U': if (flags >= 16) type = TYPE_U32_STRING; else if (flags >= 8) type = TYPE_U16_STRING; else type = TYPE_U8_STRING; break; #endif case '%': type = TYPE_NONE; break; default: /* Unknown conversion character. */ goto error; } } if (type != TYPE_NONE) { dp->arg_index = arg_index; if (dp->arg_index == ARG_NONE) { dp->arg_index = arg_posn++; if (dp->arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->arg_index, type); } dp->conversion = c; dp->dir_end = cp; } d->count++; if (d->count >= d_allocated) { size_t memory_size; DIRECTIVE *memory; d_allocated = xtimes (d_allocated, 2); memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); if (size_overflow_p (memory_size)) /* Overflow, would lead to out of memory. */ goto out_of_memory; memory = (DIRECTIVE *) (d->dir != d->direct_alloc_dir ? realloc (d->dir, memory_size) : malloc (memory_size)); if (memory == NULL) /* Out of memory. */ goto out_of_memory; if (d->dir == d->direct_alloc_dir) memcpy (memory, d->dir, d->count * sizeof (DIRECTIVE)); d->dir = memory; } } #if CHAR_T_ONLY_ASCII else if (!c_isascii (c)) { /* Non-ASCII character. Not supported. */ goto error; } #endif } d->dir[d->count].dir_start = cp; d->max_width_length = max_width_length; d->max_precision_length = max_precision_length; return 0; error: if (a->arg != a->direct_alloc_arg) free (a->arg); if (d->dir != d->direct_alloc_dir) free (d->dir); errno = EINVAL; return -1; out_of_memory: if (a->arg != a->direct_alloc_arg) free (a->arg); if (d->dir != d->direct_alloc_dir) free (d->dir); errno = ENOMEM; return -1; } #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef CHAR_T_ONLY_ASCII #undef CHAR_T gsasl-1.8.1/lib/gl/freading.h0000644000000000000000000000371413516251665012640 00000000000000/* Retrieve information about a FILE stream. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include /* Return true if the stream STREAM is opened read-only, or if the last operation on the stream was a read operation. Return false if the stream is opened write-only or append-only, or if it supports writing and there is no current read operation (such as fgetc). freading and fwriting will never both be true. If STREAM supports both reads and writes, then: - both freading and fwriting might be false when the stream is first opened, after read encounters EOF, or after fflush, - freading might be false or true and fwriting might be false after repositioning (such as fseek, fsetpos, or rewind), depending on the underlying implementation. STREAM must not be wide-character oriented. */ #if HAVE___FREADING && (!defined __GLIBC__ || defined __UCLIBC__ || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 7)) /* Solaris >= 7, Android API >= 29, not glibc >= 2.2, but glibc >= 2.7, or musl libc */ # include # define freading(stream) (__freading (stream) != 0) #else # ifdef __cplusplus extern "C" { # endif extern bool freading (FILE *stream) _GL_ATTRIBUTE_PURE; # ifdef __cplusplus } # endif #endif gsasl-1.8.1/lib/gl/printf-parse.h0000644000000000000000000001221313516251671013462 00000000000000/* Parse printf format string. Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _PRINTF_PARSE_H #define _PRINTF_PARSE_H /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. STATIC Set to 'static' to declare the function static. */ #if HAVE_FEATURES_H # include /* for __GLIBC__, __UCLIBC__ */ #endif #include "printf-args.h" /* Flags */ #define FLAG_GROUP 1 /* ' flag */ #define FLAG_LEFT 2 /* - flag */ #define FLAG_SHOWSIGN 4 /* + flag */ #define FLAG_SPACE 8 /* space flag */ #define FLAG_ALT 16 /* # flag */ #define FLAG_ZERO 32 #if __GLIBC__ >= 2 && !defined __UCLIBC__ # define FLAG_LOCALIZED 64 /* I flag, uses localized digits */ #endif /* arg_index value indicating that no argument is consumed. */ #define ARG_NONE (~(size_t)0) /* xxx_directive: A parsed directive. xxx_directives: A parsed format string. */ /* Number of directly allocated directives (no malloc() needed). */ #define N_DIRECT_ALLOC_DIRECTIVES 7 /* A parsed directive. */ typedef struct { const char* dir_start; const char* dir_end; int flags; const char* width_start; const char* width_end; size_t width_arg_index; const char* precision_start; const char* precision_end; size_t precision_arg_index; char conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } char_directive; /* A parsed format string. */ typedef struct { size_t count; char_directive *dir; size_t max_width_length; size_t max_precision_length; char_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } char_directives; #if ENABLE_UNISTDIO /* A parsed directive. */ typedef struct { const uint8_t* dir_start; const uint8_t* dir_end; int flags; const uint8_t* width_start; const uint8_t* width_end; size_t width_arg_index; const uint8_t* precision_start; const uint8_t* precision_end; size_t precision_arg_index; uint8_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u8_directive; /* A parsed format string. */ typedef struct { size_t count; u8_directive *dir; size_t max_width_length; size_t max_precision_length; u8_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u8_directives; /* A parsed directive. */ typedef struct { const uint16_t* dir_start; const uint16_t* dir_end; int flags; const uint16_t* width_start; const uint16_t* width_end; size_t width_arg_index; const uint16_t* precision_start; const uint16_t* precision_end; size_t precision_arg_index; uint16_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u16_directive; /* A parsed format string. */ typedef struct { size_t count; u16_directive *dir; size_t max_width_length; size_t max_precision_length; u16_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u16_directives; /* A parsed directive. */ typedef struct { const uint32_t* dir_start; const uint32_t* dir_end; int flags; const uint32_t* width_start; const uint32_t* width_end; size_t width_arg_index; const uint32_t* precision_start; const uint32_t* precision_end; size_t precision_arg_index; uint32_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u32_directive; /* A parsed format string. */ typedef struct { size_t count; u32_directive *dir; size_t max_width_length; size_t max_precision_length; u32_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u32_directives; #endif /* Parses the format string. Fills in the number N of directives, and fills in directives[0], ..., directives[N-1], and sets directives[N].dir_start to the end of the format string. Also fills in the arg_type fields of the arguments and the needed count of arguments. */ #if ENABLE_UNISTDIO extern int ulc_printf_parse (const char *format, char_directives *d, arguments *a); extern int u8_printf_parse (const uint8_t *format, u8_directives *d, arguments *a); extern int u16_printf_parse (const uint16_t *format, u16_directives *d, arguments *a); extern int u32_printf_parse (const uint32_t *format, u32_directives *d, arguments *a); #else # ifdef STATIC STATIC # else extern # endif int printf_parse (const char *format, char_directives *d, arguments *a); #endif #endif /* _PRINTF_PARSE_H */ gsasl-1.8.1/lib/gl/sys_uio.in.h0000644000000000000000000000322413516251666013155 00000000000000/* Substitute for . Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif @PRAGMA_COLUMNS@ #ifndef _@GUARD_PREFIX@_SYS_UIO_H #if @HAVE_SYS_UIO_H@ /* On OpenBSD 4.4, assumes prior inclusion of . */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_UIO_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_UIO_H #define _@GUARD_PREFIX@_SYS_UIO_H #if !@HAVE_SYS_UIO_H@ /* A platform that lacks . */ /* Get 'size_t' and 'ssize_t'. */ # include # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_iovec /* All known platforms that lack also lack any declaration of struct iovec in any other header. */ struct iovec { void *iov_base; size_t iov_len; }; # define GNULIB_defined_struct_iovec 1 # endif # ifdef __cplusplus } # endif #endif #endif /* _@GUARD_PREFIX@_SYS_UIO_H */ #endif /* _@GUARD_PREFIX@_SYS_UIO_H */ gsasl-1.8.1/lib/gl/wchar.in.h0000644000000000000000000010545513516251671012574 00000000000000/* A substitute for ISO C99 , for platforms that have issues. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Eric Blake. */ /* * ISO C 99 for platforms that have issues. * * * For now, this just ensures proper prerequisite inclusion order and * the declaration of wcwidth(). */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (((defined __need_mbstate_t || defined __need_wint_t) \ && !defined __MINGW32__) \ || (defined __hpux \ && ((defined _INTTYPES_INCLUDED && !defined strtoimax) \ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \ || defined _GL_ALREADY_INCLUDING_WCHAR_H) /* Special invocation convention: - Inside glibc and uClibc header files, but not MinGW. - On HP-UX 11.00 we have a sequence of nested includes -> -> , and the latter includes , once indirectly -> -> -> and once directly. In both situations 'wint_t' is not yet defined, therefore we cannot provide the function overrides; instead include only the system's . - With MinGW 3.22, when includes , only some part of is actually processed, and that doesn't include 'mbstate_t'. - On IRIX 6.5, similarly, we have an include -> , and the latter includes . But here, we have no way to detect whether is completely included or is still being included. */ #@INCLUDE_NEXT@ @NEXT_WCHAR_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_WCHAR_H #define _GL_ALREADY_INCLUDING_WCHAR_H #if @HAVE_FEATURES_H@ # include /* for __GLIBC__ */ #endif /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . In some builds of uClibc, is nonexistent and wchar_t is defined by . But avoid namespace pollution on glibc systems. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include #endif #ifndef __GLIBC__ # include # include #endif /* Include the original if it exists. Some builds of uClibc lack it. */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_WCHAR_H@ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@ #endif #undef _GL_ALREADY_INCLUDING_WCHAR_H #ifndef _@GUARD_PREFIX@_WCHAR_H #define _@GUARD_PREFIX@_WCHAR_H /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Define wint_t and WEOF. (Also done in wctype.in.h.) */ #if !@HAVE_WINT_T@ && !defined wint_t # define wint_t int # ifndef WEOF # define WEOF -1 # endif #else /* mingw and MSVC define wint_t as 'unsigned short' in or . This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be "unchanged by default argument promotions". Override it. */ # if @GNULIB_OVERRIDES_WINT_T@ # if !GNULIB_defined_wint_t # if @HAVE_CRTDEFS_H@ # include # else # include # endif typedef unsigned int rpl_wint_t; # undef wint_t # define wint_t rpl_wint_t # define GNULIB_defined_wint_t 1 # endif # endif # ifndef WEOF # define WEOF ((wint_t) -1) # endif #endif /* Override mbstate_t if it is too small. On IRIX 6.5, sizeof (mbstate_t) == 1, which is not sufficient for implementing mbrtowc for encodings like UTF-8. */ #if !(@HAVE_MBSINIT@ && @HAVE_MBRTOWC@) || @REPLACE_MBSTATE_T@ # if !GNULIB_defined_mbstate_t typedef int rpl_mbstate_t; # undef mbstate_t # define mbstate_t rpl_mbstate_t # define GNULIB_defined_mbstate_t 1 # endif #endif /* Convert a single-byte character to a wide character. */ #if @GNULIB_BTOWC@ # if @REPLACE_BTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef btowc # define btowc rpl_btowc # endif _GL_FUNCDECL_RPL (btowc, wint_t, (int c) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (btowc, wint_t, (int c)); # else # if !@HAVE_BTOWC@ _GL_FUNCDECL_SYS (btowc, wint_t, (int c) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (btowc, wint_t, (int c)); # endif _GL_CXXALIASWARN (btowc); #elif defined GNULIB_POSIXCHECK # undef btowc # if HAVE_RAW_DECL_BTOWC _GL_WARN_ON_USE (btowc, "btowc is unportable - " "use gnulib module btowc for portability"); # endif #endif /* Convert a wide character to a single-byte character. */ #if @GNULIB_WCTOB@ # if @REPLACE_WCTOB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctob # define wctob rpl_wctob # endif _GL_FUNCDECL_RPL (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wctob, int, (wint_t wc)); # else # if !defined wctob && !@HAVE_DECL_WCTOB@ /* wctob is provided by gnulib, or wctob exists but is not declared. */ _GL_FUNCDECL_SYS (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wctob, int, (wint_t wc)); # endif _GL_CXXALIASWARN (wctob); #elif defined GNULIB_POSIXCHECK # undef wctob # if HAVE_RAW_DECL_WCTOB _GL_WARN_ON_USE (wctob, "wctob is unportable - " "use gnulib module wctob for portability"); # endif #endif /* Test whether *PS is in the initial state. */ #if @GNULIB_MBSINIT@ # if @REPLACE_MBSINIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsinit # define mbsinit rpl_mbsinit # endif _GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps)); _GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps)); # else # if !@HAVE_MBSINIT@ _GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbsinit); #elif defined GNULIB_POSIXCHECK # undef mbsinit # if HAVE_RAW_DECL_MBSINIT _GL_WARN_ON_USE (mbsinit, "mbsinit is unportable - " "use gnulib module mbsinit for portability"); # endif #endif /* Convert a multibyte character to a wide character. */ #if @GNULIB_MBRTOWC@ # if @REPLACE_MBRTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrtowc # define mbrtowc rpl_mbrtowc # endif _GL_FUNCDECL_RPL (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); _GL_CXXALIAS_RPL (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); # else # if !@HAVE_MBRTOWC@ _GL_FUNCDECL_SYS (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (mbrtowc, size_t, (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbrtowc); #elif defined GNULIB_POSIXCHECK # undef mbrtowc # if HAVE_RAW_DECL_MBRTOWC _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - " "use gnulib module mbrtowc for portability"); # endif #endif /* Recognize a multibyte character. */ #if @GNULIB_MBRLEN@ # if @REPLACE_MBRLEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrlen # define mbrlen rpl_mbrlen # endif _GL_FUNCDECL_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); _GL_CXXALIAS_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); # else # if !@HAVE_MBRLEN@ _GL_FUNCDECL_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbrlen); #elif defined GNULIB_POSIXCHECK # undef mbrlen # if HAVE_RAW_DECL_MBRLEN _GL_WARN_ON_USE (mbrlen, "mbrlen is unportable - " "use gnulib module mbrlen for portability"); # endif #endif /* Convert a string to a wide string. */ #if @GNULIB_MBSRTOWCS@ # if @REPLACE_MBSRTOWCS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsrtowcs # define mbsrtowcs rpl_mbsrtowcs # endif _GL_FUNCDECL_RPL (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps)); # else # if !@HAVE_MBSRTOWCS@ _GL_FUNCDECL_SYS (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbsrtowcs); #elif defined GNULIB_POSIXCHECK # undef mbsrtowcs # if HAVE_RAW_DECL_MBSRTOWCS _GL_WARN_ON_USE (mbsrtowcs, "mbsrtowcs is unportable - " "use gnulib module mbsrtowcs for portability"); # endif #endif /* Convert a string to a wide string. */ #if @GNULIB_MBSNRTOWCS@ # if @REPLACE_MBSNRTOWCS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsnrtowcs # define mbsnrtowcs rpl_mbsnrtowcs # endif _GL_FUNCDECL_RPL (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps)); # else # if !@HAVE_MBSNRTOWCS@ _GL_FUNCDECL_SYS (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsnrtowcs, size_t, (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (mbsnrtowcs); #elif defined GNULIB_POSIXCHECK # undef mbsnrtowcs # if HAVE_RAW_DECL_MBSNRTOWCS _GL_WARN_ON_USE (mbsnrtowcs, "mbsnrtowcs is unportable - " "use gnulib module mbsnrtowcs for portability"); # endif #endif /* Convert a wide character to a multibyte character. */ #if @GNULIB_WCRTOMB@ # if @REPLACE_WCRTOMB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcrtomb # define wcrtomb rpl_wcrtomb # endif _GL_FUNCDECL_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); _GL_CXXALIAS_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); # else # if !@HAVE_WCRTOMB@ _GL_FUNCDECL_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); # endif _GL_CXXALIAS_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); # endif _GL_CXXALIASWARN (wcrtomb); #elif defined GNULIB_POSIXCHECK # undef wcrtomb # if HAVE_RAW_DECL_WCRTOMB _GL_WARN_ON_USE (wcrtomb, "wcrtomb is unportable - " "use gnulib module wcrtomb for portability"); # endif #endif /* Convert a wide string to a string. */ #if @GNULIB_WCSRTOMBS@ # if @REPLACE_WCSRTOMBS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsrtombs # define wcsrtombs rpl_wcsrtombs # endif _GL_FUNCDECL_RPL (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps)); # else # if !@HAVE_WCSRTOMBS@ _GL_FUNCDECL_SYS (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (wcsrtombs, size_t, (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (wcsrtombs); #elif defined GNULIB_POSIXCHECK # undef wcsrtombs # if HAVE_RAW_DECL_WCSRTOMBS _GL_WARN_ON_USE (wcsrtombs, "wcsrtombs is unportable - " "use gnulib module wcsrtombs for portability"); # endif #endif /* Convert a wide string to a string. */ #if @GNULIB_WCSNRTOMBS@ # if @REPLACE_WCSNRTOMBS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsnrtombs # define wcsnrtombs rpl_wcsnrtombs # endif _GL_FUNCDECL_RPL (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps)); # else # if !@HAVE_WCSNRTOMBS@ _GL_FUNCDECL_SYS (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (wcsnrtombs, size_t, (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *ps)); # endif _GL_CXXALIASWARN (wcsnrtombs); #elif defined GNULIB_POSIXCHECK # undef wcsnrtombs # if HAVE_RAW_DECL_WCSNRTOMBS _GL_WARN_ON_USE (wcsnrtombs, "wcsnrtombs is unportable - " "use gnulib module wcsnrtombs for portability"); # endif #endif /* Return the number of screen columns needed for WC. */ #if @GNULIB_WCWIDTH@ # if @REPLACE_WCWIDTH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcwidth # define wcwidth rpl_wcwidth # endif _GL_FUNCDECL_RPL (wcwidth, int, (wchar_t) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcwidth, int, (wchar_t)); # else # if !@HAVE_DECL_WCWIDTH@ /* wcwidth exists but is not declared. */ _GL_FUNCDECL_SYS (wcwidth, int, (wchar_t) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcwidth, int, (wchar_t)); # endif _GL_CXXALIASWARN (wcwidth); #elif defined GNULIB_POSIXCHECK # undef wcwidth # if HAVE_RAW_DECL_WCWIDTH _GL_WARN_ON_USE (wcwidth, "wcwidth is unportable - " "use gnulib module wcwidth for portability"); # endif #endif /* Search N wide characters of S for C. */ #if @GNULIB_WMEMCHR@ # if !@HAVE_WMEMCHR@ _GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wmemchr (const wchar_t *, wchar_t, size_t); wchar_t * std::wmemchr (wchar_t *, wchar_t, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (wmemchr, wchar_t *, (const wchar_t *, wchar_t, size_t), const wchar_t *, (const wchar_t *, wchar_t, size_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wmemchr, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); _GL_CXXALIASWARN1 (wmemchr, const wchar_t *, (const wchar_t *s, wchar_t c, size_t n)); # else _GL_CXXALIASWARN (wmemchr); # endif #elif defined GNULIB_POSIXCHECK # undef wmemchr # if HAVE_RAW_DECL_WMEMCHR _GL_WARN_ON_USE (wmemchr, "wmemchr is unportable - " "use gnulib module wmemchr for portability"); # endif #endif /* Compare N wide characters of S1 and S2. */ #if @GNULIB_WMEMCMP@ # if !@HAVE_WMEMCMP@ _GL_FUNCDECL_SYS (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wmemcmp); #elif defined GNULIB_POSIXCHECK # undef wmemcmp # if HAVE_RAW_DECL_WMEMCMP _GL_WARN_ON_USE (wmemcmp, "wmemcmp is unportable - " "use gnulib module wmemcmp for portability"); # endif #endif /* Copy N wide characters of SRC to DEST. */ #if @GNULIB_WMEMCPY@ # if !@HAVE_WMEMCPY@ _GL_FUNCDECL_SYS (wmemcpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wmemcpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wmemcpy); #elif defined GNULIB_POSIXCHECK # undef wmemcpy # if HAVE_RAW_DECL_WMEMCPY _GL_WARN_ON_USE (wmemcpy, "wmemcpy is unportable - " "use gnulib module wmemcpy for portability"); # endif #endif /* Copy N wide characters of SRC to DEST, guaranteeing correct behavior for overlapping memory areas. */ #if @GNULIB_WMEMMOVE@ # if !@HAVE_WMEMMOVE@ _GL_FUNCDECL_SYS (wmemmove, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wmemmove, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wmemmove); #elif defined GNULIB_POSIXCHECK # undef wmemmove # if HAVE_RAW_DECL_WMEMMOVE _GL_WARN_ON_USE (wmemmove, "wmemmove is unportable - " "use gnulib module wmemmove for portability"); # endif #endif /* Set N wide characters of S to C. */ #if @GNULIB_WMEMSET@ # if !@HAVE_WMEMSET@ _GL_FUNCDECL_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); # endif _GL_CXXALIAS_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); _GL_CXXALIASWARN (wmemset); #elif defined GNULIB_POSIXCHECK # undef wmemset # if HAVE_RAW_DECL_WMEMSET _GL_WARN_ON_USE (wmemset, "wmemset is unportable - " "use gnulib module wmemset for portability"); # endif #endif /* Return the number of wide characters in S. */ #if @GNULIB_WCSLEN@ # if !@HAVE_WCSLEN@ _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s)); _GL_CXXALIASWARN (wcslen); #elif defined GNULIB_POSIXCHECK # undef wcslen # if HAVE_RAW_DECL_WCSLEN _GL_WARN_ON_USE (wcslen, "wcslen is unportable - " "use gnulib module wcslen for portability"); # endif #endif /* Return the number of wide characters in S, but at most MAXLEN. */ #if @GNULIB_WCSNLEN@ # if !@HAVE_WCSNLEN@ _GL_FUNCDECL_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen)); _GL_CXXALIASWARN (wcsnlen); #elif defined GNULIB_POSIXCHECK # undef wcsnlen # if HAVE_RAW_DECL_WCSNLEN _GL_WARN_ON_USE (wcsnlen, "wcsnlen is unportable - " "use gnulib module wcsnlen for portability"); # endif #endif /* Copy SRC to DEST. */ #if @GNULIB_WCSCPY@ # if !@HAVE_WCSCPY@ _GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); # endif _GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); _GL_CXXALIASWARN (wcscpy); #elif defined GNULIB_POSIXCHECK # undef wcscpy # if HAVE_RAW_DECL_WCSCPY _GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - " "use gnulib module wcscpy for portability"); # endif #endif /* Copy SRC to DEST, returning the address of the terminating L'\0' in DEST. */ #if @GNULIB_WCPCPY@ # if !@HAVE_WCPCPY@ _GL_FUNCDECL_SYS (wcpcpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); # endif _GL_CXXALIAS_SYS (wcpcpy, wchar_t *, (wchar_t *dest, const wchar_t *src)); _GL_CXXALIASWARN (wcpcpy); #elif defined GNULIB_POSIXCHECK # undef wcpcpy # if HAVE_RAW_DECL_WCPCPY _GL_WARN_ON_USE (wcpcpy, "wcpcpy is unportable - " "use gnulib module wcpcpy for portability"); # endif #endif /* Copy no more than N wide characters of SRC to DEST. */ #if @GNULIB_WCSNCPY@ # if !@HAVE_WCSNCPY@ _GL_FUNCDECL_SYS (wcsncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wcsncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wcsncpy); #elif defined GNULIB_POSIXCHECK # undef wcsncpy # if HAVE_RAW_DECL_WCSNCPY _GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - " "use gnulib module wcsncpy for portability"); # endif #endif /* Copy no more than N characters of SRC to DEST, returning the address of the last character written into DEST. */ #if @GNULIB_WCPNCPY@ # if !@HAVE_WCPNCPY@ _GL_FUNCDECL_SYS (wcpncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wcpncpy, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wcpncpy); #elif defined GNULIB_POSIXCHECK # undef wcpncpy # if HAVE_RAW_DECL_WCPNCPY _GL_WARN_ON_USE (wcpncpy, "wcpncpy is unportable - " "use gnulib module wcpncpy for portability"); # endif #endif /* Append SRC onto DEST. */ #if @GNULIB_WCSCAT@ # if !@HAVE_WCSCAT@ _GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); # endif _GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src)); _GL_CXXALIASWARN (wcscat); #elif defined GNULIB_POSIXCHECK # undef wcscat # if HAVE_RAW_DECL_WCSCAT _GL_WARN_ON_USE (wcscat, "wcscat is unportable - " "use gnulib module wcscat for portability"); # endif #endif /* Append no more than N wide characters of SRC onto DEST. */ #if @GNULIB_WCSNCAT@ # if !@HAVE_WCSNCAT@ _GL_FUNCDECL_SYS (wcsncat, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # endif _GL_CXXALIAS_SYS (wcsncat, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); _GL_CXXALIASWARN (wcsncat); #elif defined GNULIB_POSIXCHECK # undef wcsncat # if HAVE_RAW_DECL_WCSNCAT _GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - " "use gnulib module wcsncat for portability"); # endif #endif /* Compare S1 and S2. */ #if @GNULIB_WCSCMP@ # if !@HAVE_WCSCMP@ _GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2)); _GL_CXXALIASWARN (wcscmp); #elif defined GNULIB_POSIXCHECK # undef wcscmp # if HAVE_RAW_DECL_WCSCMP _GL_WARN_ON_USE (wcscmp, "wcscmp is unportable - " "use gnulib module wcscmp for portability"); # endif #endif /* Compare no more than N wide characters of S1 and S2. */ #if @GNULIB_WCSNCMP@ # if !@HAVE_WCSNCMP@ _GL_FUNCDECL_SYS (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wcsncmp); #elif defined GNULIB_POSIXCHECK # undef wcsncmp # if HAVE_RAW_DECL_WCSNCMP _GL_WARN_ON_USE (wcsncmp, "wcsncmp is unportable - " "use gnulib module wcsncmp for portability"); # endif #endif /* Compare S1 and S2, ignoring case. */ #if @GNULIB_WCSCASECMP@ # if !@HAVE_WCSCASECMP@ _GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2)); _GL_CXXALIASWARN (wcscasecmp); #elif defined GNULIB_POSIXCHECK # undef wcscasecmp # if HAVE_RAW_DECL_WCSCASECMP _GL_WARN_ON_USE (wcscasecmp, "wcscasecmp is unportable - " "use gnulib module wcscasecmp for portability"); # endif #endif /* Compare no more than N chars of S1 and S2, ignoring case. */ #if @GNULIB_WCSNCASECMP@ # if !@HAVE_WCSNCASECMP@ _GL_FUNCDECL_SYS (wcsncasecmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsncasecmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wcsncasecmp); #elif defined GNULIB_POSIXCHECK # undef wcsncasecmp # if HAVE_RAW_DECL_WCSNCASECMP _GL_WARN_ON_USE (wcsncasecmp, "wcsncasecmp is unportable - " "use gnulib module wcsncasecmp for portability"); # endif #endif /* Compare S1 and S2, both interpreted as appropriate to the LC_COLLATE category of the current locale. */ #if @GNULIB_WCSCOLL@ # if !@HAVE_WCSCOLL@ _GL_FUNCDECL_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); # endif _GL_CXXALIAS_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); _GL_CXXALIASWARN (wcscoll); #elif defined GNULIB_POSIXCHECK # undef wcscoll # if HAVE_RAW_DECL_WCSCOLL _GL_WARN_ON_USE (wcscoll, "wcscoll is unportable - " "use gnulib module wcscoll for portability"); # endif #endif /* Transform S2 into array pointed to by S1 such that if wcscmp is applied to two transformed strings the result is the as applying 'wcscoll' to the original strings. */ #if @GNULIB_WCSXFRM@ # if !@HAVE_WCSXFRM@ _GL_FUNCDECL_SYS (wcsxfrm, size_t, (wchar_t *s1, const wchar_t *s2, size_t n)); # endif _GL_CXXALIAS_SYS (wcsxfrm, size_t, (wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wcsxfrm); #elif defined GNULIB_POSIXCHECK # undef wcsxfrm # if HAVE_RAW_DECL_WCSXFRM _GL_WARN_ON_USE (wcsxfrm, "wcsxfrm is unportable - " "use gnulib module wcsxfrm for portability"); # endif #endif /* Duplicate S, returning an identical malloc'd string. */ #if @GNULIB_WCSDUP@ # if !@HAVE_WCSDUP@ _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s)); # endif _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); _GL_CXXALIASWARN (wcsdup); #elif defined GNULIB_POSIXCHECK # undef wcsdup # if HAVE_RAW_DECL_WCSDUP _GL_WARN_ON_USE (wcsdup, "wcsdup is unportable - " "use gnulib module wcsdup for portability"); # endif #endif /* Find the first occurrence of WC in WCS. */ #if @GNULIB_WCSCHR@ # if !@HAVE_WCSCHR@ _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcschr (const wchar_t *, wchar_t); wchar_t * std::wcschr (wchar_t *, wchar_t); } */ _GL_CXXALIAS_SYS_CAST2 (wcschr, wchar_t *, (const wchar_t *, wchar_t), const wchar_t *, (const wchar_t *, wchar_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); # else _GL_CXXALIASWARN (wcschr); # endif #elif defined GNULIB_POSIXCHECK # undef wcschr # if HAVE_RAW_DECL_WCSCHR _GL_WARN_ON_USE (wcschr, "wcschr is unportable - " "use gnulib module wcschr for portability"); # endif #endif /* Find the last occurrence of WC in WCS. */ #if @GNULIB_WCSRCHR@ # if !@HAVE_WCSRCHR@ _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcsrchr (const wchar_t *, wchar_t); wchar_t * std::wcsrchr (wchar_t *, wchar_t); } */ _GL_CXXALIAS_SYS_CAST2 (wcsrchr, wchar_t *, (const wchar_t *, wchar_t), const wchar_t *, (const wchar_t *, wchar_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); # else _GL_CXXALIASWARN (wcsrchr); # endif #elif defined GNULIB_POSIXCHECK # undef wcsrchr # if HAVE_RAW_DECL_WCSRCHR _GL_WARN_ON_USE (wcsrchr, "wcsrchr is unportable - " "use gnulib module wcsrchr for portability"); # endif #endif /* Return the length of the initial segmet of WCS which consists entirely of wide characters not in REJECT. */ #if @GNULIB_WCSCSPN@ # if !@HAVE_WCSCSPN@ _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject)); _GL_CXXALIASWARN (wcscspn); #elif defined GNULIB_POSIXCHECK # undef wcscspn # if HAVE_RAW_DECL_WCSCSPN _GL_WARN_ON_USE (wcscspn, "wcscspn is unportable - " "use gnulib module wcscspn for portability"); # endif #endif /* Return the length of the initial segmet of WCS which consists entirely of wide characters in ACCEPT. */ #if @GNULIB_WCSSPN@ # if !@HAVE_WCSSPN@ _GL_FUNCDECL_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept)); _GL_CXXALIASWARN (wcsspn); #elif defined GNULIB_POSIXCHECK # undef wcsspn # if HAVE_RAW_DECL_WCSSPN _GL_WARN_ON_USE (wcsspn, "wcsspn is unportable - " "use gnulib module wcsspn for portability"); # endif #endif /* Find the first occurrence in WCS of any character in ACCEPT. */ #if @GNULIB_WCSPBRK@ # if !@HAVE_WCSPBRK@ _GL_FUNCDECL_SYS (wcspbrk, wchar_t *, (const wchar_t *wcs, const wchar_t *accept) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcspbrk (const wchar_t *, const wchar_t *); wchar_t * std::wcspbrk (wchar_t *, const wchar_t *); } */ _GL_CXXALIAS_SYS_CAST2 (wcspbrk, wchar_t *, (const wchar_t *, const wchar_t *), const wchar_t *, (const wchar_t *, const wchar_t *)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcspbrk, wchar_t *, (wchar_t *wcs, const wchar_t *accept)); _GL_CXXALIASWARN1 (wcspbrk, const wchar_t *, (const wchar_t *wcs, const wchar_t *accept)); # else _GL_CXXALIASWARN (wcspbrk); # endif #elif defined GNULIB_POSIXCHECK # undef wcspbrk # if HAVE_RAW_DECL_WCSPBRK _GL_WARN_ON_USE (wcspbrk, "wcspbrk is unportable - " "use gnulib module wcspbrk for portability"); # endif #endif /* Find the first occurrence of NEEDLE in HAYSTACK. */ #if @GNULIB_WCSSTR@ # if !@HAVE_WCSSTR@ _GL_FUNCDECL_SYS (wcsstr, wchar_t *, (const wchar_t *haystack, const wchar_t *needle) _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcsstr (const wchar_t *, const wchar_t *); wchar_t * std::wcsstr (wchar_t *, const wchar_t *); } */ _GL_CXXALIAS_SYS_CAST2 (wcsstr, wchar_t *, (const wchar_t *, const wchar_t *), const wchar_t *, (const wchar_t *, const wchar_t *)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) _GL_CXXALIASWARN1 (wcsstr, wchar_t *, (wchar_t *haystack, const wchar_t *needle)); _GL_CXXALIASWARN1 (wcsstr, const wchar_t *, (const wchar_t *haystack, const wchar_t *needle)); # else _GL_CXXALIASWARN (wcsstr); # endif #elif defined GNULIB_POSIXCHECK # undef wcsstr # if HAVE_RAW_DECL_WCSSTR _GL_WARN_ON_USE (wcsstr, "wcsstr is unportable - " "use gnulib module wcsstr for portability"); # endif #endif /* Divide WCS into tokens separated by characters in DELIM. */ #if @GNULIB_WCSTOK@ # if !@HAVE_WCSTOK@ _GL_FUNCDECL_SYS (wcstok, wchar_t *, (wchar_t *wcs, const wchar_t *delim, wchar_t **ptr)); # endif _GL_CXXALIAS_SYS (wcstok, wchar_t *, (wchar_t *wcs, const wchar_t *delim, wchar_t **ptr)); _GL_CXXALIASWARN (wcstok); #elif defined GNULIB_POSIXCHECK # undef wcstok # if HAVE_RAW_DECL_WCSTOK _GL_WARN_ON_USE (wcstok, "wcstok is unportable - " "use gnulib module wcstok for portability"); # endif #endif /* Determine number of column positions required for first N wide characters (or fewer if S ends before this) in S. */ #if @GNULIB_WCSWIDTH@ # if @REPLACE_WCSWIDTH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcswidth # define wcswidth rpl_wcswidth # endif _GL_FUNCDECL_RPL (wcswidth, int, (const wchar_t *s, size_t n) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcswidth, int, (const wchar_t *s, size_t n)); # else # if !@HAVE_WCSWIDTH@ _GL_FUNCDECL_SYS (wcswidth, int, (const wchar_t *s, size_t n) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcswidth, int, (const wchar_t *s, size_t n)); # endif _GL_CXXALIASWARN (wcswidth); #elif defined GNULIB_POSIXCHECK # undef wcswidth # if HAVE_RAW_DECL_WCSWIDTH _GL_WARN_ON_USE (wcswidth, "wcswidth is unportable - " "use gnulib module wcswidth for portability"); # endif #endif /* Convert *TP to a date and time wide string. See . */ #if @GNULIB_WCSFTIME@ # if @REPLACE_WCSFTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsftime # define wcsftime rpl_wcsftime # endif _GL_FUNCDECL_RPL (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp) _GL_ARG_NONNULL ((1, 3, 4))); _GL_CXXALIAS_RPL (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp)); # else # if !@HAVE_WCSFTIME@ _GL_FUNCDECL_SYS (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp) _GL_ARG_NONNULL ((1, 3, 4))); # endif _GL_CXXALIAS_SYS (wcsftime, size_t, (wchar_t *__buf, size_t __bufsize, const wchar_t *__fmt, const struct tm *__tp)); # endif _GL_CXXALIASWARN (wcsftime); #elif defined GNULIB_POSIXCHECK # undef wcsftime # if HAVE_RAW_DECL_WCSFTIME _GL_WARN_ON_USE (wcsftime, "wcsftime is unportable - " "use gnulib module wcsftime for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_WCHAR_H */ #endif /* _@GUARD_PREFIX@_WCHAR_H */ #endif gsasl-1.8.1/lib/gl/asnprintf.c0000644000000000000000000000207613516251670013054 00000000000000/* Formatted output to strings. Copyright (C) 1999, 2002, 2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include /* Specification. */ #include "vasnprintf.h" #include char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) { va_list args; char *result; va_start (args, format); result = vasnprintf (resultbuf, lengthp, format, args); va_end (args); return result; } gsasl-1.8.1/lib/gl/hmac-sha1.c0000644000000000000000000000163513516251670012612 00000000000000/* hmac-sha1.c -- hashed message authentication codes Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include #include "hmac.h" #include "sha1.h" #define GL_HMAC_NAME 1 #define GL_HMAC_BLOCKSIZE 64 #define GL_HMAC_HASHSIZE 20 #include "hmac.c" gsasl-1.8.1/lib/gl/stat-time.h0000644000000000000000000001703213516251666012767 00000000000000/* stat-related time functions. Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ #ifndef STAT_TIME_H #define STAT_TIME_H 1 #include "intprops.h" #include #include #include #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_STAT_TIME_INLINE # define _GL_STAT_TIME_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* STAT_TIMESPEC (ST, ST_XTIM) is the ST_XTIM member for *ST of type struct timespec, if available. If not, then STAT_TIMESPEC_NS (ST, ST_XTIM) is the nanosecond component of the ST_XTIM member for *ST, if available. ST_XTIM can be st_atim, st_ctim, st_mtim, or st_birthtim for access, status change, data modification, or birth (creation) time respectively. These macros are private to stat-time.h. */ #if _GL_WINDOWS_STAT_TIMESPEC || defined HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC # if _GL_WINDOWS_STAT_TIMESPEC || defined TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) # else # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.tv_nsec) # endif #elif defined HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim##espec) #elif defined HAVE_STRUCT_STAT_ST_ATIMENSEC # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim##ensec) #elif defined HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.st__tim.tv_nsec) #endif /* Return the nanosecond component of *ST's access time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_atime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_atim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_atim); # else return 0; # endif } /* Return the nanosecond component of *ST's status change time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_ctime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_ctim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_ctim); # else return 0; # endif } /* Return the nanosecond component of *ST's data modification time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_mtime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_mtim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_mtim); # else return 0; # endif } /* Return the nanosecond component of *ST's birth time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_birthtime_ns (struct stat const *st _GL_UNUSED) { # if defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC return STAT_TIMESPEC (st, st_birthtim).tv_nsec; # elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC return STAT_TIMESPEC_NS (st, st_birthtim); # else return 0; # endif } /* Return *ST's access time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_atime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_atim); #else struct timespec t; t.tv_sec = st->st_atime; t.tv_nsec = get_stat_atime_ns (st); return t; #endif } /* Return *ST's status change time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_ctime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_ctim); #else struct timespec t; t.tv_sec = st->st_ctime; t.tv_nsec = get_stat_ctime_ns (st); return t; #endif } /* Return *ST's data modification time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_mtime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_mtim); #else struct timespec t; t.tv_sec = st->st_mtime; t.tv_nsec = get_stat_mtime_ns (st); return t; #endif } /* Return *ST's birth time, if available; otherwise return a value with tv_sec and tv_nsec both equal to -1. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_birthtime (struct stat const *st _GL_UNUSED) { struct timespec t; #if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC) t = STAT_TIMESPEC (st, st_birthtim); #elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC t.tv_sec = st->st_birthtime; t.tv_nsec = st->st_birthtimensec; #elif defined _WIN32 && ! defined __CYGWIN__ /* Native Windows platforms (but not Cygwin) put the "file creation time" in st_ctime (!). See . */ # if _GL_WINDOWS_STAT_TIMESPEC t = st->st_ctim; # else t.tv_sec = st->st_ctime; t.tv_nsec = 0; # endif #else /* Birth time is not supported. */ t.tv_sec = -1; t.tv_nsec = -1; #endif #if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC) /* FreeBSD and NetBSD sometimes signal the absence of knowledge by using zero. Attempt to work around this problem. Alas, this can report failure even for valid timestamps. Also, NetBSD sometimes returns junk in the birth time fields; work around this bug if it is detected. */ if (! (t.tv_sec && 0 <= t.tv_nsec && t.tv_nsec < 1000000000)) { t.tv_sec = -1; t.tv_nsec = -1; } #endif return t; } /* If a stat-like function returned RESULT, normalize the timestamps in *ST, in case this platform suffers from the Solaris 11 bug where tv_nsec might be negative. Return the adjusted RESULT, setting errno to EOVERFLOW if normalization overflowed. This function is intended to be private to this .h file. */ _GL_STAT_TIME_INLINE int stat_time_normalize (int result, struct stat *st _GL_UNUSED) { #if defined __sun && defined STAT_TIMESPEC if (result == 0) { long int timespec_hz = 1000000000; short int const ts_off[] = { offsetof (struct stat, st_atim), offsetof (struct stat, st_mtim), offsetof (struct stat, st_ctim) }; int i; for (i = 0; i < sizeof ts_off / sizeof *ts_off; i++) { struct timespec *ts = (struct timespec *) ((char *) st + ts_off[i]); long int q = ts->tv_nsec / timespec_hz; long int r = ts->tv_nsec % timespec_hz; if (r < 0) { r += timespec_hz; q--; } ts->tv_nsec = r; /* Overflow is possible, as Solaris 11 stat can yield tv_sec == TYPE_MINIMUM (time_t) && tv_nsec == -1000000000. INT_ADD_WRAPV is OK, since time_t is signed on Solaris. */ if (INT_ADD_WRAPV (q, ts->tv_sec, &ts->tv_sec)) { errno = EOVERFLOW; return -1; } } } #endif return result; } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif gsasl-1.8.1/lib/gl/hmac.c0000644000000000000000000000526513516251666011770 00000000000000/* hmac.c -- hashed message authentication codes Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include #include "memxor.h" #define IPAD 0x36 #define OPAD 0x5c /* Concatenate two preprocessor tokens. */ #define _GLHMAC_CONCAT_(prefix, suffix) prefix##suffix #define _GLHMAC_CONCAT(prefix, suffix) _GLHMAC_CONCAT_ (prefix, suffix) #if GL_HMAC_NAME == 5 # define HMAC_ALG md5 #else # define HMAC_ALG _GLHMAC_CONCAT (sha, GL_HMAC_NAME) #endif #define GL_HMAC_CTX _GLHMAC_CONCAT (HMAC_ALG, _ctx) #define GL_HMAC_FN _GLHMAC_CONCAT (hmac_, HMAC_ALG) #define GL_HMAC_FN_INIT _GLHMAC_CONCAT (HMAC_ALG, _init_ctx) #define GL_HMAC_FN_BLOC _GLHMAC_CONCAT (HMAC_ALG, _process_block) #define GL_HMAC_FN_PROC _GLHMAC_CONCAT (HMAC_ALG, _process_bytes) #define GL_HMAC_FN_FINI _GLHMAC_CONCAT (HMAC_ALG, _finish_ctx) static void hmac_hash (const void *key, size_t keylen, const void *in, size_t inlen, int pad, void *resbuf) { struct GL_HMAC_CTX hmac_ctx; char block[GL_HMAC_BLOCKSIZE]; memset (block, pad, sizeof block); memxor (block, key, keylen); GL_HMAC_FN_INIT (&hmac_ctx); GL_HMAC_FN_BLOC (block, sizeof block, &hmac_ctx); GL_HMAC_FN_PROC (in, inlen, &hmac_ctx); GL_HMAC_FN_FINI (&hmac_ctx, resbuf); } int GL_HMAC_FN (const void *key, size_t keylen, const void *in, size_t inlen, void *resbuf) { char optkeybuf[GL_HMAC_HASHSIZE]; char innerhash[GL_HMAC_HASHSIZE]; /* Ensure key size is <= block size. */ if (keylen > GL_HMAC_BLOCKSIZE) { struct GL_HMAC_CTX keyhash; GL_HMAC_FN_INIT (&keyhash); GL_HMAC_FN_PROC (key, keylen, &keyhash); GL_HMAC_FN_FINI (&keyhash, optkeybuf); key = optkeybuf; /* zero padding of the key to the block size is implicit in the memxor. */ keylen = sizeof optkeybuf; } /* Compute INNERHASH from KEY and IN. */ hmac_hash (key, keylen, in, inlen, IPAD, innerhash); /* Compute result from KEY and INNERHASH. */ hmac_hash (key, keylen, innerhash, sizeof innerhash, OPAD, resbuf); return 0; } gsasl-1.8.1/lib/gl/gc-libgcrypt.c0000644000000000000000000003675113516251670013445 00000000000000/* gc-libgcrypt.c --- Crypto wrappers around Libgcrypt for GC. * Copyright (C) 2002-2019 Free Software Foundation, Inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1, or (at your * option) any later version. * * This file 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this file; if not, see . * */ /* Note: This file is only built if GC uses Libgcrypt. */ #include /* Get prototype. */ #include "gc.h" #include #include /* Get libgcrypt API. */ #include #ifdef GNULIB_GC_MD2 # include "md2.h" #endif #include #ifndef MIN_GCRYPT_VERSION # define MIN_GCRYPT_VERSION "1.4.4" #endif /* Initialization. */ Gc_rc gc_init (void) { gcry_error_t err; err = gcry_control (GCRYCTL_ANY_INITIALIZATION_P); if (err == GPG_ERR_NO_ERROR) { if (gcry_control (GCRYCTL_DISABLE_SECMEM, NULL, 0)) return GC_INIT_ERROR; if (gcry_check_version (MIN_GCRYPT_VERSION) == NULL) return GC_INIT_ERROR; err = gcry_control (GCRYCTL_INITIALIZATION_FINISHED, NULL, 0); if (err != GPG_ERR_NO_ERROR) return GC_INIT_ERROR; } return GC_OK; } void gc_done (void) { return; } #ifdef GNULIB_GC_RANDOM /* Randomness. */ Gc_rc gc_nonce (char *data, size_t datalen) { gcry_create_nonce ((unsigned char *) data, datalen); return GC_OK; } Gc_rc gc_pseudo_random (char *data, size_t datalen) { gcry_randomize ((unsigned char *) data, datalen, GCRY_STRONG_RANDOM); return GC_OK; } Gc_rc gc_random (char *data, size_t datalen) { gcry_randomize ((unsigned char *) data, datalen, GCRY_VERY_STRONG_RANDOM); return GC_OK; } #endif /* Memory allocation. */ void gc_set_allocators (gc_malloc_t func_malloc, gc_malloc_t secure_malloc, gc_secure_check_t secure_check, gc_realloc_t func_realloc, gc_free_t func_free) { gcry_set_allocation_handler (func_malloc, secure_malloc, secure_check, func_realloc, func_free); } /* Ciphers. */ Gc_rc gc_cipher_open (Gc_cipher alg, Gc_cipher_mode mode, gc_cipher_handle * outhandle) { int gcryalg, gcrymode; gcry_error_t err; switch (alg) { case GC_AES128: gcryalg = GCRY_CIPHER_RIJNDAEL; break; case GC_AES192: gcryalg = GCRY_CIPHER_RIJNDAEL; break; case GC_AES256: gcryalg = GCRY_CIPHER_RIJNDAEL256; break; case GC_3DES: gcryalg = GCRY_CIPHER_3DES; break; case GC_DES: gcryalg = GCRY_CIPHER_DES; break; case GC_ARCFOUR128: case GC_ARCFOUR40: gcryalg = GCRY_CIPHER_ARCFOUR; break; case GC_ARCTWO40: gcryalg = GCRY_CIPHER_RFC2268_40; break; #ifdef HAVE_CAMELLIA case GC_CAMELLIA128: gcryalg = GCRY_CIPHER_CAMELLIA128; break; case GC_CAMELLIA256: gcryalg = GCRY_CIPHER_CAMELLIA256; break; #endif default: return GC_INVALID_CIPHER; } switch (mode) { case GC_ECB: gcrymode = GCRY_CIPHER_MODE_ECB; break; case GC_CBC: gcrymode = GCRY_CIPHER_MODE_CBC; break; case GC_STREAM: gcrymode = GCRY_CIPHER_MODE_STREAM; break; default: return GC_INVALID_CIPHER; } err = gcry_cipher_open ((gcry_cipher_hd_t *) outhandle, gcryalg, gcrymode, 0); if (gcry_err_code (err)) return GC_INVALID_CIPHER; return GC_OK; } Gc_rc gc_cipher_setkey (gc_cipher_handle handle, size_t keylen, const char *key) { gcry_error_t err; err = gcry_cipher_setkey ((gcry_cipher_hd_t) handle, key, keylen); if (gcry_err_code (err)) return GC_INVALID_CIPHER; return GC_OK; } Gc_rc gc_cipher_setiv (gc_cipher_handle handle, size_t ivlen, const char *iv) { gcry_error_t err; err = gcry_cipher_setiv ((gcry_cipher_hd_t) handle, iv, ivlen); if (gcry_err_code (err)) return GC_INVALID_CIPHER; return GC_OK; } Gc_rc gc_cipher_encrypt_inline (gc_cipher_handle handle, size_t len, char *data) { if (gcry_cipher_encrypt ((gcry_cipher_hd_t) handle, data, len, NULL, len) != 0) return GC_INVALID_CIPHER; return GC_OK; } Gc_rc gc_cipher_decrypt_inline (gc_cipher_handle handle, size_t len, char *data) { if (gcry_cipher_decrypt ((gcry_cipher_hd_t) handle, data, len, NULL, len) != 0) return GC_INVALID_CIPHER; return GC_OK; } Gc_rc gc_cipher_close (gc_cipher_handle handle) { gcry_cipher_close (handle); return GC_OK; } /* Hashes. */ typedef struct _gc_hash_ctx { Gc_hash alg; Gc_hash_mode mode; gcry_md_hd_t gch; #ifdef GNULIB_GC_MD2 char hash[GC_MD2_DIGEST_SIZE]; struct md2_ctx md2Context; #endif } _gc_hash_ctx; Gc_rc gc_hash_open (Gc_hash hash, Gc_hash_mode mode, gc_hash_handle * outhandle) { _gc_hash_ctx *ctx; int gcryalg = 0, gcrymode = 0; gcry_error_t err; Gc_rc rc = GC_OK; ctx = calloc (sizeof (*ctx), 1); if (!ctx) return GC_MALLOC_ERROR; ctx->alg = hash; ctx->mode = mode; switch (hash) { case GC_MD2: gcryalg = GCRY_MD_NONE; break; case GC_MD4: gcryalg = GCRY_MD_MD4; break; case GC_MD5: gcryalg = GCRY_MD_MD5; break; case GC_SHA1: gcryalg = GCRY_MD_SHA1; break; case GC_SHA256: gcryalg = GCRY_MD_SHA256; break; case GC_SHA384: gcryalg = GCRY_MD_SHA384; break; case GC_SHA512: gcryalg = GCRY_MD_SHA512; break; case GC_SHA224: gcryalg = GCRY_MD_SHA224; break; case GC_RMD160: gcryalg = GCRY_MD_RMD160; break; #ifdef GNULIB_GC_SM3 case GC_SM3: gcryalg = GCRY_MD_SM3; break; #endif default: rc = GC_INVALID_HASH; } switch (mode) { case GC_NULL: gcrymode = 0; break; case GC_HMAC: gcrymode = GCRY_MD_FLAG_HMAC; break; default: rc = GC_INVALID_HASH; } if (rc == GC_OK && gcryalg != GCRY_MD_NONE) { err = gcry_md_open (&ctx->gch, gcryalg, gcrymode); if (gcry_err_code (err)) rc = GC_INVALID_HASH; } if (rc == GC_OK) *outhandle = ctx; else free (ctx); return rc; } Gc_rc gc_hash_clone (gc_hash_handle handle, gc_hash_handle * outhandle) { _gc_hash_ctx *in = handle; _gc_hash_ctx *out; int err; *outhandle = out = calloc (sizeof (*out), 1); if (!out) return GC_MALLOC_ERROR; memcpy (out, in, sizeof (*out)); err = gcry_md_copy (&out->gch, in->gch); if (err) { free (out); return GC_INVALID_HASH; } return GC_OK; } size_t gc_hash_digest_length (Gc_hash hash) { size_t len; switch (hash) { case GC_MD2: len = GC_MD2_DIGEST_SIZE; break; case GC_MD4: len = GC_MD4_DIGEST_SIZE; break; case GC_MD5: len = GC_MD5_DIGEST_SIZE; break; case GC_RMD160: len = GC_RMD160_DIGEST_SIZE; break; case GC_SHA1: len = GC_SHA1_DIGEST_SIZE; break; case GC_SHA256: len = GC_SHA256_DIGEST_SIZE; break; case GC_SHA384: len = GC_SHA384_DIGEST_SIZE; break; case GC_SHA512: len = GC_SHA512_DIGEST_SIZE; break; case GC_SHA224: len = GC_SHA224_DIGEST_SIZE; break; case GC_SM3: len = GC_SM3_DIGEST_SIZE; break; default: return 0; } return len; } void gc_hash_hmac_setkey (gc_hash_handle handle, size_t len, const char *key) { _gc_hash_ctx *ctx = handle; #ifdef GNULIB_GC_MD2 if (ctx->alg != GC_MD2) #endif gcry_md_setkey (ctx->gch, key, len); } void gc_hash_write (gc_hash_handle handle, size_t len, const char *data) { _gc_hash_ctx *ctx = handle; #ifdef GNULIB_GC_MD2 if (ctx->alg == GC_MD2) md2_process_bytes (data, len, &ctx->md2Context); else #endif gcry_md_write (ctx->gch, data, len); } const char * gc_hash_read (gc_hash_handle handle) { _gc_hash_ctx *ctx = handle; const char *digest; #ifdef GNULIB_GC_MD2 if (ctx->alg == GC_MD2) { md2_finish_ctx (&ctx->md2Context, ctx->hash); digest = ctx->hash; } else #endif { gcry_md_final (ctx->gch); digest = (const char *) gcry_md_read (ctx->gch, 0); } return digest; } void gc_hash_close (gc_hash_handle handle) { _gc_hash_ctx *ctx = handle; #ifdef GNULIB_GC_MD2 if (ctx->alg != GC_MD2) #endif gcry_md_close (ctx->gch); free (ctx); } Gc_rc gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *resbuf) { int gcryalg; switch (hash) { #ifdef GNULIB_GC_MD2 case GC_MD2: md2_buffer (in, inlen, resbuf); return GC_OK; break; #endif #ifdef GNULIB_GC_MD4 case GC_MD4: gcryalg = GCRY_MD_MD4; break; #endif #ifdef GNULIB_GC_MD5 case GC_MD5: gcryalg = GCRY_MD_MD5; break; #endif #ifdef GNULIB_GC_SHA1 case GC_SHA1: gcryalg = GCRY_MD_SHA1; break; #endif #ifdef GNULIB_GC_SHA256 case GC_SHA256: gcryalg = GCRY_MD_SHA256; break; #endif #ifdef GNULIB_GC_SHA384 case GC_SHA384: gcryalg = GCRY_MD_SHA384; break; #endif #ifdef GNULIB_GC_SHA512 case GC_SHA512: gcryalg = GCRY_MD_SHA512; break; #endif #ifdef GNULIB_GC_SHA224 case GC_SHA224: gcryalg = GCRY_MD_SHA224; break; #endif #ifdef GNULIB_GC_RMD160 case GC_RMD160: gcryalg = GCRY_MD_RMD160; break; #endif #ifdef GNULIB_GC_SM3 case GC_SM3: gcryalg = GCRY_MD_SM3; break; #endif default: return GC_INVALID_HASH; } gcry_md_hash_buffer (gcryalg, resbuf, in, inlen); return GC_OK; } /* One-call interface. */ #ifdef GNULIB_GC_MD2 Gc_rc gc_md2 (const void *in, size_t inlen, void *resbuf) { md2_buffer (in, inlen, resbuf); return GC_OK; } #endif #ifdef GNULIB_GC_MD4 Gc_rc gc_md4 (const void *in, size_t inlen, void *resbuf) { size_t outlen = gcry_md_get_algo_dlen (GCRY_MD_MD4); gcry_md_hd_t hd; gpg_error_t err; unsigned char *p; assert (outlen == GC_MD4_DIGEST_SIZE); err = gcry_md_open (&hd, GCRY_MD_MD4, 0); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; gcry_md_write (hd, in, inlen); p = gcry_md_read (hd, GCRY_MD_MD4); if (p == NULL) { gcry_md_close (hd); return GC_INVALID_HASH; } memcpy (resbuf, p, outlen); gcry_md_close (hd); return GC_OK; } #endif #ifdef GNULIB_GC_MD5 Gc_rc gc_md5 (const void *in, size_t inlen, void *resbuf) { size_t outlen = gcry_md_get_algo_dlen (GCRY_MD_MD5); gcry_md_hd_t hd; gpg_error_t err; unsigned char *p; assert (outlen == GC_MD5_DIGEST_SIZE); err = gcry_md_open (&hd, GCRY_MD_MD5, 0); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; gcry_md_write (hd, in, inlen); p = gcry_md_read (hd, GCRY_MD_MD5); if (p == NULL) { gcry_md_close (hd); return GC_INVALID_HASH; } memcpy (resbuf, p, outlen); gcry_md_close (hd); return GC_OK; } #endif #ifdef GNULIB_GC_SHA1 Gc_rc gc_sha1 (const void *in, size_t inlen, void *resbuf) { size_t outlen = gcry_md_get_algo_dlen (GCRY_MD_SHA1); gcry_md_hd_t hd; gpg_error_t err; unsigned char *p; assert (outlen == GC_SHA1_DIGEST_SIZE); err = gcry_md_open (&hd, GCRY_MD_SHA1, 0); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; gcry_md_write (hd, in, inlen); p = gcry_md_read (hd, GCRY_MD_SHA1); if (p == NULL) { gcry_md_close (hd); return GC_INVALID_HASH; } memcpy (resbuf, p, outlen); gcry_md_close (hd); return GC_OK; } #endif #ifdef GNULIB_GC_SM3 Gc_rc gc_sm3 (const void *in, size_t inlen, void *resbuf) { size_t outlen = gcry_md_get_algo_dlen (GCRY_MD_SM3); gcry_md_hd_t hd; gpg_error_t err; unsigned char *p; assert (outlen == GC_SM3_DIGEST_SIZE); err = gcry_md_open (&hd, GCRY_MD_SM3, 0); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; gcry_md_write (hd, in, inlen); p = gcry_md_read (hd, GCRY_MD_SM3); if (p == NULL) { gcry_md_close (hd); return GC_INVALID_HASH; } memcpy (resbuf, p, outlen); gcry_md_close (hd); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_MD5 Gc_rc gc_hmac_md5 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { size_t hlen = gcry_md_get_algo_dlen (GCRY_MD_MD5); gcry_md_hd_t mdh; unsigned char *hash; gpg_error_t err; assert (hlen == GC_MD5_DIGEST_SIZE); err = gcry_md_open (&mdh, GCRY_MD_MD5, GCRY_MD_FLAG_HMAC); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; err = gcry_md_setkey (mdh, key, keylen); if (err != GPG_ERR_NO_ERROR) { gcry_md_close (mdh); return GC_INVALID_HASH; } gcry_md_write (mdh, in, inlen); hash = gcry_md_read (mdh, GCRY_MD_MD5); if (hash == NULL) { gcry_md_close (mdh); return GC_INVALID_HASH; } memcpy (resbuf, hash, hlen); gcry_md_close (mdh); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_SHA1 Gc_rc gc_hmac_sha1 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { size_t hlen = gcry_md_get_algo_dlen (GCRY_MD_SHA1); gcry_md_hd_t mdh; unsigned char *hash; gpg_error_t err; assert (hlen == GC_SHA1_DIGEST_SIZE); err = gcry_md_open (&mdh, GCRY_MD_SHA1, GCRY_MD_FLAG_HMAC); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; err = gcry_md_setkey (mdh, key, keylen); if (err != GPG_ERR_NO_ERROR) { gcry_md_close (mdh); return GC_INVALID_HASH; } gcry_md_write (mdh, in, inlen); hash = gcry_md_read (mdh, GCRY_MD_SHA1); if (hash == NULL) { gcry_md_close (mdh); return GC_INVALID_HASH; } memcpy (resbuf, hash, hlen); gcry_md_close (mdh); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_SHA256 Gc_rc gc_hmac_sha256 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { size_t hlen = gcry_md_get_algo_dlen (GCRY_MD_SHA256); gcry_md_hd_t mdh; unsigned char *hash; gpg_error_t err; assert (hlen == GC_SHA256_DIGEST_SIZE); err = gcry_md_open (&mdh, GCRY_MD_SHA256, GCRY_MD_FLAG_HMAC); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; err = gcry_md_setkey (mdh, key, keylen); if (err != GPG_ERR_NO_ERROR) { gcry_md_close (mdh); return GC_INVALID_HASH; } gcry_md_write (mdh, in, inlen); hash = gcry_md_read (mdh, GCRY_MD_SHA256); if (hash == NULL) { gcry_md_close (mdh); return GC_INVALID_HASH; } memcpy (resbuf, hash, hlen); gcry_md_close (mdh); return GC_OK; } #endif #ifdef GNULIB_GC_HMAC_SHA512 Gc_rc gc_hmac_sha512 (const void *key, size_t keylen, const void *in, size_t inlen, char *resbuf) { size_t hlen = gcry_md_get_algo_dlen (GCRY_MD_SHA512); gcry_md_hd_t mdh; unsigned char *hash; gpg_error_t err; assert (hlen == GC_SHA512_DIGEST_SIZE); err = gcry_md_open (&mdh, GCRY_MD_SHA512, GCRY_MD_FLAG_HMAC); if (err != GPG_ERR_NO_ERROR) return GC_INVALID_HASH; err = gcry_md_setkey (mdh, key, keylen); if (err != GPG_ERR_NO_ERROR) { gcry_md_close (mdh); return GC_INVALID_HASH; } gcry_md_write (mdh, in, inlen); hash = gcry_md_read (mdh, GCRY_MD_SHA512); if (hash == NULL) { gcry_md_close (mdh); return GC_INVALID_HASH; } memcpy (resbuf, hash, hlen); gcry_md_close (mdh); return GC_OK; } #endif gsasl-1.8.1/lib/gl/hmac-md5.c0000644000000000000000000000163313516251670012441 00000000000000/* hmac-md5.c -- hashed message authentication codes Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include #include "hmac.h" #include "md5.h" #define GL_HMAC_NAME 5 #define GL_HMAC_BLOCKSIZE 64 #define GL_HMAC_HASHSIZE 16 #include "hmac.c" gsasl-1.8.1/lib/gl/cdefs.h0000644000000000000000000004364013516251665012147 00000000000000/* Copyright (C) 1992-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _SYS_CDEFS_H #define _SYS_CDEFS_H 1 /* We are almost always included from features.h. */ #ifndef _FEATURES_H # include #endif /* The GNU libc does not support any K&R compilers or the traditional mode of ISO C compilers anymore. Check for some of the combinations not anymore supported. */ #if defined __GNUC__ && !defined __STDC__ # error "You need a ISO C conforming compiler to use the glibc headers" #endif /* Some user header file might have defined this before. */ #undef __P #undef __PMT #ifdef __GNUC__ /* All functions, except those with callbacks or those that synchronize memory, are leaf functions. */ # if __GNUC_PREREQ (4, 6) && !defined _LIBC # define __LEAF , __leaf__ # define __LEAF_ATTR __attribute__ ((__leaf__)) # else # define __LEAF # define __LEAF_ATTR # endif /* GCC can always grok prototypes. For C++ programs we add throw() to help it optimize the function calls. But this works only with gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions as non-throwing using a function attribute since programs can use the -fexceptions options for C code as well. */ # if !defined __cplusplus && __GNUC_PREREQ (3, 3) # define __THROW __attribute__ ((__nothrow__ __LEAF)) # define __THROWNL __attribute__ ((__nothrow__)) # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct # define __NTHNL(fct) __attribute__ ((__nothrow__)) fct # else # if defined __cplusplus && __GNUC_PREREQ (2,8) # define __THROW throw () # define __THROWNL throw () # define __NTH(fct) __LEAF_ATTR fct throw () # define __NTHNL(fct) fct throw () # else # define __THROW # define __THROWNL # define __NTH(fct) fct # define __NTHNL(fct) fct # endif # endif #else /* Not GCC. */ # if (defined __cplusplus \ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)) # define __inline inline # else # define __inline /* No inline functions. */ # endif # define __THROW # define __THROWNL # define __NTH(fct) fct #endif /* GCC. */ /* Compilers that are not clang may object to #if defined __clang__ && __has_extension(...) even though they do not need to evaluate the right-hand side of the &&. */ #if defined __clang__ && defined __has_extension # define __glibc_clang_has_extension(ext) __has_extension (ext) #else # define __glibc_clang_has_extension(ext) 0 #endif /* These two macros are not used in glibc anymore. They are kept here only because some other projects expect the macros to be defined. */ #define __P(args) args #define __PMT(args) args /* For these things, GCC behaves the ANSI way normally, and the non-ANSI way under -traditional. */ #define __CONCAT(x,y) x ## y #define __STRING(x) #x /* This is not a typedef so `const __ptr_t' does the right thing. */ #define __ptr_t void * /* C++ needs to know that types and declarations are C, not C++. */ #ifdef __cplusplus # define __BEGIN_DECLS extern "C" { # define __END_DECLS } #else # define __BEGIN_DECLS # define __END_DECLS #endif /* Fortify support. */ #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) #define __bos0(ptr) __builtin_object_size (ptr, 0) #if __GNUC_PREREQ (4,3) # define __warndecl(name, msg) \ extern void name (void) __attribute__((__warning__ (msg))) # define __warnattr(msg) __attribute__((__warning__ (msg))) # define __errordecl(name, msg) \ extern void name (void) __attribute__((__error__ (msg))) #else # define __warndecl(name, msg) extern void name (void) # define __warnattr(msg) # define __errordecl(name, msg) extern void name (void) #endif /* Support for flexible arrays. Headers that should use flexible arrays only if they're "real" (e.g. only if they won't affect sizeof()) should test #if __glibc_c99_flexarr_available. */ #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __HP_cc # define __flexarr [] # define __glibc_c99_flexarr_available 1 #elif __GNUC_PREREQ (2,97) /* GCC 2.97 supports C99 flexible array members as an extension, even when in C89 mode or compiling C++ (any version). */ # define __flexarr [] # define __glibc_c99_flexarr_available 1 #elif defined __GNUC__ /* Pre-2.97 GCC did not support C99 flexible arrays but did have an equivalent extension with slightly different notation. */ # define __flexarr [0] # define __glibc_c99_flexarr_available 1 #else /* Some other non-C99 compiler. Approximate with [1]. */ # define __flexarr [1] # define __glibc_c99_flexarr_available 0 #endif /* __asm__ ("xyz") is used throughout the headers to rename functions at the assembly language level. This is wrapped by the __REDIRECT macro, in order to support compilers that can do this some other way. When compilers don't support asm-names at all, we have to do preprocessor tricks instead (which don't have exactly the right semantics, but it's the best we can do). Example: int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); */ #if defined __GNUC__ && __GNUC__ >= 2 # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) # ifdef __cplusplus # define __REDIRECT_NTH(name, proto, alias) \ name proto __THROW __asm__ (__ASMNAME (#alias)) # define __REDIRECT_NTHNL(name, proto, alias) \ name proto __THROWNL __asm__ (__ASMNAME (#alias)) # else # define __REDIRECT_NTH(name, proto, alias) \ name proto __asm__ (__ASMNAME (#alias)) __THROW # define __REDIRECT_NTHNL(name, proto, alias) \ name proto __asm__ (__ASMNAME (#alias)) __THROWNL # endif # define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname) # define __ASMNAME2(prefix, cname) __STRING (prefix) cname /* #elif __SOME_OTHER_COMPILER__ # define __REDIRECT(name, proto, alias) name proto; \ _Pragma("let " #name " = " #alias) */ #endif /* GCC has various useful declarations that can be made with the `__attribute__' syntax. All of the ways we use this do fine if they are omitted for compilers that don't understand it. */ #if !defined __GNUC__ || __GNUC__ < 2 # define __attribute__(xyz) /* Ignore */ #endif /* At some point during the gcc 2.96 development the `malloc' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (2,96) # define __attribute_malloc__ __attribute__ ((__malloc__)) #else # define __attribute_malloc__ /* Ignore */ #endif /* Tell the compiler which arguments to an allocation function indicate the size of the allocation. */ #if __GNUC_PREREQ (4, 3) # define __attribute_alloc_size__(params) \ __attribute__ ((__alloc_size__ params)) #else # define __attribute_alloc_size__(params) /* Ignore. */ #endif /* At some point during the gcc 2.96 development the `pure' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (2,96) # define __attribute_pure__ __attribute__ ((__pure__)) #else # define __attribute_pure__ /* Ignore */ #endif /* This declaration tells the compiler that the value is constant. */ #if __GNUC_PREREQ (2,5) # define __attribute_const__ __attribute__ ((__const__)) #else # define __attribute_const__ /* Ignore */ #endif /* At some point during the gcc 3.1 development the `used' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (3,1) # define __attribute_used__ __attribute__ ((__used__)) # define __attribute_noinline__ __attribute__ ((__noinline__)) #else # define __attribute_used__ __attribute__ ((__unused__)) # define __attribute_noinline__ /* Ignore */ #endif /* Since version 3.2, gcc allows marking deprecated functions. */ #if __GNUC_PREREQ (3,2) # define __attribute_deprecated__ __attribute__ ((__deprecated__)) #else # define __attribute_deprecated__ /* Ignore */ #endif /* Since version 4.5, gcc also allows one to specify the message printed when a deprecated function is used. clang claims to be gcc 4.2, but may also support this feature. */ #if __GNUC_PREREQ (4,5) || \ __glibc_clang_has_extension (__attribute_deprecated_with_message__) # define __attribute_deprecated_msg__(msg) \ __attribute__ ((__deprecated__ (msg))) #else # define __attribute_deprecated_msg__(msg) __attribute_deprecated__ #endif /* At some point during the gcc 2.8 development the `format_arg' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. If several `format_arg' attributes are given for the same function, in gcc-3.0 and older, all but the last one are ignored. In newer gccs, all designated arguments are considered. */ #if __GNUC_PREREQ (2,8) # define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x))) #else # define __attribute_format_arg__(x) /* Ignore */ #endif /* At some point during the gcc 2.97 development the `strfmon' format attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (2,97) # define __attribute_format_strfmon__(a,b) \ __attribute__ ((__format__ (__strfmon__, a, b))) #else # define __attribute_format_strfmon__(a,b) /* Ignore */ #endif /* The nonnull function attribute marks pointer parameters that must not be NULL. Do not define __nonnull if it is already defined, for portability when this file is used in Gnulib. */ #ifndef __nonnull # if __GNUC_PREREQ (3,3) # define __nonnull(params) __attribute__ ((__nonnull__ params)) # else # define __nonnull(params) # endif #endif /* If fortification mode, we warn about unused results of certain function calls which can lead to problems. */ #if __GNUC_PREREQ (3,4) # define __attribute_warn_unused_result__ \ __attribute__ ((__warn_unused_result__)) # if defined __USE_FORTIFY_LEVEL && __USE_FORTIFY_LEVEL > 0 # define __wur __attribute_warn_unused_result__ # endif #else # define __attribute_warn_unused_result__ /* empty */ #endif #ifndef __wur # define __wur /* Ignore */ #endif /* Forces a function to be always inlined. */ #if __GNUC_PREREQ (3,2) /* The Linux kernel defines __always_inline in stddef.h (283d7573), and it conflicts with this definition. Therefore undefine it first to allow either header to be included first. */ # undef __always_inline # define __always_inline __inline __attribute__ ((__always_inline__)) #else # undef __always_inline # define __always_inline __inline #endif /* Associate error messages with the source location of the call site rather than with the source location inside the function. */ #if __GNUC_PREREQ (4,3) # define __attribute_artificial__ __attribute__ ((__artificial__)) #else # define __attribute_artificial__ /* Ignore */ #endif /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions older than 4.3 may define these macros and still not guarantee GNU inlining semantics. clang++ identifies itself as gcc-4.2, but has support for GNU inlining semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and __GNUC_GNU_INLINE__ macro definitions. */ #if (!defined __cplusplus || __GNUC_PREREQ (4,3) \ || (defined __clang__ && (defined __GNUC_STDC_INLINE__ \ || defined __GNUC_GNU_INLINE__))) # if defined __GNUC_STDC_INLINE__ || defined __cplusplus # define __extern_inline extern __inline __attribute__ ((__gnu_inline__)) # define __extern_always_inline \ extern __always_inline __attribute__ ((__gnu_inline__)) # else # define __extern_inline extern __inline # define __extern_always_inline extern __always_inline # endif #endif #ifdef __extern_always_inline # define __fortify_function __extern_always_inline __attribute_artificial__ #endif /* GCC 4.3 and above allow passing all anonymous arguments of an __extern_always_inline function to some other vararg function. */ #if __GNUC_PREREQ (4,3) # define __va_arg_pack() __builtin_va_arg_pack () # define __va_arg_pack_len() __builtin_va_arg_pack_len () #endif /* It is possible to compile containing GCC extensions even if GCC is run in pedantic mode if the uses are carefully marked using the `__extension__' keyword. But this is not generally available before version 2.8. */ #if !__GNUC_PREREQ (2,8) # define __extension__ /* Ignore */ #endif /* __restrict is known in EGCS 1.2 and above. */ #if !__GNUC_PREREQ (2,92) # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L # define __restrict restrict # else # define __restrict /* Ignore */ # endif #endif /* ISO C99 also allows to declare arrays as non-overlapping. The syntax is array_name[restrict] GCC 3.1 supports this. */ #if __GNUC_PREREQ (3,1) && !defined __GNUG__ # define __restrict_arr __restrict #else # ifdef __GNUC__ # define __restrict_arr /* Not supported in old GCC. */ # else # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L # define __restrict_arr restrict # else /* Some other non-C99 compiler. */ # define __restrict_arr /* Not supported. */ # endif # endif #endif #if __GNUC__ >= 3 # define __glibc_unlikely(cond) __builtin_expect ((cond), 0) # define __glibc_likely(cond) __builtin_expect ((cond), 1) #else # define __glibc_unlikely(cond) (cond) # define __glibc_likely(cond) (cond) #endif #ifdef __has_attribute # define __glibc_has_attribute(attr) __has_attribute (attr) #else # define __glibc_has_attribute(attr) 0 #endif #if (!defined _Noreturn \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && !__GNUC_PREREQ (4,7)) # if __GNUC_PREREQ (2,8) # define _Noreturn __attribute__ ((__noreturn__)) # else # define _Noreturn # endif #endif #if __GNUC_PREREQ (8, 0) /* Describes a char array whose address can safely be passed as the first argument to strncpy and strncat, as the char array is not necessarily a NUL-terminated string. */ # define __attribute_nonstring__ __attribute__ ((__nonstring__)) #else # define __attribute_nonstring__ #endif #if (!defined _Static_assert && !defined __cplusplus \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && (!__GNUC_PREREQ (4, 6) || defined __STRICT_ANSI__)) # define _Static_assert(expr, diagnostic) \ extern int (*__Static_assert_function (void)) \ [!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })] #endif /* The #ifndef lets Gnulib avoid including these on non-glibc platforms, where the includes typically do not exist. */ #ifndef __WORDSIZE # include # include #endif #if defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH # define __LDBL_COMPAT 1 # ifdef __REDIRECT # define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias) # define __LDBL_REDIR(name, proto) \ __LDBL_REDIR1 (name, proto, __nldbl_##name) # define __LDBL_REDIR1_NTH(name, proto, alias) __REDIRECT_NTH (name, proto, alias) # define __LDBL_REDIR_NTH(name, proto) \ __LDBL_REDIR1_NTH (name, proto, __nldbl_##name) # define __LDBL_REDIR1_DECL(name, alias) \ extern __typeof (name) name __asm (__ASMNAME (#alias)); # define __LDBL_REDIR_DECL(name) \ extern __typeof (name) name __asm (__ASMNAME ("__nldbl_" #name)); # define __REDIRECT_LDBL(name, proto, alias) \ __LDBL_REDIR1 (name, proto, __nldbl_##alias) # define __REDIRECT_NTH_LDBL(name, proto, alias) \ __LDBL_REDIR1_NTH (name, proto, __nldbl_##alias) # endif #endif #if !defined __LDBL_COMPAT || !defined __REDIRECT # define __LDBL_REDIR1(name, proto, alias) name proto # define __LDBL_REDIR(name, proto) name proto # define __LDBL_REDIR1_NTH(name, proto, alias) name proto __THROW # define __LDBL_REDIR_NTH(name, proto) name proto __THROW # define __LDBL_REDIR_DECL(name) # ifdef __REDIRECT # define __REDIRECT_LDBL(name, proto, alias) __REDIRECT (name, proto, alias) # define __REDIRECT_NTH_LDBL(name, proto, alias) \ __REDIRECT_NTH (name, proto, alias) # endif #endif /* __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is intended for use in preprocessor macros. Note: MESSAGE must be a _single_ string; concatenation of string literals is not supported. */ #if __GNUC_PREREQ (4,8) || __glibc_clang_prereq (3,5) # define __glibc_macro_warning1(message) _Pragma (#message) # define __glibc_macro_warning(message) \ __glibc_macro_warning1 (GCC warning message) #else # define __glibc_macro_warning(msg) #endif /* Generic selection (ISO C11) is a C-only feature, available in GCC since version 4.9. Previous versions do not provide generic selection, even though they might set __STDC_VERSION__ to 201112L, when in -std=c11 mode. Thus, we must check for !defined __GNUC__ when testing __STDC_VERSION__ for generic selection support. On the other hand, Clang also defines __GNUC__, so a clang-specific check is required to enable the use of generic selection. */ #if !defined __cplusplus \ && (__GNUC_PREREQ (4, 9) \ || __glibc_clang_has_extension (c_generic_selections) \ || (!defined __GNUC__ && defined __STDC_VERSION__ \ && __STDC_VERSION__ >= 201112L)) # define __HAVE_GENERIC_SELECTION 1 #else # define __HAVE_GENERIC_SELECTION 0 #endif #endif /* sys/cdefs.h */ gsasl-1.8.1/lib/gl/stdbool.in.h0000644000000000000000000001177713516251671013141 00000000000000/* Copyright (C) 2001-2003, 2006-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _GL_STDBOOL_H #define _GL_STDBOOL_H /* ISO C 99 for platforms that lack it. */ /* Usage suggestions: Programs that use should be aware of some limitations and standards compliance issues. Standards compliance: - must be #included before 'bool', 'false', 'true' can be used. - You cannot assume that sizeof (bool) == 1. - Programs should not undefine the macros bool, true, and false, as C99 lists that as an "obsolescent feature". Limitations of this substitute, when used in a C89 environment: - must be #included before the '_Bool' type can be used. - You cannot assume that _Bool is a typedef; it might be a macro. - Bit-fields of type 'bool' are not supported. Portable code should use 'unsigned int foo : 1;' rather than 'bool foo : 1;'. - In C99, casts and automatic conversions to '_Bool' or 'bool' are performed in such a way that every nonzero value gets converted to 'true', and zero gets converted to 'false'. This doesn't work with this substitute. With this substitute, only the values 0 and 1 give the expected result when converted to _Bool' or 'bool'. - C99 allows the use of (_Bool)0.0 in constant expressions, but this substitute cannot always provide this property. Also, it is suggested that programs use 'bool' rather than '_Bool'; this isn't required, but 'bool' is more common. */ /* 7.16. Boolean type and values */ /* BeOS already #defines false 0, true 1. We use the same definitions below, but temporarily we have to #undef them. */ #if defined __BEOS__ && !defined __HAIKU__ # include /* defines bool but not _Bool */ # undef false # undef true #endif #ifdef __cplusplus # define _Bool bool # define bool bool #else # if defined __BEOS__ && !defined __HAIKU__ /* A compiler known to have 'bool'. */ /* If the compiler already has both 'bool' and '_Bool', we can assume they are the same types. */ # if !@HAVE__BOOL@ typedef bool _Bool; # endif # else # if !defined __GNUC__ /* If @HAVE__BOOL@: Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when the built-in _Bool type is used. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html Similar bugs are likely with other compilers as well; this file wouldn't be used if was working. So we override the _Bool type. If !@HAVE__BOOL@: Need to define _Bool ourselves. As 'signed char' or as an enum type? Use of a typedef, with SunPRO C, leads to a stupid "warning: _Bool is a keyword in ISO C99". Use of an enum type, with IRIX cc, leads to a stupid "warning(1185): enumerated type mixed with another type". Even the existence of an enum type, without a typedef, "Invalid enumerator. (badenum)" with HP-UX cc on Tru64. The only benefit of the enum, debuggability, is not important with these compilers. So use 'signed char' and no enum. */ # define _Bool signed char # else /* With this compiler, trust the _Bool type if the compiler has it. */ # if !@HAVE__BOOL@ /* For the sake of symbolic names in gdb, define true and false as enum constants, not only as macros. It is tempting to write typedef enum { false = 0, true = 1 } _Bool; so that gdb prints values of type 'bool' symbolically. But then values of type '_Bool' might promote to 'int' or 'unsigned int' (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int' (see ISO C 99 6.3.1.1.(2)). So add a negative value to the enum; this ensures that '_Bool' promotes to 'int'. */ typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; # endif # endif # endif # define bool _Bool #endif /* The other macros must be usable in preprocessor directives. */ #ifdef __cplusplus # define false false # define true true #else # define false 0 # define true 1 #endif #define __bool_true_false_are_defined 1 #endif /* _GL_STDBOOL_H */ gsasl-1.8.1/lib/gl/msvc-inval.c0000644000000000000000000000754113516251666013136 00000000000000/* Invalid parameter handler for MSVC runtime libraries. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include /* Specification. */ #include "msvc-inval.h" #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) /* Get _invalid_parameter_handler type and _set_invalid_parameter_handler declaration. */ # include # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { } # else /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include # if defined _MSC_VER static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); } # else /* An index to thread-local storage. */ static DWORD tls_index; static int tls_initialized /* = 0 */; /* Used as a fallback only. */ static struct gl_msvc_inval_per_thread not_per_thread; struct gl_msvc_inval_per_thread * gl_msvc_inval_current (void) { if (!tls_initialized) { tls_index = TlsAlloc (); tls_initialized = 1; } if (tls_index == TLS_OUT_OF_INDEXES) /* TlsAlloc had failed. */ return ¬_per_thread; else { struct gl_msvc_inval_per_thread *pointer = (struct gl_msvc_inval_per_thread *) TlsGetValue (tls_index); if (pointer == NULL) { /* First call. Allocate a new 'struct gl_msvc_inval_per_thread'. */ pointer = (struct gl_msvc_inval_per_thread *) malloc (sizeof (struct gl_msvc_inval_per_thread)); if (pointer == NULL) /* Could not allocate memory. Use the global storage. */ pointer = ¬_per_thread; TlsSetValue (tls_index, pointer); } return pointer; } } static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { struct gl_msvc_inval_per_thread *current = gl_msvc_inval_current (); if (current->restart_valid) longjmp (current->restart, 1); else /* An invalid parameter notification from outside the gnulib code. Give the caller a chance to intervene. */ RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); } # endif # endif static int gl_msvc_inval_initialized /* = 0 */; void gl_msvc_inval_ensure_handler (void) { if (gl_msvc_inval_initialized == 0) { _set_invalid_parameter_handler (gl_msvc_invalid_parameter_handler); gl_msvc_inval_initialized = 1; } } #endif gsasl-1.8.1/lib/gl/getdelim.c0000644000000000000000000000754113516251670012644 00000000000000/* getdelim.c --- Implementation of replacement getdelim function. Copyright (C) 1994, 1996-1998, 2001, 2003, 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Ported from glibc by Simon Josefsson. */ /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the lineptr == NULL || n == NULL || fp == NULL tests below. */ #define _GL_ARG_NONNULL(params) #include #include #include #include #include #include #ifndef SSIZE_MAX # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) #endif #if USE_UNLOCKED_IO # include "unlocked-io.h" # define getc_maybe_unlocked(fp) getc(fp) #elif !HAVE_FLOCKFILE || !HAVE_FUNLOCKFILE || !HAVE_DECL_GETC_UNLOCKED # undef flockfile # undef funlockfile # define flockfile(x) ((void) 0) # define funlockfile(x) ((void) 0) # define getc_maybe_unlocked(fp) getc(fp) #else # define getc_maybe_unlocked(fp) getc_unlocked(fp) #endif static void alloc_failed (void) { #if defined _WIN32 && ! defined __CYGWIN__ /* Avoid errno problem without using the realloc module; see: https://lists.gnu.org/r/bug-gnulib/2016-08/msg00025.html */ errno = ENOMEM; #endif } /* Read up to (and including) a DELIMITER from FP into *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *N characters of space. It is realloc'ed as necessary. Returns the number of characters read (not including the null terminator), or -1 on error or EOF. */ ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) { ssize_t result; size_t cur_len = 0; if (lineptr == NULL || n == NULL || fp == NULL) { errno = EINVAL; return -1; } flockfile (fp); if (*lineptr == NULL || *n == 0) { char *new_lineptr; *n = 120; new_lineptr = (char *) realloc (*lineptr, *n); if (new_lineptr == NULL) { alloc_failed (); result = -1; goto unlock_return; } *lineptr = new_lineptr; } for (;;) { int i; i = getc_maybe_unlocked (fp); if (i == EOF) { result = -1; break; } /* Make enough space for len+1 (for final NUL) bytes. */ if (cur_len + 1 >= *n) { size_t needed_max = SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; size_t needed = 2 * *n + 1; /* Be generous. */ char *new_lineptr; if (needed_max < needed) needed = needed_max; if (cur_len + 1 >= needed) { result = -1; errno = EOVERFLOW; goto unlock_return; } new_lineptr = (char *) realloc (*lineptr, needed); if (new_lineptr == NULL) { alloc_failed (); result = -1; goto unlock_return; } *lineptr = new_lineptr; *n = needed; } (*lineptr)[cur_len] = i; cur_len++; if (i == delimiter) break; } (*lineptr)[cur_len] = '\0'; result = cur_len ? cur_len : result; unlock_return: funlockfile (fp); /* doesn't set errno */ return result; } gsasl-1.8.1/lib/gl/intprops.h0000644000000000000000000005075413516251666012746 00000000000000/* intprops.h -- properties of integer types Copyright (C) 2001-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ #ifndef _GL_INTPROPS_H #define _GL_INTPROPS_H #include /* Return a value with the common real type of E and V and the value of V. Do not evaluate E. */ #define _GL_INT_CONVERT(e, v) ((1 ? 0 : (e)) + (v)) /* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see . */ #define _GL_INT_NEGATE_CONVERT(e, v) ((1 ? 0 : (e)) - (v)) /* The extra casts in the following macros work around compiler bugs, e.g., in Cray C 5.0.3.0. */ /* True if the arithmetic type T is an integer type. bool counts as an integer. */ #define TYPE_IS_INTEGER(t) ((t) 1.5 == 1) /* True if the real type T is signed. */ #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) /* Return 1 if the real expression E, after promotion, has a signed or floating type. Do not evaluate E. */ #define EXPR_SIGNED(e) (_GL_INT_NEGATE_CONVERT (e, 1) < 0) /* Minimum and maximum values for integer types and expressions. */ /* The width in bits of the integer type or expression T. Do not evaluate T. Padding bits are not supported; this is checked at compile-time below. */ #define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT) /* The maximum and minimum values for the integer type T. */ #define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1))) /* The maximum and minimum values for the type of the expression E, after integer promotion. E is not evaluated. */ #define _GL_INT_MINIMUM(e) \ (EXPR_SIGNED (e) \ ? ~ _GL_SIGNED_INT_MAXIMUM (e) \ : _GL_INT_CONVERT (e, 0)) #define _GL_INT_MAXIMUM(e) \ (EXPR_SIGNED (e) \ ? _GL_SIGNED_INT_MAXIMUM (e) \ : _GL_INT_NEGATE_CONVERT (e, 1)) #define _GL_SIGNED_INT_MAXIMUM(e) \ (((_GL_INT_CONVERT (e, 1) << (TYPE_WIDTH ((e) + 0) - 2)) - 1) * 2 + 1) /* Work around OpenVMS incompatibility with C99. */ #if !defined LLONG_MAX && defined __INT64_MAX # define LLONG_MAX __INT64_MAX # define LLONG_MIN __INT64_MIN #endif /* This include file assumes that signed types are two's complement without padding bits; the above macros have undefined behavior otherwise. If this is a problem for you, please let us know how to fix it for your host. This assumption is tested by the intprops-tests module. */ /* Does the __typeof__ keyword work? This could be done by 'configure', but for now it's easier to do it by hand. */ #if (2 <= __GNUC__ \ || (1210 <= __IBMC__ && defined __IBM__TYPEOF__) \ || (0x5110 <= __SUNPRO_C && !__STDC__)) # define _GL_HAVE___TYPEOF__ 1 #else # define _GL_HAVE___TYPEOF__ 0 #endif /* Return 1 if the integer type or expression T might be signed. Return 0 if it is definitely unsigned. This macro does not evaluate its argument, and expands to an integer constant expression. */ #if _GL_HAVE___TYPEOF__ # define _GL_SIGNED_TYPE_OR_EXPR(t) TYPE_SIGNED (__typeof__ (t)) #else # define _GL_SIGNED_TYPE_OR_EXPR(t) 1 #endif /* Bound on length of the string representing an unsigned integer value representable in B bits. log10 (2.0) < 146/485. The smallest value of B where this bound is not tight is 2621. */ #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) /* Bound on length of the string representing an integer type or expression T. Subtract 1 for the sign bit if T is signed, and then add 1 more for a minus sign if needed. Because _GL_SIGNED_TYPE_OR_EXPR sometimes returns 0 when its argument is signed, this macro may overestimate the true bound by one byte when applied to unsigned types of size 2, 4, 16, ... bytes. */ #define INT_STRLEN_BOUND(t) \ (INT_BITS_STRLEN_BOUND (TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \ + _GL_SIGNED_TYPE_OR_EXPR (t)) /* Bound on buffer size needed to represent an integer type or expression T, including the terminating null. */ #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1) /* Range overflow checks. The INT__RANGE_OVERFLOW macros return 1 if the corresponding C operators might not yield numerically correct answers due to arithmetic overflow. They do not rely on undefined or implementation-defined behavior. Their implementations are simple and straightforward, but they are a bit harder to use than the INT__OVERFLOW macros described below. Example usage: long int i = ...; long int j = ...; if (INT_MULTIPLY_RANGE_OVERFLOW (i, j, LONG_MIN, LONG_MAX)) printf ("multiply would overflow"); else printf ("product is %ld", i * j); Restrictions on *_RANGE_OVERFLOW macros: These macros do not check for all possible numerical problems or undefined or unspecified behavior: they do not check for division by zero, for bad shift counts, or for shifting negative numbers. These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. The arithmetic arguments (including the MIN and MAX arguments) must be of the same integer type after the usual arithmetic conversions, and the type must have minimum value MIN and maximum MAX. Unsigned types should use a zero MIN of the proper type. These macros are tuned for constant MIN and MAX. For commutative operations such as A + B, they are also tuned for constant B. */ /* Return 1 if A + B would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? (a) < (min) - (b) \ : (max) - (b) < (a)) /* Return 1 if A - B would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? (max) + (b) < (a) \ : (a) < (min) + (b)) /* Return 1 if - A would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ ((min) < 0 \ ? (a) < - (max) \ : 0 < (a)) /* Return 1 if A * B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Avoid && and || as they tickle bugs in Sun C 5.11 2010/08/13 and other compilers; see . */ #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? ((a) < 0 \ ? (a) < (max) / (b) \ : (b) == -1 \ ? 0 \ : (min) / (b) < (a)) \ : (b) == 0 \ ? 0 \ : ((a) < 0 \ ? (a) < (min) / (b) \ : (max) / (b) < (a))) /* Return 1 if A / B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Do not check for division by zero. */ #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ ((min) < 0 && (b) == -1 && (a) < - (max)) /* Return 1 if A % B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Do not check for division by zero. Mathematically, % should never overflow, but on x86-like hosts INT_MIN % -1 traps, and the C standard permits this, so treat this as an overflow too. */ #define INT_REMAINDER_RANGE_OVERFLOW(a, b, min, max) \ INT_DIVIDE_RANGE_OVERFLOW (a, b, min, max) /* Return 1 if A << B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Here, MIN and MAX are for A only, and B need not be of the same type as the other arguments. The C standard says that behavior is undefined for shifts unless 0 <= B < wordwidth, and that when A is negative then A << B has undefined behavior and A >> B has implementation-defined behavior, but do not check these other restrictions. */ #define INT_LEFT_SHIFT_RANGE_OVERFLOW(a, b, min, max) \ ((a) < 0 \ ? (a) < (min) >> (b) \ : (max) >> (b) < (a)) /* True if __builtin_add_overflow (A, B, P) works when P is non-null. */ #if 5 <= __GNUC__ && !defined __ICC # define _GL_HAS_BUILTIN_OVERFLOW 1 #else # define _GL_HAS_BUILTIN_OVERFLOW 0 #endif /* True if __builtin_add_overflow_p (A, B, C) works. */ #define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__) /* The _GL*_OVERFLOW macros have the same restrictions as the *_RANGE_OVERFLOW macros, except that they do not assume that operands (e.g., A and B) have the same type as MIN and MAX. Instead, they assume that the result (e.g., A + B) has that type. */ #if _GL_HAS_BUILTIN_OVERFLOW_P # define _GL_ADD_OVERFLOW(a, b, min, max) \ __builtin_add_overflow_p (a, b, (__typeof__ ((a) + (b))) 0) # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ __builtin_sub_overflow_p (a, b, (__typeof__ ((a) - (b))) 0) # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ __builtin_mul_overflow_p (a, b, (__typeof__ ((a) * (b))) 0) #else # define _GL_ADD_OVERFLOW(a, b, min, max) \ ((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max) \ : (a) < 0 ? (b) <= (a) + (b) \ : (b) < 0 ? (a) <= (a) + (b) \ : (a) + (b) < (b)) # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ ((min) < 0 ? INT_SUBTRACT_RANGE_OVERFLOW (a, b, min, max) \ : (a) < 0 ? 1 \ : (b) < 0 ? (a) - (b) <= (a) \ : (a) < (b)) # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ (((min) == 0 && (((a) < 0 && 0 < (b)) || ((b) < 0 && 0 < (a)))) \ || INT_MULTIPLY_RANGE_OVERFLOW (a, b, min, max)) #endif #define _GL_DIVIDE_OVERFLOW(a, b, min, max) \ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ : (a) < 0 ? (b) <= (a) + (b) - 1 \ : (b) < 0 && (a) + (b) <= (a)) #define _GL_REMAINDER_OVERFLOW(a, b, min, max) \ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ : (a) < 0 ? (a) % (b) != ((max) - (b) + 1) % (b) \ : (b) < 0 && ! _GL_UNSIGNED_NEG_MULTIPLE (a, b, max)) /* Return a nonzero value if A is a mathematical multiple of B, where A is unsigned, B is negative, and MAX is the maximum value of A's type. A's type must be the same as (A % B)'s type. Normally (A % -B == 0) suffices, but things get tricky if -B would overflow. */ #define _GL_UNSIGNED_NEG_MULTIPLE(a, b, max) \ (((b) < -_GL_SIGNED_INT_MAXIMUM (b) \ ? (_GL_SIGNED_INT_MAXIMUM (b) == (max) \ ? (a) \ : (a) % (_GL_INT_CONVERT (a, _GL_SIGNED_INT_MAXIMUM (b)) + 1)) \ : (a) % - (b)) \ == 0) /* Check for integer overflow, and report low order bits of answer. The INT__OVERFLOW macros return 1 if the corresponding C operators might not yield numerically correct answers due to arithmetic overflow. The INT__WRAPV macros also store the low-order bits of the answer. These macros work correctly on all known practical hosts, and do not rely on undefined behavior due to signed arithmetic overflow. Example usage, assuming A and B are long int: if (INT_MULTIPLY_OVERFLOW (a, b)) printf ("result would overflow\n"); else printf ("result is %ld (no overflow)\n", a * b); Example usage with WRAPV flavor: long int result; bool overflow = INT_MULTIPLY_WRAPV (a, b, &result); printf ("result is %ld (%s)\n", result, overflow ? "after overflow" : "no overflow"); Restrictions on these macros: These macros do not check for all possible numerical problems or undefined or unspecified behavior: they do not check for division by zero, for bad shift counts, or for shifting negative numbers. These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. The WRAPV macros are not constant expressions. They support only +, binary -, and *. The result type must be signed. These macros are tuned for their last argument being a constant. Return 1 if the integer expressions A * B, A - B, -A, A * B, A / B, A % B, and A << B would overflow, respectively. */ #define INT_ADD_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW) #define INT_SUBTRACT_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW) #if _GL_HAS_BUILTIN_OVERFLOW_P # define INT_NEGATE_OVERFLOW(a) INT_SUBTRACT_OVERFLOW (0, a) #else # define INT_NEGATE_OVERFLOW(a) \ INT_NEGATE_RANGE_OVERFLOW (a, _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) #endif #define INT_MULTIPLY_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_MULTIPLY_OVERFLOW) #define INT_DIVIDE_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_DIVIDE_OVERFLOW) #define INT_REMAINDER_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_REMAINDER_OVERFLOW) #define INT_LEFT_SHIFT_OVERFLOW(a, b) \ INT_LEFT_SHIFT_RANGE_OVERFLOW (a, b, \ _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) /* Return 1 if the expression A B would overflow, where OP_RESULT_OVERFLOW (A, B, MIN, MAX) does the actual test, assuming MIN and MAX are the minimum and maximum for the result type. Arguments should be free of side effects. */ #define _GL_BINARY_OP_OVERFLOW(a, b, op_result_overflow) \ op_result_overflow (a, b, \ _GL_INT_MINIMUM (_GL_INT_CONVERT (a, b)), \ _GL_INT_MAXIMUM (_GL_INT_CONVERT (a, b))) /* Store the low-order bits of A + B, A - B, A * B, respectively, into *R. Return 1 if the result overflows. See above for restrictions. */ #define INT_ADD_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, +, __builtin_add_overflow, INT_ADD_OVERFLOW) #define INT_SUBTRACT_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, -, __builtin_sub_overflow, INT_SUBTRACT_OVERFLOW) #define INT_MULTIPLY_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, *, __builtin_mul_overflow, INT_MULTIPLY_OVERFLOW) /* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193 https://llvm.org/bugs/show_bug.cgi?id=25390 For now, assume all versions of GCC-like compilers generate bogus warnings for _Generic. This matters only for older compilers that lack __builtin_add_overflow. */ #if __GNUC__ # define _GL__GENERIC_BOGUS 1 #else # define _GL__GENERIC_BOGUS 0 #endif /* Store the low-order bits of A B into *R, where OP specifies the operation. BUILTIN is the builtin operation, and OVERFLOW the overflow predicate. Return 1 if the result overflows. See above for restrictions. */ #if _GL_HAS_BUILTIN_OVERFLOW # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r) #elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \ (_Generic \ (*(r), \ signed char: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ signed char, SCHAR_MIN, SCHAR_MAX), \ short int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ short int, SHRT_MIN, SHRT_MAX), \ int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ int, INT_MIN, INT_MAX), \ long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX), \ long long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ long long int, LLONG_MIN, LLONG_MAX))) #else # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \ (sizeof *(r) == sizeof (signed char) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ signed char, SCHAR_MIN, SCHAR_MAX) \ : sizeof *(r) == sizeof (short int) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ short int, SHRT_MIN, SHRT_MAX) \ : sizeof *(r) == sizeof (int) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ int, INT_MIN, INT_MAX) \ : _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow)) # ifdef LLONG_MAX # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ (sizeof *(r) == sizeof (long int) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX) \ : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ long long int, LLONG_MIN, LLONG_MAX)) # else # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX) # endif #endif /* Store the low-order bits of A B into *R, where the operation is given by OP. Use the unsigned type UT for calculation to avoid overflow problems. *R's type is T, with extrema TMIN and TMAX. T must be a signed integer type. Return 1 if the result overflows. */ #define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \ (sizeof ((a) op (b)) < sizeof (t) \ ? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \ : _GL_INT_OP_CALC1 (a, b, r, op, overflow, ut, t, tmin, tmax)) #define _GL_INT_OP_CALC1(a, b, r, op, overflow, ut, t, tmin, tmax) \ ((overflow (a, b) \ || (EXPR_SIGNED ((a) op (b)) && ((a) op (b)) < (tmin)) \ || (tmax) < ((a) op (b))) \ ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \ : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0)) /* Return the low-order bits of A B, where the operation is given by OP. Use the unsigned type UT for calculation to avoid undefined behavior on signed integer overflow, and convert the result to type T. UT is at least as wide as T and is no narrower than unsigned int, T is two's complement, and there is no padding or trap representations. Assume that converting UT to T yields the low-order bits, as is done in all known two's-complement C compilers. E.g., see: https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html According to the C standard, converting UT to T yields an implementation-defined result or signal for values outside T's range. However, code that works around this theoretical problem runs afoul of a compiler bug in Oracle Studio 12.3 x86. See: https://lists.gnu.org/r/bug-gnulib/2017-04/msg00049.html As the compiler bug is real, don't try to work around the theoretical problem. */ #define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \ ((t) ((ut) (a) op (ut) (b))) #endif /* _GL_INTPROPS_H */ gsasl-1.8.1/lib/gl/sha1.h0000644000000000000000000000714713516251671011716 00000000000000/* Declarations of functions and data types used for SHA1 sum library functions. Copyright (C) 2000-2001, 2003, 2005-2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef SHA1_H # define SHA1_H 1 # include # include # if HAVE_OPENSSL_SHA1 # include # endif # ifdef __cplusplus extern "C" { # endif #define SHA1_DIGEST_SIZE 20 # if HAVE_OPENSSL_SHA1 # define GL_OPENSSL_NAME 1 # include "gl_openssl.h" # else /* Structure to save state of computation between the single steps. */ struct sha1_ctx { uint32_t A; uint32_t B; uint32_t C; uint32_t D; uint32_t E; uint32_t total[2]; uint32_t buflen; /* ≥ 0, ≤ 128 */ uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ }; /* Initialize structure containing state of computation. */ extern void sha1_init_ctx (struct sha1_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ extern void sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 64. */ extern void sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 20 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf); /* Put result from CTX in first 20 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf); /* Compute SHA1 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha1_buffer (const char *buffer, size_t len, void *resblock); # endif /* Compute SHA1 message digest for bytes read from STREAM. STREAM is an open file stream. Regular files are handled more efficiently. The contents of STREAM from its current position to its end will be read. The case that the last operation on STREAM was an 'ungetc' is not supported. The resulting message digest number will be written into the 20 bytes beginning at RESBLOCK. */ extern int sha1_stream (FILE *stream, void *resblock); # ifdef __cplusplus } # endif #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/lib/gl/memxor.h0000644000000000000000000000235213516251671012362 00000000000000/* memxor.h -- perform binary exclusive OR operation on memory blocks. Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Simon Josefsson. The interface was inspired by memxor in Niels Möller's Nettle. */ #ifndef MEMXOR_H # define MEMXOR_H #include /* Compute binary exclusive OR of memory areas DEST and SRC, putting the result in DEST, of length N bytes. Returns a pointer to DEST. */ void *memxor (void *restrict dest, const void *restrict src, size_t n); #endif /* MEMXOR_H */ /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/lib/gl/xsize.h0000644000000000000000000000710613516251671012217 00000000000000/* xsize.h -- Checked size_t computations. Copyright (C) 2003, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _XSIZE_H #define _XSIZE_H /* Get size_t. */ #include /* Get SIZE_MAX. */ #include #if HAVE_STDINT_H # include #endif #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef XSIZE_INLINE # define XSIZE_INLINE _GL_INLINE #endif /* The size of memory objects is often computed through expressions of type size_t. Example: void* p = malloc (header_size + n * element_size). These computations can lead to overflow. When this happens, malloc() returns a piece of memory that is way too small, and the program then crashes while attempting to fill the memory. To avoid this, the functions and macros in this file check for overflow. The convention is that SIZE_MAX represents overflow. malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc implementation that uses mmap --, it's recommended to use size_overflow_p() or size_in_bounds_p() before invoking malloc(). The example thus becomes: size_t size = xsum (header_size, xtimes (n, element_size)); void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); */ /* Convert an arbitrary value >= 0 to type size_t. */ #define xcast_size_t(N) \ ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) /* Sum of two sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum (size_t size1, size_t size2) { size_t sum = size1 + size2; return (sum >= size1 ? sum : SIZE_MAX); } /* Sum of three sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum3 (size_t size1, size_t size2, size_t size3) { return xsum (xsum (size1, size2), size3); } /* Sum of four sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) { return xsum (xsum (xsum (size1, size2), size3), size4); } /* Maximum of two sizes, with overflow check. */ XSIZE_INLINE size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xmax (size_t size1, size_t size2) { /* No explicit check is needed here, because for any n: max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */ return (size1 >= size2 ? size1 : size2); } /* Multiplication of a count with an element size, with overflow check. The count must be >= 0 and the element size must be > 0. This is a macro, not a function, so that it works correctly even when N is of a wider type and N > SIZE_MAX. */ #define xtimes(N, ELSIZE) \ ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) /* Check for overflow. */ #define size_overflow_p(SIZE) \ ((SIZE) == SIZE_MAX) /* Check against overflow. */ #define size_in_bounds_p(SIZE) \ ((SIZE) != SIZE_MAX) _GL_INLINE_HEADER_END #endif /* _XSIZE_H */ gsasl-1.8.1/lib/gl/strnlen.c0000644000000000000000000000221413516251671012530 00000000000000/* Find the length of STRING, but scan at most MAXLEN characters. Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. Written by Simon Josefsson. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #include #include /* Find the length of STRING, but scan at most MAXLEN characters. If no '\0' terminator is found in that many characters, return MAXLEN. */ size_t strnlen (const char *string, size_t maxlen) { const char *end = memchr (string, '\0', maxlen); return end ? (size_t) (end - string) : maxlen; } gsasl-1.8.1/lib/gl/printf-args.c0000644000000000000000000001466213516251671013311 00000000000000/* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be defined. STATIC Set to 'static' to declare the function static. */ #ifndef PRINTF_FETCHARGS # include #endif /* Specification. */ #ifndef PRINTF_FETCHARGS # include "printf-args.h" #endif #ifdef STATIC STATIC #endif int PRINTF_FETCHARGS (va_list args, arguments *a) { size_t i; argument *ap; for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) switch (ap->type) { case TYPE_SCHAR: ap->a.a_schar = va_arg (args, /*signed char*/ int); break; case TYPE_UCHAR: ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); break; case TYPE_SHORT: ap->a.a_short = va_arg (args, /*short*/ int); break; case TYPE_USHORT: ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); break; case TYPE_INT: ap->a.a_int = va_arg (args, int); break; case TYPE_UINT: ap->a.a_uint = va_arg (args, unsigned int); break; case TYPE_LONGINT: ap->a.a_longint = va_arg (args, long int); break; case TYPE_ULONGINT: ap->a.a_ulongint = va_arg (args, unsigned long int); break; #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: ap->a.a_longlongint = va_arg (args, long long int); break; case TYPE_ULONGLONGINT: ap->a.a_ulonglongint = va_arg (args, unsigned long long int); break; #endif case TYPE_DOUBLE: ap->a.a_double = va_arg (args, double); break; case TYPE_LONGDOUBLE: ap->a.a_longdouble = va_arg (args, long double); break; case TYPE_CHAR: ap->a.a_char = va_arg (args, int); break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: /* Although ISO C 99 7.24.1.(2) says that wint_t is "unchanged by default argument promotions", this is not the case in mingw32, where wint_t is 'unsigned short'. */ ap->a.a_wide_char = (sizeof (wint_t) < sizeof (int) ? (wint_t) va_arg (args, int) : va_arg (args, wint_t)); break; #endif case TYPE_STRING: ap->a.a_string = va_arg (args, const char *); /* A null pointer is an invalid argument for "%s", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_string == NULL) ap->a.a_string = "(NULL)"; break; #if HAVE_WCHAR_T case TYPE_WIDE_STRING: ap->a.a_wide_string = va_arg (args, const wchar_t *); /* A null pointer is an invalid argument for "%ls", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_wide_string == NULL) { static const wchar_t wide_null_string[] = { (wchar_t)'(', (wchar_t)'N', (wchar_t)'U', (wchar_t)'L', (wchar_t)'L', (wchar_t)')', (wchar_t)0 }; ap->a.a_wide_string = wide_null_string; } break; #endif case TYPE_POINTER: ap->a.a_pointer = va_arg (args, void *); break; case TYPE_COUNT_SCHAR_POINTER: ap->a.a_count_schar_pointer = va_arg (args, signed char *); break; case TYPE_COUNT_SHORT_POINTER: ap->a.a_count_short_pointer = va_arg (args, short *); break; case TYPE_COUNT_INT_POINTER: ap->a.a_count_int_pointer = va_arg (args, int *); break; case TYPE_COUNT_LONGINT_POINTER: ap->a.a_count_longint_pointer = va_arg (args, long int *); break; #if HAVE_LONG_LONG_INT case TYPE_COUNT_LONGLONGINT_POINTER: ap->a.a_count_longlongint_pointer = va_arg (args, long long int *); break; #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ case TYPE_U8_STRING: ap->a.a_u8_string = va_arg (args, const uint8_t *); /* A null pointer is an invalid argument for "%U", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u8_string == NULL) { static const uint8_t u8_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u8_string = u8_null_string; } break; case TYPE_U16_STRING: ap->a.a_u16_string = va_arg (args, const uint16_t *); /* A null pointer is an invalid argument for "%lU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u16_string == NULL) { static const uint16_t u16_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u16_string = u16_null_string; } break; case TYPE_U32_STRING: ap->a.a_u32_string = va_arg (args, const uint32_t *); /* A null pointer is an invalid argument for "%llU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u32_string == NULL) { static const uint32_t u32_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u32_string = u32_null_string; } break; #endif default: /* Unknown type. */ return -1; } return 0; } gsasl-1.8.1/lib/gl/Makefile.in0000644000000000000000000037114613521017117012750 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # Reproduce by: # gnulib-tool --import --local-dir=gl/override \ # --lib=libgl \ # --source-base=gl \ # --m4-base=m4 \ # --doc-base=doc \ # --tests-base=gltests \ # --aux-dir=build-aux \ # --with-tests \ # --lgpl=2 \ # --no-conditional-dependencies \ # --libtool \ # --macro-prefix=gl \ # --no-vc-files \ # --avoid=vc-list-files-tests \ # base64 \ # c-ctype \ # crypto/gc \ # crypto/gc-hmac-md5 \ # crypto/gc-hmac-sha1 \ # crypto/gc-md5 \ # crypto/gc-pbkdf2-sha1 \ # crypto/gc-random \ # crypto/gc-sha1 \ # getline \ # gettext-h \ # gss-extra \ # lib-msvc-compat \ # lib-symbol-versions \ # lib-symbol-visibility \ # maintainer-makefile \ # memmem \ # memxor \ # minmax \ # strndup \ # strnlen \ # strverscmp \ # valgrind-tests \ # vasprintf 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@ @GL_COND_LIBTOOL_TRUE@am__append_1 = $(LTLIBGCRYPT) subdir = gl ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LIBRARIES = $(noinst_LIBRARIES) LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = am_libgl_la_OBJECTS = base64.lo c-ctype.lo af_alg.lo gc-pbkdf2-sha1.lo \ hmac-md5.lo hmac-sha1.lo md5.lo sha1.lo freading.lo memxor.lo \ stat-time.lo sys_socket.lo unistd.lo xsize.lo libgl_la_OBJECTS = $(am_libgl_la_OBJECTS) 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 = libgl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgl_la_LDFLAGS) $(LDFLAGS) -o $@ 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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/af_alg.Plo ./$(DEPDIR)/asnprintf.Plo \ ./$(DEPDIR)/asprintf.Plo ./$(DEPDIR)/base64.Plo \ ./$(DEPDIR)/c-ctype.Plo ./$(DEPDIR)/fflush.Plo \ ./$(DEPDIR)/float.Plo ./$(DEPDIR)/fpurge.Plo \ ./$(DEPDIR)/freading.Plo ./$(DEPDIR)/fseek.Plo \ ./$(DEPDIR)/fseeko.Plo ./$(DEPDIR)/fstat.Plo \ ./$(DEPDIR)/ftell.Plo ./$(DEPDIR)/ftello.Plo \ ./$(DEPDIR)/gc-gnulib.Plo ./$(DEPDIR)/gc-libgcrypt.Plo \ ./$(DEPDIR)/gc-pbkdf2-sha1.Plo ./$(DEPDIR)/getdelim.Plo \ ./$(DEPDIR)/getline.Plo ./$(DEPDIR)/gss-extra.Plo \ ./$(DEPDIR)/hmac-md5.Plo ./$(DEPDIR)/hmac-sha1.Plo \ ./$(DEPDIR)/hmac.Plo ./$(DEPDIR)/itold.Plo \ ./$(DEPDIR)/lseek.Plo ./$(DEPDIR)/md5.Plo \ ./$(DEPDIR)/memchr.Plo ./$(DEPDIR)/memmem.Plo \ ./$(DEPDIR)/memxor.Plo ./$(DEPDIR)/msvc-inval.Plo \ ./$(DEPDIR)/msvc-nothrow.Plo ./$(DEPDIR)/printf-args.Plo \ ./$(DEPDIR)/printf-parse.Plo ./$(DEPDIR)/sha1.Plo \ ./$(DEPDIR)/stat-time.Plo ./$(DEPDIR)/stat-w32.Plo \ ./$(DEPDIR)/strndup.Plo ./$(DEPDIR)/strnlen.Plo \ ./$(DEPDIR)/strverscmp.Plo ./$(DEPDIR)/sys_socket.Plo \ ./$(DEPDIR)/unistd.Plo ./$(DEPDIR)/vasnprintf.Plo \ ./$(DEPDIR)/vasprintf.Plo ./$(DEPDIR)/xsize.Plo 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 = $(libgl_la_SOURCES) $(EXTRA_libgl_la_SOURCES) DIST_SOURCES = $(libgl_la_SOURCES) $(EXTRA_libgl_la_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 HEADERS = $(noinst_HEADERS) 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 \ distdir distdir-am 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)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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 = 1.11 gnits SUBDIRS = noinst_HEADERS = noinst_LIBRARIES = noinst_LTLIBRARIES = libgl.la EXTRA_DIST = alloca.in.h byteswap.in.h af_alg.h sys-limits.h \ gc-gnulib.c gc-libgcrypt.c gc.h hmac.c hmac.h hmac.c hmac.h \ gl_openssl.h md5.h gl_openssl.h sha1.h errno.in.h fflush.c \ stdio-impl.h float.c float.in.h itold.c fpurge.c stdio-impl.h \ freading.h stdio-impl.h fseek.c fseeko.c stdio-impl.h fstat.c \ stat-w32.c stat-w32.h ftell.c ftello.c stdio-impl.h getdelim.c \ getline.c $(top_srcdir)/GNUmakefile gss-extra.c gss-extra.h \ $(top_srcdir)/build-aux/config.rpath intprops.h cdefs.h \ libc-config.h limits.in.h lseek.c $(top_srcdir)/maint.mk \ memchr.c memchr.valgrind memmem.c str-two-way.h memxor.h \ msvc-inval.c msvc-inval.h msvc-nothrow.c msvc-nothrow.h \ pathmax.h arg-nonnull.h c++defs.h unused-parameter.h \ warn-on-use.h stat-time.h stdalign.in.h stdbool.in.h \ stddef.in.h stdint.in.h stdio.in.h string.in.h strndup.c \ strnlen.c strverscmp.c sys_socket.in.h sys_stat.in.h \ sys_types.in.h sys_uio.in.h time.in.h unistd.in.h \ $(top_srcdir)/build-aux/useless-if-before-free asnprintf.c \ float+.h printf-args.c printf-args.h printf-parse.c \ printf-parse.h vasnprintf.c vasnprintf.h asprintf.c \ vasprintf.c $(top_srcdir)/build-aux/vc-list-files verify.h \ wchar.in.h BUILT_SOURCES = $(ALLOCA_H) $(BYTESWAP_H) $(ERRNO_H) $(FLOAT_H) \ $(LIMITS_H) $(STDALIGN_H) $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) \ stdio.h string.h sys/socket.h sys/stat.h sys/types.h sys/uio.h \ time.h unistd.h wchar.h SUFFIXES = MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t byteswap.h \ byteswap.h-t errno.h errno.h-t float.h float.h-t limits.h \ limits.h-t stdalign.h stdalign.h-t stdbool.h stdbool.h-t \ stddef.h stddef.h-t stdint.h stdint.h-t stdio.h stdio.h-t \ string.h string.h-t sys/socket.h sys/socket.h-t sys/stat.h \ sys/stat.h-t sys/types.h sys/types.h-t sys/uio.h sys/uio.h-t \ time.h time.h-t unistd.h unistd.h-t wchar.h wchar.h-t MOSTLYCLEANDIRS = sys sys sys CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = # No GNU Make output. AM_CPPFLAGS = # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the # compilation of all sources that make up the library. This line here does it # only for the gnulib part of it. The developer is responsible for adding # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library. AM_CFLAGS = $(CFLAG_VISIBILITY) libgl_la_SOURCES = base64.h base64.c c-ctype.h c-ctype.c af_alg.c \ md5.h gc-pbkdf2-sha1.c hmac-md5.c hmac-sha1.c md5.c sha1.c \ freading.c gettext.h memxor.c minmax.h size_max.h stat-time.c \ sys_socket.c unistd.c xsize.h xsize.c libgl_la_LIBADD = $(gl_LTLIBOBJS) libgl_la_DEPENDENCIES = $(gl_LTLIBOBJS) EXTRA_libgl_la_SOURCES = gc-gnulib.c gc-libgcrypt.c hmac.c hmac.c \ fflush.c float.c itold.c fpurge.c fseek.c fseeko.c fstat.c \ stat-w32.c ftell.c ftello.c getdelim.c getline.c gss-extra.c \ lseek.c memchr.c memmem.c msvc-inval.c msvc-nothrow.c \ strndup.c strnlen.c strverscmp.c asnprintf.c printf-args.c \ printf-parse.c vasnprintf.c asprintf.c vasprintf.c libgl_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(LIB_CRYPTO) \ $(LTLIBINTL) $(am__append_1) # Use this preprocessor expression to decide whether #include_next works. # Do not rely on a 'configure'-time test for this, since the expression # might appear in an installed header, which is used by some other compiler. HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER) # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H = $(srcdir)/arg-nonnull.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H = $(srcdir)/c++defs.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H = $(srcdir)/unused-parameter.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H = $(srcdir)/warn-on-use.h all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive .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) --gnits gl/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnits gl/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): clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgl.la: $(libgl_la_OBJECTS) $(libgl_la_DEPENDENCIES) $(EXTRA_libgl_la_DEPENDENCIES) $(AM_V_CCLD)$(libgl_la_LINK) $(libgl_la_OBJECTS) $(libgl_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/af_alg.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asnprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base64.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c-ctype.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fflush.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/float.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fpurge.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/freading.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fseek.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fseeko.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstat.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftell.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftello.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc-gnulib.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc-libgcrypt.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc-pbkdf2-sha1.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdelim.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getline.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gss-extra.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hmac-md5.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hmac-sha1.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hmac.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itold.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lseek.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memchr.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memmem.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memxor.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-inval.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msvc-nothrow.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-args.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-parse.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha1.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-time.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-w32.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strndup.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strnlen.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strverscmp.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sys_socket.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unistd.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasnprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasprintf.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xsize.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 # 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" 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 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 @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 check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS) installdirs: installdirs-recursive installdirs-am: install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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: -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 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) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ clean-noinstLTLIBRARIES mostlyclean-am distclean: distclean-recursive -rm -f ./$(DEPDIR)/af_alg.Plo -rm -f ./$(DEPDIR)/asnprintf.Plo -rm -f ./$(DEPDIR)/asprintf.Plo -rm -f ./$(DEPDIR)/base64.Plo -rm -f ./$(DEPDIR)/c-ctype.Plo -rm -f ./$(DEPDIR)/fflush.Plo -rm -f ./$(DEPDIR)/float.Plo -rm -f ./$(DEPDIR)/fpurge.Plo -rm -f ./$(DEPDIR)/freading.Plo -rm -f ./$(DEPDIR)/fseek.Plo -rm -f ./$(DEPDIR)/fseeko.Plo -rm -f ./$(DEPDIR)/fstat.Plo -rm -f ./$(DEPDIR)/ftell.Plo -rm -f ./$(DEPDIR)/ftello.Plo -rm -f ./$(DEPDIR)/gc-gnulib.Plo -rm -f ./$(DEPDIR)/gc-libgcrypt.Plo -rm -f ./$(DEPDIR)/gc-pbkdf2-sha1.Plo -rm -f ./$(DEPDIR)/getdelim.Plo -rm -f ./$(DEPDIR)/getline.Plo -rm -f ./$(DEPDIR)/gss-extra.Plo -rm -f ./$(DEPDIR)/hmac-md5.Plo -rm -f ./$(DEPDIR)/hmac-sha1.Plo -rm -f ./$(DEPDIR)/hmac.Plo -rm -f ./$(DEPDIR)/itold.Plo -rm -f ./$(DEPDIR)/lseek.Plo -rm -f ./$(DEPDIR)/md5.Plo -rm -f ./$(DEPDIR)/memchr.Plo -rm -f ./$(DEPDIR)/memmem.Plo -rm -f ./$(DEPDIR)/memxor.Plo -rm -f ./$(DEPDIR)/msvc-inval.Plo -rm -f ./$(DEPDIR)/msvc-nothrow.Plo -rm -f ./$(DEPDIR)/printf-args.Plo -rm -f ./$(DEPDIR)/printf-parse.Plo -rm -f ./$(DEPDIR)/sha1.Plo -rm -f ./$(DEPDIR)/stat-time.Plo -rm -f ./$(DEPDIR)/stat-w32.Plo -rm -f ./$(DEPDIR)/strndup.Plo -rm -f ./$(DEPDIR)/strnlen.Plo -rm -f ./$(DEPDIR)/strverscmp.Plo -rm -f ./$(DEPDIR)/sys_socket.Plo -rm -f ./$(DEPDIR)/unistd.Plo -rm -f ./$(DEPDIR)/vasnprintf.Plo -rm -f ./$(DEPDIR)/vasprintf.Plo -rm -f ./$(DEPDIR)/xsize.Plo -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-local distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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 ./$(DEPDIR)/af_alg.Plo -rm -f ./$(DEPDIR)/asnprintf.Plo -rm -f ./$(DEPDIR)/asprintf.Plo -rm -f ./$(DEPDIR)/base64.Plo -rm -f ./$(DEPDIR)/c-ctype.Plo -rm -f ./$(DEPDIR)/fflush.Plo -rm -f ./$(DEPDIR)/float.Plo -rm -f ./$(DEPDIR)/fpurge.Plo -rm -f ./$(DEPDIR)/freading.Plo -rm -f ./$(DEPDIR)/fseek.Plo -rm -f ./$(DEPDIR)/fseeko.Plo -rm -f ./$(DEPDIR)/fstat.Plo -rm -f ./$(DEPDIR)/ftell.Plo -rm -f ./$(DEPDIR)/ftello.Plo -rm -f ./$(DEPDIR)/gc-gnulib.Plo -rm -f ./$(DEPDIR)/gc-libgcrypt.Plo -rm -f ./$(DEPDIR)/gc-pbkdf2-sha1.Plo -rm -f ./$(DEPDIR)/getdelim.Plo -rm -f ./$(DEPDIR)/getline.Plo -rm -f ./$(DEPDIR)/gss-extra.Plo -rm -f ./$(DEPDIR)/hmac-md5.Plo -rm -f ./$(DEPDIR)/hmac-sha1.Plo -rm -f ./$(DEPDIR)/hmac.Plo -rm -f ./$(DEPDIR)/itold.Plo -rm -f ./$(DEPDIR)/lseek.Plo -rm -f ./$(DEPDIR)/md5.Plo -rm -f ./$(DEPDIR)/memchr.Plo -rm -f ./$(DEPDIR)/memmem.Plo -rm -f ./$(DEPDIR)/memxor.Plo -rm -f ./$(DEPDIR)/msvc-inval.Plo -rm -f ./$(DEPDIR)/msvc-nothrow.Plo -rm -f ./$(DEPDIR)/printf-args.Plo -rm -f ./$(DEPDIR)/printf-parse.Plo -rm -f ./$(DEPDIR)/sha1.Plo -rm -f ./$(DEPDIR)/stat-time.Plo -rm -f ./$(DEPDIR)/stat-w32.Plo -rm -f ./$(DEPDIR)/strndup.Plo -rm -f ./$(DEPDIR)/strnlen.Plo -rm -f ./$(DEPDIR)/strverscmp.Plo -rm -f ./$(DEPDIR)/sys_socket.Plo -rm -f ./$(DEPDIR)/unistd.Plo -rm -f ./$(DEPDIR)/vasnprintf.Plo -rm -f ./$(DEPDIR)/vasprintf.Plo -rm -f ./$(DEPDIR)/xsize.Plo -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-local pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all check install install-am \ install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--depfiles check check-am clean clean-generic clean-libtool \ clean-noinstLIBRARIES clean-noinstLTLIBRARIES cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-local distclean-tags distdir dvi \ dvi-am html html-am info info-am install 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-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ mostlyclean-local pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_ALLOCA_H_TRUE@alloca.h: alloca.in.h $(top_builddir)/config.status @GL_GENERATE_ALLOCA_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_ALLOCA_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_ALLOCA_H_TRUE@ sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \ @GL_GENERATE_ALLOCA_H_TRUE@ } > $@-t && \ @GL_GENERATE_ALLOCA_H_TRUE@ mv -f $@-t $@ @GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status @GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one. @GL_GENERATE_BYTESWAP_H_TRUE@byteswap.h: byteswap.in.h $(top_builddir)/config.status @GL_GENERATE_BYTESWAP_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_BYTESWAP_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_BYTESWAP_H_TRUE@ cat $(srcdir)/byteswap.in.h; \ @GL_GENERATE_BYTESWAP_H_TRUE@ } > $@-t && \ @GL_GENERATE_BYTESWAP_H_TRUE@ mv -f $@-t $@ @GL_GENERATE_BYTESWAP_H_FALSE@byteswap.h: $(top_builddir)/config.status @GL_GENERATE_BYTESWAP_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that is POSIX compliant. @GL_GENERATE_ERRNO_H_TRUE@errno.h: errno.in.h $(top_builddir)/config.status @GL_GENERATE_ERRNO_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_ERRNO_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_ERRNO_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ < $(srcdir)/errno.in.h; \ @GL_GENERATE_ERRNO_H_TRUE@ } > $@-t && \ @GL_GENERATE_ERRNO_H_TRUE@ mv $@-t $@ @GL_GENERATE_ERRNO_H_FALSE@errno.h: $(top_builddir)/config.status @GL_GENERATE_ERRNO_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_FLOAT_H_TRUE@float.h: float.in.h $(top_builddir)/config.status @GL_GENERATE_FLOAT_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_FLOAT_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_FLOAT_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ < $(srcdir)/float.in.h; \ @GL_GENERATE_FLOAT_H_TRUE@ } > $@-t && \ @GL_GENERATE_FLOAT_H_TRUE@ mv $@-t $@ @GL_GENERATE_FLOAT_H_FALSE@float.h: $(top_builddir)/config.status @GL_GENERATE_FLOAT_H_FALSE@ rm -f $@ distclean-local: clean-GNUmakefile clean-GNUmakefile: test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile # We need the following in order to create when the system # doesn't have one that is compatible with GNU. @GL_GENERATE_LIMITS_H_TRUE@limits.h: limits.in.h $(top_builddir)/config.status @GL_GENERATE_LIMITS_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_LIMITS_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_LIMITS_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \ @GL_GENERATE_LIMITS_H_TRUE@ < $(srcdir)/limits.in.h; \ @GL_GENERATE_LIMITS_H_TRUE@ } > $@-t && \ @GL_GENERATE_LIMITS_H_TRUE@ mv $@-t $@ @GL_GENERATE_LIMITS_H_FALSE@limits.h: $(top_builddir)/config.status @GL_GENERATE_LIMITS_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works. @GL_GENERATE_STDALIGN_H_TRUE@stdalign.h: stdalign.in.h $(top_builddir)/config.status @GL_GENERATE_STDALIGN_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDALIGN_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_STDALIGN_H_TRUE@ cat $(srcdir)/stdalign.in.h; \ @GL_GENERATE_STDALIGN_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDALIGN_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDALIGN_H_FALSE@stdalign.h: $(top_builddir)/config.status @GL_GENERATE_STDALIGN_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works. @GL_GENERATE_STDBOOL_H_TRUE@stdbool.h: stdbool.in.h $(top_builddir)/config.status @GL_GENERATE_STDBOOL_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDBOOL_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_STDBOOL_H_TRUE@ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ @GL_GENERATE_STDBOOL_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDBOOL_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDBOOL_H_FALSE@stdbool.h: $(top_builddir)/config.status @GL_GENERATE_STDBOOL_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDDEF_H_TRUE@stddef.h: stddef.in.h $(top_builddir)/config.status @GL_GENERATE_STDDEF_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDDEF_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ @GL_GENERATE_STDDEF_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ < $(srcdir)/stddef.in.h; \ @GL_GENERATE_STDDEF_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDDEF_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDDEF_H_FALSE@stddef.h: $(top_builddir)/config.status @GL_GENERATE_STDDEF_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDINT_H_TRUE@stdint.h: stdint.in.h $(top_builddir)/config.status @GL_GENERATE_STDINT_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_STDINT_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_STDINT_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ < $(srcdir)/stdint.in.h; \ @GL_GENERATE_STDINT_H_TRUE@ } > $@-t && \ @GL_GENERATE_STDINT_H_TRUE@ mv $@-t $@ @GL_GENERATE_STDINT_H_FALSE@stdint.h: $(top_builddir)/config.status @GL_GENERATE_STDINT_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ < $(srcdir)/stdio.in.h | \ sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \ -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ < $(srcdir)/string.in.h | \ sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \ -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ < $(srcdir)/string.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \ -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \ -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \ -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \ -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \ -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \ -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \ -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \ -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \ -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \ -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \ -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_socket.in.h; \ } > $@-t && \ mv -f $@-t $@ # We need the following in order to create when the system # has one that is incomplete. sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_stat.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/types.h: sys_types.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \ < $(srcdir)/sys_types.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/uio.h: sys_uio.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ < $(srcdir)/sys_uio.in.h; \ } > $@-t && \ mv -f $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -e 's/@''GNULIB_CTIME''@/$(GNULIB_CTIME)/g' \ -e 's/@''GNULIB_LOCALTIME''@/$(GNULIB_LOCALTIME)/g' \ -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ -e 's/@''GNULIB_STRFTIME''@/$(GNULIB_STRFTIME)/g' \ -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \ -e 's/@''GNULIB_TZSET''@/$(GNULIB_TZSET)/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \ -e 's|@''HAVE_TZSET''@|$(HAVE_TZSET)|g' \ -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \ -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \ -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/time.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create an empty placeholder for # when the system doesn't have one. unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \ -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \ -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ < $(srcdir)/unistd.in.h | \ sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \ -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | \ sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \ -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # version does not work standalone. wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \ -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \ -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \ -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \ -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \ -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \ -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \ -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \ -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \ -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \ -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \ -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \ -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \ -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \ -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \ -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \ -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \ -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \ -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \ -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \ -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \ -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \ -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \ -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \ -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \ -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \ -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \ -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \ -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCSFTIME''@/$(GNULIB_WCSFTIME)/g' \ < $(srcdir)/wchar.in.h | \ sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \ -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ | \ sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gsasl-1.8.1/lib/gl/float+.h0000644000000000000000000001277513516251670012244 00000000000000/* Supplemental information about the floating-point formats. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2007. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef _FLOATPLUS_H #define _FLOATPLUS_H #include #include /* Number of bits in the mantissa of a floating-point number, including the "hidden bit". */ #if FLT_RADIX == 2 # define FLT_MANT_BIT FLT_MANT_DIG # define DBL_MANT_BIT DBL_MANT_DIG # define LDBL_MANT_BIT LDBL_MANT_DIG #elif FLT_RADIX == 4 # define FLT_MANT_BIT (FLT_MANT_DIG * 2) # define DBL_MANT_BIT (DBL_MANT_DIG * 2) # define LDBL_MANT_BIT (LDBL_MANT_DIG * 2) #elif FLT_RADIX == 16 # define FLT_MANT_BIT (FLT_MANT_DIG * 4) # define DBL_MANT_BIT (DBL_MANT_DIG * 4) # define LDBL_MANT_BIT (LDBL_MANT_DIG * 4) #endif /* Bit mask that can be used to mask the exponent, as an unsigned number. */ #define FLT_EXP_MASK ((FLT_MAX_EXP - FLT_MIN_EXP) | 7) #define DBL_EXP_MASK ((DBL_MAX_EXP - DBL_MIN_EXP) | 7) #define LDBL_EXP_MASK ((LDBL_MAX_EXP - LDBL_MIN_EXP) | 7) /* Number of bits used for the exponent of a floating-point number, including the exponent's sign. */ #define FLT_EXP_BIT \ (FLT_EXP_MASK < 0x100 ? 8 : \ FLT_EXP_MASK < 0x200 ? 9 : \ FLT_EXP_MASK < 0x400 ? 10 : \ FLT_EXP_MASK < 0x800 ? 11 : \ FLT_EXP_MASK < 0x1000 ? 12 : \ FLT_EXP_MASK < 0x2000 ? 13 : \ FLT_EXP_MASK < 0x4000 ? 14 : \ FLT_EXP_MASK < 0x8000 ? 15 : \ FLT_EXP_MASK < 0x10000 ? 16 : \ FLT_EXP_MASK < 0x20000 ? 17 : \ FLT_EXP_MASK < 0x40000 ? 18 : \ FLT_EXP_MASK < 0x80000 ? 19 : \ FLT_EXP_MASK < 0x100000 ? 20 : \ FLT_EXP_MASK < 0x200000 ? 21 : \ FLT_EXP_MASK < 0x400000 ? 22 : \ FLT_EXP_MASK < 0x800000 ? 23 : \ FLT_EXP_MASK < 0x1000000 ? 24 : \ FLT_EXP_MASK < 0x2000000 ? 25 : \ FLT_EXP_MASK < 0x4000000 ? 26 : \ FLT_EXP_MASK < 0x8000000 ? 27 : \ FLT_EXP_MASK < 0x10000000 ? 28 : \ FLT_EXP_MASK < 0x20000000 ? 29 : \ FLT_EXP_MASK < 0x40000000 ? 30 : \ FLT_EXP_MASK <= 0x7fffffff ? 31 : \ 32) #define DBL_EXP_BIT \ (DBL_EXP_MASK < 0x100 ? 8 : \ DBL_EXP_MASK < 0x200 ? 9 : \ DBL_EXP_MASK < 0x400 ? 10 : \ DBL_EXP_MASK < 0x800 ? 11 : \ DBL_EXP_MASK < 0x1000 ? 12 : \ DBL_EXP_MASK < 0x2000 ? 13 : \ DBL_EXP_MASK < 0x4000 ? 14 : \ DBL_EXP_MASK < 0x8000 ? 15 : \ DBL_EXP_MASK < 0x10000 ? 16 : \ DBL_EXP_MASK < 0x20000 ? 17 : \ DBL_EXP_MASK < 0x40000 ? 18 : \ DBL_EXP_MASK < 0x80000 ? 19 : \ DBL_EXP_MASK < 0x100000 ? 20 : \ DBL_EXP_MASK < 0x200000 ? 21 : \ DBL_EXP_MASK < 0x400000 ? 22 : \ DBL_EXP_MASK < 0x800000 ? 23 : \ DBL_EXP_MASK < 0x1000000 ? 24 : \ DBL_EXP_MASK < 0x2000000 ? 25 : \ DBL_EXP_MASK < 0x4000000 ? 26 : \ DBL_EXP_MASK < 0x8000000 ? 27 : \ DBL_EXP_MASK < 0x10000000 ? 28 : \ DBL_EXP_MASK < 0x20000000 ? 29 : \ DBL_EXP_MASK < 0x40000000 ? 30 : \ DBL_EXP_MASK <= 0x7fffffff ? 31 : \ 32) #define LDBL_EXP_BIT \ (LDBL_EXP_MASK < 0x100 ? 8 : \ LDBL_EXP_MASK < 0x200 ? 9 : \ LDBL_EXP_MASK < 0x400 ? 10 : \ LDBL_EXP_MASK < 0x800 ? 11 : \ LDBL_EXP_MASK < 0x1000 ? 12 : \ LDBL_EXP_MASK < 0x2000 ? 13 : \ LDBL_EXP_MASK < 0x4000 ? 14 : \ LDBL_EXP_MASK < 0x8000 ? 15 : \ LDBL_EXP_MASK < 0x10000 ? 16 : \ LDBL_EXP_MASK < 0x20000 ? 17 : \ LDBL_EXP_MASK < 0x40000 ? 18 : \ LDBL_EXP_MASK < 0x80000 ? 19 : \ LDBL_EXP_MASK < 0x100000 ? 20 : \ LDBL_EXP_MASK < 0x200000 ? 21 : \ LDBL_EXP_MASK < 0x400000 ? 22 : \ LDBL_EXP_MASK < 0x800000 ? 23 : \ LDBL_EXP_MASK < 0x1000000 ? 24 : \ LDBL_EXP_MASK < 0x2000000 ? 25 : \ LDBL_EXP_MASK < 0x4000000 ? 26 : \ LDBL_EXP_MASK < 0x8000000 ? 27 : \ LDBL_EXP_MASK < 0x10000000 ? 28 : \ LDBL_EXP_MASK < 0x20000000 ? 29 : \ LDBL_EXP_MASK < 0x40000000 ? 30 : \ LDBL_EXP_MASK <= 0x7fffffff ? 31 : \ 32) /* Number of bits used for a floating-point number: the mantissa (not counting the "hidden bit", since it may or may not be explicit), the exponent, and the sign. */ #define FLT_TOTAL_BIT ((FLT_MANT_BIT - 1) + FLT_EXP_BIT + 1) #define DBL_TOTAL_BIT ((DBL_MANT_BIT - 1) + DBL_EXP_BIT + 1) #define LDBL_TOTAL_BIT ((LDBL_MANT_BIT - 1) + LDBL_EXP_BIT + 1) /* Number of bytes used for a floating-point number. This can be smaller than the 'sizeof'. For example, on i386 systems, 'long double' most often have LDBL_MANT_BIT = 64, LDBL_EXP_BIT = 16, hence LDBL_TOTAL_BIT = 80 bits, i.e. 10 bytes of consecutive memory, but sizeof (long double) = 12 or = 16. */ #define SIZEOF_FLT ((FLT_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) #define SIZEOF_DBL ((DBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) #define SIZEOF_LDBL ((LDBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) /* Verify that SIZEOF_FLT <= sizeof (float) etc. */ typedef int verify_sizeof_flt[SIZEOF_FLT <= sizeof (float) ? 1 : -1]; typedef int verify_sizeof_dbl[SIZEOF_DBL <= sizeof (double) ? 1 : - 1]; typedef int verify_sizeof_ldbl[SIZEOF_LDBL <= sizeof (long double) ? 1 : - 1]; #endif /* _FLOATPLUS_H */ gsasl-1.8.1/lib/gl/memxor.c0000644000000000000000000000214113516251671012351 00000000000000/* Binary exclusive OR operation of two memory blocks. -*- coding: utf-8 -*- Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Simon Josefsson. The interface was inspired by memxor in Niels Möller's Nettle. */ #include #include "memxor.h" void * memxor (void *restrict dest, const void *restrict src, size_t n) { char const *s = src; char *d = dest; for (; n > 0; n--) *d++ ^= *s++; return dest; } gsasl-1.8.1/lib/gl/unused-parameter.h0000644000000000000000000000307213516251666014340 00000000000000/* A C macro for declaring that specific function parameters are not used. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* _GL_UNUSED_PARAMETER is a marker that can be appended to function parameter declarations for parameters that are not used. This helps to reduce warnings, such as from GCC -Wunused-parameter. The syntax is as follows: type param _GL_UNUSED_PARAMETER or more generally param_decl _GL_UNUSED_PARAMETER For example: int param _GL_UNUSED_PARAMETER int *(*param)(void) _GL_UNUSED_PARAMETER Other possible, but obscure and discouraged syntaxes: int _GL_UNUSED_PARAMETER *(*param)(void) _GL_UNUSED_PARAMETER int *(*param)(void) */ #ifndef _GL_UNUSED_PARAMETER # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED_PARAMETER __attribute__ ((__unused__)) # else # define _GL_UNUSED_PARAMETER # endif #endif gsasl-1.8.1/lib/gl/getline.c0000644000000000000000000000171613516251670012477 00000000000000/* getline.c --- Implementation of replacement getline function. Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Simon Josefsson. */ #include #include ssize_t getline (char **lineptr, size_t *n, FILE *stream) { return getdelim (lineptr, n, '\n', stream); } gsasl-1.8.1/lib/gl/float.in.h0000644000000000000000000001702613516251670012570 00000000000000/* A correct . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_FLOAT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_FLOAT_H@ #ifndef _@GUARD_PREFIX@_FLOAT_H #define _@GUARD_PREFIX@_FLOAT_H /* 'long double' properties. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) /* Number of mantissa units, in base FLT_RADIX. */ # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 /* Number of decimal digits that is sufficient for representing a number. */ # undef LDBL_DIG # define LDBL_DIG 18 /* x-1 where x is the smallest representable number > 1. */ # undef LDBL_EPSILON # define LDBL_EPSILON 1.0842021724855044340E-19L /* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */ # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 /* Minimum positive normalized number. */ # undef LDBL_MIN # define LDBL_MIN 3.3621031431120935063E-4932L /* Maximum representable finite number. */ # undef LDBL_MAX # define LDBL_MAX 1.1897314953572317650E+4932L /* Minimum e such that 10^e is in the range of normalized numbers. */ # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP (-4931) /* Maximum e such that 10^e is in the range of representable finite numbers. */ # undef LDBL_MAX_10_EXP # define LDBL_MAX_10_EXP 4932 #endif /* On FreeBSD/x86 6.4, the 'long double' type really has only 53 bits of precision in the compiler but 64 bits of precision at runtime. See . */ #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) /* Number of mantissa units, in base FLT_RADIX. */ # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 /* Number of decimal digits that is sufficient for representing a number. */ # undef LDBL_DIG # define LDBL_DIG 18 /* x-1 where x is the smallest representable number > 1. */ # undef LDBL_EPSILON # define LDBL_EPSILON 1.084202172485504434007452800869941711426e-19L /* 2^-63 */ /* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */ # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 /* Minimum positive normalized number. */ # undef LDBL_MIN # define LDBL_MIN 3.362103143112093506262677817321752E-4932L /* = 0x1p-16382L */ /* Maximum representable finite number. */ # undef LDBL_MAX /* LDBL_MAX is represented as { 0xFFFFFFFF, 0xFFFFFFFF, 32766 }. But the largest literal that GCC allows us to write is 0x0.fffffffffffff8p16384L = { 0xFFFFF800, 0xFFFFFFFF, 32766 }. So, define it like this through a reference to an external variable const unsigned int LDBL_MAX[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 32766 }; extern const long double LDBL_MAX; Unfortunately, this is not a constant expression. */ union gl_long_double_union { struct { unsigned int lo; unsigned int hi; unsigned int exponent; } xd; long double ld; }; extern const union gl_long_double_union gl_LDBL_MAX; # define LDBL_MAX (gl_LDBL_MAX.ld) /* Minimum e such that 10^e is in the range of normalized numbers. */ # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP (-4931) /* Maximum e such that 10^e is in the range of representable finite numbers. */ # undef LDBL_MAX_10_EXP # define LDBL_MAX_10_EXP 4932 #endif /* On AIX 7.1 with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_MAX are wrong. On Linux/PowerPC with gcc 4.4, the value of LDBL_MAX is wrong. */ #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP DBL_MIN_10_EXP # undef LDBL_MIN # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L /* DBL_MIN = 2^-1022 */ #endif #if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MAX /* LDBL_MAX is represented as { 0x7FEFFFFF, 0xFFFFFFFF, 0x7C8FFFFF, 0xFFFFFFFF }. It is not easy to define: #define LDBL_MAX 1.79769313486231580793728971405302307166e308L is too small, whereas #define LDBL_MAX 1.79769313486231580793728971405302307167e308L is too large. Apparently a bug in GCC decimal-to-binary conversion. Also, I can't get values larger than #define LDBL63 ((long double) (1ULL << 63)) #define LDBL882 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL945 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL1008 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL_MAX (LDBL1008 * 65535.0L + LDBL945 * (long double) 9223372036821221375ULL + LDBL882 * (long double) 4611686018427387904ULL) which is represented as { 0x7FEFFFFF, 0xFFFFFFFF, 0x7C8FFFFF, 0xF8000000 }. So, define it like this through a reference to an external variable const double LDBL_MAX[2] = { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL }; extern const long double LDBL_MAX; or through a pointer cast #define LDBL_MAX \ (*(const long double *) (double[]) { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL }) Unfortunately, this is not a constant expression, and the latter expression does not work well when GCC is optimizing.. */ union gl_long_double_union { struct { double hi; double lo; } dd; long double ld; }; extern const union gl_long_double_union gl_LDBL_MAX; # define LDBL_MAX (gl_LDBL_MAX.ld) #endif /* On IRIX 6.5, with cc, the value of LDBL_MANT_DIG is wrong. On IRIX 6.5, with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_EPSILON are wrong. */ #if defined __sgi && (LDBL_MANT_DIG >= 106) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 106 # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP DBL_MIN_10_EXP # undef LDBL_MIN # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L /* DBL_MIN = 2^-1022 */ # undef LDBL_EPSILON # define LDBL_EPSILON 2.46519032881566189191165176650870696773e-32L /* 2^-105 */ # endif #endif #if @REPLACE_ITOLD@ /* Pull in a function that fixes the 'int' to 'long double' conversion of glibc 2.7. */ extern # ifdef __cplusplus "C" # endif void _Qp_itoq (long double *, int); static void (*_gl_float_fix_itold) (long double *, int) = _Qp_itoq; #endif #endif /* _@GUARD_PREFIX@_FLOAT_H */ #endif /* _@GUARD_PREFIX@_FLOAT_H */ gsasl-1.8.1/lib/gl/c-ctype.c0000644000000000000000000000012213516251670012402 00000000000000#include #define C_CTYPE_INLINE _GL_EXTERN_INLINE #include "c-ctype.h" gsasl-1.8.1/lib/gl/str-two-way.h0000644000000000000000000004221713516251671013274 00000000000000/* Byte-wise substring search, using the Two-Way algorithm. Copyright (C) 2008-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Eric Blake , 2008. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Before including this file, you need to include and , and define: RETURN_TYPE A macro that expands to the return type. AVAILABLE(h, h_l, j, n_l) A macro that returns nonzero if there are at least N_L bytes left starting at H[J]. H is 'unsigned char *', H_L, J, and N_L are 'size_t'; H_L is an lvalue. For NUL-terminated searches, H_L can be modified each iteration to avoid having to compute the end of H up front. For case-insensitivity, you may optionally define: CMP_FUNC(p1, p2, l) A macro that returns 0 iff the first L characters of P1 and P2 are equal. CANON_ELEMENT(c) A macro that canonicalizes an element right after it has been fetched from one of the two strings. The argument is an 'unsigned char'; the result must be an 'unsigned char' as well. This file undefines the macros documented above, and defines LONG_NEEDLE_THRESHOLD. */ #include #include /* We use the Two-Way string matching algorithm (also known as Chrochemore-Perrin), which guarantees linear complexity with constant space. Additionally, for long needles, we also use a bad character shift table similar to the Boyer-Moore algorithm to achieve improved (potentially sub-linear) performance. See http://www-igm.univ-mlv.fr/~lecroq/string/node26.html#SECTION00260, https://en.wikipedia.org/wiki/Boyer-Moore_string_search_algorithm, https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.34.6641&rep=rep1&type=pdf */ /* Point at which computing a bad-byte shift table is likely to be worthwhile. Small needles should not compute a table, since it adds (1 << CHAR_BIT) + NEEDLE_LEN computations of preparation for a speedup no greater than a factor of NEEDLE_LEN. The larger the needle, the better the potential performance gain. On the other hand, on non-POSIX systems with CHAR_BIT larger than eight, the memory required for the table is prohibitive. */ #if CHAR_BIT < 10 # define LONG_NEEDLE_THRESHOLD 32U #else # define LONG_NEEDLE_THRESHOLD SIZE_MAX #endif #ifndef MAX # define MAX(a, b) ((a < b) ? (b) : (a)) #endif #ifndef CANON_ELEMENT # define CANON_ELEMENT(c) c #endif #ifndef CMP_FUNC # define CMP_FUNC memcmp #endif /* Perform a critical factorization of NEEDLE, of length NEEDLE_LEN. Return the index of the first byte in the right half, and set *PERIOD to the global period of the right half. The global period of a string is the smallest index (possibly its length) at which all remaining bytes in the string are repetitions of the prefix (the last repetition may be a subset of the prefix). When NEEDLE is factored into two halves, a local period is the length of the smallest word that shares a suffix with the left half and shares a prefix with the right half. All factorizations of a non-empty NEEDLE have a local period of at least 1 and no greater than NEEDLE_LEN. A critical factorization has the property that the local period equals the global period. All strings have at least one critical factorization with the left half smaller than the global period. And while some strings have more than one critical factorization, it is provable that with an ordered alphabet, at least one of the critical factorizations corresponds to a maximal suffix. Given an ordered alphabet, a critical factorization can be computed in linear time, with 2 * NEEDLE_LEN comparisons, by computing the shorter of two ordered maximal suffixes. The ordered maximal suffixes are determined by lexicographic comparison while tracking periodicity. */ static size_t critical_factorization (const unsigned char *needle, size_t needle_len, size_t *period) { /* Index of last byte of left half, or SIZE_MAX. */ size_t max_suffix, max_suffix_rev; size_t j; /* Index into NEEDLE for current candidate suffix. */ size_t k; /* Offset into current period. */ size_t p; /* Intermediate period. */ unsigned char a, b; /* Current comparison bytes. */ /* Special case NEEDLE_LEN of 1 or 2 (all callers already filtered out 0-length needles. */ if (needle_len < 3) { *period = 1; return needle_len - 1; } /* Invariants: 0 <= j < NEEDLE_LEN - 1 -1 <= max_suffix{,_rev} < j (treating SIZE_MAX as if it were signed) min(max_suffix, max_suffix_rev) < global period of NEEDLE 1 <= p <= global period of NEEDLE p == global period of the substring NEEDLE[max_suffix{,_rev}+1...j] 1 <= k <= p */ /* Perform lexicographic search. */ max_suffix = SIZE_MAX; j = 0; k = p = 1; while (j + k < needle_len) { a = CANON_ELEMENT (needle[j + k]); b = CANON_ELEMENT (needle[max_suffix + k]); if (a < b) { /* Suffix is smaller, period is entire prefix so far. */ j += k; k = 1; p = j - max_suffix; } else if (a == b) { /* Advance through repetition of the current period. */ if (k != p) ++k; else { j += p; k = 1; } } else /* b < a */ { /* Suffix is larger, start over from current location. */ max_suffix = j++; k = p = 1; } } *period = p; /* Perform reverse lexicographic search. */ max_suffix_rev = SIZE_MAX; j = 0; k = p = 1; while (j + k < needle_len) { a = CANON_ELEMENT (needle[j + k]); b = CANON_ELEMENT (needle[max_suffix_rev + k]); if (b < a) { /* Suffix is smaller, period is entire prefix so far. */ j += k; k = 1; p = j - max_suffix_rev; } else if (a == b) { /* Advance through repetition of the current period. */ if (k != p) ++k; else { j += p; k = 1; } } else /* a < b */ { /* Suffix is larger, start over from current location. */ max_suffix_rev = j++; k = p = 1; } } /* Choose the shorter suffix. Return the index of the first byte of the right half, rather than the last byte of the left half. For some examples, 'banana' has two critical factorizations, both exposed by the two lexicographic extreme suffixes of 'anana' and 'nana', where both suffixes have a period of 2. On the other hand, with 'aab' and 'bba', both strings have a single critical factorization of the last byte, with the suffix having a period of 1. While the maximal lexicographic suffix of 'aab' is 'b', the maximal lexicographic suffix of 'bba' is 'ba', which is not a critical factorization. Conversely, the maximal reverse lexicographic suffix of 'a' works for 'bba', but not 'ab' for 'aab'. The shorter suffix of the two will always be a critical factorization. */ if (max_suffix_rev + 1 < max_suffix + 1) return max_suffix + 1; *period = p; return max_suffix_rev + 1; } /* Return the first location of non-empty NEEDLE within HAYSTACK, or NULL. HAYSTACK_LEN is the minimum known length of HAYSTACK. This method is optimized for NEEDLE_LEN < LONG_NEEDLE_THRESHOLD. Performance is guaranteed to be linear, with an initialization cost of 2 * NEEDLE_LEN comparisons. If AVAILABLE does not modify HAYSTACK_LEN (as in memmem), then at most 2 * HAYSTACK_LEN - NEEDLE_LEN comparisons occur in searching. If AVAILABLE modifies HAYSTACK_LEN (as in strstr), then at most 3 * HAYSTACK_LEN - NEEDLE_LEN comparisons occur in searching. */ static RETURN_TYPE two_way_short_needle (const unsigned char *haystack, size_t haystack_len, const unsigned char *needle, size_t needle_len) { size_t i; /* Index into current byte of NEEDLE. */ size_t j; /* Index into current window of HAYSTACK. */ size_t period; /* The period of the right half of needle. */ size_t suffix; /* The index of the right half of needle. */ /* Factor the needle into two halves, such that the left half is smaller than the global period, and the right half is periodic (with a period as large as NEEDLE_LEN - suffix). */ suffix = critical_factorization (needle, needle_len, &period); /* Perform the search. Each iteration compares the right half first. */ if (CMP_FUNC (needle, needle + period, suffix) == 0) { /* Entire needle is periodic; a mismatch in the left half can only advance by the period, so use memory to avoid rescanning known occurrences of the period in the right half. */ size_t memory = 0; j = 0; while (AVAILABLE (haystack, haystack_len, j, needle_len)) { /* Scan for matches in right half. */ i = MAX (suffix, memory); while (i < needle_len && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) ++i; if (needle_len <= i) { /* Scan for matches in left half. */ i = suffix - 1; while (memory < i + 1 && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) --i; if (i + 1 < memory + 1) return (RETURN_TYPE) (haystack + j); /* No match, so remember how many repetitions of period on the right half were scanned. */ j += period; memory = needle_len - period; } else { j += i - suffix + 1; memory = 0; } } } else { /* The two halves of needle are distinct; no extra memory is required, and any mismatch results in a maximal shift. */ period = MAX (suffix, needle_len - suffix) + 1; j = 0; while (AVAILABLE (haystack, haystack_len, j, needle_len)) { /* Scan for matches in right half. */ i = suffix; while (i < needle_len && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) ++i; if (needle_len <= i) { /* Scan for matches in left half. */ i = suffix - 1; while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) --i; if (i == SIZE_MAX) return (RETURN_TYPE) (haystack + j); j += period; } else j += i - suffix + 1; } } return NULL; } /* Return the first location of non-empty NEEDLE within HAYSTACK, or NULL. HAYSTACK_LEN is the minimum known length of HAYSTACK. This method is optimized for LONG_NEEDLE_THRESHOLD <= NEEDLE_LEN. Performance is guaranteed to be linear, with an initialization cost of 3 * NEEDLE_LEN + (1 << CHAR_BIT) operations. If AVAILABLE does not modify HAYSTACK_LEN (as in memmem), then at most 2 * HAYSTACK_LEN - NEEDLE_LEN comparisons occur in searching, and sublinear performance O(HAYSTACK_LEN / NEEDLE_LEN) is possible. If AVAILABLE modifies HAYSTACK_LEN (as in strstr), then at most 3 * HAYSTACK_LEN - NEEDLE_LEN comparisons occur in searching, and sublinear performance is not possible. */ static RETURN_TYPE two_way_long_needle (const unsigned char *haystack, size_t haystack_len, const unsigned char *needle, size_t needle_len) { size_t i; /* Index into current byte of NEEDLE. */ size_t j; /* Index into current window of HAYSTACK. */ size_t period; /* The period of the right half of needle. */ size_t suffix; /* The index of the right half of needle. */ size_t shift_table[1U << CHAR_BIT]; /* See below. */ /* Factor the needle into two halves, such that the left half is smaller than the global period, and the right half is periodic (with a period as large as NEEDLE_LEN - suffix). */ suffix = critical_factorization (needle, needle_len, &period); /* Populate shift_table. For each possible byte value c, shift_table[c] is the distance from the last occurrence of c to the end of NEEDLE, or NEEDLE_LEN if c is absent from the NEEDLE. shift_table[NEEDLE[NEEDLE_LEN - 1]] contains the only 0. */ for (i = 0; i < 1U << CHAR_BIT; i++) shift_table[i] = needle_len; for (i = 0; i < needle_len; i++) shift_table[CANON_ELEMENT (needle[i])] = needle_len - i - 1; /* Perform the search. Each iteration compares the right half first. */ if (CMP_FUNC (needle, needle + period, suffix) == 0) { /* Entire needle is periodic; a mismatch in the left half can only advance by the period, so use memory to avoid rescanning known occurrences of the period in the right half. */ size_t memory = 0; size_t shift; j = 0; while (AVAILABLE (haystack, haystack_len, j, needle_len)) { /* Check the last byte first; if it does not match, then shift to the next possible match location. */ shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])]; if (0 < shift) { if (memory && shift < period) { /* Since needle is periodic, but the last period has a byte out of place, there can be no match until after the mismatch. */ shift = needle_len - period; } memory = 0; j += shift; continue; } /* Scan for matches in right half. The last byte has already been matched, by virtue of the shift table. */ i = MAX (suffix, memory); while (i < needle_len - 1 && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) ++i; if (needle_len - 1 <= i) { /* Scan for matches in left half. */ i = suffix - 1; while (memory < i + 1 && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) --i; if (i + 1 < memory + 1) return (RETURN_TYPE) (haystack + j); /* No match, so remember how many repetitions of period on the right half were scanned. */ j += period; memory = needle_len - period; } else { j += i - suffix + 1; memory = 0; } } } else { /* The two halves of needle are distinct; no extra memory is required, and any mismatch results in a maximal shift. */ size_t shift; period = MAX (suffix, needle_len - suffix) + 1; j = 0; while (AVAILABLE (haystack, haystack_len, j, needle_len)) { /* Check the last byte first; if it does not match, then shift to the next possible match location. */ shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])]; if (0 < shift) { j += shift; continue; } /* Scan for matches in right half. The last byte has already been matched, by virtue of the shift table. */ i = suffix; while (i < needle_len - 1 && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) ++i; if (needle_len - 1 <= i) { /* Scan for matches in left half. */ i = suffix - 1; while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) == CANON_ELEMENT (haystack[i + j]))) --i; if (i == SIZE_MAX) return (RETURN_TYPE) (haystack + j); j += period; } else j += i - suffix + 1; } } return NULL; } #undef AVAILABLE #undef CANON_ELEMENT #undef CMP_FUNC #undef MAX #undef RETURN_TYPE gsasl-1.8.1/lib/gl/sys_socket.c0000644000000000000000000000015713516251666013241 00000000000000#include #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE #include "sys/socket.h" typedef int dummy; gsasl-1.8.1/lib/THANKS0000644000000000000000000000130513516252320011200 00000000000000GNU SASL LIBRARY THANKS -- Acknowledgements. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. GNU SASL uses libntlm by Grant Edwards maintained by Simon Josefsson; libgssapi by MIT/Heimdal; libgcrypt by Werner Koch; GSS, Libidn, and Shishi by Simon Josefsson. Bug reports, patches and/or suggestions were also received from or written by several people. See the file THANKS in the GNU SASL package for the (hopefully) complete list. ---------------------------------------------------------------------- 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. gsasl-1.8.1/lib/README0000644000000000000000000000422213516252320011146 00000000000000GNU SASL LIBRARY README -- Important introductory notes. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. The GNU SASL Library is a library that implements the Simple Authentication and Security Layer (SASL) framework and some plugins. The GNU SASL Library is licensed under the GNU Lesser General Public License (LGPL) version 2.1 (or later). See the file COPYING.LIB. The GNU project typically uses the GNU General Public License (GPL) for libraries, and not the LGPL, but for this project we decided that we would get more help from the community if we used the LGPLv2.1+, as other free SASL implementations exists. See also . Some parts, such as the gnulib self-tests (gltests/) are licensed under the GNU General Public License (GPL) version 3.0 (or later). See the file COPYING. The manual is not included in this directory, see the full GNU SASL archive. If you need help to use GNU SASL, or wish to help others, you are invited to join our mailing list help-gsasl@gnu.org, see . Currently there is some support for the following mechanisms: - CRAM-MD5 (RFC 2195) - EXTERNAL (RFC 2222) - GSSAPI (RFC 2222, requires GSS, Heimdal or MIT Kerberos) - ANONYMOUS (RFC 2245) - PLAIN (RFC 2595) - SECURID (RFC 2808) - DIGEST-MD5 (RFC 2831) - SCRAM-SHA-1 and SCRAM-SHA-1-PLUS (RFC 5802) - GS2-KRB5 (RFC 5801, no CB, requires GSS, Heimdal, or MIT Kerberos) - SAML20 (RFC 6595) - OPENID20 (RFC 6616) - LOGIN (non-standard) - NTLM (non-standard, client only, requires Libntlm) - KERBEROS_V5 (experimental, requires Shishi) The library should be portable to all C89 platforms. For updates to the project, see . For any copyright year range specified as YYYY-ZZZZ in this package note that the range specifies every single year in that closed interval. ---------------------------------------------------------------------- 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. gsasl-1.8.1/lib/external/0000755000000000000000000000000013521017725012174 500000000000000gsasl-1.8.1/lib/external/external.h0000644000000000000000000000264713516252320014114 00000000000000/* external.h --- Prototypes for EXTERNAL mechanism as defined in RFC 2222. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef EXTERNAL_H #define EXTERNAL_H #include #define GSASL_EXTERNAL_NAME "EXTERNAL" extern Gsasl_mechanism gsasl_external_mechanism; extern int _gsasl_external_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_external_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); #endif /* EXTERNAL_H */ gsasl-1.8.1/lib/external/Makefile.am0000644000000000000000000000226413516252320014150 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-external.la libgsasl_external_la_SOURCES = external.h mechinfo.c if CLIENT libgsasl_external_la_SOURCES += client.c endif if SERVER libgsasl_external_la_SOURCES += server.c endif gsasl-1.8.1/lib/external/server.c0000644000000000000000000000345613516252320013572 00000000000000/* server.c --- EXTERNAL mechanism as defined in RFC 2222, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "external.h" /* Get memchr. */ #include int _gsasl_external_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { *output_len = 0; *output = NULL; if (!input) return GSASL_NEEDS_MORE; /* Quoting rfc2222bis-09: * extern-resp = *( UTF8-char-no-nul ) * UTF8-char-no-nul = UTF8-1-no-nul / UTF8-2 / UTF8-3 / UTF8-4 * UTF8-1-no-nul = %x01-7F */ if (memchr (input, '\0', input_len)) return GSASL_MECHANISM_PARSE_ERROR; /* FIXME: Validate that input is UTF-8. */ if (input_len > 0) gsasl_property_set_raw (sctx, GSASL_AUTHZID, input, input_len); else gsasl_property_set (sctx, GSASL_AUTHZID, NULL); return gsasl_callback (NULL, sctx, GSASL_VALIDATE_EXTERNAL); } gsasl-1.8.1/lib/external/mechinfo.c0000644000000000000000000000250013516252320014041 00000000000000/* mechinfo.c --- Definition of EXTERNAL mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "external.h" Gsasl_mechanism gsasl_external_mechanism = { GSASL_EXTERNAL_NAME, { NULL, NULL, NULL, #ifdef USE_CLIENT _gsasl_external_client_step, #else NULL, #endif NULL, NULL, NULL} , { NULL, NULL, NULL, #ifdef USE_SERVER _gsasl_external_server_step, #else NULL, #endif NULL, NULL, NULL} }; gsasl-1.8.1/lib/external/Makefile.in0000644000000000000000000017174713521017117014175 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = external ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_external_la_LIBADD = am__libgsasl_external_la_SOURCES_DIST = external.h mechinfo.c client.c \ server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_external_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_external_la_OBJECTS = $(am_libgsasl_external_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_external_la_SOURCES) DIST_SOURCES = $(am__libgsasl_external_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-external.la libgsasl_external_la_SOURCES = external.h mechinfo.c $(am__append_1) \ $(am__append_2) 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 external/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu external/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-external.la: $(libgsasl_external_la_OBJECTS) $(libgsasl_external_la_DEPENDENCIES) $(EXTRA_libgsasl_external_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_external_la_OBJECTS) $(libgsasl_external_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/external/client.c0000644000000000000000000000266113516252320013537 00000000000000/* client.c --- EXTERNAL mechanism as defined in RFC 2222, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "external.h" /* Get strdup, strlen. */ #include int _gsasl_external_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { const char *p; p = gsasl_property_get (sctx, GSASL_AUTHZID); if (!p) p = ""; *output = strdup (p); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (p); return GSASL_OK; } gsasl-1.8.1/lib/scram/0000755000000000000000000000000013521017726011460 500000000000000gsasl-1.8.1/lib/scram/printer.h0000644000000000000000000000253413516252321013234 00000000000000/* printer.h --- Convert SCRAM token structures into strings. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef SCRAM_PRINTER_H #define SCRAM_PRINTER_H /* Get token types. */ #include "tokens.h" extern int scram_print_client_first (struct scram_client_first *cf, char **out); extern int scram_print_server_first (struct scram_server_first *cf, char **out); extern int scram_print_client_final (struct scram_client_final *cl, char **out); extern int scram_print_server_final (struct scram_server_final *sl, char **out); #endif /* SCRAM_PRINTER_H */ gsasl-1.8.1/lib/scram/printer.c0000644000000000000000000001000213516252321013214 00000000000000/* printer.h --- Convert SCRAM token structures into strings. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "printer.h" /* Get free. */ #include /* Get asprintf. */ #include /* Get strdup. */ #include /* Get token validator. */ #include "validate.h" static char * scram_escape (const char *str) { char *out = malloc (strlen (str) * 3 + 1); char *p = out; if (!out) return NULL; while (*str) { if (*str == ',') { memcpy (p, "=2C", 3); p += 3; } else if (*str == '=') { memcpy (p, "=3D", 3); p += 3; } else { *p = *str; p++; } str++; } *p = '\0'; return out; } /* Print SCRAM client-first token into newly allocated output string OUT. Returns 0 on success, -1 on invalid token, and -2 on memory allocation errors. */ int scram_print_client_first (struct scram_client_first *cf, char **out) { char *username = NULL; char *authzid = NULL; int n; /* Below we assume fields are sensible, so first verify that to avoid crashes. */ if (!scram_valid_client_first (cf)) return -1; /* Escape username and authzid. */ username = scram_escape (cf->username); if (!username) return -2; if (cf->authzid) { authzid = scram_escape (cf->authzid); if (!authzid) return -2; } n = asprintf (out, "%c%s%s,%s%s,n=%s,r=%s", cf->cbflag, cf->cbflag == 'p' ? "=" : "", cf->cbflag == 'p' ? cf->cbname : "", authzid ? "a=" : "", authzid ? authzid : "", username, cf->client_nonce); free (username); free (authzid); if (n <= 0 || *out == NULL) return -1; return 0; } /* Print SCRAM server-first token into newly allocated output string OUT. Returns 0 on success, -1 on invalid token, and -2 on memory allocation errors. */ int scram_print_server_first (struct scram_server_first *sf, char **out) { int n; /* Below we assume fields are sensible, so first verify that to avoid crashes. */ if (!scram_valid_server_first (sf)) return -1; n = asprintf (out, "r=%s,s=%s,i=%lu", sf->nonce, sf->salt, (unsigned long) sf->iter); if (n <= 0 || *out == NULL) return -1; return 0; } /* Print SCRAM client-final token into newly allocated output string OUT. Returns 0 on success, -1 on invalid token, and -2 on memory allocation errors. */ int scram_print_client_final (struct scram_client_final *cl, char **out) { int n; /* Below we assume fields are sensible, so first verify that to avoid crashes. */ if (!scram_valid_client_final (cl)) return -1; n = asprintf (out, "c=%s,r=%s,p=%s", cl->cbind, cl->nonce, cl->proof); if (n <= 0 || *out == NULL) return -1; return 0; } /* Print SCRAM server-final token into newly allocated output string OUT. Returns 0 on success, -1 on invalid token, and -2 on memory allocation errors. */ int scram_print_server_final (struct scram_server_final *sl, char **out) { int n; /* Below we assume fields are sensible, so first verify that to avoid crashes. */ if (!scram_valid_server_final (sl)) return -1; n = asprintf (out, "v=%s", sl->verifier); if (n <= 0 || *out == NULL) return -1; return 0; } gsasl-1.8.1/lib/scram/validate.h0000644000000000000000000000252313516252321013340 00000000000000/* validate.h --- Validate consistency of SCRAM tokens. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef SCRAM_VALIDATE_H #define SCRAM_VALIDATE_H /* Get token types. */ #include "tokens.h" /* Get bool. */ #include extern bool scram_valid_client_first (struct scram_client_first *cf); extern bool scram_valid_server_first (struct scram_server_first *sf); extern bool scram_valid_client_final (struct scram_client_final *cl); extern bool scram_valid_server_final (struct scram_server_final *sl); #endif /* SCRAM_VALIDATE_H */ gsasl-1.8.1/lib/scram/parser.c0000644000000000000000000002021713516252321013036 00000000000000/* parser.c --- SCRAM parser. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "parser.h" /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include /* Get validator. */ #include "validate.h" /* Get c_isalpha. */ #include "c-ctype.h" static char * unescape (const char *str, size_t len) { char *out = malloc (len + 1); char *p = out; if (!out) return NULL; while (len > 0 && *str) { if (len >= 3 && str[0] == '=' && str[1] == '2' && str[2] == 'C') { *p++ = ','; str += 3; len -= 3; } else if (len >= 3 && str[0] == '=' && str[1] == '3' && str[2] == 'D') { *p++ = '='; str += 3; len -= 3; } else { *p++ = *str; str++; len--; } } *p = '\0'; return out; } int scram_parse_client_first (const char *str, size_t len, struct scram_client_first *cf) { /* Minimum client first string is 'n,,n=a,r=b'. */ if (strnlen (str, len) < 10) return -1; if (len == 0 || (*str != 'n' && *str != 'y' && *str != 'p')) return -1; cf->cbflag = *str; str++, len--; if (cf->cbflag == 'p') { const char *p; if (len == 0 || *str != '=') return -1; str++, len--; p = memchr (str, ',', len); if (!p) return -1; cf->cbname = malloc (p - str + 1); if (!cf->cbname) return -1; memcpy (cf->cbname, str, p - str); cf->cbname[p - str] = '\0'; len -= (p - str); str += (p - str); } if (len == 0 || *str != ',') return -1; str++, len--; if (len == 0) return -1; if (*str == 'a') { const char *p; size_t l; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; p = memchr (str, ',', len); if (!p) return -1; l = p - str; if (len < l) return -1; cf->authzid = unescape (str, l); if (!cf->authzid) return -1; str = p; len -= l; } if (len == 0 || *str != ',') return -1; str++, len--; if (len == 0 || *str != 'n') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; { const char *p; size_t l; p = memchr (str, ',', len); if (!p) return -1; l = p - str; if (len < l) return -1; cf->username = unescape (str, l); if (!cf->username) return -1; str = p; len -= l; } if (len == 0 || *str != ',') return -1; str++, len--; if (len == 0 || *str != 'r') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; { const char *p; size_t l; p = memchr (str, ',', len); if (!p) p = str + len; if (!p) return -1; l = p - str; if (len < l) return -1; cf->client_nonce = malloc (l + 1); if (!cf->client_nonce) return -1; memcpy (cf->client_nonce, str, l); cf->client_nonce[l] = '\0'; str = p; len -= l; } /* FIXME check that any extension fields follow valid syntax. */ if (scram_valid_client_first (cf) < 0) return -1; return 0; } int scram_parse_server_first (const char *str, size_t len, struct scram_server_first *sf) { /* Minimum server first string is 'r=ab,s=biws,i=1'. */ if (strnlen (str, len) < 15) return -1; if (len == 0 || *str != 'r') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; { const char *p; size_t l; p = memchr (str, ',', len); if (!p) return -1; l = p - str; if (len < l) return -1; sf->nonce = malloc (l + 1); if (!sf->nonce) return -1; memcpy (sf->nonce, str, l); sf->nonce[l] = '\0'; str = p; len -= l; } if (len == 0 || *str != ',') return -1; str++, len--; if (len == 0 || *str != 's') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; { const char *p; size_t l; p = memchr (str, ',', len); if (!p) return -1; l = p - str; if (len < l) return -1; sf->salt = malloc (l + 1); if (!sf->salt) return -1; memcpy (sf->salt, str, l); sf->salt[l] = '\0'; str = p; len -= l; } if (len == 0 || *str != ',') return -1; str++, len--; if (len == 0 || *str != 'i') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; sf->iter = 0; for (; len > 0 && *str >= '0' && *str <= '9'; str++, len--) { size_t last_iter = sf->iter; sf->iter = sf->iter * 10 + (*str - '0'); /* Protect against wrap arounds. */ if (sf->iter < last_iter) return -1; } if (len > 0 && *str != ',') return -1; /* FIXME check that any extension fields follow valid syntax. */ if (scram_valid_server_first (sf) < 0) return -1; return 0; } int scram_parse_client_final (const char *str, size_t len, struct scram_client_final *cl) { /* Minimum client final string is 'c=biws,r=ab,p=ab=='. */ if (strnlen (str, len) < 18) return -1; if (len == 0 || *str != 'c') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; { const char *p; size_t l; p = memchr (str, ',', len); if (!p) return -1; l = p - str; if (len < l) return -1; cl->cbind = malloc (l + 1); if (!cl->cbind) return -1; memcpy (cl->cbind, str, l); cl->cbind[l] = '\0'; str = p; len -= l; } if (len == 0 || *str != ',') return -1; str++, len--; if (len == 0 || *str != 'r') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; { const char *p; size_t l; p = memchr (str, ',', len); if (!p) return -1; l = p - str; if (len < l) return -1; cl->nonce = malloc (l + 1); if (!cl->nonce) return -1; memcpy (cl->nonce, str, l); cl->nonce[l] = '\0'; str = p; len -= l; } if (len == 0 || *str != ',') return -1; str++, len--; /* Ignore extensions. */ while (len > 0 && c_isalpha (*str) && *str != 'p') { const char *p; size_t l; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; p = memchr (str, ',', len); if (!p) return -1; p++; l = p - str; if (len < l) return -1; str = p; len -= l; } if (len == 0 || *str != 'p') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; /* Sanity check proof. */ if (memchr (str, '\0', len)) return -1; cl->proof = malloc (len + 1); if (!cl->proof) return -1; memcpy (cl->proof, str, len); cl->proof[len] = '\0'; if (scram_valid_client_final (cl) < 0) return -1; return 0; } int scram_parse_server_final (const char *str, size_t len, struct scram_server_final *sl) { /* Minimum client final string is 'v=ab=='. */ if (strnlen (str, len) < 6) return -1; if (len == 0 || *str != 'v') return -1; str++, len--; if (len == 0 || *str != '=') return -1; str++, len--; /* Sanity check proof. */ if (memchr (str, '\0', len)) return -1; sl->verifier = malloc (len + 1); if (!sl->verifier) return -1; memcpy (sl->verifier, str, len); sl->verifier[len] = '\0'; if (scram_valid_server_final (sl) < 0) return -1; return 0; } gsasl-1.8.1/lib/scram/tokens.h0000644000000000000000000000312113516252321013045 00000000000000/* tokens.h --- Types for SCRAM tokens. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef SCRAM_TOKENS_H #define SCRAM_TOKENS_H /* Get size_t. */ #include struct scram_client_first { char cbflag; char *cbname; char *authzid; char *username; char *client_nonce; }; struct scram_server_first { char *nonce; char *salt; size_t iter; }; struct scram_client_final { char *cbind; char *nonce; char *proof; }; struct scram_server_final { char *verifier; }; extern void scram_free_client_first (struct scram_client_first *cf); extern void scram_free_server_first (struct scram_server_first *sf); extern void scram_free_client_final (struct scram_client_final *cl); extern void scram_free_server_final (struct scram_server_final *sl); #endif /* SCRAM_TOKENS_H */ gsasl-1.8.1/lib/scram/scram.h0000644000000000000000000000376413516252321012664 00000000000000/* scram.h --- Prototypes for SCRAM mechanism * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef SCRAM_H #define SCRAM_H #include #define GSASL_SCRAM_SHA1_NAME "SCRAM-SHA-1" #define GSASL_SCRAM_SHA1_PLUS_NAME "SCRAM-SHA-1-PLUS" extern Gsasl_mechanism gsasl_scram_sha1_mechanism; extern Gsasl_mechanism gsasl_scram_sha1_plus_mechanism; int _gsasl_scram_sha1_client_start (Gsasl_session * sctx, void **mech_data); int _gsasl_scram_sha1_plus_client_start (Gsasl_session * sctx, void **mech_data); int _gsasl_scram_sha1_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); void _gsasl_scram_sha1_client_finish (Gsasl_session * sctx, void *mech_data); int _gsasl_scram_sha1_server_start (Gsasl_session * sctx, void **mech_data); int _gsasl_scram_sha1_plus_server_start (Gsasl_session * sctx, void **mech_data); int _gsasl_scram_sha1_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); void _gsasl_scram_sha1_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* SCRAM_H */ gsasl-1.8.1/lib/scram/validate.c0000644000000000000000000000671413516252321013341 00000000000000/* validate.c --- Validate consistency of SCRAM tokens. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get prototypes. */ #include "validate.h" /* Get strcmp, strlen. */ #include bool scram_valid_client_first (struct scram_client_first *cf) { /* Check that cbflag is one of permitted values. */ switch (cf->cbflag) { case 'p': case 'n': case 'y': break; default: return false; } /* Check that cbname is only set when cbflag is p. */ if (cf->cbflag == 'p' && cf->cbname == NULL) return false; else if (cf->cbflag != 'p' && cf->cbname != NULL) return false; if (cf->cbname) { const char *p = cf->cbname; while (*p && strchr ("ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789.-", *p)) p++; if (*p) return false; } /* We require a non-zero username string. */ if (cf->username == NULL || *cf->username == '\0') return false; /* We require a non-zero client nonce. */ if (cf->client_nonce == NULL || *cf->client_nonce == '\0') return false; /* Nonce cannot contain ','. */ if (strchr (cf->client_nonce, ',')) return false; return true; } bool scram_valid_server_first (struct scram_server_first * sf) { /* We require a non-zero nonce. */ if (sf->nonce == NULL || *sf->nonce == '\0') return false; /* Nonce cannot contain ','. */ if (strchr (sf->nonce, ',')) return false; /* We require a non-zero salt. */ if (sf->salt == NULL || *sf->salt == '\0') return false; /* FIXME check that salt is valid base64. */ if (strchr (sf->salt, ',')) return false; if (sf->iter == 0) return false; return true; } bool scram_valid_client_final (struct scram_client_final * cl) { /* We require a non-zero cbind. */ if (cl->cbind == NULL || *cl->cbind == '\0') return false; /* FIXME check that cbind is valid base64. */ if (strchr (cl->cbind, ',')) return false; /* We require a non-zero nonce. */ if (cl->nonce == NULL || *cl->nonce == '\0') return false; /* Nonce cannot contain ','. */ if (strchr (cl->nonce, ',')) return false; /* We require a non-zero proof. */ if (cl->proof == NULL || *cl->proof == '\0') return false; /* FIXME check that proof is valid base64. */ if (strchr (cl->proof, ',')) return false; return true; } bool scram_valid_server_final (struct scram_server_final * sl) { /* We require a non-zero verifier. */ if (sl->verifier == NULL || *sl->verifier == '\0') return false; /* FIXME check that verifier is valid base64. */ if (strchr (sl->verifier, ',')) return false; return true; } gsasl-1.8.1/lib/scram/Makefile.am0000644000000000000000000000237713516252321013441 00000000000000# Copyright (C) 2009-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-scram.la libgsasl_scram_la_SOURCES = scram.h mechinfo.c \ tokens.h tokens.c \ validate.h validate.c \ parser.h parser.c \ printer.h printer.c if CLIENT libgsasl_scram_la_SOURCES += client.c endif if SERVER libgsasl_scram_la_SOURCES += server.c endif gsasl-1.8.1/lib/scram/server.c0000644000000000000000000002711413516252321013053 00000000000000/* server.c --- SASL CRAM-MD5 server side functions. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "scram.h" /* Get malloc, free, strtoul. */ #include /* Get ULONG_MAX. */ #include /* Get memcpy, strdup, strlen. */ #include /* Get MAX. */ #include "minmax.h" #include "tokens.h" #include "parser.h" #include "printer.h" #include "gc.h" #include "memxor.h" #define DEFAULT_SALT_BYTES 12 #define SNONCE_ENTROPY_BYTES 18 struct scram_server_state { int plus; int step; char *cbind; char *gs2header; /* copy of client first gs2-header */ char *cfmb_str; /* copy of client first message bare */ char *sf_str; /* copy of server first message */ char *snonce; char *clientproof; char *storedkey; char *serverkey; char *authmessage; char *cbtlsunique; size_t cbtlsuniquelen; struct scram_client_first cf; struct scram_server_first sf; struct scram_client_final cl; struct scram_server_final sl; }; static int scram_start (Gsasl_session * sctx, void **mech_data, int plus) { struct scram_server_state *state; char buf[MAX (SNONCE_ENTROPY_BYTES, DEFAULT_SALT_BYTES)]; const char *p; int rc; state = (struct scram_server_state *) calloc (sizeof (*state), 1); if (state == NULL) return GSASL_MALLOC_ERROR; state->plus = plus; rc = gsasl_nonce (buf, SNONCE_ENTROPY_BYTES); if (rc != GSASL_OK) goto end; rc = gsasl_base64_to (buf, SNONCE_ENTROPY_BYTES, &state->snonce, NULL); if (rc != GSASL_OK) goto end; rc = gsasl_nonce (buf, DEFAULT_SALT_BYTES); if (rc != GSASL_OK) goto end; rc = gsasl_base64_to (buf, DEFAULT_SALT_BYTES, &state->sf.salt, NULL); if (rc != GSASL_OK) goto end; p = gsasl_property_get (sctx, GSASL_CB_TLS_UNIQUE); if (plus && !p) { rc = GSASL_NO_CB_TLS_UNIQUE; goto end; } if (p) { rc = gsasl_base64_from (p, strlen (p), &state->cbtlsunique, &state->cbtlsuniquelen); if (rc != GSASL_OK) goto end; } *mech_data = state; return GSASL_OK; end: free (state->sf.salt); free (state->snonce); free (state); return rc; } int _gsasl_scram_sha1_server_start (Gsasl_session * sctx, void **mech_data) { return scram_start (sctx, mech_data, 0); } int _gsasl_scram_sha1_plus_server_start (Gsasl_session * sctx, void **mech_data) { return scram_start (sctx, mech_data, 1); } int _gsasl_scram_sha1_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct scram_server_state *state = mech_data; int res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; int rc; *output = NULL; *output_len = 0; switch (state->step) { case 0: { if (input_len == 0) return GSASL_NEEDS_MORE; if (scram_parse_client_first (input, input_len, &state->cf) < 0) return GSASL_MECHANISM_PARSE_ERROR; /* In PLUS server mode, we require use of channel bindings. */ if (state->plus && state->cf.cbflag != 'p') return GSASL_AUTHENTICATION_ERROR; /* In non-PLUS mode, but where have channel bindings data (and thus advertised PLUS) we reject a client 'y' cbflag. */ if (!state->plus && state->cbtlsuniquelen > 0 && state->cf.cbflag == 'y') return GSASL_AUTHENTICATION_ERROR; /* Check that username doesn't fail SASLprep. */ { char *tmp; rc = gsasl_saslprep (state->cf.username, GSASL_ALLOW_UNASSIGNED, &tmp, NULL); if (rc != GSASL_OK || *tmp == '\0') return GSASL_AUTHENTICATION_ERROR; gsasl_free (tmp); } { const char *p; /* Save "gs2-header" and "message-bare" for next step. */ p = memchr (input, ',', input_len); if (!p) return GSASL_AUTHENTICATION_ERROR; p++; p = memchr (p, ',', input_len - (p - input)); if (!p) return GSASL_AUTHENTICATION_ERROR; p++; state->gs2header = malloc (p - input + 1); if (!state->gs2header) return GSASL_MALLOC_ERROR; memcpy (state->gs2header, input, p - input); state->gs2header[p - input] = '\0'; state->cfmb_str = malloc (input_len - (p - input) + 1); if (!state->cfmb_str) return GSASL_MALLOC_ERROR; memcpy (state->cfmb_str, p, input_len - (p - input)); state->cfmb_str[input_len - (p - input)] = '\0'; } /* Create new nonce. */ { size_t cnlen = strlen (state->cf.client_nonce); state->sf.nonce = malloc (cnlen + SNONCE_ENTROPY_BYTES + 1); if (!state->sf.nonce) return GSASL_MALLOC_ERROR; memcpy (state->sf.nonce, state->cf.client_nonce, cnlen); memcpy (state->sf.nonce + cnlen, state->snonce, SNONCE_ENTROPY_BYTES); state->sf.nonce[cnlen + SNONCE_ENTROPY_BYTES] = '\0'; } gsasl_property_set (sctx, GSASL_AUTHID, state->cf.username); gsasl_property_set (sctx, GSASL_AUTHZID, state->cf.authzid); { const char *p = gsasl_property_get (sctx, GSASL_SCRAM_ITER); if (p) state->sf.iter = strtoul (p, NULL, 10); if (!p || state->sf.iter == 0 || state->sf.iter == ULONG_MAX) state->sf.iter = 4096; } { const char *p = gsasl_property_get (sctx, GSASL_SCRAM_SALT); if (p) { free (state->sf.salt); state->sf.salt = strdup (p); } } rc = scram_print_server_first (&state->sf, &state->sf_str); if (rc != 0) return GSASL_MALLOC_ERROR; *output = strdup (state->sf_str); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (*output); state->step++; return GSASL_NEEDS_MORE; break; } case 1: { if (scram_parse_client_final (input, input_len, &state->cl) < 0) return GSASL_MECHANISM_PARSE_ERROR; if (strcmp (state->cl.nonce, state->sf.nonce) != 0) return GSASL_AUTHENTICATION_ERROR; /* Base64 decode the c= field and check that it matches client-first. Also check channel binding data. */ { size_t len; rc = gsasl_base64_from (state->cl.cbind, strlen (state->cl.cbind), &state->cbind, &len); if (rc != 0) return rc; if (state->cf.cbflag == 'p') { if (len < strlen (state->gs2header)) return GSASL_AUTHENTICATION_ERROR; if (memcmp (state->cbind, state->gs2header, strlen (state->gs2header)) != 0) return GSASL_AUTHENTICATION_ERROR; if (len - strlen (state->gs2header) != state->cbtlsuniquelen) return GSASL_AUTHENTICATION_ERROR; if (memcmp (state->cbind + strlen (state->gs2header), state->cbtlsunique, state->cbtlsuniquelen) != 0) return GSASL_AUTHENTICATION_ERROR; } else { if (len != strlen (state->gs2header)) return GSASL_AUTHENTICATION_ERROR; if (memcmp (state->cbind, state->gs2header, len) != 0) return GSASL_AUTHENTICATION_ERROR; } } /* Base64 decode client proof and check that length matches SHA-1 size. */ { size_t len; rc = gsasl_base64_from (state->cl.proof, strlen (state->cl.proof), &state->clientproof, &len); if (rc != 0) return rc; if (len != 20) return GSASL_MECHANISM_PARSE_ERROR; } { const char *p; /* Get StoredKey and ServerKey */ if ((p = gsasl_property_get (sctx, GSASL_PASSWORD))) { Gc_rc err; char *salt; size_t saltlen; char saltedpassword[20]; char *clientkey; char *preppasswd; rc = gsasl_saslprep (p, 0, &preppasswd, NULL); if (rc != GSASL_OK) return rc; rc = gsasl_base64_from (state->sf.salt, strlen (state->sf.salt), &salt, &saltlen); if (rc != 0) { gsasl_free (preppasswd); return rc; } /* SaltedPassword := Hi(password, salt) */ err = gc_pbkdf2_sha1 (preppasswd, strlen (preppasswd), salt, saltlen, state->sf.iter, saltedpassword, 20); gsasl_free (preppasswd); gsasl_free (salt); if (err != GC_OK) return GSASL_MALLOC_ERROR; /* ClientKey := HMAC(SaltedPassword, "Client Key") */ #define CLIENT_KEY "Client Key" rc = gsasl_hmac_sha1 (saltedpassword, 20, CLIENT_KEY, strlen (CLIENT_KEY), &clientkey); if (rc != 0) return rc; /* StoredKey := H(ClientKey) */ rc = gsasl_sha1 (clientkey, 20, &state->storedkey); free (clientkey); if (rc != 0) return rc; /* ServerKey := HMAC(SaltedPassword, "Server Key") */ #define SERVER_KEY "Server Key" rc = gsasl_hmac_sha1 (saltedpassword, 20, SERVER_KEY, strlen (SERVER_KEY), &state->serverkey); if (rc != 0) return rc; } else return GSASL_NO_PASSWORD; /* Compute AuthMessage */ { size_t len; int n; /* Get client-final-message-without-proof. */ p = memmem (input, input_len, ",p=", 3); if (!p) return GSASL_MECHANISM_PARSE_ERROR; len = p - input; n = asprintf (&state->authmessage, "%s,%.*s,%.*s", state->cfmb_str, (int) strlen (state->sf_str), state->sf_str, (int) len, input); if (n <= 0 || !state->authmessage) return GSASL_MALLOC_ERROR; } /* Check client proof. */ { char *clientsignature; char *maybe_storedkey; /* ClientSignature := HMAC(StoredKey, AuthMessage) */ rc = gsasl_hmac_sha1 (state->storedkey, 20, state->authmessage, strlen (state->authmessage), &clientsignature); if (rc != 0) return rc; /* ClientKey := ClientProof XOR ClientSignature */ memxor (clientsignature, state->clientproof, 20); rc = gsasl_sha1 (clientsignature, 20, &maybe_storedkey); free (clientsignature); if (rc != 0) return rc; rc = memcmp (state->storedkey, maybe_storedkey, 20); free (maybe_storedkey); if (rc != 0) return GSASL_AUTHENTICATION_ERROR; } /* Generate server verifier. */ { char *serversignature; /* ServerSignature := HMAC(ServerKey, AuthMessage) */ rc = gsasl_hmac_sha1 (state->serverkey, 20, state->authmessage, strlen (state->authmessage), &serversignature); if (rc != 0) return rc; rc = gsasl_base64_to (serversignature, 20, &state->sl.verifier, NULL); free (serversignature); if (rc != 0) return rc; } } rc = scram_print_server_final (&state->sl, output); if (rc != 0) return GSASL_MALLOC_ERROR; *output_len = strlen (*output); state->step++; return GSASL_OK; break; } default: break; } return res; } void _gsasl_scram_sha1_server_finish (Gsasl_session * sctx, void *mech_data) { struct scram_server_state *state = mech_data; if (!state) return; free (state->cbind); free (state->gs2header); free (state->cfmb_str); free (state->sf_str); free (state->snonce); free (state->clientproof); free (state->storedkey); free (state->serverkey); free (state->authmessage); free (state->cbtlsunique); scram_free_client_first (&state->cf); scram_free_server_first (&state->sf); scram_free_client_final (&state->cl); scram_free_server_final (&state->sl); free (state); } gsasl-1.8.1/lib/scram/parser.h0000644000000000000000000000264113516252321013044 00000000000000/* parser.h --- SCRAM parser. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef SCRAM_PARSER_H #define SCRAM_PARSER_H /* Get token types. */ #include "tokens.h" extern int scram_parse_client_first (const char *str, size_t len, struct scram_client_first *cf); extern int scram_parse_server_first (const char *str, size_t len, struct scram_server_first *cf); extern int scram_parse_client_final (const char *str, size_t len, struct scram_client_final *cl); extern int scram_parse_server_final (const char *str, size_t len, struct scram_server_final *sl); #endif /* SCRAM_PARSER_H */ gsasl-1.8.1/lib/scram/mechinfo.c0000644000000000000000000000400513516252321013327 00000000000000/* mechinfo.c --- Definition of SCRAM mechanism. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "scram.h" #ifdef USE_SCRAM_SHA1 Gsasl_mechanism gsasl_scram_sha1_mechanism = { GSASL_SCRAM_SHA1_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_scram_sha1_client_start, _gsasl_scram_sha1_client_step, _gsasl_scram_sha1_client_finish, #else NULL, NULL, NULL, #endif NULL, NULL} , { NULL, NULL, #ifdef USE_SERVER _gsasl_scram_sha1_server_start, _gsasl_scram_sha1_server_step, _gsasl_scram_sha1_server_finish, #else NULL, NULL, NULL, #endif NULL, NULL} }; #endif #ifdef USE_SCRAM_SHA1 Gsasl_mechanism gsasl_scram_sha1_plus_mechanism = { GSASL_SCRAM_SHA1_PLUS_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_scram_sha1_plus_client_start, _gsasl_scram_sha1_client_step, _gsasl_scram_sha1_client_finish, #else NULL, NULL, NULL, #endif NULL, NULL} , { NULL, NULL, #ifdef USE_SERVER _gsasl_scram_sha1_plus_server_start, _gsasl_scram_sha1_server_step, _gsasl_scram_sha1_server_finish, #else NULL, NULL, NULL, #endif NULL, NULL} }; #endif gsasl-1.8.1/lib/scram/Makefile.in0000644000000000000000000017351613521017120013446 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2009-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = scram ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_scram_la_LIBADD = am__libgsasl_scram_la_SOURCES_DIST = scram.h mechinfo.c tokens.h \ tokens.c validate.h validate.c parser.h parser.c printer.h \ printer.c client.c server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_scram_la_OBJECTS = mechinfo.lo tokens.lo validate.lo \ parser.lo printer.lo $(am__objects_1) $(am__objects_2) libgsasl_scram_la_OBJECTS = $(am_libgsasl_scram_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/parser.Plo ./$(DEPDIR)/printer.Plo \ ./$(DEPDIR)/server.Plo ./$(DEPDIR)/tokens.Plo \ ./$(DEPDIR)/validate.Plo 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 = $(libgsasl_scram_la_SOURCES) DIST_SOURCES = $(am__libgsasl_scram_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-scram.la libgsasl_scram_la_SOURCES = scram.h mechinfo.c tokens.h tokens.c \ validate.h validate.c parser.h parser.c printer.h printer.c \ $(am__append_1) $(am__append_2) 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 scram/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu scram/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-scram.la: $(libgsasl_scram_la_OBJECTS) $(libgsasl_scram_la_DEPENDENCIES) $(EXTRA_libgsasl_scram_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_scram_la_OBJECTS) $(libgsasl_scram_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printer.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tokens.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/validate.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/parser.Plo -rm -f ./$(DEPDIR)/printer.Plo -rm -f ./$(DEPDIR)/server.Plo -rm -f ./$(DEPDIR)/tokens.Plo -rm -f ./$(DEPDIR)/validate.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/parser.Plo -rm -f ./$(DEPDIR)/printer.Plo -rm -f ./$(DEPDIR)/server.Plo -rm -f ./$(DEPDIR)/tokens.Plo -rm -f ./$(DEPDIR)/validate.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/scram/client.c0000644000000000000000000002517713516252321013032 00000000000000/* client.c --- SASL SCRAM client side functions. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "scram.h" /* Get malloc, free. */ #include /* Get memcpy, strlen, strchr. */ #include /* Get bool. */ #include #include "tokens.h" #include "parser.h" #include "printer.h" #include "gc.h" #include "memxor.h" #define CNONCE_ENTROPY_BYTES 18 struct scram_client_state { int plus; int step; char *cfmb; /* client first message bare */ char *serversignature; char *authmessage; char *cbtlsunique; size_t cbtlsuniquelen; struct scram_client_first cf; struct scram_server_first sf; struct scram_client_final cl; struct scram_server_final sl; }; static int scram_start (Gsasl_session * sctx, void **mech_data, int plus) { struct scram_client_state *state; char buf[CNONCE_ENTROPY_BYTES]; const char *p; int rc; state = (struct scram_client_state *) calloc (sizeof (*state), 1); if (state == NULL) return GSASL_MALLOC_ERROR; state->plus = plus; rc = gsasl_nonce (buf, CNONCE_ENTROPY_BYTES); if (rc != GSASL_OK) { free (state); return rc; } rc = gsasl_base64_to (buf, CNONCE_ENTROPY_BYTES, &state->cf.client_nonce, NULL); if (rc != GSASL_OK) { free (state); return rc; } p = gsasl_property_get (sctx, GSASL_CB_TLS_UNIQUE); if (state->plus && !p) { free (state->cf.client_nonce); free (state); return GSASL_NO_CB_TLS_UNIQUE; } if (p) { rc = gsasl_base64_from (p, strlen (p), &state->cbtlsunique, &state->cbtlsuniquelen); if (rc != GSASL_OK) { free (state->cf.client_nonce); free (state); return rc; } } *mech_data = state; return GSASL_OK; } int _gsasl_scram_sha1_client_start (Gsasl_session * sctx, void **mech_data) { return scram_start (sctx, mech_data, 0); } int _gsasl_scram_sha1_plus_client_start (Gsasl_session * sctx, void **mech_data) { return scram_start (sctx, mech_data, 1); } static char hexdigit_to_char (char hexdigit) { if (hexdigit >= '0' && hexdigit <= '9') return hexdigit - '0'; if (hexdigit >= 'a' && hexdigit <= 'f') return hexdigit - 'a' + 10; return 0; } static char hex_to_char (char u, char l) { return (char) (((unsigned char) hexdigit_to_char (u)) * 16 + hexdigit_to_char (l)); } static void sha1_hex_to_byte (char *saltedpassword, const char *p) { while (*p) { *saltedpassword = hex_to_char (p[0], p[1]); p += 2; saltedpassword++; } } static bool hex_p (const char *hexstr) { static const char hexalpha[] = "0123456789abcdef"; for (; *hexstr; hexstr++) if (strchr (hexalpha, *hexstr) == NULL) return false; return true; } int _gsasl_scram_sha1_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct scram_client_state *state = mech_data; int res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; int rc; *output = NULL; *output_len = 0; switch (state->step) { case 0: { const char *p; if (state->plus) { state->cf.cbflag = 'p'; state->cf.cbname = strdup ("tls-unique"); } else { if (state->cbtlsuniquelen > 0) state->cf.cbflag = 'y'; else state->cf.cbflag = 'n'; } p = gsasl_property_get (sctx, GSASL_AUTHID); if (!p) return GSASL_NO_AUTHID; rc = gsasl_saslprep (p, GSASL_ALLOW_UNASSIGNED, &state->cf.username, NULL); if (rc != GSASL_OK) return rc; p = gsasl_property_get (sctx, GSASL_AUTHZID); if (p) state->cf.authzid = strdup (p); rc = scram_print_client_first (&state->cf, output); if (rc == -2) return GSASL_MALLOC_ERROR; else if (rc != 0) return GSASL_AUTHENTICATION_ERROR; *output_len = strlen (*output); /* Point p to client-first-message-bare. */ p = strchr (*output, ','); if (!p) return GSASL_AUTHENTICATION_ERROR; p++; p = strchr (p, ','); if (!p) return GSASL_AUTHENTICATION_ERROR; p++; /* Save "client-first-message-bare" for the next step. */ state->cfmb = strdup (p); if (!state->cfmb) return GSASL_MALLOC_ERROR; /* Prepare B64("cbind-input") for the next step. */ if (state->cf.cbflag == 'p') { size_t len = (p - *output) + state->cbtlsuniquelen; char *cbind_input = malloc (len); if (cbind_input == NULL) return GSASL_MALLOC_ERROR; memcpy (cbind_input, *output, p - *output); memcpy (cbind_input + (p - *output), state->cbtlsunique, state->cbtlsuniquelen); rc = gsasl_base64_to (cbind_input, len, &state->cl.cbind, NULL); free (cbind_input); } else rc = gsasl_base64_to (*output, p - *output, &state->cl.cbind, NULL); if (rc != 0) return rc; /* We are done. */ state->step++; return GSASL_NEEDS_MORE; break; } case 1: { if (scram_parse_server_first (input, input_len, &state->sf) < 0) return GSASL_MECHANISM_PARSE_ERROR; if (strlen (state->sf.nonce) < strlen (state->cf.client_nonce) || memcmp (state->cf.client_nonce, state->sf.nonce, strlen (state->cf.client_nonce)) != 0) return GSASL_AUTHENTICATION_ERROR; state->cl.nonce = strdup (state->sf.nonce); if (!state->cl.nonce) return GSASL_MALLOC_ERROR; /* Save salt/iter as properties, so that client callback can access them. */ { char *str = NULL; int n; n = asprintf (&str, "%lu", (unsigned long) state->sf.iter); if (n < 0 || str == NULL) return GSASL_MALLOC_ERROR; gsasl_property_set (sctx, GSASL_SCRAM_ITER, str); free (str); } gsasl_property_set (sctx, GSASL_SCRAM_SALT, state->sf.salt); /* Generate ClientProof. */ { char saltedpassword[20]; char *clientkey; char *storedkey; char *clientsignature; char clientproof[20]; const char *p; /* Get SaltedPassword. */ p = gsasl_property_get (sctx, GSASL_SCRAM_SALTED_PASSWORD); if (p && strlen (p) == 40 && hex_p (p)) sha1_hex_to_byte (saltedpassword, p); else if ((p = gsasl_property_get (sctx, GSASL_PASSWORD)) != NULL) { Gc_rc err; char *salt; size_t saltlen; char *preppasswd; rc = gsasl_saslprep (p, 0, &preppasswd, NULL); if (rc != GSASL_OK) return rc; rc = gsasl_base64_from (state->sf.salt, strlen (state->sf.salt), &salt, &saltlen); if (rc != 0) { gsasl_free (preppasswd); return rc; } /* SaltedPassword := Hi(password, salt) */ err = gc_pbkdf2_sha1 (preppasswd, strlen (preppasswd), salt, saltlen, state->sf.iter, saltedpassword, 20); gsasl_free (preppasswd); gsasl_free (salt); if (err != GC_OK) return GSASL_MALLOC_ERROR; } else return GSASL_NO_PASSWORD; /* Get client-final-message-without-proof. */ { char *cfmwp; int n; state->cl.proof = strdup ("p"); rc = scram_print_client_final (&state->cl, &cfmwp); if (rc != 0) return GSASL_MALLOC_ERROR; free (state->cl.proof); /* Compute AuthMessage */ n = asprintf (&state->authmessage, "%s,%.*s,%.*s", state->cfmb, (int) input_len, input, (int) (strlen (cfmwp) - 4), cfmwp); free (cfmwp); if (n <= 0 || !state->authmessage) return GSASL_MALLOC_ERROR; } /* ClientKey := HMAC(SaltedPassword, "Client Key") */ #define CLIENT_KEY "Client Key" rc = gsasl_hmac_sha1 (saltedpassword, 20, CLIENT_KEY, strlen (CLIENT_KEY), &clientkey); if (rc != 0) return rc; /* StoredKey := H(ClientKey) */ rc = gsasl_sha1 (clientkey, 20, &storedkey); if (rc != 0) { free (clientkey); return rc; } /* ClientSignature := HMAC(StoredKey, AuthMessage) */ rc = gsasl_hmac_sha1 (storedkey, 20, state->authmessage, strlen (state->authmessage), &clientsignature); free (storedkey); if (rc != 0) { free (clientkey); return rc; } /* ClientProof := ClientKey XOR ClientSignature */ memcpy (clientproof, clientkey, 20); memxor (clientproof, clientsignature, 20); free (clientkey); free (clientsignature); rc = gsasl_base64_to (clientproof, 20, &state->cl.proof, NULL); if (rc != 0) return rc; /* Generate ServerSignature, for comparison in next step. */ { char *serverkey; char *serversignature; /* ServerKey := HMAC(SaltedPassword, "Server Key") */ #define SERVER_KEY "Server Key" rc = gsasl_hmac_sha1 (saltedpassword, 20, SERVER_KEY, strlen (SERVER_KEY), &serverkey); if (rc != 0) return rc; /* ServerSignature := HMAC(ServerKey, AuthMessage) */ rc = gsasl_hmac_sha1 (serverkey, 20, state->authmessage, strlen (state->authmessage), &serversignature); gsasl_free (serverkey); if (rc != 0) return rc; rc = gsasl_base64_to (serversignature, 20, &state->serversignature, NULL); gsasl_free (serversignature); if (rc != 0) return rc; } } rc = scram_print_client_final (&state->cl, output); if (rc != 0) return GSASL_MALLOC_ERROR; *output_len = strlen (*output); state->step++; return GSASL_NEEDS_MORE; break; } case 2: { if (scram_parse_server_final (input, input_len, &state->sl) < 0) return GSASL_MECHANISM_PARSE_ERROR; if (strcmp (state->sl.verifier, state->serversignature) != 0) return GSASL_AUTHENTICATION_ERROR; state->step++; return GSASL_OK; break; } default: break; } return res; } void _gsasl_scram_sha1_client_finish (Gsasl_session * sctx, void *mech_data) { struct scram_client_state *state = mech_data; if (!state) return; free (state->cfmb); free (state->serversignature); free (state->authmessage); free (state->cbtlsunique); scram_free_client_first (&state->cf); scram_free_server_first (&state->sf); scram_free_client_final (&state->cl); scram_free_server_final (&state->sl); free (state); } gsasl-1.8.1/lib/scram/tokens.c0000644000000000000000000000315213516252321013044 00000000000000/* tokens.c --- Free allocated data in SCRAM tokens. * Copyright (C) 2009-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ /* Get prototypes. */ #include "tokens.h" /* Get free. */ #include /* Get memset. */ #include void scram_free_client_first (struct scram_client_first *cf) { free (cf->cbname); free (cf->authzid); free (cf->username); free (cf->client_nonce); memset (cf, 0, sizeof (*cf)); } void scram_free_server_first (struct scram_server_first *sf) { free (sf->nonce); free (sf->salt); memset (sf, 0, sizeof (*sf)); } void scram_free_client_final (struct scram_client_final *cl) { free (cl->cbind); free (cl->nonce); free (cl->proof); memset (cl, 0, sizeof (*cl)); } void scram_free_server_final (struct scram_server_final *sl) { free (sl->verifier); memset (sl, 0, sizeof (*sl)); } gsasl-1.8.1/lib/tests/0000755000000000000000000000000013521017727011516 500000000000000gsasl-1.8.1/lib/tests/test-error.c0000644000000000000000000000224013516252321013701 00000000000000/* test-error.c --- Check consistency of error.c error definitions. * Copyright (C) 2008-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include #include "../src/error.c" int main (void) { size_t i; for (i = 0; i < (sizeof (errors) / sizeof (errors[0])); i++) if (errors[i].rc != i) { printf ("%ld\n", i); return EXIT_FAILURE; } return EXIT_SUCCESS; } gsasl-1.8.1/lib/tests/Makefile.am0000644000000000000000000000207713516252321013473 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(srcdir)/../src -I$(srcdir)/../gl AM_CPPFLAGS += -DLOCALEDIR=\"$(datadir)/locale\" LDADD = $(LTLIBINTL) TESTS = test-error check_PROGRAMS = test-error LOG_COMPILER=$(VALGRIND) gsasl-1.8.1/lib/tests/Makefile.in0000644000000000000000000022336713521017121013504 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ TESTS = test-error$(EXEEXT) check_PROGRAMS = test-error$(EXEEXT) subdir = tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = test_error_SOURCES = test-error.c test_error_OBJECTS = test-error.$(OBJEXT) test_error_LDADD = $(LDADD) am__DEPENDENCIES_1 = test_error_DEPENDENCIES = $(am__DEPENDENCIES_1) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/test-error.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 = test-error.c DIST_SOURCES = test-error.c 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)` ETAGS = etags CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } 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__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) AM_RECURSIVE_TARGETS = check recheck TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp \ $(top_srcdir)/build-aux/test-driver DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(srcdir)/../src -I$(srcdir)/../gl \ -DLOCALEDIR=\"$(datadir)/locale\" LDADD = $(LTLIBINTL) LOG_COMPILER = $(VALGRIND) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs $(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 tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu tests/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): clean-checkPROGRAMS: @list='$(check_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 test-error$(EXEEXT): $(test_error_OBJECTS) $(test_error_DEPENDENCIES) $(EXTRA_test_error_DEPENDENCIES) @rm -f test-error$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_error_OBJECTS) $(test_error_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-error.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: $(check_PROGRAMS) @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_PROGRAMS) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? test-error.log: test-error$(EXEEXT) @p='test-error$(EXEEXT)'; \ b='test-error'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 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 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile installdirs: 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: -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) 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-checkPROGRAMS clean-generic clean-libtool \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/test-error.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-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)/test-error.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: .MAKE: check-am install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \ check-am clean clean-checkPROGRAMS clean-generic clean-libtool \ 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-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 \ recheck tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/gssapi/0000755000000000000000000000000013521017726011641 500000000000000gsasl-1.8.1/lib/gssapi/x-gssapi.h0000644000000000000000000000416213516252320013463 00000000000000/* x-gssapi.h --- Prototypes for SASL mechanism GSSAPI as defined in RFC 2222. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef X_GSSAPI_H #define X_GSSAPI_H #include #define GSASL_GSSAPI_NAME "GSSAPI" extern Gsasl_mechanism gsasl_gssapi_mechanism; extern int _gsasl_gssapi_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_gssapi_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_gssapi_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_gssapi_client_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_gssapi_client_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_gssapi_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_gssapi_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_gssapi_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* X_GSSAPI_H */ gsasl-1.8.1/lib/gssapi/Makefile.am0000644000000000000000000000230513516252320013610 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl \ $(GSS_CFLAGS) noinst_LTLIBRARIES = libgsasl-gssapi.la libgsasl_gssapi_la_SOURCES = x-gssapi.h mechinfo.c if CLIENT libgsasl_gssapi_la_SOURCES += client.c endif if SERVER libgsasl_gssapi_la_SOURCES += server.c endif libgsasl_gssapi_la_LIBADD = $(LTLIBGSS) $(LTLIBGSSAPI32) $(GSS_LIBS) gsasl-1.8.1/lib/gssapi/server.c0000644000000000000000000001763513521016033013235 00000000000000/* server.c --- SASL mechanism GSSAPI as defined in RFC 4752, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include /* Get specification. */ #include "x-gssapi.h" #ifdef HAVE_LIBGSS #include #elif HAVE_GSSAPI_H #include #elif HAVE_GSSAPI_GSSAPI_H #include #endif #include "gss-extra.h" struct _Gsasl_gssapi_server_state { int step; gss_name_t client; gss_cred_id_t cred; gss_ctx_id_t context; }; typedef struct _Gsasl_gssapi_server_state _Gsasl_gssapi_server_state; int _gsasl_gssapi_server_start (Gsasl_session * sctx, void **mech_data) { _Gsasl_gssapi_server_state *state; OM_uint32 maj_stat, min_stat; gss_name_t server; gss_buffer_desc bufdesc; const char *service; const char *hostname; service = gsasl_property_get (sctx, GSASL_SERVICE); if (!service) return GSASL_NO_SERVICE; hostname = gsasl_property_get (sctx, GSASL_HOSTNAME); if (!hostname) return GSASL_NO_HOSTNAME; /* FIXME: Use asprintf. */ bufdesc.length = strlen (service) + strlen ("@") + strlen (hostname) + 1; bufdesc.value = malloc (bufdesc.length); if (bufdesc.value == NULL) return GSASL_MALLOC_ERROR; sprintf (bufdesc.value, "%s@%s", service, hostname); state = (_Gsasl_gssapi_server_state *) malloc (sizeof (*state)); if (state == NULL) { free (bufdesc.value); return GSASL_MALLOC_ERROR; } maj_stat = gss_import_name (&min_stat, &bufdesc, GSS_C_NT_HOSTBASED_SERVICE, &server); free (bufdesc.value); if (GSS_ERROR (maj_stat)) { free (state); return GSASL_GSSAPI_IMPORT_NAME_ERROR; } maj_stat = gss_acquire_cred (&min_stat, server, 0, GSS_C_NULL_OID_SET, GSS_C_ACCEPT, &state->cred, NULL, NULL); gss_release_name (&min_stat, &server); if (GSS_ERROR (maj_stat)) { free (state); return GSASL_GSSAPI_ACQUIRE_CRED_ERROR; } state->step = 0; state->context = GSS_C_NO_CONTEXT; state->client = NULL; *mech_data = state; return GSASL_OK; } int _gsasl_gssapi_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_gssapi_server_state *state = mech_data; gss_buffer_desc bufdesc1, bufdesc2; OM_uint32 maj_stat, min_stat; gss_buffer_desc client_name; gss_OID mech_type; char tmp[4]; int res; *output = NULL; *output_len = 0; switch (state->step) { case 0: if (input_len == 0) { res = GSASL_NEEDS_MORE; break; } state->step++; /* fall through */ case 1: bufdesc1.value = (void *) input; bufdesc1.length = input_len; if (state->client) { gss_release_name (&min_stat, &state->client); state->client = GSS_C_NO_NAME; } maj_stat = gss_accept_sec_context (&min_stat, &state->context, state->cred, &bufdesc1, GSS_C_NO_CHANNEL_BINDINGS, &state->client, &mech_type, &bufdesc2, NULL, NULL, NULL); if (maj_stat != GSS_S_COMPLETE && maj_stat != GSS_S_CONTINUE_NEEDED) return GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR; if (maj_stat == GSS_S_COMPLETE) state->step++; if (maj_stat == GSS_S_CONTINUE_NEEDED || bufdesc2.length > 0) { *output = malloc (bufdesc2.length); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, bufdesc2.value, bufdesc2.length); *output_len = bufdesc2.length; } maj_stat = gss_release_buffer (&min_stat, &bufdesc2); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; if (maj_stat == GSS_S_CONTINUE_NEEDED || *output_len > 0) { res = GSASL_NEEDS_MORE; break; } /* fall through */ case 2: memset (tmp, 0xFF, 4); tmp[0] = GSASL_QOP_AUTH; bufdesc1.length = 4; bufdesc1.value = tmp; maj_stat = gss_wrap (&min_stat, state->context, 0, GSS_C_QOP_DEFAULT, &bufdesc1, NULL, &bufdesc2); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_WRAP_ERROR; *output = malloc (bufdesc2.length); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, bufdesc2.value, bufdesc2.length); *output_len = bufdesc2.length; maj_stat = gss_release_buffer (&min_stat, &bufdesc2); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; state->step++; res = GSASL_NEEDS_MORE; break; case 3: bufdesc1.value = (void *) input; bufdesc1.length = input_len; maj_stat = gss_unwrap (&min_stat, state->context, &bufdesc1, &bufdesc2, NULL, NULL); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_UNWRAP_ERROR; /* [RFC 2222 section 7.2.1]: The client passes this token to GSS_Unwrap and interprets the first octet of resulting cleartext as a bit-mask specifying the security layers supported by the server and the second through fourth octets as the maximum size output_message to send to the server. The client then constructs data, with the first octet containing the bit-mask specifying the selected security layer, the second through fourth octets containing in network byte order the maximum size output_message the client is able to receive, and the remaining octets containing the authorization identity. The client passes the data to GSS_Wrap with conf_flag set to FALSE, and responds with the generated output_message. The client can then consider the server authenticated. */ if ((((char *) bufdesc2.value)[0] & GSASL_QOP_AUTH) == 0) { /* Integrity or privacy unsupported */ maj_stat = gss_release_buffer (&min_stat, &bufdesc2); return GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR; } gsasl_property_set_raw (sctx, GSASL_AUTHZID, (char *) bufdesc2.value + 4, bufdesc2.length - 4); maj_stat = gss_display_name (&min_stat, state->client, &client_name, &mech_type); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_DISPLAY_NAME_ERROR; gsasl_property_set_raw (sctx, GSASL_GSSAPI_DISPLAY_NAME, client_name.value, client_name.length); maj_stat = gss_release_buffer (&min_stat, &client_name); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; maj_stat = gss_release_buffer (&min_stat, &bufdesc2); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_GSSAPI); state->step++; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_gssapi_server_finish (Gsasl_session * sctx, void *mech_data) { _Gsasl_gssapi_server_state *state = mech_data; OM_uint32 min_stat; if (!state) return; if (state->context != GSS_C_NO_CONTEXT) gss_delete_sec_context (&min_stat, &state->context, GSS_C_NO_BUFFER); if (state->cred != GSS_C_NO_CREDENTIAL) gss_release_cred (&min_stat, &state->cred); if (state->client != GSS_C_NO_NAME) gss_release_name (&min_stat, &state->client); free (state); } gsasl-1.8.1/lib/gssapi/mechinfo.c0000644000000000000000000000326113516252320013512 00000000000000/* mechinfo.c --- Definition of GSSAPI mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "x-gssapi.h" Gsasl_mechanism gsasl_gssapi_mechanism = { GSASL_GSSAPI_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_gssapi_client_start, #else NULL, #endif #ifdef USE_CLIENT _gsasl_gssapi_client_step, #else NULL, #endif #ifdef USE_CLIENT _gsasl_gssapi_client_finish, #else NULL, #endif #ifdef USE_CLIENT _gsasl_gssapi_client_encode, #else NULL, #endif #ifdef USE_CLIENT _gsasl_gssapi_client_decode #else NULL #endif } , { NULL, NULL, #ifdef USE_SERVER _gsasl_gssapi_server_start, #else NULL, #endif #ifdef USE_SERVER _gsasl_gssapi_server_step, #else NULL, #endif #ifdef USE_SERVER _gsasl_gssapi_server_finish, #else NULL, #endif NULL, NULL} }; gsasl-1.8.1/lib/gssapi/Makefile.in0000644000000000000000000017210613521017117013627 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = gssapi ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = libgsasl_gssapi_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__libgsasl_gssapi_la_SOURCES_DIST = x-gssapi.h mechinfo.c client.c \ server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_gssapi_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_gssapi_la_OBJECTS = $(am_libgsasl_gssapi_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_gssapi_la_SOURCES) DIST_SOURCES = $(am__libgsasl_gssapi_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl \ $(GSS_CFLAGS) noinst_LTLIBRARIES = libgsasl-gssapi.la libgsasl_gssapi_la_SOURCES = x-gssapi.h mechinfo.c $(am__append_1) \ $(am__append_2) libgsasl_gssapi_la_LIBADD = $(LTLIBGSS) $(LTLIBGSSAPI32) $(GSS_LIBS) 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 gssapi/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu gssapi/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-gssapi.la: $(libgsasl_gssapi_la_OBJECTS) $(libgsasl_gssapi_la_DEPENDENCIES) $(EXTRA_libgsasl_gssapi_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_gssapi_la_OBJECTS) $(libgsasl_gssapi_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/gssapi/client.c0000644000000000000000000002445213516252320013205 00000000000000/* client.c --- SASL mechanism GSSAPI as defined in RFC 4752, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include /* Get specification. */ #include "x-gssapi.h" #ifdef HAVE_LIBGSS #include #elif HAVE_GSSAPI_H #include #elif HAVE_GSSAPI_GSSAPI_H #include #endif #include "gss-extra.h" struct _Gsasl_gssapi_client_state { int step; gss_name_t service; gss_ctx_id_t context; gss_qop_t qop; }; typedef struct _Gsasl_gssapi_client_state _Gsasl_gssapi_client_state; int _gsasl_gssapi_client_start (Gsasl_session * sctx, void **mech_data) { _Gsasl_gssapi_client_state *state; state = (_Gsasl_gssapi_client_state *) malloc (sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; state->context = GSS_C_NO_CONTEXT; state->service = GSS_C_NO_NAME; state->step = 0; state->qop = GSASL_QOP_AUTH; /* FIXME: Should be GSASL_QOP_AUTH_CONF. */ *mech_data = state; return GSASL_OK; } int _gsasl_gssapi_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_gssapi_client_state *state = mech_data; char clientwrap[4]; gss_qop_t serverqop; gss_buffer_desc bufdesc, bufdesc2; gss_buffer_t buf = GSS_C_NO_BUFFER; OM_uint32 maj_stat, min_stat; int conf_state; int res; const char *p; if (state->service == NULL) { const char *service, *hostname; service = gsasl_property_get (sctx, GSASL_SERVICE); if (!service) return GSASL_NO_SERVICE; hostname = gsasl_property_get (sctx, GSASL_HOSTNAME); if (!hostname) return GSASL_NO_HOSTNAME; /* FIXME: Use asprintf. */ bufdesc.length = strlen (service) + 1 + strlen (hostname) + 1; bufdesc.value = malloc (bufdesc.length); if (bufdesc.value == NULL) return GSASL_MALLOC_ERROR; sprintf (bufdesc.value, "%s@%s", service, hostname); maj_stat = gss_import_name (&min_stat, &bufdesc, GSS_C_NT_HOSTBASED_SERVICE, &state->service); free (bufdesc.value); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_IMPORT_NAME_ERROR; } switch (state->step) { case 1: bufdesc.length = input_len; bufdesc.value = (void *) input; buf = &bufdesc; /* fall through */ case 0: bufdesc2.length = 0; bufdesc2.value = NULL; maj_stat = gss_init_sec_context (&min_stat, GSS_C_NO_CREDENTIAL, &state->context, state->service, GSS_C_NO_OID, GSS_C_MUTUAL_FLAG | GSS_C_REPLAY_FLAG | GSS_C_SEQUENCE_FLAG | GSS_C_INTEG_FLAG | GSS_C_CONF_FLAG, 0, GSS_C_NO_CHANNEL_BINDINGS, buf, NULL, &bufdesc2, NULL, NULL); if (maj_stat != GSS_S_COMPLETE && maj_stat != GSS_S_CONTINUE_NEEDED) return GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR; *output_len = bufdesc2.length; *output = malloc (*output_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, bufdesc2.value, bufdesc2.length); if (maj_stat == GSS_S_COMPLETE) state->step = 2; else state->step = 1; maj_stat = gss_release_buffer (&min_stat, &bufdesc2); if (maj_stat != GSS_S_COMPLETE) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; res = GSASL_NEEDS_MORE; break; case 2: /* [RFC 2222 section 7.2.1]: The client passes this token to GSS_Unwrap and interprets the first octet of resulting cleartext as a bit-mask specifying the security layers supported by the server and the second through fourth octets as the maximum size output_message to send to the server. The client then constructs data, with the first octet containing the bit-mask specifying the selected security layer, the second through fourth octets containing in network byte order the maximum size output_message the client is able to receive, and the remaining octets containing the authorization identity. The client passes the data to GSS_Wrap with conf_flag set to FALSE, and responds with the generated output_message. The client can then consider the server authenticated. */ bufdesc.length = input_len; bufdesc.value = (void *) input; maj_stat = gss_unwrap (&min_stat, state->context, &bufdesc, &bufdesc2, &conf_state, &serverqop); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_UNWRAP_ERROR; if (bufdesc2.length != 4) return GSASL_MECHANISM_PARSE_ERROR; memcpy (clientwrap, bufdesc2.value, 4); maj_stat = gss_release_buffer (&min_stat, &bufdesc2); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; #if 0 /* FIXME: Fix qop. */ if (cb_qop) state->qop = cb_qop (sctx, serverqop); if ((state->qop & serverqop) == 0) /* Server does not support what user wanted. */ return GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR; #endif /* FIXME: Fix maxbuf. */ p = gsasl_property_get (sctx, GSASL_AUTHZID); if (!p) /* The following is for backwards compatibility: this mechanism only used GSASL_AUTHID before. */ p = gsasl_property_get (sctx, GSASL_AUTHID); if (!p) p = ""; bufdesc.length = 4 + strlen (p); bufdesc.value = malloc (bufdesc.length); if (!bufdesc.value) return GSASL_MALLOC_ERROR; { char *q = bufdesc.value; q[0] = state->qop; memcpy (q + 1, clientwrap + 1, 3); memcpy (q + 4, p, strlen (p)); } maj_stat = gss_wrap (&min_stat, state->context, 0, GSS_C_QOP_DEFAULT, &bufdesc, &conf_state, &bufdesc2); free (bufdesc.value); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_WRAP_ERROR; *output_len = bufdesc2.length; *output = malloc (bufdesc2.length); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, bufdesc2.value, bufdesc2.length); maj_stat = gss_release_buffer (&min_stat, &bufdesc2); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; state->step++; res = GSASL_OK; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_gssapi_client_finish (Gsasl_session * sctx, void *mech_data) { _Gsasl_gssapi_client_state *state = mech_data; OM_uint32 maj_stat, min_stat; if (!state) return; if (state->service != GSS_C_NO_NAME) maj_stat = gss_release_name (&min_stat, &state->service); if (state->context != GSS_C_NO_CONTEXT) maj_stat = gss_delete_sec_context (&min_stat, &state->context, GSS_C_NO_BUFFER); free (state); } int _gsasl_gssapi_client_encode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_gssapi_client_state *state = mech_data; OM_uint32 min_stat, maj_stat; gss_buffer_desc foo; gss_buffer_t input_message_buffer = &foo; gss_buffer_desc output_message_buffer; foo.length = input_len; foo.value = (void *) input; if (state && state->step == 3 && state->qop & (GSASL_QOP_AUTH_INT | GSASL_QOP_AUTH_CONF)) { maj_stat = gss_wrap (&min_stat, state->context, state->qop & GSASL_QOP_AUTH_CONF ? 1 : 0, GSS_C_QOP_DEFAULT, input_message_buffer, NULL, &output_message_buffer); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_WRAP_ERROR; *output_len = output_message_buffer.length; *output = malloc (input_len); if (!*output) { maj_stat = gss_release_buffer (&min_stat, &output_message_buffer); return GSASL_MALLOC_ERROR; } memcpy (*output, output_message_buffer.value, output_message_buffer.length); maj_stat = gss_release_buffer (&min_stat, &output_message_buffer); if (GSS_ERROR (maj_stat)) { free (*output); return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; } } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, input, input_len); } return GSASL_OK; } int _gsasl_gssapi_client_decode (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_gssapi_client_state *state = mech_data; OM_uint32 min_stat, maj_stat; gss_buffer_desc foo; gss_buffer_t input_message_buffer = &foo; gss_buffer_desc output_message_buffer; foo.length = input_len; foo.value = (void *) input; if (state && state->step == 3 && state->qop & (GSASL_QOP_AUTH_INT | GSASL_QOP_AUTH_CONF)) { maj_stat = gss_unwrap (&min_stat, state->context, input_message_buffer, &output_message_buffer, NULL, NULL); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_UNWRAP_ERROR; *output_len = output_message_buffer.length; *output = malloc (input_len); if (!*output) { maj_stat = gss_release_buffer (&min_stat, &output_message_buffer); return GSASL_MALLOC_ERROR; } memcpy (*output, output_message_buffer.value, output_message_buffer.length); maj_stat = gss_release_buffer (&min_stat, &output_message_buffer); if (GSS_ERROR (maj_stat)) { free (*output); return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; } } else { *output_len = input_len; *output = malloc (input_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, input, input_len); } return GSASL_OK; } gsasl-1.8.1/lib/build-aux/0000755000000000000000000000000013521017733012243 500000000000000gsasl-1.8.1/lib/build-aux/ltmain.sh0000644000000000000000000117671213521017101014007 00000000000000#! /bin/sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in ## by inline-source v2014-01-03.01 # libtool (GNU libtool) 2.4.6 # Provide generalized library-building support services. # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996-2015 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 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 . PROGRAM=libtool PACKAGE=libtool VERSION="2.4.6 Debian-2.4.6-9" package_revision=2.4.6 ## ------ ## ## Usage. ## ## ------ ## # Run './libtool --help' for help with using this script from the # command line. ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # After configure completes, it has a better idea of some of the # shell tools we need than the defaults used by the functions shared # with bootstrap, so set those here where they can still be over- # ridden by the user, but otherwise take precedence. : ${AUTOCONF="autoconf"} : ${AUTOMAKE="automake"} ## -------------------------- ## ## Source external libraries. ## ## -------------------------- ## # Much of our low-level functionality needs to be sourced from external # libraries, which are installed to $pkgauxdir. # Set a version string for this script. scriptversion=2015-01-20.17; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 # Copyright (C) 2004-2015 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. # 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 3 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNES 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 . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # Evaluate this file near the top of your script to gain access to # the functions and variables defined here: # # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh # # If you need to override any of the default environment variable # settings, do that before evaluating this file. ## -------------------- ## ## Shell normalisation. ## ## -------------------- ## # Some shells need a little help to be as Bourne compatible as possible. # Before doing anything else, make sure all that help has been provided! DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # NLS nuisances: We save the old values in case they are required later. _G_user_locale= _G_safe_locale= for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test set = \"\${$_G_var+set}\"; then save_$_G_var=\$$_G_var $_G_var=C export $_G_var _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Make sure IFS has a sensible default sp=' ' nl=' ' IFS="$sp $nl" # There are apparently some retarded systems that use ';' as a PATH separator! if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi ## ------------------------- ## ## Locate command utilities. ## ## ------------------------- ## # func_executable_p FILE # ---------------------- # Check that FILE is an executable regular file. func_executable_p () { test -f "$1" && test -x "$1" } # func_path_progs PROGS_LIST CHECK_FUNC [PATH] # -------------------------------------------- # Search for either a program that responds to --version with output # containing "GNU", or else returned by CHECK_FUNC otherwise, by # trying all the directories in PATH with each of the elements of # PROGS_LIST. # # CHECK_FUNC should accept the path to a candidate program, and # set $func_check_prog_result if it truncates its output less than # $_G_path_prog_max characters. func_path_progs () { _G_progs_list=$1 _G_check_func=$2 _G_PATH=${3-"$PATH"} _G_path_prog_max=0 _G_path_prog_found=false _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} for _G_dir in $_G_PATH; do IFS=$_G_save_IFS test -z "$_G_dir" && _G_dir=. for _G_prog_name in $_G_progs_list; do for _exeext in '' .EXE; do _G_path_prog=$_G_dir/$_G_prog_name$_exeext func_executable_p "$_G_path_prog" || continue case `"$_G_path_prog" --version 2>&1` in *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; *) $_G_check_func $_G_path_prog func_path_progs_result=$func_check_prog_result ;; esac $_G_path_prog_found && break 3 done done done IFS=$_G_save_IFS test -z "$func_path_progs_result" && { echo "no acceptable sed could be found in \$PATH" >&2 exit 1 } } # We want to be able to use the functions in this file before configure # has figured out where the best binaries are kept, which means we have # to search for them ourselves - except when the results are already set # where we skip the searches. # Unless the user overrides by setting SED, search the path for either GNU # sed, or the sed that truncates its output the least. test -z "$SED" && { _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for _G_i in 1 2 3 4 5 6 7; do _G_sed_script=$_G_sed_script$nl$_G_sed_script done echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed _G_sed_script= func_check_prog_sed () { _G_path_prog=$1 _G_count=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo '' >> conftest.nl "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin rm -f conftest.sed SED=$func_path_progs_result } # Unless the user overrides by setting GREP, search the path for either GNU # grep, or the grep that truncates its output the least. test -z "$GREP" && { func_check_prog_grep () { _G_path_prog=$1 _G_count=0 _G_path_prog_max=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo 'GREP' >> conftest.nl "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin GREP=$func_path_progs_result } ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # All uppercase variable names are used for environment variables. These # variables can be overridden by the user before calling a script that # uses them if a suitable command of that name is not already available # in the command search PATH. : ${CP="cp -f"} : ${ECHO="printf %s\n"} : ${EGREP="$GREP -E"} : ${FGREP="$GREP -F"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} ## -------------------- ## ## Useful sed snippets. ## ## -------------------- ## sed_dirname='s|/[^/]*$||' sed_basename='s|^.*/||' # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s|\([`"$\\]\)|\\\1|g' # Same as above, but do not quote variable references. sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' # Sed substitution that converts a w32 file name or path # that contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-'\' parameter expansions in output of sed_double_quote_subst that # were '\'-ed in input to the same. If an odd number of '\' preceded a # '$' in input to sed_double_quote_subst, that '$' was protected from # expansion. Since each input '\' is now two '\'s, look for any number # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. _G_bs='\\' _G_bs2='\\\\' _G_bs4='\\\\\\\\' _G_dollar='\$' sed_double_backslash="\ s/$_G_bs4/&\\ /g s/^$_G_bs2$_G_dollar/$_G_bs&/ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" ## ----------------- ## ## Global variables. ## ## ----------------- ## # Except for the global variables explicitly listed below, the following # functions in the '^func_' namespace, and the '^require_' namespace # variables initialised in the 'Resource management' section, sourcing # this file will not pollute your global namespace with anything # else. There's no portable way to scope variables in Bourne shell # though, so actually running these functions will sometimes place # results into a variable named after the function, and often use # temporary variables in the '^_G_' namespace. If you are careful to # avoid using those namespaces casually in your sourcing script, things # should continue to work as you expect. And, of course, you can freely # overwrite any of the functions or variables defined here before # calling anything to customize them. EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. # Allow overriding, eg assuming that you follow the convention of # putting '$debug_cmd' at the start of all your functions, you can get # bash to show function call trace with: # # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name debug_cmd=${debug_cmd-":"} exit_cmd=: # By convention, finish your script with: # # exit $exit_status # # so that you can set exit_status to non-zero if you want to indicate # something went wrong during execution without actually bailing out at # the point of failure. exit_status=$EXIT_SUCCESS # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath=$0 # The name of this program. progname=`$ECHO "$progpath" |$SED "$sed_basename"` # Make sure we have an absolute progpath for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` progdir=`cd "$progdir" && pwd` progpath=$progdir/$progname ;; *) _G_IFS=$IFS IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS=$_G_IFS test -x "$progdir/$progname" && break done IFS=$_G_IFS test -n "$progdir" || progdir=`pwd` progpath=$progdir/$progname ;; esac ## ----------------- ## ## Standard options. ## ## ----------------- ## # The following options affect the operation of the functions defined # below, and should be set appropriately depending on run-time para- # meters passed on the command line. opt_dry_run=false opt_quiet=false opt_verbose=false # Categories 'all' and 'none' are always available. Append any others # you will pass as the first argument to func_warning from your own # code. warning_categories= # By default, display warnings according to 'opt_warning_types'. Set # 'warning_func' to ':' to elide all warnings, or func_fatal_error to # treat the next displayed warning as a fatal error. warning_func=func_warn_and_continue # Set to 'all' to display all warnings, 'none' to suppress all # warnings, or a space delimited list of some subset of # 'warning_categories' to display only the listed warnings. opt_warning_types=all ## -------------------- ## ## Resource management. ## ## -------------------- ## # This section contains definitions for functions that each ensure a # particular resource (a file, or a non-empty configuration variable for # example) is available, and if appropriate to extract default values # from pertinent package files. Call them using their associated # 'require_*' variable to ensure that they are executed, at most, once. # # It's entirely deliberate that calling these functions can set # variables that don't obey the namespace limitations obeyed by the rest # of this file, in order that that they be as useful as possible to # callers. # require_term_colors # ------------------- # Allow display of bold text on terminals that support it. require_term_colors=func_require_term_colors func_require_term_colors () { $debug_cmd test -t 1 && { # COLORTERM and USE_ANSI_COLORS environment variables take # precedence, because most terminfo databases neglect to describe # whether color sequences are supported. test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} if test 1 = "$USE_ANSI_COLORS"; then # Standard ANSI escape sequences tc_reset='' tc_bold=''; tc_standout='' tc_red=''; tc_green='' tc_blue=''; tc_cyan='' else # Otherwise trust the terminfo database after all. test -n "`tput sgr0 2>/dev/null`" && { tc_reset=`tput sgr0` test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` tc_standout=$tc_bold test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` } fi } require_term_colors=: } ## ----------------- ## ## Function library. ## ## ----------------- ## # This section contains a variety of useful functions to call in your # scripts. Take note of the portable wrappers for features provided by # some modern shells, which will fall back to slower equivalents on # less featureful shells. # func_append VAR VALUE # --------------------- # Append VALUE onto the existing contents of VAR. # We should try to minimise forks, especially on Windows where they are # unreasonably slow, so skip the feature probes when bash or zsh are # being used: if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then : ${_G_HAVE_ARITH_OP="yes"} : ${_G_HAVE_XSI_OPS="yes"} # The += operator was introduced in bash 3.1 case $BASH_VERSION in [12].* | 3.0 | 3.0*) ;; *) : ${_G_HAVE_PLUSEQ_OP="yes"} ;; esac fi # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is # useable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes if test yes = "$_G_HAVE_PLUSEQ_OP" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_append () { $debug_cmd eval "$1+=\$2" }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_append () { $debug_cmd eval "$1=\$$1\$2" } fi # func_append_quoted VAR VALUE # ---------------------------- # Quote VALUE and append to the end of shell variable VAR, separated # by a space. if test yes = "$_G_HAVE_PLUSEQ_OP"; then eval 'func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1+=\\ \$func_quote_for_eval_result" }' else func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1=\$$1\\ \$func_quote_for_eval_result" } fi # func_append_uniq VAR VALUE # -------------------------- # Append unique VALUE onto the existing contents of VAR, assuming # entries are delimited by the first character of VALUE. For example: # # func_append_uniq options " --another-option option-argument" # # will only append to $options if " --another-option option-argument " # is not already present somewhere in $options already (note spaces at # each end implied by leading space in second argument). func_append_uniq () { $debug_cmd eval _G_current_value='`$ECHO $'$1'`' _G_delim=`expr "$2" : '\(.\)'` case $_G_delim$_G_current_value$_G_delim in *"$2$_G_delim"*) ;; *) func_append "$@" ;; esac } # func_arith TERM... # ------------------ # Set func_arith_result to the result of evaluating TERMs. test -z "$_G_HAVE_ARITH_OP" \ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ && _G_HAVE_ARITH_OP=yes if test yes = "$_G_HAVE_ARITH_OP"; then eval 'func_arith () { $debug_cmd func_arith_result=$(( $* )) }' else func_arith () { $debug_cmd func_arith_result=`expr "$@"` } fi # func_basename FILE # ------------------ # Set func_basename_result to FILE with everything up to and including # the last / stripped. if test yes = "$_G_HAVE_XSI_OPS"; then # If this shell supports suffix pattern removal, then use it to avoid # forking. Hide the definitions single quotes in case the shell chokes # on unsupported syntax... _b='func_basename_result=${1##*/}' _d='case $1 in */*) func_dirname_result=${1%/*}$2 ;; * ) func_dirname_result=$3 ;; esac' else # ...otherwise fall back to using sed. _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` if test "X$func_dirname_result" = "X$1"; then func_dirname_result=$3 else func_append func_dirname_result "$2" fi' fi eval 'func_basename () { $debug_cmd '"$_b"' }' # func_dirname FILE APPEND NONDIR_REPLACEMENT # ------------------------------------------- # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. eval 'func_dirname () { $debug_cmd '"$_d"' }' # func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT # -------------------------------------------------------- # Perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () { $debug_cmd '"$_b"' '"$_d"' }' # func_echo ARG... # ---------------- # Echo program name prefixed message. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname: $_G_line" done IFS=$func_echo_IFS } # func_echo_all ARG... # -------------------- # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_echo_infix_1 INFIX ARG... # ------------------------------ # Echo program name, followed by INFIX on the first line, with any # additional lines not showing INFIX. func_echo_infix_1 () { $debug_cmd $require_term_colors _G_infix=$1; shift _G_indent=$_G_infix _G_prefix="$progname: $_G_infix: " _G_message=$* # Strip color escape sequences before counting printable length for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" do test -n "$_G_tc" && { _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` } done _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes func_echo_infix_1_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_infix_1_IFS $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 _G_prefix=$_G_indent done IFS=$func_echo_infix_1_IFS } # func_error ARG... # ----------------- # Echo program name prefixed message to standard error. func_error () { $debug_cmd $require_term_colors func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 } # func_fatal_error ARG... # ----------------------- # Echo program name prefixed message to standard error, and exit. func_fatal_error () { $debug_cmd func_error "$*" exit $EXIT_FAILURE } # func_grep EXPRESSION FILENAME # ----------------------------- # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $debug_cmd $GREP "$1" "$2" >/dev/null 2>&1 } # func_len STRING # --------------- # Set func_len_result to the length of STRING. STRING may not # start with a hyphen. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_len () { $debug_cmd func_len_result=${#1} }' else func_len () { $debug_cmd func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } fi # func_mkdir_p DIRECTORY-PATH # --------------------------- # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { $debug_cmd _G_directory_path=$1 _G_dir_list= if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then # Protect directory names starting with '-' case $_G_directory_path in -*) _G_directory_path=./$_G_directory_path ;; esac # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done case $_G_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` done _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` func_mkdir_p_IFS=$IFS; IFS=: for _G_dir in $_G_dir_list; do IFS=$func_mkdir_p_IFS # mkdir can fail with a 'File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$_G_dir" 2>/dev/null || : done IFS=$func_mkdir_p_IFS # Bail out if we (or some other process) failed to create a directory. test -d "$_G_directory_path" || \ func_fatal_error "Failed to create '$1'" fi } # func_mktempdir [BASENAME] # ------------------------- # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, BASENAME is the basename for that directory. func_mktempdir () { $debug_cmd _G_template=${TMPDIR-/tmp}/${1-$progname} if test : = "$opt_dry_run"; then # Return a directory name, but don't create it in dry-run mode _G_tmpdir=$_G_template-$$ else # If mktemp works, use that first and foremost _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` if test ! -d "$_G_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race _G_tmpdir=$_G_template-${RANDOM-0}$$ func_mktempdir_umask=`umask` umask 0077 $MKDIR "$_G_tmpdir" umask $func_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$_G_tmpdir" || \ func_fatal_error "cannot create temporary directory '$_G_tmpdir'" fi $ECHO "$_G_tmpdir" } # func_normal_abspath PATH # ------------------------ # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. func_normal_abspath () { $debug_cmd # These SED scripts presuppose an absolute path with a trailing slash. _G_pathcar='s|^/\([^/]*\).*$|\1|' _G_pathcdr='s|^/[^/]*||' _G_removedotparts=':dotsl s|/\./|/|g t dotsl s|/\.$|/|' _G_collapseslashes='s|/\{1,\}|/|g' _G_finalslash='s|/*$|/|' # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` while :; do # Processed it all yet? if test / = "$func_normal_abspath_tpath"; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result"; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_notquiet ARG... # -------------------- # Echo program name prefixed message only when not in quiet mode. func_notquiet () { $debug_cmd $opt_quiet || func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_relative_path SRCDIR DSTDIR # -------------------------------- # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. func_relative_path () { $debug_cmd func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=$func_dirname_result if test -z "$func_relative_path_tlibdir"; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test -n "$func_stripname_result"; then func_append func_relative_path_result "/$func_stripname_result" fi # Normalisation. If bindir is libdir, return '.' else relative path. if test -n "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result" func_relative_path_result=$func_stripname_result fi test -n "$func_relative_path_result" || func_relative_path_result=. : } # func_quote_for_eval ARG... # -------------------------- # Aesthetically quote ARGs to be evaled later. # This function returns two values: # i) func_quote_for_eval_result # double-quoted, suitable for a subsequent eval # ii) func_quote_for_eval_unquoted_result # has all characters that are still active within double # quotes backslashified. func_quote_for_eval () { $debug_cmd func_quote_for_eval_unquoted_result= func_quote_for_eval_result= while test 0 -lt $#; do case $1 in *[\\\`\"\$]*) _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; *) _G_unquoted_arg=$1 ;; esac if test -n "$func_quote_for_eval_unquoted_result"; then func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" else func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" fi case $_G_unquoted_arg in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and variable expansion # for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_quoted_arg=\"$_G_unquoted_arg\" ;; *) _G_quoted_arg=$_G_unquoted_arg ;; esac if test -n "$func_quote_for_eval_result"; then func_append func_quote_for_eval_result " $_G_quoted_arg" else func_append func_quote_for_eval_result "$_G_quoted_arg" fi shift done } # func_quote_for_expand ARG # ------------------------- # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { $debug_cmd case $1 in *[\\\`\"]*) _G_arg=`$ECHO "$1" | $SED \ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; *) _G_arg=$1 ;; esac case $_G_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_arg=\"$_G_arg\" ;; esac func_quote_for_expand_result=$_G_arg } # func_stripname PREFIX SUFFIX NAME # --------------------------------- # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. # 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). if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_stripname () { $debug_cmd # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary variable first. func_stripname_result=$3 func_stripname_result=${func_stripname_result#"$1"} func_stripname_result=${func_stripname_result%"$2"} }' else func_stripname () { $debug_cmd case $2 in .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; esac } fi # func_show_eval CMD [FAIL_EXP] # ----------------------------- # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} func_quote_for_expand "$_G_cmd" eval "func_notquiet $func_quote_for_expand_result" $opt_dry_run || { eval "$_G_cmd" _G_status=$? if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_show_eval_locale CMD [FAIL_EXP] # ------------------------------------ # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} $opt_quiet || { func_quote_for_expand "$_G_cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || { eval "$_G_user_locale $_G_cmd" _G_status=$? eval "$_G_safe_locale" if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_tr_sh # ---------- # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { $debug_cmd case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_verbose ARG... # ------------------- # Echo program name prefixed message in verbose mode only. func_verbose () { $debug_cmd $opt_verbose && func_echo "$*" : } # func_warn_and_continue ARG... # ----------------------------- # Echo program name prefixed warning message to standard error. func_warn_and_continue () { $debug_cmd $require_term_colors func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 } # func_warning CATEGORY ARG... # ---------------------------- # Echo program name prefixed warning message to standard error. Warning # messages can be filtered according to CATEGORY, where this function # elides messages where CATEGORY is not listed in the global variable # 'opt_warning_types'. func_warning () { $debug_cmd # CATEGORY must be in the warning_categories list! case " $warning_categories " in *" $1 "*) ;; *) func_internal_error "invalid warning category '$1'" ;; esac _G_category=$1 shift case " $opt_warning_types " in *" $_G_category "*) $warning_func ${1+"$@"} ;; esac } # func_sort_ver VER1 VER2 # ----------------------- # 'sort -V' is not generally available. # Note this deviates from the version comparison in automake # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a # but this should suffice as we won't be specifying old # version formats or redundant trailing .0 in bootstrap.conf. # If we did want full compatibility then we should probably # use m4_version_compare from autoconf. func_sort_ver () { $debug_cmd printf '%s\n%s\n' "$1" "$2" \ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n } # func_lt_ver PREV CURR # --------------------- # Return true if PREV and CURR are in the correct order according to # func_sort_ver, otherwise false. Use it like this: # # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." func_lt_ver () { $debug_cmd test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: #! /bin/sh # Set a version string for this script. scriptversion=2015-10-07.11; # UTC # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 # Copyright (C) 2010-2015 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. # 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 3 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, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # This file is a library for parsing options in your shell scripts along # with assorted other useful supporting features that you can make use # of too. # # For the simplest scripts you might need only: # # #!/bin/sh # . relative/path/to/funclib.sh # . relative/path/to/options-parser # scriptversion=1.0 # func_options ${1+"$@"} # eval set dummy "$func_options_result"; shift # ...rest of your script... # # In order for the '--version' option to work, you will need to have a # suitably formatted comment like the one at the top of this file # starting with '# Written by ' and ending with '# warranty; '. # # For '-h' and '--help' to work, you will also need a one line # description of your script's purpose in a comment directly above the # '# Written by ' line, like the one at the top of this file. # # The default options also support '--debug', which will turn on shell # execution tracing (see the comment above debug_cmd below for another # use), and '--verbose' and the func_verbose function to allow your script # to display verbose messages only when your user has specified # '--verbose'. # # After sourcing this file, you can plug processing for additional # options by amending the variables from the 'Configuration' section # below, and following the instructions in the 'Option parsing' # section further down. ## -------------- ## ## Configuration. ## ## -------------- ## # You should override these variables in your script after sourcing this # file so that they reflect the customisations you have added to the # option parser. # The usage line for option parsing errors and the start of '-h' and # '--help' output messages. You can embed shell variables for delayed # expansion at the time the message is displayed, but you will need to # quote other shell meta-characters carefully to prevent them being # expanded when the contents are evaled. usage='$progpath [OPTION]...' # Short help message in response to '-h' and '--help'. Add to this or # override it after sourcing this library to reflect the full set of # options your script accepts. usage_message="\ --debug enable verbose shell tracing -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -v, --verbose verbosely report processing --version print version information and exit -h, --help print short or long help message and exit " # Additional text appended to 'usage_message' in response to '--help'. long_help_message=" Warning categories include: 'all' show all warnings 'none' turn off all the warnings 'error' warnings are treated as fatal errors" # Help message printed before fatal option parsing errors. fatal_help="Try '\$progname --help' for more information." ## ------------------------- ## ## Hook function management. ## ## ------------------------- ## # This section contains functions for adding, removing, and running hooks # to the main code. A hook is just a named list of of function, that can # be run in order later on. # func_hookable FUNC_NAME # ----------------------- # Declare that FUNC_NAME will run hooks added with # 'func_add_hook FUNC_NAME ...'. func_hookable () { $debug_cmd func_append hookable_fns " $1" } # func_add_hook FUNC_NAME HOOK_FUNC # --------------------------------- # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must # first have been declared "hookable" by a call to 'func_hookable'. func_add_hook () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not accept hook functions." ;; esac eval func_append ${1}_hooks '" $2"' } # func_remove_hook FUNC_NAME HOOK_FUNC # ------------------------------------ # Remove HOOK_FUNC from the list of functions called by FUNC_NAME. func_remove_hook () { $debug_cmd eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' } # func_run_hooks FUNC_NAME [ARG]... # --------------------------------- # Run all hook functions registered to FUNC_NAME. # It is assumed that the list of hook functions contains nothing more # than a whitespace-delimited list of legal shell function names, and # no effort is wasted trying to catch shell meta-characters or preserve # whitespace. func_run_hooks () { $debug_cmd _G_rc_run_hooks=false case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not support hook funcions.n" ;; esac eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do if eval $_G_hook '"$@"'; then # store returned options list back into positional # parameters for next 'cmd' execution. eval _G_hook_result=\$${_G_hook}_result eval set dummy "$_G_hook_result"; shift _G_rc_run_hooks=: fi done $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result } ## --------------- ## ## Option parsing. ## ## --------------- ## # In order to add your own option parsing hooks, you must accept the # full positional parameter list in your hook function, you may remove/edit # any options that you action, and then pass back the remaining unprocessed # options in '_result', escaped suitably for # 'eval'. In this case you also must return $EXIT_SUCCESS to let the # hook's caller know that it should pay attention to # '_result'. Returning $EXIT_FAILURE signalizes that # arguments are left untouched by the hook and therefore caller will ignore the # result variable. # # Like this: # # my_options_prep () # { # $debug_cmd # # # Extend the existing usage message. # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' # # No change in '$@' (ignored completely by this hook). There is # # no need to do the equivalent (but slower) action: # # func_quote_for_eval ${1+"$@"} # # my_options_prep_result=$func_quote_for_eval_result # false # } # func_add_hook func_options_prep my_options_prep # # # my_silent_option () # { # $debug_cmd # # args_changed=false # # # Note that for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in # --silent|-s) opt_silent=: # args_changed=: # ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift # args_changed=: # ;; # *) # Make sure the first unrecognised option "$_G_opt" # # is added back to "$@", we could need that later # # if $args_changed is true. # set dummy "$_G_opt" ${1+"$@"}; shift; break ;; # esac # done # # if $args_changed; then # func_quote_for_eval ${1+"$@"} # my_silent_option_result=$func_quote_for_eval_result # fi # # $args_changed # } # func_add_hook func_parse_options my_silent_option # # # my_option_validation () # { # $debug_cmd # # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." # # false # } # func_add_hook func_validate_options my_option_validation # # You'll also need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. # func_options_finish [ARG]... # ---------------------------- # Finishing the option parse loop (call 'func_options' hooks ATM). func_options_finish () { $debug_cmd _G_func_options_finish_exit=false if func_run_hooks func_options ${1+"$@"}; then func_options_finish_result=$func_run_hooks_result _G_func_options_finish_exit=: fi $_G_func_options_finish_exit } # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the # individual implementations for details. func_hookable func_options func_options () { $debug_cmd _G_rc_options=false for my_func in options_prep parse_options validate_options options_finish do if eval func_$my_func '${1+"$@"}'; then eval _G_res_var='$'"func_${my_func}_result" eval set dummy "$_G_res_var" ; shift _G_rc_options=: fi done # Save modified positional parameters for caller. As a top-level # options-parser function we always need to set the 'func_options_result' # variable (regardless the $_G_rc_options value). if $_G_rc_options; then func_options_result=$_G_res_var else func_quote_for_eval ${1+"$@"} func_options_result=$func_quote_for_eval_result fi $_G_rc_options } # func_options_prep [ARG]... # -------------------------- # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and # needs to propagate that back to rest of this script, then the complete # modified list must be put in 'func_run_hooks_result' before # returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned). func_hookable func_options_prep func_options_prep () { $debug_cmd # Option defaults: opt_verbose=false opt_warning_types= _G_rc_options_prep=false if func_run_hooks func_options_prep ${1+"$@"}; then _G_rc_options_prep=: # save modified positional parameters for caller func_options_prep_result=$func_run_hooks_result fi $_G_rc_options_prep } # func_parse_options [ARG]... # --------------------------- # The main option parsing loop. func_hookable func_parse_options func_parse_options () { $debug_cmd func_parse_options_result= _G_rc_parse_options=false # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. if func_run_hooks func_parse_options ${1+"$@"}; then eval set dummy "$func_run_hooks_result"; shift _G_rc_parse_options=: fi # Break out of the loop if we already parsed every option. test $# -gt 0 || break _G_match_parse_options=: _G_opt=$1 shift case $_G_opt in --debug|-x) debug_cmd='set -x' func_echo "enabling shell trace mode" $debug_cmd ;; --no-warnings|--no-warning|--no-warn) set dummy --warnings none ${1+"$@"} shift ;; --warnings|--warning|-W) if test $# = 0 && func_missing_arg $_G_opt; then _G_rc_parse_options=: break fi case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above func_append_uniq opt_warning_types " $1" ;; *all) opt_warning_types=$warning_categories ;; *none) opt_warning_types=none warning_func=: ;; *error) opt_warning_types=$warning_categories warning_func=func_fatal_error ;; *) func_fatal_error \ "unsupported warning category: '$1'" ;; esac shift ;; --verbose|-v) opt_verbose=: ;; --version) func_version ;; -\?|-h) func_usage ;; --help) func_help ;; # Separate optargs to long options (plugins may need this): --*=*) func_split_equals "$_G_opt" set dummy "$func_split_equals_lhs" \ "$func_split_equals_rhs" ${1+"$@"} shift ;; # Separate optargs to short options: -W*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "$func_split_short_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-v*|-x*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) _G_rc_parse_options=: ; break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; *) set dummy "$_G_opt" ${1+"$@"}; shift _G_match_parse_options=false break ;; esac $_G_match_parse_options && _G_rc_parse_options=: done if $_G_rc_parse_options; then # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} func_parse_options_result=$func_quote_for_eval_result fi $_G_rc_parse_options } # func_validate_options [ARG]... # ------------------------------ # Perform any sanity checks on option settings and/or unconsumed # arguments. func_hookable func_validate_options func_validate_options () { $debug_cmd _G_rc_validate_options=false # Display all warnings if -W was not given. test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" if func_run_hooks func_validate_options ${1+"$@"}; then # save modified positional parameters for caller func_validate_options_result=$func_run_hooks_result _G_rc_validate_options=: fi # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE $_G_rc_validate_options } ## ----------------- ## ## Helper functions. ## ## ----------------- ## # This section contains the helper functions used by the rest of the # hookable option parser framework in ascii-betical order. # func_fatal_help ARG... # ---------------------- # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { $debug_cmd eval \$ECHO \""Usage: $usage"\" eval \$ECHO \""$fatal_help"\" func_error ${1+"$@"} exit $EXIT_FAILURE } # func_help # --------- # Echo long help message to standard output and exit. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message" exit 0 } # func_missing_arg ARGNAME # ------------------------ # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $debug_cmd func_error "Missing argument for '$1'." exit_cmd=exit } # func_split_equals STRING # ------------------------ # Set func_split_equals_lhs and func_split_equals_rhs shell variables after # splitting STRING at the '=' sign. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_equals () { $debug_cmd func_split_equals_lhs=${1%%=*} func_split_equals_rhs=${1#*=} test "x$func_split_equals_lhs" = "x$1" \ && func_split_equals_rhs= }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_equals () { $debug_cmd func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` func_split_equals_rhs= test "x$func_split_equals_lhs" = "x$1" \ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` } fi #func_split_equals # func_split_short_opt SHORTOPT # ----------------------------- # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_short_opt () { $debug_cmd func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"} }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_short_opt () { $debug_cmd func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` } fi #func_split_short_opt # func_usage # ---------- # Echo short help message to standard output and exit. func_usage () { $debug_cmd func_usage_message $ECHO "Run '$progname --help |${PAGER-more}' for full usage" exit 0 } # func_usage_message # ------------------ # Echo short help message to standard output. func_usage_message () { $debug_cmd eval \$ECHO \""Usage: $usage"\" echo $SED -n 's|^# || /^Written by/{ x;p;x } h /^Written by/q' < "$progpath" echo eval \$ECHO \""$usage_message"\" } # func_version # ------------ # Echo version message to standard output and exit. func_version () { $debug_cmd printf '%s\n' "$progname $scriptversion" $SED -n ' /(C)/!b go :more /\./!{ N s|\n# | | b more } :go /^# Written by /,/# warranty; / { s|^# || s|^# *$|| s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| p } /^# Written by / { s|^# || p } /^warranty; /q' < "$progpath" exit $? } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: # Set a version string. scriptversion='(GNU libtool) 2.4.6' # func_echo ARG... # ---------------- # Libtool also displays the current mode in messages, so override # funclib.sh func_echo with this custom definition. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" done IFS=$func_echo_IFS } # func_warning ARG... # ------------------- # Libtool warnings are not categorized, so override funclib.sh # func_warning with this simpler definition. func_warning () { $debug_cmd $warning_func ${1+"$@"} } ## ---------------- ## ## Options parsing. ## ## ---------------- ## # Hook in the functions to make sure our own options are parsed during # the option parsing loop. usage='$progpath [OPTION]... [MODE-ARG]...' # Short help message in response to '-h'. usage_message="Options: --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --mode=MODE use operation mode MODE --no-warnings equivalent to '-Wnone' --preserve-dup-deps don't remove duplicate dependency libraries --quiet, --silent don't print informational messages --tag=TAG use configuration variables from tag TAG -v, --verbose print more informational messages than default --version print version information -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -h, --help, --help-all print short, long, or detailed help message " # Additional text appended to 'usage_message' in response to '--help'. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. When passed as first option, '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. Try '$progname --help --mode=MODE' for a more detailed description of MODE. When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) version: $progname $scriptversion Debian-2.4.6-9 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . GNU libtool home page: . General help using GNU software: ." exit 0 } # func_lo2o OBJECT-NAME # --------------------- # Transform OBJECT-NAME from a '.lo' suffix to the platform specific # object suffix. lo2o=s/\\.lo\$/.$objext/ o2lo=s/\\.$objext\$/.lo/ if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_lo2o () { case $1 in *.lo) func_lo2o_result=${1%.lo}.$objext ;; * ) func_lo2o_result=$1 ;; esac }' # func_xform LIBOBJ-OR-SOURCE # --------------------------- # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) # suffix to a '.lo' libtool-object suffix. eval 'func_xform () { func_xform_result=${1%.*}.lo }' else # ...otherwise fall back to using sed. func_lo2o () { func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` } func_xform () { func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` } fi # func_fatal_configuration ARG... # ------------------------------- # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func__fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "Fatal configuration error." } # func_config # ----------- # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # ------------- # Display the features supported by this script. func_features () { echo "host: $host" if test yes = "$build_libtool_libs"; then echo "enable shared libraries" else echo "disable shared libraries" fi if test yes = "$build_old_libs"; then echo "enable static libraries" else echo "disable static libraries" fi exit $? } # func_enable_tag TAGNAME # ----------------------- # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname=$1 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf=/$re_begincf/,/$re_endcf/p # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # ------------------------ # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # libtool_options_prep [ARG]... # ----------------------------- # Preparation for options parsed by libtool. libtool_options_prep () { $debug_mode # Option defaults: opt_config=false opt_dlopen= opt_dry_run=false opt_help=false opt_mode= opt_preserve_dup_deps=false opt_quiet=false nonopt= preserve_args= _G_rc_lt_options_prep=: # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; *) _G_rc_lt_options_prep=false ;; esac if $_G_rc_lt_options_prep; then # Pass back the list of options. func_quote_for_eval ${1+"$@"} libtool_options_prep_result=$func_quote_for_eval_result fi $_G_rc_lt_options_prep } func_add_hook func_options_prep libtool_options_prep # libtool_parse_options [ARG]... # --------------------------------- # Provide handling for libtool specific options. libtool_parse_options () { $debug_cmd _G_rc_lt_parse_options=false # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do _G_match_lt_parse_options=: _G_opt=$1 shift case $_G_opt in --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) func_config ;; --dlopen|-dlopen) opt_dlopen="${opt_dlopen+$opt_dlopen }$1" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) func_features ;; --finish) set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $_G_opt && break opt_mode=$1 case $1 in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $_G_opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_quiet=false func_append preserve_args " $_G_opt" ;; --no-warnings|--no-warning|--no-warn) opt_warning=false func_append preserve_args " $_G_opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $_G_opt" ;; --silent|--quiet) opt_quiet=: opt_verbose=false func_append preserve_args " $_G_opt" ;; --tag) test $# = 0 && func_missing_arg $_G_opt && break opt_tag=$1 func_append preserve_args " $_G_opt $1" func_enable_tag "$1" shift ;; --verbose|-v) opt_quiet=false opt_verbose=: func_append preserve_args " $_G_opt" ;; # An option not handled by this hook function: *) set dummy "$_G_opt" ${1+"$@"} ; shift _G_match_lt_parse_options=false break ;; esac $_G_match_lt_parse_options && _G_rc_lt_parse_options=: done if $_G_rc_lt_parse_options; then # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} libtool_parse_options_result=$func_quote_for_eval_result fi $_G_rc_lt_parse_options } func_add_hook func_parse_options libtool_parse_options # libtool_validate_options [ARG]... # --------------------------------- # Perform any sanity checks on option settings and/or unconsumed # arguments. libtool_validate_options () { # save first non-option argument if test 0 -lt $#; then nonopt=$1 shift fi # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" case $host in # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match test yes != "$build_libtool_libs" \ && test yes != "$build_old_libs" \ && func_fatal_configuration "not configured to build any kind of library" # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test execute != "$opt_mode"; then func_error "unrecognized option '-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help=$help help="Try '$progname --help --mode=$opt_mode' for more information." } # Pass back the unparsed argument list func_quote_for_eval ${1+"$@"} libtool_validate_options_result=$func_quote_for_eval_result } func_add_hook func_validate_options libtool_validate_options # Process options as early as possible so that --help and --version # can return quickly. func_options ${1+"$@"} eval set dummy "$func_options_result"; shift ## ----------- ## ## Main. ## ## ----------- ## magic='%%%MAGIC variable%%%' magic_exe='%%%MAGIC EXE variable%%%' # Global variables. extracted_archives= extracted_serial=0 # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # func_generated_by_libtool # True iff stdin has been generated by Libtool. This function is only # a basic sanity check; it will hardly flush out determined imposters. func_generated_by_libtool_p () { $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p } # func_lalib_unsafe_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if 'file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case $lalib_p_line in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test yes = "$lalib_p" } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { test -f "$1" && $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $debug_cmd save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # 'FILE.' does not work on cygwin managed mounts. func_source () { $debug_cmd case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case $lt_sysroot:$1 in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result='='$func_stripname_result ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $debug_cmd if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with '--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=$1 if test yes = "$build_libtool_libs"; then write_lobj=\'$2\' else write_lobj=none fi if test yes = "$build_old_libs"; then write_oldobj=\'$3\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $debug_cmd # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result= if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result"; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $debug_cmd if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $debug_cmd # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $debug_cmd if test -z "$2" && test -n "$1"; then func_error "Could not determine host file name corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result=$1 fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $debug_cmd if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " '$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result=$3 fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $debug_cmd case $4 in $1 ) func_to_host_path_result=$3$func_to_host_path_result ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via '$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $debug_cmd $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $debug_cmd case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result=$1 } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result=$func_convert_core_msys_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result=$func_convert_core_file_wine_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via '$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $debug_cmd if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd=func_convert_path_$func_stripname_result fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $debug_cmd func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result=$1 } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_msys_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_path_wine_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_dll_def_p FILE # True iff FILE is a Windows DLL '.def' file. # Keep in sync with _LT_DLL_DEF_P in libtool.m4 func_dll_def_p () { $debug_cmd func_dll_def_p_tmp=`$SED -n \ -e 's/^[ ]*//' \ -e '/^\(;.*\)*$/d' \ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ -e q \ "$1"` test DEF = "$func_dll_def_p_tmp" } # func_mode_compile arg... func_mode_compile () { $debug_cmd # Get the compilation command and the source file. base_compile= srcfile=$nonopt # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg=$arg arg_mode=normal ;; target ) libobj=$arg arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify '-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs=$IFS; IFS=, for arg in $args; do IFS=$save_ifs func_append_quoted lastarg "$arg" done IFS=$save_ifs func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg=$srcfile srcfile=$arg ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with '-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj=$func_basename_result } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from '$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test yes = "$build_libtool_libs" \ || func_fatal_configuration "cannot build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name '$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname=$func_basename_result xdir=$func_dirname_result lobj=$xdir$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test yes = "$build_old_libs"; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test no = "$compiler_c_o"; then output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext lockfile=$output_obj.lock else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test yes = "$need_locks"; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test warn = "$need_locks"; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test yes = "$build_libtool_libs"; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test no != "$pic_mode"; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test yes = "$suppress_opt"; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test yes = "$build_old_libs"; then if test yes != "$pic_mode"; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test yes = "$compiler_c_o"; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test no != "$need_locks"; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test compile = "$opt_mode" && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a '.o' file suitable for static linking -static only build a '.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a 'standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix '.c' with the library object suffix, '.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to '-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the '--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the 'install' or 'cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE use a list of object files found in FILE to specify objects -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with '-') are ignored. Every other argument is treated as a filename. Files ending in '.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in '.la', then a libtool library is created, only library objects ('.lo' files) may be specified, and '-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created using 'ar' and 'ranlib', or on Windows using 'lib'. If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode '$opt_mode'" ;; esac echo $ECHO "Try '$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test : = "$opt_help"; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | $SED -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | $SED '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $debug_cmd # The first argument is the command name. cmd=$nonopt test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "'$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "'$file' was not linked with '-export-dynamic'" continue fi func_dirname "$file" "" "." dir=$func_dirname_result if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir=$func_dirname_result ;; *) func_warning "'-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir=$absdir # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic=$magic # Check if any of the arguments is a wrapper script. args= for file do case $file in -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file=$progdir/$program elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file=$progdir/$program fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if $opt_dry_run; then # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS else if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd=\$cmd$args fi } test execute = "$opt_mode" && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $debug_cmd libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "'$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument '$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and '=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_quiet && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the '-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the '$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the '$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the '$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test finish = "$opt_mode" && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $debug_cmd # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || # Allow the use of GNU shtool's install command. case $nonopt in *shtool*) :;; *) false;; esac then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=false stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=: ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test X-m = "X$prev" && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the '$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=: if $isdir; then destdir=$dest destname= else func_dirname_and_basename "$dest" "" "." destdir=$func_dirname_result destname=$func_basename_result # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "'$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "'$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir=$func_dirname_result func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking '$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname=$1 shift srcname=$realname test -n "$relink_command" && srcname=${realname}T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme=$stripme case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme= ;; esac ;; os2*) case $realname in *_dll.a) tstripme= ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try 'ln -sf' first, because the 'ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib=$destdir/$realname func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name=$func_basename_result instname=$dir/${name}i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest=$destfile destfile= ;; *) func_fatal_help "cannot copy a libtool object to '$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test yes = "$build_old_libs"; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext= case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=.exe fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script '$wrapper'" finalize=: for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` if test -n "$libdir" && test ! -f "$libfile"; then func_warning "'$lib' has not been installed in '$libdir'" finalize=false fi done relink_command= func_source "$wrapper" outputname= if test no = "$fast_install" && test -n "$relink_command"; then $opt_dry_run || { if $finalize; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file=$func_basename_result outputname=$tmpdir/$file # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_quiet || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink '$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file=$outputname else func_warning "cannot relink '$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name=$func_basename_result # Set up the ranlib parameters. oldlib=$destdir/$name func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run '$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test install = "$opt_mode" && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $debug_cmd my_outputname=$1 my_originator=$2 my_pic_p=${3-false} my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms=${my_outputname}S.c else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist=$output_objdir/$my_outputname.nm func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* 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_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* External symbol declarations for the compiler. */\ " if test yes = "$dlself"; then func_verbose "generating symbol list for '$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from '$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols=$output_objdir/$outputname.exp $opt_dry_run || { $RM $export_symbols eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from '$dlprefile'" func_basename "$dlprefile" name=$func_basename_result case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename= if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname"; then func_basename "$dlprefile_dlname" dlprefile_dlbasename=$func_basename_result else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename"; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi func_show_eval '$RM "${nlist}I"' if test -n "$global_symbol_to_import"; then eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[];\ " if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ static void lt_syminit(void) { LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; for (; symbol->name; ++symbol) {" $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" echo >> "$output_objdir/$my_dlsyms" "\ } }" fi echo >> "$output_objdir/$my_dlsyms" "\ LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = { {\"$my_originator\", (void *) 0}," if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ {\"@INIT@\", (void *) <_syminit}," fi case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) $my_pic_p && pic_flag_for_symtable=" $pic_flag" ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' # Transform the symbol file into the correct name. symfileobj=$output_objdir/${my_outputname}S.$objext case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for '$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $debug_cmd win32_libid_type=unknown win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || func_cygming_gnu_implib_p "$1" then win32_nmres=import else win32_nmres= fi ;; *) func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s|.*|import| p q } }'` ;; esac case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $debug_cmd sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $debug_cmd match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive that possess that section. Heuristic: eliminate # all those that have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $debug_cmd if func_cygming_gnu_implib_p "$1"; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1"; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result= fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $debug_cmd f_ex_an_ar_dir=$1; shift f_ex_an_ar_oldlib=$1 if test yes = "$lock_old_archive_extraction"; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test yes = "$lock_old_archive_extraction"; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $debug_cmd my_gentop=$1; shift my_oldlibs=${1+"$@"} my_oldobjs= my_xlib= my_xabs= my_xdir= for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib=$func_basename_result my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir=$my_gentop/$my_xlib_u func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` func_basename "$darwin_archive" darwin_base_archive=$func_basename_result darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches; do func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" cd "unfat-$$/$darwin_base_archive-$darwin_arch" func_extract_an_archive "`pwd`" "$darwin_base_archive" cd "$darwin_curdir" $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result=$my_oldobjs } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory where it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # 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 relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ that is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options that match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test yes = "$fast_install"; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else \$ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* declarations of non-ANSI functions */ #if defined __MINGW32__ # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined __CYGWIN__ # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined other_platform || defined ... */ #endif /* portability defines, excluding path handling macros */ #if defined _MSC_VER # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC #elif defined __MINGW32__ # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined __CYGWIN__ # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined other platforms ... */ #endif #if defined PATH_MAX # define LT_PATHMAX PATH_MAX #elif defined MAXPATHLEN # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ defined __OS2__ # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free (stale); stale = 0; } \ } while (0) #if defined LT_DEBUGWRAPPER static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; size_t tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined HAVE_DOS_BASED_FILE_SYSTEM if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined HAVE_DOS_BASED_FILE_SYSTEM } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = (size_t) (q - p); p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (STREQ (str, pat)) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else size_t len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { size_t orig_value_len = strlen (orig_value); size_t add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ size_t len = strlen (new_value); while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[--len] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $debug_cmd case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_suncc_cstd_abi # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! # Several compiler flags select an ABI that is incompatible with the # Cstd library. Avoid specifying it if any are in CXXFLAGS. func_suncc_cstd_abi () { $debug_cmd case " $compile_command " in *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) suncc_use_cstd_abi=no ;; *) suncc_use_cstd_abi=yes ;; esac } # func_mode_link arg... func_mode_link () { $debug_cmd case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # what system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll that has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= os2dllname= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=false prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module=$wl-single_module func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test yes != "$build_libtool_libs" \ && func_fatal_configuration "cannot build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg=$1 shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir=$arg prev= continue ;; dlfiles|dlprefiles) $preload || { # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=: } case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test no = "$dlself"; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test dlprefiles = "$prev"; then dlself=yes elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test dlfiles = "$prev"; then func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols=$arg test -f "$arg" \ || func_fatal_error "symbol file '$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex=$arg prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir=$arg prev= continue ;; mllvm) # Clang does not use LLVM to link, so we can simply discard any # '-mllvm $arg' options when doing the link step. prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result if test none != "$pic_object"; then # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object fi # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file '$arg' does not exist" fi arg=$save_arg prev= continue ;; os2dllname) os2dllname=$arg prev= continue ;; precious_regex) precious_files_regex=$arg prev= continue ;; release) release=-$arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test rpath = "$prev"; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds=$arg prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg=$arg case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "'-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test X-export-symbols = "X$arg"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between '-L' and '$1'" else func_fatal_error "need path for '-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of '$dir'" dir=$absdir ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test X-lc = "X$arg" || test X-lm = "X$arg"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test X-lc = "X$arg" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test X-lc = "X$arg" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test X-lc = "X$arg" && continue ;; esac elif test X-lc_r = "X$arg"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -mllvm) prev=mllvm continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module=$wl-multi_module continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "'-no-install' is ignored for $host" func_warning "assuming '-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -os2dllname) prev=os2dllname continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # -fstack-protector* stack protector flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer # -fuse-ld=* Linker select flags for GCC -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -specs=*|-fsanitize=*|-fuse-ld=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; -Z*) if test os2 = "`expr $host : '.*\(os2\)'`"; then # OS/2 uses -Zxxx to specify OS/2-specific options compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case $arg in -Zlinker | -Zstack) prev=xcompiler ;; esac continue else # Otherwise treat like 'Some other compiler flag' below func_quote_for_eval "$arg" arg=$func_quote_for_eval_result fi ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result test none = "$pic_object" || { # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object } # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test dlfiles = "$prev"; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test dlprefiles = "$prev"; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the '$prevarg' option requires an argument" if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname=$func_basename_result libobjs_save=$libobjs if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" # Definition is injected by LT_CONFIG during libtool generation. func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" func_dirname "$output" "/" "" output_objdir=$func_dirname_result$objdir func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_preserve_dup_deps; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test lib = "$linkmode"; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=false newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test lib,link = "$linkmode,$pass"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs=$tmp_deplibs fi if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass"; then libs=$deplibs deplibs= fi if test prog = "$linkmode"; then case $pass in dlopen) libs=$dlfiles ;; dlpreopen) libs=$dlprefiles ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test lib,dlpreopen = "$linkmode,$pass"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs=$dlprefiles fi if test dlopen = "$pass"; then # Collect dlpreopened libraries save_deplibs=$deplibs deplibs= fi for deplib in $libs; do lib= found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test lib != "$linkmode" && test prog != "$linkmode"; then func_warning "'-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test lib = "$linkmode"; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib=$searchdir/lib$name$search_ext if test -f "$lib"; then if test .la = "$search_ext"; then found=: else found=false fi break 2 fi done done if $found; then # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll=$l done if test "X$ll" = "X$old_library"; then # only static version available found=false func_dirname "$lib" "" "." ladir=$func_dirname_result lib=$ladir/$old_library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi else # deplib doesn't seem to be a libtool library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi ;; # -l *.ltframework) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test conv = "$pass" && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi if test scan = "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "'-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test link = "$pass"; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=false case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=: fi ;; pass_all) valid_a_lib=: ;; esac if $valid_a_lib; then echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" else echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." fi ;; esac continue ;; prog) if test link != "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test conv = "$pass"; then deplibs="$deplib $deplibs" elif test prog = "$linkmode"; then if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=: continue ;; esac # case $deplib $found || test -f "$lib" \ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "'$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir=$func_dirname_result dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass" || { test prog != "$linkmode" && test lib != "$linkmode"; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test conv = "$pass"; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for '$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done elif test prog != "$linkmode" && test lib != "$linkmode"; then func_fatal_error "'$lib' is not a convenience library" fi continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test yes = "$prefer_static_libs" || test built,no = "$prefer_static_libs,$installed"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib=$l done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for '$lib'" fi # This library was specified with -dlopen. if test dlopen = "$pass"; then test -z "$libdir" \ && func_fatal_error "cannot -dlopen a convenience library: '$lib'" if test -z "$dlname" || test yes != "$dlopen_support" || test no = "$build_libtool_libs" then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append newdlfiles " $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of '$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir=$ladir fi ;; esac func_basename "$lib" laname=$func_basename_result # Find the relevant object directory and library name. if test yes = "$installed"; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library '$lib' was moved." dir=$ladir absdir=$abs_ladir libdir=$abs_ladir else dir=$lt_sysroot$libdir absdir=$lt_sysroot$libdir fi test yes = "$hardcode_automatic" && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir=$ladir absdir=$abs_ladir # Remove this search path later func_append notinst_path " $abs_ladir" else dir=$ladir/$objdir absdir=$abs_ladir/$objdir # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test dlpreopen = "$pass"; then if test -z "$libdir" && test prog = "$linkmode"; then func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" fi case $host in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test lib = "$linkmode"; then deplibs="$dir/$old_library $deplibs" elif test prog,link = "$linkmode,$pass"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test prog = "$linkmode" && test link != "$pass"; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=false if test no != "$link_all_deplibs" || test -z "$library_names" || test no = "$build_libtool_libs"; then linkalldeplibs=: fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if $linkalldeplibs; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test prog,link = "$linkmode,$pass"; then if test -n "$library_names" && { { test no = "$prefer_static_libs" || test built,yes = "$prefer_static_libs,$installed"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then # Make sure the rpath contains only unique directories. case $temp_rpath: in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi # $linkmode,$pass = prog,link... if $alldeplibs && { test pass_all = "$deplibs_check_method" || { test yes = "$build_libtool_libs" && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test built = "$use_static_libs" && test yes = "$installed"; then use_static_libs=no fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc* | *os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test no = "$installed"; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule= for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule=$dlpremoduletest break fi done if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test lib = "$linkmode" && test yes = "$hardcode_into_libs"; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname=$1 shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname=$dlname elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc* | *os2*) func_arith $current - $age major=$func_arith_result versuffix=-$major ;; esac eval soname=\"$soname_spec\" else soname=$realname fi # Make a new name for the extract_expsyms_cmds to use soroot=$soname func_basename "$soroot" soname=$func_basename_result func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from '$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for '$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test prog = "$linkmode" || test relink != "$opt_mode"; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test no = "$hardcode_direct"; then add=$dir/$linklib case $host in *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; *-*-sysv4*uw2*) add_dir=-L$dir ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir=-L$dir ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we cannot # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library"; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add=$dir/$old_library fi elif test -n "$old_library"; then add=$dir/$old_library fi fi esac elif test no = "$hardcode_minus_L"; then case $host in *-*-sunos*) add_shlibpath=$dir ;; esac add_dir=-L$dir add=-l$name elif test no = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; relink) if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$dir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$absdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name elif test yes = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; *) lib_linked=no ;; esac if test yes != "$lib_linked"; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test prog = "$linkmode"; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test yes != "$hardcode_direct" && test yes != "$hardcode_minus_L" && test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test prog = "$linkmode" || test relink = "$opt_mode"; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add=-l$name elif test yes = "$hardcode_automatic"; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib"; then add=$inst_prefix_dir$libdir/$linklib else add=$libdir/$linklib fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir=-L$libdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name fi if test prog = "$linkmode"; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test prog = "$linkmode"; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test unsupported != "$hardcode_direct"; then test -n "$old_library" && linklib=$old_library compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test yes = "$build_libtool_libs"; then # Not a shared library if test pass_all != "$deplibs_check_method"; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system cannot link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test yes = "$module"; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test lib = "$linkmode"; then if test -n "$dependency_libs" && { test yes != "$hardcode_into_libs" || test yes = "$build_old_libs" || test yes = "$link_static"; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs=$temp_deplibs fi func_append newlib_search_path " $absdir" # Link against this library test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test no != "$link_all_deplibs"; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path=$deplib ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of '$dir'" absdir=$dir fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names"; then for tmp in $deplibrary_names; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl"; then depdepl=$absdir/$objdir/$depdepl darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" path= fi fi ;; *) path=-L$absdir/$objdir ;; esac else eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "'$deplib' seems to be moved" path=-L$absdir fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test link = "$pass"; then if test prog = "$linkmode"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs=$newdependency_libs if test dlpreopen = "$pass"; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test dlopen != "$pass"; then test conv = "$pass" || { # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= } if test prog,link = "$linkmode,$pass"; then vars="compile_deplibs finalize_deplibs" else vars=deplibs fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Add Sun CC postdeps if required: test CXX = "$tagname" && { case $host_os in linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; solaris*) func_cc_basename "$CC" case $func_cc_basename_result in CC* | sunCC*) func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; esac } # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i= ;; esac if test -n "$i"; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test prog = "$linkmode"; then dlfiles=$newdlfiles fi if test prog = "$linkmode" || test lib = "$linkmode"; then dlprefiles=$newdlprefiles fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "'-R' is ignored for archives" test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "'-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "'-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs=$output func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form 'libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test no = "$module" \ && func_fatal_help "libtool library '$output' must begin with 'lib'" if test no != "$need_lib_prefix"; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test pass_all != "$deplibs_check_method"; then func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test no = "$dlself" \ || func_warning "'-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test 1 -lt "$#" \ && func_warning "ignoring multiple '-rpath's for a libtool library" install_libdir=$1 oldlibs= if test -z "$rpath"; then if test yes = "$build_libtool_libs"; then # Building a libtool convenience library. # Some compilers have problems with a '.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "'-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs=$IFS; IFS=: set dummy $vinfo 0 0 0 shift IFS=$save_ifs test -n "$7" && \ func_fatal_help "too many parameters to '-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major=$1 number_minor=$2 number_revision=$3 # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # that has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|freebsd-elf|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; freebsd-aout|qnx|sunos) current=$number_major revision=$number_minor age=0 ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_minor lt_irix_increment=no ;; *) func_fatal_configuration "$modename: unknown library version type '$version_type'" ;; esac ;; no) current=$1 revision=$2 age=$3 ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT '$current' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION '$revision' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE '$age' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE '$age' is greater than the current interface number '$current'" func_fatal_error "'$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" # On Darwin other compilers case $CC in nagfor*) verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" ;; *) verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; esac ;; freebsd-aout) major=.$current versuffix=.$current.$revision ;; freebsd-elf) func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; irix | nonstopux) if test no = "$lt_irix_increment"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring=$verstring_prefix$major.$revision # Add in all the interfaces that we are compatible with. loop=$revision while test 0 -ne "$loop"; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring_prefix$major.$iface:$verstring done # Before this point, $major must not contain '.'. major=.$major versuffix=$major.$revision ;; linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=.$current.$age.$revision verstring=$current.$age.$revision # Add in all the interfaces that we are compatible with. loop=$age while test 0 -ne "$loop"; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring:$iface.0 done # Make executables depend on our current version. func_append verstring ":$current.0" ;; qnx) major=.$current versuffix=.$current ;; sco) major=.$current versuffix=.$current ;; sunos) major=.$current versuffix=.$current.$revision ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 file systems. func_arith $current - $age major=$func_arith_result versuffix=-$major ;; *) func_fatal_configuration "unknown library version type '$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring=0.0 ;; esac if test no = "$need_version"; then versuffix= else versuffix=.0.0 fi fi # Remove version info from name if versioning should be avoided if test yes,no = "$avoid_version,$need_version"; then major= versuffix= verstring= fi # Check to see if the archive will have undefined symbols. if test yes = "$allow_undefined"; then if test unsupported = "$allow_undefined_flag"; then if test yes = "$build_old_libs"; then func_warning "undefined symbols not allowed in $host shared libraries; building static only" build_libtool_libs=no else func_fatal_error "can't build $host shared library unless -no-undefined is specified" fi fi else # Don't allow undefined symbols. allow_undefined_flag=$no_undefined_flag fi fi func_generate_dlsyms "$libname" "$libname" : func_append libobjs " $symfileobj" test " " = "$libobjs" && libobjs= if test relink != "$opt_mode"; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) if test -n "$precious_files_regex"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles=$dlfiles dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) func_append dlfiles " $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles=$dlprefiles dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test yes = "$build_libtool_libs"; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test yes = "$build_libtool_need_lc"; then func_append deplibs " -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release= versuffix= major= newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib=$potent_lib while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | $SED 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib= ;; esac fi if test -n "$a_deplib"; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib=$potent_lib # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs= tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test yes = "$allow_libtool_libs_with_static_runtimes"; then for i in $predeps $postdeps; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test none = "$deplibs_check_method"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test yes = "$droppeddeps"; then if test yes = "$module"; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test no = "$allow_undefined"; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs=$new_libs # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test yes = "$build_libtool_libs"; then # Remove $wl instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test yes = "$hardcode_into_libs"; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath=$finalize_rpath test relink = "$opt_mode" || rpath=$compile_rpath$rpath for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath=$finalize_shlibpath test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname=$1 shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname=$realname fi if test -z "$dlname"; then dlname=$soname fi lib=$output_objdir/$realname linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols=$output_objdir/$libname.uexp func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile func_dll_def_p "$export_symbols" || { # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols=$export_symbols export_symbols= always_export_symbols=yes } fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs=$IFS; IFS='~' for cmd1 in $cmds; do IFS=$save_ifs # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test yes = "$try_normal_branch" \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=$output_objdir/$output_la.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS=$save_ifs if test -n "$export_symbols_regex" && test : != "$skipped_export"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test : != "$skipped_export" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs=$tmp_deplibs if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test yes = "$compiler_needs_object" && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test : != "$skipped_export" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then output=$output_objdir/$output_la.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then output=$output_objdir/$output_la.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test yes = "$compiler_needs_object"; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-$k.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test -z "$objlist" || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test 1 -eq "$k"; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-$k.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-$k.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi ${skipped_export-false} && { func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi } test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs=$IFS; IFS='~' for cmd in $concat_cmds; do IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi ${skipped_export-false} && { if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi } libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs=$IFS; IFS='~' for cmd in $cmds; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs # Restore the uninstalled library and exit if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test yes = "$module" || test yes = "$export_dynamic"; then # On all known operating systems, these are identical. dlname=$soname fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "'-R' is ignored for objects" test -n "$vinfo" && \ func_warning "'-version-info' is ignored for objects" test -n "$release" && \ func_warning "'-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object '$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj=$output ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # if reload_cmds runs $LD directly, get rid of -Wl from # whole_archive_flag_spec and hope we can get by with turning comma # into space. case $reload_cmds in *\$LD[\ \$]*) wl= ;; esac if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags else gentop=$output_objdir/${obj}x func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test yes = "$build_libtool_libs" || libobjs=$non_pic_objects # Create the old-style object. reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs output=$obj func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi test yes = "$build_libtool_libs" || { if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS } if test -n "$pic_flag" || test default != "$pic_mode"; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output=$libobj func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "'-version-info' is ignored for programs" test -n "$release" && \ func_warning "'-release' is ignored for programs" $preload \ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test CXX = "$tagname"; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " $wl-bind_at_load" func_append finalize_command " $wl-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs=$new_libs func_append compile_command " $compile_deplibs" func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath=$rpath rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append finalize_perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath=$rpath if test -n "$libobjs" && test yes = "$build_old_libs"; then # Transform all the library objects into standard objects. compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" false # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=: case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=false ;; *cygwin* | *mingw* ) test yes = "$build_libtool_libs" || wrappers_required=false ;; *) if test no = "$need_relink" || test yes != "$build_libtool_libs"; then wrappers_required=false fi ;; esac $wrappers_required || { # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command=$compile_command$compile_rpath # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.$objext"; then func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' fi exit $exit_status } if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test yes = "$no_install"; then # We don't need to create a wrapper script. link_command=$compile_var$compile_command$compile_rpath # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS fi case $hardcode_action,$fast_install in relink,*) # Fast installation is not supported link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath func_warning "this platform does not like uninstalled shared libraries" func_warning "'$output' will be relinked during installation" ;; *,yes) link_command=$finalize_var$compile_command$finalize_rpath relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` ;; *,no) link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath ;; *,needless) link_command=$finalize_var$compile_command$finalize_rpath relink_command= ;; esac # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource=$output_path/$objdir/lt-$output_name.c cwrapper=$output_path/$output_name.exe $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host"; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do case $build_libtool_libs in convenience) oldobjs="$libobjs_save $symfileobj" addlibs=$convenience build_libtool_libs=no ;; module) oldobjs=$libobjs_save addlibs=$old_convenience build_libtool_libs=no ;; *) oldobjs="$old_deplibs $non_pic_objects" $preload && test -f "$symfileobj" \ && func_append oldobjs " $symfileobj" addlibs=$old_convenience ;; esac if test -n "$addlibs"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase=$func_basename_result case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj"; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test -z "$oldobjs"; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test yes = "$build_old_libs" && old_library=$libname.$libext func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test yes = "$hardcode_automatic"; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test yes = "$installed"; then if test -z "$install_libdir"; then break fi output=$output_objdir/${outputname}i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name=$func_basename_result func_resolve_sysroot "$deplib" eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs=$newdependency_libs newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles=$newdlprefiles else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles=$newdlprefiles fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test -n "$bindir"; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result/$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that cannot go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test no,yes = "$installed,$need_relink"; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } if test link = "$opt_mode" || test relink = "$opt_mode"; then func_mode_link ${1+"$@"} fi # func_mode_uninstall arg... func_mode_uninstall () { $debug_cmd RM=$nonopt files= rmforce=false exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic for arg do case $arg in -f) func_append RM " $arg"; rmforce=: ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir=$func_dirname_result if test . = "$dir"; then odir=$objdir else odir=$dir/$objdir fi func_basename "$file" name=$func_basename_result test uninstall = "$opt_mode" && odir=$dir # Remember odir for removal later, being careful to avoid duplicates if test clean = "$opt_mode"; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif $rmforce; then continue fi rmfiles=$file case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case $opt_mode in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test none != "$pic_object"; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test none != "$non_pic_object"; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test clean = "$opt_mode"; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.$objext" if test yes = "$fast_install" && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name"; then func_append rmfiles " $odir/lt-$noexename.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done # Try to remove the $objdir's in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then func_mode_uninstall ${1+"$@"} fi test -z "$opt_mode" && { help=$generic_help func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode '$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # where we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: gsasl-1.8.1/lib/build-aux/update-copyright0000755000000000000000000002500713516251601015403 00000000000000#!/bin/sh #! -*-perl-*- # Update an FSF copyright year list to include the current year. # Copyright (C) 2009-2019 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, 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, see . # # Written by Jim Meyering and Joel E. Denny # This script updates an FSF copyright year list to include the current year. # Usage: update-copyright [FILE...] # # The arguments to this script should be names of files that contain # copyright statements to be updated. The copyright holder's name # defaults to "Free Software Foundation, Inc." but may be changed to # any other name by using the "UPDATE_COPYRIGHT_HOLDER" environment # variable. # # For example, you might wish to use the update-copyright target rule # in maint.mk from gnulib's maintainer-makefile module. # # Iff a copyright statement is recognized in a file and the final # year is not the current year, then the statement is updated for the # new year and it is reformatted to: # # 1. Fit within 72 columns. # 2. Convert 2-digit years to 4-digit years by prepending "19". # 3. Expand copyright year intervals. (See "Environment variables" # below.) # # A warning is printed for every file for which no copyright # statement is recognized. # # Each file's copyright statement must be formatted correctly in # order to be recognized. For example, each of these is fine: # # Copyright @copyright{} 1990-2005, 2007-2009 Free Software # Foundation, Inc. # # # Copyright (C) 1990-2005, 2007-2009 Free Software # # Foundation, Inc. # # /* # * Copyright © 90,2005,2007-2009 # * Free Software Foundation, Inc. # */ # # However, the following format is not recognized because the line # prefix changes after the first line: # # ## Copyright (C) 1990-2005, 2007-2009 Free Software # # Foundation, Inc. # # However, any correctly formatted copyright statement following # a non-matching copyright statements would be recognized. # # The exact conditions that a file's copyright statement must meet # to be recognized are: # # 1. It is the first copyright statement that meets all of the # following conditions. Subsequent copyright statements are # ignored. # 2. Its format is "Copyright (C)", then a list of copyright years, # and then the name of the copyright holder. # 3. The "(C)" takes one of the following forms or is omitted # entirely: # # A. (C) # B. (c) # C. @copyright{} # D. © # E. © # # 4. The "Copyright" appears at the beginning of a line, except that it # may be prefixed by any sequence (e.g., a comment) of no more than # 5 characters -- including white space. # 5. Iff such a prefix is present, the same prefix appears at the # beginning of each remaining line within the FSF copyright # statement. There is one exception in order to support C-style # comments: if the first line's prefix contains nothing but # whitespace surrounding a "/*", then the prefix for all subsequent # lines is the same as the first line's prefix except with each of # "/" and possibly "*" replaced by a " ". The replacement of "*" # by " " is consistent throughout all subsequent lines. # 6. Blank lines, even if preceded by the prefix, do not appear # within the FSF copyright statement. # 7. Each copyright year is 2 or 4 digits, and years are separated by # commas or dashes. Whitespace may appear after commas. # # Environment variables: # # 1. If UPDATE_COPYRIGHT_FORCE=1, a recognized FSF copyright statement # is reformatted even if it does not need updating for the new # year. If unset or set to 0, only updated FSF copyright # statements are reformatted. # 2. If UPDATE_COPYRIGHT_USE_INTERVALS=1, every series of consecutive # copyright years (such as 90, 1991, 1992-2007, 2008) in a # reformatted FSF copyright statement is collapsed to a single # interval (such as 1990-2008). If unset or set to 0, all existing # copyright year intervals in a reformatted FSF copyright statement # are expanded instead. # If UPDATE_COPYRIGHT_USE_INTERVALS=2, convert a sequence with gaps # to the minimal containing range. For example, convert # 2000, 2004-2007, 2009 to 2000-2009. # 3. For testing purposes, you can set the assumed current year in # UPDATE_COPYRIGHT_YEAR. # 4. The default maximum line length for a copyright line is 72. # Set UPDATE_COPYRIGHT_MAX_LINE_LENGTH to use a different length. # 5. Set UPDATE_COPYRIGHT_HOLDER if the copyright holder is other # than "Free Software Foundation, Inc.". # This is a prologue that allows to run a perl script as an executable # on systems that are compliant to a POSIX version before POSIX:2017. # On such systems, the usual invocation of an executable through execlp() # or execvp() fails with ENOEXEC if it is a script that does not start # with a #! line. The script interpreter mentioned in the #! line has # to be /bin/sh, because on GuixSD systems that is the only program that # has a fixed file name. The second line is essential for perl and is # also useful for editing this file in Emacs. The next two lines below # are valid code in both sh and perl. When executed by sh, they re-execute # the script through the perl program found in $PATH. The '-x' option # is essential as well; without it, perl would re-execute the script # through /bin/sh. When executed by perl, the next two lines are a no-op. eval 'exec perl -wSx -0777 -pi "$0" "$@"' if 0; my $VERSION = '2018-03-07.03:47'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. use strict; use warnings; my $copyright_re = 'Copyright'; my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©|©)'; my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER}; $holder ||= 'Free Software Foundation, Inc.'; my $prefix_max = 5; my $margin = $ENV{UPDATE_COPYRIGHT_MAX_LINE_LENGTH}; !$margin || $margin !~ m/^\d+$/ and $margin = 72; my $tab_width = 8; my $this_year = $ENV{UPDATE_COPYRIGHT_YEAR}; if (!$this_year || $this_year !~ m/^\d{4}$/) { my ($sec, $min, $hour, $mday, $month, $year) = localtime (time ()); $this_year = $year + 1900; } # Unless the file consistently uses "\r\n" as the EOL, use "\n" instead. my $eol = /(?:^|[^\r])\n/ ? "\n" : "\r\n"; my $leading; my $prefix; my $ws_re; my $stmt_re; while (/(^|\n)(.{0,$prefix_max})$copyright_re/g) { $leading = "$1$2"; $prefix = $2; if ($prefix =~ /^(\s*\/)\*(\s*)$/) { $prefix =~ s,/, ,; my $prefix_ws = $prefix; $prefix_ws =~ s/\*/ /; # Only whitespace. if (/\G(?:[^*\n]|\*[^\/\n])*\*?\n$prefix_ws/) { $prefix = $prefix_ws; } } $ws_re = '[ \t\r\f]'; # \s without \n $ws_re = "(?:$ws_re*(?:$ws_re|\\n" . quotemeta($prefix) . ")$ws_re*)"; my $holder_re = $holder; $holder_re =~ s/\s/$ws_re/g; my $stmt_remainder_re = "(?:$ws_re$circle_c_re)?" . "$ws_re(?:(?:\\d\\d)?\\d\\d(?:,$ws_re?|-))*" . "((?:\\d\\d)?\\d\\d)$ws_re$holder_re"; if (/\G$stmt_remainder_re/) { $stmt_re = quotemeta($leading) . "($copyright_re$stmt_remainder_re)"; last; } } if (defined $stmt_re) { /$stmt_re/ or die; # Should never die. my $stmt = $1; my $final_year_orig = $2; # Handle two-digit year numbers like "98" and "99". my $final_year = $final_year_orig; $final_year <= 99 and $final_year += 1900; if ($final_year != $this_year) { # Update the year. $stmt =~ s/\b$final_year_orig\b/$final_year, $this_year/; } if ($final_year != $this_year || $ENV{'UPDATE_COPYRIGHT_FORCE'}) { # Normalize all whitespace including newline-prefix sequences. $stmt =~ s/$ws_re/ /g; # Put spaces after commas. $stmt =~ s/, ?/, /g; # Convert 2-digit to 4-digit years. $stmt =~ s/(\b\d\d\b)/19$1/g; # Make the use of intervals consistent. if (!$ENV{UPDATE_COPYRIGHT_USE_INTERVALS}) { $stmt =~ s/(\d{4})-(\d{4})/join(', ', $1..$2)/eg; } else { $stmt =~ s/ (\d{4}) (?: (,\ |-) ((??{ if ($2 eq '-') { '\d{4}'; } elsif (!$3) { $1 + 1; } else { $3 + 1; } })) )+ /$1-$3/gx; # When it's 2, emit a single range encompassing all year numbers. $ENV{UPDATE_COPYRIGHT_USE_INTERVALS} == 2 and $stmt =~ s/\b(\d{4})\b.*\b(\d{4})\b/$1-$2/; } # Format within margin. my $stmt_wrapped; my $text_margin = $margin - length($prefix); if ($prefix =~ /^(\t+)/) { $text_margin -= length($1) * ($tab_width - 1); } while (length $stmt) { if (($stmt =~ s/^(.{1,$text_margin})(?: |$)//) || ($stmt =~ s/^([\S]+)(?: |$)//)) { my $line = $1; $stmt_wrapped .= $stmt_wrapped ? "$eol$prefix" : $leading; $stmt_wrapped .= $line; } else { # Should be unreachable, but we don't want an infinite # loop if it can be reached. die; } } # Replace the old copyright statement. s/$stmt_re/$stmt_wrapped/; } } else { print STDERR "$ARGV: warning: copyright statement not found\n"; } # Hey Emacs! # Local variables: # coding: utf-8 # mode: perl # indent-tabs-mode: nil # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-line-limit: 200 # time-stamp-start: "my $VERSION = '" # time-stamp-format: "%:y-%02m-%02d.%02H:%02M" # time-stamp-time-zone: "UTC0" # time-stamp-end: "'; # UTC" # End: gsasl-1.8.1/lib/build-aux/test-driver0000755000000000000000000001104213521017117014353 00000000000000#! /bin/sh # test-driver - basic testsuite driver script. scriptversion=2018-03-07.03; # UTC # Copyright (C) 2011-2018 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . # Make unconditional expansion of undefined variables an error. This # helps a lot in preventing typo-related bugs. set -u usage_error () { echo "$0: $*" >&2 print_usage >&2 exit 2 } print_usage () { cat <$log_file 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then tweaked_estatus=1 else tweaked_estatus=$estatus fi case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac # Report the test outcome and exit status in the logs, so that one can # know whether the test passed or failed simply by looking at the '.log' # file, without the need of also peaking into the corresponding '.trs' # file (automake bug#11814). echo "$res $test_name (exit status: $estatus)" >>$log_file # Report outcome to console. echo "${col}${res}${std}: $test_name" # Register the test result, and other relevant metadata. echo ":test-result: $res" > $trs_file echo ":global-test-result: $res" >> $trs_file echo ":recheck: $recheck" >> $trs_file echo ":copy-in-global-log: $gcopy" >> $trs_file # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: gsasl-1.8.1/lib/build-aux/texinfo.tex0000644000000000000000000135240313521017137014367 00000000000000% texinfo.tex -- TeX macros to handle Texinfo files. % % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % \def\texinfoversion{2018-02-12.17} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, % 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 % Free Software Foundation, Inc. % % This texinfo.tex file 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 3 of the % License, or (at your option) any later version. % % This texinfo.tex file 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 . % % As a special exception, when this file is read by TeX when processing % a Texinfo source document, you may use the result without % restriction. This Exception is an additional permission under section 7 % of the GNU General Public License, version 3 ("GPLv3"). % % Please try the latest version of texinfo.tex before submitting bug % reports; you can get the latest version from: % https://ftp.gnu.org/gnu/texinfo/ (the Texinfo release area), or % https://ftpmirror.gnu.org/texinfo/ (same, via a mirror), or % https://www.gnu.org/software/texinfo/ (the Texinfo home page) % The texinfo.tex in any given distribution could well be out % of date, so if that's what you're using, please check. % % Send bug reports to bug-texinfo@gnu.org. Please include including a % complete document in each bug report with which we can reproduce the % problem. Patches are, of course, greatly appreciated. % % To process a Texinfo manual with TeX, it's most reliable to use the % texi2dvi shell script that comes with the distribution. For a simple % manual foo.texi, however, you can get away with this: % tex foo.texi % texindex foo.?? % tex foo.texi % tex foo.texi % dvips foo.dvi -o # or whatever; this makes foo.ps. % The extra TeX runs get the cross-reference information correct. % Sometimes one run after texindex suffices, and sometimes you need more % than two; texi2dvi does it as many times as necessary. % % It is possible to adapt texinfo.tex for other languages, to some % extent. You can get the existing language-specific files from the % full Texinfo distribution. % % The GNU Texinfo home page is https://www.gnu.org/software/texinfo. \message{Loading texinfo [version \texinfoversion]:} % If in a .fmt file, print the version number % and turn on active characters that we couldn't do earlier because % they might have appeared in the input file name. \everyjob{\message{[Texinfo version \texinfoversion]}% \catcode`+=\active \catcode`\_=\active} % LaTeX's \typeout. This ensures that the messages it is used for % are identical in format to the corresponding ones from latex/pdflatex. \def\typeout{\immediate\write17}% \chardef\other=12 % We never want plain's \outer definition of \+ in Texinfo. % For @tex, we can use \tabalign. \let\+ = \relax % Save some plain tex macros whose names we will redefine. \let\ptexb=\b \let\ptexbullet=\bullet \let\ptexc=\c \let\ptexcomma=\, \let\ptexdot=\. \let\ptexdots=\dots \let\ptexend=\end \let\ptexequiv=\equiv \let\ptexexclam=\! \let\ptexfootnote=\footnote \let\ptexgtr=> \let\ptexhat=^ \let\ptexi=\i \let\ptexindent=\indent \let\ptexinsert=\insert \let\ptexlbrace=\{ \let\ptexless=< \let\ptexnewwrite\newwrite \let\ptexnoindent=\noindent \let\ptexplus=+ \let\ptexraggedright=\raggedright \let\ptexrbrace=\} \let\ptexslash=\/ \let\ptexsp=\sp \let\ptexstar=\* \let\ptexsup=\sup \let\ptext=\t \let\ptextop=\top {\catcode`\'=\active \global\let\ptexquoteright'}% active in plain's math mode % If this character appears in an error message or help string, it % starts a new line in the output. \newlinechar = `^^J % Use TeX 3.0's \inputlineno to get the line number, for better error % messages, but if we're using an old version of TeX, don't do anything. % \ifx\inputlineno\thisisundefined \let\linenumber = \empty % Pre-3.0. \else \def\linenumber{l.\the\inputlineno:\space} \fi % Set up fixed words for English if not already set. \ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi \ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi \ifx\putworderror\undefined \gdef\putworderror{error}\fi \ifx\putwordfile\undefined \gdef\putwordfile{file}\fi \ifx\putwordin\undefined \gdef\putwordin{in}\fi \ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi \ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi \ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi \ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi \ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi \ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi \ifx\putwordof\undefined \gdef\putwordof{of}\fi \ifx\putwordon\undefined \gdef\putwordon{on}\fi \ifx\putwordpage\undefined \gdef\putwordpage{page}\fi \ifx\putwordsection\undefined \gdef\putwordsection{section}\fi \ifx\putwordSection\undefined \gdef\putwordSection{Section}\fi \ifx\putwordsee\undefined \gdef\putwordsee{see}\fi \ifx\putwordSee\undefined \gdef\putwordSee{See}\fi \ifx\putwordShortTOC\undefined \gdef\putwordShortTOC{Short Contents}\fi \ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi % \ifx\putwordMJan\undefined \gdef\putwordMJan{January}\fi \ifx\putwordMFeb\undefined \gdef\putwordMFeb{February}\fi \ifx\putwordMMar\undefined \gdef\putwordMMar{March}\fi \ifx\putwordMApr\undefined \gdef\putwordMApr{April}\fi \ifx\putwordMMay\undefined \gdef\putwordMMay{May}\fi \ifx\putwordMJun\undefined \gdef\putwordMJun{June}\fi \ifx\putwordMJul\undefined \gdef\putwordMJul{July}\fi \ifx\putwordMAug\undefined \gdef\putwordMAug{August}\fi \ifx\putwordMSep\undefined \gdef\putwordMSep{September}\fi \ifx\putwordMOct\undefined \gdef\putwordMOct{October}\fi \ifx\putwordMNov\undefined \gdef\putwordMNov{November}\fi \ifx\putwordMDec\undefined \gdef\putwordMDec{December}\fi % \ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi \ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi \ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi \ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi \ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi % Give the space character the catcode for a space. \def\spaceisspace{\catcode`\ =10\relax} % Likewise for ^^M, the end of line character. \def\endlineisspace{\catcode13=10\relax} \chardef\dashChar = `\- \chardef\slashChar = `\/ \chardef\underChar = `\_ % Ignore a token. % \def\gobble#1{} % The following is used inside several \edef's. \def\makecsname#1{\expandafter\noexpand\csname#1\endcsname} % Hyphenation fixes. \hyphenation{ Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script auto-ma-ti-cal-ly ap-pen-dix bit-map bit-maps data-base data-bases eshell fall-ing half-way long-est man-u-script man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces spell-ing spell-ings stand-alone strong-est time-stamp time-stamps which-ever white-space wide-spread wrap-around } % Sometimes it is convenient to have everything in the transcript file % and nothing on the terminal. We don't just call \tracingall here, % since that produces some useless output on the terminal. We also make % some effort to order the tracing commands to reduce output in the log % file; cf. trace.sty in LaTeX. % \def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}% \def\loggingall{% \tracingstats2 \tracingpages1 \tracinglostchars2 % 2 gives us more in etex \tracingparagraphs1 \tracingoutput1 \tracingmacros2 \tracingrestores1 \showboxbreadth\maxdimen \showboxdepth\maxdimen \ifx\eTeXversion\thisisundefined\else % etex gives us more logging \tracingscantokens1 \tracingifs1 \tracinggroups1 \tracingnesting2 \tracingassigns1 \fi \tracingcommands3 % 3 gives us more in etex \errorcontextlines16 }% % @errormsg{MSG}. Do the index-like expansions on MSG, but if things % aren't perfect, it's not the end of the world, being an error message, % after all. % \def\errormsg{\begingroup \indexnofonts \doerrormsg} \def\doerrormsg#1{\errmessage{#1}} % add check for \lastpenalty to plain's definitions. If the last thing % we did was a \nobreak, we don't want to insert more space. % \def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount \removelastskip\penalty-50\smallskip\fi\fi} \def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount \removelastskip\penalty-100\medskip\fi\fi} \def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount \removelastskip\penalty-200\bigskip\fi\fi} % Output routine % % For a final copy, take out the rectangles % that mark overfull boxes (in case you have decided % that the text looks ok even though it passes the margin). % \def\finalout{\overfullrule=0pt } % Do @cropmarks to get crop marks. % \newif\ifcropmarks \let\cropmarks = \cropmarkstrue % % Dimensions to add cropmarks at corners. % Added by P. A. MacKay, 12 Nov. 1986 % \newdimen\outerhsize \newdimen\outervsize % set by the paper size routines \newdimen\cornerlong \cornerlong=1pc \newdimen\cornerthick \cornerthick=.3pt \newdimen\topandbottommargin \topandbottommargin=.75in % Output a mark which sets \thischapter, \thissection and \thiscolor. % We dump everything together because we only have one kind of mark. % This works because we only use \botmark / \topmark, not \firstmark. % % A mark contains a subexpression of the \ifcase ... \fi construct. % \get*marks macros below extract the needed part using \ifcase. % % Another complication is to let the user choose whether \thischapter % (\thissection) refers to the chapter (section) in effect at the top % of a page, or that at the bottom of a page. % \domark is called twice inside \chapmacro, to add one % mark before the section break, and one after. % In the second call \prevchapterdefs is the same as \lastchapterdefs, % and \prevsectiondefs is the same as \lastsectiondefs. % Then if the page is not broken at the mark, some of the previous % section appears on the page, and we can get the name of this section % from \firstmark for @everyheadingmarks top. % @everyheadingmarks bottom uses \botmark. % % See page 260 of The TeXbook. \def\domark{% \toks0=\expandafter{\lastchapterdefs}% \toks2=\expandafter{\lastsectiondefs}% \toks4=\expandafter{\prevchapterdefs}% \toks6=\expandafter{\prevsectiondefs}% \toks8=\expandafter{\lastcolordefs}% \mark{% \the\toks0 \the\toks2 % 0: marks for @everyheadingmarks top \noexpand\or \the\toks4 \the\toks6 % 1: for @everyheadingmarks bottom \noexpand\else \the\toks8 % 2: color marks }% } % \gettopheadingmarks, \getbottomheadingmarks, % \getcolormarks - extract needed part of mark. % % \topmark doesn't work for the very first chapter (after the title % page or the contents), so we use \firstmark there -- this gets us % the mark with the chapter defs, unless the user sneaks in, e.g., % @setcolor (or @url, or @link, etc.) between @contents and the very % first @chapter. \def\gettopheadingmarks{% \ifcase0\topmark\fi \ifx\thischapter\empty \ifcase0\firstmark\fi \fi } \def\getbottomheadingmarks{\ifcase1\botmark\fi} \def\getcolormarks{\ifcase2\topmark\fi} % Avoid "undefined control sequence" errors. \def\lastchapterdefs{} \def\lastsectiondefs{} \def\lastsection{} \def\prevchapterdefs{} \def\prevsectiondefs{} \def\lastcolordefs{} % Margin to add to right of even pages, to left of odd pages. \newdimen\bindingoffset \newdimen\normaloffset \newdimen\txipagewidth \newdimen\txipageheight % Main output routine. % \chardef\PAGE = 255 \output = {\onepageout{\pagecontents\PAGE}} \newbox\headlinebox \newbox\footlinebox % \onepageout takes a vbox as an argument. % \shipout a vbox for a single page, adding an optional header, footer, % cropmarks, and footnote. This also causes index entries for this page % to be written to the auxiliary files. % \def\onepageout#1{% \ifcropmarks \hoffset=0pt \else \hoffset=\normaloffset \fi % \ifodd\pageno \advance\hoffset by \bindingoffset \else \advance\hoffset by -\bindingoffset\fi % % Common context changes for both heading and footing. % Do this outside of the \shipout so @code etc. will be expanded in % the headline as they should be, not taken literally (outputting ''code). \def\commmonheadfootline{\let\hsize=\txipagewidth \texinfochars} % % Retrieve the information for the headings from the marks in the page, % and call Plain TeX's \makeheadline and \makefootline, which use the % values in \headline and \footline. % % This is used to check if we are on the first page of a chapter. \ifcase1\topmark\fi \let\prevchaptername\thischaptername \ifcase0\firstmark\fi \let\curchaptername\thischaptername % \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi % \ifx\curchaptername\prevchaptername \let\thischapterheading\thischapter \else % \thischapterheading is the same as \thischapter except it is blank % for the first page of a chapter. This is to prevent the chapter name % being shown twice. \def\thischapterheading{}% \fi % \global\setbox\headlinebox = \vbox{\commmonheadfootline \makeheadline}% \global\setbox\footlinebox = \vbox{\commmonheadfootline \makefootline}% % {% % Set context for writing to auxiliary files like index files. % Have to do this stuff outside the \shipout because we want it to % take effect in \write's, yet the group defined by the \vbox ends % before the \shipout runs. % \indexdummies % don't expand commands in the output. \normalturnoffactive % \ in index entries must not stay \, e.g., if % the page break happens to be in the middle of an example. % We don't want .vr (or whatever) entries like this: % \entry{{\indexbackslash }acronym}{32}{\code {\acronym}} % "\acronym" won't work when it's read back in; % it needs to be % {\code {{\backslashcurfont }acronym} \shipout\vbox{% % Do this early so pdf references go to the beginning of the page. \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi % \ifcropmarks \vbox to \outervsize\bgroup \hsize = \outerhsize \vskip-\topandbottommargin \vtop to0pt{% \line{\ewtop\hfil\ewtop}% \nointerlineskip \line{% \vbox{\moveleft\cornerthick\nstop}% \hfill \vbox{\moveright\cornerthick\nstop}% }% \vss}% \vskip\topandbottommargin \line\bgroup \hfil % center the page within the outer (page) hsize. \ifodd\pageno\hskip\bindingoffset\fi \vbox\bgroup \fi % \unvbox\headlinebox \pagebody{#1}% \ifdim\ht\footlinebox > 0pt % Only leave this space if the footline is nonempty. % (We lessened \vsize for it in \oddfootingyyy.) % The \baselineskip=24pt in plain's \makefootline has no effect. \vskip 24pt \unvbox\footlinebox \fi % \ifcropmarks \egroup % end of \vbox\bgroup \hfil\egroup % end of (centering) \line\bgroup \vskip\topandbottommargin plus1fill minus1fill \boxmaxdepth = \cornerthick \vbox to0pt{\vss \line{% \vbox{\moveleft\cornerthick\nsbot}% \hfill \vbox{\moveright\cornerthick\nsbot}% }% \nointerlineskip \line{\ewbot\hfil\ewbot}% }% \egroup % \vbox from first cropmarks clause \fi }% end of \shipout\vbox }% end of group with \indexdummies \advancepageno \ifnum\outputpenalty>-20000 \else\dosupereject\fi } \newinsert\margin \dimen\margin=\maxdimen % Main part of page, including any footnotes \def\pagebody#1{\vbox to\txipageheight{\boxmaxdepth=\maxdepth #1}} {\catcode`\@ =11 \gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi % marginal hacks, juha@viisa.uucp (Juha Takala) \ifvoid\margin\else % marginal info is present \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi \dimen@=\dp#1\relax \unvbox#1\relax \ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi \ifr@ggedbottom \kern-\dimen@ \vfil \fi} } % Here are the rules for the cropmarks. Note that they are % offset so that the space between them is truly \outerhsize or \outervsize % (P. A. MacKay, 12 November, 1986) % \def\ewtop{\vrule height\cornerthick depth0pt width\cornerlong} \def\nstop{\vbox {\hrule height\cornerthick depth\cornerlong width\cornerthick}} \def\ewbot{\vrule height0pt depth\cornerthick width\cornerlong} \def\nsbot{\vbox {\hrule height\cornerlong depth\cornerthick width\cornerthick}} % Argument parsing % Parse an argument, then pass it to #1. The argument is the rest of % the input line (except we remove a trailing comment). #1 should be a % macro which expects an ordinary undelimited TeX argument. % For example, \def\foo{\parsearg\fooxxx}. % \def\parsearg{\parseargusing{}} \def\parseargusing#1#2{% \def\argtorun{#2}% \begingroup \obeylines \spaceisspace #1% \parseargline\empty% Insert the \empty token, see \finishparsearg below. } {\obeylines % \gdef\parseargline#1^^M{% \endgroup % End of the group started in \parsearg. \argremovecomment #1\comment\ArgTerm% }% } % First remove any @comment, then any @c comment. Also remove a @texinfoc % comment (see \scanmacro for details). Pass the result on to \argcheckspaces. \def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} \def\argremovec#1\c#2\ArgTerm{\argremovetexinfoc #1\texinfoc\ArgTerm} \def\argremovetexinfoc#1\texinfoc#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} % Each occurrence of `\^^M' or `\^^M' is replaced by a single space. % % \argremovec might leave us with trailing space, e.g., % @end itemize @c foo % This space token undergoes the same procedure and is eventually removed % by \finishparsearg. % \def\argcheckspaces#1\^^M{\argcheckspacesX#1\^^M \^^M} \def\argcheckspacesX#1 \^^M{\argcheckspacesY#1\^^M} \def\argcheckspacesY#1\^^M#2\^^M#3\ArgTerm{% \def\temp{#3}% \ifx\temp\empty % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp: \let\temp\finishparsearg \else \let\temp\argcheckspaces \fi % Put the space token in: \temp#1 #3\ArgTerm } % If a _delimited_ argument is enclosed in braces, they get stripped; so % to get _exactly_ the rest of the line, we had to prevent such situation. % We prepended an \empty token at the very beginning and we expand it now, % just before passing the control to \argtorun. % (Similarly, we have to think about #3 of \argcheckspacesY above: it is % either the null string, or it ends with \^^M---thus there is no danger % that a pair of braces would be stripped. % % But first, we have to remove the trailing space token. % \def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}} % \parseargdef - define a command taking an argument on the line % % \parseargdef\foo{...} % is roughly equivalent to % \def\foo{\parsearg\Xfoo} % \def\Xfoo#1{...} \def\parseargdef#1{% \expandafter \doparseargdef \csname\string#1\endcsname #1% } \def\doparseargdef#1#2{% \def#2{\parsearg#1}% \def#1##1% } % Several utility definitions with active space: { \obeyspaces \gdef\obeyedspace{ } % Make each space character in the input produce a normal interword % space in the output. Don't allow a line break at this space, as this % is used only in environments like @example, where each line of input % should produce a line of output anyway. % \gdef\sepspaces{\obeyspaces\let =\tie} % If an index command is used in an @example environment, any spaces % therein should become regular spaces in the raw index file, not the % expansion of \tie (\leavevmode \penalty \@M \ ). \gdef\unsepspaces{\let =\space} } \def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next} % Define the framework for environments in texinfo.tex. It's used like this: % % \envdef\foo{...} % \def\Efoo{...} % % It's the responsibility of \envdef to insert \begingroup before the % actual body; @end closes the group after calling \Efoo. \envdef also % defines \thisenv, so the current environment is known; @end checks % whether the environment name matches. The \checkenv macro can also be % used to check whether the current environment is the one expected. % % Non-false conditionals (@iftex, @ifset) don't fit into this, so they % are not treated as environments; they don't open a group. (The % implementation of @end takes care not to call \endgroup in this % special case.) % At run-time, environments start with this: \def\startenvironment#1{\begingroup\def\thisenv{#1}} % initialize \let\thisenv\empty % ... but they get defined via ``\envdef\foo{...}'': \long\def\envdef#1#2{\def#1{\startenvironment#1#2}} \def\envparseargdef#1#2{\parseargdef#1{\startenvironment#1#2}} % Check whether we're in the right environment: \def\checkenv#1{% \def\temp{#1}% \ifx\thisenv\temp \else \badenverr \fi } % Environment mismatch, #1 expected: \def\badenverr{% \errhelp = \EMsimple \errmessage{This command can appear only \inenvironment\temp, not \inenvironment\thisenv}% } \def\inenvironment#1{% \ifx#1\empty outside of any environment% \else in environment \expandafter\string#1% \fi } % @end foo executes the definition of \Efoo. % But first, it executes a specialized version of \checkenv % \parseargdef\end{% \if 1\csname iscond.#1\endcsname \else % The general wording of \badenverr may not be ideal. \expandafter\checkenv\csname#1\endcsname \csname E#1\endcsname \endgroup \fi } \newhelp\EMsimple{Press RETURN to continue.} % Be sure we're in horizontal mode when doing a tie, since we make space % equivalent to this in @example-like environments. Otherwise, a space % at the beginning of a line will start with \penalty -- and % since \penalty is valid in vertical mode, we'd end up putting the % penalty on the vertical list instead of in the new paragraph. {\catcode`@ = 11 % Avoid using \@M directly, because that causes trouble % if the definition is written into an index file. \global\let\tiepenalty = \@M \gdef\tie{\leavevmode\penalty\tiepenalty\ } } % @: forces normal size whitespace following. \def\:{\spacefactor=1000 } % @* forces a line break. \def\*{\unskip\hfil\break\hbox{}\ignorespaces} % @/ allows a line break. \let\/=\allowbreak % @. is an end-of-sentence period. \def\.{.\spacefactor=\endofsentencespacefactor\space} % @! is an end-of-sentence bang. \def\!{!\spacefactor=\endofsentencespacefactor\space} % @? is an end-of-sentence query. \def\?{?\spacefactor=\endofsentencespacefactor\space} % @frenchspacing on|off says whether to put extra space after punctuation. % \def\onword{on} \def\offword{off} % \parseargdef\frenchspacing{% \def\temp{#1}% \ifx\temp\onword \plainfrenchspacing \else\ifx\temp\offword \plainnonfrenchspacing \else \errhelp = \EMsimple \errmessage{Unknown @frenchspacing option `\temp', must be on|off}% \fi\fi } % @w prevents a word break. Without the \leavevmode, @w at the % beginning of a paragraph, when TeX is still in vertical mode, would % produce a whole line of output instead of starting the paragraph. \def\w#1{\leavevmode\hbox{#1}} % @group ... @end group forces ... to be all on one page, by enclosing % it in a TeX vbox. We use \vtop instead of \vbox to construct the box % to keep its height that of a normal line. According to the rules for % \topskip (p.114 of the TeXbook), the glue inserted is % max (\topskip - \ht (first item), 0). If that height is large, % therefore, no glue is inserted, and the space between the headline and % the text is small, which looks bad. % % Another complication is that the group might be very large. This can % cause the glue on the previous page to be unduly stretched, because it % does not have much material. In this case, it's better to add an % explicit \vfill so that the extra space is at the bottom. The % threshold for doing this is if the group is more than \vfilllimit % percent of a page (\vfilllimit can be changed inside of @tex). % \newbox\groupbox \def\vfilllimit{0.7} % \envdef\group{% \ifnum\catcode`\^^M=\active \else \errhelp = \groupinvalidhelp \errmessage{@group invalid in context where filling is enabled}% \fi \startsavinginserts % \setbox\groupbox = \vtop\bgroup % Do @comment since we are called inside an environment such as % @example, where each end-of-line in the input causes an % end-of-line in the output. We don't want the end-of-line after % the `@group' to put extra space in the output. Since @group % should appear on a line by itself (according to the Texinfo % manual), we don't worry about eating any user text. \comment } % % The \vtop produces a box with normal height and large depth; thus, TeX puts % \baselineskip glue before it, and (when the next line of text is done) % \lineskip glue after it. Thus, space below is not quite equal to space % above. But it's pretty close. \def\Egroup{% % To get correct interline space between the last line of the group % and the first line afterwards, we have to propagate \prevdepth. \endgraf % Not \par, as it may have been set to \lisppar. \global\dimen1 = \prevdepth \egroup % End the \vtop. \addgroupbox \prevdepth = \dimen1 \checkinserts } \def\addgroupbox{ % \dimen0 is the vertical size of the group's box. \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox % \dimen2 is how much space is left on the page (more or less). \dimen2 = \txipageheight \advance\dimen2 by -\pagetotal % if the group doesn't fit on the current page, and it's a big big % group, force a page break. \ifdim \dimen0 > \dimen2 \ifdim \pagetotal < \vfilllimit\txipageheight \page \fi \fi \box\groupbox } % % TeX puts in an \escapechar (i.e., `@') at the beginning of the help % message, so this ends up printing `@group can only ...'. % \newhelp\groupinvalidhelp{% group can only be used in environments such as @example,^^J% where each line of input produces a line of output.} % @need space-in-mils % forces a page break if there is not space-in-mils remaining. \newdimen\mil \mil=0.001in \parseargdef\need{% % Ensure vertical mode, so we don't make a big box in the middle of a % paragraph. \par % % If the @need value is less than one line space, it's useless. \dimen0 = #1\mil \dimen2 = \ht\strutbox \advance\dimen2 by \dp\strutbox \ifdim\dimen0 > \dimen2 % % Do a \strut just to make the height of this box be normal, so the % normal leading is inserted relative to the preceding line. % And a page break here is fine. \vtop to #1\mil{\strut\vfil}% % % TeX does not even consider page breaks if a penalty added to the % main vertical list is 10000 or more. But in order to see if the % empty box we just added fits on the page, we must make it consider % page breaks. On the other hand, we don't want to actually break the % page after the empty box. So we use a penalty of 9999. % % There is an extremely small chance that TeX will actually break the % page at this \penalty, if there are no other feasible breakpoints in % sight. (If the user is using lots of big @group commands, which % almost-but-not-quite fill up a page, TeX will have a hard time doing % good page breaking, for example.) However, I could not construct an % example where a page broke at this \penalty; if it happens in a real % document, then we can reconsider our strategy. \penalty9999 % % Back up by the size of the box, whether we did a page break or not. \kern -#1\mil % % Do not allow a page break right after this kern. \nobreak \fi } % @br forces paragraph break (and is undocumented). \let\br = \par % @page forces the start of a new page. % \def\page{\par\vfill\supereject} % @exdent text.... % outputs text on separate line in roman font, starting at standard page margin % This records the amount of indent in the innermost environment. % That's how much \exdent should take out. \newskip\exdentamount % This defn is used inside fill environments such as @defun. \parseargdef\exdent{\hfil\break\hbox{\kern -\exdentamount{\rm#1}}\hfil\break} % This defn is used inside nofill environments such as @example. \parseargdef\nofillexdent{{\advance \leftskip by -\exdentamount \leftline{\hskip\leftskip{\rm#1}}}} % @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current % paragraph. For more general purposes, use the \margin insertion % class. WHICH is `l' or `r'. Not documented, written for gawk manual. % \newskip\inmarginspacing \inmarginspacing=1cm \def\strutdepth{\dp\strutbox} % \def\doinmargin#1#2{\strut\vadjust{% \nobreak \kern-\strutdepth \vtop to \strutdepth{% \baselineskip=\strutdepth \vss % if you have multiple lines of stuff to put here, you'll need to % make the vbox yourself of the appropriate size. \ifx#1l% \llap{\ignorespaces #2\hskip\inmarginspacing}% \else \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}% \fi \null }% }} \def\inleftmargin{\doinmargin l} \def\inrightmargin{\doinmargin r} % % @inmargin{TEXT [, RIGHT-TEXT]} % (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right; % else use TEXT for both). % \def\inmargin#1{\parseinmargin #1,,\finish} \def\parseinmargin#1,#2,#3\finish{% not perfect, but better than nothing. \setbox0 = \hbox{\ignorespaces #2}% \ifdim\wd0 > 0pt \def\lefttext{#1}% have both texts \def\righttext{#2}% \else \def\lefttext{#1}% have only one text \def\righttext{#1}% \fi % \ifodd\pageno \def\temp{\inrightmargin\righttext}% odd page -> outside is right margin \else \def\temp{\inleftmargin\lefttext}% \fi \temp } % @include FILE -- \input text of FILE. % \def\include{\parseargusing\filenamecatcodes\includezzz} \def\includezzz#1{% \pushthisfilestack \def\thisfile{#1}% {% \makevalueexpandable % we want to expand any @value in FILE. \turnoffactive % and allow special characters in the expansion \indexnofonts % Allow `@@' and other weird things in file names. \wlog{texinfo.tex: doing @include of #1^^J}% \edef\temp{\noexpand\input #1 }% % % This trickery is to read FILE outside of a group, in case it makes % definitions, etc. \expandafter }\temp \popthisfilestack } \def\filenamecatcodes{% \catcode`\\=\other \catcode`~=\other \catcode`^=\other \catcode`_=\other \catcode`|=\other \catcode`<=\other \catcode`>=\other \catcode`+=\other \catcode`-=\other \catcode`\`=\other \catcode`\'=\other } \def\pushthisfilestack{% \expandafter\pushthisfilestackX\popthisfilestack\StackTerm } \def\pushthisfilestackX{% \expandafter\pushthisfilestackY\thisfile\StackTerm } \def\pushthisfilestackY #1\StackTerm #2\StackTerm {% \gdef\popthisfilestack{\gdef\thisfile{#1}\gdef\popthisfilestack{#2}}% } \def\popthisfilestack{\errthisfilestackempty} \def\errthisfilestackempty{\errmessage{Internal error: the stack of filenames is empty.}} % \def\thisfile{} % @center line % outputs that line, centered. % \parseargdef\center{% \ifhmode \let\centersub\centerH \else \let\centersub\centerV \fi \centersub{\hfil \ignorespaces#1\unskip \hfil}% \let\centersub\relax % don't let the definition persist, just in case } \def\centerH#1{{% \hfil\break \advance\hsize by -\leftskip \advance\hsize by -\rightskip \line{#1}% \break }} % \newcount\centerpenalty \def\centerV#1{% % The idea here is the same as in \startdefun, \cartouche, etc.: if % @center is the first thing after a section heading, we need to wipe % out the negative parskip inserted by \sectionheading, but still % prevent a page break here. \centerpenalty = \lastpenalty \ifnum\centerpenalty>10000 \vskip\parskip \fi \ifnum\centerpenalty>9999 \penalty\centerpenalty \fi \line{\kern\leftskip #1\kern\rightskip}% } % @sp n outputs n lines of vertical space % \parseargdef\sp{\vskip #1\baselineskip} % @comment ...line which is ignored... % @c is the same as @comment % @ignore ... @end ignore is another way to write a comment \def\c{\begingroup \catcode`\^^M=\active% \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other% \cxxx} {\catcode`\^^M=\active \gdef\cxxx#1^^M{\endgroup}} % \let\comment\c % @paragraphindent NCHARS % We'll use ems for NCHARS, close enough. % NCHARS can also be the word `asis' or `none'. % We cannot feasibly implement @paragraphindent asis, though. % \def\asisword{asis} % no translation, these are keywords \def\noneword{none} % \parseargdef\paragraphindent{% \def\temp{#1}% \ifx\temp\asisword \else \ifx\temp\noneword \defaultparindent = 0pt \else \defaultparindent = #1em \fi \fi \parindent = \defaultparindent } % @exampleindent NCHARS % We'll use ems for NCHARS like @paragraphindent. % It seems @exampleindent asis isn't necessary, but % I preserve it to make it similar to @paragraphindent. \parseargdef\exampleindent{% \def\temp{#1}% \ifx\temp\asisword \else \ifx\temp\noneword \lispnarrowing = 0pt \else \lispnarrowing = #1em \fi \fi } % @firstparagraphindent WORD % If WORD is `none', then suppress indentation of the first paragraph % after a section heading. If WORD is `insert', then do indent at such % paragraphs. % % The paragraph indentation is suppressed or not by calling % \suppressfirstparagraphindent, which the sectioning commands do. % We switch the definition of this back and forth according to WORD. % By default, we suppress indentation. % \def\suppressfirstparagraphindent{\dosuppressfirstparagraphindent} \def\insertword{insert} % \parseargdef\firstparagraphindent{% \def\temp{#1}% \ifx\temp\noneword \let\suppressfirstparagraphindent = \dosuppressfirstparagraphindent \else\ifx\temp\insertword \let\suppressfirstparagraphindent = \relax \else \errhelp = \EMsimple \errmessage{Unknown @firstparagraphindent option `\temp'}% \fi\fi } % Here is how we actually suppress indentation. Redefine \everypar to % \kern backwards by \parindent, and then reset itself to empty. % % We also make \indent itself not actually do anything until the next % paragraph. % \gdef\dosuppressfirstparagraphindent{% \gdef\indent {\restorefirstparagraphindent \indent}% \gdef\noindent{\restorefirstparagraphindent \noindent}% \global\everypar = {\kern -\parindent \restorefirstparagraphindent}% } % \gdef\restorefirstparagraphindent{% \global\let\indent = \ptexindent \global\let\noindent = \ptexnoindent \global\everypar = {}% } % @refill is a no-op. \let\refill=\relax % @setfilename INFO-FILENAME - ignored \let\setfilename=\comment % @bye. \outer\def\bye{\pagealignmacro\tracingstats=1\ptexend} \message{pdf,} % adobe `portable' document format \newcount\tempnum \newcount\lnkcount \newtoks\filename \newcount\filenamelength \newcount\pgn \newtoks\toksA \newtoks\toksB \newtoks\toksC \newtoks\toksD \newbox\boxA \newbox\boxB \newcount\countA \newif\ifpdf \newif\ifpdfmakepagedest % % For LuaTeX % \newif\iftxiuseunicodedestname \txiuseunicodedestnamefalse % For pdfTeX etc. \ifx\luatexversion\thisisundefined \else % Use Unicode destination names \txiuseunicodedestnametrue % Escape PDF strings with converting UTF-16 from UTF-8 \begingroup \catcode`\%=12 \directlua{ function UTF16oct(str) tex.sprint(string.char(0x5c) .. '376' .. string.char(0x5c) .. '377') for c in string.utfvalues(str) do if c < 0x10000 then tex.sprint( string.format(string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o', (c / 256), (c % 256))) else c = c - 0x10000 local c_hi = c / 1024 + 0xd800 local c_lo = c % 1024 + 0xdc00 tex.sprint( string.format(string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o', (c_hi / 256), (c_hi % 256), (c_lo / 256), (c_lo % 256))) end end end } \endgroup \def\pdfescapestrutfsixteen#1{\directlua{UTF16oct('\luaescapestring{#1}')}} % Escape PDF strings without converting \begingroup \directlua{ function PDFescstr(str) for c in string.bytes(str) do if c <= 0x20 or c >= 0x80 or c == 0x28 or c == 0x29 or c == 0x5c then tex.sprint( string.format(string.char(0x5c) .. string.char(0x25) .. '03o', c)) else tex.sprint(string.char(c)) end end end } \endgroup \def\pdfescapestring#1{\directlua{PDFescstr('\luaescapestring{#1}')}} \ifnum\luatexversion>84 % For LuaTeX >= 0.85 \def\pdfdest{\pdfextension dest} \let\pdfoutput\outputmode \def\pdfliteral{\pdfextension literal} \def\pdfcatalog{\pdfextension catalog} \def\pdftexversion{\numexpr\pdffeedback version\relax} \let\pdfximage\saveimageresource \let\pdfrefximage\useimageresource \let\pdflastximage\lastsavedimageresourceindex \def\pdfendlink{\pdfextension endlink\relax} \def\pdfoutline{\pdfextension outline} \def\pdfstartlink{\pdfextension startlink} \def\pdffontattr{\pdfextension fontattr} \def\pdfobj{\pdfextension obj} \def\pdflastobj{\numexpr\pdffeedback lastobj\relax} \let\pdfpagewidth\pagewidth \let\pdfpageheight\pageheight \edef\pdfhorigin{\pdfvariable horigin} \edef\pdfvorigin{\pdfvariable vorigin} \fi \fi % when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1 % can be set). So we test for \relax and 0 as well as being undefined. \ifx\pdfoutput\thisisundefined \else \ifx\pdfoutput\relax \else \ifcase\pdfoutput \else \pdftrue \fi \fi \fi % PDF uses PostScript string constants for the names of xref targets, % for display in the outlines, and in other places. Thus, we have to % double any backslashes. Otherwise, a name like "\node" will be % interpreted as a newline (\n), followed by o, d, e. Not good. % % See http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html and % related messages. The final outcome is that it is up to the TeX user % to double the backslashes and otherwise make the string valid, so % that's what we do. pdftex 1.30.0 (ca.2005) introduced a primitive to % do this reliably, so we use it. % #1 is a control sequence in which to do the replacements, % which we \xdef. \def\txiescapepdf#1{% \ifx\pdfescapestring\thisisundefined % No primitive available; should we give a warning or log? % Many times it won't matter. \xdef#1{#1}% \else % The expandable \pdfescapestring primitive escapes parentheses, % backslashes, and other special chars. \xdef#1{\pdfescapestring{#1}}% \fi } \def\txiescapepdfutfsixteen#1{% \ifx\pdfescapestrutfsixteen\thisisundefined % No UTF-16 converting macro available. \txiescapepdf{#1}% \else \xdef#1{\pdfescapestrutfsixteen{#1}}% \fi } \newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images with PDF output, and none of those formats could be found. (.eps cannot be supported due to the design of the PDF format; use regular TeX (DVI output) for that.)} \ifpdf % % Color manipulation macros using ideas from pdfcolor.tex, % except using rgb instead of cmyk; the latter is said to render as a % very dark gray on-screen and a very dark halftone in print, instead % of actual black. The dark red here is dark enough to print on paper as % nearly black, but still distinguishable for online viewing. We use % black by default, though. \def\rgbDarkRed{0.50 0.09 0.12} \def\rgbBlack{0 0 0} % % rg sets the color for filling (usual text, etc.); % RG sets the color for stroking (thin rules, e.g., normal _'s). \def\pdfsetcolor#1{\pdfliteral{#1 rg #1 RG}} % % Set color, and create a mark which defines \thiscolor accordingly, % so that \makeheadline knows which color to restore. \def\setcolor#1{% \xdef\lastcolordefs{\gdef\noexpand\thiscolor{#1}}% \domark \pdfsetcolor{#1}% } % \def\maincolor{\rgbBlack} \pdfsetcolor{\maincolor} \edef\thiscolor{\maincolor} \def\lastcolordefs{} % \def\makefootline{% \baselineskip24pt \line{\pdfsetcolor{\maincolor}\the\footline}% } % \def\makeheadline{% \vbox to 0pt{% \vskip-22.5pt \line{% \vbox to8.5pt{}% % Extract \thiscolor definition from the marks. \getcolormarks % Typeset the headline with \maincolor, then restore the color. \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}% }% \vss }% \nointerlineskip } % % \pdfcatalog{/PageMode /UseOutlines} % % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto). \def\dopdfimage#1#2#3{% \def\pdfimagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}% \def\pdfimageheight{#3}\setbox2 = \hbox{\ignorespaces #3}% % % pdftex (and the PDF format) support .pdf, .png, .jpg (among % others). Let's try in that order, PDF first since if % someone has a scalable image, presumably better to use that than a % bitmap. \let\pdfimgext=\empty \begingroup \openin 1 #1.pdf \ifeof 1 \openin 1 #1.PDF \ifeof 1 \openin 1 #1.png \ifeof 1 \openin 1 #1.jpg \ifeof 1 \openin 1 #1.jpeg \ifeof 1 \openin 1 #1.JPG \ifeof 1 \errhelp = \nopdfimagehelp \errmessage{Could not find image file #1 for pdf}% \else \gdef\pdfimgext{JPG}% \fi \else \gdef\pdfimgext{jpeg}% \fi \else \gdef\pdfimgext{jpg}% \fi \else \gdef\pdfimgext{png}% \fi \else \gdef\pdfimgext{PDF}% \fi \else \gdef\pdfimgext{pdf}% \fi \closein 1 \endgroup % % without \immediate, ancient pdftex seg faults when the same image is % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) \ifnum\pdftexversion < 14 \immediate\pdfimage \else \immediate\pdfximage \fi \ifdim \wd0 >0pt width \pdfimagewidth \fi \ifdim \wd2 >0pt height \pdfimageheight \fi \ifnum\pdftexversion<13 #1.\pdfimgext \else {#1.\pdfimgext}% \fi \ifnum\pdftexversion < 14 \else \pdfrefximage \pdflastximage \fi} % \def\setpdfdestname#1{{% % We have to set dummies so commands such as @code, and characters % such as \, aren't expanded when present in a section title. \indexnofonts \makevalueexpandable \turnoffactive \iftxiuseunicodedestname \ifx \declaredencoding \latone % Pass through Latin-1 characters. % LuaTeX with byte wise I/O converts Latin-1 characters to Unicode. \else \ifx \declaredencoding \utfeight % Pass through Unicode characters. \else % Use ASCII approximations in destination names. \passthroughcharsfalse \fi \fi \else % Use ASCII approximations in destination names. \passthroughcharsfalse \fi \def\pdfdestname{#1}% \txiescapepdf\pdfdestname }} % \def\setpdfoutlinetext#1{{% \indexnofonts \makevalueexpandable \turnoffactive \ifx \declaredencoding \latone % The PDF format can use an extended form of Latin-1 in bookmark % strings. See Appendix D of the PDF Reference, Sixth Edition, for % the "PDFDocEncoding". \passthroughcharstrue % Pass through Latin-1 characters. % LuaTeX: Convert to Unicode % pdfTeX: Use Latin-1 as PDFDocEncoding \def\pdfoutlinetext{#1}% \else \ifx \declaredencoding \utfeight \ifx\luatexversion\thisisundefined % For pdfTeX with UTF-8. % TODO: the PDF format can use UTF-16 in bookmark strings, % but the code for this isn't done yet. % Use ASCII approximations. \passthroughcharsfalse \def\pdfoutlinetext{#1}% \else % For LuaTeX with UTF-8. % Pass through Unicode characters for title texts. \passthroughcharstrue \def\pdfoutlinetext{#1}% \fi \else % For non-Latin-1 or non-UTF-8 encodings. % Use ASCII approximations. \passthroughcharsfalse \def\pdfoutlinetext{#1}% \fi \fi % LuaTeX: Convert to UTF-16 % pdfTeX: Use Latin-1 as PDFDocEncoding \txiescapepdfutfsixteen\pdfoutlinetext }} % \def\pdfmkdest#1{% \setpdfdestname{#1}% \safewhatsit{\pdfdest name{\pdfdestname} xyz}% } % % used to mark target names; must be expandable. \def\pdfmkpgn#1{#1} % % by default, use black for everything. \def\urlcolor{\rgbBlack} \def\linkcolor{\rgbBlack} \def\endlink{\setcolor{\maincolor}\pdfendlink} % % Adding outlines to PDF; macros for calculating structure of outlines % come from Petr Olsak \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0% \else \csname#1\endcsname \fi} \def\advancenumber#1{\tempnum=\expnumber{#1}\relax \advance\tempnum by 1 \expandafter\xdef\csname#1\endcsname{\the\tempnum}} % % #1 is the section text, which is what will be displayed in the % outline by the pdf viewer. #2 is the pdf expression for the number % of subentries (or empty, for subsubsections). #3 is the node text, % which might be empty if this toc entry had no corresponding node. % #4 is the page number % \def\dopdfoutline#1#2#3#4{% % Generate a link to the node text if that exists; else, use the % page number. We could generate a destination for the section % text in the case where a section has no node, but it doesn't % seem worth the trouble, since most documents are normally structured. \setpdfoutlinetext{#1} \setpdfdestname{#3} \ifx\pdfdestname\empty \def\pdfdestname{#4}% \fi % \pdfoutline goto name{\pdfmkpgn{\pdfdestname}}#2{\pdfoutlinetext}% } % \def\pdfmakeoutlines{% \begingroup % Read toc silently, to get counts of subentries for \pdfoutline. \def\partentry##1##2##3##4{}% ignore parts in the outlines \def\numchapentry##1##2##3##4{% \def\thischapnum{##2}% \def\thissecnum{0}% \def\thissubsecnum{0}% }% \def\numsecentry##1##2##3##4{% \advancenumber{chap\thischapnum}% \def\thissecnum{##2}% \def\thissubsecnum{0}% }% \def\numsubsecentry##1##2##3##4{% \advancenumber{sec\thissecnum}% \def\thissubsecnum{##2}% }% \def\numsubsubsecentry##1##2##3##4{% \advancenumber{subsec\thissubsecnum}% }% \def\thischapnum{0}% \def\thissecnum{0}% \def\thissubsecnum{0}% % % use \def rather than \let here because we redefine \chapentry et % al. a second time, below. \def\appentry{\numchapentry}% \def\appsecentry{\numsecentry}% \def\appsubsecentry{\numsubsecentry}% \def\appsubsubsecentry{\numsubsubsecentry}% \def\unnchapentry{\numchapentry}% \def\unnsecentry{\numsecentry}% \def\unnsubsecentry{\numsubsecentry}% \def\unnsubsubsecentry{\numsubsubsecentry}% \readdatafile{toc}% % % Read toc second time, this time actually producing the outlines. % The `-' means take the \expnumber as the absolute number of % subentries, which we calculated on our first read of the .toc above. % % We use the node names as the destinations. \def\numchapentry##1##2##3##4{% \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% \def\numsecentry##1##2##3##4{% \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}% \def\numsubsecentry##1##2##3##4{% \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}% \def\numsubsubsecentry##1##2##3##4{% count is always zero \dopdfoutline{##1}{}{##3}{##4}}% % % PDF outlines are displayed using system fonts, instead of % document fonts. Therefore we cannot use special characters, % since the encoding is unknown. For example, the eogonek from % Latin 2 (0xea) gets translated to a | character. Info from % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100. % % TODO this right, we have to translate 8-bit characters to % their "best" equivalent, based on the @documentencoding. Too % much work for too little return. Just use the ASCII equivalents % we use for the index sort strings. % \indexnofonts \setupdatafile % We can have normal brace characters in the PDF outlines, unlike % Texinfo index files. So set that up. \def\{{\lbracecharliteral}% \def\}{\rbracecharliteral}% \catcode`\\=\active \otherbackslash \input \tocreadfilename \endgroup } {\catcode`[=1 \catcode`]=2 \catcode`{=\other \catcode`}=\other \gdef\lbracecharliteral[{]% \gdef\rbracecharliteral[}]% ] % \def\skipspaces#1{\def\PP{#1}\def\D{|}% \ifx\PP\D\let\nextsp\relax \else\let\nextsp\skipspaces \addtokens{\filename}{\PP}% \advance\filenamelength by 1 \fi \nextsp} \def\getfilename#1{% \filenamelength=0 % If we don't expand the argument now, \skipspaces will get % snagged on things like "@value{foo}". \edef\temp{#1}% \expandafter\skipspaces\temp|\relax } \ifnum\pdftexversion < 14 \let \startlink \pdfannotlink \else \let \startlink \pdfstartlink \fi % make a live url in pdf output. \def\pdfurl#1{% \begingroup % it seems we really need yet another set of dummies; have not % tried to figure out what each command should do in the context % of @url. for now, just make @/ a no-op, that's the only one % people have actually reported a problem with. % \normalturnoffactive \def\@{@}% \let\/=\empty \makevalueexpandable % do we want to go so far as to use \indexnofonts instead of just % special-casing \var here? \def\var##1{##1}% % \leavevmode\setcolor{\urlcolor}% \startlink attr{/Border [0 0 0]}% user{/Subtype /Link /A << /S /URI /URI (#1) >>}% \endgroup} \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}} \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}} \def\maketoks{% \expandafter\poptoks\the\toksA|ENDTOKS|\relax \ifx\first0\adn0 \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3 \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6 \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 \else \ifnum0=\countA\else\makelink\fi \ifx\first.\let\next=\done\else \let\next=\maketoks \addtokens{\toksB}{\the\toksD} \ifx\first,\addtokens{\toksB}{\space}\fi \fi \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \next} \def\makelink{\addtokens{\toksB}% {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0} \def\pdflink#1{% \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}} \setcolor{\linkcolor}#1\endlink} \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} \else % non-pdf mode \let\pdfmkdest = \gobble \let\pdfurl = \gobble \let\endlink = \relax \let\setcolor = \gobble \let\pdfsetcolor = \gobble \let\pdfmakeoutlines = \relax \fi % \ifx\pdfoutput % % For XeTeX % \ifx\XeTeXrevision\thisisundefined \else % % XeTeX version check % \ifnum\strcmp{\the\XeTeXversion\XeTeXrevision}{0.99996}>-1 % TeX Live 2016 contains XeTeX 0.99996 and xdvipdfmx 20160307. % It can use the `dvipdfmx:config' special (from TeX Live SVN r40941). % For avoiding PDF destination name replacement, we use this special % instead of xdvipdfmx's command line option `-C 0x0010'. \special{dvipdfmx:config C 0x0010} % XeTeX 0.99995+ comes with xdvipdfmx 20160307+. % It can handle Unicode destination names for PDF. \txiuseunicodedestnametrue \else % XeTeX < 0.99996 (TeX Live < 2016) cannot use the % `dvipdfmx:config' special. % So for avoiding PDF destination name replacement, % xdvipdfmx's command line option `-C 0x0010' is necessary. % % XeTeX < 0.99995 can not handle Unicode destination names for PDF % because xdvipdfmx 20150315 has a UTF-16 conversion issue. % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753). \txiuseunicodedestnamefalse \fi % % Color support % \def\rgbDarkRed{0.50 0.09 0.12} \def\rgbBlack{0 0 0} % \def\pdfsetcolor#1{\special{pdf:scolor [#1]}} % % Set color, and create a mark which defines \thiscolor accordingly, % so that \makeheadline knows which color to restore. \def\setcolor#1{% \xdef\lastcolordefs{\gdef\noexpand\thiscolor{#1}}% \domark \pdfsetcolor{#1}% } % \def\maincolor{\rgbBlack} \pdfsetcolor{\maincolor} \edef\thiscolor{\maincolor} \def\lastcolordefs{} % \def\makefootline{% \baselineskip24pt \line{\pdfsetcolor{\maincolor}\the\footline}% } % \def\makeheadline{% \vbox to 0pt{% \vskip-22.5pt \line{% \vbox to8.5pt{}% % Extract \thiscolor definition from the marks. \getcolormarks % Typeset the headline with \maincolor, then restore the color. \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}% }% \vss }% \nointerlineskip } % % PDF outline support % % Emulate pdfTeX primitive \def\pdfdest name#1 xyz{% \special{pdf:dest (#1) [@thispage /XYZ @xpos @ypos null]}% } % \def\setpdfdestname#1{{% % We have to set dummies so commands such as @code, and characters % such as \, aren't expanded when present in a section title. \indexnofonts \makevalueexpandable \turnoffactive \iftxiuseunicodedestname % Pass through Unicode characters. \else % Use ASCII approximations in destination names. \passthroughcharsfalse \fi \def\pdfdestname{#1}% \txiescapepdf\pdfdestname }} % \def\setpdfoutlinetext#1{{% \turnoffactive % Always use Unicode characters in title texts. \def\pdfoutlinetext{#1}% % For XeTeX, xdvipdfmx converts to UTF-16. % So we do not convert. \txiescapepdf\pdfoutlinetext }} % \def\pdfmkdest#1{% \setpdfdestname{#1}% \safewhatsit{\pdfdest name{\pdfdestname} xyz}% } % % by default, use black for everything. \def\urlcolor{\rgbBlack} \def\linkcolor{\rgbBlack} \def\endlink{\setcolor{\maincolor}\pdfendlink} % \def\dopdfoutline#1#2#3#4{% \setpdfoutlinetext{#1} \setpdfdestname{#3} \ifx\pdfdestname\empty \def\pdfdestname{#4}% \fi % \special{pdf:out [-] #2 << /Title (\pdfoutlinetext) /A << /S /GoTo /D (\pdfdestname) >> >> }% } % \def\pdfmakeoutlines{% \begingroup % % For XeTeX, counts of subentries are not necessary. % Therefore, we read toc only once. % % We use node names as destinations. \def\partentry##1##2##3##4{}% ignore parts in the outlines \def\numchapentry##1##2##3##4{% \dopdfoutline{##1}{1}{##3}{##4}}% \def\numsecentry##1##2##3##4{% \dopdfoutline{##1}{2}{##3}{##4}}% \def\numsubsecentry##1##2##3##4{% \dopdfoutline{##1}{3}{##3}{##4}}% \def\numsubsubsecentry##1##2##3##4{% \dopdfoutline{##1}{4}{##3}{##4}}% % \let\appentry\numchapentry% \let\appsecentry\numsecentry% \let\appsubsecentry\numsubsecentry% \let\appsubsubsecentry\numsubsubsecentry% \let\unnchapentry\numchapentry% \let\unnsecentry\numsecentry% \let\unnsubsecentry\numsubsecentry% \let\unnsubsubsecentry\numsubsubsecentry% % % For XeTeX, xdvipdfmx converts strings to UTF-16. % Therefore, the encoding and the language may not be considered. % \indexnofonts \setupdatafile % We can have normal brace characters in the PDF outlines, unlike % Texinfo index files. So set that up. \def\{{\lbracecharliteral}% \def\}{\rbracecharliteral}% \catcode`\\=\active \otherbackslash \input \tocreadfilename \endgroup } {\catcode`[=1 \catcode`]=2 \catcode`{=\other \catcode`}=\other \gdef\lbracecharliteral[{]% \gdef\rbracecharliteral[}]% ] \special{pdf:docview << /PageMode /UseOutlines >> } % ``\special{pdf:tounicode ...}'' is not necessary % because xdvipdfmx converts strings from UTF-8 to UTF-16 without it. % However, due to a UTF-16 conversion issue of xdvipdfmx 20150315, % ``\special{pdf:dest ...}'' cannot handle non-ASCII strings. % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753). % \def\skipspaces#1{\def\PP{#1}\def\D{|}% \ifx\PP\D\let\nextsp\relax \else\let\nextsp\skipspaces \addtokens{\filename}{\PP}% \advance\filenamelength by 1 \fi \nextsp} \def\getfilename#1{% \filenamelength=0 % If we don't expand the argument now, \skipspaces will get % snagged on things like "@value{foo}". \edef\temp{#1}% \expandafter\skipspaces\temp|\relax } % make a live url in pdf output. \def\pdfurl#1{% \begingroup % it seems we really need yet another set of dummies; have not % tried to figure out what each command should do in the context % of @url. for now, just make @/ a no-op, that's the only one % people have actually reported a problem with. % \normalturnoffactive \def\@{@}% \let\/=\empty \makevalueexpandable % do we want to go so far as to use \indexnofonts instead of just % special-casing \var here? \def\var##1{##1}% % \leavevmode\setcolor{\urlcolor}% \special{pdf:bann << /Border [0 0 0] /Subtype /Link /A << /S /URI /URI (#1) >> >>}% \endgroup} \def\endlink{\setcolor{\maincolor}\special{pdf:eann}} \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}} \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}} \def\maketoks{% \expandafter\poptoks\the\toksA|ENDTOKS|\relax \ifx\first0\adn0 \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3 \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6 \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 \else \ifnum0=\countA\else\makelink\fi \ifx\first.\let\next=\done\else \let\next=\maketoks \addtokens{\toksB}{\the\toksD} \ifx\first,\addtokens{\toksB}{\space}\fi \fi \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \next} \def\makelink{\addtokens{\toksB}% {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0} \def\pdflink#1{% \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A << /S /GoTo /D (#1) >> >>}% \setcolor{\linkcolor}#1\endlink} \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} % % % @image support % % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto). \def\doxeteximage#1#2#3{% \def\xeteximagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}% \def\xeteximageheight{#3}\setbox2 = \hbox{\ignorespaces #3}% % % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among % others). Let's try in that order, PDF first since if % someone has a scalable image, presumably better to use that than a % bitmap. \let\xeteximgext=\empty \begingroup \openin 1 #1.pdf \ifeof 1 \openin 1 #1.PDF \ifeof 1 \openin 1 #1.png \ifeof 1 \openin 1 #1.jpg \ifeof 1 \openin 1 #1.jpeg \ifeof 1 \openin 1 #1.JPG \ifeof 1 \errmessage{Could not find image file #1 for XeTeX}% \else \gdef\xeteximgext{JPG}% \fi \else \gdef\xeteximgext{jpeg}% \fi \else \gdef\xeteximgext{jpg}% \fi \else \gdef\xeteximgext{png}% \fi \else \gdef\xeteximgext{PDF}% \fi \else \gdef\xeteximgext{pdf}% \fi \closein 1 \endgroup % \def\xetexpdfext{pdf}% \ifx\xeteximgext\xetexpdfext \XeTeXpdffile "#1".\xeteximgext "" \else \def\xetexpdfext{PDF}% \ifx\xeteximgext\xetexpdfext \XeTeXpdffile "#1".\xeteximgext "" \else \XeTeXpicfile "#1".\xeteximgext "" \fi \fi \ifdim \wd0 >0pt width \xeteximagewidth \fi \ifdim \wd2 >0pt height \xeteximageheight \fi \relax } \fi % \message{fonts,} % Set the baselineskip to #1, and the lineskip and strut size % correspondingly. There is no deep meaning behind these magic numbers % used as factors; they just match (closely enough) what Knuth defined. % \def\lineskipfactor{.08333} \def\strutheightpercent{.70833} \def\strutdepthpercent {.29167} % % can get a sort of poor man's double spacing by redefining this. \def\baselinefactor{1} % \newdimen\textleading \def\setleading#1{% \dimen0 = #1\relax \normalbaselineskip = \baselinefactor\dimen0 \normallineskip = \lineskipfactor\normalbaselineskip \normalbaselines \setbox\strutbox =\hbox{% \vrule width0pt height\strutheightpercent\baselineskip depth \strutdepthpercent \baselineskip }% } % PDF CMaps. See also LaTeX's t1.cmap. % % do nothing with this by default. \expandafter\let\csname cmapOT1\endcsname\gobble \expandafter\let\csname cmapOT1IT\endcsname\gobble \expandafter\let\csname cmapOT1TT\endcsname\gobble % if we are producing pdf, and we have \pdffontattr, then define cmaps. % (\pdffontattr was introduced many years ago, but people still run % older pdftex's; it's easy to conditionalize, so we do.) \ifpdf \ifx\pdffontattr\thisisundefined \else \begingroup \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap %%DocumentNeededResources: ProcSet (CIDInit) %%IncludeResource: ProcSet (CIDInit) %%BeginResource: CMap (TeX-OT1-0) %%Title: (TeX-OT1-0 TeX OT1 0) %%Version: 1.000 %%EndComments /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (TeX) /Ordering (OT1) /Supplement 0 >> def /CMapName /TeX-OT1-0 def /CMapType 2 def 1 begincodespacerange <00> <7F> endcodespacerange 8 beginbfrange <00> <01> <0393> <09> <0A> <03A8> <23> <26> <0023> <28> <3B> <0028> <3F> <5B> <003F> <5D> <5E> <005D> <61> <7A> <0061> <7B> <7C> <2013> endbfrange 40 beginbfchar <02> <0398> <03> <039B> <04> <039E> <05> <03A0> <06> <03A3> <07> <03D2> <08> <03A6> <0B> <00660066> <0C> <00660069> <0D> <0066006C> <0E> <006600660069> <0F> <00660066006C> <10> <0131> <11> <0237> <12> <0060> <13> <00B4> <14> <02C7> <15> <02D8> <16> <00AF> <17> <02DA> <18> <00B8> <19> <00DF> <1A> <00E6> <1B> <0153> <1C> <00F8> <1D> <00C6> <1E> <0152> <1F> <00D8> <21> <0021> <22> <201D> <27> <2019> <3C> <00A1> <3D> <003D> <3E> <00BF> <5C> <201C> <5F> <02D9> <60> <2018> <7D> <02DD> <7E> <007E> <7F> <00A8> endbfchar endcmap CMapName currentdict /CMap defineresource pop end end %%EndResource %%EOF }\endgroup \expandafter\edef\csname cmapOT1\endcsname#1{% \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% }% % % \cmapOT1IT \begingroup \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap %%DocumentNeededResources: ProcSet (CIDInit) %%IncludeResource: ProcSet (CIDInit) %%BeginResource: CMap (TeX-OT1IT-0) %%Title: (TeX-OT1IT-0 TeX OT1IT 0) %%Version: 1.000 %%EndComments /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (TeX) /Ordering (OT1IT) /Supplement 0 >> def /CMapName /TeX-OT1IT-0 def /CMapType 2 def 1 begincodespacerange <00> <7F> endcodespacerange 8 beginbfrange <00> <01> <0393> <09> <0A> <03A8> <25> <26> <0025> <28> <3B> <0028> <3F> <5B> <003F> <5D> <5E> <005D> <61> <7A> <0061> <7B> <7C> <2013> endbfrange 42 beginbfchar <02> <0398> <03> <039B> <04> <039E> <05> <03A0> <06> <03A3> <07> <03D2> <08> <03A6> <0B> <00660066> <0C> <00660069> <0D> <0066006C> <0E> <006600660069> <0F> <00660066006C> <10> <0131> <11> <0237> <12> <0060> <13> <00B4> <14> <02C7> <15> <02D8> <16> <00AF> <17> <02DA> <18> <00B8> <19> <00DF> <1A> <00E6> <1B> <0153> <1C> <00F8> <1D> <00C6> <1E> <0152> <1F> <00D8> <21> <0021> <22> <201D> <23> <0023> <24> <00A3> <27> <2019> <3C> <00A1> <3D> <003D> <3E> <00BF> <5C> <201C> <5F> <02D9> <60> <2018> <7D> <02DD> <7E> <007E> <7F> <00A8> endbfchar endcmap CMapName currentdict /CMap defineresource pop end end %%EndResource %%EOF }\endgroup \expandafter\edef\csname cmapOT1IT\endcsname#1{% \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% }% % % \cmapOT1TT \begingroup \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap %%DocumentNeededResources: ProcSet (CIDInit) %%IncludeResource: ProcSet (CIDInit) %%BeginResource: CMap (TeX-OT1TT-0) %%Title: (TeX-OT1TT-0 TeX OT1TT 0) %%Version: 1.000 %%EndComments /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (TeX) /Ordering (OT1TT) /Supplement 0 >> def /CMapName /TeX-OT1TT-0 def /CMapType 2 def 1 begincodespacerange <00> <7F> endcodespacerange 5 beginbfrange <00> <01> <0393> <09> <0A> <03A8> <21> <26> <0021> <28> <5F> <0028> <61> <7E> <0061> endbfrange 32 beginbfchar <02> <0398> <03> <039B> <04> <039E> <05> <03A0> <06> <03A3> <07> <03D2> <08> <03A6> <0B> <2191> <0C> <2193> <0D> <0027> <0E> <00A1> <0F> <00BF> <10> <0131> <11> <0237> <12> <0060> <13> <00B4> <14> <02C7> <15> <02D8> <16> <00AF> <17> <02DA> <18> <00B8> <19> <00DF> <1A> <00E6> <1B> <0153> <1C> <00F8> <1D> <00C6> <1E> <0152> <1F> <00D8> <20> <2423> <27> <2019> <60> <2018> <7F> <00A8> endbfchar endcmap CMapName currentdict /CMap defineresource pop end end %%EndResource %%EOF }\endgroup \expandafter\edef\csname cmapOT1TT\endcsname#1{% \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% }% \fi\fi % Set the font macro #1 to the font named \fontprefix#2. % #3 is the font's design size, #4 is a scale factor, #5 is the CMap % encoding (only OT1, OT1IT and OT1TT are allowed, or empty to omit). % Example: % #1 = \textrm % #2 = \rmshape % #3 = 10 % #4 = \mainmagstep % #5 = OT1 % \def\setfont#1#2#3#4#5{% \font#1=\fontprefix#2#3 scaled #4 \csname cmap#5\endcsname#1% } % This is what gets called when #5 of \setfont is empty. \let\cmap\gobble % % (end of cmaps) % Use cm as the default font prefix. % To specify the font prefix, you must define \fontprefix % before you read in texinfo.tex. \ifx\fontprefix\thisisundefined \def\fontprefix{cm} \fi % Support font families that don't use the same naming scheme as CM. \def\rmshape{r} \def\rmbshape{bx} % where the normal face is bold \def\bfshape{b} \def\bxshape{bx} \def\ttshape{tt} \def\ttbshape{tt} \def\ttslshape{sltt} \def\itshape{ti} \def\itbshape{bxti} \def\slshape{sl} \def\slbshape{bxsl} \def\sfshape{ss} \def\sfbshape{ss} \def\scshape{csc} \def\scbshape{csc} % Definitions for a main text size of 11pt. (The default in Texinfo.) % \def\definetextfontsizexi{% % Text fonts (11.2pt, magstep1). \def\textnominalsize{11pt} \edef\mainmagstep{\magstephalf} \setfont\textrm\rmshape{10}{\mainmagstep}{OT1} \setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} \setfont\textbf\bfshape{10}{\mainmagstep}{OT1} \setfont\textit\itshape{10}{\mainmagstep}{OT1IT} \setfont\textsl\slshape{10}{\mainmagstep}{OT1} \setfont\textsf\sfshape{10}{\mainmagstep}{OT1} \setfont\textsc\scshape{10}{\mainmagstep}{OT1} \setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} \font\texti=cmmi10 scaled \mainmagstep \font\textsy=cmsy10 scaled \mainmagstep \def\textecsize{1095} % A few fonts for @defun names and args. \setfont\defbf\bfshape{10}{\magstep1}{OT1} \setfont\deftt\ttshape{10}{\magstep1}{OT1TT} \setfont\defsl\slshape{10}{\magstep1}{OT1TT} \setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT} \def\df{\let\ttfont=\deftt \let\bffont = \defbf \let\ttslfont=\defttsl \let\slfont=\defsl \bf} % Fonts for indices, footnotes, small examples (9pt). \def\smallnominalsize{9pt} \setfont\smallrm\rmshape{9}{1000}{OT1} \setfont\smalltt\ttshape{9}{1000}{OT1TT} \setfont\smallbf\bfshape{10}{900}{OT1} \setfont\smallit\itshape{9}{1000}{OT1IT} \setfont\smallsl\slshape{9}{1000}{OT1} \setfont\smallsf\sfshape{9}{1000}{OT1} \setfont\smallsc\scshape{10}{900}{OT1} \setfont\smallttsl\ttslshape{10}{900}{OT1TT} \font\smalli=cmmi9 \font\smallsy=cmsy9 \def\smallecsize{0900} % Fonts for small examples (8pt). \def\smallernominalsize{8pt} \setfont\smallerrm\rmshape{8}{1000}{OT1} \setfont\smallertt\ttshape{8}{1000}{OT1TT} \setfont\smallerbf\bfshape{10}{800}{OT1} \setfont\smallerit\itshape{8}{1000}{OT1IT} \setfont\smallersl\slshape{8}{1000}{OT1} \setfont\smallersf\sfshape{8}{1000}{OT1} \setfont\smallersc\scshape{10}{800}{OT1} \setfont\smallerttsl\ttslshape{10}{800}{OT1TT} \font\smalleri=cmmi8 \font\smallersy=cmsy8 \def\smallerecsize{0800} % Fonts for math mode superscripts (7pt). \def\sevennominalsize{7pt} \setfont\sevenrm\rmshape{7}{1000}{OT1} \setfont\seventt\ttshape{10}{700}{OT1TT} \setfont\sevenbf\bfshape{10}{700}{OT1} \setfont\sevenit\itshape{7}{1000}{OT1IT} \setfont\sevensl\slshape{10}{700}{OT1} \setfont\sevensf\sfshape{10}{700}{OT1} \setfont\sevensc\scshape{10}{700}{OT1} \setfont\seventtsl\ttslshape{10}{700}{OT1TT} \font\seveni=cmmi7 \font\sevensy=cmsy7 \def\sevenecsize{0700} % Fonts for title page (20.4pt): \def\titlenominalsize{20pt} \setfont\titlerm\rmbshape{12}{\magstep3}{OT1} \setfont\titleit\itbshape{10}{\magstep4}{OT1IT} \setfont\titlesl\slbshape{10}{\magstep4}{OT1} \setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} \setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} \setfont\titlesf\sfbshape{17}{\magstep1}{OT1} \let\titlebf=\titlerm \setfont\titlesc\scbshape{10}{\magstep4}{OT1} \font\titlei=cmmi12 scaled \magstep3 \font\titlesy=cmsy10 scaled \magstep4 \def\titleecsize{2074} % Chapter (and unnumbered) fonts (17.28pt). \def\chapnominalsize{17pt} \setfont\chaprm\rmbshape{12}{\magstep2}{OT1} \setfont\chapit\itbshape{10}{\magstep3}{OT1IT} \setfont\chapsl\slbshape{10}{\magstep3}{OT1} \setfont\chaptt\ttbshape{12}{\magstep2}{OT1TT} \setfont\chapttsl\ttslshape{10}{\magstep3}{OT1TT} \setfont\chapsf\sfbshape{17}{1000}{OT1} \let\chapbf=\chaprm \setfont\chapsc\scbshape{10}{\magstep3}{OT1} \font\chapi=cmmi12 scaled \magstep2 \font\chapsy=cmsy10 scaled \magstep3 \def\chapecsize{1728} % Section fonts (14.4pt). \def\secnominalsize{14pt} \setfont\secrm\rmbshape{12}{\magstep1}{OT1} \setfont\secrmnotbold\rmshape{12}{\magstep1}{OT1} \setfont\secit\itbshape{10}{\magstep2}{OT1IT} \setfont\secsl\slbshape{10}{\magstep2}{OT1} \setfont\sectt\ttbshape{12}{\magstep1}{OT1TT} \setfont\secttsl\ttslshape{10}{\magstep2}{OT1TT} \setfont\secsf\sfbshape{12}{\magstep1}{OT1} \let\secbf\secrm \setfont\secsc\scbshape{10}{\magstep2}{OT1} \font\seci=cmmi12 scaled \magstep1 \font\secsy=cmsy10 scaled \magstep2 \def\sececsize{1440} % Subsection fonts (13.15pt). \def\ssecnominalsize{13pt} \setfont\ssecrm\rmbshape{12}{\magstephalf}{OT1} \setfont\ssecit\itbshape{10}{1315}{OT1IT} \setfont\ssecsl\slbshape{10}{1315}{OT1} \setfont\ssectt\ttbshape{12}{\magstephalf}{OT1TT} \setfont\ssecttsl\ttslshape{10}{1315}{OT1TT} \setfont\ssecsf\sfbshape{12}{\magstephalf}{OT1} \let\ssecbf\ssecrm \setfont\ssecsc\scbshape{10}{1315}{OT1} \font\sseci=cmmi12 scaled \magstephalf \font\ssecsy=cmsy10 scaled 1315 \def\ssececsize{1200} % Reduced fonts for @acronym in text (10pt). \def\reducednominalsize{10pt} \setfont\reducedrm\rmshape{10}{1000}{OT1} \setfont\reducedtt\ttshape{10}{1000}{OT1TT} \setfont\reducedbf\bfshape{10}{1000}{OT1} \setfont\reducedit\itshape{10}{1000}{OT1IT} \setfont\reducedsl\slshape{10}{1000}{OT1} \setfont\reducedsf\sfshape{10}{1000}{OT1} \setfont\reducedsc\scshape{10}{1000}{OT1} \setfont\reducedttsl\ttslshape{10}{1000}{OT1TT} \font\reducedi=cmmi10 \font\reducedsy=cmsy10 \def\reducedecsize{1000} \textleading = 13.2pt % line spacing for 11pt CM \textfonts % reset the current fonts \rm } % end of 11pt text font size definitions, \definetextfontsizexi % Definitions to make the main text be 10pt Computer Modern, with % section, chapter, etc., sizes following suit. This is for the GNU % Press printing of the Emacs 22 manual. Maybe other manuals in the % future. Used with @smallbook, which sets the leading to 12pt. % \def\definetextfontsizex{% % Text fonts (10pt). \def\textnominalsize{10pt} \edef\mainmagstep{1000} \setfont\textrm\rmshape{10}{\mainmagstep}{OT1} \setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} \setfont\textbf\bfshape{10}{\mainmagstep}{OT1} \setfont\textit\itshape{10}{\mainmagstep}{OT1IT} \setfont\textsl\slshape{10}{\mainmagstep}{OT1} \setfont\textsf\sfshape{10}{\mainmagstep}{OT1} \setfont\textsc\scshape{10}{\mainmagstep}{OT1} \setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} \font\texti=cmmi10 scaled \mainmagstep \font\textsy=cmsy10 scaled \mainmagstep \def\textecsize{1000} % A few fonts for @defun names and args. \setfont\defbf\bfshape{10}{\magstephalf}{OT1} \setfont\deftt\ttshape{10}{\magstephalf}{OT1TT} \setfont\defsl\slshape{10}{\magstephalf}{OT1TT} \setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT} \def\df{\let\ttfont=\deftt \let\bffont = \defbf \let\slfont=\defsl \let\ttslfont=\defttsl \bf} % Fonts for indices, footnotes, small examples (9pt). \def\smallnominalsize{9pt} \setfont\smallrm\rmshape{9}{1000}{OT1} \setfont\smalltt\ttshape{9}{1000}{OT1TT} \setfont\smallbf\bfshape{10}{900}{OT1} \setfont\smallit\itshape{9}{1000}{OT1IT} \setfont\smallsl\slshape{9}{1000}{OT1} \setfont\smallsf\sfshape{9}{1000}{OT1} \setfont\smallsc\scshape{10}{900}{OT1} \setfont\smallttsl\ttslshape{10}{900}{OT1TT} \font\smalli=cmmi9 \font\smallsy=cmsy9 \def\smallecsize{0900} % Fonts for small examples (8pt). \def\smallernominalsize{8pt} \setfont\smallerrm\rmshape{8}{1000}{OT1} \setfont\smallertt\ttshape{8}{1000}{OT1TT} \setfont\smallerbf\bfshape{10}{800}{OT1} \setfont\smallerit\itshape{8}{1000}{OT1IT} \setfont\smallersl\slshape{8}{1000}{OT1} \setfont\smallersf\sfshape{8}{1000}{OT1} \setfont\smallersc\scshape{10}{800}{OT1} \setfont\smallerttsl\ttslshape{10}{800}{OT1TT} \font\smalleri=cmmi8 \font\smallersy=cmsy8 \def\smallerecsize{0800} % Fonts for math mode superscripts (7pt). \def\sevennominalsize{7pt} \setfont\sevenrm\rmshape{7}{1000}{OT1} \setfont\seventt\ttshape{10}{700}{OT1TT} \setfont\sevenbf\bfshape{10}{700}{OT1} \setfont\sevenit\itshape{7}{1000}{OT1IT} \setfont\sevensl\slshape{10}{700}{OT1} \setfont\sevensf\sfshape{10}{700}{OT1} \setfont\sevensc\scshape{10}{700}{OT1} \setfont\seventtsl\ttslshape{10}{700}{OT1TT} \font\seveni=cmmi7 \font\sevensy=cmsy7 \def\sevenecsize{0700} % Fonts for title page (20.4pt): \def\titlenominalsize{20pt} \setfont\titlerm\rmbshape{12}{\magstep3}{OT1} \setfont\titleit\itbshape{10}{\magstep4}{OT1IT} \setfont\titlesl\slbshape{10}{\magstep4}{OT1} \setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} \setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} \setfont\titlesf\sfbshape{17}{\magstep1}{OT1} \let\titlebf=\titlerm \setfont\titlesc\scbshape{10}{\magstep4}{OT1} \font\titlei=cmmi12 scaled \magstep3 \font\titlesy=cmsy10 scaled \magstep4 \def\titleecsize{2074} % Chapter fonts (14.4pt). \def\chapnominalsize{14pt} \setfont\chaprm\rmbshape{12}{\magstep1}{OT1} \setfont\chapit\itbshape{10}{\magstep2}{OT1IT} \setfont\chapsl\slbshape{10}{\magstep2}{OT1} \setfont\chaptt\ttbshape{12}{\magstep1}{OT1TT} \setfont\chapttsl\ttslshape{10}{\magstep2}{OT1TT} \setfont\chapsf\sfbshape{12}{\magstep1}{OT1} \let\chapbf\chaprm \setfont\chapsc\scbshape{10}{\magstep2}{OT1} \font\chapi=cmmi12 scaled \magstep1 \font\chapsy=cmsy10 scaled \magstep2 \def\chapecsize{1440} % Section fonts (12pt). \def\secnominalsize{12pt} \setfont\secrm\rmbshape{12}{1000}{OT1} \setfont\secit\itbshape{10}{\magstep1}{OT1IT} \setfont\secsl\slbshape{10}{\magstep1}{OT1} \setfont\sectt\ttbshape{12}{1000}{OT1TT} \setfont\secttsl\ttslshape{10}{\magstep1}{OT1TT} \setfont\secsf\sfbshape{12}{1000}{OT1} \let\secbf\secrm \setfont\secsc\scbshape{10}{\magstep1}{OT1} \font\seci=cmmi12 \font\secsy=cmsy10 scaled \magstep1 \def\sececsize{1200} % Subsection fonts (10pt). \def\ssecnominalsize{10pt} \setfont\ssecrm\rmbshape{10}{1000}{OT1} \setfont\ssecit\itbshape{10}{1000}{OT1IT} \setfont\ssecsl\slbshape{10}{1000}{OT1} \setfont\ssectt\ttbshape{10}{1000}{OT1TT} \setfont\ssecttsl\ttslshape{10}{1000}{OT1TT} \setfont\ssecsf\sfbshape{10}{1000}{OT1} \let\ssecbf\ssecrm \setfont\ssecsc\scbshape{10}{1000}{OT1} \font\sseci=cmmi10 \font\ssecsy=cmsy10 \def\ssececsize{1000} % Reduced fonts for @acronym in text (9pt). \def\reducednominalsize{9pt} \setfont\reducedrm\rmshape{9}{1000}{OT1} \setfont\reducedtt\ttshape{9}{1000}{OT1TT} \setfont\reducedbf\bfshape{10}{900}{OT1} \setfont\reducedit\itshape{9}{1000}{OT1IT} \setfont\reducedsl\slshape{9}{1000}{OT1} \setfont\reducedsf\sfshape{9}{1000}{OT1} \setfont\reducedsc\scshape{10}{900}{OT1} \setfont\reducedttsl\ttslshape{10}{900}{OT1TT} \font\reducedi=cmmi9 \font\reducedsy=cmsy9 \def\reducedecsize{0900} \divide\parskip by 2 % reduce space between paragraphs \textleading = 12pt % line spacing for 10pt CM \textfonts % reset the current fonts \rm } % end of 10pt text font size definitions, \definetextfontsizex % Fonts for short table of contents. \setfont\shortcontrm\rmshape{12}{1000}{OT1} \setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12 \setfont\shortcontsl\slshape{12}{1000}{OT1} \setfont\shortconttt\ttshape{12}{1000}{OT1TT} % We provide the user-level command % @fonttextsize 10 % (or 11) to redefine the text font size. pt is assumed. % \def\xiword{11} \def\xword{10} \def\xwordpt{10pt} % \parseargdef\fonttextsize{% \def\textsizearg{#1}% %\wlog{doing @fonttextsize \textsizearg}% % % Set \globaldefs so that documents can use this inside @tex, since % makeinfo 4.8 does not support it, but we need it nonetheless. % \begingroup \globaldefs=1 \ifx\textsizearg\xword \definetextfontsizex \else \ifx\textsizearg\xiword \definetextfontsizexi \else \errhelp=\EMsimple \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'} \fi\fi \endgroup } % % Change the current font style to #1, remembering it in \curfontstyle. % For now, we do not accumulate font styles: @b{@i{foo}} prints foo in % italics, not bold italics. % \def\setfontstyle#1{% \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd. \csname #1font\endcsname % change the current font } \def\rm{\fam=0 \setfontstyle{rm}} \def\it{\fam=\itfam \setfontstyle{it}} \def\sl{\fam=\slfam \setfontstyle{sl}} \def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} \def\tt{\fam=\ttfam \setfontstyle{tt}} % Texinfo sort of supports the sans serif font style, which plain TeX does not. % So we set up a \sf. \newfam\sffam \def\sf{\fam=\sffam \setfontstyle{sf}} % We don't need math for this font style. \def\ttsl{\setfontstyle{ttsl}} % In order for the font changes to affect most math symbols and letters, % we have to define the \textfont of the standard families. % We don't bother to reset \scriptscriptfont; awaiting user need. % \def\resetmathfonts{% \textfont0=\rmfont \textfont1=\ifont \textfont2=\syfont \textfont\itfam=\itfont \textfont\slfam=\slfont \textfont\bffam=\bffont \textfont\ttfam=\ttfont \textfont\sffam=\sffont % % Fonts for superscript. Note that the 7pt fonts are used regardless % of the current font size. \scriptfont0=\sevenrm \scriptfont1=\seveni \scriptfont2=\sevensy \scriptfont\itfam=\sevenit \scriptfont\slfam=\sevensl \scriptfont\bffam=\sevenbf \scriptfont\ttfam=\seventt \scriptfont\sffam=\sevensf } % % The font-changing commands (all called \...fonts) redefine the meanings % of \STYLEfont, instead of just \STYLE. We do this because \STYLE needs % to also set the current \fam for math mode. Our \STYLE (e.g., \rm) % commands hardwire \STYLEfont to set the current font. % % The fonts used for \ifont are for "math italics" (\itfont is for italics % in regular text). \syfont is also used in math mode only. % % Each font-changing command also sets the names \lsize (one size lower) % and \lllsize (three sizes lower). These relative commands are used % in, e.g., the LaTeX logo and acronyms. % % This all needs generalizing, badly. % \def\assignfonts#1{% \expandafter\let\expandafter\rmfont\csname #1rm\endcsname \expandafter\let\expandafter\itfont\csname #1it\endcsname \expandafter\let\expandafter\slfont\csname #1sl\endcsname \expandafter\let\expandafter\bffont\csname #1bf\endcsname \expandafter\let\expandafter\ttfont\csname #1tt\endcsname \expandafter\let\expandafter\smallcaps\csname #1sc\endcsname \expandafter\let\expandafter\sffont \csname #1sf\endcsname \expandafter\let\expandafter\ifont \csname #1i\endcsname \expandafter\let\expandafter\syfont \csname #1sy\endcsname \expandafter\let\expandafter\ttslfont\csname #1ttsl\endcsname } \newif\ifrmisbold % Select smaller font size with the current style. Used to change font size % in, e.g., the LaTeX logo and acronyms. If we are using bold fonts for % normal roman text, also use bold fonts for roman text in the smaller size. \def\switchtolllsize{% \expandafter\assignfonts\expandafter{\lllsize}% \ifrmisbold \let\rmfont\bffont \fi \csname\curfontstyle\endcsname }% \def\switchtolsize{% \expandafter\assignfonts\expandafter{\lsize}% \ifrmisbold \let\rmfont\bffont \fi \csname\curfontstyle\endcsname }% \def\definefontsetatsize#1#2#3#4#5{% \expandafter\def\csname #1fonts\endcsname{% \def\curfontsize{#1}% \def\lsize{#2}\def\lllsize{#3}% \csname rmisbold#5\endcsname \assignfonts{#1}% \resetmathfonts \setleading{#4}% }} \definefontsetatsize{text} {reduced}{smaller}{\textleading}{false} \definefontsetatsize{title} {chap} {subsec} {27pt} {true} \definefontsetatsize{chap} {sec} {text} {19pt} {true} \definefontsetatsize{sec} {subsec} {reduced}{17pt} {true} \definefontsetatsize{ssec} {text} {small} {15pt} {true} \definefontsetatsize{reduced}{small} {smaller}{10.5pt}{false} \definefontsetatsize{small} {smaller}{smaller}{10.5pt}{false} \definefontsetatsize{smaller}{smaller}{smaller}{9.5pt} {false} \def\titlefont#1{{\titlefonts\rm #1}} \let\subsecfonts = \ssecfonts \let\subsubsecfonts = \ssecfonts % Define these just so they can be easily changed for other fonts. \def\angleleft{$\langle$} \def\angleright{$\rangle$} % Set the fonts to use with the @small... environments. \let\smallexamplefonts = \smallfonts % About \smallexamplefonts. If we use \smallfonts (9pt), @smallexample % can fit this many characters: % 8.5x11=86 smallbook=72 a4=90 a5=69 % If we use \scriptfonts (8pt), then we can fit this many characters: % 8.5x11=90+ smallbook=80 a4=90+ a5=77 % For me, subjectively, the few extra characters that fit aren't worth % the additional smallness of 8pt. So I'm making the default 9pt. % % By the way, for comparison, here's what fits with @example (10pt): % 8.5x11=71 smallbook=60 a4=75 a5=58 % --karl, 24jan03. % Set up the default fonts, so we can use them for creating boxes. % \definetextfontsizexi \message{markup,} % Check if we are currently using a typewriter font. Since all the % Computer Modern typewriter fonts have zero interword stretch (and % shrink), and it is reasonable to expect all typewriter fonts to have % this property, we can check that font parameter. % \def\ifmonospace{\ifdim\fontdimen3\font=0pt } % Markup style infrastructure. \defmarkupstylesetup\INITMACRO will % define and register \INITMACRO to be called on markup style changes. % \INITMACRO can check \currentmarkupstyle for the innermost % style. \let\currentmarkupstyle\empty \def\setupmarkupstyle#1{% \def\currentmarkupstyle{#1}% \markupstylesetup } \let\markupstylesetup\empty \def\defmarkupstylesetup#1{% \expandafter\def\expandafter\markupstylesetup \expandafter{\markupstylesetup #1}% \def#1% } % Markup style setup for left and right quotes. \defmarkupstylesetup\markupsetuplq{% \expandafter\let\expandafter \temp \csname markupsetuplq\currentmarkupstyle\endcsname \ifx\temp\relax \markupsetuplqdefault \else \temp \fi } \defmarkupstylesetup\markupsetuprq{% \expandafter\let\expandafter \temp \csname markupsetuprq\currentmarkupstyle\endcsname \ifx\temp\relax \markupsetuprqdefault \else \temp \fi } { \catcode`\'=\active \catcode`\`=\active \gdef\markupsetuplqdefault{\let`\lq} \gdef\markupsetuprqdefault{\let'\rq} \gdef\markupsetcodequoteleft{\let`\codequoteleft} \gdef\markupsetcodequoteright{\let'\codequoteright} } \let\markupsetuplqcode \markupsetcodequoteleft \let\markupsetuprqcode \markupsetcodequoteright % \let\markupsetuplqexample \markupsetcodequoteleft \let\markupsetuprqexample \markupsetcodequoteright % \let\markupsetuplqkbd \markupsetcodequoteleft \let\markupsetuprqkbd \markupsetcodequoteright % \let\markupsetuplqsamp \markupsetcodequoteleft \let\markupsetuprqsamp \markupsetcodequoteright % \let\markupsetuplqverb \markupsetcodequoteleft \let\markupsetuprqverb \markupsetcodequoteright % \let\markupsetuplqverbatim \markupsetcodequoteleft \let\markupsetuprqverbatim \markupsetcodequoteright % Allow an option to not use regular directed right quote/apostrophe % (char 0x27), but instead the undirected quote from cmtt (char 0x0d). % The undirected quote is ugly, so don't make it the default, but it % works for pasting with more pdf viewers (at least evince), the % lilypond developers report. xpdf does work with the regular 0x27. % \def\codequoteright{% \ifmonospace \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax '% \else \char'15 \fi \else \char'15 \fi \else '% \fi } % % and a similar option for the left quote char vs. a grave accent. % Modern fonts display ASCII 0x60 as a grave accent, so some people like % the code environments to do likewise. % \def\codequoteleft{% \ifmonospace \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax % [Knuth] pp. 380,381,391 % \relax disables Spanish ligatures ?` and !` of \tt font. \relax`% \else \char'22 \fi \else \char'22 \fi \else \relax`% \fi } % Commands to set the quote options. % \parseargdef\codequoteundirected{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETtxicodequoteundirected\endcsname = t% \else\ifx\temp\offword \expandafter\let\csname SETtxicodequoteundirected\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @codequoteundirected value `\temp', must be on|off}% \fi\fi } % \parseargdef\codequotebacktick{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETtxicodequotebacktick\endcsname = t% \else\ifx\temp\offword \expandafter\let\csname SETtxicodequotebacktick\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @codequotebacktick value `\temp', must be on|off}% \fi\fi } % [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \tt font. \def\noligaturesquoteleft{\relax\lq} % Count depth in font-changes, for error checks \newcount\fontdepth \fontdepth=0 % Font commands. % #1 is the font command (\sl or \it), #2 is the text to slant. % If we are in a monospaced environment, however, 1) always use \ttsl, % and 2) do not add an italic correction. \def\dosmartslant#1#2{% \ifusingtt {{\ttsl #2}\let\next=\relax}% {\def\next{{#1#2}\futurelet\next\smartitaliccorrection}}% \next } \def\smartslanted{\dosmartslant\sl} \def\smartitalic{\dosmartslant\it} % Output an italic correction unless \next (presumed to be the following % character) is such as not to need one. \def\smartitaliccorrection{% \ifx\next,% \else\ifx\next-% \else\ifx\next.% \else\ifx\next\.% \else\ifx\next\comma% \else\ptexslash \fi\fi\fi\fi\fi \aftersmartic } % Unconditional use \ttsl, and no ic. @var is set to this for defuns. \def\ttslanted#1{{\ttsl #1}} % @cite is like \smartslanted except unconditionally use \sl. We never want % ttsl for book titles, do we? \def\cite#1{{\sl #1}\futurelet\next\smartitaliccorrection} \def\aftersmartic{} \def\var#1{% \let\saveaftersmartic = \aftersmartic \def\aftersmartic{\null\let\aftersmartic=\saveaftersmartic}% \smartslanted{#1}% } \let\i=\smartitalic \let\slanted=\smartslanted \let\dfn=\smartslanted \let\emph=\smartitalic % Explicit font changes: @r, @sc, undocumented @ii. \def\r#1{{\rm #1}} % roman font \def\sc#1{{\smallcaps#1}} % smallcaps font \def\ii#1{{\it #1}} % italic font % @b, explicit bold. Also @strong. \def\b#1{{\bf #1}} \let\strong=\b % @sansserif, explicit sans. \def\sansserif#1{{\sf #1}} % We can't just use \exhyphenpenalty, because that only has effect at % the end of a paragraph. Restore normal hyphenation at the end of the % group within which \nohyphenation is presumably called. % \def\nohyphenation{\hyphenchar\font = -1 \aftergroup\restorehyphenation} \def\restorehyphenation{\hyphenchar\font = `- } % Set sfcode to normal for the chars that usually have another value. % Can't use plain's \frenchspacing because it uses the `\x notation, and % sometimes \x has an active definition that messes things up. % \catcode`@=11 \def\plainfrenchspacing{% \sfcode`\.=\@m \sfcode`\?=\@m \sfcode`\!=\@m \sfcode`\:=\@m \sfcode`\;=\@m \sfcode`\,=\@m \def\endofsentencespacefactor{1000}% for @. and friends } \def\plainnonfrenchspacing{% \sfcode`\.3000\sfcode`\?3000\sfcode`\!3000 \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 \def\endofsentencespacefactor{3000}% for @. and friends } \catcode`@=\other \def\endofsentencespacefactor{3000}% default % @t, explicit typewriter. \def\t#1{% {\tt \rawbackslash \plainfrenchspacing #1}% \null } % @samp. \def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}} % @indicateurl is \samp, that is, with quotes. \let\indicateurl=\samp % @code (and similar) prints in typewriter, but with spaces the same % size as normal in the surrounding text, without hyphenation, etc. % This is a subroutine for that. \def\tclose#1{% {% % Change normal interword space to be same as for the current font. \spaceskip = \fontdimen2\font % % Switch to typewriter. \tt % % But `\ ' produces the large typewriter interword space. \def\ {{\spaceskip = 0pt{} }}% % % Turn off hyphenation. \nohyphenation % \rawbackslash \plainfrenchspacing #1% }% \null % reset spacefactor to 1000 } % We *must* turn on hyphenation at `-' and `_' in @code. % (But see \codedashfinish below.) % Otherwise, it is too hard to avoid overfull hboxes % in the Emacs manual, the Library manual, etc. % % Unfortunately, TeX uses one parameter (\hyphenchar) to control % both hyphenation at - and hyphenation within words. % We must therefore turn them both off (\tclose does that) % and arrange explicitly to hyphenate at a dash. -- rms. { \catcode`\-=\active \catcode`\_=\active \catcode`\'=\active \catcode`\`=\active \global\let'=\rq \global\let`=\lq % default definitions % \global\def\code{\begingroup \setupmarkupstyle{code}% % The following should really be moved into \setupmarkupstyle handlers. \catcode\dashChar=\active \catcode\underChar=\active \ifallowcodebreaks \let-\codedash \let_\codeunder \else \let-\normaldash \let_\realunder \fi % Given -foo (with a single dash), we do not want to allow a break % after the hyphen. \global\let\codedashprev=\codedash % \codex } % \gdef\codedash{\futurelet\next\codedashfinish} \gdef\codedashfinish{% \normaldash % always output the dash character itself. % % Now, output a discretionary to allow a line break, unless % (a) the next character is a -, or % (b) the preceding character is a -. % E.g., given --posix, we do not want to allow a break after either -. % Given --foo-bar, we do want to allow a break between the - and the b. \ifx\next\codedash \else \ifx\codedashprev\codedash \else \discretionary{}{}{}\fi \fi % we need the space after the = for the case when \next itself is a % space token; it would get swallowed otherwise. As in @code{- a}. \global\let\codedashprev= \next } } \def\normaldash{-} % \def\codex #1{\tclose{#1}\endgroup} \def\codeunder{% % this is all so @math{@code{var_name}+1} can work. In math mode, _ % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.) % will therefore expand the active definition of _, which is us % (inside @code that is), therefore an endless loop. \ifusingtt{\ifmmode \mathchar"075F % class 0=ordinary, family 7=ttfam, pos 0x5F=_. \else\normalunderscore \fi \discretionary{}{}{}}% {\_}% } % An additional complication: the above will allow breaks after, e.g., % each of the four underscores in __typeof__. This is bad. % @allowcodebreaks provides a document-level way to turn breaking at - % and _ on and off. % \newif\ifallowcodebreaks \allowcodebreakstrue \def\keywordtrue{true} \def\keywordfalse{false} \parseargdef\allowcodebreaks{% \def\txiarg{#1}% \ifx\txiarg\keywordtrue \allowcodebreakstrue \else\ifx\txiarg\keywordfalse \allowcodebreaksfalse \else \errhelp = \EMsimple \errmessage{Unknown @allowcodebreaks option `\txiarg', must be true|false}% \fi\fi } % For @command, @env, @file, @option quotes seem unnecessary, % so use \code rather than \samp. \let\command=\code \let\env=\code \let\file=\code \let\option=\code % @uref (abbreviation for `urlref') aka @url takes an optional % (comma-separated) second argument specifying the text to display and % an optional third arg as text to display instead of (rather than in % addition to) the url itself. First (mandatory) arg is the url. % TeX-only option to allow changing PDF output to show only the second % arg (if given), and not the url (which is then just the link target). \newif\ifurefurlonlylink % The main macro is \urefbreak, which allows breaking at expected % places within the url. (There used to be another version, which % didn't support automatic breaking.) \def\urefbreak{\begingroup \urefcatcodes \dourefbreak} \let\uref=\urefbreak % \def\dourefbreak#1{\urefbreakfinish #1,,,\finish} \def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example \unsepspaces \pdfurl{#1}% \setbox0 = \hbox{\ignorespaces #3}% \ifdim\wd0 > 0pt \unhbox0 % third arg given, show only that \else \setbox0 = \hbox{\ignorespaces #2}% look for second arg \ifdim\wd0 > 0pt \ifpdf % For pdfTeX and LuaTeX \ifurefurlonlylink % PDF plus option to not display url, show just arg \unhbox0 \else % PDF, normally display both arg and url for consistency, % visibility, if the pdf is eventually used to print, etc. \unhbox0\ (\urefcode{#1})% \fi \else \ifx\XeTeXrevision\thisisundefined \unhbox0\ (\urefcode{#1})% DVI, always show arg and url \else % For XeTeX \ifurefurlonlylink % PDF plus option to not display url, show just arg \unhbox0 \else % PDF, normally display both arg and url for consistency, % visibility, if the pdf is eventually used to print, etc. \unhbox0\ (\urefcode{#1})% \fi \fi \fi \else \urefcode{#1}% only url given, so show it \fi \fi \endlink \endgroup} % Allow line breaks around only a few characters (only). \def\urefcatcodes{% \catcode`\&=\active \catcode`\.=\active \catcode`\#=\active \catcode`\?=\active \catcode`\/=\active } { \urefcatcodes % \global\def\urefcode{\begingroup \setupmarkupstyle{code}% \urefcatcodes \let&\urefcodeamp \let.\urefcodedot \let#\urefcodehash \let?\urefcodequest \let/\urefcodeslash \codex } % % By default, they are just regular characters. \global\def&{\normalamp} \global\def.{\normaldot} \global\def#{\normalhash} \global\def?{\normalquest} \global\def/{\normalslash} } % we put a little stretch before and after the breakable chars, to help % line breaking of long url's. The unequal skips make look better in % cmtt at least, especially for dots. \def\urefprestretchamount{.13em} \def\urefpoststretchamount{.1em} \def\urefprestretch{\urefprebreak \hskip0pt plus\urefprestretchamount\relax} \def\urefpoststretch{\urefpostbreak \hskip0pt plus\urefprestretchamount\relax} % \def\urefcodeamp{\urefprestretch \&\urefpoststretch} \def\urefcodedot{\urefprestretch .\urefpoststretch} \def\urefcodehash{\urefprestretch \#\urefpoststretch} \def\urefcodequest{\urefprestretch ?\urefpoststretch} \def\urefcodeslash{\futurelet\next\urefcodeslashfinish} { \catcode`\/=\active \global\def\urefcodeslashfinish{% \urefprestretch \slashChar % Allow line break only after the final / in a sequence of % slashes, to avoid line break between the slashes in http://. \ifx\next/\else \urefpoststretch \fi } } % One more complication: by default we'll break after the special % characters, but some people like to break before the special chars, so % allow that. Also allow no breaking at all, for manual control. % \parseargdef\urefbreakstyle{% \def\txiarg{#1}% \ifx\txiarg\wordnone \def\urefprebreak{\nobreak}\def\urefpostbreak{\nobreak} \else\ifx\txiarg\wordbefore \def\urefprebreak{\allowbreak}\def\urefpostbreak{\nobreak} \else\ifx\txiarg\wordafter \def\urefprebreak{\nobreak}\def\urefpostbreak{\allowbreak} \else \errhelp = \EMsimple \errmessage{Unknown @urefbreakstyle setting `\txiarg'}% \fi\fi\fi } \def\wordafter{after} \def\wordbefore{before} \def\wordnone{none} \urefbreakstyle after % @url synonym for @uref, since that's how everyone uses it. % \let\url=\uref % rms does not like angle brackets --karl, 17may97. % So now @email is just like @uref, unless we are pdf. % %\def\email#1{\angleleft{\tt #1}\angleright} \ifpdf \def\email#1{\doemail#1,,\finish} \def\doemail#1,#2,#3\finish{\begingroup \unsepspaces \pdfurl{mailto:#1}% \setbox0 = \hbox{\ignorespaces #2}% \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi \endlink \endgroup} \else \ifx\XeTeXrevision\thisisundefined \let\email=\uref \else \def\email#1{\doemail#1,,\finish} \def\doemail#1,#2,#3\finish{\begingroup \unsepspaces \pdfurl{mailto:#1}% \setbox0 = \hbox{\ignorespaces #2}% \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi \endlink \endgroup} \fi \fi % @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always), % `example' (@kbd uses ttsl only inside of @example and friends), % or `code' (@kbd uses normal tty font always). \parseargdef\kbdinputstyle{% \def\txiarg{#1}% \ifx\txiarg\worddistinct \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}% \else\ifx\txiarg\wordexample \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}% \else\ifx\txiarg\wordcode \gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}% \else \errhelp = \EMsimple \errmessage{Unknown @kbdinputstyle setting `\txiarg'}% \fi\fi\fi } \def\worddistinct{distinct} \def\wordexample{example} \def\wordcode{code} % Default is `distinct'. \kbdinputstyle distinct % @kbd is like @code, except that if the argument is just one @key command, % then @kbd has no effect. \def\kbd#1{{\def\look{#1}\expandafter\kbdsub\look??\par}} \def\xkey{\key} \def\kbdsub#1#2#3\par{% \def\one{#1}\def\three{#3}\def\threex{??}% \ifx\one\xkey\ifx\threex\three \key{#2}% \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi \else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi } % definition of @key that produces a lozenge. Doesn't adjust to text size. %\setfont\keyrm\rmshape{8}{1000}{OT1} %\font\keysy=cmsy9 %\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% % \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% % \vbox{\hrule\kern-0.4pt % \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% % \kern-0.4pt\hrule}% % \kern-.06em\raise0.4pt\hbox{\angleright}}}} % definition of @key with no lozenge. If the current font is already % monospace, don't change it; that way, we respect @kbdinputstyle. But % if it isn't monospace, then use \tt. % \def\key#1{{\setupmarkupstyle{key}% \nohyphenation \ifmonospace\else\tt\fi #1}\null} % @clicksequence{File @click{} Open ...} \def\clicksequence#1{\begingroup #1\endgroup} % @clickstyle @arrow (by default) \parseargdef\clickstyle{\def\click{#1}} \def\click{\arrow} % Typeset a dimension, e.g., `in' or `pt'. The only reason for the % argument is to make the input look right: @dmn{pt} instead of @dmn{}pt. % \def\dmn#1{\thinspace #1} % @acronym for "FBI", "NATO", and the like. % We print this one point size smaller, since it's intended for % all-uppercase. % \def\acronym#1{\doacronym #1,,\finish} \def\doacronym#1,#2,#3\finish{% {\switchtolsize #1}% \def\temp{#2}% \ifx\temp\empty \else \space ({\unsepspaces \ignorespaces \temp \unskip})% \fi \null % reset \spacefactor=1000 } % @abbr for "Comput. J." and the like. % No font change, but don't do end-of-sentence spacing. % \def\abbr#1{\doabbr #1,,\finish} \def\doabbr#1,#2,#3\finish{% {\plainfrenchspacing #1}% \def\temp{#2}% \ifx\temp\empty \else \space ({\unsepspaces \ignorespaces \temp \unskip})% \fi \null % reset \spacefactor=1000 } % @asis just yields its argument. Used with @table, for example. % \def\asis#1{#1} % @math outputs its argument in math mode. % % One complication: _ usually means subscripts, but it could also mean % an actual _ character, as in @math{@var{some_variable} + 1}. So make % _ active, and distinguish by seeing if the current family is \slfam, % which is what @var uses. { \catcode`\_ = \active \gdef\mathunderscore{% \catcode`\_=\active \def_{\ifnum\fam=\slfam \_\else\sb\fi}% } } % Another complication: we want \\ (and @\) to output a math (or tt) \. % FYI, plain.tex uses \\ as a temporary control sequence (for no % particular reason), but this is not advertised and we don't care. % % The \mathchar is class=0=ordinary, family=7=ttfam, position=5C=\. \def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi} % \def\math{% \ifmmode\else % only go into math if not in math mode already \tex \mathunderscore \let\\ = \mathbackslash \mathactive % make the texinfo accent commands work in math mode \let\"=\ddot \let\'=\acute \let\==\bar \let\^=\hat \let\`=\grave \let\u=\breve \let\v=\check \let\~=\tilde \let\dotaccent=\dot % have to provide another name for sup operator \let\mathopsup=\sup $\expandafter\finishmath\fi } \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex. % Some active characters (such as <) are spaced differently in math. % We have to reset their definitions in case the @math was an argument % to a command which sets the catcodes (such as @item or @section). % { \catcode`^ = \active \catcode`< = \active \catcode`> = \active \catcode`+ = \active \catcode`' = \active \gdef\mathactive{% \let^ = \ptexhat \let< = \ptexless \let> = \ptexgtr \let+ = \ptexplus \let' = \ptexquoteright } } % for @sub and @sup, if in math mode, just do a normal sub/superscript. % If in text, use math to place as sub/superscript, but switch % into text mode, with smaller fonts. This is a different font than the % one used for real math sub/superscripts (8pt vs. 7pt), but let's not % fix it (significant additions to font machinery) until someone notices. % \def\sub{\ifmmode \expandafter\sb \else \expandafter\finishsub\fi} \def\finishsub#1{$\sb{\hbox{\switchtolllsize #1}}$}% % \def\sup{\ifmmode \expandafter\ptexsp \else \expandafter\finishsup\fi} \def\finishsup#1{$\ptexsp{\hbox{\switchtolllsize #1}}$}% % @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}. % Ignore unless FMTNAME == tex; then it is like @iftex and @tex, % except specified as a normal braced arg, so no newlines to worry about. % \def\outfmtnametex{tex} % \long\def\inlinefmt#1{\doinlinefmt #1,\finish} \long\def\doinlinefmt#1,#2,\finish{% \def\inlinefmtname{#1}% \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi } % % @inlinefmtifelse{FMTNAME,THEN-TEXT,ELSE-TEXT} expands THEN-TEXT if % FMTNAME is tex, else ELSE-TEXT. \long\def\inlinefmtifelse#1{\doinlinefmtifelse #1,,,\finish} \long\def\doinlinefmtifelse#1,#2,#3,#4,\finish{% \def\inlinefmtname{#1}% \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\else \ignorespaces #3\fi } % % For raw, must switch into @tex before parsing the argument, to avoid % setting catcodes prematurely. Doing it this way means that, for % example, @inlineraw{html, foo{bar} gets a parse error instead of being % ignored. But this isn't important because if people want a literal % *right* brace they would have to use a command anyway, so they may as % well use a command to get a left brace too. We could re-use the % delimiter character idea from \verb, but it seems like overkill. % \long\def\inlineraw{\tex \doinlineraw} \long\def\doinlineraw#1{\doinlinerawtwo #1,\finish} \def\doinlinerawtwo#1,#2,\finish{% \def\inlinerawname{#1}% \ifx\inlinerawname\outfmtnametex \ignorespaces #2\fi \endgroup % close group opened by \tex. } % @inlineifset{VAR, TEXT} expands TEXT if VAR is @set. % \long\def\inlineifset#1{\doinlineifset #1,\finish} \long\def\doinlineifset#1,#2,\finish{% \def\inlinevarname{#1}% \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \else\ignorespaces#2\fi } % @inlineifclear{VAR, TEXT} expands TEXT if VAR is not @set. % \long\def\inlineifclear#1{\doinlineifclear #1,\finish} \long\def\doinlineifclear#1,#2,\finish{% \def\inlinevarname{#1}% \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \ignorespaces#2\fi } \message{glyphs,} % and logos. % @@ prints an @, as does @atchar{}. \def\@{\char64 } \let\atchar=\@ % @{ @} @lbracechar{} @rbracechar{} all generate brace characters. \def\lbracechar{{\ifmonospace\char123\else\ensuremath\lbrace\fi}} \def\rbracechar{{\ifmonospace\char125\else\ensuremath\rbrace\fi}} \let\{=\lbracechar \let\}=\rbracechar % @comma{} to avoid , parsing problems. \let\comma = , % Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent % Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H. \let\, = \ptexc \let\dotaccent = \ptexdot \def\ringaccent#1{{\accent23 #1}} \let\tieaccent = \ptext \let\ubaraccent = \ptexb \let\udotaccent = \d % Other special characters: @questiondown @exclamdown @ordf @ordm % Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss. \def\questiondown{?`} \def\exclamdown{!`} \def\ordf{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{a}}} \def\ordm{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{o}}} % Dotless i and dotless j, used for accents. \def\imacro{i} \def\jmacro{j} \def\dotless#1{% \def\temp{#1}% \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi \else \errmessage{@dotless can be used only with i or j}% \fi\fi } % The \TeX{} logo, as in plain, but resetting the spacing so that a % period following counts as ending a sentence. (Idea found in latex.) % \edef\TeX{\TeX \spacefactor=1000 } % @LaTeX{} logo. Not quite the same results as the definition in % latex.ltx, since we use a different font for the raised A; it's most % convenient for us to use an explicitly smaller font, rather than using % the \scriptstyle font (since we don't reset \scriptstyle and % \scriptscriptstyle). % \def\LaTeX{% L\kern-.36em {\setbox0=\hbox{T}% \vbox to \ht0{\hbox{% \ifx\textnominalsize\xwordpt % for 10pt running text, lllsize (8pt) is too small for the A in LaTeX. % Revert to plain's \scriptsize, which is 7pt. \count255=\the\fam $\fam\count255 \scriptstyle A$% \else % For 11pt, we can use our lllsize. \switchtolllsize A% \fi }% \vss }}% \kern-.15em \TeX } % Some math mode symbols. Define \ensuremath to switch into math mode % unless we are already there. Expansion tricks may not be needed here, % but safer, and can't hurt. \def\ensuremath{\ifmmode \expandafter\asis \else\expandafter\ensuredmath \fi} \def\ensuredmath#1{$\relax#1$} % \def\bullet{\ensuremath\ptexbullet} \def\geq{\ensuremath\ge} \def\leq{\ensuremath\le} \def\minus{\ensuremath-} % @dots{} outputs an ellipsis using the current font. % We do .5em per period so that it has the same spacing in the cm % typewriter fonts as three actual period characters; on the other hand, % in other typewriter fonts three periods are wider than 1.5em. So do % whichever is larger. % \def\dots{% \leavevmode \setbox0=\hbox{...}% get width of three periods \ifdim\wd0 > 1.5em \dimen0 = \wd0 \else \dimen0 = 1.5em \fi \hbox to \dimen0{% \hskip 0pt plus.25fil .\hskip 0pt plus1fil .\hskip 0pt plus1fil .\hskip 0pt plus.5fil }% } % @enddots{} is an end-of-sentence ellipsis. % \def\enddots{% \dots \spacefactor=\endofsentencespacefactor } % @point{}, @result{}, @expansion{}, @print{}, @equiv{}. % % Since these characters are used in examples, they should be an even number of % \tt widths. Each \tt character is 1en, so two makes it 1em. % \def\point{$\star$} \def\arrow{\leavevmode\raise.05ex\hbox to 1em{\hfil$\rightarrow$\hfil}} \def\result{\leavevmode\raise.05ex\hbox to 1em{\hfil$\Rightarrow$\hfil}} \def\expansion{\leavevmode\hbox to 1em{\hfil$\mapsto$\hfil}} \def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}} \def\equiv{\leavevmode\hbox to 1em{\hfil$\ptexequiv$\hfil}} % The @error{} command. % Adapted from the TeXbook's \boxit. % \newbox\errorbox % {\ttfont \global\dimen0 = 3em}% Width of the box. \dimen2 = .55pt % Thickness of rules % The text. (`r' is open on the right, `e' somewhat less so on the left.) \setbox0 = \hbox{\kern-.75pt \reducedsf \putworderror\kern-1.5pt} % \setbox\errorbox=\hbox to \dimen0{\hfil \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. \advance\hsize by -2\dimen2 % Rules. \vbox{% \hrule height\dimen2 \hbox{\vrule width\dimen2 \kern3pt % Space to left of text. \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below. \kern3pt\vrule width\dimen2}% Space to right. \hrule height\dimen2} \hfil} % \def\error{\leavevmode\lower.7ex\copy\errorbox} % @pounds{} is a sterling sign, which Knuth put in the CM italic font. % \def\pounds{{\it\$}} % @euro{} comes from a separate font, depending on the current style. % We use the free feym* fonts from the eurosym package by Henrik % Theiling, which support regular, slanted, bold and bold slanted (and % "outlined" (blackboard board, sort of) versions, which we don't need). % It is available from http://www.ctan.org/tex-archive/fonts/eurosym. % % Although only regular is the truly official Euro symbol, we ignore % that. The Euro is designed to be slightly taller than the regular % font height. % % feymr - regular % feymo - slanted % feybr - bold % feybo - bold slanted % % There is no good (free) typewriter version, to my knowledge. % A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide. % Hmm. % % Also doesn't work in math. Do we need to do math with euro symbols? % Hope not. % % \def\euro{{\eurofont e}} \def\eurofont{% % We set the font at each command, rather than predefining it in % \textfonts and the other font-switching commands, so that % installations which never need the symbol don't have to have the % font installed. % % There is only one designed size (nominal 10pt), so we always scale % that to the current nominal size. % % By the way, simply using "at 1em" works for cmr10 and the like, but % does not work for cmbx10 and other extended/shrunken fonts. % \def\eurosize{\csname\curfontsize nominalsize\endcsname}% % \ifx\curfontstyle\bfstylename % bold: \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize \else % regular: \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize \fi \thiseurofont } % Glyphs from the EC fonts. We don't use \let for the aliases, because % sometimes we redefine the original macro, and the alias should reflect % the redefinition. % % Use LaTeX names for the Icelandic letters. \def\DH{{\ecfont \char"D0}} % Eth \def\dh{{\ecfont \char"F0}} % eth \def\TH{{\ecfont \char"DE}} % Thorn \def\th{{\ecfont \char"FE}} % thorn % \def\guillemetleft{{\ecfont \char"13}} \def\guillemotleft{\guillemetleft} \def\guillemetright{{\ecfont \char"14}} \def\guillemotright{\guillemetright} \def\guilsinglleft{{\ecfont \char"0E}} \def\guilsinglright{{\ecfont \char"0F}} \def\quotedblbase{{\ecfont \char"12}} \def\quotesinglbase{{\ecfont \char"0D}} % % This positioning is not perfect (see the ogonek LaTeX package), but % we have the precomposed glyphs for the most common cases. We put the % tests to use those glyphs in the single \ogonek macro so we have fewer % dummy definitions to worry about for index entries, etc. % % ogonek is also used with other letters in Lithuanian (IOU), but using % the precomposed glyphs for those is not so easy since they aren't in % the same EC font. \def\ogonek#1{{% \def\temp{#1}% \ifx\temp\macrocharA\Aogonek \else\ifx\temp\macrochara\aogonek \else\ifx\temp\macrocharE\Eogonek \else\ifx\temp\macrochare\eogonek \else \ecfont \setbox0=\hbox{#1}% \ifdim\ht0=1ex\accent"0C #1% \else\ooalign{\unhbox0\crcr\hidewidth\char"0C \hidewidth}% \fi \fi\fi\fi\fi }% } \def\Aogonek{{\ecfont \char"81}}\def\macrocharA{A} \def\aogonek{{\ecfont \char"A1}}\def\macrochara{a} \def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E} \def\eogonek{{\ecfont \char"A6}}\def\macrochare{e} % % Use the European Computer Modern fonts (cm-super in outline format) % for non-CM glyphs. That is ec* for regular text and tc* for the text % companion symbols (LaTeX TS1 encoding). Both are part of the ec % package and follow the same conventions. % \def\ecfont{\etcfont{e}} \def\tcfont{\etcfont{t}} % \def\etcfont#1{% % We can't distinguish serif/sans and italic/slanted, but this % is used for crude hacks anyway (like adding French and German % quotes to documents typeset with CM, where we lose kerning), so % hopefully nobody will notice/care. \edef\ecsize{\csname\curfontsize ecsize\endcsname}% \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}% \ifmonospace % typewriter: \font\thisecfont = #1ctt\ecsize \space at \nominalsize \else \ifx\curfontstyle\bfstylename % bold: \font\thisecfont = #1cb\ifusingit{i}{x}\ecsize \space at \nominalsize \else % regular: \font\thisecfont = #1c\ifusingit{ti}{rm}\ecsize \space at \nominalsize \fi \fi \thisecfont } % @registeredsymbol - R in a circle. The font for the R should really % be smaller yet, but lllsize is the best we can do for now. % Adapted from the plain.tex definition of \copyright. % \def\registeredsymbol{% $^{{\ooalign{\hfil\raise.07ex\hbox{\switchtolllsize R}% \hfil\crcr\Orb}}% }$% } % @textdegree - the normal degrees sign. % \def\textdegree{$^\circ$} % Laurent Siebenmann reports \Orb undefined with: % Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38 % so we'll define it if necessary. % \ifx\Orb\thisisundefined \def\Orb{\mathhexbox20D} \fi % Quotes. \chardef\quotedblleft="5C \chardef\quotedblright=`\" \chardef\quoteleft=`\` \chardef\quoteright=`\' \message{page headings,} \newskip\titlepagetopglue \titlepagetopglue = 1.5in \newskip\titlepagebottomglue \titlepagebottomglue = 2pc % First the title page. Must do @settitle before @titlepage. \newif\ifseenauthor \newif\iffinishedtitlepage % @setcontentsaftertitlepage used to do an implicit @contents or % @shortcontents after @end titlepage, but it is now obsolete. \def\setcontentsaftertitlepage{% \errmessage{@setcontentsaftertitlepage has been removed as a Texinfo command; move your @contents command if you want the contents after the title page.}}% \def\setshortcontentsaftertitlepage{% \errmessage{@setshortcontentsaftertitlepage has been removed as a Texinfo command; move your @shortcontents and @contents commands if you want the contents after the title page.}}% \parseargdef\shorttitlepage{% \begingroup \hbox{}\vskip 1.5in \chaprm \centerline{#1}% \endgroup\page\hbox{}\page} \envdef\titlepage{% % Open one extra group, as we want to close it in the middle of \Etitlepage. \begingroup \parindent=0pt \textfonts % Leave some space at the very top of the page. \vglue\titlepagetopglue % No rule at page bottom unless we print one at the top with @title. \finishedtitlepagetrue % % Most title ``pages'' are actually two pages long, with space % at the top of the second. We don't want the ragged left on the second. \let\oldpage = \page \def\page{% \iffinishedtitlepage\else \finishtitlepage \fi \let\page = \oldpage \page \null }% } \def\Etitlepage{% \iffinishedtitlepage\else \finishtitlepage \fi % It is important to do the page break before ending the group, % because the headline and footline are only empty inside the group. % If we use the new definition of \page, we always get a blank page % after the title page, which we certainly don't want. \oldpage \endgroup % % Need this before the \...aftertitlepage checks so that if they are % in effect the toc pages will come out with page numbers. \HEADINGSon } \def\finishtitlepage{% \vskip4pt \hrule height 2pt width \hsize \vskip\titlepagebottomglue \finishedtitlepagetrue } % Settings used for typesetting titles: no hyphenation, no indentation, % don't worry much about spacing, ragged right. This should be used % inside a \vbox, and fonts need to be set appropriately first. \par should % be specified before the end of the \vbox, since a vbox is a group. % \def\raggedtitlesettings{% \rm \hyphenpenalty=10000 \parindent=0pt \tolerance=5000 \ptexraggedright } % Macros to be used within @titlepage: \let\subtitlerm=\rmfont \def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines} \parseargdef\title{% \checkenv\titlepage \vbox{\titlefonts \raggedtitlesettings #1\par}% % print a rule at the page bottom also. \finishedtitlepagefalse \vskip4pt \hrule height 4pt width \hsize \vskip4pt } \parseargdef\subtitle{% \checkenv\titlepage {\subtitlefont \rightline{#1}}% } % @author should come last, but may come many times. % It can also be used inside @quotation. % \parseargdef\author{% \def\temp{\quotation}% \ifx\thisenv\temp \def\quotationauthor{#1}% printed in \Equotation. \else \checkenv\titlepage \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi {\secfonts\rm \leftline{#1}}% \fi } % Set up page headings and footings. \let\thispage=\folio \newtoks\evenheadline % headline on even pages \newtoks\oddheadline % headline on odd pages \newtoks\evenfootline % footline on even pages \newtoks\oddfootline % footline on odd pages % Now make \makeheadline and \makefootline in Plain TeX use those variables \headline={{\textfonts\rm \ifodd\pageno \the\oddheadline \else \the\evenheadline \fi}} \footline={{\textfonts\rm \ifodd\pageno \the\oddfootline \else \the\evenfootline \fi}\HEADINGShook} \let\HEADINGShook=\relax % Commands to set those variables. % For example, this is what @headings on does % @evenheading @thistitle|@thispage|@thischapter % @oddheading @thischapter|@thispage|@thistitle % @evenfooting @thisfile|| % @oddfooting ||@thisfile \def\evenheading{\parsearg\evenheadingxxx} \def\evenheadingxxx #1{\evenheadingyyy #1\|\|\|\|\finish} \def\evenheadingyyy #1\|#2\|#3\|#4\finish{% \global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} \def\oddheading{\parsearg\oddheadingxxx} \def\oddheadingxxx #1{\oddheadingyyy #1\|\|\|\|\finish} \def\oddheadingyyy #1\|#2\|#3\|#4\finish{% \global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} \parseargdef\everyheading{\oddheadingxxx{#1}\evenheadingxxx{#1}}% \def\evenfooting{\parsearg\evenfootingxxx} \def\evenfootingxxx #1{\evenfootingyyy #1\|\|\|\|\finish} \def\evenfootingyyy #1\|#2\|#3\|#4\finish{% \global\evenfootline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} \def\oddfooting{\parsearg\oddfootingxxx} \def\oddfootingxxx #1{\oddfootingyyy #1\|\|\|\|\finish} \def\oddfootingyyy #1\|#2\|#3\|#4\finish{% \global\oddfootline = {\rlap{\centerline{#2}}\line{#1\hfil#3}}% % % Leave some space for the footline. Hopefully ok to assume % @evenfooting will not be used by itself. \global\advance\txipageheight by -12pt \global\advance\vsize by -12pt } \parseargdef\everyfooting{\oddfootingxxx{#1}\evenfootingxxx{#1}} % @evenheadingmarks top \thischapter <- chapter at the top of a page % @evenheadingmarks bottom \thischapter <- chapter at the bottom of a page % % The same set of arguments for: % % @oddheadingmarks % @evenfootingmarks % @oddfootingmarks % @everyheadingmarks % @everyfootingmarks % These define \getoddheadingmarks, \getevenheadingmarks, % \getoddfootingmarks, and \getevenfootingmarks, each to one of % \gettopheadingmarks, \getbottomheadingmarks. % \def\evenheadingmarks{\headingmarks{even}{heading}} \def\oddheadingmarks{\headingmarks{odd}{heading}} \def\evenfootingmarks{\headingmarks{even}{footing}} \def\oddfootingmarks{\headingmarks{odd}{footing}} \parseargdef\everyheadingmarks{\headingmarks{even}{heading}{#1} \headingmarks{odd}{heading}{#1} } \parseargdef\everyfootingmarks{\headingmarks{even}{footing}{#1} \headingmarks{odd}{footing}{#1} } % #1 = even/odd, #2 = heading/footing, #3 = top/bottom. \def\headingmarks#1#2#3 {% \expandafter\let\expandafter\temp \csname get#3headingmarks\endcsname \global\expandafter\let\csname get#1#2marks\endcsname \temp } \everyheadingmarks bottom \everyfootingmarks bottom % @headings double turns headings on for double-sided printing. % @headings single turns headings on for single-sided printing. % @headings off turns them off. % @headings on same as @headings double, retained for compatibility. % @headings after turns on double-sided headings after this page. % @headings doubleafter turns on double-sided headings after this page. % @headings singleafter turns on single-sided headings after this page. % By default, they are off at the start of a document, % and turned `on' after @end titlepage. \parseargdef\headings{\csname HEADINGS#1\endcsname} \def\headingsoff{% non-global headings elimination \evenheadline={\hfil}\evenfootline={\hfil}% \oddheadline={\hfil}\oddfootline={\hfil}% } \def\HEADINGSoff{{\globaldefs=1 \headingsoff}} % global setting \HEADINGSoff % it's the default % When we turn headings on, set the page number to 1. % For double-sided printing, put current file name in lower left corner, % chapter name on inside top of right hand pages, document % title on inside top of left hand pages, and page numbers on outside top % edge of all pages. \def\HEADINGSdouble{% \global\pageno=1 \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\folio\hfil\thistitle}} \global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chapoddpage } \let\contentsalignmacro = \chappager % For single-sided printing, chapter title goes across top left of page, % page number on top right. \def\HEADINGSsingle{% \global\pageno=1 \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\thischapterheading\hfil\folio}} \global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chappager } \def\HEADINGSon{\HEADINGSdouble} \def\HEADINGSafter{\let\HEADINGShook=\HEADINGSdoublex} \let\HEADINGSdoubleafter=\HEADINGSafter \def\HEADINGSdoublex{% \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\folio\hfil\thistitle}} \global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chapoddpage } \def\HEADINGSsingleafter{\let\HEADINGShook=\HEADINGSsinglex} \def\HEADINGSsinglex{% \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\thischapterheading\hfil\folio}} \global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chappager } % Subroutines used in generating headings % This produces Day Month Year style of output. % Only define if not already defined, in case a txi-??.tex file has set % up a different format (e.g., txi-cs.tex does this). \ifx\today\thisisundefined \def\today{% \number\day\space \ifcase\month \or\putwordMJan\or\putwordMFeb\or\putwordMMar\or\putwordMApr \or\putwordMMay\or\putwordMJun\or\putwordMJul\or\putwordMAug \or\putwordMSep\or\putwordMOct\or\putwordMNov\or\putwordMDec \fi \space\number\year} \fi % @settitle line... specifies the title of the document, for headings. % It generates no output of its own. \def\thistitle{\putwordNoTitle} \def\settitle{\parsearg{\gdef\thistitle}} \message{tables,} % Tables -- @table, @ftable, @vtable, @item(x). % default indentation of table text \newdimen\tableindent \tableindent=.8in % default indentation of @itemize and @enumerate text \newdimen\itemindent \itemindent=.3in % margin between end of table item and start of table text. \newdimen\itemmargin \itemmargin=.1in % used internally for \itemindent minus \itemmargin \newdimen\itemmax % Note @table, @ftable, and @vtable define @item, @itemx, etc., with % these defs. % They also define \itemindex % to index the item name in whatever manner is desired (perhaps none). \newif\ifitemxneedsnegativevskip \def\itemxpar{\par\ifitemxneedsnegativevskip\nobreak\vskip-\parskip\nobreak\fi} \def\internalBitem{\smallbreak \parsearg\itemzzz} \def\internalBitemx{\itemxpar \parsearg\itemzzz} \def\itemzzz #1{\begingroup % \advance\hsize by -\rightskip \advance\hsize by -\tableindent \setbox0=\hbox{\itemindicate{#1}}% \itemindex{#1}% \nobreak % This prevents a break before @itemx. % % If the item text does not fit in the space we have, put it on a line % by itself, and do not allow a page break either before or after that % line. We do not start a paragraph here because then if the next % command is, e.g., @kindex, the whatsit would get put into the % horizontal list on a line by itself, resulting in extra blank space. \ifdim \wd0>\itemmax % % Make this a paragraph so we get the \parskip glue and wrapping, % but leave it ragged-right. \begingroup \advance\leftskip by-\tableindent \advance\hsize by\tableindent \advance\rightskip by0pt plus1fil\relax \leavevmode\unhbox0\par \endgroup % % We're going to be starting a paragraph, but we don't want the % \parskip glue -- logically it's part of the @item we just started. \nobreak \vskip-\parskip % % Stop a page break at the \parskip glue coming up. However, if % what follows is an environment such as @example, there will be no % \parskip glue; then the negative vskip we just inserted would % cause the example and the item to crash together. So we use this % bizarre value of 10001 as a signal to \aboveenvbreak to insert % \parskip glue after all. Section titles are handled this way also. % \penalty 10001 \endgroup \itemxneedsnegativevskipfalse \else % The item text fits into the space. Start a paragraph, so that the % following text (if any) will end up on the same line. \noindent % Do this with kerns and \unhbox so that if there is a footnote in % the item text, it can migrate to the main vertical list and % eventually be printed. \nobreak\kern-\tableindent \dimen0 = \itemmax \advance\dimen0 by \itemmargin \advance\dimen0 by -\wd0 \unhbox0 \nobreak\kern\dimen0 \endgroup \itemxneedsnegativevskiptrue \fi } \def\item{\errmessage{@item while not in a list environment}} \def\itemx{\errmessage{@itemx while not in a list environment}} % @table, @ftable, @vtable. \envdef\table{% \let\itemindex\gobble \tablecheck{table}% } \envdef\ftable{% \def\itemindex ##1{\doind {fn}{\code{##1}}}% \tablecheck{ftable}% } \envdef\vtable{% \def\itemindex ##1{\doind {vr}{\code{##1}}}% \tablecheck{vtable}% } \def\tablecheck#1{% \ifnum \the\catcode`\^^M=\active \endgroup \errmessage{This command won't work in this context; perhaps the problem is that we are \inenvironment\thisenv}% \def\next{\doignore{#1}}% \else \let\next\tablex \fi \next } \def\tablex#1{% \def\itemindicate{#1}% \parsearg\tabley } \def\tabley#1{% {% \makevalueexpandable \edef\temp{\noexpand\tablez #1\space\space\space}% \expandafter }\temp \endtablez } \def\tablez #1 #2 #3 #4\endtablez{% \aboveenvbreak \ifnum 0#1>0 \advance \leftskip by #1\mil \fi \ifnum 0#2>0 \tableindent=#2\mil \fi \ifnum 0#3>0 \advance \rightskip by #3\mil \fi \itemmax=\tableindent \advance \itemmax by -\itemmargin \advance \leftskip by \tableindent \exdentamount=\tableindent \parindent = 0pt \parskip = \smallskipamount \ifdim \parskip=0pt \parskip=2pt \fi \let\item = \internalBitem \let\itemx = \internalBitemx } \def\Etable{\endgraf\afterenvbreak} \let\Eftable\Etable \let\Evtable\Etable \let\Eitemize\Etable \let\Eenumerate\Etable % This is the counter used by @enumerate, which is really @itemize \newcount \itemno \envdef\itemize{\parsearg\doitemize} \def\doitemize#1{% \aboveenvbreak \itemmax=\itemindent \advance\itemmax by -\itemmargin \advance\leftskip by \itemindent \exdentamount=\itemindent \parindent=0pt \parskip=\smallskipamount \ifdim\parskip=0pt \parskip=2pt \fi % % Try typesetting the item mark so that if the document erroneously says % something like @itemize @samp (intending @table), there's an error % right away at the @itemize. It's not the best error message in the % world, but it's better than leaving it to the @item. This means if % the user wants an empty mark, they have to say @w{} not just @w. \def\itemcontents{#1}% \setbox0 = \hbox{\itemcontents}% % % @itemize with no arg is equivalent to @itemize @bullet. \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi % \let\item=\itemizeitem } % Definition of @item while inside @itemize and @enumerate. % \def\itemizeitem{% \advance\itemno by 1 % for enumerations {\let\par=\endgraf \smallbreak}% reasonable place to break {% % If the document has an @itemize directly after a section title, a % \nobreak will be last on the list, and \sectionheading will have % done a \vskip-\parskip. In that case, we don't want to zero % parskip, or the item text will crash with the heading. On the % other hand, when there is normal text preceding the item (as there % usually is), we do want to zero parskip, or there would be too much % space. In that case, we won't have a \nobreak before. At least % that's the theory. \ifnum\lastpenalty<10000 \parskip=0in \fi \noindent \hbox to 0pt{\hss \itemcontents \kern\itemmargin}% % \ifinner\else \vadjust{\penalty 1200}% not good to break after first line of item. \fi % We can be in inner vertical mode in a footnote, although an % @itemize looks awful there. }% \flushcr } % \splitoff TOKENS\endmark defines \first to be the first token in % TOKENS, and \rest to be the remainder. % \def\splitoff#1#2\endmark{\def\first{#1}\def\rest{#2}}% % Allow an optional argument of an uppercase letter, lowercase letter, % or number, to specify the first label in the enumerated list. No % argument is the same as `1'. % \envparseargdef\enumerate{\enumeratey #1 \endenumeratey} \def\enumeratey #1 #2\endenumeratey{% % If we were given no argument, pretend we were given `1'. \def\thearg{#1}% \ifx\thearg\empty \def\thearg{1}\fi % % Detect if the argument is a single token. If so, it might be a % letter. Otherwise, the only valid thing it can be is a number. % (We will always have one token, because of the test we just made. % This is a good thing, since \splitoff doesn't work given nothing at % all -- the first parameter is undelimited.) \expandafter\splitoff\thearg\endmark \ifx\rest\empty % Only one token in the argument. It could still be anything. % A ``lowercase letter'' is one whose \lccode is nonzero. % An ``uppercase letter'' is one whose \lccode is both nonzero, and % not equal to itself. % Otherwise, we assume it's a number. % % We need the \relax at the end of the \ifnum lines to stop TeX from % continuing to look for a . % \ifnum\lccode\expandafter`\thearg=0\relax \numericenumerate % a number (we hope) \else % It's a letter. \ifnum\lccode\expandafter`\thearg=\expandafter`\thearg\relax \lowercaseenumerate % lowercase letter \else \uppercaseenumerate % uppercase letter \fi \fi \else % Multiple tokens in the argument. We hope it's a number. \numericenumerate \fi } % An @enumerate whose labels are integers. The starting integer is % given in \thearg. % \def\numericenumerate{% \itemno = \thearg \startenumeration{\the\itemno}% } % The starting (lowercase) letter is in \thearg. \def\lowercaseenumerate{% \itemno = \expandafter`\thearg \startenumeration{% % Be sure we're not beyond the end of the alphabet. \ifnum\itemno=0 \errmessage{No more lowercase letters in @enumerate; get a bigger alphabet}% \fi \char\lccode\itemno }% } % The starting (uppercase) letter is in \thearg. \def\uppercaseenumerate{% \itemno = \expandafter`\thearg \startenumeration{% % Be sure we're not beyond the end of the alphabet. \ifnum\itemno=0 \errmessage{No more uppercase letters in @enumerate; get a bigger alphabet} \fi \char\uccode\itemno }% } % Call \doitemize, adding a period to the first argument and supplying the % common last two arguments. Also subtract one from the initial value in % \itemno, since @item increments \itemno. % \def\startenumeration#1{% \advance\itemno by -1 \doitemize{#1.}\flushcr } % @alphaenumerate and @capsenumerate are abbreviations for giving an arg % to @enumerate. % \def\alphaenumerate{\enumerate{a}} \def\capsenumerate{\enumerate{A}} \def\Ealphaenumerate{\Eenumerate} \def\Ecapsenumerate{\Eenumerate} % @multitable macros % Amy Hendrickson, 8/18/94, 3/6/96 % % @multitable ... @end multitable will make as many columns as desired. % Contents of each column will wrap at width given in preamble. Width % can be specified either with sample text given in a template line, % or in percent of \hsize, the current width of text on page. % Table can continue over pages but will only break between lines. % To make preamble: % % Either define widths of columns in terms of percent of \hsize: % @multitable @columnfractions .25 .3 .45 % @item ... % % Numbers following @columnfractions are the percent of the total % current hsize to be used for each column. You may use as many % columns as desired. % Or use a template: % @multitable {Column 1 template} {Column 2 template} {Column 3 template} % @item ... % using the widest term desired in each column. % Each new table line starts with @item, each subsequent new column % starts with @tab. Empty columns may be produced by supplying @tab's % with nothing between them for as many times as empty columns are needed, % ie, @tab@tab@tab will produce two empty columns. % @item, @tab do not need to be on their own lines, but it will not hurt % if they are. % Sample multitable: % @multitable {Column 1 template} {Column 2 template} {Column 3 template} % @item first col stuff @tab second col stuff @tab third col % @item % first col stuff % @tab % second col stuff % @tab % third col % @item first col stuff @tab second col stuff % @tab Many paragraphs of text may be used in any column. % % They will wrap at the width determined by the template. % @item@tab@tab This will be in third column. % @end multitable % Default dimensions may be reset by user. % @multitableparskip is vertical space between paragraphs in table. % @multitableparindent is paragraph indent in table. % @multitablecolmargin is horizontal space to be left between columns. % @multitablelinespace is space to leave between table items, baseline % to baseline. % 0pt means it depends on current normal line spacing. % \newskip\multitableparskip \newskip\multitableparindent \newdimen\multitablecolspace \newskip\multitablelinespace \multitableparskip=0pt \multitableparindent=6pt \multitablecolspace=12pt \multitablelinespace=0pt % Macros used to set up halign preamble: % \let\endsetuptable\relax \def\xendsetuptable{\endsetuptable} \let\columnfractions\relax \def\xcolumnfractions{\columnfractions} \newif\ifsetpercent % #1 is the @columnfraction, usually a decimal number like .5, but might % be just 1. We just use it, whatever it is. % \def\pickupwholefraction#1 {% \global\advance\colcount by 1 \expandafter\xdef\csname col\the\colcount\endcsname{#1\hsize}% \setuptable } \newcount\colcount \def\setuptable#1{% \def\firstarg{#1}% \ifx\firstarg\xendsetuptable \let\go = \relax \else \ifx\firstarg\xcolumnfractions \global\setpercenttrue \else \ifsetpercent \let\go\pickupwholefraction \else \global\advance\colcount by 1 \setbox0=\hbox{#1\unskip\space}% Add a normal word space as a % separator; typically that is always in the input, anyway. \expandafter\xdef\csname col\the\colcount\endcsname{\the\wd0}% \fi \fi \ifx\go\pickupwholefraction % Put the argument back for the \pickupwholefraction call, so % we'll always have a period there to be parsed. \def\go{\pickupwholefraction#1}% \else \let\go = \setuptable \fi% \fi \go } % multitable-only commands. % % @headitem starts a heading row, which we typeset in bold. Assignments % have to be global since we are inside the implicit group of an % alignment entry. \everycr below resets \everytab so we don't have to % undo it ourselves. \def\headitemfont{\b}% for people to use in the template row; not changeable \def\headitem{% \checkenv\multitable \crcr \gdef\headitemcrhook{\nobreak}% attempt to avoid page break after headings \global\everytab={\bf}% can't use \headitemfont since the parsing differs \the\everytab % for the first item }% % % default for tables with no headings. \let\headitemcrhook=\relax % % A \tab used to include \hskip1sp. But then the space in a template % line is not enough. That is bad. So let's go back to just `&' until % we again encounter the problem the 1sp was intended to solve. % --karl, nathan@acm.org, 20apr99. \def\tab{\checkenv\multitable &\the\everytab}% % @multitable ... @end multitable definitions: % \newtoks\everytab % insert after every tab. % \envdef\multitable{% \vskip\parskip \startsavinginserts % % @item within a multitable starts a normal row. % We use \def instead of \let so that if one of the multitable entries % contains an @itemize, we don't choke on the \item (seen as \crcr aka % \endtemplate) expanding \doitemize. \def\item{\crcr}% % \tolerance=9500 \hbadness=9500 \setmultitablespacing \parskip=\multitableparskip \parindent=\multitableparindent \overfullrule=0pt \global\colcount=0 % \everycr = {% \noalign{% \global\everytab={}% Reset from possible headitem. \global\colcount=0 % Reset the column counter. % % Check for saved footnotes, etc.: \checkinserts % % Perhaps a \nobreak, then reset: \headitemcrhook \global\let\headitemcrhook=\relax }% }% % \parsearg\domultitable } \def\domultitable#1{% % To parse everything between @multitable and @item: \setuptable#1 \endsetuptable % % This preamble sets up a generic column definition, which will % be used as many times as user calls for columns. % \vtop will set a single line and will also let text wrap and % continue for many paragraphs if desired. \halign\bgroup &% \global\advance\colcount by 1 \multistrut \vtop{% % Use the current \colcount to find the correct column width: \hsize=\expandafter\csname col\the\colcount\endcsname % % In order to keep entries from bumping into each other % we will add a \leftskip of \multitablecolspace to all columns after % the first one. % % If a template has been used, we will add \multitablecolspace % to the width of each template entry. % % If the user has set preamble in terms of percent of \hsize we will % use that dimension as the width of the column, and the \leftskip % will keep entries from bumping into each other. Table will start at % left margin and final column will justify at right margin. % % Make sure we don't inherit \rightskip from the outer environment. \rightskip=0pt \ifnum\colcount=1 % The first column will be indented with the surrounding text. \advance\hsize by\leftskip \else \ifsetpercent \else % If user has not set preamble in terms of percent of \hsize % we will advance \hsize by \multitablecolspace. \advance\hsize by \multitablecolspace \fi % In either case we will make \leftskip=\multitablecolspace: \leftskip=\multitablecolspace \fi % Ignoring space at the beginning and end avoids an occasional spurious % blank line, when TeX decides to break the line at the space before the % box from the multistrut, so the strut ends up on a line by itself. % For example: % @multitable @columnfractions .11 .89 % @item @code{#} % @tab Legal holiday which is valid in major parts of the whole country. % Is automatically provided with highlighting sequences respectively % marking characters. \noindent\ignorespaces##\unskip\multistrut }\cr } \def\Emultitable{% \crcr \egroup % end the \halign \global\setpercentfalse } \def\setmultitablespacing{% \def\multistrut{\strut}% just use the standard line spacing % % Compute \multitablelinespace (if not defined by user) for use in % \multitableparskip calculation. We used define \multistrut based on % this, but (ironically) that caused the spacing to be off. % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100. \ifdim\multitablelinespace=0pt \setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip \global\advance\multitablelinespace by-\ht0 \fi % Test to see if parskip is larger than space between lines of % table. If not, do nothing. % If so, set to same dimension as multitablelinespace. \ifdim\multitableparskip>\multitablelinespace \global\multitableparskip=\multitablelinespace \global\advance\multitableparskip-7pt % to keep parskip somewhat smaller % than skip between lines in the table. \fi% \ifdim\multitableparskip=0pt \global\multitableparskip=\multitablelinespace \global\advance\multitableparskip-7pt % to keep parskip somewhat smaller % than skip between lines in the table. \fi} \message{conditionals,} % @iftex, @ifnotdocbook, @ifnothtml, @ifnotinfo, @ifnotplaintext, % @ifnotxml always succeed. They currently do nothing; we don't % attempt to check whether the conditionals are properly nested. But we % have to remember that they are conditionals, so that @end doesn't % attempt to close an environment group. % \def\makecond#1{% \expandafter\let\csname #1\endcsname = \relax \expandafter\let\csname iscond.#1\endcsname = 1 } \makecond{iftex} \makecond{ifnotdocbook} \makecond{ifnothtml} \makecond{ifnotinfo} \makecond{ifnotplaintext} \makecond{ifnotxml} % Ignore @ignore, @ifhtml, @ifinfo, and the like. % \def\direntry{\doignore{direntry}} \def\documentdescription{\doignore{documentdescription}} \def\docbook{\doignore{docbook}} \def\html{\doignore{html}} \def\ifdocbook{\doignore{ifdocbook}} \def\ifhtml{\doignore{ifhtml}} \def\ifinfo{\doignore{ifinfo}} \def\ifnottex{\doignore{ifnottex}} \def\ifplaintext{\doignore{ifplaintext}} \def\ifxml{\doignore{ifxml}} \def\ignore{\doignore{ignore}} \def\menu{\doignore{menu}} \def\xml{\doignore{xml}} % Ignore text until a line `@end #1', keeping track of nested conditionals. % % A count to remember the depth of nesting. \newcount\doignorecount \def\doignore#1{\begingroup % Scan in ``verbatim'' mode: \obeylines \catcode`\@ = \other \catcode`\{ = \other \catcode`\} = \other % % Make sure that spaces turn into tokens that match what \doignoretext wants. \spaceisspace % % Count number of #1's that we've seen. \doignorecount = 0 % % Swallow text until we reach the matching `@end #1'. \dodoignore{#1}% } { \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source. \obeylines % % \gdef\dodoignore#1{% % #1 contains the command name as a string, e.g., `ifinfo'. % % Define a command to find the next `@end #1'. \long\def\doignoretext##1^^M@end #1{% \doignoretextyyy##1^^M@#1\_STOP_}% % % And this command to find another #1 command, at the beginning of a % line. (Otherwise, we would consider a line `@c @ifset', for % example, to count as an @ifset for nesting.) \long\def\doignoretextyyy##1^^M@#1##2\_STOP_{\doignoreyyy{##2}\_STOP_}% % % And now expand that command. \doignoretext ^^M% }% } \def\doignoreyyy#1{% \def\temp{#1}% \ifx\temp\empty % Nothing found. \let\next\doignoretextzzz \else % Found a nested condition, ... \advance\doignorecount by 1 \let\next\doignoretextyyy % ..., look for another. % If we're here, #1 ends with ^^M\ifinfo (for example). \fi \next #1% the token \_STOP_ is present just after this macro. } % We have to swallow the remaining "\_STOP_". % \def\doignoretextzzz#1{% \ifnum\doignorecount = 0 % We have just found the outermost @end. \let\next\enddoignore \else % Still inside a nested condition. \advance\doignorecount by -1 \let\next\doignoretext % Look for the next @end. \fi \next } % Finish off ignored text. { \obeylines% % Ignore anything after the last `@end #1'; this matters in verbatim % environments, where otherwise the newline after an ignored conditional % would result in a blank line in the output. \gdef\enddoignore#1^^M{\endgroup\ignorespaces}% } % @set VAR sets the variable VAR to an empty value. % @set VAR REST-OF-LINE sets VAR to the value REST-OF-LINE. % % Since we want to separate VAR from REST-OF-LINE (which might be % empty), we can't just use \parsearg; we have to insert a space of our % own to delimit the rest of the line, and then take it out again if we % didn't need it. % We rely on the fact that \parsearg sets \catcode`\ =10. % \parseargdef\set{\setyyy#1 \endsetyyy} \def\setyyy#1 #2\endsetyyy{% {% \makevalueexpandable \def\temp{#2}% \edef\next{\gdef\makecsname{SET#1}}% \ifx\temp\empty \next{}% \else \setzzz#2\endsetzzz \fi }% } % Remove the trailing space \setxxx inserted. \def\setzzz#1 \endsetzzz{\next{#1}} % @clear VAR clears (i.e., unsets) the variable VAR. % \parseargdef\clear{% {% \makevalueexpandable \global\expandafter\let\csname SET#1\endcsname=\relax }% } % @value{foo} gets the text saved in variable foo. \def\value{\begingroup\makevalueexpandable\valuexxx} \def\valuexxx#1{\expandablevalue{#1}\endgroup} { \catcode`\-=\active \catcode`\_=\active % \gdef\makevalueexpandable{% \let\value = \expandablevalue % We don't want these characters active, ... \catcode`\-=\other \catcode`\_=\other % ..., but we might end up with active ones in the argument if % we're called from @code, as @code{@value{foo-bar_}}, though. % So \let them to their normal equivalents. \let-\normaldash \let_\normalunderscore } } % We have this subroutine so that we can handle at least some @value's % properly in indexes (we call \makevalueexpandable in \indexdummies). % The command has to be fully expandable (if the variable is set), since % the result winds up in the index file. This means that if the % variable's value contains other Texinfo commands, it's almost certain % it will fail (although perhaps we could fix that with sufficient work % to do a one-level expansion on the result, instead of complete). % % Unfortunately, this has the consequence that when _ is in the *value* % of an @set, it does not print properly in the roman fonts (get the cmr % dot accent at position 126 instead). No fix comes to mind, and it's % been this way since 2003 or earlier, so just ignore it. % \def\expandablevalue#1{% \expandafter\ifx\csname SET#1\endcsname\relax {[No value for ``#1'']}% \message{Variable `#1', used in @value, is not set.}% \else \csname SET#1\endcsname \fi } % Like \expandablevalue, but completely expandable (the \message in the % definition above operates at the execution level of TeX). Used when % writing to auxiliary files, due to the expansion that \write does. % If flag is undefined, pass through an unexpanded @value command: maybe it % will be set by the time it is read back in. % % NB flag names containing - or _ may not work here. \def\dummyvalue#1{% \expandafter\ifx\csname SET#1\endcsname\relax \noexpand\value{#1}% \else \csname SET#1\endcsname \fi } % Used for @value's in index entries to form the sort key: expand the @value % if possible, otherwise sort late. \def\indexnofontsvalue#1{% \expandafter\ifx\csname SET#1\endcsname\relax ZZZZZZZ \else \csname SET#1\endcsname \fi } % @ifset VAR ... @end ifset reads the `...' iff VAR has been defined % with @set. % % To get the special treatment we need for `@end ifset,' we call % \makecond and then redefine. % \makecond{ifset} \def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}} \def\doifset#1#2{% {% \makevalueexpandable \let\next=\empty \expandafter\ifx\csname SET#2\endcsname\relax #1% If not set, redefine \next. \fi \expandafter }\next } \def\ifsetfail{\doignore{ifset}} % @ifclear VAR ... @end executes the `...' iff VAR has never been % defined with @set, or has been undefined with @clear. % % The `\else' inside the `\doifset' parameter is a trick to reuse the % above code: if the variable is not set, do nothing, if it is set, % then redefine \next to \ifclearfail. % \makecond{ifclear} \def\ifclear{\parsearg{\doifset{\else \let\next=\ifclearfail}}} \def\ifclearfail{\doignore{ifclear}} % @ifcommandisdefined CMD ... @end executes the `...' if CMD (written % without the @) is in fact defined. We can only feasibly check at the % TeX level, so something like `mathcode' is going to considered % defined even though it is not a Texinfo command. % \makecond{ifcommanddefined} \def\ifcommanddefined{\parsearg{\doifcmddefined{\let\next=\ifcmddefinedfail}}} % \def\doifcmddefined#1#2{{% \makevalueexpandable \let\next=\empty \expandafter\ifx\csname #2\endcsname\relax #1% If not defined, \let\next as above. \fi \expandafter }\next } \def\ifcmddefinedfail{\doignore{ifcommanddefined}} % @ifcommandnotdefined CMD ... handled similar to @ifclear above. \makecond{ifcommandnotdefined} \def\ifcommandnotdefined{% \parsearg{\doifcmddefined{\else \let\next=\ifcmdnotdefinedfail}}} \def\ifcmdnotdefinedfail{\doignore{ifcommandnotdefined}} % Set the `txicommandconditionals' variable, so documents have a way to % test if the @ifcommand...defined conditionals are available. \set txicommandconditionals % @dircategory CATEGORY -- specify a category of the dir file % which this file should belong to. Ignore this in TeX. \let\dircategory=\comment % @defininfoenclose. \let\definfoenclose=\comment \message{indexing,} % Index generation facilities % Define \newwrite to be identical to plain tex's \newwrite % except not \outer, so it can be used within macros and \if's. \edef\newwrite{\makecsname{ptexnewwrite}} % \newindex {foo} defines an index named IX. % It automatically defines \IXindex such that % \IXindex ...rest of line... puts an entry in the index IX. % It also defines \IXindfile to be the number of the output channel for % the file that accumulates this index. The file's extension is IX. % The name of an index should be no more than 2 characters long % for the sake of vms. % \def\newindex#1{% \expandafter\chardef\csname#1indfile\endcsname=0 \expandafter\xdef\csname#1index\endcsname{% % Define @#1index \noexpand\doindex{#1}} } % @defindex foo == \newindex{foo} % \def\defindex{\parsearg\newindex} % Define @defcodeindex, like @defindex except put all entries in @code. % \def\defcodeindex{\parsearg\newcodeindex} % \def\newcodeindex#1{% \expandafter\chardef\csname#1indfile\endcsname=0 \expandafter\xdef\csname#1index\endcsname{% \noexpand\docodeindex{#1}}% } % The default indices: \newindex{cp}% concepts, \newcodeindex{fn}% functions, \newcodeindex{vr}% variables, \newcodeindex{tp}% types, \newcodeindex{ky}% keys \newcodeindex{pg}% and programs. % @synindex foo bar makes index foo feed into index bar. % Do this instead of @defindex foo if you don't want it as a separate index. % % @syncodeindex foo bar similar, but put all entries made for index foo % inside @code. % \def\synindex#1 #2 {\dosynindex\doindex{#1}{#2}} \def\syncodeindex#1 #2 {\dosynindex\docodeindex{#1}{#2}} % #1 is \doindex or \docodeindex, #2 the index getting redefined (foo), % #3 the target index (bar). \def\dosynindex#1#2#3{% \requireopenindexfile{#3}% % redefine \fooindfile: \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname \expandafter\let\csname#2indfile\endcsname=\temp % redefine \fooindex: \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}% } % Define \doindex, the driver for all index macros. % Argument #1 is generated by the calling \fooindex macro, % and it is the two-letter name of the index. \def\doindex#1{\edef\indexname{#1}\parsearg\doindexxxx} \def\doindexxxx #1{\doind{\indexname}{#1}} % like the previous two, but they put @code around the argument. \def\docodeindex#1{\edef\indexname{#1}\parsearg\docodeindexxxx} \def\docodeindexxxx #1{\doind{\indexname}{\code{#1}}} % Used when writing an index entry out to an index file to prevent % expansion of Texinfo commands that can appear in an index entry. % \def\indexdummies{% \escapechar = `\\ % use backslash in output files. \definedummyletter\@% \definedummyletter\ % % % For texindex which always views { and } as separators. \def\{{\lbracechar{}}% \def\}{\rbracechar{}}% % % Do the redefinitions. \definedummies } % Used for the aux and toc files, where @ is the escape character. % \def\atdummies{% \definedummyletter\@% \definedummyletter\ % \definedummyletter\{% \definedummyletter\}% % % Do the redefinitions. \definedummies \otherbackslash } % \definedummyword defines \#1 as \string\#1\space, thus effectively % preventing its expansion. This is used only for control words, % not control letters, because the \space would be incorrect for % control characters, but is needed to separate the control word % from whatever follows. % % These can be used both for control words that take an argument and % those that do not. If it is followed by {arg} in the input, then % that will dutifully get written to the index (or wherever). % % For control letters, we have \definedummyletter, which omits the % space. % \def\definedummyword #1{\def#1{\string#1\space}}% \def\definedummyletter#1{\def#1{\string#1}}% \let\definedummyaccent\definedummyletter % Called from \indexdummies and \atdummies, to effectively prevent % the expansion of commands. % \def\definedummies{% % \let\commondummyword\definedummyword \let\commondummyletter\definedummyletter \let\commondummyaccent\definedummyaccent \commondummiesnofonts % \definedummyletter\_% \definedummyletter\-% % % Non-English letters. \definedummyword\AA \definedummyword\AE \definedummyword\DH \definedummyword\L \definedummyword\O \definedummyword\OE \definedummyword\TH \definedummyword\aa \definedummyword\ae \definedummyword\dh \definedummyword\exclamdown \definedummyword\l \definedummyword\o \definedummyword\oe \definedummyword\ordf \definedummyword\ordm \definedummyword\questiondown \definedummyword\ss \definedummyword\th % % Although these internal commands shouldn't show up, sometimes they do. \definedummyword\bf \definedummyword\gtr \definedummyword\hat \definedummyword\less \definedummyword\sf \definedummyword\sl \definedummyword\tclose \definedummyword\tt % \definedummyword\LaTeX \definedummyword\TeX % % Assorted special characters. \definedummyword\atchar \definedummyword\arrow \definedummyword\bullet \definedummyword\comma \definedummyword\copyright \definedummyword\registeredsymbol \definedummyword\dots \definedummyword\enddots \definedummyword\entrybreak \definedummyword\equiv \definedummyword\error \definedummyword\euro \definedummyword\expansion \definedummyword\geq \definedummyword\guillemetleft \definedummyword\guillemetright \definedummyword\guilsinglleft \definedummyword\guilsinglright \definedummyword\lbracechar \definedummyword\leq \definedummyword\mathopsup \definedummyword\minus \definedummyword\ogonek \definedummyword\pounds \definedummyword\point \definedummyword\print \definedummyword\quotedblbase \definedummyword\quotedblleft \definedummyword\quotedblright \definedummyword\quoteleft \definedummyword\quoteright \definedummyword\quotesinglbase \definedummyword\rbracechar \definedummyword\result \definedummyword\sub \definedummyword\sup \definedummyword\textdegree % % We want to disable all macros so that they are not expanded by \write. \macrolist \let\value\dummyvalue % \normalturnoffactive } % \commondummiesnofonts: common to \definedummies and \indexnofonts. % Define \commondummyletter, \commondummyaccent and \commondummyword before % using. Used for accents, font commands, and various control letters. % \def\commondummiesnofonts{% % Control letters and accents. \commondummyletter\!% \commondummyaccent\"% \commondummyaccent\'% \commondummyletter\*% \commondummyaccent\,% \commondummyletter\.% \commondummyletter\/% \commondummyletter\:% \commondummyaccent\=% \commondummyletter\?% \commondummyaccent\^% \commondummyaccent\`% \commondummyaccent\~% \commondummyword\u \commondummyword\v \commondummyword\H \commondummyword\dotaccent \commondummyword\ogonek \commondummyword\ringaccent \commondummyword\tieaccent \commondummyword\ubaraccent \commondummyword\udotaccent \commondummyword\dotless % % Texinfo font commands. \commondummyword\b \commondummyword\i \commondummyword\r \commondummyword\sansserif \commondummyword\sc \commondummyword\slanted \commondummyword\t % % Commands that take arguments. \commondummyword\abbr \commondummyword\acronym \commondummyword\anchor \commondummyword\cite \commondummyword\code \commondummyword\command \commondummyword\dfn \commondummyword\dmn \commondummyword\email \commondummyword\emph \commondummyword\env \commondummyword\file \commondummyword\image \commondummyword\indicateurl \commondummyword\inforef \commondummyword\kbd \commondummyword\key \commondummyword\math \commondummyword\option \commondummyword\pxref \commondummyword\ref \commondummyword\samp \commondummyword\strong \commondummyword\tie \commondummyword\U \commondummyword\uref \commondummyword\url \commondummyword\var \commondummyword\verb \commondummyword\w \commondummyword\xref } % For testing: output @{ and @} in index sort strings as \{ and \}. \newif\ifusebracesinindexes \let\indexlbrace\relax \let\indexrbrace\relax {\catcode`\@=0 \catcode`\\=13 @gdef@backslashdisappear{@def\{}} } { \catcode`\<=13 \catcode`\-=13 \catcode`\`=13 \gdef\indexnonalnumdisappear{% \expandafter\ifx\csname SETtxiindexlquoteignore\endcsname\relax\else % @set txiindexlquoteignore makes us ignore left quotes in the sort term. % (Introduced for FSFS 2nd ed.) \let`=\empty \fi % \expandafter\ifx\csname SETtxiindexbackslashignore\endcsname\relax\else \backslashdisappear \fi % \expandafter\ifx\csname SETtxiindexhyphenignore\endcsname\relax\else \def-{}% \fi \expandafter\ifx\csname SETtxiindexlessthanignore\endcsname\relax\else \def<{}% \fi \expandafter\ifx\csname SETtxiindexatsignignore\endcsname\relax\else \def\@{}% \fi } \gdef\indexnonalnumreappear{% \useindexbackslash \let-\normaldash \let<\normalless \def\@{@}% } } % \indexnofonts is used when outputting the strings to sort the index % by, and when constructing control sequence names. It eliminates all % control sequences and just writes whatever the best ASCII sort string % would be for a given command (usually its argument). % \def\indexnofonts{% % Accent commands should become @asis. \def\commondummyaccent##1{\let##1\asis}% % We can just ignore other control letters. \def\commondummyletter##1{\let##1\empty}% % All control words become @asis by default; overrides below. \let\commondummyword\commondummyaccent \commondummiesnofonts % % Don't no-op \tt, since it isn't a user-level command % and is used in the definitions of the active chars like <, >, |, etc. % Likewise with the other plain tex font commands. %\let\tt=\asis % \def\ { }% \def\@{@}% \def\_{\normalunderscore}% \def\-{}% @- shouldn't affect sorting % \uccode`\1=`\{ \uppercase{\def\{{1}}% \uccode`\1=`\} \uppercase{\def\}{1}}% \let\lbracechar\{% \let\rbracechar\}% % % Non-English letters. \def\AA{AA}% \def\AE{AE}% \def\DH{DZZ}% \def\L{L}% \def\OE{OE}% \def\O{O}% \def\TH{TH}% \def\aa{aa}% \def\ae{ae}% \def\dh{dzz}% \def\exclamdown{!}% \def\l{l}% \def\oe{oe}% \def\ordf{a}% \def\ordm{o}% \def\o{o}% \def\questiondown{?}% \def\ss{ss}% \def\th{th}% % \def\LaTeX{LaTeX}% \def\TeX{TeX}% % % Assorted special characters. \defglyph gives the control sequence a % definition that removes the {} that follows its use. \defglyph\atchar{@}% \defglyph\arrow{->}% \defglyph\bullet{bullet}% \defglyph\comma{,}% \defglyph\copyright{copyright}% \defglyph\dots{...}% \defglyph\enddots{...}% \defglyph\equiv{==}% \defglyph\error{error}% \defglyph\euro{euro}% \defglyph\expansion{==>}% \defglyph\geq{>=}% \defglyph\guillemetleft{<<}% \defglyph\guillemetright{>>}% \defglyph\guilsinglleft{<}% \defglyph\guilsinglright{>}% \defglyph\leq{<=}% \defglyph\lbracechar{\{}% \defglyph\minus{-}% \defglyph\point{.}% \defglyph\pounds{pounds}% \defglyph\print{-|}% \defglyph\quotedblbase{"}% \defglyph\quotedblleft{"}% \defglyph\quotedblright{"}% \defglyph\quoteleft{`}% \defglyph\quoteright{'}% \defglyph\quotesinglbase{,}% \defglyph\rbracechar{\}}% \defglyph\registeredsymbol{R}% \defglyph\result{=>}% \defglyph\textdegree{o}% % % We need to get rid of all macros, leaving only the arguments (if present). % Of course this is not nearly correct, but it is the best we can do for now. % makeinfo does not expand macros in the argument to @deffn, which ends up % writing an index entry, and texindex isn't prepared for an index sort entry % that starts with \. % % Since macro invocations are followed by braces, we can just redefine them % to take a single TeX argument. The case of a macro invocation that % goes to end-of-line is not handled. % \macrolist \let\value\indexnofontsvalue } \def\defglyph#1#2{\def#1##1{#2}} % see above \let\SETmarginindex=\relax % put index entries in margin (undocumented)? % Most index entries go through here, but \dosubind is the general case. % #1 is the index name, #2 is the entry text. \def\doind#1#2{\dosubind{#1}{#2}{}} % There is also \dosubind {index}{topic}{subtopic} % which makes an entry in a two-level index such as the operation index. % TODO: Two-level index? Operation index? % Workhorse for all indexes. % #1 is name of index, #2 is stuff to put there, #3 is subentry -- % empty if called from \doind, as we usually are (the main exception % is with most defuns, which call us directly). % \def\dosubind#1#2#3{% \iflinks {% \requireopenindexfile{#1}% % Store the main index entry text (including the third arg). \toks0 = {#2}% % If third arg is present, precede it with a space. \def\thirdarg{#3}% \ifx\thirdarg\empty \else \toks0 = \expandafter{\the\toks0 \space #3}% \fi % \edef\writeto{\csname#1indfile\endcsname}% % \safewhatsit\dosubindwrite }% \fi } % Check if an index file has been opened, and if not, open it. \def\requireopenindexfile#1{% \ifnum\csname #1indfile\endcsname=0 \expandafter\newwrite \csname#1indfile\endcsname \edef\suffix{#1}% % A .fls suffix would conflict with the file extension for the output % of -recorder, so use .f1s instead. \ifx\suffix\indexisfl\def\suffix{f1}\fi % Open the file \immediate\openout\csname#1indfile\endcsname \jobname.\suffix % Using \immediate above here prevents an object entering into the current % box, which could confound checks such as those in \safewhatsit for % preceding skips. \typeout{Writing index file \jobname.\suffix}% \fi} \def\indexisfl{fl} % Output \ as {\indexbackslash}, because \ is an escape character in % the index files. \let\indexbackslash=\relax {\catcode`\@=0 \catcode`\\=\active @gdef@useindexbackslash{@def\{{@indexbackslash}}} } % Definition for writing index entry text. \def\sortas#1{\ignorespaces}% % Definition for writing index entry sort key. Should occur at the at % the beginning of the index entry, like % @cindex @sortas{september} \september % The \ignorespaces takes care of following space, but there's no way % to remove space before it. { \catcode`\-=13 \gdef\indexwritesortas{% \begingroup \indexnonalnumreappear \indexwritesortasxxx} \gdef\indexwritesortasxxx#1{% \xdef\indexsortkey{#1}\endgroup} } % Write the entry in \toks0 to the index file. % \def\dosubindwrite{% % Put the index entry in the margin if desired. \ifx\SETmarginindex\relax\else \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \the\toks0}}% \fi % % Remember, we are within a group. \indexdummies % Must do this here, since \bf, etc expand at this stage \useindexbackslash % \indexbackslash isn't defined now so it will be output % as is; and it will print as backslash. % The braces around \indexbrace are recognized by texindex. % % Get the string to sort by, by processing the index entry with all % font commands turned off. {\indexnofonts \def\lbracechar{{\indexlbrace}}% \def\rbracechar{{\indexrbrace}}% \let\{=\lbracechar \let\}=\rbracechar \indexnonalnumdisappear \xdef\indexsortkey{}% \let\sortas=\indexwritesortas \edef\temp{\the\toks0}% \setbox\dummybox = \hbox{\temp}% Make sure to execute any \sortas \ifx\indexsortkey\empty \xdef\indexsortkey{\temp}% \ifx\indexsortkey\empty\xdef\indexsortkey{ }\fi \fi }% % % Set up the complete index entry, with both the sort key and % the original text, including any font commands. We write % three arguments to \entry to the .?? file (four in the % subentry case), texindex reduces to two when writing the .??s % sorted result. \edef\temp{% \write\writeto{% \string\entry{\indexsortkey}{\noexpand\folio}{\the\toks0}}% }% \temp } \newbox\dummybox % used above % Take care of unwanted page breaks/skips around a whatsit: % % If a skip is the last thing on the list now, preserve it % by backing up by \lastskip, doing the \write, then inserting % the skip again. Otherwise, the whatsit generated by the % \write or \pdfdest will make \lastskip zero. The result is that % sequences like this: % @end defun % @tindex whatever % @defun ... % will have extra space inserted, because the \medbreak in the % start of the @defun won't see the skip inserted by the @end of % the previous defun. % % But don't do any of this if we're not in vertical mode. We % don't want to do a \vskip and prematurely end a paragraph. % % Avoid page breaks due to these extra skips, too. % % But wait, there is a catch there: % We'll have to check whether \lastskip is zero skip. \ifdim is not % sufficient for this purpose, as it ignores stretch and shrink parts % of the skip. The only way seems to be to check the textual % representation of the skip. % % The following is almost like \def\zeroskipmacro{0.0pt} except that % the ``p'' and ``t'' characters have catcode \other, not 11 (letter). % \edef\zeroskipmacro{\expandafter\the\csname z@skip\endcsname} % \newskip\whatsitskip \newcount\whatsitpenalty % % ..., ready, GO: % \def\safewhatsit#1{\ifhmode #1% \else % \lastskip and \lastpenalty cannot both be nonzero simultaneously. \whatsitskip = \lastskip \edef\lastskipmacro{\the\lastskip}% \whatsitpenalty = \lastpenalty % % If \lastskip is nonzero, that means the last item was a % skip. And since a skip is discardable, that means this % -\whatsitskip glue we're inserting is preceded by a % non-discardable item, therefore it is not a potential % breakpoint, therefore no \nobreak needed. \ifx\lastskipmacro\zeroskipmacro \else \vskip-\whatsitskip \fi % #1% % \ifx\lastskipmacro\zeroskipmacro % If \lastskip was zero, perhaps the last item was a penalty, and % perhaps it was >=10000, e.g., a \nobreak. In that case, we want % to re-insert the same penalty (values >10000 are used for various % signals); since we just inserted a non-discardable item, any % following glue (such as a \parskip) would be a breakpoint. For example: % @deffn deffn-whatever % @vindex index-whatever % Description. % would allow a break between the index-whatever whatsit % and the "Description." paragraph. \ifnum\whatsitpenalty>9999 \penalty\whatsitpenalty \fi \else % On the other hand, if we had a nonzero \lastskip, % this make-up glue would be preceded by a non-discardable item % (the whatsit from the \write), so we must insert a \nobreak. \nobreak\vskip\whatsitskip \fi \fi} % The index entry written in the file actually looks like % \entry {sortstring}{page}{topic} % or % \entry {sortstring}{page}{topic}{subtopic} % The texindex program reads in these files and writes files % containing these kinds of lines: % \initial {c} % before the first topic whose initial is c % \entry {topic}{pagelist} % for a topic that is used without subtopics % \primary {topic} % for the beginning of a topic that is used with subtopics % \secondary {subtopic}{pagelist} % for each subtopic. % Define the user-accessible indexing commands % @findex, @vindex, @kindex, @cindex. \def\findex {\fnindex} \def\kindex {\kyindex} \def\cindex {\cpindex} \def\vindex {\vrindex} \def\tindex {\tpindex} \def\pindex {\pgindex} \def\cindexsub {\begingroup\obeylines\cindexsub} {\obeylines % \gdef\cindexsub "#1" #2^^M{\endgroup % \dosubind{cp}{#2}{#1}}} % Define the macros used in formatting output of the sorted index material. % @printindex causes a particular index (the ??s file) to get printed. % It does not print any chapter heading (usually an @unnumbered). % \parseargdef\printindex{\begingroup \dobreak \chapheadingskip{10000}% % \smallfonts \rm \tolerance = 9500 \plainfrenchspacing \everypar = {}% don't want the \kern\-parindent from indentation suppression. % % See if the index file exists and is nonempty. % Change catcode of @ here so that if the index file contains % \initial {@} % as its first line, TeX doesn't complain about mismatched braces % (because it thinks @} is a control sequence). \catcode`\@ = 12 % See comment in \requireopenindexfile. \def\indexname{#1}\ifx\indexname\indexisfl\def\indexname{f1}\fi \openin 1 \jobname.\indexname s \ifeof 1 % \enddoublecolumns gets confused if there is no text in the index, % and it loses the chapter title and the aux file entries for the % index. The easiest way to prevent this problem is to make sure % there is some text. \putwordIndexNonexistent \typeout{No file \jobname.\indexname s.}% \else \catcode`\\ = 0 % % If the index file exists but is empty, then \openin leaves \ifeof % false. We have to make TeX try to read something from the file, so % it can discover if there is anything in it. \read 1 to \thisline \ifeof 1 \putwordIndexIsEmpty \else % Index files are almost Texinfo source, but we use \ as the escape % character. It would be better to use @, but that's too big a change % to make right now. \def\indexbackslash{\ttbackslash}% \let\indexlbrace\{ % Likewise, set these sequences for braces \let\indexrbrace\} % used in the sort key. \begindoublecolumns \let\dotheinsertentrybox\dotheinsertentryboxwithpenalty % % Read input from the index file line by line. \loopdo \ifeof1 \else \read 1 to \nextline \fi % \indexinputprocessing \thisline % \ifeof1\else \let\thisline\nextline \repeat %% \enddoublecolumns \fi \fi \closein 1 \endgroup} \def\loopdo#1\repeat{\def\body{#1}\loopdoxxx} \def\loopdoxxx{\let\next=\relax\body\let\next=\loopdoxxx\fi\next} \def\indexinputprocessing{% \ifeof1 \let\firsttoken\relax \else \edef\act{\gdef\noexpand\firsttoken{\getfirsttoken\nextline}}% \act \fi } \def\getfirsttoken#1{\expandafter\getfirsttokenx#1\endfirsttoken} \long\def\getfirsttokenx#1#2\endfirsttoken{\noexpand#1} % These macros are used by the sorted index file itself. % Change them to control the appearance of the index. {\catcode`\/=13 \catcode`\-=13 \catcode`\^=13 \catcode`\~=13 \catcode`\_=13 \catcode`\|=13 \catcode`\<=13 \catcode`\>=13 \catcode`\+=13 \catcode`\"=13 \catcode`\$=3 \gdef\initialglyphs{% % Some changes for non-alphabetic characters. Using the glyphs from the % math fonts looks more consistent than the typewriter font used elsewhere % for these characters. \def\indexbackslash{\math{\backslash}}% \let\\=\indexbackslash % % Can't get bold backslash so don't use bold forward slash \catcode`\/=13 \def/{{\secrmnotbold \normalslash}}% \def-{{\normaldash\normaldash}}% en dash `--' \def^{{\chapbf \normalcaret}}% \def~{{\chapbf \normaltilde}}% \def\_{% \leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }% \def|{$\vert$}% \def<{$\less$}% \def>{$\gtr$}% \def+{$\normalplus$}% }} \def\initial{% \bgroup \initialglyphs \initialx } \def\initialx#1{% % Remove any glue we may have, we'll be inserting our own. \removelastskip % % We like breaks before the index initials, so insert a bonus. % The glue before the bonus allows a little bit of space at the % bottom of a column to reduce an increase in inter-line spacing. \nobreak \vskip 0pt plus 5\baselineskip \penalty -300 \vskip 0pt plus -5\baselineskip % % Typeset the initial. Making this add up to a whole number of % baselineskips increases the chance of the dots lining up from column % to column. It still won't often be perfect, because of the stretch % we need before each entry, but it's better. % % No shrink because it confuses \balancecolumns. \vskip 1.67\baselineskip plus 1\baselineskip \leftline{\secfonts \kern-0.05em \secbf #1}% % \secfonts is inside the argument of \leftline so that the change of % \baselineskip will not affect any glue inserted before the vbox that % \leftline creates. % Do our best not to break after the initial. \nobreak \vskip .33\baselineskip plus .1\baselineskip \egroup % \initialglyphs } \newdimen\entryrightmargin \entryrightmargin=0pt % \entry typesets a paragraph consisting of the text (#1), dot leaders, and % then page number (#2) flushed to the right margin. It is used for index % and table of contents entries. The paragraph is indented by \leftskip. % \def\entry{% \begingroup % % For pdfTeX and XeTeX. % The redefinition of \domark stops marks being added in \pdflink to % preserve coloured links across page boundaries. Otherwise the marks % would get in the way of \lastbox in \insertentrybox. \let\domark\relax % % Start a new paragraph if necessary, so our assignments below can't % affect previous text. \par % % No extra space above this paragraph. \parskip = 0in % % When reading the text of entry, convert explicit line breaks % from @* into spaces. The user might give these in long section % titles, for instance. \def\*{\unskip\space\ignorespaces}% \def\entrybreak{\hfil\break}% An undocumented command % % Swallow the left brace of the text (first parameter): \afterassignment\doentry \let\temp = } \def\entrybreak{\unskip\space\ignorespaces}% \def\doentry{% % Save the text of the entry \global\setbox\boxA=\hbox\bgroup \bgroup % Instead of the swallowed brace. \noindent \aftergroup\finishentry % And now comes the text of the entry. % Not absorbing as a macro argument reduces the chance of problems % with catcodes occurring. } {\catcode`\@=11 \gdef\finishentry#1{% \egroup % end box A \dimen@ = \wd\boxA % Length of text of entry \global\setbox\boxA=\hbox\bgroup\unhbox\boxA % #1 is the page number. % % Get the width of the page numbers, and only use % leaders if they are present. \global\setbox\boxB = \hbox{#1}% \ifdim\wd\boxB = 0pt \null\nobreak\hfill\ % \else % \null\nobreak\indexdotfill % Have leaders before the page number. % \ifpdf \pdfgettoks#1.% \hskip\skip\thinshrinkable\the\toksA \else \ifx\XeTeXrevision\thisisundefined \hskip\skip\thinshrinkable #1% \else \pdfgettoks#1.% \hskip\skip\thinshrinkable\the\toksA \fi \fi \fi \egroup % end \boxA \ifdim\wd\boxB = 0pt \global\setbox\entrybox=\vbox{\unhbox\boxA}% \else \global\setbox\entrybox=\vbox\bgroup % We want the text of the entries to be aligned to the left, and the % page numbers to be aligned to the right. % \parindent = 0pt \advance\leftskip by 0pt plus 1fil \advance\leftskip by 0pt plus -1fill \rightskip = 0pt plus -1fil \advance\rightskip by 0pt plus 1fill % Cause last line, which could consist of page numbers on their own % if the list of page numbers is long, to be aligned to the right. \parfillskip=0pt plus -1fill % \advance\rightskip by \entryrightmargin % Determine how far we can stretch into the margin. % This allows, e.g., "Appendix H GNU Free Documentation License" to % fit on one line in @letterpaper format. \ifdim\entryrightmargin>2.1em \dimen@i=2.1em \else \dimen@i=0em \fi \advance \parfillskip by 0pt minus 1\dimen@i % \dimen@ii = \hsize \advance\dimen@ii by -1\leftskip \advance\dimen@ii by -1\entryrightmargin \advance\dimen@ii by 1\dimen@i \ifdim\wd\boxA > \dimen@ii % If the entry doesn't fit in one line \ifdim\dimen@ > 0.8\dimen@ii % due to long index text % Try to split the text roughly evenly. \dimen@ will be the length of % the first line. \dimen@ = 0.7\dimen@ \dimen@ii = \hsize \ifnum\dimen@>\dimen@ii % If the entry is too long (for example, if it needs more than % two lines), use all the space in the first line. \dimen@ = \dimen@ii \fi \advance\leftskip by 0pt plus 1fill % ragged right \advance \dimen@ by 1\rightskip \parshape = 2 0pt \dimen@ 0em \dimen@ii % Ideally we'd add a finite glue at the end of the first line only, % instead of using \parshape with explicit line lengths, but TeX % doesn't seem to provide a way to do such a thing. % % Indent all lines but the first one. \advance\leftskip by 1em \advance\parindent by -1em \fi\fi \indent % start paragraph \unhbox\boxA % % Do not prefer a separate line ending with a hyphen to fewer lines. \finalhyphendemerits = 0 % % Word spacing - no stretch \spaceskip=\fontdimen2\font minus \fontdimen4\font % \linepenalty=1000 % Discourage line breaks. \hyphenpenalty=5000 % Discourage hyphenation. % \par % format the paragraph \egroup % The \vbox \fi \endgroup \dotheinsertentrybox }} \newskip\thinshrinkable \skip\thinshrinkable=.15em minus .15em \newbox\entrybox \def\insertentrybox{% \ourunvbox\entrybox } % default definition \let\dotheinsertentrybox\insertentrybox % Use \lastbox to take apart vbox box by box, and add each sub-box % to the current vertical list. \def\ourunvbox#1{% \bgroup % for local binding of \delayedbox % Remove the last box from box #1 \global\setbox#1=\vbox{% \unvbox#1% \unskip % remove any glue \unpenalty \global\setbox\interbox=\lastbox }% \setbox\delayedbox=\box\interbox \ifdim\ht#1=0pt\else \ourunvbox#1 % Repeat on what's left of the box \nobreak \fi \box\delayedbox \egroup } \newbox\delayedbox \newbox\interbox % Used from \printindex. \firsttoken should be the first token % after the \entry. If it's not another \entry, we are at the last % line of a group of index entries, so insert a penalty to discourage % widowed index entries. \def\dotheinsertentryboxwithpenalty{% \ifx\firsttoken\isentry \else \penalty 9000 \fi \insertentrybox } \def\isentry{\entry}% % Like plain.tex's \dotfill, except uses up at least 1 em. % The filll stretch here overpowers both the fil and fill stretch to push % the page number to the right. \def\indexdotfill{\cleaders \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1filll} \def\primary #1{\line{#1\hfil}} \newskip\secondaryindent \secondaryindent=0.5cm \def\secondary#1#2{{% \parfillskip=0in \parskip=0in \hangindent=1in \hangafter=1 \noindent\hskip\secondaryindent\hbox{#1}\indexdotfill \ifpdf \pdfgettoks#2.\ \the\toksA % The page number ends the paragraph. \else \ifx\XeTeXrevision\thisisundefined #2 \else \pdfgettoks#2.\ \the\toksA % The page number ends the paragraph. \fi \fi \par }} % Define two-column mode, which we use to typeset indexes. % Adapted from the TeXbook, page 416, which is to say, % the manmac.tex format used to print the TeXbook itself. \catcode`\@=11 % private names \newbox\partialpage \newdimen\doublecolumnhsize % Use inside an output routine to save \topmark and \firstmark \def\savemarks{% \global\savedtopmark=\expandafter{\topmark }% \global\savedfirstmark=\expandafter{\firstmark }% } \newtoks\savedtopmark \newtoks\savedfirstmark % Set \topmark and \firstmark for next time \output runs. % Can't be run from withinside \output (because any material % added while an output routine is active, including % penalties, is saved for after it finishes). The page so far % should be empty, otherwise what's on it will be thrown away. \def\restoremarks{% \mark{\the\savedtopmark}% \bgroup\output = {% \setbox\dummybox=\box\PAGE }abc\eject\egroup % "abc" because output routine doesn't fire for a completely empty page. \mark{\the\savedfirstmark}% } \def\begindoublecolumns{\begingroup % ended by \enddoublecolumns % If not much space left on page, start a new page. \ifdim\pagetotal>0.8\vsize\vfill\eject\fi % % Grab any single-column material above us. \output = {% % % Here is a possibility not foreseen in manmac: if we accumulate a % whole lot of material, we might end up calling this \output % routine twice in a row (see the doublecol-lose test, which is % essentially a couple of indexes with @setchapternewpage off). In % that case we just ship out what is in \partialpage with the normal % output routine. Generally, \partialpage will be empty when this % runs and this will be a no-op. See the indexspread.tex test case. \ifvoid\partialpage \else \onepageout{\pagecontents\partialpage}% \fi % \global\setbox\partialpage = \vbox{% % Unvbox the main output page. \unvbox\PAGE \kern-\topskip \kern\baselineskip }% \savemarks }% \eject % run that output routine to set \partialpage \restoremarks % % We recover the two marks that the last output routine saved in order % to propagate the information in marks added around a chapter heading, % which could be otherwise be lost by the time the final page is output. % % % Use the double-column output routine for subsequent pages. \output = {\doublecolumnout}% % % Change the page size parameters. We could do this once outside this % routine, in each of @smallbook, @afourpaper, and the default 8.5x11 % format, but then we repeat the same computation. Repeating a couple % of assignments once per index is clearly meaningless for the % execution time, so we may as well do it in one place. % % First we halve the line length, less a little for the gutter between % the columns. We compute the gutter based on the line length, so it % changes automatically with the paper format. The magic constant % below is chosen so that the gutter has the same value (well, +-<1pt) % as it did when we hard-coded it. % % We put the result in a separate register, \doublecolumhsize, so we % can restore it in \pagesofar, after \hsize itself has (potentially) % been clobbered. % \doublecolumnhsize = \hsize \advance\doublecolumnhsize by -.04154\hsize \divide\doublecolumnhsize by 2 \hsize = \doublecolumnhsize % % Double the \vsize as well. \advance\vsize by -\ht\partialpage \vsize = 2\vsize % % For the benefit of balancing columns \advance\baselineskip by 0pt plus 0.5pt } % The double-column output routine for all double-column pages except % the last, which is done by \balancecolumns. % \def\doublecolumnout{% % \splittopskip=\topskip \splitmaxdepth=\maxdepth % Get the available space for the double columns -- the normal % (undoubled) page height minus any material left over from the % previous page. \dimen@ = \vsize \divide\dimen@ by 2 % % box0 will be the left-hand column, box2 the right. \setbox0=\vsplit\PAGE to\dimen@ \setbox2=\vsplit\PAGE to\dimen@ \global\advance\vsize by 2\ht\partialpage \onepageout\pagesofar \unvbox\PAGE \penalty\outputpenalty } % % Re-output the contents of the output page -- any previous material, % followed by the two boxes we just split, in box0 and box2. \def\pagesofar{% \unvbox\partialpage % \hsize = \doublecolumnhsize \wd0=\hsize \wd2=\hsize \hbox to\txipagewidth{\box0\hfil\box2}% } % Finished with with double columns. \def\enddoublecolumns{% % The following penalty ensures that the page builder is exercised % _before_ we change the output routine. This is necessary in the % following situation: % % The last section of the index consists only of a single entry. % Before this section, \pagetotal is less than \pagegoal, so no % break occurs before the last section starts. However, the last % section, consisting of \initial and the single \entry, does not % fit on the page and has to be broken off. Without the following % penalty the page builder will not be exercised until \eject % below, and by that time we'll already have changed the output % routine to the \balancecolumns version, so the next-to-last % double-column page will be processed with \balancecolumns, which % is wrong: The two columns will go to the main vertical list, with % the broken-off section in the recent contributions. As soon as % the output routine finishes, TeX starts reconsidering the page % break. The two columns and the broken-off section both fit on the % page, because the two columns now take up only half of the page % goal. When TeX sees \eject from below which follows the final % section, it invokes the new output routine that we've set after % \balancecolumns below; \onepageout will try to fit the two columns % and the final section into the vbox of \txipageheight (see % \pagebody), causing an overfull box. % % Note that glue won't work here, because glue does not exercise the % page builder, unlike penalties (see The TeXbook, pp. 280-281). \penalty0 % \output = {% % Split the last of the double-column material. \savemarks \balancecolumns }% \eject % call the \output just set \ifdim\pagetotal=0pt % Having called \balancecolumns once, we do not % want to call it again. Therefore, reset \output to its normal % definition right away. \global\output = {\onepageout{\pagecontents\PAGE}}% % \endgroup % started in \begindoublecolumns \restoremarks % Leave the double-column material on the current page, no automatic % page break. \box\balancedcolumns % % \pagegoal was set to the doubled \vsize above, since we restarted % the current page. We're now back to normal single-column % typesetting, so reset \pagegoal to the normal \vsize. \global\vsize = \txipageheight % \pagegoal = \txipageheight % \else % We had some left-over material. This might happen when \doublecolumnout % is called in \balancecolumns. Try again. \expandafter\enddoublecolumns \fi } \newbox\balancedcolumns \setbox\balancedcolumns=\vbox{shouldnt see this}% % % Only called for the last of the double column material. \doublecolumnout % does the others. \def\balancecolumns{% \setbox0 = \vbox{\unvbox\PAGE}% like \box255 but more efficient, see p.120. \dimen@ = \ht0 \advance\dimen@ by \topskip \advance\dimen@ by-\baselineskip \ifdim\dimen@<5\baselineskip % Don't split a short final column in two. \setbox2=\vbox{}% \global\setbox\balancedcolumns=\vbox{\pagesofar}% \else \divide\dimen@ by 2 % target to split to \dimen@ii = \dimen@ \splittopskip = \topskip % Loop until left column is at least as high as the right column. {% \vbadness = 10000 \loop \global\setbox3 = \copy0 \global\setbox1 = \vsplit3 to \dimen@ \ifdim\ht1<\ht3 \global\advance\dimen@ by 1pt \repeat }% % Now the left column is in box 1, and the right column in box 3. % % Check whether the left column has come out higher than the page itself. % (Note that we have doubled \vsize for the double columns, so % the actual height of the page is 0.5\vsize). \ifdim2\ht1>\vsize % It appears that we have been called upon to balance too much material. % Output some of it with \doublecolumnout, leaving the rest on the page. \setbox\PAGE=\box0 \doublecolumnout \else % Compare the heights of the two columns. \ifdim4\ht1>5\ht3 % Column heights are too different, so don't make their bottoms % flush with each other. \setbox2=\vbox to \ht1 {\unvbox3\vfill}% \setbox0=\vbox to \ht1 {\unvbox1\vfill}% \else % Make column bottoms flush with each other. \setbox2=\vbox to\ht1{\unvbox3\unskip}% \setbox0=\vbox to\ht1{\unvbox1\unskip}% \fi \global\setbox\balancedcolumns=\vbox{\pagesofar}% \fi \fi % } \catcode`\@ = \other \message{sectioning,} % Chapters, sections, etc. % Let's start with @part. \outer\parseargdef\part{\partzzz{#1}} \def\partzzz#1{% \chapoddpage \null \vskip.3\vsize % move it down on the page a bit \begingroup \noindent \titlefonts\rm #1\par % the text \let\lastnode=\empty % no node to associate with \writetocentry{part}{#1}{}% but put it in the toc \headingsoff % no headline or footline on the part page % This outputs a mark at the end of the page that clears \thischapter % and \thissection, as is done in \startcontents. \let\pchapsepmacro\relax \chapmacro{}{Yomitfromtoc}{}% \chapoddpage \endgroup } % \unnumberedno is an oxymoron. But we count the unnumbered % sections so that we can refer to them unambiguously in the pdf % outlines by their "section number". We avoid collisions with chapter % numbers by starting them at 10000. (If a document ever has 10000 % chapters, we're in trouble anyway, I'm sure.) \newcount\unnumberedno \unnumberedno = 10000 \newcount\chapno \newcount\secno \secno=0 \newcount\subsecno \subsecno=0 \newcount\subsubsecno \subsubsecno=0 % This counter is funny since it counts through charcodes of letters A, B, ... \newcount\appendixno \appendixno = `\@ % % \def\appendixletter{\char\the\appendixno} % We do the following ugly conditional instead of the above simple % construct for the sake of pdftex, which needs the actual % letter in the expansion, not just typeset. % \def\appendixletter{% \ifnum\appendixno=`A A% \else\ifnum\appendixno=`B B% \else\ifnum\appendixno=`C C% \else\ifnum\appendixno=`D D% \else\ifnum\appendixno=`E E% \else\ifnum\appendixno=`F F% \else\ifnum\appendixno=`G G% \else\ifnum\appendixno=`H H% \else\ifnum\appendixno=`I I% \else\ifnum\appendixno=`J J% \else\ifnum\appendixno=`K K% \else\ifnum\appendixno=`L L% \else\ifnum\appendixno=`M M% \else\ifnum\appendixno=`N N% \else\ifnum\appendixno=`O O% \else\ifnum\appendixno=`P P% \else\ifnum\appendixno=`Q Q% \else\ifnum\appendixno=`R R% \else\ifnum\appendixno=`S S% \else\ifnum\appendixno=`T T% \else\ifnum\appendixno=`U U% \else\ifnum\appendixno=`V V% \else\ifnum\appendixno=`W W% \else\ifnum\appendixno=`X X% \else\ifnum\appendixno=`Y Y% \else\ifnum\appendixno=`Z Z% % The \the is necessary, despite appearances, because \appendixletter is % expanded while writing the .toc file. \char\appendixno is not % expandable, thus it is written literally, thus all appendixes come out % with the same letter (or @) in the toc without it. \else\char\the\appendixno \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} % Each @chapter defines these (using marks) as the number+name, number % and name of the chapter. Page headings and footings can use % these. @section does likewise. \def\thischapter{} \def\thischapternum{} \def\thischaptername{} \def\thissection{} \def\thissectionnum{} \def\thissectionname{} \newcount\absseclevel % used to calculate proper heading level \newcount\secbase\secbase=0 % @raisesections/@lowersections modify this count % @raisesections: treat @section as chapter, @subsection as section, etc. \def\raisesections{\global\advance\secbase by -1} \let\up=\raisesections % original BFox name % @lowersections: treat @chapter as section, @section as subsection, etc. \def\lowersections{\global\advance\secbase by 1} \let\down=\lowersections % original BFox name % we only have subsub. \chardef\maxseclevel = 3 % % A numbered section within an unnumbered changes to unnumbered too. % To achieve this, remember the "biggest" unnum. sec. we are currently in: \chardef\unnlevel = \maxseclevel % % Trace whether the current chapter is an appendix or not: % \chapheadtype is "N" or "A", unnumbered chapters are ignored. \def\chapheadtype{N} % Choose a heading macro % #1 is heading type % #2 is heading level % #3 is text for heading \def\genhead#1#2#3{% % Compute the abs. sec. level: \absseclevel=#2 \advance\absseclevel by \secbase % Make sure \absseclevel doesn't fall outside the range: \ifnum \absseclevel < 0 \absseclevel = 0 \else \ifnum \absseclevel > 3 \absseclevel = 3 \fi \fi % The heading type: \def\headtype{#1}% \if \headtype U% \ifnum \absseclevel < \unnlevel \chardef\unnlevel = \absseclevel \fi \else % Check for appendix sections: \ifnum \absseclevel = 0 \edef\chapheadtype{\headtype}% \else \if \headtype A\if \chapheadtype N% \errmessage{@appendix... within a non-appendix chapter}% \fi\fi \fi % Check for numbered within unnumbered: \ifnum \absseclevel > \unnlevel \def\headtype{U}% \else \chardef\unnlevel = 3 \fi \fi % Now print the heading: \if \headtype U% \ifcase\absseclevel \unnumberedzzz{#3}% \or \unnumberedseczzz{#3}% \or \unnumberedsubseczzz{#3}% \or \unnumberedsubsubseczzz{#3}% \fi \else \if \headtype A% \ifcase\absseclevel \appendixzzz{#3}% \or \appendixsectionzzz{#3}% \or \appendixsubseczzz{#3}% \or \appendixsubsubseczzz{#3}% \fi \else \ifcase\absseclevel \chapterzzz{#3}% \or \seczzz{#3}% \or \numberedsubseczzz{#3}% \or \numberedsubsubseczzz{#3}% \fi \fi \fi \suppressfirstparagraphindent } % an interface: \def\numhead{\genhead N} \def\apphead{\genhead A} \def\unnmhead{\genhead U} % @chapter, @appendix, @unnumbered. Increment top-level counter, reset % all lower-level sectioning counters to zero. % % Also set \chaplevelprefix, which we prepend to @float sequence numbers % (e.g., figures), q.v. By default (before any chapter), that is empty. \let\chaplevelprefix = \empty % \outer\parseargdef\chapter{\numhead0{#1}} % normally numhead0 calls chapterzzz \def\chapterzzz#1{% % section resetting is \global in case the chapter is in a group, such % as an @include file. \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 \global\advance\chapno by 1 % % Used for \float. \gdef\chaplevelprefix{\the\chapno.}% \resetallfloatnos % % \putwordChapter can contain complex things in translations. \toks0=\expandafter{\putwordChapter}% \message{\the\toks0 \space \the\chapno}% % % Write the actual heading. \chapmacro{#1}{Ynumbered}{\the\chapno}% % % So @section and the like are numbered underneath this chapter. \global\let\section = \numberedsec \global\let\subsection = \numberedsubsec \global\let\subsubsection = \numberedsubsubsec } \outer\parseargdef\appendix{\apphead0{#1}} % normally calls appendixzzz % \def\appendixzzz#1{% \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 \global\advance\appendixno by 1 \gdef\chaplevelprefix{\appendixletter.}% \resetallfloatnos % % \putwordAppendix can contain complex things in translations. \toks0=\expandafter{\putwordAppendix}% \message{\the\toks0 \space \appendixletter}% % \chapmacro{#1}{Yappendix}{\appendixletter}% % \global\let\section = \appendixsec \global\let\subsection = \appendixsubsec \global\let\subsubsection = \appendixsubsubsec } % normally unnmhead0 calls unnumberedzzz: \outer\parseargdef\unnumbered{\unnmhead0{#1}} \def\unnumberedzzz#1{% \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 \global\advance\unnumberedno by 1 % % Since an unnumbered has no number, no prefix for figures. \global\let\chaplevelprefix = \empty \resetallfloatnos % % This used to be simply \message{#1}, but TeX fully expands the % argument to \message. Therefore, if #1 contained @-commands, TeX % expanded them. For example, in `@unnumbered The @cite{Book}', TeX % expanded @cite (which turns out to cause errors because \cite is meant % to be executed, not expanded). % % Anyway, we don't want the fully-expanded definition of @cite to appear % as a result of the \message, we just want `@cite' itself. We use % \the to achieve this: TeX expands \the only once, % simply yielding the contents of . (We also do this for % the toc entries.) \toks0 = {#1}% \message{(\the\toks0)}% % \chapmacro{#1}{Ynothing}{\the\unnumberedno}% % \global\let\section = \unnumberedsec \global\let\subsection = \unnumberedsubsec \global\let\subsubsection = \unnumberedsubsubsec } % @centerchap is like @unnumbered, but the heading is centered. \outer\parseargdef\centerchap{% \let\centerparametersmaybe = \centerparameters \unnmhead0{#1}% \let\centerparametersmaybe = \relax } % @top is like @unnumbered. \let\top\unnumbered % Sections. % \outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz \def\seczzz#1{% \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}% } % normally calls appendixsectionzzz: \outer\parseargdef\appendixsection{\apphead1{#1}} \def\appendixsectionzzz#1{% \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}% } \let\appendixsec\appendixsection % normally calls unnumberedseczzz: \outer\parseargdef\unnumberedsec{\unnmhead1{#1}} \def\unnumberedseczzz#1{% \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno.\the\secno}% } % Subsections. % % normally calls numberedsubseczzz: \outer\parseargdef\numberedsubsec{\numhead2{#1}} \def\numberedsubseczzz#1{% \global\subsubsecno=0 \global\advance\subsecno by 1 \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}% } % normally calls appendixsubseczzz: \outer\parseargdef\appendixsubsec{\apphead2{#1}} \def\appendixsubseczzz#1{% \global\subsubsecno=0 \global\advance\subsecno by 1 \sectionheading{#1}{subsec}{Yappendix}% {\appendixletter.\the\secno.\the\subsecno}% } % normally calls unnumberedsubseczzz: \outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}} \def\unnumberedsubseczzz#1{% \global\subsubsecno=0 \global\advance\subsecno by 1 \sectionheading{#1}{subsec}{Ynothing}% {\the\unnumberedno.\the\secno.\the\subsecno}% } % Subsubsections. % % normally numberedsubsubseczzz: \outer\parseargdef\numberedsubsubsec{\numhead3{#1}} \def\numberedsubsubseczzz#1{% \global\advance\subsubsecno by 1 \sectionheading{#1}{subsubsec}{Ynumbered}% {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}% } % normally appendixsubsubseczzz: \outer\parseargdef\appendixsubsubsec{\apphead3{#1}} \def\appendixsubsubseczzz#1{% \global\advance\subsubsecno by 1 \sectionheading{#1}{subsubsec}{Yappendix}% {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}% } % normally unnumberedsubsubseczzz: \outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}} \def\unnumberedsubsubseczzz#1{% \global\advance\subsubsecno by 1 \sectionheading{#1}{subsubsec}{Ynothing}% {\the\unnumberedno.\the\secno.\the\subsecno.\the\subsubsecno}% } % These macros control what the section commands do, according % to what kind of chapter we are in (ordinary, appendix, or unnumbered). % Define them by default for a numbered chapter. \let\section = \numberedsec \let\subsection = \numberedsubsec \let\subsubsection = \numberedsubsubsec % Define @majorheading, @heading and @subheading \def\majorheading{% {\advance\chapheadingskip by 10pt \chapbreak }% \parsearg\chapheadingzzz } \def\chapheading{\chapbreak \parsearg\chapheadingzzz} \def\chapheadingzzz#1{% \vbox{\chapfonts \raggedtitlesettings #1\par}% \nobreak\bigskip \nobreak \suppressfirstparagraphindent } % @heading, @subheading, @subsubheading. \parseargdef\heading{\sectionheading{#1}{sec}{Yomitfromtoc}{} \suppressfirstparagraphindent} \parseargdef\subheading{\sectionheading{#1}{subsec}{Yomitfromtoc}{} \suppressfirstparagraphindent} \parseargdef\subsubheading{\sectionheading{#1}{subsubsec}{Yomitfromtoc}{} \suppressfirstparagraphindent} % These macros generate a chapter, section, etc. heading only % (including whitespace, linebreaking, etc. around it), % given all the information in convenient, parsed form. % Args are the skip and penalty (usually negative) \def\dobreak#1#2{\par\ifdim\lastskip<#1\removelastskip\penalty#2\vskip#1\fi} % Parameter controlling skip before chapter headings (if needed) \newskip\chapheadingskip % Define plain chapter starts, and page on/off switching for it. \def\chapbreak{\dobreak \chapheadingskip {-4000}} % Start a new page \def\chappager{\par\vfill\supereject} % \chapoddpage - start on an odd page for a new chapter % Because \domark is called before \chapoddpage, the filler page will % get the headings for the next chapter, which is wrong. But we don't % care -- we just disable all headings on the filler page. \def\chapoddpage{% \chappager \ifodd\pageno \else \begingroup \headingsoff \null \chappager \endgroup \fi } \parseargdef\setchapternewpage{\csname CHAPPAG#1\endcsname} \def\CHAPPAGoff{% \global\let\contentsalignmacro = \chappager \global\let\pchapsepmacro=\chapbreak \global\let\pagealignmacro=\chappager} \def\CHAPPAGon{% \global\let\contentsalignmacro = \chappager \global\let\pchapsepmacro=\chappager \global\let\pagealignmacro=\chappager \global\def\HEADINGSon{\HEADINGSsingle}} \def\CHAPPAGodd{% \global\let\contentsalignmacro = \chapoddpage \global\let\pchapsepmacro=\chapoddpage \global\let\pagealignmacro=\chapoddpage \global\def\HEADINGSon{\HEADINGSdouble}} \CHAPPAGon % \chapmacro - Chapter opening. % % #1 is the text, #2 is the section type (Ynumbered, Ynothing, % Yappendix, Yomitfromtoc), #3 the chapter number. % Not used for @heading series. % % To test against our argument. \def\Ynothingkeyword{Ynothing} \def\Yappendixkeyword{Yappendix} \def\Yomitfromtockeyword{Yomitfromtoc} % \def\chapmacro#1#2#3{% \expandafter\ifx\thisenv\titlepage\else \checkenv{}% chapters, etc., should not start inside an environment. \fi % FIXME: \chapmacro is currently called from inside \titlepage when % \setcontentsaftertitlepage to print the "Table of Contents" heading, but % this should probably be done by \sectionheading with an option to print % in chapter size. % % Insert the first mark before the heading break (see notes for \domark). \let\prevchapterdefs=\lastchapterdefs \let\prevsectiondefs=\lastsectiondefs \gdef\lastsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}% \gdef\thissection{}}% % \def\temptype{#2}% \ifx\temptype\Ynothingkeyword \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% \gdef\thischapter{\thischaptername}}% \else\ifx\temptype\Yomitfromtockeyword \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% \gdef\thischapter{}}% \else\ifx\temptype\Yappendixkeyword \toks0={#1}% \xdef\lastchapterdefs{% \gdef\noexpand\thischaptername{\the\toks0}% \gdef\noexpand\thischapternum{\appendixletter}% % \noexpand\putwordAppendix avoids expanding indigestible % commands in some of the translations. \gdef\noexpand\thischapter{\noexpand\putwordAppendix{} \noexpand\thischapternum: \noexpand\thischaptername}% }% \else \toks0={#1}% \xdef\lastchapterdefs{% \gdef\noexpand\thischaptername{\the\toks0}% \gdef\noexpand\thischapternum{\the\chapno}% % \noexpand\putwordChapter avoids expanding indigestible % commands in some of the translations. \gdef\noexpand\thischapter{\noexpand\putwordChapter{} \noexpand\thischapternum: \noexpand\thischaptername}% }% \fi\fi\fi % % Output the mark. Pass it through \safewhatsit, to take care of % the preceding space. \safewhatsit\domark % % Insert the chapter heading break. \pchapsepmacro % % Now the second mark, after the heading break. No break points % between here and the heading. \let\prevchapterdefs=\lastchapterdefs \let\prevsectiondefs=\lastsectiondefs \domark % {% \chapfonts \rm \let\footnote=\errfootnoteheading % give better error message % % Have to define \lastsection before calling \donoderef, because the % xref code eventually uses it. On the other hand, it has to be called % after \pchapsepmacro, or the headline will change too soon. \gdef\lastsection{#1}% % % Only insert the separating space if we have a chapter/appendix % number, and don't print the unnumbered ``number''. \ifx\temptype\Ynothingkeyword \setbox0 = \hbox{}% \def\toctype{unnchap}% \else\ifx\temptype\Yomitfromtockeyword \setbox0 = \hbox{}% contents like unnumbered, but no toc entry \def\toctype{omit}% \else\ifx\temptype\Yappendixkeyword \setbox0 = \hbox{\putwordAppendix{} #3\enspace}% \def\toctype{app}% \else \setbox0 = \hbox{#3\enspace}% \def\toctype{numchap}% \fi\fi\fi % % Write the toc entry for this chapter. Must come before the % \donoderef, because we include the current node name in the toc % entry, and \donoderef resets it to empty. \writetocentry{\toctype}{#1}{#3}% % % For pdftex, we have to write out the node definition (aka, make % the pdfdest) after any page break, but before the actual text has % been typeset. If the destination for the pdf outline is after the % text, then jumping from the outline may wind up with the text not % being visible, for instance under high magnification. \donoderef{#2}% % % Typeset the actual heading. \nobreak % Avoid page breaks at the interline glue. \vbox{\raggedtitlesettings \hangindent=\wd0 \centerparametersmaybe \unhbox0 #1\par}% }% \nobreak\bigskip % no page break after a chapter title \nobreak } % @centerchap -- centered and unnumbered. \let\centerparametersmaybe = \relax \def\centerparameters{% \advance\rightskip by 3\rightskip \leftskip = \rightskip \parfillskip = 0pt } % Section titles. These macros combine the section number parts and % call the generic \sectionheading to do the printing. % \newskip\secheadingskip \def\secheadingbreak{\dobreak \secheadingskip{-1000}} % Subsection titles. \newskip\subsecheadingskip \def\subsecheadingbreak{\dobreak \subsecheadingskip{-500}} % Subsubsection titles. \def\subsubsecheadingskip{\subsecheadingskip} \def\subsubsecheadingbreak{\subsecheadingbreak} % Print any size, any type, section title. % % #1 is the text of the title, % #2 is the section level (sec/subsec/subsubsec), % #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc), % #4 is the section number. % \def\seckeyword{sec} % \def\sectionheading#1#2#3#4{% {% \def\sectionlevel{#2}% \def\temptype{#3}% % % It is ok for the @heading series commands to appear inside an % environment (it's been historically allowed, though the logic is % dubious), but not the others. \ifx\temptype\Yomitfromtockeyword\else \checkenv{}% non-@*heading should not be in an environment. \fi \let\footnote=\errfootnoteheading % % Switch to the right set of fonts. \csname #2fonts\endcsname \rm % % Insert first mark before the heading break (see notes for \domark). \let\prevsectiondefs=\lastsectiondefs \ifx\temptype\Ynothingkeyword \ifx\sectionlevel\seckeyword \gdef\lastsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}% \gdef\thissection{\thissectionname}}% \fi \else\ifx\temptype\Yomitfromtockeyword % Don't redefine \thissection. \else\ifx\temptype\Yappendixkeyword \ifx\sectionlevel\seckeyword \toks0={#1}% \xdef\lastsectiondefs{% \gdef\noexpand\thissectionname{\the\toks0}% \gdef\noexpand\thissectionnum{#4}% % \noexpand\putwordSection avoids expanding indigestible % commands in some of the translations. \gdef\noexpand\thissection{\noexpand\putwordSection{} \noexpand\thissectionnum: \noexpand\thissectionname}% }% \fi \else \ifx\sectionlevel\seckeyword \toks0={#1}% \xdef\lastsectiondefs{% \gdef\noexpand\thissectionname{\the\toks0}% \gdef\noexpand\thissectionnum{#4}% % \noexpand\putwordSection avoids expanding indigestible % commands in some of the translations. \gdef\noexpand\thissection{\noexpand\putwordSection{} \noexpand\thissectionnum: \noexpand\thissectionname}% }% \fi \fi\fi\fi % % Go into vertical mode. Usually we'll already be there, but we % don't want the following whatsit to end up in a preceding paragraph % if the document didn't happen to have a blank line. \par % % Output the mark. Pass it through \safewhatsit, to take care of % the preceding space. \safewhatsit\domark % % Insert space above the heading. \csname #2headingbreak\endcsname % % Now the second mark, after the heading break. No break points % between here and the heading. \global\let\prevsectiondefs=\lastsectiondefs \domark % % Only insert the space after the number if we have a section number. \ifx\temptype\Ynothingkeyword \setbox0 = \hbox{}% \def\toctype{unn}% \gdef\lastsection{#1}% \else\ifx\temptype\Yomitfromtockeyword % for @headings -- no section number, don't include in toc, % and don't redefine \lastsection. \setbox0 = \hbox{}% \def\toctype{omit}% \let\sectionlevel=\empty \else\ifx\temptype\Yappendixkeyword \setbox0 = \hbox{#4\enspace}% \def\toctype{app}% \gdef\lastsection{#1}% \else \setbox0 = \hbox{#4\enspace}% \def\toctype{num}% \gdef\lastsection{#1}% \fi\fi\fi % % Write the toc entry (before \donoderef). See comments in \chapmacro. \writetocentry{\toctype\sectionlevel}{#1}{#4}% % % Write the node reference (= pdf destination for pdftex). % Again, see comments in \chapmacro. \donoderef{#3}% % % Interline glue will be inserted when the vbox is completed. % That glue will be a valid breakpoint for the page, since it'll be % preceded by a whatsit (usually from the \donoderef, or from the % \writetocentry if there was no node). We don't want to allow that % break, since then the whatsits could end up on page n while the % section is on page n+1, thus toc/etc. are wrong. Debian bug 276000. \nobreak % % Output the actual section heading. \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright \hangindent=\wd0 % zero if no section number \unhbox0 #1}% }% % Add extra space after the heading -- half of whatever came above it. % Don't allow stretch, though. \kern .5 \csname #2headingskip\endcsname % % Do not let the kern be a potential breakpoint, as it would be if it % was followed by glue. \nobreak % % We'll almost certainly start a paragraph next, so don't let that % glue accumulate. (Not a breakpoint because it's preceded by a % discardable item.) However, when a paragraph is not started next % (\startdefun, \cartouche, \center, etc.), this needs to be wiped out % or the negative glue will cause weirdly wrong output, typically % obscuring the section heading with something else. \vskip-\parskip % % This is so the last item on the main vertical list is a known % \penalty > 10000, so \startdefun, etc., can recognize the situation % and do the needful. \penalty 10001 } \message{toc,} % Table of contents. \newwrite\tocfile % Write an entry to the toc file, opening it if necessary. % Called from @chapter, etc. % % Example usage: \writetocentry{sec}{Section Name}{\the\chapno.\the\secno} % We append the current node name (if any) and page number as additional % arguments for the \{chap,sec,...}entry macros which will eventually % read this. The node name is used in the pdf outlines as the % destination to jump to. % % We open the .toc file for writing here instead of at @setfilename (or % any other fixed time) so that @contents can be anywhere in the document. % But if #1 is `omit', then we don't do anything. This is used for the % table of contents chapter openings themselves. % \newif\iftocfileopened \def\omitkeyword{omit}% % \def\writetocentry#1#2#3{% \edef\writetoctype{#1}% \ifx\writetoctype\omitkeyword \else \iftocfileopened\else \immediate\openout\tocfile = \jobname.toc \global\tocfileopenedtrue \fi % \iflinks {\atdummies \edef\temp{% \write\tocfile{@#1entry{#2}{#3}{\lastnode}{\noexpand\folio}}}% \temp }% \fi \fi % % Tell \shipout to create a pdf destination on each page, if we're % writing pdf. These are used in the table of contents. We can't % just write one on every page because the title pages are numbered % 1 and 2 (the page numbers aren't printed), and so are the first % two pages of the document. Thus, we'd have two destinations named % `1', and two named `2'. \ifpdf \global\pdfmakepagedesttrue \else \ifx\XeTeXrevision\thisisundefined \else \global\pdfmakepagedesttrue \fi \fi } % These characters do not print properly in the Computer Modern roman % fonts, so we must take special care. This is more or less redundant % with the Texinfo input format setup at the end of this file. % \def\activecatcodes{% \catcode`\"=\active \catcode`\$=\active \catcode`\<=\active \catcode`\>=\active \catcode`\\=\active \catcode`\^=\active \catcode`\_=\active \catcode`\|=\active \catcode`\~=\active } % Read the toc file, which is essentially Texinfo input. \def\readtocfile{% \setupdatafile \activecatcodes \input \tocreadfilename } \newskip\contentsrightmargin \contentsrightmargin=1in \newcount\savepageno \newcount\lastnegativepageno \lastnegativepageno = -1 % Prepare to read what we've written to \tocfile. % \def\startcontents#1{% % If @setchapternewpage on, and @headings double, the contents should % start on an odd page, unlike chapters. Thus, we maintain % \contentsalignmacro in parallel with \pagealignmacro. % From: Torbjorn Granlund \contentsalignmacro \immediate\closeout\tocfile % % Don't need to put `Contents' or `Short Contents' in the headline. % It is abundantly clear what they are. \chapmacro{#1}{Yomitfromtoc}{}% % \savepageno = \pageno \begingroup % Set up to handle contents files properly. \raggedbottom % Worry more about breakpoints than the bottom. \entryrightmargin=\contentsrightmargin % Don't use the full line length. % % Roman numerals for page numbers. \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi } % redefined for the two-volume lispref. We always output on % \jobname.toc even if this is redefined. % \def\tocreadfilename{\jobname.toc} % Normal (long) toc. % \def\contents{% \startcontents{\putwordTOC}% \openin 1 \tocreadfilename\space \ifeof 1 \else \readtocfile \fi \vfill \eject \contentsalignmacro % in case @setchapternewpage odd is in effect \ifeof 1 \else \pdfmakeoutlines \fi \closein 1 \endgroup \lastnegativepageno = \pageno \global\pageno = \savepageno } % And just the chapters. \def\summarycontents{% \startcontents{\putwordShortTOC}% % \let\partentry = \shortpartentry \let\numchapentry = \shortchapentry \let\appentry = \shortchapentry \let\unnchapentry = \shortunnchapentry % We want a true roman here for the page numbers. \secfonts \let\rm=\shortcontrm \let\bf=\shortcontbf \let\sl=\shortcontsl \let\tt=\shortconttt \rm \hyphenpenalty = 10000 \advance\baselineskip by 1pt % Open it up a little. \def\numsecentry##1##2##3##4{} \let\appsecentry = \numsecentry \let\unnsecentry = \numsecentry \let\numsubsecentry = \numsecentry \let\appsubsecentry = \numsecentry \let\unnsubsecentry = \numsecentry \let\numsubsubsecentry = \numsecentry \let\appsubsubsecentry = \numsecentry \let\unnsubsubsecentry = \numsecentry \openin 1 \tocreadfilename\space \ifeof 1 \else \readtocfile \fi \closein 1 \vfill \eject \contentsalignmacro % in case @setchapternewpage odd is in effect \endgroup \lastnegativepageno = \pageno \global\pageno = \savepageno } \let\shortcontents = \summarycontents % Typeset the label for a chapter or appendix for the short contents. % The arg is, e.g., `A' for an appendix, or `3' for a chapter. % \def\shortchaplabel#1{% % This space should be enough, since a single number is .5em, and the % widest letter (M) is 1em, at least in the Computer Modern fonts. % But use \hss just in case. % (This space doesn't include the extra space that gets added after % the label; that gets put in by \shortchapentry above.) % % We'd like to right-justify chapter numbers, but that looks strange % with appendix letters. And right-justifying numbers and % left-justifying letters looks strange when there is less than 10 % chapters. Have to read the whole toc once to know how many chapters % there are before deciding ... \hbox to 1em{#1\hss}% } % These macros generate individual entries in the table of contents. % The first argument is the chapter or section name. % The last argument is the page number. % The arguments in between are the chapter number, section number, ... % Parts, in the main contents. Replace the part number, which doesn't % exist, with an empty box. Let's hope all the numbers have the same width. % Also ignore the page number, which is conventionally not printed. \def\numeralbox{\setbox0=\hbox{8}\hbox to \wd0{\hfil}} \def\partentry#1#2#3#4{% % Add stretch and a bonus for breaking the page before the part heading. % This reduces the chance of the page being broken immediately after the % part heading, before a following chapter heading. \vskip 0pt plus 5\baselineskip \penalty-300 \vskip 0pt plus -5\baselineskip \dochapentry{\numeralbox\labelspace#1}{}% } % % Parts, in the short toc. \def\shortpartentry#1#2#3#4{% \penalty-300 \vskip.5\baselineskip plus.15\baselineskip minus.1\baselineskip \shortchapentry{{\bf #1}}{\numeralbox}{}{}% } % Chapters, in the main contents. \def\numchapentry#1#2#3#4{\dochapentry{#2\labelspace#1}{#4}} % Chapters, in the short toc. % See comments in \dochapentry re vbox and related settings. \def\shortchapentry#1#2#3#4{% \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#4\egroup}% } % Appendices, in the main contents. % Need the word Appendix, and a fixed-size box. % \def\appendixbox#1{% % We use M since it's probably the widest letter. \setbox0 = \hbox{\putwordAppendix{} M}% \hbox to \wd0{\putwordAppendix{} #1\hss}} % \def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\hskip.7em#1}{#4}} % Unnumbered chapters. \def\unnchapentry#1#2#3#4{\dochapentry{#1}{#4}} \def\shortunnchapentry#1#2#3#4{\tocentry{#1}{\doshortpageno\bgroup#4\egroup}} % Sections. \def\numsecentry#1#2#3#4{\dosecentry{#2\labelspace#1}{#4}} \let\appsecentry=\numsecentry \def\unnsecentry#1#2#3#4{\dosecentry{#1}{#4}} % Subsections. \def\numsubsecentry#1#2#3#4{\dosubsecentry{#2\labelspace#1}{#4}} \let\appsubsecentry=\numsubsecentry \def\unnsubsecentry#1#2#3#4{\dosubsecentry{#1}{#4}} % And subsubsections. \def\numsubsubsecentry#1#2#3#4{\dosubsubsecentry{#2\labelspace#1}{#4}} \let\appsubsubsecentry=\numsubsubsecentry \def\unnsubsubsecentry#1#2#3#4{\dosubsubsecentry{#1}{#4}} % This parameter controls the indentation of the various levels. % Same as \defaultparindent. \newdimen\tocindent \tocindent = 15pt % Now for the actual typesetting. In all these, #1 is the text and #2 is the % page number. % % If the toc has to be broken over pages, we want it to be at chapters % if at all possible; hence the \penalty. \def\dochapentry#1#2{% \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip \begingroup % Move the page numbers slightly to the right \advance\entryrightmargin by -0.05em \chapentryfonts \tocentry{#1}{\dopageno\bgroup#2\egroup}% \endgroup \nobreak\vskip .25\baselineskip plus.1\baselineskip } \def\dosecentry#1#2{\begingroup \secentryfonts \leftskip=\tocindent \tocentry{#1}{\dopageno\bgroup#2\egroup}% \endgroup} \def\dosubsecentry#1#2{\begingroup \subsecentryfonts \leftskip=2\tocindent \tocentry{#1}{\dopageno\bgroup#2\egroup}% \endgroup} \def\dosubsubsecentry#1#2{\begingroup \subsubsecentryfonts \leftskip=3\tocindent \tocentry{#1}{\dopageno\bgroup#2\egroup}% \endgroup} % We use the same \entry macro as for the index entries. \let\tocentry = \entry % Space between chapter (or whatever) number and the title. \def\labelspace{\hskip1em \relax} \def\dopageno#1{{\rm #1}} \def\doshortpageno#1{{\rm #1}} \def\chapentryfonts{\secfonts \rm} \def\secentryfonts{\textfonts} \def\subsecentryfonts{\textfonts} \def\subsubsecentryfonts{\textfonts} \message{environments,} % @foo ... @end foo. % @tex ... @end tex escapes into raw TeX temporarily. % One exception: @ is still an escape character, so that @end tex works. % But \@ or @@ will get a plain @ character. \envdef\tex{% \setupmarkupstyle{tex}% \catcode `\\=0 \catcode `\{=1 \catcode `\}=2 \catcode `\$=3 \catcode `\&=4 \catcode `\#=6 \catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie \catcode `\%=14 \catcode `\+=\other \catcode `\"=\other \catcode `\|=\other \catcode `\<=\other \catcode `\>=\other \catcode `\`=\other \catcode `\'=\other % % ' is active in math mode (mathcode"8000). So reset it, and all our % other math active characters (just in case), to plain's definitions. \mathactive % % Inverse of the list at the beginning of the file. \let\b=\ptexb \let\bullet=\ptexbullet \let\c=\ptexc \let\,=\ptexcomma \let\.=\ptexdot \let\dots=\ptexdots \let\equiv=\ptexequiv \let\!=\ptexexclam \let\i=\ptexi \let\indent=\ptexindent \let\noindent=\ptexnoindent \let\{=\ptexlbrace \let\+=\tabalign \let\}=\ptexrbrace \let\/=\ptexslash \let\sp=\ptexsp \let\*=\ptexstar %\let\sup=\ptexsup % do not redefine, we want @sup to work in math mode \let\t=\ptext \expandafter \let\csname top\endcsname=\ptextop % we've made it outer \let\frenchspacing=\plainfrenchspacing % \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}% \def\enddots{\relax\ifmmode\endldots\else$\mathsurround=0pt \endldots\,$\fi}% \def\@{@}% } % There is no need to define \Etex. % Define @lisp ... @end lisp. % @lisp environment forms a group so it can rebind things, % including the definition of @end lisp (which normally is erroneous). % Amount to narrow the margins by for @lisp. \newskip\lispnarrowing \lispnarrowing=0.4in % This is the definition that ^^M gets inside @lisp, @example, and other % such environments. \null is better than a space, since it doesn't % have any width. \def\lisppar{\null\endgraf} % This space is always present above and below environments. \newskip\envskipamount \envskipamount = 0pt % Make spacing and below environment symmetrical. We use \parskip here % to help in doing that, since in @example-like environments \parskip % is reset to zero; thus the \afterenvbreak inserts no space -- but the % start of the next paragraph will insert \parskip. % \def\aboveenvbreak{{% % =10000 instead of <10000 because of a special case in \itemzzz and % \sectionheading, q.v. \ifnum \lastpenalty=10000 \else \advance\envskipamount by \parskip \endgraf \ifdim\lastskip<\envskipamount \removelastskip \ifnum\lastpenalty<10000 % Penalize breaking before the environment, because preceding text % often leads into it. \penalty100 \fi \vskip\envskipamount \fi \fi }} \def\afterenvbreak{{% % =10000 instead of <10000 because of a special case in \itemzzz and % \sectionheading, q.v. \ifnum \lastpenalty=10000 \else \advance\envskipamount by \parskip \endgraf \ifdim\lastskip<\envskipamount \removelastskip % it's not a good place to break if the last penalty was \nobreak % or better ... \ifnum\lastpenalty<10000 \penalty-50 \fi \vskip\envskipamount \fi \fi }} % \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will % also clear it, so that its embedded environments do the narrowing again. \let\nonarrowing=\relax % @cartouche ... @end cartouche: draw rectangle w/rounded corners around % environment contents. \font\circle=lcircle10 \newdimen\circthick \newdimen\cartouter\newdimen\cartinner \newskip\normbskip\newskip\normpskip\newskip\normlskip \circthick=\fontdimen8\circle % \def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth \def\ctr{{\hskip 6pt\circle\char'010}} \def\cbl{{\circle\char'012\hskip -6pt}} \def\cbr{{\hskip 6pt\circle\char'011}} \def\carttop{\hbox to \cartouter{\hskip\lskip \ctl\leaders\hrule height\circthick\hfil\ctr \hskip\rskip}} \def\cartbot{\hbox to \cartouter{\hskip\lskip \cbl\leaders\hrule height\circthick\hfil\cbr \hskip\rskip}} % \newskip\lskip\newskip\rskip \envdef\cartouche{% \ifhmode\par\fi % can't be in the midst of a paragraph. \startsavinginserts \lskip=\leftskip \rskip=\rightskip \leftskip=0pt\rightskip=0pt % we want these *outside*. \cartinner=\hsize \advance\cartinner by-\lskip \advance\cartinner by-\rskip \cartouter=\hsize \advance\cartouter by 18.4pt % allow for 3pt kerns on either % side, and for 6pt waste from % each corner char, and rule thickness \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip % % If this cartouche directly follows a sectioning command, we need the % \parskip glue (backspaced over by default) or the cartouche can % collide with the section heading. \ifnum\lastpenalty>10000 \vskip\parskip \penalty\lastpenalty \fi % \setbox\groupbox=\vbox\bgroup \baselineskip=0pt\parskip=0pt\lineskip=0pt \carttop \hbox\bgroup \hskip\lskip \vrule\kern3pt \vbox\bgroup \kern3pt \hsize=\cartinner \baselineskip=\normbskip \lineskip=\normlskip \parskip=\normpskip \vskip -\parskip \comment % For explanation, see the end of def\group. } \def\Ecartouche{% \ifhmode\par\fi \kern3pt \egroup \kern3pt\vrule \hskip\rskip \egroup \cartbot \egroup \addgroupbox \checkinserts } % This macro is called at the beginning of all the @example variants, % inside a group. \newdimen\nonfillparindent \def\nonfillstart{% \aboveenvbreak \ifdim\hfuzz < 12pt \hfuzz = 12pt \fi % Don't be fussy \sepspaces % Make spaces be word-separators rather than space tokens. \let\par = \lisppar % don't ignore blank lines \obeylines % each line of input is a line of output \parskip = 0pt % Turn off paragraph indentation but redefine \indent to emulate % the normal \indent. \nonfillparindent=\parindent \parindent = 0pt \let\indent\nonfillindent % \emergencystretch = 0pt % don't try to avoid overfull boxes \ifx\nonarrowing\relax \advance \leftskip by \lispnarrowing \exdentamount=\lispnarrowing \else \let\nonarrowing = \relax \fi \let\exdent=\nofillexdent } \begingroup \obeyspaces % We want to swallow spaces (but not other tokens) after the fake % @indent in our nonfill-environments, where spaces are normally % active and set to @tie, resulting in them not being ignored after % @indent. \gdef\nonfillindent{\futurelet\temp\nonfillindentcheck}% \gdef\nonfillindentcheck{% \ifx\temp % \expandafter\nonfillindentgobble% \else% \leavevmode\nonfillindentbox% \fi% }% \endgroup \def\nonfillindentgobble#1{\nonfillindent} \def\nonfillindentbox{\hbox to \nonfillparindent{\hss}} % If you want all examples etc. small: @set dispenvsize small. % If you want even small examples the full size: @set dispenvsize nosmall. % This affects the following displayed environments: % @example, @display, @format, @lisp % \def\smallword{small} \def\nosmallword{nosmall} \let\SETdispenvsize\relax \def\setnormaldispenv{% \ifx\SETdispenvsize\smallword % end paragraph for sake of leading, in case document has no blank % line. This is redundant with what happens in \aboveenvbreak, but % we need to do it before changing the fonts, and it's inconvenient % to change the fonts afterward. \ifnum \lastpenalty=10000 \else \endgraf \fi \smallexamplefonts \rm \fi } \def\setsmalldispenv{% \ifx\SETdispenvsize\nosmallword \else \ifnum \lastpenalty=10000 \else \endgraf \fi \smallexamplefonts \rm \fi } % We often define two environments, @foo and @smallfoo. % Let's do it in one command. #1 is the env name, #2 the definition. \def\makedispenvdef#1#2{% \expandafter\envdef\csname#1\endcsname {\setnormaldispenv #2}% \expandafter\envdef\csname small#1\endcsname {\setsmalldispenv #2}% \expandafter\let\csname E#1\endcsname \afterenvbreak \expandafter\let\csname Esmall#1\endcsname \afterenvbreak } % Define two environment synonyms (#1 and #2) for an environment. \def\maketwodispenvdef#1#2#3{% \makedispenvdef{#1}{#3}% \makedispenvdef{#2}{#3}% } % % @lisp: indented, narrowed, typewriter font; % @example: same as @lisp. % % @smallexample and @smalllisp: use smaller fonts. % Originally contributed by Pavel@xerox. % \maketwodispenvdef{lisp}{example}{% \nonfillstart \tt\setupmarkupstyle{example}% \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special. \gobble % eat return } % @display/@smalldisplay: same as @lisp except keep current font. % \makedispenvdef{display}{% \nonfillstart \gobble } % @format/@smallformat: same as @display except don't narrow margins. % \makedispenvdef{format}{% \let\nonarrowing = t% \nonfillstart \gobble } % @flushleft: same as @format, but doesn't obey \SETdispenvsize. \envdef\flushleft{% \let\nonarrowing = t% \nonfillstart \gobble } \let\Eflushleft = \afterenvbreak % @flushright. % \envdef\flushright{% \let\nonarrowing = t% \nonfillstart \advance\leftskip by 0pt plus 1fill\relax \gobble } \let\Eflushright = \afterenvbreak % @raggedright does more-or-less normal line breaking but no right % justification. From plain.tex. Don't stretch around special % characters in urls in this environment, since the stretch at the right % should be enough. \envdef\raggedright{% \rightskip0pt plus2.4em \spaceskip.3333em \xspaceskip.5em\relax \def\urefprestretchamount{0pt}% \def\urefpoststretchamount{0pt}% } \let\Eraggedright\par \envdef\raggedleft{% \parindent=0pt \leftskip0pt plus2em \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt \hbadness=10000 % Last line will usually be underfull, so turn off % badness reporting. } \let\Eraggedleft\par \envdef\raggedcenter{% \parindent=0pt \rightskip0pt plus1em \leftskip0pt plus1em \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt \hbadness=10000 % Last line will usually be underfull, so turn off % badness reporting. } \let\Eraggedcenter\par % @quotation does normal linebreaking (hence we can't use \nonfillstart) % and narrows the margins. We keep \parskip nonzero in general, since % we're doing normal filling. So, when using \aboveenvbreak and % \afterenvbreak, temporarily make \parskip 0. % \makedispenvdef{quotation}{\quotationstart} % \def\quotationstart{% \indentedblockstart % same as \indentedblock, but increase right margin too. \ifx\nonarrowing\relax \advance\rightskip by \lispnarrowing \fi \parsearg\quotationlabel } % We have retained a nonzero parskip for the environment, since we're % doing normal filling. % \def\Equotation{% \par \ifx\quotationauthor\thisisundefined\else % indent a bit. \leftline{\kern 2\leftskip \sl ---\quotationauthor}% \fi {\parskip=0pt \afterenvbreak}% } \def\Esmallquotation{\Equotation} % If we're given an argument, typeset it in bold with a colon after. \def\quotationlabel#1{% \def\temp{#1}% \ifx\temp\empty \else {\bf #1: }% \fi } % @indentedblock is like @quotation, but indents only on the left and % has no optional argument. % \makedispenvdef{indentedblock}{\indentedblockstart} % \def\indentedblockstart{% {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip \parindent=0pt % % @cartouche defines \nonarrowing to inhibit narrowing at next level down. \ifx\nonarrowing\relax \advance\leftskip by \lispnarrowing \exdentamount = \lispnarrowing \else \let\nonarrowing = \relax \fi } % Keep a nonzero parskip for the environment, since we're doing normal filling. % \def\Eindentedblock{% \par {\parskip=0pt \afterenvbreak}% } \def\Esmallindentedblock{\Eindentedblock} % LaTeX-like @verbatim...@end verbatim and @verb{...} % If we want to allow any as delimiter, % we need the curly braces so that makeinfo sees the @verb command, eg: % `@verbx...x' would look like the '@verbx' command. --janneke@gnu.org % % [Knuth]: Donald Ervin Knuth, 1996. The TeXbook. % % [Knuth] p.344; only we need to do the other characters Texinfo sets % active too. Otherwise, they get lost as the first character on a % verbatim line. \def\dospecials{% \do\ \do\\\do\{\do\}\do\$\do\&% \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~% \do\<\do\>\do\|\do\@\do+\do\"% % Don't do the quotes -- if we do, @set txicodequoteundirected and % @set txicodequotebacktick will not have effect on @verb and % @verbatim, and ?` and !` ligatures won't get disabled. %\do\`\do\'% } % % [Knuth] p. 380 \def\uncatcodespecials{% \def\do##1{\catcode`##1=\other}\dospecials} % % Setup for the @verb command. % % Eight spaces for a tab \begingroup \catcode`\^^I=\active \gdef\tabeightspaces{\catcode`\^^I=\active\def^^I{\ \ \ \ \ \ \ \ }} \endgroup % \def\setupverb{% \tt % easiest (and conventionally used) font for verbatim \def\par{\leavevmode\endgraf}% \setupmarkupstyle{verb}% \tabeightspaces % Respect line breaks, % print special symbols as themselves, and % make each space count % must do in this order: \obeylines \uncatcodespecials \sepspaces } % Setup for the @verbatim environment % % Real tab expansion. \newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount % % We typeset each line of the verbatim in an \hbox, so we can handle % tabs. The \global is in case the verbatim line starts with an accent, % or some other command that starts with a begin-group. Otherwise, the % entire \verbbox would disappear at the corresponding end-group, before % it is typeset. Meanwhile, we can't have nested verbatim commands % (can we?), so the \global won't be overwriting itself. \newbox\verbbox \def\starttabbox{\global\setbox\verbbox=\hbox\bgroup} % \begingroup \catcode`\^^I=\active \gdef\tabexpand{% \catcode`\^^I=\active \def^^I{\leavevmode\egroup \dimen\verbbox=\wd\verbbox % the width so far, or since the previous tab \divide\dimen\verbbox by\tabw \multiply\dimen\verbbox by\tabw % compute previous multiple of \tabw \advance\dimen\verbbox by\tabw % advance to next multiple of \tabw \wd\verbbox=\dimen\verbbox \box\verbbox \starttabbox }% } \endgroup % start the verbatim environment. \def\setupverbatim{% \let\nonarrowing = t% \nonfillstart \tt % easiest (and conventionally used) font for verbatim % The \leavevmode here is for blank lines. Otherwise, we would % never \starttabox and the \egroup would end verbatim mode. \def\par{\leavevmode\egroup\box\verbbox\endgraf}% \tabexpand \setupmarkupstyle{verbatim}% % Respect line breaks, % print special symbols as themselves, and % make each space count. % Must do in this order: \obeylines \uncatcodespecials \sepspaces \everypar{\starttabbox}% } % Do the @verb magic: verbatim text is quoted by unique % delimiter characters. Before first delimiter expect a % right brace, after last delimiter expect closing brace: % % \def\doverb'{'#1'}'{#1} % % [Knuth] p. 382; only eat outer {} \begingroup \catcode`[=1\catcode`]=2\catcode`\{=\other\catcode`\}=\other \gdef\doverb{#1[\def\next##1#1}[##1\endgroup]\next] \endgroup % \def\verb{\begingroup\setupverb\doverb} % % % Do the @verbatim magic: define the macro \doverbatim so that % the (first) argument ends when '@end verbatim' is reached, ie: % % \def\doverbatim#1@end verbatim{#1} % % For Texinfo it's a lot easier than for LaTeX, % because texinfo's \verbatim doesn't stop at '\end{verbatim}': % we need not redefine '\', '{' and '}'. % % Inspired by LaTeX's verbatim command set [latex.ltx] % \begingroup \catcode`\ =\active \obeylines % % ignore everything up to the first ^^M, that's the newline at the end % of the @verbatim input line itself. Otherwise we get an extra blank % line in the output. \xdef\doverbatim#1^^M#2@end verbatim{#2\noexpand\end\gobble verbatim}% % We really want {...\end verbatim} in the body of the macro, but % without the active space; thus we have to use \xdef and \gobble. \endgroup % \envdef\verbatim{% \setupverbatim\doverbatim } \let\Everbatim = \afterenvbreak % @verbatiminclude FILE - insert text of file in verbatim environment. % \def\verbatiminclude{\parseargusing\filenamecatcodes\doverbatiminclude} % \def\doverbatiminclude#1{% {% \makevalueexpandable \setupverbatim \indexnofonts % Allow `@@' and other weird things in file names. \wlog{texinfo.tex: doing @verbatiminclude of #1^^J}% \input #1 \afterenvbreak }% } % @copying ... @end copying. % Save the text away for @insertcopying later. % % We save the uninterpreted tokens, rather than creating a box. % Saving the text in a box would be much easier, but then all the % typesetting commands (@smallbook, font changes, etc.) have to be done % beforehand -- and a) we want @copying to be done first in the source % file; b) letting users define the frontmatter in as flexible order as % possible is desirable. % \def\copying{\checkenv{}\begingroup\scanargctxt\docopying} \def\docopying#1@end copying{\endgroup\def\copyingtext{#1}} % \def\insertcopying{% \begingroup \parindent = 0pt % paragraph indentation looks wrong on title page \scanexp\copyingtext \endgroup } \message{defuns,} % @defun etc. \newskip\defbodyindent \defbodyindent=.4in \newskip\defargsindent \defargsindent=50pt \newskip\deflastargmargin \deflastargmargin=18pt \newcount\defunpenalty % Start the processing of @deffn: \def\startdefun{% \ifnum\lastpenalty<10000 \medbreak \defunpenalty=10003 % Will keep this @deffn together with the % following @def command, see below. \else % If there are two @def commands in a row, we'll have a \nobreak, % which is there to keep the function description together with its % header. But if there's nothing but headers, we need to allow a % break somewhere. Check specifically for penalty 10002, inserted % by \printdefunline, instead of 10000, since the sectioning % commands also insert a nobreak penalty, and we don't want to allow % a break between a section heading and a defun. % % As a further refinement, we avoid "club" headers by signalling % with penalty of 10003 after the very first @deffn in the % sequence (see above), and penalty of 10002 after any following % @def command. \ifnum\lastpenalty=10002 \penalty2000 \else \defunpenalty=10002 \fi % % Similarly, after a section heading, do not allow a break. % But do insert the glue. \medskip % preceded by discardable penalty, so not a breakpoint \fi % \parindent=0in \advance\leftskip by \defbodyindent \exdentamount=\defbodyindent } \def\dodefunx#1{% % First, check whether we are in the right environment: \checkenv#1% % % As above, allow line break if we have multiple x headers in a row. % It's not a great place, though. \ifnum\lastpenalty=10002 \penalty3000 \else \defunpenalty=10002 \fi % % And now, it's time to reuse the body of the original defun: \expandafter\gobbledefun#1% } \def\gobbledefun#1\startdefun{} % \printdefunline \deffnheader{text} % \def\printdefunline#1#2{% \begingroup % call \deffnheader: #1#2 \endheader % common ending: \interlinepenalty = 10000 \advance\rightskip by 0pt plus 1fil\relax \endgraf \nobreak\vskip -\parskip \penalty\defunpenalty % signal to \startdefun and \dodefunx % Some of the @defun-type tags do not enable magic parentheses, % rendering the following check redundant. But we don't optimize. \checkparencounts \endgroup } \def\Edefun{\endgraf\medbreak} % \makedefun{deffn} creates \deffn, \deffnx and \Edeffn; % the only thing remaining is to define \deffnheader. % \def\makedefun#1{% \expandafter\let\csname E#1\endcsname = \Edefun \edef\temp{\noexpand\domakedefun \makecsname{#1}\makecsname{#1x}\makecsname{#1header}}% \temp } % \domakedefun \deffn \deffnx \deffnheader { (defn. of \deffnheader) } % % Define \deffn and \deffnx, without parameters. % \deffnheader has to be defined explicitly. % \def\domakedefun#1#2#3{% \envdef#1{% \startdefun \doingtypefnfalse % distinguish typed functions from all else \parseargusing\activeparens{\printdefunline#3}% }% \def#2{\dodefunx#1}% \def#3% } \newif\ifdoingtypefn % doing typed function? \newif\ifrettypeownline % typeset return type on its own line? % @deftypefnnewline on|off says whether the return type of typed functions % are printed on their own line. This affects @deftypefn, @deftypefun, % @deftypeop, and @deftypemethod. % \parseargdef\deftypefnnewline{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETtxideftypefnnl\endcsname = \empty \else\ifx\temp\offword \expandafter\let\csname SETtxideftypefnnl\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @txideftypefnnl value `\temp', must be on|off}% \fi\fi } % Untyped functions: % @deffn category name args \makedefun{deffn}{\deffngeneral{}} % @deffn category class name args \makedefun{defop}#1 {\defopon{#1\ \putwordon}} % \defopon {category on}class name args \def\defopon#1#2 {\deffngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} } % \deffngeneral {subind}category name args % \def\deffngeneral#1#2 #3 #4\endheader{% % Remember that \dosubind{fn}{foo}{} is equivalent to \doind{fn}{foo}. \dosubind{fn}{\code{#3}}{#1}% \defname{#2}{}{#3}\magicamp\defunargs{#4\unskip}% } % Typed functions: % @deftypefn category type name args \makedefun{deftypefn}{\deftypefngeneral{}} % @deftypeop category class type name args \makedefun{deftypeop}#1 {\deftypeopon{#1\ \putwordon}} % \deftypeopon {category on}class type name args \def\deftypeopon#1#2 {\deftypefngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} } % \deftypefngeneral {subind}category type name args % \def\deftypefngeneral#1#2 #3 #4 #5\endheader{% \dosubind{fn}{\code{#4}}{#1}% \doingtypefntrue \defname{#2}{#3}{#4}\defunargs{#5\unskip}% } % Typed variables: % @deftypevr category type var args \makedefun{deftypevr}{\deftypecvgeneral{}} % @deftypecv category class type var args \makedefun{deftypecv}#1 {\deftypecvof{#1\ \putwordof}} % \deftypecvof {category of}class type var args \def\deftypecvof#1#2 {\deftypecvgeneral{\putwordof\ \code{#2}}{#1\ \code{#2}} } % \deftypecvgeneral {subind}category type var args % \def\deftypecvgeneral#1#2 #3 #4 #5\endheader{% \dosubind{vr}{\code{#4}}{#1}% \defname{#2}{#3}{#4}\defunargs{#5\unskip}% } % Untyped variables: % @defvr category var args \makedefun{defvr}#1 {\deftypevrheader{#1} {} } % @defcv category class var args \makedefun{defcv}#1 {\defcvof{#1\ \putwordof}} % \defcvof {category of}class var args \def\defcvof#1#2 {\deftypecvof{#1}#2 {} } % Types: % @deftp category name args \makedefun{deftp}#1 #2 #3\endheader{% \doind{tp}{\code{#2}}% \defname{#1}{}{#2}\defunargs{#3\unskip}% } % Remaining @defun-like shortcuts: \makedefun{defun}{\deffnheader{\putwordDeffunc} } \makedefun{defmac}{\deffnheader{\putwordDefmac} } \makedefun{defspec}{\deffnheader{\putwordDefspec} } \makedefun{deftypefun}{\deftypefnheader{\putwordDeffunc} } \makedefun{defvar}{\defvrheader{\putwordDefvar} } \makedefun{defopt}{\defvrheader{\putwordDefopt} } \makedefun{deftypevar}{\deftypevrheader{\putwordDefvar} } \makedefun{defmethod}{\defopon\putwordMethodon} \makedefun{deftypemethod}{\deftypeopon\putwordMethodon} \makedefun{defivar}{\defcvof\putwordInstanceVariableof} \makedefun{deftypeivar}{\deftypecvof\putwordInstanceVariableof} % \defname, which formats the name of the @def (not the args). % #1 is the category, such as "Function". % #2 is the return type, if any. % #3 is the function name. % % We are followed by (but not passed) the arguments, if any. % \def\defname#1#2#3{% \par % Get the values of \leftskip and \rightskip as they were outside the @def... \advance\leftskip by -\defbodyindent % % Determine if we are typesetting the return type of a typed function % on a line by itself. \rettypeownlinefalse \ifdoingtypefn % doing a typed function specifically? % then check user option for putting return type on its own line: \expandafter\ifx\csname SETtxideftypefnnl\endcsname\relax \else \rettypeownlinetrue \fi \fi % % How we'll format the category name. Putting it in brackets helps % distinguish it from the body text that may end up on the next line % just below it. \def\temp{#1}% \setbox0=\hbox{\kern\deflastargmargin \ifx\temp\empty\else [\rm\temp]\fi} % % Figure out line sizes for the paragraph shape. We'll always have at % least two. \tempnum = 2 % % The first line needs space for \box0; but if \rightskip is nonzero, % we need only space for the part of \box0 which exceeds it: \dimen0=\hsize \advance\dimen0 by -\wd0 \advance\dimen0 by \rightskip % % If doing a return type on its own line, we'll have another line. \ifrettypeownline \advance\tempnum by 1 \def\maybeshapeline{0in \hsize}% \else \def\maybeshapeline{}% \fi % % The continuations: \dimen2=\hsize \advance\dimen2 by -\defargsindent % % The final paragraph shape: \parshape \tempnum 0in \dimen0 \maybeshapeline \defargsindent \dimen2 % % Put the category name at the right margin. \noindent \hbox to 0pt{% \hfil\box0 \kern-\hsize % \hsize has to be shortened this way: \kern\leftskip % Intentionally do not respect \rightskip, since we need the space. }% % % Allow all lines to be underfull without complaint: \tolerance=10000 \hbadness=10000 \exdentamount=\defbodyindent {% % defun fonts. We use typewriter by default (used to be bold) because: % . we're printing identifiers, they should be in tt in principle. % . in languages with many accents, such as Czech or French, it's % common to leave accents off identifiers. The result looks ok in % tt, but exceedingly strange in rm. % . we don't want -- and --- to be treated as ligatures. % . this still does not fix the ?` and !` ligatures, but so far no % one has made identifiers using them :). \df \tt \def\temp{#2}% text of the return type \ifx\temp\empty\else \tclose{\temp}% typeset the return type \ifrettypeownline % put return type on its own line; prohibit line break following: \hfil\vadjust{\nobreak}\break \else \space % type on same line, so just followed by a space \fi \fi % no return type #3% output function name }% {\rm\enskip}% hskip 0.5 em of \rmfont % \boldbrax % arguments will be output next, if any. } % Print arguments in slanted roman (not ttsl), inconsistently with using % tt for the name. This is because literal text is sometimes needed in % the argument list (groff manual), and ttsl and tt are not very % distinguishable. Prevent hyphenation at `-' chars. % \def\defunargs#1{% % use sl by default (not ttsl), % tt for the names. \df \sl \hyphenchar\font=0 % % On the other hand, if an argument has two dashes (for instance), we % want a way to get ttsl. We used to recommend @var for that, so % leave the code in, but it's strange for @var to lead to typewriter. % Nowadays we recommend @code, since the difference between a ttsl hyphen % and a tt hyphen is pretty tiny. @code also disables ?` !`. \def\var##1{{\setupmarkupstyle{var}\ttslanted{##1}}}% #1% \sl\hyphenchar\font=45 } % We want ()&[] to print specially on the defun line. % \def\activeparens{% \catcode`\(=\active \catcode`\)=\active \catcode`\[=\active \catcode`\]=\active \catcode`\&=\active } % Make control sequences which act like normal parenthesis chars. \let\lparen = ( \let\rparen = ) % Be sure that we always have a definition for `(', etc. For example, % if the fn name has parens in it, \boldbrax will not be in effect yet, % so TeX would otherwise complain about undefined control sequence. { \activeparens \global\let(=\lparen \global\let)=\rparen \global\let[=\lbrack \global\let]=\rbrack \global\let& = \& \gdef\boldbrax{\let(=\opnr\let)=\clnr\let[=\lbrb\let]=\rbrb} \gdef\magicamp{\let&=\amprm} } \newcount\parencount % If we encounter &foo, then turn on ()-hacking afterwards \newif\ifampseen \def\amprm#1 {\ampseentrue{\bf\ }} \def\parenfont{% \ifampseen % At the first level, print parens in roman, % otherwise use the default font. \ifnum \parencount=1 \rm \fi \else % The \sf parens (in \boldbrax) actually are a little bolder than % the contained text. This is especially needed for [ and ] . \sf \fi } \def\infirstlevel#1{% \ifampseen \ifnum\parencount=1 #1% \fi \fi } \def\bfafterword#1 {#1 \bf} \def\opnr{% \global\advance\parencount by 1 {\parenfont(}% \infirstlevel \bfafterword } \def\clnr{% {\parenfont)}% \infirstlevel \sl \global\advance\parencount by -1 } \newcount\brackcount \def\lbrb{% \global\advance\brackcount by 1 {\bf[}% } \def\rbrb{% {\bf]}% \global\advance\brackcount by -1 } \def\checkparencounts{% \ifnum\parencount=0 \else \badparencount \fi \ifnum\brackcount=0 \else \badbrackcount \fi } % these should not use \errmessage; the glibc manual, at least, actually % has such constructs (when documenting function pointers). \def\badparencount{% \message{Warning: unbalanced parentheses in @def...}% \global\parencount=0 } \def\badbrackcount{% \message{Warning: unbalanced square brackets in @def...}% \global\brackcount=0 } \message{macros,} % @macro. % To do this right we need a feature of e-TeX, \scantokens, % which we arrange to emulate with a temporary file in ordinary TeX. \ifx\eTeXversion\thisisundefined \newwrite\macscribble \def\scantokens#1{% \toks0={#1}% \immediate\openout\macscribble=\jobname.tmp \immediate\write\macscribble{\the\toks0}% \immediate\closeout\macscribble \input \jobname.tmp } \fi % alias because \c means cedilla in @tex or @math \let\texinfoc=\c \newcount\savedcatcodeone \newcount\savedcatcodetwo % Used at the time of macro expansion. % Argument is macro body with arguments substituted \def\scanmacro#1{% \newlinechar`\^^M \def\xeatspaces{\eatspaces}% % % Temporarily undo catcode changes of \printindex. Set catcode of @ to % 0 so that @-commands in macro expansions aren't printed literally when % formatting an index file, where \ is used as the escape character. \savedcatcodeone=\catcode`\@ \savedcatcodetwo=\catcode`\\ \catcode`\@=0 \catcode`\\=\active % % Process the macro body under the current catcode regime. \scantokens{#1@texinfoc}% % \catcode`\@=\savedcatcodeone \catcode`\\=\savedcatcodetwo % % The \texinfoc is to remove the \newlinechar added by \scantokens, and % can be noticed by \parsearg. % We avoid surrounding the call to \scantokens with \bgroup and \egroup % to allow macros to open or close groups themselves. } % Used for copying and captions \def\scanexp#1{% \expandafter\scanmacro\expandafter{#1}% } \newcount\paramno % Count of parameters \newtoks\macname % Macro name \newif\ifrecursive % Is it recursive? % List of all defined macros in the form % \commondummyword\macro1\commondummyword\macro2... % Currently is also contains all @aliases; the list can be split % if there is a need. \def\macrolist{} % Add the macro to \macrolist \def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname} \def\addtomacrolistxxx#1{% \toks0 = \expandafter{\macrolist\commondummyword#1}% \xdef\macrolist{\the\toks0}% } % Utility routines. % This does \let #1 = #2, with \csnames; that is, % \let \csname#1\endcsname = \csname#2\endcsname % (except of course we have to play expansion games). % \def\cslet#1#2{% \expandafter\let \csname#1\expandafter\endcsname \csname#2\endcsname } % Trim leading and trailing spaces off a string. % Concepts from aro-bend problem 15 (see CTAN). {\catcode`\@=11 \gdef\eatspaces #1{\expandafter\trim@\expandafter{#1 }} \gdef\trim@ #1{\trim@@ @#1 @ #1 @ @@} \gdef\trim@@ #1@ #2@ #3@@{\trim@@@\empty #2 @} \def\unbrace#1{#1} \unbrace{\gdef\trim@@@ #1 } #2@{#1} } % Trim a single trailing ^^M off a string. {\catcode`\^^M=\other \catcode`\Q=3% \gdef\eatcr #1{\eatcra #1Q^^MQ}% \gdef\eatcra#1^^MQ{\eatcrb#1Q}% \gdef\eatcrb#1Q#2Q{#1}% } % Macro bodies are absorbed as an argument in a context where % all characters are catcode 10, 11 or 12, except \ which is active % (as in normal texinfo). It is necessary to change the definition of \ % to recognize macro arguments; this is the job of \mbodybackslash. % % Non-ASCII encodings make 8-bit characters active, so un-activate % them to avoid their expansion. Must do this non-globally, to % confine the change to the current group. % % It's necessary to have hard CRs when the macro is executed. This is % done by making ^^M (\endlinechar) catcode 12 when reading the macro % body, and then making it the \newlinechar in \scanmacro. % \def\scanctxt{% used as subroutine \catcode`\"=\other \catcode`\+=\other \catcode`\<=\other \catcode`\>=\other \catcode`\^=\other \catcode`\_=\other \catcode`\|=\other \catcode`\~=\other \passthroughcharstrue } \def\scanargctxt{% used for copying and captions, not macros. \scanctxt \catcode`\@=\other \catcode`\\=\other \catcode`\^^M=\other } \def\macrobodyctxt{% used for @macro definitions \scanctxt \catcode`\ =\other \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other \catcode`\^^M=\other \usembodybackslash } % Used when scanning braced macro arguments. Note, however, that catcode % changes here are ineffectual if the macro invocation was nested inside % an argument to another Texinfo command. \def\macroargctxt{% \scanctxt \catcode`\ =\active \catcode`\^^M=\other \catcode`\\=\active } \def\macrolineargctxt{% used for whole-line arguments without braces \scanctxt \catcode`\{=\other \catcode`\}=\other } % \mbodybackslash is the definition of \ in @macro bodies. % It maps \foo\ => \csname macarg.foo\endcsname => #N % where N is the macro parameter number. % We define \csname macarg.\endcsname to be \realbackslash, so % \\ in macro replacement text gets you a backslash. % {\catcode`@=0 @catcode`@\=@active @gdef@usembodybackslash{@let\=@mbodybackslash} @gdef@mbodybackslash#1\{@csname macarg.#1@endcsname} } \expandafter\def\csname macarg.\endcsname{\realbackslash} \def\margbackslash#1{\char`\#1 } \def\macro{\recursivefalse\parsearg\macroxxx} \def\rmacro{\recursivetrue\parsearg\macroxxx} \def\macroxxx#1{% \getargs{#1}% now \macname is the macname and \argl the arglist \ifx\argl\empty % no arguments \paramno=0\relax \else \expandafter\parsemargdef \argl;% \if\paramno>256\relax \ifx\eTeXversion\thisisundefined \errhelp = \EMsimple \errmessage{You need eTeX to compile a file with macros with more than 256 arguments} \fi \fi \fi \if1\csname ismacro.\the\macname\endcsname \message{Warning: redefining \the\macname}% \else \expandafter\ifx\csname \the\macname\endcsname \relax \else \errmessage{Macro name \the\macname\space already defined}\fi \global\cslet{macsave.\the\macname}{\the\macname}% \global\expandafter\let\csname ismacro.\the\macname\endcsname=1% \addtomacrolist{\the\macname}% \fi \begingroup \macrobodyctxt \ifrecursive \expandafter\parsermacbody \else \expandafter\parsemacbody \fi} \parseargdef\unmacro{% \if1\csname ismacro.#1\endcsname \global\cslet{#1}{macsave.#1}% \global\expandafter\let \csname ismacro.#1\endcsname=0% % Remove the macro name from \macrolist: \begingroup \expandafter\let\csname#1\endcsname \relax \let\commondummyword\unmacrodo \xdef\macrolist{\macrolist}% \endgroup \else \errmessage{Macro #1 not defined}% \fi } % Called by \do from \dounmacro on each macro. The idea is to omit any % macro definitions that have been changed to \relax. % \def\unmacrodo#1{% \ifx #1\relax % remove this \else \noexpand\commondummyword \noexpand#1% \fi } % \getargs -- Parse the arguments to a @macro line. Set \macname to % the name of the macro, and \argl to the braced argument list. \def\getargs#1{\getargsxxx#1{}} \def\getargsxxx#1#{\getmacname #1 \relax\getmacargs} \def\getmacname#1 #2\relax{\macname={#1}} \def\getmacargs#1{\def\argl{#1}} % This made use of the feature that if the last token of a % is #, then the preceding argument is delimited by % an opening brace, and that opening brace is not consumed. % Parse the optional {params} list to @macro or @rmacro. % Set \paramno to the number of arguments, % and \paramlist to a parameter text for the macro (e.g. #1,#2,#3 for a % three-param macro.) Define \macarg.BLAH for each BLAH in the params % list to some hook where the argument is to be expanded. If there are % less than 10 arguments that hook is to be replaced by ##N where N % is the position in that list, that is to say the macro arguments are to be % defined `a la TeX in the macro body. % % That gets used by \mbodybackslash (above). % % If there are 10 or more arguments, a different technique is used: see % \parsemmanyargdef. % \def\parsemargdef#1;{% \paramno=0\def\paramlist{}% \let\hash\relax % \hash is redefined to `#' later to get it into definitions \let\xeatspaces\relax \parsemargdefxxx#1,;,% \ifnum\paramno<10\relax\else \paramno0\relax \parsemmanyargdef@@#1,;,% 10 or more arguments \fi } \def\parsemargdefxxx#1,{% \if#1;\let\next=\relax \else \let\next=\parsemargdefxxx \advance\paramno by 1 \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname {\xeatspaces{\hash\the\paramno}}% \edef\paramlist{\paramlist\hash\the\paramno,}% \fi\next} % \parsemacbody, \parsermacbody % % Read recursive and nonrecursive macro bodies. (They're different since % rec and nonrec macros end differently.) % % We are in \macrobodyctxt, and the \xdef causes backslashshes in the macro % body to be transformed. % Set \macrobody to the body of the macro, and call \defmacro. % {\catcode`\ =\other\long\gdef\parsemacbody#1@end macro{% \xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}% {\catcode`\ =\other\long\gdef\parsermacbody#1@end rmacro{% \xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}% % Make @ a letter, so that we can make private-to-Texinfo macro names. \edef\texiatcatcode{\the\catcode`\@} \catcode `@=11\relax %%%%%%%%%%%%%% Code for > 10 arguments only %%%%%%%%%%%%%%%%%% % If there are 10 or more arguments, a different technique is used, where the % hook remains in the body, and when macro is to be expanded the body is % processed again to replace the arguments. % % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the % argument N value and then \edef the body (nothing else will expand because of % the catcode regime under which the body was input). % % If you compile with TeX (not eTeX), and you have macros with 10 or more % arguments, no macro can have more than 256 arguments (else error). % % In case that there are 10 or more arguments we parse again the arguments % list to set new definitions for the \macarg.BLAH macros corresponding to % each BLAH argument. It was anyhow needed to parse already once this list % in order to count the arguments, and as macros with at most 9 arguments % are by far more frequent than macro with 10 or more arguments, defining % twice the \macarg.BLAH macros does not cost too much processing power. \def\parsemmanyargdef@@#1,{% \if#1;\let\next=\relax \else \let\next=\parsemmanyargdef@@ \edef\tempb{\eatspaces{#1}}% \expandafter\def\expandafter\tempa \expandafter{\csname macarg.\tempb\endcsname}% % Note that we need some extra \noexpand\noexpand, this is because we % don't want \the to be expanded in the \parsermacbody as it uses an % \xdef . \expandafter\edef\tempa {\noexpand\noexpand\noexpand\the\toks\the\paramno}% \advance\paramno by 1\relax \fi\next} \let\endargs@\relax \let\nil@\relax \def\nilm@{\nil@}% \long\def\nillm@{\nil@}% % This macro is expanded during the Texinfo macro expansion, not during its % definition. It gets all the arguments' values and assigns them to macros % macarg.ARGNAME % % #1 is the macro name % #2 is the list of argument names % #3 is the list of argument values \def\getargvals@#1#2#3{% \def\macargdeflist@{}% \def\saveparamlist@{#2}% Need to keep a copy for parameter expansion. \def\paramlist{#2,\nil@}% \def\macroname{#1}% \begingroup \macroargctxt \def\argvaluelist{#3,\nil@}% \def\@tempa{#3}% \ifx\@tempa\empty \setemptyargvalues@ \else \getargvals@@ \fi } \def\getargvals@@{% \ifx\paramlist\nilm@ % Some sanity check needed here that \argvaluelist is also empty. \ifx\argvaluelist\nillm@ \else \errhelp = \EMsimple \errmessage{Too many arguments in macro `\macroname'!}% \fi \let\next\macargexpandinbody@ \else \ifx\argvaluelist\nillm@ % No more arguments values passed to macro. Set remaining named-arg % macros to empty. \let\next\setemptyargvalues@ \else % pop current arg name into \@tempb \def\@tempa##1{\pop@{\@tempb}{\paramlist}##1\endargs@}% \expandafter\@tempa\expandafter{\paramlist}% % pop current argument value into \@tempc \def\@tempa##1{\longpop@{\@tempc}{\argvaluelist}##1\endargs@}% \expandafter\@tempa\expandafter{\argvaluelist}% % Here \@tempb is the current arg name and \@tempc is the current arg value. % First place the new argument macro definition into \@tempd \expandafter\macname\expandafter{\@tempc}% \expandafter\let\csname macarg.\@tempb\endcsname\relax \expandafter\def\expandafter\@tempe\expandafter{% \csname macarg.\@tempb\endcsname}% \edef\@tempd{\long\def\@tempe{\the\macname}}% \push@\@tempd\macargdeflist@ \let\next\getargvals@@ \fi \fi \next } \def\push@#1#2{% \expandafter\expandafter\expandafter\def \expandafter\expandafter\expandafter#2% \expandafter\expandafter\expandafter{% \expandafter#1#2}% } % Replace arguments by their values in the macro body, and place the result % in macro \@tempa. % \def\macvalstoargs@{% % To do this we use the property that token registers that are \the'ed % within an \edef expand only once. So we are going to place all argument % values into respective token registers. % % First we save the token context, and initialize argument numbering. \begingroup \paramno0\relax % Then, for each argument number #N, we place the corresponding argument % value into a new token list register \toks#N \expandafter\putargsintokens@\saveparamlist@,;,% % Then, we expand the body so that argument are replaced by their % values. The trick for values not to be expanded themselves is that they % are within tokens and that tokens expand only once in an \edef . \edef\@tempc{\csname mac.\macroname .body\endcsname}% % Now we restore the token stack pointer to free the token list registers % which we have used, but we make sure that expanded body is saved after % group. \expandafter \endgroup \expandafter\def\expandafter\@tempa\expandafter{\@tempc}% } % Define the named-macro outside of this group and then close this group. % \def\macargexpandinbody@{% \expandafter \endgroup \macargdeflist@ % First the replace in body the macro arguments by their values, the result % is in \@tempa . \macvalstoargs@ % Then we point at the \norecurse or \gobble (for recursive) macro value % with \@tempb . \expandafter\let\expandafter\@tempb\csname mac.\macroname .recurse\endcsname % Depending on whether it is recursive or not, we need some tailing % \egroup . \ifx\@tempb\gobble \let\@tempc\relax \else \let\@tempc\egroup \fi % And now we do the real job: \edef\@tempd{\noexpand\@tempb{\macroname}\noexpand\scanmacro{\@tempa}\@tempc}% \@tempd } \def\putargsintokens@#1,{% \if#1;\let\next\relax \else \let\next\putargsintokens@ % First we allocate the new token list register, and give it a temporary % alias \@tempb . \toksdef\@tempb\the\paramno % Then we place the argument value into that token list register. \expandafter\let\expandafter\@tempa\csname macarg.#1\endcsname \expandafter\@tempb\expandafter{\@tempa}% \advance\paramno by 1\relax \fi \next } % Trailing missing arguments are set to empty. % \def\setemptyargvalues@{% \ifx\paramlist\nilm@ \let\next\macargexpandinbody@ \else \expandafter\setemptyargvaluesparser@\paramlist\endargs@ \let\next\setemptyargvalues@ \fi \next } \def\setemptyargvaluesparser@#1,#2\endargs@{% \expandafter\def\expandafter\@tempa\expandafter{% \expandafter\def\csname macarg.#1\endcsname{}}% \push@\@tempa\macargdeflist@ \def\paramlist{#2}% } % #1 is the element target macro % #2 is the list macro % #3,#4\endargs@ is the list value \def\pop@#1#2#3,#4\endargs@{% \def#1{#3}% \def#2{#4}% } \long\def\longpop@#1#2#3,#4\endargs@{% \long\def#1{#3}% \long\def#2{#4}% } %%%%%%%%%%%%%% End of code for > 10 arguments %%%%%%%%%%%%%%%%%% % This defines a Texinfo @macro or @rmacro, called by \parsemacbody. % \macrobody has the body of the macro in it, with placeholders for % its parameters, looking like "\xeatspaces{\hash 1}". % \paramno is the number of parameters % \paramlist is a TeX parameter text, e.g. "#1,#2,#3," % There are four cases: macros of zero, one, up to nine, and many arguments. % \xdef is used so that macro definitions will survive the file % they're defined in: @include reads the file inside a group. % \def\defmacro{% \let\hash=##% convert placeholders to macro parameter chars \ifnum\paramno=1 \def\xeatspaces##1{##1}% % This removes the pair of braces around the argument. We don't % use \eatspaces, because this can cause ends of lines to be lost % when the argument to \eatspaces is read, leading to line-based % commands like "@itemize" not being read correctly. \else \let\xeatspaces\relax % suppress expansion \fi \ifcase\paramno % 0 \expandafter\xdef\csname\the\macname\endcsname{% \bgroup \noexpand\spaceisspace \noexpand\endlineisspace \noexpand\expandafter % skip any whitespace after the macro name. \expandafter\noexpand\csname\the\macname @@@\endcsname}% \expandafter\xdef\csname\the\macname @@@\endcsname{% \egroup \noexpand\scanmacro{\macrobody}}% \or % 1 \expandafter\xdef\csname\the\macname\endcsname{% \bgroup \noexpand\braceorline \expandafter\noexpand\csname\the\macname @@@\endcsname}% \expandafter\xdef\csname\the\macname @@@\endcsname##1{% \egroup \noexpand\scanmacro{\macrobody}% }% \else % at most 9 \ifnum\paramno<10\relax % @MACNAME sets the context for reading the macro argument % @MACNAME@@ gets the argument, processes backslashes and appends a % comma. % @MACNAME@@@ removes braces surrounding the argument list. % @MACNAME@@@@ scans the macro body with arguments substituted. \expandafter\xdef\csname\the\macname\endcsname{% \bgroup \noexpand\expandafter % This \expandafter skip any spaces after the \noexpand\macroargctxt % macro before we change the catcode of space. \noexpand\expandafter \expandafter\noexpand\csname\the\macname @@\endcsname}% \expandafter\xdef\csname\the\macname @@\endcsname##1{% \noexpand\passargtomacro \expandafter\noexpand\csname\the\macname @@@\endcsname{##1,}}% \expandafter\xdef\csname\the\macname @@@\endcsname##1{% \expandafter\noexpand\csname\the\macname @@@@\endcsname ##1}% \expandafter\expandafter \expandafter\xdef \expandafter\expandafter \csname\the\macname @@@@\endcsname\paramlist{% \egroup\noexpand\scanmacro{\macrobody}}% \else % 10 or more: \expandafter\xdef\csname\the\macname\endcsname{% \noexpand\getargvals@{\the\macname}{\argl}% }% \global\expandafter\let\csname mac.\the\macname .body\endcsname\macrobody \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\gobble \fi \fi} \catcode `\@\texiatcatcode\relax % end private-to-Texinfo catcodes \def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % {\catcode`\@=0 \catcode`\\=13 % We need to manipulate \ so use @ as escape @catcode`@_=11 % private names @catcode`@!=11 % used as argument separator % \passargtomacro#1#2 - % Call #1 with a list of tokens #2, with any doubled backslashes in #2 % compressed to one. % % This implementation works by expansion, and not execution (so we cannot use % \def or similar). This reduces the risk of this failing in contexts where % complete expansion is done with no execution (for example, in writing out to % an auxiliary file for an index entry). % % State is kept in the input stream: the argument passed to % @look_ahead, @gobble_and_check_finish and @add_segment is % % THE_MACRO ARG_RESULT ! {PENDING_BS} NEXT_TOKEN (... rest of input) % % where: % THE_MACRO - name of the macro we want to call % ARG_RESULT - argument list we build to pass to that macro % PENDING_BS - either a backslash or nothing % NEXT_TOKEN - used to look ahead in the input stream to see what's coming next @gdef@passargtomacro#1#2{% @add_segment #1!{}@relax#2\@_finish\% } @gdef@_finish{@_finishx} @global@let@_finishx@relax % #1 - THE_MACRO ARG_RESULT % #2 - PENDING_BS % #3 - NEXT_TOKEN % #4 used to look ahead % % If the next token is not a backslash, process the rest of the argument; % otherwise, remove the next token. @gdef@look_ahead#1!#2#3#4{% @ifx#4\% @expandafter@gobble_and_check_finish @else @expandafter@add_segment @fi#1!{#2}#4#4% } % #1 - THE_MACRO ARG_RESULT % #2 - PENDING_BS % #3 - NEXT_TOKEN % #4 should be a backslash, which is gobbled. % #5 looks ahead % % Double backslash found. Add a single backslash, and look ahead. @gdef@gobble_and_check_finish#1!#2#3#4#5{% @add_segment#1\!{}#5#5% } @gdef@is_fi{@fi} % #1 - THE_MACRO ARG_RESULT % #2 - PENDING_BS % #3 - NEXT_TOKEN % #4 is input stream until next backslash % % Input stream is either at the start of the argument, or just after a % backslash sequence, either a lone backslash, or a doubled backslash. % NEXT_TOKEN contains the first token in the input stream: if it is \finish, % finish; otherwise, append to ARG_RESULT the segment of the argument up until % the next backslash. PENDING_BACKSLASH contains a backslash to represent % a backslash just before the start of the input stream that has not been % added to ARG_RESULT. @gdef@add_segment#1!#2#3#4\{% @ifx#3@_finish @call_the_macro#1!% @else % append the pending backslash to the result, followed by the next segment @expandafter@is_fi@look_ahead#1#2#4!{\}@fi % this @fi is discarded by @look_ahead. % we can't get rid of it with \expandafter because we don't know how % long #4 is. } % #1 - THE_MACRO % #2 - ARG_RESULT % #3 discards the res of the conditional in @add_segment, and @is_fi ends the % conditional. @gdef@call_the_macro#1#2!#3@fi{@is_fi #1{#2}} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \braceorline MAC is used for a one-argument macro MAC. It checks % whether the next non-whitespace character is a {. It sets the context % for reading the argument (slightly different in the two cases). Then, % to read the argument, in the whole-line case, it then calls the regular % \parsearg MAC; in the lbrace case, it calls \passargtomacro MAC. % \def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx} \def\braceorlinexxx{% \ifx\nchar\bgroup \macroargctxt \expandafter\passargtomacro \else \macrolineargctxt\expandafter\parsearg \fi \macnamexxx} % @alias. % We need some trickery to remove the optional spaces around the equal % sign. Make them active and then expand them all to nothing. % \def\alias{\parseargusing\obeyspaces\aliasxxx} \def\aliasxxx #1{\aliasyyy#1\relax} \def\aliasyyy #1=#2\relax{% {% \expandafter\let\obeyedspace=\empty \addtomacrolist{#1}% \xdef\next{\global\let\makecsname{#1}=\makecsname{#2}}% }% \next } \message{cross references,} \newwrite\auxfile \newif\ifhavexrefs % True if xref values are known. \newif\ifwarnedxrefs % True if we warned once that they aren't known. % @inforef is relatively simple. \def\inforef #1{\inforefzzz #1,,,,**} \def\inforefzzz #1,#2,#3,#4**{% \putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}}, node \samp{\ignorespaces#1{}}} % @node's only job in TeX is to define \lastnode, which is used in % cross-references. The @node line might or might not have commas, and % might or might not have spaces before the first comma, like: % @node foo , bar , ... % We don't want such trailing spaces in the node name. % \parseargdef\node{\checkenv{}\donode #1 ,\finishnodeparse} % % also remove a trailing comma, in case of something like this: % @node Help-Cross, , , Cross-refs \def\donode#1 ,#2\finishnodeparse{\dodonode #1,\finishnodeparse} \def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}} \let\nwnode=\node \let\lastnode=\empty % Write a cross-reference definition for the current node. #1 is the % type (Ynumbered, Yappendix, Ynothing). % \def\donoderef#1{% \ifx\lastnode\empty\else \setref{\lastnode}{#1}% \global\let\lastnode=\empty \fi } % @anchor{NAME} -- define xref target at arbitrary point. % \newcount\savesfregister % \def\savesf{\relax \ifhmode \savesfregister=\spacefactor \fi} \def\restoresf{\relax \ifhmode \spacefactor=\savesfregister \fi} \def\anchor#1{\savesf \setref{#1}{Ynothing}\restoresf \ignorespaces} % \setref{NAME}{SNT} defines a cross-reference point NAME (a node or an % anchor), which consists of three parts: % 1) NAME-title - the current sectioning name taken from \lastsection, % or the anchor name. % 2) NAME-snt - section number and type, passed as the SNT arg, or % empty for anchors. % 3) NAME-pg - the page number. % % This is called from \donoderef, \anchor, and \dofloat. In the case of % floats, there is an additional part, which is not written here: % 4) NAME-lof - the text as it should appear in a @listoffloats. % \def\setref#1#2{% \pdfmkdest{#1}% \iflinks {% \requireauxfile \atdummies % preserve commands, but don't expand them % match definition in \xrdef, \refx, \xrefX. \def\value##1{##1}% \edef\writexrdef##1##2{% \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef ##1}{##2}}% these are parameters of \writexrdef }% \toks0 = \expandafter{\lastsection}% \immediate \writexrdef{title}{\the\toks0 }% \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc. \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, at \shipout }% \fi } % @xrefautosectiontitle on|off says whether @section(ing) names are used % automatically in xrefs, if the third arg is not explicitly specified. % This was provided as a "secret" @set xref-automatic-section-title % variable, now it's official. % \parseargdef\xrefautomaticsectiontitle{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETxref-automatic-section-title\endcsname = \empty \else\ifx\temp\offword \expandafter\let\csname SETxref-automatic-section-title\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @xrefautomaticsectiontitle value `\temp', must be on|off}% \fi\fi } % % @xref, @pxref, and @ref generate cross-references. For \xrefX, #1 is % the node name, #2 the name of the Info cross-reference, #3 the printed % node name, #4 the name of the Info file, #5 the name of the printed % manual. All but the node name can be omitted. % \def\pxref{\putwordsee{} \xrefXX} \def\xref{\putwordSee{} \xrefXX} \def\ref{\xrefXX} \def\xrefXX#1{\def\xrefXXarg{#1}\futurelet\tokenafterxref\xrefXXX} \def\xrefXXX{\expandafter\xrefX\expandafter[\xrefXXarg,,,,,,,]} % \newbox\toprefbox \newbox\printedrefnamebox \newbox\infofilenamebox \newbox\printedmanualbox % \def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup \unsepspaces % % Get args without leading/trailing spaces. \def\printedrefname{\ignorespaces #3}% \setbox\printedrefnamebox = \hbox{\printedrefname\unskip}% % \def\infofilename{\ignorespaces #4}% \setbox\infofilenamebox = \hbox{\infofilename\unskip}% % \def\printedmanual{\ignorespaces #5}% \setbox\printedmanualbox = \hbox{\printedmanual\unskip}% % % If the printed reference name (arg #3) was not explicitly given in % the @xref, figure out what we want to use. \ifdim \wd\printedrefnamebox = 0pt % No printed node name was explicitly given. \expandafter\ifx\csname SETxref-automatic-section-title\endcsname \relax % Not auto section-title: use node name inside the square brackets. \def\printedrefname{\ignorespaces #1}% \else % Auto section-title: use chapter/section title inside % the square brackets if we have it. \ifdim \wd\printedmanualbox > 0pt % It is in another manual, so we don't have it; use node name. \def\printedrefname{\ignorespaces #1}% \else \ifhavexrefs % We (should) know the real title if we have the xref values. \def\printedrefname{\refx{#1-title}{}}% \else % Otherwise just copy the Info node name. \def\printedrefname{\ignorespaces #1}% \fi% \fi \fi \fi % % Make link in pdf output. \ifpdf % For pdfTeX and LuaTeX {\indexnofonts \makevalueexpandable \turnoffactive % This expands tokens, so do it after making catcode changes, so _ % etc. don't get their TeX definitions. This ignores all spaces in % #4, including (wrongly) those in the middle of the filename. \getfilename{#4}% % % This (wrongly) does not take account of leading or trailing % spaces in #1, which should be ignored. \setpdfdestname{#1}% % \ifx\pdfdestname\empty \def\pdfdestname{Top}% no empty targets \fi % \leavevmode \startlink attr{/Border [0 0 0]}% \ifnum\filenamelength>0 goto file{\the\filename.pdf} name{\pdfdestname}% \else goto name{\pdfmkpgn{\pdfdestname}}% \fi }% \setcolor{\linkcolor}% \else \ifx\XeTeXrevision\thisisundefined \else % For XeTeX {\indexnofonts \makevalueexpandable \turnoffactive % This expands tokens, so do it after making catcode changes, so _ % etc. don't get their TeX definitions. This ignores all spaces in % #4, including (wrongly) those in the middle of the filename. \getfilename{#4}% % % This (wrongly) does not take account of leading or trailing % spaces in #1, which should be ignored. \setpdfdestname{#1}% % \ifx\pdfdestname\empty \def\pdfdestname{Top}% no empty targets \fi % \leavevmode \ifnum\filenamelength>0 % With default settings, % XeTeX (xdvipdfmx) replaces link destination names with integers. % In this case, the replaced destination names of % remote PDFs are no longer known. In order to avoid a replacement, % you can use xdvipdfmx's command line option `-C 0x0010'. % If you use XeTeX 0.99996+ (TeX Live 2016+), % this command line option is no longer necessary % because we can use the `dvipdfmx:config' special. \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A << /S /GoToR /F (\the\filename.pdf) /D (\pdfdestname) >> >>}% \else \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A << /S /GoTo /D (\pdfdestname) >> >>}% \fi }% \setcolor{\linkcolor}% \fi \fi {% % Have to otherify everything special to allow the \csname to % include an _ in the xref name, etc. \indexnofonts \turnoffactive \def\value##1{##1}% \expandafter\global\expandafter\let\expandafter\Xthisreftitle \csname XR#1-title\endcsname }% % % Float references are printed completely differently: "Figure 1.2" % instead of "[somenode], p.3". \iffloat distinguishes them by % \Xthisreftitle being set to a magic string. \iffloat\Xthisreftitle % If the user specified the print name (third arg) to the ref, % print it instead of our usual "Figure 1.2". \ifdim\wd\printedrefnamebox = 0pt \refx{#1-snt}{}% \else \printedrefname \fi % % If the user also gave the printed manual name (fifth arg), append % "in MANUALNAME". \ifdim \wd\printedmanualbox > 0pt \space \putwordin{} \cite{\printedmanual}% \fi \else % node/anchor (non-float) references. % % If we use \unhbox to print the node names, TeX does not insert % empty discretionaries after hyphens, which means that it will not % find a line break at a hyphen in a node names. Since some manuals % are best written with fairly long node names, containing hyphens, % this is a loss. Therefore, we give the text of the node name % again, so it is as if TeX is seeing it for the first time. % \ifdim \wd\printedmanualbox > 0pt % Cross-manual reference with a printed manual name. % \crossmanualxref{\cite{\printedmanual\unskip}}% % \else\ifdim \wd\infofilenamebox > 0pt % Cross-manual reference with only an info filename (arg 4), no % printed manual name (arg 5). This is essentially the same as % the case above; we output the filename, since we have nothing else. % \crossmanualxref{\code{\infofilename\unskip}}% % \else % Reference within this manual. % % _ (for example) has to be the character _ for the purposes of the % control sequence corresponding to the node, but it has to expand % into the usual \leavevmode...\vrule stuff for purposes of % printing. So we \turnoffactive for the \refx-snt, back on for the % printing, back off for the \refx-pg. {\turnoffactive % Only output a following space if the -snt ref is nonempty; for % @unnumbered and @anchor, it won't be. \setbox2 = \hbox{\ignorespaces \refx{#1-snt}{}}% \ifdim \wd2 > 0pt \refx{#1-snt}\space\fi }% % output the `[mynode]' via the macro below so it can be overridden. \xrefprintnodename\printedrefname % % But we always want a comma and a space: ,\space % % output the `page 3'. \turnoffactive \putwordpage\tie\refx{#1-pg}{}% % Add a , if xref followed by a space \if\space\noexpand\tokenafterxref ,% \else\ifx\ \tokenafterxref ,% @TAB \else\ifx\*\tokenafterxref ,% @* \else\ifx\ \tokenafterxref ,% @SPACE \else\ifx\ \tokenafterxref ,% @NL \else\ifx\tie\tokenafterxref ,% @tie \fi\fi\fi\fi\fi\fi \fi\fi \fi \endlink \endgroup} % Output a cross-manual xref to #1. Used just above (twice). % % Only include the text "Section ``foo'' in" if the foo is neither % missing or Top. Thus, @xref{,,,foo,The Foo Manual} outputs simply % "see The Foo Manual", the idea being to refer to the whole manual. % % But, this being TeX, we can't easily compare our node name against the % string "Top" while ignoring the possible spaces before and after in % the input. By adding the arbitrary 7sp below, we make it much less % likely that a real node name would have the same width as "Top" (e.g., % in a monospaced font). Hopefully it will never happen in practice. % % For the same basic reason, we retypeset the "Top" at every % reference, since the current font is indeterminate. % \def\crossmanualxref#1{% \setbox\toprefbox = \hbox{Top\kern7sp}% \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}% \ifdim \wd2 > 7sp % nonempty? \ifdim \wd2 = \wd\toprefbox \else % same as Top? \putwordSection{} ``\printedrefname'' \putwordin{}\space \fi \fi #1% } % This macro is called from \xrefX for the `[nodename]' part of xref % output. It's a separate macro only so it can be changed more easily, % since square brackets don't work well in some documents. Particularly % one that Bob is working on :). % \def\xrefprintnodename#1{[#1]} % Things referred to by \setref. % \def\Ynothing{} \def\Yomitfromtoc{} \def\Ynumbered{% \ifnum\secno=0 \putwordChapter@tie \the\chapno \else \ifnum\subsecno=0 \putwordSection@tie \the\chapno.\the\secno \else \ifnum\subsubsecno=0 \putwordSection@tie \the\chapno.\the\secno.\the\subsecno \else \putwordSection@tie \the\chapno.\the\secno.\the\subsecno.\the\subsubsecno \fi\fi\fi } \def\Yappendix{% \ifnum\secno=0 \putwordAppendix@tie @char\the\appendixno{}% \else \ifnum\subsecno=0 \putwordSection@tie @char\the\appendixno.\the\secno \else \ifnum\subsubsecno=0 \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno \else \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno.\the\subsubsecno \fi\fi\fi } % \refx{NAME}{SUFFIX} - reference a cross-reference string named NAME. SUFFIX % is output afterwards if non-empty. \def\refx#1#2{% \requireauxfile {% \indexnofonts \otherbackslash \def\value##1{##1}% \expandafter\global\expandafter\let\expandafter\thisrefX \csname XR#1\endcsname }% \ifx\thisrefX\relax % If not defined, say something at least. \angleleft un\-de\-fined\angleright \iflinks \ifhavexrefs {\toks0 = {#1}% avoid expansion of possibly-complex value \message{\linenumber Undefined cross reference `\the\toks0'.}}% \else \ifwarnedxrefs\else \global\warnedxrefstrue \message{Cross reference values unknown; you must run TeX again.}% \fi \fi \fi \else % It's defined, so just use it. \thisrefX \fi #2% Output the suffix in any case. } % This is the macro invoked by entries in the aux file. Define a control % sequence for a cross-reference target (we prepend XR to the control sequence % name to avoid collisions). The value is the page number. If this is a float % type, we have more work to do. % \def\xrdef#1#2{% {% Expand the node or anchor name to remove control sequences. % \turnoffactive stops 8-bit characters being changed to commands % like @'e. \refx does the same to retrieve the value in the definition. \indexnofonts \turnoffactive \def\value##1{##1}% \xdef\safexrefname{#1}% }% % \bgroup \expandafter\gdef\csname XR\safexrefname\endcsname{#2}% \egroup % We put the \gdef inside a group to avoid the definitions building up on % TeX's save stack, which can cause it to run out of space for aux files with % thousands of lines. \gdef doesn't use the save stack, but \csname does % when it defines an unknown control sequence as \relax. % % Was that xref control sequence that we just defined for a float? \expandafter\iffloat\csname XR\safexrefname\endcsname % it was a float, and we have the (safe) float type in \iffloattype. \expandafter\let\expandafter\floatlist \csname floatlist\iffloattype\endcsname % % Is this the first time we've seen this float type? \expandafter\ifx\floatlist\relax \toks0 = {\do}% yes, so just \do \else % had it before, so preserve previous elements in list. \toks0 = \expandafter{\floatlist\do}% \fi % % Remember this xref in the control sequence \floatlistFLOATTYPE, % for later use in \listoffloats. \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0 {\safexrefname}}% \fi } % If working on a large document in chapters, it is convenient to % be able to disable indexing, cross-referencing, and contents, for test runs. % This is done with @novalidate at the beginning of the file. % \newif\iflinks \linkstrue % by default we want the aux files. \let\novalidate = \linksfalse % Used when writing to the aux file, or when using data from it. \def\requireauxfile{% \iflinks \tryauxfile % Open the new aux file. TeX will close it automatically at exit. \immediate\openout\auxfile=\jobname.aux \fi \global\let\requireauxfile=\relax % Only do this once. } % Read the last existing aux file, if any. No error if none exists. % \def\tryauxfile{% \openin 1 \jobname.aux \ifeof 1 \else \readdatafile{aux}% \global\havexrefstrue \fi \closein 1 } \def\setupdatafile{% \catcode`\^^@=\other \catcode`\^^A=\other \catcode`\^^B=\other \catcode`\^^C=\other \catcode`\^^D=\other \catcode`\^^E=\other \catcode`\^^F=\other \catcode`\^^G=\other \catcode`\^^H=\other \catcode`\^^K=\other \catcode`\^^L=\other \catcode`\^^N=\other \catcode`\^^P=\other \catcode`\^^Q=\other \catcode`\^^R=\other \catcode`\^^S=\other \catcode`\^^T=\other \catcode`\^^U=\other \catcode`\^^V=\other \catcode`\^^W=\other \catcode`\^^X=\other \catcode`\^^Z=\other \catcode`\^^[=\other \catcode`\^^\=\other \catcode`\^^]=\other \catcode`\^^^=\other \catcode`\^^_=\other % It was suggested to set the catcode of ^ to 7, which would allow ^^e4 etc. % in xref tags, i.e., node names. But since ^^e4 notation isn't % supported in the main text, it doesn't seem desirable. Furthermore, % that is not enough: for node names that actually contain a ^ % character, we would end up writing a line like this: 'xrdef {'hat % b-title}{'hat b} and \xrdef does a \csname...\endcsname on the first % argument, and \hat is not an expandable control sequence. It could % all be worked out, but why? Either we support ^^ or we don't. % % The other change necessary for this was to define \auxhat: % \def\auxhat{\def^{'hat }}% extra space so ok if followed by letter % and then to call \auxhat in \setq. % \catcode`\^=\other % % Special characters. Should be turned off anyway, but... \catcode`\~=\other \catcode`\[=\other \catcode`\]=\other \catcode`\"=\other \catcode`\_=\other \catcode`\|=\other \catcode`\<=\other \catcode`\>=\other \catcode`\$=\other \catcode`\#=\other \catcode`\&=\other \catcode`\%=\other \catcode`+=\other % avoid \+ for paranoia even though we've turned it off % % This is to support \ in node names and titles, since the \ % characters end up in a \csname. It's easier than % leaving it active and making its active definition an actual \ % character. What I don't understand is why it works in the *value* % of the xrdef. Seems like it should be a catcode12 \, and that % should not typeset properly. But it works, so I'm moving on for % now. --karl, 15jan04. \catcode`\\=\other % % @ is our escape character in .aux files, and we need braces. \catcode`\{=1 \catcode`\}=2 \catcode`\@=0 } \def\readdatafile#1{% \begingroup \setupdatafile \input\jobname.#1 \endgroup} \message{insertions,} % including footnotes. \newcount \footnoteno % The trailing space in the following definition for supereject is % vital for proper filling; pages come out unaligned when you do a % pagealignmacro call if that space before the closing brace is % removed. (Generally, numeric constants should always be followed by a % space to prevent strange expansion errors.) \def\supereject{\par\penalty -20000\footnoteno =0 } % @footnotestyle is meaningful for Info output only. \let\footnotestyle=\comment {\catcode `\@=11 % % Auto-number footnotes. Otherwise like plain. \gdef\footnote{% \global\advance\footnoteno by \@ne \edef\thisfootno{$^{\the\footnoteno}$}% % % In case the footnote comes at the end of a sentence, preserve the % extra spacing after we do the footnote number. \let\@sf\empty \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\ptexslash\fi % % Remove inadvertent blank space before typesetting the footnote number. \unskip \thisfootno\@sf \dofootnote }% % Don't bother with the trickery in plain.tex to not require the % footnote text as a parameter. Our footnotes don't need to be so general. % % Oh yes, they do; otherwise, @ifset (and anything else that uses % \parseargline) fails inside footnotes because the tokens are fixed when % the footnote is read. --karl, 16nov96. % \gdef\dofootnote{% \insert\footins\bgroup % % Nested footnotes are not supported in TeX, that would take a lot % more work. (\startsavinginserts does not suffice.) \let\footnote=\errfootnotenest % % We want to typeset this text as a normal paragraph, even if the % footnote reference occurs in (for example) a display environment. % So reset some parameters. \hsize=\txipagewidth \interlinepenalty\interfootnotelinepenalty \splittopskip\ht\strutbox % top baseline for broken footnotes \splitmaxdepth\dp\strutbox \floatingpenalty\@MM \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip \parindent\defaultparindent % \smallfonts \rm % % Because we use hanging indentation in footnotes, a @noindent appears % to exdent this text, so make it be a no-op. makeinfo does not use % hanging indentation so @noindent can still be needed within footnote % text after an @example or the like (not that this is good style). \let\noindent = \relax % % Hang the footnote text off the number. Use \everypar in case the % footnote extends for more than one paragraph. \everypar = {\hang}% \textindent{\thisfootno}% % % Don't crash into the line above the footnote text. Since this % expands into a box, it must come within the paragraph, lest it % provide a place where TeX can split the footnote. \footstrut % % Invoke rest of plain TeX footnote routine. \futurelet\next\fo@t } }%end \catcode `\@=11 \def\errfootnotenest{% \errhelp=\EMsimple \errmessage{Nested footnotes not supported in texinfo.tex, even though they work in makeinfo; sorry} } \def\errfootnoteheading{% \errhelp=\EMsimple \errmessage{Footnotes in chapters, sections, etc., are not supported} } % In case a @footnote appears in a vbox, save the footnote text and create % the real \insert just after the vbox finished. Otherwise, the insertion % would be lost. % Similarly, if a @footnote appears inside an alignment, save the footnote % text to a box and make the \insert when a row of the table is finished. % And the same can be done for other insert classes. --kasal, 16nov03. % % Replace the \insert primitive by a cheating macro. % Deeper inside, just make sure that the saved insertions are not spilled % out prematurely. % \def\startsavinginserts{% \ifx \insert\ptexinsert \let\insert\saveinsert \else \let\checkinserts\relax \fi } % This \insert replacement works for both \insert\footins{foo} and % \insert\footins\bgroup foo\egroup, but it doesn't work for \insert27{foo}. % \def\saveinsert#1{% \edef\next{\noexpand\savetobox \makeSAVEname#1}% \afterassignment\next % swallow the left brace \let\temp = } \def\makeSAVEname#1{\makecsname{SAVE\expandafter\gobble\string#1}} \def\savetobox#1{\global\setbox#1 = \vbox\bgroup \unvbox#1} \def\checksaveins#1{\ifvoid#1\else \placesaveins#1\fi} \def\placesaveins#1{% \ptexinsert \csname\expandafter\gobblesave\string#1\endcsname {\box#1}% } % eat @SAVE -- beware, all of them have catcode \other: { \def\dospecials{\do S\do A\do V\do E} \uncatcodespecials % ;-) \gdef\gobblesave @SAVE{} } % initialization: \def\newsaveins #1{% \edef\next{\noexpand\newsaveinsX \makeSAVEname#1}% \next } \def\newsaveinsX #1{% \csname newbox\endcsname #1% \expandafter\def\expandafter\checkinserts\expandafter{\checkinserts \checksaveins #1}% } % initialize: \let\checkinserts\empty \newsaveins\footins \newsaveins\margin % @image. We use the macros from epsf.tex to support this. % If epsf.tex is not installed and @image is used, we complain. % % Check for and read epsf.tex up front. If we read it only at @image % time, we might be inside a group, and then its definitions would get % undone and the next image would fail. \openin 1 = epsf.tex \ifeof 1 \else % Do not bother showing banner with epsf.tex v2.7k (available in % doc/epsf.tex and on ctan). \def\epsfannounce{\toks0 = }% \input epsf.tex \fi \closein 1 % % We will only complain once about lack of epsf.tex. \newif\ifwarnednoepsf \newhelp\noepsfhelp{epsf.tex must be installed for images to work. It is also included in the Texinfo distribution, or you can get it from https://ctan.org/texarchive/macros/texinfo/texinfo/doc/epsf.tex.} % \def\image#1{% \ifx\epsfbox\thisisundefined \ifwarnednoepsf \else \errhelp = \noepsfhelp \errmessage{epsf.tex not found, images will be ignored}% \global\warnednoepsftrue \fi \else \imagexxx #1,,,,,\finish \fi } % % Arguments to @image: % #1 is (mandatory) image filename; we tack on .eps extension. % #2 is (optional) width, #3 is (optional) height. % #4 is (ignored optional) html alt text. % #5 is (ignored optional) extension. % #6 is just the usual extra ignored arg for parsing stuff. \newif\ifimagevmode \def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup \catcode`\^^M = 5 % in case we're inside an example \normalturnoffactive % allow _ et al. in names \def\xprocessmacroarg{\eatspaces}% in case we are being used via a macro % If the image is by itself, center it. \ifvmode \imagevmodetrue \else \ifx\centersub\centerV % for @center @image, we need a vbox so we can have our vertical space \imagevmodetrue \vbox\bgroup % vbox has better behavior than vtop herev \fi\fi % \ifimagevmode \nobreak\medskip % Usually we'll have text after the image which will insert % \parskip glue, so insert it here too to equalize the space % above and below. \nobreak\vskip\parskip \nobreak \fi % % Leave vertical mode so that indentation from an enclosing % environment such as @quotation is respected. % However, if we're at the top level, we don't want the % normal paragraph indentation. % On the other hand, if we are in the case of @center @image, we don't % want to start a paragraph, which will create a hsize-width box and % eradicate the centering. \ifx\centersub\centerV\else \noindent \fi % % Output the image. \ifpdf % For pdfTeX and LuaTeX <= 0.80 \dopdfimage{#1}{#2}{#3}% \else \ifx\XeTeXrevision\thisisundefined % For epsf.tex % \epsfbox itself resets \epsf?size at each figure. \setbox0 = \hbox{\ignorespaces #2}% \ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi \setbox0 = \hbox{\ignorespaces #3}% \ifdim\wd0 > 0pt \epsfysize=#3\relax \fi \epsfbox{#1.eps}% \else % For XeTeX \doxeteximage{#1}{#2}{#3}% \fi \fi % \ifimagevmode \medskip % space after a standalone image \fi \ifx\centersub\centerV \egroup \fi \endgroup} % @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables, % etc. We don't actually implement floating yet, we always include the % float "here". But it seemed the best name for the future. % \envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish} % There may be a space before second and/or third parameter; delete it. \def\eatcommaspace#1, {#1,} % #1 is the optional FLOATTYPE, the text label for this float, typically % "Figure", "Table", "Example", etc. Can't contain commas. If omitted, % this float will not be numbered and cannot be referred to. % % #2 is the optional xref label. Also must be present for the float to % be referable. % % #3 is the optional positioning argument; for now, it is ignored. It % will somehow specify the positions allowed to float to (here, top, bottom). % % We keep a separate counter for each FLOATTYPE, which we reset at each % chapter-level command. \let\resetallfloatnos=\empty % \def\dofloat#1,#2,#3,#4\finish{% \let\thiscaption=\empty \let\thisshortcaption=\empty % % don't lose footnotes inside @float. % % BEWARE: when the floats start float, we have to issue warning whenever an % insert appears inside a float which could possibly float. --kasal, 26may04 % \startsavinginserts % % We can't be used inside a paragraph. \par % \vtop\bgroup \def\floattype{#1}% \def\floatlabel{#2}% \def\floatloc{#3}% we do nothing with this yet. % \ifx\floattype\empty \let\safefloattype=\empty \else {% % the floattype might have accents or other special characters, % but we need to use it in a control sequence name. \indexnofonts \turnoffactive \xdef\safefloattype{\floattype}% }% \fi % % If label is given but no type, we handle that as the empty type. \ifx\floatlabel\empty \else % We want each FLOATTYPE to be numbered separately (Figure 1, % Table 1, Figure 2, ...). (And if no label, no number.) % \expandafter\getfloatno\csname\safefloattype floatno\endcsname \global\advance\floatno by 1 % {% % This magic value for \lastsection is output by \setref as the % XREFLABEL-title value. \xrefX uses it to distinguish float % labels (which have a completely different output format) from % node and anchor labels. And \xrdef uses it to construct the % lists of floats. % \edef\lastsection{\floatmagic=\safefloattype}% \setref{\floatlabel}{Yfloat}% }% \fi % % start with \parskip glue, I guess. \vskip\parskip % % Don't suppress indentation if a float happens to start a section. \restorefirstparagraphindent } % we have these possibilities: % @float Foo,lbl & @caption{Cap}: Foo 1.1: Cap % @float Foo,lbl & no caption: Foo 1.1 % @float Foo & @caption{Cap}: Foo: Cap % @float Foo & no caption: Foo % @float ,lbl & Caption{Cap}: 1.1: Cap % @float ,lbl & no caption: 1.1 % @float & @caption{Cap}: Cap % @float & no caption: % \def\Efloat{% \let\floatident = \empty % % In all cases, if we have a float type, it comes first. \ifx\floattype\empty \else \def\floatident{\floattype}\fi % % If we have an xref label, the number comes next. \ifx\floatlabel\empty \else \ifx\floattype\empty \else % if also had float type, need tie first. \appendtomacro\floatident{\tie}% \fi % the number. \appendtomacro\floatident{\chaplevelprefix\the\floatno}% \fi % % Start the printed caption with what we've constructed in % \floatident, but keep it separate; we need \floatident again. \let\captionline = \floatident % \ifx\thiscaption\empty \else \ifx\floatident\empty \else \appendtomacro\captionline{: }% had ident, so need a colon between \fi % % caption text. \appendtomacro\captionline{\scanexp\thiscaption}% \fi % % If we have anything to print, print it, with space before. % Eventually this needs to become an \insert. \ifx\captionline\empty \else \vskip.5\parskip \captionline % % Space below caption. \vskip\parskip \fi % % If have an xref label, write the list of floats info. Do this % after the caption, to avoid chance of it being a breakpoint. \ifx\floatlabel\empty \else % Write the text that goes in the lof to the aux file as % \floatlabel-lof. Besides \floatident, we include the short % caption if specified, else the full caption if specified, else nothing. {% \requireauxfile \atdummies % \ifx\thisshortcaption\empty \def\gtemp{\thiscaption}% \else \def\gtemp{\thisshortcaption}% \fi \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident \ifx\gtemp\empty \else : \gtemp \fi}}% }% \fi \egroup % end of \vtop % \checkinserts } % Append the tokens #2 to the definition of macro #1, not expanding either. % \def\appendtomacro#1#2{% \expandafter\def\expandafter#1\expandafter{#1#2}% } % @caption, @shortcaption % \def\caption{\docaption\thiscaption} \def\shortcaption{\docaption\thisshortcaption} \def\docaption{\checkenv\float \bgroup\scanargctxt\defcaption} \def\defcaption#1#2{\egroup \def#1{#2}} % The parameter is the control sequence identifying the counter we are % going to use. Create it if it doesn't exist and assign it to \floatno. \def\getfloatno#1{% \ifx#1\relax % Haven't seen this figure type before. \csname newcount\endcsname #1% % % Remember to reset this floatno at the next chap. \expandafter\gdef\expandafter\resetallfloatnos \expandafter{\resetallfloatnos #1=0 }% \fi \let\floatno#1% } % \setref calls this to get the XREFLABEL-snt value. We want an @xref % to the FLOATLABEL to expand to "Figure 3.1". We call \setref when we % first read the @float command. % \def\Yfloat{\floattype@tie \chaplevelprefix\the\floatno}% % Magic string used for the XREFLABEL-title value, so \xrefX can % distinguish floats from other xref types. \def\floatmagic{!!float!!} % #1 is the control sequence we are passed; we expand into a conditional % which is true if #1 represents a float ref. That is, the magic % \lastsection value which we \setref above. % \def\iffloat#1{\expandafter\doiffloat#1==\finish} % % #1 is (maybe) the \floatmagic string. If so, #2 will be the % (safe) float type for this float. We set \iffloattype to #2. % \def\doiffloat#1=#2=#3\finish{% \def\temp{#1}% \def\iffloattype{#2}% \ifx\temp\floatmagic } % @listoffloats FLOATTYPE - print a list of floats like a table of contents. % \parseargdef\listoffloats{% \def\floattype{#1}% floattype {% % the floattype might have accents or other special characters, % but we need to use it in a control sequence name. \indexnofonts \turnoffactive \xdef\safefloattype{\floattype}% }% % % \xrdef saves the floats as a \do-list in \floatlistSAFEFLOATTYPE. \expandafter\ifx\csname floatlist\safefloattype\endcsname \relax \ifhavexrefs % if the user said @listoffloats foo but never @float foo. \message{\linenumber No `\safefloattype' floats to list.}% \fi \else \begingroup \leftskip=\tocindent % indent these entries like a toc \let\do=\listoffloatsdo \csname floatlist\safefloattype\endcsname \endgroup \fi } % This is called on each entry in a list of floats. We're passed the % xref label, in the form LABEL-title, which is how we save it in the % aux file. We strip off the -title and look up \XRLABEL-lof, which % has the text we're supposed to typeset here. % % Figures without xref labels will not be included in the list (since % they won't appear in the aux file). % \def\listoffloatsdo#1{\listoffloatsdoentry#1\finish} \def\listoffloatsdoentry#1-title\finish{{% % Can't fully expand XR#1-lof because it can contain anything. Just % pass the control sequence. On the other hand, XR#1-pg is just the % page number, and we want to fully expand that so we can get a link % in pdf output. \toksA = \expandafter{\csname XR#1-lof\endcsname}% % % use the same \entry macro we use to generate the TOC and index. \edef\writeentry{\noexpand\entry{\the\toksA}{\csname XR#1-pg\endcsname}}% \writeentry }} \message{localization,} % For single-language documents, @documentlanguage is usually given very % early, just after @documentencoding. Single argument is the language % (de) or locale (de_DE) abbreviation. % { \catcode`\_ = \active \globaldefs=1 \parseargdef\documentlanguage{% \tex % read txi-??.tex file in plain TeX. % Read the file by the name they passed if it exists. \let_ = \normalunderscore % normal _ character for filename test \openin 1 txi-#1.tex \ifeof 1 \documentlanguagetrywithoutunderscore #1_\finish \else \globaldefs = 1 % everything in the txi-LL files needs to persist \input txi-#1.tex \fi \closein 1 \endgroup % end raw TeX } % % If they passed de_DE, and txi-de_DE.tex doesn't exist, % try txi-de.tex. % \gdef\documentlanguagetrywithoutunderscore#1_#2\finish{% \openin 1 txi-#1.tex \ifeof 1 \errhelp = \nolanghelp \errmessage{Cannot read language file txi-#1.tex}% \else \globaldefs = 1 % everything in the txi-LL files needs to persist \input txi-#1.tex \fi \closein 1 } }% end of special _ catcode % \newhelp\nolanghelp{The given language definition file cannot be found or is empty. Maybe you need to install it? Putting it in the current directory should work if nowhere else does.} % This macro is called from txi-??.tex files; the first argument is the % \language name to set (without the "\lang@" prefix), the second and % third args are \{left,right}hyphenmin. % % The language names to pass are determined when the format is built. % See the etex.log file created at that time, e.g., % /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log. % % With TeX Live 2008, etex now includes hyphenation patterns for all % available languages. This means we can support hyphenation in % Texinfo, at least to some extent. (This still doesn't solve the % accented characters problem.) % \catcode`@=11 \def\txisetlanguage#1#2#3{% % do not set the language if the name is undefined in the current TeX. \expandafter\ifx\csname lang@#1\endcsname \relax \message{no patterns for #1}% \else \global\language = \csname lang@#1\endcsname \fi % but there is no harm in adjusting the hyphenmin values regardless. \global\lefthyphenmin = #2\relax \global\righthyphenmin = #3\relax } % XeTeX and LuaTeX can handle Unicode natively. % Their default I/O uses UTF-8 sequences instead of a byte-wise operation. % Other TeX engines' I/O (pdfTeX, etc.) is byte-wise. % \newif\iftxinativeunicodecapable \newif\iftxiusebytewiseio \ifx\XeTeXrevision\thisisundefined \ifx\luatexversion\thisisundefined \txinativeunicodecapablefalse \txiusebytewiseiotrue \else \txinativeunicodecapabletrue \txiusebytewiseiofalse \fi \else \txinativeunicodecapabletrue \txiusebytewiseiofalse \fi % Set I/O by bytes instead of UTF-8 sequence for XeTeX and LuaTex % for non-UTF-8 (byte-wise) encodings. % \def\setbytewiseio{% \ifx\XeTeXrevision\thisisundefined \else \XeTeXdefaultencoding "bytes" % For subsequent files to be read \XeTeXinputencoding "bytes" % For document root file % Unfortunately, there seems to be no corresponding XeTeX command for % output encoding. This is a problem for auxiliary index and TOC files. % The only solution would be perhaps to write out @U{...} sequences in % place of non-ASCII characters. \fi \ifx\luatexversion\thisisundefined \else \directlua{ local utf8_char, byte, gsub = unicode.utf8.char, string.byte, string.gsub local function convert_char (char) return utf8_char(byte(char)) end local function convert_line (line) return gsub(line, ".", convert_char) end callback.register("process_input_buffer", convert_line) local function convert_line_out (line) local line_out = "" for c in string.utfvalues(line) do line_out = line_out .. string.char(c) end return line_out end callback.register("process_output_buffer", convert_line_out) } \fi \txiusebytewiseiotrue } % Helpers for encodings. % Set the catcode of characters 128 through 255 to the specified number. % \def\setnonasciicharscatcode#1{% \count255=128 \loop\ifnum\count255<256 \global\catcode\count255=#1\relax \advance\count255 by 1 \repeat } \def\setnonasciicharscatcodenonglobal#1{% \count255=128 \loop\ifnum\count255<256 \catcode\count255=#1\relax \advance\count255 by 1 \repeat } % @documentencoding sets the definition of non-ASCII characters % according to the specified encoding. % \def\documentencoding{\parseargusing\filenamecatcodes\documentencodingzzz} \def\documentencodingzzz#1{% % % Encoding being declared for the document. \def\declaredencoding{\csname #1.enc\endcsname}% % % Supported encodings: names converted to tokens in order to be able % to compare them with \ifx. \def\ascii{\csname US-ASCII.enc\endcsname}% \def\latnine{\csname ISO-8859-15.enc\endcsname}% \def\latone{\csname ISO-8859-1.enc\endcsname}% \def\lattwo{\csname ISO-8859-2.enc\endcsname}% \def\utfeight{\csname UTF-8.enc\endcsname}% % \ifx \declaredencoding \ascii \asciichardefs % \else \ifx \declaredencoding \lattwo \iftxinativeunicodecapable \setbytewiseio \fi \setnonasciicharscatcode\active \lattwochardefs % \else \ifx \declaredencoding \latone \iftxinativeunicodecapable \setbytewiseio \fi \setnonasciicharscatcode\active \latonechardefs % \else \ifx \declaredencoding \latnine \iftxinativeunicodecapable \setbytewiseio \fi \setnonasciicharscatcode\active \latninechardefs % \else \ifx \declaredencoding \utfeight \iftxinativeunicodecapable % For native Unicode handling (XeTeX and LuaTeX) \nativeunicodechardefs \else % For treating UTF-8 as byte sequences (TeX, eTeX and pdfTeX) \setnonasciicharscatcode\active % since we already invoked \utfeightchardefs at the top level % (below), do not re-invoke it, otherwise our check for duplicated % definitions gets triggered. Making non-ascii chars active is % sufficient. \fi % \else \message{Ignoring unknown document encoding: #1.}% % \fi % utfeight \fi % latnine \fi % latone \fi % lattwo \fi % ascii % \ifx\XeTeXrevision\thisisundefined \else \ifx \declaredencoding \utfeight \else \ifx \declaredencoding \ascii \else \message{Warning: XeTeX with non-UTF-8 encodings cannot handle % non-ASCII characters in auxiliary files.}% \fi \fi \fi } % emacs-page % A message to be logged when using a character that isn't available % the default font encoding (OT1). % \def\missingcharmsg#1{\message{Character missing, sorry: #1.}} % Take account of \c (plain) vs. \, (Texinfo) difference. \def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi} % First, make active non-ASCII characters in order for them to be % correctly categorized when TeX reads the replacement text of % macros containing the character definitions. \setnonasciicharscatcode\active % \def\gdefchar#1#2{% \gdef#1{% \ifpassthroughchars \string#1% \else #2% \fi }} % Latin1 (ISO-8859-1) character definitions. \def\latonechardefs{% \gdefchar^^a0{\tie} \gdefchar^^a1{\exclamdown} \gdefchar^^a2{{\tcfont \char162}} % cent \gdefchar^^a3{\pounds{}} \gdefchar^^a4{{\tcfont \char164}} % currency \gdefchar^^a5{{\tcfont \char165}} % yen \gdefchar^^a6{{\tcfont \char166}} % broken bar \gdefchar^^a7{\S} \gdefchar^^a8{\"{}} \gdefchar^^a9{\copyright{}} \gdefchar^^aa{\ordf} \gdefchar^^ab{\guillemetleft{}} \gdefchar^^ac{\ensuremath\lnot} \gdefchar^^ad{\-} \gdefchar^^ae{\registeredsymbol{}} \gdefchar^^af{\={}} % \gdefchar^^b0{\textdegree} \gdefchar^^b1{$\pm$} \gdefchar^^b2{$^2$} \gdefchar^^b3{$^3$} \gdefchar^^b4{\'{}} \gdefchar^^b5{$\mu$} \gdefchar^^b6{\P} \gdefchar^^b7{\ensuremath\cdot} \gdefchar^^b8{\cedilla\ } \gdefchar^^b9{$^1$} \gdefchar^^ba{\ordm} \gdefchar^^bb{\guillemetright{}} \gdefchar^^bc{$1\over4$} \gdefchar^^bd{$1\over2$} \gdefchar^^be{$3\over4$} \gdefchar^^bf{\questiondown} % \gdefchar^^c0{\`A} \gdefchar^^c1{\'A} \gdefchar^^c2{\^A} \gdefchar^^c3{\~A} \gdefchar^^c4{\"A} \gdefchar^^c5{\ringaccent A} \gdefchar^^c6{\AE} \gdefchar^^c7{\cedilla C} \gdefchar^^c8{\`E} \gdefchar^^c9{\'E} \gdefchar^^ca{\^E} \gdefchar^^cb{\"E} \gdefchar^^cc{\`I} \gdefchar^^cd{\'I} \gdefchar^^ce{\^I} \gdefchar^^cf{\"I} % \gdefchar^^d0{\DH} \gdefchar^^d1{\~N} \gdefchar^^d2{\`O} \gdefchar^^d3{\'O} \gdefchar^^d4{\^O} \gdefchar^^d5{\~O} \gdefchar^^d6{\"O} \gdefchar^^d7{$\times$} \gdefchar^^d8{\O} \gdefchar^^d9{\`U} \gdefchar^^da{\'U} \gdefchar^^db{\^U} \gdefchar^^dc{\"U} \gdefchar^^dd{\'Y} \gdefchar^^de{\TH} \gdefchar^^df{\ss} % \gdefchar^^e0{\`a} \gdefchar^^e1{\'a} \gdefchar^^e2{\^a} \gdefchar^^e3{\~a} \gdefchar^^e4{\"a} \gdefchar^^e5{\ringaccent a} \gdefchar^^e6{\ae} \gdefchar^^e7{\cedilla c} \gdefchar^^e8{\`e} \gdefchar^^e9{\'e} \gdefchar^^ea{\^e} \gdefchar^^eb{\"e} \gdefchar^^ec{\`{\dotless i}} \gdefchar^^ed{\'{\dotless i}} \gdefchar^^ee{\^{\dotless i}} \gdefchar^^ef{\"{\dotless i}} % \gdefchar^^f0{\dh} \gdefchar^^f1{\~n} \gdefchar^^f2{\`o} \gdefchar^^f3{\'o} \gdefchar^^f4{\^o} \gdefchar^^f5{\~o} \gdefchar^^f6{\"o} \gdefchar^^f7{$\div$} \gdefchar^^f8{\o} \gdefchar^^f9{\`u} \gdefchar^^fa{\'u} \gdefchar^^fb{\^u} \gdefchar^^fc{\"u} \gdefchar^^fd{\'y} \gdefchar^^fe{\th} \gdefchar^^ff{\"y} } % Latin9 (ISO-8859-15) encoding character definitions. \def\latninechardefs{% % Encoding is almost identical to Latin1. \latonechardefs % \gdefchar^^a4{\euro{}} \gdefchar^^a6{\v S} \gdefchar^^a8{\v s} \gdefchar^^b4{\v Z} \gdefchar^^b8{\v z} \gdefchar^^bc{\OE} \gdefchar^^bd{\oe} \gdefchar^^be{\"Y} } % Latin2 (ISO-8859-2) character definitions. \def\lattwochardefs{% \gdefchar^^a0{\tie} \gdefchar^^a1{\ogonek{A}} \gdefchar^^a2{\u{}} \gdefchar^^a3{\L} \gdefchar^^a4{\missingcharmsg{CURRENCY SIGN}} \gdefchar^^a5{\v L} \gdefchar^^a6{\'S} \gdefchar^^a7{\S} \gdefchar^^a8{\"{}} \gdefchar^^a9{\v S} \gdefchar^^aa{\cedilla S} \gdefchar^^ab{\v T} \gdefchar^^ac{\'Z} \gdefchar^^ad{\-} \gdefchar^^ae{\v Z} \gdefchar^^af{\dotaccent Z} % \gdefchar^^b0{\textdegree{}} \gdefchar^^b1{\ogonek{a}} \gdefchar^^b2{\ogonek{ }} \gdefchar^^b3{\l} \gdefchar^^b4{\'{}} \gdefchar^^b5{\v l} \gdefchar^^b6{\'s} \gdefchar^^b7{\v{}} \gdefchar^^b8{\cedilla\ } \gdefchar^^b9{\v s} \gdefchar^^ba{\cedilla s} \gdefchar^^bb{\v t} \gdefchar^^bc{\'z} \gdefchar^^bd{\H{}} \gdefchar^^be{\v z} \gdefchar^^bf{\dotaccent z} % \gdefchar^^c0{\'R} \gdefchar^^c1{\'A} \gdefchar^^c2{\^A} \gdefchar^^c3{\u A} \gdefchar^^c4{\"A} \gdefchar^^c5{\'L} \gdefchar^^c6{\'C} \gdefchar^^c7{\cedilla C} \gdefchar^^c8{\v C} \gdefchar^^c9{\'E} \gdefchar^^ca{\ogonek{E}} \gdefchar^^cb{\"E} \gdefchar^^cc{\v E} \gdefchar^^cd{\'I} \gdefchar^^ce{\^I} \gdefchar^^cf{\v D} % \gdefchar^^d0{\DH} \gdefchar^^d1{\'N} \gdefchar^^d2{\v N} \gdefchar^^d3{\'O} \gdefchar^^d4{\^O} \gdefchar^^d5{\H O} \gdefchar^^d6{\"O} \gdefchar^^d7{$\times$} \gdefchar^^d8{\v R} \gdefchar^^d9{\ringaccent U} \gdefchar^^da{\'U} \gdefchar^^db{\H U} \gdefchar^^dc{\"U} \gdefchar^^dd{\'Y} \gdefchar^^de{\cedilla T} \gdefchar^^df{\ss} % \gdefchar^^e0{\'r} \gdefchar^^e1{\'a} \gdefchar^^e2{\^a} \gdefchar^^e3{\u a} \gdefchar^^e4{\"a} \gdefchar^^e5{\'l} \gdefchar^^e6{\'c} \gdefchar^^e7{\cedilla c} \gdefchar^^e8{\v c} \gdefchar^^e9{\'e} \gdefchar^^ea{\ogonek{e}} \gdefchar^^eb{\"e} \gdefchar^^ec{\v e} \gdefchar^^ed{\'{\dotless{i}}} \gdefchar^^ee{\^{\dotless{i}}} \gdefchar^^ef{\v d} % \gdefchar^^f0{\dh} \gdefchar^^f1{\'n} \gdefchar^^f2{\v n} \gdefchar^^f3{\'o} \gdefchar^^f4{\^o} \gdefchar^^f5{\H o} \gdefchar^^f6{\"o} \gdefchar^^f7{$\div$} \gdefchar^^f8{\v r} \gdefchar^^f9{\ringaccent u} \gdefchar^^fa{\'u} \gdefchar^^fb{\H u} \gdefchar^^fc{\"u} \gdefchar^^fd{\'y} \gdefchar^^fe{\cedilla t} \gdefchar^^ff{\dotaccent{}} } % UTF-8 character definitions. % % This code to support UTF-8 is based on LaTeX's utf8.def, with some % changes for Texinfo conventions. It is included here under the GPL by % permission from Frank Mittelbach and the LaTeX team. % \newcount\countUTFx \newcount\countUTFy \newcount\countUTFz \gdef\UTFviiiTwoOctets#1#2{\expandafter \UTFviiiDefined\csname u8:#1\string #2\endcsname} % \gdef\UTFviiiThreeOctets#1#2#3{\expandafter \UTFviiiDefined\csname u8:#1\string #2\string #3\endcsname} % \gdef\UTFviiiFourOctets#1#2#3#4{\expandafter \UTFviiiDefined\csname u8:#1\string #2\string #3\string #4\endcsname} \gdef\UTFviiiDefined#1{% \ifx #1\relax \message{\linenumber Unicode char \string #1 not defined for Texinfo}% \else \expandafter #1% \fi } % Give non-ASCII bytes the active definitions for processing UTF-8 sequences \begingroup \catcode`\~13 \catcode`\$12 \catcode`\"12 % Loop from \countUTFx to \countUTFy, performing \UTFviiiTmp % substituting ~ and $ with a character token of that value. \def\UTFviiiLoop{% \global\catcode\countUTFx\active \uccode`\~\countUTFx \uccode`\$\countUTFx \uppercase\expandafter{\UTFviiiTmp}% \advance\countUTFx by 1 \ifnum\countUTFx < \countUTFy \expandafter\UTFviiiLoop \fi} % For bytes other than the first in a UTF-8 sequence. Not expected to % be expanded except when writing to auxiliary files. \countUTFx = "80 \countUTFy = "C2 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $\fi}}% \UTFviiiLoop \countUTFx = "C2 \countUTFy = "E0 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $% \else\expandafter\UTFviiiTwoOctets\expandafter$\fi}}% \UTFviiiLoop \countUTFx = "E0 \countUTFy = "F0 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $% \else\expandafter\UTFviiiThreeOctets\expandafter$\fi}}% \UTFviiiLoop \countUTFx = "F0 \countUTFy = "F4 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $% \else\expandafter\UTFviiiFourOctets\expandafter$\fi }}% \UTFviiiLoop \endgroup \def\globallet{\global\let} % save some \expandafter's below % @U{xxxx} to produce U+xxxx, if we support it. \def\U#1{% \expandafter\ifx\csname uni:#1\endcsname \relax \iftxinativeunicodecapable % All Unicode characters can be used if native Unicode handling is % active. However, if the font does not have the glyph, % letters are missing. \begingroup \uccode`\.="#1\relax \uppercase{.} \endgroup \else \errhelp = \EMsimple \errmessage{Unicode character U+#1 not supported, sorry}% \fi \else \csname uni:#1\endcsname \fi } % These macros are used here to construct the name of a control % sequence to be defined. \def\UTFviiiTwoOctetsName#1#2{% \csname u8:#1\string #2\endcsname}% \def\UTFviiiThreeOctetsName#1#2#3{% \csname u8:#1\string #2\string #3\endcsname}% \def\UTFviiiFourOctetsName#1#2#3#4{% \csname u8:#1\string #2\string #3\string #4\endcsname}% % For UTF-8 byte sequences (TeX, e-TeX and pdfTeX), % provide a definition macro to replace a Unicode character; % this gets used by the @U command % \begingroup \catcode`\"=12 \catcode`\<=12 \catcode`\.=12 \catcode`\,=12 \catcode`\;=12 \catcode`\!=12 \catcode`\~=13 \gdef\DeclareUnicodeCharacterUTFviii#1#2{% \countUTFz = "#1\relax \begingroup \parseXMLCharref % Give \u8:... its definition. The sequence of seven \expandafter's % expands after the \gdef three times, e.g. % % 1. \UTFviiTwoOctetsName B1 B2 % 2. \csname u8:B1 \string B2 \endcsname % 3. \u8: B1 B2 (a single control sequence token) % \expandafter\expandafter \expandafter\expandafter \expandafter\expandafter \expandafter\gdef \UTFviiiTmp{#2}% % \expandafter\ifx\csname uni:#1\endcsname \relax \else \message{Internal error, already defined: #1}% \fi % % define an additional control sequence for this code point. \expandafter\globallet\csname uni:#1\endcsname \UTFviiiTmp \endgroup} % % Given the value in \countUTFz as a Unicode code point, set \UTFviiiTmp % to the corresponding UTF-8 sequence. \gdef\parseXMLCharref{% \ifnum\countUTFz < "A0\relax \errhelp = \EMsimple \errmessage{Cannot define Unicode char value < 00A0}% \else\ifnum\countUTFz < "800\relax \parseUTFviiiA,% \parseUTFviiiB C\UTFviiiTwoOctetsName.,% \else\ifnum\countUTFz < "10000\relax \parseUTFviiiA;% \parseUTFviiiA,% \parseUTFviiiB E\UTFviiiThreeOctetsName.{,;}% \else \parseUTFviiiA;% \parseUTFviiiA,% \parseUTFviiiA!% \parseUTFviiiB F\UTFviiiFourOctetsName.{!,;}% \fi\fi\fi } % Extract a byte from the end of the UTF-8 representation of \countUTFx. % It must be a non-initial byte in the sequence. % Change \uccode of #1 for it to be used in \parseUTFviiiB as one % of the bytes. \gdef\parseUTFviiiA#1{% \countUTFx = \countUTFz \divide\countUTFz by 64 \countUTFy = \countUTFz % Save to be the future value of \countUTFz. \multiply\countUTFz by 64 % \countUTFz is now \countUTFx with the last 5 bits cleared. Subtract % in order to get the last five bits. \advance\countUTFx by -\countUTFz % Convert this to the byte in the UTF-8 sequence. \advance\countUTFx by 128 \uccode `#1\countUTFx \countUTFz = \countUTFy} % Used to put a UTF-8 byte sequence into \UTFviiiTmp % #1 is the increment for \countUTFz to yield a the first byte of the UTF-8 % sequence. % #2 is one of the \UTFviii*OctetsName macros. % #3 is always a full stop (.) % #4 is a template for the other bytes in the sequence. The values for these % bytes is substituted in here with \uppercase using the \uccode's. \gdef\parseUTFviiiB#1#2#3#4{% \advance\countUTFz by "#10\relax \uccode `#3\countUTFz \uppercase{\gdef\UTFviiiTmp{#2#3#4}}} \endgroup % For native Unicode handling (XeTeX and LuaTeX), % provide a definition macro that sets a catcode to `other' non-globally % \def\DeclareUnicodeCharacterNativeOther#1#2{% \catcode"#1=\other } % https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_M % U+0000..U+007F = https://en.wikipedia.org/wiki/Basic_Latin_(Unicode_block) % U+0080..U+00FF = https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block) % U+0100..U+017F = https://en.wikipedia.org/wiki/Latin_Extended-A % U+0180..U+024F = https://en.wikipedia.org/wiki/Latin_Extended-B % % Many of our renditions are less than wonderful, and all the missing % characters are available somewhere. Loading the necessary fonts % awaits user request. We can't truly support Unicode without % reimplementing everything that's been done in LaTeX for many years, % plus probably using luatex or xetex, and who knows what else. % We won't be doing that here in this simple file. But we can try to at % least make most of the characters not bomb out. % \def\unicodechardefs{% \DeclareUnicodeCharacter{00A0}{\tie}% \DeclareUnicodeCharacter{00A1}{\exclamdown}% \DeclareUnicodeCharacter{00A2}{{\tcfont \char162}}% 0242=cent \DeclareUnicodeCharacter{00A3}{\pounds{}}% \DeclareUnicodeCharacter{00A4}{{\tcfont \char164}}% 0244=currency \DeclareUnicodeCharacter{00A5}{{\tcfont \char165}}% 0245=yen \DeclareUnicodeCharacter{00A6}{{\tcfont \char166}}% 0246=brokenbar \DeclareUnicodeCharacter{00A7}{\S}% \DeclareUnicodeCharacter{00A8}{\"{ }}% \DeclareUnicodeCharacter{00A9}{\copyright{}}% \DeclareUnicodeCharacter{00AA}{\ordf}% \DeclareUnicodeCharacter{00AB}{\guillemetleft{}}% \DeclareUnicodeCharacter{00AC}{\ensuremath\lnot}% \DeclareUnicodeCharacter{00AD}{\-}% \DeclareUnicodeCharacter{00AE}{\registeredsymbol{}}% \DeclareUnicodeCharacter{00AF}{\={ }}% % \DeclareUnicodeCharacter{00B0}{\ringaccent{ }}% \DeclareUnicodeCharacter{00B1}{\ensuremath\pm}% \DeclareUnicodeCharacter{00B2}{$^2$}% \DeclareUnicodeCharacter{00B3}{$^3$}% \DeclareUnicodeCharacter{00B4}{\'{ }}% \DeclareUnicodeCharacter{00B5}{$\mu$}% \DeclareUnicodeCharacter{00B6}{\P}% \DeclareUnicodeCharacter{00B7}{\ensuremath\cdot}% \DeclareUnicodeCharacter{00B8}{\cedilla{ }}% \DeclareUnicodeCharacter{00B9}{$^1$}% \DeclareUnicodeCharacter{00BA}{\ordm}% \DeclareUnicodeCharacter{00BB}{\guillemetright{}}% \DeclareUnicodeCharacter{00BC}{$1\over4$}% \DeclareUnicodeCharacter{00BD}{$1\over2$}% \DeclareUnicodeCharacter{00BE}{$3\over4$}% \DeclareUnicodeCharacter{00BF}{\questiondown}% % \DeclareUnicodeCharacter{00C0}{\`A}% \DeclareUnicodeCharacter{00C1}{\'A}% \DeclareUnicodeCharacter{00C2}{\^A}% \DeclareUnicodeCharacter{00C3}{\~A}% \DeclareUnicodeCharacter{00C4}{\"A}% \DeclareUnicodeCharacter{00C5}{\AA}% \DeclareUnicodeCharacter{00C6}{\AE}% \DeclareUnicodeCharacter{00C7}{\cedilla{C}}% \DeclareUnicodeCharacter{00C8}{\`E}% \DeclareUnicodeCharacter{00C9}{\'E}% \DeclareUnicodeCharacter{00CA}{\^E}% \DeclareUnicodeCharacter{00CB}{\"E}% \DeclareUnicodeCharacter{00CC}{\`I}% \DeclareUnicodeCharacter{00CD}{\'I}% \DeclareUnicodeCharacter{00CE}{\^I}% \DeclareUnicodeCharacter{00CF}{\"I}% % \DeclareUnicodeCharacter{00D0}{\DH}% \DeclareUnicodeCharacter{00D1}{\~N}% \DeclareUnicodeCharacter{00D2}{\`O}% \DeclareUnicodeCharacter{00D3}{\'O}% \DeclareUnicodeCharacter{00D4}{\^O}% \DeclareUnicodeCharacter{00D5}{\~O}% \DeclareUnicodeCharacter{00D6}{\"O}% \DeclareUnicodeCharacter{00D7}{\ensuremath\times}% \DeclareUnicodeCharacter{00D8}{\O}% \DeclareUnicodeCharacter{00D9}{\`U}% \DeclareUnicodeCharacter{00DA}{\'U}% \DeclareUnicodeCharacter{00DB}{\^U}% \DeclareUnicodeCharacter{00DC}{\"U}% \DeclareUnicodeCharacter{00DD}{\'Y}% \DeclareUnicodeCharacter{00DE}{\TH}% \DeclareUnicodeCharacter{00DF}{\ss}% % \DeclareUnicodeCharacter{00E0}{\`a}% \DeclareUnicodeCharacter{00E1}{\'a}% \DeclareUnicodeCharacter{00E2}{\^a}% \DeclareUnicodeCharacter{00E3}{\~a}% \DeclareUnicodeCharacter{00E4}{\"a}% \DeclareUnicodeCharacter{00E5}{\aa}% \DeclareUnicodeCharacter{00E6}{\ae}% \DeclareUnicodeCharacter{00E7}{\cedilla{c}}% \DeclareUnicodeCharacter{00E8}{\`e}% \DeclareUnicodeCharacter{00E9}{\'e}% \DeclareUnicodeCharacter{00EA}{\^e}% \DeclareUnicodeCharacter{00EB}{\"e}% \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}}% \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}}% \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}}% \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}}% % \DeclareUnicodeCharacter{00F0}{\dh}% \DeclareUnicodeCharacter{00F1}{\~n}% \DeclareUnicodeCharacter{00F2}{\`o}% \DeclareUnicodeCharacter{00F3}{\'o}% \DeclareUnicodeCharacter{00F4}{\^o}% \DeclareUnicodeCharacter{00F5}{\~o}% \DeclareUnicodeCharacter{00F6}{\"o}% \DeclareUnicodeCharacter{00F7}{\ensuremath\div}% \DeclareUnicodeCharacter{00F8}{\o}% \DeclareUnicodeCharacter{00F9}{\`u}% \DeclareUnicodeCharacter{00FA}{\'u}% \DeclareUnicodeCharacter{00FB}{\^u}% \DeclareUnicodeCharacter{00FC}{\"u}% \DeclareUnicodeCharacter{00FD}{\'y}% \DeclareUnicodeCharacter{00FE}{\th}% \DeclareUnicodeCharacter{00FF}{\"y}% % \DeclareUnicodeCharacter{0100}{\=A}% \DeclareUnicodeCharacter{0101}{\=a}% \DeclareUnicodeCharacter{0102}{\u{A}}% \DeclareUnicodeCharacter{0103}{\u{a}}% \DeclareUnicodeCharacter{0104}{\ogonek{A}}% \DeclareUnicodeCharacter{0105}{\ogonek{a}}% \DeclareUnicodeCharacter{0106}{\'C}% \DeclareUnicodeCharacter{0107}{\'c}% \DeclareUnicodeCharacter{0108}{\^C}% \DeclareUnicodeCharacter{0109}{\^c}% \DeclareUnicodeCharacter{010A}{\dotaccent{C}}% \DeclareUnicodeCharacter{010B}{\dotaccent{c}}% \DeclareUnicodeCharacter{010C}{\v{C}}% \DeclareUnicodeCharacter{010D}{\v{c}}% \DeclareUnicodeCharacter{010E}{\v{D}}% \DeclareUnicodeCharacter{010F}{d'}% % \DeclareUnicodeCharacter{0110}{\DH}% \DeclareUnicodeCharacter{0111}{\dh}% \DeclareUnicodeCharacter{0112}{\=E}% \DeclareUnicodeCharacter{0113}{\=e}% \DeclareUnicodeCharacter{0114}{\u{E}}% \DeclareUnicodeCharacter{0115}{\u{e}}% \DeclareUnicodeCharacter{0116}{\dotaccent{E}}% \DeclareUnicodeCharacter{0117}{\dotaccent{e}}% \DeclareUnicodeCharacter{0118}{\ogonek{E}}% \DeclareUnicodeCharacter{0119}{\ogonek{e}}% \DeclareUnicodeCharacter{011A}{\v{E}}% \DeclareUnicodeCharacter{011B}{\v{e}}% \DeclareUnicodeCharacter{011C}{\^G}% \DeclareUnicodeCharacter{011D}{\^g}% \DeclareUnicodeCharacter{011E}{\u{G}}% \DeclareUnicodeCharacter{011F}{\u{g}}% % \DeclareUnicodeCharacter{0120}{\dotaccent{G}}% \DeclareUnicodeCharacter{0121}{\dotaccent{g}}% \DeclareUnicodeCharacter{0122}{\cedilla{G}}% \DeclareUnicodeCharacter{0123}{\cedilla{g}}% \DeclareUnicodeCharacter{0124}{\^H}% \DeclareUnicodeCharacter{0125}{\^h}% \DeclareUnicodeCharacter{0126}{\missingcharmsg{H WITH STROKE}}% \DeclareUnicodeCharacter{0127}{\missingcharmsg{h WITH STROKE}}% \DeclareUnicodeCharacter{0128}{\~I}% \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}}% \DeclareUnicodeCharacter{012A}{\=I}% \DeclareUnicodeCharacter{012B}{\={\dotless{i}}}% \DeclareUnicodeCharacter{012C}{\u{I}}% \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}}% \DeclareUnicodeCharacter{012E}{\ogonek{I}}% \DeclareUnicodeCharacter{012F}{\ogonek{i}}% % \DeclareUnicodeCharacter{0130}{\dotaccent{I}}% \DeclareUnicodeCharacter{0131}{\dotless{i}}% \DeclareUnicodeCharacter{0132}{IJ}% \DeclareUnicodeCharacter{0133}{ij}% \DeclareUnicodeCharacter{0134}{\^J}% \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}}% \DeclareUnicodeCharacter{0136}{\cedilla{K}}% \DeclareUnicodeCharacter{0137}{\cedilla{k}}% \DeclareUnicodeCharacter{0138}{\ensuremath\kappa}% \DeclareUnicodeCharacter{0139}{\'L}% \DeclareUnicodeCharacter{013A}{\'l}% \DeclareUnicodeCharacter{013B}{\cedilla{L}}% \DeclareUnicodeCharacter{013C}{\cedilla{l}}% \DeclareUnicodeCharacter{013D}{L'}% should kern \DeclareUnicodeCharacter{013E}{l'}% should kern \DeclareUnicodeCharacter{013F}{L\U{00B7}}% % \DeclareUnicodeCharacter{0140}{l\U{00B7}}% \DeclareUnicodeCharacter{0141}{\L}% \DeclareUnicodeCharacter{0142}{\l}% \DeclareUnicodeCharacter{0143}{\'N}% \DeclareUnicodeCharacter{0144}{\'n}% \DeclareUnicodeCharacter{0145}{\cedilla{N}}% \DeclareUnicodeCharacter{0146}{\cedilla{n}}% \DeclareUnicodeCharacter{0147}{\v{N}}% \DeclareUnicodeCharacter{0148}{\v{n}}% \DeclareUnicodeCharacter{0149}{'n}% \DeclareUnicodeCharacter{014A}{\missingcharmsg{ENG}}% \DeclareUnicodeCharacter{014B}{\missingcharmsg{eng}}% \DeclareUnicodeCharacter{014C}{\=O}% \DeclareUnicodeCharacter{014D}{\=o}% \DeclareUnicodeCharacter{014E}{\u{O}}% \DeclareUnicodeCharacter{014F}{\u{o}}% % \DeclareUnicodeCharacter{0150}{\H{O}}% \DeclareUnicodeCharacter{0151}{\H{o}}% \DeclareUnicodeCharacter{0152}{\OE}% \DeclareUnicodeCharacter{0153}{\oe}% \DeclareUnicodeCharacter{0154}{\'R}% \DeclareUnicodeCharacter{0155}{\'r}% \DeclareUnicodeCharacter{0156}{\cedilla{R}}% \DeclareUnicodeCharacter{0157}{\cedilla{r}}% \DeclareUnicodeCharacter{0158}{\v{R}}% \DeclareUnicodeCharacter{0159}{\v{r}}% \DeclareUnicodeCharacter{015A}{\'S}% \DeclareUnicodeCharacter{015B}{\'s}% \DeclareUnicodeCharacter{015C}{\^S}% \DeclareUnicodeCharacter{015D}{\^s}% \DeclareUnicodeCharacter{015E}{\cedilla{S}}% \DeclareUnicodeCharacter{015F}{\cedilla{s}}% % \DeclareUnicodeCharacter{0160}{\v{S}}% \DeclareUnicodeCharacter{0161}{\v{s}}% \DeclareUnicodeCharacter{0162}{\cedilla{T}}% \DeclareUnicodeCharacter{0163}{\cedilla{t}}% \DeclareUnicodeCharacter{0164}{\v{T}}% \DeclareUnicodeCharacter{0165}{\v{t}}% \DeclareUnicodeCharacter{0166}{\missingcharmsg{H WITH STROKE}}% \DeclareUnicodeCharacter{0167}{\missingcharmsg{h WITH STROKE}}% \DeclareUnicodeCharacter{0168}{\~U}% \DeclareUnicodeCharacter{0169}{\~u}% \DeclareUnicodeCharacter{016A}{\=U}% \DeclareUnicodeCharacter{016B}{\=u}% \DeclareUnicodeCharacter{016C}{\u{U}}% \DeclareUnicodeCharacter{016D}{\u{u}}% \DeclareUnicodeCharacter{016E}{\ringaccent{U}}% \DeclareUnicodeCharacter{016F}{\ringaccent{u}}% % \DeclareUnicodeCharacter{0170}{\H{U}}% \DeclareUnicodeCharacter{0171}{\H{u}}% \DeclareUnicodeCharacter{0172}{\ogonek{U}}% \DeclareUnicodeCharacter{0173}{\ogonek{u}}% \DeclareUnicodeCharacter{0174}{\^W}% \DeclareUnicodeCharacter{0175}{\^w}% \DeclareUnicodeCharacter{0176}{\^Y}% \DeclareUnicodeCharacter{0177}{\^y}% \DeclareUnicodeCharacter{0178}{\"Y}% \DeclareUnicodeCharacter{0179}{\'Z}% \DeclareUnicodeCharacter{017A}{\'z}% \DeclareUnicodeCharacter{017B}{\dotaccent{Z}}% \DeclareUnicodeCharacter{017C}{\dotaccent{z}}% \DeclareUnicodeCharacter{017D}{\v{Z}}% \DeclareUnicodeCharacter{017E}{\v{z}}% \DeclareUnicodeCharacter{017F}{\missingcharmsg{LONG S}}% % \DeclareUnicodeCharacter{01C4}{D\v{Z}}% \DeclareUnicodeCharacter{01C5}{D\v{z}}% \DeclareUnicodeCharacter{01C6}{d\v{z}}% \DeclareUnicodeCharacter{01C7}{LJ}% \DeclareUnicodeCharacter{01C8}{Lj}% \DeclareUnicodeCharacter{01C9}{lj}% \DeclareUnicodeCharacter{01CA}{NJ}% \DeclareUnicodeCharacter{01CB}{Nj}% \DeclareUnicodeCharacter{01CC}{nj}% \DeclareUnicodeCharacter{01CD}{\v{A}}% \DeclareUnicodeCharacter{01CE}{\v{a}}% \DeclareUnicodeCharacter{01CF}{\v{I}}% % \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}}% \DeclareUnicodeCharacter{01D1}{\v{O}}% \DeclareUnicodeCharacter{01D2}{\v{o}}% \DeclareUnicodeCharacter{01D3}{\v{U}}% \DeclareUnicodeCharacter{01D4}{\v{u}}% % \DeclareUnicodeCharacter{01E2}{\={\AE}}% \DeclareUnicodeCharacter{01E3}{\={\ae}}% \DeclareUnicodeCharacter{01E6}{\v{G}}% \DeclareUnicodeCharacter{01E7}{\v{g}}% \DeclareUnicodeCharacter{01E8}{\v{K}}% \DeclareUnicodeCharacter{01E9}{\v{k}}% % \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}}% \DeclareUnicodeCharacter{01F1}{DZ}% \DeclareUnicodeCharacter{01F2}{Dz}% \DeclareUnicodeCharacter{01F3}{dz}% \DeclareUnicodeCharacter{01F4}{\'G}% \DeclareUnicodeCharacter{01F5}{\'g}% \DeclareUnicodeCharacter{01F8}{\`N}% \DeclareUnicodeCharacter{01F9}{\`n}% \DeclareUnicodeCharacter{01FC}{\'{\AE}}% \DeclareUnicodeCharacter{01FD}{\'{\ae}}% \DeclareUnicodeCharacter{01FE}{\'{\O}}% \DeclareUnicodeCharacter{01FF}{\'{\o}}% % \DeclareUnicodeCharacter{021E}{\v{H}}% \DeclareUnicodeCharacter{021F}{\v{h}}% % \DeclareUnicodeCharacter{0226}{\dotaccent{A}}% \DeclareUnicodeCharacter{0227}{\dotaccent{a}}% \DeclareUnicodeCharacter{0228}{\cedilla{E}}% \DeclareUnicodeCharacter{0229}{\cedilla{e}}% \DeclareUnicodeCharacter{022E}{\dotaccent{O}}% \DeclareUnicodeCharacter{022F}{\dotaccent{o}}% % \DeclareUnicodeCharacter{0232}{\=Y}% \DeclareUnicodeCharacter{0233}{\=y}% \DeclareUnicodeCharacter{0237}{\dotless{j}}% % \DeclareUnicodeCharacter{02DB}{\ogonek{ }}% % % Greek letters upper case \DeclareUnicodeCharacter{0391}{{\it A}}% \DeclareUnicodeCharacter{0392}{{\it B}}% \DeclareUnicodeCharacter{0393}{\ensuremath{\mit\Gamma}}% \DeclareUnicodeCharacter{0394}{\ensuremath{\mit\Delta}}% \DeclareUnicodeCharacter{0395}{{\it E}}% \DeclareUnicodeCharacter{0396}{{\it Z}}% \DeclareUnicodeCharacter{0397}{{\it H}}% \DeclareUnicodeCharacter{0398}{\ensuremath{\mit\Theta}}% \DeclareUnicodeCharacter{0399}{{\it I}}% \DeclareUnicodeCharacter{039A}{{\it K}}% \DeclareUnicodeCharacter{039B}{\ensuremath{\mit\Lambda}}% \DeclareUnicodeCharacter{039C}{{\it M}}% \DeclareUnicodeCharacter{039D}{{\it N}}% \DeclareUnicodeCharacter{039E}{\ensuremath{\mit\Xi}}% \DeclareUnicodeCharacter{039F}{{\it O}}% \DeclareUnicodeCharacter{03A0}{\ensuremath{\mit\Pi}}% \DeclareUnicodeCharacter{03A1}{{\it P}}% %\DeclareUnicodeCharacter{03A2}{} % none - corresponds to final sigma \DeclareUnicodeCharacter{03A3}{\ensuremath{\mit\Sigma}}% \DeclareUnicodeCharacter{03A4}{{\it T}}% \DeclareUnicodeCharacter{03A5}{\ensuremath{\mit\Upsilon}}% \DeclareUnicodeCharacter{03A6}{\ensuremath{\mit\Phi}}% \DeclareUnicodeCharacter{03A7}{{\it X}}% \DeclareUnicodeCharacter{03A8}{\ensuremath{\mit\Psi}}% \DeclareUnicodeCharacter{03A9}{\ensuremath{\mit\Omega}}% % % Vowels with accents \DeclareUnicodeCharacter{0390}{\ensuremath{\ddot{\acute\iota}}}% \DeclareUnicodeCharacter{03AC}{\ensuremath{\acute\alpha}}% \DeclareUnicodeCharacter{03AD}{\ensuremath{\acute\epsilon}}% \DeclareUnicodeCharacter{03AE}{\ensuremath{\acute\eta}}% \DeclareUnicodeCharacter{03AF}{\ensuremath{\acute\iota}}% \DeclareUnicodeCharacter{03B0}{\ensuremath{\acute{\ddot\upsilon}}}% % % Standalone accent \DeclareUnicodeCharacter{0384}{\ensuremath{\acute{\ }}}% % % Greek letters lower case \DeclareUnicodeCharacter{03B1}{\ensuremath\alpha}% \DeclareUnicodeCharacter{03B2}{\ensuremath\beta}% \DeclareUnicodeCharacter{03B3}{\ensuremath\gamma}% \DeclareUnicodeCharacter{03B4}{\ensuremath\delta}% \DeclareUnicodeCharacter{03B5}{\ensuremath\epsilon}% \DeclareUnicodeCharacter{03B6}{\ensuremath\zeta}% \DeclareUnicodeCharacter{03B7}{\ensuremath\eta}% \DeclareUnicodeCharacter{03B8}{\ensuremath\theta}% \DeclareUnicodeCharacter{03B9}{\ensuremath\iota}% \DeclareUnicodeCharacter{03BA}{\ensuremath\kappa}% \DeclareUnicodeCharacter{03BB}{\ensuremath\lambda}% \DeclareUnicodeCharacter{03BC}{\ensuremath\mu}% \DeclareUnicodeCharacter{03BD}{\ensuremath\nu}% \DeclareUnicodeCharacter{03BE}{\ensuremath\xi}% \DeclareUnicodeCharacter{03BF}{{\it o}}% omicron \DeclareUnicodeCharacter{03C0}{\ensuremath\pi}% \DeclareUnicodeCharacter{03C1}{\ensuremath\rho}% \DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma}% \DeclareUnicodeCharacter{03C3}{\ensuremath\sigma}% \DeclareUnicodeCharacter{03C4}{\ensuremath\tau}% \DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon}% \DeclareUnicodeCharacter{03C6}{\ensuremath\phi}% \DeclareUnicodeCharacter{03C7}{\ensuremath\chi}% \DeclareUnicodeCharacter{03C8}{\ensuremath\psi}% \DeclareUnicodeCharacter{03C9}{\ensuremath\omega}% % % More Greek vowels with accents \DeclareUnicodeCharacter{03CA}{\ensuremath{\ddot\iota}}% \DeclareUnicodeCharacter{03CB}{\ensuremath{\ddot\upsilon}}% \DeclareUnicodeCharacter{03CC}{\ensuremath{\acute o}}% \DeclareUnicodeCharacter{03CD}{\ensuremath{\acute\upsilon}}% \DeclareUnicodeCharacter{03CE}{\ensuremath{\acute\omega}}% % % Variant Greek letters \DeclareUnicodeCharacter{03D1}{\ensuremath\vartheta}% \DeclareUnicodeCharacter{03D6}{\ensuremath\varpi}% \DeclareUnicodeCharacter{03F1}{\ensuremath\varrho}% % \DeclareUnicodeCharacter{1E02}{\dotaccent{B}}% \DeclareUnicodeCharacter{1E03}{\dotaccent{b}}% \DeclareUnicodeCharacter{1E04}{\udotaccent{B}}% \DeclareUnicodeCharacter{1E05}{\udotaccent{b}}% \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}}% \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}}% \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}}% \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}}% \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}}% \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}}% \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}}% \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}}% % \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}}% \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}}% % \DeclareUnicodeCharacter{1E20}{\=G}% \DeclareUnicodeCharacter{1E21}{\=g}% \DeclareUnicodeCharacter{1E22}{\dotaccent{H}}% \DeclareUnicodeCharacter{1E23}{\dotaccent{h}}% \DeclareUnicodeCharacter{1E24}{\udotaccent{H}}% \DeclareUnicodeCharacter{1E25}{\udotaccent{h}}% \DeclareUnicodeCharacter{1E26}{\"H}% \DeclareUnicodeCharacter{1E27}{\"h}% % \DeclareUnicodeCharacter{1E30}{\'K}% \DeclareUnicodeCharacter{1E31}{\'k}% \DeclareUnicodeCharacter{1E32}{\udotaccent{K}}% \DeclareUnicodeCharacter{1E33}{\udotaccent{k}}% \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}}% \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}}% \DeclareUnicodeCharacter{1E36}{\udotaccent{L}}% \DeclareUnicodeCharacter{1E37}{\udotaccent{l}}% \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}}% \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}}% \DeclareUnicodeCharacter{1E3E}{\'M}% \DeclareUnicodeCharacter{1E3F}{\'m}% % \DeclareUnicodeCharacter{1E40}{\dotaccent{M}}% \DeclareUnicodeCharacter{1E41}{\dotaccent{m}}% \DeclareUnicodeCharacter{1E42}{\udotaccent{M}}% \DeclareUnicodeCharacter{1E43}{\udotaccent{m}}% \DeclareUnicodeCharacter{1E44}{\dotaccent{N}}% \DeclareUnicodeCharacter{1E45}{\dotaccent{n}}% \DeclareUnicodeCharacter{1E46}{\udotaccent{N}}% \DeclareUnicodeCharacter{1E47}{\udotaccent{n}}% \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}}% \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}}% % \DeclareUnicodeCharacter{1E54}{\'P}% \DeclareUnicodeCharacter{1E55}{\'p}% \DeclareUnicodeCharacter{1E56}{\dotaccent{P}}% \DeclareUnicodeCharacter{1E57}{\dotaccent{p}}% \DeclareUnicodeCharacter{1E58}{\dotaccent{R}}% \DeclareUnicodeCharacter{1E59}{\dotaccent{r}}% \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}}% \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}}% \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}}% \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}}% % \DeclareUnicodeCharacter{1E60}{\dotaccent{S}}% \DeclareUnicodeCharacter{1E61}{\dotaccent{s}}% \DeclareUnicodeCharacter{1E62}{\udotaccent{S}}% \DeclareUnicodeCharacter{1E63}{\udotaccent{s}}% \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}}% \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}}% \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}}% \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}}% \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}}% \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}}% % \DeclareUnicodeCharacter{1E7C}{\~V}% \DeclareUnicodeCharacter{1E7D}{\~v}% \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}}% \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}}% % \DeclareUnicodeCharacter{1E80}{\`W}% \DeclareUnicodeCharacter{1E81}{\`w}% \DeclareUnicodeCharacter{1E82}{\'W}% \DeclareUnicodeCharacter{1E83}{\'w}% \DeclareUnicodeCharacter{1E84}{\"W}% \DeclareUnicodeCharacter{1E85}{\"w}% \DeclareUnicodeCharacter{1E86}{\dotaccent{W}}% \DeclareUnicodeCharacter{1E87}{\dotaccent{w}}% \DeclareUnicodeCharacter{1E88}{\udotaccent{W}}% \DeclareUnicodeCharacter{1E89}{\udotaccent{w}}% \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}}% \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}}% \DeclareUnicodeCharacter{1E8C}{\"X}% \DeclareUnicodeCharacter{1E8D}{\"x}% \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}}% \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}}% % \DeclareUnicodeCharacter{1E90}{\^Z}% \DeclareUnicodeCharacter{1E91}{\^z}% \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}}% \DeclareUnicodeCharacter{1E93}{\udotaccent{z}}% \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}}% \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}}% \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}}% \DeclareUnicodeCharacter{1E97}{\"t}% \DeclareUnicodeCharacter{1E98}{\ringaccent{w}}% \DeclareUnicodeCharacter{1E99}{\ringaccent{y}}% % \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}}% \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}}% % \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}}% \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}}% \DeclareUnicodeCharacter{1EBC}{\~E}% \DeclareUnicodeCharacter{1EBD}{\~e}% % \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}}% \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}}% \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}}% \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}}% % \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}}% \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}}% % \DeclareUnicodeCharacter{1EF2}{\`Y}% \DeclareUnicodeCharacter{1EF3}{\`y}% \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}}% % \DeclareUnicodeCharacter{1EF8}{\~Y}% \DeclareUnicodeCharacter{1EF9}{\~y}% % % Punctuation \DeclareUnicodeCharacter{2013}{--}% \DeclareUnicodeCharacter{2014}{---}% \DeclareUnicodeCharacter{2018}{\quoteleft{}}% \DeclareUnicodeCharacter{2019}{\quoteright{}}% \DeclareUnicodeCharacter{201A}{\quotesinglbase{}}% \DeclareUnicodeCharacter{201C}{\quotedblleft{}}% \DeclareUnicodeCharacter{201D}{\quotedblright{}}% \DeclareUnicodeCharacter{201E}{\quotedblbase{}}% \DeclareUnicodeCharacter{2020}{\ensuremath\dagger}% \DeclareUnicodeCharacter{2021}{\ensuremath\ddagger}% \DeclareUnicodeCharacter{2022}{\bullet{}}% \DeclareUnicodeCharacter{202F}{\thinspace}% \DeclareUnicodeCharacter{2026}{\dots{}}% \DeclareUnicodeCharacter{2039}{\guilsinglleft{}}% \DeclareUnicodeCharacter{203A}{\guilsinglright{}}% % \DeclareUnicodeCharacter{20AC}{\euro{}}% % \DeclareUnicodeCharacter{2192}{\expansion{}}% \DeclareUnicodeCharacter{21D2}{\result{}}% % % Mathematical symbols \DeclareUnicodeCharacter{2200}{\ensuremath\forall}% \DeclareUnicodeCharacter{2203}{\ensuremath\exists}% \DeclareUnicodeCharacter{2208}{\ensuremath\in}% \DeclareUnicodeCharacter{2212}{\minus{}}% \DeclareUnicodeCharacter{2217}{\ast}% \DeclareUnicodeCharacter{221E}{\ensuremath\infty}% \DeclareUnicodeCharacter{2225}{\ensuremath\parallel}% \DeclareUnicodeCharacter{2227}{\ensuremath\wedge}% \DeclareUnicodeCharacter{2229}{\ensuremath\cap}% \DeclareUnicodeCharacter{2261}{\equiv{}}% \DeclareUnicodeCharacter{2264}{\ensuremath\leq}% \DeclareUnicodeCharacter{2265}{\ensuremath\geq}% \DeclareUnicodeCharacter{2282}{\ensuremath\subset}% \DeclareUnicodeCharacter{2287}{\ensuremath\supseteq}% % \DeclareUnicodeCharacter{2016}{\ensuremath\Vert}% \DeclareUnicodeCharacter{2032}{\ensuremath\prime}% \DeclareUnicodeCharacter{210F}{\ensuremath\hbar}% \DeclareUnicodeCharacter{2111}{\ensuremath\Im}% \DeclareUnicodeCharacter{2113}{\ensuremath\ell}% \DeclareUnicodeCharacter{2118}{\ensuremath\wp}% \DeclareUnicodeCharacter{211C}{\ensuremath\Re}% \DeclareUnicodeCharacter{2135}{\ensuremath\aleph}% \DeclareUnicodeCharacter{2190}{\ensuremath\leftarrow}% \DeclareUnicodeCharacter{2191}{\ensuremath\uparrow}% \DeclareUnicodeCharacter{2193}{\ensuremath\downarrow}% \DeclareUnicodeCharacter{2194}{\ensuremath\leftrightarrow}% \DeclareUnicodeCharacter{2195}{\ensuremath\updownarrow}% \DeclareUnicodeCharacter{2196}{\ensuremath\nwarrow}% \DeclareUnicodeCharacter{2197}{\ensuremath\nearrow}% \DeclareUnicodeCharacter{2198}{\ensuremath\searrow}% \DeclareUnicodeCharacter{2199}{\ensuremath\swarrow}% \DeclareUnicodeCharacter{21A6}{\ensuremath\mapsto}% \DeclareUnicodeCharacter{21A9}{\ensuremath\hookleftarrow}% \DeclareUnicodeCharacter{21AA}{\ensuremath\hookrightarrow}% \DeclareUnicodeCharacter{21BC}{\ensuremath\leftharpoonup}% \DeclareUnicodeCharacter{21BD}{\ensuremath\leftharpoondown}% \DeclareUnicodeCharacter{21C0}{\ensuremath\rightharpoonup}% \DeclareUnicodeCharacter{21C1}{\ensuremath\rightharpoondown}% \DeclareUnicodeCharacter{21CC}{\ensuremath\rightleftharpoons}% \DeclareUnicodeCharacter{21D0}{\ensuremath\Leftarrow}% \DeclareUnicodeCharacter{21D1}{\ensuremath\Uparrow}% \DeclareUnicodeCharacter{21D3}{\ensuremath\Downarrow}% \DeclareUnicodeCharacter{21D4}{\ensuremath\Leftrightarrow}% \DeclareUnicodeCharacter{21D5}{\ensuremath\Updownarrow}% \DeclareUnicodeCharacter{2202}{\ensuremath\partial}% \DeclareUnicodeCharacter{2205}{\ensuremath\emptyset}% \DeclareUnicodeCharacter{2207}{\ensuremath\nabla}% \DeclareUnicodeCharacter{2209}{\ensuremath\notin}% \DeclareUnicodeCharacter{220B}{\ensuremath\owns}% \DeclareUnicodeCharacter{220F}{\ensuremath\prod}% \DeclareUnicodeCharacter{2210}{\ensuremath\coprod}% \DeclareUnicodeCharacter{2211}{\ensuremath\sum}% \DeclareUnicodeCharacter{2213}{\ensuremath\mp}% \DeclareUnicodeCharacter{2218}{\ensuremath\circ}% \DeclareUnicodeCharacter{221A}{\ensuremath\surd}% \DeclareUnicodeCharacter{221D}{\ensuremath\propto}% \DeclareUnicodeCharacter{2220}{\ensuremath\angle}% \DeclareUnicodeCharacter{2223}{\ensuremath\mid}% \DeclareUnicodeCharacter{2228}{\ensuremath\vee}% \DeclareUnicodeCharacter{222A}{\ensuremath\cup}% \DeclareUnicodeCharacter{222B}{\ensuremath\smallint}% \DeclareUnicodeCharacter{222E}{\ensuremath\oint}% \DeclareUnicodeCharacter{223C}{\ensuremath\sim}% \DeclareUnicodeCharacter{2240}{\ensuremath\wr}% \DeclareUnicodeCharacter{2243}{\ensuremath\simeq}% \DeclareUnicodeCharacter{2245}{\ensuremath\cong}% \DeclareUnicodeCharacter{2248}{\ensuremath\approx}% \DeclareUnicodeCharacter{224D}{\ensuremath\asymp}% \DeclareUnicodeCharacter{2250}{\ensuremath\doteq}% \DeclareUnicodeCharacter{2260}{\ensuremath\neq}% \DeclareUnicodeCharacter{226A}{\ensuremath\ll}% \DeclareUnicodeCharacter{226B}{\ensuremath\gg}% \DeclareUnicodeCharacter{227A}{\ensuremath\prec}% \DeclareUnicodeCharacter{227B}{\ensuremath\succ}% \DeclareUnicodeCharacter{2283}{\ensuremath\supset}% \DeclareUnicodeCharacter{2286}{\ensuremath\subseteq}% \DeclareUnicodeCharacter{228E}{\ensuremath\uplus}% \DeclareUnicodeCharacter{2291}{\ensuremath\sqsubseteq}% \DeclareUnicodeCharacter{2292}{\ensuremath\sqsupseteq}% \DeclareUnicodeCharacter{2293}{\ensuremath\sqcap}% \DeclareUnicodeCharacter{2294}{\ensuremath\sqcup}% \DeclareUnicodeCharacter{2295}{\ensuremath\oplus}% \DeclareUnicodeCharacter{2296}{\ensuremath\ominus}% \DeclareUnicodeCharacter{2297}{\ensuremath\otimes}% \DeclareUnicodeCharacter{2298}{\ensuremath\oslash}% \DeclareUnicodeCharacter{2299}{\ensuremath\odot}% \DeclareUnicodeCharacter{22A2}{\ensuremath\vdash}% \DeclareUnicodeCharacter{22A3}{\ensuremath\dashv}% \DeclareUnicodeCharacter{22A4}{\ensuremath\ptextop}% \DeclareUnicodeCharacter{22A5}{\ensuremath\bot}% \DeclareUnicodeCharacter{22A8}{\ensuremath\models}% \DeclareUnicodeCharacter{22C0}{\ensuremath\bigwedge}% \DeclareUnicodeCharacter{22C1}{\ensuremath\bigvee}% \DeclareUnicodeCharacter{22C2}{\ensuremath\bigcap}% \DeclareUnicodeCharacter{22C3}{\ensuremath\bigcup}% \DeclareUnicodeCharacter{22C4}{\ensuremath\diamond}% \DeclareUnicodeCharacter{22C5}{\ensuremath\cdot}% \DeclareUnicodeCharacter{22C6}{\ensuremath\star}% \DeclareUnicodeCharacter{22C8}{\ensuremath\bowtie}% \DeclareUnicodeCharacter{2308}{\ensuremath\lceil}% \DeclareUnicodeCharacter{2309}{\ensuremath\rceil}% \DeclareUnicodeCharacter{230A}{\ensuremath\lfloor}% \DeclareUnicodeCharacter{230B}{\ensuremath\rfloor}% \DeclareUnicodeCharacter{2322}{\ensuremath\frown}% \DeclareUnicodeCharacter{2323}{\ensuremath\smile}% % \DeclareUnicodeCharacter{25B3}{\ensuremath\triangle}% \DeclareUnicodeCharacter{25B7}{\ensuremath\triangleright}% \DeclareUnicodeCharacter{25BD}{\ensuremath\bigtriangledown}% \DeclareUnicodeCharacter{25C1}{\ensuremath\triangleleft}% \DeclareUnicodeCharacter{25C7}{\ensuremath\diamond}% \DeclareUnicodeCharacter{2660}{\ensuremath\spadesuit}% \DeclareUnicodeCharacter{2661}{\ensuremath\heartsuit}% \DeclareUnicodeCharacter{2662}{\ensuremath\diamondsuit}% \DeclareUnicodeCharacter{2663}{\ensuremath\clubsuit}% \DeclareUnicodeCharacter{266D}{\ensuremath\flat}% \DeclareUnicodeCharacter{266E}{\ensuremath\natural}% \DeclareUnicodeCharacter{266F}{\ensuremath\sharp}% \DeclareUnicodeCharacter{26AA}{\ensuremath\bigcirc}% \DeclareUnicodeCharacter{27B9}{\ensuremath\rangle}% \DeclareUnicodeCharacter{27C2}{\ensuremath\perp}% \DeclareUnicodeCharacter{27E8}{\ensuremath\langle}% \DeclareUnicodeCharacter{27F5}{\ensuremath\longleftarrow}% \DeclareUnicodeCharacter{27F6}{\ensuremath\longrightarrow}% \DeclareUnicodeCharacter{27F7}{\ensuremath\longleftrightarrow}% \DeclareUnicodeCharacter{27FC}{\ensuremath\longmapsto}% \DeclareUnicodeCharacter{29F5}{\ensuremath\setminus}% \DeclareUnicodeCharacter{2A00}{\ensuremath\bigodot}% \DeclareUnicodeCharacter{2A01}{\ensuremath\bigoplus}% \DeclareUnicodeCharacter{2A02}{\ensuremath\bigotimes}% \DeclareUnicodeCharacter{2A04}{\ensuremath\biguplus}% \DeclareUnicodeCharacter{2A06}{\ensuremath\bigsqcup}% \DeclareUnicodeCharacter{2A3F}{\ensuremath\amalg}% \DeclareUnicodeCharacter{2AAF}{\ensuremath\preceq}% \DeclareUnicodeCharacter{2AB0}{\ensuremath\succeq}% % \global\mathchardef\checkmark="1370% actually the square root sign \DeclareUnicodeCharacter{2713}{\ensuremath\checkmark}% }% end of \unicodechardefs % UTF-8 byte sequence (pdfTeX) definitions (replacing and @U command) % It makes the setting that replace UTF-8 byte sequence. \def\utfeightchardefs{% \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterUTFviii \unicodechardefs } % Whether the active definitions of non-ASCII characters expand to % non-active tokens with the same character code. This is used to % write characters literally, instead of using active definitions for % printing the correct glyphs. \newif\ifpassthroughchars \passthroughcharsfalse % For native Unicode handling (XeTeX and LuaTeX), % provide a definition macro to replace/pass-through a Unicode character % \def\DeclareUnicodeCharacterNative#1#2{% \catcode"#1=\active \def\dodeclareunicodecharacternative##1##2##3{% \begingroup \uccode`\~="##2\relax \uppercase{\gdef~}{% \ifpassthroughchars ##1% \else ##3% \fi } \endgroup } \begingroup \uccode`\.="#1\relax \uppercase{\def\UTFNativeTmp{.}}% \expandafter\dodeclareunicodecharacternative\UTFNativeTmp{#1}{#2}% \endgroup } % Native Unicode handling (XeTeX and LuaTeX) character replacing definition. % It activates the setting that replaces Unicode characters. \def\nativeunicodechardefs{% \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNative \unicodechardefs } % For native Unicode handling (XeTeX and LuaTeX), % make the character token expand % to the sequences given in \unicodechardefs for printing. \def\DeclareUnicodeCharacterNativeAtU#1#2{% \def\UTFAtUTmp{#2} \expandafter\globallet\csname uni:#1\endcsname \UTFAtUTmp } % @U command definitions for native Unicode handling (XeTeX and LuaTeX). \def\nativeunicodechardefsatu{% \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNativeAtU \unicodechardefs } % US-ASCII character definitions. \def\asciichardefs{% nothing need be done \relax } % define all Unicode characters we know about, for the sake of @U. \iftxinativeunicodecapable \nativeunicodechardefsatu \else \utfeightchardefs \fi % Make non-ASCII characters printable again for compatibility with % existing Texinfo documents that may use them, even without declaring a % document encoding. % \setnonasciicharscatcode \other \message{formatting,} \newdimen\defaultparindent \defaultparindent = 15pt \chapheadingskip = 15pt plus 4pt minus 2pt \secheadingskip = 12pt plus 3pt minus 2pt \subsecheadingskip = 9pt plus 2pt minus 2pt % Prevent underfull vbox error messages. \vbadness = 10000 % Don't be very finicky about underfull hboxes, either. \hbadness = 6666 % Following George Bush, get rid of widows and orphans. \widowpenalty=10000 \clubpenalty=10000 % Use TeX 3.0's \emergencystretch to help line breaking, but if we're % using an old version of TeX, don't do anything. We want the amount of % stretch added to depend on the line length, hence the dependence on % \hsize. We call this whenever the paper size is set. % \def\setemergencystretch{% \ifx\emergencystretch\thisisundefined % Allow us to assign to \emergencystretch anyway. \def\emergencystretch{\dimen0}% \else \emergencystretch = .15\hsize \fi } % Parameters in order: 1) textheight; 2) textwidth; % 3) voffset; 4) hoffset; 5) binding offset; 6) topskip; % 7) physical page height; 8) physical page width. % % We also call \setleading{\textleading}, so the caller should define % \textleading. The caller should also set \parskip. % \def\internalpagesizes#1#2#3#4#5#6#7#8{% \voffset = #3\relax \topskip = #6\relax \splittopskip = \topskip % \vsize = #1\relax \advance\vsize by \topskip \outervsize = \vsize \advance\outervsize by 2\topandbottommargin \txipageheight = \vsize % \hsize = #2\relax \outerhsize = \hsize \advance\outerhsize by 0.5in \txipagewidth = \hsize % \normaloffset = #4\relax \bindingoffset = #5\relax % \ifpdf \pdfpageheight #7\relax \pdfpagewidth #8\relax % if we don't reset these, they will remain at "1 true in" of % whatever layout pdftex was dumped with. \pdfhorigin = 1 true in \pdfvorigin = 1 true in \else \ifx\XeTeXrevision\thisisundefined \special{papersize=#8,#7}% \else \pdfpageheight #7\relax \pdfpagewidth #8\relax % XeTeX does not have \pdfhorigin and \pdfvorigin. \fi \fi % \setleading{\textleading} % \parindent = \defaultparindent \setemergencystretch } % @letterpaper (the default). \def\letterpaper{{\globaldefs = 1 \parskip = 3pt plus 2pt minus 1pt \textleading = 13.2pt % % If page is nothing but text, make it come out even. \internalpagesizes{607.2pt}{6in}% that's 46 lines {\voffset}{.25in}% {\bindingoffset}{36pt}% {11in}{8.5in}% }} % Use @smallbook to reset parameters for 7x9.25 trim size. \def\smallbook{{\globaldefs = 1 \parskip = 2pt plus 1pt \textleading = 12pt % \internalpagesizes{7.5in}{5in}% {-.2in}{0in}% {\bindingoffset}{16pt}% {9.25in}{7in}% % \lispnarrowing = 0.3in \tolerance = 700 \contentsrightmargin = 0pt \defbodyindent = .5cm }} % Use @smallerbook to reset parameters for 6x9 trim size. % (Just testing, parameters still in flux.) \def\smallerbook{{\globaldefs = 1 \parskip = 1.5pt plus 1pt \textleading = 12pt % \internalpagesizes{7.4in}{4.8in}% {-.2in}{-.4in}% {0pt}{14pt}% {9in}{6in}% % \lispnarrowing = 0.25in \tolerance = 700 \contentsrightmargin = 0pt \defbodyindent = .4cm }} % Use @afourpaper to print on European A4 paper. \def\afourpaper{{\globaldefs = 1 \parskip = 3pt plus 2pt minus 1pt \textleading = 13.2pt % % Double-side printing via postscript on Laserjet 4050 % prints double-sided nicely when \bindingoffset=10mm and \hoffset=-6mm. % To change the settings for a different printer or situation, adjust % \normaloffset until the front-side and back-side texts align. Then % do the same for \bindingoffset. You can set these for testing in % your texinfo source file like this: % @tex % \global\normaloffset = -6mm % \global\bindingoffset = 10mm % @end tex \internalpagesizes{673.2pt}{160mm}% that's 51 lines {\voffset}{\hoffset}% {\bindingoffset}{44pt}% {297mm}{210mm}% % \tolerance = 700 \contentsrightmargin = 0pt \defbodyindent = 5mm }} % Use @afivepaper to print on European A5 paper. % From romildo@urano.iceb.ufop.br, 2 July 2000. % He also recommends making @example and @lisp be small. \def\afivepaper{{\globaldefs = 1 \parskip = 2pt plus 1pt minus 0.1pt \textleading = 12.5pt % \internalpagesizes{160mm}{120mm}% {\voffset}{\hoffset}% {\bindingoffset}{8pt}% {210mm}{148mm}% % \lispnarrowing = 0.2in \tolerance = 800 \contentsrightmargin = 0pt \defbodyindent = 2mm \tableindent = 12mm }} % A specific text layout, 24x15cm overall, intended for A4 paper. \def\afourlatex{{\globaldefs = 1 \afourpaper \internalpagesizes{237mm}{150mm}% {\voffset}{4.6mm}% {\bindingoffset}{7mm}% {297mm}{210mm}% % % Must explicitly reset to 0 because we call \afourpaper. \globaldefs = 0 }} % Use @afourwide to print on A4 paper in landscape format. \def\afourwide{{\globaldefs = 1 \afourpaper \internalpagesizes{241mm}{165mm}% {\voffset}{-2.95mm}% {\bindingoffset}{7mm}% {297mm}{210mm}% \globaldefs = 0 }} % @pagesizes TEXTHEIGHT[,TEXTWIDTH] % Perhaps we should allow setting the margins, \topskip, \parskip, % and/or leading, also. Or perhaps we should compute them somehow. % \parseargdef\pagesizes{\pagesizesyyy #1,,\finish} \def\pagesizesyyy#1,#2,#3\finish{{% \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \hsize=#2\relax \fi \globaldefs = 1 % \parskip = 3pt plus 2pt minus 1pt \setleading{\textleading}% % \dimen0 = #1\relax \advance\dimen0 by \voffset \advance\dimen0 by 1in % reference point for DVI is 1 inch from top of page % \dimen2 = \hsize \advance\dimen2 by \normaloffset \advance\dimen2 by 1in % reference point is 1 inch from left edge of page % \internalpagesizes{#1}{\hsize}% {\voffset}{\normaloffset}% {\bindingoffset}{44pt}% {\dimen0}{\dimen2}% }} % Set default to letter. % \letterpaper % Default value of \hfuzz, for suppressing warnings about overfull hboxes. \hfuzz = 1pt \message{and turning on texinfo input format.} \def^^L{\par} % remove \outer, so ^L can appear in an @comment % DEL is a comment character, in case @c does not suffice. \catcode`\^^? = 14 % Define macros to output various characters with catcode for normal text. \catcode`\"=\other \def\normaldoublequote{"} \catcode`\$=\other \def\normaldollar{$}%$ font-lock fix \catcode`\+=\other \def\normalplus{+} \catcode`\<=\other \def\normalless{<} \catcode`\>=\other \def\normalgreater{>} \catcode`\^=\other \def\normalcaret{^} \catcode`\_=\other \def\normalunderscore{_} \catcode`\|=\other \def\normalverticalbar{|} \catcode`\~=\other \def\normaltilde{~} % This macro is used to make a character print one way in \tt % (where it can probably be output as-is), and another way in other fonts, % where something hairier probably needs to be done. % % #1 is what to print if we are indeed using \tt; #2 is what to print % otherwise. Since all the Computer Modern typewriter fonts have zero % interword stretch (and shrink), and it is reasonable to expect all % typewriter fonts to have this, we can check that font parameter. % \def\ifusingtt#1#2{\ifdim \fontdimen3\font=0pt #1\else #2\fi} % Same as above, but check for italic font. Actually this also catches % non-italic slanted fonts since it is impossible to distinguish them from % italic fonts. But since this is only used by $ and it uses \sl anyway % this is not a problem. \def\ifusingit#1#2{\ifdim \fontdimen1\font>0pt #1\else #2\fi} % Set catcodes for Texinfo file % Active characters for printing the wanted glyph. % Most of these we simply print from the \tt font, but for some, we can % use math or other variants that look better in normal text. % \catcode`\"=\active \def\activedoublequote{{\tt\char34}} \let"=\activedoublequote \catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde \chardef\hatchar=`\^ \catcode`\^=\active \def\activehat{{\tt \hatchar}} \let^ = \activehat \catcode`\_=\active \def_{\ifusingtt\normalunderscore\_} \def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em } \let\realunder=_ \catcode`\|=\active \def|{{\tt\char124}} \chardef \less=`\< \catcode`\<=\active \def\activeless{{\tt \less}}\let< = \activeless \chardef \gtr=`\> \catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr \catcode`\+=\active \def+{{\tt \char 43}} \catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix \catcode`\-=\active \let-=\normaldash % used for headline/footline in the output routine, in case the page % breaks in the middle of an @tex block. \def\texinfochars{% \let< = \activeless \let> = \activegtr \let~ = \activetilde \let^ = \activehat \markupsetuplqdefault \markupsetuprqdefault \let\b = \strong \let\i = \smartitalic % in principle, all other definitions in \tex have to be undone too. } % Used sometimes to turn off (effectively) the active characters even after % parsing them. \def\turnoffactive{% \normalturnoffactive \otherbackslash } \catcode`\@=0 % \backslashcurfont outputs one backslash character in current font, % as in \char`\\. \global\chardef\backslashcurfont=`\\ \global\let\rawbackslashxx=\backslashcurfont % let existing .??s files work % \realbackslash is an actual character `\' with catcode other, and % \doublebackslash is two of them (for the pdf outlines). {\catcode`\\=\other @gdef@realbackslash{\} @gdef@doublebackslash{\\}} % In Texinfo, backslash is an active character; it prints the backslash % in fixed width font. \catcode`\\=\active % @ for escape char from now on. % Print a typewriter backslash. For math mode, we can't simply use % \backslashcurfont: the story here is that in math mode, the \char % of \backslashcurfont ends up printing the roman \ from the math symbol % font (because \char in math mode uses the \mathcode, and plain.tex % sets \mathcode`\\="026E). Hence we use an explicit \mathchar, % which is the decimal equivalent of "715c (class 7, e.g., use \fam; % ignored family value; char position "5C). We can't use " for the % usual hex value because it has already been made active. @def@ttbackslash{{@tt @ifmmode @mathchar29020 @else @backslashcurfont @fi}} @let@backslashchar = @ttbackslash % @backslashchar{} is for user documents. % \rawbackslash defines an active \ to do \backslashcurfont. % \otherbackslash defines an active \ to be a literal `\' character with % catcode other. We switch back and forth between these. @gdef@rawbackslash{@let\=@backslashcurfont} @gdef@otherbackslash{@let\=@realbackslash} % Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of % the literal character `\'. % {@catcode`- = @active @gdef@normalturnoffactive{% @passthroughcharstrue @let-=@normaldash @let"=@normaldoublequote @let$=@normaldollar %$ font-lock fix @let+=@normalplus @let<=@normalless @let>=@normalgreater @let^=@normalcaret @let_=@normalunderscore @let|=@normalverticalbar @let~=@normaltilde @let\=@ttbackslash @markupsetuplqdefault @markupsetuprqdefault @unsepspaces } } % If a .fmt file is being used, characters that might appear in a file % name cannot be active until we have parsed the command line. % So turn them off again, and have @fixbackslash turn them back on. @catcode`+=@other @catcode`@_=@other % \enablebackslashhack - allow file to begin `\input texinfo' % % If a .fmt file is being used, we don't want the `\input texinfo' to show up. % That is what \eatinput is for; after that, the `\' should revert to printing % a backslash. % If the file did not have a `\input texinfo', then it is turned off after % the first line; otherwise the first `\' in the file would cause an error. % This is used on the very last line of this file, texinfo.tex. % We also use @c to call @fixbackslash, in case ends of lines are hidden. { @catcode`@^=7 @catcode`@^^M=13@gdef@enablebackslashhack{% @global@let\ = @eatinput% @catcode`@^^M=13% @def@c{@fixbackslash@c}% % Definition for the newline at the end of this file. @def ^^M{@let^^M@secondlinenl}% % Definition for a newline in the main Texinfo file. @gdef @secondlinenl{@fixbackslash}% % In case the first line has a whole-line command on it @let@originalparsearg@parsearg @def@parsearg{@fixbackslash@originalparsearg} }} {@catcode`@^=7 @catcode`@^^M=13% @gdef@eatinput input texinfo#1^^M{@fixbackslash}} % Emergency active definition of newline, in case an active newline token % appears by mistake. {@catcode`@^=7 @catcode13=13% @gdef@enableemergencynewline{% @gdef^^M{% @par% %@par% }}} @gdef@fixbackslash{% @ifx\@eatinput @let\ = @ttbackslash @fi @catcode13=5 % regular end of line @enableemergencynewline @let@c=@texinfoc @let@parsearg@originalparsearg % Also turn back on active characters that might appear in the input % file name, in case not using a pre-dumped format. @catcode`+=@active @catcode`@_=@active % % If texinfo.cnf is present on the system, read it. % Useful for site-wide @afourpaper, etc. This macro, @fixbackslash, gets % called at the beginning of every Texinfo file. Not opening texinfo.cnf % directly in this file, texinfo.tex, makes it possible to make a format % file for Texinfo. % @openin 1 texinfo.cnf @ifeof 1 @else @input texinfo.cnf @fi @closein 1 } % Say @foo, not \foo, in error messages. @escapechar = `@@ % These (along with & and #) are made active for url-breaking, so need % active definitions as the normal characters. @def@normaldot{.} @def@normalquest{?} @def@normalslash{/} % These look ok in all fonts, so just make them not special. % @hashchar{} gets its own user-level command, because of #line. @catcode`@& = @other @def@normalamp{&} @catcode`@# = @other @def@normalhash{#} @catcode`@% = @other @def@normalpercent{%} @let @hashchar = @normalhash @c Finally, make ` and ' active, so that txicodequoteundirected and @c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}. If we @c don't make ` and ' active, @code will not get them as active chars. @c Do this last of all since we use ` in the previous @catcode assignments. @catcode`@'=@active @catcode`@`=@active @markupsetuplqdefault @markupsetuprqdefault @c Local variables: @c eval: (add-hook 'write-file-hooks 'time-stamp) @c page-delimiter: "^\\\\message\\|emacs-page" @c time-stamp-start: "def\\\\texinfoversion{" @c time-stamp-format: "%:y-%02m-%02d.%02H" @c time-stamp-end: "}" @c End: @c vim:sw=2: @enablebackslashhack gsasl-1.8.1/lib/build-aux/missing0000755000000000000000000001533613521017116013565 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1996-2018 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, 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, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=https://www.perl.org/ flex_URL=https://github.com/westes/flex gnu_software_URL=https://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: gsasl-1.8.1/lib/build-aux/config.guess0000755000000000000000000012637313521017116014512 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2018 Free Software Foundation, Inc. timestamp='2018-02-24' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 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, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to . me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2018 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." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > "$dummy.c" ; for c in cc gcc c89 c99 ; do if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "$UNAME_SYSTEM" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval "$set_cc_for_build" cat <<-EOF > "$dummy.c" #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" # If ldd exists, use it to detect musl libc. if command -v ldd >/dev/null && \ ldd --version 2>&1 | grep -q ^musl then LIBC=musl fi ;; esac # Note: order is significant - the case branches are not exclusive. case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ "/sbin/$sysctl" 2>/dev/null || \ "/usr/sbin/$sysctl" 2>/dev/null || \ echo unknown)` case "$UNAME_MACHINE_ARCH" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` machine="${arch}${endian}"-unknown ;; *) machine="$UNAME_MACHINE_ARCH"-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. case "$UNAME_MACHINE_ARCH" in earm*) os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval "$set_cc_for_build" if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # Determine ABI tags. case "$UNAME_MACHINE_ARCH" in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "$UNAME_VERSION" in Debian*) release='-gnu' ;; *) release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "$machine-${os}${release}${abi}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" exit ;; *:LibertyBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" exit ;; *:MidnightBSD:*:*) echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" exit ;; *:ekkoBSD:*:*) echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" exit ;; *:SolidBSD:*:*) echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd"$UNAME_RELEASE" exit ;; *:MirBSD:*:*) echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" exit ;; *:Sortix:*:*) echo "$UNAME_MACHINE"-unknown-sortix exit ;; *:Redox:*:*) echo "$UNAME_MACHINE"-unknown-redox exit ;; mips:OSF1:*.*) echo mips-dec-osf1 exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE=alpha ;; "EV4.5 (21064)") UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") UNAME_MACHINE=alpha ;; "EV5 (21164)") UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo "$UNAME_MACHINE"-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo "$UNAME_MACHINE"-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix"$UNAME_RELEASE" exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux"$UNAME_RELEASE" exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval "$set_cc_for_build" SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos"$UNAME_RELEASE" exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos"$UNAME_RELEASE" ;; sun4) echo sparc-sun-sunos"$UNAME_RELEASE" ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos"$UNAME_RELEASE" exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint"$UNAME_RELEASE" exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint"$UNAME_RELEASE" exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint"$UNAME_RELEASE" exit ;; m68k:machten:*:*) echo m68k-apple-machten"$UNAME_RELEASE" exit ;; powerpc:machten:*:*) echo powerpc-apple-machten"$UNAME_RELEASE" exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix"$UNAME_RELEASE" exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix"$UNAME_RELEASE" exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix"$UNAME_RELEASE" exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`"$dummy" "$dummyarg"` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos"$UNAME_RELEASE" exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] then if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ [ "$TARGET_BINARY_INTERFACE"x = x ] then echo m88k-dg-dgux"$UNAME_RELEASE" else echo m88k-dg-dguxbcs"$UNAME_RELEASE" fi else echo i586-dg-dgux"$UNAME_RELEASE" fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi echo "$IBM_ARCH"-ibm-aix"$IBM_REV" exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` case "$UNAME_MACHINE" in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "$sc_cpu_version" in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "$sc_kernel_bits" in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi if [ "$HP_ARCH" = "" ]; then eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ "$HP_ARCH" = hppa2.0w ] then eval "$set_cc_for_build" # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH=hppa2.0w else HP_ARCH=hppa64 fi fi echo "$HP_ARCH"-hp-hpux"$HPUX_REV" exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux"$HPUX_REV" exit ;; 3050*:HI-UX:*:*) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo "$UNAME_MACHINE"-unknown-osf1mk else echo "$UNAME_MACHINE"-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi"$UNAME_RELEASE" exit ;; *:BSD/OS:*:*) echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case "$UNAME_PROCESSOR" in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" exit ;; i*:CYGWIN*:*) echo "$UNAME_MACHINE"-pc-cygwin exit ;; *:MINGW64*:*) echo "$UNAME_MACHINE"-pc-mingw64 exit ;; *:MINGW*:*) echo "$UNAME_MACHINE"-pc-mingw32 exit ;; *:MSYS*:*) echo "$UNAME_MACHINE"-pc-msys exit ;; i*:PW*:*) echo "$UNAME_MACHINE"-pc-pw32 exit ;; *:Interix*:*) case "$UNAME_MACHINE" in x86) echo i586-pc-interix"$UNAME_RELEASE" exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix"$UNAME_RELEASE" exit ;; IA64) echo ia64-unknown-interix"$UNAME_RELEASE" exit ;; esac ;; i*:UWIN*:*) echo "$UNAME_MACHINE"-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; *:GNU:*:*) # the GNU system echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" exit ;; i*86:Minix:*:*) echo "$UNAME_MACHINE"-pc-minix exit ;; aarch64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arm*:Linux:*:*) eval "$set_cc_for_build" if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi else echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf fi fi exit ;; avr32*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; cris:Linux:*:*) echo "$UNAME_MACHINE"-axis-linux-"$LIBC" exit ;; crisv32:Linux:*:*) echo "$UNAME_MACHINE"-axis-linux-"$LIBC" exit ;; e2k:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; frv:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; hexagon:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; i*86:Linux:*:*) echo "$UNAME_MACHINE"-pc-linux-"$LIBC" exit ;; ia64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; k1om:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; m32r*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; m68*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } ;; mips64el:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-"$LIBC" exit ;; or32:Linux:*:* | or1k*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; padre:Linux:*:*) echo sparc-unknown-linux-"$LIBC" exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-"$LIBC" exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; *) echo hppa-unknown-linux-"$LIBC" ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-"$LIBC" exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-"$LIBC" exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-"$LIBC" exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-"$LIBC" exit ;; riscv32:Linux:*:* | riscv64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" exit ;; sh64*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; sh*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; tile*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; vax:Linux:*:*) echo "$UNAME_MACHINE"-dec-linux-"$LIBC" exit ;; x86_64:Linux:*:*) if objdump -f /bin/sh | grep -q elf32-x86-64; then echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 else echo "$UNAME_MACHINE"-pc-linux-"$LIBC" fi exit ;; xtensa*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo "$UNAME_MACHINE"-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo "$UNAME_MACHINE"-unknown-stop exit ;; i*86:atheos:*:*) echo "$UNAME_MACHINE"-unknown-atheos exit ;; i*86:syllable:*:*) echo "$UNAME_MACHINE"-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos"$UNAME_RELEASE" exit ;; i*86:*DOS:*:*) echo "$UNAME_MACHINE"-pc-msdosdjgpp exit ;; i*86:*:4.*:*) UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" else echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" else echo "$UNAME_MACHINE"-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos"$UNAME_RELEASE" exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos"$UNAME_RELEASE" exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos"$UNAME_RELEASE" exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos"$UNAME_RELEASE" exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv"$UNAME_RELEASE" exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo "$UNAME_MACHINE"-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo "$UNAME_MACHINE"-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux"$UNAME_RELEASE" exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv"$UNAME_RELEASE" else echo mips-unknown-sysv"$UNAME_RELEASE" fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux"$UNAME_RELEASE" exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux"$UNAME_RELEASE" exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux"$UNAME_RELEASE" exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux"$UNAME_RELEASE" exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux"$UNAME_RELEASE" exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux"$UNAME_RELEASE" exit ;; SX-ACE:SUPER-UX:*:*) echo sxace-nec-superux"$UNAME_RELEASE" exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody"$UNAME_RELEASE" exit ;; *:Rhapsody:*:*) echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval "$set_cc_for_build" if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_PPC >/dev/null then UNAME_PROCESSOR=powerpc fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-*:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk"$UNAME_RELEASE" exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk"$UNAME_RELEASE" exit ;; NSR-*:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk"$UNAME_RELEASE" exit ;; NSV-*:NONSTOP_KERNEL:*:*) echo nsv-tandem-nsk"$UNAME_RELEASE" exit ;; NSX-*:NONSTOP_KERNEL:*:*) echo nsx-tandem-nsk"$UNAME_RELEASE" exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = 386; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo "$UNAME_MACHINE"-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux"$UNAME_RELEASE" exit ;; *:DragonFly:*:*) echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "$UNAME_MACHINE" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" exit ;; i*86:rdos:*:*) echo "$UNAME_MACHINE"-pc-rdos exit ;; i*86:AROS:*:*) echo "$UNAME_MACHINE"-pc-aros exit ;; x86_64:VMkernel:*:*) echo "$UNAME_MACHINE"-unknown-esx exit ;; amd64:Isilon\ OneFS:*:*) echo x86_64-unknown-onefs exit ;; esac echo "$0: unable to guess system type" >&2 case "$UNAME_MACHINE:$UNAME_SYSTEM" in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&2 </dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = "$UNAME_MACHINE" UNAME_RELEASE = "$UNAME_RELEASE" UNAME_SYSTEM = "$UNAME_SYSTEM" UNAME_VERSION = "$UNAME_VERSION" EOF exit 1 # Local variables: # eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gsasl-1.8.1/lib/build-aux/compile0000755000000000000000000001632713521017137013550 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2018 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: gsasl-1.8.1/lib/build-aux/config.rpath0000755000000000000000000004421613521000315014466 00000000000000#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2019 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally 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. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld # should be set by the caller. # # The set of defined variables is at the end of this script. # Known limitations: # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a shrext=.so host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # Code taken from libtool.m4's _LT_CC_BASENAME. for cc_temp in $CC""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` # Code taken from libtool.m4's _LT_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in ecc*) wl='-Wl,' ;; icc* | ifort*) wl='-Wl,' ;; lf95*) wl='-Wl,' ;; nagfor*) wl='-Wl,-Wl,,' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; xl* | bgxl* | bgf* | mpixl*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ F* | *Sun*Fortran*) wl= ;; *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; newsos6) ;; *nto* | *qnx*) ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) wl='-Qoption ld ' ;; *) wl='-Wl,' ;; esac ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3*) wl='-Wl,' ;; sysv4*MP*) ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) wl='-Wl,' ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's _LT_LINKER_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no 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 "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # 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. # Unlike libtool, we use -rpath here, not --rpath, since the documented # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; haiku*) ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) ;; 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. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then : else ld_shlibs=no fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd2.[01]*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | dragonfly*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. # Unlike libtool.m4, here we don't care about _all_ names of the library, but # only about the one the linker finds when passed -lNAME. This is the last # element of library_names_spec in libtool.m4, or possibly two of them if the # linker has special search rules. library_names_spec= # the last element of library_names_spec in libtool.m4 libname_spec='lib$name' case "$host_os" in aix3*) library_names_spec='$libname.a' ;; aix[4-9]*) library_names_spec='$libname$shrext' ;; amigaos*) case "$host_cpu" in powerpc*) library_names_spec='$libname$shrext' ;; m68k) library_names_spec='$libname.a' ;; esac ;; beos*) library_names_spec='$libname$shrext' ;; bsdi[45]*) library_names_spec='$libname$shrext' ;; cygwin* | mingw* | pw32* | cegcc*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; darwin* | rhapsody*) shrext=.dylib library_names_spec='$libname$shrext' ;; dgux*) library_names_spec='$libname$shrext' ;; freebsd[23].*) library_names_spec='$libname$shrext$versuffix' ;; freebsd* | dragonfly*) library_names_spec='$libname$shrext' ;; gnu*) library_names_spec='$libname$shrext' ;; haiku*) library_names_spec='$libname$shrext' ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac library_names_spec='$libname$shrext' ;; interix[3-9]*) library_names_spec='$libname$shrext' ;; irix5* | irix6* | nonstopux*) library_names_spec='$libname$shrext' case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) library_names_spec='$libname$shrext' ;; knetbsd*-gnu) library_names_spec='$libname$shrext' ;; netbsd*) library_names_spec='$libname$shrext' ;; newsos6) library_names_spec='$libname$shrext' ;; *nto* | *qnx*) library_names_spec='$libname$shrext' ;; openbsd*) library_names_spec='$libname$shrext$versuffix' ;; os2*) libname_spec='$name' shrext=.dll library_names_spec='$libname.a' ;; osf3* | osf4* | osf5*) library_names_spec='$libname$shrext' ;; rdos*) ;; solaris*) library_names_spec='$libname$shrext' ;; sunos4*) library_names_spec='$libname$shrext$versuffix' ;; sysv4 | sysv4.3*) library_names_spec='$libname$shrext' ;; sysv4*MP*) library_names_spec='$libname$shrext' ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) library_names_spec='$libname$shrext' ;; tpf*) library_names_spec='$libname$shrext' ;; uts4*) library_names_spec='$libname$shrext' ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. # # Original author: Mohit Agarwal. # Send bug reports and any other correspondence to bug-gnulib@gnu.org. # # The latest version of this script, and the companion template, is # available from the Gnulib repository: # # https://git.savannah.gnu.org/cgit/gnulib.git/tree/build-aux/gendocs.sh # https://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/gendocs_template # TODO: # - image importing was only implemented for HTML generated by # makeinfo. But it should be simple enough to adjust. # - images are not imported in the source tarball. All the needed # formats (PDF, PNG, etc.) should be included. prog=`basename "$0"` srcdir=`pwd` scripturl="https://git.savannah.gnu.org/cgit/gnulib.git/plain/build-aux/gendocs.sh" templateurl="https://git.savannah.gnu.org/cgit/gnulib.git/plain/doc/gendocs_template" : ${SETLANG="env LANG= LC_MESSAGES= LC_ALL= LANGUAGE="} : ${MAKEINFO="makeinfo"} : ${TEXI2DVI="texi2dvi"} : ${DOCBOOK2HTML="docbook2html"} : ${DOCBOOK2PDF="docbook2pdf"} : ${DOCBOOK2TXT="docbook2txt"} : ${GENDOCS_TEMPLATE_DIR="."} : ${PERL='perl'} : ${TEXI2HTML="texi2html"} unset CDPATH unset use_texi2html MANUAL_TITLE= PACKAGE= EMAIL=webmasters@gnu.org # please override with --email commonarg= # passed to all makeinfo/texi2html invcations. dirargs= # passed to all tools (-I dir). dirs= # -I directories. htmlarg="--css-ref=/software/gnulib/manual.css -c TOP_NODE_UP_URL=/manual" default_htmlarg=true infoarg=--no-split generate_ascii=true generate_html=true generate_info=true generate_tex=true outdir=manual source_extra= split=node srcfile= texarg="-t @finalout" version="gendocs.sh $scriptversion Copyright 2019 Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING." usage="Usage: $prog [OPTION]... PACKAGE MANUAL-TITLE Generate output in various formats from PACKAGE.texinfo (or .texi or .txi) source. See the GNU Maintainers document for a more extensive discussion: https://www.gnu.org/prep/maintain_toc.html Options: --email ADR use ADR as contact in generated web pages; always give this. -s SRCFILE read Texinfo from SRCFILE, instead of PACKAGE.{texinfo|texi|txi} -o OUTDIR write files into OUTDIR, instead of manual/. -I DIR append DIR to the Texinfo search path. --common ARG pass ARG in all invocations. --html ARG pass ARG to makeinfo or texi2html for HTML targets, instead of '$htmlarg'. --info ARG pass ARG to makeinfo for Info, instead of --no-split. --no-ascii skip generating the plain text output. --no-html skip generating the html output. --no-info skip generating the info output. --no-tex skip generating the dvi and pdf output. --source ARG include ARG in tar archive of sources. --split HOW make split HTML by node, section, chapter; default node. --tex ARG pass ARG to texi2dvi for DVI and PDF, instead of -t @finalout. --texi2html use texi2html to make HTML target, with all split versions. --docbook convert through DocBook too (xml, txt, html, pdf). --help display this help and exit successfully. --version display version information and exit successfully. Simple example: $prog --email bug-gnu-emacs@gnu.org emacs \"GNU Emacs Manual\" Typical sequence: cd PACKAGESOURCE/doc wget \"$scripturl\" wget \"$templateurl\" $prog --email BUGLIST MANUAL \"GNU MANUAL - One-line description\" Output will be in a new subdirectory \"manual\" (by default; use -o OUTDIR to override). Move all the new files into your web CVS tree, as explained in the Web Pages node of maintain.texi. Please use the --email ADDRESS option so your own bug-reporting address will be used in the generated HTML pages. MANUAL-TITLE is included as part of the HTML of the overall manual/index.html file. It should include the name of the package being documented. manual/index.html is created by substitution from the file $GENDOCS_TEMPLATE_DIR/gendocs_template. (Feel free to modify the generic template for your own purposes.) If you have several manuals, you'll need to run this script several times with different MANUAL values, specifying a different output directory with -o each time. Then write (by hand) an overall index.html with links to them all. If a manual's Texinfo sources are spread across several directories, first copy or symlink all Texinfo sources into a single directory. (Part of the script's work is to make a tar.gz of the sources.) As implied above, by default monolithic Info files are generated. If you want split Info, or other Info options, use --info to override. You can set the environment variables MAKEINFO, TEXI2DVI, TEXI2HTML, and PERL to control the programs that get executed, and GENDOCS_TEMPLATE_DIR to control where the gendocs_template file is looked for. With --docbook, the environment variables DOCBOOK2HTML, DOCBOOK2PDF, and DOCBOOK2TXT are also consulted. By default, makeinfo and texi2dvi are run in the default (English) locale, since that's the language of most Texinfo manuals. If you happen to have a non-English manual and non-English web site, see the SETLANG setting in the source. Email bug reports or enhancement requests to bug-gnulib@gnu.org. " while test $# -gt 0; do case $1 in -s) shift; srcfile=$1;; -o) shift; outdir=$1;; -I) shift; dirargs="$dirargs -I '$1'"; dirs="$dirs $1";; --common) shift; commonarg=$1;; --docbook) docbook=yes;; --email) shift; EMAIL=$1;; --html) shift; default_htmlarg=false; htmlarg=$1;; --info) shift; infoarg=$1;; --no-ascii) generate_ascii=false;; --no-html) generate_ascii=false;; --no-info) generate_info=false;; --no-tex) generate_tex=false;; --source) shift; source_extra=$1;; --split) shift; split=$1;; --tex) shift; texarg=$1;; --texi2html) use_texi2html=1;; --help) echo "$usage"; exit 0;; --version) echo "$version"; exit 0;; -*) echo "$0: Unknown option \`$1'." >&2 echo "$0: Try \`--help' for more information." >&2 exit 1;; *) if test -z "$PACKAGE"; then PACKAGE=$1 elif test -z "$MANUAL_TITLE"; then MANUAL_TITLE=$1 else echo "$0: extra non-option argument \`$1'." >&2 exit 1 fi;; esac shift done # makeinfo uses the dirargs, but texi2dvi doesn't. commonarg=" $dirargs $commonarg" # For most of the following, the base name is just $PACKAGE base=$PACKAGE if $default_htmlarg && test -n "$use_texi2html"; then # The legacy texi2html doesn't support TOP_NODE_UP_URL htmlarg="--css-ref=/software/gnulib/manual.css" fi if test -n "$srcfile"; then # but here, we use the basename of $srcfile base=`basename "$srcfile"` case $base in *.txi|*.texi|*.texinfo) base=`echo "$base"|sed 's/\.[texinfo]*$//'`;; esac PACKAGE=$base elif test -s "$srcdir/$PACKAGE.texinfo"; then srcfile=$srcdir/$PACKAGE.texinfo elif test -s "$srcdir/$PACKAGE.texi"; then srcfile=$srcdir/$PACKAGE.texi elif test -s "$srcdir/$PACKAGE.txi"; then srcfile=$srcdir/$PACKAGE.txi else echo "$0: cannot find .texinfo or .texi or .txi for $PACKAGE in $srcdir." >&2 exit 1 fi if test ! -r $GENDOCS_TEMPLATE_DIR/gendocs_template; then echo "$0: cannot read $GENDOCS_TEMPLATE_DIR/gendocs_template." >&2 echo "$0: it is available from $templateurl." >&2 exit 1 fi # Function to return size of $1 in something resembling kilobytes. calcsize() { size=`ls -ksl $1 | awk '{print $1}'` echo $size } # copy_images OUTDIR HTML-FILE... # ------------------------------- # Copy all the images needed by the HTML-FILEs into OUTDIR. # Look for them in . and the -I directories; this is simpler than what # makeinfo supports with -I, but hopefully it will suffice. copy_images() { local odir odir=$1 shift $PERL -n -e " BEGIN { \$me = '$prog'; \$odir = '$odir'; @dirs = qw(. $dirs); } " -e ' /<img src="(.*?)"/g && ++$need{$1}; END { #print "$me: @{[keys %need]}\n"; # for debugging, show images found. FILE: for my $f (keys %need) { for my $d (@dirs) { if (-f "$d/$f") { use File::Basename; my $dest = dirname ("$odir/$f"); # use File::Path; -d $dest || mkpath ($dest) || die "$me: cannot mkdir $dest: $!\n"; # use File::Copy; copy ("$d/$f", $dest) || die "$me: cannot copy $d/$f to $dest: $!\n"; next FILE; } } die "$me: $ARGV: cannot find image $f\n"; } } ' -- "$@" || exit 1 } case $outdir in /*) abs_outdir=$outdir;; *) abs_outdir=$srcdir/$outdir;; esac echo "Making output for $srcfile" echo " in `pwd`" mkdir -p "$outdir/" # if $generate_info; then cmd="$SETLANG $MAKEINFO -o $PACKAGE.info $commonarg $infoarg \"$srcfile\"" echo "Generating info... ($cmd)" rm -f $PACKAGE.info* # get rid of any strays eval "$cmd" tar czf "$outdir/$PACKAGE.info.tar.gz" $PACKAGE.info* ls -l "$outdir/$PACKAGE.info.tar.gz" info_tgz_size=`calcsize "$outdir/$PACKAGE.info.tar.gz"` # do not mv the info files, there's no point in having them available # separately on the web. fi # end info # if $generate_tex; then cmd="$SETLANG $TEXI2DVI $dirargs $texarg \"$srcfile\"" printf "\nGenerating dvi... ($cmd)\n" eval "$cmd" # compress/finish dvi: gzip -f -9 $PACKAGE.dvi dvi_gz_size=`calcsize $PACKAGE.dvi.gz` mv $PACKAGE.dvi.gz "$outdir/" ls -l "$outdir/$PACKAGE.dvi.gz" cmd="$SETLANG $TEXI2DVI --pdf $dirargs $texarg \"$srcfile\"" printf "\nGenerating pdf... ($cmd)\n" eval "$cmd" pdf_size=`calcsize $PACKAGE.pdf` mv $PACKAGE.pdf "$outdir/" ls -l "$outdir/$PACKAGE.pdf" fi # end tex (dvi + pdf) # if $generate_ascii; then opt="-o $PACKAGE.txt --no-split --no-headers $commonarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" printf "\nGenerating ascii... ($cmd)\n" eval "$cmd" ascii_size=`calcsize $PACKAGE.txt` gzip -f -9 -c $PACKAGE.txt >"$outdir/$PACKAGE.txt.gz" ascii_gz_size=`calcsize "$outdir/$PACKAGE.txt.gz"` mv $PACKAGE.txt "$outdir/" ls -l "$outdir/$PACKAGE.txt" "$outdir/$PACKAGE.txt.gz" fi # if $generate_html; then # Split HTML at level $1. Used for texi2html. html_split() { opt="--split=$1 --node-files $commonarg $htmlarg" cmd="$SETLANG $TEXI2HTML --output $PACKAGE.html $opt \"$srcfile\"" printf "\nGenerating html by $1... ($cmd)\n" eval "$cmd" split_html_dir=$PACKAGE.html ( cd ${split_html_dir} || exit 1 ln -sf ${PACKAGE}.html index.html tar -czf "$abs_outdir/${PACKAGE}.html_$1.tar.gz" -- *.html ) eval html_$1_tgz_size=`calcsize "$outdir/${PACKAGE}.html_$1.tar.gz"` rm -f "$outdir"/html_$1/*.html mkdir -p "$outdir/html_$1/" mv ${split_html_dir}/*.html "$outdir/html_$1/" rmdir ${split_html_dir} } if test -z "$use_texi2html"; then opt="--no-split --html -o $PACKAGE.html $commonarg $htmlarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" printf "\nGenerating monolithic html... ($cmd)\n" rm -rf $PACKAGE.html # in case a directory is left over eval "$cmd" html_mono_size=`calcsize $PACKAGE.html` gzip -f -9 -c $PACKAGE.html >"$outdir/$PACKAGE.html.gz" html_mono_gz_size=`calcsize "$outdir/$PACKAGE.html.gz"` copy_images "$outdir/" $PACKAGE.html mv $PACKAGE.html "$outdir/" ls -l "$outdir/$PACKAGE.html" "$outdir/$PACKAGE.html.gz" # Before Texinfo 5.0, makeinfo did not accept a --split=HOW option, # it just always split by node. So if we're splitting by node anyway, # leave it out. if test "x$split" = xnode; then split_arg= else split_arg=--split=$split fi # opt="--html -o $PACKAGE.html $split_arg $commonarg $htmlarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" printf "\nGenerating html by $split... ($cmd)\n" eval "$cmd" split_html_dir=$PACKAGE.html copy_images $split_html_dir/ $split_html_dir/*.html ( cd $split_html_dir || exit 1 tar -czf "$abs_outdir/$PACKAGE.html_$split.tar.gz" -- * ) eval \ html_${split}_tgz_size=`calcsize "$outdir/$PACKAGE.html_$split.tar.gz"` rm -rf "$outdir/html_$split/" mv $split_html_dir "$outdir/html_$split/" du -s "$outdir/html_$split/" ls -l "$outdir/$PACKAGE.html_$split.tar.gz" else # use texi2html: opt="--output $PACKAGE.html $commonarg $htmlarg" cmd="$SETLANG $TEXI2HTML $opt \"$srcfile\"" printf "\nGenerating monolithic html with texi2html... ($cmd)\n" rm -rf $PACKAGE.html # in case a directory is left over eval "$cmd" html_mono_size=`calcsize $PACKAGE.html` gzip -f -9 -c $PACKAGE.html >"$outdir/$PACKAGE.html.gz" html_mono_gz_size=`calcsize "$outdir/$PACKAGE.html.gz"` mv $PACKAGE.html "$outdir/" html_split node html_split chapter html_split section fi fi # end html # printf "\nMaking .tar.gz for sources...\n" d=`dirname $srcfile` ( cd "$d" srcfiles=`ls -d *.texinfo *.texi *.txi *.eps $source_extra 2>/dev/null` || true tar czfh "$abs_outdir/$PACKAGE.texi.tar.gz" $srcfiles ls -l "$abs_outdir/$PACKAGE.texi.tar.gz" ) texi_tgz_size=`calcsize "$outdir/$PACKAGE.texi.tar.gz"` # # Do everything again through docbook. if test -n "$docbook"; then opt="-o - --docbook $commonarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\" >${srcdir}/$PACKAGE-db.xml" printf "\nGenerating docbook XML... ($cmd)\n" eval "$cmd" docbook_xml_size=`calcsize $PACKAGE-db.xml` gzip -f -9 -c $PACKAGE-db.xml >"$outdir/$PACKAGE-db.xml.gz" docbook_xml_gz_size=`calcsize "$outdir/$PACKAGE-db.xml.gz"` mv $PACKAGE-db.xml "$outdir/" split_html_db_dir=html_node_db opt="$commonarg -o $split_html_db_dir" cmd="$DOCBOOK2HTML $opt \"${outdir}/$PACKAGE-db.xml\"" printf "\nGenerating docbook HTML... ($cmd)\n" eval "$cmd" ( cd ${split_html_db_dir} || exit 1 tar -czf "$abs_outdir/${PACKAGE}.html_node_db.tar.gz" -- *.html ) html_node_db_tgz_size=`calcsize "$outdir/${PACKAGE}.html_node_db.tar.gz"` rm -f "$outdir"/html_node_db/*.html mkdir -p "$outdir/html_node_db" mv ${split_html_db_dir}/*.html "$outdir/html_node_db/" rmdir ${split_html_db_dir} cmd="$DOCBOOK2TXT \"${outdir}/$PACKAGE-db.xml\"" printf "\nGenerating docbook ASCII... ($cmd)\n" eval "$cmd" docbook_ascii_size=`calcsize $PACKAGE-db.txt` mv $PACKAGE-db.txt "$outdir/" cmd="$DOCBOOK2PDF \"${outdir}/$PACKAGE-db.xml\"" printf "\nGenerating docbook PDF... ($cmd)\n" eval "$cmd" docbook_pdf_size=`calcsize $PACKAGE-db.pdf` mv $PACKAGE-db.pdf "$outdir/" fi # printf "\nMaking index.html for $PACKAGE...\n" if test -z "$use_texi2html"; then CONDS="/%%IF *HTML_SECTION%%/,/%%ENDIF *HTML_SECTION%%/d;\ /%%IF *HTML_CHAPTER%%/,/%%ENDIF *HTML_CHAPTER%%/d" else # should take account of --split here. CONDS="/%%ENDIF.*%%/d;/%%IF *HTML_SECTION%%/d;/%%IF *HTML_CHAPTER%%/d" fi curdate=`$SETLANG date '+%B %d, %Y'` sed \ -e "s!%%TITLE%%!$MANUAL_TITLE!g" \ -e "s!%%EMAIL%%!$EMAIL!g" \ -e "s!%%PACKAGE%%!$PACKAGE!g" \ -e "s!%%DATE%%!$curdate!g" \ -e "s!%%HTML_MONO_SIZE%%!$html_mono_size!g" \ -e "s!%%HTML_MONO_GZ_SIZE%%!$html_mono_gz_size!g" \ -e "s!%%HTML_NODE_TGZ_SIZE%%!$html_node_tgz_size!g" \ -e "s!%%HTML_SECTION_TGZ_SIZE%%!$html_section_tgz_size!g" \ -e "s!%%HTML_CHAPTER_TGZ_SIZE%%!$html_chapter_tgz_size!g" \ -e "s!%%INFO_TGZ_SIZE%%!$info_tgz_size!g" \ -e "s!%%DVI_GZ_SIZE%%!$dvi_gz_size!g" \ -e "s!%%PDF_SIZE%%!$pdf_size!g" \ -e "s!%%ASCII_SIZE%%!$ascii_size!g" \ -e "s!%%ASCII_GZ_SIZE%%!$ascii_gz_size!g" \ -e "s!%%TEXI_TGZ_SIZE%%!$texi_tgz_size!g" \ -e "s!%%DOCBOOK_HTML_NODE_TGZ_SIZE%%!$html_node_db_tgz_size!g" \ -e "s!%%DOCBOOK_ASCII_SIZE%%!$docbook_ascii_size!g" \ -e "s!%%DOCBOOK_PDF_SIZE%%!$docbook_pdf_size!g" \ -e "s!%%DOCBOOK_XML_SIZE%%!$docbook_xml_size!g" \ -e "s!%%DOCBOOK_XML_GZ_SIZE%%!$docbook_xml_gz_size!g" \ -e "s,%%SCRIPTURL%%,$scripturl,g" \ -e "s!%%SCRIPTNAME%%!$prog!g" \ -e "$CONDS" \ $GENDOCS_TEMPLATE_DIR/gendocs_template >"$outdir/index.html" echo "Done, see $outdir/ subdirectory for new files." # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������gsasl-1.8.1/lib/build-aux/ar-lib��������������������������������������������������������������������0000755�0000000�0000000�00000013303�13521017116�013252� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#! /bin/sh # Wrapper for Microsoft lib.exe me=ar-lib scriptversion=2012-03-01.08; # UTC # Copyright (C) 2010-2018 Free Software Foundation, Inc. # Written by Peter Rosin <peda@lysator.liu.se>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@gnu.org>. # func_error message func_error () { echo "$me: $1" 1>&2 exit 1 } file_conv= # func_file_conv build_file # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv in mingw) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin) file=`cygpath -m "$file" || echo "$file"` ;; wine) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_at_file at_file operation archive # Iterate over all members in AT_FILE performing OPERATION on ARCHIVE # for each of them. # When interpreting the content of the @FILE, do NOT use func_file_conv, # since the user would need to supply preconverted file names to # binutils ar, at least for MinGW. func_at_file () { operation=$2 archive=$3 at_file_contents=`cat "$1"` eval set x "$at_file_contents" shift for member do $AR -NOLOGO $operation:"$member" "$archive" || exit $? done } case $1 in '') func_error "no command. Try '$0 --help' for more information." ;; -h | --h*) cat <<EOF Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...] Members may be specified in a file named with @FILE. EOF exit $? ;; -v | --v*) echo "$me, version $scriptversion" exit $? ;; esac if test $# -lt 3; then func_error "you must specify a program, an action and an archive" fi AR=$1 shift while : do if test $# -lt 2; then func_error "you must specify a program, an action and an archive" fi case $1 in -lib | -LIB \ | -ltcg | -LTCG \ | -machine* | -MACHINE* \ | -subsystem* | -SUBSYSTEM* \ | -verbose | -VERBOSE \ | -wx* | -WX* ) AR="$AR $1" shift ;; *) action=$1 shift break ;; esac done orig_archive=$1 shift func_file_conv "$orig_archive" archive=$file # strip leading dash in $action action=${action#-} delete= extract= list= quick= replace= index= create= while test -n "$action" do case $action in d*) delete=yes ;; x*) extract=yes ;; t*) list=yes ;; q*) quick=yes ;; r*) replace=yes ;; s*) index=yes ;; S*) ;; # the index is always updated implicitly c*) create=yes ;; u*) ;; # TODO: don't ignore the update modifier v*) ;; # TODO: don't ignore the verbose modifier *) func_error "unknown action specified" ;; esac action=${action#?} done case $delete$extract$list$quick$replace,$index in yes,* | ,yes) ;; yesyes*) func_error "more than one action specified" ;; *) func_error "no action specified" ;; esac if test -n "$delete"; then if test ! -f "$orig_archive"; then func_error "archive not found" fi for member do case $1 in @*) func_at_file "${1#@}" -REMOVE "$archive" ;; *) func_file_conv "$1" $AR -NOLOGO -REMOVE:"$file" "$archive" || exit $? ;; esac done elif test -n "$extract"; then if test ! -f "$orig_archive"; then func_error "archive not found" fi if test $# -gt 0; then for member do case $1 in @*) func_at_file "${1#@}" -EXTRACT "$archive" ;; *) func_file_conv "$1" $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $? ;; esac done else $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member do $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? done fi elif test -n "$quick$replace"; then if test ! -f "$orig_archive"; then if test -z "$create"; then echo "$me: creating $orig_archive" fi orig_archive= else orig_archive=$archive fi for member do case $1 in @*) func_file_conv "${1#@}" set x "$@" "@$file" ;; *) func_file_conv "$1" set x "$@" "$file" ;; esac shift shift done if test -n "$orig_archive"; then $AR -NOLOGO -OUT:"$archive" "$orig_archive" "$@" || exit $? else $AR -NOLOGO -OUT:"$archive" "$@" || exit $? fi elif test -n "$list"; then if test ! -f "$orig_archive"; then func_error "archive not found" fi $AR -NOLOGO -LIST "$archive" || exit $? fi �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������gsasl-1.8.1/lib/build-aux/install-sh����������������������������������������������������������������0000755�0000000�0000000�00000036010�13521017116�014162� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # install - install a program, script, or datafile scriptversion=2018-03-11.20; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dstbase=`basename "$src"` case $dst in */) dst=$dst$dstbase;; *) dst=$dst/$dstbase;; esac dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi case $dstdir in */) dstdirslash=$dstdir;; *) dstdirslash=$dstdir/;; esac obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) # Note that $RANDOM variable is not portable (e.g. dash); Use it # here however when possible just to lower collision chance. tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 # Because "mkdir -p" follows existing symlinks and we likely work # directly in world-writeable /tmp, make sure that the '$tmpdir' # directory is successfully created first before we actually test # 'mkdir -p' feature. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=${dstdirslash}_inst.$$_ rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������gsasl-1.8.1/lib/build-aux/config.sub����������������������������������������������������������������0000755�0000000�0000000�00000106450�13521017116�014147� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. timestamp='2018-02-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 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, see <https://www.gnu.org/licenses/>. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to <config-patches@gnu.org>. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to <config-patches@gnu.org>." version="\ GNU config.sub ($timestamp) Copyright 1992-2018 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." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo "$1" exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ kopensolaris*-gnu* | cloudabi*-eabi* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo "$1" | sed 's/-[^-]*$//'` if [ "$basic_machine" != "$1" ] then os=`echo "$1" | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pru \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ | wasm32 \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | ba-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pru-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ | wasm32-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-pc os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2*) basic_machine=m68k-bull os=-sysv3 ;; e500v[12]) basic_machine=powerpc-unknown os=$os"spe" ;; e500v[12]-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=$os"spe" ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; nsv-tandem) basic_machine=nsv-tandem ;; nsx-tandem) basic_machine=nsx-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh5el) basic_machine=sh5le-unknown ;; simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; x64) basic_machine=x86_64-pc ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases that might get confused # with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # es1800 is here to avoid being matched by es* (a different OS) -es1800*) os=-ose ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | -midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -xray | -os68k* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo "$os" | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4*) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -pikeos*) # Until real need of OS specific support for # particular features comes up, bare metal # configurations are quite functional. case $basic_machine in arm*) os=-eabi ;; *) os=-elf ;; esac ;; -nacl*) ;; -ios) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; pru-*) os=-elf ;; *-be) os=-beos ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac echo "$basic_machine$os" exit # Local variables: # eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������gsasl-1.8.1/lib/build-aux/useless-if-before-free����������������������������������������������������0000755�0000000�0000000�00000016023�13516251601�016347� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh #! -*-perl-*- # Detect instances of "if (p) free (p);". # Likewise "if (p != 0)", "if (0 != p)", or with NULL; and with braces. # Copyright (C) 2008-2019 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see <https://www.gnu.org/licenses/>. # # Written by Jim Meyering # This is a prologue that allows to run a perl script as an executable # on systems that are compliant to a POSIX version before POSIX:2017. # On such systems, the usual invocation of an executable through execlp() # or execvp() fails with ENOEXEC if it is a script that does not start # with a #! line. The script interpreter mentioned in the #! line has # to be /bin/sh, because on GuixSD systems that is the only program that # has a fixed file name. The second line is essential for perl and is # also useful for editing this file in Emacs. The next two lines below # are valid code in both sh and perl. When executed by sh, they re-execute # the script through the perl program found in $PATH. The '-x' option # is essential as well; without it, perl would re-execute the script # through /bin/sh. When executed by perl, the next two lines are a no-op. eval 'exec perl -wSx "$0" "$@"' if 0; my $VERSION = '2018-03-07 03:47'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. use strict; use warnings; use Getopt::Long; (my $ME = $0) =~ s|.*/||; # use File::Coda; # https://meyering.net/code/Coda/ END { defined fileno STDOUT or return; close STDOUT and return; warn "$ME: failed to close standard output: $!\n"; $? ||= 1; } sub usage ($) { my ($exit_code) = @_; my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); if ($exit_code != 0) { print $STREAM "Try '$ME --help' for more information.\n"; } else { print $STREAM <<EOF; Usage: $ME [OPTIONS] FILE... Detect any instance in FILE of a useless "if" test before a free call, e.g., "if (p) free (p);". Any such test may be safely removed without affecting the semantics of the C code in FILE. Use --name=FOO --name=BAR to also detect free-like functions named FOO and BAR. OPTIONS: --list print only the name of each matching FILE (\\0-terminated) --name=N add name N to the list of \'free\'-like functions to detect; may be repeated --help display this help and exit --version output version information and exit Exit status: 0 one or more matches 1 no match 2 an error EXAMPLE: For example, this command prints all removable "if" tests before "free" and "kfree" calls in the linux kernel sources: git ls-files -z |xargs -0 $ME --name=kfree EOF } exit $exit_code; } sub is_NULL ($) { my ($expr) = @_; return ($expr eq 'NULL' || $expr eq '0'); } { sub EXIT_MATCH {0} sub EXIT_NO_MATCH {1} sub EXIT_ERROR {2} my $err = EXIT_NO_MATCH; my $list; my @name = qw(free); GetOptions ( help => sub { usage 0 }, version => sub { print "$ME version $VERSION\n"; exit }, list => \$list, 'name=s@' => \@name, ) or usage 1; # Make sure we have the right number of non-option arguments. # Always tell the user why we fail. @ARGV < 1 and (warn "$ME: missing FILE argument\n"), usage EXIT_ERROR; my $or = join '|', @name; my $regexp = qr/(?:$or)/; # Set the input record separator. # Note: this makes it impractical to print line numbers. $/ = '"'; my $found_match = 0; FILE: foreach my $file (@ARGV) { open FH, '<', $file or (warn "$ME: can't open '$file' for reading: $!\n"), $err = EXIT_ERROR, next; while (defined (my $line = <FH>)) { # Skip non-matching lines early to save time $line =~ /\bif\b/ or next; while ($line =~ /\b(if\s*\(\s*([^)]+?)(?:\s*!=\s*([^)]+?))?\s*\) # 1 2 3 (?: \s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;| \s*\{\s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;\s*\}))/sxg) { my $all = $1; my ($lhs, $rhs) = ($2, $3); my ($free_opnd, $braced_free_opnd) = ($4, $5); my $non_NULL; if (!defined $rhs) { $non_NULL = $lhs } elsif (is_NULL $rhs) { $non_NULL = $lhs } elsif (is_NULL $lhs) { $non_NULL = $rhs } else { next } # Compare the non-NULL part of the "if" expression and the # free'd expression, without regard to white space. $non_NULL =~ tr/ \t//d; my $e2 = defined $free_opnd ? $free_opnd : $braced_free_opnd; $e2 =~ tr/ \t//d; if ($non_NULL eq $e2) { $found_match = 1; $list and (print "$file\0"), next FILE; print "$file: $all\n"; } } } } continue { close FH; } $found_match && $err == EXIT_NO_MATCH and $err = EXIT_MATCH; exit $err; } my $foo = <<'EOF'; # The above is to *find* them. # This adjusts them, removing the unnecessary "if (p)" part. # FIXME: do something like this as an option (doesn't do braces): free=xfree git grep -l -z "$free *(" \ | xargs -0 useless-if-before-free -l --name="$free" \ | xargs -0 perl -0x3b -pi -e \ 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL))?\s*\)\s+('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\)\s*;)/$2/s' # Use the following to remove redundant uses of kfree inside braces. # Note that -0777 puts perl in slurp-whole-file mode; # but we have plenty of memory, these days... free=kfree git grep -l -z "$free *(" \ | xargs -0 useless-if-before-free -l --name="$free" \ | xargs -0 perl -0777 -pi -e \ 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL))?\s*\)\s*\{\s*('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\);)\s*\}[^\n]*$/$2/gms' Be careful that the result of the above transformation is valid. If the matched string is followed by "else", then obviously, it won't be. When modifying files, refuse to process anything other than a regular file. EOF ## Local Variables: ## mode: perl ## indent-tabs-mode: nil ## eval: (add-hook 'before-save-hook 'time-stamp) ## time-stamp-line-limit: 50 ## time-stamp-start: "my $VERSION = '" ## time-stamp-format: "%:y-%02m-%02d %02H:%02M" ## time-stamp-time-zone: "UTC0" ## time-stamp-end: "'; # UTC" ## End: �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������gsasl-1.8.1/lib/build-aux/vc-list-files�������������������������������������������������������������0000755�0000000�0000000�00000007366�13516251601�014604� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # List version-controlled file names. # Print a version string. scriptversion=2018-03-07.03; # UTC # Copyright (C) 2006-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see <https://www.gnu.org/licenses/>. # List the specified version-controlled files. # With no argument, list them all. With a single DIRECTORY argument, # list the version-controlled files in that directory. # If there's an argument, it must be a single, "."-relative directory name. # cvsu is part of the cvsutils package: http://www.red-bean.com/cvsutils/ postprocess= case $1 in --help) cat <<EOF Usage: $0 [-C SRCDIR] [DIR...] Output a list of version-controlled files in DIR (default .), relative to SRCDIR (default .). SRCDIR must be the top directory of a checkout. Options: --help print this help, then exit --version print version number, then exit -C SRCDIR change directory to SRCDIR before generating list Report bugs and patches to <bug-gnulib@gnu.org>. EOF exit ;; --version) year=`echo "$scriptversion" | sed 's/[^0-9].*//'` cat <<EOF vc-list-files $scriptversion Copyright (C) $year Free Software Foundation, Inc, License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. EOF exit ;; -C) test "$2" = . || postprocess="| sed 's|^|$2/|'" cd "$2" || exit 1 shift; shift ;; esac test $# = 0 && set . for dir do if test -d .git || test -f .git; then test "x$dir" = x. \ && dir= sed_esc= \ || { dir="$dir/"; sed_esc=`echo "$dir"|env sed 's,\([\\/]\),\\\\\1,g'`; } # Ignore git symlinks - either they point into the tree, in which case # we don't need to visit the target twice, or they point somewhere # else (often into a submodule), in which case the content does not # belong to this package. eval exec git ls-tree -r 'HEAD:"$dir"' \ \| sed -n '"s/^100[^ ]*./$sed_esc/p"' $postprocess elif test -d .hg; then eval exec hg locate '"$dir/*"' $postprocess elif test -d .bzr; then test "$postprocess" = '' && postprocess="| sed 's|^\./||'" eval exec bzr ls -R --versioned '"$dir"' $postprocess elif test -d CVS; then test "$postprocess" = '' && postprocess="| sed 's|^\./||'" if test -x build-aux/cvsu; then eval build-aux/cvsu --find --types=AFGM '"$dir"' $postprocess elif (cvsu --help) >/dev/null 2>&1; then eval cvsu --find --types=AFGM '"$dir"' $postprocess else eval awk -F/ \''{ \ if (!$1 && $3 !~ /^-/) { \ f=FILENAME; \ if (f ~ /CVS\/Entries$/) \ f = substr(f, 1, length(f)-11); \ print f $2; \ }}'\'' \ `find "$dir" -name Entries -print` /dev/null' $postprocess fi elif test -d .svn; then eval exec svn list -R '"$dir"' $postprocess else echo "$0: Failed to determine type of version control used in `pwd`" 1>&2 exit 1 fi done # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������gsasl-1.8.1/lib/build-aux/depcomp�������������������������������������������������������������������0000755�0000000�0000000�00000056020�13521017116�013536� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2018 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to <bug-automake@gnu.org>. EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������gsasl-1.8.1/lib/build-aux/pmccabe2html��������������������������������������������������������������0000644�0000000�0000000�00000060630�13516251601�014452� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# pmccabe2html - AWK script to convert pmccabe output to html -*- awk -*- # Copyright (C) 2007-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see <https://www.gnu.org/licenses/>. # Written by Jose E. Marchesi <jemarch@gnu.org>. # Adapted for gnulib by Simon Josefsson <simon@josefsson.org>. # Added support for C++ by Giuseppe Scrivano <gscrivano@gnu.org>. # Typical Invocation is from a Makefile.am: # # CYCLO_SOURCES = ${top_srcdir}/src/*.[ch] # # cyclo-$(PACKAGE).html: $(CYCLO_SOURCES) # $(PMCCABE) $(CYCLO_SOURCES) \ # | sort -nr \ # | $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \ # -v lang=html -v name="$(PACKAGE_NAME)" \ # -v vcurl="https://git.savannah.gnu.org/gitweb/?p=$(PACKAGE).git;a=blob;f=%FILENAME%;hb=HEAD" \ # -v url="https://www.gnu.org/software/$(PACKAGE)/" \ # -v css=${top_srcdir}/build-aux/pmccabe.css \ # -v cut_dir=${top_srcdir}/ \ # > $@-tmp # mv $@-tmp $@ # # The variables available are: # lang output language, either 'html' or 'wiki' # name project name # url link to project's home page # vcurl URL to version controlled source code browser, # a %FILENAME% in the string is replaced with the relative # source filename # css CSS stylesheet filename, included verbatim in HTML output # css_url link to CSS stylesheet, an URL # Prologue & configuration BEGIN { # Portable lookup of present time. "date +%s" | getline epoch_time "date" | getline chronos_time section_global_stats_p = 1 section_function_cyclo_p = 1 # "html" or "wiki" package_name = name output_lang = lang # General Options cyclo_simple_max = 10 cyclo_moderate_max = 20 cyclo_high_max = 50 source_file_link_tmpl = vcurl # HTML options if (url != "") { html_prolog = "<a href=\"" url "\">Back to " package_name " Homepage</a><br/><br/>" } html_epilog = "<hr color=\"black\" size=\"2\"/> \ Copyright (c) 2007, 2008 Free Software Foundation, Inc." html_doctype = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \ \"http://www.w3.org/TR/html401/loose.dtd\">" html_comment = "<!-- Generated by gnulib's pmccabe2html at " epoch_time " -->" html_title = "Cyclomatic Complexity report for " package_name # Wiki options wiki_prolog = "{{Note|This page has been automatically generated}}" wiki_epilog = "" # Internal variables nfuncs = 0; } # Functions function build_stats() { # Maximum modified cyclo for (fcn in mcyclo) { num_of_functions++ if (mcyclo[fcn] > max_mcyclo) { max_mcyclo = mcyclo[fcn] } if (mcyclo[fcn] > cyclo_high_max) { num_of_untestable_functions++ } else if (mcyclo[fcn] > cyclo_moderate_max) { num_of_high_functions++ } else if (mcyclo[fcn] > cyclo_simple_max) { num_of_moderate_functions++ } else { num_of_simple_functions++ } } } function html_fnc_table_complete (caption) { html_fnc_table(caption, 1, 1, 0, 1, 1, 0, 1) } function html_fnc_table_abbrev (caption) { html_fnc_table(caption, 1, 1, 0, 0, 1, 0, 0) } function html_fnc_table (caption, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { print "<table width=\"90%\" class=\"function_table\" cellpadding=\"0\" cellspacing=\"0\">" if (caption != "") { print "<caption class=\"function_table_caption\">" caption "</caption>" } html_fnc_header(fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) for (nfnc = 1; nfnc <= nfuncs; nfnc++) { html_fnc(nfnc, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) } print "</table>" } function html_header () { print html_doctype print "<html>" print html_comment print "<head>" print "<title>" html_title "" print "" print "" print "" print "" print "" print "" print "" print "" if (css_url != "") { print "" } if (css != "") { print "" close(css) } print "" print "" } function html_footer () { print "" print "" } function html_fnc_header (fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { print "" if (fname_p) { # Function name print "" print "" print "" print "" print "Function Name" print "" } if (mcyclo_p) { # Modified cyclo print "" print "Modified Cyclo" print "" } if (cyclo_p) { # Cyclo print "" print "Cyclomatic" print "
" print "Complexity" print "" } if (num_statements_p) { print "" print "Number of" print "
" print "Statements" print "" } if (num_lines_p) { print "" print "Number of" print "
" print "Lines" print "" } if (first_line_p) { print "" print "First Line" print "" } if (file_p) { print "" print "Source File" print "" } print "" } function html_fnc (nfun, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { fname = fnames[nfun] # Function name trclass = "function_entry_simple" if (mcyclo[nfun] > cyclo_high_max) { trclass="function_entry_untestable" } else if (mcyclo[nfun] > cyclo_moderate_max) { trclass="function_entry_high" } else if (mcyclo[nfun] > cyclo_simple_max) { trclass="function_entry_moderate" } print "" if (fname_p) { print "" if (file_p && mcyclo[nfun] > cyclo_simple_max) { print "\ " } else { print " " } print "" print "" print fname print "" } if (mcyclo_p) { # Modified cyclo print "" print mcyclo[nfun] print "" } if (cyclo_p) { # Cyclo print "" print cyclo[nfun] print "" } if (num_statements_p) { # Number of statements print "" print num_statements[nfun] print "" } if (num_lines_p) { # Number of lines print "" print num_lines[nfun] print "" } if (first_line_p) { # First line print "" print first_line[nfun] print "" } if (file_p) { href = "" if (source_file_link_tmpl != "") { # Get href target href = source_file_link_tmpl sub(/%FILENAME%/, file[nfun], href) } # Source file print "" if (href != "") { print "" file[nfun] "" } else { print file[nfun] } print "" print "" if (mcyclo[nfun] > cyclo_simple_max) { print "" num_columns = 1; if (fname_p) { num_columns++ } if (mcyclo_p) { num_columns++ } if (cyclo_p) { num_columns++ } if (num_statements_p) { num_columns++ } if (num_lines_p) { num_columns++ } if (first_line_p) { num_columns++ } if (file_p) { num_columns++ } print "" print "
" print "
"

            while ((getline codeline < (fname nfun "_fn.txt")) > 0)
            {
                gsub(/&/, "\\&", codeline)	# Must come first.
                gsub(//, "\\>", codeline)

                print codeline
            }
            close(fname nfun "_fn.txt")
            system("rm " "'" fname "'" nfun "_fn.txt")
            print "
" print "
" print "" print "" } } } function html_global_stats () { print "
Summary
" print "" # Total number of functions print "" print "" print "" print "" # Number of simple functions print "" print "" print "" print "" # Number of moderate functions print "" print "" print "" print "" # Number of high functions print "" print "" print "" print "" # Number of untestable functions print "" print "" print "" print "" print "
" print "Total number of functions" print "" print num_of_functions print "
" print "Number of low risk functions" print "" print num_of_simple_functions print "
" print "Number of moderate risk functions" print "" print num_of_moderate_functions print "
" print "Number of high risk functions" print "" print num_of_high_functions print "
" print "Number of untestable functions" print "" print num_of_untestable_functions print "
" print "
" } function html_function_cyclo () { print "
Details for all functions
" print "" print "" print "" print "" print "" print "" # Simple print "" print "" print "" print "" print "" # Moderate print "" print "" print "" print "" print "" # High print "" print "" print "" print "" print "" # Untestable print "" print "" print "" print "" print "" print "
" print " " print "" print "Cyclomatic Complexity" print "" print "Risk Evaluation" print "
" print " " print "" print "0 - " cyclo_simple_max print "" print "Simple module, without much risk" print "
" print " " print "" print cyclo_simple_max + 1 " - " cyclo_moderate_max print "" print "More complex module, moderate risk" print "
" print " " print "" print cyclo_moderate_max + 1 " - " cyclo_high_max print "" print "Complex module, high risk" print "
" print " " print "" print "greater than " cyclo_high_max print "" print "Untestable module, very high risk" print "
" print "
" html_fnc_table_complete("") } function wiki_global_stats () { print "{| class=\"cyclo_summary_table\"" # Total number of functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Total number of functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_functions # Number of simple functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of low risk functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_simple_functions # Number of moderate functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of moderate risk functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_moderate_functions # Number of high functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of high risk functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_high_functions # Number of untestable functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of untestable functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_untestable_functions print "|}" } function wiki_function_cyclo () { print "==Details for all functions==" print "Used ranges:" print "{| class =\"cyclo_ranges_table\"" print "|-" print "| class=\"cyclo_ranges_header_entry\" | " print "| class=\"cyclo_ranges_header_entry\" | Cyclomatic Complexity" print "| class=\"cyclo_ranges_header_entry\" | Risk Evaluation" # Simple print "|-" print "| class=\"cyclo_ranges_entry_simple\" | " print "| class=\"cyclo_ranges_entry\" | 0 - " cyclo_simple_max print "| class=\"cyclo_ranges_entry\" | Simple module, without much risk" # Moderate print "|-" print "| class=\"cyclo_ranges_entry_moderate\" | " print "| class=\"cyclo_ranges_entry\" |" cyclo_simple_max + 1 " - " cyclo_moderate_max print "| class=\"cyclo_ranges_entry\" | More complex module, moderate risk" # High print "|-" print "| class=\"cyclo_ranges_entry_high\" | " print "| class=\"cyclo_ranges_entry\" |" cyclo_moderate_max + 1 " - " cyclo_high_max print "| class=\"cyclo_ranges_entry\" | Complex module, high risk" # Untestable print "|-" print "| class=\"cyclo_ranges_entry_untestable\" | " print "| class=\"cyclo_ranges_entry\" | greater than " cyclo_high_max print "| class=\"cyclo_ranges_entry\" | Untestable module, very high risk" print "|}" print "" print "" wiki_fnc_table_complete("") } function wiki_fnc_table_complete (caption) { wiki_fnc_table(caption, 1, 1, 0, 1, 1, 0, 1) } function wiki_fnc_table_abbrev (caption) { wiki_fnc_table(caption, 1, 0, 0, 0, 0, 0, 0) } function wiki_fnc_table (caption, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { print "{| width=\"90%\" class=\"cyclo_function_table\" cellpadding=\"0\" cellspacing=\"0\">" if (caption != "") { print "|+" caption } wiki_fnc_header(fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) for (nfnc = 1; nfnc <= nfuncs; nfnc++) { wiki_fnc(nfnc, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) } print "|}" } function wiki_fnc_header (fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { if (fname_p) { # Function name print "! class=\"cyclo_function_table_header_entry\" | Function Name" } if (mcyclo_p) { # Modified cyclo print "! class=\"cyclo_function_table_header_entry\" | Modified Cyclo" } if (cyclo_p) { # Cyclo print "! class=\"cyclo_function_table_header_entry\" | Cyclomatic Complexity" } if (num_statements_p) { print "! class=\"cyclo_function_table_header_entry\" | Number of Statements" } if (num_lines_p) { print "! class=\"cyclo_function_table_header_entry\" | Number of Lines" } if (first_line_p) { print "! class=\"cyclo_function_table_header_entry\" | First Line" } if (file_p) { print "! class=\"cyclo_function_table_header_entry\" | Source File" } } function wiki_fnc (nfnc, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { fname = fnames[nfnc] # Function name trclass = "cyclo_function_entry_simple" if (mcyclo[nfnc] > cyclo_high_max) { trclass="cyclo_function_entry_untestable" } else if (mcyclo[nfnc] > cyclo_moderate_max) { trclass="cyclo_function_entry_high" } else if (mcyclo[nfnc] > cyclo_simple_max) { trclass="cyclo_function_entry_moderate" } print "|- class=\"" trclass "\"" if (fname_p) { print "| class=\"cyclo_function_entry_name\" |" fname } if (mcyclo_p) { # Modified cyclo print "| class=\"cyclo_function_entry_cyclo\" |" mcyclo[nfnc] } if (cyclo_p) { # Cyclo print "| class=\"cyclo_function_entry_cyclo\" |" cyclo[nfnc] } if (num_statements_p) { # Number of statements print "| class=\"cyclo_function_entry_number\" |" num_statements[nfnc] } if (num_lines_p) { # Number of lines print "| class=\"cyclo_function_entry_number\" |" num_lines[nfnc] } if (first_line_p) { # First line print "| class=\"cyclo_function_entry_number\" |" first_line[nfnc] } if (file_p) { href = "" if (source_file_link_tmpl != "") { # Get href target href = source_file_link_tmpl sub(/%FILENAME%/, file[nfnc], href) } # Source file print "| class=\"cyclo_function_entry_filename\" |" \ ((href != "") ? "[" href " " file[nfnc] "]" : "[" file[nfnc] "]") } } # Scan data from a line { function_name = $7 nfuncs++; fnames[nfuncs] = function_name mcyclo[nfuncs] = $1 cyclo[nfuncs] = $2 num_statements[nfuncs] = $3 first_line[nfuncs] = $4 num_lines[nfuncs] = $5 # Build the filename from the file_spec ($6) begin_util_path = index($6, cut_dir) tmpfilename = substr($6, begin_util_path + length(cut_dir)) sub(/\([0-9]+\):/, "", tmpfilename) file[nfuncs] = tmpfilename if (mcyclo[nfuncs] > cyclo_simple_max) { # Extract function contents to a fn_txt file filepath = $6 sub(/\([0-9]+\):/, "", filepath) num_line = 0 while ((getline codeline < filepath) > 0) { num_line++; if ((num_line >= first_line[nfuncs]) && (num_line < first_line[nfuncs] + num_lines[nfuncs])) { print codeline > (function_name nfuncs "_fn.txt") } } close (function_name nfuncs "_fn.txt") close(filepath) } # Initial values for statistics variables num_of_functions = 0 max_mcyclo = 0 max_function_length = 0 num_of_simple_functions = 0 num_of_moderate_functions = 0 num_of_high_functions = 0 num_of_untestable_functions = 0 } # Epilogue END { # Print header (only for html) if (output_lang == "html") { html_header() } # Print prolog if ((output_lang == "html") && (html_prolog != "")) { print html_prolog } if ((output_lang == "wiki") && (wiki_prolog != "")) { print wiki_prolog } if (output_lang == "html") { print "
" package_name " Cyclomatic Complexity Report
" print "

Report generated at: " chronos_time "

" } if (output_lang == "wiki") { print "==" package_name " Cyclomatic Complexity Report==" print "Report generated at: '''" chronos_time "'''" } if (section_global_stats_p) { build_stats() if (output_lang == "html") { html_global_stats() } if (output_lang == "wiki") { wiki_global_stats() } } if (section_function_cyclo_p) { if (output_lang == "html") { html_function_cyclo() } if (output_lang == "wiki") { wiki_function_cyclo() } } # Print epilog if ((output_lang == "html") && (html_epilog != "")) { print html_epilog } if ((output_lang == "wiki") && (wiki_epilog != "")) { print wiki_epilog } # Print footer (html only) if (output_lang == "html") { html_footer() } } # End of pmccabe2html gsasl-1.8.1/lib/build-aux/gnupload0000755000000000000000000003211313516251601013720 00000000000000#!/bin/sh # Sign files and upload them. scriptversion=2018-05-19.18; # UTC # Copyright (C) 2004-2019 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, 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, see . # Originally written by Alexandre Duret-Lutz . # The master copy of this file is maintained in the gnulib Git repository. # Please send bug reports and feature requests to bug-gnulib@gnu.org. set -e GPG=gpg # Choose the proper version of gpg, so as to avoid a # "gpg-agent is not available in this session" error # when gpg-agent is version 3 but gpg is still version 1. # FIXME-2020: remove, once all major distros ship gpg version 3 as /usr/bin/gpg gpg_agent_version=`(gpg-agent --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'` case "$gpg_agent_version" in 2.*) gpg_version=`(gpg --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'` case "$gpg_version" in 1.*) if (type gpg2) >/dev/null 2>/dev/null; then # gpg2 is present. GPG=gpg2 else # gpg2 is missing. Ubuntu users should install the package 'gnupg2'. echo "WARNING: Using 'gpg', which is too old. You should install 'gpg2'." 1>&2 fi ;; esac ;; esac GPG="${GPG} --batch --no-tty" conffile=.gnuploadrc to= dry_run=false replace= symlink_files= delete_files= delete_symlinks= collect_var= dbg= nl=' ' usage="Usage: $0 [OPTION]... [CMD] FILE... [[CMD] FILE...] Sign all FILES, and process them at the destinations specified with --to. If CMD is not given, it defaults to uploading. See examples below. Commands: --delete delete FILES from destination --symlink create symbolic links --rmsymlink remove symbolic links -- treat the remaining arguments as files to upload Options: --to DEST specify a destination DEST for FILES (multiple --to options are allowed) --user NAME sign with key NAME --replace allow replacements of existing files --symlink-regex[=EXPR] use sed script EXPR to compute symbolic link names -n, --dry-run do nothing, show what would have been done (including the constructed directive file) --version output version information and exit -h, --help print this help text and exit If --symlink-regex is given without EXPR, then the link target name is created by replacing the version information with '-latest', e.g.: foo-1.3.4.tar.gz -> foo-latest.tar.gz Recognized destinations are: alpha.gnu.org:DIRECTORY savannah.gnu.org:DIRECTORY savannah.nongnu.org:DIRECTORY ftp.gnu.org:DIRECTORY build directive files and upload files by FTP download.gnu.org.ua:{alpha|ftp}/DIRECTORY build directive files and upload files by SFTP [user@]host:DIRECTORY upload files with scp Options and commands are applied in order. If the file $conffile exists in the current working directory, its contents are prepended to the actual command line options. Use this to keep your defaults. Comments (#) and empty lines in $conffile are allowed. gives some further background. Examples: 1. Upload foobar-1.0.tar.gz to ftp.gnu.org: gnupload --to ftp.gnu.org:foobar foobar-1.0.tar.gz 2. Upload foobar-1.0.tar.gz and foobar-1.0.tar.xz to ftp.gnu.org: gnupload --to ftp.gnu.org:foobar foobar-1.0.tar.gz foobar-1.0.tar.xz 3. Same as above, and also create symbolic links to foobar-latest.tar.*: gnupload --to ftp.gnu.org:foobar \\ --symlink-regex \\ foobar-1.0.tar.gz foobar-1.0.tar.xz 4. Create a symbolic link foobar-latest.tar.gz -> foobar-1.0.tar.gz and likewise for the corresponding .sig file: gnupload --to ftp.gnu.org:foobar \\ --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\ foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig or (equivalent): gnupload --to ftp.gnu.org:foobar \\ --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\ --symlink foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig 5. Upload foobar-0.9.90.tar.gz to two sites: gnupload --to alpha.gnu.org:foobar \\ --to sources.redhat.com:~ftp/pub/foobar \\ foobar-0.9.90.tar.gz 6. Delete oopsbar-0.9.91.tar.gz and upload foobar-0.9.91.tar.gz (the -- terminates the list of files to delete): gnupload --to alpha.gnu.org:foobar \\ --to sources.redhat.com:~ftp/pub/foobar \\ --delete oopsbar-0.9.91.tar.gz \\ -- foobar-0.9.91.tar.gz gnupload executes a program ncftpput to do the transfers; if you don't happen to have an ncftp package installed, the ncftpput-ftp script in the build-aux/ directory of the gnulib package (https://savannah.gnu.org/projects/gnulib) may serve as a replacement. Send patches and bug reports to ." # Read local configuration file if test -r "$conffile"; then echo "$0: Reading configuration file $conffile" conf=`sed 's/#.*$//;/^$/d' "$conffile" | tr "\015$nl" ' '` eval set x "$conf \"\$@\"" shift fi while test -n "$1"; do case $1 in -*) collect_var= case $1 in -h | --help) echo "$usage" exit $? ;; --to) if test -z "$2"; then echo "$0: Missing argument for --to" 1>&2 exit 1 elif echo "$2" | grep 'ftp-upload\.gnu\.org' >/dev/null; then echo "$0: Use ftp.gnu.org:PKGNAME or alpha.gnu.org:PKGNAME" >&2 echo "$0: for the destination, not ftp-upload.gnu.org (which" >&2 echo "$0: is used for direct ftp uploads, not with gnupload)." >&2 echo "$0: See --help and its examples if need be." >&2 exit 1 else to="$to $2" shift fi ;; --user) if test -z "$2"; then echo "$0: Missing argument for --user" 1>&2 exit 1 else GPG="$GPG --local-user $2" shift fi ;; --delete) collect_var=delete_files ;; --replace) replace="replace: true" ;; --rmsymlink) collect_var=delete_symlinks ;; --symlink-regex=*) symlink_expr=`expr "$1" : '[^=]*=\(.*\)'` ;; --symlink-regex) symlink_expr='s|-[0-9][0-9\.]*\(-[0-9][0-9]*\)\{0,1\}\.|-latest.|' ;; --symlink) collect_var=symlink_files ;; -n | --dry-run) dry_run=: ;; --version) echo "gnupload $scriptversion" exit $? ;; --) shift break ;; -*) echo "$0: Unknown option '$1', try '$0 --help'" 1>&2 exit 1 ;; esac ;; *) if test -z "$collect_var"; then break else eval "$collect_var=\"\$$collect_var $1\"" fi ;; esac shift done dprint() { echo "Running $* ..." } if $dry_run; then dbg=dprint fi if test -z "$to"; then echo "$0: Missing destination sites" >&2 exit 1 fi if test -n "$symlink_files"; then x=`echo "$symlink_files" | sed 's/[^ ]//g;s/ //g'` if test -n "$x"; then echo "$0: Odd number of symlink arguments" >&2 exit 1 fi fi if test $# = 0; then if test -z "${symlink_files}${delete_files}${delete_symlinks}"; then echo "$0: No file to upload" 1>&2 exit 1 fi else # Make sure all files exist. We don't want to ask # for the passphrase if the script will fail. for file do if test ! -f $file; then echo "$0: Cannot find '$file'" 1>&2 exit 1 elif test -n "$symlink_expr"; then linkname=`echo $file | sed "$symlink_expr"` if test -z "$linkname"; then echo "$0: symlink expression produces empty results" >&2 exit 1 elif test "$linkname" = $file; then echo "$0: symlink expression does not alter file name" >&2 exit 1 fi fi done fi # Make sure passphrase is not exported in the environment. unset passphrase unset passphrase_fd_0 GNUPGHOME=${GNUPGHOME:-$HOME/.gnupg} # Reset PATH to be sure that echo is a built-in. We will later use # 'echo $passphrase' to output the passphrase, so it is important that # it is a built-in (third-party programs tend to appear in 'ps' # listings with their arguments...). # Remember this script runs with 'set -e', so if echo is not built-in # it will exit now. if $dry_run || grep -q "^use-agent" $GNUPGHOME/gpg.conf; then :; else PATH=/empty echo -n "Enter GPG passphrase: " stty -echo read -r passphrase stty echo echo passphrase_fd_0="--passphrase-fd 0" fi if test $# -ne 0; then for file do echo "Signing $file ..." rm -f $file.sig echo "$passphrase" | $dbg $GPG $passphrase_fd_0 -ba -o $file.sig $file done fi # mkdirective DESTDIR BASE FILE STMT # Arguments: See upload, below mkdirective () { stmt="$4" if test -n "$3"; then stmt=" filename: $3$stmt" fi cat >${2}.directive<&2 fi $dbg ncftpput savannah.gnu.org /incoming/savannah/$destdir $files ;; savannah.nongnu.org:*) if test -z "$files"; then echo "$0: warning: standalone directives not applicable for $dest" >&2 fi $dbg ncftpput savannah.nongnu.org /incoming/savannah/$destdir $files ;; download.gnu.org.ua:alpha/*|download.gnu.org.ua:ftp/*) destdir_p1=`echo "$destdir" | sed 's,^[^/]*/,,'` destdir_topdir=`echo "$destdir" | sed 's,/.*,,'` mkdirective "$destdir_p1" "$base" "$file" "$stmt" echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive for f in $files $base.directive.asc do echo put $f done | $dbg sftp -b - puszcza.gnu.org.ua:/incoming/$destdir_topdir ;; /*) dest_host=`echo "$dest" | sed 's,:.*,,'` mkdirective "$destdir" "$base" "$file" "$stmt" echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive $dbg cp $files $base.directive.asc $dest_host ;; *) if test -z "$files"; then echo "$0: warning: standalone directives not applicable for $dest" >&2 fi $dbg scp $files $dest ;; esac rm -f $base.directive $base.directive.asc } ##### # Process any standalone directives stmt= if test -n "$symlink_files"; then stmt="$stmt `mksymlink $symlink_files`" fi for file in $delete_files do stmt="$stmt archive: $file" done for file in $delete_symlinks do stmt="$stmt rmsymlink: $file" done if test -n "$stmt"; then for dest in $to do destdir=`echo $dest | sed 's/[^:]*://'` upload "$dest" "$destdir" "`hostname`-$$" "" "$stmt" done fi # Process actual uploads for dest in $to do for file do echo "Uploading $file to $dest ..." stmt= # # allowing file replacement is all or nothing. if test -n "$replace"; then stmt="$stmt $replace" fi # files="$file $file.sig" destdir=`echo $dest | sed 's/[^:]*://'` if test -n "$symlink_expr"; then linkname=`echo $file | sed "$symlink_expr"` stmt="$stmt symlink: $file $linkname symlink: $file.sig $linkname.sig" fi upload "$dest" "$destdir" "$file" "$file" "$stmt" "$files" done done exit 0 # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: gsasl-1.8.1/lib/build-aux/mdate-sh0000755000000000000000000001373213521017137013617 00000000000000#!/bin/sh # Get modification time of a file or directory and pretty-print it. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1995-2018 Free Software Foundation, Inc. # written by Ulrich Drepper , June 1995 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST fi case $1 in '') echo "$0: No file. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: mdate-sh [--help] [--version] FILE Pretty-print the modification day of FILE, in the format: 1 January 1970 Report bugs to . EOF exit $? ;; -v | --v*) echo "mdate-sh $scriptversion" exit $? ;; esac error () { echo "$0: $1" >&2 exit 1 } # Prevent date giving response in another language. LANG=C export LANG LC_ALL=C export LC_ALL LC_TIME=C export LC_TIME # Use UTC to get reproducible result. TZ=UTC0 export TZ # GNU ls changes its time format in response to the TIME_STYLE # variable. Since we cannot assume 'unset' works, revert this # variable to its documented default. if test "${TIME_STYLE+set}" = set; then TIME_STYLE=posix-long-iso export TIME_STYLE fi save_arg1=$1 # Find out how to get the extended ls output of a file or directory. if ls -L /dev/null 1>/dev/null 2>&1; then ls_command='ls -L -l -d' else ls_command='ls -l -d' fi # Avoid user/group names that might have spaces, when possible. if ls -n /dev/null 1>/dev/null 2>&1; then ls_command="$ls_command -n" fi # A 'ls -l' line looks as follows on OS/2. # drwxrwx--- 0 Aug 11 2001 foo # This differs from Unix, which adds ownership information. # drwxrwx--- 2 root root 4096 Aug 11 2001 foo # # To find the date, we split the line on spaces and iterate on words # until we find a month. This cannot work with files whose owner is a # user named "Jan", or "Feb", etc. However, it's unlikely that '/' # will be owned by a user whose name is a month. So we first look at # the extended ls output of the root directory to decide how many # words should be skipped to get the date. # On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. set x`$ls_command /` # Find which argument is the month. month= command= until test $month do test $# -gt 0 || error "failed parsing '$ls_command /' output" shift # Add another shift to the command. command="$command shift;" case $1 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; Mar) month=March; nummonth=3;; Apr) month=April; nummonth=4;; May) month=May; nummonth=5;; Jun) month=June; nummonth=6;; Jul) month=July; nummonth=7;; Aug) month=August; nummonth=8;; Sep) month=September; nummonth=9;; Oct) month=October; nummonth=10;; Nov) month=November; nummonth=11;; Dec) month=December; nummonth=12;; esac done test -n "$month" || error "failed parsing '$ls_command /' output" # Get the extended ls output of the file or directory. set dummy x`eval "$ls_command \"\\\$save_arg1\""` # Remove all preceding arguments eval $command # Because of the dummy argument above, month is in $2. # # On a POSIX system, we should have # # $# = 5 # $1 = file size # $2 = month # $3 = day # $4 = year or time # $5 = filename # # On Darwin 7.7.0 and 7.6.0, we have # # $# = 4 # $1 = day # $2 = month # $3 = year or time # $4 = filename # Get the month. case $2 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; Mar) month=March; nummonth=3;; Apr) month=April; nummonth=4;; May) month=May; nummonth=5;; Jun) month=June; nummonth=6;; Jul) month=July; nummonth=7;; Aug) month=August; nummonth=8;; Sep) month=September; nummonth=9;; Oct) month=October; nummonth=10;; Nov) month=November; nummonth=11;; Dec) month=December; nummonth=12;; esac case $3 in ???*) day=$1;; *) day=$3; shift;; esac # Here we have to deal with the problem that the ls output gives either # the time of day or the year. case $3 in *:*) set `date`; eval year=\$$# case $2 in Jan) nummonthtod=1;; Feb) nummonthtod=2;; Mar) nummonthtod=3;; Apr) nummonthtod=4;; May) nummonthtod=5;; Jun) nummonthtod=6;; Jul) nummonthtod=7;; Aug) nummonthtod=8;; Sep) nummonthtod=9;; Oct) nummonthtod=10;; Nov) nummonthtod=11;; Dec) nummonthtod=12;; esac # For the first six month of the year the time notation can also # be used for files modified in the last year. if (expr $nummonth \> $nummonthtod) > /dev/null; then year=`expr $year - 1` fi;; *) year=$3;; esac # The result. echo $day $month $year # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: gsasl-1.8.1/lib/anonymous/0000755000000000000000000000000013521017725012402 500000000000000gsasl-1.8.1/lib/anonymous/anonymous.h0000644000000000000000000000266713516252320014532 00000000000000/* anonymous.h --- Prototypes for ANONYMOUS mechanism as defined in RFC 2245. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef ANONYMOUS_H #define ANONYMOUS_H #include #define GSASL_ANONYMOUS_NAME "ANONYMOUS" extern Gsasl_mechanism gsasl_anonymous_mechanism; extern int _gsasl_anonymous_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_anonymous_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); #endif /* ANONYMOUS_H */ gsasl-1.8.1/lib/anonymous/Makefile.am0000644000000000000000000000227113516252320014354 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-anonymous.la libgsasl_anonymous_la_SOURCES = anonymous.h mechinfo.c if CLIENT libgsasl_anonymous_la_SOURCES += client.c endif if SERVER libgsasl_anonymous_la_SOURCES += server.c endif gsasl-1.8.1/lib/anonymous/server.c0000644000000000000000000000337413516252320013777 00000000000000/* server.c --- ANONYMOUS mechanism as defined in RFC 2245, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "anonymous.h" int _gsasl_anonymous_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { *output = NULL; *output_len = 0; if (!input) return GSASL_NEEDS_MORE; /* token = 1*255TCHAR The production is restricted to 255 UTF-8 encoded Unicode characters. As the encoding of a characters uses a sequence of 1 to 4 octets, a token may be long as 1020 octets. */ if (input_len == 0 || input_len > 1020) return GSASL_MECHANISM_PARSE_ERROR; /* FIXME: Validate that input is UTF-8. */ gsasl_property_set_raw (sctx, GSASL_ANONYMOUS_TOKEN, input, input_len); return gsasl_callback (NULL, sctx, GSASL_VALIDATE_ANONYMOUS); } gsasl-1.8.1/lib/anonymous/mechinfo.c0000644000000000000000000000250613516252320014255 00000000000000/* mechinfo.c --- Definition of ANONYMOUS mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "anonymous.h" Gsasl_mechanism gsasl_anonymous_mechanism = { GSASL_ANONYMOUS_NAME, { NULL, NULL, NULL, #ifdef USE_CLIENT _gsasl_anonymous_client_step, #else NULL, #endif NULL, NULL, NULL} , { NULL, NULL, NULL, #ifdef USE_SERVER _gsasl_anonymous_server_step, #else NULL, #endif NULL, NULL, NULL} }; gsasl-1.8.1/lib/anonymous/Makefile.in0000644000000000000000000017177313521017116014401 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = anonymous ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_anonymous_la_LIBADD = am__libgsasl_anonymous_la_SOURCES_DIST = anonymous.h mechinfo.c \ client.c server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_anonymous_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_anonymous_la_OBJECTS = $(am_libgsasl_anonymous_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_anonymous_la_SOURCES) DIST_SOURCES = $(am__libgsasl_anonymous_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-anonymous.la libgsasl_anonymous_la_SOURCES = anonymous.h mechinfo.c $(am__append_1) \ $(am__append_2) 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 anonymous/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu anonymous/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-anonymous.la: $(libgsasl_anonymous_la_OBJECTS) $(libgsasl_anonymous_la_DEPENDENCIES) $(EXTRA_libgsasl_anonymous_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_anonymous_la_OBJECTS) $(libgsasl_anonymous_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/anonymous/client.c0000644000000000000000000000273013516252320013742 00000000000000/* client.c --- ANONYMOUS mechanism as defined in RFC 2245, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "anonymous.h" /* Get strdup, strlen. */ #include int _gsasl_anonymous_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { const char *p; p = gsasl_property_get (sctx, GSASL_ANONYMOUS_TOKEN); if (!p) return GSASL_NO_ANONYMOUS_TOKEN; *output = strdup (p); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (p); return GSASL_OK; } gsasl-1.8.1/lib/COPYING0000644000000000000000000010451312222241124011316 00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 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 3 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, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . gsasl-1.8.1/lib/ABOUT-NLS0000644000000000000000000026713313516321014011526 000000000000001 Notes on the Free Translation Project *************************************** Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that free software will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. 1.1 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. Installers may use special options at configuration time for changing the default behaviour. The command: ./configure --disable-nls will _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl' library and will decide to use it. If not, you may have to to use the `--with-libintl-prefix' option to tell `configure' where to look for it. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. 1.2 Using This Package ====================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. If you happen to have the `LC_ALL' or some other `LC_xxx' environment variables set, you should unset them before setting `LANG', otherwise the setting of `LANG' will not have the desired effect. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your language by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. 1.3 Translating Teams ===================== For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://translationproject.org/', in the "Teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `coordinator@translationproject.org' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skills are praised more than programming skills, here. 1.4 Available Packages ====================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of June 2010. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca +--------------------------------------------------+ a2ps | [] [] | aegis | | ant-phone | | anubis | | aspell | [] [] | bash | | bfd | | bibshelf | [] | binutils | | bison | | bison-runtime | [] | bluez-pin | [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] [] | cpio | | cppi | | cpplib | [] | cryptsetup | | dfarc | | dialog | [] [] | dico | | diffutils | [] | dink | | doodle | | e2fsprogs | [] | enscript | [] | exif | | fetchmail | [] | findutils | [] | flex | [] | freedink | | gas | | gawk | [] [] | gcal | [] | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] [] | gettext-tools | [] [] | gip | [] | gjay | | gliv | [] | glunarclock | [] [] | gnubiff | | gnucash | [] | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | | gold | | gpe-aerial | | gpe-beam | | gpe-bluetooth | | gpe-calendar | | gpe-clock | [] | gpe-conf | | gpe-contacts | | gpe-edit | | gpe-filemanager | | gpe-go | | gpe-login | | gpe-ownerinfo | [] | gpe-package | | gpe-sketchbook | | gpe-su | [] | gpe-taskmanager | [] | gpe-timesheet | [] | gpe-today | [] | gpe-todo | | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | [] [] | gsasl | | gss | | gst-plugins-bad | [] | gst-plugins-base | [] | gst-plugins-good | [] | gst-plugins-ugly | [] | gstreamer | [] [] [] | gtick | | gtkam | [] | gtkorphan | [] | gtkspell | [] [] [] | gutenprint | | hello | [] | help2man | | hylafax | | idutils | | indent | [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | | iso_639 | [] [] [] [] | iso_639_3 | | jwhois | | kbd | | keytouch | [] | keytouch-editor | | keytouch-keyboa... | [] | klavaro | [] | latrine | | ld | [] | leafpad | [] [] | libc | [] [] | libexif | () | libextractor | | libgnutls | | libgpewidget | | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | [] | libidn | | lifelines | | liferea | [] [] | lilypond | | linkdr | [] | lordsawar | | lprng | | lynx | [] | m4 | | mailfromd | | mailutils | | make | | man-db | | man-db-manpages | | minicom | | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | | psmisc | | pspp | [] | pwdutils | | radius | [] | recode | [] [] | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] [] | sed | [] [] | sharutils | [] [] | shishi | | skencil | | solfege | | solfege-manual | | soundtracker | | sp | | sysstat | | tar | [] | texinfo | | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] [] | wyslij-po | | xchat | [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] | +--------------------------------------------------+ af am an ar as ast az be be@latin bg bn_IN bs ca 6 0 1 2 3 19 1 10 3 28 3 1 38 crh cs da de el en en_GB en_ZA eo es et eu fa +-------------------------------------------------+ a2ps | [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] () | anubis | [] [] | aspell | [] [] [] [] [] | bash | [] [] [] | bfd | [] | bibshelf | [] [] [] | binutils | [] | bison | [] [] | bison-runtime | [] [] [] [] | bluez-pin | [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] [] [] | cflow | [] [] | clisp | [] [] [] [] | coreutils | [] [] [] [] | cpio | | cppi | | cpplib | [] [] [] | cryptsetup | [] | dfarc | [] [] [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] | dink | [] [] [] | doodle | [] | e2fsprogs | [] [] [] | enscript | [] [] [] | exif | () [] [] | fetchmail | [] [] () [] [] [] | findutils | [] [] [] | flex | [] [] | freedink | [] [] [] | gas | [] | gawk | [] [] [] | gcal | [] | gcc | [] [] | gettext-examples | [] [] [] [] | gettext-runtime | [] [] [] [] | gettext-tools | [] [] [] | gip | [] [] [] [] | gjay | [] | gliv | [] [] [] | glunarclock | [] [] | gnubiff | () | gnucash | [] () () () () | gnuedu | [] [] | gnulib | [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] | gpe-aerial | [] [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] | gpe-conf | [] [] [] | gpe-contacts | [] [] [] | gpe-edit | [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] () [] [] [] | gprof | [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] | grub | [] [] | gsasl | [] | gss | | gst-plugins-bad | [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] () [] | gtkam | [] [] () [] [] | gtkorphan | [] [] [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | [] [] [] | hello | [] [] [] [] | help2man | [] | hylafax | [] [] | idutils | [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] [] [] [] () [] [] [] () | iso_3166_2 | () | iso_4217 | [] [] [] () [] [] | iso_639 | [] [] [] [] () [] [] | iso_639_3 | [] | jwhois | [] | kbd | [] [] [] [] [] | keytouch | [] [] | keytouch-editor | [] [] | keytouch-keyboa... | [] | klavaro | [] [] [] [] | latrine | [] () | ld | [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | [] [] | libgphoto2 | [] () | libgphoto2_port | [] () [] | libgsasl | | libiconv | [] [] [] [] [] | libidn | [] [] [] | lifelines | [] () | liferea | [] [] [] [] [] | lilypond | [] [] [] | linkdr | [] [] [] | lordsawar | [] | lprng | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] | make | [] [] [] | man-db | | man-db-manpages | | minicom | [] [] [] [] | mkisofs | | myserver | | nano | [] [] [] | opcodes | [] [] | parted | [] [] | pies | | popt | [] [] [] [] [] | psmisc | [] [] [] | pspp | [] | pwdutils | [] | radius | [] | recode | [] [] [] [] [] [] | rosegarden | () () () | rpm | [] [] [] | rush | | sarg | | screem | | scrollkeeper | [] [] [] [] [] | sed | [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | | skencil | [] () [] | solfege | [] [] [] | solfege-manual | [] [] | soundtracker | [] [] [] | sp | [] | sysstat | [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] | tin | [] [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] | vice | () () | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] | wyslij-po | | xchat | [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] [] | +-------------------------------------------------+ crh cs da de el en en_GB en_ZA eo es et eu fa 5 64 105 117 18 1 8 0 28 89 18 19 0 fi fr ga gl gu he hi hr hu hy id is it ja ka kn +----------------------------------------------------+ a2ps | [] [] [] [] | aegis | [] [] | ant-phone | [] [] | anubis | [] [] [] [] | aspell | [] [] [] [] | bash | [] [] [] [] | bfd | [] [] [] | bibshelf | [] [] [] [] [] | binutils | [] [] [] | bison | [] [] [] [] | bison-runtime | [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] | cflow | [] [] [] | clisp | [] | coreutils | [] [] [] [] [] | cpio | [] [] [] [] | cppi | [] [] | cpplib | [] [] [] | cryptsetup | [] [] [] | dfarc | [] [] [] | dialog | [] [] [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] [] [] [] | dink | [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] | exif | [] [] [] [] [] [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] [] | flex | [] [] [] | freedink | [] [] [] | gas | [] [] | gawk | [] [] [] [] () [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] [] | gip | [] [] [] [] [] [] | gjay | [] | gliv | [] () | glunarclock | [] [] [] [] | gnubiff | () [] () | gnucash | () () () () () [] | gnuedu | [] [] | gnulib | [] [] [] [] [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] [] | gpe-aerial | [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] [] [] | gpe-calendar | [] [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] [] [] | gpe-contacts | [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] [] | gpe-go | [] [] [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] [] [] [] [] | gprof | [] [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] [] | grub | [] [] [] [] | gsasl | [] [] [] [] [] | gss | [] [] [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] [] [] | gtkam | [] [] [] [] [] | gtkorphan | [] [] [] | gtkspell | [] [] [] [] [] [] [] [] [] | gutenprint | [] [] [] [] | hello | [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] [] | indent | [] [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | () [] [] [] | iso_4217 | [] () [] [] [] [] | iso_639 | [] () [] [] [] [] [] [] [] | iso_639_3 | () [] [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] [] [] [] [] [] | keytouch-editor | [] [] [] [] [] | keytouch-keyboa... | [] [] [] [] [] | klavaro | [] [] | latrine | [] [] [] | ld | [] [] [] [] | leafpad | [] [] [] [] [] [] [] () | libc | [] [] [] [] [] | libexif | [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] [] | libidn | [] [] [] [] | lifelines | () | liferea | [] [] [] [] | lilypond | [] [] | linkdr | [] [] [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] [] [] | m4 | [] [] [] [] [] [] | mailfromd | | mailutils | [] [] | make | [] [] [] [] [] [] [] [] [] | man-db | [] [] | man-db-manpages | [] | minicom | [] [] [] [] [] | mkisofs | [] [] [] [] | myserver | | nano | [] [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] [] | pies | | popt | [] [] [] [] [] [] [] [] [] | psmisc | [] [] [] | pspp | | pwdutils | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () () () () | rpm | [] [] | rush | | sarg | [] | screem | [] [] | scrollkeeper | [] [] [] [] | sed | [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] | shishi | [] | skencil | [] | solfege | [] [] [] [] | solfege-manual | [] [] | soundtracker | [] [] | sp | [] () | sysstat | [] [] [] [] [] | tar | [] [] [] [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux-ng | [] [] [] [] [] [] | vice | () () () | vmm | [] | vorbis-tools | [] | wastesedge | () () | wdiff | [] | wget | [] [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] | +----------------------------------------------------+ fi fr ga gl gu he hi hr hu hy id is it ja ka kn 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne +-----------------------------------------------+ a2ps | [] | aegis | | ant-phone | | anubis | [] [] | aspell | [] | bash | | bfd | | bibshelf | [] [] | binutils | | bison | [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] | cpio | | cppi | | cpplib | | cryptsetup | | dfarc | [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] | dink | | doodle | | e2fsprogs | | enscript | | exif | [] | fetchmail | | findutils | | flex | | freedink | [] | gas | | gawk | | gcal | | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] | gettext-tools | [] | gip | [] [] | gjay | | gliv | | glunarclock | [] | gnubiff | | gnucash | () () () () | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | [] | gold | | gpe-aerial | [] | gpe-beam | [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] | gpe-contacts | [] [] | gpe-edit | [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] | gpe-timesheet | [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | | gsasl | | gss | | gst-plugins-bad | [] [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] | gst-plugins-ugly | [] [] [] [] [] | gstreamer | | gtick | | gtkam | [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | | hello | [] [] [] | help2man | | hylafax | | idutils | | indent | | iso_15924 | [] [] | iso_3166 | [] [] () [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] | iso_639 | [] [] | iso_639_3 | [] | jwhois | [] | kbd | | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | klavaro | [] | latrine | [] | ld | | leafpad | [] [] [] | libc | [] | libexif | | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | | libidn | | lifelines | | liferea | | lilypond | | linkdr | | lordsawar | | lprng | | lynx | | m4 | | mailfromd | | mailutils | | make | [] | man-db | | man-db-manpages | | minicom | [] | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | [] [] [] | psmisc | | pspp | | pwdutils | | radius | | recode | | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] | sed | | sharutils | | shishi | | skencil | | solfege | [] | solfege-manual | | soundtracker | | sp | | sysstat | [] | tar | [] | texinfo | [] | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] | wyslij-po | | xchat | [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +-----------------------------------------------+ ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr +---------------------------------------------------+ a2ps | [] [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] [] | anubis | [] [] [] | aspell | [] [] [] [] [] | bash | [] [] | bfd | [] | bibshelf | [] [] | binutils | [] [] | bison | [] [] [] | bison-runtime | [] [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] () | buzztard | [] [] | cflow | [] | clisp | [] [] | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cppi | [] | cpplib | [] | cryptsetup | [] | dfarc | [] | dialog | [] [] [] [] | dico | [] | diffutils | [] [] [] [] [] [] | dink | () | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | exif | [] [] [] () [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] | flex | [] [] [] [] [] | freedink | [] [] | gas | | gawk | [] [] [] [] | gcal | | gcc | [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] | gip | [] [] [] [] [] | gjay | | gliv | [] [] [] [] [] [] | glunarclock | [] [] [] [] [] | gnubiff | [] () | gnucash | [] () () () | gnuedu | [] | gnulib | [] [] [] [] | gnunet | | gnunet-gtk | | gnutls | [] [] | gold | | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] [] [] [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] [] | gphoto2 | [] [] [] [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] | gramadoir | [] [] | grep | [] [] [] [] | grub | [] [] [] | gsasl | [] [] [] [] | gss | [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] | gtkam | [] [] [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] [] [] | gutenprint | [] [] | hello | [] [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] [] [] [] | iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | iso_3166_2 | [] [] [] | iso_4217 | [] [] [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] [] [] [] | iso_639_3 | [] [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] [] [] | keytouch-editor | [] [] [] | keytouch-keyboa... | [] [] [] | klavaro | [] [] | latrine | [] [] | ld | | leafpad | [] [] [] [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] | libgphoto2_port | [] [] [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] | libidn | [] [] | lifelines | [] [] | liferea | [] [] [] [] [] () () [] | lilypond | [] | linkdr | [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailfromd | [] | mailutils | [] | make | [] [] [] [] | man-db | [] [] [] | man-db-manpages | [] [] [] | minicom | [] [] [] [] | mkisofs | [] [] [] | myserver | | nano | [] [] [] [] | opcodes | [] [] | parted | [] [] [] [] | pies | [] | popt | [] [] [] [] | psmisc | [] [] [] | pspp | [] [] | pwdutils | [] | radius | [] [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () | rpm | [] [] [] | rush | [] [] | sarg | | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | skencil | [] [] | solfege | [] [] [] [] | solfege-manual | [] [] [] | soundtracker | [] | sp | | sysstat | [] [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] [] | vice | [] | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +---------------------------------------------------+ nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW +---------------------------------------------------+ a2ps | [] [] [] [] [] | 27 aegis | [] | 9 ant-phone | [] [] [] [] | 9 anubis | [] [] [] [] | 15 aspell | [] [] [] | 20 bash | [] [] [] | 12 bfd | [] | 6 bibshelf | [] [] [] | 16 binutils | [] [] | 8 bison | [] [] | 12 bison-runtime | [] [] [] [] [] [] | 29 bluez-pin | [] [] [] [] [] [] [] [] | 37 bombono-dvd | [] | 4 buzztard | [] | 7 cflow | [] [] [] | 9 clisp | | 10 coreutils | [] [] [] [] | 22 cpio | [] [] [] [] [] [] | 13 cppi | [] [] | 5 cpplib | [] [] [] [] [] [] | 14 cryptsetup | [] [] | 7 dfarc | [] | 9 dialog | [] [] [] [] [] [] [] | 30 dico | [] | 2 diffutils | [] [] [] [] [] [] | 30 dink | | 4 doodle | [] [] | 7 e2fsprogs | [] [] [] | 11 enscript | [] [] [] [] | 17 exif | [] [] [] | 16 fetchmail | [] [] [] | 17 findutils | [] [] [] [] [] | 20 flex | [] [] [] [] | 15 freedink | [] | 10 gas | [] | 4 gawk | [] [] [] [] | 18 gcal | [] [] | 5 gcc | [] [] [] | 7 gettext-examples | [] [] [] [] [] [] [] | 34 gettext-runtime | [] [] [] [] [] [] [] | 29 gettext-tools | [] [] [] [] [] [] | 22 gip | [] [] [] [] | 22 gjay | [] | 3 gliv | [] [] [] | 14 glunarclock | [] [] [] [] [] | 19 gnubiff | [] [] | 4 gnucash | () [] () [] () | 10 gnuedu | [] [] | 7 gnulib | [] [] [] [] | 16 gnunet | [] | 1 gnunet-gtk | [] [] [] | 5 gnutls | [] [] [] | 10 gold | [] | 4 gpe-aerial | [] [] [] | 18 gpe-beam | [] [] [] | 19 gpe-bluetooth | [] [] [] | 13 gpe-calendar | [] [] [] [] | 12 gpe-clock | [] [] [] [] [] | 28 gpe-conf | [] [] [] [] | 20 gpe-contacts | [] [] [] | 17 gpe-edit | [] [] [] | 12 gpe-filemanager | [] [] [] [] | 16 gpe-go | [] [] [] [] [] | 25 gpe-login | [] [] [] | 11 gpe-ownerinfo | [] [] [] [] [] | 25 gpe-package | [] [] [] | 13 gpe-sketchbook | [] [] [] | 20 gpe-su | [] [] [] [] [] | 30 gpe-taskmanager | [] [] [] [] [] | 29 gpe-timesheet | [] [] [] [] [] | 25 gpe-today | [] [] [] [] [] [] | 30 gpe-todo | [] [] [] [] | 17 gphoto2 | [] [] [] [] [] | 24 gprof | [] [] [] | 15 gpsdrive | [] [] [] | 11 gramadoir | [] [] [] | 11 grep | [] [] [] | 10 grub | [] [] [] | 14 gsasl | [] [] [] [] | 14 gss | [] [] [] | 11 gst-plugins-bad | [] [] [] [] | 26 gst-plugins-base | [] [] [] [] [] | 24 gst-plugins-good | [] [] [] [] | 24 gst-plugins-ugly | [] [] [] [] [] | 29 gstreamer | [] [] [] [] | 22 gtick | [] [] [] | 13 gtkam | [] [] [] | 20 gtkorphan | [] [] [] | 14 gtkspell | [] [] [] [] [] [] [] [] [] | 45 gutenprint | [] | 10 hello | [] [] [] [] [] [] | 21 help2man | [] [] | 7 hylafax | [] | 5 idutils | [] [] [] [] | 17 indent | [] [] [] [] [] [] | 30 iso_15924 | () [] () [] [] | 16 iso_3166 | [] [] () [] [] () [] [] [] () | 53 iso_3166_2 | () [] () [] | 9 iso_4217 | [] () [] [] () [] [] | 26 iso_639 | [] [] [] () [] () [] [] [] [] | 38 iso_639_3 | [] () | 8 jwhois | [] [] [] [] [] | 16 kbd | [] [] [] [] [] | 15 keytouch | [] [] [] | 16 keytouch-editor | [] [] [] | 14 keytouch-keyboa... | [] [] [] | 14 klavaro | [] | 11 latrine | [] [] [] | 10 ld | [] [] [] [] | 11 leafpad | [] [] [] [] [] [] | 33 libc | [] [] [] [] [] | 21 libexif | [] () | 7 libextractor | [] | 1 libgnutls | [] [] [] | 9 libgpewidget | [] [] [] | 14 libgpg-error | [] [] [] | 9 libgphoto2 | [] [] | 8 libgphoto2_port | [] [] [] [] | 14 libgsasl | [] [] [] | 13 libiconv | [] [] [] [] | 21 libidn | () [] [] | 11 lifelines | [] | 4 liferea | [] [] [] | 21 lilypond | [] | 7 linkdr | [] [] [] [] [] | 17 lordsawar | | 1 lprng | [] | 3 lynx | [] [] [] [] | 17 m4 | [] [] [] [] | 19 mailfromd | [] [] | 3 mailutils | [] | 5 make | [] [] [] [] | 21 man-db | [] [] [] | 8 man-db-manpages | | 4 minicom | [] [] | 16 mkisofs | [] [] | 9 myserver | | 0 nano | [] [] [] [] | 21 opcodes | [] [] [] | 11 parted | [] [] [] [] [] | 15 pies | [] [] | 3 popt | [] [] [] [] [] [] | 27 psmisc | [] [] | 11 pspp | | 4 pwdutils | [] [] | 6 radius | [] [] | 9 recode | [] [] [] [] | 28 rosegarden | () | 0 rpm | [] [] [] | 11 rush | [] [] | 4 sarg | | 1 screem | [] | 3 scrollkeeper | [] [] [] [] [] | 27 sed | [] [] [] [] [] | 30 sharutils | [] [] [] [] [] | 22 shishi | [] | 3 skencil | [] [] | 7 solfege | [] [] [] [] | 16 solfege-manual | [] | 8 soundtracker | [] [] [] | 9 sp | [] | 3 sysstat | [] [] | 15 tar | [] [] [] [] [] [] | 23 texinfo | [] [] [] [] [] | 17 tin | | 4 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux-ng | [] [] [] [] | 20 vice | () () | 1 vmm | [] | 4 vorbis-tools | [] | 6 wastesedge | | 2 wdiff | [] [] | 7 wget | [] [] [] [] [] | 26 wyslij-po | [] [] | 8 xchat | [] [] [] [] [] [] | 36 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 xkeyboard-config | [] [] [] | 22 +---------------------------------------------------+ 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If June 2010 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://translationproject.org/extra/matrix.html'. 1.5 Using `gettext' in new packages =================================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `coordinator@translationproject.org' to make the `.pot' files available to the translation teams. gsasl-1.8.1/lib/INSTALL0000644000000000000000000003661413521017116011327 00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software Foundation, Inc. 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. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell command './configure && make && make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the 'README' file for instructions specific to this package. Some packages provide this 'INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The 'configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a 'Makefile' in each directory of the package. It may also create one or more '.h' files containing system-dependent definitions. Finally, it creates a shell script 'config.status' that you can run in the future to recreate the current configuration, and a file 'config.log' containing compiler output (useful mainly for debugging 'configure'). It can also use an optional file (typically called 'config.cache' and enabled with '--cache-file=config.cache' or simply '-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how 'configure' could check whether to do them, and mail diffs or instructions to the address given in the 'README' so they can be considered for the next release. If you are using the cache, and at some point 'config.cache' contains results you don't want to keep, you may remove or edit it. The file 'configure.ac' (or 'configure.in') is used to create 'configure' by a program called 'autoconf'. You need 'configure.ac' if you want to change it or regenerate 'configure' using a newer version of 'autoconf'. The simplest way to compile this package is: 1. 'cd' to the directory containing the package's source code and type './configure' to configure the package for your system. Running 'configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type 'make' to compile the package. 3. Optionally, type 'make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type 'make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the 'make install' phase executed with root privileges. 5. Optionally, type 'make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior 'make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing 'make clean'. To also remove the files that 'configure' created (so you can compile the package for a different kind of computer), type 'make distclean'. There is also a 'make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type 'make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide 'make distcheck', which can by used by developers to test that all other targets like 'make install' and 'make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the 'configure' script does not know about. Run './configure --help' for details on some of the pertinent environment variables. You can give 'configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU 'make'. 'cd' to the directory where you want the object files and executables to go and run the 'configure' script. 'configure' automatically checks for the source code in the directory that 'configure' is in and in '..'. This is known as a "VPATH" build. With a non-GNU 'make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use 'make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple '-arch' options to the compiler but only a single '-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the 'lipo' tool if you have problems. Installation Names ================== By default, 'make install' installs the package's commands under '/usr/local/bin', include files under '/usr/local/include', etc. You can specify an installation prefix other than '/usr/local' by giving 'configure' the option '--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option '--exec-prefix=PREFIX' to 'configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like '--bindir=DIR' to specify different values for particular kinds of files. Run 'configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of '${prefix}', so that specifying just '--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to 'configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the 'make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, 'make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of '${prefix}'. Any directories that were specified during 'configure', but not in terms of '${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the 'DESTDIR' variable. For example, 'make install DESTDIR=/alternate/directory' will prepend '/alternate/directory' before all installation names. The approach of 'DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of '${prefix}' at 'configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving 'configure' the option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'. Some packages pay attention to '--enable-FEATURE' options to 'configure', where FEATURE indicates an optional part of the package. They may also pay attention to '--with-PACKAGE' options, where PACKAGE is something like 'gnu-as' or 'x' (for the X Window System). The 'README' should mention any '--enable-' and '--with-' options that the package recognizes. For packages that use the X Window System, 'configure' can usually find the X include and library files automatically, but if it doesn't, you can use the 'configure' options '--x-includes=DIR' and '--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of 'make' will be. For these packages, running './configure --enable-silent-rules' sets the default to minimal output, which can be overridden with 'make V=1'; while running './configure --disable-silent-rules' sets the default to verbose, which can be overridden with 'make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. HP-UX 'make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as 'configure' are involved. Use GNU 'make' instead. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its '' header file. The option '-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put '/usr/ucb' early in your 'PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in '/usr/bin'. So, if you need '/usr/ucb' in your 'PATH', put it _after_ '/usr/bin'. On Haiku, software installed for all users goes in '/boot/common', not '/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features 'configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, 'configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the '--build=TYPE' option. TYPE can either be a short name for the system type, such as 'sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file 'config.sub' for the possible values of each field. If 'config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option '--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with '--host=TYPE'. Sharing Defaults ================ If you want to set default values for 'configure' scripts to share, you can create a site shell script called 'config.site' that gives default values for variables like 'CC', 'cache_file', and 'prefix'. 'configure' looks for 'PREFIX/share/config.site' if it exists, then 'PREFIX/etc/config.site' if it exists. Or, you can set the 'CONFIG_SITE' environment variable to the location of the site script. A warning: not all 'configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to 'configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the 'configure' command line, using 'VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified 'gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an Autoconf limitation. Until the limitation is lifted, you can use this workaround: CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash 'configure' Invocation ====================== 'configure' recognizes the following options to control how it operates. '--help' '-h' Print a summary of all of the options to 'configure', and exit. '--help=short' '--help=recursive' Print a summary of the options unique to this package's 'configure', and exit. The 'short' variant lists options used only in the top level, while the 'recursive' variant lists options also present in any nested packages. '--version' '-V' Print the version of Autoconf used to generate the 'configure' script, and exit. '--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally 'config.cache'. FILE defaults to '/dev/null' to disable caching. '--config-cache' '-C' Alias for '--cache-file=config.cache'. '--quiet' '--silent' '-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to '/dev/null' (any error messages will still be shown). '--srcdir=DIR' Look for the package's source code in directory DIR. Usually 'configure' can determine that directory automatically. '--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. '--no-create' '-n' Run the configure checks, but stop before creating any output files. 'configure' also accepts some other, not widely useful, options. Run 'configure --help' for more details. gsasl-1.8.1/lib/cram-md5/0000755000000000000000000000000013521017726011760 500000000000000gsasl-1.8.1/lib/cram-md5/digest.c0000644000000000000000000000455413516322076013334 00000000000000/* digest.c --- Generate a CRAM-MD5 hex encoded HMAC-MD5 response string. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include /* Get prototype. */ #include "digest.h" /* Get gc_hmac_md5. */ #include "gc.h" /* * From draft-ietf-sasl-crammd5-02.txt: * * The latter is computed by applying the keyed MD5 algorithm from * [KEYED-MD5] where the key is a shared secret and the digested * text is the challenge (including angle-brackets). The client * MUST NOT interpret or attempt to validate the contents of the * challenge in any way. * * This shared secret is a string known only to the client and * server. The "digest" parameter itself is a 16-octet value which * is sent in hexadecimal format, using lower-case US-ASCII * characters. * ... * digest = 32(DIGIT / %x61-66) * ; A hexadecimal string using only lower-case * ; letters * */ #if CRAM_MD5_DIGEST_LEN != 2*GC_MD5_DIGEST_SIZE #error MD5 length mismatch #endif #define HEXCHAR(c) ((c & 0x0F) > 9 ? 'a' + (c & 0x0F) - 10 : '0' + (c & 0x0F)) void cram_md5_digest (const char *challenge, size_t challengelen, const char *secret, size_t secretlen, char response[CRAM_MD5_DIGEST_LEN]) { char hash[GC_MD5_DIGEST_SIZE]; size_t i; gc_hmac_md5 (secret, secretlen ? secretlen : strlen (secret), challenge, challengelen ? challengelen : strlen (challenge), hash); for (i = 0; i < GC_MD5_DIGEST_SIZE; i++) { *response++ = HEXCHAR (hash[i] >> 4); *response++ = HEXCHAR (hash[i]); } } gsasl-1.8.1/lib/cram-md5/challenge.h0000644000000000000000000000246513516252320013775 00000000000000/* challenge.h --- Generate a CRAM-MD5 challenge string. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef CHALLENGE_H #define CHALLENGE_H #define CRAM_MD5_CHALLENGE_LEN 35 /* Store zero terminated CRAM-MD5 challenge in output buffer. The CHALLENGE buffer must be allocated by the caller, and must have room for CRAM_MD5_CHALLENGE_LEN characters. Returns 0 on success, and -1 on randomness problems. */ extern int cram_md5_challenge (char challenge[CRAM_MD5_CHALLENGE_LEN]); #endif /* CHALLENGE_H */ gsasl-1.8.1/lib/cram-md5/challenge.c0000644000000000000000000000517313516322013013764 00000000000000/* challenge.c --- Generate a CRAM-MD5 challenge string. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include /* Get prototype. */ #include "challenge.h" /* Get gc_nonce. */ #include /* * From draft-ietf-sasl-crammd5-02.txt: * * The data encoded in the challenge contains a presumptively * arbitrary string of random digits, a time-stamp, and the * fully-qualified primary host name of the server. * ... * challenge = "<" 1*DIGIT "." 1*DIGIT "@" hostname ">" * hostname = 1*(ALPHA / DIGIT) *("." / "-" / ALPHA / DIGIT) * * This implementation avoid the information leakage by always using 0 * as the time stamp and a fixed host name. This should be * unproblematic, as any client that try to validate the challenge * string somehow, would violate the same specification: * * The client MUST NOT interpret or attempt to validate the * contents of the challenge in any way. * */ /* The sequence of X in TEMPLATE must be twice as long as NONCELEN. */ #define NONCELEN 10 #define TEMPLATE "" /* The probabilities for each digit are skewed (0-5 is more likely to occur than 6-9), but it is just used as a nonce anyway. */ #define DIGIT(c) (((c) & 0x0F) > 9 ? \ '0' + ((c) & 0x0F) - 10 : \ '0' + ((c) & 0x0F)) int cram_md5_challenge (char challenge[CRAM_MD5_CHALLENGE_LEN]) { char nonce[NONCELEN]; size_t i; int rc; assert (strlen (TEMPLATE) == CRAM_MD5_CHALLENGE_LEN - 1); memcpy (challenge, TEMPLATE, CRAM_MD5_CHALLENGE_LEN); rc = gc_nonce (nonce, sizeof (nonce)); if (rc != GC_OK) return -1; for (i = 0; i < sizeof (nonce); i++) { challenge[1 + i] = DIGIT (nonce[i]); challenge[11 + i] = DIGIT (nonce[i] >> 4); } return 0; } gsasl-1.8.1/lib/cram-md5/Makefile.am0000644000000000000000000000234113516252320013727 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-cram_md5.la libgsasl_cram_md5_la_SOURCES = cram-md5.h mechinfo.c \ challenge.h challenge.c digest.h digest.c if CLIENT libgsasl_cram_md5_la_SOURCES += client.c endif if SERVER libgsasl_cram_md5_la_SOURCES += server.c endif gsasl-1.8.1/lib/cram-md5/server.c0000644000000000000000000000613313516252320013350 00000000000000/* server.c --- SASL CRAM-MD5 server side functions. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "cram-md5.h" /* Get malloc, free. */ #include /* Get memcpy, strdup, strlen. */ #include /* Get cram_md5_challenge. */ #include "challenge.h" /* Get cram_md5_digest. */ #include "digest.h" #define MD5LEN 16 int _gsasl_cram_md5_server_start (Gsasl_session * sctx, void **mech_data) { char *challenge; int rc; challenge = malloc (CRAM_MD5_CHALLENGE_LEN); if (challenge == NULL) return GSASL_MALLOC_ERROR; rc = cram_md5_challenge (challenge); if (rc) return GSASL_CRYPTO_ERROR; *mech_data = challenge; return GSASL_OK; } int _gsasl_cram_md5_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { char *challenge = mech_data; char hash[CRAM_MD5_DIGEST_LEN]; const char *password; char *username = NULL; int res = GSASL_OK; char *normkey; if (input_len == 0) { *output_len = strlen (challenge); *output = strdup (challenge); return GSASL_NEEDS_MORE; } if (input_len <= MD5LEN * 2) return GSASL_MECHANISM_PARSE_ERROR; if (input[input_len - MD5LEN * 2 - 1] != ' ') return GSASL_MECHANISM_PARSE_ERROR; username = calloc (1, input_len - MD5LEN * 2); if (username == NULL) return GSASL_MALLOC_ERROR; memcpy (username, input, input_len - MD5LEN * 2 - 1); gsasl_property_set (sctx, GSASL_AUTHID, username); free (username); password = gsasl_property_get (sctx, GSASL_PASSWORD); if (!password) return GSASL_NO_PASSWORD; /* FIXME: Use SASLprep here? Treat string as storage string? Specification is unclear. */ res = gsasl_saslprep (password, 0, &normkey, NULL); if (res != GSASL_OK) return res; cram_md5_digest (challenge, strlen (challenge), normkey, strlen (normkey), hash); free (normkey); if (memcmp (&input[input_len - MD5LEN * 2], hash, 2 * MD5LEN) == 0) res = GSASL_OK; else res = GSASL_AUTHENTICATION_ERROR; *output_len = 0; *output = NULL; return res; } void _gsasl_cram_md5_server_finish (Gsasl_session * sctx, void *mech_data) { char *challenge = mech_data; free (challenge); } gsasl-1.8.1/lib/cram-md5/digest.h0000644000000000000000000000307113516252320013324 00000000000000/* digest.h --- Generate a CRAM-MD5 hex encoded HMAC-MD5 response string. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef DIGEST_H #define DIGEST_H /* Get size_t. */ #include #define CRAM_MD5_DIGEST_LEN 32 /* Compute hex encoded HMAC-MD5 on the CHALLENGELEN long string CHALLENGE, keyed with SECRET of length SECRETLEN. Use a CHALLENGELEN or SECRETLEN of 0 to indicate that CHALLENGE or SECRET, respectively, is zero terminated. The RESPONSE buffer must be allocated by the caller, and must have room for CRAM_MD5_DIGEST_LEN characters.*/ extern void cram_md5_digest (const char *challenge, size_t challengelen, const char *secret, size_t secretlen, char response[CRAM_MD5_DIGEST_LEN]); #endif /* DIGEST_H */ gsasl-1.8.1/lib/cram-md5/mechinfo.c0000644000000000000000000000270113516252320013627 00000000000000/* mechinfo.c --- Definition of CRAM-MD5 mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "cram-md5.h" Gsasl_mechanism gsasl_cram_md5_mechanism = { GSASL_CRAM_MD5_NAME, { NULL, NULL, NULL, #ifdef USE_CLIENT _gsasl_cram_md5_client_step, #else NULL, #endif NULL, NULL, NULL} , { NULL, NULL, #ifdef USE_SERVER _gsasl_cram_md5_server_start, #else NULL, #endif #ifdef USE_SERVER _gsasl_cram_md5_server_step, #else NULL, #endif #ifdef USE_SERVER _gsasl_cram_md5_server_finish, #else NULL, #endif NULL, NULL} }; gsasl-1.8.1/lib/cram-md5/Makefile.in0000644000000000000000000017270313521017116013750 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = cram-md5 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_cram_md5_la_LIBADD = am__libgsasl_cram_md5_la_SOURCES_DIST = cram-md5.h mechinfo.c \ challenge.h challenge.c digest.h digest.c client.c server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_cram_md5_la_OBJECTS = mechinfo.lo challenge.lo digest.lo \ $(am__objects_1) $(am__objects_2) libgsasl_cram_md5_la_OBJECTS = $(am_libgsasl_cram_md5_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/challenge.Plo ./$(DEPDIR)/client.Plo \ ./$(DEPDIR)/digest.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_cram_md5_la_SOURCES) DIST_SOURCES = $(am__libgsasl_cram_md5_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-cram_md5.la libgsasl_cram_md5_la_SOURCES = cram-md5.h mechinfo.c challenge.h \ challenge.c digest.h digest.c $(am__append_1) $(am__append_2) 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 cram-md5/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu cram-md5/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-cram_md5.la: $(libgsasl_cram_md5_la_OBJECTS) $(libgsasl_cram_md5_la_DEPENDENCIES) $(EXTRA_libgsasl_cram_md5_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_cram_md5_la_OBJECTS) $(libgsasl_cram_md5_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/challenge.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/digest.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/challenge.Plo -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/digest.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/challenge.Plo -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/digest.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/cram-md5/client.c0000644000000000000000000000477613516252320013333 00000000000000/* client.c --- SASL CRAM-MD5 client side functions. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "cram-md5.h" /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include /* Get cram_md5_digest. */ #include "digest.h" int _gsasl_cram_md5_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { char response[CRAM_MD5_DIGEST_LEN]; const char *p; size_t len; char *tmp; char *authid; int rc; if (input_len == 0) { *output_len = 0; *output = NULL; return GSASL_NEEDS_MORE; } p = gsasl_property_get (sctx, GSASL_AUTHID); if (!p) return GSASL_NO_AUTHID; /* XXX Use query strings here? Specification is unclear. */ rc = gsasl_saslprep (p, GSASL_ALLOW_UNASSIGNED, &authid, NULL); if (rc != GSASL_OK) return rc; p = gsasl_property_get (sctx, GSASL_PASSWORD); if (!p) { free (authid); return GSASL_NO_PASSWORD; } /* XXX Use query strings here? Specification is unclear. */ rc = gsasl_saslprep (p, GSASL_ALLOW_UNASSIGNED, &tmp, NULL); if (rc != GSASL_OK) { free (authid); return rc; } cram_md5_digest (input, input_len, tmp, strlen (tmp), response); free (tmp); len = strlen (authid); *output_len = len + strlen (" ") + CRAM_MD5_DIGEST_LEN; *output = malloc (*output_len); if (!*output) { free (authid); return GSASL_MALLOC_ERROR; } memcpy (*output, authid, len); (*output)[len++] = ' '; memcpy (*output + len, response, CRAM_MD5_DIGEST_LEN); free (authid); return GSASL_OK; } gsasl-1.8.1/lib/cram-md5/cram-md5.h0000644000000000000000000000313213516252320013450 00000000000000/* cram-md5.h --- Prototypes for CRAM-MD5 mechanism as defined in RFC 2195. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef CRAM_MD5_H #define CRAM_MD5_H #include #define GSASL_CRAM_MD5_NAME "CRAM-MD5" extern Gsasl_mechanism gsasl_cram_md5_mechanism; extern int _gsasl_cram_md5_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_cram_md5_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_cram_md5_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_cram_md5_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* CRAM_MD5_H */ gsasl-1.8.1/lib/po/0000755000000000000000000000000013521017725010770 500000000000000gsasl-1.8.1/lib/po/hu.gmo0000644000000000000000000003045413521017514012032 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KF"GiRSAX??@K[+RI&OpDR9X:J&B?  'n!/!B! "#4$>D$${4%%F&2'"H'k'''8','>(0Q(}(B)-C)4q)_)g*fn*^*^4+Y+]+_K,^,` -^k-\-['.^.].]@/^/1/&/0V0Xt0B01#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2014-06-27 20:54+0200 Last-Translator: Balázs Úr Language-Team: Hungarian Language: hu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); X-Generator: Lokalize 1.5 A hitelesítés nem sikerült, mert az egyedi TLS CB nem lett megadva.A hitelesítés nem sikerült, mert a névtelen token nem lett megadva.A hitelesítés nem sikerült, mert a hitelesítési azonosító nem lett megadva.A hitelesítés nem sikerült, mert a felhatalmazási azonosító nem lett megadva.A hitelesítés nem sikerült, mert a gép neve nem lett megadva.A hitelesítés nem sikerült, mert a jelkód nem lett megadva.A hitelesítés nem sikerült, mert a jelszó nem lett megadva.A hitelesítés nem sikerült, mert a PIN-kód nem lett megadva.A hitelesítés nem sikerült, mert a szolgáltatás neve nem lett megadva.Base64 kódolási hiba a SASL könyvtárbanA visszahívásnak nem sikerült biztosítania az OPENID20 átirányítási URL-t.A visszahívásnak nem sikerült biztosítania a SAML20 IdP azonosítót.A visszahívásnak nem sikerült biztosítania a SAML20 átirányítási URL-t.Nem sikerült lekérni a belső könyvtárleírót (könyvtár hiba)A kliens oldali funkcionalitás nem érhető el a könyvtárban (alkalmazás hiba)Nem sikerült bezárni a SASL könyvtárban lévő fájltNem sikerült megnyitni a SASL könyvtárban lévő fájltNem sikerült előkészíteni a nemzetközivé tett (nem ASCII) szöveget.Hiba a felhasználó hitelesítésekorNem sikerült végrehajtani a Unicode normalizálást a szövegen.GSSAPI hiba a hitelesítési adatok beszerzése közben a SASL könyvtárban lévő gss_acquire_cred() függvényben. Ez leginkább annak köszönhető, hogy nem rendelkezik a megfelelő Kerberos kulccsal, amely a kiszolgálón a /etc/krb5.keytab fájlban érhető el.GSSAPI hiba történt a klienst jelölő megjelenítési név létrehozása közben a SASL könyvtárban lévő gss_display_name() függvényben. Ez valószínűleg azért történt, mert a kliens rossz adatokat adott meg.GSSAPI hiba a token kibontása közben.GSSAPI hiba a token egységbe zárása közben.GSSAPI hiba az OID lekérése közben a SASL mechanizmus nevéhez.GSSAPI hiba történt a kliensben a biztonsági környezet egyeztetése alatt a SASL könyvtárban lévő gss_init_sec_context() függvényben. Ez leginkább a nem elegendő hitelesítési adatoknak vagy rosszindulatú kölcsönhatásoknak köszönhető.GSSAPI hiba történt a kiszolgálóban a biztonsági környezet egyeztetése alatt a SASL könyvtárban lévő gss_accept_sec_context() függvényben. Ez leginkább a nem elegendő hitelesítési adatoknak vagy rosszindulatú kölcsönhatásoknak köszönhető.GSSAPI hiba az OID beállítás elengedése közben.GSSAPI hiba az OID tesztelése közben az OID beállításban.GSSAPI hiba történt az adatok visszafejtése vagy dekódolása közben a SASL könyvtárban lévő gss_unwrap() függvényben. Ez leginkább sérült adatoknak köszönhető.GSSAPI hiba történt az adatok titkosítása vagy kódolása közben a SASL könyvtárban lévő gss_wrap() függvényben.A GSSAPI könyvtár nem tudta felszabadítani a memóriát a SASL könyvtárban lévő gss_release_buffer() függvényben. Ez egy komoly belső hiba.A GSSAPI könyvtár nem tudott megérteni egy partner nevet a SASL könyvtárban lévő gss_import_name() függvényben. Ez leginkább az érvénytelen szolgáltatásnak és/vagy gépneveknek köszönhető.Integritási hiba az alkalmazás hasznos terhébenKerberos V5 előkészítési hiba.Belső Kerberos V5 hiba.Libgsasl sikerIsmeretlen libgsasl hibaAlacsony szintű titkosítási hiba a SASL könyvtárbanMemóriafoglalási hiba a SASL könyvtárbanNincs hívó által megadott visszahívás (alkalmazás hiba).Több tartomány nem érhető el (nem végzetes)Másik entitás kért integritási vagy titoktartási védelmet a GSSAPI mechanizmusban, de ez jelenleg nincs megvalósítva.A SASL függvénynek nagyobb pufferre van szüksége (belső hiba)A SASL mechanizmust túl sokszor hívták megA SASL mechanizmus nem tudta feldolgozni a bemenetetA SASL mechanizmus gsasl_client_callback_anonymous() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_client_callback_authentication_id() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_client_callback_authorization_id() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_client_callback_passcode() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_client_callback_password() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_client_callback_pin() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_client_callback_service() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_anonymous() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_cram_md5() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_digest_md5() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_external() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_gssapi() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_realm() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_retrieve() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_securid() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_service() visszahívást igényel (alkalmazás hiba)A SASL mechanizmus gsasl_server_callback_validate() visszahívást igényel (alkalmazás hiba)A SASL mechanizmusnak több adatra van szükségeA SecurID további jelkódot igényel.A SecurID új PIN-t igényel.A kiszolgáló oldali funkcionalitás nem érhető el a könyvtárban (alkalmazás hiba)A megadott könyvtárleíró érvénytelen volt (alkalmazás hiba)Ismeretlen SASL mechanizmusgsasl-1.8.1/lib/po/es.po0000644000000000000000000003270013521017514011655 00000000000000# Spanish translation of libgsasl 1.7.4 # Copyright (C) 2018 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Francisco Javier Serrador , 2018. msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2018-05-01 10:45+0200\n" "Last-Translator: Francisco Javier Serrador \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 2.0.4\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl correcto" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Mecanismo SASL requiere más datos" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Mecanismo SASL desconocido" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mecanismo SASL llamado demasiadas veces" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Función SASL requiere buffer mayor (error interno)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "No pudo abrir fichero en biblioteca SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "No pudo cerrar fichero en biblioteca SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Reserva de memoria errónea en biblioteca SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Error codificando Base 64 en biblioteca SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Error criptográfico de bajo nivel en biblioteca SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retrollamada gsasl_client_callback_anonymous() " "(error de aplicación)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_client_callback_password() " "(error de aplicación)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_client_callback_passcode() " "(error de aplicación)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_client_callback_pin() (error de " "aplicación)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Mecanismo SASL requiere retrollamada " "gsasl_client_callback_authorization_id() (error de aplicación)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Mecanismo SASL requiere retrollamada " "gsasl_client_callback_autentication_id() (error de aplicación)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_client_callback_service() (error " "de aplicación)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_validate() " "(error de aplicación)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_cram_md5() " "(error de aplicación)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_digest_md5() " "(error de aplicación)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_external() " "(error de aplicación)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_anonymous() " "(error de aplicación)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_realm() (error " "de aplicación)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_securid() " "(error de aplicación)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_service() (error " "de aplicación)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_gssapi() (error " "de aplicación)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Mecanismo SASL requiere retro-llamada gsasl_server_callback_retrieve() " "(error de aplicación)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Falló para preformar Normalización Unicode en cadena." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "No pudo preparar cadena internacionalizada (no ASCII)." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Mecanismo SASL no podría interpretar entrada" #: src/error.c:116 msgid "Error authenticating user" msgstr "Error autenticando usuario" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "No puede obtener manipulador bibliotecario (error biblioteca)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integridad errónea en aplicación de carga" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Sin más reinos disponibles (no-fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funcionalidad cliente lateral no disponible dentro de biblioteca (error " "aplicativo)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funcionalidad servidor lateral no disponible dentro de biblioteca (error " "aplicativo)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Biblioteca GSSAPI no pudo desreservar memoria en gss_release_buffer() de la " "biblioteca SASL. Éste es un error interno serio." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Biblioteca GSSAPI no pudo comprender un nompre interconecato en " "gss_import_name() en bilioteca SASL. Esto es más debido a un servicio " "incorrecto y/o nombre de anfitrión." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI erróneo en cliente mientras negociando contexto garantizado en " "gss_init_sec_context() dentro de biblioteca SASL. Esto es más similar " "debido a insuficientes credenciales o interacciones maliciosas." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI erróneo en servidor mientras negociando contexto garantizado en " "gss_accept_sec_context() dentro de biblioteca SASL. Esto es más similar " "debido a insuficientes credenciales o interacciones maliciosas." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI erróneo mentras descifra o cifra datos en gss_unwrap() dentro de " "biblioteca SASL. Esto es más similar a corrupción de datos." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI erróneo mientras cifraba o codificaba datos en gss_wrap() dentro de " "biblioteca SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI erróneo adquiriendo credenciales en gss_acquire_cred() dentro de " "biblioteca SASL. Esto es más parecido a no tener disponible la llave " "apropiada de Kerberos en /etc/krb5.keytab en el servidor." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI erróneo creando un nombre de pantalla denotando el cliente dentro del " "in gss_display_name() en la biblioteca SASL. Esto es probablemente porque " "el cliente suministró datos equivocados." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Otra entidad integradamente o confiadamente resolicita protección en " "mecanismo GSSAPI pero esto está actualmente no implementado." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Inicialización de Kerberos V5 fallada." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Error interno de Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID requiere código contraseña adicional." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID requiere nuevo pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "" "La biblioteca manipuladora proporcionada fue inválida (error de aplicación)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Sin retrollamada especificada por llamador (arror aplicativo)" #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Autenticación fallada porque el nombre del token anónomo no era " "proporcionado." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Autenticación fallada porque la identidad de autenticación no era " "proporcionado." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Autenticación fallada porque la identidad autenticada no era proporcionado." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Autenticación fallada porque la contraseña no era proporcionado." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Autenticación fallada porque el código de paso no era proporcionado." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Autenticación fallada porque el código chincheta no era proporcionado." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "" "Autenticación fallada porque el nombre del servicio no era proporcionado." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "" "Autenticación fallada porque el nombre del hospedante no era proporcionado." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI erróneo encapsulando token." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI erróneo desencapsulando token." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI erróneo obteniendo OID para nombre de mecanismo SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI erróneo probando para OID en conjunto OID." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI erróneo liberando conjunto OID." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Autenticación fallada porque un tls-único CB no fue proporcionada." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Retrollamada fallada para proporcionar identificador IdP SAML20." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Retrollamada fallada al proporcionar redirección URL SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Retrollamada fallada al proporcionar redirección URL OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Error desconocido en libgsasl" gsasl-1.8.1/lib/po/zh_CN.gmo0000644000000000000000000002447013521017515012421 00000000000000B,Y<?CK%Jq=<<7<t@$11I/{2F$% #J 7n  2 A  | MD v &#&.'U4}$y2Q$$S["Z~RR,MQSRsTRPnORQbQRY"xF;5L/- -9-g**'*->&l503,./[63Hv 4UYq8 :!Y!x!!!#!#!2",5"^b"1""#N0#V#U#M,$Mz$H$L%N^%M%O%MK&K&J&M0'L~'L'M(f(((2(,("),2&3#;7 (-/:0B')"+1?489 >.6% 5@* $ =A!<Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2013-03-08 12:59+0800 Last-Translator: Ji ZhengYu Language-Team: Chinese (simplified) Language: zh_CN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. 验证失败,因为未提供 tls-unique CB。验证失败,因为未提供匿名标记。验证失败,因为未提供身份验证。验证失败,因为未提供身份授权。验证失败,因为未提供主机名。验证失败,因为未提供 passcode。验证失败,因为未提供密码。验证失败,因为未提供 pin code。验证失败,因为未提供服务名称。SASL 库中出现 Base 64 编码错误回调失败,无法提供 OPENID20 重定向 URL。回调失败,无法提供 SAML20 IdP 编号。回调失败,无法提供 SAML20 重定向 URL。无法获取内存库处理函数(库错误)客户端功能在库中不可用(程序错误)SASL 库无法关闭文件SASL 库无法打开文件无法生成国际化的(非 ACSII 码的)字符串。验证用户时发生错误无法对字符串进行 Unicode 标准化操作。进行 SASL 库中 gss_acquire_cred() 函数中的请求证书操作时发生了 GSSAPI 错误。这极有可能是由于在服务器的 /etc/krb5.keytab 中没有合适的 Kerberos 密钥可用造成的。进行 SASL 库中 gss_display_name() 函数中的创建表示客户端的显示名时发生了GSSAPI 错误。这可能是因为客户端提供了错误的数据。当与 SASL 库中 gss_init_sec_context() 函数中的文本进行安全协商时客户端发生了GSSAPI 错误。这极有可能是由不受信任的证书或恶意会话造成的。当与 SASL 库中 gss_accept_sec_context() 函数中的文本进行安全协商时服务器端发生了GSSAPI 错误。这极有可能是由不受信任的证书或恶意会话造成的。GSSAPI 错误,释放 OID位。当解密或解码 SASL 库中 gss_unwrap() 函数中的数据时发生了 GSSAPI 错误。这极有可能是由数据损坏造成的。当加密或编码 SASL 库中 gss_wrap() 函数中的数据时发生了 GSSAPI 错误。GSSAPI 库无法回收 SASL 库中 gss_release_buffer() 函数所占的内存。这是个严重的内部错误。GSSAPI 库无法解析 SASL 库中 gss_import_name() 函数中的端点名称。这极有可能是由不正确的服务或主机名造成的。程序中出现完整性错误Kerberos V5 初始化失败。Kerberos V5 内部错误。Libgsasl 成功Libgsasl 未知错误SASL 库中出现低级加密错误SASL 库中出现内存分配错误调用函数未指定回调机制(程序错误)。不可获得更多的领域(非严重错误)其它信息要求在 GSSAP 中提供完整性或私密性保护机制,但目前未实现。SASL 功能需要更大的缓冲区(内部错误)调用 SASL 机制次数太多SASL 机制无法解析输入SASL 机制需要 gsasl_client_callback_anonymous() 函数回调(程序错误)SASL 机制需要 gsasl_client_callback_authentication_id() 函数回调(程序错误)SASL 机制需要 gsasl_client_callback_authorization_id() 函数回调(程序错误)SASL 机制需要 gsasl_client_callback_passcode() 函数回调(程序错误)SASL 机制需要 gsasl_client_callback_password() 函数回调(程序错误)SASL 机制需要 gsasl_client_callback_pin() 函数回调(程序错误)SASL 机制需要 gsasl_client_callback_service() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_anonymous() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_cram_md5() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_digest_md5() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_external() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_gssapi() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_realm() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_retrieve() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_securid() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_service() 函数回调(程序错误)SASL 机制需要 gsasl_server_callback_validate() 函数回调(程序错误)SASL 机制需要更多数据SecurID 需要附加密码。SecurID 需要新的 pin 值。服务器端功能在库中不可用(程序错误)提供的库操作函数无效(程序错误)未知的 SASL 机制gsasl-1.8.1/lib/po/en@quot.gmo0000644000000000000000000002573513521017514013037 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4GK?CKJc=<<)<f@$1 1;/m2F$#<7`2!3!U1w[ !(/!|X!M!v#""&0##W#{###&#'#4$$C$yh$2$$%$:%S_%[%Z&Rj&R&M'Q^'S'R(TW(R(P(OP)R)Q)QE*R**" +,+FC+;++#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.8.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2019-08-02 13:30+0200 Last-Translator: Automatically generated Language-Team: none Language: en@quot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismgsasl-1.8.1/lib/po/ga.po0000644000000000000000000003145413521017514011642 00000000000000# Irish translations for libgsasl. # Copyright (C) 2005 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Kevin Patrick Scannell , 2005, 2007, 2009. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2009-03-25 20:15-0500\n" "Last-Translator: Kevin Scannell \n" "Language-Team: Irish \n" "Language: ga\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Rath ar libgsasl" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Teastaonn an ssra SASL tuilleadh sonra" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Ssra SASL anaithnid" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Glaodh an ssra SASL an iomarca uaire" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Teastaonn feidhm SASL maoln nos m (earrid inmhenach)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Norbh fhidir comhad a oscailt sa leabharlann SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Norbh fhidir comhad a dhnadh sa leabharlann SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Earrid agus cuimhne riar sa leabharlann SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Earrid ionchdaithe (bonn 64) sa leabharlann SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Earrid chriptithe seal-leibhil sa leabharlann SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_client_callback_anonymous() (earrid " "fheidhmchlir)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_client_callback_password() (earrid " "fheidhmchlir)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_client_callback_passcode() (earrid " "fheidhmchlir)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_client_callback_pin() (earrid " "fheidhmchlir)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_client_callback_authorization_id() " "(earrid fheidhmchlir)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_client_callback_authentication_id() " "(earrid fheidhmchlir)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_client_callback_service() (earrid " "fheidhmchlir)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_validate() (earrid " "fheidhmchlir)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_cram_md5() (earrid " "fheidhmchlir)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_digest_md5() (earrid " "fheidhmchlir)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_external() (earrid " "fheidhmchlir)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_anonymous() (earrid " "fheidhmchlir)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_realm() (earrid " "fheidhmchlir)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_securid() (earrid " "fheidhmchlir)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_service() (earrid " "fheidhmchlir)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_gssapi() (earrid " "fheidhmchlir)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Teastaonn an ssra SASL feidhm gsasl_server_callback_retrieve() (earrid " "fheidhmchlir)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Theip ar normal Unicode ar teaghrn." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Norbh fhidir teaghrn idirnisintaithe (nach ASCII) a ullmh." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Norbh fhidir leis an ssra SASL an t-ionchur a pharsil" #: src/error.c:116 msgid "Error authenticating user" msgstr "Earrid agus sideoir fhordheimhni" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "" "N fidir lorgn leabharlainne inmhenach a fhil (earrid leabharlainne)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Earrid sline sa phlasta feidhmchlir" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Nl tuilleadh rochta ar fil (n marfach)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Nl feidhmilacht den chliant le fil sa leabharlann (earrid fheidhmchlir)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Nl feidhmilacht den fhreastala le fil sa leabharlann (earrid " "fheidhmchlir)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Norbh fhidir leis an leabharlann GSSAPI cuimhne a saoradh i " "gss_release_buffer() sa leabharlann SASL. Is earrid inmhenach trom seo." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Nor thuig leabharlann GSSAPI ainm comhghleaca i gss_import_name() sa " "leabharlann SASL. Is dcha go bhfuil s seo mar thoradh ar ainm mhcheart " "ar an seirbhs n ar an stromhaire." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Earrid GSSAPI sa chliant agus comhthacs slndla socr i " "gss_init_sec_context() sa leabharlann SASL. Is dcha go bhfuil s seo mar " "thoradh ar dintiir easpacha n idirghnmh mailseacha." #: src/error.c:140 #, fuzzy msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Earrid GSSAPI san fhreastala agus comhthacs slndla socr i " "gss_init_sec_context() sa leabharlann SASL. Is dcha go bhfuil s seo mar " "thoradh ar dintiir easpacha n idirghnmh mailseacha." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Earrid GSSAPI agus sonra ndchripti n ndchd i gss_unwrap() sa " "leabharlann SASL. Is dcha go bhfuil s seo mar thoradh ar sonra " "truaillithe." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Earrid GSSAPI agus sonra gcripti n n-ionchd i gss_wrap() sa " "leabharlann SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Earrid GSSAPI agus dintiir bhfil i gss_acquire_cred() sa leabharlann " "SASL. Is dcha go bhfuil s seo mar thoradh ar easpa eochair Kerberos go " "cu i etc/krb5.keytab ar an fhreastala." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Earrid GSSAPI agus ainm taispena don chliant chruth i " "gss_display_name() sa leabharlann SASL. Is dcha go bhfuil s seo mar " "thoradh ar sonra truaillithe n chliant." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "D'iarr aonn eile cosaint sline n rndachta sa shsra GSSAPI ach nl an " "gn seo ar fil faoi lthair." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Theip ar ths Kerberos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Earrid inmhenach Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "Cd faire sa bhreis de dhth ar SecurID." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "UAP nua de dhth ar SecurID." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "" "Is neamhbhail an lorgn leabharlainne a bh tugtha (earrid fheidhmchlir)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Nor thug an glaoiteoir feidhm chu (earrid fheidhmchlir)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Theip ar fhordheimhni gan ainm s rud nr socraodh ceadchomhartha gan " "ainm." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Theip ar fhordheimhni s rud nr socraodh aitheantas fordheimhnithe." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Theip ar fhordheimhni s rud nr socraodh an t-aitheantas draithe." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Theip ar fhordheimhni s rud nr tugadh an focal faire." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Theip ar fhordheimhni s rud nr tugadh an paschd." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Theip ar fhordheimhni s rud nr tugadh an UAP." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Theip ar fhordheimhni s rud nr tugadh an t-ainm seirbhse." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Theip ar fhordheimhni s rud nr tugadh an t-stainm." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "" #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "" #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "" #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "" #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "" #: src/error.c:202 #, fuzzy msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Theip ar fhordheimhni s rud nr tugadh an t-stainm." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "" #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Libgsasl: earrid anaithnid" gsasl-1.8.1/lib/po/de.po0000644000000000000000000003303013521017513011632 00000000000000# German translation of libgsasl. # Copyright (C) 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Arun Persaud , 2012 msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-06-08 21:53-0700\n" "Last-Translator: Arun Persaud \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl erfolgreich" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL-Methode benötigt mehr Daten" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Unbekannte SASL-Methode" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "SASL-Methode wurde zu oft aufgerufen" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL-Funktion benötigt einen größeren Puffer (interner Fehler)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Datei in SASL-Bibliothek konnte nicht geöffnet werden" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Datei in SASL-Bibliothek konnte nicht geschlossen werden" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Speicher konnte nicht bereitgestellt werden in SASL-Bibliothek" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base-64 Kodierungsfehler in SASL-Bibliothek" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Kryptographischer systemnaher Fehler in SASL-Bibliothek" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_client_callback_anonymous() Rückruf (Fehler in " "Andwendung)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_client_callback_password() Rückruf (Fehler in " "Anwendung)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_client_callback_passcode() Rückruf (Fehler in " "Anwendung)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "SASL-Methode benötigt gsasl_client_callback_pin() Rückruf (Fehler in " "Anwendung)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL-Methode benötigt gsasl_client_callback_service() Rückruf (Fehler in " "Anwendung)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL-Methode benötigt gsasl_client_callback_authentication_id() Rückruf " "(Fehler in Anwendung)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_client_callback_service() Rückruf (Fehler in " "Anwendung)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_validate() Rückruf (Fehler in " "Anwendung)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_cram_md5() Rückruf (Fehler in " "Anwendung)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_digest_md5() Rückruf (Fehler in " "Anwendung)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_external() Rückruf (Fehler in " "Anwendung)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_anonymous() Rückruf (Fehler in " "Anwendung)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_realm() Rückruf (Fehler in " "Anwendung)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_securid() Rückruf (Fehler in " "Anwendung)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_service() Rückruf (Fehler in " "Anwendung)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_gssapi() Rückruf (Fehler in " "Anwendung)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "SASL-Methode benötigt gsasl_server_callback_retrive() Rückruf (Fehler in " "Anwendung)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Unicode-Normalisierung einer Zeichenkette fehlgeschlagen" #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "" "Konnte internationalisierte Zeichenkette (nicht-ASCII) nicht vorbereiten" #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL-Methode konnte die Eingabe nicht parsen" #: src/error.c:116 msgid "Error authenticating user" msgstr "Fehler beim Authentisieren des Benutzers" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "" "Konnte Handle der internen Bibliothek nicht erhalten (Bibliothekfehler)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integritätsfehler in der Nutzlast der Anwendung" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Keine Gebiete (realms) mehr verfügbar (nicht fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funktionalität seitens des Clients nicht verfügbar in der Bibliothek " "(Andwendungsfehler)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funktionalität seitens des Servers nicht verfügbar in der Bibliothek " "(Anwendungsfehler)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI-Bibliothek konnte Speicher in gss_release_buffer() in SASL-Bibliothek " "nicht freigeben. Dies ist ein gravierender interner Fehler." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI-Bibliothek konnte einen Peernamen in gss_import_name() in der SASL-" "Bibliothek nicht verstehen. Dies ist höchstwahrscheinlich bedingt durch " "einen inkorrekten Service- und/oder Hostnamen." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-Fehler im Client während der Verhandlung des Sicherheitskontexts in " "gss_init_sec_context() in der SASL-Bibliothek. Dies ist höchstwahrscheinlich " "bedingt durch unzureichende Zeugnisse oder bösartige Interaktionen." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-Fehler im Server während der Verhandlung des Sicherheitskontexts in " "gss_accept_sec_context() in der SASL-Bibliothek. Dies ist " "höchstwahrscheinlich bedingt durch unzureichende Zeugnisse oder bösartige " "Interaktionen." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI-Fehler während der Entschlüsselung von Daten in gss_unwrap() in der " "SASL-Bibliothek. Dies ist höchstwahrscheinlich bedingt durch Verfälschung " "der Daten." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI-Fehler beim Verschlüsseln von Daten in gss_wrap() in der SASL-" "Bibliothek." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI-Fehler beim Erwerben der Zeugnisse in gss_acquire_cred() in der SASL-" "Bibliothek. Dies ist höchstwahrscheinlich bedingt durch einen inkorrekten " "Kerberos-Schlüssel in /etc/krb5.keytab auf dem Server." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI-Fehler beim Erstellen einen Bildschirmnamens zum Kennzeichnen des " "Clients in gss_display_name() in der SASL-Bibliothek. Dies ist " "wahrscheinlich bedingt durch inkorrete Daten, die vom Client bereitgestellt " "wurden. " #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Eine andere Entität beantragte Integritäts- oder Geheimhaltungssicherung in " "der GSSAPI-Methode, aber dies wird gegenwärtig nicht unterstützt." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Initialisierungsfehler von Kerbereos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Interner Fehler von Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID benötigt einen weiteren Passcode. " #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID benötigt einen neuen Pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "" "Der bereitgestellte Bibliotheken-Handle ist ungültigt (Anwendungsfehler)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Keine Rückrufsfunktions vom Aufruf angeben (Anwendungsfehler)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Authentifizierung fehlgeschlagen, da kein anonymes Token bereitgestellt " "wurde." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Authentifizierung fehlgeschlagen, da keine Identität zum Authentifizieren " "angegeben wurde." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Authentifizierung fehlgeschlagen, da keine Identität zur Autorisierung " "angegeben wurde." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Authentifizierung fehlgeschlagen, da kein Passwort angegeben wurde." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Authentifizierung fehlgeschlagen, da kein Passkode angegeben wurde." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Authentifizierung fehlgeschlagen, da kein Pin angegeben wurde." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "" "Authentifizierung fehlgeschlagen, da kein Service-Name angegeben wurde." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Authentifizierung fehlgeschlagen, da kein Hostname angegeben wurde." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI-Fehler beim Verkapseln des Tokens." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI-Fehler beim Entkapseln des Tokens." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI-Fehler beim Erhalten des OID für den Namen der SASL-Methode." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI-Fehler beim Prüfen des OID in der OID-Menge." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI-Fehler beim Freigeben der OID-Menge." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "" "Autentifizierung fehlgeschlagen, da kein tls-unique CB bereitgestellt wurde." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Rückruf verfehlte einen SAML20 IdP-Kennung bereitzustellen." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Rückruf verfehlte eine SMAL20-Weiterleitungs-URL bereitzustellen." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Rückruf verfehlte eine OPENID20-Weiterleitungs-URL bereitzustellen." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Libgsasl unbekannter Fehler" gsasl-1.8.1/lib/po/zh_CN.po0000644000000000000000000003044413521017514012252 00000000000000# Chinese Simplified translation about libgsasl. # Copyright (C) 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Ji ZhengYu , 2008, 2009, 2010, 2011, 2012, 2013 # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2013-03-08 12:59+0800\n" "Last-Translator: Ji ZhengYu \n" "Language-Team: Chinese (simplified) \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl 成功" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL 机制需要更多数据" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "未知的 SASL 机制" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "调用 SASL 机制次数太多" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL 功能需要更大的缓冲区(内部错误)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "SASL 库无法打开文件" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "SASL 库无法关闭文件" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "SASL 库中出现内存分配错误" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "SASL 库中出现 Base 64 编码错误" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "SASL 库中出现低级加密错误" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "SASL 机制需要 gsasl_client_callback_anonymous() 函数回调(程序错误)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "SASL 机制需要 gsasl_client_callback_password() 函数回调(程序错误)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "SASL 机制需要 gsasl_client_callback_passcode() 函数回调(程序错误)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "SASL 机制需要 gsasl_client_callback_pin() 函数回调(程序错误)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL 机制需要 gsasl_client_callback_authorization_id() 函数回调(程序错误)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL 机制需要 gsasl_client_callback_authentication_id() 函数回调(程序错误)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "SASL 机制需要 gsasl_client_callback_service() 函数回调(程序错误)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_validate() 函数回调(程序错误)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_cram_md5() 函数回调(程序错误)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "SASL 机制需要 gsasl_server_callback_digest_md5() 函数回调(程序错误)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_external() 函数回调(程序错误)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_anonymous() 函数回调(程序错误)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_realm() 函数回调(程序错误)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_securid() 函数回调(程序错误)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_service() 函数回调(程序错误)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_gssapi() 函数回调(程序错误)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "SASL 机制需要 gsasl_server_callback_retrieve() 函数回调(程序错误)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "无法对字符串进行 Unicode 标准化操作。" #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "无法生成国际化的(非 ACSII 码的)字符串。" #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL 机制无法解析输入" #: src/error.c:116 msgid "Error authenticating user" msgstr "验证用户时发生错误" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "无法获取内存库处理函数(库错误)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "程序中出现完整性错误" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "不可获得更多的领域(非严重错误)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "客户端功能在库中不可用(程序错误)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "服务器端功能在库中不可用(程序错误)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI 库无法回收 SASL 库中 gss_release_buffer() 函数所占的内存。这是个严重的" "内部错误。" #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI 库无法解析 SASL 库中 gss_import_name() 函数中的端点名称。这极有可能是" "由不正确的服务或主机名造成的。" #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "当与 SASL 库中 gss_init_sec_context() 函数中的文本进行安全协商时客户端发生了" "GSSAPI 错误。这极有可能是由不受信任的证书或恶意会话造成的。" #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "当与 SASL 库中 gss_accept_sec_context() 函数中的文本进行安全协商时服务器端发" "生了GSSAPI 错误。这极有可能是由不受信任的证书或恶意会话造成的。" #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "当解密或解码 SASL 库中 gss_unwrap() 函数中的数据时发生了 GSSAPI 错误。这极有" "可能是由数据损坏造成的。" #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "当加密或编码 SASL 库中 gss_wrap() 函数中的数据时发生了 GSSAPI 错误。" #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "进行 SASL 库中 gss_acquire_cred() 函数中的请求证书操作时发生了 GSSAPI 错误。" "这极有可能是由于在服务器的 /etc/krb5.keytab 中没有合适的 Kerberos 密钥可用造" "成的。" #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "进行 SASL 库中 gss_display_name() 函数中的创建表示客户端的显示名时发生了" "GSSAPI 错误。这可能是因为客户端提供了错误的数据。" #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "其它信息要求在 GSSAP 中提供完整性或私密性保护机制,但目前未实现。" #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5 初始化失败。" #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Kerberos V5 内部错误。" #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID 需要附加密码。" #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID 需要新的 pin 值。" #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "提供的库操作函数无效(程序错误)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "调用函数未指定回调机制(程序错误)。" #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "验证失败,因为未提供匿名标记。" #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "验证失败,因为未提供身份验证。" #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "验证失败,因为未提供身份授权。" #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "验证失败,因为未提供密码。" #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "验证失败,因为未提供 passcode。" #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "验证失败,因为未提供 pin code。" #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "验证失败,因为未提供服务名称。" #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "验证失败,因为未提供主机名。" #: src/error.c:192 #, fuzzy msgid "GSSAPI error encapsulating token." msgstr "GSSAPI 错误,封包标识。" #: src/error.c:194 #, fuzzy msgid "GSSAPI error decapsulating token." msgstr "GSSAPI 错误,解包标识。" #: src/error.c:196 #, fuzzy msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI 错误,获取 SASL 机制的 OID(对象标识)。" #: src/error.c:198 #, fuzzy msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI 错误,测试 OID位的 OID(对象标识)。" #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI 错误,释放 OID位。" #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "验证失败,因为未提供 tls-unique CB。" #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "回调失败,无法提供 SAML20 IdP 编号。" #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "回调失败,无法提供 SAML20 重定向 URL。" #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "回调失败,无法提供 OPENID20 重定向 URL。" #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Libgsasl 未知错误" gsasl-1.8.1/lib/po/it.gmo0000644000000000000000000003015013521017514012023 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4K^JQHWK=PEG Nh.DB+BnLS0R.B&3P# - ,!D4!y!E"*#5>#t#P#K$$2%-%%&&75&1m&E&/&'E'%'.(h7(p(o)g)g)bQ*f*h+g+i+gV,e,d$-g-f-fX.g.*'/7R/#/S/I0L0#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 16:23+0200 Last-Translator: Sergio Zanchetta Language-Team: Italian Language: it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n!=1); Autenticazione non riuscita poiché non è stata fornita un'associazione di canale tls-unique.Autenticazione non riuscita poiché non è stato fornito il token anonimo.Autenticazione non riuscita poiché non ne è stata fornita l'identità.Autenticazione non riuscita poiché non è stata fornita l'identità di autorizzazione.Autenticazione non riuscita poiché non è stato fornito il nome dell'host.Autenticazione non riuscita perché non è stato fornito il codice di sicurezza.Autenticazione non riuscita poiché non è stata fornita la password.Autenticazione non riuscita poiché non è stato fornito il codice pin.Autenticazione non riuscita poiché non è stato fornito il nome del servizio.Errore di codifica base 64 nella libreria SASLIl callback non è riuscito a fornire l'URL di redirezione OPENID20.Il callback non è riuscito a fornire l'identificatore Idp SAML20.Il callback non è riuscito a fornire l'URL di redirezione SAML20.Impossibile ottenere l'handle della libreria interna (errore della libreria)Funzionalità lato client non disponibile nella libreria (errore nell'applicazione)Impossibile chiudere il file nella libreria SASLImpossibile aprire il file nella libreria SASLImpossibile preparare una stringa (non-ASCII) internazionalizzata.Errore nell'autenticazione dell'utenteNormalizzazione Unicode sulla stringa non riuscita.Errore GSSAPI nell'acquisizione di credenziali in gss_acquire_cred() nella libreria SASL. Ciò è verosimilmente dovuto all'assenza di una appropriata chiave Kerberos disponibile in /etc/krb5.keytab nel server.Errore GSSAPI nella creazione di un nome visualizzato indicante il client in gss_display_name() nella libreria SASL. Ciò è probabilmente causato da dati errati forniti dal client.Errore GSSAPI nella decapsulazione del token.Errore GSSAPI nell'incapsulazione del token.Errore GSSAPI nel recupero dell'OID per il nome del meccanismo SASL.Errore GSSAPI nel client durante la negoziazione del contesto di sicurezza in gss_init_sec_context() nella libreria SASL. Ciò è verosimilmente dovuto a credenziali insufficienti o interazioni malevole.Errore GSSAPI nel server durante la negoziazione del contesto di sicurezza in gss_accept_sec_context() nella libreria SASL. Ciò è verosimilmente dovuto a credenziali insufficienti o interazioni malevole.Errore GSSAPI nel rilascio del set di OID.Errore GSSAPI nel test per l'OID all'interno del set.Errore GSSAPI nel decifrare o decodificare i dati in gss_unwrap() nella libreria SASL. Ciò è verosimilmente dovuto a dati corrotti.Errore GSSAPI nel cifrare o codificare i dati in gss_wrap() nella libreria SASL.La libreria GSSAPI non ha potuto deallocare memoria in gss_release_buffer() nella libreria SASL. Questo è un grave errore interno.La libreria GSSAPI non è riuscita ad interpretare un nome peer in gss_import_name() nella libreria SASL. Ciò è verosimilmente dovuto a un servizio e/o nomi host non corretti.Errore di integrità nel payload dell'applicazioneInizializzazione di Kerberos V5 non riuscita.Errore interno di Kerberos V5.Successo in libgsaslErrore sconosciuto di libgsaslErrore di cifratura a basso livello nella libreria SASLErrore di allocazione memoria nella libreria SASLNessun callback specificato dal chiamante (errore dell'applicazione).Non ci sono più reami disponibili (non fatale)Un'altra entità ha richiesto protezione di integrità o riservatezza nel meccanismo GSSAPI ma questa non è attualmente implementata.La funzione SASL ha bisogno di un buffer più grande (errore interno)Meccanismo SASL chiamato troppe volteIl meccanismo SASL non può analizzare l'inputIl meccanismo SASL necessita di un callback gsasl_client_callback_anonymous() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_client_callback_authentication_id() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_client_callback_authorization_id() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_client_callback_passcode() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_client_callback_password() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_client_callback_pin() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_client_callback_service() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_anonymous() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_cram_md5() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_digest_md5() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_external() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_gssapi() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_realm() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_retrieve() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_securid() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_service() (errore dell'applicazione)Il meccanismo SASL necessita di un callback gsasl_server_callback_validate() (errore dell'applicazione)Il meccanismo SASL ha bisogno di più datiSecurID necessita di un codice di sicurezza aggiuntivo.SecurID ha bisogno di un nuovo pin.Funzionalità lato server non disponibile nella libreria (errore nell'applicazione)L'handle della libreria fornito non era valido (errore dell'applicazione)Meccanismo SASL sconosciutogsasl-1.8.1/lib/po/LINGUAS0000644000000000000000000000012613521017506011731 00000000000000en@boldquot en@quot da de eo es fi fr ga hu id it nl pl pt_BR ro sk sr sv uk vi zh_CN gsasl-1.8.1/lib/po/fr.po0000644000000000000000000003370313521017514011661 00000000000000# Messages français pour GNU libgsasl. # Copyright © 2008, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Michel Robitaille , 2003, 2004. # François-Xavier Coudert , 2008 # David Prévot , 2012. msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-10-01 19:05-0400\n" "Last-Translator: David Prévot \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Lokalize 1.4\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Réussite de libgsasl" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Le mécanisme SASL a besoin de plus de données" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Mécanisme SASL inconnu" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mécanisme SASL appelé trop souvent" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Une fonction SASL a besoin d'un plus grand tampon (erreur interne)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Impossible d'ouvrir le fichier dans la bibliothèque SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Impossible de fermer le fichier dans la bibliothèques SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Erreur d'allocation mémoire dans la bibliothèque SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Erreur de codage en base 64 dans la bibliothèque SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Erreur bas niveau de cryptographie dans la bibliothèque SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_client_callback_anonymous() " "(erreur de l'application)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_client_callback_password() " "(erreur de l'application)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_client_callback_passcode() " "(erreur de l'application)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_client_callback_pin() (erreur de " "l'application)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Le mécanisme SASL a besoin de l'appel " "gsasl_client_callback_authorization_id() (erreur de l'application)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Le mécanisme SASL a besoin de l'appel " "gsasl_client_callback_authentication_id() (erreur de l'application)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_client_callback_service() " "(erreur de l'application)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_validate() " "(erreur de l'application)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_cram_md5() " "(erreur de l'application)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_digest_md5() " "(erreur de l'application)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_external() " "(erreur de l'application)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_anonymous() " "(erreur de l'application)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_realm() (erreur " "de l'application)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_securid() " "(erreur de l'application)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_service() " "(erreur de l'application)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_gssapi() (erreur " "de l'application)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Le mécanisme SASL a besoin de l'appel gsasl_server_callback_retrieve() " "(erreur de l'application)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Échec d'exécution de la normalisation Unicode sur la chaîne." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "" "Impossible de préparer une chaîne de caractères internationalisée (non ASCII)" #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Le mécanisme SASL ne peut pas analyser l'entrée" #: src/error.c:116 msgid "Error authenticating user" msgstr "Erreur d'authentification de l'utilisateur" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "" "Impossible d'obtenir la gestion de la bibliothèque interne (erreur de la " "bibliothèque)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Erreur d'intégrité dans la charge de l'application" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Aucun domaine n'est disponible (erreur non fatale)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Fonctionnalité côté client non disponible dans la bibliothèque (erreur " "d'application)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Fonctionnalité côté serveur non disponible dans la bibliothèque (erreur " "d'application)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "La bibliothèque GSSAPI ne peut pas désallouer la mémoire dans " "gss_release_buffer() de la bibliothèque SASL. C'est une erreur interne grave." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "La bibliothèque GSSAPI ne peut pas comprendre le nom d'un pair dans " "gss_import_name() de la bibliothèque SASL. C'est probablement dû à un " "service ou des noms d'hôtes incorrects." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Erreur GSSAPI dans le client lors de la négociation du contexte de sécurité " "dans gss_init_sec_context() de la bibliothèque SASL. C'est sans doute dû à " "des références ou des interactions malveillantes." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Erreur GSSAPI dans le serveur lors de la négociation du contexte de sécurité " "dans gss_accept_sec_context() de la bibliothèque SASL. C'est sans doute dû à " "des références insuffisantes ou des interactions malveillantes." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Erreur GSSAPI lors du déchiffrement ou du décodage des données dans " "gss_unwrap() de la bibliothèque SASL. C'est sans doute dû à une corruption " "des données." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Erreur GSSAPI lors du chiffrement ou de l'encodage des données dans " "gss_wrap() de la bibliothèque SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Erreur GSSAPI lors de l'acquisition de références dans gss_acquire_cred() de " "la bibliothèque SASL. C'est sans doute dû à l'utilisation d'une clef " "Kerberos erronée disponible dans /etc/krb5.keytab sur le serveur." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Erreur GSSAPI lors de la création d'un nom d'affichage pour le client dans " "gss_display_name() de la bibliothèque SASL. C'est sans doute dû à des " "données erronées fournies par le client." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "L'autre entité a fait une requête d'intégrité ou de confidentialité dans le " "mécanisme GSSAPI mais ce n'est pas encore implanté." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Échec d'initialisation de Kerberos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Erreur interne de Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID a besoin d'un code secret supplémentaire." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID a besoin d'un nouveau code personnel." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "" "La gestion de bibliothèque fournie était incorrecte (erreur d'application)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Pas d'appel indiqué par l'appelant (erreur de l'application)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Échec d'authentification parce que le jeton anonyme n'a pas été fourni." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Échec d'authentification parce que l'identité d'authentification n'a pas été " "fournie." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Échec d'authentification parce que l'identité d'autorisation n'a pas été " "fournie." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Échec d'authentification parce que le mot de passe n'a pas été fourni." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Échec d'authentification parce que le code secret n'a pas été fourni." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "" "Échec d'authentification parce que le code personnel n'a pas été fourni." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "" "Échec d'authentification parce que le nom de service n'a pas été fourni." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Échec d'authentification parce que le nom d'hôte n'a pas été fourni." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Erreur GSSAPI du jeton d'encapsulation." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Erreur GSSAPI du jeton de décapsulation." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Erreur GSSAPI d'obtention d'OID pour le nom de mécanisme SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Erreur GSSAPI d'essai d'OID dans le jeu OID." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Erreur GSSAPI de publication du jeu OID." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "" "Échec d'authentification parce que le CB unique TLS n'a pas été fourni." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Échec d'appel pour fournir l'identifiant IdP SAML20." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Échec d'appel pour fournir l'URL de redirection SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Échec d'appel pour fournir l'URL de redirection OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Erreur libgsasl inconnue" gsasl-1.8.1/lib/po/uk.gmo0000644000000000000000000003704613521017515012042 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4Kj}}^^qU&be H%!Jn!n!N("Qw"9"0$L4%H%e%o0&m'J)aY))*T+,B-Q`-.-*-( ._5.x.v/k/q/fc1O1X2s233544U55o677"88@99]::{;H <BT<R<<z=(=#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 12:44+0300 Last-Translator: Yuri Chornoivan Language-Team: Ukrainian Language: uk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. X-Generator: Lokalize 1.5 Plural-Forms: nplurals=1; plural=0; Помилка розпізнавання через ненадання унікальної для TLS прив’язки до каналу.Помилка розпізнавання через ненадання анонімної лексеми.Помилка розпізнавання через ненадання назви профілю розпізнавання.Помилка розпізнавання через ненадання назви профілю уповноваження.Помилка розпізнавання через ненадання назви вузла.Помилка розпізнавання через ненадання коду пароля.Помилка розпізнавання через ненадання пароля.Помилка розпізнавання через ненадання особистого ідентифікаційного коду (PIN).Помилка розпізнавання через ненадання назви сервера.Помилка під час кодування у форматі Base64 у бібліотеці SASLУ відповідь на зворотний виклик не отримано адреси переспрямування OPENID20.У відповідь на зворотний виклик не повернуто ідентифікатора IdP SAML20 IdP.У відповідь на зворотний виклик не отримано адреси переспрямування SAML20.Не вдалося отримати внутрішній дескриптор бібліотеки (помилка бібліотеки)Функціональні можливості клієнта бібліотекою не надаються (помилка програми)Не вдалося закрити файл у бібліотеці SASLНе вдалося відкрити файл у бібліотеці SASLНе вдалося підготувати інтернаціоналізований (не-ASCII) рядок.Помилка під час розпізнавання користувачаНе вдалося виконати нормалізацію Unicode рядка.Помилка GSSAPI під час спроби отримання реєстраційних даних у функції gss_acquire_cred() бібліотеки SASL. Найімовірнішою причиною є нестача належного ключа Kerberos у /etc/krb5.keytab на сервері.Помилка GSSAPI під час спроби створення назви клієнта для показу у функції gss_display_name() бібліотеки SASL. Ймовірною причиною є надання клієнтською частиною помилкових даних.Помилка GSSAPI під час декапсуляції лексеми.Помилка GSSAPI під час капсуляції лексеми.Помилка GSSAPI під час отримання OID для назви механізму SASL.Помилка GSSAPI у клієнтській програмі під час узгодження контексту захисту у функції gss_init_sec_context() бібліотеки SASL. Найімовірнішою причиною є недостатні реєстраційні дані або зловмисне втручання у роботу.Помилка GSSAPI у серверній програмі під час узгодження контексту захисту у функції gss_accept_sec_context() бібліотеки SASL. Найімовірнішою причиною є недостатні реєстраційні дані або зловмисне втручання у роботу.Помилка GSSAPI під час звільнення набору OID.Помилка тестування GSSAPI під час роботи з OID у наборі OID.Помилка GSSAPI під час розшифрування або декодування даних у функції gss_unwrap() бібліотеки SASL. Найімовірнішою причиною є пошкодження даних.Помилка GSSAPI під час спроби шифрування або кодування даних у функції gss_wrap() бібліотеки SASL.Бібліотеці GSSAPI не вдалося звільнити пам’ять у gss_release_buffer() у бібліотеці SASL. Це серйозна внутрішня помилка.Бібліотеці GSSAPI не вдалося розібрати назву вузла у функції gss_import_name() бібліотеки SASL. Найімовірнішою причиною є помилкова назва служби або вузла.Помилка цілісності у даних програмиПомилка під час спроби ініціалізації Kerberos V5.Внутрішня помилка Kerberos V5.Libgsasl виконала завданняНевідома помилка libgsaslПомилка низькорівневого шифрування у бібліотеці SASLПомилка під час спроби розміщення бібліотекою SASL даних у пам’ятіФункцією виклику не вказано зворотної адреси (помилка програми).Вичерпано перелік доступних областей (некритична помилка)Надійшов запит від іншого екземпляра програми щодо перевірки цілісності або захисту конфіденційності за допомогою механізмів GSSAPI. Можливість виконання декількох запитів одночасно ще не реалізовано.Функція SASL потребує більшого буфера (внутрішня помилка)Механізм SASL викликано занадто багато разівМеханізмові SASL не вдалося розібрати вхідні даніМеханізмові SASL потрібен зворотний виклик gsasl_client_callback_anonymous() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_client_callback_authentication_id() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_client_callback_authorization_id() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_client_callback_passcode() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_client_callback_password() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_client_callback_pin() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_client_callback_service() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_anonymous() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_cram_md5() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_digest_md5() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_external() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_gssapi() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_realm() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_retrieve() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_securid() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_service() (помилка програми)Механізмові SASL потрібен зворотний виклик gsasl_server_callback_validate() (помилка програми)Механізмові SASL потрібні додаткові даніSecurID потрібен додатковий код пароля.SecurID потрібен новий ідентифікаційний код (PIN).Функціональні можливості сервера бібліотекою не надаються (помилка програми)Наданий дескриптор бібліотеки виявився некоректним (помилка програми)Невідомий механізм SASLgsasl-1.8.1/lib/po/vi.po0000644000000000000000000003533713521017514011675 00000000000000# Vietnamese Translation for LibGSASL. # Copyright © 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Clytie Siddall , 2005-2010. # Trần Ngọc Quân , 2012. # msgid "" msgstr "" "Project-Id-Version: libgsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 14:34+0700\n" "Last-Translator: Trần Ngọc Quân \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: LocFactoryEditor 1.8\n" "X-Poedit-Language: Vietnamese\n" "X-Poedit-Country: VIET NAM\n" "X-Poedit-SourceCharset: utf-8\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl thành công" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Cơ cấu SASL cần thêm dữ liệu" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Gặp cơ cấu SASL không rõ" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Cơ cấu SASL được gọi quá nhiều lần" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Hàm SASL cần thiết bộ đệm lớn hơn (lỗi nội bộ)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Không thể mở tập tin trong thư viện SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Không thể đóng tập tin trong thư viện SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Lỗi cấp phát bộ nhớ trong thư viện SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Lỗi mã cơ số 64 trong thư viện SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Lỗi mật mã cấp thấp trong thư viện SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược vô danh « " "gsasl_client_callback_anonymous() » (lỗi ứng dụng)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược mật khẩu « " "gsasl_client_callback_password() » (lỗi ứng dụng)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược mã mật khẩu « " "gsasl_client_callback_passcode() » (lỗi ứng dụng)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược số nhận diện « " "gsasl_client_callback_pin() » (lỗi ứng dụng)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược cấp quyền « " "gsasl_client_callback_authorization_id() » (lỗi ứng dụng)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược xác thực « " "gsasl_client_callback_authentication_id() » (lỗi ứng dụng)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược dịch vụ « " "gsasl_client_callback_service() » (lỗi ứng dụng)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược thẩm tra « " "gsasl_server_callback_validate() » (lỗi ứng dụng)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược kiểm tổng « " "gsasl_server_callback_cram_md5() » (lỗi ứng dụng)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Cơ cấu SASL cần hàm ứng dụng khách gọi ngược tóm tắt kiểm tổng « " "gsasl_server_callback_digest_md5() » (lỗi ứng dụng)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm máy phục vụ gọi ngược bên ngoài « " "gsasl_server_callback_external() » (lỗi ứng dụng)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm máy phục vụ gọi ngược vô danh « " "gsasl_server_callback_anonymous() » (lỗi ứng dụng)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm máy phục vụ gọi ngược địa hạt « " "gsasl_server_callback_realm() » (lỗi ứng dụng)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm máy phục vụ gọi ngược mã nhận diện bảo mật « " "gsasl_server_callback_securid() » (lỗi ứng dụng)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm máy phục vụ gọi ngược dịch vụ « " "gsasl_server_callback_service() » (lỗi ứng dụng)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm máy phục vụ gọi ngược « gsasl_server_callback_gssapi() " "» (lỗi ứng dụng)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Cơ cấu SASL cần hàm máy phục vụ gọi ngược lấy « " "gsasl_server_callback_retrieve() » (lỗi ứng dụng)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Lỗi tiêu chuẩn hoá Unicode trên chuỗi." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Không thể chuẩn bị chuỗi đã quốc tế hóa (khác ASCII)." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Cơ cấu SASL không thể phân tách kết nhập" #: src/error.c:116 msgid "Error authenticating user" msgstr "Gặp lỗi khi xác thực người dùng" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Không thể lấy bộ quản lý thư viện nội bộ (lỗi thư viện)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Gặp lỗi sự tích hợp trong trọng tải ứng dụng" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Không còn có địa hạt sẵn sàng lại (khác nghiêm trọng)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Chức năng bên ứng dụng khách không sẵn sàng trong thư viện (lỗi ứng dụng)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "Chức năng bên máy phục vụ không sẵn sàng trong thư viện (lỗi ứng dụng)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Thư viện GSSAPI không thể hủy cấp phát bộ nhớ trong hàm bộ đệm nhả « " "gss_release_buffer() » trong thư viện SASL. Đây là lỗi nội bộ nghiêm trọng." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Thư viện GSSAPI không thể hiểu một tên ngang hàng trong hàm nhập khẩu tên « " "gss_import_name() » trong thư viện SASL. Rất có thể do dịch vụ và/hay tên " "máy sai." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Gặp lỗi GSSAPI trong ứng dụng khách trong khi dàn xếp ngữ cảnh bảo mật trong " "« gss_init_sec_context() » trong thư viện SASL. Chắc vì chưa có đủ thông tin " "xác thực hay có sự tương tác hiểm độc." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Lỗi GSSAPI trong ứng dụng máy chủ trong khi dàn xếp ngữ cảnh bảo mật trong " "gss_accept_sec_context() trong thư viện SASL. Điều này giống như là chưa có " "đủ thông tin xác thực hay có sự tương tác hiểm độc." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Gặp lỗi GSSAPI trong khi giải mã hoặc giải mật mã dữ liệu trong « " "gss_unwrap() » trong thư viện SASL. Chắc do dữ liệu bị hỏng." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Gặp lỗi GSSAPI trong khi mã hóa hoặc mật mã hóa dữ liệu trong « gss_wrap() » " "trong thư viện SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Gặp lỗi GSSAPI khi giành thông tin xác thực trong « gss_acquire_cred() » " "trong thư viện SASL. Chắc vì không có khóa Kerberos đúng sẵn sàng trong tập " "tin « /etc/krb5.keytab » trên máy phục vụ." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Gặp lỗi GSSAPI khi tạo tên hiển thị đại diện ứng dụng khách trong « " "gss_display_name() » trong thư viện SASL. Rất có thể vì ứng dụng khách đã " "cung cấp dữ liệu sai." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Đối thể khác yêu cầu khả năng bảo vệ sự tích hợp hay bí mật trong cơ cấu " "GSSAPI nhưng khả năng này chưa được thi hành." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Lỗi sơ khởi Kerberos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Lỗi nội bộ Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID yêu cầu mật khẩu bổ sung." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID yêu cầu PIN mới." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Bộ quản lý thư viện đã cung cấp là không hợp lệ (lỗi ứng dụng)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Bộ gọi chưa ghi rõ cách gọi lại (lỗi ứng dụng)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Lỗi xác thực vì chưa có hiệu bài vô danh được cung cấp." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Lỗi xác thực vì không có thông tin nhận diện để xác thực được cung cấp" #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Lỗi xác thực vì không có thông tin nhận diện để cấp quyền được cung cấp." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Lỗi xác thực vì không có mật khẩu được cung cấp." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Lỗi xác thực vì không có mã mật khẩu được cung cấp." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Lỗi xác thực vì không có mã PIN (số nhận diện cá nhân) được cung cấp." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Lỗi xác thực vì không có tên dịch vụ được cung cấp." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Lỗi xác thực vì không có tên máy được cung cấp." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Lỗi GSSAPI thẻ bài tóm lược." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Lỗi GSSAPI thẻ bài decapsulating." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Lỗi GSSAPI lấy OID cho tên cơ cấu SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Lỗi GSSAPI kiểm tra cho OID trong tập hợp OID." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Lỗi GSSAPI phóng thích tập hợp OID." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Lỗi xác thực vì tls-unique CB không được cung cấp." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Hàm callback gặp lỗi khi cung cấp bộ định danh SAML20 IdP." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Hàm callback gặp lỗi khi cung cấp bộ chuyển hướng URL SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Hàm callback gặp lỗi khi cung cấp bộ chuyển hướng URL OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Không rõ lỗi Libgsasl" gsasl-1.8.1/lib/po/vi.gmo0000644000000000000000000003203513521017515012032 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;48K?I_bn?FBX\F,?MlFKMM_420Fc*/ &!%!/"6"'#+%$6Q$$v(%%X&='X'v'''3'3'@,(Fm((AQ)0)4))|* ++#,,0--4..O/s/E0{0A11U2&2*3+3\I3V33#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 14:34+0700 Last-Translator: Trần Ngọc Quân Language-Team: Vietnamese Language: vi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=1; plural=0; X-Generator: LocFactoryEditor 1.8 X-Poedit-Language: Vietnamese X-Poedit-Country: VIET NAM X-Poedit-SourceCharset: utf-8 Lỗi xác thực vì tls-unique CB không được cung cấp.Lỗi xác thực vì chưa có hiệu bài vô danh được cung cấp.Lỗi xác thực vì không có thông tin nhận diện để xác thực được cung cấpLỗi xác thực vì không có thông tin nhận diện để cấp quyền được cung cấp.Lỗi xác thực vì không có tên máy được cung cấp.Lỗi xác thực vì không có mã mật khẩu được cung cấp.Lỗi xác thực vì không có mật khẩu được cung cấp.Lỗi xác thực vì không có mã PIN (số nhận diện cá nhân) được cung cấp.Lỗi xác thực vì không có tên dịch vụ được cung cấp.Lỗi mã cơ số 64 trong thư viện SASLHàm callback gặp lỗi khi cung cấp bộ chuyển hướng URL OPENID20.Hàm callback gặp lỗi khi cung cấp bộ định danh SAML20 IdP.Hàm callback gặp lỗi khi cung cấp bộ chuyển hướng URL SAML20.Không thể lấy bộ quản lý thư viện nội bộ (lỗi thư viện)Chức năng bên ứng dụng khách không sẵn sàng trong thư viện (lỗi ứng dụng)Không thể đóng tập tin trong thư viện SASLKhông thể mở tập tin trong thư viện SASLKhông thể chuẩn bị chuỗi đã quốc tế hóa (khác ASCII).Gặp lỗi khi xác thực người dùngLỗi tiêu chuẩn hoá Unicode trên chuỗi.Gặp lỗi GSSAPI khi giành thông tin xác thực trong « gss_acquire_cred() » trong thư viện SASL. Chắc vì không có khóa Kerberos đúng sẵn sàng trong tập tin « /etc/krb5.keytab » trên máy phục vụ.Gặp lỗi GSSAPI khi tạo tên hiển thị đại diện ứng dụng khách trong « gss_display_name() » trong thư viện SASL. Rất có thể vì ứng dụng khách đã cung cấp dữ liệu sai.Lỗi GSSAPI thẻ bài decapsulating.Lỗi GSSAPI thẻ bài tóm lược.Lỗi GSSAPI lấy OID cho tên cơ cấu SASL.Gặp lỗi GSSAPI trong ứng dụng khách trong khi dàn xếp ngữ cảnh bảo mật trong « gss_init_sec_context() » trong thư viện SASL. Chắc vì chưa có đủ thông tin xác thực hay có sự tương tác hiểm độc.Lỗi GSSAPI trong ứng dụng máy chủ trong khi dàn xếp ngữ cảnh bảo mật trong gss_accept_sec_context() trong thư viện SASL. Điều này giống như là chưa có đủ thông tin xác thực hay có sự tương tác hiểm độc.Lỗi GSSAPI phóng thích tập hợp OID.Lỗi GSSAPI kiểm tra cho OID trong tập hợp OID.Gặp lỗi GSSAPI trong khi giải mã hoặc giải mật mã dữ liệu trong « gss_unwrap() » trong thư viện SASL. Chắc do dữ liệu bị hỏng.Gặp lỗi GSSAPI trong khi mã hóa hoặc mật mã hóa dữ liệu trong « gss_wrap() » trong thư viện SASL.Thư viện GSSAPI không thể hủy cấp phát bộ nhớ trong hàm bộ đệm nhả « gss_release_buffer() » trong thư viện SASL. Đây là lỗi nội bộ nghiêm trọng.Thư viện GSSAPI không thể hiểu một tên ngang hàng trong hàm nhập khẩu tên « gss_import_name() » trong thư viện SASL. Rất có thể do dịch vụ và/hay tên máy sai.Gặp lỗi sự tích hợp trong trọng tải ứng dụngLỗi sơ khởi Kerberos V5.Lỗi nội bộ Kerberos V5.Libgsasl thành côngKhông rõ lỗi LibgsaslLỗi mật mã cấp thấp trong thư viện SASLLỗi cấp phát bộ nhớ trong thư viện SASLBộ gọi chưa ghi rõ cách gọi lại (lỗi ứng dụng).Không còn có địa hạt sẵn sàng lại (khác nghiêm trọng)Đối thể khác yêu cầu khả năng bảo vệ sự tích hợp hay bí mật trong cơ cấu GSSAPI nhưng khả năng này chưa được thi hành.Hàm SASL cần thiết bộ đệm lớn hơn (lỗi nội bộ)Cơ cấu SASL được gọi quá nhiều lầnCơ cấu SASL không thể phân tách kết nhậpCơ cấu SASL cần hàm ứng dụng khách gọi ngược vô danh « gsasl_client_callback_anonymous() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược xác thực « gsasl_client_callback_authentication_id() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược cấp quyền « gsasl_client_callback_authorization_id() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược mã mật khẩu « gsasl_client_callback_passcode() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược mật khẩu « gsasl_client_callback_password() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược số nhận diện « gsasl_client_callback_pin() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược dịch vụ « gsasl_client_callback_service() » (lỗi ứng dụng)Cơ cấu SASL cần hàm máy phục vụ gọi ngược vô danh « gsasl_server_callback_anonymous() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược kiểm tổng « gsasl_server_callback_cram_md5() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược tóm tắt kiểm tổng « gsasl_server_callback_digest_md5() » (lỗi ứng dụng)Cơ cấu SASL cần hàm máy phục vụ gọi ngược bên ngoài « gsasl_server_callback_external() » (lỗi ứng dụng)Cơ cấu SASL cần hàm máy phục vụ gọi ngược « gsasl_server_callback_gssapi() » (lỗi ứng dụng)Cơ cấu SASL cần hàm máy phục vụ gọi ngược địa hạt « gsasl_server_callback_realm() » (lỗi ứng dụng)Cơ cấu SASL cần hàm máy phục vụ gọi ngược lấy « gsasl_server_callback_retrieve() » (lỗi ứng dụng)Cơ cấu SASL cần hàm máy phục vụ gọi ngược mã nhận diện bảo mật « gsasl_server_callback_securid() » (lỗi ứng dụng)Cơ cấu SASL cần hàm máy phục vụ gọi ngược dịch vụ « gsasl_server_callback_service() » (lỗi ứng dụng)Cơ cấu SASL cần hàm ứng dụng khách gọi ngược thẩm tra « gsasl_server_callback_validate() » (lỗi ứng dụng)Cơ cấu SASL cần thêm dữ liệuSecurID yêu cầu mật khẩu bổ sung.SecurID yêu cầu PIN mới.Chức năng bên máy phục vụ không sẵn sàng trong thư viện (lỗi ứng dụng)Bộ quản lý thư viện đã cung cấp là không hợp lệ (lỗi ứng dụng)Gặp cơ cấu SASL không rõgsasl-1.8.1/lib/po/POTFILES.in0000644000000000000000000000020313516252321012455 00000000000000# List of source files containing translatable strings for GNU SASL Library. # Copyright (c) 2002-2019 Simon Josefsson src/error.c gsasl-1.8.1/lib/po/Makevars0000664000000000000000000000342111746471770012421 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Simon Josefsson # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = bug-gsasl@gnu.org # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = gsasl-1.8.1/lib/po/en@boldquot.header0000644000000000000000000000247113516321015014334 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # gsasl-1.8.1/lib/po/stamp-po0000644000000000000000000000001213521017273012362 00000000000000timestamp gsasl-1.8.1/lib/po/fi.po0000644000000000000000000003222213521017514011643 00000000000000# Finnish messages for libgsasl. # Copyright © 2009, 2011, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Jorma Karvonen , 2009-2012. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 14:45+0200\n" "Last-Translator: Jorma Karvonen \n" "Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl onnistui" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL-mekanismi tarvitsee lisää dataa" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Tuntematon SASL-mekanismi" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "SASL-mekanismia kutsutaan liian monta kertaa" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL-funktio tarvitsee laajemman puskurin (sisäinen virhe)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Ei voitu avata tiedostoa SASL-kirjastossa" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Ei voitu sulkea tiedostoa SASL-kirjastossa" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Muistinvarausvirhe SASL-kirjastossa" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base 64-koodausvirhe SASL-kirjastossa" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Matalan tason salausvirhe SASL-kirjastossa" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_client_callback_anonymous()-vastakutsun " "(sovellusvirhe)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_client_callback_password()-vastakutsun " "(sovellusvirhe)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_client_callback_passcode()-vastakutsun " "(sovellusvirhe)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_client_callback_pin()-vastakutsun " "(sovellusvirhe)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_client_callback_authorization_id()-" "vastakutsun (sovellusvirhe)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_client_callback_authentication_id()-" "vastakutsun (sovellusvirhe)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_client_callback_service()-vastakutsun " "(sovellusvirhe)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_validate()-vastakutsun " "(sovellusvirhe)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_cram_md5()-vastakutsun " "(sovellusvirhe)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_digest_md5()-vastakutsun " "(sovellusvirhe)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_external()-vastakutsun " "(sovellusvirhe)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitse gsasl_server_callback_anonymous()-vastakutsun " "(sovellusvirhe)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_realm()-vastakutsun " "(sovellusvirhe)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_securid()-vastakutsun " "(sovellusvirhe)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_service()-vastakutsun " "(sovellusvirhe)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_gssapi()-vastakutsun " "(sovellusvirhe)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "SASL-mekanismi tarvitsee gsasl_server_callback_retrieve()-vastakutsun " "(sovellusvirhe)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Unicode-normeerauksen suorittaminen merkkijonolle epäonnistui." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Ei voitu esikäsitellä kansainvälistettyä (ei-ASCII) merkkijonoa." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL-mekanismi ei voinut jäsentää syötettä" #: src/error.c:116 msgid "Error authenticating user" msgstr "Virhe todennettaessa käyttäjää" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Ei saada sisäistä kirjasto-osoitinta (kirjastovirhe)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Eheysvirhe sovelluslatauksessa" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Ei enää alueita käytettävissä (ei-vakava)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Asiakaspuolitoiminnallisuus ei ole käytetttävissä kirjastossa (sovellusvirhe)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Palvelinpuolitoiminnallisuus ei ole käytettävissä kirjastossa (sovellusvirhe)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI-kirjasto ei voinut vapauttaa muistia funktiossa gss_release_buffer() " "SASL-kirjastossa. Tämä on vakava sisäinen virhe." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI-kirjasto ei ymmärrä vertaisnimeä funktiossa gss_import_name() SASL-" "kirjastossa. Tämä johtuu luultavasti virheellisestä palvelusta tai " "tietokonenimistä." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-virhe asiakkaalla kun neuvotellaan turvallisuusyhteydestä funktiossa " "gss_init_sec_context() SASL-kirjastossa. Tämä johtuu luultavasti " "riittämättömistä valtuustiedoista tai haitallisista vuorovaikutuksista." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-virhe palvelimella neuvoteltaessa turvallisuusyhteydestä funktiossa " "gss_accept_sec_context() SASL-kirjastossa. Tämä johtuu luultavasti " "riittämättömistä valtuustiedoista tai haitallisista vuorovaikutuksista." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI-virhe purettaessa salausta tai koodausta funktiossa gss_unwrap() SASL-" "kirjastossa. Tämä johtuu luultavasti datan vääristymisestä." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI-virhe salattaessa tai koodattaessa dataa funktiossa gss_wrap() SASL-" "kirjastossa." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI-virhe hankittaessa valtuustietoja funktiossa gss_acquire_cred() SASL-" "kirjastossa. Tämä johtuu luultavasti siitä, että ei ole käytettävissä " "oikeaa Kerberos-avainta palvelimen /etc/krb5.keytab-tiedostossa." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI-virhe luotaessa näyttönimeä osoittamaan asiakasta funktiossa " "gss_display_name() SASL-kirjastossa. Tämä johtuu luultavasti siitä, että " "asiakas toimitti virheellistä dataa." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Toinen olio vaatinut eheyttä tai luottamuksellista suojelua GSSAPI-" "mekanismissa, mutta sitä ei ole nykyisin toteutettu." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5-alustusvirhe." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Kerberos V5-sisäinen virhe." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID tarvitsee lisäsalakoodin." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID tarvitsee uuden pin-koodin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Tarjottu kirjasto-osoitin on virheellinen (sovellusvirhe)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Kutsuja ei määritellyt vastakutsua (sovellusvirhe)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Todennus epäonnistui koska anonyymipolettia ei tarjottu." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Todennus epäonnistui koska todennushenkilöllisyyttä ei tarjottu." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Todennus epäonnistui koska käyttövaltuutushenkilöllisyyttä ei tarjottu." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Todennus epäonnistui koska salasanaa ei tarjottu." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Todennus epäonnistui koska salakoodia ei tarjottu." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Todennus epäonnistui koska pin-koodia ei tarjottu." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Todennus epäonnistui koska koska palvelunimeä ei tarjottu." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Todennus epäonnistui koska tietokoneen nimeä ei tarjottu." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI-virhekapselointimerkkijono." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI-virhekapseloinnin poistomerkkijono." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI-virhe haettaessa OID-tunnistetta SASL-mekanisminimelle." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI-virhe testattaessa OID-tunnistetta OID-joukossa." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI-virhe julkaistaessa OID-joukko." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Todennus epäonnistui koska tls-unique CB ei tarjottu." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Vastakutsu ei kyennyt tarjoamaan SAML20 IdP -pääavainta." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" "Vastakutsu ei kyennyt tarjoamaan SAML20 uudelleenohjausverkko-osoitetta." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" "Vastakutsu ei kyennyt tarjoamaan OPENID20 uudelleenohjausverkko-osoitetta." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Tuntematon Libgsasl-virhe" gsasl-1.8.1/lib/po/insert-header.sin0000644000000000000000000000124013516321015014144 00000000000000# Sed script that inserts the file called HEADER before the header entry. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } gsasl-1.8.1/lib/po/sr.po0000644000000000000000000004147313521017514011701 00000000000000# Serbian translation of libgsasl. # Copyright (C) 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Aleksandar Jelenak , 2006. # Мирослав Николић , 2012. msgid "" msgstr "" "Project-Id-Version: libgsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-24 22:26+0200\n" "Last-Translator: Мирослав Николић \n" "Language-Team: Serbian \n" "Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Успех Либгсасла" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Потребно је више података САСЛ механизму" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Непознат САСЛ механизам" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "САСЛ механизам је позван исувише пута" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "САСЛ функцији је потребна већа међумеморија (унутрашња грешка)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Не могу да отворим датотеку у САСЛ библиотеци" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Не могу да затворим датотеку у САСЛ библиотеци" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Грешка доделе меморије у САСЛ библиотеци" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Грешка 64-базног кодирања у САСЛ библиотеци" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Крипто грешка ниског нивоа у САСЛ библиотеци" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_client_callback_anonymous() повратни позив " "(грешка апликације)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_client_callback_password() повратни позив " "(грешка апликације)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_client_callback_passcode() повратни позив " "(грешка апликације)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "САСЛ механизму је потребан gsasl_client_callback_pin() повратни позив " "(грешка апликације)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "САСЛ механизму је потребан gsasl_client_callback_authorization_id() повратни " "позив (грешка апликације)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "САСЛ механизму је потребан gsasl_client_callback_authentication_id() " "повратни позив (грешка апликације)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_client_callback_service() повратни позив " "(грешка апликације)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_validate() повратни позив " "(грешка апликације)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_cram_md5() повратни позив " "(грешка апликације)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_digest_md5() повратни позив " "(грешка апликације)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_external() повратни позив " "(грешка апликације)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_anonymous() повратни позив " "(грешка апликације)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_realm() повратни позив " "(грешка апликације)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_securid() повратни позив " "(грешка апликације)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_service() повратни позив " "(грешка апликације)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_gssapi() повратни позив " "(грешка апликације)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "САСЛ механизму је потребан gsasl_server_callback_retrieve() повратни позив " "(грешка апликације)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Нисам успео да обавим нормализацију Уникода на ниски." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Не могу да припремим интернационализовану (не-АСКРИ) ниску." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "САСЛ механизам не може да рашчлани улаз" #: src/error.c:116 msgid "Error authenticating user" msgstr "Грешка потврде идентитета корисника" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Не могу да добавим унутрашњу ручку библиотеке (грешка библиотеке)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Подаци апликације нису целовити" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Нема више доступних домена (није кобно)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Функционалност на страни клијента није доступна у библиотеци (грешка " "апликације)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Функционалност на страни сервера није доступна у библиотеци (грешка " "апликације)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "ГССАПИ библиотека не може да поврати меморију са gss_release_buffer() у САСЛ " "библиотеци. Ово је озбиљна унутрашња грешка." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "ГССАПИ библиотека не разуме назив парњака у gss_import_name() у САСЛ " "библиотеци. Ово је највероватније због погрешне услуге и/или назива " "рачунара." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "ГССАПИ грешка код клијента током уговарања заштитног склопа у " "gss_init_sec_context() у САСЛ библиотеци. Ово је највероватније због " "недовољних уверења или злонамерних активности." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "ГССАПИ грешка код сервера током уговарања заштитног склопа у " "gss_accept_sec_context() у САСЛ библиотеци. Ово је највероватније због " "недовољних уверења или злонамерних активности." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "ГССАПИ грешка током дешифровања или декодирања података у gss_unwrap() у " "САСЛ библиотеци. Ово је највероватније због грешке у подацима." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "ГССАПИ грешка током шифровања или кодирања података у gss_wrap() у САСЛ " "библиотеци." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "ГССАПИ грешка при прибављању уверења у gss_acquire_cred() у САСЛ " "библиотеци. сОво је највероватније зато што се немају одговарајући керберос " "кључеви у „/etc/krb5.keytab“ на серверу." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "ГССАПИ грешка приликом стварања приказаног назива које одређује клијента у " "gss_display_name() у САСЛ библиотеци. Ово је највероватније зато што је " "клијент доставио лоше податке." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Друга страна захтева заштиту целовитости или поверљивости у ГССАПИ механизму " "али ово тренутно није остварено." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Није успело покретање Кербероса V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Унутрашња грешка Кербероса V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "БезбедниИБ захтева додатни пропусни код." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "БезбедниИБ захтева нови пин." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Дата ручка библиотеке је неисправна (грешка апликације)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Позивач није навео ниједан повратни позив (грешка апликације)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Потврда идентитета није успела јер није дат анонимни токен." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Потврда идентитета није успела јер није дат идентитет." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "Потврда идентитета није успела јер није дат идентитет овлашћивача." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Потврда идентитета није успела јер није дата лозинка." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Потврда идентитета није успела јер није дат пропусни код." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Потврда идентитета није успела јер није дат пин код." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Потврда идентитета није успела јер није дат назив услуге." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Потврда идентитета није успела јер није дато име домаћина." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "ГССАПИ грешка приликом обухватања прстена." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "ГССАПИ грешка приликом ослобађања прстена." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "ГССАПИ грешка приликом добављања ОИБ-а за назив САСЛ механизма." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "ГССАПИ грешка приликом испробавања ОИБ-а у ОИБ скупу." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "ГССАПИ грешка приликом отпуштања ОИБ скупа." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Потврда идентитета није успела јер није дато тлс-јединствени ЦБ." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Повратни позив није успео да обезбеди САМЛ20 ИдП означавач." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Повратни позив није успео да обезбеди САМЛ20 адресу преусмерења." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Повратни позив није успео да обезбеди ОПЕНИД20 адресу преусмерења." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Непозната грешка Либгсасла" gsasl-1.8.1/lib/po/boldquot.sed0000644000000000000000000000033113516321015013225 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g gsasl-1.8.1/lib/po/en@quot.header0000644000000000000000000000226313516321015013472 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # gsasl-1.8.1/lib/po/Rules-quot0000644000000000000000000000414213516321014012705 00000000000000# This file, Rules-quot, can be copied and used freely without restrictions. # Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \ | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \ { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ ;; \ *) \ $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ ;; \ esac } 2>/dev/null > $$tmpdir/$$lang.new.po \ ; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header gsasl-1.8.1/lib/po/pl.gmo0000644000000000000000000002751313521017515012034 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KTQ2\WJ9KEGL^)F>D[HL,6,cE$B> , * >!?! "-": #D#V#}1$$%W%"}% %%%6%/!&DQ&2&&:P'('9'_'gN(f(^)^|)Y)]5*_*^*`R+^+\,[o,^,]*-]-^-&E."l..L.9.3/#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-21 19:02+0200 Last-Translator: Jakub Bogusz Language-Team: Polish Language: pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Uwierzytelnienie nie powiodło się, ponieważ nie zapewniono CB unikalnego dla TLS.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano anonimowego tokena.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano tożsamości uwierzytelnienia.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano tożsamości autoryzacji.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano nazwy hosta.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano tajnego kodu.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano hasła.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano kodu PIN.Uwierzytelnienie nie powiodło się, ponieważ nie przekazano nazwy usługi.Błąd kodowania base64 w bibliotece SASLWywołanie zwrotne nie dostarczyło URL-a przekierowującego OPENID20.Wywołanie zwrotne nie dostarczyło identyfikatora SAML20 IdP.Wywołanie zwrotne nie dostarczyło URL-a przekierowującego SAML20.Nie można uzyskać wewnętrznego uchwytu biblioteki (błąd biblioteki)Funkcjonalność strony klienta niedostępna w bibliotece (błąd aplikacji)Nie można zamknąć pliku w bibliotece SASLNie można otworzyć pliku w bibliotece SASLNie można przygotować umiędzynarodowionego łańcucha (nie-ASCII).Błąd uwierzytelniania użytkownikaNie udało się przeprowadzić normalizacji unikodowej łańcucha.Błąd GSSAPI podczas otrzymywania uwierzytelnienia w gss_acquire_cred() w bibliotece SASL - najprawdopodobniej spowodowany brakiem odpowiedniego klucza Kerberosa w /etc/krb5.keytab na serwerze.Błąd GSSAPI podczas tworzenia nazwy oznaczającej klienta w gss_display_name() w bibliotece SASL - prawdopodobnie z powodu błędnych danych otrzymanych od klienta.Błąd GSSAPI podczas rozpakowywania tokenu.Błąd GSSAPI podczas opakowywania tokenu.Błąd GSSAPI przy pobieraniu OID-a dla nazwy mechanizmu SASL.Błąd GSSAPI w kliencie podczas negocjacji kontekstu bezpieczeństwa w gss_init_sec_context() w bibliotece SASL - najprawdopodobniej spowodowany niewystarczającym uwierzytelnieniem lub złymi wpływami.Błąd GSSAPI w serwerze podczas negocjacji kontekstu bezpieczeństwa w gss_accept_sec_context() w bibliotece SASL - najprawdopodobniej spowodowany niewystarczającym uwierzytelnieniem lub złymi wpływami.Błąd GSSAPI przy zwalnianiu zbioru OID-ów.Błęd GSSAPI przy sprawdzaniu obecności OID-a w zbiorze.Błąd GSSAPI podczas odszyfrowywania lub odkodowywania danych w gss_unwrap() w bibliotece SASL - najprawdopodobniej spowodowany uszkodzeniem danych.Błąd GSSAPI podczas szyfrowania lub kodowania danych w gss_wrap() w bibliotece SASL.Biblioteka GSSAPI nie mogła zwolnić pamięci w gss_release_buffer() w bibliotece SASL. To jest poważny błąd wewnętrzny.Biblioteka GSSAPI nie zrozumiała nazwy partnera w gss_import_name() w bibliotece SASL. Najprawdopodobniej jest to spowodowane błędnymi nazwami usług i/lub hostów.Błąd spójności w danych aplikacjiBłąd inicjalizacji Kerberosa V5.Błąd wewnętrzny Kerberosa V5.Sukces libgsaslNieznany błąd libgsaslBłąd kryptografii niskiego poziomu w bibliotece SASLBłąd przydzielania pamięci w bibliotece SASLWywołujący nie przekazał wywołania zwrotnego (błąd aplikacji).Nie ma więcej dostępnych dziedzin (niekrytyczne)Inna jednostka zażądała zabezpieczenia spójności lub poufności w mechanizmie GSSAPI, ale nie jest on aktualnie zaimplementowany.Funkcja SASL wymaga większego bufora (błąd wewnętrzny)Mechanizm SASL wywołany zbyt dużo razyMechanizm SASL nie był w stanie przeanalizować wejściaMechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_anonymous() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_authentication_id() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_authorization_id() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_passcode() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_password() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_pin() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_service() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_anonymous() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_cram_md5() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_digest_md5() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_external() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_gssapi() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_realm() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_retrieve() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_securid() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_service() (błąd aplikacji)Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_validate() (błąd aplikacji)Mechanizm SASL wymagaja więcej danychSecurID wymaga dodatkowego hasła.SecurID wymaga nowego PIN-u.Funkcjonalność strony serwera niedostępna w bibliotece (błąd aplikacji)Błędny dostarczony uchwyt biblioteki (błąd aplikacji)Nieznany mechanizm SASLgsasl-1.8.1/lib/po/nl.po0000644000000000000000000003240313521017514011657 00000000000000# Dutch translations for GNU libgsasl. # Copyright (C) 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # "Vojaĝanto, prenu vian tempon. # Se ne, ĝi prenas vin." # # Taco Witte , 2004, 2005, 2006. # Benno Schulenberg , 2008, 2010, 2011, 2012. msgid "" msgstr "" "Project-Id-Version: libgsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-22 21:18+0200\n" "Last-Translator: Benno Schulenberg \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl: gelukt" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL-methode vereist meer gegevens" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Onbekende SASL-methode" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "SASL-methode is te vaak aangeroepen" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL-functie vereist grotere buffer (**interne fout**)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Kan bestand niet openen in SASL-bibliotheek " #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Kan bestand niet sluiten in SASL-bibliotheek" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Geheugenreserveringsfout in SASL-bibliotheek" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base64-coderingsfout in SASL-bibliotheek" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Cryptografiefout op laag niveau in SASL-bibliotheek" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_client_callback_anonymous() " "(toepassingsfout)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_client_callback_password() " "(toepassingsfout)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_client_callback_passcode() " "(toepassingsfout)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_client_callback_pin() " "(toepassingsfout)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL-methode vereist terugaanroep van " "gsasl_client_callback_authorization_id() (toepassingsfout)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL-methode vereist terugaanroep van " "gsasl_client_callback_authentication_id()(toepassingsfout)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_client_callback_service() " "(toepassingsfout)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_validate() " "(toepassingsfout)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_cram_md5() " "(toepassingsfout)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_digest_md5() " "(toepassingsfout)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_external() " "(toepassingsfout)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_anonymous() " "(toepassingsfout)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_realm() " "(toepassingsfout)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_securid() " "(toepassingsfout)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_service() " "(toepassingsfout)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_gssapi() " "(toepassingsfout)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "SASL-methode vereist terugaanroep van gsasl_server_callback_retrieve() " "(toepassingsfout)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Unicode-normalisatie van tekenreeks is mislukt." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Kan geïnternationaliseerde (niet-ASCII) tekenreeks niet voorbewerken." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL-methode kan invoer niet ontleden" #: src/error.c:116 msgid "Error authenticating user" msgstr "Fout bij authenticatie van gebruiker" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Kan geen handvat voor interne bibliotheek verkrijgen (bibliotheekfout)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integriteitsfout in pakketlading van toepassing" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Geen realms meer beschikbaar (niet fataal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Functionaliteit voor cliënt is niet beschikbaar in bibliotheek " "(toepassingsfout)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Functionaliteit voor server is niet beschikbaar in bibliotheek " "(toepassingsfout)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI-bibliotheek kan geheugen niet vrijgeven in gss_release_buffer() in " "SASL-bibliotheek. **Dit is een ernstige interne fout**." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI-bibliotheek begrijpt naam van andere computer niet in " "gss_import_name() in SASL-bibliotheek. Dit komt waarschijnlijk door een " "onjuiste servicenaam of hostnaam." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-fout in cliënt bij onderhandelen over veiligheidscontext in " "gss_init_sec_context() in SASL-bibliotheek. Dit komt waarschijnlijk door " "onvoldoende identificatiegegevens of door kwaadwillige interventies." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-fout in server bij onderhandelen over veiligheidscontext in " "gss_accept_sec_context() in SASL-bibliotheek. Dit komt waarschijnlijk door " "onvoldoende identificatiegegevens of door kwaadwillige interventies." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI-fout bij decoderen van gegevens in gss_unwrap() in SASL-bibliotheek. " "Dit komt waarschijnlijk door beschadigde gegevens." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI-fout bij versleutelen van gegevens in gss_wrap() in SASL-bibliotheek." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI-fout bij het verkrijgen van identificatiegegevens in " "gss_acquire_cred() in SASL-bibliotheek. Dit komt waarschijnlijk door het " "ontbreken van een juiste Kerberos-sleutel in /etc/krb5.keytab op de server." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI-fout bij aanmaken van weergavenaam voor cliënt in gss_display_name() " "in SASL-bibliotheek. Waarschijnlijk heeft de cliënt onjuiste gegevens " "opgegeven." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Andere entiteit verzocht om bescherming van integriteit of vertrouwelijkheid " "in GSSAPI-methode, maar dat is nog niet geïmplementeerd." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5-initialisatie is mislukt." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "**Interne fout** in Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID vereist extra wachtwoord." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID vereist nieuwe pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Het gegeven bibliotheekhandvat is ongeldig (toepassingsfout)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Aanroeper heeft geen terugaanroep opgegeven (toepassingsfout)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Authenticatie is mislukt omdat geen anoniem token opgegeven is." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Authenticatie is mislukt omdat geen authenticatie-identiteit opgegeven is." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Authenticatie is mislukt omdat geen authorisatie-identiteit opgegeven is." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Authenticatie is mislukt omdat geen wachtwoord gegeven is." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Authenticatie is mislukt omdat geen wachtwoord gegeven is." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Authenticatie is mislukt omdat geen pincode gegeven is." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Authenticatie is mislukt omdat geen servicenaam opgegeven is." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Authenticatie is mislukt omdat geen hostnaam opgegeven is." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI-fout bij inkapselen van token." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI-fout bij ontkapselen van token." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI-fout bij verkrijgen van OID voor naam van SASL-mechanisme." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI-fout bij testen op OID in OID-set." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI-fout bij vrijgeven van OID-set." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Authenticatie is mislukt omdat geen TLS-unieke CB opgegeven is." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Terugaanroep leverde geen SAML20-IdP-naam." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Terugaanroep leverde geen SAML20-doorverwijzings-URL." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Terugaanroep leverde geen OPENID20-doorverwijzings-URL." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Libgsasl: onbekende fout" gsasl-1.8.1/lib/po/uk.po0000644000000000000000000004227613521017514011676 00000000000000# Translation of libgsasl to Ukrainian # # Copyright (C) 2011 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Yuri Chornoivan , 2011, 2012. msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 12:44+0300\n" "Last-Translator: Yuri Chornoivan \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Lokalize 1.5\n" "Plural-Forms: nplurals=1; plural=0;\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl виконала завдання" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Механізмові SASL потрібні додаткові дані" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Невідомий механізм SASL" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Механізм SASL викликано занадто багато разів" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Функція SASL потребує більшого буфера (внутрішня помилка)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Не вдалося відкрити файл у бібліотеці SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Не вдалося закрити файл у бібліотеці SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Помилка під час спроби розміщення бібліотекою SASL даних у пам’яті" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Помилка під час кодування у форматі Base64 у бібліотеці SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Помилка низькорівневого шифрування у бібліотеці SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_client_callback_anonymous() " "(помилка програми)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_client_callback_password() " "(помилка програми)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_client_callback_passcode() " "(помилка програми)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_client_callback_pin() " "(помилка програми)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Механізмові SASL потрібен зворотний виклик " "gsasl_client_callback_authorization_id() (помилка програми)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Механізмові SASL потрібен зворотний виклик " "gsasl_client_callback_authentication_id() (помилка програми)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_client_callback_service() " "(помилка програми)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_validate() " "(помилка програми)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_cram_md5() " "(помилка програми)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Механізмові SASL потрібен зворотний виклик " "gsasl_server_callback_digest_md5() (помилка програми)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_external() " "(помилка програми)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_anonymous() " "(помилка програми)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_realm() " "(помилка програми)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_securid() " "(помилка програми)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_service() " "(помилка програми)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_gssapi() " "(помилка програми)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Механізмові SASL потрібен зворотний виклик gsasl_server_callback_retrieve() " "(помилка програми)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Не вдалося виконати нормалізацію Unicode рядка." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Не вдалося підготувати інтернаціоналізований (не-ASCII) рядок." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Механізмові SASL не вдалося розібрати вхідні дані" #: src/error.c:116 msgid "Error authenticating user" msgstr "Помилка під час розпізнавання користувача" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "" "Не вдалося отримати внутрішній дескриптор бібліотеки (помилка бібліотеки)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Помилка цілісності у даних програми" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Вичерпано перелік доступних областей (некритична помилка)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Функціональні можливості клієнта бібліотекою не надаються (помилка програми)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Функціональні можливості сервера бібліотекою не надаються (помилка програми)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Бібліотеці GSSAPI не вдалося звільнити пам’ять у gss_release_buffer() у " "бібліотеці SASL. Це серйозна внутрішня помилка." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Бібліотеці GSSAPI не вдалося розібрати назву вузла у функції " "gss_import_name() бібліотеки SASL. Найімовірнішою причиною є помилкова назва " "служби або вузла." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Помилка GSSAPI у клієнтській програмі під час узгодження контексту захисту у " "функції gss_init_sec_context() бібліотеки SASL. Найімовірнішою причиною є " "недостатні реєстраційні дані або зловмисне втручання у роботу." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Помилка GSSAPI у серверній програмі під час узгодження контексту захисту у " "функції gss_accept_sec_context() бібліотеки SASL. Найімовірнішою причиною є " "недостатні реєстраційні дані або зловмисне втручання у роботу." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Помилка GSSAPI під час розшифрування або декодування даних у функції " "gss_unwrap() бібліотеки SASL. Найімовірнішою причиною є пошкодження даних." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Помилка GSSAPI під час спроби шифрування або кодування даних у функції " "gss_wrap() бібліотеки SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Помилка GSSAPI під час спроби отримання реєстраційних даних у функції " "gss_acquire_cred() бібліотеки SASL. Найімовірнішою причиною є нестача " "належного ключа Kerberos у /etc/krb5.keytab на сервері." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Помилка GSSAPI під час спроби створення назви клієнта для показу у функції " "gss_display_name() бібліотеки SASL. Ймовірною причиною є надання клієнтською " "частиною помилкових даних." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Надійшов запит від іншого екземпляра програми щодо перевірки цілісності або " "захисту конфіденційності за допомогою механізмів GSSAPI. Можливість " "виконання декількох запитів одночасно ще не реалізовано." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Помилка під час спроби ініціалізації Kerberos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Внутрішня помилка Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID потрібен додатковий код пароля." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID потрібен новий ідентифікаційний код (PIN)." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Наданий дескриптор бібліотеки виявився некоректним (помилка програми)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Функцією виклику не вказано зворотної адреси (помилка програми)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Помилка розпізнавання через ненадання анонімної лексеми." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Помилка розпізнавання через ненадання назви профілю розпізнавання." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "Помилка розпізнавання через ненадання назви профілю уповноваження." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Помилка розпізнавання через ненадання пароля." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Помилка розпізнавання через ненадання коду пароля." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "" "Помилка розпізнавання через ненадання особистого ідентифікаційного коду " "(PIN)." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Помилка розпізнавання через ненадання назви сервера." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Помилка розпізнавання через ненадання назви вузла." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Помилка GSSAPI під час капсуляції лексеми." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Помилка GSSAPI під час декапсуляції лексеми." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Помилка GSSAPI під час отримання OID для назви механізму SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Помилка тестування GSSAPI під час роботи з OID у наборі OID." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Помилка GSSAPI під час звільнення набору OID." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "" "Помилка розпізнавання через ненадання унікальної для TLS прив’язки до каналу." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "" "У відповідь на зворотний виклик не повернуто ідентифікатора IdP SAML20 IdP." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" "У відповідь на зворотний виклик не отримано адреси переспрямування SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" "У відповідь на зворотний виклик не отримано адреси переспрямування OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Невідома помилка libgsasl" gsasl-1.8.1/lib/po/ro.gmo0000644000000000000000000002153413521017515012036 000000000000002C<HCIKJ=$<b<<@$Z2F$#2Bu+|MZ v & F W &n ' 4 $ y $ $ S [/ Z R R9 M Q S,RTR(P{ORQoQRFf;PROhE@<?>|G*D.Ys/08.g*H,k-.9!([& .3^bfe(]]XJ\^]__] [{ Z ]2!\!\!]J"Y"@#C# . +!'" ( -)1 2,%0 #/&$*Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.Integrity error in application payloadLibgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 0.2.2 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2004-12-29 12:00-0500 Last-Translator: Laurentiu Buzdugan Language-Team: Romanian Language: ro MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); Autentificarea a euat pentru c elementul (token) anonymous nu a fost furnizat.Autentificarea a euat pentru c identitatea de autentificare nu a fost furnizat.Autentificarea a euat pentru c identitatea de autorizare nu a fost furnizat.Autentificarea a euat pentru c nu a fost furnizat numele host-ului.Autentificarea a euat pentru c nu a fost furnizat passcode-ul.Autentificarea a euat pentru c nu a fost furnizat parola.Autentificarea a euat pentru c nu a fost furnizat codul pin.Autentificarea a euat pentru c nu a fost furnizat numele serviciului.Eroare encodare Base 64 n biblioteca SASLNu pot obine handle-ul intern pentru bibliotec (eroare bibliotec)Funcionalitate de partea clientului nu este disponibil n bibliotec (eroare aplicaie)Nu am putut nchide fiierul n biblioteca SASLNu am putut deschide fiierul n biblioteca SASLNu am reuit s realizez Normalizare Unicode pentru ir.Eroare GSSAPI la achiziionare datelor de acreditare n gss_acquire_cred() n biblioteca SASL. Cauza cea mai probabil este absena cheii Kerberos corespunztoare n /etc/krb5.keytab pe server.Eroare GSSAPI n client n timpul negocierii contextului de securitate n gss_init_sec_context() n biblioteca SASL. Aceasta se datoreaz cel mai probabil datelor de acreditare insuficiente sau interaciunii ruvoitoare.Eroare GSSAPI n timpul decriptrii sai decodrii datelor n gss_unwrap() n biblioteca SASL. Aceasta se datoreaz cel mai probabil corupiei datelor.Eroare GSSAPI n timpul cifrrii sau codrii datelor n biblioteca SASL.Biblioteca GSSAPI nu a putut dealoca memorie n gss_release_buffer() n biblioteca SASL. Aceasta este o eroare intern serioas.Eroare integritate n ncrctura aplicaieiSucces libgsaslEroare libgsasl necunoscutEroare crypto de nivel jos n biblioteca SASLEroare la alocarea memoriei n biblioteca SASLNici un callback specificat de apelant(eroare aplicaie).Nici un alt realm disponibil (non-fatal)O alt entitate a cerut protecia confidenialitii sau integritaii n mecanismul GSSAPI dar aceasta nu este implementat deocamdat.Mecanism SASL apelat de prea multe oriMecanismul SASL nu a putut interpreta intrareaMecanismul SASL are nevoie de callback-ul gsasl_client_callback_anonymous() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_authentication_id() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_authorization_id() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_passcode() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_password() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_pin() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_service() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_anonymous() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_cram_md5() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_digest_md5() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_external() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_gssapi() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_realm() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_retrieve() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_securid() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_service() (eroare aplicaie)Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_validate() (eroare aplicaie)Funcionalitate de partea serverului nu este disponibil n bibliotec (eroare aplicaie)Handle-ul bibliotecii furnizat a fost invalid (eroare aplicaie)Mecanism SASL necunoscutgsasl-1.8.1/lib/po/ro.po0000644000000000000000000003165713521017514011700 00000000000000# Mesajele n limba romn pentru libgsasl. # Copyright (C) 2004 Free Software Foundation, Inc. # Acest fiier este distribuit sub aceeai licen ca i pachetul gsasl. # Laurentiu Buzdugan , 2004. # # # msgid "" msgstr "" "Project-Id-Version: libgsasl 0.2.2\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2004-12-29 12:00-0500\n" "Last-Translator: Laurentiu Buzdugan \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Succes libgsasl" #: src/error.c:47 #, fuzzy msgid "SASL mechanism needs more data" msgstr "Mecanismul SASL are nevoie de date suplimentare" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Mecanism SASL necunoscut" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mecanism SASL apelat de prea multe ori" #: src/error.c:52 #, fuzzy msgid "SASL function needs larger buffer (internal error)" msgstr "funcia SASL are nevoie de un buffer mai larg (eroare intern)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Nu am putut deschide fiierul n biblioteca SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Nu am putut nchide fiierul n biblioteca SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Eroare la alocarea memoriei n biblioteca SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Eroare encodare Base 64 n biblioteca SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Eroare crypto de nivel jos n biblioteca SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_anonymous() " "(eroare aplicaie)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_password() " "(eroare aplicaie)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_passcode() " "(eroare aplicaie)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_pin() " "(eroare aplicaie)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul " "gsasl_client_callback_authorization_id() (eroare aplicaie)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul " "gsasl_client_callback_authentication_id() (eroare aplicaie)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_client_callback_service() " "(eroare aplicaie)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_validate() " "(eroare aplicaie)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_cram_md5() " "(eroare aplicaie)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_digest_md5() " "(eroare aplicaie)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_external() " "(eroare aplicaie)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_anonymous() " "(eroare aplicaie)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_realm() " "(eroare aplicaie)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_securid() " "(eroare aplicaie)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_service() " "(eroare aplicaie)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_gssapi() " "(eroare aplicaie)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Mecanismul SASL are nevoie de callback-ul gsasl_server_callback_retrieve() " "(eroare aplicaie)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Nu am reuit s realizez Normalizare Unicode pentru ir." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "" #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Mecanismul SASL nu a putut interpreta intrarea" #: src/error.c:116 #, fuzzy msgid "Error authenticating user" msgstr "Eroare la autentficarea utilizatorului" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Nu pot obine handle-ul intern pentru bibliotec (eroare bibliotec)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Eroare integritate n ncrctura aplicaiei" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Nici un alt realm disponibil (non-fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funcionalitate de partea clientului nu este disponibil n bibliotec " "(eroare aplicaie)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funcionalitate de partea serverului nu este disponibil n bibliotec " "(eroare aplicaie)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Biblioteca GSSAPI nu a putut dealoca memorie n gss_release_buffer() n " "biblioteca SASL. Aceasta este o eroare intern serioas." #: src/error.c:132 #, fuzzy msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Biblioteca GSSAPI nu a putut nelege un nume pereche n gss_import_name() " "n biblioteca SASL. Aceasta ar putea fi cauzat de furnizarea de date " "incorecte de ctre utilizator." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Eroare GSSAPI n client n timpul negocierii contextului de securitate n " "gss_init_sec_context() n biblioteca SASL. Aceasta se datoreaz cel mai " "probabil datelor de acreditare insuficiente sau interaciunii ruvoitoare." #: src/error.c:140 #, fuzzy msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Eroare GSSAPI n server n timpul negocierii contextului de securitate n " "gss_init_sec_context() n biblioteca SASL. Aceasta se datoreaz cel mai " "probabil datelor de acreditare insuficiente sau interaciunii ruvoitoare." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Eroare GSSAPI n timpul decriptrii sai decodrii datelor n gss_unwrap() n " "biblioteca SASL. Aceasta se datoreaz cel mai probabil corupiei datelor." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Eroare GSSAPI n timpul cifrrii sau codrii datelor n biblioteca SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Eroare GSSAPI la achiziionare datelor de acreditare n gss_acquire_cred() " "n biblioteca SASL. Cauza cea mai probabil este absena cheii Kerberos " "corespunztoare n /etc/krb5.keytab pe server." #: src/error.c:154 #, fuzzy msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Eroare GSSAPI la crearea numelui de afiat denotnd clientul n " "gss_display_name() n biblioteca SASL. Probabil c aceasta se datoreaz " "faptului c clientul a furinzat date incorecte." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "O alt entitate a cerut protecia confidenialitii sau integritaii n " "mecanismul GSSAPI dar aceasta nu este implementat deocamdat." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "" #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "" #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "" #: src/error.c:167 msgid "SecurID needs new pin." msgstr "" #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Handle-ul bibliotecii furnizat a fost invalid (eroare aplicaie)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Nici un callback specificat de apelant(eroare aplicaie)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Autentificarea a euat pentru c elementul (token) anonymous nu a fost " "furnizat." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Autentificarea a euat pentru c identitatea de autentificare nu a fost " "furnizat." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Autentificarea a euat pentru c identitatea de autorizare nu a fost " "furnizat." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Autentificarea a euat pentru c nu a fost furnizat parola." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Autentificarea a euat pentru c nu a fost furnizat passcode-ul." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Autentificarea a euat pentru c nu a fost furnizat codul pin." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "" "Autentificarea a euat pentru c nu a fost furnizat numele serviciului." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Autentificarea a euat pentru c nu a fost furnizat numele host-ului." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "" #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "" #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "" #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "" #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "" #: src/error.c:202 #, fuzzy msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Autentificarea a euat pentru c nu a fost furnizat numele host-ului." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "" #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Eroare libgsasl necunoscut" gsasl-1.8.1/lib/po/remove-potcdate.sin0000644000000000000000000000066013516321015014515 00000000000000# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } gsasl-1.8.1/lib/po/Makefile.in.in0000644000000000000000000004155313516321014013363 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.19 GETTEXT_MACRO_VERSION = 0.19 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SED = @SED@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot POFILESDEPS_yes = $(POFILESDEPS_) POFILESDEPS_no = POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) DISTFILESDEPS_ = update-po DISTFILESDEPS_yes = $(DISTFILESDEPS_) DISTFILESDEPS_no = DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-@USE_NLS@ all-yes: stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. CHECK_MACRO_VERSION = \ test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot @$(CHECK_MACRO_VERSION) test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. # The determination of whether the package xyz is a GNU one is based on the # heuristic whether some file in the top level directory mentions "GNU xyz". # If GNU 'find' is available, we avoid grepping through monster files. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed package_gnu="$(PACKAGE_GNU)"; \ test -n "$$package_gnu" || { \ if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \ -size -10000000c -exec grep 'GNU @PACKAGE@' \ /dev/null '{}' ';' 2>/dev/null; \ else \ LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ fi; \ } | grep -v 'libtool:' >/dev/null; then \ package_gnu=yes; \ else \ package_gnu=no; \ fi; \ }; \ if test "$$package_gnu" = "yes"; then \ package_prefix='GNU '; \ else \ package_prefix=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_prefix}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(POFILESDEPS) @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ esac; \ }; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ esac; \ }; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: # Recreate Makefile by invoking config.status. Explicitly invoke the shell, # because execution permission bits may not work on the current file system. # Use @SHELL@, which is the shell determined by autoconf for the use by its # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gsasl-1.8.1/lib/po/quot.sed0000644000000000000000000000023113516321015012363 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g gsasl-1.8.1/lib/po/pt_BR.po0000644000000000000000000003345213521017514012261 00000000000000# Brazilian Portuguese translations for gsasl package # Traduções em português brasileiro para o pacote gsasl. # Copyright (C) 2018 Free Software Foundation, Inc. # Copyright (C) 2018 Simon Josefsson # This file is distributed under the same license as the gsasl package. # Rafael Fontenelle , 2018. msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2018-04-22 07:01-0300\n" "Last-Translator: Rafael Fontenelle \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Virtaal 1.0.0-beta1\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Sucesso de libgsasl" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "O mecanismo SASL precisa de mais dados" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Mecanismo SASL desconhecido" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mecanismo SASL chamado em um número excessivo de vezes" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "A função SASL precisa de um buffer maior (erro interno)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Não foi possível abrir o arquivo na biblioteca SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Não foi possível fechar o arquivo na biblioteca SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Erro de alocação de memória na biblioteca SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Erro de codificação Base64 na biblioteca SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Erro de criptografia de baixo nível na biblioteca SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_client_callback_anonymous() (erro de aplicativo)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_client_callback_password() (erro de aplicativo)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_client_callback_passcode() (erro de aplicativo)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada gsasl_client_callback_pin() " "(erro de aplicativo)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_client_callback_authorization_id() (erro de aplicativo)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_client_callback_authentication_id() (erro de aplicativo)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_client_callback_service() (erro de aplicativo)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_validate() (erro de aplicativo)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_cram_md5() (erro de aplicativo)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_digest_md5() (erro de aplicativo)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_external() (erro de aplicativo)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_anonymous() (erro de aplicativo)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_realm() " "(erro de aplicativo)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_securid() (erro de aplicativo)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_service() (erro de aplicativo)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_gssapi() (erro de aplicativo)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "O mecanismo SASL precisa de retorno de chamada " "gsasl_server_callback_retrieve() (erro de aplicativo)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Falha ao realizar Normalização de Unicode na string." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Não foi possível preparar string internacionalizada (não ASCII)." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "O mecanismo SASL não pôde preparar a entrada" #: src/error.c:116 msgid "Error authenticating user" msgstr "Erro ao autenticar o usuário" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "" "Não foi possível obter o identificador da biblioteca interna (erro da " "biblioteca)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Erro de integridade na carga útil do aplicativo" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Não há mais reinos disponíveis (não fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funcionalidade do lado do cliente não disponível na biblioteca (erro de " "aplicativo)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funcionalidade do lado do servidor não disponível na biblioteca (erro de " "aplicativo)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "A biblioteca GSSAPI não pôde desalocar a memória em gss_release_buffer() na " "biblioteca SASL. Este é um erro interno grave." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "A biblioteca GSSAPI não conseguiu entender um nome de par em " "gss_import_name() na biblioteca SASL. Isso é mais provável devido ao serviço " "incorreto e/ou nomes de máquina." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Erro de GSSAPI no cliente durante a negociação do contexto de segurança em " "gss_init_sec_context() na biblioteca SASL. Isso provavelmente se deve a " "credenciais insuficientes ou interações maliciosas." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Erro de GSSAPI no servidor durante a negociação do contexto de segurança em " "gss_accept_sec_context() na biblioteca SASL. Isso provavelmente se deve a " "credenciais insuficientes ou interações maliciosas." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Erro de GSSAPI ao descriptografar ou decodificar dados em gss_unwrap() na " "biblioteca SASL. Isso é mais provável devido à corrupção de dados." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Erro de GSSAPI ao criptografar ou codificar dados em gss_wrap() na " "biblioteca SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Erro de GSSAPI ao adquirir credenciais em gss_acquire_cred() na biblioteca " "SASL. Isto é provavelmente devido a não ter a chave Kerberos adequada " "disponível no /etc/krb5.keytab no servidor." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Erro de GSSAPI ao criar um nome de exibição denotando o cliente em " "gss_display_name() na biblioteca SASL. Isso é provavelmente porque o cliente " "forneceu dados incorretos." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Outra entidade solicitou proteção de integridade ou confidencialidade no " "mecanismo GSSAPI, mas isso não está atualmente implementado." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Falha de inicialização de Kerberos v5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Erro interno de Kerberos v5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID precisa de senha numérica adicional." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID precisa de um novo pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "" "O identificador de biblioteca fornecido era inválido (erro de aplicativo)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "" "Nenhum retorno de chamada especificado pelo chamador (erro de aplicativo)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "A autenticação falhou porque o token anônimo não foi fornecido." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "A autenticação falhou porque a identidade de autenticação não foi fornecida." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "A autenticação falhou porque a identidade de autorização não foi fornecida." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "A autenticação falhou porque a senha não foi fornecida." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "A autenticação falhou porque a senha numérica não foi fornecida." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "A autenticação falhou porque o código pin não foi fornecido." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "A autenticação falhou porque o nome do serviço não foi fornecido." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "A autenticação falhou porque o nome de máquina não foi fornecido." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Erro de encapsulamento do GSSAPI." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Erro de desencapsulamento do GSSAPI." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Erro GSSAPI ao obter o OID para o nome do mecanismo SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Teste de erro GSSAPI para OID no conjunto OID." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Erro de GSSAPI ao liberar o conjunto OID." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "A autenticação falhou porque um CB exclusivo do tls não foi fornecido." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "O retorno de chamada falhou ao fornecer o identificador de SAML20 IdP." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" "O retorno de chamada falhou ao fornecer a URL de redirecionamento de SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" "O retorno de chamada falhou ao fornecer a URL de redirecionamento de " "OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Erro desconhecido de libgsasl" gsasl-1.8.1/lib/po/eo.gmo0000644000000000000000000002652113521017514012021 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4K<BG]F?:,;g;=,6J54CF0-w06 3,`$(( >* i '!(!."?"Y"|$##)D$$n$$$$-$0 %8=%+v%s%7&&N&)u&U&]&\S'T'T(OZ(S(U(TT)V)T*RU*Q*T*SO+S+T+&L,!s,,F,A,9-#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 20:25-0300 Last-Translator: Felipe Castro Language-Team: Esperanto Language: eo MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Aŭtentigo malsukcesis ĉar tls-unika CB ne estis provizata.Aŭtentigo malsukcesis ĉar la sennoma ĵetono ne estis provizata.Aŭtentigo malsukcesis ĉar la aŭtentiga identaĵo ne estis provizata.Aŭtentigo malsukcesis ĉar la permesiga identaĵo ne estis provizata.Aŭtentigo malsukcesis ĉar la gastigo-nomo ne estis provizata.Aŭtentigo malsukcesis ĉar la paskodo ne estis provizata.Aŭtentigo malsukcesis ĉar la pasvorto ne estis provizata.Aŭtentigo malsukcesis ĉar la PIN-kodo ne estis provizata.Aŭtentigo malsukcesis ĉar la servo-nomo ne estis provizata.Eraro pri kodigado base64 en biblioteko SASLEventvoko malsukcesis provizi rekondukan URL OPENID20.Eventvoko malsukcesis provizi identigilon SAML20 IdP.Eventvoko malsukcesis provizi rekondukan URL SAML20.Ni ne povis preni internan bibliotekan traktilon (biblioteka eraro)Klient-flanka funkciado ne disponeblas en biblioteko (aplikaĵa eraro)Ni ne povis fermi dosieron en biblioteko SASLNi ne povis malfermi dosieron en biblioteko SASLNi ne povis prepari internaciigitan (ne-ASCII) ĉenon.Eraro dum aŭtentigo de uzantoMalsukceso dum provo fari Unikoda Normigo en ĉeno.Eraro de GSSAPI dum akirado de legitimaĵoj en gss_acquire_cred() en biblioteko SASL. Tio ĉi okazas ordinare pro malhavo de taŭga ŝlosilo Kerberos disponebla en /etc/krb5.keytab en la servilo.Eraro de GSSAPI dum kreado de montrig-nomo reprezentanta la kliento en gss_display_name() en biblioteko SASL. Tio ĉi probable okazas ĉar la kliento liveris malĝustan datumaron.Eraro de GSSAPI dum elpakado de ĵetono.Eraro de GSSAPI dum enpakado de ĵetono.Eraro de GSSAPI dum prenado de OID por nomo de mekanismo SASL.Eraro de GSSAPI en kliento dum negocado de sekureca kunteksto en gss_init_sec_context() en biblioteko SASL. Tio ĉi okazas ordinare pro nesufiĉe da legitimaĵoj aŭ pro malicaj interagoj.Eraro de GSSAPI en servilo dum negocado de sekureca kunteksto en gss_accept_sec_context() en biblioteko SASL. Tio ĉi okazas ordinare pro nesufiĉe da legitimaĵoj aŭ pro malicaj interagoj.Eraro de GSSAPI dum ellasado de OID-aro.Eraro de GSSAPI dum testado de OID en OID-aro.Eraro de GSSAPI dum deĉifrado aŭ dekodado de datumaro en gss_unwrap() en biblioteko SASL. Tio ĉi okazas ordinare pro datumara rompiĝo.Eraro de GSSAPI dum enĉifrado aŭ enkodado de datumaro en gss_wrap() en biblioteko SASL.Biblioteko GSSAPI ne povis liberigi memoron en gss_release_buffer() en biblioteko SASL. Tio ĉi estas serioza interna eraro.Biblioteko GSSAPI ne povis kompreni samtavolanan nomon en gss_import_name() en biblioteko SASL. Tio ĉi okazas ordinare pro malĝusta servo kaj/aŭ gastig-nomoj.Eraro pri integreco en aplikaĵa datumaroMalsukceso dum ekigo de Kerberos V5.Interna eraro de Kerberos V5.Libgsasl sukcesasNekonata eraro de LibgsaslMalalt-nivela ĉifra eraro en biblioteko SASLEraro pri rezervado de memoro en biblioteko SASLNeniu cel-funkcio indikita de vokanto (aplikaĵa eraro).Neniu plia 'realm' disponeblaj (ne-ĉesiga)Alia estaĵo petis protekton de integreco aŭ sekreteco en mekanismo GSSAPI sed tio ĉi ne estas aktuale realigita.Funkcio SASL bezonas pli larĝan bufron (interna eraro)Mekanismo SASL vokita tro multaj fojojMekanismo SASL ne povis analizi la enigonMekanismo SASL bezonas eventvokon gsasl_client_callback_anonymous() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_client_callback_authentication_id() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_client_callback_authorization_id() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_client_callback_passcode() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_client_callback_password() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_client_callback_pin() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_client_callback_service() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_anonymous() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_cram_md5() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_digest_md5() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_external() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_gssapi() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_realm() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_retrieve() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_securid() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_service() (aplikaĵa eraro)Mekanismo SASL bezonas eventvokon gsasl_server_callback_validate() (aplikaĵa eraro)Mekanismo SASL bezonas pli da datumaroSecurID bezonas aldonan paskodon.SecurID bezonas novan PIN.Servil-flanka funkciado ne disponeblas en biblioteko (aplikaĵa eraro)La indikita biblioteka traktilo estis malvalida (aplikaĵa eraro)Nekonata mekanismo SASLgsasl-1.8.1/lib/po/fi.gmo0000644000000000000000000002700313521017514012010 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4K69FCL;3M23<%%JK:H6PQ*)D"<?_z*5 "` > !&}"7""Wk##C$$ %#%@%R%*l%#%5%.%y &;&,&/'V3'^']'UG(U(P(TD)U)U)WE*U*S*RG+U+T+TE,U,&,"-#:-P^-9--#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 14:45+0200 Last-Translator: Jorma Karvonen Language-Team: Finnish Language: fi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); Todennus epäonnistui koska tls-unique CB ei tarjottu.Todennus epäonnistui koska anonyymipolettia ei tarjottu.Todennus epäonnistui koska todennushenkilöllisyyttä ei tarjottu.Todennus epäonnistui koska käyttövaltuutushenkilöllisyyttä ei tarjottu.Todennus epäonnistui koska tietokoneen nimeä ei tarjottu.Todennus epäonnistui koska salakoodia ei tarjottu.Todennus epäonnistui koska salasanaa ei tarjottu.Todennus epäonnistui koska pin-koodia ei tarjottu.Todennus epäonnistui koska koska palvelunimeä ei tarjottu.Base 64-koodausvirhe SASL-kirjastossaVastakutsu ei kyennyt tarjoamaan OPENID20 uudelleenohjausverkko-osoitetta.Vastakutsu ei kyennyt tarjoamaan SAML20 IdP -pääavainta.Vastakutsu ei kyennyt tarjoamaan SAML20 uudelleenohjausverkko-osoitetta.Ei saada sisäistä kirjasto-osoitinta (kirjastovirhe)Asiakaspuolitoiminnallisuus ei ole käytetttävissä kirjastossa (sovellusvirhe)Ei voitu sulkea tiedostoa SASL-kirjastossaEi voitu avata tiedostoa SASL-kirjastossaEi voitu esikäsitellä kansainvälistettyä (ei-ASCII) merkkijonoa.Virhe todennettaessa käyttäjääUnicode-normeerauksen suorittaminen merkkijonolle epäonnistui.GSSAPI-virhe hankittaessa valtuustietoja funktiossa gss_acquire_cred() SASL-kirjastossa. Tämä johtuu luultavasti siitä, että ei ole käytettävissä oikeaa Kerberos-avainta palvelimen /etc/krb5.keytab-tiedostossa.GSSAPI-virhe luotaessa näyttönimeä osoittamaan asiakasta funktiossa gss_display_name() SASL-kirjastossa. Tämä johtuu luultavasti siitä, että asiakas toimitti virheellistä dataa.GSSAPI-virhekapseloinnin poistomerkkijono.GSSAPI-virhekapselointimerkkijono.GSSAPI-virhe haettaessa OID-tunnistetta SASL-mekanisminimelle.GSSAPI-virhe asiakkaalla kun neuvotellaan turvallisuusyhteydestä funktiossa gss_init_sec_context() SASL-kirjastossa. Tämä johtuu luultavasti riittämättömistä valtuustiedoista tai haitallisista vuorovaikutuksista.GSSAPI-virhe palvelimella neuvoteltaessa turvallisuusyhteydestä funktiossa gss_accept_sec_context() SASL-kirjastossa. Tämä johtuu luultavasti riittämättömistä valtuustiedoista tai haitallisista vuorovaikutuksista.GSSAPI-virhe julkaistaessa OID-joukko.GSSAPI-virhe testattaessa OID-tunnistetta OID-joukossa.GSSAPI-virhe purettaessa salausta tai koodausta funktiossa gss_unwrap() SASL-kirjastossa. Tämä johtuu luultavasti datan vääristymisestä.GSSAPI-virhe salattaessa tai koodattaessa dataa funktiossa gss_wrap() SASL-kirjastossa.GSSAPI-kirjasto ei voinut vapauttaa muistia funktiossa gss_release_buffer() SASL-kirjastossa. Tämä on vakava sisäinen virhe.GSSAPI-kirjasto ei ymmärrä vertaisnimeä funktiossa gss_import_name() SASL-kirjastossa. Tämä johtuu luultavasti virheellisestä palvelusta tai tietokonenimistä.Eheysvirhe sovelluslatauksessaKerberos V5-alustusvirhe.Kerberos V5-sisäinen virhe.Libgsasl onnistuiTuntematon Libgsasl-virheMatalan tason salausvirhe SASL-kirjastossaMuistinvarausvirhe SASL-kirjastossaKutsuja ei määritellyt vastakutsua (sovellusvirhe).Ei enää alueita käytettävissä (ei-vakava)Toinen olio vaatinut eheyttä tai luottamuksellista suojelua GSSAPI-mekanismissa, mutta sitä ei ole nykyisin toteutettu.SASL-funktio tarvitsee laajemman puskurin (sisäinen virhe)SASL-mekanismia kutsutaan liian monta kertaaSASL-mekanismi ei voinut jäsentää syötettäSASL-mekanismi tarvitsee gsasl_client_callback_anonymous()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_client_callback_authentication_id()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_client_callback_authorization_id()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_client_callback_passcode()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_client_callback_password()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_client_callback_pin()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_client_callback_service()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitse gsasl_server_callback_anonymous()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_cram_md5()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_digest_md5()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_external()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_gssapi()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_realm()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_retrieve()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_securid()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_service()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee gsasl_server_callback_validate()-vastakutsun (sovellusvirhe)SASL-mekanismi tarvitsee lisää dataaSecurID tarvitsee lisäsalakoodin.SecurID tarvitsee uuden pin-koodin.Palvelinpuolitoiminnallisuus ei ole käytettävissä kirjastossa (sovellusvirhe)Tarjottu kirjasto-osoitin on virheellinen (sovellusvirhe)Tuntematon SASL-mekanismigsasl-1.8.1/lib/po/en@quot.po0000644000000000000000000003334713521017513012670 00000000000000# English translations for libgsasl package. # Copyright (C) 2019 Simon Josefsson # This file is distributed under the same license as the libgsasl package. # Automatically generated, 2019. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.8.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2019-08-02 13:30+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en@quot\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl success" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL mechanism needs more data" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Unknown SASL mechanism" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "SASL mechanism called too many times" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL function needs larger buffer (internal error)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Could not open file in SASL library" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Could not close file in SASL library" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Memory allocation error in SASL library" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base 64 coding error in SASL library" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Low-level crypto error in SASL library" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Failed to perform Unicode Normalization on string." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Could not prepare internationalized (non-ASCII) string." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL mechanism could not parse input" #: src/error.c:116 msgid "Error authenticating user" msgstr "Error authenticating user" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Cannot get internal library handle (library error)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integrity error in application payload" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "No more realms available (non-fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "Client-side functionality not available in library (application error)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "Server-side functionality not available in library (application error)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5 initialization failure." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Kerberos V5 internal error." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID needs additional passcode." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID needs new pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "The provided library handle was invalid (application error)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "No callback specified by caller (application error)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Authentication failed because the anonymous token was not provided." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Authentication failed because the authentication identity was not provided." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Authentication failed because the authorization identity was not provided." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Authentication failed because the password was not provided." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Authentication failed because the passcode was not provided." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Authentication failed because the pin code was not provided." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Authentication failed because the service name was not provided." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Authentication failed because the host name was not provided." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI error encapsulating token." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI error decapsulating token." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI error getting OID for SASL mechanism name." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI error testing for OID in OID set." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI error releasing OID set." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Authentication failed because a tls-unique CB was not provided." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Callback failed to provide SAML20 IdP identifier." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Callback failed to provide SAML20 redirect URL." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Callback failed to provide OPENID20 redirect URL." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Libgsasl unknown error" gsasl-1.8.1/lib/po/sr.gmo0000644000000000000000000003616313521017515012046 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4 KvUmd:{kib_TiNymkuSxB U S.!l!C!b3"2"8#O%OR%t%6&6N'P(a(8)(**+;,?,6-9-2W-R-K-r).G..s/E$0Hj00G11~233244X55677488Y99K~:K:4;K;f;,F<#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-24 22:26+0200 Last-Translator: Мирослав Николић Language-Team: Serbian Language: sr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); Потврда идентитета није успела јер није дато тлс-јединствени ЦБ.Потврда идентитета није успела јер није дат анонимни токен.Потврда идентитета није успела јер није дат идентитет.Потврда идентитета није успела јер није дат идентитет овлашћивача.Потврда идентитета није успела јер није дато име домаћина.Потврда идентитета није успела јер није дат пропусни код.Потврда идентитета није успела јер није дата лозинка.Потврда идентитета није успела јер није дат пин код.Потврда идентитета није успела јер није дат назив услуге.Грешка 64-базног кодирања у САСЛ библиотециПовратни позив није успео да обезбеди ОПЕНИД20 адресу преусмерења.Повратни позив није успео да обезбеди САМЛ20 ИдП означавач.Повратни позив није успео да обезбеди САМЛ20 адресу преусмерења.Не могу да добавим унутрашњу ручку библиотеке (грешка библиотеке)Функционалност на страни клијента није доступна у библиотеци (грешка апликације)Не могу да затворим датотеку у САСЛ библиотециНе могу да отворим датотеку у САСЛ библиотециНе могу да припремим интернационализовану (не-АСКРИ) ниску.Грешка потврде идентитета корисникаНисам успео да обавим нормализацију Уникода на ниски.ГССАПИ грешка при прибављању уверења у gss_acquire_cred() у САСЛ библиотеци. сОво је највероватније зато што се немају одговарајући керберос кључеви у „/etc/krb5.keytab“ на серверу.ГССАПИ грешка приликом стварања приказаног назива које одређује клијента у gss_display_name() у САСЛ библиотеци. Ово је највероватније зато што је клијент доставио лоше податке.ГССАПИ грешка приликом ослобађања прстена.ГССАПИ грешка приликом обухватања прстена.ГССАПИ грешка приликом добављања ОИБ-а за назив САСЛ механизма.ГССАПИ грешка код клијента током уговарања заштитног склопа у gss_init_sec_context() у САСЛ библиотеци. Ово је највероватније због недовољних уверења или злонамерних активности.ГССАПИ грешка код сервера током уговарања заштитног склопа у gss_accept_sec_context() у САСЛ библиотеци. Ово је највероватније због недовољних уверења или злонамерних активности.ГССАПИ грешка приликом отпуштања ОИБ скупа.ГССАПИ грешка приликом испробавања ОИБ-а у ОИБ скупу.ГССАПИ грешка током дешифровања или декодирања података у gss_unwrap() у САСЛ библиотеци. Ово је највероватније због грешке у подацима.ГССАПИ грешка током шифровања или кодирања података у gss_wrap() у САСЛ библиотеци.ГССАПИ библиотека не може да поврати меморију са gss_release_buffer() у САСЛ библиотеци. Ово је озбиљна унутрашња грешка.ГССАПИ библиотека не разуме назив парњака у gss_import_name() у САСЛ библиотеци. Ово је највероватније због погрешне услуге и/или назива рачунара.Подаци апликације нису целовитиНије успело покретање Кербероса V5.Унутрашња грешка Кербероса V5.Успех ЛибгсаслаНепозната грешка ЛибгсаслаКрипто грешка ниског нивоа у САСЛ библиотециГрешка доделе меморије у САСЛ библиотециПозивач није навео ниједан повратни позив (грешка апликације).Нема више доступних домена (није кобно)Друга страна захтева заштиту целовитости или поверљивости у ГССАПИ механизму али ово тренутно није остварено.САСЛ функцији је потребна већа међумеморија (унутрашња грешка)САСЛ механизам је позван исувише путаСАСЛ механизам не може да рашчлани улазСАСЛ механизму је потребан gsasl_client_callback_anonymous() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_client_callback_authentication_id() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_client_callback_authorization_id() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_client_callback_passcode() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_client_callback_password() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_client_callback_pin() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_client_callback_service() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_anonymous() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_cram_md5() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_digest_md5() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_external() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_gssapi() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_realm() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_retrieve() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_securid() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_service() повратни позив (грешка апликације)САСЛ механизму је потребан gsasl_server_callback_validate() повратни позив (грешка апликације)Потребно је више података САСЛ механизмуБезбедниИБ захтева додатни пропусни код.БезбедниИБ захтева нови пин.Функционалност на страни сервера није доступна у библиотеци (грешка апликације)Дата ручка библиотеке је неисправна (грешка апликације)Непознат САСЛ механизамgsasl-1.8.1/lib/po/pt_BR.gmo0000644000000000000000000003003313521017515012416 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KI:CQPEkD:@1Er/NF7L~SU6u5C&6D{; $ !!90!j!6")#./#^#S#~D$$0s%(%%%%7&1T&J&.&'9'7'.'e+(m(l(dl)d)_6*c*e*d`+f+d,,b,a,dV-c-c.d.&.-/=/V]/J//#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2018-04-22 07:01-0300 Last-Translator: Rafael Fontenelle Language-Team: Brazilian Portuguese Language: pt_BR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n > 1); X-Generator: Virtaal 1.0.0-beta1 A autenticação falhou porque um CB exclusivo do tls não foi fornecido.A autenticação falhou porque o token anônimo não foi fornecido.A autenticação falhou porque a identidade de autenticação não foi fornecida.A autenticação falhou porque a identidade de autorização não foi fornecida.A autenticação falhou porque o nome de máquina não foi fornecido.A autenticação falhou porque a senha numérica não foi fornecida.A autenticação falhou porque a senha não foi fornecida.A autenticação falhou porque o código pin não foi fornecido.A autenticação falhou porque o nome do serviço não foi fornecido.Erro de codificação Base64 na biblioteca SASLO retorno de chamada falhou ao fornecer a URL de redirecionamento de OPENID20.O retorno de chamada falhou ao fornecer o identificador de SAML20 IdP.O retorno de chamada falhou ao fornecer a URL de redirecionamento de SAML20.Não foi possível obter o identificador da biblioteca interna (erro da biblioteca)Funcionalidade do lado do cliente não disponível na biblioteca (erro de aplicativo)Não foi possível fechar o arquivo na biblioteca SASLNão foi possível abrir o arquivo na biblioteca SASLNão foi possível preparar string internacionalizada (não ASCII).Erro ao autenticar o usuárioFalha ao realizar Normalização de Unicode na string.Erro de GSSAPI ao adquirir credenciais em gss_acquire_cred() na biblioteca SASL. Isto é provavelmente devido a não ter a chave Kerberos adequada disponível no /etc/krb5.keytab no servidor.Erro de GSSAPI ao criar um nome de exibição denotando o cliente em gss_display_name() na biblioteca SASL. Isso é provavelmente porque o cliente forneceu dados incorretos.Erro de desencapsulamento do GSSAPI.Erro de encapsulamento do GSSAPI.Erro GSSAPI ao obter o OID para o nome do mecanismo SASL.Erro de GSSAPI no cliente durante a negociação do contexto de segurança em gss_init_sec_context() na biblioteca SASL. Isso provavelmente se deve a credenciais insuficientes ou interações maliciosas.Erro de GSSAPI no servidor durante a negociação do contexto de segurança em gss_accept_sec_context() na biblioteca SASL. Isso provavelmente se deve a credenciais insuficientes ou interações maliciosas.Erro de GSSAPI ao liberar o conjunto OID.Teste de erro GSSAPI para OID no conjunto OID.Erro de GSSAPI ao descriptografar ou decodificar dados em gss_unwrap() na biblioteca SASL. Isso é mais provável devido à corrupção de dados.Erro de GSSAPI ao criptografar ou codificar dados em gss_wrap() na biblioteca SASL.A biblioteca GSSAPI não pôde desalocar a memória em gss_release_buffer() na biblioteca SASL. Este é um erro interno grave.A biblioteca GSSAPI não conseguiu entender um nome de par em gss_import_name() na biblioteca SASL. Isso é mais provável devido ao serviço incorreto e/ou nomes de máquina.Erro de integridade na carga útil do aplicativoFalha de inicialização de Kerberos v5.Erro interno de Kerberos v5.Sucesso de libgsaslErro desconhecido de libgsaslErro de criptografia de baixo nível na biblioteca SASLErro de alocação de memória na biblioteca SASLNenhum retorno de chamada especificado pelo chamador (erro de aplicativo).Não há mais reinos disponíveis (não fatal)Outra entidade solicitou proteção de integridade ou confidencialidade no mecanismo GSSAPI, mas isso não está atualmente implementado.A função SASL precisa de um buffer maior (erro interno)Mecanismo SASL chamado em um número excessivo de vezesO mecanismo SASL não pôde preparar a entradaO mecanismo SASL precisa de retorno de chamada gsasl_client_callback_anonymous() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_client_callback_authentication_id() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_client_callback_authorization_id() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_client_callback_passcode() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_client_callback_password() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_client_callback_pin() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_client_callback_service() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_anonymous() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_cram_md5() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_digest_md5() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_external() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_gssapi() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_realm() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_retrieve() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_securid() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_service() (erro de aplicativo)O mecanismo SASL precisa de retorno de chamada gsasl_server_callback_validate() (erro de aplicativo)O mecanismo SASL precisa de mais dadosSecurID precisa de senha numérica adicional.SecurID precisa de um novo pin.Funcionalidade do lado do servidor não disponível na biblioteca (erro de aplicativo)O identificador de biblioteca fornecido era inválido (erro de aplicativo)Mecanismo SASL desconhecidogsasl-1.8.1/lib/po/eo.po0000644000000000000000000003167013521017514011656 00000000000000# Esperanto translation. # Copyright (C) 2011, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Felipe Castro , 2011, 2012. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 20:25-0300\n" "Last-Translator: Felipe Castro \n" "Language-Team: Esperanto \n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl sukcesas" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Mekanismo SASL bezonas pli da datumaro" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Nekonata mekanismo SASL" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mekanismo SASL vokita tro multaj fojoj" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Funkcio SASL bezonas pli larĝan bufron (interna eraro)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Ni ne povis malfermi dosieron en biblioteko SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Ni ne povis fermi dosieron en biblioteko SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Eraro pri rezervado de memoro en biblioteko SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Eraro pri kodigado base64 en biblioteko SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Malalt-nivela ĉifra eraro en biblioteko SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_client_callback_anonymous() " "(aplikaĵa eraro)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_client_callback_password() (aplikaĵa " "eraro)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_client_callback_passcode() (aplikaĵa " "eraro)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_client_callback_pin() (aplikaĵa " "eraro)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_client_callback_authorization_id() " "(aplikaĵa eraro)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_client_callback_authentication_id() " "(aplikaĵa eraro)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_client_callback_service() (aplikaĵa " "eraro)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_validate() (aplikaĵa " "eraro)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_cram_md5() (aplikaĵa " "eraro)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_digest_md5() " "(aplikaĵa eraro)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_external() (aplikaĵa " "eraro)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_anonymous() " "(aplikaĵa eraro)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_realm() (aplikaĵa " "eraro)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_securid() (aplikaĵa " "eraro)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_service() (aplikaĵa " "eraro)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_gssapi() (aplikaĵa " "eraro)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Mekanismo SASL bezonas eventvokon gsasl_server_callback_retrieve() (aplikaĵa " "eraro)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Malsukceso dum provo fari Unikoda Normigo en ĉeno." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Ni ne povis prepari internaciigitan (ne-ASCII) ĉenon." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Mekanismo SASL ne povis analizi la enigon" #: src/error.c:116 msgid "Error authenticating user" msgstr "Eraro dum aŭtentigo de uzanto" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Ni ne povis preni internan bibliotekan traktilon (biblioteka eraro)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Eraro pri integreco en aplikaĵa datumaro" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Neniu plia 'realm' disponeblaj (ne-ĉesiga)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "Klient-flanka funkciado ne disponeblas en biblioteko (aplikaĵa eraro)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "Servil-flanka funkciado ne disponeblas en biblioteko (aplikaĵa eraro)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Biblioteko GSSAPI ne povis liberigi memoron en gss_release_buffer() en " "biblioteko SASL. Tio ĉi estas serioza interna eraro." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Biblioteko GSSAPI ne povis kompreni samtavolanan nomon en gss_import_name() " "en biblioteko SASL. Tio ĉi okazas ordinare pro malĝusta servo kaj/aŭ gastig-" "nomoj." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Eraro de GSSAPI en kliento dum negocado de sekureca kunteksto en " "gss_init_sec_context() en biblioteko SASL. Tio ĉi okazas ordinare pro " "nesufiĉe da legitimaĵoj aŭ pro malicaj interagoj." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Eraro de GSSAPI en servilo dum negocado de sekureca kunteksto en " "gss_accept_sec_context() en biblioteko SASL. Tio ĉi okazas ordinare pro " "nesufiĉe da legitimaĵoj aŭ pro malicaj interagoj." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Eraro de GSSAPI dum deĉifrado aŭ dekodado de datumaro en gss_unwrap() en " "biblioteko SASL. Tio ĉi okazas ordinare pro datumara rompiĝo." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Eraro de GSSAPI dum enĉifrado aŭ enkodado de datumaro en gss_wrap() en " "biblioteko SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Eraro de GSSAPI dum akirado de legitimaĵoj en gss_acquire_cred() en " "biblioteko SASL. Tio ĉi okazas ordinare pro malhavo de taŭga ŝlosilo " "Kerberos disponebla en /etc/krb5.keytab en la servilo." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Eraro de GSSAPI dum kreado de montrig-nomo reprezentanta la kliento en " "gss_display_name() en biblioteko SASL. Tio ĉi probable okazas ĉar la kliento " "liveris malĝustan datumaron." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Alia estaĵo petis protekton de integreco aŭ sekreteco en mekanismo GSSAPI " "sed tio ĉi ne estas aktuale realigita." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Malsukceso dum ekigo de Kerberos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Interna eraro de Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID bezonas aldonan paskodon." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID bezonas novan PIN." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "La indikita biblioteka traktilo estis malvalida (aplikaĵa eraro)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Neniu cel-funkcio indikita de vokanto (aplikaĵa eraro)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Aŭtentigo malsukcesis ĉar la sennoma ĵetono ne estis provizata." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Aŭtentigo malsukcesis ĉar la aŭtentiga identaĵo ne estis provizata." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "Aŭtentigo malsukcesis ĉar la permesiga identaĵo ne estis provizata." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Aŭtentigo malsukcesis ĉar la pasvorto ne estis provizata." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Aŭtentigo malsukcesis ĉar la paskodo ne estis provizata." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Aŭtentigo malsukcesis ĉar la PIN-kodo ne estis provizata." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Aŭtentigo malsukcesis ĉar la servo-nomo ne estis provizata." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Aŭtentigo malsukcesis ĉar la gastigo-nomo ne estis provizata." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Eraro de GSSAPI dum enpakado de ĵetono." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Eraro de GSSAPI dum elpakado de ĵetono." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Eraro de GSSAPI dum prenado de OID por nomo de mekanismo SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Eraro de GSSAPI dum testado de OID en OID-aro." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Eraro de GSSAPI dum ellasado de OID-aro." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Aŭtentigo malsukcesis ĉar tls-unika CB ne estis provizata." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Eventvoko malsukcesis provizi identigilon SAML20 IdP." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Eventvoko malsukcesis provizi rekondukan URL SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Eventvoko malsukcesis provizi rekondukan URL OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Nekonata eraro de Libgsasl" gsasl-1.8.1/lib/po/sv.po0000644000000000000000000003245313521017514011703 00000000000000# Swedish translation of libgsasl. # Copyright (C) 2006, 2007, 2009, 2017 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Daniel Nylander , 2006, 2007, 2009. # Sebastian Rasmussen , 2017. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2017-09-03 20:11+0800\n" "Last-Translator: Sebastian Rasmussen \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Poedit 2.0.3\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl lyckades" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL-mekanism behöver mer data" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Okänd SASL-mekanism" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "SASL-mekanism anropad för många gånger" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL-funktion behöver större buffert (internt fel)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Kunde inte öppna fil i SASL-bibliotek" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Kunde inte stänga fil i SASL-bibliotek" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Minnesallokeringsfel i SASL-bibliotek" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base 64-kodningsfel i SASL-bibliotek" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Lågnivåkrypteringsfel i SASL-bibliotek" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_client_callback_anonymous() " "(applikationsfel)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_client_callback_password() " "(applikationsfel)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_client_callback_passcode() " "(applikationsfel)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_client_callback_pin() " "(applikationsfel)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL-mekanism behöver återkoppling till " "gsasl_client_callback_authorization_id() (applikationsfel)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL-mekanism behöver återkoppling till " "gsasl_client_callback_authentication_id() (applikationsfel)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_client_callback_service() " "(applikationsfel)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_validate() " "(applikationsfel)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_cram_md5() " "(applikationsfel)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_digest_md5() " "(applikationsfel)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_external() " "(applikationsfel)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_anonymous() " "(applikationsfel)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_realm() " "(applikationsfel)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_securid() " "(applikationsfel)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_service() " "(applikationsfel)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_gssapi() " "(applikationsfel)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "SASL-mekanism behöver återkoppling till gsasl_server_callback_retrieve() " "(applikationsfel)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Misslyckades att genomföra Unicode-normalisering på sträng." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Kunde inte förbereda internationaliserad sträng (icke-ASCII)." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL-mekanism kunde inte tolka indata" #: src/error.c:116 msgid "Error authenticating user" msgstr "Fel vid autentisering av användare" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Kan inte hämta intern bibliotekshandtag (biblioteksfel)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integritetsfel i applikationsdatan" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Inga fler domäner tillgängliga (ej allvarligt)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funktionalitet på klientsida ej tillgänglig i bibliotek (applikationsfel)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funktionalitet på serversida ej tillgänglig i bibliotek (applikationsfel)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI-biblioteket kunde inte frigöra minne i gss_release_buffer() i SASL-" "bibliotek. Det här är ett allvarligt internt fel." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI-biblioteket kunde inte förstå namnet på en motpart i " "gss_import_name() i SASL-bibliotek. Det här kan bero på felaktig tjänst och/" "eller värdnamn." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-fel i klient vid förhandling av säkerhetskontext i " "gss_init_sec_context() i SASL-bibliotek. Det här är sannolikt på grund av " "otillräckliga befogenheter eller ondsinta interaktioner." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-fel i server vid förhandling av säkerhetskontext i " "gss_accept_sec_context() i SASL-bibliotek. Det här är sannolikt på grund av " "otillräckliga befogenheter eller ondsinta interaktioner." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI-fel vid dekryptering eller avkodning av data i gss_unwrap() i SASL-" "bibliotek. Det här är sannolikt på grund av korrupt data." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI-fel vid kryptering eller kodning av data i gss_wrap() i SASL-" "bibliotek." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI-fel vid inhämtning av befogenheter i gss_acquire_cred() i SASL-" "bibliotek. Det här är sannolikt på grund av att korrekt Kerberos-nyckel " "inte är tillgänglig i /etc/krb5.keytab på servern." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI-fel vid skapande av visningsnamn för klienten i gss_display_name() i " "SASL-bibliotek. Det här är antagligen på grund av att klienten skickade " "felaktig data." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Annan entitet begärde integritets- eller konfidentialitetsskydd i GSSAPI-" "mekanism men det är för närvarande inte implementerat." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5-initieringsfel." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Internt Kerberos V5-fel." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID behöver ytterligare lösenkod." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID behöver ny pin-kod." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Det angivna bibliotekshandtaget var ogiltig (applikationsfel)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "" "Ingen återkopplingsfunktion angavs av det anropande programmet " "(applikationsfel)" # Token.. bättre ord behövs! #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Autentisering misslyckades på grund av att den anonyma symbolen inte angavs." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Autentisering misslyckades på grund av att autentiseringsidentiteten inte " "angavs." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Autentisering misslyckades på grund av att auktoriseringsidentiteten inte " "angavs." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Autentisering misslyckades på grund av att lösenordet inte angavs." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Autentisering misslyckades på grund av att lösenfrasen inte angavs." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Autentisering misslyckades på grund av att PIN-koden inte angavs." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Autentisering misslyckades på grund av att tjänstenamnet inte angavs." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Autentisering misslyckades på grund av att värdnamnet inte angavs." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI-fel vid omslutning av symbol." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI-fel vid uppackning av symbol." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI-fel vid hämtning av OID för SASL-mekanismsnamn." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI-fel vid testning av OID i OID-mängd." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI-fel vid släpp av OID-mängd." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Autentisering misslyckades på grund av att en tls-unik CB inte angavs." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Återanrop misslyckades med att ange SAML20 IdP-identifierare." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Återanrop misslyckades med att ange SAML20-omdirigerings-URL." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Återanrop misslyckades med att ange OPENID20-omdirigerings-URL." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Okänt fel i libgsasl" gsasl-1.8.1/lib/po/da.gmo0000644000000000000000000002671713521017514012011 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4K@O3GG<5P<9>%<Eb=C?*Oj%%=.D4sp5 6T J !7^"8""SW#}#)$($'$%6%F%.[%+%7%.%~&2&$&*&U']u'\'T0(T(O(S*)U~)T)V)*T*R*Q(+Tz+S+S#,Tw,!,',-O.-:~--#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2015-05-14 15:00+0000 Last-Translator: Joe Hansen Language-Team: Danish Language: da MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); Godkendelse mislykkedes, da en tls-unique CB ikke var indeholdt.Godkendelse mislykkedes på grund af, at det anonyme symbol ikke var indeholdt.Godkendelse mislykkedes, da godkendelsesidentiteten ikke var indeholdt.Godkendelse mislykkedes, da godkendelsesidentiteten ikke var indeholdt.Godkendelse mislykkedes, da værtsnavnet ikke var indeholdt.Godkendelse mislykkedes, da koden ikke var indeholdt.Godkendelse mislykkedes, da adgangskoden ikke var indeholdt.Godkendelse mislykkedes, da pin-koden ikke var indeholdt.Godkendelse mislykkedes, da tjenestenavnet ikke var indeholdt.Base 64-kodningsfejl i SASL-bibliotekTilbagekald mislykkedes i at tilbyde OPENID20-videresendelsesadresse.Tilbagekald mislykkedes i at tilbyde SAML20 IdP-identifikatorTilbagekald mislykkedes i at tilbyde SAML20-videresendelsesadresse.Kan ikke indhente intern bibliotekshåndtering (biblioteksfejl)Funktionalitet på klientsiden er ikke tilgængelig i biblioteket (programfejl)Kunne ikke lukke fil i SASL-bibliotekKunne ikke åbne fil i SASL-bibliotekKunne ikke forberede internationaliseret (ikke-ASCII) streng.Der opstod en fejl under godkendelse af brugerKunne ikke udføre Unicode-normalisering på streng.GSSAPI-fejl under indhentelse af akkreditiver i gss_acquire_cred() i SASL-biblioteket. Dette skyldes sandsynligvis at den korrekt Kerberos-nøgle ikke er tilgængelig i /etc/krb5.keytab på serveren.GSSAPI-fejl under oprettelse af et skærmnavn der benævner klienten i gss_display_name() i SASL-biblioteket. Dette skyldes sandsynligvis at klienten leverede ugyldige data.Der opstod en GSSAPI-fejl under afkapsling af symbol.Der opstod en GSSAPI-fejl under indkapsling af symbol.Det opstod en GSSAPI-fejl under indhentelse af OID for SASL-mekanismenavn.GSSAPI-fejl i klient under forhandling af sikkerhedskontekst i gss_init_sec_context() i SASL-biblioteket. Dette skyldes sandsynligvis utilstrækkelige akkreditiver eller ondsindede interaktioner.GSSAPI-fejl i server under forhandling af sikkerhedskontekst i gss_init_sec_context() i SASL-biblioteket. Dette skyldes sandsynligvis utilstrækkelige akkreditiver eller ondsindede interaktioner.Der opstod en GSSAPI-fejl under frigivelse af OID-sæt.Der opstod en GSSAPI-fejl under test for OID i OID-sæt.GSSAPI-fejl under dekryptering eller afkodning af data i gss_unwrap() i SASL-biblioteket. Dette skyldes sandsynligvis dataødelægelse.GSSAPI-fejl under kryptering eller kodning af data i gss_wrap() i SASL-biblioteket.GSSAPI-biblioteket kunne ikke deallokere hukommelse i gss_release_buffer() i SASL-bibliotek. Dette er en seriøs intern fejl.GSSAPI-bibliotek kunne ikke forstå et modpartsnavn i gss_import_navn() i SASL-biblioteket. Dette skyldes sandsynligvis en ukorrekt tjeneste og/eller værtsnavne.Integritetsfejl i programmets nyttelast Kerberos V5-initialisering mislykkedes.Kerberos V5-intern fejl.Libgsasl succesLibgsasl ukendt fejlCrypto-fejl, på lavt niveau, i SASL-bibliotekHukommelsesallokeringsfejl i SASL-bibliotekIntet tilbagekald specificeret af kalder (programfejl).Ikke flere områder tilgængelige (ikke-fatal)Anden entitet anmod om integritets- eller fortrolighedsbeskyttelse i GSSAPI-mekanismen, men dette er endnu ikke implementeret.SASL-funktion kræver større buffer (intern fejl)SASL-mekanisme kaldt for mange gangeSASL-mekanisme kunne ikke fortolke inddataSASL-mekanisme skal bruge gsasl_client_callback_anonymous()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_client_callback_authentication_id()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_client_callback_authorization_id()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_client_callback_passcode()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_client_callback_password()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_client_callback_pin()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_client_callback_service()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_anonymous()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_cram_md5()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_digest_md5()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_external()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_gssapi()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_realm()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_retrieve()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_securid()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_service()-tilbagekald (programfejl)SASL-mekanisme skal bruge gsasl_server_callback_validate()-tilbagekald (programfejl)SASL-mekanisme kræver flere dataSecurID kræver yderligere adgangskode.SecurID kræver ny pin.Funktionalitet på serversiden er ikke tilgængelig i biblioteket (programfejl)Det tilbudte bibliotekshåndtag var ugyldigt (programfejl)Ukendt SASL-mekanismegsasl-1.8.1/lib/po/sk.gmo0000644000000000000000000002436313521017515012036 00000000000000<S(C)KmJ=<B<<@$:2_F$#7"Z2t] | M$ vr & #    & '5 4] $ y 21$d$S[Z^RR M_QSRSTRPNORQBQR9"X{F;,=C,Gp@8426g<.N HY0/D#H6lW`J-$$&DX4p(:> zH : , -+!bY!j!i'"a"a"\U#`#b$av$c$a<%_%^%a]&`&` 'a'''! (-(HJ(E(($%053"&+2 ;: 4-/7 8#!1.)96<*' (,Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2009-04-02 10:18+0100 Last-Translator: Ivan Masár Language-Team: Slovak Language: sk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2); Overenie zlyhalo, pretože nebol poskytnutý anonymný token.Overenie zlyhalo, pretože nebola poskytnutá identita na overenie.Overenie zlyhalo, pretože nebola poskytnutá identita na autorizáciu.Overenie zlyhalo, pretože nebol poskytnutý názov počítača.Overenie zlyhalo, pretože nebol poskytnutý kód hesla.Overenie zlyhalo, pretože nebolo poskytnuté heslo.Overenie zlyhalo, pretože nebol poskytnutý PIN kód.Overenie zlyhalo, pretože nebol poskytnutý názov služby.Chyba kódovania do 64 znakov v knižnici SASLNebolo možné získať vnútorný identiifikátor knižnice (chyba knižnice)Knižnica neposkytuje funkcionalitu na strane klienta (chyba aplikácie)V knižnici SASL nebolo možné zatvoriť súborV knižnici SASL nebolo možné otvoriť súborNebolo možné pripraviť internacionalizovaný (ne-ASCII) reťazec.Chyba pri overovaní používateľaNepodarilo sa vykonať Unicode normalizáciu reťazca.Chyba GSSAPI počas získavania privilégií vo funkcii gss_acquire_cred() v knižnici SASL. Pravdepodobne nemáte správny kľúč Kerberos v súbore /etc/krb5.keytab na serveri.Chyba GSSAPI počas tvorby zobrazovaného mena vo funkcii gss_display_name() v knižnici SASL. Pravdepodobne klient poskytol chybné údaje.Chyba GSSAPI klienta počas vyjednávania bezpečnostného kontextu vo funkcii gss_init_sec_context() v knižnici SASL. Pravdepodobne to spôsobilo nedostatočné oprávnenie alebo škodlivá infekcia.Chyba GSSAPI počas dešifrovania alebo dekódovania údajov vo funkcii gss_unwrap() v knižnici SASL. Pravdepodobne je to z dôvodu poškodených údajov.Chyba GSSAPI počas šifrovania alebo kódovania údajov vo funkcii gss_wrap() v knižnici SASL.Knižnica GSSAPI nemohla dealokovať pamäť vo funkcii gss_release_buffer() knižnice SASL. Toto je závažná vnútorná chyba.Knižnica GSSAPI nerozumela názvu duhého konca spojenia vo funkcii gss_import_name() knižnice SASL. Pravdepodobne to spôsobil neznámy názov služby a/alebo počítača.Chyba integrity v dátach aplikácieZlyhanie inicializácie Kerberos V5.Vnútorná chyba Kerberos V5.Libgsasl úspešnáNeznáma chyba LibgsaslNízkoúrovňová chyba šifrovania v knižnici SASLChyba alokácie pamäte v knižnici SASLVolajúci neuviedol obslužnú funkciu (chyba aplikácie).Nie sú dostupné žiadne ďalšie domény (nekritická chyba)Iná entita žiadala ochranu integrity alebo dôvernosti v mechanizme GSSAPI, to však nie je momentálne implementované.Funkcia SASL potrebuje väčší buffer (vnútorná chyba)Mechanizmus SASL bol zavolaný priveľakrátMechanizmus SASL nedokázal analyzovať vstupMechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_anonymous() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_authentication_id() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_authorization_id() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_passcode() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_password() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_pin() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_service() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_anonymous() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_cram_md5() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_digest_md5() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_external() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_gssapi() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_realm() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_retrieve() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_securid() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_service() (chyba aplikácie)Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_validate() (chyba aplikácie)Mechanizmus SASL potrebuje viac údajovSecurID potrebuje ďalšie heslo.SecurID potrebuje nový pin.Knižnica neposkytuje funkcionalitu na strane servera (chyba aplikácie)Poskytnutý identifikátor knižnice bol neplatný (chyba aplikácie)Neznámy mechanizmus SASLgsasl-1.8.1/lib/po/nl.gmo0000644000000000000000000002677313521017514012040 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4K??SJI:(:c:7=(O7x*5FQX,,F$K/pr& %9 A_ t!&H")o""L#f##/$%$ $%%32%,f%>%*%%6&#&%&Y'`_'`'X!(Xz(S(W')Y)X)Z2*X*V*U=+X+W+WD,X,",!-:-PV-<--#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl-1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-22 21:18+0200 Last-Translator: Benno Schulenberg Language-Team: Dutch Language: nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. X-Generator: Lokalize 1.0 Plural-Forms: nplurals=2; plural=(n != 1); Authenticatie is mislukt omdat geen TLS-unieke CB opgegeven is.Authenticatie is mislukt omdat geen anoniem token opgegeven is.Authenticatie is mislukt omdat geen authenticatie-identiteit opgegeven is.Authenticatie is mislukt omdat geen authorisatie-identiteit opgegeven is.Authenticatie is mislukt omdat geen hostnaam opgegeven is.Authenticatie is mislukt omdat geen wachtwoord gegeven is.Authenticatie is mislukt omdat geen wachtwoord gegeven is.Authenticatie is mislukt omdat geen pincode gegeven is.Authenticatie is mislukt omdat geen servicenaam opgegeven is.Base64-coderingsfout in SASL-bibliotheekTerugaanroep leverde geen OPENID20-doorverwijzings-URL.Terugaanroep leverde geen SAML20-IdP-naam.Terugaanroep leverde geen SAML20-doorverwijzings-URL.Kan geen handvat voor interne bibliotheek verkrijgen (bibliotheekfout)Functionaliteit voor cliënt is niet beschikbaar in bibliotheek (toepassingsfout)Kan bestand niet sluiten in SASL-bibliotheekKan bestand niet openen in SASL-bibliotheek Kan geïnternationaliseerde (niet-ASCII) tekenreeks niet voorbewerken.Fout bij authenticatie van gebruikerUnicode-normalisatie van tekenreeks is mislukt.GSSAPI-fout bij het verkrijgen van identificatiegegevens in gss_acquire_cred() in SASL-bibliotheek. Dit komt waarschijnlijk door het ontbreken van een juiste Kerberos-sleutel in /etc/krb5.keytab op de server.GSSAPI-fout bij aanmaken van weergavenaam voor cliënt in gss_display_name() in SASL-bibliotheek. Waarschijnlijk heeft de cliënt onjuiste gegevens opgegeven.GSSAPI-fout bij ontkapselen van token.GSSAPI-fout bij inkapselen van token.GSSAPI-fout bij verkrijgen van OID voor naam van SASL-mechanisme.GSSAPI-fout in cliënt bij onderhandelen over veiligheidscontext in gss_init_sec_context() in SASL-bibliotheek. Dit komt waarschijnlijk door onvoldoende identificatiegegevens of door kwaadwillige interventies.GSSAPI-fout in server bij onderhandelen over veiligheidscontext in gss_accept_sec_context() in SASL-bibliotheek. Dit komt waarschijnlijk door onvoldoende identificatiegegevens of door kwaadwillige interventies.GSSAPI-fout bij vrijgeven van OID-set.GSSAPI-fout bij testen op OID in OID-set.GSSAPI-fout bij decoderen van gegevens in gss_unwrap() in SASL-bibliotheek. Dit komt waarschijnlijk door beschadigde gegevens.GSSAPI-fout bij versleutelen van gegevens in gss_wrap() in SASL-bibliotheek.GSSAPI-bibliotheek kan geheugen niet vrijgeven in gss_release_buffer() in SASL-bibliotheek. **Dit is een ernstige interne fout**.GSSAPI-bibliotheek begrijpt naam van andere computer niet in gss_import_name() in SASL-bibliotheek. Dit komt waarschijnlijk door een onjuiste servicenaam of hostnaam.Integriteitsfout in pakketlading van toepassingKerberos V5-initialisatie is mislukt.**Interne fout** in Kerberos V5.Libgsasl: geluktLibgsasl: onbekende foutCryptografiefout op laag niveau in SASL-bibliotheekGeheugenreserveringsfout in SASL-bibliotheekAanroeper heeft geen terugaanroep opgegeven (toepassingsfout).Geen realms meer beschikbaar (niet fataal)Andere entiteit verzocht om bescherming van integriteit of vertrouwelijkheid in GSSAPI-methode, maar dat is nog niet geïmplementeerd.SASL-functie vereist grotere buffer (**interne fout**)SASL-methode is te vaak aangeroepenSASL-methode kan invoer niet ontledenSASL-methode vereist terugaanroep van gsasl_client_callback_anonymous() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_client_callback_authentication_id()(toepassingsfout)SASL-methode vereist terugaanroep van gsasl_client_callback_authorization_id() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_client_callback_passcode() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_client_callback_password() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_client_callback_pin() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_client_callback_service() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_anonymous() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_cram_md5() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_digest_md5() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_external() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_gssapi() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_realm() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_retrieve() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_securid() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_service() (toepassingsfout)SASL-methode vereist terugaanroep van gsasl_server_callback_validate() (toepassingsfout)SASL-methode vereist meer gegevensSecurID vereist extra wachtwoord.SecurID vereist nieuwe pin.Functionaliteit voor server is niet beschikbaar in bibliotheek (toepassingsfout)Het gegeven bibliotheekhandvat is ongeldig (toepassingsfout)Onbekende SASL-methodegsasl-1.8.1/lib/po/id.gmo0000644000000000000000000002640413521017514012012 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4K<9(>b=345H2~6(@DR>@D(\(>8 D  7 u!'!!N>"{" ######$$)-$$W$A|$)$}$=f%'%)%Z%bQ&a&Y'Yp'T'X(Zx(Y([-)Y)W)V;*Y*X*XE+Y+++"$,G,Ed,<,,#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-05-18 15:33+0700 Last-Translator: Andhika Padmawan Language-Team: Indonesian Language: id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Otentikasi gagal karena nama CB tls-unique tidak disediakan.Otentikasi gagal karena sembarang token tidak disediakan.Otentikasi gagal karena identitas otentikasi tidak disediakan.Otentikasi gagal karena identitas otorisasi tidak disediakan.Otentikasi gagal karena nama host tidak disediakan.Otentikasi gagal karena kode lewat tidak disediakan.Otentikasi gagal karena sandi lewat tidak disediakan.Otentikasi gagal karena kode pin tidak disediakan.Otentikasi gagal karena nama layanan tidak disediakan.Galat penyandian base 64 di pustaka SASLPanggil kembali gagal untuk menyediakan pengalihan URL OPENID20.Panggil kembali gagal untuk menyediakan pengidentifikasi SAML20 IdP.Panggil kembali gagal untuk menyediakan pengalihan URL SAML20.Tak bisa mendapatkan penanganan pustaka internal (galat pustaka)Fungsionalitas sisi-klien tidak tersedia di pustaka (galat aplikasi)Tak dapat menutup berkas di pustaka SASLTak dapat membuka berkas di pustaka SASLTak dapat menyiapkan benang (non-ASCII) terinternasionalisasi.Galat mengotentikasi penggunaGagal melakukan Normalisasi Sandi Universal pada benang.Galat GSSAPI mengambil kredensial di gss_acquire_cred() di pustaka SASL. Ini kelihatannya karena tidak memiliki kunci Kerberos asli yang tersedia di /etc/krb5.keytab di server.Galat GSSAPI membuat tampilan nama mendenotasi klien di gss_display_name() dipustaka SASL. Ini mungkin karena klien menyuplai data buruk.Galat GSSAPI mengeluarkan token.Galat GSSAPI menyelubungi token.Galat GSSAPI mendapatkan OID untuk nama mekanisme SASL.Galat GSSAPI di klien ketika bernegosiasi konteks keamanan di gss_init_sec_context() di pustaka SASL. Ini kelihatannya karena kredensial yang tidak cukup atau interaksi yang mencurigakan.Galat GSSAPI di server ketika bernegosiasi konteks keamanan di gss_accpet_sec_context() di pustaka SASL. Ini kelihatannya karena kredensial yang tidak cukup atau interaksi yang mencurigakan.Galat GSSAPI melepaskan set OID.Galat GSSAPI menguji OID dalam set OID.Galat GSSAPI ketika memecahkan atau mengawasandi data di gss_unwrap() di pustaka SASL. Ini kelihatannya karena data yang rusak.Galat GSSAPI ketika enkripsi atau menyandi data di gss_wrap() di pustaka SASL.Pustaka GSSAPI tak dapat melepas alokasi memori di gss_release_buffer() di pustaka SASL. Ini adalah galat internal serius.Pustaka GSSAPI tidak mengerti nama peer di gss_import_name() di pustaka SASL. Ini kelihatannya karena layanan dan/atau nama host yang tidak tepat.Galat integritas di pemuat aplikasiKegagalan inisialisasi Kerberos V5.Galat internal Kerberos V5.Libgsasl suksesGalat tak diketahui libgsaslGalat kripto level rendah di pustaka SASLGalat alokasi memori di pustaka SASLTak ada panggil balik ditentukan oleh pemanggil (galat aplikasi).Tak ada lagi kawasan tersedia (tak-fatal)Entitas lain meminta proteksi integritas atau konfidensialitas di mekanisme GSSAPI tapi ini saat ini belum diimplementasikan.Fungsi SASL memerlukan penyangga lebih besar (galat internal)Mekanisme SASL dipanggil terlalu seringMekanisme SASL tak dapat mengurai masukanMekanisme SASL memerlukan panggil balik gsasl_client_callback_anonymous() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_client_callback_authentication_id() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_client_callback_authorization_id() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_client_callback_passcode() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_client_callback_password() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_client_callback_pin() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_client_callback_service() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_anonymous() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_cram_md5() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_digest_md5() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_external() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_gssapi() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_realm() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_retrieve() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_securid() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_server_callback_service() (galat aplikasi)Mekanisme SASL memerlukan panggil balik gsasl_client_callback_validate() (galat aplikasi)Mekanisme SASL memerlukan lebih banyak dataSecurID memerlukan sandi tambahan.SecurID memerlukan pin baru.Fungsionalitas sisi-server tidak tersedia di pustaka (galat aplikasi)Penanganan pustaka yang diberikan tidak sah (galat aplikasi)Mekanisme SASL tak diketahuigsasl-1.8.1/lib/po/sk.po0000644000000000000000000003164513521017514011672 00000000000000# Slovak translation of libgsasl. # Copyright (C) 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Ivan Masár , 2008, 2009. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2009-04-02 10:18+0100\n" "Last-Translator: Ivan Masár \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl úspešná" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Mechanizmus SASL potrebuje viac údajov" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Neznámy mechanizmus SASL" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mechanizmus SASL bol zavolaný priveľakrát" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Funkcia SASL potrebuje väčší buffer (vnútorná chyba)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "V knižnici SASL nebolo možné otvoriť súbor" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "V knižnici SASL nebolo možné zatvoriť súbor" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Chyba alokácie pamäte v knižnici SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Chyba kódovania do 64 znakov v knižnici SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Nízkoúrovňová chyba šifrovania v knižnici SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu " "gsasl_client_callback_anonymous() (chyba aplikácie)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_password() " "(chyba aplikácie)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_passcode() " "(chyba aplikácie)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_pin() " "(chyba aplikácie)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu " "gsasl_client_callback_authorization_id() (chyba aplikácie)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu " "gsasl_client_callback_authentication_id() (chyba aplikácie)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_client_callback_service() " "(chyba aplikácie)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_validate() " "(chyba aplikácie)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_cram_md5() " "(chyba aplikácie)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu " "gsasl_server_callback_digest_md5() (chyba aplikácie)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_external() " "(chyba aplikácie)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu " "gsasl_server_callback_anonymous() (chyba aplikácie)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_realm() " "(chyba aplikácie)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_securid() " "(chyba aplikácie)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_service() " "(chyba aplikácie)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_gssapi() " "(chyba aplikácie)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Mechanizmus SASL potrebuje obslužnú funkciu gsasl_server_callback_retrieve() " "(chyba aplikácie)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Nepodarilo sa vykonať Unicode normalizáciu reťazca." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Nebolo možné pripraviť internacionalizovaný (ne-ASCII) reťazec." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Mechanizmus SASL nedokázal analyzovať vstup" #: src/error.c:116 msgid "Error authenticating user" msgstr "Chyba pri overovaní používateľa" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Nebolo možné získať vnútorný identiifikátor knižnice (chyba knižnice)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Chyba integrity v dátach aplikácie" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Nie sú dostupné žiadne ďalšie domény (nekritická chyba)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "Knižnica neposkytuje funkcionalitu na strane klienta (chyba aplikácie)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "Knižnica neposkytuje funkcionalitu na strane servera (chyba aplikácie)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Knižnica GSSAPI nemohla dealokovať pamäť vo funkcii gss_release_buffer() " "knižnice SASL. Toto je závažná vnútorná chyba." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Knižnica GSSAPI nerozumela názvu duhého konca spojenia vo funkcii " "gss_import_name() knižnice SASL. Pravdepodobne to spôsobil neznámy názov " "služby a/alebo počítača." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Chyba GSSAPI klienta počas vyjednávania bezpečnostného kontextu vo funkcii " "gss_init_sec_context() v knižnici SASL. Pravdepodobne to spôsobilo " "nedostatočné oprávnenie alebo škodlivá infekcia." #: src/error.c:140 #, fuzzy msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Chyba GSSAPI klienta počas vyjednávania bezpečnostného kontextu vo funkcii " "gss_init_sec_context() v knižnici SASL. Pravdepodobne to spôsobilo " "nedostatočné oprávnenie alebo škodlivá infekcia." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Chyba GSSAPI počas dešifrovania alebo dekódovania údajov vo funkcii " "gss_unwrap() v knižnici SASL. Pravdepodobne je to z dôvodu poškodených " "údajov." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Chyba GSSAPI počas šifrovania alebo kódovania údajov vo funkcii gss_wrap() v " "knižnici SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Chyba GSSAPI počas získavania privilégií vo funkcii gss_acquire_cred() v " "knižnici SASL. Pravdepodobne nemáte správny kľúč Kerberos v súbore /etc/krb5." "keytab na serveri." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Chyba GSSAPI počas tvorby zobrazovaného mena vo funkcii gss_display_name() v " "knižnici SASL. Pravdepodobne klient poskytol chybné údaje." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Iná entita žiadala ochranu integrity alebo dôvernosti v mechanizme GSSAPI, " "to však nie je momentálne implementované." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Zlyhanie inicializácie Kerberos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Vnútorná chyba Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID potrebuje ďalšie heslo." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID potrebuje nový pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Poskytnutý identifikátor knižnice bol neplatný (chyba aplikácie)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Volajúci neuviedol obslužnú funkciu (chyba aplikácie)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Overenie zlyhalo, pretože nebol poskytnutý anonymný token." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Overenie zlyhalo, pretože nebola poskytnutá identita na overenie." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "Overenie zlyhalo, pretože nebola poskytnutá identita na autorizáciu." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Overenie zlyhalo, pretože nebolo poskytnuté heslo." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Overenie zlyhalo, pretože nebol poskytnutý kód hesla." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Overenie zlyhalo, pretože nebol poskytnutý PIN kód." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Overenie zlyhalo, pretože nebol poskytnutý názov služby." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Overenie zlyhalo, pretože nebol poskytnutý názov počítača." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "" #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "" #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "" #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "" #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "" #: src/error.c:202 #, fuzzy msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Overenie zlyhalo, pretože nebol poskytnutý názov počítača." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "" #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Neznáma chyba Libgsasl" gsasl-1.8.1/lib/po/pl.po0000644000000000000000000003277513521017514011675 00000000000000# Polish translation for libgsasl. # Copyright (C) 2004, 2005, 2007, 2009, 2011, 2012 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Jakub Bogusz , 2004-2012. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-21 19:02+0200\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Sukces libgsasl" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Mechanizm SASL wymagaja więcej danych" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Nieznany mechanizm SASL" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mechanizm SASL wywołany zbyt dużo razy" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Funkcja SASL wymaga większego bufora (błąd wewnętrzny)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Nie można otworzyć pliku w bibliotece SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Nie można zamknąć pliku w bibliotece SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Błąd przydzielania pamięci w bibliotece SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Błąd kodowania base64 w bibliotece SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Błąd kryptografii niskiego poziomu w bibliotece SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_anonymous() " "(błąd aplikacji)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_password() " "(błąd aplikacji)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_passcode() " "(błąd aplikacji)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_pin() (błąd " "aplikacji)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego " "gsasl_client_callback_authorization_id() (błąd aplikacji)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego " "gsasl_client_callback_authentication_id() (błąd aplikacji)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_client_callback_service() " "(błąd aplikacji)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_validate() " "(błąd aplikacji)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_cram_md5() " "(błąd aplikacji)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_digest_md5() " "(błąd aplikacji)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_external() " "(błąd aplikacji)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_anonymous() " "(błąd aplikacji)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_realm() " "(błąd aplikacji)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_securid() " "(błąd aplikacji)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_service() " "(błąd aplikacji)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_gssapi() " "(błąd aplikacji)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Mechanizm SASL wymaga wywołania zwrotnego gsasl_server_callback_retrieve() " "(błąd aplikacji)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Nie udało się przeprowadzić normalizacji unikodowej łańcucha." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Nie można przygotować umiędzynarodowionego łańcucha (nie-ASCII)." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Mechanizm SASL nie był w stanie przeanalizować wejścia" #: src/error.c:116 msgid "Error authenticating user" msgstr "Błąd uwierzytelniania użytkownika" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Nie można uzyskać wewnętrznego uchwytu biblioteki (błąd biblioteki)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Błąd spójności w danych aplikacji" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Nie ma więcej dostępnych dziedzin (niekrytyczne)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funkcjonalność strony klienta niedostępna w bibliotece (błąd aplikacji)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funkcjonalność strony serwera niedostępna w bibliotece (błąd aplikacji)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Biblioteka GSSAPI nie mogła zwolnić pamięci w gss_release_buffer() w " "bibliotece SASL. To jest poważny błąd wewnętrzny." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Biblioteka GSSAPI nie zrozumiała nazwy partnera w gss_import_name() w " "bibliotece SASL. Najprawdopodobniej jest to spowodowane błędnymi nazwami " "usług i/lub hostów." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Błąd GSSAPI w kliencie podczas negocjacji kontekstu bezpieczeństwa w " "gss_init_sec_context() w bibliotece SASL - najprawdopodobniej spowodowany " "niewystarczającym uwierzytelnieniem lub złymi wpływami." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Błąd GSSAPI w serwerze podczas negocjacji kontekstu bezpieczeństwa w " "gss_accept_sec_context() w bibliotece SASL - najprawdopodobniej spowodowany " "niewystarczającym uwierzytelnieniem lub złymi wpływami." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Błąd GSSAPI podczas odszyfrowywania lub odkodowywania danych w gss_unwrap() " "w bibliotece SASL - najprawdopodobniej spowodowany uszkodzeniem danych." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Błąd GSSAPI podczas szyfrowania lub kodowania danych w gss_wrap() w " "bibliotece SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Błąd GSSAPI podczas otrzymywania uwierzytelnienia w gss_acquire_cred() w " "bibliotece SASL - najprawdopodobniej spowodowany brakiem odpowiedniego " "klucza Kerberosa w /etc/krb5.keytab na serwerze." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Błąd GSSAPI podczas tworzenia nazwy oznaczającej klienta w " "gss_display_name() w bibliotece SASL - prawdopodobnie z powodu błędnych " "danych otrzymanych od klienta." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Inna jednostka zażądała zabezpieczenia spójności lub poufności w mechanizmie " "GSSAPI, ale nie jest on aktualnie zaimplementowany." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Błąd inicjalizacji Kerberosa V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Błąd wewnętrzny Kerberosa V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID wymaga dodatkowego hasła." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID wymaga nowego PIN-u." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Błędny dostarczony uchwyt biblioteki (błąd aplikacji)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Wywołujący nie przekazał wywołania zwrotnego (błąd aplikacji)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano anonimowego " "tokena." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano tożsamości " "uwierzytelnienia." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano tożsamości " "autoryzacji." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano hasła." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "" "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano tajnego kodu." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano kodu PIN." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "" "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano nazwy usługi." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "" "Uwierzytelnienie nie powiodło się, ponieważ nie przekazano nazwy hosta." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Błąd GSSAPI podczas opakowywania tokenu." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Błąd GSSAPI podczas rozpakowywania tokenu." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Błąd GSSAPI przy pobieraniu OID-a dla nazwy mechanizmu SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Błęd GSSAPI przy sprawdzaniu obecności OID-a w zbiorze." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Błąd GSSAPI przy zwalnianiu zbioru OID-ów." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "" "Uwierzytelnienie nie powiodło się, ponieważ nie zapewniono CB unikalnego dla " "TLS." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Wywołanie zwrotne nie dostarczyło identyfikatora SAML20 IdP." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Wywołanie zwrotne nie dostarczyło URL-a przekierowującego SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Wywołanie zwrotne nie dostarczyło URL-a przekierowującego OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Nieznany błąd libgsasl" gsasl-1.8.1/lib/po/de.gmo0000644000000000000000000002760313521017514012010 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KLN%[tXC)CmC>G4+|D<B*GmZ86IH(8+) )!D+!p!O"+0#4\##Q5$$%0%(& ,&M&b&7~&>&?&45'j'A'$>(,c(X(_(UI)V)V)QM*U*W*VM+X+V+TT,S,U,US-U-V-!V.+x.".Y.I!/k/#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-06-08 21:53-0700 Last-Translator: Arun Persaud Language-Team: German Language: de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Autentifizierung fehlgeschlagen, da kein tls-unique CB bereitgestellt wurde.Authentifizierung fehlgeschlagen, da kein anonymes Token bereitgestellt wurde.Authentifizierung fehlgeschlagen, da keine Identität zum Authentifizieren angegeben wurde.Authentifizierung fehlgeschlagen, da keine Identität zur Autorisierung angegeben wurde.Authentifizierung fehlgeschlagen, da kein Hostname angegeben wurde.Authentifizierung fehlgeschlagen, da kein Passkode angegeben wurde.Authentifizierung fehlgeschlagen, da kein Passwort angegeben wurde.Authentifizierung fehlgeschlagen, da kein Pin angegeben wurde.Authentifizierung fehlgeschlagen, da kein Service-Name angegeben wurde.Base-64 Kodierungsfehler in SASL-BibliothekRückruf verfehlte eine OPENID20-Weiterleitungs-URL bereitzustellen.Rückruf verfehlte einen SAML20 IdP-Kennung bereitzustellen.Rückruf verfehlte eine SMAL20-Weiterleitungs-URL bereitzustellen.Konnte Handle der internen Bibliothek nicht erhalten (Bibliothekfehler)Funktionalität seitens des Clients nicht verfügbar in der Bibliothek (Andwendungsfehler)Datei in SASL-Bibliothek konnte nicht geschlossen werdenDatei in SASL-Bibliothek konnte nicht geöffnet werdenKonnte internationalisierte Zeichenkette (nicht-ASCII) nicht vorbereitenFehler beim Authentisieren des BenutzersUnicode-Normalisierung einer Zeichenkette fehlgeschlagenGSSAPI-Fehler beim Erwerben der Zeugnisse in gss_acquire_cred() in der SASL-Bibliothek. Dies ist höchstwahrscheinlich bedingt durch einen inkorrekten Kerberos-Schlüssel in /etc/krb5.keytab auf dem Server.GSSAPI-Fehler beim Erstellen einen Bildschirmnamens zum Kennzeichnen des Clients in gss_display_name() in der SASL-Bibliothek. Dies ist wahrscheinlich bedingt durch inkorrete Daten, die vom Client bereitgestellt wurden. GSSAPI-Fehler beim Entkapseln des Tokens.GSSAPI-Fehler beim Verkapseln des Tokens.GSSAPI-Fehler beim Erhalten des OID für den Namen der SASL-Methode.GSSAPI-Fehler im Client während der Verhandlung des Sicherheitskontexts in gss_init_sec_context() in der SASL-Bibliothek. Dies ist höchstwahrscheinlich bedingt durch unzureichende Zeugnisse oder bösartige Interaktionen.GSSAPI-Fehler im Server während der Verhandlung des Sicherheitskontexts in gss_accept_sec_context() in der SASL-Bibliothek. Dies ist höchstwahrscheinlich bedingt durch unzureichende Zeugnisse oder bösartige Interaktionen.GSSAPI-Fehler beim Freigeben der OID-Menge.GSSAPI-Fehler beim Prüfen des OID in der OID-Menge.GSSAPI-Fehler während der Entschlüsselung von Daten in gss_unwrap() in der SASL-Bibliothek. Dies ist höchstwahrscheinlich bedingt durch Verfälschung der Daten.GSSAPI-Fehler beim Verschlüsseln von Daten in gss_wrap() in der SASL-Bibliothek.GSSAPI-Bibliothek konnte Speicher in gss_release_buffer() in SASL-Bibliothek nicht freigeben. Dies ist ein gravierender interner Fehler.GSSAPI-Bibliothek konnte einen Peernamen in gss_import_name() in der SASL-Bibliothek nicht verstehen. Dies ist höchstwahrscheinlich bedingt durch einen inkorrekten Service- und/oder Hostnamen.Integritätsfehler in der Nutzlast der AnwendungInitialisierungsfehler von Kerbereos V5.Interner Fehler von Kerberos V5.Libgsasl erfolgreichLibgsasl unbekannter FehlerKryptographischer systemnaher Fehler in SASL-BibliothekSpeicher konnte nicht bereitgestellt werden in SASL-BibliothekKeine Rückrufsfunktions vom Aufruf angeben (Anwendungsfehler).Keine Gebiete (realms) mehr verfügbar (nicht fatal)Eine andere Entität beantragte Integritäts- oder Geheimhaltungssicherung in der GSSAPI-Methode, aber dies wird gegenwärtig nicht unterstützt.SASL-Funktion benötigt einen größeren Puffer (interner Fehler)SASL-Methode wurde zu oft aufgerufenSASL-Methode konnte die Eingabe nicht parsenSASL-Methode benötigt gsasl_client_callback_anonymous() Rückruf (Fehler in Andwendung)SASL-Methode benötigt gsasl_client_callback_authentication_id() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_client_callback_service() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_client_callback_passcode() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_client_callback_password() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_client_callback_pin() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_client_callback_service() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_anonymous() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_cram_md5() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_digest_md5() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_external() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_gssapi() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_realm() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_retrive() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_securid() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_service() Rückruf (Fehler in Anwendung)SASL-Methode benötigt gsasl_server_callback_validate() Rückruf (Fehler in Anwendung)SASL-Methode benötigt mehr DatenSecurID benötigt einen weiteren Passcode. SecurID benötigt einen neuen Pin.Funktionalität seitens des Servers nicht verfügbar in der Bibliothek (Anwendungsfehler)Der bereitgestellte Bibliotheken-Handle ist ungültigt (Anwendungsfehler)Unbekannte SASL-Methodegsasl-1.8.1/lib/po/fr.gmo0000644000000000000000000003024413521017514012022 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KJJSYUHNHIK*Kv7:558kXY;W9Q*?Jd )$!'N!?v!!"(i#,##ib$$\%4&(H&q&&&=&7&>6'2u''B/($r(1(b(j,)i)a*ac*\*`"+b+a+cH,a,_-^n-a-`/.`.a./S/2/-/Z/L?00#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2012-10-01 19:05-0400 Last-Translator: David Prévot Language-Team: French Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8-bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n > 1); X-Generator: Lokalize 1.4 Échec d'authentification parce que le CB unique TLS n'a pas été fourni.Échec d'authentification parce que le jeton anonyme n'a pas été fourni.Échec d'authentification parce que l'identité d'authentification n'a pas été fournie.Échec d'authentification parce que l'identité d'autorisation n'a pas été fournie.Échec d'authentification parce que le nom d'hôte n'a pas été fourni.Échec d'authentification parce que le code secret n'a pas été fourni.Échec d'authentification parce que le mot de passe n'a pas été fourni.Échec d'authentification parce que le code personnel n'a pas été fourni.Échec d'authentification parce que le nom de service n'a pas été fourni.Erreur de codage en base 64 dans la bibliothèque SASLÉchec d'appel pour fournir l'URL de redirection OPENID20.Échec d'appel pour fournir l'identifiant IdP SAML20.Échec d'appel pour fournir l'URL de redirection SAML20.Impossible d'obtenir la gestion de la bibliothèque interne (erreur de la bibliothèque)Fonctionnalité côté client non disponible dans la bibliothèque (erreur d'application)Impossible de fermer le fichier dans la bibliothèques SASLImpossible d'ouvrir le fichier dans la bibliothèque SASLImpossible de préparer une chaîne de caractères internationalisée (non ASCII)Erreur d'authentification de l'utilisateurÉchec d'exécution de la normalisation Unicode sur la chaîne.Erreur GSSAPI lors de l'acquisition de références dans gss_acquire_cred() de la bibliothèque SASL. C'est sans doute dû à l'utilisation d'une clef Kerberos erronée disponible dans /etc/krb5.keytab sur le serveur.Erreur GSSAPI lors de la création d'un nom d'affichage pour le client dans gss_display_name() de la bibliothèque SASL. C'est sans doute dû à des données erronées fournies par le client.Erreur GSSAPI du jeton de décapsulation.Erreur GSSAPI du jeton d'encapsulation.Erreur GSSAPI d'obtention d'OID pour le nom de mécanisme SASL.Erreur GSSAPI dans le client lors de la négociation du contexte de sécurité dans gss_init_sec_context() de la bibliothèque SASL. C'est sans doute dû à des références ou des interactions malveillantes.Erreur GSSAPI dans le serveur lors de la négociation du contexte de sécurité dans gss_accept_sec_context() de la bibliothèque SASL. C'est sans doute dû à des références insuffisantes ou des interactions malveillantes.Erreur GSSAPI de publication du jeu OID.Erreur GSSAPI d'essai d'OID dans le jeu OID.Erreur GSSAPI lors du déchiffrement ou du décodage des données dans gss_unwrap() de la bibliothèque SASL. C'est sans doute dû à une corruption des données.Erreur GSSAPI lors du chiffrement ou de l'encodage des données dans gss_wrap() de la bibliothèque SASL.La bibliothèque GSSAPI ne peut pas désallouer la mémoire dans gss_release_buffer() de la bibliothèque SASL. C'est une erreur interne grave.La bibliothèque GSSAPI ne peut pas comprendre le nom d'un pair dans gss_import_name() de la bibliothèque SASL. C'est probablement dû à un service ou des noms d'hôtes incorrects.Erreur d'intégrité dans la charge de l'applicationÉchec d'initialisation de Kerberos V5.Erreur interne de Kerberos V5.Réussite de libgsaslErreur libgsasl inconnueErreur bas niveau de cryptographie dans la bibliothèque SASLErreur d'allocation mémoire dans la bibliothèque SASLPas d'appel indiqué par l'appelant (erreur de l'application).Aucun domaine n'est disponible (erreur non fatale)L'autre entité a fait une requête d'intégrité ou de confidentialité dans le mécanisme GSSAPI mais ce n'est pas encore implanté.Une fonction SASL a besoin d'un plus grand tampon (erreur interne)Mécanisme SASL appelé trop souventLe mécanisme SASL ne peut pas analyser l'entréeLe mécanisme SASL a besoin de l'appel gsasl_client_callback_anonymous() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_client_callback_authentication_id() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_client_callback_authorization_id() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_client_callback_passcode() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_client_callback_password() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_client_callback_pin() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_client_callback_service() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_anonymous() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_cram_md5() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_digest_md5() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_external() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_gssapi() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_realm() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_retrieve() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_securid() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_service() (erreur de l'application)Le mécanisme SASL a besoin de l'appel gsasl_server_callback_validate() (erreur de l'application)Le mécanisme SASL a besoin de plus de donnéesSecurID a besoin d'un code secret supplémentaire.SecurID a besoin d'un nouveau code personnel.Fonctionnalité côté serveur non disponible dans la bibliothèque (erreur d'application)La gestion de bibliothèque fournie était incorrecte (erreur d'application)Mécanisme SASL inconnugsasl-1.8.1/lib/po/ga.gmo0000644000000000000000000002413313521017514012002 00000000000000<S(C)KmJ=<B<<@$:2_F$#7"Z2t] | M$ vr & #    & '5 4] $ y 21$d$S[Z^RR M_QSRSTRPNORQBQR9"X{F;,PJ IX97;3P@2ILB33@'8%`DWJ-' )IZ5v/<+ gE : % 9!YH!a!`"Xe"X"S#Wk#Y#X$Zv$X$V*%U%X%W0&W&X&)9'(c''P'K'F($%053"&+2 ;: 4-/7 8#!1.)96<*' (,Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2009-03-25 20:15-0500 Last-Translator: Kevin Scannell Language-Team: Irish Language: ga MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Theip ar fhordheimhni gan ainm s rud nr socraodh ceadchomhartha gan ainm.Theip ar fhordheimhni s rud nr socraodh aitheantas fordheimhnithe.Theip ar fhordheimhni s rud nr socraodh an t-aitheantas draithe.Theip ar fhordheimhni s rud nr tugadh an t-stainm.Theip ar fhordheimhni s rud nr tugadh an paschd.Theip ar fhordheimhni s rud nr tugadh an focal faire.Theip ar fhordheimhni s rud nr tugadh an UAP.Theip ar fhordheimhni s rud nr tugadh an t-ainm seirbhse.Earrid ionchdaithe (bonn 64) sa leabharlann SASLN fidir lorgn leabharlainne inmhenach a fhil (earrid leabharlainne)Nl feidhmilacht den chliant le fil sa leabharlann (earrid fheidhmchlir)Norbh fhidir comhad a dhnadh sa leabharlann SASLNorbh fhidir comhad a oscailt sa leabharlann SASLNorbh fhidir teaghrn idirnisintaithe (nach ASCII) a ullmh.Earrid agus sideoir fhordheimhniTheip ar normal Unicode ar teaghrn.Earrid GSSAPI agus dintiir bhfil i gss_acquire_cred() sa leabharlann SASL. Is dcha go bhfuil s seo mar thoradh ar easpa eochair Kerberos go cu i etc/krb5.keytab ar an fhreastala.Earrid GSSAPI agus ainm taispena don chliant chruth i gss_display_name() sa leabharlann SASL. Is dcha go bhfuil s seo mar thoradh ar sonra truaillithe n chliant.Earrid GSSAPI sa chliant agus comhthacs slndla socr i gss_init_sec_context() sa leabharlann SASL. Is dcha go bhfuil s seo mar thoradh ar dintiir easpacha n idirghnmh mailseacha.Earrid GSSAPI agus sonra ndchripti n ndchd i gss_unwrap() sa leabharlann SASL. Is dcha go bhfuil s seo mar thoradh ar sonra truaillithe.Earrid GSSAPI agus sonra gcripti n n-ionchd i gss_wrap() sa leabharlann SASL.Norbh fhidir leis an leabharlann GSSAPI cuimhne a saoradh i gss_release_buffer() sa leabharlann SASL. Is earrid inmhenach trom seo.Nor thuig leabharlann GSSAPI ainm comhghleaca i gss_import_name() sa leabharlann SASL. Is dcha go bhfuil s seo mar thoradh ar ainm mhcheart ar an seirbhs n ar an stromhaire.Earrid sline sa phlasta feidhmchlirTheip ar ths Kerberos V5.Earrid inmhenach Kerberos V5.Rath ar libgsaslLibgsasl: earrid anaithnidEarrid chriptithe seal-leibhil sa leabharlann SASLEarrid agus cuimhne riar sa leabharlann SASLNor thug an glaoiteoir feidhm chu (earrid fheidhmchlir).Nl tuilleadh rochta ar fil (n marfach)D'iarr aonn eile cosaint sline n rndachta sa shsra GSSAPI ach nl an gn seo ar fil faoi lthair.Teastaonn feidhm SASL maoln nos m (earrid inmhenach)Glaodh an ssra SASL an iomarca uaireNorbh fhidir leis an ssra SASL an t-ionchur a pharsilTeastaonn an ssra SASL feidhm gsasl_client_callback_anonymous() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_client_callback_authentication_id() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_client_callback_authorization_id() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_client_callback_passcode() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_client_callback_password() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_client_callback_pin() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_client_callback_service() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_anonymous() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_cram_md5() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_digest_md5() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_external() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_gssapi() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_realm() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_retrieve() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_securid() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_service() (earrid fheidhmchlir)Teastaonn an ssra SASL feidhm gsasl_server_callback_validate() (earrid fheidhmchlir)Teastaonn an ssra SASL tuilleadh sonraCd faire sa bhreis de dhth ar SecurID.UAP nua de dhth ar SecurID.Nl feidhmilacht den fhreastala le fil sa leabharlann (earrid fheidhmchlir)Is neamhbhail an lorgn leabharlainne a bh tugtha (earrid fheidhmchlir)Ssra SASL anaithnidgsasl-1.8.1/lib/po/libgsasl.pot0000644000000000000000000001754013521017272013240 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Simon Josefsson # This file is distributed under the same license as the libgsasl package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: libgsasl 1.8.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "" #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "" #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "" #: src/error.c:116 msgid "Error authenticating user" msgstr "" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "" #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "" #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "" #: src/error.c:167 msgid "SecurID needs new pin." msgstr "" #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "" #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "" #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "" #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "" #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "" #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "" #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "" #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "" #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "" #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "" #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "" #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "" #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "" #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "" gsasl-1.8.1/lib/po/hu.po0000644000000000000000000003367513521017514011676 00000000000000# Hungarian translation for libgsasl. # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # # Balázs Úr , 2014. msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2014-06-27 20:54+0200\n" "Last-Translator: Balázs Úr \n" "Language-Team: Hungarian \n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 1.5\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl siker" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "A SASL mechanizmusnak több adatra van szüksége" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Ismeretlen SASL mechanizmus" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "A SASL mechanizmust túl sokszor hívták meg" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "A SASL függvénynek nagyobb pufferre van szüksége (belső hiba)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Nem sikerült megnyitni a SASL könyvtárban lévő fájlt" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Nem sikerült bezárni a SASL könyvtárban lévő fájlt" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Memóriafoglalási hiba a SASL könyvtárban" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base64 kódolási hiba a SASL könyvtárban" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Alacsony szintű titkosítási hiba a SASL könyvtárban" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_client_callback_anonymous() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_client_callback_password() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_client_callback_passcode() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "A SASL mechanizmus gsasl_client_callback_pin() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "A SASL mechanizmus gsasl_client_callback_authorization_id() visszahívást " "igényel (alkalmazás hiba)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "A SASL mechanizmus gsasl_client_callback_authentication_id() visszahívást " "igényel (alkalmazás hiba)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_client_callback_service() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_validate() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_cram_md5() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_digest_md5() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_external() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_anonymous() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_realm() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_securid() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_service() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_gssapi() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "A SASL mechanizmus gsasl_server_callback_retrieve() visszahívást igényel " "(alkalmazás hiba)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Nem sikerült végrehajtani a Unicode normalizálást a szövegen." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Nem sikerült előkészíteni a nemzetközivé tett (nem ASCII) szöveget." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "A SASL mechanizmus nem tudta feldolgozni a bemenetet" #: src/error.c:116 msgid "Error authenticating user" msgstr "Hiba a felhasználó hitelesítésekor" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Nem sikerült lekérni a belső könyvtárleírót (könyvtár hiba)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integritási hiba az alkalmazás hasznos terhében" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Több tartomány nem érhető el (nem végzetes)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "A kliens oldali funkcionalitás nem érhető el a könyvtárban (alkalmazás hiba)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "A kiszolgáló oldali funkcionalitás nem érhető el a könyvtárban (alkalmazás " "hiba)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "A GSSAPI könyvtár nem tudta felszabadítani a memóriát a SASL könyvtárban " "lévő gss_release_buffer() függvényben. Ez egy komoly belső hiba." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "A GSSAPI könyvtár nem tudott megérteni egy partner nevet a SASL könyvtárban " "lévő gss_import_name() függvényben. Ez leginkább az érvénytelen " "szolgáltatásnak és/vagy gépneveknek köszönhető." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI hiba történt a kliensben a biztonsági környezet egyeztetése alatt a " "SASL könyvtárban lévő gss_init_sec_context() függvényben. Ez leginkább a nem " "elegendő hitelesítési adatoknak vagy rosszindulatú kölcsönhatásoknak " "köszönhető." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI hiba történt a kiszolgálóban a biztonsági környezet egyeztetése alatt " "a SASL könyvtárban lévő gss_accept_sec_context() függvényben. Ez leginkább a " "nem elegendő hitelesítési adatoknak vagy rosszindulatú kölcsönhatásoknak " "köszönhető." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI hiba történt az adatok visszafejtése vagy dekódolása közben a SASL " "könyvtárban lévő gss_unwrap() függvényben. Ez leginkább sérült adatoknak " "köszönhető." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI hiba történt az adatok titkosítása vagy kódolása közben a SASL " "könyvtárban lévő gss_wrap() függvényben." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI hiba a hitelesítési adatok beszerzése közben a SASL könyvtárban lévő " "gss_acquire_cred() függvényben. Ez leginkább annak köszönhető, hogy nem " "rendelkezik a megfelelő Kerberos kulccsal, amely a kiszolgálón a /etc/krb5." "keytab fájlban érhető el." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI hiba történt a klienst jelölő megjelenítési név létrehozása közben a " "SASL könyvtárban lévő gss_display_name() függvényben. Ez valószínűleg azért " "történt, mert a kliens rossz adatokat adott meg." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Másik entitás kért integritási vagy titoktartási védelmet a GSSAPI " "mechanizmusban, de ez jelenleg nincs megvalósítva." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5 előkészítési hiba." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Belső Kerberos V5 hiba." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "A SecurID további jelkódot igényel." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "A SecurID új PIN-t igényel." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "A megadott könyvtárleíró érvénytelen volt (alkalmazás hiba)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Nincs hívó által megadott visszahívás (alkalmazás hiba)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "A hitelesítés nem sikerült, mert a névtelen token nem lett megadva." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "A hitelesítés nem sikerült, mert a hitelesítési azonosító nem lett megadva." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "A hitelesítés nem sikerült, mert a felhatalmazási azonosító nem lett megadva." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "A hitelesítés nem sikerült, mert a jelszó nem lett megadva." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "A hitelesítés nem sikerült, mert a jelkód nem lett megadva." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "A hitelesítés nem sikerült, mert a PIN-kód nem lett megadva." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "A hitelesítés nem sikerült, mert a szolgáltatás neve nem lett megadva." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "A hitelesítés nem sikerült, mert a gép neve nem lett megadva." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI hiba a token egységbe zárása közben." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI hiba a token kibontása közben." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI hiba az OID lekérése közben a SASL mechanizmus nevéhez." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI hiba az OID tesztelése közben az OID beállításban." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI hiba az OID beállítás elengedése közben." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "A hitelesítés nem sikerült, mert az egyedi TLS CB nem lett megadva." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "A visszahívásnak nem sikerült biztosítania a SAML20 IdP azonosítót." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "" "A visszahívásnak nem sikerült biztosítania a SAML20 átirányítási URL-t." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "" "A visszahívásnak nem sikerült biztosítania az OPENID20 átirányítási URL-t." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Ismeretlen libgsasl hiba" gsasl-1.8.1/lib/po/it.po0000644000000000000000000003342113521017514011663 00000000000000# Italian translation for libgsasl. # Copyright (C) 2010 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Sergio Zanchetta , 2010, 2011, 2012. # msgid "" msgstr "" "Project-Id-Version: libgsasl-1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 16:23+0200\n" "Last-Translator: Sergio Zanchetta \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Successo in libgsasl" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Il meccanismo SASL ha bisogno di più dati" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Meccanismo SASL sconosciuto" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Meccanismo SASL chiamato troppe volte" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "La funzione SASL ha bisogno di un buffer più grande (errore interno)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Impossibile aprire il file nella libreria SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Impossibile chiudere il file nella libreria SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Errore di allocazione memoria nella libreria SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Errore di codifica base 64 nella libreria SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Errore di cifratura a basso livello nella libreria SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback " "gsasl_client_callback_anonymous() (errore dell'applicazione)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_client_callback_password() " "(errore dell'applicazione)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_client_callback_passcode() " "(errore dell'applicazione)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_client_callback_pin() " "(errore dell'applicazione)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Il meccanismo SASL necessita di un callback " "gsasl_client_callback_authorization_id() (errore dell'applicazione)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Il meccanismo SASL necessita di un callback " "gsasl_client_callback_authentication_id() (errore dell'applicazione)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_client_callback_service() " "(errore dell'applicazione)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_validate() " "(errore dell'applicazione)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_cram_md5() " "(errore dell'applicazione)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Il meccanismo SASL necessita di un callback " "gsasl_server_callback_digest_md5() (errore dell'applicazione)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_external() " "(errore dell'applicazione)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback " "gsasl_server_callback_anonymous() (errore dell'applicazione)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_realm() " "(errore dell'applicazione)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_securid() " "(errore dell'applicazione)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_service() " "(errore dell'applicazione)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_gssapi() " "(errore dell'applicazione)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Il meccanismo SASL necessita di un callback gsasl_server_callback_retrieve() " "(errore dell'applicazione)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Normalizzazione Unicode sulla stringa non riuscita." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Impossibile preparare una stringa (non-ASCII) internazionalizzata." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Il meccanismo SASL non può analizzare l'input" #: src/error.c:116 msgid "Error authenticating user" msgstr "Errore nell'autenticazione dell'utente" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "" "Impossibile ottenere l'handle della libreria interna (errore della libreria)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Errore di integrità nel payload dell'applicazione" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Non ci sono più reami disponibili (non fatale)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funzionalità lato client non disponibile nella libreria (errore " "nell'applicazione)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funzionalità lato server non disponibile nella libreria (errore " "nell'applicazione)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "La libreria GSSAPI non ha potuto deallocare memoria in gss_release_buffer() " "nella libreria SASL. Questo è un grave errore interno." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "La libreria GSSAPI non è riuscita ad interpretare un nome peer in " "gss_import_name() nella libreria SASL. Ciò è verosimilmente dovuto a un " "servizio e/o nomi host non corretti." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Errore GSSAPI nel client durante la negoziazione del contesto di sicurezza " "in gss_init_sec_context() nella libreria SASL. Ciò è verosimilmente dovuto a " "credenziali insufficienti o interazioni malevole." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Errore GSSAPI nel server durante la negoziazione del contesto di sicurezza " "in gss_accept_sec_context() nella libreria SASL. Ciò è verosimilmente dovuto " "a credenziali insufficienti o interazioni malevole." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Errore GSSAPI nel decifrare o decodificare i dati in gss_unwrap() nella " "libreria SASL. Ciò è verosimilmente dovuto a dati corrotti." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Errore GSSAPI nel cifrare o codificare i dati in gss_wrap() nella libreria " "SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Errore GSSAPI nell'acquisizione di credenziali in gss_acquire_cred() nella " "libreria SASL. Ciò è verosimilmente dovuto all'assenza di una appropriata " "chiave Kerberos disponibile in /etc/krb5.keytab nel server." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Errore GSSAPI nella creazione di un nome visualizzato indicante il client in " "gss_display_name() nella libreria SASL. Ciò è probabilmente causato da dati " "errati forniti dal client." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Un'altra entità ha richiesto protezione di integrità o riservatezza nel " "meccanismo GSSAPI ma questa non è attualmente implementata." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Inizializzazione di Kerberos V5 non riuscita." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Errore interno di Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID necessita di un codice di sicurezza aggiuntivo." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID ha bisogno di un nuovo pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "" "L'handle della libreria fornito non era valido (errore dell'applicazione)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Nessun callback specificato dal chiamante (errore dell'applicazione)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Autenticazione non riuscita poiché non è stato fornito il token anonimo." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Autenticazione non riuscita poiché non ne è stata fornita l'identità." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Autenticazione non riuscita poiché non è stata fornita l'identità di " "autorizzazione." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Autenticazione non riuscita poiché non è stata fornita la password." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "" "Autenticazione non riuscita perché non è stato fornito il codice di " "sicurezza." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Autenticazione non riuscita poiché non è stato fornito il codice pin." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "" "Autenticazione non riuscita poiché non è stato fornito il nome del servizio." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "" "Autenticazione non riuscita poiché non è stato fornito il nome dell'host." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Errore GSSAPI nell'incapsulazione del token." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Errore GSSAPI nella decapsulazione del token." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Errore GSSAPI nel recupero dell'OID per il nome del meccanismo SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Errore GSSAPI nel test per l'OID all'interno del set." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Errore GSSAPI nel rilascio del set di OID." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "" "Autenticazione non riuscita poiché non è stata fornita un'associazione di " "canale tls-unique." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Il callback non è riuscito a fornire l'identificatore Idp SAML20." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Il callback non è riuscito a fornire l'URL di redirezione SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Il callback non è riuscito a fornire l'URL di redirezione OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Errore sconosciuto di libgsasl" gsasl-1.8.1/lib/po/sv.gmo0000644000000000000000000002706413521017515012052 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KGM/R}RD#EhDBG6$~@>>#8bK'&?6#v>$J $o 8 !$W",|""N1##$"$$$$ %( %%I%Qo%0%%4v&)&%&]&eY'd'\$(\(W([6)])\)^M*\*Z +Yd+\+[,[w,\,0-'P-x-K-=-.#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2017-09-03 20:11+0800 Last-Translator: Sebastian Rasmussen Language-Team: Swedish Language: sv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. X-Generator: Poedit 2.0.3 Autentisering misslyckades på grund av att en tls-unik CB inte angavs.Autentisering misslyckades på grund av att den anonyma symbolen inte angavs.Autentisering misslyckades på grund av att autentiseringsidentiteten inte angavs.Autentisering misslyckades på grund av att auktoriseringsidentiteten inte angavs.Autentisering misslyckades på grund av att värdnamnet inte angavs.Autentisering misslyckades på grund av att lösenfrasen inte angavs.Autentisering misslyckades på grund av att lösenordet inte angavs.Autentisering misslyckades på grund av att PIN-koden inte angavs.Autentisering misslyckades på grund av att tjänstenamnet inte angavs.Base 64-kodningsfel i SASL-bibliotekÅteranrop misslyckades med att ange OPENID20-omdirigerings-URL.Återanrop misslyckades med att ange SAML20 IdP-identifierare.Återanrop misslyckades med att ange SAML20-omdirigerings-URL.Kan inte hämta intern bibliotekshandtag (biblioteksfel)Funktionalitet på klientsida ej tillgänglig i bibliotek (applikationsfel)Kunde inte stänga fil i SASL-bibliotekKunde inte öppna fil i SASL-bibliotekKunde inte förbereda internationaliserad sträng (icke-ASCII).Fel vid autentisering av användareMisslyckades att genomföra Unicode-normalisering på sträng.GSSAPI-fel vid inhämtning av befogenheter i gss_acquire_cred() i SASL-bibliotek. Det här är sannolikt på grund av att korrekt Kerberos-nyckel inte är tillgänglig i /etc/krb5.keytab på servern.GSSAPI-fel vid skapande av visningsnamn för klienten i gss_display_name() i SASL-bibliotek. Det här är antagligen på grund av att klienten skickade felaktig data.GSSAPI-fel vid uppackning av symbol.GSSAPI-fel vid omslutning av symbol.GSSAPI-fel vid hämtning av OID för SASL-mekanismsnamn.GSSAPI-fel i klient vid förhandling av säkerhetskontext i gss_init_sec_context() i SASL-bibliotek. Det här är sannolikt på grund av otillräckliga befogenheter eller ondsinta interaktioner.GSSAPI-fel i server vid förhandling av säkerhetskontext i gss_accept_sec_context() i SASL-bibliotek. Det här är sannolikt på grund av otillräckliga befogenheter eller ondsinta interaktioner.GSSAPI-fel vid släpp av OID-mängd.GSSAPI-fel vid testning av OID i OID-mängd.GSSAPI-fel vid dekryptering eller avkodning av data i gss_unwrap() i SASL-bibliotek. Det här är sannolikt på grund av korrupt data.GSSAPI-fel vid kryptering eller kodning av data i gss_wrap() i SASL-bibliotek.GSSAPI-biblioteket kunde inte frigöra minne i gss_release_buffer() i SASL-bibliotek. Det här är ett allvarligt internt fel.GSSAPI-biblioteket kunde inte förstå namnet på en motpart i gss_import_name() i SASL-bibliotek. Det här kan bero på felaktig tjänst och/eller värdnamn.Integritetsfel i applikationsdatanKerberos V5-initieringsfel.Internt Kerberos V5-fel.Libgsasl lyckadesOkänt fel i libgsaslLågnivåkrypteringsfel i SASL-bibliotekMinnesallokeringsfel i SASL-bibliotekIngen återkopplingsfunktion angavs av det anropande programmet (applikationsfel)Inga fler domäner tillgängliga (ej allvarligt)Annan entitet begärde integritets- eller konfidentialitetsskydd i GSSAPI-mekanism men det är för närvarande inte implementerat.SASL-funktion behöver större buffert (internt fel)SASL-mekanism anropad för många gångerSASL-mekanism kunde inte tolka indataSASL-mekanism behöver återkoppling till gsasl_client_callback_anonymous() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_client_callback_authentication_id() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_client_callback_authorization_id() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_client_callback_passcode() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_client_callback_password() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_client_callback_pin() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_client_callback_service() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_anonymous() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_cram_md5() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_digest_md5() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_external() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_gssapi() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_realm() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_retrieve() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_securid() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_service() (applikationsfel)SASL-mekanism behöver återkoppling till gsasl_server_callback_validate() (applikationsfel)SASL-mekanism behöver mer dataSecurID behöver ytterligare lösenkod.SecurID behöver ny pin-kod.Funktionalitet på serversida ej tillgänglig i bibliotek (applikationsfel)Det angivna bibliotekshandtaget var ogiltig (applikationsfel)Okänd SASL-mekanismgsasl-1.8.1/lib/po/en@boldquot.gmo0000644000000000000000000002574113521017514013675 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KK?CKJg=<<-<j@$1 1?/q2F$#@7d2!7!Y1{_ !(3!|\!M!v'""&4##[####&#'#4$$G$yl$2$$%$>%Sc%[%Z&Rn&R&M'Qb'S'R(T[(R(P)OT)R)Q)QI*R**" +0+FG+;++#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.8.1 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2019-08-02 13:30+0200 Last-Translator: Automatically generated Language-Team: none Language: en@boldquot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismgsasl-1.8.1/lib/po/en@boldquot.po0000644000000000000000000003356113521017513013527 00000000000000# English translations for libgsasl package. # Copyright (C) 2019 Simon Josefsson # This file is distributed under the same license as the libgsasl package. # Automatically generated, 2019. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.8.1\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2019-08-02 13:30+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en@boldquot\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl success" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL mechanism needs more data" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Unknown SASL mechanism" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "SASL mechanism called too many times" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL function needs larger buffer (internal error)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Could not open file in SASL library" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Could not close file in SASL library" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Memory allocation error in SASL library" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base 64 coding error in SASL library" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Low-level crypto error in SASL library" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Failed to perform Unicode Normalization on string." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Could not prepare internationalized (non-ASCII) string." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL mechanism could not parse input" #: src/error.c:116 msgid "Error authenticating user" msgstr "Error authenticating user" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Cannot get internal library handle (library error)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integrity error in application payload" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "No more realms available (non-fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "Client-side functionality not available in library (application error)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "Server-side functionality not available in library (application error)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5 initialization failure." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Kerberos V5 internal error." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID needs additional passcode." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID needs new pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "The provided library handle was invalid (application error)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "No callback specified by caller (application error)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Authentication failed because the anonymous token was not provided." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Authentication failed because the authentication identity was not provided." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Authentication failed because the authorization identity was not provided." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Authentication failed because the password was not provided." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Authentication failed because the passcode was not provided." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Authentication failed because the pin code was not provided." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Authentication failed because the service name was not provided." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Authentication failed because the host name was not provided." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "GSSAPI error encapsulating token." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "GSSAPI error decapsulating token." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "GSSAPI error getting OID for SASL mechanism name." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "GSSAPI error testing for OID in OID set." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "GSSAPI error releasing OID set." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Authentication failed because a tls-unique CB was not provided." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Callback failed to provide SAML20 IdP identifier." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Callback failed to provide SAML20 redirect URL." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Callback failed to provide OPENID20 redirect URL." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Libgsasl unknown error" gsasl-1.8.1/lib/po/es.gmo0000644000000000000000000002743313521017514012030 00000000000000FLa|?CAKJ=<Z<<@$R1w1/2 F> $ # 7  2 S ! ! 1  } ( | MCv&#&-'T4|$y2P$$S[!Z}RR+M~QSRrTRPmORQaQRX"wF;4KDPWRLLHFBHJh,?@ =a=S)1([67& # = $!!'"2" #]#}$$+1%']%%%%5%. &=8&&v&&3!''U'-}']'d (dn(](]1)X)\)^E*]*_+]b+[+Z,]w,],\3-]-"-/.A.T].M./#A<407)&F(1B>"'.D*+2 @!8% 3E6C,?; /$ 9=-5:Authentication failed because a tls-unique CB was not provided.Authentication failed because the anonymous token was not provided.Authentication failed because the authentication identity was not provided.Authentication failed because the authorization identity was not provided.Authentication failed because the host name was not provided.Authentication failed because the passcode was not provided.Authentication failed because the password was not provided.Authentication failed because the pin code was not provided.Authentication failed because the service name was not provided.Base 64 coding error in SASL libraryCallback failed to provide OPENID20 redirect URL.Callback failed to provide SAML20 IdP identifier.Callback failed to provide SAML20 redirect URL.Cannot get internal library handle (library error)Client-side functionality not available in library (application error)Could not close file in SASL libraryCould not open file in SASL libraryCould not prepare internationalized (non-ASCII) string.Error authenticating userFailed to perform Unicode Normalization on string.GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.GSSAPI error decapsulating token.GSSAPI error encapsulating token.GSSAPI error getting OID for SASL mechanism name.GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.GSSAPI error releasing OID set.GSSAPI error testing for OID in OID set.GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.Integrity error in application payloadKerberos V5 initialization failure.Kerberos V5 internal error.Libgsasl successLibgsasl unknown errorLow-level crypto error in SASL libraryMemory allocation error in SASL libraryNo callback specified by caller (application error).No more realms available (non-fatal)Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.SASL function needs larger buffer (internal error)SASL mechanism called too many timesSASL mechanism could not parse inputSASL mechanism needs gsasl_client_callback_anonymous() callback (application error)SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)SASL mechanism needs gsasl_client_callback_passcode() callback (application error)SASL mechanism needs gsasl_client_callback_password() callback (application error)SASL mechanism needs gsasl_client_callback_pin() callback (application error)SASL mechanism needs gsasl_client_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)SASL mechanism needs gsasl_server_callback_external() callback (application error)SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)SASL mechanism needs gsasl_server_callback_realm() callback (application error)SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)SASL mechanism needs gsasl_server_callback_securid() callback (application error)SASL mechanism needs gsasl_server_callback_service() callback (application error)SASL mechanism needs gsasl_server_callback_validate() callback (application error)SASL mechanism needs more dataSecurID needs additional passcode.SecurID needs new pin.Server-side functionality not available in library (application error)The provided library handle was invalid (application error)Unknown SASL mechanismProject-Id-Version: libgsasl 1.7.4 Report-Msgid-Bugs-To: bug-gsasl@gnu.org PO-Revision-Date: 2018-05-01 10:45+0200 Last-Translator: Francisco Javier Serrador Language-Team: Spanish Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); X-Generator: Poedit 2.0.4 X-Bugs: Report translation errors to the Language-Team address. Autenticación fallada porque un tls-único CB no fue proporcionada.Autenticación fallada porque el nombre del token anónomo no era proporcionado.Autenticación fallada porque la identidad de autenticación no era proporcionado.Autenticación fallada porque la identidad autenticada no era proporcionado.Autenticación fallada porque el nombre del hospedante no era proporcionado.Autenticación fallada porque el código de paso no era proporcionado.Autenticación fallada porque la contraseña no era proporcionado.Autenticación fallada porque el código chincheta no era proporcionado.Autenticación fallada porque el nombre del servicio no era proporcionado.Error codificando Base 64 en biblioteca SASLRetrollamada fallada al proporcionar redirección URL OPENID20.Retrollamada fallada para proporcionar identificador IdP SAML20.Retrollamada fallada al proporcionar redirección URL SAML20.No puede obtener manipulador bibliotecario (error biblioteca)Funcionalidad cliente lateral no disponible dentro de biblioteca (error aplicativo)No pudo cerrar fichero en biblioteca SASLNo pudo abrir fichero en biblioteca SASLNo pudo preparar cadena internacionalizada (no ASCII).Error autenticando usuarioFalló para preformar Normalización Unicode en cadena.GSSAPI erróneo adquiriendo credenciales en gss_acquire_cred() dentro de biblioteca SASL. Esto es más parecido a no tener disponible la llave apropiada de Kerberos en /etc/krb5.keytab en el servidor.GSSAPI erróneo creando un nombre de pantalla denotando el cliente dentro del in gss_display_name() en la biblioteca SASL. Esto es probablemente porque el cliente suministró datos equivocados.GSSAPI erróneo desencapsulando token.GSSAPI erróneo encapsulando token.GSSAPI erróneo obteniendo OID para nombre de mecanismo SASL.GSSAPI erróneo en cliente mientras negociando contexto garantizado en gss_init_sec_context() dentro de biblioteca SASL. Esto es más similar debido a insuficientes credenciales o interacciones maliciosas.GSSAPI erróneo en servidor mientras negociando contexto garantizado en gss_accept_sec_context() dentro de biblioteca SASL. Esto es más similar debido a insuficientes credenciales o interacciones maliciosas.GSSAPI erróneo liberando conjunto OID.GSSAPI erróneo probando para OID en conjunto OID.GSSAPI erróneo mentras descifra o cifra datos en gss_unwrap() dentro de biblioteca SASL. Esto es más similar a corrupción de datos.GSSAPI erróneo mientras cifraba o codificaba datos en gss_wrap() dentro de biblioteca SASL.Biblioteca GSSAPI no pudo desreservar memoria en gss_release_buffer() de la biblioteca SASL. Éste es un error interno serio.Biblioteca GSSAPI no pudo comprender un nompre interconecato en gss_import_name() en bilioteca SASL. Esto es más debido a un servicio incorrecto y/o nombre de anfitrión.Integridad errónea en aplicación de cargaInicialización de Kerberos V5 fallada.Error interno de Kerberos V5.Libgsasl correctoError desconocido en libgsaslError criptográfico de bajo nivel en biblioteca SASLReserva de memoria errónea en biblioteca SASLSin retrollamada especificada por llamador (arror aplicativo)Sin más reinos disponibles (no-fatal)Otra entidad integradamente o confiadamente resolicita protección en mecanismo GSSAPI pero esto está actualmente no implementado.Función SASL requiere buffer mayor (error interno)Mecanismo SASL llamado demasiadas vecesMecanismo SASL no podría interpretar entradaMecanismo SASL requiere retrollamada gsasl_client_callback_anonymous() (error de aplicación)Mecanismo SASL requiere retrollamada gsasl_client_callback_autentication_id() (error de aplicación)Mecanismo SASL requiere retrollamada gsasl_client_callback_authorization_id() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_client_callback_passcode() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_client_callback_password() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_client_callback_pin() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_client_callback_service() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_anonymous() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_cram_md5() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_digest_md5() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_external() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_gssapi() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_realm() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_retrieve() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_securid() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_service() (error de aplicación)Mecanismo SASL requiere retro-llamada gsasl_server_callback_validate() (error de aplicación)Mecanismo SASL requiere más datosSecurID requiere código contraseña adicional.SecurID requiere nuevo pin.Funcionalidad servidor lateral no disponible dentro de biblioteca (error aplicativo)La biblioteca manipuladora proporcionada fue inválida (error de aplicación)Mecanismo SASL desconocidogsasl-1.8.1/lib/po/id.po0000644000000000000000000003160313521017514011643 00000000000000# Indonesian translations for libgsasl package. # Copyright (C) 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Andhika Padmawan , 2009, 2012. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2012-05-18 15:33+0700\n" "Last-Translator: Andhika Padmawan \n" "Language-Team: Indonesian \n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl sukses" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "Mekanisme SASL memerlukan lebih banyak data" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Mekanisme SASL tak diketahui" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "Mekanisme SASL dipanggil terlalu sering" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "Fungsi SASL memerlukan penyangga lebih besar (galat internal)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Tak dapat membuka berkas di pustaka SASL" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Tak dapat menutup berkas di pustaka SASL" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Galat alokasi memori di pustaka SASL" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Galat penyandian base 64 di pustaka SASL" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Galat kripto level rendah di pustaka SASL" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_client_callback_anonymous() " "(galat aplikasi)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_client_callback_password() " "(galat aplikasi)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_client_callback_passcode() " "(galat aplikasi)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_client_callback_pin() (galat " "aplikasi)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "Mekanisme SASL memerlukan panggil balik " "gsasl_client_callback_authorization_id() (galat aplikasi)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "Mekanisme SASL memerlukan panggil balik " "gsasl_client_callback_authentication_id() (galat aplikasi)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_client_callback_service() " "(galat aplikasi)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_client_callback_validate() " "(galat aplikasi)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_cram_md5() " "(galat aplikasi)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_digest_md5() " "(galat aplikasi)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_external() " "(galat aplikasi)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_anonymous() " "(galat aplikasi)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_realm() (galat " "aplikasi)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_securid() " "(galat aplikasi)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_service() " "(galat aplikasi)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_gssapi() " "(galat aplikasi)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "Mekanisme SASL memerlukan panggil balik gsasl_server_callback_retrieve() " "(galat aplikasi)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Gagal melakukan Normalisasi Sandi Universal pada benang." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Tak dapat menyiapkan benang (non-ASCII) terinternasionalisasi." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "Mekanisme SASL tak dapat mengurai masukan" #: src/error.c:116 msgid "Error authenticating user" msgstr "Galat mengotentikasi pengguna" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Tak bisa mendapatkan penanganan pustaka internal (galat pustaka)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Galat integritas di pemuat aplikasi" #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Tak ada lagi kawasan tersedia (tak-fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "Fungsionalitas sisi-klien tidak tersedia di pustaka (galat aplikasi)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "Fungsionalitas sisi-server tidak tersedia di pustaka (galat aplikasi)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "Pustaka GSSAPI tak dapat melepas alokasi memori di gss_release_buffer() di " "pustaka SASL. Ini adalah galat internal serius." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "Pustaka GSSAPI tidak mengerti nama peer di gss_import_name() di pustaka " "SASL. Ini kelihatannya karena layanan dan/atau nama host yang tidak tepat." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Galat GSSAPI di klien ketika bernegosiasi konteks keamanan di " "gss_init_sec_context() di pustaka SASL. Ini kelihatannya karena kredensial " "yang tidak cukup atau interaksi yang mencurigakan." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "Galat GSSAPI di server ketika bernegosiasi konteks keamanan di " "gss_accpet_sec_context() di pustaka SASL. Ini kelihatannya karena kredensial " "yang tidak cukup atau interaksi yang mencurigakan." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "Galat GSSAPI ketika memecahkan atau mengawasandi data di gss_unwrap() di " "pustaka SASL. Ini kelihatannya karena data yang rusak." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "Galat GSSAPI ketika enkripsi atau menyandi data di gss_wrap() di pustaka " "SASL." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "Galat GSSAPI mengambil kredensial di gss_acquire_cred() di pustaka SASL. " "Ini kelihatannya karena tidak memiliki kunci Kerberos asli yang tersedia di /" "etc/krb5.keytab di server." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "Galat GSSAPI membuat tampilan nama mendenotasi klien di gss_display_name() " "dipustaka SASL. Ini mungkin karena klien menyuplai data buruk." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Entitas lain meminta proteksi integritas atau konfidensialitas di mekanisme " "GSSAPI tapi ini saat ini belum diimplementasikan." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kegagalan inisialisasi Kerberos V5." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Galat internal Kerberos V5." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID memerlukan sandi tambahan." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID memerlukan pin baru." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Penanganan pustaka yang diberikan tidak sah (galat aplikasi)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Tak ada panggil balik ditentukan oleh pemanggil (galat aplikasi)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "Otentikasi gagal karena sembarang token tidak disediakan." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "Otentikasi gagal karena identitas otentikasi tidak disediakan." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "Otentikasi gagal karena identitas otorisasi tidak disediakan." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Otentikasi gagal karena sandi lewat tidak disediakan." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Otentikasi gagal karena kode lewat tidak disediakan." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Otentikasi gagal karena kode pin tidak disediakan." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Otentikasi gagal karena nama layanan tidak disediakan." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Otentikasi gagal karena nama host tidak disediakan." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Galat GSSAPI menyelubungi token." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Galat GSSAPI mengeluarkan token." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "Galat GSSAPI mendapatkan OID untuk nama mekanisme SASL." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Galat GSSAPI menguji OID dalam set OID." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Galat GSSAPI melepaskan set OID." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Otentikasi gagal karena nama CB tls-unique tidak disediakan." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Panggil kembali gagal untuk menyediakan pengidentifikasi SAML20 IdP." #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Panggil kembali gagal untuk menyediakan pengalihan URL SAML20." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Panggil kembali gagal untuk menyediakan pengalihan URL OPENID20." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Galat tak diketahui libgsasl" gsasl-1.8.1/lib/po/da.po0000644000000000000000000003211113521017513011625 00000000000000# Danish translation libgsasl. # Copyright (C) 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the gsasl package. # Joe Hansen , 2015. # msgid "" msgstr "" "Project-Id-Version: libgsasl 1.7.4\n" "Report-Msgid-Bugs-To: bug-gsasl@gnu.org\n" "POT-Creation-Date: 2019-08-02 13:30+0200\n" "PO-Revision-Date: 2015-05-14 15:00+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/error.c:46 msgid "Libgsasl success" msgstr "Libgsasl succes" #: src/error.c:47 msgid "SASL mechanism needs more data" msgstr "SASL-mekanisme kræver flere data" #: src/error.c:48 msgid "Unknown SASL mechanism" msgstr "Ukendt SASL-mekanisme" #: src/error.c:50 msgid "SASL mechanism called too many times" msgstr "SASL-mekanisme kaldt for mange gange" #: src/error.c:52 msgid "SASL function needs larger buffer (internal error)" msgstr "SASL-funktion kræver større buffer (intern fejl)" #: src/error.c:53 msgid "Could not open file in SASL library" msgstr "Kunne ikke åbne fil i SASL-bibliotek" #: src/error.c:54 msgid "Could not close file in SASL library" msgstr "Kunne ikke lukke fil i SASL-bibliotek" #: src/error.c:55 msgid "Memory allocation error in SASL library" msgstr "Hukommelsesallokeringsfejl i SASL-bibliotek" #: src/error.c:56 msgid "Base 64 coding error in SASL library" msgstr "Base 64-kodningsfejl i SASL-bibliotek" #: src/error.c:57 msgid "Low-level crypto error in SASL library" msgstr "Crypto-fejl, på lavt niveau, i SASL-bibliotek" #: src/error.c:60 msgid "" "SASL mechanism needs gsasl_client_callback_anonymous() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_client_callback_anonymous()-tilbagekald " "(programfejl)" #: src/error.c:63 msgid "" "SASL mechanism needs gsasl_client_callback_password() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_client_callback_password()-tilbagekald " "(programfejl)" #: src/error.c:66 msgid "" "SASL mechanism needs gsasl_client_callback_passcode() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_client_callback_passcode()-tilbagekald " "(programfejl)" #: src/error.c:69 msgid "" "SASL mechanism needs gsasl_client_callback_pin() callback (application error)" msgstr "" "SASL-mekanisme skal bruge gsasl_client_callback_pin()-tilbagekald " "(programfejl)" #: src/error.c:72 msgid "" "SASL mechanism needs gsasl_client_callback_authorization_id() callback " "(application error)" msgstr "" "SASL-mekanisme skal bruge gsasl_client_callback_authorization_id()-" "tilbagekald (programfejl)" #: src/error.c:75 msgid "" "SASL mechanism needs gsasl_client_callback_authentication_id() callback " "(application error)" msgstr "" "SASL-mekanisme skal bruge gsasl_client_callback_authentication_id()-" "tilbagekald (programfejl)" #: src/error.c:78 msgid "" "SASL mechanism needs gsasl_client_callback_service() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_client_callback_service()-tilbagekald " "(programfejl)" #: src/error.c:81 msgid "" "SASL mechanism needs gsasl_server_callback_validate() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_validate()-tilbagekald " "(programfejl)" #: src/error.c:84 msgid "" "SASL mechanism needs gsasl_server_callback_cram_md5() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_cram_md5()-tilbagekald " "(programfejl)" #: src/error.c:87 msgid "" "SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_digest_md5()-tilbagekald " "(programfejl)" #: src/error.c:90 msgid "" "SASL mechanism needs gsasl_server_callback_external() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_external()-tilbagekald " "(programfejl)" #: src/error.c:93 msgid "" "SASL mechanism needs gsasl_server_callback_anonymous() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_anonymous()-tilbagekald " "(programfejl)" #: src/error.c:96 msgid "" "SASL mechanism needs gsasl_server_callback_realm() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_realm()-tilbagekald " "(programfejl)" #: src/error.c:99 msgid "" "SASL mechanism needs gsasl_server_callback_securid() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_securid()-tilbagekald " "(programfejl)" #: src/error.c:102 msgid "" "SASL mechanism needs gsasl_server_callback_service() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_service()-tilbagekald " "(programfejl)" #: src/error.c:105 msgid "" "SASL mechanism needs gsasl_server_callback_gssapi() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_gssapi()-tilbagekald " "(programfejl)" #: src/error.c:108 msgid "" "SASL mechanism needs gsasl_server_callback_retrieve() callback (application " "error)" msgstr "" "SASL-mekanisme skal bruge gsasl_server_callback_retrieve()-tilbagekald " "(programfejl)" #: src/error.c:111 msgid "Failed to perform Unicode Normalization on string." msgstr "Kunne ikke udføre Unicode-normalisering på streng." #: src/error.c:113 msgid "Could not prepare internationalized (non-ASCII) string." msgstr "Kunne ikke forberede internationaliseret (ikke-ASCII) streng." #: src/error.c:115 msgid "SASL mechanism could not parse input" msgstr "SASL-mekanisme kunne ikke fortolke inddata" #: src/error.c:116 msgid "Error authenticating user" msgstr "Der opstod en fejl under godkendelse af bruger" #: src/error.c:118 msgid "Cannot get internal library handle (library error)" msgstr "Kan ikke indhente intern bibliotekshåndtering (biblioteksfejl)" #: src/error.c:119 msgid "Integrity error in application payload" msgstr "Integritetsfejl i programmets nyttelast " #: src/error.c:120 msgid "No more realms available (non-fatal)" msgstr "Ikke flere områder tilgængelige (ikke-fatal)" #: src/error.c:122 msgid "Client-side functionality not available in library (application error)" msgstr "" "Funktionalitet på klientsiden er ikke tilgængelig i biblioteket (programfejl)" #: src/error.c:125 msgid "Server-side functionality not available in library (application error)" msgstr "" "Funktionalitet på serversiden er ikke tilgængelig i biblioteket (programfejl)" #: src/error.c:128 msgid "" "GSSAPI library could not deallocate memory in gss_release_buffer() in SASL " "library. This is a serious internal error." msgstr "" "GSSAPI-biblioteket kunne ikke deallokere hukommelse i gss_release_buffer() i " "SASL-bibliotek. Dette er en seriøs intern fejl." #: src/error.c:132 msgid "" "GSSAPI library could not understand a peer name in gss_import_name() in SASL " "library. This is most likely due to incorrect service and/or hostnames." msgstr "" "GSSAPI-bibliotek kunne ikke forstå et modpartsnavn i gss_import_navn() i " "SASL-biblioteket. Dette skyldes sandsynligvis en ukorrekt tjeneste og/eller " "værtsnavne." #: src/error.c:136 msgid "" "GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-fejl i klient under forhandling af sikkerhedskontekst i " "gss_init_sec_context() i SASL-biblioteket. Dette skyldes sandsynligvis " "utilstrækkelige akkreditiver eller ondsindede interaktioner." #: src/error.c:140 msgid "" "GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions." msgstr "" "GSSAPI-fejl i server under forhandling af sikkerhedskontekst i " "gss_init_sec_context() i SASL-biblioteket. Dette skyldes sandsynligvis " "utilstrækkelige akkreditiver eller ondsindede interaktioner." #: src/error.c:144 msgid "" "GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL " "library. This is most likely due to data corruption." msgstr "" "GSSAPI-fejl under dekryptering eller afkodning af data i gss_unwrap() i SASL-" "biblioteket. Dette skyldes sandsynligvis dataødelægelse." #: src/error.c:147 msgid "" "GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library." msgstr "" "GSSAPI-fejl under kryptering eller kodning af data i gss_wrap() i SASL-" "biblioteket." #: src/error.c:150 msgid "" "GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. " "This is most likely due to not having the proper Kerberos key available in /" "etc/krb5.keytab on the server." msgstr "" "GSSAPI-fejl under indhentelse af akkreditiver i gss_acquire_cred() i SASL-" "biblioteket. Dette skyldes sandsynligvis at den korrekt Kerberos-nøgle ikke " "er tilgængelig i /etc/krb5.keytab på serveren." #: src/error.c:154 msgid "" "GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because the client " "supplied bad data." msgstr "" "GSSAPI-fejl under oprettelse af et skærmnavn der benævner klienten i " "gss_display_name() i SASL-biblioteket. Dette skyldes sandsynligvis at " "klienten leverede ugyldige data." #: src/error.c:158 msgid "" "Other entity requested integrity or confidentiality protection in GSSAPI " "mechanism but this is currently not implemented." msgstr "" "Anden entitet anmod om integritets- eller fortrolighedsbeskyttelse i GSSAPI-" "mekanismen, men dette er endnu ikke implementeret." #: src/error.c:161 msgid "Kerberos V5 initialization failure." msgstr "Kerberos V5-initialisering mislykkedes." #: src/error.c:163 msgid "Kerberos V5 internal error." msgstr "Kerberos V5-intern fejl." #: src/error.c:165 msgid "SecurID needs additional passcode." msgstr "SecurID kræver yderligere adgangskode." #: src/error.c:167 msgid "SecurID needs new pin." msgstr "SecurID kræver ny pin." #: src/error.c:169 msgid "The provided library handle was invalid (application error)" msgstr "Det tilbudte bibliotekshåndtag var ugyldigt (programfejl)" #: src/error.c:171 msgid "No callback specified by caller (application error)." msgstr "Intet tilbagekald specificeret af kalder (programfejl)." #: src/error.c:173 msgid "Authentication failed because the anonymous token was not provided." msgstr "" "Godkendelse mislykkedes på grund af, at det anonyme symbol ikke var " "indeholdt." #: src/error.c:176 msgid "" "Authentication failed because the authentication identity was not provided." msgstr "" "Godkendelse mislykkedes, da godkendelsesidentiteten ikke var indeholdt." #: src/error.c:179 msgid "" "Authentication failed because the authorization identity was not provided." msgstr "" "Godkendelse mislykkedes, da godkendelsesidentiteten ikke var indeholdt." #: src/error.c:182 msgid "Authentication failed because the password was not provided." msgstr "Godkendelse mislykkedes, da adgangskoden ikke var indeholdt." #: src/error.c:184 msgid "Authentication failed because the passcode was not provided." msgstr "Godkendelse mislykkedes, da koden ikke var indeholdt." #: src/error.c:186 msgid "Authentication failed because the pin code was not provided." msgstr "Godkendelse mislykkedes, da pin-koden ikke var indeholdt." #: src/error.c:188 msgid "Authentication failed because the service name was not provided." msgstr "Godkendelse mislykkedes, da tjenestenavnet ikke var indeholdt." #: src/error.c:190 msgid "Authentication failed because the host name was not provided." msgstr "Godkendelse mislykkedes, da værtsnavnet ikke var indeholdt." #: src/error.c:192 msgid "GSSAPI error encapsulating token." msgstr "Der opstod en GSSAPI-fejl under indkapsling af symbol." #: src/error.c:194 msgid "GSSAPI error decapsulating token." msgstr "Der opstod en GSSAPI-fejl under afkapsling af symbol." #: src/error.c:196 msgid "GSSAPI error getting OID for SASL mechanism name." msgstr "" "Det opstod en GSSAPI-fejl under indhentelse af OID for SASL-mekanismenavn." #: src/error.c:198 msgid "GSSAPI error testing for OID in OID set." msgstr "Der opstod en GSSAPI-fejl under test for OID i OID-sæt." #: src/error.c:200 msgid "GSSAPI error releasing OID set." msgstr "Der opstod en GSSAPI-fejl under frigivelse af OID-sæt." #: src/error.c:202 msgid "Authentication failed because a tls-unique CB was not provided." msgstr "Godkendelse mislykkedes, da en tls-unique CB ikke var indeholdt." #: src/error.c:204 msgid "Callback failed to provide SAML20 IdP identifier." msgstr "Tilbagekald mislykkedes i at tilbyde SAML20 IdP-identifikator" #: src/error.c:206 msgid "Callback failed to provide SAML20 redirect URL." msgstr "Tilbagekald mislykkedes i at tilbyde SAML20-videresendelsesadresse." #: src/error.c:208 msgid "Callback failed to provide OPENID20 redirect URL." msgstr "Tilbagekald mislykkedes i at tilbyde OPENID20-videresendelsesadresse." #: src/error.c:230 msgid "Libgsasl unknown error" msgstr "Libgsasl ukendt fejl" gsasl-1.8.1/lib/saml20/0000755000000000000000000000000013521017726011451 500000000000000gsasl-1.8.1/lib/saml20/Makefile.am0000644000000000000000000000225213516252321013422 00000000000000# Copyright (C) 2010-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-saml20.la libgsasl_saml20_la_SOURCES = saml20.h mechinfo.c if CLIENT libgsasl_saml20_la_SOURCES += client.c endif if SERVER libgsasl_saml20_la_SOURCES += server.c endif gsasl-1.8.1/lib/saml20/saml20.h0000644000000000000000000000337013516252321012637 00000000000000/* saml20.h --- Prototypes for SAML20. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef SAML20_H #define SAML20_H #include #define GSASL_SAML20_NAME "SAML20" extern Gsasl_mechanism gsasl_saml20_mechanism; extern int _gsasl_saml20_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_saml20_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_saml20_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_saml20_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_saml20_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_saml20_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* SAML20_H */ gsasl-1.8.1/lib/saml20/server.c0000644000000000000000000000603213516252321013040 00000000000000/* server.c --- SAML20 mechanism, server side. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "saml20.h" /* Get strdup, strlen. */ #include /* Get free. */ #include /* Get _gsasl_parse_gs2_header. */ #include "mechtools.h" struct saml20_server_state { int step; }; int _gsasl_saml20_server_start (Gsasl_session * sctx, void **mech_data) { struct saml20_server_state *state; state = (struct saml20_server_state *) calloc (sizeof (*state), 1); if (state == NULL) return GSASL_MALLOC_ERROR; *mech_data = state; return GSASL_OK; } int _gsasl_saml20_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct saml20_server_state *state = mech_data; int res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; *output_len = 0; *output = NULL; switch (state->step) { case 0: { const char *p; char *authzid; size_t headerlen; if (input_len == 0) return GSASL_NEEDS_MORE; res = _gsasl_parse_gs2_header (input, input_len, &authzid, &headerlen); if (res != GSASL_OK) return res; if (authzid) { gsasl_property_set (sctx, GSASL_AUTHZID, authzid); free (authzid); } input += headerlen; input_len -= headerlen; gsasl_property_set_raw (sctx, GSASL_SAML20_IDP_IDENTIFIER, input, input_len); p = gsasl_property_get (sctx, GSASL_SAML20_REDIRECT_URL); if (!p || !*p) return GSASL_NO_SAML20_REDIRECT_URL; *output_len = strlen (p); *output = malloc (*output_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, p, *output_len); res = GSASL_NEEDS_MORE; state->step++; break; } case 1: { if (!(input_len == 1 && *input == '=')) return GSASL_MECHANISM_PARSE_ERROR; res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_SAML20); if (res != GSASL_OK) return res; *output = NULL; *output_len = 0; res = GSASL_OK; state->step++; break; } default: break; } return res; } void _gsasl_saml20_server_finish (Gsasl_session * sctx, void *mech_data) { struct saml20_server_state *state = mech_data; if (!state) return; free (state); } gsasl-1.8.1/lib/saml20/mechinfo.c0000644000000000000000000000266213516252321013327 00000000000000/* mechinfo.c --- Definition of SAML20 mechanism. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "saml20.h" Gsasl_mechanism gsasl_saml20_mechanism = { GSASL_SAML20_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_saml20_client_start, _gsasl_saml20_client_step, _gsasl_saml20_client_finish, #else NULL, NULL, NULL, #endif NULL, NULL} , { NULL, NULL, #ifdef USE_SERVER _gsasl_saml20_server_start, _gsasl_saml20_server_step, _gsasl_saml20_server_finish, #else NULL, NULL, NULL, #endif NULL, NULL} }; gsasl-1.8.1/lib/saml20/Makefile.in0000644000000000000000000017167713521017120013445 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2010-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = saml20 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_saml20_la_LIBADD = am__libgsasl_saml20_la_SOURCES_DIST = saml20.h mechinfo.c client.c \ server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_saml20_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_saml20_la_OBJECTS = $(am_libgsasl_saml20_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_saml20_la_SOURCES) DIST_SOURCES = $(am__libgsasl_saml20_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-saml20.la libgsasl_saml20_la_SOURCES = saml20.h mechinfo.c $(am__append_1) \ $(am__append_2) 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 saml20/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu saml20/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-saml20.la: $(libgsasl_saml20_la_OBJECTS) $(libgsasl_saml20_la_DEPENDENCIES) $(EXTRA_libgsasl_saml20_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_saml20_la_OBJECTS) $(libgsasl_saml20_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/saml20/client.c0000644000000000000000000000542313516252321013013 00000000000000/* client.c --- SAML20 mechanism, client side. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "saml20.h" /* Get strdup, strlen. */ #include /* Get free. */ #include /* Get bool. */ #include /* Get _gsasl_gs2_generate_header. */ #include "mechtools.h" struct saml20_client_state { int step; }; int _gsasl_saml20_client_start (Gsasl_session * sctx, void **mech_data) { struct saml20_client_state *state; state = (struct saml20_client_state *) calloc (sizeof (*state), 1); if (state == NULL) return GSASL_MALLOC_ERROR; *mech_data = state; return GSASL_OK; } int _gsasl_saml20_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct saml20_client_state *state = mech_data; int res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; switch (state->step) { case 0: { const char *authzid = gsasl_property_get (sctx, GSASL_AUTHZID); const char *idp = gsasl_property_get (sctx, GSASL_SAML20_IDP_IDENTIFIER); if (!idp || !*idp) return GSASL_NO_SAML20_IDP_IDENTIFIER; res = _gsasl_gs2_generate_header (false, 'n', NULL, authzid, strlen (idp), idp, output, output_len); if (res != GSASL_OK) return res; res = GSASL_NEEDS_MORE; state->step++; } break; case 1: { gsasl_property_set_raw (sctx, GSASL_SAML20_REDIRECT_URL, input, input_len); res = gsasl_callback (NULL, sctx, GSASL_SAML20_AUTHENTICATE_IN_BROWSER); if (res != GSASL_OK) return res; *output_len = 1; *output = strdup ("="); if (!*output) return GSASL_MALLOC_ERROR; res = GSASL_OK; state->step++; } break; default: break; } return res; } void _gsasl_saml20_client_finish (Gsasl_session * sctx, void *mech_data) { struct saml20_client_state *state = mech_data; if (!state) return; free (state); } gsasl-1.8.1/lib/libgsasl.pc.in0000644000000000000000000000115113516252320013015 00000000000000# Process this file with autoconf to produce a pkg-config metadata file. # Copyright 2002-2019 Simon Josefsson # # 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. prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: libgsasl Description: GNU Simple Authentication and Security Layer (SASL) URL: http://www.gnu.org/software/gsasl/ Version: @VERSION@ Libs: -L${libdir} -lgsasl Libs.private: @LTLIBGCRYPT@ @LTLIBIDN@ @LTLIBNTLM@ Cflags: -I${includedir} gsasl-1.8.1/lib/openid20/0000755000000000000000000000000013521017726011773 500000000000000gsasl-1.8.1/lib/openid20/openid20.h0000644000000000000000000000336013516252321013502 00000000000000/* openid20.h --- Prototypes for OPENID20. * Copyright (C) 2011-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef OPENID20_H #define OPENID20_H #include #define GSASL_OPENID20_NAME "OPENID20" extern Gsasl_mechanism gsasl_openid20_mechanism; extern int _gsasl_openid20_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_openid20_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_openid20_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_openid20_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_openid20_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_openid20_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* OPENID20_H */ gsasl-1.8.1/lib/openid20/Makefile.am0000644000000000000000000000226413516252321013747 00000000000000# Copyright (C) 2011-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-openid20.la libgsasl_openid20_la_SOURCES = openid20.h mechinfo.c if CLIENT libgsasl_openid20_la_SOURCES += client.c endif if SERVER libgsasl_openid20_la_SOURCES += server.c endif gsasl-1.8.1/lib/openid20/server.c0000644000000000000000000001057713516252321013373 00000000000000/* server.c --- OPENID20 mechanism, server side. * Copyright (C) 2011-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "openid20.h" /* Get strdup, strlen. */ #include /* Get calloc, free. */ #include /* Get _gsasl_parse_gs2_header. */ #include "mechtools.h" struct openid20_server_state { int step; int allow_error_step; }; int _gsasl_openid20_server_start (Gsasl_session * sctx, void **mech_data) { struct openid20_server_state *state; state = (struct openid20_server_state *) calloc (sizeof (*state), 1); if (state == NULL) return GSASL_MALLOC_ERROR; *mech_data = state; return GSASL_OK; } int _gsasl_openid20_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct openid20_server_state *state = mech_data; int res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; *output_len = 0; *output = NULL; switch (state->step) { case 0: { const char *p; char *authzid; size_t headerlen; if (input_len == 0) return GSASL_NEEDS_MORE; res = _gsasl_parse_gs2_header (input, input_len, &authzid, &headerlen); if (res != GSASL_OK) return res; if (authzid) { gsasl_property_set (sctx, GSASL_AUTHZID, authzid); free (authzid); } input += headerlen; input_len -= headerlen; gsasl_property_set_raw (sctx, GSASL_AUTHID, input, input_len); p = gsasl_property_get (sctx, GSASL_OPENID20_REDIRECT_URL); if (!p || !*p) return GSASL_NO_OPENID20_REDIRECT_URL; *output_len = strlen (p); *output = malloc (*output_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, p, *output_len); res = GSASL_NEEDS_MORE; state->step++; break; } case 1: { const char *outcome_data; if (!(input_len == 1 && *input == '=')) return GSASL_MECHANISM_PARSE_ERROR; res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_OPENID20); if (res != GSASL_OK) { *output = strdup ("openid.error=fail"); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (*output); /* [RFC4422] Section 3.6 explicitly prohibits additional information in an unsuccessful authentication outcome. Therefore, the openid.error and openid.error_code are to be sent as an additional challenge in the event of an unsuccessful outcome. In this case, as the protocol is lock step, the client will follow with an additional exchange containing "=", after which the server will respond with an application-level outcome. */ state->allow_error_step = 1; state->step++; return GSASL_NEEDS_MORE; } outcome_data = gsasl_property_get (sctx, GSASL_OPENID20_OUTCOME_DATA); if (outcome_data) { *output = strdup (outcome_data); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (*output); } else { *output = NULL; *output_len = 0; } res = GSASL_OK; state->step++; } break; case 2: { /* We only get here when the previous step signalled an error to the client. */ if (!state->allow_error_step) return GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; if (!(input_len == 1 && *input == '=')) return GSASL_MECHANISM_PARSE_ERROR; res = GSASL_AUTHENTICATION_ERROR; state->step++; } break; default: break; } return res; } void _gsasl_openid20_server_finish (Gsasl_session * sctx, void *mech_data) { struct openid20_server_state *state = mech_data; if (!state) return; free (state); } gsasl-1.8.1/lib/openid20/mechinfo.c0000644000000000000000000000270613516252321013650 00000000000000/* mechinfo.c --- Definition of OPENID20 mechanism. * Copyright (C) 2011-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "openid20.h" Gsasl_mechanism gsasl_openid20_mechanism = { GSASL_OPENID20_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_openid20_client_start, _gsasl_openid20_client_step, _gsasl_openid20_client_finish, #else NULL, NULL, NULL, #endif NULL, NULL} , { NULL, NULL, #ifdef USE_SERVER _gsasl_openid20_server_start, _gsasl_openid20_server_step, _gsasl_openid20_server_finish, #else NULL, NULL, NULL, #endif NULL, NULL} }; gsasl-1.8.1/lib/openid20/Makefile.in0000644000000000000000000017174713521017120013765 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2011-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = openid20 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_openid20_la_LIBADD = am__libgsasl_openid20_la_SOURCES_DIST = openid20.h mechinfo.c client.c \ server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_openid20_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_openid20_la_OBJECTS = $(am_libgsasl_openid20_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_openid20_la_SOURCES) DIST_SOURCES = $(am__libgsasl_openid20_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-openid20.la libgsasl_openid20_la_SOURCES = openid20.h mechinfo.c $(am__append_1) \ $(am__append_2) 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 openid20/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu openid20/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-openid20.la: $(libgsasl_openid20_la_OBJECTS) $(libgsasl_openid20_la_DEPENDENCIES) $(EXTRA_libgsasl_openid20_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_openid20_la_OBJECTS) $(libgsasl_openid20_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/openid20/client.c0000644000000000000000000001006213516252321013330 00000000000000/* client.c --- OPENID20 mechanism, client side. * Copyright (C) 2011-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "openid20.h" /* Get strdup, strlen. */ #include /* Get calloc, free. */ #include /* Get bool. */ #include /* Get _gsasl_gs2_generate_header. */ #include "mechtools.h" struct openid20_client_state { int step; }; int _gsasl_openid20_client_start (Gsasl_session * sctx, void **mech_data) { struct openid20_client_state *state; state = (struct openid20_client_state *) calloc (sizeof (*state), 1); if (state == NULL) return GSASL_MALLOC_ERROR; *mech_data = state; return GSASL_OK; } int _gsasl_openid20_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct openid20_client_state *state = mech_data; int res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; switch (state->step) { case 0: { const char *authzid = gsasl_property_get (sctx, GSASL_AUTHZID); const char *authid = gsasl_property_get (sctx, GSASL_AUTHID); if (!authid || !*authid) return GSASL_NO_AUTHID; res = _gsasl_gs2_generate_header (false, 'n', NULL, authzid, strlen (authid), authid, output, output_len); if (res != GSASL_OK) return res; res = GSASL_NEEDS_MORE; state->step++; } break; case 1: { gsasl_property_set_raw (sctx, GSASL_OPENID20_REDIRECT_URL, input, input_len); res = gsasl_callback (NULL, sctx, GSASL_OPENID20_AUTHENTICATE_IN_BROWSER); if (res != GSASL_OK) return res; *output_len = 1; *output = strdup ("="); if (!*output) return GSASL_MALLOC_ERROR; res = GSASL_OK; state->step++; } break; /* This step is optional. The server could have approved authentication already. Alternatively, it wanted to send some SREGs or error data and we end up here. */ case 2: { gsasl_property_set_raw (sctx, GSASL_OPENID20_OUTCOME_DATA, input, input_len); /* In the case of failures, the response MUST follow this syntax: outcome_data = "openid.error" "=" sreg_val *( "," sregp_avp ) [RFC4422] Section 3.6 explicitly prohibits additional information in an unsuccessful authentication outcome. Therefore, the openid.error and openid.error_code are to be sent as an additional challenge in the event of an unsuccessful outcome. In this case, as the protocol is lock step, the client will follow with an additional exchange containing "=", after which the server will respond with an application-level outcome. */ #define ERR_PREFIX "openid.error=" if (input_len > strlen (ERR_PREFIX) && strncmp (ERR_PREFIX, input, strlen (ERR_PREFIX)) == 0) { *output_len = 1; *output = strdup ("="); if (!*output) return GSASL_MALLOC_ERROR; res = GSASL_NEEDS_MORE; } else { *output_len = 0; *output = NULL; res = GSASL_OK; } state->step++; } break; default: break; } return res; } void _gsasl_openid20_client_finish (Gsasl_session * sctx, void *mech_data) { struct openid20_client_state *state = mech_data; if (!state) return; free (state); } gsasl-1.8.1/lib/src/0000755000000000000000000000000013521017727011143 500000000000000gsasl-1.8.1/lib/src/mechtools.c0000644000000000000000000001144613516252321013225 00000000000000/* mechtools.c --- Helper functions available for use by any mechanism. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "mechtools.h" /* Get strcmp. */ #include /* Get malloc, free. */ #include /* Get asprintf. */ #include /* Get error codes. */ #include /* Create in AUTHZID a newly allocated copy of STR where =2C is replaced with , and =3D is replaced with =. Return GSASL_OK on success, GSASL_MALLOC_ERROR on memory errors, GSASL_PARSE_ERRORS if string contains any unencoded ',' or incorrectly encoded sequence. */ static int unescape_authzid (const char *str, size_t len, char **authzid) { char *p; if (memchr (str, ',', len) != NULL) return GSASL_MECHANISM_PARSE_ERROR; p = *authzid = malloc (len + 1); if (!p) return GSASL_MALLOC_ERROR; while (len > 0 && *str) { if (len >= 3 && str[0] == '=' && str[1] == '2' && str[2] == 'C') { *p++ = ','; str += 3; len -= 3; } else if (len >= 3 && str[0] == '=' && str[1] == '3' && str[2] == 'D') { *p++ = '='; str += 3; len -= 3; } else if (str[0] == '=') { free (*authzid); *authzid = NULL; return GSASL_MECHANISM_PARSE_ERROR; } else { *p++ = *str; str++; len--; } } *p = '\0'; return GSASL_OK; } /* Parse the GS2 header containing flags and authorization identity. Put authorization identity (or NULL) in AUTHZID and length of header in HEADERLEN. Return GSASL_OK on success or an error code.*/ int _gsasl_parse_gs2_header (const char *data, size_t len, char **authzid, size_t * headerlen) { char *authzid_endptr; if (len < 3) return GSASL_MECHANISM_PARSE_ERROR; if (strncmp (data, "n,,", 3) == 0) { *headerlen = 3; *authzid = NULL; } else if (strncmp (data, "n,a=", 4) == 0 && (authzid_endptr = memchr (data + 4, ',', len - 4))) { int res; if (authzid_endptr == NULL) return GSASL_MECHANISM_PARSE_ERROR; res = unescape_authzid (data + 4, authzid_endptr - (data + 4), authzid); if (res != GSASL_OK) return res; *headerlen = authzid_endptr - data + 1; } else return GSASL_MECHANISM_PARSE_ERROR; return GSASL_OK; } /* Return newly allocated copy of STR with all occurrences of ',' replaced with =2C and '=' with '=3D', or return NULL on memory allocation errors. */ static char * escape_authzid (const char *str) { char *out = malloc (strlen (str) * 3 + 1); char *p = out; if (!out) return NULL; while (*str) { if (*str == ',') { memcpy (p, "=2C", 3); p += 3; } else if (*str == '=') { memcpy (p, "=3D", 3); p += 3; } else { *p = *str; p++; } str++; } *p = '\0'; return out; } /* Generate a newly allocated GS2 header, escaping authzid appropriately, and appending EXTRA. */ int _gsasl_gs2_generate_header (bool nonstd, char cbflag, const char *cbname, const char *authzid, size_t extralen, const char *extra, char **gs2h, size_t * gs2hlen) { int elen = extralen; char *gs2cbflag; int len; if (cbflag == 'p') len = asprintf (&gs2cbflag, "p=%s", cbname); else if (cbflag == 'n') len = asprintf (&gs2cbflag, "n"); else if (cbflag == 'y') len = asprintf (&gs2cbflag, "y"); else /* internal caller error */ return GSASL_MECHANISM_PARSE_ERROR; if (len <= 0 || gs2cbflag == NULL) return GSASL_MALLOC_ERROR; if (authzid) { char *escaped_authzid = escape_authzid (authzid); if (!escaped_authzid) { free (gs2cbflag); return GSASL_MALLOC_ERROR; } len = asprintf (gs2h, "%s%s,a=%s,%.*s", nonstd ? "F," : "", gs2cbflag, escaped_authzid, elen, extra); free (escaped_authzid); } else len = asprintf (gs2h, "%s%s,,%.*s", nonstd ? "F," : "", gs2cbflag, elen, extra); free (gs2cbflag); if (len <= 0 || gs2h == NULL) return GSASL_MALLOC_ERROR; *gs2hlen = len; return GSASL_OK; } gsasl-1.8.1/lib/src/xfinish.c0000644000000000000000000000427713516252321012704 00000000000000/* xfinish.c --- Finish libgsasl session. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_finish: * @sctx: libgsasl session handle. * * Destroy a libgsasl client or server handle. The handle must not be * used with other libgsasl functions after this call. **/ void gsasl_finish (Gsasl_session * sctx) { if (sctx == NULL) return; if (sctx->clientp) { if (sctx->mech && sctx->mech->client.finish) sctx->mech->client.finish (sctx, sctx->mech_data); } else { if (sctx->mech && sctx->mech->server.finish) sctx->mech->server.finish (sctx, sctx->mech_data); } free (sctx->anonymous_token); free (sctx->authid); free (sctx->authzid); free (sctx->password); free (sctx->passcode); free (sctx->pin); free (sctx->suggestedpin); free (sctx->service); free (sctx->hostname); free (sctx->gssapi_display_name); free (sctx->realm); free (sctx->digest_md5_hashed_password); free (sctx->qops); free (sctx->qop); free (sctx->scram_iter); free (sctx->scram_salt); free (sctx->scram_salted_password); free (sctx->cb_tls_unique); free (sctx->saml20_idp_identifier); free (sctx->saml20_redirect_url); free (sctx->openid20_redirect_url); free (sctx->openid20_outcome_data); /* If you add anything here, remember to change change gsasl_finish() in xfinish.c and Gsasl_session in internal.h. */ free (sctx); } gsasl-1.8.1/lib/src/base64.c0000644000000000000000000000463713516252321012320 00000000000000/* base64.c --- Base64 encoding/decoding functions. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" #include "base64.h" /** * gsasl_base64_to: * @in: input byte array * @inlen: size of input byte array * @out: pointer to newly allocated output byte array * @outlen: pointer to size of newly allocated output byte array * * Encode data as base64. The string is zero terminated, and @outlen * holds the length excluding the terminating zero. The @out buffer * must be deallocated by the caller. * * Return value: Returns %GSASL_OK on success, or %GSASL_MALLOC_ERROR * if input was too large or memory allocation fail. * * Since: 0.2.2 **/ int gsasl_base64_to (const char *in, size_t inlen, char **out, size_t * outlen) { size_t len = base64_encode_alloc (in, inlen, out); if (outlen) *outlen = len; if (*out == NULL) return GSASL_MALLOC_ERROR; return GSASL_OK; } /** * gsasl_base64_from: * @in: input byte array * @inlen: size of input byte array * @out: pointer to newly allocated output byte array * @outlen: pointer to size of newly allocated output byte array * * Decode Base64 data. The @out buffer must be deallocated by the * caller. * * Return value: Returns %GSASL_OK on success, %GSASL_BASE64_ERROR if * input was invalid, and %GSASL_MALLOC_ERROR on memory allocation * errors. * * Since: 0.2.2 **/ int gsasl_base64_from (const char *in, size_t inlen, char **out, size_t * outlen) { int ok = base64_decode_alloc (in, inlen, out, outlen); if (!ok) return GSASL_BASE64_ERROR; if (*out == NULL) return GSASL_MALLOC_ERROR; return GSASL_OK; } gsasl-1.8.1/lib/src/xcode.c0000644000000000000000000000627513516252321012336 00000000000000/* xcode.c --- Encode and decode application payload in libgsasl session. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" static int _gsasl_code (Gsasl_session * sctx, Gsasl_code_function code, const char *input, size_t input_len, char **output, size_t * output_len) { if (code == NULL) { *output_len = input_len; *output = malloc (*output_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, input, input_len); return GSASL_OK; } return code (sctx, sctx->mech_data, input, input_len, output, output_len); } /** * gsasl_encode: * @sctx: libgsasl session handle. * @input: input byte array. * @input_len: size of input byte array. * @output: newly allocated output byte array. * @output_len: size of output byte array. * * Encode data according to negotiated SASL mechanism. This might mean * that data is integrity or privacy protected. * * The @output buffer is allocated by this function, and it is the * responsibility of caller to deallocate it by calling free(@output). * * Return value: Returns %GSASL_OK if encoding was successful, * otherwise an error code. **/ int gsasl_encode (Gsasl_session * sctx, const char *input, size_t input_len, char **output, size_t * output_len) { Gsasl_code_function code; if (sctx->clientp) code = sctx->mech->client.encode; else code = sctx->mech->server.encode; return _gsasl_code (sctx, code, input, input_len, output, output_len); } /** * gsasl_decode: * @sctx: libgsasl session handle. * @input: input byte array. * @input_len: size of input byte array. * @output: newly allocated output byte array. * @output_len: size of output byte array. * * Decode data according to negotiated SASL mechanism. This might mean * that data is integrity or privacy protected. * * The @output buffer is allocated by this function, and it is the * responsibility of caller to deallocate it by calling free(@output). * * Return value: Returns %GSASL_OK if encoding was successful, * otherwise an error code. **/ int gsasl_decode (Gsasl_session * sctx, const char *input, size_t input_len, char **output, size_t * output_len) { Gsasl_code_function code; if (sctx->clientp) code = sctx->mech->client.decode; else code = sctx->mech->server.decode; return _gsasl_code (sctx, code, input, input_len, output, output_len); } gsasl-1.8.1/lib/src/saslprep.c0000644000000000000000000000461513516252321013061 00000000000000/* saslprep.c --- Internationalized SASL string processing. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" #if HAVE_LIBIDN #include #if defined HAVE_PR29_H && defined HAVE_PR29_8Z #include #endif #endif /** * gsasl_saslprep: * @in: a UTF-8 encoded string. * @flags: any SASLprep flag, e.g., %GSASL_ALLOW_UNASSIGNED. * @out: on exit, contains newly allocated output string. * @stringpreprc: if non-NULL, will hold precise stringprep return code. * * Prepare string using SASLprep. On success, the @out variable must * be deallocated by the caller. * * Return value: Returns %GSASL_OK on success, or * %GSASL_SASLPREP_ERROR on error. * * Since: 0.2.3 **/ int gsasl_saslprep (const char *in, Gsasl_saslprep_flags flags, char **out, int *stringpreprc) { #if HAVE_LIBIDN int rc; rc = stringprep_profile (in, out, "SASLprep", (flags & GSASL_ALLOW_UNASSIGNED) ? STRINGPREP_NO_UNASSIGNED : 0); if (stringpreprc) *stringpreprc = rc; if (rc != STRINGPREP_OK) { *out = NULL; return GSASL_SASLPREP_ERROR; } #if defined HAVE_PR29_8Z && defined HAVE_PR29_H if (pr29_8z (*out) != PR29_SUCCESS) { free (*out); *out = NULL; if (stringpreprc) *stringpreprc = STRINGPREP_NFKC_FAILED; return GSASL_SASLPREP_ERROR; } #endif #else size_t i, inlen = strlen (in); for (i = 0; i < inlen; i++) if (in[i] & 0x80) { *out = NULL; return GSASL_SASLPREP_ERROR; } *out = malloc (inlen + 1); if (!*out) return GSASL_MALLOC_ERROR; strcpy (*out, in); #endif return GSASL_OK; } gsasl-1.8.1/lib/src/gsasl.h0000644000000000000000000004501013516330361012341 00000000000000/* gsasl.h --- Header file for GNU SASL Library. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef GSASL_H #define GSASL_H #include /* FILE */ #include /* size_t */ #include /* ssize_t */ #ifndef GSASL_API #if defined GSASL_BUILDING && defined HAVE_VISIBILITY && HAVE_VISIBILITY #define GSASL_API __attribute__((__visibility__("default"))) #elif defined GSASL_BUILDING && defined _MSC_VER && ! defined GSASL_STATIC #define GSASL_API __declspec(dllexport) #elif defined _MSC_VER && ! defined GSASL_STATIC #define GSASL_API __declspec(dllimport) #else #define GSASL_API #endif #endif #ifdef __cplusplus extern "C" { #endif /** * GSASL_VERSION * * Pre-processor symbol with a string that describe the header file * version number. Used together with gsasl_check_version() to * verify header file and run-time library consistency. */ #define GSASL_VERSION "1.8.1" /** * GSASL_VERSION_MAJOR * * Pre-processor symbol with a decimal value that describe the major * level of the header file version number. For example, when the * header version is 1.2.3 this symbol will be 1. * * Since: 1.1 */ #define GSASL_VERSION_MAJOR 1 /** * GSASL_VERSION_MINOR * * Pre-processor symbol with a decimal value that describe the minor * level of the header file version number. For example, when the * header version is 1.2.3 this symbol will be 2. * * Since: 1.1 */ #define GSASL_VERSION_MINOR 8 /** * GSASL_VERSION_PATCH * * Pre-processor symbol with a decimal value that describe the patch * level of the header file version number. For example, when the * header version is 1.2.3 this symbol will be 3. * * Since: 1.1 */ #define GSASL_VERSION_PATCH 1 /** * GSASL_VERSION_NUMBER * * Pre-processor symbol with a hexadecimal value describing the * header file version number. For example, when the header version * is 1.2.3 this symbol will have the value 0x010203. * * Since: 1.1 */ #define GSASL_VERSION_NUMBER 0x010801 /* RFC 2222: SASL mechanisms are named by strings, from 1 to 20 * characters in length, consisting of upper-case letters, digits, * hyphens, and/or underscores. SASL mechanism names must be * registered with the IANA. */ enum { GSASL_MIN_MECHANISM_SIZE = 1, GSASL_MAX_MECHANISM_SIZE = 20 }; extern GSASL_API const char *GSASL_VALID_MECHANISM_CHARACTERS; /** * Gsasl_rc: * @GSASL_OK: Successful return code, guaranteed to be always 0. * @GSASL_NEEDS_MORE: Mechanism expects another round-trip. * @GSASL_UNKNOWN_MECHANISM: Application requested an unknown mechanism. * @GSASL_MECHANISM_CALLED_TOO_MANY_TIMES: Application requested too * many round trips from mechanism. * @GSASL_MALLOC_ERROR: Memory allocation failed. * @GSASL_BASE64_ERROR: Base64 encoding/decoding failed. * @GSASL_CRYPTO_ERROR: Cryptographic error. * @GSASL_SASLPREP_ERROR: Failed to prepare internationalized string. * @GSASL_MECHANISM_PARSE_ERROR: Mechanism could not parse input. * @GSASL_AUTHENTICATION_ERROR: Authentication has failed. * @GSASL_INTEGRITY_ERROR: Application data integrity check failed. * @GSASL_NO_CLIENT_CODE: Library was built with client functionality. * @GSASL_NO_SERVER_CODE: Library was built with server functionality. * @GSASL_NO_CALLBACK: Application did not provide a callback. * @GSASL_NO_ANONYMOUS_TOKEN: Could not get required anonymous token. * @GSASL_NO_AUTHID: Could not get required authentication * identity (username). * @GSASL_NO_AUTHZID: Could not get required authorization identity. * @GSASL_NO_PASSWORD: Could not get required password. * @GSASL_NO_PASSCODE: Could not get required SecurID PIN. * @GSASL_NO_PIN: Could not get required SecurID PIN. * @GSASL_NO_SERVICE: Could not get required service name. * @GSASL_NO_HOSTNAME: Could not get required hostname. * @GSASL_NO_CB_TLS_UNIQUE: Could not get required tls-unique CB. * @GSASL_NO_SAML20_IDP_IDENTIFIER: Could not get required SAML IdP. * @GSASL_NO_SAML20_REDIRECT_URL: Could not get required SAML * redirect URL. * @GSASL_NO_OPENID20_REDIRECT_URL: Could not get required OpenID * redirect URL. * @GSASL_GSSAPI_RELEASE_BUFFER_ERROR: GSS-API library call error. * @GSASL_GSSAPI_IMPORT_NAME_ERROR: GSS-API library call error. * @GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR: GSS-API library call error. * @GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR: GSS-API library call error. * @GSASL_GSSAPI_UNWRAP_ERROR: GSS-API library call error. * @GSASL_GSSAPI_WRAP_ERROR: GSS-API library call error. * @GSASL_GSSAPI_ACQUIRE_CRED_ERROR: GSS-API library call error. * @GSASL_GSSAPI_DISPLAY_NAME_ERROR: GSS-API library call error. * @GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR: An unsupported * quality-of-protection layer was requeted. * @GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR: GSS-API library call error. * @GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR: GSS-API library call error. * @GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR: GSS-API library call error. * @GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR: GSS-API library call error. * @GSASL_GSSAPI_RELEASE_OID_SET_ERROR: GSS-API library call error. * @GSASL_KERBEROS_V5_INIT_ERROR: Init error in KERBEROS_V5. * @GSASL_KERBEROS_V5_INTERNAL_ERROR: General error in KERBEROS_V5. * @GSASL_SHISHI_ERROR: Same as %GSASL_KERBEROS_V5_INTERNAL_ERROR. * @GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE: SecurID mechanism * needs an additional passcode. * @GSASL_SECURID_SERVER_NEED_NEW_PIN: SecurID mechanism * needs an new PIN. * * Error codes for library functions. */ typedef enum { GSASL_OK = 0, GSASL_NEEDS_MORE = 1, GSASL_UNKNOWN_MECHANISM = 2, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES = 3, GSASL_MALLOC_ERROR = 7, GSASL_BASE64_ERROR = 8, GSASL_CRYPTO_ERROR = 9, GSASL_SASLPREP_ERROR = 29, GSASL_MECHANISM_PARSE_ERROR = 30, GSASL_AUTHENTICATION_ERROR = 31, GSASL_INTEGRITY_ERROR = 33, GSASL_NO_CLIENT_CODE = 35, GSASL_NO_SERVER_CODE = 36, GSASL_NO_CALLBACK = 51, GSASL_NO_ANONYMOUS_TOKEN = 52, GSASL_NO_AUTHID = 53, GSASL_NO_AUTHZID = 54, GSASL_NO_PASSWORD = 55, GSASL_NO_PASSCODE = 56, GSASL_NO_PIN = 57, GSASL_NO_SERVICE = 58, GSASL_NO_HOSTNAME = 59, GSASL_NO_CB_TLS_UNIQUE = 65, GSASL_NO_SAML20_IDP_IDENTIFIER = 66, GSASL_NO_SAML20_REDIRECT_URL = 67, GSASL_NO_OPENID20_REDIRECT_URL = 68, /* Mechanism specific errors. */ GSASL_GSSAPI_RELEASE_BUFFER_ERROR = 37, GSASL_GSSAPI_IMPORT_NAME_ERROR = 38, GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR = 39, GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR = 40, GSASL_GSSAPI_UNWRAP_ERROR = 41, GSASL_GSSAPI_WRAP_ERROR = 42, GSASL_GSSAPI_ACQUIRE_CRED_ERROR = 43, GSASL_GSSAPI_DISPLAY_NAME_ERROR = 44, GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR = 45, GSASL_KERBEROS_V5_INIT_ERROR = 46, GSASL_KERBEROS_V5_INTERNAL_ERROR = 47, GSASL_SHISHI_ERROR = GSASL_KERBEROS_V5_INTERNAL_ERROR, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE = 48, GSASL_SECURID_SERVER_NEED_NEW_PIN = 49, GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR = 60, GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR = 61, GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR = 62, GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR = 63, GSASL_GSSAPI_RELEASE_OID_SET_ERROR = 64 /* When adding new values, note that integers are not necessarily assigned monotonously increasingly. */ } Gsasl_rc; /** * Gsasl_qop: * @GSASL_QOP_AUTH: Authentication only. * @GSASL_QOP_AUTH_INT: Authentication and integrity. * @GSASL_QOP_AUTH_CONF: Authentication, integrity and confidentiality. * * Quality of Protection types (DIGEST-MD5 and GSSAPI). The * integrity and confidentiality values is about application data * wrapping. We recommend that you use @GSASL_QOP_AUTH with TLS as * that combination is generally more secure and have better chance * of working than the integrity/confidentiality layers of SASL. */ typedef enum { GSASL_QOP_AUTH = 1, GSASL_QOP_AUTH_INT = 2, GSASL_QOP_AUTH_CONF = 4 } Gsasl_qop; /** * Gsasl_cipher: * @GSASL_CIPHER_DES: Cipher DES. * @GSASL_CIPHER_3DES: Cipher 3DES. * @GSASL_CIPHER_RC4: Cipher RC4. * @GSASL_CIPHER_RC4_40: Cipher RC4 with 40-bit keys. * @GSASL_CIPHER_RC4_56: Cipher RC4 with 56-bit keys. * @GSASL_CIPHER_AES: Cipher AES. * * Encryption types (DIGEST-MD5) for confidentiality services of * application data. We recommend that you use TLS instead as it is * generally more secure and have better chance of working. */ typedef enum { GSASL_CIPHER_DES = 1, GSASL_CIPHER_3DES = 2, GSASL_CIPHER_RC4 = 4, GSASL_CIPHER_RC4_40 = 8, GSASL_CIPHER_RC4_56 = 16, GSASL_CIPHER_AES = 32 } Gsasl_cipher; /** * Gsasl_saslprep_flags: * @GSASL_ALLOW_UNASSIGNED: Allow unassigned code points. * * Flags for the SASLprep function, see gsasl_saslprep(). For * background, see the GNU Libidn documentation. */ typedef enum { GSASL_ALLOW_UNASSIGNED = 1 } Gsasl_saslprep_flags; /** * Gsasl: * * Handle to global library context. */ typedef struct Gsasl Gsasl; /** * Gsasl_session: * * Handle to SASL session context. */ typedef struct Gsasl_session Gsasl_session; /** * Gsasl_property: * @GSASL_AUTHID: Authentication identity (username). * @GSASL_AUTHZID: Authorization identity. * @GSASL_PASSWORD: Password. * @GSASL_ANONYMOUS_TOKEN: Anonymous identifier. * @GSASL_SERVICE: Service name * @GSASL_HOSTNAME: Host name. * @GSASL_GSSAPI_DISPLAY_NAME: GSS-API credential principal name. * @GSASL_PASSCODE: SecurID passcode. * @GSASL_SUGGESTED_PIN: SecurID suggested PIN. * @GSASL_PIN: SecurID PIN. * @GSASL_REALM: User realm. * @GSASL_DIGEST_MD5_HASHED_PASSWORD: Pre-computed hashed DIGEST-MD5 * password, to avoid storing passwords in the clear. * @GSASL_QOPS: Set of quality-of-protection values. * @GSASL_QOP: Quality-of-protection value. * @GSASL_SCRAM_ITER: Number of iterations in password-to-key hashing. * @GSASL_SCRAM_SALT: Salt for password-to-key hashing. * @GSASL_SCRAM_SALTED_PASSWORD: Pre-computed salted SCRAM key, * to avoid re-computation and storing passwords in the clear. * @GSASL_CB_TLS_UNIQUE: Base64 encoded tls-unique channel binding. * @GSASL_SAML20_IDP_IDENTIFIER: SAML20 user IdP URL. * @GSASL_SAML20_REDIRECT_URL: SAML 2.0 URL to access in browser. * @GSASL_OPENID20_REDIRECT_URL: OpenID 2.0 URL to access in browser. * @GSASL_OPENID20_OUTCOME_DATA: OpenID 2.0 authentication outcome data. * @GSASL_SAML20_AUTHENTICATE_IN_BROWSER: Request to perform SAML 2.0 * authentication in browser. * @GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: Request to perform OpenID 2.0 * authentication in browser. * @GSASL_VALIDATE_SIMPLE: Request for simple validation. * @GSASL_VALIDATE_EXTERNAL: Request for validation of EXTERNAL. * @GSASL_VALIDATE_ANONYMOUS: Request for validation of ANONYMOUS. * @GSASL_VALIDATE_GSSAPI: Request for validation of GSSAPI/GS2. * @GSASL_VALIDATE_SECURID: Reqest for validation of SecurID. * @GSASL_VALIDATE_SAML20: Reqest for validation of SAML20. * @GSASL_VALIDATE_OPENID20: Reqest for validation of OpenID 2.0 login. * * Callback/property types. */ typedef enum { /* Information properties, e.g., username. */ GSASL_AUTHID = 1, GSASL_AUTHZID = 2, GSASL_PASSWORD = 3, GSASL_ANONYMOUS_TOKEN = 4, GSASL_SERVICE = 5, GSASL_HOSTNAME = 6, GSASL_GSSAPI_DISPLAY_NAME = 7, GSASL_PASSCODE = 8, GSASL_SUGGESTED_PIN = 9, GSASL_PIN = 10, GSASL_REALM = 11, GSASL_DIGEST_MD5_HASHED_PASSWORD = 12, GSASL_QOPS = 13, GSASL_QOP = 14, GSASL_SCRAM_ITER = 15, GSASL_SCRAM_SALT = 16, GSASL_SCRAM_SALTED_PASSWORD = 17, GSASL_CB_TLS_UNIQUE = 18, GSASL_SAML20_IDP_IDENTIFIER = 19, GSASL_SAML20_REDIRECT_URL = 20, GSASL_OPENID20_REDIRECT_URL = 21, GSASL_OPENID20_OUTCOME_DATA = 22, /* Client callbacks. */ GSASL_SAML20_AUTHENTICATE_IN_BROWSER = 250, GSASL_OPENID20_AUTHENTICATE_IN_BROWSER = 251, /* Server validation callback properties. */ GSASL_VALIDATE_SIMPLE = 500, GSASL_VALIDATE_EXTERNAL = 501, GSASL_VALIDATE_ANONYMOUS = 502, GSASL_VALIDATE_GSSAPI = 503, GSASL_VALIDATE_SECURID = 504, GSASL_VALIDATE_SAML20 = 505, GSASL_VALIDATE_OPENID20 = 506 } Gsasl_property; /** * Gsasl_callback_function: * @ctx: libgsasl handle. * @sctx: session handle, may be NULL. * @prop: enumerated value of Gsasl_property type. * * Prototype of function that the application should implement. Use * gsasl_callback_set() to inform the library about your callback * function. * * It is called by the SASL library when it need some information * from the application. Depending on the value of @prop, it should * either set some property (e.g., username or password) using * gsasl_property_set(), or it should extract some properties (e.g., * authentication and authorization identities) using * gsasl_property_fast() and use them to make a policy decision, * perhaps returning GSASL_AUTHENTICATION_ERROR or GSASL_OK * depending on whether the policy permitted the operation. * * Return value: Any valid return code, the interpretation of which * depend on the @prop value. * * Since: 0.2.0 **/ typedef int (*Gsasl_callback_function) (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop); /* Library entry and exit points: version.c, init.c, done.c */ extern GSASL_API int gsasl_init (Gsasl ** ctx); extern GSASL_API void gsasl_done (Gsasl * ctx); extern GSASL_API const char *gsasl_check_version (const char *req_version); /* Callback handling: callback.c */ extern GSASL_API void gsasl_callback_set (Gsasl * ctx, Gsasl_callback_function cb); extern GSASL_API int gsasl_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop); extern GSASL_API void gsasl_callback_hook_set (Gsasl * ctx, void *hook); extern GSASL_API void *gsasl_callback_hook_get (Gsasl * ctx); extern GSASL_API void gsasl_session_hook_set (Gsasl_session * sctx, void *hook); extern GSASL_API void *gsasl_session_hook_get (Gsasl_session * sctx); /* Property handling: property.c */ extern GSASL_API void gsasl_property_set (Gsasl_session * sctx, Gsasl_property prop, const char *data); extern GSASL_API void gsasl_property_set_raw (Gsasl_session * sctx, Gsasl_property prop, const char *data, size_t len); extern GSASL_API const char *gsasl_property_get (Gsasl_session * sctx, Gsasl_property prop); extern GSASL_API const char *gsasl_property_fast (Gsasl_session * sctx, Gsasl_property prop); /* Mechanism handling: listmech.c, supportp.c, suggest.c */ extern GSASL_API int gsasl_client_mechlist (Gsasl * ctx, char **out); extern GSASL_API int gsasl_client_support_p (Gsasl * ctx, const char *name); extern GSASL_API const char *gsasl_client_suggest_mechanism (Gsasl * ctx, const char *mechlist); extern GSASL_API int gsasl_server_mechlist (Gsasl * ctx, char **out); extern GSASL_API int gsasl_server_support_p (Gsasl * ctx, const char *name); /* Authentication functions: xstart.c, xstep.c, xfinish.c */ extern GSASL_API int gsasl_client_start (Gsasl * ctx, const char *mech, Gsasl_session ** sctx); extern GSASL_API int gsasl_server_start (Gsasl * ctx, const char *mech, Gsasl_session ** sctx); extern GSASL_API int gsasl_step (Gsasl_session * sctx, const char *input, size_t input_len, char **output, size_t * output_len); extern GSASL_API int gsasl_step64 (Gsasl_session * sctx, const char *b64input, char **b64output); extern GSASL_API void gsasl_finish (Gsasl_session * sctx); /* Session functions: xcode.c, mechname.c */ extern GSASL_API int gsasl_encode (Gsasl_session * sctx, const char *input, size_t input_len, char **output, size_t * output_len); extern GSASL_API int gsasl_decode (Gsasl_session * sctx, const char *input, size_t input_len, char **output, size_t * output_len); extern GSASL_API const char *gsasl_mechanism_name (Gsasl_session * sctx); /* Error handling: error.c */ extern GSASL_API const char *gsasl_strerror (int err); extern GSASL_API const char *gsasl_strerror_name (int err); /* Internationalized string processing: stringprep.c */ extern GSASL_API int gsasl_saslprep (const char *in, Gsasl_saslprep_flags flags, char **out, int *stringpreprc); /* Utilities: base64.c, md5pwd.c, crypto.c */ extern GSASL_API int gsasl_simple_getpass (const char *filename, const char *username, char **key); extern GSASL_API int gsasl_base64_to (const char *in, size_t inlen, char **out, size_t * outlen); extern GSASL_API int gsasl_base64_from (const char *in, size_t inlen, char **out, size_t * outlen); extern GSASL_API int gsasl_nonce (char *data, size_t datalen); extern GSASL_API int gsasl_random (char *data, size_t datalen); extern GSASL_API int gsasl_md5 (const char *in, size_t inlen, char *out[]); extern GSASL_API int gsasl_hmac_md5 (const char *key, size_t keylen, const char *in, size_t inlen, char *outhash[]); extern GSASL_API int gsasl_sha1 (const char *in, size_t inlen, char *out[]); extern GSASL_API int gsasl_hmac_sha1 (const char *key, size_t keylen, const char *in, size_t inlen, char *outhash[]); extern GSASL_API void gsasl_free (void *ptr); /* Get the mechanism API. */ #include #ifndef GSASL_NO_OBSOLETE /* For compatibility with earlier versions. */ #include #endif #ifdef __cplusplus } #endif #endif /* GSASL_H */ gsasl-1.8.1/lib/src/gsasl-mech.h0000644000000000000000000000450213516252321013253 00000000000000/* gsasl-mech.h --- Header file for mechanism handling in GNU SASL Library. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef GSASL_MECH_H #define GSASL_MECH_H /* Mechanism function prototypes. */ typedef int (*Gsasl_init_function) (Gsasl * ctx); typedef void (*Gsasl_done_function) (Gsasl * ctx); typedef int (*Gsasl_start_function) (Gsasl_session * sctx, void **mech_data); typedef int (*Gsasl_step_function) (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); typedef void (*Gsasl_finish_function) (Gsasl_session * sctx, void *mech_data); typedef int (*Gsasl_code_function) (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); /* Collection of mechanism functions for either client or server. */ struct Gsasl_mechanism_functions { Gsasl_init_function init; Gsasl_done_function done; Gsasl_start_function start; Gsasl_step_function step; Gsasl_finish_function finish; Gsasl_code_function encode; Gsasl_code_function decode; }; typedef struct Gsasl_mechanism_functions Gsasl_mechanism_functions; /* Information about a mechanism. */ struct Gsasl_mechanism { const char *name; struct Gsasl_mechanism_functions client; struct Gsasl_mechanism_functions server; }; typedef struct Gsasl_mechanism Gsasl_mechanism; /* Register new mechanism: register.c. */ extern GSASL_API int gsasl_register (Gsasl * ctx, const Gsasl_mechanism * mech); #endif /* GSASL_MECH_H */ gsasl-1.8.1/lib/src/obsolete.c0000644000000000000000000017122413516252321013045 00000000000000/* obsolete.c --- Obsolete functions kept around for backwards compatibility. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" #if USE_DIGEST_MD5 #include "qop.h" #endif /** * gsasl_client_listmech: * @ctx: libgsasl handle. * @out: output character array. * @outlen: input maximum size of output character array, on output * contains actual length of output array. * * Write SASL names, separated by space, of mechanisms supported by * the libgsasl client to the output array. To find out how large the * output array must be, call this function with a NULL @out * parameter. * * Return value: Returns %GSASL_OK if successful, or error code. * * Deprecated: Use gsasl_client_mechlist() instead. **/ int gsasl_client_listmech (Gsasl * ctx, char *out, size_t * outlen) { char *tmp; int rc; rc = gsasl_client_mechlist (ctx, &tmp); if (rc == GSASL_OK) { size_t tmplen = strlen (tmp); if (tmplen >= *outlen) { free (tmp); return GSASL_TOO_SMALL_BUFFER; } if (out) strcpy (out, tmp); *outlen = tmplen + 1; free (tmp); } return rc; } /** * gsasl_server_listmech: * @ctx: libgsasl handle. * @out: output character array. * @outlen: input maximum size of output character array, on output * contains actual length of output array. * * Write SASL names, separated by space, of mechanisms supported by * the libgsasl server to the output array. To find out how large the * output array must be, call this function with a NULL @out * parameter. * * Return value: Returns %GSASL_OK if successful, or error code. * * Deprecated: Use gsasl_server_mechlist() instead. **/ int gsasl_server_listmech (Gsasl * ctx, char *out, size_t * outlen) { char *tmp; int rc; rc = gsasl_server_mechlist (ctx, &tmp); if (rc == GSASL_OK) { size_t tmplen = strlen (tmp); if (tmplen >= *outlen) { free (tmp); return GSASL_TOO_SMALL_BUFFER; } if (out) strcpy (out, tmp); *outlen = tmplen + 1; free (tmp); } return rc; } static int _gsasl_step (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) { char *tmp; size_t tmplen; int rc; rc = gsasl_step (sctx, input, input_len, &tmp, &tmplen); if (rc == GSASL_OK || rc == GSASL_NEEDS_MORE) { if (tmplen >= *output_len) { free (tmp); /* XXX We lose the step token here, don't we? */ return GSASL_TOO_SMALL_BUFFER; } if (output) memcpy (output, tmp, tmplen); *output_len = tmplen; free (tmp); } return rc; } /** * gsasl_client_step: * @sctx: libgsasl client handle. * @input: input byte array. * @input_len: size of input byte array. * @output: output byte array. * @output_len: size of output byte array. * * Perform one step of SASL authentication in client. This reads data * from server (specified with input and input_len), processes it * (potentially invoking callbacks to the application), and writes * data to server (into variables output and output_len). * * The contents of the output buffer is unspecified if this functions * returns anything other than %GSASL_NEEDS_MORE. * * Return value: Returns %GSASL_OK if authenticated terminated * successfully, %GSASL_NEEDS_MORE if more data is needed, or error * code. * * Deprecated: Use gsasl_step() instead. **/ int gsasl_client_step (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) { return _gsasl_step (sctx, input, input_len, output, output_len); } /** * gsasl_server_step: * @sctx: libgsasl server handle. * @input: input byte array. * @input_len: size of input byte array. * @output: output byte array. * @output_len: size of output byte array. * * Perform one step of SASL authentication in server. This reads data * from client (specified with input and input_len), processes it * (potentially invoking callbacks to the application), and writes * data to client (into variables output and output_len). * * The contents of the output buffer is unspecified if this functions * returns anything other than %GSASL_NEEDS_MORE. * * Return value: Returns %GSASL_OK if authenticated terminated * successfully, %GSASL_NEEDS_MORE if more data is needed, or error * code. * * Deprecated: Use gsasl_step() instead. **/ int gsasl_server_step (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) { return _gsasl_step (sctx, input, input_len, output, output_len); } static int _gsasl_step64 (Gsasl_session * sctx, const char *b64input, char *b64output, size_t b64output_len) { char *tmp; int rc; rc = gsasl_step64 (sctx, b64input, &tmp); if (rc == GSASL_OK || rc == GSASL_NEEDS_MORE) { if (b64output_len <= strlen (tmp)) { free (tmp); /* XXX We lose the step token here, don't we? */ return GSASL_TOO_SMALL_BUFFER; } if (b64output) strcpy (b64output, tmp); free (tmp); } return rc; } /** * gsasl_client_step_base64: * @sctx: libgsasl client handle. * @b64input: input base64 encoded byte array. * @b64output: output base64 encoded byte array. * @b64output_len: size of output base64 encoded byte array. * * This is a simple wrapper around gsasl_client_step() that base64 * decodes the input and base64 encodes the output. * * Return value: See gsasl_client_step(). * * Deprecated: Use gsasl_step64() instead. **/ int gsasl_client_step_base64 (Gsasl_session * sctx, const char *b64input, char *b64output, size_t b64output_len) { return _gsasl_step64 (sctx, b64input, b64output, b64output_len); } /** * gsasl_server_step_base64: * @sctx: libgsasl server handle. * @b64input: input base64 encoded byte array. * @b64output: output base64 encoded byte array. * @b64output_len: size of output base64 encoded byte array. * * This is a simple wrapper around gsasl_server_step() that base64 * decodes the input and base64 encodes the output. * * Return value: See gsasl_server_step(). * * Deprecated: Use gsasl_step64() instead. **/ int gsasl_server_step_base64 (Gsasl_session * sctx, const char *b64input, char *b64output, size_t b64output_len) { return _gsasl_step64 (sctx, b64input, b64output, b64output_len); } /** * gsasl_client_finish: * @sctx: libgsasl client handle. * * Destroy a libgsasl client handle. The handle must not be used with * other libgsasl functions after this call. * * Deprecated: Use gsasl_finish() instead. **/ void gsasl_client_finish (Gsasl_session * sctx) { gsasl_finish (sctx); } /** * gsasl_server_finish: * @sctx: libgsasl server handle. * * Destroy a libgsasl server handle. The handle must not be used with * other libgsasl functions after this call. * * Deprecated: Use gsasl_finish() instead. **/ void gsasl_server_finish (Gsasl_session * sctx) { gsasl_finish (sctx); } /** * gsasl_client_ctx_get: * @sctx: libgsasl client handle * * Get the libgsasl handle given a libgsasl client handle. * * Return value: Returns the libgsasl handle given a libgsasl client handle. * * Deprecated: This function is not useful with the new 0.2.0 API. **/ Gsasl * gsasl_client_ctx_get (Gsasl_session * sctx) { return sctx->ctx; } /** * gsasl_client_application_data_set: * @sctx: libgsasl client handle. * @application_data: opaque pointer to application specific data. * * Store application specific data in the libgsasl client handle. The * application data can be later (for instance, inside a callback) be * retrieved by calling gsasl_client_application_data_get(). It is * normally used by the application to maintain state between the main * program and the callback. * * Deprecated: Use gsasl_callback_hook_set() or * gsasl_session_hook_set() instead. **/ void gsasl_client_application_data_set (Gsasl_session * sctx, void *application_data) { gsasl_appinfo_set (sctx, application_data); } /** * gsasl_client_application_data_get: * @sctx: libgsasl client handle. * * Retrieve application specific data from libgsasl client handle. The * application data is set using gsasl_client_application_data_set(). * It is normally used by the application to maintain state between * the main program and the callback. * * Return value: Returns the application specific data, or NULL. * * Deprecated: Use gsasl_callback_hook_get() or * gsasl_session_hook_get() instead. **/ void * gsasl_client_application_data_get (Gsasl_session * sctx) { return gsasl_appinfo_get (sctx); } /** * gsasl_server_ctx_get: * @sctx: libgsasl server handle * * Get the libgsasl handle given a libgsasl server handle. * * Return value: Returns the libgsasl handle given a libgsasl server handle. * * Deprecated: This function is not useful with the new 0.2.0 API. **/ Gsasl * gsasl_server_ctx_get (Gsasl_session * sctx) { return sctx->ctx; } /** * gsasl_server_application_data_set: * @sctx: libgsasl server handle. * @application_data: opaque pointer to application specific data. * * Store application specific data in the libgsasl server handle. The * application data can be later (for instance, inside a callback) be * retrieved by calling gsasl_server_application_data_get(). It is * normally used by the application to maintain state between the main * program and the callback. * * Deprecated: Use gsasl_callback_hook_set() or * gsasl_session_hook_set() instead. **/ void gsasl_server_application_data_set (Gsasl_session * sctx, void *application_data) { gsasl_appinfo_set (sctx, application_data); } /** * gsasl_server_application_data_get: * @sctx: libgsasl server handle. * * Retrieve application specific data from libgsasl server handle. The * application data is set using gsasl_server_application_data_set(). * It is normally used by the application to maintain state between * the main program and the callback. * * Return value: Returns the application specific data, or NULL. * * Deprecated: Use gsasl_callback_hook_get() or * gsasl_session_hook_get() instead. **/ void * gsasl_server_application_data_get (Gsasl_session * sctx) { return gsasl_appinfo_get (sctx); } /** * gsasl_randomize: * @strong: 0 iff operation should not block, non-0 for very strong randomness. * @data: output array to be filled with random data. * @datalen: size of output array. * * Store cryptographically random data of given size in the provided * buffer. * * Return value: Returns %GSASL_OK iff successful. * * Deprecated: Use gsasl_random() or gsasl_nonce() instead. **/ int gsasl_randomize (int strong, char *data, size_t datalen) { if (strong) return gsasl_random (data, datalen); return gsasl_nonce (data, datalen); } /** * gsasl_ctx_get: * @sctx: libgsasl session handle * * Get the libgsasl handle given a libgsasl session handle. * * Return value: Returns the libgsasl handle given a libgsasl session handle. * * Deprecated: This function is not useful with the new 0.2.0 API. **/ Gsasl * gsasl_ctx_get (Gsasl_session * sctx) { return sctx->ctx; } /** * gsasl_encode_inline: * @sctx: libgsasl session handle. * @input: input byte array. * @input_len: size of input byte array. * @output: output byte array. * @output_len: size of output byte array. * * Encode data according to negotiated SASL mechanism. This might mean * that data is integrity or privacy protected. * * Return value: Returns %GSASL_OK if encoding was successful, * otherwise an error code. * * Deprecated: Use gsasl_encode() instead. * * Since: 0.2.0 **/ int gsasl_encode_inline (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) { char *tmp; size_t tmplen; int res; res = gsasl_encode (sctx, input, input_len, &tmp, &tmplen); if (res == GSASL_OK) { if (*output_len < tmplen) return GSASL_TOO_SMALL_BUFFER; *output_len = tmplen; memcpy (output, tmp, tmplen); free (output); } return res; } /** * gsasl_decode_inline: * @sctx: libgsasl session handle. * @input: input byte array. * @input_len: size of input byte array. * @output: output byte array. * @output_len: size of output byte array. * * Decode data according to negotiated SASL mechanism. This might mean * that data is integrity or privacy protected. * * Return value: Returns %GSASL_OK if encoding was successful, * otherwise an error code. * * Deprecated: Use gsasl_decode() instead. * * Since: 0.2.0 **/ int gsasl_decode_inline (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) { char *tmp; size_t tmplen; int res; res = gsasl_decode (sctx, input, input_len, &tmp, &tmplen); if (res == GSASL_OK) { if (*output_len < tmplen) return GSASL_TOO_SMALL_BUFFER; *output_len = tmplen; memcpy (output, tmp, tmplen); free (output); } return res; } /** * gsasl_application_data_set: * @ctx: libgsasl handle. * @appdata: opaque pointer to application specific data. * * Store application specific data in the libgsasl handle. The * application data can be later (for instance, inside a callback) be * retrieved by calling gsasl_application_data_get(). It is normally * used by the application to maintain state between the main program * and the callback. * * Deprecated: Use gsasl_callback_hook_set() instead. **/ void gsasl_application_data_set (Gsasl * ctx, void *appdata) { ctx->application_hook = appdata; } /** * gsasl_application_data_get: * @ctx: libgsasl handle. * * Retrieve application specific data from libgsasl handle. The * application data is set using gsasl_application_data_set(). It is * normally used by the application to maintain state between the main * program and the callback. * * Return value: Returns the application specific data, or NULL. * * Deprecated: Use gsasl_callback_hook_get() instead. **/ void * gsasl_application_data_get (Gsasl * ctx) { return ctx->application_hook; } /** * gsasl_appinfo_set: * @sctx: libgsasl session handle. * @appdata: opaque pointer to application specific data. * * Store application specific data in the libgsasl session handle. * The application data can be later (for instance, inside a callback) * be retrieved by calling gsasl_appinfo_get(). It is normally used * by the application to maintain state between the main program and * the callback. * * Deprecated: Use gsasl_callback_hook_set() instead. **/ void gsasl_appinfo_set (Gsasl_session * sctx, void *appdata) { sctx->application_data = appdata; } /** * gsasl_appinfo_get: * @sctx: libgsasl session handle. * * Retrieve application specific data from libgsasl session * handle. The application data is set using gsasl_appinfo_set(). It * is normally used by the application to maintain state between the * main program and the callback. * * Return value: Returns the application specific data, or NULL. * * Deprecated: Use gsasl_callback_hook_get() instead. **/ void * gsasl_appinfo_get (Gsasl_session * sctx) { return sctx->application_data; } /** * gsasl_server_suggest_mechanism: * @ctx: libgsasl handle. * @mechlist: input character array with SASL mechanism names, * separated by invalid characters (e.g. SPC). * * Get name of "best" SASL mechanism supported by the libgsasl server * which is present in the input string. * * Return value: Returns name of "best" SASL mechanism supported by * the libgsasl server which is present in the input string. * * Deprecated: This function was never useful, since it is the client * that chose which mechanism to use. **/ const char * gsasl_server_suggest_mechanism (Gsasl * ctx, const char *mechlist) { return NULL; /* This function is just silly. */ } /** * gsasl_client_callback_authentication_id_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to set the * authentication identity. The function can be later retrieved using * gsasl_client_callback_authentication_id_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_authentication_id_set (Gsasl * ctx, Gsasl_client_callback_authentication_id cb) { ctx->cbc_authentication_id = cb; } /** * gsasl_client_callback_authentication_id_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_authentication_id_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_authentication_id_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_authentication_id gsasl_client_callback_authentication_id_get (Gsasl * ctx) { return ctx ? ctx->cbc_authentication_id : NULL; } /** * gsasl_client_callback_authorization_id_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to set the * authorization identity. The function can be later retrieved using * gsasl_client_callback_authorization_id_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_authorization_id_set (Gsasl * ctx, Gsasl_client_callback_authorization_id cb) { ctx->cbc_authorization_id = cb; } /** * gsasl_client_callback_authorization_id_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_authorization_id_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_authorization_id_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_authorization_id gsasl_client_callback_authorization_id_get (Gsasl * ctx) { return ctx ? ctx->cbc_authorization_id : NULL; } /** * gsasl_client_callback_password_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to set the * password. The function can be later retrieved using * gsasl_client_callback_password_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_password_set (Gsasl * ctx, Gsasl_client_callback_password cb) { ctx->cbc_password = cb; } /** * gsasl_client_callback_password_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_password_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_password_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_password gsasl_client_callback_password_get (Gsasl * ctx) { return ctx ? ctx->cbc_password : NULL; } /** * gsasl_client_callback_passcode_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to set the * passcode. The function can be later retrieved using * gsasl_client_callback_passcode_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_passcode_set (Gsasl * ctx, Gsasl_client_callback_passcode cb) { ctx->cbc_passcode = cb; } /** * gsasl_client_callback_passcode_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_passcode_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_passcode_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_passcode gsasl_client_callback_passcode_get (Gsasl * ctx) { return ctx ? ctx->cbc_passcode : NULL; } /** * gsasl_client_callback_pin_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to chose a new * pin, possibly suggested by the server, for the SECURID mechanism. * This is not normally invoked, but only when the server requests it. * The function can be later retrieved using * gsasl_client_callback_pin_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_pin_set (Gsasl * ctx, Gsasl_client_callback_pin cb) { ctx->cbc_pin = cb; } /** * gsasl_client_callback_pin_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_pin_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_pin_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_pin gsasl_client_callback_pin_get (Gsasl * ctx) { return ctx ? ctx->cbc_pin : NULL; } /** * gsasl_client_callback_service_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to set the name * of the service. The service buffer should be a registered GSSAPI * host-based service name, hostname the name of the server. * Servicename is used by DIGEST-MD5 and should be the name of generic * server in case of a replicated service. The function can be later * retrieved using gsasl_client_callback_service_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_service_set (Gsasl * ctx, Gsasl_client_callback_service cb) { ctx->cbc_service = cb; } /** * gsasl_client_callback_service_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_service_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_service_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_service gsasl_client_callback_service_get (Gsasl * ctx) { return ctx ? ctx->cbc_service : NULL; } /** * gsasl_client_callback_anonymous_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to set the * anonymous token, which usually is the users email address. The * function can be later retrieved using * gsasl_client_callback_anonymous_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_anonymous_set (Gsasl * ctx, Gsasl_client_callback_anonymous cb) { ctx->cbc_anonymous = cb; } /** * gsasl_client_callback_anonymous_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_anonymous_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_anonymous_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_anonymous gsasl_client_callback_anonymous_get (Gsasl * ctx) { return ctx ? ctx->cbc_anonymous : NULL; } /** * gsasl_client_callback_qop_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to determine the * qop to use after looking at what the server offered. The function * can be later retrieved using gsasl_client_callback_qop_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_qop_set (Gsasl * ctx, Gsasl_client_callback_qop cb) { ctx->cbc_qop = cb; } /** * gsasl_client_callback_qop_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_qop_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_qop_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_qop gsasl_client_callback_qop_get (Gsasl * ctx) { return ctx ? ctx->cbc_qop : NULL; } /** * gsasl_client_callback_maxbuf_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to inform the * server of the largest buffer the client is able to receive when * using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of * Protection (qop). If this directive is missing, the default value * 65536 will be assumed. The function can be later retrieved using * gsasl_client_callback_maxbuf_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_maxbuf_set (Gsasl * ctx, Gsasl_client_callback_maxbuf cb) { ctx->cbc_maxbuf = cb; } /** * gsasl_client_callback_maxbuf_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_maxbuf_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_maxbuf_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_maxbuf gsasl_client_callback_maxbuf_get (Gsasl * ctx) { return ctx ? ctx->cbc_maxbuf : NULL; } /** * gsasl_client_callback_realm_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the client to know which * realm it belongs to. The realm is used by the server to determine * which username and password to use. The function can be later * retrieved using gsasl_client_callback_realm_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_client_callback_realm_set (Gsasl * ctx, Gsasl_client_callback_realm cb) { ctx->cbc_realm = cb; } /** * gsasl_client_callback_realm_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_client_callback_realm_set(). * * Return value: Returns the callback earlier set by calling * gsasl_client_callback_realm_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_client_callback_realm gsasl_client_callback_realm_get (Gsasl * ctx) { return ctx ? ctx->cbc_realm : NULL; } /** * gsasl_server_callback_validate_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for deciding if * user is authenticated using authentication identity, authorization * identity and password. The function can be later retrieved using * gsasl_server_callback_validate_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_validate_set (Gsasl * ctx, Gsasl_server_callback_validate cb) { ctx->cbs_validate = cb; } /** * gsasl_server_callback_validate_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_validate_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_validate_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_validate gsasl_server_callback_validate_get (Gsasl * ctx) { return ctx ? ctx->cbs_validate : NULL; } /** * gsasl_server_callback_retrieve_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for deciding if * user is authenticated using authentication identity, authorization * identity and password. The function can be later retrieved using * gsasl_server_callback_retrieve_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_retrieve_set (Gsasl * ctx, Gsasl_server_callback_retrieve cb) { ctx->cbs_retrieve = cb; } /** * gsasl_server_callback_retrieve_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_retrieve_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_retrieve_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get (Gsasl * ctx) { return ctx ? ctx->cbs_retrieve : NULL; } /** * gsasl_server_callback_cram_md5_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for deciding if * user is authenticated using CRAM-MD5 challenge and response. The * function can be later retrieved using * gsasl_server_callback_cram_md5_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_cram_md5_set (Gsasl * ctx, Gsasl_server_callback_cram_md5 cb) { ctx->cbs_cram_md5 = cb; } /** * gsasl_server_callback_cram_md5_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_cram_md5_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_cram_md5_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_cram_md5 gsasl_server_callback_cram_md5_get (Gsasl * ctx) { return ctx ? ctx->cbs_cram_md5 : NULL; } /** * gsasl_server_callback_digest_md5_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for retrieving * the secret hash of the username, realm and password for use in the * DIGEST-MD5 mechanism. The function can be later retrieved using * gsasl_server_callback_digest_md5_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_digest_md5_set (Gsasl * ctx, Gsasl_server_callback_digest_md5 cb) { ctx->cbs_digest_md5 = cb; } /** * gsasl_server_callback_digest_md5_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_digest_md5_set(). * * Return value: Return the callback earlier set by calling * gsasl_server_callback_digest_md5_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_digest_md5 gsasl_server_callback_digest_md5_get (Gsasl * ctx) { return ctx->cbs_digest_md5; } /** * gsasl_server_callback_external_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for deciding if * user is authenticated out of band. The function can be later * retrieved using gsasl_server_callback_external_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_external_set (Gsasl * ctx, Gsasl_server_callback_external cb) { ctx->cbs_external = cb; } /** * gsasl_server_callback_external_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_external_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_external_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_external gsasl_server_callback_external_get (Gsasl * ctx) { return ctx ? ctx->cbs_external : NULL; } /** * gsasl_server_callback_anonymous_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for deciding if * user is permitted anonymous access. The function can be later * retrieved using gsasl_server_callback_anonymous_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_anonymous_set (Gsasl * ctx, Gsasl_server_callback_anonymous cb) { ctx->cbs_anonymous = cb; } /** * gsasl_server_callback_anonymous_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_anonymous_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_anonymous_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_anonymous gsasl_server_callback_anonymous_get (Gsasl * ctx) { return ctx ? ctx->cbs_anonymous : NULL; } /** * gsasl_server_callback_realm_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server to know which * realm it serves. The realm is used by the user to determine which * username and password to use. The function can be later retrieved * using gsasl_server_callback_realm_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_realm_set (Gsasl * ctx, Gsasl_server_callback_realm cb) { ctx->cbs_realm = cb; } /** * gsasl_server_callback_realm_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_realm_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_realm_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_realm gsasl_server_callback_realm_get (Gsasl * ctx) { return ctx ? ctx->cbs_realm : NULL; } /** * gsasl_server_callback_qop_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server to know which * quality of protection it accepts. The quality of protection * eventually used is selected by the client though. It is currently * used by the DIGEST-MD5 mechanism. The function can be later * retrieved using gsasl_server_callback_qop_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_qop_set (Gsasl * ctx, Gsasl_server_callback_qop cb) { ctx->cbs_qop = cb; } /** * gsasl_server_callback_qop_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_qop_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_qop_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_qop gsasl_server_callback_qop_get (Gsasl * ctx) { return ctx ? ctx->cbs_qop : NULL; } /** * gsasl_server_callback_maxbuf_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server to inform the * client of the largest buffer the server is able to receive when * using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of * Protection (qop). If this directive is missing, the default value * 65536 will be assumed. The function can be later retrieved using * gsasl_server_callback_maxbuf_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_maxbuf_set (Gsasl * ctx, Gsasl_server_callback_maxbuf cb) { ctx->cbs_maxbuf = cb; } /** * gsasl_server_callback_maxbuf_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_maxbuf_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_maxbuf_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_maxbuf gsasl_server_callback_maxbuf_get (Gsasl * ctx) { return ctx ? ctx->cbs_maxbuf : NULL; } /** * gsasl_server_callback_cipher_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server to inform the * client of the cipher suites supported. The DES and 3DES ciphers * must be supported for interoperability. It is currently used by * the DIGEST-MD5 mechanism. The function can be later retrieved * using gsasl_server_callback_cipher_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_cipher_set (Gsasl * ctx, Gsasl_server_callback_cipher cb) { ctx->cbs_cipher = cb; } /** * gsasl_server_callback_cipher_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_cipher_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_cipher_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_cipher gsasl_server_callback_cipher_get (Gsasl * ctx) { return ctx ? ctx->cbs_cipher : NULL; } /** * gsasl_server_callback_securid_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for validating a * user via the SECURID mechanism. The function should return * GSASL_OK if user authenticated successfully, * GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE if it wants another * passcode, GSASL_SECURID_SERVER_NEED_NEW_PIN if it wants a PIN * change, or an error. When (and only when) * GSASL_SECURID_SERVER_NEED_NEW_PIN is returned, suggestpin can be * populated with a PIN code the server suggests, and suggestpinlen * set to the length of the PIN. The function can be later retrieved * using gsasl_server_callback_securid_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_securid_set (Gsasl * ctx, Gsasl_server_callback_securid cb) { ctx->cbs_securid = cb; } /** * gsasl_server_callback_securid_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_securid_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_securid_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_securid gsasl_server_callback_securid_get (Gsasl * ctx) { return ctx ? ctx->cbs_securid : NULL; } /** * gsasl_server_callback_gssapi_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server for checking if * a GSSAPI user is authorized for username (by, e.g., calling * krb5_kuserok). The function should return GSASL_OK if the user * should be permitted access, or an error code such as * GSASL_AUTHENTICATION_ERROR on failure. The function can be later * retrieved using gsasl_server_callback_gssapi_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_gssapi_set (Gsasl * ctx, Gsasl_server_callback_gssapi cb) { ctx->cbs_gssapi = cb; } /** * gsasl_server_callback_gssapi_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_gssapi_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_gssapi_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_gssapi gsasl_server_callback_gssapi_get (Gsasl * ctx) { return ctx ? ctx->cbs_gssapi : NULL; } /** * gsasl_server_callback_service_set: * @ctx: libgsasl handle. * @cb: callback function * * Specify the callback function to use in the server to set the name * of the service. The service buffer should be a registered GSSAPI * host-based service name, hostname the name of the server. The * function can be later retrieved using * gsasl_server_callback_service_get(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ void gsasl_server_callback_service_set (Gsasl * ctx, Gsasl_server_callback_service cb) { ctx->cbs_service = cb; } /** * gsasl_server_callback_service_get: * @ctx: libgsasl handle. * * Get the callback earlier set by calling * gsasl_server_callback_service_set(). * * Return value: Returns the callback earlier set by calling * gsasl_server_callback_service_set(). * * Deprecated: This function is part of the old callback interface. * The new interface uses gsasl_callback_set() to set the application * callback, and uses gsasl_callback() or gsasl_property_get() to * invoke the callback for certain properties. **/ Gsasl_server_callback_service gsasl_server_callback_service_get (Gsasl * ctx) { return ctx ? ctx->cbs_service : NULL; } #if HAVE_LIBIDN #include #endif /** * gsasl_stringprep_nfkc: * @in: a UTF-8 encoded string. * @len: length of @str, in bytes, or -1 if @str is nul-terminated. * * Converts a string into canonical form, standardizing such issues as * whether a character with an accent is represented as a base * character and combining accent or as a single precomposed * character. * * The normalization mode is NFKC (ALL COMPOSE). It standardizes * differences that do not affect the text content, such as the * above-mentioned accent representation. It standardizes the * "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to * the standard forms (in this case DIGIT THREE). Formatting * information may be lost but for most text operations such * characters should be considered the same. It returns a result with * composed forms rather than a maximally decomposed form. * * Return value: Return a newly allocated string, that is the NFKC * normalized form of @str, or NULL on error. * * Deprecated: No replacement functionality in GNU SASL, use GNU * Libidn instead. Note that in SASL, you most likely want to use * SASLprep and not bare NFKC, see gsasl_saslprep(). **/ char * gsasl_stringprep_nfkc (const char *in, ssize_t len) { char *out = NULL; #if HAVE_LIBIDN out = stringprep_utf8_nfkc_normalize (in, len); #endif return out; } /** * gsasl_stringprep_saslprep: * @in: input ASCII or UTF-8 string with data to prepare according to SASLprep. * @stringprep_rc: pointer to output variable with stringprep error code, * or NULL to indicate that you don't care about it. * * Process a Unicode string for comparison, according to the * "SASLprep" stringprep profile. This function is intended to be * used by Simple Authentication and Security Layer (SASL) mechanisms * (such as PLAIN, CRAM-MD5, and DIGEST-MD5) as well as other * protocols exchanging user names and/or passwords. * * Return value: Return a newly allocated string that is the * "SASLprep" processed form of the input string, or NULL on error, * in which case @stringprep_rc contain the stringprep library error * code. * * Deprecated: Use gsasl_saslprep() instead. **/ char * gsasl_stringprep_saslprep (const char *in, int *stringprep_rc) { char *out = NULL; #if HAVE_LIBIDN int rc; rc = stringprep_profile (in, &out, "SASLprep", 0); if (stringprep_rc) *stringprep_rc = rc; if (rc != STRINGPREP_OK) out = NULL; #endif return out; } /** * gsasl_stringprep_trace: * @in: input ASCII or UTF-8 string with data to prepare according to "trace". * @stringprep_rc: pointer to output variable with stringprep error code, * or NULL to indicate that you don't care about it. * * Process a Unicode string for use as trace information, according to * the "trace" stringprep profile. The profile is designed for use * with the SASL ANONYMOUS Mechanism. * * Return value: Return a newly allocated string that is the "trace" * processed form of the input string, or NULL on error, in which * case @stringprep_rc contain the stringprep library error code. * * Deprecated: No replacement functionality in GNU SASL, use GNU * Libidn instead. **/ char * gsasl_stringprep_trace (const char *in, int *stringprep_rc) { char *out = NULL; #if HAVE_LIBIDN int rc; rc = stringprep_profile (in, &out, "trace", 0); if (stringprep_rc) *stringprep_rc = rc; if (rc != STRINGPREP_OK) out = NULL; #endif return out; } /** * gsasl_md5pwd_get_password: * @filename: filename of file containing passwords. * @username: username string. * @key: output character array. * @keylen: input maximum size of output character array, on output * contains actual length of output array. * * Retrieve password for user from specified file. To find out how * large the output array must be, call this function with out=NULL. * * The file should be on the UoW "MD5 Based Authentication" format, * which means it is in text format with comments denoted by # first * on the line, with user entries looking as "usernameTABpassword". * This function removes CR and LF at the end of lines before * processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, * respectively. * * Return value: Return GSASL_OK if output buffer contains the * password, GSASL_AUTHENTICATION_ERROR if the user could not be * found, or other error code. * * Deprecated: Use gsasl_simple_getpass() instead. **/ int gsasl_md5pwd_get_password (const char *filename, const char *username, char *key, size_t * keylen) { char *tmp; size_t tmplen; int res; FILE *fh; fh = fopen (filename, "r"); if (fh == NULL) return GSASL_FOPEN_ERROR; fclose (fh); res = gsasl_simple_getpass (filename, username, &tmp); if (res != GSASL_OK) return res; tmplen = strlen (tmp); if (*keylen < tmplen + 1) { free (tmp); return GSASL_TOO_SMALL_BUFFER; } *keylen = tmplen; if (key) memcpy (key, tmp, tmplen); free (tmp); return GSASL_OK; } #include /** * gsasl_base64_encode: * @src: input byte array * @srclength: size of input byte array * @target: output byte array * @targsize: size of output byte array * * Encode data as base64. Converts characters, three at a time, * starting at src into four base64 characters in the target area * until the entire input buffer is encoded. * * Return value: Returns the number of data bytes stored at the * target, or -1 on error. * * Deprecated: Use gsasl_base64_to() instead. **/ int gsasl_base64_encode (char const *src, size_t srclength, char *target, size_t targsize) { int rc; char *out; size_t outlen; int copied; rc = gsasl_base64_to (src, srclength, &out, &outlen); if (rc) return -1; copied = MIN (outlen, targsize); memcpy (target, out, copied); free (out); return copied; } /** * gsasl_base64_decode: * @src: input byte array * @target: output byte array * @targsize: size of output byte array * * Decode Base64 data. Skips all whitespace anywhere. Converts * characters, four at a time, starting at (or after) src from Base64 * numbers into three 8 bit bytes in the target area. * * Return value: Returns the number of data bytes stored at the * target, or -1 on error. * * Deprecated: Use gsasl_base64_from() instead. **/ int gsasl_base64_decode (char const *src, char *target, size_t targsize) { int rc; char *out; size_t outlen; int copied; rc = gsasl_base64_from (src, strlen (src), &out, &outlen); if (rc) return -1; copied = MIN (outlen, targsize); memcpy (target, out, copied); free (out); return copied; } static const char * pmap (Gsasl_session * sctx, Gsasl_property prop, char *buf, size_t buflen) { int res; buf[0] = '\0'; /* Translate obsolete callbacks to modern properties. */ switch (prop) { case GSASL_SERVICE: { Gsasl_client_callback_service cb_service = gsasl_client_callback_service_get (sctx->ctx); if (!cb_service) break; res = cb_service (sctx, buf, &buflen, NULL, 0, NULL, 0); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_HOSTNAME: { Gsasl_client_callback_service cb_service = gsasl_client_callback_service_get (sctx->ctx); if (!cb_service) break; res = cb_service (sctx, NULL, 0, buf, &buflen, NULL, 0); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_ANONYMOUS_TOKEN: { Gsasl_client_callback_anonymous cb_anonymous = gsasl_client_callback_anonymous_get (sctx->ctx); if (!cb_anonymous) break; res = cb_anonymous (sctx, buf, &buflen); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_AUTHID: { Gsasl_client_callback_authentication_id cb_authentication_id = gsasl_client_callback_authentication_id_get (sctx->ctx); if (!cb_authentication_id) break; res = cb_authentication_id (sctx, buf, &buflen); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_AUTHZID: { Gsasl_client_callback_authorization_id cb_authorization_id = gsasl_client_callback_authorization_id_get (sctx->ctx); if (!cb_authorization_id) break; res = cb_authorization_id (sctx, buf, &buflen); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_PASSWORD: { Gsasl_client_callback_password cb_password = gsasl_client_callback_password_get (sctx->ctx); if (!cb_password) break; res = cb_password (sctx, buf, &buflen); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_PASSCODE: { Gsasl_client_callback_passcode cb_passcode = gsasl_client_callback_passcode_get (sctx->ctx); if (!cb_passcode) break; res = cb_passcode (sctx, buf, &buflen); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_PIN: { Gsasl_client_callback_pin cb_pin = gsasl_client_callback_pin_get (sctx->ctx); if (!cb_pin) break; res = cb_pin (sctx, sctx->suggestedpin, buf, &buflen); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } case GSASL_REALM: { Gsasl_client_callback_realm cb_realm = gsasl_client_callback_realm_get (sctx->ctx); if (!cb_realm) break; res = cb_realm (sctx, buf, &buflen); if (res != GSASL_OK) break; buf[buflen] = '\0'; gsasl_property_set (sctx, prop, buf); break; } #if USE_DIGEST_MD5 case GSASL_QOP: { Gsasl_client_callback_qop cb_qop = gsasl_client_callback_qop_get (sctx->ctx); int serverqops; Gsasl_qop qop; if (!cb_qop) break; serverqops = digest_md5_qopstr2qops (sctx->qops); if (serverqops == -1) return NULL; qop = cb_qop (sctx, serverqops); if (qop & 0x07) gsasl_property_set (sctx, prop, digest_md5_qops2qopstr (qop)); break; } break; #endif default: break; } return gsasl_property_fast (sctx, prop); } const char * _gsasl_obsolete_property_map (Gsasl_session * sctx, Gsasl_property prop) { const char *ret; char *buf; buf = malloc (BUFSIZ); if (!buf) return NULL; ret = pmap (sctx, prop, buf, BUFSIZ - 1); free (buf); return ret; } int _gsasl_obsolete_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int res; /* Call obsolete callbacks. */ switch (prop) { case GSASL_VALIDATE_ANONYMOUS: { Gsasl_server_callback_anonymous cb_anonymous; if (!sctx->anonymous_token) break; cb_anonymous = gsasl_server_callback_anonymous_get (sctx->ctx); if (!cb_anonymous) break; res = cb_anonymous (sctx, sctx->anonymous_token); return res; break; } case GSASL_VALIDATE_EXTERNAL: { Gsasl_server_callback_external cb_external = gsasl_server_callback_external_get (sctx->ctx); if (!cb_external) break; res = cb_external (sctx); return res; break; } case GSASL_VALIDATE_SECURID: { Gsasl_server_callback_securid cb_securid = gsasl_server_callback_securid_get (sctx->ctx); #define MAX_SECURID 32 /* See RFC 2808. */ char buf[MAX_SECURID + 1]; size_t buflen = MAX_SECURID; if (!cb_securid) break; res = cb_securid (sctx, sctx->authid, sctx->authzid, sctx->passcode, sctx->pin, buf, &buflen); if (buflen > 0 && buflen < MAX_SECURID) { buf[buflen] = '\0'; gsasl_property_set (sctx, GSASL_SUGGESTED_PIN, buf); } return res; break; } case GSASL_VALIDATE_GSSAPI: { Gsasl_server_callback_gssapi cb_gssapi = gsasl_server_callback_gssapi_get (sctx->ctx); if (!cb_gssapi) break; res = cb_gssapi (sctx, sctx->gssapi_display_name, sctx->authzid); return res; break; } case GSASL_VALIDATE_SIMPLE: { Gsasl_server_callback_validate cb_validate = gsasl_server_callback_validate_get (sctx->ctx); if (!cb_validate) break; res = cb_validate (sctx, sctx->authzid, sctx->authid, sctx->password); return res; break; } case GSASL_PASSWORD: { Gsasl_server_callback_retrieve cb_retrieve = gsasl_server_callback_retrieve_get (sctx->ctx); char *buf; size_t buflen = BUFSIZ - 1; if (!cb_retrieve) break; buf = malloc (BUFSIZ); if (!buf) return GSASL_MALLOC_ERROR; res = cb_retrieve (sctx, sctx->authid, sctx->authzid, sctx->hostname, buf, &buflen); if (res == GSASL_OK) gsasl_property_set_raw (sctx, GSASL_PASSWORD, buf, buflen); /* FIXME else if (res == GSASL_TOO_SMALL_BUFFER)... */ free (buf); return res; break; } #if USE_DIGEST_MD5 case GSASL_QOPS: { Gsasl_server_callback_qop cb_qop = gsasl_server_callback_qop_get (sctx->ctx); Gsasl_qop qops; if (!cb_qop) break; qops = cb_qop (sctx); if (qops & 0x07) gsasl_property_set (sctx, GSASL_QOPS, digest_md5_qops2qopstr (qops)); return GSASL_OK; break; } #endif default: break; } return GSASL_NO_CALLBACK; } gsasl-1.8.1/lib/src/mechname.c0000644000000000000000000000263113516252321013001 00000000000000/* mechname.c --- Get name of SASL mechanism used in a session. * Copyright (C) 2008-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_mechanism_name: * @sctx: libgsasl session handle. * * This function returns the name of the SASL mechanism used in the * session. The pointer must not be deallocated by the caller. * * Return value: Returns a zero terminated character array with the * name of the SASL mechanism, or NULL if not known. * * Since: 0.2.28 **/ const char * gsasl_mechanism_name (Gsasl_session * sctx) { if (!sctx || !sctx->mech) return NULL; return sctx->mech->name; } gsasl-1.8.1/lib/src/free.c0000644000000000000000000000271013516252321012143 00000000000000/* free.c --- Wrapper around the `free' function, primarily for Windows * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ /* Get specification. */ #include "internal.h" /** * gsasl_free: * @ptr: memory pointer * * Invoke free(@ptr) to de-allocate memory pointer. Typically used on * strings allocated by other libgsasl functions. * * This is useful on Windows where libgsasl is linked to one CRT and * the application is linked to another CRT. Then malloc/free will * not use the same heap. This happens if you build libgsasl using * mingw32 and the application with Visual Studio. * * Since: 0.2.19 **/ void gsasl_free (void *ptr) { free (ptr); } gsasl-1.8.1/lib/src/supportp.c0000644000000000000000000000370613516252321013124 00000000000000/* supportp.c --- Tell if a specific mechanism is supported. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" static int _gsasl_support_p (Gsasl_mechanism * mechs, size_t n_mechs, const char *name) { size_t i; for (i = 0; i < n_mechs; i++) if (name && strcmp (name, mechs[i].name) == 0) return 1; return 0; } /** * gsasl_client_support_p: * @ctx: libgsasl handle. * @name: name of SASL mechanism. * * Decide whether there is client-side support for a specified * mechanism. * * Return value: Returns 1 if the libgsasl client supports the named * mechanism, otherwise 0. **/ int gsasl_client_support_p (Gsasl * ctx, const char *name) { return _gsasl_support_p (ctx->client_mechs, ctx->n_client_mechs, name); } /** * gsasl_server_support_p: * @ctx: libgsasl handle. * @name: name of SASL mechanism. * * Decide whether there is server-side support for a specified * mechanism. * * Return value: Returns 1 if the libgsasl server supports the named * mechanism, otherwise 0. **/ int gsasl_server_support_p (Gsasl * ctx, const char *name) { return _gsasl_support_p (ctx->server_mechs, ctx->n_server_mechs, name); } gsasl-1.8.1/lib/src/xstep.c0000644000000000000000000000727513516252321012400 00000000000000/* xstep.c --- Perform one SASL authentication step. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_step: * @sctx: libgsasl session handle. * @input: input byte array. * @input_len: size of input byte array. * @output: newly allocated output byte array. * @output_len: pointer to output variable with size of output byte array. * * Perform one step of SASL authentication. This reads data from the * other end (from @input and @input_len), processes it (potentially * invoking callbacks to the application), and writes data to server * (into newly allocated variable @output and @output_len that * indicate the length of @output). * * The contents of the @output buffer is unspecified if this functions * returns anything other than %GSASL_OK or %GSASL_NEEDS_MORE. If * this function return %GSASL_OK or %GSASL_NEEDS_MORE, however, the * @output buffer is allocated by this function, and it is the * responsibility of caller to deallocate it by calling free * (@output). * * Return value: Returns %GSASL_OK if authenticated terminated * successfully, %GSASL_NEEDS_MORE if more data is needed, or error * code. **/ int gsasl_step (Gsasl_session * sctx, const char *input, size_t input_len, char **output, size_t * output_len) { Gsasl_step_function step; if (sctx->clientp) step = sctx->mech->client.step; else step = sctx->mech->server.step; return step (sctx, sctx->mech_data, input, input_len, output, output_len); } /** * gsasl_step64: * @sctx: libgsasl client handle. * @b64input: input base64 encoded byte array. * @b64output: newly allocated output base64 encoded byte array. * * This is a simple wrapper around gsasl_step() that base64 decodes * the input and base64 encodes the output. * * The contents of the @b64output buffer is unspecified if this * functions returns anything other than %GSASL_OK or * %GSASL_NEEDS_MORE. If this function return %GSASL_OK or * %GSASL_NEEDS_MORE, however, the @b64output buffer is allocated by * this function, and it is the responsibility of caller to deallocate * it by calling free (@b64output). * * Return value: Returns %GSASL_OK if authenticated terminated * successfully, %GSASL_NEEDS_MORE if more data is needed, or error * code. **/ int gsasl_step64 (Gsasl_session * sctx, const char *b64input, char **b64output) { size_t input_len = 0, output_len = 0; char *input = NULL, *output = NULL; int res; if (b64input) { res = gsasl_base64_from (b64input, strlen (b64input), &input, &input_len); if (res != GSASL_OK) return GSASL_BASE64_ERROR; } res = gsasl_step (sctx, input, input_len, &output, &output_len); free (input); if (res == GSASL_OK || res == GSASL_NEEDS_MORE) { int tmpres = gsasl_base64_to (output, output_len, b64output, NULL); free (output); if (tmpres != GSASL_OK) return tmpres; } return res; } gsasl-1.8.1/lib/src/gsasl-compat.h0000644000000000000000000003640513516252321013631 00000000000000/* gsasl-compat.h --- Header file for obsoleted features in GNU SASL Library. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef GSASL_COMPAT_H #define GSASL_COMPAT_H #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) #define __attribute__(Spec) /* empty */ #endif #endif /* Old error codes */ enum { GSASL_TOO_SMALL_BUFFER = 4, GSASL_FOPEN_ERROR = 5, GSASL_FCLOSE_ERROR = 6, GSASL_GCRYPT_ERROR = GSASL_CRYPTO_ERROR, GSASL_CANNOT_GET_CTX = 32, GSASL_NEED_CLIENT_ANONYMOUS_CALLBACK = 11, GSASL_NEED_CLIENT_PASSWORD_CALLBACK = 12, GSASL_NEED_CLIENT_PASSCODE_CALLBACK = 13, GSASL_NEED_CLIENT_PIN_CALLBACK = 14, GSASL_NEED_CLIENT_AUTHORIZATION_ID_CALLBACK = 15, GSASL_NEED_CLIENT_AUTHENTICATION_ID_CALLBACK = 16, GSASL_NEED_CLIENT_SERVICE_CALLBACK = 17, GSASL_NEED_SERVER_VALIDATE_CALLBACK = 18, GSASL_NEED_SERVER_CRAM_MD5_CALLBACK = 19, GSASL_NEED_SERVER_DIGEST_MD5_CALLBACK = 20, GSASL_NEED_SERVER_EXTERNAL_CALLBACK = 21, GSASL_NEED_SERVER_ANONYMOUS_CALLBACK = 22, GSASL_NEED_SERVER_REALM_CALLBACK = 23, GSASL_NEED_SERVER_SECURID_CALLBACK = 24, GSASL_NEED_SERVER_SERVICE_CALLBACK = 25, GSASL_NEED_SERVER_GSSAPI_CALLBACK = 26, GSASL_NEED_SERVER_RETRIEVE_CALLBACK = 27, GSASL_UNICODE_NORMALIZATION_ERROR = 28, GSASL_NO_MORE_REALMS = 34, GSASL_INVALID_HANDLE = 50 } __attribute__ ((deprecated)); typedef Gsasl Gsasl_ctx __attribute__ ((deprecated)); typedef Gsasl_session Gsasl_session_ctx __attribute__ ((deprecated)); extern GSASL_API int gsasl_client_listmech (Gsasl * ctx, char *out, size_t * outlen) __attribute__ ((deprecated)); extern GSASL_API int gsasl_server_listmech (Gsasl * ctx, char *out, size_t * outlen) __attribute__ ((deprecated)); extern GSASL_API int gsasl_client_step (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) __attribute__ ((deprecated)); extern GSASL_API int gsasl_client_step_base64 (Gsasl_session * sctx, const char *b64input, char *b64output, size_t b64output_len) __attribute__ ((deprecated)); extern GSASL_API int gsasl_server_step (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) __attribute__ ((deprecated)); extern GSASL_API int gsasl_server_step_base64 (Gsasl_session * sctx, const char *b64input, char *b64output, size_t b64output_len) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_finish (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_finish (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API Gsasl *gsasl_client_ctx_get (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API Gsasl *gsasl_server_ctx_get (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_application_data_set (Gsasl_session * sctx, void *application_data) __attribute__ ((deprecated)); extern GSASL_API void *gsasl_client_application_data_get (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_application_data_set (Gsasl_session * sctx, void *application_data) __attribute__ ((deprecated)); extern GSASL_API void *gsasl_server_application_data_get (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API int gsasl_randomize (int strong, char *data, size_t datalen) __attribute__ ((deprecated)); extern GSASL_API Gsasl *gsasl_ctx_get (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API int gsasl_encode_inline (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) __attribute__ ((deprecated)); extern GSASL_API int gsasl_decode_inline (Gsasl_session * sctx, const char *input, size_t input_len, char *output, size_t * output_len) __attribute__ ((deprecated)); extern GSASL_API void gsasl_application_data_set (Gsasl * ctx, void *appdata) __attribute__ ((deprecated)); extern GSASL_API void *gsasl_application_data_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_appinfo_set (Gsasl_session * sctx, void *appdata) __attribute__ ((deprecated)); extern GSASL_API void *gsasl_appinfo_get (Gsasl_session * sctx) __attribute__ ((deprecated)); extern GSASL_API const char *gsasl_server_suggest_mechanism (Gsasl * ctx, const char *mechlist) __attribute__ ((deprecated)); extern GSASL_API int gsasl_base64_encode (char const *src, size_t srclength, char *target, size_t targsize) __attribute__ ((deprecated)); extern GSASL_API int gsasl_base64_decode (char const *src, char *target, size_t targsize) __attribute__ ((deprecated)); extern GSASL_API char *gsasl_stringprep_nfkc (const char *in, ssize_t len) __attribute__ ((deprecated)); extern GSASL_API char *gsasl_stringprep_saslprep (const char *in, int *stringprep_rc) __attribute__ ((deprecated)); extern GSASL_API char *gsasl_stringprep_trace (const char *in, int *stringprep_rc) __attribute__ ((deprecated)); extern GSASL_API int gsasl_md5pwd_get_password (const char *filename, const char *username, char *key, size_t * keylen) __attribute__ ((deprecated)); /* Callback prototypes */ typedef int (*Gsasl_client_callback_anonymous) (Gsasl_session * sctx, char *out, size_t * outlen); typedef int (*Gsasl_client_callback_authentication_id) (Gsasl_session * sctx, char *out, size_t * outlen); typedef int (*Gsasl_client_callback_authorization_id) (Gsasl_session * sctx, char *out, size_t * outlen); typedef int (*Gsasl_client_callback_password) (Gsasl_session * sctx, char *out, size_t * outlen); typedef int (*Gsasl_client_callback_passcode) (Gsasl_session * sctx, char *out, size_t * outlen); typedef int (*Gsasl_client_callback_pin) (Gsasl_session * sctx, char *suggestion, char *out, size_t * outlen); typedef int (*Gsasl_client_callback_service) (Gsasl_session * sctx, char *service, size_t * servicelen, char *hostname, size_t * hostnamelen, char *servicename, size_t * servicenamelen); typedef Gsasl_qop (*Gsasl_client_callback_qop) (Gsasl_session * sctx, Gsasl_qop serverqops); typedef size_t (*Gsasl_client_callback_maxbuf) (Gsasl_session * sctx, size_t servermaxbuf); typedef int (*Gsasl_client_callback_realm) (Gsasl_session * sctx, char *out, size_t * outlen); typedef int (*Gsasl_server_callback_retrieve) (Gsasl_session * sctx, const char *authentication_id, const char *authorization_id, const char *realm, char *key, size_t * keylen); typedef int (*Gsasl_server_callback_validate) (Gsasl_session * sctx, const char *authorization_id, const char *authentication_id, const char *password); typedef int (*Gsasl_server_callback_gssapi) (Gsasl_session * sctx, const char *clientname, const char *authentication_id); typedef int (*Gsasl_server_callback_securid) (Gsasl_session * sctx, const char *authentication_id, const char *authorization_id, const char *passcode, char *pin, char *suggestpin, size_t * suggestpinlen); typedef int (*Gsasl_server_callback_cram_md5) (Gsasl_session * sctx, char *username, char *challenge, char *response); typedef int (*Gsasl_server_callback_digest_md5) (Gsasl_session * sctx, char *username, char *realm, char *secrethash); typedef int (*Gsasl_server_callback_service) (Gsasl_session * sctx, char *service, size_t * servicelen, char *hostname, size_t * hostnamelen); typedef int (*Gsasl_server_callback_external) (Gsasl_session * sctx); typedef int (*Gsasl_server_callback_anonymous) (Gsasl_session * sctx, const char *token); typedef int (*Gsasl_server_callback_realm) (Gsasl_session * sctx, char *out, size_t * outlen, size_t nth); typedef Gsasl_qop (*Gsasl_server_callback_qop) (Gsasl_session * sctx); typedef size_t (*Gsasl_server_callback_maxbuf) (Gsasl_session * sctx); typedef Gsasl_cipher (*Gsasl_server_callback_cipher) (Gsasl_session * sctx); /* Obsolete client callbacks: callback-c.c */ extern GSASL_API void gsasl_client_callback_authorization_id_set (Gsasl * ctx, Gsasl_client_callback_authorization_id cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_authorization_id gsasl_client_callback_authorization_id_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_authentication_id_set (Gsasl * ctx, Gsasl_client_callback_authentication_id cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_authentication_id gsasl_client_callback_authentication_id_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_anonymous_set (Gsasl * ctx, Gsasl_client_callback_anonymous cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_anonymous gsasl_client_callback_anonymous_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_password_set (Gsasl * ctx, Gsasl_client_callback_password cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_password gsasl_client_callback_password_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_passcode_set (Gsasl * ctx, Gsasl_client_callback_passcode cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_passcode gsasl_client_callback_passcode_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_pin_set (Gsasl * ctx, Gsasl_client_callback_pin cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_pin gsasl_client_callback_pin_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_service_set (Gsasl * ctx, Gsasl_client_callback_service cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_service gsasl_client_callback_service_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_qop_set (Gsasl * ctx, Gsasl_client_callback_qop cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_qop gsasl_client_callback_qop_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_maxbuf_set (Gsasl * ctx, Gsasl_client_callback_maxbuf cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_maxbuf gsasl_client_callback_maxbuf_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_client_callback_realm_set (Gsasl * ctx, Gsasl_client_callback_realm cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_client_callback_realm gsasl_client_callback_realm_get (Gsasl * ctx) __attribute__ ((deprecated)); /* Obsolete server callbacks: callback-s.c */ extern GSASL_API void gsasl_server_callback_validate_set (Gsasl * ctx, Gsasl_server_callback_validate cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_validate gsasl_server_callback_validate_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_retrieve_set (Gsasl * ctx, Gsasl_server_callback_retrieve cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_cram_md5_set (Gsasl * ctx, Gsasl_server_callback_cram_md5 cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_cram_md5 gsasl_server_callback_cram_md5_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_digest_md5_set (Gsasl * ctx, Gsasl_server_callback_digest_md5 cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_digest_md5 gsasl_server_callback_digest_md5_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_external_set (Gsasl * ctx, Gsasl_server_callback_external cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_external gsasl_server_callback_external_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_anonymous_set (Gsasl * ctx, Gsasl_server_callback_anonymous cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_anonymous gsasl_server_callback_anonymous_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_realm_set (Gsasl * ctx, Gsasl_server_callback_realm cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_realm gsasl_server_callback_realm_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_qop_set (Gsasl * ctx, Gsasl_server_callback_qop cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_qop gsasl_server_callback_qop_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_maxbuf_set (Gsasl * ctx, Gsasl_server_callback_maxbuf cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_maxbuf gsasl_server_callback_maxbuf_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_cipher_set (Gsasl * ctx, Gsasl_server_callback_cipher cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_cipher gsasl_server_callback_cipher_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_securid_set (Gsasl * ctx, Gsasl_server_callback_securid cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_securid gsasl_server_callback_securid_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_gssapi_set (Gsasl * ctx, Gsasl_server_callback_gssapi cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_gssapi gsasl_server_callback_gssapi_get (Gsasl * ctx) __attribute__ ((deprecated)); extern GSASL_API void gsasl_server_callback_service_set (Gsasl * ctx, Gsasl_server_callback_service cb) __attribute__ ((deprecated)); extern GSASL_API Gsasl_server_callback_service gsasl_server_callback_service_get (Gsasl * ctx) __attribute__ ((deprecated)); #endif /* GSASL_COMPAT_H */ gsasl-1.8.1/lib/src/crypto.c0000644000000000000000000001020113516330455012541 00000000000000/* crypto.c --- Simple crypto wrappers for applications. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" #include "gc.h" /** * gsasl_nonce: * @data: output array to be filled with unpredictable random data. * @datalen: size of output array. * * Store unpredictable data of given size in the provided buffer. * * Return value: Returns %GSASL_OK iff successful. **/ int gsasl_nonce (char *data, size_t datalen) { return gc_nonce (data, datalen); } /** * gsasl_random: * @data: output array to be filled with strong random data. * @datalen: size of output array. * * Store cryptographically strong random data of given size in the * provided buffer. * * Return value: Returns %GSASL_OK iff successful. **/ int gsasl_random (char *data, size_t datalen) { return gc_random (data, datalen); } /** * gsasl_md5: * @in: input character array of data to hash. * @inlen: length of input character array of data to hash. * @out: newly allocated 16-byte character array with hash of data. * * Compute hash of data using MD5. The @out buffer must be * deallocated by the caller. * * Return value: Returns %GSASL_OK iff successful. **/ int gsasl_md5 (const char *in, size_t inlen, char *out[]) { *out = malloc (GC_MD5_DIGEST_SIZE); if (!*out) return GSASL_MALLOC_ERROR; return gc_md5 (in, inlen, *out); } /** * gsasl_hmac_md5: * @key: input character array with key to use. * @keylen: length of input character array with key to use. * @in: input character array of data to hash. * @inlen: length of input character array of data to hash. * @outhash: newly allocated 16-byte character array with keyed hash of data. * * Compute keyed checksum of data using HMAC-MD5. The @outhash buffer * must be deallocated by the caller. * * Return value: Returns %GSASL_OK iff successful. **/ int gsasl_hmac_md5 (const char *key, size_t keylen, const char *in, size_t inlen, char *outhash[]) { *outhash = malloc (GC_MD5_DIGEST_SIZE); if (!*outhash) return GSASL_MALLOC_ERROR; return gc_hmac_md5 (key, keylen, in, inlen, *outhash); } /** * gsasl_sha1: * @in: input character array of data to hash. * @inlen: length of input character array of data to hash. * @out: newly allocated 20-byte character array with hash of data. * * Compute hash of data using SHA1. The @out buffer must be * deallocated by the caller. * * Return value: Returns %GSASL_OK iff successful. * * Since: 1.3 **/ int gsasl_sha1 (const char *in, size_t inlen, char *out[]) { *out = malloc (GC_SHA1_DIGEST_SIZE); if (!*out) return GSASL_MALLOC_ERROR; return gc_sha1 (in, inlen, *out); } /** * gsasl_hmac_sha1: * @key: input character array with key to use. * @keylen: length of input character array with key to use. * @in: input character array of data to hash. * @inlen: length of input character array of data to hash. * @outhash: newly allocated 20-byte character array with keyed hash of data. * * Compute keyed checksum of data using HMAC-SHA1. The @outhash buffer * must be deallocated by the caller. * * Return value: Returns %GSASL_OK iff successful. * * Since: 1.3 **/ int gsasl_hmac_sha1 (const char *key, size_t keylen, const char *in, size_t inlen, char *outhash[]) { *outhash = malloc (GC_SHA1_DIGEST_SIZE); if (!*outhash) return GSASL_MALLOC_ERROR; return gc_hmac_sha1 (key, keylen, in, inlen, *outhash); } gsasl-1.8.1/lib/src/listmech.c0000644000000000000000000000520313516252321013032 00000000000000/* listmech.c --- List active client and server mechanisms. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" static int _gsasl_listmech (Gsasl * ctx, Gsasl_mechanism * mechs, size_t n_mechs, char **out, int clientp) { Gsasl_session *sctx; char *list; size_t i; int rc; list = calloc (n_mechs + 1, GSASL_MAX_MECHANISM_SIZE + 1); if (!list) return GSASL_MALLOC_ERROR; for (i = 0; i < n_mechs; i++) { if (clientp) rc = gsasl_client_start (ctx, mechs[i].name, &sctx); else rc = gsasl_server_start (ctx, mechs[i].name, &sctx); if (rc == GSASL_OK) { gsasl_finish (sctx); strcat (list, mechs[i].name); if (i < n_mechs - 1) strcat (list, " "); } } *out = list; return GSASL_OK; } /** * gsasl_client_mechlist: * @ctx: libgsasl handle. * @out: newly allocated output character array. * * Return a newly allocated string containing SASL names, separated by * space, of mechanisms supported by the libgsasl client. @out is * allocated by this function, and it is the responsibility of caller * to deallocate it. * * Return value: Returns %GSASL_OK if successful, or error code. **/ int gsasl_client_mechlist (Gsasl * ctx, char **out) { return _gsasl_listmech (ctx, ctx->client_mechs, ctx->n_client_mechs, out, 1); } /** * gsasl_server_mechlist: * @ctx: libgsasl handle. * @out: newly allocated output character array. * * Return a newly allocated string containing SASL names, separated by * space, of mechanisms supported by the libgsasl server. @out is * allocated by this function, and it is the responsibility of caller * to deallocate it. * * Return value: Returns %GSASL_OK if successful, or error code. **/ int gsasl_server_mechlist (Gsasl * ctx, char **out) { return _gsasl_listmech (ctx, ctx->server_mechs, ctx->n_server_mechs, out, 0); } gsasl-1.8.1/lib/src/error.c0000644000000000000000000002625513516252321012365 00000000000000/* error.c --- Error handling functionality. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /* I18n of error codes. */ #include "gettext.h" #define _(String) dgettext (PACKAGE, String) #define gettext_noop(String) String #define N_(String) gettext_noop (String) #define ERR(name, desc) { name, #name, desc } #ifdef GSASL_NO_OBSOLETE #define OBS(i, name, desc) { i, NULL, NULL } #else #define OBS(i, name, desc) { name, #name, desc } #endif /* *INDENT-OFF* */ static struct { int rc; const char *name; const char *description; } errors[] = { ERR (GSASL_OK, N_("Libgsasl success")), ERR (GSASL_NEEDS_MORE, N_("SASL mechanism needs more data")), ERR (GSASL_UNKNOWN_MECHANISM, N_("Unknown SASL mechanism")), ERR (GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, N_("SASL mechanism called too many times")), OBS (4, GSASL_TOO_SMALL_BUFFER, N_("SASL function needs larger buffer (internal error)")), OBS (5, GSASL_FOPEN_ERROR, N_("Could not open file in SASL library")), OBS (6, GSASL_FCLOSE_ERROR, N_("Could not close file in SASL library")), ERR (GSASL_MALLOC_ERROR, N_("Memory allocation error in SASL library")), ERR (GSASL_BASE64_ERROR, N_("Base 64 coding error in SASL library")), ERR (GSASL_CRYPTO_ERROR, N_("Low-level crypto error in SASL library")), { 10, NULL, NULL }, OBS (11, GSASL_NEED_CLIENT_ANONYMOUS_CALLBACK, N_("SASL mechanism needs gsasl_client_callback_anonymous() callback" " (application error)")), OBS (12, GSASL_NEED_CLIENT_PASSWORD_CALLBACK, N_("SASL mechanism needs gsasl_client_callback_password() callback" " (application error)")), OBS (13, GSASL_NEED_CLIENT_PASSCODE_CALLBACK, N_("SASL mechanism needs gsasl_client_callback_passcode() callback" " (application error)")), OBS (14, GSASL_NEED_CLIENT_PIN_CALLBACK, N_("SASL mechanism needs gsasl_client_callback_pin() callback" " (application error)")), OBS (15, GSASL_NEED_CLIENT_AUTHORIZATION_ID_CALLBACK, N_("SASL mechanism needs gsasl_client_callback_authorization_id() " "callback (application error)")), OBS (16, GSASL_NEED_CLIENT_AUTHENTICATION_ID_CALLBACK, N_("SASL mechanism needs gsasl_client_callback_authentication_id() " "callback (application error)")), OBS (17, GSASL_NEED_CLIENT_SERVICE_CALLBACK, N_("SASL mechanism needs gsasl_client_callback_service() callback " "(application error)")), OBS (18, GSASL_NEED_SERVER_VALIDATE_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_validate() callback " "(application error)")), OBS (19, GSASL_NEED_SERVER_CRAM_MD5_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_cram_md5() callback " "(application error)")), OBS (20, GSASL_NEED_SERVER_DIGEST_MD5_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_digest_md5() callback " "(application error)")), OBS (21, GSASL_NEED_SERVER_EXTERNAL_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_external() callback " "(application error)")), OBS (22, GSASL_NEED_SERVER_ANONYMOUS_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_anonymous() callback " "(application error)")), OBS (23, GSASL_NEED_SERVER_REALM_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_realm() callback " "(application error)")), OBS (24, GSASL_NEED_SERVER_SECURID_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_securid() callback " "(application error)")), OBS (25, GSASL_NEED_SERVER_SERVICE_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_service() callback " "(application error)")), OBS (26, GSASL_NEED_SERVER_GSSAPI_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_gssapi() callback " "(application error)")), OBS (27, GSASL_NEED_SERVER_RETRIEVE_CALLBACK, N_("SASL mechanism needs gsasl_server_callback_retrieve() callback " "(application error)")), OBS (28, GSASL_UNICODE_NORMALIZATION_ERROR, N_("Failed to perform Unicode Normalization on string.")), ERR (GSASL_SASLPREP_ERROR, N_("Could not prepare internationalized (non-ASCII) string.")), ERR (GSASL_MECHANISM_PARSE_ERROR, N_("SASL mechanism could not parse input")), ERR (GSASL_AUTHENTICATION_ERROR, N_("Error authenticating user")), OBS (32, GSASL_CANNOT_GET_CTX, N_("Cannot get internal library handle (library error)")), ERR (GSASL_INTEGRITY_ERROR, N_("Integrity error in application payload")), OBS (34, GSASL_NO_MORE_REALMS, N_("No more realms available (non-fatal)")), ERR (GSASL_NO_CLIENT_CODE, N_("Client-side functionality not available in library " "(application error)")), ERR (GSASL_NO_SERVER_CODE, N_("Server-side functionality not available in library " "(application error)")), ERR (GSASL_GSSAPI_RELEASE_BUFFER_ERROR, N_("GSSAPI library could not deallocate memory in " "gss_release_buffer() in SASL library. This is a serious " "internal error.")), ERR (GSASL_GSSAPI_IMPORT_NAME_ERROR, N_("GSSAPI library could not understand a peer name in " "gss_import_name() in SASL library. This is most likely due " "to incorrect service and/or hostnames.")), ERR (GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR, N_("GSSAPI error in client while negotiating security context in " "gss_init_sec_context() in SASL library. This is most likely " "due insufficient credentials or malicious interactions.")), ERR (GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR, N_("GSSAPI error in server while negotiating security context in " "gss_accept_sec_context() in SASL library. This is most likely due " "insufficient credentials or malicious interactions.")), ERR (GSASL_GSSAPI_UNWRAP_ERROR, N_("GSSAPI error while decrypting or decoding data in gss_unwrap() in " "SASL library. This is most likely due to data corruption.")), ERR (GSASL_GSSAPI_WRAP_ERROR, N_("GSSAPI error while encrypting or encoding data in gss_wrap() in " "SASL library.")), ERR (GSASL_GSSAPI_ACQUIRE_CRED_ERROR, N_("GSSAPI error acquiring credentials in gss_acquire_cred() in " "SASL library. This is most likely due to not having the proper " "Kerberos key available in /etc/krb5.keytab on the server.")), ERR (GSASL_GSSAPI_DISPLAY_NAME_ERROR, N_("GSSAPI error creating a display name denoting the client in " "gss_display_name() in SASL library. This is probably because " "the client supplied bad data.")), ERR (GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR, N_("Other entity requested integrity or confidentiality protection " "in GSSAPI mechanism but this is currently not implemented.")), ERR (GSASL_KERBEROS_V5_INIT_ERROR, N_("Kerberos V5 initialization failure.")), ERR (GSASL_KERBEROS_V5_INTERNAL_ERROR, N_("Kerberos V5 internal error.")), ERR (GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE, N_("SecurID needs additional passcode.")), ERR (GSASL_SECURID_SERVER_NEED_NEW_PIN, N_("SecurID needs new pin.")), OBS (50, GSASL_INVALID_HANDLE, N_("The provided library handle was invalid (application error)")), ERR (GSASL_NO_CALLBACK, N_("No callback specified by caller (application error).")), ERR (GSASL_NO_ANONYMOUS_TOKEN, N_("Authentication failed because the anonymous token was " "not provided.")), ERR (GSASL_NO_AUTHID, N_("Authentication failed because the authentication identity was " "not provided.")), ERR (GSASL_NO_AUTHZID, N_("Authentication failed because the authorization identity was " "not provided.")), ERR (GSASL_NO_PASSWORD, N_("Authentication failed because the password was not provided.")), ERR (GSASL_NO_PASSCODE, N_("Authentication failed because the passcode was not provided.")), ERR (GSASL_NO_PIN, N_("Authentication failed because the pin code was not provided.")), ERR (GSASL_NO_SERVICE, N_("Authentication failed because the service name was not provided.")), ERR (GSASL_NO_HOSTNAME, N_("Authentication failed because the host name was not provided.")), ERR (GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR, N_("GSSAPI error encapsulating token.")), ERR (GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR, N_("GSSAPI error decapsulating token.")), ERR (GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR, N_("GSSAPI error getting OID for SASL mechanism name.")), ERR (GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR, N_("GSSAPI error testing for OID in OID set.")), ERR (GSASL_GSSAPI_RELEASE_OID_SET_ERROR, N_("GSSAPI error releasing OID set.")), ERR (GSASL_NO_CB_TLS_UNIQUE, N_("Authentication failed because a tls-unique CB was not provided.")), ERR (GSASL_NO_SAML20_IDP_IDENTIFIER, N_("Callback failed to provide SAML20 IdP identifier.")), ERR (GSASL_NO_SAML20_REDIRECT_URL, N_("Callback failed to provide SAML20 redirect URL.")), ERR (GSASL_NO_OPENID20_REDIRECT_URL, N_("Callback failed to provide OPENID20 redirect URL.")) }; /* *INDENT-ON* */ /** * gsasl_strerror: * @err: libgsasl error code * * Convert return code to human readable string explanation of the * reason for the particular error code. * * This string can be used to output a diagnostic message to the user. * * This function is one of few in the library that can be used without * a successful call to gsasl_init(). * * Return value: Returns a pointer to a statically allocated string * containing an explanation of the error code @err. **/ const char * gsasl_strerror (int err) { static const char *unknown = N_("Libgsasl unknown error"); const char *p; bindtextdomain (PACKAGE, LOCALEDIR); if (err < 0 || err >= (sizeof (errors) / sizeof (errors[0]))) return _(unknown); p = errors[err].description; if (!p) p = unknown; return _(p); } /** * gsasl_strerror_name: * @err: libgsasl error code * * Convert return code to human readable string representing the error * code symbol itself. For example, gsasl_strerror_name(%GSASL_OK) * returns the string "GSASL_OK". * * This string can be used to output a diagnostic message to the user. * * This function is one of few in the library that can be used without * a successful call to gsasl_init(). * * Return value: Returns a pointer to a statically allocated string * containing a string version of the error code @err, or NULL if * the error code is not known. * * Since: 0.2.29 **/ const char * gsasl_strerror_name (int err) { if (err < 0 || err >= (sizeof (errors) / sizeof (errors[0]))) return NULL; return errors[err].name; } gsasl-1.8.1/lib/src/xstart.c0000644000000000000000000000670313516252321012555 00000000000000/* xstart.c --- Start libgsasl session. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" static Gsasl_mechanism * find_mechanism (const char *mech, size_t n_mechs, Gsasl_mechanism * mechs) { size_t i; if (mech == NULL) return NULL; for (i = 0; i < n_mechs; i++) if (strcmp (mech, mechs[i].name) == 0) return &mechs[i]; return NULL; } static int setup (Gsasl * ctx, const char *mech, Gsasl_session * sctx, size_t n_mechs, Gsasl_mechanism * mechs, int clientp) { Gsasl_mechanism *mechptr = NULL; int res; mechptr = find_mechanism (mech, n_mechs, mechs); if (mechptr == NULL) return GSASL_UNKNOWN_MECHANISM; sctx->ctx = ctx; sctx->mech = mechptr; sctx->clientp = clientp; if (clientp) { if (sctx->mech->client.start) res = sctx->mech->client.start (sctx, &sctx->mech_data); else if (!sctx->mech->client.step) res = GSASL_NO_CLIENT_CODE; else res = GSASL_OK; } else { if (sctx->mech->server.start) res = sctx->mech->server.start (sctx, &sctx->mech_data); else if (!sctx->mech->server.step) res = GSASL_NO_SERVER_CODE; else res = GSASL_OK; } if (res != GSASL_OK) return res; return GSASL_OK; } static int start (Gsasl * ctx, const char *mech, Gsasl_session ** sctx, size_t n_mechs, Gsasl_mechanism * mechs, int clientp) { Gsasl_session *out; int res; out = calloc (1, sizeof (*out)); if (out == NULL) return GSASL_MALLOC_ERROR; res = setup (ctx, mech, out, n_mechs, mechs, clientp); if (res != GSASL_OK) { gsasl_finish (out); return res; } *sctx = out; return GSASL_OK; } /** * gsasl_client_start: * @ctx: libgsasl handle. * @mech: name of SASL mechanism. * @sctx: pointer to client handle. * * This functions initiates a client SASL authentication. This * function must be called before any other gsasl_client_*() function * is called. * * Return value: Returns %GSASL_OK if successful, or error code. **/ int gsasl_client_start (Gsasl * ctx, const char *mech, Gsasl_session ** sctx) { return start (ctx, mech, sctx, ctx->n_client_mechs, ctx->client_mechs, 1); } /** * gsasl_server_start: * @ctx: libgsasl handle. * @mech: name of SASL mechanism. * @sctx: pointer to server handle. * * This functions initiates a server SASL authentication. This * function must be called before any other gsasl_server_*() function * is called. * * Return value: Returns %GSASL_OK if successful, or error code. **/ int gsasl_server_start (Gsasl * ctx, const char *mech, Gsasl_session ** sctx) { return start (ctx, mech, sctx, ctx->n_server_mechs, ctx->server_mechs, 0); } gsasl-1.8.1/lib/src/suggest.c0000644000000000000000000000455413516252321012713 00000000000000/* suggest.c --- Suggest client mechanism to use, from a set of mechanisms. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_client_suggest_mechanism: * @ctx: libgsasl handle. * @mechlist: input character array with SASL mechanism names, * separated by invalid characters (e.g. SPC). * * Given a list of mechanisms, suggest which to use. * * Return value: Returns name of "best" SASL mechanism supported by * the libgsasl client which is present in the input string, or * NULL if no supported mechanism is found. **/ const char * gsasl_client_suggest_mechanism (Gsasl * ctx, const char *mechlist) { size_t mechlist_len, target_mech, i; mechlist_len = mechlist ? strlen (mechlist) : 0; target_mech = ctx->n_client_mechs; /* ~ no target */ for (i = 0; i < mechlist_len;) { size_t len; len = strspn (mechlist + i, GSASL_VALID_MECHANISM_CHARACTERS); if (!len) ++i; else { size_t j; /* Assumption: the mechs array is sorted by preference * from low security to high security. */ for (j = (target_mech < ctx->n_client_mechs ? target_mech + 1 : 0); j < ctx->n_client_mechs; ++j) { if (strncmp (ctx->client_mechs[j].name, mechlist + i, len) == 0) { Gsasl_session *sctx; if (gsasl_client_start (ctx, ctx->client_mechs[j].name, &sctx) == GSASL_OK) { gsasl_finish (sctx); target_mech = j; } break; } } i += len + 1; } } return target_mech < ctx->n_client_mechs ? ctx->client_mechs[target_mech].name : NULL; } gsasl-1.8.1/lib/src/property.c0000644000000000000000000001452513516252321013115 00000000000000/* property.c --- Callback property handling. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" static char ** map (Gsasl_session * sctx, Gsasl_property prop) { char **p = NULL; if (!sctx) return NULL; switch (prop) { case GSASL_ANONYMOUS_TOKEN: p = &sctx->anonymous_token; break; case GSASL_SERVICE: p = &sctx->service; break; case GSASL_HOSTNAME: p = &sctx->hostname; break; case GSASL_AUTHID: p = &sctx->authid; break; case GSASL_AUTHZID: p = &sctx->authzid; break; case GSASL_PASSWORD: p = &sctx->password; break; case GSASL_PASSCODE: p = &sctx->passcode; break; case GSASL_PIN: p = &sctx->pin; break; case GSASL_SUGGESTED_PIN: p = &sctx->suggestedpin; break; case GSASL_GSSAPI_DISPLAY_NAME: p = &sctx->gssapi_display_name; break; case GSASL_REALM: p = &sctx->realm; break; case GSASL_DIGEST_MD5_HASHED_PASSWORD: p = &sctx->digest_md5_hashed_password; break; case GSASL_QOPS: p = &sctx->qops; break; case GSASL_QOP: p = &sctx->qop; break; case GSASL_SCRAM_ITER: p = &sctx->scram_iter; break; case GSASL_SCRAM_SALT: p = &sctx->scram_salt; break; case GSASL_SCRAM_SALTED_PASSWORD: p = &sctx->scram_salted_password; break; case GSASL_CB_TLS_UNIQUE: p = &sctx->cb_tls_unique; break; case GSASL_SAML20_IDP_IDENTIFIER: p = &sctx->saml20_idp_identifier; break; case GSASL_SAML20_REDIRECT_URL: p = &sctx->saml20_redirect_url; break; case GSASL_OPENID20_REDIRECT_URL: p = &sctx->openid20_redirect_url; break; case GSASL_OPENID20_OUTCOME_DATA: p = &sctx->openid20_outcome_data; break; /* If you add anything here, remember to change change gsasl_finish() in xfinish.c and Gsasl_session in internal.h. */ default: break; } return p; } /** * gsasl_property_set: * @sctx: session handle. * @prop: enumerated value of Gsasl_property type, indicating the * type of data in @data. * @data: zero terminated character string to store. * * Make a copy of @data and store it in the session handle for the * indicated property @prop. * * You can immediately deallocate @data after calling this function, * without affecting the data stored in the session handle. * * Since: 0.2.0 **/ void gsasl_property_set (Gsasl_session * sctx, Gsasl_property prop, const char *data) { gsasl_property_set_raw (sctx, prop, data, data ? strlen (data) : 0); } /** * gsasl_property_set_raw: * @sctx: session handle. * @prop: enumerated value of Gsasl_property type, indicating the * type of data in @data. * @data: character string to store. * @len: length of character string to store. * * Make a copy of @len sized @data and store a zero terminated version * of it in the session handle for the indicated property @prop. * * You can immediately deallocate @data after calling this function, * without affecting the data stored in the session handle. * * Except for the length indicator, this function is identical to * gsasl_property_set. * * Since: 0.2.0 **/ void gsasl_property_set_raw (Gsasl_session * sctx, Gsasl_property prop, const char *data, size_t len) { char **p = map (sctx, prop); if (p) { free (*p); if (data) { *p = malloc (len + 1); if (*p) { memcpy (*p, data, len); (*p)[len] = '\0'; } } else *p = NULL; } } /** * gsasl_property_fast: * @sctx: session handle. * @prop: enumerated value of Gsasl_property type, indicating the * type of data in @data. * * Retrieve the data stored in the session handle for given property * @prop. * * The pointer is to live data, and must not be deallocated or * modified in any way. * * This function will not invoke the application callback. * * Return value: Return property value, if known, or NULL if no value * known. * * Since: 0.2.0 **/ const char * gsasl_property_fast (Gsasl_session * sctx, Gsasl_property prop) { char **p = map (sctx, prop); if (p) return *p; return NULL; } /** * gsasl_property_get: * @sctx: session handle. * @prop: enumerated value of Gsasl_property type, indicating the * type of data in @data. * * Retrieve the data stored in the session handle for given property * @prop, possibly invoking the application callback to get the value. * * The pointer is to live data, and must not be deallocated or * modified in any way. * * This function will invoke the application callback, using * gsasl_callback(), when a property value is not known. * * If no value is known, and no callback is specified or if the * callback fail to return data, and if any obsolete callback * functions has been set by the application, this function will try * to call these obsolete callbacks, and store the returned data as * the corresponding property. This behaviour of this function will * be removed when the obsolete callback interfaces are removed. * * Return value: Return data for property, or NULL if no value known. * * Since: 0.2.0 **/ const char * gsasl_property_get (Gsasl_session * sctx, Gsasl_property prop) { const char *p = gsasl_property_fast (sctx, prop); if (!p) { gsasl_callback (NULL, sctx, prop); p = gsasl_property_fast (sctx, prop); } #ifndef GSASL_NO_OBSOLETE if (!p) p = _gsasl_obsolete_property_map (sctx, prop); #endif return p; } gsasl-1.8.1/lib/src/libgsasl.map0000644000000000000000000001064213516252321013360 00000000000000# Copyright (C) 2009-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. LIBGSASL_1.1 { global: GSASL_VALID_MECHANISM_CHARACTERS; gsasl_base64_from; gsasl_base64_to; gsasl_callback; gsasl_callback_hook_get; gsasl_callback_hook_set; gsasl_callback_set; gsasl_check_version; gsasl_client_mechlist; gsasl_client_start; gsasl_client_suggest_mechanism; gsasl_client_support_p; gsasl_decode; gsasl_done; gsasl_encode; gsasl_finish; gsasl_free; gsasl_hmac_md5; gsasl_init; gsasl_md5; gsasl_mechanism_name; gsasl_nonce; gsasl_property_fast; gsasl_property_get; gsasl_property_set; gsasl_property_set_raw; gsasl_random; gsasl_register; gsasl_saslprep; gsasl_server_mechlist; gsasl_server_start; gsasl_server_support_p; gsasl_session_hook_get; gsasl_session_hook_set; gsasl_simple_getpass; gsasl_step64; gsasl_step; gsasl_strerror; gsasl_strerror_name; # Old interfaces gsasl_appinfo_get; gsasl_appinfo_set; gsasl_application_data_get; gsasl_application_data_set; gsasl_base64_decode; gsasl_base64_encode; gsasl_client_application_data_get; gsasl_client_application_data_set; gsasl_client_callback_anonymous_get; gsasl_client_callback_anonymous_set; gsasl_client_callback_authentication_id_get; gsasl_client_callback_authentication_id_set; gsasl_client_callback_authorization_id_get; gsasl_client_callback_authorization_id_set; gsasl_client_callback_maxbuf_get; gsasl_client_callback_maxbuf_set; gsasl_client_callback_passcode_get; gsasl_client_callback_passcode_set; gsasl_client_callback_password_get; gsasl_client_callback_password_set; gsasl_client_callback_pin_get; gsasl_client_callback_pin_set; gsasl_client_callback_qop_get; gsasl_client_callback_qop_set; gsasl_client_callback_realm_get; gsasl_client_callback_realm_set; gsasl_client_callback_service_get; gsasl_client_callback_service_set; gsasl_client_ctx_get; gsasl_client_finish; gsasl_client_listmech; gsasl_client_step; gsasl_client_step_base64; gsasl_ctx_get; gsasl_decode_inline; gsasl_encode_inline; gsasl_md5pwd_get_password; gsasl_randomize; gsasl_server_application_data_get; gsasl_server_application_data_set; gsasl_server_callback_anonymous_get; gsasl_server_callback_anonymous_set; gsasl_server_callback_cipher_get; gsasl_server_callback_cipher_set; gsasl_server_callback_cram_md5_get; gsasl_server_callback_cram_md5_set; gsasl_server_callback_digest_md5_get; gsasl_server_callback_digest_md5_set; gsasl_server_callback_external_get; gsasl_server_callback_external_set; gsasl_server_callback_gssapi_get; gsasl_server_callback_gssapi_set; gsasl_server_callback_maxbuf_get; gsasl_server_callback_maxbuf_set; gsasl_server_callback_qop_get; gsasl_server_callback_qop_set; gsasl_server_callback_realm_get; gsasl_server_callback_realm_set; gsasl_server_callback_retrieve_get; gsasl_server_callback_retrieve_set; gsasl_server_callback_securid_get; gsasl_server_callback_securid_set; gsasl_server_callback_service_get; gsasl_server_callback_service_set; gsasl_server_callback_validate_get; gsasl_server_callback_validate_set; gsasl_server_ctx_get; gsasl_server_finish; gsasl_server_listmech; gsasl_server_step; gsasl_server_step_base64; gsasl_server_suggest_mechanism; gsasl_stringprep_nfkc; gsasl_stringprep_saslprep; gsasl_stringprep_trace; local: *; }; LIBGSASL_1.4 { global: gsasl_sha1; gsasl_hmac_sha1; } LIBGSASL_1.1; gsasl-1.8.1/lib/src/Makefile.am0000644000000000000000000000577213516252321013125 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. lib_LTLIBRARIES = libgsasl.la AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../gl -I../gl -I$(srcdir)/.. -DGSASL_BUILDING AM_CPPFLAGS += -DLOCALEDIR=\"$(datadir)/locale\" EXTRA_DIST = doxygen.c include_HEADERS = gsasl.h gsasl-mech.h gsasl-compat.h libgsasl_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ -no-undefined libgsasl_la_LIBADD = ../gl/libgl.la $(LTLIBINTL) $(LTLIBIDN) libgsasl_la_SOURCES = libgsasl.map \ internal.h \ init.c done.c register.c error.c version.c \ callback.c property.c \ supportp.c suggest.c listmech.c \ xstart.c xstep.c xfinish.c xcode.c mechname.c \ base64.c md5pwd.c crypto.c \ saslprep.c free.c \ mechtools.c mechtools.h if HAVE_LD_VERSION_SCRIPT libgsasl_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libgsasl.map else libgsasl_la_LDFLAGS += -export-symbols-regex '^(gsasl|GSASL).*' endif if HAVE_LD_OUTPUT_DEF libgsasl_la_LDFLAGS += -Wl,--output-def,libgsasl-$(DLL_VERSION).def defexecdir = $(bindir) defexec_DATA = libgsasl-$(DLL_VERSION).def DISTCLEANFILES = $(defexec_DATA) endif if OBSOLETE libgsasl_la_SOURCES += obsolete.c if DIGEST_MD5 AM_CPPFLAGS += -I$(srcdir)/../digest-md5 endif endif # Plugins: if EXTERNAL libgsasl_la_LIBADD += ../external/libgsasl-external.la endif if ANONYMOUS libgsasl_la_LIBADD += ../anonymous/libgsasl-anonymous.la endif if PLAIN libgsasl_la_LIBADD += ../plain/libgsasl-plain.la endif if LOGIN libgsasl_la_LIBADD += ../login/libgsasl-login.la endif if CRAM_MD5 libgsasl_la_LIBADD += ../cram-md5/libgsasl-cram_md5.la endif if DIGEST_MD5 libgsasl_la_LIBADD += ../digest-md5/libgsasl-digest_md5.la endif if SCRAM libgsasl_la_LIBADD += ../scram/libgsasl-scram.la endif if SAML20 libgsasl_la_LIBADD += ../saml20/libgsasl-saml20.la endif if OPENID20 libgsasl_la_LIBADD += ../openid20/libgsasl-openid20.la endif if NTLM libgsasl_la_LIBADD += ../ntlm/libgsasl-ntlm.la endif if GSSAPI libgsasl_la_LIBADD += ../gssapi/libgsasl-gssapi.la endif if GS2 libgsasl_la_LIBADD += ../gs2/libgsasl-gs2.la endif if SECURID libgsasl_la_LIBADD += ../securid/libgsasl-securid.la endif if KERBEROS_V5 libgsasl_la_LIBADD += ../kerberos_v5/libgsasl-kerberos_v5.la endif gsasl-1.8.1/lib/src/init.c0000644000000000000000000001037713516252321012175 00000000000000/* init.c --- Entry point for libgsasl. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /* Get gc_init. */ #include /* Get mechanism headers. */ #include "cram-md5/cram-md5.h" #include "external/external.h" #include "gssapi/x-gssapi.h" #include "gs2/gs2.h" #include "anonymous/anonymous.h" #include "plain/plain.h" #include "securid/securid.h" #include "digest-md5/digest-md5.h" #include "scram/scram.h" #include "saml20/saml20.h" #include "openid20/openid20.h" #include "login/login.h" #include "ntlm/x-ntlm.h" #include "kerberos_v5/kerberos_v5.h" /** * GSASL_VALID_MECHANISM_CHARACTERS: * * A zero-terminated character array, or string, with all ASCII * characters that may be used within a SASL mechanism name. **/ const char *GSASL_VALID_MECHANISM_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"; static int register_builtin_mechs (Gsasl * ctx) { int rc = GSASL_OK; #ifdef USE_ANONYMOUS rc = gsasl_register (ctx, &gsasl_anonymous_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_ANONYMOUS */ #ifdef USE_EXTERNAL rc = gsasl_register (ctx, &gsasl_external_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_EXTERNAL */ #ifdef USE_LOGIN rc = gsasl_register (ctx, &gsasl_login_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_LOGIN */ #ifdef USE_PLAIN rc = gsasl_register (ctx, &gsasl_plain_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_PLAIN */ #ifdef USE_SECURID rc = gsasl_register (ctx, &gsasl_securid_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_SECURID */ #ifdef USE_NTLM rc = gsasl_register (ctx, &gsasl_ntlm_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_NTLM */ #ifdef USE_DIGEST_MD5 rc = gsasl_register (ctx, &gsasl_digest_md5_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_DIGEST_MD5 */ #ifdef USE_CRAM_MD5 rc = gsasl_register (ctx, &gsasl_cram_md5_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_CRAM_MD5 */ #ifdef USE_SCRAM_SHA1 rc = gsasl_register (ctx, &gsasl_scram_sha1_mechanism); if (rc != GSASL_OK) return rc; rc = gsasl_register (ctx, &gsasl_scram_sha1_plus_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_SCRAM_SHA1 */ #ifdef USE_SAML20 rc = gsasl_register (ctx, &gsasl_saml20_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_SAML20 */ #ifdef USE_OPENID20 rc = gsasl_register (ctx, &gsasl_openid20_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_OPENID20 */ #ifdef USE_GSSAPI rc = gsasl_register (ctx, &gsasl_gssapi_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_GSSAPI */ #ifdef USE_GS2 rc = gsasl_register (ctx, &gsasl_gs2_krb5_mechanism); if (rc != GSASL_OK) return rc; #endif /* USE_GSSAPI */ return GSASL_OK; } /** * gsasl_init: * @ctx: pointer to libgsasl handle. * * This functions initializes libgsasl. The handle pointed to by ctx * is valid for use with other libgsasl functions iff this function is * successful. It also register all builtin SASL mechanisms, using * gsasl_register(). * * Return value: GSASL_OK iff successful, otherwise * %GSASL_MALLOC_ERROR. **/ int gsasl_init (Gsasl ** ctx) { int rc; if (gc_init () != GC_OK) return GSASL_CRYPTO_ERROR; *ctx = (Gsasl *) calloc (1, sizeof (**ctx)); if (*ctx == NULL) return GSASL_MALLOC_ERROR; rc = register_builtin_mechs (*ctx); if (rc != GSASL_OK) { gsasl_done (*ctx); return rc; } return GSASL_OK; } gsasl-1.8.1/lib/src/doxygen.c0000664000000000000000000000521611746471770012723 00000000000000/*! \mainpage GNU SASL Library * * \section intro Introduction * * GNU SASL is an implementation of the Simple Authentication and Security * Layer framework and a few common SASL mechanisms. SASL is used by * network servers (e.g., IMAP, SMTP) to request authentication from * clients, and in clients to authenticate against servers. * * GNU SASL consists of a library (`libgsasl'), a command line utility * (`gsasl') to access the library from the shell, and a manual. The * library includes support for the framework (with authentication * functions and application data privacy and integrity functions) and at * least partial support for the CRAM-MD5, EXTERNAL, GSSAPI, ANONYMOUS, * PLAIN, SECURID, DIGEST-MD5, LOGIN, and NTLM mechanisms. * * The library is easily ported because it does not do network * communication by itself, but rather leaves it up to the calling * application. The library is flexible with regards to the authorization * infrastructure used, as it utilize a callback into the application to * decide whether a user is authorized or not. * * GNU SASL is developed for the GNU/Linux system, but runs on over 20 * platforms including most major Unix platforms and Windows, and many * kind of devices including iPAQ handhelds and S/390 mainframes. * * GNU SASL is written in pure ANSI C89 to be portable to embedded and * otherwise limited platforms. The entire library, with full support for * ANONYMOUS, EXTERNAL, PLAIN, LOGIN and CRAM-MD5, and the front-end that * support client and server mode, and the IMAP and SMTP protocols, fits * in under 60kb on an Intel x86 platform, without any modifications to * the code. (This figure was accurate as of version 0.0.13.) * * The library is licensed under the GNU Lesser General Public License, * and the command-line interface, self-tests and examples are licensed * under the GNU General Public License. * * * The project web page:\n * http://www.gnu.org/software/gsasl/ * * The software archive:\n * ftp://alpha.gnu.org/pub/gnu/gsasl/ * * Further information and paid contract development:\n * Simon Josefsson * * \section abstraction Logical overview * * \image html abstraction.png * \image latex abstraction.eps "Logical overview" width=10cm * * \section controlflow Control flow in application using the library * * \image html controlflow.png * \image latex controlflow.eps "Control flow" width=15cm * \image html controlflow2.png * \image latex controlflow2.eps "Control flow" width=16cm * * \section examples Examples * * \include client.c * \include client-serverfirst.c * \include client-mech.c * \include client-callback.c */ gsasl-1.8.1/lib/src/mechtools.h0000644000000000000000000000255413516252321013232 00000000000000/* mechtools.h --- Helper functions available for use by any mechanism. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef MECHTOOLS_H #define MECHTOOLS_H /* Get size_t. */ #include /* Get bool. */ #include extern int _gsasl_parse_gs2_header (const char *data, size_t len, char **authzid, size_t * headerlen); extern int _gsasl_gs2_generate_header (bool nonstd, char cbflag, const char *cbname, const char *authzid, size_t extralen, const char *extra, char **gs2h, size_t * gs2hlen); #endif gsasl-1.8.1/lib/src/register.c0000644000000000000000000000423213516252321013047 00000000000000/* register.c --- Initialize and register SASL plugin in global context. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_register: * @ctx: pointer to libgsasl handle. * @mech: plugin structure with information about plugin. * * This function initialize given mechanism, and if successful, add it * to the list of plugins that is used by the library. * * Return value: %GSASL_OK iff successful, otherwise %GSASL_MALLOC_ERROR. * * Since: 0.2.0 **/ int gsasl_register (Gsasl * ctx, const Gsasl_mechanism * mech) { Gsasl_mechanism *tmp; #ifdef USE_CLIENT if (mech->client.init == NULL || mech->client.init (ctx) == GSASL_OK) { tmp = realloc (ctx->client_mechs, sizeof (*ctx->client_mechs) * (ctx->n_client_mechs + 1)); if (tmp == NULL) return GSASL_MALLOC_ERROR; memcpy (&tmp[ctx->n_client_mechs], mech, sizeof (*mech)); ctx->client_mechs = tmp; ctx->n_client_mechs++; } #endif #ifdef USE_SERVER if (mech->server.init == NULL || mech->server.init (ctx) == GSASL_OK) { tmp = realloc (ctx->server_mechs, sizeof (*ctx->server_mechs) * (ctx->n_server_mechs + 1)); if (tmp == NULL) return GSASL_MALLOC_ERROR; memcpy (&tmp[ctx->n_server_mechs], mech, sizeof (*mech)); ctx->server_mechs = tmp; ctx->n_server_mechs++; } #endif return GSASL_OK; } gsasl-1.8.1/lib/src/version.c0000644000000000000000000000334013516252321012707 00000000000000/* version.c -- Version handling. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" #include /* for strverscmp */ /** * gsasl_check_version: * @req_version: version string to compare with, or NULL. * * Check GNU SASL Library version. * * See %GSASL_VERSION for a suitable @req_version string. * * This function is one of few in the library that can be used without * a successful call to gsasl_init(). * * Return value: Check that the version of the library is at * minimum the one given as a string in @req_version and return the * actual version string of the library; return NULL if the * condition is not met. If NULL is passed to this function no * check is done and only the version string is returned. **/ const char * gsasl_check_version (const char *req_version) { if (!req_version || strverscmp (req_version, GSASL_VERSION) <= 0) return GSASL_VERSION; return NULL; } gsasl-1.8.1/lib/src/md5pwd.c0000644000000000000000000000523213516252321012424 00000000000000/* md5pwd.c --- Find passwords in UoW imapd MD5 type password files. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_simple_getpass: * @filename: filename of file containing passwords. * @username: username string. * @key: newly allocated output character array. * * Retrieve password for user from specified file. The buffer @key * contain the password if this function is successful. The caller is * responsible for deallocating it. * * The file should be on the UoW "MD5 Based Authentication" format, * which means it is in text format with comments denoted by # first * on the line, with user entries looking as "usernameTABpassword". * This function removes CR and LF at the end of lines before * processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, * respectively. * * Return value: Return %GSASL_OK if output buffer contains the * password, %GSASL_AUTHENTICATION_ERROR if the user could not be * found, or other error code. **/ int gsasl_simple_getpass (const char *filename, const char *username, char **key) { size_t userlen = strlen (username); char *line = NULL; size_t n = 0; FILE *fh; fh = fopen (filename, "r"); if (fh) { while (!feof (fh)) { if (getline (&line, &n, fh) < 0) break; if (line[0] == '#') continue; if (line[strlen (line) - 1] == '\r') line[strlen (line) - 1] = '\0'; if (line[strlen (line) - 1] == '\n') line[strlen (line) - 1] = '\0'; if (strncmp (line, username, userlen) == 0 && line[userlen] == '\t') { *key = malloc (strlen (line) - userlen); if (!*key) { free (line); return GSASL_MALLOC_ERROR; } strcpy (*key, line + userlen + 1); free (line); fclose (fh); return GSASL_OK; } } fclose (fh); } free (line); return GSASL_AUTHENTICATION_ERROR; } gsasl-1.8.1/lib/src/done.c0000644000000000000000000000305413516252321012151 00000000000000/* done.c --- Exit point for libgsasl. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_done: * @ctx: libgsasl handle. * * This function destroys a libgsasl handle. The handle must not be * used with other libgsasl functions after this call. **/ void gsasl_done (Gsasl * ctx) { size_t i; if (ctx == NULL) return; #ifdef USE_CLIENT for (i = 0; i < ctx->n_client_mechs; i++) if (ctx->client_mechs[i].client.done) ctx->client_mechs[i].client.done (ctx); free (ctx->client_mechs); #endif #ifdef USE_SERVER for (i = 0; i < ctx->n_server_mechs; i++) if (ctx->server_mechs[i].server.done) ctx->server_mechs[i].server.done (ctx); free (ctx->server_mechs); #endif free (ctx); return; } gsasl-1.8.1/lib/src/Makefile.in0000644000000000000000000021677013521017120013130 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(srcdir)/libgsasl.map @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols-regex '^(gsasl|GSASL).*' @HAVE_LD_OUTPUT_DEF_TRUE@am__append_3 = -Wl,--output-def,libgsasl-$(DLL_VERSION).def @OBSOLETE_TRUE@am__append_4 = obsolete.c @DIGEST_MD5_TRUE@@OBSOLETE_TRUE@am__append_5 = -I$(srcdir)/../digest-md5 # Plugins: @EXTERNAL_TRUE@am__append_6 = ../external/libgsasl-external.la @ANONYMOUS_TRUE@am__append_7 = ../anonymous/libgsasl-anonymous.la @PLAIN_TRUE@am__append_8 = ../plain/libgsasl-plain.la @LOGIN_TRUE@am__append_9 = ../login/libgsasl-login.la @CRAM_MD5_TRUE@am__append_10 = ../cram-md5/libgsasl-cram_md5.la @DIGEST_MD5_TRUE@am__append_11 = ../digest-md5/libgsasl-digest_md5.la @SCRAM_TRUE@am__append_12 = ../scram/libgsasl-scram.la @SAML20_TRUE@am__append_13 = ../saml20/libgsasl-saml20.la @OPENID20_TRUE@am__append_14 = ../openid20/libgsasl-openid20.la @NTLM_TRUE@am__append_15 = ../ntlm/libgsasl-ntlm.la @GSSAPI_TRUE@am__append_16 = ../gssapi/libgsasl-gssapi.la @GS2_TRUE@am__append_17 = ../gs2/libgsasl-gs2.la @SECURID_TRUE@am__append_18 = ../securid/libgsasl-securid.la @KERBEROS_V5_TRUE@am__append_19 = ../kerberos_v5/libgsasl-kerberos_v5.la subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(include_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = 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)$(libdir)" "$(DESTDIR)$(defexecdir)" \ "$(DESTDIR)$(includedir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgsasl_la_DEPENDENCIES = ../gl/libgl.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__append_6) $(am__append_7) \ $(am__append_8) $(am__append_9) $(am__append_10) \ $(am__append_11) $(am__append_12) $(am__append_13) \ $(am__append_14) $(am__append_15) $(am__append_16) \ $(am__append_17) $(am__append_18) $(am__append_19) am__libgsasl_la_SOURCES_DIST = libgsasl.map internal.h init.c done.c \ register.c error.c version.c callback.c property.c supportp.c \ suggest.c listmech.c xstart.c xstep.c xfinish.c xcode.c \ mechname.c base64.c md5pwd.c crypto.c saslprep.c free.c \ mechtools.c mechtools.h obsolete.c @OBSOLETE_TRUE@am__objects_1 = obsolete.lo am_libgsasl_la_OBJECTS = init.lo done.lo register.lo error.lo \ version.lo callback.lo property.lo supportp.lo suggest.lo \ listmech.lo xstart.lo xstep.lo xfinish.lo xcode.lo mechname.lo \ base64.lo md5pwd.lo crypto.lo saslprep.lo free.lo mechtools.lo \ $(am__objects_1) libgsasl_la_OBJECTS = $(am_libgsasl_la_OBJECTS) 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 = libgsasl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgsasl_la_LDFLAGS) $(LDFLAGS) -o $@ 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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/base64.Plo ./$(DEPDIR)/callback.Plo \ ./$(DEPDIR)/crypto.Plo ./$(DEPDIR)/done.Plo \ ./$(DEPDIR)/error.Plo ./$(DEPDIR)/free.Plo \ ./$(DEPDIR)/init.Plo ./$(DEPDIR)/listmech.Plo \ ./$(DEPDIR)/md5pwd.Plo ./$(DEPDIR)/mechname.Plo \ ./$(DEPDIR)/mechtools.Plo ./$(DEPDIR)/obsolete.Plo \ ./$(DEPDIR)/property.Plo ./$(DEPDIR)/register.Plo \ ./$(DEPDIR)/saslprep.Plo ./$(DEPDIR)/suggest.Plo \ ./$(DEPDIR)/supportp.Plo ./$(DEPDIR)/version.Plo \ ./$(DEPDIR)/xcode.Plo ./$(DEPDIR)/xfinish.Plo \ ./$(DEPDIR)/xstart.Plo ./$(DEPDIR)/xstep.Plo 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 = $(libgsasl_la_SOURCES) DIST_SOURCES = $(am__libgsasl_la_SOURCES_DIST) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(defexec_DATA) HEADERS = $(include_HEADERS) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ lib_LTLIBRARIES = libgsasl.la AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../gl -I../gl -I$(srcdir)/.. \ -DGSASL_BUILDING -DLOCALEDIR=\"$(datadir)/locale\" \ $(am__append_5) EXTRA_DIST = doxygen.c include_HEADERS = gsasl.h gsasl-mech.h gsasl-compat.h libgsasl_la_LDFLAGS = -version-info \ $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined \ $(am__append_1) $(am__append_2) $(am__append_3) libgsasl_la_LIBADD = ../gl/libgl.la $(LTLIBINTL) $(LTLIBIDN) \ $(am__append_6) $(am__append_7) $(am__append_8) \ $(am__append_9) $(am__append_10) $(am__append_11) \ $(am__append_12) $(am__append_13) $(am__append_14) \ $(am__append_15) $(am__append_16) $(am__append_17) \ $(am__append_18) $(am__append_19) libgsasl_la_SOURCES = libgsasl.map internal.h init.c done.c register.c \ error.c version.c callback.c property.c supportp.c suggest.c \ listmech.c xstart.c xstep.c xfinish.c xcode.c mechname.c \ base64.c md5pwd.c crypto.c saslprep.c free.c mechtools.c \ mechtools.h $(am__append_4) @HAVE_LD_OUTPUT_DEF_TRUE@defexecdir = $(bindir) @HAVE_LD_OUTPUT_DEF_TRUE@defexec_DATA = libgsasl-$(DLL_VERSION).def @HAVE_LD_OUTPUT_DEF_TRUE@DISTCLEANFILES = $(defexec_DATA) 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 src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/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-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl.la: $(libgsasl_la_OBJECTS) $(libgsasl_la_DEPENDENCIES) $(EXTRA_libgsasl_la_DEPENDENCIES) $(AM_V_CCLD)$(libgsasl_la_LINK) -rpath $(libdir) $(libgsasl_la_OBJECTS) $(libgsasl_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base64.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callback.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/crypto.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/done.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/free.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/listmech.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5pwd.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechname.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechtools.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/obsolete.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/property.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/register.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/saslprep.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/suggest.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/supportp.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xcode.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfinish.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstart.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstep.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 install-defexecDATA: $(defexec_DATA) @$(NORMAL_INSTALL) @list='$(defexec_DATA)'; test -n "$(defexecdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(defexecdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(defexecdir)" || 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)$(defexecdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(defexecdir)" || exit $$?; \ done uninstall-defexecDATA: @$(NORMAL_UNINSTALL) @list='$(defexec_DATA)'; test -n "$(defexecdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(defexecdir)'; $(am__uninstall_files_from_dir) install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(includedir)" || 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_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) 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 $(LTLIBRARIES) $(DATA) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(defexecdir)" "$(DESTDIR)$(includedir)"; 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) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) 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-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/base64.Plo -rm -f ./$(DEPDIR)/callback.Plo -rm -f ./$(DEPDIR)/crypto.Plo -rm -f ./$(DEPDIR)/done.Plo -rm -f ./$(DEPDIR)/error.Plo -rm -f ./$(DEPDIR)/free.Plo -rm -f ./$(DEPDIR)/init.Plo -rm -f ./$(DEPDIR)/listmech.Plo -rm -f ./$(DEPDIR)/md5pwd.Plo -rm -f ./$(DEPDIR)/mechname.Plo -rm -f ./$(DEPDIR)/mechtools.Plo -rm -f ./$(DEPDIR)/obsolete.Plo -rm -f ./$(DEPDIR)/property.Plo -rm -f ./$(DEPDIR)/register.Plo -rm -f ./$(DEPDIR)/saslprep.Plo -rm -f ./$(DEPDIR)/suggest.Plo -rm -f ./$(DEPDIR)/supportp.Plo -rm -f ./$(DEPDIR)/version.Plo -rm -f ./$(DEPDIR)/xcode.Plo -rm -f ./$(DEPDIR)/xfinish.Plo -rm -f ./$(DEPDIR)/xstart.Plo -rm -f ./$(DEPDIR)/xstep.Plo -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-includeHEADERS install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-defexecDATA install-libLTLIBRARIES 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)/base64.Plo -rm -f ./$(DEPDIR)/callback.Plo -rm -f ./$(DEPDIR)/crypto.Plo -rm -f ./$(DEPDIR)/done.Plo -rm -f ./$(DEPDIR)/error.Plo -rm -f ./$(DEPDIR)/free.Plo -rm -f ./$(DEPDIR)/init.Plo -rm -f ./$(DEPDIR)/listmech.Plo -rm -f ./$(DEPDIR)/md5pwd.Plo -rm -f ./$(DEPDIR)/mechname.Plo -rm -f ./$(DEPDIR)/mechtools.Plo -rm -f ./$(DEPDIR)/obsolete.Plo -rm -f ./$(DEPDIR)/property.Plo -rm -f ./$(DEPDIR)/register.Plo -rm -f ./$(DEPDIR)/saslprep.Plo -rm -f ./$(DEPDIR)/suggest.Plo -rm -f ./$(DEPDIR)/supportp.Plo -rm -f ./$(DEPDIR)/version.Plo -rm -f ./$(DEPDIR)/xcode.Plo -rm -f ./$(DEPDIR)/xfinish.Plo -rm -f ./$(DEPDIR)/xstart.Plo -rm -f ./$(DEPDIR)/xstep.Plo -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-defexecDATA uninstall-includeHEADERS \ uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libLTLIBRARIES clean-libtool 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-data \ install-data-am install-defexecDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-includeHEADERS install-info install-info-am \ install-libLTLIBRARIES 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-defexecDATA \ uninstall-includeHEADERS uninstall-libLTLIBRARIES .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/src/internal.h0000644000000000000000000000707013516252321013047 00000000000000/* internal.h --- Internal header with hidden library handle structures. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef INTERNAL_H #define INTERNAL_H #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specifications. */ #include "gsasl.h" /* Get malloc, free, ... */ #include /* Get strlen, strcpy, ... */ #include /* Main library handle. */ struct Gsasl { size_t n_client_mechs; Gsasl_mechanism *client_mechs; size_t n_server_mechs; Gsasl_mechanism *server_mechs; /* Callback. */ Gsasl_callback_function cb; void *application_hook; #ifndef GSASL_NO_OBSOLETE /* Obsolete stuff. */ Gsasl_client_callback_authorization_id cbc_authorization_id; Gsasl_client_callback_authentication_id cbc_authentication_id; Gsasl_client_callback_password cbc_password; Gsasl_client_callback_passcode cbc_passcode; Gsasl_client_callback_pin cbc_pin; Gsasl_client_callback_anonymous cbc_anonymous; Gsasl_client_callback_qop cbc_qop; Gsasl_client_callback_maxbuf cbc_maxbuf; Gsasl_client_callback_service cbc_service; Gsasl_client_callback_realm cbc_realm; Gsasl_server_callback_validate cbs_validate; Gsasl_server_callback_securid cbs_securid; Gsasl_server_callback_retrieve cbs_retrieve; Gsasl_server_callback_cram_md5 cbs_cram_md5; Gsasl_server_callback_digest_md5 cbs_digest_md5; Gsasl_server_callback_external cbs_external; Gsasl_server_callback_anonymous cbs_anonymous; Gsasl_server_callback_realm cbs_realm; Gsasl_server_callback_qop cbs_qop; Gsasl_server_callback_maxbuf cbs_maxbuf; Gsasl_server_callback_cipher cbs_cipher; Gsasl_server_callback_service cbs_service; Gsasl_server_callback_gssapi cbs_gssapi; #endif }; /* Per-session library handle. */ struct Gsasl_session { Gsasl *ctx; int clientp; Gsasl_mechanism *mech; void *mech_data; void *application_hook; /* Properties. */ char *anonymous_token; char *authid; char *authzid; char *password; char *passcode; char *pin; char *suggestedpin; char *service; char *hostname; char *gssapi_display_name; char *realm; char *digest_md5_hashed_password; char *qops; char *qop; char *scram_iter; char *scram_salt; char *scram_salted_password; char *cb_tls_unique; char *saml20_idp_identifier; char *saml20_redirect_url; char *openid20_redirect_url; char *openid20_outcome_data; /* If you add anything here, remember to change change gsasl_finish() in xfinish.c and map() in property.c. */ #ifndef GSASL_NO_OBSOLETE /* Obsolete stuff. */ void *application_data; #endif }; #ifndef GSASL_NO_OBSOLETE const char *_gsasl_obsolete_property_map (Gsasl_session * sctx, Gsasl_property prop); int _gsasl_obsolete_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop); #endif #endif /* INTERNAL_H */ gsasl-1.8.1/lib/src/callback.c0000644000000000000000000001214413516252321012760 00000000000000/* callback.c --- Callback handling. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License License along with GNU SASL Library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "internal.h" /** * gsasl_callback_set: * @ctx: handle received from gsasl_init(). * @cb: pointer to function implemented by application. * * Store the pointer to the application provided callback in the * library handle. The callback will be used, via gsasl_callback(), * by mechanisms to discover various parameters (such as username and * passwords). The callback function will be called with a * Gsasl_property value indicating the requested behaviour. For * example, for %GSASL_ANONYMOUS_TOKEN, the function is expected to * invoke gsasl_property_set(@CTX, %GSASL_ANONYMOUS_TOKEN, "token") * where "token" is the anonymous token the application wishes the * SASL mechanism to use. See the manual for the meaning of all * parameters. * * Since: 0.2.0 **/ void gsasl_callback_set (Gsasl * ctx, Gsasl_callback_function cb) { ctx->cb = cb; } /** * gsasl_callback: * @ctx: handle received from gsasl_init(), may be NULL to derive it * from @sctx. * @sctx: session handle. * @prop: enumerated value of Gsasl_property type. * * Invoke the application callback. The @prop value indicate what the * callback is expected to do. For example, for * %GSASL_ANONYMOUS_TOKEN, the function is expected to invoke * gsasl_property_set(@SCTX, %GSASL_ANONYMOUS_TOKEN, "token") where * "token" is the anonymous token the application wishes the SASL * mechanism to use. See the manual for the meaning of all * parameters. * * Note that if no callback has been set by the application, but the * obsolete callback interface has been used, this function will * translate the old callback interface into the new. This interface * should be sufficient to invoke all callbacks, both new and old. * * Return value: Returns whatever the application callback returns, or * %GSASL_NO_CALLBACK if no application was known. * * Since: 0.2.0 **/ int gsasl_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { if (ctx == NULL && sctx == NULL) return GSASL_NO_CALLBACK; if (ctx == NULL) ctx = sctx->ctx; if (ctx->cb) return ctx->cb (ctx, sctx, prop); #ifndef GSASL_NO_OBSOLETE return _gsasl_obsolete_callback (ctx, sctx, prop); #endif return GSASL_NO_CALLBACK; } /** * gsasl_callback_hook_set: * @ctx: libgsasl handle. * @hook: opaque pointer to application specific data. * * Store application specific data in the libgsasl handle. * * The application data can be later (for instance, inside a callback) * be retrieved by calling gsasl_callback_hook_get(). This is * normally used by the application to maintain a global state between * the main program and callbacks. * * Since: 0.2.0 **/ void gsasl_callback_hook_set (Gsasl * ctx, void *hook) { ctx->application_hook = hook; } /** * gsasl_callback_hook_get: * @ctx: libgsasl handle. * * Retrieve application specific data from libgsasl handle. * * The application data is set using gsasl_callback_hook_set(). This * is normally used by the application to maintain a global state * between the main program and callbacks. * * Return value: Returns the application specific data, or NULL. * * Since: 0.2.0 **/ void * gsasl_callback_hook_get (Gsasl * ctx) { return ctx->application_hook; } /** * gsasl_session_hook_set: * @sctx: libgsasl session handle. * @hook: opaque pointer to application specific data. * * Store application specific data in the libgsasl session handle. * * The application data can be later (for instance, inside a callback) * be retrieved by calling gsasl_session_hook_get(). This is normally * used by the application to maintain a per-session state between the * main program and callbacks. * * Since: 0.2.14 **/ void gsasl_session_hook_set (Gsasl_session * sctx, void *hook) { sctx->application_hook = hook; } /** * gsasl_session_hook_get: * @sctx: libgsasl session handle. * * Retrieve application specific data from libgsasl session handle. * * The application data is set using gsasl_callback_hook_set(). This * is normally used by the application to maintain a per-session state * between the main program and callbacks. * * Return value: Returns the application specific data, or NULL. * * Since: 0.2.14 **/ void * gsasl_session_hook_get (Gsasl_session * sctx) { return sctx->application_hook; } gsasl-1.8.1/lib/ntlm/0000755000000000000000000000000013521017726011325 500000000000000gsasl-1.8.1/lib/ntlm/ntlm.c0000644000000000000000000000725413516252321012367 00000000000000/* ntlm.c --- Implementation of non-standard SASL mechanism NTLM, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get malloc, free. */ #include /* Get memcpy. */ #include /* Get specification. */ #include "x-ntlm.h" #include struct _Gsasl_ntlm_state { int step; }; typedef struct _Gsasl_ntlm_state _Gsasl_ntlm_state; int _gsasl_ntlm_client_start (Gsasl_session * sctx, void **mech_data) { _Gsasl_ntlm_state *state; state = (_Gsasl_ntlm_state *) malloc (sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; state->step = 0; *mech_data = state; return GSASL_OK; } int _gsasl_ntlm_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_ntlm_state *state = mech_data; const char *domain = gsasl_property_get (sctx, GSASL_REALM); const char *authid = gsasl_property_get (sctx, GSASL_AUTHID); const char *password; int res; if (!authid) return GSASL_NO_AUTHID; switch (state->step) { case 0: { tSmbNtlmAuthRequest *request; request = malloc (sizeof (*request)); if (!request) return GSASL_MALLOC_ERROR; buildSmbNtlmAuthRequest (request, authid, domain); *output_len = SmbLength (request); *output = malloc (*output_len); if (!*output) { free (request); return GSASL_MALLOC_ERROR; } memcpy (*output, request, *output_len); free (request); /* dumpSmbNtlmAuthRequest(stdout, &request); */ state->step++; res = GSASL_NEEDS_MORE; break; } case 1: { tSmbNtlmAuthChallenge *challenge; tSmbNtlmAuthResponse *response; if (input_len > sizeof (*challenge)) return GSASL_MECHANISM_PARSE_ERROR; challenge = malloc (sizeof (*challenge)); if (!challenge) return GSASL_MALLOC_ERROR; /* Hand crafted challenge for parser testing: TlRMTVNTUAAAAAAAAAAAAAAAAAAAAGFiY2RlZmdoMDEyMzQ1Njc4ODY2NDQwMTIz */ memcpy (challenge, input, input_len); password = gsasl_property_get (sctx, GSASL_PASSWORD); if (!password) { free (challenge); return GSASL_NO_PASSWORD; } response = malloc (sizeof (*response)); if (!response) { free (challenge); return GSASL_MALLOC_ERROR; } buildSmbNtlmAuthResponse (challenge, response, authid, password); free (challenge); *output_len = SmbLength (response); *output = malloc (*output_len); if (!*output) { free (response); return GSASL_MALLOC_ERROR; } memcpy (*output, response, *output_len); free (response); /* dumpSmbNtlmAuthResponse(stdout, &response); */ state->step++; res = GSASL_OK; break; } default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_ntlm_client_finish (Gsasl_session * sctx, void *mech_data) { _Gsasl_ntlm_state *state = mech_data; free (state); } gsasl-1.8.1/lib/ntlm/Makefile.am0000644000000000000000000000222213516252321013273 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-ntlm.la libgsasl_ntlm_la_SOURCES = x-ntlm.h mechinfo.c if CLIENT libgsasl_ntlm_la_SOURCES += ntlm.c endif libgsasl_ntlm_la_LIBADD = $(LTLIBNTLM) gsasl-1.8.1/lib/ntlm/mechinfo.c0000644000000000000000000000255013516252321013177 00000000000000/* mechinfo.c --- Definition of NTLM mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "x-ntlm.h" Gsasl_mechanism gsasl_ntlm_mechanism = { GSASL_NTLM_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_ntlm_client_start, #else NULL, #endif #ifdef USE_CLIENT _gsasl_ntlm_client_step, #else NULL, #endif #ifdef USE_CLIENT _gsasl_ntlm_client_finish, #else NULL, #endif NULL, NULL} , { NULL, NULL, NULL, NULL, NULL, NULL, NULL} }; gsasl-1.8.1/lib/ntlm/Makefile.in0000644000000000000000000017126213521017120013307 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = ntlm.c subdir = ntlm ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = libgsasl_ntlm_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am__libgsasl_ntlm_la_SOURCES_DIST = x-ntlm.h mechinfo.c ntlm.c @CLIENT_TRUE@am__objects_1 = ntlm.lo am_libgsasl_ntlm_la_OBJECTS = mechinfo.lo $(am__objects_1) libgsasl_ntlm_la_OBJECTS = $(am_libgsasl_ntlm_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/mechinfo.Plo ./$(DEPDIR)/ntlm.Plo 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 = $(libgsasl_ntlm_la_SOURCES) DIST_SOURCES = $(am__libgsasl_ntlm_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-ntlm.la libgsasl_ntlm_la_SOURCES = x-ntlm.h mechinfo.c $(am__append_1) libgsasl_ntlm_la_LIBADD = $(LTLIBNTLM) 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 ntlm/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu ntlm/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-ntlm.la: $(libgsasl_ntlm_la_OBJECTS) $(libgsasl_ntlm_la_DEPENDENCIES) $(EXTRA_libgsasl_ntlm_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_ntlm_la_OBJECTS) $(libgsasl_ntlm_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntlm.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/ntlm.Plo -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-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)/mechinfo.Plo -rm -f ./$(DEPDIR)/ntlm.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/ntlm/x-ntlm.h0000644000000000000000000000260313516252321012632 00000000000000/* x-ntlm.h --- Prototypes for non-standard SASL mechanism NTLM. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef X_NTLM_H #define X_NTLM_H #include #define GSASL_NTLM_NAME "NTLM" extern Gsasl_mechanism gsasl_ntlm_mechanism; extern int _gsasl_ntlm_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_ntlm_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_ntlm_client_finish (Gsasl_session * sctx, void *mech_data); #endif /* X_NTLM_H */ gsasl-1.8.1/lib/configure0000755000000000000000000452627713521017114012220 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for libgsasl 1.8.1. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1 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\" ) || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gsasl@gnu.org $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libgsasl' PACKAGE_TARNAME='libgsasl' PACKAGE_VERSION='1.8.1' PACKAGE_STRING='libgsasl 1.8.1' PACKAGE_BUGREPORT='bug-gsasl@gnu.org' PACKAGE_URL='' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" gl_use_threads_default= gl_use_winpthreads_default= gt_needs= ac_header_list= with_openssl_default='no' LIB_CRYPTO= ac_func_list= ac_subst_vars='gltests_LTLIBOBJS gltests_LIBOBJS gl_LTLIBOBJS gl_LIBOBJS CONFIG_INCLUDE am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS WARN_CFLAGS GSSAPI_FALSE GSSAPI_TRUE GS2_FALSE GS2_TRUE LIBTESTS_LIBDEPS YIELD_LIB HAVE_SYS_RESOURCE_H NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H NEXT_SYS_RESOURCE_H NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H NEXT_SYS_IOCTL_H HAVE_SYS_IOCTL_H NEXT_AS_FIRST_DIRECTIVE_STDLIB_H NEXT_STDLIB_H NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H NEXT_SIGNAL_H HAVE_SYS_CDEFS_H HAVE_STRUCT_SCHED_PARAM HAVE_SCHED_H NEXT_AS_FIRST_DIRECTIVE_SCHED_H NEXT_SCHED_H REPLACE_SCHED_YIELD HAVE_SCHED_YIELD GNULIB_SCHED_YIELD LIB_PTHREAD_SIGMASK REPLACE_RAISE REPLACE_PTHREAD_SIGMASK HAVE_SIGHANDLER_T HAVE_TYPE_VOLATILE_SIG_ATOMIC_T HAVE_STRUCT_SIGACTION_SA_SIGACTION HAVE_SIGACTION HAVE_SIGINFO_T HAVE_SIGSET_T HAVE_RAISE HAVE_PTHREAD_SIGMASK HAVE_POSIX_SIGNALBLOCKING GNULIB_SIGACTION GNULIB_SIGPROCMASK GNULIB_SIGNAL_H_SIGPIPE GNULIB_RAISE GNULIB_PTHREAD_SIGMASK LIB_PTHREAD HAVE_PTHREAD_H NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H NEXT_PTHREAD_H REPLACE_PTHREAD_SPIN_DESTROY REPLACE_PTHREAD_SPIN_UNLOCK REPLACE_PTHREAD_SPIN_TRYLOCK REPLACE_PTHREAD_SPIN_LOCK REPLACE_PTHREAD_SPIN_INIT REPLACE_PTHREAD_KEY_DELETE REPLACE_PTHREAD_GETSPECIFIC REPLACE_PTHREAD_SETSPECIFIC REPLACE_PTHREAD_KEY_CREATE REPLACE_PTHREAD_COND_DESTROY REPLACE_PTHREAD_COND_BROADCAST REPLACE_PTHREAD_COND_SIGNAL REPLACE_PTHREAD_COND_TIMEDWAIT REPLACE_PTHREAD_COND_WAIT REPLACE_PTHREAD_CONDATTR_DESTROY REPLACE_PTHREAD_CONDATTR_INIT REPLACE_PTHREAD_COND_INIT REPLACE_PTHREAD_RWLOCK_DESTROY REPLACE_PTHREAD_RWLOCK_UNLOCK REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK REPLACE_PTHREAD_RWLOCK_TRYWRLOCK REPLACE_PTHREAD_RWLOCK_TRYRDLOCK REPLACE_PTHREAD_RWLOCK_WRLOCK REPLACE_PTHREAD_RWLOCK_RDLOCK REPLACE_PTHREAD_RWLOCKATTR_DESTROY REPLACE_PTHREAD_RWLOCKATTR_INIT REPLACE_PTHREAD_RWLOCK_INIT REPLACE_PTHREAD_MUTEX_DESTROY REPLACE_PTHREAD_MUTEX_UNLOCK REPLACE_PTHREAD_MUTEX_TIMEDLOCK REPLACE_PTHREAD_MUTEX_TRYLOCK REPLACE_PTHREAD_MUTEX_LOCK REPLACE_PTHREAD_MUTEXATTR_DESTROY REPLACE_PTHREAD_MUTEXATTR_SETROBUST REPLACE_PTHREAD_MUTEXATTR_GETROBUST REPLACE_PTHREAD_MUTEXATTR_SETTYPE REPLACE_PTHREAD_MUTEXATTR_GETTYPE REPLACE_PTHREAD_MUTEXATTR_INIT REPLACE_PTHREAD_MUTEX_INIT REPLACE_PTHREAD_ONCE REPLACE_PTHREAD_EXIT REPLACE_PTHREAD_JOIN REPLACE_PTHREAD_DETACH REPLACE_PTHREAD_EQUAL REPLACE_PTHREAD_SELF REPLACE_PTHREAD_ATTR_DESTROY REPLACE_PTHREAD_ATTR_SETDETACHSTATE REPLACE_PTHREAD_ATTR_GETDETACHSTATE REPLACE_PTHREAD_ATTR_INIT REPLACE_PTHREAD_CREATE HAVE_PTHREAD_SPIN_DESTROY HAVE_PTHREAD_SPIN_UNLOCK HAVE_PTHREAD_SPIN_TRYLOCK HAVE_PTHREAD_SPIN_LOCK HAVE_PTHREAD_SPIN_INIT HAVE_PTHREAD_KEY_DELETE HAVE_PTHREAD_GETSPECIFIC HAVE_PTHREAD_SETSPECIFIC HAVE_PTHREAD_KEY_CREATE HAVE_PTHREAD_COND_DESTROY HAVE_PTHREAD_COND_BROADCAST HAVE_PTHREAD_COND_SIGNAL HAVE_PTHREAD_COND_TIMEDWAIT HAVE_PTHREAD_COND_WAIT HAVE_PTHREAD_CONDATTR_DESTROY HAVE_PTHREAD_CONDATTR_INIT HAVE_PTHREAD_COND_INIT HAVE_PTHREAD_RWLOCK_DESTROY HAVE_PTHREAD_RWLOCK_UNLOCK HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK HAVE_PTHREAD_RWLOCK_TRYWRLOCK HAVE_PTHREAD_RWLOCK_TRYRDLOCK HAVE_PTHREAD_RWLOCK_WRLOCK HAVE_PTHREAD_RWLOCK_RDLOCK HAVE_PTHREAD_RWLOCKATTR_DESTROY HAVE_PTHREAD_RWLOCKATTR_INIT HAVE_PTHREAD_RWLOCK_INIT HAVE_PTHREAD_MUTEX_DESTROY HAVE_PTHREAD_MUTEX_UNLOCK HAVE_PTHREAD_MUTEX_TIMEDLOCK HAVE_PTHREAD_MUTEX_TRYLOCK HAVE_PTHREAD_MUTEX_LOCK HAVE_PTHREAD_MUTEXATTR_DESTROY HAVE_PTHREAD_MUTEXATTR_SETROBUST HAVE_PTHREAD_MUTEXATTR_GETROBUST HAVE_PTHREAD_MUTEXATTR_SETTYPE HAVE_PTHREAD_MUTEXATTR_GETTYPE HAVE_PTHREAD_MUTEXATTR_INIT HAVE_PTHREAD_MUTEX_INIT HAVE_PTHREAD_ONCE HAVE_PTHREAD_EXIT HAVE_PTHREAD_JOIN HAVE_PTHREAD_DETACH HAVE_PTHREAD_EQUAL HAVE_PTHREAD_SELF HAVE_PTHREAD_ATTR_DESTROY HAVE_PTHREAD_ATTR_SETDETACHSTATE HAVE_PTHREAD_ATTR_GETDETACHSTATE HAVE_PTHREAD_ATTR_INIT HAVE_PTHREAD_CREATE HAVE_PTHREAD_PROCESS_SHARED HAVE_PTHREAD_MUTEX_ROBUST HAVE_PTHREAD_MUTEX_RECURSIVE HAVE_PTHREAD_CREATE_DETACHED HAVE_PTHREAD_SPINLOCK_T HAVE_PTHREAD_T GNULIB_PTHREAD_MUTEX_TIMEDLOCK GNULIB_PTHREAD_SPIN GNULIB_PTHREAD_TSS GNULIB_PTHREAD_COND GNULIB_PTHREAD_RWLOCK GNULIB_PTHREAD_MUTEX GNULIB_PTHREAD_ONCE GNULIB_PTHREAD_THREAD GL_GENERATE_NETINET_IN_H_FALSE GL_GENERATE_NETINET_IN_H_TRUE NETINET_IN_H HAVE_NETINET_IN_H NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H NEXT_NETINET_IN_H LIB_NANOSLEEP LIB_SELECT LIBSOCKET HAVE_SYS_SELECT_H NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H NEXT_SYS_SELECT_H REPLACE_SELECT REPLACE_PSELECT HAVE_PSELECT GNULIB_SELECT GNULIB_PSELECT REPLACE_WCTOMB REPLACE_UNSETENV REPLACE_STRTOLD REPLACE_STRTOD REPLACE_SETSTATE REPLACE_SETENV REPLACE_REALPATH REPLACE_REALLOC REPLACE_RANDOM_R REPLACE_RANDOM REPLACE_QSORT_R REPLACE_PUTENV REPLACE_PTSNAME_R REPLACE_PTSNAME REPLACE_MKSTEMP REPLACE_MBTOWC REPLACE_MALLOC REPLACE_INITSTATE REPLACE_CANONICALIZE_FILE_NAME REPLACE_CALLOC HAVE_DECL_UNSETENV HAVE_UNLOCKPT HAVE_SYS_LOADAVG_H HAVE_STRUCT_RANDOM_DATA HAVE_STRTOULL HAVE_STRTOLL HAVE_STRTOLD HAVE_STRTOD HAVE_DECL_SETSTATE HAVE_SETSTATE HAVE_DECL_SETENV HAVE_SETENV HAVE_SECURE_GETENV HAVE_RPMATCH HAVE_REALPATH HAVE_REALLOCARRAY HAVE_RANDOM_R HAVE_RANDOM_H HAVE_RANDOM HAVE_QSORT_R HAVE_PTSNAME_R HAVE_PTSNAME HAVE_POSIX_OPENPT HAVE_MKSTEMPS HAVE_MKSTEMP HAVE_MKOSTEMPS HAVE_MKOSTEMP HAVE_MKDTEMP HAVE_MBTOWC HAVE_DECL_INITSTATE HAVE_INITSTATE HAVE_GRANTPT HAVE_GETSUBOPT HAVE_DECL_GETLOADAVG HAVE_CANONICALIZE_FILE_NAME HAVE_ATOLL HAVE__EXIT GNULIB_WCTOMB GNULIB_UNSETENV GNULIB_UNLOCKPT GNULIB_SYSTEM_POSIX GNULIB_STRTOULL GNULIB_STRTOLL GNULIB_STRTOLD GNULIB_STRTOD GNULIB_SETENV GNULIB_SECURE_GETENV GNULIB_RPMATCH GNULIB_REALPATH GNULIB_REALLOC_POSIX GNULIB_REALLOCARRAY GNULIB_RANDOM_R GNULIB_RANDOM GNULIB_QSORT_R GNULIB_PUTENV GNULIB_PTSNAME_R GNULIB_PTSNAME GNULIB_POSIX_OPENPT GNULIB_MKSTEMPS GNULIB_MKSTEMP GNULIB_MKOSTEMPS GNULIB_MKOSTEMP GNULIB_MKDTEMP GNULIB_MBTOWC GNULIB_MALLOC_POSIX GNULIB_GRANTPT GNULIB_GETSUBOPT GNULIB_GETLOADAVG GNULIB_CANONICALIZE_FILE_NAME GNULIB_CALLOC_POSIX GNULIB_ATOLL GNULIB__EXIT LTLIBMULTITHREAD LIBMULTITHREAD LTLIBTHREAD LIBTHREAD NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H NEXT_INTTYPES_H UINT64_MAX_EQ_ULONG_MAX UINT32_MAX_LT_UINTMAX_MAX PRIPTR_PREFIX PRI_MACROS_BROKEN INT64_MAX_EQ_LONG_MAX INT32_MAX_LT_INTMAX_MAX REPLACE_STRTOUMAX REPLACE_STRTOIMAX HAVE_IMAXDIV_T HAVE_DECL_STRTOUMAX HAVE_DECL_STRTOIMAX HAVE_DECL_IMAXDIV HAVE_DECL_IMAXABS GNULIB_STRTOUMAX GNULIB_STRTOIMAX GNULIB_IMAXDIV GNULIB_IMAXABS INET_PTON_LIB NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H NEXT_SYS_TIME_H REPLACE_STRUCT_TIMEVAL REPLACE_GETTIMEOFDAY HAVE_SYS_TIME_H HAVE_STRUCT_TIMEVAL HAVE_GETTIMEOFDAY HAVE_GETRUSAGE GNULIB_GETRUSAGE NEXT_AS_FIRST_DIRECTIVE_FCNTL_H NEXT_FCNTL_H REPLACE_OPENAT REPLACE_OPEN REPLACE_FCNTL HAVE_OPENAT HAVE_FCNTL GNULIB_OPENAT GNULIB_OPEN GNULIB_NONBLOCKING GNULIB_FCNTL NEXT_AS_FIRST_DIRECTIVE_CTYPE_H NEXT_CTYPE_H HAVE_ISBLANK GNULIB_ISBLANK NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H NEXT_ARPA_INET_H HAVE_ARPA_INET_H REPLACE_INET_PTON REPLACE_INET_NTOP HAVE_DECL_INET_PTON HAVE_DECL_INET_NTOP GNULIB_INET_PTON GNULIB_INET_NTOP gltests_WITNESS HAVE_CRTDEFS_H HAVE_WINT_T NEXT_AS_FIRST_DIRECTIVE_WCHAR_H NEXT_WCHAR_H REPLACE_WCSFTIME REPLACE_WCSWIDTH REPLACE_WCWIDTH REPLACE_WCSNRTOMBS REPLACE_WCSRTOMBS REPLACE_WCRTOMB REPLACE_MBSNRTOWCS REPLACE_MBSRTOWCS REPLACE_MBRLEN REPLACE_MBRTOWC REPLACE_MBSINIT REPLACE_WCTOB REPLACE_BTOWC REPLACE_MBSTATE_T HAVE_DECL_WCWIDTH HAVE_DECL_WCTOB HAVE_WCSFTIME HAVE_WCSWIDTH HAVE_WCSTOK HAVE_WCSSTR HAVE_WCSPBRK HAVE_WCSSPN HAVE_WCSCSPN HAVE_WCSRCHR HAVE_WCSCHR HAVE_WCSDUP HAVE_WCSXFRM HAVE_WCSCOLL HAVE_WCSNCASECMP HAVE_WCSCASECMP HAVE_WCSNCMP HAVE_WCSCMP HAVE_WCSNCAT HAVE_WCSCAT HAVE_WCPNCPY HAVE_WCSNCPY HAVE_WCPCPY HAVE_WCSCPY HAVE_WCSNLEN HAVE_WCSLEN HAVE_WMEMSET HAVE_WMEMMOVE HAVE_WMEMCPY HAVE_WMEMCMP HAVE_WMEMCHR HAVE_WCSNRTOMBS HAVE_WCSRTOMBS HAVE_WCRTOMB HAVE_MBSNRTOWCS HAVE_MBSRTOWCS HAVE_MBRLEN HAVE_MBRTOWC HAVE_MBSINIT HAVE_BTOWC GNULIB_WCSFTIME GNULIB_WCSWIDTH GNULIB_WCSTOK GNULIB_WCSSTR GNULIB_WCSPBRK GNULIB_WCSSPN GNULIB_WCSCSPN GNULIB_WCSRCHR GNULIB_WCSCHR GNULIB_WCSDUP GNULIB_WCSXFRM GNULIB_WCSCOLL GNULIB_WCSNCASECMP GNULIB_WCSCASECMP GNULIB_WCSNCMP GNULIB_WCSCMP GNULIB_WCSNCAT GNULIB_WCSCAT GNULIB_WCPNCPY GNULIB_WCSNCPY GNULIB_WCPCPY GNULIB_WCSCPY GNULIB_WCSNLEN GNULIB_WCSLEN GNULIB_WMEMSET GNULIB_WMEMMOVE GNULIB_WMEMCPY GNULIB_WMEMCMP GNULIB_WMEMCHR GNULIB_WCWIDTH GNULIB_WCSNRTOMBS GNULIB_WCSRTOMBS GNULIB_WCRTOMB GNULIB_MBSNRTOWCS GNULIB_MBSRTOWCS GNULIB_MBRLEN GNULIB_MBRTOWC GNULIB_MBSINIT GNULIB_WCTOB GNULIB_BTOWC HAVE_FEATURES_H VALGRIND HAVE_UNISTD_H NEXT_AS_FIRST_DIRECTIVE_UNISTD_H NEXT_UNISTD_H UNISTD_H_DEFINES_STRUCT_TIMESPEC PTHREAD_H_DEFINES_STRUCT_TIMESPEC SYS_TIME_H_DEFINES_STRUCT_TIMESPEC TIME_H_DEFINES_STRUCT_TIMESPEC NEXT_AS_FIRST_DIRECTIVE_TIME_H NEXT_TIME_H REPLACE_LOCALTIME REPLACE_GMTIME GNULIB_GETTIMEOFDAY REPLACE_TZSET REPLACE_TIMEGM REPLACE_STRFTIME REPLACE_NANOSLEEP REPLACE_MKTIME REPLACE_LOCALTIME_R REPLACE_CTIME HAVE_TIMEZONE_T HAVE_TZSET HAVE_TIMEGM HAVE_STRPTIME HAVE_NANOSLEEP HAVE_DECL_LOCALTIME_R GNULIB_TZSET GNULIB_TIME_RZ GNULIB_TIME_R GNULIB_TIMEGM GNULIB_STRPTIME GNULIB_STRFTIME GNULIB_NANOSLEEP GNULIB_LOCALTIME GNULIB_MKTIME GNULIB_CTIME HAVE_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H NEXT_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_STRING_H NEXT_STRING_H NEXT_AS_FIRST_DIRECTIVE_STDIO_H NEXT_STDIO_H GL_GENERATE_STDINT_H_FALSE GL_GENERATE_STDINT_H_TRUE STDINT_H HAVE_SYS_INTTYPES_H HAVE_SYS_BITYPES_H HAVE_C99_STDINT_H WINT_T_SUFFIX WCHAR_T_SUFFIX SIG_ATOMIC_T_SUFFIX SIZE_T_SUFFIX PTRDIFF_T_SUFFIX HAVE_SIGNED_WINT_T HAVE_SIGNED_WCHAR_T HAVE_SIGNED_SIG_ATOMIC_T BITSIZEOF_WINT_T BITSIZEOF_WCHAR_T BITSIZEOF_SIG_ATOMIC_T BITSIZEOF_SIZE_T BITSIZEOF_PTRDIFF_T HAVE_STDINT_H NEXT_AS_FIRST_DIRECTIVE_STDINT_H NEXT_STDINT_H HAVE_SYS_TYPES_H HAVE_INTTYPES_H HAVE_WCHAR_H HAVE_UNSIGNED_LONG_LONG_INT HAVE_LONG_LONG_INT GNULIB_OVERRIDES_WINT_T NEXT_AS_FIRST_DIRECTIVE_STDDEF_H NEXT_STDDEF_H GL_GENERATE_STDDEF_H_FALSE GL_GENERATE_STDDEF_H_TRUE STDDEF_H HAVE_WCHAR_T HAVE_MAX_ALIGN_T REPLACE_NULL HAVE__BOOL GL_GENERATE_STDBOOL_H_FALSE GL_GENERATE_STDBOOL_H_TRUE STDBOOL_H GL_GENERATE_STDALIGN_H_FALSE GL_GENERATE_STDALIGN_H_TRUE STDALIGN_H APPLE_UNIVERSAL_BUILD HAVE_MSVC_INVALID_PARAMETER_HANDLER UNDEFINE_STRTOK_R REPLACE_STRSIGNAL REPLACE_STRERROR_R REPLACE_STRERROR REPLACE_STRTOK_R REPLACE_STRCASESTR REPLACE_STRSTR REPLACE_STRNLEN REPLACE_STRNDUP REPLACE_STRNCAT REPLACE_STRDUP REPLACE_STRCHRNUL REPLACE_STPNCPY REPLACE_MEMMEM REPLACE_MEMCHR HAVE_STRVERSCMP HAVE_DECL_STRSIGNAL HAVE_DECL_STRERROR_R HAVE_DECL_STRTOK_R HAVE_STRCASESTR HAVE_STRSEP HAVE_STRPBRK HAVE_DECL_STRNLEN HAVE_DECL_STRNDUP HAVE_DECL_STRDUP HAVE_STRCHRNUL HAVE_STPNCPY HAVE_STPCPY HAVE_RAWMEMCHR HAVE_DECL_MEMRCHR HAVE_MEMPCPY HAVE_DECL_MEMMEM HAVE_MEMCHR HAVE_FFSLL HAVE_FFSL HAVE_EXPLICIT_BZERO HAVE_MBSLEN GNULIB_STRVERSCMP GNULIB_STRSIGNAL GNULIB_STRERROR_R GNULIB_STRERROR GNULIB_MBSTOK_R GNULIB_MBSSEP GNULIB_MBSSPN GNULIB_MBSPBRK GNULIB_MBSCSPN GNULIB_MBSCASESTR GNULIB_MBSPCASECMP GNULIB_MBSNCASECMP GNULIB_MBSCASECMP GNULIB_MBSSTR GNULIB_MBSRCHR GNULIB_MBSCHR GNULIB_MBSNLEN GNULIB_MBSLEN GNULIB_STRTOK_R GNULIB_STRCASESTR GNULIB_STRSTR GNULIB_STRSEP GNULIB_STRPBRK GNULIB_STRNLEN GNULIB_STRNDUP GNULIB_STRNCAT GNULIB_STRDUP GNULIB_STRCHRNUL GNULIB_STPNCPY GNULIB_STPCPY GNULIB_RAWMEMCHR GNULIB_MEMRCHR GNULIB_MEMPCPY GNULIB_MEMMEM GNULIB_MEMCHR GNULIB_FFSLL GNULIB_FFSL GNULIB_EXPLICIT_BZERO GL_GENERATE_LIMITS_H_FALSE GL_GENERATE_LIMITS_H_TRUE LIMITS_H NEXT_AS_FIRST_DIRECTIVE_LIMITS_H NEXT_LIMITS_H HAVE_VISIBILITY CFLAG_VISIBILITY HAVE_LD_VERSION_SCRIPT_FALSE HAVE_LD_VERSION_SCRIPT_TRUE HAVE_LD_OUTPUT_DEF_FALSE HAVE_LD_OUTPUT_DEF_TRUE WINDOWS_64_BIT_ST_SIZE WINDOWS_STAT_TIMESPEC NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H NEXT_SYS_STAT_H REPLACE_UTIMENSAT REPLACE_STAT REPLACE_MKNOD REPLACE_MKFIFO REPLACE_MKDIR REPLACE_LSTAT REPLACE_FUTIMENS REPLACE_FSTATAT REPLACE_FSTAT HAVE_UTIMENSAT HAVE_MKNODAT HAVE_MKNOD HAVE_MKFIFOAT HAVE_MKFIFO HAVE_MKDIRAT HAVE_LSTAT HAVE_LCHMOD HAVE_FUTIMENS HAVE_FSTATAT HAVE_FCHMODAT GNULIB_OVERRIDES_STRUCT_STAT GNULIB_UTIMENSAT GNULIB_STAT GNULIB_MKNODAT GNULIB_MKNOD GNULIB_MKFIFOAT GNULIB_MKFIFO GNULIB_MKDIRAT GNULIB_LSTAT GNULIB_LCHMOD GNULIB_FUTIMENS GNULIB_FSTATAT GNULIB_FSTAT GNULIB_FCHMODAT WINDOWS_STAT_INODES WINDOWS_64_BIT_OFF_T NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H NEXT_SYS_TYPES_H REPLACE_ITOLD GL_GENERATE_FLOAT_H_FALSE GL_GENERATE_FLOAT_H_TRUE FLOAT_H NEXT_AS_FIRST_DIRECTIVE_FLOAT_H NEXT_FLOAT_H REPLACE_VSPRINTF REPLACE_VSNPRINTF REPLACE_VPRINTF REPLACE_VFPRINTF REPLACE_VDPRINTF REPLACE_VASPRINTF REPLACE_TMPFILE REPLACE_STDIO_WRITE_FUNCS REPLACE_STDIO_READ_FUNCS REPLACE_SPRINTF REPLACE_SNPRINTF REPLACE_RENAMEAT REPLACE_RENAME REPLACE_REMOVE REPLACE_PRINTF REPLACE_POPEN REPLACE_PERROR REPLACE_OBSTACK_PRINTF REPLACE_GETLINE REPLACE_GETDELIM REPLACE_FTELLO REPLACE_FTELL REPLACE_FSEEKO REPLACE_FSEEK REPLACE_FREOPEN REPLACE_FPURGE REPLACE_FPRINTF REPLACE_FOPEN REPLACE_FFLUSH REPLACE_FDOPEN REPLACE_FCLOSE REPLACE_DPRINTF HAVE_VDPRINTF HAVE_VASPRINTF HAVE_RENAMEAT HAVE_POPEN HAVE_PCLOSE HAVE_FTELLO HAVE_FSEEKO HAVE_DPRINTF HAVE_DECL_VSNPRINTF HAVE_DECL_SNPRINTF HAVE_DECL_OBSTACK_PRINTF HAVE_DECL_GETLINE HAVE_DECL_GETDELIM HAVE_DECL_FTELLO HAVE_DECL_FSEEKO HAVE_DECL_FPURGE GNULIB_VSPRINTF_POSIX GNULIB_VSNPRINTF GNULIB_VPRINTF_POSIX GNULIB_VPRINTF GNULIB_VFPRINTF_POSIX GNULIB_VFPRINTF GNULIB_VDPRINTF GNULIB_VSCANF GNULIB_VFSCANF GNULIB_VASPRINTF GNULIB_TMPFILE GNULIB_STDIO_H_SIGPIPE GNULIB_STDIO_H_NONBLOCKING GNULIB_SPRINTF_POSIX GNULIB_SNPRINTF GNULIB_SCANF GNULIB_RENAMEAT GNULIB_RENAME GNULIB_REMOVE GNULIB_PUTS GNULIB_PUTCHAR GNULIB_PUTC GNULIB_PRINTF_POSIX GNULIB_PRINTF GNULIB_POPEN GNULIB_PERROR GNULIB_PCLOSE GNULIB_OBSTACK_PRINTF_POSIX GNULIB_OBSTACK_PRINTF GNULIB_GETLINE GNULIB_GETDELIM GNULIB_GETCHAR GNULIB_GETC GNULIB_FWRITE GNULIB_FTELLO GNULIB_FTELL GNULIB_FSEEKO GNULIB_FSEEK GNULIB_FSCANF GNULIB_FREOPEN GNULIB_FREAD GNULIB_FPUTS GNULIB_FPUTC GNULIB_FPURGE GNULIB_FPRINTF_POSIX GNULIB_FPRINTF GNULIB_FOPEN GNULIB_FGETS GNULIB_FGETC GNULIB_FFLUSH GNULIB_FDOPEN GNULIB_FCLOSE GNULIB_DPRINTF EOVERFLOW_VALUE EOVERFLOW_HIDDEN ENOLINK_VALUE ENOLINK_HIDDEN EMULTIHOP_VALUE EMULTIHOP_HIDDEN GL_GENERATE_ERRNO_H_FALSE GL_GENERATE_ERRNO_H_TRUE ERRNO_H NEXT_AS_FIRST_DIRECTIVE_ERRNO_H NEXT_ERRNO_H LIBGCRYPT_PREFIX LTLIBGCRYPT LIBGCRYPT HAVE_LIBGCRYPT LIBGCRYPT_LIBS LIBGCRYPT_CFLAGS LIBGCRYPT_CONFIG LIB_CRYPTO HAVE_WINSOCK2_H REPLACE_IOCTL SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS SYS_IOCTL_H_HAVE_WINSOCK2_H GNULIB_IOCTL UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS UNISTD_H_HAVE_WINSOCK2_H REPLACE_WRITE REPLACE_USLEEP REPLACE_UNLINKAT REPLACE_UNLINK REPLACE_TTYNAME_R REPLACE_TRUNCATE REPLACE_SYMLINKAT REPLACE_SYMLINK REPLACE_SLEEP REPLACE_RMDIR REPLACE_READLINKAT REPLACE_READLINK REPLACE_READ REPLACE_PWRITE REPLACE_PREAD REPLACE_LSEEK REPLACE_LINKAT REPLACE_LINK REPLACE_LCHOWN REPLACE_ISATTY REPLACE_GETPASS REPLACE_GETPAGESIZE REPLACE_GETGROUPS REPLACE_GETLOGIN_R REPLACE_GETDTABLESIZE REPLACE_GETDOMAINNAME REPLACE_GETCWD REPLACE_FTRUNCATE REPLACE_FCHOWNAT REPLACE_FACCESSAT REPLACE_DUP2 REPLACE_DUP REPLACE_CLOSE REPLACE_CHOWN HAVE_SYS_PARAM_H HAVE_OS_H HAVE_DECL_TTYNAME_R HAVE_DECL_TRUNCATE HAVE_DECL_SETHOSTNAME HAVE_DECL_GETUSERSHELL HAVE_DECL_GETPAGESIZE HAVE_DECL_GETLOGIN_R HAVE_DECL_GETLOGIN HAVE_DECL_GETDOMAINNAME HAVE_DECL_FDATASYNC HAVE_DECL_FCHDIR HAVE_DECL_ENVIRON HAVE_USLEEP HAVE_UNLINKAT HAVE_SYMLINKAT HAVE_SYMLINK HAVE_SLEEP HAVE_SETHOSTNAME HAVE_READLINKAT HAVE_READLINK HAVE_PWRITE HAVE_PREAD HAVE_PIPE2 HAVE_PIPE HAVE_LINKAT HAVE_LINK HAVE_LCHOWN HAVE_GROUP_MEMBER HAVE_GETPASS HAVE_GETPAGESIZE HAVE_GETLOGIN HAVE_GETHOSTNAME HAVE_GETGROUPS HAVE_GETDTABLESIZE HAVE_FTRUNCATE HAVE_FSYNC HAVE_FDATASYNC HAVE_FCHOWNAT HAVE_FCHDIR HAVE_FACCESSAT HAVE_EUIDACCESS HAVE_DUP3 HAVE_DUP2 HAVE_COPY_FILE_RANGE HAVE_CHOWN GNULIB_WRITE GNULIB_USLEEP GNULIB_UNLINKAT GNULIB_UNLINK GNULIB_UNISTD_H_SIGPIPE GNULIB_UNISTD_H_NONBLOCKING GNULIB_TTYNAME_R GNULIB_TRUNCATE GNULIB_SYMLINKAT GNULIB_SYMLINK GNULIB_SLEEP GNULIB_SETHOSTNAME GNULIB_RMDIR GNULIB_READLINKAT GNULIB_READLINK GNULIB_READ GNULIB_PWRITE GNULIB_PREAD GNULIB_PIPE2 GNULIB_PIPE GNULIB_LSEEK GNULIB_LINKAT GNULIB_LINK GNULIB_LCHOWN GNULIB_ISATTY GNULIB_GROUP_MEMBER GNULIB_GETUSERSHELL GNULIB_GETPASS GNULIB_GETPAGESIZE GNULIB_GETLOGIN_R GNULIB_GETLOGIN GNULIB_GETHOSTNAME GNULIB_GETGROUPS GNULIB_GETDTABLESIZE GNULIB_GETDOMAINNAME GNULIB_GETCWD GNULIB_FTRUNCATE GNULIB_FSYNC GNULIB_FDATASYNC GNULIB_FCHOWNAT GNULIB_FCHDIR GNULIB_FACCESSAT GNULIB_EUIDACCESS GNULIB_ENVIRON GNULIB_DUP3 GNULIB_DUP2 GNULIB_DUP GNULIB_COPY_FILE_RANGE GNULIB_CLOSE GNULIB_CHOWN GNULIB_CHDIR HAVE_WS2TCPIP_H HAVE_SYS_SOCKET_H NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H NEXT_SYS_SOCKET_H PRAGMA_COLUMNS PRAGMA_SYSTEM_HEADER INCLUDE_NEXT_AS_FIRST_DIRECTIVE INCLUDE_NEXT HAVE_ACCEPT4 HAVE_SA_FAMILY_T HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY HAVE_STRUCT_SOCKADDR_STORAGE GNULIB_ACCEPT4 GNULIB_SHUTDOWN GNULIB_SETSOCKOPT GNULIB_SENDTO GNULIB_RECVFROM GNULIB_SEND GNULIB_RECV GNULIB_LISTEN GNULIB_GETSOCKOPT GNULIB_GETSOCKNAME GNULIB_GETPEERNAME GNULIB_BIND GNULIB_ACCEPT GNULIB_CONNECT GNULIB_SOCKET GL_GENERATE_BYTESWAP_H_FALSE GL_GENERATE_BYTESWAP_H_TRUE BYTESWAP_H HAVE_ALLOCA_H GL_GENERATE_ALLOCA_H_FALSE GL_GENERATE_ALLOCA_H_TRUE ALLOCA_H ALLOCA GL_COND_LIBTOOL_FALSE GL_COND_LIBTOOL_TRUE OBSOLETE_FALSE OBSOLETE_TRUE SERVER_FALSE SERVER_TRUE CLIENT_FALSE CLIENT_TRUE LIBIDN_PREFIX LTLIBIDN LIBIDN HAVE_LIBIDN KERBEROS_V5_FALSE KERBEROS_V5_TRUE LIBSHISHI_PREFIX LTLIBSHISHI LIBSHISHI HAVE_LIBSHISHI GSS_LIBS GSS_CFLAGS KRB5_CONFIG LIBGSSAPI32_PREFIX LTLIBGSSAPI32 LIBGSSAPI32 HAVE_LIBGSSAPI32 LIBGSS_PREFIX LTLIBGSS LIBGSS HAVE_LIBGSS OPENID20_FALSE OPENID20_TRUE SAML20_FALSE SAML20_TRUE SCRAM_FALSE SCRAM_TRUE DIGEST_MD5_FALSE DIGEST_MD5_TRUE CRAM_MD5_FALSE CRAM_MD5_TRUE NTLM_FALSE NTLM_TRUE LIBNTLM_PREFIX LTLIBNTLM LIBNTLM HAVE_LIBNTLM SECURID_FALSE SECURID_TRUE LOGIN_FALSE LOGIN_TRUE PLAIN_FALSE PLAIN_TRUE EXTERNAL_FALSE EXTERNAL_TRUE ANONYMOUS_FALSE ANONYMOUS_TRUE POSUB LTLIBINTL LIBINTL INTLLIBS LTLIBICONV LIBICONV INTL_MACOSX_LIBS XGETTEXT_EXTRA_OPTIONS MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS LT_SYS_LIBRARY_PATH OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP SED LIBTOOL OBJDUMP DLLTOOL AS host_os host_vendor host_cpu host build_os build_vendor build_cpu build RANLIB ARFLAGS ac_ct_AR AR EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM DLL_VERSION LT_AGE LT_REVISION LT_CURRENT target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL am__quote' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_largefile enable_threads enable_shared enable_static with_pic enable_fast_install with_aix_soname with_gnu_ld with_sysroot enable_libtool_lock enable_nls enable_rpath with_libiconv_prefix with_libintl_prefix enable_anonymous enable_external enable_plain enable_login enable_securid enable_ntlm with_libntlm_prefix enable_cram_md5 enable_digest_md5 enable_scram_sha1 enable_saml20 enable_openid20 enable_gs2 enable_gssapi with_gssapi_impl with_libgss_prefix with_libgssapi32_prefix enable_kerberos_v5 with_libshishi_prefix with_stringprep with_libidn_prefix enable_client enable_server enable_obsolete with_linux_crypto with_libgcrypt with_libgcrypt_prefix with_openssl enable_random_device enable_pseudo_random_device enable_nonce_device enable_ld_version_script enable_valgrind_tests ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP LT_SYS_LIBRARY_PATH' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures libgsasl 1.8.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/libgsasl] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of libgsasl 1.8.1:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-largefile omit support for large files --enable-threads={posix|windows} specify multithreading API --disable-threads build without multithread safety --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths --disable-anonymous don't use the ANONYMOUS mechanism --disable-external don't use the EXTERNAL mechanism --disable-plain don't use the PLAIN mechanism --disable-login don't use the LOGIN mechanism --disable-securid don't use the SECURID mechanism --disable-ntlm don't use the NTLM mechanism --disable-cram-md5 don't use the CRAM-MD5 mechanism --disable-digest-md5 don't use the DIGEST-MD5 mechanism --enable-scram-sha1 use the SCRAM-SHA-1 mechanism --disable-saml20 don't use the SAML20 mechanism --disable-openid20 don't use the OPENID20 mechanism --disable-gs2 don't use the GS2 mechanism --disable-gssapi don't use the GSSAPI mechanism --enable-kerberos_v5 use the KERBEROS_V5 mechanism --disable-client disable client code --disable-server disable server code --disable-obsolete disable backwards compatibility code --enable-random-device device with (strong) randomness (for Nettle) --enable-pseudo-random-device device with pseudo randomness (for Nettle) --enable-nonce-device device with unpredictable nonces (for Nettle) --enable-ld-version-script enable linker version script (default is enabled when possible) --disable-valgrind-tests don't try to run self tests under valgrind Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir --with-libntlm-prefix[=DIR] search for libntlm in DIR/include and DIR/lib --without-libntlm-prefix don't search for libntlm in includedir and libdir --with-gssapi-impl=no/gss/kfw/mit/heimdal/yes select GSS-API implementation --with-libgss-prefix[=DIR] search for libgss in DIR/include and DIR/lib --without-libgss-prefix don't search for libgss in includedir and libdir --with-libgssapi32-prefix[=DIR] search for libgssapi32 in DIR/include and DIR/lib --without-libgssapi32-prefix don't search for libgssapi32 in includedir and libdir --with-libshishi-prefix[=DIR] search for libshishi in DIR/include and DIR/lib --without-libshishi-prefix don't search for libshishi in includedir and libdir --without-stringprep disable non-ASCII support --with-libidn-prefix[=DIR] search for libidn in DIR/include and DIR/lib --without-libidn-prefix don't search for libidn in includedir and libdir --with-linux-crypto use Linux kernel cryptographic API (if available) --with-libgcrypt use libgcrypt for low-level crypto --with-libgcrypt-prefix=PFX prefix where LIBGCRYPT is installed (optional) --with-libgcrypt-prefix[=DIR] search for libgcrypt in DIR/include and DIR/lib --without-libgcrypt-prefix don't search for libgcrypt in includedir and libdir --with-openssl use libcrypto hash routines. Valid ARGs are: 'yes', 'no', 'auto' => use if available, 'optional' => use if available and warn if not available; default is 'no'. Note also --with-linux-crypto, which will enable use of kernel crypto routines, which have precedence Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor LT_SYS_LIBRARY_PATH User-defined run-time library search path. Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF libgsasl configure 1.8.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## -------------------------------- ## ## Report this to bug-gsasl@gnu.org ## ## -------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES # ---------------------------------------------------- # Tries to find if the field MEMBER exists in type AGGR, after including # INCLUDES, setting cache variable VAR accordingly. ac_fn_c_check_member () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } if eval \${$4+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$4=yes" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (sizeof ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$4=yes" else eval "$4=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_member # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes # INCLUDES, setting VAR accordingly. Returns whether the value could be # computed ac_fn_c_compute_int () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid; break else as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=$ac_mid; break else as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else ac_lo= ac_hi= fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid else as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; '') ac_retval=1 ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 static long int longval () { return $2; } static unsigned long int ulongval () { return $2; } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : echo >>conftest.val; read $3 &5 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_decl cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libgsasl $as_me 1.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi gt_needs="$gt_needs " as_fn_append ac_header_list " sys/socket.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_func_list " fpurge" as_fn_append ac_func_list " __fpurge" as_fn_append ac_func_list " __freading" as_fn_append ac_header_list " sys/stat.h" as_fn_append ac_func_list " getdelim" as_fn_append ac_header_list " limits.h" as_fn_append ac_header_list " sys/mman.h" as_fn_append ac_func_list " mprotect" as_fn_append ac_func_list " _set_invalid_parameter_handler" as_fn_append ac_header_list " sys/param.h" as_fn_append ac_header_list " sys/time.h" as_fn_append ac_header_list " wchar.h" as_fn_append ac_header_list " stdint.h" as_fn_append ac_func_list " strndup" as_fn_append ac_header_list " sys/uio.h" as_fn_append ac_func_list " vasnprintf" as_fn_append ac_header_list " features.h" as_fn_append ac_func_list " snprintf" as_fn_append ac_header_list " crtdefs.h" as_fn_append ac_header_list " arpa/inet.h" as_fn_append ac_func_list " fcntl" as_fn_append ac_func_list " symlink" as_fn_append ac_func_list " ftruncate" as_fn_append ac_func_list " getdtablesize" as_fn_append ac_func_list " getrusage" as_fn_append ac_func_list " gettimeofday" as_fn_append ac_header_list " netdb.h" as_fn_append ac_header_list " netinet/in.h" as_fn_append ac_header_list " inttypes.h" as_fn_append ac_func_list " isblank" as_fn_append ac_header_list " threads.h" as_fn_append ac_header_list " semaphore.h" as_fn_append ac_func_list " lstat" as_fn_append ac_header_list " sys/select.h" as_fn_append ac_func_list " strerror_r" as_fn_append ac_func_list " __xpg_strerror_r" as_fn_append ac_func_list " pipe" as_fn_append ac_header_list " pthread.h" as_fn_append ac_func_list " pthread_sigmask" as_fn_append ac_header_list " sys/cdefs.h" as_fn_append ac_header_list " sys/wait.h" as_fn_append ac_func_list " sigaction" as_fn_append ac_func_list " sigaltstack" as_fn_append ac_func_list " siginterrupt" as_fn_append ac_func_list " sleep" as_fn_append ac_func_list " catgets" as_fn_append ac_header_list " sys/ioctl.h" as_fn_append ac_header_list " sys/resource.h" as_fn_append ac_func_list " shutdown" as_fn_append ac_func_list " usleep" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in build-aux "$srcdir"/build-aux; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Library code modified: REVISION++ # Interfaces changed/added/removed: CURRENT++ REVISION=0 # Interfaces added: AGE++ # Interfaces removed: AGE=0 LT_CURRENT=16 LT_REVISION=7 LT_AGE=9 # Used when creating libgsasl-XX.def. DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}` am__api_version='1.16' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='libgsasl' VERSION='1.8.1' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' ac_config_headers="$ac_config_headers config.h" # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. set dummy ${ac_tool_prefix}clang; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}clang" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "clang", so it can be a program name with args. set dummy clang; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="clang" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion -version; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 $as_echo_n "checking for $CC option to enable C11 features... " >&6; } if ${ac_cv_prog_cc_c11+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static bool test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = ""; int number = 0; float fnumber = 0; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); return *str && number && fnumber; } // Check _Alignas. char _Alignas (double) aligned_as_double; char _Alignas (0) no_special_alignment; extern char aligned_as_int; char _Alignas (0) _Alignas (int) aligned_as_int; // Check _Alignof. enum { int_alignment = _Alignof (int), int_array_alignment = _Alignof (int[100]), char_alignment = _Alignof (char) }; _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); // Check _Noreturn. int _Noreturn does_not_return (void) { for (;;) continue; } // Check _Static_assert. struct test_static_assert { int x; _Static_assert (sizeof (int) <= sizeof (long int), "_Static_assert does not work in struct"); long int y; }; // Check UTF-8 literals. #define u8 syntax error! char const utf8_literal[] = u8"happens to be ASCII" "another string"; // Check duplicate typedefs. typedef long *long_ptr; typedef long int *long_ptr; typedef long_ptr long_ptr; // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. struct anonymous { union { struct { int i; int j; }; struct { int k; long int l; } w; }; int m; } v1; int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); v1.i = 2; v1.w.k = 5; _Static_assert ((offsetof (struct anonymous, i) == offsetof (struct anonymous, w.k)), "Anonymous union alignment botch"); ; return 0; } _ACEOF for ac_arg in '' -std=gnu11 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c11=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c11" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL ac_prog_cc_stdc_options= case "x$ac_cv_prog_cc_c11" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c11" CC=$CC$ac_prog_cc_stdc_options { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 $as_echo "$ac_cv_prog_cc_c11" >&6; } ;; esac if test "x$ac_cv_prog_cc_c11" != xno; then : ac_prog_cc_stdc=c11 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 $as_echo_n "checking for $CC option to enable C99 features... " >&6; } if ${ac_cv_prog_cc_c99+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static bool test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = ""; int number = 0; float fnumber = 0; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); return *str && number && fnumber; } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; } _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL ac_prog_cc_stdc_options= case "x$ac_cv_prog_cc_c99" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c99" CC=$CC$ac_prog_cc_stdc_options { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; esac if test "x$ac_cv_prog_cc_c99" != xno; then : ac_prog_cc_stdc=c99 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 $as_echo_n "checking for $CC option to enable C89 features... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL ac_prog_cc_stdc_options= case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c89" CC=$CC$ac_prog_cc_stdc_options { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : ac_prog_cc_stdc=c89 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 else ac_prog_cc_stdc=no ac_cv_prog_cc_stdc=no fi fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } case $?:`cat confinc.out 2>/dev/null` in #( '0:this is the am__doit target') : case $s in #( BSD) : am__include='.include' am__quote='"' ;; #( *) : am__include='include' am__quote='' ;; esac ;; #( *) : ;; esac if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 $as_echo "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= fi if test "$MINIX" = yes; then $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h $as_echo "#define _ALL_SOURCE 1" >>confdefs.h $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h $as_echo "#define _OPENBSD_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 $as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; } if ${ac_cv_should_define__xopen_source+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_should_define__xopen_source=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include mbstate_t x; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE 500 #include mbstate_t x; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_should_define__xopen_source=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 $as_echo "$ac_cv_should_define__xopen_source" >&6; } test $ac_cv_should_define__xopen_source = yes && $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h $as_echo "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; } if ${gl_cv_c_amsterdam_compiler+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ACK__ Amsterdam #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Amsterdam" >/dev/null 2>&1; then : gl_cv_c_amsterdam_compiler=yes else gl_cv_c_amsterdam_compiler=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; } if test $gl_cv_c_amsterdam_compiler = yes; then if test -z "$AR"; then AR='cc -c.a' fi if test -z "$ARFLAGS"; then ARFLAGS='-o' fi else if test -n "$ac_tool_prefix"; then for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 $as_echo_n "checking the archiver ($AR) interface... " >&6; } if ${am_cv_ar_interface+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am_cv_ar_interface=ar cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int some_variable = 0; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 $as_echo "$am_cv_ar_interface" >&6; } case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) as_fn_error $? "could not determine $AR interface" "$LINENO" 5 ;; esac fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="ar" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi if test -z "$ARFLAGS"; then ARFLAGS='cr' fi if test -z "$RANLIB"; then if test $gl_cv_c_amsterdam_compiler = yes; then RANLIB=':' else if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } if ${ac_cv_sys_largefile_source+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for off_t */ #include int main () { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_sys_largefile_source=no; break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGEFILE_SOURCE 1 #include /* for off_t */ #include int main () { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_sys_largefile_source=1; break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_cv_sys_largefile_source=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 $as_echo "$ac_cv_sys_largefile_source" >&6; } case $ac_cv_sys_largefile_source in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source _ACEOF ;; esac rm -rf conftest* # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug # in glibc 2.1.3, but that breaks too many other things. # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. if test $ac_cv_sys_largefile_source != unknown; then $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h fi # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # IEEE behaviour is the default on all CPUs except Alpha and SH # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 # and the GCC 4.1.2 manual). case "$host_cpu" in alpha*) # On Alpha systems, a compiler option provides the behaviour. # See the ieee(3) manual page, also available at # if test -n "$GCC"; then # GCC has the option -mieee. # For full IEEE compliance (rarely needed), use option -mieee-with-inexact. CPPFLAGS="$CPPFLAGS -mieee" else # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact. # For full IEEE compliance (rarely needed), use option -ieee_with_inexact. CPPFLAGS="$CPPFLAGS -ieee" fi ;; sh*) if test -n "$GCC"; then # GCC has the option -mieee. CPPFLAGS="$CPPFLAGS -mieee" fi ;; esac # Check whether --enable-largefile was given. if test "${enable_largefile+set}" = set; then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } if ${ac_cv_sys_largefile_CC+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : break fi rm -f core conftest.err conftest.$ac_objext CC="$CC -n32" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_largefile_CC=' -n32'; break fi rm -f core conftest.err conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 $as_echo "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } if ${ac_cv_sys_file_offset_bits+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=64; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits _ACEOF ;; esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } if ${ac_cv_sys_large_files+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=1; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 $as_echo "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _LARGE_FILES $ac_cv_sys_large_files _ACEOF ;; esac rm -rf conftest* fi $as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h fi # Check whether --enable-threads was given. if test "${enable_threads+set}" = set; then : enableval=$enable_threads; gl_use_threads=$enableval else if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else case "$host_os" in osf*) gl_use_threads=no ;; cygwin*) case `uname -r` in 1.[0-5].*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac ;; mingw*) case "$gl_use_winpthreads_default" in yes) gl_use_threads=posix ;; no) gl_use_threads=windows ;; *) gl_use_threads=yes ;; esac ;; *) gl_use_threads=yes ;; esac fi fi if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # For using : case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_LINK_IFELSE test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac fi # Pre-early section. # Code from module absolute-header: # Code from module accept: # Code from module accept-tests: # Code from module alloca: # Code from module alloca-opt: # Code from module alloca-opt-tests: # Code from module arpa_inet: # Code from module arpa_inet-tests: # Code from module base64: # Code from module base64-tests: # Code from module binary-io: # Code from module binary-io-tests: # Code from module bind: # Code from module bind-tests: # Code from module builtin-expect: # Code from module byteswap: # Code from module byteswap-tests: # Code from module c-ctype: # Code from module c-ctype-tests: # Code from module c99: # Code from module cloexec: # Code from module cloexec-tests: # Code from module close: # Code from module close-tests: # Code from module connect: # Code from module connect-tests: # Code from module crypto/af_alg: # Code from module crypto/gc: # Code from module crypto/gc-hmac-md5: # Code from module crypto/gc-hmac-md5-tests: # Code from module crypto/gc-hmac-sha1: # Code from module crypto/gc-hmac-sha1-tests: # Code from module crypto/gc-md5: # Code from module crypto/gc-md5-tests: # Code from module crypto/gc-pbkdf2-sha1: # Code from module crypto/gc-pbkdf2-sha1-tests: # Code from module crypto/gc-random: # Code from module crypto/gc-sha1: # Code from module crypto/gc-sha1-tests: # Code from module crypto/gc-tests: # Code from module crypto/hmac-md5: # Code from module crypto/hmac-md5-tests: # Code from module crypto/hmac-sha1: # Code from module crypto/hmac-sha1-tests: # Code from module crypto/md5: # Code from module crypto/md5-buffer: # Code from module crypto/md5-tests: # Code from module crypto/sha1: # Code from module crypto/sha1-buffer: # Code from module crypto/sha1-tests: # Code from module ctype: # Code from module ctype-tests: # Code from module dosname: # Code from module dup2: # Code from module dup2-tests: # Code from module environ: # Code from module environ-tests: # Code from module errno: # Code from module errno-tests: # Code from module extensions: # Code from module extern-inline: # Code from module fcntl: # Code from module fcntl-h: # Code from module fcntl-h-tests: # Code from module fcntl-tests: # Code from module fd-hook: # Code from module fdopen: # Code from module fdopen-tests: # Code from module fflush: # Code from module fflush-tests: # Code from module fgetc-tests: # Code from module filename: # Code from module float: # Code from module float-tests: # Code from module fpieee: # Code from module fpucw: # Code from module fpurge: # Code from module fpurge-tests: # Code from module fputc-tests: # Code from module fread-tests: # Code from module freading: # Code from module freading-tests: # Code from module fseek: # Code from module fseek-tests: # Code from module fseeko: # Code from module fseeko-tests: # Code from module fstat: # Code from module fstat-tests: # Code from module ftell: # Code from module ftell-tests: # Code from module ftello: # Code from module ftello-tests: # Code from module ftruncate: # Code from module ftruncate-tests: # Code from module fwrite-tests: # Code from module getcwd-lgpl: # Code from module getcwd-lgpl-tests: # Code from module getdelim: # Code from module getdelim-tests: # Code from module getdtablesize: # Code from module getdtablesize-tests: # Code from module getline: # Code from module getline-tests: # Code from module getpagesize: # Code from module getrusage: # Code from module getrusage-tests: # Code from module gettext-h: # Code from module gettimeofday: # Code from module gettimeofday-tests: # Code from module gnumakefile: # Code from module gss-extra: # Code from module havelib: # Code from module ignore-value: # Code from module ignore-value-tests: # Code from module include_next: # Code from module inet_pton: # Code from module inet_pton-tests: # Code from module intprops: # Code from module intprops-tests: # Code from module inttypes: # Code from module inttypes-incomplete: # Code from module inttypes-tests: # Code from module ioctl: # Code from module ioctl-tests: # Code from module isblank: # Code from module isblank-tests: # Code from module largefile: # Code from module lib-msvc-compat: # Code from module lib-symbol-versions: # Code from module lib-symbol-visibility: # Code from module libc-config: # Code from module limits-h: # Code from module limits-h-tests: # Code from module listen: # Code from module listen-tests: # Code from module localtime-buffer: # Code from module lock: # Code from module lock-tests: # Code from module lseek: # Code from module lseek-tests: # Code from module lstat: # Code from module lstat-tests: # Code from module maintainer-makefile: # Code from module malloc-posix: # Code from module malloca: # Code from module malloca-tests: # Code from module memchr: # Code from module memchr-tests: # Code from module memmem: # Code from module memmem-simple: # Code from module memmem-tests: # Code from module memxor: # Code from module minmax: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: # Code from module nanosleep: # Code from module nanosleep-tests: # Code from module netinet_in: # Code from module netinet_in-tests: # Code from module open: # Code from module open-tests: # Code from module pathmax: # Code from module pathmax-tests: # Code from module perror: # Code from module perror-tests: # Code from module pipe-posix: # Code from module pipe-posix-tests: # Code from module pthread-h: $as_echo "#define _REENTRANT 1" >>confdefs.h $as_echo "#define _THREAD_SAFE 1" >>confdefs.h # Code from module pthread-h-tests: # Code from module pthread-thread: # Code from module pthread-thread-tests: # Code from module pthread_sigmask: # Code from module pthread_sigmask-tests: # Code from module putenv: # Code from module raise: # Code from module raise-tests: # Code from module same-inode: # Code from module sched: # Code from module sched-tests: # Code from module select: # Code from module select-tests: # Code from module setsockopt: # Code from module setsockopt-tests: # Code from module sigaction: # Code from module sigaction-tests: # Code from module signal-h: # Code from module signal-h-tests: # Code from module sigprocmask: # Code from module sigprocmask-tests: # Code from module size_max: # Code from module sleep: # Code from module sleep-tests: # Code from module snippet/_Noreturn: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/unused-parameter: # Code from module snippet/warn-on-use: # Code from module socket: # Code from module socketlib: # Code from module sockets: # Code from module sockets-tests: # Code from module socklen: # Code from module ssize_t: # Code from module stat: # Code from module stat-tests: # Code from module stat-time: # Code from module stat-time-tests: # Code from module std-gnu11: # Code from module stdalign: # Code from module stdalign-tests: # Code from module stdbool: # Code from module stdbool-tests: # Code from module stddef: # Code from module stddef-tests: # Code from module stdint: # Code from module stdint-tests: # Code from module stdio: # Code from module stdio-tests: # Code from module stdlib: # Code from module stdlib-tests: # Code from module strerror: # Code from module strerror-override: # Code from module strerror-tests: # Code from module strerror_r-posix: # Code from module strerror_r-posix-tests: # Code from module string: # Code from module string-tests: # Code from module strndup: # Code from module strnlen: # Code from module strnlen-tests: # Code from module strverscmp: # Code from module strverscmp-tests: # Code from module symlink: # Code from module symlink-tests: # Code from module sys_ioctl: # Code from module sys_ioctl-tests: # Code from module sys_resource: # Code from module sys_resource-tests: # Code from module sys_select: # Code from module sys_select-tests: # Code from module sys_socket: # Code from module sys_socket-tests: # Code from module sys_stat: # Code from module sys_stat-tests: # Code from module sys_time: # Code from module sys_time-tests: # Code from module sys_types: # Code from module sys_types-tests: # Code from module sys_uio: # Code from module sys_uio-tests: # Code from module test-framework-sh: # Code from module test-framework-sh-tests: # Code from module thread: # Code from module thread-tests: # Code from module threadlib: # Code from module time: # Code from module time-tests: # Code from module unistd: # Code from module unistd-tests: # Code from module unsetenv: # Code from module unsetenv-tests: # Code from module useless-if-before-free: # Code from module usleep: # Code from module usleep-tests: # Code from module valgrind-tests: # Code from module vasnprintf: # Code from module vasnprintf-tests: # Code from module vasprintf: # Code from module vasprintf-tests: # Code from module vc-list-files: # Code from module verify: # Code from module verify-tests: # Code from module wchar: # Code from module wchar-tests: # Code from module windows-mutex: # Code from module windows-once: # Code from module windows-recmutex: # Code from module windows-rwlock: # Code from module windows-thread: # Code from module windows-tls: # Code from module xalloc-oversized: # Code from module xsize: # Code from module yield: if test -n "$ac_tool_prefix"; then for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 $as_echo_n "checking the archiver ($AR) interface... " >&6; } if ${am_cv_ar_interface+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am_cv_ar_interface=ar cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int some_variable = 0; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 $as_echo "$am_cv_ar_interface" >&6; } case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) as_fn_error $? "could not determine $AR interface" "$LINENO" 5 ;; esac enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AS+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AS="${ac_tool_prefix}as" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AS=$ac_cv_prog_AS if test -n "$AS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 $as_echo "$AS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_AS"; then ac_ct_AS=$AS # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AS+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AS"; then ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AS="as" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AS=$ac_cv_prog_ac_ct_AS if test -n "$ac_ct_AS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 $as_echo "$ac_ct_AS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_AS" = x; then AS="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AS=$ac_ct_AS fi else AS="$ac_cv_prog_AS" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi ;; esac test -z "$AS" && AS=as test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$OBJDUMP" && OBJDUMP=objdump case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.6' macro_revision='2.4.6' ltmain=$ac_aux_dir/ltmain.sh # 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' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # 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*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else 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 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } 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 if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi if test -n "$lt_cv_sys_max_cmd_len"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #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 fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi ;; darwin*) if test yes = "$GCC"; then reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } 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 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # 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 # 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 # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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" >&5 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && 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_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_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_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_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && 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" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 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 fi 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi 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|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 $as_echo "$with_sysroot" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 $as_echo_n "checking for a working dd... " >&6; } if ${ac_cv_path_lt_DD+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then ac_path_lt_DD_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in dd; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue 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 $ac_path_lt_DD_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_lt_DD"; then : fi else ac_cv_path_lt_DD=$lt_DD fi rm -f conftest.i conftest2.i conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 $as_echo "$ac_cv_path_lt_DD" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 $as_echo_n "checking how to truncate binary pipes... " >&6; } if ${lt_cv_truncate_bin+:} false; then : $as_echo_n "(cached) " >&6 else 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" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 $as_echo "$lt_cv_truncate_bin" >&6; } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; 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-%%"` } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else 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" >&5 $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 >&5 # 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 >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else 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" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $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 >&5 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 >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } 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[91]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[012][,.]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _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 # 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$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options enable_dlopen=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; 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 else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; 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 else enable_static=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac else pic_mode=default fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; 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 else enable_fast_install=yes fi shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. if test "${with_aix_soname+set}" = set; then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 ;; esac lt_cv_with_aix_soname=$with_aix_soname else if ${lt_cv_with_aix_soname+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 $as_echo "$with_aix_soname" >&6; } 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 # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF 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 func_cc_basename $compiler cc_basename=$func_cc_basename_result # 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else 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 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/${ac_tool_prefix}file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 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 fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else 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 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"file" 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 fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC=$CC ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$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);}' # 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 # 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 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* 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* ## 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_prog_compiler_no_builtin_flag= if test yes = "$GCC"; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" ## 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\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test yes = "$GCC"; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi lt_prog_compiler_pic='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-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_prog_compiler_pic='-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 lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; 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_prog_compiler_pic='-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_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-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). lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-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_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-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_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## 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\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works"; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 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>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test yes = "$lt_cv_prog_compiler_static_works"; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=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\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $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* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=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\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $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* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test no = "$hard_links"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an 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'. exclude_expsyms='_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. 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*) link_all_deplibs=no ;; esac ld_shlibs=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 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='$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 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else whole_archive_flag_spec= 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 ld_shlibs=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 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='$wl--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+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 archive_cmds='$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... archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $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 ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' link_all_deplibs=yes ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$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' archive_expsym_cmds='$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' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$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. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='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 whole_archive_flag_spec='$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 whole_archive_flag_spec='$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 whole_archive_flag_spec= 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 whole_archive_flag_spec='$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' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='$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' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='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*) export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='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 ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$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 ld_shlibs=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 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=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 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test no = "$ld_shlibs"; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=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 export_symbols_cmds='$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 export_symbols_cmds='`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. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='$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. hardcode_direct=no hardcode_direct_absolute=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 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' 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 export_dynamic_flag_spec='$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. always_export_symbols=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. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`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_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $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. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`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_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$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. no_undefined_flag=' $wl-bernotok' allow_undefined_flag=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes archive_expsym_cmds='$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. archive_expsym_cmds="$archive_expsym_cmds"'~$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 archive_expsym_cmds="$archive_expsym_cmds"'~$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 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-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 hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # 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. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $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, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='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 hardcode_libdir_flag_spec=' ' allow_undefined_flag=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. archive_cmds='$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. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test yes = "$lt_cv_ld_force_load"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag=$_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 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" archive_expsym_cmds="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" module_expsym_cmds="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" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test yes = "$GCC"; then archive_cmds='$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 archive_cmds='$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 hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$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*) archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # 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) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" 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>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test yes = "$lt_cv_prog_compiler__b"; then archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then archive_cmds='$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. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$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 link_all_deplibs=no else archive_cmds='$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' archive_expsym_cmds='$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 archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' else archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='$wl-rpath,$libdir' fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$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' archive_expsym_cmds='$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' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; osf3*) if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$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 archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$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' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$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' archive_expsym_cmds='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 hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then wlarc='$wl' archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='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='' archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='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 hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=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 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=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. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='$wl-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$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. no_undefined_flag='$wl-z,text' allow_undefined_flag='$wl-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='$wl-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test no = "$ld_shlibs" && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test yes,yes = "$GCC,$enable_shared"; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } 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 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' 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`' 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. hardcode_libdir_flag_spec='-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 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test yes = "$hardcode_automatic"; then # We can hardcode non-existent directories. if test no != "$hardcode_direct" && # 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, )" && test no != "$hardcode_minus_L"; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test relink = "$hardcode_action" || test yes = "$inherit_rpath"; 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 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; 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_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen=shl_load else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen=dlopen else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi fi fi fi fi fi ;; 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" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross 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 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } 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 striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 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" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } 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" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report what library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC ac_config_commands="$ac_config_commands libtool" # Only expand once: # Internationalization. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } GETTEXT_MACRO_VERSION=0.19 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 $as_echo_n "checking for ld... " >&6; } elif test "$GCC" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if test -n "$LD"; then # Let the user override the test with a path. : else if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 conftest.$ac_ext /* end confdefs.h. */ #if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # The compiler produces 64-bit code. Add option '-b64' so that the # linker groks 64-bit object files. case "$acl_cv_path_LD " in *" -b64 "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; sparc64-*-netbsd*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else # The compiler produces 32-bit code. Add option '-m elf32_sparc' # so that the linker groks 32-bit object files. case "$acl_cv_path_LD " in *" -m elf32_sparc "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac fi LD="$acl_cv_path_LD" fi if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 $as_echo_n "checking 32-bit host C ABI... " >&6; } if ${gl_cv_host_cpu_c_abi_32bit+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$gl_cv_host_cpu_c_abi"; then case "$gl_cv_host_cpu_c_abi" in i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) gl_cv_host_cpu_c_abi_32bit=yes ;; *) gl_cv_host_cpu_c_abi_32bit=no ;; esac else case "$host_cpu" in i[4567]86 ) gl_cv_host_cpu_c_abi_32bit=yes ;; x86_64 ) # On x86_64 systems, the C compiler may be generating code in one of # these ABIs: # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 # with native Windows (mingw, MSVC). # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if (defined __x86_64__ || defined __amd64__ \ || defined _M_X64 || defined _M_AMD64) \ && !(defined __ILP32__ || defined _ILP32) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; arm* | aarch64 ) # Assume arm with EABI. # On arm64 systems, the C compiler may be generating code in one of # these ABIs: # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) # On hppa, the C compiler may be generating 32-bit code or 64-bit # code. In the latter case, it defines _LP64 and __LP64__. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __LP64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; ia64* ) # On ia64 on HP-UX, the C compiler may be generating 64-bit code or # 32-bit code. In the latter case, it defines _ILP32. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _ILP32 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=yes else gl_cv_host_cpu_c_abi_32bit=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; mips* ) # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this # at 32. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; powerpc* ) # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. # No need to distinguish them here; the caller may distinguish # them based on the OS. # On powerpc64 systems, the C compiler may still be generating # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may # be generating 64-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; rs6000 ) gl_cv_host_cpu_c_abi_32bit=yes ;; riscv32 | riscv64 ) # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. # Size of 'long' and 'void *': cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __s390x__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; sparc | sparc64 ) # UltraSPARCs running Linux have `uname -m` = "sparc64", but the # C compiler still generates 32-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; *) gl_cv_host_cpu_c_abi_32bit=no ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; } HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" case "$host_os" in solaris*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } if ${gl_cv_solaris_64bit+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _LP64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_solaris_64bit=yes else gl_cv_solaris_64bit=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; };; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5 $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; } if ${acl_cv_libdirstems+:} false; then : $as_echo_n "(cached) " >&6 else acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) if test "$HOST_CPU_C_ABI_32BIT" != yes; then searchpath=`(if test -f /usr/bin/gcc \ && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \ LC_ALL=C /usr/bin/gcc -print-search-dirs; \ else \ LC_ALL=C $CC -print-search-dirs; \ fi) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 $as_echo "$acl_cv_libdirstems" >&6; } # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2. acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'` use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBICONV= LTLIBICONV= INCICONV= LIBICONV_PREFIX= HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFPreferencesCopyAppValue=yes else gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFLocaleCopyCurrent(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyCurrent=yes else gt_cv_func_CFLocaleCopyCurrent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi LIBINTL= LTLIBINTL= POSUB= case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 $as_echo_n "checking for GNU gettext in libc... " >&6; } if eval \${$gt_func_gnugettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libc=yes" else eval "$gt_func_gnugettext_libc=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi if test "$cross_compiling" = yes; then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static const char input[] = "\263"; char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; const char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) result |= 16; return result; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes else am_cv_func_iconv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 $as_echo "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBINTL= LTLIBINTL= INCINTL= LIBINTL_PREFIX= HAVE_LIBINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 $as_echo_n "checking for GNU gettext in libintl... " >&6; } if eval \${$gt_func_gnugettext_libintl+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libintl=yes" else eval "$gt_func_gnugettext_libintl=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 $as_echo_n "checking whether to use NLS... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 $as_echo_n "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 $as_echo "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 $as_echo_n "checking how to link with libintl... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 $as_echo "$LIBINTL" >&6; } for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h fi POSUB=po fi INTLLIBS="$LIBINTL" # ANONYMOUS # Check whether --enable-anonymous was given. if test "${enable_anonymous+set}" = set; then : enableval=$enable_anonymous; anonymous=$enableval fi if test "$anonymous" != "no" ; then anonymous=yes $as_echo "#define USE_ANONYMOUS 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ANONYMOUS should be used" >&5 $as_echo_n "checking if ANONYMOUS should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $anonymous" >&5 $as_echo "$anonymous" >&6; } if test x$anonymous = xyes; then ANONYMOUS_TRUE= ANONYMOUS_FALSE='#' else ANONYMOUS_TRUE='#' ANONYMOUS_FALSE= fi # EXTERNAL # Check whether --enable-external was given. if test "${enable_external+set}" = set; then : enableval=$enable_external; external=$enableval fi if test "$external" != "no" ; then external=yes $as_echo "#define USE_EXTERNAL 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if EXTERNAL should be used" >&5 $as_echo_n "checking if EXTERNAL should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $external" >&5 $as_echo "$external" >&6; } if test x$external = xyes; then EXTERNAL_TRUE= EXTERNAL_FALSE='#' else EXTERNAL_TRUE='#' EXTERNAL_FALSE= fi # PLAIN # Check whether --enable-plain was given. if test "${enable_plain+set}" = set; then : enableval=$enable_plain; plain=$enableval fi if test "$plain" != "no" ; then plain=yes $as_echo "#define USE_PLAIN 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PLAIN should be used" >&5 $as_echo_n "checking if PLAIN should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plain" >&5 $as_echo "$plain" >&6; } if test x$plain = xyes; then PLAIN_TRUE= PLAIN_FALSE='#' else PLAIN_TRUE='#' PLAIN_FALSE= fi # LOGIN # Check whether --enable-login was given. if test "${enable_login+set}" = set; then : enableval=$enable_login; login=$enableval fi if test "$login" != "no" ; then login=yes $as_echo "#define USE_LOGIN 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LOGIN should be used" >&5 $as_echo_n "checking if LOGIN should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $login" >&5 $as_echo "$login" >&6; } if test x$login = xyes; then LOGIN_TRUE= LOGIN_FALSE='#' else LOGIN_TRUE='#' LOGIN_FALSE= fi # SECURID # Check whether --enable-securid was given. if test "${enable_securid+set}" = set; then : enableval=$enable_securid; securid=$enableval fi if test "$securid" != "no" ; then securid=yes $as_echo "#define USE_SECURID 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SECURID should be used" >&5 $as_echo_n "checking if SECURID should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $securid" >&5 $as_echo "$securid" >&6; } if test x$securid = xyes; then SECURID_TRUE= SECURID_FALSE='#' else SECURID_TRUE='#' SECURID_FALSE= fi # NTLM # Check whether --enable-ntlm was given. if test "${enable_ntlm+set}" = set; then : enableval=$enable_ntlm; ntlm=$enableval fi if test "$ntlm" != "no"; then use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libntlm-prefix was given. if test "${with_libntlm_prefix+set}" = set; then : withval=$with_libntlm_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBNTLM= LTLIBNTLM= INCNTLM= LIBNTLM_PREFIX= HAVE_LIBNTLM= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='ntlm ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBNTLM="${LTLIBNTLM}${LTLIBNTLM:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBNTLM; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBNTLM="${LTLIBNTLM}${LTLIBNTLM:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBNTLM; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBNTLM="${LIBNTLM}${LIBNTLM:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$found_so" else LIBNTLM="${LIBNTLM}${LIBNTLM:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$found_a" else LIBNTLM="${LIBNTLM}${LIBNTLM:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'ntlm'; then LIBNTLM_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'ntlm'; then LIBNTLM_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCNTLM; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCNTLM="${INCNTLM}${INCNTLM:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBNTLM; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBNTLM="${LIBNTLM}${LIBNTLM:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBNTLM; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBNTLM="${LTLIBNTLM}${LTLIBNTLM:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$dep" LTLIBNTLM="${LTLIBNTLM}${LTLIBNTLM:+ }$dep" ;; esac done fi else LIBNTLM="${LIBNTLM}${LIBNTLM:+ }-l$name" LTLIBNTLM="${LTLIBNTLM}${LTLIBNTLM:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBNTLM="${LIBNTLM}${LIBNTLM:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBNTLM="${LTLIBNTLM}${LTLIBNTLM:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCNTLM; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libntlm" >&5 $as_echo_n "checking for libntlm... " >&6; } if ${ac_cv_libntlm+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBNTLM" in *" -l"*) LIBS="$LIBS $LIBNTLM" ;; *) LIBS="$LIBNTLM $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { buildSmbNtlmAuthRequest_noatsplit (0, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libntlm=yes else ac_cv_libntlm='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libntlm" >&5 $as_echo "$ac_cv_libntlm" >&6; } if test "$ac_cv_libntlm" = yes; then HAVE_LIBNTLM=yes $as_echo "#define HAVE_LIBNTLM 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libntlm" >&5 $as_echo_n "checking how to link with libntlm... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNTLM" >&5 $as_echo "$LIBNTLM" >&6; } else HAVE_LIBNTLM=no CPPFLAGS="$ac_save_CPPFLAGS" LIBNTLM= LTLIBNTLM= LIBNTLM_PREFIX= fi if test "$ac_cv_libntlm" != yes; then ntlm=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libntlm >= 0.3.5 not found, disabling NTLM." >&5 $as_echo "$as_me: WARNING: Libntlm >= 0.3.5 not found, disabling NTLM." >&2;} else ntlm=yes $as_echo "#define USE_NTLM 1" >>confdefs.h fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if NTLM should be used" >&5 $as_echo_n "checking if NTLM should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntlm" >&5 $as_echo "$ntlm" >&6; } if test x$ntlm = xyes; then NTLM_TRUE= NTLM_FALSE='#' else NTLM_TRUE='#' NTLM_FALSE= fi # CRAM-MD5 # Check whether --enable-cram-md5 was given. if test "${enable_cram_md5+set}" = set; then : enableval=$enable_cram_md5; cram_md5=$enableval fi if test "$cram_md5" != "no" ; then cram_md5=yes $as_echo "#define USE_CRAM_MD5 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CRAM-MD5 should be used" >&5 $as_echo_n "checking if CRAM-MD5 should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cram_md5" >&5 $as_echo "$cram_md5" >&6; } if test x$cram_md5 = xyes; then CRAM_MD5_TRUE= CRAM_MD5_FALSE='#' else CRAM_MD5_TRUE='#' CRAM_MD5_FALSE= fi # DIGEST-MD5 # Check whether --enable-digest-md5 was given. if test "${enable_digest_md5+set}" = set; then : enableval=$enable_digest_md5; digest_md5=$enableval fi if test "$digest_md5" != "no" ; then digest_md5=yes $as_echo "#define USE_DIGEST_MD5 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if DIGEST-MD5 should be used" >&5 $as_echo_n "checking if DIGEST-MD5 should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $digest_md5" >&5 $as_echo "$digest_md5" >&6; } if test x$digest_md5 = xyes; then DIGEST_MD5_TRUE= DIGEST_MD5_FALSE='#' else DIGEST_MD5_TRUE='#' DIGEST_MD5_FALSE= fi # SCRAM-SHA-1 # Check whether --enable-scram-sha1 was given. if test "${enable_scram_sha1+set}" = set; then : enableval=$enable_scram_sha1; scram_sha1=$enableval fi if test "$scram_sha1" != "no" ; then scram_sha1=yes $as_echo "#define USE_SCRAM_SHA1 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SCRAM-SHA-1 should be used" >&5 $as_echo_n "checking if SCRAM-SHA-1 should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scram_sha1" >&5 $as_echo "$scram_sha1" >&6; } if test "$scram_sha1" != "no"; then SCRAM_TRUE= SCRAM_FALSE='#' else SCRAM_TRUE='#' SCRAM_FALSE= fi # SAML20 # Check whether --enable-saml20 was given. if test "${enable_saml20+set}" = set; then : enableval=$enable_saml20; saml20=$enableval else saml20=yes fi if test "$saml20" != "no" ; then saml20=yes $as_echo "#define USE_SAML20 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SAML20 should be used" >&5 $as_echo_n "checking if SAML20 should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $saml20" >&5 $as_echo "$saml20" >&6; } if test x$saml20 = xyes; then SAML20_TRUE= SAML20_FALSE='#' else SAML20_TRUE='#' SAML20_FALSE= fi # OPENID20 # Check whether --enable-openid20 was given. if test "${enable_openid20+set}" = set; then : enableval=$enable_openid20; openid20=$enableval else openid20=yes fi if test "$openid20" != "no" ; then openid20=yes $as_echo "#define USE_OPENID20 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OPENID20 should be used" >&5 $as_echo_n "checking if OPENID20 should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $openid20" >&5 $as_echo "$openid20" >&6; } if test x$openid20 = xyes; then OPENID20_TRUE= OPENID20_FALSE='#' else OPENID20_TRUE='#' OPENID20_FALSE= fi # GS2, first part # Check whether --enable-gs2 was given. if test "${enable_gs2+set}" = set; then : enableval=$enable_gs2; gs2=$enableval fi if test "$gs2" != "no" ; then gs2=yes fi # GSSAPI, first part # Check whether --enable-gssapi was given. if test "${enable_gssapi+set}" = set; then : enableval=$enable_gssapi; gssapi=$enableval fi if test "$gssapi" != "no" ; then gssapi=yes fi # GSSAPI. # Check whether --with-gssapi-impl was given. if test "${with_gssapi_impl+set}" = set; then : withval=$with_gssapi_impl; gssapi_impl=$withval else gssapi_impl=yes fi if test "$gs2" = no && test "$gssapi" = no; then gssapi_impl=no else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSS implementation ($gssapi_impl)" >&5 $as_echo "$as_me: checking for GSS implementation ($gssapi_impl)" >&6;} fi if test "$gssapi_impl" = "gss"; then { $as_echo "$as_me:${as_lineno-$LINENO}: trying GSS" >&5 $as_echo "$as_me: trying GSS" >&6;} use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libgss-prefix was given. if test "${with_libgss_prefix+set}" = set; then : withval=$with_libgss_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBGSS= LTLIBGSS= INCGSS= LIBGSS_PREFIX= HAVE_LIBGSS= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='gss ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBGSS="${LIBGSS}${LIBGSS:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBGSS="${LIBGSS}${LIBGSS:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" else LIBGSS="${LIBGSS}${LIBGSS:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_a" else LIBGSS="${LIBGSS}${LIBGSS:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'gss'; then LIBGSS_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'gss'; then LIBGSS_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCGSS="${INCGSS}${INCGSS:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBGSS="${LIBGSS}${LIBGSS:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBGSS="${LIBGSS}${LIBGSS:+ }$dep" LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }$dep" ;; esac done fi else LIBGSS="${LIBGSS}${LIBGSS:+ }-l$name" LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGSS="${LIBGSS}${LIBGSS:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGSS="${LIBGSS}${LIBGSS:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCGSS; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgss" >&5 $as_echo_n "checking for libgss... " >&6; } if ${ac_cv_libgss+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBGSS" in *" -l"*) LIBS="$LIBS $LIBGSS" ;; *) LIBS="$LIBGSS $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if GSS_VERSION_NUMBER < 0x010000 too old version #else gss_check_version (0); #endif ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libgss=yes else ac_cv_libgss='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgss" >&5 $as_echo "$ac_cv_libgss" >&6; } if test "$ac_cv_libgss" = yes; then HAVE_LIBGSS=yes $as_echo "#define HAVE_LIBGSS 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libgss" >&5 $as_echo_n "checking how to link with libgss... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGSS" >&5 $as_echo "$LIBGSS" >&6; } else HAVE_LIBGSS=no CPPFLAGS="$ac_save_CPPFLAGS" LIBGSS= LTLIBGSS= LIBGSS_PREFIX= fi if test "$ac_cv_libgss" != yes; then gssapi_impl=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU GSS not found, disabling GSSAPI." >&5 $as_echo "$as_me: WARNING: GNU GSS not found, disabling GSSAPI." >&2;} fi elif test "$gssapi_impl" = "kfw"; then { $as_echo "$as_me:${as_lineno-$LINENO}: trying MIT Kerberos for Windows GSS-API library" >&5 $as_echo "$as_me: trying MIT Kerberos for Windows GSS-API library" >&6;} use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libgssapi32-prefix was given. if test "${with_libgssapi32_prefix+set}" = set; then : withval=$with_libgssapi32_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBGSSAPI32= LTLIBGSSAPI32= INCGSSAPI32= LIBGSSAPI32_PREFIX= HAVE_LIBGSSAPI32= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='gssapi32 ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBGSSAPI32="${LTLIBGSSAPI32}${LTLIBGSSAPI32:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBGSSAPI32; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBGSSAPI32="${LTLIBGSSAPI32}${LTLIBGSSAPI32:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBGSSAPI32; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$found_so" else LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$found_a" else LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'gssapi32'; then LIBGSSAPI32_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'gssapi32'; then LIBGSSAPI32_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCGSSAPI32; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCGSSAPI32="${INCGSSAPI32}${INCGSSAPI32:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBGSSAPI32; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBGSSAPI32; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBGSSAPI32="${LTLIBGSSAPI32}${LTLIBGSSAPI32:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$dep" LTLIBGSSAPI32="${LTLIBGSSAPI32}${LTLIBGSSAPI32:+ }$dep" ;; esac done fi else LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }-l$name" LTLIBGSSAPI32="${LTLIBGSSAPI32}${LTLIBGSSAPI32:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGSSAPI32="${LIBGSSAPI32}${LIBGSSAPI32:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBGSSAPI32="${LTLIBGSSAPI32}${LTLIBGSSAPI32:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCGSSAPI32; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgssapi32" >&5 $as_echo_n "checking for libgssapi32... " >&6; } if ${ac_cv_libgssapi32+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBGSSAPI32" in *" -l"*) LIBS="$LIBS $LIBGSSAPI32" ;; *) LIBS="$LIBGSSAPI32 $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { gss_release_oid (NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libgssapi32=yes else ac_cv_libgssapi32='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgssapi32" >&5 $as_echo "$ac_cv_libgssapi32" >&6; } if test "$ac_cv_libgssapi32" = yes; then HAVE_LIBGSSAPI32=yes $as_echo "#define HAVE_LIBGSSAPI32 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libgssapi32" >&5 $as_echo_n "checking how to link with libgssapi32... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGSSAPI32" >&5 $as_echo "$LIBGSSAPI32" >&6; } else HAVE_LIBGSSAPI32=no CPPFLAGS="$ac_save_CPPFLAGS" LIBGSSAPI32= LTLIBGSSAPI32= LIBGSSAPI32_PREFIX= fi if test "$ac_cv_libgssapi32" != yes; then gssapi_impl=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MIT Kerberos for Windows not found, disabling GSSAPI." >&5 $as_echo "$as_me: WARNING: MIT Kerberos for Windows not found, disabling GSSAPI." >&2;} fi elif test "$gssapi_impl" = "mit"; then { $as_echo "$as_me:${as_lineno-$LINENO}: trying MIT" >&5 $as_echo "$as_me: trying MIT" >&6;} # Extract the first word of "krb5-config", so it can be a program name with args. set dummy krb5-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_KRB5_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $KRB5_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_KRB5_CONFIG" && ac_cv_path_KRB5_CONFIG="no" ;; esac fi KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG if test -n "$KRB5_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5 $as_echo "$KRB5_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$KRB5_CONFIG" != "no" ; then GSS_CFLAGS="`$KRB5_CONFIG --cflags`" GSS_LIBS="`$KRB5_CONFIG --libs gssapi`" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MIT Kerberos krb5-config not found, disabling GSSAPI" >&5 $as_echo "$as_me: WARNING: MIT Kerberos krb5-config not found, disabling GSSAPI" >&2;} gssapi_impl=no fi elif test "$gssapi_impl" = "heimdal"; then { $as_echo "$as_me:${as_lineno-$LINENO}: trying Heimdal" >&5 $as_echo "$as_me: trying Heimdal" >&6;} # Extract the first word of "krb5-config", so it can be a program name with args. set dummy krb5-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_KRB5_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $KRB5_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_KRB5_CONFIG" && ac_cv_path_KRB5_CONFIG="no" ;; esac fi KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG if test -n "$KRB5_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5 $as_echo "$KRB5_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$KRB5_CONFIG" != "no" ; then GSS_CFLAGS="`$KRB5_CONFIG --cflags`" GSS_LIBS="`$KRB5_CONFIG --libs gssapi`" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Heimdal krb5-config not found, disabling GSSAPI" >&5 $as_echo "$as_me: WARNING: Heimdal krb5-config not found, disabling GSSAPI" >&2;} gssapi_impl=no fi elif test "$gssapi_impl" != "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: auto-detecting GSS/MIT/Heimdal" >&5 $as_echo "$as_me: auto-detecting GSS/MIT/Heimdal" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: use --with-gssapi-impl=IMPL to hard code" >&5 $as_echo "$as_me: use --with-gssapi-impl=IMPL to hard code" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: where IMPL is \`gss', \`mit', or \`heimdal'" >&5 $as_echo "$as_me: where IMPL is \`gss', \`mit', or \`heimdal'" >&6;} use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libgss-prefix was given. if test "${with_libgss_prefix+set}" = set; then : withval=$with_libgss_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBGSS= LTLIBGSS= INCGSS= LIBGSS_PREFIX= HAVE_LIBGSS= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='gss ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBGSS="${LIBGSS}${LIBGSS:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBGSS="${LIBGSS}${LIBGSS:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_so" else LIBGSS="${LIBGSS}${LIBGSS:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBGSS="${LIBGSS}${LIBGSS:+ }$found_a" else LIBGSS="${LIBGSS}${LIBGSS:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'gss'; then LIBGSS_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'gss'; then LIBGSS_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCGSS="${INCGSS}${INCGSS:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBGSS="${LIBGSS}${LIBGSS:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBGSS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBGSS="${LIBGSS}${LIBGSS:+ }$dep" LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }$dep" ;; esac done fi else LIBGSS="${LIBGSS}${LIBGSS:+ }-l$name" LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGSS="${LIBGSS}${LIBGSS:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGSS="${LIBGSS}${LIBGSS:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBGSS="${LTLIBGSS}${LTLIBGSS:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCGSS; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgss" >&5 $as_echo_n "checking for libgss... " >&6; } if ${ac_cv_libgss+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBGSS" in *" -l"*) LIBS="$LIBS $LIBGSS" ;; *) LIBS="$LIBGSS $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if GSS_VERSION_NUMBER < 0x010000 too old version #else gss_check_version (0); #endif ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libgss=yes else ac_cv_libgss='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgss" >&5 $as_echo "$ac_cv_libgss" >&6; } if test "$ac_cv_libgss" = yes; then HAVE_LIBGSS=yes $as_echo "#define HAVE_LIBGSS 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libgss" >&5 $as_echo_n "checking how to link with libgss... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGSS" >&5 $as_echo "$LIBGSS" >&6; } else HAVE_LIBGSS=no CPPFLAGS="$ac_save_CPPFLAGS" LIBGSS= LTLIBGSS= LIBGSS_PREFIX= fi if test "$ac_cv_libgss" = yes; then gssapi_impl=gss { $as_echo "$as_me:${as_lineno-$LINENO}: GNU GSS found" >&5 $as_echo "$as_me: GNU GSS found" >&6;} elif test "$cross_compiling" != "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cross-compiling, won't rely on MIT/Heimdal krb5-config" >&5 $as_echo "$as_me: WARNING: Cross-compiling, won't rely on MIT/Heimdal krb5-config" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: Use --with-gssapi-impl=mit or --with-gssapi-impl=heimdal." >&5 $as_echo "$as_me: Use --with-gssapi-impl=mit or --with-gssapi-impl=heimdal." >&6;} gssapi_impl=no else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU GSS not found (see http://www.gnu.org/software/gss/)..." >&5 $as_echo "$as_me: WARNING: GNU GSS not found (see http://www.gnu.org/software/gss/)..." >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Auto-detecting MIT/Heimdal is unreliable, disabling GSSAPI" >&5 $as_echo "$as_me: WARNING: Auto-detecting MIT/Heimdal is unreliable, disabling GSSAPI" >&2;} gssapi_impl=no fi fi # KERBEROS_V5 # Check whether --enable-kerberos_v5 was given. if test "${enable_kerberos_v5+set}" = set; then : enableval=$enable_kerberos_v5; kerberos_v5=$enableval else kerberos_v5=no fi if test "$kerberos_v5" != "no" ; then use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libshishi-prefix was given. if test "${with_libshishi_prefix+set}" = set; then : withval=$with_libshishi_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBSHISHI= LTLIBSHISHI= INCSHISHI= LIBSHISHI_PREFIX= HAVE_LIBSHISHI= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='shishi ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBSHISHI="${LTLIBSHISHI}${LTLIBSHISHI:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBSHISHI; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBSHISHI="${LTLIBSHISHI}${LTLIBSHISHI:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBSHISHI; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$found_so" else LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$found_a" else LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'shishi'; then LIBSHISHI_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'shishi'; then LIBSHISHI_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCSHISHI; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCSHISHI="${INCSHISHI}${INCSHISHI:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBSHISHI; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBSHISHI; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBSHISHI="${LTLIBSHISHI}${LTLIBSHISHI:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$dep" LTLIBSHISHI="${LTLIBSHISHI}${LTLIBSHISHI:+ }$dep" ;; esac done fi else LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }-l$name" LTLIBSHISHI="${LTLIBSHISHI}${LTLIBSHISHI:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBSHISHI="${LIBSHISHI}${LIBSHISHI:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBSHISHI="${LTLIBSHISHI}${LTLIBSHISHI:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCSHISHI; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libshishi" >&5 $as_echo_n "checking for libshishi... " >&6; } if ${ac_cv_libshishi+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBSHISHI" in *" -l"*) LIBS="$LIBS $LIBSHISHI" ;; *) LIBS="$LIBSHISHI $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { shishi (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libshishi=yes else ac_cv_libshishi='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libshishi" >&5 $as_echo "$ac_cv_libshishi" >&6; } if test "$ac_cv_libshishi" = yes; then HAVE_LIBSHISHI=yes $as_echo "#define HAVE_LIBSHISHI 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libshishi" >&5 $as_echo_n "checking how to link with libshishi... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSHISHI" >&5 $as_echo "$LIBSHISHI" >&6; } else HAVE_LIBSHISHI=no CPPFLAGS="$ac_save_CPPFLAGS" LIBSHISHI= LTLIBSHISHI= LIBSHISHI_PREFIX= fi if test "$ac_cv_libshishi" != yes; then kerberos_v5=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU Shishi not found, disabling KERBEROS_V5" >&5 $as_echo "$as_me: WARNING: GNU Shishi not found, disabling KERBEROS_V5" >&2;} else kerberos_v5=yes $as_echo "#define USE_KERBEROS_V5 1" >>confdefs.h fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if KERBEROS_V5 should be used" >&5 $as_echo_n "checking if KERBEROS_V5 should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kerberos_v5" >&5 $as_echo "$kerberos_v5" >&6; } if test x$kerberos_v5 = xyes; then KERBEROS_V5_TRUE= KERBEROS_V5_FALSE='#' else KERBEROS_V5_TRUE='#' KERBEROS_V5_FALSE= fi # Check for libidn # Check whether --with-stringprep was given. if test "${with_stringprep+set}" = set; then : withval=$with_stringprep; stringprep=$withval else stringprep=yes fi if test "$stringprep" != "no"; then use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libidn-prefix was given. if test "${with_libidn_prefix+set}" = set; then : withval=$with_libidn_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBIDN= LTLIBIDN= INCIDN= LIBIDN_PREFIX= HAVE_LIBIDN= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='idn ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBIDN="${LIBIDN}${LIBIDN:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBIDN="${LTLIBIDN}${LTLIBIDN:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBIDN; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBIDN="${LTLIBIDN}${LTLIBIDN:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBIDN="${LIBIDN}${LIBIDN:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBIDN="${LIBIDN}${LIBIDN:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBIDN="${LIBIDN}${LIBIDN:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBIDN; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBIDN="${LIBIDN}${LIBIDN:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBIDN="${LIBIDN}${LIBIDN:+ }$found_so" else LIBIDN="${LIBIDN}${LIBIDN:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBIDN="${LIBIDN}${LIBIDN:+ }$found_a" else LIBIDN="${LIBIDN}${LIBIDN:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'idn'; then LIBIDN_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'idn'; then LIBIDN_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCIDN; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCIDN="${INCIDN}${INCIDN:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBIDN; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBIDN="${LIBIDN}${LIBIDN:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBIDN; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBIDN="${LTLIBIDN}${LTLIBIDN:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBIDN="${LIBIDN}${LIBIDN:+ }$dep" LTLIBIDN="${LTLIBIDN}${LTLIBIDN:+ }$dep" ;; esac done fi else LIBIDN="${LIBIDN}${LIBIDN:+ }-l$name" LTLIBIDN="${LTLIBIDN}${LTLIBIDN:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBIDN="${LIBIDN}${LIBIDN:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBIDN="${LIBIDN}${LIBIDN:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBIDN="${LTLIBIDN}${LTLIBIDN:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCIDN; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidn" >&5 $as_echo_n "checking for libidn... " >&6; } if ${ac_cv_libidn+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBIDN" in *" -l"*) LIBS="$LIBS $LIBIDN" ;; *) LIBS="$LIBIDN $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { stringprep_check_version (0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libidn=yes else ac_cv_libidn='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libidn" >&5 $as_echo "$ac_cv_libidn" >&6; } if test "$ac_cv_libidn" = yes; then HAVE_LIBIDN=yes $as_echo "#define HAVE_LIBIDN 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libidn" >&5 $as_echo_n "checking how to link with libidn... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBIDN" >&5 $as_echo "$LIBIDN" >&6; } else HAVE_LIBIDN=no CPPFLAGS="$ac_save_CPPFLAGS" LIBIDN= LTLIBIDN= LIBIDN_PREFIX= fi if test "$ac_cv_libidn" != yes; then stringprep=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU Libidn not found. Stringprep disabled." >&5 $as_echo "$as_me: WARNING: GNU Libidn not found. Stringprep disabled." >&2;} else stringprep=yes save_LIBS="$LIBS" LIBS="$LIBS $LIBIDN" for ac_func in pr29_8z do : ac_fn_c_check_func "$LINENO" "pr29_8z" "ac_cv_func_pr29_8z" if test "x$ac_cv_func_pr29_8z" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PR29_8Z 1 _ACEOF fi done for ac_header in pr29.h do : ac_fn_c_check_header_mongrel "$LINENO" "pr29.h" "ac_cv_header_pr29_h" "$ac_includes_default" if test "x$ac_cv_header_pr29_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PR29_H 1 _ACEOF fi done LIBS="$save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if non-ASCII support via Libidn should be built" >&5 $as_echo_n "checking if non-ASCII support via Libidn should be built... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stringprep" >&5 $as_echo "$stringprep" >&6; } # Allow disabling of client or server. # Check whether --enable-client was given. if test "${enable_client+set}" = set; then : enableval=$enable_client; client=$enableval fi # Check whether --enable-server was given. if test "${enable_server+set}" = set; then : enableval=$enable_server; server=$enableval fi if test "$client" != "no"; then $as_echo "#define USE_CLIENT 1" >>confdefs.h client=yes fi if test "$server" != "no"; then $as_echo "#define USE_SERVER 1" >>confdefs.h server=yes fi if test "$server" = "no" && test "$client" = "no"; then as_fn_error $? "Disabling both client and server mode is meaningless" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if client code should be built" >&5 $as_echo_n "checking if client code should be built... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $client" >&5 $as_echo "$client" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if server code should be built" >&5 $as_echo_n "checking if server code should be built... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $server" >&5 $as_echo "$server" >&6; } if test x$client = xyes; then CLIENT_TRUE= CLIENT_FALSE='#' else CLIENT_TRUE='#' CLIENT_FALSE= fi if test x$server = xyes; then SERVER_TRUE= SERVER_FALSE='#' else SERVER_TRUE='#' SERVER_FALSE= fi # Allow disabling of obsolete stuff. # Check whether --enable-obsolete was given. if test "${enable_obsolete+set}" = set; then : enableval=$enable_obsolete; obsolete=$enableval fi if test "$obsolete" = "no"; then $as_echo "#define GSASL_NO_OBSOLETE 1" >>confdefs.h else obsolete=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if backwards compatibility code should be present" >&5 $as_echo_n "checking if backwards compatibility code should be present... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $obsolete" >&5 $as_echo "$obsolete" >&6; } if test "$obsolete" = "yes"; then OBSOLETE_TRUE= OBSOLETE_FALSE='#' else OBSOLETE_TRUE='#' OBSOLETE_FALSE= fi # For gnulib stuff in gl/ which may modify gssapi_impl, see gl/m4/gss-extra.m4. LIBC_FATAL_STDERR_=1 export LIBC_FATAL_STDERR_ ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 $as_echo_n "checking for working alloca.h... " >&6; } if ${ac_cv_working_alloca_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_working_alloca_h=yes else ac_cv_working_alloca_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 $as_echo "$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 $as_echo_n "checking for alloca... " >&6; } if ${ac_cv_func_alloca_works+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # ifdef HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ void *alloca (size_t); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_func_alloca_works=yes else ac_cv_func_alloca_works=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 $as_echo "$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext $as_echo "#define C_ALLOCA 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } if ${ac_cv_os_cray+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined CRAY && ! defined CRAY2 webecray #else wenotbecray #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then : ac_cv_os_cray=yes else ac_cv_os_cray=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 $as_echo "$ac_cv_os_cray" >&6; } if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 $as_echo_n "checking stack direction for C alloca... " >&6; } if ${ac_cv_c_stack_direction+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_c_stack_direction=0 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_stack_direction=1 else ac_cv_c_stack_direction=-1 fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 $as_echo "$ac_cv_c_stack_direction" >&6; } cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } if ${ac_cv_c_restrict+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_restrict=no # The order here caters to the fact that C++ does not require restrict. for ac_kw in __restrict __restrict__ _Restrict restrict; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ typedef int *int_ptr; int foo (int_ptr $ac_kw ip) { return ip[0]; } int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ int bar (int ip[$ac_kw]) { return ip[0]; } int main () { int s[1]; int *$ac_kw t = s; t[0] = 0; return foo (t) + bar (t); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_restrict=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_restrict" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 $as_echo "$ac_cv_c_restrict" >&6; } case $ac_cv_c_restrict in restrict) ;; no) $as_echo "#define restrict /**/" >>confdefs.h ;; *) cat >>confdefs.h <<_ACEOF #define restrict $ac_cv_c_restrict _ACEOF ;; esac GNULIB_SOCKET=0; GNULIB_CONNECT=0; GNULIB_ACCEPT=0; GNULIB_BIND=0; GNULIB_GETPEERNAME=0; GNULIB_GETSOCKNAME=0; GNULIB_GETSOCKOPT=0; GNULIB_LISTEN=0; GNULIB_RECV=0; GNULIB_SEND=0; GNULIB_RECVFROM=0; GNULIB_SENDTO=0; GNULIB_SETSOCKOPT=0; GNULIB_SHUTDOWN=0; GNULIB_ACCEPT4=0; HAVE_STRUCT_SOCKADDR_STORAGE=1; HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; HAVE_SA_FAMILY_T=1; HAVE_ACCEPT4=1; for ac_header in $ac_header_list do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_sys_socket_h = no; then for ac_header in ws2tcpip.h do : ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WS2TCPIP_H 1 _ACEOF fi done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; } if ${gl_cv_have_include_next+:} false; then : $as_echo_n "(cached) " >&6 else rm -rf conftestd1a conftestd1b conftestd2 mkdir conftestd1a conftestd1b conftestd2 cat < conftestd1a/conftest.h #define DEFINED_IN_CONFTESTD1 #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd1b/conftest.h #define DEFINED_IN_CONFTESTD1 #include #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd2/conftest.h #ifndef DEFINED_IN_CONFTESTD1 #error "include_next test doesn't work" #endif #define DEFINED_IN_CONFTESTD2 EOF gl_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_have_include_next=yes else CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_have_include_next=buggy else gl_cv_have_include_next=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CPPFLAGS="$gl_save_CPPFLAGS" rm -rf conftestd1a conftestd1b conftestd2 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 $as_echo "$gl_cv_have_include_next" >&6; } PRAGMA_SYSTEM_HEADER= if test $gl_cv_have_include_next = yes; then INCLUDE_NEXT=include_next INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next if test -n "$GCC"; then PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' fi else if test $gl_cv_have_include_next = buggy; then INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next else INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 $as_echo_n "checking whether system header files limit the line length... " >&6; } if ${gl_cv_pragma_columns+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __TANDEM choke me #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "choke me" >/dev/null 2>&1; then : gl_cv_pragma_columns=yes else gl_cv_pragma_columns=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 $as_echo "$gl_cv_pragma_columns" >&6; } if test $gl_cv_pragma_columns = yes; then PRAGMA_COLUMNS="#pragma COLUMNS 10000" else PRAGMA_COLUMNS= fi GNULIB_CHDIR=0; GNULIB_CHOWN=0; GNULIB_CLOSE=0; GNULIB_COPY_FILE_RANGE=0; GNULIB_DUP=0; GNULIB_DUP2=0; GNULIB_DUP3=0; GNULIB_ENVIRON=0; GNULIB_EUIDACCESS=0; GNULIB_FACCESSAT=0; GNULIB_FCHDIR=0; GNULIB_FCHOWNAT=0; GNULIB_FDATASYNC=0; GNULIB_FSYNC=0; GNULIB_FTRUNCATE=0; GNULIB_GETCWD=0; GNULIB_GETDOMAINNAME=0; GNULIB_GETDTABLESIZE=0; GNULIB_GETGROUPS=0; GNULIB_GETHOSTNAME=0; GNULIB_GETLOGIN=0; GNULIB_GETLOGIN_R=0; GNULIB_GETPAGESIZE=0; GNULIB_GETPASS=0; GNULIB_GETUSERSHELL=0; GNULIB_GROUP_MEMBER=0; GNULIB_ISATTY=0; GNULIB_LCHOWN=0; GNULIB_LINK=0; GNULIB_LINKAT=0; GNULIB_LSEEK=0; GNULIB_PIPE=0; GNULIB_PIPE2=0; GNULIB_PREAD=0; GNULIB_PWRITE=0; GNULIB_READ=0; GNULIB_READLINK=0; GNULIB_READLINKAT=0; GNULIB_RMDIR=0; GNULIB_SETHOSTNAME=0; GNULIB_SLEEP=0; GNULIB_SYMLINK=0; GNULIB_SYMLINKAT=0; GNULIB_TRUNCATE=0; GNULIB_TTYNAME_R=0; GNULIB_UNISTD_H_NONBLOCKING=0; GNULIB_UNISTD_H_SIGPIPE=0; GNULIB_UNLINK=0; GNULIB_UNLINKAT=0; GNULIB_USLEEP=0; GNULIB_WRITE=0; HAVE_CHOWN=1; HAVE_COPY_FILE_RANGE=1; HAVE_DUP2=1; HAVE_DUP3=1; HAVE_EUIDACCESS=1; HAVE_FACCESSAT=1; HAVE_FCHDIR=1; HAVE_FCHOWNAT=1; HAVE_FDATASYNC=1; HAVE_FSYNC=1; HAVE_FTRUNCATE=1; HAVE_GETDTABLESIZE=1; HAVE_GETGROUPS=1; HAVE_GETHOSTNAME=1; HAVE_GETLOGIN=1; HAVE_GETPAGESIZE=1; HAVE_GETPASS=1; HAVE_GROUP_MEMBER=1; HAVE_LCHOWN=1; HAVE_LINK=1; HAVE_LINKAT=1; HAVE_PIPE=1; HAVE_PIPE2=1; HAVE_PREAD=1; HAVE_PWRITE=1; HAVE_READLINK=1; HAVE_READLINKAT=1; HAVE_SETHOSTNAME=1; HAVE_SLEEP=1; HAVE_SYMLINK=1; HAVE_SYMLINKAT=1; HAVE_UNLINKAT=1; HAVE_USLEEP=1; HAVE_DECL_ENVIRON=1; HAVE_DECL_FCHDIR=1; HAVE_DECL_FDATASYNC=1; HAVE_DECL_GETDOMAINNAME=1; HAVE_DECL_GETLOGIN=1; HAVE_DECL_GETLOGIN_R=1; HAVE_DECL_GETPAGESIZE=1; HAVE_DECL_GETUSERSHELL=1; HAVE_DECL_SETHOSTNAME=1; HAVE_DECL_TRUNCATE=1; HAVE_DECL_TTYNAME_R=1; HAVE_OS_H=0; HAVE_SYS_PARAM_H=0; REPLACE_CHOWN=0; REPLACE_CLOSE=0; REPLACE_DUP=0; REPLACE_DUP2=0; REPLACE_FACCESSAT=0; REPLACE_FCHOWNAT=0; REPLACE_FTRUNCATE=0; REPLACE_GETCWD=0; REPLACE_GETDOMAINNAME=0; REPLACE_GETDTABLESIZE=0; REPLACE_GETLOGIN_R=0; REPLACE_GETGROUPS=0; REPLACE_GETPAGESIZE=0; REPLACE_GETPASS=0; REPLACE_ISATTY=0; REPLACE_LCHOWN=0; REPLACE_LINK=0; REPLACE_LINKAT=0; REPLACE_LSEEK=0; REPLACE_PREAD=0; REPLACE_PWRITE=0; REPLACE_READ=0; REPLACE_READLINK=0; REPLACE_READLINKAT=0; REPLACE_RMDIR=0; REPLACE_SLEEP=0; REPLACE_SYMLINK=0; REPLACE_SYMLINKAT=0; REPLACE_TRUNCATE=0; REPLACE_TTYNAME_R=0; REPLACE_UNLINK=0; REPLACE_UNLINKAT=0; REPLACE_USLEEP=0; REPLACE_WRITE=0; UNISTD_H_HAVE_WINSOCK2_H=0; UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; GNULIB_IOCTL=0; SYS_IOCTL_H_HAVE_WINSOCK2_H=0; SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; REPLACE_IOCTL=0; case "$host_os" in osf*) $as_echo "#define _POSIX_PII_SOCKET 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 $as_echo_n "checking whether is self-contained... " >&6; } if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_sys_socket_h_selfcontained=yes else gl_cv_header_sys_socket_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 $as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; } if test $gl_cv_header_sys_socket_h_selfcontained = yes; then for ac_func in shutdown do : ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" if test "x$ac_cv_func_shutdown" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SHUTDOWN 1 _ACEOF fi done if test $ac_cv_func_shutdown = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 $as_echo_n "checking whether defines the SHUT_* macros... " >&6; } if ${gl_cv_header_sys_socket_h_shut+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_sys_socket_h_shut=yes else gl_cv_header_sys_socket_h_shut=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 $as_echo "$gl_cv_header_sys_socket_h_shut" >&6; } if test $gl_cv_header_sys_socket_h_shut = no; then SYS_SOCKET_H='sys/socket.h' fi fi fi # We need to check for ws2tcpip.h now. if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_socket_h='<'sys/socket.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_socket_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_socket_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/socket.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_socket_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_socket_h gl_cv_next_sys_socket_h='"'$gl_header'"' else gl_cv_next_sys_socket_h='<'sys/socket.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 $as_echo "$gl_cv_next_sys_socket_h" >&6; } fi NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/socket.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_socket_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h = yes; then HAVE_SYS_SOCKET_H=1 else HAVE_SYS_SOCKET_H=0 fi if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_STORAGE 1 _ACEOF fi ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_type_sa_family_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SA_FAMILY_T 1 _ACEOF fi if test $ac_cv_type_struct_sockaddr_storage = no; then HAVE_STRUCT_SOCKADDR_STORAGE=0 fi if test $ac_cv_type_sa_family_t = no; then HAVE_SA_FAMILY_T=0 fi if test $ac_cv_type_struct_sockaddr_storage != no; then ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 _ACEOF else HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0 fi fi if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then SYS_SOCKET_H='sys/socket.h' fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/if_alg.h has struct sockaddr_alg." >&5 $as_echo_n "checking whether linux/if_alg.h has struct sockaddr_alg.... " >&6; } if ${gl_cv_header_linux_if_alg_salg+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct sockaddr_alg salg = { .salg_family = AF_ALG, .salg_type = "hash", .salg_name = "sha1", }; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_linux_if_alg_salg=yes else gl_cv_header_linux_if_alg_salg=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_linux_if_alg_salg" >&5 $as_echo "$gl_cv_header_linux_if_alg_salg" >&6; } if test "$gl_cv_header_linux_if_alg_salg" = yes; then $as_echo "#define HAVE_LINUX_IF_ALG_H 1" >>confdefs.h fi use_af_alg=no # Check whether --with-linux-crypto was given. if test "${with_linux_crypto+set}" = set; then : withval=$with_linux_crypto; use_af_alg=$withval else use_af_alg=no fi if test "$gl_cv_header_linux_if_alg_salg" != yes; then if test "$use_af_alg" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Linux kernel cryptographic API not found" >&5 $as_echo "$as_me: WARNING: Linux kernel cryptographic API not found" >&2;} fi use_af_alg=no fi if test "$use_af_alg" != no; then USE_AF_ALG=1 else USE_AF_ALG=0 fi cat >>confdefs.h <<_ACEOF #define USE_LINUX_CRYPTO_API $USE_AF_ALG _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 $as_echo_n "checking for complete errno.h... " >&6; } if ${gl_cv_header_errno_h_complete+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if !defined ETXTBSY booboo #endif #if !defined ENOMSG booboo #endif #if !defined EIDRM booboo #endif #if !defined ENOLINK booboo #endif #if !defined EPROTO booboo #endif #if !defined EMULTIHOP booboo #endif #if !defined EBADMSG booboo #endif #if !defined EOVERFLOW booboo #endif #if !defined ENOTSUP booboo #endif #if !defined ENETRESET booboo #endif #if !defined ECONNABORTED booboo #endif #if !defined ESTALE booboo #endif #if !defined EDQUOT booboo #endif #if !defined ECANCELED booboo #endif #if !defined EOWNERDEAD booboo #endif #if !defined ENOTRECOVERABLE booboo #endif #if !defined EILSEQ booboo #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "booboo" >/dev/null 2>&1; then : gl_cv_header_errno_h_complete=no else gl_cv_header_errno_h_complete=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 $as_echo "$gl_cv_header_errno_h_complete" >&6; } if test $gl_cv_header_errno_h_complete = yes; then ERRNO_H='' else if test $gl_cv_have_include_next = yes; then gl_cv_next_errno_h='<'errno.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_errno_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'errno.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_errno_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_errno_h gl_cv_next_errno_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 $as_echo "$gl_cv_next_errno_h" >&6; } fi NEXT_ERRNO_H=$gl_cv_next_errno_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'errno.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_errno_h fi NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive ERRNO_H='errno.h' fi if test -n "$ERRNO_H"; then GL_GENERATE_ERRNO_H_TRUE= GL_GENERATE_ERRNO_H_FALSE='#' else GL_GENERATE_ERRNO_H_TRUE='#' GL_GENERATE_ERRNO_H_FALSE= fi if test -n "$ERRNO_H"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 $as_echo_n "checking for EMULTIHOP value... " >&6; } if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef EMULTIHOP yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EMULTIHOP=yes else gl_cv_header_errno_h_EMULTIHOP=no fi rm -f conftest* if test $gl_cv_header_errno_h_EMULTIHOP = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef EMULTIHOP yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EMULTIHOP=hidden fi rm -f conftest* if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include "; then : fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 $as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } case $gl_cv_header_errno_h_EMULTIHOP in yes | no) EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ;; *) EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ;; esac fi if test -n "$ERRNO_H"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 $as_echo_n "checking for ENOLINK value... " >&6; } if ${gl_cv_header_errno_h_ENOLINK+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef ENOLINK yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_ENOLINK=yes else gl_cv_header_errno_h_ENOLINK=no fi rm -f conftest* if test $gl_cv_header_errno_h_ENOLINK = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef ENOLINK yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_ENOLINK=hidden fi rm -f conftest* if test $gl_cv_header_errno_h_ENOLINK = hidden; then if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include "; then : fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 $as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } case $gl_cv_header_errno_h_ENOLINK in yes | no) ENOLINK_HIDDEN=0; ENOLINK_VALUE= ;; *) ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" ;; esac fi if test -n "$ERRNO_H"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 $as_echo_n "checking for EOVERFLOW value... " >&6; } if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef EOVERFLOW yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EOVERFLOW=yes else gl_cv_header_errno_h_EOVERFLOW=no fi rm -f conftest* if test $gl_cv_header_errno_h_EOVERFLOW = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef EOVERFLOW yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then : gl_cv_header_errno_h_EOVERFLOW=hidden fi rm -f conftest* if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include "; then : fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 $as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } case $gl_cv_header_errno_h_EOVERFLOW in yes | no) EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ;; *) EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ;; esac fi GNULIB_DPRINTF=0; GNULIB_FCLOSE=0; GNULIB_FDOPEN=0; GNULIB_FFLUSH=0; GNULIB_FGETC=0; GNULIB_FGETS=0; GNULIB_FOPEN=0; GNULIB_FPRINTF=0; GNULIB_FPRINTF_POSIX=0; GNULIB_FPURGE=0; GNULIB_FPUTC=0; GNULIB_FPUTS=0; GNULIB_FREAD=0; GNULIB_FREOPEN=0; GNULIB_FSCANF=0; GNULIB_FSEEK=0; GNULIB_FSEEKO=0; GNULIB_FTELL=0; GNULIB_FTELLO=0; GNULIB_FWRITE=0; GNULIB_GETC=0; GNULIB_GETCHAR=0; GNULIB_GETDELIM=0; GNULIB_GETLINE=0; GNULIB_OBSTACK_PRINTF=0; GNULIB_OBSTACK_PRINTF_POSIX=0; GNULIB_PCLOSE=0; GNULIB_PERROR=0; GNULIB_POPEN=0; GNULIB_PRINTF=0; GNULIB_PRINTF_POSIX=0; GNULIB_PUTC=0; GNULIB_PUTCHAR=0; GNULIB_PUTS=0; GNULIB_REMOVE=0; GNULIB_RENAME=0; GNULIB_RENAMEAT=0; GNULIB_SCANF=0; GNULIB_SNPRINTF=0; GNULIB_SPRINTF_POSIX=0; GNULIB_STDIO_H_NONBLOCKING=0; GNULIB_STDIO_H_SIGPIPE=0; GNULIB_TMPFILE=0; GNULIB_VASPRINTF=0; GNULIB_VFSCANF=0; GNULIB_VSCANF=0; GNULIB_VDPRINTF=0; GNULIB_VFPRINTF=0; GNULIB_VFPRINTF_POSIX=0; GNULIB_VPRINTF=0; GNULIB_VPRINTF_POSIX=0; GNULIB_VSNPRINTF=0; GNULIB_VSPRINTF_POSIX=0; HAVE_DECL_FPURGE=1; HAVE_DECL_FSEEKO=1; HAVE_DECL_FTELLO=1; HAVE_DECL_GETDELIM=1; HAVE_DECL_GETLINE=1; HAVE_DECL_OBSTACK_PRINTF=1; HAVE_DECL_SNPRINTF=1; HAVE_DECL_VSNPRINTF=1; HAVE_DPRINTF=1; HAVE_FSEEKO=1; HAVE_FTELLO=1; HAVE_PCLOSE=1; HAVE_POPEN=1; HAVE_RENAMEAT=1; HAVE_VASPRINTF=1; HAVE_VDPRINTF=1; REPLACE_DPRINTF=0; REPLACE_FCLOSE=0; REPLACE_FDOPEN=0; REPLACE_FFLUSH=0; REPLACE_FOPEN=0; REPLACE_FPRINTF=0; REPLACE_FPURGE=0; REPLACE_FREOPEN=0; REPLACE_FSEEK=0; REPLACE_FSEEKO=0; REPLACE_FTELL=0; REPLACE_FTELLO=0; REPLACE_GETDELIM=0; REPLACE_GETLINE=0; REPLACE_OBSTACK_PRINTF=0; REPLACE_PERROR=0; REPLACE_POPEN=0; REPLACE_PRINTF=0; REPLACE_REMOVE=0; REPLACE_RENAME=0; REPLACE_RENAMEAT=0; REPLACE_SNPRINTF=0; REPLACE_SPRINTF=0; REPLACE_STDIO_READ_FUNCS=0; REPLACE_STDIO_WRITE_FUNCS=0; REPLACE_TMPFILE=0; REPLACE_VASPRINTF=0; REPLACE_VDPRINTF=0; REPLACE_VFPRINTF=0; REPLACE_VPRINTF=0; REPLACE_VSNPRINTF=0; REPLACE_VSPRINTF=0; for ac_func in $ac_func_list do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 $as_echo_n "checking whether stdin defaults to large file offsets... " >&6; } if ${gl_cv_var_stdin_large_offset+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if defined __SL64 && defined __SCLE /* cygwin */ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and it is easier to do a version check than building a runtime test. */ # include # if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) choke me # endif #endif ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_var_stdin_large_offset=yes else gl_cv_var_stdin_large_offset=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 $as_echo "$gl_cv_var_stdin_large_offset" >&6; } ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" if test "x$ac_cv_type_mode_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define mode_t int _ACEOF fi case "$host_os" in mingw*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5 $as_echo_n "checking for 64-bit off_t... " >&6; } if ${gl_cv_type_off_t_64+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_off_t_64=yes else gl_cv_type_off_t_64=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5 $as_echo "$gl_cv_type_off_t_64" >&6; } if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else WINDOWS_64_BIT_OFF_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit st_size" >&5 $as_echo_n "checking for 64-bit st_size... " >&6; } if ${gl_cv_member_st_size_64+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct stat buf; int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_member_st_size_64=yes else gl_cv_member_st_size_64=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_member_st_size_64" >&5 $as_echo "$gl_cv_member_st_size_64" >&6; } if test $gl_cv_member_st_size_64 = no; then WINDOWS_64_BIT_ST_SIZE=1 else WINDOWS_64_BIT_ST_SIZE=0 fi ;; *) WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac $as_echo "#define _USE_STD_STAT 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_types_h='<'sys/types.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_types_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/types.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_types_h gl_cv_next_sys_types_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 $as_echo "$gl_cv_next_sys_types_h" >&6; } fi NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/types.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_types_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive WINDOWS_STAT_INODES=0 ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default" if test "x$ac_cv_have_decl_fseeko" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FSEEKO $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 $as_echo_n "checking for fseeko... " >&6; } if ${gl_cv_func_fseeko+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { fseeko (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_fseeko=yes else gl_cv_func_fseeko=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 $as_echo "$gl_cv_func_fseeko" >&6; } if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 $as_echo_n "checking whether fflush works on input streams... " >&6; } if ${gl_cv_func_fflush_stdin+:} false; then : $as_echo_n "(cached) " >&6 else echo hello world > conftest.txt if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on native Windows. mingw*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif int main () { FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fflush_stdin=yes else gl_cv_func_fflush_stdin=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm conftest.txt fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 $as_echo "$gl_cv_func_fflush_stdin" >&6; } case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac cat >>confdefs.h <<_ACEOF #define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin _ACEOF case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FSEEKO=1 ;; esac fi GNULIB_FCHMODAT=0; GNULIB_FSTAT=0; GNULIB_FSTATAT=0; GNULIB_FUTIMENS=0; GNULIB_LCHMOD=0; GNULIB_LSTAT=0; GNULIB_MKDIRAT=0; GNULIB_MKFIFO=0; GNULIB_MKFIFOAT=0; GNULIB_MKNOD=0; GNULIB_MKNODAT=0; GNULIB_STAT=0; GNULIB_UTIMENSAT=0; GNULIB_OVERRIDES_STRUCT_STAT=0; HAVE_FCHMODAT=1; HAVE_FSTATAT=1; HAVE_FUTIMENS=1; HAVE_LCHMOD=1; HAVE_LSTAT=1; HAVE_MKDIRAT=1; HAVE_MKFIFO=1; HAVE_MKFIFOAT=1; HAVE_MKNOD=1; HAVE_MKNODAT=1; HAVE_UTIMENSAT=1; REPLACE_FSTAT=0; REPLACE_FSTATAT=0; REPLACE_FUTIMENS=0; REPLACE_LSTAT=0; REPLACE_MKDIR=0; REPLACE_MKFIFO=0; REPLACE_MKNOD=0; REPLACE_STAT=0; REPLACE_UTIMENSAT=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; } if ${ac_cv_header_stat_broken+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if defined S_ISBLK && defined S_IFDIR extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; #endif #if defined S_ISBLK && defined S_IFCHR extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; #endif #if defined S_ISLNK && defined S_IFREG extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; #endif #if defined S_ISSOCK && defined S_IFREG extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stat_broken=no else ac_cv_header_stat_broken=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 $as_echo "$ac_cv_header_stat_broken" >&6; } if test $ac_cv_header_stat_broken = yes; then $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_stat_h='<'sys/stat.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_stat_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_stat_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/stat.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_stat_h gl_cv_next_sys_stat_h='"'$gl_header'"' else gl_cv_next_sys_stat_h='<'sys/stat.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 $as_echo "$gl_cv_next_sys_stat_h" >&6; } fi NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/stat.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_stat_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive WINDOWS_STAT_TIMESPEC=0 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include #include " if test "x$ac_cv_type_nlink_t" = xyes; then : else $as_echo "#define nlink_t int" >>confdefs.h fi ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default" if test "x$ac_cv_have_decl_ftello" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FTELLO $ac_have_decl _ACEOF if test $ac_cv_have_decl_ftello = no; then HAVE_DECL_FTELLO=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5 $as_echo_n "checking for ftello... " >&6; } if ${gl_cv_func_ftello+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ftello (stdin); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_ftello=yes else gl_cv_func_ftello=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5 $as_echo "$gl_cv_func_ftello" >&6; } if test $gl_cv_func_ftello = no; then HAVE_FTELLO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FTELLO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FTELLO=1 fi if test $REPLACE_FTELLO = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5 $as_echo_n "checking whether ftello works... " >&6; } if ${gl_cv_func_ftello_works+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_ftello_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_ftello_works="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_ftello_works="guessing yes" ;; esac if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #define TESTFILE "conftest.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) return 70; if (fwrite ("foogarsh", 1, 8, fp) < 8) { fclose (fp); return 71; } if (fclose (fp)) return 72; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) return 73; if (fseek (fp, -1, SEEK_END)) { fclose (fp); return 74; } if (!(getc (fp) == 'h')) { fclose (fp); return 1; } if (!(getc (fp) == EOF)) { fclose (fp); return 2; } if (!(ftell (fp) == 8)) { fclose (fp); return 3; } if (!(ftell (fp) == 8)) { fclose (fp); return 4; } if (!(putc ('!', fp) == '!')) { fclose (fp); return 5; } if (!(ftell (fp) == 9)) { fclose (fp); return 6; } if (!(fclose (fp) == 0)) return 7; fp = fopen (TESTFILE, "r"); if (fp == NULL) return 75; { char buf[10]; if (!(fread (buf, 1, 10, fp) == 9)) { fclose (fp); return 10; } if (!(memcmp (buf, "foogarsh!", 9) == 0)) { fclose (fp); return 11; } } if (!(fclose (fp) == 0)) return 12; /* The file's contents is now "foogarsh!". */ return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_ftello_works=yes else gl_cv_func_ftello_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5 $as_echo "$gl_cv_func_ftello_works" >&6; } case "$gl_cv_func_ftello_works" in *yes) ;; *) REPLACE_FTELLO=1 $as_echo "#define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h ;; esac fi fi ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" if test "x$ac_cv_have_decl_getdelim" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETDELIM $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" if test "x$ac_cv_have_decl_getline" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETLINE $ac_have_decl _ACEOF if test $gl_cv_have_include_next = yes; then gl_cv_next_limits_h='<'limits.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_limits_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_limits_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'limits.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_limits_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_limits_h gl_cv_next_limits_h='"'$gl_header'"' else gl_cv_next_limits_h='<'limits.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5 $as_echo "$gl_cv_next_limits_h" >&6; } fi NEXT_LIMITS_H=$gl_cv_next_limits_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'limits.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_limits_h fi NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=$gl_next_as_first_directive { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc." >&5 $as_echo_n "checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... " >&6; } if ${gl_cv_header_limits_width+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include long long llm = LLONG_MAX; int wb = WORD_BIT; int ullw = ULLONG_WIDTH; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_limits_width=yes else gl_cv_header_limits_width=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_limits_width" >&5 $as_echo "$gl_cv_header_limits_width" >&6; } if test "$gl_cv_header_limits_width" = yes; then LIMITS_H= else LIMITS_H=limits.h fi if test -n "$LIMITS_H"; then GL_GENERATE_LIMITS_H_TRUE= GL_GENERATE_LIMITS_H_FALSE='#' else GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE= fi GNULIB_EXPLICIT_BZERO=0; GNULIB_FFSL=0; GNULIB_FFSLL=0; GNULIB_MEMCHR=0; GNULIB_MEMMEM=0; GNULIB_MEMPCPY=0; GNULIB_MEMRCHR=0; GNULIB_RAWMEMCHR=0; GNULIB_STPCPY=0; GNULIB_STPNCPY=0; GNULIB_STRCHRNUL=0; GNULIB_STRDUP=0; GNULIB_STRNCAT=0; GNULIB_STRNDUP=0; GNULIB_STRNLEN=0; GNULIB_STRPBRK=0; GNULIB_STRSEP=0; GNULIB_STRSTR=0; GNULIB_STRCASESTR=0; GNULIB_STRTOK_R=0; GNULIB_MBSLEN=0; GNULIB_MBSNLEN=0; GNULIB_MBSCHR=0; GNULIB_MBSRCHR=0; GNULIB_MBSSTR=0; GNULIB_MBSCASECMP=0; GNULIB_MBSNCASECMP=0; GNULIB_MBSPCASECMP=0; GNULIB_MBSCASESTR=0; GNULIB_MBSCSPN=0; GNULIB_MBSPBRK=0; GNULIB_MBSSPN=0; GNULIB_MBSSEP=0; GNULIB_MBSTOK_R=0; GNULIB_STRERROR=0; GNULIB_STRERROR_R=0; GNULIB_STRSIGNAL=0; GNULIB_STRVERSCMP=0; HAVE_MBSLEN=0; HAVE_EXPLICIT_BZERO=1; HAVE_FFSL=1; HAVE_FFSLL=1; HAVE_MEMCHR=1; HAVE_DECL_MEMMEM=1; HAVE_MEMPCPY=1; HAVE_DECL_MEMRCHR=1; HAVE_RAWMEMCHR=1; HAVE_STPCPY=1; HAVE_STPNCPY=1; HAVE_STRCHRNUL=1; HAVE_DECL_STRDUP=1; HAVE_DECL_STRNDUP=1; HAVE_DECL_STRNLEN=1; HAVE_STRPBRK=1; HAVE_STRSEP=1; HAVE_STRCASESTR=1; HAVE_DECL_STRTOK_R=1; HAVE_DECL_STRERROR_R=1; HAVE_DECL_STRSIGNAL=1; HAVE_STRVERSCMP=1; REPLACE_MEMCHR=0; REPLACE_MEMMEM=0; REPLACE_STPNCPY=0; REPLACE_STRCHRNUL=0; REPLACE_STRDUP=0; REPLACE_STRNCAT=0; REPLACE_STRNDUP=0; REPLACE_STRNLEN=0; REPLACE_STRSTR=0; REPLACE_STRCASESTR=0; REPLACE_STRTOK_R=0; REPLACE_STRERROR=0; REPLACE_STRERROR_R=0; REPLACE_STRSIGNAL=0; UNDEFINE_STRTOK_R=0; # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes; then : gl_have_mmap=yes else gl_have_mmap=no fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 $as_echo "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi if test $HAVE_MEMCHR = 1; then # Detect platform-specific bugs in some versions of glibc: # memchr should not dereference anything with length 0 # https://bugzilla.redhat.com/show_bug.cgi?id=499689 # memchr should not dereference overestimated length after a match # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 # https://sourceware.org/bugzilla/show_bug.cgi?id=10162 # memchr should cast the second argument to 'unsigned char'. # This bug exists in Android 4.3. # Assume that memchr works on platforms that lack mprotect. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 $as_echo_n "checking whether memchr works... " >&6; } if ${gl_cv_func_memchr_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_memchr_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_memchr_works="guessing yes" ;; # Be pessimistic for now. *) gl_cv_func_memchr_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_SYS_MMAN_H # include # include # include # include # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif int main () { int result = 0; char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { int pagesize = getpagesize (); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) fence = two_pages + pagesize; } #endif if (fence) { if (memchr (fence, 0, 0)) result |= 1; strcpy (fence - 9, "12345678"); if (memchr (fence - 9, 0, 79) != fence - 1) result |= 2; if (memchr (fence - 1, 0, 3) != fence - 1) result |= 4; } /* Test against bug on Android 4.3. */ { char input[3]; input[0] = 'a'; input[1] = 'b'; input[2] = 'c'; if (memchr (input, 0x789abc00 | 'b', 3) != input + 1) result |= 8; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_memchr_works=yes else gl_cv_func_memchr_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 $as_echo "$gl_cv_func_memchr_works" >&6; } case "$gl_cv_func_memchr_works" in *yes) ;; *) REPLACE_MEMCHR=1 ;; esac fi ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default" if test "x$ac_cv_have_decl_memmem" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_MEMMEM $ac_have_decl _ACEOF for ac_func in memmem do : ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem" if test "x$ac_cv_func_memmem" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_MEMMEM 1 _ACEOF fi done if test $ac_cv_func_memmem = yes; then HAVE_MEMMEM=1 else HAVE_MEMMEM=0 fi if test $ac_cv_have_decl_memmem = no; then HAVE_DECL_MEMMEM=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5 $as_echo_n "checking whether memmem works... " >&6; } if ${gl_cv_func_memmem_works_always+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __GNU_LIBRARY__ #include #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \ || __GLIBC_MINOR__ > 12)) \ || (__GLIBC__ > 2)) \ || defined __UCLIBC__ Lucky user #endif #elif defined __CYGWIN__ #include #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) Lucky user #endif #else Lucky user #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky user" >/dev/null 2>&1; then : gl_cv_func_memmem_works_always="guessing yes" else gl_cv_func_memmem_works_always="guessing no" fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for memmem */ #define P "_EF_BF_BD" #define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P #define NEEDLE P P P P P int main () { int result = 0; if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE))) result |= 1; /* Check for empty needle behavior. */ { const char *haystack = "AAA"; if (memmem (haystack, 3, NULL, 0) != haystack) result |= 2; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_memmem_works_always=yes else gl_cv_func_memmem_works_always=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5 $as_echo "$gl_cv_func_memmem_works_always" >&6; } case "$gl_cv_func_memmem_works_always" in *yes) ;; *) REPLACE_MEMMEM=1 ;; esac fi : { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines MIN and MAX" >&5 $as_echo_n "checking whether defines MIN and MAX... " >&6; } if ${gl_cv_minmax_in_limits_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = MIN (42, 17); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_minmax_in_limits_h=yes else gl_cv_minmax_in_limits_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_limits_h" >&5 $as_echo "$gl_cv_minmax_in_limits_h" >&6; } if test $gl_cv_minmax_in_limits_h = yes; then $as_echo "#define HAVE_MINMAX_IN_LIMITS_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines MIN and MAX" >&5 $as_echo_n "checking whether defines MIN and MAX... " >&6; } if ${gl_cv_minmax_in_sys_param_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = MIN (42, 17); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_minmax_in_sys_param_h=yes else gl_cv_minmax_in_sys_param_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_sys_param_h" >&5 $as_echo "$gl_cv_minmax_in_sys_param_h" >&6; } if test $gl_cv_minmax_in_sys_param_h = yes; then $as_echo "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h fi if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h else HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 fi gl_cv_c_multiarch=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : arch= prev= for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do if test -n "$prev"; then case $word in i?86 | x86_64 | ppc | ppc64) if test -z "$arch" || test "$arch" = "$word"; then arch="$word" else gl_cv_c_multiarch=yes fi ;; esac prev= else if test "x$word" = "x-arch"; then prev=arch fi fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $gl_cv_c_multiarch = yes; then APPLE_UNIVERSAL_BUILD=1 else APPLE_UNIVERSAL_BUILD=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } if ${ac_cv_header_stdbool_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __cplusplus typedef bool Bool; #else typedef _Bool Bool; #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif struct s { Bool s: 1; Bool t; bool u: 1; bool v; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; char d[(bool) 0.5 == true ? 1 : -1]; /* See body of main program for 'e'. */ char f[(Bool) 0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (Bool)]; char i[sizeof s.t]; enum { j = false, k = true, l = false * true, m = true * 256 }; /* The following fails for HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ Bool q = true; Bool *pq = &q; bool *qq = &q; int main () { bool e = &s; *pq |= q; *pq |= ! q; *qq |= q; *qq |= ! q; /* Refer to every declared value, to avoid compiler optimizations. */ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + !m + !n + !o + !p + !q + !pq + !qq); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdbool_h=yes else ac_cv_header_stdbool_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 _ACEOF fi REPLACE_NULL=0; HAVE_MAX_ALIGN_T=1; HAVE_WCHAR_T=1; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 $as_echo_n "checking for wchar_t... " >&6; } if ${gt_cv_c_wchar_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include wchar_t foo = (wchar_t)'\0'; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_wchar_t=yes else gt_cv_c_wchar_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 $as_echo "$gt_cv_c_wchar_t" >&6; } if test $gt_cv_c_wchar_t = yes; then $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 $as_echo_n "checking for wint_t... " >&6; } if ${gt_cv_c_wint_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include wint_t foo = (wchar_t)'\0'; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_wint_t=yes else gt_cv_c_wint_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 $as_echo "$gt_cv_c_wint_t" >&6; } if test $gt_cv_c_wint_t = yes; then $as_echo "#define HAVE_WINT_T 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wint_t is too small" >&5 $as_echo_n "checking whether wint_t is too small... " >&6; } if ${gl_cv_type_wint_t_too_small+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include #endif #include int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_wint_t_too_small=no else gl_cv_type_wint_t_too_small=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wint_t_too_small" >&5 $as_echo "$gl_cv_type_wint_t_too_small" >&6; } if test $gl_cv_type_wint_t_too_small = yes; then GNULIB_OVERRIDES_WINT_T=1 else GNULIB_OVERRIDES_WINT_T=0 fi else GNULIB_OVERRIDES_WINT_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 $as_echo_n "checking for unsigned long long int... " >&6; } if ${ac_cv_type_unsigned_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_type_unsigned_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many implementations with broken preprocessors. Perhaps this can be revisited in 2012. In the meantime, code should not expect #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63; int main () { /* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | (llmax / ll) | (llmax % ll) | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | (ullmax / ull) | (ullmax % ull)); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else ac_cv_type_unsigned_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } if test $ac_cv_type_unsigned_long_long_int = yes; then $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 $as_echo_n "checking for long long int... " >&6; } if ${ac_cv_type_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int if test $ac_cv_type_long_long_int = yes; then if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef LLONG_MAX # define HALF \ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) # define LLONG_MAX (HALF - 1 + HALF) #endif int main () { long long int n = 1; int i; for (i = 0; ; i++) { long long int m = n << i; if (m >> i != n) return 1; if (LLONG_MAX / 2 < m) break; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_type_long_long_int=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 $as_echo "$ac_cv_type_long_long_int" >&6; } if test $ac_cv_type_long_long_int = yes; then $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h fi if test $ac_cv_type_long_long_int = yes; then HAVE_LONG_LONG_INT=1 else HAVE_LONG_LONG_INT=0 fi if test $ac_cv_type_unsigned_long_long_int = yes; then HAVE_UNSIGNED_LONG_LONG_INT=1 else HAVE_UNSIGNED_LONG_LONG_INT=0 fi if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi if test $ac_cv_header_inttypes_h = yes; then HAVE_INTTYPES_H=1 else HAVE_INTTYPES_H=0 fi if test $ac_cv_header_sys_types_h = yes; then HAVE_SYS_TYPES_H=1 else HAVE_SYS_TYPES_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_stdint_h='<'stdint.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stdint_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_stdint_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdint.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdint_h gl_cv_next_stdint_h='"'$gl_header'"' else gl_cv_next_stdint_h='<'stdint.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 $as_echo "$gl_cv_next_stdint_h" >&6; } fi NEXT_STDINT_H=$gl_cv_next_stdint_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdint.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdint_h fi NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive if test $ac_cv_header_stdint_h = yes; then HAVE_STDINT_H=1 else HAVE_STDINT_H=0 fi if test $ac_cv_header_stdint_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; } if ${gl_cv_header_working_stdint_h+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_working_stdint_h=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ #if !(defined WCHAR_MIN && defined WCHAR_MAX) #error "WCHAR_MIN, WCHAR_MAX not defined in " #endif /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #ifdef INT8_MAX int8_t a1 = INT8_MAX; int8_t a1min = INT8_MIN; #endif #ifdef INT16_MAX int16_t a2 = INT16_MAX; int16_t a2min = INT16_MIN; #endif #ifdef INT32_MAX int32_t a3 = INT32_MAX; int32_t a3min = INT32_MIN; #endif #ifdef INT64_MAX int64_t a4 = INT64_MAX; int64_t a4min = INT64_MIN; #endif #ifdef UINT8_MAX uint8_t b1 = UINT8_MAX; #else typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; #endif #ifdef UINT16_MAX uint16_t b2 = UINT16_MAX; #endif #ifdef UINT32_MAX uint32_t b3 = UINT32_MAX; #endif #ifdef UINT64_MAX uint64_t b4 = UINT64_MAX; #endif int_least8_t c1 = INT8_C (0x7f); int_least8_t c1max = INT_LEAST8_MAX; int_least8_t c1min = INT_LEAST8_MIN; int_least16_t c2 = INT16_C (0x7fff); int_least16_t c2max = INT_LEAST16_MAX; int_least16_t c2min = INT_LEAST16_MIN; int_least32_t c3 = INT32_C (0x7fffffff); int_least32_t c3max = INT_LEAST32_MAX; int_least32_t c3min = INT_LEAST32_MIN; int_least64_t c4 = INT64_C (0x7fffffffffffffff); int_least64_t c4max = INT_LEAST64_MAX; int_least64_t c4min = INT_LEAST64_MIN; uint_least8_t d1 = UINT8_C (0xff); uint_least8_t d1max = UINT_LEAST8_MAX; uint_least16_t d2 = UINT16_C (0xffff); uint_least16_t d2max = UINT_LEAST16_MAX; uint_least32_t d3 = UINT32_C (0xffffffff); uint_least32_t d3max = UINT_LEAST32_MAX; uint_least64_t d4 = UINT64_C (0xffffffffffffffff); uint_least64_t d4max = UINT_LEAST64_MAX; int_fast8_t e1 = INT_FAST8_MAX; int_fast8_t e1min = INT_FAST8_MIN; int_fast16_t e2 = INT_FAST16_MAX; int_fast16_t e2min = INT_FAST16_MIN; int_fast32_t e3 = INT_FAST32_MAX; int_fast32_t e3min = INT_FAST32_MIN; int_fast64_t e4 = INT_FAST64_MAX; int_fast64_t e4min = INT_FAST64_MIN; uint_fast8_t f1 = UINT_FAST8_MAX; uint_fast16_t f2 = UINT_FAST16_MAX; uint_fast32_t f3 = UINT_FAST32_MAX; uint_fast64_t f4 = UINT_FAST64_MAX; #ifdef INTPTR_MAX intptr_t g = INTPTR_MAX; intptr_t gmin = INTPTR_MIN; #endif #ifdef UINTPTR_MAX uintptr_t h = UINTPTR_MAX; #endif intmax_t i = INTMAX_MAX; uintmax_t j = UINTMAX_MAX; /* Check that SIZE_MAX has the correct type, if possible. */ #if 201112 <= __STDC_VERSION__ int k = _Generic (SIZE_MAX, size_t: 0); #elif (2 <= __GNUC__ || defined __IBM__TYPEOF__ \ || (0x5110 <= __SUNPRO_C && !__STDC__)) extern size_t k; extern __typeof__ (SIZE_MAX) k; #endif #include /* for CHAR_BIT */ #define TYPE_MINIMUM(t) \ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) #define TYPE_MAXIMUM(t) \ ((t) ((t) 0 < (t) -1 \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) struct s { int check_PTRDIFF: PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ? 1 : -1; /* Detect bug in FreeBSD 6.0 / ia64. */ int check_SIG_ATOMIC: SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ? 1 : -1; int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; int check_WCHAR: WCHAR_MIN == TYPE_MINIMUM (wchar_t) && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ? 1 : -1; /* Detect bug in mingw. */ int check_WINT: WINT_MIN == TYPE_MINIMUM (wint_t) && WINT_MAX == TYPE_MAXIMUM (wint_t) ? 1 : -1; /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ int check_UINT8_C: (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; int check_UINT16_C: (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; /* Detect bugs in OpenBSD 3.9 stdint.h. */ #ifdef UINT8_MAX int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; #endif #ifdef UINT16_MAX int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; #endif #ifdef UINT32_MAX int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; #endif #ifdef UINT64_MAX int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; #endif int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; }; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on native Windows. mingw*) gl_cv_header_working_stdint_h="guessing yes" ;; # In general, assume it works. *) gl_cv_header_working_stdint_h="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #include #include #define MVAL(macro) MVAL1(macro) #define MVAL1(expression) #expression static const char *macro_values[] = { #ifdef INT8_MAX MVAL (INT8_MAX), #endif #ifdef INT16_MAX MVAL (INT16_MAX), #endif #ifdef INT32_MAX MVAL (INT32_MAX), #endif #ifdef INT64_MAX MVAL (INT64_MAX), #endif #ifdef UINT8_MAX MVAL (UINT8_MAX), #endif #ifdef UINT16_MAX MVAL (UINT16_MAX), #endif #ifdef UINT32_MAX MVAL (UINT32_MAX), #endif #ifdef UINT64_MAX MVAL (UINT64_MAX), #endif NULL }; int main () { const char **mv; for (mv = macro_values; *mv != NULL; mv++) { const char *value = *mv; /* Test whether it looks like a cast expression. */ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 || strncmp (value, "((int)"/*)*/, 6) == 0 || strncmp (value, "((signed short)"/*)*/, 15) == 0 || strncmp (value, "((signed char)"/*)*/, 14) == 0) return mv - macro_values + 1; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_header_working_stdint_h=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 $as_echo "$gl_cv_header_working_stdint_h" >&6; } fi HAVE_C99_STDINT_H=0 HAVE_SYS_BITYPES_H=0 HAVE_SYS_INTTYPES_H=0 STDINT_H=stdint.h case "$gl_cv_header_working_stdint_h" in *yes) HAVE_C99_STDINT_H=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5 $as_echo_n "checking whether stdint.h predates C++11... " >&6; } if ${gl_cv_header_stdint_predates_cxx11_h+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_stdint_predates_cxx11_h=yes cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #include /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif intmax_t im = INTMAX_MAX; int32_t i32 = INT32_C (0x7fffffff); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_stdint_predates_cxx11_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_predates_cxx11_h" >&5 $as_echo "$gl_cv_header_stdint_predates_cxx11_h" >&6; } if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then $as_echo "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h $as_echo "#define __STDC_LIMIT_MACROS 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5 $as_echo_n "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; } if ${gl_cv_header_stdint_width+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_stdint_width=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif int iw = UINTMAX_WIDTH; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_stdint_width=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_width" >&5 $as_echo "$gl_cv_header_stdint_width" >&6; } if test "$gl_cv_header_stdint_width" = yes; then STDINT_H= fi ;; *) for ac_header in sys/inttypes.h sys/bitypes.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_sys_inttypes_h = yes; then HAVE_SYS_INTTYPES_H=1 fi if test $ac_cv_header_sys_bitypes_h = yes; then HAVE_SYS_BITYPES_H=1 fi if test $APPLE_UNIVERSAL_BUILD = 0; then for gltype in ptrdiff_t size_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 $as_echo_n "checking for bit size of $gltype... " >&6; } if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #include "; then : else result=unknown fi eval gl_cv_bitsizeof_${gltype}=\$result fi eval ac_res=\$gl_cv_bitsizeof_${gltype} { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` cat >>confdefs.h <<_ACEOF #define BITSIZEOF_${GLTYPE} $result _ACEOF eval BITSIZEOF_${GLTYPE}=\$result done fi for gltype in sig_atomic_t wchar_t wint_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 $as_echo_n "checking for bit size of $gltype... " >&6; } if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif #include "; then : else result=unknown fi eval gl_cv_bitsizeof_${gltype}=\$result fi eval ac_res=\$gl_cv_bitsizeof_${gltype} { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` cat >>confdefs.h <<_ACEOF #define BITSIZEOF_${GLTYPE} $result _ACEOF eval BITSIZEOF_${GLTYPE}=\$result done for gltype in sig_atomic_t wchar_t wint_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 $as_echo_n "checking whether $gltype is signed... " >&6; } if eval \${gl_cv_type_${gltype}_signed+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : result=yes else result=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext eval gl_cv_type_${gltype}_signed=\$result fi eval ac_res=\$gl_cv_type_${gltype}_signed { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval result=\$gl_cv_type_${gltype}_signed GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` if test "$result" = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_SIGNED_${GLTYPE} 1 _ACEOF eval HAVE_SIGNED_${GLTYPE}=1 else eval HAVE_SIGNED_${GLTYPE}=0 fi done gl_cv_type_ptrdiff_t_signed=yes gl_cv_type_size_t_signed=no if test $APPLE_UNIVERSAL_BUILD = 0; then for gltype in ptrdiff_t size_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } if eval \${gl_cv_type_${gltype}_suffix+:} false; then : $as_echo_n "(cached) " >&6 else eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif extern $gltype foo; extern $gltype1 foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done fi eval ac_res=\$gl_cv_type_${gltype}_suffix { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result cat >>confdefs.h <<_ACEOF #define ${GLTYPE}_SUFFIX $result _ACEOF done fi for gltype in sig_atomic_t wchar_t wint_t ; do { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } if eval \${gl_cv_type_${gltype}_suffix+:} false; then : $as_echo_n "(cached) " >&6 else eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif extern $gltype foo; extern $gltype1 foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done fi eval ac_res=\$gl_cv_type_${gltype}_suffix { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result cat >>confdefs.h <<_ACEOF #define ${GLTYPE}_SUFFIX $result _ACEOF done if test $GNULIB_OVERRIDES_WINT_T = 1; then BITSIZEOF_WINT_T=32 fi ;; esac LIMITS_H='limits.h' if test -n "$LIMITS_H"; then GL_GENERATE_LIMITS_H_TRUE= GL_GENERATE_LIMITS_H_FALSE='#' else GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE= fi if test -n "$STDINT_H"; then GL_GENERATE_STDINT_H_TRUE= GL_GENERATE_STDINT_H_FALSE='#' else GL_GENERATE_STDINT_H_TRUE='#' GL_GENERATE_STDINT_H_FALSE= fi if test $gl_cv_have_include_next = yes; then gl_cv_next_string_h='<'string.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_string_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'string.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_string_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_string_h gl_cv_next_string_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 $as_echo "$gl_cv_next_string_h" >&6; } fi NEXT_STRING_H=$gl_cv_next_string_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'string.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_string_h fi NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" if test "x$ac_cv_have_decl_strndup" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRNDUP $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" if test "x$ac_cv_have_decl_strnlen" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRNLEN $ac_have_decl _ACEOF GNULIB_CTIME=0; GNULIB_MKTIME=0; GNULIB_LOCALTIME=0; GNULIB_NANOSLEEP=0; GNULIB_STRFTIME=0; GNULIB_STRPTIME=0; GNULIB_TIMEGM=0; GNULIB_TIME_R=0; GNULIB_TIME_RZ=0; GNULIB_TZSET=0; HAVE_DECL_LOCALTIME_R=1; HAVE_NANOSLEEP=1; HAVE_STRPTIME=1; HAVE_TIMEGM=1; HAVE_TZSET=1; HAVE_TIMEZONE_T=0; REPLACE_CTIME=GNULIB_PORTCHECK; REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; REPLACE_MKTIME=GNULIB_PORTCHECK; REPLACE_NANOSLEEP=GNULIB_PORTCHECK; REPLACE_STRFTIME=GNULIB_PORTCHECK; REPLACE_TIMEGM=GNULIB_PORTCHECK; REPLACE_TZSET=GNULIB_PORTCHECK; : ${GNULIB_GETTIMEOFDAY=0}; REPLACE_GMTIME=0; REPLACE_LOCALTIME=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_time_h=yes else gl_cv_sys_struct_timespec_in_time_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } TIME_H_DEFINES_STRUCT_TIMESPEC=0 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then TIME_H_DEFINES_STRUCT_TIMESPEC=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_sys_time_h=yes else gl_cv_sys_struct_timespec_in_sys_time_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_pthread_h=yes else gl_cv_sys_struct_timespec_in_pthread_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 $as_echo_n "checking for struct timespec in ... " >&6; } if ${gl_cv_sys_struct_timespec_in_unistd_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timespec_in_unistd_h=yes else gl_cv_sys_struct_timespec_in_unistd_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_unistd_h" >&5 $as_echo "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; } if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 fi fi fi fi if test $gl_cv_have_include_next = yes; then gl_cv_next_time_h='<'time.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_time_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'time.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_time_h gl_cv_next_time_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 $as_echo "$gl_cv_next_time_h" >&6; } fi NEXT_TIME_H=$gl_cv_next_time_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'time.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_time_h fi NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive if test $ac_cv_header_features_h = yes; then HAVE_FEATURES_H=1 else HAVE_FEATURES_H=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 $as_echo_n "checking for inttypes.h... " >&6; } if ${gl_cv_header_inttypes_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_inttypes_h=yes else gl_cv_header_inttypes_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 $as_echo "$gl_cv_header_inttypes_h" >&6; } if test $gl_cv_header_inttypes_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H_WITH_UINTMAX 1 _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 $as_echo_n "checking for stdint.h... " >&6; } if ${gl_cv_header_stdint_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_stdint_h=yes else gl_cv_header_stdint_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 $as_echo "$gl_cv_header_stdint_h" >&6; } if test $gl_cv_header_stdint_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H_WITH_UINTMAX 1 _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 $as_echo_n "checking for intmax_t... " >&6; } if ${gt_cv_c_intmax_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif int main () { intmax_t x = -1; return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_intmax_t=yes else gt_cv_c_intmax_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 $as_echo "$gt_cv_c_intmax_t" >&6; } if test $gt_cv_c_intmax_t = yes; then $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h else test $ac_cv_type_long_long_int = yes \ && ac_type='long long' \ || ac_type='long' cat >>confdefs.h <<_ACEOF #define intmax_t $ac_type _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 $as_echo_n "checking where to find the exponent in a 'double'... " >&6; } if ${gl_cv_cc_double_expbit0+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined arm || defined __arm || defined __arm__ mixed_endianness #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "mixed_endianness" >/dev/null 2>&1; then : gl_cv_cc_double_expbit0="unknown" else : if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi : case $ac_cv_c_bigendian in #( yes) gl_cv_cc_double_expbit0="word 0 bit 20";; #( no) gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( universal) $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) gl_cv_cc_double_expbit0="unknown" ;; esac fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { double value; unsigned int word[NWORDS]; } memory_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (double x) { memory_double m; size_t i; /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ memset (&m, 0, sizeof (memory_double)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25); add_to_ored_words (0.5); add_to_ored_words (1.0); add_to_ored_words (2.0); add_to_ored_words (4.0); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_cc_double_expbit0=`cat conftest.out` else gl_cv_cc_double_expbit0="unknown" fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 $as_echo "$gl_cv_cc_double_expbit0" >&6; } case "$gl_cv_cc_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` cat >>confdefs.h <<_ACEOF #define DBL_EXPBIT0_WORD $word _ACEOF cat >>confdefs.h <<_ACEOF #define DBL_EXPBIT0_BIT $bit _ACEOF ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } if ${gl_cv_func_snprintf_retval_c99+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_retval_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_retval_c99="guessing no";; openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_retval_c99="guessing no";; netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on MSVC, no on mingw. mingw*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Known" >/dev/null 2>&1; then : gl_cv_func_snprintf_retval_c99="guessing yes" else gl_cv_func_snprintf_retval_c99="guessing no" fi rm -f conftest* ;; # If we don't know, assume the worst. *) gl_cv_func_snprintf_retval_c99="guessing no";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_snprintf_retval_c99=yes else gl_cv_func_snprintf_retval_c99=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 $as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include " if test "x$ac_cv_have_decl__snprintf" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__SNPRINTF $ac_have_decl _ACEOF case "$gl_cv_func_snprintf_retval_c99" in *yes) $as_echo "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h ;; esac XGETTEXT_EXTRA_OPTIONS= GNULIB_BTOWC=0; GNULIB_WCTOB=0; GNULIB_MBSINIT=0; GNULIB_MBRTOWC=0; GNULIB_MBRLEN=0; GNULIB_MBSRTOWCS=0; GNULIB_MBSNRTOWCS=0; GNULIB_WCRTOMB=0; GNULIB_WCSRTOMBS=0; GNULIB_WCSNRTOMBS=0; GNULIB_WCWIDTH=0; GNULIB_WMEMCHR=0; GNULIB_WMEMCMP=0; GNULIB_WMEMCPY=0; GNULIB_WMEMMOVE=0; GNULIB_WMEMSET=0; GNULIB_WCSLEN=0; GNULIB_WCSNLEN=0; GNULIB_WCSCPY=0; GNULIB_WCPCPY=0; GNULIB_WCSNCPY=0; GNULIB_WCPNCPY=0; GNULIB_WCSCAT=0; GNULIB_WCSNCAT=0; GNULIB_WCSCMP=0; GNULIB_WCSNCMP=0; GNULIB_WCSCASECMP=0; GNULIB_WCSNCASECMP=0; GNULIB_WCSCOLL=0; GNULIB_WCSXFRM=0; GNULIB_WCSDUP=0; GNULIB_WCSCHR=0; GNULIB_WCSRCHR=0; GNULIB_WCSCSPN=0; GNULIB_WCSSPN=0; GNULIB_WCSPBRK=0; GNULIB_WCSSTR=0; GNULIB_WCSTOK=0; GNULIB_WCSWIDTH=0; GNULIB_WCSFTIME=0; HAVE_BTOWC=1; HAVE_MBSINIT=1; HAVE_MBRTOWC=1; HAVE_MBRLEN=1; HAVE_MBSRTOWCS=1; HAVE_MBSNRTOWCS=1; HAVE_WCRTOMB=1; HAVE_WCSRTOMBS=1; HAVE_WCSNRTOMBS=1; HAVE_WMEMCHR=1; HAVE_WMEMCMP=1; HAVE_WMEMCPY=1; HAVE_WMEMMOVE=1; HAVE_WMEMSET=1; HAVE_WCSLEN=1; HAVE_WCSNLEN=1; HAVE_WCSCPY=1; HAVE_WCPCPY=1; HAVE_WCSNCPY=1; HAVE_WCPNCPY=1; HAVE_WCSCAT=1; HAVE_WCSNCAT=1; HAVE_WCSCMP=1; HAVE_WCSNCMP=1; HAVE_WCSCASECMP=1; HAVE_WCSNCASECMP=1; HAVE_WCSCOLL=1; HAVE_WCSXFRM=1; HAVE_WCSDUP=1; HAVE_WCSCHR=1; HAVE_WCSRCHR=1; HAVE_WCSCSPN=1; HAVE_WCSSPN=1; HAVE_WCSPBRK=1; HAVE_WCSSTR=1; HAVE_WCSTOK=1; HAVE_WCSWIDTH=1; HAVE_WCSFTIME=1; HAVE_DECL_WCTOB=1; HAVE_DECL_WCWIDTH=1; REPLACE_MBSTATE_T=0; REPLACE_BTOWC=0; REPLACE_WCTOB=0; REPLACE_MBSINIT=0; REPLACE_MBRTOWC=0; REPLACE_MBRLEN=0; REPLACE_MBSRTOWCS=0; REPLACE_MBSNRTOWCS=0; REPLACE_WCRTOMB=0; REPLACE_WCSRTOMBS=0; REPLACE_WCSNRTOMBS=0; REPLACE_WCWIDTH=0; REPLACE_WCSWIDTH=0; REPLACE_WCSFTIME=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 $as_echo_n "checking whether uses 'inline' correctly... " >&6; } if ${gl_cv_header_wchar_h_correct_inline+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_header_wchar_h_correct_inline=yes cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include extern int zero (void); int main () { return zero(); } _ACEOF save_ac_compile="$ac_compile" ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest1/` if echo '#include "conftest.c"' >conftest1.c && { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int zero (void) { return 0; } _ACEOF ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest2/` if echo '#include "conftest.c"' >conftest2.c && { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then : else gl_cv_header_wchar_h_correct_inline=no fi fi fi ac_compile="$save_ac_compile" rm -f conftest12.c conftest12.$ac_objext conftest$ac_exeext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } if test $gl_cv_header_wchar_h_correct_inline = no; then as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: - Add the flag -fgnu89-inline to CC and reconfigure, or - Fix your include files, using parts of , or - Use a gcc version older than 4.3, or - Don't use the flags -std=c99 or -std=gnu99. Configuration aborted." "$LINENO" 5 fi if test $ac_cv_header_crtdefs_h = yes; then HAVE_CRTDEFS_H=1 else HAVE_CRTDEFS_H=0 fi GNULIB_INET_NTOP=0; GNULIB_INET_PTON=0; HAVE_DECL_INET_NTOP=1; HAVE_DECL_INET_PTON=1; REPLACE_INET_NTOP=0; REPLACE_INET_PTON=0; GNULIB_ISBLANK=0; HAVE_ISBLANK=1; { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 $as_echo_n "checking if environ is properly declared... " >&6; } if ${gt_cv_var_environ_declaration+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if HAVE_UNISTD_H #include #endif /* mingw, BeOS, Haiku declare environ in , not in . */ #include extern struct { int foo; } environ; int main () { environ.foo = 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_var_environ_declaration=no else gt_cv_var_environ_declaration=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5 $as_echo "$gt_cv_var_environ_declaration" >&6; } if test $gt_cv_var_environ_declaration = yes; then $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h fi if test $gt_cv_var_environ_declaration != yes; then HAVE_DECL_ENVIRON=0 fi GNULIB_FCNTL=0; GNULIB_NONBLOCKING=0; GNULIB_OPEN=0; GNULIB_OPENAT=0; HAVE_FCNTL=1; HAVE_OPENAT=1; REPLACE_FCNTL=0; REPLACE_OPEN=0; REPLACE_OPENAT=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 $as_echo_n "checking for working fcntl.h... " >&6; } if ${gl_cv_header_working_fcntl_h+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess 'no' on native Windows. mingw*) gl_cv_header_working_fcntl_h='no' ;; *) gl_cv_header_working_fcntl_h=cross-compiling ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include # include # defined sleep(n) _sleep ((n) * 1000) #endif #include #ifndef O_NOATIME #define O_NOATIME 0 #endif #ifndef O_NOFOLLOW #define O_NOFOLLOW 0 #endif static int const constants[] = { O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY }; int main () { int result = !constants; #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink ("/dev/null", sym) != 0) result |= 2; else { int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); if (fd >= 0) { close (fd); result |= 4; } } if (unlink (sym) != 0 || symlink (".", sym) != 0) result |= 2; else { int fd = open (sym, O_RDONLY | O_NOFOLLOW); if (fd >= 0) { close (fd); result |= 4; } } unlink (sym); } #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); if (fd < 0) result |= 8; else { struct stat st0; if (fstat (fd, &st0) != 0) result |= 16; else { char c; sleep (1); if (read (fd, &c, 1) != 1) result |= 24; else { if (close (fd) != 0) result |= 32; else { struct stat st1; if (stat (file, &st1) != 0) result |= 40; else if (st0.st_atime != st1.st_atime) result |= 64; } } } } } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_header_working_fcntl_h=yes else case $? in #( 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( *) gl_cv_header_working_fcntl_h='no';; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 $as_echo "$gl_cv_header_working_fcntl_h" >&6; } case $gl_cv_header_working_fcntl_h in #( *O_NOATIME* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac cat >>confdefs.h <<_ACEOF #define HAVE_WORKING_O_NOATIME $ac_val _ACEOF case $gl_cv_header_working_fcntl_h in #( *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac cat >>confdefs.h <<_ACEOF #define HAVE_WORKING_O_NOFOLLOW $ac_val _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 $as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; } if ${gl_cv_func_ungetc_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on bionic systems. *-android*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_ungetc_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_ungetc_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f; if (!(f = fopen ("conftest.tmp", "w+"))) return 1; if (fputs ("abc", f) < 0) { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != 'b') { fclose (f); return 4; } if (ungetc ('d', f) != 'd') { fclose (f); return 5; } if (ftell (f) != 1) { fclose (f); return 6; } if (fgetc (f) != 'd') { fclose (f); return 7; } if (ftell (f) != 2) { fclose (f); return 8; } if (fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 9; } if (ftell (f) != 2) { fclose (f); return 10; } if (fgetc (f) != 'c') { fclose (f); return 11; } fclose (f); remove ("conftest.tmp"); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_ungetc_works=yes else gl_cv_func_ungetc_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5 $as_echo "$gl_cv_func_ungetc_works" >&6; } case "$gl_cv_func_ungetc_works" in *yes) ;; *) $as_echo "#define FUNC_UNGETC_BROKEN 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5 $as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; } if ${gl_cv_func_getcwd_null+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on Cygwin. cygwin*) gl_cv_func_getcwd_null="guessing yes";; # If we don't know, assume the worst. *) gl_cv_func_getcwd_null="guessing no";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # include # if HAVE_UNISTD_H # include # else /* on Windows with MSVC */ # include # endif # ifndef getcwd char *getcwd (); # endif int main () { #if defined _WIN32 && ! defined __CYGWIN__ /* mingw cwd does not start with '/', but getcwd does allocate. However, mingw fails to honor non-zero size. */ #else if (chdir ("/") != 0) return 1; else { char *f = getcwd (NULL, 0); if (! f) return 2; if (f[0] != '/') { free (f); return 3; } if (f[1] != '\0') { free (f); return 4; } free (f); return 0; } #endif ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getcwd_null=yes else gl_cv_func_getcwd_null=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5 $as_echo "$gl_cv_func_getcwd_null" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5 $as_echo_n "checking for getcwd with POSIX signature... " >&6; } if ${gl_cv_func_getcwd_posix_signature+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { extern #ifdef __cplusplus "C" #endif char *getcwd (char *, size_t); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_getcwd_posix_signature=yes else gl_cv_func_getcwd_posix_signature=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5 $as_echo "$gl_cv_func_getcwd_posix_signature" >&6; } ac_fn_c_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default" if test "x$ac_cv_have_decl_getdtablesize" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETDTABLESIZE $ac_have_decl _ACEOF GNULIB_GETRUSAGE=0; HAVE_GETRUSAGE=1; GNULIB_GETTIMEOFDAY=0; HAVE_GETTIMEOFDAY=1; HAVE_STRUCT_TIMEVAL=1; HAVE_SYS_TIME_H=1; REPLACE_GETTIMEOFDAY=0; REPLACE_STRUCT_TIMEVAL=0; if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_time_h='<'sys/time.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_time_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_time_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/time.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_time_h gl_cv_next_sys_time_h='"'$gl_header'"' else gl_cv_next_sys_time_h='<'sys/time.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5 $as_echo "$gl_cv_next_sys_time_h" >&6; } fi NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/time.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_time_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive if test $ac_cv_header_sys_time_h != yes; then HAVE_SYS_TIME_H=0 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 $as_echo_n "checking for struct timeval... " >&6; } if ${gl_cv_sys_struct_timeval+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif int main () { static struct timeval x; x.tv_sec = x.tv_usec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timeval=yes else gl_cv_sys_struct_timeval=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5 $as_echo "$gl_cv_sys_struct_timeval" >&6; } if test $gl_cv_sys_struct_timeval != yes; then HAVE_STRUCT_TIMEVAL=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wide-enough struct timeval.tv_sec member" >&5 $as_echo_n "checking for wide-enough struct timeval.tv_sec member... " >&6; } if ${gl_cv_sys_struct_timeval_tv_sec+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif int main () { static struct timeval x; typedef int verify_tv_sec_type[ sizeof (time_t) <= sizeof x.tv_sec ? 1 : -1 ]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_sys_struct_timeval_tv_sec=yes else gl_cv_sys_struct_timeval_tv_sec=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval_tv_sec" >&5 $as_echo "$gl_cv_sys_struct_timeval_tv_sec" >&6; } if test $gl_cv_sys_struct_timeval_tv_sec != yes; then REPLACE_STRUCT_TIMEVAL=1 fi fi NEED_LOCALTIME_BUFFER=0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 $as_echo_n "checking for IPv4 sockets... " >&6; } if ${gl_cv_socket_ipv4+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif int main () { int x = AF_INET; struct in_addr y; struct sockaddr_in z; if (&x && &y && &z) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_socket_ipv4=yes else gl_cv_socket_ipv4=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 $as_echo "$gl_cv_socket_ipv4" >&6; } if test $gl_cv_socket_ipv4 = yes; then $as_echo "#define HAVE_IPV4 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 $as_echo_n "checking for IPv6 sockets... " >&6; } if ${gl_cv_socket_ipv6+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif int main () { int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; if (&x && &y && &z) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_socket_ipv6=yes else gl_cv_socket_ipv6=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 $as_echo "$gl_cv_socket_ipv6" >&6; } if test $gl_cv_socket_ipv6 = yes; then $as_echo "#define HAVE_IPV6 1" >>confdefs.h fi GNULIB_IMAXABS=0; GNULIB_IMAXDIV=0; GNULIB_STRTOIMAX=0; GNULIB_STRTOUMAX=0; HAVE_DECL_IMAXABS=1; HAVE_DECL_IMAXDIV=1; HAVE_DECL_STRTOIMAX=1; HAVE_DECL_STRTOUMAX=1; HAVE_IMAXDIV_T=1; REPLACE_STRTOIMAX=0; REPLACE_STRTOUMAX=0; INT32_MAX_LT_INTMAX_MAX=1; INT64_MAX_EQ_LONG_MAX='defined _LP64'; PRI_MACROS_BROKEN=0; PRIPTR_PREFIX=__PRIPTR_PREFIX; UINT32_MAX_LT_UINTMAX_MAX=1; UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; if test $gl_cv_have_include_next = yes; then gl_cv_next_inttypes_h='<'inttypes.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_inttypes_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_inttypes_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'inttypes.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_inttypes_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_inttypes_h gl_cv_next_inttypes_h='"'$gl_header'"' else gl_cv_next_inttypes_h='<'inttypes.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 $as_echo "$gl_cv_next_inttypes_h" >&6; } fi NEXT_INTTYPES_H=$gl_cv_next_inttypes_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'inttypes.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_inttypes_h fi NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive for ac_header in inttypes.h do : ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" if test "x$ac_cv_header_inttypes_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H 1 _ACEOF fi done if test $ac_cv_header_inttypes_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; } if ${gt_cv_inttypes_pri_broken+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef PRId32 char *p = PRId32; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_inttypes_pri_broken=no else gt_cv_inttypes_pri_broken=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5 $as_echo "$gt_cv_inttypes_pri_broken" >&6; } fi if test "$gt_cv_inttypes_pri_broken" = yes; then cat >>confdefs.h <<_ACEOF #define PRI_MACROS_BROKEN 1 _ACEOF PRI_MACROS_BROKEN=1 else PRI_MACROS_BROKEN=0 fi gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 $as_echo_n "checking whether imported symbols can be declared weak... " >&6; } if ${gl_cv_have_weak+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int main () { xyzzy(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_have_weak=maybe fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test $gl_cv_have_weak = maybe; then if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ELF__ Extensible Linking Format #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : gl_cv_have_weak="guessing yes" else gl_cv_have_weak="guessing no" fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #pragma weak fputs int main () { return (fputs == NULL); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_have_weak=yes else gl_cv_have_weak=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 $as_echo "$gl_cv_have_weak" >&6; } if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then : fi if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes; then : gl_have_pthread_h=yes else gl_have_pthread_h=no fi if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads gl_have_pthread= # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html save_LIBS=$LIBS for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include pthread_mutex_t m; pthread_mutexattr_t ma; int main () { pthread_mutex_lock (&m); pthread_mutexattr_init (&ma); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_have_pthread=yes LIBTHREAD=$gl_pthread LTLIBTHREAD=$gl_pthread LIBMULTITHREAD=$gl_pthread LTLIBMULTITHREAD=$gl_pthread fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$save_LIBS test -n "$gl_have_pthread" && break done # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test -n "$gl_have_pthread" && test -z "$LIBTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_kill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_kill=yes else ac_cv_lib_pthread_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in solaris | solaris2.1-9 | solaris2.1-9.* | hpux*) $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h esac fi elif test -z "$gl_have_pthread"; then # Some library is needed. Try libpthread and libc_r. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_kill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_kill=yes else ac_cv_lib_pthread_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread fi if test -z "$gl_have_pthread"; then # For FreeBSD 4. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 $as_echo_n "checking for pthread_kill in -lc_r... " >&6; } if ${ac_cv_lib_c_r_pthread_kill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_c_r_pthread_kill=yes else ac_cv_lib_c_r_pthread_kill=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : gl_have_pthread=yes LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r fi fi fi if test -n "$gl_have_pthread"; then gl_threads_api=posix $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= fi fi fi fi fi if test -z "$gl_have_pthread"; then case "$gl_use_threads" in yes | windows | win32) # The 'win32' is for backward compatibility. if { case "$host_os" in mingw*) true;; *) false;; esac }; then gl_threads_api=windows $as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h fi ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 $as_echo_n "checking for multithread API to use... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 $as_echo "$gl_threads_api" >&6; } ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" if test "x$ac_cv_have_decl_alarm" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ALARM $ac_have_decl _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then : $as_echo_n "(cached) " >&6 else rm -f conftest.sym conftest.file echo >conftest.file if test "$cross_compiling" = yes; then : case "$host_os" in linux-* | linux) # Guess yes on Linux systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; *-gnu* | gnu*) # Guess yes on glibc systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; mingw*) # Guess no on native Windows. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; *) # If we don't know, assume the worst. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; if (symlink ("conftest.file", "conftest.sym") != 0) return 1; /* Linux will dereference the symlink and fail, as required by POSIX. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_lstat_dereferences_slashed_symlink=yes else gl_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.sym conftest.file fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 $as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } case "$gl_cv_func_lstat_dereferences_slashed_symlink" in *yes) cat >>confdefs.h <<_ACEOF #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 _ACEOF ;; esac GNULIB__EXIT=0; GNULIB_ATOLL=0; GNULIB_CALLOC_POSIX=0; GNULIB_CANONICALIZE_FILE_NAME=0; GNULIB_GETLOADAVG=0; GNULIB_GETSUBOPT=0; GNULIB_GRANTPT=0; GNULIB_MALLOC_POSIX=0; GNULIB_MBTOWC=0; GNULIB_MKDTEMP=0; GNULIB_MKOSTEMP=0; GNULIB_MKOSTEMPS=0; GNULIB_MKSTEMP=0; GNULIB_MKSTEMPS=0; GNULIB_POSIX_OPENPT=0; GNULIB_PTSNAME=0; GNULIB_PTSNAME_R=0; GNULIB_PUTENV=0; GNULIB_QSORT_R=0; GNULIB_RANDOM=0; GNULIB_RANDOM_R=0; GNULIB_REALLOCARRAY=0; GNULIB_REALLOC_POSIX=0; GNULIB_REALPATH=0; GNULIB_RPMATCH=0; GNULIB_SECURE_GETENV=0; GNULIB_SETENV=0; GNULIB_STRTOD=0; GNULIB_STRTOLD=0; GNULIB_STRTOLL=0; GNULIB_STRTOULL=0; GNULIB_SYSTEM_POSIX=0; GNULIB_UNLOCKPT=0; GNULIB_UNSETENV=0; GNULIB_WCTOMB=0; HAVE__EXIT=1; HAVE_ATOLL=1; HAVE_CANONICALIZE_FILE_NAME=1; HAVE_DECL_GETLOADAVG=1; HAVE_GETSUBOPT=1; HAVE_GRANTPT=1; HAVE_INITSTATE=1; HAVE_DECL_INITSTATE=1; HAVE_MBTOWC=1; HAVE_MKDTEMP=1; HAVE_MKOSTEMP=1; HAVE_MKOSTEMPS=1; HAVE_MKSTEMP=1; HAVE_MKSTEMPS=1; HAVE_POSIX_OPENPT=1; HAVE_PTSNAME=1; HAVE_PTSNAME_R=1; HAVE_QSORT_R=1; HAVE_RANDOM=1; HAVE_RANDOM_H=1; HAVE_RANDOM_R=1; HAVE_REALLOCARRAY=1; HAVE_REALPATH=1; HAVE_RPMATCH=1; HAVE_SECURE_GETENV=1; HAVE_SETENV=1; HAVE_DECL_SETENV=1; HAVE_SETSTATE=1; HAVE_DECL_SETSTATE=1; HAVE_STRTOD=1; HAVE_STRTOLD=1; HAVE_STRTOLL=1; HAVE_STRTOULL=1; HAVE_STRUCT_RANDOM_DATA=1; HAVE_SYS_LOADAVG_H=0; HAVE_UNLOCKPT=1; HAVE_DECL_UNSETENV=1; REPLACE_CALLOC=0; REPLACE_CANONICALIZE_FILE_NAME=0; REPLACE_INITSTATE=0; REPLACE_MALLOC=0; REPLACE_MBTOWC=0; REPLACE_MKSTEMP=0; REPLACE_PTSNAME=0; REPLACE_PTSNAME_R=0; REPLACE_PUTENV=0; REPLACE_QSORT_R=0; REPLACE_RANDOM=0; REPLACE_RANDOM_R=0; REPLACE_REALLOC=0; REPLACE_REALPATH=0; REPLACE_SETENV=0; REPLACE_SETSTATE=0; REPLACE_STRTOD=0; REPLACE_STRTOLD=0; REPLACE_UNSETENV=0; REPLACE_WCTOMB=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } if ${gl_cv_func_malloc_posix+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #if defined _WIN32 && ! defined __CYGWIN__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_malloc_posix=yes else gl_cv_func_malloc_posix=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 $as_echo "$gl_cv_func_malloc_posix" >&6; } for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on platforms where we know the result. *-gnu* | gnu* | *-musl* | freebsd* | netbsd* | openbsd* \ | hpux* | solaris* | cygwin* | mingw*) ac_cv_func_malloc_0_nonnull="guessing yes" ;; # If we don't know, assume the worst. *) ac_cv_func_malloc_0_nonnull="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { char *p = malloc (0); int result = !p; free (p); return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } case "$ac_cv_func_malloc_0_nonnull" in *yes) gl_cv_func_malloc_0_nonnull=1 ;; *) gl_cv_func_malloc_0_nonnull=0 ;; esac cat >>confdefs.h <<_ACEOF #define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull _ACEOF GNULIB_PSELECT=0; GNULIB_SELECT=0; HAVE_PSELECT=1; REPLACE_PSELECT=0; REPLACE_SELECT=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 $as_echo_n "checking whether is self-contained... " >&6; } if ${gl_cv_header_sys_select_h_selfcontained+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { struct timeval b; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_sys_select_h_selfcontained=yes else gl_cv_header_sys_select_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $gl_cv_header_sys_select_h_selfcontained = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int memset; int bzero; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #undef memset #define memset nonexistent_memset extern #ifdef __cplusplus "C" #endif void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero extern #ifdef __cplusplus "C" #endif void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else gl_cv_header_sys_select_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5 $as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; } if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_select_h='<'sys/select.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_select_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_select_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/select.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_select_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_select_h gl_cv_next_sys_select_h='"'$gl_header'"' else gl_cv_next_sys_select_h='<'sys/select.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5 $as_echo "$gl_cv_next_sys_select_h" >&6; } fi NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/select.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_select_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive if test $ac_cv_header_sys_select_h = yes; then HAVE_SYS_SELECT_H=1 else HAVE_SYS_SELECT_H=0 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi LIBSOCKET= if test $HAVE_WINSOCK2_H = 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5 $as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; } if ${gl_cv_func_wsastartup+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef HAVE_WINSOCK2_H # include #endif int main () { WORD wVersionRequested = MAKEWORD(1, 1); WSADATA wsaData; int err = WSAStartup(wVersionRequested, &wsaData); WSACleanup (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_wsastartup=yes else gl_cv_func_wsastartup=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 $as_echo "$gl_cv_func_wsastartup" >&6; } if test "$gl_cv_func_wsastartup" = "yes"; then $as_echo "#define WINDOWS_SOCKETS 1" >>confdefs.h LIBSOCKET='-lws2_32' fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 $as_echo_n "checking for library containing setsockopt... " >&6; } if ${gl_cv_lib_socket+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_lib_socket= cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else gl_save_LIBS="$LIBS" LIBS="$gl_save_LIBS -lsocket" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_lib_socket="-lsocket" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnetwork" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_lib_socket="-lnetwork" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnet" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif char setsockopt(); int main () { setsockopt(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_lib_socket="-lnet" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi fi LIBS="$gl_save_LIBS" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$gl_cv_lib_socket"; then gl_cv_lib_socket="none needed" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 $as_echo "$gl_cv_lib_socket" >&6; } if test "$gl_cv_lib_socket" != "none needed"; then LIBSOCKET="$gl_cv_lib_socket" fi fi : if test "$ac_cv_header_winsock2_h" = yes; then REPLACE_SELECT=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5 $as_echo_n "checking whether select supports a 0 argument... " >&6; } if ${gl_cv_func_select_supports0+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Interix. interix*) gl_cv_func_select_supports0="guessing no";; # Guess yes otherwise. *) gl_cv_func_select_supports0="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_SELECT_H #include #endif int main () { struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_select_supports0=yes else gl_cv_func_select_supports0=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 $as_echo "$gl_cv_func_select_supports0" >&6; } case "$gl_cv_func_select_supports0" in *yes) ;; *) REPLACE_SELECT=1 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select detects invalid fds" >&5 $as_echo_n "checking whether select detects invalid fds... " >&6; } if ${gl_cv_func_select_detects_ebadf+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_select_detects_ebadf="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_select_detects_ebadf="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_select_detects_ebadf="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_SELECT_H # include #endif #include #include int main () { fd_set set; dup2(0, 16); FD_ZERO(&set); FD_SET(16, &set); close(16); struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (17, &set, NULL, NULL, &timeout) != -1 || errno != EBADF; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_select_detects_ebadf=yes else gl_cv_func_select_detects_ebadf=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_detects_ebadf" >&5 $as_echo "$gl_cv_func_select_detects_ebadf" >&6; } case $gl_cv_func_select_detects_ebadf in *yes) ;; *) REPLACE_SELECT=1 ;; esac fi LIB_SELECT="$LIBSOCKET" if test $REPLACE_SELECT = 1; then case "$host_os" in mingw*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define WIN32_LEAN_AND_MEAN #include int main () { MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else LIB_SELECT="$LIB_SELECT -luser32" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5 $as_echo_n "checking for O_CLOEXEC... " >&6; } if ${gl_cv_macro_O_CLOEXEC+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef O_CLOEXEC choke me; #endif int main () { return O_CLOEXEC; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_macro_O_CLOEXEC=yes else gl_cv_macro_O_CLOEXEC=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_macro_O_CLOEXEC" >&5 $as_echo "$gl_cv_macro_O_CLOEXEC" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 $as_echo_n "checking for promoted mode_t type... " >&6; } if ${gl_cv_promoted_mode_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_promoted_mode_t='int' else gl_cv_promoted_mode_t='mode_t' fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 $as_echo "$gl_cv_promoted_mode_t" >&6; } cat >>confdefs.h <<_ACEOF #define PROMOTED_MODE_T $gl_cv_promoted_mode_t _ACEOF REPLACE_STRERROR_0=0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 $as_echo_n "checking whether strerror(0) succeeds... " >&6; } if ${gl_cv_func_strerror_0_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_strerror_0_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_strerror_0_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { int result = 0; char *str; errno = 0; str = strerror (0); if (!*str) result |= 1; if (errno) result |= 2; if (strstr (str, "nknown") || strstr (str, "ndefined")) result |= 4; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_strerror_0_works=yes else gl_cv_func_strerror_0_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 $as_echo "$gl_cv_func_strerror_0_works" >&6; } case "$gl_cv_func_strerror_0_works" in *yes) ;; *) REPLACE_STRERROR_0=1 $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h ;; esac if test $ac_cv_func_strerror_r = yes; then if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror_r with POSIX signature" >&5 $as_echo_n "checking for strerror_r with POSIX signature... " >&6; } if ${gl_cv_func_strerror_r_posix_signature+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int strerror_r (int, char *, size_t); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_strerror_r_posix_signature=yes else gl_cv_func_strerror_r_posix_signature=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_posix_signature" >&5 $as_echo "$gl_cv_func_strerror_r_posix_signature" >&6; } if test $gl_cv_func_strerror_r_posix_signature = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r works" >&5 $as_echo_n "checking whether strerror_r works... " >&6; } if ${gl_cv_func_strerror_r_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on AIX. aix*) gl_cv_func_strerror_r_works="guessing no";; # Guess no on HP-UX. hpux*) gl_cv_func_strerror_r_works="guessing no";; # Guess no on BSD variants. *bsd*) gl_cv_func_strerror_r_works="guessing no";; # Guess yes otherwise. *) gl_cv_func_strerror_r_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { int result = 0; char buf[79]; if (strerror_r (EACCES, buf, 0) < 0) result |= 1; errno = 0; if (strerror_r (EACCES, buf, sizeof buf) != 0) result |= 2; strcpy (buf, "Unknown"); if (strerror_r (0, buf, sizeof buf) != 0) result |= 4; if (errno) result |= 8; if (strstr (buf, "nknown") || strstr (buf, "ndefined")) result |= 0x10; errno = 0; *buf = 0; if (strerror_r (-3, buf, sizeof buf) < 0) result |= 0x20; if (errno) result |= 0x40; if (!*buf) result |= 0x80; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_strerror_r_works=yes else gl_cv_func_strerror_r_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5 $as_echo "$gl_cv_func_strerror_r_works" >&6; } else if test $ac_cv_func___xpg_strerror_r = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __xpg_strerror_r works" >&5 $as_echo_n "checking whether __xpg_strerror_r works... " >&6; } if ${gl_cv_func_strerror_r_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : gl_cv_func_strerror_r_works="guessing no" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif int __xpg_strerror_r(int, char *, size_t); int main () { int result = 0; char buf[256] = "^"; char copy[256]; char *str = strerror (-1); strcpy (copy, str); if (__xpg_strerror_r (-2, buf, 1) == 0) result |= 1; if (*buf) result |= 2; __xpg_strerror_r (-2, buf, 256); if (strcmp (str, copy)) result |= 4; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_strerror_r_works=yes else gl_cv_func_strerror_r_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5 $as_echo "$gl_cv_func_strerror_r_works" >&6; } fi fi fi fi ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" if test "x$ac_cv_have_decl_strerror_r" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRERROR_R $ac_have_decl _ACEOF if test $ac_cv_have_decl_strerror_r = no; then HAVE_DECL_STRERROR_R=0 fi if test $ac_cv_func_strerror_r = yes; then if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then if test $gl_cv_func_strerror_r_posix_signature = yes; then case "$gl_cv_func_strerror_r_works" in *no) REPLACE_STRERROR_R=1 ;; esac else REPLACE_STRERROR_R=1 fi else REPLACE_STRERROR_R=1 fi fi GNULIB_PTHREAD_THREAD=0; GNULIB_PTHREAD_ONCE=0; GNULIB_PTHREAD_MUTEX=0; GNULIB_PTHREAD_RWLOCK=0; GNULIB_PTHREAD_COND=0; GNULIB_PTHREAD_TSS=0; GNULIB_PTHREAD_SPIN=0; GNULIB_PTHREAD_MUTEX_TIMEDLOCK=0; HAVE_PTHREAD_T=1; HAVE_PTHREAD_SPINLOCK_T=1; HAVE_PTHREAD_CREATE_DETACHED=1; HAVE_PTHREAD_MUTEX_RECURSIVE=1; HAVE_PTHREAD_MUTEX_ROBUST=1; HAVE_PTHREAD_PROCESS_SHARED=1; HAVE_PTHREAD_CREATE=1; HAVE_PTHREAD_ATTR_INIT=1; HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; HAVE_PTHREAD_ATTR_DESTROY=1; HAVE_PTHREAD_SELF=1; HAVE_PTHREAD_EQUAL=1; HAVE_PTHREAD_DETACH=1; HAVE_PTHREAD_JOIN=1; HAVE_PTHREAD_EXIT=1; HAVE_PTHREAD_ONCE=1; HAVE_PTHREAD_MUTEX_INIT=1; HAVE_PTHREAD_MUTEXATTR_INIT=1; HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; HAVE_PTHREAD_MUTEXATTR_DESTROY=1; HAVE_PTHREAD_MUTEX_LOCK=1; HAVE_PTHREAD_MUTEX_TRYLOCK=1; HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; HAVE_PTHREAD_MUTEX_UNLOCK=1; HAVE_PTHREAD_MUTEX_DESTROY=1; HAVE_PTHREAD_RWLOCK_INIT=1; HAVE_PTHREAD_RWLOCKATTR_INIT=1; HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; HAVE_PTHREAD_RWLOCK_RDLOCK=1; HAVE_PTHREAD_RWLOCK_WRLOCK=1; HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; HAVE_PTHREAD_RWLOCK_UNLOCK=1; HAVE_PTHREAD_RWLOCK_DESTROY=1; HAVE_PTHREAD_COND_INIT=1; HAVE_PTHREAD_CONDATTR_INIT=1; HAVE_PTHREAD_CONDATTR_DESTROY=1; HAVE_PTHREAD_COND_WAIT=1; HAVE_PTHREAD_COND_TIMEDWAIT=1; HAVE_PTHREAD_COND_SIGNAL=1; HAVE_PTHREAD_COND_BROADCAST=1; HAVE_PTHREAD_COND_DESTROY=1; HAVE_PTHREAD_KEY_CREATE=1; HAVE_PTHREAD_SETSPECIFIC=1; HAVE_PTHREAD_GETSPECIFIC=1; HAVE_PTHREAD_KEY_DELETE=1; HAVE_PTHREAD_SPIN_INIT=1; HAVE_PTHREAD_SPIN_LOCK=1; HAVE_PTHREAD_SPIN_TRYLOCK=1; HAVE_PTHREAD_SPIN_UNLOCK=1; HAVE_PTHREAD_SPIN_DESTROY=1; REPLACE_PTHREAD_CREATE=0; REPLACE_PTHREAD_ATTR_INIT=0; REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; REPLACE_PTHREAD_ATTR_DESTROY=0; REPLACE_PTHREAD_SELF=0; REPLACE_PTHREAD_EQUAL=0; REPLACE_PTHREAD_DETACH=0; REPLACE_PTHREAD_JOIN=0; REPLACE_PTHREAD_EXIT=0; REPLACE_PTHREAD_ONCE=0; REPLACE_PTHREAD_MUTEX_INIT=0; REPLACE_PTHREAD_MUTEXATTR_INIT=0; REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; REPLACE_PTHREAD_MUTEX_LOCK=0; REPLACE_PTHREAD_MUTEX_TRYLOCK=0; REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; REPLACE_PTHREAD_MUTEX_UNLOCK=0; REPLACE_PTHREAD_MUTEX_DESTROY=0; REPLACE_PTHREAD_RWLOCK_INIT=0; REPLACE_PTHREAD_RWLOCKATTR_INIT=0; REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; REPLACE_PTHREAD_RWLOCK_RDLOCK=0; REPLACE_PTHREAD_RWLOCK_WRLOCK=0; REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; REPLACE_PTHREAD_RWLOCK_UNLOCK=0; REPLACE_PTHREAD_RWLOCK_DESTROY=0; REPLACE_PTHREAD_COND_INIT=0; REPLACE_PTHREAD_CONDATTR_INIT=0; REPLACE_PTHREAD_CONDATTR_DESTROY=0; REPLACE_PTHREAD_COND_WAIT=0; REPLACE_PTHREAD_COND_TIMEDWAIT=0; REPLACE_PTHREAD_COND_SIGNAL=0; REPLACE_PTHREAD_COND_BROADCAST=0; REPLACE_PTHREAD_COND_DESTROY=0; REPLACE_PTHREAD_KEY_CREATE=0; REPLACE_PTHREAD_SETSPECIFIC=0; REPLACE_PTHREAD_GETSPECIFIC=0; REPLACE_PTHREAD_KEY_DELETE=0; REPLACE_PTHREAD_SPIN_INIT=0; REPLACE_PTHREAD_SPIN_LOCK=0; REPLACE_PTHREAD_SPIN_TRYLOCK=0; REPLACE_PTHREAD_SPIN_UNLOCK=0; REPLACE_PTHREAD_SPIN_DESTROY=0; GNULIB_PTHREAD_SIGMASK=0; GNULIB_RAISE=0; GNULIB_SIGNAL_H_SIGPIPE=0; GNULIB_SIGPROCMASK=0; GNULIB_SIGACTION=0; HAVE_POSIX_SIGNALBLOCKING=1; HAVE_PTHREAD_SIGMASK=1; HAVE_RAISE=1; HAVE_SIGSET_T=1; HAVE_SIGINFO_T=1; HAVE_SIGACTION=1; HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; HAVE_SIGHANDLER_T=1; REPLACE_PTHREAD_SIGMASK=0; REPLACE_RAISE=0; ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" " #include /* Mingw defines sigset_t not in , but in . */ #include " if test "x$ac_cv_type_sigset_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SIGSET_T 1 _ACEOF gl_cv_type_sigset_t=yes else gl_cv_type_sigset_t=no fi if test $gl_cv_type_sigset_t != yes; then HAVE_SIGSET_T=0 fi GNULIB_SCHED_YIELD=0; HAVE_SCHED_YIELD=1; REPLACE_SCHED_YIELD=0; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } if ${ac_cv_type_uid_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "uid_t" >/dev/null 2>&1; then : ac_cv_type_uid_t=yes else ac_cv_type_uid_t=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 $as_echo "$ac_cv_type_uid_t" >&6; } if test $ac_cv_type_uid_t = no; then $as_echo "#define uid_t int" >>confdefs.h $as_echo "#define gid_t int" >>confdefs.h fi ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" if test "x$ac_cv_have_decl_unsetenv" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_UNSETENV $ac_have_decl _ACEOF YIELD_LIB= if test $gl_threads_api = posix; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5 $as_echo_n "checking for sched_yield in -lrt... " >&6; } if ${ac_cv_lib_rt_sched_yield+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sched_yield (); int main () { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_rt_sched_yield=yes else ac_cv_lib_rt_sched_yield=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; } if test "x$ac_cv_lib_rt_sched_yield" = xyes; then : YIELD_LIB=-lrt else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 $as_echo_n "checking for sched_yield in -lposix4... " >&6; } if ${ac_cv_lib_posix4_sched_yield+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sched_yield (); int main () { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_posix4_sched_yield=yes else ac_cv_lib_posix4_sched_yield=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; } if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then : YIELD_LIB=-lposix4 fi fi fi if true; then GL_COND_LIBTOOL_TRUE= GL_COND_LIBTOOL_FALSE='#' else GL_COND_LIBTOOL_TRUE='#' GL_COND_LIBTOOL_FALSE= fi gl_cond_libtool=true gl_m4_base='m4' gl_source_base='gl' if test $ac_cv_func_alloca_works = no; then : fi # Define an additional variable used in the Makefile substitution. if test $ac_cv_working_alloca_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 $as_echo_n "checking for alloca as a compiler built-in... " >&6; } if ${gl_cv_rpl_alloca+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __GNUC__ || defined _AIX || defined _MSC_VER Need own alloca #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Need own alloca" >/dev/null 2>&1; then : gl_cv_rpl_alloca=yes else gl_cv_rpl_alloca=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 $as_echo "$gl_cv_rpl_alloca" >&6; } if test $gl_cv_rpl_alloca = yes; then $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h ALLOCA_H=alloca.h else ALLOCA_H= fi else ALLOCA_H=alloca.h fi if test -n "$ALLOCA_H"; then GL_GENERATE_ALLOCA_H_TRUE= GL_GENERATE_ALLOCA_H_FALSE='#' else GL_GENERATE_ALLOCA_H_TRUE='#' GL_GENERATE_ALLOCA_H_FALSE= fi if test $ac_cv_working_alloca_h = yes; then HAVE_ALLOCA_H=1 else HAVE_ALLOCA_H=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5 $as_echo_n "checking for __builtin_expect... " >&6; } if ${gl_cv___builtin_expect+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (int argc, char **argv) { argc = __builtin_expect (argc, 100); return argv[argc != 100][0]; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv___builtin_expect=yes else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (int argc, char **argv) { argc = __builtin_expect (argc, 100); return argv[argc != 100][0]; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv___builtin_expect="in " else gl_cv___builtin_expect=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv___builtin_expect" >&5 $as_echo "$gl_cv___builtin_expect" >&6; } if test "$gl_cv___builtin_expect" = yes; then $as_echo "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h elif test "$gl_cv___builtin_expect" = "in "; then $as_echo "#define HAVE___BUILTIN_EXPECT 2" >>confdefs.h fi for ac_header in byteswap.h do : ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default" if test "x$ac_cv_header_byteswap_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BYTESWAP_H 1 _ACEOF BYTESWAP_H='' else BYTESWAP_H='byteswap.h' fi done if test -n "$BYTESWAP_H"; then GL_GENERATE_BYTESWAP_H_TRUE= GL_GENERATE_BYTESWAP_H_FALSE='#' else GL_GENERATE_BYTESWAP_H_TRUE='#' GL_GENERATE_BYTESWAP_H_FALSE= fi # Check whether --with-libgcrypt was given. if test "${with_libgcrypt+set}" = set; then : withval=$with_libgcrypt; libgcrypt=$withval else libgcrypt=yes fi if test "$libgcrypt" != no; then # gc-libgcrypt.c will fail on startup if we don't have # version 1.4.4 or later, so test for it early. */ gl_good_gcrypt=no # Check whether --with-libgcrypt-prefix was given. if test "${with_libgcrypt_prefix+set}" = set; then : withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval" else libgcrypt_config_prefix="" fi if test x"${LIBGCRYPT_CONFIG}" = x ; then if test x"${libgcrypt_config_prefix}" != x ; then LIBGCRYPT_CONFIG="${libgcrypt_config_prefix}/bin/libgcrypt-config" else case "${SYSROOT}" in /*) if test -x "${SYSROOT}/bin/libgcrypt-config" ; then LIBGCRYPT_CONFIG="${SYSROOT}/bin/libgcrypt-config" fi ;; '') ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring \$SYSROOT as it is not an absolute path." >&5 $as_echo "$as_me: WARNING: Ignoring \$SYSROOT as it is not an absolute path." >&2;} ;; esac fi fi # Extract the first word of "libgcrypt-config", so it can be a program name with args. set dummy libgcrypt-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $LIBGCRYPT_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no" ;; esac fi LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG if test -n "$LIBGCRYPT_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 $as_echo "$LIBGCRYPT_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi tmp=1.4.4 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'` else req_libgcrypt_api=0 min_libgcrypt_version="$tmp" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5 $as_echo_n "checking for LIBGCRYPT - version >= $min_libgcrypt_version... " >&6; } ok=no if test "$LIBGCRYPT_CONFIG" != "no" ; then req_major=`echo $min_libgcrypt_version | \ sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'` req_minor=`echo $min_libgcrypt_version | \ sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'` req_micro=`echo $min_libgcrypt_version | \ sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'` libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version` major=`echo $libgcrypt_config_version | \ sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'` minor=`echo $libgcrypt_config_version | \ sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'` micro=`echo $libgcrypt_config_version | \ sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'` if test "$major" -gt "$req_major"; then ok=yes else if test "$major" -eq "$req_major"; then if test "$minor" -gt "$req_minor"; then ok=yes else if test "$minor" -eq "$req_minor"; then if test "$micro" -ge "$req_micro"; then ok=yes fi fi fi fi fi fi if test $ok = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libgcrypt_config_version)" >&5 $as_echo "yes ($libgcrypt_config_version)" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test $ok = yes; then # If we have a recent libgcrypt, we should also check that the # API is compatible if test "$req_libgcrypt_api" -gt 0 ; then tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0` if test "$tmp" -gt 0 ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGCRYPT API version" >&5 $as_echo_n "checking LIBGCRYPT API version... " >&6; } if test "$req_libgcrypt_api" -eq "$tmp" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5 $as_echo "okay" >&6; } else ok=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5 $as_echo "does not match. want=$req_libgcrypt_api got=$tmp" >&6; } fi fi fi fi if test $ok = yes; then LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs` gl_good_gcrypt=yes libgcrypt_config_host=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none` if test x"$libgcrypt_config_host" != xnone ; then if test x"$libgcrypt_config_host" != x"$host" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** *** The config script $LIBGCRYPT_CONFIG was *** built for $libgcrypt_config_host and thus may not match the *** used host $host. *** You may want to use the configure option --with-libgcrypt-prefix *** to specify a matching config script or use \$SYSROOT. ***" >&5 $as_echo "$as_me: WARNING: *** *** The config script $LIBGCRYPT_CONFIG was *** built for $libgcrypt_config_host and thus may not match the *** used host $host. *** You may want to use the configure option --with-libgcrypt-prefix *** to specify a matching config script or use \$SYSROOT. ***" >&2;} gpg_config_script_warn="$gpg_config_script_warn libgcrypt" fi fi else LIBGCRYPT_CFLAGS="" LIBGCRYPT_LIBS="" as_fn_error $? "libgcrypt is too old" "$LINENO" 5 fi if test "x$gl_good_gcrypt" != xno; then use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libgcrypt-prefix was given. if test "${with_libgcrypt_prefix+set}" = set; then : withval=$with_libgcrypt_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBGCRYPT= LTLIBGCRYPT= INCGCRYPT= LIBGCRYPT_PREFIX= HAVE_LIBGCRYPT= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='gcrypt gpg-error' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBGCRYPT="${LTLIBGCRYPT}${LTLIBGCRYPT:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBGCRYPT; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBGCRYPT="${LTLIBGCRYPT}${LTLIBGCRYPT:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBGCRYPT; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$found_so" else LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$found_a" else LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'gcrypt'; then LIBGCRYPT_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'gcrypt'; then LIBGCRYPT_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCGCRYPT; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCGCRYPT="${INCGCRYPT}${INCGCRYPT:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBGCRYPT; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBGCRYPT; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBGCRYPT="${LTLIBGCRYPT}${LTLIBGCRYPT:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$dep" LTLIBGCRYPT="${LTLIBGCRYPT}${LTLIBGCRYPT:+ }$dep" ;; esac done fi else LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }-l$name" LTLIBGCRYPT="${LTLIBGCRYPT}${LTLIBGCRYPT:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBGCRYPT="${LTLIBGCRYPT}${LTLIBGCRYPT:+ }-R$found_dir" done fi ac_save_CPPFLAGS="$CPPFLAGS" for element in $INCGCRYPT; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt" >&5 $as_echo_n "checking for libgcrypt... " >&6; } if ${ac_cv_libgcrypt+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_LIBS="$LIBS" case " $LIBGCRYPT" in *" -l"*) LIBS="$LIBS $LIBGCRYPT" ;; *) LIBS="$LIBGCRYPT $LIBS" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_libgcrypt=yes else ac_cv_libgcrypt='no' fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgcrypt" >&5 $as_echo "$ac_cv_libgcrypt" >&6; } if test "$ac_cv_libgcrypt" = yes; then HAVE_LIBGCRYPT=yes $as_echo "#define HAVE_LIBGCRYPT 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libgcrypt" >&5 $as_echo_n "checking how to link with libgcrypt... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT" >&5 $as_echo "$LIBGCRYPT" >&6; } else HAVE_LIBGCRYPT=no CPPFLAGS="$ac_save_CPPFLAGS" LIBGCRYPT= LTLIBGCRYPT= LIBGCRYPT_PREFIX= fi else as_fn_error $? "libgcrypt not found" "$LINENO" 5 fi fi if test "$ac_cv_libgcrypt" = yes; then gl_LIBOBJS="$gl_LIBOBJS gc-libgcrypt.$ac_objext" else gl_LIBOBJS="$gl_LIBOBJS gc-gnulib.$ac_objext" fi if test $gl_cond_libtool = false; then gl_ltlibdeps="$gl_ltlibdeps $LTLIBGCRYPT" gl_libdeps="$gl_libdeps $LIBGCRYPT" fi if test "$ac_cv_libgcrypt" != yes; then # Check whether --with-openssl was given. if test "${with_openssl+set}" = set; then : withval=$with_openssl; else with_openssl=$with_openssl_default fi if test "xMD5" = xMD5; then ALG_header=md5.h else ALG_header=sha.h fi if test "x$with_openssl" != xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5 $as_echo_n "checking for MD5 in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_MD5+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char MD5 (); int main () { return MD5 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_MD5=yes else ac_cv_lib_crypto_MD5=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5 $as_echo "$ac_cv_lib_crypto_MD5" >&6; } if test "x$ac_cv_lib_crypto_MD5" = xyes; then : for ac_header in openssl/$ALG_header do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF LIB_CRYPTO=-lcrypto $as_echo "#define HAVE_OPENSSL_MD5 1" >>confdefs.h fi done fi if test "x$LIB_CRYPTO" = x; then if test "x$with_openssl" = xyes; then as_fn_error $? "openssl development library not found for MD5" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openssl development library not found for MD5" >&5 $as_echo "$as_me: WARNING: openssl development library not found for MD5" >&2;} fi fi fi fi cat >>confdefs.h <<_ACEOF #define GNULIB_GC_HMAC_MD5 1 _ACEOF if test "$ac_cv_libgcrypt" != yes; then # Check whether --with-openssl was given. if test "${with_openssl+set}" = set; then : withval=$with_openssl; else with_openssl=$with_openssl_default fi if test "xSHA1" = xMD5; then ALG_header=md5.h else ALG_header=sha.h fi if test "x$with_openssl" != xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1 in -lcrypto" >&5 $as_echo_n "checking for SHA1 in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_SHA1+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char SHA1 (); int main () { return SHA1 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_SHA1=yes else ac_cv_lib_crypto_SHA1=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1" >&5 $as_echo "$ac_cv_lib_crypto_SHA1" >&6; } if test "x$ac_cv_lib_crypto_SHA1" = xyes; then : for ac_header in openssl/$ALG_header do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF LIB_CRYPTO=-lcrypto $as_echo "#define HAVE_OPENSSL_SHA1 1" >>confdefs.h fi done fi if test "x$LIB_CRYPTO" = x; then if test "x$with_openssl" = xyes; then as_fn_error $? "openssl development library not found for SHA1" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openssl development library not found for SHA1" >&5 $as_echo "$as_me: WARNING: openssl development library not found for SHA1" >&2;} fi fi fi fi cat >>confdefs.h <<_ACEOF #define GNULIB_GC_HMAC_SHA1 1 _ACEOF if test "$ac_cv_libgcrypt" != yes; then # Check whether --with-openssl was given. if test "${with_openssl+set}" = set; then : withval=$with_openssl; else with_openssl=$with_openssl_default fi if test "xMD5" = xMD5; then ALG_header=md5.h else ALG_header=sha.h fi if test "x$with_openssl" != xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5 $as_echo_n "checking for MD5 in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_MD5+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char MD5 (); int main () { return MD5 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_MD5=yes else ac_cv_lib_crypto_MD5=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5 $as_echo "$ac_cv_lib_crypto_MD5" >&6; } if test "x$ac_cv_lib_crypto_MD5" = xyes; then : for ac_header in openssl/$ALG_header do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF LIB_CRYPTO=-lcrypto $as_echo "#define HAVE_OPENSSL_MD5 1" >>confdefs.h fi done fi if test "x$LIB_CRYPTO" = x; then if test "x$with_openssl" = xyes; then as_fn_error $? "openssl development library not found for MD5" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openssl development library not found for MD5" >&5 $as_echo "$as_me: WARNING: openssl development library not found for MD5" >&2;} fi fi fi fi cat >>confdefs.h <<_ACEOF #define GNULIB_GC_MD5 1 _ACEOF # Devices with randomness. # FIXME: Are these the best defaults? case "$host_os" in *openbsd* | *mirbsd*) NAME_OF_RANDOM_DEVICE="/dev/srandom" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/prandom" NAME_OF_NONCE_DEVICE="/dev/urandom" ;; *netbsd*) NAME_OF_RANDOM_DEVICE="/dev/srandom" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/urandom" NAME_OF_NONCE_DEVICE="/dev/urandom" ;; *solaris* | *irix* | *dec-osf* ) NAME_OF_RANDOM_DEVICE="/dev/random" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/random" NAME_OF_NONCE_DEVICE="/dev/random" ;; *) NAME_OF_RANDOM_DEVICE="/dev/random" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/urandom" NAME_OF_NONCE_DEVICE="/dev/urandom" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking device with (strong) random data..." >&5 $as_echo_n "checking device with (strong) random data...... " >&6; } # Check whether --enable-random-device was given. if test "${enable_random_device+set}" = set; then : enableval=$enable_random_device; NAME_OF_RANDOM_DEVICE=$enableval fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAME_OF_RANDOM_DEVICE" >&5 $as_echo "$NAME_OF_RANDOM_DEVICE" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking device with pseudo random data..." >&5 $as_echo_n "checking device with pseudo random data...... " >&6; } # Check whether --enable-pseudo-random-device was given. if test "${enable_pseudo_random_device+set}" = set; then : enableval=$enable_pseudo_random_device; NAME_OF_PSEUDO_RANDOM_DEVICE=$enableval fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAME_OF_PSEUDO_RANDOM_DEVICE" >&5 $as_echo "$NAME_OF_PSEUDO_RANDOM_DEVICE" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking device with unpredictable data for nonces..." >&5 $as_echo_n "checking device with unpredictable data for nonces...... " >&6; } # Check whether --enable-nonce-device was given. if test "${enable_nonce_device+set}" = set; then : enableval=$enable_nonce_device; NAME_OF_NONCE_DEVICE=$enableval fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAME_OF_NONCE_DEVICE" >&5 $as_echo "$NAME_OF_NONCE_DEVICE" >&6; } if test "$cross_compiling" != yes; then if test "$NAME_OF_RANDOM_DEVICE" != "no"; then as_ac_File=`$as_echo "ac_cv_file_$NAME_OF_RANDOM_DEVICE" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $NAME_OF_RANDOM_DEVICE" >&5 $as_echo_n "checking for $NAME_OF_RANDOM_DEVICE... " >&6; } if eval \${$as_ac_File+:} false; then : $as_echo_n "(cached) " >&6 else test "$cross_compiling" = yes && as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 if test -r "$NAME_OF_RANDOM_DEVICE"; then eval "$as_ac_File=yes" else eval "$as_ac_File=no" fi fi eval ac_res=\$$as_ac_File { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_File"\" = x"yes"; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Device '$NAME_OF_RANDOM_DEVICE' does not exist, consider to use --enable-random-device" >&5 $as_echo "$as_me: WARNING: Device '$NAME_OF_RANDOM_DEVICE' does not exist, consider to use --enable-random-device" >&2;} fi fi if test "$NAME_OF_PSEUDO_RANDOM_DEVICE" != "no"; then as_ac_File=`$as_echo "ac_cv_file_$NAME_OF_PSEUDO_RANDOM_DEVICE" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $NAME_OF_PSEUDO_RANDOM_DEVICE" >&5 $as_echo_n "checking for $NAME_OF_PSEUDO_RANDOM_DEVICE... " >&6; } if eval \${$as_ac_File+:} false; then : $as_echo_n "(cached) " >&6 else test "$cross_compiling" = yes && as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 if test -r "$NAME_OF_PSEUDO_RANDOM_DEVICE"; then eval "$as_ac_File=yes" else eval "$as_ac_File=no" fi fi eval ac_res=\$$as_ac_File { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_File"\" = x"yes"; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Device '$NAME_OF_PSEUDO_RANDOM_DEVICE' does not exist, consider to use --enable-pseudo-random-device" >&5 $as_echo "$as_me: WARNING: Device '$NAME_OF_PSEUDO_RANDOM_DEVICE' does not exist, consider to use --enable-pseudo-random-device" >&2;} fi fi if test "$NAME_OF_NONCE_DEVICE" != "no"; then as_ac_File=`$as_echo "ac_cv_file_$NAME_OF_NONCE_DEVICE" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $NAME_OF_NONCE_DEVICE" >&5 $as_echo_n "checking for $NAME_OF_NONCE_DEVICE... " >&6; } if eval \${$as_ac_File+:} false; then : $as_echo_n "(cached) " >&6 else test "$cross_compiling" = yes && as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 if test -r "$NAME_OF_NONCE_DEVICE"; then eval "$as_ac_File=yes" else eval "$as_ac_File=no" fi fi eval ac_res=\$$as_ac_File { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_File"\" = x"yes"; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Device '$NAME_OF_NONCE_DEVICE' does not exist, consider to use --enable-nonce-device" >&5 $as_echo "$as_me: WARNING: Device '$NAME_OF_NONCE_DEVICE' does not exist, consider to use --enable-nonce-device" >&2;} fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: Cross compiling, assuming random devices exists on the target host..." >&5 $as_echo "$as_me: Cross compiling, assuming random devices exists on the target host..." >&6;} fi # FIXME?: Open+read 42 bytes+close twice and compare data. Should differ. cat >>confdefs.h <<_ACEOF #define NAME_OF_RANDOM_DEVICE "$NAME_OF_RANDOM_DEVICE" _ACEOF cat >>confdefs.h <<_ACEOF #define NAME_OF_PSEUDO_RANDOM_DEVICE "$NAME_OF_PSEUDO_RANDOM_DEVICE" _ACEOF cat >>confdefs.h <<_ACEOF #define NAME_OF_NONCE_DEVICE "$NAME_OF_NONCE_DEVICE" _ACEOF cat >>confdefs.h <<_ACEOF #define GNULIB_GC_RANDOM 1 _ACEOF cat >>confdefs.h <<_ACEOF #define GNULIB_GC_SHA1 1 _ACEOF $as_echo "#define GL_COMPILE_CRYPTO_STREAM 1" >>confdefs.h # Check whether --with-openssl was given. if test "${with_openssl+set}" = set; then : withval=$with_openssl; else with_openssl=$with_openssl_default fi if test "xMD5" = xMD5; then ALG_header=md5.h else ALG_header=sha.h fi if test "x$with_openssl" != xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5 $as_echo_n "checking for MD5 in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_MD5+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char MD5 (); int main () { return MD5 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_MD5=yes else ac_cv_lib_crypto_MD5=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5 $as_echo "$ac_cv_lib_crypto_MD5" >&6; } if test "x$ac_cv_lib_crypto_MD5" = xyes; then : for ac_header in openssl/$ALG_header do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF LIB_CRYPTO=-lcrypto $as_echo "#define HAVE_OPENSSL_MD5 1" >>confdefs.h fi done fi if test "x$LIB_CRYPTO" = x; then if test "x$with_openssl" = xyes; then as_fn_error $? "openssl development library not found for MD5" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openssl development library not found for MD5" >&5 $as_echo "$as_me: WARNING: openssl development library not found for MD5" >&2;} fi fi fi $as_echo "#define GL_COMPILE_CRYPTO_STREAM 1" >>confdefs.h # Check whether --with-openssl was given. if test "${with_openssl+set}" = set; then : withval=$with_openssl; else with_openssl=$with_openssl_default fi if test "xSHA1" = xMD5; then ALG_header=md5.h else ALG_header=sha.h fi if test "x$with_openssl" != xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1 in -lcrypto" >&5 $as_echo_n "checking for SHA1 in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_SHA1+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char SHA1 (); int main () { return SHA1 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_SHA1=yes else ac_cv_lib_crypto_SHA1=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1" >&5 $as_echo "$ac_cv_lib_crypto_SHA1" >&6; } if test "x$ac_cv_lib_crypto_SHA1" = xyes; then : for ac_header in openssl/$ALG_header do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF LIB_CRYPTO=-lcrypto $as_echo "#define HAVE_OPENSSL_SHA1 1" >>confdefs.h fi done fi if test "x$LIB_CRYPTO" = x; then if test "x$with_openssl" = xyes; then as_fn_error $? "openssl development library not found for SHA1" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openssl development library not found for SHA1" >&5 $as_echo "$as_me: WARNING: openssl development library not found for SHA1" >&2;} fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 $as_echo_n "checking whether fflush works on input streams... " >&6; } if ${gl_cv_func_fflush_stdin+:} false; then : $as_echo_n "(cached) " >&6 else echo hello world > conftest.txt if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on native Windows. mingw*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif int main () { FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fflush_stdin=yes else gl_cv_func_fflush_stdin=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm conftest.txt fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 $as_echo "$gl_cv_func_fflush_stdin" >&6; } case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac cat >>confdefs.h <<_ACEOF #define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin _ACEOF case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FFLUSH=1 ;; esac if test $REPLACE_FFLUSH = 1; then gl_LIBOBJS="$gl_LIBOBJS fflush.$ac_objext" : fi cat >>confdefs.h <<_ACEOF #define GNULIB_FFLUSH 1 _ACEOF GNULIB_FFLUSH=1 $as_echo "#define GNULIB_TEST_FFLUSH 1" >>confdefs.h FLOAT_H= REPLACE_FLOAT_LDBL=0 case "$host_os" in aix* | beos* | openbsd* | mirbsd* | irix*) FLOAT_H=float.h ;; freebsd* | dragonfly*) case "$host_cpu" in i[34567]86 ) FLOAT_H=float.h ;; x86_64 ) # On x86_64 systems, the C compiler may still be generating # 32-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __x86_64__ || defined __amd64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else FLOAT_H=float.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac ;; linux*) case "$host_cpu" in powerpc*) FLOAT_H=float.h ;; esac ;; esac case "$host_os" in aix* | freebsd* | dragonfly* | linux*) if test -n "$FLOAT_H"; then REPLACE_FLOAT_LDBL=1 fi ;; esac REPLACE_ITOLD=0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5 $as_echo_n "checking whether conversion from 'int' to 'long double' works... " >&6; } if ${gl_cv_func_itold_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host" in sparc*-*-linux*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_itold_works="guessing no" else gl_cv_func_itold_works="guessing yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; # Guess yes on native Windows. mingw*) gl_cv_func_itold_works="guessing yes" ;; *) gl_cv_func_itold_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int i = -1; volatile long double ld; int main () { ld += i * 1.0L; if (ld > 0) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_itold_works=yes else gl_cv_func_itold_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5 $as_echo "$gl_cv_func_itold_works" >&6; } case "$gl_cv_func_itold_works" in *no) REPLACE_ITOLD=1 FLOAT_H=float.h ;; esac if test -n "$FLOAT_H"; then if test $gl_cv_have_include_next = yes; then gl_cv_next_float_h='<'float.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_float_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'float.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_float_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_float_h gl_cv_next_float_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 $as_echo "$gl_cv_next_float_h" >&6; } fi NEXT_FLOAT_H=$gl_cv_next_float_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'float.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_float_h fi NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive fi if test -n "$FLOAT_H"; then GL_GENERATE_FLOAT_H_TRUE= GL_GENERATE_FLOAT_H_FALSE='#' else GL_GENERATE_FLOAT_H_TRUE='#' GL_GENERATE_FLOAT_H_FALSE= fi if test $REPLACE_FLOAT_LDBL = 1; then gl_LIBOBJS="$gl_LIBOBJS float.$ac_objext" fi if test $REPLACE_ITOLD = 1; then gl_LIBOBJS="$gl_LIBOBJS itold.$ac_objext" fi ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include " if test "x$ac_cv_have_decl_fpurge" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FPURGE $ac_have_decl _ACEOF if test "x$ac_cv_func_fpurge" = xyes; then HAVE_FPURGE=1 # Detect BSD bug. Only cygwin 1.7 and musl are known to be immune. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5 $as_echo_n "checking whether fpurge works... " >&6; } if ${gl_cv_func_fpurge_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on musl systems. *-musl*) gl_cv_func_fpurge_works="guessing yes" ;; # Guess no otherwise. *) gl_cv_func_fpurge_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.txt", "w+"); if (!f) return 1; if (fputc ('a', f) != 'a') { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != EOF) { fclose (f); return 4; } if (fpurge (f) != 0) { fclose (f); return 5; } if (putc ('b', f) != 'b') { fclose (f); return 6; } if (fclose (f) != 0) return 7; if ((f = fopen ("conftest.txt", "r")) == NULL) return 8; if (fgetc (f) != 'a') { fclose (f); return 9; } if (fgetc (f) != 'b') { fclose (f); return 10; } if (fgetc (f) != EOF) { fclose (f); return 11; } if (fclose (f) != 0) return 12; if (remove ("conftest.txt") != 0) return 13; return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fpurge_works=yes else gl_cv_func_fpurge_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fpurge_works" >&5 $as_echo "$gl_cv_func_fpurge_works" >&6; } case "$gl_cv_func_fpurge_works" in *yes) ;; *) REPLACE_FPURGE=1 ;; esac else HAVE_FPURGE=0 fi if test "x$ac_cv_have_decl_fpurge" = xno; then HAVE_DECL_FPURGE=0 fi if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then gl_LIBOBJS="$gl_LIBOBJS fpurge.$ac_objext" fi GNULIB_FPURGE=1 $as_echo "#define GNULIB_TEST_FPURGE 1" >>confdefs.h if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then REPLACE_FSEEK=1 fi if test $REPLACE_FSEEK = 1; then gl_LIBOBJS="$gl_LIBOBJS fseek.$ac_objext" fi GNULIB_FSEEK=1 $as_echo "#define GNULIB_TEST_FSEEK 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 $as_echo_n "checking for fseeko... " >&6; } if ${gl_cv_func_fseeko+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { fseeko (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_fseeko=yes else gl_cv_func_fseeko=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 $as_echo "$gl_cv_func_fseeko" >&6; } if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 $as_echo_n "checking whether fflush works on input streams... " >&6; } if ${gl_cv_func_fflush_stdin+:} false; then : $as_echo_n "(cached) " >&6 else echo hello world > conftest.txt if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on native Windows. mingw*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif int main () { FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fflush_stdin=yes else gl_cv_func_fflush_stdin=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm conftest.txt fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 $as_echo "$gl_cv_func_fflush_stdin" >&6; } case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac cat >>confdefs.h <<_ACEOF #define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin _ACEOF case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FSEEKO=1 ;; esac fi if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext" for ac_func in _fseeki64 do : ac_fn_c_check_func "$LINENO" "_fseeki64" "ac_cv_func__fseeki64" if test "x$ac_cv_func__fseeki64" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__FSEEKI64 1 _ACEOF fi done if test $ac_cv_func__fseeki64 = yes; then ac_fn_c_check_decl "$LINENO" "_fseeki64" "ac_cv_have_decl__fseeki64" "$ac_includes_default" if test "x$ac_cv_have_decl__fseeki64" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__FSEEKI64 $ac_have_decl _ACEOF fi fi GNULIB_FSEEKO=1 $as_echo "#define GNULIB_TEST_FSEEKO 1" >>confdefs.h case "$host_os" in mingw* | solaris*) REPLACE_FSTAT=1 ;; esac if test $REPLACE_FSTAT = 1; then gl_LIBOBJS="$gl_LIBOBJS fstat.$ac_objext" case "$host_os" in mingw*) gl_LIBOBJS="$gl_LIBOBJS stat-w32.$ac_objext" ;; esac : fi GNULIB_FSTAT=1 $as_echo "#define GNULIB_TEST_FSTAT 1" >>confdefs.h if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then REPLACE_FTELL=1 fi if test $REPLACE_FTELL = 1; then gl_LIBOBJS="$gl_LIBOBJS ftell.$ac_objext" fi GNULIB_FTELL=1 $as_echo "#define GNULIB_TEST_FTELL 1" >>confdefs.h if test $ac_cv_have_decl_ftello = no; then HAVE_DECL_FTELLO=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5 $as_echo_n "checking for ftello... " >&6; } if ${gl_cv_func_ftello+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ftello (stdin); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_ftello=yes else gl_cv_func_ftello=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5 $as_echo "$gl_cv_func_ftello" >&6; } if test $gl_cv_func_ftello = no; then HAVE_FTELLO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FTELLO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FTELLO=1 fi if test $REPLACE_FTELLO = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5 $as_echo_n "checking whether ftello works... " >&6; } if ${gl_cv_func_ftello_works+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_ftello_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_ftello_works="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_ftello_works="guessing yes" ;; esac if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #define TESTFILE "conftest.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) return 70; if (fwrite ("foogarsh", 1, 8, fp) < 8) { fclose (fp); return 71; } if (fclose (fp)) return 72; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) return 73; if (fseek (fp, -1, SEEK_END)) { fclose (fp); return 74; } if (!(getc (fp) == 'h')) { fclose (fp); return 1; } if (!(getc (fp) == EOF)) { fclose (fp); return 2; } if (!(ftell (fp) == 8)) { fclose (fp); return 3; } if (!(ftell (fp) == 8)) { fclose (fp); return 4; } if (!(putc ('!', fp) == '!')) { fclose (fp); return 5; } if (!(ftell (fp) == 9)) { fclose (fp); return 6; } if (!(fclose (fp) == 0)) return 7; fp = fopen (TESTFILE, "r"); if (fp == NULL) return 75; { char buf[10]; if (!(fread (buf, 1, 10, fp) == 9)) { fclose (fp); return 10; } if (!(memcmp (buf, "foogarsh!", 9) == 0)) { fclose (fp); return 11; } } if (!(fclose (fp) == 0)) return 12; /* The file's contents is now "foogarsh!". */ return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_ftello_works=yes else gl_cv_func_ftello_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5 $as_echo "$gl_cv_func_ftello_works" >&6; } case "$gl_cv_func_ftello_works" in *yes) ;; *) REPLACE_FTELLO=1 $as_echo "#define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h ;; esac fi fi if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then gl_LIBOBJS="$gl_LIBOBJS ftello.$ac_objext" for ac_func in _ftelli64 do : ac_fn_c_check_func "$LINENO" "_ftelli64" "ac_cv_func__ftelli64" if test "x$ac_cv_func__ftelli64" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__FTELLI64 1 _ACEOF fi done fi GNULIB_FTELLO=1 $as_echo "#define GNULIB_TEST_FTELLO 1" >>confdefs.h if test $ac_cv_func_getdelim = yes; then HAVE_GETDELIM=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 $as_echo_n "checking for working getdelim function... " >&6; } if ${gl_cv_func_working_getdelim+:} false; then : $as_echo_n "(cached) " >&6 else echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then : gl_cv_func_working_getdelim="guessing yes" else case "$host_os" in *-musl*) gl_cv_func_working_getdelim="guessing yes" ;; *) gl_cv_func_working_getdelim="guessing no" ;; esac fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getdelim (&line, &siz, '\n', in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getdelim (&line, &siz, '\n', in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_working_getdelim=yes else gl_cv_func_working_getdelim=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 $as_echo "$gl_cv_func_working_getdelim" >&6; } case "$gl_cv_func_working_getdelim" in *yes) ;; *) REPLACE_GETDELIM=1 ;; esac else HAVE_GETDELIM=0 fi if test $ac_cv_have_decl_getdelim = no; then HAVE_DECL_GETDELIM=0 fi if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" for ac_func in flockfile funlockfile do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl _ACEOF fi GNULIB_GETDELIM=1 $as_echo "#define GNULIB_TEST_GETDELIM 1" >>confdefs.h gl_getline_needs_run_time_check=no ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" if test "x$ac_cv_func_getline" = xyes; then : gl_getline_needs_run_time_check=yes else am_cv_func_working_getline=no fi if test $gl_getline_needs_run_time_check = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 $as_echo_n "checking for working getline function... " >&6; } if ${am_cv_func_working_getline+:} false; then : $as_echo_n "(cached) " >&6 else echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then : am_cv_func_working_getline="guessing yes" else case "$host_os" in *-musl*) am_cv_func_working_getline="guessing yes" ;; *) am_cv_func_working_getline="guessing no" ;; esac fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getline (&line, &siz, in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } free (line); } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getline (&line, &siz, in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_working_getline=yes else am_cv_func_working_getline=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 $as_echo "$am_cv_func_working_getline" >&6; } fi if test $ac_cv_have_decl_getline = no; then HAVE_DECL_GETLINE=0 fi case "$am_cv_func_working_getline" in *yes) ;; *) REPLACE_GETLINE=1 ;; esac if test $REPLACE_GETLINE = 1; then gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" : fi GNULIB_GETLINE=1 $as_echo "#define GNULIB_TEST_GETLINE 1" >>confdefs.h # Autoconf 2.61a.99 and earlier don't support linking a file only # in VPATH builds. But since GNUmakefile is for maintainer use # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. GNUmakefile=GNUmakefile ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" # Test for GSS-API library features. # XXX this assumes GNU SASL specific configure.ac ordering and variables. if test "$gssapi_impl" != "no"; then save_CPPFLAGS="$CPPFLAGS" save_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $GSS_CFLAGS" LIBS="$LIBS $LIBGSS $GSS_LIBS" for ac_func in gss_encapsulate_token do : ac_fn_c_check_func "$LINENO" "gss_encapsulate_token" "ac_cv_func_gss_encapsulate_token" if test "x$ac_cv_func_gss_encapsulate_token" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GSS_ENCAPSULATE_TOKEN 1 _ACEOF fi done for ac_func in gss_decapsulate_token do : ac_fn_c_check_func "$LINENO" "gss_decapsulate_token" "ac_cv_func_gss_decapsulate_token" if test "x$ac_cv_func_gss_decapsulate_token" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GSS_DECAPSULATE_TOKEN 1 _ACEOF fi done for ac_func in gss_oid_equal do : ac_fn_c_check_func "$LINENO" "gss_oid_equal" "ac_cv_func_gss_oid_equal" if test "x$ac_cv_func_gss_oid_equal" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GSS_OID_EQUAL 1 _ACEOF fi done for ac_func in gss_inquire_mech_for_saslname do : ac_fn_c_check_func "$LINENO" "gss_inquire_mech_for_saslname" "ac_cv_func_gss_inquire_mech_for_saslname" if test "x$ac_cv_func_gss_inquire_mech_for_saslname" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GSS_INQUIRE_MECH_FOR_SASLNAME 1 _ACEOF fi done for ac_func in GSS_C_NT_HOSTBASED_SERVICE do : ac_fn_c_check_func "$LINENO" "GSS_C_NT_HOSTBASED_SERVICE" "ac_cv_func_GSS_C_NT_HOSTBASED_SERVICE" if test "x$ac_cv_func_GSS_C_NT_HOSTBASED_SERVICE" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GSS_C_NT_HOSTBASED_SERVICE 1 _ACEOF fi done if test "$gssapi_impl" != "gss"; then for ac_header in gssapi.h gssapi/gssapi.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test "$ac_cv_header_gssapi_h$ac_cv_header_gssapi_gssapi_h" = "nono"; then gssapi_impl=no { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gssapi.h or gssapi/gssapi.h, disabling GSSAPI" >&5 $as_echo "$as_me: WARNING: Cannot find gssapi.h or gssapi/gssapi.h, disabling GSSAPI" >&2;} fi fi CPPFLAGS="$save_CPPFLAGS" LIBS="$save_LIBS" fi if test "$gssapi_impl" != "no"; then gl_LIBOBJS="$gl_LIBOBJS gss-extra.$ac_objext" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc/ld supports -Wl,--output-def" >&5 $as_echo_n "checking if gcc/ld supports -Wl,--output-def... " >&6; } if ${gl_cv_ld_output_def+:} false; then : $as_echo_n "(cached) " >&6 else if test "$enable_shared" = no; then gl_cv_ld_output_def="not needed, shared libraries are disabled" else gl_ldflags_save=$LDFLAGS LDFLAGS="-Wl,--output-def,conftest.def" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_ld_output_def=yes else gl_cv_ld_output_def=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext rm -f conftest.def LDFLAGS="$gl_ldflags_save" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_ld_output_def" >&5 $as_echo "$gl_cv_ld_output_def" >&6; } if test "x$gl_cv_ld_output_def" = "xyes"; then HAVE_LD_OUTPUT_DEF_TRUE= HAVE_LD_OUTPUT_DEF_FALSE='#' else HAVE_LD_OUTPUT_DEF_TRUE='#' HAVE_LD_OUTPUT_DEF_FALSE= fi # Check whether --enable-ld-version-script was given. if test "${enable_ld_version_script+set}" = set; then : enableval=$enable_ld_version_script; have_ld_version_script=$enableval else { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5 $as_echo_n "checking if LD -Wl,--version-script works... " >&6; } if ${gl_cv_sys_ld_version_script+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_sys_ld_version_script=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" echo foo >conftest.map cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else cat > conftest.map <conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_sys_ld_version_script=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext rm -f conftest.map LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_ld_version_script" >&5 $as_echo "$gl_cv_sys_ld_version_script" >&6; } have_ld_version_script=$gl_cv_sys_ld_version_script fi if test "$have_ld_version_script" = yes; then HAVE_LD_VERSION_SCRIPT_TRUE= HAVE_LD_VERSION_SCRIPT_FALSE='#' else HAVE_LD_VERSION_SCRIPT_TRUE='#' HAVE_LD_VERSION_SCRIPT_FALSE= fi CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 $as_echo_n "checking whether the -Werror option is usable... " >&6; } if ${gl_cv_cc_vis_werror+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_vis_werror=yes else gl_cv_cc_vis_werror=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5 $as_echo "$gl_cv_cc_vis_werror" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 $as_echo_n "checking for simple visibility declarations... " >&6; } if ${gl_cv_cc_visibility+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" if test $gl_cv_cc_vis_werror = yes; then CFLAGS="$CFLAGS -Werror" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); void dummyfunc (void) {} int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_visibility=yes else gl_cv_cc_visibility=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 $as_echo "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi cat >>confdefs.h <<_ACEOF #define HAVE_VISIBILITY $HAVE_VISIBILITY _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the __inline keyword" >&5 $as_echo_n "checking whether the compiler supports the __inline keyword... " >&6; } if ${gl_cv_c___inline+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ typedef int foo_t; static __inline foo_t foo (void) { return 0; } int main () { return foo (); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_c___inline=yes else gl_cv_c___inline=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c___inline" >&5 $as_echo "$gl_cv_c___inline" >&6; } if test $gl_cv_c___inline = yes; then $as_echo "#define HAVE___INLINE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 $as_echo_n "checking whether lseek detects pipes... " >&6; } if ${gl_cv_func_lseek_pipe+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in mingw*) gl_cv_func_lseek_pipe=no ;; *) if test $cross_compiling = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for off_t */ #include /* for SEEK_CUR */ #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif int main () { /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if test -s conftest$ac_exeext \ && ./conftest$ac_exeext < conftest.$ac_ext \ && test 1 = "`echo hi \ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi else gl_cv_func_lseek_pipe=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __BEOS__ /* BeOS mistakenly return 0 when trying to seek on pipes. */ Choke me. #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 $as_echo "$gl_cv_func_lseek_pipe" >&6; } if test $gl_cv_func_lseek_pipe = no; then REPLACE_LSEEK=1 $as_echo "#define LSEEK_PIPE_BROKEN 1" >>confdefs.h fi if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_LSEEK=1 fi if test $REPLACE_LSEEK = 1; then gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext" fi GNULIB_LSEEK=1 $as_echo "#define GNULIB_TEST_LSEEK 1" >>confdefs.h if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" for ac_header in bp-sym.h do : ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" if test "x$ac_cv_header_bp_sym_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BP_SYM_H 1 _ACEOF fi done fi GNULIB_MEMCHR=1 $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h if test $HAVE_DECL_MEMMEM = 1 && test $REPLACE_MEMMEM = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works in linear time" >&5 $as_echo_n "checking whether memmem works in linear time... " >&6; } if ${gl_cv_func_memmem_works_fast+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)) \ && !defined __UCLIBC__ Lucky user #endif #endif #ifdef __CYGWIN__ #include #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 0) Lucky user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky user" >/dev/null 2>&1; then : gl_cv_func_memmem_works_fast="guessing yes" else gl_cv_func_memmem_works_fast="guessing no" fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for signal */ #include /* for memmem */ #include /* for malloc */ #include /* for alarm */ static void quit (int sig) { _exit (sig + 128); } int main () { int result = 0; size_t m = 1000000; char *haystack = (char *) malloc (2 * m + 1); char *needle = (char *) malloc (m + 1); /* Failure to compile this test due to missing alarm is okay, since all such platforms (mingw) also lack memmem. */ signal (SIGALRM, quit); alarm (5); /* Check for quadratic performance. */ if (haystack && needle) { memset (haystack, 'A', 2 * m); haystack[2 * m] = 'B'; memset (needle, 'A', m); needle[m] = 'B'; if (!memmem (haystack, 2 * m + 1, needle, m + 1)) result |= 1; } /* Free allocated memory, in case some sanitizer is watching. */ free (haystack); free (needle); return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_memmem_works_fast=yes else gl_cv_func_memmem_works_fast=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_fast" >&5 $as_echo "$gl_cv_func_memmem_works_fast" >&6; } case "$gl_cv_func_memmem_works_fast" in *yes) ;; *) REPLACE_MEMMEM=1 ;; esac fi if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext" fi for ac_func in memmem do : ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem" if test "x$ac_cv_func_memmem" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_MEMMEM 1 _ACEOF fi done if test $ac_cv_func_memmem = yes; then HAVE_MEMMEM=1 else HAVE_MEMMEM=0 fi if test $ac_cv_have_decl_memmem = no; then HAVE_DECL_MEMMEM=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5 $as_echo_n "checking whether memmem works... " >&6; } if ${gl_cv_func_memmem_works_always+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __GNU_LIBRARY__ #include #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \ || __GLIBC_MINOR__ > 12)) \ || (__GLIBC__ > 2)) \ || defined __UCLIBC__ Lucky user #endif #elif defined __CYGWIN__ #include #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) Lucky user #endif #else Lucky user #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky user" >/dev/null 2>&1; then : gl_cv_func_memmem_works_always="guessing yes" else gl_cv_func_memmem_works_always="guessing no" fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for memmem */ #define P "_EF_BF_BD" #define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P #define NEEDLE P P P P P int main () { int result = 0; if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE))) result |= 1; /* Check for empty needle behavior. */ { const char *haystack = "AAA"; if (memmem (haystack, 3, NULL, 0) != haystack) result |= 2; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_memmem_works_always=yes else gl_cv_func_memmem_works_always=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5 $as_echo "$gl_cv_func_memmem_works_always" >&6; } case "$gl_cv_func_memmem_works_always" in *yes) ;; *) REPLACE_MEMMEM=1 ;; esac fi : if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext" fi GNULIB_MEMMEM=1 $as_echo "#define GNULIB_TEST_MEMMEM 1" >>confdefs.h if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext" fi if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext" fi cat >>confdefs.h <<_ACEOF #define GNULIB_MSVC_NOTHROW 1 _ACEOF for ac_header in stdint.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 $as_echo_n "checking for SIZE_MAX... " >&6; } if ${gl_cv_size_max+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_size_max= cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Found it" >/dev/null 2>&1; then : gl_cv_size_max=yes fi rm -f conftest* if test -z "$gl_cv_size_max"; then if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include #include "; then : else size_t_bits_minus_1= fi if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : else fits_in_uint= fi if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern size_t foo; extern unsigned long foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : fits_in_uint=0 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else gl_cv_size_max='((size_t)~(size_t)0)' fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 $as_echo "$gl_cv_size_max" >&6; } if test "$gl_cv_size_max" != yes; then cat >>confdefs.h <<_ACEOF #define SIZE_MAX $gl_cv_size_max _ACEOF fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " /* is not needed according to POSIX, but the in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #if HAVE_SYS_SOCKET_H # include #elif HAVE_WS2TCPIP_H # include #endif " if test "x$ac_cv_type_socklen_t" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 $as_echo_n "checking for socklen_t equivalent... " >&6; } if ${gl_cv_socklen_t_equiv+:} false; then : $as_echo_n "(cached) " >&6 else # Systems have either "struct sockaddr *" or # "void *" as the second argument to getpeername gl_cv_socklen_t_equiv= for arg2 in "struct sockaddr" void; do for t in int size_t "unsigned int" "long int" "unsigned long int"; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int getpeername (int, $arg2 *, $t *); int main () { $t len; getpeername (0, 0, &len); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_socklen_t_equiv="$t" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$gl_cv_socklen_t_equiv" != "" && break done test "$gl_cv_socklen_t_equiv" != "" && break done if test "$gl_cv_socklen_t_equiv" = ""; then as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 $as_echo "$gl_cv_socklen_t_equiv" >&6; } cat >>confdefs.h <<_ACEOF #define socklen_t $gl_cv_socklen_t_equiv _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 $as_echo_n "checking for ssize_t... " >&6; } if ${gt_cv_ssize_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_ssize_t=yes else gt_cv_ssize_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 $as_echo "$gt_cv_ssize_t" >&6; } if test $gt_cv_ssize_t = no; then $as_echo "#define ssize_t int" >>confdefs.h fi ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5 $as_echo_n "checking whether struct stat.st_atim is of type struct timespec... " >&6; } if ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_TIME_H # include #endif #include struct timespec ts; struct stat st; int main () { st.st_atim = ts; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes else ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5 $as_echo "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; } if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then $as_echo "#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h fi else ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1 _ACEOF fi fi fi fi ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1 _ACEOF else ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1 _ACEOF fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h" >&5 $as_echo_n "checking for working stdalign.h... " >&6; } if ${gl_cv_header_working_stdalign_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Test that alignof yields a result consistent with offsetof. This catches GCC bug 52023 . */ #ifdef __cplusplus template struct alignof_helper { char a; t b; }; # define ao(type) offsetof (alignof_helper, b) #else # define ao(type) offsetof (struct { char a; type b; }, b) #endif char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; /* Test _Alignas only on platforms where gnulib can help. */ #if \ ((defined __cplusplus && 201103 <= __cplusplus) \ || (defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ || 1300 <= _MSC_VER) struct alignas_test { char c; char alignas (8) alignas_8; }; char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 ? 1 : -1]; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_working_stdalign_h=yes else gl_cv_header_working_stdalign_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5 $as_echo "$gl_cv_header_working_stdalign_h" >&6; } if test $gl_cv_header_working_stdalign_h = yes; then STDALIGN_H='' else STDALIGN_H='stdalign.h' fi if test -n "$STDALIGN_H"; then GL_GENERATE_STDALIGN_H_TRUE= GL_GENERATE_STDALIGN_H_FALSE='#' else GL_GENERATE_STDALIGN_H_TRUE='#' GL_GENERATE_STDALIGN_H_FALSE= fi # Define two additional variables used in the Makefile substitution. if test "$ac_cv_header_stdbool_h" = yes; then STDBOOL_H='' else STDBOOL_H='stdbool.h' fi if test -n "$STDBOOL_H"; then GL_GENERATE_STDBOOL_H_TRUE= GL_GENERATE_STDBOOL_H_FALSE='#' else GL_GENERATE_STDBOOL_H_TRUE='#' GL_GENERATE_STDBOOL_H_FALSE= fi if test "$ac_cv_type__Bool" = yes; then HAVE__BOOL=1 else HAVE__BOOL=0 fi STDDEF_H= { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good max_align_t" >&5 $as_echo_n "checking for good max_align_t... " >&6; } if ${gl_cv_type_max_align_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include unsigned int s = sizeof (max_align_t); #if defined __GNUC__ || defined __IBM__ALIGNOF__ int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1]; int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1]; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_type_max_align_t=yes else gl_cv_type_max_align_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_max_align_t" >&5 $as_echo "$gl_cv_type_max_align_t" >&6; } if test $gl_cv_type_max_align_t = no; then HAVE_MAX_ALIGN_T=0 STDDEF_H=stddef.h fi if test $gt_cv_c_wchar_t = no; then HAVE_WCHAR_T=0 STDDEF_H=stddef.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } if ${gl_cv_decl_null_works+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int test[2 * (sizeof NULL == sizeof (void *)) -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_decl_null_works=yes else gl_cv_decl_null_works=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 $as_echo "$gl_cv_decl_null_works" >&6; } if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 STDDEF_H=stddef.h fi if test -n "$STDDEF_H"; then GL_GENERATE_STDDEF_H_TRUE= GL_GENERATE_STDDEF_H_FALSE='#' else GL_GENERATE_STDDEF_H_TRUE='#' GL_GENERATE_STDDEF_H_FALSE= fi if test -n "$STDDEF_H"; then if test $gl_cv_have_include_next = yes; then gl_cv_next_stddef_h='<'stddef.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stddef_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stddef.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stddef_h gl_cv_next_stddef_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 $as_echo "$gl_cv_next_stddef_h" >&6; } fi NEXT_STDDEF_H=$gl_cv_next_stddef_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stddef.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stddef_h fi NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive fi $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_stdio_h='<'stdio.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stdio_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdio.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdio_h gl_cv_next_stdio_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 $as_echo "$gl_cv_next_stdio_h" >&6; } fi NEXT_STDIO_H=$gl_cv_next_stdio_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdio.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdio_h fi NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive { $as_echo "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5 $as_echo_n "checking which flavor of printf attribute matches inttypes macros... " >&6; } if ${gl_cv_func_printf_attribute_flavor+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define __STDC_FORMAT_MACROS 1 #include #include /* For non-mingw systems, compilation will trivially succeed. For mingw, compilation will succeed for older mingw (system printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */ #if (defined _WIN32 && ! defined __CYGWIN__) && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1]; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_printf_attribute_flavor=system else gl_cv_func_printf_attribute_flavor=gnu fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_attribute_flavor" >&5 $as_echo "$gl_cv_func_printf_attribute_flavor" >&6; } if test "$gl_cv_func_printf_attribute_flavor" = gnu; then $as_echo "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h fi GNULIB_FSCANF=1 cat >>confdefs.h <<_ACEOF #define GNULIB_FSCANF 1 _ACEOF GNULIB_SCANF=1 cat >>confdefs.h <<_ACEOF #define GNULIB_SCANF 1 _ACEOF GNULIB_FGETC=1 GNULIB_GETC=1 GNULIB_GETCHAR=1 GNULIB_FGETS=1 GNULIB_FREAD=1 GNULIB_FPRINTF=1 GNULIB_PRINTF=1 GNULIB_VFPRINTF=1 GNULIB_VPRINTF=1 GNULIB_FPUTC=1 GNULIB_PUTC=1 GNULIB_PUTCHAR=1 GNULIB_FPUTS=1 GNULIB_PUTS=1 GNULIB_FWRITE=1 if test $ac_cv_have_decl_strndup = no; then HAVE_DECL_STRNDUP=0 fi if test $ac_cv_func_strndup = yes; then HAVE_STRNDUP=1 # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 $as_echo_n "checking for working strndup... " >&6; } if ${gl_cv_func_strndup_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case $host_os in aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; *) gl_cv_func_strndup_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if !HAVE_DECL_STRNDUP extern #ifdef __cplusplus "C" #endif char *strndup (const char *, size_t); #endif int result; char *s; s = strndup ("some longer string", 15); free (s); s = strndup ("shorter string", 13); result = s[13] != '\0'; free (s); return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_strndup_works=yes else gl_cv_func_strndup_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5 $as_echo "$gl_cv_func_strndup_works" >&6; } case $gl_cv_func_strndup_works in *no) REPLACE_STRNDUP=1 ;; esac else HAVE_STRNDUP=0 fi if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" fi GNULIB_STRNDUP=1 $as_echo "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h if test $ac_cv_have_decl_strnlen = no; then HAVE_DECL_STRNLEN=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 $as_echo_n "checking for working strnlen... " >&6; } if ${ac_cv_func_strnlen_working+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : # Guess no on AIX systems, yes otherwise. case "$host_os" in aix*) ac_cv_func_strnlen_working=no;; *) ac_cv_func_strnlen_working=yes;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { #define S "foobar" #define S_LEN (sizeof S - 1) /* At least one implementation is buggy: that of AIX 4.3 would give strnlen (S, 1) == 3. */ int i; for (i = 0; i < S_LEN + 1; ++i) { int expected = i <= S_LEN ? i : S_LEN; if (strnlen (S, i) != expected) return 1; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_strnlen_working=yes else ac_cv_func_strnlen_working=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 $as_echo "$ac_cv_func_strnlen_working" >&6; } test $ac_cv_func_strnlen_working = no && : if test $ac_cv_func_strnlen_working = no; then REPLACE_STRNLEN=1 fi fi if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" : fi GNULIB_STRNLEN=1 $as_echo "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h for ac_func in strverscmp do : ac_fn_c_check_func "$LINENO" "strverscmp" "ac_cv_func_strverscmp" if test "x$ac_cv_func_strverscmp" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRVERSCMP 1 _ACEOF fi done if test $ac_cv_func_strverscmp = no; then HAVE_STRVERSCMP=0 fi if test $HAVE_STRVERSCMP = 0; then gl_LIBOBJS="$gl_LIBOBJS strverscmp.$ac_objext" : fi GNULIB_STRVERSCMP=1 $as_echo "#define GNULIB_TEST_STRVERSCMP 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_stat_h='<'sys/stat.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_stat_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_stat_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/stat.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_stat_h gl_cv_next_sys_stat_h='"'$gl_header'"' else gl_cv_next_sys_stat_h='<'sys/stat.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 $as_echo "$gl_cv_next_sys_stat_h" >&6; } fi NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/stat.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_stat_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive WINDOWS_STAT_TIMESPEC=0 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include #include " if test "x$ac_cv_type_nlink_t" = xyes; then : else $as_echo "#define nlink_t int" >>confdefs.h fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_uio_h='<'sys/uio.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_uio_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_uio_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/uio.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_uio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_uio_h gl_cv_next_sys_uio_h='"'$gl_header'"' else gl_cv_next_sys_uio_h='<'sys/uio.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_uio_h" >&5 $as_echo "$gl_cv_next_sys_uio_h" >&6; } fi NEXT_SYS_UIO_H=$gl_cv_next_sys_uio_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/uio.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_uio_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H=$gl_next_as_first_directive if test $ac_cv_header_sys_uio_h = yes; then HAVE_SYS_UIO_H=1 else HAVE_SYS_UIO_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_unistd_h='<'unistd.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_unistd_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_unistd_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'unistd.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_unistd_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_unistd_h gl_cv_next_unistd_h='"'$gl_header'"' else gl_cv_next_unistd_h='<'unistd.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 $as_echo "$gl_cv_next_unistd_h" >&6; } fi NEXT_UNISTD_H=$gl_cv_next_unistd_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'unistd.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_unistd_h fi NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive if test $ac_cv_header_unistd_h = yes; then HAVE_UNISTD_H=1 else HAVE_UNISTD_H=0 fi # Check whether --enable-valgrind-tests was given. if test "${enable_valgrind_tests+set}" = set; then : enableval=$enable_valgrind_tests; opt_valgrind_tests=$enableval else opt_valgrind_tests=yes fi # Run self-tests under valgrind? if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then for ac_prog in valgrind do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_VALGRIND+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$VALGRIND"; then ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_VALGRIND="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi VALGRIND=$ac_cv_prog_VALGRIND if test -n "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 $as_echo "$VALGRIND" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$VALGRIND" && break done if test "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind options for tests" >&5 $as_echo_n "checking for valgrind options for tests... " >&6; } if ${gl_cv_opt_valgrind_tests+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_opt_valgrind_tests="-q --error-exitcode=1 --leak-check=full" $VALGRIND $gl_valgrind_opts ls > /dev/null 2>&1 || gl_cv_opt_valgrind_tests=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_opt_valgrind_tests" >&5 $as_echo "$gl_cv_opt_valgrind_tests" >&6; } if test "$gl_cv_opt_valgrind_tests" != no; then VALGRIND="$VALGRIND $gl_cv_opt_valgrind_tests" else VALGRIND= fi fi fi if test $ac_cv_func_vasnprintf = no; then gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" if test $ac_cv_func_vasnprintf = yes; then $as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes; then : else $as_echo "#define ptrdiff_t long" >>confdefs.h fi fi for ac_func in vasprintf do : ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf" if test "x$ac_cv_func_vasprintf" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VASPRINTF 1 _ACEOF fi done if test $ac_cv_func_vasprintf = no; then gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext" if test $ac_cv_func_vasprintf = yes; then REPLACE_VASPRINTF=1 else HAVE_VASPRINTF=0 fi fi GNULIB_VASPRINTF=1 $as_echo "#define GNULIB_TEST_VASPRINTF 1" >>confdefs.h XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format" XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format" if test $gl_cv_have_include_next = yes; then gl_cv_next_wchar_h='<'wchar.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_wchar_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_wchar_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'wchar.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_wchar_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_wchar_h gl_cv_next_wchar_h='"'$gl_header'"' else gl_cv_next_wchar_h='<'wchar.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 $as_echo "$gl_cv_next_wchar_h" >&6; } fi NEXT_WCHAR_H=$gl_cv_next_wchar_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'wchar.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_wchar_h fi NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi for ac_header in stdint.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H 1 _ACEOF fi done # End of code from modules gltests_libdeps= gltests_ltlibdeps= gl_source_base='gltests' gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS gl_module_indicator_condition=$gltests_WITNESS if test "$ac_cv_header_winsock2_h" = yes; then gltests_LIBOBJS="$gltests_LIBOBJS accept.$ac_objext" fi if test "$GNULIB_ACCEPT" != 1; then if test "$GNULIB_ACCEPT" = 0; then GNULIB_ACCEPT=$gl_module_indicator_condition else GNULIB_ACCEPT="($GNULIB_ACCEPT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_ACCEPT 1" >>confdefs.h if test $ac_cv_header_arpa_inet_h = yes; then HAVE_ARPA_INET_H=1 else HAVE_ARPA_INET_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_arpa_inet_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_arpa_inet_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'arpa/inet.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_arpa_inet_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_arpa_inet_h gl_cv_next_arpa_inet_h='"'$gl_header'"' else gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 $as_echo "$gl_cv_next_arpa_inet_h" >&6; } fi NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'arpa/inet.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_arpa_inet_h fi NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi if test "$ac_cv_header_winsock2_h" = yes; then gltests_LIBOBJS="$gltests_LIBOBJS bind.$ac_objext" fi if test "$GNULIB_BIND" != 1; then if test "$GNULIB_BIND" = 0; then GNULIB_BIND=$gl_module_indicator_condition else GNULIB_BIND="($GNULIB_BIND || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_BIND 1" >>confdefs.h $as_echo "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then REPLACE_CLOSE=1 fi if test $REPLACE_CLOSE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS close.$ac_objext" fi if test "$GNULIB_CLOSE" != 1; then if test "$GNULIB_CLOSE" = 0; then GNULIB_CLOSE=$gl_module_indicator_condition else GNULIB_CLOSE="($GNULIB_CLOSE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_CLOSE 1" >>confdefs.h if test "$ac_cv_header_winsock2_h" = yes; then gltests_LIBOBJS="$gltests_LIBOBJS connect.$ac_objext" fi if test "$GNULIB_CONNECT" != 1; then if test "$GNULIB_CONNECT" = 0; then GNULIB_CONNECT=$gl_module_indicator_condition else GNULIB_CONNECT="($GNULIB_CONNECT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_CONNECT 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_ctype_h='<'ctype.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_ctype_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'ctype.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_ctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_ctype_h gl_cv_next_ctype_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_ctype_h" >&5 $as_echo "$gl_cv_next_ctype_h" >&6; } fi NEXT_CTYPE_H=$gl_cv_next_ctype_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'ctype.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_ctype_h fi NEXT_AS_FIRST_DIRECTIVE_CTYPE_H=$gl_next_as_first_directive $as_echo "#define HAVE_DUP2 1" >>confdefs.h if test $HAVE_DUP2 = 1; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 $as_echo_n "checking whether dup2 works... " >&6; } if ${gl_cv_func_dup2_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in mingw*) # on this platform, dup2 always returns 0 for success gl_cv_func_dup2_works="guessing no" ;; cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 gl_cv_func_dup2_works="guessing no" ;; aix* | freebsd*) # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, # not EBADF. gl_cv_func_dup2_works="guessing no" ;; haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. gl_cv_func_dup2_works="guessing no" ;; *-android*) # implemented using dup3(), which fails if oldfd == newfd gl_cv_func_dup2_works="guessing no" ;; os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. gl_cv_func_dup2_works="guessing no" ;; *) gl_cv_func_dup2_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif int main () { int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; #endif if (dup2 (1, 1) != 1) result |= 2; #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif close (0); if (dup2 (0, 0) != -1) result |= 8; /* Many gnulib modules require POSIX conformance of EBADF. */ if (dup2 (2, bad_fd) == -1 && errno != EBADF) result |= 16; /* Flush out some cygwin core dumps. */ if (dup2 (2, -1) != -1 || errno != EBADF) result |= 32; dup2 (2, 255); dup2 (2, 256); /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ { int fd = open (".", O_RDONLY); if (fd == -1) result |= 64; else if (dup2 (fd, fd + 1) == -1) result |= 128; close (fd); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_dup2_works=yes else gl_cv_func_dup2_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 $as_echo "$gl_cv_func_dup2_works" >&6; } case "$gl_cv_func_dup2_works" in *yes) ;; *) REPLACE_DUP2=1 for ac_func in setdtablesize do : ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize" if test "x$ac_cv_func_setdtablesize" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SETDTABLESIZE 1 _ACEOF fi done ;; esac fi if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then gltests_LIBOBJS="$gltests_LIBOBJS dup2.$ac_objext" fi if test "$GNULIB_DUP2" != 1; then if test "$GNULIB_DUP2" = 0; then GNULIB_DUP2=$gl_module_indicator_condition else GNULIB_DUP2="($GNULIB_DUP2 || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_DUP2 1" >>confdefs.h if test "$GNULIB_ENVIRON" != 1; then if test "$GNULIB_ENVIRON" = 0; then GNULIB_ENVIRON=$gl_module_indicator_condition else GNULIB_ENVIRON="($GNULIB_ENVIRON || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h if test $ac_cv_func_fcntl = no; then if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 $as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; } if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case $host_os in aix* | cygwin* | haiku*) gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif int main () { int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; if (errno != EINVAL) result |= 2; if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; if (errno != EINVAL) result |= 8; /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ { int fd; fd = open (".", O_RDONLY); if (fd == -1) result |= 16; else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) result |= 32; close (fd); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fcntl_f_dupfd_works=yes else gl_cv_func_fcntl_f_dupfd_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5 $as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; } case $gl_cv_func_fcntl_f_dupfd_works in *yes) ;; *) if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi $as_echo "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 $as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef F_DUPFD_CLOEXEC choke me #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __linux__ /* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace it to support the semantics on older kernels that failed with EINVAL. */ choke me #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_fcntl_f_dupfd_cloexec=yes else gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else gl_cv_func_fcntl_f_dupfd_cloexec=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5 $as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi fi fi if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then gltests_LIBOBJS="$gltests_LIBOBJS fcntl.$ac_objext" fi if test "$GNULIB_FCNTL" != 1; then if test "$GNULIB_FCNTL" = 0; then GNULIB_FCNTL=$gl_module_indicator_condition else GNULIB_FCNTL="($GNULIB_FCNTL || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_FCNTL 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_fcntl_h='<'fcntl.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_fcntl_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'fcntl.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_fcntl_h gl_cv_next_fcntl_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 $as_echo "$gl_cv_next_fcntl_h" >&6; } fi NEXT_FCNTL_H=$gl_cv_next_fcntl_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'fcntl.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_fcntl_h fi NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_FDOPEN=1 fi if test $REPLACE_FDOPEN = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fdopen sets errno" >&5 $as_echo_n "checking whether fdopen sets errno... " >&6; } if ${gl_cv_func_fdopen_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in mingw*) gl_cv_func_fdopen_works="guessing no" ;; *) gl_cv_func_fdopen_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { FILE *fp; errno = 0; fp = fdopen (-1, "r"); if (fp == NULL && errno == 0) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_fdopen_works=yes else gl_cv_func_fdopen_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopen_works" >&5 $as_echo "$gl_cv_func_fdopen_works" >&6; } case "$gl_cv_func_fdopen_works" in *no) REPLACE_FDOPEN=1 ;; esac fi if test $REPLACE_FDOPEN = 1; then gltests_LIBOBJS="$gltests_LIBOBJS fdopen.$ac_objext" fi if test "$GNULIB_FDOPEN" != 1; then if test "$GNULIB_FDOPEN" = 0; then GNULIB_FDOPEN=$gl_module_indicator_condition else GNULIB_FDOPEN="($GNULIB_FDOPEN || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h if test $ac_cv_func_ftruncate = yes; then case "$host_os" in mingw*) REPLACE_FTRUNCATE=1 ;; esac else HAVE_FTRUNCATE=0 fi if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS ftruncate.$ac_objext" for ac_func in chsize do : ac_fn_c_check_func "$LINENO" "chsize" "ac_cv_func_chsize" if test "x$ac_cv_func_chsize" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_CHSIZE 1 _ACEOF fi done fi if test "$GNULIB_FTRUNCATE" != 1; then if test "$GNULIB_FTRUNCATE" = 0; then GNULIB_FTRUNCATE=$gl_module_indicator_condition else GNULIB_FTRUNCATE="($GNULIB_FTRUNCATE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_FTRUNCATE 1" >>confdefs.h case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in *yes,yes) ;; *) REPLACE_GETCWD=1 ;; esac if test $REPLACE_GETCWD = 1; then gltests_LIBOBJS="$gltests_LIBOBJS getcwd-lgpl.$ac_objext" fi if test "$GNULIB_GETCWD" != 1; then if test "$GNULIB_GETCWD" = 0; then GNULIB_GETCWD=$gl_module_indicator_condition else GNULIB_GETCWD="($GNULIB_GETCWD || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETCWD 1" >>confdefs.h if test $ac_cv_func_getdtablesize = yes && test $ac_cv_have_decl_getdtablesize = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getdtablesize works" >&5 $as_echo_n "checking whether getdtablesize works... " >&6; } if ${gl_cv_func_getdtablesize_works+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;; *) if test "$cross_compiling" = yes; then : case "$host_os" in cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows gl_cv_func_getdtablesize_works="guessing no" ;; *) gl_cv_func_getdtablesize_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int size = getdtablesize(); if (dup2 (0, getdtablesize()) != -1) return 1; if (size != getdtablesize()) return 2; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_getdtablesize_works=yes else gl_cv_func_getdtablesize_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getdtablesize_works" >&5 $as_echo "$gl_cv_func_getdtablesize_works" >&6; } case "$gl_cv_func_getdtablesize_works" in *yes | "no (limitation)") ;; *) REPLACE_GETDTABLESIZE=1 ;; esac else HAVE_GETDTABLESIZE=0 fi if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS getdtablesize.$ac_objext" : fi if test "$GNULIB_GETDTABLESIZE" != 1; then if test "$GNULIB_GETDTABLESIZE" = 0; then GNULIB_GETDTABLESIZE=$gl_module_indicator_condition else GNULIB_GETDTABLESIZE="($GNULIB_GETDTABLESIZE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5 $as_echo_n "checking for getpagesize... " >&6; } if ${gl_cv_func_getpagesize+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return getpagesize(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_getpagesize=yes else gl_cv_func_getpagesize=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getpagesize" >&5 $as_echo "$gl_cv_func_getpagesize" >&6; } if test $gl_cv_func_getpagesize = no; then HAVE_GETPAGESIZE=0 for ac_header in OS.h do : ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" if test "x$ac_cv_header_OS_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_OS_H 1 _ACEOF fi done if test $ac_cv_header_OS_h = yes; then HAVE_OS_H=1 fi for ac_header in sys/param.h do : ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" if test "x$ac_cv_header_sys_param_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_PARAM_H 1 _ACEOF fi done if test $ac_cv_header_sys_param_h = yes; then HAVE_SYS_PARAM_H=1 fi fi case "$host_os" in mingw*) REPLACE_GETPAGESIZE=1 ;; esac ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default" if test "x$ac_cv_have_decl_getpagesize" = xyes; then : else HAVE_DECL_GETPAGESIZE=0 fi if test $REPLACE_GETPAGESIZE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS getpagesize.$ac_objext" fi if test "$GNULIB_GETPAGESIZE" != 1; then if test "$GNULIB_GETPAGESIZE" = 0; then GNULIB_GETPAGESIZE=$gl_module_indicator_condition else GNULIB_GETPAGESIZE="($GNULIB_GETPAGESIZE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h if test $ac_cv_func_getrusage = no; then HAVE_GETRUSAGE=0 fi if test $HAVE_GETRUSAGE = 0; then gltests_LIBOBJS="$gltests_LIBOBJS getrusage.$ac_objext" fi if test "$GNULIB_GETRUSAGE" != 1; then if test "$GNULIB_GETRUSAGE" = 0; then GNULIB_GETRUSAGE=$gl_module_indicator_condition else GNULIB_GETRUSAGE="($GNULIB_GETRUSAGE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETRUSAGE 1" >>confdefs.h gl_gettimeofday_timezone=void if test $ac_cv_func_gettimeofday != yes; then HAVE_GETTIMEOFDAY=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5 $as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; } if ${gl_cv_func_gettimeofday_clobber+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : # When cross-compiling: case "$host_os" in # Guess all is fine on glibc systems. *-gnu* | gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; # Guess all is fine on musl systems. *-musl*) gl_cv_func_gettimeofday_clobber="guessing no" ;; # Guess no on native Windows. mingw*) gl_cv_func_gettimeofday_clobber="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { time_t t = 0; struct tm *lt; struct tm saved_lt; struct timeval tv; lt = localtime (&t); saved_lt = *lt; gettimeofday (&tv, NULL); return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_gettimeofday_clobber=no else gl_cv_func_gettimeofday_clobber=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5 $as_echo "$gl_cv_func_gettimeofday_clobber" >&6; } case "$gl_cv_func_gettimeofday_clobber" in *yes) REPLACE_GETTIMEOFDAY=1 $as_echo "#define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h NEED_LOCALTIME_BUFFER=1 REPLACE_GMTIME=1 REPLACE_LOCALTIME=1 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5 $as_echo_n "checking for gettimeofday with POSIX signature... " >&6; } if ${gl_cv_func_gettimeofday_posix_signature+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct timeval c; int gettimeofday (struct timeval *restrict, void *restrict); int main () { /* glibc uses struct timezone * rather than the POSIX void * if _GNU_SOURCE is defined. However, since the only portable use of gettimeofday uses NULL as the second parameter, and since the glibc definition is actually more typesafe, it is not worth wrapping this to get a compliant signature. */ int (*f) (struct timeval *restrict, void *restrict) = gettimeofday; int x = f (&c, 0); return !(x | c.tv_sec | c.tv_usec); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_gettimeofday_posix_signature=yes else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int gettimeofday (struct timeval *restrict, struct timezone *restrict); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_gettimeofday_posix_signature=almost else gl_cv_func_gettimeofday_posix_signature=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5 $as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; } if test $gl_cv_func_gettimeofday_posix_signature = almost; then gl_gettimeofday_timezone='struct timezone' elif test $gl_cv_func_gettimeofday_posix_signature != yes; then REPLACE_GETTIMEOFDAY=1 fi if test $REPLACE_STRUCT_TIMEVAL = 1; then REPLACE_GETTIMEOFDAY=1 fi case "$host_os" in mingw*) REPLACE_GETTIMEOFDAY=1 ;; esac fi cat >>confdefs.h <<_ACEOF #define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone _ACEOF if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then gltests_LIBOBJS="$gltests_LIBOBJS gettimeofday.$ac_objext" : fi if test "$GNULIB_GETTIMEOFDAY" != 1; then if test "$GNULIB_GETTIMEOFDAY" = 0; then GNULIB_GETTIMEOFDAY=$gl_module_indicator_condition else GNULIB_GETTIMEOFDAY="($GNULIB_GETTIMEOFDAY || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h HAVE_INET_PTON=1 INET_PTON_LIB= if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $HAVE_WINSOCK2_H = 1; then REPLACE_INET_PTON=1 ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include " if test "x$ac_cv_have_decl_inet_pton" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_PTON $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_pton = yes; then INET_PTON_LIB="-lws2_32" else HAVE_DECL_INET_PTON=0 fi else gl_save_LIBS=$LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5 $as_echo_n "checking for library containing inet_pton... " >&6; } if ${ac_cv_search_inet_pton+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char inet_pton (); int main () { return inet_pton (); ; return 0; } _ACEOF for ac_lib in '' nsl resolv network; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_inet_pton=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_inet_pton+:} false; then : break fi done if ${ac_cv_search_inet_pton+:} false; then : else ac_cv_search_inet_pton=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5 $as_echo "$ac_cv_search_inet_pton" >&6; } ac_res=$ac_cv_search_inet_pton if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" else for ac_func in inet_pton do : ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" if test "x$ac_cv_func_inet_pton" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INET_PTON 1 _ACEOF fi done if test $ac_cv_func_inet_pton = no; then HAVE_INET_PTON=0 fi fi LIBS=$gl_save_LIBS if test "$ac_cv_search_inet_pton" != "no" \ && test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include #if HAVE_NETDB_H # include #endif " if test "x$ac_cv_have_decl_inet_pton" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_INET_PTON $ac_have_decl _ACEOF if test $ac_cv_have_decl_inet_pton = no; then HAVE_DECL_INET_PTON=0 fi fi if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1; then gltests_LIBOBJS="$gltests_LIBOBJS inet_pton.$ac_objext" fi if test "$GNULIB_INET_PTON" != 1; then if test "$GNULIB_INET_PTON" = 0; then GNULIB_INET_PTON=$gl_module_indicator_condition else GNULIB_INET_PTON="($GNULIB_INET_PTON || $gl_module_indicator_condition)" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac PRIPTR_PREFIX= if test -n "$STDINT_H"; then PRIPTR_PREFIX='"l"' else for glpfx in '' l ll I64; do case $glpfx in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; I64) gltype1='__int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern intptr_t foo; extern $gltype1 foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : PRIPTR_PREFIX='"'$glpfx'"' fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test -n "$PRIPTR_PREFIX" && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5 $as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; } if ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined INT32_MAX && defined INTMAX_MAX #define CONDITION (INT32_MAX < INTMAX_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (int) < sizeof (long long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes else gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5 $as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; } if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then INT32_MAX_LT_INTMAX_MAX=1; else INT32_MAX_LT_INTMAX_MAX=0; fi if test $APPLE_UNIVERSAL_BUILD = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5 $as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; } if ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined INT64_MAX #define CONDITION (INT64_MAX == LONG_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (long long int) == sizeof (long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes else gl_cv_test_INT64_MAX_EQ_LONG_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5 $as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; } if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then INT64_MAX_EQ_LONG_MAX=1; else INT64_MAX_EQ_LONG_MAX=0; fi else INT64_MAX_EQ_LONG_MAX=-1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5 $as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; } if ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined UINT32_MAX && defined UINTMAX_MAX #define CONDITION (UINT32_MAX < UINTMAX_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes else gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5 $as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; } if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then UINT32_MAX_LT_UINTMAX_MAX=1; else UINT32_MAX_LT_UINTMAX_MAX=0; fi if test $APPLE_UNIVERSAL_BUILD = 0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5 $as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; } if ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined UINT64_MAX #define CONDITION (UINT64_MAX == ULONG_MAX) #elif HAVE_LONG_LONG_INT #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int)) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes else gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5 $as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; } if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then UINT64_MAX_EQ_ULONG_MAX=1; else UINT64_MAX_EQ_ULONG_MAX=0; fi else UINT64_MAX_EQ_ULONG_MAX=-1 fi HAVE_IOCTL=1 if test "$ac_cv_header_winsock2_h" = yes; then HAVE_IOCTL=0 else for ac_func in ioctl do : ac_fn_c_check_func "$LINENO" "ioctl" "ac_cv_func_ioctl" if test "x$ac_cv_func_ioctl" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_IOCTL 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl with POSIX signature" >&5 $as_echo_n "checking for ioctl with POSIX signature... " >&6; } if ${gl_cv_func_ioctl_posix_signature+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* On some platforms, ioctl() is declared in . */ #include int main () { extern #ifdef __cplusplus "C" #endif int ioctl (int, int, ...); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_func_ioctl_posix_signature=yes else gl_cv_func_ioctl_posix_signature=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ioctl_posix_signature" >&5 $as_echo "$gl_cv_func_ioctl_posix_signature" >&6; } if test $gl_cv_func_ioctl_posix_signature != yes; then REPLACE_IOCTL=1 fi fi if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then gltests_LIBOBJS="$gltests_LIBOBJS ioctl.$ac_objext" fi if test "$GNULIB_IOCTL" != 1; then if test "$GNULIB_IOCTL" = 0; then GNULIB_IOCTL=$gl_module_indicator_condition else GNULIB_IOCTL="($GNULIB_IOCTL || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_IOCTL 1" >>confdefs.h if test $ac_cv_func_isblank = no; then HAVE_ISBLANK=0 fi if test $HAVE_ISBLANK = 0; then gltests_LIBOBJS="$gltests_LIBOBJS isblank.$ac_objext" fi if test "$GNULIB_ISBLANK" != 1; then if test "$GNULIB_ISBLANK" = 0; then GNULIB_ISBLANK=$gl_module_indicator_condition else GNULIB_ISBLANK="($GNULIB_ISBLANK || $gl_module_indicator_condition)" fi fi if test "$ac_cv_header_winsock2_h" = yes; then gltests_LIBOBJS="$gltests_LIBOBJS listen.$ac_objext" fi if test "$GNULIB_LISTEN" != 1; then if test "$GNULIB_LISTEN" = 0; then GNULIB_LISTEN=$gl_module_indicator_condition else GNULIB_LISTEN="($GNULIB_LISTEN || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_LISTEN 1" >>confdefs.h gltests_LIBOBJS="$gltests_LIBOBJS localtime-buffer.$ac_objext" if test "$gl_threads_api" = posix; then # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. has_rwlock=false ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include " if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : has_rwlock=true $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h fi if $has_rwlock; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_rwlock_rdlock prefers a writer to a reader" >&5 $as_echo_n "checking whether pthread_rwlock_rdlock prefers a writer to a reader... " >&6; } if ${gl_cv_pthread_rwlock_rdlock_prefer_writer+:} false; then : $as_echo_n "(cached) " >&6 else save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" if test "$cross_compiling" = yes; then : gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (exit (10 + (n))) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static pthread_rwlock_t lock; static pthread_t reader1; static pthread_t writer; static pthread_t reader2; static pthread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static pthread_mutex_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9: The second reader thread requests the lock. */ err = pthread_rwlock_tryrdlock (&lock); if (err == 0) FAILURE (); else if (err != EBUSY) UNEXPECTED (9); /* Step 10: Launch a timer, to test whether the next call blocks. */ if (pthread_create (&timer, NULL, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = pthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (pthread_create (&reader2, NULL, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (pthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = pthread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (pthread_rwlock_init (&lock, NULL)) UNEXPECTED (1); if (pthread_mutex_init (&baton, NULL)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (pthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (pthread_create (&writer, NULL, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_pthread_rwlock_rdlock_prefer_writer=yes else gl_cv_pthread_rwlock_rdlock_prefer_writer=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS="$save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pthread_rwlock_rdlock_prefer_writer" >&5 $as_echo "$gl_cv_pthread_rwlock_rdlock_prefer_writer" >&6; } case "$gl_cv_pthread_rwlock_rdlock_prefer_writer" in *yes) $as_echo "#define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1" >>confdefs.h ;; esac fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) error "No, in Mac OS X < 10.7 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : $as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi : cat >>confdefs.h <<_ACEOF #define GNULIB_LOCK $gl_module_indicator_condition _ACEOF if test $ac_cv_func_lstat = yes; then case $host_os,$gl_cv_func_lstat_dereferences_slashed_symlink in solaris* | *no) REPLACE_LSTAT=1 ;; esac else HAVE_LSTAT=0 fi if test $REPLACE_LSTAT = 1; then gltests_LIBOBJS="$gltests_LIBOBJS lstat.$ac_objext" : fi if test "$GNULIB_LSTAT" != 1; then if test "$GNULIB_LSTAT" = 0; then GNULIB_LSTAT=$gl_module_indicator_condition else GNULIB_LSTAT="($GNULIB_LSTAT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_LSTAT 1" >>confdefs.h if test $gl_cv_func_malloc_posix = yes; then $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h else REPLACE_MALLOC=1 fi if test $REPLACE_MALLOC = 1; then gltests_LIBOBJS="$gltests_LIBOBJS malloc.$ac_objext" fi if test "$GNULIB_MALLOC_POSIX" != 1; then if test "$GNULIB_MALLOC_POSIX" = 0; then GNULIB_MALLOC_POSIX=$gl_module_indicator_condition else GNULIB_MALLOC_POSIX="($GNULIB_MALLOC_POSIX || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes; then : gl_have_mmap=yes else gl_have_mmap=no fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 $as_echo "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes; then : gl_have_mmap=yes else gl_have_mmap=no fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 $as_echo "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi nanosleep_save_libs=$LIBS # Solaris 2.5.1 needs -lposix4 to get the nanosleep function. # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. LIB_NANOSLEEP= { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 $as_echo_n "checking for library containing nanosleep... " >&6; } if ${ac_cv_search_nanosleep+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char nanosleep (); int main () { return nanosleep (); ; return 0; } _ACEOF for ac_lib in '' rt posix4; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_nanosleep=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_nanosleep+:} false; then : break fi done if ${ac_cv_search_nanosleep+:} false; then : else ac_cv_search_nanosleep=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 $as_echo "$ac_cv_search_nanosleep" >&6; } ac_res=$ac_cv_search_nanosleep if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" test "$ac_cv_search_nanosleep" = "none required" || LIB_NANOSLEEP=$ac_cv_search_nanosleep fi if test "x$ac_cv_search_nanosleep" != xno; then if test $APPLE_UNIVERSAL_BUILD = 1; then # A universal build on Apple Mac OS X platforms. # The test result would be 'no (mishandles large arguments)' in 64-bit # mode but 'yes' in 32-bit mode. But we need a configuration result that # is valid in both modes. gl_cv_func_nanosleep='no (mishandles large arguments)' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nanosleep" >&5 $as_echo_n "checking for working nanosleep... " >&6; } if ${gl_cv_func_nanosleep+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in linux*) # Guess it halfway works when the kernel is Linux. gl_cv_func_nanosleep='guessing no (mishandles large arguments)' ;; mingw*) # Guess no on native Windows. gl_cv_func_nanosleep='guessing no' ;; *) # If we don't know, assume the worst. gl_cv_func_nanosleep='guessing no' ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_SYS_TIME_H #include #endif #include #include #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) #if HAVE_DECL_ALARM static void check_for_SIGALRM (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main () { static struct timespec ts_sleep; static struct timespec ts_remaining; /* Test for major problems first. */ if (! nanosleep) return 2; ts_sleep.tv_sec = 0; ts_sleep.tv_nsec = 1; #if HAVE_DECL_ALARM { static struct sigaction act; act.sa_handler = check_for_SIGALRM; sigemptyset (&act.sa_mask); sigaction (SIGALRM, &act, NULL); alarm (1); if (nanosleep (&ts_sleep, NULL) != 0) return 3; /* Test for a minor problem: the handling of large arguments. */ ts_sleep.tv_sec = TYPE_MAXIMUM (time_t); ts_sleep.tv_nsec = 999999999; alarm (1); if (nanosleep (&ts_sleep, &ts_remaining) != -1) return 4; if (errno != EINTR) return 5; if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10) return 6; } #else /* A simpler test for native Windows. */ if (nanosleep (&ts_sleep, &ts_remaining) < 0) return 3; #endif return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_nanosleep=yes else case $? in 4|5|6) gl_cv_func_nanosleep='no (mishandles large arguments)';; *) gl_cv_func_nanosleep=no;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nanosleep" >&5 $as_echo "$gl_cv_func_nanosleep" >&6; } case "$gl_cv_func_nanosleep" in *yes) REPLACE_NANOSLEEP=0 ;; *) REPLACE_NANOSLEEP=1 case "$gl_cv_func_nanosleep" in *"mishandles large arguments"*) $as_echo "#define HAVE_BUG_BIG_NANOSLEEP 1" >>confdefs.h ;; *) # The replacement uses select(). Add $LIBSOCKET to $LIB_NANOSLEEP. for ac_lib in $LIBSOCKET; do case " $LIB_NANOSLEEP " in *" $ac_lib "*) ;; *) LIB_NANOSLEEP="$LIB_NANOSLEEP $ac_lib";; esac done ;; esac ;; esac else HAVE_NANOSLEEP=0 fi LIBS=$nanosleep_save_libs if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then gltests_LIBOBJS="$gltests_LIBOBJS nanosleep.$ac_objext" : fi if test "$GNULIB_NANOSLEEP" != 1; then if test "$GNULIB_NANOSLEEP" = 0; then GNULIB_NANOSLEEP=$gl_module_indicator_condition else GNULIB_NANOSLEEP="($GNULIB_NANOSLEEP || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_NANOSLEEP 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 $as_echo_n "checking whether is self-contained... " >&6; } if ${gl_cv_header_netinet_in_h_selfcontained+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_netinet_in_h_selfcontained=yes else gl_cv_header_netinet_in_h_selfcontained=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 $as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; } if test $gl_cv_header_netinet_in_h_selfcontained = yes; then NETINET_IN_H='' else NETINET_IN_H='netinet/in.h' for ac_header in netinet/in.h do : ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" if test "x$ac_cv_header_netinet_in_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_NETINET_IN_H 1 _ACEOF fi done if test $gl_cv_have_include_next = yes; then gl_cv_next_netinet_in_h='<'netinet/in.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_netinet_in_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_netinet_in_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'netinet/in.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_netinet_in_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_netinet_in_h gl_cv_next_netinet_in_h='"'$gl_header'"' else gl_cv_next_netinet_in_h='<'netinet/in.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 $as_echo "$gl_cv_next_netinet_in_h" >&6; } fi NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'netinet/in.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_netinet_in_h fi NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive if test $ac_cv_header_netinet_in_h = yes; then HAVE_NETINET_IN_H=1 else HAVE_NETINET_IN_H=0 fi fi if test -n "$NETINET_IN_H"; then GL_GENERATE_NETINET_IN_H_TRUE= GL_GENERATE_NETINET_IN_H_FALSE='#' else GL_GENERATE_NETINET_IN_H_TRUE='#' GL_GENERATE_NETINET_IN_H_FALSE= fi case "$host_os" in mingw* | pw*) REPLACE_OPEN=1 ;; *) if test "$gl_cv_macro_O_CLOEXEC" != yes; then REPLACE_OPEN=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5 $as_echo_n "checking whether open recognizes a trailing slash... " >&6; } if ${gl_cv_func_open_slash+:} false; then : $as_echo_n "(cached) " >&6 else # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then touch conftest.tmp ln -s conftest.tmp conftest.lnk fi if test "$cross_compiling" = yes; then : case "$host_os" in freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) gl_cv_func_open_slash="guessing no" ;; *) gl_cv_func_open_slash="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #endif int main () { int result = 0; #if HAVE_LSTAT if (open ("conftest.lnk/", O_RDONLY) != -1) result |= 1; #endif if (open ("conftest.sl/", O_CREAT, 0600) >= 0) result |= 2; return result; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_open_slash=yes else gl_cv_func_open_slash=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.sl conftest.tmp conftest.lnk fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5 $as_echo "$gl_cv_func_open_slash" >&6; } case "$gl_cv_func_open_slash" in *no) $as_echo "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h REPLACE_OPEN=1 ;; esac ;; esac if test $REPLACE_OPEN = 1; then gltests_LIBOBJS="$gltests_LIBOBJS open.$ac_objext" : fi if test "$GNULIB_OPEN" != 1; then if test "$GNULIB_OPEN" = 0; then GNULIB_OPEN=$gl_module_indicator_condition else GNULIB_OPEN="($GNULIB_OPEN || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_OPEN 1" >>confdefs.h if test "$ERRNO_H:$REPLACE_STRERROR_0" != :0; then REPLACE_PERROR=1 fi case ${gl_cv_func_strerror_r_works-unset} in unset|*yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether perror matches strerror" >&5 $as_echo_n "checking whether perror matches strerror... " >&6; } if ${gl_cv_func_perror_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on musl systems. *-musl*) gl_cv_func_perror_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_perror_works="guessing yes" ;; # Otherwise guess no. *) gl_cv_func_perror_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { char *str = strerror (-1); if (!getenv("CONFTEST_OUTPUT")) return 0; if (!str) str = ""; puts (str); errno = -1; perror (""); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : if CONFTEST_OUTPUT=1 ./conftest$EXEEXT >conftest.txt1 2>conftest.txt2 \ && cmp conftest.txt1 conftest.txt2 >/dev/null; then gl_cv_func_perror_works=yes else gl_cv_func_perror_works=no fi rm -rf conftest.txt1 conftest.txt2 else gl_cv_func_perror_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_perror_works" >&5 $as_echo "$gl_cv_func_perror_works" >&6; } case "$gl_cv_func_perror_works" in *yes) ;; *) REPLACE_PERROR=1 ;; esac ;; *) REPLACE_PERROR=1 ;; esac if test $REPLACE_PERROR = 1; then gltests_LIBOBJS="$gltests_LIBOBJS perror.$ac_objext" fi if test "$GNULIB_PERROR" != 1; then if test "$GNULIB_PERROR" = 0; then GNULIB_PERROR=$gl_module_indicator_condition else GNULIB_PERROR="($GNULIB_PERROR || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PERROR 1" >>confdefs.h if test $ac_cv_func_pipe != yes; then HAVE_PIPE=0 fi if test $HAVE_PIPE = 0; then gltests_LIBOBJS="$gltests_LIBOBJS pipe.$ac_objext" fi if test "$GNULIB_PIPE" != 1; then if test "$GNULIB_PIPE" = 0; then GNULIB_PIPE=$gl_module_indicator_condition else GNULIB_PIPE="($GNULIB_PIPE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PIPE 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_pthread_h='<'pthread.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_pthread_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_pthread_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'pthread.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_pthread_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_pthread_h gl_cv_next_pthread_h='"'$gl_header'"' else gl_cv_next_pthread_h='<'pthread.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_pthread_h" >&5 $as_echo "$gl_cv_next_pthread_h" >&6; } fi NEXT_PTHREAD_H=$gl_cv_next_pthread_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'pthread.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_pthread_h fi NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H=$gl_next_as_first_directive if test $ac_cv_header_pthread_h = yes && test $gl_threads_api != windows; then HAVE_PTHREAD_H=1 else HAVE_PTHREAD_H=0 fi ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "$ac_includes_default #if HAVE_PTHREAD_H #include #endif " if test "x$ac_cv_type_pthread_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PTHREAD_T 1 _ACEOF fi ac_fn_c_check_type "$LINENO" "pthread_spinlock_t" "ac_cv_type_pthread_spinlock_t" "$ac_includes_default #if HAVE_PTHREAD_H #include #endif " if test "x$ac_cv_type_pthread_spinlock_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PTHREAD_SPINLOCK_T 1 _ACEOF fi if test $ac_cv_type_pthread_t != yes; then HAVE_PTHREAD_T=0 fi if test $ac_cv_type_pthread_spinlock_t != yes; then HAVE_PTHREAD_SPINLOCK_T=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_CREATE_DETACHED" >&5 $as_echo_n "checking for PTHREAD_CREATE_DETACHED... " >&6; } if ${gl_cv_const_PTHREAD_CREATE_DETACHED+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_CREATE_DETACHED; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_CREATE_DETACHED=yes else gl_cv_const_PTHREAD_CREATE_DETACHED=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_CREATE_DETACHED" >&5 $as_echo "$gl_cv_const_PTHREAD_CREATE_DETACHED" >&6; } if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then HAVE_PTHREAD_CREATE_DETACHED=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_RECURSIVE" >&5 $as_echo_n "checking for PTHREAD_MUTEX_RECURSIVE... " >&6; } if ${gl_cv_const_PTHREAD_MUTEX_RECURSIVE+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_MUTEX_RECURSIVE; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes else gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&5 $as_echo "$gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&6; } if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then HAVE_PTHREAD_MUTEX_RECURSIVE=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ROBUST" >&5 $as_echo_n "checking for PTHREAD_MUTEX_ROBUST... " >&6; } if ${gl_cv_const_PTHREAD_MUTEX_ROBUST+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_MUTEX_ROBUST; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_MUTEX_ROBUST=yes else gl_cv_const_PTHREAD_MUTEX_ROBUST=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_ROBUST" >&5 $as_echo "$gl_cv_const_PTHREAD_MUTEX_ROBUST" >&6; } if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then HAVE_PTHREAD_MUTEX_ROBUST=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PROCESS_SHARED" >&5 $as_echo_n "checking for PTHREAD_PROCESS_SHARED... " >&6; } if ${gl_cv_const_PTHREAD_PROCESS_SHARED+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_PROCESS_SHARED; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_const_PTHREAD_PROCESS_SHARED=yes else gl_cv_const_PTHREAD_PROCESS_SHARED=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_PROCESS_SHARED" >&5 $as_echo "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then HAVE_PTHREAD_PROCESS_SHARED=0 fi LIB_PTHREAD="$LIBMULTITHREAD" if { case "$host_os" in mingw*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 REPLACE_PTHREAD_ATTR_GETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_SETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_DESTROY=1 REPLACE_PTHREAD_SELF=1 REPLACE_PTHREAD_EQUAL=1 REPLACE_PTHREAD_DETACH=1 REPLACE_PTHREAD_JOIN=1 REPLACE_PTHREAD_EXIT=1 else if test $HAVE_PTHREAD_H = 0; then HAVE_PTHREAD_CREATE=0 HAVE_PTHREAD_ATTR_INIT=0 HAVE_PTHREAD_ATTR_GETDETACHSTATE=0 HAVE_PTHREAD_ATTR_SETDETACHSTATE=0 HAVE_PTHREAD_ATTR_DESTROY=0 HAVE_PTHREAD_SELF=0 HAVE_PTHREAD_EQUAL=0 HAVE_PTHREAD_DETACH=0 HAVE_PTHREAD_JOIN=0 HAVE_PTHREAD_EXIT=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create exists as a global function" >&5 $as_echo_n "checking whether pthread_create exists as a global function... " >&6; } if ${gl_cv_func_pthread_create+:} false; then : $as_echo_n "(cached) " >&6 else saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern #ifdef __cplusplus "C" #endif int pthread_create (void); int main () { return pthread_create (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_pthread_create=yes else gl_cv_func_pthread_create=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_create" >&5 $as_echo "$gl_cv_func_pthread_create" >&6; } if test $gl_cv_func_pthread_create = no; then REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 $as_echo "#define PTHREAD_CREATE_IS_INLINE 1" >>confdefs.h fi fi fi if test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS pthread-thread.$ac_objext" fi if test "$GNULIB_PTHREAD_THREAD" != 1; then if test "$GNULIB_PTHREAD_THREAD" = 0; then GNULIB_PTHREAD_THREAD=$gl_module_indicator_condition else GNULIB_PTHREAD_THREAD="($GNULIB_PTHREAD_THREAD || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PTHREAD_THREAD 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask is a macro" >&5 $as_echo_n "checking whether pthread_sigmask is a macro... " >&6; } if ${gl_cv_func_pthread_sigmask_macro+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifdef pthread_sigmask headers_define_pthread_sigmask #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "headers_define_pthread_sigmask" >/dev/null 2>&1; then : gl_cv_func_pthread_sigmask_macro=yes else gl_cv_func_pthread_sigmask_macro=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_macro" >&5 $as_echo "$gl_cv_func_pthread_sigmask_macro" >&6; } LIB_PTHREAD_SIGMASK= if test $gl_cv_func_pthread_sigmask_macro = yes; then HAVE_PTHREAD_SIGMASK=0 REPLACE_PTHREAD_SIGMASK=1 else if test "$gl_threads_api" = posix; then if test $ac_cv_func_pthread_sigmask = yes; then : else if test -n "$LIBMULTITHREAD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_sigmask in $LIBMULTITHREAD" >&5 $as_echo_n "checking for pthread_sigmask in $LIBMULTITHREAD... " >&6; } if ${gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return pthread_sigmask (0, (sigset_t *) 0, (sigset_t *) 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=yes else gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD" >&5 $as_echo "$gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD" >&6; } if test $gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD = yes; then LIB_PTHREAD_SIGMASK="$LIBMULTITHREAD" else HAVE_PTHREAD_SIGMASK=0 fi else HAVE_PTHREAD_SIGMASK=0 fi fi else if test $ac_cv_func_pthread_sigmask = yes; then REPLACE_PTHREAD_SIGMASK=1 else HAVE_PTHREAD_SIGMASK=0 fi fi fi if test $HAVE_PTHREAD_SIGMASK = 1; then if test -z "$LIB_PTHREAD_SIGMASK"; then case " $LIBS " in *' -pthread '*) ;; *' -lpthread '*) ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask works without -lpthread" >&5 $as_echo_n "checking whether pthread_sigmask works without -lpthread... " >&6; } if ${gl_cv_func_pthread_sigmask_in_libc_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in freebsd* | hpux* | solaris | solaris2.[2-9]*) gl_cv_func_pthread_sigmask_in_libc_works="guessing no";; *) gl_cv_func_pthread_sigmask_in_libc_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { sigset_t set; sigemptyset (&set); return pthread_sigmask (1729, &set, NULL) != 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_pthread_sigmask_in_libc_works=no else gl_cv_func_pthread_sigmask_in_libc_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_in_libc_works" >&5 $as_echo "$gl_cv_func_pthread_sigmask_in_libc_works" >&6; } case "$gl_cv_func_pthread_sigmask_in_libc_works" in *no) REPLACE_PTHREAD_SIGMASK=1 $as_echo "#define PTHREAD_SIGMASK_INEFFECTIVE 1" >>confdefs.h ;; esac;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask returns error numbers" >&5 $as_echo_n "checking whether pthread_sigmask returns error numbers... " >&6; } if ${gl_cv_func_pthread_sigmask_return_works+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_LIBS="$LIBS" LIBS="$LIBS $LIB_PTHREAD_SIGMASK" if test "$cross_compiling" = yes; then : case "$host_os" in cygwin*) gl_cv_func_pthread_sigmask_return_works="guessing no";; *) gl_cv_func_pthread_sigmask_return_works="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { sigset_t set; sigemptyset (&set); if (pthread_sigmask (1729, &set, NULL) == -1) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_pthread_sigmask_return_works=yes else gl_cv_func_pthread_sigmask_return_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS="$gl_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_return_works" >&5 $as_echo "$gl_cv_func_pthread_sigmask_return_works" >&6; } case "$gl_cv_func_pthread_sigmask_return_works" in *no) REPLACE_PTHREAD_SIGMASK=1 $as_echo "#define PTHREAD_SIGMASK_FAILS_WITH_ERRNO 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask unblocks signals correctly" >&5 $as_echo_n "checking whether pthread_sigmask unblocks signals correctly... " >&6; } if ${gl_cv_func_pthread_sigmask_unblock_works+:} false; then : $as_echo_n "(cached) " >&6 else case "$host_os" in irix*) gl_cv_func_pthread_sigmask_unblock_works="guessing no";; *) gl_cv_func_pthread_sigmask_unblock_works="guessing yes";; esac gl_save_LIBS=$LIBS LIBS="$LIBS $LIBMULTITHREAD" if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main () { sigset_t set; int pid = getpid (); char command[80]; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); if (!(pthread_sigmask (SIG_BLOCK, &set, NULL) == 0)) return 1; sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); if (!(system (command) == 0)) return 2; sleep (2); if (!(sigint_occurred == 0)) return 3; if (!(pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0)) return 4; if (!(sigint_occurred == 1)) /* This fails on IRIX. */ return 5; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : : else gl_cv_func_pthread_sigmask_unblock_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS=$gl_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_unblock_works" >&5 $as_echo "$gl_cv_func_pthread_sigmask_unblock_works" >&6; } case "$gl_cv_func_pthread_sigmask_unblock_works" in *no) REPLACE_PTHREAD_SIGMASK=1 $as_echo "#define PTHREAD_SIGMASK_UNBLOCK_BUG 1" >>confdefs.h ;; esac fi if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then gltests_LIBOBJS="$gltests_LIBOBJS pthread_sigmask.$ac_objext" if test $HAVE_PTHREAD_SIGMASK = 1; then $as_echo "#define HAVE_PTHREAD_SIGMASK 1" >>confdefs.h fi fi if test "$GNULIB_PTHREAD_SIGMASK" != 1; then if test "$GNULIB_PTHREAD_SIGMASK" = 0; then GNULIB_PTHREAD_SIGMASK=$gl_module_indicator_condition else GNULIB_PTHREAD_SIGMASK="($GNULIB_PTHREAD_SIGMASK || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PTHREAD_SIGMASK 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5 $as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; } if ${gl_cv_func_svid_putenv+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_svid_putenv="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_svid_putenv="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Put it in env. */ if (putenv ("CONFTEST_putenv=val")) return 1; /* Try to remove it. */ if (putenv ("CONFTEST_putenv")) return 2; /* Make sure it was deleted. */ if (getenv ("CONFTEST_putenv") != 0) return 3; return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_svid_putenv=yes else gl_cv_func_svid_putenv=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5 $as_echo "$gl_cv_func_svid_putenv" >&6; } case "$gl_cv_func_svid_putenv" in *yes) ;; *) REPLACE_PUTENV=1 ;; esac if test $REPLACE_PUTENV = 1; then gltests_LIBOBJS="$gltests_LIBOBJS putenv.$ac_objext" ac_fn_c_check_decl "$LINENO" "_putenv" "ac_cv_have_decl__putenv" "$ac_includes_default" if test "x$ac_cv_have_decl__putenv" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__PUTENV $ac_have_decl _ACEOF fi if test "$GNULIB_PUTENV" != 1; then if test "$GNULIB_PUTENV" = 0; then GNULIB_PUTENV=$gl_module_indicator_condition else GNULIB_PUTENV="($GNULIB_PUTENV || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_PUTENV 1" >>confdefs.h for ac_func in raise do : ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise" if test "x$ac_cv_func_raise" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_RAISE 1 _ACEOF fi done if test $ac_cv_func_raise = no; then HAVE_RAISE=0 else if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_RAISE=1 fi if test $gl_cv_type_sigset_t = yes; then ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" if test "x$ac_cv_func_sigprocmask" = xyes; then : gl_cv_func_sigprocmask=1 fi fi if test -z "$gl_cv_func_sigprocmask"; then HAVE_POSIX_SIGNALBLOCKING=0 fi if test $HAVE_POSIX_SIGNALBLOCKING = 0; then : fi fi if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then gltests_LIBOBJS="$gltests_LIBOBJS raise.$ac_objext" : fi if test "$GNULIB_RAISE" != 1; then if test "$GNULIB_RAISE" = 0; then GNULIB_RAISE=$gl_module_indicator_condition else GNULIB_RAISE="($GNULIB_RAISE || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_RAISE 1" >>confdefs.h for ac_header in sched.h do : ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "#if HAVE_SYS_CDEFS_H #include #endif " if test "x$ac_cv_header_sched_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SCHED_H 1 _ACEOF fi done if test $gl_cv_have_include_next = yes; then gl_cv_next_sched_h='<'sched.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sched_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sched.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sched_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sched_h gl_cv_next_sched_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5 $as_echo "$gl_cv_next_sched_h" >&6; } fi NEXT_SCHED_H=$gl_cv_next_sched_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sched.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sched_h fi NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive if test "$ac_cv_header_sched_h" = yes; then HAVE_SCHED_H=1 else HAVE_SCHED_H=0 fi if test "$HAVE_SCHED_H" = 1; then ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#if HAVE_SYS_CDEFS_H #include #endif #include " if test "x$ac_cv_type_struct_sched_param" = xyes; then : HAVE_STRUCT_SCHED_PARAM=1 else HAVE_STRUCT_SCHED_PARAM=0 fi else HAVE_STRUCT_SCHED_PARAM=0 case "$host_os" in os2*) ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include " if test "x$ac_cv_type_struct_sched_param" = xyes; then : HAVE_STRUCT_SCHED_PARAM=1 fi ;; vms) ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include " if test "x$ac_cv_type_struct_sched_param" = xyes; then : HAVE_STRUCT_SCHED_PARAM=1 fi ;; esac fi if test "$ac_cv_header_sys_cdefs_h" = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi if test "$ac_cv_header_winsock2_h" = yes; then REPLACE_SELECT=1 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5 $as_echo_n "checking whether select supports a 0 argument... " >&6; } if ${gl_cv_func_select_supports0+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess no on Interix. interix*) gl_cv_func_select_supports0="guessing no";; # Guess yes otherwise. *) gl_cv_func_select_supports0="guessing yes";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_SELECT_H #include #endif int main () { struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_select_supports0=yes else gl_cv_func_select_supports0=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5 $as_echo "$gl_cv_func_select_supports0" >&6; } case "$gl_cv_func_select_supports0" in *yes) ;; *) REPLACE_SELECT=1 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select detects invalid fds" >&5 $as_echo_n "checking whether select detects invalid fds... " >&6; } if ${gl_cv_func_select_detects_ebadf+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_select_detects_ebadf="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_select_detects_ebadf="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_select_detects_ebadf="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_SELECT_H # include #endif #include #include int main () { fd_set set; dup2(0, 16); FD_ZERO(&set); FD_SET(16, &set); close(16); struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (17, &set, NULL, NULL, &timeout) != -1 || errno != EBADF; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_select_detects_ebadf=yes else gl_cv_func_select_detects_ebadf=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_detects_ebadf" >&5 $as_echo "$gl_cv_func_select_detects_ebadf" >&6; } case $gl_cv_func_select_detects_ebadf in *yes) ;; *) REPLACE_SELECT=1 ;; esac fi LIB_SELECT="$LIBSOCKET" if test $REPLACE_SELECT = 1; then case "$host_os" in mingw*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define WIN32_LEAN_AND_MEAN #include int main () { MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : else LIB_SELECT="$LIB_SELECT -luser32" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ;; esac fi if test $REPLACE_SELECT = 1; then gltests_LIBOBJS="$gltests_LIBOBJS select.$ac_objext" fi if test "$GNULIB_SELECT" != 1; then if test "$GNULIB_SELECT" = 0; then GNULIB_SELECT=$gl_module_indicator_condition else GNULIB_SELECT="($GNULIB_SELECT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SELECT 1" >>confdefs.h if test "$ac_cv_header_winsock2_h" = yes; then gltests_LIBOBJS="$gltests_LIBOBJS setsockopt.$ac_objext" fi if test "$GNULIB_SETSOCKOPT" != 1; then if test "$GNULIB_SETSOCKOPT" = 0; then GNULIB_SETSOCKOPT=$gl_module_indicator_condition else GNULIB_SETSOCKOPT="($GNULIB_SETSOCKOPT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SETSOCKOPT 1" >>confdefs.h if test $ac_cv_func_sigaction = yes; then ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include " if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1 _ACEOF fi if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 fi else HAVE_SIGACTION=0 fi if test $HAVE_SIGACTION = 0; then gltests_LIBOBJS="$gltests_LIBOBJS sigaction.$ac_objext" ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" " #include " if test "x$ac_cv_type_siginfo_t" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SIGINFO_T 1 _ACEOF fi if test $ac_cv_type_siginfo_t = no; then HAVE_SIGINFO_T=0 fi fi if test "$GNULIB_SIGACTION" != 1; then if test "$GNULIB_SIGACTION" = 0; then GNULIB_SIGACTION=$gl_module_indicator_condition else GNULIB_SIGACTION="($GNULIB_SIGACTION || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SIGACTION 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_signal_h='<'signal.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_signal_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'signal.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_signal_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_signal_h gl_cv_next_signal_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5 $as_echo "$gl_cv_next_signal_h" >&6; } fi NEXT_SIGNAL_H=$gl_cv_next_signal_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'signal.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_signal_h fi NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive # AIX declares sig_atomic_t to already include volatile, and C89 compilers # then choke on 'volatile sig_atomic_t'. C99 requires that it compile. ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" " #include " if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then : else HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0 fi ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" " #include " if test "x$ac_cv_type_sighandler_t" = xyes; then : else HAVE_SIGHANDLER_T=0 fi if test $gl_cv_type_sigset_t = yes; then ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" if test "x$ac_cv_func_sigprocmask" = xyes; then : gl_cv_func_sigprocmask=1 fi fi if test -z "$gl_cv_func_sigprocmask"; then HAVE_POSIX_SIGNALBLOCKING=0 fi if test $HAVE_POSIX_SIGNALBLOCKING = 0; then gltests_LIBOBJS="$gltests_LIBOBJS sigprocmask.$ac_objext" : fi if test "$GNULIB_SIGPROCMASK" != 1; then if test "$GNULIB_SIGPROCMASK" = 0; then GNULIB_SIGPROCMASK=$gl_module_indicator_condition else GNULIB_SIGPROCMASK="($GNULIB_SIGPROCMASK || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include " if test "x$ac_cv_have_decl_sleep" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SLEEP $ac_have_decl _ACEOF if test $ac_cv_have_decl_sleep != yes; then HAVE_SLEEP=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5 $as_echo_n "checking for working sleep... " >&6; } if ${gl_cv_func_sleep_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_sleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_sleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_sleep_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (2); } int main () { /* Failure to compile this test due to missing alarm is okay, since all such platforms (mingw) also lack sleep. */ unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ unsigned int remaining; signal (SIGALRM, handle_alarm); alarm (1); remaining = sleep (pentecost); if (remaining > pentecost) return 3; if (remaining <= pentecost - 10) return 4; return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_sleep_works=yes else gl_cv_func_sleep_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5 $as_echo "$gl_cv_func_sleep_works" >&6; } case "$gl_cv_func_sleep_works" in *yes) ;; *) REPLACE_SLEEP=1 ;; esac fi if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then gltests_LIBOBJS="$gltests_LIBOBJS sleep.$ac_objext" fi if test "$GNULIB_SLEEP" != 1; then if test "$GNULIB_SLEEP" = 0; then GNULIB_SLEEP=$gl_module_indicator_condition else GNULIB_SLEEP="($GNULIB_SLEEP || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SLEEP 1" >>confdefs.h if test "$ac_cv_header_winsock2_h" = yes; then gltests_LIBOBJS="$gltests_LIBOBJS socket.$ac_objext" fi # When this module is used, sockets may actually occur as file descriptors, # hence it is worth warning if the modules 'close' and 'ioctl' are not used. if test "$ac_cv_header_winsock2_h" = yes; then UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 fi if test "$GNULIB_SOCKET" != 1; then if test "$GNULIB_SOCKET" = 0; then GNULIB_SOCKET=$gl_module_indicator_condition else GNULIB_SOCKET="($GNULIB_SOCKET || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SOCKET 1" >>confdefs.h case "$host_os" in mingw*) REPLACE_STAT=1 ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } if ${gl_cv_func_stat_file_slash+:} false; then : $as_echo_n "(cached) " >&6 else touch conftest.tmp # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then ln -s conftest.tmp conftest.lnk fi if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_stat_file_slash="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int result = 0; struct stat st; if (!stat ("conftest.tmp/", &st)) result |= 1; #if HAVE_LSTAT if (!stat ("conftest.lnk/", &st)) result |= 2; #endif return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_stat_file_slash=yes else gl_cv_func_stat_file_slash=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.tmp conftest.lnk fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5 $as_echo "$gl_cv_func_stat_file_slash" >&6; } case $gl_cv_func_stat_file_slash in *no) REPLACE_STAT=1 $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h ;; esac case $host_os in solaris*) REPLACE_FSTAT=1 ;; esac ;; esac if test $REPLACE_STAT = 1; then gltests_LIBOBJS="$gltests_LIBOBJS stat.$ac_objext" case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS stat-w32.$ac_objext" ;; esac : fi if test "$GNULIB_STAT" != 1; then if test "$GNULIB_STAT" = 0; then GNULIB_STAT=$gl_module_indicator_condition else GNULIB_STAT="($GNULIB_STAT || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_STAT 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_stdlib_h='<'stdlib.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_stdlib_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdlib.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdlib_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdlib_h gl_cv_next_stdlib_h='"'$gl_header'"' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 $as_echo "$gl_cv_next_stdlib_h" >&6; } fi NEXT_STDLIB_H=$gl_cv_next_stdlib_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdlib.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdlib_h fi NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 $as_echo_n "checking for working strerror function... " >&6; } if ${gl_cv_func_working_strerror+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_working_strerror="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_working_strerror="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { if (!*strerror (-2)) return 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_working_strerror=yes else gl_cv_func_working_strerror=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 $as_echo "$gl_cv_func_working_strerror" >&6; } case "$gl_cv_func_working_strerror" in *yes) ;; *) REPLACE_STRERROR=1 ;; esac case "$gl_cv_func_strerror_r_works" in *no) REPLACE_STRERROR=1 ;; esac else REPLACE_STRERROR=1 fi if test $REPLACE_STRERROR = 1; then gltests_LIBOBJS="$gltests_LIBOBJS strerror.$ac_objext" fi cat >>confdefs.h <<_ACEOF #define GNULIB_STRERROR $gl_module_indicator_condition _ACEOF if test "$GNULIB_STRERROR" != 1; then if test "$GNULIB_STRERROR" = 0; then GNULIB_STRERROR=$gl_module_indicator_condition else GNULIB_STRERROR="($GNULIB_STRERROR || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then gltests_LIBOBJS="$gltests_LIBOBJS strerror-override.$ac_objext" if test $ac_cv_header_sys_socket_h != yes; then for ac_header in winsock2.h do : ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_WINSOCK2_H 1 _ACEOF fi done fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi fi if test $ac_cv_have_decl_strerror_r = no; then HAVE_DECL_STRERROR_R=0 fi if test $ac_cv_func_strerror_r = yes; then if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then if test $gl_cv_func_strerror_r_posix_signature = yes; then case "$gl_cv_func_strerror_r_works" in *no) REPLACE_STRERROR_R=1 ;; esac else REPLACE_STRERROR_R=1 fi else REPLACE_STRERROR_R=1 fi fi if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then gltests_LIBOBJS="$gltests_LIBOBJS strerror_r.$ac_objext" fi if test "$GNULIB_STRERROR_R" != 1; then if test "$GNULIB_STRERROR_R" = 0; then GNULIB_STRERROR_R=$gl_module_indicator_condition else GNULIB_STRERROR_R="($GNULIB_STRERROR_R || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_STRERROR_R 1" >>confdefs.h cat >>confdefs.h <<_ACEOF #define GNULIB_STRERROR_R_POSIX $gl_module_indicator_condition _ACEOF # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes; then : gl_have_mmap=yes else gl_have_mmap=no fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : gl_have_mmap_anonymous=yes fi rm -f conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "I cannot identify this map" >/dev/null 2>&1; then : $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 $as_echo "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi if test $ac_cv_func_symlink = no; then HAVE_SYMLINK=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5 $as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; } if ${gl_cv_func_symlink_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_symlink_works="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_symlink_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int result = 0; if (!symlink ("a", "conftest.link/")) result |= 1; if (symlink ("conftest.f", "conftest.lnk2")) result |= 2; else if (!symlink ("a", "conftest.lnk2/")) result |= 4; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_symlink_works=yes else gl_cv_func_symlink_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f conftest.f conftest.link conftest.lnk2 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5 $as_echo "$gl_cv_func_symlink_works" >&6; } case "$gl_cv_func_symlink_works" in *yes) ;; *) REPLACE_SYMLINK=1 ;; esac fi if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then gltests_LIBOBJS="$gltests_LIBOBJS symlink.$ac_objext" fi if test "$GNULIB_SYMLINK" != 1; then if test "$GNULIB_SYMLINK" = 0; then GNULIB_SYMLINK=$gl_module_indicator_condition else GNULIB_SYMLINK="($GNULIB_SYMLINK || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_SYMLINK 1" >>confdefs.h if test $ac_cv_header_sys_ioctl_h = yes; then HAVE_SYS_IOCTL_H=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declares ioctl" >&5 $as_echo_n "checking whether declares ioctl... " >&6; } if ${gl_cv_decl_ioctl_in_sys_ioctl_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { (void) ioctl; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_decl_ioctl_in_sys_ioctl_h=yes else gl_cv_decl_ioctl_in_sys_ioctl_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_ioctl_in_sys_ioctl_h" >&5 $as_echo "$gl_cv_decl_ioctl_in_sys_ioctl_h" >&6; } else HAVE_SYS_IOCTL_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_ioctl_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_ioctl_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/ioctl.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_ioctl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_ioctl_h gl_cv_next_sys_ioctl_h='"'$gl_header'"' else gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_ioctl_h" >&5 $as_echo "$gl_cv_next_sys_ioctl_h" >&6; } fi NEXT_SYS_IOCTL_H=$gl_cv_next_sys_ioctl_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/ioctl.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_ioctl_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H=$gl_next_as_first_directive if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_resource_h='<'sys/resource.h'>' else { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 $as_echo_n "checking absolute name of ... " >&6; } if ${gl_cv_next_sys_resource_h+:} false; then : $as_echo_n "(cached) " >&6 else if test $ac_cv_header_sys_resource_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/resource.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_resource_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_resource_h gl_cv_next_sys_resource_h='"'$gl_header'"' else gl_cv_next_sys_resource_h='<'sys/resource.h'>' fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_resource_h" >&5 $as_echo "$gl_cv_next_sys_resource_h" >&6; } fi NEXT_SYS_RESOURCE_H=$gl_cv_next_sys_resource_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/resource.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_resource_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H=$gl_next_as_first_directive if test $ac_cv_header_sys_resource_h = yes; then HAVE_SYS_RESOURCE_H=1 else HAVE_SYS_RESOURCE_H=0 fi if test $gl_threads_api = posix; then gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" for ac_func in pthread_atfork do : ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork" if test "x$ac_cv_func_pthread_atfork" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_PTHREAD_ATFORK 1 _ACEOF fi done LIBS="$gl_save_LIBS" fi if test $ac_cv_have_decl_unsetenv = no; then HAVE_DECL_UNSETENV=0 fi for ac_func in unsetenv do : ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" if test "x$ac_cv_func_unsetenv" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_UNSETENV 1 _ACEOF fi done if test $ac_cv_func_unsetenv = no; then HAVE_UNSETENV=0 else HAVE_UNSETENV=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 $as_echo_n "checking for unsetenv() return type... " >&6; } if ${gt_cv_func_unsetenv_ret+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #undef _BSD #define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ #include extern #ifdef __cplusplus "C" #endif int unsetenv (const char *name); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_func_unsetenv_ret='int' else gt_cv_func_unsetenv_ret='void' fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5 $as_echo "$gt_cv_func_unsetenv_ret" >&6; } if test $gt_cv_func_unsetenv_ret = 'void'; then $as_echo "#define VOID_UNSETENV 1" >>confdefs.h REPLACE_UNSETENV=1 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 $as_echo_n "checking whether unsetenv obeys POSIX... " >&6; } if ${gl_cv_func_unsetenv_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_unsetenv_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern char **environ; int main () { char entry1[] = "a=1"; char entry2[] = "b=2"; char *env[] = { entry1, entry2, NULL }; if (putenv ((char *) "a=1")) return 1; if (putenv (entry2)) return 2; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 3; if (!unsetenv ("") || errno != EINVAL) return 4; entry2[0] = 'b'; environ = env; if (!getenv ("a")) return 5; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 6; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_unsetenv_works=yes else gl_cv_func_unsetenv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5 $as_echo "$gl_cv_func_unsetenv_works" >&6; } case "$gl_cv_func_unsetenv_works" in *yes) ;; *) REPLACE_UNSETENV=1 ;; esac fi if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then gltests_LIBOBJS="$gltests_LIBOBJS unsetenv.$ac_objext" fi if test "$GNULIB_UNSETENV" != 1; then if test "$GNULIB_UNSETENV" = 0; then GNULIB_UNSETENV=$gl_module_indicator_condition else GNULIB_UNSETENV="($GNULIB_UNSETENV || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_UNSETENV 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "useconds_t" "ac_cv_type_useconds_t" "$ac_includes_default" if test "x$ac_cv_type_useconds_t" = xyes; then : else $as_echo "#define useconds_t unsigned int" >>confdefs.h fi if test $ac_cv_func_usleep = no; then HAVE_USLEEP=0 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep allows large arguments" >&5 $as_echo_n "checking whether usleep allows large arguments... " >&6; } if ${gl_cv_func_usleep_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_usleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_usleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_usleep_works="guessing no" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !!usleep (1000000); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gl_cv_func_usleep_works=yes else gl_cv_func_usleep_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_usleep_works" >&5 $as_echo "$gl_cv_func_usleep_works" >&6; } case "$gl_cv_func_usleep_works" in *yes) ;; *) REPLACE_USLEEP=1 ;; esac fi if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then gltests_LIBOBJS="$gltests_LIBOBJS usleep.$ac_objext" fi if test "$GNULIB_USLEEP" != 1; then if test "$GNULIB_USLEEP" = 0; then GNULIB_USLEEP=$gl_module_indicator_condition else GNULIB_USLEEP="($GNULIB_USLEEP || $gl_module_indicator_condition)" fi fi $as_echo "#define GNULIB_TEST_USLEEP 1" >>confdefs.h # Check whether --enable-valgrind-tests was given. if test "${enable_valgrind_tests+set}" = set; then : enableval=$enable_valgrind_tests; opt_valgrind_tests=$enableval else opt_valgrind_tests=yes fi # Run self-tests under valgrind? if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then for ac_prog in valgrind do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_VALGRIND+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$VALGRIND"; then ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_VALGRIND="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi VALGRIND=$ac_cv_prog_VALGRIND if test -n "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5 $as_echo "$VALGRIND" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$VALGRIND" && break done if test "$VALGRIND"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind options for tests" >&5 $as_echo_n "checking for valgrind options for tests... " >&6; } if ${gl_cv_opt_valgrind_tests+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_opt_valgrind_tests="-q --error-exitcode=1 --leak-check=full" $VALGRIND $gl_valgrind_opts ls > /dev/null 2>&1 || gl_cv_opt_valgrind_tests=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_opt_valgrind_tests" >&5 $as_echo "$gl_cv_opt_valgrind_tests" >&6; } if test "$gl_cv_opt_valgrind_tests" != no; then VALGRIND="$VALGRIND $gl_cv_opt_valgrind_tests" else VALGRIND= fi fi fi case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-mutex.$ac_objext" ;; esac case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-once.$ac_objext" ;; esac case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-recmutex.$ac_objext" ;; esac case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-rwlock.$ac_objext" ;; esac case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-thread.$ac_objext" ;; esac case "$host_os" in mingw*) gltests_LIBOBJS="$gltests_LIBOBJS windows-tls.$ac_objext" ;; esac LIBTESTS_LIBDEPS="$gltests_libdeps" $as_echo "#define GNULIB_NO_VLA 1" >>confdefs.h # Disable GSSAPI/GS2 if we can't find GSS-API implementation if test "$gssapi_impl" = "no"; then gs2=no gssapi=no fi # GS2, second part if test "$gs2" != "no" ; then $as_echo "#define USE_GS2 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GS2 should be used" >&5 $as_echo_n "checking if GS2 should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gs2" >&5 $as_echo "$gs2" >&6; } if test x$gs2 = xyes; then GS2_TRUE= GS2_FALSE='#' else GS2_TRUE='#' GS2_FALSE= fi # GSSAPI, second part if test "$gssapi" != "no" ; then $as_echo "#define USE_GSSAPI 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSSAPI should be used" >&5 $as_echo_n "checking if GSSAPI should be used... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gssapi" >&5 $as_echo "$gssapi" >&6; } if test x$gssapi = xyes; then GSSAPI_TRUE= GSSAPI_FALSE='#' else GSSAPI_TRUE='#' GSSAPI_FALSE= fi if ! sed 's/_VERSION ".*"/_VERSION "'$PACKAGE_VERSION'"/' $srcdir/src/gsasl.h > fixhdr.tmp; then as_fn_error $? "*** Failed to update version number in $srcdir/src/gsasl.h..." "$LINENO" 5 fi if cmp -s $srcdir/src/gsasl.h fixhdr.tmp 2>/dev/null; then rm -f fixhdr.tmp elif ! mv fixhdr.tmp $srcdir/src/gsasl.h; then as_fn_error $? "*** Failed to move fixhdr.tmp to $srcdir/src/gsasl.h..." "$LINENO" 5 fi MAJOR_VERSION=`echo $PACKAGE_VERSION | sed 's/\(.*\)\..*\..*/\1/g'` MINOR_VERSION=`echo $PACKAGE_VERSION | sed 's/.*\.\(.*\)\..*/\1/g'` PATCH_VERSION=`echo $PACKAGE_VERSION | sed 's/.*\..*\.\(.*\)/\1/g'` NUMBER_VERSION=`printf "0x%02x%02x%02x" $MAJOR_VERSION $MINOR_VERSION $PATCH_VERSION` if ! sed "s/VERSION_MAJOR .*/VERSION_MAJOR $MAJOR_VERSION/" $srcdir/src/gsasl.h > fixhdr.tmp; then as_fn_error $? "*** Failed to update version number in $srcdir/src/gsasl.h..." "$LINENO" 5 fi if cmp -s $srcdir/src/gsasl.h fixhdr.tmp 2>/dev/null; then rm -f fixhdr.tmp elif ! mv fixhdr.tmp $srcdir/src/gsasl.h; then as_fn_error $? "*** Failed to move fixhdr.tmp to $srcdir/src/gsasl.h..." "$LINENO" 5 fi if ! sed "s/VERSION_MINOR .*/VERSION_MINOR $MINOR_VERSION/" $srcdir/src/gsasl.h > fixhdr.tmp; then as_fn_error $? "*** Failed to update version number in $srcdir/src/gsasl.h..." "$LINENO" 5 fi if cmp -s $srcdir/src/gsasl.h fixhdr.tmp 2>/dev/null; then rm -f fixhdr.tmp elif ! mv fixhdr.tmp $srcdir/src/gsasl.h; then as_fn_error $? "*** Failed to move fixhdr.tmp to $srcdir/src/gsasl.h..." "$LINENO" 5 fi if ! sed "s/VERSION_PATCH .*/VERSION_PATCH $PATCH_VERSION/" $srcdir/src/gsasl.h > fixhdr.tmp; then as_fn_error $? "*** Failed to update version number in $srcdir/src/gsasl.h..." "$LINENO" 5 fi if cmp -s $srcdir/src/gsasl.h fixhdr.tmp 2>/dev/null; then rm -f fixhdr.tmp elif ! mv fixhdr.tmp $srcdir/src/gsasl.h; then as_fn_error $? "*** Failed to move fixhdr.tmp to $srcdir/src/gsasl.h..." "$LINENO" 5 fi if ! sed "s/VERSION_NUMBER .*/VERSION_NUMBER $NUMBER_VERSION/" $srcdir/src/gsasl.h > fixhdr.tmp; then as_fn_error $? "*** Failed to update version number in $srcdir/src/gsasl.h..." "$LINENO" 5 fi if cmp -s $srcdir/src/gsasl.h fixhdr.tmp 2>/dev/null; then rm -f fixhdr.tmp elif ! mv fixhdr.tmp $srcdir/src/gsasl.h; then as_fn_error $? "*** Failed to move fixhdr.tmp to $srcdir/src/gsasl.h..." "$LINENO" 5 fi ac_config_files="$ac_config_files Makefile anonymous/Makefile cram-md5/Makefile digest-md5/Makefile scram/Makefile saml20/Makefile openid20/Makefile external/Makefile gl/Makefile gltests/Makefile gs2/Makefile gssapi/Makefile kerberos_v5/Makefile libgsasl.pc login/Makefile ntlm/Makefile plain/Makefile po/Makefile.in securid/Makefile src/Makefile tests/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ANONYMOUS_TRUE}" && test -z "${ANONYMOUS_FALSE}"; then as_fn_error $? "conditional \"ANONYMOUS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${EXTERNAL_TRUE}" && test -z "${EXTERNAL_FALSE}"; then as_fn_error $? "conditional \"EXTERNAL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${PLAIN_TRUE}" && test -z "${PLAIN_FALSE}"; then as_fn_error $? "conditional \"PLAIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${LOGIN_TRUE}" && test -z "${LOGIN_FALSE}"; then as_fn_error $? "conditional \"LOGIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${SECURID_TRUE}" && test -z "${SECURID_FALSE}"; then as_fn_error $? "conditional \"SECURID\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${NTLM_TRUE}" && test -z "${NTLM_FALSE}"; then as_fn_error $? "conditional \"NTLM\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${CRAM_MD5_TRUE}" && test -z "${CRAM_MD5_FALSE}"; then as_fn_error $? "conditional \"CRAM_MD5\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${DIGEST_MD5_TRUE}" && test -z "${DIGEST_MD5_FALSE}"; then as_fn_error $? "conditional \"DIGEST_MD5\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${SCRAM_TRUE}" && test -z "${SCRAM_FALSE}"; then as_fn_error $? "conditional \"SCRAM\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${SAML20_TRUE}" && test -z "${SAML20_FALSE}"; then as_fn_error $? "conditional \"SAML20\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${OPENID20_TRUE}" && test -z "${OPENID20_FALSE}"; then as_fn_error $? "conditional \"OPENID20\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${KERBEROS_V5_TRUE}" && test -z "${KERBEROS_V5_FALSE}"; then as_fn_error $? "conditional \"KERBEROS_V5\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${CLIENT_TRUE}" && test -z "${CLIENT_FALSE}"; then as_fn_error $? "conditional \"CLIENT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${SERVER_TRUE}" && test -z "${SERVER_FALSE}"; then as_fn_error $? "conditional \"SERVER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${OBSOLETE_TRUE}" && test -z "${OBSOLETE_FALSE}"; then as_fn_error $? "conditional \"OBSOLETE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_BYTESWAP_H_TRUE}" && test -z "${GL_GENERATE_BYTESWAP_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_BYTESWAP_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_FLOAT_H_TRUE}" && test -z "${GL_GENERATE_FLOAT_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_FLOAT_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LD_OUTPUT_DEF_TRUE}" && test -z "${HAVE_LD_OUTPUT_DEF_FALSE}"; then as_fn_error $? "conditional \"HAVE_LD_OUTPUT_DEF\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi CONFIG_INCLUDE=config.h if test -z "${GL_GENERATE_STDALIGN_H_TRUE}" && test -z "${GL_GENERATE_STDALIGN_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDALIGN_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi gl_libobjs= gl_ltlibobjs= if test -n "$gl_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs $i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs $i.lo" done fi gl_LIBOBJS=$gl_libobjs gl_LTLIBOBJS=$gl_ltlibobjs if test -z "${GL_GENERATE_NETINET_IN_H_TRUE}" && test -z "${GL_GENERATE_NETINET_IN_H_FALSE}"; then as_fn_error $? "conditional \"GL_GENERATE_NETINET_IN_H\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi gltests_libobjs= gltests_ltlibobjs= if test -n "$gltests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs $i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" done fi gltests_LIBOBJS=$gltests_libobjs gltests_LTLIBOBJS=$gltests_ltlibobjs if test -z "${GS2_TRUE}" && test -z "${GS2_FALSE}"; then as_fn_error $? "conditional \"GS2\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GSSAPI_TRUE}" && test -z "${GSSAPI_FALSE}"; then as_fn_error $? "conditional \"GSSAPI\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by libgsasl $as_me 1.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_links="$ac_config_links" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration links: $config_links Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ libgsasl config.status 1.8.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" # 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' AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 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 AS \ DLLTOOL \ OBJDUMP \ SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_import \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_nm_interface \ nm_file_list_spec \ lt_cv_truncate_bin \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; 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 reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ configure_time_dlsearch_path \ configure_time_lt_sys_library_path; 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 ac_aux_dir='$ac_aux_dir' # 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 PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile' # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" GNUmakefile=$GNUmakefile _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "anonymous/Makefile") CONFIG_FILES="$CONFIG_FILES anonymous/Makefile" ;; "cram-md5/Makefile") CONFIG_FILES="$CONFIG_FILES cram-md5/Makefile" ;; "digest-md5/Makefile") CONFIG_FILES="$CONFIG_FILES digest-md5/Makefile" ;; "scram/Makefile") CONFIG_FILES="$CONFIG_FILES scram/Makefile" ;; "saml20/Makefile") CONFIG_FILES="$CONFIG_FILES saml20/Makefile" ;; "openid20/Makefile") CONFIG_FILES="$CONFIG_FILES openid20/Makefile" ;; "external/Makefile") CONFIG_FILES="$CONFIG_FILES external/Makefile" ;; "gl/Makefile") CONFIG_FILES="$CONFIG_FILES gl/Makefile" ;; "gltests/Makefile") CONFIG_FILES="$CONFIG_FILES gltests/Makefile" ;; "gs2/Makefile") CONFIG_FILES="$CONFIG_FILES gs2/Makefile" ;; "gssapi/Makefile") CONFIG_FILES="$CONFIG_FILES gssapi/Makefile" ;; "kerberos_v5/Makefile") CONFIG_FILES="$CONFIG_FILES kerberos_v5/Makefile" ;; "libgsasl.pc") CONFIG_FILES="$CONFIG_FILES libgsasl.pc" ;; "login/Makefile") CONFIG_FILES="$CONFIG_FILES login/Makefile" ;; "ntlm/Makefile") CONFIG_FILES="$CONFIG_FILES ntlm/Makefile" ;; "plain/Makefile") CONFIG_FILES="$CONFIG_FILES plain/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "securid/Makefile") CONFIG_FILES="$CONFIG_FILES securid/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :L) # # CONFIG_LINK # if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then : else # Prefer the file from the source tree if names are identical. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then ac_source=$srcdir/$ac_source fi { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;} if test ! -r "$ac_source"; then as_fn_error $? "$ac_source: file not found" "$LINENO" 5 fi rm -f "$ac_file" # Try a relative symlink, then a hard link, then a copy. case $ac_source in [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; *) ac_rel_source=$ac_top_build_prefix$ac_source ;; esac ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || ln "$ac_source" "$ac_file" 2>/dev/null || cp -p "$ac_source" "$ac_file" || as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 fi ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. case $CONFIG_FILES in #( *\'*) : eval set x "$CONFIG_FILES" ;; #( *) : set x $CONFIG_FILES ;; #( *) : ;; esac shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`$as_dirname -- "$am_mf" || $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` am_filepart=`$as_basename -- "$am_mf" || $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` { echo "$as_me:$LINENO: cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles" >&5 (cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See \`config.log' for more details" "$LINENO" 5; } fi { am_dirpart=; unset am_dirpart;} { am_filepart=; unset am_filepart;} { am_mf=; unset am_mf;} { am_rc=; unset am_rc;} rm -f conftest-deps.mk } ;; "libtool":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 # 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 . # The names of the tagged configurations supported by this script. available_tags='' # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG # Assembler program. AS=$lt_AS # DLL creation program. DLLTOOL=$lt_DLLTOOL # Object dumper program. OBJDUMP=$lt_OBJDUMP # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shared archive member basename,for filename based shared library versioning on AIX. shared_archive_member_spec=$shared_archive_member_spec # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm into a list of symbols to manually relocate. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # The name lister interface. nm_interface=$lt_lt_cv_nm_interface # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and where our libraries should be installed. lt_sysroot=$lt_sysroot # Command to truncate a binary pipe. lt_truncate_bin=$lt_lt_cv_truncate_bin # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Detected run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # 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. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE # 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$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; 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-%%"` } # ### 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 ltmain=$ac_aux_dir/ltmain.sh # 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" ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi { $as_echo "$as_me:${as_lineno-$LINENO}: summary of library build options: version: ${VERSION} Host type: ${host} Install prefix: ${prefix} Compiler: cc: ${CC} cflags: ${CFLAGS} cppflags: ${CPPFLAGS} Warning flags: $gl_gcc_warnings Library types: Shared=${enable_shared}, Static=${enable_static} Valgrind: ${VALGRIND} Obsolete functions: $obsolete Client side: $client Server side: $server ANONYMOUS: $anonymous EXTERNAL: $external PLAIN: $plain LOGIN: $login SECURID: $securid NTLM: $ntlm (libs: $LTLIBNTLM) CRAM-MD5: $cram_md5 DIGEST-MD5: $digest_md5 SCRAM-SHA-1: $scram_sha1 SAML20: $saml20 OPENID20: $openid20 GS2: $gs2 GSSAPI: $gssapi " >&5 $as_echo "$as_me: summary of library build options: version: ${VERSION} Host type: ${host} Install prefix: ${prefix} Compiler: cc: ${CC} cflags: ${CFLAGS} cppflags: ${CPPFLAGS} Warning flags: $gl_gcc_warnings Library types: Shared=${enable_shared}, Static=${enable_static} Valgrind: ${VALGRIND} Obsolete functions: $obsolete Client side: $client Server side: $server ANONYMOUS: $anonymous EXTERNAL: $external PLAIN: $plain LOGIN: $login SECURID: $securid NTLM: $ntlm (libs: $LTLIBNTLM) CRAM-MD5: $cram_md5 DIGEST-MD5: $digest_md5 SCRAM-SHA-1: $scram_sha1 SAML20: $saml20 OPENID20: $openid20 GS2: $gs2 GSSAPI: $gssapi " >&6;} gsasl-1.8.1/lib/m4/0000755000000000000000000000000013521017724010671 500000000000000gsasl-1.8.1/lib/m4/sys_types_h.m40000644000000000000000000000337313516267371013443 00000000000000# sys_types_h.m4 serial 9 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN_ONCE([gl_SYS_TYPES_H], [ dnl Use sane struct stat types in OpenVMS 8.2 and later. AC_DEFINE([_USE_STD_STAT], 1, [For standard stat data types on VMS.]) AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) gl_NEXT_HEADERS([sys/types.h]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Whether to override the 'off_t' type. AC_REQUIRE([gl_TYPE_OFF_T]) dnl Whether to override the 'dev_t' and 'ino_t' types. m4_ifdef([gl_WINDOWS_STAT_INODES], [ AC_REQUIRE([gl_WINDOWS_STAT_INODES]) ], [ WINDOWS_STAT_INODES=0 ]) AC_SUBST([WINDOWS_STAT_INODES]) ]) AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS], [ ]) # This works around a buggy version in autoconf <= 2.69. # See m4_version_prereq([2.70], [], [ # This is taken from the following Autoconf patch: # https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=e17a30e987d7ee695fb4294a82d987ec3dc9b974 m4_undefine([AC_HEADER_MAJOR]) AC_DEFUN([AC_HEADER_MAJOR], [AC_CHECK_HEADERS_ONCE([sys/types.h]) AC_CHECK_HEADER([sys/mkdev.h], [AC_DEFINE([MAJOR_IN_MKDEV], [1], [Define to 1 if `major', `minor', and `makedev' are declared in .])]) if test $ac_cv_header_sys_mkdev_h = no; then AC_CHECK_HEADER([sys/sysmacros.h], [AC_DEFINE([MAJOR_IN_SYSMACROS], [1], [Define to 1 if `major', `minor', and `makedev' are declared in .])]) fi ]) ]) gsasl-1.8.1/lib/m4/ftruncate.m40000644000000000000000000000233313516267371013060 00000000000000# serial 20 # See if we need to emulate a missing ftruncate function using chsize. # Copyright (C) 2000-2001, 2003-2007, 2009-2019 Free Software Foundation, Inc. # 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. AC_DEFUN([gl_FUNC_FTRUNCATE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([ftruncate]) if test $ac_cv_func_ftruncate = yes; then m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) dnl Native Windows, and Large File Support is requested. dnl The MSVCRT _chsize() function only accepts a 32-bit file size, dnl and the mingw64 ftruncate64() function is unreliable (it may dnl delete the file, see dnl ). dnl Use gnulib's ftruncate() implementation instead. REPLACE_FTRUNCATE=1 ;; esac ], [ : ]) else HAVE_FTRUNCATE=0 fi ]) # Prerequisites of lib/ftruncate.c. AC_DEFUN([gl_PREREQ_FTRUNCATE], [ AC_CHECK_FUNCS([chsize]) ]) gsasl-1.8.1/lib/m4/strverscmp.m40000644000000000000000000000120613516267371013273 00000000000000# strverscmp.m4 serial 8 dnl Copyright (C) 2002, 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRVERSCMP], [ dnl Persuade glibc to declare strverscmp(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_CHECK_FUNCS([strverscmp]) if test $ac_cv_func_strverscmp = no; then HAVE_STRVERSCMP=0 fi ]) # Prerequisites of lib/strverscmp.c. AC_DEFUN([gl_PREREQ_STRVERSCMP], [ : ]) gsasl-1.8.1/lib/m4/dup2.m40000644000000000000000000001013413516267371011735 00000000000000#serial 25 dnl Copyright (C) 2002, 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_DUP2], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) m4_ifdef([gl_FUNC_DUP2_OBSOLETE], [ AC_CHECK_FUNCS_ONCE([dup2]) if test $ac_cv_func_dup2 = no; then HAVE_DUP2=0 fi ], [ AC_DEFINE([HAVE_DUP2], [1], [Define to 1 if you have the 'dup2' function.]) ]) if test $HAVE_DUP2 = 1; then AC_CACHE_CHECK([whether dup2 works], [gl_cv_func_dup2_works], [AC_RUN_IFELSE([ AC_LANG_PROGRAM( [[#include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif ]], [[int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; #endif if (dup2 (1, 1) != 1) result |= 2; #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif close (0); if (dup2 (0, 0) != -1) result |= 8; /* Many gnulib modules require POSIX conformance of EBADF. */ if (dup2 (2, bad_fd) == -1 && errno != EBADF) result |= 16; /* Flush out some cygwin core dumps. */ if (dup2 (2, -1) != -1 || errno != EBADF) result |= 32; dup2 (2, 255); dup2 (2, 256); /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ { int fd = open (".", O_RDONLY); if (fd == -1) result |= 64; else if (dup2 (fd, fd + 1) == -1) result |= 128; close (fd); } return result;]]) ], [gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no], [case "$host_os" in mingw*) # on this platform, dup2 always returns 0 for success gl_cv_func_dup2_works="guessing no" ;; cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 gl_cv_func_dup2_works="guessing no" ;; aix* | freebsd*) # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, # not EBADF. gl_cv_func_dup2_works="guessing no" ;; haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. gl_cv_func_dup2_works="guessing no" ;; *-android*) # implemented using dup3(), which fails if oldfd == newfd gl_cv_func_dup2_works="guessing no" ;; os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. gl_cv_func_dup2_works="guessing no" ;; *) gl_cv_func_dup2_works="guessing yes" ;; esac]) ]) case "$gl_cv_func_dup2_works" in *yes) ;; *) REPLACE_DUP2=1 AC_CHECK_FUNCS([setdtablesize]) ;; esac fi dnl Replace dup2() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then if test $HAVE_DUP2 = 1; then REPLACE_DUP2=1 fi fi ]) ]) # Prerequisites of lib/dup2.c. AC_DEFUN([gl_PREREQ_DUP2], []) gsasl-1.8.1/lib/m4/multiarch.m40000644000000000000000000000367413516267371013066 00000000000000# multiarch.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Determine whether the compiler is or may be producing universal binaries. # # On Mac OS X 10.5 and later systems, the user can create libraries and # executables that work on multiple system types--known as "fat" or # "universal" binaries--by specifying multiple '-arch' options to the # compiler but only a single '-arch' option to the preprocessor. Like # this: # # ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ # CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ # CPP="gcc -E" CXXCPP="g++ -E" # # Detect this situation and set APPLE_UNIVERSAL_BUILD accordingly. AC_DEFUN_ONCE([gl_MULTIARCH], [ dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN. gl_cv_c_multiarch=no AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; ]])], [ dnl Check for potential -arch flags. It is not universal unless dnl there are at least two -arch flags with different values. arch= prev= for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do if test -n "$prev"; then case $word in i?86 | x86_64 | ppc | ppc64) if test -z "$arch" || test "$arch" = "$word"; then arch="$word" else gl_cv_c_multiarch=yes fi ;; esac prev= else if test "x$word" = "x-arch"; then prev=arch fi fi done ]) if test $gl_cv_c_multiarch = yes; then APPLE_UNIVERSAL_BUILD=1 else APPLE_UNIVERSAL_BUILD=0 fi AC_SUBST([APPLE_UNIVERSAL_BUILD]) ]) gsasl-1.8.1/lib/m4/sys_uio_h.m40000644000000000000000000000165413516267371013073 00000000000000# sys_uio_h.m4 serial 1 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_SYS_UIO], [ AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/uio.h]) if test $ac_cv_header_sys_uio_h = yes; then HAVE_SYS_UIO_H=1 else HAVE_SYS_UIO_H=0 fi AC_SUBST([HAVE_SYS_UIO_H]) ]) AC_DEFUN([gl_SYS_UIO_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_UIO_H_DEFAULTS], [ ]) gsasl-1.8.1/lib/m4/thread.m40000644000000000000000000000076113516267371012337 00000000000000# thread.m4 serial 3 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_THREAD], [ AC_REQUIRE([gl_THREADLIB]) if test $gl_threads_api = posix; then gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_CHECK_FUNCS([pthread_atfork]) LIBS="$gl_save_LIBS" fi ]) gsasl-1.8.1/lib/m4/sigaction.m40000644000000000000000000000232513516267371013046 00000000000000# sigaction.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Determine if sigaction interface is present. AC_DEFUN([gl_SIGACTION], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([sigaction]) if test $ac_cv_func_sigaction = yes; then AC_CHECK_MEMBERS([struct sigaction.sa_sigaction], , , [[#include ]]) if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then HAVE_STRUCT_SIGACTION_SA_SIGACTION=0 fi else HAVE_SIGACTION=0 fi ]) # Prerequisites of the part of lib/signal.in.h and of lib/sigaction.c. AC_DEFUN([gl_PREREQ_SIGACTION], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([AC_TYPE_UID_T]) AC_REQUIRE([gl_PREREQ_SIG_HANDLER_H]) AC_CHECK_FUNCS_ONCE([sigaltstack siginterrupt]) AC_CHECK_TYPES([siginfo_t], [], [], [[ #include ]]) if test $ac_cv_type_siginfo_t = no; then HAVE_SIGINFO_T=0 fi ]) # Prerequisites of lib/sig-handler.h. AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], [:]) gsasl-1.8.1/lib/m4/perror.m40000644000000000000000000000515713516267371012405 00000000000000# perror.m4 serial 8 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_PERROR], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([gl_FUNC_STRERROR_R]) AC_REQUIRE([gl_FUNC_STRERROR_0]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl We intentionally do not check for the broader REPLACE_STRERROR_R, dnl since on glibc systems, strerror_r is replaced only for signature dnl issues, and perror is just fine. Rather, we only want to dnl replace perror if strerror_r was replaced for a content fix. if test "$ERRNO_H:$REPLACE_STRERROR_0" != :0; then dnl The system's perror() cannot know about the new errno values we add dnl to , or any fix for strerror(0). Replace it. REPLACE_PERROR=1 fi case ${gl_cv_func_strerror_r_works-unset} in unset|*yes) AC_CACHE_CHECK([whether perror matches strerror], [gl_cv_func_perror_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include #include ]], [[char *str = strerror (-1); if (!getenv("CONFTEST_OUTPUT")) return 0; if (!str) str = ""; puts (str); errno = -1; perror (""); return 0; ]])], [if CONFTEST_OUTPUT=1 ./conftest$EXEEXT >conftest.txt1 2>conftest.txt2 \ && cmp conftest.txt1 conftest.txt2 >/dev/null; then gl_cv_func_perror_works=yes else gl_cv_func_perror_works=no fi rm -rf conftest.txt1 conftest.txt2], [gl_cv_func_perror_works=no], [case "$host_os" in # Guess yes on musl systems. *-musl*) gl_cv_func_perror_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_perror_works="guessing yes" ;; # Otherwise guess no. *) gl_cv_func_perror_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_perror_works" in *yes) ;; *) REPLACE_PERROR=1 ;; esac ;; *) dnl The system's perror() probably inherits the bugs in the dnl system's strerror_r(). Replace it. REPLACE_PERROR=1 ;; esac ]) gsasl-1.8.1/lib/m4/gl-openssl.m40000644000000000000000000000342513516267371013153 00000000000000# gl-openssl.m4 serial 3 dnl Copyright (C) 2013-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SET_CRYPTO_CHECK_DEFAULT], [ m4_define([gl_CRYPTO_CHECK_DEFAULT], [$1]) ]) gl_SET_CRYPTO_CHECK_DEFAULT([no]) AC_DEFUN([gl_CRYPTO_CHECK], [ dnl gnulib users set this before gl_INIT with gl_SET_CRYPTO_CHECK_DEFAULT() m4_divert_once([DEFAULTS], [with_openssl_default='gl_CRYPTO_CHECK_DEFAULT']) dnl Only clear once, so crypto routines can be checked for individually m4_divert_once([DEFAULTS], [LIB_CRYPTO=]) AC_ARG_WITH([openssl], [AS_HELP_STRING([--with-openssl], [use libcrypto hash routines. Valid ARGs are: 'yes', 'no', 'auto' => use if available, 'optional' => use if available and warn if not available; default is ']gl_CRYPTO_CHECK_DEFAULT['. Note also --with-linux-crypto, which will enable use of kernel crypto routines, which have precedence])], [], [with_openssl=$with_openssl_default]) if test "x$1" = xMD5; then ALG_header=md5.h else ALG_header=sha.h fi AC_SUBST([LIB_CRYPTO]) if test "x$with_openssl" != xno; then AC_CHECK_LIB([crypto], [$1], [AC_CHECK_HEADERS([openssl/$ALG_header], [LIB_CRYPTO=-lcrypto AC_DEFINE([HAVE_OPENSSL_$1], [1], [Define to 1 if libcrypto is used for $1.])])]) if test "x$LIB_CRYPTO" = x; then if test "x$with_openssl" = xyes; then AC_MSG_ERROR([openssl development library not found for $1]) elif test "x$with_openssl" = xoptional; then AC_MSG_WARN([openssl development library not found for $1]) fi fi fi ]) gsasl-1.8.1/lib/m4/ld-version-script.m40000644000000000000000000000317413516267371014455 00000000000000# ld-version-script.m4 serial 4 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # FIXME: The test below returns a false positive for mingw # cross-compiles, 'local:' statements does not reduce number of # exported symbols in a DLL. Use --disable-ld-version-script to work # around the problem. # gl_LD_VERSION_SCRIPT # -------------------- # Check if LD supports linker scripts, and define automake conditional # HAVE_LD_VERSION_SCRIPT if so. AC_DEFUN([gl_LD_VERSION_SCRIPT], [ AC_ARG_ENABLE([ld-version-script], [AS_HELP_STRING([--enable-ld-version-script], [enable linker version script (default is enabled when possible)])], [have_ld_version_script=$enableval], [AC_CACHE_CHECK([if LD -Wl,--version-script works], [gl_cv_sys_ld_version_script], [gl_cv_sys_ld_version_script=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" echo foo >conftest.map AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [], [cat > conftest.map <', so that the /// cannot be confused with a C99 comment. # Note: This macro assumes that the header file is not empty after # preprocessing, i.e. it does not only define preprocessor macros but also # provides some type/enum definitions or function/variable declarations. AC_DEFUN([gl_ABSOLUTE_HEADER], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_PREPROC_REQUIRE()dnl dnl FIXME: gl_absolute_header and ac_header_exists must be used unquoted dnl until we can assume autoconf 2.64 or newer. m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_absolute_header], [gl_cv_absolute_]m4_defn([gl_HEADER_NAME]))dnl AC_CACHE_CHECK([absolute name of <]m4_defn([gl_HEADER_NAME])[>], m4_defn([gl_absolute_header]), [AS_VAR_PUSHDEF([ac_header_exists], [ac_cv_header_]m4_defn([gl_HEADER_NAME]))dnl AC_CHECK_HEADERS_ONCE(m4_defn([gl_HEADER_NAME]))dnl if test AS_VAR_GET(ac_header_exists) = yes; then gl_ABSOLUTE_HEADER_ONE(m4_defn([gl_HEADER_NAME])) fi AS_VAR_POPDEF([ac_header_exists])dnl ])dnl AC_DEFINE_UNQUOTED(AS_TR_CPP([ABSOLUTE_]m4_defn([gl_HEADER_NAME])), ["AS_VAR_GET(gl_absolute_header)"], [Define this to an absolute name of <]m4_defn([gl_HEADER_NAME])[>.]) AS_VAR_POPDEF([gl_absolute_header])dnl ])dnl ])# gl_ABSOLUTE_HEADER # gl_ABSOLUTE_HEADER_ONE(HEADER) # ------------------------------ # Like gl_ABSOLUTE_HEADER, except that: # - it assumes that the header exists, # - it uses the current CPPFLAGS, # - it does not cache the result, # - it is silent. AC_DEFUN([gl_ABSOLUTE_HEADER_ONE], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <]]m4_dquote([$1])[[>]])]) dnl AIX "xlc -E" and "cc -E" omit #line directives for header files dnl that contain only a #include of other header files and no dnl non-comment tokens of their own. This leads to a failure to dnl detect the absolute name of , , dnl and others. The workaround is to force preservation of comments dnl through option -C. This ensures all necessary #line directives dnl are present. GCC supports option -C as well. case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac changequote(,) case "$host_os" in mingw*) dnl For the sake of native Windows compilers (excluding gcc), dnl treat backslash as a directory separator, like /. dnl Actually, these compilers use a double-backslash as dnl directory separator, inside the dnl # line "filename" dnl directives. gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac dnl A sed expression that turns a string into a basic regular dnl expression, for use within "/.../". gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo '$1' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' changequote([,]) dnl eval is necessary to expand gl_absname_cpp. dnl Ultrix and Pyramid sh refuse to redirect output of eval, dnl so use subshell. AS_VAR_SET([gl_cv_absolute_]AS_TR_SH([[$1]]), [`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | sed -n "$gl_absolute_header_sed"`]) ]) gsasl-1.8.1/lib/m4/malloca.m40000644000000000000000000000110113516267371012465 00000000000000# malloca.m4 serial 1 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MALLOCA], [ dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables dnl @ALLOCA@ and @LTALLOCA@. dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. AC_REQUIRE([gl_EEMALLOC]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) ]) gsasl-1.8.1/lib/m4/fcntl.m40000644000000000000000000001035113516267371012172 00000000000000# fcntl.m4 serial 9 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # For now, this module ensures that fcntl() # - supports F_DUPFD correctly # - supports or emulates F_DUPFD_CLOEXEC # - supports F_GETFD # Still to be ported to mingw: # - F_SETFD # - F_GETFL, F_SETFL # - F_GETOWN, F_SETOWN # - F_GETLK, F_SETLK, F_SETLKW AC_DEFUN([gl_FUNC_FCNTL], [ dnl Persuade glibc to expose F_DUPFD_CLOEXEC. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([fcntl]) if test $ac_cv_func_fcntl = no; then gl_REPLACE_FCNTL else dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target dnl haiku alpha 2 F_DUPFD has wrong errno AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly], [gl_cv_func_fcntl_f_dupfd_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include #include #include #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif ]], [[int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; if (errno != EINVAL) result |= 2; if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; if (errno != EINVAL) result |= 8; /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ { int fd; fd = open (".", O_RDONLY); if (fd == -1) result |= 16; else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) result |= 32; close (fd); } return result;]])], [gl_cv_func_fcntl_f_dupfd_works=yes], [gl_cv_func_fcntl_f_dupfd_works=no], [case $host_os in aix* | cygwin* | haiku*) gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; esac])]) case $gl_cv_func_fcntl_f_dupfd_works in *yes) ;; *) gl_REPLACE_FCNTL AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD behavior does not match POSIX]) ;; esac dnl Many systems lack F_DUPFD_CLOEXEC AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC], [gl_cv_func_fcntl_f_dupfd_cloexec], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #ifndef F_DUPFD_CLOEXEC choke me #endif ]])], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #ifdef __linux__ /* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace it to support the semantics on older kernels that failed with EINVAL. */ choke me #endif ]])], [gl_cv_func_fcntl_f_dupfd_cloexec=yes], [gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"])], [gl_cv_func_fcntl_f_dupfd_cloexec=no])]) if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then gl_REPLACE_FCNTL dnl No witness macro needed for this bug. fi fi dnl Replace fcntl() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then gl_REPLACE_FCNTL fi ]) ]) AC_DEFUN([gl_REPLACE_FCNTL], [ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([fcntl]) if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi ]) gsasl-1.8.1/lib/m4/sys_ioctl_h.m40000644000000000000000000000460613516267371013411 00000000000000# sys_ioctl_h.m4 serial 10 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Bruno Haible. AC_DEFUN([gl_SYS_IOCTL_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([sys/ioctl.h]) if test $ac_cv_header_sys_ioctl_h = yes; then HAVE_SYS_IOCTL_H=1 dnl Test whether declares ioctl(), or whether some other dnl header file, such as or , is needed for that. AC_CACHE_CHECK([whether declares ioctl], [gl_cv_decl_ioctl_in_sys_ioctl_h], [dnl We cannot use AC_CHECK_DECL because it produces its own messages. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [AC_INCLUDES_DEFAULT([#include ])], [(void) ioctl;])], [gl_cv_decl_ioctl_in_sys_ioctl_h=yes], [gl_cv_decl_ioctl_in_sys_ioctl_h=no]) ]) else HAVE_SYS_IOCTL_H=0 fi AC_SUBST([HAVE_SYS_IOCTL_H]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/ioctl.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include /* Some platforms declare ioctl in the wrong header. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include #endif ]], [ioctl]) ]) AC_DEFUN([gl_SYS_IOCTL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_IOCTL_H_DEFAULTS], [ GNULIB_IOCTL=0; AC_SUBST([GNULIB_IOCTL]) dnl Assume proper GNU behavior unless another module says otherwise. SYS_IOCTL_H_HAVE_WINSOCK2_H=0; AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H]) SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) REPLACE_IOCTL=0; AC_SUBST([REPLACE_IOCTL]) ]) gsasl-1.8.1/lib/m4/xsize.m40000644000000000000000000000062613516267371012232 00000000000000# xsize.m4 serial 5 dnl Copyright (C) 2003-2004, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_XSIZE], [ dnl Prerequisites of lib/xsize.h. AC_REQUIRE([gl_SIZE_MAX]) AC_CHECK_HEADERS([stdint.h]) ]) gsasl-1.8.1/lib/m4/exponentd.m40000644000000000000000000000755213516267371013101 00000000000000# exponentd.m4 serial 3 dnl Copyright (C) 2007-2008, 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_DOUBLE_EXPONENT_LOCATION], [ AC_CACHE_CHECK([where to find the exponent in a 'double'], [gl_cv_cc_double_expbit0], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { double value; unsigned int word[NWORDS]; } memory_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (double x) { memory_double m; size_t i; /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ memset (&m, 0, sizeof (memory_double)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25); add_to_ored_words (0.5); add_to_ored_words (1.0); add_to_ored_words (2.0); add_to_ored_words (4.0); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } ]])], [gl_cv_cc_double_expbit0=`cat conftest.out`], [gl_cv_cc_double_expbit0="unknown"], [ dnl On ARM, there are two 'double' floating-point formats, used by dnl different sets of instructions: The older FPA instructions assume dnl that they are stored in big-endian word order, while the words dnl (like integer types) are stored in little-endian byte order. dnl The newer VFP instructions assume little-endian order dnl consistently. AC_EGREP_CPP([mixed_endianness], [ #if defined arm || defined __arm || defined __arm__ mixed_endianness #endif ], [gl_cv_cc_double_expbit0="unknown"], [ pushdef([AC_MSG_CHECKING],[:])dnl pushdef([AC_MSG_RESULT],[:])dnl pushdef([AC_MSG_RESULT_UNQUOTED],[:])dnl AC_C_BIGENDIAN( [gl_cv_cc_double_expbit0="word 0 bit 20"], [gl_cv_cc_double_expbit0="word 1 bit 20"], [gl_cv_cc_double_expbit0="unknown"]) popdef([AC_MSG_RESULT_UNQUOTED])dnl popdef([AC_MSG_RESULT])dnl popdef([AC_MSG_CHECKING])dnl ]) ]) rm -f conftest.out ]) case "$gl_cv_cc_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` AC_DEFINE_UNQUOTED([DBL_EXPBIT0_WORD], [$word], [Define as the word index where to find the exponent of 'double'.]) AC_DEFINE_UNQUOTED([DBL_EXPBIT0_BIT], [$bit], [Define as the bit index in the word where to find bit 0 of the exponent of 'double'.]) ;; esac ]) gsasl-1.8.1/lib/m4/sys_time_h.m40000644000000000000000000000734113516267371013234 00000000000000# Configure a replacement for . # serial 9 # Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. # 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. # Written by Paul Eggert and Martin Lambers. AC_DEFUN([gl_HEADER_SYS_TIME_H], [ dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement dnl below is expanded once only, before all REPLACE_GETTIMEOFDAY=1 dnl statements that occur in other macros. AC_REQUIRE([gl_HEADER_SYS_TIME_H_BODY]) ]) AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) gl_CHECK_NEXT_HEADERS([sys/time.h]) if test $ac_cv_header_sys_time_h != yes; then HAVE_SYS_TIME_H=0 fi dnl On native Windows with MSVC, 'struct timeval' is defined in dnl only. So include that header in the list. gl_PREREQ_SYS_H_WINSOCK2 AC_CACHE_CHECK([for struct timeval], [gl_cv_sys_struct_timeval], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif ]], [[static struct timeval x; x.tv_sec = x.tv_usec;]])], [gl_cv_sys_struct_timeval=yes], [gl_cv_sys_struct_timeval=no]) ]) if test $gl_cv_sys_struct_timeval != yes; then HAVE_STRUCT_TIMEVAL=0 else dnl On native Windows with a 64-bit 'time_t', 'struct timeval' is defined dnl (in and for mingw64, in only dnl for MSVC) with a tv_sec field of type 'long' (32-bit!), which is dnl smaller than the 'time_t' type mandated by POSIX. dnl On OpenBSD 5.1 amd64, tv_sec is 64 bits and time_t 32 bits, but dnl that is good enough. AC_CACHE_CHECK([for wide-enough struct timeval.tv_sec member], [gl_cv_sys_struct_timeval_tv_sec], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#if HAVE_SYS_TIME_H #include #endif #include #if HAVE_WINSOCK2_H # include #endif ]], [[static struct timeval x; typedef int verify_tv_sec_type[ sizeof (time_t) <= sizeof x.tv_sec ? 1 : -1 ]; ]])], [gl_cv_sys_struct_timeval_tv_sec=yes], [gl_cv_sys_struct_timeval_tv_sec=no]) ]) if test $gl_cv_sys_struct_timeval_tv_sec != yes; then REPLACE_STRUCT_TIMEVAL=1 fi fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_SYS_TIME_H # include #endif #include ]], [gettimeofday]) ]) AC_DEFUN([gl_SYS_TIME_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_HEADER_SYS_TIME_H_DEFAULTS], [ GNULIB_GETTIMEOFDAY=0; AC_SUBST([GNULIB_GETTIMEOFDAY]) dnl Assume POSIX behavior unless another module says otherwise. HAVE_GETTIMEOFDAY=1; AC_SUBST([HAVE_GETTIMEOFDAY]) HAVE_STRUCT_TIMEVAL=1; AC_SUBST([HAVE_STRUCT_TIMEVAL]) HAVE_SYS_TIME_H=1; AC_SUBST([HAVE_SYS_TIME_H]) REPLACE_GETTIMEOFDAY=0; AC_SUBST([REPLACE_GETTIMEOFDAY]) REPLACE_STRUCT_TIMEVAL=0; AC_SUBST([REPLACE_STRUCT_TIMEVAL]) ]) gsasl-1.8.1/lib/m4/inttypes-pri.m40000644000000000000000000000234513516267371013537 00000000000000# inttypes-pri.m4 serial 7 (gettext-0.18.2) dnl Copyright (C) 1997-2002, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.53]) # Define PRI_MACROS_BROKEN if exists and defines the PRI* # macros to non-string values. This is the case on AIX 4.3.3. AC_DEFUN([gt_INTTYPES_PRI], [ AC_CHECK_HEADERS([inttypes.h]) if test $ac_cv_header_inttypes_h = yes; then AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], [gt_cv_inttypes_pri_broken], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #ifdef PRId32 char *p = PRId32; #endif ]], [[]])], [gt_cv_inttypes_pri_broken=no], [gt_cv_inttypes_pri_broken=yes]) ]) fi if test "$gt_cv_inttypes_pri_broken" = yes; then AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1], [Define if exists and defines unusable PRI* macros.]) PRI_MACROS_BROKEN=1 else PRI_MACROS_BROKEN=0 fi AC_SUBST([PRI_MACROS_BROKEN]) ]) gsasl-1.8.1/lib/m4/inttypes_h.m40000644000000000000000000000177413516267371013263 00000000000000# inttypes_h.m4 serial 10 dnl Copyright (C) 1997-2004, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. # Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[uintmax_t i = (uintmax_t) -1; return !i;]])], [gl_cv_header_inttypes_h=yes], [gl_cv_header_inttypes_h=no])]) if test $gl_cv_header_inttypes_h = yes; then AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) gsasl-1.8.1/lib/m4/byteswap.m40000644000000000000000000000110313516267371012715 00000000000000# byteswap.m4 serial 4 dnl Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Oskar Liljeblad. AC_DEFUN([gl_BYTESWAP], [ dnl Prerequisites of lib/byteswap.in.h. AC_CHECK_HEADERS([byteswap.h], [ BYTESWAP_H='' ], [ BYTESWAP_H='byteswap.h' ]) AC_SUBST([BYTESWAP_H]) AM_CONDITIONAL([GL_GENERATE_BYTESWAP_H], [test -n "$BYTESWAP_H"]) ]) gsasl-1.8.1/lib/m4/socketlib.m40000644000000000000000000000567113516267371013054 00000000000000# socketlib.m4 serial 2 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl gl_SOCKETLIB dnl Determines the library to use for socket functions. dnl Sets and AC_SUBSTs LIBSOCKET. AC_DEFUN([gl_SOCKETLIB], [ gl_PREREQ_SYS_H_WINSOCK2 dnl for HAVE_WINSOCK2_H LIBSOCKET= if test $HAVE_WINSOCK2_H = 1; then dnl Native Windows API (not Cygwin). AC_CACHE_CHECK([if we need to call WSAStartup in winsock2.h and -lws2_32], [gl_cv_func_wsastartup], [ gl_save_LIBS="$LIBS" LIBS="$LIBS -lws2_32" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_WINSOCK2_H # include #endif]], [[ WORD wVersionRequested = MAKEWORD(1, 1); WSADATA wsaData; int err = WSAStartup(wVersionRequested, &wsaData); WSACleanup ();]])], gl_cv_func_wsastartup=yes, gl_cv_func_wsastartup=no) LIBS="$gl_save_LIBS" ]) if test "$gl_cv_func_wsastartup" = "yes"; then AC_DEFINE([WINDOWS_SOCKETS], [1], [Define if WSAStartup is needed.]) LIBSOCKET='-lws2_32' fi else dnl Unix API. dnl Solaris has most socket functions in libsocket. dnl Haiku has most socket functions in libnetwork. dnl BeOS has most socket functions in libnet. dnl On HP-UX, do NOT link with libxnet, because in 64-bit mode this would dnl break code (e.g. in libraries) that invokes accept(), getpeername(), dnl getsockname(), getsockopt(), or recvfrom() with a 32-bit addrlen. See dnl "man xopen_networking" for details. AC_CACHE_CHECK([for library containing setsockopt], [gl_cv_lib_socket], [ gl_cv_lib_socket= AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [], [gl_save_LIBS="$LIBS" LIBS="$gl_save_LIBS -lsocket" AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [gl_cv_lib_socket="-lsocket"]) if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnetwork" AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [gl_cv_lib_socket="-lnetwork"]) if test -z "$gl_cv_lib_socket"; then LIBS="$gl_save_LIBS -lnet" AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern #ifdef __cplusplus "C" #endif char setsockopt();]], [[setsockopt();]])], [gl_cv_lib_socket="-lnet"]) fi fi LIBS="$gl_save_LIBS" ]) if test -z "$gl_cv_lib_socket"; then gl_cv_lib_socket="none needed" fi ]) if test "$gl_cv_lib_socket" != "none needed"; then LIBSOCKET="$gl_cv_lib_socket" fi fi AC_SUBST([LIBSOCKET]) ]) gsasl-1.8.1/lib/m4/stat.m40000644000000000000000000000507413516267371012045 00000000000000# serial 15 # Copyright (C) 2009-2019 Free Software Foundation, Inc. # # 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. AC_DEFUN([gl_FUNC_STAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([lstat]) case "$host_os" in mingw*) dnl On this platform, the original stat() returns st_atime, st_mtime, dnl st_ctime values that are affected by the time zone. REPLACE_STAT=1 ;; *) dnl AIX 7.1, Solaris 9, mingw64 mistakenly succeed on stat("file/"). dnl (For mingw, this is due to a broken stat() override in libmingwex.a.) dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/"). AC_CACHE_CHECK([whether stat handles trailing slashes on files], [gl_cv_func_stat_file_slash], [touch conftest.tmp # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then ln -s conftest.tmp conftest.lnk fi AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int result = 0; struct stat st; if (!stat ("conftest.tmp/", &st)) result |= 1; #if HAVE_LSTAT if (!stat ("conftest.lnk/", &st)) result |= 2; #endif return result; ]])], [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no], [case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_stat_file_slash="guessing no" ;; esac ]) rm -f conftest.tmp conftest.lnk]) case $gl_cv_func_stat_file_slash in *no) REPLACE_STAT=1 AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs help when passed a file name with a trailing slash]);; esac case $host_os in dnl Solaris stat can return a negative tv_nsec. solaris*) REPLACE_FSTAT=1 ;; esac ;; esac ]) # Prerequisites of lib/stat.c and lib/stat-w32.c. AC_DEFUN([gl_PREREQ_STAT], [ AC_REQUIRE([gl_HEADER_SYS_STAT_H]) : ]) gsasl-1.8.1/lib/m4/stdalign.m40000644000000000000000000000442713516267371012700 00000000000000# Check for stdalign.h that conforms to C11. dnl Copyright 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Prepare for substituting if it is not supported. AC_DEFUN([gl_STDALIGN_H], [ AC_CACHE_CHECK([for working stdalign.h], [gl_cv_header_working_stdalign_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include /* Test that alignof yields a result consistent with offsetof. This catches GCC bug 52023 . */ #ifdef __cplusplus template struct alignof_helper { char a; t b; }; # define ao(type) offsetof (alignof_helper, b) #else # define ao(type) offsetof (struct { char a; type b; }, b) #endif char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; /* Test _Alignas only on platforms where gnulib can help. */ #if \ ((defined __cplusplus && 201103 <= __cplusplus) \ || (defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ || 1300 <= _MSC_VER) struct alignas_test { char c; char alignas (8) alignas_8; }; char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 ? 1 : -1]; #endif ]])], [gl_cv_header_working_stdalign_h=yes], [gl_cv_header_working_stdalign_h=no])]) if test $gl_cv_header_working_stdalign_h = yes; then STDALIGN_H='' else STDALIGN_H='stdalign.h' fi AC_SUBST([STDALIGN_H]) AM_CONDITIONAL([GL_GENERATE_STDALIGN_H], [test -n "$STDALIGN_H"]) ]) gsasl-1.8.1/lib/m4/pathmax.m40000644000000000000000000000215513516267371012531 00000000000000# pathmax.m4 serial 11 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PATHMAX], [ dnl Prerequisites of lib/pathmax.h. AC_CHECK_HEADERS_ONCE([sys/param.h]) ]) # Expands to a piece of C program that defines PATH_MAX in the same way as # "pathmax.h" will do. AC_DEFUN([gl_PATHMAX_SNIPPET], [[ /* Arrange to define PATH_MAX, like "pathmax.h" does. */ #if HAVE_UNISTD_H # include #endif #include #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include #endif #if !defined PATH_MAX && defined MAXPATHLEN # define PATH_MAX MAXPATHLEN #endif #ifdef __hpux # undef PATH_MAX # define PATH_MAX 1024 #endif #if defined _WIN32 && ! defined __CYGWIN__ # undef PATH_MAX # define PATH_MAX 260 #endif ]]) # Prerequisites of gl_PATHMAX_SNIPPET. AC_DEFUN([gl_PATHMAX_SNIPPET_PREREQ], [ AC_CHECK_HEADERS_ONCE([unistd.h sys/param.h]) ]) gsasl-1.8.1/lib/m4/host-cpu-c-abi.m40000644000000000000000000005176113516267371013611 00000000000000# host-cpu-c-abi.m4 serial 11 dnl Copyright (C) 2002-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible and Sam Steingold. dnl Sets the HOST_CPU variable to the canonical name of the CPU. dnl Sets the HOST_CPU_C_ABI variable to the canonical name of the CPU with its dnl C language ABI (application binary interface). dnl Also defines __${HOST_CPU}__ and __${HOST_CPU_C_ABI}__ as C macros in dnl config.h. dnl dnl This canonical name can be used to select a particular assembly language dnl source file that will interoperate with C code on the given host. dnl dnl For example: dnl * 'i386' and 'sparc' are different canonical names, because code for i386 dnl will not run on SPARC CPUs and vice versa. They have different dnl instruction sets. dnl * 'sparc' and 'sparc64' are different canonical names, because code for dnl 'sparc' and code for 'sparc64' cannot be linked together: 'sparc' code dnl contains 32-bit instructions, whereas 'sparc64' code contains 64-bit dnl instructions. A process on a SPARC CPU can be in 32-bit mode or in 64-bit dnl mode, but not both. dnl * 'mips' and 'mipsn32' are different canonical names, because they use dnl different argument passing and return conventions for C functions, and dnl although the instruction set of 'mips' is a large subset of the dnl instruction set of 'mipsn32'. dnl * 'mipsn32' and 'mips64' are different canonical names, because they use dnl different sizes for the C types like 'int' and 'void *', and although dnl the instruction sets of 'mipsn32' and 'mips64' are the same. dnl * The same canonical name is used for different endiannesses. You can dnl determine the endianness through preprocessor symbols: dnl - 'arm': test __ARMEL__. dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL. dnl - 'powerpc64': test _BIG_ENDIAN vs. _LITTLE_ENDIAN. dnl * The same name 'i386' is used for CPUs of type i386, i486, i586 dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because dnl - Instructions that do not exist on all of these CPUs (cmpxchg, dnl MMX, SSE, SSE2, 3DNow! etc.) are not frequently used. If your dnl assembly language source files use such instructions, you will dnl need to make the distinction. dnl - Speed of execution of the common instruction set is reasonable across dnl the entire family of CPUs. If you have assembly language source files dnl that are optimized for particular CPU types (like GNU gmp has), you dnl will need to make the distinction. dnl See . AC_DEFUN([gl_HOST_CPU_C_ABI], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_C_ASM]) AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi], [case "$host_cpu" in changequote(,)dnl i[4567]86 ) changequote([,])dnl gl_cv_host_cpu_c_abi=i386 ;; x86_64 ) # On x86_64 systems, the C compiler may be generating code in one of # these ABIs: # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 # with native Windows (mingw, MSVC). # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (defined __x86_64__ || defined __amd64__ \ || defined _M_X64 || defined _M_AMD64) int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=x86_64-x32], [gl_cv_host_cpu_c_abi=x86_64])], [gl_cv_host_cpu_c_abi=i386]) ;; changequote(,)dnl alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) changequote([,])dnl gl_cv_host_cpu_c_abi=alpha ;; arm* | aarch64 ) # Assume arm with EABI. # On arm64 systems, the C compiler may be generating code in one of # these ABIs: # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __aarch64__ int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=arm64-ilp32], [gl_cv_host_cpu_c_abi=arm64])], [# Don't distinguish little-endian and big-endian arm, since they # don't require different machine code for simple operations and # since the user can distinguish them through the preprocessor # defines __ARMEL__ vs. __ARMEB__. # But distinguish arm which passes floating-point arguments and # return values in integer registers (r0, r1, ...) - this is # gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which # passes them in float registers (s0, s1, ...) and double registers # (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer # sets the preprocessor defines __ARM_PCS (for the first case) and # __ARM_PCS_VFP (for the second case), but older GCC does not. echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c # Look for a reference to the register d0 in the .s file. AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1 if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then gl_cv_host_cpu_c_abi=armhf else gl_cv_host_cpu_c_abi=arm fi rm -f conftest* ]) ;; hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) # On hppa, the C compiler may be generating 32-bit code or 64-bit # code. In the latter case, it defines _LP64 and __LP64__. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __LP64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=hppa64], [gl_cv_host_cpu_c_abi=hppa]) ;; ia64* ) # On ia64 on HP-UX, the C compiler may be generating 64-bit code or # 32-bit code. In the latter case, it defines _ILP32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=ia64-ilp32], [gl_cv_host_cpu_c_abi=ia64]) ;; mips* ) # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this # at 32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mips64], [# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIN32. # In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIO32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (_MIPS_SIM == _ABIN32) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mipsn32], [gl_cv_host_cpu_c_abi=mips])]) ;; powerpc* ) # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. # No need to distinguish them here; the caller may distinguish # them based on the OS. # On powerpc64 systems, the C compiler may still be generating # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may # be generating 64-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif ]])], [# On powerpc64, there are two ABIs on Linux: The AIX compatible # one and the ELFv2 one. The latter defines _CALL_ELF=2. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _CALL_ELF && _CALL_ELF == 2 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=powerpc64-elfv2], [gl_cv_host_cpu_c_abi=powerpc64]) ], [gl_cv_host_cpu_c_abi=powerpc]) ;; rs6000 ) gl_cv_host_cpu_c_abi=powerpc ;; riscv32 | riscv64 ) # There are 2 architectures (with variants): rv32* and rv64*. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if __riscv_xlen == 64 int ok; #else error fail #endif ]])], [cpu=riscv64], [cpu=riscv32]) # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. # Size of 'long' and 'void *': AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ int ok; #else error fail #endif ]])], [main_abi=lp64], [main_abi=ilp32]) # Float ABIs: # __riscv_float_abi_double: # 'float' and 'double' are passed in floating-point registers. # __riscv_float_abi_single: # 'float' are passed in floating-point registers. # __riscv_float_abi_soft: # No values are passed in floating-point registers. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_double int ok; #else error fail #endif ]])], [float_abi=d], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_single int ok; #else error fail #endif ]])], [float_abi=f], [float_abi='']) ]) gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}" ;; s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __s390x__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=s390x], [gl_cv_host_cpu_c_abi=s390]) ;; sparc | sparc64 ) # UltraSPARCs running Linux have `uname -m` = "sparc64", but the # C compiler still generates 32-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=sparc64], [gl_cv_host_cpu_c_abi=sparc]) ;; *) gl_cv_host_cpu_c_abi="$host_cpu" ;; esac ]) dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same. HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'` HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi" AC_SUBST([HOST_CPU]) AC_SUBST([HOST_CPU_C_ABI]) # This was # AC_DEFINE_UNQUOTED([__${HOST_CPU}__]) # AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__]) # earlier, but KAI C++ 3.2d doesn't like this. sed -e 's/-/_/g' >> confdefs.h < to declare strndup(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_CHECK_DECLS_ONCE([strndup]) AC_CHECK_FUNCS_ONCE([strndup]) if test $ac_cv_have_decl_strndup = no; then HAVE_DECL_STRNDUP=0 fi if test $ac_cv_func_strndup = yes; then HAVE_STRNDUP=1 # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. AC_CACHE_CHECK([for working strndup], [gl_cv_func_strndup_works], [AC_RUN_IFELSE([ AC_LANG_PROGRAM([[#include #include ]], [[ #if !HAVE_DECL_STRNDUP extern #ifdef __cplusplus "C" #endif char *strndup (const char *, size_t); #endif int result; char *s; s = strndup ("some longer string", 15); free (s); s = strndup ("shorter string", 13); result = s[13] != '\0'; free (s); return result;]])], [gl_cv_func_strndup_works=yes], [gl_cv_func_strndup_works=no], [ changequote(,)dnl case $host_os in aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; *) gl_cv_func_strndup_works="guessing yes";; esac changequote([,])dnl ])]) case $gl_cv_func_strndup_works in *no) REPLACE_STRNDUP=1 ;; esac else HAVE_STRNDUP=0 fi ]) gsasl-1.8.1/lib/m4/lt~obsolete.m40000644000000000000000000001377413521017103013430 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])]) gsasl-1.8.1/lib/m4/__inline.m40000644000000000000000000000142313516267371012640 00000000000000# Test for __inline keyword dnl Copyright 2017-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl___INLINE], [ AC_CACHE_CHECK([whether the compiler supports the __inline keyword], [gl_cv_c___inline], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[typedef int foo_t; static __inline foo_t foo (void) { return 0; }]], [[return foo ();]])], [gl_cv_c___inline=yes], [gl_cv_c___inline=no])]) if test $gl_cv_c___inline = yes; then AC_DEFINE([HAVE___INLINE], [1], [Define to 1 if the compiler supports the keyword '__inline'.]) fi ]) gsasl-1.8.1/lib/m4/ftello.m40000644000000000000000000000776613516267371012371 00000000000000# ftello.m4 serial 13 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FTELLO], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) AC_REQUIRE([gl_SYS_TYPES_H]) dnl Persuade glibc to declare ftello(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([ftello]) if test $ac_cv_have_decl_ftello = no; then HAVE_DECL_FTELLO=0 fi AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[ftello (stdin);]])], [gl_cv_func_ftello=yes], [gl_cv_func_ftello=no]) ]) if test $gl_cv_func_ftello = no; then HAVE_FTELLO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FTELLO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FTELLO=1 fi if test $REPLACE_FTELLO = 0; then dnl Detect bug on Solaris. dnl ftell and ftello produce incorrect results after putc that followed a dnl getc call that reached EOF on Solaris. This is because the _IOREAD dnl flag does not get cleared in this case, even though _IOWRT gets set, dnl and ftell and ftello look whether the _IOREAD flag is set. AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether ftello works], [gl_cv_func_ftello_works], [ dnl Initial guess, used when cross-compiling or when /dev/tty cannot dnl be opened. changequote(,)dnl case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_ftello_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_ftello_works="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_ftello_works="guessing yes" ;; esac changequote([,])dnl AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #define TESTFILE "conftest.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) return 70; if (fwrite ("foogarsh", 1, 8, fp) < 8) { fclose (fp); return 71; } if (fclose (fp)) return 72; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) return 73; if (fseek (fp, -1, SEEK_END)) { fclose (fp); return 74; } if (!(getc (fp) == 'h')) { fclose (fp); return 1; } if (!(getc (fp) == EOF)) { fclose (fp); return 2; } if (!(ftell (fp) == 8)) { fclose (fp); return 3; } if (!(ftell (fp) == 8)) { fclose (fp); return 4; } if (!(putc ('!', fp) == '!')) { fclose (fp); return 5; } if (!(ftell (fp) == 9)) { fclose (fp); return 6; } if (!(fclose (fp) == 0)) return 7; fp = fopen (TESTFILE, "r"); if (fp == NULL) return 75; { char buf[10]; if (!(fread (buf, 1, 10, fp) == 9)) { fclose (fp); return 10; } if (!(memcmp (buf, "foogarsh!", 9) == 0)) { fclose (fp); return 11; } } if (!(fclose (fp) == 0)) return 12; /* The file's contents is now "foogarsh!". */ return 0; }]])], [gl_cv_func_ftello_works=yes], [gl_cv_func_ftello_works=no], [:]) ]) case "$gl_cv_func_ftello_works" in *yes) ;; *) REPLACE_FTELLO=1 AC_DEFINE([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [1], [Define to 1 if the system's ftello function has the Solaris bug.]) ;; esac fi fi ]) # Prerequisites of lib/ftello.c. AC_DEFUN([gl_PREREQ_FTELLO], [ dnl Native Windows has the function _ftelli64. mingw hides it, but mingw64 dnl makes it usable again. AC_CHECK_FUNCS([_ftelli64]) ]) gsasl-1.8.1/lib/m4/msvc-nothrow.m40000644000000000000000000000053013516267371013530 00000000000000# msvc-nothrow.m4 serial 1 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MSVC_NOTHROW], [ AC_REQUIRE([gl_MSVC_INVAL]) ]) gsasl-1.8.1/lib/m4/fdopen.m40000644000000000000000000000257613516267371012351 00000000000000# fdopen.m4 serial 4 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FDOPEN], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles m4_ifdef([gl_MSVC_INVAL], [ AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_FDOPEN=1 fi ]) if test $REPLACE_FDOPEN = 0; then dnl Test whether fdopen() sets errno when it fails due to a bad fd argument. AC_CACHE_CHECK([whether fdopen sets errno], [gl_cv_func_fdopen_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main (void) { FILE *fp; errno = 0; fp = fdopen (-1, "r"); if (fp == NULL && errno == 0) return 1; return 0; }]])], [gl_cv_func_fdopen_works=yes], [gl_cv_func_fdopen_works=no], [case "$host_os" in mingw*) gl_cv_func_fdopen_works="guessing no" ;; *) gl_cv_func_fdopen_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_fdopen_works" in *no) REPLACE_FDOPEN=1 ;; esac fi ]) dnl Prerequisites of lib/fdopen.c. AC_DEFUN([gl_PREREQ_FDOPEN], []) gsasl-1.8.1/lib/m4/fstat.m40000644000000000000000000000206313516267371012206 00000000000000# fstat.m4 serial 6 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FSTAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) case "$host_os" in mingw* | solaris*) dnl On MinGW, the original stat() returns st_atime, st_mtime, dnl st_ctime values that are affected by the time zone. dnl Solaris stat can return a negative tv_nsec. REPLACE_FSTAT=1 ;; esac dnl Replace fstat() for supporting the gnulib-defined open() on directories. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then case "$gl_cv_func_open_directory_works" in *yes) ;; *) REPLACE_FSTAT=1 ;; esac fi ]) ]) # Prerequisites of lib/fstat.c and lib/stat-w32.c. AC_DEFUN([gl_PREREQ_FSTAT], [ AC_REQUIRE([gl_HEADER_SYS_STAT_H]) : ]) gsasl-1.8.1/lib/m4/setenv.m40000644000000000000000000001123513516267371012372 00000000000000# setenv.m4 serial 28 dnl Copyright (C) 2001-2004, 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SETENV], [ AC_REQUIRE([gl_FUNC_SETENV_SEPARATE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles if test $ac_cv_func_setenv = no; then HAVE_SETENV=0 else AC_CACHE_CHECK([whether setenv validates arguments], [gl_cv_func_setenv_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #include ]], [[ int result = 0; { if (setenv ("", "", 0) != -1) result |= 1; else if (errno != EINVAL) result |= 2; } { if (setenv ("a", "=", 1) != 0) result |= 4; else if (strcmp (getenv ("a"), "=") != 0) result |= 8; } return result; ]])], [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_setenv_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_setenv_works="guessing no" ;; esac ])]) case "$gl_cv_func_setenv_works" in *yes) ;; *) REPLACE_SETENV=1 ;; esac fi ]) # Like gl_FUNC_SETENV, except prepare for separate compilation # (no REPLACE_SETENV, no AC_LIBOBJ). AC_DEFUN([gl_FUNC_SETENV_SEPARATE], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_CHECK_DECLS_ONCE([setenv]) if test $ac_cv_have_decl_setenv = no; then HAVE_DECL_SETENV=0 fi AC_CHECK_FUNCS_ONCE([setenv]) gl_PREREQ_SETENV ]) AC_DEFUN([gl_FUNC_UNSETENV], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_DECLS_ONCE([unsetenv]) if test $ac_cv_have_decl_unsetenv = no; then HAVE_DECL_UNSETENV=0 fi AC_CHECK_FUNCS([unsetenv]) if test $ac_cv_func_unsetenv = no; then HAVE_UNSETENV=0 else HAVE_UNSETENV=1 dnl Some BSDs return void, failing to do error checking. AC_CACHE_CHECK([for unsetenv() return type], [gt_cv_func_unsetenv_ret], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #undef _BSD #define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ #include extern #ifdef __cplusplus "C" #endif int unsetenv (const char *name); ]], [[]])], [gt_cv_func_unsetenv_ret='int'], [gt_cv_func_unsetenv_ret='void'])]) if test $gt_cv_func_unsetenv_ret = 'void'; then AC_DEFINE([VOID_UNSETENV], [1], [Define to 1 if unsetenv returns void instead of int.]) REPLACE_UNSETENV=1 fi dnl Solaris 10 unsetenv does not remove all copies of a name. dnl Haiku alpha 2 unsetenv gets confused by assignment to environ. dnl OpenBSD 4.7 unsetenv("") does not fail. AC_CACHE_CHECK([whether unsetenv obeys POSIX], [gl_cv_func_unsetenv_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include extern char **environ; ]], [[ char entry1[] = "a=1"; char entry2[] = "b=2"; char *env[] = { entry1, entry2, NULL }; if (putenv ((char *) "a=1")) return 1; if (putenv (entry2)) return 2; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 3; if (!unsetenv ("") || errno != EINVAL) return 4; entry2[0] = 'b'; environ = env; if (!getenv ("a")) return 5; entry2[0] = 'a'; unsetenv ("a"); if (getenv ("a")) return 6; ]])], [gl_cv_func_unsetenv_works=yes], [gl_cv_func_unsetenv_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_unsetenv_works="guessing no" ;; esac ])]) case "$gl_cv_func_unsetenv_works" in *yes) ;; *) REPLACE_UNSETENV=1 ;; esac fi ]) # Prerequisites of lib/setenv.c. AC_DEFUN([gl_PREREQ_SETENV], [ AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([gl_ENVIRON]) AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CHECK_HEADERS([search.h]) AC_CHECK_FUNCS([tsearch]) ]) # Prerequisites of lib/unsetenv.c. AC_DEFUN([gl_PREREQ_UNSETENV], [ AC_REQUIRE([gl_ENVIRON]) AC_CHECK_HEADERS_ONCE([unistd.h]) ]) gsasl-1.8.1/lib/m4/md5.m40000644000000000000000000000067513516267371011561 00000000000000# md5.m4 serial 14 dnl Copyright (C) 2002-2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MD5], [ dnl Prerequisites of lib/md5.c. AC_REQUIRE([gl_BIGENDIAN]) dnl Determine HAVE_OPENSSL_MD5 and LIB_CRYPTO gl_CRYPTO_CHECK([MD5]) ]) gsasl-1.8.1/lib/m4/netinet_in_h.m40000644000000000000000000000207513516267371013533 00000000000000# netinet_in_h.m4 serial 5 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_NETINET_IN], [ AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_netinet_in_h_selfcontained], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], [gl_cv_header_netinet_in_h_selfcontained=yes], [gl_cv_header_netinet_in_h_selfcontained=no]) ]) if test $gl_cv_header_netinet_in_h_selfcontained = yes; then NETINET_IN_H='' else NETINET_IN_H='netinet/in.h' AC_CHECK_HEADERS([netinet/in.h]) gl_CHECK_NEXT_HEADERS([netinet/in.h]) if test $ac_cv_header_netinet_in_h = yes; then HAVE_NETINET_IN_H=1 else HAVE_NETINET_IN_H=0 fi AC_SUBST([HAVE_NETINET_IN_H]) fi AC_SUBST([NETINET_IN_H]) AM_CONDITIONAL([GL_GENERATE_NETINET_IN_H], [test -n "$NETINET_IN_H"]) ]) gsasl-1.8.1/lib/m4/gnulib-common.m40000644000000000000000000004050713516267371013640 00000000000000# gnulib-common.m4 serial 44 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.62]) # gl_COMMON # is expanded unconditionally through gnulib-tool magic. AC_DEFUN([gl_COMMON], [ dnl Use AC_REQUIRE here, so that the code is expanded once only. AC_REQUIRE([gl_00GNULIB]) AC_REQUIRE([gl_COMMON_BODY]) ]) AC_DEFUN([gl_COMMON_BODY], [ AH_VERBATIM([_Noreturn], [/* The _Noreturn keyword of C11. */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER))) # define _Noreturn [[noreturn]] # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) /* _Noreturn works as-is. */ # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif ]) AH_VERBATIM([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. __APPLE__ && __MACH__ test for Mac OS X. __APPLE_CC__ tests for the Apple compiler and its version. __STDC_VERSION__ tests for the C99 mode. */ #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ # define __GNUC_STDC_INLINE__ 1 #endif]) AH_VERBATIM([unused_parameter], [/* Define as a marker that can be attached to declarations that might not be used. This helps to reduce warnings, such as from GCC -Wunused-parameter. */ #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED __attribute__ ((__unused__)) #else # define _GL_UNUSED #endif /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name is a misnomer outside of parameter lists. */ #define _UNUSED_PARAMETER_ _GL_UNUSED /* gcc supports the "unused" attribute on possibly unused labels, and g++ has since version 4.5. Note to support C++ as well as C, _GL_UNUSED_LABEL should be used with a trailing ; */ #if !defined __cplusplus || __GNUC__ > 4 \ || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) # define _GL_UNUSED_LABEL _GL_UNUSED #else # define _GL_UNUSED_LABEL #endif /* The __pure__ attribute was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The __const__ attribute was added in gcc 2.95. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) #else # define _GL_ATTRIBUTE_CONST /* empty */ #endif /* The __malloc__ attribute was added in gcc 3. */ #if 3 <= __GNUC__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) #else # define _GL_ATTRIBUTE_MALLOC /* empty */ #endif ]) AH_VERBATIM([async_safe], [/* The _GL_ASYNC_SAFE marker should be attached to functions that are signal handlers (for signals other than SIGABRT, SIGPIPE) or can be invoked from such signal handlers. Such functions have some restrictions: * All functions that it calls should be marked _GL_ASYNC_SAFE as well, or should be listed as async-signal-safe in POSIX section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in particular, are NOT async-signal-safe. * All memory locations (variables and struct fields) that these functions access must be marked 'volatile'. This holds for both read and write accesses. Otherwise the compiler might optimize away stores to and reads from such locations that occur in the program, depending on its data flow analysis. For example, when the program contains a loop that is intended to inspect a variable set from within a signal handler while (!signal_occurred) ; the compiler is allowed to transform this into an endless loop if the variable 'signal_occurred' is not declared 'volatile'. Additionally, recall that: * A signal handler should not modify errno (except if it is a handler for a fatal signal and ends by raising the same signal again, thus provoking the termination of the process). If it invokes a function that may clobber errno, it needs to save and restore the value of errno. */ #define _GL_ASYNC_SAFE ]) dnl Preparation for running test programs: dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not dnl to /dev/tty, so they can be redirected to log files. Such diagnostics dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. LIBC_FATAL_STDERR_=1 export LIBC_FATAL_STDERR_ ]) # gl_MODULE_INDICATOR_CONDITION # expands to a C preprocessor expression that evaluates to 1 or 0, depending # whether a gnulib module that has been requested shall be considered present # or not. m4_define([gl_MODULE_INDICATOR_CONDITION], [1]) # gl_MODULE_INDICATOR_SET_VARIABLE([modulename]) # sets the shell variable that indicates the presence of the given module to # a C preprocessor expression that will evaluate to 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], [ gl_MODULE_INDICATOR_SET_VARIABLE_AUX( [GNULIB_[]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION]) ]) # gl_MODULE_INDICATOR_SET_VARIABLE_AUX([variable]) # modifies the shell variable to include the gl_MODULE_INDICATOR_CONDITION. # The shell variable's value is a C preprocessor expression that evaluates # to 0 or 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX], [ m4_if(m4_defn([gl_MODULE_INDICATOR_CONDITION]), [1], [ dnl Simplify the expression VALUE || 1 to 1. $1=1 ], [gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([$1], [gl_MODULE_INDICATOR_CONDITION])]) ]) # gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([variable], [condition]) # modifies the shell variable to include the given condition. The shell # variable's value is a C preprocessor expression that evaluates to 0 or 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR], [ dnl Simplify the expression 1 || CONDITION to 1. if test "$[]$1" != 1; then dnl Simplify the expression 0 || CONDITION to CONDITION. if test "$[]$1" = 0; then $1=$2 else $1="($[]$1 || $2)" fi fi ]) # gl_MODULE_INDICATOR([modulename]) # defines a C macro indicating the presence of the given module # in a location where it can be used. # | Value | Value | # | in lib/ | in tests/ | # --------------------------------------------+---------+-----------+ # Module present among main modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module present among tests-related modules: | 0 | 1 | # --------------------------------------------+---------+-----------+ # Module not present at all: | 0 | 0 | # --------------------------------------------+---------+-----------+ AC_DEFUN([gl_MODULE_INDICATOR], [ AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [gl_MODULE_INDICATOR_CONDITION], [Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module $1 shall be considered present.]) ]) # gl_MODULE_INDICATOR_FOR_TESTS([modulename]) # defines a C macro indicating the presence of the given module # in lib or tests. This is useful to determine whether the module # should be tested. # | Value | Value | # | in lib/ | in tests/ | # --------------------------------------------+---------+-----------+ # Module present among main modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module present among tests-related modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module not present at all: | 0 | 0 | # --------------------------------------------+---------+-----------+ AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [ AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], [Define to 1 when the gnulib module $1 should be tested.]) ]) # gl_ASSERT_NO_GNULIB_POSIXCHECK # asserts that there will never be a need to #define GNULIB_POSIXCHECK. # and thereby enables an optimization of configure and config.h. # Used by Emacs. AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK], [ dnl Override gl_WARN_ON_USE_PREPARE. dnl But hide this definition from 'aclocal'. AC_DEFUN([gl_W][ARN_ON_USE_PREPARE], []) ]) # gl_ASSERT_NO_GNULIB_TESTS # asserts that there will be no gnulib tests in the scope of the configure.ac # and thereby enables an optimization of config.h. # Used by Emacs. AC_DEFUN([gl_ASSERT_NO_GNULIB_TESTS], [ dnl Override gl_MODULE_INDICATOR_FOR_TESTS. AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], []) ]) # Test whether exists. # Set HAVE_FEATURES_H. AC_DEFUN([gl_FEATURES_H], [ AC_CHECK_HEADERS_ONCE([features.h]) if test $ac_cv_header_features_h = yes; then HAVE_FEATURES_H=1 else HAVE_FEATURES_H=0 fi AC_SUBST([HAVE_FEATURES_H]) ]) # AS_VAR_IF(VAR, VALUE, [IF-MATCH], [IF-NOT-MATCH]) # ---------------------------------------------------- # Backport of autoconf-2.63b's macro. # Remove this macro when we can assume autoconf >= 2.64. m4_ifndef([AS_VAR_IF], [m4_define([AS_VAR_IF], [AS_IF([test x"AS_VAR_GET([$1])" = x""$2], [$3], [$4])])]) # gl_PROG_CC_C99 # Modifies the value of the shell variable CC in an attempt to make $CC # understand ISO C99 source code. # This is like AC_PROG_CC_C99, except that # - AC_PROG_CC_C99 does not mix well with AC_PROG_CC_STDC # , # but many more packages use AC_PROG_CC_STDC than AC_PROG_CC_C99 # . # Remaining problems: # - When AC_PROG_CC_STDC is invoked twice, it adds the C99 enabling options # to CC twice # . # - AC_PROG_CC_STDC is likely to change now that C11 is an ISO standard. AC_DEFUN([gl_PROG_CC_C99], [ dnl Change that version number to the minimum Autoconf version that supports dnl mixing AC_PROG_CC_C99 calls with AC_PROG_CC_STDC calls. m4_version_prereq([9.0], [AC_REQUIRE([AC_PROG_CC_C99])], [AC_REQUIRE([AC_PROG_CC_STDC])]) ]) # gl_PROG_AR_RANLIB # Determines the values for AR, ARFLAGS, RANLIB that fit with the compiler. # The user can set the variables AR, ARFLAGS, RANLIB if he wants to override # the values. AC_DEFUN([gl_PROG_AR_RANLIB], [ dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler dnl as "cc", and GCC as "gcc". They have different object file formats and dnl library formats. In particular, the GNU binutils programs ar and ranlib dnl produce libraries that work only with gcc, not with cc. AC_REQUIRE([AC_PROG_CC]) dnl The '][' hides this use from 'aclocal'. AC_BEFORE([$0], [A][M_PROG_AR]) AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler], [ AC_EGREP_CPP([Amsterdam], [ #ifdef __ACK__ Amsterdam #endif ], [gl_cv_c_amsterdam_compiler=yes], [gl_cv_c_amsterdam_compiler=no]) ]) dnl Don't compete with AM_PROG_AR's decision about AR/ARFLAGS if we are not dnl building with __ACK__. if test $gl_cv_c_amsterdam_compiler = yes; then if test -z "$AR"; then AR='cc -c.a' fi if test -z "$ARFLAGS"; then ARFLAGS='-o' fi else dnl AM_PROG_AR was added in automake v1.11.2. AM_PROG_AR does not AC_SUBST dnl ARFLAGS variable (it is filed into Makefile.in directly by automake dnl script on-demand, if not specified by ./configure of course). dnl Don't AC_REQUIRE the AM_PROG_AR otherwise the code for __ACK__ above dnl will be ignored. Also, pay attention to call AM_PROG_AR in else block dnl because AM_PROG_AR is written so it could re-set AR variable even for dnl __ACK__. It may seem like its easier to avoid calling the macro here, dnl but we need to AC_SUBST both AR/ARFLAGS (thus those must have some good dnl default value and automake should usually know them). dnl dnl The '][' hides this use from 'aclocal'. m4_ifdef([A][M_PROG_AR], [A][M_PROG_AR], [:]) fi dnl In case the code above has not helped with setting AR/ARFLAGS, use dnl Automake-documented default values for AR and ARFLAGS, but prefer dnl ${host}-ar over ar (useful for cross-compiling). AC_CHECK_TOOL([AR], [ar], [ar]) if test -z "$ARFLAGS"; then ARFLAGS='cr' fi AC_SUBST([AR]) AC_SUBST([ARFLAGS]) if test -z "$RANLIB"; then if test $gl_cv_c_amsterdam_compiler = yes; then RANLIB=':' else dnl Use the ranlib program if it is available. AC_PROG_RANLIB fi fi AC_SUBST([RANLIB]) ]) # AC_C_RESTRICT # This definition is copied from post-2.69 Autoconf and overrides the # AC_C_RESTRICT macro from autoconf 2.60..2.69. It can be removed # once autoconf >= 2.70 can be assumed. It's painful to check version # numbers, and in practice this macro is more up-to-date than Autoconf # is, so override Autoconf unconditionally. AC_DEFUN([AC_C_RESTRICT], [AC_CACHE_CHECK([for C/C++ restrict keyword], [ac_cv_c_restrict], [ac_cv_c_restrict=no # The order here caters to the fact that C++ does not require restrict. for ac_kw in __restrict __restrict__ _Restrict restrict; do AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[typedef int *int_ptr; int foo (int_ptr $ac_kw ip) { return ip[0]; } int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ int bar (int ip[$ac_kw]) { return ip[0]; } ]], [[int s[1]; int *$ac_kw t = s; t[0] = 0; return foo (t) + bar (t); ]])], [ac_cv_c_restrict=$ac_kw]) test "$ac_cv_c_restrict" != no && break done ]) AH_VERBATIM([restrict], [/* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported directly. */ #undef restrict /* Work around a bug in Sun C++: it does not support _Restrict or __restrict__, even though the corresponding Sun C compiler ends up with "#define restrict _Restrict" or "#define restrict __restrict__" in the previous line. Perhaps some future version of Sun C++ will work with restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ #if defined __SUNPRO_CC && !defined __RESTRICT # define _Restrict # define __restrict__ #endif]) case $ac_cv_c_restrict in restrict) ;; no) AC_DEFINE([restrict], []) ;; *) AC_DEFINE_UNQUOTED([restrict], [$ac_cv_c_restrict]) ;; esac ])# AC_C_RESTRICT # gl_BIGENDIAN # is like AC_C_BIGENDIAN, except that it can be AC_REQUIREd. # Note that AC_REQUIRE([AC_C_BIGENDIAN]) does not work reliably because some # macros invoke AC_C_BIGENDIAN with arguments. AC_DEFUN([gl_BIGENDIAN], [ AC_C_BIGENDIAN ]) # gl_CACHE_VAL_SILENT(cache-id, command-to-set-it) # is like AC_CACHE_VAL(cache-id, command-to-set-it), except that it does not # output a spurious "(cached)" mark in the midst of other configure output. # This macro should be used instead of AC_CACHE_VAL when it is not surrounded # by an AC_MSG_CHECKING/AC_MSG_RESULT pair. AC_DEFUN([gl_CACHE_VAL_SILENT], [ saved_as_echo_n="$as_echo_n" as_echo_n=':' AC_CACHE_VAL([$1], [$2]) as_echo_n="$saved_as_echo_n" ]) # AS_VAR_COPY was added in autoconf 2.63b m4_define_default([AS_VAR_COPY], [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])]) gsasl-1.8.1/lib/m4/ltsugar.m40000644000000000000000000001044013521017102012521 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 ]) gsasl-1.8.1/lib/m4/gc-hmac-md5.m40000644000000000000000000000064213516267371013050 00000000000000# gc-hmac-md5.m4 serial 3 dnl Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GC_HMAC_MD5], [ AC_REQUIRE([gl_GC]) if test "$ac_cv_libgcrypt" != yes; then gl_MD5 gl_MEMXOR fi ]) gsasl-1.8.1/lib/m4/wchar_t.m40000644000000000000000000000146213516267371012516 00000000000000# wchar_t.m4 serial 4 (gettext-0.18.2) dnl Copyright (C) 2002-2003, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Test whether has the 'wchar_t' type. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WCHAR_T], [ AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include wchar_t foo = (wchar_t)'\0';]], [[]])], [gt_cv_c_wchar_t=yes], [gt_cv_c_wchar_t=no])]) if test $gt_cv_c_wchar_t = yes; then AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.]) fi ]) gsasl-1.8.1/lib/m4/gc-sha1.m40000644000000000000000000000052213516267371012306 00000000000000# gc-sha1.m4 serial 3 dnl Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GC_SHA1], [ AC_REQUIRE([gl_GC]) ]) gsasl-1.8.1/lib/m4/fpurge.m40000644000000000000000000000460613516267371012362 00000000000000# fpurge.m4 serial 9 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FPURGE], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([fpurge]) AC_CHECK_FUNCS_ONCE([__fpurge]) AC_CHECK_DECLS([fpurge], , , [[#include ]]) if test "x$ac_cv_func_fpurge" = xyes; then HAVE_FPURGE=1 # Detect BSD bug. Only cygwin 1.7 and musl are known to be immune. AC_CACHE_CHECK([whether fpurge works], [gl_cv_func_fpurge_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [FILE *f = fopen ("conftest.txt", "w+"); if (!f) return 1; if (fputc ('a', f) != 'a') { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != EOF) { fclose (f); return 4; } if (fpurge (f) != 0) { fclose (f); return 5; } if (putc ('b', f) != 'b') { fclose (f); return 6; } if (fclose (f) != 0) return 7; if ((f = fopen ("conftest.txt", "r")) == NULL) return 8; if (fgetc (f) != 'a') { fclose (f); return 9; } if (fgetc (f) != 'b') { fclose (f); return 10; } if (fgetc (f) != EOF) { fclose (f); return 11; } if (fclose (f) != 0) return 12; if (remove ("conftest.txt") != 0) return 13; return 0; ])], [gl_cv_func_fpurge_works=yes], [gl_cv_func_fpurge_works=no], [case "$host_os" in # Guess yes on musl systems. *-musl*) gl_cv_func_fpurge_works="guessing yes" ;; # Guess no otherwise. *) gl_cv_func_fpurge_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_fpurge_works" in *yes) ;; *) REPLACE_FPURGE=1 ;; esac else HAVE_FPURGE=0 fi if test "x$ac_cv_have_decl_fpurge" = xno; then HAVE_DECL_FPURGE=0 fi ]) gsasl-1.8.1/lib/m4/extern-inline.m40000644000000000000000000001156713521000376013641 00000000000000dnl 'extern inline' a la ISO C99. dnl Copyright 2012-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_EXTERN_INLINE], [ AH_VERBATIM([extern_inline], [/* Please see the Gnulib manual for how to use these macros. Suppress extern inline with HP-UX cc, as it appears to be broken; see . Suppress extern inline with Sun C in standards-conformance mode, as it mishandles inline functions that call each other. E.g., for 'inline void f (void) { } inline void g (void) { f (); }', c99 incorrectly complains 'reference to static identifier "f" in extern inline function'. This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) on configurations that mistakenly use 'static inline' to implement functions or macros in standard C headers like . For example, if isdigit is mistakenly implemented via a static inline function, a program containing an extern inline function that calls isdigit may not work since the C standard prohibits extern inline functions from calling static functions (ISO C 99 section 6.7.4.(3). This bug is known to occur on: OS X 10.8 and earlier; see: https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html DragonFly; see http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log FreeBSD; see: https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and for clang but remains for g++; see . Assume DragonFly and FreeBSD will be similar. GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. It defines a macro __GNUC_STDC_INLINE__ to indicate this situation or a macro __GNUC_GNU_INLINE__ to indicate the opposite situation. GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline semantics but warns, unless -fgnu89-inline is used: warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. */ #if (((defined __APPLE__ && defined __MACH__) \ || defined __DragonFly__ || defined __FreeBSD__) \ && (defined __header_inline \ ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ && ! defined __clang__) \ : ((! defined _DONT_USE_CTYPE_INLINE_ \ && (defined __GNUC__ || defined __cplusplus)) \ || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ && defined __GNUC__ && ! defined __cplusplus)))) # define _GL_EXTERN_INLINE_STDHEADER_BUG #endif #if ((__GNUC__ \ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ : (199901L <= __STDC_VERSION__ \ && !defined __HP_cc \ && !defined __PGI \ && !(defined __SUNPRO_C && __STDC__))) \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # define _GL_INLINE inline # define _GL_EXTERN_INLINE extern inline # define _GL_EXTERN_INLINE_IN_USE #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) # else # define _GL_INLINE extern inline # endif # define _GL_EXTERN_INLINE extern # define _GL_EXTERN_INLINE_IN_USE #else # define _GL_INLINE static _GL_UNUSED # define _GL_EXTERN_INLINE static _GL_UNUSED #endif /* In GCC 4.6 (inclusive) to 5.1 (exclusive), suppress bogus "no previous prototype for 'FOO'" and "no previous declaration for 'FOO'" diagnostics, when FOO is an inline function in the header; see and . */ #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ # define _GL_INLINE_HEADER_CONST_PRAGMA # else # define _GL_INLINE_HEADER_CONST_PRAGMA \ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") # endif # define _GL_INLINE_HEADER_BEGIN \ _Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ _GL_INLINE_HEADER_CONST_PRAGMA # define _GL_INLINE_HEADER_END \ _Pragma ("GCC diagnostic pop") #else # define _GL_INLINE_HEADER_BEGIN # define _GL_INLINE_HEADER_END #endif]) ]) gsasl-1.8.1/lib/m4/wchar_h.m40000644000000000000000000002371513516267371012507 00000000000000dnl A placeholder for ISO C99 , for platforms that have issues. dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Eric Blake. # wchar_h.m4 serial 43 AC_DEFUN([gl_WCHAR_H], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) dnl Prepare for creating substitute . dnl Check for (missing in Linux uClibc when built without wide dnl character support). dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([wchar.h]) if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi AC_SUBST([HAVE_WCHAR_H]) AC_REQUIRE([gl_FEATURES_H]) AC_REQUIRE([gt_TYPE_WINT_T]) if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi AC_SUBST([HAVE_WINT_T]) AC_REQUIRE([gl_TYPE_WINT_T_PREREQ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include #endif #include ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth wcsftime ]) ]) dnl Check whether is usable at all. AC_DEFUN([gl_WCHAR_H_INLINE_OK], [ dnl Test whether suffers due to the transition from '__inline' to dnl 'gnu_inline'. See dnl and . In summary, dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and dnl the option -std=c99 or -std=gnu99, leads to a broken . AC_CACHE_CHECK([whether uses 'inline' correctly], [gl_cv_header_wchar_h_correct_inline], [gl_cv_header_wchar_h_correct_inline=yes AC_LANG_CONFTEST([ AC_LANG_SOURCE([[#define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include extern int zero (void); int main () { return zero(); } ]])]) dnl Do not rename the object file from conftest.$ac_objext to dnl conftest1.$ac_objext, as this will cause the link to fail on dnl z/OS when using the XPLINK object format (due to duplicate dnl CSECT names). Instead, temporarily redefine $ac_compile so dnl that the object file has the latter name from the start. save_ac_compile="$ac_compile" ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest1/` if echo '#include "conftest.c"' >conftest1.c && AC_TRY_EVAL([ac_compile]); then AC_LANG_CONFTEST([ AC_LANG_SOURCE([[#define wcstod renamed_wcstod /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include int zero (void) { return 0; } ]])]) dnl See note above about renaming object files. ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest2/` if echo '#include "conftest.c"' >conftest2.c && AC_TRY_EVAL([ac_compile]); then if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then : else gl_cv_header_wchar_h_correct_inline=no fi fi fi ac_compile="$save_ac_compile" rm -f conftest[12].c conftest[12].$ac_objext conftest$ac_exeext ]) if test $gl_cv_header_wchar_h_correct_inline = no; then AC_MSG_ERROR([ cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: - Add the flag -fgnu89-inline to CC and reconfigure, or - Fix your include files, using parts of , or - Use a gcc version older than 4.3, or - Don't use the flags -std=c99 or -std=gnu99. Configuration aborted.]) fi ]) AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_WCHAR_H_DEFAULTS], [ GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC]) GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB]) GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT]) GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC]) GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN]) GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS]) GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS]) GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB]) GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS]) GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS]) GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH]) GNULIB_WMEMCHR=0; AC_SUBST([GNULIB_WMEMCHR]) GNULIB_WMEMCMP=0; AC_SUBST([GNULIB_WMEMCMP]) GNULIB_WMEMCPY=0; AC_SUBST([GNULIB_WMEMCPY]) GNULIB_WMEMMOVE=0; AC_SUBST([GNULIB_WMEMMOVE]) GNULIB_WMEMSET=0; AC_SUBST([GNULIB_WMEMSET]) GNULIB_WCSLEN=0; AC_SUBST([GNULIB_WCSLEN]) GNULIB_WCSNLEN=0; AC_SUBST([GNULIB_WCSNLEN]) GNULIB_WCSCPY=0; AC_SUBST([GNULIB_WCSCPY]) GNULIB_WCPCPY=0; AC_SUBST([GNULIB_WCPCPY]) GNULIB_WCSNCPY=0; AC_SUBST([GNULIB_WCSNCPY]) GNULIB_WCPNCPY=0; AC_SUBST([GNULIB_WCPNCPY]) GNULIB_WCSCAT=0; AC_SUBST([GNULIB_WCSCAT]) GNULIB_WCSNCAT=0; AC_SUBST([GNULIB_WCSNCAT]) GNULIB_WCSCMP=0; AC_SUBST([GNULIB_WCSCMP]) GNULIB_WCSNCMP=0; AC_SUBST([GNULIB_WCSNCMP]) GNULIB_WCSCASECMP=0; AC_SUBST([GNULIB_WCSCASECMP]) GNULIB_WCSNCASECMP=0; AC_SUBST([GNULIB_WCSNCASECMP]) GNULIB_WCSCOLL=0; AC_SUBST([GNULIB_WCSCOLL]) GNULIB_WCSXFRM=0; AC_SUBST([GNULIB_WCSXFRM]) GNULIB_WCSDUP=0; AC_SUBST([GNULIB_WCSDUP]) GNULIB_WCSCHR=0; AC_SUBST([GNULIB_WCSCHR]) GNULIB_WCSRCHR=0; AC_SUBST([GNULIB_WCSRCHR]) GNULIB_WCSCSPN=0; AC_SUBST([GNULIB_WCSCSPN]) GNULIB_WCSSPN=0; AC_SUBST([GNULIB_WCSSPN]) GNULIB_WCSPBRK=0; AC_SUBST([GNULIB_WCSPBRK]) GNULIB_WCSSTR=0; AC_SUBST([GNULIB_WCSSTR]) GNULIB_WCSTOK=0; AC_SUBST([GNULIB_WCSTOK]) GNULIB_WCSWIDTH=0; AC_SUBST([GNULIB_WCSWIDTH]) GNULIB_WCSFTIME=0; AC_SUBST([GNULIB_WCSFTIME]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC]) HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT]) HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC]) HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN]) HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS]) HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS]) HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB]) HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS]) HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS]) HAVE_WMEMCHR=1; AC_SUBST([HAVE_WMEMCHR]) HAVE_WMEMCMP=1; AC_SUBST([HAVE_WMEMCMP]) HAVE_WMEMCPY=1; AC_SUBST([HAVE_WMEMCPY]) HAVE_WMEMMOVE=1; AC_SUBST([HAVE_WMEMMOVE]) HAVE_WMEMSET=1; AC_SUBST([HAVE_WMEMSET]) HAVE_WCSLEN=1; AC_SUBST([HAVE_WCSLEN]) HAVE_WCSNLEN=1; AC_SUBST([HAVE_WCSNLEN]) HAVE_WCSCPY=1; AC_SUBST([HAVE_WCSCPY]) HAVE_WCPCPY=1; AC_SUBST([HAVE_WCPCPY]) HAVE_WCSNCPY=1; AC_SUBST([HAVE_WCSNCPY]) HAVE_WCPNCPY=1; AC_SUBST([HAVE_WCPNCPY]) HAVE_WCSCAT=1; AC_SUBST([HAVE_WCSCAT]) HAVE_WCSNCAT=1; AC_SUBST([HAVE_WCSNCAT]) HAVE_WCSCMP=1; AC_SUBST([HAVE_WCSCMP]) HAVE_WCSNCMP=1; AC_SUBST([HAVE_WCSNCMP]) HAVE_WCSCASECMP=1; AC_SUBST([HAVE_WCSCASECMP]) HAVE_WCSNCASECMP=1; AC_SUBST([HAVE_WCSNCASECMP]) HAVE_WCSCOLL=1; AC_SUBST([HAVE_WCSCOLL]) HAVE_WCSXFRM=1; AC_SUBST([HAVE_WCSXFRM]) HAVE_WCSDUP=1; AC_SUBST([HAVE_WCSDUP]) HAVE_WCSCHR=1; AC_SUBST([HAVE_WCSCHR]) HAVE_WCSRCHR=1; AC_SUBST([HAVE_WCSRCHR]) HAVE_WCSCSPN=1; AC_SUBST([HAVE_WCSCSPN]) HAVE_WCSSPN=1; AC_SUBST([HAVE_WCSSPN]) HAVE_WCSPBRK=1; AC_SUBST([HAVE_WCSPBRK]) HAVE_WCSSTR=1; AC_SUBST([HAVE_WCSSTR]) HAVE_WCSTOK=1; AC_SUBST([HAVE_WCSTOK]) HAVE_WCSWIDTH=1; AC_SUBST([HAVE_WCSWIDTH]) HAVE_WCSFTIME=1; AC_SUBST([HAVE_WCSFTIME]) HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB]) HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH]) REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T]) REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC]) REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB]) REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT]) REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC]) REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN]) REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS]) REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS]) REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB]) REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS]) REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS]) REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH]) REPLACE_WCSWIDTH=0; AC_SUBST([REPLACE_WCSWIDTH]) REPLACE_WCSFTIME=0; AC_SUBST([REPLACE_WCSFTIME]) ]) gsasl-1.8.1/lib/m4/po.m40000644000000000000000000004503713516321014011474 00000000000000# po.m4 serial 22 (gettext-0.19) dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.60]) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl AC_REQUIRE([AC_PROG_SED])dnl AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.19]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" tab=`printf '\t'` if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" <, a header that may be supplied by this distribution.]) ALLOCA_H=alloca.h else dnl alloca exists as a library function, i.e. it is slow and probably dnl a memory leak. Don't define HAVE_ALLOCA in this case. ALLOCA_H= fi else ALLOCA_H=alloca.h fi AC_SUBST([ALLOCA_H]) AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"]) if test $ac_cv_working_alloca_h = yes; then HAVE_ALLOCA_H=1 else HAVE_ALLOCA_H=0 fi AC_SUBST([HAVE_ALLOCA_H]) ]) # Prerequisites of lib/alloca.c. # STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. AC_DEFUN([gl_PREREQ_ALLOCA], [:]) # This works around a bug in autoconf <= 2.68. # See . m4_version_prereq([2.69], [] ,[ # This is taken from the following Autoconf patch: # https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=6cd9f12520b0d6f76d3230d7565feba1ecf29497 # _AC_LIBOBJ_ALLOCA # ----------------- # Set up the LIBOBJ replacement of 'alloca'. Well, not exactly # AC_LIBOBJ since we actually set the output variable 'ALLOCA'. # Nevertheless, for Automake, AC_LIBSOURCES it. m4_define([_AC_LIBOBJ_ALLOCA], [# The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. AC_LIBSOURCES(alloca.c) AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])dnl AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using 'alloca.c'.]) AC_CACHE_CHECK(whether 'alloca.c' needs Cray hooks, ac_cv_os_cray, [AC_EGREP_CPP(webecray, [#if defined CRAY && ! defined CRAY2 webecray #else wenotbecray #endif ], ac_cv_os_cray=yes, ac_cv_os_cray=no)]) if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do AC_CHECK_FUNC($ac_func, [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func, [Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP systems. This function is required for 'alloca.c' support on those systems.]) break]) done fi AC_CACHE_CHECK([stack direction for C alloca], [ac_cv_c_stack_direction], [AC_RUN_IFELSE([AC_LANG_SOURCE( [AC_INCLUDES_DEFAULT int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; }])], [ac_cv_c_stack_direction=1], [ac_cv_c_stack_direction=-1], [ac_cv_c_stack_direction=0])]) AH_VERBATIM([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ @%:@undef STACK_DIRECTION])dnl AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction) ])# _AC_LIBOBJ_ALLOCA ]) gsasl-1.8.1/lib/m4/stdint_h.m40000644000000000000000000000174313516267371012705 00000000000000# stdint_h.m4 serial 9 dnl Copyright (C) 1997-2004, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. # Define HAVE_STDINT_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_STDINT_H], [ AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[uintmax_t i = (uintmax_t) -1; return !i;]])], [gl_cv_header_stdint_h=yes], [gl_cv_header_stdint_h=no])]) if test $gl_cv_header_stdint_h = yes; then AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) gsasl-1.8.1/lib/m4/lseek.m40000644000000000000000000000436113516267371012173 00000000000000# lseek.m4 serial 10 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_LSEEK], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_CC]) AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe], [case "$host_os" in mingw*) dnl Native Windows. dnl The result of lseek (fd, (off_t)0, SEEK_CUR) or dnl SetFilePointer(handle, 0, NULL, FILE_CURRENT) dnl for a pipe depends on the environment: In a Cygwin 1.5 dnl environment it succeeds (wrong); in a Cygwin 1.7 environment dnl it fails with a wrong errno value. gl_cv_func_lseek_pipe=no ;; *) if test $cross_compiling = no; then AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include /* for off_t */ #include /* for SEEK_CUR */ #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif ]], [[ /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ]])], [if test -s conftest$ac_exeext \ && ./conftest$ac_exeext < conftest.$ac_ext \ && test 1 = "`echo hi \ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi ], [gl_cv_func_lseek_pipe=no]) else AC_COMPILE_IFELSE( [AC_LANG_SOURCE([[ #if defined __BEOS__ /* BeOS mistakenly return 0 when trying to seek on pipes. */ Choke me. #endif]])], [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no]) fi ;; esac ]) if test $gl_cv_func_lseek_pipe = no; then REPLACE_LSEEK=1 AC_DEFINE([LSEEK_PIPE_BROKEN], [1], [Define to 1 if lseek does not detect pipes.]) fi AC_REQUIRE([gl_SYS_TYPES_H]) if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_LSEEK=1 fi ]) gsasl-1.8.1/lib/m4/gc.m40000644000000000000000000000167413516267371011465 00000000000000# gc.m4 serial 10 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GC], [ AC_SUBST([LIB_CRYPTO]) AC_ARG_WITH([libgcrypt], AS_HELP_STRING([--with-libgcrypt], [use libgcrypt for low-level crypto]), libgcrypt=$withval, libgcrypt=yes) if test "$libgcrypt" != no; then # gc-libgcrypt.c will fail on startup if we don't have # version 1.4.4 or later, so test for it early. */ gl_good_gcrypt=no m4_ifdef([AM_PATH_LIBGCRYPT], [AM_PATH_LIBGCRYPT([1.4.4], [gl_good_gcrypt=yes], [AC_MSG_ERROR([libgcrypt is too old])])]) if test "x$gl_good_gcrypt" != xno; then AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [#include ]) else AC_MSG_ERROR([libgcrypt not found]) fi fi ]) gsasl-1.8.1/lib/m4/sha1.m40000644000000000000000000000070213516267371011717 00000000000000# sha1.m4 serial 12 dnl Copyright (C) 2002-2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SHA1], [ dnl Prerequisites of lib/sha1.c. AC_REQUIRE([gl_BIGENDIAN]) dnl Determine HAVE_OPENSSL_SHA1 and LIB_CRYPTO gl_CRYPTO_CHECK([SHA1]) ]) gsasl-1.8.1/lib/m4/builtin-expect.m40000644000000000000000000000302313516267371014016 00000000000000dnl Check for __builtin_expect. dnl Copyright 2016-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. AC_DEFUN([gl___BUILTIN_EXPECT], [ AC_CACHE_CHECK([for __builtin_expect], [gl_cv___builtin_expect], [AC_LINK_IFELSE( [AC_LANG_SOURCE([[ int main (int argc, char **argv) { argc = __builtin_expect (argc, 100); return argv[argc != 100][0]; }]])], [gl_cv___builtin_expect=yes], [AC_LINK_IFELSE( [AC_LANG_SOURCE([[ #include int main (int argc, char **argv) { argc = __builtin_expect (argc, 100); return argv[argc != 100][0]; }]])], [gl_cv___builtin_expect="in "], [gl_cv___builtin_expect=no])])]) if test "$gl_cv___builtin_expect" = yes; then AC_DEFINE([HAVE___BUILTIN_EXPECT], [1]) elif test "$gl_cv___builtin_expect" = "in "; then AC_DEFINE([HAVE___BUILTIN_EXPECT], [2]) fi AH_VERBATIM([HAVE___BUILTIN_EXPECT], [/* Define to 1 if the compiler supports __builtin_expect, and to 2 if does. */ #undef HAVE___BUILTIN_EXPECT #ifndef HAVE___BUILTIN_EXPECT # define __builtin_expect(e, c) (e) #elif HAVE___BUILTIN_EXPECT == 2 # include #endif ]) ]) gsasl-1.8.1/lib/m4/getcwd.m40000644000000000000000000001213013516267371012336 00000000000000# getcwd.m4 - check for working getcwd that is compatible with glibc # Copyright (C) 2001, 2003-2007, 2009-2019 Free Software Foundation, Inc. # 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. # Written by Paul Eggert. # serial 17 AC_DEFUN([gl_FUNC_GETCWD_NULL], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], [gl_cv_func_getcwd_null], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ # include # if HAVE_UNISTD_H # include # else /* on Windows with MSVC */ # include # endif # ifndef getcwd char *getcwd (); # endif ]], [[ #if defined _WIN32 && ! defined __CYGWIN__ /* mingw cwd does not start with '/', but getcwd does allocate. However, mingw fails to honor non-zero size. */ #else if (chdir ("/") != 0) return 1; else { char *f = getcwd (NULL, 0); if (! f) return 2; if (f[0] != '/') { free (f); return 3; } if (f[1] != '\0') { free (f); return 4; } free (f); return 0; } #endif ]])], [gl_cv_func_getcwd_null=yes], [gl_cv_func_getcwd_null=no], [[case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_getcwd_null="guessing yes";; # Guess yes on Cygwin. cygwin*) gl_cv_func_getcwd_null="guessing yes";; # If we don't know, assume the worst. *) gl_cv_func_getcwd_null="guessing no";; esac ]])]) ]) AC_DEFUN([gl_FUNC_GETCWD_SIGNATURE], [ AC_CACHE_CHECK([for getcwd with POSIX signature], [gl_cv_func_getcwd_posix_signature], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[extern #ifdef __cplusplus "C" #endif char *getcwd (char *, size_t); ]]) ], [gl_cv_func_getcwd_posix_signature=yes], [gl_cv_func_getcwd_posix_signature=no]) ]) ]) dnl Guarantee that getcwd will malloc with a NULL first argument. Assumes dnl that either the system getcwd is robust, or that calling code is okay dnl with spurious failures when run from a directory with an absolute name dnl larger than 4k bytes. dnl dnl Assumes that getcwd exists; if you are worried about obsolete dnl platforms that lacked getcwd(), then you need to use the GPL module. AC_DEFUN([gl_FUNC_GETCWD_LGPL], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETCWD_NULL]) AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE]) case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in *yes,yes) ;; *) dnl Minimal replacement lib/getcwd-lgpl.c. REPLACE_GETCWD=1 ;; esac ]) dnl Check for all known getcwd bugs; useful for a program likely to be dnl executed from an arbitrary location. AC_DEFUN([gl_FUNC_GETCWD], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_GETCWD_NULL]) AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles gl_abort_bug=no case "$host_os" in mingw*) gl_cv_func_getcwd_path_max=yes ;; *) gl_FUNC_GETCWD_PATH_MAX case "$gl_cv_func_getcwd_null" in *yes) gl_FUNC_GETCWD_ABORT_BUG([gl_abort_bug=yes]) ;; esac ;; esac dnl Define HAVE_MINIMALLY_WORKING_GETCWD and HAVE_PARTLY_WORKING_GETCWD dnl if appropriate. case "$gl_cv_func_getcwd_path_max" in "no"|"no, it has the AIX bug") ;; *) AC_DEFINE([HAVE_MINIMALLY_WORKING_GETCWD], [1], [Define to 1 if getcwd minimally works, that is, its result can be trusted when it succeeds.]) ;; esac case "$gl_cv_func_getcwd_path_max" in "no, but it is partly working") AC_DEFINE([HAVE_PARTLY_WORKING_GETCWD], [1], [Define to 1 if getcwd works, except it sometimes fails when it shouldn't, setting errno to ERANGE, ENAMETOOLONG, or ENOENT.]) ;; "yes, but with shorter paths") AC_DEFINE([HAVE_GETCWD_SHORTER], [1], [Define to 1 if getcwd works, but with shorter paths than is generally tested with the replacement.]) ;; esac if { case "$gl_cv_func_getcwd_null" in *yes) false;; *) true;; esac; } \ || test $gl_cv_func_getcwd_posix_signature != yes \ || { case "$gl_cv_func_getcwd_path_max" in *yes*) false;; *) true;; esac; } \ || test $gl_abort_bug = yes; then REPLACE_GETCWD=1 fi ]) # Prerequisites of lib/getcwd.c, when full replacement is in effect. AC_DEFUN([gl_PREREQ_GETCWD], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO]) : ]) gsasl-1.8.1/lib/m4/wint_t.m40000644000000000000000000000444313516267371012375 00000000000000# wint_t.m4 serial 7 dnl Copyright (C) 2003, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Test whether has the 'wint_t' type and whether gnulib's dnl or would, if present, override 'wint_t'. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WINT_T], [ AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include wint_t foo = (wchar_t)'\0';]], [[]])], [gt_cv_c_wint_t=yes], [gt_cv_c_wint_t=no])]) if test $gt_cv_c_wint_t = yes; then AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.]) dnl Determine whether gnulib's or would, if present, dnl override 'wint_t'. AC_CACHE_CHECK([whether wint_t is too small], [gl_cv_type_wint_t_too_small], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include #endif #include int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; ]])], [gl_cv_type_wint_t_too_small=no], [gl_cv_type_wint_t_too_small=yes])]) if test $gl_cv_type_wint_t_too_small = yes; then GNULIB_OVERRIDES_WINT_T=1 else GNULIB_OVERRIDES_WINT_T=0 fi else GNULIB_OVERRIDES_WINT_T=0 fi AC_SUBST([GNULIB_OVERRIDES_WINT_T]) ]) dnl Prerequisites of the 'wint_t' override. AC_DEFUN([gl_TYPE_WINT_T_PREREQ], [ AC_CHECK_HEADERS_ONCE([crtdefs.h]) if test $ac_cv_header_crtdefs_h = yes; then HAVE_CRTDEFS_H=1 else HAVE_CRTDEFS_H=0 fi AC_SUBST([HAVE_CRTDEFS_H]) ]) gsasl-1.8.1/lib/m4/fcntl_h.m40000644000000000000000000000327113516267371012504 00000000000000# serial 15 # Configure fcntl.h. dnl Copyright (C) 2006-2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. AC_DEFUN([gl_FCNTL_H], [ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_REQUIRE([gl_FCNTL_O_FLAGS]) gl_NEXT_HEADERS([fcntl.h]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [fcntl openat]) ]) AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_FCNTL_H_DEFAULTS], [ GNULIB_FCNTL=0; AC_SUBST([GNULIB_FCNTL]) GNULIB_NONBLOCKING=0; AC_SUBST([GNULIB_NONBLOCKING]) GNULIB_OPEN=0; AC_SUBST([GNULIB_OPEN]) GNULIB_OPENAT=0; AC_SUBST([GNULIB_OPENAT]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT]) ]) gsasl-1.8.1/lib/m4/ioctl.m40000644000000000000000000000305013516267371012174 00000000000000# ioctl.m4 serial 5 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_IOCTL], [ AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) HAVE_IOCTL=1 if test "$ac_cv_header_winsock2_h" = yes; then dnl Even if the 'socket' module is not used here, another part of the dnl application may use it and pass file descriptors that refer to dnl sockets to the ioctl() function. So enable the support for sockets. HAVE_IOCTL=0 else AC_CHECK_FUNCS([ioctl]) dnl On glibc systems, the second parameter is 'unsigned long int request', dnl not 'int request'. We cannot simply cast the function pointer, but dnl instead need a wrapper. AC_CACHE_CHECK([for ioctl with POSIX signature], [gl_cv_func_ioctl_posix_signature], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include /* On some platforms, ioctl() is declared in . */ #include ]], [[extern #ifdef __cplusplus "C" #endif int ioctl (int, int, ...); ]]) ], [gl_cv_func_ioctl_posix_signature=yes], [gl_cv_func_ioctl_posix_signature=no]) ]) if test $gl_cv_func_ioctl_posix_signature != yes; then REPLACE_IOCTL=1 fi fi ]) gsasl-1.8.1/lib/m4/malloc.m40000644000000000000000000000651213516267371012337 00000000000000# malloc.m4 serial 19 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. m4_version_prereq([2.70], [] ,[ # This is adapted with modifications from upstream Autoconf here: # https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=04be2b7a29d65d9a08e64e8e56e594c91749598c AC_DEFUN([_AC_FUNC_MALLOC_IF], [ AC_REQUIRE([AC_HEADER_STDC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles AC_CHECK_HEADERS([stdlib.h]) AC_CACHE_CHECK([for GNU libc compatible malloc], [ac_cv_func_malloc_0_nonnull], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif ]], [[char *p = malloc (0); int result = !p; free (p); return result;]]) ], [ac_cv_func_malloc_0_nonnull=yes], [ac_cv_func_malloc_0_nonnull=no], [case "$host_os" in # Guess yes on platforms where we know the result. *-gnu* | gnu* | *-musl* | freebsd* | netbsd* | openbsd* \ | hpux* | solaris* | cygwin* | mingw*) ac_cv_func_malloc_0_nonnull="guessing yes" ;; # If we don't know, assume the worst. *) ac_cv_func_malloc_0_nonnull="guessing no" ;; esac ]) ]) case "$ac_cv_func_malloc_0_nonnull" in *yes) $1 ;; *) $2 ;; esac ])# _AC_FUNC_MALLOC_IF ]) # gl_FUNC_MALLOC_GNU # ------------------ # Test whether 'malloc (0)' is handled like in GNU libc, and replace malloc if # it is not. AC_DEFUN([gl_FUNC_MALLOC_GNU], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) dnl _AC_FUNC_MALLOC_IF is defined in Autoconf. _AC_FUNC_MALLOC_IF( [AC_DEFINE([HAVE_MALLOC_GNU], [1], [Define to 1 if your system has a GNU libc compatible 'malloc' function, and to 0 otherwise.])], [AC_DEFINE([HAVE_MALLOC_GNU], [0]) REPLACE_MALLOC=1 ]) ]) # gl_FUNC_MALLOC_POSIX # -------------------- # Test whether 'malloc' is POSIX compliant (sets errno to ENOMEM when it # fails), and replace malloc if it is not. AC_DEFUN([gl_FUNC_MALLOC_POSIX], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) if test $gl_cv_func_malloc_posix = yes; then AC_DEFINE([HAVE_MALLOC_POSIX], [1], [Define if the 'malloc' function is POSIX compliant.]) else REPLACE_MALLOC=1 fi ]) # Test whether malloc, realloc, calloc are POSIX compliant, # Set gl_cv_func_malloc_posix to yes or no accordingly. AC_DEFUN([gl_CHECK_MALLOC_POSIX], [ AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant], [gl_cv_func_malloc_posix], [ dnl It is too dangerous to try to allocate a large amount of memory: dnl some systems go to their knees when you do that. So assume that dnl all Unix implementations of the function are POSIX compliant. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[]], [[#if defined _WIN32 && ! defined __CYGWIN__ choke me #endif ]])], [gl_cv_func_malloc_posix=yes], [gl_cv_func_malloc_posix=no]) ]) ]) gsasl-1.8.1/lib/m4/ltoptions.m40000644000000000000000000003426213521017102013103 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])]) gsasl-1.8.1/lib/m4/extensions.m40000644000000000000000000001572713516267371013277 00000000000000# serial 18 -*- Autoconf -*- # Enable extensions on systems that normally disable them. # Copyright (C) 2003, 2006-2019 Free Software Foundation, Inc. # 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. # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git # Autoconf. Perhaps we can remove this once we can assume Autoconf # 2.70 or later everywhere, but since Autoconf mutates rapidly # enough in this area it's likely we'll need to redefine # AC_USE_SYSTEM_EXTENSIONS for quite some time. # If autoconf reports a warning # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS # the fix is # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked # but always AC_REQUIREd, # 2) to ensure that for each occurrence of # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) # or # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # the corresponding gnulib module description has 'extensions' among # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS # invocation occurs in gl_EARLY, not in gl_INIT. # AC_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them, # typically due to standards-conformance issues. # # Remember that #undef in AH_VERBATIM gets replaced with #define by # AC_DEFINE. The goal here is to define all known feature-enabling # macros, then, if reports of conflicts are made, disable macros that # cause problems on some platforms (such as __EXTENSIONS__). AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl AC_BEFORE([$0], [AC_RUN_IFELSE])dnl AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) if test "$MINIX" = yes; then AC_DEFINE([_POSIX_SOURCE], [1], [Define to 1 if you need to in order for 'stat' and other things to work.]) AC_DEFINE([_POSIX_1_SOURCE], [2], [Define to 2 if the system does not provide POSIX.1 features except with this defined.]) AC_DEFINE([_MINIX], [1], [Define to 1 if on MINIX.]) AC_DEFINE([_NETBSD_SOURCE], [1], [Define to 1 to make NetBSD features available. MINIX 3 needs this.]) fi dnl Use a different key than __EXTENSIONS__, as that name broke existing dnl configure.ac when using autoheader 2.62. AH_VERBATIM([USE_SYSTEM_EXTENSIONS], [/* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable NetBSD extensions on NetBSD. */ #ifndef _NETBSD_SOURCE # undef _NETBSD_SOURCE #endif /* Enable OpenBSD extensions on NetBSD. */ #ifndef _OPENBSD_SOURCE # undef _OPENBSD_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ # undef __STDC_WANT_IEC_60559_BFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ #ifndef __STDC_WANT_LIB_EXT2__ # undef __STDC_WANT_LIB_EXT2__ #endif /* Enable extensions specified by ISO/IEC 24747:2009. */ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ # undef __STDC_WANT_MATH_SPEC_FUNCS__ #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable X/Open extensions if necessary. HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of whether compiling with -Ae or -D_HPUX_SOURCE=1. */ #ifndef _XOPEN_SOURCE # undef _XOPEN_SOURCE #endif /* Enable X/Open compliant socket functions that do not require linking with -lxnet on HP-UX 11.11. */ #ifndef _HPUX_ALT_XOPEN_SOCKET_API # undef _HPUX_ALT_XOPEN_SOCKET_API #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif ]) AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], [ac_cv_safe_to_define___extensions__], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ # define __EXTENSIONS__ 1 ]AC_INCLUDES_DEFAULT])], [ac_cv_safe_to_define___extensions__=yes], [ac_cv_safe_to_define___extensions__=no])]) test $ac_cv_safe_to_define___extensions__ = yes && AC_DEFINE([__EXTENSIONS__]) AC_DEFINE([_ALL_SOURCE]) AC_DEFINE([_DARWIN_C_SOURCE]) AC_DEFINE([_GNU_SOURCE]) AC_DEFINE([_NETBSD_SOURCE]) AC_DEFINE([_OPENBSD_SOURCE]) AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) AC_DEFINE([__STDC_WANT_IEC_60559_ATTRIBS_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_BFP_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_DFP_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_FUNCS_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_TYPES_EXT__]) AC_DEFINE([__STDC_WANT_LIB_EXT2__]) AC_DEFINE([__STDC_WANT_MATH_SPEC_FUNCS__]) AC_DEFINE([_TANDEM_SOURCE]) AC_CACHE_CHECK([whether _XOPEN_SOURCE should be defined], [ac_cv_should_define__xopen_source], [ac_cv_should_define__xopen_source=no AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include mbstate_t x;]])], [], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #define _XOPEN_SOURCE 500 #include mbstate_t x;]])], [ac_cv_should_define__xopen_source=yes])])]) test $ac_cv_should_define__xopen_source = yes && AC_DEFINE([_XOPEN_SOURCE], [500]) AC_DEFINE([_HPUX_ALT_XOPEN_SOCKET_API]) ])# AC_USE_SYSTEM_EXTENSIONS # gl_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them, # typically due to standards-conformance issues. AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [ dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. dnl gnulib does not need it. But if it gets required by third-party macros dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. AC_REQUIRE([AC_GNU_SOURCE]) AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ]) gsasl-1.8.1/lib/m4/putenv.m40000644000000000000000000000364113516267371012411 00000000000000# putenv.m4 serial 23 dnl Copyright (C) 2002-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Jim Meyering. dnl dnl Check whether putenv ("FOO") removes FOO from the environment. dnl The putenv in libc on at least SunOS 4.1.4 does *not* do that. AC_DEFUN([gl_FUNC_PUTENV], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([for putenv compatible with GNU and SVID], [gl_cv_func_svid_putenv], [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[[ /* Put it in env. */ if (putenv ("CONFTEST_putenv=val")) return 1; /* Try to remove it. */ if (putenv ("CONFTEST_putenv")) return 2; /* Make sure it was deleted. */ if (getenv ("CONFTEST_putenv") != 0) return 3; return 0; ]])], gl_cv_func_svid_putenv=yes, gl_cv_func_svid_putenv=no, dnl When crosscompiling, assume putenv is broken. [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_svid_putenv="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_svid_putenv="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_svid_putenv="guessing no" ;; esac ]) ]) case "$gl_cv_func_svid_putenv" in *yes) ;; *) REPLACE_PUTENV=1 ;; esac ]) # Prerequisites of lib/putenv.c. AC_DEFUN([gl_PREREQ_PUTENV], [ AC_CHECK_DECLS([_putenv]) ]) gsasl-1.8.1/lib/m4/fseek.m40000644000000000000000000000100513516267371012155 00000000000000# fseek.m4 serial 4 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FSEEK], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_FSEEKO]) dnl When fseeko needs fixes, fseek needs them too. if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then REPLACE_FSEEK=1 fi ]) gsasl-1.8.1/lib/m4/gc-md5.m40000644000000000000000000000061213516267371012137 00000000000000# gc-md5.m4 serial 2 dnl Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GC_MD5], [ AC_REQUIRE([gl_GC]) if test "$ac_cv_libgcrypt" != yes; then gl_MD5 fi ]) gsasl-1.8.1/lib/m4/af_alg.m40000644000000000000000000000371113516267371012277 00000000000000# af_alg.m4 serial 4 dnl Copyright 2018-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Matteo Croce. AC_DEFUN_ONCE([gl_AF_ALG], [ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_REQUIRE([AC_C_INLINE]) dnl Check whether linux/if_alg.h has needed features. AC_CACHE_CHECK([whether linux/if_alg.h has struct sockaddr_alg.], [gl_cv_header_linux_if_alg_salg], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include #include struct sockaddr_alg salg = { .salg_family = AF_ALG, .salg_type = "hash", .salg_name = "sha1", };]])], [gl_cv_header_linux_if_alg_salg=yes], [gl_cv_header_linux_if_alg_salg=no])]) if test "$gl_cv_header_linux_if_alg_salg" = yes; then AC_DEFINE([HAVE_LINUX_IF_ALG_H], [1], [Define to 1 if you have 'struct sockaddr_alg' defined.]) fi dnl The default is to not use AF_ALG if available, dnl as it's system dependent as to whether the kernel dnl routines are faster than libcrypto for example. use_af_alg=no AC_ARG_WITH([linux-crypto], [AS_HELP_STRING([[--with-linux-crypto]], [use Linux kernel cryptographic API (if available)])], [use_af_alg=$withval], [use_af_alg=no]) dnl We cannot use it if it is not available. if test "$gl_cv_header_linux_if_alg_salg" != yes; then if test "$use_af_alg" != no; then AC_MSG_WARN([Linux kernel cryptographic API not found]) fi use_af_alg=no fi if test "$use_af_alg" != no; then USE_AF_ALG=1 else USE_AF_ALG=0 fi AC_DEFINE_UNQUOTED([USE_LINUX_CRYPTO_API], [$USE_AF_ALG], [Define to 1 if you want to use the Linux kernel cryptographic API.]) ]) gsasl-1.8.1/lib/m4/gettext.m40000644000000000000000000003561513516321014012543 00000000000000# gettext.m4 serial 66 (gettext-0.18.2) dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2006, 2008-2010. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value '$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH([included-gettext], [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ]])], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ]])], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ]])], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE([ENABLE_NLS], [1], [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE([HAVE_GETTEXT], [1], [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE([HAVE_DCGETTEXT], [1], [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST([BUILD_INCLUDED_LIBINTL]) AC_SUBST([USE_INCLUDED_LIBINTL]) AC_SUBST([CATOBJEXT]) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST([DATADIRNAME]) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST([INSTOBJEXT]) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST([GENCAT]) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST([INTLOBJS]) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST([INTLLIBS]) dnl Make all documented variables known to autoconf. AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) AC_SUBST([POSUB]) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) gsasl-1.8.1/lib/m4/lock.m40000644000000000000000000000303713516267371012017 00000000000000# lock.m4 serial 14 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([gl_LOCK], [ AC_REQUIRE([gl_THREADLIB]) if test "$gl_threads_api" = posix; then # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. has_rwlock=false AC_CHECK_TYPE([pthread_rwlock_t], [has_rwlock=true AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1], [Define if the POSIX multithreading library has read/write locks.])], [], [#include ]) if $has_rwlock; then gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. AC_COMPILE_IFELSE([ AC_LANG_PROGRAM( [[#include ]], [[ #if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) error "No, in Mac OS X < 10.7 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif ]])], [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1], [Define if the defines PTHREAD_MUTEX_RECURSIVE.])]) fi gl_PREREQ_LOCK ]) # Prerequisites of lib/glthread/lock.c. AC_DEFUN([gl_PREREQ_LOCK], [:]) gsasl-1.8.1/lib/m4/gss-extra.m40000644000000000000000000000230413516267371013000 00000000000000# gss-extra.m4 serial 1 dnl Copyright (C) 2010 Simon Josefsson dnl dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([sj_GSS_EXTRA], [ # Test for GSS-API library features. # XXX this assumes GNU SASL specific configure.ac ordering and variables. if test "$gssapi_impl" != "no"; then save_CPPFLAGS="$CPPFLAGS" save_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $GSS_CFLAGS" LIBS="$LIBS $LIBGSS $GSS_LIBS" AC_CHECK_FUNCS([gss_encapsulate_token]) AC_CHECK_FUNCS([gss_decapsulate_token]) AC_CHECK_FUNCS([gss_oid_equal]) AC_CHECK_FUNCS([gss_inquire_mech_for_saslname]) AC_CHECK_FUNCS([GSS_C_NT_HOSTBASED_SERVICE]) if test "$gssapi_impl" != "gss"; then AC_CHECK_HEADERS([gssapi.h gssapi/gssapi.h]) if test "$ac_cv_header_gssapi_h$ac_cv_header_gssapi_gssapi_h" = "nono"; then gssapi_impl=no AC_MSG_WARN([Cannot find gssapi.h or gssapi/gssapi.h, disabling GSSAPI]) fi fi CPPFLAGS="$save_CPPFLAGS" LIBS="$save_LIBS" fi if test "$gssapi_impl" != "no"; then AC_LIBOBJ([gss-extra]) fi ]) gsasl-1.8.1/lib/m4/lib-ld.m40000644000000000000000000001237213516267371012234 00000000000000# lib-ld.m4 serial 9 dnl Copyright (C) 1996-2003, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid dnl collision with libtool.m4. dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 /dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then AC_MSG_CHECKING([for ld]) elif test "$GCC" = yes; then AC_MSG_CHECKING([for ld used by $CC]) elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi if test -n "$LD"; then # Let the user override the test with a path. : else AC_CACHE_VAL([acl_cv_path_LD], [ acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 to declare environ. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([unistd.h]) gt_CHECK_VAR_DECL( [#if HAVE_UNISTD_H #include #endif /* mingw, BeOS, Haiku declare environ in , not in . */ #include ], [environ]) if test $gt_cv_var_environ_declaration != yes; then HAVE_DECL_ENVIRON=0 fi ]) # Check if a variable is properly declared. # gt_CHECK_VAR_DECL(includes,variable) AC_DEFUN([gt_CHECK_VAR_DECL], [ define([gt_cv_var], [gt_cv_var_]$2[_declaration]) AC_CACHE_CHECK([if $2 is properly declared], [gt_cv_var], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[$1 extern struct { int foo; } $2;]], [[$2.foo = 1;]])], [gt_cv_var=no], [gt_cv_var=yes])]) if test $gt_cv_var = yes; then AC_DEFINE([HAVE_]m4_translit($2, [a-z], [A-Z])[_DECL], 1, [Define if you have the declaration of $2.]) fi undefine([gt_cv_var]) ]) gsasl-1.8.1/lib/m4/nanosleep.m40000644000000000000000000001200613516267371013047 00000000000000# serial 38 dnl From Jim Meyering. dnl Check for the nanosleep function. dnl If not found, use the supplied replacement. dnl # Copyright (C) 1999-2001, 2003-2019 Free Software Foundation, Inc. # 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. AC_DEFUN([gl_FUNC_NANOSLEEP], [ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc and Solaris to declare nanosleep. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_REQUIRE([gl_FUNC_SELECT]) AC_CHECK_DECLS_ONCE([alarm]) nanosleep_save_libs=$LIBS # Solaris 2.5.1 needs -lposix4 to get the nanosleep function. # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4. LIB_NANOSLEEP= AC_SUBST([LIB_NANOSLEEP]) AC_SEARCH_LIBS([nanosleep], [rt posix4], [test "$ac_cv_search_nanosleep" = "none required" || LIB_NANOSLEEP=$ac_cv_search_nanosleep]) if test "x$ac_cv_search_nanosleep" != xno; then dnl The system has a nanosleep function. AC_REQUIRE([gl_MULTIARCH]) if test $APPLE_UNIVERSAL_BUILD = 1; then # A universal build on Apple Mac OS X platforms. # The test result would be 'no (mishandles large arguments)' in 64-bit # mode but 'yes' in 32-bit mode. But we need a configuration result that # is valid in both modes. gl_cv_func_nanosleep='no (mishandles large arguments)' fi AC_CACHE_CHECK([for working nanosleep], [gl_cv_func_nanosleep], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #if HAVE_SYS_TIME_H #include #endif #include #include #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) #if HAVE_DECL_ALARM static void check_for_SIGALRM (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main () { static struct timespec ts_sleep; static struct timespec ts_remaining; /* Test for major problems first. */ if (! nanosleep) return 2; ts_sleep.tv_sec = 0; ts_sleep.tv_nsec = 1; #if HAVE_DECL_ALARM { static struct sigaction act; act.sa_handler = check_for_SIGALRM; sigemptyset (&act.sa_mask); sigaction (SIGALRM, &act, NULL); alarm (1); if (nanosleep (&ts_sleep, NULL) != 0) return 3; /* Test for a minor problem: the handling of large arguments. */ ts_sleep.tv_sec = TYPE_MAXIMUM (time_t); ts_sleep.tv_nsec = 999999999; alarm (1); if (nanosleep (&ts_sleep, &ts_remaining) != -1) return 4; if (errno != EINTR) return 5; if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10) return 6; } #else /* A simpler test for native Windows. */ if (nanosleep (&ts_sleep, &ts_remaining) < 0) return 3; #endif return 0; }]])], [gl_cv_func_nanosleep=yes], [case $? in dnl ( 4|5|6) gl_cv_func_nanosleep='no (mishandles large arguments)';; dnl ( *) gl_cv_func_nanosleep=no;; esac], [case "$host_os" in dnl (( linux*) # Guess it halfway works when the kernel is Linux. gl_cv_func_nanosleep='guessing no (mishandles large arguments)' ;; mingw*) # Guess no on native Windows. gl_cv_func_nanosleep='guessing no' ;; *) # If we don't know, assume the worst. gl_cv_func_nanosleep='guessing no' ;; esac ]) ]) case "$gl_cv_func_nanosleep" in *yes) REPLACE_NANOSLEEP=0 ;; *) REPLACE_NANOSLEEP=1 case "$gl_cv_func_nanosleep" in *"mishandles large arguments"*) AC_DEFINE([HAVE_BUG_BIG_NANOSLEEP], [1], [Define to 1 if nanosleep mishandles large arguments.]) ;; *) # The replacement uses select(). Add $LIBSOCKET to $LIB_NANOSLEEP. for ac_lib in $LIBSOCKET; do case " $LIB_NANOSLEEP " in *" $ac_lib "*) ;; *) LIB_NANOSLEEP="$LIB_NANOSLEEP $ac_lib";; esac done ;; esac ;; esac else HAVE_NANOSLEEP=0 fi LIBS=$nanosleep_save_libs ]) # Prerequisites of lib/nanosleep.c. AC_DEFUN([gl_PREREQ_NANOSLEEP], [ AC_CHECK_HEADERS_ONCE([sys/select.h]) gl_PREREQ_SIG_HANDLER_H ]) gsasl-1.8.1/lib/m4/nls.m40000644000000000000000000000231513516321014011642 00000000000000# nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) gsasl-1.8.1/lib/m4/gc-random.m40000644000000000000000000000646413516267371012745 00000000000000# gc-random.m4 serial 6 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GC_RANDOM], [ # Devices with randomness. # FIXME: Are these the best defaults? AC_REQUIRE([AC_CANONICAL_HOST])dnl case "$host_os" in *openbsd* | *mirbsd*) NAME_OF_RANDOM_DEVICE="/dev/srandom" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/prandom" NAME_OF_NONCE_DEVICE="/dev/urandom" ;; *netbsd*) NAME_OF_RANDOM_DEVICE="/dev/srandom" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/urandom" NAME_OF_NONCE_DEVICE="/dev/urandom" ;; *solaris* | *irix* | *dec-osf* ) NAME_OF_RANDOM_DEVICE="/dev/random" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/random" NAME_OF_NONCE_DEVICE="/dev/random" ;; *) NAME_OF_RANDOM_DEVICE="/dev/random" NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/urandom" NAME_OF_NONCE_DEVICE="/dev/urandom" ;; esac AC_MSG_CHECKING([device with (strong) random data...]) AC_ARG_ENABLE([random-device], AS_HELP_STRING([--enable-random-device], [device with (strong) randomness (for Nettle)]), NAME_OF_RANDOM_DEVICE=$enableval) AC_MSG_RESULT([$NAME_OF_RANDOM_DEVICE]) AC_MSG_CHECKING([device with pseudo random data...]) AC_ARG_ENABLE([pseudo-random-device], AS_HELP_STRING([--enable-pseudo-random-device], [device with pseudo randomness (for Nettle)]), NAME_OF_PSEUDO_RANDOM_DEVICE=$enableval) AC_MSG_RESULT([$NAME_OF_PSEUDO_RANDOM_DEVICE]) AC_MSG_CHECKING([device with unpredictable data for nonces...]) AC_ARG_ENABLE([nonce-device], AS_HELP_STRING([--enable-nonce-device], [device with unpredictable nonces (for Nettle)]), NAME_OF_NONCE_DEVICE=$enableval) AC_MSG_RESULT([$NAME_OF_NONCE_DEVICE]) if test "$cross_compiling" != yes; then if test "$NAME_OF_RANDOM_DEVICE" != "no"; then AC_CHECK_FILE([$NAME_OF_RANDOM_DEVICE],, AC_MSG_WARN([[Device '$NAME_OF_RANDOM_DEVICE' does not exist, consider to use --enable-random-device]])) fi if test "$NAME_OF_PSEUDO_RANDOM_DEVICE" != "no"; then AC_CHECK_FILE([$NAME_OF_PSEUDO_RANDOM_DEVICE],, AC_MSG_WARN([[Device '$NAME_OF_PSEUDO_RANDOM_DEVICE' does not exist, consider to use --enable-pseudo-random-device]])) fi if test "$NAME_OF_NONCE_DEVICE" != "no"; then AC_CHECK_FILE([$NAME_OF_NONCE_DEVICE],, AC_MSG_WARN([[Device '$NAME_OF_NONCE_DEVICE' does not exist, consider to use --enable-nonce-device]])) fi else AC_MSG_NOTICE([[Cross compiling, assuming random devices exists on the target host...]]) fi # FIXME?: Open+read 42 bytes+close twice and compare data. Should differ. AC_DEFINE_UNQUOTED([NAME_OF_RANDOM_DEVICE], ["$NAME_OF_RANDOM_DEVICE"], [defined to the name of the (strong) random device]) AC_DEFINE_UNQUOTED([NAME_OF_PSEUDO_RANDOM_DEVICE], "$NAME_OF_PSEUDO_RANDOM_DEVICE", [defined to the name of the pseudo random device]) AC_DEFINE_UNQUOTED([NAME_OF_NONCE_DEVICE], ["$NAME_OF_NONCE_DEVICE"], [defined to the name of the unpredictable nonce device]) ]) gsasl-1.8.1/lib/m4/string_h.m40000644000000000000000000001311113516267371012676 00000000000000# Configure a GNU-like replacement for . # Copyright (C) 2007-2019 Free Software Foundation, Inc. # 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 22 # Written by Paul Eggert. AC_DEFUN([gl_HEADER_STRING_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_HEADER_STRING_H_BODY]) ]) AC_DEFUN([gl_HEADER_STRING_H_BODY], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) gl_NEXT_HEADERS([string.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp]) ]) AC_DEFUN([gl_STRING_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [ GNULIB_EXPLICIT_BZERO=0; AC_SUBST([GNULIB_EXPLICIT_BZERO]) GNULIB_FFSL=0; AC_SUBST([GNULIB_FFSL]) GNULIB_FFSLL=0; AC_SUBST([GNULIB_FFSLL]) GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR]) GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR]) GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY]) GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY]) GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL]) GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP]) GNULIB_STRNCAT=0; AC_SUBST([GNULIB_STRNCAT]) GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP]) GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN]) GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK]) GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP]) GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR]) GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR]) GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R]) GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN]) GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN]) GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR]) GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR]) GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR]) GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP]) GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP]) GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP]) GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR]) GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN]) GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK]) GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN]) GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP]) GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R]) GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR]) GNULIB_STRERROR_R=0; AC_SUBST([GNULIB_STRERROR_R]) GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL]) GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_EXPLICIT_BZERO=1; AC_SUBST([HAVE_EXPLICIT_BZERO]) HAVE_FFSL=1; AC_SUBST([HAVE_FFSL]) HAVE_FFSLL=1; AC_SUBST([HAVE_FFSLL]) HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR]) HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR]) HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP]) HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN]) HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR]) HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) HAVE_DECL_STRERROR_R=1; AC_SUBST([HAVE_DECL_STRERROR_R]) HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL]) HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP]) REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR]) REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM]) REPLACE_STPNCPY=0; AC_SUBST([REPLACE_STPNCPY]) REPLACE_STRCHRNUL=0; AC_SUBST([REPLACE_STRCHRNUL]) REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP]) REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT]) REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP]) REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN]) REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR]) REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) REPLACE_STRTOK_R=0; AC_SUBST([REPLACE_STRTOK_R]) REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR]) REPLACE_STRERROR_R=0; AC_SUBST([REPLACE_STRERROR_R]) REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL]) UNDEFINE_STRTOK_R=0; AC_SUBST([UNDEFINE_STRTOK_R]) ]) gsasl-1.8.1/lib/m4/size_max.m40000644000000000000000000000547213516267371012713 00000000000000# size_max.m4 serial 11 dnl Copyright (C) 2003, 2005-2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.61]) AC_DEFUN([gl_SIZE_MAX], [ AC_CHECK_HEADERS([stdint.h]) dnl First test whether the system already has SIZE_MAX. AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ gl_cv_size_max= AC_EGREP_CPP([Found it], [ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif ], [gl_cv_size_max=yes]) if test -z "$gl_cv_size_max"; then dnl Define it ourselves. Here we assume that the type 'size_t' is not wider dnl than the type 'unsigned long'. Try hard to find a definition that can dnl be used in a preprocessor #if, i.e. doesn't contain a cast. AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include #include ], [size_t_bits_minus_1=]) AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include ], [fits_in_uint=]) if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then dnl Even though SIZE_MAX fits in an unsigned int, it must be of type dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include extern size_t foo; extern unsigned long foo; ]], [[]])], [fits_in_uint=0]) fi dnl We cannot use 'expr' to simplify this expression, because 'expr' dnl works only with 'long' integers in the host environment, while we dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else dnl Shouldn't happen, but who knows... gl_cv_size_max='((size_t)~(size_t)0)' fi fi ]) if test "$gl_cv_size_max" != yes; then AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], [Define as the maximum value of type 'size_t', if the system doesn't define it.]) fi dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after dnl . Remember that the #undef in AH_VERBATIM gets replaced with dnl #define by AC_DEFINE_UNQUOTED. AH_VERBATIM([SIZE_MAX], [/* Define as the maximum value of type 'size_t', if the system doesn't define it. */ #ifndef SIZE_MAX # undef SIZE_MAX #endif]) ]) gsasl-1.8.1/lib/m4/errno_h.m40000644000000000000000000000573613516267371012533 00000000000000# errno_h.m4 serial 13 dnl Copyright (C) 2004, 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.61]) AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [ AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [ AC_EGREP_CPP([booboo],[ #include #if !defined ETXTBSY booboo #endif #if !defined ENOMSG booboo #endif #if !defined EIDRM booboo #endif #if !defined ENOLINK booboo #endif #if !defined EPROTO booboo #endif #if !defined EMULTIHOP booboo #endif #if !defined EBADMSG booboo #endif #if !defined EOVERFLOW booboo #endif #if !defined ENOTSUP booboo #endif #if !defined ENETRESET booboo #endif #if !defined ECONNABORTED booboo #endif #if !defined ESTALE booboo #endif #if !defined EDQUOT booboo #endif #if !defined ECANCELED booboo #endif #if !defined EOWNERDEAD booboo #endif #if !defined ENOTRECOVERABLE booboo #endif #if !defined EILSEQ booboo #endif ], [gl_cv_header_errno_h_complete=no], [gl_cv_header_errno_h_complete=yes]) ]) if test $gl_cv_header_errno_h_complete = yes; then ERRNO_H='' else gl_NEXT_HEADERS([errno.h]) ERRNO_H='errno.h' fi AC_SUBST([ERRNO_H]) AM_CONDITIONAL([GL_GENERATE_ERRNO_H], [test -n "$ERRNO_H"]) gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) gl_REPLACE_ERRNO_VALUE([ENOLINK]) gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) ]) # Assuming $1 = EOVERFLOW. # The EOVERFLOW errno value ought to be defined in , according to # POSIX. But some systems (like OpenBSD 4.0 or AIX 3) don't define it, and # some systems (like OSF/1) define it when _XOPEN_SOURCE_EXTENDED is defined. # Check for the value of EOVERFLOW. # Set the variables EOVERFLOW_HIDDEN and EOVERFLOW_VALUE. AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [ if test -n "$ERRNO_H"; then AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ AC_EGREP_CPP([yes],[ #include #ifdef ]$1[ yes #endif ], [gl_cv_header_errno_h_]$1[=yes], [gl_cv_header_errno_h_]$1[=no]) if test $gl_cv_header_errno_h_]$1[ = no; then AC_EGREP_CPP([yes],[ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef ]$1[ yes #endif ], [gl_cv_header_errno_h_]$1[=hidden]) if test $gl_cv_header_errno_h_]$1[ = hidden; then dnl The macro exists but is hidden. dnl Define it to the same value. AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [ #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include ]) fi fi ]) case $gl_cv_header_errno_h_]$1[ in yes | no) ]$1[_HIDDEN=0; ]$1[_VALUE= ;; *) ]$1[_HIDDEN=1; ]$1[_VALUE="$gl_cv_header_errno_h_]$1[" ;; esac AC_SUBST($1[_HIDDEN]) AC_SUBST($1[_VALUE]) fi ]) gsasl-1.8.1/lib/m4/memmem.m40000644000000000000000000001136613516267371012350 00000000000000# memmem.m4 serial 25 dnl Copyright (C) 2002-2004, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Check that memmem is present and functional. AC_DEFUN([gl_FUNC_MEMMEM_SIMPLE], [ dnl Persuade glibc to declare memmem(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_CHECK_FUNCS([memmem]) if test $ac_cv_func_memmem = yes; then HAVE_MEMMEM=1 else HAVE_MEMMEM=0 fi AC_CHECK_DECLS_ONCE([memmem]) if test $ac_cv_have_decl_memmem = no; then HAVE_DECL_MEMMEM=0 else dnl Detect https://sourceware.org/bugzilla/show_bug.cgi?id=12092. dnl Also check that we handle empty needles correctly. AC_CACHE_CHECK([whether memmem works], [gl_cv_func_memmem_works_always], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include /* for memmem */ #define P "_EF_BF_BD" #define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P #define NEEDLE P P P P P ]], [[ int result = 0; if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE))) result |= 1; /* Check for empty needle behavior. */ { const char *haystack = "AAA"; if (memmem (haystack, 3, NULL, 0) != haystack) result |= 2; } return result; ]])], [gl_cv_func_memmem_works_always=yes], [gl_cv_func_memmem_works_always=no], [dnl glibc 2.9..2.12 and cygwin 1.7.7 have issue #12092 above. dnl Also empty needles work on glibc >= 2.1 and cygwin >= 1.7.0. dnl uClibc is not affected, since it uses different source code. dnl Assume that it works on all other platforms (even if not linear). AC_EGREP_CPP([Lucky user], [ #ifdef __GNU_LIBRARY__ #include #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \ || __GLIBC_MINOR__ > 12)) \ || (__GLIBC__ > 2)) \ || defined __UCLIBC__ Lucky user #endif #elif defined __CYGWIN__ #include #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7) Lucky user #endif #else Lucky user #endif ], [gl_cv_func_memmem_works_always="guessing yes"], [gl_cv_func_memmem_works_always="guessing no"]) ]) ]) case "$gl_cv_func_memmem_works_always" in *yes) ;; *) REPLACE_MEMMEM=1 ;; esac fi gl_PREREQ_MEMMEM ]) # gl_FUNC_MEMMEM_SIMPLE dnl Additionally, check that memmem has linear performance characteristics AC_DEFUN([gl_FUNC_MEMMEM], [ AC_REQUIRE([gl_FUNC_MEMMEM_SIMPLE]) if test $HAVE_DECL_MEMMEM = 1 && test $REPLACE_MEMMEM = 0; then AC_CACHE_CHECK([whether memmem works in linear time], [gl_cv_func_memmem_works_fast], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include /* for signal */ #include /* for memmem */ #include /* for malloc */ #include /* for alarm */ static void quit (int sig) { _exit (sig + 128); } ]], [[ int result = 0; size_t m = 1000000; char *haystack = (char *) malloc (2 * m + 1); char *needle = (char *) malloc (m + 1); /* Failure to compile this test due to missing alarm is okay, since all such platforms (mingw) also lack memmem. */ signal (SIGALRM, quit); alarm (5); /* Check for quadratic performance. */ if (haystack && needle) { memset (haystack, 'A', 2 * m); haystack[2 * m] = 'B'; memset (needle, 'A', m); needle[m] = 'B'; if (!memmem (haystack, 2 * m + 1, needle, m + 1)) result |= 1; } /* Free allocated memory, in case some sanitizer is watching. */ free (haystack); free (needle); return result; ]])], [gl_cv_func_memmem_works_fast=yes], [gl_cv_func_memmem_works_fast=no], [dnl Only glibc >= 2.9 and cygwin > 1.7.0 are known to have a dnl memmem that works in linear time. AC_EGREP_CPP([Lucky user], [ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)) \ && !defined __UCLIBC__ Lucky user #endif #endif #ifdef __CYGWIN__ #include #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 0) Lucky user #endif #endif ], [gl_cv_func_memmem_works_fast="guessing yes"], [gl_cv_func_memmem_works_fast="guessing no"]) ]) ]) case "$gl_cv_func_memmem_works_fast" in *yes) ;; *) REPLACE_MEMMEM=1 ;; esac fi ]) # gl_FUNC_MEMMEM # Prerequisites of lib/memmem.c. AC_DEFUN([gl_PREREQ_MEMMEM], [:]) gsasl-1.8.1/lib/m4/sys_resource_h.m40000644000000000000000000000300613516267371014117 00000000000000# sys_resource_h.m4 serial 2 dnl Copyright (C) 2012-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_SYS_RESOURCE], [ AC_REQUIRE([gl_SYS_RESOURCE_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/resource.h]) if test $ac_cv_header_sys_resource_h = yes; then HAVE_SYS_RESOURCE_H=1 else HAVE_SYS_RESOURCE_H=0 fi AC_SUBST([HAVE_SYS_RESOURCE_H]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_SYS_RESOURCE_H /* At least FreeBSD 5.0 needs extra headers before will compile. */ # include # include # include #endif ]], [getrusage]) ]) AC_DEFUN([gl_SYS_RESOURCE_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_RESOURCE_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_RESOURCE_H_DEFAULTS], [ GNULIB_GETRUSAGE=0; AC_SUBST([GNULIB_GETRUSAGE]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_GETRUSAGE=1; AC_SUBST([HAVE_GETRUSAGE]) ]) gsasl-1.8.1/lib/m4/eealloc.m40000644000000000000000000000166713516267371012502 00000000000000# eealloc.m4 serial 3 dnl Copyright (C) 2003, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_EEALLOC], [ AC_REQUIRE([gl_EEMALLOC]) AC_REQUIRE([gl_EEREALLOC]) ]) AC_DEFUN([gl_EEMALLOC], [ _AC_FUNC_MALLOC_IF( [gl_cv_func_malloc_0_nonnull=1], [gl_cv_func_malloc_0_nonnull=0]) AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull], [If malloc(0) is != NULL, define this to 1. Otherwise define this to 0.]) ]) AC_DEFUN([gl_EEREALLOC], [ _AC_FUNC_REALLOC_IF( [gl_cv_func_realloc_0_nonnull=1], [gl_cv_func_realloc_0_nonnull=0]) AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull], [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this to 0.]) ]) gsasl-1.8.1/lib/m4/close.m40000644000000000000000000000222113516267371012166 00000000000000# close.m4 serial 9 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_CLOSE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) m4_ifdef([gl_MSVC_INVAL], [ AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi ]) m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ gl_PREREQ_SYS_H_WINSOCK2 if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then dnl Even if the 'socket' module is not used here, another part of the dnl application may use it and pass file descriptors that refer to dnl sockets to the close() function. So enable the support for sockets. REPLACE_CLOSE=1 fi ]) dnl Replace close() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ if test $REPLACE_CLOSE = 0; then gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then REPLACE_CLOSE=1 fi fi ]) ]) gsasl-1.8.1/lib/m4/include_next.m40000644000000000000000000002106113516267371013545 00000000000000# include_next.m4 serial 24 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert and Derek Price. dnl Sets INCLUDE_NEXT, INCLUDE_NEXT_AS_FIRST_DIRECTIVE, PRAGMA_SYSTEM_HEADER, dnl and PRAGMA_COLUMNS. dnl dnl INCLUDE_NEXT expands to 'include_next' if the compiler supports it, or to dnl 'include' otherwise. dnl dnl INCLUDE_NEXT_AS_FIRST_DIRECTIVE expands to 'include_next' if the compiler dnl supports it in the special case that it is the first include directive in dnl the given file, or to 'include' otherwise. dnl dnl PRAGMA_SYSTEM_HEADER can be used in files that contain #include_next, dnl so as to avoid GCC warnings when the gcc option -pedantic is used. dnl '#pragma GCC system_header' has the same effect as if the file was found dnl through the include search path specified with '-isystem' options (as dnl opposed to the search path specified with '-I' options). Namely, gcc dnl does not warn about some things, and on some systems (Solaris and Interix) dnl __STDC__ evaluates to 0 instead of to 1. The latter is an undesired side dnl effect; we are therefore careful to use 'defined __STDC__' or '1' instead dnl of plain '__STDC__'. dnl dnl PRAGMA_COLUMNS can be used in files that override system header files, so dnl as to avoid compilation errors on HP NonStop systems when the gnulib file dnl is included by a system header file that does a "#pragma COLUMNS 80" (which dnl has the effect of truncating the lines of that file and all files that it dnl includes to 80 columns) and the gnulib file has lines longer than 80 dnl columns. AC_DEFUN([gl_INCLUDE_NEXT], [ AC_LANG_PREPROC_REQUIRE() AC_CACHE_CHECK([whether the preprocessor supports include_next], [gl_cv_have_include_next], [rm -rf conftestd1a conftestd1b conftestd2 mkdir conftestd1a conftestd1b conftestd2 dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on dnl AIX 6.1 support include_next when used as first preprocessor directive dnl in a file, but not when preceded by another include directive. Check dnl for this bug by including . dnl Additionally, with this same compiler, include_next is a no-op when dnl used in a header file that was included by specifying its absolute dnl file name. Despite these two bugs, include_next is used in the dnl compiler's . By virtue of the second bug, we need to use dnl include_next as well in this case. cat < conftestd1a/conftest.h #define DEFINED_IN_CONFTESTD1 #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd1b/conftest.h #define DEFINED_IN_CONFTESTD1 #include #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd2/conftest.h #ifndef DEFINED_IN_CONFTESTD1 #error "include_next test doesn't work" #endif #define DEFINED_IN_CONFTESTD2 EOF gl_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" dnl We intentionally avoid using AC_LANG_SOURCE here. AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], [gl_cv_have_include_next=yes], [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], [gl_cv_have_include_next=buggy], [gl_cv_have_include_next=no]) ]) CPPFLAGS="$gl_save_CPPFLAGS" rm -rf conftestd1a conftestd1b conftestd2 ]) PRAGMA_SYSTEM_HEADER= if test $gl_cv_have_include_next = yes; then INCLUDE_NEXT=include_next INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next if test -n "$GCC"; then PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' fi else if test $gl_cv_have_include_next = buggy; then INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next else INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include fi fi AC_SUBST([INCLUDE_NEXT]) AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) AC_SUBST([PRAGMA_SYSTEM_HEADER]) AC_CACHE_CHECK([whether system header files limit the line length], [gl_cv_pragma_columns], [dnl HP NonStop systems, which define __TANDEM, have this misfeature. AC_EGREP_CPP([choke me], [ #ifdef __TANDEM choke me #endif ], [gl_cv_pragma_columns=yes], [gl_cv_pragma_columns=no]) ]) if test $gl_cv_pragma_columns = yes; then PRAGMA_COLUMNS="#pragma COLUMNS 10000" else PRAGMA_COLUMNS= fi AC_SUBST([PRAGMA_COLUMNS]) ]) # gl_CHECK_NEXT_HEADERS(HEADER1 HEADER2 ...) # ------------------------------------------ # For each arg foo.h, if #include_next works, define NEXT_FOO_H to be # ''; otherwise define it to be # '"///usr/include/foo.h"', or whatever other absolute file name is suitable. # Also, if #include_next works as first preprocessing directive in a file, # define NEXT_AS_FIRST_DIRECTIVE_FOO_H to be ''; otherwise define it to # be # '"///usr/include/foo.h"', or whatever other absolute file name is suitable. # That way, a header file with the following line: # #@INCLUDE_NEXT@ @NEXT_FOO_H@ # or # #@INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ @NEXT_AS_FIRST_DIRECTIVE_FOO_H@ # behaves (after sed substitution) as if it contained # #include_next # even if the compiler does not support include_next. # The three "///" are to pacify Sun C 5.8, which otherwise would say # "warning: #include of /usr/include/... may be non-portable". # Use '""', not '<>', so that the /// cannot be confused with a C99 comment. # Note: This macro assumes that the header file is not empty after # preprocessing, i.e. it does not only define preprocessor macros but also # provides some type/enum definitions or function/variable declarations. # # This macro also checks whether each header exists, by invoking # AC_CHECK_HEADERS_ONCE or AC_CHECK_HEADERS on each argument. AC_DEFUN([gl_CHECK_NEXT_HEADERS], [ gl_NEXT_HEADERS_INTERNAL([$1], [check]) ]) # gl_NEXT_HEADERS(HEADER1 HEADER2 ...) # ------------------------------------ # Like gl_CHECK_NEXT_HEADERS, except do not check whether the headers exist. # This is suitable for headers like that are standardized by C89 # and therefore can be assumed to exist. AC_DEFUN([gl_NEXT_HEADERS], [ gl_NEXT_HEADERS_INTERNAL([$1], [assume]) ]) # The guts of gl_CHECK_NEXT_HEADERS and gl_NEXT_HEADERS. AC_DEFUN([gl_NEXT_HEADERS_INTERNAL], [ AC_REQUIRE([gl_INCLUDE_NEXT]) AC_REQUIRE([AC_CANONICAL_HOST]) m4_if([$2], [check], [AC_CHECK_HEADERS_ONCE([$1]) ]) dnl FIXME: gl_next_header and gl_header_exists must be used unquoted dnl until we can assume autoconf 2.64 or newer. m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_next_header], [gl_cv_next_]m4_defn([gl_HEADER_NAME])) if test $gl_cv_have_include_next = yes; then AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) else AC_CACHE_CHECK( [absolute name of <]m4_defn([gl_HEADER_NAME])[>], m4_defn([gl_next_header]), [m4_if([$2], [check], [AS_VAR_PUSHDEF([gl_header_exists], [ac_cv_header_]m4_defn([gl_HEADER_NAME])) if test AS_VAR_GET(gl_header_exists) = yes; then AS_VAR_POPDEF([gl_header_exists]) ]) gl_ABSOLUTE_HEADER_ONE(gl_HEADER_NAME) AS_VAR_COPY([gl_header], [gl_cv_absolute_]AS_TR_SH(gl_HEADER_NAME)) AS_VAR_SET(gl_next_header, ['"'$gl_header'"']) m4_if([$2], [check], [else AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) fi ]) ]) fi AC_SUBST( AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), [AS_VAR_GET(gl_next_header)]) if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'gl_HEADER_NAME'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=AS_VAR_GET(gl_next_header) fi AC_SUBST( AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), [$gl_next_as_first_directive]) AS_VAR_POPDEF([gl_next_header])]) ]) # Autoconf 2.68 added warnings for our use of AC_COMPILE_IFELSE; # this fallback is safe for all earlier autoconf versions. m4_define_default([AC_LANG_DEFINES_PROVIDED]) gsasl-1.8.1/lib/m4/pthread_sigmask.m40000644000000000000000000002267313516267371014243 00000000000000# pthread_sigmask.m4 serial 18 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([pthread_sigmask]) dnl On MinGW pthread_sigmask is just a macro which always returns 0. dnl It does not exist as a real function, which is required by POSIX. AC_CACHE_CHECK([whether pthread_sigmask is a macro], [gl_cv_func_pthread_sigmask_macro], [AC_EGREP_CPP([headers_define_pthread_sigmask], [ #include #include #ifdef pthread_sigmask headers_define_pthread_sigmask #endif], [gl_cv_func_pthread_sigmask_macro=yes], [gl_cv_func_pthread_sigmask_macro=no]) ]) LIB_PTHREAD_SIGMASK= if test $gl_cv_func_pthread_sigmask_macro = yes; then dnl pthread_sigmask is a dummy macro. HAVE_PTHREAD_SIGMASK=0 dnl Make sure to '#undef pthread_sigmask' before defining it. REPLACE_PTHREAD_SIGMASK=1 else dnl Test whether the gnulib module 'threadlib' is in use. dnl Some packages like Emacs use --avoid=threadlib. dnl Write the symbol in such a way that it does not cause 'aclocal' to pick dnl the threadlib.m4 file that is installed in $PREFIX/share/aclocal/. m4_ifdef([gl_][THREADLIB], [ AC_REQUIRE([gl_][THREADLIB]) if test "$gl_threads_api" = posix; then if test $ac_cv_func_pthread_sigmask = yes; then dnl pthread_sigmask is available without -lpthread. : else if test -n "$LIBMULTITHREAD"; then AC_CACHE_CHECK([for pthread_sigmask in $LIBMULTITHREAD], [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD], [gl_save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[return pthread_sigmask (0, (sigset_t *) 0, (sigset_t *) 0);]]) ], [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=yes], [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=no]) LIBS="$gl_save_LIBS" ]) if test $gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD = yes; then dnl pthread_sigmask is available with -pthread or -lpthread. LIB_PTHREAD_SIGMASK="$LIBMULTITHREAD" else dnl pthread_sigmask is not available at all. HAVE_PTHREAD_SIGMASK=0 fi else dnl pthread_sigmask is not available at all. HAVE_PTHREAD_SIGMASK=0 fi fi else dnl pthread_sigmask may exist but does not interoperate with the chosen dnl multithreading facility. if test $ac_cv_func_pthread_sigmask = yes; then REPLACE_PTHREAD_SIGMASK=1 else HAVE_PTHREAD_SIGMASK=0 fi fi ], [ dnl The module 'threadlib' is not in use, due to --avoid=threadlib being dnl specified. dnl The package either has prepared CPPFLAGS and LIBS for use of dnl POSIX:2008 threads, or wants to build single-threaded programs. if test $ac_cv_func_pthread_sigmask = yes; then dnl pthread_sigmask exists and does not require extra libraries. dnl Assume that it is declared. : else dnl pthread_sigmask either does not exist or needs extra libraries. HAVE_PTHREAD_SIGMASK=0 dnl Define the symbol rpl_pthread_sigmask, not pthread_sigmask, dnl so as to not accidentally override the system's pthread_sigmask dnl symbol from libpthread. This is necessary on IRIX 6.5. REPLACE_PTHREAD_SIGMASK=1 fi ]) fi AC_SUBST([LIB_PTHREAD_SIGMASK]) dnl We don't need a variable LTLIB_PTHREAD_SIGMASK, because when dnl "$gl_threads_api" = posix, $LTLIBMULTITHREAD and $LIBMULTITHREAD are the dnl same. dnl Now test for some bugs in the system function. if test $HAVE_PTHREAD_SIGMASK = 1; then AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl On FreeBSD 6.4, HP-UX 11.31, Solaris 9, in programs that are not linked dnl with -lpthread, the pthread_sigmask() function always returns 0 and has dnl no effect. if test -z "$LIB_PTHREAD_SIGMASK"; then case " $LIBS " in *' -pthread '*) ;; *' -lpthread '*) ;; *) AC_CACHE_CHECK([whether pthread_sigmask works without -lpthread], [gl_cv_func_pthread_sigmask_in_libc_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { sigset_t set; sigemptyset (&set); return pthread_sigmask (1729, &set, NULL) != 0; }]])], [gl_cv_func_pthread_sigmask_in_libc_works=no], [gl_cv_func_pthread_sigmask_in_libc_works=yes], [ changequote(,)dnl case "$host_os" in freebsd* | hpux* | solaris | solaris2.[2-9]*) gl_cv_func_pthread_sigmask_in_libc_works="guessing no";; *) gl_cv_func_pthread_sigmask_in_libc_works="guessing yes";; esac changequote([,])dnl ]) ]) case "$gl_cv_func_pthread_sigmask_in_libc_works" in *no) REPLACE_PTHREAD_SIGMASK=1 AC_DEFINE([PTHREAD_SIGMASK_INEFFECTIVE], [1], [Define to 1 if pthread_sigmask may return 0 and have no effect.]) ;; esac;; esac fi dnl On Cygwin 1.7.5, the pthread_sigmask() has a wrong return value dnl convention: Upon failure, it returns -1 and sets errno. AC_CACHE_CHECK([whether pthread_sigmask returns error numbers], [gl_cv_func_pthread_sigmask_return_works], [ gl_save_LIBS="$LIBS" LIBS="$LIBS $LIB_PTHREAD_SIGMASK" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { sigset_t set; sigemptyset (&set); if (pthread_sigmask (1729, &set, NULL) == -1) return 1; return 0; }]])], [gl_cv_func_pthread_sigmask_return_works=yes], [gl_cv_func_pthread_sigmask_return_works=no], [case "$host_os" in cygwin*) gl_cv_func_pthread_sigmask_return_works="guessing no";; *) gl_cv_func_pthread_sigmask_return_works="guessing yes";; esac ]) LIBS="$gl_save_LIBS" ]) case "$gl_cv_func_pthread_sigmask_return_works" in *no) REPLACE_PTHREAD_SIGMASK=1 AC_DEFINE([PTHREAD_SIGMASK_FAILS_WITH_ERRNO], [1], [Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.]) ;; esac dnl On IRIX 6.5, in a single-threaded program, pending signals are not dnl immediately delivered when they are unblocked through pthread_sigmask, dnl only a little while later. AC_CACHE_CHECK([whether pthread_sigmask unblocks signals correctly], [gl_cv_func_pthread_sigmask_unblock_works], [ case "$host_os" in irix*) gl_cv_func_pthread_sigmask_unblock_works="guessing no";; *) gl_cv_func_pthread_sigmask_unblock_works="guessing yes";; esac m4_ifdef([gl_][THREADLIB], [dnl Link against $LIBMULTITHREAD, not only $LIB_PTHREAD_SIGMASK. dnl Otherwise we get a false positive on those platforms where dnl $gl_cv_func_pthread_sigmask_in_libc_works is "no". gl_save_LIBS=$LIBS LIBS="$LIBS $LIBMULTITHREAD"]) AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #include static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main () { sigset_t set; int pid = getpid (); char command[80]; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); if (!(pthread_sigmask (SIG_BLOCK, &set, NULL) == 0)) return 1; sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); if (!(system (command) == 0)) return 2; sleep (2); if (!(sigint_occurred == 0)) return 3; if (!(pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0)) return 4; if (!(sigint_occurred == 1)) /* This fails on IRIX. */ return 5; return 0; }]])], [:], [gl_cv_func_pthread_sigmask_unblock_works=no], [:]) m4_ifdef([gl_][THREADLIB], [LIBS=$gl_save_LIBS]) ]) case "$gl_cv_func_pthread_sigmask_unblock_works" in *no) REPLACE_PTHREAD_SIGMASK=1 AC_DEFINE([PTHREAD_SIGMASK_UNBLOCK_BUG], [1], [Define to 1 if pthread_sigmask() unblocks signals incorrectly.]) ;; esac fi ]) # Prerequisite of lib/pthread_sigmask.c. AC_DEFUN([gl_PREREQ_PTHREAD_SIGMASK], [ if test $HAVE_PTHREAD_SIGMASK = 1; then AC_DEFINE([HAVE_PTHREAD_SIGMASK], [1], [Define to 1 if the pthread_sigmask function can be used (despite bugs).]) fi ]) gsasl-1.8.1/lib/m4/strnlen.m40000644000000000000000000000156113516267371012554 00000000000000# strnlen.m4 serial 13 dnl Copyright (C) 2002-2003, 2005-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRNLEN], [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) dnl Persuade glibc to declare strnlen(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([strnlen]) if test $ac_cv_have_decl_strnlen = no; then HAVE_DECL_STRNLEN=0 else m4_pushdef([AC_LIBOBJ], [:]) dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]). AC_FUNC_STRNLEN m4_popdef([AC_LIBOBJ]) if test $ac_cv_func_strnlen_working = no; then REPLACE_STRNLEN=1 fi fi ]) # Prerequisites of lib/strnlen.c. AC_DEFUN([gl_PREREQ_STRNLEN], [:]) gsasl-1.8.1/lib/m4/getpagesize.m40000644000000000000000000000276213516267371013402 00000000000000# getpagesize.m4 serial 10 dnl Copyright (C) 2002, 2004-2005, 2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_GETPAGESIZE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CHECK_FUNC_GETPAGESIZE if test $gl_cv_func_getpagesize = no; then HAVE_GETPAGESIZE=0 AC_CHECK_HEADERS([OS.h]) if test $ac_cv_header_OS_h = yes; then HAVE_OS_H=1 fi AC_CHECK_HEADERS([sys/param.h]) if test $ac_cv_header_sys_param_h = yes; then HAVE_SYS_PARAM_H=1 fi fi case "$host_os" in mingw*) REPLACE_GETPAGESIZE=1 ;; esac dnl Also check whether it's declared. dnl mingw has getpagesize() in libgcc.a but doesn't declare it. AC_CHECK_DECL([getpagesize], , [HAVE_DECL_GETPAGESIZE=0]) ]) dnl Tests whether the function getpagesize() exists. dnl Sets gl_cv_func_getpagesize. AC_DEFUN([gl_CHECK_FUNC_GETPAGESIZE], [ dnl We can't use AC_CHECK_FUNC here, because getpagesize() is defined as a dnl static inline function when compiling for Android 4.4 or older. AC_CACHE_CHECK([for getpagesize], [gl_cv_func_getpagesize], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[return getpagesize();]]) ], [gl_cv_func_getpagesize=yes], [gl_cv_func_getpagesize=no]) ]) ]) gsasl-1.8.1/lib/m4/mmap-anon.m40000644000000000000000000000373313516267371012755 00000000000000# mmap-anon.m4 serial 10 dnl Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Detect how mmap can be used to create anonymous (not file-backed) memory # mappings. # - On Linux, AIX, OSF/1, Solaris, Cygwin, Interix, Haiku, both MAP_ANONYMOUS # and MAP_ANON exist and have the same value. # - On HP-UX, only MAP_ANONYMOUS exists. # - On Mac OS X, FreeBSD, NetBSD, OpenBSD, only MAP_ANON exists. # - On IRIX, neither exists, and a file descriptor opened to /dev/zero must be # used. AC_DEFUN([gl_FUNC_MMAP_ANON], [ dnl Persuade glibc to define MAP_ANONYMOUS. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no]) # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then AC_MSG_CHECKING([for MAP_ANONYMOUS]) AC_EGREP_CPP([I cannot identify this map], [ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif ], [gl_have_mmap_anonymous=yes]) if test $gl_have_mmap_anonymous != yes; then AC_EGREP_CPP([I cannot identify this map], [ #include #ifdef MAP_ANON I cannot identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.]) gl_have_mmap_anonymous=yes]) fi AC_MSG_RESULT([$gl_have_mmap_anonymous]) if test $gl_have_mmap_anonymous = yes; then AC_DEFINE([HAVE_MAP_ANONYMOUS], [1], [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including config.h and .]) fi fi ]) gsasl-1.8.1/lib/m4/fflush.m40000644000000000000000000000630113516267371012353 00000000000000# fflush.m4 serial 17 # Copyright (C) 2007-2019 Free Software Foundation, Inc. # 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. dnl From Eric Blake dnl Find out how to obey POSIX semantics of fflush(stdin) discarding dnl unread input on seekable streams, rather than C99 undefined semantics. AC_DEFUN([gl_FUNC_FFLUSH], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_FUNC_FFLUSH_STDIN case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FFLUSH=1 ;; esac ]) dnl Determine whether fflush works on input streams. dnl Sets gl_cv_func_fflush_stdin. AC_DEFUN([gl_FUNC_FFLUSH_STDIN], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether fflush works on input streams], [gl_cv_func_fflush_stdin], [echo hello world > conftest.txt AC_RUN_IFELSE([AC_LANG_PROGRAM( [[ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif ]], [[FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no], [case "$host_os" in # Guess no on native Windows. mingw*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac ]) rm conftest.txt ]) case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac AC_DEFINE_UNQUOTED([FUNC_FFLUSH_STDIN], [$gl_func_fflush_stdin], [Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if fflush is known to not work, -1 if unknown.]) ]) # Prerequisites of lib/fflush.c. AC_DEFUN([gl_PREREQ_FFLUSH], [:]) gsasl-1.8.1/lib/m4/largefile.m40000644000000000000000000001345313516267371013024 00000000000000# Enable large files on systems where this is not the default. # Copyright 1992-1996, 1998-2019 Free Software Foundation, Inc. # 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. # The following implementation works around a problem in autoconf <= 2.69; # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, # or configures them incorrectly in some cases. m4_version_prereq([2.70], [] ,[ # _AC_SYS_LARGEFILE_TEST_INCLUDES # ------------------------------- m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], [@%:@include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]];[]dnl ]) # _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, # CACHE-VAR, # DESCRIPTION, # PROLOGUE, [FUNCTION-BODY]) # -------------------------------------------------------- m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], [AC_CACHE_CHECK([for $1 value needed for large files], [$3], [while :; do m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( [AC_LANG_PROGRAM([$5], [$6])], [$3=no; break]) m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( [AC_LANG_PROGRAM([@%:@define $1 $2 $5], [$6])], [$3=$2; break]) $3=unknown break done]) case $$3 in #( no | unknown) ;; *) AC_DEFINE_UNQUOTED([$1], [$$3], [$4]);; esac rm -rf conftest*[]dnl ])# _AC_SYS_LARGEFILE_MACRO_VALUE # AC_SYS_LARGEFILE # ---------------- # By default, many hosts won't let programs access large files; # one must use special compiler options to get large-file access to work. # For more details about this brain damage please see: # http://www.unix-systems.org/version2/whatsnew/lfs20mar.html AC_DEFUN([AC_SYS_LARGEFILE], [AC_ARG_ENABLE(largefile, [ --disable-largefile omit support for large files]) if test "$enable_largefile" != no; then AC_CACHE_CHECK([for special C compiler options needed for large files], ac_cv_sys_largefile_CC, [ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])]) AC_COMPILE_IFELSE([], [break]) CC="$CC -n32" AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break]) break done CC=$ac_save_CC rm -f conftest.$ac_ext fi]) if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, ac_cv_sys_file_offset_bits, [Number of bits in a file offset, on hosts where this is settable.], [_AC_SYS_LARGEFILE_TEST_INCLUDES]) if test $ac_cv_sys_file_offset_bits = unknown; then _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, ac_cv_sys_large_files, [Define for large files, on AIX-style hosts.], [_AC_SYS_LARGEFILE_TEST_INCLUDES]) fi AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1], [Enable large inode numbers on Mac OS X 10.5.]) fi ])# AC_SYS_LARGEFILE ])# m4_version_prereq 2.70 # Enable large files on systems where this is implemented by Gnulib, not by the # system headers. # Set the variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE if Gnulib # overrides ensure that off_t or 'struct size.st_size' are 64-bit, respectively. AC_DEFUN([gl_LARGEFILE], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) dnl Native Windows. dnl mingw64 defines off_t to a 64-bit type already, if dnl _FILE_OFFSET_BITS=64, which is ensured by AC_SYS_LARGEFILE. AC_CACHE_CHECK([for 64-bit off_t], [gl_cv_type_off_t_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_type_off_t_64=yes], [gl_cv_type_off_t_64=no]) ]) if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else WINDOWS_64_BIT_OFF_T=0 fi dnl Some mingw versions define, if _FILE_OFFSET_BITS=64, 'struct stat' dnl to 'struct _stat32i64' or 'struct _stat64' (depending on dnl _USE_32BIT_TIME_T), which has a 32-bit st_size member. AC_CACHE_CHECK([for 64-bit st_size], [gl_cv_member_st_size_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include struct stat buf; int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_member_st_size_64=yes], [gl_cv_member_st_size_64=no]) ]) if test $gl_cv_member_st_size_64 = no; then WINDOWS_64_BIT_ST_SIZE=1 else WINDOWS_64_BIT_ST_SIZE=0 fi ;; *) dnl Nothing to do on gnulib's side. dnl A 64-bit off_t is dnl - already the default on Mac OS X, FreeBSD, NetBSD, OpenBSD, IRIX, dnl OSF/1, Cygwin, dnl - enabled by _FILE_OFFSET_BITS=64 (ensured by AC_SYS_LARGEFILE) on dnl glibc, HP-UX, Solaris, dnl - enabled by _LARGE_FILES=1 (ensured by AC_SYS_LARGEFILE) on AIX, dnl - impossible to achieve on Minix 3.1.8. WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac ]) gsasl-1.8.1/lib/m4/arpa_inet_h.m40000644000000000000000000000362513516267371013343 00000000000000# arpa_inet_h.m4 serial 14 dnl Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Simon Josefsson and Bruno Haible AC_DEFUN([gl_HEADER_ARPA_INET], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([arpa/inet.h]) if test $ac_cv_header_arpa_inet_h = yes; then HAVE_ARPA_INET_H=1 else HAVE_ARPA_INET_H=0 fi AC_SUBST([HAVE_ARPA_INET_H]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([arpa/inet.h]) AC_REQUIRE([gl_FEATURES_H]) gl_PREREQ_SYS_H_WS2TCPIP dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* On some systems, this header is not self-consistent. */ #if !(defined __GLIBC__ || defined __UCLIBC__) # include #endif #ifdef __TANDEM # include #endif #include ]], [inet_ntop inet_pton]) ]) AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_ARPA_INET_H_DEFAULTS], [ GNULIB_INET_NTOP=0; AC_SUBST([GNULIB_INET_NTOP]) GNULIB_INET_PTON=0; AC_SUBST([GNULIB_INET_PTON]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_INET_NTOP=1; AC_SUBST([HAVE_DECL_INET_NTOP]) HAVE_DECL_INET_PTON=1; AC_SUBST([HAVE_DECL_INET_PTON]) REPLACE_INET_NTOP=0; AC_SUBST([REPLACE_INET_NTOP]) REPLACE_INET_PTON=0; AC_SUBST([REPLACE_INET_PTON]) ]) gsasl-1.8.1/lib/m4/open-cloexec.m40000644000000000000000000000132313516267371013444 00000000000000# Test whether O_CLOEXEC is defined. dnl Copyright 2017-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PREPROC_O_CLOEXEC], [ AC_CACHE_CHECK([for O_CLOEXEC], [gl_cv_macro_O_CLOEXEC], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include #ifndef O_CLOEXEC choke me; #endif ]], [[return O_CLOEXEC;]])], [gl_cv_macro_O_CLOEXEC=yes], [gl_cv_macro_O_CLOEXEC=no])]) ]) gsasl-1.8.1/lib/m4/open.m40000644000000000000000000000523713516267371012034 00000000000000# open.m4 serial 15 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_OPEN], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PREPROC_O_CLOEXEC]) case "$host_os" in mingw* | pw*) REPLACE_OPEN=1 ;; *) dnl open("foo/") should not create a file when the file name has a dnl trailing slash. FreeBSD only has the problem on symlinks. AC_CHECK_FUNCS_ONCE([lstat]) if test "$gl_cv_macro_O_CLOEXEC" != yes; then REPLACE_OPEN=1 fi AC_CACHE_CHECK([whether open recognizes a trailing slash], [gl_cv_func_open_slash], [# Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then touch conftest.tmp ln -s conftest.tmp conftest.lnk fi AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_UNISTD_H # include #endif int main () { int result = 0; #if HAVE_LSTAT if (open ("conftest.lnk/", O_RDONLY) != -1) result |= 1; #endif if (open ("conftest.sl/", O_CREAT, 0600) >= 0) result |= 2; return result; }]])], [gl_cv_func_open_slash=yes], [gl_cv_func_open_slash=no], [ changequote(,)dnl case "$host_os" in freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) gl_cv_func_open_slash="guessing no" ;; *) gl_cv_func_open_slash="guessing yes" ;; esac changequote([,])dnl ]) rm -f conftest.sl conftest.tmp conftest.lnk ]) case "$gl_cv_func_open_slash" in *no) AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1], [Define to 1 if open() fails to recognize a trailing slash.]) REPLACE_OPEN=1 ;; esac ;; esac dnl Replace open() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ if test $REPLACE_OPEN = 0; then gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then REPLACE_OPEN=1 fi fi ]) dnl Replace open() for supporting the gnulib-defined O_NONBLOCK flag. m4_ifdef([gl_NONBLOCKING_IO], [ if test $REPLACE_OPEN = 0; then gl_NONBLOCKING_IO if test $gl_cv_have_open_O_NONBLOCK != yes; then REPLACE_OPEN=1 fi fi ]) ]) # Prerequisites of lib/open.c. AC_DEFUN([gl_PREREQ_OPEN], [ AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) : ]) gsasl-1.8.1/lib/m4/raise.m40000644000000000000000000000177113516267371012175 00000000000000# raise.m4 serial 4 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_RAISE], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS([raise]) if test $ac_cv_func_raise = no; then HAVE_RAISE=0 else m4_ifdef([gl_MSVC_INVAL], [ AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_RAISE=1 fi ]) m4_ifdef([gl_SIGNALBLOCKING], [ gl_SIGNALBLOCKING if test $HAVE_POSIX_SIGNALBLOCKING = 0; then m4_ifdef([gl_SIGNAL_SIGPIPE], [ gl_SIGNAL_SIGPIPE if test $gl_cv_header_signal_h_SIGPIPE != yes; then REPLACE_RAISE=1 fi ], [:]) fi ]) fi ]) # Prerequisites of lib/raise.c. AC_DEFUN([gl_PREREQ_RAISE], [:]) gsasl-1.8.1/lib/m4/00gnulib.m40000644000000000000000000000415213516267371012506 00000000000000# 00gnulib.m4 serial 3 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file must be named something that sorts before all other dnl gnulib-provided .m4 files. It is needed until such time as we can dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE and dnl m4_divert semantics. # Until autoconf 2.63, handling of the diversion stack required m4_init # to be called first; but this does not happen with aclocal. Wrapping # the entire execution in another layer of the diversion stack fixes this. # Worse, prior to autoconf 2.62, m4_wrap depended on the underlying m4 # for whether it was FIFO or LIFO; in order to properly balance with # m4_init, we need to undo our push just before anything wrapped within # the m4_init body. The way to ensure this is to wrap both sides of # m4_init with a one-shot macro that does the pop at the right time. m4_ifndef([_m4_divert_diversion], [m4_divert_push([KILL]) m4_define([gl_divert_fixup], [m4_divert_pop()m4_define([$0])]) m4_define([m4_init], [gl_divert_fixup()]m4_defn([m4_init])[gl_divert_fixup()])]) # AC_DEFUN_ONCE([NAME], VALUE) # ---------------------------- # Define NAME to expand to VALUE on the first use (whether by direct # expansion, or by AC_REQUIRE), and to nothing on all subsequent uses. # Avoid bugs in AC_REQUIRE in Autoconf 2.63 and earlier. This # definition is slower than the version in Autoconf 2.64, because it # can only use interfaces that existed since 2.59; but it achieves the # same effect. Quoting is necessary to avoid confusing Automake. m4_version_prereq([2.63.263], [], [m4_define([AC][_DEFUN_ONCE], [AC][_DEFUN([$1], [AC_REQUIRE([_gl_DEFUN_ONCE([$1])], [m4_indir([_gl_DEFUN_ONCE([$1])])])])]dnl [AC][_DEFUN([_gl_DEFUN_ONCE([$1])], [$2])])]) # gl_00GNULIB # ----------- # Witness macro that this file has been included. Needed to force # Automake to include this file prior to all other gnulib .m4 files. AC_DEFUN([gl_00GNULIB]) gsasl-1.8.1/lib/m4/fseeko.m40000644000000000000000000000454413516267371012347 00000000000000# fseeko.m4 serial 19 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FSEEKO], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) AC_REQUIRE([gl_SYS_TYPES_H]) AC_REQUIRE([AC_PROG_CC]) dnl Persuade glibc to declare fseeko(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [fseeko (stdin, 0, 0);])], [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no]) ]) AC_CHECK_DECLS_ONCE([fseeko]) if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi m4_ifdef([gl_FUNC_FFLUSH_STDIN], [ gl_FUNC_FFLUSH_STDIN case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FSEEKO=1 ;; esac ]) fi ]) dnl Code shared by fseeko and ftello. Determine if large files are supported, dnl but stdin does not start as a large file by default. AC_DEFUN([gl_STDIN_LARGE_OFFSET], [ AC_CACHE_CHECK([whether stdin defaults to large file offsets], [gl_cv_var_stdin_large_offset], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[#if defined __SL64 && defined __SCLE /* cygwin */ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and it is easier to do a version check than building a runtime test. */ # include # if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) choke me # endif #endif]])], [gl_cv_var_stdin_large_offset=yes], [gl_cv_var_stdin_large_offset=no])]) ]) # Prerequisites of lib/fseeko.c. AC_DEFUN([gl_PREREQ_FSEEKO], [ dnl Native Windows has the function _fseeki64. mingw hides it in some dnl circumstances, but mingw64 makes it usable again. AC_CHECK_FUNCS([_fseeki64]) if test $ac_cv_func__fseeki64 = yes; then AC_CHECK_DECLS([_fseeki64]) fi ]) gsasl-1.8.1/lib/m4/sys_stat_h.m40000644000000000000000000000741013516267371013246 00000000000000# sys_stat_h.m4 serial 31 -*- Autoconf -*- dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Eric Blake. dnl Provide a GNU-like . AC_DEFUN([gl_HEADER_SYS_STAT_H], [ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) dnl Check for broken stat macros. AC_REQUIRE([AC_HEADER_STAT]) gl_CHECK_NEXT_HEADERS([sys/stat.h]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Whether to enable precise timestamps in 'struct stat'. m4_ifdef([gl_WINDOWS_STAT_TIMESPEC], [ AC_REQUIRE([gl_WINDOWS_STAT_TIMESPEC]) ], [ WINDOWS_STAT_TIMESPEC=0 ]) AC_SUBST([WINDOWS_STAT_TIMESPEC]) dnl Whether to ensure that struct stat.st_size is 64-bit wide. m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([gl_LARGEFILE]) ], [ WINDOWS_64_BIT_ST_SIZE=0 ]) AC_SUBST([WINDOWS_64_BIT_ST_SIZE]) dnl Define types that are supposed to be defined in or dnl . AC_CHECK_TYPE([nlink_t], [], [AC_DEFINE([nlink_t], [int], [Define to the type of st_nlink in struct stat, or a supertype.])], [#include #include ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat]) ]) # gl_HEADER_SYS_STAT_H AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR GNULIB_FCHMODAT=0; AC_SUBST([GNULIB_FCHMODAT]) GNULIB_FSTAT=0; AC_SUBST([GNULIB_FSTAT]) GNULIB_FSTATAT=0; AC_SUBST([GNULIB_FSTATAT]) GNULIB_FUTIMENS=0; AC_SUBST([GNULIB_FUTIMENS]) GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD]) GNULIB_LSTAT=0; AC_SUBST([GNULIB_LSTAT]) GNULIB_MKDIRAT=0; AC_SUBST([GNULIB_MKDIRAT]) GNULIB_MKFIFO=0; AC_SUBST([GNULIB_MKFIFO]) GNULIB_MKFIFOAT=0; AC_SUBST([GNULIB_MKFIFOAT]) GNULIB_MKNOD=0; AC_SUBST([GNULIB_MKNOD]) GNULIB_MKNODAT=0; AC_SUBST([GNULIB_MKNODAT]) GNULIB_STAT=0; AC_SUBST([GNULIB_STAT]) GNULIB_UTIMENSAT=0; AC_SUBST([GNULIB_UTIMENSAT]) GNULIB_OVERRIDES_STRUCT_STAT=0; AC_SUBST([GNULIB_OVERRIDES_STRUCT_STAT]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_FCHMODAT=1; AC_SUBST([HAVE_FCHMODAT]) HAVE_FSTATAT=1; AC_SUBST([HAVE_FSTATAT]) HAVE_FUTIMENS=1; AC_SUBST([HAVE_FUTIMENS]) HAVE_LCHMOD=1; AC_SUBST([HAVE_LCHMOD]) HAVE_LSTAT=1; AC_SUBST([HAVE_LSTAT]) HAVE_MKDIRAT=1; AC_SUBST([HAVE_MKDIRAT]) HAVE_MKFIFO=1; AC_SUBST([HAVE_MKFIFO]) HAVE_MKFIFOAT=1; AC_SUBST([HAVE_MKFIFOAT]) HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD]) HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT]) HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT]) REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT]) REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT]) REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS]) REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT]) REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR]) REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO]) REPLACE_MKNOD=0; AC_SUBST([REPLACE_MKNOD]) REPLACE_STAT=0; AC_SUBST([REPLACE_STAT]) REPLACE_UTIMENSAT=0; AC_SUBST([REPLACE_UTIMENSAT]) ]) gsasl-1.8.1/lib/m4/lib-link.m40000644000000000000000000010000413516267371012560 00000000000000# lib-link.m4 serial 28 dnl Copyright (C) 2001-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.61]) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes popdef([NAME]) popdef([Name]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message]) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. The missing-message dnl defaults to 'no' and may contain additional hints for the user. dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, dnl because these -l options might require -L options that are present in dnl LIBS. -l options benefit only from the -L options listed before it. dnl Otherwise, add it to the front of LIBS, because it may be a static dnl library that depends on another static library that is present in LIBS. dnl Static libraries benefit only from the static libraries listed after dnl it. case " $LIB[]NAME" in *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; *) LIBS="$LIB[]NAME $LIBS" ;; esac AC_LINK_IFELSE( [AC_LANG_PROGRAM([[$3]], [[$4]])], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= LIB[]NAME[]_PREFIX= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) popdef([NAME]) popdef([Name]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl acl_libext, dnl acl_shlibext, dnl acl_libname_spec, dnl acl_library_names_spec, dnl acl_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Complain if config.rpath is missing. AC_REQUIRE_AUX_FILE([config.rpath]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_FROMPACKAGE(name, package) dnl declares that libname comes from the given package. The configure file dnl will then not have a --with-libname-prefix option but a dnl --with-package-prefix option. Several libraries can come from the same dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar dnl macro call that searches for libname. AC_DEFUN([AC_LIB_FROMPACKAGE], [ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) popdef([PACKUP]) popdef([PACK]) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH(PACK[-prefix], [[ --with-]]PACK[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib --without-]]PACK[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been dnl computed. So it has to be reset here. HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi popdef([PACKLIBS]) popdef([PACKUP]) popdef([PACK]) popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) gsasl-1.8.1/lib/m4/fpieee.m40000644000000000000000000000434013516267371012322 00000000000000# fpieee.m4 serial 2 -*- coding: utf-8 -*- dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl IEEE 754 standardized three items: dnl - The formats of single-float and double-float - nowadays commonly dnl available as 'float' and 'double' in C and C++. dnl No autoconf test needed. dnl - The overflow and division by zero behaviour: The result are values dnl '±Inf' and 'NaN', rather than exceptions as it was before. dnl This file provides an autoconf macro for ensuring this behaviour of dnl floating-point operations. dnl - A set of conditions (overflow, underflow, inexact, etc.) which can dnl be configured to trigger an exception. dnl This cannot be done in a portable way: it depends on the compiler, dnl libc, kernel, and CPU. No autoconf macro is provided for this. dnl Ensure non-trapping behaviour of floating-point overflow and dnl floating-point division by zero. dnl (For integer overflow, see gcc's -ftrapv option; for integer division by dnl zero, see the autoconf macro in intdiv0.m4.) AC_DEFUN([gl_FP_IEEE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) # IEEE behaviour is the default on all CPUs except Alpha and SH # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 # and the GCC 4.1.2 manual). case "$host_cpu" in alpha*) # On Alpha systems, a compiler option provides the behaviour. # See the ieee(3) manual page, also available at # if test -n "$GCC"; then # GCC has the option -mieee. # For full IEEE compliance (rarely needed), use option -mieee-with-inexact. CPPFLAGS="$CPPFLAGS -mieee" else # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact. # For full IEEE compliance (rarely needed), use option -ieee_with_inexact. CPPFLAGS="$CPPFLAGS -ieee" fi ;; sh*) if test -n "$GCC"; then # GCC has the option -mieee. CPPFLAGS="$CPPFLAGS -mieee" fi ;; esac ]) gsasl-1.8.1/lib/m4/stdint.m40000644000000000000000000004334113516267371012376 00000000000000# stdint.m4 serial 53 dnl Copyright (C) 2001-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert and Bruno Haible. dnl Test whether is supported or must be substituted. AC_PREREQ([2.61]) AC_DEFUN_ONCE([gl_STDINT_H], [ AC_PREREQ([2.59])dnl AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_LIMITS_H]) AC_REQUIRE([gt_TYPE_WINT_T]) dnl Check for long long int and unsigned long long int. AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) if test $ac_cv_type_long_long_int = yes; then HAVE_LONG_LONG_INT=1 else HAVE_LONG_LONG_INT=0 fi AC_SUBST([HAVE_LONG_LONG_INT]) AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) if test $ac_cv_type_unsigned_long_long_int = yes; then HAVE_UNSIGNED_LONG_LONG_INT=1 else HAVE_UNSIGNED_LONG_LONG_INT=0 fi AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) dnl Check for , in the same way as gl_WCHAR_H does. AC_CHECK_HEADERS_ONCE([wchar.h]) if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi AC_SUBST([HAVE_WCHAR_H]) dnl Check for . dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h. if test $ac_cv_header_inttypes_h = yes; then HAVE_INTTYPES_H=1 else HAVE_INTTYPES_H=0 fi AC_SUBST([HAVE_INTTYPES_H]) dnl Check for . dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h. if test $ac_cv_header_sys_types_h = yes; then HAVE_SYS_TYPES_H=1 else HAVE_SYS_TYPES_H=0 fi AC_SUBST([HAVE_SYS_TYPES_H]) gl_CHECK_NEXT_HEADERS([stdint.h]) if test $ac_cv_header_stdint_h = yes; then HAVE_STDINT_H=1 else HAVE_STDINT_H=0 fi AC_SUBST([HAVE_STDINT_H]) dnl Now see whether we need a substitute . if test $ac_cv_header_stdint_h = yes; then AC_CACHE_CHECK([whether stdint.h conforms to C99], [gl_cv_header_working_stdint_h], [gl_cv_header_working_stdint_h=no AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ #if !(defined WCHAR_MIN && defined WCHAR_MAX) #error "WCHAR_MIN, WCHAR_MAX not defined in " #endif ] gl_STDINT_INCLUDES [ #ifdef INT8_MAX int8_t a1 = INT8_MAX; int8_t a1min = INT8_MIN; #endif #ifdef INT16_MAX int16_t a2 = INT16_MAX; int16_t a2min = INT16_MIN; #endif #ifdef INT32_MAX int32_t a3 = INT32_MAX; int32_t a3min = INT32_MIN; #endif #ifdef INT64_MAX int64_t a4 = INT64_MAX; int64_t a4min = INT64_MIN; #endif #ifdef UINT8_MAX uint8_t b1 = UINT8_MAX; #else typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; #endif #ifdef UINT16_MAX uint16_t b2 = UINT16_MAX; #endif #ifdef UINT32_MAX uint32_t b3 = UINT32_MAX; #endif #ifdef UINT64_MAX uint64_t b4 = UINT64_MAX; #endif int_least8_t c1 = INT8_C (0x7f); int_least8_t c1max = INT_LEAST8_MAX; int_least8_t c1min = INT_LEAST8_MIN; int_least16_t c2 = INT16_C (0x7fff); int_least16_t c2max = INT_LEAST16_MAX; int_least16_t c2min = INT_LEAST16_MIN; int_least32_t c3 = INT32_C (0x7fffffff); int_least32_t c3max = INT_LEAST32_MAX; int_least32_t c3min = INT_LEAST32_MIN; int_least64_t c4 = INT64_C (0x7fffffffffffffff); int_least64_t c4max = INT_LEAST64_MAX; int_least64_t c4min = INT_LEAST64_MIN; uint_least8_t d1 = UINT8_C (0xff); uint_least8_t d1max = UINT_LEAST8_MAX; uint_least16_t d2 = UINT16_C (0xffff); uint_least16_t d2max = UINT_LEAST16_MAX; uint_least32_t d3 = UINT32_C (0xffffffff); uint_least32_t d3max = UINT_LEAST32_MAX; uint_least64_t d4 = UINT64_C (0xffffffffffffffff); uint_least64_t d4max = UINT_LEAST64_MAX; int_fast8_t e1 = INT_FAST8_MAX; int_fast8_t e1min = INT_FAST8_MIN; int_fast16_t e2 = INT_FAST16_MAX; int_fast16_t e2min = INT_FAST16_MIN; int_fast32_t e3 = INT_FAST32_MAX; int_fast32_t e3min = INT_FAST32_MIN; int_fast64_t e4 = INT_FAST64_MAX; int_fast64_t e4min = INT_FAST64_MIN; uint_fast8_t f1 = UINT_FAST8_MAX; uint_fast16_t f2 = UINT_FAST16_MAX; uint_fast32_t f3 = UINT_FAST32_MAX; uint_fast64_t f4 = UINT_FAST64_MAX; #ifdef INTPTR_MAX intptr_t g = INTPTR_MAX; intptr_t gmin = INTPTR_MIN; #endif #ifdef UINTPTR_MAX uintptr_t h = UINTPTR_MAX; #endif intmax_t i = INTMAX_MAX; uintmax_t j = UINTMAX_MAX; /* Check that SIZE_MAX has the correct type, if possible. */ #if 201112 <= __STDC_VERSION__ int k = _Generic (SIZE_MAX, size_t: 0); #elif (2 <= __GNUC__ || defined __IBM__TYPEOF__ \ || (0x5110 <= __SUNPRO_C && !__STDC__)) extern size_t k; extern __typeof__ (SIZE_MAX) k; #endif #include /* for CHAR_BIT */ #define TYPE_MINIMUM(t) \ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) #define TYPE_MAXIMUM(t) \ ((t) ((t) 0 < (t) -1 \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) struct s { int check_PTRDIFF: PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ? 1 : -1; /* Detect bug in FreeBSD 6.0 / ia64. */ int check_SIG_ATOMIC: SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ? 1 : -1; int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; int check_WCHAR: WCHAR_MIN == TYPE_MINIMUM (wchar_t) && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ? 1 : -1; /* Detect bug in mingw. */ int check_WINT: WINT_MIN == TYPE_MINIMUM (wint_t) && WINT_MAX == TYPE_MAXIMUM (wint_t) ? 1 : -1; /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ int check_UINT8_C: (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; int check_UINT16_C: (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; /* Detect bugs in OpenBSD 3.9 stdint.h. */ #ifdef UINT8_MAX int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; #endif #ifdef UINT16_MAX int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; #endif #ifdef UINT32_MAX int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; #endif #ifdef UINT64_MAX int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; #endif int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; }; ]])], [dnl Determine whether the various *_MIN, *_MAX macros are usable dnl in preprocessor expression. We could do it by compiling a test dnl program for each of these macros. It is faster to run a program dnl that inspects the macro expansion. dnl This detects a bug on HP-UX 11.23/ia64. AC_RUN_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include ] gl_STDINT_INCLUDES [ #include #include #define MVAL(macro) MVAL1(macro) #define MVAL1(expression) #expression static const char *macro_values[] = { #ifdef INT8_MAX MVAL (INT8_MAX), #endif #ifdef INT16_MAX MVAL (INT16_MAX), #endif #ifdef INT32_MAX MVAL (INT32_MAX), #endif #ifdef INT64_MAX MVAL (INT64_MAX), #endif #ifdef UINT8_MAX MVAL (UINT8_MAX), #endif #ifdef UINT16_MAX MVAL (UINT16_MAX), #endif #ifdef UINT32_MAX MVAL (UINT32_MAX), #endif #ifdef UINT64_MAX MVAL (UINT64_MAX), #endif NULL }; ]], [[ const char **mv; for (mv = macro_values; *mv != NULL; mv++) { const char *value = *mv; /* Test whether it looks like a cast expression. */ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 || strncmp (value, "((int)"/*)*/, 6) == 0 || strncmp (value, "((signed short)"/*)*/, 15) == 0 || strncmp (value, "((signed char)"/*)*/, 14) == 0) return mv - macro_values + 1; } return 0; ]])], [gl_cv_header_working_stdint_h=yes], [], [case "$host_os" in # Guess yes on native Windows. mingw*) gl_cv_header_working_stdint_h="guessing yes" ;; # In general, assume it works. *) gl_cv_header_working_stdint_h="guessing yes" ;; esac ]) ]) ]) fi HAVE_C99_STDINT_H=0 HAVE_SYS_BITYPES_H=0 HAVE_SYS_INTTYPES_H=0 STDINT_H=stdint.h case "$gl_cv_header_working_stdint_h" in *yes) HAVE_C99_STDINT_H=1 dnl Now see whether the system works without dnl __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defined. AC_CACHE_CHECK([whether stdint.h predates C++11], [gl_cv_header_stdint_predates_cxx11_h], [gl_cv_header_stdint_predates_cxx11_h=yes AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #include ] gl_STDINT_INCLUDES [ intmax_t im = INTMAX_MAX; int32_t i32 = INT32_C (0x7fffffff); ]])], [gl_cv_header_stdint_predates_cxx11_h=no])]) if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then AC_DEFINE([__STDC_CONSTANT_MACROS], [1], [Define to 1 if the system predates C++11.]) AC_DEFINE([__STDC_LIMIT_MACROS], [1], [Define to 1 if the system predates C++11.]) fi AC_CACHE_CHECK([whether stdint.h has UINTMAX_WIDTH etc.], [gl_cv_header_stdint_width], [gl_cv_header_stdint_width=no AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include ]gl_STDINT_INCLUDES[ int iw = UINTMAX_WIDTH; ]])], [gl_cv_header_stdint_width=yes])]) if test "$gl_cv_header_stdint_width" = yes; then STDINT_H= fi ;; *) dnl Check for , and for dnl (used in Linux libc4 >= 4.6.7 and libc5). AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h]) if test $ac_cv_header_sys_inttypes_h = yes; then HAVE_SYS_INTTYPES_H=1 fi if test $ac_cv_header_sys_bitypes_h = yes; then HAVE_SYS_BITYPES_H=1 fi gl_STDINT_TYPE_PROPERTIES ;; esac dnl The substitute stdint.h needs the substitute limit.h's _GL_INTEGER_WIDTH. gl_REPLACE_LIMITS_H AC_SUBST([HAVE_C99_STDINT_H]) AC_SUBST([HAVE_SYS_BITYPES_H]) AC_SUBST([HAVE_SYS_INTTYPES_H]) AC_SUBST([STDINT_H]) AM_CONDITIONAL([GL_GENERATE_STDINT_H], [test -n "$STDINT_H"]) ]) dnl gl_STDINT_BITSIZEOF(TYPES, INCLUDES) dnl Determine the size of each of the given types in bits. AC_DEFUN([gl_STDINT_BITSIZEOF], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), [Define to the number of bits in type ']gltype['.])]) for gltype in $1 ; do AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}], [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [$2 #include ], [result=unknown]) eval gl_cv_bitsizeof_${gltype}=\$result ]) eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then dnl Use a nonempty default, because some compilers, such as IRIX 5 cc, dnl do a syntax check even on unused #if conditions and give an error dnl on valid C code like this: dnl #if 0 dnl # if > 32 dnl # endif dnl #endif result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result]) eval BITSIZEOF_${GLTYPE}=\$result done m4_foreach_w([gltype], [$1], [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ]) dnl gl_CHECK_TYPES_SIGNED(TYPES, INCLUDES) dnl Determine the signedness of each of the given types. dnl Define HAVE_SIGNED_TYPE if type is signed. AC_DEFUN([gl_CHECK_TYPES_SIGNED], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), [Define to 1 if ']gltype[' is a signed integer type.])]) for gltype in $1 ; do AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([$2[ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])], result=yes, result=no) eval gl_cv_type_${gltype}_signed=\$result ]) eval result=\$gl_cv_type_${gltype}_signed GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` if test "$result" = yes; then AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1]) eval HAVE_SIGNED_${GLTYPE}=1 else eval HAVE_SIGNED_${GLTYPE}=0 fi done m4_foreach_w([gltype], [$1], [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ]) dnl gl_INTEGER_TYPE_SUFFIX(TYPES, INCLUDES) dnl Determine the suffix to use for integer constants of the given types. dnl Define t_SUFFIX for each such type. AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX], [Define to l, ll, u, ul, ull, etc., as suitable for constants of type ']gltype['.])]) for gltype in $1 ; do AC_CACHE_CHECK([for $gltype integer literal suffix], [gl_cv_type_${gltype}_suffix], [eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([$2[ extern $gltype foo; extern $gltype1 foo;]])], [eval gl_cv_type_${gltype}_suffix=\$glsuf]) eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done]) GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result]) done m4_foreach_w([gltype], [$1], [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])]) ]) dnl gl_STDINT_INCLUDES AC_DEFUN([gl_STDINT_INCLUDES], [[ /* BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #if HAVE_WCHAR_H # include # include # include #endif ]]) dnl gl_STDINT_TYPE_PROPERTIES dnl Compute HAVE_SIGNED_t, BITSIZEOF_t and t_SUFFIX, for all the types t dnl of interest to stdint.in.h. AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [ AC_REQUIRE([gl_MULTIARCH]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) fi gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) gl_cv_type_ptrdiff_t_signed=yes gl_cv_type_size_t_signed=no if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) fi gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) dnl If wint_t is smaller than 'int', it cannot satisfy the ISO C 99 dnl requirement that wint_t is "unchanged by default argument promotions". dnl In this case gnulib's and override wint_t. dnl Set the variable BITSIZEOF_WINT_T accordingly. if test $GNULIB_OVERRIDES_WINT_T = 1; then BITSIZEOF_WINT_T=32 fi ]) gsasl-1.8.1/lib/m4/pipe.m40000644000000000000000000000066013516267371012023 00000000000000# pipe.m4 serial 2 dnl Copyright (C) 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_PIPE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([pipe]) if test $ac_cv_func_pipe != yes; then HAVE_PIPE=0 fi ]) gsasl-1.8.1/lib/m4/off_t.m40000644000000000000000000000100613516267371012156 00000000000000# off_t.m4 serial 1 dnl Copyright (C) 2012-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Check whether to override the 'off_t' type. dnl Set WINDOWS_64_BIT_OFF_T. AC_DEFUN([gl_TYPE_OFF_T], [ m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([gl_LARGEFILE]) ], [ WINDOWS_64_BIT_OFF_T=0 ]) AC_SUBST([WINDOWS_64_BIT_OFF_T]) ]) gsasl-1.8.1/lib/m4/minmax.m40000644000000000000000000000245513516267371012363 00000000000000# minmax.m4 serial 4 dnl Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.53]) AC_DEFUN([gl_MINMAX], [ AC_REQUIRE([gl_PREREQ_MINMAX]) ]) # Prerequisites of lib/minmax.h. AC_DEFUN([gl_PREREQ_MINMAX], [ gl_MINMAX_IN_HEADER([limits.h]) gl_MINMAX_IN_HEADER([sys/param.h]) ]) dnl gl_MINMAX_IN_HEADER(HEADER) dnl The parameter has to be a literal header name; it cannot be macro, dnl nor a shell variable. (Because autoheader collects only AC_DEFINE dnl invocations with a literal macro name.) AC_DEFUN([gl_MINMAX_IN_HEADER], [ m4_pushdef([header], AS_TR_SH([$1])) m4_pushdef([HEADER], AS_TR_CPP([$1])) AC_CACHE_CHECK([whether <$1> defines MIN and MAX], [gl_cv_minmax_in_]header, [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include <$1> int x = MIN (42, 17);]], [[]])], [gl_cv_minmax_in_]header[=yes], [gl_cv_minmax_in_]header[=no])]) if test $gl_cv_minmax_in_[]header = yes; then AC_DEFINE([HAVE_MINMAX_IN_]HEADER, 1, [Define to 1 if <$1> defines the MIN and MAX macros.]) fi m4_popdef([HEADER]) m4_popdef([header]) ]) gsasl-1.8.1/lib/m4/select.m40000644000000000000000000000662313516267371012352 00000000000000# select.m4 serial 10 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SELECT], [ AC_REQUIRE([gl_HEADER_SYS_SELECT]) AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SOCKETS]) if test "$ac_cv_header_winsock2_h" = yes; then REPLACE_SELECT=1 else dnl On Interix 3.5, select(0, NULL, NULL, NULL, timeout) fails with error dnl EFAULT. AC_CHECK_HEADERS_ONCE([sys/select.h]) AC_CACHE_CHECK([whether select supports a 0 argument], [gl_cv_func_select_supports0], [ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include #if HAVE_SYS_SELECT_H #include #endif int main () { struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0; }]])], [gl_cv_func_select_supports0=yes], [gl_cv_func_select_supports0=no], [ changequote(,)dnl case "$host_os" in # Guess no on Interix. interix*) gl_cv_func_select_supports0="guessing no";; # Guess yes otherwise. *) gl_cv_func_select_supports0="guessing yes";; esac changequote([,])dnl ]) ]) case "$gl_cv_func_select_supports0" in *yes) ;; *) REPLACE_SELECT=1 ;; esac dnl On FreeBSD 8.2, select() doesn't always reject bad fds. AC_CACHE_CHECK([whether select detects invalid fds], [gl_cv_func_select_detects_ebadf], [ AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #if HAVE_SYS_SELECT_H # include #endif #include #include ]],[[ fd_set set; dup2(0, 16); FD_ZERO(&set); FD_SET(16, &set); close(16); struct timeval timeout; timeout.tv_sec = 0; timeout.tv_usec = 5; return select (17, &set, NULL, NULL, &timeout) != -1 || errno != EBADF; ]])], [gl_cv_func_select_detects_ebadf=yes], [gl_cv_func_select_detects_ebadf=no], [ case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_select_detects_ebadf="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_select_detects_ebadf="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_select_detects_ebadf="guessing no" ;; esac ]) ]) case $gl_cv_func_select_detects_ebadf in *yes) ;; *) REPLACE_SELECT=1 ;; esac fi dnl Determine the needed libraries. LIB_SELECT="$LIBSOCKET" if test $REPLACE_SELECT = 1; then case "$host_os" in mingw*) dnl On the MSVC platform, the function MsgWaitForMultipleObjects dnl (used in lib/select.c) requires linking with -luser32. On mingw, dnl it is implicit. AC_LINK_IFELSE( [AC_LANG_SOURCE([[ #define WIN32_LEAN_AND_MEAN #include int main () { MsgWaitForMultipleObjects (0, NULL, 0, 0, 0); return 0; }]])], [], [LIB_SELECT="$LIB_SELECT -luser32"]) ;; esac fi AC_SUBST([LIB_SELECT]) ]) gsasl-1.8.1/lib/m4/yield.m40000644000000000000000000000136613516267371012200 00000000000000# yield.m4 serial 3 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_YIELD], [ AC_REQUIRE([gl_THREADLIB]) dnl On some systems, sched_yield is in librt, rather than in libpthread. YIELD_LIB= if test $gl_threads_api = posix; then dnl Solaris 7...10 has sched_yield in librt, not in libpthread or libc. AC_CHECK_LIB([rt], [sched_yield], [YIELD_LIB=-lrt], [dnl Solaris 2.5.1, 2.6 has sched_yield in libposix4, not librt. AC_CHECK_LIB([posix4], [sched_yield], [YIELD_LIB=-lposix4])]) fi AC_SUBST([YIELD_LIB]) ]) gsasl-1.8.1/lib/m4/gc-hmac-sha1.m40000644000000000000000000000064513516267371013222 00000000000000# gc-hmac-sha1.m4 serial 3 dnl Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GC_HMAC_SHA1], [ AC_REQUIRE([gl_GC]) if test "$ac_cv_libgcrypt" != yes; then gl_SHA1 gl_MEMXOR fi ]) gsasl-1.8.1/lib/m4/pthread_h.m40000644000000000000000000003400213516267371013021 00000000000000# pthread_h.m4 serial 4 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PTHREAD_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_PTHREAD_H_DEFAULTS]) AC_REQUIRE([gl_THREADLIB]) gl_CHECK_NEXT_HEADERS([pthread.h]) dnl On mingw, if --enable-threads=windows or gl_AVOID_WINPTHREAD is used, dnl ignore the from the mingw-w64 winpthreads library. if test $ac_cv_header_pthread_h = yes && test $gl_threads_api != windows; then HAVE_PTHREAD_H=1 else HAVE_PTHREAD_H=0 fi AC_SUBST([HAVE_PTHREAD_H]) AC_CHECK_TYPES([pthread_t, pthread_spinlock_t], [], [], [AC_INCLUDES_DEFAULT[ #if HAVE_PTHREAD_H #include #endif]]) if test $ac_cv_type_pthread_t != yes; then HAVE_PTHREAD_T=0 fi if test $ac_cv_type_pthread_spinlock_t != yes; then HAVE_PTHREAD_SPINLOCK_T=0 fi dnl Constants may be defined as C preprocessor macros or as enum items. AC_CACHE_CHECK([for PTHREAD_CREATE_DETACHED], [gl_cv_const_PTHREAD_CREATE_DETACHED], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_CREATE_DETACHED; ]], [[]])], [gl_cv_const_PTHREAD_CREATE_DETACHED=yes], [gl_cv_const_PTHREAD_CREATE_DETACHED=no]) ]) if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then HAVE_PTHREAD_CREATE_DETACHED=0 fi AC_CACHE_CHECK([for PTHREAD_MUTEX_RECURSIVE], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_MUTEX_RECURSIVE; ]], [[]])], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no]) ]) if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then HAVE_PTHREAD_MUTEX_RECURSIVE=0 fi AC_CACHE_CHECK([for PTHREAD_MUTEX_ROBUST], [gl_cv_const_PTHREAD_MUTEX_ROBUST], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_MUTEX_ROBUST; ]], [[]])], [gl_cv_const_PTHREAD_MUTEX_ROBUST=yes], [gl_cv_const_PTHREAD_MUTEX_ROBUST=no]) ]) if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then HAVE_PTHREAD_MUTEX_ROBUST=0 fi AC_CACHE_CHECK([for PTHREAD_PROCESS_SHARED], [gl_cv_const_PTHREAD_PROCESS_SHARED], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_PROCESS_SHARED; ]], [[]])], [gl_cv_const_PTHREAD_PROCESS_SHARED=yes], [gl_cv_const_PTHREAD_PROCESS_SHARED=no]) ]) if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then HAVE_PTHREAD_PROCESS_SHARED=0 fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [ pthread_create pthread_attr_init pthread_attr_getdetachstate pthread_attr_setdetachstate pthread_attr_destroy pthread_self pthread_equal pthread_detach pthread_join pthread_exit pthread_once pthread_mutex_init pthread_mutexattr_init pthread_mutexattr_gettype pthread_mutexattr_settype pthread_mutexattr_getrobust pthread_mutexattr_setrobust pthread_mutexattr_destroy pthread_mutex_lock pthread_mutex_trylock pthread_mutex_timedlock pthread_mutex_unlock pthread_mutex_destroy pthread_rwlock_init pthread_rwlockattr_init pthread_rwlockattr_destroy pthread_rwlock_rdlock pthread_rwlock_wrlock pthread_rwlock_tryrdlock pthread_rwlock_trywrlock pthread_rwlock_timedrdlock pthread_rwlock_timedwrlock pthread_rwlock_unlock pthread_rwlock_destroy pthread_cond_init pthread_condattr_init pthread_condattr_destroy pthread_cond_wait pthread_cond_timedwait pthread_cond_signal pthread_cond_broadcast pthread_cond_destroy pthread_key_create pthread_setspecific pthread_getspecific pthread_key_delete pthread_spin_init pthread_spin_lock pthread_spin_trylock pthread_spin_unlock pthread_spin_destroy]) AC_REQUIRE([AC_C_RESTRICT]) dnl For backward compatibility with gnulib versions <= 2019-07. LIB_PTHREAD="$LIBMULTITHREAD" AC_SUBST([LIB_PTHREAD]) ]) AC_DEFUN([gl_PTHREAD_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_PTHREAD_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_PTHREAD_H_DEFAULTS], [ GNULIB_PTHREAD_THREAD=0; AC_SUBST([GNULIB_PTHREAD_THREAD]) GNULIB_PTHREAD_ONCE=0; AC_SUBST([GNULIB_PTHREAD_ONCE]) GNULIB_PTHREAD_MUTEX=0; AC_SUBST([GNULIB_PTHREAD_MUTEX]) GNULIB_PTHREAD_RWLOCK=0; AC_SUBST([GNULIB_PTHREAD_RWLOCK]) GNULIB_PTHREAD_COND=0; AC_SUBST([GNULIB_PTHREAD_COND]) GNULIB_PTHREAD_TSS=0; AC_SUBST([GNULIB_PTHREAD_TSS]) GNULIB_PTHREAD_SPIN=0; AC_SUBST([GNULIB_PTHREAD_SPIN]) GNULIB_PTHREAD_MUTEX_TIMEDLOCK=0; AC_SUBST([GNULIB_PTHREAD_MUTEX_TIMEDLOCK]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_PTHREAD_T=1; AC_SUBST([HAVE_PTHREAD_T]) HAVE_PTHREAD_SPINLOCK_T=1; AC_SUBST([HAVE_PTHREAD_SPINLOCK_T]) HAVE_PTHREAD_CREATE_DETACHED=1; AC_SUBST([HAVE_PTHREAD_CREATE_DETACHED]) HAVE_PTHREAD_MUTEX_RECURSIVE=1; AC_SUBST([HAVE_PTHREAD_MUTEX_RECURSIVE]) HAVE_PTHREAD_MUTEX_ROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEX_ROBUST]) HAVE_PTHREAD_PROCESS_SHARED=1; AC_SUBST([HAVE_PTHREAD_PROCESS_SHARED]) HAVE_PTHREAD_CREATE=1; AC_SUBST([HAVE_PTHREAD_CREATE]) HAVE_PTHREAD_ATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_ATTR_INIT]) HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; AC_SUBST([HAVE_PTHREAD_ATTR_GETDETACHSTATE]) HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; AC_SUBST([HAVE_PTHREAD_ATTR_SETDETACHSTATE]) HAVE_PTHREAD_ATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_ATTR_DESTROY]) HAVE_PTHREAD_SELF=1; AC_SUBST([HAVE_PTHREAD_SELF]) HAVE_PTHREAD_EQUAL=1; AC_SUBST([HAVE_PTHREAD_EQUAL]) HAVE_PTHREAD_DETACH=1; AC_SUBST([HAVE_PTHREAD_DETACH]) HAVE_PTHREAD_JOIN=1; AC_SUBST([HAVE_PTHREAD_JOIN]) HAVE_PTHREAD_EXIT=1; AC_SUBST([HAVE_PTHREAD_EXIT]) HAVE_PTHREAD_ONCE=1; AC_SUBST([HAVE_PTHREAD_ONCE]) HAVE_PTHREAD_MUTEX_INIT=1; AC_SUBST([HAVE_PTHREAD_MUTEX_INIT]) HAVE_PTHREAD_MUTEXATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_INIT]) HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_GETTYPE]) HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_SETTYPE]) HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_GETROBUST]) HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_SETROBUST]) HAVE_PTHREAD_MUTEXATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_DESTROY]) HAVE_PTHREAD_MUTEX_LOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_LOCK]) HAVE_PTHREAD_MUTEX_TRYLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_TRYLOCK]) HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_TIMEDLOCK]) HAVE_PTHREAD_MUTEX_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_UNLOCK]) HAVE_PTHREAD_MUTEX_DESTROY=1; AC_SUBST([HAVE_PTHREAD_MUTEX_DESTROY]) HAVE_PTHREAD_RWLOCK_INIT=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_INIT]) HAVE_PTHREAD_RWLOCKATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_RWLOCKATTR_INIT]) HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_RWLOCKATTR_DESTROY]) HAVE_PTHREAD_RWLOCK_RDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_RDLOCK]) HAVE_PTHREAD_RWLOCK_WRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_WRLOCK]) HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TRYRDLOCK]) HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TRYWRLOCK]) HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK]) HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK]) HAVE_PTHREAD_RWLOCK_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_UNLOCK]) HAVE_PTHREAD_RWLOCK_DESTROY=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_DESTROY]) HAVE_PTHREAD_COND_INIT=1; AC_SUBST([HAVE_PTHREAD_COND_INIT]) HAVE_PTHREAD_CONDATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_CONDATTR_INIT]) HAVE_PTHREAD_CONDATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_CONDATTR_DESTROY]) HAVE_PTHREAD_COND_WAIT=1; AC_SUBST([HAVE_PTHREAD_COND_WAIT]) HAVE_PTHREAD_COND_TIMEDWAIT=1; AC_SUBST([HAVE_PTHREAD_COND_TIMEDWAIT]) HAVE_PTHREAD_COND_SIGNAL=1; AC_SUBST([HAVE_PTHREAD_COND_SIGNAL]) HAVE_PTHREAD_COND_BROADCAST=1; AC_SUBST([HAVE_PTHREAD_COND_BROADCAST]) HAVE_PTHREAD_COND_DESTROY=1; AC_SUBST([HAVE_PTHREAD_COND_DESTROY]) HAVE_PTHREAD_KEY_CREATE=1; AC_SUBST([HAVE_PTHREAD_KEY_CREATE]) HAVE_PTHREAD_SETSPECIFIC=1; AC_SUBST([HAVE_PTHREAD_SETSPECIFIC]) HAVE_PTHREAD_GETSPECIFIC=1; AC_SUBST([HAVE_PTHREAD_GETSPECIFIC]) HAVE_PTHREAD_KEY_DELETE=1; AC_SUBST([HAVE_PTHREAD_KEY_DELETE]) HAVE_PTHREAD_SPIN_INIT=1; AC_SUBST([HAVE_PTHREAD_SPIN_INIT]) HAVE_PTHREAD_SPIN_LOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_LOCK]) HAVE_PTHREAD_SPIN_TRYLOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_TRYLOCK]) HAVE_PTHREAD_SPIN_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_UNLOCK]) HAVE_PTHREAD_SPIN_DESTROY=1; AC_SUBST([HAVE_PTHREAD_SPIN_DESTROY]) REPLACE_PTHREAD_CREATE=0; AC_SUBST([REPLACE_PTHREAD_CREATE]) REPLACE_PTHREAD_ATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_ATTR_INIT]) REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; AC_SUBST([REPLACE_PTHREAD_ATTR_GETDETACHSTATE]) REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; AC_SUBST([REPLACE_PTHREAD_ATTR_SETDETACHSTATE]) REPLACE_PTHREAD_ATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_ATTR_DESTROY]) REPLACE_PTHREAD_SELF=0; AC_SUBST([REPLACE_PTHREAD_SELF]) REPLACE_PTHREAD_EQUAL=0; AC_SUBST([REPLACE_PTHREAD_EQUAL]) REPLACE_PTHREAD_DETACH=0; AC_SUBST([REPLACE_PTHREAD_DETACH]) REPLACE_PTHREAD_JOIN=0; AC_SUBST([REPLACE_PTHREAD_JOIN]) REPLACE_PTHREAD_EXIT=0; AC_SUBST([REPLACE_PTHREAD_EXIT]) REPLACE_PTHREAD_ONCE=0; AC_SUBST([REPLACE_PTHREAD_ONCE]) REPLACE_PTHREAD_MUTEX_INIT=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_INIT]) REPLACE_PTHREAD_MUTEXATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_INIT]) REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_GETTYPE]) REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_SETTYPE]) REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_GETROBUST]) REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_SETROBUST]) REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_DESTROY]) REPLACE_PTHREAD_MUTEX_LOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_LOCK]) REPLACE_PTHREAD_MUTEX_TRYLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_TRYLOCK]) REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_TIMEDLOCK]) REPLACE_PTHREAD_MUTEX_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_UNLOCK]) REPLACE_PTHREAD_MUTEX_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_DESTROY]) REPLACE_PTHREAD_RWLOCK_INIT=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_INIT]) REPLACE_PTHREAD_RWLOCKATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_RWLOCKATTR_INIT]) REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_RWLOCKATTR_DESTROY]) REPLACE_PTHREAD_RWLOCK_RDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_RDLOCK]) REPLACE_PTHREAD_RWLOCK_WRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_WRLOCK]) REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TRYRDLOCK]) REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TRYWRLOCK]) REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK]) REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK]) REPLACE_PTHREAD_RWLOCK_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_UNLOCK]) REPLACE_PTHREAD_RWLOCK_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_DESTROY]) REPLACE_PTHREAD_COND_INIT=0; AC_SUBST([REPLACE_PTHREAD_COND_INIT]) REPLACE_PTHREAD_CONDATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_CONDATTR_INIT]) REPLACE_PTHREAD_CONDATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_CONDATTR_DESTROY]) REPLACE_PTHREAD_COND_WAIT=0; AC_SUBST([REPLACE_PTHREAD_COND_WAIT]) REPLACE_PTHREAD_COND_TIMEDWAIT=0; AC_SUBST([REPLACE_PTHREAD_COND_TIMEDWAIT]) REPLACE_PTHREAD_COND_SIGNAL=0; AC_SUBST([REPLACE_PTHREAD_COND_SIGNAL]) REPLACE_PTHREAD_COND_BROADCAST=0; AC_SUBST([REPLACE_PTHREAD_COND_BROADCAST]) REPLACE_PTHREAD_COND_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_COND_DESTROY]) REPLACE_PTHREAD_KEY_CREATE=0; AC_SUBST([REPLACE_PTHREAD_KEY_CREATE]) REPLACE_PTHREAD_SETSPECIFIC=0; AC_SUBST([REPLACE_PTHREAD_SETSPECIFIC]) REPLACE_PTHREAD_GETSPECIFIC=0; AC_SUBST([REPLACE_PTHREAD_GETSPECIFIC]) REPLACE_PTHREAD_KEY_DELETE=0; AC_SUBST([REPLACE_PTHREAD_KEY_DELETE]) REPLACE_PTHREAD_SPIN_INIT=0; AC_SUBST([REPLACE_PTHREAD_SPIN_INIT]) REPLACE_PTHREAD_SPIN_LOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_LOCK]) REPLACE_PTHREAD_SPIN_TRYLOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_TRYLOCK]) REPLACE_PTHREAD_SPIN_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_UNLOCK]) REPLACE_PTHREAD_SPIN_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_SPIN_DESTROY]) ]) gsasl-1.8.1/lib/m4/strerror_r.m40000644000000000000000000001506713516267371013300 00000000000000# strerror_r.m4 serial 19 dnl Copyright (C) 2002, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRERROR_R], [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS]) dnl Persuade Solaris to declare strerror_r(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Some systems don't declare strerror_r() if _THREAD_SAFE and _REENTRANT dnl are not defined. AC_CHECK_DECLS_ONCE([strerror_r]) if test $ac_cv_have_decl_strerror_r = no; then HAVE_DECL_STRERROR_R=0 fi if test $ac_cv_func_strerror_r = yes; then if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then if test $gl_cv_func_strerror_r_posix_signature = yes; then case "$gl_cv_func_strerror_r_works" in dnl The system's strerror_r has bugs. Replace it. *no) REPLACE_STRERROR_R=1 ;; esac else dnl The system's strerror_r() has a wrong signature. Replace it. REPLACE_STRERROR_R=1 fi else dnl The system's strerror_r() cannot know about the new errno values we dnl add to , or any fix for strerror(0). Replace it. REPLACE_STRERROR_R=1 fi fi ]) # Prerequisites of lib/strerror_r.c. AC_DEFUN([gl_PREREQ_STRERROR_R], [ dnl glibc >= 2.3.4 and cygwin 1.7.9 have a function __xpg_strerror_r. AC_CHECK_FUNCS_ONCE([__xpg_strerror_r]) AC_CHECK_FUNCS_ONCE([catgets]) AC_CHECK_FUNCS_ONCE([snprintf]) ]) # Detect if strerror_r works, but without affecting whether a replacement # strerror_r will be used. AC_DEFUN([gl_FUNC_STRERROR_R_WORKS], [ AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_FUNC_STRERROR_0]) AC_CHECK_FUNCS_ONCE([strerror_r]) if test $ac_cv_func_strerror_r = yes; then if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then dnl The POSIX prototype is: int strerror_r (int, char *, size_t); dnl glibc, Cygwin: char *strerror_r (int, char *, size_t); dnl AIX 5.1, OSF/1 5.1: int strerror_r (int, char *, int); AC_CACHE_CHECK([for strerror_r with POSIX signature], [gl_cv_func_strerror_r_posix_signature], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int strerror_r (int, char *, size_t); ]], [])], [gl_cv_func_strerror_r_posix_signature=yes], [gl_cv_func_strerror_r_posix_signature=no]) ]) if test $gl_cv_func_strerror_r_posix_signature = yes; then dnl AIX 6.1 strerror_r fails by returning -1, not an error number. dnl HP-UX 11.31 strerror_r always fails when the buffer length argument dnl is less than 80. dnl FreeBSD 8.s strerror_r claims failure on 0 dnl Mac OS X 10.5 strerror_r treats 0 like -1 dnl Solaris 10 strerror_r corrupts errno on failure AC_CACHE_CHECK([whether strerror_r works], [gl_cv_func_strerror_r_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[int result = 0; char buf[79]; if (strerror_r (EACCES, buf, 0) < 0) result |= 1; errno = 0; if (strerror_r (EACCES, buf, sizeof buf) != 0) result |= 2; strcpy (buf, "Unknown"); if (strerror_r (0, buf, sizeof buf) != 0) result |= 4; if (errno) result |= 8; if (strstr (buf, "nknown") || strstr (buf, "ndefined")) result |= 0x10; errno = 0; *buf = 0; if (strerror_r (-3, buf, sizeof buf) < 0) result |= 0x20; if (errno) result |= 0x40; if (!*buf) result |= 0x80; return result; ]])], [gl_cv_func_strerror_r_works=yes], [gl_cv_func_strerror_r_works=no], [ changequote(,)dnl case "$host_os" in # Guess no on AIX. aix*) gl_cv_func_strerror_r_works="guessing no";; # Guess no on HP-UX. hpux*) gl_cv_func_strerror_r_works="guessing no";; # Guess no on BSD variants. *bsd*) gl_cv_func_strerror_r_works="guessing no";; # Guess yes otherwise. *) gl_cv_func_strerror_r_works="guessing yes";; esac changequote([,])dnl ]) ]) else dnl The system's strerror() has a wrong signature. dnl glibc >= 2.3.4 and cygwin 1.7.9 have a function __xpg_strerror_r. AC_CHECK_FUNCS_ONCE([__xpg_strerror_r]) dnl In glibc < 2.14, __xpg_strerror_r does not populate buf on failure. dnl In cygwin < 1.7.10, __xpg_strerror_r clobbers strerror's buffer. if test $ac_cv_func___xpg_strerror_r = yes; then AC_CACHE_CHECK([whether __xpg_strerror_r works], [gl_cv_func_strerror_r_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include extern #ifdef __cplusplus "C" #endif int __xpg_strerror_r(int, char *, size_t); ]], [[int result = 0; char buf[256] = "^"; char copy[256]; char *str = strerror (-1); strcpy (copy, str); if (__xpg_strerror_r (-2, buf, 1) == 0) result |= 1; if (*buf) result |= 2; __xpg_strerror_r (-2, buf, 256); if (strcmp (str, copy)) result |= 4; return result; ]])], [gl_cv_func_strerror_r_works=yes], [gl_cv_func_strerror_r_works=no], [dnl Guess no on all platforms that have __xpg_strerror_r, dnl at least until fixed glibc and cygwin are more common. gl_cv_func_strerror_r_works="guessing no" ]) ]) fi fi fi fi ]) gsasl-1.8.1/lib/m4/limits-h.m40000644000000000000000000000244213516267371012614 00000000000000dnl Check whether limits.h has needed features. dnl Copyright 2016-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. AC_DEFUN_ONCE([gl_LIMITS_H], [ gl_CHECK_NEXT_HEADERS([limits.h]) AC_CACHE_CHECK([whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.], [gl_cv_header_limits_width], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include long long llm = LLONG_MAX; int wb = WORD_BIT; int ullw = ULLONG_WIDTH; ]])], [gl_cv_header_limits_width=yes], [gl_cv_header_limits_width=no])]) if test "$gl_cv_header_limits_width" = yes; then LIMITS_H= else LIMITS_H=limits.h fi AC_SUBST([LIMITS_H]) AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) ]) dnl Unconditionally enables the replacement of . AC_DEFUN([gl_REPLACE_LIMITS_H], [ AC_REQUIRE([gl_LIMITS_H]) LIMITS_H='limits.h' AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) ]) gsasl-1.8.1/lib/m4/valgrind-tests.m40000644000000000000000000000240513516267371014033 00000000000000# valgrind-tests.m4 serial 4 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # gl_VALGRIND_TESTS() # ------------------- # Check if valgrind is available, and set VALGRIND to it if available. AC_DEFUN([gl_VALGRIND_TESTS], [ AC_ARG_ENABLE([valgrind-tests], AS_HELP_STRING([--disable-valgrind-tests], [don't try to run self tests under valgrind]), [opt_valgrind_tests=$enableval], [opt_valgrind_tests=yes]) # Run self-tests under valgrind? if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then AC_CHECK_PROGS([VALGRIND], [valgrind]) if test "$VALGRIND"; then AC_CACHE_CHECK([for valgrind options for tests], [gl_cv_opt_valgrind_tests], [gl_cv_opt_valgrind_tests="-q --error-exitcode=1 --leak-check=full" $VALGRIND $gl_valgrind_opts ls > /dev/null 2>&1 || gl_cv_opt_valgrind_tests=no]) if test "$gl_cv_opt_valgrind_tests" != no; then VALGRIND="$VALGRIND $gl_cv_opt_valgrind_tests" else VALGRIND= fi fi fi ]) gsasl-1.8.1/lib/m4/socklen.m40000644000000000000000000000615713516267371012533 00000000000000# socklen.m4 serial 11 dnl Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Albert Chin, Windows fixes from Simon Josefsson. dnl Check for socklen_t: historically on BSD it is an int, and in dnl POSIX 1g it is a type of its own, but some platforms use different dnl types for the argument to getsockopt, getpeername, etc.: dnl HP-UX 10.20, IRIX 6.5, OSF/1 4.0, Interix 3.5, BeOS. dnl So we have to test to find something that will work. AC_DEFUN([gl_TYPE_SOCKLEN_T], [AC_REQUIRE([gl_CHECK_SOCKET_HEADERS])dnl AC_CHECK_TYPE([socklen_t], , [AC_CACHE_CHECK([for socklen_t equivalent], [gl_cv_socklen_t_equiv], [# Systems have either "struct sockaddr *" or # "void *" as the second argument to getpeername gl_cv_socklen_t_equiv= for arg2 in "struct sockaddr" void; do for t in int size_t "unsigned int" "long int" "unsigned long int"; do AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[#include #include int getpeername (int, $arg2 *, $t *);]], [[$t len; getpeername (0, 0, &len);]])], [gl_cv_socklen_t_equiv="$t"]) test "$gl_cv_socklen_t_equiv" != "" && break done test "$gl_cv_socklen_t_equiv" != "" && break done if test "$gl_cv_socklen_t_equiv" = ""; then AC_MSG_ERROR([Cannot find a type to use in place of socklen_t]) fi ]) AC_DEFINE_UNQUOTED([socklen_t], [$gl_cv_socklen_t_equiv], [type to use in place of socklen_t if not defined])], [gl_SOCKET_HEADERS])]) dnl On mingw32, socklen_t is in ws2tcpip.h ('int'), so we try to find dnl it there too. But on Cygwin, wc2tcpip.h must not be included. Users dnl of this module should use the same include pattern as gl_SOCKET_HEADERS. dnl When you change this macro, keep also in sync: dnl - gl_CHECK_SOCKET_HEADERS, dnl - the Include section of modules/socklen. AC_DEFUN([gl_SOCKET_HEADERS], [ /* is not needed according to POSIX, but the in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #if HAVE_SYS_SOCKET_H # include #elif HAVE_WS2TCPIP_H # include #endif ]) dnl Tests for the existence of the header for socket facilities. dnl Defines the C macros HAVE_SYS_SOCKET_H, HAVE_WS2TCPIP_H. dnl This macro must match gl_SOCKET_HEADERS. AC_DEFUN([gl_CHECK_SOCKET_HEADERS], [AC_CHECK_HEADERS_ONCE([sys/socket.h]) if test $ac_cv_header_sys_socket_h = no; then dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make dnl the check for those headers unconditional; yet cygwin reports dnl that the headers are present but cannot be compiled (since on dnl cygwin, all socket information should come from sys/socket.h). AC_CHECK_HEADERS([ws2tcpip.h]) fi ]) gsasl-1.8.1/lib/m4/visibility.m40000644000000000000000000000630113516267371013253 00000000000000# visibility.m4 serial 6 dnl Copyright (C) 2005, 2008, 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Tests whether the compiler supports the command-line option dnl -fvisibility=hidden and the function and variable attributes dnl __attribute__((__visibility__("hidden"))) and dnl __attribute__((__visibility__("default"))). dnl Does *not* test for __visibility__("protected") - which has tricky dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on dnl Mac OS X. dnl Does *not* test for __visibility__("internal") - which has processor dnl dependent semantics. dnl Does *not* test for #pragma GCC visibility push(hidden) - which is dnl "really only recommended for legacy code". dnl Set the variable CFLAG_VISIBILITY. dnl Defines and sets the variable HAVE_VISIBILITY. AC_DEFUN([gl_VISIBILITY], [ AC_REQUIRE([AC_PROG_CC]) CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then dnl First, check whether -Werror can be added to the command line, or dnl whether it leads to an error because of some other option that the dnl user has put into $CC $CFLAGS $CPPFLAGS. AC_CACHE_CHECK([whether the -Werror option is usable], [gl_cv_cc_vis_werror], [gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [gl_cv_cc_vis_werror=yes], [gl_cv_cc_vis_werror=no]) CFLAGS="$gl_save_CFLAGS" ]) dnl Now check whether visibility declarations are supported. AC_CACHE_CHECK([for simple visibility declarations], [gl_cv_cc_visibility], [gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" dnl We use the option -Werror and a function dummyfunc, because on some dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning dnl "visibility attribute not supported in this configuration; ignored" dnl at the first function definition in every compilation unit, and we dnl don't want to use the option in this case. if test $gl_cv_cc_vis_werror = yes; then CFLAGS="$CFLAGS -Werror" fi AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); void dummyfunc (void) {} ]], [[]])], [gl_cv_cc_visibility=yes], [gl_cv_cc_visibility=no]) CFLAGS="$gl_save_CFLAGS" ]) if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi AC_SUBST([CFLAG_VISIBILITY]) AC_SUBST([HAVE_VISIBILITY]) AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) ]) gsasl-1.8.1/lib/m4/isblank.m40000644000000000000000000000103213516267371012503 00000000000000# isblank.m4 serial 3 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_ISBLANK], [ dnl Persuade glibc to declare isblank(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([isblank]) if test $ac_cv_func_isblank = no; then HAVE_ISBLANK=0 fi ]) gsasl-1.8.1/lib/m4/stdlib_h.m40000644000000000000000000001513213516267371012656 00000000000000# stdlib_h.m4 serial 48 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_STDLIB_H], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) gl_NEXT_HEADERS([stdlib.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include #if HAVE_SYS_LOADAVG_H /* OpenIndiana has a bug: must be included before . */ # include # include #endif #if HAVE_RANDOM_H # include #endif ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt initstate initstate_r mbtowc mkdtemp mkostemp mkostemps mkstemp mkstemps posix_openpt ptsname ptsname_r qsort_r random random_r reallocarray realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtold strtoll strtoull unlockpt unsetenv]) ]) AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_STDLIB_H_DEFAULTS], [ GNULIB__EXIT=0; AC_SUBST([GNULIB__EXIT]) GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) GNULIB_MBTOWC=0; AC_SUBST([GNULIB_MBTOWC]) GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS]) GNULIB_POSIX_OPENPT=0; AC_SUBST([GNULIB_POSIX_OPENPT]) GNULIB_PTSNAME=0; AC_SUBST([GNULIB_PTSNAME]) GNULIB_PTSNAME_R=0; AC_SUBST([GNULIB_PTSNAME_R]) GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) GNULIB_QSORT_R=0; AC_SUBST([GNULIB_QSORT_R]) GNULIB_RANDOM=0; AC_SUBST([GNULIB_RANDOM]) GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) GNULIB_REALLOCARRAY=0; AC_SUBST([GNULIB_REALLOCARRAY]) GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH]) GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) GNULIB_SECURE_GETENV=0; AC_SUBST([GNULIB_SECURE_GETENV]) GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) GNULIB_STRTOLD=0; AC_SUBST([GNULIB_STRTOLD]) GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) HAVE_GRANTPT=1; AC_SUBST([HAVE_GRANTPT]) HAVE_INITSTATE=1; AC_SUBST([HAVE_INITSTATE]) HAVE_DECL_INITSTATE=1; AC_SUBST([HAVE_DECL_INITSTATE]) HAVE_MBTOWC=1; AC_SUBST([HAVE_MBTOWC]) HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP]) HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS]) HAVE_MKSTEMP=1; AC_SUBST([HAVE_MKSTEMP]) HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS]) HAVE_POSIX_OPENPT=1; AC_SUBST([HAVE_POSIX_OPENPT]) HAVE_PTSNAME=1; AC_SUBST([HAVE_PTSNAME]) HAVE_PTSNAME_R=1; AC_SUBST([HAVE_PTSNAME_R]) HAVE_QSORT_R=1; AC_SUBST([HAVE_QSORT_R]) HAVE_RANDOM=1; AC_SUBST([HAVE_RANDOM]) HAVE_RANDOM_H=1; AC_SUBST([HAVE_RANDOM_H]) HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) HAVE_REALLOCARRAY=1; AC_SUBST([HAVE_REALLOCARRAY]) HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH]) HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) HAVE_SECURE_GETENV=1; AC_SUBST([HAVE_SECURE_GETENV]) HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) HAVE_DECL_SETENV=1; AC_SUBST([HAVE_DECL_SETENV]) HAVE_SETSTATE=1; AC_SUBST([HAVE_SETSTATE]) HAVE_DECL_SETSTATE=1; AC_SUBST([HAVE_DECL_SETSTATE]) HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) HAVE_STRTOLD=1; AC_SUBST([HAVE_STRTOLD]) HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT]) HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV]) REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC]) REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) REPLACE_INITSTATE=0; AC_SUBST([REPLACE_INITSTATE]) REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC]) REPLACE_MBTOWC=0; AC_SUBST([REPLACE_MBTOWC]) REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) REPLACE_PTSNAME=0; AC_SUBST([REPLACE_PTSNAME]) REPLACE_PTSNAME_R=0; AC_SUBST([REPLACE_PTSNAME_R]) REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) REPLACE_QSORT_R=0; AC_SUBST([REPLACE_QSORT_R]) REPLACE_RANDOM=0; AC_SUBST([REPLACE_RANDOM]) REPLACE_RANDOM_R=0; AC_SUBST([REPLACE_RANDOM_R]) REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH]) REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) REPLACE_SETSTATE=0; AC_SUBST([REPLACE_SETSTATE]) REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) REPLACE_STRTOLD=0; AC_SUBST([REPLACE_STRTOLD]) REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB]) ]) gsasl-1.8.1/lib/m4/gettimeofday.m40000644000000000000000000001131113516267371013542 00000000000000# serial 26 # Copyright (C) 2001-2003, 2005, 2007, 2009-2019 Free Software Foundation, Inc. # 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. dnl From Jim Meyering. AC_DEFUN([gl_FUNC_GETTIMEOFDAY], [ AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_HEADER_SYS_TIME_H]) AC_CHECK_FUNCS_ONCE([gettimeofday]) gl_gettimeofday_timezone=void if test $ac_cv_func_gettimeofday != yes; then HAVE_GETTIMEOFDAY=0 else gl_FUNC_GETTIMEOFDAY_CLOBBER AC_CACHE_CHECK([for gettimeofday with POSIX signature], [gl_cv_func_gettimeofday_posix_signature], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include struct timeval c; int gettimeofday (struct timeval *restrict, void *restrict); ]], [[/* glibc uses struct timezone * rather than the POSIX void * if _GNU_SOURCE is defined. However, since the only portable use of gettimeofday uses NULL as the second parameter, and since the glibc definition is actually more typesafe, it is not worth wrapping this to get a compliant signature. */ int (*f) (struct timeval *restrict, void *restrict) = gettimeofday; int x = f (&c, 0); return !(x | c.tv_sec | c.tv_usec); ]])], [gl_cv_func_gettimeofday_posix_signature=yes], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int gettimeofday (struct timeval *restrict, struct timezone *restrict); ]])], [gl_cv_func_gettimeofday_posix_signature=almost], [gl_cv_func_gettimeofday_posix_signature=no])])]) if test $gl_cv_func_gettimeofday_posix_signature = almost; then gl_gettimeofday_timezone='struct timezone' elif test $gl_cv_func_gettimeofday_posix_signature != yes; then REPLACE_GETTIMEOFDAY=1 fi dnl If we override 'struct timeval', we also have to override gettimeofday. if test $REPLACE_STRUCT_TIMEVAL = 1; then REPLACE_GETTIMEOFDAY=1 fi dnl On mingw, the original gettimeofday has only a precision of 15.6 dnl milliseconds. So override it. case "$host_os" in mingw*) REPLACE_GETTIMEOFDAY=1 ;; esac fi AC_DEFINE_UNQUOTED([GETTIMEOFDAY_TIMEZONE], [$gl_gettimeofday_timezone], [Define this to 'void' or 'struct timezone' to match the system's declaration of the second argument to gettimeofday.]) ]) dnl See if gettimeofday clobbers the static buffer that localtime uses dnl for its return value. The gettimeofday function from Mac OS X 10.0.4 dnl (i.e., Darwin 1.3.7) has this problem. dnl dnl If it does, then arrange to use gettimeofday and localtime only via dnl the wrapper functions that work around the problem. AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER], [ AC_REQUIRE([gl_HEADER_SYS_TIME_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS]) AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer], [gl_cv_func_gettimeofday_clobber], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include #include ]], [[ time_t t = 0; struct tm *lt; struct tm saved_lt; struct timeval tv; lt = localtime (&t); saved_lt = *lt; gettimeofday (&tv, NULL); return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0; ]])], [gl_cv_func_gettimeofday_clobber=no], [gl_cv_func_gettimeofday_clobber=yes], [# When cross-compiling: case "$host_os" in # Guess all is fine on glibc systems. *-gnu* | gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; # Guess all is fine on musl systems. *-musl*) gl_cv_func_gettimeofday_clobber="guessing no" ;; # Guess no on native Windows. mingw*) gl_cv_func_gettimeofday_clobber="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; esac ])]) case "$gl_cv_func_gettimeofday_clobber" in *yes) REPLACE_GETTIMEOFDAY=1 AC_DEFINE([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [1], [Define if gettimeofday clobbers the localtime buffer.]) gl_LOCALTIME_BUFFER_NEEDED ;; esac ]) # Prerequisites of lib/gettimeofday.c. AC_DEFUN([gl_PREREQ_GETTIMEOFDAY], [:]) gsasl-1.8.1/lib/m4/stdbool.m40000644000000000000000000000671613516267371012544 00000000000000# Check for stdbool.h that conforms to C99. dnl Copyright (C) 2002-2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. #serial 7 # Prepare for substituting if it is not supported. AC_DEFUN([AM_STDBOOL_H], [ AC_REQUIRE([AC_CHECK_HEADER_STDBOOL]) # Define two additional variables used in the Makefile substitution. if test "$ac_cv_header_stdbool_h" = yes; then STDBOOL_H='' else STDBOOL_H='stdbool.h' fi AC_SUBST([STDBOOL_H]) AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"]) if test "$ac_cv_type__Bool" = yes; then HAVE__BOOL=1 else HAVE__BOOL=0 fi AC_SUBST([HAVE__BOOL]) ]) # AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future. AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H]) # This version of the macro is needed in autoconf <= 2.68. AC_DEFUN([AC_CHECK_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99], [ac_cv_header_stdbool_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #ifdef __cplusplus typedef bool Bool; #else typedef _Bool Bool; #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif struct s { Bool s: 1; Bool t; bool u: 1; bool v; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; char d[(bool) 0.5 == true ? 1 : -1]; /* See body of main program for 'e'. */ char f[(Bool) 0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (Bool)]; char i[sizeof s.t]; enum { j = false, k = true, l = false * true, m = true * 256 }; /* The following fails for HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ Bool q = true; Bool *pq = &q; bool *qq = &q; ]], [[ bool e = &s; *pq |= q; *pq |= ! q; *qq |= q; *qq |= ! q; /* Refer to every declared value, to avoid compiler optimizations. */ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + !m + !n + !o + !p + !q + !pq + !qq); ]])], [ac_cv_header_stdbool_h=yes], [ac_cv_header_stdbool_h=no])]) AC_CHECK_TYPES([_Bool]) ]) gsasl-1.8.1/lib/m4/threadlib.m40000644000000000000000000003357513516267371013037 00000000000000# threadlib.m4 serial 20 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.60]) dnl gl_THREADLIB dnl ------------ dnl Tests for a multithreading library to be used. dnl If the configure.ac contains a definition of the gl_THREADLIB_DEFAULT_NO dnl (it must be placed before the invocation of gl_THREADLIB_EARLY!), then the dnl default is 'no', otherwise it is system dependent. In both cases, the user dnl can change the choice through the options --enable-threads=choice or dnl --disable-threads. dnl Defines at most one of the macros USE_POSIX_THREADS, USE_WINDOWS_THREADS. dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with dnl libtool). dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for dnl programs that really need multithread functionality. The difference dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak dnl symbols, typically LIBTHREAD is empty whereas LIBMULTITHREAD is not. dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for dnl multithread-safe programs. dnl Since support for GNU pth was removed, $LTLIBTHREAD and $LIBTHREAD have the dnl same value, and similarly $LTLIBMULTITHREAD and $LIBMULTITHREAD have the dnl same value. Only system libraries are needed. AC_DEFUN([gl_THREADLIB_EARLY], [ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) ]) dnl The guts of gl_THREADLIB_EARLY. Needs to be expanded only once. AC_DEFUN([gl_THREADLIB_EARLY_BODY], [ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that dnl influences the result of the autoconf tests that test for *_unlocked dnl declarations, on AIX 5 at least. Therefore it must come early. AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl AC_BEFORE([$0], [gl_ARGP])dnl AC_REQUIRE([AC_CANONICAL_HOST]) dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl Check for multithreading. m4_ifdef([gl_THREADLIB_DEFAULT_NO], [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])], [m4_divert_text([DEFAULTS], [gl_use_threads_default=])]) m4_divert_text([DEFAULTS], [gl_use_winpthreads_default=]) AC_ARG_ENABLE([threads], AC_HELP_STRING([--enable-threads={posix|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [ AC_HELP_STRING([--disable-threads], [build without multithread safety])]), [gl_use_threads=$enableval], [if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else changequote(,)dnl case "$host_os" in dnl Disable multithreading by default on OSF/1, because it interferes dnl with fork()/exec(): When msgexec is linked with -lpthread, its dnl child process gets an endless segmentation fault inside execvp(). osf*) gl_use_threads=no ;; dnl Disable multithreading by default on Cygwin 1.5.x, because it has dnl bugs that lead to endless loops or crashes. See dnl . cygwin*) case `uname -r` in 1.[0-5].*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac ;; dnl Obey gl_AVOID_WINPTHREAD on mingw. mingw*) case "$gl_use_winpthreads_default" in yes) gl_use_threads=posix ;; no) gl_use_threads=windows ;; *) gl_use_threads=yes ;; esac ;; *) gl_use_threads=yes ;; esac changequote([,])dnl fi ]) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # For using : case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_LINK_IFELSE test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac fi ]) dnl The guts of gl_THREADLIB. Needs to be expanded only once. AC_DEFUN([gl_THREADLIB_BODY], [ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then dnl Check whether the compiler and linker support weak declarations. AC_CACHE_CHECK([whether imported symbols can be declared weak], [gl_cv_have_weak], [gl_cv_have_weak=no dnl First, test whether the compiler accepts it syntactically. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[extern void xyzzy (); #pragma weak xyzzy]], [[xyzzy();]])], [gl_cv_have_weak=maybe]) if test $gl_cv_have_weak = maybe; then dnl Second, test whether it actually works. On Cygwin 1.7.2, with dnl gcc 4.3, symbols declared weak always evaluate to the address 0. AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #pragma weak fputs int main () { return (fputs == NULL); }]])], [gl_cv_have_weak=yes], [gl_cv_have_weak=no], [dnl When cross-compiling, assume that only ELF platforms support dnl weak symbols. AC_EGREP_CPP([Extensible Linking Format], [#ifdef __ELF__ Extensible Linking Format #endif ], [gl_cv_have_weak="guessing yes"], [gl_cv_have_weak="guessing no"]) ]) fi dnl But when linking statically, weak symbols don't work. case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac ]) if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then dnl If we use weak symbols to implement pthread_in_use / pth_in_use / dnl thread_in_use, we also need to test whether the ISO C 11 thrd_create dnl facility is in use. AC_CHECK_HEADERS_ONCE([threads.h]) : fi if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. AC_CHECK_HEADER([pthread.h], [gl_have_pthread_h=yes], [gl_have_pthread_h=no]) if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads gl_have_pthread= # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html save_LIBS=$LIBS for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include pthread_mutex_t m; pthread_mutexattr_t ma; ]], [[pthread_mutex_lock (&m); pthread_mutexattr_init (&ma);]])], [gl_have_pthread=yes LIBTHREAD=$gl_pthread LTLIBTHREAD=$gl_pthread LIBMULTITHREAD=$gl_pthread LTLIBMULTITHREAD=$gl_pthread]) LIBS=$save_LIBS test -n "$gl_have_pthread" && break done # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test -n "$gl_have_pthread" && test -z "$LIBTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. AC_CHECK_LIB([pthread], [pthread_kill], [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], [Define if the pthread_in_use() detection is hard.]) esac ]) elif test -z "$gl_have_pthread"; then # Some library is needed. Try libpthread and libc_r. AC_CHECK_LIB([pthread], [pthread_kill], [gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) if test -z "$gl_have_pthread"; then # For FreeBSD 4. AC_CHECK_LIB([c_r], [pthread_kill], [gl_have_pthread=yes LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) fi fi if test -n "$gl_have_pthread"; then gl_threads_api=posix AC_DEFINE([USE_POSIX_THREADS], [1], [Define if the POSIX multithreading library can be used.]) if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], [Define if references to the POSIX multithreading library should be made weak.]) LIBTHREAD= LTLIBTHREAD= fi fi fi fi fi if test -z "$gl_have_pthread"; then case "$gl_use_threads" in yes | windows | win32) # The 'win32' is for backward compatibility. if { case "$host_os" in mingw*) true;; *) false;; esac }; then gl_threads_api=windows AC_DEFINE([USE_WINDOWS_THREADS], [1], [Define if the native Windows multithreading API can be used.]) fi ;; esac fi fi AC_MSG_CHECKING([for multithread API to use]) AC_MSG_RESULT([$gl_threads_api]) AC_SUBST([LIBTHREAD]) AC_SUBST([LTLIBTHREAD]) AC_SUBST([LIBMULTITHREAD]) AC_SUBST([LTLIBMULTITHREAD]) ]) AC_DEFUN([gl_THREADLIB], [ AC_REQUIRE([gl_THREADLIB_EARLY]) AC_REQUIRE([gl_THREADLIB_BODY]) ]) dnl gl_DISABLE_THREADS dnl ------------------ dnl Sets the gl_THREADLIB default so that threads are not used by default. dnl The user can still override it at installation time, by using the dnl configure option '--enable-threads'. AC_DEFUN([gl_DISABLE_THREADS], [ m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no]) ]) dnl gl_AVOID_WINPTHREAD dnl ------------------- dnl Sets the gl_THREADLIB default so that on mingw, a dependency to the dnl libwinpthread DLL (mingw-w64 winpthreads library) is avoided. dnl The user can still override it at installation time, by using the dnl configure option '--enable-threads'. AC_DEFUN([gl_AVOID_WINPTHREAD], [ m4_divert_text([INIT_PREPARE], [gl_use_winpthreads_default=no]) ]) dnl Survey of platforms: dnl dnl Platform Available Compiler Supports test-lock dnl flavours option weak result dnl --------------- --------- --------- -------- --------- dnl Linux 2.4/glibc posix -lpthread Y OK dnl dnl GNU Hurd/glibc posix dnl dnl Ubuntu 14.04 posix -pthread Y OK dnl dnl FreeBSD 5.3 posix -lc_r Y dnl posix -lkse ? Y dnl posix -lpthread ? Y dnl posix -lthr Y dnl dnl FreeBSD 5.2 posix -lc_r Y dnl posix -lkse Y dnl posix -lthr Y dnl dnl FreeBSD 4.0,4.10 posix -lc_r Y OK dnl dnl NetBSD 1.6 -- dnl dnl OpenBSD 3.4 posix -lpthread Y OK dnl dnl Mac OS X 10.[123] posix -lpthread Y OK dnl dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK dnl dnl HP-UX 11 posix -lpthread N (cc) OK dnl Y (gcc) dnl dnl IRIX 6.5 posix -lpthread Y 0.5 dnl dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK dnl dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK dnl -lpthread (gcc) Y dnl dnl Cygwin posix -lpthread Y OK dnl dnl Mingw windows N OK dnl dnl BeOS 5 -- dnl dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is dnl turned off: dnl OK if all three tests terminate OK, dnl 0.5 if the first test terminates OK but the second one loops endlessly, dnl 0.0 if the first test already loops endlessly. gsasl-1.8.1/lib/m4/stat-time.m40000644000000000000000000000605713516267371013003 00000000000000# Checks for stat-related time functions. # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2019 Free Software # Foundation, Inc. # 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. dnl From Paul Eggert. # st_atim.tv_nsec - Linux, Solaris, Cygwin # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1) # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway) # st_birthtim - Cygwin 1.7.0+ AC_DEFUN([gl_STAT_TIME], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec], [AC_CACHE_CHECK([whether struct stat.st_atim is of type struct timespec], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[ #include #include #if HAVE_SYS_TIME_H # include #endif #include struct timespec ts; struct stat st; ]], [[ st.st_atim = ts; ]])], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no])]) if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then AC_DEFINE([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC], [1], [Define to 1 if the type of the st_atim member of a struct stat is struct timespec.]) fi], [AC_CHECK_MEMBERS([struct stat.st_atimespec.tv_nsec], [], [AC_CHECK_MEMBERS([struct stat.st_atimensec], [], [AC_CHECK_MEMBERS([struct stat.st_atim.st__tim.tv_nsec], [], [], [#include #include ])], [#include #include ])], [#include #include ])], [#include #include ]) ]) # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.) # and NTFS (Cygwin). # There was a time when this field was named st_createtime (21 June # 2002 to 16 July 2002) But that window is very small and applied only # to development code, so systems still using that configuration are # not supported. See revisions 1.10 and 1.11 of FreeBSD's # src/sys/ufs/ufs/dinode.h. # AC_DEFUN([gl_STAT_BIRTHTIME], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CHECK_MEMBERS([struct stat.st_birthtimespec.tv_nsec], [], [AC_CHECK_MEMBERS([struct stat.st_birthtimensec], [], [AC_CHECK_MEMBERS([struct stat.st_birthtim.tv_nsec], [], [], [#include #include ])], [#include #include ])], [#include #include ]) ]) gsasl-1.8.1/lib/m4/getline.m40000644000000000000000000000636113516267371012521 00000000000000# getline.m4 serial 29 dnl Copyright (C) 1998-2003, 2005-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.59]) dnl See if there's a working, system-supplied version of the getline function. dnl We can't just do AC_REPLACE_FUNCS([getline]) because some systems dnl have a function by that name in -linet that doesn't have anything dnl to do with the function we need. AC_DEFUN([gl_FUNC_GETLINE], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare getline(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([getline]) gl_getline_needs_run_time_check=no AC_CHECK_FUNC([getline], [dnl Found it in some library. Verify that it works. gl_getline_needs_run_time_check=yes], [am_cv_func_working_getline=no]) if test $gl_getline_needs_run_time_check = yes; then AC_CACHE_CHECK([for working getline function], [am_cv_func_working_getline], [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data AC_RUN_IFELSE([AC_LANG_SOURCE([[ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getline (&line, &siz, in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } free (line); } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getline (&line, &siz, in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } ]])], [am_cv_func_working_getline=yes], [am_cv_func_working_getline=no], [dnl We're cross compiling. dnl Guess it works on glibc2 systems and musl systems. AC_EGREP_CPP([Lucky GNU user], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif ], [am_cv_func_working_getline="guessing yes"], [case "$host_os" in *-musl*) am_cv_func_working_getline="guessing yes" ;; *) am_cv_func_working_getline="guessing no" ;; esac ]) ]) ]) fi if test $ac_cv_have_decl_getline = no; then HAVE_DECL_GETLINE=0 fi case "$am_cv_func_working_getline" in *yes) ;; *) dnl Set REPLACE_GETLINE always: Even if we have not found the broken dnl getline function among $LIBS, it may exist in libinet and the dnl executable may be linked with -linet. REPLACE_GETLINE=1 ;; esac ]) # Prerequisites of lib/getline.c. AC_DEFUN([gl_PREREQ_GETLINE], [ : ]) gsasl-1.8.1/lib/m4/warn-on-use.m40000644000000000000000000000435413516267371013245 00000000000000# warn-on-use.m4 serial 6 dnl Copyright (C) 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # gl_WARN_ON_USE_PREPARE(INCLUDES, NAMES) # --------------------------------------- # If the module 'posixcheck' is in use: # # For each whitespace-separated element in the list of NAMES, define # HAVE_RAW_DECL_name if the function has a declaration among INCLUDES # even after being undefined as a macro. # # See warn-on-use.h for some hints on how to poison function names, as # well as ideas on poisoning global variables and macros. NAMES may # include global variables, but remember that only functions work with # _GL_WARN_ON_USE. Typically, INCLUDES only needs to list a single # header, but if the replacement header pulls in other headers because # some systems declare functions in the wrong header, then INCLUDES # should do likewise. # # It is generally safe to assume declarations for functions declared # in the intersection of C89 and C11 (such as printf) without # needing gl_WARN_ON_USE_PREPARE. AC_DEFUN([gl_WARN_ON_USE_PREPARE], [ m4_ifdef([gl_POSIXCHECK], [m4_foreach_w([gl_decl], [$2], [AH_TEMPLATE([HAVE_RAW_DECL_]AS_TR_CPP(m4_defn([gl_decl])), [Define to 1 if ]m4_defn([gl_decl])[ is declared even after undefining macros.])])dnl dnl FIXME: gl_Symbol must be used unquoted until we can assume dnl autoconf 2.64 or newer. for gl_func in m4_flatten([$2]); do AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl AC_CACHE_CHECK([whether $gl_func is declared without a macro], gl_Symbol, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$1], [@%:@undef $gl_func (void) $gl_func;])], [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])]) AS_VAR_IF(gl_Symbol, [yes], [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1]) dnl shortcut - if the raw declaration exists, then set a cache dnl variable to allow skipping any later AC_CHECK_DECL efforts eval ac_cv_have_decl_$gl_func=yes]) AS_VAR_POPDEF([gl_Symbol])dnl done ]) ]) gsasl-1.8.1/lib/m4/sys_select_h.m40000644000000000000000000000671613516267371013562 00000000000000# sys_select_h.m4 serial 20 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_HEADER_SYS_SELECT], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_select_h_selfcontained], [ dnl Test against two bugs: dnl 1. On many platforms, assumes prior inclusion of dnl . dnl 2. On OSF/1 4.0, provides only a forward declaration dnl of 'struct timeval', and no definition of this type. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[struct timeval b;]])], [gl_cv_header_sys_select_h_selfcontained=yes], [gl_cv_header_sys_select_h_selfcontained=no]) dnl Test against another bug: dnl 3. On Solaris 10, provides an FD_ZERO implementation dnl that relies on memset(), but without including . if test $gl_cv_header_sys_select_h_selfcontained = yes; then AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[int memset; int bzero;]]) ], [AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[ #undef memset #define memset nonexistent_memset extern #ifdef __cplusplus "C" #endif void *memset (void *, int, unsigned long); #undef bzero #define bzero nonexistent_bzero extern #ifdef __cplusplus "C" #endif void bzero (void *, unsigned long); fd_set fds; FD_ZERO (&fds); ]]) ], [], [gl_cv_header_sys_select_h_selfcontained=no]) ]) fi ]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/select.h]) if test $ac_cv_header_sys_select_h = yes; then HAVE_SYS_SELECT_H=1 else HAVE_SYS_SELECT_H=0 fi AC_SUBST([HAVE_SYS_SELECT_H]) gl_PREREQ_SYS_H_WINSOCK2 dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Some systems require prerequisite headers. */ #include #if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H # include #endif #include ]], [pselect select]) ]) AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_SELECT_H_DEFAULTS], [ GNULIB_PSELECT=0; AC_SUBST([GNULIB_PSELECT]) GNULIB_SELECT=0; AC_SUBST([GNULIB_SELECT]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_PSELECT=1; AC_SUBST([HAVE_PSELECT]) REPLACE_PSELECT=0; AC_SUBST([REPLACE_PSELECT]) REPLACE_SELECT=0; AC_SUBST([REPLACE_SELECT]) ]) gsasl-1.8.1/lib/m4/usleep.m40000644000000000000000000000372613516267371012371 00000000000000# usleep.m4 serial 6 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This macro intentionally does not check for select or nanosleep; dnl both of those modules can require external libraries. AC_DEFUN([gl_FUNC_USLEEP], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl usleep was required in POSIX 2001, but dropped as obsolete in dnl POSIX 2008; therefore, it is not always exposed in headers. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([usleep]) AC_CHECK_TYPE([useconds_t], [], [AC_DEFINE([useconds_t], [unsigned int], [Define to an unsigned 32-bit type if lacks this type.])]) if test $ac_cv_func_usleep = no; then HAVE_USLEEP=0 else dnl POSIX allows implementations to reject arguments larger than dnl 999999, but GNU guarantees it will work. AC_CACHE_CHECK([whether usleep allows large arguments], [gl_cv_func_usleep_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include ]], [[return !!usleep (1000000);]])], [gl_cv_func_usleep_works=yes], [gl_cv_func_usleep_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_usleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_usleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_usleep_works="guessing no" ;; esac ])]) case "$gl_cv_func_usleep_works" in *yes) ;; *) REPLACE_USLEEP=1 ;; esac fi ]) gsasl-1.8.1/lib/m4/sockets.m40000644000000000000000000000070713516267371012543 00000000000000# sockets.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SOCKETS], [ AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gl_SOCKETLIB]) gl_PREREQ_SOCKETS ]) # Prerequisites of lib/sockets.c. AC_DEFUN([gl_PREREQ_SOCKETS], [ : ]) gsasl-1.8.1/lib/m4/ssize_t.m40000644000000000000000000000146313516267371012550 00000000000000# ssize_t.m4 serial 5 (gettext-0.18.2) dnl Copyright (C) 2001-2003, 2006, 2010-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Test whether ssize_t is defined. AC_DEFUN([gt_TYPE_SSIZE_T], [ AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x;]])], [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])]) if test $gt_cv_ssize_t = no; then AC_DEFINE([ssize_t], [int], [Define as a signed type of the same size as size_t.]) fi ]) gsasl-1.8.1/lib/m4/freading.m40000644000000000000000000000054113516267371012643 00000000000000# freading.m4 serial 1 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FREADING], [ AC_CHECK_FUNCS_ONCE([__freading]) ]) gsasl-1.8.1/lib/m4/mode_t.m40000644000000000000000000000234213516267371012334 00000000000000# mode_t.m4 serial 2 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # For using mode_t, it's sufficient to use AC_TYPE_MODE_T and # include . # Define PROMOTED_MODE_T to the type that is the result of "default argument # promotion" (ISO C 6.5.2.2.(6)) of the type mode_t. AC_DEFUN([gl_PROMOTED_TYPE_MODE_T], [ AC_REQUIRE([AC_TYPE_MODE_T]) AC_CACHE_CHECK([for promoted mode_t type], [gl_cv_promoted_mode_t], [ dnl Assume mode_t promotes to 'int' if and only if it is smaller than 'int', dnl and to itself otherwise. This assumption is not guaranteed by the ISO C dnl standard, but we don't know of any real-world counterexamples. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];]])], [gl_cv_promoted_mode_t='int'], [gl_cv_promoted_mode_t='mode_t']) ]) AC_DEFINE_UNQUOTED([PROMOTED_MODE_T], [$gl_cv_promoted_mode_t], [Define to the type that is the result of default argument promotions of type mode_t.]) ]) gsasl-1.8.1/lib/m4/libtool.m40000644000000000000000000112640013521017101012510 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 cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru 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[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _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=cru} _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' ;; # 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 gsasl-1.8.1/lib/m4/vasnprintf.m40000644000000000000000000002113313516267371013256 00000000000000# vasnprintf.m4 serial 36 dnl Copyright (C) 2002-2004, 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_VASNPRINTF], [ AC_CHECK_FUNCS_ONCE([vasnprintf]) if test $ac_cv_func_vasnprintf = no; then gl_REPLACE_VASNPRINTF fi ]) AC_DEFUN([gl_REPLACE_VASNPRINTF], [ AC_CHECK_FUNCS_ONCE([vasnprintf]) AC_LIBOBJ([vasnprintf]) AC_LIBOBJ([printf-args]) AC_LIBOBJ([printf-parse]) AC_LIBOBJ([asnprintf]) if test $ac_cv_func_vasnprintf = yes; then AC_DEFINE([REPLACE_VASNPRINTF], [1], [Define if vasnprintf exists but is overridden by gnulib.]) fi gl_PREREQ_PRINTF_ARGS gl_PREREQ_PRINTF_PARSE gl_PREREQ_VASNPRINTF gl_PREREQ_ASNPRINTF ]) # Prerequisites of lib/printf-args.h, lib/printf-args.c. AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) ]) # Prerequisites of lib/printf-parse.h, lib/printf-parse.c. AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [ AC_REQUIRE([gl_FEATURES_H]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_REQUIRE([AC_TYPE_SIZE_T]) AC_CHECK_TYPE([ptrdiff_t], , [AC_DEFINE([ptrdiff_t], [long], [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ]) AC_REQUIRE([gt_AC_TYPE_INTMAX_T]) ]) # Prerequisites of lib/vasnprintf.c. AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). AC_CHECK_DECLS([_snprintf], , , [[#include ]]) dnl Knowing DBL_EXPBIT0_WORD and DBL_EXPBIT0_BIT enables an optimization dnl in the code for NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE. AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) dnl We can avoid a lot of code by assuming that snprintf's return value dnl conforms to ISO C99. So check that. AC_REQUIRE([gl_SNPRINTF_RETVAL_C99]) case "$gl_cv_func_snprintf_retval_c99" in *yes) AC_DEFINE([HAVE_SNPRINTF_RETVAL_C99], [1], [Define if the return value of the snprintf function is the number of of bytes (excluding the terminating NUL) that would have been produced if the buffer had been large enough.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting 'long double' # arguments. AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) case "$gl_cv_func_printf_long_double" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting infinite 'double' # arguments. AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [ AC_REQUIRE([gl_PRINTF_INFINITE]) case "$gl_cv_func_printf_infinite" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for infinite 'double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting infinite 'long double' # arguments. AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE]) dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if dnl NEED_PRINTF_LONG_DOUBLE is already set. AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE]) case "$gl_cv_func_printf_long_double" in *yes) case "$gl_cv_func_printf_infinite_long_double" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for infinite 'long double' arguments.]) ;; esac ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'a' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_A]) case "$gl_cv_func_printf_directive_a" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1], [Define if the vasnprintf implementation needs special code for the 'a' and 'A' directives.]) AC_CHECK_FUNCS([nl_langinfo]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'F' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_F]) case "$gl_cv_func_printf_directive_f" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1], [Define if the vasnprintf implementation needs special code for the 'F' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'ls' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS]) case "$gl_cv_func_printf_directive_ls" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1], [Define if the vasnprintf implementation needs special code for the 'ls' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the ' flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [ AC_REQUIRE([gl_PRINTF_FLAG_GROUPING]) case "$gl_cv_func_printf_flag_grouping" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1], [Define if the vasnprintf implementation needs special code for the ' flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the '-' flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [ AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST]) case "$gl_cv_func_printf_flag_leftadjust" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1], [Define if the vasnprintf implementation needs special code for the '-' flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 0 flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [ AC_REQUIRE([gl_PRINTF_FLAG_ZERO]) case "$gl_cv_func_printf_flag_zero" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1], [Define if the vasnprintf implementation needs special code for the 0 flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting large precisions. AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [ AC_REQUIRE([gl_PRINTF_PRECISION]) case "$gl_cv_func_printf_precision" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1], [Define if the vasnprintf implementation needs special code for supporting large precisions without arbitrary bounds.]) AC_DEFINE([NEED_PRINTF_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'double' arguments.]) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for surviving out-of-memory # conditions. AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [ AC_REQUIRE([gl_PRINTF_ENOMEM]) case "$gl_cv_func_printf_enomem" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_ENOMEM], [1], [Define if the vasnprintf implementation needs special code for surviving out-of-memory conditions.]) AC_DEFINE([NEED_PRINTF_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'double' arguments.]) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Prerequisites of lib/vasnprintf.c including all extras for POSIX compliance. AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_EXTRAS], [ AC_REQUIRE([gl_PREREQ_VASNPRINTF]) gl_PREREQ_VASNPRINTF_LONG_DOUBLE gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE gl_PREREQ_VASNPRINTF_DIRECTIVE_A gl_PREREQ_VASNPRINTF_DIRECTIVE_F gl_PREREQ_VASNPRINTF_DIRECTIVE_LS gl_PREREQ_VASNPRINTF_FLAG_GROUPING gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST gl_PREREQ_VASNPRINTF_FLAG_ZERO gl_PREREQ_VASNPRINTF_PRECISION gl_PREREQ_VASNPRINTF_ENOMEM ]) # Prerequisites of lib/asnprintf.c. AC_DEFUN([gl_PREREQ_ASNPRINTF], [ ]) gsasl-1.8.1/lib/m4/ltversion.m40000644000000000000000000000127313521017103013072 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) ]) gsasl-1.8.1/lib/m4/getdelim.m40000644000000000000000000000537413516267371012667 00000000000000# getdelim.m4 serial 13 dnl Copyright (C) 2005-2007, 2009-2019 Free Software Foundation, Inc. dnl dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_PREREQ([2.59]) AC_DEFUN([gl_FUNC_GETDELIM], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare getdelim(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([getdelim]) AC_CHECK_FUNCS_ONCE([getdelim]) if test $ac_cv_func_getdelim = yes; then HAVE_GETDELIM=1 dnl Found it in some library. Verify that it works. AC_CACHE_CHECK([for working getdelim function], [gl_cv_func_working_getdelim], [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data AC_RUN_IFELSE([AC_LANG_SOURCE([[ # include # include # include int main () { FILE *in = fopen ("./conftest.data", "r"); if (!in) return 1; { /* Test result for a NULL buffer and a zero size. Based on a test program from Karl Heuer. */ char *line = NULL; size_t siz = 0; int len = getdelim (&line, &siz, '\n', in); if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) { free (line); fclose (in); return 2; } } { /* Test result for a NULL buffer and a non-zero size. This crashes on FreeBSD 8.0. */ char *line = NULL; size_t siz = (size_t)(~0) / 4; if (getdelim (&line, &siz, '\n', in) == -1) { fclose (in); return 3; } free (line); } fclose (in); return 0; } ]])], [gl_cv_func_working_getdelim=yes], [gl_cv_func_working_getdelim=no], [dnl We're cross compiling. dnl Guess it works on glibc2 systems and musl systems. AC_EGREP_CPP([Lucky GNU user], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ Lucky GNU user #endif #endif ], [gl_cv_func_working_getdelim="guessing yes"], [case "$host_os" in *-musl*) gl_cv_func_working_getdelim="guessing yes" ;; *) gl_cv_func_working_getdelim="guessing no" ;; esac ]) ]) ]) case "$gl_cv_func_working_getdelim" in *yes) ;; *) REPLACE_GETDELIM=1 ;; esac else HAVE_GETDELIM=0 fi if test $ac_cv_have_decl_getdelim = no; then HAVE_DECL_GETDELIM=0 fi ]) # Prerequisites of lib/getdelim.c. AC_DEFUN([gl_PREREQ_GETDELIM], [ AC_CHECK_FUNCS([flockfile funlockfile]) AC_CHECK_DECLS([getc_unlocked]) ]) gsasl-1.8.1/lib/m4/msvc-inval.m40000644000000000000000000000133413516267371013144 00000000000000# msvc-inval.m4 serial 1 dnl Copyright (C) 2011-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MSVC_INVAL], [ AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler]) if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1], [Define to 1 on MSVC platforms that have the "invalid parameter handler" concept.]) else HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 fi AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER]) ]) gsasl-1.8.1/lib/m4/memxor.m40000644000000000000000000000052213516267371012372 00000000000000# memxor.m4 serial 4 dnl Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MEMXOR], [ AC_REQUIRE([AC_C_RESTRICT]) ]) gsasl-1.8.1/lib/m4/signal_h.m40000644000000000000000000000604213516267371012652 00000000000000# signal_h.m4 serial 18 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SIGNAL_H], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) gl_NEXT_HEADERS([signal.h]) # AIX declares sig_atomic_t to already include volatile, and C89 compilers # then choke on 'volatile sig_atomic_t'. C99 requires that it compile. AC_CHECK_TYPE([volatile sig_atomic_t], [], [HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0], [[ #include ]]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) AC_REQUIRE([AC_TYPE_UID_T]) dnl Persuade glibc to define sighandler_t. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_TYPE([sighandler_t], [], [HAVE_SIGHANDLER_T=0], [[ #include ]]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [pthread_sigmask sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask]) ]) AC_DEFUN([gl_CHECK_TYPE_SIGSET_T], [ AC_CHECK_TYPES([sigset_t], [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no], [[ #include /* Mingw defines sigset_t not in , but in . */ #include ]]) if test $gl_cv_type_sigset_t != yes; then HAVE_SIGSET_T=0 fi ]) AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SIGNAL_H_DEFAULTS], [ GNULIB_PTHREAD_SIGMASK=0; AC_SUBST([GNULIB_PTHREAD_SIGMASK]) GNULIB_RAISE=0; AC_SUBST([GNULIB_RAISE]) GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) HAVE_PTHREAD_SIGMASK=1; AC_SUBST([HAVE_PTHREAD_SIGMASK]) HAVE_RAISE=1; AC_SUBST([HAVE_RAISE]) HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T]) HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T]) HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION]) HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION]) HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) HAVE_SIGHANDLER_T=1; AC_SUBST([HAVE_SIGHANDLER_T]) REPLACE_PTHREAD_SIGMASK=0; AC_SUBST([REPLACE_PTHREAD_SIGMASK]) REPLACE_RAISE=0; AC_SUBST([REPLACE_RAISE]) ]) gsasl-1.8.1/lib/m4/float_h.m40000644000000000000000000000545713516267371012513 00000000000000# float_h.m4 serial 12 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FLOAT_H], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) FLOAT_H= REPLACE_FLOAT_LDBL=0 case "$host_os" in aix* | beos* | openbsd* | mirbsd* | irix*) FLOAT_H=float.h ;; freebsd* | dragonfly*) case "$host_cpu" in changequote(,)dnl i[34567]86 ) changequote([,])dnl FLOAT_H=float.h ;; x86_64 ) # On x86_64 systems, the C compiler may still be generating # 32-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __x86_64__ || defined __amd64__ int ok; #else error fail #endif ]])], [], [FLOAT_H=float.h]) ;; esac ;; linux*) case "$host_cpu" in powerpc*) FLOAT_H=float.h ;; esac ;; esac case "$host_os" in aix* | freebsd* | dragonfly* | linux*) if test -n "$FLOAT_H"; then REPLACE_FLOAT_LDBL=1 fi ;; esac dnl Test against glibc-2.7 Linux/SPARC64 bug. REPLACE_ITOLD=0 AC_CACHE_CHECK([whether conversion from 'int' to 'long double' works], [gl_cv_func_itold_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ int i = -1; volatile long double ld; int main () { ld += i * 1.0L; if (ld > 0) return 1; return 0; }]])], [gl_cv_func_itold_works=yes], [gl_cv_func_itold_works=no], [case "$host" in sparc*-*-linux*) AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __arch64__ int ok; #else error fail #endif ]])], [gl_cv_func_itold_works="guessing no"], [gl_cv_func_itold_works="guessing yes"]) ;; # Guess yes on native Windows. mingw*) gl_cv_func_itold_works="guessing yes" ;; *) gl_cv_func_itold_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_itold_works" in *no) REPLACE_ITOLD=1 dnl We add the workaround to but also to , dnl to increase the chances that the fix function gets pulled in. FLOAT_H=float.h ;; esac if test -n "$FLOAT_H"; then gl_NEXT_HEADERS([float.h]) fi AC_SUBST([FLOAT_H]) AM_CONDITIONAL([GL_GENERATE_FLOAT_H], [test -n "$FLOAT_H"]) AC_SUBST([REPLACE_ITOLD]) ]) gsasl-1.8.1/lib/m4/getrusage.m40000644000000000000000000000071413516267371013054 00000000000000# getrusage.m4 serial 1 dnl Copyright (C) 2012-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_GETRUSAGE], [ AC_REQUIRE([gl_SYS_RESOURCE_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([getrusage]) if test $ac_cv_func_getrusage = no; then HAVE_GETRUSAGE=0 fi ]) gsasl-1.8.1/lib/m4/pthread-thread.m40000644000000000000000000000432413516267371013763 00000000000000# pthread-thread.m4 serial 1 dnl Copyright (C) 2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_PTHREAD_THREAD], [ AC_REQUIRE([gl_PTHREAD_H]) AC_REQUIRE([AC_CANONICAL_HOST]) if { case "$host_os" in mingw*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then dnl Choose function names that don't conflict with the mingw-w64 winpthreads dnl library. REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 REPLACE_PTHREAD_ATTR_GETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_SETDETACHSTATE=1 REPLACE_PTHREAD_ATTR_DESTROY=1 REPLACE_PTHREAD_SELF=1 REPLACE_PTHREAD_EQUAL=1 REPLACE_PTHREAD_DETACH=1 REPLACE_PTHREAD_JOIN=1 REPLACE_PTHREAD_EXIT=1 else if test $HAVE_PTHREAD_H = 0; then HAVE_PTHREAD_CREATE=0 HAVE_PTHREAD_ATTR_INIT=0 HAVE_PTHREAD_ATTR_GETDETACHSTATE=0 HAVE_PTHREAD_ATTR_SETDETACHSTATE=0 HAVE_PTHREAD_ATTR_DESTROY=0 HAVE_PTHREAD_SELF=0 HAVE_PTHREAD_EQUAL=0 HAVE_PTHREAD_DETACH=0 HAVE_PTHREAD_JOIN=0 HAVE_PTHREAD_EXIT=0 else dnl On HP-UX 11.11, pthread_create() and pthread_attr_init() are only dnl defined as inline functions. AC_CACHE_CHECK([whether pthread_create exists as a global function], [gl_cv_func_pthread_create], [saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_LINK_IFELSE( [AC_LANG_SOURCE( [[extern #ifdef __cplusplus "C" #endif int pthread_create (void); int main () { return pthread_create (); } ]])], [gl_cv_func_pthread_create=yes], [gl_cv_func_pthread_create=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_pthread_create = no; then REPLACE_PTHREAD_CREATE=1 REPLACE_PTHREAD_ATTR_INIT=1 AC_DEFINE([PTHREAD_CREATE_IS_INLINE], [1], [Define if pthread_create is an inline function.]) fi fi fi ]) gsasl-1.8.1/lib/m4/intlmacosx.m40000644000000000000000000000475313516321014013237 00000000000000# intlmacosx.m4 serial 5 (gettext-0.18.2) dnl Copyright (C) 2004-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on Mac OS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in Mac OS X 10.2. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFPreferencesCopyAppValue(NULL, NULL)]])], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Check for API introduced in Mac OS X 10.3. AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFLocaleCopyCurrent();]])], [gt_cv_func_CFLocaleCopyCurrent=yes], [gt_cv_func_CFLocaleCopyCurrent=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyCurrent = yes; then AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) gsasl-1.8.1/lib/m4/fcntl-o.m40000644000000000000000000001120213516267371012422 00000000000000# fcntl-o.m4 serial 6 dnl Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. AC_PREREQ([2.60]) # Test whether the flags O_NOATIME and O_NOFOLLOW actually work. # Define HAVE_WORKING_O_NOATIME to 1 if O_NOATIME works, or to 0 otherwise. # Define HAVE_WORKING_O_NOFOLLOW to 1 if O_NOFOLLOW works, or to 0 otherwise. AC_DEFUN([gl_FCNTL_O_FLAGS], [ dnl Persuade glibc to define O_NOATIME and O_NOFOLLOW. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CHECK_FUNCS_ONCE([symlink]) AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include # include # defined sleep(n) _sleep ((n) * 1000) #endif #include #ifndef O_NOATIME #define O_NOATIME 0 #endif #ifndef O_NOFOLLOW #define O_NOFOLLOW 0 #endif static int const constants[] = { O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY }; ]], [[ int result = !constants; #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink ("/dev/null", sym) != 0) result |= 2; else { int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); if (fd >= 0) { close (fd); result |= 4; } } if (unlink (sym) != 0 || symlink (".", sym) != 0) result |= 2; else { int fd = open (sym, O_RDONLY | O_NOFOLLOW); if (fd >= 0) { close (fd); result |= 4; } } unlink (sym); } #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); if (fd < 0) result |= 8; else { struct stat st0; if (fstat (fd, &st0) != 0) result |= 16; else { char c; sleep (1); if (read (fd, &c, 1) != 1) result |= 24; else { if (close (fd) != 0) result |= 32; else { struct stat st1; if (stat (file, &st1) != 0) result |= 40; else if (st0.st_atime != st1.st_atime) result |= 64; } } } } } return result;]])], [gl_cv_header_working_fcntl_h=yes], [case $? in #( 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( *) gl_cv_header_working_fcntl_h='no';; esac], [case "$host_os" in # Guess 'no' on native Windows. mingw*) gl_cv_header_working_fcntl_h='no' ;; *) gl_cv_header_working_fcntl_h=cross-compiling ;; esac ]) ]) case $gl_cv_header_working_fcntl_h in #( *O_NOATIME* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val], [Define to 1 if O_NOATIME works.]) case $gl_cv_header_working_fcntl_h in #( *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val], [Define to 1 if O_NOFOLLOW works.]) ]) gsasl-1.8.1/lib/m4/progtest.m40000644000000000000000000000604013516321014012714 00000000000000# progtest.m4 serial 7 (gettext-0.18.2) dnl Copyright (C) 1996-2003, 2005, 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. AC_PREREQ([2.50]) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL([ac_cv_path_$1], [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$][$1]) else AC_MSG_RESULT([no]) fi AC_SUBST([$1])dnl ]) gsasl-1.8.1/lib/m4/stddef_h.m40000644000000000000000000000450113516267371012644 00000000000000dnl A placeholder for , for platforms that have issues. # stddef_h.m4 serial 6 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_STDDEF_H], [ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) AC_REQUIRE([gt_TYPE_WCHAR_T]) STDDEF_H= dnl Test whether the type max_align_t exists and whether its alignment dnl "is as great as is supported by the implementation in all contexts". AC_CACHE_CHECK([for good max_align_t], [gl_cv_type_max_align_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include unsigned int s = sizeof (max_align_t); #if defined __GNUC__ || defined __IBM__ALIGNOF__ int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1]; int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1]; #endif ]])], [gl_cv_type_max_align_t=yes], [gl_cv_type_max_align_t=no]) ]) if test $gl_cv_type_max_align_t = no; then HAVE_MAX_ALIGN_T=0 STDDEF_H=stddef.h fi if test $gt_cv_c_wchar_t = no; then HAVE_WCHAR_T=0 STDDEF_H=stddef.h fi AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions], [gl_cv_decl_null_works], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include int test[2 * (sizeof NULL == sizeof (void *)) -1]; ]])], [gl_cv_decl_null_works=yes], [gl_cv_decl_null_works=no])]) if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 STDDEF_H=stddef.h fi AC_SUBST([STDDEF_H]) AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"]) if test -n "$STDDEF_H"; then gl_NEXT_HEADERS([stddef.h]) fi ]) AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_STDDEF_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. REPLACE_NULL=0; AC_SUBST([REPLACE_NULL]) HAVE_MAX_ALIGN_T=1; AC_SUBST([HAVE_MAX_ALIGN_T]) HAVE_WCHAR_T=1; AC_SUBST([HAVE_WCHAR_T]) ]) gsasl-1.8.1/lib/m4/printf.m40000644000000000000000000020546313516267371012400 00000000000000# printf.m4 serial 61 dnl Copyright (C) 2003, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Test whether the *printf family of functions supports the 'j', 'z', 't', dnl 'L' size specifiers. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_sizes_c99. AC_DEFUN([gl_PRINTF_SIZES_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports size specifiers as in C99], [gl_cv_func_printf_sizes_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #if HAVE_STDINT_H_WITH_UINTMAX # include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX # include #endif static char buf[100]; int main () { int result = 0; #if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX buf[0] = '\0'; if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 || strcmp (buf, "12345671 33") != 0) result |= 1; #else result |= 1; #endif buf[0] = '\0'; if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 || strcmp (buf, "12345672 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 || strcmp (buf, "12345673 33") != 0) result |= 4; buf[0] = '\0'; if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 || strcmp (buf, "1.5 33") != 0) result |= 8; return result; }]])], [gl_cv_func_printf_sizes_c99=yes], [gl_cv_func_printf_sizes_c99=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_printf_sizes_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_printf_sizes_c99="guessing no";; openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_printf_sizes_c99="guessing no";; netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_sizes_c99="guessing yes";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_sizes_c99="guessing yes"], [gl_cv_func_printf_sizes_c99="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_sizes_c99="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports 'long double' dnl arguments together with the 'L' size specifier. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_long_double. AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports 'long double' arguments], [gl_cv_func_printf_long_double], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[10000]; int main () { int result = 0; buf[0] = '\0'; if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.750000 33") != 0) result |= 1; buf[0] = '\0'; if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.750000e+00 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.75 33") != 0) result |= 4; return result; }]])], [gl_cv_func_printf_long_double=yes], [gl_cv_func_printf_long_double=no], [case "$host_os" in # Guess no on BeOS. beos*) gl_cv_func_printf_long_double="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_long_double="guessing yes";; # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_long_double="guessing yes"], [gl_cv_func_printf_long_double="guessing no"]) ;; *) gl_cv_func_printf_long_double="guessing yes";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports infinite and NaN dnl 'double' arguments and negative zero arguments in the %f, %e, %g dnl directives. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_infinite. AC_DEFUN([gl_PRINTF_INFINITE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports infinite 'double' arguments], [gl_cv_func_printf_infinite], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static int strisnan (const char *string, size_t start_index, size_t end_index) { if (start_index < end_index) { if (string[start_index] == '-') start_index++; if (start_index + 3 <= end_index && memcmp (string + start_index, "nan", 3) == 0) { start_index += 3; if (start_index == end_index || (string[start_index] == '(' && string[end_index - 1] == ')')) return 1; } } return 0; } static int have_minus_zero () { static double plus_zero = 0.0; double minus_zero = - plus_zero; return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; } static char buf[10000]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%f", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%f", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%f", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%e", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 4; if (sprintf (buf, "%e", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 4; if (sprintf (buf, "%e", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 8; if (sprintf (buf, "%g", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 16; if (sprintf (buf, "%g", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 16; if (sprintf (buf, "%g", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 32; /* This test fails on HP-UX 10.20. */ if (have_minus_zero ()) if (sprintf (buf, "%g", - zero) < 0 || strcmp (buf, "-0") != 0) result |= 64; return result; }]])], [gl_cv_func_printf_infinite=yes], [gl_cv_func_printf_infinite=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; darwin*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; hpux*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_printf_infinite="guessing no";; netbsd*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_infinite="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_infinite="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_infinite="guessing yes"], [gl_cv_func_printf_infinite="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_infinite="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports infinite and NaN dnl 'long double' arguments in the %f, %e, %g directives. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_infinite_long_double. AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl The user can set or unset the variable gl_printf_safe to indicate dnl that he wishes a safe handling of non-IEEE-754 'long double' values. if test -n "$gl_printf_safe"; then AC_DEFINE([CHECK_PRINTF_SAFE], [1], [Define if you wish *printf() functions that have a safe handling of non-IEEE-754 'long double' values.]) fi case "$gl_cv_func_printf_long_double" in *yes) AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments], [gl_cv_func_printf_infinite_long_double], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ ]GL_NOCRASH[ #include #include #include static int strisnan (const char *string, size_t start_index, size_t end_index) { if (start_index < end_index) { if (string[start_index] == '-') start_index++; if (start_index + 3 <= end_index && memcmp (string + start_index, "nan", 3) == 0) { start_index += 3; if (start_index == end_index || (string[start_index] == '(' && string[end_index - 1] == ')')) return 1; } } return 0; } static char buf[10000]; static long double zeroL = 0.0L; int main () { int result = 0; nocrash_init(); if (sprintf (buf, "%Lf", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; if (sprintf (buf, "%Le", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; if (sprintf (buf, "%Lg", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Le", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Lg", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; } { /* Signalling NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Le", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Lg", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; } { /* Pseudo-NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 4; if (sprintf (buf, "%Le", x.value) <= 0) result |= 4; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 4; } { /* Pseudo-Infinity. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 8; if (sprintf (buf, "%Le", x.value) <= 0) result |= 8; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 8; } { /* Pseudo-Zero. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 16; if (sprintf (buf, "%Le", x.value) <= 0) result |= 16; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 16; } { /* Unnormalized number. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 32; if (sprintf (buf, "%Le", x.value) <= 0) result |= 32; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 32; } { /* Pseudo-Denormal. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 64; if (sprintf (buf, "%Le", x.value) <= 0) result |= 64; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 64; } #endif return result; }]])], [gl_cv_func_printf_infinite_long_double=yes], [gl_cv_func_printf_infinite_long_double=no], [case "$host_cpu" in # Guess no on ia64, x86_64, i386. ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; *) case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite_long_double="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_infinite_long_double="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_infinite_long_double="guessing yes"], [gl_cv_func_printf_infinite_long_double="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_infinite_long_double="guessing no";; esac ;; esac ]) ]) ;; *) gl_cv_func_printf_infinite_long_double="irrelevant" ;; esac ]) dnl Test whether the *printf family of functions supports the 'a' and 'A' dnl conversion specifier for hexadecimal output of floating-point numbers. dnl (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_a. AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives], [gl_cv_func_printf_directive_a], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 || (strcmp (buf, "0x1.922p+1 33") != 0 && strcmp (buf, "0x3.244p+0 33") != 0 && strcmp (buf, "0x6.488p-1 33") != 0 && strcmp (buf, "0xc.91p-2 33") != 0)) result |= 1; if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 || (strcmp (buf, "-0X1.922P+1 33") != 0 && strcmp (buf, "-0X3.244P+0 33") != 0 && strcmp (buf, "-0X6.488P-1 33") != 0 && strcmp (buf, "-0XC.91P-2 33") != 0)) result |= 2; /* This catches a FreeBSD 6.1 bug: it doesn't round. */ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x1.83p+0 33") != 0 && strcmp (buf, "0x3.05p-1 33") != 0 && strcmp (buf, "0x6.0ap-2 33") != 0 && strcmp (buf, "0xc.14p-3 33") != 0)) result |= 4; /* This catches a Mac OS X 10.12.4 (Darwin 16.5) bug: it doesn't round. */ if (sprintf (buf, "%.0a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x2p+0 33") != 0 && strcmp (buf, "0x3p-1 33") != 0 && strcmp (buf, "0x6p-2 33") != 0 && strcmp (buf, "0xcp-3 33") != 0)) result |= 4; /* This catches a FreeBSD 6.1 bug. See */ if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0 || buf[0] == '0') result |= 8; /* This catches a Mac OS X 10.3.9 (Darwin 7.9) bug. */ if (sprintf (buf, "%.1a", 1.999) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) result |= 16; /* This catches the same Mac OS X 10.3.9 (Darwin 7.9) bug and also a glibc 2.4 bug . */ if (sprintf (buf, "%.1La", 1.999L) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) result |= 32; return result; }]])], [gl_cv_func_printf_directive_a=yes], [gl_cv_func_printf_directive_a=no], [ case "$host_os" in # Guess yes on glibc >= 2.5 systems. *-gnu* | gnu*) AC_EGREP_CPP([BZ2908], [ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__ BZ2908 #endif #endif ], [gl_cv_func_printf_directive_a="guessing yes"], [gl_cv_func_printf_directive_a="guessing no"]) ;; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_directive_a="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_a="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_printf_directive_a="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_printf_directive_a="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %F format dnl directive. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_f. AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'F' directive], [gl_cv_func_printf_directive_f], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 || strcmp (buf, "1234567.000000 33") != 0) result |= 1; if (sprintf (buf, "%F", 1.0 / zero) < 0 || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) result |= 2; /* This catches a Cygwin 1.5.x bug. */ if (sprintf (buf, "%.F", 1234.0) < 0 || strcmp (buf, "1234") != 0) result |= 4; return result; }]])], [gl_cv_func_printf_directive_f=yes], [gl_cv_func_printf_directive_f=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_directive_f="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; darwin*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_directive_f="guessing yes";; solaris*) gl_cv_func_printf_directive_f="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_f="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_directive_f="guessing yes"], [gl_cv_func_printf_directive_f="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_printf_directive_f="guessing no";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %n format dnl directive. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_n. AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'n' directive], [gl_cv_func_printf_directive_n], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #ifdef _MSC_VER /* See page about "Parameter Validation" on msdn.microsoft.com. */ static void cdecl invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { exit (1); } #endif static char fmtstring[10]; static char buf[100]; int main () { int count = -1; #ifdef _MSC_VER _set_invalid_parameter_handler (invalid_parameter_handler); #endif /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 || strcmp (buf, "123 ") != 0 || count != 4) return 1; return 0; }]])], [gl_cv_func_printf_directive_n=yes], [gl_cv_func_printf_directive_n=no], [case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_n="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_printf_directive_n="guessing no";; *) gl_cv_func_printf_directive_n="guessing yes";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %ls format dnl directive and in particular, when a precision is specified, whether dnl the functions stop converting the wide string argument when the number dnl of bytes that have been produced by this conversion equals or exceeds dnl the precision. dnl Result is gl_cv_func_printf_directive_ls. AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'ls' directive], [gl_cv_func_printf_directive_ls], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include #include int main () { int result = 0; char buf[100]; /* Test whether %ls works at all. This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on Cygwin 1.5. */ { static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; buf[0] = '\0'; if (sprintf (buf, "%ls", wstring) < 0 || strcmp (buf, "abc") != 0) result |= 1; } /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an assertion failure inside libc), but not on OpenBSD 4.0. */ { static const wchar_t wstring[] = { 'a', 0 }; buf[0] = '\0'; if (sprintf (buf, "%ls", wstring) < 0 || strcmp (buf, "a") != 0) result |= 2; } /* Test whether precisions in %ls are supported as specified in ISO C 99 section 7.19.6.1: "If a precision is specified, no more than that many bytes are written (including shift sequences, if any), and the array shall contain a null wide character if, to equal the multibyte character sequence length given by the precision, the function would need to access a wide character one past the end of the array." This test fails on Solaris 10. */ { static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; buf[0] = '\0'; if (sprintf (buf, "%.2ls", wstring) < 0 || strcmp (buf, "ab") != 0) result |= 8; } return result; }]])], [gl_cv_func_printf_directive_ls=yes], [gl_cv_func_printf_directive_ls=no], [ changequote(,)dnl case "$host_os" in openbsd*) gl_cv_func_printf_directive_ls="guessing no";; irix*) gl_cv_func_printf_directive_ls="guessing no";; solaris*) gl_cv_func_printf_directive_ls="guessing no";; cygwin*) gl_cv_func_printf_directive_ls="guessing no";; beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_ls="guessing no";; # Guess yes on native Windows. mingw*) gl_cv_func_printf_directive_ls="guessing yes";; *) gl_cv_func_printf_directive_ls="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports POSIX/XSI format dnl strings with positions. (POSIX:2001) dnl Result is gl_cv_func_printf_positions. AC_DEFUN([gl_PRINTF_POSITIONS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions], [gl_cv_func_printf_positions], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* The string "%2$d %1$d", with dollar characters protected from the shell's dollar expansion (possibly an autoconf bug). */ static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; static char buf[100]; int main () { sprintf (buf, format, 33, 55); return (strcmp (buf, "55 33") != 0); }]])], [gl_cv_func_printf_positions=yes], [gl_cv_func_printf_positions=no], [ changequote(,)dnl case "$host_os" in netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) gl_cv_func_printf_positions="guessing no";; beos*) gl_cv_func_printf_positions="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_positions="guessing yes";; # Guess no on native Windows. mingw* | pw*) gl_cv_func_printf_positions="guessing no";; *) gl_cv_func_printf_positions="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports POSIX/XSI format dnl strings with the ' flag for grouping of decimal digits. (POSIX:2001) dnl Result is gl_cv_func_printf_flag_grouping. AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the grouping flag], [gl_cv_func_printf_flag_grouping], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { if (sprintf (buf, "%'d %d", 1234567, 99) < 0 || buf[strlen (buf) - 1] != '9') return 1; return 0; }]])], [gl_cv_func_printf_flag_grouping=yes], [gl_cv_func_printf_flag_grouping=no], [ changequote(,)dnl case "$host_os" in cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_flag_grouping="guessing no";; # Guess no on native Windows. mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; *) gl_cv_func_printf_flag_grouping="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports the - flag correctly. dnl (ISO C99.) See dnl dnl Result is gl_cv_func_printf_flag_leftadjust. AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly], [gl_cv_func_printf_flag_leftadjust], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { /* Check that a '-' flag is not annihilated by a negative width. */ if (sprintf (buf, "a%-*sc", -3, "b") < 0 || strcmp (buf, "ab c") != 0) return 1; return 0; }]])], [gl_cv_func_printf_flag_leftadjust=yes], [gl_cv_func_printf_flag_leftadjust=no], [ changequote(,)dnl case "$host_os" in # Guess yes on HP-UX 11. hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess no on HP-UX 10 and older. hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess yes on native Windows. mingw*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess yes otherwise. *) gl_cv_func_printf_flag_leftadjust="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports padding of non-finite dnl values with the 0 flag correctly. (ISO C99 + TC1 + TC2.) See dnl dnl Result is gl_cv_func_printf_flag_zero. AC_DEFUN([gl_PRINTF_FLAG_ZERO], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the zero flag correctly], [gl_cv_func_printf_flag_zero], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0 || (strcmp (buf, " inf") != 0 && strcmp (buf, " infinity") != 0)) return 1; return 0; }]])], [gl_cv_func_printf_flag_zero=yes], [gl_cv_func_printf_flag_zero=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_flag_zero="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_printf_flag_zero="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_printf_flag_zero="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports large precisions. dnl On mingw, precisions larger than 512 are treated like 512, in integer, dnl floating-point or pointer output. On Solaris 10/x86, precisions larger dnl than 510 in floating-point output crash the program. On Solaris 10/SPARC, dnl precisions larger than 510 in floating-point output yield wrong results. dnl On AIX 7.1, precisions larger than 998 in floating-point output yield dnl wrong results. On BeOS, precisions larger than 1044 crash the program. dnl Result is gl_cv_func_printf_precision. AC_DEFUN([gl_PRINTF_PRECISION], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports large precisions], [gl_cv_func_printf_precision], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[5000]; int main () { int result = 0; #ifdef __BEOS__ /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ return 1; #endif if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) result |= 1; if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5) result |= 2; if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5 || buf[0] != '1') result |= 4; if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5 || buf[0] != '1') result |= 4; return result; }]])], [gl_cv_func_printf_precision=yes], [gl_cv_func_printf_precision=no], [ changequote(,)dnl case "$host_os" in # Guess no only on Solaris, native Windows, and BeOS systems. solaris*) gl_cv_func_printf_precision="guessing no" ;; mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;; beos*) gl_cv_func_printf_precision="guessing no" ;; # Guess yes on Android. linux*-android*) gl_cv_func_printf_precision="guessing yes" ;; *) gl_cv_func_printf_precision="guessing yes" ;; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions recovers gracefully in case dnl of an out-of-memory condition, or whether it crashes the entire program. dnl Result is gl_cv_func_printf_enomem. AC_DEFUN([gl_PRINTF_ENOMEM], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_MULTIARCH]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf survives out-of-memory conditions], [gl_cv_func_printf_enomem], [ gl_cv_func_printf_enomem="guessing no" if test "$cross_compiling" = no; then if test $APPLE_UNIVERSAL_BUILD = 0; then AC_LANG_CONFTEST([AC_LANG_SOURCE([ ]GL_NOCRASH[ changequote(,)dnl #include #include #include #include #include int main() { struct rlimit limit; int ret; nocrash_init (); /* Some printf implementations allocate temporary space with malloc. */ /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ #ifdef RLIMIT_DATA if (getrlimit (RLIMIT_DATA, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_DATA, &limit) < 0) return 77; #endif /* On Linux systems, malloc() is limited by RLIMIT_AS. */ #ifdef RLIMIT_AS if (getrlimit (RLIMIT_AS, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_AS, &limit) < 0) return 77; #endif /* Some printf implementations allocate temporary space on the stack. */ #ifdef RLIMIT_STACK if (getrlimit (RLIMIT_STACK, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_STACK, &limit) < 0) return 77; #endif ret = printf ("%.5000000f", 1.0); return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); } changequote([,])dnl ])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then (./conftest 2>&AS_MESSAGE_LOG_FD result=$? _AS_ECHO_LOG([\$? = $result]) if test $result != 0 && test $result != 77; then result=1; fi exit $result ) >/dev/null 2>/dev/null case $? in 0) gl_cv_func_printf_enomem="yes" ;; 77) gl_cv_func_printf_enomem="guessing no" ;; *) gl_cv_func_printf_enomem="no" ;; esac else gl_cv_func_printf_enomem="guessing no" fi rm -fr conftest* else dnl A universal build on Apple Mac OS X platforms. dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode. dnl But we need a configuration result that is valid in both modes. gl_cv_func_printf_enomem="guessing no" fi fi if test "$gl_cv_func_printf_enomem" = "guessing no"; then changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on Solaris. solaris*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on AIX. aix*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on HP-UX/hppa. hpux*) case "$host_cpu" in hppa*) gl_cv_func_printf_enomem="guessing yes";; *) gl_cv_func_printf_enomem="guessing no";; esac ;; # Guess yes on IRIX. irix*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on OSF/1. osf*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on Haiku. haiku*) gl_cv_func_printf_enomem="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_enomem="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_printf_enomem="guessing no";; esac changequote([,])dnl fi ]) ]) dnl Test whether the snprintf function exists. (ISO C99, POSIX:2001) dnl Result is ac_cv_func_snprintf. AC_DEFUN([gl_SNPRINTF_PRESENCE], [ AC_CHECK_FUNCS_ONCE([snprintf]) ]) dnl Test whether the string produced by the snprintf function is always NUL dnl terminated. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_snprintf_truncation_c99. AC_DEFUN([gl_SNPRINTF_TRUNCATION_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf truncates the result as in C99], [gl_cv_func_snprintf_truncation_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); my_snprintf (buf, 3, "%d %d", 4567, 89); if (memcmp (buf, "45\0DEF", 6) != 0) return 1; return 0; }]])], [gl_cv_func_snprintf_truncation_c99=yes], [gl_cv_func_snprintf_truncation_c99=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_truncation_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";; darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_truncation_c99="guessing no";; openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_snprintf_truncation_c99="guessing no";; solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";; aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OSF/1 >= 5. osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_truncation_c99="guessing no";; netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess no on native Windows. mingw*) gl_cv_func_snprintf_truncation_c99="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_snprintf_truncation_c99="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the return value of the snprintf function is the number dnl of bytes (excluding the terminating NUL) that would have been produced dnl if the buffer had been large enough. (ISO C99, POSIX:2001) dnl For example, this test program fails on IRIX 6.5: dnl --------------------------------------------------------------------- dnl #include dnl int main() dnl { dnl static char buf[8]; dnl int retval = snprintf (buf, 3, "%d", 12345); dnl return retval >= 0 && retval < 3; dnl } dnl --------------------------------------------------------------------- dnl Result is gl_cv_func_snprintf_retval_c99. AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf returns a byte count as in C99], [gl_cv_func_snprintf_retval_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; }]])], [gl_cv_func_snprintf_retval_c99=yes], [gl_cv_func_snprintf_retval_c99=no], [case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_retval_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_retval_c99="guessing no";; openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_retval_c99="guessing no";; netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";; changequote([,])dnl # Guess yes on MSVC, no on mingw. mingw*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_snprintf_retval_c99="guessing yes"], [gl_cv_func_snprintf_retval_c99="guessing no"]) ;; # If we don't know, assume the worst. *) gl_cv_func_snprintf_retval_c99="guessing no";; esac ]) ]) ]) dnl Test whether the snprintf function supports the %n format directive dnl also in truncated portions of the format string. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_snprintf_directive_n. AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], [gl_cv_func_snprintf_directive_n], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char fmtstring[10]; static char buf[100]; int main () { int count = -1; /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); my_snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); if (count != 6) return 1; return 0; }]])], [gl_cv_func_snprintf_directive_n=yes], [gl_cv_func_snprintf_directive_n=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_directive_n="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_directive_n="guessing no";; darwin*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_snprintf_directive_n="guessing no";; solaris*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_directive_n="guessing no";; aix*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on OSF/1 >= 5. osf[3-4]*) gl_cv_func_snprintf_directive_n="guessing no";; osf*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_directive_n="guessing no";; netbsd*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_snprintf_directive_n="guessing no";; # Guess no on native Windows. mingw*) gl_cv_func_snprintf_directive_n="guessing no";; # If we don't know, assume the worst. *) gl_cv_func_snprintf_directive_n="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the snprintf function, when passed a size = 1, writes any dnl output without bounds in this case, behaving like sprintf. This is the dnl case on Linux libc5. dnl Result is gl_cv_func_snprintf_size1. AC_DEFUN([gl_SNPRINTF_SIZE1], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf respects a size of 1], [gl_cv_func_snprintf_size1], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; }]])], [gl_cv_func_snprintf_size1=yes], [gl_cv_func_snprintf_size1=no], [case "$host_os" in # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_size1="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_snprintf_size1="guessing yes" ;; *) gl_cv_func_snprintf_size1="guessing yes" ;; esac ]) ]) ]) dnl Test whether the vsnprintf function, when passed a zero size, produces no dnl output. (ISO C99, POSIX:2001) dnl For example, snprintf nevertheless writes a NUL byte in this case dnl on OSF/1 5.1: dnl --------------------------------------------------------------------- dnl #include dnl int main() dnl { dnl static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; dnl snprintf (buf, 0, "%d", 12345); dnl return buf[0] != 'D'; dnl } dnl --------------------------------------------------------------------- dnl And vsnprintf writes any output without bounds in this case, behaving like dnl vsprintf, on HP-UX 11 and OSF/1 5.1: dnl --------------------------------------------------------------------- dnl #include dnl #include dnl static int my_snprintf (char *buf, int size, const char *format, ...) dnl { dnl va_list args; dnl int ret; dnl va_start (args, format); dnl ret = vsnprintf (buf, size, format, args); dnl va_end (args); dnl return ret; dnl } dnl int main() dnl { dnl static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; dnl my_snprintf (buf, 0, "%d", 12345); dnl return buf[0] != 'D'; dnl } dnl --------------------------------------------------------------------- dnl Result is gl_cv_func_vsnprintf_zerosize_c99. AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99], [gl_cv_func_vsnprintf_zerosize_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 0, "%d", 12345); return buf[0] != 'D'; }]])], [gl_cv_func_vsnprintf_zerosize_c99=yes], [gl_cv_func_vsnprintf_zerosize_c99=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on musl systems. *-musl*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Cygwin. cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on native Windows. mingw* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # If we don't know, assume the worst. *) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; esac changequote([,])dnl ]) ]) ]) dnl The results of these tests on various platforms are: dnl dnl 1 = gl_PRINTF_SIZES_C99 dnl 2 = gl_PRINTF_LONG_DOUBLE dnl 3 = gl_PRINTF_INFINITE dnl 4 = gl_PRINTF_INFINITE_LONG_DOUBLE dnl 5 = gl_PRINTF_DIRECTIVE_A dnl 6 = gl_PRINTF_DIRECTIVE_F dnl 7 = gl_PRINTF_DIRECTIVE_N dnl 8 = gl_PRINTF_DIRECTIVE_LS dnl 9 = gl_PRINTF_POSITIONS dnl 10 = gl_PRINTF_FLAG_GROUPING dnl 11 = gl_PRINTF_FLAG_LEFTADJUST dnl 12 = gl_PRINTF_FLAG_ZERO dnl 13 = gl_PRINTF_PRECISION dnl 14 = gl_PRINTF_ENOMEM dnl 15 = gl_SNPRINTF_PRESENCE dnl 16 = gl_SNPRINTF_TRUNCATION_C99 dnl 17 = gl_SNPRINTF_RETVAL_C99 dnl 18 = gl_SNPRINTF_DIRECTIVE_N dnl 19 = gl_SNPRINTF_SIZE1 dnl 20 = gl_VSNPRINTF_ZEROSIZE_C99 dnl dnl 1 = checking whether printf supports size specifiers as in C99... dnl 2 = checking whether printf supports 'long double' arguments... dnl 3 = checking whether printf supports infinite 'double' arguments... dnl 4 = checking whether printf supports infinite 'long double' arguments... dnl 5 = checking whether printf supports the 'a' and 'A' directives... dnl 6 = checking whether printf supports the 'F' directive... dnl 7 = checking whether printf supports the 'n' directive... dnl 8 = checking whether printf supports the 'ls' directive... dnl 9 = checking whether printf supports POSIX/XSI format strings with positions... dnl 10 = checking whether printf supports the grouping flag... dnl 11 = checking whether printf supports the left-adjust flag correctly... dnl 12 = checking whether printf supports the zero flag correctly... dnl 13 = checking whether printf supports large precisions... dnl 14 = checking whether printf survives out-of-memory conditions... dnl 15 = checking for snprintf... dnl 16 = checking whether snprintf truncates the result as in C99... dnl 17 = checking whether snprintf returns a byte count as in C99... dnl 18 = checking whether snprintf fully supports the 'n' directive... dnl 19 = checking whether snprintf respects a size of 1... dnl 20 = checking whether vsnprintf respects a zero size as in C99... dnl dnl . = yes, # = no. dnl dnl 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 dnl glibc 2.5 . . . . . . . . . . . . . . . . . . . . dnl glibc 2.3.6 . . . . # . . . . . . . . . . . . . . . dnl FreeBSD 5.4, 6.1 . . . . # . . . . . . # . # . . . . . . dnl Mac OS X 10.5.8 . . . # # . . . . . . # . . . . . . . . dnl Mac OS X 10.3.9 . . . . # . . . . . . # . # . . . . . . dnl OpenBSD 3.9, 4.0 . . # # # # . # . # . # . # . . . . . . dnl Cygwin 1.7.0 (2009) . . . # . . . ? . . . . . ? . . . . . . dnl Cygwin 1.5.25 (2008) . . . # # . . # . . . . . # . . . . . . dnl Cygwin 1.5.19 (2006) # . . # # # . # . # . # # # . . . . . . dnl Solaris 11.4 . . # # # . . # . . . # . . . . . . . . dnl Solaris 11.3 . . . . # . . # . . . . . . . . . . . . dnl Solaris 11.0 . . # # # . . # . . . # . . . . . . . . dnl Solaris 10 . . # # # . . # . . . # # . . . . . . . dnl Solaris 2.6 ... 9 # . # # # # . # . . . # # . . . # . . . dnl Solaris 2.5.1 # . # # # # . # . . . # . . # # # # # # dnl AIX 7.1 . . # # # . . . . . . # # . . . . . . . dnl AIX 5.2 . . # # # . . . . . . # . . . . . . . . dnl AIX 4.3.2, 5.1 # . # # # # . . . . . # . . . . # . . . dnl HP-UX 11.31 . . . . # . . . . . . # . . . . # # . . dnl HP-UX 11.{00,11,23} # . . . # # . . . . . # . . . . # # . # dnl HP-UX 10.20 # . # . # # . ? . . # # . . . . # # ? # dnl IRIX 6.5 # . # # # # . # . . . # . . . . # . . . dnl OSF/1 5.1 # . # # # # . . . . . # . . . . # . . # dnl OSF/1 4.0d # . # # # # . . . . . # . . # # # # # # dnl NetBSD 5.0 . . . # # . . . . . . # . # . . . . . . dnl NetBSD 4.0 . ? ? ? ? ? . ? . ? ? ? ? ? . . . ? ? ? dnl NetBSD 3.0 . . . . # # . ? # # ? # . # . . . . . . dnl Haiku . . . # # # . # . . . . . ? . . ? . . . dnl BeOS # # . # # # . ? # . ? . # ? . . ? . . . dnl Android 4.3 . . # # # # # # . # . # . # . . . # . . dnl old mingw / msvcrt # # # # # # . . # # . # # ? . # # # . . dnl MSVC 9 # # # # # # # . # # . # # ? # # # # . . dnl mingw 2009-2011 . # . # . . . . # # . . . ? . . . . . . dnl mingw-w64 2011 # # # # # # . . # # . # # ? . # # # . . gsasl-1.8.1/lib/m4/pthread_rwlock_rdlock.m40000644000000000000000000001314013516267371015431 00000000000000# pthread_rwlock_rdlock.m4 serial 2 dnl Copyright (C) 2017-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Inspired by dnl https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c dnl by Intel Corporation. dnl Test whether in a situation where dnl - an rwlock is taken by a reader and has a writer waiting, dnl - an additional reader requests the lock, dnl - the waiting writer and the requesting reader threads have the same dnl priority, dnl the requesting reader thread gets blocked, so that at some point the dnl waiting writer can acquire the lock. dnl Without such a guarantee, when there a N readers and each of the readers dnl spends more than 1/Nth of the time with the lock held, there is a high dnl probability that the waiting writer will not get the lock in a given finite dnl time, a phenomenon called "writer starvation". dnl Without such a guarantee, applications have a hard time avoiding writer dnl starvation. dnl dnl POSIX:2017 makes this requirement only for implementations that support TPS dnl (Thread Priority Scheduling) and only for the scheduling policies SCHED_FIFO dnl and SCHED_RR, see dnl http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html dnl but this test verifies the guarantee regardless of TPS and regardless of dnl scheduling policy. dnl Glibc currently does not provide this guarantee, see dnl https://sourceware.org/bugzilla/show_bug.cgi?id=13701 AC_DEFUN([gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER], [ AC_REQUIRE([gl_THREADLIB_EARLY]) AC_CACHE_CHECK([whether pthread_rwlock_rdlock prefers a writer to a reader], [gl_cv_pthread_rwlock_rdlock_prefer_writer], [save_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (exit (10 + (n))) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static pthread_rwlock_t lock; static pthread_t reader1; static pthread_t writer; static pthread_t reader2; static pthread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static pthread_mutex_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9: The second reader thread requests the lock. */ err = pthread_rwlock_tryrdlock (&lock); if (err == 0) FAILURE (); else if (err != EBUSY) UNEXPECTED (9); /* Step 10: Launch a timer, to test whether the next call blocks. */ if (pthread_create (&timer, NULL, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = pthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (pthread_create (&reader2, NULL, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (pthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = pthread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (pthread_rwlock_init (&lock, NULL)) UNEXPECTED (1); if (pthread_mutex_init (&baton, NULL)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (pthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (pthread_create (&writer, NULL, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } ]])], [gl_cv_pthread_rwlock_rdlock_prefer_writer=yes], [gl_cv_pthread_rwlock_rdlock_prefer_writer=no], [gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes"]) LIBS="$save_LIBS" ]) case "$gl_cv_pthread_rwlock_rdlock_prefer_writer" in *yes) AC_DEFINE([HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER], [1], [Define if the 'pthread_rwlock_rdlock' function prefers a writer to a reader.]) ;; esac ]) gsasl-1.8.1/lib/m4/ungetc.m40000644000000000000000000000456013516267371012356 00000000000000# ungetc.m4 serial 7 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether ungetc works on arbitrary bytes], [gl_cv_func_ungetc_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include ]], [FILE *f; if (!(f = fopen ("conftest.tmp", "w+"))) return 1; if (fputs ("abc", f) < 0) { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != 'b') { fclose (f); return 4; } if (ungetc ('d', f) != 'd') { fclose (f); return 5; } if (ftell (f) != 1) { fclose (f); return 6; } if (fgetc (f) != 'd') { fclose (f); return 7; } if (ftell (f) != 2) { fclose (f); return 8; } if (fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 9; } if (ftell (f) != 2) { fclose (f); return 10; } if (fgetc (f) != 'c') { fclose (f); return 11; } fclose (f); remove ("conftest.tmp");])], [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on bionic systems. *-android*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_ungetc_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_ungetc_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_ungetc_works" in *yes) ;; *) AC_DEFINE([FUNC_UNGETC_BROKEN], [1], [Define to 1 if ungetc is broken when used on arbitrary bytes.]) ;; esac ]) gsasl-1.8.1/lib/m4/memchr.m40000644000000000000000000000674713516267371012355 00000000000000# memchr.m4 serial 14 dnl Copyright (C) 2002-2004, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Check for prerequisites for memory fence checks. gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) m4_ifdef([gl_FUNC_MEMCHR_OBSOLETE], [ dnl These days, we assume memchr is present. But if support for old dnl platforms is desired: AC_CHECK_FUNCS_ONCE([memchr]) if test $ac_cv_func_memchr = no; then HAVE_MEMCHR=0 fi ]) if test $HAVE_MEMCHR = 1; then # Detect platform-specific bugs in some versions of glibc: # memchr should not dereference anything with length 0 # https://bugzilla.redhat.com/show_bug.cgi?id=499689 # memchr should not dereference overestimated length after a match # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 # https://sourceware.org/bugzilla/show_bug.cgi?id=10162 # memchr should cast the second argument to 'unsigned char'. # This bug exists in Android 4.3. # Assume that memchr works on platforms that lack mprotect. AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #if HAVE_SYS_MMAN_H # include # include # include # include # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif ]], [[ int result = 0; char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { int pagesize = getpagesize (); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) fence = two_pages + pagesize; } #endif if (fence) { if (memchr (fence, 0, 0)) result |= 1; strcpy (fence - 9, "12345678"); if (memchr (fence - 9, 0, 79) != fence - 1) result |= 2; if (memchr (fence - 1, 0, 3) != fence - 1) result |= 4; } /* Test against bug on Android 4.3. */ { char input[3]; input[0] = 'a'; input[1] = 'b'; input[2] = 'c'; if (memchr (input, 0x789abc00 | 'b', 3) != input + 1) result |= 8; } return result; ]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no], [case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_memchr_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_memchr_works="guessing yes" ;; # Be pessimistic for now. *) gl_cv_func_memchr_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_memchr_works" in *yes) ;; *) REPLACE_MEMCHR=1 ;; esac fi ]) # Prerequisites of lib/memchr.c. AC_DEFUN([gl_PREREQ_MEMCHR], [ AC_CHECK_HEADERS([bp-sym.h]) ]) gsasl-1.8.1/lib/m4/stdio_h.m40000644000000000000000000002522713516267371012525 00000000000000# stdio_h.m4 serial 49 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_STDIO_H], [ AH_VERBATIM([MINGW_ANSI_STDIO], [/* Use GNU style printf and scanf. */ #ifndef __USE_MINGW_ANSI_STDIO # undef __USE_MINGW_ANSI_STDIO #endif ]) AC_DEFINE([__USE_MINGW_ANSI_STDIO]) AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_NEXT_HEADERS([stdio.h]) dnl Determine whether __USE_MINGW_ANSI_STDIO makes printf and dnl inttypes.h behave like gnu instead of system; we must give our dnl printf wrapper the right attribute to match. AC_CACHE_CHECK([which flavor of printf attribute matches inttypes macros], [gl_cv_func_printf_attribute_flavor], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #define __STDC_FORMAT_MACROS 1 #include #include /* For non-mingw systems, compilation will trivially succeed. For mingw, compilation will succeed for older mingw (system printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */ #if (defined _WIN32 && ! defined __CYGWIN__) && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1]; #endif ]])], [gl_cv_func_printf_attribute_flavor=system], [gl_cv_func_printf_attribute_flavor=gnu])]) if test "$gl_cv_func_printf_attribute_flavor" = gnu; then AC_DEFINE([GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU], [1], [Define to 1 if printf and friends should be labeled with attribute "__gnu_printf__" instead of "__printf__"]) fi dnl No need to create extra modules for these functions. Everyone who uses dnl likely needs them. GNULIB_FSCANF=1 gl_MODULE_INDICATOR([fscanf]) GNULIB_SCANF=1 gl_MODULE_INDICATOR([scanf]) GNULIB_FGETC=1 GNULIB_GETC=1 GNULIB_GETCHAR=1 GNULIB_FGETS=1 GNULIB_FREAD=1 dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c" dnl "expected source file, required through AC_LIBSOURCES, not found". It is dnl also an optimization, to avoid performing a configure check whose result dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING dnl or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then REPLACE_STDIO_READ_FUNCS=1 AC_LIBOBJ([stdio-read]) fi ]) dnl No need to create extra modules for these functions. Everyone who uses dnl likely needs them. GNULIB_FPRINTF=1 GNULIB_PRINTF=1 GNULIB_VFPRINTF=1 GNULIB_VPRINTF=1 GNULIB_FPUTC=1 GNULIB_PUTC=1 GNULIB_PUTCHAR=1 GNULIB_FPUTS=1 GNULIB_PUTS=1 GNULIB_FWRITE=1 dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" dnl "expected source file, required through AC_LIBSOURCES, not found". It is dnl also an optimization, to avoid performing a configure check whose result dnl is not used. But it does not make the test of GNULIB_STDIO_H_SIGPIPE or dnl GNULIB_SIGPIPE redundant. m4_ifdef([gl_SIGNAL_SIGPIPE], [ gl_SIGNAL_SIGPIPE if test $gl_cv_header_signal_h_SIGPIPE != yes; then REPLACE_STDIO_WRITE_FUNCS=1 AC_LIBOBJ([stdio-write]) fi ]) dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" dnl "expected source file, required through AC_LIBSOURCES, not found". It is dnl also an optimization, to avoid performing a configure check whose result dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING dnl or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then REPLACE_STDIO_WRITE_FUNCS=1 AC_LIBOBJ([stdio-write]) fi ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by both C89 and C11. gl_WARN_ON_USE_PREPARE([[#include ]], [dprintf fpurge fseeko ftello getdelim getline gets pclose popen renameat snprintf tmpfile vdprintf vsnprintf]) ]) AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_STDIO_H_DEFAULTS], [ GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) GNULIB_FDOPEN=0; AC_SUBST([GNULIB_FDOPEN]) GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) GNULIB_FGETC=0; AC_SUBST([GNULIB_FGETC]) GNULIB_FGETS=0; AC_SUBST([GNULIB_FGETS]) GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN]) GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF]) GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX]) GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE]) GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC]) GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS]) GNULIB_FREAD=0; AC_SUBST([GNULIB_FREAD]) GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN]) GNULIB_FSCANF=0; AC_SUBST([GNULIB_FSCANF]) GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK]) GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO]) GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL]) GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO]) GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE]) GNULIB_GETC=0; AC_SUBST([GNULIB_GETC]) GNULIB_GETCHAR=0; AC_SUBST([GNULIB_GETCHAR]) GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM]) GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE]) GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) GNULIB_PCLOSE=0; AC_SUBST([GNULIB_PCLOSE]) GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN]) GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX]) GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC]) GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR]) GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS]) GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE]) GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME]) GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT]) GNULIB_SCANF=0; AC_SUBST([GNULIB_SCANF]) GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF]) GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX]) GNULIB_STDIO_H_NONBLOCKING=0; AC_SUBST([GNULIB_STDIO_H_NONBLOCKING]) GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE]) GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF]) GNULIB_VFSCANF=0; AC_SUBST([GNULIB_VFSCANF]) GNULIB_VSCANF=0; AC_SUBST([GNULIB_VSCANF]) GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF]) GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF]) GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX]) GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF]) GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX]) GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF]) GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO]) HAVE_DECL_FTELLO=1; AC_SUBST([HAVE_DECL_FTELLO]) HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF]) HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF]) HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) HAVE_PCLOSE=1; AC_SUBST([HAVE_PCLOSE]) HAVE_POPEN=1; AC_SUBST([HAVE_POPEN]) HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT]) HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) REPLACE_FDOPEN=0; AC_SUBST([REPLACE_FDOPEN]) REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE]) REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN]) REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK]) REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO]) REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL]) REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO]) REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM]) REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE]) REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF]) REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR]) REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN]) REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF]) REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE]) REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME]) REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT]) REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF]) REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF]) REPLACE_STDIO_READ_FUNCS=0; AC_SUBST([REPLACE_STDIO_READ_FUNCS]) REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE]) REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF]) REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF]) REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF]) REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF]) REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF]) REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF]) ]) gsasl-1.8.1/lib/m4/sys_socket_h.m40000644000000000000000000001464713516267371013575 00000000000000# sys_socket_h.m4 serial 24 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson. AC_DEFUN([gl_HEADER_SYS_SOCKET], [ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl On OSF/1, the functions recv(), send(), recvfrom(), sendto() have dnl old-style declarations (with return type 'int' instead of 'ssize_t') dnl unless _POSIX_PII_SOCKET is defined. case "$host_os" in osf*) AC_DEFINE([_POSIX_PII_SOCKET], [1], [Define to 1 in order to get the POSIX compatible declarations of socket functions.]) ;; esac AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_socket_h_selfcontained], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], [gl_cv_header_sys_socket_h_selfcontained=yes], [gl_cv_header_sys_socket_h_selfcontained=no]) ]) if test $gl_cv_header_sys_socket_h_selfcontained = yes; then dnl If the shutdown function exists, should define dnl SHUT_RD, SHUT_WR, SHUT_RDWR. AC_CHECK_FUNCS([shutdown]) if test $ac_cv_func_shutdown = yes; then AC_CACHE_CHECK([whether defines the SHUT_* macros], [gl_cv_header_sys_socket_h_shut], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };]])], [gl_cv_header_sys_socket_h_shut=yes], [gl_cv_header_sys_socket_h_shut=no]) ]) if test $gl_cv_header_sys_socket_h_shut = no; then SYS_SOCKET_H='sys/socket.h' fi fi fi # We need to check for ws2tcpip.h now. gl_PREREQ_SYS_H_SOCKET AC_CHECK_TYPES([struct sockaddr_storage, sa_family_t],,,[ /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]) if test $ac_cv_type_struct_sockaddr_storage = no; then HAVE_STRUCT_SOCKADDR_STORAGE=0 fi if test $ac_cv_type_sa_family_t = no; then HAVE_SA_FAMILY_T=0 fi if test $ac_cv_type_struct_sockaddr_storage != no; then AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family], [], [HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0], [#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]) fi if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then SYS_SOCKET_H='sys/socket.h' fi gl_PREREQ_SYS_H_WINSOCK2 dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Some systems require prerequisite headers. */ #include #include ]], [socket connect accept bind getpeername getsockname getsockopt listen recv send recvfrom sendto setsockopt shutdown accept4]) ]) AC_DEFUN([gl_PREREQ_SYS_H_SOCKET], [ dnl Check prerequisites of the replacement. AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) gl_CHECK_NEXT_HEADERS([sys/socket.h]) if test $ac_cv_header_sys_socket_h = yes; then HAVE_SYS_SOCKET_H=1 else HAVE_SYS_SOCKET_H=0 fi AC_SUBST([HAVE_SYS_SOCKET_H]) gl_PREREQ_SYS_H_WS2TCPIP ]) # Common prerequisites of the replacement and of the # replacement. # Sets and substitutes HAVE_WINSOCK2_H. AC_DEFUN([gl_PREREQ_SYS_H_WINSOCK2], [ m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) AC_CHECK_HEADERS_ONCE([sys/socket.h]) if test $ac_cv_header_sys_socket_h != yes; then dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make dnl the check for those headers unconditional; yet cygwin reports dnl that the headers are present but cannot be compiled (since on dnl cygwin, all socket information should come from sys/socket.h). AC_CHECK_HEADERS([winsock2.h]) fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi AC_SUBST([HAVE_WINSOCK2_H]) ]) # Common prerequisites of the replacement and of the # replacement. # Sets and substitutes HAVE_WS2TCPIP_H. AC_DEFUN([gl_PREREQ_SYS_H_WS2TCPIP], [ AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi AC_SUBST([HAVE_WS2TCPIP_H]) ]) AC_DEFUN([gl_SYS_SOCKET_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SYS_SOCKET_H_DEFAULTS], [ GNULIB_SOCKET=0; AC_SUBST([GNULIB_SOCKET]) GNULIB_CONNECT=0; AC_SUBST([GNULIB_CONNECT]) GNULIB_ACCEPT=0; AC_SUBST([GNULIB_ACCEPT]) GNULIB_BIND=0; AC_SUBST([GNULIB_BIND]) GNULIB_GETPEERNAME=0; AC_SUBST([GNULIB_GETPEERNAME]) GNULIB_GETSOCKNAME=0; AC_SUBST([GNULIB_GETSOCKNAME]) GNULIB_GETSOCKOPT=0; AC_SUBST([GNULIB_GETSOCKOPT]) GNULIB_LISTEN=0; AC_SUBST([GNULIB_LISTEN]) GNULIB_RECV=0; AC_SUBST([GNULIB_RECV]) GNULIB_SEND=0; AC_SUBST([GNULIB_SEND]) GNULIB_RECVFROM=0; AC_SUBST([GNULIB_RECVFROM]) GNULIB_SENDTO=0; AC_SUBST([GNULIB_SENDTO]) GNULIB_SETSOCKOPT=0; AC_SUBST([GNULIB_SETSOCKOPT]) GNULIB_SHUTDOWN=0; AC_SUBST([GNULIB_SHUTDOWN]) GNULIB_ACCEPT4=0; AC_SUBST([GNULIB_ACCEPT4]) HAVE_STRUCT_SOCKADDR_STORAGE=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE]) HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY]) HAVE_SA_FAMILY_T=1; AC_SUBST([HAVE_SA_FAMILY_T]) HAVE_ACCEPT4=1; AC_SUBST([HAVE_ACCEPT4]) ]) gsasl-1.8.1/lib/m4/ld-output-def.m40000644000000000000000000000203613516267371013556 00000000000000# ld-output-def.m4 serial 2 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # gl_LD_OUTPUT_DEF() # ------------- # Check if linker supports -Wl,--output-def and define automake # conditional HAVE_LD_OUTPUT_DEF if it is. AC_DEFUN([gl_LD_OUTPUT_DEF], [ AC_CACHE_CHECK([if gcc/ld supports -Wl,--output-def], [gl_cv_ld_output_def], [if test "$enable_shared" = no; then gl_cv_ld_output_def="not needed, shared libraries are disabled" else gl_ldflags_save=$LDFLAGS LDFLAGS="-Wl,--output-def,conftest.def" AC_LINK_IFELSE([AC_LANG_PROGRAM([])], [gl_cv_ld_output_def=yes], [gl_cv_ld_output_def=no]) rm -f conftest.def LDFLAGS="$gl_ldflags_save" fi]) AM_CONDITIONAL([HAVE_LD_OUTPUT_DEF], test "x$gl_cv_ld_output_def" = "xyes") ]) gsasl-1.8.1/lib/m4/sleep.m40000644000000000000000000000444413516267371012202 00000000000000# sleep.m4 serial 10 dnl Copyright (C) 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SLEEP], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl We expect to see the declaration of sleep() in a header file. dnl Older versions of mingw have a sleep() function that is an alias to dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep(): dnl it takes the number of milliseconds as argument and returns void. dnl mingw does not declare this function. AC_CHECK_DECLS([sleep], , , [[#include ]]) AC_CHECK_FUNCS_ONCE([sleep]) if test $ac_cv_have_decl_sleep != yes; then HAVE_SLEEP=0 else dnl Cygwin 1.5.x has a bug where sleep can't exceed 49.7 days. AC_CACHE_CHECK([for working sleep], [gl_cv_func_sleep_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #include static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (2); } ]], [[ /* Failure to compile this test due to missing alarm is okay, since all such platforms (mingw) also lack sleep. */ unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ unsigned int remaining; signal (SIGALRM, handle_alarm); alarm (1); remaining = sleep (pentecost); if (remaining > pentecost) return 3; if (remaining <= pentecost - 10) return 4; return 0; ]])], [gl_cv_func_sleep_works=yes], [gl_cv_func_sleep_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_sleep_works="guessing yes" ;; # Guess no on native Windows. mingw*) gl_cv_func_sleep_works="guessing no" ;; # If we don't know, assume the worst. *) gl_cv_func_sleep_works="guessing no" ;; esac ])]) case "$gl_cv_func_sleep_works" in *yes) ;; *) REPLACE_SLEEP=1 ;; esac fi ]) gsasl-1.8.1/lib/m4/symlink.m40000644000000000000000000000374013516267371012556 00000000000000# serial 8 # See if we need to provide symlink replacement. dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Written by Eric Blake. AC_DEFUN([gl_FUNC_SYMLINK], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([symlink]) dnl The best we can do on mingw is provide a dummy that always fails, so dnl that compilation can proceed with fewer ifdefs. On FreeBSD 7.2, AIX 7.1, dnl and Solaris 9, we want to fix a bug with trailing slash handling. if test $ac_cv_func_symlink = no; then HAVE_SYMLINK=0 else AC_CACHE_CHECK([whether symlink handles trailing slash correctly], [gl_cv_func_symlink_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int result = 0; if (!symlink ("a", "conftest.link/")) result |= 1; if (symlink ("conftest.f", "conftest.lnk2")) result |= 2; else if (!symlink ("a", "conftest.lnk2/")) result |= 4; return result; ]])], [gl_cv_func_symlink_works=yes], [gl_cv_func_symlink_works=no], [case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_symlink_works="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_symlink_works="guessing no" ;; esac ]) rm -f conftest.f conftest.link conftest.lnk2]) case "$gl_cv_func_symlink_works" in *yes) ;; *) REPLACE_SYMLINK=1 ;; esac fi ]) gsasl-1.8.1/lib/m4/inet_pton.m40000644000000000000000000000446013516267371013067 00000000000000# inet_pton.m4 serial 19 dnl Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_INET_PTON], [ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) dnl Persuade Solaris to declare inet_pton. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_C_RESTRICT]) dnl Most platforms that provide inet_pton define it in libc. dnl Solaris 8..10 provide inet_pton in libnsl instead. dnl Solaris 2.6..7 provide inet_pton in libresolv instead. dnl Haiku provides it in -lnetwork. dnl Native Windows provides it in -lws2_32 instead, with a declaration in dnl , and it uses stdcall calling convention, not cdecl dnl (hence we cannot use AC_CHECK_FUNCS, AC_SEARCH_LIBS to find it). HAVE_INET_PTON=1 INET_PTON_LIB= gl_PREREQ_SYS_H_WINSOCK2 if test $HAVE_WINSOCK2_H = 1; then dnl It needs to be overridden, because the stdcall calling convention dnl is not compliant with POSIX. Set REPLACE_INET_PTON in order to avoid dnl a name conflict at the linker level, even though the header file dnl declares inet_pton only if _WIN32_WINNT >= 0x0600. REPLACE_INET_PTON=1 AC_CHECK_DECLS([inet_pton],,, [[#include ]]) if test $ac_cv_have_decl_inet_pton = yes; then INET_PTON_LIB="-lws2_32" else HAVE_DECL_INET_PTON=0 fi else gl_save_LIBS=$LIBS AC_SEARCH_LIBS([inet_pton], [nsl resolv network], [], [AC_CHECK_FUNCS([inet_pton]) if test $ac_cv_func_inet_pton = no; then HAVE_INET_PTON=0 fi ]) LIBS=$gl_save_LIBS if test "$ac_cv_search_inet_pton" != "no" \ && test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi AC_CHECK_HEADERS_ONCE([netdb.h]) AC_CHECK_DECLS([inet_pton],,, [[#include #if HAVE_NETDB_H # include #endif ]]) if test $ac_cv_have_decl_inet_pton = no; then HAVE_DECL_INET_PTON=0 fi fi AC_SUBST([INET_PTON_LIB]) ]) # Prerequisites of lib/inet_pton.c. AC_DEFUN([gl_PREREQ_INET_PTON], [ AC_REQUIRE([gl_SOCKET_FAMILIES]) ]) gsasl-1.8.1/lib/m4/getdtablesize.m40000644000000000000000000000474013516267371013717 00000000000000# getdtablesize.m4 serial 7 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_GETDTABLESIZE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([getdtablesize]) AC_CHECK_DECLS_ONCE([getdtablesize]) if test $ac_cv_func_getdtablesize = yes && test $ac_cv_have_decl_getdtablesize = yes; then AC_CACHE_CHECK([whether getdtablesize works], [gl_cv_func_getdtablesize_works], [dnl There are two concepts: the "maximum possible file descriptor value + 1" dnl and the "maximum number of open file descriptors in a process". dnl Per SUSv2 and POSIX, getdtablesize() should return the first one. dnl On most platforms, the first and the second concept are the same. dnl On OpenVMS, however, they are different and getdtablesize() returns dnl the second one; thus the test below fails. But we don't care dnl because there's no good way to write a replacement getdtablesize(). case "$host_os" in vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;; *) dnl Cygwin 1.7.25 automatically increases the RLIMIT_NOFILE soft dnl limit up to an unchangeable hard limit; all other platforms dnl correctly require setrlimit before getdtablesize() can report dnl a larger value. AC_RUN_IFELSE([ AC_LANG_PROGRAM([[#include ]], [int size = getdtablesize(); if (dup2 (0, getdtablesize()) != -1) return 1; if (size != getdtablesize()) return 2; ])], [gl_cv_func_getdtablesize_works=yes], [gl_cv_func_getdtablesize_works=no], [case "$host_os" in cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows gl_cv_func_getdtablesize_works="guessing no" ;; *) gl_cv_func_getdtablesize_works="guessing yes" ;; esac ]) ;; esac ]) case "$gl_cv_func_getdtablesize_works" in *yes | "no (limitation)") ;; *) REPLACE_GETDTABLESIZE=1 ;; esac else HAVE_GETDTABLESIZE=0 fi ]) # Prerequisites of lib/getdtablesize.c. AC_DEFUN([gl_PREREQ_GETDTABLESIZE], [:]) gsasl-1.8.1/lib/m4/std-gnu11.m40000644000000000000000000005771213516267371012623 00000000000000# Prefer GNU C11 and C++11 to earlier versions. -*- coding: utf-8 -*- # This implementation is taken from GNU Autoconf lib/autoconf/c.m4 # commit 017d5ddd82854911f0119691d91ea8a1438824d6 # dated Sun Apr 3 13:57:17 2016 -0700 # This implementation will be obsolete once we can assume Autoconf 2.70 # or later is installed everywhere a Gnulib program might be developed. # Copyright (C) 2001-2019 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see . # Written by David MacKenzie, with help from # Akim Demaille, Paul Eggert, # François Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, # Roland McGrath, Noah Friedman, david d zuhn, and many others. # AC_PROG_CC([COMPILER ...]) # -------------------------- # COMPILER ... is a space separated list of C compilers to search for. # This just gives the user an opportunity to specify an alternative # search list for the C compiler. AC_DEFUN_ONCE([AC_PROG_CC], [AC_LANG_PUSH(C)dnl AC_ARG_VAR([CC], [C compiler command])dnl AC_ARG_VAR([CFLAGS], [C compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl _AC_ARG_VAR_LIBS()dnl _AC_ARG_VAR_CPPFLAGS()dnl m4_ifval([$1], [AC_CHECK_TOOLS(CC, [$1])], [AC_CHECK_TOOL(CC, gcc) if test -z "$CC"; then dnl Here we want: dnl AC_CHECK_TOOL(CC, cc) dnl but without the check for a tool without the prefix. dnl Until the check is removed from there, copy the code: if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(CC, [${ac_tool_prefix}cc], [${ac_tool_prefix}cc]) fi fi if test -z "$CC"; then AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) fi if test -z "$CC"; then AC_CHECK_TOOLS(CC, cl.exe) fi if test -z "$CC"; then AC_CHECK_TOOL(CC, clang) fi ]) test -z "$CC" && AC_MSG_FAILURE([no acceptable C compiler found in \$PATH]) # Provide some information about the compiler. _AS_ECHO_LOG([checking for _AC_LANG compiler version]) set X $ac_compile ac_compiler=$[2] for ac_option in --version -v -V -qversion -version; do m4_ifdef([_AC_DO_LIMIT],[_AC_DO_LIMIT],[_AC_DO])([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD]) done m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl _AC_LANG_COMPILER_GNU if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi _AC_PROG_CC_G dnl dnl Set ac_prog_cc_stdc to the supported C version. dnl Also set the documented variable ac_cv_prog_cc_stdc; dnl its name was chosen when it was cached, but it is no longer cached. _AC_PROG_CC_C11([ac_prog_cc_stdc=c11 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11], [_AC_PROG_CC_C99([ac_prog_cc_stdc=c99 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99], [_AC_PROG_CC_C89([ac_prog_cc_stdc=c89 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89], [ac_prog_cc_stdc=no ac_cv_prog_cc_stdc=no])])]) dnl AC_LANG_POP(C)dnl ])# AC_PROG_CC # AC_PROG_CXX([LIST-OF-COMPILERS]) # -------------------------------- # LIST-OF-COMPILERS is a space separated list of C++ compilers to search # for (if not specified, a default list is used). This just gives the # user an opportunity to specify an alternative search list for the C++ # compiler. # aCC HP-UX C++ compiler much better than `CC', so test before. # FCC Fujitsu C++ compiler # KCC KAI C++ compiler # RCC Rational C++ # xlC_r AIX C Set++ (with support for reentrant code) # xlC AIX C Set++ AC_DEFUN([AC_PROG_CXX], [AC_LANG_PUSH(C++)dnl AC_ARG_VAR([CXX], [C++ compiler command])dnl AC_ARG_VAR([CXXFLAGS], [C++ compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl _AC_ARG_VAR_LIBS()dnl _AC_ARG_VAR_CPPFLAGS()dnl _AC_ARG_VAR_PRECIOUS([CCC])dnl if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else AC_CHECK_TOOLS(CXX, [m4_default([$1], [g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++])], g++) fi fi # Provide some information about the compiler. _AS_ECHO_LOG([checking for _AC_LANG compiler version]) set X $ac_compile ac_compiler=$[2] for ac_option in --version -v -V -qversion; do m4_ifdef([_AC_DO_LIMIT],[_AC_DO_LIMIT],[_AC_DO])([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD]) done m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl _AC_LANG_COMPILER_GNU if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi _AC_PROG_CXX_G _AC_PROG_CXX_CXX11([ac_prog_cxx_stdcxx=cxx11 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 ac_cv_prog_cxx_cxx98=$ac_cv_prog_cxx_cxx11], [_AC_PROG_CXX_CXX98([ac_prog_cxx_stdcxx=cxx98 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98], [ac_prog_cxx_stdcxx=no ac_cv_prog_cxx_stdcxx=no])]) AC_LANG_POP(C++)dnl ])# AC_PROG_CXX # _AC_C_STD_TRY(STANDARD, TEST-PROLOGUE, TEST-BODY, OPTION-LIST, # ACTION-IF-AVAILABLE, ACTION-IF-UNAVAILABLE) # -------------------------------------------------------------- # Check whether the C compiler accepts features of STANDARD (e.g `c89', `c99') # by trying to compile a program of TEST-PROLOGUE and TEST-BODY. If this fails, # try again with each compiler option in the space-separated OPTION-LIST; if one # helps, append it to CC. If eventually successful, run ACTION-IF-AVAILABLE, # else ACTION-IF-UNAVAILABLE. AC_DEFUN([_AC_C_STD_TRY], [AC_MSG_CHECKING([for $CC option to enable ]m4_translit($1, [c], [C])[ features]) AC_CACHE_VAL(ac_cv_prog_cc_$1, [ac_cv_prog_cc_$1=no ac_save_CC=$CC AC_LANG_CONFTEST([AC_LANG_PROGRAM([$2], [$3])]) for ac_arg in '' $4 do CC="$ac_save_CC $ac_arg" _AC_COMPILE_IFELSE([], [ac_cv_prog_cc_$1=$ac_arg]) test "x$ac_cv_prog_cc_$1" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC ])# AC_CACHE_VAL ac_prog_cc_stdc_options= case "x$ac_cv_prog_cc_$1" in x) AC_MSG_RESULT([none needed]) ;; xno) AC_MSG_RESULT([unsupported]) ;; *) ac_prog_cc_stdc_options=" $ac_cv_prog_cc_$1" CC=$CC$ac_prog_cc_stdc_options AC_MSG_RESULT([$ac_cv_prog_cc_$1]) ;; esac AS_IF([test "x$ac_cv_prog_cc_$1" != xno], [$5], [$6]) ])# _AC_C_STD_TRY # _AC_C_C99_TEST_HEADER # --------------------- # A C header suitable for testing for C99. AC_DEFUN([_AC_C_C99_TEST_HEADER], [[#include #include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static bool test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = ""; int number = 0; float fnumber = 0; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); return *str && number && fnumber; }]])# _AC_C_C99_TEST_HEADER # _AC_C_C99_TEST_BODY # ------------------- # A C body suitable for testing for C99, assuming the corresponding header. AC_DEFUN([_AC_C_C99_TEST_BODY], [[ // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ]]) # _AC_PROG_CC_C99 ([ACTION-IF-AVAILABLE], [ACTION-IF-UNAVAILABLE]) # ---------------------------------------------------------------- # If the C compiler is not in ISO C99 mode by default, try to add an # option to output variable CC to make it so. This macro tries # various options that select ISO C99 on some system or another. It # considers the compiler to be in ISO C99 mode if it handles _Bool, # // comments, flexible array members, inline, long long int, mixed # code and declarations, named initialization of structs, restrict, # va_copy, varargs macros, variable declarations in for loops and # variable length arrays. AC_DEFUN([_AC_PROG_CC_C99], [_AC_C_STD_TRY([c99], [_AC_C_C99_TEST_HEADER], [_AC_C_C99_TEST_BODY], dnl Try dnl GCC -std=gnu99 (unused restrictive modes: -std=c99 -std=iso9899:1999) dnl IBM XL C -qlanglvl=extc1x (V12.1; does not pass C11 test) dnl IBM XL C -qlanglvl=extc99 dnl (pre-V12.1; unused restrictive mode: -qlanglvl=stdc99) dnl HP cc -AC99 dnl Intel ICC -std=c99, -c99 (deprecated) dnl IRIX -c99 dnl Solaris -D_STDC_C99= dnl cc's -xc99 option uses linker magic to define the external dnl symbol __xpg4 as if by "int __xpg4 = 1;", which enables C99 dnl behavior for C library functions. This is not wanted here, dnl because it means that a single module compiled with -xc99 dnl alters C runtime behavior for the entire program, not for dnl just the module. Instead, define the (private) symbol dnl _STDC_C99, which suppresses a bogus failure in . dnl The resulting compiler passes the test case here, and that's dnl good enough. For more, please see the thread starting at: dnl https://lists.gnu.org/r/autoconf/2010-12/msg00059.html dnl Tru64 -c99 dnl with extended modes being tried first. [[-std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99]], [$1], [$2])[]dnl ])# _AC_PROG_CC_C99 # _AC_PROG_CC_C11 ([ACTION-IF-AVAILABLE], [ACTION-IF-UNAVAILABLE]) # ---------------------------------------------------------------- # If the C compiler is not in ISO C11 mode by default, try to add an # option to output variable CC to make it so. This macro tries # various options that select ISO C11 on some system or another. It # considers the compiler to be in ISO C11 mode if it handles _Alignas, # _Alignof, _Noreturn, _Static_assert, UTF-8 string literals, # duplicate typedefs, and anonymous structures and unions. AC_DEFUN([_AC_PROG_CC_C11], [_AC_C_STD_TRY([c11], [_AC_C_C99_TEST_HEADER[ // Check _Alignas. char _Alignas (double) aligned_as_double; char _Alignas (0) no_special_alignment; extern char aligned_as_int; char _Alignas (0) _Alignas (int) aligned_as_int; // Check _Alignof. enum { int_alignment = _Alignof (int), int_array_alignment = _Alignof (int[100]), char_alignment = _Alignof (char) }; _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); // Check _Noreturn. int _Noreturn does_not_return (void) { for (;;) continue; } // Check _Static_assert. struct test_static_assert { int x; _Static_assert (sizeof (int) <= sizeof (long int), "_Static_assert does not work in struct"); long int y; }; // Check UTF-8 literals. #define u8 syntax error! char const utf8_literal[] = u8"happens to be ASCII" "another string"; // Check duplicate typedefs. typedef long *long_ptr; typedef long int *long_ptr; typedef long_ptr long_ptr; // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. struct anonymous { union { struct { int i; int j; }; struct { int k; long int l; } w; }; int m; } v1; ]], [_AC_C_C99_TEST_BODY[ v1.i = 2; v1.w.k = 5; _Static_assert ((offsetof (struct anonymous, i) == offsetof (struct anonymous, w.k)), "Anonymous union alignment botch"); ]], dnl Try dnl GCC -std=gnu11 (unused restrictive mode: -std=c11) dnl with extended modes being tried first. dnl dnl Do not try -qlanglvl=extc1x, because IBM XL C V12.1 (the latest version as dnl of September 2012) does not pass the C11 test. For now, try extc1x when dnl compiling the C99 test instead, since it enables _Static_assert and dnl _Noreturn, which is a win. If -qlanglvl=extc11 or -qlanglvl=extc1x passes dnl the C11 test in some future version of IBM XL C, we'll add it here, dnl preferably extc11. [[-std=gnu11]], [$1], [$2])[]dnl ])# _AC_PROG_CC_C11 # AC_PROG_CC_C89 # -------------- # Do not use AU_ALIAS here and in AC_PROG_CC_C99 and AC_PROG_CC_STDC, # as that'd be incompatible with how Automake redefines AC_PROG_CC. See # . AU_DEFUN([AC_PROG_CC_C89], [AC_REQUIRE([AC_PROG_CC])], [$0 is obsolete; use AC_PROG_CC] ) # AC_PROG_CC_C99 # -------------- AU_DEFUN([AC_PROG_CC_C99], [AC_REQUIRE([AC_PROG_CC])], [$0 is obsolete; use AC_PROG_CC] ) # AC_PROG_CC_STDC # --------------- AU_DEFUN([AC_PROG_CC_STDC], [AC_REQUIRE([AC_PROG_CC])], [$0 is obsolete; use AC_PROG_CC] ) # AC_C_PROTOTYPES # --------------- # Check if the C compiler supports prototypes, included if it needs # options. AC_DEFUN([AC_C_PROTOTYPES], [AC_REQUIRE([AC_PROG_CC])dnl if test "$ac_prog_cc_stdc" != no; then AC_DEFINE(PROTOTYPES, 1, [Define to 1 if the C compiler supports function prototypes.]) AC_DEFINE(__PROTOTYPES, 1, [Define like PROTOTYPES; this can be used by system headers.]) fi ])# AC_C_PROTOTYPES # _AC_CXX_STD_TRY(STANDARD, TEST-PROLOGUE, TEST-BODY, OPTION-LIST, # ACTION-IF-AVAILABLE, ACTION-IF-UNAVAILABLE) # ---------------------------------------------------------------- # Check whether the C++ compiler accepts features of STANDARD (e.g # `cxx98', `cxx11') by trying to compile a program of TEST-PROLOGUE # and TEST-BODY. If this fails, try again with each compiler option # in the space-separated OPTION-LIST; if one helps, append it to CXX. # If eventually successful, run ACTION-IF-AVAILABLE, else # ACTION-IF-UNAVAILABLE. AC_DEFUN([_AC_CXX_STD_TRY], [AC_MSG_CHECKING([for $CXX option to enable ]m4_translit(m4_translit($1, [x], [+]), [a-z], [A-Z])[ features]) AC_LANG_PUSH(C++)dnl AC_CACHE_VAL(ac_cv_prog_cxx_$1, [ac_cv_prog_cxx_$1=no ac_save_CXX=$CXX AC_LANG_CONFTEST([AC_LANG_PROGRAM([$2], [$3])]) for ac_arg in '' $4 do CXX="$ac_save_CXX $ac_arg" _AC_COMPILE_IFELSE([], [ac_cv_prog_cxx_$1=$ac_arg]) test "x$ac_cv_prog_cxx_$1" != "xno" && break done rm -f conftest.$ac_ext CXX=$ac_save_CXX ])# AC_CACHE_VAL ac_prog_cxx_stdcxx_options= case "x$ac_cv_prog_cxx_$1" in x) AC_MSG_RESULT([none needed]) ;; xno) AC_MSG_RESULT([unsupported]) ;; *) ac_prog_cxx_stdcxx_options=" $ac_cv_prog_cxx_$1" CXX=$CXX$ac_prog_cxx_stdcxx_options AC_MSG_RESULT([$ac_cv_prog_cxx_$1]) ;; esac AC_LANG_POP(C++)dnl AS_IF([test "x$ac_cv_prog_cxx_$1" != xno], [$5], [$6]) ])# _AC_CXX_STD_TRY # _AC_CXX_CXX98_TEST_HEADER # ------------------------- # A C++ header suitable for testing for CXX98. AC_DEFUN([_AC_CXX_CXX98_TEST_HEADER], [[ #include #include #include #include #include #include #include #include #include #include #include #include #include namespace test { typedef std::vector string_vec; typedef std::pair map_value; typedef std::map map_type; typedef std::set set_type; template class printer { public: printer(std::ostringstream& os): os(os) {} void operator() (T elem) { os << elem << std::endl; } private: std::ostringstream& os; }; } ]])# _AC_CXX_CXX98_TEST_HEADER # _AC_CXX_CXX98_TEST_BODY # ----------------------- # A C++ body suitable for testing for CXX98, assuming the corresponding header. AC_DEFUN([_AC_CXX_CXX98_TEST_BODY], [[ try { // Basic string. std::string teststr("ASCII text"); teststr += " string"; // Simple vector. test::string_vec testvec; testvec.push_back(teststr); testvec.push_back("foo"); testvec.push_back("bar"); if (testvec.size() != 3) { throw std::runtime_error("vector size is not 1"); } // Dump vector into stringstream and obtain string. std::ostringstream os; for (test::string_vec::const_iterator i = testvec.begin(); i != testvec.end(); ++i) { if (i + 1 != testvec.end()) { os << teststr << '\n'; } } // Check algorithms work. std::for_each(testvec.begin(), testvec.end(), test::printer(os)); std::string os_out = os.str(); // Test pair and map. test::map_type testmap; testmap.insert(std::make_pair(std::string("key"), std::make_pair(53,false))); // Test set. int values[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; test::set_type testset(values, values + sizeof(values)/sizeof(values[0])); std::list testlist(testset.begin(), testset.end()); std::copy(testset.begin(), testset.end(), std::back_inserter(testlist)); } catch (const std::exception& e) { std::cerr << "Caught exception: " << e.what() << std::endl; // Test fstream std::ofstream of("test.txt"); of << "Test ASCII text\n" << std::flush; of << "N= " << std::hex << std::setw(8) << std::left << 534 << std::endl; of.close(); } std::exit(0); ]]) # _AC_CXX_CXX11_TEST_HEADER # ------------------------- # A C++ header suitable for testing for CXX11. AC_DEFUN([_AC_CXX_CXX11_TEST_HEADER], [[ #include #include #include #include #include #include #include namespace cxx11test { typedef std::shared_ptr sptr; typedef std::weak_ptr wptr; typedef std::tuple tp; typedef std::array int_array; constexpr int get_val() { return 20; } struct testinit { int i; double d; }; class delegate { public: delegate(int n) : n(n) {} delegate(): delegate(2354) {} virtual int getval() { return this->n; }; protected: int n; }; class overridden : public delegate { public: overridden(int n): delegate(n) {} virtual int getval() override final { return this->n * 2; } }; class nocopy { public: nocopy(int i): i(i) {} nocopy() = default; nocopy(const nocopy&) = delete; nocopy & operator=(const nocopy&) = delete; private: int i; }; } ]])# _AC_CXX_CXX11_TEST_HEADER # _AC_CXX_CXX11_TEST_BODY # ----------------------- # A C++ body suitable for testing for CXX11, assuming the corresponding header. AC_DEFUN([_AC_CXX_CXX11_TEST_BODY], [[ { // Test auto and decltype std::deque d; d.push_front(43); d.push_front(484); d.push_front(3); d.push_front(844); int total = 0; for (auto i = d.begin(); i != d.end(); ++i) { total += *i; } auto a1 = 6538; auto a2 = 48573953.4; auto a3 = "String literal"; decltype(a2) a4 = 34895.034; } { // Test constexpr short sa[cxx11test::get_val()] = { 0 }; } { // Test initializer lists cxx11test::testinit il = { 4323, 435234.23544 }; } { // Test range-based for and lambda cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; for (int &x : array) { x += 23; } std::for_each(array.begin(), array.end(), [](int v1){ std::cout << v1; }); } { using cxx11test::sptr; using cxx11test::wptr; sptr sp(new std::string("ASCII string")); wptr wp(sp); sptr sp2(wp); } { cxx11test::tp tuple("test", 54, 45.53434); double d = std::get<2>(tuple); std::string s; int i; std::tie(s,i,d) = tuple; } { static std::regex filename_regex("^_?([a-z0-9_.]+-)+[a-z0-9]+$"); std::string testmatch("Test if this string matches"); bool match = std::regex_search(testmatch, filename_regex); } { cxx11test::int_array array = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; cxx11test::int_array::size_type size = array.size(); } { // Test constructor delegation cxx11test::delegate d1; cxx11test::delegate d2(); cxx11test::delegate d3(45); } { // Test override and final cxx11test::overridden o1(55464); } { // Test nullptr char *c = nullptr; } { // Test template brackets std::vector> v1; } { // Unicode literals char const *utf8 = u8"UTF-8 string \u2500"; char16_t const *utf16 = u"UTF-8 string \u2500"; char32_t const *utf32 = U"UTF-32 string \u2500"; } ]]) # _AC_PROG_CXX_CXX98 ([ACTION-IF-AVAILABLE], [ACTION-IF-UNAVAILABLE]) # ------------------------------------------------------------------- # If the C++ compiler is not in ISO C++98 mode by default, try to add # an option to output variable CXX to make it so. This macro tries # various options that select ISO C++98 on some system or another. It # considers the compiler to be in ISO C++98 mode if it handles basic # features of the std namespace including: string, containers (list, # map, set, vector), streams (fstreams, iostreams, stringstreams, # iomanip), pair, exceptions and algorithms. AC_DEFUN([_AC_PROG_CXX_CXX98], [_AC_CXX_STD_TRY([cxx98], [_AC_CXX_CXX98_TEST_HEADER], [_AC_CXX_CXX98_TEST_BODY], dnl Try dnl GCC -std=gnu++98 (unused restrictive mode: -std=c++98) dnl IBM XL C -qlanglvl=extended dnl HP aC++ -AA dnl Intel ICC -std=gnu++98 dnl Solaris N/A (default) dnl Tru64 N/A (default, but -std gnu could be used) dnl with extended modes being tried first. [[-std=gnu++98 -std=c++98 -qlanglvl=extended -AA]], [$1], [$2])[]dnl ])# _AC_PROG_CXX_CXX98 # _AC_PROG_CXX_CXX11 ([ACTION-IF-AVAILABLE], [ACTION-IF-UNAVAILABLE]) # ------------------------------------------------------------------- # If the C++ compiler is not in ISO CXX11 mode by default, try to add # an option to output variable CXX to make it so. This macro tries # various options that select ISO C++11 on some system or another. It # considers the compiler to be in ISO C++11 mode if it handles all the # tests from the C++98 checks, plus the following: Language features # (auto, constexpr, decltype, default/deleted constructors, delegate # constructors, final, initializer lists, lambda functions, nullptr, # override, range-based for loops, template brackets without spaces, # unicode literals) and library features (array, memory (shared_ptr, # weak_ptr), regex and tuple types). AC_DEFUN([_AC_PROG_CXX_CXX11], [_AC_CXX_STD_TRY([cxx11], [_AC_CXX_CXX11_TEST_HEADER _AC_CXX_CXX98_TEST_HEADER], [_AC_CXX_CXX11_TEST_BODY _AC_CXX_CXX98_TEST_BODY], dnl Try dnl GCC -std=gnu++11 (unused restrictive mode: -std=c++11) [and 0x variants] dnl IBM XL C -qlanglvl=extended0x dnl (pre-V12.1; unused restrictive mode: -qlanglvl=stdcxx11) dnl HP aC++ -AA dnl Intel ICC -std=c++11 -std=c++0x dnl Solaris N/A (no support) dnl Tru64 N/A (no support) dnl with extended modes being tried first. [[-std=gnu++11 -std=c++11 -std=gnu++0x -std=c++0x -qlanglvl=extended0x -AA]], [$1], [$2])[]dnl ])# _AC_PROG_CXX_CXX11 gsasl-1.8.1/lib/m4/signalblocking.m40000644000000000000000000000164113516267371014054 00000000000000# signalblocking.m4 serial 14 dnl Copyright (C) 2001-2002, 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. # Determine available signal blocking primitives. Three different APIs exist: # 1) POSIX: sigemptyset, sigaddset, sigprocmask # 2) SYSV: sighold, sigrelse # 3) BSD: sigblock, sigsetmask # For simplicity, here we check only for the POSIX signal blocking. AC_DEFUN([gl_SIGNALBLOCKING], [ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) if test $gl_cv_type_sigset_t = yes; then AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1]) fi if test -z "$gl_cv_func_sigprocmask"; then HAVE_POSIX_SIGNALBLOCKING=0 fi ]) # Prerequisites of lib/sigprocmask.c. AC_DEFUN([gl_PREREQ_SIGPROCMASK], [:]) gsasl-1.8.1/lib/m4/sched_h.m40000644000000000000000000000517413516267371012470 00000000000000# sched_h.m4 serial 12 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Bruno Haible. AC_DEFUN([gl_SCHED_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_SCHED_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_HEADERS_ONCE([sys/cdefs.h]) AC_CHECK_HEADERS([sched.h], [], [], [[#if HAVE_SYS_CDEFS_H #include #endif ]]) gl_NEXT_HEADERS([sched.h]) if test "$ac_cv_header_sched_h" = yes; then HAVE_SCHED_H=1 else HAVE_SCHED_H=0 fi AC_SUBST([HAVE_SCHED_H]) if test "$HAVE_SCHED_H" = 1; then AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [HAVE_STRUCT_SCHED_PARAM=0], [[#if HAVE_SYS_CDEFS_H #include #endif #include ]]) else HAVE_STRUCT_SCHED_PARAM=0 case "$host_os" in os2*) dnl On OS/2 kLIBC, struct sched_param is in spawn.h. AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [], [#include ]) ;; vms) dnl On OpenVMS 7.2 or newer, struct sched_param is in pthread.h. AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [], [#include ]) ;; esac fi AC_SUBST([HAVE_STRUCT_SCHED_PARAM]) if test "$ac_cv_header_sys_cdefs_h" = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi AC_SUBST([HAVE_SYS_CDEFS_H]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [sched_yield]) ]) AC_DEFUN([gl_SCHED_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_SCHED_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_SCHED_H_DEFAULTS], [ GNULIB_SCHED_YIELD=0; AC_SUBST([GNULIB_SCHED_YIELD]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_SCHED_YIELD=1; AC_SUBST([HAVE_SCHED_YIELD]) REPLACE_SCHED_YIELD=0; AC_SUBST([REPLACE_SCHED_YIELD]) ]) gsasl-1.8.1/lib/m4/vasprintf.m40000644000000000000000000000210013516267371013071 00000000000000# vasprintf.m4 serial 6 dnl Copyright (C) 2002-2003, 2006-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_VASPRINTF], [ AC_CHECK_FUNCS([vasprintf]) if test $ac_cv_func_vasprintf = no; then gl_REPLACE_VASPRINTF fi ]) AC_DEFUN([gl_REPLACE_VASPRINTF], [ AC_LIBOBJ([vasprintf]) AC_LIBOBJ([asprintf]) AC_REQUIRE([gl_STDIO_H_DEFAULTS]) if test $ac_cv_func_vasprintf = yes; then REPLACE_VASPRINTF=1 else HAVE_VASPRINTF=0 fi gl_PREREQ_VASPRINTF_H gl_PREREQ_VASPRINTF gl_PREREQ_ASPRINTF ]) # Prerequisites of the vasprintf portion of lib/stdio.h. AC_DEFUN([gl_PREREQ_VASPRINTF_H], [ dnl Persuade glibc to declare asprintf() and vasprintf(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ]) # Prerequisites of lib/vasprintf.c. AC_DEFUN([gl_PREREQ_VASPRINTF], [ ]) # Prerequisites of lib/asprintf.c. AC_DEFUN([gl_PREREQ_ASPRINTF], [ ]) gsasl-1.8.1/lib/m4/base64.m40000644000000000000000000000066413516267371012156 00000000000000# base64.m4 serial 4 dnl Copyright (C) 2004, 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_BASE64], [ gl_PREREQ_BASE64 ]) # Prerequisites of lib/base64.c. AC_DEFUN([gl_PREREQ_BASE64], [ AC_REQUIRE([AC_C_RESTRICT]) ]) gsasl-1.8.1/lib/m4/longlong.m40000644000000000000000000001111613516267371012703 00000000000000# longlong.m4 serial 18 dnl Copyright (C) 1999-2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. AC_PREREQ([2.62]) # Define HAVE_LONG_LONG_INT if 'long long int' works. # This can be faster than what's in Autoconf 2.62 through 2.68. # Note: If the type 'long long int' exists but is only 32 bits large # (as on some very old compilers), HAVE_LONG_LONG_INT will not be # defined. In this case you can treat 'long long int' like 'long int'. AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], [ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int if test $ac_cv_type_long_long_int = yes; then dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. dnl If cross compiling, assume the bug is not important, since dnl nobody cross compiles for this platform as far as we know. AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[@%:@include @%:@ifndef LLONG_MAX @%:@ define HALF \ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) @%:@ define LLONG_MAX (HALF - 1 + HALF) @%:@endif]], [[long long int n = 1; int i; for (i = 0; ; i++) { long long int m = n << i; if (m >> i != n) return 1; if (LLONG_MAX / 2 < m) break; } return 0;]])], [], [ac_cv_type_long_long_int=no], [:]) fi fi]) if test $ac_cv_type_long_long_int = yes; then AC_DEFINE([HAVE_LONG_LONG_INT], [1], [Define to 1 if the system has the type 'long long int'.]) fi ]) # Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. # This can be faster than what's in Autoconf 2.62 through 2.68. # Note: If the type 'unsigned long long int' exists but is only 32 bits # large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT # will not be defined. In this case you can treat 'unsigned long long int' # like 'unsigned long int'. AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ AC_CACHE_CHECK([for unsigned long long int], [ac_cv_type_unsigned_long_long_int], [ac_cv_type_unsigned_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then AC_LINK_IFELSE( [_AC_TYPE_LONG_LONG_SNIPPET], [], [ac_cv_type_unsigned_long_long_int=no]) fi]) if test $ac_cv_type_unsigned_long_long_int = yes; then AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], [Define to 1 if the system has the type 'unsigned long long int'.]) fi ]) # Expands to a C program that can be used to test for simultaneous support # of 'long long' and 'unsigned long long'. We don't want to say that # 'long long' is available if 'unsigned long long' is not, or vice versa, # because too many programs rely on the symmetry between signed and unsigned # integer types (excluding 'bool'). AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [ AC_LANG_PROGRAM( [[/* For now, do not test the preprocessor; as of 2007 there are too many implementations with broken preprocessors. Perhaps this can be revisited in 2012. In the meantime, code should not expect #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63;]], [[/* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | (llmax / ll) | (llmax % ll) | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | (ullmax / ull) | (ullmax % ull));]]) ]) gsasl-1.8.1/lib/m4/sockpfaf.m40000644000000000000000000000500013516267371012653 00000000000000# sockpfaf.m4 serial 9 dnl Copyright (C) 2004, 2006, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Test for some common socket protocol families (PF_INET, PF_INET6, ...) dnl and some common address families (AF_INET, AF_INET6, ...). dnl This test assumes that a system supports an address family if and only if dnl it supports the corresponding protocol family. dnl From Bruno Haible. AC_DEFUN([gl_SOCKET_FAMILIES], [ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_CHECK_HEADERS_ONCE([netinet/in.h]) AC_CACHE_CHECK([for IPv4 sockets], [gl_cv_socket_ipv4], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif]], [[int x = AF_INET; struct in_addr y; struct sockaddr_in z; if (&x && &y && &z) return 0;]])], gl_cv_socket_ipv4=yes, gl_cv_socket_ipv4=no)]) if test $gl_cv_socket_ipv4 = yes; then AC_DEFINE([HAVE_IPV4], [1], [Define to 1 if defines AF_INET.]) fi AC_CACHE_CHECK([for IPv6 sockets], [gl_cv_socket_ipv6], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif]], [[int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; if (&x && &y && &z) return 0;]])], gl_cv_socket_ipv6=yes, gl_cv_socket_ipv6=no)]) if test $gl_cv_socket_ipv6 = yes; then AC_DEFINE([HAVE_IPV6], [1], [Define to 1 if defines AF_INET6.]) fi ]) AC_DEFUN([gl_SOCKET_FAMILY_UNIX], [ AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_CHECK_HEADERS_ONCE([sys/un.h]) AC_CACHE_CHECK([for UNIX domain sockets], [gl_cv_socket_unix], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_SYS_UN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif]], [[int x = AF_UNIX; struct sockaddr_un y; if (&x && &y) return 0;]])], gl_cv_socket_unix=yes, gl_cv_socket_unix=no)]) if test $gl_cv_socket_unix = yes; then AC_DEFINE([HAVE_UNIXSOCKET], [1], [Define to 1 if defines AF_UNIX.]) fi ]) gsasl-1.8.1/lib/m4/intmax_t.m40000644000000000000000000000416613516267371012716 00000000000000# intmax_t.m4 serial 8 dnl Copyright (C) 1997-2004, 2006-2007, 2009-2019 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Paul Eggert. AC_PREREQ([2.53]) # Define intmax_t to 'long' or 'long long' # if it is not already defined in or . AC_DEFUN([gl_AC_TYPE_INTMAX_T], [ dnl For simplicity, we assume that a header file defines 'intmax_t' if and dnl only if it defines 'uintmax_t'. AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) test $ac_cv_type_long_long_int = yes \ && ac_type='long long' \ || ac_type='long' AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], [Define to long or long long if and don't define.]) else AC_DEFINE([HAVE_INTMAX_T], [1], [Define if you have the 'intmax_t' type in or .]) fi ]) dnl An alternative would be to explicitly test for 'intmax_t'. AC_DEFUN([gt_AC_TYPE_INTMAX_T], [ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif ]], [[intmax_t x = -1; return !x;]])], [gt_cv_c_intmax_t=yes], [gt_cv_c_intmax_t=no])]) if test $gt_cv_c_intmax_t = yes; then AC_DEFINE([HAVE_INTMAX_T], [1], [Define if you have the 'intmax_t' type in or .]) else AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) test $ac_cv_type_long_long_int = yes \ && ac_type='long long' \ || ac_type='long' AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], [Define to long or long long if and don't define.]) fi ]) gsasl-1.8.1/lib/m4/localtime-buffer.m40000644000000000000000000000123513516267371014305 00000000000000# localtime-buffer.m4 serial 1 dnl Copyright (C) 2017-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_LOCALTIME_BUFFER_DEFAULTS], [ NEED_LOCALTIME_BUFFER=0 ]) dnl Macro invoked from other modules, to signal that the compilation of dnl module 'localtime-buffer' is needed. AC_DEFUN([gl_LOCALTIME_BUFFER_NEEDED], [ AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS]) AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) NEED_LOCALTIME_BUFFER=1 REPLACE_GMTIME=1 REPLACE_LOCALTIME=1 ]) gsasl-1.8.1/lib/m4/lstat.m40000644000000000000000000000541313516267371012216 00000000000000# serial 32 # Copyright (C) 1997-2001, 2003-2019 Free Software Foundation, Inc. # # 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. dnl From Jim Meyering. AC_DEFUN([gl_FUNC_LSTAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) dnl If lstat does not exist, the replacement does dnl "#define lstat stat", and lstat.c is a no-op. AC_CHECK_FUNCS_ONCE([lstat]) if test $ac_cv_func_lstat = yes; then AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) case $host_os,$gl_cv_func_lstat_dereferences_slashed_symlink in solaris* | *no) REPLACE_LSTAT=1 ;; esac else HAVE_LSTAT=0 fi ]) # Prerequisites of lib/lstat.c. AC_DEFUN([gl_PREREQ_LSTAT], [:]) AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], [ dnl We don't use AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK any more, because it dnl is no longer maintained in Autoconf and because it invokes AC_LIBOBJ. AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether lstat correctly handles trailing slash], [gl_cv_func_lstat_dereferences_slashed_symlink], [rm -f conftest.sym conftest.file echo >conftest.file AC_RUN_IFELSE( [AC_LANG_PROGRAM( [AC_INCLUDES_DEFAULT], [[struct stat sbuf; if (symlink ("conftest.file", "conftest.sym") != 0) return 1; /* Linux will dereference the symlink and fail, as required by POSIX. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; ]])], [gl_cv_func_lstat_dereferences_slashed_symlink=yes], [gl_cv_func_lstat_dereferences_slashed_symlink=no], [case "$host_os" in linux-* | linux) # Guess yes on Linux systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; *-gnu* | gnu*) # Guess yes on glibc systems. gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; mingw*) # Guess no on native Windows. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; *) # If we don't know, assume the worst. gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; esac ]) rm -f conftest.sym conftest.file ]) case "$gl_cv_func_lstat_dereferences_slashed_symlink" in *yes) AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1], [Define to 1 if 'lstat' dereferences a symlink specified with a trailing slash.]) ;; esac ]) gsasl-1.8.1/lib/m4/unistd_h.m40000644000000000000000000002300613516267371012702 00000000000000# unistd_h.m4 serial 75 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Written by Simon Josefsson, Bruno Haible. AC_DEFUN([gl_UNISTD_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([unistd.h]) if test $ac_cv_header_unistd_h = yes; then HAVE_UNISTD_H=1 else HAVE_UNISTD_H=0 fi AC_SUBST([HAVE_UNISTD_H]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Determine WINDOWS_64_BIT_OFF_T. AC_REQUIRE([gl_TYPE_OFF_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_UNISTD_H # include #endif /* Some systems declare various items in the wrong headers. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include # if defined _WIN32 && ! defined __CYGWIN__ # include # endif #endif ]], [chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getpass getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat truncate ttyname_r unlink unlinkat usleep]) ]) AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_UNISTD_H_DEFAULTS], [ GNULIB_CHDIR=0; AC_SUBST([GNULIB_CHDIR]) GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) GNULIB_COPY_FILE_RANGE=0; AC_SUBST([GNULIB_COPY_FILE_RANGE]) GNULIB_DUP=0; AC_SUBST([GNULIB_DUP]) GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3]) GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS]) GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT]) GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT]) GNULIB_FDATASYNC=0; AC_SUBST([GNULIB_FDATASYNC]) GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME]) GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE]) GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS]) GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME]) GNULIB_GETLOGIN=0; AC_SUBST([GNULIB_GETLOGIN]) GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R]) GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE]) GNULIB_GETPASS=0; AC_SUBST([GNULIB_GETPASS]) GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL]) GNULIB_GROUP_MEMBER=0; AC_SUBST([GNULIB_GROUP_MEMBER]) GNULIB_ISATTY=0; AC_SUBST([GNULIB_ISATTY]) GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN]) GNULIB_LINK=0; AC_SUBST([GNULIB_LINK]) GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT]) GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK]) GNULIB_PIPE=0; AC_SUBST([GNULIB_PIPE]) GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2]) GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD]) GNULIB_PWRITE=0; AC_SUBST([GNULIB_PWRITE]) GNULIB_READ=0; AC_SUBST([GNULIB_READ]) GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK]) GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT]) GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR]) GNULIB_SETHOSTNAME=0; AC_SUBST([GNULIB_SETHOSTNAME]) GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP]) GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK]) GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT]) GNULIB_TRUNCATE=0; AC_SUBST([GNULIB_TRUNCATE]) GNULIB_TTYNAME_R=0; AC_SUBST([GNULIB_TTYNAME_R]) GNULIB_UNISTD_H_NONBLOCKING=0; AC_SUBST([GNULIB_UNISTD_H_NONBLOCKING]) GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK]) GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT]) GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP]) GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN]) HAVE_COPY_FILE_RANGE=1; AC_SUBST([HAVE_COPY_FILE_RANGE]) HAVE_DUP2=1; AC_SUBST([HAVE_DUP2]) HAVE_DUP3=1; AC_SUBST([HAVE_DUP3]) HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS]) HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT]) HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR]) HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT]) HAVE_FDATASYNC=1; AC_SUBST([HAVE_FDATASYNC]) HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS]) HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME]) HAVE_GETLOGIN=1; AC_SUBST([HAVE_GETLOGIN]) HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE]) HAVE_GETPASS=1; AC_SUBST([HAVE_GETPASS]) HAVE_GROUP_MEMBER=1; AC_SUBST([HAVE_GROUP_MEMBER]) HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN]) HAVE_LINK=1; AC_SUBST([HAVE_LINK]) HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT]) HAVE_PIPE=1; AC_SUBST([HAVE_PIPE]) HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2]) HAVE_PREAD=1; AC_SUBST([HAVE_PREAD]) HAVE_PWRITE=1; AC_SUBST([HAVE_PWRITE]) HAVE_READLINK=1; AC_SUBST([HAVE_READLINK]) HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT]) HAVE_SETHOSTNAME=1; AC_SUBST([HAVE_SETHOSTNAME]) HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP]) HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK]) HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT]) HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT]) HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP]) HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) HAVE_DECL_FDATASYNC=1; AC_SUBST([HAVE_DECL_FDATASYNC]) HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) HAVE_DECL_GETLOGIN=1; AC_SUBST([HAVE_DECL_GETLOGIN]) HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) HAVE_DECL_SETHOSTNAME=1; AC_SUBST([HAVE_DECL_SETHOSTNAME]) HAVE_DECL_TRUNCATE=1; AC_SUBST([HAVE_DECL_TRUNCATE]) HAVE_DECL_TTYNAME_R=1; AC_SUBST([HAVE_DECL_TTYNAME_R]) HAVE_OS_H=0; AC_SUBST([HAVE_OS_H]) HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H]) REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN]) REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE]) REPLACE_DUP=0; AC_SUBST([REPLACE_DUP]) REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2]) REPLACE_FACCESSAT=0; AC_SUBST([REPLACE_FACCESSAT]) REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT]) REPLACE_FTRUNCATE=0; AC_SUBST([REPLACE_FTRUNCATE]) REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD]) REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME]) REPLACE_GETDTABLESIZE=0; AC_SUBST([REPLACE_GETDTABLESIZE]) REPLACE_GETLOGIN_R=0; AC_SUBST([REPLACE_GETLOGIN_R]) REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS]) REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE]) REPLACE_GETPASS=0; AC_SUBST([REPLACE_GETPASS]) REPLACE_ISATTY=0; AC_SUBST([REPLACE_ISATTY]) REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN]) REPLACE_LINK=0; AC_SUBST([REPLACE_LINK]) REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT]) REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK]) REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD]) REPLACE_PWRITE=0; AC_SUBST([REPLACE_PWRITE]) REPLACE_READ=0; AC_SUBST([REPLACE_READ]) REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK]) REPLACE_READLINKAT=0; AC_SUBST([REPLACE_READLINKAT]) REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR]) REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP]) REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK]) REPLACE_SYMLINKAT=0; AC_SUBST([REPLACE_SYMLINKAT]) REPLACE_TRUNCATE=0; AC_SUBST([REPLACE_TRUNCATE]) REPLACE_TTYNAME_R=0; AC_SUBST([REPLACE_TTYNAME_R]) REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK]) REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT]) REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP]) REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE]) UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) ]) gsasl-1.8.1/lib/m4/ctype.m40000644000000000000000000000177513516267371012222 00000000000000# ctype_h.m4 serial 6 dnl Copyright (C) 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_CTYPE_H], [ AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_NEXT_HEADERS([ctype.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [isblank]) ]) AC_DEFUN([gl_CTYPE_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_CTYPE_H_DEFAULTS], [ GNULIB_ISBLANK=0; AC_SUBST([GNULIB_ISBLANK]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_ISBLANK=1; AC_SUBST([HAVE_ISBLANK]) ]) gsasl-1.8.1/lib/m4/iconv.m40000644000000000000000000002162013516321014012164 00000000000000# iconv.m4 serial 18 (gettext-0.18.2) dnl Copyright (C) 2000-2002, 2007-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, dnl Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main () { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static const char input[] = "\263"; char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; const char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) result |= 16; return result; }]])], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], [ changequote(,)dnl case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac changequote([,])dnl ]) LIBS="$am_save_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ]) dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to dnl avoid warnings like dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". dnl This is tricky because of the way 'aclocal' is implemented: dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. dnl Otherwise aclocal's initial scan pass would miss the macro definition. dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. dnl Otherwise aclocal would emit many "Use of uninitialized value $1" dnl warnings. m4_define([gl_iconv_AC_DEFUN], m4_version_prereq([2.64], [[AC_DEFUN_ONCE( [$1], [$2])]], [m4_ifdef([gl_00GNULIB], [[AC_DEFUN_ONCE( [$1], [$2])]], [[AC_DEFUN( [$1], [$2])]])])) gl_iconv_AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL([am_cv_proto_iconv], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ]], [[]])], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"]) am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([ $am_cv_proto_iconv]) AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) dnl Also substitute ICONV_CONST in the gnulib generated . m4_ifdef([gl_ICONV_H_DEFAULTS], [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test -n "$am_cv_proto_iconv_arg1"; then ICONV_CONST="const" fi ]) fi ]) gsasl-1.8.1/lib/m4/gnulib-comp.m40000644000000000000000000012330513516270124013272 00000000000000# DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # # This file represents the compiled summary of the specification in # gnulib-cache.m4. It lists the computed macro invocations that need # to be invoked from configure.ac. # In projects that use version control, this file can be treated like # other built files. # This macro should be invoked from ./configure.ac, in the section # "Checks for programs", right after AC_PROG_CC, and certainly before # any checks for libraries, header files, types and library functions. AC_DEFUN([gl_EARLY], [ m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace m4_pattern_allow([^gl_ES$])dnl a valid locale name m4_pattern_allow([^gl_LIBOBJS$])dnl a variable m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable # Pre-early section. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_PROG_AR_RANLIB]) # Code from module absolute-header: # Code from module accept: # Code from module accept-tests: # Code from module alloca: # Code from module alloca-opt: # Code from module alloca-opt-tests: # Code from module arpa_inet: # Code from module arpa_inet-tests: # Code from module base64: # Code from module base64-tests: # Code from module binary-io: # Code from module binary-io-tests: # Code from module bind: # Code from module bind-tests: # Code from module builtin-expect: # Code from module byteswap: # Code from module byteswap-tests: # Code from module c-ctype: # Code from module c-ctype-tests: # Code from module c99: # Code from module cloexec: # Code from module cloexec-tests: # Code from module close: # Code from module close-tests: # Code from module connect: # Code from module connect-tests: # Code from module crypto/af_alg: # Code from module crypto/gc: # Code from module crypto/gc-hmac-md5: # Code from module crypto/gc-hmac-md5-tests: # Code from module crypto/gc-hmac-sha1: # Code from module crypto/gc-hmac-sha1-tests: # Code from module crypto/gc-md5: # Code from module crypto/gc-md5-tests: # Code from module crypto/gc-pbkdf2-sha1: # Code from module crypto/gc-pbkdf2-sha1-tests: # Code from module crypto/gc-random: # Code from module crypto/gc-sha1: # Code from module crypto/gc-sha1-tests: # Code from module crypto/gc-tests: # Code from module crypto/hmac-md5: # Code from module crypto/hmac-md5-tests: # Code from module crypto/hmac-sha1: # Code from module crypto/hmac-sha1-tests: # Code from module crypto/md5: # Code from module crypto/md5-buffer: # Code from module crypto/md5-tests: # Code from module crypto/sha1: # Code from module crypto/sha1-buffer: # Code from module crypto/sha1-tests: # Code from module ctype: # Code from module ctype-tests: # Code from module dosname: # Code from module dup2: # Code from module dup2-tests: # Code from module environ: # Code from module environ-tests: # Code from module errno: # Code from module errno-tests: # Code from module extensions: # Code from module extern-inline: # Code from module fcntl: # Code from module fcntl-h: # Code from module fcntl-h-tests: # Code from module fcntl-tests: # Code from module fd-hook: # Code from module fdopen: # Code from module fdopen-tests: # Code from module fflush: AC_REQUIRE([AC_FUNC_FSEEKO]) # Code from module fflush-tests: # Code from module fgetc-tests: # Code from module filename: # Code from module float: # Code from module float-tests: # Code from module fpieee: AC_REQUIRE([gl_FP_IEEE]) # Code from module fpucw: # Code from module fpurge: # Code from module fpurge-tests: # Code from module fputc-tests: # Code from module fread-tests: # Code from module freading: # Code from module freading-tests: # Code from module fseek: # Code from module fseek-tests: # Code from module fseeko: AC_REQUIRE([AC_FUNC_FSEEKO]) # Code from module fseeko-tests: # Code from module fstat: # Code from module fstat-tests: # Code from module ftell: # Code from module ftell-tests: # Code from module ftello: AC_REQUIRE([AC_FUNC_FSEEKO]) # Code from module ftello-tests: # Code from module ftruncate: # Code from module ftruncate-tests: # Code from module fwrite-tests: # Code from module getcwd-lgpl: # Code from module getcwd-lgpl-tests: # Code from module getdelim: # Code from module getdelim-tests: # Code from module getdtablesize: # Code from module getdtablesize-tests: # Code from module getline: # Code from module getline-tests: # Code from module getpagesize: # Code from module getrusage: # Code from module getrusage-tests: # Code from module gettext-h: # Code from module gettimeofday: # Code from module gettimeofday-tests: # Code from module gnumakefile: # Code from module gss-extra: # Code from module havelib: # Code from module ignore-value: # Code from module ignore-value-tests: # Code from module include_next: # Code from module inet_pton: # Code from module inet_pton-tests: # Code from module intprops: # Code from module intprops-tests: # Code from module inttypes: # Code from module inttypes-incomplete: # Code from module inttypes-tests: # Code from module ioctl: # Code from module ioctl-tests: # Code from module isblank: # Code from module isblank-tests: # Code from module largefile: AC_REQUIRE([AC_SYS_LARGEFILE]) # Code from module lib-msvc-compat: # Code from module lib-symbol-versions: # Code from module lib-symbol-visibility: # Code from module libc-config: # Code from module limits-h: # Code from module limits-h-tests: # Code from module listen: # Code from module listen-tests: # Code from module localtime-buffer: # Code from module lock: # Code from module lock-tests: # Code from module lseek: # Code from module lseek-tests: # Code from module lstat: # Code from module lstat-tests: # Code from module maintainer-makefile: # Code from module malloc-posix: # Code from module malloca: # Code from module malloca-tests: # Code from module memchr: # Code from module memchr-tests: # Code from module memmem: # Code from module memmem-simple: # Code from module memmem-tests: # Code from module memxor: # Code from module minmax: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: # Code from module nanosleep: # Code from module nanosleep-tests: # Code from module netinet_in: # Code from module netinet_in-tests: # Code from module open: # Code from module open-tests: # Code from module pathmax: # Code from module pathmax-tests: # Code from module perror: # Code from module perror-tests: # Code from module pipe-posix: # Code from module pipe-posix-tests: # Code from module pthread-h: AC_DEFINE([_REENTRANT], 1, [For thread-safety on OSF/1, Solaris.]) AC_DEFINE([_THREAD_SAFE], 1, [For thread-safety on AIX, FreeBSD.]) # Code from module pthread-h-tests: # Code from module pthread-thread: # Code from module pthread-thread-tests: # Code from module pthread_sigmask: # Code from module pthread_sigmask-tests: # Code from module putenv: # Code from module raise: # Code from module raise-tests: # Code from module same-inode: # Code from module sched: # Code from module sched-tests: # Code from module select: # Code from module select-tests: # Code from module setsockopt: # Code from module setsockopt-tests: # Code from module sigaction: # Code from module sigaction-tests: # Code from module signal-h: # Code from module signal-h-tests: # Code from module sigprocmask: # Code from module sigprocmask-tests: # Code from module size_max: # Code from module sleep: # Code from module sleep-tests: # Code from module snippet/_Noreturn: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/unused-parameter: # Code from module snippet/warn-on-use: # Code from module socket: # Code from module socketlib: # Code from module sockets: # Code from module sockets-tests: # Code from module socklen: # Code from module ssize_t: # Code from module stat: # Code from module stat-tests: # Code from module stat-time: # Code from module stat-time-tests: # Code from module std-gnu11: # Code from module stdalign: # Code from module stdalign-tests: # Code from module stdbool: # Code from module stdbool-tests: # Code from module stddef: # Code from module stddef-tests: # Code from module stdint: # Code from module stdint-tests: # Code from module stdio: # Code from module stdio-tests: # Code from module stdlib: # Code from module stdlib-tests: # Code from module strerror: # Code from module strerror-override: # Code from module strerror-tests: # Code from module strerror_r-posix: # Code from module strerror_r-posix-tests: # Code from module string: # Code from module string-tests: # Code from module strndup: # Code from module strnlen: # Code from module strnlen-tests: # Code from module strverscmp: # Code from module strverscmp-tests: # Code from module symlink: # Code from module symlink-tests: # Code from module sys_ioctl: # Code from module sys_ioctl-tests: # Code from module sys_resource: # Code from module sys_resource-tests: # Code from module sys_select: # Code from module sys_select-tests: # Code from module sys_socket: # Code from module sys_socket-tests: # Code from module sys_stat: # Code from module sys_stat-tests: # Code from module sys_time: # Code from module sys_time-tests: # Code from module sys_types: # Code from module sys_types-tests: # Code from module sys_uio: # Code from module sys_uio-tests: # Code from module test-framework-sh: # Code from module test-framework-sh-tests: # Code from module thread: # Code from module thread-tests: # Code from module threadlib: gl_THREADLIB_EARLY # Code from module time: # Code from module time-tests: # Code from module unistd: # Code from module unistd-tests: # Code from module unsetenv: # Code from module unsetenv-tests: # Code from module useless-if-before-free: # Code from module usleep: # Code from module usleep-tests: # Code from module valgrind-tests: # Code from module vasnprintf: # Code from module vasnprintf-tests: # Code from module vasprintf: # Code from module vasprintf-tests: # Code from module vc-list-files: # Code from module verify: # Code from module verify-tests: # Code from module wchar: # Code from module wchar-tests: # Code from module windows-mutex: # Code from module windows-once: # Code from module windows-recmutex: # Code from module windows-rwlock: # Code from module windows-thread: # Code from module windows-tls: # Code from module xalloc-oversized: # Code from module xsize: # Code from module yield: ]) # This macro should be invoked from ./configure.ac, in the section # "Check for header files, types and library functions". AC_DEFUN([gl_INIT], [ AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) gl_cond_libtool=true gl_m4_base='m4' m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) m4_pushdef([gl_LIBSOURCES_LIST], []) m4_pushdef([gl_LIBSOURCES_DIR], []) gl_COMMON gl_source_base='gl' gl_FUNC_ALLOCA gl_FUNC_BASE64 gl___BUILTIN_EXPECT gl_BYTESWAP gl_AF_ALG gl_GC if test "$ac_cv_libgcrypt" = yes; then AC_LIBOBJ([gc-libgcrypt]) else AC_LIBOBJ([gc-gnulib]) fi if test $gl_cond_libtool = false; then gl_ltlibdeps="$gl_ltlibdeps $LTLIBGCRYPT" gl_libdeps="$gl_libdeps $LIBGCRYPT" fi gl_GC_HMAC_MD5 gl_MODULE_INDICATOR([gc-hmac-md5]) gl_GC_HMAC_SHA1 gl_MODULE_INDICATOR([gc-hmac-sha1]) gl_GC_MD5 gl_MODULE_INDICATOR([gc-md5]) gl_GC_RANDOM gl_MODULE_INDICATOR([gc-random]) gl_GC_SHA1 gl_MODULE_INDICATOR([gc-sha1]) AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.]) gl_MD5 AC_DEFINE([GL_COMPILE_CRYPTO_STREAM], 1, [Compile Gnulib crypto stream ops.]) gl_SHA1 gl_HEADER_ERRNO_H AC_REQUIRE([gl_EXTERN_INLINE]) gl_FUNC_FFLUSH if test $REPLACE_FFLUSH = 1; then AC_LIBOBJ([fflush]) gl_PREREQ_FFLUSH fi gl_MODULE_INDICATOR([fflush]) gl_STDIO_MODULE_INDICATOR([fflush]) gl_FLOAT_H if test $REPLACE_FLOAT_LDBL = 1; then AC_LIBOBJ([float]) fi if test $REPLACE_ITOLD = 1; then AC_LIBOBJ([itold]) fi gl_FUNC_FPURGE if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then AC_LIBOBJ([fpurge]) fi gl_STDIO_MODULE_INDICATOR([fpurge]) gl_FUNC_FREADING gl_FUNC_FSEEK if test $REPLACE_FSEEK = 1; then AC_LIBOBJ([fseek]) fi gl_STDIO_MODULE_INDICATOR([fseek]) gl_FUNC_FSEEKO if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then AC_LIBOBJ([fseeko]) gl_PREREQ_FSEEKO fi gl_STDIO_MODULE_INDICATOR([fseeko]) gl_FUNC_FSTAT if test $REPLACE_FSTAT = 1; then AC_LIBOBJ([fstat]) case "$host_os" in mingw*) AC_LIBOBJ([stat-w32]) ;; esac gl_PREREQ_FSTAT fi gl_SYS_STAT_MODULE_INDICATOR([fstat]) gl_FUNC_FTELL if test $REPLACE_FTELL = 1; then AC_LIBOBJ([ftell]) fi gl_STDIO_MODULE_INDICATOR([ftell]) gl_FUNC_FTELLO if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then AC_LIBOBJ([ftello]) gl_PREREQ_FTELLO fi gl_STDIO_MODULE_INDICATOR([ftello]) gl_FUNC_GETDELIM if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then AC_LIBOBJ([getdelim]) gl_PREREQ_GETDELIM fi gl_STDIO_MODULE_INDICATOR([getdelim]) gl_FUNC_GETLINE if test $REPLACE_GETLINE = 1; then AC_LIBOBJ([getline]) gl_PREREQ_GETLINE fi gl_STDIO_MODULE_INDICATOR([getline]) AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) # Autoconf 2.61a.99 and earlier don't support linking a file only # in VPATH builds. But since GNUmakefile is for maintainer use # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. GNUmakefile=GNUmakefile m4_if(m4_version_compare([2.61a.100], m4_defn([m4_PACKAGE_VERSION])), [1], [], [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile])]) sj_GSS_EXTRA AC_REQUIRE([gl_LARGEFILE]) gl_LD_OUTPUT_DEF gl_LD_VERSION_SCRIPT gl_VISIBILITY gl___INLINE gl_LIMITS_H gl_FUNC_LSEEK if test $REPLACE_LSEEK = 1; then AC_LIBOBJ([lseek]) fi gl_UNISTD_MODULE_INDICATOR([lseek]) AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) AC_REQUIRE([AC_PROG_SED]) AC_REQUIRE([AC_PROG_GREP]) gl_FUNC_MEMCHR if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then AC_LIBOBJ([memchr]) gl_PREREQ_MEMCHR fi gl_STRING_MODULE_INDICATOR([memchr]) gl_FUNC_MEMMEM if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then AC_LIBOBJ([memmem]) fi gl_FUNC_MEMMEM_SIMPLE if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then AC_LIBOBJ([memmem]) fi gl_STRING_MODULE_INDICATOR([memmem]) gl_MEMXOR gl_MINMAX AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then AC_LIBOBJ([msvc-inval]) fi AC_REQUIRE([gl_MSVC_NOTHROW]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then AC_LIBOBJ([msvc-nothrow]) fi gl_MODULE_INDICATOR([msvc-nothrow]) gl_MULTIARCH gl_PATHMAX gl_SIZE_MAX gl_TYPE_SOCKLEN_T gt_TYPE_SSIZE_T gl_STAT_TIME gl_STAT_BIRTHTIME gl_STDALIGN_H AM_STDBOOL_H gl_STDDEF_H gl_STDINT_H gl_STDIO_H gl_HEADER_STRING_H gl_FUNC_STRNDUP if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then AC_LIBOBJ([strndup]) fi gl_STRING_MODULE_INDICATOR([strndup]) gl_FUNC_STRNLEN if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then AC_LIBOBJ([strnlen]) gl_PREREQ_STRNLEN fi gl_STRING_MODULE_INDICATOR([strnlen]) gl_FUNC_STRVERSCMP if test $HAVE_STRVERSCMP = 0; then AC_LIBOBJ([strverscmp]) gl_PREREQ_STRVERSCMP fi gl_STRING_MODULE_INDICATOR([strverscmp]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) AC_PROG_MKDIR_P gl_HEADER_SYS_STAT_H AC_PROG_MKDIR_P gl_SYS_TYPES_H AC_PROG_MKDIR_P gl_HEADER_SYS_UIO AC_PROG_MKDIR_P gl_HEADER_TIME_H gl_UNISTD_H gl_VALGRIND_TESTS gl_FUNC_VASNPRINTF gl_FUNC_VASPRINTF gl_STDIO_MODULE_INDICATOR([vasprintf]) m4_ifdef([AM_XGETTEXT_OPTION], [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format]) AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) gl_WCHAR_H gl_XSIZE # End of code from modules m4_ifval(gl_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || for gl_file in ]gl_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([gl_LIBSOURCES_DIR]) m4_popdef([gl_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gl_libobjs= gl_ltlibobjs= if test -n "$gl_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs $i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs $i.lo" done fi AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) ]) gltests_libdeps= gltests_ltlibdeps= m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) m4_pushdef([gltests_LIBSOURCES_LIST], []) m4_pushdef([gltests_LIBSOURCES_DIR], []) gl_COMMON gl_source_base='gltests' changequote(,)dnl gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS changequote([, ])dnl AC_SUBST([gltests_WITNESS]) gl_module_indicator_condition=$gltests_WITNESS m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([accept]) fi gl_SYS_SOCKET_MODULE_INDICATOR([accept]) gl_HEADER_ARPA_INET AC_PROG_MKDIR_P AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([bind]) fi gl_SYS_SOCKET_MODULE_INDICATOR([bind]) gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) gl_FUNC_CLOSE if test $REPLACE_CLOSE = 1; then AC_LIBOBJ([close]) fi gl_UNISTD_MODULE_INDICATOR([close]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([connect]) fi gl_SYS_SOCKET_MODULE_INDICATOR([connect]) gl_CTYPE_H gl_FUNC_DUP2 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then AC_LIBOBJ([dup2]) gl_PREREQ_DUP2 fi gl_UNISTD_MODULE_INDICATOR([dup2]) gl_ENVIRON gl_UNISTD_MODULE_INDICATOR([environ]) gl_FUNC_FCNTL if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then AC_LIBOBJ([fcntl]) fi gl_FCNTL_MODULE_INDICATOR([fcntl]) gl_FCNTL_H gl_FUNC_FDOPEN if test $REPLACE_FDOPEN = 1; then AC_LIBOBJ([fdopen]) gl_PREREQ_FDOPEN fi gl_STDIO_MODULE_INDICATOR([fdopen]) gl_FUNC_UNGETC_WORKS gl_FUNC_UNGETC_WORKS gl_FUNC_UNGETC_WORKS gl_FUNC_UNGETC_WORKS gl_FUNC_FTRUNCATE if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then AC_LIBOBJ([ftruncate]) gl_PREREQ_FTRUNCATE fi gl_UNISTD_MODULE_INDICATOR([ftruncate]) gl_FUNC_GETCWD_LGPL if test $REPLACE_GETCWD = 1; then AC_LIBOBJ([getcwd-lgpl]) fi gl_UNISTD_MODULE_INDICATOR([getcwd]) gl_FUNC_GETDTABLESIZE if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then AC_LIBOBJ([getdtablesize]) gl_PREREQ_GETDTABLESIZE fi gl_UNISTD_MODULE_INDICATOR([getdtablesize]) gl_FUNC_GETPAGESIZE if test $REPLACE_GETPAGESIZE = 1; then AC_LIBOBJ([getpagesize]) fi gl_UNISTD_MODULE_INDICATOR([getpagesize]) gl_FUNC_GETRUSAGE if test $HAVE_GETRUSAGE = 0; then AC_LIBOBJ([getrusage]) fi gl_SYS_RESOURCE_MODULE_INDICATOR([getrusage]) gl_FUNC_GETTIMEOFDAY if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then AC_LIBOBJ([gettimeofday]) gl_PREREQ_GETTIMEOFDAY fi gl_SYS_TIME_MODULE_INDICATOR([gettimeofday]) gl_FUNC_INET_PTON if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1; then AC_LIBOBJ([inet_pton]) gl_PREREQ_INET_PTON fi gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) AC_C_BIGENDIAN gl_INTTYPES_H gl_INTTYPES_INCOMPLETE gl_FUNC_IOCTL if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then AC_LIBOBJ([ioctl]) fi gl_SYS_IOCTL_MODULE_INDICATOR([ioctl]) gl_FUNC_ISBLANK if test $HAVE_ISBLANK = 0; then AC_LIBOBJ([isblank]) fi gl_CTYPE_MODULE_INDICATOR([isblank]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([listen]) fi gl_SYS_SOCKET_MODULE_INDICATOR([listen]) AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS]) AC_LIBOBJ([localtime-buffer]) gl_LOCK gl_MODULE_INDICATOR([lock]) AC_CHECK_HEADERS_ONCE([semaphore.h]) AC_CHECK_DECLS_ONCE([alarm]) gl_FUNC_LSTAT if test $REPLACE_LSTAT = 1; then AC_LIBOBJ([lstat]) gl_PREREQ_LSTAT fi gl_SYS_STAT_MODULE_INDICATOR([lstat]) gl_FUNC_MALLOC_POSIX if test $REPLACE_MALLOC = 1; then AC_LIBOBJ([malloc]) fi gl_STDLIB_MODULE_INDICATOR([malloc-posix]) gl_MALLOCA dnl Check for prerequisites for memory fence checks. gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) AC_CHECK_DECLS_ONCE([alarm]) gl_FUNC_NANOSLEEP if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then AC_LIBOBJ([nanosleep]) gl_PREREQ_NANOSLEEP fi gl_TIME_MODULE_INDICATOR([nanosleep]) AC_CHECK_DECLS_ONCE([alarm]) gl_HEADER_NETINET_IN AC_PROG_MKDIR_P gl_FUNC_OPEN if test $REPLACE_OPEN = 1; then AC_LIBOBJ([open]) gl_PREREQ_OPEN fi gl_FCNTL_MODULE_INDICATOR([open]) gl_FUNC_PERROR if test $REPLACE_PERROR = 1; then AC_LIBOBJ([perror]) fi gl_STRING_MODULE_INDICATOR([perror]) gl_FUNC_PIPE if test $HAVE_PIPE = 0; then AC_LIBOBJ([pipe]) fi gl_UNISTD_MODULE_INDICATOR([pipe]) gl_PTHREAD_H gl_PTHREAD_THREAD if test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1; then AC_LIBOBJ([pthread-thread]) fi gl_PTHREAD_MODULE_INDICATOR([pthread-thread]) gl_FUNC_PTHREAD_SIGMASK if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then AC_LIBOBJ([pthread_sigmask]) gl_PREREQ_PTHREAD_SIGMASK fi gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask]) gl_FUNC_PUTENV if test $REPLACE_PUTENV = 1; then AC_LIBOBJ([putenv]) gl_PREREQ_PUTENV fi gl_STDLIB_MODULE_INDICATOR([putenv]) gl_FUNC_RAISE if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then AC_LIBOBJ([raise]) gl_PREREQ_RAISE fi gl_SIGNAL_MODULE_INDICATOR([raise]) gl_SCHED_H gl_FUNC_SELECT if test $REPLACE_SELECT = 1; then AC_LIBOBJ([select]) fi gl_SYS_SELECT_MODULE_INDICATOR([select]) AC_CHECK_HEADERS_ONCE([sys/wait.h]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([setsockopt]) fi gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) gl_SIGACTION if test $HAVE_SIGACTION = 0; then AC_LIBOBJ([sigaction]) gl_PREREQ_SIGACTION fi gl_SIGNAL_MODULE_INDICATOR([sigaction]) gl_SIGNAL_H gl_SIGNALBLOCKING if test $HAVE_POSIX_SIGNALBLOCKING = 0; then AC_LIBOBJ([sigprocmask]) gl_PREREQ_SIGPROCMASK fi gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) gl_FUNC_SLEEP if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then AC_LIBOBJ([sleep]) fi gl_UNISTD_MODULE_INDICATOR([sleep]) AC_CHECK_DECLS_ONCE([alarm]) AC_REQUIRE([gl_HEADER_SYS_SOCKET]) if test "$ac_cv_header_winsock2_h" = yes; then AC_LIBOBJ([socket]) fi # When this module is used, sockets may actually occur as file descriptors, # hence it is worth warning if the modules 'close' and 'ioctl' are not used. m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2]) if test "$ac_cv_header_winsock2_h" = yes; then UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 fi gl_SYS_SOCKET_MODULE_INDICATOR([socket]) AC_REQUIRE([gl_SOCKETLIB]) AC_REQUIRE([gl_SOCKETS]) gl_FUNC_STAT if test $REPLACE_STAT = 1; then AC_LIBOBJ([stat]) case "$host_os" in mingw*) AC_LIBOBJ([stat-w32]) ;; esac gl_PREREQ_STAT fi gl_SYS_STAT_MODULE_INDICATOR([stat]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) gl_STDLIB_H gl_FUNC_STRERROR if test $REPLACE_STRERROR = 1; then AC_LIBOBJ([strerror]) fi gl_MODULE_INDICATOR([strerror]) gl_STRING_MODULE_INDICATOR([strerror]) AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([gl_FUNC_STRERROR_0]) if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then AC_LIBOBJ([strerror-override]) gl_PREREQ_SYS_H_WINSOCK2 fi gl_FUNC_STRERROR_R if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then AC_LIBOBJ([strerror_r]) gl_PREREQ_STRERROR_R fi gl_STRING_MODULE_INDICATOR([strerror_r]) dnl For the modules argp, error. gl_MODULE_INDICATOR([strerror_r-posix]) dnl Check for prerequisites for memory fence checks. gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) gl_FUNC_SYMLINK if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then AC_LIBOBJ([symlink]) fi gl_UNISTD_MODULE_INDICATOR([symlink]) gl_SYS_IOCTL_H AC_PROG_MKDIR_P gl_HEADER_SYS_RESOURCE AC_PROG_MKDIR_P AC_REQUIRE([gl_HEADER_SYS_SELECT]) AC_PROG_MKDIR_P AC_CHECK_FUNCS_ONCE([shutdown]) gl_HEADER_SYS_TIME_H AC_PROG_MKDIR_P gl_THREAD AC_REQUIRE([gl_THREADLIB]) gl_FUNC_UNSETENV if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then AC_LIBOBJ([unsetenv]) gl_PREREQ_UNSETENV fi gl_STDLIB_MODULE_INDICATOR([unsetenv]) gl_FUNC_USLEEP if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then AC_LIBOBJ([usleep]) fi gl_UNISTD_MODULE_INDICATOR([usleep]) gl_VALGRIND_TESTS AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-mutex]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-once]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-recmutex]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-rwlock]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-thread]) ;; esac AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw*) AC_LIBOBJ([windows-tls]) ;; esac AC_REQUIRE([gl_YIELD]) m4_popdef([gl_MODULE_INDICATOR_CONDITION]) m4_ifval(gltests_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || for gl_file in ]gltests_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([gltests_LIBSOURCES_DIR]) m4_popdef([gltests_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gltests_libobjs= gltests_ltlibobjs= if test -n "$gltests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs $i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" done fi AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) ]) LIBTESTS_LIBDEPS="$gltests_libdeps" AC_SUBST([LIBTESTS_LIBDEPS]) ]) # Like AC_LIBOBJ, except that the module name goes # into gl_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gl_LIBOBJ], [ AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into gl_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gl_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([gl_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([gl_LIBSOURCES_DIR], [gl]) m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # Like AC_LIBOBJ, except that the module name goes # into gltests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gltests_LIBOBJ], [ AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into gltests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gltests_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([gltests_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([gltests_LIBSOURCES_DIR], [gltests]) m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # This macro records the list of files which have been installed by # gnulib-tool and may be removed by future gnulib-tool invocations. AC_DEFUN([gl_FILE_LIST], [ build-aux/config.rpath build-aux/useless-if-before-free build-aux/vc-list-files lib/af_alg.c lib/af_alg.h lib/alloca.in.h lib/arg-nonnull.h lib/asnprintf.c lib/asprintf.c lib/base64.c lib/base64.h lib/byteswap.in.h lib/c++defs.h lib/c-ctype.c lib/c-ctype.h lib/cdefs.h lib/errno.in.h lib/fflush.c lib/float+.h lib/float.c lib/float.in.h lib/fpurge.c lib/freading.c lib/freading.h lib/fseek.c lib/fseeko.c lib/fstat.c lib/ftell.c lib/ftello.c lib/gc-gnulib.c lib/gc-libgcrypt.c lib/gc-pbkdf2-sha1.c lib/gc.h lib/getdelim.c lib/getline.c lib/gettext.h lib/gl_openssl.h lib/gss-extra.c lib/gss-extra.h lib/hmac-md5.c lib/hmac-sha1.c lib/hmac.c lib/hmac.h lib/intprops.h lib/itold.c lib/libc-config.h lib/limits.in.h lib/lseek.c lib/md5.c lib/md5.h lib/memchr.c lib/memchr.valgrind lib/memmem.c lib/memxor.c lib/memxor.h lib/minmax.h lib/msvc-inval.c lib/msvc-inval.h lib/msvc-nothrow.c lib/msvc-nothrow.h lib/pathmax.h lib/printf-args.c lib/printf-args.h lib/printf-parse.c lib/printf-parse.h lib/sha1.c lib/sha1.h lib/size_max.h lib/stat-time.c lib/stat-time.h lib/stat-w32.c lib/stat-w32.h lib/stdalign.in.h lib/stdbool.in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-impl.h lib/stdio.in.h lib/str-two-way.h lib/string.in.h lib/strndup.c lib/strnlen.c lib/strverscmp.c lib/sys-limits.h lib/sys_socket.c lib/sys_socket.in.h lib/sys_stat.in.h lib/sys_types.in.h lib/sys_uio.in.h lib/time.in.h lib/unistd.c lib/unistd.in.h lib/unused-parameter.h lib/vasnprintf.c lib/vasnprintf.h lib/vasprintf.c lib/verify.h lib/warn-on-use.h lib/wchar.in.h lib/xsize.c lib/xsize.h m4/00gnulib.m4 m4/__inline.m4 m4/absolute-header.m4 m4/af_alg.m4 m4/alloca.m4 m4/arpa_inet_h.m4 m4/base64.m4 m4/builtin-expect.m4 m4/byteswap.m4 m4/close.m4 m4/ctype.m4 m4/dup2.m4 m4/eealloc.m4 m4/environ.m4 m4/errno_h.m4 m4/exponentd.m4 m4/extensions.m4 m4/extern-inline.m4 m4/fcntl-o.m4 m4/fcntl.m4 m4/fcntl_h.m4 m4/fdopen.m4 m4/fflush.m4 m4/float_h.m4 m4/fpieee.m4 m4/fpurge.m4 m4/freading.m4 m4/fseek.m4 m4/fseeko.m4 m4/fstat.m4 m4/ftell.m4 m4/ftello.m4 m4/ftruncate.m4 m4/gc-hmac-md5.m4 m4/gc-hmac-sha1.m4 m4/gc-md5.m4 m4/gc-random.m4 m4/gc-sha1.m4 m4/gc.m4 m4/getcwd.m4 m4/getdelim.m4 m4/getdtablesize.m4 m4/getline.m4 m4/getpagesize.m4 m4/getrusage.m4 m4/gettimeofday.m4 m4/gl-openssl.m4 m4/gnulib-common.m4 m4/gss-extra.m4 m4/host-cpu-c-abi.m4 m4/include_next.m4 m4/inet_pton.m4 m4/intmax_t.m4 m4/inttypes-pri.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/ioctl.m4 m4/isblank.m4 m4/largefile.m4 m4/ld-output-def.m4 m4/ld-version-script.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/limits-h.m4 m4/localtime-buffer.m4 m4/lock.m4 m4/longlong.m4 m4/lseek.m4 m4/lstat.m4 m4/malloc.m4 m4/malloca.m4 m4/math_h.m4 m4/md5.m4 m4/memchr.m4 m4/memmem.m4 m4/memxor.m4 m4/minmax.m4 m4/mmap-anon.m4 m4/mode_t.m4 m4/msvc-inval.m4 m4/msvc-nothrow.m4 m4/multiarch.m4 m4/nanosleep.m4 m4/netinet_in_h.m4 m4/off_t.m4 m4/open-cloexec.m4 m4/open.m4 m4/pathmax.m4 m4/perror.m4 m4/pipe.m4 m4/printf.m4 m4/pthread-thread.m4 m4/pthread_h.m4 m4/pthread_rwlock_rdlock.m4 m4/pthread_sigmask.m4 m4/putenv.m4 m4/raise.m4 m4/sched_h.m4 m4/select.m4 m4/setenv.m4 m4/sha1.m4 m4/sigaction.m4 m4/signal_h.m4 m4/signalblocking.m4 m4/size_max.m4 m4/sleep.m4 m4/socketlib.m4 m4/sockets.m4 m4/socklen.m4 m4/sockpfaf.m4 m4/ssize_t.m4 m4/stat-time.m4 m4/stat.m4 m4/std-gnu11.m4 m4/stdalign.m4 m4/stdbool.m4 m4/stddef_h.m4 m4/stdint.m4 m4/stdint_h.m4 m4/stdio_h.m4 m4/stdlib_h.m4 m4/strerror.m4 m4/strerror_r.m4 m4/string_h.m4 m4/strndup.m4 m4/strnlen.m4 m4/strverscmp.m4 m4/symlink.m4 m4/sys_ioctl_h.m4 m4/sys_resource_h.m4 m4/sys_select_h.m4 m4/sys_socket_h.m4 m4/sys_stat_h.m4 m4/sys_time_h.m4 m4/sys_types_h.m4 m4/sys_uio_h.m4 m4/thread.m4 m4/threadlib.m4 m4/time_h.m4 m4/ungetc.m4 m4/unistd_h.m4 m4/usleep.m4 m4/valgrind-tests.m4 m4/vasnprintf.m4 m4/vasprintf.m4 m4/visibility.m4 m4/warn-on-use.m4 m4/wchar_h.m4 m4/wchar_t.m4 m4/wint_t.m4 m4/xsize.m4 m4/yield.m4 tests/bench-digest.h tests/bench-md5.c tests/bench-sha1.c tests/init.sh tests/macros.h tests/nap.h tests/signature.h tests/test-accept.c tests/test-alloca-opt.c tests/test-arpa_inet.c tests/test-base64.c tests/test-binary-io.c tests/test-binary-io.sh tests/test-bind.c tests/test-byteswap.c tests/test-c-ctype.c tests/test-cloexec.c tests/test-close.c tests/test-connect.c tests/test-ctype.c tests/test-digest.h tests/test-dup2.c tests/test-environ.c tests/test-errno.c tests/test-fcntl-h.c tests/test-fcntl.c tests/test-fdopen.c tests/test-fflush.c tests/test-fflush2.c tests/test-fflush2.sh tests/test-fgetc.c tests/test-float.c tests/test-fpurge.c tests/test-fputc.c tests/test-fread.c tests/test-freading.c tests/test-fseek.c tests/test-fseek.sh tests/test-fseek2.sh tests/test-fseeko.c tests/test-fseeko.sh tests/test-fseeko2.sh tests/test-fseeko3.c tests/test-fseeko3.sh tests/test-fseeko4.c tests/test-fseeko4.sh tests/test-fstat.c tests/test-ftell.c tests/test-ftell.sh tests/test-ftell2.sh tests/test-ftell3.c tests/test-ftello.c tests/test-ftello.sh tests/test-ftello2.sh tests/test-ftello3.c tests/test-ftello4.c tests/test-ftello4.sh tests/test-ftruncate.c tests/test-ftruncate.sh tests/test-fwrite.c tests/test-gc-hmac-md5.c tests/test-gc-hmac-sha1.c tests/test-gc-md5.c tests/test-gc-pbkdf2-sha1.c tests/test-gc-sha1.c tests/test-gc.c tests/test-getcwd-lgpl.c tests/test-getdelim.c tests/test-getdtablesize.c tests/test-getline.c tests/test-getrusage.c tests/test-gettimeofday.c tests/test-hmac-md5.c tests/test-hmac-sha1.c tests/test-ignore-value.c tests/test-inet_pton.c tests/test-init.sh tests/test-intprops.c tests/test-inttypes.c tests/test-ioctl.c tests/test-isblank.c tests/test-limits-h.c tests/test-listen.c tests/test-lock.c tests/test-lseek.c tests/test-lseek.sh tests/test-lstat.c tests/test-lstat.h tests/test-malloca.c tests/test-md5.c tests/test-memchr.c tests/test-memmem.c tests/test-nanosleep.c tests/test-netinet_in.c tests/test-once.c tests/test-open.c tests/test-open.h tests/test-pathmax.c tests/test-perror.c tests/test-perror.sh tests/test-perror2.c tests/test-pipe.c tests/test-pthread-thread.c tests/test-pthread.c tests/test-pthread_sigmask1.c tests/test-pthread_sigmask2.c tests/test-raise.c tests/test-rwlock1.c tests/test-sched.c tests/test-select-fd.c tests/test-select-in.sh tests/test-select-out.sh tests/test-select-stdin.c tests/test-select.c tests/test-select.h tests/test-setsockopt.c tests/test-sha1.c tests/test-sigaction.c tests/test-signal-h.c tests/test-sigprocmask.c tests/test-sleep.c tests/test-sockets.c tests/test-stat-time.c tests/test-stat.c tests/test-stat.h tests/test-stdalign.c tests/test-stdbool.c tests/test-stddef.c tests/test-stdint.c tests/test-stdio.c tests/test-stdlib.c tests/test-strerror.c tests/test-strerror_r.c tests/test-string.c tests/test-strnlen.c tests/test-strverscmp.c tests/test-symlink.c tests/test-symlink.h tests/test-sys_ioctl.c tests/test-sys_resource.c tests/test-sys_select.c tests/test-sys_socket.c tests/test-sys_stat.c tests/test-sys_time.c tests/test-sys_types.c tests/test-sys_uio.c tests/test-sys_wait.h tests/test-thread_create.c tests/test-thread_self.c tests/test-time.c tests/test-unistd.c tests/test-unsetenv.c tests/test-usleep.c tests/test-vasnprintf.c tests/test-vasprintf.c tests/test-verify-try.c tests/test-verify.c tests/test-verify.sh tests/test-wchar.c tests/zerosize-ptr.h tests=lib/_Noreturn.h tests=lib/accept.c tests=lib/alloca.c tests=lib/arg-nonnull.h tests=lib/arpa_inet.in.h tests=lib/binary-io.c tests=lib/binary-io.h tests=lib/bind.c tests=lib/c++defs.h tests=lib/cloexec.c tests=lib/cloexec.h tests=lib/close.c tests=lib/connect.c tests=lib/ctype.in.h tests=lib/dosname.h tests=lib/dup2.c tests=lib/fcntl.c tests=lib/fcntl.in.h tests=lib/fd-hook.c tests=lib/fd-hook.h tests=lib/fdopen.c tests=lib/filename.h tests=lib/fpucw.h tests=lib/ftruncate.c tests=lib/getcwd-lgpl.c tests=lib/getdtablesize.c tests=lib/getpagesize.c tests=lib/getrusage.c tests=lib/gettimeofday.c tests=lib/glthread/lock.c tests=lib/glthread/lock.h tests=lib/glthread/thread.c tests=lib/glthread/thread.h tests=lib/glthread/threadlib.c tests=lib/glthread/yield.h tests=lib/ignore-value.h tests=lib/inet_pton.c tests=lib/inttypes.in.h tests=lib/ioctl.c tests=lib/isblank.c tests=lib/listen.c tests=lib/localtime-buffer.c tests=lib/localtime-buffer.h tests=lib/lstat.c tests=lib/malloc.c tests=lib/malloca.c tests=lib/malloca.h tests=lib/nanosleep.c tests=lib/netinet_in.in.h tests=lib/open.c tests=lib/perror.c tests=lib/pipe.c tests=lib/pthread-thread.c tests=lib/pthread.in.h tests=lib/pthread_sigmask.c tests=lib/putenv.c tests=lib/raise.c tests=lib/same-inode.h tests=lib/sched.in.h tests=lib/select.c tests=lib/setsockopt.c tests=lib/sig-handler.c tests=lib/sig-handler.h tests=lib/sigaction.c tests=lib/signal.in.h tests=lib/sigprocmask.c tests=lib/sleep.c tests=lib/socket.c tests=lib/sockets.c tests=lib/sockets.h tests=lib/stat-w32.c tests=lib/stat-w32.h tests=lib/stat.c tests=lib/stdlib.in.h tests=lib/strerror-override.c tests=lib/strerror-override.h tests=lib/strerror.c tests=lib/strerror_r.c tests=lib/symlink.c tests=lib/sys_ioctl.in.h tests=lib/sys_resource.in.h tests=lib/sys_select.in.h tests=lib/sys_time.in.h tests=lib/unsetenv.c tests=lib/unused-parameter.h tests=lib/usleep.c tests=lib/w32sock.h tests=lib/warn-on-use.h tests=lib/windows-initguard.h tests=lib/windows-mutex.c tests=lib/windows-mutex.h tests=lib/windows-once.c tests=lib/windows-once.h tests=lib/windows-recmutex.c tests=lib/windows-recmutex.h tests=lib/windows-rwlock.c tests=lib/windows-rwlock.h tests=lib/windows-thread.c tests=lib/windows-thread.h tests=lib/windows-tls.c tests=lib/windows-tls.h tests=lib/xalloc-oversized.h top/GNUmakefile top/maint.mk ]) gsasl-1.8.1/lib/m4/inttypes.m40000644000000000000000000001240413516267371012744 00000000000000# inttypes.m4 serial 27 dnl Copyright (C) 2006-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Derek Price, Bruno Haible. dnl Test whether is supported or must be substituted. AC_DEFUN([gl_INTTYPES_H], [ AC_REQUIRE([gl_INTTYPES_INCOMPLETE]) gl_INTTYPES_PRI_SCN ]) AC_DEFUN_ONCE([gl_INTTYPES_INCOMPLETE], [ AC_REQUIRE([gl_STDINT_H]) AC_CHECK_HEADERS_ONCE([inttypes.h]) dnl Override always, so that the portability warnings work. AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([inttypes.h]) AC_REQUIRE([gl_MULTIARCH]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [imaxabs imaxdiv strtoimax strtoumax]) ]) # Ensure that the PRI* and SCN* macros are defined appropriately. AC_DEFUN([gl_INTTYPES_PRI_SCN], [ AC_REQUIRE([gt_INTTYPES_PRI]) PRIPTR_PREFIX= if test -n "$STDINT_H"; then dnl Using the gnulib . It always defines intptr_t to 'long'. PRIPTR_PREFIX='"l"' else dnl Using the system's . for glpfx in '' l ll I64; do case $glpfx in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; I64) gltype1='__int64';; esac AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include extern intptr_t foo; extern $gltype1 foo;]])], [PRIPTR_PREFIX='"'$glpfx'"']) test -n "$PRIPTR_PREFIX" && break done fi AC_SUBST([PRIPTR_PREFIX]) gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [INT32_MAX_LT_INTMAX_MAX], [defined INT32_MAX && defined INTMAX_MAX], [INT32_MAX < INTMAX_MAX], [sizeof (int) < sizeof (long long int)]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [INT64_MAX_EQ_LONG_MAX], [defined INT64_MAX], [INT64_MAX == LONG_MAX], [sizeof (long long int) == sizeof (long int)]) else INT64_MAX_EQ_LONG_MAX=-1 fi gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [UINT32_MAX_LT_UINTMAX_MAX], [defined UINT32_MAX && defined UINTMAX_MAX], [UINT32_MAX < UINTMAX_MAX], [sizeof (unsigned int) < sizeof (unsigned long long int)]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [UINT64_MAX_EQ_ULONG_MAX], [defined UINT64_MAX], [UINT64_MAX == ULONG_MAX], [sizeof (unsigned long long int) == sizeof (unsigned long int)]) else UINT64_MAX_EQ_ULONG_MAX=-1 fi ]) # Define the symbol $1 to be 1 if the condition is true, 0 otherwise. # If $2 is true, the condition is $3; otherwise if long long int is supported # approximate the condition with $4; otherwise, assume the condition is false. # The condition should work on all C99 platforms; the approximations should be # good enough to work on all practical pre-C99 platforms. # $2 is evaluated by the C preprocessor, $3 and $4 as compile-time constants. AC_DEFUN([gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION], [ AC_CACHE_CHECK([whether $3], [gl_cv_test_$1], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[/* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if $2 #define CONDITION ($3) #elif HAVE_LONG_LONG_INT #define CONDITION ($4) #else #define CONDITION 0 #endif int test[CONDITION ? 1 : -1];]])], [gl_cv_test_$1=yes], [gl_cv_test_$1=no])]) if test $gl_cv_test_$1 = yes; then $1=1; else $1=0; fi AC_SUBST([$1]) ]) AC_DEFUN([gl_INTTYPES_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) AC_DEFUN([gl_INTTYPES_H_DEFAULTS], [ GNULIB_IMAXABS=0; AC_SUBST([GNULIB_IMAXABS]) GNULIB_IMAXDIV=0; AC_SUBST([GNULIB_IMAXDIV]) GNULIB_STRTOIMAX=0; AC_SUBST([GNULIB_STRTOIMAX]) GNULIB_STRTOUMAX=0; AC_SUBST([GNULIB_STRTOUMAX]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_IMAXABS=1; AC_SUBST([HAVE_DECL_IMAXABS]) HAVE_DECL_IMAXDIV=1; AC_SUBST([HAVE_DECL_IMAXDIV]) HAVE_DECL_STRTOIMAX=1; AC_SUBST([HAVE_DECL_STRTOIMAX]) HAVE_DECL_STRTOUMAX=1; AC_SUBST([HAVE_DECL_STRTOUMAX]) HAVE_IMAXDIV_T=1; AC_SUBST([HAVE_IMAXDIV_T]) REPLACE_STRTOIMAX=0; AC_SUBST([REPLACE_STRTOIMAX]) REPLACE_STRTOUMAX=0; AC_SUBST([REPLACE_STRTOUMAX]) INT32_MAX_LT_INTMAX_MAX=1; AC_SUBST([INT32_MAX_LT_INTMAX_MAX]) INT64_MAX_EQ_LONG_MAX='defined _LP64'; AC_SUBST([INT64_MAX_EQ_LONG_MAX]) PRI_MACROS_BROKEN=0; AC_SUBST([PRI_MACROS_BROKEN]) PRIPTR_PREFIX=__PRIPTR_PREFIX; AC_SUBST([PRIPTR_PREFIX]) UINT32_MAX_LT_UINTMAX_MAX=1; AC_SUBST([UINT32_MAX_LT_UINTMAX_MAX]) UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; AC_SUBST([UINT64_MAX_EQ_ULONG_MAX]) ]) gsasl-1.8.1/lib/m4/time_h.m40000644000000000000000000001376213516267371012342 00000000000000# Configure a more-standard replacement for . # Copyright (C) 2000-2001, 2003-2007, 2009-2019 Free Software Foundation, Inc. # serial 11 # 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. # Written by Paul Eggert and Jim Meyering. AC_DEFUN([gl_HEADER_TIME_H], [ dnl Use AC_REQUIRE here, so that the default behavior below is expanded dnl once only, before all statements that occur in other macros. AC_REQUIRE([gl_HEADER_TIME_H_BODY]) ]) AC_DEFUN([gl_HEADER_TIME_H_BODY], [ AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) gl_NEXT_HEADERS([time.h]) AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) ]) dnl Check whether 'struct timespec' is declared dnl in time.h, sys/time.h, pthread.h, or unistd.h. AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [ AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_time_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_time_h=yes], [gl_cv_sys_struct_timespec_in_time_h=no])]) TIME_H_DEFINES_STRUCT_TIMESPEC=0 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then TIME_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_sys_time_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_sys_time_h=yes], [gl_cv_sys_struct_timespec_in_sys_time_h=no])]) if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_pthread_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_pthread_h=yes], [gl_cv_sys_struct_timespec_in_pthread_h=no])]) if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_unistd_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_unistd_h=yes], [gl_cv_sys_struct_timespec_in_unistd_h=no])]) if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 fi fi fi fi AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([UNISTD_H_DEFINES_STRUCT_TIMESPEC]) ]) AC_DEFUN([gl_TIME_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], [ GNULIB_CTIME=0; AC_SUBST([GNULIB_CTIME]) GNULIB_MKTIME=0; AC_SUBST([GNULIB_MKTIME]) GNULIB_LOCALTIME=0; AC_SUBST([GNULIB_LOCALTIME]) GNULIB_NANOSLEEP=0; AC_SUBST([GNULIB_NANOSLEEP]) GNULIB_STRFTIME=0; AC_SUBST([GNULIB_STRFTIME]) GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) GNULIB_TIME_RZ=0; AC_SUBST([GNULIB_TIME_RZ]) GNULIB_TZSET=0; AC_SUBST([GNULIB_TZSET]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R]) HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) HAVE_TZSET=1; AC_SUBST([HAVE_TZSET]) dnl Even GNU libc does not have timezone_t yet. HAVE_TIMEZONE_T=0; AC_SUBST([HAVE_TIMEZONE_T]) dnl If another module says to replace or to not replace, do that. dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; dnl this lets maintainers check for portability. REPLACE_CTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_CTIME]) REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R]) REPLACE_MKTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_MKTIME]) REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP]) REPLACE_STRFTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_STRFTIME]) REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM]) REPLACE_TZSET=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TZSET]) dnl Hack so that the time module doesn't depend on the sys_time module. dnl First, default GNULIB_GETTIMEOFDAY to 0 if sys_time is absent. : ${GNULIB_GETTIMEOFDAY=0}; AC_SUBST([GNULIB_GETTIMEOFDAY]) dnl Second, it's OK to not use GNULIB_PORTCHECK for REPLACE_GMTIME dnl and REPLACE_LOCALTIME, as portability to Solaris 2.6 and earlier dnl is no longer a big deal. REPLACE_GMTIME=0; AC_SUBST([REPLACE_GMTIME]) REPLACE_LOCALTIME=0; AC_SUBST([REPLACE_LOCALTIME]) ]) gsasl-1.8.1/lib/m4/update-header-version.m40000644000000000000000000000177613516252320015256 00000000000000# update-header-version.m4 serial 2 dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson # sj_UPDATE_HEADER(HEADER-FILE, EXPR) # ------------- # Update HEADER-FILE with sed expression EXPR. AC_DEFUN([sj_UPDATE_HEADER], [ if ! sed $2 $1 > fixhdr.tmp; then AC_MSG_ERROR([[*** Failed to update version number in $1...]]) fi if cmp -s $1 fixhdr.tmp 2>/dev/null; then rm -f fixhdr.tmp elif ! mv fixhdr.tmp $1; then AC_MSG_ERROR([[*** Failed to move fixhdr.tmp to $1...]]) fi ]) # sj_UPDATE_HEADER_VERSION(HEADER-FILE) # ------------- # Update version number in HEADER-FILE. It searches for '_VERSION ".*"' # and replaces the .* part with the $PACKAGE_VERSION. AC_DEFUN([sj_UPDATE_HEADER_VERSION], [ sj_UPDATE_HEADER($1, 's/_VERSION ".*"/_VERSION "'$PACKAGE_VERSION'"/') ]) gsasl-1.8.1/lib/m4/ftell.m40000644000000000000000000000100513516267371012166 00000000000000# ftell.m4 serial 3 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FTELL], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_FTELLO]) dnl When ftello needs fixes, ftell needs them too. if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then REPLACE_FTELL=1 fi ]) gsasl-1.8.1/lib/m4/strerror.m40000644000000000000000000000711513516267371012752 00000000000000# strerror.m4 serial 20 dnl Copyright (C) 2002, 2007-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRERROR], [ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([gl_FUNC_STRERROR_0]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS]) ]) if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then AC_CACHE_CHECK([for working strerror function], [gl_cv_func_working_strerror], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[if (!*strerror (-2)) return 1;]])], [gl_cv_func_working_strerror=yes], [gl_cv_func_working_strerror=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_working_strerror="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_working_strerror="guessing no" ;; esac ]) ]) case "$gl_cv_func_working_strerror" in *yes) ;; *) dnl The system's strerror() fails to return a string for out-of-range dnl integers. Replace it. REPLACE_STRERROR=1 ;; esac m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's dnl buffer, we must replace strerror. case "$gl_cv_func_strerror_r_works" in *no) REPLACE_STRERROR=1 ;; esac ]) else dnl The system's strerror() cannot know about the new errno values we add dnl to , or any fix for strerror(0). Replace it. REPLACE_STRERROR=1 fi ]) dnl Detect if strerror(0) passes (that is, does not set errno, and does not dnl return a string that matches strerror(-1)). AC_DEFUN([gl_FUNC_STRERROR_0], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles REPLACE_STRERROR_0=0 AC_CACHE_CHECK([whether strerror(0) succeeds], [gl_cv_func_strerror_0_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[int result = 0; char *str; errno = 0; str = strerror (0); if (!*str) result |= 1; if (errno) result |= 2; if (strstr (str, "nknown") || strstr (str, "ndefined")) result |= 4; return result;]])], [gl_cv_func_strerror_0_works=yes], [gl_cv_func_strerror_0_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on musl systems. *-musl*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_strerror_0_works="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_strerror_0_works="guessing no" ;; esac ]) ]) case "$gl_cv_func_strerror_0_works" in *yes) ;; *) REPLACE_STRERROR_0=1 AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0) does not return a message implying success.]) ;; esac ]) gsasl-1.8.1/lib/m4/lib-prefix.m40000644000000000000000000002272013516267371013130 00000000000000# lib-prefix.m4 serial 14 dnl Copyright (C) 2001-2005, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH([lib-prefix], [[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates dnl - a variable acl_libdirstem, containing the basename of the libdir, either dnl "lib" or "lib64" or "lib/64", dnl - a variable acl_libdirstem2, as a secondary possible value for dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or dnl "lib/amd64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. dnl On glibc systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine dnl the compiler's default mode by looking at the compiler's library search dnl path. If at least one of its elements ends in /lib64 or points to a dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. dnl Otherwise we use the default, namely "lib". dnl On Solaris systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_HOST_CPU_C_ABI_32BIT]) case "$host_os" in solaris*) AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef _LP64 int ok; #else error fail #endif ]])], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) ]);; esac dnl Allow the user to override the result by setting acl_cv_libdirstems. AC_CACHE_CHECK([for the common suffixes of directories in the library search path], [acl_cv_libdirstems], [acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment dnl . dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the dnl symlink is missing, so we set acl_libdirstem2 too. if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) dnl If $CC generates code for a 32-bit ABI, the libraries are dnl surely under $prefix/lib, not $prefix/lib64. if test "$HOST_CPU_C_ABI_32BIT" != yes; then dnl The result is a property of the system. However, non-system dnl compilers sometimes have odd library search paths. Therefore dnl prefer asking /usr/bin/gcc, if available, rather than $CC. searchpath=`(if test -f /usr/bin/gcc \ && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \ LC_ALL=C /usr/bin/gcc -print-search-dirs; \ else \ LC_ALL=C $CC -print-search-dirs; \ fi) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2" ]) # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2. acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'` ]) gsasl-1.8.1/lib/maint.mk0000644000000000000000000020147513516251672011751 00000000000000# -*-Makefile-*- # This Makefile fragment tries to be general-purpose enough to be # used by many projects via the gnulib maintainer-makefile module. ## Copyright (C) 2001-2019 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 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, see . # This is reported not to work with make-3.79.1 # ME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) ME := maint.mk # These variables ought to be defined through the configure.ac section # of the module description. But some packages import this file directly, # ignoring the module description. AWK ?= awk GREP ?= grep SED ?= sed # Helper variables. _empty = _sp = $(_empty) $(_empty) # _equal,S1,S2 # ------------ # If S1 == S2, return S1, otherwise the empty string. _equal = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1))) # member-check,VARIABLE,VALID-VALUES # ---------------------------------- # Check that $(VARIABLE) is in the space-separated list of VALID-VALUES, and # return it. Die otherwise. member-check = \ $(strip \ $(if $($(1)), \ $(if $(findstring $(_sp),$($(1))), \ $(error invalid $(1): '$($(1))', expected $(2)), \ $(or $(findstring $(_sp)$($(1))$(_sp),$(_sp)$(2)$(_sp)), \ $(error invalid $(1): '$($(1))', expected $(2)))), \ $(error $(1) undefined))) # Do not save the original name or timestamp in the .tar.gz file. # Use --rsyncable if available. gzip_rsyncable := \ $(shell gzip --help 2>/dev/null|$(GREP) rsyncable >/dev/null \ && printf %s --rsyncable) GZIP_ENV = '--no-name --best $(gzip_rsyncable)' GIT = git VC = $(GIT) VC_LIST = $(srcdir)/$(_build-aux)/vc-list-files -C $(srcdir) # You can override this variable in cfg.mk if your gnulib submodule lives # in a different location. gnulib_dir ?= $(srcdir)/gnulib # You can override this variable in cfg.mk to set your own regexp # matching files to ignore. VC_LIST_ALWAYS_EXCLUDE_REGEX ?= ^$$ # This is to preprocess robustly the output of $(VC_LIST), so that even # when $(srcdir) is a pathological name like "....", the leading sed command # removes only the intended prefix. _dot_escaped_srcdir = $(subst .,\.,$(srcdir)) # Post-process $(VC_LIST) output, prepending $(srcdir)/, but only # when $(srcdir) is not ".". ifeq ($(srcdir),.) _prepend_srcdir_prefix = else _prepend_srcdir_prefix = | $(SED) 's|^|$(srcdir)/|' endif # In order to be able to consistently filter "."-relative names, # (i.e., with no $(srcdir) prefix), this definition is careful to # remove any $(srcdir) prefix, and to restore what it removes. _sc_excl = \ $(or $(exclude_file_name_regexp--$@),^$$) VC_LIST_EXCEPT = \ $(VC_LIST) | $(SED) 's|^$(_dot_escaped_srcdir)/||' \ | if test -f $(srcdir)/.x-$@; then $(GREP) -vEf $(srcdir)/.x-$@; \ else $(GREP) -Ev -e "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi \ | $(GREP) -Ev -e '($(VC_LIST_ALWAYS_EXCLUDE_REGEX)|$(_sc_excl))' \ $(_prepend_srcdir_prefix) ifeq ($(origin prev_version_file), undefined) prev_version_file = $(srcdir)/.prev-version endif PREV_VERSION := $(shell cat $(prev_version_file) 2>/dev/null) VERSION_REGEXP = $(subst .,\.,$(VERSION)) PREV_VERSION_REGEXP = $(subst .,\.,$(PREV_VERSION)) ifeq ($(VC),$(GIT)) this-vc-tag = v$(VERSION) this-vc-tag-regexp = v$(VERSION_REGEXP) else tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') tag-this-version = $(subst .,_,$(VERSION)) this-vc-tag = $(tag-package)-$(tag-this-version) this-vc-tag-regexp = $(this-vc-tag) endif my_distdir = $(PACKAGE)-$(VERSION) # Old releases are stored here. release_archive_dir ?= ../release # If RELEASE_TYPE is undefined, but RELEASE is, use its second word. # But overwrite VERSION. ifdef RELEASE VERSION := $(word 1, $(RELEASE)) RELEASE_TYPE ?= $(word 2, $(RELEASE)) endif # Validate and return $(RELEASE_TYPE), or die. RELEASE_TYPES = alpha beta stable release-type = $(call member-check,RELEASE_TYPE,$(RELEASE_TYPES)) # Override gnu_rel_host and url_dir_list in cfg.mk if these are not right. # Use alpha.gnu.org for alpha and beta releases. # Use ftp.gnu.org for stable releases. gnu_ftp_host-alpha = alpha.gnu.org gnu_ftp_host-beta = alpha.gnu.org gnu_ftp_host-stable = ftp.gnu.org gnu_rel_host ?= $(gnu_ftp_host-$(release-type)) url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org), \ https://ftpmirror.gnu.org/$(PACKAGE), \ https://$(gnu_rel_host)/gnu/$(PACKAGE)) # Override this in cfg.mk if you are using a different format in your # NEWS file. today = $(shell date +%Y-%m-%d) # Select which lines of NEWS are searched for $(news-check-regexp). # This is a sed line number spec. The default says that we search # lines 1..10 of NEWS for $(news-check-regexp). # If you want to search only line 3 or only lines 20-22, use "3" or "20,22". news-check-lines-spec ?= 1,10 news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' # Prevent programs like 'sort' from considering distinct strings to be equal. # Doing it here saves us from having to set LC_ALL elsewhere in this file. export LC_ALL = C ## --------------- ## ## Sanity checks. ## ## --------------- ## ifneq ($(_gl-Makefile),) _cfg_mk := $(wildcard $(srcdir)/cfg.mk) # Collect the names of rules starting with 'sc_'. syntax-check-rules := $(sort $(shell $(SED) -n \ 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk))) .PHONY: $(syntax-check-rules) ifeq ($(shell $(VC_LIST) >/dev/null 2>&1; echo $$?),0) local-checks-available += $(syntax-check-rules) else local-checks-available += no-vc-detected no-vc-detected: @echo "No version control files detected; skipping syntax check" endif .PHONY: $(local-checks-available) # Arrange to print the name of each syntax-checking rule just before running it. $(syntax-check-rules): %: %.m sc_m_rules_ = $(patsubst %, %.m, $(syntax-check-rules)) .PHONY: $(sc_m_rules_) $(sc_m_rules_): @echo $(patsubst sc_%.m, %, $@) @date +%s.%N > .sc-start-$(basename $@) # Compute and print the elapsed time for each syntax-check rule. sc_z_rules_ = $(patsubst %, %.z, $(syntax-check-rules)) .PHONY: $(sc_z_rules_) $(sc_z_rules_): %.z: % @end=$$(date +%s.%N); \ start=$$(cat .sc-start-$*); \ rm -f .sc-start-$*; \ $(AWK) -v s=$$start -v e=$$end \ 'END {printf "%.2f $(patsubst sc_%,%,$*)\n", e - s}' < /dev/null # The patsubst here is to replace each sc_% rule with its sc_%.z wrapper # that computes and prints elapsed time. local-check := \ $(patsubst sc_%, sc_%.z, \ $(filter-out $(local-checks-to-skip), $(local-checks-available))) syntax-check: $(local-check) endif # _sc_search_regexp # # This macro searches for a given construct in the selected files and # then takes some action. # # Parameters (shell variables): # # prohibit | require # # Regular expression (ERE) denoting either a forbidden construct # or a required construct. Those arguments are exclusive. # # exclude # # Regular expression (ERE) denoting lines to ignore that matched # a prohibit construct. For example, this can be used to exclude # comments that mention why the nearby code uses an alternative # construct instead of the simpler prohibited construct. # # in_vc_files | in_files # # grep-E-style regexp selecting the files to check. For in_vc_files, # the regexp is used to select matching files from the list of all # version-controlled files; for in_files, it's from the names printed # by "find $(srcdir)". When neither is specified, use all files that # are under version control. # # containing | non_containing # # Select the files (non) containing strings matching this regexp. # If both arguments are specified then CONTAINING takes # precedence. # # with_grep_options # # Extra options for grep. # # ignore_case # # Ignore case. # # halt # # Message to display before to halting execution. # # Finally, you may exempt files based on an ERE matching file names. # For example, to exempt from the sc_space_tab check all files with the # .diff suffix, set this Make variable: # # exclude_file_name_regexp--sc_space_tab = \.diff$ # # Note that while this functionality is mostly inherited via VC_LIST_EXCEPT, # when filtering by name via in_files, we explicitly filter out matching # names here as well. # Initialize each, so that envvar settings cannot interfere. export require = export prohibit = export exclude = export in_vc_files = export in_files = export containing = export non_containing = export halt = export with_grep_options = # By default, _sc_search_regexp does not ignore case. export ignore_case = _ignore_case = $$(test -n "$$ignore_case" && printf %s -i || :) define _sc_say_and_exit dummy=; : so we do not need a semicolon before each use; \ { printf '%s\n' "$(ME): $$msg" 1>&2; exit 1; }; endef define _sc_search_regexp dummy=; : so we do not need a semicolon before each use; \ \ : Check arguments; \ test -n "$$prohibit" && test -n "$$require" \ && { msg='Cannot specify both prohibit and require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -z "$$require" \ && { msg='Should specify either prohibit or require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -n "$$exclude" \ && { msg='Use of exclude requires a prohibit pattern' \ $(_sc_say_and_exit) } || :; \ test -n "$$in_vc_files" && test -n "$$in_files" \ && { msg='Cannot specify both in_vc_files and in_files' \ $(_sc_say_and_exit) } || :; \ test "x$$halt" != x \ || { msg='halt not defined' $(_sc_say_and_exit) }; \ \ : Filter by file name; \ if test -n "$$in_files"; then \ files=$$(find $(srcdir) | $(GREP) -E "$$in_files" \ | $(GREP) -Ev '$(_sc_excl)'); \ else \ files=$$($(VC_LIST_EXCEPT)); \ if test -n "$$in_vc_files"; then \ files=$$(echo "$$files" | $(GREP) -E "$$in_vc_files"); \ fi; \ fi; \ \ : Filter by content; \ test -n "$$files" \ && test -n "$$containing" \ && { files=$$(echo "$$files" | xargs $(GREP) -l "$$containing"); } \ || :; \ test -n "$$files" \ && test -n "$$non_containing" \ && { files=$$(echo "$$files" | xargs $(GREP) -vl "$$non_containing"); } \ || :; \ \ : Check for the construct; \ if test -n "$$files"; then \ if test -n "$$prohibit"; then \ echo "$$files" \ | xargs $(GREP) $$with_grep_options $(_ignore_case) -nE \ "$$prohibit" /dev/null \ | $(GREP) -vE "$${exclude:-^$$}" \ && { msg="$$halt" $(_sc_say_and_exit) } \ || :; \ else \ echo "$$files" \ | xargs \ $(GREP) $$with_grep_options $(_ignore_case) -LE "$$require" \ | $(GREP) . \ && { msg="$$halt" $(_sc_say_and_exit) } \ || :; \ fi \ else :; \ fi || :; endef sc_avoid_if_before_free: @$(VC_LIST_EXCEPT) \ | $(GREP) -v useless-if-before-free \ | xargs \ $(srcdir)/$(_build-aux)/useless-if-before-free \ $(useless_free_options) \ && { printf '$(ME): found useless "if"' \ ' before "free" above\n' 1>&2; \ exit 1; } \ || : sc_cast_of_argument_to_free: @prohibit='\/dev/null 2>&1; then \ (cd $(srcdir) && autoconf --trace AC_CONFIG_FILES:'$$1') | \ tr ' ' '\n' | \ $(SED) -ne '/Makefile/{s/\.in$$//;p;}' | \ while read m; do \ $(MAKE) -qp -f $$m .DUMMY-TARGET 2>/dev/null | \ $(AWK) -v file=$$m -e '$($@_awk_)' || exit 1; \ done; \ fi # Using EXIT_SUCCESS as the first argument to error is misleading, # since when that parameter is 0, error does not exit. Use '0' instead. sc_error_exit_success: @prohibit='error *\(EXIT_SUCCESS,' \ in_vc_files='\.[chly]$$' \ halt='found error (EXIT_SUCCESS' \ $(_sc_search_regexp) # "FATAL:" should be fully upper-cased in error messages # "WARNING:" should be fully upper-cased, or fully lower-cased sc_error_message_warn_fatal: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '"Warning|"Fatal|"fatal' \ && { echo '$(ME): use FATAL, WARNING or warning' 1>&2; \ exit 1; } \ || : # Error messages should not start with a capital letter sc_error_message_uppercase: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '"[A-Z]' \ | $(GREP) -vE '"FATAL|"WARNING|"Java|"C#|PRIuMAX' \ && { echo '$(ME): found capitalized error message' 1>&2; \ exit 1; } \ || : # Error messages should not end with a period sc_error_message_period: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '[^."]\."' \ && { echo '$(ME): found error message ending in period' 1>&2; \ exit 1; } \ || : sc_file_system: @prohibit=file''system \ exclude='/proc/filesystems' \ ignore_case=1 \ halt='found use of "file''system"; spell it "file system"' \ $(_sc_search_regexp) # Don't use cpp tests of this symbol. All code assumes config.h is included. sc_prohibit_have_config_h: @prohibit='^# *if.*HAVE''_CONFIG_H' \ halt='found use of HAVE''_CONFIG_H; remove' \ $(_sc_search_regexp) # Nearly all .c files must include . However, we also permit this # via inclusion of a package-specific header, if cfg.mk specified one. # config_h_header must be suitable for grep -E. config_h_header ?= sc_require_config_h: @require='^# *include $(config_h_header)' \ in_vc_files='\.c$$' \ halt='the above files do not include ' \ $(_sc_search_regexp) # Print each file name for which the first #include does not match # $(config_h_header). Like grep -m 1, this only looks at the first match. perl_config_h_first_ = \ -e 'BEGIN {$$ret = 0}' \ -e 'if (/^\# *include\b/) {' \ -e ' if (not m{^\# *include $(config_h_header)}) {' \ -e ' print "$$ARGV\n";' \ -e ' $$ret = 1;' \ -e ' }' \ -e ' \# Move on to next file after first include' \ -e ' close ARGV;' \ -e '}' \ -e 'END {exit $$ret}' # You must include before including any other header file. # This can possibly be via a package-specific header, if given by cfg.mk. sc_require_config_h_first: @if $(VC_LIST_EXCEPT) | $(GREP) '\.c$$' > /dev/null; then \ files=$$($(VC_LIST_EXCEPT) | $(GREP) '\.c$$') && \ perl -n $(perl_config_h_first_) $$files || \ { echo '$(ME): the above files include some other header' \ 'before ' 1>&2; exit 1; } || :; \ else :; \ fi sc_prohibit_HAVE_MBRTOWC: @prohibit='\bHAVE_MBRTOWC\b' \ halt="do not use $$prohibit; it is always defined" \ $(_sc_search_regexp) # To use this "command" macro, you must first define two shell variables: # h: the header name, with no enclosing <> or "" # re: a regular expression that matches IFF something provided by $h is used. define _sc_header_without_use dummy=; : so we do not need a semicolon before each use; \ h_esc=`echo '[<"]'"$$h"'[">]'|$(SED) 's/\./\\\\./g'`; \ if $(VC_LIST_EXCEPT) | $(GREP) '\.c$$' > /dev/null; then \ files=$$($(GREP) -l '^# *include '"$$h_esc" \ $$($(VC_LIST_EXCEPT) | $(GREP) '\.c$$')) && \ $(GREP) -LE "$$re" $$files | $(GREP) . && \ { echo "$(ME): the above files include $$h but don't use it" \ 1>&2; exit 1; } || :; \ else :; \ fi endef # Prohibit the inclusion of assert.h without an actual use of assert. sc_prohibit_assert_without_use: @h='assert.h' re='\new(file => "/dev/stdin")->as_string'|sed 's/\?://g' # Note this was produced by the above: # _xa1 = \ #x(((2n?)?re|c(har)?|n(re|m)|z)alloc|alloc_(oversized|die)|m(alloc|emdup)|strdup) # But we can do better, in at least two ways: # 1) take advantage of two "dup"-suffixed strings: # x(((2n?)?re|c(har)?|n(re|m)|[mz])alloc|alloc_(oversized|die)|(mem|str)dup) # 2) notice that "c(har)?|[mz]" is equivalent to the shorter and more readable # "char|[cmz]" # x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) _xa1 = x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) _xa2 = X([CZ]|N?M)ALLOC sc_prohibit_xalloc_without_use: @h='xalloc.h' \ re='\<($(_xa1)|$(_xa2)) *\('\ $(_sc_header_without_use) # Extract function names: # perl -lne '/^(?:extern )?(?:void|char) \*?(\w+) *\(/ and print $1' lib/hash.h _hash_re = \ clear|delete|free|get_(first|next)|insert|lookup|print_statistics|reset_tuning _hash_fn = \<($(_hash_re)) *\( _hash_struct = (struct )?\<[Hh]ash_(table|tuning)\> sc_prohibit_hash_without_use: @h='hash.h' \ re='$(_hash_fn)|$(_hash_struct)'\ $(_sc_header_without_use) sc_prohibit_cloexec_without_use: @h='cloexec.h' re='\<(set_cloexec_flag|dup_cloexec) *\(' \ $(_sc_header_without_use) sc_prohibit_posixver_without_use: @h='posixver.h' re='\' \ halt='do not use HAVE''_FCNTL_H or O'_NDELAY \ $(_sc_search_regexp) # FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ # Each nonempty ChangeLog line must start with a year number, or a TAB. sc_changelog: @prohibit='^[^12 ]' \ in_vc_files='^ChangeLog$$' \ halt='found unexpected prefix in a ChangeLog' \ $(_sc_search_regexp) # Ensure that each .c file containing a "main" function also # calls bindtextdomain. sc_bindtextdomain: @require='bindtextdomain *\(' \ in_vc_files='\.c$$' \ containing='\
/dev/null \ && : || { die=1; echo $$i; } \ done; \ test $$die = 1 && \ { echo 1>&2 '$(ME): the final line in each of the above is not:'; \ echo 1>&2 'Exit something'; \ exit 1; } || :; \ fi sc_trailing_blank: @prohibit='[ ]$$' \ halt='found trailing blank(s)' \ exclude='^Binary file .* matches$$' \ $(_sc_search_regexp) # Match lines like the following, but where there is only one space # between the options and the description: # -D, --all-repeated[=delimit-method] print all duplicate lines\n longopt_re = --[a-z][0-9A-Za-z-]*(\[?=[0-9A-Za-z-]*\]?)? sc_two_space_separator_in_usage: @prohibit='^ *(-[A-Za-z],)? $(longopt_re) [^ ].*\\$$' \ halt='help2man requires at least two spaces between an option and its description'\ $(_sc_search_regexp) # A regexp matching function names like "error" that may be used # to emit translatable messages. _gl_translatable_diag_func_re ?= error # Look for diagnostics that aren't marked for translation. # This won't find any for which error's format string is on a separate line. sc_unmarked_diagnostics: @prohibit='\<$(_gl_translatable_diag_func_re) *\([^"]*"[^"]*[a-z]{3}' \ exclude='(_|ngettext ?)\(' \ halt='found unmarked diagnostic(s)' \ $(_sc_search_regexp) # Avoid useless parentheses like those in this example: # #if defined (SYMBOL) || defined (SYM2) sc_useless_cpp_parens: @prohibit='^# *if .*defined *\(' \ halt='found useless parentheses in cpp directive' \ $(_sc_search_regexp) # List headers for which HAVE_HEADER_H is always true, assuming you are # using the appropriate gnulib module. CAUTION: for each "unnecessary" # #if HAVE_HEADER_H that you remove, be sure that your project explicitly # requires the gnulib module that guarantees the usability of that header. gl_assured_headers_ = \ cd $(gnulib_dir)/lib && echo *.in.h|$(SED) 's/\.in\.h//g' # Convert the list of names to upper case, and replace each space with "|". az_ = abcdefghijklmnopqrstuvwxyz AZ_ = ABCDEFGHIJKLMNOPQRSTUVWXYZ gl_header_upper_case_or_ = \ $$($(gl_assured_headers_) \ | tr $(az_)/.- $(AZ_)___ \ | tr -s ' ' '|' \ ) sc_prohibit_always_true_header_tests: @or=$(gl_header_upper_case_or_); \ re="HAVE_($$or)_H"; \ prohibit='\<'"$$re"'\>' \ halt=$$(printf '%s\n' \ 'do not test the above HAVE_
_H symbol(s);' \ ' with the corresponding gnulib module, they are always true') \ $(_sc_search_regexp) sc_prohibit_defined_have_decl_tests: @prohibit='(#[ ]*ifn?def|\[ (]+HAVE_DECL_' \ halt='HAVE_DECL macros are always defined' \ $(_sc_search_regexp) # ================================================================== gl_other_headers_ ?= \ intprops.h \ openat.h \ stat-macros.h # Perl -lne code to extract "significant" cpp-defined symbols from a # gnulib header file, eliminating a few common false-positives. # The exempted names below are defined only conditionally in gnulib, # and hence sometimes must/may be defined in application code. gl_extract_significant_defines_ = \ /^\# *define ([^_ (][^ (]*)(\s*\(|\s+\w+)/\ && $$2 !~ /(?:rpl_|_used_without_)/\ && $$1 !~ /^(?:NSIG|ENODATA)$$/\ && $$1 !~ /^(?:SA_RESETHAND|SA_RESTART)$$/\ and print $$1 # Create a list of regular expressions matching the names # of macros that are guaranteed to be defined by parts of gnulib. define def_sym_regex gen_h=$(gl_generated_headers_); \ (cd $(gnulib_dir)/lib; \ for f in *.in.h $(gl_other_headers_); do \ test -f $$f \ && perl -lne '$(gl_extract_significant_defines_)' $$f; \ done; \ ) | sort -u \ | $(SED) 's/^/^ *# *(define|undef) */;s/$$/\\>/' endef # Don't define macros that we already get from gnulib header files. sc_prohibit_always-defined_macros: @if test -d $(gnulib_dir); then \ case $$(echo all: | $(GREP) -l -f - Makefile) in Makefile);; *) \ echo '$(ME): skipping $@: you lack GNU grep' 1>&2; exit 0;; \ esac; \ regex=$$($(def_sym_regex)); export regex; \ $(VC_LIST_EXCEPT) \ | xargs sh -c 'echo $$regex | $(GREP) -E -f - "$$@"' \ dummy /dev/null \ && { printf '$(ME): define the above' \ ' via some gnulib .h file\n' 1>&2; \ exit 1; } \ || :; \ fi # ================================================================== # Prohibit checked in backup files. sc_prohibit_backup_files: @$(VC_LIST) | $(GREP) '~$$' && \ { echo '$(ME): found version controlled backup file' 1>&2; \ exit 1; } || : # Require the latest GPL. sc_GPL_version: @prohibit='either ''version [^3]' \ halt='GPL vN, N!=3' \ $(_sc_search_regexp) # Require the latest GFDL. Two regexp, since some .texi files end up # line wrapping between 'Free Documentation License,' and 'Version'. _GFDL_regexp = (Free ''Documentation.*Version 1\.[^3]|Version 1\.[^3] or any) sc_GFDL_version: @prohibit='$(_GFDL_regexp)' \ halt='GFDL vN, N!=3' \ $(_sc_search_regexp) # Don't use Texinfo's @acronym{}. # https://lists.gnu.org/r/bug-gnulib/2010-03/msg00321.html texinfo_suffix_re_ ?= \.(txi|texi(nfo)?)$$ sc_texinfo_acronym: @prohibit='@acronym\{' \ in_vc_files='$(texinfo_suffix_re_)' \ halt='found use of Texinfo @acronym{}' \ $(_sc_search_regexp) cvs_keywords = \ Author|Date|Header|Id|Name|Locker|Log|RCSfile|Revision|Source|State sc_prohibit_cvs_keyword: @prohibit='\$$($(cvs_keywords))\$$' \ halt='do not use CVS keyword expansion' \ $(_sc_search_regexp) # This Perl code is slightly obfuscated. Not only is each "$" doubled # because it's in a Makefile, but the $$c's are comments; we cannot # use "#" due to the way the script ends up concatenated onto one line. # It would be much more concise, and would produce better output (including # counts) if written as: # perl -ln -0777 -e '/\n(\n+)$/ and print "$ARGV: ".length $1' ... # but that would be far less efficient, reading the entire contents # of each file, rather than just the last two bytes of each. # In addition, while the code below detects both blank lines and a missing # newline at EOF, the above detects only the former. # # This is a perl script that is expected to be the single-quoted argument # to a command-line "-le". The remaining arguments are file names. # Print the name of each file that does not end in exactly one newline byte. # I.e., warn if there are blank lines (2 or more newlines), or if the # last byte is not a newline. However, currently we don't complain # about any file that contains exactly one byte. # Exit nonzero if at least one such file is found, otherwise, exit 0. # Warn about, but otherwise ignore open failure. Ignore seek/read failure. # # Use this if you want to remove trailing empty lines from selected files: # perl -pi -0777 -e 's/\n\n+$/\n/' files... # require_exactly_one_NL_at_EOF_ = \ foreach my $$f (@ARGV) \ { \ open F, "<", $$f or (warn "failed to open $$f: $$!\n"), next; \ my $$p = sysseek (F, -2, 2); \ my $$c = "seek failure probably means file has < 2 bytes; ignore"; \ my $$last_two_bytes; \ defined $$p and $$p = sysread F, $$last_two_bytes, 2; \ close F; \ $$c = "ignore read failure"; \ $$p && ($$last_two_bytes eq "\n\n" \ || substr ($$last_two_bytes,1) ne "\n") \ and (print $$f), $$fail=1; \ } \ END { exit defined $$fail } sc_prohibit_empty_lines_at_EOF: @$(VC_LIST_EXCEPT) \ | xargs perl -le '$(require_exactly_one_NL_at_EOF_)' \ || { echo '$(ME): empty line(s) or no newline at EOF' 1>&2; \ exit 1; } \ || : # Make sure we don't use st_blocks. Use ST_NBLOCKS instead. # This is a bit of a kludge, since it prevents use of the string # even in comments, but for now it does the job with no false positives. sc_prohibit_stat_st_blocks: @prohibit='[.>]st_blocks' \ halt='do not use st_blocks; use ST_NBLOCKS' \ $(_sc_search_regexp) # Make sure we don't define any S_IS* macros in src/*.c files. # They're already defined via gnulib's sys/stat.h replacement. sc_prohibit_S_IS_definition: @prohibit='^ *# *define *S_IS' \ halt='do not define S_IS* macros; include ' \ $(_sc_search_regexp) # Perl block to convert a match to FILE_NAME:LINENO:TEST, # that is shared by two definitions below. perl_filename_lineno_text_ = \ -e ' {' \ -e ' $$n = ($$` =~ tr/\n/\n/ + 1);' \ -e ' ($$v = $$&) =~ s/\n/\\n/g;' \ -e ' print "$$ARGV:$$n:$$v\n";' \ -e ' }' prohibit_doubled_words_ = \ the then in an on if is it but for or at and do to # expand the regex before running the check to avoid using expensive captures prohibit_doubled_word_expanded_ = \ $(join $(prohibit_doubled_words_),$(addprefix \s+,$(prohibit_doubled_words_))) prohibit_doubled_word_RE_ ?= \ /\b(?:$(subst $(_sp),|,$(prohibit_doubled_word_expanded_)))\b/gims prohibit_doubled_word_ = \ -e 'while ($(prohibit_doubled_word_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_doubled_word_match_RE_ ?= ^$$ sc_prohibit_doubled_word: @$(VC_LIST_EXCEPT) \ | xargs perl -n -0777 $(prohibit_doubled_word_) \ | $(GREP) -vE '$(ignore_doubled_word_match_RE_)' \ | $(GREP) . \ && { echo '$(ME): doubled words' 1>&2; exit 1; } \ || : # A regular expression matching undesirable combinations of words like # "can not"; this matches them even when the two words appear on different # lines, but not when there is an intervening delimiter like "#" or "*". # Similarly undesirable, "See @xref{...}", since an @xref should start # a sentence. Explicitly prohibit any prefix of "see" or "also". # Also prohibit a prefix matching "\w+ +". # @pxref gets the same see/also treatment and should be parenthesized; # presume it must *not* start a sentence. # POSIX spells it "timestamp" rather than "time\s+stamp", so we do, too. bad_xref_re_ ?= (?:[\w,:;] +|(?:see|also)\s+)\@xref\{ bad_pxref_re_ ?= (?:[.!?]|(?:see|also))\s+\@pxref\{ prohibit_undesirable_word_seq_RE_ ?= \ /(?:\bcan\s+not\b|\btime\s+stamps?\b|$(bad_xref_re_)|$(bad_pxref_re_))/gims prohibit_undesirable_word_seq_ = \ -e 'while ($(prohibit_undesirable_word_seq_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_undesirable_word_sequence_RE_ ?= ^$$ sc_prohibit_undesirable_word_seq: @$(VC_LIST_EXCEPT) \ | xargs perl -n -0777 $(prohibit_undesirable_word_seq_) \ | $(GREP) -vE '$(ignore_undesirable_word_sequence_RE_)' \ | $(GREP) . \ && { echo '$(ME): undesirable word sequence' >&2; exit 1; } \ || : # Except for shell files and for loops, double semicolon is probably a mistake sc_prohibit_double_semicolon: @prohibit='; *;[ {} \]*(/[/*]|$$)' \ in_vc_files='\.[chly]$$' \ exclude='\bfor *\(.*\)' \ halt="Double semicolon detected" \ $(_sc_search_regexp) _ptm1 = use "test C1 && test C2", not "test C1 -''a C2" _ptm2 = use "test C1 || test C2", not "test C1 -''o C2" # Using test's -a and -o operators is not portable. # We prefer test over [, since the latter is spelled [[ in configure.ac. sc_prohibit_test_minus_ao: @prohibit='(\ /dev/null \ || { fail=1; echo 1>&2 "$(ME): $$p uses proper_name_utf8"; }; \ done; \ test $$fail = 1 && \ { echo 1>&2 '$(ME): the above do not link with any ICONV library'; \ exit 1; } || :; \ fi # Warn about "c0nst struct Foo const foo[]", # but not about "char const *const foo" or "#define const const". sc_redundant_const: @prohibit='\bconst\b[[:space:][:alnum:]]{2,}\bconst\b' \ halt='redundant "const" in declarations' \ $(_sc_search_regexp) sc_const_long_option: @prohibit='^ *static.*struct option ' \ exclude='const struct option|struct option const' \ halt='add "const" to the above declarations' \ $(_sc_search_regexp) NEWS_hash = \ $$($(SED) -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \ $(srcdir)/NEWS \ | perl -0777 -pe \ 's/^Copyright.+?Free\sSoftware\sFoundation,\sInc\.\n//ms' \ | md5sum - \ | $(SED) 's/ .*//') # Ensure that we don't accidentally insert an entry into an old NEWS block. sc_immutable_NEWS: @if test -f $(srcdir)/NEWS; then \ test "$(NEWS_hash)" = '$(old_NEWS_hash)' && : || \ { echo '$(ME): you have modified old NEWS' 1>&2; exit 1; }; \ fi # Update the hash stored above. Do this after each release and # for any corrections to old entries. update-NEWS-hash: NEWS perl -pi -e 's/^(old_NEWS_hash[ \t]+:?=[ \t]+).*/$${1}'"$(NEWS_hash)/" \ $(srcdir)/cfg.mk # Ensure that we use only the standard $(VAR) notation, # not @...@ in Makefile.am, now that we can rely on automake # to emit a definition for each substituted variable. # However, there is still one case in which @VAR@ use is not just # legitimate, but actually required: when augmenting an automake-defined # variable with a prefix. For example, gettext uses this: # MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@ # otherwise, makeinfo would put German or French (current locale) # navigation hints in the otherwise-English documentation. # # Allow the package to add exceptions via a hook in cfg.mk; # for example, @PRAGMA_SYSTEM_HEADER@ can be permitted by # setting this to ' && !/PRAGMA_SYSTEM_HEADER/'. _makefile_at_at_check_exceptions ?= sc_makefile_at_at_check: @perl -ne '/\@\w+\@/' \ -e ' && !/(\w+)\s+=.*\@\1\@$$/' \ -e ''$(_makefile_at_at_check_exceptions) \ -e 'and (print "$$ARGV:$$.: $$_"), $$m=1; END {exit !$$m}' \ $$($(VC_LIST_EXCEPT) | $(GREP) -E '(^|/)(Makefile\.am|[^/]+\.mk)$$') \ && { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || : news-check: NEWS $(AM_V_GEN)if $(SED) -n $(news-check-lines-spec)p $< \ | $(GREP) -E $(news-check-regexp) >/dev/null; then \ :; \ else \ echo 'NEWS: $$(news-check-regexp) failed to match' 1>&2; \ exit 1; \ fi sc_makefile_TAB_only_indentation: @prohibit='^ [ ]{8}' \ in_vc_files='akefile|\.mk$$' \ halt='found TAB-8-space indentation' \ $(_sc_search_regexp) sc_m4_quote_check: @prohibit='(AC_DEFINE(_UNQUOTED)?|AC_DEFUN)\([^[]' \ in_vc_files='(^configure\.ac|\.m4)$$' \ halt='quote the first arg to AC_DEF*' \ $(_sc_search_regexp) fix_po_file_diag = \ 'you have changed the set of files with translatable diagnostics;\n\ apply the above patch\n' # Generate a list of files in which to search for translatable strings. perl_translatable_files_list_ = \ -e 'foreach $$file (@ARGV) {' \ -e ' \# Consider only file extensions with one or two letters' \ -e ' $$file =~ /\...?$$/ or next;' \ -e ' \# Ignore m4 and mk files' \ -e ' $$file =~ /\.m[4k]$$/ and next;' \ -e ' \# Ignore a .c or .h file with a corresponding .l or .y file' \ -e ' $$file =~ /(.+)\.[ch]$$/ && (-e "$${1}.l" || -e "$${1}.y")' \ -e ' and next;' \ -e ' \# Skip unreadable files' \ -e ' -r $$file or next;' \ -e ' print "$$file ";' \ -e '}' # Verify that all source files using _() (more specifically, files that # match $(_gl_translatable_string_re)) are listed in po/POTFILES.in. po_file ?= $(srcdir)/po/POTFILES.in generated_files ?= $(srcdir)/lib/*.[ch] _gl_translatable_string_re ?= \b(N?_|gettext *)\([^)"]*("|$$) sc_po_check: @if test -f $(po_file); then \ $(GREP) -E -v '^(#|$$)' $(po_file) \ | $(GREP) -v '^src/false\.c$$' | sort > $@-1; \ { $(VC_LIST_EXCEPT); echo $(generated_files); } \ | xargs perl $(perl_translatable_files_list_) \ | xargs $(GREP) -E -l '$(_gl_translatable_string_re)' \ | $(SED) 's|^$(_dot_escaped_srcdir)/||' \ | sort -u > $@-2; \ diff -u -L $(po_file) -L $(po_file) $@-1 $@-2 \ || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; }; \ rm -f $@-1 $@-2; \ fi # Sometimes it is useful to change the PATH environment variable # in Makefiles. When doing so, it's better not to use the Unix-centric # path separator of ':', but rather the automake-provided '$(PATH_SEPARATOR)'. msg = 'Do not use ":" above; use $$(PATH_SEPARATOR) instead' sc_makefile_path_separator_check: @prohibit='PATH[=].*:' \ in_vc_files='akefile|\.mk$$' \ halt=$(msg) \ $(_sc_search_regexp) # Check that 'make alpha' will not fail at the end of the process, # i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release) # and is read-only. writable-files: $(AM_V_GEN)if test -d $(release_archive_dir); then \ for file in $(DIST_ARCHIVES); do \ for p in ./ $(release_archive_dir)/; do \ test -e $$p$$file || continue; \ test -w $$p$$file \ || { echo ERROR: $$p$$file is not writable; fail=1; }; \ done; \ done; \ test "$$fail" && exit 1 || : ; \ else :; \ fi v_etc_file = $(gnulib_dir)/lib/version-etc.c sample-test = tests/sample-test texi = doc/$(PACKAGE).texi # Make sure that the copyright date in $(v_etc_file) is up to date. # Do the same for the $(sample-test) and the main doc/.texi file. sc_copyright_check: @require='enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' \ in_files=$(v_etc_file) \ halt='out of date copyright in $(v_etc_file); update it' \ $(_sc_search_regexp) @require='# Copyright \(C\) '$$(date +%Y)' Free' \ in_vc_files=$(sample-test) \ halt='out of date copyright in $(sample-test); update it' \ $(_sc_search_regexp) @require='Copyright @copyright\{\} .*'$$(date +%Y) \ in_vc_files=$(texi) \ halt='out of date copyright in $(texi); update it' \ $(_sc_search_regexp) # If tests/help-version exists and seems to be new enough, assume that its # use of init.sh and path_prepend_ is correct, and ensure that every other # use of init.sh is identical. # This is useful because help-version cross-checks prog --version # with $(VERSION), which verifies that its path_prepend_ invocation # sets PATH correctly. This is an inexpensive way to ensure that # the other init.sh-using tests also get it right. _hv_file ?= $(srcdir)/tests/help-version _hv_regex_weak ?= ^ *\. .*/init\.sh" # Fix syntax-highlighters " _hv_regex_strong ?= ^ *\. "\$${srcdir=\.}/init\.sh" sc_cross_check_PATH_usage_in_tests: @if test -f $(_hv_file); then \ $(GREP) -l 'VERSION mismatch' $(_hv_file) >/dev/null \ || { echo "$@: skipped: no such file: $(_hv_file)" 1>&2; \ exit 0; }; \ $(GREP) -lE '$(_hv_regex_strong)' $(_hv_file) >/dev/null \ || { echo "$@: $(_hv_file) lacks conforming use of init.sh" 1>&2; \ exit 1; }; \ good=$$($(GREP) -E '$(_hv_regex_strong)' $(_hv_file)); \ $(VC_LIST_EXCEPT) \ | xargs $(GREP) -lE '$(_hv_regex_weak)' \ | xargs $(GREP) -LFx "$$good" \ | $(GREP) . \ && { printf "$(ME): the above files use" \ " path_prepend_ inconsistently\n" 1>&2; \ exit 1; } \ || :; \ fi # BRE regex of file contents to identify a test script. _test_script_regex ?= \ # In tests, use "compare expected actual", not the reverse. sc_prohibit_reversed_compare_failure: @prohibit='\ vc-diffs || : $(AM_V_at)if test -s vc-diffs; then \ cat vc-diffs; \ echo "Some files are locally modified:" 1>&2; \ exit 1; \ else \ rm vc-diffs; \ fi rel-files = $(DIST_ARCHIVES) gnulib-version = $$(cd $(gnulib_dir) \ && { git describe || git rev-parse --short=10 HEAD; } ) bootstrap-tools ?= autoconf,automake,gnulib gpgv = $$(gpgv2 --version >/dev/null && echo gpgv2 || echo gpgv) # If it's not already specified, derive the GPG key ID from # the signed tag we've just applied to mark this release. gpg_key_ID ?= \ $$(cd $(srcdir) \ && git cat-file tag v$(VERSION) \ | $(gpgv) --status-fd 1 --keyring /dev/null - - 2>/dev/null \ | $(AWK) '/^\[GNUPG:\] ERRSIG / {print $$3; exit}') translation_project_ ?= coordinator@translationproject.org # Make info-gnu the default only for a stable release. announcement_Cc_stable = $(translation_project_), $(PACKAGE_BUGREPORT) announcement_mail_headers_stable = \ To: info-gnu@gnu.org \ Cc: $(announcement_Cc_) \ Mail-Followup-To: $(PACKAGE_BUGREPORT) announcement_Cc_alpha = $(translation_project_) announcement_mail_headers_alpha = \ To: $(PACKAGE_BUGREPORT) \ Cc: $(announcement_Cc_) announcement_mail_Cc_beta = $(announcement_mail_Cc_alpha) announcement_mail_headers_beta = $(announcement_mail_headers_alpha) announcement_mail_Cc_ ?= $(announcement_mail_Cc_$(release-type)) announcement_mail_headers_ ?= $(announcement_mail_headers_$(release-type)) announcement: NEWS ChangeLog $(rel-files) # Not $(AM_V_GEN) since the output of this command serves as # announcement message: it would start with " GEN announcement". $(AM_V_at)$(srcdir)/$(_build-aux)/announce-gen \ --mail-headers='$(announcement_mail_headers_)' \ --release-type=$(release-type) \ --package=$(PACKAGE) \ --prev=$(PREV_VERSION) \ --curr=$(VERSION) \ --gpg-key-id=$(gpg_key_ID) \ --srcdir=$(srcdir) \ --news=$(srcdir)/NEWS \ --bootstrap-tools=$(bootstrap-tools) \ $$(case ,$(bootstrap-tools), in (*,gnulib,*) \ echo --gnulib-version=$(gnulib-version);; esac) \ --no-print-checksums \ $(addprefix --url-dir=, $(url_dir_list)) .PHONY: release-commit release-commit: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/do-release-commit-and-tag \ -C $(abs_builddir) $(RELEASE) ## ---------------- ## ## Updating files. ## ## ---------------- ## ftp-gnu = https://ftp.gnu.org/gnu www-gnu = https://www.gnu.org upload_dest_dir_ ?= $(PACKAGE) upload_command = \ $(srcdir)/$(_build-aux)/gnupload $(GNUPLOADFLAGS) \ --to $(gnu_rel_host):$(upload_dest_dir_) \ $(rel-files) emit_upload_commands: @echo ===================================== @echo ===================================== @echo '$(upload_command)' @echo '# send the ~/announce-$(my_distdir) e-mail' @echo ===================================== @echo ===================================== .PHONY: upload upload: $(AM_V_GEN)$(upload_command) define emit-commit-log printf '%s\n' 'maint: post-release administrivia' '' \ '* NEWS: Add header line for next release.' \ '* .prev-version: Record previous version.' \ '* cfg.mk (old_NEWS_hash): Auto-update.' endef .PHONY: no-submodule-changes no-submodule-changes: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ diff=$$(cd $(srcdir) && git submodule -q foreach \ git diff-index --name-only HEAD) \ || exit 1; \ case $$diff in '') ;; \ *) echo '$(ME): submodule files are locally modified:'; \ echo "$$diff"; exit 1;; esac; \ else \ : ; \ fi submodule-checks ?= no-submodule-changes public-submodule-commit # Ensure that each sub-module commit we're using is public. # Without this, it is too easy to tag and release code that # cannot be built from a fresh clone. .PHONY: public-submodule-commit public-submodule-commit: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ cd $(srcdir) && \ git submodule --quiet foreach \ 'test "$$(git rev-parse "$$sha1")" \ = "$$(git merge-base origin "$$sha1")"' \ || { echo '$(ME): found non-public submodule commit' >&2; \ exit 1; }; \ else \ : ; \ fi # This rule has a high enough utility/cost ratio that it should be a # dependent of "check" by default. However, some of us do occasionally # commit a temporary change that deliberately points to a non-public # submodule commit, and want to be able to use rules like "make check". # In that case, run e.g., "make check gl_public_submodule_commit=" # to disable this test. gl_public_submodule_commit ?= public-submodule-commit check: $(gl_public_submodule_commit) .PHONY: alpha beta stable release ALL_RECURSIVE_TARGETS += alpha beta stable alpha beta stable: $(local-check) writable-files $(submodule-checks) $(AM_V_GEN)test $@ = stable \ && { echo $(VERSION) | $(GREP) -E '^[0-9]+(\.[0-9]+)+$$' \ || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\ || : $(AM_V_at)$(MAKE) vc-diff-check $(AM_V_at)$(MAKE) news-check $(AM_V_at)$(MAKE) distcheck $(AM_V_at)$(MAKE) dist $(AM_V_at)$(MAKE) $(release-prep-hook) RELEASE_TYPE=$@ $(AM_V_at)$(MAKE) -s emit_upload_commands RELEASE_TYPE=$@ release: $(AM_V_GEN)$(MAKE) _version $(AM_V_GEN)$(MAKE) $(release-type) # Override this in cfg.mk if you follow different procedures. release-prep-hook ?= release-prep gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?] .PHONY: release-prep release-prep: $(AM_V_GEN)$(MAKE) --no-print-directory -s announcement \ > ~/announce-$(my_distdir) $(AM_V_at)if test -d $(release_archive_dir); then \ ln $(rel-files) $(release_archive_dir); \ chmod a-w $(rel-files); \ fi $(AM_V_at)echo $(VERSION) > $(prev_version_file) $(AM_V_at)$(MAKE) update-NEWS-hash $(AM_V_at)perl -pi \ -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' \ $(srcdir)/NEWS $(AM_V_at)msg=$$($(emit-commit-log)) || exit 1; \ cd $(srcdir) && $(VC) commit -m "$$msg" -a # Override this with e.g., -s $(srcdir)/some_other_name.texi # if the default $(PACKAGE)-derived name doesn't apply. gendocs_options_ ?= .PHONY: web-manual web-manual: $(AM_V_GEN)test -z "$(manual_title)" \ && { echo define manual_title in cfg.mk 1>&2; exit 1; } || : $(AM_V_at)cd '$(srcdir)/doc'; \ $(SHELL) ../$(_build-aux)/gendocs.sh $(gendocs_options_) \ -o '$(abs_builddir)/doc/manual' \ --email $(PACKAGE_BUGREPORT) $(PACKAGE) \ "$(PACKAGE_NAME) - $(manual_title)" $(AM_V_at)echo " *** Upload the doc/manual directory to web-cvs." .PHONY: web-manual-update web-manual-update: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/gnu-web-doc-update -C $(abs_builddir) # Code Coverage init-coverage: $(MAKE) $(AM_MAKEFLAGS) clean lcov --directory . --zerocounters COVERAGE_CCOPTS ?= "-g --coverage" COVERAGE_OUT ?= doc/coverage build-coverage: $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) check mkdir -p $(COVERAGE_OUT) lcov --directory . --output-file $(COVERAGE_OUT)/$(PACKAGE).info \ --capture gen-coverage: genhtml --output-directory $(COVERAGE_OUT) \ $(COVERAGE_OUT)/$(PACKAGE).info \ --highlight --frames --legend \ --title "$(PACKAGE_NAME)" coverage: $(MAKE) init-coverage $(MAKE) build-coverage $(MAKE) gen-coverage # Some projects carry local adjustments for gnulib modules via patches in # a gnulib patch directory whose default name is gl/ (defined in bootstrap # via local_gl_dir=gl). Those patches become stale as the originals evolve # in gnulib. Use this rule to refresh any stale patches. It applies each # patch to the original in $(gnulib_dir) and uses the temporary result to # generate a fuzz-free .diff file. If you customize the name of your local # gnulib patch directory via bootstrap.conf, this rule detects that name. # Run this from a non-VPATH (i.e., srcdir) build directory. .PHONY: refresh-gnulib-patches refresh-gnulib-patches: gl=gl; \ if test -f bootstrap.conf; then \ t=$$(perl -lne '/^\s*local_gl_dir=(\S+)/ and $$d=$$1;' \ -e 'END{defined $$d and print $$d}' bootstrap.conf); \ test -n "$$t" && gl=$$t; \ fi; \ for diff in $$(cd $$gl; git ls-files | $(GREP) '\.diff$$'); do \ b=$$(printf %s "$$diff"|$(SED) 's/\.diff$$//'); \ VERSION_CONTROL=none \ patch "$(gnulib_dir)/$$b" "$$gl/$$diff" || exit 1; \ ( cd $(gnulib_dir) || exit 1; \ git diff "$$b" > "../$$gl/$$diff"; \ git checkout $$b ) || exit 1; \ done # Update gettext files. PACKAGE ?= $(shell basename $(PWD)) PO_DOMAIN ?= $(PACKAGE) POURL = https://translationproject.org/latest/$(PO_DOMAIN)/ PODIR ?= po refresh-po: rm -f $(PODIR)/*.po && \ echo "$(ME): getting translations into po (please ignore the robots.txt ERROR 404)..." && \ wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \ echo 'en@boldquot' > $(PODIR)/LINGUAS && \ echo 'en@quot' >> $(PODIR)/LINGUAS && \ ls $(PODIR)/*.po | $(SED) 's/\.po//;s,$(PODIR)/,,' | \ sort >> $(PODIR)/LINGUAS # Running indent once is not idempotent, but running it twice is. INDENT_SOURCES ?= $(C_SOURCES) .PHONY: indent indent: indent $(INDENT_SOURCES) indent $(INDENT_SOURCES) # If you want to set UPDATE_COPYRIGHT_* environment variables, # put the assignments in this variable. update-copyright-env ?= # Run this rule once per year (usually early in January) # to update all FSF copyright year lists in your project. # If you have an additional project-specific rule, # add it in cfg.mk along with a line 'update-copyright: prereq'. # By default, exclude all variants of COPYING; you can also # add exemptions (such as ChangeLog..* for rotated change logs) # in the file .x-update-copyright. .PHONY: update-copyright update-copyright: $(AM_V_GEN)$(GREP) -l -w Copyright \ $$(export VC_LIST_EXCEPT_DEFAULT=COPYING && $(VC_LIST_EXCEPT)) \ | $(update-copyright-env) xargs $(srcdir)/$(_build-aux)/$@ # This tight_scope test is skipped with a warning if $(_gl_TS_headers) is not # overridden and $(_gl_TS_dir)/Makefile.am does not mention noinst_HEADERS. # NOTE: to override any _gl_TS_* default value, you must # define the variable(s) using "export" in cfg.mk. _gl_TS_dir ?= src ALL_RECURSIVE_TARGETS += sc_tight_scope sc_tight_scope: tight-scope.mk @fail=0; \ if ! $(GREP) '^ *export _gl_TS_headers *=' $(srcdir)/cfg.mk \ > /dev/null \ && ! $(GREP) -w noinst_HEADERS $(srcdir)/$(_gl_TS_dir)/Makefile.am \ > /dev/null 2>&1; then \ echo '$(ME): skipping $@'; \ else \ $(MAKE) -s -C $(_gl_TS_dir) \ -f Makefile \ -f $(abs_top_srcdir)/cfg.mk \ -f $(abs_top_builddir)/$< \ _gl_tight_scope \ || fail=1; \ fi; \ rm -f $<; \ exit $$fail tight-scope.mk: $(ME) @rm -f $@ $@-t @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) > $@-t @chmod a=r $@-t && mv $@-t $@ ifeq (a,b) # TS-start # Most functions should have static scope. # Any that don't must be marked with 'extern', but 'main' # and 'usage' are exceptions: they're always extern, but # do not need to be marked. Symbols matching '__.*' are # reserved by the compiler, so are automatically excluded below. _gl_TS_unmarked_extern_functions ?= main usage _gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\w+) *\(/ # If your project uses a macro like "XTERN", then put # the following in cfg.mk to override this default: # export _gl_TS_extern = extern|XTERN _gl_TS_extern ?= extern # The second nm|grep checks for file-scope variables with 'extern' scope. # Without gnulib's progname module, you might put program_name here. # Symbols matching '__.*' are reserved by the compiler, # so are automatically excluded below. _gl_TS_unmarked_extern_vars ?= # NOTE: the _match variables are perl expressions -- not mere regular # expressions -- so that you can extend them to match other patterns # and easily extract matched variable names. # For example, if your project declares some global variables via # a macro like this: GLOBAL(type, var_name, initializer), then you # can override this definition to automatically extract those names: # export _gl_TS_var_match = \ # /^(?:$(_gl_TS_extern)) .*?\**(\w+)(\[.*?\])?;/ || /\bGLOBAL\(.*?,\s*(.*?),/ _gl_TS_var_match ?= /^(?:$(_gl_TS_extern)) .*?(\w+)(\[.*?\])?;/ # The names of object files in (or relative to) $(_gl_TS_dir). _gl_TS_obj_files ?= *.$(OBJEXT) # Files in which to search for the one-line style extern declarations. # $(_gl_TS_dir)-relative. _gl_TS_headers ?= $(noinst_HEADERS) _gl_TS_other_headers ?= *.h .PHONY: _gl_tight_scope _gl_tight_scope: $(bin_PROGRAMS) sed_wrap='s/^/^_?/;s/$$/$$/'; \ t=exceptions-$$$$; \ trap 's=$$?; rm -f $$t; exit $$s' 0; \ for sig in 1 2 3 13 15; do \ eval "trap 'v=`expr $$sig + 128`; (exit $$v); exit $$v' $$sig"; \ done; \ src=`for f in $(SOURCES); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ hdr=`for f in $(_gl_TS_headers); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ ( printf '%s\n' '__.*' $(_gl_TS_unmarked_extern_functions); \ $(GREP) -h -A1 '^extern .*[^;]$$' $$src \ | $(GREP) -vE '^(extern |--|#)' | $(SED) 's/ .*//; /^$$/d'; \ perl -lne \ '$(_gl_TS_function_match) and print $$1' $$hdr; \ ) | sort -u | $(SED) "$$sed_wrap" > $$t; \ nm -g $(_gl_TS_obj_files)|$(SED) -n 's/.* T //p'|$(GREP) -Ev -f $$t \ && { echo the above functions should have static scope >&2; \ exit 1; } || : ; \ ( printf '%s\n' '__.*' main $(_gl_TS_unmarked_extern_vars); \ perl -lne '$(_gl_TS_var_match) and print $$1' \ $$hdr $(_gl_TS_other_headers) \ ) | sort -u | $(SED) "$$sed_wrap" > $$t; \ nm -g $(_gl_TS_obj_files) | $(SED) -n 's/.* [BCDGRS] //p' \ | sort -u | $(GREP) -Ev -f $$t \ && { echo the above variables should have static scope >&2; \ exit 1; } || : # TS-end endif gsasl-1.8.1/lib/login/0000755000000000000000000000000013521017726011463 500000000000000gsasl-1.8.1/lib/login/Makefile.am0000644000000000000000000000224513516252320013435 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-login.la libgsasl_login_la_SOURCES = login.h mechinfo.c if CLIENT libgsasl_login_la_SOURCES += client.c endif if SERVER libgsasl_login_la_SOURCES += server.c endif gsasl-1.8.1/lib/login/server.c0000644000000000000000000000726313516252320013060 00000000000000/* server.c --- Non-standard SASL mechanism LOGIN, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get malloc, free. */ #include /* Get strdup, strlen. */ #include /* Get specification. */ #include "login.h" struct _Gsasl_login_server_state { int step; char *username; char *password; }; #define CHALLENGE_USERNAME "User Name" #define CHALLENGE_PASSWORD "Password" int _gsasl_login_server_start (Gsasl_session * sctx, void **mech_data) { struct _Gsasl_login_server_state *state; state = calloc (1, sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; *mech_data = state; return GSASL_OK; } int _gsasl_login_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct _Gsasl_login_server_state *state = mech_data; int res; switch (state->step) { case 0: *output = strdup (CHALLENGE_USERNAME); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (CHALLENGE_USERNAME); state->step++; res = GSASL_NEEDS_MORE; break; case 1: if (input_len == 0) return GSASL_MECHANISM_PARSE_ERROR; state->username = strndup (input, input_len); if (state->username == NULL) return GSASL_MALLOC_ERROR; if (input_len != strlen (state->username)) return GSASL_MECHANISM_PARSE_ERROR; *output = strdup (CHALLENGE_PASSWORD); if (!*output) return GSASL_MALLOC_ERROR; *output_len = strlen (CHALLENGE_PASSWORD); state->step++; res = GSASL_NEEDS_MORE; break; case 2: if (input_len == 0) return GSASL_MECHANISM_PARSE_ERROR; state->password = strndup (input, input_len); if (state->password == NULL) return GSASL_MALLOC_ERROR; if (input_len != strlen (state->password)) return GSASL_MECHANISM_PARSE_ERROR; gsasl_property_set (sctx, GSASL_AUTHID, state->username); gsasl_property_set (sctx, GSASL_PASSWORD, state->password); res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_SIMPLE); if (res == GSASL_NO_CALLBACK) { const char *key; gsasl_property_set (sctx, GSASL_AUTHZID, NULL); gsasl_property_set (sctx, GSASL_PASSWORD, NULL); key = gsasl_property_get (sctx, GSASL_PASSWORD); if (key && strlen (state->password) == strlen (key) && strcmp (state->password, key) == 0) res = GSASL_OK; else res = GSASL_AUTHENTICATION_ERROR; } *output_len = 0; *output = NULL; state->step++; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_login_server_finish (Gsasl_session * sctx, void *mech_data) { struct _Gsasl_login_server_state *state = mech_data; if (!state) return; free (state->username); free (state->password); free (state); } gsasl-1.8.1/lib/login/login.h0000644000000000000000000000334413516252320012663 00000000000000/* login.h --- Prototypes for non-standard SASL mechanism LOGIN. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef LOGIN_H #define LOGIN_H #include #define GSASL_LOGIN_NAME "LOGIN" extern Gsasl_mechanism gsasl_login_mechanism; extern int _gsasl_login_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_login_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_login_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_login_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_login_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_login_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* LOGIN_H */ gsasl-1.8.1/lib/login/mechinfo.c0000644000000000000000000000304413516252320013333 00000000000000/* mechinfo.c --- Definition of LOGIN mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "login.h" Gsasl_mechanism gsasl_login_mechanism = { GSASL_LOGIN_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_login_client_start, #else NULL, #endif #ifdef USE_CLIENT _gsasl_login_client_step, #else NULL, #endif #ifdef USE_CLIENT _gsasl_login_client_finish, #else NULL, #endif NULL, NULL} , { NULL, NULL, #ifdef USE_SERVER _gsasl_login_server_start, #else NULL, #endif #ifdef USE_SERVER _gsasl_login_server_step, #else NULL, #endif #ifdef USE_SERVER _gsasl_login_server_finish, #else NULL, #endif NULL, NULL} }; gsasl-1.8.1/lib/login/Makefile.in0000644000000000000000000017165313521017120013451 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = login ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_login_la_LIBADD = am__libgsasl_login_la_SOURCES_DIST = login.h mechinfo.c client.c \ server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_login_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_login_la_OBJECTS = $(am_libgsasl_login_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_login_la_SOURCES) DIST_SOURCES = $(am__libgsasl_login_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-login.la libgsasl_login_la_SOURCES = login.h mechinfo.c $(am__append_1) \ $(am__append_2) 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 login/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu login/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-login.la: $(libgsasl_login_la_OBJECTS) $(libgsasl_login_la_DEPENDENCIES) $(EXTRA_libgsasl_login_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_login_la_OBJECTS) $(libgsasl_login_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/login/client.c0000644000000000000000000000460013516252320013020 00000000000000/* client.c --- Non-standard SASL mechanism LOGIN, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get malloc, free. */ #include /* Get strlen. */ #include /* Get specification. */ #include "login.h" struct _Gsasl_login_client_state { int step; }; int _gsasl_login_client_start (Gsasl_session * sctx, void **mech_data) { struct _Gsasl_login_client_state *state; state = malloc (sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; state->step = 0; *mech_data = state; return GSASL_OK; } int _gsasl_login_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { struct _Gsasl_login_client_state *state = mech_data; const char *p; int res; switch (state->step) { case 0: p = gsasl_property_get (sctx, GSASL_AUTHID); if (!p) return GSASL_NO_AUTHID; *output = strdup (p); *output_len = strlen (p); state->step++; res = GSASL_NEEDS_MORE; break; case 1: p = gsasl_property_get (sctx, GSASL_PASSWORD); if (!p) return GSASL_NO_PASSWORD; *output = strdup (p); *output_len = strlen (*output); state->step++; res = GSASL_OK; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } void _gsasl_login_client_finish (Gsasl_session * sctx, void *mech_data) { struct _Gsasl_login_client_state *state = mech_data; if (!state) return; free (state); } gsasl-1.8.1/lib/COPYING.LIB0000644000000000000000000006364212222241124011732 00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! gsasl-1.8.1/lib/gltests/0000755000000000000000000000000013521017727012041 500000000000000gsasl-1.8.1/lib/gltests/test-fseeko2.sh0000755000000000000000000000012213516251667014635 00000000000000#!/bin/sh exec ${CHECKER} ./test-fseeko${EXEEXT} 1 2 < "$srcdir/test-fseeko2.sh" gsasl-1.8.1/lib/gltests/test-lock.c0000644000000000000000000004665313516251667014057 00000000000000/* Test of locking in multithreaded situations. Copyright (C) 2005, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #if USE_POSIX_THREADS || USE_WINDOWS_THREADS #if USE_POSIX_THREADS # define TEST_POSIX_THREADS 1 #endif #if USE_WINDOWS_THREADS # define TEST_WINDOWS_THREADS 1 #endif /* Whether to enable locking. Uncomment this to get a test program without locking, to verify that it crashes. */ #define ENABLE_LOCKING 1 /* Which tests to perform. Uncomment some of these, to verify that all tests crash if no locking is enabled. */ #define DO_TEST_LOCK 1 #define DO_TEST_RWLOCK 1 #define DO_TEST_RECURSIVE_LOCK 1 #define DO_TEST_ONCE 1 /* Whether to help the scheduler through explicit yield(). Uncomment this to see if the operating system has a fair scheduler. */ #define EXPLICIT_YIELD 1 /* Whether to use 'volatile' on some variables that communicate information between threads. If set to 0, a semaphore or a lock is used to protect these variables. If set to 1, 'volatile' is used; this is theoretically equivalent but can lead to much slower execution (e.g. 30x slower total run time on a 40-core machine), because 'volatile' does not imply any synchronization/communication between different CPUs. */ #define USE_VOLATILE 0 #if USE_POSIX_THREADS && HAVE_SEMAPHORE_H /* Whether to use a semaphore to communicate information between threads. If set to 0, a lock is used. If set to 1, a semaphore is used. Uncomment this to reduce the dependencies of this test. */ # define USE_SEMAPHORE 1 /* Mac OS X provides only named semaphores (sem_open); its facility for unnamed semaphores (sem_init) does not work. */ # if defined __APPLE__ && defined __MACH__ # define USE_NAMED_SEMAPHORE 1 # else # define USE_UNNAMED_SEMAPHORE 1 # endif #endif /* Whether to print debugging messages. */ #define ENABLE_DEBUGGING 0 /* Number of simultaneous threads. */ #define THREAD_COUNT 10 /* Number of operations performed in each thread. This is quite high, because with a smaller count, say 5000, we often get an "OK" result even without ENABLE_LOCKING (on Linux/x86). */ #define REPEAT_COUNT 50000 #include #include #include #include #if !ENABLE_LOCKING # undef USE_POSIX_THREADS # undef USE_WINDOWS_THREADS #endif #include "glthread/lock.h" #if !ENABLE_LOCKING # if TEST_POSIX_THREADS # define USE_POSIX_THREADS 1 # endif # if TEST_WINDOWS_THREADS # define USE_WINDOWS_THREADS 1 # endif #endif #include "glthread/thread.h" #include "glthread/yield.h" #if USE_SEMAPHORE # include # include # include # include #endif #if HAVE_DECL_ALARM # include # include #endif #if ENABLE_DEBUGGING # define dbgprintf printf #else # define dbgprintf if (0) printf #endif #if EXPLICIT_YIELD # define yield() gl_thread_yield () #else # define yield() #endif #if USE_VOLATILE struct atomic_int { volatile int value; }; static void init_atomic_int (struct atomic_int *ai) { } static int get_atomic_int_value (struct atomic_int *ai) { return ai->value; } static void set_atomic_int_value (struct atomic_int *ai, int new_value) { ai->value = new_value; } #elif USE_SEMAPHORE /* This atomic_int implementation can only support the values 0 and 1. It is initially 0 and can be set to 1 only once. */ # if USE_UNNAMED_SEMAPHORE struct atomic_int { sem_t semaphore; }; #define atomic_int_semaphore(ai) (&(ai)->semaphore) static void init_atomic_int (struct atomic_int *ai) { sem_init (&ai->semaphore, 0, 0); } # endif # if USE_NAMED_SEMAPHORE struct atomic_int { sem_t *semaphore; }; #define atomic_int_semaphore(ai) ((ai)->semaphore) static void init_atomic_int (struct atomic_int *ai) { sem_t *s; unsigned int count; for (count = 0; ; count++) { char name[80]; /* Use getpid() in the name, so that different processes running at the same time will not interfere. Use ai in the name, so that different atomic_int in the same process will not interfere. Use a count in the name, so that even in the (unlikely) case that a semaphore with the specified name already exists, we can try a different name. */ sprintf (name, "test-lock-%lu-%p-%u", (unsigned long) getpid (), ai, count); s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); if (s == SEM_FAILED) { if (errno == EEXIST) /* Retry with a different name. */ continue; else { perror ("sem_open failed"); abort (); } } else { /* Try not to leave a semaphore hanging around on the file system eternally, if we can avoid it. */ sem_unlink (name); break; } } ai->semaphore = s; } # endif static int get_atomic_int_value (struct atomic_int *ai) { if (sem_trywait (atomic_int_semaphore (ai)) == 0) { if (sem_post (atomic_int_semaphore (ai))) abort (); return 1; } else if (errno == EAGAIN) return 0; else abort (); } static void set_atomic_int_value (struct atomic_int *ai, int new_value) { if (new_value == 0) /* It's already initialized with 0. */ return; /* To set the value 1: */ if (sem_post (atomic_int_semaphore (ai))) abort (); } #else struct atomic_int { gl_lock_define (, lock) int value; }; static void init_atomic_int (struct atomic_int *ai) { gl_lock_init (ai->lock); } static int get_atomic_int_value (struct atomic_int *ai) { gl_lock_lock (ai->lock); int ret = ai->value; gl_lock_unlock (ai->lock); return ret; } static void set_atomic_int_value (struct atomic_int *ai, int new_value) { gl_lock_lock (ai->lock); ai->value = new_value; gl_lock_unlock (ai->lock); } #endif #define ACCOUNT_COUNT 4 static int account[ACCOUNT_COUNT]; static int random_account (void) { return ((unsigned int) rand () >> 3) % ACCOUNT_COUNT; } static void check_accounts (void) { int i, sum; sum = 0; for (i = 0; i < ACCOUNT_COUNT; i++) sum += account[i]; if (sum != ACCOUNT_COUNT * 1000) abort (); } /* ------------------- Test normal (non-recursive) locks ------------------- */ /* Test normal locks by having several bank accounts and several threads which shuffle around money between the accounts and another thread checking that all the money is still there. */ gl_lock_define_initialized(static, my_lock) static void * lock_mutator_thread (void *arg) { int repeat; for (repeat = REPEAT_COUNT; repeat > 0; repeat--) { int i1, i2, value; dbgprintf ("Mutator %p before lock\n", gl_thread_self_pointer ()); gl_lock_lock (my_lock); dbgprintf ("Mutator %p after lock\n", gl_thread_self_pointer ()); i1 = random_account (); i2 = random_account (); value = ((unsigned int) rand () >> 3) % 10; account[i1] += value; account[i2] -= value; dbgprintf ("Mutator %p before unlock\n", gl_thread_self_pointer ()); gl_lock_unlock (my_lock); dbgprintf ("Mutator %p after unlock\n", gl_thread_self_pointer ()); dbgprintf ("Mutator %p before check lock\n", gl_thread_self_pointer ()); gl_lock_lock (my_lock); check_accounts (); gl_lock_unlock (my_lock); dbgprintf ("Mutator %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Mutator %p dying.\n", gl_thread_self_pointer ()); return NULL; } static struct atomic_int lock_checker_done; static void * lock_checker_thread (void *arg) { while (get_atomic_int_value (&lock_checker_done) == 0) { dbgprintf ("Checker %p before check lock\n", gl_thread_self_pointer ()); gl_lock_lock (my_lock); check_accounts (); gl_lock_unlock (my_lock); dbgprintf ("Checker %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Checker %p dying.\n", gl_thread_self_pointer ()); return NULL; } static void test_lock (void) { int i; gl_thread_t checkerthread; gl_thread_t threads[THREAD_COUNT]; /* Initialization. */ for (i = 0; i < ACCOUNT_COUNT; i++) account[i] = 1000; init_atomic_int (&lock_checker_done); set_atomic_int_value (&lock_checker_done, 0); /* Spawn the threads. */ checkerthread = gl_thread_create (lock_checker_thread, NULL); for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (lock_mutator_thread, NULL); /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); set_atomic_int_value (&lock_checker_done, 1); gl_thread_join (checkerthread, NULL); check_accounts (); } /* ----------------- Test read-write (non-recursive) locks ----------------- */ /* Test read-write locks by having several bank accounts and several threads which shuffle around money between the accounts and several other threads that check that all the money is still there. */ gl_rwlock_define_initialized(static, my_rwlock) static void * rwlock_mutator_thread (void *arg) { int repeat; for (repeat = REPEAT_COUNT; repeat > 0; repeat--) { int i1, i2, value; dbgprintf ("Mutator %p before wrlock\n", gl_thread_self_pointer ()); gl_rwlock_wrlock (my_rwlock); dbgprintf ("Mutator %p after wrlock\n", gl_thread_self_pointer ()); i1 = random_account (); i2 = random_account (); value = ((unsigned int) rand () >> 3) % 10; account[i1] += value; account[i2] -= value; dbgprintf ("Mutator %p before unlock\n", gl_thread_self_pointer ()); gl_rwlock_unlock (my_rwlock); dbgprintf ("Mutator %p after unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Mutator %p dying.\n", gl_thread_self_pointer ()); return NULL; } static struct atomic_int rwlock_checker_done; static void * rwlock_checker_thread (void *arg) { while (get_atomic_int_value (&rwlock_checker_done) == 0) { dbgprintf ("Checker %p before check rdlock\n", gl_thread_self_pointer ()); gl_rwlock_rdlock (my_rwlock); check_accounts (); gl_rwlock_unlock (my_rwlock); dbgprintf ("Checker %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Checker %p dying.\n", gl_thread_self_pointer ()); return NULL; } static void test_rwlock (void) { int i; gl_thread_t checkerthreads[THREAD_COUNT]; gl_thread_t threads[THREAD_COUNT]; /* Initialization. */ for (i = 0; i < ACCOUNT_COUNT; i++) account[i] = 1000; init_atomic_int (&rwlock_checker_done); set_atomic_int_value (&rwlock_checker_done, 0); /* Spawn the threads. */ for (i = 0; i < THREAD_COUNT; i++) checkerthreads[i] = gl_thread_create (rwlock_checker_thread, NULL); for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (rwlock_mutator_thread, NULL); /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); set_atomic_int_value (&rwlock_checker_done, 1); for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (checkerthreads[i], NULL); check_accounts (); } /* -------------------------- Test recursive locks -------------------------- */ /* Test recursive locks by having several bank accounts and several threads which shuffle around money between the accounts (recursively) and another thread checking that all the money is still there. */ gl_recursive_lock_define_initialized(static, my_reclock) static void recshuffle (void) { int i1, i2, value; dbgprintf ("Mutator %p before lock\n", gl_thread_self_pointer ()); gl_recursive_lock_lock (my_reclock); dbgprintf ("Mutator %p after lock\n", gl_thread_self_pointer ()); i1 = random_account (); i2 = random_account (); value = ((unsigned int) rand () >> 3) % 10; account[i1] += value; account[i2] -= value; /* Recursive with probability 0.5. */ if (((unsigned int) rand () >> 3) % 2) recshuffle (); dbgprintf ("Mutator %p before unlock\n", gl_thread_self_pointer ()); gl_recursive_lock_unlock (my_reclock); dbgprintf ("Mutator %p after unlock\n", gl_thread_self_pointer ()); } static void * reclock_mutator_thread (void *arg) { int repeat; for (repeat = REPEAT_COUNT; repeat > 0; repeat--) { recshuffle (); dbgprintf ("Mutator %p before check lock\n", gl_thread_self_pointer ()); gl_recursive_lock_lock (my_reclock); check_accounts (); gl_recursive_lock_unlock (my_reclock); dbgprintf ("Mutator %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Mutator %p dying.\n", gl_thread_self_pointer ()); return NULL; } static struct atomic_int reclock_checker_done; static void * reclock_checker_thread (void *arg) { while (get_atomic_int_value (&reclock_checker_done) == 0) { dbgprintf ("Checker %p before check lock\n", gl_thread_self_pointer ()); gl_recursive_lock_lock (my_reclock); check_accounts (); gl_recursive_lock_unlock (my_reclock); dbgprintf ("Checker %p after check unlock\n", gl_thread_self_pointer ()); yield (); } dbgprintf ("Checker %p dying.\n", gl_thread_self_pointer ()); return NULL; } static void test_recursive_lock (void) { int i; gl_thread_t checkerthread; gl_thread_t threads[THREAD_COUNT]; /* Initialization. */ for (i = 0; i < ACCOUNT_COUNT; i++) account[i] = 1000; init_atomic_int (&reclock_checker_done); set_atomic_int_value (&reclock_checker_done, 0); /* Spawn the threads. */ checkerthread = gl_thread_create (reclock_checker_thread, NULL); for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (reclock_mutator_thread, NULL); /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); set_atomic_int_value (&reclock_checker_done, 1); gl_thread_join (checkerthread, NULL); check_accounts (); } /* ------------------------ Test once-only execution ------------------------ */ /* Test once-only execution by having several threads attempt to grab a once-only task simultaneously (triggered by releasing a read-write lock). */ gl_once_define(static, fresh_once) static int ready[THREAD_COUNT]; static gl_lock_t ready_lock[THREAD_COUNT]; #if ENABLE_LOCKING static gl_rwlock_t fire_signal[REPEAT_COUNT]; #else static volatile int fire_signal_state; #endif static gl_once_t once_control; static int performed; gl_lock_define_initialized(static, performed_lock) static void once_execute (void) { gl_lock_lock (performed_lock); performed++; gl_lock_unlock (performed_lock); } static void * once_contender_thread (void *arg) { int id = (int) (intptr_t) arg; int repeat; for (repeat = 0; repeat <= REPEAT_COUNT; repeat++) { /* Tell the main thread that we're ready. */ gl_lock_lock (ready_lock[id]); ready[id] = 1; gl_lock_unlock (ready_lock[id]); if (repeat == REPEAT_COUNT) break; dbgprintf ("Contender %p waiting for signal for round %d\n", gl_thread_self_pointer (), repeat); #if ENABLE_LOCKING /* Wait for the signal to go. */ gl_rwlock_rdlock (fire_signal[repeat]); /* And don't hinder the others (if the scheduler is unfair). */ gl_rwlock_unlock (fire_signal[repeat]); #else /* Wait for the signal to go. */ while (fire_signal_state <= repeat) yield (); #endif dbgprintf ("Contender %p got the signal for round %d\n", gl_thread_self_pointer (), repeat); /* Contend for execution. */ gl_once (once_control, once_execute); } return NULL; } static void test_once (void) { int i, repeat; gl_thread_t threads[THREAD_COUNT]; /* Initialize all variables. */ for (i = 0; i < THREAD_COUNT; i++) { ready[i] = 0; gl_lock_init (ready_lock[i]); } #if ENABLE_LOCKING for (i = 0; i < REPEAT_COUNT; i++) gl_rwlock_init (fire_signal[i]); #else fire_signal_state = 0; #endif #if ENABLE_LOCKING /* Block all fire_signals. */ for (i = REPEAT_COUNT-1; i >= 0; i--) gl_rwlock_wrlock (fire_signal[i]); #endif /* Spawn the threads. */ for (i = 0; i < THREAD_COUNT; i++) threads[i] = gl_thread_create (once_contender_thread, (void *) (intptr_t) i); for (repeat = 0; repeat <= REPEAT_COUNT; repeat++) { /* Wait until every thread is ready. */ dbgprintf ("Main thread before synchronizing for round %d\n", repeat); for (;;) { int ready_count = 0; for (i = 0; i < THREAD_COUNT; i++) { gl_lock_lock (ready_lock[i]); ready_count += ready[i]; gl_lock_unlock (ready_lock[i]); } if (ready_count == THREAD_COUNT) break; yield (); } dbgprintf ("Main thread after synchronizing for round %d\n", repeat); if (repeat > 0) { /* Check that exactly one thread executed the once_execute() function. */ if (performed != 1) abort (); } if (repeat == REPEAT_COUNT) break; /* Preparation for the next round: Initialize once_control. */ memcpy (&once_control, &fresh_once, sizeof (gl_once_t)); /* Preparation for the next round: Reset the performed counter. */ performed = 0; /* Preparation for the next round: Reset the ready flags. */ for (i = 0; i < THREAD_COUNT; i++) { gl_lock_lock (ready_lock[i]); ready[i] = 0; gl_lock_unlock (ready_lock[i]); } /* Signal all threads simultaneously. */ dbgprintf ("Main thread giving signal for round %d\n", repeat); #if ENABLE_LOCKING gl_rwlock_unlock (fire_signal[repeat]); #else fire_signal_state = repeat + 1; #endif } /* Wait for the threads to terminate. */ for (i = 0; i < THREAD_COUNT; i++) gl_thread_join (threads[i], NULL); } /* -------------------------------------------------------------------------- */ int main () { #if HAVE_DECL_ALARM /* Declare failure if test takes too long, by using default abort caused by SIGALRM. */ int alarm_value = 600; signal (SIGALRM, SIG_DFL); alarm (alarm_value); #endif #if DO_TEST_LOCK printf ("Starting test_lock ..."); fflush (stdout); test_lock (); printf (" OK\n"); fflush (stdout); #endif #if DO_TEST_RWLOCK printf ("Starting test_rwlock ..."); fflush (stdout); test_rwlock (); printf (" OK\n"); fflush (stdout); #endif #if DO_TEST_RECURSIVE_LOCK printf ("Starting test_recursive_lock ..."); fflush (stdout); test_recursive_lock (); printf (" OK\n"); fflush (stdout); #endif #if DO_TEST_ONCE printf ("Starting test_once ..."); fflush (stdout); test_once (); printf (" OK\n"); fflush (stdout); #endif return 0; } #else /* No multithreading available. */ #include int main () { fputs ("Skipping test: multithreading not enabled\n", stderr); return 77; } #endif gsasl-1.8.1/lib/gltests/test-binary-io.sh0000755000000000000000000000040013516251667015167 00000000000000#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-bin-out0.tmp t-bin-out1.tmp" ${CHECKER} ./test-binary-io${EXEEXT} 1 > t-bin-out1.tmp || exit 1 cmp t-bin-out0.tmp t-bin-out1.tmp > /dev/null || exit 1 rm -fr $tmpfiles exit 0 gsasl-1.8.1/lib/gltests/test-fseek.sh0000755000000000000000000000021613516251667014400 00000000000000#!/bin/sh ${CHECKER} ./test-fseek${EXEEXT} 1 < "$srcdir/test-fseek.sh" || exit 1 echo hi | ${CHECKER} ./test-fseek${EXEEXT} || exit 1 exit 0 gsasl-1.8.1/lib/gltests/inttypes.in.h0000644000000000000000000006477213516251671014440 00000000000000/* Copyright (C) 2006-2019 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Derek Price. This file is part of gnulib. 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 3 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, see . */ /* * ISO C 99 for platforms that lack it. * */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Include the original if it exists, and if this file has not been included yet or if this file includes gnulib stdint.h which in turn includes this file. The include_next requires a split double-inclusion guard. */ #if ! defined INTTYPES_H || defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H # if @HAVE_INTTYPES_H@ /* Some pre-C++11 implementations need this. */ # if defined __cplusplus && ! defined __STDC_FORMAT_MACROS # define __STDC_FORMAT_MACROS 1 # endif # @INCLUDE_NEXT@ @NEXT_INTTYPES_H@ # endif #endif #if ! defined INTTYPES_H && ! defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H #define INTTYPES_H /* Include or the gnulib replacement. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* Get CHAR_BIT. */ #include /* On mingw, __USE_MINGW_ANSI_STDIO only works if is also included */ #if defined _WIN32 && ! defined __CYGWIN__ # include #endif #if !(INT_MIN == INT32_MIN && INT_MAX == INT32_MAX) # error "This file assumes that 'int' has exactly 32 bits. Please report your platform and compiler to ." #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* 7.8.1 Macros for format specifiers */ #if defined _TNS_R_TARGET /* Tandem NonStop R series and compatible platforms released before July 2005 support %Ld but not %lld. */ # define _LONG_LONG_FORMAT_PREFIX "L" #else # define _LONG_LONG_FORMAT_PREFIX "ll" #endif #if !defined PRId8 || @PRI_MACROS_BROKEN@ # undef PRId8 # ifdef INT8_MAX # define PRId8 "d" # endif #endif #if !defined PRIi8 || @PRI_MACROS_BROKEN@ # undef PRIi8 # ifdef INT8_MAX # define PRIi8 "i" # endif #endif #if !defined PRIo8 || @PRI_MACROS_BROKEN@ # undef PRIo8 # ifdef UINT8_MAX # define PRIo8 "o" # endif #endif #if !defined PRIu8 || @PRI_MACROS_BROKEN@ # undef PRIu8 # ifdef UINT8_MAX # define PRIu8 "u" # endif #endif #if !defined PRIx8 || @PRI_MACROS_BROKEN@ # undef PRIx8 # ifdef UINT8_MAX # define PRIx8 "x" # endif #endif #if !defined PRIX8 || @PRI_MACROS_BROKEN@ # undef PRIX8 # ifdef UINT8_MAX # define PRIX8 "X" # endif #endif #if !defined PRId16 || @PRI_MACROS_BROKEN@ # undef PRId16 # ifdef INT16_MAX # define PRId16 "d" # endif #endif #if !defined PRIi16 || @PRI_MACROS_BROKEN@ # undef PRIi16 # ifdef INT16_MAX # define PRIi16 "i" # endif #endif #if !defined PRIo16 || @PRI_MACROS_BROKEN@ # undef PRIo16 # ifdef UINT16_MAX # define PRIo16 "o" # endif #endif #if !defined PRIu16 || @PRI_MACROS_BROKEN@ # undef PRIu16 # ifdef UINT16_MAX # define PRIu16 "u" # endif #endif #if !defined PRIx16 || @PRI_MACROS_BROKEN@ # undef PRIx16 # ifdef UINT16_MAX # define PRIx16 "x" # endif #endif #if !defined PRIX16 || @PRI_MACROS_BROKEN@ # undef PRIX16 # ifdef UINT16_MAX # define PRIX16 "X" # endif #endif #if !defined PRId32 || @PRI_MACROS_BROKEN@ # undef PRId32 # ifdef INT32_MAX # define PRId32 "d" # endif #endif #if !defined PRIi32 || @PRI_MACROS_BROKEN@ # undef PRIi32 # ifdef INT32_MAX # define PRIi32 "i" # endif #endif #if !defined PRIo32 || @PRI_MACROS_BROKEN@ # undef PRIo32 # ifdef UINT32_MAX # define PRIo32 "o" # endif #endif #if !defined PRIu32 || @PRI_MACROS_BROKEN@ # undef PRIu32 # ifdef UINT32_MAX # define PRIu32 "u" # endif #endif #if !defined PRIx32 || @PRI_MACROS_BROKEN@ # undef PRIx32 # ifdef UINT32_MAX # define PRIx32 "x" # endif #endif #if !defined PRIX32 || @PRI_MACROS_BROKEN@ # undef PRIX32 # ifdef UINT32_MAX # define PRIX32 "X" # endif #endif #ifdef INT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _PRI64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRI64_PREFIX "I64" # elif @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 # define _PRI64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined PRId64 || @PRI_MACROS_BROKEN@ # undef PRId64 # define PRId64 _PRI64_PREFIX "d" # endif # if !defined PRIi64 || @PRI_MACROS_BROKEN@ # undef PRIi64 # define PRIi64 _PRI64_PREFIX "i" # endif #endif #ifdef UINT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _PRIu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRIu64_PREFIX "I64" # elif @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 # define _PRIu64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined PRIo64 || @PRI_MACROS_BROKEN@ # undef PRIo64 # define PRIo64 _PRIu64_PREFIX "o" # endif # if !defined PRIu64 || @PRI_MACROS_BROKEN@ # undef PRIu64 # define PRIu64 _PRIu64_PREFIX "u" # endif # if !defined PRIx64 || @PRI_MACROS_BROKEN@ # undef PRIx64 # define PRIx64 _PRIu64_PREFIX "x" # endif # if !defined PRIX64 || @PRI_MACROS_BROKEN@ # undef PRIX64 # define PRIX64 _PRIu64_PREFIX "X" # endif #endif #if !defined PRIdLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST8 # define PRIdLEAST8 "d" #endif #if !defined PRIiLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST8 # define PRIiLEAST8 "i" #endif #if !defined PRIoLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST8 # define PRIoLEAST8 "o" #endif #if !defined PRIuLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST8 # define PRIuLEAST8 "u" #endif #if !defined PRIxLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST8 # define PRIxLEAST8 "x" #endif #if !defined PRIXLEAST8 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST8 # define PRIXLEAST8 "X" #endif #if !defined PRIdLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST16 # define PRIdLEAST16 "d" #endif #if !defined PRIiLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST16 # define PRIiLEAST16 "i" #endif #if !defined PRIoLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST16 # define PRIoLEAST16 "o" #endif #if !defined PRIuLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST16 # define PRIuLEAST16 "u" #endif #if !defined PRIxLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST16 # define PRIxLEAST16 "x" #endif #if !defined PRIXLEAST16 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST16 # define PRIXLEAST16 "X" #endif #if !defined PRIdLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST32 # define PRIdLEAST32 "d" #endif #if !defined PRIiLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST32 # define PRIiLEAST32 "i" #endif #if !defined PRIoLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST32 # define PRIoLEAST32 "o" #endif #if !defined PRIuLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST32 # define PRIuLEAST32 "u" #endif #if !defined PRIxLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST32 # define PRIxLEAST32 "x" #endif #if !defined PRIXLEAST32 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST32 # define PRIXLEAST32 "X" #endif #ifdef INT64_MAX # if !defined PRIdLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIdLEAST64 # define PRIdLEAST64 PRId64 # endif # if !defined PRIiLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIiLEAST64 # define PRIiLEAST64 PRIi64 # endif #endif #ifdef UINT64_MAX # if !defined PRIoLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIoLEAST64 # define PRIoLEAST64 PRIo64 # endif # if !defined PRIuLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIuLEAST64 # define PRIuLEAST64 PRIu64 # endif # if !defined PRIxLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIxLEAST64 # define PRIxLEAST64 PRIx64 # endif # if !defined PRIXLEAST64 || @PRI_MACROS_BROKEN@ # undef PRIXLEAST64 # define PRIXLEAST64 PRIX64 # endif #endif #if !defined PRIdFAST8 || @PRI_MACROS_BROKEN@ # undef PRIdFAST8 # if INT_FAST8_MAX > INT32_MAX # define PRIdFAST8 PRId64 # else # define PRIdFAST8 "d" # endif #endif #if !defined PRIiFAST8 || @PRI_MACROS_BROKEN@ # undef PRIiFAST8 # if INT_FAST8_MAX > INT32_MAX # define PRIiFAST8 PRIi64 # else # define PRIiFAST8 "i" # endif #endif #if !defined PRIoFAST8 || @PRI_MACROS_BROKEN@ # undef PRIoFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIoFAST8 PRIo64 # else # define PRIoFAST8 "o" # endif #endif #if !defined PRIuFAST8 || @PRI_MACROS_BROKEN@ # undef PRIuFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIuFAST8 PRIu64 # else # define PRIuFAST8 "u" # endif #endif #if !defined PRIxFAST8 || @PRI_MACROS_BROKEN@ # undef PRIxFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIxFAST8 PRIx64 # else # define PRIxFAST8 "x" # endif #endif #if !defined PRIXFAST8 || @PRI_MACROS_BROKEN@ # undef PRIXFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIXFAST8 PRIX64 # else # define PRIXFAST8 "X" # endif #endif #if !defined PRIdFAST16 || @PRI_MACROS_BROKEN@ # undef PRIdFAST16 # if INT_FAST16_MAX > INT32_MAX # define PRIdFAST16 PRId64 # else # define PRIdFAST16 "d" # endif #endif #if !defined PRIiFAST16 || @PRI_MACROS_BROKEN@ # undef PRIiFAST16 # if INT_FAST16_MAX > INT32_MAX # define PRIiFAST16 PRIi64 # else # define PRIiFAST16 "i" # endif #endif #if !defined PRIoFAST16 || @PRI_MACROS_BROKEN@ # undef PRIoFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIoFAST16 PRIo64 # else # define PRIoFAST16 "o" # endif #endif #if !defined PRIuFAST16 || @PRI_MACROS_BROKEN@ # undef PRIuFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIuFAST16 PRIu64 # else # define PRIuFAST16 "u" # endif #endif #if !defined PRIxFAST16 || @PRI_MACROS_BROKEN@ # undef PRIxFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIxFAST16 PRIx64 # else # define PRIxFAST16 "x" # endif #endif #if !defined PRIXFAST16 || @PRI_MACROS_BROKEN@ # undef PRIXFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIXFAST16 PRIX64 # else # define PRIXFAST16 "X" # endif #endif #if !defined PRIdFAST32 || @PRI_MACROS_BROKEN@ # undef PRIdFAST32 # if INT_FAST32_MAX > INT32_MAX # define PRIdFAST32 PRId64 # else # define PRIdFAST32 "d" # endif #endif #if !defined PRIiFAST32 || @PRI_MACROS_BROKEN@ # undef PRIiFAST32 # if INT_FAST32_MAX > INT32_MAX # define PRIiFAST32 PRIi64 # else # define PRIiFAST32 "i" # endif #endif #if !defined PRIoFAST32 || @PRI_MACROS_BROKEN@ # undef PRIoFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIoFAST32 PRIo64 # else # define PRIoFAST32 "o" # endif #endif #if !defined PRIuFAST32 || @PRI_MACROS_BROKEN@ # undef PRIuFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIuFAST32 PRIu64 # else # define PRIuFAST32 "u" # endif #endif #if !defined PRIxFAST32 || @PRI_MACROS_BROKEN@ # undef PRIxFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIxFAST32 PRIx64 # else # define PRIxFAST32 "x" # endif #endif #if !defined PRIXFAST32 || @PRI_MACROS_BROKEN@ # undef PRIXFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIXFAST32 PRIX64 # else # define PRIXFAST32 "X" # endif #endif #ifdef INT64_MAX # if !defined PRIdFAST64 || @PRI_MACROS_BROKEN@ # undef PRIdFAST64 # define PRIdFAST64 PRId64 # endif # if !defined PRIiFAST64 || @PRI_MACROS_BROKEN@ # undef PRIiFAST64 # define PRIiFAST64 PRIi64 # endif #endif #ifdef UINT64_MAX # if !defined PRIoFAST64 || @PRI_MACROS_BROKEN@ # undef PRIoFAST64 # define PRIoFAST64 PRIo64 # endif # if !defined PRIuFAST64 || @PRI_MACROS_BROKEN@ # undef PRIuFAST64 # define PRIuFAST64 PRIu64 # endif # if !defined PRIxFAST64 || @PRI_MACROS_BROKEN@ # undef PRIxFAST64 # define PRIxFAST64 PRIx64 # endif # if !defined PRIXFAST64 || @PRI_MACROS_BROKEN@ # undef PRIXFAST64 # define PRIXFAST64 PRIX64 # endif #endif #if !defined PRIdMAX || @PRI_MACROS_BROKEN@ # undef PRIdMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define PRIdMAX PRId64 # else # define PRIdMAX "ld" # endif #endif #if !defined PRIiMAX || @PRI_MACROS_BROKEN@ # undef PRIiMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define PRIiMAX PRIi64 # else # define PRIiMAX "li" # endif #endif #if !defined PRIoMAX || @PRI_MACROS_BROKEN@ # undef PRIoMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIoMAX PRIo64 # else # define PRIoMAX "lo" # endif #endif #if !defined PRIuMAX || @PRI_MACROS_BROKEN@ # undef PRIuMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIuMAX PRIu64 # else # define PRIuMAX "lu" # endif #endif #if !defined PRIxMAX || @PRI_MACROS_BROKEN@ # undef PRIxMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIxMAX PRIx64 # else # define PRIxMAX "lx" # endif #endif #if !defined PRIXMAX || @PRI_MACROS_BROKEN@ # undef PRIXMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIXMAX PRIX64 # else # define PRIXMAX "lX" # endif #endif #if !defined PRIdPTR || @PRI_MACROS_BROKEN@ # undef PRIdPTR # ifdef INTPTR_MAX # define PRIdPTR @PRIPTR_PREFIX@ "d" # endif #endif #if !defined PRIiPTR || @PRI_MACROS_BROKEN@ # undef PRIiPTR # ifdef INTPTR_MAX # define PRIiPTR @PRIPTR_PREFIX@ "i" # endif #endif #if !defined PRIoPTR || @PRI_MACROS_BROKEN@ # undef PRIoPTR # ifdef UINTPTR_MAX # define PRIoPTR @PRIPTR_PREFIX@ "o" # endif #endif #if !defined PRIuPTR || @PRI_MACROS_BROKEN@ # undef PRIuPTR # ifdef UINTPTR_MAX # define PRIuPTR @PRIPTR_PREFIX@ "u" # endif #endif #if !defined PRIxPTR || @PRI_MACROS_BROKEN@ # undef PRIxPTR # ifdef UINTPTR_MAX # define PRIxPTR @PRIPTR_PREFIX@ "x" # endif #endif #if !defined PRIXPTR || @PRI_MACROS_BROKEN@ # undef PRIXPTR # ifdef UINTPTR_MAX # define PRIXPTR @PRIPTR_PREFIX@ "X" # endif #endif #if !defined SCNd8 || @PRI_MACROS_BROKEN@ # undef SCNd8 # ifdef INT8_MAX # define SCNd8 "hhd" # endif #endif #if !defined SCNi8 || @PRI_MACROS_BROKEN@ # undef SCNi8 # ifdef INT8_MAX # define SCNi8 "hhi" # endif #endif #if !defined SCNo8 || @PRI_MACROS_BROKEN@ # undef SCNo8 # ifdef UINT8_MAX # define SCNo8 "hho" # endif #endif #if !defined SCNu8 || @PRI_MACROS_BROKEN@ # undef SCNu8 # ifdef UINT8_MAX # define SCNu8 "hhu" # endif #endif #if !defined SCNx8 || @PRI_MACROS_BROKEN@ # undef SCNx8 # ifdef UINT8_MAX # define SCNx8 "hhx" # endif #endif #if !defined SCNd16 || @PRI_MACROS_BROKEN@ # undef SCNd16 # ifdef INT16_MAX # define SCNd16 "hd" # endif #endif #if !defined SCNi16 || @PRI_MACROS_BROKEN@ # undef SCNi16 # ifdef INT16_MAX # define SCNi16 "hi" # endif #endif #if !defined SCNo16 || @PRI_MACROS_BROKEN@ # undef SCNo16 # ifdef UINT16_MAX # define SCNo16 "ho" # endif #endif #if !defined SCNu16 || @PRI_MACROS_BROKEN@ # undef SCNu16 # ifdef UINT16_MAX # define SCNu16 "hu" # endif #endif #if !defined SCNx16 || @PRI_MACROS_BROKEN@ # undef SCNx16 # ifdef UINT16_MAX # define SCNx16 "hx" # endif #endif #if !defined SCNd32 || @PRI_MACROS_BROKEN@ # undef SCNd32 # ifdef INT32_MAX # define SCNd32 "d" # endif #endif #if !defined SCNi32 || @PRI_MACROS_BROKEN@ # undef SCNi32 # ifdef INT32_MAX # define SCNi32 "i" # endif #endif #if !defined SCNo32 || @PRI_MACROS_BROKEN@ # undef SCNo32 # ifdef UINT32_MAX # define SCNo32 "o" # endif #endif #if !defined SCNu32 || @PRI_MACROS_BROKEN@ # undef SCNu32 # ifdef UINT32_MAX # define SCNu32 "u" # endif #endif #if !defined SCNx32 || @PRI_MACROS_BROKEN@ # undef SCNx32 # ifdef UINT32_MAX # define SCNx32 "x" # endif #endif #ifdef INT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _SCN64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCN64_PREFIX "I64" # elif @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 # define _SCN64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined SCNd64 || @PRI_MACROS_BROKEN@ # undef SCNd64 # define SCNd64 _SCN64_PREFIX "d" # endif # if !defined SCNi64 || @PRI_MACROS_BROKEN@ # undef SCNi64 # define SCNi64 _SCN64_PREFIX "i" # endif #endif #ifdef UINT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _SCNu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCNu64_PREFIX "I64" # elif @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 # define _SCNu64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined SCNo64 || @PRI_MACROS_BROKEN@ # undef SCNo64 # define SCNo64 _SCNu64_PREFIX "o" # endif # if !defined SCNu64 || @PRI_MACROS_BROKEN@ # undef SCNu64 # define SCNu64 _SCNu64_PREFIX "u" # endif # if !defined SCNx64 || @PRI_MACROS_BROKEN@ # undef SCNx64 # define SCNx64 _SCNu64_PREFIX "x" # endif #endif #if !defined SCNdLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST8 # define SCNdLEAST8 "hhd" #endif #if !defined SCNiLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST8 # define SCNiLEAST8 "hhi" #endif #if !defined SCNoLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST8 # define SCNoLEAST8 "hho" #endif #if !defined SCNuLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST8 # define SCNuLEAST8 "hhu" #endif #if !defined SCNxLEAST8 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST8 # define SCNxLEAST8 "hhx" #endif #if !defined SCNdLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST16 # define SCNdLEAST16 "hd" #endif #if !defined SCNiLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST16 # define SCNiLEAST16 "hi" #endif #if !defined SCNoLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST16 # define SCNoLEAST16 "ho" #endif #if !defined SCNuLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST16 # define SCNuLEAST16 "hu" #endif #if !defined SCNxLEAST16 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST16 # define SCNxLEAST16 "hx" #endif #if !defined SCNdLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST32 # define SCNdLEAST32 "d" #endif #if !defined SCNiLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST32 # define SCNiLEAST32 "i" #endif #if !defined SCNoLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST32 # define SCNoLEAST32 "o" #endif #if !defined SCNuLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST32 # define SCNuLEAST32 "u" #endif #if !defined SCNxLEAST32 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST32 # define SCNxLEAST32 "x" #endif #ifdef INT64_MAX # if !defined SCNdLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNdLEAST64 # define SCNdLEAST64 SCNd64 # endif # if !defined SCNiLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNiLEAST64 # define SCNiLEAST64 SCNi64 # endif #endif #ifdef UINT64_MAX # if !defined SCNoLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNoLEAST64 # define SCNoLEAST64 SCNo64 # endif # if !defined SCNuLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNuLEAST64 # define SCNuLEAST64 SCNu64 # endif # if !defined SCNxLEAST64 || @PRI_MACROS_BROKEN@ # undef SCNxLEAST64 # define SCNxLEAST64 SCNx64 # endif #endif #if !defined SCNdFAST8 || @PRI_MACROS_BROKEN@ # undef SCNdFAST8 # if INT_FAST8_MAX > INT32_MAX # define SCNdFAST8 SCNd64 # elif INT_FAST8_MAX == 0x7fff # define SCNdFAST8 "hd" # elif INT_FAST8_MAX == 0x7f # define SCNdFAST8 "hhd" # else # define SCNdFAST8 "d" # endif #endif #if !defined SCNiFAST8 || @PRI_MACROS_BROKEN@ # undef SCNiFAST8 # if INT_FAST8_MAX > INT32_MAX # define SCNiFAST8 SCNi64 # elif INT_FAST8_MAX == 0x7fff # define SCNiFAST8 "hi" # elif INT_FAST8_MAX == 0x7f # define SCNiFAST8 "hhi" # else # define SCNiFAST8 "i" # endif #endif #if !defined SCNoFAST8 || @PRI_MACROS_BROKEN@ # undef SCNoFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNoFAST8 SCNo64 # elif UINT_FAST8_MAX == 0xffff # define SCNoFAST8 "ho" # elif UINT_FAST8_MAX == 0xff # define SCNoFAST8 "hho" # else # define SCNoFAST8 "o" # endif #endif #if !defined SCNuFAST8 || @PRI_MACROS_BROKEN@ # undef SCNuFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNuFAST8 SCNu64 # elif UINT_FAST8_MAX == 0xffff # define SCNuFAST8 "hu" # elif UINT_FAST8_MAX == 0xff # define SCNuFAST8 "hhu" # else # define SCNuFAST8 "u" # endif #endif #if !defined SCNxFAST8 || @PRI_MACROS_BROKEN@ # undef SCNxFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNxFAST8 SCNx64 # elif UINT_FAST8_MAX == 0xffff # define SCNxFAST8 "hx" # elif UINT_FAST8_MAX == 0xff # define SCNxFAST8 "hhx" # else # define SCNxFAST8 "x" # endif #endif #if !defined SCNdFAST16 || @PRI_MACROS_BROKEN@ # undef SCNdFAST16 # if INT_FAST16_MAX > INT32_MAX # define SCNdFAST16 SCNd64 # elif INT_FAST16_MAX == 0x7fff # define SCNdFAST16 "hd" # else # define SCNdFAST16 "d" # endif #endif #if !defined SCNiFAST16 || @PRI_MACROS_BROKEN@ # undef SCNiFAST16 # if INT_FAST16_MAX > INT32_MAX # define SCNiFAST16 SCNi64 # elif INT_FAST16_MAX == 0x7fff # define SCNiFAST16 "hi" # else # define SCNiFAST16 "i" # endif #endif #if !defined SCNoFAST16 || @PRI_MACROS_BROKEN@ # undef SCNoFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNoFAST16 SCNo64 # elif UINT_FAST16_MAX == 0xffff # define SCNoFAST16 "ho" # else # define SCNoFAST16 "o" # endif #endif #if !defined SCNuFAST16 || @PRI_MACROS_BROKEN@ # undef SCNuFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNuFAST16 SCNu64 # elif UINT_FAST16_MAX == 0xffff # define SCNuFAST16 "hu" # else # define SCNuFAST16 "u" # endif #endif #if !defined SCNxFAST16 || @PRI_MACROS_BROKEN@ # undef SCNxFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNxFAST16 SCNx64 # elif UINT_FAST16_MAX == 0xffff # define SCNxFAST16 "hx" # else # define SCNxFAST16 "x" # endif #endif #if !defined SCNdFAST32 || @PRI_MACROS_BROKEN@ # undef SCNdFAST32 # if INT_FAST32_MAX > INT32_MAX # define SCNdFAST32 SCNd64 # else # define SCNdFAST32 "d" # endif #endif #if !defined SCNiFAST32 || @PRI_MACROS_BROKEN@ # undef SCNiFAST32 # if INT_FAST32_MAX > INT32_MAX # define SCNiFAST32 SCNi64 # else # define SCNiFAST32 "i" # endif #endif #if !defined SCNoFAST32 || @PRI_MACROS_BROKEN@ # undef SCNoFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNoFAST32 SCNo64 # else # define SCNoFAST32 "o" # endif #endif #if !defined SCNuFAST32 || @PRI_MACROS_BROKEN@ # undef SCNuFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNuFAST32 SCNu64 # else # define SCNuFAST32 "u" # endif #endif #if !defined SCNxFAST32 || @PRI_MACROS_BROKEN@ # undef SCNxFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNxFAST32 SCNx64 # else # define SCNxFAST32 "x" # endif #endif #ifdef INT64_MAX # if !defined SCNdFAST64 || @PRI_MACROS_BROKEN@ # undef SCNdFAST64 # define SCNdFAST64 SCNd64 # endif # if !defined SCNiFAST64 || @PRI_MACROS_BROKEN@ # undef SCNiFAST64 # define SCNiFAST64 SCNi64 # endif #endif #ifdef UINT64_MAX # if !defined SCNoFAST64 || @PRI_MACROS_BROKEN@ # undef SCNoFAST64 # define SCNoFAST64 SCNo64 # endif # if !defined SCNuFAST64 || @PRI_MACROS_BROKEN@ # undef SCNuFAST64 # define SCNuFAST64 SCNu64 # endif # if !defined SCNxFAST64 || @PRI_MACROS_BROKEN@ # undef SCNxFAST64 # define SCNxFAST64 SCNx64 # endif #endif #if !defined SCNdMAX || @PRI_MACROS_BROKEN@ # undef SCNdMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define SCNdMAX SCNd64 # else # define SCNdMAX "ld" # endif #endif #if !defined SCNiMAX || @PRI_MACROS_BROKEN@ # undef SCNiMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define SCNiMAX SCNi64 # else # define SCNiMAX "li" # endif #endif #if !defined SCNoMAX || @PRI_MACROS_BROKEN@ # undef SCNoMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNoMAX SCNo64 # else # define SCNoMAX "lo" # endif #endif #if !defined SCNuMAX || @PRI_MACROS_BROKEN@ # undef SCNuMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNuMAX SCNu64 # else # define SCNuMAX "lu" # endif #endif #if !defined SCNxMAX || @PRI_MACROS_BROKEN@ # undef SCNxMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNxMAX SCNx64 # else # define SCNxMAX "lx" # endif #endif #if !defined SCNdPTR || @PRI_MACROS_BROKEN@ # undef SCNdPTR # ifdef INTPTR_MAX # define SCNdPTR @PRIPTR_PREFIX@ "d" # endif #endif #if !defined SCNiPTR || @PRI_MACROS_BROKEN@ # undef SCNiPTR # ifdef INTPTR_MAX # define SCNiPTR @PRIPTR_PREFIX@ "i" # endif #endif #if !defined SCNoPTR || @PRI_MACROS_BROKEN@ # undef SCNoPTR # ifdef UINTPTR_MAX # define SCNoPTR @PRIPTR_PREFIX@ "o" # endif #endif #if !defined SCNuPTR || @PRI_MACROS_BROKEN@ # undef SCNuPTR # ifdef UINTPTR_MAX # define SCNuPTR @PRIPTR_PREFIX@ "u" # endif #endif #if !defined SCNxPTR || @PRI_MACROS_BROKEN@ # undef SCNxPTR # ifdef UINTPTR_MAX # define SCNxPTR @PRIPTR_PREFIX@ "x" # endif #endif /* 7.8.2 Functions for greatest-width integer types */ #ifdef __cplusplus extern "C" { #endif #if @GNULIB_IMAXABS@ # if !@HAVE_DECL_IMAXABS@ extern intmax_t imaxabs (intmax_t); # endif #elif defined GNULIB_POSIXCHECK # undef imaxabs # if HAVE_RAW_DECL_IMAXABS _GL_WARN_ON_USE (imaxabs, "imaxabs is unportable - " "use gnulib module imaxabs for portability"); # endif #endif #if @GNULIB_IMAXDIV@ # if !@HAVE_IMAXDIV_T@ # if !GNULIB_defined_imaxdiv_t typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; # define GNULIB_defined_imaxdiv_t 1 # endif # endif # if !@HAVE_DECL_IMAXDIV@ extern imaxdiv_t imaxdiv (intmax_t, intmax_t); # endif #elif defined GNULIB_POSIXCHECK # undef imaxdiv # if HAVE_RAW_DECL_IMAXDIV _GL_WARN_ON_USE (imaxdiv, "imaxdiv is unportable - " "use gnulib module imaxdiv for portability"); # endif #endif #if @GNULIB_STRTOIMAX@ # if @REPLACE_STRTOIMAX@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtoimax # define strtoimax rpl_strtoimax # endif _GL_FUNCDECL_RPL (strtoimax, intmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoimax, intmax_t, (const char *, char **, int)); # else # if !@HAVE_DECL_STRTOIMAX@ # undef strtoimax _GL_FUNCDECL_SYS (strtoimax, intmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoimax, intmax_t, (const char *, char **, int)); # endif _GL_CXXALIASWARN (strtoimax); #elif defined GNULIB_POSIXCHECK # undef strtoimax # if HAVE_RAW_DECL_STRTOIMAX _GL_WARN_ON_USE (strtoimax, "strtoimax is unportable - " "use gnulib module strtoimax for portability"); # endif #endif #if @GNULIB_STRTOUMAX@ # if @REPLACE_STRTOUMAX@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtoumax # define strtoumax rpl_strtoumax # endif _GL_FUNCDECL_RPL (strtoumax, uintmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoumax, uintmax_t, (const char *, char **, int)); # else # if !@HAVE_DECL_STRTOUMAX@ # undef strtoumax _GL_FUNCDECL_SYS (strtoumax, uintmax_t, (const char *, char **, int) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoumax, uintmax_t, (const char *, char **, int)); # endif _GL_CXXALIASWARN (strtoumax); #elif defined GNULIB_POSIXCHECK # undef strtoumax # if HAVE_RAW_DECL_STRTOUMAX _GL_WARN_ON_USE (strtoumax, "strtoumax is unportable - " "use gnulib module strtoumax for portability"); # endif #endif /* Don't bother defining or declaring wcstoimax and wcstoumax, since wide-character functions like this are hardly ever useful. */ #ifdef __cplusplus } #endif #endif /* !defined INTTYPES_H && !defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H */ gsasl-1.8.1/lib/gltests/test-stdlib.c0000644000000000000000000000262513516251672014373 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that EXIT_SUCCESS is 0, per POSIX. */ static int exitcode = EXIT_SUCCESS; #if EXIT_SUCCESS "oops" #endif /* Check for GNU value (not guaranteed by POSIX, but is guaranteed by gnulib). */ #if EXIT_FAILURE != 1 "oops" #endif /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); #if GNULIB_TEST_SYSTEM_POSIX # include "test-sys_wait.h" #else # define test_sys_wait_macros() 0 #endif int main (void) { if (test_sys_wait_macros ()) return 1; return exitcode; } gsasl-1.8.1/lib/gltests/test-getdelim.c0000644000000000000000000000465513516251671014710 00000000000000/* Test of getdelim() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (getdelim, ssize_t, (char **, size_t *, int, FILE *)); #include #include #include "macros.h" int main (void) { FILE *f; char *line; size_t len; ssize_t result; /* Create test file. */ f = fopen ("test-getdelim.txt", "wb"); if (!f || fwrite ("anAnbcnd\0f", 1, 10, f) != 10 || fclose (f) != 0) { fputs ("Failed to create sample file.\n", stderr); remove ("test-getdelim.txt"); return 1; } f = fopen ("test-getdelim.txt", "rb"); if (!f) { fputs ("Failed to reopen sample file.\n", stderr); remove ("test-getdelim.txt"); return 1; } /* Test initial allocation, which must include trailing NUL. */ line = NULL; len = 0; result = getdelim (&line, &len, 'n', f); ASSERT (result == 2); ASSERT (strcmp (line, "an") == 0); ASSERT (2 < len); free (line); /* Test initial allocation again, with line = NULL and len != 0. */ line = NULL; len = (size_t)(~0) / 4; result = getdelim (&line, &len, 'n', f); ASSERT (result == 2); ASSERT (strcmp (line, "An") == 0); ASSERT (2 < len); free (line); /* Test growth of buffer. */ line = malloc (1); len = 1; result = getdelim (&line, &len, 'n', f); ASSERT (result == 3); ASSERT (strcmp (line, "bcn") == 0); ASSERT (3 < len); /* Test embedded NULs and EOF behavior. */ result = getdelim (&line, &len, 'n', f); ASSERT (result == 3); ASSERT (memcmp (line, "d\0f", 4) == 0); ASSERT (3 < len); result = getdelim (&line, &len, 'n', f); ASSERT (result == -1); free (line); fclose (f); remove ("test-getdelim.txt"); return 0; } gsasl-1.8.1/lib/gltests/ftruncate.c0000644000000000000000000001161613516251666014133 00000000000000/* ftruncate emulations for native Windows. Copyright (C) 1992-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include #if HAVE_CHSIZE /* A native Windows platform. */ # include # if _GL_WINDOWS_64_BIT_OFF_T /* Large File Support: off_t is 64-bit, but chsize() takes only a 32-bit argument. So, define a 64-bit safe SetFileSize function ourselves. */ /* Ensure that declares GetFileSizeEx. */ # undef _WIN32_WINNT # define _WIN32_WINNT _WIN32_WINNT_WIN2K /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif static BOOL SetFileSize (HANDLE h, LONGLONG size) { LARGE_INTEGER old_size; if (!GetFileSizeEx (h, &old_size)) return FALSE; if (size != old_size.QuadPart) { /* Duplicate the handle, so we are free to modify its file position. */ HANDLE curr_process = GetCurrentProcess (); HANDLE tmph; if (!DuplicateHandle (curr_process, /* SourceProcessHandle */ h, /* SourceHandle */ curr_process, /* TargetProcessHandle */ (PHANDLE) &tmph, /* TargetHandle */ (DWORD) 0, /* DesiredAccess */ FALSE, /* InheritHandle */ DUPLICATE_SAME_ACCESS)) /* Options */ return FALSE; if (size < old_size.QuadPart) { /* Reduce the size. */ LONG size_hi = (LONG) (size >> 32); if (SetFilePointer (tmph, (LONG) size, &size_hi, FILE_BEGIN) == INVALID_SET_FILE_POINTER && GetLastError() != NO_ERROR) { CloseHandle (tmph); return FALSE; } if (!SetEndOfFile (tmph)) { CloseHandle (tmph); return FALSE; } } else { /* Increase the size by adding zero bytes at the end. */ static char zero_bytes[1024]; LONG pos_hi = 0; LONG pos_lo = SetFilePointer (tmph, (LONG) 0, &pos_hi, FILE_END); LONGLONG pos; if (pos_lo == INVALID_SET_FILE_POINTER && GetLastError() != NO_ERROR) { CloseHandle (tmph); return FALSE; } pos = ((LONGLONG) pos_hi << 32) | (ULONGLONG) (ULONG) pos_lo; while (pos < size) { DWORD written; LONGLONG count = size - pos; if (count > sizeof (zero_bytes)) count = sizeof (zero_bytes); if (!WriteFile (tmph, zero_bytes, (DWORD) count, &written, NULL) || written == 0) { CloseHandle (tmph); return FALSE; } pos += (ULONGLONG) (ULONG) written; } } /* Close the handle. */ CloseHandle (tmph); } return TRUE; } int ftruncate (int fd, off_t length) { HANDLE handle = (HANDLE) _get_osfhandle (fd); if (handle == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } if (length < 0) { errno = EINVAL; return -1; } if (!SetFileSize (handle, length)) { switch (GetLastError ()) { case ERROR_ACCESS_DENIED: errno = EACCES; break; case ERROR_HANDLE_DISK_FULL: case ERROR_DISK_FULL: case ERROR_DISK_TOO_FRAGMENTED: errno = ENOSPC; break; default: errno = EIO; break; } return -1; } return 0; } # else # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" static int chsize_nothrow (int fd, long length) { int result; TRY_MSVC_INVAL { result = chsize (fd, length); } CATCH_MSVC_INVAL { result = -1; errno = EBADF; } DONE_MSVC_INVAL; return result; } # else # define chsize_nothrow chsize # endif int ftruncate (int fd, off_t length) { return chsize_nothrow (fd, length); } # endif #endif gsasl-1.8.1/lib/gltests/connect.c0000644000000000000000000000301613516251666013564 00000000000000/* connect.c --- wrappers for Windows connect function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef connect int rpl_connect (int fd, const struct sockaddr *sockaddr, socklen_t len) { SOCKET sock = FD_TO_SOCKET (fd); if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { int r = connect (sock, sockaddr, len); if (r < 0) { /* EINPROGRESS is not returned by WinSock 2.0; for backwards compatibility, connect(2) uses EWOULDBLOCK. */ if (WSAGetLastError () == WSAEWOULDBLOCK) WSASetLastError (WSAEINPROGRESS); set_winsock_errno (); } return r; } } gsasl-1.8.1/lib/gltests/isblank.c0000644000000000000000000000246713516251667013570 00000000000000/* Test whether a character is a blank. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include int isblank (int c) { /* On all known platforms, in all predefined locales, isblank(c) is likely equivalent with (c == ' ' || c == '\t'). Look at the glibc definition (in glibc/localedata/locales/i18n): The "blank" characters are '\t', ' ', U+1680, U+180E, U+2000..U+2006, U+2008..U+200A, U+205F, U+3000, and none except the first two is present in a common 8-bit encoding. Therefore the substitute for other platforms is not more complicated than this. */ return (c == ' ' || c == '\t'); } gsasl-1.8.1/lib/gltests/windows-tls.c0000644000000000000000000002456713516251670014436 00000000000000/* Thread-local storage (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include /* Specification. */ #include "windows-tls.h" #include #include #include #include "windows-once.h" void * glwthread_tls_get (glwthread_tls_key_t key) { return TlsGetValue (key); } int glwthread_tls_set (glwthread_tls_key_t key, void *value) { if (!TlsSetValue (key, value)) return EINVAL; return 0; } /* The following variables keep track of TLS keys with non-NULL destructor. */ static glwthread_once_t dtor_table_init_once = GLWTHREAD_ONCE_INIT; static CRITICAL_SECTION dtor_table_lock; struct dtor { glwthread_tls_key_t key; void (*destructor) (void *); }; /* The table of dtors. */ static struct dtor *dtor_table; /* Number of active entries in the dtor_table. */ static unsigned int dtors_count; /* Valid indices into dtor_table are 0..dtors_used-1. */ static unsigned int dtors_used; /* Allocation size of dtor_table. */ static unsigned int dtors_allocated; /* Invariant: 0 <= dtors_count <= dtors_used <= dtors_allocated. */ /* Number of threads that are currently processing destructors. */ static unsigned int dtor_processing_threads; static void dtor_table_initialize (void) { InitializeCriticalSection (&dtor_table_lock); /* The other variables are already initialized to NULL or 0, respectively. */ } static void dtor_table_ensure_initialized (void) { glwthread_once (&dtor_table_init_once, dtor_table_initialize); } /* Shrinks dtors_used down to dtors_count, by replacing inactive entries with active ones. */ static void dtor_table_shrink_used (void) { unsigned int i = 0; unsigned int j = dtors_used; for (;;) { BOOL i_found = FALSE; BOOL j_found = FALSE; /* Find the next inactive entry, from the left. */ for (; i < dtors_count;) { if (dtor_table[i].destructor == NULL) { i_found = TRUE; break; } i++; } /* Find the next active entry, from the right. */ for (; j > dtors_count;) { j--; if (dtor_table[j].destructor != NULL) { j_found = TRUE; break; } } if (i_found != j_found) /* dtors_count was apparently wrong. */ abort (); if (!i_found) break; /* i_found and j_found are TRUE. Swap the two entries. */ dtor_table[i] = dtor_table[j]; i++; } dtors_used = dtors_count; } void glwthread_tls_process_destructors (void) { unsigned int repeat; dtor_table_ensure_initialized (); EnterCriticalSection (&dtor_table_lock); if (dtor_processing_threads == 0) { /* Now it's the appropriate time for shrinking dtors_used. */ if (dtors_used > dtors_count) dtor_table_shrink_used (); } dtor_processing_threads++; for (repeat = GLWTHREAD_DESTRUCTOR_ITERATIONS; repeat > 0; repeat--) { unsigned int destructors_run = 0; /* Iterate across dtor_table. We don't need to make a copy of dtor_table, because * When another thread calls glwthread_tls_key_create with a non-NULL destructor argument, this will possibly reallocate the dtor_table array and increase dtors_allocated as well as dtors_used and dtors_count, but it will not change dtors_used nor the contents of the first dtors_used entries of dtor_table. * When another thread calls glwthread_tls_key_delete, this will possibly set some 'destructor' member to NULL, thus marking an entry as inactive, but it will not otherwise change dtors_used nor the contents of the first dtors_used entries of dtor_table. */ unsigned int i_limit = dtors_used; unsigned int i; for (i = 0; i < i_limit; i++) { struct dtor current = dtor_table[i]; if (current.destructor != NULL) { /* The current dtor has not been deleted yet. */ void *current_value = glwthread_tls_get (current.key); if (current_value != NULL) { /* The current value is non-NULL. Run the destructor. */ glwthread_tls_set (current.key, NULL); LeaveCriticalSection (&dtor_table_lock); current.destructor (current_value); EnterCriticalSection (&dtor_table_lock); destructors_run++; } } } /* When all TLS values were already NULL, no further iterations are needed. */ if (destructors_run == 0) break; } dtor_processing_threads--; LeaveCriticalSection (&dtor_table_lock); } int glwthread_tls_key_create (glwthread_tls_key_t *keyp, void (*destructor) (void *)) { if (destructor != NULL) { dtor_table_ensure_initialized (); EnterCriticalSection (&dtor_table_lock); if (dtor_processing_threads == 0) { /* Now it's the appropriate time for shrinking dtors_used. */ if (dtors_used > dtors_count) dtor_table_shrink_used (); } while (dtors_used == dtors_allocated) { /* Need to grow the dtor_table. */ unsigned int new_allocated = 2 * dtors_allocated + 1; if (new_allocated < 7) new_allocated = 7; if (new_allocated <= dtors_allocated) /* overflow? */ new_allocated = UINT_MAX; LeaveCriticalSection (&dtor_table_lock); { struct dtor *new_table = (struct dtor *) malloc (new_allocated * sizeof (struct dtor)); if (new_table == NULL) return ENOMEM; EnterCriticalSection (&dtor_table_lock); /* Attention! dtors_used, dtors_allocated may have changed! */ if (dtors_used < new_allocated) { if (dtors_allocated < new_allocated) { /* The new_table is useful. */ memcpy (new_table, dtor_table, dtors_used * sizeof (struct dtor)); dtor_table = new_table; dtors_allocated = new_allocated; } else { /* The new_table is not useful, since another thread meanwhile allocated a drop_table that is at least as large. */ free (new_table); } break; } /* The new_table is not useful, since other threads increased dtors_used. Free it any retry. */ free (new_table); } } /* Here dtors_used < dtors_allocated. */ { /* Allocate a new key. */ glwthread_tls_key_t key = TlsAlloc (); if (key == (DWORD)-1) { LeaveCriticalSection (&dtor_table_lock); return EAGAIN; } /* Store the new dtor in the dtor_table, after all used entries. Do not overwrite inactive entries with indices < dtors_used, in order not to disturb glwthread_tls_process_destructors invocations that may be executing in other threads. */ dtor_table[dtors_used].key = key; dtor_table[dtors_used].destructor = destructor; dtors_used++; dtors_count++; LeaveCriticalSection (&dtor_table_lock); *keyp = key; } } else { /* Allocate a new key. */ glwthread_tls_key_t key = TlsAlloc (); if (key == (DWORD)-1) return EAGAIN; *keyp = key; } return 0; } int glwthread_tls_key_delete (glwthread_tls_key_t key) { /* Should the destructor be called for all threads that are currently running? Probably not, because - ISO C does not specify when the destructor is to be invoked at all. - In POSIX, the destructor functions specified with pthread_key_create() are invoked at thread exit. - It would be hard to implement, because there are no primitives for accessing thread-specific values from a different thread. */ dtor_table_ensure_initialized (); EnterCriticalSection (&dtor_table_lock); if (dtor_processing_threads == 0) { /* Now it's the appropriate time for shrinking dtors_used. */ if (dtors_used > dtors_count) dtor_table_shrink_used (); /* Here dtors_used == dtors_count. */ /* Find the key in dtor_table. */ { unsigned int i_limit = dtors_used; unsigned int i; for (i = 0; i < i_limit; i++) if (dtor_table[i].key == key) { if (i < dtors_used - 1) /* Swap the entries i and dtors_used - 1. */ dtor_table[i] = dtor_table[dtors_used - 1]; dtors_count = dtors_used = dtors_used - 1; break; } } } else { /* Be careful not to disturb the glwthread_tls_process_destructors invocations that are executing in other threads. */ unsigned int i_limit = dtors_used; unsigned int i; for (i = 0; i < i_limit; i++) if (dtor_table[i].destructor != NULL /* skip inactive entries */ && dtor_table[i].key == key) { /* Mark this entry as inactive. */ dtor_table[i].destructor = NULL; dtors_count = dtors_count - 1; break; } } LeaveCriticalSection (&dtor_table_lock); /* Now we have ensured that glwthread_tls_process_destructors will no longer use this key. */ if (!TlsFree (key)) return EINVAL; return 0; } gsasl-1.8.1/lib/gltests/bind.c0000644000000000000000000000240213516251666013045 00000000000000/* bind.c --- wrappers for Windows bind function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef bind int rpl_bind (int fd, const struct sockaddr *sockaddr, socklen_t len) { SOCKET sock = FD_TO_SOCKET (fd); if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { int r = bind (sock, sockaddr, len); if (r < 0) set_winsock_errno (); return r; } } gsasl-1.8.1/lib/gltests/test-hmac-sha1.c0000644000000000000000000000540513516251671014652 00000000000000/* * Copyright (C) 2005, 2010-2019 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson. */ #include #include "hmac.h" #include #include #include static void hmac_check (const void *key, size_t key_len, const void *data, size_t data_len, const char *digest) { char out[20]; if (hmac_sha1 (key, key_len, data, data_len, out) != 0) { printf ("call failure\n"); exit (1); } if (memcmp (digest, out, 20) != 0) { size_t i; printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 20; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 20; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); exit (1); } } int main (int argc, char *argv[]) { { char key[16]; size_t key_len = sizeof key; memset (key, '\x0b', sizeof key); char *data = "Hi There"; size_t data_len = 8; char *digest = "\x67\x5b\x0b\x3a\x1b\x4d\xdf\x4e\x12\x48\x72\xda\x6c\x2f\x63\x2b" "\xfe\xd9\x57\xe9"; hmac_check (key, key_len, data, data_len, digest); } { char *key = "Jefe"; size_t key_len = 4; char *data = "what do ya want for nothing?"; size_t data_len = 28; char *digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74\x16\xd5\xf1\x84\xdf\x9c" "\x25\x9a\x7c\x79"; hmac_check (key, key_len, data, data_len, digest); } { char key[20]; size_t key_len = sizeof key; memset (key, '\xAA', sizeof key); char data[50]; size_t data_len = sizeof data; memset (data, '\xDD', sizeof data); char *digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3\x9a\xf4\x8a\xa1\x7b\x4f" "\x63\xf1\x75\xd3"; hmac_check (key, key_len, data, data_len, digest); } { char key[65]; size_t key_len = sizeof key; memset (key, '\x0b', sizeof key); char *data = "Hi There"; size_t data_len = 8; char *digest = "\x29\xda\xa9\xe9\xcc\x4b\x9f\x09\x48\x29\xdc\xd4\x03\xc0\x69\x27" "\xd8\xa9\x53\x93"; hmac_check (key, key_len, data, data_len, digest); } return 0; } gsasl-1.8.1/lib/gltests/test-base64.c0000644000000000000000000001357613516251671014204 00000000000000/* Self tests for base64. Copyright (C) 2004, 2008-2019 Free Software Foundation, Inc. Written by Simon Josefsson. 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 3 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, see . */ #include #include "base64.h" #include #include #include #include #include #include "macros.h" int main (void) { const char *in = "abcdefghijklmnop"; const char *b64in = "YWJjZGVmZw=="; char out[255]; size_t len; bool ok; char *p; memset (out, 0x42, sizeof (out)); base64_encode (in, 0, out, 0); ASSERT (out[0] == '\x42'); memset (out, 0x42, sizeof (out)); base64_encode (in, 1, out, 1); ASSERT (memcmp (out, "YQ==", 1) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 1, out, 2); ASSERT (memcmp (out, "YQ==", 2) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 1, out, 3); ASSERT (memcmp (out, "YQ==", 3) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 1, out, 4); ASSERT (memcmp (out, "YQ==", 4) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 1, out, 8); ASSERT (memcmp (out, "YQ==", 4) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 2, out, 4); ASSERT (memcmp (out, "YWI=", 4) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 3, out, 4); ASSERT (memcmp (out, "YWJj", 4) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 4, out, 5); ASSERT (memcmp (out, "YWJjZA==", 5) == 0); memset (out, 0x42, sizeof (out)); base64_encode (in, 4, out, 100); ASSERT (memcmp (out, "YWJjZA==", 6) == 0); /* Decode. */ memset (out, 0x42, sizeof (out)); len = 0; ok = base64_decode (b64in, 4, out, &len); ASSERT (ok); ASSERT (len == 0); memset (out, 0x42, sizeof (out)); len = 1; ok = base64_decode (b64in, 4, out, &len); ASSERT (ok); ASSERT (len == 1); ASSERT (memcmp (out, "abcdefg", 1) == 0); memset (out, 0x42, sizeof (out)); len = 2; ok = base64_decode (b64in, 4, out, &len); ASSERT (ok); ASSERT (len == 2); ASSERT (memcmp (out, "abcdefg", 2) == 0); memset (out, 0x42, sizeof (out)); len = 3; ok = base64_decode (b64in, 4, out, &len); ASSERT (ok); ASSERT (len == 3); ASSERT (memcmp (out, "abcdefg", 3) == 0); memset (out, 0x42, sizeof (out)); len = 4; ok = base64_decode (b64in, 4, out, &len); ASSERT (ok); ASSERT (len == 3); ASSERT (memcmp (out, "abcdefg", 3) == 0); memset (out, 0x42, sizeof (out)); len = 100; ok = base64_decode (b64in, strlen (b64in), out, &len); ASSERT (ok); ASSERT (len == 7); ASSERT (memcmp (out, "abcdefg", 7) == 0); /* Allocating encode */ len = base64_encode_alloc (in, strlen (in), &p); ASSERT (len == 24); ASSERT (strcmp (p, "YWJjZGVmZ2hpamtsbW5vcA==") == 0); free (p); len = base64_encode_alloc (in, SIZE_MAX - 5, &p); ASSERT (len == 0); /* Decode context function */ { struct base64_decode_context ctx; base64_decode_ctx_init (&ctx); len = sizeof (out); ok = base64_decode_ctx (&ctx, b64in, strlen (b64in), out, &len); ASSERT (ok); ASSERT (len == 7); ASSERT (memcmp (out, "abcdefg", len) == 0); } /* Allocating decode context function */ ok = base64_decode_alloc_ctx (NULL, b64in, strlen (b64in), &p, &len); ASSERT (ok); ASSERT (len == 7); ASSERT (memcmp (out, "abcdefg", len) == 0); free (p); { struct base64_decode_context ctx; const char *newlineb64 = "YWJjZG\nVmZ2hp\namtsbW5vcA=="; base64_decode_ctx_init (&ctx); ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len); ASSERT (ok); ASSERT (len == strlen (in)); ASSERT (memcmp (p, in, len) == 0); free (p); } { struct base64_decode_context ctx; base64_decode_ctx_init (&ctx); ok = base64_decode_alloc_ctx (&ctx, "YW\nJjZGVmZ2hp", 13, &p, &len); ASSERT (ok); ASSERT (len == 9); ASSERT (memcmp (p, "abcdefghi", len) == 0); free (p); base64_decode_ctx_init (&ctx); ok = base64_decode_alloc_ctx (&ctx, "YW\n", 3, &p, &len); ASSERT (ok); ASSERT (len == 0); free (p); ok = base64_decode_alloc_ctx (&ctx, "JjZGVmZ2", 8, &p, &len); ASSERT (ok); ASSERT (len == 6); ASSERT (memcmp (p, "abcdef", len) == 0); free (p); ok = base64_decode_alloc_ctx (&ctx, "hp", 2, &p, &len); ASSERT (ok); ASSERT (len == 3); ASSERT (memcmp (p, "ghi", len) == 0); free (p); ok = base64_decode_alloc_ctx (&ctx, "", 0, &p, &len); ASSERT (ok); free (p); } { struct base64_decode_context ctx; const char *newlineb64 = "\n\n\n\n\n"; base64_decode_ctx_init (&ctx); ok = base64_decode_alloc_ctx (&ctx, newlineb64, strlen (newlineb64), &p, &len); ASSERT (ok); ASSERT (len == 0); free (p); } ok = base64_decode_alloc_ctx (NULL, " ! ", 3, &p, &len); ASSERT (!ok); ok = base64_decode_alloc_ctx (NULL, "abc\ndef", 7, &p, &len); ASSERT (!ok); ok = base64_decode_alloc_ctx (NULL, "aa", 2, &p, &len); ASSERT (!ok); ok = base64_decode_alloc_ctx (NULL, "aa=", 3, &p, &len); ASSERT (!ok); ok = base64_decode_alloc_ctx (NULL, "aax", 3, &p, &len); ASSERT (!ok); ok = base64_decode_alloc_ctx (NULL, "aa=X", 4, &p, &len); ASSERT (!ok); ok = base64_decode_alloc_ctx (NULL, "aa=X", 4, &p, &len); ASSERT (!ok); ok = base64_decode_alloc_ctx (NULL, "aax=X", 5, &p, &len); ASSERT (!ok); return 0; } gsasl-1.8.1/lib/gltests/test-pthread.c0000644000000000000000000000454113516251667014544 00000000000000/* Test of substitute. Copyright (C) 2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2019. */ #include #include #include "verify.h" /* Check that the types are all defined. */ pthread_t t1; pthread_attr_t t2; pthread_once_t t3 = PTHREAD_ONCE_INIT; pthread_mutex_t t4 = PTHREAD_MUTEX_INITIALIZER; pthread_mutexattr_t t5; pthread_rwlock_t t6 = PTHREAD_RWLOCK_INITIALIZER; pthread_rwlockattr_t t7; pthread_cond_t t8 = PTHREAD_COND_INITIALIZER; pthread_condattr_t t9; pthread_key_t t10; pthread_spinlock_t t11; #ifdef TODO /* Not implemented in gnulib yet */ pthread_barrier_t t12; pthread_barrierattr_t t13; #endif /* Check that the various macros are defined. */ /* Constants for pthread_attr_setdetachstate(). */ int ds[] = { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; /* Constants for pthread_exit(). */ void *canceled = PTHREAD_CANCELED; /* Constants for pthread_mutexattr_settype(). */ int mt[] = { PTHREAD_MUTEX_DEFAULT, PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_RECURSIVE, PTHREAD_MUTEX_ERRORCHECK }; #ifdef TODO /* Not implemented in gnulib yet */ /* Constants for pthread_mutexattr_setrobust(). */ int mr[] = { PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_STALLED }; /* Constants for pthread_barrierattr_setpshared(). */ int bp[] = { PTHREAD_PROCESS_SHARED, PTHREAD_PROCESS_PRIVATE }; /* Constants for pthread_barrier_wait(). */ int bw[] = { PTHREAD_BARRIER_SERIAL_THREAD }; /* Constants for pthread_setcancelstate(). */ int cs[] = { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; /* Constants for pthread_setcanceltype(). */ int ct[] = { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; #endif int main (void) { return 0; } gsasl-1.8.1/lib/gltests/sig-handler.c0000644000000000000000000000013213516251667014325 00000000000000#include #define SIG_HANDLER_INLINE _GL_EXTERN_INLINE #include "sig-handler.h" gsasl-1.8.1/lib/gltests/dosname.h0000644000000000000000000000367413516251666013600 00000000000000/* File names on MS-DOS/Windows systems. Copyright (C) 2000-2001, 2004-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . From Paul Eggert and Jim Meyering. */ #ifndef _DOSNAME_H #define _DOSNAME_H #if (defined _WIN32 || defined __CYGWIN__ \ || defined __EMX__ || defined __MSDOS__ || defined __DJGPP__) /* This internal macro assumes ASCII, but all hosts that support drive letters use ASCII. */ # define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \ <= 'z' - 'a') # define FILE_SYSTEM_PREFIX_LEN(Filename) \ (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0) # ifndef __CYGWIN__ # define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 1 # endif # define ISSLASH(C) ((C) == '/' || (C) == '\\') #else # define FILE_SYSTEM_PREFIX_LEN(Filename) 0 # define ISSLASH(C) ((C) == '/') #endif #ifndef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE # define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 #endif #if FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE # define IS_ABSOLUTE_FILE_NAME(F) ISSLASH ((F)[FILE_SYSTEM_PREFIX_LEN (F)]) # else # define IS_ABSOLUTE_FILE_NAME(F) \ (ISSLASH ((F)[0]) || FILE_SYSTEM_PREFIX_LEN (F) != 0) #endif #define IS_RELATIVE_FILE_NAME(F) (! IS_ABSOLUTE_FILE_NAME (F)) #endif /* DOSNAME_H_ */ gsasl-1.8.1/lib/gltests/test-init.sh0000755000000000000000000000463413516251671014251 00000000000000#!/bin/sh # Unit tests for init.sh # Copyright (C) 2011-2019 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # 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 3 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, see . */ : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ . fail=0 test_compare() { touch empty || fail=1 echo xyz > in || fail=1 compare /dev/null /dev/null >out 2>err || fail=1 test -s out && fail_ "out not empty: $(cat out)" # "err" should be empty, too, but has "set -x" output when VERBOSE=yes case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare /dev/null empty >out 2>err || fail=1 test -s out && fail_ "out not empty: $(cat out)" case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare in in >out 2>err || fail=1 test -s out && fail_ "out not empty: $(cat out)" case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare /dev/null in >out 2>err && fail=1 cat <<\EOF > exp diff -u /dev/null in --- /dev/null 1970-01-01 +++ in 1970-01-01 +xyz EOF compare exp out || fail=1 case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac compare empty in >out 2>err && fail=1 # Compare against expected output only if compare is using diff -u. if grep @ out >/dev/null; then # Remove the TAB-date suffix on each --- and +++ line, # for both the expected and the actual output files. # Also remove the @@ line, since Solaris 5.10 and GNU diff formats differ: # -@@ -0,0 +1 @@ # +@@ -1,0 +1,1 @@ # Also, remove space after leading '+', since AIX 7.1 diff outputs a space. sed 's/ .*//;/^@@/d;s/^+ /+/' out > k && mv k out cat <<\EOF > exp --- empty +++ in +xyz EOF compare exp out || fail=1 fi case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac } test_compare Exit $fail gsasl-1.8.1/lib/gltests/same-inode.h0000644000000000000000000000321613516251667014164 00000000000000/* Determine whether two stat buffers are known to refer to the same file. Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef SAME_INODE_H # define SAME_INODE_H 1 # include # if defined __VMS && __CRTL_VER < 80200000 # define SAME_INODE(a, b) \ ((a).st_ino[0] == (b).st_ino[0] \ && (a).st_ino[1] == (b).st_ino[1] \ && (a).st_ino[2] == (b).st_ino[2] \ && (a).st_dev == (b).st_dev) # elif defined _WIN32 && ! defined __CYGWIN__ /* Native Windows. */ # if _GL_WINDOWS_STAT_INODES /* stat() and fstat() set st_dev and st_ino to 0 if information about the inode is not available. */ # define SAME_INODE(a, b) \ (!((a).st_ino == 0 && (a).st_dev == 0) \ && (a).st_ino == (b).st_ino && (a).st_dev == (b).st_dev) # else /* stat() and fstat() set st_ino to 0 always. */ # define SAME_INODE(a, b) 0 # endif # else # define SAME_INODE(a, b) \ ((a).st_ino == (b).st_ino \ && (a).st_dev == (b).st_dev) # endif #endif gsasl-1.8.1/lib/gltests/test-setsockopt.c0000644000000000000000000000265613516251667015320 00000000000000/* Test setsockopt() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (setsockopt, int, (int, int, int, const void *, socklen_t)); #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { int value = 1; errno = 0; ASSERT (setsockopt (-1, SOL_SOCKET, SO_REUSEADDR, &value, sizeof (value)) == -1); ASSERT (errno == EBADF); } { int value = 1; close (99); errno = 0; ASSERT (setsockopt (99, SOL_SOCKET, SO_REUSEADDR, &value, sizeof (value)) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/lib/gltests/test-ftello2.sh0000755000000000000000000000012213516251667014646 00000000000000#!/bin/sh exec ${CHECKER} ./test-ftello${EXEEXT} 1 2 < "$srcdir/test-ftello2.sh" gsasl-1.8.1/lib/gltests/arg-nonnull.h0000644000000000000000000000230113516251666014370 00000000000000/* A C macro for declaring that specific arguments must not be NULL. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools that the values passed as arguments n, ..., m must be non-NULL pointers. n = 1 stands for the first argument, n = 2 for the second argument etc. */ #ifndef _GL_ARG_NONNULL # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) # else # define _GL_ARG_NONNULL(params) # endif #endif gsasl-1.8.1/lib/gltests/test-pathmax.c0000644000000000000000000000170413516251667014555 00000000000000/* Test of "pathmax.h". Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include "pathmax.h" /* Check that PATH_MAX is a constant if it is defined. */ #ifdef PATH_MAX int a = PATH_MAX; #endif int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-vasprintf.c0000644000000000000000000000471613516251672015131 00000000000000/* Test of vasprintf() and asprintf() functions. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (asprintf, int, (char **, char const *, ...)); SIGNATURE_CHECK (vasprintf, int, (char **, char const *, va_list)); #include #include #include #include "macros.h" static int my_asprintf (char **result, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vasprintf (result, format, args); va_end (args); return ret; } static void test_vasprintf () { int repeat; for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = my_asprintf (&result, "%d", 12345); ASSERT (retval == 5); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); free (result); } for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = my_asprintf (&result, "%08lx", 12345UL); ASSERT (retval == 8); ASSERT (result != NULL); ASSERT (strcmp (result, "00003039") == 0); free (result); } } static void test_asprintf () { int repeat; for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = asprintf (&result, "%d", 12345); ASSERT (retval == 5); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); free (result); } for (repeat = 0; repeat <= 8; repeat++) { char *result; int retval = asprintf (&result, "%08lx", 12345UL); ASSERT (retval == 8); ASSERT (result != NULL); ASSERT (strcmp (result, "00003039") == 0); free (result); } } int main (int argc, char *argv[]) { test_vasprintf (); test_asprintf (); return 0; } gsasl-1.8.1/lib/gltests/localtime-buffer.c0000644000000000000000000000317313516251667015360 00000000000000/* Provide access to the last buffer returned by localtime() or gmtime(). Copyright (C) 2001-2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* written by Jim Meyering */ #include /* Specification. */ #include "localtime-buffer.h" #if GETTIMEOFDAY_CLOBBERS_LOCALTIME || TZSET_CLOBBERS_LOCALTIME static struct tm tm_zero_buffer; struct tm *localtime_buffer_addr = &tm_zero_buffer; /* This is a wrapper for localtime. On the first call, record the address of the static buffer that localtime uses for its result. */ struct tm * rpl_localtime (time_t const *timep) #undef localtime { struct tm *tm = localtime (timep); if (localtime_buffer_addr == &tm_zero_buffer) localtime_buffer_addr = tm; return tm; } /* Same as above, since gmtime and localtime use the same buffer. */ struct tm * rpl_gmtime (time_t const *timep) #undef gmtime { struct tm *tm = gmtime (timep); if (localtime_buffer_addr == &tm_zero_buffer) localtime_buffer_addr = tm; return tm; } #endif gsasl-1.8.1/lib/gltests/stat-w32.h0000644000000000000000000000306613516251667013532 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _STAT_W32_H #define _STAT_W32_H 1 /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC extern struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft); #else extern time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft); #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ extern int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf); /* Bitmasks for st_mode. */ #define S_IREAD_UGO (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6)) #define S_IWRITE_UGO (_S_IWRITE | (_S_IWRITE >> 3) | (_S_IWRITE >> 6)) #define S_IEXEC_UGO (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6)) #endif /* _STAT_W32_H */ gsasl-1.8.1/lib/gltests/test-once.c0000644000000000000000000000204413516251667014035 00000000000000/* Test of once-only execution in multithreaded situations. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2018. */ #include #include "glthread/lock.h" #include "macros.h" gl_once_define(static, a_once) static int a; static void a_init (void) { a = 42; } int main () { gl_once (a_once, a_init); ASSERT (a == 42); return 0; } gsasl-1.8.1/lib/gltests/test-memchr.c0000644000000000000000000000731313516251671014363 00000000000000/* * Copyright (C) 2008-2019 Free Software Foundation, Inc. * Written by Eric Blake and Bruno Haible * * 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 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (memchr, void *, (void const *, int, size_t)); #include #include "zerosize-ptr.h" #include "macros.h" /* Calculating void * + int is not portable, so this wrapper converts to char * to make the tests easier to write. */ #define MEMCHR (char *) memchr int main (void) { size_t n = 0x100000; char *input = malloc (n); ASSERT (input); input[0] = 'a'; input[1] = 'b'; memset (input + 2, 'c', 1024); memset (input + 1026, 'd', n - 1028); input[n - 2] = 'e'; input[n - 1] = 'a'; /* Basic behavior tests. */ ASSERT (MEMCHR (input, 'a', n) == input); ASSERT (MEMCHR (input, 'a', 0) == NULL); ASSERT (MEMCHR (zerosize_ptr (), 'a', 0) == NULL); ASSERT (MEMCHR (input, 'b', n) == input + 1); ASSERT (MEMCHR (input, 'c', n) == input + 2); ASSERT (MEMCHR (input, 'd', n) == input + 1026); ASSERT (MEMCHR (input + 1, 'a', n - 1) == input + n - 1); ASSERT (MEMCHR (input + 1, 'e', n - 1) == input + n - 2); ASSERT (MEMCHR (input + 1, 0x789abc00 | 'e', n - 1) == input + n - 2); ASSERT (MEMCHR (input, 'f', n) == NULL); ASSERT (MEMCHR (input, '\0', n) == NULL); /* Check that a very long haystack is handled quickly if the byte is found near the beginning. */ { size_t repeat = 10000; for (; repeat > 0; repeat--) { ASSERT (MEMCHR (input, 'c', n) == input + 2); } } /* Alignment tests. */ { int i, j; for (i = 0; i < 32; i++) { for (j = 0; j < 256; j++) input[i + j] = j; for (j = 0; j < 256; j++) { ASSERT (MEMCHR (input + i, j, 256) == input + i + j); } } } /* Check that memchr() does not read past the first occurrence of the byte being searched. See the Austin Group's clarification . Test both '\0' and something else, since some implementations special-case searching for NUL. */ { char *page_boundary = (char *) zerosize_ptr (); /* Too small, and we miss cache line boundary tests; too large, and the test takes cubically longer to complete. */ int limit = 257; if (page_boundary != NULL) { for (n = 1; n <= limit; n++) { char *mem = page_boundary - n; memset (mem, 'X', n); ASSERT (MEMCHR (mem, 'U', n) == NULL); ASSERT (MEMCHR (mem, 0, n) == NULL); { size_t i; size_t k; for (i = 0; i < n; i++) { mem[i] = 'U'; for (k = i + 1; k < n + limit; k++) ASSERT (MEMCHR (mem, 'U', k) == mem + i); mem[i] = 0; for (k = i + 1; k < n + limit; k++) ASSERT (MEMCHR (mem, 0, k) == mem + i); mem[i] = 'X'; } } } } } free (input); return 0; } gsasl-1.8.1/lib/gltests/windows-mutex.c0000644000000000000000000000517713516251670014772 00000000000000/* Plain mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-mutex.h" #include void glwthread_mutex_init (glwthread_mutex_t *mutex) { InitializeCriticalSection (&mutex->lock); mutex->guard.done = 1; } int glwthread_mutex_lock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_mutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!mutex->guard.done) Sleep (0); } } EnterCriticalSection (&mutex->lock); return 0; } int glwthread_mutex_trylock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_mutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Let another thread finish initializing this mutex, and let it also lock this mutex. */ return EBUSY; } } if (!TryEnterCriticalSection (&mutex->lock)) return EBUSY; return 0; } int glwthread_mutex_unlock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) return EINVAL; LeaveCriticalSection (&mutex->lock); return 0; } int glwthread_mutex_destroy (glwthread_mutex_t *mutex) { if (!mutex->guard.done) return EINVAL; DeleteCriticalSection (&mutex->lock); mutex->guard.done = 0; return 0; } gsasl-1.8.1/lib/gltests/test-getcwd-lgpl.c0000644000000000000000000000510613516251667015324 00000000000000/* Test of getcwd() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (getcwd, char *, (char *, size_t)); #include #include #include #include #include "macros.h" int main (int argc, char **argv) { char *pwd1; char *pwd2; /* If the user provides an argument, attempt to chdir there first. */ if (1 < argc) { if (chdir (argv[1]) == 0) printf ("changed to directory %s\n", argv[1]); } pwd1 = getcwd (NULL, 0); ASSERT (pwd1 && *pwd1); if (1 < argc) printf ("cwd=%s\n", pwd1); /* Make sure the result is usable. */ ASSERT (chdir (pwd1) == 0); ASSERT (chdir (".//./.") == 0); /* Make sure that result is normalized. */ pwd2 = getcwd (NULL, 0); ASSERT (pwd2); ASSERT (strcmp (pwd1, pwd2) == 0); free (pwd2); { size_t len = strlen (pwd1); ssize_t i = len - 10; if (i < 1) i = 1; pwd2 = getcwd (NULL, len + 1); ASSERT (pwd2); free (pwd2); pwd2 = malloc (len + 2); for ( ; i <= len; i++) { char *tmp; errno = 0; ASSERT (getcwd (pwd2, i) == NULL); ASSERT (errno == ERANGE); /* Allow either glibc or BSD behavior, since POSIX allows both. */ errno = 0; tmp = getcwd (NULL, i); if (tmp) { ASSERT (strcmp (pwd1, tmp) == 0); free (tmp); } else { ASSERT (errno == ERANGE); } } ASSERT (getcwd (pwd2, len + 1) == pwd2); pwd2[len] = '/'; pwd2[len + 1] = '\0'; } ASSERT (strstr (pwd2, "/./") == NULL); ASSERT (strstr (pwd2, "/../") == NULL); ASSERT (strstr (pwd2 + 1 + (pwd2[1] == '/'), "//") == NULL); /* Validate a POSIX requirement on size. */ errno = 0; ASSERT (getcwd(pwd2, 0) == NULL); ASSERT (errno == EINVAL); free (pwd1); free (pwd2); return 0; } gsasl-1.8.1/lib/gltests/test-sleep.c0000644000000000000000000000263313516251670014217 00000000000000/* Test of sleep() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (sleep, unsigned int, (unsigned int)); #include #include "macros.h" #if HAVE_DECL_ALARM static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main (void) { ASSERT (sleep (1) <= 1); ASSERT (sleep (0) == 0); #if HAVE_DECL_ALARM { const unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ unsigned int remaining; signal (SIGALRM, handle_alarm); alarm (1); remaining = sleep (pentecost); ASSERT (pentecost - 10 < remaining && remaining <= pentecost); } #endif return 0; } gsasl-1.8.1/lib/gltests/stat.c0000644000000000000000000003240313516251667013111 00000000000000/* Work around platform bugs in stat. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake and Bruno Haible. */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_stat doesn't recurse to rpl_stat. */ #define __need_system_sys_stat_h #include /* Get the original definition of stat. It might be defined as a macro. */ #include #include #undef __need_system_sys_stat_h #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE #endif #if !defined WINDOWS_NATIVE static int orig_stat (const char *filename, struct stat *buf) { return stat (filename, buf); } #endif /* Specification. */ #ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" #else # include #endif #include "stat-time.h" #include #include #include #include #include "filename.h" #include "malloca.h" #include "verify.h" #ifdef WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include # include "stat-w32.h" #endif #ifdef WINDOWS_NATIVE /* Return TRUE if the given file name denotes an UNC root. */ static BOOL is_unc_root (const char *rname) { /* Test whether it has the syntax '\\server\share'. */ if (ISSLASH (rname[0]) && ISSLASH (rname[1])) { /* It starts with two slashes. Find the next slash. */ const char *p = rname + 2; const char *q = p; while (*q != '\0' && !ISSLASH (*q)) q++; if (q > p && *q != '\0') { /* Found the next slash at q. */ q++; const char *r = q; while (*r != '\0' && !ISSLASH (*r)) r++; if (r > q && *r == '\0') return TRUE; } } return FALSE; } #endif /* Store information about NAME into ST. Work around bugs with trailing slashes. Mingw has other bugs (such as st_ino always being 0 on success) which this wrapper does not work around. But at least this implementation provides the ability to emulate fchdir correctly. */ int rpl_stat (char const *name, struct stat *buf) { #ifdef WINDOWS_NATIVE /* Fill the fields ourselves, because the original stat function returns values for st_atime, st_mtime, st_ctime that depend on the current time zone. See */ /* XXX Should we convert to wchar_t* and prepend '\\?\', in order to work around length limitations ? */ /* POSIX specifies: "More than two leading characters shall be treated as a single character." */ if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) { name += 2; while (ISSLASH (name[1])) name++; } size_t len = strlen (name); size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); /* Remove trailing slashes (except the very first one, at position drive_prefix_len), but remember their presence. */ size_t rlen; bool check_dir = false; rlen = len; while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) { check_dir = true; if (rlen == drive_prefix_len + 1) break; rlen--; } /* Handle '' and 'C:'. */ if (!check_dir && rlen == drive_prefix_len) { errno = ENOENT; return -1; } /* Handle '\\'. */ if (rlen == 1 && ISSLASH (name[0]) && len >= 2) { errno = ENOENT; return -1; } const char *rname; char *malloca_rname; if (rlen == len) { rname = name; malloca_rname = NULL; } else { malloca_rname = malloca (rlen + 1); if (malloca_rname == NULL) { errno = ENOMEM; return -1; } memcpy (malloca_rname, name, rlen); malloca_rname[rlen] = '\0'; rname = malloca_rname; } /* There are two ways to get at the requested information: - by scanning the parent directory and examining the relevant directory entry, - by opening the file directly. The first approach fails for root directories (e.g. 'C:\') and UNC root directories (e.g. '\\server\share'). The second approach fails for some system files (e.g. 'C:\pagefile.sys' and 'C:\hiberfil.sys'): ERROR_SHARING_VIOLATION. The second approach gives more information (in particular, correct st_dev, st_ino, st_nlink fields). So we use the second approach and, as a fallback except for root and UNC root directories, also the first approach. */ { int ret; { /* Approach based on the file. */ /* Open a handle to the file. CreateFile */ HANDLE h = CreateFile (rname, FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, NULL, OPEN_EXISTING, /* FILE_FLAG_POSIX_SEMANTICS (treat file names that differ only in case as different) makes sense only when applied to *all* filesystem operations. */ FILE_FLAG_BACKUP_SEMANTICS /* | FILE_FLAG_POSIX_SEMANTICS */, NULL); if (h != INVALID_HANDLE_VALUE) { ret = _gl_fstat_by_handle (h, rname, buf); CloseHandle (h); goto done; } } /* Test for root and UNC root directories. */ if ((rlen == drive_prefix_len + 1 && ISSLASH (rname[drive_prefix_len])) || is_unc_root (rname)) goto failed; /* Fallback. */ { /* Approach based on the directory entry. */ if (strchr (rname, '?') != NULL || strchr (rname, '*') != NULL) { /* Other Windows API functions would fail with error ERROR_INVALID_NAME. */ if (malloca_rname != NULL) freea (malloca_rname); errno = ENOENT; return -1; } /* Get the details about the directory entry. This can be done through FindFirstFile or through FindFirstFileEx with argument FindExInfoBasic */ WIN32_FIND_DATA info; HANDLE h = FindFirstFile (rname, &info); if (h == INVALID_HANDLE_VALUE) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { FindClose (h); if (malloca_rname != NULL) freea (malloca_rname); errno = EOVERFLOW; return -1; } # if _GL_WINDOWS_STAT_INODES buf->st_dev = 0; # if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_ino = 0; # endif # else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; # endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { const char *last_dot = NULL; const char *p; for (p = info.cFileName; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } } buf->st_mode = mode; /* st_nlink. Ignore hard links here. */ buf->st_nlink = 1; /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime. */ # if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); # else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); # endif FindClose (h); ret = 0; } done: if (ret >= 0 && check_dir && !S_ISDIR (buf->st_mode)) { errno = ENOTDIR; ret = -1; } if (malloca_rname != NULL) { int saved_errno = errno; freea (malloca_rname); errno = saved_errno; } return ret; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "rpl_stat error 0x%x\n", (unsigned int) error); #endif if (malloca_rname != NULL) freea (malloca_rname); switch (error) { /* Some of these errors probably cannot happen with the specific flags that we pass to CreateFile. But who knows... */ case ERROR_FILE_NOT_FOUND: /* The last component of rname does not exist. */ case ERROR_PATH_NOT_FOUND: /* Some directory component in rname does not exist. */ case ERROR_BAD_PATHNAME: /* rname is such as '\\server'. */ case ERROR_BAD_NET_NAME: /* rname is such as '\\server\nonexistentshare'. */ case ERROR_INVALID_NAME: /* rname contains wildcards, misplaced colon, etc. */ case ERROR_DIRECTORY: errno = ENOENT; break; case ERROR_ACCESS_DENIED: /* rname is such as 'C:\System Volume Information\foo'. */ case ERROR_SHARING_VIOLATION: /* rname is such as 'C:\pagefile.sys' (second approach only). */ /* XXX map to EACCESS or EPERM? */ errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_PROTECT: errno = EROFS; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; case ERROR_BUFFER_OVERFLOW: case ERROR_FILENAME_EXCED_RANGE: errno = ENAMETOOLONG; break; case ERROR_DELETE_PENDING: /* XXX map to EACCESS or EPERM? */ errno = EPERM; break; default: errno = EINVAL; break; } return -1; } #else int result = orig_stat (name, buf); if (result == 0) { # if REPLACE_FUNC_STAT_FILE /* Solaris 9 mistakenly succeeds when given a non-directory with a trailing slash. */ if (!S_ISDIR (buf->st_mode)) { size_t len = strlen (name); if (ISSLASH (name[len - 1])) { errno = ENOTDIR; return -1; } } # endif /* REPLACE_FUNC_STAT_FILE */ result = stat_time_normalize (result, buf); } return result; #endif } gsasl-1.8.1/lib/gltests/sys_ioctl.in.h0000644000000000000000000000501313516251667014555 00000000000000/* Substitute for and wrapper around . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_SYS_IOCTL_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_SYS_IOCTL_H@ # @INCLUDE_NEXT@ @NEXT_SYS_IOCTL_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_IOCTL_H #define _@GUARD_PREFIX@_SYS_IOCTL_H /* AIX 5.1 and Solaris 10 declare ioctl() in and in , but not in . Haiku declares ioctl() in , but not in . But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declare overridden functions. */ #if @GNULIB_IOCTL@ # if @REPLACE_IOCTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ioctl # define ioctl rpl_ioctl # endif _GL_FUNCDECL_RPL (ioctl, int, (int fd, int request, ... /* {void *,char *} arg */)); _GL_CXXALIAS_RPL (ioctl, int, (int fd, int request, ... /* {void *,char *} arg */)); # else # if @SYS_IOCTL_H_HAVE_WINSOCK2_H@ || 1 _GL_FUNCDECL_SYS (ioctl, int, (int fd, int request, ... /* {void *,char *} arg */)); # endif _GL_CXXALIAS_SYS (ioctl, int, (int fd, int request, ... /* {void *,char *} arg */)); # endif _GL_CXXALIASWARN (ioctl); #elif @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ # undef ioctl # define ioctl ioctl_used_without_requesting_gnulib_module_ioctl #elif defined GNULIB_POSIXCHECK # undef ioctl # if HAVE_RAW_DECL_IOCTL _GL_WARN_ON_USE (ioctl, "ioctl does not portably work on sockets - " "use gnulib module ioctl for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_IOCTL_H */ #endif /* _@GUARD_PREFIX@_SYS_IOCTL_H */ gsasl-1.8.1/lib/gltests/test-ftruncate.c0000644000000000000000000000301713516251667015105 00000000000000/* Test truncating a file. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (ftruncate, int, (int, off_t)); #include #include #include "macros.h" int main (int argc, char *argv[]) { const char *filename = argv[1]; /* Test behaviour for invalid file descriptors. */ { errno = 0; ASSERT (ftruncate (-1, 0) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (ftruncate (99, 0) == -1); ASSERT (errno == EBADF); } /* Test behaviour for read-only file descriptors. */ { int fd = open (filename, O_RDONLY); ASSERT (fd >= 0); errno = 0; ASSERT (ftruncate (fd, 0) == -1); ASSERT (errno == EBADF || errno == EINVAL || errno == EACCES /* seen on mingw */ ); close (fd); } return 0; } gsasl-1.8.1/lib/gltests/perror.c0000644000000000000000000000276413516251667013456 00000000000000/* Print a message describing error code. Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Bruno Haible and Simon Josefsson. 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 3 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, see . */ #include /* Specification. */ #include #include #include #include #include "strerror-override.h" /* Use the system functions, not the gnulib overrides in this file. */ #undef fprintf void perror (const char *string) { char stackbuf[STACKBUF_LEN]; int ret; /* Our implementation guarantees that this will be a non-empty string, even if it returns EINVAL; and stackbuf should be sized large enough to avoid ERANGE. */ ret = strerror_r (errno, stackbuf, sizeof stackbuf); if (ret == ERANGE) abort (); if (string != NULL && *string != '\0') fprintf (stderr, "%s: %s\n", string, stackbuf); else fprintf (stderr, "%s\n", stackbuf); } gsasl-1.8.1/lib/gltests/test-sigprocmask.c0000644000000000000000000000506013516251670015426 00000000000000/* Test of sigprocmask. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include "signature.h" SIGNATURE_CHECK (sigprocmask, int, (int, const sigset_t *, sigset_t *)); #include #include #include #include #include "macros.h" #if !(defined _WIN32 && !defined __CYGWIN__) static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main (int argc, char *argv[]) { sigset_t set; pid_t pid = getpid (); char command[80]; if (sizeof (int) < sizeof pid && 0x7fffffff < pid) { fputs ("Skipping test: pid too large\n", stderr); return 77; } signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); /* Check error handling. */ ASSERT (sigprocmask (1729, &set, NULL) == -1); ASSERT (errno == EINVAL); /* Block SIGINT. */ ASSERT (sigprocmask (SIG_BLOCK, &set, NULL) == 0); /* Request a SIGINT signal from outside. */ sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, (int) pid); ASSERT (system (command) == 0); /* Wait. */ sleep (2); /* The signal should not have arrived yet, because it is blocked. */ ASSERT (sigint_occurred == 0); /* Unblock SIGINT. */ ASSERT (sigprocmask (SIG_UNBLOCK, &set, NULL) == 0); /* The signal should have arrived now, because POSIX says "If there are any pending unblocked signals after the call to sigprocmask(), at least one of those signals shall be delivered before the call to sigprocmask() returns." */ ASSERT (sigint_occurred == 1); return 0; } #else /* On native Windows, getpid() values and the arguments that are passed to the (Cygwin?) 'kill' program are not necessarily related. */ int main () { fputs ("Skipping test: native Windows platform\n", stderr); return 77; } #endif gsasl-1.8.1/lib/gltests/test-time.c0000644000000000000000000000236113516251670014043 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that the types are all defined. */ struct timespec t1; #if 0 /* POSIX:2008 does not require pid_t in unconditionally, and indeed it's missing on Mac OS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */ pid_t t2; #endif /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); int main (void) { return 0; } gsasl-1.8.1/lib/gltests/bench-md5.c0000644000000000000000000000153413516251666013700 00000000000000/* * Copyright (C) 2018-2019 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 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, see . */ /* Benchmark program for the md5_buffer function. */ #include #include "md5.h" #define FUNC md5_buffer #include "bench-digest.h" gsasl-1.8.1/lib/gltests/test-fseeko4.sh0000755000000000000000000000013213516251667014640 00000000000000#!/bin/sh ${CHECKER} ./test-fseeko4${EXEEXT} "$srcdir/test-fseeko4.sh" || exit 1 exit 0 gsasl-1.8.1/lib/gltests/malloc.c0000644000000000000000000000273313516251667013410 00000000000000/* malloc() function that is glibc compatible. Copyright (C) 1997-1998, 2006-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* written by Jim Meyering and Bruno Haible */ #define _GL_USE_STDLIB_ALLOC 1 #include /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ #ifdef malloc # define NEED_MALLOC_GNU 1 # undef malloc /* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ #elif GNULIB_MALLOC_GNU && !HAVE_MALLOC_GNU # define NEED_MALLOC_GNU 1 #endif #include #include /* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */ void * rpl_malloc (size_t n) { void *result; #if NEED_MALLOC_GNU if (n == 0) n = 1; #endif result = malloc (n); #if !HAVE_MALLOC_POSIX if (result == NULL) errno = ENOMEM; #endif return result; } gsasl-1.8.1/lib/gltests/test-stat.h0000644000000000000000000000642313516251670014070 00000000000000/* Tests of stat. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ /* This file is designed to test both stat(n,buf) and fstatat(AT_FDCWD,n,buf,0). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static int test_stat_func (int (*func) (char const *, struct stat *), bool print) { struct stat st1; struct stat st2; char *cwd = getcwd (NULL, 0); ASSERT (cwd); ASSERT (func (".", &st1) == 0); ASSERT (func ("./", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (func (cwd, &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (func ("/", &st1) == 0); ASSERT (func ("///", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif errno = 0; ASSERT (func ("", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch/", &st1) == -1); ASSERT (errno == ENOENT); ASSERT (close (creat (BASE "file", 0600)) == 0); ASSERT (func (BASE "file", &st1) == 0); errno = 0; ASSERT (func (BASE "file/", &st1) == -1); ASSERT (errno == ENOTDIR); /* Now for some symlink tests, where supported. We set up: link1 -> directory link2 -> file link3 -> dangling link4 -> loop then test behavior with trailing slash. */ if (symlink (".", BASE "link1") != 0) { ASSERT (unlink (BASE "file") == 0); if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } ASSERT (symlink (BASE "file", BASE "link2") == 0); ASSERT (symlink (BASE "nosuch", BASE "link3") == 0); ASSERT (symlink (BASE "link4", BASE "link4") == 0); ASSERT (func (BASE "link1/", &st1) == 0); ASSERT (S_ISDIR (st1.st_mode)); errno = 0; ASSERT (func (BASE "link2/", &st1) == -1); ASSERT (errno == ENOTDIR); errno = 0; ASSERT (func (BASE "link3/", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func (BASE "link4/", &st1) == -1); ASSERT (errno == ELOOP); /* Cleanup. */ ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link1") == 0); ASSERT (unlink (BASE "link2") == 0); ASSERT (unlink (BASE "link3") == 0); ASSERT (unlink (BASE "link4") == 0); free (cwd); return 0; } gsasl-1.8.1/lib/gltests/close.c0000644000000000000000000000277013516251666013246 00000000000000/* close replacement. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include "fd-hook.h" #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef close #if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int close_nothrow (int fd) { int result; TRY_MSVC_INVAL { result = close (fd); } CATCH_MSVC_INVAL { result = -1; errno = EBADF; } DONE_MSVC_INVAL; return result; } #else # define close_nothrow close #endif /* Override close() to call into other gnulib modules. */ int rpl_close (int fd) { #if WINDOWS_SOCKETS int retval = execute_all_close_hooks (close_nothrow, fd); #else int retval = close_nothrow (fd); #endif #if REPLACE_FCHDIR if (retval >= 0) _gl_unregister_fd (fd); #endif return retval; } gsasl-1.8.1/lib/gltests/ignore-value.h0000644000000000000000000000423513516251667014542 00000000000000/* ignore a function return without a compiler warning. -*- coding: utf-8 -*- Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Jim Meyering, Eric Blake and Pádraig Brady. */ /* Use "ignore_value" to avoid a warning when using a function declared with gcc's warn_unused_result attribute, but for which you really do want to ignore the result. Traditionally, people have used a "(void)" cast to indicate that a function's return value is deliberately unused. However, if the function is declared with __attribute__((warn_unused_result)), gcc issues a warning even with the cast. Caution: most of the time, you really should heed gcc's warning, and check the return value. However, in those exceptional cases in which you're sure you know what you're doing, use this function. For the record, here's one of the ignorable warnings: "copy.c:233: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result". */ #ifndef _GL_IGNORE_VALUE_H #define _GL_IGNORE_VALUE_H /* Normally casting an expression to void discards its value, but GCC versions 3.4 and newer have __attribute__ ((__warn_unused_result__)) which may cause unwanted diagnostics in that case. Use __typeof__ and __extension__ to work around the problem, if the workaround is known to be needed. */ #if 3 < __GNUC__ + (4 <= __GNUC_MINOR__) # define ignore_value(x) \ (__extension__ ({ __typeof__ (x) __x = (x); (void) __x; })) #else # define ignore_value(x) ((void) (x)) #endif #endif gsasl-1.8.1/lib/gltests/test-close.c0000644000000000000000000000220213516251667014212 00000000000000/* Test closing a file or socket. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (close, int, (int)); #include #include "macros.h" int main (void) { /* Test behaviour for invalid file descriptors. */ { errno = 0; ASSERT (close (-1) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (close (99) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/lib/gltests/localtime-buffer.h0000644000000000000000000000200313516251667015354 00000000000000/* Provide access to the last buffer returned by localtime() or gmtime(). Copyright (C) 2001-2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* written by Jim Meyering */ #include #if GETTIMEOFDAY_CLOBBERS_LOCALTIME || TZSET_CLOBBERS_LOCALTIME /* The address of the last buffer returned by localtime() or gmtime(). */ extern struct tm *localtime_buffer_addr; #endif gsasl-1.8.1/lib/gltests/test-sigaction.c0000644000000000000000000000677513516251667015110 00000000000000/* Test of sigaction() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (sigaction, int, (int, struct sigaction const *, struct sigaction *)); #include #include "macros.h" #ifndef SA_NOCLDSTOP # define SA_NOCLDSTOP 0 #endif #ifndef SA_ONSTACK # define SA_ONSTACK 0 #endif #ifndef SA_RESETHAND # define SA_RESETHAND 0 #endif #ifndef SA_RESTART # define SA_RESTART 0 #endif #ifndef SA_SIGINFO # define SA_SIGINFO 0 #endif #ifndef SA_NOCLDWAIT # define SA_NOCLDWAIT 0 #endif /* Define a mask of flags required by POSIX. Some implementations provide other flags as extensions, such as SA_RESTORER, that we must ignore in this test. */ #define MASK_SA_FLAGS (SA_NOCLDSTOP | SA_ONSTACK | SA_RESETHAND | SA_RESTART \ | SA_SIGINFO | SA_NOCLDWAIT | SA_NODEFER) /* This test is unsafe in the presence of an asynchronous SIGABRT, because we install a signal-handler that is intentionally not async-safe. Hopefully, this does not lead to too many reports of false failures, since people don't generally use 'kill -s SIGABRT' to end a runaway program. */ static void handler (int sig) { static int entry_count; struct sigaction sa; ASSERT (sig == SIGABRT); ASSERT (sigaction (SIGABRT, NULL, &sa) == 0); ASSERT ((sa.sa_flags & SA_SIGINFO) == 0); switch (entry_count++) { case 0: ASSERT ((sa.sa_flags & SA_RESETHAND) == 0); ASSERT (sa.sa_handler == handler); break; case 1: /* This assertion fails on glibc-2.3.6 systems with LinuxThreads, when this program is linked with -lpthread, due to the sigaction() override in libpthread.so. */ #if !(defined __GLIBC__ || defined __UCLIBC__) ASSERT (sa.sa_handler == SIG_DFL); #endif break; default: ASSERT (0); } } int main (void) { struct sigaction sa; struct sigaction old_sa; sa.sa_handler = handler; sa.sa_flags = 0; ASSERT (sigemptyset (&sa.sa_mask) == 0); ASSERT (sigaction (SIGABRT, &sa, NULL) == 0); ASSERT (raise (SIGABRT) == 0); sa.sa_flags = SA_RESETHAND | SA_NODEFER; ASSERT (sigaction (SIGABRT, &sa, &old_sa) == 0); ASSERT ((old_sa.sa_flags & MASK_SA_FLAGS) == 0); ASSERT (old_sa.sa_handler == handler); ASSERT (raise (SIGABRT) == 0); sa.sa_handler = SIG_DFL; ASSERT (sigaction (SIGABRT, &sa, &old_sa) == 0); ASSERT ((old_sa.sa_flags & SA_SIGINFO) == 0); #if !(defined __GLIBC__ || defined __UCLIBC__) /* see above */ ASSERT (old_sa.sa_handler == SIG_DFL); #endif sa.sa_handler = SIG_IGN; ASSERT (sigaction (SIGABRT, &sa, NULL) == 0); ASSERT (raise (SIGABRT) == 0); ASSERT (sigaction (SIGABRT, NULL, &old_sa) == 0); ASSERT (old_sa.sa_handler == SIG_IGN); ASSERT (raise (SIGABRT) == 0); return 0; } gsasl-1.8.1/lib/gltests/w32sock.h0000644000000000000000000000643113516251670013432 00000000000000/* w32sock.h --- internal auxiliary functions for Windows socket functions Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include /* Get O_RDWR and O_BINARY. */ #include /* Get _open_osfhandle(). */ #include /* Get _get_osfhandle(). */ #if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" #else # include #endif #define FD_TO_SOCKET(fd) ((SOCKET) _get_osfhandle ((fd))) #define SOCKET_TO_FD(fh) (_open_osfhandle ((intptr_t) (fh), O_RDWR | O_BINARY)) static inline void set_winsock_errno (void) { int err = WSAGetLastError (); /* Map some WSAE* errors to the runtime library's error codes. */ switch (err) { case WSA_INVALID_HANDLE: errno = EBADF; break; case WSA_NOT_ENOUGH_MEMORY: errno = ENOMEM; break; case WSA_INVALID_PARAMETER: errno = EINVAL; break; case WSAENAMETOOLONG: errno = ENAMETOOLONG; break; case WSAENOTEMPTY: errno = ENOTEMPTY; break; case WSAEWOULDBLOCK: errno = EWOULDBLOCK; break; case WSAEINPROGRESS: errno = EINPROGRESS; break; case WSAEALREADY: errno = EALREADY; break; case WSAENOTSOCK: errno = ENOTSOCK; break; case WSAEDESTADDRREQ: errno = EDESTADDRREQ; break; case WSAEMSGSIZE: errno = EMSGSIZE; break; case WSAEPROTOTYPE: errno = EPROTOTYPE; break; case WSAENOPROTOOPT: errno = ENOPROTOOPT; break; case WSAEPROTONOSUPPORT: errno = EPROTONOSUPPORT; break; case WSAEOPNOTSUPP: errno = EOPNOTSUPP; break; case WSAEAFNOSUPPORT: errno = EAFNOSUPPORT; break; case WSAEADDRINUSE: errno = EADDRINUSE; break; case WSAEADDRNOTAVAIL: errno = EADDRNOTAVAIL; break; case WSAENETDOWN: errno = ENETDOWN; break; case WSAENETUNREACH: errno = ENETUNREACH; break; case WSAENETRESET: errno = ENETRESET; break; case WSAECONNABORTED: errno = ECONNABORTED; break; case WSAECONNRESET: errno = ECONNRESET; break; case WSAENOBUFS: errno = ENOBUFS; break; case WSAEISCONN: errno = EISCONN; break; case WSAENOTCONN: errno = ENOTCONN; break; case WSAETIMEDOUT: errno = ETIMEDOUT; break; case WSAECONNREFUSED: errno = ECONNREFUSED; break; case WSAELOOP: errno = ELOOP; break; case WSAEHOSTUNREACH: errno = EHOSTUNREACH; break; default: errno = (err > 10000 && err < 10025) ? err - 10000 : err; break; } } gsasl-1.8.1/lib/gltests/usleep.c0000644000000000000000000000436513516251670013433 00000000000000/* Pausing execution of the current thread. Copyright (C) 2009-2019 Free Software Foundation, Inc. Written by Eric Blake , 2009. 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 3 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, see . */ /* This file is _intentionally_ light-weight. Rather than using select or nanosleep, both of which drag in external libraries on some platforms, this merely rounds up to the nearest second if usleep() does not exist. If sub-second resolution is important, then use a more powerful interface to begin with. */ #include /* Specification. */ #include #include #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include #endif #ifndef HAVE_USLEEP # define HAVE_USLEEP 0 #endif /* Sleep for MICRO microseconds, which can be greater than 1 second. Return -1 and set errno to EINVAL on range error (about 4295 seconds), or 0 on success. Interaction with SIGALARM is unspecified. */ int usleep (useconds_t micro) #undef usleep { #if defined _WIN32 && ! defined __CYGWIN__ unsigned int milliseconds = micro / 1000; if (sizeof milliseconds < sizeof micro && micro / 1000 != milliseconds) { errno = EINVAL; return -1; } if (micro % 1000) milliseconds++; Sleep (milliseconds); return 0; #else unsigned int seconds = micro / 1000000; if (sizeof seconds < sizeof micro && micro / 1000000 != seconds) { errno = EINVAL; return -1; } if (!HAVE_USLEEP && micro % 1000000) seconds++; while ((seconds = sleep (seconds)) != 0); # if !HAVE_USLEEP # define usleep(x) 0 # endif return usleep (micro % 1000000); #endif } gsasl-1.8.1/lib/gltests/sigaction.c0000644000000000000000000001611513516251667014120 00000000000000/* POSIX compatible signal blocking. Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Eric Blake , 2008. 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 3 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, see . */ #include /* Specification. */ #include #include #include #include /* This implementation of sigaction is tailored to native Windows behavior: signal() has SysV semantics (ie. the handler is uninstalled before it is invoked). This is an inherent data race if an asynchronous signal is sent twice in a row before we can reinstall our handler, but there's nothing we can do about it. Meanwhile, sigprocmask() is not present, and while we can use the gnulib replacement to provide critical sections, it too suffers from potential data races in the face of an ill-timed asynchronous signal. And we compound the situation by reading static storage in a signal handler, which POSIX warns is not generically async-signal-safe. Oh well. Additionally: - We don't implement SA_NOCLDSTOP or SA_NOCLDWAIT, because SIGCHLD is not defined. - We don't implement SA_ONSTACK, because sigaltstack() is not present. - We ignore SA_RESTART, because blocking native Windows API calls are not interrupted anyway when an asynchronous signal occurs, and the MSVCRT runtime never sets errno to EINTR. - We don't implement SA_SIGINFO because it is impossible to do so portably. POSIX states that an application should not mix signal() and sigaction(). We support the use of signal() within the gnulib sigprocmask() substitute, but all other application code linked with this module should stick with only sigaction(). */ /* Check some of our assumptions. */ #if defined SIGCHLD || defined HAVE_SIGALTSTACK || defined HAVE_SIGINTERRUPT # error "Revisit the assumptions made in the sigaction module" #endif /* Out-of-range substitutes make a good fallback for uncatchable signals. */ #ifndef SIGKILL # define SIGKILL (-1) #endif #ifndef SIGSTOP # define SIGSTOP (-1) #endif /* On native Windows, as of 2008, the signal SIGABRT_COMPAT is an alias for the signal SIGABRT. Only one signal handler is stored for both SIGABRT and SIGABRT_COMPAT. SIGABRT_COMPAT is not a signal of its own. */ #if defined _WIN32 && ! defined __CYGWIN__ # undef SIGABRT_COMPAT # define SIGABRT_COMPAT 6 #endif /* A signal handler. */ typedef void (*handler_t) (int signal); /* Set of current actions. If sa_handler for an entry is NULL, then that signal is not currently handled by the sigaction handler. */ static struct sigaction volatile action_array[NSIG] /* = 0 */; /* Signal handler that is installed for signals. */ static void sigaction_handler (int sig) { handler_t handler; sigset_t mask; sigset_t oldmask; int saved_errno = errno; if (sig < 0 || NSIG <= sig || !action_array[sig].sa_handler) { /* Unexpected situation; be careful to avoid recursive abort. */ if (sig == SIGABRT) signal (SIGABRT, SIG_DFL); abort (); } /* Reinstall the signal handler when required; otherwise update the bookkeeping so that the user's handler may call sigaction and get accurate results. We know the signal isn't currently blocked, or we wouldn't be in its handler, therefore we know that we are not interrupting a sigaction() call. There is a race where any asynchronous instance of the same signal occurring before we reinstall the handler will trigger the default handler; oh well. */ handler = action_array[sig].sa_handler; if ((action_array[sig].sa_flags & SA_RESETHAND) == 0) signal (sig, sigaction_handler); else action_array[sig].sa_handler = NULL; /* Block appropriate signals. */ mask = action_array[sig].sa_mask; if ((action_array[sig].sa_flags & SA_NODEFER) == 0) sigaddset (&mask, sig); sigprocmask (SIG_BLOCK, &mask, &oldmask); /* Invoke the user's handler, then restore prior mask. */ errno = saved_errno; handler (sig); saved_errno = errno; sigprocmask (SIG_SETMASK, &oldmask, NULL); errno = saved_errno; } /* Change and/or query the action that will be taken on delivery of signal SIG. If not NULL, ACT describes the new behavior. If not NULL, OACT is set to the prior behavior. Return 0 on success, or set errno and return -1 on failure. */ int sigaction (int sig, const struct sigaction *restrict act, struct sigaction *restrict oact) { sigset_t mask; sigset_t oldmask; int saved_errno; if (sig < 0 || NSIG <= sig || sig == SIGKILL || sig == SIGSTOP || (act && act->sa_handler == SIG_ERR)) { errno = EINVAL; return -1; } #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif /* POSIX requires sigaction() to be async-signal-safe. In other words, if an asynchronous signal can occur while we are anywhere inside this function, the user's handler could then call sigaction() recursively and expect consistent results. We meet this rule by using sigprocmask to block all signals before modifying any data structure that could be read from a signal handler; this works since we know that the gnulib sigprocmask replacement does not try to use sigaction() from its handler. */ if (!act && !oact) return 0; sigfillset (&mask); sigprocmask (SIG_BLOCK, &mask, &oldmask); if (oact) { if (action_array[sig].sa_handler) *oact = action_array[sig]; else { /* Safe to change the handler at will here, since all signals are currently blocked. */ oact->sa_handler = signal (sig, SIG_DFL); if (oact->sa_handler == SIG_ERR) goto failure; signal (sig, oact->sa_handler); oact->sa_flags = SA_RESETHAND | SA_NODEFER; sigemptyset (&oact->sa_mask); } } if (act) { /* Safe to install the handler before updating action_array, since all signals are currently blocked. */ if (act->sa_handler == SIG_DFL || act->sa_handler == SIG_IGN) { if (signal (sig, act->sa_handler) == SIG_ERR) goto failure; action_array[sig].sa_handler = NULL; } else { if (signal (sig, sigaction_handler) == SIG_ERR) goto failure; action_array[sig] = *act; } } sigprocmask (SIG_SETMASK, &oldmask, NULL); return 0; failure: saved_errno = errno; sigprocmask (SIG_SETMASK, &oldmask, NULL); errno = saved_errno; return -1; } gsasl-1.8.1/lib/gltests/fd-hook.h0000644000000000000000000001134313516251666013471 00000000000000/* Hook for making file descriptor functions close(), ioctl() extensible. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef FD_HOOK_H #define FD_HOOK_H #ifdef __cplusplus extern "C" { #endif /* Currently, this entire code is only needed for the handling of sockets on native Windows platforms. */ #if WINDOWS_SOCKETS /* Type of function that closes FD. */ typedef int (*gl_close_fn) (int fd); /* Type of function that applies a control request to FD. */ typedef int (*gl_ioctl_fn) (int fd, int request, void *arg); /* An element of the list of file descriptor hooks. In CLOS (Common Lisp Object System) speak, it consists of an "around" method for the close() function and an "around" method for the ioctl() function. The fields of this structure are considered private. */ struct fd_hook { /* Doubly linked list. */ struct fd_hook *private_next; struct fd_hook *private_prev; /* Function that treats the types of FD that it knows about and calls execute_close_hooks (REMAINING_LIST, PRIMARY, FD) as a fallback. */ int (*private_close_fn) (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Function that treats the types of FD that it knows about and calls execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG) as a fallback. */ int (*private_ioctl_fn) (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); }; /* This type of function closes FD, applying special knowledge for the FD types it knows about, and calls execute_close_hooks (REMAINING_LIST, PRIMARY, FD) for the other FD types. In CLOS speak, REMAINING_LIST is the remaining list of "around" methods, and PRIMARY is the "primary" method for close(). */ typedef int (*close_hook_fn) (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Execute the close hooks in REMAINING_LIST, with PRIMARY as "primary" method. Return 0 or -1, like close() would do. */ extern int execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Execute all close hooks, with PRIMARY as "primary" method. Return 0 or -1, like close() would do. */ extern int execute_all_close_hooks (gl_close_fn primary, int fd); /* This type of function applies a control request to FD, applying special knowledge for the FD types it knows about, and calls execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG) for the other FD types. In CLOS speak, REMAINING_LIST is the remaining list of "around" methods, and PRIMARY is the "primary" method for ioctl(). */ typedef int (*ioctl_hook_fn) (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); /* Execute the ioctl hooks in REMAINING_LIST, with PRIMARY as "primary" method. Return 0 or -1, like ioctl() would do. */ extern int execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); /* Execute all ioctl hooks, with PRIMARY as "primary" method. Return 0 or -1, like ioctl() would do. */ extern int execute_all_ioctl_hooks (gl_ioctl_fn primary, int fd, int request, void *arg); /* Add a function pair to the list of file descriptor hooks. CLOSE_HOOK and IOCTL_HOOK may be NULL, indicating no change. The LINK variable points to a piece of memory which is guaranteed to be accessible until the corresponding call to unregister_fd_hook. */ extern void register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link); /* Removes a hook from the list of file descriptor hooks. */ extern void unregister_fd_hook (struct fd_hook *link); #endif #ifdef __cplusplus } #endif #endif /* FD_HOOK_H */ gsasl-1.8.1/lib/gltests/test-hmac-md5.c0000644000000000000000000000530413516251671014501 00000000000000/* * Copyright (C) 2005, 2010-2019 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson. */ #include #include "hmac.h" #include #include #include /* Test vectors from RFC 2104. */ static void hmac_check (const void *key, size_t key_len, const void *data, size_t data_len, const char *digest) { char out[16]; if (hmac_md5 (key, key_len, data, data_len, out) != 0) { printf ("call failure\n"); exit (1); } if (memcmp (digest, out, 16) != 0) { size_t i; printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); exit (1); } } int main (int argc, char *argv[]) { { char key[16]; size_t key_len = sizeof key; memset (key, '\x0b', sizeof key); char *data = "Hi There"; size_t data_len = 8; char *digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d"; hmac_check (key, key_len, data, data_len, digest); } { char *key = "Jefe"; size_t key_len = 4; char *data = "what do ya want for nothing?"; size_t data_len = 28; char *digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03\xea\xa8\x6e\x31\x0a\x5d\xb7\x38"; hmac_check (key, key_len, data, data_len, digest); } { char key[16]; size_t key_len = sizeof key; memset (key, '\xAA', sizeof key); char data[50]; size_t data_len = sizeof data; memset (data, '\xDD', sizeof data); char *digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6"; hmac_check (key, key_len, data, data_len, digest); } { char key[65]; size_t key_len = sizeof key; memset (key, '\x0b', sizeof key); char *data = "Hi There"; size_t data_len = 8; char *digest = "\xd6\x07\x5b\xee\x4d\x91\x80\xd8\xd1\xa2\x99\x29\x5e\x7c\xc9\xcb"; hmac_check (key, key_len, data, data_len, digest); } return 0; } gsasl-1.8.1/lib/gltests/test-ftello.c0000644000000000000000000000631513516251667014403 00000000000000/* Test of ftello() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include #include "signature.h" SIGNATURE_CHECK (ftello, off_t, (FILE *)); #include "binary-io.h" #include "macros.h" #ifndef FUNC_UNGETC_BROKEN # define FUNC_UNGETC_BROKEN 0 #endif int main (int argc, char **argv _GL_UNUSED) { int ch; /* Assume stdin is seekable iff argc > 1. */ if (argc == 1) { ASSERT (ftell (stdin) == -1); ASSERT (ftello (stdin) == -1); return 0; } /* mingw ftell is unreliable on text mode input. */ set_binary_mode (0, O_BINARY); /* Simple tests. For each test, make sure ftell and ftello agree. */ ASSERT (ftell (stdin) == 0); ASSERT (ftello (stdin) == 0); ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ftell (stdin) == 1); ASSERT (ftello (stdin) == 1); /* Test ftell after ungetc of read input. */ ch = ungetc ('#', stdin); ASSERT (ch == '#'); ASSERT (ftell (stdin) == 0); ASSERT (ftello (stdin) == 0); ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ftell (stdin) == 1); ASSERT (ftello (stdin) == 1); /* Test ftell after fseek. */ ASSERT (fseek (stdin, 2, SEEK_SET) == 0); ASSERT (ftell (stdin) == 2); ASSERT (ftello (stdin) == 2); /* Test ftell after random ungetc. */ ch = fgetc (stdin); ASSERT (ch == '/'); ch = ungetc ('@', stdin); ASSERT (ch == '@'); ASSERT (ftell (stdin) == 2); ASSERT (ftello (stdin) == 2); ch = fgetc (stdin); ASSERT (ch == '@'); ASSERT (ftell (stdin) == 3); ASSERT (ftello (stdin) == 3); if (2 < argc) { if (FUNC_UNGETC_BROKEN) { fputs ("Skipping test: ungetc cannot handle arbitrary bytes\n", stderr); return 77; } /* Test ftell after ungetc without read. */ ASSERT (fseek (stdin, 0, SEEK_CUR) == 0); ASSERT (ftell (stdin) == 3); ASSERT (ftello (stdin) == 3); ch = ungetc ('~', stdin); ASSERT (ch == '~'); ASSERT (ftell (stdin) == 2); ASSERT (ftello (stdin) == 2); } #if !defined __MINT__ /* FreeMiNT has problems seeking past end of file */ /* Test ftell beyond end of file. */ ASSERT (fseek (stdin, 0, SEEK_END) == 0); ch = ftello (stdin); ASSERT (fseek (stdin, 10, SEEK_END) == 0); ASSERT (ftell (stdin) == ch + 10); ASSERT (ftello (stdin) == ch + 10); #endif return 0; } gsasl-1.8.1/lib/gltests/netinet_in.in.h0000644000000000000000000000247513516251667014712 00000000000000/* Substitute for . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_NETINET_IN_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_NETINET_IN_H@ /* On many platforms, assumes prior inclusion of . */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_NETINET_IN_H@ #endif #ifndef _@GUARD_PREFIX@_NETINET_IN_H #define _@GUARD_PREFIX@_NETINET_IN_H #if !@HAVE_NETINET_IN_H@ /* A platform that lacks . */ # include #endif #endif /* _@GUARD_PREFIX@_NETINET_IN_H */ #endif /* _@GUARD_PREFIX@_NETINET_IN_H */ gsasl-1.8.1/lib/gltests/test-rwlock1.c0000644000000000000000000001220213516251667014470 00000000000000/* Test of glthread_rwlock_rdlock function. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. Inspired by https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c by Intel Corporation. */ #include #include "glthread/lock.h" #include #include #include #include #include "glthread/thread.h" /* Verify that in a situation where - an rwlock is taken by a reader and has a writer waiting, - an additional reader requests the lock, - the waiting writer and the requesting reader threads have the same priority, the requesting reader thread gets blocked, so that at some point the waiting writer can acquire the lock. Without such a guarantee, when there a N readers and each of the readers spends more than 1/Nth of the time with the lock held, there is a high probability that the waiting writer will not get the lock in a given finite time, a phenomenon called "writer starvation". Without such a guarantee, applications have a hard time avoiding writer starvation. POSIX:2008 makes this requirement only for implementations that support TPS (Thread Priority Scheduling) and only for the scheduling policies SCHED_FIFO and SCHED_RR, see http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html but test verifies the guarantee regardless of TPS and regardless of scheduling policy. */ #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (fprintf (stderr, "Unexpected outcome %d\n", n), abort ()) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static gl_rwlock_t lock; static gl_thread_t reader1; static gl_thread_t writer; static gl_thread_t reader2; static gl_thread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static gl_lock_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (glthread_lock_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (glthread_lock_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9 omitted. */ /* Step 10: Launch a timer, to test whether the next call blocks. */ if (glthread_create (&timer, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (glthread_lock_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = glthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (glthread_lock_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (glthread_create (&reader2, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (glthread_lock_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (glthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = gl_thread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (glthread_rwlock_init (&lock)) UNEXPECTED (1); if (glthread_lock_init (&baton)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (glthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (glthread_create (&writer, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } gsasl-1.8.1/lib/gltests/nanosleep.c0000644000000000000000000001777613516251667014142 00000000000000/* Provide a replacement for the POSIX nanosleep function. Copyright (C) 1999-2000, 2002, 2004-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Jim Meyering and Bruno Haible for the native Windows part */ #include #include #include "intprops.h" #include "sig-handler.h" #include "verify.h" #include #include #include #include #include #include #include #include enum { BILLION = 1000 * 1000 * 1000 }; #if HAVE_BUG_BIG_NANOSLEEP int nanosleep (const struct timespec *requested_delay, struct timespec *remaining_delay) # undef nanosleep { /* nanosleep mishandles large sleeps due to internal overflow problems. The worst known case of this is Linux 2.6.9 with glibc 2.3.4, which can't sleep more than 24.85 days (2^31 milliseconds). Similarly, cygwin 1.5.x, which can't sleep more than 49.7 days (2^32 milliseconds). Solve this by breaking the sleep up into smaller chunks. */ if (requested_delay->tv_nsec < 0 || BILLION <= requested_delay->tv_nsec) { errno = EINVAL; return -1; } { /* Verify that time_t is large enough. */ verify (TYPE_MAXIMUM (time_t) / 24 / 24 / 60 / 60); const time_t limit = 24 * 24 * 60 * 60; time_t seconds = requested_delay->tv_sec; struct timespec intermediate; intermediate.tv_nsec = requested_delay->tv_nsec; while (limit < seconds) { int result; intermediate.tv_sec = limit; result = nanosleep (&intermediate, remaining_delay); seconds -= limit; if (result) { if (remaining_delay) remaining_delay->tv_sec += seconds; return result; } intermediate.tv_nsec = 0; } intermediate.tv_sec = seconds; return nanosleep (&intermediate, remaining_delay); } } #elif defined _WIN32 && ! defined __CYGWIN__ /* Native Windows platforms. */ # define WIN32_LEAN_AND_MEAN # include /* The Windows API function Sleep() has a resolution of about 15 ms and takes at least 5 ms to execute. We use this function for longer time periods. Additionally, we use busy-looping over short time periods, to get a resolution of about 0.01 ms. In order to measure such short timespans, we use the QueryPerformanceCounter() function. */ int nanosleep (const struct timespec *requested_delay, struct timespec *remaining_delay) { static bool initialized; /* Number of performance counter increments per nanosecond, or zero if it could not be determined. */ static double ticks_per_nanosecond; if (requested_delay->tv_nsec < 0 || BILLION <= requested_delay->tv_nsec) { errno = EINVAL; return -1; } /* For requested delays of one second or more, 15ms resolution is sufficient. */ if (requested_delay->tv_sec == 0) { if (!initialized) { /* Initialize ticks_per_nanosecond. */ LARGE_INTEGER ticks_per_second; if (QueryPerformanceFrequency (&ticks_per_second)) ticks_per_nanosecond = (double) ticks_per_second.QuadPart / 1000000000.0; initialized = true; } if (ticks_per_nanosecond) { /* QueryPerformanceFrequency worked. We can use QueryPerformanceCounter. Use a combination of Sleep and busy-looping. */ /* Number of milliseconds to pass to the Sleep function. Since Sleep can take up to 8 ms less or 8 ms more than requested (or maybe more if the system is loaded), we subtract 10 ms. */ int sleep_millis = (int) requested_delay->tv_nsec / 1000000 - 10; /* Determine how many ticks to delay. */ LONGLONG wait_ticks = requested_delay->tv_nsec * ticks_per_nanosecond; /* Start. */ LARGE_INTEGER counter_before; if (QueryPerformanceCounter (&counter_before)) { /* Wait until the performance counter has reached this value. We don't need to worry about overflow, because the performance counter is reset at reboot, and with a frequency of 3.6E6 ticks per second 63 bits suffice for over 80000 years. */ LONGLONG wait_until = counter_before.QuadPart + wait_ticks; /* Use Sleep for the longest part. */ if (sleep_millis > 0) Sleep (sleep_millis); /* Busy-loop for the rest. */ for (;;) { LARGE_INTEGER counter_after; if (!QueryPerformanceCounter (&counter_after)) /* QueryPerformanceCounter failed, but succeeded earlier. Should not happen. */ break; if (counter_after.QuadPart >= wait_until) /* The requested time has elapsed. */ break; } goto done; } } } /* Implementation for long delays and as fallback. */ Sleep (requested_delay->tv_sec * 1000 + requested_delay->tv_nsec / 1000000); done: /* Sleep is not interruptible. So there is no remaining delay. */ if (remaining_delay != NULL) { remaining_delay->tv_sec = 0; remaining_delay->tv_nsec = 0; } return 0; } #else /* Unix platforms lacking nanosleep. */ /* Some systems (MSDOS) don't have SIGCONT. Using SIGTERM here turns the signal-handling code below into a no-op on such systems. */ # ifndef SIGCONT # define SIGCONT SIGTERM # endif static sig_atomic_t volatile suspended; /* Handle SIGCONT. */ static _GL_ASYNC_SAFE void sighandler (int sig) { suspended = 1; } /* Suspend execution for at least *TS_DELAY seconds. */ static int my_usleep (const struct timespec *ts_delay) { struct timeval tv_delay; tv_delay.tv_sec = ts_delay->tv_sec; tv_delay.tv_usec = (ts_delay->tv_nsec + 999) / 1000; if (tv_delay.tv_usec == 1000000) { if (tv_delay.tv_sec == TYPE_MAXIMUM (time_t)) tv_delay.tv_usec = 1000000 - 1; /* close enough */ else { tv_delay.tv_sec++; tv_delay.tv_usec = 0; } } return select (0, NULL, NULL, NULL, &tv_delay); } /* Suspend execution for at least *REQUESTED_DELAY seconds. The *REMAINING_DELAY part isn't implemented yet. */ int nanosleep (const struct timespec *requested_delay, struct timespec *remaining_delay) { static bool initialized; if (requested_delay->tv_nsec < 0 || BILLION <= requested_delay->tv_nsec) { errno = EINVAL; return -1; } /* set up sig handler */ if (! initialized) { struct sigaction oldact; sigaction (SIGCONT, NULL, &oldact); if (get_handler (&oldact) != SIG_IGN) { struct sigaction newact; newact.sa_handler = sighandler; sigemptyset (&newact.sa_mask); newact.sa_flags = 0; sigaction (SIGCONT, &newact, NULL); } initialized = true; } suspended = 0; if (my_usleep (requested_delay) == -1) { if (suspended) { /* Calculate time remaining. */ /* FIXME: the code in sleep doesn't use this, so there's no rush to implement it. */ errno = EINTR; } return -1; } /* FIXME: Restore sig handler? */ return 0; } #endif gsasl-1.8.1/lib/gltests/test-ignore-value.c0000644000000000000000000000365213516251667015514 00000000000000/* Test the "ignore-value" module. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake. */ #include #include "ignore-value.h" #include #ifndef _GL_ATTRIBUTE_RETURN_CHECK # if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4) # define _GL_ATTRIBUTE_RETURN_CHECK # else # define _GL_ATTRIBUTE_RETURN_CHECK __attribute__((__warn_unused_result__)) # endif #endif struct s { int i; }; static char doChar (void) _GL_ATTRIBUTE_RETURN_CHECK; static int doInt (void) _GL_ATTRIBUTE_RETURN_CHECK; static off_t doOff (void) _GL_ATTRIBUTE_RETURN_CHECK; static void *doPtr (void) _GL_ATTRIBUTE_RETURN_CHECK; static struct s doStruct (void) _GL_ATTRIBUTE_RETURN_CHECK; static char doChar (void) { return 0; } static int doInt (void) { return 0; } static off_t doOff (void) { return 0; } static void * doPtr (void) { return NULL; } static struct s doStruct (void) { static struct s s1; return s1; } int main (void) { /* If this test can compile with -Werror and the same warnings as the rest of the project, then we are properly silencing warnings about ignored return values. */ ignore_value (doChar ()); ignore_value (doInt ()); ignore_value (doOff ()); ignore_value (doPtr ()); ignore_value (doStruct ()); return 0; } gsasl-1.8.1/lib/gltests/test-sys_stat.c0000644000000000000000000001626613516251670014767 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check the existence of some macros. */ int a[] = { S_IFMT, #ifdef S_IFBLK /* missing on MSVC */ S_IFBLK, #endif S_IFCHR, S_IFDIR, S_IFIFO, S_IFREG, #ifdef S_IFLNK /* missing on native Windows and DJGPP */ S_IFLNK, #endif #ifdef S_IFSOCK /* missing on native Windows and DJGPP */ S_IFSOCK, #endif S_IRWXU, S_IRUSR, S_IWUSR, S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, S_ISBLK (S_IFREG), S_ISCHR (S_IFREG), S_ISDIR (S_IFREG), S_ISFIFO (S_IFREG), S_ISREG (S_IFREG), S_ISLNK (S_IFREG), S_ISSOCK (S_IFREG), S_ISDOOR (S_IFREG), S_ISMPB (S_IFREG), S_ISMPX (S_IFREG), S_ISNAM (S_IFREG), S_ISNWK (S_IFREG), S_ISPORT (S_IFREG), S_ISCTG (S_IFREG), S_ISOFD (S_IFREG), S_ISOFL (S_IFREG), S_ISWHT (S_IFREG) }; /* Sanity checks. */ verify (S_IRWXU == (S_IRUSR | S_IWUSR | S_IXUSR)); verify (S_IRWXG == (S_IRGRP | S_IWGRP | S_IXGRP)); verify (S_IRWXO == (S_IROTH | S_IWOTH | S_IXOTH)); #ifdef S_IFBLK verify (S_ISBLK (S_IFBLK)); #endif verify (!S_ISBLK (S_IFCHR)); verify (!S_ISBLK (S_IFDIR)); verify (!S_ISBLK (S_IFIFO)); verify (!S_ISBLK (S_IFREG)); #ifdef S_IFLNK verify (!S_ISBLK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISBLK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISCHR (S_IFBLK)); #endif verify (S_ISCHR (S_IFCHR)); verify (!S_ISCHR (S_IFDIR)); verify (!S_ISCHR (S_IFIFO)); verify (!S_ISCHR (S_IFREG)); #ifdef S_IFLNK verify (!S_ISCHR (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISCHR (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISDIR (S_IFBLK)); #endif verify (!S_ISDIR (S_IFCHR)); verify (S_ISDIR (S_IFDIR)); verify (!S_ISDIR (S_IFIFO)); verify (!S_ISDIR (S_IFREG)); #ifdef S_IFLNK verify (!S_ISDIR (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISDIR (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISFIFO (S_IFBLK)); #endif verify (!S_ISFIFO (S_IFCHR)); verify (!S_ISFIFO (S_IFDIR)); verify (S_ISFIFO (S_IFIFO)); verify (!S_ISFIFO (S_IFREG)); #ifdef S_IFLNK verify (!S_ISFIFO (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISFIFO (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISREG (S_IFBLK)); #endif verify (!S_ISREG (S_IFCHR)); verify (!S_ISREG (S_IFDIR)); verify (!S_ISREG (S_IFIFO)); verify (S_ISREG (S_IFREG)); #ifdef S_IFLNK verify (!S_ISREG (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISREG (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISLNK (S_IFBLK)); #endif verify (!S_ISLNK (S_IFCHR)); verify (!S_ISLNK (S_IFDIR)); verify (!S_ISLNK (S_IFIFO)); verify (!S_ISLNK (S_IFREG)); #ifdef S_IFLNK verify (S_ISLNK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISLNK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISSOCK (S_IFBLK)); #endif verify (!S_ISSOCK (S_IFCHR)); verify (!S_ISSOCK (S_IFDIR)); verify (!S_ISSOCK (S_IFIFO)); verify (!S_ISSOCK (S_IFREG)); #ifdef S_IFLNK verify (!S_ISSOCK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (S_ISSOCK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISDOOR (S_IFBLK)); #endif verify (!S_ISDOOR (S_IFCHR)); verify (!S_ISDOOR (S_IFDIR)); verify (!S_ISDOOR (S_IFIFO)); verify (!S_ISDOOR (S_IFREG)); #ifdef S_IFLNK verify (!S_ISDOOR (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISDOOR (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISMPB (S_IFBLK)); #endif verify (!S_ISMPB (S_IFCHR)); verify (!S_ISMPB (S_IFDIR)); verify (!S_ISMPB (S_IFIFO)); verify (!S_ISMPB (S_IFREG)); #ifdef S_IFLNK verify (!S_ISMPB (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISMPB (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISMPX (S_IFBLK)); #endif verify (!S_ISMPX (S_IFCHR)); verify (!S_ISMPX (S_IFDIR)); verify (!S_ISMPX (S_IFIFO)); verify (!S_ISMPX (S_IFREG)); #ifdef S_IFLNK verify (!S_ISMPX (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISMPX (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISNAM (S_IFBLK)); #endif verify (!S_ISNAM (S_IFCHR)); verify (!S_ISNAM (S_IFDIR)); verify (!S_ISNAM (S_IFIFO)); verify (!S_ISNAM (S_IFREG)); #ifdef S_IFLNK verify (!S_ISNAM (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISNAM (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISNWK (S_IFBLK)); #endif verify (!S_ISNWK (S_IFCHR)); verify (!S_ISNWK (S_IFDIR)); verify (!S_ISNWK (S_IFIFO)); verify (!S_ISNWK (S_IFREG)); #ifdef S_IFLNK verify (!S_ISNWK (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISNWK (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISPORT (S_IFBLK)); #endif verify (!S_ISPORT (S_IFCHR)); verify (!S_ISPORT (S_IFDIR)); verify (!S_ISPORT (S_IFIFO)); verify (!S_ISPORT (S_IFREG)); #ifdef S_IFLNK verify (!S_ISPORT (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISPORT (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISCTG (S_IFBLK)); #endif verify (!S_ISCTG (S_IFCHR)); verify (!S_ISCTG (S_IFDIR)); verify (!S_ISCTG (S_IFIFO)); verify (!S_ISCTG (S_IFREG)); #ifdef S_IFLNK verify (!S_ISCTG (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISCTG (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISOFD (S_IFBLK)); #endif verify (!S_ISOFD (S_IFCHR)); verify (!S_ISOFD (S_IFDIR)); verify (!S_ISOFD (S_IFIFO)); verify (!S_ISOFD (S_IFREG)); #ifdef S_IFLNK verify (!S_ISOFD (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISOFD (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISOFL (S_IFBLK)); #endif verify (!S_ISOFL (S_IFCHR)); verify (!S_ISOFL (S_IFDIR)); verify (!S_ISOFL (S_IFIFO)); verify (!S_ISOFL (S_IFREG)); #ifdef S_IFLNK verify (!S_ISOFL (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISOFL (S_IFSOCK)); #endif #ifdef S_IFBLK verify (!S_ISWHT (S_IFBLK)); #endif verify (!S_ISWHT (S_IFCHR)); verify (!S_ISWHT (S_IFDIR)); verify (!S_ISWHT (S_IFIFO)); verify (!S_ISWHT (S_IFREG)); #ifdef S_IFLNK verify (!S_ISWHT (S_IFLNK)); #endif #ifdef S_IFSOCK verify (!S_ISWHT (S_IFSOCK)); #endif /* POSIX 2008 requires traditional encoding of permission constants. */ verify (S_IRWXU == 00700); verify (S_IRUSR == 00400); verify (S_IWUSR == 00200); verify (S_IXUSR == 00100); verify (S_IRWXG == 00070); verify (S_IRGRP == 00040); verify (S_IWGRP == 00020); verify (S_IXGRP == 00010); verify (S_IRWXO == 00007); verify (S_IROTH == 00004); verify (S_IWOTH == 00002); verify (S_IXOTH == 00001); verify (S_ISUID == 04000); verify (S_ISGID == 02000); verify (S_ISVTX == 01000); #if ((0 <= UTIME_NOW && UTIME_NOW < 1000000000) \ || (0 <= UTIME_OMIT && UTIME_OMIT < 1000000000) \ || UTIME_NOW == UTIME_OMIT) invalid UTIME macros #endif /* Check the existence of some types. */ nlink_t t1; off_t t2; mode_t t3; struct timespec st; int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-float.c0000644000000000000000000002162513516251671014217 00000000000000/* Test of substitute. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include "fpucw.h" #include "macros.h" /* Check that FLT_RADIX is a constant expression. */ int a[] = { FLT_RADIX }; #if FLT_RADIX == 2 /* Return 2^n. */ static float pow2f (int n) { int k = n; volatile float x = 1; volatile float y = 2; /* Invariant: 2^n == x * y^k. */ if (k < 0) { y = 0.5f; k = - k; } while (k > 0) { if (k != 2 * (k / 2)) { x = x * y; k = k - 1; } if (k == 0) break; y = y * y; k = k / 2; } /* Now k == 0, hence x == 2^n. */ return x; } /* Return 2^n. */ static double pow2d (int n) { int k = n; volatile double x = 1; volatile double y = 2; /* Invariant: 2^n == x * y^k. */ if (k < 0) { y = 0.5; k = - k; } while (k > 0) { if (k != 2 * (k / 2)) { x = x * y; k = k - 1; } if (k == 0) break; y = y * y; k = k / 2; } /* Now k == 0, hence x == 2^n. */ return x; } /* Return 2^n. */ static long double pow2l (int n) { int k = n; volatile long double x = 1; volatile long double y = 2; /* Invariant: 2^n == x * y^k. */ if (k < 0) { y = 0.5L; k = - k; } while (k > 0) { if (k != 2 * (k / 2)) { x = x * y; k = k - 1; } if (k == 0) break; y = y * y; k = k / 2; } /* Now k == 0, hence x == 2^n. */ return x; } /* ----------------------- Check macros for 'float' ----------------------- */ /* Check that the FLT_* macros expand to constant expressions. */ int fb[] = { FLT_MANT_DIG, FLT_MIN_EXP, FLT_MAX_EXP, FLT_DIG, FLT_MIN_10_EXP, FLT_MAX_10_EXP }; float fc[] = { FLT_EPSILON, FLT_MIN, FLT_MAX }; static void test_float (void) { /* Check that the value of FLT_MIN_EXP is well parenthesized. */ ASSERT ((FLT_MIN_EXP % 101111) == (FLT_MIN_EXP) % 101111); /* Check that the value of DBL_MIN_10_EXP is well parenthesized. */ ASSERT ((FLT_MIN_10_EXP % 101111) == (FLT_MIN_10_EXP) % 101111); /* Check that 'float' is as specified in IEEE 754. */ ASSERT (FLT_MANT_DIG == 24); ASSERT (FLT_MIN_EXP == -125); ASSERT (FLT_MAX_EXP == 128); /* Check the value of FLT_MIN_10_EXP. */ ASSERT (FLT_MIN_10_EXP == - (int) (- (FLT_MIN_EXP - 1) * 0.30103)); /* Check the value of FLT_DIG. */ ASSERT (FLT_DIG == (int) ((FLT_MANT_DIG - 1) * 0.30103)); /* Check the value of FLT_MIN_10_EXP. */ ASSERT (FLT_MIN_10_EXP == - (int) (- (FLT_MIN_EXP - 1) * 0.30103)); /* Check the value of FLT_MAX_10_EXP. */ ASSERT (FLT_MAX_10_EXP == (int) (FLT_MAX_EXP * 0.30103)); /* Check the value of FLT_MAX. */ { volatile float m = FLT_MAX; int n; ASSERT (m + m > m); for (n = 0; n <= 2 * FLT_MANT_DIG; n++) { volatile float pow2_n = pow2f (n); /* 2^n */ volatile float x = m + (m / pow2_n); if (x > m) ASSERT (x + x == x); else ASSERT (!(x + x == x)); } } /* Check the value of FLT_MIN. */ { volatile float m = FLT_MIN; volatile float x = pow2f (FLT_MIN_EXP - 1); ASSERT (m == x); } /* Check the value of FLT_EPSILON. */ { volatile float e = FLT_EPSILON; volatile float me; int n; me = 1.0f + e; ASSERT (me > 1.0f); ASSERT (me - 1.0f == e); for (n = 0; n <= 2 * FLT_MANT_DIG; n++) { volatile float half_n = pow2f (- n); /* 2^-n */ volatile float x = me - half_n; if (x < me) ASSERT (x <= 1.0f); } } } /* ----------------------- Check macros for 'double' ----------------------- */ /* Check that the DBL_* macros expand to constant expressions. */ int db[] = { DBL_MANT_DIG, DBL_MIN_EXP, DBL_MAX_EXP, DBL_DIG, DBL_MIN_10_EXP, DBL_MAX_10_EXP }; double dc[] = { DBL_EPSILON, DBL_MIN, DBL_MAX }; static void test_double (void) { /* Check that the value of DBL_MIN_EXP is well parenthesized. */ ASSERT ((DBL_MIN_EXP % 101111) == (DBL_MIN_EXP) % 101111); /* Check that the value of DBL_MIN_10_EXP is well parenthesized. */ ASSERT ((DBL_MIN_10_EXP % 101111) == (DBL_MIN_10_EXP) % 101111); /* Check that 'double' is as specified in IEEE 754. */ ASSERT (DBL_MANT_DIG == 53); ASSERT (DBL_MIN_EXP == -1021); ASSERT (DBL_MAX_EXP == 1024); /* Check the value of DBL_MIN_10_EXP. */ ASSERT (DBL_MIN_10_EXP == - (int) (- (DBL_MIN_EXP - 1) * 0.30103)); /* Check the value of DBL_DIG. */ ASSERT (DBL_DIG == (int) ((DBL_MANT_DIG - 1) * 0.30103)); /* Check the value of DBL_MIN_10_EXP. */ ASSERT (DBL_MIN_10_EXP == - (int) (- (DBL_MIN_EXP - 1) * 0.30103)); /* Check the value of DBL_MAX_10_EXP. */ ASSERT (DBL_MAX_10_EXP == (int) (DBL_MAX_EXP * 0.30103)); /* Check the value of DBL_MAX. */ { volatile double m = DBL_MAX; int n; ASSERT (m + m > m); for (n = 0; n <= 2 * DBL_MANT_DIG; n++) { volatile double pow2_n = pow2d (n); /* 2^n */ volatile double x = m + (m / pow2_n); if (x > m) ASSERT (x + x == x); else ASSERT (!(x + x == x)); } } /* Check the value of DBL_MIN. */ { volatile double m = DBL_MIN; volatile double x = pow2d (DBL_MIN_EXP - 1); ASSERT (m == x); } /* Check the value of DBL_EPSILON. */ { volatile double e = DBL_EPSILON; volatile double me; int n; me = 1.0 + e; ASSERT (me > 1.0); ASSERT (me - 1.0 == e); for (n = 0; n <= 2 * DBL_MANT_DIG; n++) { volatile double half_n = pow2d (- n); /* 2^-n */ volatile double x = me - half_n; if (x < me) ASSERT (x <= 1.0); } } } /* -------------------- Check macros for 'long double' -------------------- */ /* Check that the LDBL_* macros expand to constant expressions. */ int lb[] = { LDBL_MANT_DIG, LDBL_MIN_EXP, LDBL_MAX_EXP, LDBL_DIG, LDBL_MIN_10_EXP, LDBL_MAX_10_EXP }; long double lc1 = LDBL_EPSILON; long double lc2 = LDBL_MIN; #if 0 /* LDBL_MAX is not a constant expression on some platforms. */ long double lc3 = LDBL_MAX; #endif static void test_long_double (void) { /* Check that the value of LDBL_MIN_EXP is well parenthesized. */ ASSERT ((LDBL_MIN_EXP % 101111) == (LDBL_MIN_EXP) % 101111); /* Check that the value of LDBL_MIN_10_EXP is well parenthesized. */ ASSERT ((LDBL_MIN_10_EXP % 101111) == (LDBL_MIN_10_EXP) % 101111); /* Check that 'long double' is at least as wide as 'double'. */ ASSERT (LDBL_MANT_DIG >= DBL_MANT_DIG); ASSERT (LDBL_MIN_EXP - LDBL_MANT_DIG <= DBL_MIN_EXP - DBL_MANT_DIG); ASSERT (LDBL_MAX_EXP >= DBL_MAX_EXP); /* Check the value of LDBL_DIG. */ ASSERT (LDBL_DIG == (int)((LDBL_MANT_DIG - 1) * 0.30103)); /* Check the value of LDBL_MIN_10_EXP. */ ASSERT (LDBL_MIN_10_EXP == - (int) (- (LDBL_MIN_EXP - 1) * 0.30103)); /* Check the value of LDBL_MAX_10_EXP. */ ASSERT (LDBL_MAX_10_EXP == (int) (LDBL_MAX_EXP * 0.30103)); /* Check the value of LDBL_MAX. */ { volatile long double m = LDBL_MAX; int n; ASSERT (m + m > m); for (n = 0; n <= 2 * LDBL_MANT_DIG; n++) { volatile long double pow2_n = pow2l (n); /* 2^n */ volatile long double x = m + (m / pow2_n); if (x > m) ASSERT (x + x == x); else ASSERT (!(x + x == x)); } } /* Check the value of LDBL_MIN. */ { volatile long double m = LDBL_MIN; volatile long double x = pow2l (LDBL_MIN_EXP - 1); ASSERT (m == x); } /* Check the value of LDBL_EPSILON. */ { volatile long double e = LDBL_EPSILON; volatile long double me; int n; me = 1.0L + e; ASSERT (me > 1.0L); ASSERT (me - 1.0L == e); for (n = 0; n <= 2 * LDBL_MANT_DIG; n++) { volatile long double half_n = pow2l (- n); /* 2^-n */ volatile long double x = me - half_n; if (x < me) ASSERT (x <= 1.0L); } } } int main () { test_float (); test_double (); { DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); test_long_double (); END_LONG_DOUBLE_ROUNDING (); } return 0; } #else int main () { fprintf (stderr, "Skipping test: FLT_RADIX is not 2.\n"); return 77; } #endif gsasl-1.8.1/lib/gltests/test-fseeko.c0000644000000000000000000000457513516251667014400 00000000000000/* Test of fseeko() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include #include "signature.h" SIGNATURE_CHECK (fseeko, int, (FILE *, off_t, int)); #include "macros.h" #ifndef FUNC_UNGETC_BROKEN # define FUNC_UNGETC_BROKEN 0 #endif int main (int argc, char **argv _GL_UNUSED) { /* Assume stdin is non-empty, seekable, and starts with '#!/bin/sh' iff argc > 1. */ int expected = argc > 1 ? 0 : -1; /* Exit with success only if fseek/fseeko agree. */ int r1 = fseeko (stdin, 0, SEEK_CUR); int r2 = fseek (stdin, 0, SEEK_CUR); ASSERT (r1 == r2 && r1 == expected); if (argc > 1) { /* Test that fseek discards previously read ungetc data. */ int ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ungetc (ch, stdin) == ch); ASSERT (fseeko (stdin, 2, SEEK_SET) == 0); ch = fgetc (stdin); ASSERT (ch == '/'); if (2 < argc) { if (FUNC_UNGETC_BROKEN) { fputs ("Skipping test: ungetc cannot handle arbitrary bytes\n", stderr); return 77; } /* Test that fseek discards random ungetc data. */ ASSERT (ungetc (ch ^ 0xff, stdin) == (ch ^ 0xff)); } ASSERT (fseeko (stdin, 0, SEEK_END) == 0); ASSERT (fgetc (stdin) == EOF); /* Test that fseek resets end-of-file marker. */ ASSERT (feof (stdin)); ASSERT (fseeko (stdin, 0, SEEK_END) == 0); ASSERT (!feof (stdin)); } return 0; } gsasl-1.8.1/lib/gltests/test-digest.h0000644000000000000000000001116713516251667014403 00000000000000/* Test of message digests. Copyright (C) 2018-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ static void test_digest_on_files (int (*streamfunc) (FILE *, void *), const char *streamfunc_name, size_t digest_size, const void *expected_for_empty_file, const void *expected_for_small_file, const void *expected_for_large_file) { int pass; unlink (TESTFILE); for (pass = 0; pass < 5; pass++) { { FILE *fp = fopen (TESTFILE, "wb"); if (fp == NULL) { fprintf (stderr, "Could not create file %s.\n", TESTFILE); exit (1); } switch (pass) { case 0: /* Nothing to do for the empty file. */ break; case 2: /* Fill the small file, with some header that will be skipped. */ fputs ("ABCD", fp); FALLTHROUGH; case 1: /* Fill the small file. */ fputs ("The quick brown fox jumps over the lazy dog.\n", fp); break; case 4: /* Fill the large file, with some header that will be skipped. */ fputs ("ABCD", fp); FALLTHROUGH; case 3: /* Fill the large file (8 MiB). */ { unsigned int i; for (i = 0; i < 0x400000; i++) { unsigned char c[2]; unsigned int j = i * (i-1) * (i-5); c[0] = (unsigned char)(j >> 6); c[1] = (i % 499) + (i % 101); fwrite (c, 1, 2, fp); } } break; } if (ferror (fp)) { fprintf (stderr, "Could not write data to file %s.\n", TESTFILE); exit (1); } fclose (fp); } { /* Test an unaligned digest. */ char *digest = (char *) malloc (digest_size + 1) + 1; const void *expected; FILE *fp; int ret; switch (pass) { case 0: expected = expected_for_empty_file; break; case 1: case 2: expected = expected_for_small_file; break; case 3: case 4: expected = expected_for_large_file; break; default: abort (); } fp = fopen (TESTFILE, "rb"); if (fp == NULL) { fprintf (stderr, "Could not open file %s.\n", TESTFILE); exit (1); } switch (pass) { case 2: case 4: { char header[4]; if (fread (header, 1, sizeof (header), fp) != sizeof (header)) { fprintf (stderr, "Could not read the header of %s.\n", TESTFILE); exit (1); } } break; } ret = streamfunc (fp, digest); if (ret) { fprintf (stderr, "%s failed with error %d\n", streamfunc_name, -ret); exit (1); } if (memcmp (digest, expected, digest_size) != 0) { size_t i; fprintf (stderr, "%s produced wrong result.\n", streamfunc_name); fprintf (stderr, "Expected: "); for (i = 0; i < digest_size; i++) fprintf (stderr, "\\x%02x", ((const unsigned char *) expected)[i]); fprintf (stderr, "\n"); fprintf (stderr, "Got: "); for (i = 0; i < digest_size; i++) fprintf (stderr, "\\x%02x", ((const unsigned char *) digest)[i]); fprintf (stderr, "\n"); exit (1); } /* Verify that fp is now positioned at end of file. */ if (getc (fp) != EOF) { fprintf (stderr, "%s left the stream not at EOF\n", streamfunc_name); exit (1); } fclose (fp); free (digest - 1); } } unlink (TESTFILE); } gsasl-1.8.1/lib/gltests/test-arpa_inet.c0000644000000000000000000000156413516251667015061 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-perror.sh0000755000000000000000000000175713516251667014627 00000000000000#!/bin/sh : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ . # Test NULL prefix. Result should not contain a number, except in lines that # start with 'EDC' (IBM z/OS libc produces an error identifier before the # error message). ${CHECKER} test-perror 2>&1 >/dev/null | LC_ALL=C tr -d '\r' > t-perror.tmp grep -v '^EDC' t-perror.tmp | grep '[0-9]' > /dev/null \ && fail_ "result should not contain a number" # Test empty prefix. Result should be the same. ${CHECKER} test-perror '' 2>&1 >/dev/null | LC_ALL=C tr -d '\r' > t-perror1.tmp diff t-perror.tmp t-perror1.tmp \ || fail_ "empty prefix should behave like NULL argument" # Test non-empty prefix. ${CHECKER} test-perror foo 2>&1 >/dev/null | LC_ALL=C tr -d '\r' > t-perror3.tmp sed -e 's/^/foo: /' < t-perror.tmp > t-perror2.tmp diff t-perror2.tmp t-perror3.tmp || fail_ "prefix applied incorrectly" # Test exit status. ${CHECKER} test-perror >out 2>/dev/null || fail_ "unexpected exit status" test -s out && fail_ "unexpected output" Exit 0 gsasl-1.8.1/lib/gltests/stat-w32.c0000644000000000000000000004224213516251667013524 00000000000000/* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Ensure that defines FILE_ID_INFO. */ #undef _WIN32_WINNT #define _WIN32_WINNT _WIN32_WINNT_WIN8 #include #include #include #include #include #include #include /* Specification. */ #include "stat-w32.h" #include "pathmax.h" #include "verify.h" /* Avoid warnings from gcc -Wcast-function-type. */ #define GetProcAddress \ (void *) GetProcAddress #if _GL_WINDOWS_STAT_INODES == 2 /* GetFileInformationByHandleEx was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFileInformationByHandleExFuncType) (HANDLE hFile, FILE_INFO_BY_HANDLE_CLASS fiClass, LPVOID lpBuffer, DWORD dwBufferSize); static GetFileInformationByHandleExFuncType GetFileInformationByHandleExFunc = NULL; #endif /* GetFinalPathNameByHandle was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFinalPathNameByHandleFuncType) (HANDLE hFile, LPTSTR lpFilePath, DWORD lenFilePath, DWORD dwFlags); static GetFinalPathNameByHandleFuncType GetFinalPathNameByHandleFunc = NULL; static BOOL initialized = FALSE; static void initialize (void) { HMODULE kernel32 = LoadLibrary ("kernel32.dll"); if (kernel32 != NULL) { #if _GL_WINDOWS_STAT_INODES == 2 GetFileInformationByHandleExFunc = (GetFileInformationByHandleExFuncType) GetProcAddress (kernel32, "GetFileInformationByHandleEx"); #endif GetFinalPathNameByHandleFunc = (GetFinalPathNameByHandleFuncType) GetProcAddress (kernel32, "GetFinalPathNameByHandleA"); } initialized = TRUE; } /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft) { struct timespec result; /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) { result.tv_sec = 0; result.tv_nsec = 0; } else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; result.tv_sec = since_1970 / (unsigned long long) 10000000; result.tv_nsec = (unsigned long) (since_1970 % (unsigned long long) 10000000) * 100; } return result; } #else time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft) { /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) return 0; else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; return since_1970 / (unsigned long long) 10000000; } } #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf) { /* GetFileType */ DWORD type = GetFileType (h); if (type == FILE_TYPE_DISK) { if (!initialized) initialize (); /* st_mode can be determined through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ BY_HANDLE_FILE_INFORMATION info; if (! GetFileInformationByHandle (h, &info)) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { errno = EOVERFLOW; return -1; } #if _GL_WINDOWS_STAT_INODES /* st_ino can be determined through GetFileInformationByHandle as 64 bits, or through GetFileInformationByHandleEx with argument FileIdInfo as 128 bits. The latter requires -D_WIN32_WINNT=_WIN32_WINNT_WIN8 or higher. */ /* Experiments show that GetFileInformationByHandleEx does not provide much more information than GetFileInformationByHandle: * The dwVolumeSerialNumber from GetFileInformationByHandle is equal to the low 32 bits of the 64-bit VolumeSerialNumber from GetFileInformationByHandleEx, and is apparently sufficient for identifying the device. * The nFileIndex from GetFileInformationByHandle is equal to the low 64 bits of the 128-bit FileId from GetFileInformationByHandleEx, and the high 64 bits of this 128-bit FileId are zero. * On a FAT file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_PARAMETER, whereas GetFileInformationByHandle succeeds. * On a CIFS/SMB file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_LEVEL, whereas GetFileInformationByHandle succeeds. */ # if _GL_WINDOWS_STAT_INODES == 2 if (GetFileInformationByHandleExFunc != NULL) { FILE_ID_INFO id; if (GetFileInformationByHandleExFunc (h, FileIdInfo, &id, sizeof (id))) { buf->st_dev = id.VolumeSerialNumber; verify (sizeof (ino_t) == sizeof (id.FileId)); memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t)); goto ino_done; } else { switch (GetLastError ()) { case ERROR_INVALID_PARAMETER: /* older Windows version, or FAT */ case ERROR_INVALID_LEVEL: /* CIFS/SMB file system */ goto fallback; default: goto failed; } } } fallback: ; /* Fallback for older Windows versions. */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino._gl_ino[0] = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; buf->st_ino._gl_ino[1] = 0; ino_done: ; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; # endif #else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; #endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. If the file name is already known, use it. Otherwise, for non-empty files, it can be determined through GetFinalPathNameByHandle or through GetFileInformationByHandleEx with argument FileNameInfo Both require -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { char fpath[PATH_MAX]; if (path != NULL || (GetFinalPathNameByHandleFunc != NULL && GetFinalPathNameByHandleFunc (h, fpath, sizeof (fpath), VOLUME_NAME_NONE) < sizeof (fpath) && (path = fpath, 1))) { const char *last_dot = NULL; const char *p; for (p = path; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } else /* Cannot determine file name. Pretend that it is executable. */ mode |= S_IEXEC_UGO; } } buf->st_mode = mode; /* st_nlink can be determined through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ buf->st_nlink = (info.nNumberOfLinks > SHRT_MAX ? SHRT_MAX : info.nNumberOfLinks); /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size can be determined through GetFileSizeEx or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime can be determined through GetFileTime or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); #else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); #endif return 0; } else if (type == FILE_TYPE_CHAR || type == FILE_TYPE_PIPE) { buf->st_dev = 0; #if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; #else buf->st_ino = 0; #endif buf->st_mode = (type == FILE_TYPE_PIPE ? _S_IFIFO : _S_IFCHR); buf->st_nlink = 1; buf->st_uid = 0; buf->st_gid = 0; buf->st_rdev = 0; if (type == FILE_TYPE_PIPE) { /* PeekNamedPipe */ DWORD bytes_available; if (PeekNamedPipe (h, NULL, 0, NULL, &bytes_available, NULL)) buf->st_size = bytes_available; else buf->st_size = 0; } else buf->st_size = 0; #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim.tv_sec = 0; buf->st_atim.tv_nsec = 0; buf->st_mtim.tv_sec = 0; buf->st_mtim.tv_nsec = 0; buf->st_ctim.tv_sec = 0; buf->st_ctim.tv_nsec = 0; #else buf->st_atime = 0; buf->st_mtime = 0; buf->st_ctime = 0; #endif return 0; } else { errno = ENOENT; return -1; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "_gl_fstat_by_handle error 0x%x\n", (unsigned int) error); #endif switch (error) { case ERROR_ACCESS_DENIED: case ERROR_SHARING_VIOLATION: errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; default: errno = EINVAL; break; } return -1; } } #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif gsasl-1.8.1/lib/gltests/sched.in.h0000644000000000000000000000512713516251667013641 00000000000000/* A GNU-like . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _@GUARD_PREFIX@_SCHED_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_SCHED_H@ # if @HAVE_SYS_CDEFS_H@ # include # endif # @INCLUDE_NEXT@ @NEXT_SCHED_H@ #endif #ifndef _@GUARD_PREFIX@_SCHED_H #define _@GUARD_PREFIX@_SCHED_H /* Get pid_t. This is needed on glibc 2.11 (see glibc bug ) and Mac OS X 10.5. */ #include #ifdef __KLIBC__ /* On OS/2 kLIBC, struct sched_param is in spawn.h. */ # include #endif #ifdef __VMS /* On OpenVMS, struct sched_param is in . */ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !@HAVE_STRUCT_SCHED_PARAM@ # if !GNULIB_defined_struct_sched_param struct sched_param { int sched_priority; }; # define GNULIB_defined_struct_sched_param 1 # endif #endif #if !(defined SCHED_FIFO && defined SCHED_RR && defined SCHED_OTHER) # define SCHED_FIFO 1 # define SCHED_RR 2 # define SCHED_OTHER 0 #endif #if @GNULIB_SCHED_YIELD@ # if @REPLACE_SCHED_YIELD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sched_yield # define sched_yield rpl_sched_yield # endif _GL_FUNCDECL_RPL (sched_yield, int, (void)); _GL_CXXALIAS_RPL (sched_yield, int, (void)); # else # if !@HAVE_SCHED_YIELD@ _GL_FUNCDECL_SYS (sched_yield, int, (void)); # endif _GL_CXXALIAS_SYS (sched_yield, int, (void)); # endif _GL_CXXALIASWARN (sched_yield); #elif defined GNULIB_POSIXCHECK # undef sched_yield # if HAVE_RAW_DECL_SCHED_YIELD _GL_WARN_ON_USE (sched_yield, "sched_yield is not portable - " "use gnulib module sched_yield for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SCHED_H */ #endif /* _@GUARD_PREFIX@_SCHED_H */ gsasl-1.8.1/lib/gltests/test-verify-try.c0000644000000000000000000000162013516251670015222 00000000000000/* Test the "verify" module. Copyright (C) 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* This is a separate source file, so that the execution of test-verify.sh does not interfere with the building of the 'test-verify' program. */ #include "test-verify.c" gsasl-1.8.1/lib/gltests/putenv.c0000644000000000000000000001170613516251667013462 00000000000000/* Copyright (C) 1991, 1994, 1997-1998, 2000, 2003-2019 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. 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 3 of the License, or 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, see . */ #include /* Specification. */ #include #include /* Include errno.h *after* sys/types.h to work around header problems on AIX 3.2.5. */ #include #ifndef __set_errno # define __set_errno(ev) ((errno) = (ev)) #endif #include #include #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include #endif #if _LIBC # if HAVE_GNU_LD # define environ __environ # else extern char **environ; # endif #endif #if _LIBC /* This lock protects against simultaneous modifications of 'environ'. */ # include __libc_lock_define_initialized (static, envlock) # define LOCK __libc_lock_lock (envlock) # define UNLOCK __libc_lock_unlock (envlock) #else # define LOCK # define UNLOCK #endif static int _unsetenv (const char *name) { size_t len; #if !HAVE_DECL__PUTENV char **ep; #endif if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) { __set_errno (EINVAL); return -1; } len = strlen (name); #if HAVE_DECL__PUTENV { int putenv_result, putenv_errno; char *name_ = malloc (len + 2); memcpy (name_, name, len); name_[len] = '='; name_[len + 1] = 0; putenv_result = _putenv (name_); putenv_errno = errno; free (name_); __set_errno (putenv_errno); return putenv_result; } #else LOCK; ep = environ; while (*ep != NULL) if (!strncmp (*ep, name, len) && (*ep)[len] == '=') { /* Found it. Remove this pointer by moving later ones back. */ char **dp = ep; do dp[0] = dp[1]; while (*dp++); /* Continue the loop in case NAME appears again. */ } else ++ep; UNLOCK; return 0; #endif } /* Put STRING, which is of the form "NAME=VALUE", in the environment. If STRING contains no '=', then remove STRING from the environment. */ int putenv (char *string) { const char *name_end = strchr (string, '='); char **ep; if (name_end == NULL) { /* Remove the variable from the environment. */ return _unsetenv (string); } #if HAVE_DECL__PUTENV /* Rely on _putenv to allocate the new environment. If other parts of the application use _putenv, the !HAVE_DECL__PUTENV code would fight over who owns the environ vector, causing a crash. */ if (name_end[1]) return _putenv (string); else { /* _putenv ("NAME=") unsets NAME, so invoke _putenv ("NAME= ") to allocate the environ vector and then replace the new entry with "NAME=". */ int putenv_result, putenv_errno; char *name_x = malloc (name_end - string + sizeof "= "); if (!name_x) return -1; memcpy (name_x, string, name_end - string + 1); name_x[name_end - string + 1] = ' '; name_x[name_end - string + 2] = 0; putenv_result = _putenv (name_x); putenv_errno = errno; for (ep = environ; *ep; ep++) if (strcmp (*ep, name_x) == 0) { *ep = string; break; } # if defined _WIN32 && ! defined __CYGWIN__ if (putenv_result == 0) { /* _putenv propagated "NAME= " into the subprocess environment; fix that by calling SetEnvironmentVariable directly. */ name_x[name_end - string] = 0; putenv_result = SetEnvironmentVariable (name_x, "") ? 0 : -1; putenv_errno = ENOMEM; /* ENOMEM is the only way to fail. */ } # endif free (name_x); __set_errno (putenv_errno); return putenv_result; } #else for (ep = environ; *ep; ep++) if (strncmp (*ep, string, name_end - string) == 0 && (*ep)[name_end - string] == '=') break; if (*ep) *ep = string; else { static char **last_environ = NULL; size_t size = ep - environ; char **new_environ = malloc ((size + 2) * sizeof *new_environ); if (! new_environ) return -1; new_environ[0] = string; memcpy (new_environ + 1, environ, (size + 1) * sizeof *new_environ); free (last_environ); last_environ = new_environ; environ = new_environ; } return 0; #endif } gsasl-1.8.1/lib/gltests/c++defs.h0000644000000000000000000003413013516251666013353 00000000000000/* C++ compatible function declaration macros. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_CXXDEFS_H #define _GL_CXXDEFS_H /* Begin/end the GNULIB_NAMESPACE namespace. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { # define _GL_END_NAMESPACE } #else # define _GL_BEGIN_NAMESPACE # define _GL_END_NAMESPACE #endif /* The three most frequent use cases of these macros are: * For providing a substitute for a function that is missing on some platforms, but is declared and works fine on the platforms on which it exists: #if @GNULIB_FOO@ # if !@HAVE_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on all platforms, but is broken/insufficient and needs to be replaced on some platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on some platforms but is broken/insufficient and needs to be replaced on some of them and is additionally either missing or undeclared on some other platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif */ /* _GL_EXTERN_C declaration; performs the declaration with C linkage. */ #if defined __cplusplus # define _GL_EXTERN_C extern "C" #else # define _GL_EXTERN_C extern #endif /* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); declares a replacement function, named rpl_func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype rpl_func parameters_and_attributes /* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); declares the system function, named func, with the given prototype, consisting of return type, parameters, and attributes. Example: _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); */ #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C rettype func parameters_and_attributes /* _GL_CXXALIAS_RPL (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to rpl_func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); Wrapping rpl_func in an object with an inline conversion operator avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is actually used in the program. */ #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::rpl_func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); except that the C function rpl_func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::rpl_func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to the system provided function func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); Wrapping func in an object with an inline conversion operator avoids a reference to func unless GNULIB_NAMESPACE::func is actually used in the program. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function is picked among a set of overloaded functions, namely the one with rettype2 and parameters2. Two consecutive casts are used to silence the "cannot find a match" and "invalid conversion" errors that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE /* The outer cast must be a reinterpret_cast. The inner cast: When the function is defined as a set of overloaded functions, it works as a static_cast<>, choosing the designated variant. When the function is defined as a single variant, it works as a reinterpret_cast<>. The parenthesized cast syntax works both ways. */ # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast((rettype2 (*) parameters2)(::func)); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN (func); causes a warning to be emitted when ::func is used but not when GNULIB_NAMESPACE::func is used. func must be defined without overloaded variants. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN(func) \ _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) # define _GL_CXXALIASWARN_1(func,namespace) \ _GL_CXXALIASWARN_2 (func, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_WARN_ON_USE (func, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN_2(func,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN(func) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); causes a warning to be emitted when the given overloaded variant of ::func is used but not when GNULIB_NAMESPACE::func is used. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ GNULIB_NAMESPACE) # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !__OPTIMIZE__ # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif #endif /* _GL_CXXDEFS_H */ gsasl-1.8.1/lib/gltests/test-ftell3.c0000644000000000000000000000402413516251667014302 00000000000000/* Test of ftell() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include #include #include "macros.h" #define TESTFILE "t-ftell3.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) goto skip; if (fwrite ("foogarsh", 1, 8, fp) < 8) goto skip; if (fclose (fp)) goto skip; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) goto skip; if (fseek (fp, -1, SEEK_END)) goto skip; ASSERT (getc (fp) == 'h'); ASSERT (getc (fp) == EOF); ASSERT (ftell (fp) == 8); ASSERT (ftell (fp) == 8); ASSERT (putc ('!', fp) == '!'); ASSERT (ftell (fp) == 9); ASSERT (fclose (fp) == 0); fp = fopen (TESTFILE, "r"); if (fp == NULL) goto skip; { char buf[10]; ASSERT (fread (buf, 1, 10, fp) == 9); ASSERT (memcmp (buf, "foogarsh!", 9) == 0); } ASSERT (fclose (fp) == 0); /* The file's contents is now "foogarsh!". */ remove (TESTFILE); return 0; skip: fprintf (stderr, "Skipping test: prerequisite file operations failed.\n"); remove (TESTFILE); return 77; } gsasl-1.8.1/lib/gltests/test-thread_create.c0000644000000000000000000000405213516251670015676 00000000000000/* Test of gl_thread_create () macro. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include "glthread/thread.h" #include #include #include "macros.h" static gl_thread_t main_thread_before; static gl_thread_t main_thread_after; static gl_thread_t worker_thread; static int dummy; static volatile int work_done; static void * worker_thread_func (void *arg) { work_done = 1; return &dummy; } int main () { main_thread_before = gl_thread_self (); if (glthread_create (&worker_thread, worker_thread_func, NULL) == 0) { void *ret; /* Check that gl_thread_self () has the same value before than after the first call to gl_thread_create (). */ main_thread_after = gl_thread_self (); ASSERT (memcmp (&main_thread_before, &main_thread_after, sizeof (gl_thread_t)) == 0); gl_thread_join (worker_thread, &ret); /* Check the return value of the thread. */ ASSERT (ret == &dummy); /* Check that worker_thread_func () has finished executing. */ ASSERT (work_done); return 0; } else { #if USE_POSIX_THREADS || USE_WINDOWS_THREADS fputs ("glthread_create failed\n", stderr); return 1; #else fputs ("Skipping test: multithreading not enabled\n", stderr); return 77; #endif } } gsasl-1.8.1/lib/gltests/test-lstat.h0000644000000000000000000000765113516251667014256 00000000000000/* Test of lstat() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson, 2008; and Eric Blake, 2009. */ /* This file is designed to test both lstat(n,buf) and fstatat(AT_FDCWD,n,buf,AT_SYMLINK_NOFOLLOW). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static int test_lstat_func (int (*func) (char const *, struct stat *), bool print) { struct stat st1; struct stat st2; /* Test for common directories. */ ASSERT (func (".", &st1) == 0); ASSERT (func ("./", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); ASSERT (func ("/", &st1) == 0); ASSERT (func ("///", &st2) == 0); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); ASSERT (func ("..", &st1) == 0); ASSERT (S_ISDIR (st1.st_mode)); /* Test for error conditions. */ errno = 0; ASSERT (func ("", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch", &st1) == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nosuch/", &st1) == -1); ASSERT (errno == ENOENT); ASSERT (close (creat (BASE "file", 0600)) == 0); ASSERT (func (BASE "file", &st1) == 0); ASSERT (S_ISREG (st1.st_mode)); errno = 0; ASSERT (func (BASE "file/", &st1) == -1); ASSERT (errno == ENOTDIR); /* Now for some symlink tests, where supported. We set up: link1 -> directory link2 -> file link3 -> dangling link4 -> loop then test behavior both with and without trailing slash. */ if (symlink (".", BASE "link1") != 0) { ASSERT (unlink (BASE "file") == 0); if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } ASSERT (symlink (BASE "file", BASE "link2") == 0); ASSERT (symlink (BASE "nosuch", BASE "link3") == 0); ASSERT (symlink (BASE "link4", BASE "link4") == 0); ASSERT (func (BASE "link1", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); ASSERT (func (BASE "link1/", &st1) == 0); ASSERT (stat (BASE "link1", &st2) == 0); ASSERT (S_ISDIR (st1.st_mode)); ASSERT (S_ISDIR (st2.st_mode)); #if !(defined _WIN32 && !defined __CYGWIN__ && !_GL_WINDOWS_STAT_INODES) ASSERT (SAME_INODE (st1, st2)); #endif ASSERT (func (BASE "link2", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); errno = 0; ASSERT (func (BASE "link2/", &st1) == -1); ASSERT (errno == ENOTDIR); ASSERT (func (BASE "link3", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); errno = 0; ASSERT (func (BASE "link3/", &st1) == -1); ASSERT (errno == ENOENT); ASSERT (func (BASE "link4", &st1) == 0); ASSERT (S_ISLNK (st1.st_mode)); errno = 0; ASSERT (func (BASE "link4/", &st1) == -1); ASSERT (errno == ELOOP); /* Cleanup. */ ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link1") == 0); ASSERT (unlink (BASE "link2") == 0); ASSERT (unlink (BASE "link3") == 0); ASSERT (unlink (BASE "link4") == 0); return 0; } gsasl-1.8.1/lib/gltests/arpa_inet.in.h0000644000000000000000000001174713516251666014521 00000000000000/* A GNU-like . Copyright (C) 2005-2006, 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #ifndef _@GUARD_PREFIX@_ARPA_INET_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_FEATURES_H@ # include /* for __GLIBC__ */ #endif /* Gnulib's sys/socket.h is responsible for defining socklen_t (used below) and for pulling in winsock2.h etc. under MinGW. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* On NonStop Kernel, inet_ntop and inet_pton are declared in . But avoid namespace pollution on glibc systems. */ #if defined __TANDEM && !defined __GLIBC__ # include #endif #if @HAVE_ARPA_INET_H@ /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_ARPA_INET_H@ #endif #ifndef _@GUARD_PREFIX@_ARPA_INET_H #define _@GUARD_PREFIX@_ARPA_INET_H /* Get all possible declarations of inet_ntop() and inet_pton(). */ #if (@GNULIB_INET_NTOP@ || @GNULIB_INET_PTON@ || defined GNULIB_POSIXCHECK) \ && @HAVE_WS2TCPIP_H@ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if @GNULIB_INET_NTOP@ /* Converts an internet address from internal format to a printable, presentable format. AF is an internet address family, such as AF_INET or AF_INET6. SRC points to a 'struct in_addr' (for AF_INET) or 'struct in6_addr' (for AF_INET6). DST points to a buffer having room for CNT bytes. The printable representation of the address (in numeric form, not surrounded by [...], no reverse DNS is done) is placed in DST, and DST is returned. If an error occurs, the return value is NULL and errno is set. If CNT bytes are not sufficient to hold the result, the return value is NULL and errno is set to ENOSPC. A good value for CNT is 46. For more details, see the POSIX:2001 specification . */ # if @REPLACE_INET_NTOP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef inet_ntop # define inet_ntop rpl_inet_ntop # endif _GL_FUNCDECL_RPL (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt)); # else # if !@HAVE_DECL_INET_NTOP@ _GL_FUNCDECL_SYS (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt) _GL_ARG_NONNULL ((2, 3))); # endif /* Need to cast, because on NonStop Kernel, the fourth parameter is size_t cnt. */ _GL_CXXALIAS_SYS_CAST (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt)); # endif _GL_CXXALIASWARN (inet_ntop); #elif defined GNULIB_POSIXCHECK # undef inet_ntop # if HAVE_RAW_DECL_INET_NTOP _GL_WARN_ON_USE (inet_ntop, "inet_ntop is unportable - " "use gnulib module inet_ntop for portability"); # endif #endif #if @GNULIB_INET_PTON@ # if @REPLACE_INET_PTON@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef inet_pton # define inet_pton rpl_inet_pton # endif _GL_FUNCDECL_RPL (inet_pton, int, (int af, const char *restrict src, void *restrict dst) _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (inet_pton, int, (int af, const char *restrict src, void *restrict dst)); # else # if !@HAVE_DECL_INET_PTON@ _GL_FUNCDECL_SYS (inet_pton, int, (int af, const char *restrict src, void *restrict dst) _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (inet_pton, int, (int af, const char *restrict src, void *restrict dst)); # endif _GL_CXXALIASWARN (inet_pton); #elif defined GNULIB_POSIXCHECK # undef inet_pton # if HAVE_RAW_DECL_INET_PTON _GL_WARN_ON_USE (inet_pton, "inet_pton is unportable - " "use gnulib module inet_pton for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_ARPA_INET_H */ #endif /* _@GUARD_PREFIX@_ARPA_INET_H */ gsasl-1.8.1/lib/gltests/test-ftell.sh0000755000000000000000000000021613516251667014411 00000000000000#!/bin/sh ${CHECKER} ./test-ftell${EXEEXT} 1 < "$srcdir/test-ftell.sh" || exit 1 echo hi | ${CHECKER} ./test-ftell${EXEEXT} || exit 1 exit 0 gsasl-1.8.1/lib/gltests/test-strverscmp.c0000644000000000000000000000356013516251672015321 00000000000000/* Test of strverscmp() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (strverscmp, int, (const char *, const char *)); #include "macros.h" int main (void) { ASSERT (strverscmp ("", "") == 0); ASSERT (strverscmp ("a", "a") == 0); ASSERT (strverscmp ("a", "b") < 0); ASSERT (strverscmp ("b", "a") > 0); ASSERT (strverscmp ("000", "00") < 0); ASSERT (strverscmp ("00", "000") > 0); ASSERT (strverscmp ("a0", "a") > 0); ASSERT (strverscmp ("00", "01") < 0); ASSERT (strverscmp ("01", "010") < 0); ASSERT (strverscmp ("010", "09") < 0); ASSERT (strverscmp ("09", "0") < 0); ASSERT (strverscmp ("9", "10") < 0); ASSERT (strverscmp ("0a", "0") > 0); /* From glibc bug 9913. */ { static char const a[] = "B0075022800016.gbp.corp.com"; static char const b[] = "B007502280067.gbp.corp.com"; static char const c[] = "B007502357019.GBP.CORP.COM"; ASSERT (strverscmp (a, b) < 0); ASSERT (strverscmp (b, c) < 0); ASSERT (strverscmp (a, c) < 0); ASSERT (strverscmp (b, a) > 0); ASSERT (strverscmp (c, b) > 0); ASSERT (strverscmp (c, a) > 0); } return 0; } gsasl-1.8.1/lib/gltests/bench-digest.h0000644000000000000000000000535413516251666014503 00000000000000/* * Copyright (C) 2018-2019 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 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, see . */ #include #include #include #include struct timings_state { /* Filled when the timings start. */ struct timeval real_start; struct timeval user_start; struct timeval sys_start; /* Filled when the timings end. */ long real_usec; long user_usec; long sys_usec; }; static void timing_start (struct timings_state *ts) { struct rusage usage; getrusage (RUSAGE_SELF, &usage); ts->user_start = usage.ru_utime; ts->sys_start = usage.ru_stime; gettimeofday (&ts->real_start, NULL); } static void timing_end (struct timings_state *ts) { struct timeval real_end; struct rusage usage; gettimeofday (&real_end, NULL); getrusage (RUSAGE_SELF, &usage); ts->real_usec = (real_end.tv_sec - ts->real_start.tv_sec) * 1000000 + real_end.tv_usec - ts->real_start.tv_usec; ts->user_usec = (usage.ru_utime.tv_sec - ts->user_start.tv_sec) * 1000000 + usage.ru_utime.tv_usec - ts->user_start.tv_usec; ts->sys_usec = (usage.ru_stime.tv_sec - ts->sys_start.tv_sec) * 1000000 + usage.ru_stime.tv_usec - ts->sys_start.tv_usec; } static void timing_output (const struct timings_state *ts) { printf ("real %10.6f\n", (double)ts->real_usec / 1000000.0); printf ("user %7.3f\n", (double)ts->user_usec / 1000000.0); printf ("sys %7.3f\n", (double)ts->sys_usec / 1000000.0); } int main (int argc, char *argv[]) { if (argc != 3) { fprintf (stderr, "Usage: %s SIZE REPETITIONS\n", argv[0]); exit (1); } size_t size = atol (argv[1]); int repeat = atoi (argv[2]); char *memblock = (char *) malloc (size); /* Fill the memory block. */ { size_t i; for (i = 0; i < size; i++) memblock[i] = (unsigned char) (((i * (i-1) * (i-5)) >> 6) + (i % 499) + (i % 101)); } struct timings_state ts; timing_start (&ts); int count; for (count = 0; count < repeat; count++) { char digest[64]; FUNC (memblock, size, digest); } timing_end (&ts); timing_output (&ts); return 0; } gsasl-1.8.1/lib/gltests/test-fseek2.sh0000755000000000000000000000012013516251667014454 00000000000000#!/bin/sh exec ${CHECKER} ./test-fseek${EXEEXT} 1 2 < "$srcdir/test-fseek2.sh" gsasl-1.8.1/lib/gltests/macros.h0000644000000000000000000000673113516251671013427 00000000000000/* Common macros used by gnulib tests. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* This file contains macros that are used by many gnulib tests. Put here only frequently used macros, say, used by 10 tests or more. */ #include #include #ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif #endif /* Define ASSERT_STREAM before including this file if ASSERT must target a stream other than stderr. */ #ifndef ASSERT_STREAM # define ASSERT_STREAM stderr #endif /* ASSERT (condition); verifies that the specified condition is fulfilled. If not, a message is printed to ASSERT_STREAM if defined (defaulting to stderr if undefined) and the program is terminated with an error code. This macro has the following properties: - The programmer specifies the expected condition, not the failure condition. This simplifies thinking. - The condition is tested always, regardless of compilation flags. (Unlike the macro from .) - On Unix platforms, the tester can debug the test program with a debugger (provided core dumps are enabled: "ulimit -c unlimited"). - For the sake of platforms where no debugger is available (such as some mingw systems), an error message is printed on the error stream that includes the source location of the ASSERT invocation. */ #define ASSERT(expr) \ do \ { \ if (!(expr)) \ { \ fprintf (ASSERT_STREAM, "%s:%d: assertion '%s' failed\n", \ __FILE__, __LINE__, #expr); \ fflush (ASSERT_STREAM); \ abort (); \ } \ } \ while (0) /* SIZEOF (array) returns the number of elements of an array. It works for arrays that are declared outside functions and for local variables of array type. It does *not* work for function parameters of array type, because they are actually parameters of pointer type. */ #define SIZEOF(array) (sizeof (array) / sizeof (array[0])) /* STREQ (str1, str2) Return true if two strings compare equal. */ #define STREQ(a, b) (strcmp (a, b) == 0) /* Some numbers in the interval [0,1). */ extern const float randomf[1000]; extern const double randomd[1000]; extern const long double randoml[1000]; gsasl-1.8.1/lib/gltests/test-ftello4.c0000644000000000000000000000340213516251667014461 00000000000000/* Test of ftello() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include #include #include "macros.h" int main (int argc, char **argv) { const char *filename = argv[1]; /* Test that ftello() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "r"); ASSERT (fp != NULL); setvbuf (fp, NULL, _IONBF, 0); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (ftello (fp) == (off_t)-1); ASSERT (errno == EBADF); fclose (fp); } /* Test that ftello() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { errno = 0; ASSERT (ftello (fp) == (off_t)-1); ASSERT (errno == EBADF); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { errno = 0; ASSERT (ftello (fp) == (off_t)-1); ASSERT (errno == EBADF); fclose (fp); } } return 0; } gsasl-1.8.1/lib/gltests/test-wchar.c0000644000000000000000000000213613516251672014213 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that the types wchar_t and wint_t are defined. */ wchar_t a = 'c'; wint_t b = 'x'; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); int main (void) { return 0; } gsasl-1.8.1/lib/gltests/signal.in.h0000644000000000000000000003464713516251667014041 00000000000000/* A GNU-like . Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_sig_atomic_t || defined __need_sigset_t || defined _GL_ALREADY_INCLUDING_SIGNAL_H || (defined _SIGNAL_H && !defined __SIZEOF_PTHREAD_MUTEX_T) /* Special invocation convention: - Inside glibc header files. - On glibc systems we have a sequence of nested includes -> -> . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. - On glibc systems with GCC 4.3 we have a sequence of nested includes -> -> -> . In this situation, some of the functions are not yet declared, therefore we cannot provide the C++ aliases. */ # @INCLUDE_NEXT@ @NEXT_SIGNAL_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SIGNAL_H #define _GL_ALREADY_INCLUDING_SIGNAL_H /* Define pid_t, uid_t. Also, mingw defines sigset_t not in , but in . On Solaris 10, includes , which eventually includes us; so include now, before the second inclusion guard. */ #include /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SIGNAL_H@ #undef _GL_ALREADY_INCLUDING_SIGNAL_H #ifndef _@GUARD_PREFIX@_SIGNAL_H #define _@GUARD_PREFIX@_SIGNAL_H /* Mac OS X 10.3, FreeBSD 6.4, OpenBSD 3.8, OSF/1 4.0, Solaris 2.6, Android declare pthread_sigmask in , not in . But avoid namespace pollution on glibc systems.*/ #if (@GNULIB_PTHREAD_SIGMASK@ || defined GNULIB_POSIXCHECK) \ && ((defined __APPLE__ && defined __MACH__) \ || defined __FreeBSD__ || defined __OpenBSD__ || defined __osf__ \ || defined __sun || defined __ANDROID__) \ && ! defined __GLIBC__ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* On AIX, sig_atomic_t already includes volatile. C99 requires that 'volatile sig_atomic_t' ignore the extra modifier, but C89 did not. Hence, redefine this to a non-volatile type as needed. */ #if ! @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ # if !GNULIB_defined_sig_atomic_t typedef int rpl_sig_atomic_t; # undef sig_atomic_t # define sig_atomic_t rpl_sig_atomic_t # define GNULIB_defined_sig_atomic_t 1 # endif #endif /* A set or mask of signals. */ #if !@HAVE_SIGSET_T@ # if !GNULIB_defined_sigset_t typedef unsigned int sigset_t; # define GNULIB_defined_sigset_t 1 # endif #endif /* Define sighandler_t, the type of signal handlers. A GNU extension. */ #if !@HAVE_SIGHANDLER_T@ # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_sighandler_t typedef void (*sighandler_t) (int); # define GNULIB_defined_sighandler_t 1 # endif # ifdef __cplusplus } # endif #endif #if @GNULIB_SIGNAL_H_SIGPIPE@ # ifndef SIGPIPE /* Define SIGPIPE to a value that does not overlap with other signals. */ # define SIGPIPE 13 # define GNULIB_defined_SIGPIPE 1 /* To actually use SIGPIPE, you also need the gnulib modules 'sigprocmask', 'write', 'stdio'. */ # endif #endif /* Maximum signal number + 1. */ #ifndef NSIG # if defined __TANDEM # define NSIG 32 # endif #endif #if @GNULIB_PTHREAD_SIGMASK@ # if @REPLACE_PTHREAD_SIGMASK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_sigmask # define pthread_sigmask rpl_pthread_sigmask # endif _GL_FUNCDECL_RPL (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); _GL_CXXALIAS_RPL (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # else # if !(@HAVE_PTHREAD_SIGMASK@ || defined pthread_sigmask) _GL_FUNCDECL_SYS (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # endif _GL_CXXALIAS_SYS (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # endif _GL_CXXALIASWARN (pthread_sigmask); #elif defined GNULIB_POSIXCHECK # undef pthread_sigmask # if HAVE_RAW_DECL_PTHREAD_SIGMASK _GL_WARN_ON_USE (pthread_sigmask, "pthread_sigmask is not portable - " "use gnulib module pthread_sigmask for portability"); # endif #endif #if @GNULIB_RAISE@ # if @REPLACE_RAISE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef raise # define raise rpl_raise # endif _GL_FUNCDECL_RPL (raise, int, (int sig)); _GL_CXXALIAS_RPL (raise, int, (int sig)); # else # if !@HAVE_RAISE@ _GL_FUNCDECL_SYS (raise, int, (int sig)); # endif _GL_CXXALIAS_SYS (raise, int, (int sig)); # endif _GL_CXXALIASWARN (raise); #elif defined GNULIB_POSIXCHECK # undef raise /* Assume raise is always declared. */ _GL_WARN_ON_USE (raise, "raise can crash on native Windows - " "use gnulib module raise for portability"); #endif #if @GNULIB_SIGPROCMASK@ # if !@HAVE_POSIX_SIGNALBLOCKING@ # ifndef GNULIB_defined_signal_blocking # define GNULIB_defined_signal_blocking 1 # endif /* Maximum signal number + 1. */ # ifndef NSIG # define NSIG 32 # endif /* This code supports only 32 signals. */ # if !GNULIB_defined_verify_NSIG_constraint typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1]; # define GNULIB_defined_verify_NSIG_constraint 1 # endif # endif /* When also using extern inline, suppress the use of static inline in standard headers of problematic Apple configurations, as Libc at least through Libc-825.26 (2013-04-09) mishandles it; see, e.g., . Perhaps Apple will fix this some day. */ #if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \ && (defined __i386__ || defined __x86_64__)) # undef sigaddset # undef sigdelset # undef sigemptyset # undef sigfillset # undef sigismember #endif /* Test whether a given signal is contained in a signal set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigismember # endif # else _GL_FUNCDECL_SYS (sigismember, int, (const sigset_t *set, int sig) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigismember, int, (const sigset_t *set, int sig)); _GL_CXXALIASWARN (sigismember); /* Initialize a signal set to the empty set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigemptyset # endif # else _GL_FUNCDECL_SYS (sigemptyset, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigemptyset, int, (sigset_t *set)); _GL_CXXALIASWARN (sigemptyset); /* Add a signal to a signal set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigaddset # endif # else _GL_FUNCDECL_SYS (sigaddset, int, (sigset_t *set, int sig) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigaddset, int, (sigset_t *set, int sig)); _GL_CXXALIASWARN (sigaddset); /* Remove a signal from a signal set. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigdelset # endif # else _GL_FUNCDECL_SYS (sigdelset, int, (sigset_t *set, int sig) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigdelset, int, (sigset_t *set, int sig)); _GL_CXXALIASWARN (sigdelset); /* Fill a signal set with all possible signals. */ # if @HAVE_POSIX_SIGNALBLOCKING@ /* This function is defined as a macro on Mac OS X. */ # if defined __cplusplus && defined GNULIB_NAMESPACE # undef sigfillset # endif # else _GL_FUNCDECL_SYS (sigfillset, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigfillset, int, (sigset_t *set)); _GL_CXXALIASWARN (sigfillset); /* Return the set of those blocked signals that are pending. */ # if !@HAVE_POSIX_SIGNALBLOCKING@ _GL_FUNCDECL_SYS (sigpending, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (sigpending, int, (sigset_t *set)); _GL_CXXALIASWARN (sigpending); /* If OLD_SET is not NULL, put the current set of blocked signals in *OLD_SET. Then, if SET is not NULL, affect the current set of blocked signals by combining it with *SET as indicated in OPERATION. In this implementation, you are not allowed to change a signal handler while the signal is blocked. */ # if !@HAVE_POSIX_SIGNALBLOCKING@ # define SIG_BLOCK 0 /* blocked_set = blocked_set | *set; */ # define SIG_SETMASK 1 /* blocked_set = *set; */ # define SIG_UNBLOCK 2 /* blocked_set = blocked_set & ~*set; */ _GL_FUNCDECL_SYS (sigprocmask, int, (int operation, const sigset_t *set, sigset_t *old_set)); # endif _GL_CXXALIAS_SYS (sigprocmask, int, (int operation, const sigset_t *set, sigset_t *old_set)); _GL_CXXALIASWARN (sigprocmask); /* Install the handler FUNC for signal SIG, and return the previous handler. */ # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_function_taking_int_returning_void_t typedef void (*_gl_function_taking_int_returning_void_t) (int); # define GNULIB_defined_function_taking_int_returning_void_t 1 # endif # ifdef __cplusplus } # endif # if !@HAVE_POSIX_SIGNALBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define signal rpl_signal # endif _GL_FUNCDECL_RPL (signal, _gl_function_taking_int_returning_void_t, (int sig, _gl_function_taking_int_returning_void_t func)); _GL_CXXALIAS_RPL (signal, _gl_function_taking_int_returning_void_t, (int sig, _gl_function_taking_int_returning_void_t func)); # else _GL_CXXALIAS_SYS (signal, _gl_function_taking_int_returning_void_t, (int sig, _gl_function_taking_int_returning_void_t func)); # endif _GL_CXXALIASWARN (signal); # if !@HAVE_POSIX_SIGNALBLOCKING@ && GNULIB_defined_SIGPIPE /* Raise signal SIGPIPE. */ _GL_EXTERN_C int _gl_raise_SIGPIPE (void); # endif #elif defined GNULIB_POSIXCHECK # undef sigaddset # if HAVE_RAW_DECL_SIGADDSET _GL_WARN_ON_USE (sigaddset, "sigaddset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigdelset # if HAVE_RAW_DECL_SIGDELSET _GL_WARN_ON_USE (sigdelset, "sigdelset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigemptyset # if HAVE_RAW_DECL_SIGEMPTYSET _GL_WARN_ON_USE (sigemptyset, "sigemptyset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigfillset # if HAVE_RAW_DECL_SIGFILLSET _GL_WARN_ON_USE (sigfillset, "sigfillset is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigismember # if HAVE_RAW_DECL_SIGISMEMBER _GL_WARN_ON_USE (sigismember, "sigismember is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigpending # if HAVE_RAW_DECL_SIGPENDING _GL_WARN_ON_USE (sigpending, "sigpending is unportable - " "use the gnulib module sigprocmask for portability"); # endif # undef sigprocmask # if HAVE_RAW_DECL_SIGPROCMASK _GL_WARN_ON_USE (sigprocmask, "sigprocmask is unportable - " "use the gnulib module sigprocmask for portability"); # endif #endif /* @GNULIB_SIGPROCMASK@ */ #if @GNULIB_SIGACTION@ # if !@HAVE_SIGACTION@ # if !@HAVE_SIGINFO_T@ # if !GNULIB_defined_siginfo_types /* Present to allow compilation, but unsupported by gnulib. */ union sigval { int sival_int; void *sival_ptr; }; /* Present to allow compilation, but unsupported by gnulib. */ struct siginfo_t { int si_signo; int si_code; int si_errno; pid_t si_pid; uid_t si_uid; void *si_addr; int si_status; long si_band; union sigval si_value; }; typedef struct siginfo_t siginfo_t; # define GNULIB_defined_siginfo_types 1 # endif # endif /* !@HAVE_SIGINFO_T@ */ /* We assume that platforms which lack the sigaction() function also lack the 'struct sigaction' type, and vice versa. */ # if !GNULIB_defined_struct_sigaction struct sigaction { union { void (*_sa_handler) (int); /* Present to allow compilation, but unsupported by gnulib. POSIX says that implementations may, but not must, make sa_sigaction overlap with sa_handler, but we know of no implementation where they do not overlap. */ void (*_sa_sigaction) (int, siginfo_t *, void *); } _sa_func; sigset_t sa_mask; /* Not all POSIX flags are supported. */ int sa_flags; }; # define sa_handler _sa_func._sa_handler # define sa_sigaction _sa_func._sa_sigaction /* Unsupported flags are not present. */ # define SA_RESETHAND 1 # define SA_NODEFER 2 # define SA_RESTART 4 # define GNULIB_defined_struct_sigaction 1 # endif _GL_FUNCDECL_SYS (sigaction, int, (int, const struct sigaction *restrict, struct sigaction *restrict)); # elif !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ # define sa_sigaction sa_handler # endif /* !@HAVE_SIGACTION@, !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ */ _GL_CXXALIAS_SYS (sigaction, int, (int, const struct sigaction *restrict, struct sigaction *restrict)); _GL_CXXALIASWARN (sigaction); #elif defined GNULIB_POSIXCHECK # undef sigaction # if HAVE_RAW_DECL_SIGACTION _GL_WARN_ON_USE (sigaction, "sigaction is unportable - " "use the gnulib module sigaction for portability"); # endif #endif /* Some systems don't have SA_NODEFER. */ #ifndef SA_NODEFER # define SA_NODEFER 0 #endif #endif /* _@GUARD_PREFIX@_SIGNAL_H */ #endif /* _@GUARD_PREFIX@_SIGNAL_H */ #endif gsasl-1.8.1/lib/gltests/test-byteswap.c0000644000000000000000000000172613516251667014755 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "macros.h" int main () { ASSERT (bswap_16 (0xABCD) == 0xCDAB); ASSERT (bswap_32 (0xDEADBEEF) == 0xEFBEADDE); return 0; } gsasl-1.8.1/lib/gltests/test-intprops.c0000644000000000000000000004420313516251671014765 00000000000000/* Test intprops.h. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert. */ /* Tell gcc not to warn about the long expressions that the overflow macros expand to, or about the (X < 0) expressions. */ #if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) # pragma GCC diagnostic ignored "-Woverlength-strings" # pragma GCC diagnostic ignored "-Wtype-limits" /* Work around a bug in GCC 6.1 and earlier; see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68971 */ # pragma GCC diagnostic ignored "-Woverflow" #endif #include #include "intprops.h" #include "verify.h" #include #include #include #include "macros.h" /* Compile-time verification of expression X. In this file, we need it as a statement, rather than as a declaration. */ #define verify_stmt(x) do { verify (x); } while (0) /* VERIFY (X) uses a static assertion for compilers that are known to work, and falls back on a dynamic assertion for other compilers. These tests should be checkable via 'verify' rather than 'ASSERT', but using 'verify' would run into a bug with HP-UX 11.23 cc; see . */ #if __GNUC__ || __SUNPRO_C # define VERIFY(x) verify_stmt (x) #else # define VERIFY(x) ASSERT (x) #endif #define DONTCARE __LINE__ int main (void) { /* Use VERIFY for tests that must be integer constant expressions, ASSERT otherwise. */ /* TYPE_IS_INTEGER. */ ASSERT (TYPE_IS_INTEGER (bool)); ASSERT (TYPE_IS_INTEGER (char)); ASSERT (TYPE_IS_INTEGER (signed char)); ASSERT (TYPE_IS_INTEGER (unsigned char)); ASSERT (TYPE_IS_INTEGER (short int)); ASSERT (TYPE_IS_INTEGER (unsigned short int)); ASSERT (TYPE_IS_INTEGER (int)); ASSERT (TYPE_IS_INTEGER (unsigned int)); ASSERT (TYPE_IS_INTEGER (long int)); ASSERT (TYPE_IS_INTEGER (unsigned long int)); ASSERT (TYPE_IS_INTEGER (intmax_t)); ASSERT (TYPE_IS_INTEGER (uintmax_t)); ASSERT (! TYPE_IS_INTEGER (float)); ASSERT (! TYPE_IS_INTEGER (double)); ASSERT (! TYPE_IS_INTEGER (long double)); /* TYPE_SIGNED. */ /* VERIFY (! TYPE_SIGNED (bool)); // not guaranteed by gnulib substitute */ VERIFY (TYPE_SIGNED (signed char)); VERIFY (! TYPE_SIGNED (unsigned char)); VERIFY (TYPE_SIGNED (short int)); VERIFY (! TYPE_SIGNED (unsigned short int)); VERIFY (TYPE_SIGNED (int)); VERIFY (! TYPE_SIGNED (unsigned int)); VERIFY (TYPE_SIGNED (long int)); VERIFY (! TYPE_SIGNED (unsigned long int)); VERIFY (TYPE_SIGNED (intmax_t)); VERIFY (! TYPE_SIGNED (uintmax_t)); ASSERT (TYPE_SIGNED (float)); ASSERT (TYPE_SIGNED (double)); ASSERT (TYPE_SIGNED (long double)); /* Integer representation. Check that it is two's complement. */ VERIFY (INT_MIN + INT_MAX < 0); /* TYPE_MINIMUM, TYPE_MAXIMUM. */ VERIFY (TYPE_MINIMUM (char) == CHAR_MIN); VERIFY (TYPE_MAXIMUM (char) == CHAR_MAX); VERIFY (TYPE_MINIMUM (unsigned char) == 0); VERIFY (TYPE_MAXIMUM (unsigned char) == UCHAR_MAX); VERIFY (TYPE_MINIMUM (signed char) == SCHAR_MIN); VERIFY (TYPE_MAXIMUM (signed char) == SCHAR_MAX); VERIFY (TYPE_MINIMUM (short int) == SHRT_MIN); VERIFY (TYPE_MAXIMUM (short int) == SHRT_MAX); VERIFY (TYPE_MINIMUM (unsigned short int) == 0); VERIFY (TYPE_MAXIMUM (unsigned short int) == USHRT_MAX); VERIFY (TYPE_MINIMUM (int) == INT_MIN); VERIFY (TYPE_MAXIMUM (int) == INT_MAX); VERIFY (TYPE_MINIMUM (unsigned int) == 0); VERIFY (TYPE_MAXIMUM (unsigned int) == UINT_MAX); VERIFY (TYPE_MINIMUM (long int) == LONG_MIN); VERIFY (TYPE_MAXIMUM (long int) == LONG_MAX); VERIFY (TYPE_MINIMUM (unsigned long int) == 0); VERIFY (TYPE_MAXIMUM (unsigned long int) == ULONG_MAX); #ifdef LLONG_MAX verify_stmt (TYPE_MINIMUM (long long int) == LLONG_MIN); verify_stmt (TYPE_MAXIMUM (long long int) == LLONG_MAX); verify_stmt (TYPE_MINIMUM (unsigned long long int) == 0); verify_stmt (TYPE_MAXIMUM (unsigned long long int) == ULLONG_MAX); #endif VERIFY (TYPE_MINIMUM (intmax_t) == INTMAX_MIN); VERIFY (TYPE_MAXIMUM (intmax_t) == INTMAX_MAX); VERIFY (TYPE_MINIMUM (uintmax_t) == 0); VERIFY (TYPE_MAXIMUM (uintmax_t) == UINTMAX_MAX); /* TYPE_WIDTH. */ #ifdef CHAR_WIDTH verify_stmt (TYPE_WIDTH (char) == CHAR_WIDTH); verify_stmt (TYPE_WIDTH (signed char) == SCHAR_WIDTH); verify_stmt (TYPE_WIDTH (unsigned char) == UCHAR_WIDTH); verify_stmt (TYPE_WIDTH (short int) == SHRT_WIDTH); verify_stmt (TYPE_WIDTH (unsigned short int) == USHRT_WIDTH); verify_stmt (TYPE_WIDTH (int) == INT_WIDTH); verify_stmt (TYPE_WIDTH (unsigned int) == UINT_WIDTH); verify_stmt (TYPE_WIDTH (long int) == LONG_WIDTH); verify_stmt (TYPE_WIDTH (unsigned long int) == ULONG_WIDTH); #ifdef LLONG_WIDTH verify_stmt (TYPE_WIDTH (long long int) == LLONG_WIDTH); verify_stmt (TYPE_WIDTH (unsigned long long int) == ULLONG_WIDTH); #endif #endif /* INT_BITS_STRLEN_BOUND. */ VERIFY (INT_BITS_STRLEN_BOUND (1) == 1); VERIFY (INT_BITS_STRLEN_BOUND (2620) == 789); /* INT_STRLEN_BOUND, INT_BUFSIZE_BOUND. */ #ifdef INT32_MAX /* POSIX guarantees int32_t; this ports to non-POSIX. */ VERIFY (INT_STRLEN_BOUND (int32_t) == sizeof ("-2147483648") - 1); VERIFY (INT_BUFSIZE_BOUND (int32_t) == sizeof ("-2147483648")); #endif #ifdef INT64_MAX VERIFY (INT_STRLEN_BOUND (int64_t) == sizeof ("-9223372036854775808") - 1); VERIFY (INT_BUFSIZE_BOUND (int64_t) == sizeof ("-9223372036854775808")); #endif /* All the INT__RANGE_OVERFLOW tests are equally valid as INT__OVERFLOW tests, so define macros to do both. OP is the operation, OPNAME its symbolic name, A and B its operands, T the result type, V the overflow flag, and VRES the result if V and if two's complement. CHECK_BINOP is for most binary operatinos, CHECK_SBINOP for binary +, -, * when the result type is signed, and CHECK_UNOP for unary operations. */ #define CHECK_BINOP(op, opname, a, b, t, v, vres) \ VERIFY (INT_##opname##_RANGE_OVERFLOW (a, b, TYPE_MINIMUM (t), \ TYPE_MAXIMUM (t)) \ == (v)); \ VERIFY (INT_##opname##_OVERFLOW (a, b) == (v)) #define CHECK_SBINOP(op, opname, a, b, t, v, vres) \ CHECK_BINOP(op, opname, a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_##opname##_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) op (b)))); \ } #define CHECK_UNOP(op, opname, a, t, v) \ VERIFY (INT_##opname##_RANGE_OVERFLOW (a, TYPE_MINIMUM (t), \ TYPE_MAXIMUM (t)) \ == (v)); \ VERIFY (INT_##opname##_OVERFLOW (a) == (v)) /* INT__RANGE_OVERFLOW, INT__OVERFLOW. */ VERIFY (INT_ADD_RANGE_OVERFLOW (INT_MAX, 1, INT_MIN, INT_MAX)); VERIFY (INT_ADD_OVERFLOW (INT_MAX, 1)); CHECK_SBINOP (+, ADD, INT_MAX, 1, int, true, INT_MIN); CHECK_SBINOP (+, ADD, INT_MAX, -1, int, false, INT_MAX - 1); CHECK_SBINOP (+, ADD, INT_MIN, 1, int, false, INT_MIN + 1); CHECK_SBINOP (+, ADD, INT_MIN, -1, int, true, INT_MAX); CHECK_BINOP (+, ADD, UINT_MAX, 1u, unsigned int, true, 0u); CHECK_BINOP (+, ADD, 0u, 1u, unsigned int, false, 1u); CHECK_SBINOP (-, SUBTRACT, INT_MAX, 1, int, false, INT_MAX - 1); CHECK_SBINOP (-, SUBTRACT, INT_MAX, -1, int, true, INT_MIN); CHECK_SBINOP (-, SUBTRACT, INT_MIN, 1, int, true, INT_MAX); CHECK_SBINOP (-, SUBTRACT, INT_MIN, -1, int, false, INT_MIN - -1); CHECK_BINOP (-, SUBTRACT, UINT_MAX, 1u, unsigned int, false, UINT_MAX - 1u); CHECK_BINOP (-, SUBTRACT, 0u, 1u, unsigned int, true, 0u - 1u); CHECK_UNOP (-, NEGATE, INT_MIN, int, true); CHECK_UNOP (-, NEGATE, 0, int, false); CHECK_UNOP (-, NEGATE, INT_MAX, int, false); CHECK_UNOP (-, NEGATE, 0u, unsigned int, false); CHECK_UNOP (-, NEGATE, 1u, unsigned int, true); CHECK_UNOP (-, NEGATE, UINT_MAX, unsigned int, true); CHECK_SBINOP (*, MULTIPLY, INT_MAX, INT_MAX, int, true, 1); CHECK_SBINOP (*, MULTIPLY, INT_MAX, INT_MIN, int, true, INT_MIN); CHECK_SBINOP (*, MULTIPLY, INT_MIN, INT_MAX, int, true, INT_MIN); CHECK_SBINOP (*, MULTIPLY, INT_MIN, INT_MIN, int, true, 0); CHECK_SBINOP (*, MULTIPLY, -1, INT_MIN, int, INT_NEGATE_OVERFLOW (INT_MIN), INT_MIN); CHECK_SBINOP (*, MULTIPLY, LONG_MIN / INT_MAX, (long int) INT_MAX, long int, false, LONG_MIN - LONG_MIN % INT_MAX); CHECK_BINOP (/, DIVIDE, INT_MIN, -1, int, INT_NEGATE_OVERFLOW (INT_MIN), INT_MIN); CHECK_BINOP (/, DIVIDE, INT_MAX, 1, int, false, INT_MAX); CHECK_BINOP (/, DIVIDE, (unsigned int) INT_MIN, -1u, unsigned int, false, INT_MIN / -1u); CHECK_BINOP (%, REMAINDER, INT_MIN, -1, int, INT_NEGATE_OVERFLOW (INT_MIN), 0); CHECK_BINOP (%, REMAINDER, INT_MAX, 1, int, false, 0); CHECK_BINOP (%, REMAINDER, (unsigned int) INT_MIN, -1u, unsigned int, false, INT_MIN % -1u); CHECK_BINOP (<<, LEFT_SHIFT, UINT_MAX, 1, unsigned int, true, UINT_MAX << 1); CHECK_BINOP (<<, LEFT_SHIFT, UINT_MAX / 2 + 1, 1, unsigned int, true, (UINT_MAX / 2 + 1) << 1); CHECK_BINOP (<<, LEFT_SHIFT, UINT_MAX / 2, 1, unsigned int, false, (UINT_MAX / 2) << 1); /* INT__OVERFLOW and INT__WRAPV with mixed types. */ #define CHECK_SUM(a, b, t, v, vres) \ CHECK_SUM1(a, b, t, v, vres); \ CHECK_SUM1(b, a, t, v, vres) #define CHECK_SSUM(a, b, t, v, vres) \ CHECK_SSUM1(a, b, t, v, vres); \ CHECK_SSUM1(b, a, t, v, vres) #define CHECK_SUM1(a, b, t, v, vres) \ VERIFY (INT_ADD_OVERFLOW (a, b) == (v)) #define CHECK_SSUM1(a, b, t, v, vres) \ CHECK_SUM1(a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_ADD_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) + (b)))); \ } CHECK_SSUM (-1, LONG_MIN, long int, true, LONG_MAX); CHECK_SUM (-1, UINT_MAX, unsigned int, false, DONTCARE); CHECK_SSUM (-1L, INT_MIN, long int, INT_MIN == LONG_MIN, INT_MIN == LONG_MIN ? INT_MAX : DONTCARE); CHECK_SUM (0u, -1, unsigned int, true, 0u + -1); CHECK_SUM (0u, 0, unsigned int, false, DONTCARE); CHECK_SUM (0u, 1, unsigned int, false, DONTCARE); CHECK_SSUM (1, LONG_MAX, long int, true, LONG_MIN); CHECK_SUM (1, UINT_MAX, unsigned int, true, 0u); CHECK_SSUM (1L, INT_MAX, long int, INT_MAX == LONG_MAX, INT_MAX == LONG_MAX ? INT_MIN : DONTCARE); CHECK_SUM (1u, INT_MAX, unsigned int, INT_MAX == UINT_MAX, 1u + INT_MAX); CHECK_SUM (1u, INT_MIN, unsigned int, true, 1u + INT_MIN); { long int result; ASSERT (INT_ADD_WRAPV (1, INT_MAX, &result) == (INT_MAX == LONG_MAX)); ASSERT (INT_ADD_WRAPV (-1, INT_MIN, &result) == (INT_MIN == LONG_MIN)); } #define CHECK_DIFFERENCE(a, b, t, v, vres) \ VERIFY (INT_SUBTRACT_OVERFLOW (a, b) == (v)) #define CHECK_SDIFFERENCE(a, b, t, v, vres) \ CHECK_DIFFERENCE(a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_SUBTRACT_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) - (b)))); \ } CHECK_DIFFERENCE (INT_MAX, 1u, unsigned int, UINT_MAX < INT_MAX - 1, INT_MAX - 1u); CHECK_DIFFERENCE (UINT_MAX, 1, unsigned int, false, UINT_MAX - 1); CHECK_DIFFERENCE (0u, -1, unsigned int, false, 0u - -1); CHECK_DIFFERENCE (UINT_MAX, -1, unsigned int, true, UINT_MAX - -1); CHECK_DIFFERENCE (INT_MIN, 1u, unsigned int, true, INT_MIN - 1u); CHECK_DIFFERENCE (-1, 0u, unsigned int, true, -1 - 0u); CHECK_SDIFFERENCE (-1, INT_MIN, int, false, -1 - INT_MIN); CHECK_SDIFFERENCE (-1, INT_MAX, int, false, -1 - INT_MAX); CHECK_SDIFFERENCE (0, INT_MIN, int, INT_MIN < -INT_MAX, INT_MIN); CHECK_SDIFFERENCE (0, INT_MAX, int, false, 0 - INT_MAX); { long int result; ASSERT (INT_SUBTRACT_WRAPV (INT_MAX, -1, &result) == (INT_MAX == LONG_MAX)); ASSERT (INT_SUBTRACT_WRAPV (INT_MIN, 1, &result) == (INT_MAX == LONG_MAX)); } #define CHECK_PRODUCT(a, b, t, v, vres) \ CHECK_PRODUCT1(a, b, t, v, vres); \ CHECK_PRODUCT1(b, a, t, v, vres) #define CHECK_SPRODUCT(a, b, t, v, vres) \ CHECK_SPRODUCT1(a, b, t, v, vres); \ CHECK_SPRODUCT1(b, a, t, v, vres) #define CHECK_PRODUCT1(a, b, t, v, vres) \ VERIFY (INT_MULTIPLY_OVERFLOW (a, b) == (v)) #define CHECK_SPRODUCT1(a, b, t, v, vres) \ CHECK_PRODUCT1(a, b, t, v, vres); \ { \ t result; \ ASSERT (INT_MULTIPLY_WRAPV (a, b, &result) == (v)); \ ASSERT (result == ((v) ? (vres) : ((a) * (b)))); \ } CHECK_PRODUCT (-1, 1u, unsigned int, true, -1 * 1u); CHECK_SPRODUCT (-1, INT_MIN, int, INT_NEGATE_OVERFLOW (INT_MIN), INT_MIN); CHECK_PRODUCT (-1, UINT_MAX, unsigned int, true, -1 * UINT_MAX); CHECK_SPRODUCT (-32768, LONG_MAX / -32768 - 1, long int, true, LONG_MIN); CHECK_SPRODUCT (-12345, LONG_MAX / -12345, long int, false, DONTCARE); CHECK_SPRODUCT (0, -1, int, false, DONTCARE); CHECK_SPRODUCT (0, 0, int, false, DONTCARE); CHECK_PRODUCT (0, 0u, unsigned int, false, DONTCARE); CHECK_SPRODUCT (0, 1, int, false, DONTCARE); CHECK_SPRODUCT (0, INT_MAX, int, false, DONTCARE); CHECK_SPRODUCT (0, INT_MIN, int, false, DONTCARE); CHECK_PRODUCT (0, UINT_MAX, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, -1, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, 0, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, 0u, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, 1, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, INT_MAX, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, INT_MIN, unsigned int, false, DONTCARE); CHECK_PRODUCT (0u, UINT_MAX, unsigned int, false, DONTCARE); CHECK_SPRODUCT (1, INT_MAX, int, false, DONTCARE); CHECK_SPRODUCT (1, INT_MIN, int, false, DONTCARE); CHECK_PRODUCT (1, UINT_MAX, unsigned int, false, DONTCARE); CHECK_PRODUCT (1u, INT_MIN, unsigned int, true, 1u * INT_MIN); CHECK_PRODUCT (1u, INT_MAX, unsigned int, UINT_MAX < INT_MAX, 1u * INT_MAX); CHECK_PRODUCT (INT_MAX, UINT_MAX, unsigned int, true, INT_MAX * UINT_MAX); CHECK_PRODUCT (INT_MAX, ULONG_MAX, unsigned long int, true, INT_MAX * ULONG_MAX); CHECK_SPRODUCT (INT_MIN, LONG_MAX / INT_MIN - 1, long int, true, LONG_MIN); CHECK_SPRODUCT (INT_MIN, LONG_MAX / INT_MIN, long int, false, DONTCARE); CHECK_PRODUCT (INT_MIN, UINT_MAX, unsigned int, true, INT_MIN * UINT_MAX); CHECK_PRODUCT (INT_MIN, ULONG_MAX, unsigned long int, true, INT_MIN * ULONG_MAX); { long int result; ASSERT (INT_MULTIPLY_WRAPV (INT_MAX, INT_MAX, &result) == (LONG_MAX / INT_MAX < INT_MAX)); ASSERT (INT_MULTIPLY_WRAPV (INT_MAX, INT_MAX, &result) || result == INT_MAX * (long int) INT_MAX); ASSERT (INT_MULTIPLY_WRAPV (INT_MIN, INT_MIN, &result) || result == INT_MIN * (long int) INT_MIN); } # ifdef LLONG_MAX { long long int result; ASSERT (INT_MULTIPLY_WRAPV (LONG_MAX, LONG_MAX, &result) == (LLONG_MAX / LONG_MAX < LONG_MAX)); ASSERT (INT_MULTIPLY_WRAPV (LONG_MAX, LONG_MAX, &result) || result == LONG_MAX * (long long int) LONG_MAX); ASSERT (INT_MULTIPLY_WRAPV (LONG_MIN, LONG_MIN, &result) || result == LONG_MIN * (long long int) LONG_MIN); } # endif #define CHECK_QUOTIENT(a, b, v) VERIFY (INT_DIVIDE_OVERFLOW (a, b) == (v)) CHECK_QUOTIENT (INT_MIN, -1L, INT_MIN == LONG_MIN); CHECK_QUOTIENT (INT_MIN, UINT_MAX, false); CHECK_QUOTIENT (INTMAX_MIN, UINTMAX_MAX, false); CHECK_QUOTIENT (INTMAX_MIN, UINT_MAX, false); CHECK_QUOTIENT (-11, 10u, true); CHECK_QUOTIENT (-10, 10u, true); CHECK_QUOTIENT (-9, 10u, false); CHECK_QUOTIENT (11u, -10, true); CHECK_QUOTIENT (10u, -10, true); CHECK_QUOTIENT (9u, -10, false); #define CHECK_REMAINDER(a, b, v) VERIFY (INT_REMAINDER_OVERFLOW (a, b) == (v)) CHECK_REMAINDER (INT_MIN, -1L, INT_MIN == LONG_MIN); CHECK_REMAINDER (-1, UINT_MAX, true); CHECK_REMAINDER ((intmax_t) -1, UINTMAX_MAX, true); CHECK_REMAINDER (INTMAX_MIN, UINT_MAX, (INTMAX_MAX < UINT_MAX && - (unsigned int) INTMAX_MIN % UINT_MAX != 0)); CHECK_REMAINDER (INT_MIN, ULONG_MAX, INT_MIN % ULONG_MAX != 1); CHECK_REMAINDER (1u, -1, false); CHECK_REMAINDER (37*39u, -39, false); CHECK_REMAINDER (37*39u + 1, -39, true); CHECK_REMAINDER (37*39u - 1, -39, true); CHECK_REMAINDER (LONG_MAX, -INT_MAX, false); return 0; } gsasl-1.8.1/lib/gltests/_Noreturn.h0000644000000000000000000000267313516251666014123 00000000000000/* A C macro for declaring that a function does not return. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER))) # define _Noreturn [[noreturn]] # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) /* _Noreturn works as-is. */ # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif gsasl-1.8.1/lib/gltests/test-sched.c0000644000000000000000000000230313516251667014175 00000000000000/* Test of substitute. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include /* Check that 'struct sched_param' is defined. */ static struct sched_param a; /* Check that the SCHED_* macros are defined and compile-time constants. */ int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER }; /* Check that the types are all defined. */ pid_t t1; static int f1; int main () { /* Check fields of 'struct sched_param'. */ f1 = a.sched_priority; return 0; } gsasl-1.8.1/lib/gltests/test-perror2.c0000644000000000000000000000675613516251667014522 00000000000000/* Test of perror() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include #include #include /* This test intentionally parses stderr. So, we arrange to have fd 10 (outside the range of interesting fd's during the test) set up to duplicate the original stderr. */ #define BACKUP_STDERR_FILENO 10 #define ASSERT_STREAM myerr #include "macros.h" static FILE *myerr; #define BASE "test-perror2" int main (void) { /* We change fd 2 later, so save it in fd 10. */ if (dup2 (STDERR_FILENO, BACKUP_STDERR_FILENO) != BACKUP_STDERR_FILENO || (myerr = fdopen (BACKUP_STDERR_FILENO, "w")) == NULL) return 2; ASSERT (freopen (BASE ".tmp", "w+", stderr) == stderr); /* Test that perror does not clobber strerror buffer. */ { const char *msg1; const char *msg2; const char *msg3; const char *msg4; char *str1; char *str2; char *str3; char *str4; msg1 = strerror (ENOENT); ASSERT (msg1); str1 = strdup (msg1); ASSERT (str1); msg2 = strerror (ERANGE); ASSERT (msg2); str2 = strdup (msg2); ASSERT (str2); msg3 = strerror (-4); ASSERT (msg3); str3 = strdup (msg3); ASSERT (str3); msg4 = strerror (1729576); ASSERT (msg4); str4 = strdup (msg4); ASSERT (str4); errno = EACCES; perror (""); errno = -5; perror (""); ASSERT (!ferror (stderr)); ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1)); ASSERT (msg2 == msg4 || STREQ (msg2, str2)); ASSERT (msg3 == msg4 || STREQ (msg3, str3)); ASSERT (STREQ (msg4, str4)); free (str1); free (str2); free (str3); free (str4); } /* Test that perror uses the same message as strerror. */ { int errs[] = { EACCES, 0, -3, }; int i; for (i = 0; i < SIZEOF (errs); i++) { char buf[256]; char *err = strerror (errs[i]); ASSERT (err); ASSERT (strlen (err) < sizeof buf); rewind (stderr); ASSERT (ftruncate (fileno (stderr), 0) == 0); errno = errs[i]; perror (NULL); ASSERT (!ferror (stderr)); rewind (stderr); ASSERT (fgets (buf, sizeof buf, stderr) == buf); ASSERT (strstr (buf, err)); } } /* Test that perror reports write failure. */ { ASSERT (freopen (BASE ".tmp", "r", stderr) == stderr); ASSERT (setvbuf (stderr, NULL, _IONBF, BUFSIZ) == 0); errno = -1; ASSERT (!ferror (stderr)); perror (NULL); #if 0 /* Commented out until cygwin behaves: https://sourceware.org/ml/newlib/2011/msg00228.html */ ASSERT (errno > 0); /* Commented out until glibc behaves: https://sourceware.org/bugzilla/show_bug.cgi?id=12792 */ ASSERT (ferror (stderr)); #endif } ASSERT (fclose (stderr) == 0); ASSERT (remove (BASE ".tmp") == 0); return 0; } gsasl-1.8.1/lib/gltests/test-vasnprintf.c0000644000000000000000000000663713516251672015313 00000000000000/* Test of vasnprintf() and asnprintf() functions. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include "vasnprintf.h" #include #include #include #include "macros.h" static void test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...)) { char buf[8]; int size; for (size = 0; size <= 8; size++) { size_t length = size; char *result = my_asnprintf (NULL, &length, "%d", 12345); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); ASSERT (length == 5); free (result); } for (size = 0; size <= 8; size++) { size_t length; char *result; memcpy (buf, "DEADBEEF", 8); length = size; result = my_asnprintf (buf, &length, "%d", 12345); ASSERT (result != NULL); ASSERT (strcmp (result, "12345") == 0); ASSERT (length == 5); if (size < 5 + 1) ASSERT (result != buf); ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); if (result != buf) free (result); } /* Note: This test assumes IEEE 754 representation of 'double' floats. */ for (size = 0; size <= 8; size++) { size_t length; char *result; memcpy (buf, "DEADBEEF", 8); length = size; result = my_asnprintf (buf, &length, "%2.0f", 1.6314159265358979e+125); ASSERT (result != NULL); /* The exact result and the result on glibc systems is 163141592653589790215729350939528493057529598899734151772468186268423257777068536614838678161083520756952076273094236944990208 On Cygwin, the result is 163141592653589790215729350939528493057529600000000000000000000000000000000000000000000000000000000000000000000000000000000000 On HP-UX 11.31 / hppa and IRIX 6.5, the result is 163141592653589790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 */ ASSERT (strlen (result) == 126); ASSERT (memcmp (result, "163141592653589790", 18) == 0); ASSERT (length == 126); if (size < 126 + 1) ASSERT (result != buf); ASSERT (memcmp (buf + size, &"DEADBEEF"[size], 8 - size) == 0); if (result != buf) free (result); } } static char * my_asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) { va_list args; char *ret; va_start (args, format); ret = vasnprintf (resultbuf, lengthp, format, args); va_end (args); return ret; } static void test_vasnprintf () { test_function (my_asnprintf); } static void test_asnprintf () { test_function (asnprintf); } int main (int argc, char *argv[]) { test_vasnprintf (); test_asnprintf (); return 0; } gsasl-1.8.1/lib/gltests/windows-initguard.h0000644000000000000000000000225513516251670015615 00000000000000/* Init guards, somewhat like spinlocks (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_INITGUARD_H #define _WINDOWS_INITGUARD_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef struct { volatile int done; volatile LONG started; } glwthread_initguard_t; #define GLWTHREAD_INITGUARD_INIT { 0, -1 } #endif /* _WINDOWS_INITGUARD_H */ gsasl-1.8.1/lib/gltests/test-strerror.c0000644000000000000000000000371013516251670014766 00000000000000/* Test of strerror() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (strerror, char *, (int)); #include #include "macros.h" int main (void) { char *str; errno = 0; str = strerror (EACCES); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); errno = 0; str = strerror (ETIMEDOUT); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); errno = 0; str = strerror (EOVERFLOW); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); /* POSIX requires strerror (0) to succeed. Reject use of "Unknown error", but allow "Success", "No error", or even Solaris' "Error 0" which are distinct patterns from true out-of-range strings. http://austingroupbugs.net/view.php?id=382 */ errno = 0; str = strerror (0); ASSERT (str); ASSERT (*str); ASSERT (errno == 0); ASSERT (strstr (str, "nknown") == NULL); ASSERT (strstr (str, "ndefined") == NULL); /* POSIX requires strerror to produce a non-NULL result for all inputs; as an extension, we also guarantee a non-empty result. Reporting EINVAL is optional. */ errno = 0; str = strerror (-3); ASSERT (str); ASSERT (*str); ASSERT (errno == 0 || errno == EINVAL); return 0; } gsasl-1.8.1/lib/gltests/test-stat.c0000644000000000000000000000313413516251670014057 00000000000000/* Tests of stat. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include /* Caution: stat may be a function-like macro. Although this signature check must pass, it may be the signature of the real (and broken) stat rather than rpl_stat. Most code should not use the address of stat. */ #include "signature.h" SIGNATURE_CHECK (stat, int, (char const *, struct stat *)); #include #include #include #include #include #include #include "same-inode.h" #include "macros.h" #define BASE "test-stat.t" #include "test-stat.h" /* Wrapper around stat, which works even if stat is a function-like macro, where test_stat_func(stat) would do the wrong thing. */ static int do_stat (char const *name, struct stat *st) { return stat (name, st); } int main (void) { return test_stat_func (do_stat, true); } gsasl-1.8.1/lib/gltests/getrusage.c0000644000000000000000000000770513516251666014132 00000000000000/* getrusage replacement for systems which lack it. Copyright (C) 2012-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible, 2012. */ #include /* Specification. */ #include #include #include /* Get uint64_t. */ #include #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include #else # include # include #endif int getrusage (int who, struct rusage *usage_p) { if (who == RUSAGE_SELF || who == RUSAGE_CHILDREN) { /* Clear all unsupported members of 'struct rusage'. */ memset (usage_p, '\0', sizeof (struct rusage)); #if defined _WIN32 && ! defined __CYGWIN__ if (who == RUSAGE_SELF) { /* Fill in the ru_utime and ru_stime members. */ FILETIME creation_time; FILETIME exit_time; FILETIME kernel_time; FILETIME user_time; if (GetProcessTimes (GetCurrentProcess (), &creation_time, &exit_time, &kernel_time, &user_time)) { /* Convert to microseconds, rounding. */ uint64_t kernel_usec = ((((uint64_t) kernel_time.dwHighDateTime << 32) | (uint64_t) kernel_time.dwLowDateTime) + 5) / 10; uint64_t user_usec = ((((uint64_t) user_time.dwHighDateTime << 32) | (uint64_t) user_time.dwLowDateTime) + 5) / 10; usage_p->ru_utime.tv_sec = user_usec / 1000000U; usage_p->ru_utime.tv_usec = user_usec % 1000000U; usage_p->ru_stime.tv_sec = kernel_usec / 1000000U; usage_p->ru_stime.tv_usec = kernel_usec % 1000000U; } } #else /* Fill in the ru_utime and ru_stime members. */ { struct tms time; if (times (&time) != (clock_t) -1) { /* Number of clock ticks per second. */ unsigned int clocks_per_second = sysconf (_SC_CLK_TCK); if (clocks_per_second > 0) { clock_t user_ticks; clock_t system_ticks; uint64_t user_usec; uint64_t system_usec; if (who == RUSAGE_CHILDREN) { user_ticks = time.tms_cutime; system_ticks = time.tms_cstime; } else { user_ticks = time.tms_utime; system_ticks = time.tms_stime; } user_usec = (((uint64_t) user_ticks * (uint64_t) 1000000U) + clocks_per_second / 2) / clocks_per_second; system_usec = (((uint64_t) system_ticks * (uint64_t) 1000000U) + clocks_per_second / 2) / clocks_per_second; usage_p->ru_utime.tv_sec = user_usec / 1000000U; usage_p->ru_utime.tv_usec = user_usec % 1000000U; usage_p->ru_stime.tv_sec = system_usec / 1000000U; usage_p->ru_stime.tv_usec = system_usec % 1000000U; } } } #endif return 0; } else { errno = EINVAL; return -1; } } gsasl-1.8.1/lib/gltests/windows-once.h0000644000000000000000000000254113516251670014551 00000000000000/* Once-only control (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_ONCE_H #define _WINDOWS_ONCE_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef struct { volatile int inited; volatile LONG started; CRITICAL_SECTION lock; } glwthread_once_t; #define GLWTHREAD_ONCE_INIT { -1, -1 } #ifdef __cplusplus extern "C" { #endif extern void glwthread_once (glwthread_once_t *once_control, void (*initfunction) (void)); #ifdef __cplusplus } #endif #endif /* _WINDOWS_ONCE_H */ gsasl-1.8.1/lib/gltests/test-isblank.c0000644000000000000000000000305013516251667014532 00000000000000/* Test of isblank() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (isblank, int, (int)); #include #include #include "macros.h" int main (int argc, char *argv[]) { unsigned int c; /* Verify the property in the "C" locale. POSIX specifies in that - in all locales, the blank characters include the and characters, - in the "POSIX" locale (which is usually the same as the "C" locale), the blank characters include only the ASCII and characters. */ for (c = 0; c <= UCHAR_MAX; c++) ASSERT (!isblank (c) == !(c == ' ' || c == '\t')); ASSERT (!isblank (EOF)); return 0; } gsasl-1.8.1/lib/gltests/test-fcntl.c0000644000000000000000000002345013516251667014223 00000000000000/* Test of fcntl(2). Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include /* Specification. */ #include #include "signature.h" SIGNATURE_CHECK (fcntl, int, (int, int, ...)); /* Helpers. */ #include #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #endif #include "binary-io.h" #include "macros.h" #if !O_BINARY # define setmode(f,m) zero () static int zero (void) { return 0; } #endif /* Return true if FD is open. */ static bool is_open (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; #else # ifndef F_GETFL # error Please port fcntl to your platform # endif return 0 <= fcntl (fd, F_GETFL); #endif } /* Return true if FD is open and inheritable across exec/spawn. */ static bool is_inheritable (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ HANDLE h = (HANDLE) _get_osfhandle (fd); DWORD flags; if (h == INVALID_HANDLE_VALUE || GetHandleInformation (h, &flags) == 0) return false; return (flags & HANDLE_FLAG_INHERIT) != 0; #else # ifndef F_GETFD # error Please port fcntl to your platform # endif int i = fcntl (fd, F_GETFD); return 0 <= i && (i & FD_CLOEXEC) == 0; #endif } /* Return non-zero if FD is open in the given MODE, which is either O_TEXT or O_BINARY. */ static bool is_mode (int fd, int mode) { int value = setmode (fd, O_BINARY); setmode (fd, value); return mode == value; } /* Since native fcntl can have more supported operations than our replacement is aware of, and since various operations assign different types to the vararg argument, a wrapper around fcntl must be able to pass a vararg of unknown type on through to the original fcntl. Make sure that this works properly: func1 behaves like the original fcntl interpreting the vararg as an int or a pointer to a struct, and func2 behaves like rpl_fcntl that doesn't know what type to forward. */ struct dummy_struct { long filler; int value; }; static int func1 (int a, ...) { va_list arg; int i; va_start (arg, a); if (a < 4) i = va_arg (arg, int); else { struct dummy_struct *s = va_arg (arg, struct dummy_struct *); i = s->value; } va_end (arg); return i; } static int func2 (int a, ...) { va_list arg; void *p; va_start (arg, a); p = va_arg (arg, void *); va_end (arg); return func1 (a, p); } /* Ensure that all supported fcntl actions are distinct, and usable in preprocessor expressions. */ static void check_flags (void) { switch (0) { case F_DUPFD: #if F_DUPFD #endif case F_DUPFD_CLOEXEC: #if F_DUPFD_CLOEXEC #endif case F_GETFD: #if F_GETFD #endif #ifdef F_SETFD case F_SETFD: # if F_SETFD # endif #endif #ifdef F_GETFL case F_GETFL: # if F_GETFL # endif #endif #ifdef F_SETFL case F_SETFL: # if F_SETFL # endif #endif #ifdef F_GETOWN case F_GETOWN: # if F_GETOWN # endif #endif #ifdef F_SETOWN case F_SETOWN: # if F_SETOWN # endif #endif #ifdef F_GETLK case F_GETLK: # if F_GETLK # endif #endif #ifdef F_SETLK case F_SETLK: # if F_SETLK # endif #endif #ifdef F_SETLKW case F_SETLKW: # if F_SETLKW # endif #endif ; } } int main (void) { const char *file = "test-fcntl.tmp"; int fd; int bad_fd = getdtablesize (); /* Sanity check that rpl_fcntl is likely to work. */ ASSERT (func2 (1, 2) == 2); ASSERT (func2 (2, -2) == -2); ASSERT (func2 (3, 0x80000000) == 0x80000000); { struct dummy_struct s = { 0L, 4 }; ASSERT (func2 (4, &s) == 4); } check_flags (); /* Assume std descriptors were provided by invoker, and ignore fds that might have been inherited. */ fd = creat (file, 0600); ASSERT (STDERR_FILENO < fd); close (fd + 1); close (fd + 2); /* For F_DUPFD*, the source must be valid. */ errno = 0; ASSERT (fcntl (-1, F_DUPFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_DUPFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_DUPFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (-1, F_DUPFD_CLOEXEC, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_DUPFD_CLOEXEC, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_DUPFD_CLOEXEC, 0) == -1); ASSERT (errno == EBADF); /* For F_DUPFD*, the destination must be valid. */ errno = 0; ASSERT (fcntl (fd, F_DUPFD, -1) == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (fcntl (fd, F_DUPFD, bad_fd) == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, -1) == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, bad_fd) == -1); ASSERT (errno == EINVAL || errno == EMFILE /* WSL */); /* For F_DUPFD*, check for correct inheritance, as well as preservation of text vs. binary. */ setmode (fd, O_BINARY); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (!is_open (fd + 2)); ASSERT (is_inheritable (fd)); ASSERT (is_mode (fd, O_BINARY)); ASSERT (fcntl (fd, F_DUPFD, fd) == fd + 1); ASSERT (is_open (fd)); ASSERT (is_open (fd + 1)); ASSERT (!is_open (fd + 2)); ASSERT (is_inheritable (fd + 1)); ASSERT (is_mode (fd, O_BINARY)); ASSERT (is_mode (fd + 1, O_BINARY)); ASSERT (close (fd + 1) == 0); ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, fd + 2) == fd + 2); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (is_open (fd + 2)); ASSERT (is_inheritable (fd)); ASSERT (!is_inheritable (fd + 2)); ASSERT (is_mode (fd, O_BINARY)); ASSERT (is_mode (fd + 2, O_BINARY)); ASSERT (close (fd) == 0); setmode (fd + 2, O_TEXT); ASSERT (fcntl (fd + 2, F_DUPFD, fd + 1) == fd + 1); ASSERT (!is_open (fd)); ASSERT (is_open (fd + 1)); ASSERT (is_open (fd + 2)); ASSERT (is_inheritable (fd + 1)); ASSERT (!is_inheritable (fd + 2)); ASSERT (is_mode (fd + 1, O_TEXT)); ASSERT (is_mode (fd + 2, O_TEXT)); ASSERT (close (fd + 1) == 0); ASSERT (fcntl (fd + 2, F_DUPFD_CLOEXEC, 0) == fd); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (is_open (fd + 2)); ASSERT (!is_inheritable (fd)); ASSERT (!is_inheritable (fd + 2)); ASSERT (is_mode (fd, O_TEXT)); ASSERT (is_mode (fd + 2, O_TEXT)); ASSERT (close (fd + 2) == 0); /* Test F_GETFD on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_GETFD) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_GETFD) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_GETFD) == -1); ASSERT (errno == EBADF); /* Test F_GETFD, the FD_CLOEXEC bit. */ { int result = fcntl (fd, F_GETFD); ASSERT (0 <= result); ASSERT ((result & FD_CLOEXEC) == FD_CLOEXEC); ASSERT (dup (fd) == fd + 1); result = fcntl (fd + 1, F_GETFD); ASSERT (0 <= result); ASSERT ((result & FD_CLOEXEC) == 0); ASSERT (close (fd + 1) == 0); } #ifdef F_SETFD /* Test F_SETFD on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_SETFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_SETFD, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_SETFD, 0) == -1); ASSERT (errno == EBADF); #endif #ifdef F_GETFL /* Test F_GETFL on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_GETFL) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_GETFL) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_GETFL) == -1); ASSERT (errno == EBADF); #endif #ifdef F_SETFL /* Test F_SETFL on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_SETFL, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_SETFL, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_SETFL, 0) == -1); ASSERT (errno == EBADF); #endif #ifdef F_GETOWN /* Test F_GETOWN on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_GETOWN) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_GETOWN) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_GETOWN) == -1); ASSERT (errno == EBADF); #endif #ifdef F_SETOWN /* Test F_SETFL on invalid file descriptors. */ errno = 0; ASSERT (fcntl (-1, F_SETOWN, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (fd + 1, F_SETOWN, 0) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (fcntl (bad_fd, F_SETOWN, 0) == -1); ASSERT (errno == EBADF); #endif /* Cleanup. */ ASSERT (close (fd) == 0); ASSERT (unlink (file) == 0); return 0; } gsasl-1.8.1/lib/gltests/test-fflush.c0000644000000000000000000001217013516251667014401 00000000000000/* Test of POSIX compatible fflush() function. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake, 2007. */ #include /* None of the files accessed by this test are large, so disable the ftell link warning if we are not using the gnulib ftell module. */ #define _GL_NO_LARGE_FILES #include #include "signature.h" SIGNATURE_CHECK (fflush, int, (FILE *)); #include #include #include "macros.h" int main (void) { FILE *f; char buffer[10]; int fd; /* Create test file. */ f = fopen ("test-fflush.txt", "w"); if (!f || fwrite ("1234567890ABCDEFG", 1, 17, f) != 17 || fclose (f) != 0) { fputs ("Failed to create sample file.\n", stderr); unlink ("test-fflush.txt"); return 1; } /* Test fflush. */ f = fopen ("test-fflush.txt", "r"); ASSERT (f != NULL); fd = fileno (f); if (!f || 0 > fd || fread (buffer, 1, 5, f) != 5) { fputs ("Failed initial read of sample file.\n", stderr); if (f) fclose (f); unlink ("test-fflush.txt"); return 1; } /* For deterministic results, ensure f read a bigger buffer. This is not the case on BeOS, nor on uClibc. */ #if !(defined __BEOS__ || defined __UCLIBC__) if (lseek (fd, 0, SEEK_CUR) == 5) { fputs ("Sample file was not buffered after fread.\n", stderr); fclose (f); unlink ("test-fflush.txt"); return 1; } #endif /* POSIX requires fflush-fseek to set file offset of fd. */ if (fflush (f) != 0 || fseeko (f, 0, SEEK_CUR) != 0) { fputs ("Failed to flush-fseek sample file.\n", stderr); fclose (f); unlink ("test-fflush.txt"); return 1; } /* Check that offset is correct. */ if (lseek (fd, 0, SEEK_CUR) != 5) { fprintf (stderr, "File offset is wrong after fseek: %ld.\n", (long) lseek (fd, 0, SEEK_CUR)); fclose (f); unlink ("test-fflush.txt"); return 1; } if (ftell (f) != 5) { fprintf (stderr, "ftell result is wrong after fseek: %ld.\n", (long) ftell (f)); fclose (f); unlink ("test-fflush.txt"); return 1; } /* Check that file reading resumes at correct location. */ if (fgetc (f) != '6') { fputs ("Failed to read next byte after fseek.\n", stderr); fclose (f); unlink ("test-fflush.txt"); return 1; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 6) { fputs ("Sample file was not buffered after fgetc.\n", stderr); fclose (f); unlink ("test-fflush.txt"); return 1; } /* POSIX requires fflush-fseeko to set file offset of fd. */ if (fflush (f) != 0 || fseeko (f, 0, SEEK_CUR) != 0) { fputs ("Failed to flush-fseeko sample file.\n", stderr); fclose (f); unlink ("test-fflush.txt"); return 1; } /* Check that offset is correct. */ if (lseek (fd, 0, SEEK_CUR) != 6) { fprintf (stderr, "File offset is wrong after fseeko: %ld.\n", (long) lseek (fd, 0, SEEK_CUR)); fclose (f); unlink ("test-fflush.txt"); return 1; } if (ftell (f) != 6) { fprintf (stderr, "ftell result is wrong after fseeko: %ld.\n", (long) ftell (f)); fclose (f); unlink ("test-fflush.txt"); return 1; } /* Check that file reading resumes at correct location. */ if (fgetc (f) != '7') { fputs ("Failed to read next byte after fseeko.\n", stderr); fclose (f); unlink ("test-fflush.txt"); return 1; } fclose (f); /* Test that fflush() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen ("test-fflush.txt", "w"); ASSERT (fp != NULL); fputc ('x', fp); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fflush (fp) == EOF); ASSERT (errno == EBADF); fclose (fp); } /* Test that fflush() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { fputc ('x', fp); errno = 0; ASSERT (fflush (fp) == EOF); ASSERT (errno == EBADF); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { fputc ('x', fp); errno = 0; ASSERT (fflush (fp) == EOF); ASSERT (errno == EBADF); } } /* Clean up. */ unlink ("test-fflush.txt"); return 0; } gsasl-1.8.1/lib/gltests/windows-rwlock.c0000644000000000000000000002706413516251670015130 00000000000000/* Read-write locks (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-rwlock.h" #include #include /* In this file, the waitqueues are implemented as circular arrays. */ #define glwthread_waitqueue_t glwthread_carray_waitqueue_t static void glwthread_waitqueue_init (glwthread_waitqueue_t *wq) { wq->array = NULL; wq->count = 0; wq->alloc = 0; wq->offset = 0; } /* Enqueues the current thread, represented by an event, in a wait queue. Returns INVALID_HANDLE_VALUE if an allocation failure occurs. */ static HANDLE glwthread_waitqueue_add (glwthread_waitqueue_t *wq) { HANDLE event; unsigned int index; if (wq->count == wq->alloc) { unsigned int new_alloc = 2 * wq->alloc + 1; HANDLE *new_array = (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE)); if (new_array == NULL) /* No more memory. */ return INVALID_HANDLE_VALUE; /* Now is a good opportunity to rotate the array so that its contents starts at offset 0. */ if (wq->offset > 0) { unsigned int old_count = wq->count; unsigned int old_alloc = wq->alloc; unsigned int old_offset = wq->offset; unsigned int i; if (old_offset + old_count > old_alloc) { unsigned int limit = old_offset + old_count - old_alloc; for (i = 0; i < limit; i++) new_array[old_alloc + i] = new_array[i]; } for (i = 0; i < old_count; i++) new_array[i] = new_array[old_offset + i]; wq->offset = 0; } wq->array = new_array; wq->alloc = new_alloc; } /* Whether the created event is a manual-reset one or an auto-reset one, does not matter, since we will wait on it only once. */ event = CreateEvent (NULL, TRUE, FALSE, NULL); if (event == INVALID_HANDLE_VALUE) /* No way to allocate an event. */ return INVALID_HANDLE_VALUE; index = wq->offset + wq->count; if (index >= wq->alloc) index -= wq->alloc; wq->array[index] = event; wq->count++; return event; } /* Notifies the first thread from a wait queue and dequeues it. */ static void glwthread_waitqueue_notify_first (glwthread_waitqueue_t *wq) { SetEvent (wq->array[wq->offset + 0]); wq->offset++; wq->count--; if (wq->count == 0 || wq->offset == wq->alloc) wq->offset = 0; } /* Notifies all threads from a wait queue and dequeues them all. */ static void glwthread_waitqueue_notify_all (glwthread_waitqueue_t *wq) { unsigned int i; for (i = 0; i < wq->count; i++) { unsigned int index = wq->offset + i; if (index >= wq->alloc) index -= wq->alloc; SetEvent (wq->array[index]); } wq->count = 0; wq->offset = 0; } void glwthread_rwlock_init (glwthread_rwlock_t *lock) { InitializeCriticalSection (&lock->lock); glwthread_waitqueue_init (&lock->waiting_readers); glwthread_waitqueue_init (&lock->waiting_writers); lock->runcount = 0; lock->guard.done = 1; } int glwthread_rwlock_rdlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } EnterCriticalSection (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ HANDLE event = glwthread_waitqueue_add (&lock->waiting_readers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_readers, incremented lock->runcount. */ if (!(lock->runcount > 0)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount + 1 > 0)); } } lock->runcount++; LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_wrlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } EnterCriticalSection (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ HANDLE event = glwthread_waitqueue_add (&lock->waiting_writers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_writers, set lock->runcount = -1. */ if (!(lock->runcount == -1)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount == 0)); } } lock->runcount--; /* runcount becomes -1 */ LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_tryrdlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } /* It's OK to wait for this critical section, because it is never taken for a long time. */ EnterCriticalSection (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) { /* This thread would have to wait for a while. Return instead. */ LeaveCriticalSection (&lock->lock); return EBUSY; } lock->runcount++; LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_trywrlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } /* It's OK to wait for this critical section, because it is never taken for a long time. */ EnterCriticalSection (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread would have to wait for a while. Return instead. */ LeaveCriticalSection (&lock->lock); return EBUSY; } lock->runcount--; /* runcount becomes -1 */ LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_unlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; EnterCriticalSection (&lock->lock); if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) abort (); lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { LeaveCriticalSection (&lock->lock); return EPERM; } lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers.count > 0) { /* Wake up one of the waiting writers. */ lock->runcount--; glwthread_waitqueue_notify_first (&lock->waiting_writers); } else { /* Wake up all waiting readers. */ lock->runcount += lock->waiting_readers.count; glwthread_waitqueue_notify_all (&lock->waiting_readers); } } LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_destroy (glwthread_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; if (lock->runcount != 0) return EBUSY; DeleteCriticalSection (&lock->lock); if (lock->waiting_readers.array != NULL) free (lock->waiting_readers.array); if (lock->waiting_writers.array != NULL) free (lock->waiting_writers.array); lock->guard.done = 0; return 0; } gsasl-1.8.1/lib/gltests/test-verify.sh0000755000000000000000000000132513516251672014605 00000000000000#!/bin/sh . "${srcdir=.}/init.sh" # We are not interested in triggering bugs in the compilers and tools # (such as gcc 4.3.1 on openSUSE 11.0). unset MALLOC_PERTURB_ # Rather than figure out how to invoke the compiler with the right # include path ourselves, we let make do it: (cd "$initial_cwd_" \ && rm -f test-verify-try.o \ && $MAKE test-verify-try.o >/dev/null 2>&1) \ || skip_ "cannot compile error-free" # Now, prove that we encounter all expected compilation failures: : >out : >err for i in 1 2 3 4 5; do (cd "$initial_cwd_" rm -f test-verify-try.o $MAKE CFLAGS=-DEXP_FAIL=$i test-verify-try.o) >>out 2>>err \ && { warn_ "compiler didn't detect verification failure $i"; fail=1; } done Exit $fail gsasl-1.8.1/lib/gltests/sockets.c0000644000000000000000000001017113516251667013607 00000000000000/* sockets.c --- wrappers for Windows socket functions Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson */ #include /* Specification. */ #include "sockets.h" #if WINDOWS_SOCKETS /* This includes winsock2.h on MinGW. */ # include # include "fd-hook.h" # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif /* Get set_winsock_errno, FD_TO_SOCKET etc. */ # include "w32sock.h" static int close_fd_maybe_socket (const struct fd_hook *remaining_list, gl_close_fn primary, int fd) { /* Note about multithread-safety: There is a race condition where, between our calls to closesocket() and the primary close(), some other thread could make system calls that allocate precisely the same HANDLE value as sock; then the primary close() would call CloseHandle() on it. */ SOCKET sock; WSANETWORKEVENTS ev; /* Test whether fd refers to a socket. */ sock = FD_TO_SOCKET (fd); ev.lNetworkEvents = 0xDEADBEEF; WSAEnumNetworkEvents (sock, NULL, &ev); if (ev.lNetworkEvents != 0xDEADBEEF) { /* fd refers to a socket. */ /* FIXME: other applications, like squid, use an undocumented _free_osfhnd free function. But this is not enough: The 'osfile' flags for fd also needs to be cleared, but it is hard to access it. Instead, here we just close twice the file descriptor. */ if (closesocket (sock)) { set_winsock_errno (); return -1; } else { /* This call frees the file descriptor and does a CloseHandle ((HANDLE) _get_osfhandle (fd)), which fails. */ _close (fd); return 0; } } else /* Some other type of file descriptor. */ return execute_close_hooks (remaining_list, primary, fd); } static int ioctl_fd_maybe_socket (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg) { SOCKET sock; WSANETWORKEVENTS ev; /* Test whether fd refers to a socket. */ sock = FD_TO_SOCKET (fd); ev.lNetworkEvents = 0xDEADBEEF; WSAEnumNetworkEvents (sock, NULL, &ev); if (ev.lNetworkEvents != 0xDEADBEEF) { /* fd refers to a socket. */ if (ioctlsocket (sock, request, arg) < 0) { set_winsock_errno (); return -1; } else return 0; } else /* Some other type of file descriptor. */ return execute_ioctl_hooks (remaining_list, primary, fd, request, arg); } static struct fd_hook fd_sockets_hook; static int initialized_sockets_version /* = 0 */; #endif /* WINDOWS_SOCKETS */ int gl_sockets_startup (int version _GL_UNUSED) { #if WINDOWS_SOCKETS if (version > initialized_sockets_version) { WSADATA data; int err; err = WSAStartup (version, &data); if (err != 0) return 1; if (data.wVersion != version) { WSACleanup (); return 2; } if (initialized_sockets_version == 0) register_fd_hook (close_fd_maybe_socket, ioctl_fd_maybe_socket, &fd_sockets_hook); initialized_sockets_version = version; } #endif return 0; } int gl_sockets_cleanup (void) { #if WINDOWS_SOCKETS int err; initialized_sockets_version = 0; unregister_fd_hook (&fd_sockets_hook); err = WSACleanup (); if (err != 0) return 1; #endif return 0; } gsasl-1.8.1/lib/gltests/test-pipe.c0000644000000000000000000000524313516251667014052 00000000000000/* Test of pipe. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (pipe, int, (int[2])); #include #include #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #endif #include "binary-io.h" #include "macros.h" /* Return true if FD is open. */ static bool is_open (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; #else # ifndef F_GETFL # error Please port fcntl to your platform # endif return 0 <= fcntl (fd, F_GETFL); #endif } /* Return true if FD is not inherited to child processes. */ static bool is_cloexec (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ HANDLE h = (HANDLE) _get_osfhandle (fd); DWORD flags; ASSERT (GetHandleInformation (h, &flags)); return (flags & HANDLE_FLAG_INHERIT) == 0; #else int flags; ASSERT ((flags = fcntl (fd, F_GETFD)) >= 0); return (flags & FD_CLOEXEC) != 0; #endif } /* Return true if FD is in non-blocking mode. */ static bool is_nonblocking (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* We don't use the non-blocking mode for sockets here. */ return 0; #else int flags; ASSERT ((flags = fcntl (fd, F_GETFL)) >= 0); return (flags & O_NONBLOCK) != 0; #endif } int main () { int fd[2]; fd[0] = -1; fd[1] = -1; ASSERT (pipe (fd) >= 0); ASSERT (fd[0] >= 0); ASSERT (fd[1] >= 0); ASSERT (fd[0] != fd[1]); ASSERT (is_open (fd[0])); ASSERT (is_open (fd[1])); ASSERT (!is_cloexec (fd[0])); ASSERT (!is_cloexec (fd[1])); ASSERT (!is_nonblocking (fd[0])); ASSERT (!is_nonblocking (fd[1])); return 0; } gsasl-1.8.1/lib/gltests/symlink.c0000644000000000000000000000263213516251667013625 00000000000000/* Stub for symlink(). Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include #include #if HAVE_SYMLINK # undef symlink /* Create a symlink, but reject trailing slash. */ int rpl_symlink (char const *contents, char const *name) { size_t len = strlen (name); if (len && name[len - 1] == '/') { struct stat st; if (lstat (name, &st) == 0) errno = EEXIST; return -1; } return symlink (contents, name); } #else /* !HAVE_SYMLINK */ /* The system does not support symlinks. */ int symlink (char const *contents _GL_UNUSED, char const *name _GL_UNUSED) { errno = ENOSYS; return -1; } #endif /* !HAVE_SYMLINK */ gsasl-1.8.1/lib/gltests/xalloc-oversized.h0000644000000000000000000000442513516251670015432 00000000000000/* xalloc-oversized.h -- memory allocation size checking Copyright (C) 1990-2000, 2003-2004, 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef XALLOC_OVERSIZED_H_ #define XALLOC_OVERSIZED_H_ #include #include /* True if N * S would overflow in a size_t calculation, or would generate a value larger than PTRDIFF_MAX. This expands to a constant expression if N and S are both constants. By gnulib convention, SIZE_MAX represents overflow in size calculations, so the conservative size_t-based dividend to use here is SIZE_MAX - 1. */ #define __xalloc_oversized(n, s) \ ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) < (n)) #if PTRDIFF_MAX < SIZE_MAX typedef ptrdiff_t __xalloc_count_type; #else typedef size_t __xalloc_count_type; #endif /* Return 1 if an array of N objects, each of size S, cannot exist reliably due to size or ptrdiff_t arithmetic overflow. S must be positive and N must be nonnegative. This is a macro, not a function, so that it works correctly even when SIZE_MAX < N. */ #if 7 <= __GNUC__ # define xalloc_oversized(n, s) \ __builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1) #elif 5 <= __GNUC__ && !defined __ICC && !__STRICT_ANSI__ # define xalloc_oversized(n, s) \ (__builtin_constant_p (n) && __builtin_constant_p (s) \ ? __xalloc_oversized (n, s) \ : ({ __xalloc_count_type __xalloc_count; \ __builtin_mul_overflow (n, s, &__xalloc_count); })) /* Other compilers use integer division; this may be slower but is more portable. */ #else # define xalloc_oversized(n, s) __xalloc_oversized (n, s) #endif #endif /* !XALLOC_OVERSIZED_H_ */ gsasl-1.8.1/lib/gltests/test-lseek.c0000644000000000000000000000632313516251667014220 00000000000000/* Test of lseek() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake, 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (lseek, off_t, (int, off_t, int)); #include #include "macros.h" /* ARGC must be 2; *ARGV[1] is '0' if stdin and stdout are files, '1' if they are pipes, and '2' if they are closed. Check for proper semantics of lseek. */ int main (int argc, char **argv) { if (argc != 2) return 2; switch (*argv[1]) { case '0': /* regular files */ ASSERT (lseek (0, (off_t)2, SEEK_SET) == 2); ASSERT (lseek (0, (off_t)-4, SEEK_CUR) == -1); ASSERT (errno == EINVAL); errno = 0; #if ! defined __BEOS__ /* POSIX says that the last lseek call, when failing, does not change the current offset. But BeOS sets it to 0. */ ASSERT (lseek (0, (off_t)0, SEEK_CUR) == 2); #endif #if 0 /* leads to SIGSYS on IRIX 6.5 */ ASSERT (lseek (0, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1); ASSERT (errno == EINVAL); #endif ASSERT (lseek (1, (off_t)2, SEEK_SET) == 2); errno = 0; ASSERT (lseek (1, (off_t)-4, SEEK_CUR) == -1); ASSERT (errno == EINVAL); errno = 0; #if ! defined __BEOS__ /* POSIX says that the last lseek call, when failing, does not change the current offset. But BeOS sets it to 0. */ ASSERT (lseek (1, (off_t)0, SEEK_CUR) == 2); #endif #if 0 /* leads to SIGSYS on IRIX 6.5 */ ASSERT (lseek (1, (off_t)0, (SEEK_SET | SEEK_CUR | SEEK_END) + 1) == -1); ASSERT (errno == EINVAL); #endif break; case '1': /* pipes */ errno = 0; ASSERT (lseek (0, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == ESPIPE); errno = 0; ASSERT (lseek (1, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == ESPIPE); break; case '2': /* closed */ /* Explicitly close file descriptors 0 and 1. The <&- and >&- in the invoking shell are not enough on HP-UX. */ close (0); close (1); errno = 0; ASSERT (lseek (0, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (lseek (1, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); /* Test behaviour for invalid file descriptors. */ errno = 0; ASSERT (lseek (-1, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); close (99); errno = 0; ASSERT (lseek (99, (off_t)0, SEEK_CUR) == -1); ASSERT (errno == EBADF); break; default: return 1; } return 0; } gsasl-1.8.1/lib/gltests/test-getline.c0000644000000000000000000000463213516251671014540 00000000000000/* Test of getline() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Eric Blake , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (getline, ssize_t, (char **, size_t *, FILE *)); #include #include #include "macros.h" int main (void) { FILE *f; char *line; size_t len; ssize_t result; /* Create test file. */ f = fopen ("test-getline.txt", "wb"); if (!f || fwrite ("a\nA\nbc\nd\0f", 1, 10, f) != 10 || fclose (f) != 0) { fputs ("Failed to create sample file.\n", stderr); remove ("test-getline.txt"); return 1; } f = fopen ("test-getline.txt", "rb"); if (!f) { fputs ("Failed to reopen sample file.\n", stderr); remove ("test-getline.txt"); return 1; } /* Test initial allocation, which must include trailing NUL. */ line = NULL; len = 0; result = getline (&line, &len, f); ASSERT (result == 2); ASSERT (strcmp (line, "a\n") == 0); ASSERT (2 < len); free (line); /* Test initial allocation again, with line = NULL and len != 0. */ line = NULL; len = (size_t)(~0) / 4; result = getline (&line, &len, f); ASSERT (result == 2); ASSERT (strcmp (line, "A\n") == 0); ASSERT (2 < len); free (line); /* Test growth of buffer, must not leak. */ len = 1; line = malloc (len); result = getline (&line, &len, f); ASSERT (result == 3); ASSERT (strcmp (line, "bc\n") == 0); ASSERT (3 < len); /* Test embedded NULs and EOF behavior. */ result = getline (&line, &len, f); ASSERT (result == 3); ASSERT (memcmp (line, "d\0f", 4) == 0); ASSERT (3 < len); result = getline (&line, &len, f); ASSERT (result == -1); free (line); fclose (f); remove ("test-getline.txt"); return 0; } gsasl-1.8.1/lib/gltests/pthread_sigmask.c0000644000000000000000000000534013516251667015303 00000000000000/* POSIX compatible signal blocking for threads. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include #if PTHREAD_SIGMASK_INEFFECTIVE # include #endif #if PTHREAD_SIGMASK_UNBLOCK_BUG # include #endif int pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask) #undef pthread_sigmask { #if HAVE_PTHREAD_SIGMASK int ret; # if PTHREAD_SIGMASK_INEFFECTIVE sigset_t omask, omask_copy; sigset_t *old_mask_ptr = &omask; sigemptyset (&omask); /* Add a signal unlikely to be blocked, so that OMASK_COPY is unlikely to match the actual mask. */ sigaddset (&omask, SIGILL); memcpy (&omask_copy, &omask, sizeof omask); # else sigset_t *old_mask_ptr = old_mask; # endif ret = pthread_sigmask (how, new_mask, old_mask_ptr); # if PTHREAD_SIGMASK_INEFFECTIVE if (ret == 0) { /* Detect whether pthread_sigmask is currently ineffective. Don't cache the information: libpthread.so could be dynamically loaded after the program started and after pthread_sigmask was called for the first time. */ if (memcmp (&omask_copy, &omask, sizeof omask) == 0 && pthread_sigmask (1729, &omask_copy, NULL) == 0) { /* pthread_sigmask is currently ineffective. The program is not linked to -lpthread. So use sigprocmask instead. */ return (sigprocmask (how, new_mask, old_mask) < 0 ? errno : 0); } if (old_mask) memcpy (old_mask, &omask, sizeof omask); } # endif # if PTHREAD_SIGMASK_FAILS_WITH_ERRNO if (ret == -1) return errno; # endif # if PTHREAD_SIGMASK_UNBLOCK_BUG if (ret == 0 && new_mask != NULL && (how == SIG_UNBLOCK || how == SIG_SETMASK)) { /* Give the OS the opportunity to raise signals that were pending before the pthread_sigmask call and have now been unblocked. */ usleep (1); } # endif return ret; #else int ret = sigprocmask (how, new_mask, old_mask); return (ret < 0 ? errno : 0); #endif } gsasl-1.8.1/lib/gltests/test-ctype.c0000644000000000000000000000154113516251667014236 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-fseek.c0000644000000000000000000000435513516251667014215 00000000000000/* Test of fseek() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if the user requested GNULIB_POSIXCHECK. */ #define _GL_NO_LARGE_FILES #include #include "signature.h" SIGNATURE_CHECK (fseek, int, (FILE *, long, int)); #include "macros.h" #ifndef FUNC_UNGETC_BROKEN # define FUNC_UNGETC_BROKEN 0 #endif int main (int argc, char **argv) { /* Assume stdin is non-empty, seekable, and starts with '#!/bin/sh' iff argc > 1. */ int expected = argc > 1 ? 0 : -1; ASSERT (fseek (stdin, 0, SEEK_CUR) == expected); if (argc > 1) { /* Test that fseek discards previously read ungetc data. */ int ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ungetc (ch, stdin) == ch); ASSERT (fseek (stdin, 2, SEEK_SET) == 0); ch = fgetc (stdin); ASSERT (ch == '/'); if (2 < argc) { if (FUNC_UNGETC_BROKEN) { fputs ("Skipping test: ungetc cannot handle arbitrary bytes\n", stderr); return 77; } /* Test that fseek discards random ungetc data. */ ASSERT (ungetc (ch ^ 0xff, stdin) == (ch ^ 0xff)); } ASSERT (fseek (stdin, 0, SEEK_END) == 0); ASSERT (fgetc (stdin) == EOF); /* Test that fseek resets end-of-file marker. */ ASSERT (feof (stdin)); ASSERT (fseek (stdin, 0, SEEK_END) == 0); ASSERT (!feof (stdin)); } return 0; } gsasl-1.8.1/lib/gltests/fcntl.c0000644000000000000000000004434313516251666013251 00000000000000/* Provide file descriptor control. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake . */ #include /* Specification. */ #include #include #include #include #include #include #ifdef __KLIBC__ # define INCL_DOS # include #endif #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif /* Upper bound on getdtablesize(). See lib/getdtablesize.c. */ # define OPEN_MAX_MAX 0x10000 /* Duplicate OLDFD into the first available slot of at least NEWFD, which must be positive, with FLAGS determining whether the duplicate will be inheritable. */ static int dupfd (int oldfd, int newfd, int flags) { /* Mingw has no way to create an arbitrary fd. Iterate until all file descriptors less than newfd are filled up. */ HANDLE curr_process = GetCurrentProcess (); HANDLE old_handle = (HANDLE) _get_osfhandle (oldfd); unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT]; unsigned int fds_to_close_bound = 0; int result; BOOL inherit = flags & O_CLOEXEC ? FALSE : TRUE; int mode; if (newfd < 0 || getdtablesize () <= newfd) { errno = EINVAL; return -1; } if (old_handle == INVALID_HANDLE_VALUE || (mode = setmode (oldfd, O_BINARY)) == -1) { /* oldfd is not open, or is an unassigned standard file descriptor. */ errno = EBADF; return -1; } setmode (oldfd, mode); flags |= mode; for (;;) { HANDLE new_handle; int duplicated_fd; unsigned int index; if (!DuplicateHandle (curr_process, /* SourceProcessHandle */ old_handle, /* SourceHandle */ curr_process, /* TargetProcessHandle */ (PHANDLE) &new_handle, /* TargetHandle */ (DWORD) 0, /* DesiredAccess */ inherit, /* InheritHandle */ DUPLICATE_SAME_ACCESS)) /* Options */ { switch (GetLastError ()) { case ERROR_TOO_MANY_OPEN_FILES: errno = EMFILE; break; case ERROR_INVALID_HANDLE: case ERROR_INVALID_TARGET_HANDLE: case ERROR_DIRECT_ACCESS_HANDLE: errno = EBADF; break; case ERROR_INVALID_PARAMETER: case ERROR_INVALID_FUNCTION: case ERROR_INVALID_ACCESS: errno = EINVAL; break; default: errno = EACCES; break; } result = -1; break; } duplicated_fd = _open_osfhandle ((intptr_t) new_handle, flags); if (duplicated_fd < 0) { CloseHandle (new_handle); result = -1; break; } if (newfd <= duplicated_fd) { result = duplicated_fd; break; } /* Set the bit duplicated_fd in fds_to_close[]. */ index = (unsigned int) duplicated_fd / CHAR_BIT; if (fds_to_close_bound <= index) { if (sizeof fds_to_close <= index) /* Need to increase OPEN_MAX_MAX. */ abort (); memset (fds_to_close + fds_to_close_bound, '\0', index + 1 - fds_to_close_bound); fds_to_close_bound = index + 1; } fds_to_close[index] |= 1 << ((unsigned int) duplicated_fd % CHAR_BIT); } /* Close the previous fds that turned out to be too small. */ { int saved_errno = errno; unsigned int duplicated_fd; for (duplicated_fd = 0; duplicated_fd < fds_to_close_bound * CHAR_BIT; duplicated_fd++) if ((fds_to_close[duplicated_fd / CHAR_BIT] >> (duplicated_fd % CHAR_BIT)) & 1) close (duplicated_fd); errno = saved_errno; } # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (oldfd, result); # endif return result; } #endif /* W32 */ /* Forward declarations, because we '#undef fcntl' in the middle of this compilation unit. */ /* Our implementation of fcntl (fd, F_DUPFD, target). */ static int rpl_fcntl_DUPFD (int fd, int target); /* Our implementation of fcntl (fd, F_DUPFD_CLOEXEC, target). */ static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target); #ifdef __KLIBC__ /* Adds support for fcntl on directories. */ static int klibc_fcntl (int fd, int action, /* arg */...); #endif /* Perform the specified ACTION on the file descriptor FD, possibly using the argument ARG further described below. This replacement handles the following actions, and forwards all others on to the native fcntl. An unrecognized ACTION returns -1 with errno set to EINVAL. F_DUPFD - duplicate FD, with int ARG being the minimum target fd. If successful, return the duplicate, which will be inheritable; otherwise return -1 and set errno. F_DUPFD_CLOEXEC - duplicate FD, with int ARG being the minimum target fd. If successful, return the duplicate, which will not be inheritable; otherwise return -1 and set errno. F_GETFD - ARG need not be present. If successful, return a non-negative value containing the descriptor flags of FD (only FD_CLOEXEC is portable, but other flags may be present); otherwise return -1 and set errno. */ int fcntl (int fd, int action, /* arg */...) #undef fcntl #ifdef __KLIBC__ # define fcntl klibc_fcntl #endif { va_list arg; int result = -1; va_start (arg, action); switch (action) { case F_DUPFD: { int target = va_arg (arg, int); result = rpl_fcntl_DUPFD (fd, target); break; } case F_DUPFD_CLOEXEC: { int target = va_arg (arg, int); result = rpl_fcntl_DUPFD_CLOEXEC (fd, target); break; } #if !HAVE_FCNTL case F_GETFD: { # if defined _WIN32 && ! defined __CYGWIN__ HANDLE handle = (HANDLE) _get_osfhandle (fd); DWORD flags; if (handle == INVALID_HANDLE_VALUE || GetHandleInformation (handle, &flags) == 0) errno = EBADF; else result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC; # else /* !W32 */ /* Use dup2 to reject invalid file descriptors. No way to access this information, so punt. */ if (0 <= dup2 (fd, fd)) result = 0; # endif /* !W32 */ break; } /* F_GETFD */ #endif /* !HAVE_FCNTL */ /* Implementing F_SETFD on mingw is not trivial - there is no API for changing the O_NOINHERIT bit on an fd, and merely changing the HANDLE_FLAG_INHERIT bit on the underlying handle can lead to odd state. It may be possible by duplicating the handle, using _open_osfhandle with the right flags, then using dup2 to move the duplicate onto the original, but that is not supported for now. */ default: { #if HAVE_FCNTL switch (action) { #ifdef F_BARRIERFSYNC /* macOS */ case F_BARRIERFSYNC: #endif #ifdef F_CHKCLEAN /* macOS */ case F_CHKCLEAN: #endif #ifdef F_CLOSEM /* NetBSD, HP-UX */ case F_CLOSEM: #endif #ifdef F_FLUSH_DATA /* macOS */ case F_FLUSH_DATA: #endif #ifdef F_FREEZE_FS /* macOS */ case F_FREEZE_FS: #endif #ifdef F_FULLFSYNC /* macOS */ case F_FULLFSYNC: #endif #ifdef F_GETCONFINED /* macOS */ case F_GETCONFINED: #endif #ifdef F_GETDEFAULTPROTLEVEL /* macOS */ case F_GETDEFAULTPROTLEVEL: #endif #ifdef F_GETFD /* POSIX */ case F_GETFD: #endif #ifdef F_GETFL /* POSIX */ case F_GETFL: #endif #ifdef F_GETLEASE /* Linux */ case F_GETLEASE: #endif #ifdef F_GETNOSIGPIPE /* macOS */ case F_GETNOSIGPIPE: #endif #ifdef F_GETOWN /* POSIX */ case F_GETOWN: #endif #ifdef F_GETPIPE_SZ /* Linux */ case F_GETPIPE_SZ: #endif #ifdef F_GETPROTECTIONCLASS /* macOS */ case F_GETPROTECTIONCLASS: #endif #ifdef F_GETPROTECTIONLEVEL /* macOS */ case F_GETPROTECTIONLEVEL: #endif #ifdef F_GET_SEALS /* Linux */ case F_GET_SEALS: #endif #ifdef F_GETSIG /* Linux */ case F_GETSIG: #endif #ifdef F_MAXFD /* NetBSD */ case F_MAXFD: #endif #ifdef F_RECYCLE /* macOS */ case F_RECYCLE: #endif #ifdef F_SETFIFOENH /* HP-UX */ case F_SETFIFOENH: #endif #ifdef F_THAW_FS /* macOS */ case F_THAW_FS: #endif /* These actions take no argument. */ result = fcntl (fd, action); break; #ifdef F_ADD_SEALS /* Linux */ case F_ADD_SEALS: #endif #ifdef F_BADFD /* Solaris */ case F_BADFD: #endif #ifdef F_CHECK_OPENEVT /* macOS */ case F_CHECK_OPENEVT: #endif #ifdef F_DUP2FD /* FreeBSD, AIX, Solaris */ case F_DUP2FD: #endif #ifdef F_DUP2FD_CLOEXEC /* FreeBSD, Solaris */ case F_DUP2FD_CLOEXEC: #endif #ifdef F_DUP2FD_CLOFORK /* Solaris */ case F_DUP2FD_CLOFORK: #endif #ifdef F_DUPFD /* POSIX */ case F_DUPFD: #endif #ifdef F_DUPFD_CLOEXEC /* POSIX */ case F_DUPFD_CLOEXEC: #endif #ifdef F_DUPFD_CLOFORK /* Solaris */ case F_DUPFD_CLOFORK: #endif #ifdef F_GETXFL /* Solaris */ case F_GETXFL: #endif #ifdef F_GLOBAL_NOCACHE /* macOS */ case F_GLOBAL_NOCACHE: #endif #ifdef F_MAKECOMPRESSED /* macOS */ case F_MAKECOMPRESSED: #endif #ifdef F_MOVEDATAEXTENTS /* macOS */ case F_MOVEDATAEXTENTS: #endif #ifdef F_NOCACHE /* macOS */ case F_NOCACHE: #endif #ifdef F_NODIRECT /* macOS */ case F_NODIRECT: #endif #ifdef F_NOTIFY /* Linux */ case F_NOTIFY: #endif #ifdef F_OPLKACK /* IRIX */ case F_OPLKACK: #endif #ifdef F_OPLKREG /* IRIX */ case F_OPLKREG: #endif #ifdef F_RDAHEAD /* macOS */ case F_RDAHEAD: #endif #ifdef F_SETBACKINGSTORE /* macOS */ case F_SETBACKINGSTORE: #endif #ifdef F_SETCONFINED /* macOS */ case F_SETCONFINED: #endif #ifdef F_SETFD /* POSIX */ case F_SETFD: #endif #ifdef F_SETFL /* POSIX */ case F_SETFL: #endif #ifdef F_SETLEASE /* Linux */ case F_SETLEASE: #endif #ifdef F_SETNOSIGPIPE /* macOS */ case F_SETNOSIGPIPE: #endif #ifdef F_SETOWN /* POSIX */ case F_SETOWN: #endif #ifdef F_SETPIPE_SZ /* Linux */ case F_SETPIPE_SZ: #endif #ifdef F_SETPROTECTIONCLASS /* macOS */ case F_SETPROTECTIONCLASS: #endif #ifdef F_SETSIG /* Linux */ case F_SETSIG: #endif #ifdef F_SINGLE_WRITER /* macOS */ case F_SINGLE_WRITER: #endif /* These actions take an 'int' argument. */ { int x = va_arg (arg, int); result = fcntl (fd, action, x); } break; default: /* Other actions take a pointer argument. */ { void *p = va_arg (arg, void *); result = fcntl (fd, action, p); } break; } #else errno = EINVAL; #endif break; } } va_end (arg); return result; } static int rpl_fcntl_DUPFD (int fd, int target) { int result; #if !HAVE_FCNTL result = dupfd (fd, target, 0); #elif FCNTL_DUPFD_BUGGY || REPLACE_FCHDIR /* Detect invalid target; needed for cygwin 1.5.x. */ if (target < 0 || getdtablesize () <= target) { result = -1; errno = EINVAL; } else { /* Haiku alpha 2 loses fd flags on original. */ int flags = fcntl (fd, F_GETFD); if (flags < 0) result = -1; else { result = fcntl (fd, F_DUPFD, target); if (0 <= result && fcntl (fd, F_SETFD, flags) == -1) { int saved_errno = errno; close (result); result = -1; errno = saved_errno; } # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif } } #else result = fcntl (fd, F_DUPFD, target); #endif return result; } static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target) { int result; #if !HAVE_FCNTL result = dupfd (fd, target, O_CLOEXEC); #else /* HAVE_FCNTL */ # if defined __HAIKU__ /* On Haiku, the system fcntl (fd, F_DUPFD_CLOEXEC, target) sets the FD_CLOEXEC flag on fd, not on target. Therefore avoid the system fcntl in this case. */ # define have_dupfd_cloexec -1 # else /* Try the system call first, if the headers claim it exists (that is, if GNULIB_defined_F_DUPFD_CLOEXEC is 0), since we may be running with a glibc that has the macro but with an older kernel that does not support it. Cache the information on whether the system call really works, but avoid caching failure if the corresponding F_DUPFD fails for any reason. 0 = unknown, 1 = yes, -1 = no. */ static int have_dupfd_cloexec = GNULIB_defined_F_DUPFD_CLOEXEC ? -1 : 0; if (0 <= have_dupfd_cloexec) { result = fcntl (fd, F_DUPFD_CLOEXEC, target); if (0 <= result || errno != EINVAL) { have_dupfd_cloexec = 1; # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif } else { result = rpl_fcntl_DUPFD (fd, target); if (result >= 0) have_dupfd_cloexec = -1; } } else # endif result = rpl_fcntl_DUPFD (fd, target); if (0 <= result && have_dupfd_cloexec == -1) { int flags = fcntl (result, F_GETFD); if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) { int saved_errno = errno; close (result); errno = saved_errno; result = -1; } } #endif /* HAVE_FCNTL */ return result; } #undef fcntl #ifdef __KLIBC__ static int klibc_fcntl (int fd, int action, /* arg */...) { va_list arg_ptr; int arg; struct stat sbuf; int result; va_start (arg_ptr, action); arg = va_arg (arg_ptr, int); result = fcntl (fd, action, arg); /* EPERM for F_DUPFD, ENOTSUP for others */ if (result == -1 && (errno == EPERM || errno == ENOTSUP) && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) { ULONG ulMode; switch (action) { case F_DUPFD: /* Find available fd */ while (fcntl (arg, F_GETFL) != -1 || errno != EBADF) arg++; result = dup2 (fd, arg); break; /* Using underlying APIs is right ? */ case F_GETFD: if (DosQueryFHState (fd, &ulMode)) break; result = (ulMode & OPEN_FLAGS_NOINHERIT) ? FD_CLOEXEC : 0; break; case F_SETFD: if (arg & ~FD_CLOEXEC) break; if (DosQueryFHState (fd, &ulMode)) break; if (arg & FD_CLOEXEC) ulMode |= OPEN_FLAGS_NOINHERIT; else ulMode &= ~OPEN_FLAGS_NOINHERIT; /* Filter supported flags. */ ulMode &= (OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT); if (DosSetFHState (fd, ulMode)) break; result = 0; break; case F_GETFL: result = 0; break; case F_SETFL: if (arg != 0) break; result = 0; break; default: errno = EINVAL; break; } } va_end (arg_ptr); return result; } #endif gsasl-1.8.1/lib/gltests/test-listen.c0000644000000000000000000000234213516251667014410 00000000000000/* Test listen() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (listen, int, (int, int)); #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { errno = 0; ASSERT (listen (-1, 1) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (listen (99 ,1) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/lib/gltests/test-fgetc.c0000644000000000000000000000476513516251671014210 00000000000000/* Test of fgetc() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fgetc, int, (FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fgetc.txt"; /* We don't have an fgetc() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Prepare a file. */ { const char text[] = "hello world"; int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600); ASSERT (fd >= 0); ASSERT (write (fd, text, sizeof (text)) == sizeof (text)); ASSERT (close (fd) == 0); } /* Test that fgetc() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "r"); ASSERT (fp != NULL); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fgetc (fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fgetc() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "r"); if (fp != NULL) { errno = 0; ASSERT (fgetc (fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "r"); if (fp != NULL) { errno = 0; ASSERT (fgetc (fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/lib/gltests/init.sh0000644000000000000000000005422713516251671013274 00000000000000# source this file; set up for tests # Copyright (C) 2009-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see . # Using this file in a test # ========================= # # The typical skeleton of a test looks like this: # # #!/bin/sh # . "${srcdir=.}/init.sh"; path_prepend_ . # Execute some commands. # Note that these commands are executed in a subdirectory, therefore you # need to prepend "../" to relative filenames in the build directory. # Note that the "path_prepend_ ." is useful only if the body of your # test invokes programs residing in the initial directory. # For example, if the programs you want to test are in src/, and this test # script is named tests/test-1, then you would use "path_prepend_ ../src", # or perhaps export PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" # to all tests via automake's TESTS_ENVIRONMENT. # Set the exit code 0 for success, 77 for skipped, or 1 or other for failure. # Use the skip_ and fail_ functions to print a diagnostic and then exit # with the corresponding exit code. # Exit $? # Executing a test that uses this file # ==================================== # # Running a single test: # $ make check TESTS=test-foo.sh # # Running a single test, with verbose output: # $ make check TESTS=test-foo.sh VERBOSE=yes # # Running a single test, keeping the temporary directory: # $ make check TESTS=test-foo.sh KEEP=yes # # Running a single test, with single-stepping: # 1. Go into a sub-shell: # $ bash # 2. Set relevant environment variables from TESTS_ENVIRONMENT in the # Makefile: # $ export srcdir=../../tests # this is an example # 3. Execute the commands from the test, copy&pasting them one by one: # $ . "$srcdir/init.sh"; path_prepend_ . # ... # 4. Finally # $ exit # ============================================================================= # Elementary diagnostics ME_=`expr "./$0" : '.*/\(.*\)$'` # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # We use a trap below for cleanup. This requires us to go through # hoops to get the right exit status transported through the handler. # So use 'Exit STATUS' instead of 'exit STATUS' inside of the tests. # Turn off errexit here so that we don't trip the bug with OSF1/Tru64 # sh inside this function. Exit () { set +e; (exit $1); exit $1; } # Print warnings (e.g., about skipped and failed tests) to this file number. # Override by defining to say, 9, in init.cfg, and putting say, # export ...ENVVAR_SETTINGS...; $(SHELL) 9>&2 # in the definition of TESTS_ENVIRONMENT in your tests/Makefile.am file. # This is useful when using automake's parallel tests mode, to print # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} # Note that correct expansion of "$*" depends on IFS starting with ' '. # Always write the full diagnostic to stderr. # When stderr_fileno_ is not 2, also emit the first line of the # diagnostic to that file descriptor. warn_ () { # If IFS does not start with ' ', set it and emit the warning in a subshell. case $IFS in ' '*) printf '%s\n' "$*" >&2 test $stderr_fileno_ = 2 \ || { printf '%s\n' "$*" | sed 1q >&$stderr_fileno_ ; } ;; *) (IFS=' '; warn_ "$@");; esac } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } fatal_ () { warn_ "$ME_: hard error: $@"; Exit 99; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } # ============================================================================= # Ensure the shell supports modern syntax. # Sanitize this shell to POSIX mode, if possible. DUALCASE=1; export DUALCASE if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # We require $(...) support unconditionally. # We require non-surprising "local" semantics (this eliminates dash). # This takes the admittedly draconian step of eliminating dash, because the # assignment tab=$(printf '\t') works fine, yet preceding it with "local " # transforms it into an assignment that sets the variable to the empty string. # That is too counter-intuitive, and can lead to subtle run-time malfunction. # The example below is less subtle in that with dash, it evokes the run-time # exception "dash: 1: local: 1: bad variable name". # We require a few additional shell features only when $EXEEXT is nonempty, # in order to support automatic $EXEEXT emulation: # - hyphen-containing alias names # - we prefer to use ${var#...} substitution, rather than having # to work around lack of support for that feature. # The following code attempts to find a shell with support for these features. # If the current shell passes the test, we're done. Otherwise, test other # shells until we find one that passes. If one is found, re-exec it. # If no acceptable shell is found, skip the current test. # # The "...set -x; P=1 true 2>err..." test is to disqualify any shell that # emits "P=1" into err, as /bin/sh from SunOS 5.11 and OpenBSD 4.7 do. # # Use "9" to indicate success (rather than 0), in case some shell acts # like Solaris 10's /bin/sh but exits successfully instead of with status 2. # Eval this code in a subshell to determine a shell's suitability. # 10 - passes all tests; ok to use # 9 - ok, but enabling "set -x" corrupts app stderr; prefer higher score # ? - not ok gl_shell_test_script_=' test $(echo y) = y || exit 1 f_local_() { local v=1; }; f_local_ || exit 1 f_dash_local_fail_() { local t=$(printf " 1"); }; f_dash_local_fail_ score_=10 if test "$VERBOSE" = yes; then test -n "$( (exec 3>&1; set -x; P=1 true 2>&3) 2> /dev/null)" && score_=9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b="echo zoo" v=abx test ${v%x} = ab \ && test ${v#a} = bx \ && test $(a-b) = zoo \ && exit $score_ ' if test "x$1" = "x--no-reexec"; then shift else # Assume a working shell. Export to subshells (setup_ needs this). gl_set_x_corrupts_stderr_=false export gl_set_x_corrupts_stderr_ # Record the first marginally acceptable shell. marginal_= # Search for a shell that meets our requirements. for re_shell_ in __current__ "${CONFIG_SHELL:-no_shell}" \ /bin/sh bash dash zsh pdksh fail do test "$re_shell_" = no_shell && continue # If we've made it all the way to the sentinel, "fail" without # finding even a marginal shell, skip this test. if test "$re_shell_" = fail; then test -z "$marginal_" && skip_ failed to find an adequate shell re_shell_=$marginal_ break fi # When testing the current shell, simply "eval" the test code. # Otherwise, run it via $re_shell_ -c ... if test "$re_shell_" = __current__; then # 'eval'ing this code makes Solaris 10's /bin/sh exit with # $? set to 2. It does not evaluate any of the code after the # "unexpected" first '('. Thus, we must run it in a subshell. ( eval "$gl_shell_test_script_" ) > /dev/null 2>&1 else "$re_shell_" -c "$gl_shell_test_script_" 2>/dev/null fi st_=$? # $re_shell_ works just fine. Use it. if test $st_ = 10; then gl_set_x_corrupts_stderr_=false break fi # If this is our first marginally acceptable shell, remember it. if test "$st_:$marginal_" = 9: ; then marginal_="$re_shell_" gl_set_x_corrupts_stderr_=true fi done if test "$re_shell_" != __current__; then # Found a usable shell. Preserve -v and -x. case $- in *v*x* | *x*v*) opts_=-vx ;; *v*) opts_=-v ;; *x*) opts_=-x ;; *) opts_= ;; esac re_shell=$re_shell_ export re_shell exec "$re_shell_" $opts_ "$0" --no-reexec "$@" echo "$ME_: exec failed" 1>&2 exit 127 fi fi # ============================================================================= # Ensure the shell behaves reasonably. # If this is bash, turn off all aliases. test -n "$BASH_VERSION" && unalias -a # Note that when supporting $EXEEXT (transparently mapping from PROG_NAME to # PROG_NAME.exe), we want to support hyphen-containing names like test-acos. # That is part of the shell-selection test above. Why use aliases rather # than functions? Because support for hyphen-containing aliases is more # widespread than that for hyphen-containing function names. test -n "$EXEEXT" && test -n "$BASH_VERSION" && shopt -s expand_aliases # ============================================================================= # Creating a temporary directory (needed by the core test framework) # Create a temporary directory, much like mktemp -d does. # Written by Jim Meyering. # # Usage: mktempd_ /tmp phoey.XXXXXXXXXX # # First, try to use the mktemp program. # Failing that, we'll roll our own mktemp-like function: # - try to get random bytes from /dev/urandom # - failing that, generate output from a combination of quickly-varying # sources and gzip. Ignore non-varying gzip header, and extract # "random" bits from there. # - given those bits, map to file-name bytes using tr, and try to create # the desired directory. # - make only $MAX_TRIES_ attempts # Helper function. Print $N pseudo-random bytes from a-zA-Z0-9. rand_bytes_ () { n_=$1 # Maybe try openssl rand -base64 $n_prime_|tr '+/=\012' abcd first? # But if they have openssl, they probably have mktemp, too. chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 dev_rand_=/dev/urandom if test -r "$dev_rand_"; then # Note: 256-length($chars_) == 194; 3 copies of $chars_ is 186 + 8 = 194. dd ibs=$n_ count=1 if=$dev_rand_ 2>/dev/null \ | LC_ALL=C tr -c $chars_ 01234567$chars_$chars_$chars_ return fi n_plus_50_=`expr $n_ + 50` cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef' data_=` (eval "$cmds_") 2>&1 | gzip ` # Ensure that $data_ has length at least 50+$n_ while :; do len_=`echo "$data_"|wc -c` test $n_plus_50_ -le $len_ && break; data_=` (echo "$data_"; eval "$cmds_") 2>&1 | gzip ` done echo "$data_" \ | dd bs=1 skip=50 count=$n_ 2>/dev/null \ | LC_ALL=C tr -c $chars_ 01234567$chars_$chars_$chars_ } mktempd_ () { case $# in 2);; *) fail_ "Usage: mktempd_ DIR TEMPLATE";; esac destdir_=$1 template_=$2 MAX_TRIES_=4 # Disallow any trailing slash on specified destdir: # it would subvert the post-mktemp "case"-based destdir test. case $destdir_ in / | //) destdir_slash_=$destdir;; */) fail_ "invalid destination dir: remove trailing slash(es)";; *) destdir_slash_=$destdir_/;; esac case $template_ in *XXXX) ;; *) fail_ \ "invalid template: $template_ (must have a suffix of at least 4 X's)";; esac # First, try to use mktemp. d=`unset TMPDIR; { mktemp -d -t -p "$destdir_" "$template_"; } 2>/dev/null` && # The resulting name must be in the specified directory. case $d in "$destdir_slash_"*) :;; *) false;; esac && # It must have created the directory. test -d "$d" && # It must have 0700 permissions. Handle sticky "S" bits. perms=`ls -dgo "$d" 2>/dev/null` && case $perms in drwx--[-S]---*) :;; *) false;; esac && { echo "$d" return } # If we reach this point, we'll have to create a directory manually. # Get a copy of the template without its suffix of X's. base_template_=`echo "$template_"|sed 's/XX*$//'` # Calculate how many X's we've just removed. template_length_=`echo "$template_" | wc -c` nx_=`echo "$base_template_" | wc -c` nx_=`expr $template_length_ - $nx_` err_= i_=1 while :; do X_=`rand_bytes_ $nx_` candidate_dir_="$destdir_slash_$base_template_$X_" err_=`mkdir -m 0700 "$candidate_dir_" 2>&1` \ && { echo "$candidate_dir_"; return; } test $MAX_TRIES_ -le $i_ && break; i_=`expr $i_ + 1` done fail_ "$err_" } # ============================================================================= # Core test framework # An arbitrary prefix to help distinguish test directories. testdir_prefix_ () { printf gt; } # Set up the environment for the test to run in. setup_ () { if test "$VERBOSE" = yes; then # Test whether set -x may cause the selected shell to corrupt an # application's stderr. Many do, including zsh-4.3.10 and the /bin/sh # from SunOS 5.11, OpenBSD 4.7 and Irix 5.x and 6.5. # If enabling verbose output this way would cause trouble, simply # issue a warning and refrain. if $gl_set_x_corrupts_stderr_; then warn_ "using SHELL=$SHELL with 'set -x' corrupts stderr" else set -x fi fi initial_cwd_=$PWD # Create and enter the temporary directory. pfx_=`testdir_prefix_` test_dir_=`mktempd_ "$initial_cwd_" "$pfx_-$ME_.XXXX"` \ || fail_ "failed to create temporary directory in $initial_cwd_" cd "$test_dir_" || fail_ "failed to cd to temporary directory" # Set variables srcdir, builddir, for the convenience of the test. case $srcdir in /* | ?:*) ;; *) srcdir="../$srcdir" ;; esac builddir=".." export srcdir builddir # As autoconf-generated configure scripts do, ensure that IFS # is defined initially, so that saving and restoring $IFS works. gl_init_sh_nl_=' ' IFS=" "" $gl_init_sh_nl_" # This trap statement, along with a trap on 0 below, ensure that the # temporary directory, $test_dir_, is removed upon exit as well as # upon receipt of any of the listed signals. for sig_ in 1 2 3 13 15; do eval "trap 'Exit $(expr $sig_ + 128)' $sig_" done } # This is a stub function that is run upon trap (upon regular exit and # interrupt). Override it with a per-test function, e.g., to unmount # a partition, or to undo any other global state changes. cleanup_ () { :; } # Run the user-overridable cleanup_ function, remove the temporary # directory and exit with the incoming value of $?. remove_tmp_ () { __st=$? cleanup_ if test "$KEEP" = yes; then echo "Not removing temporary directory $test_dir_" else # cd out of the directory we're about to remove cd "$initial_cwd_" || cd / || cd /tmp chmod -R u+rwx "$test_dir_" # If removal fails and exit status was to be 0, then change it to 1. rm -rf "$test_dir_" || { test $__st = 0 && __st=1; } fi exit $__st } # ============================================================================= # Prepending directories to PATH # Given a directory name, DIR, if every entry in it that matches *.exe # contains only the specified bytes (see the case stmt below), then print # a space-separated list of those names and return 0. Otherwise, don't # print anything and return 1. Naming constraints apply also to DIR. find_exe_basenames_ () { feb_dir_=$1 feb_fail_=0 feb_result_= feb_sp_= for feb_file_ in $feb_dir_/*.exe; do # If there was no *.exe file, or there existed a file named "*.exe" that # was deleted between the above glob expansion and the existence test # below, just skip it. test "x$feb_file_" = "x$feb_dir_/*.exe" && test ! -f "$feb_file_" \ && continue # Exempt [.exe, since we can't create a function by that name, yet # we can't invoke [ by PATH search anyways due to shell builtins. test "x$feb_file_" = "x$feb_dir_/[.exe" && continue case $feb_file_ in *[!-a-zA-Z/0-9_.+]*) feb_fail_=1; break;; *) # Remove leading file name components as well as the .exe suffix. feb_file_=${feb_file_##*/} feb_file_=${feb_file_%.exe} feb_result_="$feb_result_$feb_sp_$feb_file_";; esac feb_sp_=' ' done test $feb_fail_ = 0 && printf %s "$feb_result_" return $feb_fail_ } # Consider the files in directory, $1. # For each file name of the form PROG.exe, create an alias named # PROG that simply invokes PROG.exe, then return 0. If any selected # file name or the directory name, $1, contains an unexpected character, # define no alias and return 1. create_exe_shims_ () { case $EXEEXT in '') return 0 ;; .exe) ;; *) echo "$0: unexpected \$EXEEXT value: $EXEEXT" 1>&2; return 1 ;; esac base_names_=`find_exe_basenames_ $1` \ || { echo "$0 (exe_shim): skipping directory: $1" 1>&2; return 0; } if test -n "$base_names_"; then for base_ in $base_names_; do alias "$base_"="$base_$EXEEXT" done fi return 0 } # Use this function to prepend to PATH an absolute name for each # specified, possibly-$initial_cwd_-relative, directory. path_prepend_ () { while test $# != 0; do path_dir_=$1 case $path_dir_ in '') fail_ "invalid path dir: '$1'";; /* | ?:*) abs_path_dir_=$path_dir_;; *) abs_path_dir_=$initial_cwd_/$path_dir_;; esac case $abs_path_dir_ in *$PATH_SEPARATOR*) fail_ "invalid path dir: '$abs_path_dir_'";; esac PATH="$abs_path_dir_$PATH_SEPARATOR$PATH" # Create an alias, FOO, for each FOO.exe in this directory. create_exe_shims_ "$abs_path_dir_" \ || fail_ "something failed (above): $abs_path_dir_" shift done export PATH } # ============================================================================= # Convenience environment variables for the tests # ----------------------------------------------------------------------------- # Enable glibc's malloc-perturbing option. # This is useful for exposing code that depends on the fact that # malloc-related functions often return memory that is mostly zeroed. # If you have the time and cycles, use valgrind to do an even better job. : ${MALLOC_PERTURB_=87} export MALLOC_PERTURB_ # ----------------------------------------------------------------------------- # The interpreter for Bourne-shell scripts. # No special standards compatibility requirements. # Some environments, such as Android, don't have /bin/sh. if test -f /bin/sh$EXEEXT; then BOURNE_SHELL=/bin/sh else BOURNE_SHELL=sh fi # ============================================================================= # Convenience functions for the tests # ----------------------------------------------------------------------------- # Return value checking # This is used to simplify checking of the return value # which is useful when ensuring a command fails as desired. # I.e., just doing `command ... &&fail=1` will not catch # a segfault in command for example. With this helper you # instead check an explicit exit code like # returns_ 1 command ... || fail returns_ () { # Disable tracing so it doesn't interfere with stderr of the wrapped command { set +x; } 2>/dev/null local exp_exit="$1" shift "$@" test $? -eq $exp_exit && ret_=0 || ret_=1 if test "$VERBOSE" = yes && test "$gl_set_x_corrupts_stderr_" = false; then set -x fi { return $ret_; } 2>/dev/null } # ----------------------------------------------------------------------------- # Text file comparison # Emit a header similar to that from diff -u; Print the simulated "diff" # command so that the order of arguments is clear. Don't bother with @@ lines. emit_diff_u_header_ () { printf '%s\n' "diff -u $*" \ "--- $1 1970-01-01" \ "+++ $2 1970-01-01" } # Arrange not to let diff or cmp operate on /dev/null, # since on some systems (at least OSF/1 5.1), that doesn't work. # When there are not two arguments, or no argument is /dev/null, return 2. # When one argument is /dev/null and the other is not empty, # cat the nonempty file to stderr and return 1. # Otherwise, return 0. compare_dev_null_ () { test $# = 2 || return 2 if test "x$1" = x/dev/null; then test -s "$2" || return 0 emit_diff_u_header_ "$@"; sed 's/^/+/' "$2" return 1 fi if test "x$2" = x/dev/null; then test -s "$1" || return 0 emit_diff_u_header_ "$@"; sed 's/^/-/' "$1" return 1 fi return 2 } for diff_opt_ in -u -U3 -c '' no; do test "$diff_opt_" != no && diff_out_=`exec 2>/dev/null; diff $diff_opt_ "$0" "$0" < /dev/null` && break done if test "$diff_opt_" != no; then if test -z "$diff_out_"; then compare_ () { diff $diff_opt_ "$@"; } else compare_ () { # If no differences were found, AIX and HP-UX 'diff' produce output # like "No differences encountered". Hide this output. diff $diff_opt_ "$@" > diff.out diff_status_=$? test $diff_status_ -eq 0 || cat diff.out || diff_status_=2 rm -f diff.out || diff_status_=2 return $diff_status_ } fi elif cmp -s /dev/null /dev/null 2>/dev/null; then compare_ () { cmp -s "$@"; } else compare_ () { cmp "$@"; } fi # Usage: compare EXPECTED ACTUAL # # Given compare_dev_null_'s preprocessing, defer to compare_ if 2 or more. # Otherwise, propagate $? to caller: any diffs have already been printed. compare () { # This looks like it can be factored to use a simple "case $?" # after unchecked compare_dev_null_ invocation, but that would # fail in a "set -e" environment. if compare_dev_null_ "$@"; then return 0 else case $? in 1) return 1;; *) compare_ "$@";; esac fi } # ----------------------------------------------------------------------------- # If you want to override the testdir_prefix_ function, # or to add more utility functions, use this file. test -f "$srcdir/init.cfg" \ && . "$srcdir/init.cfg" # ============================================================================= # Set up the environment for the test to run in. setup_ "$@" # This trap is here, rather than in the setup_ function, because some # shells run the exit trap at shell function exit, rather than script exit. trap remove_tmp_ 0 gsasl-1.8.1/lib/gltests/test-gc-hmac-sha1.c0000644000000000000000000000344613516251671015244 00000000000000/* * Copyright (C) 2005, 2010-2019 Free Software Foundation, Inc. * Written by Simon Josefsson * * 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 3, 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, see . */ #include #include "gc.h" #include #include int main (int argc, char *argv[]) { Gc_rc rc; rc = gc_init (); if (rc != GC_OK) { printf ("gc_init() failed\n"); return 1; } { char *key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"; size_t key_len = 16; char *data = "Hi There"; size_t data_len = 8; char *digest = "\x67\x5b\x0b\x3a\x1b\x4d\xdf\x4e\x12\x48" "\x72\xda\x6c\x2f\x63\x2b\xfe\xd9\x57\xe9"; char out[GC_SHA1_DIGEST_SIZE]; if (gc_hmac_sha1 (key, key_len, data, data_len, out) != 0) { printf ("call failure\n"); return 1; } if (memcmp (digest, out, GC_SHA1_DIGEST_SIZE) != 0) { size_t i; printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); return 1; } } gc_done (); return 0; } gsasl-1.8.1/lib/gltests/test-binary-io.c0000644000000000000000000000305413516251667015004 00000000000000/* Test of binary mode I/O. Copyright (C) 2005, 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #include "binary-io.h" #include #include #include #include #include #include #include "macros.h" int main (int argc, char *argv[]) { /* Test the O_BINARY macro. */ { int fd = open ("t-bin-out0.tmp", O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0600); if (write (fd, "Hello\n", 6) < 0) exit (1); close (fd); } { struct stat statbuf; if (stat ("t-bin-out0.tmp", &statbuf) < 0) exit (1); ASSERT (statbuf.st_size == 6); } switch (argv[1][0]) { case '1': /* Test the set_binary_mode() function. */ set_binary_mode (1, O_BINARY); fputs ("Hello\n", stdout); break; default: break; } return 0; } gsasl-1.8.1/lib/gltests/test-netinet_in.c0000644000000000000000000000156613516251667015255 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include int main (void) { return 0; } gsasl-1.8.1/lib/gltests/malloca.h0000644000000000000000000001062213516251667013552 00000000000000/* Safe automatic memory allocation. Copyright (C) 2003-2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2003. 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 3, 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, see . */ #ifndef _MALLOCA_H #define _MALLOCA_H #include #include #include #include #include "xalloc-oversized.h" #ifdef __cplusplus extern "C" { #endif /* safe_alloca(N) is equivalent to alloca(N) when it is safe to call alloca(N); otherwise it returns NULL. It either returns N bytes of memory allocated on the stack, that lasts until the function returns, or NULL. Use of safe_alloca should be avoided: - inside arguments of function calls - undefined behaviour, - in inline functions - the allocation may actually last until the calling function returns. */ #if HAVE_ALLOCA /* The OS usually guarantees only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely allocate anything larger than 4096 bytes. Also care for the possibility of a few compiler-allocated temporary stack slots. This must be a macro, not a function. */ # define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL) #else # define safe_alloca(N) ((void) (N), NULL) #endif /* malloca(N) is a safe variant of alloca(N). It allocates N bytes of memory allocated on the stack, that must be freed using freea() before the function returns. Upon failure, it returns NULL. */ #if HAVE_ALLOCA # define malloca(N) \ ((N) < 4032 - (2 * sa_alignment_max - 1) \ ? (void *) (((uintptr_t) (char *) alloca ((N) + 2 * sa_alignment_max - 1) \ + (2 * sa_alignment_max - 1)) \ & ~(uintptr_t)(2 * sa_alignment_max - 1)) \ : mmalloca (N)) #else # define malloca(N) \ mmalloca (N) #endif extern void * mmalloca (size_t n); /* Free a block of memory allocated through malloca(). */ #if HAVE_ALLOCA extern void freea (void *p); #else # define freea free #endif /* nmalloca(N,S) is an overflow-safe variant of malloca (N * S). It allocates an array of N objects, each with S bytes of memory, on the stack. S must be positive and N must be nonnegative. The array must be freed using freea() before the function returns. */ #define nmalloca(n, s) (xalloc_oversized (n, s) ? NULL : malloca ((n) * (s))) #ifdef __cplusplus } #endif /* ------------------- Auxiliary, non-public definitions ------------------- */ /* Determine the alignment of a type at compile time. */ #if defined __GNUC__ || defined __IBM__ALIGNOF__ # define sa_alignof __alignof__ #elif defined __cplusplus template struct sa_alignof_helper { char __slot1; type __slot2; }; # define sa_alignof(type) offsetof (sa_alignof_helper, __slot2) #elif defined __hpux /* Work around a HP-UX 10.20 cc bug with enums constants defined as offsetof values. */ # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) #elif defined _AIX /* Work around an AIX 3.2.5 xlc bug with enums constants defined as offsetof values. */ # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) #else # define sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2) #endif enum { /* The desired alignment of memory allocations is the maximum alignment among all elementary types. */ sa_alignment_long = sa_alignof (long), sa_alignment_double = sa_alignof (double), #if HAVE_LONG_LONG_INT sa_alignment_longlong = sa_alignof (long long), #endif sa_alignment_longdouble = sa_alignof (long double), sa_alignment_max = ((sa_alignment_long - 1) | (sa_alignment_double - 1) #if HAVE_LONG_LONG_INT | (sa_alignment_longlong - 1) #endif | (sa_alignment_longdouble - 1) ) + 1 }; #endif /* _MALLOCA_H */ gsasl-1.8.1/lib/gltests/test-select-stdin.c0000644000000000000000000000433313516251667015512 00000000000000/* Test of select() substitute, reading from stdin. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include #include #include #include #include "macros.h" int main (void) { printf ("Applying select() from standard input. Press Ctrl-C to abort.\n"); for (;;) { struct timeval before; struct timeval after; unsigned long spent_usec; fd_set readfds; struct timeval timeout; int ret; gettimeofday (&before, NULL); FD_ZERO (&readfds); FD_SET (0, &readfds); timeout.tv_sec = 0; timeout.tv_usec = 500000; ret = select (1, &readfds, NULL, NULL, &timeout); gettimeofday (&after, NULL); spent_usec = (after.tv_sec - before.tv_sec) * 1000000 + after.tv_usec - before.tv_usec; if (ret < 0) { perror ("select failed"); exit (1); } if ((ret == 0) != ! FD_ISSET (0, &readfds)) { fprintf (stderr, "incorrect return value\n"); exit (1); } if (ret == 0) { if (spent_usec < 250000) { fprintf (stderr, "returned too early\n"); exit (1); } /* Timeout */ printf ("."); ASSERT (fflush (stdout) == 0); } else { char c; printf ("Input available! Trying to read 1 byte...\n"); ASSERT (read (0, &c, 1) == 1); } } } gsasl-1.8.1/lib/gltests/test-limits-h.c0000644000000000000000000000762213516251667014646 00000000000000/* Test of substitute. Copyright 2016-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert. */ #include #include #include "verify.h" #if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) # pragma GCC diagnostic ignored "-Woverlength-strings" #endif #define verify_width(width, min, max) \ verify ((max) >> ((width) - 1 - ((min) < 0)) == 1) /* Macros borrowed from intprops.h. */ #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) #define TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT) #define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1))) /* Type width macros. */ int type_bits[] = { CHAR_BIT, WORD_BIT, LONG_BIT }; verify_width (CHAR_BIT, CHAR_MIN, CHAR_MAX); verify_width (WORD_BIT, INT_MIN, INT_MAX); verify_width (LONG_BIT, LONG_MIN, LONG_MAX); /* Numerical limit macros. */ char limits1[] = { CHAR_MIN, CHAR_MAX }; verify (TYPE_MINIMUM (char) == CHAR_MIN); verify (TYPE_MAXIMUM (char) == CHAR_MAX); signed char limits2[] = { SCHAR_MIN, SCHAR_MAX }; verify (TYPE_MINIMUM (signed char) == SCHAR_MIN); verify (TYPE_MAXIMUM (signed char) == SCHAR_MAX); unsigned char limits3[] = { UCHAR_MAX }; verify (TYPE_MINIMUM (unsigned char) == 0); verify (TYPE_MAXIMUM (unsigned char) == UCHAR_MAX); short limits4[] = { SHRT_MIN, SHRT_MAX }; verify (TYPE_MINIMUM (short int) == SHRT_MIN); verify (TYPE_MAXIMUM (short int) == SHRT_MAX); unsigned short limits5[] = { USHRT_MAX }; verify (TYPE_MINIMUM (unsigned short int) == 0); verify (TYPE_MAXIMUM (unsigned short int) == USHRT_MAX); int limits6[] = { INT_MIN, INT_MAX }; verify (TYPE_MINIMUM (int) == INT_MIN); verify (TYPE_MAXIMUM (int) == INT_MAX); unsigned int limits7[] = { UINT_MAX }; verify (TYPE_MINIMUM (unsigned int) == 0); verify (TYPE_MAXIMUM (unsigned int) == UINT_MAX); long limits8[] = { LONG_MIN, LONG_MAX }; verify (TYPE_MINIMUM (long int) == LONG_MIN); verify (TYPE_MAXIMUM (long int) == LONG_MAX); unsigned long limits9[] = { ULONG_MAX }; verify (TYPE_MINIMUM (unsigned long int) == 0); verify (TYPE_MAXIMUM (unsigned long int) == ULONG_MAX); long long limits10[] = { LLONG_MIN, LLONG_MAX }; verify (TYPE_MINIMUM (long long int) == LLONG_MIN); verify (TYPE_MAXIMUM (long long int) == LLONG_MAX); unsigned long long limits11[] = { ULLONG_MAX }; verify (TYPE_MINIMUM (unsigned long long int) == 0); verify (TYPE_MAXIMUM (unsigned long long int) == ULLONG_MAX); /* Macros specified by ISO/IEC TS 18661-1:2014. */ verify_width (CHAR_WIDTH, CHAR_MIN, CHAR_MAX); verify_width (SCHAR_WIDTH, SCHAR_MIN, SCHAR_MAX); verify_width (UCHAR_WIDTH, 0, UCHAR_MAX); verify_width (SHRT_WIDTH, SHRT_MIN, SHRT_MAX); verify_width (USHRT_WIDTH, 0, USHRT_MAX); verify_width (INT_WIDTH, INT_MIN, INT_MAX); verify_width (UINT_WIDTH, 0, UINT_MAX); verify_width (LONG_WIDTH, LONG_MIN, LONG_MAX); verify_width (ULONG_WIDTH, 0, ULONG_MAX); verify_width (LLONG_WIDTH, LLONG_MIN, LLONG_MAX); verify_width (ULLONG_WIDTH, 0, ULLONG_MAX); int main (void) { return 0; } gsasl-1.8.1/lib/gltests/binary-io.c0000644000000000000000000000245713516251666014034 00000000000000/* Binary mode I/O. Copyright 2017-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #define BINARY_IO_INLINE _GL_EXTERN_INLINE #include "binary-io.h" #if defined __DJGPP__ || defined __EMX__ # include int set_binary_mode (int fd, int mode) { if (isatty (fd)) /* If FD refers to a console (not a pipe, not a regular file), O_TEXT is the only reasonable mode, both on input and on output. Silently ignore the request. If we were to return -1 here, all programs that use xset_binary_mode would fail when run with console input or console output. */ return O_TEXT; else return __gl_setmode (fd, mode); } #endif gsasl-1.8.1/lib/gltests/test-freading.c0000644000000000000000000001112413516251667014667 00000000000000/* Test of freading() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include "freading.h" #include #include "macros.h" #define TESTFILE "t-freading.tmp" int main (void) { FILE *fp; /* Create a file with some contents. Write-only file is never reading. */ fp = fopen (TESTFILE, "w"); ASSERT (fp); ASSERT (!freading (fp)); ASSERT (fwrite ("foobarsh", 1, 8, fp) == 8); ASSERT (!freading (fp)); ASSERT (fclose (fp) == 0); /* Open it in read-only mode. Read-only file is always reading. */ fp = fopen (TESTFILE, "r"); ASSERT (fp); ASSERT (freading (fp)); ASSERT (fgetc (fp) == 'f'); ASSERT (freading (fp)); ASSERT (fseek (fp, 2, SEEK_CUR) == 0); ASSERT (freading (fp)); ASSERT (fgetc (fp) == 'b'); ASSERT (freading (fp)); fflush (fp); ASSERT (freading (fp)); ASSERT (fgetc (fp) == 'a'); ASSERT (freading (fp)); ASSERT (fseek (fp, 0, SEEK_END) == 0); ASSERT (freading (fp)); ASSERT (fclose (fp) == 0); /* Open it in read-write mode. POSIX requires a reposition (fseek, fsetpos, rewind) or EOF when transitioning from read to write; freading is only deterministic after input or output, but this test case should be portable even on open, after reposition, and at EOF. */ /* First a scenario with only fgetc, fseek, fputc. */ fp = fopen (TESTFILE, "r+"); ASSERT (fp); ASSERT (!freading (fp)); ASSERT (fgetc (fp) == 'f'); ASSERT (freading (fp)); ASSERT (fseek (fp, 2, SEEK_CUR) == 0); /* freading (fp) is undefined here, but fwriting (fp) is false. */ ASSERT (fgetc (fp) == 'b'); ASSERT (freading (fp)); /* This fseek call is necessary when switching from reading to writing. See the description of fopen(), ISO C 99 7.19.5.3.(6). */ ASSERT (fseek (fp, 0, SEEK_CUR) == 0); /* freading (fp) is undefined here, but fwriting (fp) is false. */ ASSERT (fputc ('x', fp) == 'x'); ASSERT (!freading (fp)); ASSERT (fseek (fp, 0, SEEK_END) == 0); /* freading (fp) is undefined here, because on some implementations (e.g. glibc) fseek causes a buffer to be read. fwriting (fp) is undefined as well. */ ASSERT (fclose (fp) == 0); /* Open it in read-write mode. POSIX requires a reposition (fseek, fsetpos, rewind) or EOF when transitioning from read to write; freading is only deterministic after input or output, but this test case should be portable even on open, after reposition, and at EOF. */ /* Here a scenario that includes fflush. */ fp = fopen (TESTFILE, "r+"); ASSERT (fp); ASSERT (!freading (fp)); ASSERT (fgetc (fp) == 'f'); ASSERT (freading (fp)); ASSERT (fseek (fp, 2, SEEK_CUR) == 0); /* freading (fp) is undefined here, but fwriting (fp) is false. */ ASSERT (fgetc (fp) == 'b'); ASSERT (freading (fp)); fflush (fp); /* freading (fp) is undefined here, but fwriting (fp) is false. */ ASSERT (fgetc (fp) == 'x'); ASSERT (freading (fp)); /* This fseek call is necessary when switching from reading to writing. See the description of fopen(), ISO C 99 7.19.5.3.(6). */ ASSERT (fseek (fp, 0, SEEK_CUR) == 0); /* freading (fp) is undefined here, but fwriting (fp) is false. */ ASSERT (fputc ('z', fp) == 'z'); ASSERT (!freading (fp)); ASSERT (fseek (fp, 0, SEEK_END) == 0); /* freading (fp) is undefined here, because on some implementations (e.g. glibc) fseek causes a buffer to be read. fwriting (fp) is undefined as well. */ ASSERT (fclose (fp) == 0); /* Open it in append mode. Write-only file is never reading. */ fp = fopen (TESTFILE, "a"); ASSERT (fp); ASSERT (!freading (fp)); ASSERT (fwrite ("bla", 1, 3, fp) == 3); ASSERT (!freading (fp)); ASSERT (fclose (fp) == 0); ASSERT (remove (TESTFILE) == 0); return 0; } gsasl-1.8.1/lib/gltests/test-stdio.c0000644000000000000000000000232313516251672014227 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); /* Check that the types are all defined. */ fpos_t t1; off_t t2; size_t t3; ssize_t t4; va_list t5; int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-fputc.c0000644000000000000000000000465613516251671014240 00000000000000/* Test of fputc() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fputc, int, (int, FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fputc.txt"; /* We don't have an fputc() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Test that fputc() on an unbuffered stream sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "w"); ASSERT (fp != NULL); setvbuf (fp, NULL, _IONBF, 0); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fputc ('x', fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fputc() on an unbuffered stream sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fputc ('x', fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fputc ('x', fp) == EOF); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/lib/gltests/sig-handler.h0000644000000000000000000000354213516251667014342 00000000000000/* Convenience declarations when working with . Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_SIG_HANDLER_H #define _GL_SIG_HANDLER_H #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef SIG_HANDLER_INLINE # define SIG_HANDLER_INLINE _GL_INLINE #endif /* Convenience type when working with signal handlers. */ typedef void (*sa_handler_t) (int); /* Return the handler of a signal, as a sa_handler_t value regardless of its true type. The resulting function can be compared to special values like SIG_IGN but it is not portable to call it. */ SIG_HANDLER_INLINE sa_handler_t _GL_ATTRIBUTE_PURE get_handler (struct sigaction const *a) { /* POSIX says that special values like SIG_IGN can only occur when action.sa_flags does not contain SA_SIGINFO. But in Linux 2.4, for example, sa_sigaction and sa_handler are aliases and a signal is ignored if sa_sigaction (after casting) equals SIG_IGN. In this case, this implementation relies on the fact that the two are aliases, and simply returns sa_handler. */ return a->sa_handler; } _GL_INLINE_HEADER_END #endif /* _GL_SIG_HANDLER_H */ gsasl-1.8.1/lib/gltests/test-md5.c0000644000000000000000000000463013516251671013574 00000000000000/* * Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. * Written by Simon Josefsson * * 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 3 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, see . */ /* Written by Simon Josefsson. */ #include #include "md5.h" #include #include #include #include #include "macros.h" #define TESTFILE "test-md5.data" #include "test-digest.h" int main (void) { /* Test vectors from RFC 1321. */ const char *in1 = "abc"; const char *out1 = "\x90\x01\x50\x98\x3C\xD2\x4F\xB0\xD6\x96\x3F\x7D\x28\xE1\x7F\x72"; const char *in2 = "message digest"; const char *out2 = "\xF9\x6B\x69\x7D\x7C\xB7\x93\x8D\x52\x5A\x2F\x31\xAA\xF1\x61\xD0"; char buf[MD5_DIGEST_SIZE]; if (memcmp (md5_buffer (in1, strlen (in1), buf), out1, MD5_DIGEST_SIZE) != 0) { size_t i; printf ("expected:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) printf ("%02x ", out1[i] & 0xFFu); printf ("\ncomputed:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) printf ("%02x ", buf[i] & 0xFFu); printf ("\n"); return 1; } if (memcmp (md5_buffer (in2, strlen (in2), buf), out2, MD5_DIGEST_SIZE) != 0) { size_t i; printf ("expected:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) printf ("%02x ", out2[i] & 0xFFu); printf ("\ncomputed:\n"); for (i = 0; i < MD5_DIGEST_SIZE; i++) printf ("%02x ", buf[i] & 0xFFu); printf ("\n"); return 1; } /* Test md5_stream. */ test_digest_on_files (md5_stream, "md5_stream", 16, "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04\xe9\x80\x09\x98\xec\xf8\x42\x7e", "\x0d\x70\x06\xcd\x05\x5e\x94\xcf\x61\x45\x87\xe1\xd2\xae\x0c\x8e", "\xec\x99\x67\x9b\xff\xc0\xf9\xb0\x6d\x18\x30\x6b\x06\xd6\x56\x23"); return 0; } gsasl-1.8.1/lib/gltests/test-dup2.c0000644000000000000000000001375513516251667013776 00000000000000/* Test duplicating file descriptors. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (dup2, int, (int, int)); #include #include #if HAVE_SYS_RESOURCE_H # include #endif #include "binary-io.h" #if GNULIB_TEST_CLOEXEC # include "cloexec.h" #endif #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #endif #include "macros.h" /* Return non-zero if FD is open. */ static int is_open (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; #else # ifndef F_GETFL # error Please port fcntl to your platform # endif return 0 <= fcntl (fd, F_GETFL); #endif } #if GNULIB_TEST_CLOEXEC /* Return non-zero if FD is open and inheritable across exec/spawn. */ static int is_inheritable (int fd) { # if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ HANDLE h = (HANDLE) _get_osfhandle (fd); DWORD flags; if (h == INVALID_HANDLE_VALUE || GetHandleInformation (h, &flags) == 0) return 0; return (flags & HANDLE_FLAG_INHERIT) != 0; # else # ifndef F_GETFD # error Please port fcntl to your platform # endif int i = fcntl (fd, F_GETFD); return 0 <= i && (i & FD_CLOEXEC) == 0; # endif } #endif /* GNULIB_TEST_CLOEXEC */ #if !O_BINARY # define setmode(f,m) zero () static int zero (void) { return 0; } #endif /* Return non-zero if FD is open in the given MODE, which is either O_TEXT or O_BINARY. */ static int is_mode (int fd, int mode) { int value = setmode (fd, O_BINARY); setmode (fd, value); return mode == value; } int main (void) { const char *file = "test-dup2.tmp"; char buffer[1]; int bad_fd = getdtablesize (); int fd = open (file, O_CREAT | O_TRUNC | O_RDWR, 0600); /* Assume std descriptors were provided by invoker. */ ASSERT (STDERR_FILENO < fd); ASSERT (is_open (fd)); /* Ignore any other fd's leaked into this process. */ close (fd + 1); close (fd + 2); ASSERT (!is_open (fd + 1)); ASSERT (!is_open (fd + 2)); /* Assigning to self must be a no-op. */ ASSERT (dup2 (fd, fd) == fd); ASSERT (is_open (fd)); /* The source must be valid. */ errno = 0; ASSERT (dup2 (-1, fd) == -1); ASSERT (errno == EBADF); close (99); errno = 0; ASSERT (dup2 (99, fd) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup2 (AT_FDCWD, fd) == -1); ASSERT (errno == EBADF); ASSERT (is_open (fd)); /* If the source is not open, then the destination is unaffected. */ errno = 0; ASSERT (dup2 (fd + 1, fd + 1) == -1); ASSERT (errno == EBADF); ASSERT (!is_open (fd + 1)); errno = 0; ASSERT (dup2 (fd + 1, fd) == -1); ASSERT (errno == EBADF); ASSERT (is_open (fd)); /* The destination must be valid. */ errno = 0; ASSERT (dup2 (fd, -2) == -1); ASSERT (errno == EBADF); if (bad_fd > 256) { ASSERT (dup2 (fd, 255) == 255); ASSERT (dup2 (fd, 256) == 256); ASSERT (close (255) == 0); ASSERT (close (256) == 0); } ASSERT (dup2 (fd, bad_fd - 1) == bad_fd - 1); ASSERT (close (bad_fd - 1) == 0); errno = 0; ASSERT (dup2 (fd, bad_fd) == -1); ASSERT (errno == EBADF); /* Using dup2 can skip fds. */ ASSERT (dup2 (fd, fd + 2) == fd + 2); ASSERT (is_open (fd)); ASSERT (!is_open (fd + 1)); ASSERT (is_open (fd + 2)); /* Verify that dup2 closes the previous occupant of a fd. */ ASSERT (open ("/dev/null", O_WRONLY, 0600) == fd + 1); ASSERT (dup2 (fd + 1, fd) == fd); ASSERT (close (fd + 1) == 0); ASSERT (write (fd, "1", 1) == 1); ASSERT (dup2 (fd + 2, fd) == fd); ASSERT (lseek (fd, 0, SEEK_END) == 0); ASSERT (write (fd + 2, "2", 1) == 1); ASSERT (lseek (fd, 0, SEEK_SET) == 0); ASSERT (read (fd, buffer, 1) == 1); ASSERT (*buffer == '2'); #if GNULIB_TEST_CLOEXEC /* Any new fd created by dup2 must not be cloexec. */ ASSERT (close (fd + 2) == 0); ASSERT (dup_cloexec (fd) == fd + 1); ASSERT (!is_inheritable (fd + 1)); ASSERT (dup2 (fd + 1, fd + 1) == fd + 1); ASSERT (!is_inheritable (fd + 1)); ASSERT (dup2 (fd + 1, fd + 2) == fd + 2); ASSERT (!is_inheritable (fd + 1)); ASSERT (is_inheritable (fd + 2)); errno = 0; ASSERT (dup2 (fd + 1, -1) == -1); ASSERT (errno == EBADF); ASSERT (!is_inheritable (fd + 1)); #endif /* On systems that distinguish between text and binary mode, dup2 reuses the mode of the source. */ setmode (fd, O_BINARY); ASSERT (is_mode (fd, O_BINARY)); ASSERT (dup2 (fd, fd + 1) == fd + 1); ASSERT (is_mode (fd + 1, O_BINARY)); setmode (fd, O_TEXT); ASSERT (is_mode (fd, O_TEXT)); ASSERT (dup2 (fd, fd + 1) == fd + 1); ASSERT (is_mode (fd + 1, O_TEXT)); /* Clean up. */ ASSERT (close (fd + 2) == 0); ASSERT (close (fd + 1) == 0); ASSERT (close (fd) == 0); ASSERT (unlink (file) == 0); return 0; } gsasl-1.8.1/lib/gltests/test-sys_time.c0000644000000000000000000000215013516251670014735 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include /* Check that the 'struct timeval' type is defined. */ struct timeval a; /* Check that a.tv_sec is wide enough to hold a time_t, ignoring signedness issues. */ typedef int verify_tv_sec_type[sizeof (time_t) <= sizeof (a.tv_sec) ? 1 : -1]; int main (void) { return 0; } gsasl-1.8.1/lib/gltests/lstat.c0000644000000000000000000000721513516251667013270 00000000000000/* Work around a bug of lstat on some systems Copyright (C) 1997-2006, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Jim Meyering */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_lstat doesn't recurse to rpl_lstat. */ #define __need_system_sys_stat_h #include #if !HAVE_LSTAT /* On systems that lack symlinks, our replacement already defined lstat as stat, so there is nothing further to do other than avoid an empty file. */ typedef int dummy; #else /* HAVE_LSTAT */ /* Get the original definition of lstat. It might be defined as a macro. */ # include # include # undef __need_system_sys_stat_h static int orig_lstat (const char *filename, struct stat *buf) { return lstat (filename, buf); } /* Specification. */ # ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" # else # include # endif # include "stat-time.h" # include # include /* lstat works differently on Linux and Solaris systems. POSIX (see "pathname resolution" in the glossary) requires that programs like 'ls' take into consideration the fact that FILE has a trailing slash when FILE is a symbolic link. On Linux and Solaris 10 systems, the lstat function already has the desired semantics (in treating 'lstat ("symlink/", sbuf)' just like 'lstat ("symlink/.", sbuf)', but on Solaris 9 and earlier it does not. If FILE has a trailing slash and specifies a symbolic link, then use stat() to get more info on the referent of FILE. If the referent is a non-directory, then set errno to ENOTDIR and return -1. Otherwise, return stat's result. */ int rpl_lstat (const char *file, struct stat *sbuf) { int result = orig_lstat (file, sbuf); /* This replacement file can blindly check against '/' rather than using the ISSLASH macro, because all platforms with '\\' either lack symlinks (mingw) or have working lstat (cygwin) and thus do not compile this file. 0 len should have already been filtered out above, with a failure return of ENOENT. */ if (result == 0) { if (S_ISDIR (sbuf->st_mode) || file[strlen (file) - 1] != '/') result = stat_time_normalize (result, sbuf); else { /* At this point, a trailing slash is permitted only on symlink-to-dir; but it should have found information on the directory, not the symlink. Call 'stat' to get info about the link's referent. Our replacement stat guarantees valid results, even if the symlink is not pointing to a directory. */ if (!S_ISLNK (sbuf->st_mode)) { errno = ENOTDIR; return -1; } result = stat (file, sbuf); } } return result; } #endif /* HAVE_LSTAT */ gsasl-1.8.1/lib/gltests/ioctl.c0000644000000000000000000000435313516251667013253 00000000000000/* ioctl.c --- wrappers for Windows ioctl function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #include #include #if HAVE_IOCTL /* Provide a wrapper with the POSIX prototype. */ # undef ioctl int rpl_ioctl (int fd, int request, ... /* {void *,char *} arg */) { void *buf; va_list args; va_start (args, request); buf = va_arg (args, void *); va_end (args); /* Cast 'request' so that when the system's ioctl function takes a 64-bit request argument, the value gets zero-extended, not sign-extended. */ return ioctl (fd, (unsigned int) request, buf); } #else /* mingw */ # include /* Get HANDLE. */ # define WIN32_LEAN_AND_MEAN # include # include "fd-hook.h" /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif static int primary_ioctl (int fd, int request, void *arg) { /* We don't support FIONBIO on pipes here. If you want to make pipe fds non-blocking, use the gnulib 'nonblocking' module, until gnulib implements fcntl F_GETFL / F_SETFL with O_NONBLOCK. */ if ((HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE) errno = ENOSYS; else errno = EBADF; return -1; } int ioctl (int fd, int request, ... /* {void *,char *} arg */) { void *arg; va_list args; va_start (args, request); arg = va_arg (args, void *); va_end (args); # if WINDOWS_SOCKETS return execute_all_ioctl_hooks (primary_ioctl, fd, request, arg); # else return primary_ioctl (fd, request, arg); # endif } #endif gsasl-1.8.1/lib/gltests/test-pthread_sigmask2.c0000644000000000000000000000477513516251667016355 00000000000000/* Test of pthread_sigmask in a multi-threaded program. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include #include #include #include #include "macros.h" #if USE_POSIX_THREADS static pthread_t main_thread; static pthread_t killer_thread; static void * killer_thread_func (void *arg) { sleep (1); pthread_kill (main_thread, SIGINT); return NULL; } static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main (int argc, char *argv[]) { sigset_t set; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); /* Check error handling. */ ASSERT (pthread_sigmask (1729, &set, NULL) == EINVAL); /* Block SIGINT. */ ASSERT (pthread_sigmask (SIG_BLOCK, &set, NULL) == 0); /* Request a SIGINT signal from another thread. */ main_thread = pthread_self (); ASSERT (pthread_create (&killer_thread, NULL, killer_thread_func, NULL) == 0); /* Wait. */ sleep (2); /* The signal should not have arrived yet, because it is blocked. */ ASSERT (sigint_occurred == 0); /* Unblock SIGINT. */ ASSERT (pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0); /* The signal should have arrived now, because POSIX says "If there are any pending unblocked signals after the call to pthread_sigmask(), at least one of those signals shall be delivered before the call to pthread_sigmask() returns." */ ASSERT (sigint_occurred == 1); /* Clean up the thread. This avoid a "ThreadSanitizer: thread leak" warning from "gcc -fsanitize=thread". */ ASSERT (pthread_join (killer_thread, NULL) == 0); return 0; } #else int main () { fputs ("Skipping test: POSIX threads not enabled\n", stderr); return 77; } #endif gsasl-1.8.1/lib/gltests/test-gc-md5.c0000644000000000000000000000606513516251671014167 00000000000000/* * Copyright (C) 2005, 2010-2019 Free Software Foundation, Inc. * Written by Simon Josefsson * * 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 3, 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, see . */ #include #include "gc.h" #include #include int main (int argc, char *argv[]) { Gc_rc rc; gc_hash_handle h; rc = gc_init (); if (rc != GC_OK) { printf ("gc_init() failed\n"); return 1; } /* Test vectors from RFC 1321. */ { char *in = "abcdefghijklmnopqrstuvwxyz"; size_t inlen = strlen (in); char *expect = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00\x7d\xfb\x49\x6c\xca\x67\xe1\x3b"; char out[16]; const char *p; /* MD5 ("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b */ if (gc_md5 (in, inlen, out) != 0) { printf ("gc_md5 call failed\n"); return 1; } if (memcmp (out, expect, 16) != 0) { size_t i; printf ("md5 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); return 1; } if (gc_hash_buffer (GC_MD5, in, inlen, out) != 0) { printf ("gc_hash_buffer(MD5) call failed\n"); return 1; } if (memcmp (out, expect, 16) != 0) { size_t i; printf ("md5 2 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); return 1; } if (gc_hash_digest_length (GC_MD5) != 16) { printf ("gc_hash_digest_length (GC_MD5) failed\n"); return 1; } if ((rc = gc_hash_open (GC_MD5, 0, &h)) != GC_OK) { printf ("gc_hash_open(GC_MD5) failed (%d)\n", rc); return 1; } gc_hash_write (h, inlen, in); p = gc_hash_read (h); if (!p) { printf ("gc_hash_read failed\n"); return 1; } if (memcmp (p, expect, 16) != 0) { size_t i; printf ("md5 3 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", p[i] & 0xFF); printf ("\n"); return 1; } gc_hash_close (h); } gc_done (); return 0; } gsasl-1.8.1/lib/gltests/ctype.in.h0000644000000000000000000000342213516251666013672 00000000000000/* A substitute for ISO C99 , for platforms on which it is incomplete. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible. */ /* * ISO C 99 for platforms on which it is incomplete. * */ #ifndef _@GUARD_PREFIX@_CTYPE_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Include the original . */ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_CTYPE_H@ #ifndef _@GUARD_PREFIX@_CTYPE_H #define _@GUARD_PREFIX@_CTYPE_H /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Return non-zero if c is a blank, i.e. a space or tab character. */ #if @GNULIB_ISBLANK@ # if !@HAVE_ISBLANK@ _GL_EXTERN_C int isblank (int c); # endif #elif defined GNULIB_POSIXCHECK # undef isblank # if HAVE_RAW_DECL_ISBLANK _GL_WARN_ON_USE (isblank, "isblank is unportable - " "use gnulib module isblank for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_CTYPE_H */ #endif /* _@GUARD_PREFIX@_CTYPE_H */ gsasl-1.8.1/lib/gltests/test-open.h0000644000000000000000000000646113516251667014066 00000000000000/* Test of opening a file descriptor. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ /* Make test_open always inline if we're using Fortify, which defines __always_inline to do that. Do nothing otherwise. This works around a glibc bug whereby 'open' cannot be used as a function pointer when _FORTIFY_SOURCE is positive. */ #if __GLIBC__ && defined __always_inline # define ALWAYS_INLINE __always_inline #else # define ALWAYS_INLINE #endif /* This file is designed to test both open(n,buf[,mode]) and openat(AT_FDCWD,n,buf[,mode]). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static ALWAYS_INLINE int test_open (int (*func) (char const *, int, ...), bool print) { int fd; /* Remove anything from prior partial run. */ unlink (BASE "file"); /* Cannot create directory. */ errno = 0; ASSERT (func ("nonexist.ent/", O_CREAT | O_RDONLY, 0600) == -1); ASSERT (errno == ENOTDIR || errno == EISDIR || errno == ENOENT || errno == EINVAL); /* Create a regular file. */ fd = func (BASE "file", O_CREAT | O_RDONLY, 0600); ASSERT (0 <= fd); ASSERT (close (fd) == 0); /* Trailing slash handling. */ errno = 0; ASSERT (func (BASE "file/", O_RDONLY) == -1); ASSERT (errno == ENOTDIR || errno == EISDIR || errno == EINVAL); /* Directories cannot be opened for writing. */ errno = 0; ASSERT (func (".", O_WRONLY) == -1); ASSERT (errno == EISDIR || errno == EACCES); /* /dev/null must exist, and be writable. */ fd = func ("/dev/null", O_RDONLY); ASSERT (0 <= fd); { char c; ASSERT (read (fd, &c, 1) == 0); } ASSERT (close (fd) == 0); fd = func ("/dev/null", O_WRONLY); ASSERT (0 <= fd); ASSERT (write (fd, "c", 1) == 1); ASSERT (close (fd) == 0); /* Although O_NONBLOCK on regular files can be ignored, it must not cause a failure. */ fd = func (BASE "file", O_NONBLOCK | O_RDONLY); ASSERT (0 <= fd); ASSERT (close (fd) == 0); /* Symlink handling, where supported. */ if (symlink (BASE "file", BASE "link") != 0) { ASSERT (unlink (BASE "file") == 0); if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } errno = 0; ASSERT (func (BASE "link/", O_RDONLY) == -1); ASSERT (errno == ENOTDIR); fd = func (BASE "link", O_RDONLY); ASSERT (0 <= fd); ASSERT (close (fd) == 0); /* Cleanup. */ ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link") == 0); return 0; } gsasl-1.8.1/lib/gltests/test-fpurge.c0000644000000000000000000000753413516251667014412 00000000000000/* Test of fpurge() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include #include #include "macros.h" #define TESTFILE "t-fpurge.tmp" int main (void) { int check_filepos; for (check_filepos = 0; check_filepos <= 1; check_filepos++) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) goto skip; if (fwrite ("foobarsh", 1, 8, fp) < 8) goto skip; if (fclose (fp)) goto skip; /* The file's contents is now "foobarsh". */ /* Open it in read-write mode. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) goto skip; if (fseek (fp, 3, SEEK_CUR)) goto skip; if (fwrite ("g", 1, 1, fp) < 1) goto skip; if (fflush (fp)) goto skip; if (fwrite ("bz", 1, 2, fp) < 2) goto skip; /* Discard pending write. */ ASSERT (fpurge (fp) == 0); /* Verify that when discarding pending output, the file position is set back to where it was before the write calls. */ if (check_filepos) ASSERT (ftell (fp) == 4); ASSERT (fclose (fp) == 0); /* Open it in read-only mode. */ fp = fopen (TESTFILE, "r"); if (fp == NULL) goto skip; /* Verify that the pending writes before the fpurge were really discarded. */ { char buf[8]; if (fread (buf, 1, 7, fp) < 7) goto skip; ASSERT (memcmp (buf, "foogars", 7) == 0); } /* Discard the buffered 'h'. */ if (check_filepos) ASSERT (ftell (fp) == 7); ASSERT (fpurge (fp) == 0); /* Verify that when discarding pending input, the file position is advanced to match the end of the previously read input. */ if (check_filepos) ASSERT (ftell (fp) == 8); ASSERT (getc (fp) == EOF); ASSERT (fclose (fp) == 0); /* The file's contents is now "foogarsh". */ /* Ensure that purging a read does not corrupt subsequent writes. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) goto skip; if (fseek (fp, -1, SEEK_END)) goto skip; ASSERT (getc (fp) == 'h'); ASSERT (getc (fp) == EOF); if (check_filepos) ASSERT (ftell (fp) == 8); ASSERT (fpurge (fp) == 0); if (check_filepos) ASSERT (ftell (fp) == 8); ASSERT (putc ('!', fp) == '!'); if (check_filepos) ASSERT (ftell (fp) == 9); ASSERT (fclose (fp) == 0); fp = fopen (TESTFILE, "r"); if (fp == NULL) goto skip; { char buf[10]; ASSERT (fread (buf, 1, 10, fp) == 9); ASSERT (memcmp (buf, "foogarsh!", 9) == 0); } ASSERT (fclose (fp) == 0); /* The file's contents is now "foogarsh!". */ } remove (TESTFILE); return 0; skip: fprintf (stderr, "Skipping test: prerequisite file operations failed.\n"); remove (TESTFILE); return 77; } gsasl-1.8.1/lib/gltests/sleep.c0000644000000000000000000000436113516251667013250 00000000000000/* Pausing execution of the current thread. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2007. 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 3 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, see . */ #include /* Specification. */ #include #include #include "verify.h" #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include unsigned int sleep (unsigned int seconds) { unsigned int remaining; /* Sleep for 1 second many times, because 1. Sleep is not interruptible by Ctrl-C, 2. we want to avoid arithmetic overflow while multiplying with 1000. */ for (remaining = seconds; remaining > 0; remaining--) Sleep (1000); return remaining; } #elif HAVE_SLEEP # undef sleep /* Guarantee unlimited sleep and a reasonable return value. Cygwin 1.5.x rejects attempts to sleep more than 49.7 days (2**32 milliseconds), but uses uninitialized memory which results in a garbage answer. Similarly, Linux 2.6.9 with glibc 2.3.4 has a too small return value when asked to sleep more than 24.85 days. */ unsigned int rpl_sleep (unsigned int seconds) { /* This requires int larger than 16 bits. */ verify (UINT_MAX / 24 / 24 / 60 / 60); const unsigned int limit = 24 * 24 * 60 * 60; while (limit < seconds) { unsigned int result; seconds -= limit; result = sleep (limit); if (result) return seconds + result; } return sleep (seconds); } #else /* !HAVE_SLEEP */ #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." #endif gsasl-1.8.1/lib/gltests/test-stdbool.c0000644000000000000000000000663613516251671014565 00000000000000/* Test of substitute. Copyright (C) 2002-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ /* We want this test to succeed even when using gcc's -Werror; but to do that requires a pragma that didn't exist before 4.3.0. */ #ifndef __GNUC__ # define ADDRESS_CHECK_OKAY #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 3) /* No way to silence -Waddress. */ #else # pragma GCC diagnostic ignored "-Waddress" # define ADDRESS_CHECK_OKAY #endif #include #include #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif /* Several tests cannot be guaranteed with gnulib's , at least, not for all compilers and compiler options. */ #if HAVE_STDBOOL_H || 3 <= __GNUC__ struct s { _Bool s: 1; _Bool t; } s; #endif char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; #if HAVE_STDBOOL_H || 3 <= __GNUC__ /* See above. */ char d[(bool) 0.5 == true ? 1 : -1]; # ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ /* C99 may plausibly be interpreted as not requiring support for a cast from a variable's address to bool in a static initializer. So treat it like a GCC extension. */ # ifdef __GNUC__ bool e = &s; # endif # endif char f[(_Bool) 0.0 == false ? 1 : -1]; #endif char g[true]; char h[sizeof (_Bool)]; #if HAVE_STDBOOL_H || 3 <= __GNUC__ /* See above. */ char i[sizeof s.t]; #endif enum { j = false, k = true, l = false * true, m = true * 256 }; _Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ _Bool q = true; _Bool *pq = &q; int main () { int error = 0; #if HAVE_STDBOOL_H || 3 <= __GNUC__ /* See above. */ # ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */ /* A cast from a variable's address to bool is valid in expressions. */ { bool e1 = &s; if (!e1) error = 1; } # endif #endif /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 reported by James Lemley on 2005-10-05; see https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html This is a runtime test, since a corresponding compile-time test would rely on initializer extensions. */ { char digs[] = "0123456789"; if (&(digs + 5)[-2 + (bool) 1] != &digs[4]) error = 1; } return error; } gsasl-1.8.1/lib/gltests/windows-once.c0000644000000000000000000000435513516251670014551 00000000000000/* Once-only control (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-once.h" #include void glwthread_once (glwthread_once_t *once_control, void (*initfunction) (void)) { if (once_control->inited <= 0) { if (InterlockedIncrement (&once_control->started) == 0) { /* This thread is the first one to come to this once_control. */ InitializeCriticalSection (&once_control->lock); EnterCriticalSection (&once_control->lock); once_control->inited = 0; initfunction (); once_control->inited = 1; LeaveCriticalSection (&once_control->lock); } else { /* Don't let once_control->started grow and wrap around. */ InterlockedDecrement (&once_control->started); /* Some other thread has already started the initialization. Yield the CPU while waiting for the other thread to finish initializing and taking the lock. */ while (once_control->inited < 0) Sleep (0); if (once_control->inited <= 0) { /* Take the lock. This blocks until the other thread has finished calling the initfunction. */ EnterCriticalSection (&once_control->lock); LeaveCriticalSection (&once_control->lock); if (!(once_control->inited > 0)) abort (); } } } } gsasl-1.8.1/lib/gltests/test-environ.c0000644000000000000000000000273013516251667014573 00000000000000/* Test of environ variable. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include int main () { /* The environment variables that are set even in the weirdest situations are HOME and PATH. POSIX says that HOME is initialized by the system, and that PATH may be unset. But in practice it's more frequent to see HOME unset and PATH set. So we test the presence of PATH. */ char **remaining_variables = environ; char *string; for (; (string = *remaining_variables) != NULL; remaining_variables++) { if (strncmp (string, "PATH=", 5) == 0) /* Found the PATH environment variable. */ return 0; } /* Failed to find the PATH environment variable. */ return 1; } gsasl-1.8.1/lib/gltests/glthread/0000755000000000000000000000000013521017727013633 500000000000000gsasl-1.8.1/lib/gltests/glthread/yield.h0000644000000000000000000000355313516251667015047 00000000000000/* Yielding the processor to other threads and processes. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* This file contains a primitive for yielding the processor to other threads. extern void gl_thread_yield (void); */ #ifndef _GLTHREAD_YIELD_H #define _GLTHREAD_YIELD_H #include /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # ifdef __cplusplus extern "C" { # endif # define gl_thread_yield() \ sched_yield () # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # ifdef __cplusplus extern "C" { # endif # define gl_thread_yield() \ Sleep (0) # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ # define gl_thread_yield() 0 #endif /* ========================================================================= */ #endif /* _GLTHREAD_YIELD_H */ gsasl-1.8.1/lib/gltests/glthread/thread.h0000644000000000000000000002456113516251666015211 00000000000000/* Creating and controlling threads. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ /* This file contains primitives for creating and controlling threads. Thread data type: gl_thread_t. Creating a thread: thread = gl_thread_create (func, arg); Or with control of error handling: err = glthread_create (&thread, func, arg); extern int glthread_create (gl_thread_t *result, void *(*func) (void *), void *arg); Querying and changing the signal mask of a thread (not supported on all platforms): gl_thread_sigmask (how, newmask, oldmask); Or with control of error handling: err = glthread_sigmask (how, newmask, oldmask); extern int glthread_sigmask (int how, const sigset_t *newmask, sigset_t *oldmask); Waiting for termination of another thread: gl_thread_join (thread, &return_value); Or with control of error handling: err = glthread_join (thread, &return_value); extern int glthread_join (gl_thread_t thread, void **return_value_ptr); Getting a reference to the current thread: current = gl_thread_self (); extern gl_thread_t gl_thread_self (void); Getting a reference to the current thread as a pointer, for debugging: ptr = gl_thread_self_pointer (); extern void * gl_thread_self_pointer (void); Terminating the current thread: gl_thread_exit (return_value); extern _Noreturn void gl_thread_exit (void *return_value); Requesting custom code to be executed at fork() time (not supported on all platforms): gl_thread_atfork (prepare_func, parent_func, child_func); Or with control of error handling: err = glthread_atfork (prepare_func, parent_func, child_func); extern int glthread_atfork (void (*prepare_func) (void), void (*parent_func) (void), void (*child_func) (void)); Note that even on platforms where this is supported, use of fork() and threads together is problematic, see */ #ifndef _GLTHREAD_THREAD_H #define _GLTHREAD_THREAD_H #include #include #if !defined c11_threads_in_use # if HAVE_THREADS_H && USE_POSIX_THREADS_WEAK # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif #endif #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GLTHREAD_THREAD_INLINE # define _GLTHREAD_THREAD_INLINE _GL_INLINE #endif /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include /* On IRIX, pthread_atfork is declared in , not in . */ # if defined __sgi # include # endif # if USE_POSIX_THREADS_WEAK /* Compilers other than GCC need to see the declaration of pthread_sigmask before the "#pragma weak pthread_sigmask" below. */ # include # endif # ifdef __cplusplus extern "C" { # endif # if PTHREAD_IN_USE_DETECTION_HARD /* The pthread_in_use() detection needs to be done at runtime. */ # define pthread_in_use() \ glthread_in_use () extern int glthread_in_use (void); # endif # if USE_POSIX_THREADS_WEAK /* Use weak references to the POSIX threads library. */ /* Weak references avoid dragging in external libraries if the other parts of the program don't use them. Here we use them, because we don't want every program that uses libintl to depend on libpthread. This assumes that libpthread would not be loaded after libintl; i.e. if libintl is loaded first, by an executable that does not depend on libpthread, and then a module is dynamically loaded that depends on libpthread, libintl will not be multithread-safe. */ /* The way to test at runtime whether libpthread is present is to test whether a function pointer's value, such as &pthread_mutex_init, is non-NULL. However, some versions of GCC have a bug through which, in PIC mode, &foo != NULL always evaluates to true if there is a direct call to foo(...) in the same function. To avoid this, we test the address of a function in libpthread that we don't use. */ # ifndef pthread_sigmask /* Do not declare rpl_pthread_sigmask weak. */ # pragma weak pthread_sigmask # endif # pragma weak pthread_join # ifndef pthread_self # pragma weak pthread_self # endif # pragma weak pthread_exit # if HAVE_PTHREAD_ATFORK # pragma weak pthread_atfork # endif # if !PTHREAD_IN_USE_DETECTION_HARD # pragma weak pthread_mutexattr_gettype # define pthread_in_use() \ (pthread_mutexattr_gettype != NULL || c11_threads_in_use ()) # endif # else # if !PTHREAD_IN_USE_DETECTION_HARD # define pthread_in_use() 1 # endif # endif /* -------------------------- gl_thread_t datatype -------------------------- */ /* This choice of gl_thread_t assumes that pthread_equal (a, b) is equivalent to ((a) == (b)). This is the case on all platforms in use in 2008. */ typedef pthread_t gl_thread_t; # define glthread_create(THREADP, FUNC, ARG) \ (pthread_in_use () ? pthread_create (THREADP, NULL, FUNC, ARG) : ENOSYS) # define glthread_sigmask(HOW, SET, OSET) \ (pthread_in_use () ? pthread_sigmask (HOW, SET, OSET) : 0) # define glthread_join(THREAD, RETVALP) \ (pthread_in_use () ? pthread_join (THREAD, RETVALP) : 0) # ifdef PTW32_VERSION /* In pthreads-win32, pthread_t is a struct with a pointer field 'p' and other fields. */ # define gl_thread_self() \ (pthread_in_use () ? pthread_self () : gl_null_thread) # define gl_thread_self_pointer() \ (pthread_in_use () ? pthread_self ().p : NULL) extern const gl_thread_t gl_null_thread; # elif defined __MVS__ /* On IBM z/OS, pthread_t is a struct with an 8-byte '__' field. The first three bytes of this field appear to uniquely identify a pthread_t, though not necessarily representing a pointer. */ # define gl_thread_self() \ (pthread_in_use () ? pthread_self () : gl_null_thread) # define gl_thread_self_pointer() \ (pthread_in_use () ? *((void **) pthread_self ().__) : NULL) extern const gl_thread_t gl_null_thread; # else # define gl_thread_self() \ (pthread_in_use () ? pthread_self () : (pthread_t) NULL) # define gl_thread_self_pointer() \ (pthread_in_use () ? (void *) pthread_self () : NULL) # endif # define gl_thread_exit(RETVAL) \ (pthread_in_use () ? pthread_exit (RETVAL) : 0) # if HAVE_PTHREAD_ATFORK # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) \ (pthread_in_use () ? pthread_atfork (PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) : 0) # else # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 # endif # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-thread.h" # ifdef __cplusplus extern "C" { # endif /* -------------------------- gl_thread_t datatype -------------------------- */ typedef glwthread_thread_t gl_thread_t; # define glthread_create(THREADP, FUNC, ARG) \ glwthread_thread_create (THREADP, 0, FUNC, ARG) # define glthread_sigmask(HOW, SET, OSET) \ /* unsupported */ 0 # define glthread_join(THREAD, RETVALP) \ glwthread_thread_join (THREAD, RETVALP) # define gl_thread_self() \ glwthread_thread_self () # define gl_thread_self_pointer() \ gl_thread_self () # define gl_thread_exit(RETVAL) \ glwthread_thread_exit (RETVAL) # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ typedef int gl_thread_t; # define glthread_create(THREADP, FUNC, ARG) ENOSYS # define glthread_sigmask(HOW, SET, OSET) 0 # define glthread_join(THREAD, RETVALP) 0 # define gl_thread_self() 0 # define gl_thread_self_pointer() \ ((void *) gl_thread_self ()) # define gl_thread_exit(RETVAL) 0 # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 #endif /* ========================================================================= */ /* Macros with built-in error handling. */ #ifdef __cplusplus extern "C" { #endif _GLTHREAD_THREAD_INLINE gl_thread_t gl_thread_create (void *(*func) (void *arg), void *arg) { gl_thread_t thread; int ret; ret = glthread_create (&thread, func, arg); if (ret != 0) abort (); return thread; } #define gl_thread_sigmask(HOW, SET, OSET) \ do \ { \ if (glthread_sigmask (HOW, SET, OSET)) \ abort (); \ } \ while (0) #define gl_thread_join(THREAD, RETVAL) \ do \ { \ if (glthread_join (THREAD, RETVAL)) \ abort (); \ } \ while (0) #define gl_thread_atfork(PREPARE, PARENT, CHILD) \ do \ { \ if (glthread_atfork (PREPARE, PARENT, CHILD)) \ abort (); \ } \ while (0) #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _GLTHREAD_THREAD_H */ gsasl-1.8.1/lib/gltests/glthread/thread.c0000644000000000000000000000266213516251666015202 00000000000000/* Creating and controlling threads. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ #include /* Specification. */ # define _GLTHREAD_THREAD_INLINE _GL_EXTERN_INLINE #include "glthread/thread.h" #include #include "glthread/lock.h" /* ========================================================================= */ #if USE_POSIX_THREADS #include #if defined PTW32_VERSION || defined __MVS__ const gl_thread_t gl_null_thread /* = { .p = NULL } */; #endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS #endif /* ========================================================================= */ gsasl-1.8.1/lib/gltests/glthread/lock.c0000644000000000000000000003000713516251666014655 00000000000000/* Locking in multithreaded situations. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h. */ #include #include "glthread/lock.h" /* ========================================================================= */ #if USE_POSIX_THREADS /* -------------------------- gl_lock_t datatype -------------------------- */ /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # ifdef PTHREAD_RWLOCK_INITIALIZER # if !HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER /* glibc with bug https://sourceware.org/bugzilla/show_bug.cgi?id=13701 */ int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock) { pthread_rwlockattr_t attributes; int err; err = pthread_rwlockattr_init (&attributes); if (err != 0) return err; /* Note: PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP is the only value that causes the writer to be preferred. PTHREAD_RWLOCK_PREFER_WRITER_NP does not do this; see http://man7.org/linux/man-pages/man3/pthread_rwlockattr_setkind_np.3.html */ err = pthread_rwlockattr_setkind_np (&attributes, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP); if (err == 0) err = pthread_rwlock_init(lock, &attributes); /* pthread_rwlockattr_destroy always returns 0. It cannot influence the return value. */ pthread_rwlockattr_destroy (&attributes); return err; } # endif # else int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_rwlock_init (&lock->rwlock, NULL); if (err != 0) return err; lock->initialized = 1; return 0; } int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_rwlock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_rwlock_rdlock (&lock->rwlock); } int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_rwlock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_rwlock_wrlock (&lock->rwlock); } int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) return EINVAL; return pthread_rwlock_unlock (&lock->rwlock); } int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = pthread_rwlock_destroy (&lock->rwlock); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_init (&lock->lock, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_readers, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_writers, NULL); if (err != 0) return err; lock->waiting_writers_count = 0; lock->runcount = 0; return 0; } int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ while (!(lock->runcount + 1 > 0 && lock->waiting_writers_count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ err = pthread_cond_wait (&lock->waiting_readers, &lock->lock); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } lock->runcount++; return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether no readers or writers are currently running. */ while (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ lock->waiting_writers_count++; err = pthread_cond_wait (&lock->waiting_writers, &lock->lock); if (err != 0) { lock->waiting_writers_count--; pthread_mutex_unlock (&lock->lock); return err; } lock->waiting_writers_count--; } lock->runcount--; /* runcount becomes -1 */ return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) { pthread_mutex_unlock (&lock->lock); return EINVAL; } lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { pthread_mutex_unlock (&lock->lock); return EINVAL; } lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers_count > 0) { /* Wake up one of the waiting writers. */ err = pthread_cond_signal (&lock->waiting_writers); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } else { /* Wake up all waiting readers. */ err = pthread_cond_broadcast (&lock->waiting_readers); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } } return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_destroy (&lock->lock); if (err != 0) return err; err = pthread_cond_destroy (&lock->waiting_readers); if (err != 0) return err; err = pthread_cond_destroy (&lock->waiting_writers); if (err != 0) return err; return 0; } # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = pthread_mutexattr_init (&attributes); if (err != 0) return err; err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutex_init (lock, &attributes); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutexattr_destroy (&attributes); if (err != 0) return err; return 0; } # else int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = pthread_mutexattr_init (&attributes); if (err != 0) return err; err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutex_init (&lock->recmutex, &attributes); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutexattr_destroy (&attributes); if (err != 0) return err; lock->initialized = 1; return 0; } int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_recursive_lock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_mutex_lock (&lock->recmutex); } int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock) { if (!lock->initialized) return EINVAL; return pthread_mutex_unlock (&lock->recmutex); } int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = pthread_mutex_destroy (&lock->recmutex); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { int err; err = pthread_mutex_init (&lock->mutex, NULL); if (err != 0) return err; lock->owner = (pthread_t) 0; lock->depth = 0; return 0; } int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock) { pthread_t self = pthread_self (); if (lock->owner != self) { int err; err = pthread_mutex_lock (&lock->mutex); if (err != 0) return err; lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ { lock->depth--; return EAGAIN; } return 0; } int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock) { if (lock->owner != pthread_self ()) return EPERM; if (lock->depth == 0) return EINVAL; if (--(lock->depth) == 0) { lock->owner = (pthread_t) 0; return pthread_mutex_unlock (&lock->mutex); } else return 0; } int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock) { if (lock->owner != (pthread_t) 0) return EBUSY; return pthread_mutex_destroy (&lock->mutex); } # endif /* -------------------------- gl_once_t datatype -------------------------- */ static const pthread_once_t fresh_once = PTHREAD_ONCE_INIT; int glthread_once_singlethreaded (pthread_once_t *once_control) { /* We don't know whether pthread_once_t is an integer type, a floating-point type, a pointer type, or a structure type. */ char *firstbyte = (char *)once_control; if (*firstbyte == *(const char *)&fresh_once) { /* First time use of once_control. Invert the first byte. */ *firstbyte = ~ *(const char *)&fresh_once; return 1; } else return 0; } #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS #endif /* ========================================================================= */ gsasl-1.8.1/lib/gltests/glthread/threadlib.c0000644000000000000000000000353713516251667015674 00000000000000/* Multithreading primitives. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. */ #include /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # include # if PTHREAD_IN_USE_DETECTION_HARD /* The function to be executed by a dummy thread. */ static void * dummy_thread_func (void *arg) { return arg; } int glthread_in_use (void) { static int tested; static int result; /* 1: linked with -lpthread, 0: only with libc */ if (!tested) { pthread_t thread; if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) /* Thread creation failed. */ result = 0; else { /* Thread creation works. */ void *retval; if (pthread_join (thread, &retval) != 0) abort (); result = 1; } tested = 1; } return result; } # endif #endif /* ========================================================================= */ /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; gsasl-1.8.1/lib/gltests/glthread/lock.h0000644000000000000000000006406113516251666014671 00000000000000/* Locking in multithreaded situations. Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ /* This file contains locking primitives for use with a given thread library. It does not contain primitives for creating threads or for other synchronization primitives. Normal (non-recursive) locks: Type: gl_lock_t Declaration: gl_lock_define(extern, name) Initializer: gl_lock_define_initialized(, name) Initialization: gl_lock_init (name); Taking the lock: gl_lock_lock (name); Releasing the lock: gl_lock_unlock (name); De-initialization: gl_lock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_lock_init (&name); Taking the lock: err = glthread_lock_lock (&name); Releasing the lock: err = glthread_lock_unlock (&name); De-initialization: err = glthread_lock_destroy (&name); Read-Write (non-recursive) locks: Type: gl_rwlock_t Declaration: gl_rwlock_define(extern, name) Initializer: gl_rwlock_define_initialized(, name) Initialization: gl_rwlock_init (name); Taking the lock: gl_rwlock_rdlock (name); gl_rwlock_wrlock (name); Releasing the lock: gl_rwlock_unlock (name); De-initialization: gl_rwlock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_rwlock_init (&name); Taking the lock: err = glthread_rwlock_rdlock (&name); err = glthread_rwlock_wrlock (&name); Releasing the lock: err = glthread_rwlock_unlock (&name); De-initialization: err = glthread_rwlock_destroy (&name); Recursive locks: Type: gl_recursive_lock_t Declaration: gl_recursive_lock_define(extern, name) Initializer: gl_recursive_lock_define_initialized(, name) Initialization: gl_recursive_lock_init (name); Taking the lock: gl_recursive_lock_lock (name); Releasing the lock: gl_recursive_lock_unlock (name); De-initialization: gl_recursive_lock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_recursive_lock_init (&name); Taking the lock: err = glthread_recursive_lock_lock (&name); Releasing the lock: err = glthread_recursive_lock_unlock (&name); De-initialization: err = glthread_recursive_lock_destroy (&name); Once-only execution: Type: gl_once_t Initializer: gl_once_define(extern, name) Execution: gl_once (name, initfunction); Equivalent functions with control of error handling: Execution: err = glthread_once (&name, initfunction); */ #ifndef _LOCK_H #define _LOCK_H #include #include #if !defined c11_threads_in_use # if HAVE_THREADS_H && USE_POSIX_THREADS_WEAK # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif #endif /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # ifdef __cplusplus extern "C" { # endif # if PTHREAD_IN_USE_DETECTION_HARD /* The pthread_in_use() detection needs to be done at runtime. */ # define pthread_in_use() \ glthread_in_use () extern int glthread_in_use (void); # endif # if USE_POSIX_THREADS_WEAK /* Use weak references to the POSIX threads library. */ /* Weak references avoid dragging in external libraries if the other parts of the program don't use them. Here we use them, because we don't want every program that uses libintl to depend on libpthread. This assumes that libpthread would not be loaded after libintl; i.e. if libintl is loaded first, by an executable that does not depend on libpthread, and then a module is dynamically loaded that depends on libpthread, libintl will not be multithread-safe. */ /* The way to test at runtime whether libpthread is present is to test whether a function pointer's value, such as &pthread_mutex_init, is non-NULL. However, some versions of GCC have a bug through which, in PIC mode, &foo != NULL always evaluates to true if there is a direct call to foo(...) in the same function. To avoid this, we test the address of a function in libpthread that we don't use. */ # pragma weak pthread_mutex_init # pragma weak pthread_mutex_lock # pragma weak pthread_mutex_unlock # pragma weak pthread_mutex_destroy # pragma weak pthread_rwlock_init # pragma weak pthread_rwlock_rdlock # pragma weak pthread_rwlock_wrlock # pragma weak pthread_rwlock_unlock # pragma weak pthread_rwlock_destroy # pragma weak pthread_once # pragma weak pthread_cond_init # pragma weak pthread_cond_wait # pragma weak pthread_cond_signal # pragma weak pthread_cond_broadcast # pragma weak pthread_cond_destroy # pragma weak pthread_mutexattr_init # pragma weak pthread_mutexattr_settype # pragma weak pthread_mutexattr_destroy # pragma weak pthread_rwlockattr_init # if __GNU_LIBRARY__ > 1 # pragma weak pthread_rwlockattr_setkind_np # endif # pragma weak pthread_rwlockattr_destroy # ifndef pthread_self # pragma weak pthread_self # endif # if !PTHREAD_IN_USE_DETECTION_HARD /* Considering all platforms with USE_POSIX_THREADS_WEAK, only few symbols can be used to determine whether libpthread is in use. These are: pthread_mutexattr_gettype pthread_rwlockattr_destroy pthread_rwlockattr_init */ # pragma weak pthread_mutexattr_gettype # define pthread_in_use() \ (pthread_mutexattr_gettype != NULL || c11_threads_in_use ()) # endif # else # if !PTHREAD_IN_USE_DETECTION_HARD # define pthread_in_use() 1 # endif # endif /* -------------------------- gl_lock_t datatype -------------------------- */ typedef pthread_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer; # define gl_lock_initializer \ PTHREAD_MUTEX_INITIALIZER # define glthread_lock_init(LOCK) \ (pthread_in_use () ? pthread_mutex_init (LOCK, NULL) : 0) # define glthread_lock_lock(LOCK) \ (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0) # define glthread_lock_unlock(LOCK) \ (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0) # define glthread_lock_destroy(LOCK) \ (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # ifdef PTHREAD_RWLOCK_INITIALIZER typedef pthread_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer; # if HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER # define gl_rwlock_initializer \ PTHREAD_RWLOCK_INITIALIZER # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0) # else /* glibc with bug https://sourceware.org/bugzilla/show_bug.cgi?id=13701 */ # define gl_rwlock_initializer \ PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_for_glibc (LOCK) : 0) extern int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock); # endif # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_rdlock (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_wrlock (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_unlock (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? pthread_rwlock_destroy (LOCK) : 0) # else typedef struct { int initialized; pthread_mutex_t guard; /* protects the initialization */ pthread_rwlock_t rwlock; /* read-write lock */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { 0, PTHREAD_MUTEX_INITIALIZER } # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0) # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0) extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock); # endif # else typedef struct { pthread_mutex_t lock; /* protects the remaining fields */ pthread_cond_t waiting_readers; /* waiting readers */ pthread_cond_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 } # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0) # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0) extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock); # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP typedef pthread_mutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer; # ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER # else # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP # endif # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); # else typedef struct { pthread_mutex_t recmutex; /* recursive mutex */ pthread_mutex_t guard; /* protects the initialization */ int initialized; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, 0 } # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock); # endif # else /* Old versions of POSIX threads on Solaris did not have recursive locks. We have to implement them ourselves. */ typedef struct { pthread_mutex_t mutex; pthread_t owner; unsigned long depth; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, (pthread_t) 0, 0 } # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock); # endif /* -------------------------- gl_once_t datatype -------------------------- */ typedef pthread_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (pthread_in_use () \ ? pthread_once (ONCE_CONTROL, INITFUNCTION) \ : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0)) extern int glthread_once_singlethreaded (pthread_once_t *once_control); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-mutex.h" # include "windows-rwlock.h" # include "windows-recmutex.h" # include "windows-once.h" # ifdef __cplusplus extern "C" { # endif /* We can use CRITICAL_SECTION directly, rather than the native Windows Event, Mutex, Semaphore types, because - we need only to synchronize inside a single process (address space), not inter-process locking, - we don't need to support trylock operations. (TryEnterCriticalSection does not work on Windows 95/98/ME. Packages that need trylock usually define their own mutex type.) */ /* There is no way to statically initialize a CRITICAL_SECTION. It needs to be done lazily, once only. For this we need spinlocks. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef glwthread_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME = gl_lock_initializer; # define gl_lock_initializer \ GLWTHREAD_MUTEX_INIT # define glthread_lock_init(LOCK) \ (glwthread_mutex_init (LOCK), 0) # define glthread_lock_lock(LOCK) \ glwthread_mutex_lock (LOCK) # define glthread_lock_unlock(LOCK) \ glwthread_mutex_unlock (LOCK) # define glthread_lock_destroy(LOCK) \ glwthread_mutex_destroy (LOCK) /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef glwthread_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ GLWTHREAD_RWLOCK_INIT # define glthread_rwlock_init(LOCK) \ (glwthread_rwlock_init (LOCK), 0) # define glthread_rwlock_rdlock(LOCK) \ glwthread_rwlock_rdlock (LOCK) # define glthread_rwlock_wrlock(LOCK) \ glwthread_rwlock_wrlock (LOCK) # define glthread_rwlock_unlock(LOCK) \ glwthread_rwlock_unlock (LOCK) # define glthread_rwlock_destroy(LOCK) \ glwthread_rwlock_destroy (LOCK) /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef glwthread_recmutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ GLWTHREAD_RECMUTEX_INIT # define glthread_recursive_lock_init(LOCK) \ (glwthread_recmutex_init (LOCK), 0) # define glthread_recursive_lock_lock(LOCK) \ glwthread_recmutex_lock (LOCK) # define glthread_recursive_lock_unlock(LOCK) \ glwthread_recmutex_unlock (LOCK) # define glthread_recursive_lock_destroy(LOCK) \ glwthread_recmutex_destroy (LOCK) /* -------------------------- gl_once_t datatype -------------------------- */ typedef glwthread_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = GLWTHREAD_ONCE_INIT; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (glwthread_once (ONCE_CONTROL, INITFUNCTION), 0) # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef int gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) # define gl_lock_define_initialized(STORAGECLASS, NAME) # define glthread_lock_init(NAME) 0 # define glthread_lock_lock(NAME) 0 # define glthread_lock_unlock(NAME) 0 # define glthread_lock_destroy(NAME) 0 /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef int gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) # define gl_rwlock_define_initialized(STORAGECLASS, NAME) # define glthread_rwlock_init(NAME) 0 # define glthread_rwlock_rdlock(NAME) 0 # define glthread_rwlock_wrlock(NAME) 0 # define glthread_rwlock_unlock(NAME) 0 # define glthread_rwlock_destroy(NAME) 0 /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef int gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) # define glthread_recursive_lock_init(NAME) 0 # define glthread_recursive_lock_lock(NAME) 0 # define glthread_recursive_lock_unlock(NAME) 0 # define glthread_recursive_lock_destroy(NAME) 0 /* -------------------------- gl_once_t datatype -------------------------- */ typedef int gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = 0; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (*(ONCE_CONTROL) == 0 ? (*(ONCE_CONTROL) = ~ 0, INITFUNCTION (), 0) : 0) #endif /* ========================================================================= */ /* Macros with built-in error handling. */ /* -------------------------- gl_lock_t datatype -------------------------- */ #define gl_lock_init(NAME) \ do \ { \ if (glthread_lock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_lock(NAME) \ do \ { \ if (glthread_lock_lock (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_unlock(NAME) \ do \ { \ if (glthread_lock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_destroy(NAME) \ do \ { \ if (glthread_lock_destroy (&NAME)) \ abort (); \ } \ while (0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ #define gl_rwlock_init(NAME) \ do \ { \ if (glthread_rwlock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_rdlock(NAME) \ do \ { \ if (glthread_rwlock_rdlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_wrlock(NAME) \ do \ { \ if (glthread_rwlock_wrlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_unlock(NAME) \ do \ { \ if (glthread_rwlock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_destroy(NAME) \ do \ { \ if (glthread_rwlock_destroy (&NAME)) \ abort (); \ } \ while (0) /* --------------------- gl_recursive_lock_t datatype --------------------- */ #define gl_recursive_lock_init(NAME) \ do \ { \ if (glthread_recursive_lock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_lock(NAME) \ do \ { \ if (glthread_recursive_lock_lock (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_unlock(NAME) \ do \ { \ if (glthread_recursive_lock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_destroy(NAME) \ do \ { \ if (glthread_recursive_lock_destroy (&NAME)) \ abort (); \ } \ while (0) /* -------------------------- gl_once_t datatype -------------------------- */ #define gl_once(NAME, INITFUNCTION) \ do \ { \ if (glthread_once (&NAME, INITFUNCTION)) \ abort (); \ } \ while (0) /* ========================================================================= */ #endif /* _LOCK_H */ gsasl-1.8.1/lib/gltests/test-stddef.c0000644000000000000000000000540013516251672014355 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include #include #include "verify.h" /* Check that appropriate types are defined. */ wchar_t a = 'c'; ptrdiff_t b = 1; size_t c = 2; max_align_t x; /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); /* Check that offsetof produces integer constants with correct type. */ struct d { char e; char f; }; /* Solaris 10 has a bug where offsetof is under-parenthesized, and cannot be used as an arbitrary expression. However, since it is unlikely to bite real code, we ignore that short-coming. */ /* verify (sizeof offsetof (struct d, e) == sizeof (size_t)); */ verify (sizeof (offsetof (struct d, e)) == sizeof (size_t)); verify (offsetof (struct d, f) == 1); /* offsetof promotes to an unsigned integer if and only if sizes do not fit in int. */ verify ((offsetof (struct d, e) < -1) == (INT_MAX < (size_t) -1)); /* Check max_align_t's alignment. */ verify (alignof (double) <= alignof (max_align_t)); verify (alignof (int) <= alignof (max_align_t)); verify (alignof (long double) <= alignof (max_align_t)); verify (alignof (long int) <= alignof (max_align_t)); verify (alignof (ptrdiff_t) <= alignof (max_align_t)); verify (alignof (size_t) <= alignof (max_align_t)); verify (alignof (wchar_t) <= alignof (max_align_t)); verify (alignof (struct d) <= alignof (max_align_t)); #if defined __GNUC__ || defined __IBM__ALIGNOF__ verify (__alignof__ (double) <= __alignof__ (max_align_t)); verify (__alignof__ (int) <= __alignof__ (max_align_t)); verify (__alignof__ (long double) <= __alignof__ (max_align_t)); verify (__alignof__ (long int) <= __alignof__ (max_align_t)); verify (__alignof__ (ptrdiff_t) <= __alignof__ (max_align_t)); verify (__alignof__ (size_t) <= __alignof__ (max_align_t)); verify (__alignof__ (wchar_t) <= __alignof__ (max_align_t)); verify (__alignof__ (struct d) <= __alignof__ (max_align_t)); #endif int main (void) { return 0; } gsasl-1.8.1/lib/gltests/raise.c0000644000000000000000000000341413516251667013241 00000000000000/* Provide a non-threads replacement for the POSIX raise function. Copyright (C) 2002-2003, 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Jim Meyering and Bruno Haible */ #include /* Specification. */ #include #if HAVE_RAISE /* Native Windows platform. */ # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Forward declaration. */ static int raise_nothrow (int sig); # else # define raise_nothrow raise # endif #else /* An old Unix platform. */ # include #endif int raise (int sig) #undef raise { #if GNULIB_defined_signal_blocking && GNULIB_defined_SIGPIPE if (sig == SIGPIPE) return _gl_raise_SIGPIPE (); #endif #if HAVE_RAISE return raise_nothrow (sig); #else return kill (getpid (), sig); #endif } #if HAVE_RAISE && HAVE_MSVC_INVALID_PARAMETER_HANDLER static int raise_nothrow (int sig) { int result; TRY_MSVC_INVAL { result = raise (sig); } CATCH_MSVC_INVAL { result = -1; errno = EINVAL; } DONE_MSVC_INVAL; return result; } #endif gsasl-1.8.1/lib/gltests/test-select-fd.c0000644000000000000000000000442613516251667014765 00000000000000/* Test of select() substitute, reading or writing from a given file descriptor. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include #include int main (int argc, char *argv[]) { if (argc == 4) { char mode = argv[1][0]; if (mode == 'r' || mode == 'w') { int fd = atoi (argv[2]); if (fd >= 0) { const char *result_file_name = argv[3]; FILE *result_file = fopen (result_file_name, "wb"); if (result_file != NULL) { fd_set fds; struct timeval timeout; int ret; FD_ZERO (&fds); FD_SET (fd, &fds); timeout.tv_sec = 0; timeout.tv_usec = 10000; ret = (mode == 'r' ? select (fd + 1, &fds, NULL, NULL, &timeout) : select (fd + 1, NULL, &fds, NULL, &timeout)); if (ret < 0) { perror ("select failed"); exit (1); } if ((ret == 0) != ! FD_ISSET (fd, &fds)) { fprintf (stderr, "incorrect return value\n"); exit (1); } fprintf (result_file, "%d\n", ret); exit (0); } } } } fprintf (stderr, "Usage: test-select-fd mode fd result-file-name\n"); exit (1); } gsasl-1.8.1/lib/gltests/bench-sha1.c0000644000000000000000000000153713516251666014052 00000000000000/* * Copyright (C) 2018-2019 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 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, see . */ /* Benchmark program for the sha1_buffer function. */ #include #include "sha1.h" #define FUNC sha1_buffer #include "bench-digest.h" gsasl-1.8.1/lib/gltests/test-fread.c0000644000000000000000000000516113516251671014170 00000000000000/* Test of fread() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fread, size_t, (void *, size_t, size_t, FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fread.txt"; /* We don't have an fread() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Prepare a file. */ { const char text[] = "hello world"; int fd = open (filename, O_RDWR | O_CREAT | O_TRUNC, 0600); ASSERT (fd >= 0); ASSERT (write (fd, text, sizeof (text)) == sizeof (text)); ASSERT (close (fd) == 0); } /* Test that fread() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "r"); char buf[5]; ASSERT (fp != NULL); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fread (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fread() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "r"); if (fp != NULL) { char buf[1]; errno = 0; ASSERT (fread (buf, 1, 1, fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "r"); if (fp != NULL) { char buf[1]; errno = 0; ASSERT (fread (buf, 1, 1, fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/lib/gltests/filename.h0000644000000000000000000000362613516251666013727 00000000000000/* Basic filename support macros. Copyright (C) 2001-2004, 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _FILENAME_H #define _FILENAME_H #ifdef __cplusplus extern "C" { #endif /* Pathname support. ISSLASH(C) tests whether C is a directory separator character. IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, it may be concatenated to a directory pathname. IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. */ #if defined _WIN32 || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ /* Native Windows, Cygwin, OS/2, DOS */ # define ISSLASH(C) ((C) == '/' || (C) == '\\') # define HAS_DEVICE(P) \ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ && (P)[1] == ':') # define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) # define IS_PATH_WITH_DIR(P) \ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) # define FILE_SYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) #else /* Unix */ # define ISSLASH(C) ((C) == '/') # define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) # define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) # define FILE_SYSTEM_PREFIX_LEN(P) 0 #endif #ifdef __cplusplus } #endif #endif /* _FILENAME_H */ gsasl-1.8.1/lib/gltests/gettimeofday.c0000644000000000000000000001127713516251666014624 00000000000000/* Provide gettimeofday for systems that don't have it or for which it's broken. Copyright (C) 2001-2003, 2005-2007, 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* written by Jim Meyering */ #include /* Specification. */ #include #include #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE # include #endif #include "localtime-buffer.h" #ifdef WINDOWS_NATIVE /* Avoid warnings from gcc -Wcast-function-type. */ # define GetProcAddress \ (void *) GetProcAddress /* GetSystemTimePreciseAsFileTime was introduced only in Windows 8. */ typedef void (WINAPI * GetSystemTimePreciseAsFileTimeFuncType) (FILETIME *lpTime); static GetSystemTimePreciseAsFileTimeFuncType GetSystemTimePreciseAsFileTimeFunc = NULL; static BOOL initialized = FALSE; static void initialize (void) { HMODULE kernel32 = LoadLibrary ("kernel32.dll"); if (kernel32 != NULL) { GetSystemTimePreciseAsFileTimeFunc = (GetSystemTimePreciseAsFileTimeFuncType) GetProcAddress (kernel32, "GetSystemTimePreciseAsFileTime"); } initialized = TRUE; } #endif /* This is a wrapper for gettimeofday. It is used only on systems that lack this function, or whose implementation of this function causes problems. Work around the bug in some systems whereby gettimeofday clobbers the static buffer that localtime uses for its return value. The gettimeofday function from Mac OS X 10.0.4 (i.e., Darwin 1.3.7) has this problem. */ int gettimeofday (struct timeval *restrict tv, void *restrict tz) { #undef gettimeofday #ifdef WINDOWS_NATIVE /* On native Windows, there are two ways to get the current time: GetSystemTimeAsFileTime or GetSystemTimePreciseAsFileTime . GetSystemTimeAsFileTime produces values that jump by increments of 15.627 milliseconds (!) on average. Whereas GetSystemTimePreciseAsFileTime values usually jump by 1 or 2 microseconds. More discussion on this topic: . */ FILETIME current_time; if (!initialized) initialize (); if (GetSystemTimePreciseAsFileTimeFunc != NULL) GetSystemTimePreciseAsFileTimeFunc (¤t_time); else GetSystemTimeAsFileTime (¤t_time); /* Convert from FILETIME to 'struct timeval'. */ /* FILETIME: */ ULONGLONG since_1601 = ((ULONGLONG) current_time.dwHighDateTime << 32) | (ULONGLONG) current_time.dwLowDateTime; /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ ULONGLONG since_1970 = since_1601 - (ULONGLONG) 134774 * (ULONGLONG) 86400 * (ULONGLONG) 10000000; ULONGLONG microseconds_since_1970 = since_1970 / (ULONGLONG) 10; tv->tv_sec = microseconds_since_1970 / (ULONGLONG) 1000000; tv->tv_usec = microseconds_since_1970 % (ULONGLONG) 1000000; return 0; #else # if HAVE_GETTIMEOFDAY # if GETTIMEOFDAY_CLOBBERS_LOCALTIME /* Save and restore the contents of the buffer used for localtime's result around the call to gettimeofday. */ struct tm save = *localtime_buffer_addr; # endif # if defined timeval /* 'struct timeval' overridden by gnulib? */ # undef timeval struct timeval otv; int result = gettimeofday (&otv, (struct timezone *) tz); if (result == 0) { tv->tv_sec = otv.tv_sec; tv->tv_usec = otv.tv_usec; } # else int result = gettimeofday (tv, (struct timezone *) tz); # endif # if GETTIMEOFDAY_CLOBBERS_LOCALTIME *localtime_buffer_addr = save; # endif return result; # else # if !defined OK_TO_USE_1S_CLOCK # error "Only 1-second nominal clock resolution found. Is that intended?" \ "If so, compile with the -DOK_TO_USE_1S_CLOCK option." # endif tv->tv_sec = time (NULL); tv->tv_usec = 0; return 0; # endif #endif } gsasl-1.8.1/lib/gltests/test-perror.c0000644000000000000000000000205713516251667014426 00000000000000/* Test of perror() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (perror, void, (char const *)); #include int main (int argc, char **argv) { const char *prefix = (argc > 1 ? argv[1] : NULL); errno = EACCES; perror (prefix); errno = ETIMEDOUT; perror (prefix); errno = EOVERFLOW; perror (prefix); return 0; } gsasl-1.8.1/lib/gltests/nap.h0000644000000000000000000001021513516251667012716 00000000000000/* Assist in file system timestamp tests. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #ifndef GLTEST_NAP_H # define GLTEST_NAP_H # include # include # include /* Name of the witness file. */ #define TEMPFILE BASE "nap.tmp" /* File descriptor used for the witness file. */ static int nap_fd = -1; /* Return A - B, in ns. Return 0 if the true result would be negative. Return INT_MAX if the true result would be greater than INT_MAX. */ static int diff_timespec (struct timespec a, struct timespec b) { time_t as = a.tv_sec; time_t bs = b.tv_sec; int ans = a.tv_nsec; int bns = b.tv_nsec; int sdiff; ASSERT (0 <= ans && ans < 2000000000); ASSERT (0 <= bns && bns < 2000000000); if (! (bs < as || (bs == as && bns < ans))) return 0; if (INT_SUBTRACT_WRAPV (as, bs, &sdiff) || INT_MULTIPLY_WRAPV (sdiff, 1000000000, &sdiff) || INT_ADD_WRAPV (sdiff, ans - bns, &sdiff)) return INT_MAX; return sdiff; } /* If DO_WRITE, bump the modification time of the file designated by NAP_FD. Then fetch the new STAT information of NAP_FD. */ static void nap_get_stat (struct stat *st, int do_write) { if (do_write) { ASSERT (write (nap_fd, "\n", 1) == 1); #if defined _WIN32 || defined __CYGWIN__ /* On Windows, the modification times are not changed until NAP_FD is closed. See */ close (nap_fd); nap_fd = open (TEMPFILE, O_RDWR, 0600); ASSERT (nap_fd != -1); lseek (nap_fd, 0, SEEK_END); #endif } ASSERT (fstat (nap_fd, st) == 0); } /* Given a file whose descriptor is FD, see whether delaying by DELAY nanoseconds causes a change in a file's mtime. OLD_ST is the file's status, recently gotten. */ static bool nap_works (int delay, struct stat old_st) { struct stat st; struct timespec delay_spec; delay_spec.tv_sec = delay / 1000000000; delay_spec.tv_nsec = delay % 1000000000; ASSERT (nanosleep (&delay_spec, 0) == 0); nap_get_stat (&st, 1); if (diff_timespec (get_stat_mtime (&st), get_stat_mtime (&old_st))) return true; return false; } static void clear_temp_file (void) { if (0 <= nap_fd) { ASSERT (close (nap_fd) != -1); ASSERT (unlink (TEMPFILE) != -1); } } /* Sleep long enough to notice a timestamp difference on the file system in the current directory. Use an adaptive approach, trying to find the smallest delay which works on the current file system to make the timestamp difference appear. Assert a maximum delay of ~2 seconds, more precisely sum(2^n) from 0 to 30 = 2^31 - 1 = 2.1s. Assumes that BASE is defined, and requires that the test module depends on nanosleep. */ static void nap (void) { struct stat old_st; static int delay = 1; if (-1 == nap_fd) { atexit (clear_temp_file); ASSERT ((nap_fd = creat (TEMPFILE, 0600)) != -1); nap_get_stat (&old_st, 0); } else { ASSERT (0 <= nap_fd); nap_get_stat (&old_st, 1); } if (1 < delay) delay = delay / 2; /* Try half of the previous delay. */ ASSERT (0 < delay); for (;;) { if (nap_works (delay, old_st)) return; if (delay <= (2147483647 - 1) / 2) { delay = delay * 2 + 1; continue; } else break; } /* Bummer: even the highest nap delay didn't work. */ ASSERT (0); } #endif /* GLTEST_NAP_H */ gsasl-1.8.1/lib/gltests/test-select-in.sh0000755000000000000000000000173513516251667015175 00000000000000#!/bin/sh # Test select() on file descriptors opened for reading. # This test is known to fail on Solaris 2.6 and older, due to its handling # of /dev/null. tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-select-in.tmp" # Regular files. rm -f t-select-in.tmp ${CHECKER} ./test-select-fd${EXEEXT} r 0 t-select-in.tmp < ./test-select-fd${EXEEXT} test `cat t-select-in.tmp` = "1" || exit 1 # Pipes. rm -f t-select-in.tmp { sleep 1; echo abc; } | \ { ${CHECKER} ./test-select-fd${EXEEXT} r 0 t-select-in.tmp; cat > /dev/null; } test `cat t-select-in.tmp` = "0" || exit 1 rm -f t-select-in.tmp echo abc | { sleep 1; ${CHECKER} ./test-select-fd${EXEEXT} r 0 t-select-in.tmp; } test `cat t-select-in.tmp` = "1" || exit 1 # Special files. # This part of the test is known to fail on Solaris 2.6 and older. rm -f t-select-in.tmp ${CHECKER} ./test-select-fd${EXEEXT} r 0 t-select-in.tmp < /dev/null test `cat t-select-in.tmp` = "1" || exit 1 rm -fr $tmpfiles exit 0 gsasl-1.8.1/lib/gltests/test-usleep.c0000644000000000000000000000211213516251670014374 00000000000000/* Test of usleep() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (usleep, int, (useconds_t)); #include #include "macros.h" int main (void) { time_t start = time (NULL); ASSERT (usleep (1000000) == 0); ASSERT (start < time (NULL)); ASSERT (usleep (0) == 0); return 0; } gsasl-1.8.1/lib/gltests/open.c0000644000000000000000000001504713516251667013104 00000000000000/* Open a descriptor to a file. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_open doesn't recurse to rpl_open. */ #define __need_system_fcntl_h #include /* Get the original definition of open. It might be defined as a macro. */ #include #include #undef __need_system_fcntl_h static int orig_open (const char *filename, int flags, mode_t mode) { return open (filename, flags, mode); } /* Specification. */ /* Write "fcntl.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ #include "fcntl.h" #include "cloexec.h" #include #include #include #include #include #include #ifndef REPLACE_OPEN_DIRECTORY # define REPLACE_OPEN_DIRECTORY 0 #endif int open (const char *filename, int flags, ...) { /* 0 = unknown, 1 = yes, -1 = no. */ #if GNULIB_defined_O_CLOEXEC int have_cloexec = -1; #else static int have_cloexec; #endif mode_t mode; int fd; mode = 0; if (flags & O_CREAT) { va_list arg; va_start (arg, flags); /* We have to use PROMOTED_MODE_T instead of mode_t, otherwise GCC 4 creates crashing code when 'mode_t' is smaller than 'int'. */ mode = va_arg (arg, PROMOTED_MODE_T); va_end (arg); } #if GNULIB_defined_O_NONBLOCK /* The only known platform that lacks O_NONBLOCK is mingw, but it also lacks named pipes and Unix sockets, which are the only two file types that require non-blocking handling in open(). Therefore, it is safe to ignore O_NONBLOCK here. It is handy that mingw also lacks openat(), so that is also covered here. */ flags &= ~O_NONBLOCK; #endif #if defined _WIN32 && ! defined __CYGWIN__ if (strcmp (filename, "/dev/null") == 0) filename = "NUL"; #endif #if OPEN_TRAILING_SLASH_BUG /* If the filename ends in a slash and one of O_CREAT, O_WRONLY, O_RDWR is specified, then fail. Rationale: POSIX says that "A pathname that contains at least one non-slash character and that ends with one or more trailing slashes shall be resolved as if a single dot character ( '.' ) were appended to the pathname." and "The special filename dot shall refer to the directory specified by its predecessor." If the named file already exists as a directory, then - if O_CREAT is specified, open() must fail because of the semantics of O_CREAT, - if O_WRONLY or O_RDWR is specified, open() must fail because POSIX says that it fails with errno = EISDIR in this case. If the named file does not exist or does not name a directory, then - if O_CREAT is specified, open() must fail since open() cannot create directories, - if O_WRONLY or O_RDWR is specified, open() must fail because the file does not contain a '.' directory. */ if (flags & (O_CREAT | O_WRONLY | O_RDWR)) { size_t len = strlen (filename); if (len > 0 && filename[len - 1] == '/') { errno = EISDIR; return -1; } } #endif fd = orig_open (filename, flags & ~(have_cloexec <= 0 ? O_CLOEXEC : 0), mode); if (flags & O_CLOEXEC) { if (! have_cloexec) { if (0 <= fd) have_cloexec = 1; else if (errno == EINVAL) { fd = orig_open (filename, flags & ~O_CLOEXEC, mode); have_cloexec = -1; } } if (have_cloexec < 0 && 0 <= fd) set_cloexec_flag (fd, true); } #if REPLACE_FCHDIR /* Implementing fchdir and fdopendir requires the ability to open a directory file descriptor. If open doesn't support that (as on mingw), we use a dummy file that behaves the same as directories on Linux (ie. always reports EOF on attempts to read()), and override fstat() in fchdir.c to hide the fact that we have a dummy. */ if (REPLACE_OPEN_DIRECTORY && fd < 0 && errno == EACCES && ((flags & O_ACCMODE) == O_RDONLY || (O_SEARCH != O_RDONLY && (flags & O_ACCMODE) == O_SEARCH))) { struct stat statbuf; if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) { /* Maximum recursion depth of 1. */ fd = open ("/dev/null", flags, mode); if (0 <= fd) fd = _gl_register_fd (fd, filename); } else errno = EACCES; } #endif #if OPEN_TRAILING_SLASH_BUG /* If the filename ends in a slash and fd does not refer to a directory, then fail. Rationale: POSIX says that "A pathname that contains at least one non-slash character and that ends with one or more trailing slashes shall be resolved as if a single dot character ( '.' ) were appended to the pathname." and "The special filename dot shall refer to the directory specified by its predecessor." If the named file without the slash is not a directory, open() must fail with ENOTDIR. */ if (fd >= 0) { /* We know len is positive, since open did not fail with ENOENT. */ size_t len = strlen (filename); if (filename[len - 1] == '/') { struct stat statbuf; if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) { close (fd); errno = ENOTDIR; return -1; } } } #endif #if REPLACE_FCHDIR if (!REPLACE_OPEN_DIRECTORY && 0 <= fd) fd = _gl_register_fd (fd, filename); #endif return fd; } gsasl-1.8.1/lib/gltests/test-gc-sha1.c0000644000000000000000000000574313516251671014340 00000000000000/* * Copyright (C) 2005, 2010-2019 Free Software Foundation, Inc. * Written by Simon Josefsson * * 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 3, 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, see . */ #include #include "gc.h" #include #include int main (int argc, char *argv[]) { Gc_rc rc; gc_hash_handle h; rc = gc_init (); if (rc != GC_OK) { printf ("gc_init() failed\n"); return 1; } { char *in = "abcdefgh"; size_t inlen = strlen (in); char *expect = "\x42\x5a\xf1\x2a\x07\x43\x50\x2b" "\x32\x2e\x93\xa0\x15\xbc\xf8\x68\xe3\x24\xd5\x6a"; char out[20]; const char *p; if (gc_sha1 (in, inlen, out) != 0) { printf ("gc_sha1 call failed\n"); return 1; } if (memcmp (out, expect, 20) != 0) { size_t i; printf ("sha1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); return 1; } rc = gc_hash_buffer (GC_SHA1, "abcdefgh", 8, out); if (rc != GC_OK) { printf ("gc_hash_buffer(sha1) call failed: %d\n", rc); return 1; } if (memcmp (out, expect, 20) != 0) { size_t i; printf ("sha1' mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); return 1; } if (gc_hash_digest_length (GC_SHA1) != 20) { printf ("gc_hash_digest_length (GC_SHA1) failed\n"); return 1; } if ((rc = gc_hash_open (GC_SHA1, 0, &h)) != GC_OK) { printf ("gc_hash_open(GC_SHA1) failed (%d)\n", rc); return 1; } gc_hash_write (h, inlen, in); p = gc_hash_read (h); if (!p) { printf ("gc_hash_read failed\n"); return 1; } if (memcmp (p, expect, 20) != 0) { size_t i; printf ("sha1 1 mismatch. expected:\n"); for (i = 0; i < 20; i++) printf ("%02x ", expect[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 20; i++) printf ("%02x ", p[i] & 0xFF); printf ("\n"); return 1; } gc_hash_close (h); } gc_done (); return 0; } gsasl-1.8.1/lib/gltests/test-strerror_r.c0000644000000000000000000001172713516251670015316 00000000000000/* Test of strerror_r() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (strerror_r, int, (int, char *, size_t)); #include #include "macros.h" int main (void) { char buf[100]; int ret; /* Test results with valid errnum and enough room. */ errno = 0; buf[0] = '\0'; ASSERT (strerror_r (EACCES, buf, sizeof buf) == 0); ASSERT (buf[0] != '\0'); ASSERT (errno == 0); ASSERT (strlen (buf) < sizeof buf); errno = 0; buf[0] = '\0'; ASSERT (strerror_r (ETIMEDOUT, buf, sizeof buf) == 0); ASSERT (buf[0] != '\0'); ASSERT (errno == 0); ASSERT (strlen (buf) < sizeof buf); errno = 0; buf[0] = '\0'; ASSERT (strerror_r (EOVERFLOW, buf, sizeof buf) == 0); ASSERT (buf[0] != '\0'); ASSERT (errno == 0); ASSERT (strlen (buf) < sizeof buf); /* POSIX requires strerror (0) to succeed. Reject use of "Unknown error", but allow "Success", "No error", or even Solaris' "Error 0" which are distinct patterns from true out-of-range strings. http://austingroupbugs.net/view.php?id=382 */ errno = 0; buf[0] = '\0'; ret = strerror_r (0, buf, sizeof buf); ASSERT (ret == 0); ASSERT (buf[0]); ASSERT (errno == 0); ASSERT (strstr (buf, "nknown") == NULL); ASSERT (strstr (buf, "ndefined") == NULL); /* Test results with out-of-range errnum and enough room. POSIX allows an empty string on success, and allows an unchanged buf on error, but these are not useful, so we guarantee contents. */ errno = 0; buf[0] = '^'; ret = strerror_r (-3, buf, sizeof buf); ASSERT (ret == 0 || ret == EINVAL); ASSERT (buf[0] != '^'); ASSERT (*buf); ASSERT (errno == 0); ASSERT (strlen (buf) < sizeof buf); /* Test results with a too small buffer. POSIX requires an error; only ERANGE for 0 and valid errors, and a choice of ERANGE or EINVAL for out-of-range values. On error, POSIX permits buf to be empty, unchanged, or unterminated, but these are not useful, so we guarantee NUL-terminated truncated contents for all but size 0. http://austingroupbugs.net/view.php?id=398. Also ensure that no out-of-bounds writes occur. */ { int errs[] = { EACCES, 0, -3, }; int j; buf[sizeof buf - 1] = '\0'; for (j = 0; j < SIZEOF (errs); j++) { int err = errs[j]; char buf2[sizeof buf] = ""; size_t len; size_t i; strerror_r (err, buf2, sizeof buf2); len = strlen (buf2); ASSERT (len < sizeof buf); for (i = 0; i <= len; i++) { memset (buf, '^', sizeof buf - 1); errno = 0; ret = strerror_r (err, buf, i); ASSERT (errno == 0); if (j == 2) ASSERT (ret == ERANGE || ret == EINVAL); else ASSERT (ret == ERANGE); if (i) { ASSERT (strncmp (buf, buf2, i - 1) == 0); ASSERT (buf[i - 1] == '\0'); } ASSERT (strspn (buf + i, "^") == sizeof buf - 1 - i); } strcpy (buf, "BADFACE"); errno = 0; ret = strerror_r (err, buf, len + 1); ASSERT (ret != ERANGE); ASSERT (errno == 0); ASSERT (strcmp (buf, buf2) == 0); } } #if GNULIB_STRERROR /* Test that strerror_r does not clobber strerror buffer. On some platforms, this test can only succeed if gnulib also replaces strerror. */ { const char *msg1; const char *msg2; const char *msg3; const char *msg4; char *str1; char *str2; char *str3; char *str4; msg1 = strerror (ENOENT); ASSERT (msg1); str1 = strdup (msg1); ASSERT (str1); msg2 = strerror (ERANGE); ASSERT (msg2); str2 = strdup (msg2); ASSERT (str2); msg3 = strerror (-4); ASSERT (msg3); str3 = strdup (msg3); ASSERT (str3); msg4 = strerror (1729576); ASSERT (msg4); str4 = strdup (msg4); ASSERT (str4); strerror_r (EACCES, buf, sizeof buf); strerror_r (-5, buf, sizeof buf); ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1)); ASSERT (msg2 == msg4 || STREQ (msg2, str2)); ASSERT (msg3 == msg4 || STREQ (msg3, str3)); ASSERT (STREQ (msg4, str4)); free (str1); free (str2); free (str3); free (str4); } #endif return 0; } gsasl-1.8.1/lib/gltests/test-cloexec.c0000644000000000000000000000772713516251667014550 00000000000000/* Test duplicating non-inheritable file descriptors. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include "cloexec.h" #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #endif #include "binary-io.h" #include "macros.h" /* Return non-zero if FD is open and inheritable across exec/spawn. */ static int is_inheritable (int fd) { #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, the initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE, and there is no fcntl. */ HANDLE h = (HANDLE) _get_osfhandle (fd); DWORD flags; if (h == INVALID_HANDLE_VALUE || GetHandleInformation (h, &flags) == 0) return 0; return (flags & HANDLE_FLAG_INHERIT) != 0; #else # ifndef F_GETFD # error Please port fcntl to your platform # endif int i = fcntl (fd, F_GETFD); return 0 <= i && (i & FD_CLOEXEC) == 0; #endif } #if !O_BINARY # define setmode(f,m) zero () static int zero (void) { return 0; } #endif /* Return non-zero if FD is open in the given MODE, which is either O_TEXT or O_BINARY. */ static int is_mode (int fd, int mode) { int value = setmode (fd, O_BINARY); setmode (fd, value); return mode == value; } int main (void) { const char *file = "test-cloexec.tmp"; int fd = creat (file, 0600); int fd2; int bad_fd = getdtablesize (); /* Assume std descriptors were provided by invoker. */ ASSERT (STDERR_FILENO < fd); ASSERT (is_inheritable (fd)); /* Normal use of set_cloexec_flag. */ ASSERT (set_cloexec_flag (fd, true) == 0); #if !(defined _WIN32 && ! defined __CYGWIN__) ASSERT (!is_inheritable (fd)); #endif ASSERT (set_cloexec_flag (fd, false) == 0); ASSERT (is_inheritable (fd)); /* Normal use of dup_cloexec. */ fd2 = dup_cloexec (fd); ASSERT (fd < fd2); ASSERT (!is_inheritable (fd2)); ASSERT (close (fd) == 0); ASSERT (dup_cloexec (fd2) == fd); ASSERT (!is_inheritable (fd)); ASSERT (close (fd2) == 0); /* On systems that distinguish between text and binary mode, dup_cloexec reuses the mode of the source. */ setmode (fd, O_BINARY); ASSERT (is_mode (fd, O_BINARY)); fd2 = dup_cloexec (fd); ASSERT (fd < fd2); ASSERT (is_mode (fd2, O_BINARY)); ASSERT (close (fd2) == 0); setmode (fd, O_TEXT); ASSERT (is_mode (fd, O_TEXT)); fd2 = dup_cloexec (fd); ASSERT (fd < fd2); ASSERT (is_mode (fd2, O_TEXT)); ASSERT (close (fd2) == 0); /* Test error handling. */ errno = 0; ASSERT (set_cloexec_flag (-1, false) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (set_cloexec_flag (bad_fd, false) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (set_cloexec_flag (fd2, false) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup_cloexec (-1) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup_cloexec (bad_fd) == -1); ASSERT (errno == EBADF); errno = 0; ASSERT (dup_cloexec (fd2) == -1); ASSERT (errno == EBADF); /* Clean up. */ ASSERT (close (fd) == 0); ASSERT (unlink (file) == 0); return 0; } gsasl-1.8.1/lib/gltests/test-stat-time.c0000644000000000000000000001524113516251670015015 00000000000000/* Test of . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by James Youngman , 2007. */ #include #include "stat-time.h" #include #include #include #include #include #include #include "macros.h" #define BASE "test-stat-time.t" #include "nap.h" enum { NFILES = 4 }; static char filename_stamp1[50]; static char filename_testfile[50]; static char filename_stamp2[50]; static char filename_stamp3[50]; /* Use file names that are different at each run. This is necessary for test_birthtime() to pass on native Windows: On this platform, the file system apparently remembers the creation time of a file even after it is removed and created anew. See "Windows NT Contains File System Tunneling Capabilities" */ static void initialize_filenames (void) { long t = (long) time (NULL); sprintf (filename_stamp1, "t-stt-%ld-stamp1", t); sprintf (filename_testfile, "t-stt-%ld-testfile", t); sprintf (filename_stamp2, "t-stt-%ld-stamp2", t); sprintf (filename_stamp3, "t-stt-%ld-stamp3", t); } static int force_unlink (const char *filename) { /* This chmod is necessary on mingw, where unlink() of a read-only file fails with EPERM. */ chmod (filename, 0600); return unlink (filename); } static void cleanup (int sig) { /* Remove temporary files. */ force_unlink (filename_stamp1); force_unlink (filename_testfile); force_unlink (filename_stamp2); force_unlink (filename_stamp3); if (sig != 0) _exit (1); } static int open_file (const char *filename, int flags) { int fd = open (filename, flags | O_WRONLY, 0500); if (fd >= 0) { close (fd); return 1; } else { return 0; } } static void create_file (const char *filename) { ASSERT (open_file (filename, O_CREAT | O_EXCL)); } static void do_stat (const char *filename, struct stat *p) { ASSERT (stat (filename, p) == 0); } static void prepare_test (struct stat *statinfo, struct timespec *modtimes) { int i; create_file (filename_stamp1); nap (); create_file (filename_testfile); nap (); create_file (filename_stamp2); nap (); ASSERT (chmod (filename_testfile, 0400) == 0); nap (); create_file (filename_stamp3); do_stat (filename_stamp1, &statinfo[0]); do_stat (filename_testfile, &statinfo[1]); do_stat (filename_stamp2, &statinfo[2]); do_stat (filename_stamp3, &statinfo[3]); /* Now use our access functions. */ for (i = 0; i < NFILES; ++i) { modtimes[i] = get_stat_mtime (&statinfo[i]); } } static void test_mtime (const struct stat *statinfo, struct timespec *modtimes) { int i; /* Use the struct stat fields directly. */ /* mtime(stamp1) < mtime(stamp2) */ ASSERT (statinfo[0].st_mtime < statinfo[2].st_mtime || (statinfo[0].st_mtime == statinfo[2].st_mtime && (get_stat_mtime_ns (&statinfo[0]) < get_stat_mtime_ns (&statinfo[2])))); /* mtime(stamp2) < mtime(stamp3) */ ASSERT (statinfo[2].st_mtime < statinfo[3].st_mtime || (statinfo[2].st_mtime == statinfo[3].st_mtime && (get_stat_mtime_ns (&statinfo[2]) < get_stat_mtime_ns (&statinfo[3])))); /* Now check the result of the access functions. */ /* mtime(stamp1) < mtime(stamp2) */ ASSERT (modtimes[0].tv_sec < modtimes[2].tv_sec || (modtimes[0].tv_sec == modtimes[2].tv_sec && modtimes[0].tv_nsec < modtimes[2].tv_nsec)); /* mtime(stamp2) < mtime(stamp3) */ ASSERT (modtimes[2].tv_sec < modtimes[3].tv_sec || (modtimes[2].tv_sec == modtimes[3].tv_sec && modtimes[2].tv_nsec < modtimes[3].tv_nsec)); /* verify equivalence */ for (i = 0; i < NFILES; ++i) { struct timespec ts; ts = get_stat_mtime (&statinfo[i]); ASSERT (ts.tv_sec == statinfo[i].st_mtime); } } #if defined _WIN32 && !defined __CYGWIN__ /* Skip the ctime tests on native Windows platforms, because their st_ctime is either the same as st_mtime (plus or minus an offset) or set to the file _creation_ time, and is not influenced by rename or chmod. */ # define test_ctime(ignored) ((void) 0) #else static void test_ctime (const struct stat *statinfo) { /* On some buggy NFS clients, mtime and ctime are disproportionately skewed from one another. Skip this test in that case. */ if (statinfo[0].st_mtime != statinfo[0].st_ctime) return; /* mtime(stamp2) < ctime(testfile) */ ASSERT (statinfo[2].st_mtime < statinfo[1].st_ctime || (statinfo[2].st_mtime == statinfo[1].st_ctime && (get_stat_mtime_ns (&statinfo[2]) < get_stat_ctime_ns (&statinfo[1])))); } #endif static void test_birthtime (const struct stat *statinfo, const struct timespec *modtimes, struct timespec *birthtimes) { int i; /* Collect the birth times. */ for (i = 0; i < NFILES; ++i) { birthtimes[i] = get_stat_birthtime (&statinfo[i]); if (birthtimes[i].tv_nsec < 0) return; } /* mtime(stamp1) < birthtime(testfile) */ ASSERT (modtimes[0].tv_sec < birthtimes[1].tv_sec || (modtimes[0].tv_sec == birthtimes[1].tv_sec && modtimes[0].tv_nsec < birthtimes[1].tv_nsec)); /* birthtime(testfile) < mtime(stamp2) */ ASSERT (birthtimes[1].tv_sec < modtimes[2].tv_sec || (birthtimes[1].tv_sec == modtimes[2].tv_sec && birthtimes[1].tv_nsec < modtimes[2].tv_nsec)); } int main (void) { struct stat statinfo[NFILES]; struct timespec modtimes[NFILES]; struct timespec birthtimes[NFILES]; initialize_filenames (); #ifdef SIGHUP signal (SIGHUP, cleanup); #endif #ifdef SIGINT signal (SIGINT, cleanup); #endif #ifdef SIGQUIT signal (SIGQUIT, cleanup); #endif #ifdef SIGTERM signal (SIGTERM, cleanup); #endif cleanup (0); prepare_test (statinfo, modtimes); test_mtime (statinfo, modtimes); test_ctime (statinfo); test_birthtime (statinfo, modtimes, birthtimes); cleanup (0); return 0; } gsasl-1.8.1/lib/gltests/Makefile.am0000644000000000000000000020665213516251716014032 00000000000000## DO NOT EDIT! GENERATED AUTOMATICALLY! ## Process this file with automake to produce Makefile.in. # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. AUTOMAKE_OPTIONS = 1.11 foreign subdir-objects SUBDIRS = . TESTS = XFAIL_TESTS = TESTS_ENVIRONMENT = noinst_PROGRAMS = check_PROGRAMS = EXTRA_PROGRAMS = noinst_HEADERS = noinst_LIBRARIES = check_LIBRARIES = libtests.a EXTRA_DIST = BUILT_SOURCES = SUFFIXES = MOSTLYCLEANFILES = core *.stackdump MOSTLYCLEANDIRS = CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = AM_CPPFLAGS = \ -D@gltests_WITNESS@=1 \ -I. -I$(srcdir) \ -I.. -I$(srcdir)/.. \ -I../gl -I$(srcdir)/../gl LDADD = libtests.a ../gl/libgl.la libtests.a $(LIBTESTS_LIBDEPS) libtests_a_SOURCES = libtests_a_LIBADD = $(gltests_LIBOBJS) libtests_a_DEPENDENCIES = $(gltests_LIBOBJS) EXTRA_libtests_a_SOURCES = AM_LIBTOOLFLAGS = --preserve-dup-deps TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)' ## begin gnulib module accept EXTRA_DIST += accept.c w32sock.h EXTRA_libtests_a_SOURCES += accept.c ## end gnulib module accept ## begin gnulib module accept-tests TESTS += test-accept check_PROGRAMS += test-accept test_accept_LDADD = $(LDADD) @LIBSOCKET@ EXTRA_DIST += test-accept.c signature.h macros.h ## end gnulib module accept-tests ## begin gnulib module alloca EXTRA_DIST += alloca.c EXTRA_libtests_a_SOURCES += alloca.c libtests_a_LIBADD += @ALLOCA@ libtests_a_DEPENDENCIES += @ALLOCA@ ## end gnulib module alloca ## begin gnulib module alloca-opt-tests TESTS += test-alloca-opt check_PROGRAMS += test-alloca-opt EXTRA_DIST += test-alloca-opt.c ## end gnulib module alloca-opt-tests ## begin gnulib module arpa_inet BUILT_SOURCES += arpa/inet.h # We need the following in order to create when the system # doesn't have one. arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) arpa $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \ -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/arpa_inet.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t MOSTLYCLEANDIRS += arpa EXTRA_DIST += arpa_inet.in.h ## end gnulib module arpa_inet ## begin gnulib module arpa_inet-tests TESTS += test-arpa_inet check_PROGRAMS += test-arpa_inet EXTRA_DIST += test-arpa_inet.c ## end gnulib module arpa_inet-tests ## begin gnulib module base64-tests TESTS += test-base64 check_PROGRAMS += test-base64 EXTRA_DIST += test-base64.c macros.h ## end gnulib module base64-tests ## begin gnulib module binary-io libtests_a_SOURCES += binary-io.h binary-io.c ## end gnulib module binary-io ## begin gnulib module binary-io-tests TESTS += test-binary-io.sh check_PROGRAMS += test-binary-io EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h ## end gnulib module binary-io-tests ## begin gnulib module bind EXTRA_DIST += bind.c w32sock.h EXTRA_libtests_a_SOURCES += bind.c ## end gnulib module bind ## begin gnulib module bind-tests TESTS += test-bind check_PROGRAMS += test-bind test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) EXTRA_DIST += test-bind.c signature.h macros.h ## end gnulib module bind-tests ## begin gnulib module byteswap-tests TESTS += test-byteswap check_PROGRAMS += test-byteswap EXTRA_DIST += test-byteswap.c macros.h ## end gnulib module byteswap-tests ## begin gnulib module c-ctype-tests TESTS += test-c-ctype check_PROGRAMS += test-c-ctype EXTRA_DIST += test-c-ctype.c macros.h ## end gnulib module c-ctype-tests ## begin gnulib module cloexec libtests_a_SOURCES += cloexec.c EXTRA_DIST += cloexec.h ## end gnulib module cloexec ## begin gnulib module cloexec-tests TESTS += test-cloexec check_PROGRAMS += test-cloexec EXTRA_DIST += test-cloexec.c macros.h ## end gnulib module cloexec-tests ## begin gnulib module close EXTRA_DIST += close.c EXTRA_libtests_a_SOURCES += close.c ## end gnulib module close ## begin gnulib module close-tests TESTS += test-close check_PROGRAMS += test-close EXTRA_DIST += test-close.c signature.h macros.h ## end gnulib module close-tests ## begin gnulib module connect EXTRA_DIST += connect.c w32sock.h EXTRA_libtests_a_SOURCES += connect.c ## end gnulib module connect ## begin gnulib module connect-tests TESTS += test-connect check_PROGRAMS += test-connect test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) EXTRA_DIST += test-connect.c signature.h macros.h ## end gnulib module connect-tests ## begin gnulib module crypto/gc-hmac-md5-tests TESTS += test-gc-hmac-md5 check_PROGRAMS += test-gc-hmac-md5 test_gc_hmac_md5_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-gc-hmac-md5.c ## end gnulib module crypto/gc-hmac-md5-tests ## begin gnulib module crypto/gc-hmac-sha1-tests TESTS += test-gc-hmac-sha1 check_PROGRAMS += test-gc-hmac-sha1 test_gc_hmac_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-gc-hmac-sha1.c ## end gnulib module crypto/gc-hmac-sha1-tests ## begin gnulib module crypto/gc-md5-tests TESTS += test-gc-md5 check_PROGRAMS += test-gc-md5 test_gc_md5_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-gc-md5.c ## end gnulib module crypto/gc-md5-tests ## begin gnulib module crypto/gc-pbkdf2-sha1-tests TESTS += test-gc-pbkdf2-sha1 check_PROGRAMS += test-gc-pbkdf2-sha1 test_gc_pbkdf2_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-gc-pbkdf2-sha1.c ## end gnulib module crypto/gc-pbkdf2-sha1-tests ## begin gnulib module crypto/gc-sha1-tests TESTS += test-gc-sha1 check_PROGRAMS += test-gc-sha1 test_gc_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-gc-sha1.c ## end gnulib module crypto/gc-sha1-tests ## begin gnulib module crypto/gc-tests TESTS += test-gc check_PROGRAMS += test-gc test_gc_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-gc.c ## end gnulib module crypto/gc-tests ## begin gnulib module crypto/hmac-md5-tests TESTS += test-hmac-md5 check_PROGRAMS += test-hmac-md5 test_hmac_md5_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-hmac-md5.c ## end gnulib module crypto/hmac-md5-tests ## begin gnulib module crypto/hmac-sha1-tests TESTS += test-hmac-sha1 check_PROGRAMS += test-hmac-sha1 test_hmac_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-hmac-sha1.c ## end gnulib module crypto/hmac-sha1-tests ## begin gnulib module crypto/md5-tests TESTS += test-md5 check_PROGRAMS += test-md5 noinst_PROGRAMS += bench-md5 test_md5_LDADD = $(LDADD) @LIB_CRYPTO@ bench_md5_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-md5.c test-digest.h bench-md5.c bench-digest.h macros.h ## end gnulib module crypto/md5-tests ## begin gnulib module crypto/sha1-tests TESTS += test-sha1 check_PROGRAMS += test-sha1 noinst_PROGRAMS += bench-sha1 test_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ bench_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ EXTRA_DIST += test-sha1.c test-digest.h bench-sha1.c bench-digest.h macros.h ## end gnulib module crypto/sha1-tests ## begin gnulib module ctype BUILT_SOURCES += ctype.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/ctype.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += ctype.h ctype.h-t EXTRA_DIST += ctype.in.h ## end gnulib module ctype ## begin gnulib module ctype-tests TESTS += test-ctype check_PROGRAMS += test-ctype EXTRA_DIST += test-ctype.c ## end gnulib module ctype-tests ## begin gnulib module dosname EXTRA_DIST += dosname.h ## end gnulib module dosname ## begin gnulib module dup2 EXTRA_DIST += dup2.c EXTRA_libtests_a_SOURCES += dup2.c ## end gnulib module dup2 ## begin gnulib module dup2-tests TESTS += test-dup2 check_PROGRAMS += test-dup2 EXTRA_DIST += test-dup2.c signature.h macros.h ## end gnulib module dup2-tests ## begin gnulib module environ-tests TESTS += test-environ check_PROGRAMS += test-environ EXTRA_DIST += test-environ.c ## end gnulib module environ-tests ## begin gnulib module errno-tests TESTS += test-errno check_PROGRAMS += test-errno EXTRA_DIST += test-errno.c ## end gnulib module errno-tests ## begin gnulib module fcntl EXTRA_DIST += fcntl.c EXTRA_libtests_a_SOURCES += fcntl.c ## end gnulib module fcntl ## begin gnulib module fcntl-h BUILT_SOURCES += fcntl.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/fcntl.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += fcntl.h fcntl.h-t EXTRA_DIST += fcntl.in.h ## end gnulib module fcntl-h ## begin gnulib module fcntl-h-tests TESTS += test-fcntl-h check_PROGRAMS += test-fcntl-h EXTRA_DIST += test-fcntl-h.c ## end gnulib module fcntl-h-tests ## begin gnulib module fcntl-tests TESTS += test-fcntl check_PROGRAMS += test-fcntl EXTRA_DIST += test-fcntl.c signature.h macros.h ## end gnulib module fcntl-tests ## begin gnulib module fd-hook libtests_a_SOURCES += fd-hook.c EXTRA_DIST += fd-hook.h ## end gnulib module fd-hook ## begin gnulib module fdopen EXTRA_DIST += fdopen.c EXTRA_libtests_a_SOURCES += fdopen.c ## end gnulib module fdopen ## begin gnulib module fdopen-tests TESTS += test-fdopen check_PROGRAMS += test-fdopen EXTRA_DIST += test-fdopen.c signature.h macros.h ## end gnulib module fdopen-tests ## begin gnulib module fflush-tests TESTS += test-fflush test-fflush2.sh check_PROGRAMS += test-fflush test-fflush2 MOSTLYCLEANFILES += test-fflush.txt EXTRA_DIST += test-fflush.c test-fflush2.sh test-fflush2.c signature.h macros.h ## end gnulib module fflush-tests ## begin gnulib module fgetc-tests TESTS += test-fgetc check_PROGRAMS += test-fgetc EXTRA_DIST += test-fgetc.c signature.h macros.h ## end gnulib module fgetc-tests ## begin gnulib module filename EXTRA_DIST += filename.h ## end gnulib module filename ## begin gnulib module float-tests TESTS += test-float check_PROGRAMS += test-float EXTRA_DIST += test-float.c macros.h ## end gnulib module float-tests ## begin gnulib module fpucw EXTRA_DIST += fpucw.h ## end gnulib module fpucw ## begin gnulib module fpurge-tests TESTS += test-fpurge check_PROGRAMS += test-fpurge MOSTLYCLEANFILES += t-fpurge.tmp EXTRA_DIST += test-fpurge.c macros.h ## end gnulib module fpurge-tests ## begin gnulib module fputc-tests TESTS += test-fputc check_PROGRAMS += test-fputc EXTRA_DIST += test-fputc.c signature.h macros.h ## end gnulib module fputc-tests ## begin gnulib module fread-tests TESTS += test-fread check_PROGRAMS += test-fread EXTRA_DIST += test-fread.c signature.h macros.h ## end gnulib module fread-tests ## begin gnulib module freading-tests TESTS += test-freading check_PROGRAMS += test-freading MOSTLYCLEANFILES += t-freading.tmp EXTRA_DIST += test-freading.c macros.h ## end gnulib module freading-tests ## begin gnulib module fseek-tests TESTS += test-fseek.sh test-fseek2.sh check_PROGRAMS += test-fseek EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h ## end gnulib module fseek-tests ## begin gnulib module fseeko-tests TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4 EXTRA_DIST += test-fseeko.c test-fseeko.sh test-fseeko2.sh test-fseeko3.c test-fseeko3.sh test-fseeko4.c test-fseeko4.sh signature.h macros.h ## end gnulib module fseeko-tests ## begin gnulib module fstat-tests TESTS += test-fstat check_PROGRAMS += test-fstat EXTRA_DIST += test-fstat.c signature.h macros.h ## end gnulib module fstat-tests ## begin gnulib module ftell-tests TESTS += test-ftell.sh test-ftell2.sh test-ftell3 check_PROGRAMS += test-ftell test-ftell3 MOSTLYCLEANFILES += t-ftell3.tmp EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h ## end gnulib module ftell-tests ## begin gnulib module ftello-tests TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh check_PROGRAMS += test-ftello test-ftello3 test-ftello4 MOSTLYCLEANFILES += t-ftello3.tmp EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h ## end gnulib module ftello-tests ## begin gnulib module ftruncate EXTRA_DIST += ftruncate.c EXTRA_libtests_a_SOURCES += ftruncate.c ## end gnulib module ftruncate ## begin gnulib module ftruncate-tests TESTS += test-ftruncate.sh check_PROGRAMS += test-ftruncate EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h ## end gnulib module ftruncate-tests ## begin gnulib module fwrite-tests TESTS += test-fwrite check_PROGRAMS += test-fwrite EXTRA_DIST += test-fwrite.c signature.h macros.h ## end gnulib module fwrite-tests ## begin gnulib module getcwd-lgpl EXTRA_DIST += getcwd-lgpl.c EXTRA_libtests_a_SOURCES += getcwd-lgpl.c ## end gnulib module getcwd-lgpl ## begin gnulib module getcwd-lgpl-tests TESTS += test-getcwd-lgpl check_PROGRAMS += test-getcwd-lgpl test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL) EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h ## end gnulib module getcwd-lgpl-tests ## begin gnulib module getdelim-tests TESTS += test-getdelim check_PROGRAMS += test-getdelim MOSTLYCLEANFILES += test-getdelim.txt EXTRA_DIST += test-getdelim.c signature.h macros.h ## end gnulib module getdelim-tests ## begin gnulib module getdtablesize EXTRA_DIST += getdtablesize.c EXTRA_libtests_a_SOURCES += getdtablesize.c ## end gnulib module getdtablesize ## begin gnulib module getdtablesize-tests TESTS += test-getdtablesize check_PROGRAMS += test-getdtablesize EXTRA_DIST += test-getdtablesize.c signature.h macros.h ## end gnulib module getdtablesize-tests ## begin gnulib module getline-tests TESTS += test-getline check_PROGRAMS += test-getline MOSTLYCLEANFILES += test-getline.txt EXTRA_DIST += test-getline.c signature.h macros.h ## end gnulib module getline-tests ## begin gnulib module getpagesize EXTRA_DIST += getpagesize.c EXTRA_libtests_a_SOURCES += getpagesize.c ## end gnulib module getpagesize ## begin gnulib module getrusage EXTRA_DIST += getrusage.c EXTRA_libtests_a_SOURCES += getrusage.c ## end gnulib module getrusage ## begin gnulib module getrusage-tests TESTS += test-getrusage check_PROGRAMS += test-getrusage EXTRA_DIST += test-getrusage.c signature.h macros.h ## end gnulib module getrusage-tests ## begin gnulib module gettimeofday EXTRA_DIST += gettimeofday.c EXTRA_libtests_a_SOURCES += gettimeofday.c ## end gnulib module gettimeofday ## begin gnulib module gettimeofday-tests TESTS += test-gettimeofday check_PROGRAMS += test-gettimeofday EXTRA_DIST += signature.h test-gettimeofday.c ## end gnulib module gettimeofday-tests ## begin gnulib module ignore-value EXTRA_DIST += ignore-value.h ## end gnulib module ignore-value ## begin gnulib module ignore-value-tests TESTS += test-ignore-value check_PROGRAMS += test-ignore-value EXTRA_DIST += test-ignore-value.c ## end gnulib module ignore-value-tests ## begin gnulib module inet_pton EXTRA_DIST += inet_pton.c EXTRA_libtests_a_SOURCES += inet_pton.c ## end gnulib module inet_pton ## begin gnulib module inet_pton-tests TESTS += test-inet_pton check_PROGRAMS += test-inet_pton test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@ EXTRA_DIST += test-inet_pton.c signature.h macros.h ## end gnulib module inet_pton-tests ## begin gnulib module intprops-tests TESTS += test-intprops check_PROGRAMS += test-intprops EXTRA_DIST += test-intprops.c macros.h ## end gnulib module intprops-tests ## begin gnulib module inttypes-incomplete BUILT_SOURCES += inttypes.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \ -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \ -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/inttypes.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += inttypes.h inttypes.h-t EXTRA_DIST += inttypes.in.h ## end gnulib module inttypes-incomplete ## begin gnulib module inttypes-tests TESTS += test-inttypes check_PROGRAMS += test-inttypes EXTRA_DIST += test-inttypes.c ## end gnulib module inttypes-tests ## begin gnulib module ioctl EXTRA_DIST += ioctl.c w32sock.h EXTRA_libtests_a_SOURCES += ioctl.c ## end gnulib module ioctl ## begin gnulib module ioctl-tests TESTS += test-ioctl check_PROGRAMS += test-ioctl EXTRA_DIST += test-ioctl.c signature.h macros.h ## end gnulib module ioctl-tests ## begin gnulib module isblank EXTRA_DIST += isblank.c EXTRA_libtests_a_SOURCES += isblank.c ## end gnulib module isblank ## begin gnulib module isblank-tests TESTS += test-isblank check_PROGRAMS += test-isblank EXTRA_DIST += test-isblank.c signature.h macros.h ## end gnulib module isblank-tests ## begin gnulib module limits-h-tests TESTS += test-limits-h check_PROGRAMS += test-limits-h EXTRA_DIST += test-limits-h.c ## end gnulib module limits-h-tests ## begin gnulib module listen EXTRA_DIST += listen.c w32sock.h EXTRA_libtests_a_SOURCES += listen.c ## end gnulib module listen ## begin gnulib module listen-tests TESTS += test-listen check_PROGRAMS += test-listen test_listen_LDADD = $(LDADD) @LIBSOCKET@ EXTRA_DIST += test-listen.c signature.h macros.h ## end gnulib module listen-tests ## begin gnulib module localtime-buffer EXTRA_DIST += localtime-buffer.c localtime-buffer.h EXTRA_libtests_a_SOURCES += localtime-buffer.c ## end gnulib module localtime-buffer ## begin gnulib module lock libtests_a_SOURCES += glthread/lock.h glthread/lock.c ## end gnulib module lock ## begin gnulib module lock-tests TESTS += test-rwlock1 test-lock test-once1 test-once2 check_PROGRAMS += test-rwlock1 test-lock test-once1 test-once2 test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_once1_SOURCES = test-once.c test_once1_LDADD = $(LDADD) @LIBTHREAD@ test_once2_SOURCES = test-once.c test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@ EXTRA_DIST += test-rwlock1.c test-lock.c test-once.c ## end gnulib module lock-tests ## begin gnulib module lseek-tests TESTS += test-lseek.sh check_PROGRAMS += test-lseek EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h ## end gnulib module lseek-tests ## begin gnulib module lstat EXTRA_DIST += lstat.c EXTRA_libtests_a_SOURCES += lstat.c ## end gnulib module lstat ## begin gnulib module lstat-tests TESTS += test-lstat check_PROGRAMS += test-lstat EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h ## end gnulib module lstat-tests ## begin gnulib module malloc-posix EXTRA_DIST += malloc.c EXTRA_libtests_a_SOURCES += malloc.c ## end gnulib module malloc-posix ## begin gnulib module malloca libtests_a_SOURCES += malloca.c EXTRA_DIST += malloca.h ## end gnulib module malloca ## begin gnulib module malloca-tests TESTS += test-malloca check_PROGRAMS += test-malloca EXTRA_DIST += test-malloca.c ## end gnulib module malloca-tests ## begin gnulib module memchr-tests TESTS += test-memchr check_PROGRAMS += test-memchr EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h ## end gnulib module memchr-tests ## begin gnulib module memmem-tests TESTS += test-memmem check_PROGRAMS += test-memmem EXTRA_DIST += test-memmem.c signature.h zerosize-ptr.h macros.h ## end gnulib module memmem-tests ## begin gnulib module nanosleep EXTRA_DIST += nanosleep.c EXTRA_libtests_a_SOURCES += nanosleep.c ## end gnulib module nanosleep ## begin gnulib module nanosleep-tests TESTS += test-nanosleep check_PROGRAMS += test-nanosleep test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP) EXTRA_DIST += test-nanosleep.c signature.h macros.h ## end gnulib module nanosleep-tests ## begin gnulib module netinet_in BUILT_SOURCES += $(NETINET_IN_H) # We need the following in order to create when the system # doesn't have one. if GL_GENERATE_NETINET_IN_H netinet/in.h: netinet_in.in.h $(top_builddir)/config.status $(AM_V_at)$(MKDIR_P) netinet $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ < $(srcdir)/netinet_in.in.h; \ } > $@-t && \ mv $@-t $@ else netinet/in.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t MOSTLYCLEANDIRS += netinet EXTRA_DIST += netinet_in.in.h ## end gnulib module netinet_in ## begin gnulib module netinet_in-tests TESTS += test-netinet_in check_PROGRAMS += test-netinet_in EXTRA_DIST += test-netinet_in.c ## end gnulib module netinet_in-tests ## begin gnulib module open EXTRA_DIST += open.c EXTRA_libtests_a_SOURCES += open.c ## end gnulib module open ## begin gnulib module open-tests TESTS += test-open check_PROGRAMS += test-open EXTRA_DIST += test-open.h test-open.c signature.h macros.h ## end gnulib module open-tests ## begin gnulib module pathmax-tests TESTS += test-pathmax check_PROGRAMS += test-pathmax EXTRA_DIST += test-pathmax.c ## end gnulib module pathmax-tests ## begin gnulib module perror EXTRA_DIST += perror.c EXTRA_libtests_a_SOURCES += perror.c ## end gnulib module perror ## begin gnulib module perror-tests TESTS += test-perror.sh test-perror2 check_PROGRAMS += test-perror test-perror2 EXTRA_DIST += macros.h signature.h test-perror.c test-perror2.c test-perror.sh ## end gnulib module perror-tests ## begin gnulib module pipe-posix EXTRA_DIST += pipe.c EXTRA_libtests_a_SOURCES += pipe.c ## end gnulib module pipe-posix ## begin gnulib module pipe-posix-tests TESTS += test-pipe check_PROGRAMS += test-pipe EXTRA_DIST += test-pipe.c signature.h macros.h ## end gnulib module pipe-posix-tests ## begin gnulib module pthread-h BUILT_SOURCES += pthread.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ -e 's/@''GNULIB_PTHREAD_THREAD''@/$(GNULIB_PTHREAD_THREAD)/g' \ -e 's/@''GNULIB_PTHREAD_ONCE''@/$(GNULIB_PTHREAD_ONCE)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX''@/$(GNULIB_PTHREAD_MUTEX)/g' \ -e 's/@''GNULIB_PTHREAD_RWLOCK''@/$(GNULIB_PTHREAD_RWLOCK)/g' \ -e 's/@''GNULIB_PTHREAD_COND''@/$(GNULIB_PTHREAD_COND)/g' \ -e 's/@''GNULIB_PTHREAD_TSS''@/$(GNULIB_PTHREAD_TSS)/g' \ -e 's/@''GNULIB_PTHREAD_SPIN''@/$(GNULIB_PTHREAD_SPIN)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/$(GNULIB_PTHREAD_MUTEX_TIMEDLOCK)/g' \ -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|$(HAVE_PTHREAD_CREATE_DETACHED)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|$(HAVE_PTHREAD_MUTEX_RECURSIVE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|$(HAVE_PTHREAD_MUTEX_ROBUST)|g' \ -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|$(HAVE_PTHREAD_PROCESS_SHARED)|g' \ -e 's|@''HAVE_PTHREAD_CREATE''@|$(HAVE_PTHREAD_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|$(HAVE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|$(HAVE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_SELF''@|$(HAVE_PTHREAD_SELF)|g' \ -e 's|@''HAVE_PTHREAD_EQUAL''@|$(HAVE_PTHREAD_EQUAL)|g' \ -e 's|@''HAVE_PTHREAD_DETACH''@|$(HAVE_PTHREAD_DETACH)|g' \ -e 's|@''HAVE_PTHREAD_JOIN''@|$(HAVE_PTHREAD_JOIN)|g' \ -e 's|@''HAVE_PTHREAD_EXIT''@|$(HAVE_PTHREAD_EXIT)|g' \ -e 's|@''HAVE_PTHREAD_ONCE''@|$(HAVE_PTHREAD_ONCE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|$(HAVE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|$(HAVE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|$(HAVE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|$(HAVE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|$(HAVE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|$(HAVE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|$(HAVE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|$(HAVE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|$(HAVE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|$(HAVE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|$(HAVE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|$(HAVE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|$(HAVE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|$(HAVE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|$(HAVE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_INIT''@|$(HAVE_PTHREAD_COND_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|$(HAVE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|$(HAVE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_WAIT''@|$(HAVE_PTHREAD_COND_WAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|$(HAVE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|$(HAVE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|$(HAVE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|$(HAVE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|$(HAVE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|$(HAVE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|$(HAVE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|$(HAVE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|$(HAVE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|$(HAVE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|$(HAVE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|$(HAVE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|$(HAVE_PTHREAD_SPIN_DESTROY)|g' \ < $(srcdir)/pthread.in.h | \ sed -e 's|@''REPLACE_PTHREAD_CREATE''@|$(REPLACE_PTHREAD_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|$(REPLACE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|$(REPLACE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_SELF''@|$(REPLACE_PTHREAD_SELF)|g' \ -e 's|@''REPLACE_PTHREAD_EQUAL''@|$(REPLACE_PTHREAD_EQUAL)|g' \ -e 's|@''REPLACE_PTHREAD_DETACH''@|$(REPLACE_PTHREAD_DETACH)|g' \ -e 's|@''REPLACE_PTHREAD_JOIN''@|$(REPLACE_PTHREAD_JOIN)|g' \ -e 's|@''REPLACE_PTHREAD_EXIT''@|$(REPLACE_PTHREAD_EXIT)|g' \ -e 's|@''REPLACE_PTHREAD_ONCE''@|$(REPLACE_PTHREAD_ONCE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|$(REPLACE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|$(REPLACE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|$(REPLACE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|$(REPLACE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|$(REPLACE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|$(REPLACE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|$(REPLACE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|$(REPLACE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|$(REPLACE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|$(REPLACE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|$(REPLACE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|$(REPLACE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|$(REPLACE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_INIT''@|$(REPLACE_PTHREAD_COND_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|$(REPLACE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|$(REPLACE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|$(REPLACE_PTHREAD_COND_WAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|$(REPLACE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|$(REPLACE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|$(REPLACE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|$(REPLACE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|$(REPLACE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|$(REPLACE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|$(REPLACE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|$(REPLACE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|$(REPLACE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|$(REPLACE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|$(REPLACE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|$(REPLACE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|$(REPLACE_PTHREAD_SPIN_DESTROY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += pthread.h pthread.h-t EXTRA_DIST += pthread.in.h ## end gnulib module pthread-h ## begin gnulib module pthread-h-tests TESTS += test-pthread check_PROGRAMS += test-pthread EXTRA_DIST += test-pthread.c ## end gnulib module pthread-h-tests ## begin gnulib module pthread-thread EXTRA_DIST += pthread-thread.c EXTRA_libtests_a_SOURCES += pthread-thread.c ## end gnulib module pthread-thread ## begin gnulib module pthread-thread-tests TESTS += test-pthread-thread check_PROGRAMS += test-pthread-thread test_pthread_thread_LDADD = $(LDADD) @LIBMULTITHREAD@ EXTRA_DIST += test-pthread-thread.c macros.h ## end gnulib module pthread-thread-tests ## begin gnulib module pthread_sigmask EXTRA_DIST += pthread_sigmask.c EXTRA_libtests_a_SOURCES += pthread_sigmask.c ## end gnulib module pthread_sigmask ## begin gnulib module pthread_sigmask-tests TESTS += test-pthread_sigmask1 test-pthread_sigmask2 check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2 test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@ EXTRA_DIST += test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h macros.h ## end gnulib module pthread_sigmask-tests ## begin gnulib module putenv EXTRA_DIST += putenv.c EXTRA_libtests_a_SOURCES += putenv.c ## end gnulib module putenv ## begin gnulib module raise EXTRA_DIST += raise.c EXTRA_libtests_a_SOURCES += raise.c ## end gnulib module raise ## begin gnulib module raise-tests TESTS += test-raise check_PROGRAMS += test-raise EXTRA_DIST += test-raise.c signature.h macros.h ## end gnulib module raise-tests ## begin gnulib module same-inode EXTRA_DIST += same-inode.h ## end gnulib module same-inode ## begin gnulib module sched BUILT_SOURCES += sched.h # We need the following in order to create a replacement for when # the system doesn't have one. sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ -e 's/@''GNULIB_SCHED_YIELD''@/$(GNULIB_SCHED_YIELD)/g' \ -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \ -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sched.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sched.h sched.h-t EXTRA_DIST += sched.in.h ## end gnulib module sched ## begin gnulib module sched-tests TESTS += test-sched check_PROGRAMS += test-sched EXTRA_DIST += test-sched.c ## end gnulib module sched-tests ## begin gnulib module select EXTRA_DIST += select.c EXTRA_libtests_a_SOURCES += select.c ## end gnulib module select ## begin gnulib module select-tests TESTS += test-select test-select-in.sh test-select-out.sh # test-select-stdin has to be run by hand. check_PROGRAMS += test-select test-select-fd test-select-stdin test_select_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ $(INET_PTON_LIB) test_select_fd_LDADD = $(LDADD) @LIB_SELECT@ test_select_stdin_LDADD = $(LDADD) @LIB_SELECT@ EXTRA_DIST += macros.h signature.h test-select.c test-select.h test-select-fd.c test-select-in.sh test-select-out.sh test-select-stdin.c ## end gnulib module select-tests ## begin gnulib module setsockopt EXTRA_DIST += setsockopt.c w32sock.h EXTRA_libtests_a_SOURCES += setsockopt.c ## end gnulib module setsockopt ## begin gnulib module setsockopt-tests TESTS += test-setsockopt check_PROGRAMS += test-setsockopt test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@ EXTRA_DIST += test-setsockopt.c signature.h macros.h ## end gnulib module setsockopt-tests ## begin gnulib module sigaction libtests_a_SOURCES += sig-handler.c EXTRA_DIST += sig-handler.h sigaction.c EXTRA_libtests_a_SOURCES += sigaction.c ## end gnulib module sigaction ## begin gnulib module sigaction-tests TESTS += test-sigaction check_PROGRAMS += test-sigaction EXTRA_DIST += test-sigaction.c signature.h macros.h ## end gnulib module sigaction-tests ## begin gnulib module signal-h BUILT_SOURCES += signal.h # We need the following in order to create when the system # doesn't have a complete one. signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \ -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/signal.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += signal.h signal.h-t EXTRA_DIST += signal.in.h ## end gnulib module signal-h ## begin gnulib module signal-h-tests TESTS += test-signal-h check_PROGRAMS += test-signal-h EXTRA_DIST += test-signal-h.c ## end gnulib module signal-h-tests ## begin gnulib module sigprocmask EXTRA_DIST += sigprocmask.c EXTRA_libtests_a_SOURCES += sigprocmask.c ## end gnulib module sigprocmask ## begin gnulib module sigprocmask-tests TESTS += test-sigprocmask check_PROGRAMS += test-sigprocmask EXTRA_DIST += test-sigprocmask.c signature.h macros.h ## end gnulib module sigprocmask-tests ## begin gnulib module sleep EXTRA_DIST += sleep.c EXTRA_libtests_a_SOURCES += sleep.c ## end gnulib module sleep ## begin gnulib module sleep-tests TESTS += test-sleep check_PROGRAMS += test-sleep EXTRA_DIST += test-sleep.c signature.h macros.h ## end gnulib module sleep-tests ## begin gnulib module snippet/_Noreturn # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H=$(srcdir)/_Noreturn.h EXTRA_DIST += _Noreturn.h ## end gnulib module snippet/_Noreturn ## begin gnulib module snippet/arg-nonnull # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H=$(srcdir)/arg-nonnull.h EXTRA_DIST += arg-nonnull.h ## end gnulib module snippet/arg-nonnull ## begin gnulib module snippet/c++defs # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H=$(srcdir)/c++defs.h EXTRA_DIST += c++defs.h ## end gnulib module snippet/c++defs ## begin gnulib module snippet/unused-parameter # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H=$(srcdir)/unused-parameter.h EXTRA_DIST += unused-parameter.h ## end gnulib module snippet/unused-parameter ## begin gnulib module snippet/warn-on-use # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H=$(srcdir)/warn-on-use.h EXTRA_DIST += warn-on-use.h ## end gnulib module snippet/warn-on-use ## begin gnulib module socket EXTRA_DIST += socket.c w32sock.h EXTRA_libtests_a_SOURCES += socket.c ## end gnulib module socket ## begin gnulib module sockets libtests_a_SOURCES += sockets.h sockets.c EXTRA_DIST += w32sock.h ## end gnulib module sockets ## begin gnulib module sockets-tests TESTS += test-sockets check_PROGRAMS += test-sockets test_sockets_LDADD = $(LDADD) @LIBSOCKET@ EXTRA_DIST += test-sockets.c ## end gnulib module sockets-tests ## begin gnulib module stat EXTRA_DIST += stat-w32.c stat-w32.h stat.c EXTRA_libtests_a_SOURCES += stat-w32.c stat.c ## end gnulib module stat ## begin gnulib module stat-tests TESTS += test-stat check_PROGRAMS += test-stat test_stat_LDADD = $(LDADD) $(LIBINTL) EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h ## end gnulib module stat-tests ## begin gnulib module stat-time-tests TESTS += test-stat-time check_PROGRAMS += test-stat-time test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP) EXTRA_DIST += test-stat-time.c macros.h nap.h ## end gnulib module stat-time-tests ## begin gnulib module stdalign-tests TESTS += test-stdalign check_PROGRAMS += test-stdalign EXTRA_DIST += test-stdalign.c macros.h ## end gnulib module stdalign-tests ## begin gnulib module stdbool-tests TESTS += test-stdbool check_PROGRAMS += test-stdbool EXTRA_DIST += test-stdbool.c ## end gnulib module stdbool-tests ## begin gnulib module stddef-tests TESTS += test-stddef check_PROGRAMS += test-stddef EXTRA_DIST += test-stddef.c ## end gnulib module stddef-tests ## begin gnulib module stdint-tests TESTS += test-stdint check_PROGRAMS += test-stdint EXTRA_DIST += test-stdint.c ## end gnulib module stdint-tests ## begin gnulib module stdio-tests TESTS += test-stdio check_PROGRAMS += test-stdio EXTRA_DIST += test-stdio.c ## end gnulib module stdio-tests ## begin gnulib module stdlib BUILT_SOURCES += stdlib.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \ -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \ -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \ -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \ -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ < $(srcdir)/stdlib.in.h | \ sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \ -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \ -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \ -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += stdlib.h stdlib.h-t EXTRA_DIST += stdlib.in.h ## end gnulib module stdlib ## begin gnulib module stdlib-tests TESTS += test-stdlib check_PROGRAMS += test-stdlib EXTRA_DIST += test-stdlib.c test-sys_wait.h ## end gnulib module stdlib-tests ## begin gnulib module strerror EXTRA_DIST += strerror.c EXTRA_libtests_a_SOURCES += strerror.c ## end gnulib module strerror ## begin gnulib module strerror-override EXTRA_DIST += strerror-override.c strerror-override.h EXTRA_libtests_a_SOURCES += strerror-override.c ## end gnulib module strerror-override ## begin gnulib module strerror-tests TESTS += test-strerror check_PROGRAMS += test-strerror EXTRA_DIST += test-strerror.c signature.h macros.h ## end gnulib module strerror-tests ## begin gnulib module strerror_r-posix EXTRA_DIST += strerror_r.c EXTRA_libtests_a_SOURCES += strerror_r.c ## end gnulib module strerror_r-posix ## begin gnulib module strerror_r-posix-tests TESTS += test-strerror_r check_PROGRAMS += test-strerror_r EXTRA_DIST += test-strerror_r.c signature.h macros.h ## end gnulib module strerror_r-posix-tests ## begin gnulib module string-tests TESTS += test-string check_PROGRAMS += test-string EXTRA_DIST += test-string.c ## end gnulib module string-tests ## begin gnulib module strnlen-tests TESTS += test-strnlen check_PROGRAMS += test-strnlen EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h ## end gnulib module strnlen-tests ## begin gnulib module strverscmp-tests TESTS += test-strverscmp check_PROGRAMS += test-strverscmp EXTRA_DIST += test-strverscmp.c signature.h macros.h ## end gnulib module strverscmp-tests ## begin gnulib module symlink EXTRA_DIST += symlink.c EXTRA_libtests_a_SOURCES += symlink.c ## end gnulib module symlink ## begin gnulib module symlink-tests TESTS += test-symlink check_PROGRAMS += test-symlink EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h ## end gnulib module symlink-tests ## begin gnulib module sys_ioctl BUILT_SOURCES += sys/ioctl.h # We need the following in order to create when the system # does not have a complete one. sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \ -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_ioctl.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_ioctl.in.h ## end gnulib module sys_ioctl ## begin gnulib module sys_ioctl-tests TESTS += test-sys_ioctl check_PROGRAMS += test-sys_ioctl EXTRA_DIST += test-sys_ioctl.c ## end gnulib module sys_ioctl-tests ## begin gnulib module sys_resource BUILT_SOURCES += sys/resource.h # We need the following in order to create when the system # doesn't have one. sys/resource.h: sys_resource.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_RESOURCE_H''@|$(NEXT_SYS_RESOURCE_H)|g' \ -e 's|@''HAVE_SYS_RESOURCE_H''@|$(HAVE_SYS_RESOURCE_H)|g' \ -e 's/@''GNULIB_GETRUSAGE''@/$(GNULIB_GETRUSAGE)/g' \ -e 's/@''HAVE_GETRUSAGE''@/$(HAVE_GETRUSAGE)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_resource.in.h; \ } > $@-t && \ mv -f $@-t $@ MOSTLYCLEANFILES += sys/resource.h sys/resource.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_resource.in.h ## end gnulib module sys_resource ## begin gnulib module sys_resource-tests TESTS += test-sys_resource check_PROGRAMS += test-sys_resource EXTRA_DIST += test-sys_resource.c ## end gnulib module sys_resource-tests ## begin gnulib module sys_select BUILT_SOURCES += sys/select.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_select.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/select.h sys/select.h-t MOSTLYCLEANDIRS += sys EXTRA_DIST += sys_select.in.h ## end gnulib module sys_select ## begin gnulib module sys_select-tests TESTS += test-sys_select check_PROGRAMS += test-sys_select EXTRA_DIST += test-sys_select.c signature.h ## end gnulib module sys_select-tests ## begin gnulib module sys_socket-tests TESTS += test-sys_socket check_PROGRAMS += test-sys_socket EXTRA_DIST += test-sys_socket.c ## end gnulib module sys_socket-tests ## begin gnulib module sys_stat-tests TESTS += test-sys_stat check_PROGRAMS += test-sys_stat EXTRA_DIST += test-sys_stat.c ## end gnulib module sys_stat-tests ## begin gnulib module sys_time BUILT_SOURCES += sys/time.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_time.in.h; \ } > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += sys/time.h sys/time.h-t EXTRA_DIST += sys_time.in.h ## end gnulib module sys_time ## begin gnulib module sys_time-tests TESTS += test-sys_time check_PROGRAMS += test-sys_time EXTRA_DIST += test-sys_time.c ## end gnulib module sys_time-tests ## begin gnulib module sys_types-tests TESTS += test-sys_types check_PROGRAMS += test-sys_types EXTRA_DIST += test-sys_types.c ## end gnulib module sys_types-tests ## begin gnulib module sys_uio-tests TESTS += test-sys_uio check_PROGRAMS += test-sys_uio EXTRA_DIST += test-sys_uio.c ## end gnulib module sys_uio-tests ## begin gnulib module test-framework-sh-tests TESTS += test-init.sh EXTRA_DIST += init.sh EXTRA_DIST += test-init.sh ## end gnulib module test-framework-sh-tests ## begin gnulib module thread libtests_a_SOURCES += glthread/thread.h glthread/thread.c ## end gnulib module thread ## begin gnulib module thread-tests TESTS += test-thread_self test-thread_create check_PROGRAMS += test-thread_self test-thread_create test_thread_self_LDADD = $(LDADD) @LIBTHREAD@ test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@ EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h ## end gnulib module thread-tests ## begin gnulib module threadlib libtests_a_SOURCES += glthread/threadlib.c EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath ## end gnulib module threadlib ## begin gnulib module time-tests TESTS += test-time check_PROGRAMS += test-time EXTRA_DIST += test-time.c ## end gnulib module time-tests ## begin gnulib module unistd-tests TESTS += test-unistd check_PROGRAMS += test-unistd EXTRA_DIST += test-unistd.c ## end gnulib module unistd-tests ## begin gnulib module unsetenv EXTRA_DIST += unsetenv.c EXTRA_libtests_a_SOURCES += unsetenv.c ## end gnulib module unsetenv ## begin gnulib module unsetenv-tests TESTS += test-unsetenv check_PROGRAMS += test-unsetenv EXTRA_DIST += test-unsetenv.c signature.h macros.h ## end gnulib module unsetenv-tests ## begin gnulib module usleep EXTRA_DIST += usleep.c EXTRA_libtests_a_SOURCES += usleep.c ## end gnulib module usleep ## begin gnulib module usleep-tests TESTS += test-usleep check_PROGRAMS += test-usleep EXTRA_DIST += test-usleep.c signature.h macros.h ## end gnulib module usleep-tests ## begin gnulib module vasnprintf-tests TESTS += test-vasnprintf check_PROGRAMS += test-vasnprintf EXTRA_DIST += test-vasnprintf.c macros.h ## end gnulib module vasnprintf-tests ## begin gnulib module vasprintf-tests TESTS += test-vasprintf check_PROGRAMS += test-vasprintf EXTRA_DIST += test-vasprintf.c signature.h macros.h ## end gnulib module vasprintf-tests ## begin gnulib module verify-tests TESTS_ENVIRONMENT += MAKE='$(MAKE)' TESTS += test-verify test-verify.sh check_PROGRAMS += test-verify # test-verify-try is never built, but test-verify.sh needs a rule to # build test-verify-try.o. EXTRA_PROGRAMS += test-verify-try # This test expects compilation of test-verify-try.c to fail, and # each time it fails, the makefile rule does not perform the usual # "mv -f $name.Tpo $name.po, so tell make clean to remove that file. MOSTLYCLEANFILES += .deps/test-verify-try.Tpo EXTRA_DIST += test-verify.c test-verify-try.c test-verify.sh ## end gnulib module verify-tests ## begin gnulib module wchar-tests TESTS += test-wchar check_PROGRAMS += test-wchar EXTRA_DIST += test-wchar.c ## end gnulib module wchar-tests ## begin gnulib module windows-mutex EXTRA_DIST += windows-initguard.h windows-mutex.c windows-mutex.h EXTRA_libtests_a_SOURCES += windows-mutex.c ## end gnulib module windows-mutex ## begin gnulib module windows-once EXTRA_DIST += windows-once.c windows-once.h EXTRA_libtests_a_SOURCES += windows-once.c ## end gnulib module windows-once ## begin gnulib module windows-recmutex EXTRA_DIST += windows-initguard.h windows-recmutex.c windows-recmutex.h EXTRA_libtests_a_SOURCES += windows-recmutex.c ## end gnulib module windows-recmutex ## begin gnulib module windows-rwlock EXTRA_DIST += windows-initguard.h windows-rwlock.c windows-rwlock.h EXTRA_libtests_a_SOURCES += windows-rwlock.c ## end gnulib module windows-rwlock ## begin gnulib module windows-thread EXTRA_DIST += windows-thread.c windows-thread.h EXTRA_libtests_a_SOURCES += windows-thread.c ## end gnulib module windows-thread ## begin gnulib module windows-tls EXTRA_DIST += windows-tls.c windows-tls.h EXTRA_libtests_a_SOURCES += windows-tls.c ## end gnulib module windows-tls ## begin gnulib module xalloc-oversized EXTRA_DIST += xalloc-oversized.h ## end gnulib module xalloc-oversized ## begin gnulib module yield libtests_a_SOURCES += glthread/yield.h ## end gnulib module yield # Clean up after Solaris cc. clean-local: rm -rf SunWS_cache mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : gsasl-1.8.1/lib/gltests/test-thread_self.c0000644000000000000000000000215113516251670015362 00000000000000/* Test of gl_thread_self () macro. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include "glthread/thread.h" gl_thread_t main_thread; int main () { /* Check that gl_thread_self () can be used with just $(LIBTHREAD), not $(LIBMULTITHREAD), i.e. in libraries that are multithread-safe but don't create threads themselves. */ main_thread = gl_thread_self (); return 0; } gsasl-1.8.1/lib/gltests/test-ftell2.sh0000755000000000000000000000012013516251667014465 00000000000000#!/bin/sh exec ${CHECKER} ./test-ftell${EXEEXT} 1 2 < "$srcdir/test-ftell2.sh" gsasl-1.8.1/lib/gltests/windows-rwlock.h0000644000000000000000000000507313516251670015131 00000000000000/* Read-write locks (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_RWLOCK_H #define _WINDOWS_RWLOCK_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" /* It is impossible to implement read-write locks using plain locks, without introducing an extra thread dedicated to managing read-write locks. Therefore here we need to use the low-level Event type. */ typedef struct { HANDLE *array; /* array of waiting threads, each represented by an event */ unsigned int count; /* number of waiting threads */ unsigned int alloc; /* length of allocated array */ unsigned int offset; /* index of first waiting thread in array */ } glwthread_carray_waitqueue_t; typedef struct { glwthread_initguard_t guard; /* protects the initialization */ CRITICAL_SECTION lock; /* protects the remaining fields */ glwthread_carray_waitqueue_t waiting_readers; /* waiting readers */ glwthread_carray_waitqueue_t waiting_writers; /* waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } glwthread_rwlock_t; #define GLWTHREAD_RWLOCK_INIT { GLWTHREAD_INITGUARD_INIT } #ifdef __cplusplus extern "C" { #endif extern void glwthread_rwlock_init (glwthread_rwlock_t *lock); extern int glwthread_rwlock_rdlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_wrlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_tryrdlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_trywrlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_unlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_destroy (glwthread_rwlock_t *lock); #ifdef __cplusplus } #endif #endif /* _WINDOWS_RWLOCK_H */ gsasl-1.8.1/lib/gltests/signature.h0000644000000000000000000000367713516251671014152 00000000000000/* Macro for checking that a function declaration is compliant. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef SIGNATURE_CHECK /* Check that the function FN takes the specified arguments ARGS with a return type of RET. This header is designed to be included after and the one system header that is supposed to contain the function being checked, but prior to any other system headers that are necessary for the unit test. Therefore, this file does not include any system headers, nor reference anything outside of the macro arguments. For an example, if foo.h should provide: extern int foo (char, float); then the unit test named test-foo.c would start out with: #include #include #include "signature.h" SIGNATURE_CHECK (foo, int, (char, float)); #include ... */ # define SIGNATURE_CHECK(fn, ret, args) \ SIGNATURE_CHECK1 (fn, ret, args, __LINE__) /* Necessary to allow multiple SIGNATURE_CHECK lines in a unit test. Note that the checks must not occupy the same line. */ # define SIGNATURE_CHECK1(fn, ret, args, id) \ SIGNATURE_CHECK2 (fn, ret, args, id) /* macroexpand line */ # define SIGNATURE_CHECK2(fn, ret, args, id) \ static ret (* _GL_UNUSED signature_check ## id) args = fn #endif /* SIGNATURE_CHECK */ gsasl-1.8.1/lib/gltests/accept.c0000644000000000000000000000254113516251666013374 00000000000000/* accept.c --- wrappers for Windows accept function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef accept int rpl_accept (int fd, struct sockaddr *addr, socklen_t *addrlen) { SOCKET sock = FD_TO_SOCKET (fd); if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { SOCKET fh = accept (sock, addr, addrlen); if (fh == INVALID_SOCKET) { set_winsock_errno (); return -1; } else return SOCKET_TO_FD (fh); } } gsasl-1.8.1/lib/gltests/test-sys_wait.h0000644000000000000000000000361613516251672014762 00000000000000/* Test of macros shared between and . Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2010. */ static int test_sys_wait_macros (void) { /* Check subset of macros that must be visible here. Note that some of these macros are only portable when operating on an lvalue. */ int i; for (i = 0; i < 0x8000; i = (i ? i << 1 : 1)) { /* POSIX requires that for all valid process statuses, that exactly one of these three macros is true. But not all possible 16-bit values map to valid process status. Traditionally, 8 of the bits are for WIFEXITED, 7 of the bits to tell between WIFSIGNALED and WIFSTOPPED, and either 0x80 or 0x8000 to flag that core was also dumped. Since we don't know which byte is WIFEXITED, we skip the both possible bits that can signal core dump. */ if (i == 0x80) continue; if (!!WIFSIGNALED (i) + !!WIFEXITED (i) + !!WIFSTOPPED (i) != 1) return 1; } i = WEXITSTATUS (i) + WSTOPSIG (i) + WTERMSIG (i); switch (i) { #if 0 /* Gnulib doesn't guarantee these, yet. */ case WNOHANG: case WUNTRACED: #endif break; } return 0; } gsasl-1.8.1/lib/gltests/strerror.c0000644000000000000000000000405313516251667014020 00000000000000/* strerror.c --- POSIX compatible system error routine Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #include #include #include #include "intprops.h" #include "strerror-override.h" #include "verify.h" /* Use the system functions, not the gnulib overrides in this file. */ #undef sprintf char * strerror (int n) #undef strerror { static char buf[STACKBUF_LEN]; size_t len; /* Cast away const, due to the historical signature of strerror; callers should not be modifying the string. */ const char *msg = strerror_override (n); if (msg) return (char *) msg; msg = strerror (n); /* Our strerror_r implementation might use the system's strerror buffer, so all other clients of strerror have to see the error copied into a buffer that we manage. This is not thread-safe, even if the system strerror is, but portable programs shouldn't be using strerror if they care about thread-safety. */ if (!msg || !*msg) { static char const fmt[] = "Unknown error %d"; verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n)); sprintf (buf, fmt, n); errno = EINVAL; return buf; } /* Fix STACKBUF_LEN if this ever aborts. */ len = strlen (msg); if (sizeof buf <= len) abort (); memcpy (buf, msg, len + 1); return buf; } gsasl-1.8.1/lib/gltests/test-fseeko3.sh0000755000000000000000000000024613516251667014645 00000000000000#!/bin/sh ${CHECKER} ./test-fseeko3${EXEEXT} 0 "$srcdir/test-fseeko3.sh" || exit 1 ${CHECKER} ./test-fseeko3${EXEEXT} 1 "$srcdir/test-fseeko3.sh" || exit 1 exit 0 gsasl-1.8.1/lib/gltests/unsetenv.c0000644000000000000000000000547313516251670014006 00000000000000/* Copyright (C) 1992, 1995-2002, 2005-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 3 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, see . */ /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the name == NULL test below. */ #define _GL_ARG_NONNULL(params) #include /* Specification. */ #include #include #if !_LIBC # define __set_errno(ev) ((errno) = (ev)) #endif #include #include #if !_LIBC # define __environ environ #endif #if _LIBC /* This lock protects against simultaneous modifications of 'environ'. */ # include __libc_lock_define_initialized (static, envlock) # define LOCK __libc_lock_lock (envlock) # define UNLOCK __libc_lock_unlock (envlock) #else # define LOCK # define UNLOCK #endif /* In the GNU C library we must keep the namespace clean. */ #ifdef _LIBC # define unsetenv __unsetenv #endif #if _LIBC || !HAVE_UNSETENV int unsetenv (const char *name) { size_t len; char **ep; if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) { __set_errno (EINVAL); return -1; } len = strlen (name); LOCK; ep = __environ; while (*ep != NULL) if (!strncmp (*ep, name, len) && (*ep)[len] == '=') { /* Found it. Remove this pointer by moving later ones back. */ char **dp = ep; do dp[0] = dp[1]; while (*dp++); /* Continue the loop in case NAME appears again. */ } else ++ep; UNLOCK; return 0; } #ifdef _LIBC # undef unsetenv weak_alias (__unsetenv, unsetenv) #endif #else /* HAVE_UNSETENV */ # undef unsetenv # if !HAVE_DECL_UNSETENV # if VOID_UNSETENV extern void unsetenv (const char *); # else extern int unsetenv (const char *); # endif # endif /* Call the underlying unsetenv, in case there is hidden bookkeeping that needs updating beyond just modifying environ. */ int rpl_unsetenv (const char *name) { int result = 0; if (!name || !*name || strchr (name, '=')) { errno = EINVAL; return -1; } while (getenv (name)) # if !VOID_UNSETENV result = # endif unsetenv (name); return result; } #endif /* HAVE_UNSETENV */ gsasl-1.8.1/lib/gltests/zerosize-ptr.h0000644000000000000000000000572513516251672014623 00000000000000/* Return a pointer to a zero-size object in memory. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* ISO C 99 does not allow memcmp(), memchr() etc. to be invoked with a NULL argument. Therefore this file produces a non-NULL pointer which cannot be dereferenced, if possible. */ /* On Android, when targeting Android 4.4 or older with a GCC toolchain, prevent a compilation error "error: call to 'mmap' declared with attribute error: mmap is not available with _FILE_OFFSET_BITS=64 when using GCC until android-21. Either raise your minSdkVersion, disable _FILE_OFFSET_BITS=64, or switch to Clang." The files that we access in this compilation unit are less than 2 GB large. */ #if defined __ANDROID__ # undef _FILE_OFFSET_BITS # undef __USE_FILE_OFFSET64 #endif #include /* Test whether mmap() and mprotect() are available. We don't use HAVE_MMAP, because AC_FUNC_MMAP would not define it on HP-UX. HAVE_MPROTECT is not enough, because mingw does not have mmap() but has an mprotect() function in libgcc.a. */ #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # include # include # include # include /* Define MAP_FILE when it isn't otherwise. */ # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif /* Return a pointer to a zero-size object in memory (that is, actually, a pointer to a page boundary where the previous page is readable and writable and the next page is neither readable not writable), if possible. Return NULL otherwise. */ static void * zerosize_ptr (void) { /* Use mmap and mprotect when they exist. Don't test HAVE_MMAP, because it is not defined on HP-UX 11 (since it does not support MAP_FIXED). */ #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { int pagesize = getpagesize (); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) return two_pages + pagesize; } #endif return NULL; } gsasl-1.8.1/lib/gltests/test-sys_types.c0000644000000000000000000000172213516251672015151 00000000000000/* Test of substitute. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include /* Check that the types are all defined. */ pid_t t1; size_t t2; ssize_t t3; off_t t4; mode_t t5; int main (void) { return 0; } gsasl-1.8.1/lib/gltests/sys_time.in.h0000644000000000000000000001721613516251667014411 00000000000000/* Provide a more complete sys/time.h. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Paul Eggert. */ #ifndef _@GUARD_PREFIX@_SYS_TIME_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* On Cygwin and on many BSDish systems, includes itself recursively via . Simply delegate to the system's header in this case; it is a no-op. Without this extra ifdef, the C++ gettimeofday declaration below would be a forward declaration in gnulib's nested . */ #if defined _CYGWIN_SYS_TIME_H || defined _SYS_TIME_H || defined _SYS_TIME_H_ # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@ #else /* The include_next requires a split double-inclusion guard. */ #if @HAVE_SYS_TIME_H@ # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_TIME_H #define _@GUARD_PREFIX@_SYS_TIME_H #if ! @HAVE_SYS_TIME_H@ # include #endif /* On native Windows with MSVC, get the 'struct timeval' type. Also, on native Windows with a 64-bit time_t, where we are overriding the 'struct timeval' type, get all declarations of system functions whose signature contains 'struct timeval'. */ #if (defined _MSC_VER || @REPLACE_STRUCT_TIMEVAL@) && @HAVE_WINSOCK2_H@ && !defined _GL_INCLUDING_WINSOCK2_H # define _GL_INCLUDING_WINSOCK2_H # include # undef _GL_INCLUDING_WINSOCK2_H #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #ifdef __cplusplus extern "C" { #endif #if !@HAVE_STRUCT_TIMEVAL@ || @REPLACE_STRUCT_TIMEVAL@ # if @REPLACE_STRUCT_TIMEVAL@ # define timeval rpl_timeval # endif # if !GNULIB_defined_struct_timeval struct timeval { time_t tv_sec; long int tv_usec; }; # define GNULIB_defined_struct_timeval 1 # endif #endif #ifdef __cplusplus } #endif #if @GNULIB_GETTIMEOFDAY@ # if @REPLACE_GETTIMEOFDAY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gettimeofday # define gettimeofday rpl_gettimeofday # endif _GL_FUNCDECL_RPL (gettimeofday, int, (struct timeval *restrict, void *restrict) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gettimeofday, int, (struct timeval *restrict, void *restrict)); # else # if !@HAVE_GETTIMEOFDAY@ _GL_FUNCDECL_SYS (gettimeofday, int, (struct timeval *restrict, void *restrict) _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on glibc systems, by default, the second argument is struct timezone *. */ _GL_CXXALIAS_SYS_CAST (gettimeofday, int, (struct timeval *restrict, void *restrict)); # endif _GL_CXXALIASWARN (gettimeofday); # if defined __cplusplus && defined GNULIB_NAMESPACE namespace GNULIB_NAMESPACE { typedef ::timeval #undef timeval timeval; } # endif #elif defined GNULIB_POSIXCHECK # undef gettimeofday # if HAVE_RAW_DECL_GETTIMEOFDAY _GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - " "use gnulib module gettimeofday for portability"); # endif #endif /* Hide some function declarations from . */ #if defined _MSC_VER && @HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_UNISTD_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else _GL_WARN_ON_USE (close, "close() used without including "); # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname gethostname_used_without_including_unistd_h # else _GL_WARN_ON_USE (gethostname, "gethostname() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h # undef recv # define recv recv_used_without_including_sys_socket_h # undef send # define send send_used_without_including_sys_socket_h # undef recvfrom # define recvfrom recvfrom_used_without_including_sys_socket_h # undef sendto # define sendto sendto_used_without_including_sys_socket_h # undef setsockopt # define setsockopt setsockopt_used_without_including_sys_socket_h # undef shutdown # define shutdown shutdown_used_without_including_sys_socket_h # else _GL_WARN_ON_USE (socket, "socket() used without including "); _GL_WARN_ON_USE (connect, "connect() used without including "); _GL_WARN_ON_USE (accept, "accept() used without including "); _GL_WARN_ON_USE (bind, "bind() used without including "); _GL_WARN_ON_USE (getpeername, "getpeername() used without including "); _GL_WARN_ON_USE (getsockname, "getsockname() used without including "); _GL_WARN_ON_USE (getsockopt, "getsockopt() used without including "); _GL_WARN_ON_USE (listen, "listen() used without including "); _GL_WARN_ON_USE (recv, "recv() used without including "); _GL_WARN_ON_USE (send, "send() used without including "); _GL_WARN_ON_USE (recvfrom, "recvfrom() used without including "); _GL_WARN_ON_USE (sendto, "sendto() used without including "); _GL_WARN_ON_USE (setsockopt, "setsockopt() used without including "); _GL_WARN_ON_USE (shutdown, "shutdown() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif #endif /* _@GUARD_PREFIX@_SYS_TIME_H */ #endif /* _CYGWIN_SYS_TIME_H */ #endif /* _@GUARD_PREFIX@_SYS_TIME_H */ gsasl-1.8.1/lib/gltests/test-pthread-thread.c0000644000000000000000000000364313516251667016013 00000000000000/* Test of pthread_create () function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include #include #include "macros.h" static pthread_t main_thread_before; static pthread_t main_thread_after; static pthread_t worker_thread; #define MAGIC ((void *) 1266074729) static volatile int work_done; static void * worker_thread_func (void *arg) { work_done = 1; return MAGIC; } int main () { main_thread_before = pthread_self (); if (pthread_create (&worker_thread, NULL, worker_thread_func, NULL) == 0) { void *ret; /* Check that pthread_self () has the same value before than after the first call to pthread_create (). */ main_thread_after = pthread_self (); ASSERT (memcmp (&main_thread_before, &main_thread_after, sizeof (pthread_t)) == 0); ASSERT (pthread_join (worker_thread, &ret) == 0); /* Check the return value of the thread. */ ASSERT (ret == MAGIC); /* Check that worker_thread_func () has finished executing. */ ASSERT (work_done); return 0; } else { fputs ("pthread_create failed\n", stderr); return 1; } } gsasl-1.8.1/lib/gltests/test-ftello3.c0000644000000000000000000000403113516251667014457 00000000000000/* Test of ftello() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include #include #include "macros.h" #define TESTFILE "t-ftello3.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) goto skip; if (fwrite ("foogarsh", 1, 8, fp) < 8) goto skip; if (fclose (fp)) goto skip; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) goto skip; if (fseek (fp, -1, SEEK_END)) goto skip; ASSERT (getc (fp) == 'h'); ASSERT (getc (fp) == EOF); ASSERT (ftello (fp) == 8); ASSERT (ftello (fp) == 8); ASSERT (putc ('!', fp) == '!'); ASSERT (ftello (fp) == 9); ASSERT (fclose (fp) == 0); fp = fopen (TESTFILE, "r"); if (fp == NULL) goto skip; { char buf[10]; ASSERT (fread (buf, 1, 10, fp) == 9); ASSERT (memcmp (buf, "foogarsh!", 9) == 0); } ASSERT (fclose (fp) == 0); /* The file's contents is now "foogarsh!". */ remove (TESTFILE); return 0; skip: fprintf (stderr, "Skipping test: prerequisite file operations failed.\n"); remove (TESTFILE); return 77; } gsasl-1.8.1/lib/gltests/test-unistd.c0000644000000000000000000000305013516251672014411 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; /* Check that the various *_FILENO macros are defined. */ #if ! (defined STDIN_FILENO \ && (STDIN_FILENO + STDOUT_FILENO + STDERR_FILENO == 3)) missing or broken *_FILENO macros #endif /* Check that the types are all defined. */ size_t t1; ssize_t t2; #ifdef TODO /* Not implemented in gnulib yet */ uid_t t3; gid_t t4; #endif off_t t5; pid_t t6; #ifdef TODO useconds_t t7; intptr_t t8; #endif int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-fseeko4.c0000644000000000000000000000357313516251667014461 00000000000000/* Test of fseeko() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include #include #include "macros.h" int main (int argc, char **argv) { const char *filename = argv[1]; /* Test that fseeko() sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "r"); ASSERT (fp != NULL); setvbuf (fp, NULL, _IONBF, 0); ASSERT (ftell (fp) == 0); ASSERT (fseeko (fp, 0, SEEK_END) == 0); ASSERT (ftell (fp) > 0); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fseeko (fp, 0, SEEK_SET) == -1); ASSERT (errno == EBADF); fclose (fp); } /* Test that fseeko() sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { errno = 0; ASSERT (fseeko (fp, 0, SEEK_END) == -1); ASSERT (errno == EBADF); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { errno = 0; ASSERT (fseeko (fp, 0, SEEK_END) == -1); ASSERT (errno == EBADF); fclose (fp); } } return 0; } gsasl-1.8.1/lib/gltests/test-stdint.c0000644000000000000000000003330613516251672014417 00000000000000/* Test of substitute. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2006. */ #include /* Whether to enable pedantic checks. */ #define DO_PEDANTIC 0 #include #include "verify.h" #include "intprops.h" #if __GNUC__ >= 2 && DO_PEDANTIC # define verify_same_types(expr1,expr2) \ extern void _verify_func(__LINE__) (__typeof__ (expr1) *); \ extern void _verify_func(__LINE__) (__typeof__ (expr2) *); # define _verify_func(line) _verify_func2(line) # define _verify_func2(line) verify_func_ ## line #else # define verify_same_types(expr1,expr2) extern void verify_func (int) #endif /* 7.18.1.1. Exact-width integer types */ /* 7.18.2.1. Limits of exact-width integer types */ int8_t a1[3] = { INT8_C (17), INT8_MIN, INT8_MAX }; verify (TYPE_MINIMUM (int8_t) == INT8_MIN); verify (TYPE_MAXIMUM (int8_t) == INT8_MAX); verify_same_types (INT8_MIN, (int8_t) 0 + 0); verify_same_types (INT8_MAX, (int8_t) 0 + 0); int16_t a2[3] = { INT16_C (17), INT16_MIN, INT16_MAX }; verify (TYPE_MINIMUM (int16_t) == INT16_MIN); verify (TYPE_MAXIMUM (int16_t) == INT16_MAX); verify_same_types (INT16_MIN, (int16_t) 0 + 0); verify_same_types (INT16_MAX, (int16_t) 0 + 0); int32_t a3[3] = { INT32_C (17), INT32_MIN, INT32_MAX }; verify (TYPE_MINIMUM (int32_t) == INT32_MIN); verify (TYPE_MAXIMUM (int32_t) == INT32_MAX); verify_same_types (INT32_MIN, (int32_t) 0 + 0); verify_same_types (INT32_MAX, (int32_t) 0 + 0); #ifdef INT64_MAX int64_t a4[3] = { INT64_C (17), INT64_MIN, INT64_MAX }; verify (TYPE_MINIMUM (int64_t) == INT64_MIN); verify (TYPE_MAXIMUM (int64_t) == INT64_MAX); verify_same_types (INT64_MIN, (int64_t) 0 + 0); verify_same_types (INT64_MAX, (int64_t) 0 + 0); #endif uint8_t b1[2] = { UINT8_C (17), UINT8_MAX }; verify (TYPE_MAXIMUM (uint8_t) == UINT8_MAX); verify_same_types (UINT8_MAX, (uint8_t) 0 + 0); uint16_t b2[2] = { UINT16_C (17), UINT16_MAX }; verify (TYPE_MAXIMUM (uint16_t) == UINT16_MAX); verify_same_types (UINT16_MAX, (uint16_t) 0 + 0); uint32_t b3[2] = { UINT32_C (17), UINT32_MAX }; verify (TYPE_MAXIMUM (uint32_t) == UINT32_MAX); verify_same_types (UINT32_MAX, (uint32_t) 0 + 0); #ifdef UINT64_MAX uint64_t b4[2] = { UINT64_C (17), UINT64_MAX }; verify (TYPE_MAXIMUM (uint64_t) == UINT64_MAX); verify_same_types (UINT64_MAX, (uint64_t) 0 + 0); #endif #if INT8_MIN && INT8_MAX && INT16_MIN && INT16_MAX && INT32_MIN && INT32_MAX /* ok */ #else err or; #endif #if UINT8_MAX && UINT16_MAX && UINT32_MAX /* ok */ #else err or; #endif /* 7.18.1.2. Minimum-width integer types */ /* 7.18.2.2. Limits of minimum-width integer types */ int_least8_t c1[3] = { 17, INT_LEAST8_MIN, INT_LEAST8_MAX }; verify (TYPE_MINIMUM (int_least8_t) == INT_LEAST8_MIN); verify (TYPE_MAXIMUM (int_least8_t) == INT_LEAST8_MAX); verify_same_types (INT_LEAST8_MIN, (int_least8_t) 0 + 0); verify_same_types (INT_LEAST8_MAX, (int_least8_t) 0 + 0); int_least16_t c2[3] = { 17, INT_LEAST16_MIN, INT_LEAST16_MAX }; verify (TYPE_MINIMUM (int_least16_t) == INT_LEAST16_MIN); verify (TYPE_MAXIMUM (int_least16_t) == INT_LEAST16_MAX); verify_same_types (INT_LEAST16_MIN, (int_least16_t) 0 + 0); verify_same_types (INT_LEAST16_MAX, (int_least16_t) 0 + 0); int_least32_t c3[3] = { 17, INT_LEAST32_MIN, INT_LEAST32_MAX }; verify (TYPE_MINIMUM (int_least32_t) == INT_LEAST32_MIN); verify (TYPE_MAXIMUM (int_least32_t) == INT_LEAST32_MAX); verify_same_types (INT_LEAST32_MIN, (int_least32_t) 0 + 0); verify_same_types (INT_LEAST32_MAX, (int_least32_t) 0 + 0); #ifdef INT_LEAST64_MAX int_least64_t c4[3] = { 17, INT_LEAST64_MIN, INT_LEAST64_MAX }; verify (TYPE_MINIMUM (int_least64_t) == INT_LEAST64_MIN); verify (TYPE_MAXIMUM (int_least64_t) == INT_LEAST64_MAX); verify_same_types (INT_LEAST64_MIN, (int_least64_t) 0 + 0); verify_same_types (INT_LEAST64_MAX, (int_least64_t) 0 + 0); #endif uint_least8_t d1[2] = { 17, UINT_LEAST8_MAX }; verify (TYPE_MAXIMUM (uint_least8_t) == UINT_LEAST8_MAX); verify_same_types (UINT_LEAST8_MAX, (uint_least8_t) 0 + 0); uint_least16_t d2[2] = { 17, UINT_LEAST16_MAX }; verify (TYPE_MAXIMUM (uint_least16_t) == UINT_LEAST16_MAX); verify_same_types (UINT_LEAST16_MAX, (uint_least16_t) 0 + 0); uint_least32_t d3[2] = { 17, UINT_LEAST32_MAX }; verify (TYPE_MAXIMUM (uint_least32_t) == UINT_LEAST32_MAX); verify_same_types (UINT_LEAST32_MAX, (uint_least32_t) 0 + 0); #ifdef UINT_LEAST64_MAX uint_least64_t d4[2] = { 17, UINT_LEAST64_MAX }; verify (TYPE_MAXIMUM (uint_least64_t) == UINT_LEAST64_MAX); verify_same_types (UINT_LEAST64_MAX, (uint_least64_t) 0 + 0); #endif #if INT_LEAST8_MIN && INT_LEAST8_MAX && INT_LEAST16_MIN && INT_LEAST16_MAX && INT_LEAST32_MIN && INT_LEAST32_MAX /* ok */ #else err or; #endif #if UINT_LEAST8_MAX && UINT_LEAST16_MAX && UINT_LEAST32_MAX /* ok */ #else err or; #endif /* 7.18.1.3. Fastest minimum-width integer types */ /* 7.18.2.3. Limits of fastest minimum-width integer types */ int_fast8_t e1[3] = { 17, INT_FAST8_MIN, INT_FAST8_MAX }; verify (TYPE_MINIMUM (int_fast8_t) == INT_FAST8_MIN); verify (TYPE_MAXIMUM (int_fast8_t) == INT_FAST8_MAX); verify_same_types (INT_FAST8_MIN, (int_fast8_t) 0 + 0); verify_same_types (INT_FAST8_MAX, (int_fast8_t) 0 + 0); int_fast16_t e2[3] = { 17, INT_FAST16_MIN, INT_FAST16_MAX }; verify (TYPE_MINIMUM (int_fast16_t) == INT_FAST16_MIN); verify (TYPE_MAXIMUM (int_fast16_t) == INT_FAST16_MAX); verify_same_types (INT_FAST16_MIN, (int_fast16_t) 0 + 0); verify_same_types (INT_FAST16_MAX, (int_fast16_t) 0 + 0); int_fast32_t e3[3] = { 17, INT_FAST32_MIN, INT_FAST32_MAX }; verify (TYPE_MINIMUM (int_fast32_t) == INT_FAST32_MIN); verify (TYPE_MAXIMUM (int_fast32_t) == INT_FAST32_MAX); verify_same_types (INT_FAST32_MIN, (int_fast32_t) 0 + 0); verify_same_types (INT_FAST32_MAX, (int_fast32_t) 0 + 0); #ifdef INT_FAST64_MAX int_fast64_t e4[3] = { 17, INT_FAST64_MIN, INT_FAST64_MAX }; verify (TYPE_MINIMUM (int_fast64_t) == INT_FAST64_MIN); verify (TYPE_MAXIMUM (int_fast64_t) == INT_FAST64_MAX); verify_same_types (INT_FAST64_MIN, (int_fast64_t) 0 + 0); verify_same_types (INT_FAST64_MAX, (int_fast64_t) 0 + 0); #endif uint_fast8_t f1[2] = { 17, UINT_FAST8_MAX }; verify (TYPE_MAXIMUM (uint_fast8_t) == UINT_FAST8_MAX); verify_same_types (UINT_FAST8_MAX, (uint_fast8_t) 0 + 0); uint_fast16_t f2[2] = { 17, UINT_FAST16_MAX }; verify (TYPE_MAXIMUM (uint_fast16_t) == UINT_FAST16_MAX); verify_same_types (UINT_FAST16_MAX, (uint_fast16_t) 0 + 0); uint_fast32_t f3[2] = { 17, UINT_FAST32_MAX }; verify (TYPE_MAXIMUM (uint_fast32_t) == UINT_FAST32_MAX); verify_same_types (UINT_FAST32_MAX, (uint_fast32_t) 0 + 0); #ifdef UINT_FAST64_MAX uint_fast64_t f4[2] = { 17, UINT_FAST64_MAX }; verify (TYPE_MAXIMUM (uint_fast64_t) == UINT_FAST64_MAX); verify_same_types (UINT_FAST64_MAX, (uint_fast64_t) 0 + 0); #endif #if INT_FAST8_MIN && INT_FAST8_MAX && INT_FAST16_MIN && INT_FAST16_MAX && INT_FAST32_MIN && INT_FAST32_MAX /* ok */ #else err or; #endif #if UINT_FAST8_MAX && UINT_FAST16_MAX && UINT_FAST32_MAX /* ok */ #else err or; #endif /* 7.18.1.4. Integer types capable of holding object pointers */ /* 7.18.2.4. Limits of integer types capable of holding object pointers */ intptr_t g[3] = { 17, INTPTR_MIN, INTPTR_MAX }; verify (TYPE_MINIMUM (intptr_t) == INTPTR_MIN); verify (TYPE_MAXIMUM (intptr_t) == INTPTR_MAX); verify_same_types (INTPTR_MIN, (intptr_t) 0 + 0); verify_same_types (INTPTR_MAX, (intptr_t) 0 + 0); uintptr_t h[2] = { 17, UINTPTR_MAX }; verify (TYPE_MAXIMUM (uintptr_t) == UINTPTR_MAX); verify_same_types (UINTPTR_MAX, (uintptr_t) 0 + 0); #if INTPTR_MIN && INTPTR_MAX && UINTPTR_MAX /* ok */ #else err or; #endif /* 7.18.1.5. Greatest-width integer types */ /* 7.18.2.5. Limits of greatest-width integer types */ intmax_t i[3] = { INTMAX_C (17), INTMAX_MIN, INTMAX_MAX }; verify (TYPE_MINIMUM (intmax_t) == INTMAX_MIN); verify (TYPE_MAXIMUM (intmax_t) == INTMAX_MAX); verify_same_types (INTMAX_MIN, (intmax_t) 0 + 0); verify_same_types (INTMAX_MAX, (intmax_t) 0 + 0); uintmax_t j[2] = { UINTMAX_C (17), UINTMAX_MAX }; verify (TYPE_MAXIMUM (uintmax_t) == UINTMAX_MAX); verify_same_types (UINTMAX_MAX, (uintmax_t) 0 + 0); /* As of 2007, Sun C and HP-UX 10.20 cc don't support 'long long' constants in the preprocessor. */ #if !(defined __SUNPRO_C || (defined __hpux && !defined __GNUC__)) #if INTMAX_MIN && INTMAX_MAX && UINTMAX_MAX /* ok */ #else err or; #endif #endif /* 7.18.3. Limits of other integer types */ #include verify (TYPE_MINIMUM (ptrdiff_t) == PTRDIFF_MIN); verify (TYPE_MAXIMUM (ptrdiff_t) == PTRDIFF_MAX); verify_same_types (PTRDIFF_MIN, (ptrdiff_t) 0 + 0); verify_same_types (PTRDIFF_MAX, (ptrdiff_t) 0 + 0); #if PTRDIFF_MIN && PTRDIFF_MAX /* ok */ #else err or; #endif #include verify (TYPE_MINIMUM (sig_atomic_t) == SIG_ATOMIC_MIN); verify (TYPE_MAXIMUM (sig_atomic_t) == SIG_ATOMIC_MAX); verify_same_types (SIG_ATOMIC_MIN, (sig_atomic_t) 0 + 0); verify_same_types (SIG_ATOMIC_MAX, (sig_atomic_t) 0 + 0); #if SIG_ATOMIC_MIN != 17 && SIG_ATOMIC_MAX /* ok */ #else err or; #endif verify (TYPE_MAXIMUM (size_t) == SIZE_MAX); verify_same_types (SIZE_MAX, (size_t) 0 + 0); #if SIZE_MAX /* ok */ #else err or; #endif #if HAVE_WCHAR_T verify (TYPE_MINIMUM (wchar_t) == WCHAR_MIN); verify (TYPE_MAXIMUM (wchar_t) == WCHAR_MAX); verify_same_types (WCHAR_MIN, (wchar_t) 0 + 0); verify_same_types (WCHAR_MAX, (wchar_t) 0 + 0); # if WCHAR_MIN != 17 && WCHAR_MAX /* ok */ # else err or; # endif #endif #if HAVE_WINT_T # include verify (TYPE_MINIMUM (wint_t) == WINT_MIN); verify (TYPE_MAXIMUM (wint_t) == WINT_MAX); verify_same_types (WINT_MIN, (wint_t) 0 + 0); verify_same_types (WINT_MAX, (wint_t) 0 + 0); # if WINT_MIN != 17 && WINT_MAX /* ok */ # else err or; # endif #endif /* 7.18.4. Macros for integer constants */ verify (INT8_C (17) == 17); verify_same_types (INT8_C (17), (int_least8_t)0 + 0); verify (UINT8_C (17) == 17); verify_same_types (UINT8_C (17), (uint_least8_t)0 + 0); verify (INT16_C (17) == 17); verify_same_types (INT16_C (17), (int_least16_t)0 + 0); verify (UINT16_C (17) == 17); verify_same_types (UINT16_C (17), (uint_least16_t)0 + 0); verify (INT32_C (17) == 17); verify_same_types (INT32_C (17), (int_least32_t)0 + 0); verify (UINT32_C (17) == 17); verify_same_types (UINT32_C (17), (uint_least32_t)0 + 0); #ifdef INT64_C verify (INT64_C (17) == 17); verify_same_types (INT64_C (17), (int_least64_t)0 + 0); #endif #ifdef UINT64_C verify (UINT64_C (17) == 17); verify_same_types (UINT64_C (17), (uint_least64_t)0 + 0); #endif verify (INTMAX_C (17) == 17); verify_same_types (INTMAX_C (17), (intmax_t)0 + 0); verify (UINTMAX_C (17) == 17); verify_same_types (UINTMAX_C (17), (uintmax_t)0 + 0); /* Use _GL_VERIFY (with a fixed-length diagnostic string) rather than verify, because the latter would require forming each stringified expression, and many of these would be so long as to trigger a warning/error like this: test-stdint.c:407:1: error: string length '6980' is greater than the \ length '4095' ISO C99 compilers are required to support \ [-Werror=overlength-strings] */ #define verify_width(width, min, max) \ _GL_VERIFY ((max) >> ((width) - 1 - ((min) < 0)) == 1, \ "verify_width check") /* Macros specified by ISO/IEC TS 18661-1:2014. */ #ifdef INT8_MAX verify_width (INT8_WIDTH, INT8_MIN, INT8_MAX); #endif #ifdef UINT8_MAX verify_width (UINT8_WIDTH, 0, UINT8_MAX); #endif #ifdef INT16_MAX verify_width (INT16_WIDTH, INT16_MIN, INT16_MAX); #endif #ifdef UINT16_MAX verify_width (UINT16_WIDTH, 0, UINT16_MAX); #endif #ifdef INT32_MAX verify_width (INT32_WIDTH, INT32_MIN, INT32_MAX); #endif #ifdef UINT32_MAX verify_width (UINT32_WIDTH, 0, UINT32_MAX); #endif #ifdef INT64_MAX verify_width (INT64_WIDTH, INT64_MIN, INT64_MAX); #endif #ifdef UINT64_MAX verify_width (UINT64_WIDTH, 0, UINT64_MAX); #endif verify_width (INT_LEAST8_WIDTH, INT_LEAST8_MIN, INT_LEAST8_MAX); verify_width (UINT_LEAST8_WIDTH, 0, UINT_LEAST8_MAX); verify_width (INT_LEAST16_WIDTH, INT_LEAST16_MIN, INT_LEAST16_MAX); verify_width (UINT_LEAST16_WIDTH, 0, UINT_LEAST16_MAX); verify_width (INT_LEAST32_WIDTH, INT_LEAST32_MIN, INT_LEAST32_MAX); verify_width (UINT_LEAST32_WIDTH, 0, UINT_LEAST32_MAX); verify_width (INT_LEAST64_WIDTH, INT_LEAST64_MIN, INT_LEAST64_MAX); verify_width (UINT_LEAST64_WIDTH, 0, UINT_LEAST64_MAX); verify_width (INT_FAST8_WIDTH, INT_FAST8_MIN, INT_FAST8_MAX); verify_width (UINT_FAST8_WIDTH, 0, UINT_FAST8_MAX); verify_width (INT_FAST16_WIDTH, INT_FAST16_MIN, INT_FAST16_MAX); verify_width (UINT_FAST16_WIDTH, 0, UINT_FAST16_MAX); verify_width (INT_FAST32_WIDTH, INT_FAST32_MIN, INT_FAST32_MAX); verify_width (UINT_FAST32_WIDTH, 0, UINT_FAST32_MAX); verify_width (INT_FAST64_WIDTH, INT_FAST64_MIN, INT_FAST64_MAX); verify_width (UINT_FAST64_WIDTH, 0, UINT_FAST64_MAX); verify_width (INTPTR_WIDTH, INTPTR_MIN, INTPTR_MAX); verify_width (UINTPTR_WIDTH, 0, UINTPTR_MAX); verify_width (INTMAX_WIDTH, INTMAX_MIN, INTMAX_MAX); verify_width (UINTMAX_WIDTH, 0, UINTMAX_MAX); verify_width (PTRDIFF_WIDTH, PTRDIFF_MIN, PTRDIFF_MAX); verify_width (SIZE_WIDTH, 0, SIZE_MAX); verify_width (WCHAR_WIDTH, WCHAR_MIN, WCHAR_MAX); #ifdef WINT_MAX verify_width (WINT_WIDTH, WINT_MIN, WINT_MAX); #endif #ifdef SIG_ATOMIC_MAX verify_width (SIG_ATOMIC_WIDTH, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX); #endif int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-ftell.c0000644000000000000000000000543113516251667014222 00000000000000/* Test of ftell() function. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ #define _GL_NO_LARGE_FILES #include #include "signature.h" SIGNATURE_CHECK (ftell, long, (FILE *)); #include "binary-io.h" #include "macros.h" #ifndef FUNC_UNGETC_BROKEN # define FUNC_UNGETC_BROKEN 0 #endif int main (int argc, char **argv) { int ch; /* Assume stdin is seekable iff argc > 1. */ if (argc == 1) { ASSERT (ftell (stdin) == -1); return 0; } /* mingw ftell is unreliable on text mode input. */ set_binary_mode (0, O_BINARY); /* Simple tests. */ ASSERT (ftell (stdin) == 0); ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ftell (stdin) == 1); /* Test ftell after ungetc of read input. */ ch = ungetc ('#', stdin); ASSERT (ch == '#'); ASSERT (ftell (stdin) == 0); ch = fgetc (stdin); ASSERT (ch == '#'); ASSERT (ftell (stdin) == 1); /* Test ftell after fseek. */ ASSERT (fseek (stdin, 2, SEEK_SET) == 0); ASSERT (ftell (stdin) == 2); /* Test ftell after random ungetc. */ ch = fgetc (stdin); ASSERT (ch == '/'); ch = ungetc ('@', stdin); ASSERT (ch == '@'); ASSERT (ftell (stdin) == 2); ch = fgetc (stdin); ASSERT (ch == '@'); ASSERT (ftell (stdin) == 3); if (2 < argc) { if (FUNC_UNGETC_BROKEN) { fputs ("Skipping test: ungetc cannot handle arbitrary bytes\n", stderr); return 77; } /* Test ftell after ungetc without read. */ ASSERT (fseek (stdin, 0, SEEK_CUR) == 0); ASSERT (ftell (stdin) == 3); ch = ungetc ('~', stdin); ASSERT (ch == '~'); ASSERT (ftell (stdin) == 2); } #if !defined __MINT__ /* FreeMiNT has problems seeking past end of file */ /* Test ftell beyond end of file. */ ASSERT (fseek (stdin, 0, SEEK_END) == 0); ch = ftell (stdin); ASSERT (fseek (stdin, 10, SEEK_END) == 0); ASSERT (ftell (stdin) == ch + 10); #endif return 0; } gsasl-1.8.1/lib/gltests/setsockopt.c0000644000000000000000000000334713516251667014341 00000000000000/* setsockopt.c --- wrappers for Windows setsockopt function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get struct timeval. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef setsockopt int rpl_setsockopt (int fd, int level, int optname, const void *optval, socklen_t optlen) { SOCKET sock = FD_TO_SOCKET (fd); int r; if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { if (level == SOL_SOCKET && (optname == SO_RCVTIMEO || optname == SO_SNDTIMEO)) { const struct timeval *tv = optval; int milliseconds = tv->tv_sec * 1000 + tv->tv_usec / 1000; optval = &milliseconds; r = setsockopt (sock, level, optname, optval, sizeof (int)); } else { r = setsockopt (sock, level, optname, optval, optlen); } if (r < 0) set_winsock_errno (); return r; } } gsasl-1.8.1/lib/gltests/test-malloca.c0000644000000000000000000000306113516251667014521 00000000000000/* Test of safe automatic memory allocation. Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #include "malloca.h" #include static void do_allocation (int n) { void *ptr = malloca (n); freea (ptr); safe_alloca (n); } void (*func) (int) = do_allocation; int main () { int i; /* This slows down malloc a lot. */ unsetenv ("MALLOC_PERTURB_"); /* Repeat a lot of times, to make sure there's no memory leak. */ for (i = 0; i < 50000; i++) { /* Try various values. n = 0 gave a crash on Alpha with gcc-2.5.8. Some versions of Mac OS X have a stack size limit of 512 KB. */ func (34); func (134); func (399); func (510823); func (129321); func (0); func (4070); func (4095); func (1); func (16582); } return 0; } gsasl-1.8.1/lib/gltests/test-verify.c0000644000000000000000000000351013516251672014410 00000000000000/* Test the "verify" module. Copyright (C) 2005, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible. */ #include #include "verify.h" #ifndef EXP_FAIL # define EXP_FAIL 0 #endif int x; enum { a, b, c }; #if EXP_FAIL == 1 verify (x >= 0); /* should give ERROR: non-constant expression */ #endif verify (c == 2); /* should be ok */ #if EXP_FAIL == 2 verify (1 + 1 == 3); /* should give ERROR */ #endif verify (1 == 1); verify (1 == 1); /* should be ok */ enum { item = verify_expr (1 == 1, 10 * 0 + 17) /* should be ok */ }; static int function (int n) { #if EXP_FAIL == 3 verify (n >= 0); /* should give ERROR: non-constant expression */ #endif verify (c == 2); /* should be ok */ #if EXP_FAIL == 4 verify (1 + 1 == 3); /* should give ERROR */ #endif verify (1 == 1); verify (1 == 1); /* should be ok */ if (n) return ((void) verify_expr (1 == 1, 1), verify_expr (1 == 1, 8)); /* should be ok */ #if EXP_FAIL == 5 return verify_expr (1 == 2, 5); /* should give ERROR */ #endif return 0; } int main (void) { return !(function (0) == 0 && function (1) == 8); } gsasl-1.8.1/lib/gltests/test-signal-h.c0000644000000000000000000000475313516251667014624 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include /* Check for required types. */ struct { size_t a; uid_t b; volatile sig_atomic_t c; sigset_t d; pid_t e; #if 0 /* Not guaranteed by gnulib. */ pthread_t f; struct timespec g; #endif } s; /* Check that NSIG is defined. */ int nsig = NSIG; int main (void) { switch (0) { /* The following are guaranteed by C. */ case 0: case SIGABRT: case SIGFPE: case SIGILL: case SIGINT: case SIGSEGV: case SIGTERM: /* The following is guaranteed by gnulib. */ #if GNULIB_SIGPIPE || defined SIGPIPE case SIGPIPE: #endif /* Ensure no conflict with other standardized names. */ #ifdef SIGALRM case SIGALRM: #endif /* On Haiku, SIGBUS is mistakenly equal to SIGSEGV. */ #if defined SIGBUS && SIGBUS != SIGSEGV case SIGBUS: #endif #ifdef SIGCHLD case SIGCHLD: #endif #ifdef SIGCONT case SIGCONT: #endif #ifdef SIGHUP case SIGHUP: #endif #ifdef SIGKILL case SIGKILL: #endif #ifdef SIGQUIT case SIGQUIT: #endif #ifdef SIGSTOP case SIGSTOP: #endif #ifdef SIGTSTP case SIGTSTP: #endif #ifdef SIGTTIN case SIGTTIN: #endif #ifdef SIGTTOU case SIGTTOU: #endif #ifdef SIGUSR1 case SIGUSR1: #endif #ifdef SIGUSR2 case SIGUSR2: #endif #ifdef SIGSYS case SIGSYS: #endif #ifdef SIGTRAP case SIGTRAP: #endif #ifdef SIGURG case SIGURG: #endif #ifdef SIGVTALRM case SIGVTALRM: #endif #ifdef SIGXCPU case SIGXCPU: #endif #ifdef SIGXFSZ case SIGXFSZ: #endif /* SIGRTMIN and SIGRTMAX need not be compile-time constants. */ #if 0 # ifdef SIGRTMIN case SIGRTMIN: # endif # ifdef SIGRTMAX case SIGRTMAX: # endif #endif ; } return s.a + s.b + s.c + s.e; } gsasl-1.8.1/lib/gltests/test-raise.c0000644000000000000000000000264113516251667014217 00000000000000/* Test raising a signal. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (raise, int, (int)); #include #include "macros.h" /* It is safe to use _Noreturn here: exit() never returns, and GCC knows that exit() is a non-returning function, even on platforms where its declaration in does not have the 'noreturn' attribute. */ static _Noreturn void handler (int sig) { exit (0); } int main (void) { /* Test behaviour for invalid argument. */ ASSERT (raise (-1) != 0); /* Test behaviour for SIGINT. */ ASSERT (signal (SIGINT, handler) != SIG_ERR); raise (SIGINT); /* We should not get here, because the handler takes away the control. */ exit (1); } gsasl-1.8.1/lib/gltests/cloexec.c0000644000000000000000000000442713516251666013564 00000000000000/* cloexec.c - set or clear the close-on-exec descriptor flag Copyright (C) 1991, 2004-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . The code is taken from glibc/manual/llio.texi */ #include #include "cloexec.h" #include #include #include /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, or clear the flag if VALUE is false. Return 0 on success, or -1 on error with 'errno' set. Note that on MingW, this function does NOT protect DESC from being inherited into spawned children. Instead, either use dup_cloexec followed by closing the original DESC, or use interfaces such as open or pipe2 that accept flags like O_CLOEXEC to create DESC non-inheritable in the first place. */ int set_cloexec_flag (int desc, bool value) { #ifdef F_SETFD int flags = fcntl (desc, F_GETFD, 0); if (0 <= flags) { int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC); if (flags == newflags || fcntl (desc, F_SETFD, newflags) != -1) return 0; } return -1; #else /* !F_SETFD */ /* Use dup2 to reject invalid file descriptors; the cloexec flag will be unaffected. */ if (desc < 0) { errno = EBADF; return -1; } if (dup2 (desc, desc) < 0) /* errno is EBADF here. */ return -1; /* There is nothing we can do on this kind of platform. Punt. */ return 0; #endif /* !F_SETFD */ } /* Duplicates a file handle FD, while marking the copy to be closed prior to exec or spawn. Returns -1 and sets errno if FD could not be duplicated. */ int dup_cloexec (int fd) { return fcntl (fd, F_DUPFD_CLOEXEC, 0); } gsasl-1.8.1/lib/gltests/test-gettimeofday.c0000644000000000000000000000245113516251667015574 00000000000000/* * Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. * Written by Jim Meyering. * * 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 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (gettimeofday, int, (struct timeval *, GETTIMEOFDAY_TIMEZONE *)); #include #include #include int main (void) { time_t t = 0; struct tm *lt; struct tm saved_lt; struct timeval tv; lt = localtime (&t); saved_lt = *lt; gettimeofday (&tv, NULL); if (memcmp (lt, &saved_lt, sizeof (struct tm)) != 0) { fprintf (stderr, "gettimeofday still clobbers the localtime buffer!\n"); return 1; } return 0; } gsasl-1.8.1/lib/gltests/test-sockets.c0000644000000000000000000000216413516251670014561 00000000000000/* * Copyright (C) 2008-2019 Free Software Foundation, Inc. * Written by Simon Josefsson. * * 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 3 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, see . */ #include #include #include "sockets.h" int main (void) { int err; err = gl_sockets_startup (SOCKETS_1_1); if (err != 0) { printf ("wsastartup failed %d\n", err); return 1; } err = gl_sockets_cleanup (); if (err != 0) { printf ("wsacleanup failed %d\n", err); return 1; } (void) gl_fd_to_handle (0); return 0; } gsasl-1.8.1/lib/gltests/test-lseek.sh0000755000000000000000000000065013516251667014410 00000000000000#!/bin/sh tmpfiles= trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles=t-lseek.tmp # seekable files ${CHECKER} ./test-lseek${EXEEXT} 0 < "$srcdir/test-lseek.sh" > t-lseek.tmp || exit 1 # pipes echo hi | { ${CHECKER} ./test-lseek${EXEEXT} 1; echo $? > t-lseek.tmp; cat > /dev/null; } | cat test "`cat t-lseek.tmp`" = "0" || exit 1 # closed descriptors ${CHECKER} ./test-lseek${EXEEXT} 2 <&- >&- || exit 1 rm -rf $tmpfiles exit 0 gsasl-1.8.1/lib/gltests/pthread.in.h0000644000000000000000000020271013516317443014172 00000000000000/* Implement the most essential subset of POSIX 1003.1-2008 pthread.h. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Paul Eggert, Glen Lenker, and Bruno Haible. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _GL_ALREADY_INCLUDING_PTHREAD_H /* Special invocation convention: On Android, we have a sequence of nested includes -> -> -> -> -> . In this situation, PTHREAD_COND_INITIALIZER is not yet defined, therefore we should not attempt to define PTHREAD_MUTEX_NORMAL etc. */ #@INCLUDE_NEXT@ @NEXT_PTHREAD_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_PTHREAD_H_ #if @HAVE_PTHREAD_H@ # define _GL_ALREADY_INCLUDING_PTHREAD_H /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_PTHREAD_H@ # undef _GL_ALREADY_INCLUDING_PTHREAD_H #endif #ifndef _@GUARD_PREFIX@_PTHREAD_H_ #define _@GUARD_PREFIX@_PTHREAD_H_ #define __need_system_stdlib_h #include #undef __need_system_stdlib_h /* The pthreads-win32 defines a couple of broken macros. */ #undef asctime_r #undef ctime_r #undef gmtime_r #undef localtime_r #undef rand_r #undef strtok_r #include #include #include #include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _Noreturn is copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* =========== Thread types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_THREAD@ # include "windows-thread.h" # if @HAVE_PTHREAD_T@ # define pthread_t rpl_pthread_t # define pthread_attr_t rpl_pthread_attr_t # endif # if !GNULIB_defined_pthread_thread_types typedef glwthread_thread_t pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # else # if @HAVE_PTHREAD_T@ # define pthread_t rpl_pthread_t # define pthread_attr_t rpl_pthread_attr_t # endif # if !GNULIB_defined_pthread_thread_types typedef int pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # endif # undef PTHREAD_CREATE_JOINABLE # undef PTHREAD_CREATE_DETACHED # define PTHREAD_CREATE_JOINABLE 0 # define PTHREAD_CREATE_DETACHED 1 #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_thread_types typedef int pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # endif # if !@HAVE_PTHREAD_CREATE_DETACHED@ # define PTHREAD_CREATE_JOINABLE 0 # define PTHREAD_CREATE_DETACHED 1 # endif #endif /* =========== Once-only control (initialization) types and macros ========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_ONCE@ # include "windows-once.h" # if @HAVE_PTHREAD_T@ # define pthread_once_t rpl_pthread_once_t # endif # if !GNULIB_defined_pthread_once_types typedef glwthread_once_t pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT GLWTHREAD_ONCE_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_once_t rpl_pthread_once_t # endif # if !GNULIB_defined_pthread_once_types typedef int pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT { 0 } # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_once_types typedef int pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT { 0 } # endif #endif /* =========== Mutex types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_MUTEX@ # include "windows-timedmutex.h" # include "windows-timedrecmutex.h" # if @HAVE_PTHREAD_T@ # define pthread_mutex_t rpl_pthread_mutex_t # define pthread_mutexattr_t rpl_pthread_mutexattr_t # endif # if !GNULIB_defined_pthread_mutex_types typedef struct { int type; union { glwthread_timedmutex_t u_timedmutex; glwthread_timedrecmutex_t u_timedrecmutex; } u; } pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 1, { GLWTHREAD_TIMEDMUTEX_INIT } } # else # if @HAVE_PTHREAD_T@ # define pthread_mutex_t rpl_pthread_mutex_t # define pthread_mutexattr_t rpl_pthread_mutexattr_t # endif # if !GNULIB_defined_pthread_mutex_types typedef int pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 0 } # endif # undef PTHREAD_MUTEX_DEFAULT # undef PTHREAD_MUTEX_NORMAL # undef PTHREAD_MUTEX_ERRORCHECK # undef PTHREAD_MUTEX_RECURSIVE # define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL # define PTHREAD_MUTEX_NORMAL 0 # define PTHREAD_MUTEX_ERRORCHECK 1 # define PTHREAD_MUTEX_RECURSIVE 2 # undef PTHREAD_MUTEX_STALLED # undef PTHREAD_MUTEX_ROBUST # define PTHREAD_MUTEX_STALLED 0 # define PTHREAD_MUTEX_ROBUST 1 #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_mutex_types typedef int pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 0 } # endif # if !@HAVE_PTHREAD_MUTEX_RECURSIVE@ # define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL # define PTHREAD_MUTEX_NORMAL 0 # define PTHREAD_MUTEX_ERRORCHECK 1 # define PTHREAD_MUTEX_RECURSIVE 2 # endif # if !@HAVE_PTHREAD_MUTEX_ROBUST@ # define PTHREAD_MUTEX_STALLED 0 # define PTHREAD_MUTEX_ROBUST 1 # endif #endif /* =========== Read-write lock types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_RWLOCK@ # include "windows-timedrwlock.h" # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef glwthread_timedrwlock_t pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER GLWTHREAD_TIMEDRWLOCK_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef int pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER { 0 } # endif #elif @GNULIB_PTHREAD_RWLOCK@ && @REPLACE_PTHREAD_RWLOCK_INIT@ /* i.e. PTHREAD_RWLOCK_UNIMPLEMENTED */ # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef struct { pthread_mutex_t lock; /* protects the remaining fields */ pthread_cond_t waiting_readers; /* waiting readers */ pthread_cond_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 } #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_rwlock_types typedef int pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER { 0 } # endif #endif /* =========== Condition variable types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_COND@ # include "windows-cond.h" # if @HAVE_PTHREAD_T@ # define pthread_cond_t rpl_pthread_cond_t # define pthread_condattr_t rpl_pthread_condattr_t # endif # if !GNULIB_defined_pthread_cond_types typedef glwthread_cond_t pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER GLWTHREAD_COND_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_cond_t rpl_pthread_cond_t # define pthread_condattr_t rpl_pthread_condattr_t # endif # if !GNULIB_defined_pthread_cond_types typedef int pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER { 0 } # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_cond_types typedef int pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER { 0 } # endif #endif /* =========== Thread-specific storage types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_TSS@ # include "windows-tls.h" # if @HAVE_PTHREAD_T@ # define pthread_key_t rpl_pthread_key_t # endif # if !GNULIB_defined_pthread_tss_types typedef glwthread_tls_key_t pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS GLWTHREAD_DESTRUCTOR_ITERATIONS # else # if @HAVE_PTHREAD_T@ # define pthread_key_t rpl_pthread_key_t # endif # if !GNULIB_defined_pthread_tss_types typedef void ** pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS 0 # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_tss_types typedef void ** pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS 0 # endif #endif /* =========== Spinlock types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_SPIN@ # include "windows-spin.h" # if @HAVE_PTHREAD_T@ # define pthread_spinlock_t rpl_pthread_spinlock_t # endif # if !GNULIB_defined_pthread_spin_types typedef glwthread_spinlock_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # else # if @HAVE_PTHREAD_T@ # define pthread_spinlock_t rpl_pthread_spinlock_t # endif # if !GNULIB_defined_pthread_spin_types typedef pthread_mutex_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # endif # undef PTHREAD_PROCESS_PRIVATE # undef PTHREAD_PROCESS_SHARED # define PTHREAD_PROCESS_PRIVATE 0 # define PTHREAD_PROCESS_SHARED 1 #else # if !@HAVE_PTHREAD_SPINLOCK_T@ /* Approximate spinlocks with mutexes. */ # if !GNULIB_defined_pthread_spin_types typedef pthread_mutex_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # endif # if !@HAVE_PTHREAD_PROCESS_SHARED@ # define PTHREAD_PROCESS_PRIVATE 0 # define PTHREAD_PROCESS_SHARED 1 # endif #endif /* =========== Other types and macros =========== */ #if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_other_pthread_types typedef int pthread_barrier_t; typedef unsigned int pthread_barrierattr_t; # define GNULIB_defined_other_pthread_types 1 # endif #endif #if !defined PTHREAD_CANCELED # define PTHREAD_BARRIER_SERIAL_THREAD (-1) # define PTHREAD_CANCEL_DEFERRED 0 # define PTHREAD_CANCEL_ASYNCHRONOUS 1 # define PTHREAD_CANCEL_ENABLE 0 # define PTHREAD_CANCEL_DISABLE 1 # define PTHREAD_CANCELED ((void *) -1) # define PTHREAD_INHERIT_SCHED 0 # define PTHREAD_EXPLICIT_SCHED 1 # define PTHREAD_PRIO_NONE 0 # define PTHREAD_PRIO_INHERIT 1 # define PTHREAD_PRIO_PROTECT 2 # define PTHREAD_SCOPE_SYSTEM 0 # define PTHREAD_SCOPE_PROCESS 1 #endif /* =========== Thread functions =========== */ #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_CREATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_create # define pthread_create rpl_pthread_create # endif _GL_FUNCDECL_RPL (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg) _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg)); # else # if !@HAVE_PTHREAD_CREATE@ _GL_FUNCDECL_SYS (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg) _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS (pthread_create, int, (pthread_t *threadp, const pthread_attr_t *attr, void * (*mainfunc) (void *), void *arg)); # endif _GL_CXXALIASWARN (pthread_create); #elif defined GNULIB_POSIXCHECK # undef pthread_create # if HAVE_RAW_DECL_PTHREAD_CREATE _GL_WARN_ON_USE (pthread_create, "pthread_create is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_init # define pthread_attr_init rpl_pthread_attr_init # endif _GL_FUNCDECL_RPL (pthread_attr_init, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_init, int, (pthread_attr_t *attr)); # else # if !@HAVE_PTHREAD_ATTR_INIT@ _GL_FUNCDECL_SYS (pthread_attr_init, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_init, int, (pthread_attr_t *attr)); # endif _GL_CXXALIASWARN (pthread_attr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_init # if HAVE_RAW_DECL_PTHREAD_ATTR_INIT _GL_WARN_ON_USE (pthread_attr_init, "pthread_attr_init is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_getdetachstate # define pthread_attr_getdetachstate rpl_pthread_attr_getdetachstate # endif _GL_FUNCDECL_RPL (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep)); # else # if !@HAVE_PTHREAD_ATTR_GETDETACHSTATE@ _GL_FUNCDECL_SYS (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_attr_getdetachstate, int, (pthread_attr_t *attr, int *detachstatep)); # endif _GL_CXXALIASWARN (pthread_attr_getdetachstate); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_getdetachstate # if HAVE_RAW_DECL_PTHREAD_ATTR_GETDETACHSTATE _GL_WARN_ON_USE (pthread_attr_getdetachstate, "pthread_attr_getdetachstate is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_setdetachstate # define pthread_attr_setdetachstate rpl_pthread_attr_setdetachstate # endif _GL_FUNCDECL_RPL (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate)); # else # if !@HAVE_PTHREAD_ATTR_SETDETACHSTATE@ _GL_FUNCDECL_SYS (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate)); # endif _GL_CXXALIASWARN (pthread_attr_setdetachstate); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_setdetachstate # if HAVE_RAW_DECL_PTHREAD_ATTR_SETDETACHSTATE _GL_WARN_ON_USE (pthread_attr_setdetachstate, "pthread_attr_setdetachstate is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_destroy # define pthread_attr_destroy rpl_pthread_attr_destroy # endif _GL_FUNCDECL_RPL (pthread_attr_destroy, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_destroy, int, (pthread_attr_t *attr)); # else # if !@HAVE_PTHREAD_ATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_attr_destroy, int, (pthread_attr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_destroy, int, (pthread_attr_t *attr)); # endif _GL_CXXALIASWARN (pthread_attr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_attr_destroy # if HAVE_RAW_DECL_PTHREAD_ATTR_DESTROY _GL_WARN_ON_USE (pthread_attr_destroy, "pthread_attr_destroy is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_SELF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_self # define pthread_self rpl_pthread_self # endif _GL_FUNCDECL_RPL (pthread_self, pthread_t, (void) _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (pthread_self, pthread_t, (void)); # else # if !@HAVE_PTHREAD_SELF@ _GL_FUNCDECL_SYS (pthread_self, pthread_t, (void) _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (pthread_self, pthread_t, (void)); # endif _GL_CXXALIASWARN (pthread_self); #elif defined GNULIB_POSIXCHECK # undef pthread_self # if HAVE_RAW_DECL_PTHREAD_SELF _GL_WARN_ON_USE (pthread_self, "pthread_self is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_EQUAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_equal # define pthread_equal rpl_pthread_equal # endif _GL_FUNCDECL_RPL (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); _GL_CXXALIAS_RPL (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # else # if !@HAVE_PTHREAD_EQUAL@ _GL_FUNCDECL_SYS (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # endif _GL_CXXALIAS_SYS (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # endif _GL_CXXALIASWARN (pthread_equal); #elif defined GNULIB_POSIXCHECK # undef pthread_equal # if HAVE_RAW_DECL_PTHREAD_EQUAL _GL_WARN_ON_USE (pthread_equal, "pthread_equal is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_DETACH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_detach # define pthread_detach rpl_pthread_detach # endif _GL_FUNCDECL_RPL (pthread_detach, int, (pthread_t thread)); _GL_CXXALIAS_RPL (pthread_detach, int, (pthread_t thread)); # else # if !@HAVE_PTHREAD_DETACH@ _GL_FUNCDECL_SYS (pthread_detach, int, (pthread_t thread)); # endif _GL_CXXALIAS_SYS (pthread_detach, int, (pthread_t thread)); # endif _GL_CXXALIASWARN (pthread_detach); #elif defined GNULIB_POSIXCHECK # undef pthread_detach # if HAVE_RAW_DECL_PTHREAD_DETACH _GL_WARN_ON_USE (pthread_detach, "pthread_detach is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_JOIN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_join # define pthread_join rpl_pthread_join # endif _GL_FUNCDECL_RPL (pthread_join, int, (pthread_t thread, void **valuep)); _GL_CXXALIAS_RPL (pthread_join, int, (pthread_t thread, void **valuep)); # else # if !@HAVE_PTHREAD_JOIN@ _GL_FUNCDECL_SYS (pthread_join, int, (pthread_t thread, void **valuep)); # endif _GL_CXXALIAS_SYS (pthread_join, int, (pthread_t thread, void **valuep)); # endif _GL_CXXALIASWARN (pthread_join); #elif defined GNULIB_POSIXCHECK # undef pthread_join # if HAVE_RAW_DECL_PTHREAD_JOIN _GL_WARN_ON_USE (pthread_join, "pthread_join is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_EXIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_exit # define pthread_exit rpl_pthread_exit # endif _GL_FUNCDECL_RPL (pthread_exit, _Noreturn void, (void *value)); _GL_CXXALIAS_RPL (pthread_exit, _Noreturn void, (void *value)); # else # if !@HAVE_PTHREAD_EXIT@ _GL_FUNCDECL_SYS (pthread_exit, _Noreturn void, (void *value)); # endif _GL_CXXALIAS_SYS (pthread_exit, _Noreturn void, (void *value)); # endif _GL_CXXALIASWARN (pthread_exit); #elif defined GNULIB_POSIXCHECK # undef pthread_exit # if HAVE_RAW_DECL_PTHREAD_EXIT _GL_WARN_ON_USE (pthread_exit, "pthread_exit is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif /* =========== Once-only control (initialization) functions =========== */ #if @GNULIB_PTHREAD_ONCE@ # if @REPLACE_PTHREAD_ONCE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_once # define pthread_once rpl_pthread_once # endif _GL_FUNCDECL_RPL (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void)) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void))); # else # if !@HAVE_PTHREAD_ONCE@ _GL_FUNCDECL_SYS (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void)) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void))); # endif _GL_CXXALIASWARN (pthread_once); #elif defined GNULIB_POSIXCHECK # undef pthread_once # if HAVE_RAW_DECL_PTHREAD_ONCE _GL_WARN_ON_USE (pthread_once, "pthread_once is not portable - " "use gnulib module pthread-once for portability"); # endif #endif /* =========== Mutex functions =========== */ #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_init # define pthread_mutex_init rpl_pthread_mutex_init # endif _GL_FUNCDECL_RPL (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEX_INIT@ _GL_FUNCDECL_SYS (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_init, int, (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_mutex_init); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_init # if HAVE_RAW_DECL_PTHREAD_MUTEX_INIT _GL_WARN_ON_USE (pthread_mutex_init, "pthread_mutex_init is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_init # define pthread_mutexattr_init rpl_pthread_mutexattr_init # endif _GL_FUNCDECL_RPL (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEXATTR_INIT@ _GL_FUNCDECL_SYS (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_mutexattr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_init # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_INIT _GL_WARN_ON_USE (pthread_mutexattr_init, "pthread_mutexattr_init is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_gettype # define pthread_mutexattr_gettype rpl_pthread_mutexattr_gettype # endif _GL_FUNCDECL_RPL (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep)); # else # if !@HAVE_PTHREAD_MUTEXATTR_GETTYPE@ _GL_FUNCDECL_SYS (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *attr, int *typep)); # endif _GL_CXXALIASWARN (pthread_mutexattr_gettype); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_gettype # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_GETTYPE _GL_WARN_ON_USE (pthread_mutexattr_gettype, "pthread_mutexattr_gettype is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_settype # define pthread_mutexattr_settype rpl_pthread_mutexattr_settype # endif _GL_FUNCDECL_RPL (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type)); # else # if !@HAVE_PTHREAD_MUTEXATTR_SETTYPE@ _GL_FUNCDECL_SYS (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type)); # endif _GL_CXXALIASWARN (pthread_mutexattr_settype); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_settype # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_SETTYPE _GL_WARN_ON_USE (pthread_mutexattr_settype, "pthread_mutexattr_settype is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_getrobust # define pthread_mutexattr_getrobust rpl_pthread_mutexattr_getrobust # endif _GL_FUNCDECL_RPL (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp)); # else # if !@HAVE_PTHREAD_MUTEXATTR_GETROBUST@ _GL_FUNCDECL_SYS (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *attr, int *robustp)); # endif _GL_CXXALIASWARN (pthread_mutexattr_getrobust); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_getrobust # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_GETROBUST _GL_WARN_ON_USE (pthread_mutexattr_getrobust, "pthread_mutexattr_getrobust is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_setrobust # define pthread_mutexattr_setrobust rpl_pthread_mutexattr_setrobust # endif _GL_FUNCDECL_RPL (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust)); # else # if !@HAVE_PTHREAD_MUTEXATTR_SETROBUST@ _GL_FUNCDECL_SYS (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust)); # endif _GL_CXXALIASWARN (pthread_mutexattr_setrobust); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_setrobust # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_SETROBUST _GL_WARN_ON_USE (pthread_mutexattr_setrobust, "pthread_mutexattr_setrobust is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_destroy # define pthread_mutexattr_destroy rpl_pthread_mutexattr_destroy # endif _GL_FUNCDECL_RPL (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEXATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_mutexattr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_destroy # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_DESTROY _GL_WARN_ON_USE (pthread_mutexattr_destroy, "pthread_mutexattr_destroy is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_LOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_lock # define pthread_mutex_lock rpl_pthread_mutex_lock # endif _GL_FUNCDECL_RPL (pthread_mutex_lock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_lock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_LOCK@ _GL_FUNCDECL_SYS (pthread_mutex_lock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_lock, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_lock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_lock # if HAVE_RAW_DECL_PTHREAD_MUTEX_LOCK _GL_WARN_ON_USE (pthread_mutex_lock, "pthread_mutex_lock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_TRYLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_trylock # define pthread_mutex_trylock rpl_pthread_mutex_trylock # endif _GL_FUNCDECL_RPL (pthread_mutex_trylock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_trylock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_TRYLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_trylock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_trylock, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_trylock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_trylock # if HAVE_RAW_DECL_PTHREAD_MUTEX_TRYLOCK _GL_WARN_ON_USE (pthread_mutex_trylock, "pthread_mutex_trylock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ # if @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_timedlock # define pthread_mutex_timedlock rpl_pthread_mutex_timedlock # endif _GL_FUNCDECL_RPL (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_MUTEX_TIMEDLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_mutex_timedlock, int, (pthread_mutex_t *mutex, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_mutex_timedlock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_timedlock # if HAVE_RAW_DECL_PTHREAD_MUTEX_TIMEDLOCK _GL_WARN_ON_USE (pthread_mutex_timedlock, "pthread_mutex_timedlock is not portable - " "use gnulib module pthread_mutex_timedlock for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_unlock # define pthread_mutex_unlock rpl_pthread_mutex_unlock # endif _GL_FUNCDECL_RPL (pthread_mutex_unlock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_unlock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_UNLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_unlock, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_unlock, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_unlock); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_unlock # if HAVE_RAW_DECL_PTHREAD_MUTEX_UNLOCK _GL_WARN_ON_USE (pthread_mutex_unlock, "pthread_mutex_unlock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_destroy # define pthread_mutex_destroy rpl_pthread_mutex_destroy # endif _GL_FUNCDECL_RPL (pthread_mutex_destroy, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_destroy, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_DESTROY@ _GL_FUNCDECL_SYS (pthread_mutex_destroy, int, (pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_destroy, int, (pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_mutex_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_destroy # if HAVE_RAW_DECL_PTHREAD_MUTEX_DESTROY _GL_WARN_ON_USE (pthread_mutex_destroy, "pthread_mutex_destroy is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif /* =========== Read-write lock functions =========== */ #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_init # define pthread_rwlock_init rpl_pthread_rwlock_init # endif _GL_FUNCDECL_RPL (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCK_INIT@ _GL_FUNCDECL_SYS (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_init, int, (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_rwlock_init); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_init # if HAVE_RAW_DECL_PTHREAD_RWLOCK_INIT _GL_WARN_ON_USE (pthread_rwlock_init, "pthread_rwlock_init is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCKATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlockattr_init # define pthread_rwlockattr_init rpl_pthread_rwlockattr_init # endif _GL_FUNCDECL_RPL (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCKATTR_INIT@ _GL_FUNCDECL_SYS (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_rwlockattr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlockattr_init # if HAVE_RAW_DECL_PTHREAD_RWLOCKATTR_INIT _GL_WARN_ON_USE (pthread_rwlockattr_init, "pthread_rwlockattr_init is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlockattr_destroy # define pthread_rwlockattr_destroy rpl_pthread_rwlockattr_destroy # endif _GL_FUNCDECL_RPL (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCKATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_rwlockattr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlockattr_destroy # if HAVE_RAW_DECL_PTHREAD_RWLOCKATTR_DESTROY _GL_WARN_ON_USE (pthread_rwlockattr_destroy, "pthread_rwlockattr_destroy is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_RDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_rdlock # define pthread_rwlock_rdlock rpl_pthread_rwlock_rdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_RDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_rdlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_rdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_RDLOCK _GL_WARN_ON_USE (pthread_rwlock_rdlock, "pthread_rwlock_rdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_WRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_wrlock # define pthread_rwlock_wrlock rpl_pthread_rwlock_wrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_WRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_wrlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_wrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_WRLOCK _GL_WARN_ON_USE (pthread_rwlock_wrlock, "pthread_rwlock_wrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_tryrdlock # define pthread_rwlock_tryrdlock rpl_pthread_rwlock_tryrdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_tryrdlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_tryrdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TRYRDLOCK _GL_WARN_ON_USE (pthread_rwlock_tryrdlock, "pthread_rwlock_tryrdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_trywrlock # define pthread_rwlock_trywrlock rpl_pthread_rwlock_trywrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_trywrlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_trywrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TRYWRLOCK _GL_WARN_ON_USE (pthread_rwlock_trywrlock, "pthread_rwlock_trywrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_timedrdlock # define pthread_rwlock_timedrdlock rpl_pthread_rwlock_timedrdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_rwlock_timedrdlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_timedrdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TIMEDRDLOCK _GL_WARN_ON_USE (pthread_rwlock_timedrdlock, "pthread_rwlock_timedrdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_timedwrlock # define pthread_rwlock_timedwrlock rpl_pthread_rwlock_timedwrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *lock, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_rwlock_timedwrlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_timedwrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TIMEDWRLOCK _GL_WARN_ON_USE (pthread_rwlock_timedwrlock, "pthread_rwlock_timedwrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_unlock # define pthread_rwlock_unlock rpl_pthread_rwlock_unlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_UNLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_unlock); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_unlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_UNLOCK _GL_WARN_ON_USE (pthread_rwlock_unlock, "pthread_rwlock_unlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_destroy # define pthread_rwlock_destroy rpl_pthread_rwlock_destroy # endif _GL_FUNCDECL_RPL (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_DESTROY@ _GL_FUNCDECL_SYS (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_rwlock_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_destroy # if HAVE_RAW_DECL_PTHREAD_RWLOCK_DESTROY _GL_WARN_ON_USE (pthread_rwlock_destroy, "pthread_rwlock_destroy is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif /* =========== Condition variable functions =========== */ #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_init # define pthread_cond_init rpl_pthread_cond_init # endif _GL_FUNCDECL_RPL (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_COND_INIT@ _GL_FUNCDECL_SYS (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_init, int, (pthread_cond_t *cond, const pthread_condattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_cond_init); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_init # if HAVE_RAW_DECL_PTHREAD_COND_INIT _GL_WARN_ON_USE (pthread_cond_init, "pthread_cond_init is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_CONDATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_condattr_init # define pthread_condattr_init rpl_pthread_condattr_init # endif _GL_FUNCDECL_RPL (pthread_condattr_init, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_condattr_init, int, (pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_CONDATTR_INIT@ _GL_FUNCDECL_SYS (pthread_condattr_init, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_condattr_init, int, (pthread_condattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_condattr_init); #elif defined GNULIB_POSIXCHECK # undef pthread_condattr_init # if HAVE_RAW_DECL_PTHREAD_CONDATTR_INIT _GL_WARN_ON_USE (pthread_condattr_init, "pthread_condattr_init is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_CONDATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_condattr_destroy # define pthread_condattr_destroy rpl_pthread_condattr_destroy # endif _GL_FUNCDECL_RPL (pthread_condattr_destroy, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_condattr_destroy, int, (pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_CONDATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_condattr_destroy, int, (pthread_condattr_t *attr) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_condattr_destroy, int, (pthread_condattr_t *attr)); # endif _GL_CXXALIASWARN (pthread_condattr_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_condattr_destroy # if HAVE_RAW_DECL_PTHREAD_CONDATTR_DESTROY _GL_WARN_ON_USE (pthread_condattr_destroy, "pthread_condattr_destroy is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_WAIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_wait # define pthread_cond_wait rpl_pthread_cond_wait # endif _GL_FUNCDECL_RPL (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_COND_WAIT@ _GL_FUNCDECL_SYS (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_cond_wait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex)); # endif _GL_CXXALIASWARN (pthread_cond_wait); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_wait # if HAVE_RAW_DECL_PTHREAD_COND_WAIT _GL_WARN_ON_USE (pthread_cond_wait, "pthread_cond_wait is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_TIMEDWAIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_timedwait # define pthread_cond_timedwait rpl_pthread_cond_timedwait # endif _GL_FUNCDECL_RPL (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2, 3))); _GL_CXXALIAS_RPL (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)); # else # if !@HAVE_PTHREAD_COND_TIMEDWAIT@ _GL_FUNCDECL_SYS (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (pthread_cond_timedwait, int, (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)); # endif _GL_CXXALIASWARN (pthread_cond_timedwait); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_timedwait # if HAVE_RAW_DECL_PTHREAD_COND_TIMEDWAIT _GL_WARN_ON_USE (pthread_cond_timedwait, "pthread_cond_timedwait is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_SIGNAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_signal # define pthread_cond_signal rpl_pthread_cond_signal # endif _GL_FUNCDECL_RPL (pthread_cond_signal, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_signal, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_SIGNAL@ _GL_FUNCDECL_SYS (pthread_cond_signal, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_signal, int, (pthread_cond_t *cond)); # endif _GL_CXXALIASWARN (pthread_cond_signal); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_signal # if HAVE_RAW_DECL_PTHREAD_COND_SIGNAL _GL_WARN_ON_USE (pthread_cond_signal, "pthread_cond_signal is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_BROADCAST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_broadcast # define pthread_cond_broadcast rpl_pthread_cond_broadcast # endif _GL_FUNCDECL_RPL (pthread_cond_broadcast, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_broadcast, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_BROADCAST@ _GL_FUNCDECL_SYS (pthread_cond_broadcast, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_broadcast, int, (pthread_cond_t *cond)); # endif _GL_CXXALIASWARN (pthread_cond_broadcast); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_broadcast # if HAVE_RAW_DECL_PTHREAD_COND_BROADCAST _GL_WARN_ON_USE (pthread_cond_broadcast, "pthread_cond_broadcast is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_destroy # define pthread_cond_destroy rpl_pthread_cond_destroy # endif _GL_FUNCDECL_RPL (pthread_cond_destroy, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_destroy, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_DESTROY@ _GL_FUNCDECL_SYS (pthread_cond_destroy, int, (pthread_cond_t *cond) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_destroy, int, (pthread_cond_t *cond)); # endif _GL_CXXALIASWARN (pthread_cond_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_cond_destroy # if HAVE_RAW_DECL_PTHREAD_COND_DESTROY _GL_WARN_ON_USE (pthread_cond_destroy, "pthread_cond_destroy is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif /* =========== Thread-specific storage functions =========== */ #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_KEY_CREATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_key_create # define pthread_key_create rpl_pthread_key_create # endif _GL_FUNCDECL_RPL (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *)) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *))); # else # if !@HAVE_PTHREAD_KEY_CREATE@ _GL_FUNCDECL_SYS (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *)) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *))); # endif _GL_CXXALIASWARN (pthread_key_create); #elif defined GNULIB_POSIXCHECK # undef pthread_key_create # if HAVE_RAW_DECL_PTHREAD_KEY_CREATE _GL_WARN_ON_USE (pthread_key_create, "pthread_key_create is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_SETSPECIFIC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_setspecific # define pthread_setspecific rpl_pthread_setspecific # endif _GL_FUNCDECL_RPL (pthread_setspecific, int, (pthread_key_t key, const void *value)); _GL_CXXALIAS_RPL (pthread_setspecific, int, (pthread_key_t key, const void *value)); # else # if !@HAVE_PTHREAD_SETSPECIFIC@ _GL_FUNCDECL_SYS (pthread_setspecific, int, (pthread_key_t key, const void *value)); # endif _GL_CXXALIAS_SYS (pthread_setspecific, int, (pthread_key_t key, const void *value)); # endif _GL_CXXALIASWARN (pthread_setspecific); #elif defined GNULIB_POSIXCHECK # undef pthread_setspecific # if HAVE_RAW_DECL_PTHREAD_SETSPECIFIC _GL_WARN_ON_USE (pthread_setspecific, "pthread_setspecific is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_GETSPECIFIC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_getspecific # define pthread_getspecific rpl_pthread_getspecific # endif _GL_FUNCDECL_RPL (pthread_getspecific, void *, (pthread_key_t key)); _GL_CXXALIAS_RPL (pthread_getspecific, void *, (pthread_key_t key)); # else # if !@HAVE_PTHREAD_GETSPECIFIC@ _GL_FUNCDECL_SYS (pthread_getspecific, void *, (pthread_key_t key)); # endif _GL_CXXALIAS_SYS (pthread_getspecific, void *, (pthread_key_t key)); # endif _GL_CXXALIASWARN (pthread_getspecific); #elif defined GNULIB_POSIXCHECK # undef pthread_getspecific # if HAVE_RAW_DECL_PTHREAD_GETSPECIFIC _GL_WARN_ON_USE (pthread_getspecific, "pthread_getspecific is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_KEY_DELETE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_key_delete # define pthread_key_delete rpl_pthread_key_delete # endif _GL_FUNCDECL_RPL (pthread_key_delete, int, (pthread_key_t key)); _GL_CXXALIAS_RPL (pthread_key_delete, int, (pthread_key_t key)); # else # if !@HAVE_PTHREAD_KEY_DELETE@ _GL_FUNCDECL_SYS (pthread_key_delete, int, (pthread_key_t key)); # endif _GL_CXXALIAS_SYS (pthread_key_delete, int, (pthread_key_t key)); # endif _GL_CXXALIASWARN (pthread_key_delete); #elif defined GNULIB_POSIXCHECK # undef pthread_key_delete # if HAVE_RAW_DECL_PTHREAD_KEY_DELETE _GL_WARN_ON_USE (pthread_key_delete, "pthread_key_delete is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif /* =========== Spinlock functions =========== */ #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_init # define pthread_spin_init rpl_pthread_spin_init # endif _GL_FUNCDECL_RPL (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes)); # else # if !@HAVE_PTHREAD_SPIN_INIT@ _GL_FUNCDECL_SYS (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes)); # endif _GL_CXXALIASWARN (pthread_spin_init); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_init # if HAVE_RAW_DECL_PTHREAD_SPIN_INIT _GL_WARN_ON_USE (pthread_spin_init, "pthread_spin_init is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_LOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_lock # define pthread_spin_lock rpl_pthread_spin_lock # endif _GL_FUNCDECL_RPL (pthread_spin_lock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_lock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_LOCK@ _GL_FUNCDECL_SYS (pthread_spin_lock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_lock, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_lock); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_lock # if HAVE_RAW_DECL_PTHREAD_SPIN_LOCK _GL_WARN_ON_USE (pthread_spin_lock, "pthread_spin_lock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_TRYLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_trylock # define pthread_spin_trylock rpl_pthread_spin_trylock # endif _GL_FUNCDECL_RPL (pthread_spin_trylock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_trylock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_TRYLOCK@ _GL_FUNCDECL_SYS (pthread_spin_trylock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_trylock, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_trylock); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_trylock # if HAVE_RAW_DECL_PTHREAD_SPIN_TRYLOCK _GL_WARN_ON_USE (pthread_spin_trylock, "pthread_spin_trylock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_unlock # define pthread_spin_unlock rpl_pthread_spin_unlock # endif _GL_FUNCDECL_RPL (pthread_spin_unlock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_unlock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_UNLOCK@ _GL_FUNCDECL_SYS (pthread_spin_unlock, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_unlock, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_unlock); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_unlock # if HAVE_RAW_DECL_PTHREAD_SPIN_UNLOCK _GL_WARN_ON_USE (pthread_spin_unlock, "pthread_spin_unlock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_destroy # define pthread_spin_destroy rpl_pthread_spin_destroy # endif _GL_FUNCDECL_RPL (pthread_spin_destroy, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_destroy, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_DESTROY@ _GL_FUNCDECL_SYS (pthread_spin_destroy, int, (pthread_spinlock_t *lock) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_destroy, int, (pthread_spinlock_t *lock)); # endif _GL_CXXALIASWARN (pthread_spin_destroy); #elif defined GNULIB_POSIXCHECK # undef pthread_spin_destroy # if HAVE_RAW_DECL_PTHREAD_SPIN_DESTROY _GL_WARN_ON_USE (pthread_spin_destroy, "pthread_spin_destroy is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_PTHREAD_H_ */ #endif /* _@GUARD_PREFIX@_PTHREAD_H_ */ #endif gsasl-1.8.1/lib/gltests/test-fseeko3.c0000644000000000000000000000240513516251667014451 00000000000000/* Test of fseeko() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2011. */ #include #include #include #include "macros.h" int main (int argc, char **argv) { int do_initial_ftell = atoi (argv[1]); const char *filename = argv[2]; FILE *fp = fopen (filename, "r"); ASSERT (fp != NULL); if (do_initial_ftell) { off_t pos = ftell (fp); ASSERT (pos == 0); } ASSERT (fseeko (fp, 0, SEEK_END) == 0); { off_t pos = ftell (fp); ASSERT (pos > 0); } ASSERT (fclose (fp) == 0); return 0; } gsasl-1.8.1/lib/gltests/test-nanosleep.c0000644000000000000000000000426313516251667015102 00000000000000/* Test of nanosleep() function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timespec *)); #include #include #include #include "macros.h" #if HAVE_DECL_ALARM static void handle_alarm (int sig) { if (sig != SIGALRM) _exit (1); } #endif int main (void) { struct timespec ts; ts.tv_sec = 1000; ts.tv_nsec = -1; errno = 0; ASSERT (nanosleep (&ts, NULL) == -1); ASSERT (errno == EINVAL); ts.tv_nsec = 1000000000; errno = 0; ASSERT (nanosleep (&ts, NULL) == -1); ASSERT (errno == EINVAL); ts.tv_sec = 0; ts.tv_nsec = 1; ASSERT (nanosleep (&ts, &ts) == 0); /* Remaining time is only defined on EINTR failure; but on success, it is typically either 0 or unchanged from input. At any rate, it shouldn't be randomly changed to unrelated values. */ ASSERT (ts.tv_sec == 0); ASSERT (ts.tv_nsec == 0 || ts.tv_nsec == 1); ts.tv_nsec = 0; ASSERT (nanosleep (&ts, NULL) == 0); #if HAVE_DECL_ALARM { const time_t pentecost = 50 * 24 * 60 * 60; /* 50 days. */ signal (SIGALRM, handle_alarm); alarm (1); ts.tv_sec = pentecost; ts.tv_nsec = 999999999; errno = 0; ASSERT (nanosleep (&ts, &ts) == -1); ASSERT (errno == EINTR); ASSERT (pentecost - 10 < ts.tv_sec && ts.tv_sec <= pentecost); ASSERT (0 <= ts.tv_nsec && ts.tv_nsec <= 999999999); } #endif return 0; } gsasl-1.8.1/lib/gltests/test-fflush2.c0000644000000000000000000000637213516251667014472 00000000000000/* Test of POSIX compatible fflush() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "binary-io.h" #include "macros.h" int main (int argc, char **argv) { int c; /* Avoid the well-known bugs of fflush() on streams in O_TEXT mode on native Windows platforms. */ set_binary_mode (0, O_BINARY); if (argc > 1) switch (argv[1][0]) { case '1': /* Check fflush after a backup ungetc() call. This is case 1a in terms of , according to the Austin Group's resolution on 2009-01-08. */ c = fgetc (stdin); ASSERT (c == '#'); c = fgetc (stdin); ASSERT (c == '!'); /* Here the file-position indicator must be 2. */ c = ungetc ('!', stdin); ASSERT (c == '!'); fflush (stdin); /* Here the file-position indicator must be 1. */ c = fgetc (stdin); ASSERT (c == '!'); c = fgetc (stdin); ASSERT (c == '/'); return 0; case '2': /* Check fflush after a non-backup ungetc() call. This is case 2a in terms of , according to the Austin Group's resolution on 2009-01-08. */ /* Check that fflush after a non-backup ungetc() call discards the ungetc buffer. This is mandated by POSIX : "The value of the file-position indicator for the stream after reading or discarding all pushed-back bytes shall be the same as it was before the bytes were pushed back." "[After fflush(),] the file offset of the underlying open file description shall be set to the file position of the stream, and any characters pushed back onto the stream by ungetc() or ungetwc() that have not subsequently been read from the stream shall be discarded." */ c = fgetc (stdin); ASSERT (c == '#'); c = fgetc (stdin); ASSERT (c == '!'); /* Here the file-position indicator must be 2. */ c = ungetc ('@', stdin); ASSERT (c == '@'); fflush (stdin); /* Here the file-position indicator must be 1. */ c = fgetc (stdin); ASSERT (c == '!'); c = fgetc (stdin); ASSERT (c == '/'); return 0; } return 1; } gsasl-1.8.1/lib/gltests/windows-thread.c0000644000000000000000000001507013516251670015070 00000000000000/* Creating and controlling threads (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-thread.h" #include #include #include #include "windows-once.h" #include "windows-tls.h" /* The Thread-Local Storage (TLS) key that allows to access each thread's 'struct glwthread_thread_struct *' pointer. */ static DWORD self_key = (DWORD)-1; /* Initializes self_key. This function must only be called once. */ static void do_init_self_key (void) { self_key = TlsAlloc (); /* If this fails, we're hosed. */ if (self_key == (DWORD)-1) abort (); } /* Initializes self_key. */ static void init_self_key (void) { static glwthread_once_t once = GLWTHREAD_ONCE_INIT; glwthread_once (&once, do_init_self_key); } /* This structure contains information about a thread. It is stored in TLS under key self_key. */ struct glwthread_thread_struct { /* Fields for managing the handle. */ HANDLE volatile handle; CRITICAL_SECTION handle_lock; /* Fields for managing the exit value. */ BOOL volatile detached; void * volatile result; /* Fields for managing the thread start. */ void * (*func) (void *); void *arg; }; /* Return a real HANDLE object for the current thread. */ static HANDLE get_current_thread_handle (void) { HANDLE this_handle; /* GetCurrentThread() returns a pseudo-handle, i.e. only a symbolic identifier, not a real handle. */ if (!DuplicateHandle (GetCurrentProcess (), GetCurrentThread (), GetCurrentProcess (), &this_handle, 0, FALSE, DUPLICATE_SAME_ACCESS)) abort (); return this_handle; } glwthread_thread_t glwthread_thread_self (void) { glwthread_thread_t thread; if (self_key == (DWORD)-1) init_self_key (); thread = TlsGetValue (self_key); if (thread == NULL) { /* This happens only in threads that have not been created through glthread_create(), such as the main thread. */ for (;;) { thread = (struct glwthread_thread_struct *) malloc (sizeof (struct glwthread_thread_struct)); if (thread != NULL) break; /* Memory allocation failed. There is not much we can do. Have to busy-loop, waiting for the availability of memory. */ Sleep (1); } thread->handle = get_current_thread_handle (); InitializeCriticalSection (&thread->handle_lock); thread->detached = FALSE; /* This can lead to a memory leak. */ thread->result = NULL; /* just to be deterministic */ TlsSetValue (self_key, thread); } return thread; } /* The main function of a freshly creating thread. It's a wrapper around the FUNC and ARG arguments passed to glthread_create_func. */ static unsigned int WINAPI wrapper_func (void *varg) { struct glwthread_thread_struct *thread = (struct glwthread_thread_struct *) varg; EnterCriticalSection (&thread->handle_lock); /* Create a new handle for the thread only if the parent thread did not yet fill in the handle. */ if (thread->handle == NULL) thread->handle = get_current_thread_handle (); LeaveCriticalSection (&thread->handle_lock); if (self_key == (DWORD)-1) init_self_key (); TlsSetValue (self_key, thread); /* Run the thread. Store the exit value if the thread was not terminated otherwise. */ thread->result = thread->func (thread->arg); /* Process the TLS destructors. */ glwthread_tls_process_destructors (); if (thread->detached) { /* Clean up the thread, like thrd_join would do. */ DeleteCriticalSection (&thread->handle_lock); CloseHandle (thread->handle); free (thread); } return 0; } int glwthread_thread_create (glwthread_thread_t *threadp, unsigned int attr, void * (*func) (void *), void *arg) { struct glwthread_thread_struct *thread = (struct glwthread_thread_struct *) malloc (sizeof (struct glwthread_thread_struct)); if (thread == NULL) return ENOMEM; thread->handle = NULL; InitializeCriticalSection (&thread->handle_lock); thread->detached = (attr & GLWTHREAD_ATTR_DETACHED ? TRUE : FALSE); thread->result = NULL; /* just to be deterministic */ thread->func = func; thread->arg = arg; { unsigned int thread_id; HANDLE thread_handle; thread_handle = (HANDLE) _beginthreadex (NULL, 100000, wrapper_func, thread, 0, &thread_id); /* calls CreateThread with the same arguments */ if (thread_handle == NULL) { DeleteCriticalSection (&thread->handle_lock); free (thread); return EAGAIN; } EnterCriticalSection (&thread->handle_lock); if (thread->handle == NULL) thread->handle = thread_handle; else /* thread->handle was already set by the thread itself. */ CloseHandle (thread_handle); LeaveCriticalSection (&thread->handle_lock); *threadp = thread; return 0; } } int glwthread_thread_join (glwthread_thread_t thread, void **retvalp) { if (thread == NULL) return EINVAL; if (thread == glwthread_thread_self ()) return EDEADLK; if (thread->detached) return EINVAL; if (WaitForSingleObject (thread->handle, INFINITE) == WAIT_FAILED) return EINVAL; if (retvalp != NULL) *retvalp = thread->result; DeleteCriticalSection (&thread->handle_lock); CloseHandle (thread->handle); free (thread); return 0; } int glwthread_thread_detach (glwthread_thread_t thread) { if (thread == NULL) return EINVAL; if (thread->detached) return EINVAL; thread->detached = TRUE; return 0; } int glwthread_thread_exit (void *retval) { glwthread_thread_t thread = glwthread_thread_self (); thread->result = retval; glwthread_tls_process_destructors (); _endthreadex (0); /* calls ExitThread (0) */ abort (); } gsasl-1.8.1/lib/gltests/test-symlink.c0000644000000000000000000000242313516251670014572 00000000000000/* Tests of symlink. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (symlink, int, (char const *, char const *)); #include #include #include #include #include #include #include "ignore-value.h" #include "macros.h" #define BASE "test-symlink.t" #include "test-symlink.h" int main (void) { /* Remove any leftovers from a previous partial run. */ ignore_value (system ("rm -rf " BASE "*")); return test_symlink (symlink, true); } gsasl-1.8.1/lib/gltests/test-ftello4.sh0000755000000000000000000000013213516251667014651 00000000000000#!/bin/sh ${CHECKER} ./test-ftello4${EXEEXT} "$srcdir/test-ftello4.sh" || exit 1 exit 0 gsasl-1.8.1/lib/gltests/strerror-override.c0000644000000000000000000002146613516251667015644 00000000000000/* strerror-override.c --- POSIX compatible system error routine Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2010. */ #include #include "strerror-override.h" #include #if GNULIB_defined_EWINSOCK /* native Windows platforms */ # if HAVE_WINSOCK2_H # include # endif #endif /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ const char * strerror_override (int errnum) { /* These error messages are taken from glibc/sysdeps/gnu/errlist.c. */ switch (errnum) { #if REPLACE_STRERROR_0 case 0: return "Success"; #endif #if GNULIB_defined_ESOCK /* native Windows platforms with older */ case EINPROGRESS: return "Operation now in progress"; case EALREADY: return "Operation already in progress"; case ENOTSOCK: return "Socket operation on non-socket"; case EDESTADDRREQ: return "Destination address required"; case EMSGSIZE: return "Message too long"; case EPROTOTYPE: return "Protocol wrong type for socket"; case ENOPROTOOPT: return "Protocol not available"; case EPROTONOSUPPORT: return "Protocol not supported"; case EOPNOTSUPP: return "Operation not supported"; case EAFNOSUPPORT: return "Address family not supported by protocol"; case EADDRINUSE: return "Address already in use"; case EADDRNOTAVAIL: return "Cannot assign requested address"; case ENETDOWN: return "Network is down"; case ENETUNREACH: return "Network is unreachable"; case ECONNRESET: return "Connection reset by peer"; case ENOBUFS: return "No buffer space available"; case EISCONN: return "Transport endpoint is already connected"; case ENOTCONN: return "Transport endpoint is not connected"; case ETIMEDOUT: return "Connection timed out"; case ECONNREFUSED: return "Connection refused"; case ELOOP: return "Too many levels of symbolic links"; case EHOSTUNREACH: return "No route to host"; case EWOULDBLOCK: return "Operation would block"; #endif #if GNULIB_defined_ESTREAMS /* native Windows platforms with older */ case ETXTBSY: return "Text file busy"; case ENODATA: return "No data available"; case ENOSR: return "Out of streams resources"; case ENOSTR: return "Device not a stream"; case ETIME: return "Timer expired"; case EOTHER: return "Other error"; #endif #if GNULIB_defined_EWINSOCK /* native Windows platforms */ case ESOCKTNOSUPPORT: return "Socket type not supported"; case EPFNOSUPPORT: return "Protocol family not supported"; case ESHUTDOWN: return "Cannot send after transport endpoint shutdown"; case ETOOMANYREFS: return "Too many references: cannot splice"; case EHOSTDOWN: return "Host is down"; case EPROCLIM: return "Too many processes"; case EUSERS: return "Too many users"; case EDQUOT: return "Disk quota exceeded"; case ESTALE: return "Stale NFS file handle"; case EREMOTE: return "Object is remote"; # if HAVE_WINSOCK2_H /* WSA_INVALID_HANDLE maps to EBADF */ /* WSA_NOT_ENOUGH_MEMORY maps to ENOMEM */ /* WSA_INVALID_PARAMETER maps to EINVAL */ case WSA_OPERATION_ABORTED: return "Overlapped operation aborted"; case WSA_IO_INCOMPLETE: return "Overlapped I/O event object not in signaled state"; case WSA_IO_PENDING: return "Overlapped operations will complete later"; /* WSAEINTR maps to EINTR */ /* WSAEBADF maps to EBADF */ /* WSAEACCES maps to EACCES */ /* WSAEFAULT maps to EFAULT */ /* WSAEINVAL maps to EINVAL */ /* WSAEMFILE maps to EMFILE */ /* WSAEWOULDBLOCK maps to EWOULDBLOCK */ /* WSAEINPROGRESS maps to EINPROGRESS */ /* WSAEALREADY maps to EALREADY */ /* WSAENOTSOCK maps to ENOTSOCK */ /* WSAEDESTADDRREQ maps to EDESTADDRREQ */ /* WSAEMSGSIZE maps to EMSGSIZE */ /* WSAEPROTOTYPE maps to EPROTOTYPE */ /* WSAENOPROTOOPT maps to ENOPROTOOPT */ /* WSAEPROTONOSUPPORT maps to EPROTONOSUPPORT */ /* WSAESOCKTNOSUPPORT is ESOCKTNOSUPPORT */ /* WSAEOPNOTSUPP maps to EOPNOTSUPP */ /* WSAEPFNOSUPPORT is EPFNOSUPPORT */ /* WSAEAFNOSUPPORT maps to EAFNOSUPPORT */ /* WSAEADDRINUSE maps to EADDRINUSE */ /* WSAEADDRNOTAVAIL maps to EADDRNOTAVAIL */ /* WSAENETDOWN maps to ENETDOWN */ /* WSAENETUNREACH maps to ENETUNREACH */ /* WSAENETRESET maps to ENETRESET */ /* WSAECONNABORTED maps to ECONNABORTED */ /* WSAECONNRESET maps to ECONNRESET */ /* WSAENOBUFS maps to ENOBUFS */ /* WSAEISCONN maps to EISCONN */ /* WSAENOTCONN maps to ENOTCONN */ /* WSAESHUTDOWN is ESHUTDOWN */ /* WSAETOOMANYREFS is ETOOMANYREFS */ /* WSAETIMEDOUT maps to ETIMEDOUT */ /* WSAECONNREFUSED maps to ECONNREFUSED */ /* WSAELOOP maps to ELOOP */ /* WSAENAMETOOLONG maps to ENAMETOOLONG */ /* WSAEHOSTDOWN is EHOSTDOWN */ /* WSAEHOSTUNREACH maps to EHOSTUNREACH */ /* WSAENOTEMPTY maps to ENOTEMPTY */ /* WSAEPROCLIM is EPROCLIM */ /* WSAEUSERS is EUSERS */ /* WSAEDQUOT is EDQUOT */ /* WSAESTALE is ESTALE */ /* WSAEREMOTE is EREMOTE */ case WSASYSNOTREADY: return "Network subsystem is unavailable"; case WSAVERNOTSUPPORTED: return "Winsock.dll version out of range"; case WSANOTINITIALISED: return "Successful WSAStartup not yet performed"; case WSAEDISCON: return "Graceful shutdown in progress"; case WSAENOMORE: case WSA_E_NO_MORE: return "No more results"; case WSAECANCELLED: case WSA_E_CANCELLED: return "Call was canceled"; case WSAEINVALIDPROCTABLE: return "Procedure call table is invalid"; case WSAEINVALIDPROVIDER: return "Service provider is invalid"; case WSAEPROVIDERFAILEDINIT: return "Service provider failed to initialize"; case WSASYSCALLFAILURE: return "System call failure"; case WSASERVICE_NOT_FOUND: return "Service not found"; case WSATYPE_NOT_FOUND: return "Class type not found"; case WSAEREFUSED: return "Database query was refused"; case WSAHOST_NOT_FOUND: return "Host not found"; case WSATRY_AGAIN: return "Nonauthoritative host not found"; case WSANO_RECOVERY: return "Nonrecoverable error"; case WSANO_DATA: return "Valid name, no data record of requested type"; /* WSA_QOS_* omitted */ # endif #endif #if GNULIB_defined_ENOMSG case ENOMSG: return "No message of desired type"; #endif #if GNULIB_defined_EIDRM case EIDRM: return "Identifier removed"; #endif #if GNULIB_defined_ENOLINK case ENOLINK: return "Link has been severed"; #endif #if GNULIB_defined_EPROTO case EPROTO: return "Protocol error"; #endif #if GNULIB_defined_EMULTIHOP case EMULTIHOP: return "Multihop attempted"; #endif #if GNULIB_defined_EBADMSG case EBADMSG: return "Bad message"; #endif #if GNULIB_defined_EOVERFLOW case EOVERFLOW: return "Value too large for defined data type"; #endif #if GNULIB_defined_ENOTSUP case ENOTSUP: return "Not supported"; #endif #if GNULIB_defined_ENETRESET case ENETRESET: return "Network dropped connection on reset"; #endif #if GNULIB_defined_ECONNABORTED case ECONNABORTED: return "Software caused connection abort"; #endif #if GNULIB_defined_ESTALE case ESTALE: return "Stale NFS file handle"; #endif #if GNULIB_defined_EDQUOT case EDQUOT: return "Disk quota exceeded"; #endif #if GNULIB_defined_ECANCELED case ECANCELED: return "Operation canceled"; #endif #if GNULIB_defined_EOWNERDEAD case EOWNERDEAD: return "Owner died"; #endif #if GNULIB_defined_ENOTRECOVERABLE case ENOTRECOVERABLE: return "State not recoverable"; #endif #if GNULIB_defined_EILSEQ case EILSEQ: return "Invalid or incomplete multibyte or wide character"; #endif default: return NULL; } } gsasl-1.8.1/lib/gltests/windows-thread.h0000644000000000000000000000431113516251670015071 00000000000000/* Creating and controlling threads (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_THREAD_H #define _WINDOWS_THREAD_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include /* The glwthread_thread_t is a pointer to a structure in memory. Why not the thread handle? If it were the thread handle, it would be hard to implement glwthread_thread_self() (since GetCurrentThread () returns a pseudo-handle, DuplicateHandle (GetCurrentThread ()) returns a handle that must be closed afterwards, and there is no function for quickly retrieving a thread handle from its id). Why not the thread id? I tried it. It did not work: Sometimes ids appeared that did not belong to running threads, and glthread_join failed with ESRCH. */ typedef struct glwthread_thread_struct *glwthread_thread_t; #ifdef __cplusplus extern "C" { #endif /* attr is a bit mask, consisting of the following bits: */ #define GLWTHREAD_ATTR_DETACHED 1 extern int glwthread_thread_create (glwthread_thread_t *threadp, unsigned int attr, void * (*func) (void *), void *arg); extern int glwthread_thread_join (glwthread_thread_t thread, void **retvalp); extern int glwthread_thread_detach (glwthread_thread_t thread); extern glwthread_thread_t glwthread_thread_self (void); extern int glwthread_thread_exit (void *retval); #ifdef __cplusplus } #endif #endif /* _WINDOWS_THREAD_H */ gsasl-1.8.1/lib/gltests/windows-recmutex.c0000644000000000000000000000650113516251670015454 00000000000000/* Plain recursive mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-recmutex.h" #include void glwthread_recmutex_init (glwthread_recmutex_t *mutex) { mutex->owner = 0; mutex->depth = 0; InitializeCriticalSection (&mutex->lock); mutex->guard.done = 1; } int glwthread_recmutex_lock (glwthread_recmutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_recmutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!mutex->guard.done) Sleep (0); } } { DWORD self = GetCurrentThreadId (); if (mutex->owner != self) { EnterCriticalSection (&mutex->lock); mutex->owner = self; } if (++(mutex->depth) == 0) /* wraparound? */ { mutex->depth--; return EAGAIN; } } return 0; } int glwthread_recmutex_trylock (glwthread_recmutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_recmutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Let another thread finish initializing this mutex, and let it also lock this mutex. */ return EBUSY; } } { DWORD self = GetCurrentThreadId (); if (mutex->owner != self) { if (!TryEnterCriticalSection (&mutex->lock)) return EBUSY; mutex->owner = self; } if (++(mutex->depth) == 0) /* wraparound? */ { mutex->depth--; return EAGAIN; } } return 0; } int glwthread_recmutex_unlock (glwthread_recmutex_t *mutex) { if (mutex->owner != GetCurrentThreadId ()) return EPERM; if (mutex->depth == 0) return EINVAL; if (--(mutex->depth) == 0) { mutex->owner = 0; LeaveCriticalSection (&mutex->lock); } return 0; } int glwthread_recmutex_destroy (glwthread_recmutex_t *mutex) { if (mutex->owner != 0) return EBUSY; DeleteCriticalSection (&mutex->lock); mutex->guard.done = 0; return 0; } gsasl-1.8.1/lib/gltests/fcntl.in.h0000644000000000000000000002373713516251666013667 00000000000000/* Like , but with non-working flags defined to 0. Copyright (C) 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Paul Eggert */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_system_fcntl_h /* Special invocation convention. */ /* Needed before . May also define off_t to a 64-bit type on native Windows. */ #include /* On some systems other than glibc, is a prerequisite of . On glibc systems, we would like to avoid namespace pollution. But on glibc systems, includes inside an extern "C" { ... } block, which leads to errors in C++ mode with the overridden from gnulib. These errors are known to be gone with g++ version >= 4.3. */ #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) # include #endif #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_FCNTL_H /* Needed before . May also define off_t to a 64-bit type on native Windows. */ #include /* On some systems other than glibc, is a prerequisite of . On glibc systems, we would like to avoid namespace pollution. But on glibc systems, includes inside an extern "C" { ... } block, which leads to errors in C++ mode with the overridden from gnulib. These errors are known to be gone with g++ version >= 4.3. */ #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) # include #endif /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ #ifndef _@GUARD_PREFIX@_FCNTL_H #define _@GUARD_PREFIX@_FCNTL_H #ifndef __GLIBC__ /* Avoid namespace pollution on glibc systems. */ # include #endif /* Native Windows platforms declare open(), creat() in . */ #if (@GNULIB_OPEN@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declare overridden functions. */ #if @GNULIB_FCNTL@ # if @REPLACE_FCNTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fcntl # define fcntl rpl_fcntl # endif _GL_FUNCDECL_RPL (fcntl, int, (int fd, int action, ...)); _GL_CXXALIAS_RPL (fcntl, int, (int fd, int action, ...)); # else # if !@HAVE_FCNTL@ _GL_FUNCDECL_SYS (fcntl, int, (int fd, int action, ...)); # endif _GL_CXXALIAS_SYS (fcntl, int, (int fd, int action, ...)); # endif _GL_CXXALIASWARN (fcntl); #elif defined GNULIB_POSIXCHECK # undef fcntl # if HAVE_RAW_DECL_FCNTL _GL_WARN_ON_USE (fcntl, "fcntl is not always POSIX compliant - " "use gnulib module fcntl for portability"); # endif #endif #if @GNULIB_OPEN@ # if @REPLACE_OPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef open # define open rpl_open # endif _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); # else _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); # endif /* On HP-UX 11, in C++ mode, open() is defined as an inline function with a default argument. _GL_CXXALIASWARN does not work in this case. */ # if !defined __hpux _GL_CXXALIASWARN (open); # endif #elif defined GNULIB_POSIXCHECK # undef open /* Assume open is always declared. */ _GL_WARN_ON_USE (open, "open is not always POSIX compliant - " "use gnulib module open for portability"); #endif #if @GNULIB_OPENAT@ # if @REPLACE_OPENAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef openat # define openat rpl_openat # endif _GL_FUNCDECL_RPL (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...)); # else # if !@HAVE_OPENAT@ _GL_FUNCDECL_SYS (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...)); # endif _GL_CXXALIASWARN (openat); #elif defined GNULIB_POSIXCHECK # undef openat # if HAVE_RAW_DECL_OPENAT _GL_WARN_ON_USE (openat, "openat is not portable - " "use gnulib module openat for portability"); # endif #endif /* Fix up the FD_* macros, only known to be missing on mingw. */ #ifndef FD_CLOEXEC # define FD_CLOEXEC 1 #endif /* Fix up the supported F_* macros. Intentionally leave other F_* macros undefined. Only known to be missing on mingw. */ #ifndef F_DUPFD_CLOEXEC # define F_DUPFD_CLOEXEC 0x40000000 /* Witness variable: 1 if gnulib defined F_DUPFD_CLOEXEC, 0 otherwise. */ # define GNULIB_defined_F_DUPFD_CLOEXEC 1 #else # define GNULIB_defined_F_DUPFD_CLOEXEC 0 #endif #ifndef F_DUPFD # define F_DUPFD 1 #endif #ifndef F_GETFD # define F_GETFD 2 #endif /* Fix up the O_* macros. */ /* AIX 7.1 with XL C 12.1 defines O_CLOEXEC, O_NOFOLLOW, and O_TTY_INIT to values outside 'int' range, so omit these misdefinitions. But avoid namespace pollution on non-AIX systems. */ #ifdef _AIX # include # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX) # undef O_CLOEXEC # endif # if defined O_NOFOLLOW && ! (INT_MIN <= O_NOFOLLOW && O_NOFOLLOW <= INT_MAX) # undef O_NOFOLLOW # endif # if defined O_TTY_INIT && ! (INT_MIN <= O_TTY_INIT && O_TTY_INIT <= INT_MAX) # undef O_TTY_INIT # endif #endif #if !defined O_DIRECT && defined O_DIRECTIO /* Tru64 spells it 'O_DIRECTIO'. */ # define O_DIRECT O_DIRECTIO #endif #if !defined O_CLOEXEC && defined O_NOINHERIT /* Mingw spells it 'O_NOINHERIT'. */ # define O_CLOEXEC O_NOINHERIT #endif #ifndef O_CLOEXEC # define O_CLOEXEC 0x40000000 /* Try to not collide with system O_* flags. */ # define GNULIB_defined_O_CLOEXEC 1 #else # define GNULIB_defined_O_CLOEXEC 0 #endif #ifndef O_DIRECT # define O_DIRECT 0 #endif #ifndef O_DIRECTORY # define O_DIRECTORY 0 #endif #ifndef O_DSYNC # define O_DSYNC 0 #endif #ifndef O_EXEC # define O_EXEC O_RDONLY /* This is often close enough in older systems. */ #endif #ifndef O_IGNORE_CTTY # define O_IGNORE_CTTY 0 #endif #ifndef O_NDELAY # define O_NDELAY 0 #endif #ifndef O_NOATIME # define O_NOATIME 0 #endif #ifndef O_NONBLOCK # define O_NONBLOCK O_NDELAY #endif /* If the gnulib module 'nonblocking' is in use, guarantee a working non-zero value of O_NONBLOCK. Otherwise, O_NONBLOCK is defined (above) to O_NDELAY or to 0 as fallback. */ #if @GNULIB_NONBLOCKING@ # if O_NONBLOCK # define GNULIB_defined_O_NONBLOCK 0 # else # define GNULIB_defined_O_NONBLOCK 1 # undef O_NONBLOCK # define O_NONBLOCK 0x40000000 # endif #endif #ifndef O_NOCTTY # define O_NOCTTY 0 #endif #ifndef O_NOFOLLOW # define O_NOFOLLOW 0 #endif #ifndef O_NOLINK # define O_NOLINK 0 #endif #ifndef O_NOLINKS # define O_NOLINKS 0 #endif #ifndef O_NOTRANS # define O_NOTRANS 0 #endif #ifndef O_RSYNC # define O_RSYNC 0 #endif #ifndef O_SEARCH # define O_SEARCH O_RDONLY /* This is often close enough in older systems. */ #endif #ifndef O_SYNC # define O_SYNC 0 #endif #ifndef O_TTY_INIT # define O_TTY_INIT 0 #endif #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) # undef O_ACCMODE # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) #endif /* For systems that distinguish between text and binary I/O. O_BINARY is usually declared in fcntl.h */ #if !defined O_BINARY && defined _O_BINARY /* For MSC-compatible compilers. */ # define O_BINARY _O_BINARY # define O_TEXT _O_TEXT #endif #if defined __BEOS__ || defined __HAIKU__ /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ # undef O_BINARY # undef O_TEXT #endif #ifndef O_BINARY # define O_BINARY 0 # define O_TEXT 0 #endif /* Fix up the AT_* macros. */ /* Work around a bug in Solaris 9 and 10: AT_FDCWD is positive. Its value exceeds INT_MAX, so its use as an int doesn't conform to the C standard, and GCC and Sun C complain in some cases. If the bug is present, undef AT_FDCWD here, so it can be redefined below. */ #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 # undef AT_FDCWD #endif /* Use the same bit pattern as Solaris 9, but with the proper signedness. The bit pattern is important, in case this actually is Solaris with the above workaround. */ #ifndef AT_FDCWD # define AT_FDCWD (-3041965) #endif /* Use the same values as Solaris 9. This shouldn't matter, but there's no real reason to differ. */ #ifndef AT_SYMLINK_NOFOLLOW # define AT_SYMLINK_NOFOLLOW 4096 #endif #ifndef AT_REMOVEDIR # define AT_REMOVEDIR 1 #endif /* Solaris 9 lacks these two, so just pick unique values. */ #ifndef AT_SYMLINK_FOLLOW # define AT_SYMLINK_FOLLOW 2 #endif #ifndef AT_EACCESS # define AT_EACCESS 4 #endif #endif /* _@GUARD_PREFIX@_FCNTL_H */ #endif /* _@GUARD_PREFIX@_FCNTL_H */ #endif gsasl-1.8.1/lib/gltests/pipe.c0000644000000000000000000000247513516251667013101 00000000000000/* Create a pipe. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Native Windows API. */ /* Get _pipe(). */ # include /* Get _O_BINARY. */ # include int pipe (int fd[2]) { /* Mingw changes fd to {-1,-1} on failure, but this violates http://austingroupbugs.net/view.php?id=467 */ int tmp[2]; int result = _pipe (tmp, 4096, _O_BINARY); if (!result) { fd[0] = tmp[0]; fd[1] = tmp[1]; } return result; } #else # error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." #endif gsasl-1.8.1/lib/gltests/socket.c0000644000000000000000000000256513516251667013434 00000000000000/* socket.c --- wrappers for Windows socket function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #include "sockets.h" int rpl_socket (int domain, int type, int protocol) { SOCKET fh; gl_sockets_startup (SOCKETS_1_1); /* We have to use WSASocket() to create non-overlapped IO sockets. Overlapped IO sockets cannot be used with read/write. */ fh = WSASocket (domain, type, protocol, NULL, 0, 0); if (fh == INVALID_SOCKET) { set_winsock_errno (); return -1; } else return SOCKET_TO_FD (fh); } gsasl-1.8.1/lib/gltests/warn-on-use.h0000644000000000000000000001351113516251670014307 00000000000000/* A C macro for emitting warnings if a function is used. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_WARN_ON_USE (function, "literal string") issues a declaration for FUNCTION which will then trigger a compiler warning containing the text of "literal string" anywhere that function is called, if supported by the compiler. If the compiler does not support this feature, the macro expands to an unused extern declaration. _GL_WARN_ON_USE_ATTRIBUTE ("literal string") expands to the attribute used in _GL_WARN_ON_USE. If the compiler does not support this feature, it expands to empty. These macros are useful for marking a function as a potential portability trap, with the intent that "literal string" include instructions on the replacement function that should be used instead. _GL_WARN_ON_USE is for functions with 'extern' linkage. _GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline' linkage. However, one of the reasons that a function is a portability trap is if it has the wrong signature. Declaring FUNCTION with a different signature in C is a compilation error, so this macro must use the same type as any existing declaration so that programs that avoid the problematic FUNCTION do not fail to compile merely because they included a header that poisoned the function. But this implies that _GL_WARN_ON_USE is only safe to use if FUNCTION is known to already have a declaration. Use of this macro implies that there must not be any other macro hiding the declaration of FUNCTION; but undefining FUNCTION first is part of the poisoning process anyway (although for symbols that are provided only via a macro, the result is a compilation error rather than a warning containing "literal string"). Also note that in C++, it is only safe to use if FUNCTION has no overloads. For an example, it is possible to poison 'getline' by: - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], [getline]) in configure.ac, which potentially defines HAVE_RAW_DECL_GETLINE - adding this code to a header that wraps the system : #undef getline #if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" "not universally present; use the gnulib module getline"); #endif It is not possible to directly poison global variables. But it is possible to write a wrapper accessor function, and poison that (less common usage, like &environ, will cause a compilation error rather than issue the nice warning, but the end result of informing the developer about their portability problem is still achieved): #if HAVE_RAW_DECL_ENVIRON static char *** rpl_environ (void) { return &environ; } _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); # undef environ # define environ (*rpl_environ ()) #endif or better (avoiding contradictory use of 'static' and 'extern'): #if HAVE_RAW_DECL_ENVIRON static char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is not always properly declared") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) #endif */ #ifndef _GL_WARN_ON_USE # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) /* A compiler attribute is available in gcc versions 4.3.0 and later. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function __attribute__ ((__warning__ (message))) # define _GL_WARN_ON_USE_ATTRIBUTE(message) \ __attribute__ ((__warning__ (message))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE(function, message) \ extern __typeof__ (function) function # define _GL_WARN_ON_USE_ATTRIBUTE(message) # else /* Unsupported. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # define _GL_WARN_ON_USE_ATTRIBUTE(message) # endif #endif /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") is like _GL_WARN_ON_USE (function, "string"), except that the function is declared with the given prototype, consisting of return type, parameters, and attributes. This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does not work in this case. */ #ifndef _GL_WARN_ON_USE_CXX # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes \ __attribute__ ((__warning__ (msg))) # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ extern rettype function parameters_and_attributes # else /* Unsupported. */ # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # endif #endif /* _GL_WARN_EXTERN_C declaration; performs the declaration with C linkage. */ #ifndef _GL_WARN_EXTERN_C # if defined __cplusplus # define _GL_WARN_EXTERN_C extern "C" # else # define _GL_WARN_EXTERN_C extern # endif #endif gsasl-1.8.1/lib/gltests/windows-mutex.h0000644000000000000000000000313413516251670014766 00000000000000/* Plain mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_MUTEX_H #define _WINDOWS_MUTEX_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" typedef struct { glwthread_initguard_t guard; /* protects the initialization */ CRITICAL_SECTION lock; } glwthread_mutex_t; #define GLWTHREAD_MUTEX_INIT { GLWTHREAD_INITGUARD_INIT } #ifdef __cplusplus extern "C" { #endif extern void glwthread_mutex_init (glwthread_mutex_t *mutex); extern int glwthread_mutex_lock (glwthread_mutex_t *mutex); extern int glwthread_mutex_trylock (glwthread_mutex_t *mutex); extern int glwthread_mutex_unlock (glwthread_mutex_t *mutex); extern int glwthread_mutex_destroy (glwthread_mutex_t *mutex); #ifdef __cplusplus } #endif #endif /* _WINDOWS_MUTEX_H */ gsasl-1.8.1/lib/gltests/test-fflush2.sh0000755000000000000000000000056713516251667014665 00000000000000#!/bin/sh # Execute the test only with seekable input stream. # The behaviour of fflush() on a non-seekable input stream is undefined. ${CHECKER} ./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $? ${CHECKER} ./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $? #cat "$srcdir/test-fflush2.sh" | ${CHECKER} ./test-fflush2${EXEEXT} || exit $? exit 0 gsasl-1.8.1/lib/gltests/test-c-ctype.c0000644000000000000000000001464413516251671014461 00000000000000/* Test of character handling in C locale. Copyright (C) 2005, 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #include #include "c-ctype.h" #include #include #include #include "macros.h" static void test_agree_with_C_locale (void) { int c; for (c = 0; c <= UCHAR_MAX; c++) { ASSERT (c_isascii (c) == (isascii (c) != 0)); if (c_isascii (c)) { ASSERT (c_isalnum (c) == (isalnum (c) != 0)); ASSERT (c_isalpha (c) == (isalpha (c) != 0)); ASSERT (c_isblank (c) == (isblank (c) != 0)); ASSERT (c_iscntrl (c) == (iscntrl (c) != 0)); ASSERT (c_isdigit (c) == (isdigit (c) != 0)); ASSERT (c_islower (c) == (islower (c) != 0)); ASSERT (c_isgraph (c) == (isgraph (c) != 0)); ASSERT (c_isprint (c) == (isprint (c) != 0)); ASSERT (c_ispunct (c) == (ispunct (c) != 0)); ASSERT (c_isspace (c) == (isspace (c) != 0)); ASSERT (c_isupper (c) == (isupper (c) != 0)); ASSERT (c_isxdigit (c) == (isxdigit (c) != 0)); ASSERT (c_tolower (c) == tolower (c)); ASSERT (c_toupper (c) == toupper (c)); } } } static void test_all (void) { int c; int n_isascii = 0; for (c = CHAR_MIN; c <= UCHAR_MAX; c++) { if (! (0 <= c && c <= CHAR_MAX)) { ASSERT (! c_isascii (c)); ASSERT (! c_isalnum (c)); ASSERT (! c_isalpha (c)); ASSERT (! c_isblank (c)); ASSERT (! c_iscntrl (c)); ASSERT (! c_isdigit (c)); ASSERT (! c_islower (c)); ASSERT (! c_isgraph (c)); ASSERT (! c_isprint (c)); ASSERT (! c_ispunct (c)); ASSERT (! c_isspace (c)); ASSERT (! c_isupper (c)); ASSERT (! c_isxdigit (c)); ASSERT (c_tolower (c) == c); ASSERT (c_toupper (c) == c); } n_isascii += c_isascii (c); #ifdef C_CTYPE_ASCII ASSERT (c_isascii (c) == (0 <= c && c <= 0x7f)); #endif ASSERT (c_isascii (c) == (c_isprint (c) || c_iscntrl (c))); ASSERT (c_isalnum (c) == (c_isalpha (c) || c_isdigit (c))); ASSERT (c_isalpha (c) == (c_islower (c) || c_isupper (c))); switch (c) { case '\t': case ' ': ASSERT (c_isblank (c) == 1); break; default: ASSERT (c_isblank (c) == 0); break; } #ifdef C_CTYPE_ASCII ASSERT (c_iscntrl (c) == ((c >= 0 && c < 0x20) || c == 0x7f)); #endif switch (c) { case '\a': case '\b': case '\f': case '\n': case '\r': case '\t': case '\v': ASSERT (c_iscntrl (c)); break; } ASSERT (! (c_iscntrl (c) && c_isprint (c))); switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': ASSERT (c_isdigit (c) == 1); break; default: ASSERT (c_isdigit (c) == 0); break; } switch (c) { case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': ASSERT (c_islower (c) == 1); ASSERT (c_toupper (c) == c - 'a' + 'A'); break; default: ASSERT (c_islower (c) == 0); ASSERT (c_toupper (c) == c); break; } #ifdef C_CTYPE_ASCII ASSERT (c_isgraph (c) == ((c >= 0x20 && c < 0x7f) && c != ' ')); ASSERT (c_isprint (c) == (c >= 0x20 && c < 0x7f)); #endif ASSERT (c_isgraph (c) == (c_isalnum (c) || c_ispunct (c))); ASSERT (c_isprint (c) == (c_isgraph (c) || c == ' ')); switch (c) { case '!': case '"': case '#': case '$': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case ':': case ';': case '<': case '=': case '>': case '?': case '@': case '[': case'\\': case ']': case '^': case '_': case '`': case '{': case '|': case '}': case '~': ASSERT (c_ispunct (c) == 1); break; default: ASSERT (c_ispunct (c) == 0); break; } switch (c) { case ' ': case '\t': case '\n': case '\v': case '\f': case '\r': ASSERT (c_isspace (c) == 1); break; default: ASSERT (c_isspace (c) == 0); break; } switch (c) { case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': ASSERT (c_isupper (c) == 1); ASSERT (c_tolower (c) == c - 'A' + 'a'); break; default: ASSERT (c_isupper (c) == 0); ASSERT (c_tolower (c) == c); break; } switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': ASSERT (c_isxdigit (c) == 1); break; default: ASSERT (c_isxdigit (c) == 0); break; } } ASSERT (n_isascii == 128); } int main () { test_agree_with_C_locale (); test_all (); setlocale (LC_ALL, "de_DE"); test_all (); setlocale (LC_ALL, "ja_JP.EUC-JP"); test_all (); return 0; } gsasl-1.8.1/lib/gltests/test-stdalign.c0000644000000000000000000000733213516251671014716 00000000000000/* Test of . Copyright 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paul Eggert, inspired by Bruno Haible's test-alignof.c. */ #include #include #include #include #include "verify.h" #include "macros.h" typedef long double longdouble; typedef struct { char a[1]; } struct1; typedef struct { char a[2]; } struct2; typedef struct { char a[3]; } struct3; typedef struct { char a[4]; } struct4; verify (__alignof_is_defined == 1); #ifndef alignof # error "alignof is not a macro" #endif #if __alignas_is_defined verify (__alignas_is_defined == 1); # ifndef alignas # error "alignas is not a macro" # endif /* mingw can go up only to 8. 8 is all that GNU Emacs needs, so let's limit the test to 8 for now. */ # define TEST_ALIGNMENT 8 #else # define _Alignas(alignment) # define alignas(alignment) # define TEST_ALIGNMENT 1 #endif #define CHECK_STATIC(type) \ typedef struct { char slot1; type slot2; } type##_helper; \ verify (alignof (type) == offsetof (type##_helper, slot2)); \ verify (_Alignof (type) == alignof (type)); \ const int type##_alignment = alignof (type); \ type alignas (TEST_ALIGNMENT) static_##type##_alignas; \ type _Alignas (TEST_ALIGNMENT) static_##type##_Alignas #define CHECK_ALIGNED(var) ASSERT ((uintptr_t) &(var) % TEST_ALIGNMENT == 0) CHECK_STATIC (char); CHECK_STATIC (short); CHECK_STATIC (int); CHECK_STATIC (long); #ifdef INT64_MAX CHECK_STATIC (int64_t); #endif CHECK_STATIC (float); CHECK_STATIC (double); /* CHECK_STATIC (longdouble); */ CHECK_STATIC (struct1); CHECK_STATIC (struct2); CHECK_STATIC (struct3); CHECK_STATIC (struct4); int main () { #if defined __SUNPRO_C /* Avoid a test failure due to Sun Studio Developer Bug Report #2125432. */ fputs ("Skipping test: known Sun C compiler bug\n", stderr); return 77; #elif defined __HP_cc && __ia64 /* Avoid a test failure due to HP-UX Itanium cc bug; see: https://lists.gnu.org/r/bug-gnulib/2017-03/msg00078.html */ fputs ("Skipping test: known HP-UX Itanium cc compiler bug\n", stderr); return 77; #else CHECK_ALIGNED (static_char_alignas); CHECK_ALIGNED (static_char_Alignas); CHECK_ALIGNED (static_short_alignas); CHECK_ALIGNED (static_short_Alignas); CHECK_ALIGNED (static_int_alignas); CHECK_ALIGNED (static_int_Alignas); CHECK_ALIGNED (static_long_alignas); CHECK_ALIGNED (static_long_Alignas); # ifdef INT64_MAX CHECK_ALIGNED (static_int64_t_alignas); CHECK_ALIGNED (static_int64_t_Alignas); # endif CHECK_ALIGNED (static_float_alignas); CHECK_ALIGNED (static_float_Alignas); CHECK_ALIGNED (static_double_alignas); CHECK_ALIGNED (static_double_Alignas); /* CHECK_ALIGNED (static_longdouble_alignas); */ /* CHECK_ALIGNED (static_longdouble_Alignas); */ CHECK_ALIGNED (static_struct1_alignas); CHECK_ALIGNED (static_struct1_Alignas); CHECK_ALIGNED (static_struct2_alignas); CHECK_ALIGNED (static_struct2_Alignas); CHECK_ALIGNED (static_struct3_alignas); CHECK_ALIGNED (static_struct3_Alignas); CHECK_ALIGNED (static_struct4_alignas); CHECK_ALIGNED (static_struct4_Alignas); return 0; #endif } gsasl-1.8.1/lib/gltests/test-gc.c0000644000000000000000000000175113516251671013501 00000000000000/* * Copyright (C) 2005-2006, 2010-2019 Free Software Foundation, Inc. * Written by Simon Josefsson * * 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 3, 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, see . */ #include #include "gc.h" #include #include int main (int argc, char *argv[]) { Gc_rc rc; rc = gc_init (); if (rc != GC_OK) { printf ("gc_init() failed\n"); return 1; } gc_done (); return 0; } gsasl-1.8.1/lib/gltests/pthread-thread.c0000644000000000000000000000754513516251667015043 00000000000000/* Creating and controlling POSIX threads. Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Paul Eggert, 2010, and Bruno Haible , 2019. */ #include /* Specification. */ #include #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # include "windows-thread.h" #else # include #endif typedef void * (* pthread_main_function_t) (void *); #if ((defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS) || !HAVE_PTHREAD_H int pthread_attr_init (pthread_attr_t *attr) { *attr = PTHREAD_CREATE_JOINABLE; return 0; } int pthread_attr_getdetachstate (pthread_attr_t *attr, int *detachstatep) { *detachstatep = *attr & (PTHREAD_CREATE_JOINABLE | PTHREAD_CREATE_DETACHED); return 0; } int pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate) { if (!(detachstate == PTHREAD_CREATE_JOINABLE || detachstate == PTHREAD_CREATE_DETACHED)) return EINVAL; *attr ^= (*attr ^ detachstate) & (PTHREAD_CREATE_JOINABLE | PTHREAD_CREATE_DETACHED); return 0; } int pthread_attr_destroy (pthread_attr_t *attr _GL_UNUSED) { return 0; } #endif #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS /* Use Windows threads. */ int pthread_create (pthread_t *threadp, const pthread_attr_t *attr, pthread_main_function_t mainfunc, void *arg) { unsigned int glwthread_attr = (attr != NULL && (*attr & (PTHREAD_CREATE_JOINABLE | PTHREAD_CREATE_DETACHED)) != PTHREAD_CREATE_JOINABLE ? GLWTHREAD_ATTR_DETACHED : 0); return glwthread_thread_create (threadp, glwthread_attr, mainfunc, arg); } pthread_t pthread_self (void) { return glwthread_thread_self (); } int pthread_equal (pthread_t thread1, pthread_t thread2) { return thread1 == thread2; } int pthread_detach (pthread_t thread) { return glwthread_thread_detach (thread); } int pthread_join (pthread_t thread, void **valuep) { return glwthread_thread_join (thread, valuep); } void pthread_exit (void *value) { glwthread_thread_exit (value); } #elif HAVE_PTHREAD_H /* Provide workarounds for POSIX threads. */ # if PTHREAD_CREATE_IS_INLINE int pthread_create (pthread_t *threadp, const pthread_attr_t *attr, pthread_main_function_t mainfunc, void *arg) # undef pthread_create { return pthread_create (threadp, attr, mainfunc, arg); } int pthread_attr_init (pthread_attr_t *attr) # undef pthread_attr_init { return pthread_attr_init (attr); } # endif #else /* Provide a dummy implementation for single-threaded applications. */ int pthread_create (pthread_t *threadp, const pthread_attr_t *attr, pthread_main_function_t mainfunc, void *arg) { /* The maximum number of threads is reached. Do not create a thread. */ return EAGAIN; } pthread_t pthread_self (void) { return 42; } int pthread_equal (pthread_t thread1, pthread_t thread2) { return thread1 == thread2; } int pthread_detach (pthread_t thread) { /* There are no joinable threads. */ return EINVAL; } int pthread_join (pthread_t thread, void **valuep) { /* There are no joinable threads. */ return EINVAL; } void pthread_exit (void *value) { /* There is just one thread, so the process exits. */ exit (0); } #endif gsasl-1.8.1/lib/gltests/test-sys_select.c0000644000000000000000000000336213516251670015264 00000000000000/* Test of substitute. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" /* The following may be macros without underlying functions, so only check signature if they are not macros. */ #ifndef FD_CLR SIGNATURE_CHECK (FD_CLR, void, (int, fd_set *)); #endif #ifndef FD_ISSET SIGNATURE_CHECK (FD_ISSET, void, (int, fd_set *)); #endif #ifndef FD_SET SIGNATURE_CHECK (FD_SET, int, (int, fd_set *)); #endif #ifndef FD_ZERO SIGNATURE_CHECK (FD_ZERO, void, (fd_set *)); #endif /* Check that the 'struct timeval' type is defined. */ struct timeval a; /* Check that a.tv_sec is wide enough to hold a time_t, ignoring signedness issues. */ typedef int verify_tv_sec_type[sizeof (time_t) <= sizeof (a.tv_sec) ? 1 : -1]; /* Check that sigset_t is defined. */ sigset_t t2; int main (void) { /* Check that FD_ZERO can be used. This should not yield a warning such as "warning: implicit declaration of function 'memset'". */ fd_set fds; FD_ZERO (&fds); return 0; } gsasl-1.8.1/lib/gltests/test-getdtablesize.c0000644000000000000000000000215113516251667015736 00000000000000/* Test of getdtablesize() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (getdtablesize, int, (void)); #include "macros.h" int main (int argc, char *argv[]) { ASSERT (getdtablesize () >= 3); ASSERT (dup2 (0, getdtablesize() - 1) == getdtablesize () - 1); ASSERT (dup2 (0, getdtablesize()) == -1); return 0; } gsasl-1.8.1/lib/gltests/test-fseeko.sh0000755000000000000000000000022113516251667014553 00000000000000#!/bin/sh ${CHECKER} ./test-fseeko${EXEEXT} 1 < "$srcdir/test-fseeko.sh" || exit 1 echo hi | ${CHECKER} ./test-fseeko${EXEEXT} || exit 1 exit 0 gsasl-1.8.1/lib/gltests/sys_resource.in.h0000644000000000000000000000612013516251667015272 00000000000000/* Substitute for . Copyright (C) 2012-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif @PRAGMA_COLUMNS@ #ifndef _@GUARD_PREFIX@_SYS_RESOURCE_H #if @HAVE_SYS_RESOURCE_H@ /* On FreeBSD 5.0, assumes prior inclusion of and . */ # include # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_RESOURCE_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_RESOURCE_H #define _@GUARD_PREFIX@_SYS_RESOURCE_H #if !@HAVE_SYS_RESOURCE_H@ /* A platform that lacks . */ /* Get 'struct timeval'. */ # include /* Define the RUSAGE_* constants. */ # define RUSAGE_SELF 0 # define RUSAGE_CHILDREN -1 # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_rusage /* All known platforms that lack also lack any declaration of struct rusage in any other header. */ struct rusage { struct timeval ru_utime; /* CPU time used in user mode */ struct timeval ru_stime; /* CPU time used in system mode (kernel) */ long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; # define GNULIB_defined_struct_rusage 1 # endif # ifdef __cplusplus } # endif #else # ifdef __VMS /* OpenVMS */ /* Define the RUSAGE_* constants. */ # ifndef RUSAGE_SELF # define RUSAGE_SELF 0 # endif # ifndef RUSAGE_CHILDREN # define RUSAGE_CHILDREN -1 # endif # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declare overridden functions. */ #if @GNULIB_GETRUSAGE@ # if !@HAVE_GETRUSAGE@ _GL_FUNCDECL_SYS (getrusage, int, (int who, struct rusage *usage_p) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (getrusage, int, (int who, struct rusage *usage_p)); _GL_CXXALIASWARN (getrusage); #elif defined GNULIB_POSIXCHECK # undef getrusage # if HAVE_RAW_DECL_GETRUSAGE _GL_WARN_ON_USE (getrusage, "getrusage is unportable - " "use gnulib module getrusage for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_RESOURCE_H */ #endif /* _@GUARD_PREFIX@_SYS_RESOURCE_H */ gsasl-1.8.1/lib/gltests/test-sys_resource.c0000644000000000000000000000302013516251670015623 00000000000000/* Test of substitute. Copyright (C) 2012-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include /* Check that necessary types are defined. */ #ifdef TODO /* Not implemented in gnulib yet */ rlim_t t1; struct rlimit t2; #endif struct rusage t3; #ifdef TODO struct timeval t4; id_t t5; time_t t10; suseconds_t t11; fd_set t12; #endif /* Check that the necessary constants are defined. */ #ifdef TODO /* Not implemented in gnulib yet */ int prios[] = { PRIO_PROCESS, PRIO_PGRP, PRIO_USER }; int rlims[] = { RLIM_INFINITY, RLIM_SAVED_MAX, RLIM_SAVED_CUR }; #endif int rusages[] = { RUSAGE_SELF, RUSAGE_CHILDREN }; #ifdef TODO int rlimits[] = { RLIMIT_CORE, RLIMIT_CPU, RLIMIT_DATA, RLIMIT_FSIZE, RLIMIT_NOFILE, RLIMIT_STACK, RLIMIT_AS }; #endif int main (void) { return 0; } gsasl-1.8.1/lib/gltests/getdtablesize.c0000644000000000000000000000654413516251666014772 00000000000000/* getdtablesize() function: Return maximum possible file descriptor value + 1. Copyright (C) 2008-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2008. 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 3 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, see . */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int _setmaxstdio_nothrow (int newmax) { int result; TRY_MSVC_INVAL { result = _setmaxstdio (newmax); } CATCH_MSVC_INVAL { result = -1; } DONE_MSVC_INVAL; return result; } # else # define _setmaxstdio_nothrow _setmaxstdio # endif /* Cache for the previous getdtablesize () result. Safe to cache because Windows also lacks setrlimit. */ static int dtablesize; int getdtablesize (void) { if (dtablesize == 0) { /* We are looking for the number N such that the valid file descriptors are 0..N-1. It can be obtained through a loop as follows: { int fd; for (fd = 3; fd < 65536; fd++) if (dup2 (0, fd) == -1) break; return fd; } On Windows XP, the result is 2048. The drawback of this loop is that it allocates memory for a libc internal array that is never freed. The number N can also be obtained as the upper bound for _getmaxstdio (). _getmaxstdio () returns the maximum number of open FILE objects. The sanity check in _setmaxstdio reveals the maximum number of file descriptors. This too allocates memory, but it is freed when we call _setmaxstdio with the original value. */ int orig_max_stdio = _getmaxstdio (); unsigned int bound; for (bound = 0x10000; _setmaxstdio_nothrow (bound) < 0; bound = bound / 2) ; _setmaxstdio_nothrow (orig_max_stdio); dtablesize = bound; } return dtablesize; } #else # include # include # ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY # endif # ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY # endif # ifdef __CYGWIN__ /* Cygwin 1.7.25 auto-increases the RLIMIT_NOFILE soft limit until it hits the compile-time constant hard limit of 3200. We might as well just report the hard limit. */ # define rlim_cur rlim_max # endif int getdtablesize (void) { struct rlimit lim; if (getrlimit (RLIMIT_NOFILE, &lim) == 0 && 0 <= lim.rlim_cur && lim.rlim_cur <= INT_MAX && lim.rlim_cur != RLIM_INFINITY && lim.rlim_cur != RLIM_SAVED_CUR && lim.rlim_cur != RLIM_SAVED_MAX) return lim.rlim_cur; return INT_MAX; } #endif gsasl-1.8.1/lib/gltests/windows-tls.h0000644000000000000000000000266413516251670014435 00000000000000/* Thread-local storage (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2005. */ #ifndef _WINDOWS_TLS_H #define _WINDOWS_TLS_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef DWORD glwthread_tls_key_t; #ifdef __cplusplus extern "C" { #endif extern int glwthread_tls_key_create (glwthread_tls_key_t *keyp, void (*destructor) (void *)); extern void *glwthread_tls_get (glwthread_tls_key_t key); extern int glwthread_tls_set (glwthread_tls_key_t key, void *value); extern int glwthread_tls_key_delete (glwthread_tls_key_t key); extern void glwthread_tls_process_destructors (void); #define GLWTHREAD_DESTRUCTOR_ITERATIONS 4 #ifdef __cplusplus } #endif #endif /* _WINDOWS_TLS_H */ gsasl-1.8.1/lib/gltests/test-symlink.h0000644000000000000000000000607113516251670014602 00000000000000/* Tests of symlink. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ /* This file is designed to test both symlink(a,b) and symlinkat(a,AT_FDCWD,b). FUNC is the function to test. Assumes that BASE and ASSERT are already defined, and that appropriate headers are already included. If PRINT, warn before skipping symlink tests with status 77. */ static int test_symlink (int (*func) (char const *, char const *), bool print) { if (func ("nowhere", BASE "link1")) { if (print) fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; } /* Some systems allow the creation of 0-length symlinks as a synonym for "."; but most reject it. */ { int status; errno = 0; status = func ("", BASE "link2"); if (status == -1) ASSERT (errno == ENOENT || errno == EINVAL); else { ASSERT (status == 0); ASSERT (unlink (BASE "link2") == 0); } } /* Sanity checks of failures. */ errno = 0; ASSERT (func ("nowhere", "") == -1); ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("nowhere", ".") == -1); ASSERT (errno == EEXIST || errno == EINVAL); errno = 0; ASSERT (func ("somewhere", BASE "link1") == -1); ASSERT (errno == EEXIST); errno = 0; ASSERT (func ("nowhere", BASE "link2/") == -1); ASSERT (errno == ENOTDIR || errno == ENOENT); ASSERT (mkdir (BASE "dir", 0700) == 0); errno = 0; ASSERT (func ("nowhere", BASE "dir") == -1); ASSERT (errno == EEXIST); errno = 0; ASSERT (func ("nowhere", BASE "dir/") == -1); ASSERT (errno == EEXIST || errno == EINVAL); ASSERT (close (creat (BASE "file", 0600)) == 0); errno = 0; ASSERT (func ("nowhere", BASE "file") == -1); ASSERT (errno == EEXIST); errno = 0; ASSERT (func ("nowhere", BASE "file/") == -1); ASSERT (errno == EEXIST || errno == ENOTDIR || errno == ENOENT); /* Trailing slash must always be rejected. */ ASSERT (unlink (BASE "link1") == 0); ASSERT (func (BASE "link2", BASE "link1") == 0); errno = 0; ASSERT (func (BASE "nowhere", BASE "link1/") == -1); ASSERT (errno == EEXIST || errno == ENOTDIR || errno == ENOENT); errno = 0; ASSERT (unlink (BASE "link2") == -1); ASSERT (errno == ENOENT); /* Cleanup. */ ASSERT (rmdir (BASE "dir") == 0); ASSERT (unlink (BASE "file") == 0); ASSERT (unlink (BASE "link1") == 0); return 0; } gsasl-1.8.1/lib/gltests/test-inet_pton.c0000644000000000000000000000333013516251667015107 00000000000000/* Test of inet_pton function. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (inet_pton, int, (int, const char *, void *)); #include #include #include "macros.h" int main (void) { #if defined AF_INET /* HAVE_IPV4 */ { /* This machine was for a long time known as ma2s2.mathematik.uni-karlsruhe.de. */ const char printable[] = "129.13.115.2"; struct in_addr internal; int ret; ret = inet_pton (AF_INET, printable, &internal); ASSERT (ret == 1); /* Verify that internal is filled in network byte order. */ ASSERT (((unsigned char *) &internal)[0] == 0x81); ASSERT (((unsigned char *) &internal)[1] == 0x0D); ASSERT (((unsigned char *) &internal)[2] == 0x73); ASSERT (((unsigned char *) &internal)[3] == 0x02); # ifdef WORDS_BIGENDIAN ASSERT (internal.s_addr == 0x810D7302); # else ASSERT (internal.s_addr == 0x02730D81); # endif } #endif return 0; } gsasl-1.8.1/lib/gltests/strerror-override.h0000644000000000000000000000374413516251667015650 00000000000000/* strerror-override.h --- POSIX compatible system error routine Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _GL_STRERROR_OVERRIDE_H # define _GL_STRERROR_OVERRIDE_H # include # include /* Reasonable buffer size that should never trigger ERANGE; if this proves too small, we intentionally abort(), to remind us to fix this value. */ # define STACKBUF_LEN 256 /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ # if REPLACE_STRERROR_0 \ || GNULIB_defined_ESOCK \ || GNULIB_defined_ESTREAMS \ || GNULIB_defined_EWINSOCK \ || GNULIB_defined_ENOMSG \ || GNULIB_defined_EIDRM \ || GNULIB_defined_ENOLINK \ || GNULIB_defined_EPROTO \ || GNULIB_defined_EMULTIHOP \ || GNULIB_defined_EBADMSG \ || GNULIB_defined_EOVERFLOW \ || GNULIB_defined_ENOTSUP \ || GNULIB_defined_ENETRESET \ || GNULIB_defined_ECONNABORTED \ || GNULIB_defined_ESTALE \ || GNULIB_defined_EDQUOT \ || GNULIB_defined_ECANCELED \ || GNULIB_defined_EOWNERDEAD \ || GNULIB_defined_ENOTRECOVERABLE \ || GNULIB_defined_EILSEQ extern const char *strerror_override (int errnum) _GL_ATTRIBUTE_CONST; # else # define strerror_override(ignored) NULL # endif #endif /* _GL_STRERROR_OVERRIDE_H */ gsasl-1.8.1/lib/gltests/test-memmem.c0000644000000000000000000002222013516251671014357 00000000000000/* * Copyright (C) 2004, 2007-2019 Free Software Foundation, Inc. * Written by Bruno Haible and Eric Blake * * 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 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (memmem, void *, (void const *, size_t, void const *, size_t)); #include #include #include #include "zerosize-ptr.h" #include "macros.h" int main (int argc, char *argv[]) { #if HAVE_DECL_ALARM /* Declare failure if test takes too long, by using default abort caused by SIGALRM. All known platforms that lack alarm also lack memmem, and the replacement memmem is known to not take too long. */ int alarm_value = 100; signal (SIGALRM, SIG_DFL); alarm (alarm_value); #endif { const char input[] = "foo"; const char *result = memmem (input, strlen (input), "", 0); ASSERT (result == input); } { const char input[] = "foo"; const char *result = memmem (input, strlen (input), "o", 1); ASSERT (result == input + 1); } { const char input[] = "ABC ABCDAB ABCDABCDABDE"; const char *result = memmem (input, strlen (input), "ABCDABD", 7); ASSERT (result == input + 15); } { const char input[] = "ABC ABCDAB ABCDABCDABDE"; const char *result = memmem (input, strlen (input), "ABCDABE", 7); ASSERT (result == NULL); } { const char input[] = "ABC ABCDAB ABCDABCDABDE"; const char *result = memmem (input, strlen (input), "ABCDABCD", 8); ASSERT (result == input + 11); } /* Check that length 0 does not dereference the pointer. */ { const char *result = memmem (zerosize_ptr (), 0, "foo", 3); ASSERT (result == NULL); } { const char input[] = "foo"; const char *result = memmem (input, strlen (input), zerosize_ptr (), 0); ASSERT (result == input); } /* Check that a long periodic needle does not cause false positives. */ { const char input[] = ("F_BD_CE_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD" "_C3_88_20_EF_BF_BD_EF_BF_BD_EF_BF_BD" "_C3_A7_20_EF_BF_BD"); const char need[] = "_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD"; const char *result = memmem (input, strlen (input), need, strlen (need)); ASSERT (result == NULL); } { const char input[] = ("F_BD_CE_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD" "_C3_88_20_EF_BF_BD_EF_BF_BD_EF_BF_BD" "_C3_A7_20_EF_BF_BD_DA_B5_C2_A6_20" "_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD"); const char need[] = "_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD_EF_BF_BD"; const char *result = memmem (input, strlen (input), need, strlen (need)); ASSERT (result == input + 115); } /* Check that a very long haystack is handled quickly if the needle is short and occurs near the beginning. */ { size_t repeat = 10000; size_t m = 1000000; const char *needle = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; size_t n = strlen (needle); char *haystack = (char *) malloc (m + 1); if (haystack != NULL) { memset (haystack, 'A', m); haystack[0] = 'B'; for (; repeat > 0; repeat--) { ASSERT (memmem (haystack, m, needle, n) == haystack + 1); } free (haystack); } } /* Check that a very long needle is discarded quickly if the haystack is short. */ { size_t repeat = 10000; size_t m = 1000000; const char *haystack = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" "ABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABAB"; size_t n = strlen (haystack); char *needle = (char *) malloc (m + 1); if (needle != NULL) { memset (needle, 'A', m); for (; repeat > 0; repeat--) { ASSERT (memmem (haystack, n, needle, m) == NULL); } free (needle); } } /* Check that the asymptotic worst-case complexity is not quadratic. */ { size_t m = 1000000; char *haystack = (char *) malloc (2 * m + 1); char *needle = (char *) malloc (m + 1); if (haystack != NULL && needle != NULL) { const char *result; memset (haystack, 'A', 2 * m); haystack[2 * m] = 'B'; memset (needle, 'A', m); needle[m] = 'B'; result = memmem (haystack, 2 * m + 1, needle, m + 1); ASSERT (result == haystack + m); } free (needle); free (haystack); } /* Check that long needles not present in a haystack can be handled with sublinear speed. */ { size_t repeat = 10000; size_t m = 1000000; size_t n = 1000; char *haystack = (char *) malloc (m); char *needle = (char *) malloc (n); if (haystack != NULL && needle != NULL) { const char *result; memset (haystack, 'A', m); memset (needle, 'B', n); for (; repeat > 0; repeat--) { result = memmem (haystack, m, needle, n); ASSERT (result == NULL); } } free (haystack); free (needle); } { /* Ensure that with a barely periodic "short" needle, memmem's search does not mistakenly skip just past the match point. This use of memmem would mistakenly return NULL before gnulib v0.0-4927. */ const char *haystack = "\n" "with_build_libsubdir\n" "with_local_prefix\n" "with_gxx_include_dir\n" "with_cpp_install_dir\n" "enable_generated_files_in_srcdir\n" "with_gnu_ld\n" "with_ld\n" "with_demangler_in_ld\n" "with_gnu_as\n" "with_as\n" "enable_largefile\n" "enable_werror_always\n" "enable_checking\n" "enable_coverage\n" "enable_gather_detailed_mem_stats\n" "enable_build_with_cxx\n" "with_stabs\n" "enable_multilib\n" "enable___cxa_atexit\n" "enable_decimal_float\n" "enable_fixed_point\n" "enable_threads\n" "enable_tls\n" "enable_objc_gc\n" "with_dwarf2\n" "enable_shared\n" "with_build_sysroot\n" "with_sysroot\n" "with_specs\n" "with_pkgversion\n" "with_bugurl\n" "enable_languages\n" "with_multilib_list\n"; const char *needle = "\n" "with_gnu_ld\n"; const char* p = memmem (haystack, strlen (haystack), needle, strlen (needle)); ASSERT (p - haystack == 114); } { /* Same bug, shorter trigger. */ const char *haystack = "..wi.d."; const char *needle = ".d."; const char* p = memmem (haystack, strlen (haystack), needle, strlen (needle)); ASSERT (p - haystack == 4); } { /* Like the above, but trigger the flaw in two_way_long_needle by using a needle of length LONG_NEEDLE_THRESHOLD (32) or greater. Rather than trying to find the right alignment manually, I've arbitrarily chosen the following needle and template for the haystack, and ensure that for each placement of the needle in that haystack, memmem finds it. */ const char *needle = "\nwith_gnu_ld-extend-to-len-32-b\n"; const char *h = "\n" "with_build_libsubdir\n" "with_local_prefix\n" "with_gxx_include_dir\n" "with_cpp_install_dir\n" "with_e_\n" "..............................\n" "with_FGHIJKLMNOPQRSTUVWXYZ\n" "with_567890123456789\n" "with_multilib_list\n"; size_t h_len = strlen (h); char *haystack = malloc (h_len + 1); size_t i; ASSERT (haystack); for (i = 0; i < h_len - strlen (needle); i++) { const char *p; memcpy (haystack, h, h_len + 1); memcpy (haystack + i, needle, strlen (needle) + 1); p = memmem (haystack, strlen (haystack), needle, strlen (needle)); ASSERT (p); ASSERT (p - haystack == i); } free (haystack); } /* Test long needles. */ { size_t m = 1024; char *haystack = (char *) malloc (2 * m + 1); char *needle = (char *) malloc (m + 1); if (haystack != NULL && needle != NULL) { const char *p; haystack[0] = 'x'; memset (haystack + 1, ' ', m - 1); memset (haystack + m, 'x', m); haystack[2 * m] = '\0'; memset (needle, 'x', m); needle[m] = '\0'; p = memmem (haystack, strlen (haystack), needle, strlen (needle)); ASSERT (p); ASSERT (p - haystack == m); } free (needle); free (haystack); } return 0; } gsasl-1.8.1/lib/gltests/test-select.h0000644000000000000000000002641113516251667014401 00000000000000/* Test of select() substitute. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini, 2008. */ #include #include #include #include #include #include #include #include #include #include #include #include "macros.h" #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE #endif #ifdef HAVE_SYS_WAIT_H # include #endif #define TEST_PORT 12345 typedef int (*select_fn) (int, fd_set *, fd_set *, fd_set *, struct timeval *); /* Minimal testing infrastructure. */ static int failures; static void failed (const char *reason) { if (++failures > 1) printf (" "); printf ("failed (%s)\n", reason); } static int test (void (*fn) (select_fn), select_fn my_select, const char *msg) { failures = 0; printf ("%s... ", msg); fflush (stdout); fn (my_select); if (!failures) printf ("passed\n"); return failures; } /* Funny socket code. */ static int open_server_socket (void) { int s, x; struct sockaddr_in ia; s = socket (AF_INET, SOCK_STREAM, 0); x = 1; setsockopt (s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof (x)); memset (&ia, 0, sizeof (ia)); ia.sin_family = AF_INET; inet_pton (AF_INET, "127.0.0.1", &ia.sin_addr); ia.sin_port = htons (TEST_PORT); if (bind (s, (struct sockaddr *) &ia, sizeof (ia)) < 0) { perror ("bind"); exit (77); } if (listen (s, 1) < 0) { perror ("listen"); exit (77); } return s; } static int connect_to_socket (bool blocking) { int s; struct sockaddr_in ia; s = socket (AF_INET, SOCK_STREAM, 0); memset (&ia, 0, sizeof (ia)); ia.sin_family = AF_INET; inet_pton (AF_INET, "127.0.0.1", &ia.sin_addr); ia.sin_port = htons (TEST_PORT); if (!blocking) { #ifdef WINDOWS_NATIVE unsigned long iMode = 1; ioctl (s, FIONBIO, (char *) &iMode); #elif defined F_GETFL int oldflags = fcntl (s, F_GETFL, NULL); if (!(oldflags & O_NONBLOCK)) fcntl (s, F_SETFL, oldflags | O_NONBLOCK); #endif } if (connect (s, (struct sockaddr *) &ia, sizeof (ia)) < 0 && (blocking || errno != EINPROGRESS)) { perror ("connect"); exit (77); } return s; } /* A slightly more convenient interface to select(2). Waits until a specific event occurs on a file descriptor FD. EV is a bit mask of events to look for: SEL_IN - input can be polled without blocking, SEL_OUT - output can be provided without blocking, SEL_EXC - an exception occurred, A maximum wait time is specified by TIMEOUT. *TIMEOUT = { 0, 0 } means to return immediately, TIMEOUT = NULL means to wait indefinitely. */ enum { SEL_IN = 1, SEL_OUT = 2, SEL_EXC = 4 }; static int do_select (int fd, int ev, struct timeval *timeout, select_fn my_select) { fd_set rfds, wfds, xfds; int r, rev; FD_ZERO (&rfds); FD_ZERO (&wfds); FD_ZERO (&xfds); if (ev & SEL_IN) FD_SET (fd, &rfds); if (ev & SEL_OUT) FD_SET (fd, &wfds); if (ev & SEL_EXC) FD_SET (fd, &xfds); r = my_select (fd + 1, &rfds, &wfds, &xfds, timeout); if (r < 0) return r; rev = 0; if (FD_ISSET (fd, &rfds)) rev |= SEL_IN; if (FD_ISSET (fd, &wfds)) rev |= SEL_OUT; if (FD_ISSET (fd, &xfds)) rev |= SEL_EXC; if (rev && r == 0) failed ("select returned 0"); if (rev & ~ev) failed ("select returned unrequested events"); return rev; } static int do_select_nowait (int fd, int ev, select_fn my_select) { struct timeval tv0; tv0.tv_sec = 0; tv0.tv_usec = 0; return do_select (fd, ev, &tv0, my_select); } static int do_select_wait (int fd, int ev, select_fn my_select) { return do_select (fd, ev, NULL, my_select); } /* Test select(2) for TTYs. */ #ifdef INTERACTIVE static void test_tty (select_fn my_select) { if (do_select_nowait (0, SEL_IN, my_select) != 0) failed ("can read"); if (do_select_nowait (0, SEL_OUT, my_select) == 0) failed ("cannot write"); if (do_select_wait (0, SEL_IN, my_select) == 0) failed ("return with infinite timeout"); getchar (); if (do_select_nowait (0, SEL_IN, my_select) != 0) failed ("can read after getc"); } #endif static int do_select_bad_nfd_nowait (int nfd, select_fn my_select) { struct timeval tv0; tv0.tv_sec = 0; tv0.tv_usec = 0; errno = 0; return my_select (nfd, NULL, NULL, NULL, &tv0); } static void test_bad_nfd (select_fn my_select) { if (do_select_bad_nfd_nowait (-1, my_select) != -1 || errno != EINVAL) failed ("invalid errno after negative nfds"); /* Can't test FD_SETSIZE + 1 for EINVAL, since some systems allow dynamically larger set size by redefining FD_SETSIZE anywhere up to the actual maximum fd. */ #if 0 if (do_select_bad_nfd_nowait (FD_SETSIZE + 1, my_select) != -1 || errno != EINVAL) failed ("invalid errno after bogus nfds"); #endif } /* Test select(2) on invalid file descriptors. */ static int do_select_bad_fd (int fd, int ev, struct timeval *timeout, select_fn my_select) { fd_set rfds, wfds, xfds; FD_ZERO (&rfds); FD_ZERO (&wfds); FD_ZERO (&xfds); if (ev & SEL_IN) FD_SET (fd, &rfds); if (ev & SEL_OUT) FD_SET (fd, &wfds); if (ev & SEL_EXC) FD_SET (fd, &xfds); errno = 0; return my_select (fd + 1, &rfds, &wfds, &xfds, timeout); /* In this case, when fd is invalid, on some platforms, the bit for fd is left alone in the fd_set, whereas on other platforms it is cleared. So, don't check the bit for fd here. */ } static int do_select_bad_fd_nowait (int fd, int ev, select_fn my_select) { struct timeval tv0; tv0.tv_sec = 0; tv0.tv_usec = 0; return do_select_bad_fd (fd, ev, &tv0, my_select); } static void test_bad_fd (select_fn my_select) { /* This tests fails on OSF/1 and native Windows, even with fd = 16. */ #if !(defined __osf__ || defined WINDOWS_NATIVE) int fd; /* On Linux, Mac OS X, *BSD, values of fd like 99 or 399 are discarded by the kernel early and therefore do *not* lead to EBADF, as required by POSIX. */ # if defined __linux__ || (defined __APPLE__ && defined __MACH__) || (defined __FreeBSD__ || defined __DragonFly__) || defined __OpenBSD__ || defined __NetBSD__ fd = 14; # else fd = 99; # endif /* Even on the best POSIX compliant platforms, values of fd >= FD_SETSIZE require an nfds argument that is > FD_SETSIZE and thus may lead to EINVAL, not EBADF. */ if (fd >= FD_SETSIZE) fd = FD_SETSIZE - 1; close (fd); if (do_select_bad_fd_nowait (fd, SEL_IN, my_select) == 0 || errno != EBADF) failed ("invalid fd among rfds"); if (do_select_bad_fd_nowait (fd, SEL_OUT, my_select) == 0 || errno != EBADF) failed ("invalid fd among wfds"); if (do_select_bad_fd_nowait (fd, SEL_EXC, my_select) == 0 || errno != EBADF) failed ("invalid fd among xfds"); #endif } /* Test select(2) for unconnected nonblocking sockets. */ static void test_connect_first (select_fn my_select) { int s = open_server_socket (); struct sockaddr_in ia; socklen_t addrlen; int c1, c2; if (do_select_nowait (s, SEL_IN | SEL_EXC, my_select) != 0) failed ("can read, socket not connected"); c1 = connect_to_socket (false); if (do_select_wait (s, SEL_IN | SEL_EXC, my_select) != SEL_IN) failed ("expecting readability on passive socket"); if (do_select_nowait (s, SEL_IN | SEL_EXC, my_select) != SEL_IN) failed ("expecting readability on passive socket"); addrlen = sizeof (ia); c2 = accept (s, (struct sockaddr *) &ia, &addrlen); ASSERT (close (s) == 0); ASSERT (close (c1) == 0); ASSERT (close (c2) == 0); } /* Test select(2) for unconnected blocking sockets. */ static void test_accept_first (select_fn my_select) { #ifndef WINDOWS_NATIVE int s = open_server_socket (); struct sockaddr_in ia; socklen_t addrlen; char buf[3]; int c, pid; pid = fork (); if (pid < 0) return; if (pid == 0) { addrlen = sizeof (ia); c = accept (s, (struct sockaddr *) &ia, &addrlen); ASSERT (close (s) == 0); ASSERT (write (c, "foo", 3) == 3); ASSERT (read (c, buf, 3) == 3); shutdown (c, SHUT_RD); ASSERT (close (c) == 0); exit (0); } else { ASSERT (close (s) == 0); c = connect_to_socket (true); if (do_select_nowait (c, SEL_OUT, my_select) != SEL_OUT) failed ("cannot write after blocking connect"); ASSERT (write (c, "foo", 3) == 3); wait (&pid); if (do_select_wait (c, SEL_IN, my_select) != SEL_IN) failed ("cannot read data left in the socket by closed process"); ASSERT (read (c, buf, 3) == 3); ASSERT (write (c, "foo", 3) == 3); (void) close (c); /* may fail with errno = ECONNRESET */ } #endif } /* Common code for pipes and connected sockets. */ static void test_pair (int rd, int wd, select_fn my_select) { char buf[3]; if (do_select_wait (wd, SEL_IN | SEL_OUT | SEL_EXC, my_select) != SEL_OUT) failed ("expecting writability before writing"); if (do_select_nowait (wd, SEL_IN | SEL_OUT | SEL_EXC, my_select) != SEL_OUT) failed ("expecting writability before writing"); ASSERT (write (wd, "foo", 3) == 3); if (do_select_wait (rd, SEL_IN, my_select) != SEL_IN) failed ("expecting readability after writing"); if (do_select_nowait (rd, SEL_IN, my_select) != SEL_IN) failed ("expecting readability after writing"); ASSERT (read (rd, buf, 3) == 3); } /* Test select(2) on connected sockets. */ static void test_socket_pair (select_fn my_select) { struct sockaddr_in ia; socklen_t addrlen = sizeof (ia); int s = open_server_socket (); int c1 = connect_to_socket (false); int c2 = accept (s, (struct sockaddr *) &ia, &addrlen); ASSERT (close (s) == 0); test_pair (c1, c2, my_select); ASSERT (close (c1) == 0); ASSERT (write (c2, "foo", 3) == 3); (void) close (c2); /* may fail with errno = ECONNRESET */ } /* Test select(2) on pipes. */ static void test_pipe (select_fn my_select) { int fd[2]; ASSERT (pipe (fd) == 0); test_pair (fd[0], fd[1], my_select); ASSERT (close (fd[0]) == 0); ASSERT (close (fd[1]) == 0); } /* Do them all. */ static int test_function (select_fn my_select) { int result = 0; #ifdef INTERACTIVE printf ("Please press Enter\n"); test (test_tty, "TTY", my_select); #endif result += test (test_bad_nfd, my_select, "Invalid nfd test"); result += test (test_bad_fd, my_select, "Invalid fd test"); result += test (test_connect_first, my_select, "Unconnected socket test"); result += test (test_socket_pair, my_select, "Connected sockets test"); result += test (test_accept_first, my_select, "General socket test with fork"); result += test (test_pipe, my_select, "Pipe test"); return result; } gsasl-1.8.1/lib/gltests/test-errno.c0000644000000000000000000000555513516251671014243 00000000000000/* Test of substitute. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2008. */ #include #include /* Verify that the POSIX mandated errno values exist and can be used as initializers outside of a function. The variable names happen to match the Linux/x86 error numbers. */ int e1 = EPERM; int e2 = ENOENT; int e3 = ESRCH; int e4 = EINTR; int e5 = EIO; int e6 = ENXIO; int e7 = E2BIG; int e8 = ENOEXEC; int e9 = EBADF; int e10 = ECHILD; int e11 = EAGAIN; int e11a = EWOULDBLOCK; int e12 = ENOMEM; int e13 = EACCES; int e14 = EFAULT; int e16 = EBUSY; int e17 = EEXIST; int e18 = EXDEV; int e19 = ENODEV; int e20 = ENOTDIR; int e21 = EISDIR; int e22 = EINVAL; int e23 = ENFILE; int e24 = EMFILE; int e25 = ENOTTY; int e26 = ETXTBSY; int e27 = EFBIG; int e28 = ENOSPC; int e29 = ESPIPE; int e30 = EROFS; int e31 = EMLINK; int e32 = EPIPE; int e33 = EDOM; int e34 = ERANGE; int e35 = EDEADLK; int e36 = ENAMETOOLONG; int e37 = ENOLCK; int e38 = ENOSYS; int e39 = ENOTEMPTY; int e40 = ELOOP; int e42 = ENOMSG; int e43 = EIDRM; int e67 = ENOLINK; int e71 = EPROTO; int e72 = EMULTIHOP; int e74 = EBADMSG; int e75 = EOVERFLOW; int e84 = EILSEQ; int e88 = ENOTSOCK; int e89 = EDESTADDRREQ; int e90 = EMSGSIZE; int e91 = EPROTOTYPE; int e92 = ENOPROTOOPT; int e93 = EPROTONOSUPPORT; int e95 = EOPNOTSUPP; int e95a = ENOTSUP; int e97 = EAFNOSUPPORT; int e98 = EADDRINUSE; int e99 = EADDRNOTAVAIL; int e100 = ENETDOWN; int e101 = ENETUNREACH; int e102 = ENETRESET; int e103 = ECONNABORTED; int e104 = ECONNRESET; int e105 = ENOBUFS; int e106 = EISCONN; int e107 = ENOTCONN; int e110 = ETIMEDOUT; int e111 = ECONNREFUSED; int e113 = EHOSTUNREACH; int e114 = EALREADY; int e115 = EINPROGRESS; int e116 = ESTALE; int e122 = EDQUOT; int e125 = ECANCELED; int e130 = EOWNERDEAD; int e131 = ENOTRECOVERABLE; /* Don't verify that these errno values are all different, except for possibly EWOULDBLOCK == EAGAIN. Even Linux/x86 does not pass this check: it has ENOTSUP == EOPNOTSUPP. */ int main () { /* Verify that errno can be assigned. */ errno = EOVERFLOW; /* snprintf() callers want to distinguish EINVAL and EOVERFLOW. */ if (errno == EINVAL) return 1; return 0; } gsasl-1.8.1/lib/gltests/getpagesize.c0000644000000000000000000000224613516251671014442 00000000000000/* getpagesize emulation for systems where it cannot be done in a C macro. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible and Martin Lambers. */ #include /* Specification. */ #include /* This implementation is only for native Windows systems. */ #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include int getpagesize (void) { SYSTEM_INFO system_info; GetSystemInfo (&system_info); return system_info.dwPageSize; } #endif gsasl-1.8.1/lib/gltests/sigprocmask.c0000644000000000000000000002060113516251667014455 00000000000000/* POSIX compatible signal blocking. Copyright (C) 2006-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2006. 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 3 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, see . */ #include /* Specification. */ #include #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif /* We assume that a platform without POSIX signal blocking functions also does not have the POSIX sigaction() function, only the signal() function. We also assume signal() has SysV semantics, where any handler is uninstalled prior to being invoked. This is true for native Windows platforms. */ /* We use raw signal(), but also provide a wrapper rpl_signal() so that applications can query or change a blocked signal. */ #undef signal /* Provide invalid signal numbers as fallbacks if the uncatchable signals are not defined. */ #ifndef SIGKILL # define SIGKILL (-1) #endif #ifndef SIGSTOP # define SIGSTOP (-1) #endif /* On native Windows, as of 2008, the signal SIGABRT_COMPAT is an alias for the signal SIGABRT. Only one signal handler is stored for both SIGABRT and SIGABRT_COMPAT. SIGABRT_COMPAT is not a signal of its own. */ #if defined _WIN32 && ! defined __CYGWIN__ # undef SIGABRT_COMPAT # define SIGABRT_COMPAT 6 #endif #ifdef SIGABRT_COMPAT # define SIGABRT_COMPAT_MASK (1U << SIGABRT_COMPAT) #else # define SIGABRT_COMPAT_MASK 0 #endif typedef void (*handler_t) (int); #if HAVE_MSVC_INVALID_PARAMETER_HANDLER static handler_t signal_nothrow (int sig, handler_t handler) { handler_t result; TRY_MSVC_INVAL { result = signal (sig, handler); } CATCH_MSVC_INVAL { result = SIG_ERR; errno = EINVAL; } DONE_MSVC_INVAL; return result; } # define signal signal_nothrow #endif /* Handling of gnulib defined signals. */ #if GNULIB_defined_SIGPIPE static handler_t SIGPIPE_handler = SIG_DFL; #endif #if GNULIB_defined_SIGPIPE static handler_t ext_signal (int sig, handler_t handler) { switch (sig) { case SIGPIPE: { handler_t old_handler = SIGPIPE_handler; SIGPIPE_handler = handler; return old_handler; } default: /* System defined signal */ return signal (sig, handler); } } # undef signal # define signal ext_signal #endif int sigismember (const sigset_t *set, int sig) { if (sig >= 0 && sig < NSIG) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif return (*set >> sig) & 1; } else return 0; } int sigemptyset (sigset_t *set) { *set = 0; return 0; } int sigaddset (sigset_t *set, int sig) { if (sig >= 0 && sig < NSIG) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif *set |= 1U << sig; return 0; } else { errno = EINVAL; return -1; } } int sigdelset (sigset_t *set, int sig) { if (sig >= 0 && sig < NSIG) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif *set &= ~(1U << sig); return 0; } else { errno = EINVAL; return -1; } } int sigfillset (sigset_t *set) { *set = ((2U << (NSIG - 1)) - 1) & ~ SIGABRT_COMPAT_MASK; return 0; } /* Set of currently blocked signals. */ static volatile sigset_t blocked_set /* = 0 */; /* Set of currently blocked and pending signals. */ static volatile sig_atomic_t pending_array[NSIG] /* = { 0 } */; /* Signal handler that is installed for blocked signals. */ static void blocked_handler (int sig) { /* Reinstall the handler, in case the signal occurs multiple times while blocked. There is an inherent race where an asynchronous signal in between when the kernel uninstalled the handler and when we reinstall it will trigger the default handler; oh well. */ signal (sig, blocked_handler); if (sig >= 0 && sig < NSIG) pending_array[sig] = 1; } int sigpending (sigset_t *set) { sigset_t pending = 0; int sig; for (sig = 0; sig < NSIG; sig++) if (pending_array[sig]) pending |= 1U << sig; *set = pending; return 0; } /* The previous signal handlers. Only the array elements corresponding to blocked signals are relevant. */ static volatile handler_t old_handlers[NSIG]; int sigprocmask (int operation, const sigset_t *set, sigset_t *old_set) { if (old_set != NULL) *old_set = blocked_set; if (set != NULL) { sigset_t new_blocked_set; sigset_t to_unblock; sigset_t to_block; switch (operation) { case SIG_BLOCK: new_blocked_set = blocked_set | *set; break; case SIG_SETMASK: new_blocked_set = *set; break; case SIG_UNBLOCK: new_blocked_set = blocked_set & ~*set; break; default: errno = EINVAL; return -1; } to_unblock = blocked_set & ~new_blocked_set; to_block = new_blocked_set & ~blocked_set; if (to_block != 0) { int sig; for (sig = 0; sig < NSIG; sig++) if ((to_block >> sig) & 1) { pending_array[sig] = 0; if ((old_handlers[sig] = signal (sig, blocked_handler)) != SIG_ERR) blocked_set |= 1U << sig; } } if (to_unblock != 0) { sig_atomic_t received[NSIG]; int sig; for (sig = 0; sig < NSIG; sig++) if ((to_unblock >> sig) & 1) { if (signal (sig, old_handlers[sig]) != blocked_handler) /* The application changed a signal handler while the signal was blocked, bypassing our rpl_signal replacement. We don't support this. */ abort (); received[sig] = pending_array[sig]; blocked_set &= ~(1U << sig); pending_array[sig] = 0; } else received[sig] = 0; for (sig = 0; sig < NSIG; sig++) if (received[sig]) raise (sig); } } return 0; } /* Install the handler FUNC for signal SIG, and return the previous handler. */ handler_t rpl_signal (int sig, handler_t handler) { /* We must provide a wrapper, so that a user can query what handler they installed even if that signal is currently blocked. */ if (sig >= 0 && sig < NSIG && sig != SIGKILL && sig != SIGSTOP && handler != SIG_ERR) { #ifdef SIGABRT_COMPAT if (sig == SIGABRT_COMPAT) sig = SIGABRT; #endif if (blocked_set & (1U << sig)) { /* POSIX states that sigprocmask and signal are both async-signal-safe. This is not true of our implementation - there is a slight data race where an asynchronous interrupt on signal A can occur after we install blocked_handler but before we have updated old_handlers for signal B, such that handler A can see stale information if it calls signal(B). Oh well - signal handlers really shouldn't try to manipulate the installed handlers of unrelated signals. */ handler_t result = old_handlers[sig]; old_handlers[sig] = handler; return result; } else return signal (sig, handler); } else { errno = EINVAL; return SIG_ERR; } } #if GNULIB_defined_SIGPIPE /* Raise the signal SIGPIPE. */ int _gl_raise_SIGPIPE (void) { if (blocked_set & (1U << SIGPIPE)) pending_array[SIGPIPE] = 1; else { handler_t handler = SIGPIPE_handler; if (handler == SIG_DFL) exit (128 + SIGPIPE); else if (handler != SIG_IGN) (*handler) (SIGPIPE); } return 0; } #endif gsasl-1.8.1/lib/gltests/fpucw.h0000644000000000000000000001123413516251671013261 00000000000000/* Manipulating the FPU control word. -*- coding: utf-8 -*- Copyright (C) 2007-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2007. 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 3 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, see . */ #ifndef _FPUCW_H #define _FPUCW_H /* The i386 floating point hardware (the 387 compatible FPU, not the modern SSE/SSE2 hardware) has a controllable rounding precision. It is specified through the 'PC' bits in the FPU control word ('fctrl' register). (See the GNU libc i386 header for details.) On some platforms, such as Linux or Solaris, the default precision setting is set to "extended precision". This means that 'long double' instructions operate correctly, but 'double' computations often produce slightly different results as on strictly IEEE 754 conforming systems. On some platforms, such as NetBSD, the default precision is set to "double precision". This means that 'long double' instructions will operate only as 'double', i.e. lead to wrong results. Similarly on FreeBSD 6.4, at least for the division of 'long double' numbers. The FPU control word is under control of the application, i.e. it is not required to be set either way by the ABI. (In fact, the i386 ABI https://www.linux-mips.org/pub/linux/mips/doc/ABI/abi386-4.pdf page 3-12 = page 38 is not clear about it. But in any case, gcc treats the control word like a "preserved" register: it emits code that assumes that the control word is preserved across calls, and it restores the control word at the end of functions that modify it.) See Vincent Lefèvre's page https://www.vinc17.net/research/extended.en.html for a good explanation. See http://www.uwsg.iu.edu/hypermail/linux/kernel/0103.0/0453.html for some argumentation which setting should be the default. */ /* This header file provides the following facilities: fpucw_t integral type holding the value of 'fctrl' FPU_PC_MASK bit mask denoting the precision control FPU_PC_DOUBLE precision control for 53 bits mantissa FPU_PC_EXTENDED precision control for 64 bits mantissa GET_FPUCW () yields the current FPU control word SET_FPUCW (word) sets the FPU control word DECL_LONG_DOUBLE_ROUNDING variable declaration for BEGIN/END_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING () starts a sequence of instructions with 'long double' safe operation precision END_LONG_DOUBLE_ROUNDING () ends a sequence of instructions with 'long double' safe operation precision */ /* Inline assembler like this works only with GNU C. */ #if (defined __i386__ || defined __x86_64__) && defined __GNUC__ typedef unsigned short fpucw_t; /* glibc calls this fpu_control_t */ # define FPU_PC_MASK 0x0300 # define FPU_PC_DOUBLE 0x200 /* glibc calls this _FPU_DOUBLE */ # define FPU_PC_EXTENDED 0x300 /* glibc calls this _FPU_EXTENDED */ # define GET_FPUCW() __extension__ \ ({ fpucw_t _cw; \ __asm__ __volatile__ ("fnstcw %0" : "=m" (*&_cw)); \ _cw; \ }) # define SET_FPUCW(word) __extension__ \ (void)({ fpucw_t _ncw = (word); \ __asm__ __volatile__ ("fldcw %0" : : "m" (*&_ncw)); \ }) # define DECL_LONG_DOUBLE_ROUNDING \ fpucw_t oldcw; # define BEGIN_LONG_DOUBLE_ROUNDING() \ (void)(oldcw = GET_FPUCW (), \ SET_FPUCW ((oldcw & ~FPU_PC_MASK) | FPU_PC_EXTENDED)) # define END_LONG_DOUBLE_ROUNDING() \ SET_FPUCW (oldcw) #else typedef unsigned int fpucw_t; # define FPU_PC_MASK 0 # define FPU_PC_DOUBLE 0 # define FPU_PC_EXTENDED 0 # define GET_FPUCW() 0 # define SET_FPUCW(word) (void)(word) # define DECL_LONG_DOUBLE_ROUNDING # define BEGIN_LONG_DOUBLE_ROUNDING() # define END_LONG_DOUBLE_ROUNDING() #endif #endif /* _FPUCW_H */ gsasl-1.8.1/lib/gltests/strerror_r.c0000644000000000000000000003235213516251667014344 00000000000000/* strerror_r.c --- POSIX compatible system error routine Copyright (C) 2010-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2010. */ #include /* Enable declaration of sys_nerr and sys_errlist in on NetBSD. */ #define _NETBSD_SOURCE 1 /* Specification. */ #include #include #include #include #if !HAVE_SNPRINTF # include #endif #include "strerror-override.h" #if (__GLIBC__ >= 2 || defined __UCLIBC__ || defined __CYGWIN__) && HAVE___XPG_STRERROR_R /* glibc >= 2.3.4, cygwin >= 1.7.9 */ # define USE_XPG_STRERROR_R 1 extern #ifdef __cplusplus "C" #endif int __xpg_strerror_r (int errnum, char *buf, size_t buflen); #elif HAVE_DECL_STRERROR_R && !(__GLIBC__ >= 2 || defined __UCLIBC__ || defined __CYGWIN__) /* The system's strerror_r function is OK, except that its third argument is 'int', not 'size_t', or its return type is wrong. */ # include # define USE_SYSTEM_STRERROR_R 1 #else /* (__GLIBC__ >= 2 || defined __UCLIBC__ || defined __CYGWIN__ ? !HAVE___XPG_STRERROR_R : !HAVE_DECL_STRERROR_R) */ /* Use the system's strerror(). Exclude glibc and cygwin because the system strerror_r has the wrong return type, and cygwin 1.7.9 strerror_r clobbers strerror. */ # undef strerror # define USE_SYSTEM_STRERROR 1 # if defined __NetBSD__ || defined __hpux || (defined _WIN32 && !defined __CYGWIN__) || defined __sgi || (defined __sun && !defined _LP64) || defined __CYGWIN__ /* No locking needed. */ /* Get catgets internationalization functions. */ # if HAVE_CATGETS # include # endif #ifdef __cplusplus extern "C" { #endif /* Get sys_nerr, sys_errlist on HP-UX (otherwise only declared in C++ mode). Get sys_nerr, sys_errlist on IRIX (otherwise only declared with _SGIAPI). */ # if defined __hpux || defined __sgi extern int sys_nerr; extern char *sys_errlist[]; # endif /* Get sys_nerr on Solaris. */ # if defined __sun && !defined _LP64 extern int sys_nerr; # endif #ifdef __cplusplus } #endif # else # include "glthread/lock.h" /* This lock protects the buffer returned by strerror(). We assume that no other uses of strerror() exist in the program. */ gl_lock_define_initialized(static, strerror_lock) # endif #endif /* On MSVC, there is no snprintf() function, just a _snprintf(). It is of lower quality, but sufficient for the simple use here. We only have to make sure to NUL terminate the result (_snprintf does not NUL terminate, like strncpy). */ #if !HAVE_SNPRINTF static int local_snprintf (char *buf, size_t buflen, const char *format, ...) { va_list args; int result; va_start (args, format); result = _vsnprintf (buf, buflen, format, args); va_end (args); if (buflen > 0 && (result < 0 || result >= buflen)) buf[buflen - 1] = '\0'; return result; } # define snprintf local_snprintf #endif /* Copy as much of MSG into BUF as possible, without corrupting errno. Return 0 if MSG fit in BUFLEN, otherwise return ERANGE. */ static int safe_copy (char *buf, size_t buflen, const char *msg) { size_t len = strlen (msg); size_t moved = len < buflen ? len : buflen - 1; /* Although POSIX lets memmove corrupt errno, we don't know of any implementation where this is a real problem. */ memmove (buf, msg, moved); buf[moved] = '\0'; return len < buflen ? 0 : ERANGE; } int strerror_r (int errnum, char *buf, size_t buflen) #undef strerror_r { /* Filter this out now, so that rest of this replacement knows that there is room for a non-empty message and trailing NUL. */ if (buflen <= 1) { if (buflen) *buf = '\0'; return ERANGE; } *buf = '\0'; /* Check for gnulib overrides. */ { char const *msg = strerror_override (errnum); if (msg) return safe_copy (buf, buflen, msg); } { int ret; int saved_errno = errno; #if USE_XPG_STRERROR_R { ret = __xpg_strerror_r (errnum, buf, buflen); if (ret < 0) ret = errno; if (!*buf) { /* glibc 2.13 would not touch buf on err, so we have to fall back to GNU strerror_r which always returns a thread-safe untruncated string to (partially) copy into our buf. */ safe_copy (buf, buflen, strerror_r (errnum, buf, buflen)); } } #elif USE_SYSTEM_STRERROR_R if (buflen > INT_MAX) buflen = INT_MAX; # ifdef __hpux /* On HP-UX 11.31, strerror_r always fails when buflen < 80; it also fails to change buf on EINVAL. */ { char stackbuf[80]; if (buflen < sizeof stackbuf) { ret = strerror_r (errnum, stackbuf, sizeof stackbuf); if (ret == 0) ret = safe_copy (buf, buflen, stackbuf); } else ret = strerror_r (errnum, buf, buflen); } # else ret = strerror_r (errnum, buf, buflen); /* Some old implementations may return (-1, EINVAL) instead of EINVAL. But on Haiku, valid error numbers are negative. */ # if !defined __HAIKU__ if (ret < 0) ret = errno; # endif # endif # if defined _AIX || defined __HAIKU__ /* AIX and Haiku return 0 rather than ERANGE when truncating strings; try again until we are sure we got the entire string. */ if (!ret && strlen (buf) == buflen - 1) { char stackbuf[STACKBUF_LEN]; size_t len; strerror_r (errnum, stackbuf, sizeof stackbuf); len = strlen (stackbuf); /* STACKBUF_LEN should have been large enough. */ if (len + 1 == sizeof stackbuf) abort (); if (buflen <= len) ret = ERANGE; } # else /* Solaris 10 does not populate buf on ERANGE. OpenBSD 4.7 truncates early on ERANGE rather than return a partial integer. We prefer the maximal string. We set buf[0] earlier, and we know of no implementation that modifies buf to be an unterminated string, so this strlen should be portable in practice (rather than pulling in a safer strnlen). */ if (ret == ERANGE && strlen (buf) < buflen - 1) { char stackbuf[STACKBUF_LEN]; /* STACKBUF_LEN should have been large enough. */ if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE) abort (); safe_copy (buf, buflen, stackbuf); } # endif #else /* USE_SYSTEM_STRERROR */ /* Try to do what strerror (errnum) does, but without clobbering the buffer used by strerror(). */ # if defined __NetBSD__ || defined __hpux || (defined _WIN32 && !defined __CYGWIN__) || defined __CYGWIN__ /* NetBSD, HP-UX, native Windows, Cygwin */ /* NetBSD: sys_nerr, sys_errlist are declared through _NETBSD_SOURCE and above. HP-UX: sys_nerr, sys_errlist are declared explicitly above. native Windows: sys_nerr, sys_errlist are declared in . Cygwin: sys_nerr, sys_errlist are declared in . */ if (errnum >= 0 && errnum < sys_nerr) { # if HAVE_CATGETS && (defined __NetBSD__ || defined __hpux) # if defined __NetBSD__ nl_catd catd = catopen ("libc", NL_CAT_LOCALE); const char *errmsg = (catd != (nl_catd)-1 ? catgets (catd, 1, errnum, sys_errlist[errnum]) : sys_errlist[errnum]); # endif # if defined __hpux nl_catd catd = catopen ("perror", NL_CAT_LOCALE); const char *errmsg = (catd != (nl_catd)-1 ? catgets (catd, 1, 1 + errnum, sys_errlist[errnum]) : sys_errlist[errnum]); # endif # else const char *errmsg = sys_errlist[errnum]; # endif if (errmsg == NULL || *errmsg == '\0') ret = EINVAL; else ret = safe_copy (buf, buflen, errmsg); # if HAVE_CATGETS && (defined __NetBSD__ || defined __hpux) if (catd != (nl_catd)-1) catclose (catd); # endif } else ret = EINVAL; # elif defined __sgi || (defined __sun && !defined _LP64) /* IRIX, Solaris <= 9 32-bit */ /* For a valid error number, the system's strerror() function returns a pointer to a not copied string, not to a buffer. */ if (errnum >= 0 && errnum < sys_nerr) { char *errmsg = strerror (errnum); if (errmsg == NULL || *errmsg == '\0') ret = EINVAL; else ret = safe_copy (buf, buflen, errmsg); } else ret = EINVAL; # else gl_lock_lock (strerror_lock); { char *errmsg = strerror (errnum); /* For invalid error numbers, strerror() on - IRIX 6.5 returns NULL, - HP-UX 11 returns an empty string. */ if (errmsg == NULL || *errmsg == '\0') ret = EINVAL; else ret = safe_copy (buf, buflen, errmsg); } gl_lock_unlock (strerror_lock); # endif #endif #if defined _WIN32 && !defined __CYGWIN__ /* MSVC 14 defines names for many error codes in the range 100..140, but _sys_errlist contains strings only for the error codes < _sys_nerr = 43. */ if (ret == EINVAL) { const char *errmsg; switch (errnum) { case 100 /* EADDRINUSE */: errmsg = "Address already in use"; break; case 101 /* EADDRNOTAVAIL */: errmsg = "Cannot assign requested address"; break; case 102 /* EAFNOSUPPORT */: errmsg = "Address family not supported by protocol"; break; case 103 /* EALREADY */: errmsg = "Operation already in progress"; break; case 105 /* ECANCELED */: errmsg = "Operation canceled"; break; case 106 /* ECONNABORTED */: errmsg = "Software caused connection abort"; break; case 107 /* ECONNREFUSED */: errmsg = "Connection refused"; break; case 108 /* ECONNRESET */: errmsg = "Connection reset by peer"; break; case 109 /* EDESTADDRREQ */: errmsg = "Destination address required"; break; case 110 /* EHOSTUNREACH */: errmsg = "No route to host"; break; case 112 /* EINPROGRESS */: errmsg = "Operation now in progress"; break; case 113 /* EISCONN */: errmsg = "Transport endpoint is already connected"; break; case 114 /* ELOOP */: errmsg = "Too many levels of symbolic links"; break; case 115 /* EMSGSIZE */: errmsg = "Message too long"; break; case 116 /* ENETDOWN */: errmsg = "Network is down"; break; case 117 /* ENETRESET */: errmsg = "Network dropped connection on reset"; break; case 118 /* ENETUNREACH */: errmsg = "Network is unreachable"; break; case 119 /* ENOBUFS */: errmsg = "No buffer space available"; break; case 123 /* ENOPROTOOPT */: errmsg = "Protocol not available"; break; case 126 /* ENOTCONN */: errmsg = "Transport endpoint is not connected"; break; case 128 /* ENOTSOCK */: errmsg = "Socket operation on non-socket"; break; case 129 /* ENOTSUP */: errmsg = "Not supported"; break; case 130 /* EOPNOTSUPP */: errmsg = "Operation not supported"; break; case 132 /* EOVERFLOW */: errmsg = "Value too large for defined data type"; break; case 133 /* EOWNERDEAD */: errmsg = "Owner died"; break; case 134 /* EPROTO */: errmsg = "Protocol error"; break; case 135 /* EPROTONOSUPPORT */: errmsg = "Protocol not supported"; break; case 136 /* EPROTOTYPE */: errmsg = "Protocol wrong type for socket"; break; case 138 /* ETIMEDOUT */: errmsg = "Connection timed out"; break; case 140 /* EWOULDBLOCK */: errmsg = "Operation would block"; break; default: errmsg = NULL; break; } if (errmsg != NULL) ret = safe_copy (buf, buflen, errmsg); } #endif if (ret == EINVAL && !*buf) { #if defined __HAIKU__ /* For consistency with perror(). */ snprintf (buf, buflen, "Unknown Application Error (%d)", errnum); #else snprintf (buf, buflen, "Unknown error %d", errnum); #endif } errno = saved_errno; return ret; } } gsasl-1.8.1/lib/gltests/test-inttypes.c0000644000000000000000000000606113516251671014766 00000000000000/* Test of substitute. Copyright (C) 2006-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include /* Tests for macros supposed to be defined in inttypes.h. */ const char *k = /* implicit string concatenation */ #ifdef INT8_MAX PRId8 PRIi8 #endif #ifdef UINT8_MAX PRIo8 PRIu8 PRIx8 PRIX8 #endif #ifdef INT16_MAX PRId16 PRIi16 #endif #ifdef UINT16_MAX PRIo16 PRIu16 PRIx16 PRIX16 #endif #ifdef INT32_MAX PRId32 PRIi32 #endif #ifdef UINT32_MAX PRIo32 PRIu32 PRIx32 PRIX32 #endif #ifdef INT64_MAX PRId64 PRIi64 #endif #ifdef UINT64_MAX PRIo64 PRIu64 PRIx64 PRIX64 #endif PRIdLEAST8 PRIiLEAST8 PRIoLEAST8 PRIuLEAST8 PRIxLEAST8 PRIXLEAST8 PRIdLEAST16 PRIiLEAST16 PRIoLEAST16 PRIuLEAST16 PRIxLEAST16 PRIXLEAST16 PRIdLEAST32 PRIiLEAST32 PRIoLEAST32 PRIuLEAST32 PRIxLEAST32 PRIXLEAST32 PRIdLEAST64 PRIiLEAST64 PRIoLEAST64 PRIuLEAST64 PRIxLEAST64 PRIXLEAST64 PRIdFAST8 PRIiFAST8 PRIoFAST8 PRIuFAST8 PRIxFAST8 PRIXFAST8 PRIdFAST16 PRIiFAST16 PRIoFAST16 PRIuFAST16 PRIxFAST16 PRIXFAST16 PRIdFAST32 PRIiFAST32 PRIoFAST32 PRIuFAST32 PRIxFAST32 PRIXFAST32 PRIdFAST64 PRIiFAST64 PRIoFAST64 PRIuFAST64 PRIxFAST64 PRIXFAST64 PRIdMAX PRIiMAX PRIoMAX PRIuMAX PRIxMAX PRIXMAX #ifdef INTPTR_MAX PRIdPTR PRIiPTR #endif #ifdef UINTPTR_MAX PRIoPTR PRIuPTR PRIxPTR PRIXPTR #endif ; const char *l = /* implicit string concatenation */ #ifdef INT8_MAX SCNd8 SCNi8 #endif #ifdef UINT8_MAX SCNo8 SCNu8 SCNx8 #endif #ifdef INT16_MAX SCNd16 SCNi16 #endif #ifdef UINT16_MAX SCNo16 SCNu16 SCNx16 #endif #ifdef INT32_MAX SCNd32 SCNi32 #endif #ifdef UINT32_MAX SCNo32 SCNu32 SCNx32 #endif #ifdef INT64_MAX SCNd64 SCNi64 #endif #ifdef UINT64_MAX SCNo64 SCNu64 SCNx64 #endif SCNdLEAST8 SCNiLEAST8 SCNoLEAST8 SCNuLEAST8 SCNxLEAST8 SCNdLEAST16 SCNiLEAST16 SCNoLEAST16 SCNuLEAST16 SCNxLEAST16 SCNdLEAST32 SCNiLEAST32 SCNoLEAST32 SCNuLEAST32 SCNxLEAST32 SCNdLEAST64 SCNiLEAST64 SCNoLEAST64 SCNuLEAST64 SCNxLEAST64 SCNdFAST8 SCNiFAST8 SCNoFAST8 SCNuFAST8 SCNxFAST8 SCNdFAST16 SCNiFAST16 SCNoFAST16 SCNuFAST16 SCNxFAST16 SCNdFAST32 SCNiFAST32 SCNoFAST32 SCNuFAST32 SCNxFAST32 SCNdFAST64 SCNiFAST64 SCNoFAST64 SCNuFAST64 SCNxFAST64 SCNdMAX SCNiMAX SCNoMAX SCNuMAX SCNxMAX #ifdef INTPTR_MAX SCNdPTR SCNiPTR #endif #ifdef UINTPTR_MAX SCNoPTR SCNuPTR SCNxPTR #endif ; int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-lstat.c0000644000000000000000000000340613516251667014243 00000000000000/* Test of lstat() function. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson, 2008; and Eric Blake, 2009. */ #include #include /* Caution: lstat may be a function-like macro. Although this signature check must pass, it may be the signature of the real (and broken) lstat rather than rpl_lstat. Most code should not use the address of lstat. */ #include "signature.h" SIGNATURE_CHECK (lstat, int, (char const *, struct stat *)); #include #include #include #include #include #include #include "same-inode.h" #include "ignore-value.h" #include "macros.h" #define BASE "test-lstat.t" #include "test-lstat.h" /* Wrapper around lstat, which works even if lstat is a function-like macro, where test_lstat_func(lstat) would do the wrong thing. */ static int do_lstat (char const *name, struct stat *st) { return lstat (name, st); } int main (void) { /* Remove any leftovers from a previous partial run. */ ignore_value (system ("rm -rf " BASE "*")); return test_lstat_func (do_lstat, true); } gsasl-1.8.1/lib/gltests/test-ftruncate.sh0000755000000000000000000000012113516251667015271 00000000000000#!/bin/sh exec ${CHECKER} ./test-ftruncate${EXEEXT} "$srcdir/test-ftruncate.sh" gsasl-1.8.1/lib/gltests/stdlib.in.h0000644000000000000000000011221013516251667014024 00000000000000/* A GNU-like . Copyright (C) 1995, 2001-2004, 2006-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_system_stdlib_h || defined __need_malloc_and_calloc /* Special invocation conventions inside some gnulib header files, and inside some glibc header files, respectively. */ #@INCLUDE_NEXT@ @NEXT_STDLIB_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STDLIB_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDLIB_H@ #ifndef _@GUARD_PREFIX@_STDLIB_H #define _@GUARD_PREFIX@_STDLIB_H /* NetBSD 5.0 mis-defines NULL. */ #include /* MirBSD 10 defines WEXITSTATUS in , not in . */ #if @GNULIB_SYSTEM_POSIX@ && !defined WEXITSTATUS # include #endif /* Solaris declares getloadavg() in . */ #if (@GNULIB_GETLOADAVG@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_LOADAVG_H@ /* OpenIndiana has a bug: must be included before . */ # include # include #endif /* Native Windows platforms declare mktemp() in . */ #if 0 && (defined _WIN32 && ! defined __CYGWIN__) # include #endif #if @GNULIB_RANDOM_R@ /* OSF/1 5.1 declares 'struct random_data' in , which is included from if _REENTRANT is defined. Include it whenever we need 'struct random_data'. */ # if @HAVE_RANDOM_H@ # include # endif # if !@HAVE_STRUCT_RANDOM_DATA@ || @REPLACE_RANDOM_R@ || !@HAVE_RANDOM_R@ # include # endif # if !@HAVE_STRUCT_RANDOM_DATA@ /* Define 'struct random_data'. But allow multiple gnulib generated replacements to coexist. */ # if !GNULIB_defined_struct_random_data struct random_data { int32_t *fptr; /* Front pointer. */ int32_t *rptr; /* Rear pointer. */ int32_t *state; /* Array of state values. */ int rand_type; /* Type of random number generator. */ int rand_deg; /* Degree of random number generator. */ int rand_sep; /* Distance between front and rear. */ int32_t *end_ptr; /* Pointer behind state table. */ }; # define GNULIB_defined_struct_random_data 1 # endif # endif #endif #if (@GNULIB_MKSTEMP@ || @GNULIB_MKSTEMPS@ || @GNULIB_MKOSTEMP@ || @GNULIB_MKOSTEMPS@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !(defined _WIN32 && ! defined __CYGWIN__) /* On Mac OS X 10.3, only declares mkstemp. */ /* On Mac OS X 10.5, only declares mkstemps. */ /* On Mac OS X 10.13, only declares mkostemp and mkostemps. */ /* On Cygwin 1.7.1, only declares getsubopt. */ /* But avoid namespace pollution on glibc systems and native Windows. */ # include #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The definition of _Noreturn is copied here. */ /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Some systems do not define EXIT_*, despite otherwise supporting C89. */ #ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 #endif /* Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere with proper operation of xargs. */ #ifndef EXIT_FAILURE # define EXIT_FAILURE 1 #elif EXIT_FAILURE != 1 # undef EXIT_FAILURE # define EXIT_FAILURE 1 #endif #if @GNULIB__EXIT@ /* Terminate the current process with the given return code, without running the 'atexit' handlers. */ # if !@HAVE__EXIT@ _GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status)); # endif _GL_CXXALIAS_SYS (_Exit, void, (int status)); _GL_CXXALIASWARN (_Exit); #elif defined GNULIB_POSIXCHECK # undef _Exit # if HAVE_RAW_DECL__EXIT _GL_WARN_ON_USE (_Exit, "_Exit is unportable - " "use gnulib module _Exit for portability"); # endif #endif #if @GNULIB_ATOLL@ /* Parse a signed decimal integer. Returns the value of the integer. Errors are not detected. */ # if !@HAVE_ATOLL@ _GL_FUNCDECL_SYS (atoll, long long, (const char *string) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (atoll, long long, (const char *string)); _GL_CXXALIASWARN (atoll); #elif defined GNULIB_POSIXCHECK # undef atoll # if HAVE_RAW_DECL_ATOLL _GL_WARN_ON_USE (atoll, "atoll is unportable - " "use gnulib module atoll for portability"); # endif #endif #if @GNULIB_CALLOC_POSIX@ # if @REPLACE_CALLOC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef calloc # define calloc rpl_calloc # endif _GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size)); _GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size)); # else _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size)); # endif _GL_CXXALIASWARN (calloc); #elif defined GNULIB_POSIXCHECK # undef calloc /* Assume calloc is always declared. */ _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " "use gnulib module calloc-posix for portability"); #endif #if @GNULIB_CANONICALIZE_FILE_NAME@ # if @REPLACE_CANONICALIZE_FILE_NAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define canonicalize_file_name rpl_canonicalize_file_name # endif _GL_FUNCDECL_RPL (canonicalize_file_name, char *, (const char *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); # else # if !@HAVE_CANONICALIZE_FILE_NAME@ _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); # endif _GL_CXXALIASWARN (canonicalize_file_name); #elif defined GNULIB_POSIXCHECK # undef canonicalize_file_name # if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME _GL_WARN_ON_USE (canonicalize_file_name, "canonicalize_file_name is unportable - " "use gnulib module canonicalize-lgpl for portability"); # endif #endif #if @GNULIB_GETLOADAVG@ /* Store max(NELEM,3) load average numbers in LOADAVG[]. The three numbers are the load average of the last 1 minute, the last 5 minutes, and the last 15 minutes, respectively. LOADAVG is an array of NELEM numbers. */ # if !@HAVE_DECL_GETLOADAVG@ _GL_FUNCDECL_SYS (getloadavg, int, (double loadavg[], int nelem) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getloadavg, int, (double loadavg[], int nelem)); _GL_CXXALIASWARN (getloadavg); #elif defined GNULIB_POSIXCHECK # undef getloadavg # if HAVE_RAW_DECL_GETLOADAVG _GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - " "use gnulib module getloadavg for portability"); # endif #endif #if @GNULIB_GETSUBOPT@ /* Assuming *OPTIONP is a comma separated list of elements of the form "token" or "token=value", getsubopt parses the first of these elements. If the first element refers to a "token" that is member of the given NULL-terminated array of tokens: - It replaces the comma with a NUL byte, updates *OPTIONP to point past the first option and the comma, sets *VALUEP to the value of the element (or NULL if it doesn't contain an "=" sign), - It returns the index of the "token" in the given array of tokens. Otherwise it returns -1, and *OPTIONP and *VALUEP are undefined. For more details see the POSIX:2001 specification. http://www.opengroup.org/susv3xsh/getsubopt.html */ # if !@HAVE_GETSUBOPT@ _GL_FUNCDECL_SYS (getsubopt, int, (char **optionp, char *const *tokens, char **valuep) _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (getsubopt, int, (char **optionp, char *const *tokens, char **valuep)); _GL_CXXALIASWARN (getsubopt); #elif defined GNULIB_POSIXCHECK # undef getsubopt # if HAVE_RAW_DECL_GETSUBOPT _GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - " "use gnulib module getsubopt for portability"); # endif #endif #if @GNULIB_GRANTPT@ /* Change the ownership and access permission of the slave side of the pseudo-terminal whose master side is specified by FD. */ # if !@HAVE_GRANTPT@ _GL_FUNCDECL_SYS (grantpt, int, (int fd)); # endif _GL_CXXALIAS_SYS (grantpt, int, (int fd)); _GL_CXXALIASWARN (grantpt); #elif defined GNULIB_POSIXCHECK # undef grantpt # if HAVE_RAW_DECL_GRANTPT _GL_WARN_ON_USE (grantpt, "grantpt is not portable - " "use gnulib module grantpt for portability"); # endif #endif /* If _GL_USE_STDLIB_ALLOC is nonzero, the including module does not rely on GNU or POSIX semantics for malloc and realloc (for example, by never specifying a zero size), so it does not need malloc or realloc to be redefined. */ #if @GNULIB_MALLOC_POSIX@ # if @REPLACE_MALLOC@ # if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ || _GL_USE_STDLIB_ALLOC) # undef malloc # define malloc rpl_malloc # endif _GL_FUNCDECL_RPL (malloc, void *, (size_t size)); _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); # else _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); # endif _GL_CXXALIASWARN (malloc); #elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC # undef malloc /* Assume malloc is always declared. */ _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " "use gnulib module malloc-posix for portability"); #endif /* Convert a multibyte character to a wide character. */ #if @GNULIB_MBTOWC@ # if @REPLACE_MBTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbtowc # define mbtowc rpl_mbtowc # endif _GL_FUNCDECL_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); _GL_CXXALIAS_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); # else # if !@HAVE_MBTOWC@ _GL_FUNCDECL_SYS (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); # endif _GL_CXXALIAS_SYS (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); # endif _GL_CXXALIASWARN (mbtowc); #elif defined GNULIB_POSIXCHECK # undef mbtowc # if HAVE_RAW_DECL_MBTOWC _GL_WARN_ON_USE (mbtowc, "mbtowc is not portable - " "use gnulib module mbtowc for portability"); # endif #endif #if @GNULIB_MKDTEMP@ /* Create a unique temporary directory from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the directory name unique. Returns TEMPLATE, or a null pointer if it cannot get a unique name. The directory is created mode 700. */ # if !@HAVE_MKDTEMP@ _GL_FUNCDECL_SYS (mkdtemp, char *, (char * /*template*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/)); _GL_CXXALIASWARN (mkdtemp); #elif defined GNULIB_POSIXCHECK # undef mkdtemp # if HAVE_RAW_DECL_MKDTEMP _GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - " "use gnulib module mkdtemp for portability"); # endif #endif #if @GNULIB_MKOSTEMP@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the file name unique. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). The file is then created, with the specified flags, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if !@HAVE_MKOSTEMP@ _GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)); _GL_CXXALIASWARN (mkostemp); #elif defined GNULIB_POSIXCHECK # undef mkostemp # if HAVE_RAW_DECL_MKOSTEMP _GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - " "use gnulib module mkostemp for portability"); # endif #endif #if @GNULIB_MKOSTEMPS@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE before a suffix of length SUFFIXLEN must be "XXXXXX"; they are replaced with a string that makes the file name unique. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). The file is then created, with the specified flags, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if !@HAVE_MKOSTEMPS@ _GL_FUNCDECL_SYS (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/)); _GL_CXXALIASWARN (mkostemps); #elif defined GNULIB_POSIXCHECK # undef mkostemps # if HAVE_RAW_DECL_MKOSTEMPS _GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - " "use gnulib module mkostemps for portability"); # endif #endif #if @GNULIB_MKSTEMP@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the file name unique. The file is then created, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if @REPLACE_MKSTEMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mkstemp rpl_mkstemp # endif _GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/)); # else # if ! @HAVE_MKSTEMP@ _GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/)); # endif _GL_CXXALIASWARN (mkstemp); #elif defined GNULIB_POSIXCHECK # undef mkstemp # if HAVE_RAW_DECL_MKSTEMP _GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " "use gnulib module mkstemp for portability"); # endif #endif #if @GNULIB_MKSTEMPS@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE prior to a suffix of length SUFFIXLEN must be "XXXXXX"; they are replaced with a string that makes the file name unique. The file is then created, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if !@HAVE_MKSTEMPS@ _GL_FUNCDECL_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)); _GL_CXXALIASWARN (mkstemps); #elif defined GNULIB_POSIXCHECK # undef mkstemps # if HAVE_RAW_DECL_MKSTEMPS _GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - " "use gnulib module mkstemps for portability"); # endif #endif #if @GNULIB_POSIX_OPENPT@ /* Return an FD open to the master side of a pseudo-terminal. Flags should include O_RDWR, and may also include O_NOCTTY. */ # if !@HAVE_POSIX_OPENPT@ _GL_FUNCDECL_SYS (posix_openpt, int, (int flags)); # endif _GL_CXXALIAS_SYS (posix_openpt, int, (int flags)); _GL_CXXALIASWARN (posix_openpt); #elif defined GNULIB_POSIXCHECK # undef posix_openpt # if HAVE_RAW_DECL_POSIX_OPENPT _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - " "use gnulib module posix_openpt for portability"); # endif #endif #if @GNULIB_PTSNAME@ /* Return the pathname of the pseudo-terminal slave associated with the master FD is open on, or NULL on errors. */ # if @REPLACE_PTSNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ptsname # define ptsname rpl_ptsname # endif _GL_FUNCDECL_RPL (ptsname, char *, (int fd)); _GL_CXXALIAS_RPL (ptsname, char *, (int fd)); # else # if !@HAVE_PTSNAME@ _GL_FUNCDECL_SYS (ptsname, char *, (int fd)); # endif _GL_CXXALIAS_SYS (ptsname, char *, (int fd)); # endif _GL_CXXALIASWARN (ptsname); #elif defined GNULIB_POSIXCHECK # undef ptsname # if HAVE_RAW_DECL_PTSNAME _GL_WARN_ON_USE (ptsname, "ptsname is not portable - " "use gnulib module ptsname for portability"); # endif #endif #if @GNULIB_PTSNAME_R@ /* Set the pathname of the pseudo-terminal slave associated with the master FD is open on and return 0, or set errno and return non-zero on errors. */ # if @REPLACE_PTSNAME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ptsname_r # define ptsname_r rpl_ptsname_r # endif _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); # else # if !@HAVE_PTSNAME_R@ _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); # endif _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); # endif _GL_CXXALIASWARN (ptsname_r); #elif defined GNULIB_POSIXCHECK # undef ptsname_r # if HAVE_RAW_DECL_PTSNAME_R _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - " "use gnulib module ptsname_r for portability"); # endif #endif #if @GNULIB_PUTENV@ # if @REPLACE_PUTENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putenv # define putenv rpl_putenv # endif _GL_FUNCDECL_RPL (putenv, int, (char *string) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (putenv, int, (char *string)); # else _GL_CXXALIAS_SYS (putenv, int, (char *string)); # endif _GL_CXXALIASWARN (putenv); #endif #if @GNULIB_QSORT_R@ /* Sort an array of NMEMB elements, starting at address BASE, each element occupying SIZE bytes, in ascending order according to the comparison function COMPARE. */ # if @REPLACE_QSORT_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef qsort_r # define qsort_r rpl_qsort_r # endif _GL_FUNCDECL_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg) _GL_ARG_NONNULL ((1, 4))); _GL_CXXALIAS_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg)); # else # if !@HAVE_QSORT_R@ _GL_FUNCDECL_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg) _GL_ARG_NONNULL ((1, 4))); # endif _GL_CXXALIAS_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size, int (*compare) (void const *, void const *, void *), void *arg)); # endif _GL_CXXALIASWARN (qsort_r); #elif defined GNULIB_POSIXCHECK # undef qsort_r # if HAVE_RAW_DECL_QSORT_R _GL_WARN_ON_USE (qsort_r, "qsort_r is not portable - " "use gnulib module qsort_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if !@HAVE_RANDOM_R@ # ifndef RAND_MAX # define RAND_MAX 2147483647 # endif # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_RANDOM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef random # define random rpl_random # endif _GL_FUNCDECL_RPL (random, long, (void)); _GL_CXXALIAS_RPL (random, long, (void)); # else # if !@HAVE_RANDOM@ _GL_FUNCDECL_SYS (random, long, (void)); # endif _GL_CXXALIAS_SYS (random, long, (void)); # endif _GL_CXXALIASWARN (random); #elif defined GNULIB_POSIXCHECK # undef random # if HAVE_RAW_DECL_RANDOM _GL_WARN_ON_USE (random, "random is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_RANDOM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef srandom # define srandom rpl_srandom # endif _GL_FUNCDECL_RPL (srandom, void, (unsigned int seed)); _GL_CXXALIAS_RPL (srandom, void, (unsigned int seed)); # else # if !@HAVE_RANDOM@ _GL_FUNCDECL_SYS (srandom, void, (unsigned int seed)); # endif _GL_CXXALIAS_SYS (srandom, void, (unsigned int seed)); # endif _GL_CXXALIASWARN (srandom); #elif defined GNULIB_POSIXCHECK # undef srandom # if HAVE_RAW_DECL_SRANDOM _GL_WARN_ON_USE (srandom, "srandom is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_INITSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef initstate # define initstate rpl_initstate # endif _GL_FUNCDECL_RPL (initstate, char *, (unsigned int seed, char *buf, size_t buf_size) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (initstate, char *, (unsigned int seed, char *buf, size_t buf_size)); # else # if !@HAVE_INITSTATE@ || !@HAVE_DECL_INITSTATE@ _GL_FUNCDECL_SYS (initstate, char *, (unsigned int seed, char *buf, size_t buf_size) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (initstate, char *, (unsigned int seed, char *buf, size_t buf_size)); # endif _GL_CXXALIASWARN (initstate); #elif defined GNULIB_POSIXCHECK # undef initstate # if HAVE_RAW_DECL_INITSTATE _GL_WARN_ON_USE (initstate, "initstate is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_SETSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setstate # define setstate rpl_setstate # endif _GL_FUNCDECL_RPL (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (setstate, char *, (char *arg_state)); # else # if !@HAVE_SETSTATE@ || !@HAVE_DECL_SETSTATE@ _GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (setstate, char *, (char *arg_state)); # endif _GL_CXXALIASWARN (setstate); #elif defined GNULIB_POSIXCHECK # undef setstate # if HAVE_RAW_DECL_SETSTATE _GL_WARN_ON_USE (setstate, "setstate is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef random_r # define random_r rpl_random_r # endif _GL_FUNCDECL_RPL (random_r, int, (struct random_data *buf, int32_t *result) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (random_r, int, (struct random_data *buf, int32_t *result)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (random_r, int, (struct random_data *buf, int32_t *result) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result)); # endif _GL_CXXALIASWARN (random_r); #elif defined GNULIB_POSIXCHECK # undef random_r # if HAVE_RAW_DECL_RANDOM_R _GL_WARN_ON_USE (random_r, "random_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef srandom_r # define srandom_r rpl_srandom_r # endif _GL_FUNCDECL_RPL (srandom_r, int, (unsigned int seed, struct random_data *rand_state) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (srandom_r, int, (unsigned int seed, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (srandom_r, int, (unsigned int seed, struct random_data *rand_state) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (srandom_r, int, (unsigned int seed, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (srandom_r); #elif defined GNULIB_POSIXCHECK # undef srandom_r # if HAVE_RAW_DECL_SRANDOM_R _GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef initstate_r # define initstate_r rpl_initstate_r # endif _GL_FUNCDECL_RPL (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state) _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state) _GL_ARG_NONNULL ((2, 4))); # endif _GL_CXXALIAS_SYS (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (initstate_r); #elif defined GNULIB_POSIXCHECK # undef initstate_r # if HAVE_RAW_DECL_INITSTATE_R _GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setstate_r # define setstate_r rpl_setstate_r # endif _GL_FUNCDECL_RPL (setstate_r, int, (char *arg_state, struct random_data *rand_state) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (setstate_r, int, (char *arg_state, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (setstate_r, int, (char *arg_state, struct random_data *rand_state) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (setstate_r, int, (char *arg_state, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (setstate_r); #elif defined GNULIB_POSIXCHECK # undef setstate_r # if HAVE_RAW_DECL_SETSTATE_R _GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_REALLOC_POSIX@ # if @REPLACE_REALLOC@ # if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ || _GL_USE_STDLIB_ALLOC) # undef realloc # define realloc rpl_realloc # endif _GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size)); _GL_CXXALIAS_RPL (realloc, void *, (void *ptr, size_t size)); # else _GL_CXXALIAS_SYS (realloc, void *, (void *ptr, size_t size)); # endif _GL_CXXALIASWARN (realloc); #elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC # undef realloc /* Assume realloc is always declared. */ _GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " "use gnulib module realloc-posix for portability"); #endif #if @GNULIB_REALLOCARRAY@ # if ! @HAVE_REALLOCARRAY@ _GL_FUNCDECL_SYS (reallocarray, void *, (void *ptr, size_t nmemb, size_t size)); # endif _GL_CXXALIAS_SYS (reallocarray, void *, (void *ptr, size_t nmemb, size_t size)); _GL_CXXALIASWARN (reallocarray); #elif defined GNULIB_POSIXCHECK # undef reallocarray # if HAVE_RAW_DECL_REALLOCARRAY _GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - " "use gnulib module reallocarray for portability"); # endif #endif #if @GNULIB_REALPATH@ # if @REPLACE_REALPATH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define realpath rpl_realpath # endif _GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved)); # else # if !@HAVE_REALPATH@ _GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved)); # endif _GL_CXXALIASWARN (realpath); #elif defined GNULIB_POSIXCHECK # undef realpath # if HAVE_RAW_DECL_REALPATH _GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " "canonicalize or canonicalize-lgpl for portability"); # endif #endif #if @GNULIB_RPMATCH@ /* Test a user response to a question. Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ # if !@HAVE_RPMATCH@ _GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (rpmatch, int, (const char *response)); _GL_CXXALIASWARN (rpmatch); #elif defined GNULIB_POSIXCHECK # undef rpmatch # if HAVE_RAW_DECL_RPMATCH _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " "use gnulib module rpmatch for portability"); # endif #endif #if @GNULIB_SECURE_GETENV@ /* Look up NAME in the environment, returning 0 in insecure situations. */ # if !@HAVE_SECURE_GETENV@ _GL_FUNCDECL_SYS (secure_getenv, char *, (char const *name) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); _GL_CXXALIASWARN (secure_getenv); #elif defined GNULIB_POSIXCHECK # undef secure_getenv # if HAVE_RAW_DECL_SECURE_GETENV _GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - " "use gnulib module secure_getenv for portability"); # endif #endif #if @GNULIB_SETENV@ /* Set NAME to VALUE in the environment. If REPLACE is nonzero, overwrite an existing value. */ # if @REPLACE_SETENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setenv # define setenv rpl_setenv # endif _GL_FUNCDECL_RPL (setenv, int, (const char *name, const char *value, int replace) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (setenv, int, (const char *name, const char *value, int replace)); # else # if !@HAVE_DECL_SETENV@ _GL_FUNCDECL_SYS (setenv, int, (const char *name, const char *value, int replace) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (setenv, int, (const char *name, const char *value, int replace)); # endif # if !(@REPLACE_SETENV@ && !@HAVE_DECL_SETENV@) _GL_CXXALIASWARN (setenv); # endif #elif defined GNULIB_POSIXCHECK # undef setenv # if HAVE_RAW_DECL_SETENV _GL_WARN_ON_USE (setenv, "setenv is unportable - " "use gnulib module setenv for portability"); # endif #endif #if @GNULIB_STRTOD@ /* Parse a double from STRING, updating ENDP if appropriate. */ # if @REPLACE_STRTOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtod rpl_strtod # endif # define GNULIB_defined_strtod_function 1 _GL_FUNCDECL_RPL (strtod, double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtod, double, (const char *str, char **endp)); # else # if !@HAVE_STRTOD@ _GL_FUNCDECL_SYS (strtod, double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtod, double, (const char *str, char **endp)); # endif _GL_CXXALIASWARN (strtod); #elif defined GNULIB_POSIXCHECK # undef strtod # if HAVE_RAW_DECL_STRTOD _GL_WARN_ON_USE (strtod, "strtod is unportable - " "use gnulib module strtod for portability"); # endif #endif #if @GNULIB_STRTOLD@ /* Parse a 'long double' from STRING, updating ENDP if appropriate. */ # if @REPLACE_STRTOLD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtold rpl_strtold # endif # define GNULIB_defined_strtold_function 1 _GL_FUNCDECL_RPL (strtold, long double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtold, long double, (const char *str, char **endp)); # else # if !@HAVE_STRTOLD@ _GL_FUNCDECL_SYS (strtold, long double, (const char *str, char **endp) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtold, long double, (const char *str, char **endp)); # endif _GL_CXXALIASWARN (strtold); #elif defined GNULIB_POSIXCHECK # undef strtold # if HAVE_RAW_DECL_STRTOLD _GL_WARN_ON_USE (strtold, "strtold is unportable - " "use gnulib module strtold for portability"); # endif #endif #if @GNULIB_STRTOLL@ /* Parse a signed integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is LLONG_MAX or LLONG_MIN, and errno is set to ERANGE. */ # if !@HAVE_STRTOLL@ _GL_FUNCDECL_SYS (strtoll, long long, (const char *string, char **endptr, int base) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoll, long long, (const char *string, char **endptr, int base)); _GL_CXXALIASWARN (strtoll); #elif defined GNULIB_POSIXCHECK # undef strtoll # if HAVE_RAW_DECL_STRTOLL _GL_WARN_ON_USE (strtoll, "strtoll is unportable - " "use gnulib module strtoll for portability"); # endif #endif #if @GNULIB_STRTOULL@ /* Parse an unsigned integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is ULLONG_MAX, and errno is set to ERANGE. */ # if !@HAVE_STRTOULL@ _GL_FUNCDECL_SYS (strtoull, unsigned long long, (const char *string, char **endptr, int base) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoull, unsigned long long, (const char *string, char **endptr, int base)); _GL_CXXALIASWARN (strtoull); #elif defined GNULIB_POSIXCHECK # undef strtoull # if HAVE_RAW_DECL_STRTOULL _GL_WARN_ON_USE (strtoull, "strtoull is unportable - " "use gnulib module strtoull for portability"); # endif #endif #if @GNULIB_UNLOCKPT@ /* Unlock the slave side of the pseudo-terminal whose master side is specified by FD, so that it can be opened. */ # if !@HAVE_UNLOCKPT@ _GL_FUNCDECL_SYS (unlockpt, int, (int fd)); # endif _GL_CXXALIAS_SYS (unlockpt, int, (int fd)); _GL_CXXALIASWARN (unlockpt); #elif defined GNULIB_POSIXCHECK # undef unlockpt # if HAVE_RAW_DECL_UNLOCKPT _GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " "use gnulib module unlockpt for portability"); # endif #endif #if @GNULIB_UNSETENV@ /* Remove the variable NAME from the environment. */ # if @REPLACE_UNSETENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unsetenv # define unsetenv rpl_unsetenv # endif _GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); # else # if !@HAVE_DECL_UNSETENV@ _GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); # endif # if !(@REPLACE_UNSETENV@ && !@HAVE_DECL_UNSETENV@) _GL_CXXALIASWARN (unsetenv); # endif #elif defined GNULIB_POSIXCHECK # undef unsetenv # if HAVE_RAW_DECL_UNSETENV _GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " "use gnulib module unsetenv for portability"); # endif #endif /* Convert a wide character to a multibyte character. */ #if @GNULIB_WCTOMB@ # if @REPLACE_WCTOMB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctomb # define wctomb rpl_wctomb # endif _GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc)); _GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc)); # else _GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc)); # endif _GL_CXXALIASWARN (wctomb); #endif #endif /* _@GUARD_PREFIX@_STDLIB_H */ #endif /* _@GUARD_PREFIX@_STDLIB_H */ #endif gsasl-1.8.1/lib/gltests/getcwd-lgpl.c0000644000000000000000000000637013516251666014352 00000000000000/* Copyright (C) 2011-2019 Free Software Foundation, Inc. This file is part of gnulib. 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 3 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, see . */ #include /* Specification */ #include #include #include #include #if GNULIB_GETCWD /* Favor GPL getcwd.c if both getcwd and getcwd-lgpl modules are in use. */ typedef int dummy; #else /* Get the name of the current working directory, and put it in SIZE bytes of BUF. Returns NULL if the directory couldn't be determined (perhaps because the absolute name was longer than PATH_MAX, or because of missing read/search permissions on parent directories) or SIZE was too small. If successful, returns BUF. If BUF is NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as necessary. */ # undef getcwd char * rpl_getcwd (char *buf, size_t size) { char *ptr; char *result; /* Handle single size operations. */ if (buf) { if (!size) { errno = EINVAL; return NULL; } return getcwd (buf, size); } if (size) { buf = malloc (size); if (!buf) { errno = ENOMEM; return NULL; } result = getcwd (buf, size); if (!result) { int saved_errno = errno; free (buf); errno = saved_errno; } return result; } /* Flexible sizing requested. Avoid over-allocation for the common case of a name that fits within a 4k page, minus some space for local variables, to be sure we don't skip over a guard page. */ { char tmp[4032]; size = sizeof tmp; ptr = getcwd (tmp, size); if (ptr) { result = strdup (ptr); if (!result) errno = ENOMEM; return result; } if (errno != ERANGE) return NULL; } /* My what a large directory name we have. */ do { size <<= 1; ptr = realloc (buf, size); if (ptr == NULL) { free (buf); errno = ENOMEM; return NULL; } buf = ptr; result = getcwd (buf, size); } while (!result && errno == ERANGE); if (!result) { int saved_errno = errno; free (buf); errno = saved_errno; } else { /* Here result == buf. */ /* Shrink result before returning it. */ size_t actual_size = strlen (result) + 1; if (actual_size < size) { char *shrinked_result = realloc (result, actual_size); if (shrinked_result != NULL) result = shrinked_result; } } return result; } #endif gsasl-1.8.1/lib/gltests/test-bind.c0000644000000000000000000000310513516251667014024 00000000000000/* Test binding a server socket to a port. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (bind, int, (int, const struct sockaddr *, socklen_t)); #include #include #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { struct sockaddr_in addr; addr.sin_family = AF_INET; inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr); addr.sin_port = htons (80); { errno = 0; ASSERT (bind (-1, (const struct sockaddr *) &addr, sizeof (addr)) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (bind (99, (const struct sockaddr *) &addr, sizeof (addr)) == -1); ASSERT (errno == EBADF); } } return 0; } gsasl-1.8.1/lib/gltests/sockets.h0000644000000000000000000000315313516251667013616 00000000000000/* sockets.h - wrappers for Windows socket functions Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Simon Josefsson */ #ifndef SOCKETS_H #define SOCKETS_H 1 #define SOCKETS_1_0 0x0001 #define SOCKETS_1_1 0x0101 #define SOCKETS_2_0 0x0002 #define SOCKETS_2_1 0x0102 #define SOCKETS_2_2 0x0202 int gl_sockets_startup (int version) #ifndef WINDOWS_SOCKETS _GL_ATTRIBUTE_CONST #endif ; int gl_sockets_cleanup (void) #ifndef WINDOWS_SOCKETS _GL_ATTRIBUTE_CONST #endif ; /* This function is useful it you create a socket using gnulib's Winsock wrappers but needs to pass on the socket handle to some other library that only accepts sockets. */ #ifdef WINDOWS_SOCKETS # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif static inline SOCKET gl_fd_to_handle (int fd) { return _get_osfhandle (fd); } #else # define gl_fd_to_handle(x) (x) #endif /* WINDOWS_SOCKETS */ #endif /* SOCKETS_H */ gsasl-1.8.1/lib/gltests/test-string.c0000644000000000000000000000201013516251672014404 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "verify.h" /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */ verify (sizeof NULL == sizeof (void *)); int main (void) { return 0; } gsasl-1.8.1/lib/gltests/sys_select.in.h0000644000000000000000000002756713516251667014744 00000000000000/* Substitute for . Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif @PRAGMA_COLUMNS@ /* On OSF/1 and Solaris 2.6, and both include . On Cygwin, includes . Simply delegate to the system's header in this case. */ #if (@HAVE_SYS_SELECT_H@ \ && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TYPES_H \ && ((defined __osf__ && defined _SYS_TYPES_H_ \ && defined _OSF_SOURCE) \ || (defined __sun && defined _SYS_TYPES_H \ && (! (defined _XOPEN_SOURCE || defined _POSIX_C_SOURCE) \ || defined __EXTENSIONS__)))) # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TYPES_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ #elif (@HAVE_SYS_SELECT_H@ \ && (defined _CYGWIN_SYS_TIME_H \ || (!defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H \ && ((defined __osf__ && defined _SYS_TIME_H_ \ && defined _OSF_SOURCE) \ || (defined __sun && defined _SYS_TIME_H \ && (! (defined _XOPEN_SOURCE \ || defined _POSIX_C_SOURCE) \ || defined __EXTENSIONS__)))))) # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ /* On IRIX 6.5, includes , which includes , which includes . At this point we cannot include , because that includes , which gives a syntax error because has not been completely processed. Simply delegate to the system's header in this case. */ #elif @HAVE_SYS_SELECT_H@ && defined __sgi && (defined _SYS_BSD_TYPES_H && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H) # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ /* On OpenBSD 5.0, includes , which includes . At this point we cannot include , because that includes gnulib's pthread.h override, which gives a syntax error because /usr/include/pthread.h has not been completely processed. Simply delegate to the system's header in this case. */ #elif @HAVE_SYS_SELECT_H@ && defined __OpenBSD__ && (defined _PTHREAD_H_ && !defined PTHREAD_MUTEX_INITIALIZER) # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ #else #ifndef _@GUARD_PREFIX@_SYS_SELECT_H /* On many platforms, assumes prior inclusion of . Also, mingw defines sigset_t there, instead of in where it belongs. */ #include #if @HAVE_SYS_SELECT_H@ /* On OSF/1 4.0, provides only a forward declaration of 'struct timeval', and no definition of this type. Also, Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select() in . But avoid namespace pollution on glibc systems and "unknown type name" problems on Cygwin. */ # if !(defined __GLIBC__ || defined __CYGWIN__) # include # endif /* On AIX 7 and Solaris 10, provides an FD_ZERO implementation that relies on memset(), but without including . But in any case avoid namespace pollution on glibc systems. */ # if (defined __OpenBSD__ || defined _AIX || defined __sun || defined __osf__ || defined __BEOS__) \ && ! defined __GLIBC__ # include # endif /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ #endif /* Get definition of 'sigset_t'. But avoid namespace pollution on glibc systems and "unknown type name" problems on Cygwin. Do this after the include_next (for the sake of OpenBSD 5.0) but before the split double-inclusion guard (for the sake of Solaris). */ #if !((defined __GLIBC__ || defined __CYGWIN__) && !defined __UCLIBC__) # include #endif #ifndef _@GUARD_PREFIX@_SYS_SELECT_H #define _@GUARD_PREFIX@_SYS_SELECT_H #if !@HAVE_SYS_SELECT_H@ /* A platform that lacks . */ /* Get the 'struct timeval' and 'fd_set' types and the FD_* macros on most platforms. */ # include /* On HP-UX 11, provides an FD_ZERO implementation that relies on memset(), but without including . */ # if defined __hpux # include # endif /* On native Windows platforms: Get the 'fd_set' type. Get the close() declaration before we override it. */ # if @HAVE_WINSOCK2_H@ # if !defined _GL_INCLUDING_WINSOCK2_H # define _GL_INCLUDING_WINSOCK2_H # include # undef _GL_INCLUDING_WINSOCK2_H # endif # include # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Fix some definitions from . */ #if @HAVE_WINSOCK2_H@ # if !GNULIB_defined_rpl_fd_isset /* Re-define FD_ISSET to avoid a WSA call while we are not using network sockets. */ static int rpl_fd_isset (SOCKET fd, fd_set * set) { u_int i; if (set == NULL) return 0; for (i = 0; i < set->fd_count; i++) if (set->fd_array[i] == fd) return 1; return 0; } # define GNULIB_defined_rpl_fd_isset 1 # endif # undef FD_ISSET # define FD_ISSET(fd, set) rpl_fd_isset(fd, set) #endif /* Hide some function declarations from . */ #if @HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_UNISTD_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # else _GL_WARN_ON_USE (close, "close() used without including "); # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname gethostname_used_without_including_unistd_h # else _GL_WARN_ON_USE (gethostname, "gethostname() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h # undef recv # define recv recv_used_without_including_sys_socket_h # undef send # define send send_used_without_including_sys_socket_h # undef recvfrom # define recvfrom recvfrom_used_without_including_sys_socket_h # undef sendto # define sendto sendto_used_without_including_sys_socket_h # undef setsockopt # define setsockopt setsockopt_used_without_including_sys_socket_h # undef shutdown # define shutdown shutdown_used_without_including_sys_socket_h # else _GL_WARN_ON_USE (socket, "socket() used without including "); _GL_WARN_ON_USE (connect, "connect() used without including "); _GL_WARN_ON_USE (accept, "accept() used without including "); _GL_WARN_ON_USE (bind, "bind() used without including "); _GL_WARN_ON_USE (getpeername, "getpeername() used without including "); _GL_WARN_ON_USE (getsockname, "getsockname() used without including "); _GL_WARN_ON_USE (getsockopt, "getsockopt() used without including "); _GL_WARN_ON_USE (listen, "listen() used without including "); _GL_WARN_ON_USE (recv, "recv() used without including "); _GL_WARN_ON_USE (send, "send() used without including "); _GL_WARN_ON_USE (recvfrom, "recvfrom() used without including "); _GL_WARN_ON_USE (sendto, "sendto() used without including "); _GL_WARN_ON_USE (setsockopt, "setsockopt() used without including "); _GL_WARN_ON_USE (shutdown, "shutdown() used without including "); # endif # endif #endif #if @GNULIB_PSELECT@ # if @REPLACE_PSELECT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pselect # define pselect rpl_pselect # endif _GL_FUNCDECL_RPL (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); _GL_CXXALIAS_RPL (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); # else # if !@HAVE_PSELECT@ _GL_FUNCDECL_SYS (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); # endif _GL_CXXALIAS_SYS (pselect, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timespec const *restrict, const sigset_t *restrict)); # endif _GL_CXXALIASWARN (pselect); #elif defined GNULIB_POSIXCHECK # undef pselect # if HAVE_RAW_DECL_PSELECT _GL_WARN_ON_USE (pselect, "pselect is not portable - " "use gnulib module pselect for portability"); # endif #endif #if @GNULIB_SELECT@ # if @REPLACE_SELECT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select rpl_select # endif _GL_FUNCDECL_RPL (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timeval *restrict)); _GL_CXXALIAS_RPL (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timeval *restrict)); # else _GL_CXXALIAS_SYS (select, int, (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timeval *restrict)); # endif _GL_CXXALIASWARN (select); #elif @HAVE_WINSOCK2_H@ # undef select # define select select_used_without_requesting_gnulib_module_select #elif defined GNULIB_POSIXCHECK # undef select # if HAVE_RAW_DECL_SELECT _GL_WARN_ON_USE (select, "select is not always POSIX compliant - " "use gnulib module select for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_SELECT_H */ #endif /* _@GUARD_PREFIX@_SYS_SELECT_H */ #endif /* OSF/1 */ gsasl-1.8.1/lib/gltests/alloca.c0000644000000000000000000003447313516251666013401 00000000000000/* alloca.c -- allocate automatically reclaimed memory (Mostly) portable public-domain implementation -- D A Gwyn This implementation of the PWB library alloca function, which is used to allocate space off the run-time stack so that it is automatically reclaimed upon procedure exit, was inspired by discussions with J. Q. Johnson of Cornell. J.Otto Tennant contributed the Cray support. There are some preprocessor constants that can be defined when compiling for your specific system, for improved efficiency; however, the defaults should be okay. The general concept of this implementation is to keep track of all alloca-allocated blocks, and reclaim any that are found to be deeper in the stack than the current invocation. This heuristic does not reclaim storage as soon as it becomes invalid, but it will do so eventually. As a special case, alloca(0) reclaims storage without allocating any. It is a good idea to use alloca(0) in your main control loop, etc. to force garbage collection. */ #include #include #include #include #ifdef emacs # include "lisp.h" # include "blockinput.h" # ifdef EMACS_FREE # undef free # define free EMACS_FREE # endif #else # define memory_full() abort () #endif /* If compiling with GCC 2, this file's not needed. */ #if !defined (__GNUC__) || __GNUC__ < 2 /* If someone has defined alloca as a macro, there must be some other way alloca is supposed to work. */ # ifndef alloca # ifdef emacs # ifdef static /* actually, only want this if static is defined as "" -- this is for usg, in which emacs must undefine static in order to make unexec workable */ # ifndef STACK_DIRECTION you lose -- must know STACK_DIRECTION at compile-time /* Using #error here is not wise since this file should work for old and obscure compilers. */ # endif /* STACK_DIRECTION undefined */ # endif /* static */ # endif /* emacs */ /* If your stack is a linked list of frames, you have to provide an "address metric" ADDRESS_FUNCTION macro. */ # if defined (CRAY) && defined (CRAY_STACKSEG_END) long i00afunc (); # define ADDRESS_FUNCTION(arg) (char *) i00afunc (&(arg)) # else # define ADDRESS_FUNCTION(arg) &(arg) # endif /* Define STACK_DIRECTION if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ # ifndef STACK_DIRECTION # define STACK_DIRECTION 0 /* Direction unknown. */ # endif # if STACK_DIRECTION != 0 # define STACK_DIR STACK_DIRECTION /* Known at compile-time. */ # else /* STACK_DIRECTION == 0; need run-time code. */ static int stack_dir; /* 1 or -1 once known. */ # define STACK_DIR stack_dir static int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } # endif /* STACK_DIRECTION == 0 */ /* An "alloca header" is used to: (a) chain together all alloca'ed blocks; (b) keep track of stack depth. It is very important that sizeof(header) agree with malloc alignment chunk size. The following default should work okay. */ # ifndef ALIGN_SIZE # define ALIGN_SIZE sizeof(double) # endif typedef union hdr { char align[ALIGN_SIZE]; /* To force sizeof(header). */ struct { union hdr *next; /* For chaining headers. */ char *deep; /* For stack depth measure. */ } h; } header; static header *last_alloca_header = NULL; /* -> last alloca header. */ /* Return a pointer to at least SIZE bytes of storage, which will be automatically reclaimed upon exit from the procedure that called alloca. Originally, this space was supposed to be taken from the current stack frame of the caller, but that method cannot be made to work for some implementations of C, for example under Gould's UTX/32. */ void * alloca (size_t size) { auto char probe; /* Probes stack depth: */ register char *depth = ADDRESS_FUNCTION (probe); # if STACK_DIRECTION == 0 if (STACK_DIR == 0) /* Unknown growth direction. */ STACK_DIR = find_stack_direction (NULL, (size & 1) + 20); # endif /* Reclaim garbage, defined as all alloca'd storage that was allocated from deeper in the stack than currently. */ { register header *hp; /* Traverses linked list. */ # ifdef emacs BLOCK_INPUT; # endif for (hp = last_alloca_header; hp != NULL;) if ((STACK_DIR > 0 && hp->h.deep > depth) || (STACK_DIR < 0 && hp->h.deep < depth)) { register header *np = hp->h.next; free (hp); /* Collect garbage. */ hp = np; /* -> next header. */ } else break; /* Rest are not deeper. */ last_alloca_header = hp; /* -> last valid storage. */ # ifdef emacs UNBLOCK_INPUT; # endif } if (size == 0) return NULL; /* No allocation required. */ /* Allocate combined header + user data storage. */ { /* Address of header. */ register header *new; size_t combined_size = sizeof (header) + size; if (combined_size < sizeof (header)) memory_full (); new = malloc (combined_size); if (! new) memory_full (); new->h.next = last_alloca_header; new->h.deep = depth; last_alloca_header = new; /* User storage begins just after header. */ return (void *) (new + 1); } } # if defined (CRAY) && defined (CRAY_STACKSEG_END) # ifdef DEBUG_I00AFUNC # include # endif # ifndef CRAY_STACK # define CRAY_STACK # ifndef CRAY2 /* Stack structures for CRAY-1, CRAY X-MP, and CRAY Y-MP */ struct stack_control_header { long shgrow:32; /* Number of times stack has grown. */ long shaseg:32; /* Size of increments to stack. */ long shhwm:32; /* High water mark of stack. */ long shsize:32; /* Current size of stack (all segments). */ }; /* The stack segment linkage control information occurs at the high-address end of a stack segment. (The stack grows from low addresses to high addresses.) The initial part of the stack segment linkage control information is 0200 (octal) words. This provides for register storage for the routine which overflows the stack. */ struct stack_segment_linkage { long ss[0200]; /* 0200 overflow words. */ long sssize:32; /* Number of words in this segment. */ long ssbase:32; /* Offset to stack base. */ long:32; long sspseg:32; /* Offset to linkage control of previous segment of stack. */ long:32; long sstcpt:32; /* Pointer to task common address block. */ long sscsnm; /* Private control structure number for microtasking. */ long ssusr1; /* Reserved for user. */ long ssusr2; /* Reserved for user. */ long sstpid; /* Process ID for pid based multi-tasking. */ long ssgvup; /* Pointer to multitasking thread giveup. */ long sscray[7]; /* Reserved for Cray Research. */ long ssa0; long ssa1; long ssa2; long ssa3; long ssa4; long ssa5; long ssa6; long ssa7; long sss0; long sss1; long sss2; long sss3; long sss4; long sss5; long sss6; long sss7; }; # else /* CRAY2 */ /* The following structure defines the vector of words returned by the STKSTAT library routine. */ struct stk_stat { long now; /* Current total stack size. */ long maxc; /* Amount of contiguous space which would be required to satisfy the maximum stack demand to date. */ long high_water; /* Stack high-water mark. */ long overflows; /* Number of stack overflow ($STKOFEN) calls. */ long hits; /* Number of internal buffer hits. */ long extends; /* Number of block extensions. */ long stko_mallocs; /* Block allocations by $STKOFEN. */ long underflows; /* Number of stack underflow calls ($STKRETN). */ long stko_free; /* Number of deallocations by $STKRETN. */ long stkm_free; /* Number of deallocations by $STKMRET. */ long segments; /* Current number of stack segments. */ long maxs; /* Maximum number of stack segments so far. */ long pad_size; /* Stack pad size. */ long current_address; /* Current stack segment address. */ long current_size; /* Current stack segment size. This number is actually corrupted by STKSTAT to include the fifteen word trailer area. */ long initial_address; /* Address of initial segment. */ long initial_size; /* Size of initial segment. */ }; /* The following structure describes the data structure which trails any stack segment. I think that the description in 'asdef' is out of date. I only describe the parts that I am sure about. */ struct stk_trailer { long this_address; /* Address of this block. */ long this_size; /* Size of this block (does not include this trailer). */ long unknown2; long unknown3; long link; /* Address of trailer block of previous segment. */ long unknown5; long unknown6; long unknown7; long unknown8; long unknown9; long unknown10; long unknown11; long unknown12; long unknown13; long unknown14; }; # endif /* CRAY2 */ # endif /* not CRAY_STACK */ # ifdef CRAY2 /* Determine a "stack measure" for an arbitrary ADDRESS. I doubt that "lint" will like this much. */ static long i00afunc (long *address) { struct stk_stat status; struct stk_trailer *trailer; long *block, size; long result = 0; /* We want to iterate through all of the segments. The first step is to get the stack status structure. We could do this more quickly and more directly, perhaps, by referencing the $LM00 common block, but I know that this works. */ STKSTAT (&status); /* Set up the iteration. */ trailer = (struct stk_trailer *) (status.current_address + status.current_size - 15); /* There must be at least one stack segment. Therefore it is a fatal error if "trailer" is null. */ if (trailer == NULL) abort (); /* Discard segments that do not contain our argument address. */ while (trailer != NULL) { block = (long *) trailer->this_address; size = trailer->this_size; if (block == NULL || size == 0) abort (); trailer = (struct stk_trailer *) trailer->link; if ((block <= address) && (address < (block + size))) break; } /* Set the result to the offset in this segment and add the sizes of all predecessor segments. */ result = address - block; if (trailer == NULL) { return result; } do { if (trailer->this_size <= 0) abort (); result += trailer->this_size; trailer = (struct stk_trailer *) trailer->link; } while (trailer != NULL); /* We are done. Note that if you present a bogus address (one not in any segment), you will get a different number back, formed from subtracting the address of the first block. This is probably not what you want. */ return (result); } # else /* not CRAY2 */ /* Stack address function for a CRAY-1, CRAY X-MP, or CRAY Y-MP. Determine the number of the cell within the stack, given the address of the cell. The purpose of this routine is to linearize, in some sense, stack addresses for alloca. */ static long i00afunc (long address) { long stkl = 0; long size, pseg, this_segment, stack; long result = 0; struct stack_segment_linkage *ssptr; /* Register B67 contains the address of the end of the current stack segment. If you (as a subprogram) store your registers on the stack and find that you are past the contents of B67, you have overflowed the segment. B67 also points to the stack segment linkage control area, which is what we are really interested in. */ stkl = CRAY_STACKSEG_END (); ssptr = (struct stack_segment_linkage *) stkl; /* If one subtracts 'size' from the end of the segment, one has the address of the first word of the segment. If this is not the first segment, 'pseg' will be nonzero. */ pseg = ssptr->sspseg; size = ssptr->sssize; this_segment = stkl - size; /* It is possible that calling this routine itself caused a stack overflow. Discard stack segments which do not contain the target address. */ while (!(this_segment <= address && address <= stkl)) { # ifdef DEBUG_I00AFUNC fprintf (stderr, "%011o %011o %011o\n", this_segment, address, stkl); # endif if (pseg == 0) break; stkl = stkl - pseg; ssptr = (struct stack_segment_linkage *) stkl; size = ssptr->sssize; pseg = ssptr->sspseg; this_segment = stkl - size; } result = address - this_segment; /* If you subtract pseg from the current end of the stack, you get the address of the previous stack segment's end. This seems a little convoluted to me, but I'll bet you save a cycle somewhere. */ while (pseg != 0) { # ifdef DEBUG_I00AFUNC fprintf (stderr, "%011o %011o\n", pseg, size); # endif stkl = stkl - pseg; ssptr = (struct stack_segment_linkage *) stkl; size = ssptr->sssize; pseg = ssptr->sspseg; result += size; } return (result); } # endif /* not CRAY2 */ # endif /* CRAY */ # endif /* no alloca */ #endif /* not GCC 2 */ gsasl-1.8.1/lib/gltests/test-fstat.c0000644000000000000000000000237513516251667014241 00000000000000/* Tests of fstat() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fstat, int, (int, struct stat *)); #include #include #include "macros.h" int main (int argc, char *argv[]) { /* Test behaviour for invalid file descriptors. */ { struct stat statbuf; errno = 0; ASSERT (fstat (-1, &statbuf) == -1); ASSERT (errno == EBADF); } { struct stat statbuf; close (99); errno = 0; ASSERT (fstat (99, &statbuf) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/lib/gltests/test-getrusage.c0000644000000000000000000000504613516251667015104 00000000000000/* Test of getting resource utilization. Copyright (C) 2012-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2012. */ #include #include #include "signature.h" SIGNATURE_CHECK (getrusage, int, (int, struct rusage *)); #include #include "macros.h" volatile unsigned int counter; int main (void) { struct rusage before; struct rusage after; int ret; ret = getrusage (RUSAGE_SELF, &before); ASSERT (ret == 0); /* Busy-loop for one second. */ { struct timeval t0; ASSERT (gettimeofday (&t0, NULL) == 0); for (;;) { struct timeval t; int i; for (i = 0; i < 1000000; i++) counter++; ASSERT (gettimeofday (&t, NULL) == 0); if (t.tv_sec - t0.tv_sec > 1 || (t.tv_sec - t0.tv_sec == 1 && t.tv_usec >= t0.tv_usec)) break; } } ret = getrusage (RUSAGE_SELF, &after); ASSERT (ret == 0); ASSERT (after.ru_utime.tv_sec >= before.ru_utime.tv_sec); ASSERT (after.ru_stime.tv_sec >= before.ru_stime.tv_sec); { /* Compute time spent during busy-looping (in usec). */ unsigned int spent_utime = (after.ru_utime.tv_sec > before.ru_utime.tv_sec ? (after.ru_utime.tv_sec - before.ru_utime.tv_sec - 1) * 1000000U + after.ru_utime.tv_usec + (1000000U - before.ru_utime.tv_usec) : after.ru_utime.tv_usec - before.ru_utime.tv_usec); unsigned int spent_stime = (after.ru_stime.tv_sec > before.ru_stime.tv_sec ? (after.ru_stime.tv_sec - before.ru_stime.tv_sec - 1) * 1000000U + after.ru_stime.tv_usec + (1000000U - before.ru_stime.tv_usec) : after.ru_stime.tv_usec - before.ru_stime.tv_usec); ASSERT (spent_utime + spent_stime <= 2 * 1000000U); /* Assume that the load during this busy-looping was less than 100. */ ASSERT (spent_utime + spent_stime > 10000U); } return 0; } gsasl-1.8.1/lib/gltests/select.c0000644000000000000000000004003313516251667013413 00000000000000/* Emulation for select(2) Contributed by Paolo Bonzini. Copyright 2008-2019 Free Software Foundation, Inc. This file is part of gnulib. 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 3, 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, see . */ #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ /* Native Windows. */ #include #include #include #include #include #include #include #include #include /* Get the overridden 'struct timeval'. */ #include #if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" #else # include #endif #undef select /* Avoid warnings from gcc -Wcast-function-type. */ #define GetProcAddress \ (void *) GetProcAddress struct bitset { unsigned char in[FD_SETSIZE / CHAR_BIT]; unsigned char out[FD_SETSIZE / CHAR_BIT]; }; /* Declare data structures for ntdll functions. */ typedef struct _FILE_PIPE_LOCAL_INFORMATION { ULONG NamedPipeType; ULONG NamedPipeConfiguration; ULONG MaximumInstances; ULONG CurrentInstances; ULONG InboundQuota; ULONG ReadDataAvailable; ULONG OutboundQuota; ULONG WriteQuotaAvailable; ULONG NamedPipeState; ULONG NamedPipeEnd; } FILE_PIPE_LOCAL_INFORMATION, *PFILE_PIPE_LOCAL_INFORMATION; typedef struct _IO_STATUS_BLOCK { union { DWORD Status; PVOID Pointer; } u; ULONG_PTR Information; } IO_STATUS_BLOCK, *PIO_STATUS_BLOCK; typedef enum _FILE_INFORMATION_CLASS { FilePipeLocalInformation = 24 } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS; typedef DWORD (WINAPI *PNtQueryInformationFile) (HANDLE, IO_STATUS_BLOCK *, VOID *, ULONG, FILE_INFORMATION_CLASS); #ifndef PIPE_BUF #define PIPE_BUF 512 #endif static BOOL IsConsoleHandle (HANDLE h) { DWORD mode; return GetConsoleMode (h, &mode) != 0; } static BOOL IsSocketHandle (HANDLE h) { WSANETWORKEVENTS ev; if (IsConsoleHandle (h)) return FALSE; /* Under Wine, it seems that getsockopt returns 0 for pipes too. WSAEnumNetworkEvents instead distinguishes the two correctly. */ ev.lNetworkEvents = 0xDEADBEEF; WSAEnumNetworkEvents ((SOCKET) h, NULL, &ev); return ev.lNetworkEvents != 0xDEADBEEF; } /* Compute output fd_sets for libc descriptor FD (whose Windows handle is H). */ static int windows_poll_handle (HANDLE h, int fd, struct bitset *rbits, struct bitset *wbits, struct bitset *xbits) { BOOL read, write, except; int i, ret; INPUT_RECORD *irbuffer; DWORD avail, nbuffer; BOOL bRet; IO_STATUS_BLOCK iosb; FILE_PIPE_LOCAL_INFORMATION fpli; static PNtQueryInformationFile NtQueryInformationFile; static BOOL once_only; read = write = except = FALSE; switch (GetFileType (h)) { case FILE_TYPE_DISK: read = TRUE; write = TRUE; break; case FILE_TYPE_PIPE: if (!once_only) { NtQueryInformationFile = (PNtQueryInformationFile) GetProcAddress (GetModuleHandle ("ntdll.dll"), "NtQueryInformationFile"); once_only = TRUE; } if (PeekNamedPipe (h, NULL, 0, NULL, &avail, NULL) != 0) { if (avail) read = TRUE; } else if (GetLastError () == ERROR_BROKEN_PIPE) ; else { /* It was the write-end of the pipe. Check if it is writable. If NtQueryInformationFile fails, optimistically assume the pipe is writable. This could happen on Windows 9x, where NtQueryInformationFile is not available, or if we inherit a pipe that doesn't permit FILE_READ_ATTRIBUTES access on the write end (I think this should not happen since Windows XP SP2; WINE seems fine too). Otherwise, ensure that enough space is available for atomic writes. */ memset (&iosb, 0, sizeof (iosb)); memset (&fpli, 0, sizeof (fpli)); if (!NtQueryInformationFile || NtQueryInformationFile (h, &iosb, &fpli, sizeof (fpli), FilePipeLocalInformation) || fpli.WriteQuotaAvailable >= PIPE_BUF || (fpli.OutboundQuota < PIPE_BUF && fpli.WriteQuotaAvailable == fpli.OutboundQuota)) write = TRUE; } break; case FILE_TYPE_CHAR: write = TRUE; if (!(rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) break; ret = WaitForSingleObject (h, 0); if (ret == WAIT_OBJECT_0) { if (!IsConsoleHandle (h)) { read = TRUE; break; } nbuffer = avail = 0; bRet = GetNumberOfConsoleInputEvents (h, &nbuffer); /* Screen buffers handles are filtered earlier. */ assert (bRet); if (nbuffer == 0) { except = TRUE; break; } irbuffer = (INPUT_RECORD *) alloca (nbuffer * sizeof (INPUT_RECORD)); bRet = PeekConsoleInput (h, irbuffer, nbuffer, &avail); if (!bRet || avail == 0) { except = TRUE; break; } for (i = 0; i < avail; i++) if (irbuffer[i].EventType == KEY_EVENT) read = TRUE; } break; default: ret = WaitForSingleObject (h, 0); write = TRUE; if (ret == WAIT_OBJECT_0) read = TRUE; break; } ret = 0; if (read && (rbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) { rbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); ret++; } if (write && (wbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) { wbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); ret++; } if (except && (xbits->in[fd / CHAR_BIT] & (1 << (fd & (CHAR_BIT - 1))))) { xbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); ret++; } return ret; } int rpl_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, struct timeval *timeout) #undef timeval { static struct timeval tv0; static HANDLE hEvent; HANDLE h, handle_array[FD_SETSIZE + 2]; fd_set handle_rfds, handle_wfds, handle_xfds; struct bitset rbits, wbits, xbits; unsigned char anyfds_in[FD_SETSIZE / CHAR_BIT]; DWORD ret, wait_timeout, nhandles, nsock, nbuffer; MSG msg; int i, fd, rc; clock_t tend; if (nfds > FD_SETSIZE) nfds = FD_SETSIZE; if (!timeout) wait_timeout = INFINITE; else { wait_timeout = timeout->tv_sec * 1000 + timeout->tv_usec / 1000; /* select is also used as a portable usleep. */ if (!rfds && !wfds && !xfds) { Sleep (wait_timeout); return 0; } } if (!hEvent) hEvent = CreateEvent (NULL, FALSE, FALSE, NULL); handle_array[0] = hEvent; nhandles = 1; nsock = 0; /* Copy descriptors to bitsets. At the same time, eliminate bits in the "wrong" direction for console input buffers and screen buffers, because screen buffers are waitable and they will block until a character is available. */ memset (&rbits, 0, sizeof (rbits)); memset (&wbits, 0, sizeof (wbits)); memset (&xbits, 0, sizeof (xbits)); memset (anyfds_in, 0, sizeof (anyfds_in)); if (rfds) for (i = 0; i < rfds->fd_count; i++) { fd = rfds->fd_array[i]; h = (HANDLE) _get_osfhandle (fd); if (IsConsoleHandle (h) && !GetNumberOfConsoleInputEvents (h, &nbuffer)) continue; rbits.in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); anyfds_in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); } else rfds = (fd_set *) alloca (sizeof (fd_set)); if (wfds) for (i = 0; i < wfds->fd_count; i++) { fd = wfds->fd_array[i]; h = (HANDLE) _get_osfhandle (fd); if (IsConsoleHandle (h) && GetNumberOfConsoleInputEvents (h, &nbuffer)) continue; wbits.in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); anyfds_in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); } else wfds = (fd_set *) alloca (sizeof (fd_set)); if (xfds) for (i = 0; i < xfds->fd_count; i++) { fd = xfds->fd_array[i]; xbits.in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); anyfds_in[fd / CHAR_BIT] |= 1 << (fd & (CHAR_BIT - 1)); } else xfds = (fd_set *) alloca (sizeof (fd_set)); /* Zero all the fd_sets, including the application's. */ FD_ZERO (rfds); FD_ZERO (wfds); FD_ZERO (xfds); FD_ZERO (&handle_rfds); FD_ZERO (&handle_wfds); FD_ZERO (&handle_xfds); /* Classify handles. Create fd sets for sockets, poll the others. */ for (i = 0; i < nfds; i++) { if ((anyfds_in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) == 0) continue; h = (HANDLE) _get_osfhandle (i); if (!h) { errno = EBADF; return -1; } if (IsSocketHandle (h)) { int requested = FD_CLOSE; /* See above; socket handles are mapped onto select, but we need to map descriptors to handles. */ if (rbits.in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) { requested |= FD_READ | FD_ACCEPT; FD_SET ((SOCKET) h, rfds); FD_SET ((SOCKET) h, &handle_rfds); } if (wbits.in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) { requested |= FD_WRITE | FD_CONNECT; FD_SET ((SOCKET) h, wfds); FD_SET ((SOCKET) h, &handle_wfds); } if (xbits.in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) { requested |= FD_OOB; FD_SET ((SOCKET) h, xfds); FD_SET ((SOCKET) h, &handle_xfds); } WSAEventSelect ((SOCKET) h, hEvent, requested); nsock++; } else { handle_array[nhandles++] = h; /* Poll now. If we get an event, do not wait below. */ if (wait_timeout != 0 && windows_poll_handle (h, i, &rbits, &wbits, &xbits)) wait_timeout = 0; } } /* Place a sentinel at the end of the array. */ handle_array[nhandles] = NULL; /* When will the waiting period expire? */ if (wait_timeout != INFINITE) tend = clock () + wait_timeout; restart: if (wait_timeout == 0 || nsock == 0) rc = 0; else { /* See if we need to wait in the loop below. If any select is ready, do MsgWaitForMultipleObjects anyway to dispatch messages, but no need to call select again. */ rc = select (0, &handle_rfds, &handle_wfds, &handle_xfds, &tv0); if (rc == 0) { /* Restore the fd_sets for the other select we do below. */ memcpy (&handle_rfds, rfds, sizeof (fd_set)); memcpy (&handle_wfds, wfds, sizeof (fd_set)); memcpy (&handle_xfds, xfds, sizeof (fd_set)); } else wait_timeout = 0; } /* How much is left to wait? */ if (wait_timeout != INFINITE) { clock_t tnow = clock (); if (tend >= tnow) wait_timeout = tend - tnow; else wait_timeout = 0; } for (;;) { ret = MsgWaitForMultipleObjects (nhandles, handle_array, FALSE, wait_timeout, QS_ALLINPUT); if (ret == WAIT_OBJECT_0 + nhandles) { /* new input of some other kind */ BOOL bRet; while ((bRet = PeekMessage (&msg, NULL, 0, 0, PM_REMOVE)) != 0) { TranslateMessage (&msg); DispatchMessage (&msg); } } else break; } /* If we haven't done it yet, check the status of the sockets. */ if (rc == 0 && nsock > 0) rc = select (0, &handle_rfds, &handle_wfds, &handle_xfds, &tv0); if (nhandles > 1) { /* Count results that are not counted in the return value of select. */ nhandles = 1; for (i = 0; i < nfds; i++) { if ((anyfds_in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) == 0) continue; h = (HANDLE) _get_osfhandle (i); if (h == handle_array[nhandles]) { /* Not a socket. */ nhandles++; windows_poll_handle (h, i, &rbits, &wbits, &xbits); if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) || wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) || xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) rc++; } } if (rc == 0 && (wait_timeout == INFINITE /* If NHANDLES > 1, but no bits are set, it means we've been told incorrectly that some handle was signaled. This happens with anonymous pipes, which always cause MsgWaitForMultipleObjects to exit immediately, but no data is found ready to be read by windows_poll_handle. To avoid a total failure (whereby we return zero and don't wait at all), let's poll in a more busy loop. */ || (wait_timeout != 0 && nhandles > 1))) { /* Sleep 1 millisecond to avoid busy wait and retry with the original fd_sets. */ memcpy (&handle_rfds, rfds, sizeof (fd_set)); memcpy (&handle_wfds, wfds, sizeof (fd_set)); memcpy (&handle_xfds, xfds, sizeof (fd_set)); SleepEx (1, TRUE); goto restart; } if (timeout && wait_timeout == 0 && rc == 0) timeout->tv_sec = timeout->tv_usec = 0; } /* Now fill in the results. */ FD_ZERO (rfds); FD_ZERO (wfds); FD_ZERO (xfds); nhandles = 1; for (i = 0; i < nfds; i++) { if ((anyfds_in[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) == 0) continue; h = (HANDLE) _get_osfhandle (i); if (h != handle_array[nhandles]) { /* Perform handle->descriptor mapping. */ WSAEventSelect ((SOCKET) h, NULL, 0); if (FD_ISSET (h, &handle_rfds)) FD_SET (i, rfds); if (FD_ISSET (h, &handle_wfds)) FD_SET (i, wfds); if (FD_ISSET (h, &handle_xfds)) FD_SET (i, xfds); } else { /* Not a socket. */ nhandles++; if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) FD_SET (i, rfds); if (wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) FD_SET (i, wfds); if (xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) FD_SET (i, xfds); } } return rc; } #else /* ! Native Windows. */ #include #include /* NULL */ #include #include #undef select int rpl_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, struct timeval *timeout) { int i; /* FreeBSD 8.2 has a bug: it does not always detect invalid fds. */ if (nfds < 0 || nfds > FD_SETSIZE) { errno = EINVAL; return -1; } for (i = 0; i < nfds; i++) { if (((rfds && FD_ISSET (i, rfds)) || (wfds && FD_ISSET (i, wfds)) || (xfds && FD_ISSET (i, xfds))) && dup2 (i, i) != i) return -1; } /* Interix 3.5 has a bug: it does not support nfds == 0. */ if (nfds == 0) { nfds = 1; rfds = NULL; wfds = NULL; xfds = NULL; } return select (nfds, rfds, wfds, xfds, timeout); } #endif gsasl-1.8.1/lib/gltests/fd-hook.c0000644000000000000000000000700413516251666013463 00000000000000/* Hook for making file descriptor functions close(), ioctl() extensible. Copyright (C) 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2009. 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 3 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, see . */ #include /* Specification. */ #include "fd-hook.h" #include /* Currently, this entire code is only needed for the handling of sockets on native Windows platforms. */ #if WINDOWS_SOCKETS /* The first and last link in the doubly linked list. Initially the list is empty. */ static struct fd_hook anchor = { &anchor, &anchor, NULL, NULL }; int execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, int fd) { if (remaining_list == &anchor) /* End of list reached. */ return primary (fd); else return remaining_list->private_close_fn (remaining_list->private_next, primary, fd); } int execute_all_close_hooks (gl_close_fn primary, int fd) { return execute_close_hooks (anchor.private_next, primary, fd); } int execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg) { if (remaining_list == &anchor) /* End of list reached. */ return primary (fd, request, arg); else return remaining_list->private_ioctl_fn (remaining_list->private_next, primary, fd, request, arg); } int execute_all_ioctl_hooks (gl_ioctl_fn primary, int fd, int request, void *arg) { return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); } void register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link) { if (close_hook == NULL) close_hook = execute_close_hooks; if (ioctl_hook == NULL) ioctl_hook = execute_ioctl_hooks; if (link->private_next == NULL && link->private_prev == NULL) { /* Add the link to the doubly linked list. */ link->private_next = anchor.private_next; link->private_prev = &anchor; link->private_close_fn = close_hook; link->private_ioctl_fn = ioctl_hook; anchor.private_next->private_prev = link; anchor.private_next = link; } else { /* The link is already in use. */ if (link->private_close_fn != close_hook || link->private_ioctl_fn != ioctl_hook) abort (); } } void unregister_fd_hook (struct fd_hook *link) { struct fd_hook *next = link->private_next; struct fd_hook *prev = link->private_prev; if (next != NULL && prev != NULL) { /* The link is in use. Remove it from the doubly linked list. */ prev->private_next = next; next->private_prev = prev; /* Clear the link, to mark it unused. */ link->private_next = NULL; link->private_prev = NULL; link->private_close_fn = NULL; link->private_ioctl_fn = NULL; } } #endif gsasl-1.8.1/lib/gltests/test-sys_uio.c0000644000000000000000000000173613516251670014604 00000000000000/* Test of substitute. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2011. */ #include #include /* Check that necessary types are defined. */ size_t a; ssize_t b; struct iovec c; int main (void) { return a + b + !!c.iov_base + c.iov_len; } gsasl-1.8.1/lib/gltests/test-accept.c0000644000000000000000000000277313516251667014361 00000000000000/* Test accepting a connection to a server socket. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (accept, int, (int, struct sockaddr *, socklen_t *)); #include #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { struct sockaddr_in addr; socklen_t addrlen = sizeof (addr); errno = 0; ASSERT (accept (-1, (struct sockaddr *) &addr, &addrlen) == -1); ASSERT (errno == EBADF); } { struct sockaddr_in addr; socklen_t addrlen = sizeof (addr); close (99); errno = 0; ASSERT (accept (99, (struct sockaddr *) &addr, &addrlen) == -1); ASSERT (errno == EBADF); } return 0; } gsasl-1.8.1/lib/gltests/test-fcntl-h.c0000644000000000000000000000554313516251667014453 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include /* Check that the various O_* macros are defined. */ int o = (O_DIRECT | O_DIRECTORY | O_DSYNC | O_IGNORE_CTTY | O_NDELAY | O_NOATIME | O_NONBLOCK | O_NOCTTY | O_NOFOLLOW | O_NOLINK | O_NOLINKS | O_NOTRANS | O_RSYNC | O_SYNC | O_TTY_INIT | O_BINARY | O_TEXT); /* Check that the various SEEK_* macros are defined. */ int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; /* Check that the FD_* macros are defined. */ int i = FD_CLOEXEC; /* Check that the types are all defined. */ pid_t t1; off_t t2; mode_t t3; int main (void) { /* Ensure no overlap in SEEK_*. */ switch (0) { case SEEK_CUR: case SEEK_END: case SEEK_SET: ; } /* Ensure no dangerous overlap in non-zero gnulib-defined replacements. */ switch (O_RDONLY) { /* Access modes */ case O_RDONLY: case O_WRONLY: case O_RDWR: #if O_EXEC && O_EXEC != O_RDONLY case O_EXEC: #endif #if O_SEARCH && O_EXEC != O_SEARCH && O_SEARCH != O_RDONLY case O_SEARCH: #endif i = ! (~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)); break; /* Everyone should have these */ case O_CREAT: case O_EXCL: case O_TRUNC: case O_APPEND: break; /* These might be 0 or O_RDONLY, only test non-zero versions. */ #if O_CLOEXEC case O_CLOEXEC: #endif #if O_DIRECT case O_DIRECT: #endif #if O_DIRECTORY case O_DIRECTORY: #endif #if O_DSYNC case O_DSYNC: #endif #if O_IGNORE_CTTY case O_IGNORE_CTTY: #endif #if O_NOATIME case O_NOATIME: #endif #if O_NONBLOCK case O_NONBLOCK: #endif #if O_NOCTTY case O_NOCTTY: #endif #if O_NOFOLLOW case O_NOFOLLOW: #endif #if O_NOLINK case O_NOLINK: #endif #if O_NOLINKS case O_NOLINKS: #endif #if O_NOTRANS case O_NOTRANS: #endif #if O_RSYNC && O_RSYNC != O_DSYNC case O_RSYNC: #endif #if O_SYNC && O_SYNC != O_DSYNC && O_SYNC != O_RSYNC case O_SYNC: #endif #if O_TTY_INIT case O_TTY_INIT: #endif #if O_BINARY case O_BINARY: #endif #if O_TEXT case O_TEXT: #endif ; } return !i; } gsasl-1.8.1/lib/gltests/test-fwrite.c0000644000000000000000000000513113516251671014404 00000000000000/* Test of fwrite() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fwrite, size_t, (const void *, size_t, size_t, FILE *)); #include #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #include "macros.h" int main (int argc, char **argv) { const char *filename = "test-fwrite.txt"; /* We don't have an fwrite() function that installs an invalid parameter handler so far. So install that handler here, explicitly. */ #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING gl_msvc_inval_ensure_handler (); #endif /* Test that fwrite() on an unbuffered stream sets errno if someone else closes the stream fd behind the back of stdio. */ { FILE *fp = fopen (filename, "w"); char buf[5] = "world"; ASSERT (fp != NULL); setvbuf (fp, NULL, _IONBF, 0); ASSERT (close (fileno (fp)) == 0); errno = 0; ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } /* Test that fwrite() on an unbuffered stream sets errno if the stream was constructed with an invalid file descriptor. */ { FILE *fp = fdopen (-1, "w"); if (fp != NULL) { char buf[5] = "world"; setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } { FILE *fp; close (99); fp = fdopen (99, "w"); if (fp != NULL) { char buf[5] = "world"; setvbuf (fp, NULL, _IONBF, 0); errno = 0; ASSERT (fwrite (buf, 1, sizeof (buf), fp) == 0); ASSERT (errno == EBADF); ASSERT (ferror (fp)); fclose (fp); } } /* Clean up. */ unlink (filename); return 0; } gsasl-1.8.1/lib/gltests/inet_pton.c0000644000000000000000000001537313516251667014144 00000000000000/* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form Copyright (C) 2006, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* * Copyright (c) 1996,1999 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ #include /* Specification. */ #include #if HAVE_DECL_INET_PTON # undef inet_pton int rpl_inet_pton (int af, const char *restrict src, void *restrict dst) { return inet_pton (af, src, dst); } #else # include # include # include # define NS_INADDRSZ 4 # define NS_IN6ADDRSZ 16 # define NS_INT16SZ 2 /* * WARNING: Don't even consider trying to compile this on a system where * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. */ static int inet_pton4 (const char *src, unsigned char *dst); # if HAVE_IPV6 static int inet_pton6 (const char *src, unsigned char *dst); # endif /* int * inet_pton(af, src, dst) * convert from presentation format (which usually means ASCII printable) * to network format (which is usually some kind of binary format). * return: * 1 if the address was valid for the specified address family * 0 if the address wasn't valid ('dst' is untouched in this case) * -1 if some other error occurred ('dst' is untouched in this case, too) * author: * Paul Vixie, 1996. */ int inet_pton (int af, const char *restrict src, void *restrict dst) { switch (af) { case AF_INET: return (inet_pton4 (src, dst)); # if HAVE_IPV6 case AF_INET6: return (inet_pton6 (src, dst)); # endif default: errno = EAFNOSUPPORT; return (-1); } /* NOTREACHED */ } /* int * inet_pton4(src, dst) * like inet_aton() but without all the hexadecimal, octal (with the * exception of 0) and shorthand. * return: * 1 if 'src' is a valid dotted quad, else 0. * notice: * does not touch 'dst' unless it's returning 1. * author: * Paul Vixie, 1996. */ static int inet_pton4 (const char *restrict src, unsigned char *restrict dst) { int saw_digit, octets, ch; unsigned char tmp[NS_INADDRSZ], *tp; saw_digit = 0; octets = 0; *(tp = tmp) = 0; while ((ch = *src++) != '\0') { if (ch >= '0' && ch <= '9') { unsigned new = *tp * 10 + (ch - '0'); if (saw_digit && *tp == 0) return (0); if (new > 255) return (0); *tp = new; if (!saw_digit) { if (++octets > 4) return (0); saw_digit = 1; } } else if (ch == '.' && saw_digit) { if (octets == 4) return (0); *++tp = 0; saw_digit = 0; } else return (0); } if (octets < 4) return (0); memcpy (dst, tmp, NS_INADDRSZ); return (1); } # if HAVE_IPV6 /* int * inet_pton6(src, dst) * convert presentation level address to network order binary form. * return: * 1 if 'src' is a valid [RFC1884 2.2] address, else 0. * notice: * (1) does not touch 'dst' unless it's returning 1. * (2) :: in a full address is silently ignored. * credit: * inspired by Mark Andrews. * author: * Paul Vixie, 1996. */ static int inet_pton6 (const char *restrict src, unsigned char *restrict dst) { static const char xdigits[] = "0123456789abcdef"; unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; const char *curtok; int ch, saw_xdigit; unsigned val; tp = memset (tmp, '\0', NS_IN6ADDRSZ); endp = tp + NS_IN6ADDRSZ; colonp = NULL; /* Leading :: requires some special handling. */ if (*src == ':') if (*++src != ':') return (0); curtok = src; saw_xdigit = 0; val = 0; while ((ch = c_tolower (*src++)) != '\0') { const char *pch; pch = strchr (xdigits, ch); if (pch != NULL) { val <<= 4; val |= (pch - xdigits); if (val > 0xffff) return (0); saw_xdigit = 1; continue; } if (ch == ':') { curtok = src; if (!saw_xdigit) { if (colonp) return (0); colonp = tp; continue; } else if (*src == '\0') { return (0); } if (tp + NS_INT16SZ > endp) return (0); *tp++ = (u_char) (val >> 8) & 0xff; *tp++ = (u_char) val & 0xff; saw_xdigit = 0; val = 0; continue; } if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && inet_pton4 (curtok, tp) > 0) { tp += NS_INADDRSZ; saw_xdigit = 0; break; /* '\0' was seen by inet_pton4(). */ } return (0); } if (saw_xdigit) { if (tp + NS_INT16SZ > endp) return (0); *tp++ = (u_char) (val >> 8) & 0xff; *tp++ = (u_char) val & 0xff; } if (colonp != NULL) { /* * Since some memmove()'s erroneously fail to handle * overlapping regions, we'll do the shift by hand. */ const int n = tp - colonp; int i; if (tp == endp) return (0); for (i = 1; i <= n; i++) { endp[-i] = colonp[n - i]; colonp[n - i] = 0; } tp = endp; } if (tp != endp) return (0); memcpy (dst, tmp, NS_IN6ADDRSZ); return (1); } # endif #endif gsasl-1.8.1/lib/gltests/test-ioctl.c0000644000000000000000000000241513516251667014225 00000000000000/* Test of ioctl() function. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include "signature.h" SIGNATURE_CHECK (ioctl, int, (int, int, ...)); #include #include #include "macros.h" int main (void) { #ifdef FIONREAD /* Test behaviour for invalid file descriptors. */ { int value; errno = 0; ASSERT (ioctl (-1, FIONREAD, &value) == -1); ASSERT (errno == EBADF); } { int value; close (99); errno = 0; ASSERT (ioctl (99, FIONREAD, &value) == -1); ASSERT (errno == EBADF); } #endif return 0; } gsasl-1.8.1/lib/gltests/test-alloca-opt.c0000644000000000000000000000276313516251671015147 00000000000000/* Test of optional automatic memory allocation. Copyright (C) 2005, 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #if HAVE_ALLOCA static void do_allocation (int n) { void *ptr = alloca (n); (void) ptr; } void (*func) (int) = do_allocation; #endif int main () { #if HAVE_ALLOCA int i; /* Repeat a lot of times, to make sure there's no memory leak. */ for (i = 0; i < 100000; i++) { /* Try various values. n = 0 gave a crash on Alpha with gcc-2.5.8. Some versions of Mac OS X have a stack size limit of 512 KB. */ func (34); func (134); func (399); func (510823); func (129321); func (0); func (4070); func (4095); func (1); func (16582); } #endif return 0; } gsasl-1.8.1/lib/gltests/binary-io.h0000644000000000000000000000457313516251666014042 00000000000000/* Binary mode I/O. Copyright (C) 2001, 2003, 2005, 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #ifndef _BINARY_H #define _BINARY_H /* For systems that distinguish between text and binary I/O. O_BINARY is guaranteed by the gnulib . */ #include /* The MSVC7 doesn't like to be included after '#define fileno ...', so we include it here first. */ #include #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef BINARY_IO_INLINE # define BINARY_IO_INLINE _GL_INLINE #endif #if O_BINARY # if defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__ # include /* declares setmode() */ # define __gl_setmode setmode # else # define __gl_setmode _setmode # undef fileno # define fileno _fileno # endif #else /* On reasonable systems, binary I/O is the only choice. */ /* Use a function rather than a macro, to avoid gcc warnings "warning: statement with no effect". */ BINARY_IO_INLINE int __gl_setmode (int fd _GL_UNUSED, int mode _GL_UNUSED) { return O_BINARY; } #endif /* Set FD's mode to MODE, which should be either O_TEXT or O_BINARY. Return the old mode if successful, -1 (setting errno) on failure. Ordinarily this function would be called 'setmode', since that is its name on MS-Windows, but it is called 'set_binary_mode' here to avoid colliding with a BSD function of another name. */ #if defined __DJGPP__ || defined __EMX__ extern int set_binary_mode (int fd, int mode); #else BINARY_IO_INLINE int set_binary_mode (int fd, int mode) { return __gl_setmode (fd, mode); } #endif /* This macro is obsolescent. */ #define SET_BINARY(fd) ((void) set_binary_mode (fd, O_BINARY)) _GL_INLINE_HEADER_END #endif /* _BINARY_H */ gsasl-1.8.1/lib/gltests/Makefile.in0000644000000000000000000100231313521017117014017 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. 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@ TESTS = test-accept$(EXEEXT) test-alloca-opt$(EXEEXT) \ test-arpa_inet$(EXEEXT) test-base64$(EXEEXT) test-binary-io.sh \ test-bind$(EXEEXT) test-byteswap$(EXEEXT) \ test-c-ctype$(EXEEXT) test-cloexec$(EXEEXT) \ test-close$(EXEEXT) test-connect$(EXEEXT) \ test-gc-hmac-md5$(EXEEXT) test-gc-hmac-sha1$(EXEEXT) \ test-gc-md5$(EXEEXT) test-gc-pbkdf2-sha1$(EXEEXT) \ test-gc-sha1$(EXEEXT) test-gc$(EXEEXT) test-hmac-md5$(EXEEXT) \ test-hmac-sha1$(EXEEXT) test-md5$(EXEEXT) test-sha1$(EXEEXT) \ test-ctype$(EXEEXT) test-dup2$(EXEEXT) test-environ$(EXEEXT) \ test-errno$(EXEEXT) test-fcntl-h$(EXEEXT) test-fcntl$(EXEEXT) \ test-fdopen$(EXEEXT) test-fflush$(EXEEXT) test-fflush2.sh \ test-fgetc$(EXEEXT) test-float$(EXEEXT) test-fpurge$(EXEEXT) \ test-fputc$(EXEEXT) test-fread$(EXEEXT) test-freading$(EXEEXT) \ test-fseek.sh test-fseek2.sh test-fseeko.sh test-fseeko2.sh \ test-fseeko3.sh test-fseeko4.sh test-fstat$(EXEEXT) \ test-ftell.sh test-ftell2.sh test-ftell3$(EXEEXT) \ test-ftello.sh test-ftello2.sh test-ftello3$(EXEEXT) \ test-ftello4.sh test-ftruncate.sh test-fwrite$(EXEEXT) \ test-getcwd-lgpl$(EXEEXT) test-getdelim$(EXEEXT) \ test-getdtablesize$(EXEEXT) test-getline$(EXEEXT) \ test-getrusage$(EXEEXT) test-gettimeofday$(EXEEXT) \ test-ignore-value$(EXEEXT) test-inet_pton$(EXEEXT) \ test-intprops$(EXEEXT) test-inttypes$(EXEEXT) \ test-ioctl$(EXEEXT) test-isblank$(EXEEXT) \ test-limits-h$(EXEEXT) test-listen$(EXEEXT) \ test-rwlock1$(EXEEXT) test-lock$(EXEEXT) test-once1$(EXEEXT) \ test-once2$(EXEEXT) test-lseek.sh test-lstat$(EXEEXT) \ test-malloca$(EXEEXT) test-memchr$(EXEEXT) \ test-memmem$(EXEEXT) test-nanosleep$(EXEEXT) \ test-netinet_in$(EXEEXT) test-open$(EXEEXT) \ test-pathmax$(EXEEXT) test-perror.sh test-perror2$(EXEEXT) \ test-pipe$(EXEEXT) test-pthread$(EXEEXT) \ test-pthread-thread$(EXEEXT) test-pthread_sigmask1$(EXEEXT) \ test-pthread_sigmask2$(EXEEXT) test-raise$(EXEEXT) \ test-sched$(EXEEXT) test-select$(EXEEXT) test-select-in.sh \ test-select-out.sh test-setsockopt$(EXEEXT) \ test-sigaction$(EXEEXT) test-signal-h$(EXEEXT) \ test-sigprocmask$(EXEEXT) test-sleep$(EXEEXT) \ test-sockets$(EXEEXT) test-stat$(EXEEXT) \ test-stat-time$(EXEEXT) test-stdalign$(EXEEXT) \ test-stdbool$(EXEEXT) test-stddef$(EXEEXT) \ test-stdint$(EXEEXT) test-stdio$(EXEEXT) test-stdlib$(EXEEXT) \ test-strerror$(EXEEXT) test-strerror_r$(EXEEXT) \ test-string$(EXEEXT) test-strnlen$(EXEEXT) \ test-strverscmp$(EXEEXT) test-symlink$(EXEEXT) \ test-sys_ioctl$(EXEEXT) test-sys_resource$(EXEEXT) \ test-sys_select$(EXEEXT) test-sys_socket$(EXEEXT) \ test-sys_stat$(EXEEXT) test-sys_time$(EXEEXT) \ test-sys_types$(EXEEXT) test-sys_uio$(EXEEXT) test-init.sh \ test-thread_self$(EXEEXT) test-thread_create$(EXEEXT) \ test-time$(EXEEXT) test-unistd$(EXEEXT) test-unsetenv$(EXEEXT) \ test-usleep$(EXEEXT) test-vasnprintf$(EXEEXT) \ test-vasprintf$(EXEEXT) test-verify$(EXEEXT) test-verify.sh \ test-wchar$(EXEEXT) XFAIL_TESTS = noinst_PROGRAMS = bench-md5$(EXEEXT) bench-sha1$(EXEEXT) check_PROGRAMS = test-accept$(EXEEXT) test-alloca-opt$(EXEEXT) \ test-arpa_inet$(EXEEXT) test-base64$(EXEEXT) \ test-binary-io$(EXEEXT) test-bind$(EXEEXT) \ test-byteswap$(EXEEXT) test-c-ctype$(EXEEXT) \ test-cloexec$(EXEEXT) test-close$(EXEEXT) \ test-connect$(EXEEXT) test-gc-hmac-md5$(EXEEXT) \ test-gc-hmac-sha1$(EXEEXT) test-gc-md5$(EXEEXT) \ test-gc-pbkdf2-sha1$(EXEEXT) test-gc-sha1$(EXEEXT) \ test-gc$(EXEEXT) test-hmac-md5$(EXEEXT) \ test-hmac-sha1$(EXEEXT) test-md5$(EXEEXT) test-sha1$(EXEEXT) \ test-ctype$(EXEEXT) test-dup2$(EXEEXT) test-environ$(EXEEXT) \ test-errno$(EXEEXT) test-fcntl-h$(EXEEXT) test-fcntl$(EXEEXT) \ test-fdopen$(EXEEXT) test-fflush$(EXEEXT) \ test-fflush2$(EXEEXT) test-fgetc$(EXEEXT) test-float$(EXEEXT) \ test-fpurge$(EXEEXT) test-fputc$(EXEEXT) test-fread$(EXEEXT) \ test-freading$(EXEEXT) test-fseek$(EXEEXT) \ test-fseeko$(EXEEXT) test-fseeko3$(EXEEXT) \ test-fseeko4$(EXEEXT) test-fstat$(EXEEXT) test-ftell$(EXEEXT) \ test-ftell3$(EXEEXT) test-ftello$(EXEEXT) \ test-ftello3$(EXEEXT) test-ftello4$(EXEEXT) \ test-ftruncate$(EXEEXT) test-fwrite$(EXEEXT) \ test-getcwd-lgpl$(EXEEXT) test-getdelim$(EXEEXT) \ test-getdtablesize$(EXEEXT) test-getline$(EXEEXT) \ test-getrusage$(EXEEXT) test-gettimeofday$(EXEEXT) \ test-ignore-value$(EXEEXT) test-inet_pton$(EXEEXT) \ test-intprops$(EXEEXT) test-inttypes$(EXEEXT) \ test-ioctl$(EXEEXT) test-isblank$(EXEEXT) \ test-limits-h$(EXEEXT) test-listen$(EXEEXT) \ test-rwlock1$(EXEEXT) test-lock$(EXEEXT) test-once1$(EXEEXT) \ test-once2$(EXEEXT) test-lseek$(EXEEXT) test-lstat$(EXEEXT) \ test-malloca$(EXEEXT) test-memchr$(EXEEXT) \ test-memmem$(EXEEXT) test-nanosleep$(EXEEXT) \ test-netinet_in$(EXEEXT) test-open$(EXEEXT) \ test-pathmax$(EXEEXT) test-perror$(EXEEXT) \ test-perror2$(EXEEXT) test-pipe$(EXEEXT) test-pthread$(EXEEXT) \ test-pthread-thread$(EXEEXT) test-pthread_sigmask1$(EXEEXT) \ test-pthread_sigmask2$(EXEEXT) test-raise$(EXEEXT) \ test-sched$(EXEEXT) test-select$(EXEEXT) \ test-select-fd$(EXEEXT) test-select-stdin$(EXEEXT) \ test-setsockopt$(EXEEXT) test-sigaction$(EXEEXT) \ test-signal-h$(EXEEXT) test-sigprocmask$(EXEEXT) \ test-sleep$(EXEEXT) test-sockets$(EXEEXT) test-stat$(EXEEXT) \ test-stat-time$(EXEEXT) test-stdalign$(EXEEXT) \ test-stdbool$(EXEEXT) test-stddef$(EXEEXT) \ test-stdint$(EXEEXT) test-stdio$(EXEEXT) test-stdlib$(EXEEXT) \ test-strerror$(EXEEXT) test-strerror_r$(EXEEXT) \ test-string$(EXEEXT) test-strnlen$(EXEEXT) \ test-strverscmp$(EXEEXT) test-symlink$(EXEEXT) \ test-sys_ioctl$(EXEEXT) test-sys_resource$(EXEEXT) \ test-sys_select$(EXEEXT) test-sys_socket$(EXEEXT) \ test-sys_stat$(EXEEXT) test-sys_time$(EXEEXT) \ test-sys_types$(EXEEXT) test-sys_uio$(EXEEXT) \ test-thread_self$(EXEEXT) test-thread_create$(EXEEXT) \ test-time$(EXEEXT) test-unistd$(EXEEXT) test-unsetenv$(EXEEXT) \ test-usleep$(EXEEXT) test-vasnprintf$(EXEEXT) \ test-vasprintf$(EXEEXT) test-verify$(EXEEXT) \ test-wchar$(EXEEXT) EXTRA_PROGRAMS = test-verify-try$(EXEEXT) subdir = gltests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) LIBRARIES = $(noinst_LIBRARIES) AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libtests_a_AR = $(AR) $(ARFLAGS) am__DEPENDENCIES_1 = am__dirstamp = $(am__leading_dot)dirstamp am_libtests_a_OBJECTS = binary-io.$(OBJEXT) cloexec.$(OBJEXT) \ fd-hook.$(OBJEXT) glthread/lock.$(OBJEXT) malloca.$(OBJEXT) \ sig-handler.$(OBJEXT) sockets.$(OBJEXT) \ glthread/thread.$(OBJEXT) glthread/threadlib.$(OBJEXT) libtests_a_OBJECTS = $(am_libtests_a_OBJECTS) bench_md5_SOURCES = bench-md5.c bench_md5_OBJECTS = bench-md5.$(OBJEXT) am__DEPENDENCIES_2 = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) bench_md5_DEPENDENCIES = $(am__DEPENDENCIES_2) 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 = bench_sha1_SOURCES = bench-sha1.c bench_sha1_OBJECTS = bench-sha1.$(OBJEXT) bench_sha1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_accept_SOURCES = test-accept.c test_accept_OBJECTS = test-accept.$(OBJEXT) test_accept_DEPENDENCIES = $(am__DEPENDENCIES_2) test_alloca_opt_SOURCES = test-alloca-opt.c test_alloca_opt_OBJECTS = test-alloca-opt.$(OBJEXT) test_alloca_opt_LDADD = $(LDADD) test_alloca_opt_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_arpa_inet_SOURCES = test-arpa_inet.c test_arpa_inet_OBJECTS = test-arpa_inet.$(OBJEXT) test_arpa_inet_LDADD = $(LDADD) test_arpa_inet_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_base64_SOURCES = test-base64.c test_base64_OBJECTS = test-base64.$(OBJEXT) test_base64_LDADD = $(LDADD) test_base64_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_binary_io_SOURCES = test-binary-io.c test_binary_io_OBJECTS = test-binary-io.$(OBJEXT) test_binary_io_LDADD = $(LDADD) test_binary_io_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_bind_SOURCES = test-bind.c test_bind_OBJECTS = test-bind.$(OBJEXT) test_bind_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) test_byteswap_SOURCES = test-byteswap.c test_byteswap_OBJECTS = test-byteswap.$(OBJEXT) test_byteswap_LDADD = $(LDADD) test_byteswap_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_c_ctype_SOURCES = test-c-ctype.c test_c_ctype_OBJECTS = test-c-ctype.$(OBJEXT) test_c_ctype_LDADD = $(LDADD) test_c_ctype_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_cloexec_SOURCES = test-cloexec.c test_cloexec_OBJECTS = test-cloexec.$(OBJEXT) test_cloexec_LDADD = $(LDADD) test_cloexec_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_close_SOURCES = test-close.c test_close_OBJECTS = test-close.$(OBJEXT) test_close_LDADD = $(LDADD) test_close_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_connect_SOURCES = test-connect.c test_connect_OBJECTS = test-connect.$(OBJEXT) test_connect_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_ctype_SOURCES = test-ctype.c test_ctype_OBJECTS = test-ctype.$(OBJEXT) test_ctype_LDADD = $(LDADD) test_ctype_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_dup2_SOURCES = test-dup2.c test_dup2_OBJECTS = test-dup2.$(OBJEXT) test_dup2_LDADD = $(LDADD) test_dup2_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_environ_SOURCES = test-environ.c test_environ_OBJECTS = test-environ.$(OBJEXT) test_environ_LDADD = $(LDADD) test_environ_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_errno_SOURCES = test-errno.c test_errno_OBJECTS = test-errno.$(OBJEXT) test_errno_LDADD = $(LDADD) test_errno_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fcntl_SOURCES = test-fcntl.c test_fcntl_OBJECTS = test-fcntl.$(OBJEXT) test_fcntl_LDADD = $(LDADD) test_fcntl_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fcntl_h_SOURCES = test-fcntl-h.c test_fcntl_h_OBJECTS = test-fcntl-h.$(OBJEXT) test_fcntl_h_LDADD = $(LDADD) test_fcntl_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fdopen_SOURCES = test-fdopen.c test_fdopen_OBJECTS = test-fdopen.$(OBJEXT) test_fdopen_LDADD = $(LDADD) test_fdopen_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fflush_SOURCES = test-fflush.c test_fflush_OBJECTS = test-fflush.$(OBJEXT) test_fflush_LDADD = $(LDADD) test_fflush_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fflush2_SOURCES = test-fflush2.c test_fflush2_OBJECTS = test-fflush2.$(OBJEXT) test_fflush2_LDADD = $(LDADD) test_fflush2_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fgetc_SOURCES = test-fgetc.c test_fgetc_OBJECTS = test-fgetc.$(OBJEXT) test_fgetc_LDADD = $(LDADD) test_fgetc_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_float_SOURCES = test-float.c test_float_OBJECTS = test-float.$(OBJEXT) test_float_LDADD = $(LDADD) test_float_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fpurge_SOURCES = test-fpurge.c test_fpurge_OBJECTS = test-fpurge.$(OBJEXT) test_fpurge_LDADD = $(LDADD) test_fpurge_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fputc_SOURCES = test-fputc.c test_fputc_OBJECTS = test-fputc.$(OBJEXT) test_fputc_LDADD = $(LDADD) test_fputc_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fread_SOURCES = test-fread.c test_fread_OBJECTS = test-fread.$(OBJEXT) test_fread_LDADD = $(LDADD) test_fread_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_freading_SOURCES = test-freading.c test_freading_OBJECTS = test-freading.$(OBJEXT) test_freading_LDADD = $(LDADD) test_freading_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseek_SOURCES = test-fseek.c test_fseek_OBJECTS = test-fseek.$(OBJEXT) test_fseek_LDADD = $(LDADD) test_fseek_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseeko_SOURCES = test-fseeko.c test_fseeko_OBJECTS = test-fseeko.$(OBJEXT) test_fseeko_LDADD = $(LDADD) test_fseeko_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseeko3_SOURCES = test-fseeko3.c test_fseeko3_OBJECTS = test-fseeko3.$(OBJEXT) test_fseeko3_LDADD = $(LDADD) test_fseeko3_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fseeko4_SOURCES = test-fseeko4.c test_fseeko4_OBJECTS = test-fseeko4.$(OBJEXT) test_fseeko4_LDADD = $(LDADD) test_fseeko4_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fstat_SOURCES = test-fstat.c test_fstat_OBJECTS = test-fstat.$(OBJEXT) test_fstat_LDADD = $(LDADD) test_fstat_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ftell_SOURCES = test-ftell.c test_ftell_OBJECTS = test-ftell.$(OBJEXT) test_ftell_LDADD = $(LDADD) test_ftell_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ftell3_SOURCES = test-ftell3.c test_ftell3_OBJECTS = test-ftell3.$(OBJEXT) test_ftell3_LDADD = $(LDADD) test_ftell3_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ftello_SOURCES = test-ftello.c test_ftello_OBJECTS = test-ftello.$(OBJEXT) test_ftello_LDADD = $(LDADD) test_ftello_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ftello3_SOURCES = test-ftello3.c test_ftello3_OBJECTS = test-ftello3.$(OBJEXT) test_ftello3_LDADD = $(LDADD) test_ftello3_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ftello4_SOURCES = test-ftello4.c test_ftello4_OBJECTS = test-ftello4.$(OBJEXT) test_ftello4_LDADD = $(LDADD) test_ftello4_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ftruncate_SOURCES = test-ftruncate.c test_ftruncate_OBJECTS = test-ftruncate.$(OBJEXT) test_ftruncate_LDADD = $(LDADD) test_ftruncate_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_fwrite_SOURCES = test-fwrite.c test_fwrite_OBJECTS = test-fwrite.$(OBJEXT) test_fwrite_LDADD = $(LDADD) test_fwrite_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_gc_SOURCES = test-gc.c test_gc_OBJECTS = test-gc.$(OBJEXT) test_gc_DEPENDENCIES = $(am__DEPENDENCIES_2) test_gc_hmac_md5_SOURCES = test-gc-hmac-md5.c test_gc_hmac_md5_OBJECTS = test-gc-hmac-md5.$(OBJEXT) test_gc_hmac_md5_DEPENDENCIES = $(am__DEPENDENCIES_2) test_gc_hmac_sha1_SOURCES = test-gc-hmac-sha1.c test_gc_hmac_sha1_OBJECTS = test-gc-hmac-sha1.$(OBJEXT) test_gc_hmac_sha1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_gc_md5_SOURCES = test-gc-md5.c test_gc_md5_OBJECTS = test-gc-md5.$(OBJEXT) test_gc_md5_DEPENDENCIES = $(am__DEPENDENCIES_2) test_gc_pbkdf2_sha1_SOURCES = test-gc-pbkdf2-sha1.c test_gc_pbkdf2_sha1_OBJECTS = test-gc-pbkdf2-sha1.$(OBJEXT) test_gc_pbkdf2_sha1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_gc_sha1_SOURCES = test-gc-sha1.c test_gc_sha1_OBJECTS = test-gc-sha1.$(OBJEXT) test_gc_sha1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_getcwd_lgpl_SOURCES = test-getcwd-lgpl.c test_getcwd_lgpl_OBJECTS = test-getcwd-lgpl.$(OBJEXT) test_getcwd_lgpl_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_getdelim_SOURCES = test-getdelim.c test_getdelim_OBJECTS = test-getdelim.$(OBJEXT) test_getdelim_LDADD = $(LDADD) test_getdelim_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_getdtablesize_SOURCES = test-getdtablesize.c test_getdtablesize_OBJECTS = test-getdtablesize.$(OBJEXT) test_getdtablesize_LDADD = $(LDADD) test_getdtablesize_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_getline_SOURCES = test-getline.c test_getline_OBJECTS = test-getline.$(OBJEXT) test_getline_LDADD = $(LDADD) test_getline_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_getrusage_SOURCES = test-getrusage.c test_getrusage_OBJECTS = test-getrusage.$(OBJEXT) test_getrusage_LDADD = $(LDADD) test_getrusage_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_gettimeofday_SOURCES = test-gettimeofday.c test_gettimeofday_OBJECTS = test-gettimeofday.$(OBJEXT) test_gettimeofday_LDADD = $(LDADD) test_gettimeofday_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_hmac_md5_SOURCES = test-hmac-md5.c test_hmac_md5_OBJECTS = test-hmac-md5.$(OBJEXT) test_hmac_md5_DEPENDENCIES = $(am__DEPENDENCIES_2) test_hmac_sha1_SOURCES = test-hmac-sha1.c test_hmac_sha1_OBJECTS = test-hmac-sha1.$(OBJEXT) test_hmac_sha1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_ignore_value_SOURCES = test-ignore-value.c test_ignore_value_OBJECTS = test-ignore-value.$(OBJEXT) test_ignore_value_LDADD = $(LDADD) test_ignore_value_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_inet_pton_SOURCES = test-inet_pton.c test_inet_pton_OBJECTS = test-inet_pton.$(OBJEXT) test_inet_pton_DEPENDENCIES = $(am__DEPENDENCIES_2) test_intprops_SOURCES = test-intprops.c test_intprops_OBJECTS = test-intprops.$(OBJEXT) test_intprops_LDADD = $(LDADD) test_intprops_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_inttypes_SOURCES = test-inttypes.c test_inttypes_OBJECTS = test-inttypes.$(OBJEXT) test_inttypes_LDADD = $(LDADD) test_inttypes_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_ioctl_SOURCES = test-ioctl.c test_ioctl_OBJECTS = test-ioctl.$(OBJEXT) test_ioctl_LDADD = $(LDADD) test_ioctl_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_isblank_SOURCES = test-isblank.c test_isblank_OBJECTS = test-isblank.$(OBJEXT) test_isblank_LDADD = $(LDADD) test_isblank_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_limits_h_SOURCES = test-limits-h.c test_limits_h_OBJECTS = test-limits-h.$(OBJEXT) test_limits_h_LDADD = $(LDADD) test_limits_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_listen_SOURCES = test-listen.c test_listen_OBJECTS = test-listen.$(OBJEXT) test_listen_DEPENDENCIES = $(am__DEPENDENCIES_2) test_lock_SOURCES = test-lock.c test_lock_OBJECTS = test-lock.$(OBJEXT) test_lock_DEPENDENCIES = $(am__DEPENDENCIES_2) test_lseek_SOURCES = test-lseek.c test_lseek_OBJECTS = test-lseek.$(OBJEXT) test_lseek_LDADD = $(LDADD) test_lseek_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_lstat_SOURCES = test-lstat.c test_lstat_OBJECTS = test-lstat.$(OBJEXT) test_lstat_LDADD = $(LDADD) test_lstat_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_malloca_SOURCES = test-malloca.c test_malloca_OBJECTS = test-malloca.$(OBJEXT) test_malloca_LDADD = $(LDADD) test_malloca_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_md5_SOURCES = test-md5.c test_md5_OBJECTS = test-md5.$(OBJEXT) test_md5_DEPENDENCIES = $(am__DEPENDENCIES_2) test_memchr_SOURCES = test-memchr.c test_memchr_OBJECTS = test-memchr.$(OBJEXT) test_memchr_LDADD = $(LDADD) test_memchr_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_memmem_SOURCES = test-memmem.c test_memmem_OBJECTS = test-memmem.$(OBJEXT) test_memmem_LDADD = $(LDADD) test_memmem_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_nanosleep_SOURCES = test-nanosleep.c test_nanosleep_OBJECTS = test-nanosleep.$(OBJEXT) test_nanosleep_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_netinet_in_SOURCES = test-netinet_in.c test_netinet_in_OBJECTS = test-netinet_in.$(OBJEXT) test_netinet_in_LDADD = $(LDADD) test_netinet_in_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) am_test_once1_OBJECTS = test-once.$(OBJEXT) test_once1_OBJECTS = $(am_test_once1_OBJECTS) test_once1_DEPENDENCIES = $(am__DEPENDENCIES_2) am_test_once2_OBJECTS = test-once.$(OBJEXT) test_once2_OBJECTS = $(am_test_once2_OBJECTS) test_once2_DEPENDENCIES = $(am__DEPENDENCIES_2) test_open_SOURCES = test-open.c test_open_OBJECTS = test-open.$(OBJEXT) test_open_LDADD = $(LDADD) test_open_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_pathmax_SOURCES = test-pathmax.c test_pathmax_OBJECTS = test-pathmax.$(OBJEXT) test_pathmax_LDADD = $(LDADD) test_pathmax_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_perror_SOURCES = test-perror.c test_perror_OBJECTS = test-perror.$(OBJEXT) test_perror_LDADD = $(LDADD) test_perror_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_perror2_SOURCES = test-perror2.c test_perror2_OBJECTS = test-perror2.$(OBJEXT) test_perror2_LDADD = $(LDADD) test_perror2_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_pipe_SOURCES = test-pipe.c test_pipe_OBJECTS = test-pipe.$(OBJEXT) test_pipe_LDADD = $(LDADD) test_pipe_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_pthread_SOURCES = test-pthread.c test_pthread_OBJECTS = test-pthread.$(OBJEXT) test_pthread_LDADD = $(LDADD) test_pthread_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_pthread_thread_SOURCES = test-pthread-thread.c test_pthread_thread_OBJECTS = test-pthread-thread.$(OBJEXT) test_pthread_thread_DEPENDENCIES = $(am__DEPENDENCIES_2) test_pthread_sigmask1_SOURCES = test-pthread_sigmask1.c test_pthread_sigmask1_OBJECTS = test-pthread_sigmask1.$(OBJEXT) test_pthread_sigmask1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_pthread_sigmask2_SOURCES = test-pthread_sigmask2.c test_pthread_sigmask2_OBJECTS = test-pthread_sigmask2.$(OBJEXT) test_pthread_sigmask2_DEPENDENCIES = $(am__DEPENDENCIES_2) test_raise_SOURCES = test-raise.c test_raise_OBJECTS = test-raise.$(OBJEXT) test_raise_LDADD = $(LDADD) test_raise_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_rwlock1_SOURCES = test-rwlock1.c test_rwlock1_OBJECTS = test-rwlock1.$(OBJEXT) test_rwlock1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_sched_SOURCES = test-sched.c test_sched_OBJECTS = test-sched.$(OBJEXT) test_sched_LDADD = $(LDADD) test_sched_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_select_SOURCES = test-select.c test_select_OBJECTS = test-select.$(OBJEXT) test_select_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) test_select_fd_SOURCES = test-select-fd.c test_select_fd_OBJECTS = test-select-fd.$(OBJEXT) test_select_fd_DEPENDENCIES = $(am__DEPENDENCIES_2) test_select_stdin_SOURCES = test-select-stdin.c test_select_stdin_OBJECTS = test-select-stdin.$(OBJEXT) test_select_stdin_DEPENDENCIES = $(am__DEPENDENCIES_2) test_setsockopt_SOURCES = test-setsockopt.c test_setsockopt_OBJECTS = test-setsockopt.$(OBJEXT) test_setsockopt_DEPENDENCIES = $(am__DEPENDENCIES_2) test_sha1_SOURCES = test-sha1.c test_sha1_OBJECTS = test-sha1.$(OBJEXT) test_sha1_DEPENDENCIES = $(am__DEPENDENCIES_2) test_sigaction_SOURCES = test-sigaction.c test_sigaction_OBJECTS = test-sigaction.$(OBJEXT) test_sigaction_LDADD = $(LDADD) test_sigaction_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_signal_h_SOURCES = test-signal-h.c test_signal_h_OBJECTS = test-signal-h.$(OBJEXT) test_signal_h_LDADD = $(LDADD) test_signal_h_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sigprocmask_SOURCES = test-sigprocmask.c test_sigprocmask_OBJECTS = test-sigprocmask.$(OBJEXT) test_sigprocmask_LDADD = $(LDADD) test_sigprocmask_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sleep_SOURCES = test-sleep.c test_sleep_OBJECTS = test-sleep.$(OBJEXT) test_sleep_LDADD = $(LDADD) test_sleep_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sockets_SOURCES = test-sockets.c test_sockets_OBJECTS = test-sockets.$(OBJEXT) test_sockets_DEPENDENCIES = $(am__DEPENDENCIES_2) test_stat_SOURCES = test-stat.c test_stat_OBJECTS = test-stat.$(OBJEXT) test_stat_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) test_stat_time_SOURCES = test-stat-time.c test_stat_time_OBJECTS = test-stat-time.$(OBJEXT) test_stat_time_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) test_stdalign_SOURCES = test-stdalign.c test_stdalign_OBJECTS = test-stdalign.$(OBJEXT) test_stdalign_LDADD = $(LDADD) test_stdalign_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdbool_SOURCES = test-stdbool.c test_stdbool_OBJECTS = test-stdbool.$(OBJEXT) test_stdbool_LDADD = $(LDADD) test_stdbool_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stddef_SOURCES = test-stddef.c test_stddef_OBJECTS = test-stddef.$(OBJEXT) test_stddef_LDADD = $(LDADD) test_stddef_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdint_SOURCES = test-stdint.c test_stdint_OBJECTS = test-stdint.$(OBJEXT) test_stdint_LDADD = $(LDADD) test_stdint_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdio_SOURCES = test-stdio.c test_stdio_OBJECTS = test-stdio.$(OBJEXT) test_stdio_LDADD = $(LDADD) test_stdio_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_stdlib_SOURCES = test-stdlib.c test_stdlib_OBJECTS = test-stdlib.$(OBJEXT) test_stdlib_LDADD = $(LDADD) test_stdlib_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_strerror_SOURCES = test-strerror.c test_strerror_OBJECTS = test-strerror.$(OBJEXT) test_strerror_LDADD = $(LDADD) test_strerror_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_strerror_r_SOURCES = test-strerror_r.c test_strerror_r_OBJECTS = test-strerror_r.$(OBJEXT) test_strerror_r_LDADD = $(LDADD) test_strerror_r_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_string_SOURCES = test-string.c test_string_OBJECTS = test-string.$(OBJEXT) test_string_LDADD = $(LDADD) test_string_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_strnlen_SOURCES = test-strnlen.c test_strnlen_OBJECTS = test-strnlen.$(OBJEXT) test_strnlen_LDADD = $(LDADD) test_strnlen_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_strverscmp_SOURCES = test-strverscmp.c test_strverscmp_OBJECTS = test-strverscmp.$(OBJEXT) test_strverscmp_LDADD = $(LDADD) test_strverscmp_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_symlink_SOURCES = test-symlink.c test_symlink_OBJECTS = test-symlink.$(OBJEXT) test_symlink_LDADD = $(LDADD) test_symlink_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_ioctl_SOURCES = test-sys_ioctl.c test_sys_ioctl_OBJECTS = test-sys_ioctl.$(OBJEXT) test_sys_ioctl_LDADD = $(LDADD) test_sys_ioctl_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_resource_SOURCES = test-sys_resource.c test_sys_resource_OBJECTS = test-sys_resource.$(OBJEXT) test_sys_resource_LDADD = $(LDADD) test_sys_resource_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_select_SOURCES = test-sys_select.c test_sys_select_OBJECTS = test-sys_select.$(OBJEXT) test_sys_select_LDADD = $(LDADD) test_sys_select_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_socket_SOURCES = test-sys_socket.c test_sys_socket_OBJECTS = test-sys_socket.$(OBJEXT) test_sys_socket_LDADD = $(LDADD) test_sys_socket_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_stat_SOURCES = test-sys_stat.c test_sys_stat_OBJECTS = test-sys_stat.$(OBJEXT) test_sys_stat_LDADD = $(LDADD) test_sys_stat_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_time_SOURCES = test-sys_time.c test_sys_time_OBJECTS = test-sys_time.$(OBJEXT) test_sys_time_LDADD = $(LDADD) test_sys_time_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_types_SOURCES = test-sys_types.c test_sys_types_OBJECTS = test-sys_types.$(OBJEXT) test_sys_types_LDADD = $(LDADD) test_sys_types_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_sys_uio_SOURCES = test-sys_uio.c test_sys_uio_OBJECTS = test-sys_uio.$(OBJEXT) test_sys_uio_LDADD = $(LDADD) test_sys_uio_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_thread_create_SOURCES = test-thread_create.c test_thread_create_OBJECTS = test-thread_create.$(OBJEXT) test_thread_create_DEPENDENCIES = $(am__DEPENDENCIES_2) test_thread_self_SOURCES = test-thread_self.c test_thread_self_OBJECTS = test-thread_self.$(OBJEXT) test_thread_self_DEPENDENCIES = $(am__DEPENDENCIES_2) test_time_SOURCES = test-time.c test_time_OBJECTS = test-time.$(OBJEXT) test_time_LDADD = $(LDADD) test_time_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_unistd_SOURCES = test-unistd.c test_unistd_OBJECTS = test-unistd.$(OBJEXT) test_unistd_LDADD = $(LDADD) test_unistd_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_unsetenv_SOURCES = test-unsetenv.c test_unsetenv_OBJECTS = test-unsetenv.$(OBJEXT) test_unsetenv_LDADD = $(LDADD) test_unsetenv_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_usleep_SOURCES = test-usleep.c test_usleep_OBJECTS = test-usleep.$(OBJEXT) test_usleep_LDADD = $(LDADD) test_usleep_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_vasnprintf_SOURCES = test-vasnprintf.c test_vasnprintf_OBJECTS = test-vasnprintf.$(OBJEXT) test_vasnprintf_LDADD = $(LDADD) test_vasnprintf_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_vasprintf_SOURCES = test-vasprintf.c test_vasprintf_OBJECTS = test-vasprintf.$(OBJEXT) test_vasprintf_LDADD = $(LDADD) test_vasprintf_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_verify_SOURCES = test-verify.c test_verify_OBJECTS = test-verify.$(OBJEXT) test_verify_LDADD = $(LDADD) test_verify_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_verify_try_SOURCES = test-verify-try.c test_verify_try_OBJECTS = test-verify-try.$(OBJEXT) test_verify_try_LDADD = $(LDADD) test_verify_try_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) test_wchar_SOURCES = test-wchar.c test_wchar_OBJECTS = test-wchar.$(OBJEXT) test_wchar_LDADD = $(LDADD) test_wchar_DEPENDENCIES = libtests.a ../gl/libgl.la libtests.a \ $(am__DEPENDENCIES_1) 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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/accept.Po ./$(DEPDIR)/alloca.Po \ ./$(DEPDIR)/bench-md5.Po ./$(DEPDIR)/bench-sha1.Po \ ./$(DEPDIR)/binary-io.Po ./$(DEPDIR)/bind.Po \ ./$(DEPDIR)/cloexec.Po ./$(DEPDIR)/close.Po \ ./$(DEPDIR)/connect.Po ./$(DEPDIR)/dup2.Po \ ./$(DEPDIR)/fcntl.Po ./$(DEPDIR)/fd-hook.Po \ ./$(DEPDIR)/fdopen.Po ./$(DEPDIR)/ftruncate.Po \ ./$(DEPDIR)/getcwd-lgpl.Po ./$(DEPDIR)/getdtablesize.Po \ ./$(DEPDIR)/getpagesize.Po ./$(DEPDIR)/getrusage.Po \ ./$(DEPDIR)/gettimeofday.Po ./$(DEPDIR)/inet_pton.Po \ ./$(DEPDIR)/ioctl.Po ./$(DEPDIR)/isblank.Po \ ./$(DEPDIR)/listen.Po ./$(DEPDIR)/localtime-buffer.Po \ ./$(DEPDIR)/lstat.Po ./$(DEPDIR)/malloc.Po \ ./$(DEPDIR)/malloca.Po ./$(DEPDIR)/nanosleep.Po \ ./$(DEPDIR)/open.Po ./$(DEPDIR)/perror.Po ./$(DEPDIR)/pipe.Po \ ./$(DEPDIR)/pthread-thread.Po ./$(DEPDIR)/pthread_sigmask.Po \ ./$(DEPDIR)/putenv.Po ./$(DEPDIR)/raise.Po \ ./$(DEPDIR)/select.Po ./$(DEPDIR)/setsockopt.Po \ ./$(DEPDIR)/sig-handler.Po ./$(DEPDIR)/sigaction.Po \ ./$(DEPDIR)/sigprocmask.Po ./$(DEPDIR)/sleep.Po \ ./$(DEPDIR)/socket.Po ./$(DEPDIR)/sockets.Po \ ./$(DEPDIR)/stat-w32.Po ./$(DEPDIR)/stat.Po \ ./$(DEPDIR)/strerror-override.Po ./$(DEPDIR)/strerror.Po \ ./$(DEPDIR)/strerror_r.Po ./$(DEPDIR)/symlink.Po \ ./$(DEPDIR)/test-accept.Po ./$(DEPDIR)/test-alloca-opt.Po \ ./$(DEPDIR)/test-arpa_inet.Po ./$(DEPDIR)/test-base64.Po \ ./$(DEPDIR)/test-binary-io.Po ./$(DEPDIR)/test-bind.Po \ ./$(DEPDIR)/test-byteswap.Po ./$(DEPDIR)/test-c-ctype.Po \ ./$(DEPDIR)/test-cloexec.Po ./$(DEPDIR)/test-close.Po \ ./$(DEPDIR)/test-connect.Po ./$(DEPDIR)/test-ctype.Po \ ./$(DEPDIR)/test-dup2.Po ./$(DEPDIR)/test-environ.Po \ ./$(DEPDIR)/test-errno.Po ./$(DEPDIR)/test-fcntl-h.Po \ ./$(DEPDIR)/test-fcntl.Po ./$(DEPDIR)/test-fdopen.Po \ ./$(DEPDIR)/test-fflush.Po ./$(DEPDIR)/test-fflush2.Po \ ./$(DEPDIR)/test-fgetc.Po ./$(DEPDIR)/test-float.Po \ ./$(DEPDIR)/test-fpurge.Po ./$(DEPDIR)/test-fputc.Po \ ./$(DEPDIR)/test-fread.Po ./$(DEPDIR)/test-freading.Po \ ./$(DEPDIR)/test-fseek.Po ./$(DEPDIR)/test-fseeko.Po \ ./$(DEPDIR)/test-fseeko3.Po ./$(DEPDIR)/test-fseeko4.Po \ ./$(DEPDIR)/test-fstat.Po ./$(DEPDIR)/test-ftell.Po \ ./$(DEPDIR)/test-ftell3.Po ./$(DEPDIR)/test-ftello.Po \ ./$(DEPDIR)/test-ftello3.Po ./$(DEPDIR)/test-ftello4.Po \ ./$(DEPDIR)/test-ftruncate.Po ./$(DEPDIR)/test-fwrite.Po \ ./$(DEPDIR)/test-gc-hmac-md5.Po \ ./$(DEPDIR)/test-gc-hmac-sha1.Po ./$(DEPDIR)/test-gc-md5.Po \ ./$(DEPDIR)/test-gc-pbkdf2-sha1.Po ./$(DEPDIR)/test-gc-sha1.Po \ ./$(DEPDIR)/test-gc.Po ./$(DEPDIR)/test-getcwd-lgpl.Po \ ./$(DEPDIR)/test-getdelim.Po ./$(DEPDIR)/test-getdtablesize.Po \ ./$(DEPDIR)/test-getline.Po ./$(DEPDIR)/test-getrusage.Po \ ./$(DEPDIR)/test-gettimeofday.Po ./$(DEPDIR)/test-hmac-md5.Po \ ./$(DEPDIR)/test-hmac-sha1.Po ./$(DEPDIR)/test-ignore-value.Po \ ./$(DEPDIR)/test-inet_pton.Po ./$(DEPDIR)/test-intprops.Po \ ./$(DEPDIR)/test-inttypes.Po ./$(DEPDIR)/test-ioctl.Po \ ./$(DEPDIR)/test-isblank.Po ./$(DEPDIR)/test-limits-h.Po \ ./$(DEPDIR)/test-listen.Po ./$(DEPDIR)/test-lock.Po \ ./$(DEPDIR)/test-lseek.Po ./$(DEPDIR)/test-lstat.Po \ ./$(DEPDIR)/test-malloca.Po ./$(DEPDIR)/test-md5.Po \ ./$(DEPDIR)/test-memchr.Po ./$(DEPDIR)/test-memmem.Po \ ./$(DEPDIR)/test-nanosleep.Po ./$(DEPDIR)/test-netinet_in.Po \ ./$(DEPDIR)/test-once.Po ./$(DEPDIR)/test-open.Po \ ./$(DEPDIR)/test-pathmax.Po ./$(DEPDIR)/test-perror.Po \ ./$(DEPDIR)/test-perror2.Po ./$(DEPDIR)/test-pipe.Po \ ./$(DEPDIR)/test-pthread-thread.Po ./$(DEPDIR)/test-pthread.Po \ ./$(DEPDIR)/test-pthread_sigmask1.Po \ ./$(DEPDIR)/test-pthread_sigmask2.Po ./$(DEPDIR)/test-raise.Po \ ./$(DEPDIR)/test-rwlock1.Po ./$(DEPDIR)/test-sched.Po \ ./$(DEPDIR)/test-select-fd.Po ./$(DEPDIR)/test-select-stdin.Po \ ./$(DEPDIR)/test-select.Po ./$(DEPDIR)/test-setsockopt.Po \ ./$(DEPDIR)/test-sha1.Po ./$(DEPDIR)/test-sigaction.Po \ ./$(DEPDIR)/test-signal-h.Po ./$(DEPDIR)/test-sigprocmask.Po \ ./$(DEPDIR)/test-sleep.Po ./$(DEPDIR)/test-sockets.Po \ ./$(DEPDIR)/test-stat-time.Po ./$(DEPDIR)/test-stat.Po \ ./$(DEPDIR)/test-stdalign.Po ./$(DEPDIR)/test-stdbool.Po \ ./$(DEPDIR)/test-stddef.Po ./$(DEPDIR)/test-stdint.Po \ ./$(DEPDIR)/test-stdio.Po ./$(DEPDIR)/test-stdlib.Po \ ./$(DEPDIR)/test-strerror.Po ./$(DEPDIR)/test-strerror_r.Po \ ./$(DEPDIR)/test-string.Po ./$(DEPDIR)/test-strnlen.Po \ ./$(DEPDIR)/test-strverscmp.Po ./$(DEPDIR)/test-symlink.Po \ ./$(DEPDIR)/test-sys_ioctl.Po ./$(DEPDIR)/test-sys_resource.Po \ ./$(DEPDIR)/test-sys_select.Po ./$(DEPDIR)/test-sys_socket.Po \ ./$(DEPDIR)/test-sys_stat.Po ./$(DEPDIR)/test-sys_time.Po \ ./$(DEPDIR)/test-sys_types.Po ./$(DEPDIR)/test-sys_uio.Po \ ./$(DEPDIR)/test-thread_create.Po \ ./$(DEPDIR)/test-thread_self.Po ./$(DEPDIR)/test-time.Po \ ./$(DEPDIR)/test-unistd.Po ./$(DEPDIR)/test-unsetenv.Po \ ./$(DEPDIR)/test-usleep.Po ./$(DEPDIR)/test-vasnprintf.Po \ ./$(DEPDIR)/test-vasprintf.Po ./$(DEPDIR)/test-verify-try.Po \ ./$(DEPDIR)/test-verify.Po ./$(DEPDIR)/test-wchar.Po \ ./$(DEPDIR)/unsetenv.Po ./$(DEPDIR)/usleep.Po \ ./$(DEPDIR)/windows-mutex.Po ./$(DEPDIR)/windows-once.Po \ ./$(DEPDIR)/windows-recmutex.Po ./$(DEPDIR)/windows-rwlock.Po \ ./$(DEPDIR)/windows-thread.Po ./$(DEPDIR)/windows-tls.Po \ glthread/$(DEPDIR)/lock.Po glthread/$(DEPDIR)/thread.Po \ glthread/$(DEPDIR)/threadlib.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 = $(libtests_a_SOURCES) $(EXTRA_libtests_a_SOURCES) \ bench-md5.c bench-sha1.c test-accept.c test-alloca-opt.c \ test-arpa_inet.c test-base64.c test-binary-io.c test-bind.c \ test-byteswap.c test-c-ctype.c test-cloexec.c test-close.c \ test-connect.c test-ctype.c test-dup2.c test-environ.c \ test-errno.c test-fcntl.c test-fcntl-h.c test-fdopen.c \ test-fflush.c test-fflush2.c test-fgetc.c test-float.c \ test-fpurge.c test-fputc.c test-fread.c test-freading.c \ test-fseek.c test-fseeko.c test-fseeko3.c test-fseeko4.c \ test-fstat.c test-ftell.c test-ftell3.c test-ftello.c \ test-ftello3.c test-ftello4.c test-ftruncate.c test-fwrite.c \ test-gc.c test-gc-hmac-md5.c test-gc-hmac-sha1.c test-gc-md5.c \ test-gc-pbkdf2-sha1.c test-gc-sha1.c test-getcwd-lgpl.c \ test-getdelim.c test-getdtablesize.c test-getline.c \ test-getrusage.c test-gettimeofday.c test-hmac-md5.c \ test-hmac-sha1.c test-ignore-value.c test-inet_pton.c \ test-intprops.c test-inttypes.c test-ioctl.c test-isblank.c \ test-limits-h.c test-listen.c test-lock.c test-lseek.c \ test-lstat.c test-malloca.c test-md5.c test-memchr.c \ test-memmem.c test-nanosleep.c test-netinet_in.c \ $(test_once1_SOURCES) $(test_once2_SOURCES) test-open.c \ test-pathmax.c test-perror.c test-perror2.c test-pipe.c \ test-pthread.c test-pthread-thread.c test-pthread_sigmask1.c \ test-pthread_sigmask2.c test-raise.c test-rwlock1.c \ test-sched.c test-select.c test-select-fd.c \ test-select-stdin.c test-setsockopt.c test-sha1.c \ test-sigaction.c test-signal-h.c test-sigprocmask.c \ test-sleep.c test-sockets.c test-stat.c test-stat-time.c \ test-stdalign.c test-stdbool.c test-stddef.c test-stdint.c \ test-stdio.c test-stdlib.c test-strerror.c test-strerror_r.c \ test-string.c test-strnlen.c test-strverscmp.c test-symlink.c \ test-sys_ioctl.c test-sys_resource.c test-sys_select.c \ test-sys_socket.c test-sys_stat.c test-sys_time.c \ test-sys_types.c test-sys_uio.c test-thread_create.c \ test-thread_self.c test-time.c test-unistd.c test-unsetenv.c \ test-usleep.c test-vasnprintf.c test-vasprintf.c test-verify.c \ test-verify-try.c test-wchar.c DIST_SOURCES = $(libtests_a_SOURCES) $(EXTRA_libtests_a_SOURCES) \ bench-md5.c bench-sha1.c test-accept.c test-alloca-opt.c \ test-arpa_inet.c test-base64.c test-binary-io.c test-bind.c \ test-byteswap.c test-c-ctype.c test-cloexec.c test-close.c \ test-connect.c test-ctype.c test-dup2.c test-environ.c \ test-errno.c test-fcntl.c test-fcntl-h.c test-fdopen.c \ test-fflush.c test-fflush2.c test-fgetc.c test-float.c \ test-fpurge.c test-fputc.c test-fread.c test-freading.c \ test-fseek.c test-fseeko.c test-fseeko3.c test-fseeko4.c \ test-fstat.c test-ftell.c test-ftell3.c test-ftello.c \ test-ftello3.c test-ftello4.c test-ftruncate.c test-fwrite.c \ test-gc.c test-gc-hmac-md5.c test-gc-hmac-sha1.c test-gc-md5.c \ test-gc-pbkdf2-sha1.c test-gc-sha1.c test-getcwd-lgpl.c \ test-getdelim.c test-getdtablesize.c test-getline.c \ test-getrusage.c test-gettimeofday.c test-hmac-md5.c \ test-hmac-sha1.c test-ignore-value.c test-inet_pton.c \ test-intprops.c test-inttypes.c test-ioctl.c test-isblank.c \ test-limits-h.c test-listen.c test-lock.c test-lseek.c \ test-lstat.c test-malloca.c test-md5.c test-memchr.c \ test-memmem.c test-nanosleep.c test-netinet_in.c \ $(test_once1_SOURCES) $(test_once2_SOURCES) test-open.c \ test-pathmax.c test-perror.c test-perror2.c test-pipe.c \ test-pthread.c test-pthread-thread.c test-pthread_sigmask1.c \ test-pthread_sigmask2.c test-raise.c test-rwlock1.c \ test-sched.c test-select.c test-select-fd.c \ test-select-stdin.c test-setsockopt.c test-sha1.c \ test-sigaction.c test-signal-h.c test-sigprocmask.c \ test-sleep.c test-sockets.c test-stat.c test-stat-time.c \ test-stdalign.c test-stdbool.c test-stddef.c test-stdint.c \ test-stdio.c test-stdlib.c test-strerror.c test-strerror_r.c \ test-string.c test-strnlen.c test-strverscmp.c test-symlink.c \ test-sys_ioctl.c test-sys_resource.c test-sys_select.c \ test-sys_socket.c test-sys_stat.c test-sys_time.c \ test-sys_types.c test-sys_uio.c test-thread_create.c \ test-thread_self.c test-time.c test-unistd.c test-unsetenv.c \ test-usleep.c test-vasnprintf.c test-vasprintf.c test-verify.c \ test-verify-try.c test-wchar.c 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 HEADERS = $(noinst_HEADERS) 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 \ check recheck distdir distdir-am 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)` ETAGS = etags CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } 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__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp \ $(top_srcdir)/build-aux/test-driver alloca.c DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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 = 1.11 foreign subdir-objects SUBDIRS = . TESTS_ENVIRONMENT = EXEEXT='@EXEEXT@' srcdir='$(srcdir)' \ MAKE='$(MAKE)' noinst_HEADERS = noinst_LIBRARIES = check_LIBRARIES = libtests.a EXTRA_DIST = accept.c w32sock.h test-accept.c signature.h macros.h \ alloca.c test-alloca-opt.c arpa_inet.in.h test-arpa_inet.c \ test-base64.c macros.h test-binary-io.sh test-binary-io.c \ macros.h bind.c w32sock.h test-bind.c signature.h macros.h \ test-byteswap.c macros.h test-c-ctype.c macros.h cloexec.h \ test-cloexec.c macros.h close.c test-close.c signature.h \ macros.h connect.c w32sock.h test-connect.c signature.h \ macros.h test-gc-hmac-md5.c test-gc-hmac-sha1.c test-gc-md5.c \ test-gc-pbkdf2-sha1.c test-gc-sha1.c test-gc.c test-hmac-md5.c \ test-hmac-sha1.c test-md5.c test-digest.h bench-md5.c \ bench-digest.h macros.h test-sha1.c test-digest.h bench-sha1.c \ bench-digest.h macros.h ctype.in.h test-ctype.c dosname.h \ dup2.c test-dup2.c signature.h macros.h test-environ.c \ test-errno.c fcntl.c fcntl.in.h test-fcntl-h.c test-fcntl.c \ signature.h macros.h fd-hook.h fdopen.c test-fdopen.c \ signature.h macros.h test-fflush.c test-fflush2.sh \ test-fflush2.c signature.h macros.h test-fgetc.c signature.h \ macros.h filename.h test-float.c macros.h fpucw.h \ test-fpurge.c macros.h test-fputc.c signature.h macros.h \ test-fread.c signature.h macros.h test-freading.c macros.h \ test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h \ test-fseeko.c test-fseeko.sh test-fseeko2.sh test-fseeko3.c \ test-fseeko3.sh test-fseeko4.c test-fseeko4.sh signature.h \ macros.h test-fstat.c signature.h macros.h test-ftell.c \ test-ftell.sh test-ftell2.sh test-ftell3.c signature.h \ macros.h test-ftello.c test-ftello.sh test-ftello2.sh \ test-ftello3.c test-ftello4.c test-ftello4.sh signature.h \ macros.h ftruncate.c test-ftruncate.c test-ftruncate.sh \ signature.h macros.h test-fwrite.c signature.h macros.h \ getcwd-lgpl.c test-getcwd-lgpl.c signature.h macros.h \ test-getdelim.c signature.h macros.h getdtablesize.c \ test-getdtablesize.c signature.h macros.h test-getline.c \ signature.h macros.h getpagesize.c getrusage.c \ test-getrusage.c signature.h macros.h gettimeofday.c \ signature.h test-gettimeofday.c ignore-value.h \ test-ignore-value.c inet_pton.c test-inet_pton.c signature.h \ macros.h test-intprops.c macros.h inttypes.in.h \ test-inttypes.c ioctl.c w32sock.h test-ioctl.c signature.h \ macros.h isblank.c test-isblank.c signature.h macros.h \ test-limits-h.c listen.c w32sock.h test-listen.c signature.h \ macros.h localtime-buffer.c localtime-buffer.h test-rwlock1.c \ test-lock.c test-once.c test-lseek.c test-lseek.sh signature.h \ macros.h lstat.c test-lstat.h test-lstat.c signature.h \ macros.h malloc.c malloca.h test-malloca.c test-memchr.c \ zerosize-ptr.h signature.h macros.h test-memmem.c signature.h \ zerosize-ptr.h macros.h nanosleep.c test-nanosleep.c \ signature.h macros.h netinet_in.in.h test-netinet_in.c open.c \ test-open.h test-open.c signature.h macros.h test-pathmax.c \ perror.c macros.h signature.h test-perror.c test-perror2.c \ test-perror.sh pipe.c test-pipe.c signature.h macros.h \ pthread.in.h test-pthread.c pthread-thread.c \ test-pthread-thread.c macros.h pthread_sigmask.c \ test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h \ macros.h putenv.c raise.c test-raise.c signature.h macros.h \ same-inode.h sched.in.h test-sched.c select.c macros.h \ signature.h test-select.c test-select.h test-select-fd.c \ test-select-in.sh test-select-out.sh test-select-stdin.c \ setsockopt.c w32sock.h test-setsockopt.c signature.h macros.h \ sig-handler.h sigaction.c test-sigaction.c signature.h \ macros.h signal.in.h test-signal-h.c sigprocmask.c \ test-sigprocmask.c signature.h macros.h sleep.c test-sleep.c \ signature.h macros.h _Noreturn.h arg-nonnull.h c++defs.h \ unused-parameter.h warn-on-use.h socket.c w32sock.h w32sock.h \ test-sockets.c stat-w32.c stat-w32.h stat.c test-stat.h \ test-stat.c signature.h macros.h test-stat-time.c macros.h \ nap.h test-stdalign.c macros.h test-stdbool.c test-stddef.c \ test-stdint.c test-stdio.c stdlib.in.h test-stdlib.c \ test-sys_wait.h strerror.c strerror-override.c \ strerror-override.h test-strerror.c signature.h macros.h \ strerror_r.c test-strerror_r.c signature.h macros.h \ test-string.c test-strnlen.c zerosize-ptr.h signature.h \ macros.h test-strverscmp.c signature.h macros.h symlink.c \ test-symlink.h test-symlink.c signature.h macros.h \ sys_ioctl.in.h test-sys_ioctl.c sys_resource.in.h \ test-sys_resource.c sys_select.in.h test-sys_select.c \ signature.h test-sys_socket.c test-sys_stat.c sys_time.in.h \ test-sys_time.c test-sys_types.c test-sys_uio.c init.sh \ test-init.sh test-thread_self.c test-thread_create.c macros.h \ $(top_srcdir)/build-aux/config.rpath test-time.c test-unistd.c \ unsetenv.c test-unsetenv.c signature.h macros.h usleep.c \ test-usleep.c signature.h macros.h test-vasnprintf.c macros.h \ test-vasprintf.c signature.h macros.h test-verify.c \ test-verify-try.c test-verify.sh test-wchar.c \ windows-initguard.h windows-mutex.c windows-mutex.h \ windows-once.c windows-once.h windows-initguard.h \ windows-recmutex.c windows-recmutex.h windows-initguard.h \ windows-rwlock.c windows-rwlock.h windows-thread.c \ windows-thread.h windows-tls.c windows-tls.h \ xalloc-oversized.h BUILT_SOURCES = arpa/inet.h ctype.h fcntl.h inttypes.h $(NETINET_IN_H) \ pthread.h sched.h signal.h stdlib.h sys/ioctl.h sys/resource.h \ sys/select.h sys/time.h SUFFIXES = # This test expects compilation of test-verify-try.c to fail, and # each time it fails, the makefile rule does not perform the usual # "mv -f $name.Tpo $name.po, so tell make clean to remove that file. MOSTLYCLEANFILES = core *.stackdump arpa/inet.h arpa/inet.h-t ctype.h \ ctype.h-t fcntl.h fcntl.h-t test-fflush.txt t-fpurge.tmp \ t-freading.tmp t-ftell3.tmp t-ftello3.tmp test-getdelim.txt \ test-getline.txt inttypes.h inttypes.h-t netinet/in.h \ netinet/in.h-t pthread.h pthread.h-t sched.h sched.h-t \ signal.h signal.h-t stdlib.h stdlib.h-t sys/ioctl.h \ sys/ioctl.h-t sys/resource.h sys/resource.h-t sys/select.h \ sys/select.h-t sys/time.h sys/time.h-t \ .deps/test-verify-try.Tpo MOSTLYCLEANDIRS = arpa netinet sys sys sys CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = AM_CPPFLAGS = \ -D@gltests_WITNESS@=1 \ -I. -I$(srcdir) \ -I.. -I$(srcdir)/.. \ -I../gl -I$(srcdir)/../gl LDADD = libtests.a ../gl/libgl.la libtests.a $(LIBTESTS_LIBDEPS) libtests_a_SOURCES = binary-io.h binary-io.c cloexec.c fd-hook.c \ glthread/lock.h glthread/lock.c malloca.c sig-handler.c \ sockets.h sockets.c glthread/thread.h glthread/thread.c \ glthread/threadlib.c glthread/yield.h libtests_a_LIBADD = $(gltests_LIBOBJS) @ALLOCA@ libtests_a_DEPENDENCIES = $(gltests_LIBOBJS) @ALLOCA@ EXTRA_libtests_a_SOURCES = accept.c alloca.c bind.c close.c connect.c \ dup2.c fcntl.c fdopen.c ftruncate.c getcwd-lgpl.c \ getdtablesize.c getpagesize.c getrusage.c gettimeofday.c \ inet_pton.c ioctl.c isblank.c listen.c localtime-buffer.c \ lstat.c malloc.c nanosleep.c open.c perror.c pipe.c \ pthread-thread.c pthread_sigmask.c putenv.c raise.c select.c \ setsockopt.c sigaction.c sigprocmask.c sleep.c socket.c \ stat-w32.c stat.c strerror.c strerror-override.c strerror_r.c \ symlink.c unsetenv.c usleep.c windows-mutex.c windows-once.c \ windows-recmutex.c windows-rwlock.c windows-thread.c \ windows-tls.c AM_LIBTOOLFLAGS = --preserve-dup-deps test_accept_LDADD = $(LDADD) @LIBSOCKET@ test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB) test_gc_hmac_md5_LDADD = $(LDADD) @LIB_CRYPTO@ test_gc_hmac_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ test_gc_md5_LDADD = $(LDADD) @LIB_CRYPTO@ test_gc_pbkdf2_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ test_gc_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ test_gc_LDADD = $(LDADD) @LIB_CRYPTO@ test_hmac_md5_LDADD = $(LDADD) @LIB_CRYPTO@ test_hmac_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ test_md5_LDADD = $(LDADD) @LIB_CRYPTO@ bench_md5_LDADD = $(LDADD) @LIB_CRYPTO@ test_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ bench_sha1_LDADD = $(LDADD) @LIB_CRYPTO@ test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL) test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@ test_listen_LDADD = $(LDADD) @LIBSOCKET@ test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ test_once1_SOURCES = test-once.c test_once1_LDADD = $(LDADD) @LIBTHREAD@ test_once2_SOURCES = test-once.c test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@ test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP) test_pthread_thread_LDADD = $(LDADD) @LIBMULTITHREAD@ test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@ test_select_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ $(INET_PTON_LIB) test_select_fd_LDADD = $(LDADD) @LIB_SELECT@ test_select_stdin_LDADD = $(LDADD) @LIB_SELECT@ test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@ # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H = $(srcdir)/_Noreturn.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H = $(srcdir)/arg-nonnull.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H = $(srcdir)/c++defs.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. UNUSED_PARAMETER_H = $(srcdir)/unused-parameter.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H = $(srcdir)/warn-on-use.h test_sockets_LDADD = $(LDADD) @LIBSOCKET@ test_stat_LDADD = $(LDADD) $(LIBINTL) test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP) test_thread_self_LDADD = $(LDADD) @LIBTHREAD@ test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@ all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs $(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) --foreign gltests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gltests/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): clean-checkPROGRAMS: @list='$(check_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 clean-checkLIBRARIES: -test -z "$(check_LIBRARIES)" || rm -f $(check_LIBRARIES) clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) glthread/$(am__dirstamp): @$(MKDIR_P) glthread @: > glthread/$(am__dirstamp) glthread/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) glthread/$(DEPDIR) @: > glthread/$(DEPDIR)/$(am__dirstamp) glthread/lock.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) glthread/thread.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) glthread/threadlib.$(OBJEXT): glthread/$(am__dirstamp) \ glthread/$(DEPDIR)/$(am__dirstamp) libtests.a: $(libtests_a_OBJECTS) $(libtests_a_DEPENDENCIES) $(EXTRA_libtests_a_DEPENDENCIES) $(AM_V_at)-rm -f libtests.a $(AM_V_AR)$(libtests_a_AR) libtests.a $(libtests_a_OBJECTS) $(libtests_a_LIBADD) $(AM_V_at)$(RANLIB) libtests.a bench-md5$(EXEEXT): $(bench_md5_OBJECTS) $(bench_md5_DEPENDENCIES) $(EXTRA_bench_md5_DEPENDENCIES) @rm -f bench-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bench_md5_OBJECTS) $(bench_md5_LDADD) $(LIBS) bench-sha1$(EXEEXT): $(bench_sha1_OBJECTS) $(bench_sha1_DEPENDENCIES) $(EXTRA_bench_sha1_DEPENDENCIES) @rm -f bench-sha1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bench_sha1_OBJECTS) $(bench_sha1_LDADD) $(LIBS) test-accept$(EXEEXT): $(test_accept_OBJECTS) $(test_accept_DEPENDENCIES) $(EXTRA_test_accept_DEPENDENCIES) @rm -f test-accept$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_accept_OBJECTS) $(test_accept_LDADD) $(LIBS) test-alloca-opt$(EXEEXT): $(test_alloca_opt_OBJECTS) $(test_alloca_opt_DEPENDENCIES) $(EXTRA_test_alloca_opt_DEPENDENCIES) @rm -f test-alloca-opt$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_alloca_opt_OBJECTS) $(test_alloca_opt_LDADD) $(LIBS) test-arpa_inet$(EXEEXT): $(test_arpa_inet_OBJECTS) $(test_arpa_inet_DEPENDENCIES) $(EXTRA_test_arpa_inet_DEPENDENCIES) @rm -f test-arpa_inet$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_arpa_inet_OBJECTS) $(test_arpa_inet_LDADD) $(LIBS) test-base64$(EXEEXT): $(test_base64_OBJECTS) $(test_base64_DEPENDENCIES) $(EXTRA_test_base64_DEPENDENCIES) @rm -f test-base64$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_base64_OBJECTS) $(test_base64_LDADD) $(LIBS) test-binary-io$(EXEEXT): $(test_binary_io_OBJECTS) $(test_binary_io_DEPENDENCIES) $(EXTRA_test_binary_io_DEPENDENCIES) @rm -f test-binary-io$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_binary_io_OBJECTS) $(test_binary_io_LDADD) $(LIBS) test-bind$(EXEEXT): $(test_bind_OBJECTS) $(test_bind_DEPENDENCIES) $(EXTRA_test_bind_DEPENDENCIES) @rm -f test-bind$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_bind_OBJECTS) $(test_bind_LDADD) $(LIBS) test-byteswap$(EXEEXT): $(test_byteswap_OBJECTS) $(test_byteswap_DEPENDENCIES) $(EXTRA_test_byteswap_DEPENDENCIES) @rm -f test-byteswap$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_byteswap_OBJECTS) $(test_byteswap_LDADD) $(LIBS) test-c-ctype$(EXEEXT): $(test_c_ctype_OBJECTS) $(test_c_ctype_DEPENDENCIES) $(EXTRA_test_c_ctype_DEPENDENCIES) @rm -f test-c-ctype$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_c_ctype_OBJECTS) $(test_c_ctype_LDADD) $(LIBS) test-cloexec$(EXEEXT): $(test_cloexec_OBJECTS) $(test_cloexec_DEPENDENCIES) $(EXTRA_test_cloexec_DEPENDENCIES) @rm -f test-cloexec$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_cloexec_OBJECTS) $(test_cloexec_LDADD) $(LIBS) test-close$(EXEEXT): $(test_close_OBJECTS) $(test_close_DEPENDENCIES) $(EXTRA_test_close_DEPENDENCIES) @rm -f test-close$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_close_OBJECTS) $(test_close_LDADD) $(LIBS) test-connect$(EXEEXT): $(test_connect_OBJECTS) $(test_connect_DEPENDENCIES) $(EXTRA_test_connect_DEPENDENCIES) @rm -f test-connect$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_connect_OBJECTS) $(test_connect_LDADD) $(LIBS) test-ctype$(EXEEXT): $(test_ctype_OBJECTS) $(test_ctype_DEPENDENCIES) $(EXTRA_test_ctype_DEPENDENCIES) @rm -f test-ctype$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ctype_OBJECTS) $(test_ctype_LDADD) $(LIBS) test-dup2$(EXEEXT): $(test_dup2_OBJECTS) $(test_dup2_DEPENDENCIES) $(EXTRA_test_dup2_DEPENDENCIES) @rm -f test-dup2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_dup2_OBJECTS) $(test_dup2_LDADD) $(LIBS) test-environ$(EXEEXT): $(test_environ_OBJECTS) $(test_environ_DEPENDENCIES) $(EXTRA_test_environ_DEPENDENCIES) @rm -f test-environ$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_environ_OBJECTS) $(test_environ_LDADD) $(LIBS) test-errno$(EXEEXT): $(test_errno_OBJECTS) $(test_errno_DEPENDENCIES) $(EXTRA_test_errno_DEPENDENCIES) @rm -f test-errno$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_errno_OBJECTS) $(test_errno_LDADD) $(LIBS) test-fcntl$(EXEEXT): $(test_fcntl_OBJECTS) $(test_fcntl_DEPENDENCIES) $(EXTRA_test_fcntl_DEPENDENCIES) @rm -f test-fcntl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fcntl_OBJECTS) $(test_fcntl_LDADD) $(LIBS) test-fcntl-h$(EXEEXT): $(test_fcntl_h_OBJECTS) $(test_fcntl_h_DEPENDENCIES) $(EXTRA_test_fcntl_h_DEPENDENCIES) @rm -f test-fcntl-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fcntl_h_OBJECTS) $(test_fcntl_h_LDADD) $(LIBS) test-fdopen$(EXEEXT): $(test_fdopen_OBJECTS) $(test_fdopen_DEPENDENCIES) $(EXTRA_test_fdopen_DEPENDENCIES) @rm -f test-fdopen$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fdopen_OBJECTS) $(test_fdopen_LDADD) $(LIBS) test-fflush$(EXEEXT): $(test_fflush_OBJECTS) $(test_fflush_DEPENDENCIES) $(EXTRA_test_fflush_DEPENDENCIES) @rm -f test-fflush$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fflush_OBJECTS) $(test_fflush_LDADD) $(LIBS) test-fflush2$(EXEEXT): $(test_fflush2_OBJECTS) $(test_fflush2_DEPENDENCIES) $(EXTRA_test_fflush2_DEPENDENCIES) @rm -f test-fflush2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fflush2_OBJECTS) $(test_fflush2_LDADD) $(LIBS) test-fgetc$(EXEEXT): $(test_fgetc_OBJECTS) $(test_fgetc_DEPENDENCIES) $(EXTRA_test_fgetc_DEPENDENCIES) @rm -f test-fgetc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fgetc_OBJECTS) $(test_fgetc_LDADD) $(LIBS) test-float$(EXEEXT): $(test_float_OBJECTS) $(test_float_DEPENDENCIES) $(EXTRA_test_float_DEPENDENCIES) @rm -f test-float$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_float_OBJECTS) $(test_float_LDADD) $(LIBS) test-fpurge$(EXEEXT): $(test_fpurge_OBJECTS) $(test_fpurge_DEPENDENCIES) $(EXTRA_test_fpurge_DEPENDENCIES) @rm -f test-fpurge$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fpurge_OBJECTS) $(test_fpurge_LDADD) $(LIBS) test-fputc$(EXEEXT): $(test_fputc_OBJECTS) $(test_fputc_DEPENDENCIES) $(EXTRA_test_fputc_DEPENDENCIES) @rm -f test-fputc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fputc_OBJECTS) $(test_fputc_LDADD) $(LIBS) test-fread$(EXEEXT): $(test_fread_OBJECTS) $(test_fread_DEPENDENCIES) $(EXTRA_test_fread_DEPENDENCIES) @rm -f test-fread$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fread_OBJECTS) $(test_fread_LDADD) $(LIBS) test-freading$(EXEEXT): $(test_freading_OBJECTS) $(test_freading_DEPENDENCIES) $(EXTRA_test_freading_DEPENDENCIES) @rm -f test-freading$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_freading_OBJECTS) $(test_freading_LDADD) $(LIBS) test-fseek$(EXEEXT): $(test_fseek_OBJECTS) $(test_fseek_DEPENDENCIES) $(EXTRA_test_fseek_DEPENDENCIES) @rm -f test-fseek$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseek_OBJECTS) $(test_fseek_LDADD) $(LIBS) test-fseeko$(EXEEXT): $(test_fseeko_OBJECTS) $(test_fseeko_DEPENDENCIES) $(EXTRA_test_fseeko_DEPENDENCIES) @rm -f test-fseeko$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseeko_OBJECTS) $(test_fseeko_LDADD) $(LIBS) test-fseeko3$(EXEEXT): $(test_fseeko3_OBJECTS) $(test_fseeko3_DEPENDENCIES) $(EXTRA_test_fseeko3_DEPENDENCIES) @rm -f test-fseeko3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseeko3_OBJECTS) $(test_fseeko3_LDADD) $(LIBS) test-fseeko4$(EXEEXT): $(test_fseeko4_OBJECTS) $(test_fseeko4_DEPENDENCIES) $(EXTRA_test_fseeko4_DEPENDENCIES) @rm -f test-fseeko4$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fseeko4_OBJECTS) $(test_fseeko4_LDADD) $(LIBS) test-fstat$(EXEEXT): $(test_fstat_OBJECTS) $(test_fstat_DEPENDENCIES) $(EXTRA_test_fstat_DEPENDENCIES) @rm -f test-fstat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fstat_OBJECTS) $(test_fstat_LDADD) $(LIBS) test-ftell$(EXEEXT): $(test_ftell_OBJECTS) $(test_ftell_DEPENDENCIES) $(EXTRA_test_ftell_DEPENDENCIES) @rm -f test-ftell$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ftell_OBJECTS) $(test_ftell_LDADD) $(LIBS) test-ftell3$(EXEEXT): $(test_ftell3_OBJECTS) $(test_ftell3_DEPENDENCIES) $(EXTRA_test_ftell3_DEPENDENCIES) @rm -f test-ftell3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ftell3_OBJECTS) $(test_ftell3_LDADD) $(LIBS) test-ftello$(EXEEXT): $(test_ftello_OBJECTS) $(test_ftello_DEPENDENCIES) $(EXTRA_test_ftello_DEPENDENCIES) @rm -f test-ftello$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ftello_OBJECTS) $(test_ftello_LDADD) $(LIBS) test-ftello3$(EXEEXT): $(test_ftello3_OBJECTS) $(test_ftello3_DEPENDENCIES) $(EXTRA_test_ftello3_DEPENDENCIES) @rm -f test-ftello3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ftello3_OBJECTS) $(test_ftello3_LDADD) $(LIBS) test-ftello4$(EXEEXT): $(test_ftello4_OBJECTS) $(test_ftello4_DEPENDENCIES) $(EXTRA_test_ftello4_DEPENDENCIES) @rm -f test-ftello4$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ftello4_OBJECTS) $(test_ftello4_LDADD) $(LIBS) test-ftruncate$(EXEEXT): $(test_ftruncate_OBJECTS) $(test_ftruncate_DEPENDENCIES) $(EXTRA_test_ftruncate_DEPENDENCIES) @rm -f test-ftruncate$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ftruncate_OBJECTS) $(test_ftruncate_LDADD) $(LIBS) test-fwrite$(EXEEXT): $(test_fwrite_OBJECTS) $(test_fwrite_DEPENDENCIES) $(EXTRA_test_fwrite_DEPENDENCIES) @rm -f test-fwrite$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_fwrite_OBJECTS) $(test_fwrite_LDADD) $(LIBS) test-gc$(EXEEXT): $(test_gc_OBJECTS) $(test_gc_DEPENDENCIES) $(EXTRA_test_gc_DEPENDENCIES) @rm -f test-gc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gc_OBJECTS) $(test_gc_LDADD) $(LIBS) test-gc-hmac-md5$(EXEEXT): $(test_gc_hmac_md5_OBJECTS) $(test_gc_hmac_md5_DEPENDENCIES) $(EXTRA_test_gc_hmac_md5_DEPENDENCIES) @rm -f test-gc-hmac-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gc_hmac_md5_OBJECTS) $(test_gc_hmac_md5_LDADD) $(LIBS) test-gc-hmac-sha1$(EXEEXT): $(test_gc_hmac_sha1_OBJECTS) $(test_gc_hmac_sha1_DEPENDENCIES) $(EXTRA_test_gc_hmac_sha1_DEPENDENCIES) @rm -f test-gc-hmac-sha1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gc_hmac_sha1_OBJECTS) $(test_gc_hmac_sha1_LDADD) $(LIBS) test-gc-md5$(EXEEXT): $(test_gc_md5_OBJECTS) $(test_gc_md5_DEPENDENCIES) $(EXTRA_test_gc_md5_DEPENDENCIES) @rm -f test-gc-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gc_md5_OBJECTS) $(test_gc_md5_LDADD) $(LIBS) test-gc-pbkdf2-sha1$(EXEEXT): $(test_gc_pbkdf2_sha1_OBJECTS) $(test_gc_pbkdf2_sha1_DEPENDENCIES) $(EXTRA_test_gc_pbkdf2_sha1_DEPENDENCIES) @rm -f test-gc-pbkdf2-sha1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gc_pbkdf2_sha1_OBJECTS) $(test_gc_pbkdf2_sha1_LDADD) $(LIBS) test-gc-sha1$(EXEEXT): $(test_gc_sha1_OBJECTS) $(test_gc_sha1_DEPENDENCIES) $(EXTRA_test_gc_sha1_DEPENDENCIES) @rm -f test-gc-sha1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gc_sha1_OBJECTS) $(test_gc_sha1_LDADD) $(LIBS) test-getcwd-lgpl$(EXEEXT): $(test_getcwd_lgpl_OBJECTS) $(test_getcwd_lgpl_DEPENDENCIES) $(EXTRA_test_getcwd_lgpl_DEPENDENCIES) @rm -f test-getcwd-lgpl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getcwd_lgpl_OBJECTS) $(test_getcwd_lgpl_LDADD) $(LIBS) test-getdelim$(EXEEXT): $(test_getdelim_OBJECTS) $(test_getdelim_DEPENDENCIES) $(EXTRA_test_getdelim_DEPENDENCIES) @rm -f test-getdelim$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getdelim_OBJECTS) $(test_getdelim_LDADD) $(LIBS) test-getdtablesize$(EXEEXT): $(test_getdtablesize_OBJECTS) $(test_getdtablesize_DEPENDENCIES) $(EXTRA_test_getdtablesize_DEPENDENCIES) @rm -f test-getdtablesize$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getdtablesize_OBJECTS) $(test_getdtablesize_LDADD) $(LIBS) test-getline$(EXEEXT): $(test_getline_OBJECTS) $(test_getline_DEPENDENCIES) $(EXTRA_test_getline_DEPENDENCIES) @rm -f test-getline$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getline_OBJECTS) $(test_getline_LDADD) $(LIBS) test-getrusage$(EXEEXT): $(test_getrusage_OBJECTS) $(test_getrusage_DEPENDENCIES) $(EXTRA_test_getrusage_DEPENDENCIES) @rm -f test-getrusage$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_getrusage_OBJECTS) $(test_getrusage_LDADD) $(LIBS) test-gettimeofday$(EXEEXT): $(test_gettimeofday_OBJECTS) $(test_gettimeofday_DEPENDENCIES) $(EXTRA_test_gettimeofday_DEPENDENCIES) @rm -f test-gettimeofday$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gettimeofday_OBJECTS) $(test_gettimeofday_LDADD) $(LIBS) test-hmac-md5$(EXEEXT): $(test_hmac_md5_OBJECTS) $(test_hmac_md5_DEPENDENCIES) $(EXTRA_test_hmac_md5_DEPENDENCIES) @rm -f test-hmac-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_hmac_md5_OBJECTS) $(test_hmac_md5_LDADD) $(LIBS) test-hmac-sha1$(EXEEXT): $(test_hmac_sha1_OBJECTS) $(test_hmac_sha1_DEPENDENCIES) $(EXTRA_test_hmac_sha1_DEPENDENCIES) @rm -f test-hmac-sha1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_hmac_sha1_OBJECTS) $(test_hmac_sha1_LDADD) $(LIBS) test-ignore-value$(EXEEXT): $(test_ignore_value_OBJECTS) $(test_ignore_value_DEPENDENCIES) $(EXTRA_test_ignore_value_DEPENDENCIES) @rm -f test-ignore-value$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ignore_value_OBJECTS) $(test_ignore_value_LDADD) $(LIBS) test-inet_pton$(EXEEXT): $(test_inet_pton_OBJECTS) $(test_inet_pton_DEPENDENCIES) $(EXTRA_test_inet_pton_DEPENDENCIES) @rm -f test-inet_pton$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_inet_pton_OBJECTS) $(test_inet_pton_LDADD) $(LIBS) test-intprops$(EXEEXT): $(test_intprops_OBJECTS) $(test_intprops_DEPENDENCIES) $(EXTRA_test_intprops_DEPENDENCIES) @rm -f test-intprops$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_intprops_OBJECTS) $(test_intprops_LDADD) $(LIBS) test-inttypes$(EXEEXT): $(test_inttypes_OBJECTS) $(test_inttypes_DEPENDENCIES) $(EXTRA_test_inttypes_DEPENDENCIES) @rm -f test-inttypes$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_inttypes_OBJECTS) $(test_inttypes_LDADD) $(LIBS) test-ioctl$(EXEEXT): $(test_ioctl_OBJECTS) $(test_ioctl_DEPENDENCIES) $(EXTRA_test_ioctl_DEPENDENCIES) @rm -f test-ioctl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ioctl_OBJECTS) $(test_ioctl_LDADD) $(LIBS) test-isblank$(EXEEXT): $(test_isblank_OBJECTS) $(test_isblank_DEPENDENCIES) $(EXTRA_test_isblank_DEPENDENCIES) @rm -f test-isblank$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_isblank_OBJECTS) $(test_isblank_LDADD) $(LIBS) test-limits-h$(EXEEXT): $(test_limits_h_OBJECTS) $(test_limits_h_DEPENDENCIES) $(EXTRA_test_limits_h_DEPENDENCIES) @rm -f test-limits-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_limits_h_OBJECTS) $(test_limits_h_LDADD) $(LIBS) test-listen$(EXEEXT): $(test_listen_OBJECTS) $(test_listen_DEPENDENCIES) $(EXTRA_test_listen_DEPENDENCIES) @rm -f test-listen$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_listen_OBJECTS) $(test_listen_LDADD) $(LIBS) test-lock$(EXEEXT): $(test_lock_OBJECTS) $(test_lock_DEPENDENCIES) $(EXTRA_test_lock_DEPENDENCIES) @rm -f test-lock$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_lock_OBJECTS) $(test_lock_LDADD) $(LIBS) test-lseek$(EXEEXT): $(test_lseek_OBJECTS) $(test_lseek_DEPENDENCIES) $(EXTRA_test_lseek_DEPENDENCIES) @rm -f test-lseek$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_lseek_OBJECTS) $(test_lseek_LDADD) $(LIBS) test-lstat$(EXEEXT): $(test_lstat_OBJECTS) $(test_lstat_DEPENDENCIES) $(EXTRA_test_lstat_DEPENDENCIES) @rm -f test-lstat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_lstat_OBJECTS) $(test_lstat_LDADD) $(LIBS) test-malloca$(EXEEXT): $(test_malloca_OBJECTS) $(test_malloca_DEPENDENCIES) $(EXTRA_test_malloca_DEPENDENCIES) @rm -f test-malloca$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_malloca_OBJECTS) $(test_malloca_LDADD) $(LIBS) test-md5$(EXEEXT): $(test_md5_OBJECTS) $(test_md5_DEPENDENCIES) $(EXTRA_test_md5_DEPENDENCIES) @rm -f test-md5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_md5_OBJECTS) $(test_md5_LDADD) $(LIBS) test-memchr$(EXEEXT): $(test_memchr_OBJECTS) $(test_memchr_DEPENDENCIES) $(EXTRA_test_memchr_DEPENDENCIES) @rm -f test-memchr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_memchr_OBJECTS) $(test_memchr_LDADD) $(LIBS) test-memmem$(EXEEXT): $(test_memmem_OBJECTS) $(test_memmem_DEPENDENCIES) $(EXTRA_test_memmem_DEPENDENCIES) @rm -f test-memmem$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_memmem_OBJECTS) $(test_memmem_LDADD) $(LIBS) test-nanosleep$(EXEEXT): $(test_nanosleep_OBJECTS) $(test_nanosleep_DEPENDENCIES) $(EXTRA_test_nanosleep_DEPENDENCIES) @rm -f test-nanosleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_nanosleep_OBJECTS) $(test_nanosleep_LDADD) $(LIBS) test-netinet_in$(EXEEXT): $(test_netinet_in_OBJECTS) $(test_netinet_in_DEPENDENCIES) $(EXTRA_test_netinet_in_DEPENDENCIES) @rm -f test-netinet_in$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_netinet_in_OBJECTS) $(test_netinet_in_LDADD) $(LIBS) test-once1$(EXEEXT): $(test_once1_OBJECTS) $(test_once1_DEPENDENCIES) $(EXTRA_test_once1_DEPENDENCIES) @rm -f test-once1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_once1_OBJECTS) $(test_once1_LDADD) $(LIBS) test-once2$(EXEEXT): $(test_once2_OBJECTS) $(test_once2_DEPENDENCIES) $(EXTRA_test_once2_DEPENDENCIES) @rm -f test-once2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_once2_OBJECTS) $(test_once2_LDADD) $(LIBS) test-open$(EXEEXT): $(test_open_OBJECTS) $(test_open_DEPENDENCIES) $(EXTRA_test_open_DEPENDENCIES) @rm -f test-open$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_open_OBJECTS) $(test_open_LDADD) $(LIBS) test-pathmax$(EXEEXT): $(test_pathmax_OBJECTS) $(test_pathmax_DEPENDENCIES) $(EXTRA_test_pathmax_DEPENDENCIES) @rm -f test-pathmax$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pathmax_OBJECTS) $(test_pathmax_LDADD) $(LIBS) test-perror$(EXEEXT): $(test_perror_OBJECTS) $(test_perror_DEPENDENCIES) $(EXTRA_test_perror_DEPENDENCIES) @rm -f test-perror$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_perror_OBJECTS) $(test_perror_LDADD) $(LIBS) test-perror2$(EXEEXT): $(test_perror2_OBJECTS) $(test_perror2_DEPENDENCIES) $(EXTRA_test_perror2_DEPENDENCIES) @rm -f test-perror2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_perror2_OBJECTS) $(test_perror2_LDADD) $(LIBS) test-pipe$(EXEEXT): $(test_pipe_OBJECTS) $(test_pipe_DEPENDENCIES) $(EXTRA_test_pipe_DEPENDENCIES) @rm -f test-pipe$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pipe_OBJECTS) $(test_pipe_LDADD) $(LIBS) test-pthread$(EXEEXT): $(test_pthread_OBJECTS) $(test_pthread_DEPENDENCIES) $(EXTRA_test_pthread_DEPENDENCIES) @rm -f test-pthread$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_OBJECTS) $(test_pthread_LDADD) $(LIBS) test-pthread-thread$(EXEEXT): $(test_pthread_thread_OBJECTS) $(test_pthread_thread_DEPENDENCIES) $(EXTRA_test_pthread_thread_DEPENDENCIES) @rm -f test-pthread-thread$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_thread_OBJECTS) $(test_pthread_thread_LDADD) $(LIBS) test-pthread_sigmask1$(EXEEXT): $(test_pthread_sigmask1_OBJECTS) $(test_pthread_sigmask1_DEPENDENCIES) $(EXTRA_test_pthread_sigmask1_DEPENDENCIES) @rm -f test-pthread_sigmask1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_sigmask1_OBJECTS) $(test_pthread_sigmask1_LDADD) $(LIBS) test-pthread_sigmask2$(EXEEXT): $(test_pthread_sigmask2_OBJECTS) $(test_pthread_sigmask2_DEPENDENCIES) $(EXTRA_test_pthread_sigmask2_DEPENDENCIES) @rm -f test-pthread_sigmask2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_pthread_sigmask2_OBJECTS) $(test_pthread_sigmask2_LDADD) $(LIBS) test-raise$(EXEEXT): $(test_raise_OBJECTS) $(test_raise_DEPENDENCIES) $(EXTRA_test_raise_DEPENDENCIES) @rm -f test-raise$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_raise_OBJECTS) $(test_raise_LDADD) $(LIBS) test-rwlock1$(EXEEXT): $(test_rwlock1_OBJECTS) $(test_rwlock1_DEPENDENCIES) $(EXTRA_test_rwlock1_DEPENDENCIES) @rm -f test-rwlock1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_rwlock1_OBJECTS) $(test_rwlock1_LDADD) $(LIBS) test-sched$(EXEEXT): $(test_sched_OBJECTS) $(test_sched_DEPENDENCIES) $(EXTRA_test_sched_DEPENDENCIES) @rm -f test-sched$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sched_OBJECTS) $(test_sched_LDADD) $(LIBS) test-select$(EXEEXT): $(test_select_OBJECTS) $(test_select_DEPENDENCIES) $(EXTRA_test_select_DEPENDENCIES) @rm -f test-select$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_select_OBJECTS) $(test_select_LDADD) $(LIBS) test-select-fd$(EXEEXT): $(test_select_fd_OBJECTS) $(test_select_fd_DEPENDENCIES) $(EXTRA_test_select_fd_DEPENDENCIES) @rm -f test-select-fd$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_select_fd_OBJECTS) $(test_select_fd_LDADD) $(LIBS) test-select-stdin$(EXEEXT): $(test_select_stdin_OBJECTS) $(test_select_stdin_DEPENDENCIES) $(EXTRA_test_select_stdin_DEPENDENCIES) @rm -f test-select-stdin$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_select_stdin_OBJECTS) $(test_select_stdin_LDADD) $(LIBS) test-setsockopt$(EXEEXT): $(test_setsockopt_OBJECTS) $(test_setsockopt_DEPENDENCIES) $(EXTRA_test_setsockopt_DEPENDENCIES) @rm -f test-setsockopt$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_setsockopt_OBJECTS) $(test_setsockopt_LDADD) $(LIBS) test-sha1$(EXEEXT): $(test_sha1_OBJECTS) $(test_sha1_DEPENDENCIES) $(EXTRA_test_sha1_DEPENDENCIES) @rm -f test-sha1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sha1_OBJECTS) $(test_sha1_LDADD) $(LIBS) test-sigaction$(EXEEXT): $(test_sigaction_OBJECTS) $(test_sigaction_DEPENDENCIES) $(EXTRA_test_sigaction_DEPENDENCIES) @rm -f test-sigaction$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sigaction_OBJECTS) $(test_sigaction_LDADD) $(LIBS) test-signal-h$(EXEEXT): $(test_signal_h_OBJECTS) $(test_signal_h_DEPENDENCIES) $(EXTRA_test_signal_h_DEPENDENCIES) @rm -f test-signal-h$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_signal_h_OBJECTS) $(test_signal_h_LDADD) $(LIBS) test-sigprocmask$(EXEEXT): $(test_sigprocmask_OBJECTS) $(test_sigprocmask_DEPENDENCIES) $(EXTRA_test_sigprocmask_DEPENDENCIES) @rm -f test-sigprocmask$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sigprocmask_OBJECTS) $(test_sigprocmask_LDADD) $(LIBS) test-sleep$(EXEEXT): $(test_sleep_OBJECTS) $(test_sleep_DEPENDENCIES) $(EXTRA_test_sleep_DEPENDENCIES) @rm -f test-sleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sleep_OBJECTS) $(test_sleep_LDADD) $(LIBS) test-sockets$(EXEEXT): $(test_sockets_OBJECTS) $(test_sockets_DEPENDENCIES) $(EXTRA_test_sockets_DEPENDENCIES) @rm -f test-sockets$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sockets_OBJECTS) $(test_sockets_LDADD) $(LIBS) test-stat$(EXEEXT): $(test_stat_OBJECTS) $(test_stat_DEPENDENCIES) $(EXTRA_test_stat_DEPENDENCIES) @rm -f test-stat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stat_OBJECTS) $(test_stat_LDADD) $(LIBS) test-stat-time$(EXEEXT): $(test_stat_time_OBJECTS) $(test_stat_time_DEPENDENCIES) $(EXTRA_test_stat_time_DEPENDENCIES) @rm -f test-stat-time$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stat_time_OBJECTS) $(test_stat_time_LDADD) $(LIBS) test-stdalign$(EXEEXT): $(test_stdalign_OBJECTS) $(test_stdalign_DEPENDENCIES) $(EXTRA_test_stdalign_DEPENDENCIES) @rm -f test-stdalign$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdalign_OBJECTS) $(test_stdalign_LDADD) $(LIBS) test-stdbool$(EXEEXT): $(test_stdbool_OBJECTS) $(test_stdbool_DEPENDENCIES) $(EXTRA_test_stdbool_DEPENDENCIES) @rm -f test-stdbool$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdbool_OBJECTS) $(test_stdbool_LDADD) $(LIBS) test-stddef$(EXEEXT): $(test_stddef_OBJECTS) $(test_stddef_DEPENDENCIES) $(EXTRA_test_stddef_DEPENDENCIES) @rm -f test-stddef$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stddef_OBJECTS) $(test_stddef_LDADD) $(LIBS) test-stdint$(EXEEXT): $(test_stdint_OBJECTS) $(test_stdint_DEPENDENCIES) $(EXTRA_test_stdint_DEPENDENCIES) @rm -f test-stdint$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdint_OBJECTS) $(test_stdint_LDADD) $(LIBS) test-stdio$(EXEEXT): $(test_stdio_OBJECTS) $(test_stdio_DEPENDENCIES) $(EXTRA_test_stdio_DEPENDENCIES) @rm -f test-stdio$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdio_OBJECTS) $(test_stdio_LDADD) $(LIBS) test-stdlib$(EXEEXT): $(test_stdlib_OBJECTS) $(test_stdlib_DEPENDENCIES) $(EXTRA_test_stdlib_DEPENDENCIES) @rm -f test-stdlib$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_stdlib_OBJECTS) $(test_stdlib_LDADD) $(LIBS) test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES) $(EXTRA_test_strerror_DEPENDENCIES) @rm -f test-strerror$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_strerror_OBJECTS) $(test_strerror_LDADD) $(LIBS) test-strerror_r$(EXEEXT): $(test_strerror_r_OBJECTS) $(test_strerror_r_DEPENDENCIES) $(EXTRA_test_strerror_r_DEPENDENCIES) @rm -f test-strerror_r$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_strerror_r_OBJECTS) $(test_strerror_r_LDADD) $(LIBS) test-string$(EXEEXT): $(test_string_OBJECTS) $(test_string_DEPENDENCIES) $(EXTRA_test_string_DEPENDENCIES) @rm -f test-string$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_string_OBJECTS) $(test_string_LDADD) $(LIBS) test-strnlen$(EXEEXT): $(test_strnlen_OBJECTS) $(test_strnlen_DEPENDENCIES) $(EXTRA_test_strnlen_DEPENDENCIES) @rm -f test-strnlen$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_strnlen_OBJECTS) $(test_strnlen_LDADD) $(LIBS) test-strverscmp$(EXEEXT): $(test_strverscmp_OBJECTS) $(test_strverscmp_DEPENDENCIES) $(EXTRA_test_strverscmp_DEPENDENCIES) @rm -f test-strverscmp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_strverscmp_OBJECTS) $(test_strverscmp_LDADD) $(LIBS) test-symlink$(EXEEXT): $(test_symlink_OBJECTS) $(test_symlink_DEPENDENCIES) $(EXTRA_test_symlink_DEPENDENCIES) @rm -f test-symlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_symlink_OBJECTS) $(test_symlink_LDADD) $(LIBS) test-sys_ioctl$(EXEEXT): $(test_sys_ioctl_OBJECTS) $(test_sys_ioctl_DEPENDENCIES) $(EXTRA_test_sys_ioctl_DEPENDENCIES) @rm -f test-sys_ioctl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_ioctl_OBJECTS) $(test_sys_ioctl_LDADD) $(LIBS) test-sys_resource$(EXEEXT): $(test_sys_resource_OBJECTS) $(test_sys_resource_DEPENDENCIES) $(EXTRA_test_sys_resource_DEPENDENCIES) @rm -f test-sys_resource$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_resource_OBJECTS) $(test_sys_resource_LDADD) $(LIBS) test-sys_select$(EXEEXT): $(test_sys_select_OBJECTS) $(test_sys_select_DEPENDENCIES) $(EXTRA_test_sys_select_DEPENDENCIES) @rm -f test-sys_select$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_select_OBJECTS) $(test_sys_select_LDADD) $(LIBS) test-sys_socket$(EXEEXT): $(test_sys_socket_OBJECTS) $(test_sys_socket_DEPENDENCIES) $(EXTRA_test_sys_socket_DEPENDENCIES) @rm -f test-sys_socket$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_socket_OBJECTS) $(test_sys_socket_LDADD) $(LIBS) test-sys_stat$(EXEEXT): $(test_sys_stat_OBJECTS) $(test_sys_stat_DEPENDENCIES) $(EXTRA_test_sys_stat_DEPENDENCIES) @rm -f test-sys_stat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_stat_OBJECTS) $(test_sys_stat_LDADD) $(LIBS) test-sys_time$(EXEEXT): $(test_sys_time_OBJECTS) $(test_sys_time_DEPENDENCIES) $(EXTRA_test_sys_time_DEPENDENCIES) @rm -f test-sys_time$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_time_OBJECTS) $(test_sys_time_LDADD) $(LIBS) test-sys_types$(EXEEXT): $(test_sys_types_OBJECTS) $(test_sys_types_DEPENDENCIES) $(EXTRA_test_sys_types_DEPENDENCIES) @rm -f test-sys_types$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_types_OBJECTS) $(test_sys_types_LDADD) $(LIBS) test-sys_uio$(EXEEXT): $(test_sys_uio_OBJECTS) $(test_sys_uio_DEPENDENCIES) $(EXTRA_test_sys_uio_DEPENDENCIES) @rm -f test-sys_uio$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sys_uio_OBJECTS) $(test_sys_uio_LDADD) $(LIBS) test-thread_create$(EXEEXT): $(test_thread_create_OBJECTS) $(test_thread_create_DEPENDENCIES) $(EXTRA_test_thread_create_DEPENDENCIES) @rm -f test-thread_create$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_thread_create_OBJECTS) $(test_thread_create_LDADD) $(LIBS) test-thread_self$(EXEEXT): $(test_thread_self_OBJECTS) $(test_thread_self_DEPENDENCIES) $(EXTRA_test_thread_self_DEPENDENCIES) @rm -f test-thread_self$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_thread_self_OBJECTS) $(test_thread_self_LDADD) $(LIBS) test-time$(EXEEXT): $(test_time_OBJECTS) $(test_time_DEPENDENCIES) $(EXTRA_test_time_DEPENDENCIES) @rm -f test-time$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_time_OBJECTS) $(test_time_LDADD) $(LIBS) test-unistd$(EXEEXT): $(test_unistd_OBJECTS) $(test_unistd_DEPENDENCIES) $(EXTRA_test_unistd_DEPENDENCIES) @rm -f test-unistd$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_unistd_OBJECTS) $(test_unistd_LDADD) $(LIBS) test-unsetenv$(EXEEXT): $(test_unsetenv_OBJECTS) $(test_unsetenv_DEPENDENCIES) $(EXTRA_test_unsetenv_DEPENDENCIES) @rm -f test-unsetenv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_unsetenv_OBJECTS) $(test_unsetenv_LDADD) $(LIBS) test-usleep$(EXEEXT): $(test_usleep_OBJECTS) $(test_usleep_DEPENDENCIES) $(EXTRA_test_usleep_DEPENDENCIES) @rm -f test-usleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_usleep_OBJECTS) $(test_usleep_LDADD) $(LIBS) test-vasnprintf$(EXEEXT): $(test_vasnprintf_OBJECTS) $(test_vasnprintf_DEPENDENCIES) $(EXTRA_test_vasnprintf_DEPENDENCIES) @rm -f test-vasnprintf$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_vasnprintf_OBJECTS) $(test_vasnprintf_LDADD) $(LIBS) test-vasprintf$(EXEEXT): $(test_vasprintf_OBJECTS) $(test_vasprintf_DEPENDENCIES) $(EXTRA_test_vasprintf_DEPENDENCIES) @rm -f test-vasprintf$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_vasprintf_OBJECTS) $(test_vasprintf_LDADD) $(LIBS) test-verify$(EXEEXT): $(test_verify_OBJECTS) $(test_verify_DEPENDENCIES) $(EXTRA_test_verify_DEPENDENCIES) @rm -f test-verify$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_verify_OBJECTS) $(test_verify_LDADD) $(LIBS) test-verify-try$(EXEEXT): $(test_verify_try_OBJECTS) $(test_verify_try_DEPENDENCIES) $(EXTRA_test_verify_try_DEPENDENCIES) @rm -f test-verify-try$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_verify_try_OBJECTS) $(test_verify_try_LDADD) $(LIBS) test-wchar$(EXEEXT): $(test_wchar_OBJECTS) $(test_wchar_DEPENDENCIES) $(EXTRA_test_wchar_DEPENDENCIES) @rm -f test-wchar$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_wchar_OBJECTS) $(test_wchar_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f glthread/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/accept.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alloca.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bench-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bench-sha1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary-io.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bind.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cloexec.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/close.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/connect.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fd-hook.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fdopen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftruncate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getcwd-lgpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdtablesize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getpagesize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrusage.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettimeofday.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inet_pton.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/isblank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/listen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localtime-buffer.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloca.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanosleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/perror.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pipe.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread-thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread_sigmask.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/putenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/raise.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/setsockopt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sig-handler.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigaction.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigprocmask.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockets.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-w32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror-override.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror_r.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-accept.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-alloca-opt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-arpa_inet.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-base64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-binary-io.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-bind.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-byteswap.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-c-ctype.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-cloexec.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-close.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-connect.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ctype.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-dup2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-environ.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-errno.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fcntl-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fcntl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fdopen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fflush.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fflush2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fgetc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-float.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fpurge.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fputc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-freading.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseek.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseeko.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseeko3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fseeko4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ftell.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ftell3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ftello.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ftello3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ftello4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ftruncate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-fwrite.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-gc-hmac-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-gc-hmac-sha1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-gc-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-gc-pbkdf2-sha1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-gc-sha1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-gc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getcwd-lgpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getdelim.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getdtablesize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getline.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-getrusage.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-gettimeofday.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-hmac-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-hmac-sha1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ignore-value.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-inet_pton.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-intprops.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-inttypes.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-isblank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-limits-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-listen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-lock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-lseek.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-lstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-malloca.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-memchr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-memmem.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-nanosleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-netinet_in.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-once.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pathmax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-perror.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-perror2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pipe.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread-thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread_sigmask1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-pthread_sigmask2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-raise.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-rwlock1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sched.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-select-fd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-select-stdin.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-select.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-setsockopt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sha1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sigaction.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-signal-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sigprocmask.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sockets.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stat-time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdalign.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdbool.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stddef.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdint.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stdlib.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-strerror.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-strerror_r.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-string.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-strnlen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-strverscmp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-symlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_resource.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_select.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_stat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_types.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_uio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-thread_create.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-thread_self.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-unistd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-unsetenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-usleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-vasnprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-vasprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-verify-try.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-verify.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-wchar.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unsetenv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/usleep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-mutex.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-once.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-recmutex.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-rwlock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windows-tls.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/lock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/thread.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@glthread/$(DEPDIR)/threadlib.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 # 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" 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 # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: $(check_PROGRAMS) $(check_LIBRARIES) @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_PROGRAMS) $(check_LIBRARIES) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? test-accept.log: test-accept$(EXEEXT) @p='test-accept$(EXEEXT)'; \ b='test-accept'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-alloca-opt.log: test-alloca-opt$(EXEEXT) @p='test-alloca-opt$(EXEEXT)'; \ b='test-alloca-opt'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-arpa_inet.log: test-arpa_inet$(EXEEXT) @p='test-arpa_inet$(EXEEXT)'; \ b='test-arpa_inet'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-base64.log: test-base64$(EXEEXT) @p='test-base64$(EXEEXT)'; \ b='test-base64'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-binary-io.sh.log: test-binary-io.sh @p='test-binary-io.sh'; \ b='test-binary-io.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-bind.log: test-bind$(EXEEXT) @p='test-bind$(EXEEXT)'; \ b='test-bind'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-byteswap.log: test-byteswap$(EXEEXT) @p='test-byteswap$(EXEEXT)'; \ b='test-byteswap'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-c-ctype.log: test-c-ctype$(EXEEXT) @p='test-c-ctype$(EXEEXT)'; \ b='test-c-ctype'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-cloexec.log: test-cloexec$(EXEEXT) @p='test-cloexec$(EXEEXT)'; \ b='test-cloexec'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-close.log: test-close$(EXEEXT) @p='test-close$(EXEEXT)'; \ b='test-close'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-connect.log: test-connect$(EXEEXT) @p='test-connect$(EXEEXT)'; \ b='test-connect'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-gc-hmac-md5.log: test-gc-hmac-md5$(EXEEXT) @p='test-gc-hmac-md5$(EXEEXT)'; \ b='test-gc-hmac-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-gc-hmac-sha1.log: test-gc-hmac-sha1$(EXEEXT) @p='test-gc-hmac-sha1$(EXEEXT)'; \ b='test-gc-hmac-sha1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-gc-md5.log: test-gc-md5$(EXEEXT) @p='test-gc-md5$(EXEEXT)'; \ b='test-gc-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-gc-pbkdf2-sha1.log: test-gc-pbkdf2-sha1$(EXEEXT) @p='test-gc-pbkdf2-sha1$(EXEEXT)'; \ b='test-gc-pbkdf2-sha1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-gc-sha1.log: test-gc-sha1$(EXEEXT) @p='test-gc-sha1$(EXEEXT)'; \ b='test-gc-sha1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-gc.log: test-gc$(EXEEXT) @p='test-gc$(EXEEXT)'; \ b='test-gc'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-hmac-md5.log: test-hmac-md5$(EXEEXT) @p='test-hmac-md5$(EXEEXT)'; \ b='test-hmac-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-hmac-sha1.log: test-hmac-sha1$(EXEEXT) @p='test-hmac-sha1$(EXEEXT)'; \ b='test-hmac-sha1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-md5.log: test-md5$(EXEEXT) @p='test-md5$(EXEEXT)'; \ b='test-md5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sha1.log: test-sha1$(EXEEXT) @p='test-sha1$(EXEEXT)'; \ b='test-sha1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ctype.log: test-ctype$(EXEEXT) @p='test-ctype$(EXEEXT)'; \ b='test-ctype'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-dup2.log: test-dup2$(EXEEXT) @p='test-dup2$(EXEEXT)'; \ b='test-dup2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-environ.log: test-environ$(EXEEXT) @p='test-environ$(EXEEXT)'; \ b='test-environ'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-errno.log: test-errno$(EXEEXT) @p='test-errno$(EXEEXT)'; \ b='test-errno'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fcntl-h.log: test-fcntl-h$(EXEEXT) @p='test-fcntl-h$(EXEEXT)'; \ b='test-fcntl-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fcntl.log: test-fcntl$(EXEEXT) @p='test-fcntl$(EXEEXT)'; \ b='test-fcntl'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fdopen.log: test-fdopen$(EXEEXT) @p='test-fdopen$(EXEEXT)'; \ b='test-fdopen'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fflush.log: test-fflush$(EXEEXT) @p='test-fflush$(EXEEXT)'; \ b='test-fflush'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fflush2.sh.log: test-fflush2.sh @p='test-fflush2.sh'; \ b='test-fflush2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fgetc.log: test-fgetc$(EXEEXT) @p='test-fgetc$(EXEEXT)'; \ b='test-fgetc'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-float.log: test-float$(EXEEXT) @p='test-float$(EXEEXT)'; \ b='test-float'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fpurge.log: test-fpurge$(EXEEXT) @p='test-fpurge$(EXEEXT)'; \ b='test-fpurge'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fputc.log: test-fputc$(EXEEXT) @p='test-fputc$(EXEEXT)'; \ b='test-fputc'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fread.log: test-fread$(EXEEXT) @p='test-fread$(EXEEXT)'; \ b='test-fread'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-freading.log: test-freading$(EXEEXT) @p='test-freading$(EXEEXT)'; \ b='test-freading'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseek.sh.log: test-fseek.sh @p='test-fseek.sh'; \ b='test-fseek.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseek2.sh.log: test-fseek2.sh @p='test-fseek2.sh'; \ b='test-fseek2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko.sh.log: test-fseeko.sh @p='test-fseeko.sh'; \ b='test-fseeko.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko2.sh.log: test-fseeko2.sh @p='test-fseeko2.sh'; \ b='test-fseeko2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko3.sh.log: test-fseeko3.sh @p='test-fseeko3.sh'; \ b='test-fseeko3.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fseeko4.sh.log: test-fseeko4.sh @p='test-fseeko4.sh'; \ b='test-fseeko4.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fstat.log: test-fstat$(EXEEXT) @p='test-fstat$(EXEEXT)'; \ b='test-fstat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftell.sh.log: test-ftell.sh @p='test-ftell.sh'; \ b='test-ftell.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftell2.sh.log: test-ftell2.sh @p='test-ftell2.sh'; \ b='test-ftell2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftell3.log: test-ftell3$(EXEEXT) @p='test-ftell3$(EXEEXT)'; \ b='test-ftell3'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftello.sh.log: test-ftello.sh @p='test-ftello.sh'; \ b='test-ftello.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftello2.sh.log: test-ftello2.sh @p='test-ftello2.sh'; \ b='test-ftello2.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftello3.log: test-ftello3$(EXEEXT) @p='test-ftello3$(EXEEXT)'; \ b='test-ftello3'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftello4.sh.log: test-ftello4.sh @p='test-ftello4.sh'; \ b='test-ftello4.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ftruncate.sh.log: test-ftruncate.sh @p='test-ftruncate.sh'; \ b='test-ftruncate.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-fwrite.log: test-fwrite$(EXEEXT) @p='test-fwrite$(EXEEXT)'; \ b='test-fwrite'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getcwd-lgpl.log: test-getcwd-lgpl$(EXEEXT) @p='test-getcwd-lgpl$(EXEEXT)'; \ b='test-getcwd-lgpl'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getdelim.log: test-getdelim$(EXEEXT) @p='test-getdelim$(EXEEXT)'; \ b='test-getdelim'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getdtablesize.log: test-getdtablesize$(EXEEXT) @p='test-getdtablesize$(EXEEXT)'; \ b='test-getdtablesize'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getline.log: test-getline$(EXEEXT) @p='test-getline$(EXEEXT)'; \ b='test-getline'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-getrusage.log: test-getrusage$(EXEEXT) @p='test-getrusage$(EXEEXT)'; \ b='test-getrusage'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-gettimeofday.log: test-gettimeofday$(EXEEXT) @p='test-gettimeofday$(EXEEXT)'; \ b='test-gettimeofday'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ignore-value.log: test-ignore-value$(EXEEXT) @p='test-ignore-value$(EXEEXT)'; \ b='test-ignore-value'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-inet_pton.log: test-inet_pton$(EXEEXT) @p='test-inet_pton$(EXEEXT)'; \ b='test-inet_pton'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-intprops.log: test-intprops$(EXEEXT) @p='test-intprops$(EXEEXT)'; \ b='test-intprops'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-inttypes.log: test-inttypes$(EXEEXT) @p='test-inttypes$(EXEEXT)'; \ b='test-inttypes'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-ioctl.log: test-ioctl$(EXEEXT) @p='test-ioctl$(EXEEXT)'; \ b='test-ioctl'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-isblank.log: test-isblank$(EXEEXT) @p='test-isblank$(EXEEXT)'; \ b='test-isblank'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-limits-h.log: test-limits-h$(EXEEXT) @p='test-limits-h$(EXEEXT)'; \ b='test-limits-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-listen.log: test-listen$(EXEEXT) @p='test-listen$(EXEEXT)'; \ b='test-listen'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-rwlock1.log: test-rwlock1$(EXEEXT) @p='test-rwlock1$(EXEEXT)'; \ b='test-rwlock1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-lock.log: test-lock$(EXEEXT) @p='test-lock$(EXEEXT)'; \ b='test-lock'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-once1.log: test-once1$(EXEEXT) @p='test-once1$(EXEEXT)'; \ b='test-once1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-once2.log: test-once2$(EXEEXT) @p='test-once2$(EXEEXT)'; \ b='test-once2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-lseek.sh.log: test-lseek.sh @p='test-lseek.sh'; \ b='test-lseek.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-lstat.log: test-lstat$(EXEEXT) @p='test-lstat$(EXEEXT)'; \ b='test-lstat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-malloca.log: test-malloca$(EXEEXT) @p='test-malloca$(EXEEXT)'; \ b='test-malloca'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-memchr.log: test-memchr$(EXEEXT) @p='test-memchr$(EXEEXT)'; \ b='test-memchr'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-memmem.log: test-memmem$(EXEEXT) @p='test-memmem$(EXEEXT)'; \ b='test-memmem'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-nanosleep.log: test-nanosleep$(EXEEXT) @p='test-nanosleep$(EXEEXT)'; \ b='test-nanosleep'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-netinet_in.log: test-netinet_in$(EXEEXT) @p='test-netinet_in$(EXEEXT)'; \ b='test-netinet_in'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-open.log: test-open$(EXEEXT) @p='test-open$(EXEEXT)'; \ b='test-open'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pathmax.log: test-pathmax$(EXEEXT) @p='test-pathmax$(EXEEXT)'; \ b='test-pathmax'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-perror.sh.log: test-perror.sh @p='test-perror.sh'; \ b='test-perror.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-perror2.log: test-perror2$(EXEEXT) @p='test-perror2$(EXEEXT)'; \ b='test-perror2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pipe.log: test-pipe$(EXEEXT) @p='test-pipe$(EXEEXT)'; \ b='test-pipe'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread.log: test-pthread$(EXEEXT) @p='test-pthread$(EXEEXT)'; \ b='test-pthread'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread-thread.log: test-pthread-thread$(EXEEXT) @p='test-pthread-thread$(EXEEXT)'; \ b='test-pthread-thread'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread_sigmask1.log: test-pthread_sigmask1$(EXEEXT) @p='test-pthread_sigmask1$(EXEEXT)'; \ b='test-pthread_sigmask1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-pthread_sigmask2.log: test-pthread_sigmask2$(EXEEXT) @p='test-pthread_sigmask2$(EXEEXT)'; \ b='test-pthread_sigmask2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-raise.log: test-raise$(EXEEXT) @p='test-raise$(EXEEXT)'; \ b='test-raise'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sched.log: test-sched$(EXEEXT) @p='test-sched$(EXEEXT)'; \ b='test-sched'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-select.log: test-select$(EXEEXT) @p='test-select$(EXEEXT)'; \ b='test-select'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-select-in.sh.log: test-select-in.sh @p='test-select-in.sh'; \ b='test-select-in.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-select-out.sh.log: test-select-out.sh @p='test-select-out.sh'; \ b='test-select-out.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-setsockopt.log: test-setsockopt$(EXEEXT) @p='test-setsockopt$(EXEEXT)'; \ b='test-setsockopt'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sigaction.log: test-sigaction$(EXEEXT) @p='test-sigaction$(EXEEXT)'; \ b='test-sigaction'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-signal-h.log: test-signal-h$(EXEEXT) @p='test-signal-h$(EXEEXT)'; \ b='test-signal-h'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sigprocmask.log: test-sigprocmask$(EXEEXT) @p='test-sigprocmask$(EXEEXT)'; \ b='test-sigprocmask'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sleep.log: test-sleep$(EXEEXT) @p='test-sleep$(EXEEXT)'; \ b='test-sleep'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sockets.log: test-sockets$(EXEEXT) @p='test-sockets$(EXEEXT)'; \ b='test-sockets'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stat.log: test-stat$(EXEEXT) @p='test-stat$(EXEEXT)'; \ b='test-stat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stat-time.log: test-stat-time$(EXEEXT) @p='test-stat-time$(EXEEXT)'; \ b='test-stat-time'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdalign.log: test-stdalign$(EXEEXT) @p='test-stdalign$(EXEEXT)'; \ b='test-stdalign'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdbool.log: test-stdbool$(EXEEXT) @p='test-stdbool$(EXEEXT)'; \ b='test-stdbool'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stddef.log: test-stddef$(EXEEXT) @p='test-stddef$(EXEEXT)'; \ b='test-stddef'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdint.log: test-stdint$(EXEEXT) @p='test-stdint$(EXEEXT)'; \ b='test-stdint'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdio.log: test-stdio$(EXEEXT) @p='test-stdio$(EXEEXT)'; \ b='test-stdio'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-stdlib.log: test-stdlib$(EXEEXT) @p='test-stdlib$(EXEEXT)'; \ b='test-stdlib'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-strerror.log: test-strerror$(EXEEXT) @p='test-strerror$(EXEEXT)'; \ b='test-strerror'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-strerror_r.log: test-strerror_r$(EXEEXT) @p='test-strerror_r$(EXEEXT)'; \ b='test-strerror_r'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-string.log: test-string$(EXEEXT) @p='test-string$(EXEEXT)'; \ b='test-string'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-strnlen.log: test-strnlen$(EXEEXT) @p='test-strnlen$(EXEEXT)'; \ b='test-strnlen'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-strverscmp.log: test-strverscmp$(EXEEXT) @p='test-strverscmp$(EXEEXT)'; \ b='test-strverscmp'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-symlink.log: test-symlink$(EXEEXT) @p='test-symlink$(EXEEXT)'; \ b='test-symlink'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_ioctl.log: test-sys_ioctl$(EXEEXT) @p='test-sys_ioctl$(EXEEXT)'; \ b='test-sys_ioctl'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_resource.log: test-sys_resource$(EXEEXT) @p='test-sys_resource$(EXEEXT)'; \ b='test-sys_resource'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_select.log: test-sys_select$(EXEEXT) @p='test-sys_select$(EXEEXT)'; \ b='test-sys_select'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_socket.log: test-sys_socket$(EXEEXT) @p='test-sys_socket$(EXEEXT)'; \ b='test-sys_socket'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_stat.log: test-sys_stat$(EXEEXT) @p='test-sys_stat$(EXEEXT)'; \ b='test-sys_stat'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_time.log: test-sys_time$(EXEEXT) @p='test-sys_time$(EXEEXT)'; \ b='test-sys_time'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_types.log: test-sys_types$(EXEEXT) @p='test-sys_types$(EXEEXT)'; \ b='test-sys_types'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sys_uio.log: test-sys_uio$(EXEEXT) @p='test-sys_uio$(EXEEXT)'; \ b='test-sys_uio'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-init.sh.log: test-init.sh @p='test-init.sh'; \ b='test-init.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-thread_self.log: test-thread_self$(EXEEXT) @p='test-thread_self$(EXEEXT)'; \ b='test-thread_self'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-thread_create.log: test-thread_create$(EXEEXT) @p='test-thread_create$(EXEEXT)'; \ b='test-thread_create'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-time.log: test-time$(EXEEXT) @p='test-time$(EXEEXT)'; \ b='test-time'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-unistd.log: test-unistd$(EXEEXT) @p='test-unistd$(EXEEXT)'; \ b='test-unistd'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-unsetenv.log: test-unsetenv$(EXEEXT) @p='test-unsetenv$(EXEEXT)'; \ b='test-unsetenv'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-usleep.log: test-usleep$(EXEEXT) @p='test-usleep$(EXEEXT)'; \ b='test-usleep'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-vasnprintf.log: test-vasnprintf$(EXEEXT) @p='test-vasnprintf$(EXEEXT)'; \ b='test-vasnprintf'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-vasprintf.log: test-vasprintf$(EXEEXT) @p='test-vasprintf$(EXEEXT)'; \ b='test-vasprintf'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-verify.log: test-verify$(EXEEXT) @p='test-verify$(EXEEXT)'; \ b='test-verify'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-verify.sh.log: test-verify.sh @p='test-verify.sh'; \ b='test-verify.sh'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-wchar.log: test-wchar$(EXEEXT) @p='test-wchar$(EXEEXT)'; \ b='test-wchar'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 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 @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 check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LIBRARIES) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(PROGRAMS) $(LIBRARIES) $(HEADERS) installdirs: installdirs-recursive installdirs-am: install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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: -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 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) -rm -f glthread/$(DEPDIR)/$(am__dirstamp) -rm -f glthread/$(am__dirstamp) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \ clean-libtool clean-local clean-noinstLIBRARIES \ clean-noinstPROGRAMS mostlyclean-am distclean: distclean-recursive -rm -f ./$(DEPDIR)/accept.Po -rm -f ./$(DEPDIR)/alloca.Po -rm -f ./$(DEPDIR)/bench-md5.Po -rm -f ./$(DEPDIR)/bench-sha1.Po -rm -f ./$(DEPDIR)/binary-io.Po -rm -f ./$(DEPDIR)/bind.Po -rm -f ./$(DEPDIR)/cloexec.Po -rm -f ./$(DEPDIR)/close.Po -rm -f ./$(DEPDIR)/connect.Po -rm -f ./$(DEPDIR)/dup2.Po -rm -f ./$(DEPDIR)/fcntl.Po -rm -f ./$(DEPDIR)/fd-hook.Po -rm -f ./$(DEPDIR)/fdopen.Po -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/getcwd-lgpl.Po -rm -f ./$(DEPDIR)/getdtablesize.Po -rm -f ./$(DEPDIR)/getpagesize.Po -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/gettimeofday.Po -rm -f ./$(DEPDIR)/inet_pton.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/isblank.Po -rm -f ./$(DEPDIR)/listen.Po -rm -f ./$(DEPDIR)/localtime-buffer.Po -rm -f ./$(DEPDIR)/lstat.Po -rm -f ./$(DEPDIR)/malloc.Po -rm -f ./$(DEPDIR)/malloca.Po -rm -f ./$(DEPDIR)/nanosleep.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/perror.Po -rm -f ./$(DEPDIR)/pipe.Po -rm -f ./$(DEPDIR)/pthread-thread.Po -rm -f ./$(DEPDIR)/pthread_sigmask.Po -rm -f ./$(DEPDIR)/putenv.Po -rm -f ./$(DEPDIR)/raise.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/setsockopt.Po -rm -f ./$(DEPDIR)/sig-handler.Po -rm -f ./$(DEPDIR)/sigaction.Po -rm -f ./$(DEPDIR)/sigprocmask.Po -rm -f ./$(DEPDIR)/sleep.Po -rm -f ./$(DEPDIR)/socket.Po -rm -f ./$(DEPDIR)/sockets.Po -rm -f ./$(DEPDIR)/stat-w32.Po -rm -f ./$(DEPDIR)/stat.Po -rm -f ./$(DEPDIR)/strerror-override.Po -rm -f ./$(DEPDIR)/strerror.Po -rm -f ./$(DEPDIR)/strerror_r.Po -rm -f ./$(DEPDIR)/symlink.Po -rm -f ./$(DEPDIR)/test-accept.Po -rm -f ./$(DEPDIR)/test-alloca-opt.Po -rm -f ./$(DEPDIR)/test-arpa_inet.Po -rm -f ./$(DEPDIR)/test-base64.Po -rm -f ./$(DEPDIR)/test-binary-io.Po -rm -f ./$(DEPDIR)/test-bind.Po -rm -f ./$(DEPDIR)/test-byteswap.Po -rm -f ./$(DEPDIR)/test-c-ctype.Po -rm -f ./$(DEPDIR)/test-cloexec.Po -rm -f ./$(DEPDIR)/test-close.Po -rm -f ./$(DEPDIR)/test-connect.Po -rm -f ./$(DEPDIR)/test-ctype.Po -rm -f ./$(DEPDIR)/test-dup2.Po -rm -f ./$(DEPDIR)/test-environ.Po -rm -f ./$(DEPDIR)/test-errno.Po -rm -f ./$(DEPDIR)/test-fcntl-h.Po -rm -f ./$(DEPDIR)/test-fcntl.Po -rm -f ./$(DEPDIR)/test-fdopen.Po -rm -f ./$(DEPDIR)/test-fflush.Po -rm -f ./$(DEPDIR)/test-fflush2.Po -rm -f ./$(DEPDIR)/test-fgetc.Po -rm -f ./$(DEPDIR)/test-float.Po -rm -f ./$(DEPDIR)/test-fpurge.Po -rm -f ./$(DEPDIR)/test-fputc.Po -rm -f ./$(DEPDIR)/test-fread.Po -rm -f ./$(DEPDIR)/test-freading.Po -rm -f ./$(DEPDIR)/test-fseek.Po -rm -f ./$(DEPDIR)/test-fseeko.Po -rm -f ./$(DEPDIR)/test-fseeko3.Po -rm -f ./$(DEPDIR)/test-fseeko4.Po -rm -f ./$(DEPDIR)/test-fstat.Po -rm -f ./$(DEPDIR)/test-ftell.Po -rm -f ./$(DEPDIR)/test-ftell3.Po -rm -f ./$(DEPDIR)/test-ftello.Po -rm -f ./$(DEPDIR)/test-ftello3.Po -rm -f ./$(DEPDIR)/test-ftello4.Po -rm -f ./$(DEPDIR)/test-ftruncate.Po -rm -f ./$(DEPDIR)/test-fwrite.Po -rm -f ./$(DEPDIR)/test-gc-hmac-md5.Po -rm -f ./$(DEPDIR)/test-gc-hmac-sha1.Po -rm -f ./$(DEPDIR)/test-gc-md5.Po -rm -f ./$(DEPDIR)/test-gc-pbkdf2-sha1.Po -rm -f ./$(DEPDIR)/test-gc-sha1.Po -rm -f ./$(DEPDIR)/test-gc.Po -rm -f ./$(DEPDIR)/test-getcwd-lgpl.Po -rm -f ./$(DEPDIR)/test-getdelim.Po -rm -f ./$(DEPDIR)/test-getdtablesize.Po -rm -f ./$(DEPDIR)/test-getline.Po -rm -f ./$(DEPDIR)/test-getrusage.Po -rm -f ./$(DEPDIR)/test-gettimeofday.Po -rm -f ./$(DEPDIR)/test-hmac-md5.Po -rm -f ./$(DEPDIR)/test-hmac-sha1.Po -rm -f ./$(DEPDIR)/test-ignore-value.Po -rm -f ./$(DEPDIR)/test-inet_pton.Po -rm -f ./$(DEPDIR)/test-intprops.Po -rm -f ./$(DEPDIR)/test-inttypes.Po -rm -f ./$(DEPDIR)/test-ioctl.Po -rm -f ./$(DEPDIR)/test-isblank.Po -rm -f ./$(DEPDIR)/test-limits-h.Po -rm -f ./$(DEPDIR)/test-listen.Po -rm -f ./$(DEPDIR)/test-lock.Po -rm -f ./$(DEPDIR)/test-lseek.Po -rm -f ./$(DEPDIR)/test-lstat.Po -rm -f ./$(DEPDIR)/test-malloca.Po -rm -f ./$(DEPDIR)/test-md5.Po -rm -f ./$(DEPDIR)/test-memchr.Po -rm -f ./$(DEPDIR)/test-memmem.Po -rm -f ./$(DEPDIR)/test-nanosleep.Po -rm -f ./$(DEPDIR)/test-netinet_in.Po -rm -f ./$(DEPDIR)/test-once.Po -rm -f ./$(DEPDIR)/test-open.Po -rm -f ./$(DEPDIR)/test-pathmax.Po -rm -f ./$(DEPDIR)/test-perror.Po -rm -f ./$(DEPDIR)/test-perror2.Po -rm -f ./$(DEPDIR)/test-pipe.Po -rm -f ./$(DEPDIR)/test-pthread-thread.Po -rm -f ./$(DEPDIR)/test-pthread.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask1.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask2.Po -rm -f ./$(DEPDIR)/test-raise.Po -rm -f ./$(DEPDIR)/test-rwlock1.Po -rm -f ./$(DEPDIR)/test-sched.Po -rm -f ./$(DEPDIR)/test-select-fd.Po -rm -f ./$(DEPDIR)/test-select-stdin.Po -rm -f ./$(DEPDIR)/test-select.Po -rm -f ./$(DEPDIR)/test-setsockopt.Po -rm -f ./$(DEPDIR)/test-sha1.Po -rm -f ./$(DEPDIR)/test-sigaction.Po -rm -f ./$(DEPDIR)/test-signal-h.Po -rm -f ./$(DEPDIR)/test-sigprocmask.Po -rm -f ./$(DEPDIR)/test-sleep.Po -rm -f ./$(DEPDIR)/test-sockets.Po -rm -f ./$(DEPDIR)/test-stat-time.Po -rm -f ./$(DEPDIR)/test-stat.Po -rm -f ./$(DEPDIR)/test-stdalign.Po -rm -f ./$(DEPDIR)/test-stdbool.Po -rm -f ./$(DEPDIR)/test-stddef.Po -rm -f ./$(DEPDIR)/test-stdint.Po -rm -f ./$(DEPDIR)/test-stdio.Po -rm -f ./$(DEPDIR)/test-stdlib.Po -rm -f ./$(DEPDIR)/test-strerror.Po -rm -f ./$(DEPDIR)/test-strerror_r.Po -rm -f ./$(DEPDIR)/test-string.Po -rm -f ./$(DEPDIR)/test-strnlen.Po -rm -f ./$(DEPDIR)/test-strverscmp.Po -rm -f ./$(DEPDIR)/test-symlink.Po -rm -f ./$(DEPDIR)/test-sys_ioctl.Po -rm -f ./$(DEPDIR)/test-sys_resource.Po -rm -f ./$(DEPDIR)/test-sys_select.Po -rm -f ./$(DEPDIR)/test-sys_socket.Po -rm -f ./$(DEPDIR)/test-sys_stat.Po -rm -f ./$(DEPDIR)/test-sys_time.Po -rm -f ./$(DEPDIR)/test-sys_types.Po -rm -f ./$(DEPDIR)/test-sys_uio.Po -rm -f ./$(DEPDIR)/test-thread_create.Po -rm -f ./$(DEPDIR)/test-thread_self.Po -rm -f ./$(DEPDIR)/test-time.Po -rm -f ./$(DEPDIR)/test-unistd.Po -rm -f ./$(DEPDIR)/test-unsetenv.Po -rm -f ./$(DEPDIR)/test-usleep.Po -rm -f ./$(DEPDIR)/test-vasnprintf.Po -rm -f ./$(DEPDIR)/test-vasprintf.Po -rm -f ./$(DEPDIR)/test-verify-try.Po -rm -f ./$(DEPDIR)/test-verify.Po -rm -f ./$(DEPDIR)/test-wchar.Po -rm -f ./$(DEPDIR)/unsetenv.Po -rm -f ./$(DEPDIR)/usleep.Po -rm -f ./$(DEPDIR)/windows-mutex.Po -rm -f ./$(DEPDIR)/windows-once.Po -rm -f ./$(DEPDIR)/windows-recmutex.Po -rm -f ./$(DEPDIR)/windows-rwlock.Po -rm -f ./$(DEPDIR)/windows-thread.Po -rm -f ./$(DEPDIR)/windows-tls.Po -rm -f glthread/$(DEPDIR)/lock.Po -rm -f glthread/$(DEPDIR)/thread.Po -rm -f glthread/$(DEPDIR)/threadlib.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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 ./$(DEPDIR)/accept.Po -rm -f ./$(DEPDIR)/alloca.Po -rm -f ./$(DEPDIR)/bench-md5.Po -rm -f ./$(DEPDIR)/bench-sha1.Po -rm -f ./$(DEPDIR)/binary-io.Po -rm -f ./$(DEPDIR)/bind.Po -rm -f ./$(DEPDIR)/cloexec.Po -rm -f ./$(DEPDIR)/close.Po -rm -f ./$(DEPDIR)/connect.Po -rm -f ./$(DEPDIR)/dup2.Po -rm -f ./$(DEPDIR)/fcntl.Po -rm -f ./$(DEPDIR)/fd-hook.Po -rm -f ./$(DEPDIR)/fdopen.Po -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/getcwd-lgpl.Po -rm -f ./$(DEPDIR)/getdtablesize.Po -rm -f ./$(DEPDIR)/getpagesize.Po -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/gettimeofday.Po -rm -f ./$(DEPDIR)/inet_pton.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/isblank.Po -rm -f ./$(DEPDIR)/listen.Po -rm -f ./$(DEPDIR)/localtime-buffer.Po -rm -f ./$(DEPDIR)/lstat.Po -rm -f ./$(DEPDIR)/malloc.Po -rm -f ./$(DEPDIR)/malloca.Po -rm -f ./$(DEPDIR)/nanosleep.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/perror.Po -rm -f ./$(DEPDIR)/pipe.Po -rm -f ./$(DEPDIR)/pthread-thread.Po -rm -f ./$(DEPDIR)/pthread_sigmask.Po -rm -f ./$(DEPDIR)/putenv.Po -rm -f ./$(DEPDIR)/raise.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/setsockopt.Po -rm -f ./$(DEPDIR)/sig-handler.Po -rm -f ./$(DEPDIR)/sigaction.Po -rm -f ./$(DEPDIR)/sigprocmask.Po -rm -f ./$(DEPDIR)/sleep.Po -rm -f ./$(DEPDIR)/socket.Po -rm -f ./$(DEPDIR)/sockets.Po -rm -f ./$(DEPDIR)/stat-w32.Po -rm -f ./$(DEPDIR)/stat.Po -rm -f ./$(DEPDIR)/strerror-override.Po -rm -f ./$(DEPDIR)/strerror.Po -rm -f ./$(DEPDIR)/strerror_r.Po -rm -f ./$(DEPDIR)/symlink.Po -rm -f ./$(DEPDIR)/test-accept.Po -rm -f ./$(DEPDIR)/test-alloca-opt.Po -rm -f ./$(DEPDIR)/test-arpa_inet.Po -rm -f ./$(DEPDIR)/test-base64.Po -rm -f ./$(DEPDIR)/test-binary-io.Po -rm -f ./$(DEPDIR)/test-bind.Po -rm -f ./$(DEPDIR)/test-byteswap.Po -rm -f ./$(DEPDIR)/test-c-ctype.Po -rm -f ./$(DEPDIR)/test-cloexec.Po -rm -f ./$(DEPDIR)/test-close.Po -rm -f ./$(DEPDIR)/test-connect.Po -rm -f ./$(DEPDIR)/test-ctype.Po -rm -f ./$(DEPDIR)/test-dup2.Po -rm -f ./$(DEPDIR)/test-environ.Po -rm -f ./$(DEPDIR)/test-errno.Po -rm -f ./$(DEPDIR)/test-fcntl-h.Po -rm -f ./$(DEPDIR)/test-fcntl.Po -rm -f ./$(DEPDIR)/test-fdopen.Po -rm -f ./$(DEPDIR)/test-fflush.Po -rm -f ./$(DEPDIR)/test-fflush2.Po -rm -f ./$(DEPDIR)/test-fgetc.Po -rm -f ./$(DEPDIR)/test-float.Po -rm -f ./$(DEPDIR)/test-fpurge.Po -rm -f ./$(DEPDIR)/test-fputc.Po -rm -f ./$(DEPDIR)/test-fread.Po -rm -f ./$(DEPDIR)/test-freading.Po -rm -f ./$(DEPDIR)/test-fseek.Po -rm -f ./$(DEPDIR)/test-fseeko.Po -rm -f ./$(DEPDIR)/test-fseeko3.Po -rm -f ./$(DEPDIR)/test-fseeko4.Po -rm -f ./$(DEPDIR)/test-fstat.Po -rm -f ./$(DEPDIR)/test-ftell.Po -rm -f ./$(DEPDIR)/test-ftell3.Po -rm -f ./$(DEPDIR)/test-ftello.Po -rm -f ./$(DEPDIR)/test-ftello3.Po -rm -f ./$(DEPDIR)/test-ftello4.Po -rm -f ./$(DEPDIR)/test-ftruncate.Po -rm -f ./$(DEPDIR)/test-fwrite.Po -rm -f ./$(DEPDIR)/test-gc-hmac-md5.Po -rm -f ./$(DEPDIR)/test-gc-hmac-sha1.Po -rm -f ./$(DEPDIR)/test-gc-md5.Po -rm -f ./$(DEPDIR)/test-gc-pbkdf2-sha1.Po -rm -f ./$(DEPDIR)/test-gc-sha1.Po -rm -f ./$(DEPDIR)/test-gc.Po -rm -f ./$(DEPDIR)/test-getcwd-lgpl.Po -rm -f ./$(DEPDIR)/test-getdelim.Po -rm -f ./$(DEPDIR)/test-getdtablesize.Po -rm -f ./$(DEPDIR)/test-getline.Po -rm -f ./$(DEPDIR)/test-getrusage.Po -rm -f ./$(DEPDIR)/test-gettimeofday.Po -rm -f ./$(DEPDIR)/test-hmac-md5.Po -rm -f ./$(DEPDIR)/test-hmac-sha1.Po -rm -f ./$(DEPDIR)/test-ignore-value.Po -rm -f ./$(DEPDIR)/test-inet_pton.Po -rm -f ./$(DEPDIR)/test-intprops.Po -rm -f ./$(DEPDIR)/test-inttypes.Po -rm -f ./$(DEPDIR)/test-ioctl.Po -rm -f ./$(DEPDIR)/test-isblank.Po -rm -f ./$(DEPDIR)/test-limits-h.Po -rm -f ./$(DEPDIR)/test-listen.Po -rm -f ./$(DEPDIR)/test-lock.Po -rm -f ./$(DEPDIR)/test-lseek.Po -rm -f ./$(DEPDIR)/test-lstat.Po -rm -f ./$(DEPDIR)/test-malloca.Po -rm -f ./$(DEPDIR)/test-md5.Po -rm -f ./$(DEPDIR)/test-memchr.Po -rm -f ./$(DEPDIR)/test-memmem.Po -rm -f ./$(DEPDIR)/test-nanosleep.Po -rm -f ./$(DEPDIR)/test-netinet_in.Po -rm -f ./$(DEPDIR)/test-once.Po -rm -f ./$(DEPDIR)/test-open.Po -rm -f ./$(DEPDIR)/test-pathmax.Po -rm -f ./$(DEPDIR)/test-perror.Po -rm -f ./$(DEPDIR)/test-perror2.Po -rm -f ./$(DEPDIR)/test-pipe.Po -rm -f ./$(DEPDIR)/test-pthread-thread.Po -rm -f ./$(DEPDIR)/test-pthread.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask1.Po -rm -f ./$(DEPDIR)/test-pthread_sigmask2.Po -rm -f ./$(DEPDIR)/test-raise.Po -rm -f ./$(DEPDIR)/test-rwlock1.Po -rm -f ./$(DEPDIR)/test-sched.Po -rm -f ./$(DEPDIR)/test-select-fd.Po -rm -f ./$(DEPDIR)/test-select-stdin.Po -rm -f ./$(DEPDIR)/test-select.Po -rm -f ./$(DEPDIR)/test-setsockopt.Po -rm -f ./$(DEPDIR)/test-sha1.Po -rm -f ./$(DEPDIR)/test-sigaction.Po -rm -f ./$(DEPDIR)/test-signal-h.Po -rm -f ./$(DEPDIR)/test-sigprocmask.Po -rm -f ./$(DEPDIR)/test-sleep.Po -rm -f ./$(DEPDIR)/test-sockets.Po -rm -f ./$(DEPDIR)/test-stat-time.Po -rm -f ./$(DEPDIR)/test-stat.Po -rm -f ./$(DEPDIR)/test-stdalign.Po -rm -f ./$(DEPDIR)/test-stdbool.Po -rm -f ./$(DEPDIR)/test-stddef.Po -rm -f ./$(DEPDIR)/test-stdint.Po -rm -f ./$(DEPDIR)/test-stdio.Po -rm -f ./$(DEPDIR)/test-stdlib.Po -rm -f ./$(DEPDIR)/test-strerror.Po -rm -f ./$(DEPDIR)/test-strerror_r.Po -rm -f ./$(DEPDIR)/test-string.Po -rm -f ./$(DEPDIR)/test-strnlen.Po -rm -f ./$(DEPDIR)/test-strverscmp.Po -rm -f ./$(DEPDIR)/test-symlink.Po -rm -f ./$(DEPDIR)/test-sys_ioctl.Po -rm -f ./$(DEPDIR)/test-sys_resource.Po -rm -f ./$(DEPDIR)/test-sys_select.Po -rm -f ./$(DEPDIR)/test-sys_socket.Po -rm -f ./$(DEPDIR)/test-sys_stat.Po -rm -f ./$(DEPDIR)/test-sys_time.Po -rm -f ./$(DEPDIR)/test-sys_types.Po -rm -f ./$(DEPDIR)/test-sys_uio.Po -rm -f ./$(DEPDIR)/test-thread_create.Po -rm -f ./$(DEPDIR)/test-thread_self.Po -rm -f ./$(DEPDIR)/test-time.Po -rm -f ./$(DEPDIR)/test-unistd.Po -rm -f ./$(DEPDIR)/test-unsetenv.Po -rm -f ./$(DEPDIR)/test-usleep.Po -rm -f ./$(DEPDIR)/test-vasnprintf.Po -rm -f ./$(DEPDIR)/test-vasprintf.Po -rm -f ./$(DEPDIR)/test-verify-try.Po -rm -f ./$(DEPDIR)/test-verify.Po -rm -f ./$(DEPDIR)/test-wchar.Po -rm -f ./$(DEPDIR)/unsetenv.Po -rm -f ./$(DEPDIR)/usleep.Po -rm -f ./$(DEPDIR)/windows-mutex.Po -rm -f ./$(DEPDIR)/windows-once.Po -rm -f ./$(DEPDIR)/windows-recmutex.Po -rm -f ./$(DEPDIR)/windows-rwlock.Po -rm -f ./$(DEPDIR)/windows-thread.Po -rm -f ./$(DEPDIR)/windows-tls.Po -rm -f glthread/$(DEPDIR)/lock.Po -rm -f glthread/$(DEPDIR)/thread.Po -rm -f glthread/$(DEPDIR)/threadlib.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-local pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all check check-am install install-am \ install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--depfiles check check-TESTS check-am clean \ clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \ clean-libtool clean-local clean-noinstLIBRARIES \ 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-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 \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool mostlyclean-local pdf pdf-am ps ps-am \ recheck tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # We need the following in order to create when the system # doesn't have one. arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) arpa $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \ -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/arpa_inet.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/ctype.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/fcntl.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \ -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \ -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/inttypes.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one. @GL_GENERATE_NETINET_IN_H_TRUE@netinet/in.h: netinet_in.in.h $(top_builddir)/config.status @GL_GENERATE_NETINET_IN_H_TRUE@ $(AM_V_at)$(MKDIR_P) netinet @GL_GENERATE_NETINET_IN_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ @GL_GENERATE_NETINET_IN_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @GL_GENERATE_NETINET_IN_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ < $(srcdir)/netinet_in.in.h; \ @GL_GENERATE_NETINET_IN_H_TRUE@ } > $@-t && \ @GL_GENERATE_NETINET_IN_H_TRUE@ mv $@-t $@ @GL_GENERATE_NETINET_IN_H_FALSE@netinet/in.h: $(top_builddir)/config.status @GL_GENERATE_NETINET_IN_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ -e 's/@''GNULIB_PTHREAD_THREAD''@/$(GNULIB_PTHREAD_THREAD)/g' \ -e 's/@''GNULIB_PTHREAD_ONCE''@/$(GNULIB_PTHREAD_ONCE)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX''@/$(GNULIB_PTHREAD_MUTEX)/g' \ -e 's/@''GNULIB_PTHREAD_RWLOCK''@/$(GNULIB_PTHREAD_RWLOCK)/g' \ -e 's/@''GNULIB_PTHREAD_COND''@/$(GNULIB_PTHREAD_COND)/g' \ -e 's/@''GNULIB_PTHREAD_TSS''@/$(GNULIB_PTHREAD_TSS)/g' \ -e 's/@''GNULIB_PTHREAD_SPIN''@/$(GNULIB_PTHREAD_SPIN)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/$(GNULIB_PTHREAD_MUTEX_TIMEDLOCK)/g' \ -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|$(HAVE_PTHREAD_CREATE_DETACHED)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|$(HAVE_PTHREAD_MUTEX_RECURSIVE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|$(HAVE_PTHREAD_MUTEX_ROBUST)|g' \ -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|$(HAVE_PTHREAD_PROCESS_SHARED)|g' \ -e 's|@''HAVE_PTHREAD_CREATE''@|$(HAVE_PTHREAD_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|$(HAVE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|$(HAVE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_SELF''@|$(HAVE_PTHREAD_SELF)|g' \ -e 's|@''HAVE_PTHREAD_EQUAL''@|$(HAVE_PTHREAD_EQUAL)|g' \ -e 's|@''HAVE_PTHREAD_DETACH''@|$(HAVE_PTHREAD_DETACH)|g' \ -e 's|@''HAVE_PTHREAD_JOIN''@|$(HAVE_PTHREAD_JOIN)|g' \ -e 's|@''HAVE_PTHREAD_EXIT''@|$(HAVE_PTHREAD_EXIT)|g' \ -e 's|@''HAVE_PTHREAD_ONCE''@|$(HAVE_PTHREAD_ONCE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|$(HAVE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|$(HAVE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|$(HAVE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|$(HAVE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|$(HAVE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|$(HAVE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|$(HAVE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|$(HAVE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|$(HAVE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|$(HAVE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|$(HAVE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|$(HAVE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|$(HAVE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|$(HAVE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|$(HAVE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_INIT''@|$(HAVE_PTHREAD_COND_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|$(HAVE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|$(HAVE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_WAIT''@|$(HAVE_PTHREAD_COND_WAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|$(HAVE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|$(HAVE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|$(HAVE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|$(HAVE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|$(HAVE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|$(HAVE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|$(HAVE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|$(HAVE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|$(HAVE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|$(HAVE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|$(HAVE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|$(HAVE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|$(HAVE_PTHREAD_SPIN_DESTROY)|g' \ < $(srcdir)/pthread.in.h | \ sed -e 's|@''REPLACE_PTHREAD_CREATE''@|$(REPLACE_PTHREAD_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|$(REPLACE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|$(REPLACE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_SELF''@|$(REPLACE_PTHREAD_SELF)|g' \ -e 's|@''REPLACE_PTHREAD_EQUAL''@|$(REPLACE_PTHREAD_EQUAL)|g' \ -e 's|@''REPLACE_PTHREAD_DETACH''@|$(REPLACE_PTHREAD_DETACH)|g' \ -e 's|@''REPLACE_PTHREAD_JOIN''@|$(REPLACE_PTHREAD_JOIN)|g' \ -e 's|@''REPLACE_PTHREAD_EXIT''@|$(REPLACE_PTHREAD_EXIT)|g' \ -e 's|@''REPLACE_PTHREAD_ONCE''@|$(REPLACE_PTHREAD_ONCE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|$(REPLACE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|$(REPLACE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|$(REPLACE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|$(REPLACE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|$(REPLACE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|$(REPLACE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|$(REPLACE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|$(REPLACE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|$(REPLACE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|$(REPLACE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|$(REPLACE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|$(REPLACE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|$(REPLACE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_INIT''@|$(REPLACE_PTHREAD_COND_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|$(REPLACE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|$(REPLACE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|$(REPLACE_PTHREAD_COND_WAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|$(REPLACE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|$(REPLACE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|$(REPLACE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|$(REPLACE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|$(REPLACE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|$(REPLACE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|$(REPLACE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|$(REPLACE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|$(REPLACE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|$(REPLACE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|$(REPLACE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|$(REPLACE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|$(REPLACE_PTHREAD_SPIN_DESTROY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create a replacement for when # the system doesn't have one. sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ -e 's/@''GNULIB_SCHED_YIELD''@/$(GNULIB_SCHED_YIELD)/g' \ -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \ -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sched.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have a complete one. signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \ -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/signal.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \ -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \ -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \ -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \ -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ < $(srcdir)/stdlib.in.h | \ sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \ -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \ -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \ -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # does not have a complete one. sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \ -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_ioctl.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one. sys/resource.h: sys_resource.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_RESOURCE_H''@|$(NEXT_SYS_RESOURCE_H)|g' \ -e 's|@''HAVE_SYS_RESOURCE_H''@|$(HAVE_SYS_RESOURCE_H)|g' \ -e 's/@''GNULIB_GETRUSAGE''@/$(GNULIB_GETRUSAGE)/g' \ -e 's/@''HAVE_GETRUSAGE''@/$(HAVE_GETRUSAGE)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_resource.in.h; \ } > $@-t && \ mv -f $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_select.in.h; \ } > $@-t && \ mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_time.in.h; \ } > $@-t && \ mv $@-t $@ # Clean up after Solaris cc. clean-local: rm -rf SunWS_cache mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gsasl-1.8.1/lib/gltests/test-sys_ioctl.c0000644000000000000000000000155113516251670015115 00000000000000/* Test of substitute. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include int main (void) { return 0; } gsasl-1.8.1/lib/gltests/test-unsetenv.c0000644000000000000000000000337613516251670014763 00000000000000/* Tests of unsetenv. Copyright (C) 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Eric Blake , 2009. */ #include #include #include "signature.h" SIGNATURE_CHECK (unsetenv, int, (char const *)); #include #include #include #include "macros.h" int main (void) { char entry[] = "b=2"; /* Test removal when multiple entries present. */ ASSERT (putenv ((char *) "a=1") == 0); ASSERT (putenv (entry) == 0); entry[0] = 'a'; /* Unspecified what getenv("a") would be at this point. */ ASSERT (unsetenv ("a") == 0); /* Both entries will be removed. */ ASSERT (getenv ("a") == NULL); ASSERT (unsetenv ("a") == 0); /* Required to fail with EINVAL. */ errno = 0; ASSERT (unsetenv ("") == -1); ASSERT (errno == EINVAL); errno = 0; ASSERT (unsetenv ("a=b") == -1); ASSERT (errno == EINVAL); #if 0 /* glibc and gnulib's implementation guarantee this, but POSIX no longer requires it: http://austingroupbugs.net/view.php?id=185 */ errno = 0; ASSERT (unsetenv (NULL) == -1); ASSERT (errno == EINVAL); #endif return 0; } gsasl-1.8.1/lib/gltests/windows-recmutex.h0000644000000000000000000000363413516251670015465 00000000000000/* Plain recursive mutexes (native Windows implementation). Copyright (C) 2005-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, 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, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_RECMUTEX_H #define _WINDOWS_RECMUTEX_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" /* The native Windows documentation says that CRITICAL_SECTION already implements a recursive lock. But we need not rely on it: It's easy to implement a recursive lock without this assumption. */ typedef struct { glwthread_initguard_t guard; /* protects the initialization */ DWORD owner; unsigned long depth; CRITICAL_SECTION lock; } glwthread_recmutex_t; #define GLWTHREAD_RECMUTEX_INIT { GLWTHREAD_INITGUARD_INIT, 0, 0 } #ifdef __cplusplus extern "C" { #endif extern void glwthread_recmutex_init (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_lock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_trylock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_unlock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_destroy (glwthread_recmutex_t *mutex); #ifdef __cplusplus } #endif #endif /* _WINDOWS_RECMUTEX_H */ gsasl-1.8.1/lib/gltests/test-gc-hmac-md5.c0000644000000000000000000000374713516251671015101 00000000000000/* * Copyright (C) 2005, 2010-2019 Free Software Foundation, Inc. * Written by Simon Josefsson * * 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 3, 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, see . */ #include #include "gc.h" #include #include int main (int argc, char *argv[]) { Gc_rc rc; rc = gc_init (); if (rc != GC_OK) { printf ("gc_init() failed\n"); return 1; } /* Test vectors from RFC 2104. */ { char *key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"; size_t key_len = 16; char *data = "Hi There"; size_t data_len = 8; char *digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d"; char out[16]; /* key = 0x0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b key_len = 16 bytes data = "Hi There" data_len = 8 bytes digest = 0x9294727a3638bb1c13f48ef8158bfc9d */ if (gc_hmac_md5 (key, key_len, data, data_len, out) != 0) { printf ("call failure\n"); return 1; } if (memcmp (digest, out, 16) != 0) { size_t i; printf ("hash 1 mismatch. expected:\n"); for (i = 0; i < 16; i++) printf ("%02x ", digest[i] & 0xFF); printf ("\ncomputed:\n"); for (i = 0; i < 16; i++) printf ("%02x ", out[i] & 0xFF); printf ("\n"); return 1; } } gc_done (); return 0; } gsasl-1.8.1/lib/gltests/test-sys_socket.c0000644000000000000000000000330113516251670015266 00000000000000/* Test of substitute. Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include #if HAVE_SHUTDOWN /* Check some integer constant expressions. */ int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; #endif /* Check that the 'socklen_t' type is defined. */ socklen_t t1; /* Check that the 'size_t' and 'ssize_t' types are defined. */ size_t t2; ssize_t t3; /* Check that 'struct iovec' is defined. */ struct iovec io; /* Check that a minimal set of 'struct msghdr' is defined. */ struct msghdr msg; int main (void) { struct sockaddr_storage x; sa_family_t i; /* Check some errno values. */ switch (ENOTSOCK) { case ENOTSOCK: case EADDRINUSE: case ENETRESET: case ECONNABORTED: case ECONNRESET: case ENOTCONN: case ESHUTDOWN: break; } x.ss_family = 42; i = 42; msg.msg_iov = &io; return (x.ss_family - i + msg.msg_namelen + msg.msg_iov->iov_len + msg.msg_iovlen); } gsasl-1.8.1/lib/gltests/test-pthread_sigmask1.c0000644000000000000000000000467613516251667016354 00000000000000/* Test of pthread_sigmask in a single-threaded program. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2011. */ #include #include #include "signature.h" SIGNATURE_CHECK (pthread_sigmask, int, (int, const sigset_t *, sigset_t *)); #include #include #include #include #include "macros.h" #if !(defined _WIN32 && !defined __CYGWIN__) static volatile int sigint_occurred; static void sigint_handler (int sig) { sigint_occurred++; } int main (int argc, char *argv[]) { sigset_t set; int pid = getpid (); char command[80]; signal (SIGINT, sigint_handler); sigemptyset (&set); sigaddset (&set, SIGINT); /* Check error handling. */ ASSERT (pthread_sigmask (1729, &set, NULL) == EINVAL); /* Block SIGINT. */ ASSERT (pthread_sigmask (SIG_BLOCK, &set, NULL) == 0); /* Request a SIGINT signal from outside. */ sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid); ASSERT (system (command) == 0); /* Wait. */ sleep (2); /* The signal should not have arrived yet, because it is blocked. */ ASSERT (sigint_occurred == 0); /* Unblock SIGINT. */ ASSERT (pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0); /* The signal should have arrived now, because POSIX says "If there are any pending unblocked signals after the call to pthread_sigmask(), at least one of those signals shall be delivered before the call to pthread_sigmask() returns." */ ASSERT (sigint_occurred == 1); return 0; } #else /* On native Windows, getpid() values and the arguments that are passed to the (Cygwin?) 'kill' program are not necessarily related. */ int main () { fputs ("Skipping test: native Windows platform\n", stderr); return 77; } #endif gsasl-1.8.1/lib/gltests/test-select.c0000644000000000000000000000202613516251667014370 00000000000000/* Test of select() substitute. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini, 2008. */ #include #include #include "signature.h" SIGNATURE_CHECK (select, int, (int, fd_set *, fd_set *, fd_set *, struct timeval *)); #include "test-select.h" int main (void) { return test_function (select); } gsasl-1.8.1/lib/gltests/unused-parameter.h0000644000000000000000000000304313516251670015414 00000000000000/* A C macro for declaring that specific function parameters are not used. Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* _GL_UNUSED_PARAMETER is a marker that can be appended to function parameter declarations for parameters that are not used. This helps to reduce warnings, such as from GCC -Wunused-parameter. The syntax is as follows: type param _GL_UNUSED_PARAMETER or more generally param_decl _GL_UNUSED_PARAMETER For example: int param _GL_UNUSED_PARAMETER int *(*param)(void) _GL_UNUSED_PARAMETER Other possible, but obscure and discouraged syntaxes: int _GL_UNUSED_PARAMETER *(*param)(void) _GL_UNUSED_PARAMETER int *(*param)(void) */ #ifndef _GL_UNUSED_PARAMETER # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED_PARAMETER __attribute__ ((__unused__)) # else # define _GL_UNUSED_PARAMETER # endif #endif gsasl-1.8.1/lib/gltests/test-gc-pbkdf2-sha1.c0000644000000000000000000001024413516251671015476 00000000000000/* * Copyright (C) 2002-2005, 2007, 2010-2019 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, 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, see . */ /* Written by Simon Josefsson. */ #include #include "gc.h" #include #include /* Test vectors from RFC 3962. */ #define G_CLEF "\xF0\x9D\x84\x9E" struct pkcs5 { int iterations; const char *password; const char *salt; int dklen; const char *expected; }; const struct pkcs5 pkcs5[] = { {1, "password", "ATHENA.MIT.EDUraeburn", 16, "\xCD\xED\xB5\x28\x1B\xB2\xF8\x01\x56\x5A\x11\x22\xB2\x56\x35\x15"}, {2, "password", "ATHENA.MIT.EDUraeburn", 16, "\x01\xdb\xee\x7f\x4a\x9e\x24\x3e\x98\x8b\x62\xc7\x3c\xda\x93\x5d"}, {2, "password", "ATHENA.MIT.EDUraeburn", 32, "\x01\xdb\xee\x7f\x4a\x9e\x24\x3e\x98\x8b\x62\xc7\x3c\xda\x93\x5d" "\xa0\x53\x78\xb9\x32\x44\xec\x8f\x48\xa9\x9e\x61\xad\x79\x9d\x86"}, {1200, "password", "ATHENA.MIT.EDUraeburn", 16, "\x5c\x08\xeb\x61\xfd\xf7\x1e\x4e\x4e\xc3\xcf\x6b\xa1\xf5\x51\x2b"}, {1200, "password", "ATHENA.MIT.EDUraeburn", 32, "\x5c\x08\xeb\x61\xfd\xf7\x1e\x4e\x4e\xc3\xcf\x6b\xa1\xf5\x51\x2b" "\xa7\xe5\x2d\xdb\xc5\xe5\x14\x2f\x70\x8a\x31\xe2\xe6\x2b\x1e\x13"}, {5, "password", "\x12\x34\x56\x78\x78\x56\x34\x12\x00", 16, "\xd1\xda\xa7\x86\x15\xf2\x87\xe6\xa1\xc8\xb1\x20\xd7\x06\x2a\x49"}, {5, "password", "\x12\x34\x56\x78\x78\x56\x34\x12\x00", 32, "\xd1\xda\xa7\x86\x15\xf2\x87\xe6\xa1\xc8\xb1\x20\xd7\x06\x2a\x49" "\x3f\x98\xd2\x03\xe6\xbe\x49\xa6\xad\xf4\xfa\x57\x4b\x6e\x64\xee"}, {1200, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "pass phrase equals block size", 16, "\x13\x9c\x30\xc0\x96\x6b\xc3\x2b\xa5\x5f\xdb\xf2\x12\x53\x0a\xc9"}, {1200, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "pass phrase equals block size", 32, "\x13\x9c\x30\xc0\x96\x6b\xc3\x2b\xa5\x5f\xdb\xf2\x12\x53\x0a\xc9" "\xc5\xec\x59\xf1\xa4\x52\xf5\xcc\x9a\xd9\x40\xfe\xa0\x59\x8e\xd1"}, {1200, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "pass phrase exceeds block size", 16, "\x9c\xca\xd6\xd4\x68\x77\x0c\xd5\x1b\x10\xe6\xa6\x87\x21\xbe\x61"}, {1200, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "pass phrase exceeds block size", 32, "\x9c\xca\xd6\xd4\x68\x77\x0c\xd5\x1b\x10\xe6\xa6\x87\x21\xbe\x61" "\x1a\x8b\x4d\x28\x26\x01\xdb\x3b\x36\xbe\x92\x46\x91\x5e\xc8\x2a"}, {50, G_CLEF "\x00", "EXAMPLE.COMpianist", 16, "\x6b\x9c\xf2\x6d\x45\x45\x5a\x43\xa5\xb8\xbb\x27\x6a\x40\x3b\x39"}, {50, G_CLEF "\x00", "EXAMPLE.COMpianist", 32, "\x6b\x9c\xf2\x6d\x45\x45\x5a\x43\xa5\xb8\xbb\x27\x6a\x40\x3b\x39" "\xe7\xfe\x37\xa0\xc4\x1e\x02\xc2\x81\xff\x30\x69\xe1\xe9\x4f\x52"}, {500, "All n-entities must communicate with other n-entities via n-1 " "entiteeheehees", "\x12\x34\x56\x78\x78\x56\x34\x12\x00", 16, "\x6A\x89\x70\xBF\x68\xC9\x2C\xAE\xA8\x4A\x8D\xF2\x85\x10\x85\x86"} }; int main (int argc, char *argv[]) { size_t i; int rc; char out[BUFSIZ]; for (i = 0; i < sizeof (pkcs5) / sizeof (pkcs5[0]); i++) { rc = gc_pbkdf2_sha1 (pkcs5[i].password, strlen (pkcs5[i].password), pkcs5[i].salt, strlen (pkcs5[i].salt), pkcs5[i].iterations, out, pkcs5[i].dklen); if (rc != GC_OK) { printf ("PKCS5 entry %ld failed fatally: %d\n", (unsigned long) i, rc); return 1; } if (memcmp (pkcs5[i].expected, out, pkcs5[i].dklen) != 0) { printf ("PKCS5 entry %ld failed\n", (unsigned long) i); return 1; } } return 0; } gsasl-1.8.1/lib/gltests/dup2.c0000644000000000000000000001156413516251666013014 00000000000000/* Duplicate an open file descriptor to a specified file descriptor. Copyright (C) 1999, 2004-2007, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* written by Paul Eggert */ #include /* Specification. */ #include #include #include #if HAVE_DUP2 # undef dup2 # if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int dup2_nothrow (int fd, int desired_fd) { int result; TRY_MSVC_INVAL { result = dup2 (fd, desired_fd); } CATCH_MSVC_INVAL { errno = EBADF; result = -1; } DONE_MSVC_INVAL; return result; } # else # define dup2_nothrow dup2 # endif static int ms_windows_dup2 (int fd, int desired_fd) { int result; /* If fd is closed, mingw hangs on dup2 (fd, fd). If fd is open, dup2 (fd, fd) returns 0, but all further attempts to use fd in future dup2 calls will hang. */ if (fd == desired_fd) { if ((HANDLE) _get_osfhandle (fd) == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } return fd; } /* Wine 1.0.1 return 0 when desired_fd is negative but not -1: https://bugs.winehq.org/show_bug.cgi?id=21289 */ if (desired_fd < 0) { errno = EBADF; return -1; } result = dup2_nothrow (fd, desired_fd); if (result == 0) result = desired_fd; return result; } # define dup2 ms_windows_dup2 # elif defined __KLIBC__ # include static int klibc_dup2dirfd (int fd, int desired_fd) { int tempfd; int dupfd; tempfd = open ("NUL", O_RDONLY); if (tempfd == -1) return -1; if (tempfd == desired_fd) { close (tempfd); char path[_MAX_PATH]; if (__libc_Back_ioFHToPath (fd, path, sizeof (path))) return -1; return open(path, O_RDONLY); } dupfd = klibc_dup2dirfd (fd, desired_fd); close (tempfd); return dupfd; } static int klibc_dup2 (int fd, int desired_fd) { int dupfd; struct stat sbuf; dupfd = dup2 (fd, desired_fd); if (dupfd == -1 && errno == ENOTSUP \ && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) { close (desired_fd); return klibc_dup2dirfd (fd, desired_fd); } return dupfd; } # define dup2 klibc_dup2 # endif int rpl_dup2 (int fd, int desired_fd) { int result; # ifdef F_GETFL /* On Linux kernels 2.6.26-2.6.29, dup2 (fd, fd) returns -EBADF. On Cygwin 1.5.x, dup2 (1, 1) returns 0. On Cygwin 1.7.17, dup2 (1, -1) dumps core. On Cygwin 1.7.25, dup2 (1, 256) can dump core. On Haiku, dup2 (fd, fd) mistakenly clears FD_CLOEXEC. */ # if HAVE_SETDTABLESIZE setdtablesize (desired_fd + 1); # endif if (desired_fd < 0) fd = desired_fd; if (fd == desired_fd) return fcntl (fd, F_GETFL) == -1 ? -1 : fd; # endif result = dup2 (fd, desired_fd); /* Correct an errno value on FreeBSD 6.1 and Cygwin 1.5.x. */ if (result == -1 && errno == EMFILE) errno = EBADF; # if REPLACE_FCHDIR if (fd != desired_fd && result != -1) result = _gl_register_dup (fd, result); # endif return result; } #else /* !HAVE_DUP2 */ /* On older platforms, dup2 did not exist. */ # ifndef F_DUPFD static int dupfd (int fd, int desired_fd) { int duplicated_fd = dup (fd); if (duplicated_fd < 0 || duplicated_fd == desired_fd) return duplicated_fd; else { int r = dupfd (fd, desired_fd); int e = errno; close (duplicated_fd); errno = e; return r; } } # endif int dup2 (int fd, int desired_fd) { int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; if (result == -1 || fd == desired_fd) return result; close (desired_fd); # ifdef F_DUPFD result = fcntl (fd, F_DUPFD, desired_fd); # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif # else result = dupfd (fd, desired_fd); # endif if (result == -1 && (errno == EMFILE || errno == EINVAL)) errno = EBADF; return result; } #endif /* !HAVE_DUP2 */ gsasl-1.8.1/lib/gltests/fdopen.c0000644000000000000000000000273013516251671013404 00000000000000/* Open a stream with a given file descriptor. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Specification. */ #include #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef fdopen #if HAVE_MSVC_INVALID_PARAMETER_HANDLER static FILE * fdopen_nothrow (int fd, const char *mode) { FILE *result; TRY_MSVC_INVAL { result = fdopen (fd, mode); } CATCH_MSVC_INVAL { result = NULL; } DONE_MSVC_INVAL; return result; } #else # define fdopen_nothrow fdopen #endif FILE * rpl_fdopen (int fd, const char *mode) { int saved_errno = errno; FILE *fp; errno = 0; fp = fdopen_nothrow (fd, mode); if (fp == NULL) { if (errno == 0) errno = EBADF; } else errno = saved_errno; return fp; } gsasl-1.8.1/lib/gltests/test-select-out.sh0000755000000000000000000000164413516251667015375 00000000000000#!/bin/sh # Test select() on file descriptors opened for writing. tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-select-out.out t-select-out.tmp" # Regular files. rm -f t-select-out.tmp ${CHECKER} ./test-select-fd${EXEEXT} w 1 t-select-out.tmp > t-select-out.out test `cat t-select-out.tmp` = "1" || exit 1 # Pipes. if false; then # This test fails on some platforms. rm -f t-select-out.tmp ( { echo abc; ${CHECKER} ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | { sleep 1; cat; } ) > /dev/null test `cat t-select-out.tmp` = "0" || exit 1 fi rm -f t-select-out.tmp ( { sleep 1; echo abc; ${CHECKER} ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | cat) > /dev/null test `cat t-select-out.tmp` = "1" || exit 1 # Special files. rm -f t-select-out.tmp ${CHECKER} ./test-select-fd${EXEEXT} w 1 t-select-out.tmp > /dev/null test `cat t-select-out.tmp` = "1" || exit 1 rm -fr $tmpfiles exit 0 gsasl-1.8.1/lib/gltests/malloca.c0000644000000000000000000000640213516251667013546 00000000000000/* Safe automatic memory allocation. Copyright (C) 2003, 2006-2007, 2009-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2003, 2018. 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 3, 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, see . */ #define _GL_USE_STDLIB_ALLOC 1 #include /* Specification. */ #include "malloca.h" #include "verify.h" /* The speed critical point in this file is freea() applied to an alloca() result: it must be fast, to match the speed of alloca(). The speed of mmalloca() and freea() in the other case are not critical, because they are only invoked for big memory sizes. Here we use a bit in the address as an indicator, an idea by Ondřej Bílka. malloca() can return three types of pointers: - Pointers ≡ 0 mod 2*sa_alignment_max come from stack allocation. - Pointers ≡ sa_alignment_max mod 2*sa_alignment_max come from heap allocation. - NULL comes from a failed heap allocation. */ /* Type for holding very small pointer differences. */ typedef unsigned char small_t; /* Verify that it is wide enough. */ verify (2 * sa_alignment_max - 1 <= (small_t) -1); void * mmalloca (size_t n) { #if HAVE_ALLOCA /* Allocate one more word, used to determine the address to pass to freea(), and room for the alignment ≡ sa_alignment_max mod 2*sa_alignment_max. */ size_t nplus = n + sizeof (small_t) + 2 * sa_alignment_max - 1; if (nplus >= n) { char *mem = (char *) malloc (nplus); if (mem != NULL) { char *p = (char *)((((uintptr_t)mem + sizeof (small_t) + sa_alignment_max - 1) & ~(uintptr_t)(2 * sa_alignment_max - 1)) + sa_alignment_max); /* Here p >= mem + sizeof (small_t), and p <= mem + sizeof (small_t) + 2 * sa_alignment_max - 1 hence p + n <= mem + nplus. So, the memory range [p, p+n) lies in the allocated memory range [mem, mem + nplus). */ ((small_t *) p)[-1] = p - mem; /* p ≡ sa_alignment_max mod 2*sa_alignment_max. */ return p; } } /* Out of memory. */ return NULL; #else # if !MALLOC_0_IS_NONNULL if (n == 0) n = 1; # endif return malloc (n); #endif } #if HAVE_ALLOCA void freea (void *p) { /* Check argument. */ if ((uintptr_t) p & (sa_alignment_max - 1)) { /* p was not the result of a malloca() call. Invalid argument. */ abort (); } /* Determine whether p was a non-NULL pointer returned by mmalloca(). */ if ((uintptr_t) p & sa_alignment_max) { void *mem = (char *) p - ((small_t *) p)[-1]; free (mem); } } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ gsasl-1.8.1/lib/gltests/test-open.c0000644000000000000000000000215013516251667014050 00000000000000/* Test of opening a file descriptor. Copyright (C) 2007-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Bruno Haible , 2007. */ #include #include #include "signature.h" SIGNATURE_CHECK (open, int, (char const *, int, ...)); #include #include #include #include #include "macros.h" #define BASE "test-open.t" #include "test-open.h" int main (void) { return test_open (open, true); } gsasl-1.8.1/lib/gltests/test-strnlen.c0000644000000000000000000000336213516251672014576 00000000000000/* * Copyright (C) 2010-2019 Free Software Foundation, Inc. * Written by Eric Blake * * 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 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (strnlen, size_t, (char const *, size_t)); #include #include "zerosize-ptr.h" #include "macros.h" int main (void) { size_t i; char *page_boundary = (char *) zerosize_ptr (); if (!page_boundary) { page_boundary = malloc (0x1000); ASSERT (page_boundary); page_boundary += 0x1000; } /* Basic behavior tests. */ ASSERT (strnlen ("a", 0) == 0); ASSERT (strnlen ("a", 1) == 1); ASSERT (strnlen ("a", 2) == 1); ASSERT (strnlen ("", 0x100000) == 0); /* Memory fence and alignment testing. */ for (i = 0; i < 512; i++) { char *start = page_boundary - i; size_t j = i; memset (start, 'x', i); do { if (i != j) { start[j] = 0; ASSERT (strnlen (start, i + j) == j); } ASSERT (strnlen (start, i) == j); ASSERT (strnlen (start, j) == j); } while (j--); } return 0; } gsasl-1.8.1/lib/gltests/cloexec.h0000644000000000000000000000273413516251666013570 00000000000000/* cloexec.c - set or clear the close-on-exec descriptor flag Copyright (C) 2004, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, or clear the flag if VALUE is false. Return 0 on success, or -1 on error with 'errno' set. Note that on MingW, this function does NOT protect DESC from being inherited into spawned children. Instead, either use dup_cloexec followed by closing the original DESC, or use interfaces such as open or pipe2 that accept flags like O_CLOEXEC to create DESC non-inheritable in the first place. */ int set_cloexec_flag (int desc, bool value); /* Duplicates a file handle FD, while marking the copy to be closed prior to exec or spawn. Returns -1 and sets errno if FD could not be duplicated. */ int dup_cloexec (int fd); gsasl-1.8.1/lib/gltests/listen.c0000644000000000000000000000234313516251667013434 00000000000000/* listen.c --- wrappers for Windows listen function Copyright (C) 2008-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ /* Written by Paolo Bonzini */ #include #define WIN32_LEAN_AND_MEAN /* Get winsock2.h. */ #include /* Get set_winsock_errno, FD_TO_SOCKET etc. */ #include "w32sock.h" #undef listen int rpl_listen (int fd, int backlog) { SOCKET sock = FD_TO_SOCKET (fd); if (sock == INVALID_SOCKET) { errno = EBADF; return -1; } else { int r = listen (sock, backlog); if (r < 0) set_winsock_errno (); return r; } } gsasl-1.8.1/lib/gltests/test-connect.c0000644000000000000000000000314313516251667014543 00000000000000/* Test connecting a client socket. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (connect, int, (int, const struct sockaddr *, socklen_t)); #include #include #include #include #include "sockets.h" #include "macros.h" int main (void) { (void) gl_sockets_startup (SOCKETS_1_1); /* Test behaviour for invalid file descriptors. */ { struct sockaddr_in addr; addr.sin_family = AF_INET; inet_pton (AF_INET, "127.0.0.1", &addr.sin_addr); addr.sin_port = htons (80); { errno = 0; ASSERT (connect (-1, (const struct sockaddr *) &addr, sizeof (addr)) == -1); ASSERT (errno == EBADF); } { close (99); errno = 0; ASSERT (connect (99, (const struct sockaddr *) &addr, sizeof (addr)) == -1); ASSERT (errno == EBADF); } } return 0; } gsasl-1.8.1/lib/gltests/test-ftello.sh0000755000000000000000000000022113516251667014564 00000000000000#!/bin/sh ${CHECKER} ./test-ftello${EXEEXT} 1 < "$srcdir/test-ftello.sh" || exit 1 echo hi | ${CHECKER} ./test-ftello${EXEEXT} || exit 1 exit 0 gsasl-1.8.1/lib/gltests/test-sha1.c0000644000000000000000000000366013516251671013745 00000000000000/* * Copyright (C) 2005, 2008-2019 Free Software Foundation, Inc. * Written by Simon Josefsson * * 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 3 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, see . */ #include #include "sha1.h" #include #include #include #include #include "macros.h" #define TESTFILE "test-sha1.data" #include "test-digest.h" int main (void) { const char *in1 = "abcdefgh"; const char *out1 = "\x42\x5a\xf1\x2a\x07\x43\x50\x2b" "\x32\x2e\x93\xa0\x15\xbc\xf8\x68\xe3\x24\xd5\x6a"; char buf[SHA1_DIGEST_SIZE]; if (memcmp (sha1_buffer (in1, strlen (in1), buf), out1, SHA1_DIGEST_SIZE) != 0) { size_t i; printf ("expected:\n"); for (i = 0; i < SHA1_DIGEST_SIZE; i++) printf ("%02x ", out1[i] & 0xFFu); printf ("\ncomputed:\n"); for (i = 0; i < SHA1_DIGEST_SIZE; i++) printf ("%02x ", buf[i] & 0xFFu); printf ("\n"); return 1; } /* Test sha1_stream. */ test_digest_on_files (sha1_stream, "sha1_stream", 20, "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09", "\x9c\x04\xcd\x63\x72\x07\x7e\x9b\x11\xf7\x0c\xa1\x11\xc9\x80\x7d\xc7\x13\x7e\x4b", "\x91\xab\x6b\x1b\x8d\x29\x25\x3c\xcb\x8d\xce\xb7\x7a\x25\x26\x2c\x92\xc9\x22\x09"); return 0; } gsasl-1.8.1/lib/gltests/test-fdopen.c0000644000000000000000000000255713516251671014370 00000000000000/* Test opening a stream with a file descriptor. Copyright (C) 2011-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 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, see . */ #include #include #include "signature.h" SIGNATURE_CHECK (fdopen, FILE *, (int, const char *)); #include #include #include "macros.h" int main (void) { /* Test behavior on failure. POSIX makes it hard to check for failure, since the behavior is not well-defined on invalid file descriptors, so try fdopen 1000 times and if that's not enough to fail due to EMFILE, so be it. */ int i; for (i = 0; i < 1000; i++) { errno = 0; if (! fdopen (STDOUT_FILENO, "w")) { ASSERT (errno != 0); break; } } return 0; } gsasl-1.8.1/lib/Makefile.am0000644000000000000000000000337313516317264012341 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. ACLOCAL_AMFLAGS = -I m4 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libgsasl.pc EXTRA_DIST = cfg.mk maint.mk # Visual Studio project files. EXTRA_DIST += win32/libgsasl.sln win32/libgsasl.vcproj \ win32/include/ac-stdint.h win32/include/alloca.h \ win32/include/idn-int.h win32/include/stdbool.h \ win32/include/stdint.h win32/include/unistd.h \ win32/include/config.h SUBDIRS = po gl # Plugins: if EXTERNAL SUBDIRS += external endif if ANONYMOUS SUBDIRS += anonymous endif if PLAIN SUBDIRS += plain endif if LOGIN SUBDIRS += login endif if CRAM_MD5 SUBDIRS += cram-md5 endif if DIGEST_MD5 SUBDIRS += digest-md5 endif if SCRAM SUBDIRS += scram endif if SAML20 SUBDIRS += saml20 endif if OPENID20 SUBDIRS += openid20 endif if NTLM SUBDIRS += ntlm endif if GSSAPI SUBDIRS += gssapi endif if GS2 SUBDIRS += gs2 endif if SECURID SUBDIRS += securid endif if KERBEROS_V5 SUBDIRS += kerberos_v5 endif SUBDIRS += src tests gltests gsasl-1.8.1/lib/cfg.mk0000644000000000000000000000207613516252320011363 00000000000000# Copyright (C) 2006-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. ifeq ($(PACKAGE),) PACKAGE := libgsasl endif ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile) .DEFAULT_GOAL := noop .PHONY: noop endif ChangeLog: git2cl > ChangeLog cat ../.clcopying >> ChangeLog tarball: rm -f ChangeLog $(MAKE) ChangeLog distcheck gsasl-1.8.1/lib/ChangeLog0000644000000000000000000242465313521017512012056 000000000000002019-08-02 Simon Josefsson * NEWS, lib/NEWS: Version 1.8.1. 2019-08-02 Simon Josefsson * THANKS, lib/NEWS, lib/gssapi/server.c: GSSAPI server: Fix memory leak after successful authentication. Report and patch by Goktan Kantarcioglu. 2019-08-02 Simon Josefsson * cfg.mk: Drop Windows binaries from the release for now. 2019-08-02 Simon Josefsson * cfg.mk: Fix review-diff. 2019-08-02 Simon Josefsson * NEWS: Add. 2019-08-02 Simon Josefsson * AUTHORS: Update PGP key. 2019-08-02 Simon Josefsson * tests/libgsasl.supp: Add. 2019-08-02 Simon Josefsson * .gitignore: Ignore more. 2019-07-25 Simon Josefsson * lib/NEWS, lib/src/crypto.c, lib/src/gsasl.h: libgsasl: gsasl_md5, gsasl_hmac_md5, gsasl_sha1, gsasl_hmac_sha1 API fix. 2019-07-25 Simon Josefsson * cfg.mk: Syntax-check fixes. 2019-07-25 Simon Josefsson * tests/gssapi.tkt: Re-generated. 2019-07-25 Simon Josefsson * cfg.mk, lib/digest-md5/test-parser.c, tests/Makefile.am, tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/openid20.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c: Fix self-check build warnings. 2019-07-25 Simon Josefsson * cfg.mk, gtk-doc.make, m4/gtk-doc.m4: Update gtk-doc files. 2019-07-25 Simon Josefsson * configure.ac, examples/client-callback.c, examples/client-xmpp-saml20.c, examples/server-xmpp-saml20.c, lib/configure.ac, lib/cram-md5/challenge.c, lib/cram-md5/digest.c, src/callbacks.c, src/gsasl.c, tests/utils.c: Fix compiler warnings. 2019-07-25 Simon Josefsson * .gitignore, ABOUT-NLS, Makefile.am, cfg.mk, gl/Makefile.am, gltests/pthread.in.h, lib/ABOUT-NLS, lib/Makefile.am, lib/gl/Makefile.am, lib/gltests/pthread.in.h, {gl => lib}/m4/00gnulib.m4, lib/{gl => }/m4/__inline.m4, {gl => lib}/m4/absolute-header.m4, lib/{gl => }/m4/af_alg.m4, {gl => lib}/m4/alloca.m4, {gl => lib}/m4/arpa_inet_h.m4, lib/{gl => }/m4/base64.m4, lib/{gl => }/m4/builtin-expect.m4, lib/{gl => }/m4/byteswap.m4, {gl => lib}/m4/close.m4, lib/m4/codeset.m4, {gl => lib}/m4/ctype.m4, {gl => lib}/m4/dup2.m4, {gl => lib}/m4/eealloc.m4, {gl => lib}/m4/environ.m4, {gl => lib}/m4/errno_h.m4, {gl => lib}/m4/exponentd.m4, {gl => lib}/m4/extensions.m4, {gl => lib}/m4/extern-inline.m4, {gl => lib}/m4/fcntl-o.m4, {gl => lib}/m4/fcntl.m4, {gl => lib}/m4/fcntl_h.m4, {gl => lib}/m4/fdopen.m4, lib/{gl => }/m4/fflush.m4, {gl => lib}/m4/float_h.m4, {gl => lib}/m4/fpieee.m4, lib/{gl => }/m4/fpurge.m4, lib/{gl => }/m4/freading.m4, {gl => lib}/m4/fseek.m4, {gl => lib}/m4/fseeko.m4, {gl => lib}/m4/fstat.m4, lib/{gl => }/m4/ftell.m4, lib/{gl => }/m4/ftello.m4, lib/{gl => }/m4/ftruncate.m4, lib/{gl => }/m4/gc-hmac-md5.m4, lib/{gl => }/m4/gc-hmac-sha1.m4, lib/{gl => }/m4/gc-md5.m4, lib/{gl => }/m4/gc-random.m4, lib/{gl => }/m4/gc-sha1.m4, lib/{gl => }/m4/gc.m4, {gl => lib}/m4/getcwd.m4, {gl => lib}/m4/getdelim.m4, {gl => lib}/m4/getdtablesize.m4, {gl => lib}/m4/getline.m4, {gl => lib}/m4/getpagesize.m4, lib/{gl => }/m4/getrusage.m4, lib/m4/gettext.m4, lib/{gl => }/m4/gettimeofday.m4, lib/{gl => }/m4/gl-openssl.m4, lib/m4/glibc2.m4, lib/m4/glibc21.m4, lib/{gl => }/m4/gnulib-cache.m4, {gl => lib}/m4/gnulib-common.m4, lib/{gl => }/m4/gnulib-comp.m4, {gl => lib}/m4/gnulib-tool.m4, lib/{gl => }/m4/gss-extra.m4, {gl => lib}/m4/host-cpu-c-abi.m4, lib/m4/iconv.m4, {gl => lib}/m4/include_next.m4, {gl => lib}/m4/inet_pton.m4, lib/m4/intdiv0.m4, lib/m4/intl.m4, lib/m4/intldir.m4, lib/m4/intlmacosx.m4, lib/m4/intmax.m4, {gl => lib}/m4/intmax_t.m4, {gl => lib}/m4/inttypes-pri.m4, {gl => lib}/m4/inttypes.m4, {gl => lib}/m4/inttypes_h.m4, lib/{gl => }/m4/ioctl.m4, {gl => lib}/m4/isblank.m4, {gl => lib}/m4/largefile.m4, lib/m4/lcmessage.m4, lib/{gl => }/m4/ld-output-def.m4, lib/{gl => }/m4/ld-version-script.m4, {gl => lib}/m4/lib-ld.m4, {gl => lib}/m4/lib-link.m4, {gl => lib}/m4/lib-prefix.m4, {gl => lib}/m4/limits-h.m4, lib/{gl => }/m4/localtime-buffer.m4, {gl => lib}/m4/lock.m4, {gl => lib}/m4/longlong.m4, {gl => lib}/m4/lseek.m4, {gl => lib}/m4/lstat.m4, {gl => lib}/m4/malloc.m4, {gl => lib}/m4/malloca.m4, {gl => lib}/m4/math_h.m4, lib/{gl => }/m4/md5.m4, {gl => lib}/m4/memchr.m4, lib/{gl => }/m4/memmem.m4, lib/{gl => }/m4/memxor.m4, {gl => lib}/m4/minmax.m4, {gl => lib}/m4/mmap-anon.m4, {gl => lib}/m4/mode_t.m4, {gl => lib}/m4/msvc-inval.m4, {gl => lib}/m4/msvc-nothrow.m4, {gl => lib}/m4/multiarch.m4, {gl => lib}/m4/nanosleep.m4, {gl => lib}/m4/netinet_in_h.m4, lib/m4/nls.m4, {gl => lib}/m4/off_t.m4, {gl => lib}/m4/open-cloexec.m4, {gl => lib}/m4/open.m4, {gl => lib}/m4/pathmax.m4, lib/{gl => }/m4/perror.m4, lib/{gl => }/m4/pipe.m4, lib/m4/po.m4, lib/m4/printf-posix.m4, {gl => lib}/m4/printf.m4, lib/m4/progtest.m4, {gl => lib}/m4/pthread-thread.m4, {gl => lib}/m4/pthread_h.m4, {gl => lib}/m4/pthread_rwlock_rdlock.m4, {gl => lib}/m4/pthread_sigmask.m4, {gl => lib}/m4/putenv.m4, {gl => lib}/m4/raise.m4, {gl => lib}/m4/sched_h.m4, {gl => lib}/m4/select.m4, {gl => lib}/m4/setenv.m4, lib/{gl => }/m4/sha1.m4, {gl => lib}/m4/sigaction.m4, {gl => lib}/m4/signal_h.m4, {gl => lib}/m4/signalblocking.m4, {gl => lib}/m4/size_max.m4, {gl => lib}/m4/sleep.m4, {gl => lib}/m4/socketlib.m4, {gl => lib}/m4/sockets.m4, {gl => lib}/m4/socklen.m4, {gl => lib}/m4/sockpfaf.m4, {gl => lib}/m4/ssize_t.m4, {gl => lib}/m4/stat-time.m4, {gl => lib}/m4/stat.m4, lib/{gl => }/m4/std-gnu11.m4, {gl => lib}/m4/stdalign.m4, {gl => lib}/m4/stdbool.m4, {gl => lib}/m4/stddef_h.m4, {gl => lib}/m4/stdint.m4, {gl => lib}/m4/stdint_h.m4, {gl => lib}/m4/stdio_h.m4, {gl => lib}/m4/stdlib_h.m4, {gl => lib}/m4/strerror.m4, lib/{gl => }/m4/strerror_r.m4, {gl => lib}/m4/string_h.m4, lib/{gl => }/m4/strndup.m4, lib/{gl => }/m4/strnlen.m4, lib/{gl => }/m4/strverscmp.m4, {gl => lib}/m4/symlink.m4, lib/{gl => }/m4/sys_ioctl_h.m4, lib/{gl => }/m4/sys_resource_h.m4, {gl => lib}/m4/sys_select_h.m4, {gl => lib}/m4/sys_socket_h.m4, {gl => lib}/m4/sys_stat_h.m4, {gl => lib}/m4/sys_time_h.m4, {gl => lib}/m4/sys_types_h.m4, {gl => lib}/m4/sys_uio_h.m4, {gl => lib}/m4/thread.m4, {gl => lib}/m4/threadlib.m4, {gl => lib}/m4/time_h.m4, lib/m4/uintmax_t.m4, {gl => lib}/m4/ungetc.m4, {gl => lib}/m4/unistd_h.m4, {gl => lib}/m4/usleep.m4, {gl => lib}/m4/valgrind-tests.m4, {gl => lib}/m4/vasnprintf.m4, {gl => lib}/m4/vasprintf.m4, lib/{gl => }/m4/visibility.m4, {gl => lib}/m4/warn-on-use.m4, {gl => lib}/m4/wchar_h.m4, {gl => lib}/m4/wchar_t.m4, {gl => lib}/m4/wint_t.m4, {gl => lib}/m4/xsize.m4, {gl => lib}/m4/yield.m4, lib/po/Makefile.in.in, lib/po/Makevars.template, lib/po/Rules-quot, lib/po/boldquot.sed, lib/po/en@boldquot.header, lib/po/en@quot.header, lib/po/insert-header.sin, lib/po/quot.sed, lib/po/remove-potcdate.sin, {lib/gl/m4 => m4}/00gnulib.m4, {lib/gl/m4 => m4}/absolute-header.m4, {lib/gl/m4 => m4}/alloca.m4, {lib/gl/m4 => m4}/arpa_inet_h.m4, {gl/m4 => m4}/autobuild.m4, {gl/m4 => m4}/btowc.m4, {lib/gl/m4 => m4}/close.m4, {gl/m4 => m4}/codeset.m4, {lib/gl/m4 => m4}/ctype.m4, {gl/m4 => m4}/dirname.m4, {gl/m4 => m4}/double-slash-root.m4, {lib/gl/m4 => m4}/dup2.m4, {lib/gl/m4 => m4}/eealloc.m4, {lib/gl/m4 => m4}/environ.m4, {lib/gl/m4 => m4}/errno_h.m4, {gl/m4 => m4}/error.m4, {lib/gl/m4 => m4}/exponentd.m4, {lib/gl/m4 => m4}/extensions.m4, {lib/gl/m4 => m4}/extern-inline.m4, {lib/gl/m4 => m4}/fcntl-o.m4, {lib/gl/m4 => m4}/fcntl.m4, {lib/gl/m4 => m4}/fcntl_h.m4, {lib/gl/m4 => m4}/fdopen.m4, {gl/m4 => m4}/flexmember.m4, {lib/gl/m4 => m4}/float_h.m4, {lib/gl/m4 => m4}/fpieee.m4, {lib/gl/m4 => m4}/fseek.m4, {lib/gl/m4 => m4}/fseeko.m4, {lib/gl/m4 => m4}/fstat.m4, {gl/m4 => m4}/getaddrinfo.m4, {lib/gl/m4 => m4}/getcwd.m4, {lib/gl/m4 => m4}/getdelim.m4, {lib/gl/m4 => m4}/getdtablesize.m4, {lib/gl/m4 => m4}/getline.m4, {gl/m4 => m4}/getopt.m4, {lib/gl/m4 => m4}/getpagesize.m4, {gl/m4 => m4}/getpass.m4, {gl/m4 => m4}/getprogname.m4, m4/gettext.m4, m4/glibc2.m4, m4/glibc21.m4, {gl/m4 => m4}/gnulib-cache.m4, {lib/gl/m4 => m4}/gnulib-common.m4, {gl/m4 => m4}/gnulib-comp.m4, {lib/gl/m4 => m4}/gnulib-tool.m4, {lib/gl/m4 => m4}/host-cpu-c-abi.m4, {gl/m4 => m4}/hostent.m4, {gl/m4 => m4}/iconv.m4, {gl/m4 => m4}/iconv_h.m4, {gl/m4 => m4}/iconv_open.m4, {lib/gl/m4 => m4}/include_next.m4, {gl/m4 => m4}/inet_ntop.m4, {lib/gl/m4 => m4}/inet_pton.m4, {gl/m4 => m4}/inline.m4, m4/intdiv0.m4, {gl/m4 => m4}/intl-thread-locale.m4, m4/intl.m4, m4/intldir.m4, {gl/m4 => m4}/intlmacosx.m4, m4/intmax.m4, {lib/gl/m4 => m4}/intmax_t.m4, {lib/gl/m4 => m4}/inttypes-pri.m4, {lib/gl/m4 => m4}/inttypes.m4, {lib/gl/m4 => m4}/inttypes_h.m4, {lib/gl/m4 => m4}/isblank.m4, {gl/m4 => m4}/langinfo_h.m4, {lib/gl/m4 => m4}/largefile.m4, {gl/m4 => m4}/lcmessage.m4, {lib/gl/m4 => m4}/lib-ld.m4, {lib/gl/m4 => m4}/lib-link.m4, {lib/gl/m4 => m4}/lib-prefix.m4, {gl/m4 => m4}/libunistring-base.m4, {lib/gl/m4 => m4}/limits-h.m4, {gl/m4 => m4}/localcharset.m4, {gl/m4 => m4}/locale-fr.m4, {gl/m4 => m4}/locale-ja.m4, {gl/m4 => m4}/locale-tr.m4, {gl/m4 => m4}/locale-zh.m4, {gl/m4 => m4}/locale_h.m4, {gl/m4 => m4}/localename.m4, {lib/gl/m4 => m4}/lock.m4, {lib/gl/m4 => m4}/longlong.m4, {lib/gl/m4 => m4}/lseek.m4, {lib/gl/m4 => m4}/lstat.m4, {lib/gl/m4 => m4}/malloc.m4, {lib/gl/m4 => m4}/malloca.m4, {gl/m4 => m4}/manywarnings-c++.m4, {gl/m4 => m4}/manywarnings.m4, {lib/gl/m4 => m4}/math_h.m4, {gl/m4 => m4}/mbrtowc.m4, {gl/m4 => m4}/mbsinit.m4, {gl/m4 => m4}/mbstate_t.m4, {gl/m4 => m4}/mbtowc.m4, {lib/gl/m4 => m4}/memchr.m4, {lib/gl/m4 => m4}/minmax.m4, {lib/gl/m4 => m4}/mmap-anon.m4, {lib/gl/m4 => m4}/mode_t.m4, {lib/gl/m4 => m4}/msvc-inval.m4, {lib/gl/m4 => m4}/msvc-nothrow.m4, {lib/gl/m4 => m4}/multiarch.m4, {lib/gl/m4 => m4}/nanosleep.m4, {gl/m4 => m4}/netdb_h.m4, {lib/gl/m4 => m4}/netinet_in_h.m4, m4/nls.m4, {gl/m4 => m4}/nocrash.m4, {lib/gl/m4 => m4}/off_t.m4, {lib/gl/m4 => m4}/open-cloexec.m4, {lib/gl/m4 => m4}/open.m4, {lib/gl/m4 => m4}/pathmax.m4, m4/po.m4, {gl/m4 => m4}/poll.m4, {gl/m4 => m4}/poll_h.m4, m4/printf-posix.m4, {lib/gl/m4 => m4}/printf.m4, m4/progtest.m4, {lib/gl/m4 => m4}/pthread-thread.m4, {lib/gl/m4 => m4}/pthread_h.m4, {lib/gl/m4 => m4}/pthread_rwlock_rdlock.m4, {lib/gl/m4 => m4}/pthread_sigmask.m4, {lib/gl/m4 => m4}/putenv.m4, {gl/m4 => m4}/quote.m4, {gl/m4 => m4}/quotearg.m4, {lib/gl/m4 => m4}/raise.m4, {gl/m4 => m4}/readline.m4, {lib/gl/m4 => m4}/sched_h.m4, {lib/gl/m4 => m4}/select.m4, {gl/m4 => m4}/servent.m4, {lib/gl/m4 => m4}/setenv.m4, {gl/m4 => m4}/setlocale.m4, {lib/gl/m4 => m4}/sigaction.m4, {lib/gl/m4 => m4}/signal_h.m4, {lib/gl/m4 => m4}/signalblocking.m4, {lib/gl/m4 => m4}/size_max.m4, {lib/gl/m4 => m4}/sleep.m4, {gl/m4 => m4}/snprintf.m4, {lib/gl/m4 => m4}/socketlib.m4, {lib/gl/m4 => m4}/sockets.m4, {lib/gl/m4 => m4}/socklen.m4, {lib/gl/m4 => m4}/sockpfaf.m4, {lib/gl/m4 => m4}/ssize_t.m4, {lib/gl/m4 => m4}/stat-time.m4, {lib/gl/m4 => m4}/stat.m4, {lib/gl/m4 => m4}/stdalign.m4, {gl/m4 => m4}/stdarg.m4, {lib/gl/m4 => m4}/stdbool.m4, {lib/gl/m4 => m4}/stddef_h.m4, {lib/gl/m4 => m4}/stdint.m4, {lib/gl/m4 => m4}/stdint_h.m4, {lib/gl/m4 => m4}/stdio_h.m4, {lib/gl/m4 => m4}/stdlib_h.m4, {gl/m4 => m4}/strdup.m4, {lib/gl/m4 => m4}/strerror.m4, {lib/gl/m4 => m4}/string_h.m4, {gl/m4 => m4}/strtok_r.m4, {lib/gl/m4 => m4}/symlink.m4, {lib/gl/m4 => m4}/sys_select_h.m4, {lib/gl/m4 => m4}/sys_socket_h.m4, {lib/gl/m4 => m4}/sys_stat_h.m4, {lib/gl/m4 => m4}/sys_time_h.m4, {lib/gl/m4 => m4}/sys_types_h.m4, {lib/gl/m4 => m4}/sys_uio_h.m4, {lib/gl/m4 => m4}/thread.m4, {lib/gl/m4 => m4}/threadlib.m4, {lib/gl/m4 => m4}/time_h.m4, m4/uintmax_t.m4, {lib/gl/m4 => m4}/ungetc.m4, {lib/gl/m4 => m4}/unistd_h.m4, {lib/gl/m4 => m4}/usleep.m4, {lib/gl/m4 => m4}/valgrind-tests.m4, {lib/gl/m4 => m4}/vasnprintf.m4, {lib/gl/m4 => m4}/vasprintf.m4, {gl/m4 => m4}/version-etc.m4, m4/visibility.m4, {lib/gl/m4 => m4}/warn-on-use.m4, {gl/m4 => m4}/warnings.m4, {lib/gl/m4 => m4}/wchar_h.m4, {lib/gl/m4 => m4}/wchar_t.m4, {gl/m4 => m4}/wcrtomb.m4, {gl/m4 => m4}/wctob.m4, {gl/m4 => m4}/wctomb.m4, {gl/m4 => m4}/wctype_h.m4, {lib/gl/m4 => m4}/wint_t.m4, {gl/m4 => m4}/xalloc.m4, {lib/gl/m4 => m4}/xsize.m4, {lib/gl/m4 => m4}/yield.m4, po/Makefile.in.in, po/Makevars.template, po/Rules-quot, po/boldquot.sed, po/en@boldquot.header, po/en@quot.header, po/insert-header.sin, po/quot.sed, po/remove-potcdate.sin: Use combined m4 directory and dist autopoint files. 2019-07-25 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intl-thread-locale.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/progtest.m4: Use gnulib module gettext-h instead of gettext. 2019-07-25 Simon Josefsson * lib/po/LINGUAS, lib/po/es.po.in, lib/po/pt_BR.po.in, lib/po/sv.po.in, po/LINGUAS, po/es.po.in, po/pt_BR.po.in, po/sv.po.in: Sync with TP. 2019-07-25 Simon Josefsson * doc/Makefile.am: Bump copyright years. 2019-07-25 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Bump copyright years. 2019-07-25 Simon Josefsson * .gitignore, GNUmakefile, doc/fdl-1.3.texi, doc/gendocs_template, doc/gendocs_template_min, gl/Makefile.am, gl/_Noreturn.h, gl/alloca.c, gl/alloca.in.h, {lib/build-aux/snippet => gl}/arg-nonnull.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/assure.h, gl/basename-lgpl.c, {lib/build-aux/snippet => gl}/c++defs.h, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, gl/dirname-lgpl.c, gl/dirname.h, {gltests => gl}/dosname.h, gl/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fd-hook.c, gl/fd-hook.h, gl/float+.h, gl/float.c, gl/float.in.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt-cdefs.in.h, gl/getopt-core.h, gl/getopt-ext.h, gl/getopt-pfx-core.h, gl/getopt-pfx-ext.h, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/getprogname.c, gl/getprogname.h, gl/gettext.h, gl/gettimeofday.c, gl/glthread/lock.c, {gltests => gl}/glthread/lock.h, {gltests => gl}/glthread/threadlib.c, gl/hard-locale.c, gl/hard-locale.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open-aix.gperf, gl/iconv_open-hpux.gperf, gl/iconv_open-irix.gperf, gl/iconv_open-osf.gperf, gl/iconv_open-solaris.gperf, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/limits.in.h, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/ctype.m4, gl/m4/dirname.m4, gl/m4/double-slash-root.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/flexmember.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getdtablesize.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/getprogname.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/host-cpu-c-abi.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intl-thread-locale.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isblank.m4, gl/m4/langinfo_h.m4, gl/m4/largefile.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/limits-h.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings-c++.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/minmax.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4, gl/m4/multiarch.m4, gl/m4/nanosleep.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4, gl/m4/open-cloexec.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/pthread-thread.m4, gl/m4/pthread_h.m4, gl/m4/pthread_rwlock_rdlock.m4, gl/m4/pthread_sigmask.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/raise.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/sched_h.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/sigaction.m4, gl/m4/signal_h.m4, gl/m4/signalblocking.m4, gl/m4/size_max.m4, gl/m4/sleep.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat-time.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/usleep.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, {gltests => gl}/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/memchr.valgrind, gl/minmax.h, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, {gltests => gl}/pathmax.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stat-time.c, gl/stat-time.h, gl/stat-w32.c, gl/stat-w32.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/stripslash.c, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.c, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.c, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, {lib/build-aux/snippet => gl}/unused-parameter.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, {lib/build-aux/snippet => gl}/warn-on-use.h, gl/wchar.in.h, gl/wctype.in.h, gl/windows-initguard.h, gl/windows-mutex.c, gl/windows-mutex.h, gl/windows-once.c, gl/windows-once.h, gl/windows-recmutex.c, gl/windows-recmutex.h, gl/windows-rwlock.c, gl/windows-rwlock.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/_Noreturn.h, gltests/arg-nonnull.h, gltests/binary-io.c, gltests/binary-io.h, gltests/btowc.c, gltests/c++defs.h, gltests/cloexec.c, gltests/cloexec.h, gltests/ctype.in.h, gltests/fcntl.c, gltests/fcntl.in.h, gltests/fdopen.c, gltests/filename.h, gltests/flexmember.h, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/getdtablesize.c, gltests/getpagesize.c, gltests/glthread/lock.c, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/isblank.c, gltests/langinfo.in.h, gltests/locale.in.h, gltests/localename-table.c, gltests/localename-table.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/malloca.valgrind, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/nanosleep.c, gltests/nap.h, gltests/open.c, gltests/pthread-thread.c, gltests/pthread.in.h, gltests/pthread_sigmask.c, gltests/putenv.c, gltests/raise.c, gltests/same-inode.h, gltests/sched.in.h, gltests/setenv.c, gltests/setlocale.c, gltests/sig-handler.c, gltests/sig-handler.h, gltests/sigaction.c, gltests/signature.h, gltests/sigprocmask.c, gltests/sleep.c, gltests/stat-w32.c, gltests/stat-w32.h, gltests/stat.c, gltests/symlink.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, gltests/test-btowc.c, gltests/test-btowc1.sh, gltests/test-btowc2.sh, gltests/test-c-ctype.c, gltests/test-c-strcase.sh, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-cloexec.c, gltests/test-close.c, gltests/test-connect.c, gltests/test-ctype.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fcntl.c, gltests/test-fdopen.c, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fseek.c, gltests/test-fseek.sh, gltests/test-fseek2.sh, gltests/test-fseeko.c, gltests/test-fseeko.sh, gltests/test-fseeko2.sh, gltests/test-fseeko3.c, gltests/test-fseeko3.sh, gltests/test-fseeko4.c, gltests/test-fseeko4.sh, gltests/test-fstat.c, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getdtablesize.c, gltests/test-getline.c, gltests/test-getopt-gnu.c, gltests/{test-getopt.c => test-getopt-main.h}, gltests/test-getopt-posix.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-getprogname.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-isblank.c, gltests/test-langinfo.c, gltests/test-limits-h.c, gltests/test-localcharset.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lseek.sh, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32-1.sh, gltests/test-mbrtowc-w32-2.sh, gltests/test-mbrtowc-w32-3.sh, gltests/test-mbrtowc-w32-4.sh, gltests/test-mbrtowc-w32-5.sh, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbrtowc1.sh, gltests/test-mbrtowc2.sh, gltests/test-mbrtowc3.sh, gltests/test-mbrtowc4.sh, gltests/test-mbrtowc5.sh, gltests/test-mbsinit.c, gltests/test-mbsinit.sh, gltests/test-memchr.c, gltests/test-nanosleep.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-once.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-poll-h.c, gltests/test-pthread-thread.c, gltests/test-pthread.c, gltests/test-pthread_sigmask1.c, gltests/test-pthread_sigmask2.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-raise.c, gltests/test-recv.c, gltests/test-rwlock1.c, gltests/test-sched.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale1.sh, gltests/test-setlocale2.c, gltests/test-setlocale2.sh, gltests/test-shutdown.c, gltests/test-sigaction.c, gltests/test-signal-h.c, gltests/test-sigprocmask.c, gltests/test-sleep.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat-time.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-usleep.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify-try.c, gltests/test-verify.c, gltests/test-verify.sh, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32-1.sh, gltests/test-wcrtomb-w32-2.sh, gltests/test-wcrtomb-w32-3.sh, gltests/test-wcrtomb-w32-4.sh, gltests/test-wcrtomb-w32-5.sh, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wcrtomb.sh, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/unused-parameter.h, gltests/usleep.c, gltests/version-etc-fsf.c, gltests/warn-on-use.h, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/windows-thread.c, gltests/windows-thread.h, gltests/windows-tls.c, gltests/windows-tls.h, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/gnupload, lib/build-aux/pmccabe2html, lib/build-aux/snippet/_Noreturn.h, lib/build-aux/update-copyright, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/af_alg.c, lib/gl/af_alg.h, lib/gl/alloca.in.h, lib/gl/arg-nonnull.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/byteswap.in.h, lib/gl/c++defs.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/cdefs.h, lib/gl/errno.in.h, lib/gl/fflush.c, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/fpurge.c, lib/gl/freading.c, lib/gl/freading.h, lib/gl/fseek.c, lib/gl/fseeko.c, lib/gl/fstat.c, lib/gl/ftell.c, lib/gl/ftello.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/gl_openssl.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.c, lib/gl/hmac.h, lib/{gltests => gl}/intprops.h, lib/gl/itold.c, lib/gl/libc-config.h, lib/gl/limits.in.h, lib/gl/lseek.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/__inline.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/af_alg.m4, lib/gl/m4/alloca.m4, lib/gl/m4/arpa_inet_h.m4, lib/gl/m4/base64.m4, lib/gl/m4/builtin-expect.m4, lib/gl/m4/byteswap.m4, lib/gl/m4/close.m4, lib/gl/m4/codeset.m4, lib/gl/m4/ctype.m4, lib/gl/m4/dup2.m4, lib/gl/m4/eealloc.m4, lib/gl/m4/environ.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/extern-inline.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fcntl.m4, lib/gl/m4/fcntl_h.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/fflush.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/fpurge.m4, lib/gl/m4/freading.m4, lib/gl/m4/fseek.m4, lib/gl/m4/fseeko.m4, lib/gl/m4/fstat.m4, lib/gl/m4/ftell.m4, lib/gl/m4/ftello.m4, lib/gl/m4/ftruncate.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getcwd.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getdtablesize.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/getrusage.m4, lib/gl/m4/gettext.m4, {gl => lib/gl}/m4/gettimeofday.m4, lib/gl/m4/gl-openssl.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/host-cpu-c-abi.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/inet_pton.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl-thread-locale.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/ioctl.m4, lib/gl/m4/isblank.m4, lib/gl/m4/largefile.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/limits-h.m4, lib/gl/m4/localtime-buffer.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/lseek.m4, lib/gl/m4/lstat.m4, lib/gl/m4/malloc.m4, lib/gl/m4/malloca.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/mode_t.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/msvc-nothrow.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nanosleep.m4, lib/gl/m4/netinet_in_h.m4, lib/gl/m4/nls.m4, lib/gl/m4/off_t.m4, lib/gl/m4/open-cloexec.m4, lib/gl/m4/open.m4, lib/gl/m4/pathmax.m4, lib/gl/m4/perror.m4, lib/gl/m4/pipe.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/pthread-thread.m4, lib/gl/m4/pthread_h.m4, lib/gl/m4/pthread_rwlock_rdlock.m4, lib/gl/m4/pthread_sigmask.m4, lib/gl/m4/putenv.m4, lib/gl/m4/raise.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sched_h.m4, lib/gl/m4/select.m4, lib/gl/m4/setenv.m4, lib/gl/m4/sha1.m4, lib/gl/m4/sigaction.m4, lib/gl/m4/signal_h.m4, lib/gl/m4/signalblocking.m4, lib/gl/m4/size_max.m4, lib/gl/m4/sleep.m4, lib/gl/m4/socketlib.m4, lib/gl/m4/sockets.m4, lib/gl/m4/socklen.m4, lib/gl/m4/sockpfaf.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stat-time.m4, lib/gl/m4/stat.m4, lib/gl/m4/std-gnu11.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/strerror.m4, lib/gl/m4/strerror_r.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/symlink.m4, lib/gl/m4/sys_ioctl_h.m4, lib/gl/m4/sys_resource_h.m4, lib/gl/m4/sys_select_h.m4, lib/gl/m4/sys_socket_h.m4, lib/gl/m4/sys_stat_h.m4, lib/gl/m4/sys_time_h.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/sys_uio_h.m4, lib/gl/m4/thread.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/time_h.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ungetc.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/usleep.m4, lib/gl/m4/valgrind-tests.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/m4/yield.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memchr.valgrind, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/{gltests => gl}/msvc-inval.c, lib/{gltests => gl}/msvc-inval.h, lib/gl/msvc-nothrow.c, lib/gl/msvc-nothrow.h, lib/gl/pathmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stat-time.c, lib/gl/stat-time.h, lib/gl/stat-w32.c, lib/gl/stat-w32.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio-impl.h, lib/gl/stdio.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strndup.c, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/sys-limits.h, lib/gl/sys_socket.c, lib/gl/sys_socket.in.h, lib/gl/sys_stat.in.h, lib/gl/sys_types.in.h, lib/gl/sys_uio.in.h, lib/gl/time.in.h, lib/gl/unistd.c, lib/gl/unistd.in.h, lib/gl/unused-parameter.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/warn-on-use.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/_Noreturn.h, lib/gltests/accept.c, lib/gltests/alloca.c, lib/gltests/arg-nonnull.h, lib/gltests/arpa_inet.in.h, lib/gltests/bench-digest.h, lib/gltests/bench-md5.c, lib/gltests/bench-sha1.c, lib/gltests/binary-io.c, lib/gltests/binary-io.h, lib/gltests/bind.c, lib/gltests/c++defs.h, lib/gltests/cloexec.c, lib/gltests/cloexec.h, lib/gltests/close.c, lib/gltests/connect.c, lib/gltests/ctype.in.h, lib/gltests/dosname.h, lib/gltests/dummy.c, lib/gltests/dup2.c, lib/gltests/fcntl.c, lib/gltests/fcntl.in.h, lib/gltests/fd-hook.c, lib/gltests/fd-hook.h, lib/gltests/fdopen.c, lib/gltests/filename.h, lib/gltests/fpucw.h, lib/gltests/ftruncate.c, lib/gltests/getcwd-lgpl.c, lib/gltests/getdtablesize.c, lib/gltests/getpagesize.c, lib/gltests/getrusage.c, lib/gltests/gettimeofday.c, lib/gltests/glthread/lock.c, lib/gltests/glthread/lock.h, lib/gltests/glthread/thread.c, lib/gltests/glthread/thread.h, lib/gltests/glthread/threadlib.c, lib/gltests/glthread/yield.h, lib/gltests/ignore-value.h, lib/gltests/inet_pton.c, lib/gltests/init.sh, lib/gltests/inttypes.in.h, lib/gltests/ioctl.c, lib/gltests/isblank.c, lib/gltests/listen.c, lib/gltests/localtime-buffer.c, lib/gltests/localtime-buffer.h, lib/gltests/lstat.c, lib/gltests/macros.h, lib/gltests/malloc.c, lib/gltests/malloca.c, lib/gltests/malloca.h, lib/gltests/nanosleep.c, lib/gltests/nap.h, lib/gltests/netinet_in.in.h, lib/gltests/open.c, lib/gltests/perror.c, lib/gltests/pipe.c, lib/gltests/pthread-thread.c, lib/gltests/pthread.in.h, lib/gltests/pthread_sigmask.c, lib/gltests/putenv.c, lib/gltests/raise.c, lib/gltests/same-inode.h, lib/gltests/sched.in.h, lib/gltests/select.c, lib/gltests/setsockopt.c, lib/gltests/sig-handler.c, lib/gltests/sig-handler.h, lib/gltests/sigaction.c, lib/gltests/signal.in.h, lib/gltests/signature.h, lib/gltests/sigprocmask.c, lib/gltests/sleep.c, lib/gltests/socket.c, lib/gltests/sockets.c, lib/gltests/sockets.h, lib/gltests/stat-w32.c, lib/gltests/stat-w32.h, lib/gltests/stat.c, lib/{gl => gltests}/stdlib.in.h, lib/gltests/strerror-override.c, lib/gltests/strerror-override.h, lib/gltests/strerror.c, lib/gltests/strerror_r.c, lib/gltests/symlink.c, lib/gltests/sys_ioctl.in.h, lib/gltests/sys_resource.in.h, lib/gltests/sys_select.in.h, lib/gltests/sys_time.in.h, lib/gltests/test-accept.c, lib/gltests/test-alloca-opt.c, lib/gltests/test-arpa_inet.c, lib/gltests/test-base64.c, lib/gltests/test-binary-io.c, lib/gltests/test-binary-io.sh, lib/gltests/test-bind.c, lib/gltests/test-byteswap.c, lib/gltests/test-c-ctype.c, lib/gltests/test-cloexec.c, lib/gltests/test-close.c, lib/gltests/test-connect.c, lib/gltests/test-ctype.c, lib/gltests/test-digest.h, lib/gltests/test-dup2.c, lib/gltests/test-environ.c, lib/gltests/test-errno.c, lib/gltests/test-fcntl-h.c, lib/gltests/test-fcntl.c, lib/gltests/test-fdopen.c, lib/gltests/test-fflush.c, lib/gltests/test-fflush2.c, lib/gltests/test-fflush2.sh, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fpurge.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-freading.c, lib/gltests/test-fseek.c, lib/gltests/test-fseek.sh, lib/gltests/test-fseek2.sh, lib/gltests/test-fseeko.c, lib/gltests/test-fseeko.sh, lib/gltests/test-fseeko2.sh, lib/gltests/test-fseeko3.c, lib/gltests/test-fseeko3.sh, lib/gltests/test-fseeko4.c, lib/gltests/test-fseeko4.sh, lib/gltests/test-fstat.c, lib/gltests/test-ftell.c, lib/gltests/test-ftell.sh, lib/gltests/test-ftell2.sh, lib/gltests/test-ftell3.c, lib/gltests/test-ftello.c, lib/gltests/test-ftello.sh, lib/gltests/test-ftello2.sh, lib/gltests/test-ftello3.c, lib/gltests/test-ftello4.c, lib/gltests/test-ftello4.sh, lib/gltests/test-ftruncate.c, lib/gltests/test-ftruncate.sh, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getcwd-lgpl.c, lib/gltests/test-getdelim.c, lib/gltests/test-getdtablesize.c, lib/gltests/test-getline.c, lib/gltests/test-getrusage.c, {gltests => lib/gltests}/test-gettimeofday.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-ignore-value.c, lib/gltests/test-inet_pton.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-ioctl.c, lib/gltests/test-isblank.c, lib/gltests/test-limits-h.c, lib/gltests/test-listen.c, lib/gltests/test-lock.c, lib/gltests/test-lseek.c, lib/gltests/test-lseek.sh, lib/gltests/test-lstat.c, lib/gltests/test-lstat.h, lib/gltests/test-malloca.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-nanosleep.c, lib/gltests/test-netinet_in.c, lib/gltests/test-once.c, lib/gltests/test-open.c, lib/gltests/test-open.h, lib/gltests/test-pathmax.c, lib/gltests/test-perror.c, lib/gltests/test-perror.sh, lib/gltests/test-perror2.c, lib/gltests/test-pipe.c, lib/gltests/test-pthread-thread.c, lib/gltests/test-pthread.c, lib/gltests/test-pthread_sigmask1.c, lib/gltests/test-pthread_sigmask2.c, lib/gltests/test-raise.c, lib/gltests/test-rwlock1.c, lib/gltests/test-sched.c, lib/gltests/test-select-fd.c, lib/gltests/test-select-in.sh, lib/gltests/test-select-out.sh, lib/gltests/test-select-stdin.c, lib/gltests/test-select.c, lib/gltests/test-select.h, lib/gltests/test-setsockopt.c, lib/gltests/test-sha1.c, lib/gltests/test-sigaction.c, lib/gltests/test-signal-h.c, lib/gltests/test-sigprocmask.c, lib/gltests/test-sleep.c, lib/gltests/test-sockets.c, lib/gltests/test-stat-time.c, lib/gltests/test-stat.c, lib/gltests/test-stat.h, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-strerror.c, lib/gltests/test-strerror_r.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-symlink.c, lib/gltests/test-symlink.h, lib/gltests/test-sys_ioctl.c, lib/gltests/test-sys_resource.c, lib/gltests/test-sys_select.c, lib/gltests/test-sys_socket.c, lib/gltests/test-sys_stat.c, lib/gltests/test-sys_time.c, lib/gltests/test-sys_types.c, lib/gltests/test-sys_uio.c, lib/gltests/test-sys_wait.h, lib/gltests/test-thread_create.c, lib/gltests/test-thread_self.c, lib/gltests/test-time.c, lib/gltests/test-unistd.c, lib/gltests/test-unsetenv.c, lib/gltests/test-usleep.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify-try.c, lib/gltests/test-verify.c, lib/gltests/test-verify.sh, lib/gltests/test-wchar.c, lib/gltests/unsetenv.c, lib/gltests/unused-parameter.h, lib/gltests/usleep.c, lib/gltests/w32sock.h, lib/gltests/warn-on-use.h, lib/gltests/windows-initguard.h, lib/gltests/windows-mutex.c, lib/gltests/windows-mutex.h, lib/gltests/windows-once.c, lib/gltests/windows-once.h, lib/gltests/windows-recmutex.c, lib/gltests/windows-recmutex.h, lib/gltests/windows-rwlock.c, lib/gltests/windows-rwlock.h, lib/gltests/windows-thread.c, lib/gltests/windows-thread.h, lib/gltests/windows-tls.c, lib/gltests/windows-tls.h, lib/gltests/xalloc-oversized.h, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2019-07-24 Simon Josefsson * gl/override/doc/gendocs_template.diff, gl/override/lib/gettext.h.diff, gl/override/m4/valgrind-tests.m4.diff, lib/gl/m4/gnulib-cache.m4, lib/gl/override/lib/gettext.h.diff: Gnulib fixes. 2019-07-24 Simon Josefsson * configure.ac, lib/configure.ac: Bump AC_PREREQ for gnulib. 2017-03-05 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Bump copyright years. 2017-03-05 Simon Josefsson * lib/po/da.po.in, lib/po/de.po.in, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/hu.po.in, lib/po/id.po.in, lib/po/it.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sk.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/uk.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in, po/da.po.in, po/de.po.in, po/eo.po.in, po/eu.po.in, po/fi.po.in, po/fr.po.in, po/ga.po.in, po/hr.po.in, po/hu.po.in, po/id.po.in, po/it.po.in, po/nl.po.in, po/pl.po.in, po/ro.po.in, po/sk.po.in, po/sq.po.in, po/sr.po.in, po/sv.po.in, po/uk.po.in, po/vi.po.in, po/zh_CN.po.in, po/zh_TW.po.in: Sync with TP. 2015-07-14 Simon Josefsson * .gitignore: Ignore more. 2015-07-14 Simon Josefsson * lib/login/server.c: Use strndup. 2015-07-14 Simon Josefsson * .gitignore: Ignore more. 2015-07-14 Simon Josefsson * tests/Makefile.am: Fix valgrind usage. 2015-07-14 Simon Josefsson * lib/tests/Makefile.am: Use valgrind. 2015-07-14 Simon Josefsson * .gitignore: Ignore more. 2015-07-14 Simon Josefsson * lib/NEWS: Add. 2015-07-14 Simon Josefsson * lib/po/LINGUAS, lib/po/da.po.in, po/LINGUAS, po/da.po.in: Sync with TP. 2015-07-14 Simon Josefsson * doc/gsasl.texi: Sync menu with content. 2015-07-14 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Update copyright files. 2015-07-14 Simon Josefsson * lib/NEWS: Add. 2015-07-14 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/valgrind-tests.m4: Use valgrind in lib/. 2015-07-14 Simon Josefsson * GNUmakefile, doc/gendocs_template, doc/gendocs_template_min, gl/Makefile.am, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/assure.h, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, gl/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fd-hook.c, gl/fd-hook.h, gl/float+.h, gl/float.c, gl/float.in.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/gettimeofday.c, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/configmake.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getdtablesize.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/langinfo_h.m4, gl/m4/largefile.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/signal_h.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/binary-io.h, gltests/btowc.c, gltests/dosname.h, gltests/fcntl.in.h, gltests/fdopen.c, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/getdtablesize.c, gltests/getpagesize.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/langinfo.in.h, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloc.c, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-btowc.c, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-close.c, gltests/test-connect.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fdopen.c, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fseek.c, gltests/test-fseeko.c, gltests/test-fseeko3.c, gltests/test-fseeko4.c, gltests/test-fstat.c, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getdtablesize.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-langinfo.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-poll-h.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-recv.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale2.c, gltests/test-shutdown.c, gltests/test-signal-h.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/gnupload, lib/build-aux/pmccabe2html, lib/build-aux/snippet/arg-nonnull.h, lib/build-aux/snippet/c++defs.h, lib/build-aux/snippet/unused-parameter.h, lib/build-aux/snippet/warn-on-use.h, lib/build-aux/update-copyright, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/gl_openssl.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/itold.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/extern-inline.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gl-openssl.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/off_t.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strndup.c, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/sys_types.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/fdopen.c, lib/gltests/fpucw.h, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-fdopen.c, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-sha1.c, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_types.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2014-10-02 Simon Josefsson * AUTHORS, cfg.mk: Fix pgp key. 2014-10-02 Simon Josefsson * doc/gdoc: Syntax-check nits. 2014-10-02 Simon Josefsson * NEWS, lib/NEWS: Doc fix. 2014-10-02 Simon Josefsson * doc/gdoc: Sync gdoc. 2014-10-02 Simon Josefsson * configure.ac, lib/configure.ac: Drop automake -Werror. 2014-09-16 Simon Josefsson * .gitignore: Ignore more. 2014-09-16 Simon Josefsson * gltests/fcntl.in.h: Update gnulib files. 2014-09-07 Simon Josefsson * .gitignore: Ignore more. 2014-09-07 Simon Josefsson * configure.ac, lib/configure.ac: Work with recent autotools. 2014-09-06 Simon Josefsson * GNUmakefile, doc/fdl-1.3.texi, doc/gendocs_template, gl/Makefile.am, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, {gltests => gl}/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fd-hook.c, gl/fd-hook.h, gl/float+.h, gl/float.c, gl/float.in.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/gettimeofday.c, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getdtablesize.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/largefile.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/signal_h.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.c, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.c, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype-h.c, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.c, gl/xsize.h, gltests/Makefile.am, gltests/binary-io.c, gltests/binary-io.h, gltests/btowc.c, gltests/dosname.h, gltests/fcntl.in.h, gltests/fdopen.c, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/getdtablesize.c, gltests/getpagesize.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloc.c, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-btowc.c, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-close.c, gltests/test-connect.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fdopen.c, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fseek.c, gltests/test-fseeko.c, gltests/test-fseeko3.c, gltests/test-fseeko4.c, gltests/test-fstat.c, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getdtablesize.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-poll-h.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-recv.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale2.c, gltests/test-shutdown.c, gltests/test-signal-h.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/gnupload, lib/build-aux/pmccabe2html, lib/build-aux/snippet/arg-nonnull.h, lib/build-aux/snippet/c++defs.h, lib/build-aux/snippet/unused-parameter.h, lib/build-aux/snippet/warn-on-use.h, lib/build-aux/update-copyright, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/gl_openssl.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/itold.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/extern-inline.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gl-openssl.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/off_t.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strndup.c, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/sys_types.in.h, lib/gl/unistd.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.c, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/fdopen.c, lib/gltests/fpucw.h, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-fdopen.c, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-sha1.c, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_types.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2014-09-06 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Update copyright years. 2014-09-06 Simon Josefsson * lib/po/LINGUAS, lib/po/de.po.in, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/hu.po.in, lib/po/id.po.in, lib/po/it.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sk.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/uk.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in, po/LINGUAS, po/fr.po.in, po/hu.po.in, po/zh_CN.po.in, po/zh_TW.po.in: Sync with TP. 2013-09-30 Simon Josefsson * lib/src/mechname.c: Doc fix. Suggested by Tomasz Sterna. 2012-09-12 Simon Josefsson * NEWS, src/imap.c: gsasl: IMAP client code now permits empty SASL tokens prefixed with '+'. Normally servers should send '+ '. Buggy servers include Microsoft Exchange. Reported by Adam Sjøgren. 2012-09-10 Simon Josefsson * NEWS, doc/gsasl.texi, lib/gssapi/client.c, tests/gssapi.c: GSSAPI client: Use GSASL_AUTHZID for authorization identity. Accept missing property. 2012-09-10 Simon Josefsson * po/hr.po.in: Sync with TP. 2012-09-06 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/manywarnings.m4, gl/stdbool.in.h, gl/sys_select.in.h, lib/build-aux/gendocs.sh, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/stdbool.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2012-08-29 Simon Josefsson * doc/gsasl.texi: Doc fixes for all mechanism. Clarify authid vs authzid in GSSAPI. 2012-08-03 Simon Josefsson * gl/alloca.in.h, gl/config.charset, gl/errno.in.h, gl/fseeko.c, gl/fstat.c, gl/getpass.h, gl/gettext.h, gl/localcharset.c, gl/m4/errno_h.m4, gl/m4/extensions.m4, gl/m4/fdopen.m4, gl/m4/getopt.m4, gl/m4/gnulib-common.m4, gl/m4/intlmacosx.m4, gl/m4/largefile.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/lock.m4, gl/m4/manywarnings.m4, gl/m4/mmap-anon.m4, gl/m4/multiarch.m4, gl/m4/nocrash.m4, gl/m4/poll.m4, gl/m4/printf.m4, gl/m4/stdio_h.m4, gl/m4/sys_time_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/override/lib/gettext.h.diff, gl/poll.c, gl/printf-parse.c, gl/select.c, gl/signal.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdlib.in.h, gl/strerror-override.c, gl/strerror-override.h, gl/sys_select.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/verify.h, gltests/init.sh, gltests/locale.in.h, gltests/localename.c, gltests/stat.c, gltests/test-alloca-opt.c, gltests/test-errno.c, gltests/test-localename.c, gltests/test-malloca.c, gltests/test-time.c, lib/build-aux/gnupload, lib/gl/alloca.in.h, lib/gl/base64.h, lib/gl/errno.in.h, lib/gl/gettext.h, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/lock.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/printf.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/visibility.m4, lib/gl/override/lib/gettext.h.diff, lib/gl/printf-parse.c, lib/gl/stdint.in.h, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/verify.h, lib/gltests/init.sh, lib/gltests/test-alloca-opt.c, lib/gltests/test-errno.c, lib/maint.mk, maint.mk: Update gnulib files. 2012-08-03 Simon Josefsson * NEWS, lib/po/LINGUAS, lib/po/de.po.in, po/LINGUAS, po/hr.po.in, po/sk.po.in: Sync with TP. 2012-06-05 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-28 Simon Josefsson * doc/announce.txt: Update for 1.8.0. 2012-05-28 Simon Josefsson * doc/announce.txt: Update for 1.7.6. 2012-05-28 Simon Josefsson * lib/po/sr.po.in, po/sr.po.in: Sync with TP. 2012-05-28 Simon Josefsson * NEWS, cfg.mk, lib/NEWS: Version 1.8.0. 2012-05-28 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-23 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.6. 2012-05-23 Simon Josefsson * NEWS, lib/NEWS, lib/po/nl.po.in, po/nl.po.in: Sync with TP. 2012-05-23 Simon Josefsson * NEWS: Add. 2012-05-23 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/server-xmpp-saml20.c, examples/smtp-server.c: Need config.h for examples, due to gnulib overrides. 2012-05-22 Simon Josefsson * examples/Makefile.am: Link with gnulib. 2012-05-22 Simon Josefsson * doc/Makefile.am: Bump copyright years. 2012-05-22 Simon Josefsson * configure.ac: Silence pure/const attribute warnings. 2012-05-22 Simon Josefsson * doc/gsasl.texi: Fix texinfo warning. 2012-05-22 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-22 Simon Josefsson * doc/announce.txt: Update for 1.7.5. 2012-05-22 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.5. 2012-05-22 Simon Josefsson * lib/po/pl.po.in, po/pl.po.in: Sync with TP. 2012-05-22 Simon Josefsson * configure.ac, lib/configure.ac: Improve ./configure summary. 2012-05-21 Simon Josefsson * lib/configure.ac: Display build option summary. 2012-05-21 Simon Josefsson * lib/configure.ac: Don't auto-detect MIT/Heimdal, it causes too many build problems. 2012-05-21 Simon Josefsson * gl/Makefile.am, gl/m4/ftruncate.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/ioctl.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/strerror_r.m4, gl/m4/sys_ioctl_h.m4, gl/override/tests/test-poll.c.diff, gl/override/tests/test-select-in.sh.diff, gltests/Makefile.am, gltests/accept.c, gltests/bind.c, gltests/ftruncate.c, gltests/gettimeofday.c, gltests/ioctl.c, gltests/listen.c, gltests/perror.c, gltests/pipe.c, gltests/setsockopt.c, gltests/strerror_r.c, gltests/sys_ioctl.in.h, gltests/test-accept.c, gltests/test-bind.c, gltests/test-ftruncate.c, gltests/test-ftruncate.sh, gltests/test-gettimeofday.c, gltests/test-ioctl.c, gltests/test-listen.c, gltests/test-perror.c, gltests/test-perror.sh, gltests/test-perror2.c, gltests/test-pipe.c, gltests/test-poll.c, gltests/test-select-fd.c, gltests/test-select-in.sh, gltests/test-select-out.sh, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-select.h, gltests/test-setsockopt.c, gltests/test-strerror_r.c, gltests/test-sys_ioctl.c, gltests/w32sock.h: Avoid tests with known Cygwin/MinGW failures. 2012-05-21 Simon Josefsson * lib/digest-md5/test-parser.c: More debug info, useful when gc_init fails. 2012-05-21 Simon Josefsson * NEWS, lib/NEWS, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/id.po.in, lib/po/it.po.in, lib/po/uk.po.in, lib/po/vi.po.in, po/de.po.in, po/eo.po.in, po/fi.po.in, po/it.po.in, po/uk.po.in, po/vi.po.in: Sync with TP. 2012-05-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-21 Simon Josefsson * lib/gl/m4/gc.m4, lib/gl/md5.c, lib/gl/sha1.c: Update gnulib files. 2012-05-21 Simon Josefsson * examples/openid20/Makefile.am, examples/saml20/Makefile.am: Need gnulib for saml20/openid20 examples. 2012-05-21 Simon Josefsson * src/Makefile.am: Indent. 2012-05-16 Simon Josefsson * examples/saml20/README: Typo 2012-05-16 Simon Josefsson * doc/announce.txt: Update for 1.7.4. 2012-05-16 Simon Josefsson * doc/announce.txt: Update for 1.7.3. 2012-05-16 Simon Josefsson * README-alpha: Mention ncftp. 2012-05-16 Simon Josefsson * NEWS, lib/NEWS, tests/libgsasl.supp: Version 1.7.4. 2012-05-16 Simon Josefsson * README-alpha: Mention valgrind suppressions file. 2012-05-16 Simon Josefsson * NEWS, lib/NEWS: Doc fix. 2012-05-16 Simon Josefsson * gltests/ignore-value.h: Update gnulib files. 2012-05-16 Simon Josefsson * .gitignore: Ignore more. 2012-05-16 Simon Josefsson * doc/doxygen/Doxyfile.in: Don't use pdflatex as it causes multiple hard errors. See for discussion around the problem. The problem occurs on too many functions in GNU SASL for it to be possible to reword them all to work around the problem. 2012-05-16 Simon Josefsson * README-alpha: Mention doxygen. 2012-05-15 Simon Josefsson * cfg.mk, doc/gendocs_template, gl/override/doc/gendocs_template.diff: Use devhelp version 2 format. 2012-05-14 Simon Josefsson * windows/gsasl4win.mk: Don't mess with ~/.wine. Drop KFW 3.2.3alpha1 support. 2012-05-14 Simon Josefsson * windows/gsasl4win.mk: Run self-checks for 64-bit builds too (seems to work on Ubuntu 12.04). 2012-05-14 Simon Josefsson * lib/NEWS: Doc fix. 2011-11-21 Simon Josefsson * lib/gssapi/server.c: gssapi: Don't output zero-length tokens on success. Reported by Andreas Oberritter . 2011-10-26 Simon Josefsson * lib/gssapi/server.c: Only proceed to the next step when the context is established. Before the code would always go to the next step, even if the GSS-API library returned CONTINUE_NEEDED and the context not yet established. The reason this problem does not appear to be exploitable is because a Kerberos V5 GSS-API mechanism implementation would not return CONTINUE_NEEDED and at the same time be able to successfully perform gss_wrap and gss_unwrap. Reported by Andreas Oberritter . 2012-05-14 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strnlen.m4, gl/strnlen.c, gltests/Makefile.am, gltests/test-strnlen.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, {gl => lib/gl}/m4/strndup.m4, {gl => lib/gl}/strndup.c: Move strndup to lib/. 2012-05-14 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/strndup.c, gl/strnlen.c, gltests/Makefile.am, gltests/test-strnlen.c: Add strndup. 2012-05-14 Simon Josefsson * .gitignore: Ignore more. 2012-05-14 Simon Josefsson * lib/digest-md5/parser.c: Rewrite to use strdup instead of malloc. Silences valgrind warnings. 2012-05-14 Simon Josefsson * tests/scram.c, tests/symbols.c: Fix build errors with gcc 4.6. 2012-05-14 Simon Josefsson * doc/gsasl.texi, examples/saml20/README: Fix syntax-check nits. 2012-05-14 Simon Josefsson * lib/NEWS, lib/po/vi.po.in: Sync with TP. 2012-05-14 Simon Josefsson * gl/Makefile.am, gl/fseeko.c, gl/fstat.c, gl/lseek.c, gl/m4/dup2.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/ftruncate.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/largefile.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/math_h.m4, gl/m4/off_t.m4, gl/m4/putenv.m4, gl/m4/realloc.m4, gl/m4/setenv.m4, gl/m4/stat.m4, gl/m4/strerror.m4, gl/m4/symlink.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_types_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/warnings.m4, gl/m4/wctype_h.m4, gl/stdint.in.h, gl/stdio.in.h, gl/sys_stat.in.h, gl/sys_types.in.h, gl/unistd.in.h, gltests/binary-io.h, gltests/fcntl.in.h, gltests/ftruncate.c, gltests/init.sh, gltests/ioctl.c, gltests/stat.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, lib/build-aux/snippet/_Noreturn.h, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/memmem.m4, lib/gl/m4/off_t.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/sys_types.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-sys_types.c, lib/maint.mk, maint.mk: Update gnulib files. 2012-05-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Doc fixes. Bump version. 2012-05-14 Simon Josefsson * README, doc/gsasl.texi, lib/NEWS, lib/README, lib/src/gsasl.h: Doc fixes for SAML/OpenID. 2012-05-14 Simon Josefsson * doc/gsasl.texi, examples/client-xmpp-saml20.c, examples/openid20/smtp-server-openid20.c, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, lib/NEWS, lib/openid20/client.c, lib/openid20/server.c, lib/saml20/client.c, lib/saml20/server.c, lib/src/error.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, tests/openid20.c, tests/saml20.c: Revert "Unify some SAML/OpenID properties & callbacks." This reverts commit 3095b8531899818f1838c8f658024fafb8fbd92a. 2012-04-29 Simon Josefsson * README-alpha: Mention lasso build dependency. 2012-04-18 Simon Josefsson * examples/saml20/README: Fix. 2012-04-18 Simon Josefsson * examples/saml20/README: Add example flow. 2012-04-18 Simon Josefsson * examples/saml20/README: Doc fixes. 2012-04-03 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.3. 2012-04-03 Simon Josefsson * cfg.mk: Don't warn on exit(0) in PHP code. 2012-04-03 Simon Josefsson * examples/saml20/smtp-server-saml20.c: Don't crash on uninitialized variable. 2012-04-03 Simon Josefsson * doc/reference/Makefile.am: Don't use non-portable '-include'. 2012-04-03 Simon Josefsson * AUTHORS: Update OpenPGP key. 2012-04-03 Simon Josefsson * cfg.mk, examples/client-xmpp-saml20.c, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/po/POTFILES.in, lib/saml20/client.c, lib/src/mechtools.c, lib/src/mechtools.h, src/gsasl.c: Update copyright headers. 2012-04-03 Simon Josefsson * gl/Makefile.am, gl/m4/math_h.m4, gl/m4/stdio_h.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/stdio.in.h, gltests/strerror_r.c, lib/gl/Makefile.am, lib/gl/m4/math_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/warn-on-use.m4, lib/gl/stdio.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2012-04-03 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/server-xmpp-saml20.c: Fix warn_unused_result complaints. 2012-04-03 Simon Josefsson * doc/print-errors.c, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/client.c, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/login/client.c, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/server.c, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/server.c, lib/src/crypto.c, lib/src/done.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/internal.h, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/saslprep.c, src/callbacks.c, src/gsasl.c, src/imap.c, src/internal.h, src/smtp.c, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/utils.c, tests/utils.h: Indent code. 2012-04-03 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Fix build errors. 2012-04-03 Simon Josefsson * configure.ac: Disable Lasso by default on Windows. 2012-04-03 Simon Josefsson * NEWS, lib/NEWS: Update NEWS. 2012-04-03 Simon Josefsson * doc/gsasl.texi, lib/saml20/client.c, lib/saml20/server.c: Update SAML20 implementation to -09. Use = instead of empty message. 2012-04-03 Simon Josefsson * doc/gsasl.texi: Doc fixes. 2012-04-03 Simon Josefsson * examples/openid20/Makefile.am, examples/saml20/Makefile.am, examples/saml20/smtp-server-saml20.c: Fix build errors. Use -no-install for examples. 2012-04-03 Simon Josefsson * lib/NEWS, lib/configure.ac: Enable SAML20 by default. Doc fixes. 2012-04-03 Simon Josefsson * tests/crypto.c: Disable testing of gsasl_random for now (it locks). 2012-04-03 Simon Josefsson * NEWS: Add. 2012-04-03 Simon Josefsson * doc/gsasl.texi, examples/client-xmpp-saml20.c, examples/openid20/smtp-server-openid20.c, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, lib/NEWS, lib/openid20/client.c, lib/openid20/server.c, lib/saml20/client.c, lib/saml20/server.c, lib/src/error.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, tests/openid20.c, tests/saml20.c: Unify some SAML/OpenID properties & callbacks. GSASL_REDIRECT_URL: Added, replaces the next two properties. GSASL_OPENID20_REDIRECT_URL: Removed. GSASL_SAML20_REDIRECT_URL: Removed. GSASL_AUTHENTICATE_IN_BROWSER: Added, replaces the next two callbacks. GSASL_SAML20_AUTHENTICATE_IN_BROWSER: Removed. GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: Removed. 2012-04-03 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-03-30 Simon Josefsson * .gitignore, configure.ac, examples/Makefile.am, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/idp.protectnetwork.org/idp-metadata.xml, examples/saml20/openidp.feide.no/idp-metadata.xml, examples/saml20/smtp-server-saml20.c, examples/saml20/sp-crt.pem, examples/saml20/sp-key.pem, examples/saml20/sp-metadata.xml: Add example SAML20 server. 2012-03-28 Simon Josefsson * doc/announce.txt: Update for 1.7.2. 2012-03-28 Simon Josefsson * cfg.mk: Allow for sub-keys. 2012-03-28 Simon Josefsson * configure.ac, examples/Makefile.am, examples/openid20/Makefile.am: Don't build example SMTP server for Windows. 2012-03-28 Simon Josefsson * po/vi.po.in: Sync with TP. 2012-03-28 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.2. 2012-03-28 Simon Josefsson * .gitignore: Ignore more. 2012-03-28 Simon Josefsson * doc/gsasl.texi: Document new OPENID20 properties and callbacks. 2012-03-28 Simon Josefsson * tests/Makefile.am, tests/openid20.c: Add OPENID20 self-test. 2012-03-28 Simon Josefsson * lib/openid20/client.c, lib/openid20/server.c: Fix error handling step. 2012-03-28 Simon Josefsson * examples/smtp-server.c: Sync example SMTP codes. 2012-03-28 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/locale_h.m4, gl/m4/math_h.m4, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/stdlib.in.h, gl/string.in.h, gl/unistr.in.h, gl/unitypes.in.h, gl/wchar.in.h, gltests/Makefile.am, gltests/fpucw.h, gltests/locale.in.h, gltests/macros.h, gltests/test-locale.c, lib/build-aux/gnupload, lib/gl/m4/math_h.m4, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/wchar.in.h, lib/gltests/fpucw.h, lib/gltests/macros.h, lib/maint.mk, maint.mk: Update gnulib files. 2012-03-28 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Create directories with better permissions. 2012-03-28 Simon Josefsson * NEWS, examples/openid20/README, lib/NEWS: Doc fixes. 2012-03-28 Simon Josefsson * NEWS, doc/gsasl.texi: Add example to manual. Update NEWS. 2012-03-28 Simon Josefsson * doc/gsasl.texi: Update OPENID20 documentation. 2012-03-28 Simon Josefsson * lib/configure.ac: Enable OPENID20 by default. 2012-03-28 Simon Josefsson * lib/src/gsasl.h: Collapse enum ranges. 2012-03-28 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Disable stdout buffering (somehow required to pipe output into logger). 2012-03-28 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Fix debug info. 2012-03-28 Simon Josefsson * NEWS, src/gsasl.c, src/imap.c, src/smtp.c: gsasl: Let server decide when authentication is complete. 2012-03-28 Simon Josefsson * .gitignore, configure.ac, examples/Makefile.am, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c: Add SMTP example server with OpenID 2.0 support. 2012-03-27 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2012-03-27 Simon Josefsson * lib/src/error.c: Fix last commit. 2012-03-27 Simon Josefsson * lib/openid20/client.c, lib/openid20/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c: Use AUTHID for OpenID user-supplied identifier. 2012-03-27 Simon Josefsson * examples/smtp-server.c: Print information after authentication. 2012-03-27 Simon Josefsson * lib/openid20/client.c, lib/openid20/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c: Further OPENID20 fixes. 2012-03-27 Simon Josefsson * examples/smtp-server.c: Don't crash in accept. 2012-03-27 Simon Josefsson * src/gsasl.c: Silence compiler warnings. 2012-03-27 Simon Josefsson * README-alpha: Add make. 2012-03-27 Simon Josefsson * lib/openid20/server.c, lib/src/error.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: Improve OPENID20 implementation. 2012-03-26 Simon Josefsson * .gitignore, examples/Makefile.am, examples/smtp-server.c: Add example SMTP server. 2012-03-26 Simon Josefsson * src/callbacks.c: Support SAML20 callbacks. 2012-03-23 Simon Josefsson * src/smtp.c: Handle when AUTH tokens are on final 250 line. 2012-03-23 Simon Josefsson * src/gsasl.ggo: Prepare for --listen. 2012-03-23 Simon Josefsson * src/gsasl.c: Don't even try to get channel binding when --no-cb was given. 2012-03-07 Simon Josefsson * doc/Makefile.am, doc/gdoc: Don't hardcode /usr/bin/perl in gdoc. For Hydra. 2012-03-02 Simon Josefsson * GNUmakefile, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/config.charset, gl/errno.in.h, gl/float+.h, gl/fseeko.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/fpieee.m4, gl/m4/math_h.m4, gl/mbrtowc.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/size_max.h, gl/snprintf.c, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/streq.h, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/wchar.in.h, gl/wctype.in.h, gl/xsize.h, gltests/gettimeofday.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/malloc.c, gltests/malloca.c, gltests/malloca.h, gltests/pathmax.h, gltests/pipe.c, gltests/sys_ioctl.in.h, gltests/test-fgetc.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fwrite.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-perror.c, gltests/test-perror2.c, gltests/test-pipe.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-strerror.c, gltests/test-strerror_r.c, lib/GNUmakefile, lib/build-aux/gnupload, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/m4/fpieee.m4, lib/gl/m4/math_h.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/test-fgetc.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-strverscmp.c, lib/maint.mk, maint.mk: Update gnulib files. 2012-03-02 Simon Josefsson * lib/cfg.mk: Let 'make update-po' work unbootstrapped. 2012-02-20 Simon Josefsson * THANKS, doc/gsasl.texi: Fix typo. Reported by Phil Pennock . 2012-02-20 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-02-10 Simon Josefsson * doc/announce.txt: Update for 1.7.1. 2012-02-09 Simon Josefsson * lib/build-aux/gnupload: Really add gnupload. 2012-02-09 Simon Josefsson * cfg.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Add and fix gnupload commands. 2012-02-09 Simon Josefsson * .gitignore: Ignore more. 2012-02-09 Simon Josefsson * cfg.mk: Fix path in release rule. 2012-02-09 Simon Josefsson * cfg.mk, lib/cfg.mk: Cleanup release targets. 2012-02-09 Simon Josefsson * NEWS: Version 1.7.1. 2012-02-09 Simon Josefsson * .gitignore: Add more. 2012-02-09 Simon Josefsson * lib/build-aux/config.rpath, lib/maint.mk, maint.mk: Update gnulib files. 2012-02-09 Simon Josefsson * gl/m4/valgrind-tests.m4, gl/override/m4/valgrind-tests.m4.diff: Disable memory leak checking for now. 2012-02-08 Simon Josefsson * lib/gl/build-aux/config.rpath, lib/gl/build-aux/link-warning.h, lib/gl/build-aux/useless-if-before-free, lib/gl/build-aux/vc-list-files: Remove obsolete files. 2012-02-08 Simon Josefsson * Makefile.am, lib/build-aux/config.rpath: Disable GSS-API for self-testing (memory leaks). 2012-02-08 Simon Josefsson * lib/configure.ac: Doc fix. 2012-02-08 Simon Josefsson * .gitignore, ChangeLog, cfg.mk, lib/ChangeLog, lib/cfg.mk, windows/gsasl4win.mk: Improve release targets. 2012-02-07 Simon Josefsson * cfg.mk: Add gtk-doc rules. 2012-02-07 Simon Josefsson * cfg.mk: Add clang rules. 2012-02-07 Simon Josefsson * cfg.mk: Fix coverage rules. 2012-02-07 Simon Josefsson * NEWS, THANKS, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strdup.m4, gl/strdup.c, gltests/Makefile.am, {gl => gltests}/malloc.c: Use getpass-gnu instead of getpass to get a working getpass everywhere. Solves problem on Mac OS X reported by Wim Lewis . 2012-02-07 Simon Josefsson * README, doc/announce.txt: Fix links. 2012-02-07 Simon Josefsson * README: Mention OPENID/SAML. 2012-02-07 Simon Josefsson * cfg.mk: Fix ignore rule. 2012-02-07 Simon Josefsson * configure.ac, doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml, doc/reference/version.xml.in, gtk-doc.make, m4/gtk-doc.m4: Update gtk-doc files. 2012-02-07 Simon Josefsson * cfg.mk: Fix syntax-check nit. 2012-02-07 Simon Josefsson * .cvsusers, .prev-version, lib/.prev-version: Drop old files. 2012-02-07 Simon Josefsson * doc/Makefile.am, doc/gpl-3.0.texi, doc/gsasl.texi, doc/lgpl-2.1.texi, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Drop licenses from manual. 2012-02-07 Simon Josefsson * .clcopying, AUTHORS, ChangeLog, Makefile.am, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, lib/AUTHORS, lib/ChangeLog, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/saml20/Makefile.am, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Update copyright headers. 2012-02-07 Simon Josefsson * cfg.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/build-aux/update-copyright: Use update-copyright gnulib module. 2012-02-07 Simon Josefsson * NEWS: Add. 2012-02-07 Simon Josefsson * examples/client-xmpp-saml20.c, examples/server-xmpp-saml20.c: Don't use getline in examples. 2012-02-07 Simon Josefsson * lib/saml20/client.c: Fix logic. 2012-02-07 Simon Josefsson * lib/configure.ac: Disable OPENID20 and SAML20 by default. 2012-02-07 Simon Josefsson * lib/src/mechtools.c, lib/src/mechtools.h: Fix memory leak and warnings. 2012-02-07 Simon Josefsson * lib/saml20/client.c: Silence warning. 2012-02-07 Simon Josefsson * lib/scram/client.c: Fix memory leak. 2012-02-07 Simon Josefsson * lib/po/sr.po.in, po/sr.po.in: Sync with TP. 2012-02-07 Simon Josefsson * src/gsasl.c: Silence warning. 2012-02-07 Simon Josefsson * GNUmakefile, cfg.mk, doc/fdl-1.3.texi, doc/gendocs_template, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fclose.c, gl/fd-hook.c, gl/fd-hook.h, gl/fflush.c, gl/float+.h, gl/float.c, gl/float.in.h, gl/fpurge.c, gl/freading.c, gl/freading.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/ftello.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/fclose.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/fflush.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fpurge.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/ftell.m4, gl/m4/ftello.m4, gl/m4/ftruncate.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/ioctl.m4, gl/m4/largefile.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/{freading.m4 => msvc-nothrow.m4}, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/signal_h.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strerror_r.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/override/lib/dup2.c.diff, gl/override/lib/getpass.c.diff, gl/override/lib/gettext.h.diff, gl/override/m4/open.m4.diff, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.in.h, {gltests => gl}/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, {gltests => gl}/time.in.h, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/accept.c, gltests/binary-io.h, gltests/bind.c, gltests/btowc.c, gltests/dosname.h, gltests/dup2.c, gltests/fcntl.in.h, gltests/fdopen.c, gltests/fpucw.h, gltests/ftruncate.c, gltests/getcwd-lgpl.c, gltests/getpagesize.c, gltests/gettimeofday.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/ioctl.c, gltests/listen.c, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/perror.c, gltests/pipe.c, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/setsockopt.c, gltests/signature.h, gltests/stat.c, gltests/strerror_r.c, gltests/symlink.c, gltests/sys_ioctl.in.h, gltests/test-accept.c, gltests/test-alignof.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, gltests/test-bind.c, gltests/test-btowc.c, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gl/ftell.c => gltests/test-close.c, gltests/test-connect.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fclose.c, gltests/test-fcntl-h.c, gltests/test-fdopen.c, gltests/test-fflush.c, gltests/test-fflush2.c, gltests/test-fflush2.sh, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fpurge.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-freading.c, gltests/test-fseek.c, gltests/test-fseeko.c, gltests/test-fseeko3.c, gltests/test-fseeko3.sh, gltests/test-fseeko4.c, gltests/test-fseeko4.sh, gltests/test-fstat.c, gltests/test-ftell.c, gltests/test-ftell.sh, gltests/test-ftell2.sh, gltests/test-ftell3.c, gltests/test-ftello.c, gltests/test-ftello.sh, gltests/test-ftello2.sh, gltests/test-ftello3.c, gltests/test-ftruncate.c, gltests/test-ftruncate.sh, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-ioctl.c, gltests/test-listen.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-perror.c, gltests/test-perror2.c, gltests/test-pipe.c, gltests/test-poll-h.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-recv.c, gltests/test-select-fd.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-select.h, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale2.c, gltests/test-setlocale2.sh, gltests/test-setsockopt.c, gltests/test-shutdown.c, gltests/test-signal-h.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-strerror_r.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_ioctl.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/w32sock.h, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/pmccabe.css, lib/build-aux/pmccabe2html, lib/build-aux/snippet/_Noreturn.h, lib/build-aux/{ => snippet}/arg-nonnull.h, lib/build-aux/{ => snippet}/c++defs.h, lib/build-aux/{ => snippet}/unused-parameter.h, lib/build-aux/{ => snippet}/warn-on-use.h, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/itold.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/override/lib/gettext.h.diff, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/fdopen.c, lib/gltests/fpucw.h, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-fdopen.c, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-sha1.c, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2011-11-12 Enrico Scholz * src/imap.c: ignore untagged responses during IMAP authentication Some IMAP server (e.g. dovecot) return new capabilities as untagged response. Old code expected only one line (e.g. the final '. OK') which would be given out as part of the application data. E.g. without this patch, authentication to a dovecot server would look like: | $ gsasl mailbox 143 --imap ... | ... | + BQQF/wAMAAAAAAAAIO4EoAH... | BQQE/wAMAAAAAAAAII9BbgH... | * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ... | Client authentication finished (server trusted)... | Enter application data (EOF to finish): | . OK Logged in Patches changes it to | + BQQF/wAMAAAAAAAAIX... | BQQE/wAMAAAAAAAAK2... | * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ... | . OK Logged in | Client authentication finished (server trusted)... | Enter application data (EOF to finish): Dialog with cyrus-imapd is not changed and ends always with | + BQQF/wAMAAAAAAAAPqx... | BQQE/wAMAAAAAAAAL... | . OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ...] Success (tls protection) | Client authentication finished (server trusted)... | Enter application data (EOF to finish): Signed-off-by: Enrico Scholz Signed-off-by: Simon Josefsson 2011-11-25 Simon Josefsson * tests/readnz.c: Print newline after messages. 2011-11-25 Simon Josefsson * tests/Makefile.am: Fix trailing backslash problem. Reported by Bruno Haible. 2011-11-22 Simon Josefsson * lib/tests/test-error.c: Silence warning. 2011-06-30 Simon Josefsson * .gitignore, NEWS, doc/gsasl.texi, doc/reference/gsasl-docs.sgml, lib/Makefile.am, lib/NEWS, lib/README, lib/configure.ac, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/src/Makefile.am, lib/src/error.c, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, tests/saml20.c: libgsasl: Implement OPENID20 mechanism for OpenID authentication. Following draft-ietf-kitten-sasl-openid-03. 2011-06-30 Simon Josefsson * NEWS, doc/gsasl.texi, lib/NEWS: Clarify protocol version. 2010-11-13 Simon Josefsson * NEWS, examples/Makefile.am, examples/client-xmpp-saml20.c, examples/server-xmpp-saml20.c, lib/NEWS, lib/src/error.c: examples: Added client-xmpp-saml20 and server-xmpp-saml20. 2011-06-29 Simon Josefsson * .gitignore, doc/Makefile.am, doc/gsasl.texi, lib/Makefile.am, lib/configure.ac, lib/gs2/server.c, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/src/Makefile.am, lib/src/error.c, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/property.c, lib/src/xfinish.c, tests/Makefile.am, tests/saml20.c: Implement SAML20 as per draft-ietf-kitten-sasl-saml-01. 2011-06-28 Simon Josefsson * lib/po/LINGUAS, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/it.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/uk.po.in, lib/po/zh_CN.po.in, po/LINGUAS, po/de.po.in, po/eo.po.in, po/fi.po.in, po/it.po.in, po/nl.po.in, po/pl.po.in, po/uk.po.in, po/zh_CN.po.in: Sync with TP. 2011-06-28 Simon Josefsson * cfg.mk, doc/lgpl-2.1.texi, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/arpa_inet.in.h, gl/errno.in.h, gl/error.c, gl/fclose.c, gl/float.c, gl/float.in.h, gl/fseek.c, {gltests => gl}/ftell.c, gl/getopt.c, gl/getopt.in.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/intprops.h, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/btowc.m4, gl/m4/dup2.m4, gl/m4/error.m4, gl/m4/fclose.m4, gl/m4/fflush.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fpurge.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/ftell.m4, gl/m4/ftello.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/ioctl.m4, gl/m4/libunistring-base.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/stat.m4, gl/m4/stdint.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strerror_r.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/unistd_h.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/xalloc.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.in.h, gl/sockets.c, gl/stdarg.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/sys_uio.in.h, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/verify.h, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/fcntl.in.h, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/init.sh, gltests/inttypes.in.h, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/macros.h, gltests/pathmax.h, gltests/perror.c, gltests/setenv.c, gltests/stat.c, gltests/strerror_r.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-fclose.c, gltests/test-fflush.c, gltests/test-float.c, gltests/test-fseek.c, gltests/test-fseek.sh, gltests/test-fseek2.sh, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-lock.c, gltests/test-perror.sh, gltests/test-perror2.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-strerror.c, gltests/test-strerror_r.c, gltests/test-verify.c, gltests/time.in.h, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, lib/build-aux/unused-parameter.h, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc.h, lib/gl/m4/alloca.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/printf.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/stdint.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/wchar_h.m4, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/fpucw.h, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/test-float.c, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-verify.c, lib/maint.mk, maint.mk: Update gnulib files. 2011-06-06 Simon Josefsson * src/callbacks.c: Print warnings to stderr. Reported by Jacek Konieczny . 2011-05-30 Brad Hards * src/imap.c, src/smtp.c: Fix compilation problems associated with -Wunused-result and -Werror These warnings are a bit excessive, but they are enabled by default on some systems (e.g. Ubuntu) with some compilers (gcc 4.5.2 in my case). Signed-off-by: Brad Hards Signed-off-by: Simon Josefsson 2011-05-30 Brad Hards * lib/src/callback.c, lib/src/error.c, lib/src/mechname.c, lib/src/obsolete.c, lib/src/property.c, lib/src/suggest.c, lib/src/version.c: doc: fix warnings about unknown links Signed-off-by: Brad Hards Signed-off-by: Simon Josefsson 2011-06-06 Brad Hards * .gitignore: add gl/readline.lo and .o to ignore list Signed-off-by: Brad Hards Signed-off-by: Simon Josefsson 2011-05-01 Simon Josefsson * .gitignore, .x-sc_bindtextdomain, .x-sc_file_system, .x-sc_po_check, .x-sc_program_name, .x-sc_prohibit_empty_lines_at_EOF, .x-sc_prohibit_magic_number_exit, .x-sc_space_tab, .x-sc_texinfo_acronym, .x-sc_the_the, .x-sc_trailing_blank, GNUmakefile, cfg.mk, doc/gendocs_template, doc/gsasl.texi, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/close-hook.c, gl/close-hook.h, gl/close.c, gl/config.charset, gl/connect.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fclose.c, gl/fd-hook.c, gl/fd-hook.h, gl/fflush.c, gl/float+.h, gl/float.in.h, gl/fpurge.c, gl/freading.c, gl/freading.h, gl/fseeko.c, gl/ftello.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.in.h, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/asm-underscore.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/dos.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/extensions.m4, gl/m4/fclose.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fflush.m4, gl/m4/float_h.m4, gl/m4/fpurge.m4, gl/m4/freading.m4, gl/m4/fseeko.m4, gl/m4/ftell.m4, gl/m4/ftello.m4, gl/m4/getaddrinfo.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/ioctl.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/stat.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio-write.c, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/sys_uio.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/accept.c, gltests/binary-io.h, gltests/bind.c, gltests/btowc.c, gltests/dosname.h, gltests/dup2.c, gltests/fcntl.in.h, gltests/ftell.c, gltests/getpagesize.c, gltests/gettimeofday.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/ioctl.c, gltests/listen.c, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/perror.c, gltests/pipe.c, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/setsockopt.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-alignof.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-btowc.c, gltests/test-btowc1.sh, gltests/test-btowc2.sh, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fflush.c, gltests/test-fflush2.c, gltests/test-fflush2.sh, gltests/test-fpurge.c, gltests/test-freading.c, gltests/test-fseeko.c, gltests/test-ftell.c, gltests/test-ftell.sh, gltests/test-ftell2.sh, gltests/test-ftell3.c, gltests/test-ftello.c, gltests/test-ftello.sh, gltests/test-ftello2.sh, gltests/test-ftello3.c, gltests/test-getaddrinfo.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32-1.sh, gltests/test-mbrtowc-w32-2.sh, gltests/test-mbrtowc-w32-3.sh, gltests/test-mbrtowc-w32-4.sh, gltests/test-mbrtowc-w32-5.sh, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-perror.c, gltests/test-pipe.c, gltests/test-poll-h.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-select-fd.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale1.sh, gltests/test-setlocale2.c, gltests/test-setlocale2.sh, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_ioctl.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32-1.sh, gltests/test-wcrtomb-w32-2.sh, gltests/test-wcrtomb-w32-3.sh, gltests/test-wcrtomb-w32-4.sh, gltests/test-wcrtomb-w32-5.sh, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wcrtomb.sh, gltests/{test-wctype.c => test-wctype-h.c}, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/time.in.h, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/w32sock.h, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/COPYING.LIB, lib/GNUmakefile, lib/build-aux/arg-nonnull.h, lib/build-aux/c++defs.h, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/pmccabe2html, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/build-aux/warn-on-use.h, lib/cram-md5/challenge.c, lib/digest-md5/free.c, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/m4/00gnulib.m4, lib/gl/m4/alloca.m4, lib/gl/m4/asm-underscore.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/macros.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. Fix syntax-check warnings. 2011-05-01 Simon Josefsson * lib/po/LINGUAS, lib/po/eo.po.in, po/LINGUAS, po/eo.po.in: Sync with TP. 2011-05-01 Simon Josefsson * NEWS, cfg.mk, lib/NEWS: Merge in 1.6.1 stuff. 2011-05-01 Simon Josefsson * .gitignore, windows/gsasl4win.mk: Fix upload rule. 2011-05-01 Simon Josefsson * .gitignore, NEWS, windows/gsasl4win.mk: build: Added MinGW build script for Windows binaries, windows/gsasl4win.mk. 2011-05-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Demand gettext >= 0.18.1 in order to get newer M4 files. The old M4 files associated with 0.17 caused problems on Solaris, which will hopefully be fixed with this. Reported by Dagobert Michelsen . 2011-05-01 Simon Josefsson * lib/NEWS, lib/libgsasl.pc.in: libgsasl.pc: Add a Libs.private. Reported by Volker Grabsch . 2011-05-01 Simon Josefsson * README, lib/README, lib/libgsasl.pc.in: Compact copyright ranges. 2011-02-23 Simon Josefsson * doc/gsasl.texi: Fix typo. Reported by Дилян Палаузов . 2010-12-14 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2010-12-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump version. 2010-12-14 Simon Josefsson * ChangeLog: Generated. 2010-12-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-12-14 Simon Josefsson * NEWS, lib/NEWS: Version 1.6.0. 2010-12-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-12-09 Simon Josefsson * ChangeLog: Generated. 2010-12-09 Simon Josefsson * lib/ChangeLog: Generated. 2010-12-09 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.5. 2010-12-09 Simon Josefsson * NEWS: Add. 2010-12-09 Simon Josefsson * configure.ac, lib/configure.ac: Silence. 2010-12-09 Simon Josefsson * lib/src/error.c: Fix indentation. 2010-12-09 Simon Josefsson * cfg.mk: Don't indent examples, formatting needed for texinfo manual. 2010-12-09 Simon Josefsson * .x-sc_bindtextdomain: Add. 2010-12-09 Simon Josefsson * NEWS, doc/gsasl.texi, src/callbacks.c, src/gsasl.ggo: gsasl: Add --no-cb command line parameter. 2010-12-09 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/gettext.h, gl/iconv.in.h, gl/intprops.h, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/dup2.m4, gl/m4/fcntl-o.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/glibc21.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/open.m4, gl/m4/poll.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/readline.m4, gl/m4/setenv.m4, gl/m4/stat.m4, gl/m4/stdint.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar_h.m4, gl/mbrtowc.c, gl/printf-parse.c, gl/printf-parse.h, gl/stdint.in.h, gl/striconv.c, gl/string.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/xmalloc.c, gltests/fcntl.in.h, gltests/test-getopt.h, gltests/test-iconv-h.c, lib/build-aux/gendocs.sh, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/alloca.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/printf.m4, lib/gl/m4/stdint.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wchar_h.m4, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/stdint.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/intprops.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-12-09 Simon Josefsson * .gitignore: Add. 2010-12-09 Simon Josefsson * src/callbacks.c: Fix crash for non-TLS. 2010-11-14 Simon Josefsson * cfg.mk: Fix bashism. 2010-11-14 Simon Josefsson * cfg.mk: Copy GTK-DOC PDF too. 2010-11-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-11-14 Simon Josefsson * ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.4. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/NEWS, lib/scram/server.c: SCRAM: Fix memory leaks. 2010-11-14 Simon Josefsson * tests/scramplus.c: Remove debug code. 2010-11-14 Simon Josefsson * NEWS, lib/NEWS: Add. 2010-11-14 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/arpa_inet.in.h, gl/errno.in.h, gl/float+.h, gl/float.in.h, gl/getopt.in.h, gl/iconv.in.h, gl/inet_ntop.c, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_wait_h.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-parse.c, gl/printf-parse.h, gl/stdarg.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strerror.c, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/sys_wait.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc.h, gltests/Makefile.am, gltests/fcntl.in.h, gltests/ignore-value.h, gltests/init.sh, gltests/malloca.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-getopt.h, gltests/test-getopt_long.h, lib/gltests/test-sys_wait.c => gltests/test-poll-h.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-stdlib.c, gltests/test-sys_wait.c, gltests/time.in.h, lib/GNUmakefile, lib/build-aux/pmccabe.css, lib/build-aux/pmccabe2html, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.in.h, lib/gl/m4/errno_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/include_next.m4, lib/gl/m4/memmem.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/sys_wait_h.m4, lib/gl/m4/threadlib.m4, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/sys_wait.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/{gltests => gl}/verify.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-memmem.c, lib/gltests/test-stdlib.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-11-14 Simon Josefsson * lib/NEWS: Add. 2010-11-14 Simon Josefsson * lib/scram/parser.c: Fix parsing bug. 2010-11-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-11-14 Simon Josefsson * ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.3. 2010-11-14 Simon Josefsson * .gitignore, NEWS, README, configure.ac, doc/gsasl.texi, doc/reference/gsasl-docs.sgml, lib/NEWS, lib/README, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/printer.c, lib/scram/scram.h, lib/scram/server.c, lib/scram/validate.c, lib/src/error.c, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, src/gsasl.c, src/internal.h, tests/Makefile.am, tests/scram.c, tests/scramplus.c: Support SCRAM-SHA-1-PLUS. Add GSASL_CB_TLS_UNIQUE. Use GnuTLS for tls-unique CB. 2010-11-13 Simon Josefsson * .gitignore: Ignore more. 2010-11-13 Simon Josefsson * src/gsasl.c, tests/cram-md5.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-md5file.c, tests/old-simple.c, tests/scram.c, tests/simple.c, tests/utils.c: Fix compiler warnings. 2010-09-27 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-09-27 Simon Josefsson * doc/gsasl.texi: Fix typo. 2010-09-27 Simon Josefsson * ChangeLog: Generated. 2010-09-27 Simon Josefsson * lib/ChangeLog: Generated. 2010-09-27 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.2. 2010-09-27 Simon Josefsson * NEWS: Add. 2010-09-27 Simon Josefsson * NEWS: Add. 2010-09-27 Simon Josefsson * doc/gsasl.texi: Drop libgpg-error/libgcrypt stuff from KfW. 2010-09-27 Simon Josefsson * src/gsasl.c: Manually initialize sockets for Windows (should be fixed in gnulib..). 2010-09-27 Simon Josefsson * doc/gsasl.texi: Improve KfW instructions. 2010-09-27 Simon Josefsson * gl/override/tests/test-environ.c.diff, gl/override/tests/test-unsetenv.c.diff, gltests/test-environ.c, gltests/test-unsetenv.c: Work around Wine bugs in gnulib self-tests. 2010-09-26 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/sys_wait.in.h, gltests/Makefile.am, gltests/test-stdlib.c, gltests/test-sys_wait.c, gltests/test-sys_wait.h, lib/gl/m4/gnulib-comp.m4, lib/gl/sys_wait.in.h, lib/gltests/Makefile.am, lib/gltests/test-stdlib.c, lib/gltests/test-sys_wait.c, lib/gltests/test-sys_wait.h: Update gnulib files. 2010-09-26 Simon Josefsson * doc/gsasl.texi: Fix download URL. 2010-09-26 Simon Josefsson * NEWS: Add. 2010-09-26 Simon Josefsson * lib/po/nl.po.in, po/nl.po.in: Sync with TP. 2010-09-26 Simon Josefsson * cfg.mk, lib/cfg.mk: Improve cfg.mk targets. 2010-09-26 Simon Josefsson * cfg.mk: Revert "Fixup visibility.m4 after gettext import." This reverts commit 322be869c210175857e202e5078fafbf49ea5b61. 2010-09-26 Simon Josefsson * doc/gsasl.texi: Improve KfW section. 2010-09-26 Simon Josefsson * cfg.mk: Fixup visibility.m4 after gettext import. 2010-09-26 Simon Josefsson * src/gsasl.c: Print errors from poll (mostly for Windows). 2010-09-26 Simon Josefsson * NEWS: Add. 2010-09-26 Simon Josefsson * src/gsasl.c, src/imap.c, src/smtp.c: Avoid fixed size buffers (caused problems on Windows where BUFSIZ is 512 smaller the some line lengths with GS2-KRB5). 2010-09-26 Simon Josefsson * gl/Makefile.am, gl/asprintf.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/vasprintf.m4, gl/vasprintf.c, gltests/Makefile.am, gltests/test-vasprintf.c: Add asprintf gnulib module. 2010-09-25 Simon Josefsson * gl/getaddrinfo.c, gltests/test-getaddrinfo.c: Update gnulib files. 2010-09-25 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/gss-extra.c, lib/gl/gss-extra.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gss-extra.m4, lib/gl/override/lib/gss-extra.c, lib/gl/override/lib/gss-extra.h, lib/gl/override/m4/gss-extra.m4, lib/gl/override/modules/gss-extra, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/server.c: Move GSS-API helper stuff to gss-extra module. 2010-09-25 Simon Josefsson * doc/gsasl.texi: Add 'Kerberos on Windows' section. 2010-09-25 Simon Josefsson * lib/NEWS: Add. 2010-09-25 Simon Josefsson * .x-sc_space_tab: Fix syntax-check tests. 2010-09-25 Simon Josefsson * GNUmakefile, NEWS, cfg.mk, doc/fdl-1.3.texi, gl/Makefile.am, gl/m4/codeset.m4, gl/m4/environ.m4, gl/m4/error.m4, gl/m4/fcntl-o.m4, gl/m4/float_h.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lock.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, gl/m4/nls.m4, gl/m4/open.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4, gl/m4/realloc.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/size_max.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/stat.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdlib_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_wait_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/uintmax_t.m4, gl/m4/visibility.m4, gl/m4/wchar_t.m4, gl/m4/wctob.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/malloc.c, gl/poll.c, gl/realloc.c, gl/select.c, gl/stdio.in.h, gl/stdlib.in.h, gl/strerror.c, gl/string.in.h, gl/sys_time.in.h, gl/sys_wait.in.h, gl/unistd.in.h, gl/wctype.in.h, gl/xmalloc.c, gltests/Makefile.am, gltests/fcntl.in.h, gltests/getpagesize.c, gltests/init.sh, gltests/locale/fr/LC_MESSAGES/test-quotearg.po, gltests/malloca.c, gltests/open.c, gltests/setenv.c, gltests/test-malloca.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/{test-quotearg.c => test-quotearg-simple.c}, gltests/test-quotearg.h, gltests/test-quotearg.sh, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdlib.c, gltests/test-sys_socket.c, gltests/test-sys_wait.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/time.in.h, lib/GNUmakefile, lib/NEWS, lib/build-aux/gendocs.sh, lib/build-aux/pmccabe2html, lib/gl/Makefile.am, lib/gl/m4/codeset.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/malloc.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/minmax.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/sys_wait_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/visibility.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/realloc.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/sys_wait.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdlib.c, lib/gltests/test-strnlen.c, lib/gltests/test-sys_wait.c, lib/gltests/test-verify.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-09-02 Simon Josefsson * lib/configure.ac, lib/gs2/Makefile.am, lib/gssapi/Makefile.am: Support MIT KfW as GSS-API library. 2010-05-20 Simon Josefsson * NEWS, cfg.mk, doc/announce.txt, doc/gendocs_template, doc/reference/Makefile.am, gl/override/doc/gendocs_template.diff, gtk-doc.make, m4/gtk-doc.m4: Update GTK-DOC files to enable PDF manual. 2010-05-20 Simon Josefsson * tests/cram-md5.c, tests/digest-md5.c, tests/gs2-krb5.c, tests/gssapi.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/scram.c: Fix error strings in self-tests. 2010-05-20 Simon Josefsson * lib/NEWS: Add. 2010-05-20 Simon Josefsson * README, lib/README: Improve READMEs. 2010-05-20 Simon Josefsson * configure.ac, doc/gendocs_template, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, m4/valgrind.m4 => gl/m4/valgrind-tests.m4: Update gnulib files, use new valgrind-tests module. 2010-05-17 Simon Josefsson * gl/Makefile.am, gl/config.charset, gl/error.c, gl/localcharset.c, gl/m4/asm-underscore.m4, gl/m4/gettext.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/intl.m4, gl/m4/po.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/m4/wctob.m4, gl/stdio-write.c, gl/stdio.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/verify.h, gl/wchar.in.h, gltests/Makefile.am, gltests/init.sh, gltests/test-lseek.sh, gltests/test-verify.c, gltests/test-verify.sh, gltests/test-xalloc-die.sh, gltests/wctob.c, lib/build-aux/c++defs.h, lib/build-aux/gendocs.sh, lib/gl/Makefile.am, lib/gl/m4/asm-underscore.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intl.m4, lib/gl/m4/po.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-verify.c, lib/gltests/test-verify.sh, lib/gltests/verify.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-04-29 Simon Josefsson * THANKS: Add. 2010-04-29 Simon Josefsson * tests/scram.c: More extension checking. 2010-04-29 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/netdb_h.m4, gl/m4/unistd_h.m4, gl/netdb.in.h, gl/unistd.in.h, gltests/init.sh, lib/gl/Makefile.am, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-c-ctype.c, lib/maint.mk, maint.mk: Update gnulib files. Add c-ctype module, for SCRAM. 2010-04-29 Simon Josefsson * lib/scram/parser.c: SCRAM server: ignore extensions in client-final. 2010-04-29 Simon Josefsson * tests/scram.c: Test extension parameters. 2010-04-29 Simon Josefsson * tests/scram.c: Don't ignore unexpected successes for i=16,17. 2010-04-29 Simon Josefsson * tests/scram.c: Test two failure modes with mismatching c= fields. 2010-04-29 Simon Josefsson * lib/scram/server.c: SCRAM server: Compare c= field in client-final to match client-first. Reported by Marc Santamaria . 2010-04-29 Simon Josefsson * tests/scram.c: Check that server supports n=y. 2010-04-29 Simon Josefsson * lib/scram/parser.c: SCRAM server: Interop against clients that supports channel bindings. Reported by Marc Santamaria . 2010-04-29 Simon Josefsson * lib/scram/server.c: SCRAM server: Interop against clients that supports channel bindings. Reported by Marc Santamaria . 2010-04-25 Simon Josefsson * gl/vasnprintf.c, gltests/Makefile.am, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, lib/build-aux/vc-list-files, lib/gl/m4/strnlen.m4, lib/gl/vasnprintf.c, lib/gltests/test-vasprintf.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-04-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-04-21 Simon Josefsson * ChangeLog: Generated. 2010-04-21 Simon Josefsson * lib/ChangeLog: Generated. 2010-04-21 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.1. 2010-04-21 Simon Josefsson * lib/NEWS: Add. 2010-04-21 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/ioctl.m4, gl/m4/visibility.m4, gl/override/m4/visibility.m4.diff, gltests/test-lseek.sh, gltests/test-select-in.sh, lib/gl/m4/visibility.m4, lib/gl/override/m4/visibility.m4.diff: Update gnulib files. 2010-04-19 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/getopt_int.h, gl/m4/netdb_h.m4, gl/stdbool.in.h, gltests/setenv.c, gltests/test-stdbool.c, gltests/test-stdint.c, lib/gl/stdbool.in.h, lib/gltests/test-stdbool.c, lib/gltests/test-stdint.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-04-14 Simon Josefsson * lib/NEWS: Add. 2010-04-14 Simon Josefsson * gl/getopt.c, gl/m4/getopt.m4, gltests/test-getopt.h, gltests/test-getopt_long.h, lib/gl/gc-libgcrypt.c: Update gnulib files. 2010-04-13 Simon Josefsson * lib/maint.mk, maint.mk: Update gnulib files. 2010-04-12 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c: GS2: Fix decoding of invalid data in server. Code review fixes. 2010-04-12 Simon Josefsson * .gitignore: Add. 2010-04-12 Simon Josefsson * .x-sc_prohibit_empty_lines_at_EOF, GNUmakefile, NEWS, doc/cyclo/Makefile.am, doc/reference/Makefile.am, gl/Makefile.am, gl/fseeko.c, gl/m4/fseeko.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/memchr.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/init.sh, gltests/ioctl.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-vasnprintf.c, gltests/time.in.h, lib/GNUmakefile, lib/NEWS, lib/build-aux/c++defs.h, lib/build-aux/warn-on-use.h, lib/gl/Makefile.am, lib/gl/m4/getpagesize.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/memchr.m4, lib/gl/m4/printf.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/test-vasnprintf.c, lib/maint.mk, maint.mk: Update gnulib files and fix new syntax-check warnings. 2010-03-31 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-03-31 Simon Josefsson * ChangeLog: Generated. 2010-03-31 Simon Josefsson * lib/ChangeLog: Generated. 2010-03-31 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.0. 2010-03-30 Simon Josefsson * m4/valgrind.m4: Sync valgrind.m4. 2010-03-30 Simon Josefsson * NEWS: Add. 2010-03-30 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strtok_r.m4, gl/strtok_r.c: Add strtok_r module, for MinGW and readnz. 2010-03-30 Simon Josefsson * gl/m4/gnulib-common.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/strnlen.m4, lib/gl/strnlen.c, lib/maint.mk, maint.mk: Update gnulib files. Add strnlen. 2010-03-30 Simon Josefsson * tests/gs2-krb5.c: Also test non-authzid scenario. 2010-03-30 Simon Josefsson * doc/cyclo/Makefile.am: Ignore some functions/files. 2010-03-30 Simon Josefsson * lib/gs2/client.c: Reduce complexity. 2010-03-30 Simon Josefsson * tests/simple.c: Check NULL handling in interfaces. 2010-03-30 Simon Josefsson * lib/src/xfinish.c: gsasl_finish: Handle NULL sctx. 2010-03-30 Simon Josefsson * lib/gs2/client.c: Fix memory leak and improve code coverage. 2010-03-30 Simon Josefsson * doc/gsasl.texi: Fix @url's. 2010-03-30 Simon Josefsson * doc/reference/gsasl-docs.sgml: Update. 2010-03-30 Simon Josefsson * doc/gsasl.texi: Add GS2 material. 2010-03-30 Simon Josefsson * .gitignore: Add. 2010-03-30 Simon Josefsson * configure.ac, tests/Makefile.am, tests/gs2-krb5.c, tests/gssapi.c: Fix GNU GSS checks. Be more verbose about configure options. 2010-03-30 Simon Josefsson * configure.ac, tests/Makefile.am: Only run GSSAPI/GS2 self-tests when using GNU GSS. 2010-03-30 Simon Josefsson * lib/NEWS, lib/configure.ac: Require GNU GSS version 1.0.0 or later. 2010-03-30 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/README: Drop GS2 README. 2010-03-30 Simon Josefsson * lib/NEWS: Typo. 2010-03-30 Simon Josefsson * doc/gdoc: Silence warning. 2010-03-30 Simon Josefsson * doc/Makefile.am: Fix copyright years. 2010-03-30 Simon Josefsson * gl/arpa_inet.in.h, gl/errno.in.h, gl/float.in.h, gl/getopt.in.h, gl/iconv.in.h, gl/m4/fcntl-o.m4, gl/m4/gnulib-comp.m4, gl/m4/intldir.m4, gl/m4/printf-posix.m4, gl/m4/sys_ioctl_h.m4, gl/m4/visibility.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/stdarg.in.h, gl/stdint.in.h, gl/string.in.h, gl/sys_time.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/ioctl.c, gltests/sys_ioctl.in.h, gltests/time.in.h, lib/gl/errno.in.h, lib/gl/float.in.h, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intldir.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/visibility.m4, lib/gl/stdint.in.h, lib/gl/string.in.h: Update gnulib files. 2010-03-30 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2010-03-30 Simon Josefsson * src/imap.c: Improve error message. 2010-03-30 Simon Josefsson * lib/gs2/client.c: Don't overwrite return value. 2010-03-30 Simon Josefsson * lib/gs2/gs2helper.c, lib/gs2/gs2helper.h: Fix warnings. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h: Use gss_oid_equal when available. 2010-03-29 Simon Josefsson * lib/configure.ac: Also check for gss_oid_equal. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c: Make gs2helper.h standalone. 2010-03-29 Simon Josefsson * lib/NEWS: Update NEWS. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c: GS2: Cleanup code. 2010-03-29 Simon Josefsson * lib/NEWS, lib/src/error.c, lib/src/gsasl.h: Add more GSS-API error codes. 2010-03-29 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2asn1.c, lib/gs2/gs2asn1.h, lib/gs2/gs2helper.c: Use GSS capsulate functions to simplify code. 2010-03-29 Simon Josefsson * lib/src/gsasl.h: Fix error code values. 2010-03-29 Simon Josefsson * tests/readnz.c: Silence compiler warning. 2010-03-29 Simon Josefsson * lib/NEWS, lib/gs2/server.c, lib/src/error.c, lib/src/gsasl.h: Improve GS2 error codes. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c: gss_inquire_mech_for_saslname: Fix replacement and usage. 2010-03-29 Simon Josefsson * lib/configure.ac: Improve GSS-API library feature checks. 2010-03-29 Simon Josefsson * lib/configure.ac: Fix typo. 2010-03-29 Simon Josefsson * lib/gs2/client.c: Check ret_flags. 2010-03-29 Simon Josefsson * lib/src/saslprep.c: Doc fix to avoid warning from GTK-DOC. 2010-03-29 Simon Josefsson * lib/configure.ac: Check for extended GSS-API interfaces. 2010-03-29 Simon Josefsson * .x-sc_texinfo_acronym: Add. 2010-03-29 Simon Josefsson * doc/gsasl.texi: Drop @acronym. 2010-03-29 Simon Josefsson * lib/configure.ac: Fix syntax-check warning (test -o ). 2010-03-29 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/connect.c, gl/errno.in.h, gl/float.in.h, gl/getaddrinfo.c, gl/getopt.c, gl/getopt.in.h, gl/gettext.h, gl/iconv.in.h, gl/m4/arpa_inet_h.m4, gl/m4/exitfail.m4, gl/m4/fcntl_h.m4, gl/m4/getaddrinfo.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/netdb_h.m4, gl/m4/setenv.m4, gl/m4/stddef_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/time_h.m4, gl/m4/unistd_h.m4, gl/m4/{wchar.m4 => wchar_h.m4}, gl/m4/{wctype.m4 => wctype_h.m4}, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/recv.c, gl/select.c, gl/stdarg.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/accept.c, gltests/bind.c, gltests/fcntl.in.h, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-dup2.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-iconv-h.c, gltests/test-vc-list-files-git.sh, gltests/test-wctype.c, gltests/time.in.h, lib/build-aux/c++defs.h, lib/build-aux/warn-on-use.h, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float.in.h, lib/gl/gettext.h, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/{wchar.m4 => wchar_h.m4}, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/test-base64.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-03-26 Simon Josefsson * lib/NEWS: Fix. 2010-03-26 Simon Josefsson * NEWS, lib/NEWS: Fixup NEWS entries. 2010-03-26 Simon Josefsson * doc/announce.txt: Update for 1.4.4. 2010-03-25 Simon Josefsson * doc/gsasl.texi: Improve wording. 2010-03-25 Simon Josefsson * doc/gsasl.texi: Link to Windows binaries. 2010-03-19 Simon Josefsson * tests/gs2-krb5.c: Make server-first logic more correct. 2010-03-19 Simon Josefsson * lib/gs2/server.c: Properly call GSS-API validate callback. 2010-03-18 Simon Josefsson * lib/NEWS, lib/scram/parser.c: SCRAM: Don't read out of bounds when parsing tokens. 2010-03-18 Simon Josefsson * tests/Makefile.am, tests/readnz.c: Add self-test for round-out-of-bounds. 2010-03-18 Simon Josefsson * src/gsasl.c: Don't crash if getaddrinfo failed to canonicalize address, but use user string. 2010-03-18 Simon Josefsson * README-alpha: Also need gperf. 2010-03-17 Simon Josefsson * tests/old-digest-md5.c: Fix self test to handle modified DIGEST-MD5 behaviour. 2010-03-17 Simon Josefsson * tests/scram.c: Also test server goes first. 2010-03-17 Simon Josefsson * tests/digest-md5.c: Also test client-goes-first. 2010-03-17 Simon Josefsson * lib/NEWS, lib/digest-md5/server.c: DIGEST-MD5: The server code now returns GSASL_OK after the final token. 2010-03-17 Simon Josefsson * lib/gs2/server.c: Check mutual in ret_flags. 2010-03-17 Simon Josefsson * tests/gssapi.c: Try both client first and server first. 2010-03-17 Simon Josefsson * tests/gs2-krb5.c: Try both client first and server first. 2010-03-15 Simon Josefsson * doc/announce.txt: Update. 2010-03-15 Simon Josefsson * doc/{ANNOUNCE => announce.txt}: Rename. 2010-03-15 Simon Josefsson * lib/cfg.mk: Drop update-po in lib/. 2010-03-15 Simon Josefsson * cfg.mk, lib/cfg.mk: cfg.mk fixes. 2010-03-15 Simon Josefsson * .gitignore: Add. 2010-03-15 Simon Josefsson * po/LINGUAS, po/fi.po.in, po/fr.po.in, po/id.po.in, po/it.po.in, po/nl.po.in, po/pl.po.in, po/sk.po.in, po/sv.po.in, po/vi.po.in, po/zh_CN.po.in: Sync with TP. 2010-03-15 Simon Josefsson * lib/po/LINGUAS, lib/po/it.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in: Sync with TP. 2010-03-15 Simon Josefsson * .gitignore, NEWS, cfg.mk, lib/NEWS: Forward-port 1.4.x changes. 2010-03-15 Simon Josefsson * lib/NEWS: Add. 2010-03-12 Simon Josefsson * lib/configure.ac, lib/gs2/Makefile.am, lib/gssapi/Makefile.am: Don't pollute CFLAGS/LIBS with GSS-API stuff. 2010-03-12 Simon Josefsson * tests/gs2-krb5.c: Fix typo. 2010-03-12 Simon Josefsson * tests/gs2-krb5.c, tests/gssapi.c: Silently fail GSSAPI/GS2-KRB5 tests if not available. 2010-03-10 Simon Josefsson * .gitignore: Add. 2010-03-10 Simon Josefsson * tests/gssapi.c: Less verbose. 2010-03-10 Simon Josefsson * lib/gs2/server.c: Fix mem leak. 2010-03-10 Simon Josefsson * lib/scram/parser.c, tests/scram.c: SCRAM: (Un)escape username. 2010-03-10 Simon Josefsson * tests/Makefile.am, tests/{gssapi.cfg => shishi.conf}: Silence Shishi warnings. 2010-03-10 Simon Josefsson * tests/gssapi.tkt: Generated. 2010-03-10 Simon Josefsson * lib/scram/parser.c, lib/scram/printer.c, lib/scram/server.c, tests/scram.c: SCRAM: (Un)escape authzid. 2010-03-10 Simon Josefsson * tests/Makefile.am, tests/gs2-krb5.c: Use self tests. 2010-03-10 Simon Josefsson * lib/gssapi/client.c, lib/gssapi/server.c: Fix comment. 2010-03-10 Simon Josefsson * lib/gs2/server.c: Parse GS2 header. Fix authzid handling. Unescape authzid. 2010-03-10 Simon Josefsson * lib/gs2/client.c: Escape authzid. 2010-03-10 Simon Josefsson * tests/gssapi.c: Print return values too. 2010-03-10 Simon Josefsson * tests/scram.c: Print return values too. 2010-03-10 Simon Josefsson * tests/Makefile.am, tests/gssapi.cfg: Use a Shishi config file. 2010-03-10 Simon Josefsson * lib/configure.ac, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/server.c: Improve GSSAPI library detection code. Some systems (e.g., Mac OS X) still doesn't have gssapi.h, only gssapi/gssapi.h. 2010-03-08 Simon Josefsson * lib/gs2/server.c: Add channel binding. Drop more old GSS-API code. 2010-03-08 Simon Josefsson * lib/gs2/server.c: Send token properly. 2010-03-08 Simon Josefsson * lib/gs2/server.c: Drop junk. 2010-03-08 Simon Josefsson * lib/src/error.c: Fix typo. 2010-03-03 Simon Josefsson * lib/NEWS: Fix. 2010-03-03 Simon Josefsson * lib/NEWS: Add. 2010-03-03 Simon Josefsson * lib/configure.ac: Enable GS2 by default. 2010-03-03 Simon Josefsson * lib/gs2/gs2asn1.c, lib/gs2/gs2asn1.h: GS2: Add ASN.1 helpers. 2010-03-03 Simon Josefsson * lib/configure.ac, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2wrap.c, lib/gs2/server.c, lib/gs2/test-parser.c, lib/gssapi/client.c, lib/gssapi/server.c: Simplify GSS-API detection. More GS2 cleanup. 2010-03-03 Simon Josefsson * lib/gs2/client.c: GS2: Remove debug code. The client side should now actually be finished, yay. 2010-03-03 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2parser.c, lib/gs2/gs2parser.h, lib/gs2/server.c: GS2: Channel binding stuff. Cleanup. 2010-03-02 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c: Begin some work on GS2 update. 2010-03-01 Simon Josefsson * lib/src/gsasl.h: Generated. 2010-03-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-02-24 Simon Josefsson * gl/m4/warn-on-use.m4, gltests/gettimeofday.c, lib/gl/m4/warn-on-use.m4: Update gnulib files. 2010-02-23 Simon Josefsson * gl/Makefile.am, gl/m4/gettimeofday.m4, gl/m4/gnulib-common.m4, gl/m4/lseek.m4, gl/m4/sys_time_h.m4, gl/netdb.in.h, gl/stdio.in.h, gl/sys_select.in.h, gl/sys_time.in.h, gltests/init.sh, lib/build-aux/gendocs.sh, lib/build-aux/vc-list-files, lib/gl/m4/gnulib-common.m4, lib/gl/stdio.in.h: Update gnulib files. 2010-02-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-02-16 Simon Josefsson * doc/ANNOUNCE: Add. 2010-02-16 Simon Josefsson * ChangeLog: Generated. 2010-02-16 Simon Josefsson * lib/ChangeLog: Generated. 2010-02-16 Simon Josefsson * tests/symbols.c: Make it work when obsolete symbols are disabled. 2010-02-16 Simon Josefsson * lib/ChangeLog: Generated. 2010-02-16 Simon Josefsson * lib/cfg.mk: Upload to ftp.gnu.org. 2010-02-16 Simon Josefsson * lib/ChangeLog: Generated. 2010-02-16 Simon Josefsson * cfg.mk: Upload to ftp.gnu.org. 2010-02-16 Simon Josefsson * NEWS, lib/NEWS: Version 1.4.1. 2010-02-16 Simon Josefsson * .gitignore: Fix. 2010-02-15 Simon Josefsson * lib/src/gsasl.h: Generate. 2010-02-15 Simon Josefsson * src/internal.h: Fix comment. 2010-02-15 Simon Josefsson * configure.ac, src/internal.h: Revert "Drop pwd.h #include (not used?)." This reverts commit b0df618c4214be57536ebe4a7c87178288f7969a. 2010-02-15 Simon Josefsson * configure.ac, src/internal.h: Drop pwd.h #include (not used?). 2010-02-15 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Change next version to 1.4.1. 2010-02-15 Simon Josefsson * NEWS: Add. 2010-02-15 Simon Josefsson * lib/gs2/Makefile.am, lib/tests/Makefile.am, tests/Makefile.am: Drop EXEEXT for self-tests. 2010-02-15 Simon Josefsson * gl/stdio.in.h, lib/gl/stdio.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-02-05 Simon Josefsson * cfg.mk: Add review-diff rule. 2010-02-05 Simon Josefsson * gl/m4/gettimeofday.m4, gltests/test-gettimeofday.c: Update gnulib files. 2010-02-05 Simon Josefsson * .gitignore: Add. 2010-02-04 Simon Josefsson * lib/digest-md5/Makefile.am: See if dropping EXEEXT helps mingw builds. 2010-02-04 Simon Josefsson * .gitignore: Update. 2010-02-04 Simon Josefsson * tests/Makefile.am, tests/symbols.c: Add self-check for testing that all APIs have been exported. 2010-02-04 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/m4/arpa_inet_h.m4, gl/m4/fcntl_h.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-comp.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/wchar.in.h, gltests/Makefile.am, gltests/fcntl.in.h, gltests/ignore-value.h, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-gettimeofday.c, gltests/test-lstat.c, gltests/test-memchr.c, gltests/test-sockets.c, gltests/test-symlink.c, lib/build-aux/link-warning.h, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-01-21 Simon Josefsson * gl/Makefile.am, gl/error.h, gl/stdio.in.h, gl/striconv.c, gl/vasnprintf.h, gltests/Makefile.am, gltests/fcntl.in.h, lib/gl/Makefile.am, lib/gl/stdio.in.h, lib/gl/vasnprintf.h: Update gnulib files. 2010-01-12 Simon Josefsson * cfg.mk, lib/maint.mk, maint.mk: Improve syntax-check exception stuff. 2010-01-12 Simon Josefsson * gl/m4/gnulib-common.m4, gl/m4/warnings.m4, gl/stdio.in.h, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-common.m4, lib/gl/stdio.in.h: Update gnulib files. 2010-01-12 Simon Josefsson * m4/valgrind.m4: Fix valgrind.m4. 2010-01-12 Simon Josefsson * po/POTFILES.in: Fix. 2010-01-12 Simon Josefsson * .x-sc_avoid_if_before_free, .x-sc_cast_of_alloca_return_value, .x-sc_cast_of_x_alloc_return_value, .x-sc_m4_quote_check, .x-sc_makefile_check, .x-sc_po_check, .x-sc_program_name, .x-sc_prohibit_HAVE_MBRTOWC, .x-sc_prohibit_atoi_atof, .x-sc_prohibit_getopt_without_use, .x-sc_prohibit_magic_number_exit, .x-sc_space_tab, .x-sc_trailing_blank, .x-sc_useless_cpp_parens, cfg.mk, maint.mk: Fix syntax-check stuff. 2010-01-12 Simon Josefsson * NEWS: Add. 2010-01-12 Simon Josefsson * po/de.po.in, po/zh_CN.po.in: Sync with TP. 2010-01-12 Simon Josefsson * lib/po/zh_CN.po.in: Sync with TP. 2010-01-12 Simon Josefsson * gltests/dup2.c: Update gnulib files. 2010-01-12 Simon Josefsson * gl/override/{tests => lib}/dup2.c.diff: Fix dup2 patch. 2010-01-12 Simon Josefsson * gl/m4/visibility.m4, gl/override/m4/visibility.m4.diff, lib/gl/m4/visibility.m4, lib/gl/override/m4/visibility.m4.diff: Add workaround for visibility bug. 2010-01-12 Simon Josefsson * tests/libgsasl.supp: Add. 2010-01-12 Simon Josefsson * tests/Makefile.am, tests/libgsasl.supp: Add libgsasl valgrind suppressions file. 2010-01-12 Simon Josefsson * gl/m4/open.m4, gl/override/m4/open.m4.diff, gl/override/tests/dup2.c.diff, gltests/test-xalloc-die.sh: Update gnulib files. 2010-01-12 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/close-hook.c, gl/close-hook.h, gl/close.c, gl/config.charset, gl/connect.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fclose.c, gl/float+.h, gl/float.in.h, gl/fseeko.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/iconv.in.h, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/dos.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/fclose.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/float_h.m4, gl/m4/fseeko.m4, gl/m4/getaddrinfo.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/gettext.m4, gl/m4/gettimeofday.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nls.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/po.m4, gl/m4/poll.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/stat.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/uintmax_t.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/version-etc.m4, gl/m4/visibility.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wctob.m4, gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio-write.c, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/accept.c, gltests/binary-io.h, gltests/bind.c, gltests/dup2.c, gltests/fcntl.in.h, gltests/gettimeofday.c, gltests/inet_pton.c, gltests/init.sh, gltests/ioctl.c, gltests/listen.c, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/open.c, gltests/pathmax.h, gltests/perror.c, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setsockopt.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-alignof.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fseeko.c, gltests/test-getaddrinfo.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-perror.c, gltests/test-poll.c, gltests/test-quotearg.c, gltests/test-select-fd.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-setenv.c, gltests/test-snprintf.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_ioctl.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wctype.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/time.in.h, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/w32sock.h, gltests/wctob.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/arg-nonnull.h, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/link-warning.h, lib/build-aux/pmccabe2html, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/build-aux/warn-on-use.h, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/m4/00gnulib.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/getpagesize.c, lib/gltests/intprops.h, lib/gltests/macros.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-errno.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strverscmp.c, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-wchar.c, lib/gltests/verify.h, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-01-12 Simon Josefsson * gl/gettext.h, gl/override/lib/gettext.h.diff, lib/gl/override/lib/gettext.h.diff: Fix gettext.h patch. 2010-01-12 Simon Josefsson * gl/override/lib/getpass.c.diff: Fix patch. 2009-12-17 Simon Josefsson * NEWS: Add. 2009-10-14 Enrico Scholz * src/gsasl.c: Improve application data throughput See . Signed-off-by: Simon Josefsson 2009-11-18 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2009-11-18 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-11-18 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/unistd.in.h, gltests/test-xalloc-die.sh, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2009-11-17 Simon Josefsson * ChangeLog: Generated. 2009-11-17 Simon Josefsson * lib/ChangeLog: Generated. 2009-11-17 Simon Josefsson * NEWS, lib/NEWS: Version 1.4.0. 2009-11-17 Simon Josefsson * lib/NEWS: Add. 2009-11-17 Simon Josefsson * NEWS: Add. 2009-11-17 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-11-17 Simon Josefsson * gl/m4/putenv.m4, gltests/putenv.c, gltests/test-setenv.c, gltests/test-unsetenv.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh: Update gnulib files. 2009-11-17 Simon Josefsson * gl/Makefile.am, gl/intprops.h, gl/m4/environ.m4, gl/m4/gnulib-comp.m4, gl/m4/setenv.m4, gl/m4/stdlib_h.m4, gl/m4/unistd_h.m4, gl/printf-args.c, gl/stdlib.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/version-etc.c, gltests/Makefile.am, gltests/setenv.c, gltests/unsetenv.c, lib/gl/Makefile.am, lib/gl/gc-pbkdf2-sha1.c, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/printf-args.c, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gltests/Makefile.am, lib/gltests/intprops.h, lib/gltests/test-base64.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-11-09 Simon Josefsson * gltests/test-fseeko.c: Update gnulib files. 2009-11-06 Simon Josefsson * cfg.mk: Commit cyclo/ www dir too. 2009-11-06 Simon Josefsson * ChangeLog: Generated. 2009-11-06 Simon Josefsson * lib/ChangeLog: Generated. 2009-11-06 Simon Josefsson * NEWS, lib/NEWS: Version 1.3.91. 2009-11-06 Simon Josefsson * doc/gsasl.texi: Fix header. 2009-11-06 Simon Josefsson * .x-sc_prohibit_getopt_without_use, .x-sc_prohibit_magic_number_exit, lib/scram/server.c: Fix syntax-check nits. 2009-11-06 Simon Josefsson * lib/cfg.mk: Prepare for alpha release. 2009-11-06 Simon Josefsson * NEWS: Add. 2009-11-06 Simon Josefsson * doc/cyclo/Makefile.am: Fix paths. 2009-11-06 Simon Josefsson * doc/cyclo/Makefile.am: Update usage. 2009-11-06 Simon Josefsson * gl/Makefile.am, gl/m4/getpagesize.m4, gl/m4/gnulib-comp.m4, lib/build-aux/pmccabe2html, lib/gl/Makefile.am, lib/gl/getpagesize.c, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, {gl => lib/gltests}/getpagesize.c: Update gnulib files. 2009-11-06 Simon Josefsson * lib/win32/libgsasl.vcproj: More fixes. 2009-11-06 Simon Josefsson * lib/win32/libgsasl.vcproj: Further fixes. 2009-11-06 Simon Josefsson * lib/win32/include/config.h, lib/win32/libgsasl.vcproj: Disable obsolete APIs for Windows builds. 2009-11-06 Simon Josefsson * lib/NEWS: Add. 2009-11-06 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-11-06 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/rawmemchr.m4, lib/gl/m4/strchrnul.m4, lib/gl/rawmemchr.c, lib/gl/rawmemchr.valgrind, lib/gl/strchrnul.c, lib/gl/strchrnul.valgrind, lib/gltests/Makefile.am, lib/gltests/test-rawmemchr.c, lib/gltests/test-strchrnul.c: Update gnulib files. 2009-11-06 Simon Josefsson * lib/win32/include/config.h: Add new definitions. Suggested by Lothar May in . 2009-11-06 Simon Josefsson * lib/win32/libgsasl.vcproj: Add more files. Suggested by Lothar May in . 2009-11-06 Simon Josefsson * lib/scram/parser.c: Doc fix. 2009-11-06 Simon Josefsson * ChangeLog: Generated. 2009-11-06 Simon Josefsson * lib/ChangeLog: Generated. 2009-11-06 Simon Josefsson * NEWS, lib/NEWS: Version 1.3.90. 2009-11-06 Simon Josefsson * gl/m4/getaddrinfo.m4, gltests/Makefile.am, lib/maint.mk, maint.mk: Update gnulib files. 2009-11-06 Simon Josefsson * cfg.mk: Prepare for alpha release. 2009-11-05 Simon Josefsson * gl/m4/gnulib-comp.m4: Update gnulib files. 2009-11-05 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2009-11-05 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/stdlib_h.m4, gl/stdlib.in.h, gltests/Makefile.am, gltests/test-getaddrinfo.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-sys_socket.c, lib/gl/Makefile.am, lib/gl/m4/stdlib_h.m4, lib/gl/stdlib.in.h: Update gnulib files. 2009-11-03 Simon Josefsson * .gitignore: Fix. 2009-11-03 Simon Josefsson * .gitignore: Add. 2009-11-03 Simon Josefsson * lib/NEWS: Add. 2009-11-03 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Unconditionally add memxor module, SCRAM needs it. 2009-11-03 Simon Josefsson * lib/configure.ac, lib/gl/m4/gc.m4, lib/gl/override/m4/gc.m4.diff: Fix libgcrypt detection. 2009-11-03 Simon Josefsson * lib/configure.ac: Enable libgcrypt by default when available. 2009-11-02 Simon Josefsson * gl/getopt.c, gl/m4/fseeko.m4, gl/m4/gnulib-comp.m4, gl/m4/pmccabe2html.m4, gl/m4/ungetc.m4, gl/sockets.c, gl/stdio.in.h, gltests/test-arpa_inet.c, gltests/test-getaddrinfo.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-memchr.c, gltests/test-netinet_in.c, gltests/test-quotearg.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-sockets.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-string.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_time.c, gltests/test-unistd.c, gltests/test-version-etc.c, gltests/test-wchar.c, gltests/test-wctype.c, lib/build-aux/pmccabe2html, lib/build-aux/useless-if-before-free, lib/gl/md5.c, lib/gl/sha1.c, lib/gl/stdio.in.h, lib/gltests/test-base64.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-rawmemchr.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-strchrnul.c, lib/gltests/test-string.c, lib/gltests/test-strverscmp.c, lib/gltests/test-unistd.c, lib/gltests/test-wchar.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-10-26 Simon Josefsson * NEWS: Add. 2009-10-26 Simon Josefsson * tests/scram.c: Also test when app provides a GSASL_SCRAM_SALTED_PASSWORD. 2009-10-26 Simon Josefsson * lib/scram/client.c: Fix crash in code when application provides a GSASL_SCRAM_SALTED_PASSWORD. 2009-10-26 Simon Josefsson * lib/NEWS: Add. 2009-10-26 Simon Josefsson * lib/src/init.c: Prefer SCRAM-SHA-1 over CRAM-MD5 and DIGEST-MD5. 2009-10-26 Simon Josefsson * gl/localcharset.c, gl/m4/fcntl_h.m4, gl/m4/gnulib-comp.m4, gl/m4/localcharset.m4: Update gnulib files. 2009-10-12 Simon Josefsson * doc/gsasl.texi: Add concept index nodes for iteration count and salt. 2009-10-12 Simon Josefsson * src/gsasl.c: Drop Windows compatibility stuff, should be taken care of gnulib now. 2009-10-12 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/unistd.in.h, lib/gl/unistd.in.h: Update gnulib files. 2009-10-12 Simon Josefsson * NEWS, lib/NEWS: Add NEWS entries. 2009-10-12 Simon Josefsson * po/LINGUAS, po/fi.po.in, po/vi.po.in: Sync with TP. 2009-10-12 Simon Josefsson * lib/po/LINGUAS, lib/po/fi.po.in, lib/po/vi.po.in: Sync with TP. 2009-10-12 Simon Josefsson * lib/NEWS: Add. 2009-10-12 Simon Josefsson * NEWS: Add. 2009-10-12 Simon Josefsson * lib/configure.ac: Bump libtool version to indicate newly added ABIs. 2009-10-08 Simon Josefsson * lib/configure.ac, lib/src/gsasl.h: Start to use X.Y.Z versioning scheme. 2009-10-08 Simon Josefsson * tests/crypto.c: Test new SHA-1 APIs. 2009-10-08 Simon Josefsson * lib/src/libgsasl.map: Add new APIs to linker script. 2009-10-08 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2009-10-08 Simon Josefsson * lib/build-aux/gendocs.sh: Chmod. 2009-10-08 Simon Josefsson * ChangeLog: Generated. 2009-10-08 Simon Josefsson * lib/ChangeLog: Generated. 2009-10-08 Simon Josefsson * NEWS, lib/NEWS: Version 1.3. 2009-10-08 Simon Josefsson * tests/scram.c: Don't use non-ascii in self-test in case gsasl is built without libidn. 2009-10-08 Simon Josefsson * src/Makefile.am: Fix build error on mingw. 2009-10-08 Simon Josefsson * doc/reference/gsasl-docs.sgml: Update. 2009-10-08 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add new symbols since 1.3 section. 2009-10-08 Simon Josefsson * lib/src/crypto.c: Doc fix. 2009-10-08 Simon Josefsson * Makefile.am: Simplify DISTCHECK_CONFIGURE_FLAGS, scram is now enabled by default. 2009-10-08 Simon Josefsson * NEWS: Add. 2009-10-08 Simon Josefsson * lib/src/init.c: Make SCRAM lowest priority for now. 2009-10-08 Simon Josefsson * doc/gsasl.texi: Fix. 2009-10-08 Simon Josefsson * NEWS: Add. 2009-10-08 Simon Josefsson * lib/configure.ac: Enable SCRAM by default. 2009-10-08 Simon Josefsson * doc/gsasl.texi: Improve, including new SCRAM coverage. 2009-10-08 Simon Josefsson * gl/Makefile.am, gl/getopt.in.h, gl/getopt_int.h, gl/m4/getopt.m4, gl/m4/gnulib-comp.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/progname.c, gl/stdio.in.h, gl/unistd.in.h, gltests/test-getopt.c, gltests/test-getopt_long.h, gltests/test-quotearg.c, lib/gl/Makefile.am, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2009-10-07 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Normalize password using SASLprep. 2009-09-25 Simon Josefsson * gl/Makefile.am, gl/m4/getdelim.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/unistd_h.m4, gl/stdio.in.h, gl/stdlib.in.h, gl/unistd.in.h, gltests/Makefile.am, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memmem.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/memmem.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-memmem.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-09-23 Simon Josefsson * src/gsasl.c: Revert check for empty final token (incorrect change). 2009-09-16 Simon Josefsson * src/callbacks.c: Silence debug warning. 2009-09-16 Simon Josefsson * src/gsasl.c: Don't print empty tokens after success. 2009-09-16 Simon Josefsson * lib/scram/server.c: SCRAM: Store username property in server. 2009-09-16 Simon Josefsson * tests/scram.c: Also check that AUTHID is set and correct in callback. 2009-09-16 Simon Josefsson * .gitignore: Add. 2009-09-16 Simon Josefsson * lib/scram/client.c: SCRAM: Fix memleak. 2009-09-16 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/server.c: SCRAM: Handle non-zero terminated strings. 2009-09-11 Simon Josefsson * lib/scram/validate.c: SCRAM: Drop FIXME, specification changed to not use UTF-8 for nonces. 2009-09-11 Simon Josefsson * lib/scram/parser.c, lib/scram/printer.c: SCRAM: Drop FIXMEs, we solved it differently. 2009-09-11 Simon Josefsson * lib/scram/parser.c, lib/scram/printer.c: SCRAM: Drop FIXMEs, we solved it differently. 2009-09-11 Simon Josefsson * lib/scram/client.c: SCRAM: Cleanup and memory leak fixing. 2009-09-11 Simon Josefsson * lib/scram/server.c: SCRAM: Cleanup and memory leak fixing. 2009-09-11 Simon Josefsson * lib/scram/server.c: SCRAM: Check that username doesn't fail SASLprep (as required). 2009-09-11 Simon Josefsson * Makefile.am: Enable SCRAM-SHA-1 during distcheck testing. 2009-09-11 Simon Josefsson * tests/scram.c: Silence warning. 2009-09-11 Simon Josefsson * gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/poll.m4, gl/m4/readline.m4, gl/m4/select.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/wctype.m4, lib/build-aux/gendocs.sh, lib/gl/m4/getline.m4: Update gnulib files. 2009-09-11 Simon Josefsson * lib/NEWS, lib/configure.ac, lib/scram/mechinfo.c, lib/scram/scram.h, lib/src/init.c: SCRAM: Drop unfinished SCRAM-SHA-1-PLUS support. 2009-09-11 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Check server signature. 2009-09-11 Simon Josefsson * lib/scram/server.c: SCRAM: Generate server signature. 2009-09-11 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Check clientproof on server side. Fix mem leaks. 2009-09-11 Simon Josefsson * tests/scram.c: Use b64 salt. 2009-09-11 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/printer.c: SCRAM: Base64 decode salt. 2009-09-10 Simon Josefsson * doc/Makefile.am, lib/NEWS, lib/scram/client.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: SCRAM: Compute proof. Add property GSASL_SCRAM_SALTED_PASSWORD. 2009-09-10 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, lib/gltests/test-gc-sha1.c: Add SHA-1 gnulib modules. 2009-09-10 Simon Josefsson * lib/NEWS, lib/src/crypto.c, lib/src/gsasl.h: Add SHA-1 APIs. 2009-09-10 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-pbkdf2-sha1.c, lib/gl/hmac-sha1.c, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/sha1.m4, lib/gl/sha1.c, lib/gl/sha1.h, lib/gltests/Makefile.am, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-pbkdf2-sha1.c: Add crypto/gc-pbkdf2-sha1 gnulib module. 2009-09-10 Simon Josefsson * lib/scram/client.c: Check errors. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Compare nonces. 2009-09-10 Simon Josefsson * lib/scram/client.c: SCRAM: Correct cbind in client final. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, tests/scram.c: SCRAM: Print/parse authzid. 2009-09-10 Simon Josefsson * tests/scram.c: Test iter/salt too. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Use printable salt. Fix mem leak 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Use printable nonces. 2009-09-10 Simon Josefsson * lib/scram/server.c: SCRAM: Support iter/salt setting better. 2009-09-10 Simon Josefsson * lib/NEWS, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: SCRAM: Add properties. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c, tests/scram.c: SCRAM: Fix self-test and memory leak. 2009-09-10 Simon Josefsson * tests/scram.c: Improve output. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: SCRAM: Protocol works (but no crypto). 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/printer.c, lib/scram/printer.h, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: SCRAM: Client final sending works (but no crypto). 2009-09-10 Simon Josefsson * lib/scram/client.c: SCRAM: Cleanup. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/server.c: SCRAM: Parsing of server first works. 2009-09-10 Simon Josefsson * lib/scram/Makefile.am, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: SCRAM: Printing server first works. 2009-09-10 Simon Josefsson * lib/scram/server.c: SCRAM: Server can parse client first. 2009-09-10 Simon Josefsson * .gitignore: Add. 2009-09-10 Simon Josefsson * lib/scram/parser.c: Add. 2009-09-10 Simon Josefsson * lib/scram/parser.c: Fix typo. 2009-09-10 Simon Josefsson * .gitignore: Add. 2009-09-10 Simon Josefsson * .gitignore: Drop some things. 2009-09-10 Simon Josefsson * gl/Makefile.am, gl/m4/string_h.m4, gl/m4/unistd_h.m4, gl/m4/wctype.m4, gl/string.in.h, gl/unistd.in.h, gl/wctype.in.h, lib/gl/m4/rawmemchr.m4, lib/gl/m4/strchrnul.m4: Add gnulib strchrnul module. 2009-09-10 Simon Josefsson * lib/gl/rawmemchr.c, lib/gl/rawmemchr.valgrind, lib/gl/strchrnul.c, lib/gl/strchrnul.valgrind: Add gnulib strchrnul module. 2009-09-10 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-rawmemchr.c, lib/gltests/test-strchrnul.c: Add gnulib strchrnul module. 2009-09-10 Simon Josefsson * lib/scram/parser.c: Parse more. 2009-09-10 Simon Josefsson * tests/scram.c: Make it build. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/parser.c, lib/scram/parser.h, lib/scram/server.c: Add skeleton parser. 2009-09-09 Simon Josefsson * .gitignore: Add. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/scram.h, lib/scram/server.c, tests/Makefile.am, tests/scram.c: Improve SCRAM, initial server skeleton and self test. 2009-09-09 Simon Josefsson * lib/scram/client.c: Improve SCRAM, client now sends first token. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/mechinfo.c, lib/scram/scram.h: Improve SCRAM, client now sends first token. 2009-09-09 Simon Josefsson * lib/scram/printer.c: Fixes. 2009-09-09 Simon Josefsson * lib/scram/validate.c: Add check. 2009-09-09 Simon Josefsson * lib/scram/printer.c, lib/scram/printer.h: Add SCRAM printer functionality. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/printer.h, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: Add SCRAM stuff. 2009-09-08 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/scram/Makefile.am, lib/scram/mechinfo.c, lib/scram/scram.h, lib/src/Makefile.am, lib/src/init.c: Add SCRAM skeleton. 2009-09-08 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/scram/Makefile.am, lib/scram/mechinfo.c, lib/scram/scram.h: Add SCRAM skeleton. 2009-09-08 Simon Josefsson * gl/Makefile.am, gl/close.c, gl/iconv_open-solaris.gperf, gl/iconv_open.c, gl/inet_ntop.c, gl/m4/gnulib-comp.m4, gl/m4/iconv_open.m4, gl/m4/stdio_h.m4, gl/m4/string_h.m4, gl/m4/unistd_h.m4, gl/stdio.in.h, gl/string.in.h, gl/unistd.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/inet_pton.c, gltests/test-wctype.c, lib/gl/Makefile.am, lib/gl/m4/stdio_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdio.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2009-08-28 Simon Josefsson * NEWS: Add. 2009-08-28 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/stdlib_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/progname.c, gl/quotearg.c, gl/quotearg.h, gl/stdlib.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/test-quotearg.c, lib/gl/Makefile.am, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stddef.in.h, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gltests/test-stddef.c: Update gnulib files. 2009-08-28 Simon Josefsson * NEWS, THANKS, src/Makefile.am: Fix libintl-related build errors on MinGW. Tiny patch from "carlo.bramix" . 2009-08-20 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/stddef_h.m4, gl/m4/stdio_h.m4, gl/m4/wchar.m4, gl/poll.c, gl/select.c, gl/stddef.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/unistd.in.h, gltests/Makefile.am, gltests/test-stddef.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-string.c, gltests/test-unistd.c, gltests/test-wchar.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-unistd.c, lib/gltests/test-wchar.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-08-14 Simon Josefsson * gl/Makefile.am, gl/fseeko.c, gl/m4/close.m4, gl/m4/fclose.m4, gl/m4/getopt.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/threadlib.m4, gl/m4/unistd_h.m4, gl/socket.c, {gltests => gl}/sockets.c, {gltests => gl}/sockets.h, gl/stdio-write.c, gl/sys_select.in.h, gl/unistd.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/gettimeofday.c, gltests/sys_ioctl.in.h, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-poll.c, gltests/test-select.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-string.c, gltests/test-sys_select.c, gltests/test-unistd.c, gltests/test-version-etc.sh, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/unistd_h.m4, lib/gl/md5.h, lib/gl/stdio-write.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-unistd.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-07-29 Simon Josefsson * README-alpha: Typo. 2009-07-22 Simon Josefsson * gl/Makefile.am, gl/errno.in.h, gl/error.c, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/stdio.in.h, gl/strerror.c, gl/unistd.in.h, gl/version-etc.c, gl/version-etc.h, gltests/Makefile.am, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-string.c, gltests/test-unistd.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/version-etc-fsf.c, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/m4/errno_h.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/memchr.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/md5.h, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-unistd.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-06-23 Simon Josefsson * tests/threadsafety: Add more non-keyword characters. 2009-06-23 Simon Josefsson * tests/threadsafety: Add more non-keyword characters. 2009-06-23 Simon Josefsson * tests/Makefile.am, tests/threadsafety: Fix portability of EGREP usage. 2009-06-23 Simon Josefsson * tests/threadsafety: Ignore more non-keyword characters. 2009-06-23 Simon Josefsson * src/Makefile.am: Build gsasl_cmd without warning/error flags. 2009-06-23 Simon Josefsson * tests/threadsafety: Catch more functions. 2009-06-23 Simon Josefsson * tests/threadsafety: Doc fix. 2009-06-17 Simon Josefsson * doc/gsasl.texi, doc/reference/gsasl-docs.sgml, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Fix typos. Based on report by Marco Maggi in . 2009-06-16 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/memchr.m4, gl/memchr.valgrind, gl/string.in.h, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memchr.m4, lib/gl/memchr.valgrind, lib/gl/string.in.h: Update gnulib files. 2009-06-16 Simon Josefsson * lib/src/error.c, lib/src/version.c: Doc fix. 2009-06-16 Simon Josefsson * tests/crypto.c: Initialize gsasl, to get crypto functions to work. 2009-06-14 Simon Josefsson * tests/threadsafety: Merge in issue 7 functions. 2009-06-14 Simon Josefsson * tests/threadsafety: Make list of functions easier to read. 2009-06-13 Simon Josefsson * tests/crypto.c: Fix. 2009-06-13 Simon Josefsson * tests/simple.c: Test encode/decode. 2009-06-13 Simon Josefsson * NEWS, tests/Makefile.am, tests/crypto.c: Add. 2009-06-13 Simon Josefsson * tests/simple.c: Check gsasl_session_hook_get too. 2009-06-13 Simon Josefsson * NEWS: Add. 2009-06-13 Simon Josefsson * tests/simple.c: Fix warnings. 2009-06-13 Simon Josefsson * tests/old-simple.c: Fix. 2009-06-13 Simon Josefsson * tests/simple.c: Based on old-simple.c, but rewritten using modern APIs. 2009-06-13 Simon Josefsson * tests/Makefile.am, tests/{simple.c => old-simple.c}: Rename obsolete API checks to old-*. 2009-06-13 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-06-13 Simon Josefsson * doc/gsasl.texi: Clarify which tokens GNU SASL generated. Suggested by Marco Maggi in . 2009-06-13 Simon Josefsson * cfg.mk: Fix path. 2009-06-13 Simon Josefsson * ChangeLog: Generated. 2009-06-13 Simon Josefsson * lib/ChangeLog: Generated. 2009-06-13 Simon Josefsson * NEWS, lib/NEWS: Version 1.2. 2009-06-13 Simon Josefsson * gl/Makefile.am, {gltests => gl}/getpagesize.c, gl/m4/gnulib-comp.m4, gl/m4/memchr.m4, gl/m4/string_h.m4, gl/string.in.h, gltests/Makefile.am, lib/gl/Makefile.am, lib/{gltests => gl}/getpagesize.c, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memchr.m4, lib/gl/m4/string_h.m4, lib/gl/string.in.h, lib/gltests/Makefile.am: Update gnulib files. 2009-06-12 Simon Josefsson * tests/Makefile.am: Use $(GREP) instead of grep directly, for non-GNU systems. 2009-06-11 Simon Josefsson * cfg.mk, lib/src/Makefile.am, lib/tests/Makefile.am, src/Makefile.am: Fix syntax-check error. 2009-06-11 Simon Josefsson * doc/gsasl.texi: Fix. 2009-06-11 Simon Josefsson * doc/gsasl.texi: Fix. 2009-06-11 Simon Josefsson * lib/cfg.mk: Fix git-* usage. 2009-06-11 Simon Josefsson * NEWS: Add. 2009-06-11 Simon Josefsson * NEWS: Add. 2009-06-11 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Don't use TAB for info manual. 2009-06-11 Simon Josefsson * README-alpha: Fix whitespace. 2009-06-11 Simon Josefsson * .x-sc_po_check: Fix. 2009-06-11 Simon Josefsson * .x-sc_trailing_blank: Add. 2009-06-11 Simon Josefsson * doc/gsasl.texi: Rewrite manual somewhat to give better introduction to concepts. 2009-06-10 Simon Josefsson * THANKS: Add. 2009-06-10 Simon Josefsson * doc/gsasl.texi, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Drop ctx parameter from client_authenticate function. Suggested by Marco Maggi . 2009-06-10 Simon Josefsson * NEWS: Add. 2009-06-10 Simon Josefsson * src/gsasl.c: Don't write out of bounds on (impossible?) empty reads. Handle NUL in input. 2009-06-10 Enrico Scholz * src/gsasl.c: fix insufficient memory allocation in imap/smtp code There was written 'line[pos + 1]' although only space for 'pos + 1' elements was allocated. Signed-off-by: Enrico Scholz 2009-06-10 Simon Josefsson * lib/src/obsolete.c: Fix typo. 2009-06-09 Simon Josefsson * gl/Makefile.am, gl/m4/getpagesize.m4, gl/m4/gnulib-comp.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/memchr.c, gltests/Makefile.am, gltests/getpagesize.c, gltests/test-alignof.c, gltests/test-memchr.c, gltests/zerosize-ptr.h, lib/gl/Makefile.am, lib/gl/m4/getpagesize.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memchr.m4, lib/gl/m4/mmap-anon.m4, lib/gl/memchr.c, lib/gltests/Makefile.am, lib/gltests/getpagesize.c, lib/gltests/test-memchr.c, lib/gltests/zerosize-ptr.h: Update gnulib files. 2009-06-05 Simon Josefsson * NEWS: Add. 2009-06-05 Simon Josefsson * cfg.mk: Fix. 2009-06-05 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/version-etc.m4, gl/version-etc.c: Update gnulib files. 2009-06-03 Simon Josefsson * gl/alignof.h, gltests/test-alignof.c: Update gnulib files. 2009-06-02 Simon Josefsson * NEWS, doc/gsasl.texi: Doc category fixes. 2009-06-02 Simon Josefsson * doc/gsasl.texi: Fix. 2009-06-02 Simon Josefsson * examples/Makefile.am, src/Makefile.am, tests/Makefile.am: Some code not ready for stack space limit. 2009-06-02 Simon Josefsson * lib/NEWS: Add. 2009-06-02 Simon Josefsson * configure.ac, examples/Makefile.am, lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gs2/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am, lib/tests/Makefile.am, src/Makefile.am, tests/Makefile.am: More warnings. 2009-06-02 Simon Josefsson * lib/src/obsolete.c: Decrease stack usage. 2009-06-02 Simon Josefsson * lib/NEWS, lib/src/obsolete.c: libgsasl: Obsolete gsasl_md5pwd_get_password rewritten to use modern API. 2009-06-02 Simon Josefsson * lib/ntlm/ntlm.c: Reduce stack usage. 2009-06-02 Simon Josefsson * NEWS, cfg.mk, configure.ac, gl/m4/manywarnings.m4, lib/configure.ac: Fix warning flags. 2009-05-29 Simon Josefsson * THANKS: Add. 2009-05-29 Simon Josefsson * lib/README: Fix. 2009-05-29 Simon Josefsson * README, lib/COPYING, lib/COPYING.LIB, lib/NEWS, lib/README: Clarify license in libgsasl. 2009-05-28 Simon Josefsson * .prev-version, lib/.prev-version: Add. 2009-05-28 Simon Josefsson * lib/README: Clarify license. 2009-05-28 Simon Josefsson * README: Point to LGPL license file. 2009-05-28 Simon Josefsson * gl/m4/include_next.m4, gl/m4/size_max.m4, lib/gl/m4/include_next.m4, lib/gl/m4/size_max.m4: Update gnulib files. 2009-05-20 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/m4/sys_socket_h.m4, gl/sys_socket.in.h, gltests/test-sys_socket.c, lib/gl/getdelim.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-05-17 Simon Josefsson * gl/alignof.h, gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/malloca.h, gltests/test-alignof.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-05-12 Simon Josefsson * lib/src/version.c: Doc fix. 2009-05-11 Simon Josefsson * cfg.mk, maint.mk: Fix build-aux for gnulib. 2009-05-11 Simon Josefsson * po/POTFILES.in: Drop gettext.m4. 2009-05-11 Simon Josefsson * m4/pkg.m4: Add. 2009-05-11 Simon Josefsson * m4/gtk-doc.m4: Update gtk-doc m4. 2009-05-11 Simon Josefsson * doc/cyclo/Makefile.am: Fix build-aux paths. 2009-05-11 Simon Josefsson * cfg.mk, gltests/test-vc-list-files-git.sh, lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, lib/maint.mk: Update gnulib files. 2009-05-10 Simon Josefsson * cfg.mk: Fix. 2009-05-10 Simon Josefsson * build-aux/config.rpath, build-aux/link-warning.h, build-aux/useless-if-before-free, build-aux/vc-list-files, configure.ac, gl/Makefile.am, gl/alignof.h, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_socket_h.m4, gl/sys_socket.in.h, gltests/Makefile.am, gltests/malloca.h, gltests/test-sys_socket.c, {build-aux => lib/build-aux}/gendocs.sh, {build-aux => lib/build-aux}/pmccabe.css, {build-aux => lib/build-aux}/pmccabe2html, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4: Update gnulib files. 2009-05-08 Simon Josefsson * cfg.mk: Make it easier to ignore -Werror. 2009-05-07 Simon Josefsson * lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files: Update gnulib files. 2009-05-07 Simon Josefsson * lib/gl/build-aux/config.rpath, lib/gl/build-aux/link-warning.h, lib/gl/build-aux/useless-if-before-free, lib/gl/build-aux/vc-list-files: Update gnulib files. 2009-05-07 Simon Josefsson * README-alpha: Fix. 2009-05-06 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, lib/gltests/test-vc-list-files-cvs.sh, lib/gltests/test-vc-list-files-git.sh: Don't duplicate non-working test. 2009-05-06 Simon Josefsson * gl/Makefile.am, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/multiarch.m4, gl/m4/vasnprintf.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/vasnprintf.m4, maint.mk: Update gnulib files. 2009-05-05 Simon Josefsson * README-alpha: Fix. 2009-05-05 Simon Josefsson * README-alpha: Add. 2009-05-05 Simon Josefsson * src/gsasl.c: Fix warnings when not using TLS. 2009-05-03 Simon Josefsson * src/gsasl.c, src/internal.h: Fix warning. 2009-05-03 Simon Josefsson * gl/Makefile.am, gl/gettext.h, gl/m4/wchar.m4, gl/wchar.in.h, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/wchar.m4, lib/gl/wchar.in.h, maint.mk: Update gnulib files. 2009-04-27 Simon Josefsson * .x-sc_avoid_if_before_free, .x-sc_cast_of_alloca_return_value, .x-sc_cast_of_x_alloc_return_value, .x-sc_file_system, .x-sc_m4_quote_check, .x-sc_makefile_check, .x-sc_po_check, .x-sc_program_name, .x-sc_prohibit_HAVE_MBRTOWC, .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_the_the, .x-sc_trailing_blank, .x-sc_useless_cpp_parens, cfg.mk, configure.ac, doc/gdoc, doc/gsasl-callback-gssapi.texi, doc/reference/gsasl-docs.sgml, doc/texinfo.css, gtk-doc.make, lib/COPYING, lib/Makefile.am, lib/cfg.mk, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/free.c, lib/digest-md5/printer.c, lib/gs2/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/server.c, lib/libgsasl.pc.in, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/ntlm.c, lib/securid/client.c, lib/src/Makefile.am, lib/src/done.c, lib/src/md5pwd.c, lib/src/property.c, lib/src/saslprep.c, lib/src/version.c, lib/src/xstep.c, m4/valgrind.m4, po/POTFILES.in, src/Makefile.am, src/gsasl.c, tests/Makefile.am, tests/cram-md5.c: Fix syntax-check nits. 2009-04-27 Simon Josefsson * build-aux/useless-if-before-free, build-aux/vc-list-files, gl/Makefile.am, gl/getopt1.c, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/vasnprintf.c, gltests/Makefile.am, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/vasnprintf.c, lib/gltests/Makefile.am, lib/gltests/test-vc-list-files-cvs.sh, lib/gltests/test-vc-list-files-git.sh, maint.mk: Update gnulib files. 2009-04-24 Simon Josefsson * doc/gendocs_template, gl/Makefile.am, gl/m4/mbrtowc.m4, gl/m4/wctob.m4, maint.mk: Update gnulib files. 2009-04-14 Simon Josefsson * lib/configure.ac, lib/src/Makefile.am: Fix var name. 2009-04-14 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/ld-output-def.m4, lib/m4/output-def.m4: Update gnulib files. 2009-04-14 Simon Josefsson * po/LINGUAS, po/sk.po.in, po/sv.po.in: Sync with TP. 2009-04-14 Simon Josefsson * lib/po/sk.po.in, lib/po/sv.po.in: Sync with TP. 2009-04-14 Simon Josefsson * build-aux/gendocs.sh, doc/gendocs_template, doc/lgpl-2.1.texi, gl/Makefile.am, gl/m4/inet_ntop.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/ld-version-script.m4, lib/gltests/Makefile.am, maint.mk: Update gnulib files. 2009-04-01 Simon Josefsson * src/internal.h: Make sure NLS is enabled. 2009-03-31 Simon Josefsson * gltests/test-getaddrinfo.c, gltests/test-sockets.c: Update gnulib files. 2009-03-30 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2009-03-30 Simon Josefsson * po/fr.po.in, po/ga.po.in, po/id.po.in, po/nl.po.in, po/pl.po.in, po/zh_CN.po.in: Sync with TP. 2009-03-30 Simon Josefsson * lib/po/ga.po.in, lib/po/id.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/zh_CN.po.in: Sync with TP. 2009-03-30 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2009-03-30 Simon Josefsson * lib/src/gsasl.h: Fix typo. 2009-03-25 Simon Josefsson * ChangeLog: Generated. 2009-03-25 Simon Josefsson * lib/ChangeLog: Generated. 2009-03-25 Simon Josefsson * lib/gltests/Makefile.am: Fixup broken generated paths. 2009-03-25 Simon Josefsson * NEWS, lib/NEWS: Version 1.1. 2009-03-25 Simon Josefsson * lib/NEWS: Add. 2009-03-25 Simon Josefsson * lib/README-alpha: Remove. 2009-03-25 Simon Josefsson * cfg.mk: Copy cyclo chart to webdir. 2009-03-24 Simon Josefsson * lib/NEWS: Fixes. 2009-03-24 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/client.c, lib/digest-md5/server.c, tests/digest-md5.c: DIGEST-MD5: Disable integrity layers by default. 2009-03-24 Simon Josefsson * tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/name.c, tests/old-cram-md5.c, tests/old-digest-md5.c: Make self tests work with --disable-client. 2009-03-24 Simon Josefsson * lib/src/listmech.c: Make sure return string is zero terminated even if there are no mechanisms. 2009-03-24 Simon Josefsson * tests/suggest.c: Make more robust when some client mechanisms are disabled. 2009-03-24 Simon Josefsson * lib/src/suggest.c: Doc fix. 2009-03-24 Simon Josefsson * src/gsasl.c: Mingw fixes. 2009-03-24 Simon Josefsson * gl/override/lib/getpass.c.diff: Add. 2009-03-24 Simon Josefsson * gl/getpass.c: Avoid newline. 2009-03-24 Simon Josefsson * gl/getpass.c: Apply local getpass fix. 2009-03-24 Simon Josefsson * gl/readline.c: Update gnulib files. 2009-03-24 Simon Josefsson * gl/Makefile.am, gl/close-hook.c, gl/close-hook.h, gl/close.c, gl/m4/close.m4, gl/m4/gnulib-comp.m4, gl/unistd.in.h, gltests/Makefile.am, gltests/sockets.c, lib/gl/unistd.in.h: Update gnulib files. 2009-03-23 Simon Josefsson * tests/Makefile.am: Use EXEEXT for Mingw. 2009-03-23 Simon Josefsson * gl/vasnprintf.c, gltests/Makefile.am, gltests/sockets.c, gltests/sockets.h, lib/gl/vasnprintf.c: Update gnulib files. 2009-03-19 Simon Josefsson * gl/override/tests/test-select-in.sh.diff: Add. 2009-03-19 Simon Josefsson * gltests/Makefile.am, gltests/sockets.h, gltests/test-select-in.sh, tests/Makefile.am: Mingw fixes. 2009-03-19 Simon Josefsson * src/Makefile.am: Need -lws2_32 for mingw. 2009-03-19 Simon Josefsson * README-alpha: Reduce. 2009-03-19 Simon Josefsson * README: Fix. 2009-03-19 Simon Josefsson * doc/gsasl.texi: Fix. 2009-03-19 Simon Josefsson * tests/digest-md5.c: Test encode/decode. 2009-03-19 Simon Josefsson * NEWS: Add. 2009-03-19 Simon Josefsson * lib/digest-md5/qop.c, lib/digest-md5/qop.h: Add. 2009-03-19 Simon Josefsson * lib/digest-md5/server.c: Derive session keys properly. 2009-03-19 Simon Josefsson * NEWS, src/gsasl.c: gsasl: Decode data when integrity protected. 2009-03-19 Simon Josefsson * lib/NEWS: Add. 2009-03-19 Simon Josefsson * lib/digest-md5/session.c: Fix integrity decoding. Reported by Andery Melnikov . 2009-03-19 Simon Josefsson * lib/digest-md5/digesthmac.c: Fix computation of Kic. 2009-03-19 Simon Josefsson * NEWS, doc/gsasl.texi, src/callbacks.c, src/gsasl.ggo: Fix gsasl --quality-of-protection flag. 2009-03-19 Simon Josefsson * lib/src/obsolete.c: Fix error. 2009-03-19 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/server.c, lib/src/Makefile.am, lib/src/gsasl.h, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c, lib/src/xfinish.c, tests/digest-md5.c, tests/old-digest-md5.c: Add GSASL_QOP. Make DIGEST-MD5 client support integrity and QOP callback. 2009-03-18 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c, lib/src/xfinish.c, tests/digest-md5.c: Rename GSASL_QOP to GSASL_QOPS as it denotes a set of qops. 2009-03-18 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/m4/gettimeofday.m4, gl/m4/gnulib-comp.m4, gl/m4/quotearg.m4, gl/m4/select.m4, gl/m4/sys_select_h.m4, gl/select.c, gl/sys_select.in.h, gl/xmalloc.c, gltests/Makefile.am, gltests/gettimeofday.c, gltests/test-gettimeofday.c, gltests/test-select-fd.c, gltests/test-select-in.sh, gltests/test-select-out.sh, gltests/test-select-stdin.c, gltests/test-select.c, maint.mk: Update gnulib files. 2009-03-07 Simon Josefsson * THANKS: Add. 2009-03-07 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c, lib/src/xfinish.c, tests/digest-md5.c, tests/old-digest-md5.c: Add GSASL_QOP property. Make DIGEST-MD5 server use it. Update self-tests. 2009-03-07 Simon Josefsson * lib/src/xfinish.c: Free(NULL) works fine on all modern platforms, reportedly. 2009-03-06 Simon Josefsson * lib/NEWS: Fix. 2009-03-04 Simon Josefsson * configure.ac: Don't use GnuTLS unless it has gnutls_priority_set_direct. 2009-03-04 Simon Josefsson * lib/NEWS: Clarify. 2009-03-04 Simon Josefsson * gl/Makefile.am, lib/gl/Makefile.am: Update gnulib files. 2009-03-04 Simon Josefsson * lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/external/Makefile.am, lib/gs2/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am: Add more CFLAG_VISIBILITY. 2009-03-04 Simon Josefsson * lib/NEWS: Add. 2009-03-04 Simon Josefsson * lib/digest-md5/Makefile.am, lib/src/Makefile.am, lib/src/gsasl.h: Use visibility module from gnulib. 2009-03-04 Simon Josefsson * lib/NEWS, lib/src/Makefile.am, lib/src/libgsasl.map: Use a linker version script. 2009-03-04 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/ld-version-script.m4: Import ld-version-script and visibility gnulib modules. 2009-03-04 Simon Josefsson * gl/fseeko.c, gl/gai_strerror.c, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/mbrtowc.m4, gl/m4/printf.m4, gl/m4/stdarg.m4, gl/m4/stdint.m4, gl/m4/stdlib_h.m4, gl/m4/ungetc.m4, gl/m4/vasnprintf.m4, gl/mbrtowc.c, gl/stdint.in.h, gl/sys_socket.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/setsockopt.c, gltests/test-fseeko.c, gltests/test-fseeko2.sh, gltests/test-getaddrinfo.c, lib/gl/m4/gnulib-common.m4, lib/gl/m4/include_next.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/stdint.in.h, lib/gl/vasnprintf.c: Update gnulib files. 2009-02-13 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2009-02-13 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add 1.1 symbols. 2009-02-13 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2009-02-13 Simon Josefsson * lib/src/gsasl.h: Generated. 2009-02-13 Simon Josefsson * lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Add GSASL_VERSION_MAJOR, GSASL_VERSION_MINOR, GSASL_VERSION_PATCH, and GSASL_VERSION_NUMBER. 2009-02-13 Simon Josefsson * lib/m4/update-header-version.m4: Support arbitrary sed expressions. 2009-02-13 Simon Josefsson * gl/Makefile.am, gl/config.charset, gl/localcharset.c, gl/m4/00gnulib.m4, gl/m4/close.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/extensions.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/lcmessage.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/lock.m4, gl/m4/malloca.m4, gl/m4/nls.m4, gl/m4/pmccabe2html.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/setenv.m4, gl/m4/sockets.m4, gl/m4/stdlib_h.m4, gl/m4/threadlib.m4, gl/m4/uintmax_t.m4, gl/m4/visibility.m4, gl/mbrtowc.c, gl/stdlib.in.h, gl/version-etc.c, gltests/Makefile.am, gltests/locale/fr/LC_MESSAGES/test-quotearg.po, gltests/malloca.c, gltests/malloca.h, gltests/malloca.valgrind, gltests/setenv.c, gltests/sockets.h, gltests/test-environ.c, gltests/test-getaddrinfo.c, gltests/test-malloca.c, gltests/test-mbrtowc4.sh, gltests/test-quotearg.c, gltests/test-quotearg.sh, gltests/test-sockets.c, gltests/unsetenv.c, lib/gl/Makefile.am, lib/gl/m4/00gnulib.m4, lib/gl/m4/extensions.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdlib_h.m4, lib/gl/stdlib.in.h, lib/gltests/Makefile.am: Update gnulib files. 2009-02-06 Simon Josefsson * lib/src/gsasl.h: Bump version. 2009-01-23 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2009-01-23 Simon Josefsson * lib/cfg.mk: Use ftp.gnu.org as upload target. 2009-01-23 Simon Josefsson * ChangeLog: Generated. 2009-01-23 Simon Josefsson * lib/ChangeLog: Generated. 2009-01-23 Simon Josefsson * doc/gsasl.texi: Link to autobuild.josefsson.org. 2009-01-23 Simon Josefsson * doc/texinfo.css: Update. 2009-01-23 Simon Josefsson * lib/gltests/Makefile.am: Quick fix to make it build. 2009-01-23 Simon Josefsson * lib/gltests/Makefile.am: Quick fix to make it build. 2009-01-23 Simon Josefsson * NEWS, lib/NEWS: Version 1.0. 2009-01-23 Simon Josefsson * cfg.mk: Upload to ftp.gnu.org. 2009-01-23 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump version to 1.0. 2009-01-23 Simon Josefsson * gtk-doc.make: Update with stable upstream. 2009-01-23 Simon Josefsson * tests/suggest.c: Make it work with --disable-obsolete. 2009-01-23 Simon Josefsson * lib/NEWS: Add. 2009-01-23 Simon Josefsson * NEWS: Add. 2009-01-23 Simon Josefsson * NEWS: Fix. 2009-01-23 Simon Josefsson * gl/version-etc.c, gl/version-etc.h, src/gsasl.c: Use emit_bug_reporting_address from gnulib. 2009-01-23 Simon Josefsson * src/gsasl.c: Emit bug report address more. 2009-01-23 Simon Josefsson * src/gsasl.c: Fix priority setting. 2009-01-23 Simon Josefsson * Makefile.am, README, README-alpha, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/print-errors.c, lib/Makefile.am, lib/NEWS, lib/README, lib/README-alpha, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/m4/output-def.m4, lib/m4/update-header-version.m4, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, m4/valgrind.m4, po/POTFILES.in, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gssapi.c, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/simple.c, tests/suggest.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h: Update copyright years. 2009-01-23 Simon Josefsson * lib/AUTHORS: Update PGP key. 2009-01-23 Simon Josefsson * AUTHORS: Update PGP key. 2009-01-23 Simon Josefsson * NEWS, doc/gsasl.texi, src/gsasl.c, src/gsasl.ggo: Add gsasl --priority parameter. 2009-01-23 Simon Josefsson * doc/reference/gsasl-docs.tmpl, doc/reference/gsasl.types, doc/reference/gtk-doc.make, gtk-doc.make: Update gtk-doc files. 2009-01-23 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/fseeko.c, gl/m4/alloca.m4, gl/m4/codeset.m4, gl/m4/errno_h.m4, gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getpass.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/longlong.m4, gl/m4/malloc.m4, gl/m4/mbrtowc.m4, gl/m4/mbstate_t.m4, gl/m4/multiarch.m4, gl/m4/poll.m4, gl/m4/printf.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/sockets.m4, gl/m4/sockpfaf.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/strdup.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/poll.c, gl/progname.c, gl/stdint.in.h, gl/stdio.in.h, gl/strerror.c, gl/unistd.in.h, gl/wchar.in.h, gltests/ioctl.c, gltests/test-quotearg.c, gltests/test-unistd.c, lib/gl/Makefile.am, lib/gl/m4/alloca.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc.m4, lib/gl/m4/getline.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/minmax.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/test-unistd.c: Update gnulib files. 2009-01-23 Simon Josefsson * doc/Makefile.am: Typo. 2009-01-22 Simon Josefsson * doc/Makefile.am, doc/gdoc: Update gdoc and use gdoc -pkg-name. 2009-01-22 Simon Josefsson * NEWS: Add. 2009-01-22 Simon Josefsson * src/gsasl.c: Add web page links, per new GNU coding standard. 2009-01-07 Simon Josefsson * lib/digest-md5/test-parser.c: Need to initialize gc. 2009-01-07 Simon Josefsson * src/gsasl.c: Make --version print both version numbers if libgsasl and gsasl version differ. 2009-01-07 Simon Josefsson * README, doc/gsasl.texi, doc/reference/gsasl-docs.sgml: Fix GFDL version number. 2009-01-07 Simon Josefsson * build-aux/gendocs.sh, doc/gendocs_template, gl/Makefile.am, gl/config.charset, gl/localcharset.c, gl/localcharset.h, gl/m4/codeset.m4, gl/m4/errno_h.m4, gl/m4/extensions.m4, gl/m4/getaddrinfo.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/inttypes_h.m4, gl/m4/lib-link.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/multiarch.m4, gl/m4/printf.m4, gl/m4/quotearg.m4, gl/m4/size_max.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wctob.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4, gl/mbrtowc.c, gl/mbsinit.c, gl/quotearg.c, gl/ref-add.sin, gl/ref-del.sin, gl/stdint.in.h, gl/stdlib.in.h, gl/streq.h, gl/sys_select.in.h, gl/unistd.in.h, {gltests => gl}/verify.h, gl/version-etc.c, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/test-mbrtowc.c, gltests/test-mbrtowc1.sh, gltests/test-mbrtowc2.sh, gltests/test-mbrtowc3.sh, gltests/test-mbrtowc4.sh, gltests/test-mbsinit.c, gltests/test-mbsinit.sh, gltests/wctob.c, lib/gl/Makefile.am, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/visibility.m4, lib/gl/m4/wchar.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/stdint.in.h, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am: Update gnulib files. 2008-12-11 Simon Josefsson * lib/digest-md5/digesthmac.c: Drop unused macros. 2008-12-11 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/manywarnings.m4: Update gnulib files. 2008-12-11 Simon Josefsson * configure.ac, gl/m4/include_next.m4, gl/m4/warnings.m4, gl/stdint.in.h, gl/sys_time.in.h, lib/gl/m4/include_next.m4, lib/gl/stdint.in.h, maint.mk: Update gnulib files. 2008-11-28 Simon Josefsson * lib/tests/Makefile.am: Need libintl. 2008-11-18 Simon Josefsson * maint.mk: Update gnulib files. 2008-11-18 Simon Josefsson * lib/Makefile.am: Drop obsolete distcheck rules. 2008-11-18 Simon Josefsson * lib/Makefile.am: Move gltests directory last. 2008-11-18 Simon Josefsson * Makefile.am: Re-order build, so that gltests is last. 2008-11-17 Simon Josefsson * configure.ac: Typos. 2008-11-17 Simon Josefsson * gl/override/lib/gettext.h.diff, lib/gl/override/lib/gettext.h.diff: Add gnulib overrides. 2008-11-17 Simon Josefsson * cfg.mk, configure.ac, gl/gettext.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/hostent.m4, gl/m4/servent.m4, gl/m4/sockets.m4, gl/m4/warnings.m4, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/gnulib-cache.m4, m4/valgrind.m4: Update gnulib files. Change warning handling. 2008-11-17 Simon Josefsson * lib/plain/server.c: Fix warnings. 2008-11-17 Simon Josefsson * Makefile.am, gl/m4/getaddrinfo.m4, gl/m4/netdb_h.m4, gl/netdb.in.h, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am: Update gnulib files. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac: Fix warnings. 2008-11-13 Simon Josefsson * tests/simple.c: Silence warning. 2008-11-13 Simon Josefsson * configure.ac, tests/Makefile.am, tests/cram-md5.c, tests/external.c, tests/md5file.c, tests/old-md5file.c, tests/simple.c, tests/utils.h: Fix warnings. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac: Fix warnings. 2008-11-13 Simon Josefsson * configure.ac: Need -Wundef afterall. 2008-11-13 Simon Josefsson * lib/src/obsolete.c: Use HAVE_LIBIDN instead of WITH_SASLPREP. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac: Re-add -Wundef. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Revert. 2008-11-13 Simon Josefsson * lib/src/gsasl-compat.h: Revert but fix warning in another way. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Typo. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Use --deprecated-guard properly. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Add deprecated guard. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/test-parser.c, lib/src/callback.c, lib/src/internal.h, lib/src/property.c: Enable more warnings. Fix warnings. 2008-11-13 Simon Josefsson * lib/src/gsasl-compat.h: Avoid warnings. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac, lib/configure.ac, lib/m4/output-def.m4: Fix warning handling. Use output-def.m4. 2008-11-13 Simon Josefsson * configure.ac: Neatify. 2008-11-12 Simon Josefsson * lib/libgsasl.pc.in: Add URL field. 2008-11-12 Simon Josefsson * examples/Makefile.am: Add WARN_CFLAGS. 2008-11-12 Simon Josefsson * Makefile.am, cfg.mk, configure.ac, gl/Makefile.am, gl/fseeko.c, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/netdb_h.m4, gl/m4/printf.m4, gl/m4/warnings.m4, gl/netdb.in.h, gltests/sockets.h, lib/configure.ac, lib/m4/update-header-version.m4, src/Makefile.am: Update gnulib files. Use shared files for common tests. 2008-11-10 Simon Josefsson * build-aux/pmccabe2html, gl/Makefile.am, gl/m4/sys_ioctl_h.m4: Update gnulib files. 2008-11-04 Simon Josefsson * NEWS: Add. 2008-11-04 Simon Josefsson * doc/Makefile.am, doc/{fdl.texi => fdl-1.3.texi}, doc/gsasl.texi, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Use GFDLv1.3+ for manual. 2008-11-04 Simon Josefsson * gl/m4/include_next.m4, lib/gl/m4/include_next.m4, lib/maint.mk, maint.mk: Update gnulib files. 2008-11-03 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/strdup.m4, lib/gl/stdlib.in.h, lib/gl/strdup.c, lib/gl/unistd.in.h, lib/maint.mk: Update gnulib files. 2008-11-03 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, src/callbacks.c, src/gsasl.c, src/internal.h: Use gnulib xalloc module. 2008-10-30 Simon Josefsson * doc/gsasl.texi: Cleanup pkg-config description. 2008-10-29 Simon Josefsson * cfg.mk, gl/Makefile.am, gl/m4/netdb_h.m4, gl/m4/stdlib_h.m4, gl/m4/sys_socket_h.m4, gl/netdb.in.h, gl/stdlib.in.h, gl/sys_socket.in.h, gl/unistd.in.h, maint.mk: Update gnulib files. 2008-10-29 Simon Josefsson * NEWS: Add. 2008-10-29 Simon Josefsson * doc/gdoc: Sync gdoc with libidn. 2008-10-28 Simon Josefsson * doc/doxygen/Doxyfile.in: Need doxygen.c. 2008-10-28 Simon Josefsson * NEWS, doc/doxygen/Doxyfile.in, doc/doxygen/Doxyfile.orig: Modernize doxygen configuration. 2008-10-28 Simon Josefsson * tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gssapi.c, tests/md5file.c: Use gsasl_free when applicable. 2008-10-28 Simon Josefsson * tests/Makefile.am, tests/suggest.c: Add self-test. 2008-10-28 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-10-28 Simon Josefsson * cfg.mk: Add code coverage rules. 2008-10-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-10-21 Simon Josefsson * cfg.mk: Use system's gnupload. 2008-10-21 Simon Josefsson * ChangeLog: Generated. 2008-10-21 Simon Josefsson * lib/ChangeLog: Generated. 2008-10-21 Simon Josefsson * Makefile.am, lib/Makefile.am: Disable warnings about deprecated stuff. 2008-10-21 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.29. 2008-10-21 Simon Josefsson * cfg.mk, lib/cfg.mk: Split release target. 2008-10-21 Simon Josefsson * doc/cyclo/Makefile.am: Exclude gnulib files from cyclomatic code complexity chart. 2008-10-21 Simon Josefsson * NEWS, build-aux/pmccabe.css, build-aux/pmccabe2html, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/pmccabe2html.m4: Added cyclomatic code complexity charts. 2008-10-21 Simon Josefsson * lib/NEWS: Add. 2008-10-21 Simon Josefsson * NEWS: Add. 2008-10-21 Simon Josefsson * gl/close.c, gl/m4/sys_socket_h.m4, gl/socket.c, gl/sys_socket.in.h, gltests/ioctl.c: Update gnulib files. 2008-10-21 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/unistd.in.h, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-10-21 Simon Josefsson * lib/src/error.c: Make it work with --disable-obsolete. 2008-10-21 Simon Josefsson * tests/old-base64.c: Fix out of range problem in printf. 2008-10-21 Simon Josefsson * gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/ioctl.c, gltests/sys_ioctl.in.h: Update gnulib files. 2008-10-21 Simon Josefsson * gl/Makefile.am, gl/close.c, gl/connect.c, gl/m4/gnulib-comp.m4, gl/override/tests/test-poll.c.diff, gl/recv.c, gl/shutdown.c, gl/socket.c, gltests/ioctl.c => gl/w32sock.h, gl/winsock.c, gltests/Makefile.am, gltests/accept.c, gltests/bind.c, gltests/listen.c, gltests/setsockopt.c, gltests/sys_ioctl.in.h, gltests/test-poll.c, gltests/w32sock.h, gltests/winsock.c: Update gnulib files. 2008-10-20 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/winsock.c, gltests/Makefile.am, gltests/ioctl.c, gltests/winsock.c: Update gnulib files. 2008-10-20 Simon Josefsson * gl/m4/close.m4, gl/m4/gnulib-comp.m4, gltests/Makefile.am: Update gnulib files. 2008-10-20 Simon Josefsson * gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/sys_ioctl.in.h: Update gnulib files. 2008-10-20 Simon Josefsson * lib/tests/Makefile.am: Need -I's for gsasl.h etc. 2008-10-20 Simon Josefsson * doc/Makefile.am: Don't garble gsasl-api-error-labels.texi if print-errors fails. 2008-10-20 Simon Josefsson * doc/Makefile.am: Don't re-generate print-errors unless needed. 2008-10-20 Simon Josefsson * lib/src/error.c: Fix off-by-one error. 2008-10-20 Simon Josefsson * gl/Makefile.am, gl/fclose.c, gl/m4/close.m4, gl/m4/fclose.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Re-enable fclose to work around autoconf problem. 2008-10-20 Simon Josefsson * gl/Makefile.am, {gltests => gl}/close.c, gl/m4/fclose.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/fclose.c: Update gnulib files. 2008-10-20 Simon Josefsson * doc/Makefile.am: Remove gdoc-error. 2008-10-20 Simon Josefsson * src/internal.h: Drop getaddrinfo.h. 2008-10-20 Simon Josefsson * configure.ac, gl/Makefile.am, gl/arpa_inet.in.h, gl/errno.in.h, gl/float.in.h, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/iconv.in.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/netdb_h.m4, gl/m4/stdlib_h.m4, gl/m4/unistd_h.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/stdarg.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/wchar.in.h, gl/wctype.in.h, gltests/test-getaddrinfo.c, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float.in.h, lib/gl/m4/gnulib-common.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, src/internal.h: Update gnulib files. 2008-10-15 Simon Josefsson * gl/Makefile.am, gl/getaddrinfo.c, gl/m4/close.m4, gl/m4/fclose.m4, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/netdb_h.m4, gl/m4/stdio_h.m4, gl/m4/sys_socket_h.m4, gl/netdb.in.h, gl/stdio.in.h, gl/sys_socket.in.h, gl/winsock.c, gltests/Makefile.am, gltests/fclose.c, gltests/test-netdb.c, gltests/test-poll.c, gltests/winsock.c: Update gnulib files. Add netdb.h replacement. 2008-10-15 Simon Josefsson * NEWS, THANKS: Add. 2008-10-15 Simon Josefsson * src/gsasl.c: Don't use POLLOUT, causes essentially busy-waiting. Reported by Enrico Scholz . 2008-10-13 Simon Josefsson * lib/digest-md5/nonascii.c: Fix warnings. 2008-10-13 Simon Josefsson * lib/tests/Makefile.am: Need -I for gettext.h. 2008-10-13 Simon Josefsson * lib/src/gsasl.h, lib/win32/libgsasl.vcproj: Fix MSVC build files. Partially reverts recent changes. Based on discussion with Adam Strzelecki . 2008-10-11 Simon Josefsson * doc/Makefile.am: Need EXEEXT. 2008-10-11 Simon Josefsson * src/callbacks.c: Don't include langinfo.h when it doesn't exist. 2008-10-11 Simon Josefsson * lib/configure.ac: Bump so version for new API. 2008-10-11 Simon Josefsson * lib/NEWS: Add. 2008-10-11 Simon Josefsson * NEWS: Add. 2008-10-11 Simon Josefsson * lib/src/internal.h, lib/src/xfinish.c: Fix mem leak. 2008-10-11 Simon Josefsson * lib/src/xfinish.c: Reduce redundancy. 2008-10-11 Simon Josefsson * doc/Makefile.am: Generated. 2008-10-11 Simon Josefsson * doc/gsasl.texi: Fix. 2008-10-11 Simon Josefsson * doc/Makefile.am, doc/gdoc-error, doc/print-errors.c: Generate gsasl-api-error-labels.texi using C program. 2008-10-11 Simon Josefsson * lib/tests/Makefile.am: Add. 2008-10-11 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/src/Makefile.am, lib/{src => tests}/test-error.c: Move test-error.c out of library source tree. 2008-10-11 Simon Josefsson * doc/reference/gsasl-docs.sgml, lib/NEWS, lib/src/Makefile.am, lib/src/error.c, lib/src/gsasl.h, lib/src/test-error.c, tests/Makefile.am, tests/errors.c: Add gsasl_strerror_name. 2008-10-10 Simon Josefsson * lib/src/callback.c, lib/src/obsolete.c: Move callback mapping to obsolete.c. 2008-10-10 Simon Josefsson * lib/src/property.c: Typo. 2008-10-10 Simon Josefsson * lib/src/obsolete.c, lib/src/property.c: Move callback2property mapping to obsolete.c. 2008-10-10 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix warnings. 2008-10-10 Simon Josefsson * lib/gssapi/Makefile.am: This code doesn't compile with warnings enabled -- GSS-API bufdesc is broken! 2008-10-10 Simon Josefsson * lib/digest-md5/digesthmac.c: Fix warnings. 2008-10-10 Simon Josefsson * NEWS, lib/NEWS: Add. 2008-10-10 Simon Josefsson * tests/Makefile.am, tests/old-base64.c: Add self-test of obsolete base64 functions. 2008-10-10 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/m4/close.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/sys_select.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/winsock.c, gltests/Makefile.am, gltests/close.c, gltests/winsock.c, lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-10-10 Simon Josefsson * lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/minmax.m4, lib/gl/minmax.h, lib/src/obsolete.c: Use internal base64 encoder instead of duplicating it. 2008-10-10 Simon Josefsson * THANKS, lib/NEWS, lib/digest-md5/server.c: DIGEST-MD5 server: Convert latin-1 realm to UTF-8 when needed. Reported by Adam Goode . 2008-10-10 Simon Josefsson * lib/NEWS: Fix. 2008-10-09 Simon Josefsson * lib/securid/client.c: Fix (incorrect) -Werror warning. 2008-10-09 Simon Josefsson * Makefile.am, configure.ac, lib/Makefile.am, lib/anonymous/Makefile.am, lib/configure.ac, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gs2/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am: Do distcheck with -Werror. 2008-10-09 Simon Josefsson * lib/src/gsasl-compat.h: Work around gtk-doc parser bug. 2008-10-09 Simon Josefsson * lib/cfg.mk: Fix mingw32 target. 2008-10-09 Simon Josefsson * lib/win32/include/config.h: Add, derived from gen-win32-headers.pl. 2008-10-09 Simon Josefsson * lib/src/gsasl.h: Map GSASL_API to nothing by default. 2008-10-09 Simon Josefsson * doc/gsasl.texi, lib/Makefile.am, lib/NEWS, lib/src/gsasl.h, lib/win32/include/gen-win32-headers.pl, lib/win32/libgsasl.vcproj: Fix MinGW again. Avoid perl in MSVS. 2008-10-09 Simon Josefsson * lib/src/version.c: Use GSASL_VERSION instead of PACKAGE_VERSION to reduce config.h dependency. 2008-10-07 Simon Josefsson * doc/gsasl.texi: Mention new property. 2008-10-07 Simon Josefsson * tests/digest-md5.c: Ignore GSASL_DIGEST_MD5_HASHED_PASSWORD property callbacks. 2008-10-07 Simon Josefsson * lib/digest-md5/server.c: Try to get hashed password before real password. Patch together with "Gazsó Attila" . 2008-10-07 Simon Josefsson * THANKS, lib/NEWS, lib/digest-md5/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c: Support hashed passwords in DIGEST-MD5 servers. 2008-10-07 Simon Josefsson * lib/cfg.mk: Fix INDENT_SOURCES. 2008-10-07 Simon Josefsson * lib/cfg.mk: Add INDENT_SOURCES. 2008-10-05 Simon Josefsson * gl/Makefile.am, gl/c-ctype.h, gl/errno.in.h, gl/m4/gnulib-comp.m4, gl/m4/sys_select_h.m4, gl/m4/unistd_h.m4, gl/strerror.c, gl/sys_select.in.h, gl/unistd.in.h, gl/winsock-select.c, gl/winsock.c, gltests/Makefile.am, gltests/test-sys_select.c, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-10-02 Simon Josefsson * cfg.mk: Fix mingw build rules. 2008-10-02 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/poll.c, gl/sys_socket.in.h, gl/unistd.in.h, gl/winsock-select.c, gl/winsock.c, gltests/test-poll.c, gltests/test-sys_select.c, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-09-30 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/m4/arpa_inet_h.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/sockets.m4, gl/m4/stdio_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/stdio-write.c, gl/stdio.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/winsock.c, gltests/Makefile.am, gltests/test-sys_select.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/unistd.in.h: Update gnulib files. 2008-09-30 Simon Josefsson * configure.ac, lib/configure.ac: Use AC_CONFIG_MACRO_DIR for modern libtool. 2008-09-26 Simon Josefsson * configure.ac, doc/reference/Makefile.am, gtk-doc.make, lib/configure.ac: Use automake warnings. Upgrade gtk-doc makefiles. 2008-09-26 Simon Josefsson * gsasl.fms: Remove. 2008-09-26 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4: Update gnulib files. 2008-09-26 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_select_h.m4, gl/sys_select.in.h, gl/sys_socket.in.h, gl/winsock-select.c, gltests/test-sys_select.c: Update gnulib files. 2008-09-23 Simon Josefsson * gl/Makefile.am, gl/alloca.c, gl/m4/gnulib-comp.m4, gl/m4/perror.m4, gl/m4/strdup.m4, gl/m4/string_h.m4, gl/m4/sys_socket_h.m4, gl/m4/wchar.m4, gl/poll.c, gl/string.in.h, gl/sys_socket.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, gl/winsock.c, gltests/Makefile.am, gltests/perror.c, gltests/test-perror.c, gltests/test-perror.sh, gltests/test-poll.c, gltests/test-wchar.c, gltests/test-wctype.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/strdup.m4, lib/gl/m4/string_h.m4, lib/gl/m4/wchar.m4, lib/gl/malloc.c, lib/gl/string.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/test-wchar.c: Update gnulib files. 2008-09-17 Simon Josefsson * Makefile.am: Revert CFLAGS, causes ./configure to be run with -Werror which isn't supported. 2008-09-17 Simon Josefsson * README, doc/gsasl.texi, lib/README: Fix license discussions. 2008-09-17 Simon Josefsson * po/ga.po.in: Sync with TP. 2008-09-17 Simon Josefsson * lib/po/LINGUAS, lib/po/id.po.in: Sync with TP. 2008-09-17 Simon Josefsson * lib/gs2/test-parser.c, lib/securid/mechinfo.c, lib/src/gsasl.h, lib/src/mechname.c, lib/src/version.c, tests/external.c: Indent. 2008-09-17 Simon Josefsson * lib/digest-md5/test-parser.c, src/imap.c, src/smtp.c, tests/external.c: Fix warnings. 2008-09-17 Simon Josefsson * Makefile.am: Add dist-check warning flags. 2008-09-17 Simon Josefsson * gl/Makefile.am, gl/errno.in.h, gl/m4/eoverflow.m4, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_pton.m4, gl/m4/sockets.m4, gl/m4/stdio_h.m4, gl/m4/strerror.m4, gl/poll.c, gl/stdio.in.h, gl/strerror.c, gl/sys_socket.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/dummy.c, gltests/inet_pton.c, gltests/{test-EOVERFLOW.c => sockets.c}, lib/gltests/test-EOVERFLOW.c => gltests/sockets.h, gltests/test-errno.c, gltests/test-poll.c, gltests/test-sockets.c, gltests/test-strerror.c, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/m4/eoverflow.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/stdio.in.h, lib/gl/vasnprintf.c, lib/gltests/Makefile.am, lib/gltests/test-errno.c: Update gnulib files. 2008-09-08 Simon Josefsson * tests/Makefile.am: Don't check gnulib getdelim for thread unsafety: it is thread safe. 2008-09-08 Simon Josefsson * build-aux/config.rpath, gl/m4/include_next.m4, lib/build-aux/config.rpath, lib/gl/m4/include_next.m4: Update gnulib files. 2008-09-03 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/float.in.h, gl/iconv.in.h, gl/m4/include_next.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/netinet_in.in.h, gl/stdarg.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, lib/gl/Makefile.am, lib/gl/float.in.h, lib/gl/m4/include_next.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h: Update gnulib files. 2008-08-29 Simon Josefsson * cfg.mk: Fix. 2008-08-29 Simon Josefsson * cfg.mk, lib/Makefile.am, lib/cfg.mk: Fix release target in lib/. 2008-08-29 Simon Josefsson * Makefile.am, cfg.mk: Move release targets. 2008-08-29 Simon Josefsson * lib/GNUmakefile, lib/gl/getdelim.c, lib/gl/m4/getdelim.m4, lib/maint.mk: Update gnulib files. 2008-08-29 Simon Josefsson * GNUmakefile, gl/getdelim.c, gl/m4/getdelim.m4, gl/poll.c, maint.mk: Update gnulib files. 2008-08-27 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-08-22 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/poll.m4, gl/poll.c, gl/poll.in.h: Need poll for mingw32. 2008-08-21 Simon Josefsson * lib/src/version.c: Update gnulib usage. 2008-08-21 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/string.in.h, lib/gl/strverscmp.h, lib/gltests/Makefile.am, lib/gltests/test-strverscmp.c: Update gnulib files. 2008-08-21 Simon Josefsson * gl/Makefile.am, gl/m4/autobuild.m4, gl/m4/string_h.m4, gl/string.in.h: Update gnulib files. 2008-08-20 Simon Josefsson * lib/configure.ac: Fix URLs. 2008-08-20 Simon Josefsson * doc/gsasl.texi: Fix URLs. 2008-08-20 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-08-20 Simon Josefsson * Makefile.am: Don't put archive in www direcory. 2008-08-20 Simon Josefsson * ChangeLog: Generated. 2008-08-20 Simon Josefsson * lib/ChangeLog: Generated. 2008-08-20 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.28. 2008-08-20 Simon Josefsson * configure.ac: No need to check for sys/poll.h and errno.h. 2008-08-20 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/autobuild.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, m4/autobuild.m4: Use autobuild from gnulib. 2008-08-20 Simon Josefsson * tests/name.c: Test NULL usage. 2008-08-20 Simon Josefsson * doc/reference/gsasl-docs.sgml: Link to new APIs in 0.2.28. 2008-08-20 Simon Josefsson * NEWS: Add. 2008-08-20 Simon Josefsson * NEWS, tests/Makefile.am, tests/name.c: Add self-test for gsasl_mechanism_name. 2008-08-20 Simon Josefsson * doc/Makefile.am: Generated. 2008-08-20 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/configure.ac, lib/src/Makefile.am, lib/src/gsasl.h, lib/src/mechname.c, lib/win32/libgsasl.vcproj: Add gsasl_mechanism_name function. 2008-08-20 Simon Josefsson * lib/gl/gc-gnulib.c: Update gnulib files. 2008-08-20 Simon Josefsson * lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2parser.c, lib/gs2/gs2parser.h, lib/gs2/gs2wrap.c, lib/gs2/server.c, lib/gs2/test-parser.c, lib/gssapi/server.c, lib/plain/server.c, src/internal.h, tests/gssapi.c, tests/old-gssapi.c: Indent. 2008-08-20 Simon Josefsson * cfg.mk: Add proper INDENT_SOURCE. 2008-08-20 Simon Josefsson * src/callbacks.c, src/gsasl.c: Indent. 2008-08-20 Simon Josefsson * .clcopying: Update. 2008-08-20 Simon Josefsson * lib/src/internal.h: Use #ifdef HAVE_CONFIG_H instead of #if HAVE_CONFIG_H. 2008-08-20 Simon Josefsson * lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cram-md5/client.c, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/parser.c, lib/digest-md5/printer.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/validate.c, lib/external/client.c, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/client.c, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/login/client.c, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/server.c, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/server.c, src/internal.h: Use #ifdef HAVE_CONFIG_H instead of #if HAVE_CONFIG_H. 2008-08-20 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl-mech.h: Remove duplicate GSASL_API definition. 2008-08-20 Simon Josefsson * doc/reference/Makefile.am: Ignore GSASL_API function decorator. 2008-08-20 Simon Josefsson * NEWS, src/gsasl.c, src/internal.h: Use poll instead of select. 2008-08-20 Simon Josefsson * lib/Makefile.am: Dist unistd.h for win32. 2008-08-20 Simon Josefsson * lib/win32/include/unistd.h: Add. 2008-08-19 Simon Josefsson * README-alpha, lib/README-alpha, lib/autogen.sh: Upgrade README-alpha stuff. 2008-08-19 Simon Josefsson * lib/win32/include/gen-win32-headers.pl: Update license. See discussion in and . 2008-08-19 Simon Josefsson * doc/gsasl.texi, lib/Makefile.am, lib/README.win32: Move Windows instructions into the manual. 2008-08-19 Simon Josefsson * lib/NEWS: Add. 2008-08-19 Simon Josefsson * lib/Makefile.am: Dist win32 files. 2008-08-19 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h: Indent. 2008-08-19 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h: Add Visual Studio patches. From Adam Strzelecki . 2008-08-19 Simon Josefsson * lib/README.win32, lib/win32/include/ac-stdint.h, lib/win32/include/alloca.h, lib/win32/include/gen-win32-headers.pl, lib/win32/include/idn-int.h, lib/win32/include/stdbool.h, lib/win32/include/stdint.h, lib/win32/libgsasl.sln, lib/win32/libgsasl.vcproj: Add Visual Studio patches. From Adam Strzelecki . 2008-08-19 Simon Josefsson * lib/NEWS: Add. 2008-08-19 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/m4/lock.m4: Update gnulib files. 2008-08-06 Simon Josefsson * GNUmakefile, lib/GNUmakefile: Update gnulib files. 2008-08-04 Simon Josefsson * GNUmakefile, gl/m4/gnulib-comp.m4, gl/vasnprintf.c, lib/GNUmakefile, lib/gl/m4/gnulib-comp.m4, lib/gl/vasnprintf.c: Update gnulib files. 2008-07-02 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-07-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-07-01 Simon Josefsson * Makefile.am: Reorder release target. 2008-07-01 Simon Josefsson * lib/Makefile.am: No need to git-push here. 2008-07-01 Simon Josefsson * ChangeLog: Generated. 2008-07-01 Simon Josefsson * lib/ChangeLog: Generated. 2008-07-01 Simon Josefsson * Makefile.am, lib/Makefile.am: Reorder release target. 2008-07-01 Simon Josefsson * lib/ChangeLog: Generated. 2008-07-01 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.27. 2008-07-01 Simon Josefsson * Makefile.am, lib/Makefile.am: Improve release target. 2008-07-01 Simon Josefsson * src/callbacks.c: Fix nl_langinfo error. 2008-07-01 Simon Josefsson * Makefile.am, configure.ac, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, {gl/tests => gltests}/Makefile.am, {gl/tests => gltests}/dummy.c, {gl/tests => gltests}/test-EOVERFLOW.c, {gl/tests => gltests}/test-alloca-opt.c, {gl/tests => gltests}/test-arpa_inet.c, {gl/tests => gltests}/test-c-ctype.c, {gl/tests => gltests}/test-c-strcase.sh, {gl/tests => gltests}/test-c-strcasecmp.c, {gl/tests => gltests}/test-c-strncasecmp.c, {gl/tests => gltests}/test-fseeko.c, {gl/tests => gltests}/test-fseeko.sh, {gl/tests => gltests}/test-getaddrinfo.c, {gl/tests => gltests}/test-getdelim.c, {gl/tests => gltests}/test-getline.c, {gl/tests => gltests}/test-iconv.c, {gl/tests => gltests}/test-lseek.c, {gl/tests => gltests}/test-lseek.sh, {gl/tests => gltests}/test-netinet_in.c, {gl/tests => gltests}/test-quotearg.c, {gl/tests => gltests}/test-snprintf.c, {gl/tests => gltests}/test-stdbool.c, {gl/tests => gltests}/test-stdint.c, {gl/tests => gltests}/test-stdio.c, {gl/tests => gltests}/test-stdlib.c, {gl/tests => gltests}/test-strerror.c, {gl/tests => gltests}/test-striconv.c, {gl/tests => gltests}/test-string.c, {gl/tests => gltests}/test-sys_select.c, {gl/tests => gltests}/test-sys_socket.c, {gl/tests => gltests}/test-sys_time.c, {gl/tests => gltests}/test-unistd.c, {gl/tests => gltests}/test-vasnprintf.c, {gl/tests => gltests}/test-wchar.c, {gl/tests => gltests}/test-wctype.c, {gl/tests => gltests}/verify.h, lib/Makefile.am, lib/configure.ac, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/{gl/tests => gltests}/Makefile.am, lib/{gl/tests => gltests}/dummy.c, lib/{gl/tests => gltests}/intprops.h, lib/{gl/tests => gltests}/test-EOVERFLOW.c, lib/{gl/tests => gltests}/test-alloca-opt.c, lib/{gl/tests => gltests}/test-base64.c, lib/{gl/tests => gltests}/test-gc-hmac-md5.c, lib/{gl/tests => gltests}/test-gc-md5.c, lib/{gl/tests => gltests}/test-gc.c, lib/{gl/tests => gltests}/test-getdelim.c, lib/{gl/tests => gltests}/test-getline.c, lib/{gl/tests => gltests}/test-stdbool.c, lib/{gl/tests => gltests}/test-stdint.c, lib/{gl/tests => gltests}/test-stdio.c, lib/{gl/tests => gltests}/test-stdlib.c, lib/{gl/tests => gltests}/test-string.c, lib/{gl/tests => gltests}/test-unistd.c, lib/{gl/tests => gltests}/test-vasnprintf.c, lib/{gl/tests => gltests}/test-vasprintf.c, lib/{gl/tests => gltests}/test-wchar.c, lib/{gl/tests => gltests}/verify.h: Move gnulib self-tests from */gl/tests to */gltests. 2008-07-01 Simon Josefsson * lib/Makefile.am, lib/configure.ac: Fix paths. 2008-07-01 Simon Josefsson * NEWS, lib/NEWS: Update translations. 2008-07-01 Simon Josefsson * lib/cfg.mk: Fix PACKAGE. 2008-07-01 Simon Josefsson * lib/po/LINGUAS, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in: Sync with TP. 2008-07-01 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2008-07-01 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2008-07-01 Simon Josefsson * lib/cfg.mk: Set PACKAGE for update-po. 2008-07-01 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2008-07-01 Simon Josefsson * lib/gl/tests/dummy.c, lib/gl/tests/intprops.h, lib/gl/tests/test-EOVERFLOW.c, lib/gl/tests/test-alloca-opt.c, lib/gl/tests/test-base64.c, lib/gl/tests/test-getdelim.c, lib/gl/tests/test-getline.c, lib/gl/tests/test-stdbool.c, lib/gl/tests/test-stdint.c, lib/gl/tests/test-stdio.c, lib/gl/tests/test-stdlib.c, lib/gl/tests/test-string.c, lib/gl/tests/test-unistd.c, lib/gl/tests/test-vasnprintf.c, lib/gl/tests/test-vasprintf.c, lib/gl/tests/test-wchar.c, lib/gl/tests/verify.h: Update gnulib files, and include gnulib self-tests. 2008-07-01 Simon Josefsson * lib/GNUmakefile, lib/NEWS, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/lock.m4, lib/gl/m4/stdio_h.m4, lib/gl/stdio.in.h, lib/gl/tests/Makefile.am, lib/{ => gl}/tests/test-gc-hmac-md5.c, lib/{ => gl}/tests/test-gc-md5.c, lib/{ => gl}/tests/test-gc.c, lib/tests/Makefile.am: Update gnulib files, and include gnulib self-tests. 2008-07-01 Simon Josefsson * GNUmakefile, NEWS, doc/gendocs_template, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/locale-fr.m4, gl/m4/locale-tr.m4, gl/m4/stdio_h.m4, gl/override/doc/gendocs_template.diff, gl/stdio.in.h, gl/tests/Makefile.am, gl/tests/dummy.c, gl/tests/test-EOVERFLOW.c, gl/tests/test-alloca-opt.c, gl/tests/test-arpa_inet.c, gl/tests/test-c-ctype.c, gl/tests/test-c-strcase.sh, gl/tests/test-c-strcasecmp.c, gl/tests/test-c-strncasecmp.c, gl/tests/test-fseeko.c, gl/tests/test-fseeko.sh, gl/tests/test-getaddrinfo.c, gl/tests/test-getdelim.c, gl/tests/test-getline.c, gl/tests/test-iconv.c, gl/tests/test-lseek.c, gl/tests/test-lseek.sh, gl/tests/test-netinet_in.c, gl/tests/test-quotearg.c, gl/tests/test-snprintf.c, gl/tests/test-stdbool.c, gl/tests/test-stdint.c, gl/tests/test-stdio.c, gl/tests/test-stdlib.c, gl/tests/test-strerror.c, gl/tests/test-striconv.c, gl/tests/test-string.c, gl/tests/test-sys_select.c, gl/tests/test-sys_socket.c, gl/tests/test-sys_time.c, gl/tests/test-unistd.c, gl/tests/test-vasnprintf.c, gl/tests/test-wchar.c, gl/tests/test-wctype.c, gl/tests/verify.h: Update gnulib files, and include gnulib self-tests. 2008-07-01 Simon Josefsson * lib/po/LINGUAS, lib/po/de.po.in, lib/po/eu.po.in, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/id.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sq.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in, lib/po/zh_TW.po.in: Sync with TP. 2008-07-01 Simon Josefsson * NEWS: Add. 2008-06-21 Enrico Scholz * src/gsasl.c: Fix SASL operations through TLS SASL operations through TLS do not work as the custom 'writeln()' operation would skip the gnutls_record_send() call unconditionally ('len' is initialized to 0 and won't be modified). This patch initializes 'len' with the length of the string and reuses this value in the following send/write calls. Signed-off-by: Enrico Scholz 2008-06-04 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-06-04 Simon Josefsson * po/nl.po.in, po/pl.po.in, po/vi.po.in, po/zh_CN.po.in: Sync with TP. 2008-06-04 Simon Josefsson * lib/po/LINGUAS, lib/po/nl.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in: Sync with TP. 2008-06-04 Simon Josefsson * gl/stdbool.in.h, gl/stdio-impl.h, gl/vasnprintf.c, gl/xalloc.h, lib/gl/stdbool.in.h, lib/gl/vasnprintf.c, lib/maint.mk, maint.mk: Update gnulib files. 2008-06-04 Simon Josefsson * lib/NEWS, lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/server.c: DIGEST-MD5: Fix undefined symbol "utf8tolatin1ifpossible". Reported by Martin Lambers . 2008-05-20 Simon Josefsson * gl/getaddrinfo.h, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/wctype.m4, gl/vasnprintf.c, gl/xalloc.h, gl/xmalloc.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/vasnprintf.c: Update gnulib files. 2008-05-05 Simon Josefsson * lib/Makefile.am: Dist more. 2008-05-05 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-05-05 Simon Josefsson * ChangeLog: Generated. 2008-05-05 Simon Josefsson * lib/ChangeLog: Generated. 2008-05-05 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.26. 2008-05-05 Simon Josefsson * lib/Makefile.am: Fix .cvscopying filename. 2008-05-05 Simon Josefsson * .cvscopying => .clcopying, Makefile.am: Dist more, fix .cvscopying filename. 2008-05-05 Simon Josefsson * NEWS: Add. 2008-05-05 Simon Josefsson * doc/reference/Makefile.am: Fix warnings about missing --deprecated-guards. 2008-05-05 Simon Josefsson * doc/Makefile.am: Cosmetic fix. 2008-05-05 Simon Josefsson * doc/gdoc: Fix to avoid warnings about GSASL_VALID_MECHANISM_CHARACTERS definition. 2008-05-05 Simon Josefsson * doc/Makefile.am: Split up manpage/texinfos to one per line, to simplify diff review. 2008-05-05 Simon Josefsson * build-aux/gendocs.sh, gl/Makefile.am, gl/arpa_inet.in.h, gl/fseeko.c, gl/getaddrinfo.c, gl/inet_ntop.c, gl/inet_ntop.h, gl/m4/arpa_inet_h.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_socket_h.m4, gl/stdio-impl.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_socket.in.h, lib/gl/Makefile.am, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/stdlib.in.h, lib/gl/string.in.h: Update gnulib files. 2008-05-05 Simon Josefsson * THANKS, lib/NEWS, lib/digest-md5/server.c: Fix ISO-8859-1 to UTF-8 conversion code. Tiny patch from Pawel Widera . 2008-04-23 Simon Josefsson * lib/po/LINGUAS, lib/po/fr.po.in, lib/po/sk.po.in: Sync with TP. 2008-04-23 Simon Josefsson * Makefile.am, NEWS, cfg.mk, lib/Makefile.am, lib/NEWS, lib/cfg.mk, lib/po/Makevars, lib/po/{fr.po => fr.po.in}, lib/po/{ga.po => ga.po.in}, lib/po/{nl.po => nl.po.in}, lib/po/{pl.po => pl.po.in}, lib/po/{ro.po => ro.po.in}, lib/po/{sr.po => sr.po.in}, lib/po/{sv.po => sv.po.in}, lib/po/{vi.po => vi.po.in}, po/Makevars, po/{de.po => de.po.in}, po/{eu.po => eu.po.in}, po/{fr.po => fr.po.in}, po/{ga.po => ga.po.in}, po/{id.po => id.po.in}, po/{nl.po => nl.po.in}, po/{pl.po => pl.po.in}, po/{ro.po => ro.po.in}, po/{sq.po => sq.po.in}, po/{sr.po => sr.po.in}, po/{sv.po => sv.po.in}, po/{vi.po => vi.po.in}, po/{zh_CN.po => zh_CN.po.in}, po/{zh_TW.po => zh_TW.po.in}: Avoid *.po merge conflicts and --no-location. 2008-04-23 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/fseeko.c, gl/m4/arpa_inet_h.m4, gl/m4/extensions.m4, gl/m4/getopt.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/mbstate_t.m4, gl/m4/netinet_in_h.m4, gl/m4/printf.m4, gl/m4/snprintf.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/strerror.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/wctype.m4, gl/sys_socket.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, lib/gl/gc-gnulib.c, lib/gl/m4/extensions.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/vasnprintf.c, lib/gl/wchar.in.h: Update gnulib files. 2008-04-11 Simon Josefsson * AUTHORS: Add. 2008-04-11 Simon Josefsson * THANKS: Add, reporting the DIGEST-MD5 problem. 2008-04-11 Simon Josefsson * lib/NEWS, lib/digest-md5/client.c: DIGEST-MD5 client: convert password from UTF-8 to ISO-8859-1 before hash. For compatibility with server. 2008-04-11 Simon Josefsson * tests/digest-md5.c: Test non-ASCII username/password. 2008-04-11 Simon Josefsson * lib/src/gsasl.h: Generated. 2008-04-11 Simon Josefsson * lib/NEWS, lib/digest-md5/server.c, lib/digest-md5/validate.c, tests/digest-md5.c: DIGEST-MD5 server: don't reject authentication if client doesn't use utf-8. Before, authentication from all non-UTF-8 clients were simply rejected. When this situation occurs now, the username is translated into UTF-8 before being passed on to applications. Further, the password retrieved from the application is converted from UTF-8 to ISO-8859-1 if that is possible. Reported by marty in .See also and . 2008-04-11 Simon Josefsson * doc/gsasl.texi: Add native Windows build notes, based on libidn. 2008-04-11 Simon Josefsson * lib/gl/gc-gnulib.c: Update gnulib files. 2008-04-10 Simon Josefsson * GNUmakefile, gl/fseeko.c, gl/m4/include_next.m4, gl/m4/stdint.m4, lib/GNUmakefile, lib/gl/m4/gc-random.m4, lib/gl/m4/include_next.m4, lib/gl/m4/stdint.m4: Update gnulib files. 2008-04-01 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/m4/gnulib-comp.m4, gl/m4/stdlib_h.m4, gl/m4/vasnprintf.m4, gl/snprintf.c, gl/stdlib.in.h, gl/vasnprintf.c, gl/wchar.in.h, lib/gl/Makefile.am, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/stdlib.in.h, lib/gl/vasnprintf.c, lib/gl/vasprintf.c, lib/gl/wchar.in.h: Update gnulib files. 2008-03-25 Simon Josefsson * GNUmakefile, build-aux/GNUmakefile, maint-cfg.mk => cfg.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/GNUmakefile, lib/build-aux/GNUmakefile, lib/{maint-cfg.mk => cfg.mk}, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, {build-aux => lib}/maint.mk, lib/build-aux/maint.mk => maint.mk: Update gnulib files. 2008-03-19 Simon Josefsson * doc/reference/Makefile.am, doc/reference/tmpl/gsasl-unused.sgml, gtk-doc.make: Update GTK-DOC build system. 2008-03-19 Simon Josefsson * doc/gendocs_template, gl/override/doc/gendocs_template, gl/override/doc/gendocs_template.diff: Use a patch for our gendocs changes. 2008-03-18 Simon Josefsson * gl/Makefile.am, gl/m4/absolute-header.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/lib-link.m4, gl/m4/stdarg.m4, gl/stdarg.in.h, lib/gl/Makefile.am, lib/gl/m4/absolute-header.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/include_next.m4, lib/gl/m4/lib-link.m4: Update gnulib files. 2008-03-10 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump version. 2008-03-10 Simon Josefsson * ChangeLog: Generated. 2008-03-10 Simon Josefsson * lib/ChangeLog: Generated. 2008-03-10 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.25. 2008-03-10 Simon Josefsson * lib/NEWS: Add. 2008-03-10 Simon Josefsson * lib/src/base64.c, lib/src/callback.c, lib/src/init.c, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/version.c, lib/src/xcode.c, lib/src/xstart.c: Doc fixes. 2008-03-10 Simon Josefsson * build-aux/gendocs.sh, gl/alloca.in.h, gl/getaddrinfo.c, gl/getdelim.c, gl/getopt.c, gl/m4/fseeko.m4, gl/xsize.h, lib/gl/alloca.in.h, lib/gl/gc-gnulib.c, lib/gl/getdelim.c, lib/gl/xsize.h: Update gnulib files. 2008-03-03 Simon Josefsson * NEWS, THANKS, src/gsasl.c: Make stdout line buffered, to avoid buffering problems. Reported by Enrico Scholz , see . 2008-02-25 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-02-25 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/quotearg.c, gl/quotearg.h, gl/unistd.in.h: Update gnulib files. 2008-02-13 Simon Josefsson * gl/m4/vasnprintf.m4, gl/vasnprintf.c, lib/gl/m4/md5.m4, lib/gl/m4/vasnprintf.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/vasnprintf.c: Update gnulib files. 2008-02-06 Simon Josefsson * lib/NEWS: Add. 2008-02-06 Simon Josefsson * NEWS: Add. 2008-02-06 Simon Josefsson * GNUmakefile, Makefile.am, lib/GNUmakefile, lib/Makefile.am, lib/maint-cfg.mk, maint-cfg.mk: Brace expansion is not POSIX portable. 2008-01-19 Simon Josefsson * gl/m4/sys_time_h.m4, gl/sys_time.in.h: Add gnulib modules for sys/time.h and netinet/in.h and use them. 2008-01-19 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, src/internal.h: Add gnulib modules for sys/time.h and netinet/in.h and use them. 2008-01-19 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump version. 2008-01-19 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-libgcrypt.c, lib/gl/m4/string_h.m4, lib/gl/stdio.in.h, lib/gl/string.in.h, lib/gl/vasnprintf.h: Update gnulib files. 2008-01-19 Simon Josefsson * build-aux/gendocs.sh, gl/Makefile.am, gl/error.h, gl/m4/string_h.m4, gl/stdio.in.h, gl/string.in.h, gl/vasnprintf.h, gl/xalloc.h: Update gnulib files. 2008-01-15 Simon Josefsson * ChangeLog: Generated. 2008-01-15 Simon Josefsson * lib/ChangeLog: Generated. 2008-01-15 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.24. 2008-01-15 Simon Josefsson * lib/src/Makefile.am: Typo. 2008-01-15 Simon Josefsson * lib/NEWS: Add. 2008-01-15 Simon Josefsson * lib/configure.ac, lib/src/Makefile.am: Create libgsasl-XX.def if possible, for MinGW. 2008-01-15 Simon Josefsson * lib/NEWS: Add. 2008-01-15 Simon Josefsson * lib/gl/gc-libgcrypt.c: Disable secmem. 2008-01-15 Simon Josefsson * NEWS: Add. 2008-01-15 Simon Josefsson * tests/Makefile.am: Need gnulib. 2008-01-15 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2008-01-15 Simon Josefsson * ChangeLog: Generated. 2008-01-15 Simon Josefsson * lib/ChangeLog: Generated. 2008-01-15 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.23. 2008-01-15 Simon Josefsson * lib/NEWS: Mention that entry fixes a security problem. 2008-01-15 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2008-01-15 Simon Josefsson * configure.ac: Need tarname in AC_INIT. 2008-01-15 Simon Josefsson * doc/gsasl.texi: Update copyright years. 2008-01-15 Simon Josefsson * NEWS, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/stdarg.m4, gl/version-etc.c, gl/version-etc.h, src/Makefile.am, src/gsasl.c, src/internal.h: Use gnulib version-etc module for --version. Fix --help. 2008-01-15 Simon Josefsson * configure.ac: Use nicer AC_INIT package name string. 2008-01-15 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-01-15 Simon Josefsson * NEWS, THANKS, lib/NEWS, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/server.c, tests/cram-md5.c: For CRAM-MD5, check gc_nonce return code to make sure challenge is fresh. Reported by "Daniel Armyr" . 2008-01-15 Simon Josefsson * lib/build-aux/config.rpath, lib/gl/Makefile.am, lib/gl/m4/alloca.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/printf-parse.c, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h: Update gnulib files. 2008-01-15 Simon Josefsson * build-aux/config.rpath, gl/Makefile.am, gl/m4/alloca.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/unistd_h.m4, gl/printf-parse.c, gl/progname.c, gl/stdlib.in.h, gl/string.in.h, gl/unistd.in.h: Update gnulib files. 2008-01-15 Simon Josefsson * GNUmakefile, maint-cfg.mk: Re-apply config.rpath hack. 2007-12-19 Simon Josefsson * gl/float.in.h, gl/fseeko.c, gl/m4/float_h.m4, gl/m4/gnulib-comp.m4, gl/stdint.in.h, lib/gl/float.in.h, lib/gl/m4/float_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/stdint.in.h: Update gnulib files. 2007-12-19 Simon Josefsson * doc/specification/draft-newman-auth-scram-05.txt: Add. 2007-12-11 Simon Josefsson * lib/digest-md5/server.c: Add FIXME about utf8/iso8859-1. 2007-12-11 Simon Josefsson * GNUmakefile, maint-cfg.mk: Remove config.rpath hack. 2007-12-11 Simon Josefsson * build-aux/gendocs.sh, doc/fdl.texi, doc/gpl-3.0.texi, gl/Makefile.am, gl/alloca.in.h, gl/asnprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/float+.h, gl/fseeko.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getdelim.c, gl/getline.c, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.in.h, gl/iconv_open.c, gl/inet_ntop.c, gl/inet_ntop.h, gl/lseek.c, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/intmax_t.m4, gl/m4/lib-link.m4, gl/m4/longlong.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/ulonglong.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wint_t.m4, gl/malloc.c, gl/netinet_in.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/realloc.c, gl/size_max.h, gl/snprintf.c, gl/stdbool.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/wchar.in.h, gl/wctype.in.h, gl/xsize.h, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wint_t.m4, lib/gl/printf-parse.c, lib/gl/realloc.c, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c: Update gnulib files. 2007-12-11 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Use gettext 0.17. 2007-11-26 Simon Josefsson * doc/specification/draft-zeilenga-sasl-yap-02.txt: Add. 2007-11-17 Simon Josefsson * doc/specification/rfc5056.txt: Add. 2007-10-29 Simon Josefsson * lib/gs2/client.c: WIP. 2007-10-29 Simon Josefsson * lib/gs2/gs2parser.c, lib/gs2/gs2parser.h, lib/gs2/test-parser.c: Update parser for -09. 2007-10-29 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-10-29 Simon Josefsson * lib/build-aux/maint.mk, lib/gl/Makefile.am, lib/gl/float.in.h, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/longlong.m4, lib/gl/m4/ulonglong.m4, lib/gl/printf-parse.c, lib/gl/realloc.c, lib/gl/stdbool.in.h, lib/gl/stdint.in.h, lib/gl/stdlib.in.h, lib/gl/vasnprintf.c: Update gnulib files. 2007-10-29 Simon Josefsson * build-aux/maint.mk, gl/Makefile.am, gl/iconv.in.h, gl/iconv_open.c, gl/m4/getaddrinfo.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/longlong.m4, gl/m4/ulonglong.m4, gl/printf-parse.c, gl/stdbool.in.h, gl/stdint.in.h, gl/strerror.c, gl/vasnprintf.c: Update gnulib files. 2007-10-13 Simon Josefsson * lib/gl/string.in.h: Update gnulib files. 2007-10-13 Simon Josefsson * gl/Makefile.am, gl/intprops.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/strerror.m4, gl/strerror.c, gl/string.in.h: Update gnulib files. 2007-10-08 Simon Josefsson * NEWS, lib/NEWS, lib/src/gsasl.h: Version 0.2.22. 2007-10-08 Simon Josefsson * Makefile.am: Fix release target. 2007-10-08 Simon Josefsson * NEWS: Add. 2007-10-08 Simon Josefsson * gl/Makefile.am, gl/{alloca_.h => alloca.in.h}, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/{float_.h => float.in.h}, gl/fseeko.c, gl/getopt.c, gl/{getopt_.h => getopt.in.h}, gl/getopt1.c, gl/getopt_int.h, gl/{iconv_.h => iconv.in.h}, gl/m4/extensions.m4, gl/m4/getaddrinfo.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/malloc.m4, gl/m4/realloc.m4, gl/m4/socklen.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/malloc.c, gl/{netinet_in_.h => netinet_in.in.h}, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/{stdbool_.h => stdbool.in.h}, gl/{stdint_.h => stdint.in.h}, gl/{stdio_.h => stdio.in.h}, gl/{stdlib_.h => stdlib.in.h}, gl/strerror.c, gl/{string_.h => string.in.h}, gl/{sys_select_.h => sys_select.in.h}, gl/{sys_socket_.h => sys_socket.in.h}, gl/{unistd_.h => unistd.in.h}, gl/{wchar_.h => wchar.in.h}, gl/{wctype_.h => wctype.in.h}, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c: Update gnulib files. 2007-10-08 Simon Josefsson * lib/gl/Makefile.am, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/m4/extensions.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lock.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/vasprintf.m4, lib/gl/stdio.in.h, lib/gl/string.in.h: Update gnulib files. 2007-10-08 Simon Josefsson * lib/gl/{alloca_.h => alloca.in.h}, lib/gl/{float_.h => float.in.h}, lib/gl/m4/absolute-header.m4, lib/gl/m4/malloc.m4, lib/gl/m4/realloc.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/malloc.c, lib/gl/realloc.c, lib/gl/{stdbool_.h => stdbool.in.h}, lib/gl/{stdint_.h => stdint.in.h}, lib/gl/{stdio_.h => stdio.in.h}, lib/gl/stdlib.in.h, lib/gl/{string_.h => string.in.h}, lib/gl/unistd.in.h, lib/gl/{wchar_.h => wchar.in.h}: Update gnulib files. 2007-10-08 Simon Josefsson * .cvsignore, build-aux/.cvsignore, doc/.cvsignore, doc/doxygen/.cvsignore, doc/man/.cvsignore, doc/reference/.cvsignore, doc/reference/tmpl/.cvsignore, examples/.cvsignore, gl/.cvsignore, lib/.cvsignore, lib/anonymous/.cvsignore, lib/build-aux/.cvsignore, lib/cram-md5/.cvsignore, lib/digest-md5/.cvsignore, lib/external/.cvsignore, lib/gl/.cvsignore, lib/gs2/.cvsignore, lib/gssapi/.cvsignore, lib/kerberos_v5/.cvsignore, lib/login/.cvsignore, lib/m4/.cvsignore, lib/ntlm/.cvsignore, lib/plain/.cvsignore, lib/po/.cvsignore, lib/securid/.cvsignore, lib/src/.cvsignore, lib/tests/.cvsignore, m4/.cvsignore, po/.cvsignore, src/.cvsignore, tests/.cvsignore: Remove .cvsignore's. 2007-09-01 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-04.txt: Add. 2007-08-31 Simon Josefsson * lib/configure.ac: Drop gnits mode. 2007-08-31 Simon Josefsson * configure.ac: Drop gnits mode. 2007-08-31 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-08-31 Simon Josefsson * NEWS: Add. 2007-08-31 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/getdelim.h, gl/getline.c, gl/getline.h, gl/getpass.c, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/stdio_h.m4, gl/readline.c, gl/stdio_.h, lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/getdelim.h, lib/gl/getline.c, lib/gl/getline.h, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/stdio_.h: Update gnulib files. 2007-08-28 Simon Josefsson * src/gsasl.c: Fix warnings. 2007-08-22 Simon Josefsson * ChangeLog: Generated. 2007-08-22 Simon Josefsson * lib/ChangeLog: Generated. 2007-08-22 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.21. 2007-08-22 Simon Josefsson * NEWS: Add. 2007-08-22 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2007-08-22 Simon Josefsson * gl/fseeko.c, gl/lseek.c, gl/m4/lseek.m4: Update gnulib files. 2007-08-22 Simon Josefsson * lib/NEWS: Add. 2007-08-22 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-08-22 Simon Josefsson * AUTHORS: Add. 2007-08-22 Simon Josefsson * THANKS: Add. 2007-08-22 Simon Josefsson * lib/digest-md5/printer.c: Indent. 2007-08-22 Simon Josefsson * lib/digest-md5/printer.c: Remove the extra leading, trailing, and intermediate commas. Patch from James Canete . 2007-08-12 Simon Josefsson * THANKS: Add. 2007-08-12 Simon Josefsson * doc/gsasl.texi: Fix typoes. Tiny patch from Brad Hards . 2007-08-11 Simon Josefsson * ChangeLog: Generated. 2007-08-11 Simon Josefsson * lib/ChangeLog: Generated. 2007-08-11 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.20. 2007-08-11 Simon Josefsson * NEWS: Add. 2007-08-11 Simon Josefsson * lib/NEWS: Add. 2007-08-11 Simon Josefsson * build-aux/GNUmakefile, build-aux/maint.mk, lib/build-aux/GNUmakefile, lib/build-aux/maint.mk: Update gnulib files. 2007-08-10 Simon Josefsson * lib/NEWS, lib/configure.ac: Increment shared library version properly. 2007-08-10 Simon Josefsson * lib/NEWS: Add. 2007-08-10 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2007-08-10 Simon Josefsson * THANKS: Add. 2007-08-10 Simon Josefsson * lib/configure.ac: Don't bother looking for GSS-API library if GS2/GSS-API disabled. Reported by Maxim Britov . 2007-08-09 Simon Josefsson * ChangeLog: Generated. 2007-08-09 Simon Josefsson * lib/ChangeLog: Generated. 2007-08-09 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.19. 2007-08-09 Simon Josefsson * NEWS: Fix. 2007-08-09 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Update. 2007-08-09 Simon Josefsson * doc/reference/gsasl-docs.sgml: Update. 2007-08-09 Simon Josefsson * doc/gsasl.texi: Clarify license portion of blurb. 2007-08-09 Simon Josefsson * lib/src/free.c: Add Since: to mark when gsasl_free was introduced. 2007-08-09 Simon Josefsson * gsasl.fms: Update. 2007-08-09 Simon Josefsson * lib/src/gsasl.h: Update version. 2007-08-09 Simon Josefsson * doc/gsasl.texi: Document gsasl_free. 2007-08-09 Simon Josefsson * doc/Makefile.am: Generate. 2007-08-09 Simon Josefsson * lib/src/Makefile.am: Add free.c. 2007-08-09 Simon Josefsson * lib/src/free.c: Add doc string. 2007-08-09 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Change version to 0.2.19, we'll need another release. 2007-08-09 Simon Josefsson * lib/NEWS, lib/src/free.c, lib/src/gsasl.h: Add gsasl_free(). 2007-08-08 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-09.txt: Add. 2007-08-06 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2007-08-06 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-08-06 Simon Josefsson * lib/AUTHORS: Update PGP key. 2007-08-06 Simon Josefsson * AUTHORS: Update PGP key. 2007-08-06 Simon Josefsson * po/zh_CN.po: Sync with TP. 2007-08-06 Simon Josefsson * doc/gsasl.texi: Fix markup. 2007-08-06 Simon Josefsson * lib/NEWS, lib/build-aux/config.rpath, lib/build-aux/maint.mk, lib/gl/Makefile.am, lib/gl/float_.h, lib/gl/m4/absolute-header.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/include_next.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdint_.h, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/wchar_.h: Update gnulib files. 2007-08-06 Simon Josefsson * doc/gsasl.texi: Clarify license versions. 2007-08-06 Simon Josefsson * doc/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc-error, maint-cfg.mk: Re-license to GPLv3. 2007-08-06 Simon Josefsson * Makefile.am, configure.ac, examples/Makefile.am, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gssapi.c, tests/md5file.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/simple.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h: Re-license to GPLv3. 2007-08-06 Simon Josefsson * NEWS: Add. 2007-08-06 Simon Josefsson * README: Clarify license versions. 2007-08-06 Simon Josefsson * doc/gpl.texi, doc/lgpl.texi: Remove unused license files. 2007-08-06 Simon Josefsson * COPYING: Use GPLv3. 2007-08-06 Simon Josefsson * doc/Makefile.am, doc/gsasl.texi, gl/override/doc/gpl.texi.diff, gl/override/doc/lgpl.texi.diff: Update manual for GPLv3 change. 2007-08-06 Simon Josefsson * build-aux/config.rpath, build-aux/gendocs.sh, build-aux/maint.mk, doc/fdl.texi, doc/gpl-3.0.texi, doc/lgpl-2.1.texi, gl/Makefile.am, gl/error.c, gl/float_.h, gl/iconv_.h, gl/m4/absolute-header.m4, gl/m4/float_h.m4, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/include_next.m4, gl/m4/netinet_in_h.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/m4/wctype.m4, gl/netinet_in_.h, gl/stdint_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/sys_select_.h, gl/sys_socket_.h, gl/unistd_.h, gl/vasnprintf.c, gl/wchar_.h, gl/wctype_.h: Update gnulib files. 2007-08-01 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-03.txt: Add. 2007-07-12 Simon Josefsson * doc/specification/draft-zeilenga-sasl-yap-01.txt: Add. 2007-06-12 Simon Josefsson * Makefile.am: Add *.po files. 2007-06-12 Simon Josefsson * lib/Makefile.am: Add *.po files. 2007-06-12 Simon Josefsson * lib/po/ga.po: Sync with TP. 2007-06-12 Simon Josefsson * gl/Makefile.am, gl/fseeko.c, gl/m4/stdint.m4, gl/m4/string_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/string_.h, gl/vasnprintf.c, gl/wchar_.h, lib/gl/Makefile.am, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/stdint.m4, lib/gl/m4/string_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wchar.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/wchar_.h: Update gnulib files. 2007-06-12 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2007-06-07 Simon Josefsson * ChangeLog: Generated. 2007-06-07 Simon Josefsson * lib/ChangeLog: Generated. 2007-06-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.18. 2007-06-07 Simon Josefsson * lib/src/gsasl.h: Bump version. 2007-06-07 Simon Josefsson * lib/NEWS: Add. 2007-06-07 Simon Josefsson * gl/m4/vasnprintf.m4, gl/vasnprintf.c, gl/wchar_.h, lib/gl/m4/vasnprintf.m4, lib/gl/vasnprintf.c, lib/gl/wchar_.h: Update. 2007-06-05 Simon Josefsson * lib/NEWS, lib/configure.ac: Bump versions. 2007-06-05 Simon Josefsson * configure.ac: Bump versions. 2007-06-05 Simon Josefsson * NEWS: Add. 2007-06-05 Simon Josefsson * lib/gl/m4/intl.m4, lib/gl/m4/stdint.m4: Update. 2007-06-05 Simon Josefsson * gl/m4/lseek.m4, gl/m4/stdint.m4: Update. 2007-06-01 Simon Josefsson * Makefile.am: Fix release target. 2007-06-01 Simon Josefsson * ChangeLog: Generated. 2007-06-01 Simon Josefsson * lib/ChangeLog: Generated. 2007-06-01 Simon Josefsson * lib/Makefile.am: Fix ChangeLog target. 2007-06-01 Simon Josefsson * lib/Makefile.am: Fix release target. 2007-06-01 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.17. 2007-06-01 Simon Josefsson * NEWS, lib/NEWS: Add. 2007-06-01 Simon Josefsson * lib/gl/Makefile.am, lib/gl/float+.h, lib/gl/float_.h, lib/gl/m4/float_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/wint_t.m4, lib/gl/stdint_.h, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/wchar_.h, lib/tests/test-gc-hmac-md5.c, lib/tests/test-gc-md5.c, lib/tests/test-gc.c: Update. 2007-06-01 Simon Josefsson * gl/Makefile.am, gl/float+.h, gl/float_.h, gl/fseeko.c, gl/getpass.c, gl/iconv_.h, gl/lseek.c, gl/m4/float_h.m4, gl/m4/fseeko.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/lseek.m4, gl/m4/socklen.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/netinet_in_.h, gl/stdint_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/sys_select_.h, gl/{socket_.h => sys_socket_.h}, gl/unistd_.h, gl/vasnprintf.c, gl/wchar_.h, gl/wctype_.h: Update. 2007-06-01 Simon Josefsson * NEWS: Add. 2007-06-01 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po rule. 2007-06-01 Simon Josefsson * lib/src/gsasl.h: Generated. 2007-06-01 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Sync with TP. 2007-06-01 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/id.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po, po/zh_TW.po: Sync with TP. 2007-06-01 Simon Josefsson * configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-06-01 Simon Josefsson * NEWS: Add. 2007-06-01 Simon Josefsson * Makefile.am, README-alpha, lib/Makefile.am, lib/README-alpha: Use git instead of cvs. 2007-05-23 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-02.txt: Add. 2007-04-20 Simon Josefsson * ChangeLog: [no log message] 2007-04-20 Simon Josefsson * lib/ChangeLog: [no log message] 2007-04-20 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/id.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po, po/zh_TW.po: Generated. 2007-04-20 Simon Josefsson * lib/NEWS: Add. 2007-04-20 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.16. 2007-04-20 Simon Josefsson * doc/Makefile.am: Dist gpl.texi, lgpl.texi. 2007-04-20 Simon Josefsson * doc/Makefile.am: Update copyrights. 2007-04-20 Simon Josefsson * doc/Makefile.am: Fix 'make distcheck'. 2007-04-20 Simon Josefsson * NEWS, README, lib/NEWS: Add. 2007-04-20 Simon Josefsson * NEWS: Add. 2007-04-20 Simon Josefsson * NEWS, lib/NEWS: Add. 2007-04-20 Simon Josefsson * lib/po/sr.po, po/LINGUAS, po/id.po, po/sr.po, po/zh_TW.po: Sync with TP. 2007-04-20 Simon Josefsson * GNUmakefile: Fix. 2007-04-20 Simon Josefsson * GNUmakefile: Duplicate lib/GNUmakefile stuff, to avoid having lib/GNUmakefile revert things. 2007-04-20 Simon Josefsson * tests/Makefile.am: Remove false positives for threadsafety in vasnprintf.c. 2007-04-20 Simon Josefsson * gl/.cvsignore: [no log message] 2007-04-20 Simon Josefsson * lib/gl/gc-libgcrypt.c: Update. 2007-04-12 Simon Josefsson * build-aux/gendocs.sh, gl/.cvsignore, gl/Makefile.am, gl/alloca_.h, gl/float+.h, gl/iconv_.h, gl/iconv_open-aix.gperf, gl/iconv_open-hpux.gperf, gl/iconv_open-irix.gperf, gl/iconv_open-osf.gperf, gl/iconv_open.c, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/longdouble.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/vasnprintf.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/stdbool_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/vasnprintf.c, gl/wchar_.h, gl/wctype_.h, lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/asprintf.c, lib/gl/float+.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/longdouble.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/stdbool_.h, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/vasprintf.c, lib/gl/wchar_.h: Update. 2007-04-12 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4: Update. 2007-04-04 Simon Josefsson * doc/specification/draft-siemborski-rfc2554bis-09.txt: Add. 2007-03-27 Simon Josefsson * gl/.cvsignore, lib/build-aux/.cvsignore, lib/gl/.cvsignore, lib/m4/.cvsignore: [no log message] 2007-03-27 Simon Josefsson * gl/.cvsignore, gl/Makefile.am, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/striconv.c, gl/striconv.h, src/callbacks.c: Replace iconvme with striconv. 2007-03-27 Simon Josefsson * gl/.cvsignore, gl/Makefile.am: Update. 2007-03-27 Simon Josefsson * gl/Makefile.am, gl/float+.h, gl/getaddrinfo.c, gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconvme.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/ulonglong.m4, gl/m4/vasnprintf.m4, gl/printf-parse.c, gl/stdint_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/vasnprintf.c, lib/gl/.cvsignore, lib/gl/Makefile.am, lib/gl/float+.h, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/printf-parse.c, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c: Update. 2007-03-22 Simon Josefsson * lib/src/gsasl.h: Generated. 2007-03-19 Simon Josefsson * src/Makefile.am: Need gnulib's builddir. 2007-03-19 Simon Josefsson * lib/gs2/README: Add. 2007-03-19 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Revert version, GS2 won't be in the next release. 2007-03-17 Simon Josefsson * lib/digest-md5/printer.c: Don't use vasprintf.h. 2007-03-17 Simon Josefsson * GNUmakefile, maint-cfg.mk: More config.rpath fixes. 2007-03-17 Simon Josefsson * Makefile.cfg, Makefile.maint: Remove. 2007-03-17 Simon Josefsson * lib/GNUmakefile, lib/build-aux/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/link-warning.h, lib/{ => build-aux}/maint.mk, lib/gl/Makefile.am, lib/gl/asprintf.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/extensions.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/strdup.m4, lib/gl/m4/string_h.m4, lib/gl/m4/uint32_t.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/stdbool_.h, lib/gl/stdint_.h, lib/gl/stdio_.h, lib/gl/strdup.c, lib/gl/strdup.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/vasprintf.h, lib/maint-cfg.mk: Update. 2007-03-17 Simon Josefsson * lib/configure.ac: Bump versions. Use build-aux/. 2007-03-17 Simon Josefsson * src/internal.h: Don't use strdup.h. 2007-03-17 Simon Josefsson * build-aux/.cvsignore, gl/.cvsignore, m4/.cvsignore: [no log message] 2007-03-17 Simon Josefsson * GNUmakefile, maint-cfg.mk: Work around config.rpath problem. 2007-03-17 Simon Josefsson * gl/m4/onceonly_2_57.m4: Remove. 2007-03-17 Simon Josefsson * build-aux/GNUmakefile, build-aux/config.rpath, gendocs.sh => build-aux/gendocs.sh, build-aux/link-warning.h, maint.mk => build-aux/maint.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Use build-aux/. 2007-03-17 Simon Josefsson * configure.ac: Bump versions. Use build-aux/. 2007-03-17 Simon Josefsson * gl/Makefile.am, gl/exitfail.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getopt_.h, gl/iconvme.c, gl/m4/extensions.m4, gl/m4/gnulib-comp.m4, gl/m4/netinet_in_h.m4, gl/m4/snprintf.m4, gl/m4/socklen.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/string_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/{exit.h => netinet_in_.h}, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/quotearg.c, gl/snprintf.c, gl/snprintf.h, gl/socket_.h, gl/stdbool_.h, gl/stdio_.h, gl/stdlib_.h, gl/strdup.c, gl/string_.h, gl/{strdup.h => sys_select_.h}, gl/unistd_.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/xalloc.h: Update. 2007-03-09 Simon Josefsson * doc/specification/draft-newman-auth-scram-04.txt: Add. 2007-03-08 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-01.txt: Add. 2007-03-07 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-08.txt: Add. 2007-03-06 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-12.txt: Add. 2007-02-28 Simon Josefsson * doc/specification/draft-cridland-sasl-hexa-00.txt: Add. 2007-02-28 Simon Josefsson * doc/specification/draft-zeilenga-sasl-yap-00.txt: Add. 2007-02-25 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-11.txt, doc/specification/draft-siemborski-rfc2554bis-08.txt: Add. 2007-01-25 Simon Josefsson * lib/m4/libgcrypt.m4: Remove. 2007-01-25 Simon Josefsson * gl/Makefile.am, gl/gettext.h, gl/iconvme.c, gl/m4/absolute-header.m4, gl/m4/eoverflow.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/quotearg.m4, gl/m4/size_max.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/quotearg.c, gl/socket_.h, gl/strdup.h, gl/unistd_.h, gl/wchar_.h, gl/wctype_.h, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gettext.h, lib/gl/m4/eoverflow.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/wint_t.m4, lib/gl/stdint_.h, lib/gl/strdup.h: Update. 2007-01-25 Simon Josefsson * doc/specification/draft-ietf-sasl-gs2-05.txt, doc/specification/draft-siemborski-rfc1734bis-09.txt, doc/specification/draft-siemborski-rfc2554bis-07.txt, lib/gl/m4/gnulib-common.m4, lib/gl/m4/wchar.m4, lib/gl/wchar_.h: Add. 2007-01-24 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-10.txt: Add. 2007-01-13 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-08.txt: Add. 2006-12-26 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-07.txt: Add. 2006-12-26 Simon Josefsson * doc/specification/draft-altman-tls-channel-bindings-01.txt, doc/specification/draft-siemborski-rfc2554bis-06.txt: Add. 2006-12-09 Simon Josefsson * tests/simple.c: Test gsasl_check_version too. 2006-12-08 Simon Josefsson * lib/NEWS: Version 0.3.0. 2006-12-08 Simon Josefsson * lib/src/version.c: Fix typo, reported by Thadeu Lima de Souza Cascardo . 2006-12-01 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-06.txt: Add. 2006-11-29 Simon Josefsson * doc/specification/rfc4752.txt: Add. 2006-11-28 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-05.txt: Add. 2006-11-20 Simon Josefsson * doc/gpl.texi, doc/lgpl.texi, gl/Makefile.am, gl/asnprintf.c, gl/error.c, gl/exitfail.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt1.c, gl/getopt_.h, gl/getpass.c, gl/gettext.h, gl/iconvme.c, gl/inet_ntop.c, gl/m4/alloca.m4, gl/m4/getpass.m4, gl/m4/gnulib-comp.m4, gl/m4/inline.m4, gl/m4/lib-link.m4, gl/m4/longlong.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/sockpfaf.m4, gl/m4/vasnprintf.m4, gl/m4/xalloc.m4, gl/override/lgpl.texi.diff, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/progname.c, gl/progname.h, gl/quote.c, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/snprintf.c, gl/strdup.c, gl/vasnprintf.c, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c, lib/gl/Makefile.am, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/m4/alloca.m4, lib/gl/m4/codeset.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intmax.m4, lib/gl/m4/inttypes-h.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/signed.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/md5.c, lib/gl/memxor.c, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/stdint_.h, lib/gl/strdup.c, lib/gl/strverscmp.c, lib/gl/vasnprintf.c, lib/gl/vasprintf.c, lib/tests/test-gc.c: Update. 2006-11-20 Simon Josefsson * lib/gs2/client.c, lib/gs2/server.c: Snapshot. 2006-11-20 Simon Josefsson * gl/override/doc/gpl.texi.diff, gl/override/doc/lgpl.texi.diff, gl/override/lgpl.texi.diff, lib/gs2/gs2wrap.c: Add. 2006-11-16 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-11.txt: Add. 2006-10-11 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-10.txt: Add. 2006-09-13 Simon Josefsson * doc/gpl.texi, doc/lgpl.texi, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-09-13 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-09-13 Simon Josefsson * doc/gsasl.texi: Add GPL. Place concept index last. 2006-09-12 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/vasnprintf.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/stdint.m4, lib/gl/stdint_.h, lib/gl/vasnprintf.c, lib/gl/vasprintf.c: Update. 2006-09-07 Simon Josefsson * doc/fdl.texi, doc/specification/draft-ietf-sasl-gssapi-08.txt: Update. 2006-09-01 Simon Josefsson * doc/specification/rfc4616.txt: Add. 2006-08-28 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/codeset.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/stdint_.h: Update. 2006-08-28 Simon Josefsson * gl/Makefile.am, gl/getaddrinfo.c, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-cache.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/longlong.m4, gl/m4/readline.m4, gl/m4/stdint_h.m4, gl/override/doc/gendocs_template: Update. 2006-08-27 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-07.txt: Update. 2006-08-27 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2006-08-24 Simon Josefsson * lib/gs2/gs2parser.c: Allocate output instead. 2006-08-24 Simon Josefsson * src/callbacks.c: Fix mem leak. 2006-08-24 Simon Josefsson * src/callbacks.c: Support GSASL_VALIDATE_GSSAPI callback. 2006-08-24 Simon Josefsson * lib/gs2/gs2parser.c: Fix uint32 parsing. 2006-08-24 Simon Josefsson * src/imap.c: Fix last commit. 2006-08-24 Simon Josefsson * src/imap.c: The IMAP '+ ' prefix is only for server data. 2006-08-24 Simon Josefsson * lib/src/error.c: Doc fix. 2006-08-23 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-08-23 Simon Josefsson * lib/configure.ac: Disable GS2 by default. Doc fix. 2006-08-23 Simon Josefsson * lib/gs2/.cvsignore: [no log message] 2006-08-23 Simon Josefsson * lib/gs2/test-parser.c: Add. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c: Fix bug. 2006-08-23 Simon Josefsson * lib/gs2/Makefile.am: Add gs2parser to library. 2006-08-23 Simon Josefsson * lib/gs2/test-parser.c: Add self-tests of GS2 parser. 2006-08-23 Simon Josefsson * lib/gs2/Makefile.am: Add. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c, lib/gs2/gs2parser.h: Fix. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c: Fix. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c, lib/gs2/gs2parser.h: Add. 2006-08-22 Simon Josefsson * lib/src/Makefile.am, lib/src/init.c: Add GS2. 2006-08-22 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-08-22 Simon Josefsson * lib/src/xfinish.c: (gsasl_finish): Don't crash on sctx's without mech pointer, happens if you call gsasl_client_start or gsasl_server_start with unknown mechanism. 2006-08-22 Simon Josefsson * lib/configure.ac: Fix. 2006-08-22 Simon Josefsson * lib/gs2/mechinfo.c: Fix. 2006-08-22 Simon Josefsson * lib/src/gsasl.h: Bump version. 2006-08-22 Simon Josefsson * lib/gs2/.cvsignore: [no log message] 2006-08-22 Simon Josefsson * lib/configure.ac: Add. 2006-08-22 Simon Josefsson * configure.ac, lib/configure.ac: Bump version. 2006-08-22 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/gs2/Makefile.am, lib/gs2/README, lib/gs2/gs2.h, lib/gs2/mechinfo.c, lib/gssapi/client.c, lib/gssapi/server.c: Add some GS2 infrastructure. 2006-08-22 Simon Josefsson * gl/Makefile.am, gl/m4/exitfail.m4, gl/m4/getpass.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/strdup.m4, gl/m4/xalloc.m4, lib/gl/Makefile.am, lib/gl/m4/md5.m4, lib/gl/m4/memxor.m4, lib/gl/m4/strdup.m4, lib/gl/m4/strverscmp.m4: Update. 2006-08-22 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2006-08-22 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2006-08-22 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.15. 2006-08-21 Simon Josefsson * lib/AUTHORS: Update PGP key. 2006-08-21 Simon Josefsson * NEWS, lib/AUTHORS: Fix. 2006-08-21 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/strerror_r.m4: Update. 2006-08-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump version. 2006-08-19 Simon Josefsson * ChangeLog: [no log message] 2006-08-19 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2006-08-19 Simon Josefsson * AUTHORS: Update key. 2006-08-19 Simon Josefsson * lib/ChangeLog: [no log message] 2006-08-19 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.14. 2006-08-19 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Sync with TP. 2006-08-19 Simon Josefsson * NEWS: Add. 2006-08-19 Simon Josefsson * NEWS: Add. 2006-08-19 Simon Josefsson * gendocs.sh, gl/Makefile.am, gl/error.c, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/minmax.m4, gl/m4/restrict.m4, gl/minmax.h, gl/snprintf.c, lib/gl/m4/base64.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memxor.m4, lib/gl/m4/restrict.m4: Update. 2006-08-11 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-00.txt: Add. 2006-08-10 Simon Josefsson * lib/src/gsasl.h: Bump version. 2006-08-10 Simon Josefsson * doc/Makefile.am: Add. 2006-08-09 Simon Josefsson * lib/configure.ac: Bump versions. 2006-08-09 Simon Josefsson * configure.ac: Bump version. 2006-08-09 Simon Josefsson * NEWS: Add. 2006-08-09 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/error.h, gl/exitfail.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/gettext.h, gl/inet_ntop.h, gl/m4/arpa_inet_h.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/lib-link.m4, gl/m4/netinet_in_h.m4, gl/m4/onceonly_2_57.m4, gl/printf-args.c, gl/quote.c, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/absolute-header.m4, lib/gl/m4/getline.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/{inttypes.m4 => inttypes-h.m4}, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/isc-posix.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/nls.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/po.m4, lib/gl/m4/stdint.m4, lib/gl/m4/visibility.m4, lib/gl/printf-args.c, lib/gl/stdint_.h, lib/gl/vasprintf.h: Update. 2006-08-08 Simon Josefsson * lib/NEWS: Add. 2006-08-08 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2006-08-08 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h, lib/src/internal.h: Add gsasl_session_hook_set and gsasl_session_hook_get, based on suggestion by "MANSION, James, GBM" . Doc fix gsasl_callback_hook_set and gsasl_callback_hook_get. Add new variable application_hook to internal Gsasl_session type. 2006-07-28 Simon Josefsson * doc/gsasl.texi: Fix. 2006-07-28 Simon Josefsson * THANKS: Add. 2006-07-28 Simon Josefsson * doc/gsasl.texi: Add requirements, suggested by "MANSION, James, GBM". 2006-07-14 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2006-07-14 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2006-07-14 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.13. 2006-07-14 Simon Josefsson * lib/NEWS: Add. 2006-07-14 Simon Josefsson * NEWS: Fix. 2006-07-14 Simon Josefsson * Makefile.am: Fix gendocs path. 2006-07-14 Simon Josefsson * doc/gendocs.sh => gendocs.sh, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-07-14 Simon Josefsson * doc/specification/draft-ietf-sasl-gs2-02.txt: Add. 2006-07-11 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2006-07-11 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-07-11 Simon Josefsson * doc/Makefile.am: Update. 2006-07-11 Simon Josefsson * lib/src/Makefile.am: Dist doxygen.c. 2006-07-11 Simon Josefsson * NEWS, lib/src/doxygen.c: Add. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.in: Update doxygen version. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.orig: New. 2006-07-11 Simon Josefsson * Makefile.am: Fix gendocs.sh -I's. 2006-07-11 Simon Josefsson * doc/gsasl.texi: Fix include paths. 2006-07-11 Simon Josefsson * doc/Makefile.am: Fix texi2dvi -I's. 2006-07-11 Simon Josefsson * NEWS: Add. 2006-07-11 Simon Josefsson * NEWS: Add. 2006-07-10 Simon Josefsson * doc/Makefile.am: Don't hard code dia/epstopdf. 2006-07-10 Simon Josefsson * configure.ac: Use missing for epstopdf. 2006-07-10 Simon Josefsson * configure.ac: Use missing for dia. 2006-07-10 Simon Josefsson * gl/m4/getopt.m4, gl/m4/gnulib-comp.m4, gl/m4/onceonly_2_57.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/onceonly_2_57.m4: Update. 2006-07-07 Simon Josefsson * lib/src/xstart.c: Fix mem leak. If a mechanism set properties in the session indirectly, but later fails to start the mechanism, the properties would be leaked. Solved by cleaning up the mechanism with gsasl_finish, which require mechanism finish procedures to handle failed mechanism startups. 2006-07-07 Simon Josefsson * lib/NEWS: Add. 2006-07-07 Simon Josefsson * lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/server.c, lib/gssapi/client.c, lib/gssapi/server.c, lib/login/client.c, lib/login/server.c, lib/ntlm/ntlm.c, lib/securid/client.c: Don't crash in finish for un-initialized sessions. 2006-07-07 Simon Josefsson * lib/src/listmech.c: Simplify. 2006-07-07 Simon Josefsson * tests/Makefile.am: Fix typo. 2006-07-07 Simon Josefsson * tests/Makefile.am: Run under valgrind, if available. 2006-07-07 Simon Josefsson * configure.ac: Test for valgrind. 2006-07-07 Simon Josefsson * gl/.cvsignore, lib/gl/.cvsignore: [no log message] 2006-07-07 Simon Josefsson * lib/src/md5pwd.c, lib/src/obsolete.c: Doc fix. 2006-07-07 Simon Josefsson * NEWS: Add. 2006-07-07 Simon Josefsson * configure.ac: Assume sys/types.h. 2006-07-07 Simon Josefsson * lib/configure.ac, lib/gssapi/client.c, lib/gssapi/server.c: Don't need netinet/in.h nor sys/types.h. 2006-07-07 Simon Josefsson * lib/m4/ax_create_stdint_h.m4: Remove. 2006-07-07 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_select_h.m4, src/internal.h: Assume unistd.h, sys/select.h, sys/socket.h and sys/types.h. 2006-07-07 Simon Josefsson * gl/Makefile.am, gl/alloca_.h, gl/asnprintf.c, gl/exit.h, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getopt.c, gl/inet_ntop.c, gl/inet_ntop.h, gl/m4/alloca.m4, gl/m4/eoverflow.m4, gl/m4/getaddrinfo.m4, gl/m4/getpass.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/minmax.m4, gl/m4/onceonly_2_57.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/sockpfaf.m4, gl/m4/stdint_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4, gl/minmax.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/size_max.h, gl/snprintf.c, gl/snprintf.h, gl/socket_.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/xsize.h, lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/base64.c, lib/gl/m4/absolute-header.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/longlong.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/ulonglong.m4, lib/gl/size_max.h, lib/gl/stdint_.h, lib/gl/strverscmp.c: Update gnulib. 2006-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-09.txt: Add. 2006-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-gs2-01.txt: Add. 2006-06-27 Simon Josefsson * doc/gdoc: Fix texinfo/man output. 2006-06-22 Simon Josefsson * configure.ac, lib/configure.ac: Make portable to mingw. 2006-06-20 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-09.txt: Add. 2006-06-19 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-06.txt: Update. 2006-06-13 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-07.txt: Add. 2006-06-09 Simon Josefsson * doc/specification/rfc4422.txt, doc/specification/rfc4505.txt: Add. 2006-05-31 Simon Josefsson * gl/getpass.c, lib/gl/printf-args.c: Update. 2006-05-31 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-05.txt: Add. 2006-05-18 Simon Josefsson * gl/m4/stdbool.m4, lib/gl/m4/stdbool.m4, lib/gl/stdint_.h: Update. 2006-05-16 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Update. 2006-05-04 Simon Josefsson * lib/gl/stdint_.h: Update. 2006-04-26 Simon Josefsson * gl/Makefile.am, gl/m4/getpass.m4, gl/m4/strerror_r.m4, lib/gl/Makefile.am, lib/gl/m4/longdouble.m4: Update. 2006-04-19 Simon Josefsson * lib/gl/base64.c, lib/gl/stdint_.h: Update. 2006-03-24 Simon Josefsson * lib/gl/base64.c: Update. 2006-03-24 Simon Josefsson * lib/gl/base64.c: Update. 2006-03-24 Simon Josefsson * doc/man/.cvsignore: Add. 2006-03-16 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-03-16 Simon Josefsson * doc/gsasl.texi: No invariant section, suggested by Yvan. 2006-03-11 Simon Josefsson * lib/src/gsasl.h: Bump version. 2006-03-10 Simon Josefsson * lib/gl/m4/gc-random.m4: Update. 2006-03-08 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2006-03-08 Simon Josefsson * doc/Makefile.am: Add -I's to fix make dist. 2006-03-08 Simon Josefsson * ChangeLog: [no log message] 2006-03-08 Simon Josefsson * lib/ChangeLog: [no log message] 2006-03-08 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2006-03-08 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.12. 2006-03-08 Simon Josefsson * lib/src/Makefile.am: Remove gsasl.h.in. 2006-03-08 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/unistd_h.m4, gl/unistd_.h, lib/gl/gc-gnulib.c, lib/gl/m4/gc-random.m4, lib/maint.mk, maint.mk: Update. 2006-03-08 Simon Josefsson * gl/Makefile.am: Update. 2006-03-07 Simon Josefsson * lib/NEWS: Add. 2006-03-07 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-03-07 Simon Josefsson * lib/NEWS: Add. 2006-03-07 Simon Josefsson * NEWS, THANKS: Add. 2006-03-07 Simon Josefsson * lib/src/Makefile.am: Add -no-undefined, required to produce DLLs on mingw32. 2006-03-07 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/m4/gnulib-comp.m4, gl/m4/readline.m4, gl/m4/unistd_h.m4, gl/unistd_.h, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/m4/gc-random.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/maint.mk, maint.mk: Update. 2006-03-03 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-06.txt: Add. 2006-03-03 Simon Josefsson * lib/po/rw.po: Remove. 2006-03-03 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2006-03-03 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2006-03-03 Simon Josefsson * lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/maint-cfg.mk, lib/maint.mk: Add. 2006-03-03 Simon Josefsson * po/rw.po: Remove. 2006-03-03 Simon Josefsson * po/LINGUAS: Sync with TP. 2006-03-03 Simon Josefsson * Makefile.am: Fix update-po. 2006-03-03 Simon Josefsson * gl/m4/readline.m4, maint.mk: Update. 2006-03-03 Simon Josefsson * gl/iconvme.c, gl/m4/getaddrinfo.m4, gl/m4/readline.m4, gl/readline.c, maint.mk: Update. 2006-03-02 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-08.txt: Add. 2006-03-01 Simon Josefsson * THANKS: Add. 2006-03-01 Simon Josefsson * lib/src/md5pwd.c, lib/src/obsolete.c: Doc fix, implied by report from Yvan Bassuel . 2006-02-28 Simon Josefsson * maint-cfg.mk: Don't gtkdocize. 2006-02-28 Simon Josefsson * gtk-doc.make: Add. 2006-02-28 Simon Josefsson * gl/getopt.c, lib/gl/base64.h, lib/gl/strverscmp.h: Update. 2006-02-28 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2006-02-28 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2006-02-28 Simon Josefsson * lib/configure.ac: Fix version update. 2006-02-28 Simon Josefsson * lib/configure.ac: Update version number in src/gsasl.h. 2006-02-23 Simon Josefsson * lib/configure.ac: Don't build gsasl.h. 2006-02-23 Simon Josefsson * lib/src/{gsasl.h.in => gsasl.h}: Move gsasl.h.in to gsasl.h and hard code version number (a script will be needed to update it). This simplifies porting to Windows. 2006-02-19 Simon Josefsson * lib/po/nl.po, po/nl.po: Update. 2006-02-16 Simon Josefsson * maint-cfg.mk: Fix. 2006-02-16 Simon Josefsson * gl/m4/getaddrinfo.m4, gl/m4/socklen.m4, gl/m4/sys_socket_h.m4, gl/xalloc-die.c, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/stdbool.m4, lib/gl/stdbool_.h, lib/gl/strverscmp.h, lib/gl/vasnprintf.c, maint.mk: Update. 2006-02-14 Simon Josefsson * GNUmakefile, gl/m4/gnulib-comp.m4, maint-cfg.mk, maint.mk: Rename 2006-02-14 Simon Josefsson * lib/digest-md5/Makefile.am: Run test-parser test. 2006-02-14 Simon Josefsson * lib/digest-md5/test-parser.c: Don't crash. 2006-02-14 Simon Josefsson * lib/digest-md5/validate.c: Test finish token further. 2006-02-14 Simon Josefsson * Makefile.cfg: Fix. 2006-02-14 Simon Josefsson * Makefile.cfg: Add --enable-gtk-doc. 2006-02-14 Simon Josefsson * GNUmakefile: Update. 2006-02-14 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-04.txt: Add. 2006-02-13 Simon Josefsson * autogen.sh: Remove. 2006-02-13 Simon Josefsson * GNUmakefile: Update. 2006-02-13 Simon Josefsson * Makefile.cfg: Fix. 2006-02-11 Simon Josefsson * GNUmakefile: Update gnulib. 2006-02-11 Simon Josefsson * Makefile.cfg: Add. 2006-02-11 Simon Josefsson * GNUmakefile, Makefile.maint: Update gnulib. 2006-02-11 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update gnulib. 2006-02-07 Simon Josefsson * ChangeLog: [no log message] 2006-02-07 Simon Josefsson * lib/ChangeLog: [no log message] 2006-02-07 Simon Josefsson * gsasl.fms: 0.2.11. 2006-02-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.11. 2006-02-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Update. 2006-02-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/vi.po, po/zh_CN.po: Update 2006-02-07 Simon Josefsson * src/gsasl.c: Typo. 2006-02-07 Simon Josefsson * src/gsasl.c: Initialize ws2_32, if necessary. 2006-02-07 Simon Josefsson * gl/getaddrinfo.h, gl/getopt.c, gl/m4/getopt.m4, gl/m4/gnulib-tool.m4, gl/m4/stdbool.m4, gl/quotearg.c, gl/socket_.h, gl/stdbool_.h: Update. 2006-01-24 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-15.txt: Add. 2006-01-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/socket_.h: Update. 2006-01-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/m4/socklen.m4: Update. 2006-01-19 Simon Josefsson * gl/socket_.h: Add. 2006-01-19 Simon Josefsson * lib/configure.ac: Fix cross-compile test. 2006-01-19 Simon Josefsson * lib/configure.ac: Fix cross-compile test. 2006-01-19 Simon Josefsson * lib/configure.ac: Don't be fooled by krb5-config when cross-compiling. 2006-01-19 Simon Josefsson * lib/NEWS: Add. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/socklen.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/socklen.m4: Update. 2006-01-18 Simon Josefsson * NEWS: Add. 2006-01-18 Simon Josefsson * lib/tests/Makefile.am: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * tests/Makefile.am: Mingw32 fix. 2006-01-18 Simon Josefsson * doc/Makefile.am: Fix EXEEXT. 2006-01-18 Simon Josefsson * gl/.cvsignore: Add. 2006-01-18 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/socket_.h: Update. 2006-01-18 Simon Josefsson * src/internal.h: Fix #include's. 2006-01-18 Simon Josefsson * src/callbacks.c: Protect getpwuid, for mingw32. 2006-01-18 Simon Josefsson * configure.ac: Check for getpwuid. 2006-01-18 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/sys_socket_h.m4, gl/socket_.h: Add. 2006-01-17 Simon Josefsson * gl/Makefile.am, gl/m4/getaddrinfo.m4, lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/md5.c, lib/gl/md5.h, lib/gl/stdint_.h: Update. 2006-01-11 Simon Josefsson * po/sv.po: Update. 2006-01-10 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/readline.m4, gl/m4/socklen.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/stdint.m4, lib/gl/stdint_.h: Update. 2005-12-25 Simon Josefsson * gl/m4/getaddrinfo.m4, gl/m4/socklen.m4: Update. 2005-12-16 Simon Josefsson * gl/m4/gnulib-comp.m4: Update. 2005-12-14 Simon Josefsson * lib/NEWS: Fix. 2005-12-14 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-12-01 Simon Josefsson * gl/m4/socklen.m4: Update. 2005-11-30 Simon Josefsson * gl/getaddrinfo.h, gl/readline.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/md5.c, lib/gl/stdint_.h, lib/tests/test-gc-hmac-md5.c, lib/tests/test-gc-md5.c: Sync gnulib. 2005-11-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-14.txt: Add. 2005-11-17 Simon Josefsson * doc/specification/draft-josefsson-sasl-gs2-00.txt: Add. 2005-11-11 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-13.txt: Add. 2005-10-28 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-07.txt: Add. 2005-10-23 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2005-10-23 Simon Josefsson * lib/NEWS: Add. 2005-10-23 Simon Josefsson * lib/src/md5pwd.c: Fix memory leak. 2005-10-23 Simon Josefsson * AUTHORS: Fix. 2005-10-23 Simon Josefsson * AUTHORS: Update PGP key. 2005-10-23 Simon Josefsson * gsasl.fms: Add. 2005-10-23 Simon Josefsson * ChangeLog: [no log message] 2005-10-23 Simon Josefsson * lib/ChangeLog: [no log message] 2005-10-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-10-23 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.10. 2005-10-23 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-10-23 Simon Josefsson * lib/tests/.cvsignore: [no log message] 2005-10-23 Simon Josefsson * lib/Makefile.am, lib/configure.ac: Move gnulib self tests. 2005-10-23 Simon Josefsson * lib/gl/m4/gnulib-cache.m4, lib/tests/Makefile.am, lib/tests/test-gc-hmac-md5.c, lib/tests/test-gc-md5.c, lib/tests/test-gc.c: Update. 2005-10-23 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Add gnulib self tests. 2005-10-23 Simon Josefsson * lib/src/saslprep.c: Fix pr29_8z call. 2005-10-23 Simon Josefsson * lib/src/saslprep.c: Improve pr29 check. 2005-10-23 Simon Josefsson * lib/gssapi/Makefile.am: Need libgss. 2005-10-23 Simon Josefsson * lib/ntlm/Makefile.am: Need libntlm. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix libidn test. 2005-10-23 Simon Josefsson * lib/src/saslprep.c: Use new defines. 2005-10-23 Simon Josefsson * lib/m4/check_headerlib.m4: Remove. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix GSS checks. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix shishi test. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix ntlm check. 2005-10-23 Simon Josefsson * lib/gl/md5.c, lib/gl/md5.h: Update. 2005-10-23 Simon Josefsson * configure.ac: Look for gnutls_certificate_verify_peers2, to get a recent gnutls. 2005-10-23 Simon Josefsson * doc/gsasl.texi: Fix. 2005-10-23 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/hmac-md5.c, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdbool.m4: Update. 2005-10-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-10-23 Simon Josefsson * src/gsasl.c: Work around GnuTLS bug when sending zero length messages. 2005-10-23 Simon Josefsson * NEWS: Add. 2005-10-22 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2005-10-22 Simon Josefsson * lib/NEWS: Add. 2005-10-22 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/stdbool.m4: Update. 2005-10-17 Simon Josefsson * lib/gl/gc-gnulib.c: Update. 2005-10-17 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/stdbool.m4: Update. 2005-10-12 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdint.m4, lib/gl/stdint_.h: Update. 2005-10-12 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/md5.m4, lib/gl/md5.c, lib/gl/md5.h: Update. 2005-10-07 Simon Josefsson * ChangeLog: [no log message] 2005-10-07 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-10-07 Simon Josefsson * lib/ChangeLog: [no log message] 2005-10-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2005-10-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.9. 2005-10-07 Simon Josefsson * lib/gssapi/server.c: Fix cast error. 2005-10-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-10-07 Simon Josefsson * lib/NEWS: Add. 2005-10-07 Simon Josefsson * lib/gssapi/client.c: Fix cast errors. 2005-10-07 Simon Josefsson * doc/gsasl.texi, lib/NEWS: Fix. 2005-10-07 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-10-07 Simon Josefsson * gl/m4/stdbool.m4, lib/gl/hmac.h, lib/gl/m4/memxor.m4, lib/gl/m4/stdbool.m4: Update. 2005-10-06 Simon Josefsson * gl/getdelim.c, gl/m4/getaddrinfo.m4, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/getdelim.c, lib/gl/m4/memxor.m4, lib/gl/memxor.c: Update. 2005-10-05 Simon Josefsson * gl/Makefile.am, lib/gl/memxor.c: Update. 2005-10-05 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memxor.m4, lib/gl/memxor.c, lib/gl/memxor.h: Update. 2005-10-05 Simon Josefsson * lib/gl/gc.h: Update. 2005-10-05 Simon Josefsson * lib/cram-md5/digest.c, lib/digest-md5/session.c: Use new gc API. 2005-10-05 Simon Josefsson * lib/cram-md5/digest.c: Use new gc API. 2005-10-05 Simon Josefsson * lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/src/Makefile.am: Remove crypto/. 2005-10-05 Simon Josefsson * gl/Makefile.am: Update. 2005-10-05 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/crypto/.cvsignore, lib/crypto/Makefile.am, lib/crypto/README, lib/crypto/README.gsasl, lib/crypto/cbc.h, lib/crypto/gc-libgcrypt.c, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/crypto/hmac-md5.c, lib/crypto/hmac.c, lib/crypto/hmac.h, lib/crypto/macros.h, lib/crypto/md5-meta.c, lib/crypto/md5.c, lib/crypto/md5.h, lib/crypto/memxor.c, lib/crypto/memxor.h, lib/crypto/nettle-internal.h, lib/crypto/nettle-meta.h, lib/crypto/sha.h, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/hmac-md5.c, lib/gl/hmac.h, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/md5.m4, lib/gl/m4/uint32_t.m4, lib/gl/md5.c, lib/gl/md5.h: Replace crypto/ with gnulib modules. 2005-10-05 Simon Josefsson * gl/getaddrinfo.h, gl/getdelim.c, gl/m4/getaddrinfo.m4, lib/gl/getdelim.c: Update. 2005-10-01 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2005-10-01 Simon Josefsson * gl/getdelim.c, lib/gl/getdelim.c: Update. 2005-10-01 Simon Josefsson * gl/getaddrinfo.h, gl/m4/getaddrinfo.m4: Update. 2005-09-28 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-09-28 Simon Josefsson * src/internal.h: Typo. 2005-09-28 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2005-09-25 Simon Josefsson * configure.ac, gl/getaddrinfo.c, gl/getopt_.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/socklen.m4, gl/quotearg.c: Gnulib getaddrinfo fix. 2005-09-22 Simon Josefsson * gl/getaddrinfo.c, gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-comp.m4: Update. 2005-09-20 Simon Josefsson * src/gsasl.c: Simplify CPP symbol usage. 2005-09-20 Simon Josefsson * gl/exitfail.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt1.c, gl/getpass.c, gl/progname.c, gl/quote.c, gl/quotearg.c, gl/readline.c, gl/xalloc-die.c, gl/xmalloc.c, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/strverscmp.c: Update. 2005-09-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/gl/base64.c, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Update. 2005-09-19 Simon Josefsson * Makefile.am, lib/Makefile.am: Gnupload sign the file too. 2005-09-12 Simon Josefsson * m4/gtk-doc.m4: Update. 2005-09-12 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-09-08 Simon Josefsson * gsasl.fms: 0.2.8. 2005-09-08 Simon Josefsson * ChangeLog: [no log message] 2005-09-08 Simon Josefsson * lib/ChangeLog: [no log message] 2005-09-08 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.8. 2005-09-08 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-09-08 Simon Josefsson * lib/NEWS: Add. 2005-09-08 Simon Josefsson * lib/po/LINGUAS, lib/po/rw.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Update. 2005-09-08 Simon Josefsson * NEWS, po/LINGUAS, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Add. 2005-09-08 Simon Josefsson * configure.ac: Update gnulib. 2005-09-08 Simon Josefsson * configure.ac: Don't check for getaddrinfo. 2005-09-08 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/getpass.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/gnulib.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, lib/configure.ac, lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4: Update. 2005-09-07 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-03.txt: Add. 2005-08-29 Simon Josefsson * lib/po/LINGUAS, po/LINGUAS: Sync with TP. 2005-08-29 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Update. 2005-08-29 Simon Josefsson * configure.ac: Fix typo. 2005-08-29 Simon Josefsson * configure.ac: Don't define WITH_GNUTLS, already handled. 2005-08-29 Simon Josefsson * src/gsasl.c: Use new CPP symbol to test for GnuTLS. 2005-08-29 Simon Josefsson * configure.ac: Typo. 2005-08-29 Simon Josefsson * configure.ac: Simplify gnutls check. 2005-08-29 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix for modern wget. 2005-08-29 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-08-29 Simon Josefsson * Makefile.am: Use --disable-obsolete for distcheck, so it is tested. 2005-08-29 Simon Josefsson * NEWS: Add. 2005-08-29 Simon Josefsson * gl/Makefile.am, gl/getpass.c, gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib.m4: Update. 2005-08-27 Simon Josefsson * Makefile.am, lib/Makefile.am: Use gnupload. 2005-08-27 Simon Josefsson * src/imap.c: Fix typo. 2005-08-27 Simon Josefsson * NEWS: Fix. 2005-08-27 Simon Josefsson * lib/NEWS: Add. 2005-08-27 Simon Josefsson * lib/src/init.c: Prefer PLAIN over LOGIN. 2005-08-27 Simon Josefsson * src/gsasl.c, src/imap.c, src/imap.h, src/smtp.c, src/smtp.h: Fix has_starttls(). 2005-08-27 Simon Josefsson * NEWS: Add. 2005-08-27 Simon Josefsson * doc/gsasl.texi: Fix gsasl parameters. 2005-08-27 Simon Josefsson * src/imap.c, src/smtp.c: Fix --client. 2005-08-27 Simon Josefsson * lib/src/Makefile.am: Link with @LTLIBIDN@ too. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix --client and --server again. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix --client. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix --client and --server. Don't start TLS on stdin/stdout connections. Fix crashes. 2005-08-27 Simon Josefsson * src/gsasl.c: Revert bogus --connect fix. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix server certificate verification. Fix --connect. 2005-08-27 Simon Josefsson * src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h: Add STARTTLS support. Use readline() when reading protocol server output from stdin (rarely). Handle second argument protocol names better. 2005-08-26 Simon Josefsson * configure.ac, src/Makefile.am, src/gsasl.c: Start to use GnuTLS. 2005-08-26 Simon Josefsson * lib/NEWS, lib/configure.ac: Improve libidn checking (to get -R, -rpath etc). 2005-08-26 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-08-25 Simon Josefsson * gsasl.fms: Update. 2005-08-25 Simon Josefsson * ChangeLog: [no log message] 2005-08-25 Simon Josefsson * lib/ChangeLog: [no log message] 2005-08-25 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-08-25 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.7. 2005-08-24 Simon Josefsson * lib/NEWS: Add. 2005-08-24 Simon Josefsson * NEWS: Fix. 2005-08-24 Simon Josefsson * gl/getpass.c: Update. 2005-08-24 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib.m4: Update. 2005-08-24 Simon Josefsson * configure.ac: Replace getpass-gnu with getpass (getpass-gnu is always built on glibc systems..). 2005-08-24 Simon Josefsson * gl/getpass.c: Update. 2005-08-24 Simon Josefsson * gl/getpass.c, gl/m4/getpass.m4: Update. 2005-08-23 Simon Josefsson * lib/NEWS: Add. 2005-08-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-08-23 Simon Josefsson * lib/src/obsolete.c: Fix warnings. 2005-08-23 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Fix typo in GSASL_PASSWORD backwards compatibility handling. 2005-08-23 Simon Josefsson * NEWS: Add. 2005-08-23 Simon Josefsson * gl/getpass.c, gl/m4/getopt.m4, gl/m4/getpass.m4: Update. 2005-08-23 Simon Josefsson * src/internal.h: Assume C89, for errno.h. 2005-08-23 Simon Josefsson * src/internal.h: Include quote.h. 2005-08-23 Simon Josefsson * lib/src/init.c: Remove unused variable. 2005-08-23 Simon Josefsson * lib/src/init.c: Fix warning when no mechanism is enabled. 2005-08-22 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-05.txt: Add. 2005-08-12 Simon Josefsson * README: Reprioritize. 2005-08-12 Simon Josefsson * README: Fix. 2005-08-12 Simon Josefsson * gl/m4/readline.m4: Update. 2005-08-12 Simon Josefsson * gl/m4/readline.m4: Update. 2005-08-11 Simon Josefsson * gl/m4/readline.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/strdup.m4: Update. 2005-08-11 Simon Josefsson * gl/m4/readline.m4: Update. 2005-08-11 Simon Josefsson * src/Makefile.am: Possibly -lreadline. 2005-08-11 Simon Josefsson * gl/m4/gnulib.m4, gl/m4/onceonly_2_57.m4, gl/m4/readline.m4, gl/m4/strdup.m4, gl/readline.c, gl/readline.h: Update. 2005-08-10 Simon Josefsson * gsasl.fms: Update. 2005-08-10 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-08-10 Simon Josefsson * ChangeLog: [no log message] 2005-08-10 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-08-10 Simon Josefsson * lib/ChangeLog: [no log message] 2005-08-10 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2005-08-10 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.6. 2005-08-10 Simon Josefsson * NEWS: Add. 2005-08-10 Simon Josefsson * NEWS: Add. 2005-08-10 Simon Josefsson * AUTHORS, lib/AUTHORS: Update PGP key. 2005-08-10 Simon Josefsson * lib/NEWS: Update. 2005-08-10 Simon Josefsson * lib/NEWS: Reorder. 2005-08-04 Simon Josefsson * gl/Makefile.am, gl/m4/getopt.m4: Update. 2005-08-04 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-08-02 Simon Josefsson * lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/m4/getdelim.m4: Update. 2005-07-24 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-06.txt: Add. 2005-07-19 Simon Josefsson * gl/quote.c, gl/quote.h: Add. 2005-07-18 Simon Josefsson * src/gsasl.c: Loop through all getaddrinfo replies. Print 'Trying foo...' lines, a'la telnet. 2005-07-18 Simon Josefsson * gl/Makefile.am, gl/exitfail.c, gl/exitfail.h, gl/getdelim.c, gl/m4/exitfail.m4, gl/m4/getdelim.m4, gl/m4/gnulib.m4, gl/m4/mbrtowc.m4, gl/m4/mbstate_t.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/xalloc.m4, gl/quotearg.c, gl/quotearg.h, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c: Add quote. 2005-07-18 Simon Josefsson * configure.ac: Use quote too. 2005-07-17 Simon Josefsson * gl/getdelim.c, lib/gl/getdelim.c: Update. 2005-07-17 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/getdelim.h, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/m4/codeset.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, gl/m4/gnulib.m4, gl/m4/intdiv0.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/nls.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/ssize_t.m4, gl/m4/stdint_h.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4: Update 2005-07-17 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/getdelim.h, lib/gl/getline.c, lib/gl/getline.h, lib/gl/lgetdelim.c, lib/gl/lgetdelim.h, lib/gl/lgetline.c, lib/gl/lgetline.h, lib/gl/m4/getdelim.m4, lib/gl/m4/{lgetline.m4 => getline.m4}, lib/gl/m4/gnulib.m4, lib/gl/m4/lgetdelim.m4: Use new LGPL getline module. 2005-07-16 Simon Josefsson * doc/gsasl.texi: Mention help-gsasl. 2005-07-16 Simon Josefsson * lib/m4/ax_create_stdint_h.m4: Update. 2005-07-16 Simon Josefsson * README, lib/NEWS: Add. 2005-07-16 Simon Josefsson * gl/m4/readline.m4, gl/readline.c: Update. 2005-07-16 Simon Josefsson * src/callbacks.c: Simplify readline. 2005-07-16 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib.m4, gl/m4/readline.m4, gl/readline.c, gl/readline.h: Use new readline module. 2005-07-16 Simon Josefsson * lib/configure.ac: Simplify. 2005-07-15 Simon Josefsson * gl/readline.c: Fix license. 2005-07-15 Simon Josefsson * lib/src/version.c: Use strverscmp rather than now obsolete check-version module. 2005-07-15 Simon Josefsson * lib/gl/Makefile.am, lib/gl/check-version.c, lib/gl/check-version.h, lib/gl/m4/check-version.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/size_max.m4: Update 2005-07-15 Simon Josefsson * lib/configure.ac: Don't use gnulib's check-version, use strverscmp directly instead. 2005-07-15 Simon Josefsson * gl/Makefile.am, gl/getaddrinfo.h, gl/m4/gnulib.m4: Update. 2005-06-28 Simon Josefsson * lib/gl/check-version.c: Typo. 2005-06-28 Simon Josefsson * lib/gl/m4/check-version.m4: Add. 2005-06-28 Simon Josefsson * lib/gl/Makefile.am, lib/gl/check-version.c, lib/gl/{check_version.h => check-version.h}, lib/gl/check_version.c, lib/gl/m4/gnulib.m4, lib/gl/m4/strverscmp.m4, lib/gl/strverscmp.c, lib/gl/strverscmp.h: Use the real check-version module. 2005-06-28 Simon Josefsson * lib/gl/base64.c, lib/gl/base64.h: Update gnulib files. 2005-06-28 Simon Josefsson * lib/configure.ac, lib/src/version.c: Typo. 2005-06-25 Simon Josefsson * AUTHORS: Update PGP key. 2005-06-25 Simon Josefsson * README, doc/reference/gsasl-docs.sgml: Don't reference COPYING.DOC. 2005-06-25 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-06-25 Simon Josefsson * COPYING.DOC: Remove (already included in manual). 2005-06-25 Simon Josefsson * Makefile.am, configure.ac, doc/Makefile.am, doc/doxygen/gdoc2doxygen, doc/fdl.texi, doc/gdoc-error, doc/gendocs_template, examples/Makefile.am, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, src/Makefile.am, src/gsasl.ggo, tests/Makefile.am, tests/utils.c, tests/utils.h: Fix address in license. 2005-06-25 Simon Josefsson * doc/gendocs.sh: Update from texinfo. 2005-06-25 Simon Josefsson * tests/threadsafety: Typo. 2005-06-25 Simon Josefsson * COPYING, lib/COPYING, lib/Makefile.am, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/crypto/Makefile.am, lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h.in, lib/src/init.c, lib/src/internal.h, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gssapi.c, tests/md5file.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/simple.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h: Fix address in license. 2005-06-25 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/check_version.c, lib/gl/check_version.h, lib/gl/m4/gnulib.m4, lib/src/version.c: Use check_version gnulib module. 2005-06-25 Simon Josefsson * lib/gl/size_max.h: Sync with gnulib. 2005-06-15 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-06-15 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/error.h, gl/exit.h, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/getopt.c, gl/getopt1.c, gl/getopt_.h, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconvme.c, gl/iconvme.h, gl/m4/extensions.m4, gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/gnulib.m4, gl/m4/intdiv0.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/nls.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/strdup.m4, gl/progname.c, gl/progname.h, gl/stdbool_.h, gl/strdup.c, gl/strdup.h, lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/gettext.h, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intmax.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/isc-posix.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/strdup.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/stdbool_.h, lib/gl/strdup.c, lib/gl/strdup.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/vasprintf.h, lib/gl/xsize.h: Update gnulib files. 2005-06-01 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-11.txt: Add. 2005-05-17 Simon Josefsson * doc/specification/draft-zeilenga-sasl-rfc2222bis-00.txt: Add. 2005-04-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-05.txt: Add. 2005-04-01 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-02.txt: Add. 2005-03-21 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-08.txt: Add. 2005-03-15 Simon Josefsson * lib/src/gsasl-compat.h: Define __attribute__ to empty for C++, tiny patch Ryan Slack . 2005-03-02 Simon Josefsson * THANKS: Add. 2005-03-02 Simon Josefsson * doc/gsasl.texi: API fix, reported by Ryan Slack . 2005-03-01 Simon Josefsson * doc/specification/rfc4013.txt: Add. 2005-02-23 Simon Josefsson * lib/plain/server.c: Use SASLprep(authcid) as authzid, when the provided authzid is empty. 2005-02-22 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-05.txt, doc/specification/draft-ietf-sasl-plain-07.txt: Add. 2005-02-21 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-10.txt: Add. 2005-02-14 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2005-02-14 Simon Josefsson * lib/NEWS: Add. 2005-02-14 Simon Josefsson * lib/plain/server.c: Align unassigned code point usage in preparation, as per -06. 2005-02-08 Simon Josefsson * gsasl.fms: Fix. 2005-02-08 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2005-02-08 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-02-08 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.5. 2005-02-08 Simon Josefsson * gl/progname.c: Fix. 2005-02-08 Simon Josefsson * lib/NEWS: Add. 2005-02-08 Simon Josefsson * lib/NEWS: Add. 2005-02-06 Simon Josefsson * lib/src/error.c: Typos, reported by Clytie Siddall . 2005-02-06 Simon Josefsson * lib/po/LINGUAS, lib/po/vi.po: Add. 2005-01-29 Simon Josefsson * NEWS, po/LINGUAS, po/vi.po: Add. 2005-01-29 Simon Josefsson * gl/Makefile.am, gl/gai_strerror.c, gl/m4/codeset.m4, gl/m4/error.m4, gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/glibc21.m4, gl/m4/iconv.m4, gl/m4/inttypes_h.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/restrict.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/m4/stdint_h.m4, gl/m4/strdup.m4, gl/m4/strerror_r.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/eoverflow.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/longdouble.m4, lib/gl/m4/longlong.m4, lib/gl/m4/restrict.m4, lib/gl/m4/signed.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/strdup.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/size_max.h: Update. 2005-01-21 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-06.txt: Add. 2005-01-18 Simon Josefsson * THANKS: Add. 2005-01-18 Simon Josefsson * src/gsasl.c: Fix typo, reported by Clytie Siddall . 2005-01-17 Simon Josefsson * doc/specification/draft-ietf-nntpext-authinfo-06.txt: Add. 2005-01-05 Simon Josefsson * lib/NEWS: Add. 2005-01-05 Simon Josefsson * lib/src/saslprep.c: If we have pr29 functionality, use it to verify output. 2005-01-05 Simon Josefsson * lib/configure.ac: Look for pr29.h and pr29_8z in libidn. 2005-01-01 Simon Josefsson * lib/external/server.c: Consistency. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Validate input better. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Validate upper token length as well. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Add comments. 2005-01-01 Simon Josefsson * lib/external/client.c: Return "" instead of NULL when no authzid. 2005-01-01 Simon Josefsson * tests/.cvsignore: Treat NULL input as empty string. 2005-01-01 Simon Josefsson * tests/Makefile.am, tests/external.c: Add external self test. 2005-01-01 Simon Josefsson * lib/external/server.c: Wait for real token. 2005-01-01 Simon Josefsson * lib/external/server.c: Simplify. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Simplify. 2005-01-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-01-01 Simon Josefsson * gsasl.fms: Add. 2005-01-01 Simon Josefsson * ChangeLog: [no log message] 2005-01-01 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2005-01-01 Simon Josefsson * lib/ChangeLog: [no log message] 2005-01-01 Simon Josefsson * lib/digest-md5/Makefile.am: Fix distcheck. 2005-01-01 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po: Generated. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.4. 2005-01-01 Simon Josefsson * NEWS: Add. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Indent. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-01-01 Simon Josefsson * lib/src/init.c: Prefer CRAM-MD5 over DIGEST-MD5. Decision based on available public analysis that MD5 is broken, but HMAC-MD5 still likely secure, and the lack of public analysis of the consequences of the MD5 break for DIGEST-MD5. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Fix. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Fix. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Fix. 2005-01-01 Simon Josefsson * NEWS: Fix. 2005-01-01 Simon Josefsson * lib/po/ro.po, po/ro.po: Sync with TP. 2005-01-01 Simon Josefsson * NEWS: Add. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Fix. 2005-01-01 Simon Josefsson * lib/gl/lgetdelim.c: Update. 2005-01-01 Simon Josefsson * lib/gl/lgetdelim.c, lib/gl/lgetdelim.h, lib/gl/lgetline.c, lib/gl/lgetline.h: Update. 2005-01-01 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/lgetdelim.m4, lib/gl/m4/lgetline.m4: Update. 2005-01-01 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/iconvme.c, gl/m4/getline.m4, gl/m4/gnulib.m4, gl/m4/strdup.m4, lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/base64.h, lib/gl/lgetdelim.c, lib/gl/lgetdelim.h, lib/gl/lgetline.c, lib/gl/lgetline.h, lib/gl/m4/gnulib.m4, lib/gl/m4/lgetdelim.m4, lib/gl/m4/lgetline.m4, lib/gl/m4/strdup.m4: Update. 2005-01-01 Simon Josefsson * lib/configure.ac: Need lgetline. 2004-12-27 Simon Josefsson * lib/digest-md5/server.c: Use correct constants. 2004-12-27 Simon Josefsson * lib/digest-md5/server.c: Disable qop auth-conf, and ciphers, for now. 2004-12-27 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/tokens.h: Fix warnings. 2004-12-27 Simon Josefsson * lib/src/gsasl.h.in: Add gsasl_simple_getpass. Remove gsasl_md5pwd_get_password. 2004-12-27 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, lib/anonymous/mechinfo.c, lib/cram-md5/mechinfo.c, lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/mechinfo.c, lib/external/server.c, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/login/login.h, lib/login/mechinfo.c, lib/ntlm/mechinfo.c, lib/ntlm/x-ntlm.h, lib/plain/mechinfo.c, lib/plain/server.c, lib/securid/mechinfo.c, lib/src/callback.c, lib/src/gsasl.h.in, lib/src/md5pwd.c, src/callbacks.c, src/callbacks.h, tests/gssapi.c, tests/simple.c: Indent. 2004-12-27 Simon Josefsson * lib/digest-md5/parser.c: Fix comment. 2004-12-27 Simon Josefsson * lib/digest-md5/Makefile.am: Dist README. 2004-12-26 Simon Josefsson * lib/configure.ac: Bump versions. 2004-12-26 Simon Josefsson * lib/NEWS: Add. 2004-12-26 Simon Josefsson * lib/NEWS: Fix. 2004-12-26 Simon Josefsson * lib/NEWS: Add. 2004-12-26 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: Revert and remove qop, maxbuf until we need them. 2004-12-26 Simon Josefsson * doc/gsasl.texi: Revert. 2004-12-26 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-12-26 Simon Josefsson * doc/Makefile.am: Update. 2004-12-22 Simon Josefsson * lib/digest-md5/server.c: Fix comment. 2004-12-22 Simon Josefsson * lib/digest-md5/server.c: Remove debug code. 2004-12-21 Simon Josefsson * src/callbacks.c: Only set realm if entered. 2004-12-21 Simon Josefsson * NEWS: Add. 2004-12-21 Simon Josefsson * src/smtp.c: Fix CRLF. 2004-12-20 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/validate.c: Doc fix. 2004-12-20 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/validate.c: Doc fix. 2004-12-20 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-12-20 Simon Josefsson * lib/digest-md5/README: Fix.F 2004-12-20 Simon Josefsson * lib/plain/server.c: Simplify. 2004-12-20 Simon Josefsson * lib/plain/server.c: Fix mem leak. 2004-12-20 Simon Josefsson * lib/plain/server.c: Typo. 2004-12-20 Simon Josefsson * lib/NEWS: Add. 2004-12-20 Simon Josefsson * lib/plain/server.c: Fix logic. 2004-12-20 Simon Josefsson * lib/plain/server.c: Typo. 2004-12-20 Simon Josefsson * lib/plain/server.c: Reject invalid input. More SASLprep. 2004-12-20 Simon Josefsson * lib/NEWS: Add. 2004-12-20 Simon Josefsson * lib/plain/server.c: SASLprep client string too. 2004-12-20 Simon Josefsson * lib/src/property.c: Handle malloc==NULL. 2004-12-20 Simon Josefsson * tests/.cvsignore: [no log message] 2004-12-20 Simon Josefsson * lib/NEWS, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Deprecate GSASL_INVALID_HANDLE. 2004-12-20 Simon Josefsson * lib/src/xstep.c: Assume sctx. 2004-12-20 Simon Josefsson * lib/NEWS, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/md5pwd.c, lib/src/obsolete.c, tests/Makefile.am, tests/md5file.c, tests/old-md5file.c: Replace gsasl_md5pwd_get_password with gsasl_simple_getpass, and update callers. 2004-12-20 Simon Josefsson * configure.ac, lib/configure.ac, lib/src/Makefile.am, tests/Makefile.am: Add --disable-obsolete. 2004-12-20 Simon Josefsson * lib/plain/server.c: Fix parse check. 2004-12-20 Simon Josefsson * lib/plain/server.c: Use new API. 2004-12-19 Simon Josefsson * tests/Makefile.am: Add. 2004-12-19 Simon Josefsson * tests/digest-md5.c: Rewrite using new API. 2004-12-19 Simon Josefsson * tests/.cvsignore: [no log message] 2004-12-19 Simon Josefsson * tests/old-digest-md5.c: Add. 2004-12-19 Simon Josefsson * tests/digest-md5.c: Work around x86 sparc printf bug. 2004-12-19 Simon Josefsson * lib/digest-md5/validate.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Add FIXME. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Use auth qop. 2004-12-19 Simon Josefsson * lib/digest-md5/session.c: Don't use uint32_t nor htonl. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix warning. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c: Fix uint32_t uses. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am: Need libgl.la. 2004-12-19 Simon Josefsson * lib/NEWS: Fix. 2004-12-19 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-12-19 Simon Josefsson * lib/configure.ac: Re-enable DIGEST-MD5. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/parser.c, lib/digest-md5/server.c: Fix warnings. 2004-12-19 Simon Josefsson * lib/digest-md5/digesthmac.h: Add doc. 2004-12-19 Simon Josefsson * lib/digest-md5/README, lib/digest-md5/client.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/free.c, lib/digest-md5/parser.c, lib/digest-md5/tokens.h: Use static buffer for response->rspauth. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/shared.c, lib/digest-md5/shared.h: Remove. 2004-12-19 Simon Josefsson * lib/digest-md5/server.c: Rewrite, unfinished, but still probably an improvement. 2004-12-19 Simon Josefsson * lib/digest-md5/validate.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Simplify. 2004-12-19 Simon Josefsson * lib/digest-md5/digesthmac.c: Zero terminate. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h: Modularize session.*. 2004-12-19 Simon Josefsson * lib/digest-md5/digesthmac.h, lib/digest-md5/tokens.h: Move. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/shared.h: Remove. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/server.c: Fix API. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Rewrite, unfinished but probably still an improvement. 2004-12-19 Simon Josefsson * lib/digest-md5/shared.c, lib/digest-md5/shared.h: Remove. 2004-12-19 Simon Josefsson * lib/digest-md5/server.c: Use new API (temporarily). 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/test-parser.c: Modularize digest computation into digesthmac.*. 2004-12-19 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/README: Fix. 2004-12-19 Simon Josefsson * lib/src/property.c: Clear buffer before calling obsolete callbacks, for buggy callbacks. 2004-12-19 Simon Josefsson * lib/src/xfinish.c: Free more. 2004-12-19 Simon Josefsson * gl/iconvme.c, gl/m4/getline.m4, gl/m4/strdup.m4, lib/gl/alloca_.h: Update. 2004-12-19 Simon Josefsson * src/callbacks.c: Add realm callback. 2004-12-19 Simon Josefsson * lib/src/gsasl.h.in: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/free.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/test-parser.c: Use string length indicator in parser API. 2004-12-19 Simon Josefsson * lib/digest-md5/printer.c: Typo. 2004-12-19 Simon Josefsson * src/gsasl.ggo: No multiple realms. 2004-12-19 Simon Josefsson * doc/gsasl.texi: Add. 2004-12-19 Simon Josefsson * lib/src/internal.h: Typo. 2004-12-19 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Add qop property. 2004-12-19 Simon Josefsson * lib/gl/.cvsignore: [no log message] 2004-12-19 Simon Josefsson * lib/digest-md5/printer.c: Fix. 2004-12-19 Simon Josefsson * src/callbacks.c: Fix callback for service/hostname. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: fix. 2004-12-19 Simon Josefsson * lib/digest-md5/printer.c: Validate input. Fix printf call. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/free.c, lib/digest-md5/free.h: Add functions to deallocate DIGEST-MD5 token structures. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/validate.c, lib/digest-md5/validate.h: Move more validation logic from parser.c to validate.*. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Make response->response array. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Test more. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/printer.c, lib/digest-md5/printer.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Fix. 2004-12-19 Simon Josefsson * lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/m4/alloca.m4, lib/gl/m4/codeset.m4, lib/gl/m4/eoverflow.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/isc-posix.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/longdouble.m4, lib/gl/m4/longlong.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/signed.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/strdup.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/vasprintf.h, lib/gl/xsize.h: Add. 2004-12-19 Simon Josefsson * lib/configure.ac: Add vasprintf module, because DIGEST-MD5 need asprintf. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/validate.c: Move validate functions to separate file. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Fix qop/cipher types. 2004-12-19 Simon Josefsson * lib/digest-md5/printer.h, lib/digest-md5/validate.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Parse qop/cipher in response. 2004-12-19 Simon Josefsson * lib/digest-md5/README: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Handle qop/cipher in challenge. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Test more. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Use new API. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Use new API. 2004-12-19 Simon Josefsson * lib/digest-md5/getsubopt.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Use 'static'. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Remove getsubopt (in getsubopt.c now). 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am: Add tokens.h. 2004-12-19 Simon Josefsson * lib/digest-md5/getsubopt.c: Rename, and use prototype from parser.h. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.h: Use tokens.h. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/parser.h: Add. 2004-12-18 Simon Josefsson * lib/digest-md5/README: Fix. 2004-12-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/test-parser.c: Add. 2004-12-18 Simon Josefsson * lib/digest-md5/README: Add. 2004-12-18 Simon Josefsson * lib/digest-md5/.cvsignore: [no log message] 2004-12-17 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/test-parser.c: Add, unfinished. 2004-12-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-12-16 Simon Josefsson * gl/iconvme.c: Update. 2004-12-15 Simon Josefsson * gsasl.fms: Fix. 2004-12-15 Simon Josefsson * gsasl.fms: Fix. 2004-12-15 Simon Josefsson * ChangeLog: [no log message] 2004-12-15 Simon Josefsson * lib/ChangeLog: [no log message] 2004-12-15 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-12-15 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.3. 2004-12-15 Simon Josefsson * lib/NEWS: Add. 2004-12-15 Simon Josefsson * NEWS: Add.Add. 2004-12-15 Simon Josefsson * NEWS: Add. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Fix. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Fix. 2004-12-15 Simon Josefsson * lib/cram-md5/client.c: Reorder authid/password queries, tiny patch from Sergey Poznyakoff . 2004-12-15 Simon Josefsson * tests/Makefile.am: Simplify. 2004-12-15 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po: New message. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Revert. 2004-12-15 Simon Josefsson * lib/configure.ac: Rename from saslprep to stringprep, for backwards compatibility. 2004-12-15 Simon Josefsson * lib/configure.ac: Output more info. 2004-12-15 Simon Josefsson * lib/configure.ac: Typo. 2004-12-15 Simon Josefsson * lib/NEWS: Add. 2004-12-15 Simon Josefsson * lib/digest-md5/server.c: Fix. 2004-12-15 Simon Josefsson * lib/digest-md5/server.c: Don't NFKC. Fix use-after-free. 2004-12-15 Simon Josefsson * lib/digest-md5/client.c: Don't NFKC for now. 2004-12-15 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/server.c: Update SASLprep API. 2004-12-15 Simon Josefsson * lib/src/obsolete.c: Just fail if libidn isn't installed. 2004-12-15 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Deprecate GSASL_UNICODE_NORMALIZATION_ERROR. 2004-12-15 Simon Josefsson * lib/src/error.c: Move. 2004-12-15 Simon Josefsson * lib/NEWS, lib/src/error.c: Add. 2004-12-15 Simon Josefsson * lib/src/saslprep.c: Work (as much as possible) when libidn isn't available. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Fix. 2004-12-15 Simon Josefsson * lib/configure.ac: Fix libidn. 2004-12-15 Simon Josefsson * lib/Makefile.am, lib/NEWS, lib/configure.ac, lib/libidn/.cvsignore, lib/libidn/Makefile.am, lib/libidn/README, lib/libidn/gunibreak.h, lib/libidn/gunicomp.h, lib/libidn/gunidecomp.h, lib/libidn/nfkc.c, lib/libidn/profiles.c, lib/libidn/rfc3454.c, lib/libidn/stringprep.c, lib/libidn/stringprep.h, lib/libidn/toutf8.c, lib/src/Makefile.am: Revert LibIDN dependency stuff. 2004-12-15 Simon Josefsson * gl/iconvme.c: Fix. 2004-12-15 Simon Josefsson * src/callbacks.c: Use new iconv API. 2004-12-15 Simon Josefsson * gl/Makefile.am, gl/dummy.c: Remove. 2004-12-15 Simon Josefsson * configure.ac: Dummy not needed. 2004-12-15 Simon Josefsson * gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib.m4, lib/gl/Makefile.am, lib/gl/dummy.c, lib/gl/m4/gnulib.m4: Update. 2004-12-15 Simon Josefsson * lib/configure.ac: Dummy not needed, base64 always enabled. 2004-12-15 Simon Josefsson * lib/src/gsasl.h.in: Remove GSASL_CANNOT_VALIDATE. 2004-12-15 Simon Josefsson * lib/login/server.c, lib/plain/server.c: Fall back to internal authentication logic if GSASL_VALIDATE_SIMPLE leads to GSASL_NO_CALLBACK. 2004-12-15 Simon Josefsson * tests/simple.c: Remove authzid from LOGIN test vectors. 2004-12-15 Simon Josefsson * lib/src/callback.c: Zero terminate password. 2004-12-14 Simon Josefsson * lib/NEWS: Fix. 2004-12-14 Simon Josefsson * lib/NEWS: Add. 2004-12-14 Simon Josefsson * lib/src/callback.c: Add 'break' in switch-case. 2004-12-14 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Handle GSASL_VALIDATE_SIMPLE and GSASL_PASSWORD, tiny patch from Sergey Poznyakoff . 2004-12-14 Simon Josefsson * lib/login/server.c, lib/plain/server.c: Invert password validation logic, tiny patch from Sergey Poznyakoff . 2004-12-12 Simon Josefsson * gl/iconvme.c, gl/iconvme.h: Update. 2004-12-10 Simon Josefsson * src/Makefile.am: Revert. 2004-12-10 Simon Josefsson * gl/Makefile.am: Fix. 2004-12-10 Simon Josefsson * gl/Makefile.am, gl/iconvme.c: Update. 2004-12-10 Simon Josefsson * src/Makefile.am: Link with libiconv. 2004-12-10 Simon Josefsson * src/callbacks.c: Use iconvme instead libidn. 2004-12-10 Simon Josefsson * src/internal.h: Remove. 2004-12-10 Simon Josefsson * configure.ac, gl/Makefile.am, gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib.m4, gl/m4/iconvme.m4: Add iconvme. 2004-11-30 Simon Josefsson * lib/NEWS: Add. 2004-11-30 Simon Josefsson * doc/gsasl.texi: Add GSASL_REALM. 2004-11-30 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Add realm property. 2004-11-30 Simon Josefsson * lib/ntlm/ntlm.c: Set domain field to GSASL_REALM property value, because some servers appear to need non-empty domain fields, reported by Martin Lambers . 2004-11-30 Simon Josefsson * gl/m4/restrict.m4, lib/gl/base64.c: Update. 2004-11-30 Simon Josefsson * lib/configure.ac: More idn checks. 2004-11-30 Simon Josefsson * lib/configure.ac: Fix. 2004-11-30 Simon Josefsson * lib/configure.ac: Libidn need ICONV_CONST. 2004-11-30 Simon Josefsson * lib/gl/m4/restrict.m4: Add. 2004-11-30 Simon Josefsson * NEWS: Fix. 2004-11-30 Simon Josefsson * doc/gsasl.texi: Sync example. 2004-11-30 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Fix, for new base64 API. 2004-11-30 Simon Josefsson * lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/base64.h, lib/gl/m4/base64.m4, lib/gl/m4/gnulib.m4: Update. 2004-11-30 Simon Josefsson * tests/simple.c: Complain if aborting early. 2004-11-30 Simon Josefsson * lib/src/xstep.c: Don't clobber return code, reported by Martin Lambers . 2004-11-30 Simon Josefsson * doc/gsasl.texi, lib/NEWS: Add. 2004-11-30 Simon Josefsson * lib/login/client.c: Cleanup. 2004-11-30 Simon Josefsson * tests/simple.c: Fix LOGIN test vector. 2004-11-30 Simon Josefsson * lib/login/client.c: Don't even use SASLprep, SASLprep should be on server side. 2004-11-30 Simon Josefsson * lib/login/client.c: Use SASLprep, not NFKC. 2004-11-30 Simon Josefsson * lib/NEWS: Add. 2004-11-30 Simon Josefsson * lib/plain/client.c: Don't NFKC, align with draft-ietf-sasl-plain-05. 2004-11-30 Simon Josefsson * tests/simple.c: Fix. 2004-11-30 Simon Josefsson * NEWS: Add. 2004-11-30 Simon Josefsson * doc/Makefile.am: Update. 2004-11-30 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-30 Simon Josefsson * tests/simple.c: Don't use lib/config.h. 2004-11-30 Simon Josefsson * tests/Makefile.am: Ignore thread problems in libidn files. 2004-11-30 Simon Josefsson * lib/NEWS, lib/src/Makefile.am, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c, lib/src/stringprep.c: Obsolete gsasl_stringprep_nfkc, gsasl_stringprep_saslprep, and gsasl_stringprep_trace. Use gsasl_saslprep instead. 2004-11-30 Simon Josefsson * lib/src/saslprep.c: Improve API. 2004-11-30 Simon Josefsson * tests/simple.c: Fix. 2004-11-30 Simon Josefsson * lib/libidn/.cvsignore: [no log message] 2004-11-30 Simon Josefsson * lib/Makefile.am, lib/NEWS, lib/configure.ac, lib/libidn/Makefile.am, lib/libidn/README, lib/libidn/gunibreak.h, lib/libidn/gunicomp.h, lib/libidn/gunidecomp.h, lib/libidn/nfkc.c, lib/libidn/profiles.c, lib/libidn/rfc3454.c, lib/libidn/stringprep.c, lib/libidn/stringprep.h, lib/libidn/toutf8.c, lib/src/Makefile.am, lib/src/saslprep.c, lib/src/stringprep-no.c, lib/src/stringprep.c: Add copy of libidn, so we always have SASLprep functionality. 2004-11-30 Simon Josefsson * tests/digest-md5.c: Don't do anything if DIGEST-MD5 isn't supported. 2004-11-30 Simon Josefsson * tests/simple.c: Fix LOGIN tests. 2004-11-30 Simon Josefsson * src/callbacks.c, src/callbacks.h, src/gsasl.c: Use new API (server mode not ported yet). 2004-11-30 Simon Josefsson * lib/src/Makefile.am: Add saslprep.c. 2004-11-30 Simon Josefsson * lib/src/saslprep.c: New file. 2004-11-30 Simon Josefsson * lib/src/gsasl.h.in: Add gsasl_saslprep. 2004-11-30 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-11-30 Simon Josefsson * lib/configure.ac: Disable DIGEST-MD5 by default, until it is rewritten. 2004-11-30 Simon Josefsson * lib/src/base64.c: Use new API. 2004-11-30 Simon Josefsson * lib/gl/base64.c: Update. 2004-11-29 Simon Josefsson * lib/NEWS: Add. 2004-11-29 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2004-11-29 Simon Josefsson * lib/plain/client.c: Initialize length variables, fixes problem when no AUTHZID is available. 2004-11-29 Simon Josefsson * lib/login/client.c: Use AUTHID, not AUTHZID, reported by Martin Lambers . 2004-11-29 Simon Josefsson * THANKS, lib/NEWS: Add. 2004-11-29 Simon Josefsson * lib/gl/base64.c, lib/gl/base64.h: Update. 2004-11-29 Simon Josefsson * gsasl.fms: 0.2.2. 2004-11-29 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-11-29 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.2. 2004-11-29 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-11-29 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-11-29 Simon Josefsson * lib/THANKS: Fix. 2004-11-28 Simon Josefsson * lib/securid/client.c: Typo. 2004-11-28 Simon Josefsson * lib/securid/client.c: Simplify. 2004-11-28 Simon Josefsson * lib/src/base64.c, lib/src/obsolete.c: Doc fix. 2004-11-28 Simon Josefsson * lib/NEWS: Fix. 2004-11-28 Simon Josefsson * gl/getopt_.h, gl/m4/getopt.m4: Update. 2004-11-28 Simon Josefsson * doc/Makefile.am: Update. 2004-11-28 Simon Josefsson * lib/gl/base64.c: Update. 2004-11-28 Simon Josefsson * lib/src/base64.c: Doc fix. 2004-11-28 Simon Josefsson * lib/src/base64.c: Cosmetic fix. 2004-11-28 Simon Josefsson * lib/gl/base64.c: Update. 2004-11-28 Simon Josefsson * lib/src/base64.c: Use new API. 2004-11-28 Simon Josefsson * lib/gl/base64.c, lib/gl/base64.h: Update. 2004-11-28 Simon Josefsson * lib/src/xstep.c: Simplify. 2004-11-28 Simon Josefsson * lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/m4/{xsize.m4 => base64.m4}, lib/gl/m4/gnulib.m4, lib/gl/xsize.h: Update. 2004-11-27 Simon Josefsson * doc/Makefile.am: Update. 2004-11-27 Simon Josefsson * lib/src/base64.c, lib/src/obsolete.c, lib/src/property.c: Indent. 2004-11-27 Simon Josefsson * lib/NEWS: Add. 2004-11-27 Simon Josefsson * lib/src/xstep.c: Use new base64 API. 2004-11-27 Simon Josefsson * lib/src/base64.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c: Use gnulib for base64 support. 2004-11-27 Simon Josefsson * lib/securid/server.c: Fix read out of bounds error. 2004-11-27 Simon Josefsson * lib/NEWS: Fix. 2004-11-27 Simon Josefsson * lib/cram-md5/digest.c: Use challengelen. 2004-11-27 Simon Josefsson * lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/m4/gnulib.m4, lib/gl/m4/size_max.m4, lib/gl/m4/xsize.m4, lib/gl/xsize.h: Add. 2004-11-26 Simon Josefsson * lib/gl/base64.c: Fix. 2004-11-26 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/base64.h, lib/gl/m4/gnulib.m4, lib/gl/m4/stdbool.m4, lib/gl/stdbool_.h: Add base64. 2004-11-25 Simon Josefsson * lib/THANKS: Simplify. 2004-11-25 Simon Josefsson * THANKS: Add. 2004-11-25 Simon Josefsson * THANKS: Make cronological. 2004-11-25 Simon Josefsson * tests/Makefile.am: Fix AM_CPPFLAGS, so objdir != srcdir builds work, tiny patch from Mike Castle . 2004-11-23 Simon Josefsson * doc/gdoc: Normalize warning messages. 2004-11-23 Simon Josefsson * lib/po/pl.po: Update. 2004-11-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Try without line numbers. 2004-11-23 Simon Josefsson * doc/gdoc: Sync with libidn. 2004-11-23 Simon Josefsson * lib/po/fr.po: Update. 2004-11-23 Simon Josefsson * lib/po/LINGUAS, lib/po/ga.po: Add. 2004-11-23 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po: Sync with TP. 2004-11-23 Simon Josefsson * lib/po/Makevars, po/LINGUAS, po/Makevars: Fix. 2004-11-23 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-11-22 Simon Josefsson * gl/getopt_.h: Update. 2004-11-20 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-11-20 Simon Josefsson * lib/NEWS: Add. 2004-11-19 Simon Josefsson * lib/src/gsasl.h.in, lib/src/init.c: Doc fix. 2004-11-19 Simon Josefsson * lib/src/error.c, lib/src/suggest.c, lib/src/supportp.c: Doc fix. 2004-11-19 Simon Josefsson * tests/simple.c: Fix valgrins warnings. 2004-11-19 Simon Josefsson * lib/src/callback.c: Fix valgrind warnings. 2004-11-19 Simon Josefsson * lib/cram-md5/server.c: Fix mem leak. 2004-11-19 Simon Josefsson * NEWS, lib/NEWS: Change headings. 2004-11-19 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-11-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getopt.c, gl/getopt1.c, gl/getopt_.h, gl/getopt_int.h, gl/m4/getaddrinfo.m4, gl/m4/getopt.m4, gl/m4/sockpfaf.m4, gl/progname.c, gl/progname.h: Update. 2004-11-19 Simon Josefsson * gsasl.fms: Add. 2004-11-19 Simon Josefsson * ChangeLog: [no log message] 2004-11-19 Simon Josefsson * lib/ChangeLog: [no log message] 2004-11-19 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-11-19 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.1. 2004-11-19 Simon Josefsson * lib/NEWS: Add. 2004-11-19 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-11-19 Simon Josefsson * lib/NEWS: Add. 2004-11-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c: Fix encode/decode. 2004-11-18 Simon Josefsson * lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Obsolete GSASL_CANNOT_GET_CTX. 2004-11-18 Simon Josefsson * doc/Makefile.am: Update. 2004-11-18 Simon Josefsson * lib/src/callback.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c: Add CPP definition GSASL_NO_OBSOLETE to hide obsolete code (md5pwd.c still todo). 2004-11-18 Simon Josefsson * doc/Makefile.am: Update. 2004-11-18 Simon Josefsson * lib/src/Makefile.am, lib/src/common.c, lib/src/init.c: Collapse common.c into init.c. 2004-11-18 Simon Josefsson * doc/reference/gsasl-docs.sgml: Fix. 2004-11-18 Simon Josefsson * NEWS: Add. 2004-11-18 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2004-11-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-18 Simon Josefsson * lib/src/Makefile.am, lib/src/callback-c.c, lib/src/callback-s.c, lib/src/obsolete.c: Move obsolete callback interface to obsolete.c. 2004-11-18 Simon Josefsson * doc/reference/gsasl-docs.sgml: Fix. 2004-11-13 Simon Josefsson * doc/gsasl.texi: Typo. 2004-11-07 Simon Josefsson * README-alpha, lib/README-alpha: Fix. 2004-11-07 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-11-07 Simon Josefsson * gsasl.fms: Add. 2004-11-07 Simon Josefsson * AUTHORS: Fix. 2004-11-07 Simon Josefsson * doc/gendocs_template: Sync with texinfo. 2004-11-07 Simon Josefsson * doc/gendocs_template: Fix. 2004-11-07 Simon Josefsson * Makefile.am: Fix release target. 2004-11-07 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-11-07 Simon Josefsson * Makefile.am: Fix release target. 2004-11-07 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-11-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.0. 2004-11-07 Simon Josefsson * tests/Makefile.am, tests/md5file.c: Fix distcheck. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * lib/ntlm/ntlm.c: Use authid instead of authzid. 2004-11-07 Simon Josefsson * tests/simple.c: Fix NTLM. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * doc/.cvsignore: [no log message] 2004-11-07 Simon Josefsson * doc/.cvsignore: [no log message] 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml: Add image. 2004-11-07 Simon Josefsson * lib/NEWS: Fix. 2004-11-07 Simon Josefsson * lib/src/property.c: Doc fix. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Improve typography. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Add image. Fixes. 2004-11-07 Simon Josefsson * doc/Makefile.am, doc/abstraction.eps: Add image. 2004-11-05 Simon Josefsson * doc/gsasl.texi: Typo. 2004-11-05 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-03 Simon Josefsson * gl/getpass.c, gl/m4/getpass.m4: Update. 2004-10-31 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix mem leak. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Revert. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Only use __attribute__ with gcc 3.1 or later. 2004-10-31 Simon Josefsson * lib/configure.ac: Invert MIT vs Heimdal detection logic. 2004-10-31 Simon Josefsson * lib/src/Makefile.am: Fix -export-symbols-regex call. 2004-10-31 Simon Josefsson * tests/Makefile.am: Dist cram-md5.pwd. 2004-10-31 Simon Josefsson * lib/gl/gettext.h, lib/gl/m4/gnulib.m4: Update. 2004-10-31 Simon Josefsson * lib/configure.ac: Use gnulib for gettext. 2004-10-31 Simon Josefsson * lib/gl/Makefile.am: Generate. 2004-10-31 Simon Josefsson * NEWS, lib/NEWS: Enable flyspell too. 2004-10-31 Simon Josefsson * lib/NEWS: Typo. 2004-10-31 Simon Josefsson * AUTHORS, lib/AUTHORS: Fix PGP key. 2004-10-31 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix PDF output. 2004-10-31 Simon Josefsson * Makefile.am: No more doxygen refman.ps. 2004-10-31 Simon Josefsson * doc/doxygen/Doxyfile.in: Update. 2004-10-31 Simon Josefsson * src/callbacks.c: Typo. 2004-10-31 Simon Josefsson * src/callbacks.c: Be specific. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Move around. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Fix properties. 2004-10-31 Simon Josefsson * doc/gdoc-error: Markup fix. 2004-10-31 Simon Josefsson * lib/src/gsasl.h.in: Typo. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Add. 2004-10-31 Simon Josefsson * doc/Makefile.am: Update. 2004-10-31 Simon Josefsson * doc/reference/tmpl/.cvsignore: [no log message] 2004-10-31 Simon Josefsson * doc/reference/tmpl/gsasl-unused.sgml: Add (dummy file, to shut up gtk-doc.make). 2004-10-31 Simon Josefsson * lib/src/done.c: Make it compile. 2004-10-31 Simon Josefsson * lib/src/internal.h: Doc fix. 2004-10-31 Simon Josefsson * lib/src/xfinish.c: Fix mem leaks. 2004-10-31 Simon Josefsson * doc/.cvsignore: [no log message] 2004-10-31 Simon Josefsson * doc/controlflow.eps, doc/controlflow2.eps: Add, dia --export is buggy. 2004-10-31 Simon Josefsson * : Update. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Fix, for removed gsasl_property.*global. 2004-10-31 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Remove *_global property stuff. 2004-10-31 Simon Josefsson * lib/NEWS: Fix. 2004-10-31 Simon Josefsson * examples/client.c: Remove gsasl_property.*global. 2004-10-31 Simon Josefsson * doc/Makefile.am, lib/gssapi/server.c, lib/src/gsasl.h.in, lib/src/property.c: Rename gsasl_property_lset to gsasl_property_set_raw. 2004-10-31 Simon Josefsson * lib/NEWS: Add. 2004-10-31 Simon Josefsson * lib/login/server.c, lib/plain/server.c: Rename property type. 2004-10-31 Simon Josefsson * lib/src/gsasl.h.in: (Gsasl_property): Remove unused properties, for now. 2004-10-31 Simon Josefsson * lib/gssapi/client.c, lib/gssapi/server.c: Fix warnings. 2004-10-31 Simon Josefsson * NEWS: Fix. 2004-10-31 Simon Josefsson * NEWS, lib/NEWS: Fix. 2004-10-31 Simon Josefsson * lib/NEWS: Add. 2004-10-31 Simon Josefsson * lib/src/Makefile.am: Limit exported symbols to ^gsasl. 2004-10-31 Simon Josefsson * lib/src/xstep.c: Doc fix. 2004-10-31 Simon Josefsson * autogen.sh: Add comment. 2004-10-31 Simon Josefsson * autogen.sh: Add gtkdocize. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Move callback functions last too, to improve GTK-DOC output. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Move callback typedef's last. 2004-10-31 Simon Josefsson * lib/src/gsasl.h.in: Doc fix. 2004-10-31 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add index. 2004-10-31 Simon Josefsson * lib/src/callback.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c: Doc fix. 2004-10-31 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2004-10-29 Simon Josefsson * lib/src/version.c: Doc fix. 2004-10-28 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-04.txt, doc/specification/draft-ietf-sasl-rfc2222bis-09.txt: Add. 2004-10-28 Simon Josefsson * doc/gdoc: Support -include. Replace struct marker from & to #, to align with modern GTK-DOC. Improve man and texinfo output. 2004-10-26 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-04.txt, doc/specification/draft-ietf-sasl-plain-05.txt: Add. 2004-10-24 Simon Josefsson * doc/reference/Makefile.am: Add images. 2004-10-24 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add. 2004-10-24 Simon Josefsson * NEWS: Add. 2004-10-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-10-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-10-24 Simon Josefsson * doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml, doc/reference/gsasl.types, doc/reference/gtk-doc.make: Revamp. 2004-10-24 Simon Josefsson * Makefile.am: (DISTCHECK_CONFIGURE_FLAGS): Add --enable-gtk-doc. 2004-10-24 Simon Josefsson * Makefile.am, lib/Makefile.am: (update-po): Fix. 2004-10-24 Simon Josefsson * po/en@boldquot.po, po/en@quot.po: Remove. 2004-10-24 Simon Josefsson * po/LINGUAS: Sync with TP. 2004-10-24 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/LINGUAS: Sync with TP. 2004-10-24 Simon Josefsson * lib/po/LINGUAS, po/LINGUAS, po/de.po, po/en@boldquot.po, po/en@quot.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-10-24 Simon Josefsson * po/LINGUAS: Sync with TP. 2004-10-15 Simon Josefsson * lib/gl/Makefile.am: Update 2004-10-15 Simon Josefsson * doc/Makefile.am: Generated. 2004-10-15 Simon Josefsson * gl/Makefile.am, gl/m4/getopt.m4, gl/m4/gnulib.m4: Update. 2004-10-15 Simon Josefsson * gl/Makefile.am: Update. 2004-10-15 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/getndelim2.c, gl/getpass.c, gl/m4/gnulib.m4, gl/m4/unlocked-io.m4, gl/unlocked-io.h: Update. 2004-10-14 Simon Josefsson * tests/gssapi.c: Fix. 2004-10-14 Simon Josefsson * lib/src/gsasl.h.in: Fix. 2004-10-14 Simon Josefsson * tests/.cvsignore: [no log message] 2004-10-14 Simon Josefsson * tests/gssapi.c: Add. 2004-10-14 Simon Josefsson * tests/old-gssapi.c: Typo. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Don't use fixed size buffers. Use new property API. 2004-10-14 Simon Josefsson * tests/old-gssapi.c: Make it work. 2004-10-14 Simon Josefsson * lib/src/gsasl.h.in, lib/src/property.c: (gsasl_property_lset): Add. 2004-10-14 Simon Josefsson * lib/src/internal.h: Add. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Use new callback API. 2004-10-14 Simon Josefsson * lib/src/property.c: Support GSASL_GSSAPI_DISPLAY_NAME. 2004-10-14 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Support deprecated GSASL_VALIDATE_GSSAPI. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Avoid old-style service callback. 2004-10-14 Simon Josefsson * lib/NEWS: Add. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Fix memory leak. 2004-10-14 Simon Josefsson * lib/gssapi/client.c: Fix memory leak. 2004-10-14 Simon Josefsson * lib/gssapi/client.c, tests/old-gssapi.c: Fix crash. 2004-10-14 Simon Josefsson * tests/old-gssapi.c: Fix. 2004-10-14 Simon Josefsson * tests/.cvsignore: [no log message] 2004-10-14 Simon Josefsson * tests/Makefile.am: Remove old-gssapi for now. 2004-10-14 Simon Josefsson * tests/Makefile.am, tests/digest-md5.c, tests/gssapi.key, tests/gssapi.tkt, tests/md5file.c, tests/old-gssapi.c: Add. 2004-10-14 Simon Josefsson * lib/gssapi/client.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Support service and hostname properties. 2004-10-14 Simon Josefsson * tests/Makefile.am: Remove duplicated stuff. 2004-10-13 Simon Josefsson * lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/server.c, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/external/client.c, lib/external/server.c, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/login/client.c, lib/login/login.h, lib/login/server.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/client.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/client.c, lib/securid/securid.h, lib/securid/server.c, lib/src/obsolete.c, tests/cram-md5.c: Fix warnings. 2004-10-13 Simon Josefsson * lib/src/gsasl-compat.h: Don't deprecate the types that are used in this file. 2004-10-13 Simon Josefsson * lib/external/external.h: Fix warning. 2004-10-13 Simon Josefsson * lib/src/gsasl-compat.h: Use GCC __attribute__((deprecated)), if available, to generate warnings on use. 2004-10-13 Simon Josefsson * tests/.cvsignore: [no log message] 2004-10-13 Simon Josefsson * tests/Makefile.am, tests/cram-md5.c, tests/old-cram-md5.c, tests/utils.c: Add new cram-md5 test. 2004-10-12 Simon Josefsson * doc/gsasl.texi: Typo. 2004-10-12 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-04 Simon Josefsson * doc/.cvsignore: [no log message] 2004-10-04 Simon Josefsson * doc/Makefile.am: Add. 2004-10-04 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, lib/digest-md5/getsubopt.c, lib/digest-md5/shared.c, lib/digest-md5/shared.h, lib/plain/client.c: Fix warnings. 2004-10-04 Simon Josefsson * doc/Makefile.am: Generated. 2004-10-04 Simon Josefsson * lib/digest-md5/server.c, lib/digest-md5/shared.c, lib/digest-md5/shared.h: Fix warnings. 2004-10-04 Simon Josefsson * lib/digest-md5/getsubopt.c: Fix warning. 2004-10-04 Simon Josefsson * lib/NEWS: Add. 2004-10-04 Simon Josefsson * lib/NEWS, lib/src/gsasl-compat.h, lib/src/obsolete.c: (gsasl_server_suggest_mechanism): Add, but as deprecated, for binary compatibility. 2004-10-04 Simon Josefsson * lib/src/gsasl.h.in: Typo. 2004-10-04 Simon Josefsson * lib/NEWS, lib/src/gsasl.h.in, lib/src/suggest.c: (gsasl_server_suggest_mechanism): Remove. 2004-10-04 Simon Josefsson * : Update. 2004-10-04 Simon Josefsson * : Update. 2004-10-04 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-04 Simon Josefsson * examples/client-mech.c: Typ. 2004-10-04 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-04 Simon Josefsson * doc/gsasl.texi: (Using the Library): Rewrite. 2004-10-03 Simon Josefsson * examples/client-callback.c, examples/client-serverfirst.c, examples/client.c: Fix. 2004-10-03 Simon Josefsson * doc/Makefile.am: Add. 2004-10-03 Simon Josefsson * doc/.cvsignore: [no log message] 2004-10-03 Simon Josefsson * lib/src/init.c: Doc fix. 2004-10-03 Simon Josefsson * doc/Makefile.am: Fix. 2004-10-03 Simon Josefsson * doc/gsasl.texi: Add. 2004-10-03 Simon Josefsson * lib/NEWS, lib/anonymous/client.c, lib/anonymous/server.c, lib/securid/server.c, lib/src/callback.c, lib/src/gsasl.h.in, lib/src/property.c: Cleanup properties. 2004-10-03 Simon Josefsson * lib/external/server.c: Clear authzid. 2004-09-30 Simon Josefsson * doc/gsasl.texi: Fix. 2004-09-30 Simon Josefsson * : Update. 2004-09-30 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Fix. 2004-09-30 Simon Josefsson * doc/.cvsignore: [no log message] 2004-09-30 Simon Josefsson * doc/Makefile.am, doc/gsasl.texi: Add. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * doc/gsasl.texi, lib/src/callback.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/obsolete.c: Simplify callback hook. 2004-09-30 Simon Josefsson * lib/NEWS: Fix. 2004-09-30 Simon Josefsson * lib/src/gsasl.h.in: Doc fix. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * lib/NEWS: Fix. 2004-09-30 Simon Josefsson * examples/client-callback.c, lib/anonymous/server.c, lib/external/server.c, lib/login/server.c, lib/plain/server.c, lib/securid/server.c, lib/src/callback.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Simplify callbacks, now there is only one application callback (the global). 2004-09-30 Simon Josefsson * doc/gsasl.texi: Fix. 2004-09-30 Simon Josefsson * NEWS: Add. 2004-09-30 Simon Josefsson * lib/src/gsasl-compat.h: Typo. 2004-09-30 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Obsolete some error codes. 2004-09-30 Simon Josefsson * tests/simple.c: Update, for libntlm 0.3.6. 2004-09-30 Simon Josefsson * doc/Makefile.am, doc/gsasl-example1.c: Remove. 2004-09-30 Simon Josefsson * Makefile.am, configure.ac, doc/gsasl.texi, examples/.cvsignore, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Add examples. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * lib/src/property.c: (gsasl_property_fast, gsasl_property_fast_global): Fix crashes on NULL input. 2004-09-30 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Give sctx to global callback. 2004-09-30 Simon Josefsson * lib/plain/client.c, lib/securid/client.c: Don't fail on missing authzid. 2004-09-29 Simon Josefsson * NEWS, tests/Makefile.am, tests/md5file.c, tests/utils.c: Add. 2004-09-29 Simon Josefsson * tests/.cvsignore: [no log message] 2004-09-29 Simon Josefsson * tests/cram-md5.pwd, tests/utils.c, tests/utils.h: Add. 2004-09-29 Simon Josefsson * gl/Makefile.am, gl/dummy.c, gl/m4/gnulib.m4, gl/progname.h, lib/gl/Makefile.am, lib/gl/dummy.c, lib/gl/m4/gnulib.m4: Update. 2004-09-28 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/dummy.c, lib/gl/m4/gnulib.m4, lib/gl/m4/strdup.m4, lib/gl/strdup.c, lib/gl/strdup.h: Use new GNULib. 2004-09-26 Simon Josefsson * lib/NEWS, lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/crypto/Makefile.am, lib/digest-md5/Makefile.am, lib/digest-md5/shared.h, lib/external/Makefile.am, lib/gl/Makefile.am, lib/gl/m4/strdup.m4, lib/gl/strdup.c, lib/gl/strdup.h, lib/gssapi/Makefile.am, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/shared.h, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am, tests/Makefile.am: Use Lesser GNULib. 2004-09-24 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Generated. 2004-09-24 Simon Josefsson * NEWS, lib/NEWS: Fix. 2004-09-24 Simon Josefsson * configure.ac, lib/configure.ac: Bump versions. 2004-09-24 Simon Josefsson * lib/src/gsasl-mech.h, lib/src/gsasl.h.in: Move. 2004-09-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-09-24 Simon Josefsson * doc/reference/Makefile.am: Add. 2004-09-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-09-24 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Add gsasl-mech. 2004-09-24 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/shared.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/shared.h, lib/gssapi/x-gssapi.h, lib/login/client.c, lib/login/login.h, lib/login/server.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h: Avoid use of internal.h. 2004-09-24 Simon Josefsson * lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/login/client.c, lib/login/login.h, lib/login/server.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/securid/client.c, lib/securid/securid.h, lib/src/gsasl-mech.h, lib/src/xfinish.c: Make mechanism finish function return void. 2004-09-24 Simon Josefsson * lib/src/listmech.c: Cleanup. 2004-09-24 Simon Josefsson * lib/src/listmech.c: Use new API. 2004-09-24 Simon Josefsson * lib/anonymous/anonymous.h: Indent. 2004-09-24 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/mechinfo.c, lib/cram-md5/Makefile.am, lib/cram-md5/cram-md5.h, lib/cram-md5/mechinfo.c, lib/digest-md5/Makefile.am, lib/digest-md5/digest-md5.h, lib/digest-md5/mechinfo.c, lib/external/Makefile.am, lib/external/external.h, lib/external/mechinfo.c, lib/gssapi/Makefile.am, lib/gssapi/mechinfo.c, lib/gssapi/x-gssapi.h, lib/login/Makefile.am, lib/login/login.h, lib/login/mechinfo.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/x-ntlm.h, lib/plain/Makefile.am, lib/plain/mechinfo.c, lib/plain/plain.h, lib/securid/Makefile.am, lib/securid/mechinfo.c, lib/securid/securid.h, lib/src/common.c, lib/src/init.c: Move mechanism definitions from src/common.c into */mechinfo.c. 2004-09-24 Simon Josefsson * lib/digest-md5/client.c, lib/src/gsasl.h.in: Fix. 2004-09-24 Simon Josefsson * lib/src/Makefile.am, lib/src/gsasl-mech.h, lib/src/gsasl.h.in: Move mechanism stuff from gsasl.h.in to gsasl-mech.h. 2004-09-24 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/external/client.c, lib/external/external.h, lib/external/server.c, lib/plain/client.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/client.c, lib/securid/securid.h, lib/securid/server.c, lib/src/common.c: Remove useless start functions. Cleanup. 2004-09-24 Simon Josefsson * lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/server.c, lib/src/common.c, lib/src/xstart.c: Support NULL start mechanism functions. Remove useless start functions. 2004-09-24 Simon Josefsson * lib/anonymous/server.c: Typo. 2004-09-24 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c: Fix. 2004-09-24 Simon Josefsson * lib/anonymous/client.c, lib/anonymous/server.c, lib/external/client.c, lib/external/external.h, lib/external/server.c: Fix. 2004-09-24 Simon Josefsson * lib/src/gsasl.h.in: Doc fix. 2004-09-24 Simon Josefsson * lib/NEWS: Add. 2004-09-24 Simon Josefsson * lib/NEWS: Add. 2004-09-24 Simon Josefsson * lib/src/common.c, lib/src/gsasl.h.in, lib/src/xstart.c: Indent. 2004-09-24 Simon Josefsson * lib/src/xstart.c: Cleanup. 2004-09-24 Simon Josefsson * lib/src/register.c: Doc fix. 2004-09-24 Simon Josefsson * lib/src/register.c: Fix. 2004-09-24 Simon Josefsson * doc/Makefile.am, doc/gsasl.texi, lib/NEWS: Add. 2004-09-24 Simon Josefsson * lib/src/common.c, lib/src/gsasl.h.in, lib/src/init.c, lib/src/internal.h, lib/src/listmech.c, lib/src/register.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/xcode.c, lib/src/xstart.c, lib/src/xstep.c: Make mechanism interface public. 2004-09-24 Simon Josefsson * lib/src/common.c, lib/src/internal.h, lib/src/xstep.c: Remove non-allocating step interface. 2004-09-24 Simon Josefsson * lib/gssapi/server.c, lib/gssapi/x-gssapi.h: Make GSSAPI server use allocating interface. 2004-09-24 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/src/common.c: Use new allocating step API in DIGEST-MD5. 2004-09-23 Simon Josefsson * tests/digest-md5.c: Fix. 2004-09-23 Simon Josefsson * tests/digest-md5.c: Fix. 2004-09-23 Simon Josefsson * tests/Makefile.am, tests/digest-md5.c: Add. 2004-09-23 Simon Josefsson * tests/.cvsignore: [no log message] 2004-09-23 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix valgrind complaints. 2004-09-23 Simon Josefsson * lib/digest-md5/server.c: Fix. 2004-09-23 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h: Split off and unify data protection in DIGEST-MD5. 2004-09-23 Simon Josefsson * src/gsasl.c: Remove debugging print of b64 encoded session data. 2004-09-23 Simon Josefsson * lib/cram-md5/client.c: Cleanup. 2004-09-23 Simon Josefsson * lib/cram-md5/client.c: Use digest.h API. 2004-09-23 Simon Josefsson * lib/src/common.c: Disable KERBEROS_V5 for now. 2004-09-23 Simon Josefsson * lib/securid/securid.h, lib/securid/server.c, lib/src/callback.c, lib/src/common.c: Make SECURID server use new APIs. 2004-09-23 Simon Josefsson * lib/securid/client.c: Fix. 2004-09-23 Simon Josefsson * lib/securid/client.c, lib/securid/securid.h, lib/src/common.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Make SECURID client use new allocating API. Use new callback/property API in SECURID client. 2004-09-23 Simon Josefsson * lib/NEWS: Reorder. 2004-09-23 Simon Josefsson * src/gsasl.c: Fix gsasl_encode use. 2004-09-23 Simon Josefsson * lib/NEWS, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/gssapi/client.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/client.c, lib/kerberos_v5/server.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/obsolete.c, lib/src/xcode.c: (gsasl_encode. gsasl_decode): Allocate OUTPUT buffer. Change in prototype. Update types and callers. 2004-09-22 Simon Josefsson * tests/cram-md5.c: Fix buggy callbacks. 2004-09-22 Simon Josefsson * lib/src/internal.h, lib/src/version.c: Cleanup includes. 2004-09-22 Simon Josefsson * lib/configure.ac: Fix NTLM test. 2004-09-22 Simon Josefsson * tests/simple.c: Fix NTLM test cases. 2004-09-22 Simon Josefsson * doc/gsasl.texi, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h: Fix. 2004-09-22 Simon Josefsson * lib/src/Makefile.am: Add gnulib. 2004-09-22 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Remove. 2004-09-21 Simon Josefsson * lib/gssapi/x-gssapi.h: Fix. 2004-09-21 Simon Josefsson * lib/gssapi/client.c, lib/gssapi/x-gssapi.h, lib/src/common.c: Make GSSAPI client use new allocating API, and new callback interface. 2004-09-21 Simon Josefsson * lib/src/error.c: Add. 2004-09-21 Simon Josefsson * lib/src/error.c, lib/src/gsasl.h.in: Add. 2004-09-21 Simon Josefsson * lib/src/gsasl.h.in: Add. 2004-09-21 Simon Josefsson * lib/cram-md5/server.c: Fix. 2004-09-21 Simon Josefsson * lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/src/common.c: Make CRAM-MD5 server use new allocating output. Use digest.* in CRAM-MD5 server. Use new callback interface in CRAM-MD5 server (means dropping support for validation of CRAM-MD5 hashes within application, will anyone miss it?). 2004-09-21 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/src/common.c: Make CRAM-MD5 client use new allocating API, and new callback interface. 2004-09-21 Simon Josefsson * lib/plain/client.c, lib/plain/server.c: Typo. 2004-09-21 Simon Josefsson * lib/plain/client.c: Typo. 2004-09-21 Simon Josefsson * lib/plain/server.c: Use new callback interface. 2004-09-21 Simon Josefsson * lib/plain/plain.h, lib/plain/server.c, lib/src/common.c: Make PLAIN server use new allocating API. 2004-09-21 Simon Josefsson * lib/login/login.h, lib/login/server.c, lib/src/common.c: Make LOGIN server support new allocating API. Use new callback/property API in LOGIN server. 2004-09-21 Simon Josefsson * lib/external/server.c: Fix crash. 2004-09-21 Simon Josefsson * tests/simple.c: Fix crash in EXTERNAL client. 2004-09-21 Simon Josefsson * lib/src/property.c: (gsasl_property_set, gsasl_property_set_global): Handle data==NULL. 2004-09-21 Simon Josefsson * lib/external/client.c, lib/external/server.c, lib/login/client.c, lib/ntlm/ntlm.c, lib/plain/client.c, lib/src/gsasl.h.in, lib/src/property.c: Fix. 2004-09-21 Simon Josefsson * lib/NEWS: Add. 2004-09-21 Simon Josefsson * lib/external/server.c: Support authzid. 2004-09-21 Simon Josefsson * lib/external/client.c: Support authorization identities. 2004-09-20 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c, lib/src/xcode.c: (gsasl_encode, gsasl_decode): Obsolete. (gsasl_encode_inline, gsasl_decode_inline): Add. Same as above. 2004-09-20 Simon Josefsson * lib/NEWS: Add. 2004-09-20 Simon Josefsson * lib/src/gsasl.h.in: (Gsasl_rc): Specify numbers explicitly, to make sure existing names are never renumbered. Move new errors last, to maintain binary compatibility with last release. 2004-09-20 Simon Josefsson * lib/src/gsasl.h.in: Move. 2004-09-20 Simon Josefsson * lib/NEWS: Add. 2004-09-20 Simon Josefsson * lib/src/callback.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c: (gsasl_ctx_get): Obsolete. 2004-09-19 Simon Josefsson * gl/getaddrinfo.c, gl/getaddrinfo.h, gl/progname.c, gl/progname.h: Update. 2004-09-18 Simon Josefsson * lib/configure.ac: Fix. 2004-09-18 Simon Josefsson * tests/threadsafety: Fix. 2004-09-18 Simon Josefsson * lib/src/stringprep-no.c: Fix.Add. 2004-09-18 Simon Josefsson * lib/src/error.c: Add. 2004-09-18 Simon Josefsson * tests/threadsafety: Fix. 2004-09-18 Simon Josefsson * tests/Makefile.am: Fix. 2004-09-18 Simon Josefsson * lib/crypto/gc-nettle.c, lib/crypto/hmac.h: Remove SHA. 2004-09-18 Simon Josefsson * lib/crypto/Makefile.am: Fix. 2004-09-18 Simon Josefsson * THANKS, lib/THANKS: Add. 2004-09-18 Simon Josefsson * lib/configure.ac: Check for netinet/in.h, reported by Paul Romero . 2004-09-18 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-09-18 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h.in: Move. 2004-09-18 Simon Josefsson * doc/Makefile.am: Fix. 2004-09-18 Simon Josefsson * doc/Makefile.am: Fix. 2004-09-18 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Fix. 2004-09-18 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-09-18 Simon Josefsson * lib/src/callback.c: Doc fix. 2004-09-18 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Doc fix. 2004-09-18 Simon Josefsson * doc/gsasl.texi: Move. 2004-09-18 Simon Josefsson * doc/gsasl.texi: Add. 2004-09-18 Simon Josefsson * doc/gsasl.texi: Move. 2004-09-18 Simon Josefsson * lib/cram-md5/client.c, lib/crypto/gc-libgcrypt.c, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/gssapi/client.c, lib/plain/client.c, lib/plain/server.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c, lib/src/register.c, lib/src/xstep.c, src/smtp.c, tests/cram-md5.c: Indent. 2004-09-18 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h: Fix. 2004-09-18 Simon Josefsson * lib/src/internal.h: Fix. 2004-09-18 Simon Josefsson * lib/cram-md5/server.c, lib/crypto/gc-nettle.c, lib/ntlm/ntlm.c, lib/src/common.c, tests/cram-md5.c: Fix warnings. 2004-09-18 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/ro.po, po/sr.po, po/sv.po: Generated. 2004-09-18 Simon Josefsson * doc/Makefile.am: Update. 2004-09-18 Simon Josefsson * lib/external/client.c: Cleanup. 2004-09-18 Simon Josefsson * lib/anonymous/anonymous.h: Fix. 2004-09-18 Simon Josefsson * lib/gssapi/gssapi.c: Remove. 2004-09-18 Simon Josefsson * lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/shared.h: Split up GSSAPI. 2004-09-18 Simon Josefsson * lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h: Split up KERBEROS_V5. 2004-09-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/digest-md5.c, lib/digest-md5/getsubopt.c, lib/digest-md5/server.c, lib/digest-md5/shared.c, lib/digest-md5/shared.h: Split up DIGEST-MD5. 2004-09-18 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/src/common.c: Cleanup CRAM-MD5. 2004-09-18 Simon Josefsson * lib/ntlm/Makefile.am, lib/ntlm/ntlm.c: Cleanup NTLM. 2004-09-18 Simon Josefsson * lib/securid/Makefile.am, lib/securid/{securid.c => client.c}, lib/securid/securid.h, lib/securid/server.c, lib/src/common.c: Cleanup SECURID. 2004-09-18 Simon Josefsson * lib/ntlm/Makefile.am, lib/src/xfinish.c: Typo. 2004-09-18 Simon Josefsson * lib/login/login.h: Fix. 2004-09-18 Simon Josefsson * lib/login/Makefile.am, lib/login/client.c, lib/login/{login.c => server.c}: Cleanup LOGIN. 2004-09-18 Simon Josefsson * lib/plain/Makefile.am, lib/plain/client.c, lib/plain/plain.c, lib/plain/plain.h, lib/plain/server.c, lib/src/common.c: Cleanup PLAIN. 2004-09-18 Simon Josefsson * lib/external/Makefile.am, lib/external/{external.c => client.c}, lib/external/server.c, lib/src/callback.c: Make EXTERNAL use new callback API. Cleanup. 2004-09-18 Simon Josefsson * lib/anonymous/Makefile.am: Typo. 2004-09-18 Simon Josefsson * lib/anonymous/Makefile.am: Typo. 2004-09-18 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/server.c, lib/src/common.c: Cleanup. 2004-09-18 Simon Josefsson * lib/anonymous/anonymous.c, lib/anonymous/client.c, lib/anonymous/server.c: Cleanup. 2004-09-18 Simon Josefsson * lib/external/external.h: Fix. 2004-09-18 Simon Josefsson * lib/external/external.c, lib/src/common.c: Remove useless EXTERNAL finish function. 2004-09-18 Simon Josefsson * lib/src/xfinish.c: Handle NULL finish plugin method. Fix mem leak. 2004-09-18 Simon Josefsson * lib/src/done.c: Fix mem leak. 2004-09-18 Simon Josefsson * lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/src/common.c: Make NTLM use new allocating API. 2004-09-18 Simon Josefsson * lib/external/external.c, lib/external/external.h, lib/src/common.c: Make EXTERNAL use new allocating API. 2004-09-18 Simon Josefsson * lib/plain/plain.c, lib/plain/plain.h, lib/src/common.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Make PLAIN client use new callback API. Add authid property. 2004-09-18 Simon Josefsson * lib/login/login.c, lib/login/login.h, lib/src/common.c, lib/src/done.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Make LOGIN client use new callback API. Add password/authzid properties. 2004-09-18 Simon Josefsson * lib/NEWS: Add. 2004-09-18 Simon Josefsson * lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/src/Makefile.am, lib/src/callback.c, lib/src/common.c, lib/src/done.c, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: Add new callback/property interface, thereby deprecating old callback system. Move obsolete APIs from gsasl.h.in to gsasl-compat.h. Include gsasl-compat.h in gsasl.h.in. Fix the ANONYMOUS mechanism to use the new interface, including the new allocating mechanism interface. 2004-09-17 Simon Josefsson * lib/src/Makefile.am, lib/src/init.c, lib/src/internal.h, lib/src/register.c: (gsasl_register): Add. (gsasl_init): Use it. 2004-09-17 Simon Josefsson * lib/src/init.c: Cleanup. 2004-09-17 Simon Josefsson * lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/digest-md5/digest-md5.c, lib/digest-md5/digest-md5.h, lib/external/external.c, lib/external/external.h, lib/gssapi/gssapi.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/login/login.c, lib/login/login.h, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/plain.c, lib/plain/plain.h, lib/securid/securid.c, lib/src/common.c: Remove useless plugin init/done functions. 2004-09-17 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/cram-md5.h, lib/cram-md5/init_client.c, lib/cram-md5/init_server.c, lib/src/common.c: Remove useless CRAM-MD5 init/done. 2004-09-17 Simon Josefsson * lib/src/done.c, lib/src/init.c: Support NULL module init/done functions. 2004-09-17 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/client.c, lib/cram-md5/{cram-md5.c => server.c}: Split up cram-md5.c into client.c and server.c. 2004-09-17 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/cram-md5.c, lib/cram-md5/init_client.c, lib/cram-md5/init_server.c: Cleanup init. 2004-09-16 Simon Josefsson * tests/Makefile.am: Fix. 2004-09-16 Simon Josefsson * tests/Makefile.am: Use threadsafety. 2004-09-16 Simon Josefsson * tests/threadsafety: Add. 2004-09-13 Simon Josefsson * lib/po/LINGUAS, lib/po/sr.po, lib/po/sv.po, po/pl.po: Sync with TP. 2004-09-13 Simon Josefsson * doc/reference/Makefile.am: (clean-local): Add style.css. 2004-09-09 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-04.txt: Add. 2004-09-05 Simon Josefsson * configure.ac, gl/Makefile.am, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib.m4, gl/m4/restrict.m4, src/gsasl.c, src/internal.h: Assume getaddrinfo. Add getaddrinfo gnulib module, for system that lack it. 2004-08-31 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-08-31 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sv.po: Sync with TP. 2004-08-31 Simon Josefsson * doc/gsasl-example1.c, doc/gsasl.texi: Fix example. 2004-08-31 Simon Josefsson * doc/Makefile.am: Fix. 2004-08-31 Simon Josefsson * doc/Makefile.gdoci: Remove. 2004-08-31 Simon Josefsson * autogen.sh: Simplify. 2004-08-31 Simon Josefsson * doc/Makefile.am: Rewrite gdoc stuff. 2004-08-31 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2004-08-31 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-31 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2004-08-26 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-08-26 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-23 Simon Josefsson * m4/autobuild.m4: Update. 2004-08-23 Simon Josefsson * NEWS: Typo. 2004-08-21 Simon Josefsson * lib/configure.ac: Add GC stuff. 2004-08-21 Simon Josefsson * lib/crypto/gc-libgcrypt.c, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/crypto/hmac.h, lib/crypto/sha.h: Sync GC with GnuTLS. 2004-08-18 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-18 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump version. 2004-08-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-08-18 Simon Josefsson * gl/m4/gnulib.m4, lib/gl/m4/gnulib.m4: Update. 2004-08-16 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib.m4, lib/configure.ac, lib/gl/Makefile.am, lib/gl/m4/gnulib.m4: Update. 2004-08-16 Simon Josefsson * gl/m4/gnulib.m4: Update. 2004-08-10 Simon Josefsson * gl/getpass.c, gl/getpass.h: Update. 2004-08-08 Simon Josefsson * gsasl.fms: Fix. 2004-08-08 Simon Josefsson * gsasl.fms: Add. 2004-08-07 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-08-07 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Generated. 2004-08-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.4. 2004-08-07 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-08-07 Simon Josefsson * gl/Makefile.am: Fix. 2004-08-07 Simon Josefsson * lib/configure.ac: Bump versions. 2004-08-07 Simon Josefsson * configure.ac: Bump version. 2004-08-07 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib.m4, po/sv.po: Update. 2004-08-07 Simon Josefsson * lib/Makefile.am: Fix aclocal -I's. 2004-08-07 Simon Josefsson * lib/configure.ac: Use new gnulib-tool stuff. 2004-08-07 Simon Josefsson * src/callbacks.c, src/internal.h: Fix. 2004-08-07 Simon Josefsson * gl/Makefile.am, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/getpass.c, gl/getpass.h, gl/getpassword.c, gl/getpassword.h, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/getpass.m4, gl/m4/gnulib.m4, gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/stdbool_.h: Update. 2004-08-07 Simon Josefsson * configure.ac: Use new gnulib-tool stuff. 2004-08-07 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib.m4: Fix. 2004-08-07 Simon Josefsson * lib/gl/Makefile.am: Generated. 2004-08-07 Simon Josefsson * lib/gl/m4/gnulib.m4, lib/gl/m4/onceonly_2_57.m4: Add. 2004-08-07 Simon Josefsson * lib/configure.ac: For gnulib. 2004-08-07 Simon Josefsson * configure.ac: Use new gnulib-tool stuff. 2004-08-07 Simon Josefsson * gl/Makefile.am, gl/stdbool_.h: Update. 2004-08-07 Simon Josefsson * gl/m4/codeset.m4, gl/m4/gettext.m4, gl/m4/glibc21.m4, gl/m4/gnulib.m4, gl/m4/iconv.m4, gl/m4/intdiv0.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/nls.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/stdint_h.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4: Add. 2004-08-07 Simon Josefsson * gl/Makefile.am: Generated. 2004-08-07 Simon Josefsson * gl/error.c, gl/m4/fatal.m4, gl/m4/gnulib.m4, gl/m4/stdbool.m4, lib/gl/m4/strdup.m4, lib/gl/strdup.c, lib/gl/strdup.h: Update. 2004-08-07 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.c: Update. 2004-08-06 Simon Josefsson * lib/po/LINGUAS, po/LINGUAS: Sync with TP. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am: Fix. 2004-08-06 Simon Josefsson * lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: (update-po): Add. 2004-08-06 Simon Josefsson * lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-05 Simon Josefsson * NEWS, lib/NEWS: Fix. 2004-08-05 Simon Josefsson * lib/po/.cvsignore, po/.cvsignore: [no log message] 2004-08-05 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-08-05 Simon Josefsson * gl/progname.lo: Remove. 2004-08-05 Simon Josefsson * lib/po/LINGUAS, lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, po/LINGUAS, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po: Add. 2004-08-04 Simon Josefsson * lib/cram-md5/challenge.c, lib/crypto/gc-nettle.c, lib/digest-md5/digest-md5.c, lib/src/crypto.c: Fix, reported by Dimitri Papadopoulos-Orfanos . 2004-08-03 Simon Josefsson * lib/gl/dummy.c: Update. 2004-08-03 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-08-03 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-08-03 Simon Josefsson * doc/gendocs_template: Update. 2004-08-03 Simon Josefsson * doc/gendocs.sh: Fix. 2004-08-03 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.3. 2004-08-03 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.h: Fix. 2004-08-03 Simon Josefsson * src/internal.h: Fix. 2004-08-03 Simon Josefsson * src/internal.h: Fix. 2004-08-03 Simon Josefsson * gl/getpassword.c, gl/getpassword.h, lib/cram-md5/digest.c, src/gsasl.c, src/internal.h: Fix. 2004-08-03 Simon Josefsson * configure.ac, gl/progname.h: Fix. 2004-08-03 Simon Josefsson * : Remove. 2004-08-03 Simon Josefsson * lib/NEWS: Add. 2004-08-03 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump version. 2004-08-03 Simon Josefsson * lib/digest-md5/digest-md5.c: (_gsasl_digest_md5_client_step): If no qop callback, default to no QOP. 2004-08-03 Simon Josefsson * src/gsasl.c: Simplify setlocale. 2004-08-03 Simon Josefsson * src/internal.h: Define setlocale. 2004-08-03 Simon Josefsson * src/gsasl.c: Fix cmd line parsing. 2004-08-03 Simon Josefsson * configure.ac, gl/Makefile.am, gl/fatal.c, gl/fatal.h: Remove fatal. 2004-08-03 Simon Josefsson * src/gsasl.c: Use error. 2004-08-03 Simon Josefsson * src/gsasl.c: Use error. 2004-08-03 Simon Josefsson * src/internal.h: #Include errno.h. 2004-08-03 Simon Josefsson * configure.ac: Look for errno.h. 2004-08-03 Simon Josefsson * src/gsasl.c: Use progname. 2004-08-03 Simon Josefsson * gl/progname.c, gl/progname.h, gl/progname.lo, gl/stdbool_.h: Gnulib. 2004-08-03 Simon Josefsson * configure.ac, gl/m4/error.m4, gl/m4/extensions.m4, gl/m4/fatal.m4, gl/m4/onceonly_2_57.m4, gl/m4/stdbool.m4, gl/m4/strerror_r.m4, gl/m4/unlocked-io.m4: Gnulib fixes. 2004-08-03 Simon Josefsson * gl/Makefile.am: Add progname. 2004-08-03 Simon Josefsson * gl/Makefile.am, gl/dummy.c, gl/error.c, gl/error.h, gl/exit.h, gl/fatal.c, gl/fatal.h, gl/unlocked-io.h: Add fatal module. Update. 2004-08-03 Simon Josefsson * NEWS: Add. 2004-08-03 Simon Josefsson * src/gsasl.c: Use getaddrinfo, if available. 2004-08-03 Simon Josefsson * configure.ac: Fix. 2004-08-03 Simon Josefsson * configure.ac: Check for getaddrinfo. 2004-08-03 Simon Josefsson * src/gsasl.c: Fix unnamed option handling. 2004-08-03 Simon Josefsson * src/callbacks.c: (client_callback_authentication_id): Use getpwuid. 2004-08-03 Simon Josefsson * NEWS: Add. 2004-08-03 Simon Josefsson * src/internal.h: #include pwd.h. 2004-08-03 Simon Josefsson * configure.ac: Look for pwd.h. 2004-08-03 Simon Josefsson * src/gsasl.c: Handle hostname/port on command line. 2004-08-03 Simon Josefsson * src/gsasl.ggo: Doc fix. 2004-08-03 Simon Josefsson * src/Makefile.am: Use unnamed options. 2004-08-03 Simon Josefsson * src/gsasl.ggo: Make --client and --imap default. 2004-07-26 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-10.txt: Add. 2004-07-16 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-07-16 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-07-16 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.2. 2004-07-16 Simon Josefsson * THANKS, lib/THANKS: Add. 2004-07-16 Simon Josefsson * THANKS: Add. 2004-07-16 Simon Josefsson * gl/getopt.c, gl/getopt1.c, gl/m4/getopt.m4: Update. 2004-07-16 Simon Josefsson * configure.ac: Use ABINIT. 2004-07-16 Simon Josefsson * m4/autobuild.m4: Add. 2004-07-16 Simon Josefsson * gl/dummy.c, lib/gl/dummy.c: Typo. 2004-07-16 Simon Josefsson * gl/Makefile.am, gl/dummy.c, lib/gl/Makefile.am, lib/gl/dummy.c: Add. 2004-07-13 Simon Josefsson * doc/specification/draft-melnikov-ldap-distr-auth-00.txt: Add. 2004-07-13 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-03.txt: Add. 2004-07-10 Simon Josefsson * doc/gsasl.texi: Fix. 2004-07-10 Simon Josefsson * doc/gsasl.texi: Fix. 2004-07-10 Simon Josefsson * lib/src/xstep.c: Use allocating interface, if present. 2004-07-10 Simon Josefsson * lib/src/internal.h: Add allocating "step" interface. 2004-07-10 Simon Josefsson * lib/src/callback-c.c, lib/src/callback-s.c: Don't crash on if handed NULL input. 2004-07-10 Simon Josefsson * tests/cram-md5.c: Fix mem leak. 2004-07-05 Simon Josefsson * NEWS: Mention SMTP. 2004-07-05 Simon Josefsson * tests/utils.c: Add. 2004-07-05 Simon Josefsson * doc/gsasl.texi, tests/Makefile.am, tests/cram-md5.c, tests/simple.c: Fix. 2004-07-05 Simon Josefsson * configure.ac: Add comment. 2004-07-05 Simon Josefsson * tests/simple.c: Use config.h's. 2004-07-03 Simon Josefsson * configure.ac: Use config.h again. 2004-07-02 Simon Josefsson * lib/NEWS: Add. 2004-07-02 Simon Josefsson * configure.ac: Cosmetic fix. 2004-07-02 Simon Josefsson * NEWS: Add. 2004-07-02 Simon Josefsson * gl/.cvsignore: [no log message] 2004-07-02 Simon Josefsson * gl/readline.c: Fix. 2004-07-02 Simon Josefsson * gl/Makefile.am: Update getopt stuff. 2004-07-02 Simon Josefsson * gl/getopt.c, gl/getopt1.c, gl/{getopt.h => getopt_.h}, gl/m4/getopt.m4: Update getopt, to make cross compile builds to uClibc systems work. 2004-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-07.txt: Add. 2004-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-08.txt: Add. 2004-06-29 Simon Josefsson * doc/gsasl.texi: Add. 2004-06-28 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-01.txt: Add. 2004-06-28 Simon Josefsson * src/gsasl.ggo: Fix. 2004-06-28 Simon Josefsson * src/callbacks.c: (client_callback_passcoe): Use getpassword. 2004-06-28 Simon Josefsson * src/gsasl.ggo: Make -d the default. 2004-06-28 Simon Josefsson * src/callbacks.c: Don't prompt for authzid. 2004-06-28 Simon Josefsson * src/gsasl.ggo: Fix. 2004-06-28 Simon Josefsson * NEWS, gl/getpassword.c: Add. 2004-06-28 Simon Josefsson * gl/getpassword.c: Fix. 2004-06-28 Simon Josefsson * src/callbacks.c: Use getpassword. 2004-06-28 Simon Josefsson * gl/Makefile.am, gl/getpassword.c, gl/getpassword.h: Add. 2004-06-28 Simon Josefsson * src/callbacks.c: Use extern readline. 2004-06-28 Simon Josefsson * gl/readline.c: Add. 2004-06-28 Simon Josefsson * gl/Makefile.am: (libgl_la_SOURCES) [!READLINE]: Add readline.c. 2004-06-28 Simon Josefsson * configure.ac: Proper readline tests. 2004-06-28 Simon Josefsson * configure.ac: Look for readline properly. 2004-06-28 Simon Josefsson * configure.ac: Look for readline. 2004-06-27 Simon Josefsson * src/smtp.c: Fix EHLO greeting. 2004-06-27 Simon Josefsson * src/smtp.c: Parse SASL mechanisms from EHLO. 2004-06-27 Simon Josefsson * tests/Makefile.am: Clear DEFS. 2004-06-27 Simon Josefsson * tests/simple.c: Include config.h unconditionally. 2004-06-27 Simon Josefsson * tests/cram-md5.c, tests/utils.c: Don't #include config.h. 2004-06-27 Simon Josefsson * tests/Makefile.am: Use AM_CPPFLAGS, only one config.h now. 2004-06-27 Simon Josefsson * configure.ac: Don't use config.h. 2004-06-27 Simon Josefsson * configure.ac, lib/configure.ac, src/internal.h: Assume standard C. 2004-06-27 Simon Josefsson * src/gsasl.c, src/internal.h: Avoid errno. 2004-06-27 Simon Josefsson * configure.ac: Remove errno and uid_t tests. 2004-06-27 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * po/sv.po: Generated. 2004-06-26 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-06-26 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.1. 2004-06-26 Simon Josefsson * lib/configure.ac: Bump so version. 2004-06-26 Simon Josefsson * lib/ChangeLog: [no log message] 2004-06-26 Simon Josefsson * lib/cram-md5/Makefile.am, lib/src/Makefile.am: Fix -I's. 2004-06-26 Simon Josefsson * lib/po/sv.po: Generated. 2004-06-26 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-26 Simon Josefsson * lib/configure.ac: Default libgcrypt off. 2004-06-26 Simon Josefsson * lib/configure.ac, lib/crypto/Makefile.am: (NETTLE_CFLAGS, NETTLE_LIBS): Remove. 2004-06-26 Simon Josefsson * tests/Makefile.am: Add. 2004-06-26 Simon Josefsson * lib/crypto/gc-nettle.c: Fix. 2004-06-26 Simon Josefsson * doc/reference/Makefile.am: Fix. 2004-06-26 Simon Josefsson * doc/reference/Makefile.am: Fix. 2004-06-26 Simon Josefsson * NEWS: Add. 2004-06-26 Simon Josefsson * doc/gsasl.texi, lib/NEWS: Fix. 2004-06-26 Simon Josefsson * lib/crypto/gc.h: Fix (for GTK-DOC). 2004-06-26 Simon Josefsson * doc/gsasl.texi: Fix. 2004-06-26 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/getopt_int.h: Update. 2004-06-26 Simon Josefsson * lib/NEWS: Add. 2004-06-26 Simon Josefsson * lib/NEWS: Add. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-24 Simon Josefsson * doc/gsasl.texi: Add. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-24 Simon Josefsson * tests/.cvsignore: [no log message] 2004-06-24 Simon Josefsson * tests/cram-md5.c: Add. 2004-06-24 Simon Josefsson * tests/Makefile.am: Add cram-md5. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Add. 2004-06-24 Simon Josefsson * lib/src/Makefile.am: Remove crypto.h. 2004-06-24 Simon Josefsson * tests/simple.c: Use utils.*. 2004-06-24 Simon Josefsson * tests/utils.c, tests/utils.h: Fix. 2004-06-24 Simon Josefsson * tests/Makefile.am: Build utils. 2004-06-24 Simon Josefsson * tests/utils.c, tests/utils.h: Add. 2004-06-18 Simon Josefsson * lib/kerberos_v5/Makefile.am, lib/ntlm/Makefile.am: Fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/digest.c: Add doc. 2004-06-18 Simon Josefsson * lib/cram-md5/digest.c: Cleanup. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Cleanup. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c, lib/cram-md5/challenge.h: Fix. 2004-06-18 Simon Josefsson * lib/src/Makefile.am, lib/src/crypto.c, lib/src/obsolete.c: De-deprecate crypto API (may be need by applications that use callbacks to verify HMAC-MD5 cookies). 2004-06-18 Simon Josefsson * lib/NEWS, lib/src/gsasl.h.in: Revert. 2004-06-18 Simon Josefsson * lib/NEWS: Fix. 2004-06-18 Simon Josefsson * lib/src/gsasl.h.in, lib/src/obsolete.c: (gsasl_nonce, gsasl_random): Remove. 2004-06-17 Simon Josefsson * lib/src/gsasl.h.in: Move obsolete functions around. 2004-06-17 Simon Josefsson * lib/Makefile.am, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/crypto/.cvsignore, lib/crypto/Makefile.am, lib/{src/libgcrypt.c => crypto/gc-libgcrypt.c}, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/src/Makefile.am, lib/src/crypto.h, lib/src/init.c, lib/src/nettle.c, lib/src/obsolete.c: Initiate creation of GC ("generic crypto") as non-GSASL specific Nettle/Libgcrypt wrapper. Obsolete gsasl_nonce, gsasl_random, gsasl_md5, gsasl_hmac_md5. 2004-06-17 Simon Josefsson * lib/cram-md5/digest.c: Add. 2004-06-17 Simon Josefsson * lib/cram-md5/digest.h: Fix. 2004-06-17 Simon Josefsson * lib/cram-md5/digest.h: Add. 2004-06-17 Simon Josefsson * tests/Makefile.am: Modify DEFAULT_INCLUDES instead of AM_CPPFLAGS, because the Automake defaults will make us pick up the wrong config.h. (This uses undocumented features, how to solve cleanly?) 2004-06-17 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-08 Simon Josefsson * lib/cram-md5/challenge.h: Doc fix. 2004-06-08 Simon Josefsson * lib/cram-md5/challenge.h: Doc fix. 2004-06-07 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-07 Simon Josefsson * lib/src/nettle.c: Doc fix. 2004-06-07 Simon Josefsson * lib/NEWS: Fix. 2004-06-07 Simon Josefsson * lib/src/libgcrypt.c, lib/src/nettle.c: (gsasl_randomize): Rename to gsasl_random. 2004-06-07 Simon Josefsson * lib/src/obsolete.c: (gsasl_randomize): Add. 2004-06-07 Simon Josefsson * lib/src/gsasl.h.in: (gsasl_random): Add. (gsasl_randomize): Make backwards compatible. Now an obsolete function. 2004-06-07 Simon Josefsson * lib/digest-md5/digest-md5.c: Use gsasl_nonce. 2004-06-07 Simon Josefsson * lib/cram-md5/cram-md5.c: Use challenge.h interface. 2004-06-07 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h: challenge.h, challenge.c: Add. 2004-06-07 Simon Josefsson * lib/NEWS: Add. 2004-06-07 Simon Josefsson * lib/src/nettle.c: (gsasl_randomize): Don't take "strong" parameter. (gsasl_nonce, randomize): Add. 2004-06-07 Simon Josefsson * lib/src/gsasl.h.in, lib/src/libgcrypt.c: (gsasl_randomize): Don't take "strong" parameter. (gsasl_nonce): Add. 2004-06-06 Simon Josefsson * doc/specification/sasl-mechanisms: Update. 2004-06-06 Simon Josefsson * lib/NEWS, lib/THANKS: Add. 2004-06-06 Simon Josefsson * lib/src/suggest.c: Indent. 2004-06-06 Simon Josefsson * lib/src/suggest.c: (gsasl_client_suggest_mechanism, gsasl_server_suggest_mechanism): Implement them, patch from Dirk Dierckx . 2004-05-21 Simon Josefsson * doc/specification/draft-newman-sasl-c-api-03.txt: Add. 2004-04-30 Simon Josefsson * tests/Makefile.am: Use -no-install to avoid libtool wrapper script. 2004-04-30 Simon Josefsson * tests/simple.c: Fix warnings. 2004-04-30 Simon Josefsson * tests/simple.c: Fix warnings. 2004-04-30 Simon Josefsson * lib/digest-md5/digest-md5.c, lib/gssapi/gssapi.c, src/gsasl.c, src/internal.h: Fix warnings. 2004-04-29 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-09.txt: Add. 2004-04-24 Simon Josefsson * lib/kerberos_v5/Makefile.am, lib/ntlm/Makefile.am: Fix license. 2004-04-24 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h: Fix license. 2004-04-21 Simon Josefsson * lib/src/common.c: Add GSSAPI client encode/decode. 2004-04-21 Simon Josefsson * lib/gssapi/x-gssapi.h: Add. 2004-04-21 Simon Josefsson * src/callbacks.c: (client_callback_qop): Default to none, for now. 2004-04-21 Simon Josefsson * lib/gssapi/gssapi.c: Initial client-side integrity/confidentiality layer support. 2004-04-21 Simon Josefsson * AUTHORS: Update PGP key. 2004-04-21 Simon Josefsson * lib/gssapi/gssapi.c: Use GSS_ERROR. 2004-04-18 Simon Josefsson * lib/libgsasl.pc.in: Drop -R libs flag. 2004-04-16 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix paths. 2004-04-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-04-16 Simon Josefsson * lib/po/sv.po: Generated. 2004-04-16 Simon Josefsson * lib/Makefile.am: Fix release target. 2004-04-16 Simon Josefsson * lib/ChangeLog: [no log message] 2004-04-16 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.0. 2004-04-16 Simon Josefsson * doc/specification/draft-burdis-cat-srp-sasl-08.txt: Add. 2004-04-16 Simon Josefsson * README-alpha, lib/README-alpha: Fix versions. 2004-04-16 Simon Josefsson * Makefile.am: Fix release target. 2004-04-16 Simon Josefsson * lib/Makefile.am: Add release target. 2004-04-16 Simon Josefsson * lib/NEWS: Add. 2004-04-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-04-16 Simon Josefsson * lib/src/Makefile.am: Fix -I's. 2004-04-16 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix ChangeLog target. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: Update. 2004-04-16 Simon Josefsson * README, lib/README: Fix. 2004-04-16 Simon Josefsson * lib/gl/m4/strdup.m4: Add. 2004-04-16 Simon Josefsson * gl/m4/getopt.m4: Re-add (accidentally removed). 2004-04-16 Simon Josefsson * lib/m4/check_headerlib.m4: Cosmetic fixes. 2004-04-16 Simon Josefsson * gl/m4/getopt.m4: Remove. 2004-04-16 Simon Josefsson * lib/src/gsasl.h.in: Fix license. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: Update. 2004-04-16 Simon Josefsson * lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am, src/Makefile.am, tests/Makefile.am: Remove indent target. 2004-04-16 Simon Josefsson * Makefile.am: Typo. 2004-04-16 Simon Josefsson * .cvscopying: [no log message] 2004-04-16 Simon Josefsson * Makefile.am: Fix ChangeLog target. Remove indent target. 2004-04-16 Simon Josefsson * lib/Makefile.am: Fix ChangeLog target. 2004-04-16 Simon Josefsson * .cvscopying: Fix. 2004-04-16 Simon Josefsson * Makefile.am: Fix ChangeLog target. 2004-04-16 Simon Josefsson * m4/.cvsignore: [no log message] 2004-04-16 Simon Josefsson * configure.ac, lib/configure.ac: Use modern software. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog, lib/po/sv.po: Generated. 2004-04-16 Simon Josefsson * po/sv.po: Fix. 2004-04-16 Simon Josefsson * src/gsasl.c: Typo. 2004-04-16 Simon Josefsson * doc/reference/Makefile.am: Fix HIGNORE. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: Generated. 2004-04-16 Simon Josefsson * lib/Makefile.am: Add ChangeLog target. 2004-04-16 Simon Josefsson * NEWS, lib/NEWS: Remove. 2004-04-16 Simon Josefsson * lib/gl/strdup.h: Revert to my own version, for LGPL. 2004-04-15 Simon Josefsson * lib/gl/strdup.c: Copy from libc, for LGPL, and fix some things. 2004-04-15 Simon Josefsson * lib/gl/gettext.h: From gettext CVS, with LGPL. 2004-04-15 Simon Josefsson * lib/crypto/Makefile.am: Fix license. Remove alloca. 2004-04-15 Simon Josefsson * lib/crypto/Makefile.am, lib/crypto/cbc.h, lib/crypto/nettle-internal.h, lib/crypto/nettle-meta.h: Update. 2004-04-15 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-04-15 Simon Josefsson * README, lib/README: Fix. 2004-04-15 Simon Josefsson * lib/README: Add. 2004-04-15 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-04-15 Simon Josefsson * doc/reference/Makefile.am: Fix HIGNORE. 2004-04-15 Simon Josefsson * src/gsasl.c: Translation fixes. 2004-04-15 Simon Josefsson * README, doc/gsasl.texi, po/sv.po, src/callbacks.h: Fix. 2004-04-15 Simon Josefsson * src/gsasl.c: Translation fixes. 2004-04-15 Simon Josefsson * po/sv.po: Fix. 2004-04-15 Simon Josefsson * doc/reference/Makefile.am: Revert HIGNORE change. 2004-04-15 Simon Josefsson * po/pl.po: Remove (for now). 2004-04-15 Simon Josefsson * THANKS: Fix. 2004-04-15 Simon Josefsson * COPYING, NEWS, lib/README-alpha, lib/THANKS: Add. 2004-04-15 Simon Josefsson * po/LINGUAS: Remove Polish (for now). 2004-04-15 Simon Josefsson * lib/po/POTFILES.in, po/POTFILES.in: Fix. 2004-04-15 Simon Josefsson * doc/Makefile.am, doc/reference/Makefile.am, src/Makefile.am, tests/Makefile.am: Fix paths. 2004-04-15 Simon Josefsson * lib/po/sv.po: Update. 2004-04-15 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h: Revert license. 2004-04-15 Simon Josefsson * lib/kerberos_v5/Makefile.am: Fix -I's. 2004-04-15 Simon Josefsson * lib/po/sv.po: Fixes. 2004-04-15 Simon Josefsson * lib/po/LINGUAS, lib/po/pl.po: Remove Polish (for now). 2004-04-15 Simon Josefsson * lib/src/callback-c.c, lib/src/callback-s.c, lib/src/callback.c, lib/src/common.c, lib/src/crypto.h, lib/src/done.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/init.c, lib/src/internal.h, lib/src/libgcrypt.c, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/nettle.c, lib/src/obsolete.c, lib/src/stringprep-no.c, lib/src/stringprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c: Fix license. 2004-04-15 Simon Josefsson * lib/login/Makefile.am, lib/plain/Makefile.am: Fix -I's. 2004-04-15 Simon Josefsson * lib/cram-md5/Makefile.am: Fix license. Fix -I's. 2004-04-15 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/cram-md5/cram-md5.c, lib/cram-md5/cram-md5.h, lib/digest-md5/Makefile.am, lib/digest-md5/digest-md5.c, lib/digest-md5/digest-md5.h, lib/external/Makefile.am, lib/external/external.c, lib/external/external.h, lib/gssapi/Makefile.am, lib/gssapi/gssapi.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/login/Makefile.am, lib/login/login.c, lib/login/login.h, lib/plain/Makefile.am, lib/plain/plain.c, lib/plain/plain.h, lib/securid/Makefile.am, lib/securid/securid.c, lib/securid/securid.h: Fix license. 2004-04-15 Simon Josefsson * lib/COPYING: Add. 2004-04-15 Simon Josefsson * lib/.cvsignore, lib/m4/.cvsignore: [no log message] 2004-04-15 Simon Josefsson * lib/.cvsignore, lib/m4/.cvsignore, lib/po/.cvsignore, lib/src/.cvsignore: [no log message] 2004-04-15 Simon Josefsson * lib/configure.ac: Build src/Makefile. 2004-04-15 Simon Josefsson * lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gssapi/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am: Fix paths. 2004-04-15 Simon Josefsson * lib/configure.ac: Build gl/Makefile. 2004-04-15 Simon Josefsson * lib/po/POTFILES.in: Fix. 2004-04-15 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/src/Makefile.am, lib/{ => src}/base64.c, lib/{ => src}/callback-c.c, lib/{ => src}/callback-s.c, lib/{ => src}/callback.c, lib/{ => src}/common.c, lib/{ => src}/crypto.h, lib/{ => src}/done.c, lib/{ => src}/error.c, lib/{ => src}/gsasl.h.in, lib/{ => src}/init.c, lib/{ => src}/internal.h, lib/{ => src}/libgcrypt.c, lib/{ => src}/listmech.c, lib/{ => src}/md5pwd.c, lib/{ => src}/nettle.c, lib/{ => src}/obsolete.c, lib/{ => src}/stringprep-no.c, lib/{ => src}/stringprep.c, lib/{ => src}/suggest.c, lib/{ => src}/supportp.c, lib/{ => src}/version.c, lib/{ => src}/xcode.c, lib/{ => src}/xfinish.c, lib/{ => src}/xstart.c, lib/{ => src}/xstep.c: Move *.{c,h,h.in} from to src/. 2004-04-15 Simon Josefsson * lib/Makefile.am, lib/gl/.cvsignore, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/strdup.c, lib/gl/strdup.h: Add gl/. 2004-04-15 Simon Josefsson * lib/Makefile.am: Fix license. 2004-04-15 Simon Josefsson * lib/po/.cvsignore, lib/po/LINGUAS, lib/po/Makevars, lib/po/POTFILES.in, lib/po/pl.po, lib/po/sv.po: Add. 2004-04-15 Simon Josefsson * lib/Makefile.am: Fix NTLM. 2004-04-15 Simon Josefsson * lib/configure.ac: Use gettext 0.14.0. Remove non-C89 stuff. 2004-04-15 Simon Josefsson * lib/ChangeLog: Add. 2004-04-15 Simon Josefsson * lib/AUTHORS, lib/NEWS, lib/README, lib/THANKS: Add. 2004-04-15 Simon Josefsson * lib/Makefile.am: Add ACLOCAL_AMFLAGS. 2004-04-15 Simon Josefsson * {m4 => lib/m4}/ax_create_stdint_h.m4, {m4 => lib/m4}/check_headerlib.m4, {m4 => lib/m4}/libgcrypt.m4: Move library m4's from m4/ to lib/m4. 2004-04-15 Simon Josefsson * lib/configure.ac: Autoupdated. 2004-04-15 Simon Josefsson * lib/Makefile.am: Recurse into po/. 2004-04-15 Simon Josefsson * lib/autogen.sh: Add. 2004-04-15 Simon Josefsson * lib/Makefile.am: Add libgsasl.pc*. Recurse into crypto/ if needed. 2004-04-15 Simon Josefsson * lib/configure.ac: Add, taken mostly from ../configure.ac. 2004-04-15 Simon Josefsson * configure.ac: Remove most of library specific code. Add AC_CONFIG_SUBDIRS(lib). 2004-04-15 Simon Josefsson * Makefile.am: Don't build libgsasl.pc here. Don't recurse into crypto/. 2004-04-15 Simon Josefsson * {crypto => lib/crypto}/.cvsignore, {crypto => lib/crypto}/Makefile.am, {crypto => lib/crypto}/README, {crypto => lib/crypto}/README.gsasl, {crypto => lib/crypto}/hmac-md5.c, {crypto => lib/crypto}/hmac.c, {crypto => lib/crypto}/hmac.h, {crypto => lib/crypto}/macros.h, {crypto => lib/crypto}/md5-meta.c, {crypto => lib/crypto}/md5.c, {crypto => lib/crypto}/md5.h, {crypto => lib/crypto}/memxor.c, {crypto => lib/crypto}/memxor.h, {crypto => lib/crypto}/nettle-internal.h, {crypto => lib/crypto}/nettle-meta.h: Move crypto/ from top-level to lib/. 2004-04-15 Simon Josefsson * libgsasl.pc.in => lib/libgsasl.pc.in: Move libgsasl.pc.in from top-level to lib/. 2004-04-13 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-03.tx t, doc/specification/draft-siemborski-rfc1734bis-03.txt, doc/specification/draft-siemborski-rfc2554bis-03.txt: Add. 2004-04-12 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-08.txt: Add. 2004-03-23 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-07.txt: Add. 2004-03-10 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-06.txt: Add. 2004-03-09 Simon Josefsson * THANKS: Add. 2004-03-09 Simon Josefsson * doc/gsasl.texi: Fix example code, reported by Tomas Ogren . 2004-03-05 Simon Josefsson * doc/specification/draft-melnikov-rfc2831bis-02.txt: Add. 2004-02-29 Simon Josefsson * NEWS: Add. 2004-02-29 Simon Josefsson * gl/strdup.c, gl/strdup.h: Sync with gnulib. 2004-02-29 Simon Josefsson * po/.cvsignore: [no log message] 2004-02-29 Simon Josefsson * THANKS, po/LINGUAS, po/pl.po: Add Polish translation, from Jakub Bogusz . 2004-02-17 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-04.txt, doc/specification/draft-ietf-sasl-rfc2831bis-03.txt: Add. 2004-02-17 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-03.txt, doc/specification/draft-ietf-sasl-saslprep-05.txt: Add. 2004-02-16 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-06.txt: Add. 2004-01-28 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-02.txt, doc/specification/draft-ietf-sasl-rfc2222bis-05.txt: Add. 2004-01-23 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.c, gl/strdup.h: Update. 2004-01-23 Simon Josefsson * gl/strdup.h: Fix. 2004-01-22 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-22 Simon Josefsson * ChangeLog: [no log message] 2004-01-22 Simon Josefsson * NEWS: Version 0.0.14. 2004-01-22 Simon Josefsson * po/sv.po: Update. 2004-01-21 Simon Josefsson * doc/specification/sasl-mechanisms: Add. 2004-01-18 Simon Josefsson * lib/Makefile.am: Fix NTLM. 2004-01-18 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.h: Fix. 2004-01-18 Simon Josefsson * doc/Makefile.am: Add fdl.texi. 2004-01-18 Simon Josefsson * doc/fdl.texi: Add. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Fix -I's. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Fix -Igl. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Add FDL. Remove final TOCs. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Use FDL 1.2. 2004-01-18 Simon Josefsson * doc/Makefile.am, doc/fdl.texi, doc/gpl.texi, doc/gsasl.texi: Remove gpl.texi and fdl.texi for now. 2004-01-18 Simon Josefsson * NEWS: Add. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Add. 2004-01-18 Simon Josefsson * src/internal.h: Include strdup.h. 2004-01-18 Simon Josefsson * gl/strdup.h: Add. 2004-01-18 Simon Josefsson * gl/Makefile.am: Add strdup.h. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Need -lgl. 2004-01-18 Simon Josefsson * lib/digest-md5/digest-md5.c, lib/kerberos_v5/kerberos_v5.c: Include strdup.h. 2004-01-18 Simon Josefsson * doc/reference/Makefile.am: Fix ignore. 2004-01-18 Simon Josefsson * doc/reference/Makefile.am: Fix HIGNORE. 2004-01-18 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.c: Add. 2004-01-18 Simon Josefsson * configure.ac: Add strdup. 2004-01-18 Simon Josefsson * src/getopt.c, src/getopt.h, src/getopt1.c: Moved to ../gl/. 2004-01-18 Simon Josefsson * lib/Makefile.am, lib/gettext.h: Use -Igl instead of gettext.h. 2004-01-18 Simon Josefsson * src/Makefile.am: Add -Igl, for gettext.h. 2004-01-18 Simon Josefsson * src/Makefile.am: Replace getopt with -lgl from ../gl/. 2004-01-18 Simon Josefsson * gl/.cvsignore: [no log message] 2004-01-18 Simon Josefsson * Makefile.am: Aclocal -I gl/m4. 2004-01-18 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/gettext.h, gl/m4/getopt.m4: Add. 2004-01-18 Simon Josefsson * configure.ac: Remove old getopt test. 2004-01-18 Simon Josefsson * Makefile.am: Add gl/. 2004-01-18 Simon Josefsson * configure.ac: Use getopt from gnulib. Add gl/. 2004-01-18 Simon Josefsson * src/gsasl.c, src/imap.c: Indent. 2004-01-18 Simon Josefsson * lib/init.c: Move _gsasl_crypto_init prototype to crypto.h. 2004-01-18 Simon Josefsson * lib/nettle.c: Include crypto.h. Fix warnings. 2004-01-18 Simon Josefsson * lib/libgcrypt.c: Fix warnings. 2004-01-18 Simon Josefsson * lib/libgcrypt.c: Include crypto.h. 2004-01-18 Simon Josefsson * lib/Makefile.am, lib/crypto.h: Add crypto.h. 2004-01-18 Simon Josefsson * lib/digest-md5/digest-md5.c: Use nettle-types.h for uint32_t etc. Fix warning. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am: Add. 2004-01-17 Simon Josefsson * NEWS: Add. 2004-01-17 Simon Josefsson * lib/anonymous/.cvsignore, lib/cram-md5/.cvsignore, lib/digest-md5/.cvsignore, lib/external/.cvsignore, lib/gssapi/.cvsignore, lib/kerberos_v5/.cvsignore, lib/login/.cvsignore, lib/ntlm/.cvsignore, lib/plain/.cvsignore, lib/securid/.cvsignore: [no log message] 2004-01-17 Simon Josefsson * configure.ac, lib/Makefile.am, lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am: Build helper libraries for each mechanism. 2004-01-17 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-17 Simon Josefsson * Makefile.am: Fix release target. 2004-01-17 Simon Josefsson * ChangeLog: [no log message] 2004-01-17 Simon Josefsson * doc/gsasl.texi: Fix title. 2004-01-17 Simon Josefsson * crypto/Makefile.am: Add nettle-types.h to BUILT_SOURCES and DISTCLEANFILES. 2004-01-17 Simon Josefsson * crypto/Makefile.am: Dist nettle-internal.h. 2004-01-17 Simon Josefsson * NEWS: Version 0.0.13. 2004-01-17 Simon Josefsson * po/sv.po: Generated. 2004-01-17 Simon Josefsson * Makefile.am: Fix release target. 2004-01-17 Simon Josefsson * NEWS: Add. 2004-01-17 Simon Josefsson * configure.ac, crypto/hmac.c, crypto/hmac.h, crypto/md5.h, crypto/memxor.h, crypto/nettle-internal.h, crypto/nettle-meta.h, m4/ax_create_stdint_h.m4: Update Nettle files. Use ax_create_stdint_h, for Nettle. 2004-01-17 Simon Josefsson * crypto/.cvsignore, po/.cvsignore: [no log message] 2004-01-16 Simon Josefsson * po/gsasl.pot: Remove. 2004-01-15 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-15 Simon Josefsson * ChangeLog: [no log message] 2004-01-15 Simon Josefsson * NEWS: Version 0.0.12. 2004-01-15 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2004-01-15 Simon Josefsson * Makefile.am: (release): Use binary PGP. Add ftp-upload.gnu.org stuff. Use CSS. 2004-01-15 Simon Josefsson * doc/gendocs.sh: Upstream sync. 2004-01-15 Simon Josefsson * src/imap.c: (imap_step_recv): Remove \r\n from SASL base64 tokens. 2004-01-14 Simon Josefsson * NEWS: Add. 2004-01-14 Simon Josefsson * NEWS: Add. 2004-01-14 Simon Josefsson * src/imap.c: (imap_select_mechanism): Read capability line and capability command response in two separate calls. 2004-01-14 Simon Josefsson * src/gsasl.c: (readln): For sockets, just read one line at a time. 2004-01-14 Simon Josefsson * lib/obsolete.c: (gsasl_client_listmech, gsasl_server_listmech): Make room for \0. 2004-01-12 Simon Josefsson * src/gsasl.c: Fix messages. 2004-01-10 Simon Josefsson * doc/Makefile.am: Maintainerclean man pages. 2004-01-10 Simon Josefsson * doc/Makefile.am: Fix gsasl.1 depends. 2004-01-10 Simon Josefsson * doc/Makefile.am: Dist texinfo.css. 2004-01-10 Simon Josefsson * doc/gendocs.sh: Sync with texinfo. 2004-01-10 Simon Josefsson * doc/gendocs_template: Remove DocBook. 2004-01-10 Simon Josefsson * doc/gsasl.texi: Fix title. Use @finalout. 2004-01-10 Simon Josefsson * doc/Makefile.am: Use CSS for HTML. 2004-01-10 Simon Josefsson * doc/texinfo.css: Add. 2004-01-06 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-06 Simon Josefsson * ChangeLog: [no log message] 2004-01-06 Simon Josefsson * NEWS: Version 0.0.11. 2004-01-06 Simon Josefsson * doc/gsasl.texi: Use ASCII encoding. Bump copyright years. 2004-01-06 Simon Josefsson * README-alpha: Fix. 2004-01-01 Simon Josefsson * autogen.sh, configure.ac: Work with autoconf 2.58, automake 1.7, libtool 1.5. 2004-01-01 Simon Josefsson * lib/stringprep-no.c: Handle NULL stringprep_rc. 2003-12-31 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-00.txt: Add. 2003-12-23 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-04.txt: Add. 2003-12-22 Simon Josefsson * .cvsignore: [no log message] 2003-12-22 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-12-22 Simon Josefsson * COPYING: Remove. 2003-12-22 Simon Josefsson * configure.ac: Fix. 2003-12-22 Simon Josefsson * crypto/README, crypto/README.gsasl: Fix. 2003-12-10 Simon Josefsson * README-alpha: Fix. 2003-12-10 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Sync. 2003-12-07 Simon Josefsson * NEWS, doc/Makefile.am: Remove DocBook (for now). 2003-12-07 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-03d.txt: Add. 2003-12-06 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-02.tx t, doc/specification/draft-siemborski-rfc1734bis-02.txt, doc/specification/draft-siemborski-rfc2554bis-02.txt: Add. 2003-12-01 Simon Josefsson * lib/stringprep.c: (gsasl_stringprep_saslprep): Fix return value check. (gsasl_stringprep_trace): Likewise. 2003-12-01 Simon Josefsson * NEWS: Add. 2003-12-01 Simon Josefsson * src/gsasl.c: (select_mechanism): Don't prompt for mechanism name when --mechanism is used. 2003-12-01 Simon Josefsson * lib/gsasl.h.in: Add GSASL_SASLPREP_ERROR. 2003-12-01 Simon Josefsson * lib/cram-md5/cram-md5.c: Use SASLprep. Fix challenge string to conform to proper syntax. 2003-12-01 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-01.txt: Add. 2003-11-30 Simon Josefsson * README: Fix. 2003-11-25 Simon Josefsson * src/gsasl.ggo: Add section and typestr. 2003-11-25 Simon Josefsson * configure.ac: Disable fortran etc libtool tests. 2003-11-24 Simon Josefsson * lib/xstep.c: (gsasl_step64): Fix deallocation of output. 2003-11-23 Simon Josefsson * Makefile.am: Remove ANNOUNCE. 2003-11-23 Simon Josefsson * ANNOUNCE: Remove. 2003-11-23 Simon Josefsson * doc/gsasl.texi: Add. 2003-11-22 Simon Josefsson * NEWS, configure.ac: Bump versions. 2003-11-22 Simon Josefsson * lib/listmech.c: Doc fix. 2003-11-22 Simon Josefsson * ChangeLog: [no log message] 2003-11-22 Simon Josefsson * NEWS: Version 0.0.10. 2003-11-22 Simon Josefsson * NEWS: Fix. 2003-11-22 Simon Josefsson * lib/gsasl.h.in: Whitespace fixes to help GTK-DOC parser. 2003-11-22 Simon Josefsson * src/Makefile.am: Fix indent target. 2003-11-22 Simon Josefsson * NEWS: Add. 2003-11-22 Simon Josefsson * lib/cram-md5/cram-md5.c: (_gsasl_cram_md5_server_step): Don't always return GSASL_OK. Tiny patch from Sergey Poznyakoff . 2003-11-22 Simon Josefsson * m4/pkg.m4: Remove (not used any more). 2003-11-22 Simon Josefsson * NEWS, THANKS: Add. 2003-11-22 Simon Josefsson * doc/Makefile.am: Only descend into reference/ if ENABLE_GTK_DOC. 2003-11-22 Simon Josefsson * configure.ac: Use sj_CHECK_HEADERLIB for libidn. Fix sj_CHECK_HEADERLIB logic for KERBEROS_V5. 2003-11-22 Simon Josefsson * m4/check_headerlib.m4: Add to $LIBS. 2003-11-22 Simon Josefsson * configure.ac: Rename subst CRYPTO_* to NETTLE_*. Remove subst GSSAPI_*. 2003-11-22 Simon Josefsson * lib/Makefile.am: Remove unneeded @@'s. 2003-11-22 Simon Josefsson * configure.ac: Replace PKG_CHECK_MODULES with sj_CHECK_HEADERLIB. 2003-11-22 Simon Josefsson * m4/check_headerlib.m4: Add. 2003-11-21 Simon Josefsson * ANNOUNCE: Fix. 2003-11-21 Simon Josefsson * Makefile.am: Cleanup EXTRA_DIST. 2003-11-21 Simon Josefsson * Makefile.am: Cleanup EXTRA_DIST. 2003-11-21 Simon Josefsson * lib/xstep.c: Doc fix. 2003-11-21 Simon Josefsson * doc/gendocs_template: Fix last commit. 2003-11-21 Simon Josefsson * doc/gendocs_template: Fix doxygen links. 2003-11-21 Simon Josefsson * NEWS, configure.ac: Bump versions. 2003-11-21 Simon Josefsson * NEWS: Version 0.0.9. 2003-11-21 Simon Josefsson * Makefile.am: Fix release target. 2003-11-21 Simon Josefsson * .cvscopying, ChangeLog: [no log message] 2003-11-21 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-11-21 Simon Josefsson * src/callbacks.c: Remove bogus args_info declaration. 2003-11-21 Simon Josefsson * lib/common.c, lib/digest-md5/digest-md5.c, src/callbacks.c, src/gsasl.c, src/imap.c, src/smtp.c: Indent. 2003-11-21 Simon Josefsson * configure.ac: Bump so version. 2003-11-21 Simon Josefsson * lib/obsolete.c: Fix warning. 2003-11-21 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-11-21 Simon Josefsson * src/Makefile.am: Add smtp.h and imap.h. 2003-11-21 Simon Josefsson * NEWS: Fix. 2003-11-21 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-01.tx t: Add. 2003-11-20 Simon Josefsson * README: Fix. 2003-11-20 Simon Josefsson * lib/cram-md5/cram-md5.c, src/imap.c, src/smtp.c: Fix. 2003-11-20 Simon Josefsson * src/Makefile.am, src/callbacks.c, src/gsasl.c, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h: Cleanup IMAP/SMTP interaction. 2003-11-20 Simon Josefsson * lib/digest-md5/digest-md5.c: Fix warnings. 2003-11-20 Simon Josefsson * lib/common.c: Add NULL elements to fix warnings. 2003-11-20 Simon Josefsson * src/gsasl.c: Fix. 2003-11-20 Simon Josefsson * NEWS: Add. 2003-11-20 Simon Josefsson * src/gsasl.c, src/gsasl.ggo: Add support for SMTP. 2003-11-20 Simon Josefsson * src/gsasl.c: Cleanup. 2003-11-20 Simon Josefsson * src/gsasl.c: Cleanup. 2003-11-20 Simon Josefsson * src/gsasl.c: Sync commit. 2003-11-20 Simon Josefsson * src/gsasl.c: Sync commit. 2003-11-20 Simon Josefsson * src/gsasl.c: Sync commit. 2003-11-20 Simon Josefsson * src/gsasl.c: Cleanup. 2003-11-20 Simon Josefsson * po/POTFILES.in: Fix typo. 2003-11-20 Simon Josefsson * po/POTFILES.in: Add. 2003-11-20 Simon Josefsson * lib/digest-md5/digest-md5.c: Remove 'unsigned' from 'char *'. 2003-11-20 Simon Josefsson * crypto/hmac.c: Use assert instead of abort. 2003-11-20 Simon Josefsson * crypto/hmac.c: Don't use alloca. 2003-11-20 Simon Josefsson * configure.ac: Remove unused or pre-C89 checks. 2003-11-20 Simon Josefsson * crypto/hmac.c: Don't use alloca. 2003-11-20 Simon Josefsson * configure.ac: Check for alloca. 2003-11-20 Simon Josefsson * crypto/Makefile.am: Link $(ALLOCA). 2003-11-20 Simon Josefsson * NEWS: Add. 2003-11-20 Simon Josefsson * Makefile.am, configure.ac: Remove gnulib (gl/). 2003-11-20 Simon Josefsson * gl/.cvsignore, gl/Makefile.am, gl/alloca.c, gl/alloca_.h, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/exitfail.h, gl/gettext.h, gl/m4/.cvsignore, gl/m4/alloca.m4, gl/m4/argp.m4, gl/m4/codeset.m4, gl/m4/error.m4, gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc21.m4, gl/m4/iconv.m4, gl/m4/intdiv0.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/malloc.m4, gl/m4/mempcpy.m4, gl/m4/nls.m4, gl/m4/onceonly_2_57.m4, gl/m4/po.m4, gl/m4/progtest.m4, gl/m4/realloc.m4, gl/m4/restrict.m4, gl/m4/stdbool.m4, gl/m4/stdint_h.m4, gl/m4/strcase.m4, gl/m4/strchrnul.m4, gl/m4/strerror_r.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/sysexits.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/unlocked-io.m4, gl/m4/xalloc.m4, gl/malloc.c, gl/mempcpy.c, gl/mempcpy.h, gl/realloc.c, gl/stdbool_.h, gl/strcase.h, gl/strcasecmp.c, gl/strchrnul.c, gl/strchrnul.h, gl/strncasecmp.c, gl/strndup.c, gl/strndup.h, gl/strnlen.c, gl/sysexit_.h, gl/unlocked-io.h, gl/xalloc.h, gl/xmalloc.c, gl/xstrdup.c, lib/Makefile.am, src/.cvsignore, src/Makefile.am, src/callbacks.c, {gl => src}/getopt.c, {gl => src}/getopt.h, {gl => src}/getopt1.c, src/gsasl.c, src/gsasl.ggo, src/internal.h: Use getopt instead of argp. Remove gnulib (gl/). 2003-11-20 Simon Josefsson * doc/Makefile.am: Don't use argp specific parameter for help2man. 2003-11-20 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-20 Simon Josefsson * src/gsasl.c: Call textdomain. 2003-11-20 Simon Josefsson * lib/Makefile.am: Link with gnulib (for rpl_malloc breakage). 2003-11-20 Simon Josefsson * lib/error.c: (gsasl_strerror): Call bindtextdomain(). 2003-11-20 Simon Josefsson * lib/init.c: (gsasl_init): Move gettext initialization to error.c. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Fix license. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Add crypto API. Move old API down. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Fix typo. 2003-11-20 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets (I smell a pattern...). 2003-11-20 Simon Josefsson * doc/gsasl.texi: Markup fixes. 2003-11-20 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c: Indent. 2003-11-20 Simon Josefsson * lib/Makefile.am: Fix indent target. 2003-11-20 Simon Josefsson * lib/stringprep-no.c, lib/stringprep.c: Doc fix. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Fix. 2003-11-20 Simon Josefsson * NEWS: Remove. 2003-11-20 Simon Josefsson * lib/internal.h: Add comments. 2003-11-20 Simon Josefsson * lib/callback-c.c, lib/callback-s.c, lib/digest-md5/digest-md5.c, lib/gsasl.h.in, lib/gssapi/gssapi.c, lib/internal.h, lib/nettle.c, lib/obsolete.c, lib/xstart.c, lib/xstep.c, src/gsasl.c: Indent. 2003-11-20 Simon Josefsson * lib/init.c: Declare _gsasl_all_mechanisms (defined in common.c). Fix comments. 2003-11-20 Simon Josefsson * lib/internal.h: Remove _gsasl_all_mechanism declaration. 2003-11-20 Simon Josefsson * lib/internal.h: Remove stringprep hack. Remove VALID_HANDLE and VALID_SESSION_HANDLE. 2003-11-20 Simon Josefsson * lib/internal.h, lib/stringprep-no.c, lib/stringprep.c: Fix file comment. 2003-11-20 Simon Josefsson * lib/stringprep.c: Add comment. 2003-11-20 Simon Josefsson * lib/stringprep-no.c: Implement dummy API functions. 2003-11-20 Simon Josefsson * lib/done.c: (gsasl_done): Don't use VALID_HANDLE. 2003-11-20 Simon Josefsson * lib/xstep.c: (gsasl_step): Don't use VALID_SESSION_HANDLE. 2003-11-20 Simon Josefsson * lib/error.c, lib/internal.h: Move gettext declarations from internal.h to error.c. 2003-11-20 Simon Josefsson * lib/cram-md5/cram-md5.c, lib/digest-md5/digest-md5.c: Don't initialize crypto (done by gsasl_init). 2003-11-20 Simon Josefsson * lib/init.c: (gsasl_init): Call _gsasl_crypto_init() to initialize crypto functions. 2003-11-20 Simon Josefsson * lib/gsasl.h.in: (gsasl_randomize, gsasl_md5, gsasl_hmac_md5): Add. 2003-11-20 Simon Josefsson * lib/internal.h: Remove. 2003-11-20 Simon Josefsson * NEWS: Add. 2003-11-20 Simon Josefsson * lib/xstep.c: Add XXX. 2003-11-20 Simon Josefsson * lib/xstep.c: (gsasl_step): Check if sctx is valid. Suggested by pitrp@wg78.de (Peter Prohaska). 2003-11-20 Simon Josefsson * lib/done.c: (gsasl_done): Use VALID_HANDLE. 2003-11-20 Simon Josefsson * lib/error.c: (gsasl_strerror): Add GSASL_INVALID_HANDLE. 2003-11-20 Simon Josefsson * lib/gsasl.h.in: (Gsasl_rc): Add GSASL_INVALID_HANDLE. 2003-11-20 Simon Josefsson * lib/internal.h: (VALID_CTX): Rename to VALID_HANDLE. (VALID_SESSION_CTX): Rename to VALID_SESSION_HANDLE. 2003-11-20 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-01.txt, doc/specification/draft-siemborski-rfc2554bis-01.txt: Add. 2003-11-19 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-18 Simon Josefsson * lib/xstep.c: (gsasl_step): Don't loop around TOO_SMALL_BUFFER, it only hides problems because the plugins are not written to handle this. Will be solved when mechanism interface is fixed. 2003-11-17 Simon Josefsson * README-alpha: Mention versions. 2003-11-17 Simon Josefsson * src/gsasl.c: (readln): Try to be compatible with gsasl 0.0.6. 2003-11-17 Simon Josefsson * lib/xstep.c: Increase initial length, for GSSAPI, until we rewrite the internal mechanism API as well. 2003-11-15 Simon Josefsson * doc/specification/tom.wu-rfc2945-message_digest_comment: Add. From pitrp@wg78.de (Peter Prohaska). 2003-11-14 Simon Josefsson * lib/obsolete.c: Add. 2003-11-14 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-14 Simon Josefsson * doc/gsasl.texi: Add 'Old Functions'. 2003-11-14 Simon Josefsson * doc/Makefile.am: Update DocBook HTML target. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * lib/callback.c, lib/gsasl.h.in: Shorten parameter name. 2003-11-14 Simon Josefsson * lib/callback-c.c, lib/callback-s.c, lib/callback.c, lib/done.c, lib/gsasl.h.in, lib/init.c, lib/internal.h, lib/listmech.c, lib/suggest.c, lib/supportp.c, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, po/gsasl.pot, po/sv.po: Rename Gsasl_ctx to Gsasl, and Gsasl_session_ctx to Gsasl_session. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * lib/callback-s.c: (gsasl_server_ctx_get): Moved to obsolete.c (use gsasl_ctx_get instead). (gsasl_server_application_data_get): Moved to obsolete.c (use gsasl_appinfo_get). (gsasl_server_application_data_set): Moved to obsolete.c (use gsasl_appinfo_set). 2003-11-14 Simon Josefsson * NEWS: Add. Fix. 2003-11-14 Simon Josefsson * lib/gsasl.h.in: Move deprecated functions around. 2003-11-14 Simon Josefsson * lib/obsolete.c: (gsasl_client_ctx_get): Add, from callback-c.c. (gsasl_client_application_data_set): Likewise. (gsasl_client_application_data_get): Likewise. (gsasl_server_ctx_get): Add, from callback-s.c. (gsasl_server_application_data_set): Likewise. (gsasl_server_application_data_get): Likewise. 2003-11-14 Simon Josefsson * lib/callback-c.c: (gsasl_client_ctx_get): Move to obsolete.c (use gsasl_ctx_get instead). (gsasl_client_application_data_get): Move to obsolete.c (use gsasl_appinfo_get instead). (gsasl_client_application_data_set): Move to obsolete.c (use gsasl_appinfo_set instead). 2003-11-14 Simon Josefsson * lib/callback.c: (gsasl_ctx_get): Add. (gsasl_application_session_data_get): Rename to gsasl_appinfo_get. (gsasl_application_session_data_set): Rename to gsasl_appinfo_set. 2003-11-14 Simon Josefsson * lib/gsasl.h.in: (gsasl_application_session_data_set, gsasl_application_session_data_get): New. 2003-11-14 Simon Josefsson * lib/callback.c: (gsasl_application_session_data_get, gsasl_application_session_data_set): New. 2003-11-14 Simon Josefsson * crypto/Makefile.am, crypto/md5-meta.c: Add md5-meta.c. 2003-11-14 Simon Josefsson * lib/plain/plain.c: Fix mem leak (again). 2003-11-14 Simon Josefsson * lib/ntlm/ntlm.c, lib/plain/plain.c: Fix mem leak. 2003-11-14 Simon Josefsson * lib/obsolete.c: Fix mem leaks. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * tests/simple.c: Indent. 2003-11-14 Simon Josefsson * tests/simple.c: Indent. 2003-11-14 Simon Josefsson * doc/Makefile.am: Fix DocBook HTML targets. 2003-11-14 Simon Josefsson * NEWS: Add. Fix. 2003-11-14 Simon Josefsson * lib/xfinish.c: (gsasl_finish): New. (gsasl_client_finish, gsasl_server_finish): Removed, moved to obsolete.c. 2003-11-14 Simon Josefsson * lib/gsasl.h.in: (gsasl_step, gsasl_step64): New. (gsasl_finish): Likewise. (gsasl_client_step, gsasl_server_step): Deprecated; moved around to obsolete.c. (gsasl_client_step_base64, gsasl_server_step_base64): Likewise. (gsasl_client_finish, gsasl_server_finish): Likewise. 2003-11-14 Simon Josefsson * lib/xstep.c: (gsasl_client_step, gsasl_server_step): Deprecated, moved to obsolete.c. (gsasl_client_step_base64, gsasl_server_step_base64): Likewise. (_gsasl_session_step_base64): Removed. (gsasl_step): New function. (gsasl_step64): New function, based on _gsasl_session_step_base64. 2003-11-14 Simon Josefsson * lib/obsolete.c: (gsasl_client_step, gsasl_server_step): New, from xstep.c. (gsasl_client_step_base64, gsasl_server_step_base64): Likewise. (_gsasl_step, _gsasl_step64): Utility functions, used by previous wrappers. (gsasl_client_finish, gsasl_server_finish): New, from xfinish.c. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * lib/securid/securid.c: Fix size checks. 2003-11-14 Simon Josefsson * tests/simple.c: Add size checks to callbacks. 2003-11-14 Simon Josefsson * lib/anonymous/anonymous.c: (_gsasl_anonymous_client_step): Don't increment step until we are going to return success. 2003-11-14 Simon Josefsson * lib/internal.h: (_Gsasl_mechanism_functions): Split out function typedefs. 2003-11-11 Simon Josefsson * lib/common.c: Add W to GSASL_VALID_MECHANISM_CHARACTERS. 2003-11-11 Simon Josefsson * doc/Makefile.am: Replace gsasl.html target with AM_MAKEINFOHTMLFLAGS (part of CVS automake). 2003-11-11 Simon Josefsson * NEWS: Fix. 2003-11-11 Simon Josefsson * NEWS: Add. 2003-11-11 Simon Josefsson * lib/gsasl.h.in: Reorder error codes. Rename GSASL_SHISHI_ERROR to GSASL_KERBEROS_V5_INTERNAL_ERROR (but keep alias for a while). 2003-11-11 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c: Replace GSASL_SHISHI_ERROR with GSASL_KERBEROS_V5_INTERNAL_ERROR. 2003-11-11 Simon Josefsson * lib/gsasl.h.in: Remove gsasl_hexdump declaration. 2003-11-11 Simon Josefsson * lib/digest-md5/digest-md5.c: Fix typo in last commit. 2003-11-11 Simon Josefsson * lib/digest-md5/digest-md5.c: Don't use unportable asprintf. Use #define for maxbuf magic values. Check callback supplied maxbuf values for out of range. 2003-11-11 Simon Josefsson * lib/digest-md5/digest-md5.c: Check supplied maxbuf values better. 2003-11-11 Simon Josefsson * lib/gssapi/gssapi.c: Add the RFC reference to comment. 2003-11-10 Simon Josefsson * doc/specification/srp.ps, doc/specification/srp6.ps: Add. 2003-11-10 Simon Josefsson * doc/gsasl.texi: Fix --disable-client/server discussion. 2003-11-10 Simon Josefsson * README-alpha: Update building for CVS explanation. 2003-11-10 Simon Josefsson * doc/gsasl.texi: (Features): Mention protability. 2003-11-10 Simon Josefsson * README: Fix todos. 2003-11-10 Simon Josefsson * README: Mention portability. 2003-11-10 Simon Josefsson * README: Update dependencies for each mechanism. 2003-11-10 Simon Josefsson * doc/gendocs.sh: Remove texinfo bug workaround (was fixed in CVS texinfo). 2003-11-10 Simon Josefsson * NEWS: Add. 2003-11-10 Simon Josefsson * NEWS: Add. 2003-11-10 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-10 Simon Josefsson * lib/Makefile.am: Fix typo. 2003-11-10 Simon Josefsson * NEWS: Add. 2003-11-10 Simon Josefsson * THANKS: Typo. 2003-11-10 Simon Josefsson * THANKS: Add. 2003-11-10 Simon Josefsson * lib/listmech.c: (gsasl_server_mechlist): Use clientp=0. From pitrp@wg78.de (Peter Prohaska). 2003-11-10 Simon Josefsson * lib/digest-md5/digest-md5.c, lib/gssapi/gssapi.c, lib/libgcrypt.c, lib/listmech.c, lib/xstart.c, lib/xstep.c: Indent. 2003-11-10 Simon Josefsson * lib/Makefile.am: Fix GSSAPI/NTLM header file names. 2003-11-09 Simon Josefsson * lib/error.c: (gsasl_strerror): Add GSASL_NO_CLIENT_CODE, GSASL_NO_SERVER_CODE. 2003-11-09 Simon Josefsson * lib/gsasl.h.in: Add GSASL_NO_CLIENT_CODE, GSASL_NO_SERVER_CODE. Typedef error code enum to Gsasl_rc. 2003-11-09 Simon Josefsson * lib/xstart.c: (_gsasl_setup): Don't fail if there is no start function in the mechanism. 2003-11-09 Simon Josefsson * lib/common.c: Fix typos. 2003-11-09 Simon Josefsson * lib/Makefile.am: Always build callback-c. and callback-s.c. 2003-11-09 Simon Josefsson * lib/xstep.c: (_gsasl_session_step_base64): Cleanups, e.g. check malloc return values. 2003-11-09 Simon Josefsson * lib/xfinish.c: (gsasl_client_finish, gsasl_server_finish): Add XXX. 2003-11-09 Simon Josefsson * lib/xcode.c: (_gsasl_code): Check output buffer size. 2003-11-09 Simon Josefsson * lib/xstart.c: (_gsasl_start): Split off some code into _gsasl_setup, and use it. (_gsasl_setup): New function. 2003-11-09 Simon Josefsson * lib/xstart.c: (_gsasl_find_mechanism): New. (_gsasl_start): Simplified, renamed from _gsasl_session_start. (gsasl_client_start, gsasl_server_start): Fix call to _gsasl_start. 2003-11-09 Simon Josefsson * lib/xcode.c: (gsasl_encode, gsasl_decode): Call _gsasl_code. (_gsasl_code): New function, generalization of the other two. 2003-11-09 Simon Josefsson * lib/common.c: (GSASL_VALID_MECHANISM_CHARACTERS): Remove lower case characters. 2003-11-09 Simon Josefsson * lib/done.c: (gsasl_done): Use VALID_CTX. 2003-11-09 Simon Josefsson * lib/internal.h: Add VALID_CTX and VALID_SESSION_CTX macros. 2003-11-09 Simon Josefsson * lib/listmech.c, lib/obsolete.c, lib/suggest.c, lib/supportp.c, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c: Remove USE_CLIENT/USE_SERVER #ifdef's. 2003-11-09 Simon Josefsson * lib/common.c: Update #include of mechanism headers. Move USE_CLIENT/USE_SERVER #ifdef's within structure, so that members are initialized to NULL when USE_CLIENT/USE_SERVER is not defined. 2003-11-09 Simon Josefsson * lib/Makefile.am, lib/{ => anonymous}/anonymous.c, lib/{ => anonymous}/anonymous.h, lib/common.c, lib/{ => cram-md5}/cram-md5.c, lib/{ => cram-md5}/cram-md5.h, lib/{ => digest-md5}/digest-md5.c, lib/{ => digest-md5}/digest-md5.h, lib/{ => external}/external.c, lib/{ => external}/external.h, lib/{ => gssapi}/gssapi.c, lib/{ => gssapi}/x-gssapi.h, lib/{ => kerberos_v5}/kerberos_v5.c, lib/{ => kerberos_v5}/kerberos_v5.h, lib/{ => login}/login.c, lib/{ => login}/login.h, lib/{ => ntlm}/ntlm.c, lib/{ => ntlm}/x-ntlm.h, lib/{ => plain}/plain.c, lib/{ => plain}/plain.h, lib/{ => securid}/securid.c, lib/{ => securid}/securid.h: Move implementation of each mechanism into a separate directory. Update SOURCES in Makefile.am and #include's in common.c accordingly. 2003-11-09 Simon Josefsson * lib/Makefile.am: Use AM_CPPFLAGS instead of target_CPPFLAGS. 2003-11-09 Simon Josefsson * configure.ac: Update gnulib section. 2003-11-09 Simon Josefsson * gl/Makefile.am, gl/alloca.c, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/stdbool_.h, gl/strncasecmp.c, gl/xalloc.h, gl/xmalloc.c, gl/xstrdup.c: Update. 2003-11-09 Simon Josefsson * gl/m4/argp.m4, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/m4/xalloc.m4: Update. 2003-11-09 Simon Josefsson * doc/Makefile.am: Remove unused ps_TEXINFOS pdf_TEXINFOS. 2003-11-09 Simon Josefsson * .cvsignore, m4/.cvsignore: [no log message] 2003-11-09 Simon Josefsson * lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Use *_CPPFLAGS instead of obsolete INCLUDES. 2003-11-09 Simon Josefsson * gl/m4/Makefile.am, m4/Makefile.am: Remove (not needed by modern automake). 2003-11-09 Simon Josefsson * configure.ac: Replace AC_HELP_STRING with AS_HELP_STRING. Move DocBook stuff last. Remove TEXI2PDF. 2003-11-09 Simon Josefsson * Makefile.am: Don't descend into m4. Move gl/ after lib/. 2003-11-09 Simon Josefsson * gl/Makefile.am: Don't descend into m4/. 2003-11-09 Simon Josefsson * configure.ac: Conformance fixes. 2003-11-09 Simon Josefsson * autogen.sh: Add warnings. 2003-11-09 Simon Josefsson * lib/securid.c: Make PASSCODE/PIN #define's visible to entire file. 2003-11-09 Simon Josefsson * lib/internal.h: Remove CPP cruft. 2003-11-07 Simon Josefsson * configure.ac: Remove libtool bug workaround. Remove dmalloc check. 2003-11-02 Simon Josefsson * doc/Makefile.am: Add DocBook targets. 2003-11-02 Simon Josefsson * doc/gendocs_template: Add Doxygen. 2003-11-02 Simon Josefsson * doc/reference/gsasl-docs.sgml, doc/reference/tmpl/.cvsignore, doc/reference/tmpl/gsasl.sgml: Remove. 2003-11-02 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2003-11-02 Simon Josefsson * doc/reference/Makefile.am, doc/reference/gsasl-docs.tmpl, doc/reference/gsasl.types: Rewrite, taken from libidn. 2003-11-01 Simon Josefsson * po/POTFILES.in: Remove hexdump. 2003-11-01 Simon Josefsson * Makefile.am: Don't disable gtk-doc for distcheck here. 2003-11-01 Simon Josefsson * configure.ac: Use gtk-doc.m4. 2003-11-01 Simon Josefsson * m4/Makefile.am, m4/gtk-doc.m4: Add gtk-doc.m4. 2003-11-01 Simon Josefsson * configure.ac: Don't build doc/man/Makefile. 2003-11-01 Simon Josefsson * NEWS: Add. 2003-11-01 Simon Josefsson * doc/gendocs.sh: Mkdir -p. Work around _ XML bug in makeinfo --docbook. 2003-11-01 Simon Josefsson * doc/gendocs.sh: Mkdir HTML. 2003-11-01 Simon Josefsson * doc/gendocs_template: Sync with libidn (modulo doxygen). 2003-11-01 Simon Josefsson * doc/gendocs.sh: Sync with libidn. 2003-11-01 Simon Josefsson * doc/gendocs.sh, doc/gendocs_template: Add (from texinfo). 2003-11-01 Simon Josefsson * NEWS: Add. 2003-11-01 Simon Josefsson * doc/gsasl.texi, lib/Makefile.am, lib/hexdump.c: Remove hexdump. 2003-11-01 Simon Josefsson * lib/digest-md5.c: Remove debug code. 2003-11-01 Simon Josefsson * lib/digest-md5.c: Use GSASL crypto API instead of libgcrypt. 2003-11-01 Simon Josefsson * AUTHORS: Fix typo. 2003-11-01 Simon Josefsson * AUTHORS: Update PGP key. 2003-11-01 Simon Josefsson * doc/.cvsignore: [no log message] 2003-11-01 Simon Josefsson * doc/gsasl.texi: Change @include's to point at GDOC version. 2003-11-01 Simon Josefsson * doc/Makefile.gdoci: Rebuild Makefile after modifying Makefile.gdoc (shouldn't that be automatic?). 2003-11-01 Simon Josefsson * doc/Makefile.am: Use GDOC framework. Cleanup DocBook targets. 2003-11-01 Simon Josefsson * autogen.sh: Add gdoc bug workaround. 2003-11-01 Simon Josefsson * doc/Makefile.gdoci: Add. 2003-11-01 Simon Josefsson * doc/Makefile.am: Don't build in man/. Move gsasl.1 man target here. Add GDOC framework. 2003-11-01 Simon Josefsson * doc/.cvsignore: [no log message] 2003-11-01 Simon Josefsson * doc/gdoc: Update. 2003-11-01 Simon Josefsson * doc/man/.cvsignore, doc/man/Makefile.am: Remove (replaced by gdoc framework). 2003-10-30 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-00.txt, doc/specification/draft-siemborski-rfc2554bis-00.txt: Add. 2003-10-29 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-00.tx t, doc/specification/draft-siemborski-imap-sasl-initial-response-01b.t xt: Add. 2003-10-29 Simon Josefsson * README: Add todo item. 2003-10-29 Simon Josefsson * lib/libgcrypt.c: (_gsasl_crypto_init): Fix warnings. 2003-10-29 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-03.txt, doc/specification/draft-ietf-sasl-rfc2222bis-03.txt: Add. 2003-10-29 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-04.txt: Add. 2003-10-23 Simon Josefsson * doc/Makefile.am: Dist doxygen/gdoc2doxygen. 2003-10-23 Simon Josefsson * .cvsignore, doc/doxygen/.cvsignore, doc/doxygen/gdoc2doxygen: Add. 2003-10-23 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2003-10-23 Simon Josefsson * doc/doxygen/Doxyfile.in: Add. 2003-10-23 Simon Josefsson * doc/Makefile.am: Dist doxygen/Doxyfile.in. 2003-10-23 Simon Josefsson * configure.ac: Add AC_CONFIG_AUX_DIR for new automake. Build doc/doxygen/Doxyfile. 2003-10-16 Simon Josefsson * doc/gsasl.texi: Add. 2003-10-16 Simon Josefsson * NEWS: Fix. 2003-10-14 Simon Josefsson * Makefile.am: Fix order. 2003-10-14 Simon Josefsson * Makefile.am, configure.ac: Use conditional NETTLE instead of @CRYPTO@ substitution. 2003-10-14 Simon Josefsson * lib/cram-md5.c: Rename MD5_LEN to MD5LEN, for consistency with digest-md5.c. 2003-10-14 Simon Josefsson * crypto/.cvsignore, crypto/Makefile.am, crypto/README, crypto/hmac-md5.c, crypto/hmac.c, crypto/hmac.h, crypto/macros.h, crypto/md5.c, crypto/md5.h, crypto/memxor.c, crypto/memxor.h, crypto/nettle-meta.h: Add (from Lsh Nettle CVS). 2003-10-14 Simon Josefsson * lib/cram-md5.c: Use abstract crypto interface. 2003-10-14 Simon Josefsson * Makefile.am, NEWS, configure.ac, lib/Makefile.am, lib/gsasl.h.in, lib/internal.h, lib/libgcrypt.c, lib/nettle.c: Add crypto/ containing (parts of) Nettle. Test for libgcrypt 1.1.42 or later. Fall back to Nettle if libgcrypt not found. Add abstract crypto interface. 2003-10-12 Simon Josefsson * NEWS: Add. 2003-10-12 Simon Josefsson * lib/digest-md5.c: Remove unused error checking, based on report from Marc Mutz . 2003-10-12 Simon Josefsson * THANKS: Add. 2003-10-12 Simon Josefsson * lib/digest-md5.c: Fix tokenizing of strings when they end with ", based on report from Marc Mutz . 2003-10-11 Simon Josefsson * NEWS, configure.ac: Bump versions. 2003-10-11 Simon Josefsson * Makefile.am: Fix release target. 2003-10-11 Simon Josefsson * ChangeLog: [no log message] 2003-10-11 Simon Josefsson * NEWS: Version 0.0.8. 2003-10-10 Simon Josefsson * configure.ac: Bump so version. Fix so version comments (mimic libtool manual). 2003-10-10 Simon Josefsson * NEWS: Fix. 2003-10-10 Simon Josefsson * NEWS: Add. Fix. 2003-10-10 Simon Josefsson * gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp.h, gl/m4/argp.m4: Fix for Solaris Forte 7 CC, based on report from Lars Engebretsen . 2003-10-10 Simon Josefsson * gl/Makefile.am, gl/m4/Makefile.am, gl/m4/strcase.m4, gl/strcase.h, gl/strcasecmp.c: Add. 2003-10-10 Simon Josefsson * configure.ac: Gnulib fix. 2003-10-10 Simon Josefsson * gl/Makefile.am, gl/m4/Makefile.am, gl/m4/restrict.m4, gl/unlocked-io.h: Update. 2003-10-09 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Update. 2003-10-09 Simon Josefsson * NEWS: Fix. 2003-10-09 Simon Josefsson * lib/stringprep-no.c: Doc fix. 2003-10-09 Simon Josefsson * lib/internal.h: (_gsasl_no_stringprep_nfkc, _gsasl_no_stringprep): Add prototypes. 2003-10-09 Simon Josefsson * tests/simple.c: Fix. 2003-10-09 Simon Josefsson * configure.ac: If both MIT and Heimdal is installed, chose Heimdal and warn about it, instead of aborting. 2003-10-09 Simon Josefsson * lib/gssapi.c: Fix comment. 2003-10-09 Simon Josefsson * doc/man/Makefile.am: Add. 2003-10-09 Simon Josefsson * lib/obsolete.c: Doc fix. 2003-10-09 Simon Josefsson * NEWS: Fix. 2003-10-09 Simon Josefsson * src/gsasl.c: Make it work on Solaris: Don't use standard C for IO. Fix strcpy to itself. Based on report from Lars Engebretsen . 2003-10-09 Simon Josefsson * src/gsasl.c: Remove debug code. 2003-10-09 Simon Josefsson * configure.ac: Check for socket in -lsocket and gethostbyname in -lnsl. 2003-10-09 Simon Josefsson * doc/gsasl.texi, src/gsasl.c: Add -d as short form for --application-data. 2003-10-09 Simon Josefsson * src/gsasl.c: Use new gsasl_client_mechlist and gsasl_server_mechlist API. 2003-10-09 Simon Josefsson * lib/obsolete.c: Add. 2003-10-09 Simon Josefsson * NEWS, lib/Makefile.am, lib/gsasl.h.in, lib/internal.h, lib/listmech.c: (gsasl_client_mechlist, gsasl_server_mechlist): New. (gsasl_client_listmech, gsasl_server_listmech): Deprecate. 2003-10-09 Simon Josefsson * NEWS, lib/gsasl.h.in, src/callbacks.c, src/callbacks.h, src/gsasl.c: Make maxbuf size_t. 2003-10-09 Simon Josefsson * configure.ac: Add getline. 2003-10-09 Simon Josefsson * gl/Makefile.am, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/m4/Makefile.am, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/ssize_t.m4: Add getline. Update argp from gnulib. 2003-10-07 Simon Josefsson * src/callbacks.c: (utf8cpy): Don't crash if stringprep is not used. 2003-10-07 Simon Josefsson * NEWS: Fix. 2003-10-07 Simon Josefsson * NEWS, THANKS: Add. 2003-10-07 Simon Josefsson * configure.ac: Rewrite GSS test, suggested by Lars Engebretsen . 2003-10-07 Simon Josefsson * configure.ac, lib/gssapi.c: Fix GSSAPI include check. 2003-10-06 Simon Josefsson * lib/stringprep-no.c: Fix. 2003-10-06 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Generated. 2003-10-06 Simon Josefsson * NEWS: Add. 2003-10-06 Simon Josefsson * tests/Makefile.am: Don't always build self tests. 2003-10-06 Simon Josefsson * lib/gsasl.h.in: Fix last commit. 2003-10-06 Simon Josefsson * lib/digest-md5.c, lib/gsasl.h.in, src/callbacks.c, src/callbacks.h, src/gsasl.c: Maxbuf is unsigned long, suggested by Alexey Melnikov . 2003-10-06 Simon Josefsson * lib/gssapi.c: (_gsasl_gssapi_server_finish): Fix call to gss_release_cred(). 2003-10-06 Simon Josefsson * lib/digest-md5.c, lib/internal.h, lib/stringprep-no.c: Cleanup. 2003-10-06 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Generated. 2003-10-06 Simon Josefsson * lib/common.c, lib/gsasl.h.in, lib/xstep.c, src/callbacks.c, src/callbacks.h, src/gsasl.c, tests/simple.c: Indent. 2003-10-05 Simon Josefsson * README: Fix. 2003-10-05 Simon Josefsson * lib/stringprep-no.c: Fix. 2003-10-05 Simon Josefsson * tests/simple.c: Handle no libstringprep. 2003-10-05 Simon Josefsson * NEWS: Mention i18n string API. 2003-10-05 Simon Josefsson * doc/gsasl.texi, doc/reference/tmpl/gsasl.sgml: Add. 2003-10-05 Simon Josefsson * doc/man/Makefile.am: Update. 2003-10-05 Simon Josefsson * doc/Makefile.am: Add stringprep. 2003-10-05 Simon Josefsson * lib/stringprep.c: Doc fix. 2003-10-05 Simon Josefsson * doc/Makefile.am: Fix callback. 2003-10-05 Simon Josefsson * lib/cram-md5.c, lib/digest-md5.c, lib/gsasl.h.in, lib/login.c, lib/plain.c: Use new stringprep API. 2003-10-05 Simon Josefsson * configure.ac, lib/Makefile.am, lib/internal.h, lib/stringprep-no.c, lib/stringprep.c: Make libstringprep optional. 2003-10-05 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-02.txt: Add. 2003-10-03 Simon Josefsson * gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c: Sync with my proposed glibc patches. 2003-10-02 Simon Josefsson * doc/gsasl.texi: Cosmetic fixes. 2003-10-02 Simon Josefsson * lib/gsasl.h.in: Comment fix. 2003-10-02 Simon Josefsson * configure.ac: Fix header checks. 2003-10-02 Simon Josefsson * configure.ac: New libidn check; not included any more. 2003-10-02 Simon Josefsson * configure.ac, lib/.cvsignore, lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/callback-c.c, lib/callback-s.c, lib/callback.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/external.c, lib/external.h, lib/gssapi.c, lib/kerberos_v5.c, lib/kerberos_v5.h, lib/login.c, lib/login.h, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/x-gssapi.h, lib/x-ntlm.h: Client/server separation fixes. 2003-10-02 Simon Josefsson * Makefile.am: Don't build libidn. 2003-10-02 Simon Josefsson * src/Makefile.am: Remove LIBIDN_*. 2003-10-02 Simon Josefsson * src/callbacks.c: Protect stringprep_locale_to_utf8. 2003-10-02 Simon Josefsson * lib/internal.h, src/internal.h: Protect stringprep.h. 2003-10-02 Simon Josefsson * lib/listmech.c, lib/suggest.c, lib/supportp.c: Use USE_CLIENT/SERVER. 2003-10-01 Simon Josefsson * doc/gsasl.texi: Add. 2003-10-01 Simon Josefsson * Makefile.am: Use --fsf with cvs2cl. 2003-10-01 Simon Josefsson * Makefile.am: Disable GTK-DOC. 2003-10-01 Simon Josefsson * doc/reference/Makefile.am: Sort includes. Generalize install hooks. Don't break when GTK-DOC disabled. 2003-10-01 Simon Josefsson * NEWS: Add. 2003-10-01 Simon Josefsson * doc/.cvsignore, doc/Makefile.am, doc/man/.cvsignore, doc/man/Makefile.am: Add man pages. 2003-10-01 Simon Josefsson * doc/gdoc: Update (from Shishi). 2003-10-01 Simon Josefsson * configure.ac: New GTK-DOC check. Add doc/man/. 2003-10-01 Simon Josefsson * src/gettext.h: Remove (GNULib used instead). 2003-10-01 Simon Josefsson * src/internal.h: Fix string.h. 2003-10-01 Simon Josefsson * src/Makefile.am: Use gettext.h from GNULib. 2003-10-01 Simon Josefsson * lib/Makefile.am: Don't use GNULib. 2003-10-01 Simon Josefsson * NEWS, lib/gettext.h: Add. 2003-10-01 Simon Josefsson * lib/internal.h: Use lib/gettext.h instead of GNULib. 2003-10-01 Simon Josefsson * lib/internal.h: Don't use minmax.h. 2003-10-01 Simon Josefsson * configure.ac, gl/Makefile.am, gl/minmax.h: Remove minmax. 2003-10-01 Simon Josefsson * gl/Makefile.am, gl/gethostname.c, gl/m4/Makefile.am, gl/m4/gethostname.m4, gl/m4/memmove.m4, gl/m4/memset.m4, gl/m4/strdup.m4, gl/memmove.c, gl/memset.c, gl/strdup.c: We assume C89. 2003-10-01 Simon Josefsson * lib/internal.h: Use minmax.h. 2003-10-01 Simon Josefsson * configure.ac, gl/Makefile.am, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/asnprintf.c, gl/asprintf.c, gl/m4/Makefile.am, gl/m4/intmax_t.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/signed.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/vasprintf.h, lib/gettext.h: GNULib sync. 2003-10-01 Simon Josefsson * src/Makefile.am: Fix. 2003-10-01 Simon Josefsson * lib/Makefile.am: Remove -I../intl. Fix LIBADD for libfoo.la. 2003-10-01 Simon Josefsson * gl/Makefile.am, gl/minmax.h: Add minmax. 2003-10-01 Simon Josefsson * configure.ac: Refuse to disable both client and server. 2003-10-01 Simon Josefsson * configure.ac, gl/Makefile.am, gl/alloca.c, gl/alloca_.h, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/gethostname.c, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/m4/Makefile.am, gl/m4/alloca.m4, gl/m4/argp.m4, gl/m4/error.m4, gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/getopt.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/mempcpy.m4, gl/m4/strchrnul.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/unlocked-io.m4, gl/m4/vasnprintf.m4, gl/m4/xalloc.m4, gl/malloc.c, gl/memmove.c, gl/mempcpy.c, gl/mempcpy.h, gl/memset.c, gl/realloc.c, gl/strchrnul.c, gl/strdup.c, gl/strndup.c, gl/{strerror.c => strndup.h}, gl/strnlen.c, gl/vasnprintf.c, gl/xmalloc.c, gl/xstrdup.c: GNULib sync. 2003-10-01 Simon Josefsson * lib/internal.h: Move #include to STDC_HEADERS. 2003-10-01 Simon Josefsson * lib/xfinish.c: Revert and fix. Suggested by Andorz Nilsson . 2003-10-01 Simon Josefsson * lib/xstart.c, lib/xstep.c: Revert, less duplicated code. Suggested by Andorz Nilsson . 2003-09-20 Simon Josefsson * configure.ac: Disable KERBEROS_V5 by default (Shishi API too unstable). 2003-09-02 Simon Josefsson * doc/{ => specification}/draft-newman-sasl-c-api-02.txt: Move to specification/. 2003-09-02 Simon Josefsson * doc/draft-newman-sasl-c-api-02.txt: Add. 2003-09-01 Simon Josefsson * configure.ac: Don't check for math.h (not needed). 2003-09-01 Simon Josefsson * lib/digest-md5.c: Don't require -lm. 2003-08-29 Simon Josefsson * doc/specification/draft-murchison-sasl-login-00.txt: Add. 2003-08-22 Simon Josefsson * src/Makefile.am: Link gnulib (for argp). 2003-08-22 Simon Josefsson * configure.ac: fix libidn paths. 2003-08-22 Simon Josefsson * configure.ac: Fix libidn CFLAGS. 2003-08-19 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-02.txt: Add. 2003-08-09 Simon Josefsson * gl/Makefile.am: Use libtool. 2003-08-09 Simon Josefsson * gl/.cvsignore: [no log message] 2003-08-05 Simon Josefsson * NEWS: Fix. 2003-08-04 Simon Josefsson * NEWS: Typo. 2003-08-04 Simon Josefsson * NEWS: Add. 2003-08-04 Simon Josefsson * configure.ac, lib/common.c, lib/done.c, lib/init.c, lib/internal.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, tests/simple.c: Make client/server optional. 2003-08-04 Simon Josefsson * configure.ac: Add gnulib checks. 2003-08-04 Simon Josefsson * lib/digest-md5.c: Don't require -lm. 2003-08-04 Simon Josefsson * lib/Makefile.am: Remove -lm. 2003-08-04 Simon Josefsson * NEWS, THANKS, gl/Makefile.am, gl/asnprintf.c, gl/asprintf.c, gl/exitfail.c, gl/exitfail.h, gl/gettext.h, gl/m4/Makefile.am, gl/m4/exitfail.m4, gl/m4/intmax_t.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/signed.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/unlocked-io.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/vasprintf.h, gl/xalloc.h, gl/xmalloc.c: Add. 2003-07-31 Simon Josefsson * Makefile.am: Replace gnudist with gnuftp. 2003-07-31 Simon Josefsson * doc/gsasl.texi: Don't read token from server if we are done. 2003-07-31 Simon Josefsson * doc/gsasl.texi: Fix typos, suggested by Andorz Nilsson. 2003-07-31 Simon Josefsson * doc/gsasl.texi: Update documentation to new API exit codes, suggested by Andorz Nilsson. 2003-07-11 Simon Josefsson * gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h: Sync. 2003-07-11 Simon Josefsson * gl/argp-fmtstream.h, gl/argp-namefrob.h: Cleanup. 2003-07-11 Simon Josefsson * gl/argp-fmtstream.c, gl/argp-help.c, gl/argp-parse.c: Sync. 2003-07-10 Simon Josefsson * configure.ac: Check for sys/types.h earlier. Improve libidn warning. 2003-07-10 Simon Josefsson * src/internal.h: Include sys/types.h earlier. 2003-07-10 Simon Josefsson * gl/argp-namefrob.h: Be safer when config.h doesn't define _UNLOCKED stuff. 2003-07-10 Simon Josefsson * gl/argp-namefrob.h, gl/m4/Makefile.am: Add. 2003-07-10 Simon Josefsson * gl/argp-help.c: Move namespace fixes to argp-namefrob.h. 2003-07-10 Simon Josefsson * gl/Makefile.am, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-xinl.c, gl/argp.h, gl/m4/argp.m4, gl/m4/mempcpy.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/mempcpy.c, gl/mempcpy.h, gl/strndup.c, gl/strnlen.c: Portability fixes. 2003-07-10 Simon Josefsson * configure.ac: More gnulib tests. 2003-07-10 Simon Josefsson * lib/Makefile.am: Fix libtool warning when linking gnulib. 2003-07-10 Simon Josefsson * gl/Makefile.am: Add deps. 2003-07-10 Simon Josefsson * configure.ac: Warn about too recent libgcrypt. 2003-07-10 Simon Josefsson * gl/argp-fmtstream.h, gl/argp-help.c, gl/argp.h: Sent to libc-alpha. 2003-07-10 Simon Josefsson * configure.ac: Fix test comparator. 2003-07-10 Simon Josefsson * .cvsignore: [no log message] 2003-07-10 Simon Josefsson * NEWS: Add. 2003-07-10 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-07-10 Simon Josefsson * Makefile.am: Don't regenerate ChangeLog too often. 2003-07-10 Simon Josefsson * m4/Makefile.am, m4/pkg.m4: Add. 2003-07-10 Simon Josefsson * configure.ac: Disable libgcrypt if the unreleased API incompatible version is installed. 2003-07-10 Simon Josefsson * po/{libgsasl.pot => gsasl.pot}: Rename due to tarname change. 2003-07-10 Simon Josefsson * po/Makevars: Use explicit bug address (cannot use relative one, sigh). 2003-07-10 Simon Josefsson * po/Makevars: Add bug address. 2003-07-10 Simon Josefsson * Makefile.am: Update release target. 2003-07-10 Simon Josefsson * configure.ac: Change tarname from libgsasl to gsasl. 2003-07-10 Simon Josefsson * NEWS: Add. 2003-07-10 Simon Josefsson * po/.cvsignore: [no log message] 2003-07-10 Simon Josefsson * po/.cvsignore: [no log message] 2003-07-10 Simon Josefsson * po/Makevars: Update. 2003-07-10 Simon Josefsson * configure.ac: Use gettext 0.12.1. 2003-07-10 Simon Josefsson * configure.ac, lib/Makefile.am: Replace argp and REPLACE_OBJ with gnulib. 2003-07-10 Simon Josefsson * Makefile.am, src/Makefile.am: Replace argp with gl. 2003-07-10 Simon Josefsson * gl/.cvsignore, gl/Makefile.am, gl/alloca.c, gl/alloca_.h, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/error.c, gl/error.h, gl/gethostname.c, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/gettext.h, gl/m4/.cvsignore, gl/m4/Makefile.am, gl/m4/alloca.m4, gl/m4/argp.m4, gl/m4/codeset.m4, gl/m4/error.m4, gl/m4/gethostname.m4, gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc21.m4, gl/m4/iconv.m4, gl/m4/intdiv0.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/malloc.m4, gl/m4/memmove.m4, gl/m4/memset.m4, gl/m4/nls.m4, gl/m4/onceonly_2_57.m4, gl/m4/po.m4, gl/m4/progtest.m4, gl/m4/realloc.m4, gl/m4/stdint_h.m4, gl/m4/strchrnul.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strerror_r.m4, gl/m4/sysexits.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/unlocked-io.m4, gl/m4/xalloc.m4, gl/malloc.c, gl/memmove.c, gl/memset.c, gl/realloc.c, gl/strchrnul.c, gl/strchrnul.h, gl/strdup.c, gl/strerror.c, gl/sysexit_.h, gl/unlocked-io.h, gl/xalloc.h, gl/xmalloc.c, gl/xstrdup.c: Add. 2003-07-10 Simon Josefsson * argp/.cvsignore: [no log message] 2003-07-10 Simon Josefsson * argp/Makefile.am, argp/Versions, argp/acinclude.m4, argp/argp-ba.c, argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fmtstream.h, argp/argp-fs-xinl.c, argp/argp-help.c, argp/argp-namefrob.h, argp/argp-parse.c, argp/argp-pv.c, argp/argp-pvh.c, argp/argp-test.c, argp/argp-xinl.c, argp/argp.h, argp/config.h.in, argp/configure.ac, argp/libargp.m4, argp/mempcpy.c, argp/strchrnul.c, argp/strndup.c, lib/gethostname.c, lib/memmove.c, lib/memset.c, lib/strdup.c, lib/strerror.c: Remove (to be replaced by gnulib). 2003-07-02 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-03.txt: Add. 2003-07-02 Simon Josefsson * Makefile.am: Add legal information to ChangeLog. 2003-07-02 Simon Josefsson * .cvscopying: Add. 2003-07-01 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-01.txt, doc/specification/draft-ietf-sasl-rfc2831bis-02.txt: Add. 2003-06-12 Simon Josefsson * doc/Makefile.am: Don't overwrite gsasl.1 if help2man isn't available. 2003-06-10 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-00.txt: Add. 2003-06-08 Simon Josefsson * configure.ac: Bump version. 2003-06-02 Simon Josefsson * ChangeLog: [no log message] 2003-06-02 Simon Josefsson * NEWS: Version 0.0.7. 2003-06-02 Simon Josefsson * lib/gssapi.c: Use gss.h. 2003-05-30 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-01.txt: Add. 2003-05-28 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-02.txt: Add. 2003-05-27 Simon Josefsson * NEWS: Fix. 2003-05-27 Simon Josefsson * doc/gsasl.texi: Mention GSS/Heimdal. 2003-05-27 Simon Josefsson * configure.ac: Bump version number. 2003-05-27 Simon Josefsson * README, THANKS: Mention Heimdal. 2003-05-27 Simon Josefsson * NEWS: Add. 2003-05-27 Simon Josefsson * lib/gssapi.c: SS_C_NT_HOSTBASED_SERVICE work around moved to configure. 2003-05-27 Simon Josefsson * configure.ac: GSS_C_NT_HOSTBASED_SERVICE work around moved to configure. 2003-05-27 Simon Josefsson * README: Mention GSS, CCured. Remove todo. 2003-05-27 Simon Josefsson * configure.ac: Warn if GSS isn't found. 2003-05-27 Simon Josefsson * THANKS: Mention GSS. 2003-05-27 Simon Josefsson * doc/gsasl.texi: License doesn't have to be invariant. 2003-05-26 Simon Josefsson * doc/Makefile.am: Replace lt-gsasl with gsasl in man page (work around libtool). 2003-05-24 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-00.txt: Add. 2003-05-24 Simon Josefsson * lib/gssapi.c: Deallocate GSS context correctly. 2003-05-18 Simon Josefsson * lib/gssapi.c: Support GSS. 2003-05-18 Simon Josefsson * lib/Makefile.am: Add GSS flags. 2003-05-18 Simon Josefsson * configure.ac: Detect GSS. 2003-05-06 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-01.txt, doc/specification/draft-ietf-sasl-saslprep-00.txt, doc/specification/draft-ietf-sasl-saslprep-01.txt: Add. 2003-05-06 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-00.txt: Add. 2003-05-06 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-01.txt: Add. 2003-04-16 Simon Josefsson * ANNOUNCE: Mention devices it works on. 2003-03-31 Simon Josefsson * doc/specification/draft-newman-sasl-c-api-01.txt: Add. 2003-03-17 Simon Josefsson * THANKS: Add. 2003-03-17 Simon Josefsson * AUTHORS: Fix. 2003-03-17 Simon Josefsson * doc/gsasl.texi: Don't ack self. Fix --imap descriptoin. 2003-03-17 Simon Josefsson * Makefile.am: Fix release target. 2003-03-17 Simon Josefsson * ChangeLog: [no log message] 2003-03-17 Simon Josefsson * Makefile.am: Fix pkg-config filename. Fix release target. 2003-03-17 Simon Josefsson * NEWS: Version 0.0.6. 2003-03-17 Simon Josefsson * po/sv.po: Generated. 2003-03-17 Simon Josefsson * .cvsignore: [no log message] 2003-03-17 Simon Josefsson * doc/gsasl.texi: Update ports. 2003-03-17 Simon Josefsson * configure.ac: Bump version. 2003-03-17 Simon Josefsson * po/{gsasl.pot => libgsasl.pot}, po/sv.po: Fix. 2003-03-17 Simon Josefsson * configure.ac: Revert libgsasl->gsasl rename. Bump so version. 2003-03-17 Simon Josefsson * src/gsasl.c: Don't prepend 's:'. 2003-03-17 Simon Josefsson * .cvsignore: [no log message] 2003-03-17 Simon Josefsson * NEWS: Add. 2003-03-17 Simon Josefsson * Makefile.am, configure.ac, gsasl.pc.in => libgsasl.pc.in: Revert unfinished libgsasl->gsasl pkg-config rename (unwise since it has been package in debian now). 2003-03-17 Simon Josefsson * ANNOUNCE: Add krb5. Fix licensing. 2003-03-17 Simon Josefsson * Makefile.am: Fix maintainer targets. 2003-03-17 Simon Josefsson * lib/common.c, lib/kerberos_v5.c, lib/kerberos_v5.h: Add kerberos encode/decode. 2003-02-28 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-00.txt, doc/specification/draft-ietf-sasl-rfc2831bis-00.txt, doc/specification/draft-newman-nntpext-auth-01.txt, doc/specification/draft-nystrom-securid-sasl-00.txt, doc/specification/draft-nystrom-securid-sasl-02.txt, doc/specification/draft-weltman-java-sasl-01.txt, doc/specification/draft-zuccherato-9798-3-sasl-01.txt, doc/specification/draft-zuccherato-9798-3-sasl-02.txt: Add. 2003-02-27 Simon Josefsson * doc/gsasl.texi: Typo fix. 2003-02-19 Simon Josefsson * Makefile.am: Generate FSF style ChangeLog. 2003-02-14 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Add. 2003-02-14 Simon Josefsson * src/gsasl.c, src/internal.h: Fix socket address. 2003-02-14 Simon Josefsson * .cvsignore, Makefile.am, configure.ac, doc/Makefile.am, libgsasl.pc.in => gsasl.pc.in, lib/init.c, lib/internal.h, po/{libgsasl.pot => gsasl.pot}, po/sv.po, src/Makefile.am, src/gsasl.c, src/internal.h: Rename package from libgsasl to gsasl. Use external gettext. Cleanup GTK-DOC, now disabled by default. 2003-02-14 Simon Josefsson * lib/Makefile.am: Remove spurious non-ASCII character. 2003-02-14 Simon Josefsson * configure.ac: Fix libidn typo. 2003-02-10 Simon Josefsson * README: Fix. 2003-02-10 Simon Josefsson * README-alpha: Add CVS building info. 2003-02-08 Simon Josefsson * src/callbacks.c: Fix. 2003-02-08 Simon Josefsson * lib/gsasl.h.in, lib/hexdump.c, lib/init.c, lib/listmech.c, lib/login.c, lib/login.h, lib/supportp.c, lib/xstart.c, lib/xstep.c, src/gsasl.c, src/internal.h, tests/simple.c: Fix. 2003-02-08 Simon Josefsson * lib/done.c: Fix. 2003-02-08 Simon Josefsson * doc/gsasl.texi: Add. 2003-02-05 Simon Josefsson * lib/kerberos_v5.c: API fixes. 2003-02-04 Simon Josefsson * doc/specification/draft-josefsson-sasl-kerberos5-01.txt: Add. 2003-02-03 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Generated. 2003-02-03 Simon Josefsson * doc/reference/Makefile.am: Add. 2003-02-03 Simon Josefsson * autogen.sh: Cleanup. 2003-02-03 Simon Josefsson * lib/kerberos_v5.c: Fix. 2003-02-03 Simon Josefsson * lib/kerberos_v5.c: Fix. 2003-02-02 Simon Josefsson * lib/kerberos_v5.c: Remove. 2003-02-02 Simon Josefsson * lib/kerberos_v5.c: Almost operational. 2003-02-02 Simon Josefsson * lib/kerberos_v5.c: Code sync. 2003-02-02 Simon Josefsson * lib/callback.c, lib/gsasl.h.in, lib/internal.h, lib/kerberos_v5.c, src/callbacks.c, src/callbacks.h, src/gsasl.c: Add client realm callback. 2003-02-01 Simon Josefsson * lib/kerberos_v5.c: Fixes. Non-infrastructure mode finishes SASL negotiation, but with fixed username, realm etc and without proper Authentication application data. 2003-02-01 Simon Josefsson * lib/error.c, lib/gsasl.h.in: Add GSASL_NEED_SERVER_RETRIEVE_CALLBACK. 2003-02-01 Simon Josefsson * doc/gsasl.texi: Add KERBEROS_V5. 2003-02-01 Simon Josefsson * README: Add. 2003-02-01 Simon Josefsson * README: Add. 2003-02-01 Simon Josefsson * README: Fix. 2003-01-31 Simon Josefsson * lib/common.c, lib/cram-md5.c, lib/digest-md5.c, lib/kerberos_v5.c, lib/kerberos_v5.h, src/gsasl.c, src/internal.h: Indent. 2003-01-31 Simon Josefsson * lib/.cvsignore: [no log message] 2003-01-31 Simon Josefsson * lib/Makefile.am, lib/common.c, lib/gsasl.h.in, lib/kerberos_v5.c, lib/kerberos_v5.h: Add unfinished KERBEROS_V5. 2003-01-31 Simon Josefsson * configure.ac: Fix NTLM. Add shishi test. 2003-01-31 Simon Josefsson * lib/anonymous.c, lib/anonymous.h, lib/cram-md5.c, lib/digest-md5.c, lib/external.c, lib/external.h, lib/gssapi.c, lib/login.h, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/x-gssapi.h, lib/x-ntlm.h: Fix includes. 2003-01-30 Simon Josefsson * README: Add. 2003-01-30 Simon Josefsson * src/gsasl.c: Set --service to "imap" when --imap is specified. Set --hostname when --connect is specified. 2003-01-30 Simon Josefsson * ANNOUNCE: Add. 2003-01-30 Simon Josefsson * doc/gsasl.texi: Fix. 2003-01-27 Simon Josefsson * doc/gsasl.texi: Fix. 2003-01-27 Simon Josefsson * THANKS: Fix. 2003-01-27 Simon Josefsson * THANKS, doc/specification/draft-josefsson-sasl-kerberos5-00.txt: Add. 2003-01-27 Simon Josefsson * ANNOUNCE: Fix link. 2003-01-27 Simon Josefsson * ChangeLog: [no log message] 2003-01-27 Simon Josefsson * doc/Makefile.am: Don't try to build gsasl.txt. 2003-01-27 Simon Josefsson * NEWS, configure.ac: Release 0.0.5. 2003-01-27 Simon Josefsson * doc/gsasl.texi: Add Invoking gsasl. 2003-01-27 Simon Josefsson * src/gsasl.c: Incomplete but working --imap and --connect support. 2003-01-27 Simon Josefsson * src/internal.h: Include more (for select and friends). 2003-01-27 Simon Josefsson * configure.ac: Remove gnet. Don't check for libntlm, libgcrypt if disabled. Check errno. 2003-01-27 Simon Josefsson * lib/gssapi.c: Fix return value of last step in client. 2003-01-27 Simon Josefsson * lib/digest-md5.c: Fix encode/decode. 2003-01-26 Simon Josefsson * configure.ac: Look for libgnet. 2003-01-25 Simon Josefsson * doc/gsasl.texi: Add libgcrypt secure memory. 2003-01-25 Simon Josefsson * lib/cram-md5.c, lib/digest-md5.c: Fix libgcrypt initialization. 2003-01-23 Simon Josefsson * lib/digest-md5.c: (_gsasl_digest_md5_server_encode): Don't check output buffer size when output buffer is NULL. Reported by Sergey Poznyakoff . 2003-01-20 Simon Josefsson * po/libgsasl.pot, po/sv.po: Update. 2003-01-20 Simon Josefsson * NEWS: Fix. 2003-01-20 Simon Josefsson * doc/gsasl.texi: Fix acks. 2003-01-20 Simon Josefsson * doc/Makefile.am: Use automake's ps and pdf targets. Remove gsasl.txt target. 2003-01-20 Simon Josefsson * README-alpha, doc/reference/tmpl/gsasl.sgml: Fix. 2003-01-20 Simon Josefsson * doc/reference/tmpl/.cvsignore: [no log message] 2003-01-20 Simon Josefsson * doc/reference/gsasl-docs.sgml, doc/reference/tmpl/gsasl.sgml: Add. 2003-01-15 Simon Josefsson * NEWS: Add. 2003-01-15 Simon Josefsson * doc/reference/Makefile.am: Add uninstall target. Make distcheck fail gracefully. 2003-01-15 Simon Josefsson * configure.ac: Typos. 2003-01-15 Simon Josefsson * Makefile.am: Distcheck doesn't work with GTK-DOC. 2003-01-15 Simon Josefsson * Makefile.am: Fix distcheck for ChangeLog. 2003-01-15 Simon Josefsson * Makefile.am, configure.ac, lib/Makefile.am, src/Makefile.am: Use libidn instead of libstringprep. 2003-01-15 Simon Josefsson * README: Fix URL. 2003-01-15 Simon Josefsson * doc/gsasl.texi: Fix typos. 2003-01-15 Simon Josefsson * doc/gdoc: Fix -texinfo. 2003-01-15 Simon Josefsson * AUTHORS: Fix. 2003-01-15 Simon Josefsson * lib/error.c, lib/version.c: Doc fix. 2002-12-15 Simon Josefsson * ANNOUNCE: Fix. 2002-12-14 Simon Josefsson * configure.ac, lib/anonymous.c, lib/anonymous.h, lib/callback.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/external.c, lib/external.h, lib/gsasl.h.in, lib/gssapi.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c: GTK-DOC fixes. 2002-12-14 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2002-12-14 Simon Josefsson * doc/Makefile.am, doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml, doc/reference/gsasl.types: Add GTK-DOC generated manual. 2002-12-14 Simon Josefsson * Makefile.am: Make sure ChangeLog is regenerated. 2002-12-13 Simon Josefsson * src/gsasl.c: Fix. 2002-12-13 Simon Josefsson * autogen.sh: [no log message] 2002-12-13 Simon Josefsson * ANNOUNCE, Makefile.am, README: GNU fixes. 2002-12-13 Simon Josefsson * NEWS, configure.ac, doc/gsasl.texi: More GNU changes. 2002-12-13 Simon Josefsson * ChangeLog: [no log message] 2002-12-13 Simon Josefsson * NEWS, configure.ac: Release 0.0.4. 2002-12-13 Simon Josefsson * doc/Makefile.am: Fix. 2002-12-13 Simon Josefsson * po/libgsasl.pot, po/sv.po: Autogenerated stuff. 2002-12-13 Simon Josefsson * doc/gsasl.texi: Fix. 2002-12-13 Simon Josefsson * doc/gsasl.texi: Ports. 2002-12-13 Simon Josefsson * doc/Makefile.am: Remove lgpl. 2002-12-13 Simon Josefsson * NEWS, doc/Makefile.am: Fix. 2002-12-13 Simon Josefsson * ANNOUNCE, COPYING.LIB, Makefile.am, NEWS, README, configure.ac, doc/Makefile.am, doc/gsasl.texi, doc/lgpl.texi, lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/callback.c, lib/common.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/done.c, lib/error.c, lib/external.c, lib/external.h, lib/gsasl.h.in, lib/gssapi.c, lib/hexdump.c, lib/init.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/md5pwd.c, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/suggest.c, lib/supportp.c, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/internal.h, tests/Makefile.am: GPL. 2002-12-10 Simon Josefsson * tests/simple.c: Check length in pin callback. 2002-12-10 Simon Josefsson * lib/securid.c: Fix crash. 2002-12-10 Simon Josefsson * ANNOUNCE, doc/gsasl.texi: Fix. 2002-12-10 Simon Josefsson * doc/gsasl.texi: Name changes. 2002-12-10 Simon Josefsson * AUTHORS, Makefile.am, NEWS, README, THANKS, configure.ac, doc/Makefile.am, doc/gsasl.texi, lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/callback.c, lib/common.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/done.c, lib/error.c, lib/external.c, lib/external.h, lib/gsasl.h.in, lib/gssapi.c, lib/hexdump.c, lib/init.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/md5pwd.c, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/suggest.c, lib/supportp.c, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, libgsasl.pc.in, m4/Makefile.am, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/internal.h, tests/Makefile.am, tests/simple.c, tests/unicode.c: Update name to "GNU SASL". 2002-12-10 Simon Josefsson * configure.ac: Support dmalloc. 2002-12-10 Simon Josefsson * NEWS: GNU project. 2002-12-10 Simon Josefsson * autogen.sh: [no log message] 2002-12-09 Simon Josefsson * configure.ac: Gnits. 2002-12-09 Simon Josefsson * README-alpha: Add. 2002-12-09 Simon Josefsson * README, doc/gsasl.texi: GNU project. 2002-12-09 Simon Josefsson * ANNOUNCE: Add. 2002-12-07 Simon Josefsson * doc/gdoc-error: Use GPL instead of LGPL. 2002-12-05 Simon Josefsson * doc/gsasl.texi: Fix. 2002-12-05 Simon Josefsson * ChangeLog: [no log message] 2002-12-05 Simon Josefsson * NEWS: 0.0.3 released. 2002-12-05 Simon Josefsson * Makefile.am: Don't cvs2cl libstringprep. 2002-12-05 Simon Josefsson * lib/anonymous.c, lib/cram-md5.c, lib/digest-md5.c, lib/xstep.c, src/callbacks.c, src/callbacks.h, src/gsasl.c, tests/simple.c: Indent. 2002-12-05 Simon Josefsson * argp/argp-fmtstream.c, argp/argp-help.c: s/putc_unlocked/putc/g for freebsd on alpha 2002-12-05 Simon Josefsson * Makefile.am, configure.ac, src/Makefile.am: Use libtool with gettext (again! but see hack in Makefile.am). 2002-12-05 Simon Josefsson * README: Openbsd on alpha fails self tests. 2002-12-05 Simon Josefsson * .cvsignore: [no log message] 2002-12-05 Simon Josefsson * lib/securid.c: Don't strlen possibly indefinite string. 2002-12-05 Simon Josefsson * src/Makefile.am: Use ARGP_*. 2002-12-05 Simon Josefsson * lib/Makefile.am: EXTRA_DIST AC_LIBOBJ's. Use LTLIBINTL, not LIBINTL. 2002-12-05 Simon Josefsson * configure.ac: Trim some junk. Replace non-existing required functions. 2002-12-05 Simon Josefsson * lib/gethostname.c, lib/memmove.c, lib/memset.c, lib/strdup.c, lib/strerror.c: An AC_LIBOBJ, from gnulib. 2002-12-05 Simon Josefsson * THANKS: Add copying conditions. 2002-12-05 Simon Josefsson * README: Fix. 2002-12-05 Simon Josefsson * doc/gsasl.texi: Tested on IRIX and AIX. 2002-12-05 Simon Josefsson * src/gsasl.c: Clean up #include mess by creating internal.h. Add --no-client-first. 2002-12-05 Simon Josefsson * src/callbacks.c, src/callbacks.h, src/internal.h: Clean up #include mess by creating internal.h. 2002-12-05 Simon Josefsson * lib/internal.h: Add #include guards. 2002-12-05 Simon Josefsson * lib/gsasl.h.in: Add rationale for #include's. 2002-12-05 Simon Josefsson * doc/gsasl.texi: Add supported platforms, bug reporting, error labels. 2002-12-05 Simon Josefsson * doc/Makefile.am: Add error-labels. 2002-12-05 Simon Josefsson * doc/specification/draft-josefsson-sasl-api-export.txt: Save it for posterity. 2002-12-05 Simon Josefsson * doc/.cvsignore: Add. 2002-12-05 Simon Josefsson * doc/gdoc-error: Fix copying conditions. 2002-12-05 Simon Josefsson * doc/gdoc-error: Fix copying conditions. 2002-12-05 Simon Josefsson * doc/gdoc-error: Make it less shishi specific. 2002-12-05 Simon Josefsson * AUTHORS: Add copying conditions. 2002-12-05 Simon Josefsson * autogen.sh: fix 2002-12-03 Simon Josefsson * doc/gdoc-error: Generate error label documentation. 2002-11-26 Simon Josefsson * m4/Makefile.am, m4/libgcrypt.m4: add gcrypt 2002-11-14 Simon Josefsson * AUTHORS: Add OpenPGP key. 2002-11-14 Simon Josefsson * po/sv.po: Update. 2002-11-14 Simon Josefsson * po/libgsasl.pot: Autoupdate. 2002-11-14 Simon Josefsson * m4/Makefile.am: It's back, EXTRA_DIST was needed. 2002-11-14 Simon Josefsson * .cvsignore, argp/.cvsignore, doc/.cvsignore, po/.cvsignore: [no log message] 2002-11-14 Simon Josefsson * Makefile.am: Add sign target. 2002-11-14 Simon Josefsson * m4/.cvsignore: Everything in this directory is automatically generated. 2002-11-14 Simon Josefsson * m4/.cvsignore: Removed. 2002-11-14 Simon Josefsson * ABOUT-NLS, config.rpath, m4/Makefile.am, m4/libgcrypt.m4, m4/pkg.m4, po/ChangeLog, po/Makefile.in.in, po/Makevars.template, po/Rules-quot, po/boldquot.sed, po/en@boldquot.header, po/en@quot.header, po/insert-header.sin, po/quot.sed, po/remove-potcdate.sin: Remove junk (automatically generated). 2002-11-14 Simon Josefsson * intl/.cvsignore, intl/ChangeLog, intl/Makefile.in, intl/VERSION, intl/bindtextdom.c, intl/config.charset, intl/dcgettext.c, intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c, intl/dngettext.c, intl/eval-plural.h, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/gettextP.h, intl/gmo.h, intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c, intl/libgnuintl.h, intl/loadinfo.h, intl/loadmsgcat.c, intl/localcharset.c, intl/locale.alias, intl/localealias.c, intl/localename.c, intl/ngettext.c, intl/os2compat.c, intl/os2compat.h, intl/osdep.c, intl/plural-exp.c, intl/plural-exp.h, intl/plural.y, intl/ref-add.sin, intl/ref-del.sin, intl/textdomain.c, m4/ChangeLog, m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4, m4/intdiv0.m4, m4/inttypes-pri.m4, m4/inttypes.m4, m4/inttypes_h.m4, m4/isc-posix.m4, m4/lcmessage.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, m4/progtest.m4, m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4, mkinstalldirs: Remove junk (automatically generated). 2002-11-14 Simon Josefsson * argp/depcomp, argp/install-sh, argp/missing, argp/mkinstalldirs: Removed junk (automatically generated). 2002-11-14 Simon Josefsson * configure.ac: Bump versions. Fixes for autoreconf. 2002-11-14 Simon Josefsson * autogen.sh: Use autoreconf. 2002-11-14 Simon Josefsson * README: Add todos. 2002-11-14 Simon Josefsson * lib/gssapi.c: Clear outputlen in final step. 2002-11-14 Simon Josefsson * lib/gsasl.h.in: Add consts. 2002-11-14 Simon Josefsson * lib/error.c: Fix. 2002-11-10 Simon Josefsson * lib/digest-md5.h: Fix encode/decode headers. 2002-11-10 Simon Josefsson * lib/gssapi.c, lib/plain.c, lib/securid.c: -Wall fixes. 2002-11-10 Simon Josefsson * autogen.sh: no -pedantic 2002-11-10 Simon Josefsson * src/callbacks.c: Fix -Wall warning. 2002-11-10 Simon Josefsson * lib/listmech.c: Remove unused variable. 2002-11-10 Simon Josefsson * lib/base64.c: Replace "unsigned char" with "char" in API function arguments. 2002-11-10 Simon Josefsson * src/callbacks.c, src/callbacks.h: Add const. 2002-11-10 Simon Josefsson * lib/gsasl.h.in: Add const in a few places. Don't specify sign of char*. 2002-11-10 Simon Josefsson * tests/simple.c: const stuff to sync with header changes. 2002-11-10 Simon Josefsson * lib/digest-md5.c: Various -Wall cleanups. 2002-11-10 Simon Josefsson * lib/cram-md5.c: Fix signedness compiler warnings. 2002-11-10 Simon Josefsson * lib/common.c: Export GSASL_VALID_MECHANISM_CHARACTERS. 2002-11-10 Simon Josefsson * lib/cram-md5.c, lib/ntlm.c, lib/plain.c, lib/securid.c, src/gsasl.c: Indent. 2002-11-10 Simon Josefsson * lib/anonymous.c: Reject repeated empty server attempts. 2002-11-10 Simon Josefsson * Makefile.am: Add indent target. 2002-11-10 Simon Josefsson * lib/digest-md5.c: Handle client sends first. 2002-11-10 Simon Josefsson * lib/cram-md5.c: Fix memory leaks. Don't misbehave if callbacks return GSASL_NEEDS_MORE. Set output length. 2002-11-10 Simon Josefsson * src/callbacks.c: (utf8cpy): Fix DST=NULL. (server_callback_retrieve): Print auth, authz, password. 2002-11-10 Simon Josefsson * src/gsasl.c: Add --no-client-first for disabling client behaviour of sending it's data first (RFC 2222 5.1). 2002-11-10 Simon Josefsson * lib/cram-md5.c: Fail if no server challenge. Don't misbehave if callbacks return GSASL_NEEDS_MORE. 2002-11-10 Simon Josefsson * src/gsasl.c: Now defaults to disable application data processing (subject to new parameter --application-data). 2002-11-10 Simon Josefsson * src/gsasl.c: Abort application data handling early on EOF 2002-11-10 Simon Josefsson * src/gsasl.c: Inform user that --password is only for testing. 2002-11-08 Simon Josefsson * doc/specification/draft-nerenberg-sasl-crammd5-03.txt, doc/specification/draft-zeilenga-sasl-anon-01.txt, doc/specification/draft-zeilenga-sasl-plain-01.txt: [no log message] 2002-11-07 Simon Josefsson * ChangeLog: [no log message] 2002-11-07 Simon Josefsson * NEWS, configure.ac: 0.0.2 2002-11-07 Simon Josefsson * libgsasl.pc.in: Add stringprep. Add -R. 2002-11-07 Simon Josefsson * : [no log message] 2002-11-07 Simon Josefsson * m4/Makefile.am, m4/pkg.m4: Add m4 for pkg-config. 2002-11-07 Simon Josefsson * Makefile.am, NEWS, README, configure.ac, lib/.cvsignore, lib/CaseFolding-3.2.0.txt, lib/CompositionExclusions-3.2.0.txt, lib/LineBreak-3.2.0.txt, lib/Makefile.am, lib/SpecialCasing-3.2.0.txt, lib/UnicodeData-3.2.0.txt, lib/cram-md5.c, lib/digest-md5.c, lib/gen-unicode-tables.pl, lib/gsasl.h.in, lib/gunibreak.h, lib/gunicomp.h, lib/gunidecomp.h, lib/internal.h, lib/login.c, lib/plain.c, lib/unicode.c, po/libgsasl.pot, po/sv.po, src/Makefile.am, src/callbacks.c, src/libcharset/.cvsignore, src/libcharset/Makefile.am, src/libcharset/README, src/libcharset/config.charset, src/libcharset/libcharset-gsasl.patch, src/libcharset/libcharset.h, src/libcharset/localcharset.c, src/libcharset/localcharset.c.orig, src/libcharset/make-patch.sh, src/libcharset/ref-add.sin, src/libcharset/ref-del.sin, src/libcharset/update.sh, tests/Makefile.am, tests/unicode.c: Use libstringprep (include copy of 0.0.1) instead of internal Unicode stuff. 2002-11-07 Simon Josefsson * doc/specification/draft-newman-sasl-c-api-00.txt: [no log message] 2002-10-19 Simon Josefsson * lib/securid.c: Remove 'const's (causes warnings). Flip order of authorization and authentication ID. 2002-10-19 Simon Josefsson * configure.ac: Silently continue if pkg-config isn't available. 2002-10-19 Simon Josefsson * README: MIPS build was in 64 bit mode. 2002-10-19 Simon Josefsson * README: Update list of systems; GNU make does not seem to be required. 2002-10-19 Simon Josefsson * Makefile.am: Ignore some files for ChangeLog entries. 2002-10-19 Simon Josefsson * ChangeLog: [no log message] 2002-10-19 Simon Josefsson * src/gsasl.c: Update for new API that allows GSASL_OK to return data during authentication. 2002-10-19 Simon Josefsson * tests/.cvsignore, tests/Makefile.am, tests/plain-client.sh, tests/simple.c, tests/unicode.c: Removed plain-client.sh (unreliable with non-ASCII in shell script). Added C program to check simple SASL mechanisms against test vectors. Added indent makefile target to re-indent files. 2002-10-19 Simon Josefsson * lib/anonymous.c, lib/cram-md5.c, lib/digest-md5.c, lib/external.c, lib/login.c, lib/ntlm.c, lib/plain.c, lib/securid.c, lib/xstep.c: Change API to allow data to be returned with GSASL_OK. Fix callback return code in ANONYMOUS client. Make mechanisms reject too many empty invocations. Made LOGIN use authorization ID instead of authentication ID. NTLM doesn't require initial challenge to be '+' (probably IMAP leftover). SECURID implements non-initial steps correctly. 2002-10-19 Simon Josefsson * .cvsignore: [no log message] 2002-10-19 Simon Josefsson * .cvsignore, argp/.cvsignore, src/.cvsignore: [no log message] 2002-10-19 Simon Josefsson * libgsasl.pc.in: Pkg-config description file for libgsasl. 2002-10-19 Simon Josefsson * NEWS: Pkg-config stuff. 2002-10-19 Simon Josefsson * src/libgsasl-config.in, src/libgsasl.m4: Removed, replaced by pkg-config. 2002-10-19 Simon Josefsson * Makefile.am, configure.ac, src/Makefile.am: Use pkg-config instead of libgsasl.m4 + libgsasl-config.in Use pkg-config to find libntlm. 2002-10-19 Simon Josefsson * lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Replace LTLIBINTL with LIBINTL. 2002-10-19 Simon Josefsson * m4/libntlm.m4: Remove libntlm.m4 (replaced by pkg-config). 2002-10-19 Simon Josefsson * m4/Makefile.am: Remove libntlm.m4 2002-10-19 Simon Josefsson * configure.ac: Remove use-libtool for gettext, it breaks distcheck. Use pkg-config to find libntlm. Bump version. 2002-10-19 Simon Josefsson * argp/aclocal.m4, argp/configure: These should not be in CVS. 2002-10-17 Simon Josefsson * Makefile.am, lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Make distcheck happy. Shouldn't LTLIBINTL be included in lib/ though? Maybe a libtool bug. 2002-10-17 Simon Josefsson * autogen.sh: gettextize --copy to shut up cvsco. 2002-10-17 Simon Josefsson * ABOUT-NLS, config.rpath, mkinstalldirs: Add files to shut up gettextize. 2002-10-13 Simon Josefsson * Makefile.am: Add ChangeLog target. 2002-10-13 Simon Josefsson * .cvsusers: Add full name for better ChangeLog's. 2002-10-13 Simon Josefsson * lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/base64.c, lib/callback.c, lib/common.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/done.c, lib/error.c, lib/external.c, lib/external.h, lib/gssapi.c, lib/gunicomp.h, lib/gunidecomp.h, lib/hexdump.c, lib/init.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/md5pwd.c, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/suggest.c, lib/supportp.c, lib/unicode.c, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c: Add indent Makefile targets. Indent all files. 2002-10-12 Simon Josefsson * ChangeLog, po/libgsasl.pot, po/sv.po: [no log message] 2002-10-12 Simon Josefsson * .cvsusers, lib/.cvsignore: [no log message] 2002-10-12 Simon Josefsson * lib/xcode.c: Implementation of gsasl_encode() and gsasl_decode() APIs. 2002-10-12 Simon Josefsson * configure.ac: Version 0.0.1 released. 2002-10-12 Simon Josefsson * NEWS, README: [no log message] 2002-10-12 Simon Josefsson * doc/Makefile.am: Add xcode.c to the session API documentation. 2002-10-12 Simon Josefsson * doc/gsasl.texi: Fix title. 2002-10-12 Simon Josefsson * src/gsasl.c: Improve QOP. Allow user to send/receive application payload after authentication. 2002-10-12 Simon Josefsson * src/callbacks.c: Improve QOP callback. 2002-10-12 Simon Josefsson * lib/error.c: Add GSASL_INTEGRITY_ERROR. 2002-10-12 Simon Josefsson * lib/gsasl.h.in: Add GSASL_INTEGRITY_ERROR. Add gsasl_encode() and gsasl_decode(). 2002-10-12 Simon Josefsson * lib/xstart.c: Set clientp variable. 2002-10-12 Simon Josefsson * lib/xstep.c: Only free if data was allocated by us. 2002-10-12 Simon Josefsson * lib/internal.h: Add encode/decode functions. Add clientp variable. 2002-10-12 Simon Josefsson * lib/digest-md5.c: Support integrity mode. 2002-10-12 Simon Josefsson * lib/digest-md5.h: Add encode and decode functions. 2002-10-12 Simon Josefsson * lib/common.c: Add encode and decode functions for DIGEST-MD5. 2002-10-12 Simon Josefsson * lib/Makefile.am: Add xcode.c. 2002-10-12 Simon Josefsson * lib/hexdump.c: Data is unsigned. 2002-10-12 Simon Josefsson * autogen.sh: [no log message] 2002-10-11 Simon Josefsson * doc/specification/draft-burdis-cat-srp-sasl-04.txt, doc/specification/draft-burdis-cat-srp-sasl-05.txt, doc/specification/draft-leach-cifs-v1-spec-02.txt, doc/specification/draft-leach-digest-sasl-01.txt, doc/specification/draft-leach-digest-sasl-02.txt, doc/specification/draft-leach-digest-sasl-03.txt, doc/specification/draft-leach-digest-sasl-05.txt, doc/specification/draft-myers-saslrev-01.txt, doc/specification/draft-nerenberg-sasl-crammd5-00.txt, doc/specification/draft-newman-sasl-anon-00.txt, doc/specification/rfc2095.txt: More specs. 2002-10-07 Simon Josefsson * m4/libgcrypt.m4: forgot to add it 2002-10-07 Simon Josefsson * .cvsignore, ChangeLog, argp/.cvsignore, doc/.cvsignore, intl/.cvsignore, lib/.cvsignore, m4/.cvsignore, po/.cvsignore, src/.cvsignore, src/libcharset/.cvsignore, tests/.cvsignore: [no log message] 2002-10-07 Simon Josefsson * doc/gsasl.texi: ack mit kerberos team for gssapi 2002-10-07 Simon Josefsson * README: gssapi works in server mode 2002-10-07 Simon Josefsson * Initial release, version 0.0.0. ----- Copyright (C) 2002-2019 Simon Josefsson Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved. gsasl-1.8.1/lib/GNUmakefile0000644000000000000000000001073613516251670012356 00000000000000# Having a separate GNUmakefile lets me 'include' the dynamically # generated rules created via cfg.mk (package-local configuration) # as well as maint.mk (generic maintainer rules). # This makefile is used only if you run GNU Make. # It is necessary if you want to build targets usually of interest # only to the maintainer. # Copyright (C) 2001, 2003, 2006-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see . # If the user runs GNU make but has not yet run ./configure, # give them a diagnostic. _gl-Makefile := $(wildcard [M]akefile) ifneq ($(_gl-Makefile),) # Make tar archive easier to reproduce. export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner # Allow the user to add to this in the Makefile. ALL_RECURSIVE_TARGETS = include Makefile # Some projects override e.g., _autoreconf here. -include $(srcdir)/cfg.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v include $(srcdir)/maint.mk # Ensure that $(VERSION) is up to date for dist-related targets, but not # for others: rerunning autoreconf and recompiling everything isn't cheap. _have-git-version-gen := \ $(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes) ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL)) _is-dist-target ?= $(filter-out %clean, \ $(filter maintainer-% dist% alpha beta stable,$(MAKECMDGOALS))) _is-install-target ?= $(filter-out %check, $(filter install%,$(MAKECMDGOALS))) ifneq (,$(_is-dist-target)$(_is-install-target)) _curr-ver := $(shell cd $(srcdir) \ && $(_build-aux)/git-version-gen \ .tarball-version \ $(git-version-gen-tag-sed-script)) ifneq ($(_curr-ver),$(VERSION)) ifeq ($(_curr-ver),UNKNOWN) $(info WARNING: unable to verify if $(VERSION) is the correct version) else ifneq (,$(_is-install-target)) # GNU Coding Standards state that 'make install' should not cause # recompilation after 'make all'. But as long as changing the version # string alters config.h, the cost of having 'make all' always have an # up-to-date version is prohibitive. So, as a compromise, we merely # warn when installing a version string that is out of date; the user # should run 'autoreconf' (or something like 'make distcheck') to # fix the version, 'make all' to propagate it, then 'make install'. $(info WARNING: version string $(VERSION) is out of date;) $(info run '$(MAKE) _version' to fix it) else $(info INFO: running autoreconf for new version string: $(_curr-ver)) GNUmakefile: _version touch GNUmakefile endif endif endif endif endif .PHONY: _version _version: cd $(srcdir) && rm -rf autom4te.cache .version && $(_autoreconf) $(MAKE) $(AM_MAKEFLAGS) Makefile else .DEFAULT_GOAL := abort-due-to-no-makefile srcdir = . # The package can override .DEFAULT_GOAL to run actions like autoreconf. -include ./cfg.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v include ./maint.mk ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile) $(MAKECMDGOALS): abort-due-to-no-makefile endif abort-due-to-no-makefile: @echo There seems to be no Makefile in this directory. 1>&2 @echo "You must run ./configure before running 'make'." 1>&2 @exit 1 endif # Tell version 3.79 and up of GNU make to not build goals in this # directory in parallel, in case someone tries to build multiple # targets, and one of them can cause a recursive target to be invoked. # Only set this if Automake doesn't provide it. AM_RECURSIVE_TARGETS ?= $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) \ dist distcheck tags ctags ALL_RECURSIVE_TARGETS += $(AM_RECURSIVE_TARGETS) ifneq ($(word 2, $(MAKECMDGOALS)), ) ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), ) .NOTPARALLEL: endif endif gsasl-1.8.1/lib/plain/0000755000000000000000000000000013521017726011456 500000000000000gsasl-1.8.1/lib/plain/plain.h0000644000000000000000000000264613516252321012656 00000000000000/* plain.h --- Prototypes for SASL mechanism PLAIN as defined in RFC 2595. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef PLAIN_H #define PLAIN_H #include #define GSASL_PLAIN_NAME "PLAIN" extern Gsasl_mechanism gsasl_plain_mechanism; extern int _gsasl_plain_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern int _gsasl_plain_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); #endif /* PLAIN_H */ gsasl-1.8.1/lib/plain/Makefile.am0000644000000000000000000000224513516252321013431 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-plain.la libgsasl_plain_la_SOURCES = plain.h mechinfo.c if CLIENT libgsasl_plain_la_SOURCES += client.c endif if SERVER libgsasl_plain_la_SOURCES += server.c endif gsasl-1.8.1/lib/plain/server.c0000644000000000000000000000765213516252321013056 00000000000000/* server.c --- SASL mechanism PLAIN as defined in RFC 2595, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "plain.h" /* Get memcpy, memchr, strlen. */ #include /* Get malloc, free. */ #include int _gsasl_plain_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { const char *authzidptr = input; char *authidptr = NULL; char *passwordptr = NULL; char *passwdz = NULL, *passprep = NULL, *authidprep = NULL; int res; *output_len = 0; *output = NULL; if (input_len == 0) return GSASL_NEEDS_MORE; /* Parse input. */ { size_t tmplen; authidptr = memchr (input, 0, input_len - 1); if (authidptr) { authidptr++; passwordptr = memchr (authidptr, 0, input_len - strlen (input) - 1); if (passwordptr) passwordptr++; else return GSASL_MECHANISM_PARSE_ERROR; } else return GSASL_MECHANISM_PARSE_ERROR; /* As the NUL (U+0000) character is used as a deliminator, the NUL (U+0000) character MUST NOT appear in authzid, authcid, or passwd productions. */ tmplen = input_len - (size_t) (passwordptr - input); if (memchr (passwordptr, 0, tmplen)) return GSASL_MECHANISM_PARSE_ERROR; } /* Store authid, after preparing it... */ { res = gsasl_saslprep (authidptr, GSASL_ALLOW_UNASSIGNED, &authidprep, NULL); if (res != GSASL_OK) return res; gsasl_property_set (sctx, GSASL_AUTHID, authidprep); /* Store authzid, if absent, use SASLprep(authcid). */ if (*authzidptr == '\0') gsasl_property_set (sctx, GSASL_AUTHZID, authidprep); else gsasl_property_set (sctx, GSASL_AUTHZID, authzidptr); free (authidprep); } /* Store passwd, after preparing it... */ { size_t passwdzlen = input_len - (size_t) (passwordptr - input); /* Need to zero terminate password... */ passwdz = malloc (passwdzlen + 1); if (passwdz == NULL) return GSASL_MALLOC_ERROR; memcpy (passwdz, passwordptr, passwdzlen); passwdz[passwdzlen] = '\0'; res = gsasl_saslprep (passwdz, GSASL_ALLOW_UNASSIGNED, &passprep, NULL); free (passwdz); if (res != GSASL_OK) return res; gsasl_property_set (sctx, GSASL_PASSWORD, passprep); } /* Authorization. Let application verify credentials internally, but fall back to deal with it locally... */ res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_SIMPLE); if (res == GSASL_NO_CALLBACK) { const char *key; char *normkey; gsasl_property_set (sctx, GSASL_PASSWORD, NULL); key = gsasl_property_get (sctx, GSASL_PASSWORD); if (!key) { free (passprep); return GSASL_NO_PASSWORD; } /* Unassigned code points are not permitted. */ res = gsasl_saslprep (key, 0, &normkey, NULL); if (res != GSASL_OK) { free (passprep); return res; } if (strcmp (normkey, passprep) == 0) res = GSASL_OK; else res = GSASL_AUTHENTICATION_ERROR; free (normkey); } free (passprep); return res; } gsasl-1.8.1/lib/plain/mechinfo.c0000644000000000000000000000245613516252321013335 00000000000000/* mechinfo.c --- Definition of PLAIN mechanism. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "plain.h" Gsasl_mechanism gsasl_plain_mechanism = { GSASL_PLAIN_NAME, { NULL, NULL, NULL, #ifdef USE_CLIENT _gsasl_plain_client_step, #else NULL, #endif NULL, NULL, NULL} , { NULL, NULL, NULL, #ifdef USE_SERVER _gsasl_plain_server_step, #else NULL, #endif NULL, NULL, NULL} }; gsasl-1.8.1/lib/plain/Makefile.in0000644000000000000000000017165313521017120013444 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = plain ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libgsasl_plain_la_LIBADD = am__libgsasl_plain_la_SOURCES_DIST = plain.h mechinfo.c client.c \ server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_plain_la_OBJECTS = mechinfo.lo $(am__objects_1) \ $(am__objects_2) libgsasl_plain_la_OBJECTS = $(am_libgsasl_plain_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/mechinfo.Plo \ ./$(DEPDIR)/server.Plo 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 = $(libgsasl_plain_la_SOURCES) DIST_SOURCES = $(am__libgsasl_plain_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl noinst_LTLIBRARIES = libgsasl-plain.la libgsasl_plain_la_SOURCES = plain.h mechinfo.c $(am__append_1) \ $(am__append_2) 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 plain/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu plain/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-plain.la: $(libgsasl_plain_la_OBJECTS) $(libgsasl_plain_la_DEPENDENCIES) $(EXTRA_libgsasl_plain_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_plain_la_OBJECTS) $(libgsasl_plain_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/plain/client.c0000644000000000000000000000417613516252321013024 00000000000000/* client.c --- SASL mechanism PLAIN as defined in RFC 2595, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "plain.h" /* Get memcpy, strdup, strlen. */ #include /* Get malloc, free. */ #include int _gsasl_plain_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { const char *authzid = gsasl_property_get (sctx, GSASL_AUTHZID); const char *authid = gsasl_property_get (sctx, GSASL_AUTHID); const char *password = gsasl_property_get (sctx, GSASL_PASSWORD); size_t authzidlen = 0, authidlen = 0, passwordlen = 0; char *out; if (authzid) authzidlen = strlen (authzid); if (authid) authidlen = strlen (authid); else return GSASL_NO_AUTHID; if (password) passwordlen = strlen (password); else return GSASL_NO_PASSWORD; *output_len = authzidlen + 1 + authidlen + 1 + passwordlen; *output = out = malloc (*output_len); if (!out) return GSASL_MALLOC_ERROR; if (authzid) { memcpy (out, authzid, authzidlen); out += authzidlen; } *out++ = '\0'; memcpy (out, authid, authidlen); out += authidlen; *out++ = '\0'; memcpy (out, password, passwordlen); return GSASL_OK; } gsasl-1.8.1/lib/AUTHORS0000644000000000000000000007423613516252320011352 00000000000000GNU SASL LIBRARY AUTHORS -- Information about the authors. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. Simon Josefsson Designed and implemented the GNU SASL Library. -----BEGIN PGP PUBLIC KEY BLOCK----- URL: http://josefsson.org/key.txt Comment: This 0xB565716F key is used to sign releases of GNU SASL. mKsEPNUHKwEFALqJSBHn6Qk5ex138kwymxA3idCFoTi5Q6mVooEVVaYVfeDG+5uV T5rhTFDfDcT9SO0eIlfKOraSRnVEHyDDH2PAgJFxyneFELcmLUQ66D+m8z+ziGro 6bcDSBBDMRkHIX6/kH/vnevjqivIld+j8WTcVX+SArcKyzgQ58uMTrfQdLqzh6D9 sE/838+ZPZkabmKKWMVWccoaUbWGYOcNwO0ABim0JVNpbW9uIEpvc2Vmc3NvbiA8 c2ltb25Aam9zZWZzc29uLm9yZz6I+wQTAQIARQIbAwQLBwMCAxUCAwMWAgECHgEC F4AiGGRuczpzaW1vbi5qb3NlZnNzb24ub3JnP3R5cGU9Q0VSVAUCSGH5iQUJDRh0 XgAKCRDtoh6UtWVxb3QMBQCLIUgX2OGZ+AUH2qdYEyI43Ecv7/2wZzTH/IDF5H5t RS0wGmpzvp/pR7EzRKz7WhH8fHco7xIPsJjm2qgCWKEe+aVwRWyynYjfz9U6eVnf wtLfnE09nWrc9jy+VxSgDEZKPa0k/AtTFjoq4h/GpHOlOjPtVcv3WHDtk39w8a1w y0xcq5H1faERDLERWbulvD+1E+e/BKYp/7E2GAOtfSFziEYEExECAAYFAj1Y8sIA CgkQV5Mp08AbKiJmNwCgkgjjuS5TcZq4rVBWNYu1VwQlJWYAoJZf+pBNBvzT9xOg Hcs1cAMwT4FHiEwEExECAAwFAj1esHUFgwFXijYACgkQvLvElXGKklZXlwCfTWSl L2/3q5Od3zBVMKVHgpTo4asAnAtw7vVEIwp9pPuy1oKjTB/obqltiEYEExECAAYF AkEAyoIACgkQntdYP8FOsoK0XQCfRN1QBVk7/eu4YbFQBqH463dcHx4AoMp2QurM RXFDImswJ1Wi9K65dq66iEYEExECAAYFAkD/P4YACgkQlv+ZxCXA7Au9KACfYKMn MPmlbZDi5/Le4mcLCUlQ+SsAn2qOQ14l/ellraqWXbvacCJkOyNpiEwEEhECAAwF AkDgVz0FgwCTtOwACgkQyIHdR0rnq0csrwCgtL27/ndpjew28bGVYU9tBmIg2GUA oKFFKKHvJB2pVjRkRL4DjohSdIrkiEYEExECAAYFAkJJAYsACgkQj8NyXz1o1joW fwCgtb8mtlI8rg52vT5DRU+Ct3NuDfEAoL7IX823ezbe7HVegheirf3q7zmKiKIE EAECAAwFAkJG+cEFgwDmsQ4ACgkQv9buWFf3fwmuCwQAtAopBWKTnll1t4lFnR+C mvXdqui6g/MhMVjGlnGaxzKfdlXIDT3i6VEMQk639rCLUxNB5YiQZZm7aABg1dwt f10mFQUkm9dt4d852cu6ytmljXLJ4NIQFrhZQUrxvh8s8j41oN/hcwyLaX+FLI0G 6Jehz0m0nPlEQf0sJ/4oCuqITAQTEQIADAUCQklECgWDABPOSgAKCRBmvnH/Z0ho g9kYAJ0QKz8Gt/kc7Q9Y/Ahh/wZO6vaQ9QCggcgpRYoJ6g1QXYWdTO/Hxve4Lu+I TAQQEQIADAUCQk2CtQWDAOAoGgAKCRA7jqQfgvYSQDh8AJ43bDTlK1p/aLXxJ2/1 pFrHWFvncACgvVli4V9P6pVhP9p+H3APtQ+URVSJASIEEwECAAwFAkJhOZ0FgwDM cTIACgkQC3gy83PWLUFxowf/YLAopAmpU94kKSC4ECFsLXDivJ4LCOxgqZ0u7Fgi QgwWK1miJJnW9gME5vE/jMHlsjGwUKJDC3SfbgjOJj31ivrGIh4od8+zU0bwlwoJ ppDF/5cbzBheUiCsz+BVBZs8ii4OahnoELUzXbyVZITkMztmn/2+7DYXqqf1tCTy wIR/hQzFp6W7GNT/I73Ksz/cKop4jzxE5whkl+5NMBk9VYhfa2X49/S65nwXg4ii BPQN0UrhN0ZvrF+uKX6oVlOX+30CrPyT8FkcRk1AOhUpqblk2M2DblOebgxfF1ZV jXNNN/0fZhy4iTbYSggndO5PIybKMkMogVtO07F/8lvtC4hMBBMRAgAMBQJC2LCN BYMAVPpCAAoJEBhZ0B9ne6Hs7fEAn145gLDePrbxrfwN2dG5+IuvpvtYAJ4oRmRy hxwpwahGE+5281z2VTrQ9YhMBBMRAgAMBQJC2LCxBYMAVPoeAAoJEIHC9+viE7aS 7sAAnRYuXokAy66xi04YD1ODtssYFw7nAJ4lqshFVn7NR5yznu0tioYLFwyc54hM BBMRAgAMBQJC2LDRBYMAVPn+AAoJEGtw7Nldw/Rz2iEAoJFrzoYjkR5ANZYbeX/o zQecQCmAAJwNCoPySmaxrwO6BiUd11bO80bPxYkCIgQTAQIADAUCQtiw8QWDAFT5 3gAKCRCq4+bOZqFEaF90D/9xV8ua/ezhWOu5ADgHE1yeWMWQsecIx9TA5QVQg8pp jA3E2REe/lJbCweVhwfvSmuvuymRQw71cIdmqF1dz9R8mb62N1r07DcPxibhtHi4 poENxIHqvEbtOR17Y6Ql4DW4PjK1ut9y2y58HK6XTiqCtbg43jEcbXk1r9qLJl2L gopYJQ1KJCwfn+DCVadRA2FgVclMGUGIdiiTwp12+E/70oYoMzLwm+7MUgbJUpRL ytsc5frhT91iX2lPoeylAHAQ0681WiawvexlqtAPto9Gjbtnw32oSOqIJcbbMhN8 G87pkvBhk5wXfVM7kyutBFhIHcQFGeuGkZpgeXt40NcUJffn+KOfeXzgdQwmwNlo 9K0arxNpIukgugvVeNtsKj1gtW7IkYcLmvlDyShz/cytguNEU+1W0ZeG73Tjphs8 mCSlCKVcNWcy2l7z/DvB3VPibac525/Sw1ZIq7DShRHHv8x02/658LEW7gSvvZ4j 3yuZSNgL2lgPzaYoQo+8ysHK9dqViVBXAHIwVZTmXptb5zxQcHtFUnR51IDSAfBG d7gjU5NJNfKKngLjDJy56nmJGMw/+13F5XFcjGPC9t6ZKoQud712K8TRIczWgGMn gkahyTl4KIwPxVzWnUN0IkcsO/5yO3JudWzzYB6r1QomCSAAA+uirstJwVtBWsCA 54hGBBARAgAGBQJC8krrAAoJEG74r8KGV0rKoI4An0CQA/3wPCxskfqLhvN69ViN c9GhAJwMR5Nl4q7Y4c5j9BOG+9Yxaom2OYhMBBMRAgAMBQJC8cBwBYMAO+pfAAoJ ECmqKFIzPnwjCzsAmgIwd1uJC2Ka3bIgTCJukFjCcdWRAJ47P2tLKEcvatuPnnPT yWYuXGTBqIhGBBARAgAGBQJD+NOYAAoJEOFd2FexXDfRRVoAnj+kNh2yJiIAI9JE Vccgdv8cdElgAJ9jZHFa4KIdIsdGQZ5G4qS0YkHwKojYBBMBAgAiAhsDBAsHAwID FQIDAxYCAQIeAQIXgAUCPr1HRAUJAtWOGQAKCRDtoh6UtWVxb3F2BP9Whe+ArZn6 WlbpHF+37Rqr+KmXL2fLI0b+phneaieRvACsOmPD3jDpvxz/xVf8s49SJ2+a23Ia iCA8Boyws9sBxn5N+yWhdYYjfDbH3JUOQz7BKN/9o8EAYuU8pmQtEN0q4+QiNsU0 a8qLAV3qmEOwLfkB4z4H+aDZxe/p7vIYP4QmzTn3ZQ0mYR5mxpc52pF82KVyNWWJ vmcirPwKSckEiNgEEwECACICGwMECwcDAgMVAgMDFgIBAh4BAheABQI/pCtUBQkD vHImAAoJEO2iHpS1ZXFvPREE/j3fX+cLxCCZNTjMhThGFujiT7ty4x1jVc91J6QO A+Jp+78NIIeyg3JTeR3WIv7/WFNzLKJXJEEcga+0ViPjoLfvGsHMAnwXqPYAxu1c DY4jId0bCYgoVlnfF9gwOWxebtotLpCiuXGL/168zEAXWJpPg6r2MfPhAKUJ9G8q 52OOWJW3cObxoZ2gyXjuWOFtygZ1vUAqP/8UGeZNdajHD5uI2AQTAQIAIgIbAwQL BwMCAxUCAwMWAgECHgECF4AFAkCGvikFCQSfBP4ACgkQ7aIelLVlcW9oqwT/a2nW kFFy1q16WURE8vp+Tqu6i4r5mTdyHjbhQeZh5Pub5DEJiFuWXxE73JVrnNozacQb Vbsnn54B4Xv6tuEDMxaTXSjreDY6D08urM8A0gnUHCAOwxtmepm9wxk/l3WAXWwz QoQaqZ2PSPFGW4Epk8+JwWKoLv1O2i9NbycGEccF9rr6I12319Vzk+P4P3FOgCwa dAQHSGS3Y6hlLm/RGIjYBBMBAgAiAhsDBAsHAwIDFQIDAxYCAQIeAQIXgAUCQW/E VgUJBYgLKQAKCRDtoh6UtWVxb8gUBP9Oiapzi+7qCcpj8Yy55jQvgpXkhe9g5DuT lRiHYjP5vTvXJNF7pDOOPj1pSUxumC3viv/pxUaWKp3tSOjsT0ZVgy4ah6rUdjyy bLAOAiPmAP3ryStzURF5/RnQbbzrSGZJRfeQIxY2871hWg241/wslRtNpsxYSPCI PHMVB4SSFYzzbKRgUU7SXsVQYBAlRU644UE+dB+b17slv1xvagOUiNgEEwECACIF Aj0lzz0CGwMFCQHhM4AECwcDAgMVAgMDFgIBAh4BAheAAAoJEO2iHpS1ZXFvt3ME /ijwFJCSNoY1AfCEm3AX6vRKUbjiy0MdemsqajXF6awcbIaeCwk3wVr9JOs1usu2 /AQQDvz0sf/hEv6c3sMTYspD6+QzrRMUVbLm0fp+pRZKyaW1tO+/JIoOl8qsOwod kXPQ7CYFvSZhhkxdUwVOa6UtL6kOdCjQAy7DDQTzdcC/GxHQNVUNF5KcBWC7LMN6 iAt0dAFEMaQz4t37CHq+DCyI+wQTAQIARQIbAwQLBwMCAxUCAwMWAgECHgECF4Ai GGRuczpzaW1vbi5qb3NlZnNzb24ub3JnP3R5cGU9Q0VSVAUCQkBc0AUJBlijpAAK CRDtoh6UtWVxb9EIBP4pk/ztQF+XV5L4krXEmbjAsGb9C+I+4OoRUY/mWDvNAjGp pkhFD+8Q3oQvg+1dcPsJ5rQHSXgA2w1bOsTknK9DamyY35LHd9T0ZSllXOUX9q3Q eKiDBYc2KB35ZtxKNIA4Lt5qDgYbSgtlERxDY94BCSy4YApdwATei3O32t5IoR+B roeIr+w+zn9mVulkn3pRXByYDX/scxcTtWwRL+UNiPsEEwECAEUCGwMECwcDAgMV AgMDFgIBAh4BAheAIhhkbnM6c2ltb24uam9zZWZzc29uLm9yZz90eXBlPUNFUlQF AkMVrNEFCQcvRSYACgkQ7aIelLVlcW+ahgUAnWORH5p6Cdk/zhen4sUwwnzsFyAO Z7vaVPrQPq58Czl2FymLm5kJgsGXH8b6KLxVMo8hjTZnsm+zO6XTLXsnnK7nXk70 gBJ0AAM0XGlG53qDvvQmq3RkfFMHuSmxL+zL8pXTmnywIlEpgDHPVKbPKF3c508H FEPKFnDjuyRwPgq3q2mhC/qYYBRvw9hjjeRCqDTdC5wHuWLzs5MCLeG+3YhGBBAR AgAGBQJEc4b8AAoJEAixI47drUe278gAn15puEaeLjlpaTndlvxT+LAH/951AJ9b 0Hlo7Py6F9c1liLsMNWNDnyvZ4j7BBMBAgBFAhsDBAsHAwIDFQIDAxYCAQIeAQIX gCIYZG5zOnNpbW9uLmpvc2Vmc3Nvbi5vcmc/dHlwZT1DRVJUBQJD8ykBBQkIC2/U AAoJEO2iHpS1ZXFvrF0FAJLVqSWQ2fYNGCvBH4xRS4n2LruzdubmzNuCIZrc75M+ RfTvYeHwCNDY8H+PggYuXMT8armHvFvyL7jln864M9LTX4TwROrqKlkNgOkfxdSg Oz4QE9RHxxooF1GMl1yhxCoumixYE5w0z0LGYRKy/Xzd3+VMcUaFXvEqY6Q+cnQo qChCvKRmsIFhF4b4SAqzRePdx6U3PBpC4FbIlkQkpbaIRgQQEQIABgUCRYwLkgAK CRApqihSMz58I53iAJ47ZGEOrZrMqV6WKmfKa8+5907zeQCeI9LFETr1SK3IHx/7 S7RlQhoqAzeI+wQTAQIARQIbAwQLBwMCAxUCAwMWAgECHgECF4AiGGRuczpzaW1v bi5qb3NlZnNzb24ub3JnP3R5cGU9Q0VSVAUCRObocwUJCP8vSAAKCRDtoh6UtWVx b9fhBQCRE0dBfP855Vv2fPCzIxnu1I0GM9BjmAC4uMNdW6o7I4yQMXNYpP8RdxDz PTon1JYQZqQW77EdqtwjFeguScudF8+85I2FtKDmzl0NNubmX6ckxdCbuUmOk2Vu H0IQ8O0f1htk0h4dQB97YA8zu9AtqyASkdCDbRC7RgoaeUaV7N7v8RM3KpEJm6pc eQT1DLqOQIFAp/cDa76xXK2Xrd4IiGsEEBECACsFAkXhdvUFgwKHjGMeGmh0dHA6 Ly93d3cuY2FjZXJ0Lm9yZy9jcHMucGhwAAoJENK7DQFl0P1YbgMAnj34VvAwJhWn Z79fbgSY9O7CIBJFAKCJEs0DbASutepLJhiysH3J61b5D4hGBBARAgAGBQJF4sLA AAoJEKrPs4YhG27v90UAoKBHaY3RXOkwk5YL58jSYoOWltJ/AKDTwdKSURBZ3RTe GkriWGZRy2sfd4kCHAQQAQIABgUCReGU9AAKCRAmSeYoxdNNBWHAD/4+/J4V7cM1 dMrr6rpaggfgRa7d121f4n+KVn69fmxBr6vMkGP+8Aor4xMGvkL6HYJvOMRK752H wXij7TM0HdGqU0S6cisOXiS/LOPQOayz6HuvliIhJeyDF4wfI358ZH8gVTKTn+1l tqWmggd8KVbU2pEvNte+lD0VIxK0wrUT0nFEYoJsDlTUVpnmM4PxP8TwoIRwo/h9 NnL8zeh+5sj0D5tZW4DsTC1AVPH1WYUN4aY2lv49twDh63oXbzXZQ+xKWJeiByao DeEOFtouwTb7RbmDBB1i0aeb7gWCryUiHD4p2zf+R+4ikcwcG0LzR7DC3WFdlPnb NII/G31ZDacpPqkk5S3LL2jIXKhpD15ilbXGjkqsBAkOJpO7rehVbxEGUfGh+2TZ cCvLHeh9ckgjimFlZywk230H/tkQJpnHaTOmhNbBbowUkIdCjTBLkqyW99sM2heD kmkYh9jJTj2BLVED4HrgyMp+dXGeDM7nVGDCPfbaFTTz6It+ODndAC2Q0d0N59Sz x2Xb8LYfngezdhV0q0GgGXl+vh9zvZnpHV7Bef6ABTq0IOQri83IZv3HlyBeK6KP JTx+ll32ByQ8JcMuAAaVqWXI914J/fD9bvsTzJNQsPEa8yBta22Ww+jcnHBBhAbU Kfw5FKNDrqYr4VGY9+am80YmnIRQIt7Fu4hGBBARAgAGBQJF4fboAAoJEE1EwCDF wFuuzREAn11W3gtaynmEAcxw/WxLdndmL0mmAKCsf55yO8kTmKoohRXpfo+jn4HB XYhGBBARAgAGBQJF4gz4AAoJEFUVYHaRYekRxxwAmwVy1T7YQQtP7xXNdM+EVUxL nteTAJ9AzaxlVV4dO/OZTG9QDbqztagH54hGBBARAgAGBQJF4grQAAoJEMfZMCWd /6rUv38An3mkvCWcxGKhN6/PgQ2+W4zpFQPDAKCxweB0Xh/TQDjQ/dSaoj/BccNK LIhGBBARAgAGBQJF4hFCAAoJEOVE3gebfDKNJ4sAn3owtLwwEWtpw9VQxTc66cmd oFqPAJ4r2z3VgRa/Ns/uWMxV0Zlee/f2M4hGBBARAgAGBQJF4i3gAAoJEHZJQAVJ ruv2v54AoJCl4M0ClZrwxyTkOXJs7xeQjtDtAJ485636UH2u71nZdIyGTMqQkszm BohGBBARAgAGBQJF4sNEAAoJEH5OpU/Qq0B1NE8AoOJY9VXq8PPDDPjRPaJLahjO ykz+AKDN3jXgHvqD26euQ1ksEBc8Vn6zF4hMBBARAgAMBQJF4sR8BYMChj7cAAoJ EHMcr9NTwaMv9/EAn35hATWBiY7ra8Z2bjy+GZ4eSLQmAKDX1GfInkT57/rzmpkx n+IQlikCMIhGBBARAgAGBQJF4s6iAAoJENoZYjcCOz9PA5IAoIZucQg6PaqLETbG ch/y2UM6BhZ2AJ92fj8dOvoKNxn9Rh4UcTSSiPXNDohGBBARAgAGBQJF4eL3AAoJ EHhn1Tx0eTXduhcAn2LWbAgZcRRU7PJtIO3zqsIm6keDAKCeZgrQaUd1GSNW4AzZ LuT/XXiWW4kCHAQQAQIABgUCReLO2gAKCRBSIlPD1yc5gYUMD/0ah8KqI6rjyi7p WqPPcPKy9ZCnPJv2JJllu1wx4dqRZnUVA3rmHAUpzQp7HsfMXWLgjxOnUEvzjZkP PamYnczdE65l5M8zah1WNjfR8Vk4/XaeolVXe3a5R8Vxj27QRa+T5yEHprb5hPo4 uFWkPlJgJd+qcXCIc28135QngN5uRRQK4NnM/oTtv2nv15L4M4qiH6V+We5IW+Tj t74O0mSEekg1bB/XKlF/XcgyO8rEZgqwufZ4cHbzWYXw3C+CKkhDSDItGUw9HesO u1FS+Mf/Js4+/kFjW8ZJPFO+A2z3gYTDzaXGq2zlvbqw1gYId5pbukVM6PRqQrlq tI2Kza7/CY85b+DVU9Zwe/Hr+yYnEJdG+eWkshmB0mIXgQlSaf/sglsAncrmxA/g m5IxaE3TIRW/mtizuCUwq+gigIUEANAsNwR5a/RAekc8aNaO1cSj8izlGqrl6cuQ 5jyizUJB5AcOV4CUDiazITOasbt4+xx9MTsciqWIkMLYRloVuqXgsoKOTxTT6Zq+ lPEGRyYds7OEdaXHWPO0OJ2ZPCagb3OvqxJc123Xf7XXySGkGXzZgoA6D4BwIB0b 5WQFq8722b0tJPktH2a5clKJio3SMir1bpPT6b/CM/Mrk3kIFKJpmvEBYrKTCfhJ nDI2GJ4Z/f6rUDhiyQ5yj5Rop2zot4hGBBARAgAGBQJF4vk5AAoJEItKxIGsHnFe eYYAnRbZnnFoSrbo5E908zFdUPwfVfUoAJ9Dgo1WuGHPD+89PSqsyMshK1qavIhG BBARAgAGBQJF4y0kAAoJELOx+BoCeHiA9a0An0E0Zyjequ/iRSSB+YolhRqc87tp AJ9PeRbv8Ce1TY6qCoyIO76zYScX5YhGBBARAgAGBQJF40D2AAoJEDiaVjzCcqEm vrkAnimr8D1OTH8O8+E3A2VOoxLhG8PTAJ93AR9hPTBxVBY+TqzapQz12ROtjohG BBARAgAGBQJF40DdAAoJEB9/MmoS7vYqmnUAnjcrUSIjc8jjfdxLhJES9yDBTP/g AJ9ZSpKAG4kvVjZqcSBhudGIw2NkQokBHAQQAQIABgUCReM6egAKCRDo4GL2DcsE MZKUB/9bQd/kyhettf5FPhSPgtVgZanF2kI0WnDWUGXbbn8vLs7GNGsb6eyuUDEM kL/f6xtVHNPC44HarRbawhph/m0P25KQlaHX4120gdYzPR7mnUMk9g7P2ycNrcND 730oJMS3f8FBhe9fnt4adPU8mp5fgU2zTsdVHpa2zUVZHNh84iuEoxoZJEWEyHHJ ke/avbbc/G6JmMD+8vOV8nKHbuzNOAfA09kPJWAPcfR/grCpEMZ8SkB9F4FvPEjU 2HxeFKx1vWNTamkr6ygUVlX7bBwLCe9p+7ue1rMeKOMsJF7UnAkOthEC2IeyhPn1 gyErrjYzQOX+3+YPCSO73fBxSG6liEYEEBECAAYFAkXjS5cACgkQKJz/wOY81tb5 TwCeLd//hOBTT9hnSkZFuxLso9J3cToAoKnsSW/csdFyRJLh024CqSzu3/QXiEYE ExECAAYFAkXjRMAACgkQjCXuDw3At9aUHQCglgCi6nNiupwbEfwEsvd4MRYVzGsA niDj36LSv47TIbmUQJlR/qiNJ+phiEYEEBECAAYFAkXjVQEACgkQmEvTgKxfcAxE EACgmX4IGrSutcvAs9Pfr6JYEE3hdsYAn1yLt/tyLO9laWWhLKhNH7MPHc0xiEYE EBECAAYFAkXjT0YACgkQIae1O4AJae8N+ACfXCp09XmUQQ/xvA4LipoTAoyqX+oA n3aZHFSOKENXaHthrpt0FFaPVNEJiEYEEBECAAYFAkXjfaMACgkQzxI0fJaL1Yct 2gCdEw43ra6oy0cwLX+zwRzTXazKQn0An0FuDnGs6J5+x6hlK3MFjyfRYZc5iEYE EBECAAYFAkXkGvoACgkQZDZDYQnzQCR0eACfWdtadQLH9Bbi/YPOcheMmavmCrUA n1fBKs46WOq7jppufBXwcncegfxHiEYEEBECAAYFAkXlgbQACgkQeQ6MlGH/2qvD yQCffMAMRUHCPKIbbz59BVNmgpyvSmYAnRMspmLYF0gk0xfHoIFaS3nwt3DgiQIc BBABAgAGBQJF6Vo/AAoJEFeTDasLhrBnakQP/1Z460aR3KyxrCrEcDJ/Vzf7vsbq 1DQnmoRuIgpKmR87N3qRLb2p94ffRYYxlWcFj1jiYT3Wq2bxjHyCZPgcAM2bQuuJ MFxQo2xgwobyNqesIafgdbMjdUEAVy+NTyJfdmM3I57lkrleGz6lk9ojMLoIDa/t R1C+uoLuSWMj0Xk/nCT+WnN3/xqZyPIa+i6MN8fuI6Nsa/C1jiNw2FnZy721hl+P 1Bhx+i9aiXCR0qz/3AOAOz25F0OXNKKdzOgdo5mCkelbUaey4gPpvb2oZ30rh6VT elOOlGU6WbEO3DQBuOGAxJ1Ux801przITs1923bZU8EPyfDZyZWINkpl7M4En4bq GKQkjTIfE8GrSSCp9rsLg1siK38yMYodegSzSJ7ZWWGlyuKvrim1eQw8svSzRphs ujaDJG8Oy3Dlc3qBbA/CGx1OtyML5G/w5C5b2Wz/BkMgHnOfOJSVjGlJJrxGyydR qThibZ88yRcZ8130COubR4Rr2I+TD+FZLhGtzQGia4gDQ9QG5td6LS5yLPc3Y52N cwWsbMHWzLTQ2k3O7PcsetRPLpduiq1eZUZZveY0MSjH+uH3xzp6qfj9I4FDtK6e pHQ0F9Dw8kK9qBAhiqrKxsUUbalx5Pup0gIkzNe1vzjByS2P/j2VMhbinhG5FZl0 O2mPcIXHeHlAJdGCiEYEEBECAAYFAkXt5LkACgkQMGnpIbeahxy4RwCggxD0dEmG z7ipFrmwbIGTxuxIS+IAoKfxzxjiT2m3AEvfkL/xNuqgenPViEYEEBECAAYFAkXk wVwACgkQcLIDITr1nRa4rQCfZvrXaoYQ8TeX/lhuJfmsPb7kIRcAniKy+cTGNExR mZutFX/OcnatDZExiEYEEBECAAYFAkXqoaAACgkQL5UVCKrmAi7oEwCgu/2cheN4 mU+yFFIG6HmLrbeIc5IAoI2I4eLWJdmLpJleOYgF7CtTGIKxiEYEEBECAAYFAkX/ bGMACgkQOpD/wRQI1/HBUwCglcM0b6fl1oP8iofWeovuhSk4+5sAmQHrgf2pbqFW 1oTBNS60dNQjA7VdiEYEEBECAAYFAka12CoACgkQXeJJllsDWKIizACgqk7R3Bhn GgzraKbcP9qSMhbYBr8An2Xah3bURySnK2QBDx4GzNM/vCTqiEYEEBECAAYFAkdZ tOwACgkQcgQ2cL3l8e4/XACg2opaihfpMLeOKb2bNSD7cLpI3N0An2A2r+PcOgUD t3qIIZ8i24HAhBnSiEYEEBECAAYFAkdZt8kACgkQ4Q56CecvefrAfgCfU/NbkK4w CiFMyviXo/F8tOEGyqkAnAgNaSmDzLkYZxHlM0SXosfHfV9diEYEExECAAYFAkda cyUACgkQaGtW3WCKJJsOKwCeLKhorr01GCKnXR8QaGvImLVOm98AoJpyR9WMJ0cs X+CuEdzGJDTlD8pxiEYEEBECAAYFAkddIIAACgkQt5wosOl/hW0OtwCgposF7nuk dTQ1nsQd1AGHb0CkQzYAn06bBOKMXsPcN2VvMiO2hiv9FLhniHoEExECADoFAkdc k2IzGmh0dHA6Ly93d3cuaGVucmlrbm9yZHN0cm9tLm5ldC9zaWduLXBvbGljeS0y MDA2LTEwAAoJEOdekMA5zDPbZ9IAnRTxxJl2Rtv1ZbnGsOuPJ6musP+5AJ9b8b3Y 9BL7PRHzWgQjzALVVXRrdIhGBBARAgAGBQJHXR/KAAoJEPG6TB7RyLqP7nYAn048 cLE/iNKJFxl/RwkY9VcRedkrAJ9+Y6u67OnG6HneUhzqGvMDbaGmAohGBBARAgAG BQJHXYVBAAoJEIUGW1nVLdGnUJ0AnjF43FY5SwhcW2JmuPVu1YnWfrwwAJ990zkv mIQtRCrxMzMgThz4jVaoEIhGBBARAgAGBQJHXAvSAAoJEO2/HhEm8iS4g2YAoMWb nnF/sbeM8+WToKO0nnoJrXVAAJ9iX3wXtSwAqrK+3X5imRfXGTxh8ohGBBMRAgAG BQJHXuTeAAoJEIXCJ+WlVzjy4fQAoKz8piSTCDPkv0qeNq0bdoDs9mOxAJ4lO8Hp GDqjYheaAvKG7tFZ1fsZjIj7BBMBAgBFAhsDBAsHAwIDFQIDAxYCAQIeAQIXgCIY ZG5zOnNpbW9uLmpvc2Vmc3Nvbi5vcmc/dHlwZT1DRVJUBQJF1dVYBQkLk/wtAAoJ EO2iHpS1ZXFvjEQE/1HviHOOSHv0ZuOd+H6SVlkwnhmx4g6fpyeeOa49lywggMBL 8zddB/928PMYFQQ+pvYmECkOK+O6sVO2NkubopZwE/hUjt5sc0XTYQ9Lvxp40N/K UR8fSR5FvLQSWYGYRDXkK3t3Cta83ZeJk2IK43DpgVoFWMN6x69DlRGTyRWbB2Vd RvSZz3ZKp86p5cnwMT++K+pNxq+eY0UJorLRj+SIRgQQEQIABgUCSES5dgAKCRBQ LE8plp8qHbO7AKCPmi7Ri8FKIY/Wf9Ksa2NFDxUnRwCcCdAwwG67ZmplFNtZlVDW wFEcvT+IRgQSEQIABgUCSFlvKwAKCRAk0yv5qpXDSUwfAJ0TPD78S3J8UvoziG+b TCLTlPz1XwCgnWlV3PBKvOxuGSAdm/DOMlY1ogKJAaAEEAECAAYFAkkGvzkACgkQ Ke5YuZaGUXFYtgwgx9yOo8cCR2a0d/0J8Ux8wAnjLI8m68BCiKW6HmAzXx/mNX2e zicSEyqcvv4q5XdpvSrcA2kmlREBpu7mmnyerUuWWsTLMbi9clXaKRZ6yQJQBbrR YwrXtzdFziHqFjw+hC19uVXlPhXYa/8YL6aCO4JUlzWWgVF8xHupfRTIeXuGLkC+ sWww2VmSm8Fg0FBG9jpIt4wYxNMI77so4szE/hoFQSdRtY1lC18jjluNiygGNQQP n7r5OKwrK9hX1gGZA2tGYVX0ZoYASRPZcUUzaYPH5cZ86SAg15zzroVD4etmk/2i I4sdzR9PyKr0zUp5FNSAFRey6avPAhaTNsyVDRiKmK3PnZF9H9HaRLJJnQEcvevN 04Vg10VW/O3zCFMFi8zuxUP6ygoDdWZT9jR4wbzVEyFY7AUwXnStDd39p3oamTb9 XtlngTJjmVBZIOlap4vmKsm0t2xviaxto6uR+656Ya49+SoXp+u5+dGDT2o0kFlN aC5r9zovItqdDYUHtn7DsIhGBBARAgAGBQJJZyWPAAoJEEc46iFldJl61+EAn1jp iTpjqq/l1oKwJQYDB0WsqGd+AKDEiDHvrN46b58gzQKdVbs472bFS7QhU2ltb24g Sm9zZWZzc29uIDxqYXNAZXh0dW5kby5jb20+iPsEEwECAEUCGwMECwcDAgMVAgMD FgIBAh4BAheAIhhkbnM6c2ltb24uam9zZWZzc29uLm9yZz90eXBlPUNFUlQFAkhh +YkFCQ0YdF4ACgkQ7aIelLVlcW8+HgT7B4+yIgD+sx23Ax7ARwTI0qZ9x1G9tJYs lXKQnvoEgxRN7aAECsOaTwhP5rfzJ1thftd8f4yYgO0p9O4axkyZOOyURVJfQcJz 2ENpuFml1K8jOlvZKziliTLJMKfQxmp3vdMJkxf8e0zDRwZPfA+2nV90WPtO8fsh 4wORz+8JI9xlzEm5WlG+CrMdwooavGg73wh4XRctrnMQGnQm024d4ohGBBMRAgAG BQI9WPK/AAoJEFeTKdPAGyoiF/cAn0dqzIl3Ss2QfeWnAOWEkODC0MsoAJ9Tb+zN +kgKH0f+91o6pT6VQEPn0YhMBBMRAgAMBQI9XrB1BYMBV4o2AAoJELy7xJVxipJW GZ0AnjlyM5hKGecjlTcoKYWJlMDjf0vCAJ99oFg8mkzKasg3CREHi3Y3Fu26EohG BBMRAgAGBQJBAMp9AAoJEJ7XWD/BTrKC96AAn1wDNEETZX6vDoCYdUGpV8NUiyWV AKCgKBgAABm+xdRzvY2ytKMCCPLLHohGBBMRAgAGBQJA/z93AAoJEJb/mcQlwOwL W7EAoLqAEMsXFUj3ScAXDYcvQaR+5lN7AKDPPs/9tixtWkuHbW9SPuaUfDizQYhM BBIRAgAMBQJA4Fc9BYMAk7TsAAoJEMiB3UdK56tHYAgAoKntYOktDGj5H5u9hfIq E9YIayhHAJ9PdLPDyKM6C01fd002zQe/eapsj4hGBBMRAgAGBQJCSQGQAAoJEI/D cl89aNY667EAoKu5aEpTLn2dplFPPc7+ojRJc+vVAKDcmOrKUKjImZWIh+Y/vJLw OHYi84hMBBIRAgAMBQJCHfAjBYMAPyIxAAoJEBgoK2tFOUoBYsoAnjEtckRH/Rlp C18blWLwEYDTSgw7AKClQUzPgy9KNf3j7/MsP/Emrl4+SIiiBBABAgAMBQJCRvnB BYMA5rEOAAoJEL/W7lhX938JlPID/iBCDWspuyuxVL2VrgpHSXB7IQhlQZUzqiPW AdQk2PCzXUR6fI60VwWRWTgzwM4h/9WaIkkI7IE4PPAVKcSy0oCR2TqobjzFpS8G ulrMrShk5LhQp2fppJhynuy1Z40iq/Dqz+8uToRbXVam+XYIvUiHitmrLNV6PvRF mW3KPr/ziEwEExECAAwFAkJJRAoFgwATzkoACgkQZr5x/2dIaIODCwCfeOCIoJAc Eve7QmdisnrXOunbns8An1paC2kNbYfcWeO4XOnHeglPVw5HiEwEEBECAAwFAkJN grUFgwDgKBoACgkQO46kH4L2EkAE0gCgz5vROEPqn8VQJZ3D6dFhXQISjaoAoL5B pboL6ZlwUEUjHoB8bJGQTxIQiQEiBBMBAgAMBQJCYTmdBYMAzHEyAAoJEAt4MvNz 1i1B9gYH/RhzAgmG9+PZuuvOeRMj5CZpVURiOUIupt+640ZrwIy/mgUhWKAGMlCn n08r907CfJfmwELKGkVOsG5+7nPy8KCVEwclxY+6zzqCE8cekmt1T9Z2HV4wrWqy po80E2FNXFsHylGxAN30oLOIKXfNNZegttRfg20pj/AmzrRm+tjb9VMdQl4lp9q/ FVMuQFVmdFQ+Kr8cSBhp+fEdLy8SguYBhYnbPSXTISXdUh0NJhZGafzaTTp28NgN LX4WhbKXUAKAxIzh06/X7NDwFAa7eWHD9lvojWfSj3zdnO9O6f97xK0j8UGQqFwZ pzdiwOcHjSFVmZyriT1HskORcB/aKz6ITAQTEQIADAUCQtiwjQWDAFT6QgAKCRAY WdAfZ3uh7EFLAJ9i5//07JhKiC/23C7bfFc/NpaowgCfWuU2y7lDqePoeNxdgiY6 1AS+wiuITAQTEQIADAUCQtiwsQWDAFT6HgAKCRCBwvfr4hO2krnFAJ9HH3oo/o/H Y1Oowz5v7a0By+fyqACeMkgMrMlUPFN32fjmN132Clz31SiITAQTEQIADAUCQtiw 0QWDAFT5/gAKCRBrcOzZXcP0c2EfAJ9Yy1Y0/98TlNF3fU1dTjd/asSXrQCg+hqH o0R2g1ztigaEJ6xlYKfcFVCJAiIEEwECAAwFAkLYsPEFgwBU+d4ACgkQquPmzmah RGijYQ/5AQ2INhVisCJEjJc9CmVqABcKDvblFqq2xe8/IMGSpThlvYL3BdDj2KMr 8tPeF63anbRvCNiain2IKWj6+4xVN1YmmNTK/MED6sX3JripbAn2Yw8SmmB8eFSk 4guSFyeILjHk5as208d6502S5tEnsnoZkA3yD02nFXokgDNFixxM9HzyOcGCASu6 A2UMkiLZUUgjiZiKuUxBlRG/QeeyKXs1uDtFsEahOocPE05+6bjBx3U6yPD0snaD wMEkZlMVfKdhC+GWIE01K7c79Jk3huz3c1PWHNkxdzlycBE9aGpHtDzS4a4msg6n VZb7NYdhdShCAKLbjCl0XfAolESpZ2oY+3lrbdyFYq/D3aAc0QLU9/iZvBEt9sf0 3V0PCg7dcD7P9HpCzHCM8gCEluoFYvurrVKU71FzEP4P7EGV49mK0U0owTRT+lph OIT3NYdybiZtAW8FwdHPIxOtGBBndAB0iYDznb62vQHjbzFOnZ+nNE7NW6FdN+Q7 02YU7VAG/ZAHP0+aLjQ8JvILKKG+xNNlBUX4TCKNGao+QZ9pgtEAp0m/T/C9Qumw G2RBV3v1K5x/niga/mDGKYUyFlmfwkmYScAWlQxQi86q/WfzoqxC0hCSgnBtFcsa IoEHx5h+gkYzPSuCJidq+a6+BSk98PPBrrcbPcqWVulxIUPU49mIRgQQEQIABgUC QvJK7gAKCRBu+K/ChldKysP9AJ495oiNOr+Yzim0SbesMCyDQOzekQCfaXXwvuCW fkjKtMPXDtzShhLCddqITAQTEQIADAUCQvHAcAWDADvqXwAKCRApqihSMz58I3+f AKCKbs82jshhd4NisvXVfb6hAgTbNQCeI0VNu2cKL8v4c5yEfavqPnriI6CIRgQQ EQIABgUCQ/jTlgAKCRDhXdhXsVw30bs2AJ9o4wcGaqejXyEWTPnD0BVqLGpzCACf YGRrmV6jhnERw2KNVcFCuyoPGp2IRgQQEQIABgUCQ/jTmAAKCRDhXdhXsVw30UVa AJ4/pDYdsiYiACPSRFXHIHb/HHRJYACfY2RxWuCiHSLHRkGeRuKktGJB8CqI2AQT AQIAIgIbAwQLBwMCAxUCAwMWAgECHgECF4AFAj69R0YFCQLVjhkACgkQ7aIelLVl cW8Y2QT+PjSaIJj37ijex+wJ/HBLkyydqWYVZhuTPTVMLst6DQModRBj3Xi7UYlg g7lJ6tRxarVuF/eYW6Zv4jx5FePxKLBeAG+H4FRQH+ogIXeBlDx41X7L25wjSxxP hQ4CwBNMmSKckD84LdQiPrygbX8JQLsJ08XuTzDG7740d0RotqxizGhYP0QJTD67 VvffoQ0gLtB5chw7Pc9osT1+j4yizojYBBMBAgAiAhsDBAsHAwIDFQIDAxYCAQIe AQIXgAUCP6QrUQUJA7xyJgAKCRDtoh6UtWVxbwueBP4uh9ZEOuSjt2n5OpfuAabl srRzhlgPfluBMfjHNynEFsGjn81l81TCqStRln7wDUj95ZufSi3YvoYSFG1jffGM k/k2trgINtT3kxaGkfns6dykBuV7Ki2wWqdJkTe1ibyai+RCqt+J1ldSUuHdfQZ5 wALPJQRb4Hqi7M29azFHcfxbMLf3yGYyBuKC7eBVNVaR58UTFK6r0CX3T7eGuk8b iNgEEwECACICGwMECwcDAgMVAgMDFgIBAh4BAheABQJAhr4rBQkEnwT+AAoJEO2i HpS1ZXFvkxgE/2ZfCBqYKIe3SDM0tOVNrIeSZuVNUyn2xoqRKK4VomvTI1eMShfG a0twPVlBB5xXHt06yRbwjobJykmDc/Hmteel+FVWOcehnXq8T22gLENlEM0CUZel losNwFwdnWGOHGZs/B4BVCh2pzsCra6di7MKCznZDOHX3TBLoqVHjWzCldxtwc6Y 7fAsEtrLVos4+0JvjQoYYgHQyril5ywHYs+I2AQTAQIAIgIbAwQLBwMCAxUCAwMW AgECHgECF4AFAkFvxFQFCQWICykACgkQ7aIelLVlcW/xbgT8CO3clOxFv4L9gsJt xe6lRUISlvmjoiQigmw8PIQwGfTCRYA5oK4Mja47+1PzbqzY1AlEi3JyFpIQMDCp RhkhfHGjOVH2vap3aGXxSFr8JGM0SO1Z5+88uNo9N7RAi4koaykIy+GYKypoyF9U LGj5QL/bUYgzLLG8etNasmE/Dl88mEXhY3wuPwaeIEbcv/HDHBymbv7VplP/3Vht ANfOz4jYBBMBAgAiBQI81QcrAhsDBQkB4TOABAsHAwIDFQIDAxYCAQIeAQIXgAAK CRDtoh6UtWVxb4jyBP0arTNzMTakDhO8BCE03d0iru6sCFJ2qQeh4UAFXy8KZ5yb tWJxFT/Q7xn0uXKujJ99cXhuy7icDR13wWkRKG20IjKiNv9yzQaNR36+m58mjZu1 UDnGVm2PT9bELYmKTVoumi44QWgU5lgq5KZfWhsA5BQEqS5tp9k4CBBg36JCwjYx HfnWxymA1hSyMKPmgmPm6aFd+Lv9d3h5oTVs9TBOiPsEEwECAEUCGwMECwcDAgMV AgMDFgIBAh4BAheAIhhkbnM6c2ltb24uam9zZWZzc29uLm9yZz90eXBlPUNFUlQF AkJAXM8FCQZYo6QACgkQ7aIelLVlcW8t8wT5AdyhUlQzcWoLN/934mFm8zk7TC1n moHE7v3euwTumyABwdUh7l/ztBk20Ontmaue6DIGELrsfYWtAqvyWqwi8ptpLOOu jzJShC2zBVJ5/86uGpKASqzTwCJ9rrqyjBPVlY7XzWbgEILtqg1Gi/Hwe7LQ/5jV nZu08D667pS9kuHaIqow/73nOWg0c0dlaigblMcVCXRF0Im3JvIOYumf64j7BBMB AgBFAhsDBAsHAwIDFQIDAxYCAQIeAQIXgCIYZG5zOnNpbW9uLmpvc2Vmc3Nvbi5v cmc/dHlwZT1DRVJUBQJDFazSBQkHL0UmAAoJEO2iHpS1ZXFv+CkE/iKshcx+BSBC 2d5EK24Dww6sBDPNF4P5mqLCMfa2VbGeWZffVQlGgJeLfTt2mtIAGRoCyaUazWjj 206K41Of7G0ZVFeCyfPyjBtKFlwNLrjMWz7kAGtLtXF/bKns4Mr3lB8KXJKiOTj5 uFI9m+b5emAMDXJyQG3Dna/WRcegpI+urrnR0PdZhYBvYPPY6ggctLsXtfL3E/be s1XLsyLWzSOIRgQQEQIABgUCRHOG/AAKCRAIsSOO3a1Htu/IAJ9eabhGni45aWk5 3Zb8U/iwB//edQCfW9B5aOz8uhfXNZYi7DDVjQ58r2eIRgQQEQIABgUCRHOHAAAK CRAIsSOO3a1Htl+5AJ9kk3l8sdO9tAL/pGpaMuwwXG0PTwCgnh7vrRtASYmhSeT5 RS/c+2E3+iqI+wQTAQIARQIbAwQLBwMCAxUCAwMWAgECHgECF4AiGGRuczpzaW1v bi5qb3NlZnNzb24ub3JnP3R5cGU9Q0VSVAUCQ/Mo/wUJCAtv1AAKCRDtoh6UtWVx b5wvBP9pt+ced/OUwn6QQVC28XSEj+Q2XE5TPTt9C/l2Z59ZRVQBQ0HrO2bSyX0L RlGM0j6ANddBu3JKvGJizeOofvrVdXBHVDQv/qavmfoW/sBk3Vy/c9nBmFx+GMlE zxWIKgL3oBRKVEG9gKT/bTn5zZQLt4Lu+BlATeADNUlUjncggKSXXp3uYQghWqZQ HrEs3tk0NwzBxYPW97DmtYcjSNaQiEYEEBECAAYFAkWMC44ACgkQKaooUjM+fCOM QwCfU8bBrk75aSt+Pw/6RRus0NtDieMAnA0cD0TCoCFX+K6cYyR5erJhHgRKiPsE EwECAEUCGwMECwcDAgMVAgMDFgIBAh4BAheAIhhkbnM6c2ltb24uam9zZWZzc29u Lm9yZz90eXBlPUNFUlQFAkTm6HUFCQj/L0gACgkQ7aIelLVlcW+BZAT/bQQwknXn Ub9eaIXx+aSbAeoO5gcowyFzlgcinaUyHu6J/1ogOwilkoQPsxhgRE6A/unk3Zac kvBrzpN2mw9YnVGRC+Nc9queRWKFhBfKNUFwMCcpVIy1IjCR/fAz1xlV4kpJ5QQX 5bPe8TYUqfKRS6hfWRvBZd0SUuC1s15IyqgKq9RZEQnq7GOzyQvMbSBeRkrb4Guv ZIdwdbR+qD2PmYhrBBARAgArBQJF4Xb1BYMCh4xjHhpodHRwOi8vd3d3LmNhY2Vy dC5vcmcvY3BzLnBocAAKCRDSuw0BZdD9WCItAKCI+or/qR6qhFzWBjh7ONW2Fwt1 ugCeMPkV8gI+AYho8zb7scqP8WtxIkeIRgQQEQIABgUCReLCxgAKCRCqz7OGIRtu 72ivAKDtzjXOLx6LXja+Cdbjv7GiP77jAwCg+BUnbBlNA3DFM2cCMfh0++FHMUaJ AhwEEAECAAYFAkXhlPkACgkQJknmKMXTTQWJcA//VxD2KKHU+4JCnMHMAtLQx36/ MlBwqGGjVX4+ZAgj9zz3dtOP9oYeH+U5XQCW0byVbqnyYdDW0w5uUctpKtxOtRS3 jCRmzPD2avfpW2jneg7ylfjeIQnn3Elkt1sxu3QiSfvFxFgw4GfJGIs0/nfhO54q OGX5+oMitavJiNC60hGJ7g+ToEZOmNXkWS1s93Szf88Oby5u6xtRoqYOxLnj6kA5 iPYSl10yz+opirrlCmxh9swjv73F8uuiebCOiJMuMNnQNg/+gkBlP5TUDCq7HCin iNn10PCO1BTxqJg4rDtZca8+UEPs9Vcep3CObuYqzYxxRWD5bKu7ReCYMlV9ebE6 bABzAQCV4ZBPX/AtWMbLTSpz/RdCbXM6iuGxRdW1aGhOR9CKfDjS33aAXprPUJeg YLxskDPeJ+q02FZ5YcsfTzvSy4RfJFPwaZT3APPnDzZAddMbiuPMzPKr60qIQf0B 1KOOh99ydj3THRY2TOCqs7TiQtg7DzhPC+lmQTAnLzF3kzk3aCj5nEbXjwChfms1 B1jnnKQJF0iiux8ycGVsja0Fo1xIuaeVoxLlBhQYBZhpW84uwC2Cyo84xwxbwQ52 9nWVsy7bMD3Sv3RDHKFZb2VEI6WNAM4RLjujRUOsYnBzM/et5r2rNbhVYZpXXI09 tn9buCCkvvqcxDJSleqIRgQQEQIABgUCReH26AAKCRBNRMAgxcBbrpgLAKCrw3g0 BerwcZrA0A0QMml9oWc/NQCdHxDZHRXDlJKb3rWsk1rIj1KvZsSIRgQQEQIABgUC ReIM+gAKCRBVFWB2kWHpEaBgAKC5Hgg9nq2Mc2yUo4mtYn55TZ0mzwCfUuZjRjp5 i0wGMRjlSQIAFwLWbcSIRgQQEQIABgUCReIK1AAKCRDH2TAlnf+q1ICMAJwKvons J370KWFzEUD0BxUNUOKCFgCgm1I9hRBVJVOnBc5z6iDJ1M3NgM+IRgQQEQIABgUC ReIRQwAKCRDlRN4Hm3wyjd+9AJ9f4xN5fLgv1M67WOBPBcwdaWr48ACeLBOOMDGv AYncekiZ8tqSxWMYnGeIRgQQEQIABgUCReIt4gAKCRB2SUAFSa7r9u8/AKC9UtDG VMlgcW9Ki3UAbWg5zhA8AwCgxXoak8y2uBiNVwVpzO/ub63ist6IRgQQEQIABgUC ReJbVQAKCRBbk8AvnkqcneUJAJ9CJwzNxH++BgxHoBCYvQslevEaMwCeOwpQrG+K +1hgmCaKZbBR77xnVhqIRgQQEQIABgUCReLDRgAKCRB+TqVP0KtAdYQiAJ96HcY6 xRsnPcfCgmngWFz3DOJzeACg3O1etKwnXm24bRYRM3cPLsNkx9+ITAQQEQIADAUC ReLEfAWDAoY+3AAKCRBzHK/TU8GjLyPGAKDH0Z5QNF9UMFgUhXvGR18mV+IQMACg kM+uL0ZjSu/vXGwM6RQqLWsPoYuIRgQQEQIABgUCReHi+gAKCRB4Z9U8dHk13TUW AKDRPfQWIu8+rVajQ56tvufZsfMUqgCfd6bVey/0wlxFH3BuKaB4maUoMzuIRgQQ EQIABgUCReLOogAKCRDaGWI3Ajs/Ty+8AJ9hnkGZ3J5dGL1ITHm67C5zuphwmACe PnZ5O5xlhXIeI+D8+z1JGpEmr02JAhwEEAECAAYFAkXizuIACgkQUiJTw9cnOYFl Vw//aP6Sev9OcDLXyyja3Ml3q/EXe0deIgZxLunLJcv9irSnrbg/fh2yZxognbSL BMdBURA2QK123awXUej7Jughn1SnULvi2/OqI5+prBV4Qx0rU9BomwEQE+vWHS/0 qFmc0w+IzooBC0PXhVI9tTvPq/vKMrbSLiBlxqw6EkysfcRgHIIexpPNB9kMD4Yb oTvTHXOSxpthY3h0ehOhnReiw67CQG30CMQXdPp01uvH8656F3CA5LGhTv+T+rGA cJ8SFiShjF+cXWOlI7DtCFfjhL/D9S9Ug2SWMigoz4YE+at01SGzs0ahijF/cjfW 68TG/mBxBXF5uY3rRU07f929ks2oMy+l9npVPwcDvKsYHwNovtN4M5wS5UWpgX6k I4ZPPV+nnan2FUqNCcZI9+pUsyOvEIjsdZkGXLgyL5WaN31DhZNz9yMWGJOaNHlR pdDm8dPXpnPPoXFKm7O3hyamSW1mjKaMPG2PMigClH1KfnK5kY2D/G+z1fk5kM5E s+H+zPySxDMsp3IvwE+kdAIFlqla/Y+6IQ2mbAbaRzzzOrB12+YpNfkCbPmpQZMP 3cu1YIgdJ/Z+urdE0nSepHf+ygL7Wus6afUP5GWFFNe2BSJR/6Fcd2r+PV7DU/uh hbAu6yqEQJU3/X4GDwwzvxxQyR79C+JYpeog5/gAzdWa+2mIRgQQEQIABgUCReL5 OwAKCRCLSsSBrB5xXsftAJ4meBeaphMXBIfSN9x/4hrUOUChqQCePhSTUe3w9oQm xG/m81i3weQ1Pu+IRgQQEQIABgUCReMiqAAKCRDTo3AErk0c1Ck2AKCXjF9YJz1S n4yr3Ahdlzjha4ZWlACg32/5EOg2CP9Is9qqM7Nmp2OHABOIRgQQEQIABgUCReMt KgAKCRCzsfgaAnh4gFQBAJwIWxxZqJ0YaHcHuhUmpO0jw3hcSgCeMO97CZ/WW9+k to47ZzmIJq34CyiIRgQQEQIABgUCReNA9wAKCRA4mlY8wnKhJl9sAJ4vjcPCWTFt o3R8bmFfdhMjbzF2dACglEwOiSd/ZglLVxKUoActs5QKY8qIRgQQEQIABgUCReNA 3QAKCRAffzJqEu72KqXCAKCsQKKlQ/u95XZE5laDGvEhoEXM2QCeJMg7cxbPm7MV PO6q9UJwGyQuO72JARwEEAECAAYFAkXjOnoACgkQ6OBi9g3LBDHt7Qf+O59RTNft jDuxfaIVU3iwIgVs8nXeSb/vn5brc1EfpaEGdNrXPWHvDy/u6ARZ386G5F4dz3Eb 4kugaA+/P4p0pPImRmeiRRgcyvpATdEF+/Y787dhkl/fVs6/ojLx7Bq5LpOxHs9S ZIjhxXkdPzS06T0dpzV2iDVbGUz1mZL8uyQF0em1zldoiswzF08go4koWeErXtZA y0Khu5up8sDISaUWnm2VDHrFLdr8PFzpUv8Z34e+XNiiVoP989dE6Gx2qgBhmR/p rxY54JCxMh/esvTRLjf9cze3t1PI80mK/kmp2zsVIsd1SIdw+fjzYd4ZzDi4gA8n 64Tlv5gldGn5DIhGBBARAgAGBQJF40uXAAoJECic/8DmPNbWs4IAn0vpU3ALdg8y T0aq4qQJdX1oVi5bAJ9EVqkfOkE6WqPIaA5pnodCaTIddIhGBBMRAgAGBQJF40TI AAoJEIwl7g8NwLfW7wgAnjB0msHMLIjZvK8oSH0kWpPxmiCGAKDKaUqkSvY0y87I izLQYijodqQvDIhGBBARAgAGBQJF41UFAAoJEJhL04CsX3AMMy8AoNI1odP+fQA6 h4CLWjaEK1qndHhlAKDNY25jsLzqCcJn0JqQaNN3gkvNx4hGBBARAgAGBQJF409I AAoJECGntTuACWnvwD8An2FF/JEayVKOL++9YbNLXpBVeRxaAJ44hot3GOOSS2OI ZZ9L/nw4ZRiHWohGBBARAgAGBQJF432jAAoJEM8SNHyWi9WHevAAn2TcTFyH84jO pejOmDSTrK30xQx1AJ46kGnM5mgIVuqSDrl/1R4PmrYN44hGBBARAgAGBQJF5Br+ AAoJEGQ2Q2EJ80AkeQwAniuGytBx5JvGcFJV5NBliOGfxhs0AJ0be5jI/yWjK/bn 88x2wmNp3mcA44kCHAQQAQIABgUCRelaTgAKCRBXkw2rC4awZ/WXD/0dhSb4vKuX 0H6Z3EyvlehYrjZUKjv8tT+B0OWmvexuUEC6VtaPGdV0bHIWIi7AjijTgtwRDsT6 qLg+N8wfAzfGloCKz7BAiF2Ugap/X0JwbEXq0OgSzJ0LU5fsHBMj9Bb2pHVmZVqy lJppuhMSnQ4paEctfq3Ls0UJslNhGtflAE6iIassIpZqI8aZfBtC6AWHk7AsUl/M Q4GlxkmNmVNJoBQt8h7DEK02AOqwBLYrHNSyqBlmjz90Cd3q8Mnsh1d702+NJZF2 IuGjqSAv5E2aWNCZQ2zkoMhOGTlqPslEzIhb7G/a0I222px8DtAzYX8pKA0zLV+4 W06pLOrbqiPEOBCPE4wt8t/jNrt0bVg3hrL6Sf+3AYpgDG3LXErhGbEcPTsORUeQ MWcGtaLfKCs29Bln5WBVgeiJADv3t7w4EMFBj5gVlHauNbDzip4q9+i3B4Wjmbqk 7HOpfmxliOKEIX6aKE9SfecJXta7A1potO8pg0LlezufjN72y3PSUIa0VnqdMAVy YXMYUPuvATlFr0qWfzwql5d/J7zNigFzXCW0iBlv5gqTpoqJ+byZr2RUdtC/Q2ym WP4/cAcScFrR4anDnfiOqBeOGQBy7ceYd4DWd38PBU+fn4Z9rn8HfIRlJ3y2Ci7n Lswbbp38GLgYYwq2tjNoxuGr/4+vb8c3y4hGBBARAgAGBQJF5YG2AAoJEHkOjJRh /9qrW5QAniwa6vfWlEt1H8oeUOjJCyp7Ad4GAJ44QWVps5BWoeNpJWcS3m4cIFYE XYhGBBARAgAGBQJF7eS5AAoJEDBp6SG3moccZusAnRbuB1slbRLAebBjUhTlyvgS dsibAJ0V/NfekMsvwX6e6my5KBTFY4WyuohGBBARAgAGBQJF5MFdAAoJEHCyAyE6 9Z0W5t8AoLgQz3ZhGe/hzwQ2bBTMeV12AyzhAJ0QWg/BHvHseBde5/14a+V8pt0S XYhGBBARAgAGBQJF6qGjAAoJEC+VFQiq5gIukCUAn2UXazhZrEHLvZH0c56N2LdN HYI6AJ4zZnN8vY09pgpA6p7+YGQfnjuyBohGBBARAgAGBQJF/2xwAAoJEDqQ/8EU CNfxSUEAoIDQQMHKQdtsKlcQKL3du2kBeaj+AJ0WEKNgRh8NgrcnppW2TpOygvQq M4hGBBARAgAGBQJGtdgxAAoJEF3iSZZbA1iisQsAoJ4LWFLNtSwDA4bNi+qIAHIV kEsbAKCW86SWOi3QcT/cZ+edMZdqTTXeRohGBBARAgAGBQJHWbTuAAoJEHIENnC9 5fHuRb8An2E3kaGysE5hsrKBfkIBlco2Sb2IAJ91er1Yq2k8VOpUsBie/dysvgsY h4hGBBARAgAGBQJHWbfMAAoJEOEOegnnL3n6TYwAn2rA+SuEU9y0LUzxr55/wc6a yG+MAJ0TsyBrQBwA5tj9xg27dqvkZy+RYohGBBMRAgAGBQJHWnMlAAoJEGhrVt1g iiSbLcoAnRgf744XS2aZvXzXpdkvqJo8QDZ1AJ0aBMP918C88Tf5Nd1sEIg+t39h dohGBBARAgAGBQJHXSCAAAoJELecKLDpf4VtzC4AoNG5vj9Xz/ivXays7uOd6aqh apRBAKCMpQuXSYePOXDCEkiGG+YDtoe5mYh6BBMRAgA6BQJHXJNiMxpodHRwOi8v d3d3LmhlbnJpa25vcmRzdHJvbS5uZXQvc2lnbi1wb2xpY3ktMjAwNi0xMAAKCRDn XpDAOcwz24k0AJ9w0cJxnrwcMg54QvEMBVRyzo6F7QCdFuoMj3ByIWu9jc0GFN/l mtaunTmIRgQQEQIABgUCR10fzgAKCRDxukwe0ci6jyVQAJ9HJNsQX1RMDlyAL2H4 qLUwAMwLBQCgoJh3gK9IlKwumCAmrFEaHnFaCYGIRgQQEQIABgUCR12FRAAKCRCF BltZ1S3Rp+JpAKCVJ804T2GWfoudSI5lwDU6q+8rNQCfaQ5ZQTVuknSdPx/3yt6P THWvz6uIRgQQEQIABgUCR1wL0gAKCRDtvx4RJvIkuBPaAJoCJkH84G+jEOHa1esT tRaxpD9oOACgrPWwsOEz4bI7qFSy8JzoMxOvhD2IRgQTEQIABgUCR17k3gAKCRCF wiflpVc48tQkAJ9da/TKCdBij+Pm93rPUpp2Rslq9wCgpxkJ5YNrYCawocyfaQPe xsHZKLKI+wQTAQIARQIbAwQLBwMCAxUCAwMWAgECHgECF4AiGGRuczpzaW1vbi5q b3NlZnNzb24ub3JnP3R5cGU9Q0VSVAUCRdXVWAUJC5P8LQAKCRDtoh6UtWVxb+g0 BPsGdj6i1tbGnqe5fZopOeeZdWxVdLUNYVcs+mUbACnpvat2Wubyl2PUGxev0niY tME90aZwmrti3tKvD2j8tveP0upxlgEhA/XTyhQw5CgMCDGDGWf0RLQK5xEBsWuu N4gV5n1Yzdx6ijieZwNJfE4dOLOM4OCPkaaE29Ji0TVX/BnESBPWz3W/R00FjDdc /l14eBO5OlmyQV/zAKT+R0tBiEYEEBECAAYFAkhEuXgACgkQUCxPKZafKh3VQACf Z4TvFfZObRwlO4YzzrL8NOBgRY4AnAtBNv5Ga2Ou5KluhzgdD4cc/hP2iEYEEhEC AAYFAkhZbysACgkQJNMr+aqVw0kuhgCeNPeCzZhmsiNdL5etbxUZzVbTXe4AoKim F9wyQGMYF0eQNQ1a8Nx7q4YmiQGgBBABAgAGBQJJBr85AAoJECnuWLmWhlFxEi8M IKg/RbKdVmffG2ZlujO/WqRbQ7ZaMN1HkrGze2LfW8rkehV/5DKKLRT0BH84nbpF yOPVM4FHv3vm82fh0yDDnx6ewFlGgGc7ovmLjHDltI78OytEFmKt/O7SM3vjytz1 //Xt9rtlaWDrhA2tnMEQ39xA7ArxtypRywhc5103Fun+51ZUSgGGzJlkUKam8/kA 8b6D0U+x3ZwZcBzLfBW+P6gnec2vZEogPxxukYPrtLbRE2ZrUG0U1RubUXu76fn4 turIB3aZ4vFdCY3al/xBIkg6J5lW1dzRc+vY8Tf9pn3/gKxygE61Im07/b8pAKLJ BEcuomzIn+lWS4np3O4h6HrVOFSQW//4xK55iU7F9nVmpQAwmj291Sl7Kswp0sf4 NDJ5zuo4iDFoRUKjvtecG7s1dRBT10Damkqvq1PICsQN650oThQaDw+VDimL1hVR wOUdzUIz+AkK5SRzP6De3nhuYxMpSbxpxCOQuYGP5bUhB23RjgJwWeqr24RIZGqb END9otGIRQQQEQIABgUCSWcljwAKCRBHOOohZXSZeiUYAJdfCtm1Aij3dVLTBpyI S1lk5iYrAJ4qXN9eQAJwFC28VZguU+VVCPg2z7irBDzVB3sBBQDY9NqhPxE2QUOV ftQI4H29pEXGtf503uXpA747QyDt1V2Mi0SdppiQn6vgtd5wjjseiCxQYTFF0NgZ PQOrtpnwaQLhQo9dzerYpZDeJvfCPeqcIabchf8jbj3J1gsDNDJaoxbT3AsHm/GE +LjKN63gVMZaa1hSUbMNvv7pVmKVhFO3LS+EUXhxVeU7ZH6+A/EUy9RzujxYYOdD eLJYCLORAAYpiMUEGAECAA8CGwwFAkhh+S0FCQ0Yc7IACgkQ7aIelLVlcW9LSAUA nPC0ji8ajhdj4yW3ZRChT+H7hxPdp3id0Xzhuem/DiWT3a6eeQeSadpByGF1H0Ta mT7buYfQgLsa9YkxRIf95jNPWCJkrg8lOaKfAO0+piehqCFly1jvHJ4nZ2hcdhtQ q5C/JRPygfPJoUhcnbEfR09WekY/HXhC5XF5s2+PRK+RvFtqhpxCO+0hbCCTQZum 0QlrJUwh5bu/cJ003Dza17iOBEQcLesBBADmhtD1sFupeGfp1H+G37V8mngf47Bs BS93RI+3mZjNdq9Mx4+yYUCWvW12SLD2EbaBiKColY2e0K9qG8LS8kEZfyPSy+K/ vBUW28YbQhe4Dn3g7T/Q18JrNNyWPk9vVhOlnQQ9trXTW2xYCAHPXGVgHs4fDwz9 AaymqwCu36twBQAgzc7kYYjFBBgBAgAPAhsgBQJGin6LBQkDXUaFAAoJEO2iHpS1 ZXFvaq0FAKnvHI9bxEJtNFmWwq7gBDGXv9TrioNx3wCETQ6n6V8JIO4vV8XydmA1 ujPSHY/7Ptw99+SZ25NQqGBuE98STKODH6EVyXGAvha66dzJTYHQDCG0EO+esDzO fvrISFa37JfFl0Ju9SaHqnwTxrYxvo/Sd3alC8vJARd7IzuZoSZXZNBYz9RPbC8o bTsEEmR1IcrP2IPtOXX7sViW37sU/w64jgREHC7SAQQArB4IoJfse8rCqRNkVzYm btxvzzrtyl3LrluNgS7N4rTOLgCQeUJ8lgqEr2h3KEZ8PjGBWNYww3rj/MnX64jv /Ybq9XxJc/vkFBRYT1ISqGszeFc3P0KTXnVahF5xG4MaQ6mhy4PgMq3/NETdPH+T J+I3OL//KOa0MpGjwmtnGrsAILXz8IeJAZIEGAECAA8CGwIFAkaKfpsFCQNdRZ4A 18ALIAQZAQIANAUCRPM4Ey0UgAAAAAAVAA9wa2EtYWRkcmVzc0BnbnVwZy5vcmdq YXNAZXh0dW5kby5jb20ACgkQpycTyKq7H3t8KAP/YWnPIkW4kfAWU5E93P/0R9DH a1ly7zP3JWbpm7Lxe+2ESOJwPn3GWSn3h+Ty+3UhOIsqIEM0ISQ+SPAG/ltaghcT /XUWnUtolcb6YUVBcjQt58wpxRWZwEfwQR58aTfJHBDDHXWTq58N9YoalwTCFSvi F/UzyHAysp3dBje77/AJEO2iHpS1ZXFvxkgE/3SuuiloOcwou8I1zZ/5n4T7Bx0l BZ8Q42Ct1t99+U4zhC4WJ83ESQPdvAhk7Y2urmuINQYn+tFN+NzVfNPT2hiFNflq 1+AzkZwO3lqh3OakC+LVeFSEmPxrgyXBisELaB8W4Kk90tklUcmI6DS5NCVSHk/W 2l/cMJurV9JuZ/ILLZmjWS01ruDRD6gze8EnpFUZ7In5jgDM/YRLIphINq+4jgRE HC8JAQQAxCLemYxwWqGwXBUqMX74GTQULkvtSc82sXWixyrhPNyaxYKuAvlKO0nk XGEAwS/YMC4m+gJ7iTiskG9iWPfoXPK5S81AjRX7NA8B34BAb5rJbW2eHypOLQ99 MUUBYzuNLLqpwBZTeumoaz7DgoIHNpMpD4x/Irw1mX83xNhQ6F8AIKatOU2IxQQY AQIADwIbDAUCRop+pAUJA11FZwAKCRDtoh6UtWVxbzeQBP9/43ouNUZ9/pT8lKzv d15XHdZ2Kp9Brx2SmerUdDTZbETd3T/eSHAQxJcrwRXeCJg/O//8ZmTg2G/+hf9S jD/OfCkZKVVe1sm1T7nErj9jWlO8+OuWryWE5eCLJb5W3Yk7WDdoeUcj3pKtFyml DFlI0Sq4scHvyb6LPLxXzbb4ViyjXTH0eIh7rQ1SlWOF0fwQzb0Sk+LPRDJ8VX+Q YY0j =UQzw -----END PGP PUBLIC KEY BLOCK----- ---------------------------------------------------------------------- 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. gsasl-1.8.1/lib/gs2/0000755000000000000000000000000013521017726011046 500000000000000gsasl-1.8.1/lib/gs2/gs2helper.h0000644000000000000000000000241213516252320013024 00000000000000/* gs2helper.h --- GS2 helper functions common to client and server. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef GS2_HELPER_H #define GS2_HELPER_H /* Get GSS-API functions. */ #ifdef HAVE_LIBGSS #include #elif HAVE_GSSAPI_H #include #elif HAVE_GSSAPI_GSSAPI_H #include #endif /* Get gsasl functions and types. */ #include extern int gs2_get_oid (Gsasl_session * sctx, gss_OID * mech_oid); #endif /* GS2_HELPER_H */ gsasl-1.8.1/lib/gs2/gs2.h0000644000000000000000000000326413516252320011632 00000000000000/* gs2.h --- Prototypes for SASL mechanism GS2. * Copyright (C) 2006-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifndef GS2_H #define GS2_H #include #define GSASL_GS2_KRB5_NAME "GS2-KRB5" extern Gsasl_mechanism gsasl_gs2_krb5_mechanism; extern int _gsasl_gs2_client_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_gs2_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_gs2_client_finish (Gsasl_session * sctx, void *mech_data); extern int _gsasl_gs2_server_start (Gsasl_session * sctx, void **mech_data); extern int _gsasl_gs2_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len); extern void _gsasl_gs2_server_finish (Gsasl_session * sctx, void *mech_data); #endif /* GS2_H */ gsasl-1.8.1/lib/gs2/Makefile.am0000644000000000000000000000250513516252320013017 00000000000000## Process this file with automake to produce Makefile.in # Copyright (C) 2006-2019 Simon Josefsson. # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) AM_CFLAGS += $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl \ $(GSS_CFLAGS) noinst_LTLIBRARIES = libgsasl-gs2.la libgsasl_gs2_la_SOURCES = gs2.h mechinfo.c \ gs2helper.h gs2helper.c if CLIENT libgsasl_gs2_la_SOURCES += client.c endif if SERVER libgsasl_gs2_la_SOURCES += server.c endif libgsasl_gs2_la_LIBADD = $(LTLIBGSS) $(LTLIBGSSAPI32) $(GSS_LIBS) gsasl-1.8.1/lib/gs2/server.c0000644000000000000000000002023513516252320012435 00000000000000/* server.c --- SASL mechanism GS2, server side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "gs2.h" /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include #include "gss-extra.h" #include "gs2helper.h" #include "mechtools.h" struct _Gsasl_gs2_server_state { /* steps: 0 = first state, 1 = initial, 2 = processing, 3 = done */ int step; gss_name_t client; gss_cred_id_t cred; gss_ctx_id_t context; gss_OID mech_oid; struct gss_channel_bindings_struct cb; }; typedef struct _Gsasl_gs2_server_state _Gsasl_gs2_server_state; /* Populate state->cred with credential to use for connection. Return GSASL_OK on success or an error code. */ static int gs2_get_cred (Gsasl_session * sctx, _Gsasl_gs2_server_state * state) { OM_uint32 maj_stat, min_stat; gss_buffer_desc bufdesc; const char *service = gsasl_property_get (sctx, GSASL_SERVICE); const char *hostname = gsasl_property_get (sctx, GSASL_HOSTNAME); gss_name_t server; gss_OID_set_desc oid_set; gss_OID_set actual_mechs; int present; if (!service) return GSASL_NO_SERVICE; if (!hostname) return GSASL_NO_HOSTNAME; bufdesc.length = asprintf ((char **) &bufdesc.value, "%s@%s", service, hostname); if (bufdesc.length <= 0 || bufdesc.value == NULL) return GSASL_MALLOC_ERROR; maj_stat = gss_import_name (&min_stat, &bufdesc, GSS_C_NT_HOSTBASED_SERVICE, &server); free (bufdesc.value); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_IMPORT_NAME_ERROR; /* Attempt to get a credential for our mechanism. */ oid_set.count = 1; oid_set.elements = state->mech_oid; maj_stat = gss_acquire_cred (&min_stat, server, 0, &oid_set, GSS_C_ACCEPT, &state->cred, &actual_mechs, NULL); gss_release_name (&min_stat, &server); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_ACQUIRE_CRED_ERROR; /* Now double check that the credential actually was for our mechanism... */ maj_stat = gss_test_oid_set_member (&min_stat, state->mech_oid, actual_mechs, &present); if (GSS_ERROR (maj_stat)) { gss_release_oid_set (&min_stat, &actual_mechs); return GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR; } maj_stat = gss_release_oid_set (&min_stat, &actual_mechs); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_OID_SET_ERROR; if (!present) return GSASL_GSSAPI_ACQUIRE_CRED_ERROR; return GSASL_OK; } /* Initialize GS2 state into MECH_DATA. Return GSASL_OK if GS2 is ready and initialization succeeded, or an error code. */ int _gsasl_gs2_server_start (Gsasl_session * sctx, void **mech_data) { _Gsasl_gs2_server_state *state; int res; state = (_Gsasl_gs2_server_state *) malloc (sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; res = gs2_get_oid (sctx, &state->mech_oid); if (res != GSASL_OK) { free (state); return res; } res = gs2_get_cred (sctx, state); if (res != GSASL_OK) { free (state); return res; } state->step = 0; state->context = GSS_C_NO_CONTEXT; state->client = NULL; /* The initiator-address-type and acceptor-address-type fields of the GSS-CHANNEL-BINDINGS structure MUST be set to 0. The initiator-address and acceptor-address fields MUST be the empty string. */ state->cb.initiator_addrtype = 0; state->cb.initiator_address.length = 0; state->cb.initiator_address.value = NULL; state->cb.acceptor_addrtype = 0; state->cb.acceptor_address.length = 0; state->cb.acceptor_address.value = NULL; state->cb.application_data.length = 0; state->cb.application_data.value = NULL; *mech_data = state; return GSASL_OK; } /* Perform one GS2 step. GS2 state is in MECH_DATA. Any data from client is provided in INPUT/INPUT_LEN and output from server is expected to be put in newly allocated OUTPUT/OUTPUT_LEN. Return GSASL_NEEDS_MORE or GSASL_OK on success, or an error code. */ int _gsasl_gs2_server_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _Gsasl_gs2_server_state *state = mech_data; gss_buffer_desc bufdesc1, bufdesc2; OM_uint32 maj_stat, min_stat; gss_buffer_desc client_name; gss_OID mech_type; int res; OM_uint32 ret_flags; int free_bufdesc1 = 0; *output = NULL; *output_len = 0; bufdesc1.value = input; bufdesc1.length = input_len; switch (state->step) { case 0: if (input_len == 0) { res = GSASL_NEEDS_MORE; break; } state->step++; /* fall through */ case 1: { char *authzid; size_t headerlen; res = _gsasl_parse_gs2_header (input, input_len, &authzid, &headerlen); if (res != GSASL_OK) return res; if (authzid) { gsasl_property_set (sctx, GSASL_AUTHZID, authzid); free (authzid); } state->cb.application_data.value = input; state->cb.application_data.length = headerlen; bufdesc2.value = input + headerlen; bufdesc2.length = input_len - headerlen; maj_stat = gss_encapsulate_token (&bufdesc2, state->mech_oid, &bufdesc1); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR; free_bufdesc1 = 1; } state->step++; /* fall through */ case 2: if (state->client) { gss_release_name (&min_stat, &state->client); state->client = GSS_C_NO_NAME; } maj_stat = gss_accept_sec_context (&min_stat, &state->context, state->cred, &bufdesc1, &state->cb, &state->client, &mech_type, &bufdesc2, &ret_flags, NULL, NULL); if (maj_stat != GSS_S_COMPLETE && maj_stat != GSS_S_CONTINUE_NEEDED) return GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR; if (maj_stat == GSS_S_COMPLETE) { state->step++; if (!(ret_flags & GSS_C_MUTUAL_FLAG)) return GSASL_MECHANISM_PARSE_ERROR; maj_stat = gss_display_name (&min_stat, state->client, &client_name, &mech_type); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_DISPLAY_NAME_ERROR; gsasl_property_set_raw (sctx, GSASL_GSSAPI_DISPLAY_NAME, client_name.value, client_name.length); res = gsasl_callback (NULL, sctx, GSASL_VALIDATE_GSSAPI); } else res = GSASL_NEEDS_MORE; if (free_bufdesc1) { maj_stat = gss_release_buffer (&min_stat, &bufdesc1); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; } *output = malloc (bufdesc2.length); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, bufdesc2.value, bufdesc2.length); *output_len = bufdesc2.length; maj_stat = gss_release_buffer (&min_stat, &bufdesc2); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; break; default: res = GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; break; } return res; } /* Cleanup GS2 state context, i.e., release memory associated with buffers in MECH_DATA state. */ void _gsasl_gs2_server_finish (Gsasl_session * sctx, void *mech_data) { _Gsasl_gs2_server_state *state = mech_data; OM_uint32 min_stat; if (!state) return; if (state->context != GSS_C_NO_CONTEXT) gss_delete_sec_context (&min_stat, &state->context, GSS_C_NO_BUFFER); if (state->cred != GSS_C_NO_CREDENTIAL) gss_release_cred (&min_stat, &state->cred); if (state->client != GSS_C_NO_NAME) gss_release_name (&min_stat, &state->client); free (state); } gsasl-1.8.1/lib/gs2/gs2helper.c0000644000000000000000000000341113516252320013017 00000000000000/* gs2helper.c --- GS2 helper functions common to client and server. * Copyright (C) 2010-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get strcmp. */ #include /* Get malloc, free. */ #include /* Get specification. */ #include "gs2helper.h" /* Populate mech_oid with OID for the current SASL mechanism name. A bit silly given that we only support Kerberos V5 today, but will be useful when that changes. */ int gs2_get_oid (Gsasl_session * sctx, gss_OID * mech_oid) { gss_buffer_desc sasl_mech_name; OM_uint32 maj_stat, min_stat; sasl_mech_name.value = (void *) gsasl_mechanism_name (sctx); if (!sasl_mech_name.value) return GSASL_AUTHENTICATION_ERROR; sasl_mech_name.length = strlen (sasl_mech_name.value); maj_stat = gss_inquire_mech_for_saslname (&min_stat, &sasl_mech_name, mech_oid); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR; return GSASL_OK; } gsasl-1.8.1/lib/gs2/mechinfo.c0000644000000000000000000000303213516252320012713 00000000000000/* mechinfo.c --- Definition of GS2 mechanism. * Copyright (C) 2006-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "gs2.h" Gsasl_mechanism gsasl_gs2_krb5_mechanism = { GSASL_GS2_KRB5_NAME, { NULL, NULL, #ifdef USE_CLIENT _gsasl_gs2_client_start, #else NULL, #endif #ifdef USE_CLIENT _gsasl_gs2_client_step, #else NULL, #endif #ifdef USE_CLIENT _gsasl_gs2_client_finish, #else NULL, #endif NULL, NULL} , { NULL, NULL, #ifdef USE_SERVER _gsasl_gs2_server_start, #else NULL, #endif #ifdef USE_SERVER _gsasl_gs2_server_step, #else NULL, #endif #ifdef USE_SERVER _gsasl_gs2_server_finish, #else NULL, #endif NULL, NULL} }; gsasl-1.8.1/lib/gs2/Makefile.in0000644000000000000000000017246213521017117013041 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2006-2019 Simon Josefsson. # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ @CLIENT_TRUE@am__append_1 = client.c @SERVER_TRUE@am__append_2 = server.c subdir = gs2 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = libgsasl_gs2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__libgsasl_gs2_la_SOURCES_DIST = gs2.h mechinfo.c gs2helper.h \ gs2helper.c client.c server.c @CLIENT_TRUE@am__objects_1 = client.lo @SERVER_TRUE@am__objects_2 = server.lo am_libgsasl_gs2_la_OBJECTS = mechinfo.lo gs2helper.lo $(am__objects_1) \ $(am__objects_2) libgsasl_gs2_la_OBJECTS = $(am_libgsasl_gs2_la_OBJECTS) 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_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) depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client.Plo ./$(DEPDIR)/gs2helper.Plo \ ./$(DEPDIR)/mechinfo.Plo ./$(DEPDIR)/server.Plo 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 = $(libgsasl_gs2_la_SOURCES) DIST_SOURCES = $(am__libgsasl_gs2_la_SOURCES_DIST) 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS) \ $(CFLAG_VISIBILITY) AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl \ $(GSS_CFLAGS) noinst_LTLIBRARIES = libgsasl-gs2.la libgsasl_gs2_la_SOURCES = gs2.h mechinfo.c gs2helper.h gs2helper.c \ $(am__append_1) $(am__append_2) libgsasl_gs2_la_LIBADD = $(LTLIBGSS) $(LTLIBGSSAPI32) $(GSS_LIBS) 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 gs2/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu gs2/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): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgsasl-gs2.la: $(libgsasl_gs2_la_OBJECTS) $(libgsasl_gs2_la_DEPENDENCIES) $(EXTRA_libgsasl_gs2_la_DEPENDENCIES) $(AM_V_CCLD)$(LINK) $(libgsasl_gs2_la_OBJECTS) $(libgsasl_gs2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gs2helper.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mechinfo.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Plo@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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $(LTLIBRARIES) installdirs: 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-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/client.Plo -rm -f ./$(DEPDIR)/gs2helper.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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-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)/client.Plo -rm -f ./$(DEPDIR)/gs2helper.Plo -rm -f ./$(DEPDIR)/mechinfo.Plo -rm -f ./$(DEPDIR)/server.Plo -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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool clean-noinstLTLIBRARIES \ 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/gs2/client.c0000644000000000000000000002153513516252320012411 00000000000000/* client.c --- SASL mechanism GS2, client side. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * GNU SASL Library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GNU SASL Library; if not, write to the Free * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* Get specification. */ #include "gs2.h" /* Get malloc, free. */ #include /* Get memcpy, strlen. */ #include #include "gss-extra.h" #include "gs2helper.h" struct _gsasl_gs2_client_state { /* steps: 0 = initial, 1 = first token, 2 = looping, 3 = done */ int step; gss_name_t service; gss_ctx_id_t context; gss_OID mech_oid; gss_buffer_desc token; struct gss_channel_bindings_struct cb; }; typedef struct _gsasl_gs2_client_state _gsasl_gs2_client_state; /* Initialize GS2 state into MECH_DATA. Return GSASL_OK if GS2 is ready and initialization succeeded, or an error code. */ int _gsasl_gs2_client_start (Gsasl_session * sctx, void **mech_data) { _gsasl_gs2_client_state *state; int res; state = (_gsasl_gs2_client_state *) malloc (sizeof (*state)); if (state == NULL) return GSASL_MALLOC_ERROR; res = gs2_get_oid (sctx, &state->mech_oid); if (res != GSASL_OK) { free (state); return res; } state->step = 0; state->service = GSS_C_NO_NAME; state->context = GSS_C_NO_CONTEXT; state->token.length = 0; state->token.value = NULL; /* The initiator-address-type and acceptor-address-type fields of the GSS-CHANNEL-BINDINGS structure MUST be set to 0. The initiator-address and acceptor-address fields MUST be the empty string. */ state->cb.initiator_addrtype = 0; state->cb.initiator_address.length = 0; state->cb.initiator_address.value = NULL; state->cb.acceptor_addrtype = 0; state->cb.acceptor_address.length = 0; state->cb.acceptor_address.value = NULL; state->cb.application_data.length = 0; state->cb.application_data.value = NULL; *mech_data = state; return GSASL_OK; } /* Return newly allocated copy of STR with all occurrences of ',' replaced with =2C and '=' with '=3D', or return NULL on memory allocation errors. */ static char * escape_authzid (const char *str) { char *out = malloc (strlen (str) * 3 + 1); char *p = out; if (!out) return NULL; while (*str) { if (*str == ',') { memcpy (p, "=2C", 3); p += 3; } else if (*str == '=') { memcpy (p, "=3D", 3); p += 3; } else { *p = *str; p++; } str++; } *p = '\0'; return out; } /* Get service, hostname and authorization identity from application, import the GSS-API name, and initialize the channel binding data. Return GSASL_OK on success or an error code. */ static int prepare (Gsasl_session * sctx, _gsasl_gs2_client_state * state) { const char *service = gsasl_property_get (sctx, GSASL_SERVICE); const char *hostname = gsasl_property_get (sctx, GSASL_HOSTNAME); const char *authzid = gsasl_property_get (sctx, GSASL_AUTHZID); gss_buffer_desc bufdesc; OM_uint32 maj_stat, min_stat; if (!service) return GSASL_NO_SERVICE; if (!hostname) return GSASL_NO_HOSTNAME; bufdesc.length = asprintf ((char **) &bufdesc.value, "%s@%s", service, hostname); if (bufdesc.length <= 0 || bufdesc.value == NULL) return GSASL_MALLOC_ERROR; maj_stat = gss_import_name (&min_stat, &bufdesc, GSS_C_NT_HOSTBASED_SERVICE, &state->service); free (bufdesc.value); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_IMPORT_NAME_ERROR; if (authzid) { char *escaped_authzid = escape_authzid (authzid); if (!escaped_authzid) return GSASL_MALLOC_ERROR; state->cb.application_data.length = asprintf ((char **) &state->cb.application_data.value, "n,a=%s,", escaped_authzid); free (escaped_authzid); } else { state->cb.application_data.value = strdup ("n,,"); state->cb.application_data.length = 3; } if (state->cb.application_data.length <= 0 || state->cb.application_data.value == NULL) return GSASL_MALLOC_ERROR; return GSASL_OK; } /* Copy token to output buffer. On first round trip, strip context token header and add channel binding data. For later round trips, just copy the buffer. Return GSASL_OK on success or an error code. */ static int token2output (Gsasl_session * sctx, _gsasl_gs2_client_state * state, const gss_buffer_t token, char **output, size_t * output_len) { OM_uint32 maj_stat, min_stat; gss_buffer_desc bufdesc; if (state->step == 1) { state->step++; maj_stat = gss_decapsulate_token (token, state->mech_oid, &bufdesc); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR; *output_len = state->cb.application_data.length + bufdesc.length; *output = malloc (*output_len); if (!*output) { gss_release_buffer (&min_stat, &bufdesc); return GSASL_MALLOC_ERROR; } memcpy (*output, state->cb.application_data.value, state->cb.application_data.length); memcpy (*output + state->cb.application_data.length, bufdesc.value, bufdesc.length); maj_stat = gss_release_buffer (&min_stat, &bufdesc); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; } else { *output_len = token->length; *output = malloc (*output_len); if (!*output) return GSASL_MALLOC_ERROR; memcpy (*output, token->value, token->length); } return GSASL_OK; } /* Perform one GS2 step. GS2 state is in MECH_DATA. Any data from server is provided in INPUT/INPUT_LEN and output from client is expected to be put in newly allocated OUTPUT/OUTPUT_LEN. Return GSASL_NEEDS_MORE or GSASL_OK on success, or an error code. */ int _gsasl_gs2_client_step (Gsasl_session * sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t * output_len) { _gsasl_gs2_client_state *state = mech_data; gss_buffer_desc bufdesc; gss_buffer_t buf = GSS_C_NO_BUFFER; OM_uint32 maj_stat, min_stat, ret_flags; gss_OID actual_mech_type; int res; if (state->step > 2) return GSASL_MECHANISM_CALLED_TOO_MANY_TIMES; if (state->step == 0) { res = prepare (sctx, state); if (res != GSASL_OK) return res; state->step++; } if (state->step == 2) { bufdesc.length = input_len; bufdesc.value = (void *) input; buf = &bufdesc; } /* First release memory for token from last round-trip, if any. */ if (state->token.value != NULL) { maj_stat = gss_release_buffer (&min_stat, &state->token); if (GSS_ERROR (maj_stat)) return GSASL_GSSAPI_RELEASE_BUFFER_ERROR; state->token.value = NULL; state->token.length = 0; } maj_stat = gss_init_sec_context (&min_stat, GSS_C_NO_CREDENTIAL, &state->context, state->service, state->mech_oid, GSS_C_MUTUAL_FLAG, 0, &state->cb, buf, &actual_mech_type, &state->token, &ret_flags, NULL); if (maj_stat != GSS_S_COMPLETE && maj_stat != GSS_S_CONTINUE_NEEDED) return GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR; res = token2output (sctx, state, &state->token, output, output_len); if (res != GSASL_OK) return res; if (maj_stat == GSS_S_CONTINUE_NEEDED) return GSASL_NEEDS_MORE; /* The GSS-API layer is done here, check that we established a valid security context for GS2 purposes. */ if (!(ret_flags & GSS_C_MUTUAL_FLAG)) return GSASL_AUTHENTICATION_ERROR; if (!gss_oid_equal (state->mech_oid, actual_mech_type)) return GSASL_AUTHENTICATION_ERROR; state->step++; return GSASL_OK; } /* Cleanup GS2 state context, i.e., release memory associated with buffers in MECH_DATA state. */ void _gsasl_gs2_client_finish (Gsasl_session * sctx, void *mech_data) { _gsasl_gs2_client_state *state = mech_data; OM_uint32 maj_stat, min_stat; if (!state) return; if (state->token.value != NULL) maj_stat = gss_release_buffer (&min_stat, &state->token); if (state->service != GSS_C_NO_NAME) maj_stat = gss_release_name (&min_stat, &state->service); if (state->context != GSS_C_NO_CONTEXT) maj_stat = gss_delete_sec_context (&min_stat, &state->context, GSS_C_NO_BUFFER); free (state->cb.application_data.value); free (state); } gsasl-1.8.1/lib/win32/0000755000000000000000000000000013521017724011313 500000000000000gsasl-1.8.1/lib/win32/libgsasl.vcproj0000644000000000000000000005704512222241125014262 00000000000000 gsasl-1.8.1/lib/win32/libgsasl.sln0000664000000000000000000000156011746471770013571 00000000000000 Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libgsasl", "libgsasl.vcproj", "{0B883079-812A-405E-AC8F-59F47CE9A3FF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Debug|Win32.ActiveCfg = Debug|Win32 {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Debug|Win32.Build.0 = Debug|Win32 {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Release|Win32.ActiveCfg = Release|Win32 {0B883079-812A-405E-AC8F-59F47CE9A3FF}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal gsasl-1.8.1/lib/win32/include/0000755000000000000000000000000013521017724012736 500000000000000gsasl-1.8.1/lib/win32/include/idn-int.h0000664000000000000000000000002711746471770014406 00000000000000#include "ac-stdint.h" gsasl-1.8.1/lib/win32/include/unistd.h0000664000000000000000000000011111746471770014344 00000000000000/* Dummy file to satisfy source file dependencies on Windows platform */ gsasl-1.8.1/lib/win32/include/stdbool.h0000664000000000000000000000032211746471770014510 00000000000000#ifndef _STDBOOL_H #define _STDBOOL_H #define _Bool signed char enum { false = 0, true = 1 }; #define bool _Bool #define false 0 #define true 1 #define __bool_true_false_are_defined 1 #endif /* _STDBOOL_H */ gsasl-1.8.1/lib/win32/include/stdint.h0000664000000000000000000000002711746471770014351 00000000000000#include "ac-stdint.h" gsasl-1.8.1/lib/win32/include/alloca.h0000664000000000000000000000354513516252321014271 00000000000000/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Memory allocation on the stack. Copyright (C) 1995, 1999, 2001-2004, 2006-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, 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 Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H means there is a real alloca function. */ #ifndef _GL_ALLOCA_H #define _GL_ALLOCA_H /* alloca (N) returns a pointer to N bytes of memory allocated on the stack, which will last until the function returns. Use of alloca should be avoided: - inside arguments of function calls - undefined behaviour, - in inline functions - the allocation may actually last until the calling function returns, - for huge N (say, N >= 65536) - you never know how large (or small) the stack is, and when the stack cannot fulfill the memory allocation request, the program just crashes. */ #ifndef alloca # ifdef __GNUC__ # define alloca __builtin_alloca # elif defined _AIX # define alloca __alloca # elif defined _MSC_VER # include # define alloca _alloca # else # include # ifdef __cplusplus extern "C" # endif void *alloca (size_t); # endif #endif #endif /* _GL_ALLOCA_H */ gsasl-1.8.1/lib/win32/include/config.h0000644000000000000000000000325612222241125014271 00000000000000#ifndef _CONFIG_H #define _CONFIG_H #define strcasecmp stricmp #define strncasecmp strnicmp #define PACKAGE "libgsasl" #define LOCALEDIR "." #if _MSC_VER && !__cplusplus # define inline __inline #endif #define EOVERFLOW E2BIG #define GNULIB_GC_HMAC_MD5 1 #define GNULIB_GC_MD5 1 #define GNULIB_GC_RANDOM 1 #define GNULIB_GC_SHA1 1 #define GNULIB_GC_HMAC_SHA1 1 #define HAVE_ALLOCA 1 #define HAVE_DECL_GETDELIM 0 #define HAVE_DECL_GETLINE 0 #define HAVE_DECL_STRDUP 1 #define HAVE_DECL__SNPRINTF 1 #define HAVE_FLOAT_H 1 #define HAVE_INCLUDE_NEXT 1 #define HAVE_INTMAX_T 1 #define HAVE_INTTYPES_H 1 #define HAVE_INTTYPES_H_WITH_UINTMAX 1 #define HAVE_LONG_LONG_INT 1 #define HAVE_MEMORY_H 1 #define HAVE_SNPRINTF 1 #define HAVE_STDBOOL_H 1 // #define HAVE_STDINT_H 1 #define HAVE_STDINT_H_WITH_UINTMAX 1 #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRDUP 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNSIGNED_LONG_LONG_INT 1 #define HAVE_WCHAR_H 1 #define HAVE_WCHAR_T 1 #define HAVE_WCSLEN 1 #define HAVE_WINT_T 1 #define HAVE__BOOL 1 #define NAME_OF_NONCE_DEVICE "/dev/urandom" #define NAME_OF_PSEUDO_RANDOM_DEVICE "/dev/urandom" #define NAME_OF_RANDOM_DEVICE "/dev/random" #define STDC_HEADERS 1 #define USE_ANONYMOUS 1 #define USE_CLIENT 1 #define USE_CRAM_MD5 1 #define USE_DIGEST_MD5 1 #define USE_EXTERNAL 1 #define USE_LOGIN 1 #define USE_PLAIN 1 #define USE_SECURID 1 #define USE_SERVER 1 #define USE_SCRAM_SHA1 1 #define GSASL_NO_OBSOLETE 1 #define restrict #define __attribute__(x) #ifndef _AC_STDINT_H #include #include "ac-stdint.h" #endif #endif /* _CONFIG_H */ gsasl-1.8.1/lib/win32/include/ac-stdint.h0000664000000000000000000000075511746471770014742 00000000000000#ifndef _AC_STDINT_H #define _AC_STDINT_H 1 #ifndef _GENERATED_STDINT_H #define _GENERATED_STDINT_H #define uint8_t unsigned char #define uint16_t unsigned short #define uint32_t unsigned int #define int8_t signed char #define int16_t signed short #define int32_t signed int #define gint16 int16_t #ifdef _WIN64 typedef __int64 ssize_t; #else typedef _W64 int ssize_t; #endif typedef long long intmax_t; typedef unsigned long long uintmax_t; #endif #endif gsasl-1.8.1/lib/Makefile.in0000644000000000000000000021677613521017116012354 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. 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@ # Plugins: @EXTERNAL_TRUE@am__append_1 = external @ANONYMOUS_TRUE@am__append_2 = anonymous @PLAIN_TRUE@am__append_3 = plain @LOGIN_TRUE@am__append_4 = login @CRAM_MD5_TRUE@am__append_5 = cram-md5 @DIGEST_MD5_TRUE@am__append_6 = digest-md5 @SCRAM_TRUE@am__append_7 = scram @SAML20_TRUE@am__append_8 = saml20 @OPENID20_TRUE@am__append_9 = openid20 @NTLM_TRUE@am__append_10 = ntlm @GSSAPI_TRUE@am__append_11 = gssapi @GS2_TRUE@am__append_12 = gs2 @SECURID_TRUE@am__append_13 = securid @KERBEROS_V5_TRUE@am__append_14 = kerberos_v5 subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/builtin-expect.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/ctype.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fflush.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fpurge.m4 $(top_srcdir)/m4/freading.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/ftruncate.m4 \ $(top_srcdir)/m4/gc-hmac-md5.m4 \ $(top_srcdir)/m4/gc-hmac-sha1.m4 $(top_srcdir)/m4/gc-md5.m4 \ $(top_srcdir)/m4/gc-random.m4 $(top_srcdir)/m4/gc-sha1.m4 \ $(top_srcdir)/m4/gc.m4 $(top_srcdir)/m4/getcwd.m4 \ $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getline.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getrusage.m4 $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gettimeofday.m4 \ $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gss-extra.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/ioctl.m4 \ $(top_srcdir)/m4/isblank.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/ld-output-def.m4 \ $(top_srcdir)/m4/ld-version-script.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/limits-h.m4 \ $(top_srcdir)/m4/localtime-buffer.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \ $(top_srcdir)/m4/lstat.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/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/md5.m4 \ $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/memmem.m4 \ $(top_srcdir)/m4/memxor.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perror.m4 \ $(top_srcdir)/m4/pipe.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/select.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/socketlib.m4 $(top_srcdir)/m4/sockets.m4 \ $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/sockpfaf.m4 \ $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat-time.m4 \ $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/std-gnu11.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdbool.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \ $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strverscmp.m4 $(top_srcdir)/m4/symlink.m4 \ $(top_srcdir)/m4/sys_ioctl_h.m4 \ $(top_srcdir)/m4/sys_resource_h.m4 \ $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/update-header-version.m4 \ $(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ $(top_srcdir)/m4/yield.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 = config.h CONFIG_CLEAN_FILES = libgsasl.pc 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)$(pkgconfigdir)" 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)config.h.in # 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)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = po gl external anonymous plain login cram-md5 \ digest-md5 scram saml20 openid20 ntlm gssapi gs2 securid \ kerberos_v5 src tests gltests am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libgsasl.pc.in $(top_srcdir)/build-aux/ar-lib \ $(top_srcdir)/build-aux/config.guess \ $(top_srcdir)/build-aux/config.rpath \ $(top_srcdir)/build-aux/config.sub \ $(top_srcdir)/build-aux/install-sh \ $(top_srcdir)/build-aux/ltmain.sh \ $(top_srcdir)/build-aux/missing ABOUT-NLS AUTHORS COPYING \ COPYING.LIB ChangeLog INSTALL NEWS README THANKS \ build-aux/ar-lib build-aux/config.guess build-aux/config.rpath \ build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh \ build-aux/missing 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 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@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLL_VERSION = @DLL_VERSION@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETRUSAGE = @GNULIB_GETRUSAGE@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_IOCTL = @GNULIB_IOCTL@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GSS_CFLAGS = @GSS_CFLAGS@ GSS_LIBS = @GSS_LIBS@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETRUSAGE = @HAVE_GETRUSAGE@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGCRYPT = @HAVE_LIBGCRYPT@ HAVE_LIBGSS = @HAVE_LIBGSS@ HAVE_LIBGSSAPI32 = @HAVE_LIBGSSAPI32@ HAVE_LIBIDN = @HAVE_LIBIDN@ HAVE_LIBNTLM = @HAVE_LIBNTLM@ HAVE_LIBSHISHI = @HAVE_LIBSHISHI@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_IOCTL_H = @HAVE_SYS_IOCTL_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RESOURCE_H = @HAVE_SYS_RESOURCE_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KRB5_CONFIG = @KRB5_CONFIG@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGCRYPT = @LIBGCRYPT@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBGCRYPT_PREFIX = @LIBGCRYPT_PREFIX@ LIBGSS = @LIBGSS@ LIBGSSAPI32 = @LIBGSSAPI32@ LIBGSSAPI32_PREFIX = @LIBGSSAPI32_PREFIX@ LIBGSS_PREFIX = @LIBGSS_PREFIX@ LIBICONV = @LIBICONV@ LIBIDN = @LIBIDN@ LIBIDN_PREFIX = @LIBIDN_PREFIX@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBNTLM = @LIBNTLM@ LIBNTLM_PREFIX = @LIBNTLM_PREFIX@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSHISHI = @LIBSHISHI@ LIBSHISHI_PREFIX = @LIBSHISHI_PREFIX@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBGCRYPT = @LTLIBGCRYPT@ LTLIBGSS = @LTLIBGSS@ LTLIBGSSAPI32 = @LTLIBGSSAPI32@ LTLIBICONV = @LTLIBICONV@ LTLIBIDN = @LTLIBIDN@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBNTLM = @LTLIBNTLM@ LTLIBOBJS = @LTLIBOBJS@ LTLIBSHISHI = @LTLIBSHISHI@ LTLIBTHREAD = @LTLIBTHREAD@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RESOURCE_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_IOCTL_H = @NEXT_SYS_IOCTL_H@ NEXT_SYS_RESOURCE_H = @NEXT_SYS_RESOURCE_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ 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@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_IOCTL = @REPLACE_IOCTL@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ 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@ ACLOCAL_AMFLAGS = -I m4 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libgsasl.pc # Visual Studio project files. EXTRA_DIST = cfg.mk maint.mk win32/libgsasl.sln win32/libgsasl.vcproj \ win32/include/ac-stdint.h win32/include/alloca.h \ win32/include/idn-int.h win32/include/stdbool.h \ win32/include/stdint.h win32/include/unistd.h \ win32/include/config.h SUBDIRS = po gl $(am__append_1) $(am__append_2) $(am__append_3) \ $(am__append_4) $(am__append_5) $(am__append_6) \ $(am__append_7) $(am__append_8) $(am__append_9) \ $(am__append_10) $(am__append_11) $(am__append_12) \ $(am__append_13) $(am__append_14) src tests gltests all: config.h $(MAKE) $(AM_MAKEFLAGS) 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) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu 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): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 libgsasl.pc: $(top_builddir)/config.status $(srcdir)/libgsasl.pc.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-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 -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-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 ;;\ 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) dvi \ && $(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) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(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-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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-pkgconfigDATA .MAKE: $(am__recursive_targets) all 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-lzip dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-libtool distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install 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-am uninstall-pkgconfigDATA .PRECIOUS: Makefile # 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: gsasl-1.8.1/lib/aclocal.m40000644000000000000000000014644113521017113012133 00000000000000# generated automatically by aclocal 1.16.1 -*- Autoconf -*- # Copyright (C) 1996-2018 Free Software Foundation, Inc. # 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. # 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. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # libgcrypt.m4 - Autoconf macros to detect libgcrypt # Copyright (C) 2002, 2003, 2004, 2011, 2014 g10 Code GmbH # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This file 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. # # Last-changed: 2014-10-02 dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION, dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS. dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed dnl with the API version to also check the API compatibility. Example: dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using dnl this features allows to prevent build against newer versions of libgcrypt dnl with a changed API. dnl dnl If a prefix option is not used, the config script is first dnl searched in $SYSROOT/bin and then along $PATH. If the used dnl config script does not match the host specification the script dnl is added to the gpg_config_script_warn variable. dnl AC_DEFUN([AM_PATH_LIBGCRYPT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_ARG_WITH(libgcrypt-prefix, AC_HELP_STRING([--with-libgcrypt-prefix=PFX], [prefix where LIBGCRYPT is installed (optional)]), libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="") if test x"${LIBGCRYPT_CONFIG}" = x ; then if test x"${libgcrypt_config_prefix}" != x ; then LIBGCRYPT_CONFIG="${libgcrypt_config_prefix}/bin/libgcrypt-config" else case "${SYSROOT}" in /*) if test -x "${SYSROOT}/bin/libgcrypt-config" ; then LIBGCRYPT_CONFIG="${SYSROOT}/bin/libgcrypt-config" fi ;; '') ;; *) AC_MSG_WARN([Ignoring \$SYSROOT as it is not an absolute path.]) ;; esac fi fi AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no) tmp=ifelse([$1], ,1:1.2.0,$1) if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'` else req_libgcrypt_api=0 min_libgcrypt_version="$tmp" fi AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version) ok=no if test "$LIBGCRYPT_CONFIG" != "no" ; then req_major=`echo $min_libgcrypt_version | \ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` req_minor=`echo $min_libgcrypt_version | \ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'` req_micro=`echo $min_libgcrypt_version | \ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'` libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version` major=`echo $libgcrypt_config_version | \ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` minor=`echo $libgcrypt_config_version | \ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` micro=`echo $libgcrypt_config_version | \ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'` if test "$major" -gt "$req_major"; then ok=yes else if test "$major" -eq "$req_major"; then if test "$minor" -gt "$req_minor"; then ok=yes else if test "$minor" -eq "$req_minor"; then if test "$micro" -ge "$req_micro"; then ok=yes fi fi fi fi fi fi if test $ok = yes; then AC_MSG_RESULT([yes ($libgcrypt_config_version)]) else AC_MSG_RESULT(no) fi if test $ok = yes; then # If we have a recent libgcrypt, we should also check that the # API is compatible if test "$req_libgcrypt_api" -gt 0 ; then tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0` if test "$tmp" -gt 0 ; then AC_MSG_CHECKING([LIBGCRYPT API version]) if test "$req_libgcrypt_api" -eq "$tmp" ; then AC_MSG_RESULT([okay]) else ok=no AC_MSG_RESULT([does not match. want=$req_libgcrypt_api got=$tmp]) fi fi fi fi if test $ok = yes; then LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs` ifelse([$2], , :, [$2]) libgcrypt_config_host=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none` if test x"$libgcrypt_config_host" != xnone ; then if test x"$libgcrypt_config_host" != x"$host" ; then AC_MSG_WARN([[ *** *** The config script $LIBGCRYPT_CONFIG was *** built for $libgcrypt_config_host and thus may not match the *** used host $host. *** You may want to use the configure option --with-libgcrypt-prefix *** to specify a matching config script or use \$SYSROOT. ***]]) gpg_config_script_warn="$gpg_config_script_warn libgcrypt" fi fi else LIBGCRYPT_CFLAGS="" LIBGCRYPT_LIBS="" ifelse([$3], , :, [$3]) fi AC_SUBST(LIBGCRYPT_CFLAGS) AC_SUBST(LIBGCRYPT_LIBS) ]) # Copyright (C) 2002-2018 Free Software Foundation, Inc. # # 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. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.16.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # Copyright (C) 2011-2018 Free Software Foundation, Inc. # # 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. # AM_PROG_AR([ACT-IF-FAIL]) # ------------------------- # Try to determine the archiver interface, and trigger the ar-lib wrapper # if it is needed. If the detection of archiver interface fails, run # ACT-IF-FAIL (default is to abort configure with a proper error message). AC_DEFUN([AM_PROG_AR], [AC_BEFORE([$0], [LT_INIT])dnl AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([ar-lib])dnl AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) : ${AR=ar} AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], [AC_LANG_PUSH([C]) am_cv_ar_interface=ar AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a ]) AC_LANG_POP([C])]) case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) m4_default([$1], [AC_MSG_ERROR([could not determine $AR interface])]) ;; esac AC_SUBST([AR])dnl ]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2018 Free Software Foundation, Inc. # # 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. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2018 Free Software Foundation, Inc. # # 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. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2018 Free Software Foundation, Inc. # # 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. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. AS_CASE([$CONFIG_FILES], [*\'*], [eval set x "$CONFIG_FILES"], [*], [set x $CONFIG_FILES]) shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`AS_DIRNAME(["$am_mf"])` am_filepart=`AS_BASENAME(["$am_mf"])` AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) || am_rc=$? done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi AS_UNSET([am_dirpart]) AS_UNSET([am_filepart]) AS_UNSET([am_mf]) AS_UNSET([am_rc]) rm -f conftest-deps.mk } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking is enabled. # This creates each '.Po' and '.Plo' makefile fragment that we'll need in # order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2018 Free Software Foundation, Inc. # # 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. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2018 Free Software Foundation, Inc. # # 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. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_MAKE_INCLUDE() # ----------------- # Check whether make has an 'include' directive that can support all # the idioms we need for our automatic dependency tracking code. AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) AS_CASE([$?:`cat confinc.out 2>/dev/null`], ['0:this is the am__doit target'], [AS_CASE([$s], [BSD], [am__include='.include' am__quote='"'], [am__include='include' am__quote=''])]) if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* AC_MSG_RESULT([${_am_result}]) AC_SUBST([am__include])]) AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2018 Free Software Foundation, Inc. # # 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. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2018 Free Software Foundation, Inc. # # 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. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2018 Free Software Foundation, Inc. # # 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. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2018 Free Software Foundation, Inc. # # 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. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2018 Free Software Foundation, Inc. # # 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. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/00gnulib.m4]) m4_include([m4/__inline.m4]) m4_include([m4/absolute-header.m4]) m4_include([m4/af_alg.m4]) m4_include([m4/alloca.m4]) m4_include([m4/arpa_inet_h.m4]) m4_include([m4/base64.m4]) m4_include([m4/builtin-expect.m4]) m4_include([m4/byteswap.m4]) m4_include([m4/close.m4]) m4_include([m4/ctype.m4]) m4_include([m4/dup2.m4]) m4_include([m4/eealloc.m4]) m4_include([m4/environ.m4]) m4_include([m4/errno_h.m4]) m4_include([m4/exponentd.m4]) m4_include([m4/extensions.m4]) m4_include([m4/extern-inline.m4]) m4_include([m4/fcntl-o.m4]) m4_include([m4/fcntl.m4]) m4_include([m4/fcntl_h.m4]) m4_include([m4/fdopen.m4]) m4_include([m4/fflush.m4]) m4_include([m4/float_h.m4]) m4_include([m4/fpieee.m4]) m4_include([m4/fpurge.m4]) m4_include([m4/freading.m4]) m4_include([m4/fseek.m4]) m4_include([m4/fseeko.m4]) m4_include([m4/fstat.m4]) m4_include([m4/ftell.m4]) m4_include([m4/ftello.m4]) m4_include([m4/ftruncate.m4]) m4_include([m4/gc-hmac-md5.m4]) m4_include([m4/gc-hmac-sha1.m4]) m4_include([m4/gc-md5.m4]) m4_include([m4/gc-random.m4]) m4_include([m4/gc-sha1.m4]) m4_include([m4/gc.m4]) m4_include([m4/getcwd.m4]) m4_include([m4/getdelim.m4]) m4_include([m4/getdtablesize.m4]) m4_include([m4/getline.m4]) m4_include([m4/getpagesize.m4]) m4_include([m4/getrusage.m4]) m4_include([m4/gettext.m4]) m4_include([m4/gettimeofday.m4]) m4_include([m4/gl-openssl.m4]) m4_include([m4/gnulib-common.m4]) m4_include([m4/gnulib-comp.m4]) m4_include([m4/gss-extra.m4]) m4_include([m4/host-cpu-c-abi.m4]) m4_include([m4/iconv.m4]) m4_include([m4/include_next.m4]) m4_include([m4/inet_pton.m4]) m4_include([m4/intlmacosx.m4]) m4_include([m4/intmax_t.m4]) m4_include([m4/inttypes-pri.m4]) m4_include([m4/inttypes.m4]) m4_include([m4/inttypes_h.m4]) m4_include([m4/ioctl.m4]) m4_include([m4/isblank.m4]) m4_include([m4/largefile.m4]) m4_include([m4/ld-output-def.m4]) m4_include([m4/ld-version-script.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/libtool.m4]) m4_include([m4/limits-h.m4]) m4_include([m4/localtime-buffer.m4]) m4_include([m4/lock.m4]) m4_include([m4/longlong.m4]) m4_include([m4/lseek.m4]) m4_include([m4/lstat.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) m4_include([m4/lt~obsolete.m4]) m4_include([m4/malloc.m4]) m4_include([m4/malloca.m4]) m4_include([m4/md5.m4]) m4_include([m4/memchr.m4]) m4_include([m4/memmem.m4]) m4_include([m4/memxor.m4]) m4_include([m4/minmax.m4]) m4_include([m4/mmap-anon.m4]) m4_include([m4/mode_t.m4]) m4_include([m4/msvc-inval.m4]) m4_include([m4/msvc-nothrow.m4]) m4_include([m4/multiarch.m4]) m4_include([m4/nanosleep.m4]) m4_include([m4/netinet_in_h.m4]) m4_include([m4/nls.m4]) m4_include([m4/off_t.m4]) m4_include([m4/open-cloexec.m4]) m4_include([m4/open.m4]) m4_include([m4/pathmax.m4]) m4_include([m4/perror.m4]) m4_include([m4/pipe.m4]) m4_include([m4/po.m4]) m4_include([m4/printf.m4]) m4_include([m4/progtest.m4]) m4_include([m4/pthread-thread.m4]) m4_include([m4/pthread_h.m4]) m4_include([m4/pthread_rwlock_rdlock.m4]) m4_include([m4/pthread_sigmask.m4]) m4_include([m4/putenv.m4]) m4_include([m4/raise.m4]) m4_include([m4/sched_h.m4]) m4_include([m4/select.m4]) m4_include([m4/setenv.m4]) m4_include([m4/sha1.m4]) m4_include([m4/sigaction.m4]) m4_include([m4/signal_h.m4]) m4_include([m4/signalblocking.m4]) m4_include([m4/size_max.m4]) m4_include([m4/sleep.m4]) m4_include([m4/socketlib.m4]) m4_include([m4/sockets.m4]) m4_include([m4/socklen.m4]) m4_include([m4/sockpfaf.m4]) m4_include([m4/ssize_t.m4]) m4_include([m4/stat-time.m4]) m4_include([m4/stat.m4]) m4_include([m4/std-gnu11.m4]) m4_include([m4/stdalign.m4]) m4_include([m4/stdbool.m4]) m4_include([m4/stddef_h.m4]) m4_include([m4/stdint.m4]) m4_include([m4/stdint_h.m4]) m4_include([m4/stdio_h.m4]) m4_include([m4/stdlib_h.m4]) m4_include([m4/strerror.m4]) m4_include([m4/strerror_r.m4]) m4_include([m4/string_h.m4]) m4_include([m4/strndup.m4]) m4_include([m4/strnlen.m4]) m4_include([m4/strverscmp.m4]) m4_include([m4/symlink.m4]) m4_include([m4/sys_ioctl_h.m4]) m4_include([m4/sys_resource_h.m4]) m4_include([m4/sys_select_h.m4]) m4_include([m4/sys_socket_h.m4]) m4_include([m4/sys_stat_h.m4]) m4_include([m4/sys_time_h.m4]) m4_include([m4/sys_types_h.m4]) m4_include([m4/sys_uio_h.m4]) m4_include([m4/thread.m4]) m4_include([m4/threadlib.m4]) m4_include([m4/time_h.m4]) m4_include([m4/ungetc.m4]) m4_include([m4/unistd_h.m4]) m4_include([m4/update-header-version.m4]) m4_include([m4/usleep.m4]) m4_include([m4/valgrind-tests.m4]) m4_include([m4/vasnprintf.m4]) m4_include([m4/vasprintf.m4]) m4_include([m4/visibility.m4]) m4_include([m4/warn-on-use.m4]) m4_include([m4/wchar_h.m4]) m4_include([m4/wchar_t.m4]) m4_include([m4/wint_t.m4]) m4_include([m4/xsize.m4]) m4_include([m4/yield.m4]) gsasl-1.8.1/lib/configure.ac0000644000000000000000000003400413516322625012563 00000000000000dnl Process this file with autoconf to produce a configure script. # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL Library. # # GNU SASL Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # # GNU SASL Library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with GNU SASL Library; if not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. AC_PREREQ(2.63) AC_INIT([libgsasl], [1.8.1], [bug-gsasl@gnu.org]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) # Library code modified: REVISION++ # Interfaces changed/added/removed: CURRENT++ REVISION=0 # Interfaces added: AGE++ # Interfaces removed: AGE=0 AC_SUBST(LT_CURRENT, 16) AC_SUBST(LT_REVISION, 7) AC_SUBST(LT_AGE, 9) # Used when creating libgsasl-XX.def. DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}` AC_SUBST(DLL_VERSION) AM_INIT_AUTOMAKE([1.10 -Wall]) AM_SILENT_RULES([yes]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC gl_EARLY m4_pattern_allow([AM_PROG_AR]) AM_PROG_AR AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL # Internationalization. AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.2]) # ANONYMOUS AC_ARG_ENABLE(anonymous, AS_HELP_STRING([--disable-anonymous], [don't use the ANONYMOUS mechanism]), anonymous=$enableval) if test "$anonymous" != "no" ; then anonymous=yes AC_DEFINE(USE_ANONYMOUS, 1, [Define to 1 if you want ANONYMOUS.]) fi AC_MSG_CHECKING([if ANONYMOUS should be used]) AC_MSG_RESULT($anonymous) AM_CONDITIONAL(ANONYMOUS, test x$anonymous = xyes) # EXTERNAL AC_ARG_ENABLE(external, AS_HELP_STRING([--disable-external], [don't use the EXTERNAL mechanism]), external=$enableval) if test "$external" != "no" ; then external=yes AC_DEFINE(USE_EXTERNAL, 1, [Define to 1 if you want EXTERNAL.]) fi AC_MSG_CHECKING([if EXTERNAL should be used]) AC_MSG_RESULT($external) AM_CONDITIONAL(EXTERNAL, test x$external = xyes) # PLAIN AC_ARG_ENABLE(plain, AS_HELP_STRING([--disable-plain], [don't use the PLAIN mechanism]), plain=$enableval) if test "$plain" != "no" ; then plain=yes AC_DEFINE(USE_PLAIN, 1, [Define to 1 if you want PLAIN.]) fi AC_MSG_CHECKING([if PLAIN should be used]) AC_MSG_RESULT($plain) AM_CONDITIONAL(PLAIN, test x$plain = xyes) # LOGIN AC_ARG_ENABLE(login, AS_HELP_STRING([--disable-login], [don't use the LOGIN mechanism]), login=$enableval) if test "$login" != "no" ; then login=yes AC_DEFINE(USE_LOGIN, 1, [Define to 1 if you want LOGIN.]) fi AC_MSG_CHECKING([if LOGIN should be used]) AC_MSG_RESULT($login) AM_CONDITIONAL(LOGIN, test x$login = xyes) # SECURID AC_ARG_ENABLE(securid, AS_HELP_STRING([--disable-securid], [don't use the SECURID mechanism]), securid=$enableval) if test "$securid" != "no" ; then securid=yes AC_DEFINE(USE_SECURID, 1, [Define to 1 if you want SECURID.]) fi AC_MSG_CHECKING([if SECURID should be used]) AC_MSG_RESULT($securid) AM_CONDITIONAL(SECURID, test x$securid = xyes) # NTLM AC_ARG_ENABLE(ntlm, AS_HELP_STRING([--disable-ntlm], [don't use the NTLM mechanism]), ntlm=$enableval) if test "$ntlm" != "no"; then AC_LIB_HAVE_LINKFLAGS(ntlm,, [#include ], [buildSmbNtlmAuthRequest_noatsplit (0, 0, 0);]) if test "$ac_cv_libntlm" != yes; then ntlm=no AC_MSG_WARN([Libntlm >= 0.3.5 not found, disabling NTLM.]) else ntlm=yes AC_DEFINE(USE_NTLM, 1, [Define to 1 if you want NTLM.]) fi fi AC_MSG_CHECKING([if NTLM should be used]) AC_MSG_RESULT($ntlm) AM_CONDITIONAL(NTLM, test x$ntlm = xyes) # CRAM-MD5 AC_ARG_ENABLE(cram-md5, AS_HELP_STRING([--disable-cram-md5], [don't use the CRAM-MD5 mechanism]), cram_md5=$enableval) if test "$cram_md5" != "no" ; then cram_md5=yes AC_DEFINE(USE_CRAM_MD5, 1, [Define to 1 if you want CRAM-MD5.]) fi AC_MSG_CHECKING([if CRAM-MD5 should be used]) AC_MSG_RESULT($cram_md5) AM_CONDITIONAL(CRAM_MD5, test x$cram_md5 = xyes) # DIGEST-MD5 AC_ARG_ENABLE(digest-md5, AS_HELP_STRING([--disable-digest-md5], [don't use the DIGEST-MD5 mechanism]), digest_md5=$enableval) if test "$digest_md5" != "no" ; then digest_md5=yes AC_DEFINE(USE_DIGEST_MD5, 1, [Define to 1 if you want DIGEST-MD5.]) fi AC_MSG_CHECKING([if DIGEST-MD5 should be used]) AC_MSG_RESULT($digest_md5) AM_CONDITIONAL(DIGEST_MD5, test x$digest_md5 = xyes) # SCRAM-SHA-1 AC_ARG_ENABLE(scram-sha1, AS_HELP_STRING([--enable-scram-sha1], [use the SCRAM-SHA-1 mechanism]), scram_sha1=$enableval) if test "$scram_sha1" != "no" ; then scram_sha1=yes AC_DEFINE(USE_SCRAM_SHA1, 1, [Define to 1 if you want SCRAM-SHA-1.]) fi AC_MSG_CHECKING([if SCRAM-SHA-1 should be used]) AC_MSG_RESULT($scram_sha1) AM_CONDITIONAL(SCRAM, test "$scram_sha1" != "no") # SAML20 AC_ARG_ENABLE(saml20, AS_HELP_STRING([--disable-saml20], [don't use the SAML20 mechanism]), saml20=$enableval, saml20=yes) if test "$saml20" != "no" ; then saml20=yes AC_DEFINE(USE_SAML20, 1, [Define to 1 if you want SAML20.]) fi AC_MSG_CHECKING([if SAML20 should be used]) AC_MSG_RESULT($saml20) AM_CONDITIONAL(SAML20, test x$saml20 = xyes) # OPENID20 AC_ARG_ENABLE(openid20, AS_HELP_STRING([--disable-openid20], [don't use the OPENID20 mechanism]), openid20=$enableval, openid20=yes) if test "$openid20" != "no" ; then openid20=yes AC_DEFINE(USE_OPENID20, 1, [Define to 1 if you want OPENID20.]) fi AC_MSG_CHECKING([if OPENID20 should be used]) AC_MSG_RESULT($openid20) AM_CONDITIONAL(OPENID20, test x$openid20 = xyes) # GS2, first part AC_ARG_ENABLE(gs2, AS_HELP_STRING([--disable-gs2], [don't use the GS2 mechanism]), gs2=$enableval) if test "$gs2" != "no" ; then gs2=yes fi # GSSAPI, first part AC_ARG_ENABLE(gssapi, AS_HELP_STRING([--disable-gssapi], [don't use the GSSAPI mechanism]), gssapi=$enableval) if test "$gssapi" != "no" ; then gssapi=yes fi # GSSAPI. AC_ARG_WITH(gssapi-impl, AS_HELP_STRING([--with-gssapi-impl=no/gss/kfw/mit/heimdal/yes], [select GSS-API implementation]), gssapi_impl=$withval, gssapi_impl=yes) if test "$gs2" = no && test "$gssapi" = no; then gssapi_impl=no else AC_MSG_NOTICE([checking for GSS implementation ($gssapi_impl)]) fi if test "$gssapi_impl" = "gss"; then AC_MSG_NOTICE([trying GSS]) AC_LIB_HAVE_LINKFLAGS(gss,, [#include ], [ #if GSS_VERSION_NUMBER < 0x010000 too old version #else gss_check_version (0); #endif ]) if test "$ac_cv_libgss" != yes; then gssapi_impl=no AC_MSG_WARN([GNU GSS not found, disabling GSSAPI.]) fi elif test "$gssapi_impl" = "kfw"; then AC_MSG_NOTICE([trying MIT Kerberos for Windows GSS-API library]) AC_LIB_HAVE_LINKFLAGS(gssapi32,, [#include ], [gss_release_oid (NULL, NULL)]) if test "$ac_cv_libgssapi32" != yes; then gssapi_impl=no AC_MSG_WARN([MIT Kerberos for Windows not found, disabling GSSAPI.]) fi elif test "$gssapi_impl" = "mit"; then AC_MSG_NOTICE([trying MIT]) AC_PATH_PROG(KRB5_CONFIG, krb5-config, no) if test "$KRB5_CONFIG" != "no" ; then GSS_CFLAGS="`$KRB5_CONFIG --cflags`" GSS_LIBS="`$KRB5_CONFIG --libs gssapi`" else AC_MSG_WARN([MIT Kerberos krb5-config not found, disabling GSSAPI]) gssapi_impl=no fi elif test "$gssapi_impl" = "heimdal"; then AC_MSG_NOTICE([trying Heimdal]) AC_PATH_PROG(KRB5_CONFIG, krb5-config, no) if test "$KRB5_CONFIG" != "no" ; then GSS_CFLAGS="`$KRB5_CONFIG --cflags`" GSS_LIBS="`$KRB5_CONFIG --libs gssapi`" else AC_MSG_WARN([Heimdal krb5-config not found, disabling GSSAPI]) gssapi_impl=no fi elif test "$gssapi_impl" != "no"; then AC_MSG_NOTICE([auto-detecting GSS/MIT/Heimdal]) AC_MSG_NOTICE([use --with-gssapi-impl=IMPL to hard code]) AC_MSG_NOTICE([where IMPL is `gss', `mit', or `heimdal']) AC_LIB_HAVE_LINKFLAGS(gss,, [#include ], [ #if GSS_VERSION_NUMBER < 0x010000 too old version #else gss_check_version (0); #endif ]) if test "$ac_cv_libgss" = yes; then gssapi_impl=gss AC_MSG_NOTICE([GNU GSS found]) elif test "$cross_compiling" != "no"; then AC_MSG_WARN([Cross-compiling, won't rely on MIT/Heimdal krb5-config]) AC_MSG_NOTICE([Use --with-gssapi-impl=mit or --with-gssapi-impl=heimdal.]) gssapi_impl=no else AC_MSG_WARN([GNU GSS not found (see http://www.gnu.org/software/gss/)...]) AC_MSG_WARN([Auto-detecting MIT/Heimdal is unreliable, disabling GSSAPI]) gssapi_impl=no fi fi AC_SUBST([GSS_CFLAGS]) AC_SUBST([GSS_LIBS]) # KERBEROS_V5 AC_ARG_ENABLE(kerberos_v5, AS_HELP_STRING([--enable-kerberos_v5], [use the KERBEROS_V5 mechanism]), kerberos_v5=$enableval, kerberos_v5=no) if test "$kerberos_v5" != "no" ; then AC_LIB_HAVE_LINKFLAGS(shishi,, [#include ], [shishi ();]) if test "$ac_cv_libshishi" != yes; then kerberos_v5=no AC_MSG_WARN([GNU Shishi not found, disabling KERBEROS_V5]) else kerberos_v5=yes AC_DEFINE(USE_KERBEROS_V5, 1, [Define to 1 if you want KERBEROS_V5.]) fi fi AC_MSG_CHECKING([if KERBEROS_V5 should be used]) AC_MSG_RESULT($kerberos_v5) AM_CONDITIONAL(KERBEROS_V5, test x$kerberos_v5 = xyes) # Check for libidn AC_ARG_WITH(stringprep, AS_HELP_STRING([--without-stringprep], [disable non-ASCII support]), stringprep=$withval, stringprep=yes) if test "$stringprep" != "no"; then AC_LIB_HAVE_LINKFLAGS(idn,, [#include ], [stringprep_check_version (0);]) if test "$ac_cv_libidn" != yes; then stringprep=no AC_MSG_WARN([GNU Libidn not found. Stringprep disabled.]) else stringprep=yes save_LIBS="$LIBS" LIBS="$LIBS $LIBIDN" AC_CHECK_FUNCS(pr29_8z) AC_CHECK_HEADERS(pr29.h) LIBS="$save_LIBS" fi fi AC_MSG_CHECKING([if non-ASCII support via Libidn should be built]) AC_MSG_RESULT($stringprep) # Allow disabling of client or server. AC_ARG_ENABLE(client, AS_HELP_STRING([--disable-client], [disable client code]), client=$enableval) AC_ARG_ENABLE(server, AS_HELP_STRING([--disable-server], [disable server code]), server=$enableval) if test "$client" != "no"; then AC_DEFINE(USE_CLIENT, 1, [Define to 1 if you want client code.]) client=yes fi if test "$server" != "no"; then AC_DEFINE(USE_SERVER, 1, [Define to 1 if you want server code.]) server=yes fi if test "$server" = "no" && test "$client" = "no"; then AC_MSG_ERROR([Disabling both client and server mode is meaningless]) fi AC_MSG_CHECKING([if client code should be built]) AC_MSG_RESULT($client) AC_MSG_CHECKING([if server code should be built]) AC_MSG_RESULT($server) AM_CONDITIONAL(CLIENT, test x$client = xyes) AM_CONDITIONAL(SERVER, test x$server = xyes) # Allow disabling of obsolete stuff. AC_ARG_ENABLE(obsolete, AS_HELP_STRING([--disable-obsolete], [disable backwards compatibility code]), obsolete=$enableval) if test "$obsolete" = "no"; then AC_DEFINE(GSASL_NO_OBSOLETE, 1, [Define to 1 if you don't want backwards compatibility code.]) else obsolete=yes fi AC_MSG_CHECKING([if backwards compatibility code should be present]) AC_MSG_RESULT($obsolete) AM_CONDITIONAL(OBSOLETE, test "$obsolete" = "yes") # For gnulib stuff in gl/ which may modify gssapi_impl, see gl/m4/gss-extra.m4. gl_INIT AC_DEFINE([GNULIB_NO_VLA], 1, [Disable VLA usage in gettext.h.]) # Disable GSSAPI/GS2 if we can't find GSS-API implementation if test "$gssapi_impl" = "no"; then gs2=no gssapi=no fi # GS2, second part if test "$gs2" != "no" ; then AC_DEFINE(USE_GS2, 1, [Define to 1 if you want GS2.]) fi AC_MSG_CHECKING([if GS2 should be used]) AC_MSG_RESULT($gs2) AM_CONDITIONAL(GS2, test x$gs2 = xyes) # GSSAPI, second part if test "$gssapi" != "no" ; then AC_DEFINE(USE_GSSAPI, 1, [Define to 1 if you want GSSAPI.]) fi AC_MSG_CHECKING([if GSSAPI should be used]) AC_MSG_RESULT($gssapi) AM_CONDITIONAL(GSSAPI, test x$gssapi = xyes) sj_UPDATE_HEADER_VERSION([$srcdir/src/gsasl.h]) MAJOR_VERSION=`echo $PACKAGE_VERSION | sed 's/\(.*\)\..*\..*/\1/g'` MINOR_VERSION=`echo $PACKAGE_VERSION | sed 's/.*\.\(.*\)\..*/\1/g'` PATCH_VERSION=`echo $PACKAGE_VERSION | sed 's/.*\..*\.\(.*\)/\1/g'` NUMBER_VERSION=`printf "0x%02x%02x%02x" $MAJOR_VERSION $MINOR_VERSION $PATCH_VERSION` sj_UPDATE_HEADER([$srcdir/src/gsasl.h], "s/VERSION_MAJOR .*/VERSION_MAJOR $MAJOR_VERSION/") sj_UPDATE_HEADER([$srcdir/src/gsasl.h], "s/VERSION_MINOR .*/VERSION_MINOR $MINOR_VERSION/") sj_UPDATE_HEADER([$srcdir/src/gsasl.h], "s/VERSION_PATCH .*/VERSION_PATCH $PATCH_VERSION/") sj_UPDATE_HEADER([$srcdir/src/gsasl.h], "s/VERSION_NUMBER .*/VERSION_NUMBER $NUMBER_VERSION/") AC_SUBST([WARN_CFLAGS]) AC_CONFIG_FILES([ Makefile anonymous/Makefile cram-md5/Makefile digest-md5/Makefile scram/Makefile saml20/Makefile \ openid20/Makefile \ external/Makefile gl/Makefile gltests/Makefile gs2/Makefile gssapi/Makefile kerberos_v5/Makefile libgsasl.pc login/Makefile ntlm/Makefile plain/Makefile \ po/Makefile.in securid/Makefile src/Makefile tests/Makefile ]) AC_OUTPUT AC_MSG_NOTICE([summary of library build options: version: ${VERSION} Host type: ${host} Install prefix: ${prefix} Compiler: cc: ${CC} cflags: ${CFLAGS} cppflags: ${CPPFLAGS} Warning flags: $gl_gcc_warnings Library types: Shared=${enable_shared}, Static=${enable_static} Valgrind: ${VALGRIND} Obsolete functions: $obsolete Client side: $client Server side: $server ANONYMOUS: $anonymous EXTERNAL: $external PLAIN: $plain LOGIN: $login SECURID: $securid NTLM: $ntlm (libs: $LTLIBNTLM) CRAM-MD5: $cram_md5 DIGEST-MD5: $digest_md5 SCRAM-SHA-1: $scram_sha1 SAML20: $saml20 OPENID20: $openid20 GS2: $gs2 GSSAPI: $gssapi ]) gsasl-1.8.1/lib/config.h.in0000644000000000000000000013077313521017115012321 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ #undef AC_APPLE_UNIVERSAL_BUILD /* Define to the number of bits in type 'ptrdiff_t'. */ #undef BITSIZEOF_PTRDIFF_T /* Define to the number of bits in type 'sig_atomic_t'. */ #undef BITSIZEOF_SIG_ATOMIC_T /* Define to the number of bits in type 'size_t'. */ #undef BITSIZEOF_SIZE_T /* Define to the number of bits in type 'wchar_t'. */ #undef BITSIZEOF_WCHAR_T /* Define to the number of bits in type 'wint_t'. */ #undef BITSIZEOF_WINT_T /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ #undef CRAY_STACKSEG_END /* Define to 1 if using `alloca.c'. */ #undef C_ALLOCA /* Define as the bit index in the word where to find bit 0 of the exponent of 'double'. */ #undef DBL_EXPBIT0_BIT /* Define as the word index where to find the exponent of 'double'. */ #undef DBL_EXPBIT0_WORD /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* Define this to 1 if F_DUPFD behavior does not match POSIX */ #undef FCNTL_DUPFD_BUGGY /* Define to 1 if the system's ftello function has the Solaris bug. */ #undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE /* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if fflush is known to not work, -1 if unknown. */ #undef FUNC_FFLUSH_STDIN /* Define to 1 if ungetc is broken when used on arbitrary bytes. */ #undef FUNC_UNGETC_BROKEN /* Define if gettimeofday clobbers the localtime buffer. */ #undef GETTIMEOFDAY_CLOBBERS_LOCALTIME /* Define this to 'void' or 'struct timezone' to match the system's declaration of the second argument to gettimeofday. */ #undef GETTIMEOFDAY_TIMEZONE /* Compile Gnulib crypto stream ops. */ #undef GL_COMPILE_CRYPTO_STREAM /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module fflush shall be considered present. */ #undef GNULIB_FFLUSH /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module fscanf shall be considered present. */ #undef GNULIB_FSCANF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module gc-hmac-md5 shall be considered present. */ #undef GNULIB_GC_HMAC_MD5 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module gc-hmac-sha1 shall be considered present. */ #undef GNULIB_GC_HMAC_SHA1 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module gc-md5 shall be considered present. */ #undef GNULIB_GC_MD5 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module gc-random shall be considered present. */ #undef GNULIB_GC_RANDOM /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module gc-sha1 shall be considered present. */ #undef GNULIB_GC_SHA1 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module lock shall be considered present. */ #undef GNULIB_LOCK /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module msvc-nothrow shall be considered present. */ #undef GNULIB_MSVC_NOTHROW /* Disable VLA usage in gettext.h. */ #undef GNULIB_NO_VLA /* Define to 1 if printf and friends should be labeled with attribute "__gnu_printf__" instead of "__printf__" */ #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module scanf shall be considered present. */ #undef GNULIB_SCANF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module strerror shall be considered present. */ #undef GNULIB_STRERROR /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module strerror_r-posix shall be considered present. */ #undef GNULIB_STRERROR_R_POSIX /* Define to 1 when the gnulib module accept should be tested. */ #undef GNULIB_TEST_ACCEPT /* Define to 1 when the gnulib module bind should be tested. */ #undef GNULIB_TEST_BIND /* Define to 1 when the gnulib module cloexec should be tested. */ #undef GNULIB_TEST_CLOEXEC /* Define to 1 when the gnulib module close should be tested. */ #undef GNULIB_TEST_CLOSE /* Define to 1 when the gnulib module connect should be tested. */ #undef GNULIB_TEST_CONNECT /* Define to 1 when the gnulib module dup2 should be tested. */ #undef GNULIB_TEST_DUP2 /* Define to 1 when the gnulib module environ should be tested. */ #undef GNULIB_TEST_ENVIRON /* Define to 1 when the gnulib module fcntl should be tested. */ #undef GNULIB_TEST_FCNTL /* Define to 1 when the gnulib module fdopen should be tested. */ #undef GNULIB_TEST_FDOPEN /* Define to 1 when the gnulib module fflush should be tested. */ #undef GNULIB_TEST_FFLUSH /* Define to 1 when the gnulib module fpurge should be tested. */ #undef GNULIB_TEST_FPURGE /* Define to 1 when the gnulib module fseek should be tested. */ #undef GNULIB_TEST_FSEEK /* Define to 1 when the gnulib module fseeko should be tested. */ #undef GNULIB_TEST_FSEEKO /* Define to 1 when the gnulib module fstat should be tested. */ #undef GNULIB_TEST_FSTAT /* Define to 1 when the gnulib module ftell should be tested. */ #undef GNULIB_TEST_FTELL /* Define to 1 when the gnulib module ftello should be tested. */ #undef GNULIB_TEST_FTELLO /* Define to 1 when the gnulib module ftruncate should be tested. */ #undef GNULIB_TEST_FTRUNCATE /* Define to 1 when the gnulib module getcwd should be tested. */ #undef GNULIB_TEST_GETCWD /* Define to 1 when the gnulib module getdelim should be tested. */ #undef GNULIB_TEST_GETDELIM /* Define to 1 when the gnulib module getdtablesize should be tested. */ #undef GNULIB_TEST_GETDTABLESIZE /* Define to 1 when the gnulib module getline should be tested. */ #undef GNULIB_TEST_GETLINE /* Define to 1 when the gnulib module getpagesize should be tested. */ #undef GNULIB_TEST_GETPAGESIZE /* Define to 1 when the gnulib module getrusage should be tested. */ #undef GNULIB_TEST_GETRUSAGE /* Define to 1 when the gnulib module gettimeofday should be tested. */ #undef GNULIB_TEST_GETTIMEOFDAY /* Define to 1 when the gnulib module ioctl should be tested. */ #undef GNULIB_TEST_IOCTL /* Define to 1 when the gnulib module listen should be tested. */ #undef GNULIB_TEST_LISTEN /* Define to 1 when the gnulib module lseek should be tested. */ #undef GNULIB_TEST_LSEEK /* Define to 1 when the gnulib module lstat should be tested. */ #undef GNULIB_TEST_LSTAT /* Define to 1 when the gnulib module malloc-posix should be tested. */ #undef GNULIB_TEST_MALLOC_POSIX /* Define to 1 when the gnulib module memchr should be tested. */ #undef GNULIB_TEST_MEMCHR /* Define to 1 when the gnulib module memmem should be tested. */ #undef GNULIB_TEST_MEMMEM /* Define to 1 when the gnulib module nanosleep should be tested. */ #undef GNULIB_TEST_NANOSLEEP /* Define to 1 when the gnulib module open should be tested. */ #undef GNULIB_TEST_OPEN /* Define to 1 when the gnulib module perror should be tested. */ #undef GNULIB_TEST_PERROR /* Define to 1 when the gnulib module pipe should be tested. */ #undef GNULIB_TEST_PIPE /* Define to 1 when the gnulib module pthread_sigmask should be tested. */ #undef GNULIB_TEST_PTHREAD_SIGMASK /* Define to 1 when the gnulib module pthread-thread should be tested. */ #undef GNULIB_TEST_PTHREAD_THREAD /* Define to 1 when the gnulib module putenv should be tested. */ #undef GNULIB_TEST_PUTENV /* Define to 1 when the gnulib module raise should be tested. */ #undef GNULIB_TEST_RAISE /* Define to 1 when the gnulib module select should be tested. */ #undef GNULIB_TEST_SELECT /* Define to 1 when the gnulib module setsockopt should be tested. */ #undef GNULIB_TEST_SETSOCKOPT /* Define to 1 when the gnulib module sigaction should be tested. */ #undef GNULIB_TEST_SIGACTION /* Define to 1 when the gnulib module sigprocmask should be tested. */ #undef GNULIB_TEST_SIGPROCMASK /* Define to 1 when the gnulib module sleep should be tested. */ #undef GNULIB_TEST_SLEEP /* Define to 1 when the gnulib module socket should be tested. */ #undef GNULIB_TEST_SOCKET /* Define to 1 when the gnulib module stat should be tested. */ #undef GNULIB_TEST_STAT /* Define to 1 when the gnulib module strerror should be tested. */ #undef GNULIB_TEST_STRERROR /* Define to 1 when the gnulib module strerror_r should be tested. */ #undef GNULIB_TEST_STRERROR_R /* Define to 1 when the gnulib module strndup should be tested. */ #undef GNULIB_TEST_STRNDUP /* Define to 1 when the gnulib module strnlen should be tested. */ #undef GNULIB_TEST_STRNLEN /* Define to 1 when the gnulib module strverscmp should be tested. */ #undef GNULIB_TEST_STRVERSCMP /* Define to 1 when the gnulib module symlink should be tested. */ #undef GNULIB_TEST_SYMLINK /* Define to 1 when the gnulib module unsetenv should be tested. */ #undef GNULIB_TEST_UNSETENV /* Define to 1 when the gnulib module usleep should be tested. */ #undef GNULIB_TEST_USLEEP /* Define to 1 when the gnulib module vasprintf should be tested. */ #undef GNULIB_TEST_VASPRINTF /* Define to 1 if you don't want backwards compatibility code. */ #undef GSASL_NO_OBSOLETE /* Define to 1 if you have 'alloca' after including , a header that may be supplied by this distribution. */ #undef HAVE_ALLOCA /* Define to 1 if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H /* Define to 1 if you have the header file. */ #undef HAVE_BP_SYM_H /* Define to 1 if nanosleep mishandles large arguments. */ #undef HAVE_BUG_BIG_NANOSLEEP /* Define to 1 if you have the header file. */ #undef HAVE_BYTESWAP_H /* Define to 1 if you have the `catgets' function. */ #undef HAVE_CATGETS /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define to 1 if you have the `chsize' function. */ #undef HAVE_CHSIZE /* Define to 1 if you have the header file. */ #undef HAVE_CRTDEFS_H /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. */ #undef HAVE_DECL_ALARM /* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't. */ #undef HAVE_DECL_FPURGE /* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't. */ #undef HAVE_DECL_FSEEKO /* Define to 1 if you have the declaration of `ftello', and to 0 if you don't. */ #undef HAVE_DECL_FTELLO /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_GETC_UNLOCKED /* Define to 1 if you have the declaration of `getdelim', and to 0 if you don't. */ #undef HAVE_DECL_GETDELIM /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you don't. */ #undef HAVE_DECL_GETDTABLESIZE /* Define to 1 if you have the declaration of `getline', and to 0 if you don't. */ #undef HAVE_DECL_GETLINE /* Define to 1 if you have the declaration of `inet_pton', and to 0 if you don't. */ #undef HAVE_DECL_INET_PTON /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. */ #undef HAVE_DECL_MEMMEM /* Define to 1 if you have the declaration of `sleep', and to 0 if you don't. */ #undef HAVE_DECL_SLEEP /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR_R /* Define to 1 if you have the declaration of `strndup', and to 0 if you don't. */ #undef HAVE_DECL_STRNDUP /* Define to 1 if you have the declaration of `strnlen', and to 0 if you don't. */ #undef HAVE_DECL_STRNLEN /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you don't. */ #undef HAVE_DECL_UNSETENV /* Define to 1 if you have the declaration of `_fseeki64', and to 0 if you don't. */ #undef HAVE_DECL__FSEEKI64 /* Define to 1 if you have the declaration of `_putenv', and to 0 if you don't. */ #undef HAVE_DECL__PUTENV /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you don't. */ #undef HAVE_DECL__SNPRINTF /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the 'dup2' function. */ #undef HAVE_DUP2 /* Define if you have the declaration of environ. */ #undef HAVE_ENVIRON_DECL /* Define to 1 if you have the `fcntl' function. */ #undef HAVE_FCNTL /* Define to 1 if you have the header file. */ #undef HAVE_FEATURES_H /* Define to 1 if you have the `flockfile' function. */ #undef HAVE_FLOCKFILE /* Define to 1 if you have the `fpurge' function. */ #undef HAVE_FPURGE /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #undef HAVE_FSEEKO /* Define to 1 if you have the `ftruncate' function. */ #undef HAVE_FTRUNCATE /* Define to 1 if you have the `funlockfile' function. */ #undef HAVE_FUNLOCKFILE /* Define to 1 if you have the `getdelim' function. */ #undef HAVE_GETDELIM /* Define to 1 if you have the `getdtablesize' function. */ #undef HAVE_GETDTABLESIZE /* Define to 1 if you have the `getrusage' function. */ #undef HAVE_GETRUSAGE /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY /* Define to 1 if you have the header file. */ #undef HAVE_GSSAPI_GSSAPI_H /* Define to 1 if you have the header file. */ #undef HAVE_GSSAPI_H /* Define to 1 if you have the `GSS_C_NT_HOSTBASED_SERVICE' function. */ #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE /* Define to 1 if you have the `gss_decapsulate_token' function. */ #undef HAVE_GSS_DECAPSULATE_TOKEN /* Define to 1 if you have the `gss_encapsulate_token' function. */ #undef HAVE_GSS_ENCAPSULATE_TOKEN /* Define to 1 if you have the `gss_inquire_mech_for_saslname' function. */ #undef HAVE_GSS_INQUIRE_MECH_FOR_SASLNAME /* Define to 1 if you have the `gss_oid_equal' function. */ #undef HAVE_GSS_OID_EQUAL /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the `inet_pton' function. */ #undef HAVE_INET_PTON /* Define if you have the 'intmax_t' type in or . */ #undef HAVE_INTMAX_T /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_INTTYPES_H_WITH_UINTMAX /* Define to 1 if you have the `ioctl' function. */ #undef HAVE_IOCTL /* Define to 1 if defines AF_INET. */ #undef HAVE_IPV4 /* Define to 1 if defines AF_INET6. */ #undef HAVE_IPV6 /* Define to 1 if you have the `isblank' function. */ #undef HAVE_ISBLANK /* Define if you have the libgcrypt library. */ #undef HAVE_LIBGCRYPT /* Define if you have the libgss library. */ #undef HAVE_LIBGSS /* Define if you have the libgssapi32 library. */ #undef HAVE_LIBGSSAPI32 /* Define if you have the libidn library. */ #undef HAVE_LIBIDN /* Define if you have the libntlm library. */ #undef HAVE_LIBNTLM /* Define if you have the libshishi library. */ #undef HAVE_LIBSHISHI /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H /* Define to 1 if you have 'struct sockaddr_alg' defined. */ #undef HAVE_LINUX_IF_ALG_H /* Define to 1 if the system has the type 'long long int'. */ #undef HAVE_LONG_LONG_INT /* Define to 1 if you have the `lstat' function. */ #undef HAVE_LSTAT /* Define if the 'malloc' function is POSIX compliant. */ #undef HAVE_MALLOC_POSIX /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including config.h and . */ #undef HAVE_MAP_ANONYMOUS /* Define to 1 if you have the `mbrtowc' function. */ #undef HAVE_MBRTOWC /* Define to 1 if you have the `memmem' function. */ #undef HAVE_MEMMEM /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if defines the MIN and MAX macros. */ #undef HAVE_MINMAX_IN_LIMITS_H /* Define to 1 if defines the MIN and MAX macros. */ #undef HAVE_MINMAX_IN_SYS_PARAM_H /* Define to 1 if you have the `mprotect' function. */ #undef HAVE_MPROTECT /* Define to 1 on MSVC platforms that have the "invalid parameter handler" concept. */ #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if libcrypto is used for MD5. */ #undef HAVE_OPENSSL_MD5 /* Define to 1 if libcrypto is used for SHA1. */ #undef HAVE_OPENSSL_SHA1 /* Define to 1 if you have the header file. */ #undef HAVE_OS_H /* Define to 1 if you have the `pipe' function. */ #undef HAVE_PIPE /* Define to 1 if you have the `pr29_8z' function. */ #undef HAVE_PR29_8Z /* Define to 1 if you have the header file. */ #undef HAVE_PR29_H /* Define to 1 if you have the `pthread_atfork' function. */ #undef HAVE_PTHREAD_ATFORK /* Define to 1 if you have the header file. */ #undef HAVE_PTHREAD_H /* Define if the defines PTHREAD_MUTEX_RECURSIVE. */ #undef HAVE_PTHREAD_MUTEX_RECURSIVE /* Define if the POSIX multithreading library has read/write locks. */ #undef HAVE_PTHREAD_RWLOCK /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a reader. */ #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER /* Define to 1 if the pthread_sigmask function can be used (despite bugs). */ #undef HAVE_PTHREAD_SIGMASK /* Define to 1 if the system has the type `pthread_spinlock_t'. */ #undef HAVE_PTHREAD_SPINLOCK_T /* Define to 1 if the system has the type `pthread_t'. */ #undef HAVE_PTHREAD_T /* Define to 1 if you have the `raise' function. */ #undef HAVE_RAISE /* Define to 1 if the system has the type `sa_family_t'. */ #undef HAVE_SA_FAMILY_T /* Define to 1 if you have the header file. */ #undef HAVE_SCHED_H /* Define to 1 if you have the header file. */ #undef HAVE_SEMAPHORE_H /* Define to 1 if you have the `setdtablesize' function. */ #undef HAVE_SETDTABLESIZE /* Define to 1 if you have the `shutdown' function. */ #undef HAVE_SHUTDOWN /* Define to 1 if you have the `sigaction' function. */ #undef HAVE_SIGACTION /* Define to 1 if you have the `sigaltstack' function. */ #undef HAVE_SIGALTSTACK /* Define to 1 if the system has the type `siginfo_t'. */ #undef HAVE_SIGINFO_T /* Define to 1 if you have the `siginterrupt' function. */ #undef HAVE_SIGINTERRUPT /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ #undef HAVE_SIGNED_SIG_ATOMIC_T /* Define to 1 if 'wchar_t' is a signed integer type. */ #undef HAVE_SIGNED_WCHAR_T /* Define to 1 if 'wint_t' is a signed integer type. */ #undef HAVE_SIGNED_WINT_T /* Define to 1 if the system has the type `sigset_t'. */ #undef HAVE_SIGSET_T /* Define to 1 if you have the `sleep' function. */ #undef HAVE_SLEEP /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF /* Define if the return value of the snprintf function is the number of of bytes (excluding the terminating NUL) that would have been produced if the buffer had been large enough. */ #undef HAVE_SNPRINTF_RETVAL_C99 /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_STDINT_H_WITH_UINTMAX /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strerror_r' function. */ #undef HAVE_STRERROR_R /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strndup' function. */ #undef HAVE_STRNDUP /* Define to 1 if you have the `strnlen' function. */ #undef HAVE_STRNLEN /* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */ #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION /* Define to 1 if the system has the type `struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIMENSEC /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC /* Define to 1 if you have the `strverscmp' function. */ #undef HAVE_STRVERSCMP /* Define to 1 if you have the `symlink' function. */ #undef HAVE_SYMLINK /* Define to 1 if you have the header file. */ #undef HAVE_SYS_BITYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_CDEFS_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_IOCTL_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_MMAN_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PARAM_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_RESOURCE_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SELECT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_UIO_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_WAIT_H /* Define to 1 if you have the header file. */ #undef HAVE_THREADS_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `unsetenv' function. */ #undef HAVE_UNSETENV /* Define to 1 if the system has the type 'unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT /* Define to 1 if you have the `usleep' function. */ #undef HAVE_USLEEP /* Define to 1 if you have the `vasnprintf' function. */ #undef HAVE_VASNPRINTF /* Define to 1 if you have the `vasprintf' function. */ #undef HAVE_VASPRINTF /* Define to 1 or 0, depending whether the compiler supports simple visibility declarations. */ #undef HAVE_VISIBILITY /* Define to 1 if you have the header file. */ #undef HAVE_WCHAR_H /* Define if you have the 'wchar_t' type. */ #undef HAVE_WCHAR_T /* Define to 1 if you have the `wcrtomb' function. */ #undef HAVE_WCRTOMB /* Define to 1 if you have the `wcslen' function. */ #undef HAVE_WCSLEN /* Define to 1 if you have the `wcsnlen' function. */ #undef HAVE_WCSNLEN /* Define to 1 if you have the header file. */ #undef HAVE_WINSOCK2_H /* Define if you have the 'wint_t' type. */ #undef HAVE_WINT_T /* Define to 1 if O_NOATIME works. */ #undef HAVE_WORKING_O_NOATIME /* Define to 1 if O_NOFOLLOW works. */ #undef HAVE_WORKING_O_NOFOLLOW /* Define to 1 if you have the header file. */ #undef HAVE_WS2TCPIP_H /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL /* Define to 1 if you have the `_fseeki64' function. */ #undef HAVE__FSEEKI64 /* Define to 1 if you have the `_ftelli64' function. */ #undef HAVE__FTELLI64 /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ #undef HAVE__SET_INVALID_PARAMETER_HANDLER /* Define to 1 if the compiler supports __builtin_expect, and to 2 if does. */ #undef HAVE___BUILTIN_EXPECT #ifndef HAVE___BUILTIN_EXPECT # define __builtin_expect(e, c) (e) #elif HAVE___BUILTIN_EXPECT == 2 # include #endif /* Define to 1 if you have the `__fpurge' function. */ #undef HAVE___FPURGE /* Define to 1 if you have the `__freading' function. */ #undef HAVE___FREADING /* Define to 1 if the compiler supports the keyword '__inline'. */ #undef HAVE___INLINE /* Define to 1 if you have the `__xpg_strerror_r' function. */ #undef HAVE___XPG_STRERROR_R /* Define to 1 if lseek does not detect pipes. */ #undef LSEEK_PIPE_BROKEN /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ #undef MALLOC_0_IS_NONNULL /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ #undef MAP_ANONYMOUS /* Use GNU style printf and scanf. */ #ifndef __USE_MINGW_ANSI_STDIO # undef __USE_MINGW_ANSI_STDIO #endif /* defined to the name of the unpredictable nonce device */ #undef NAME_OF_NONCE_DEVICE /* defined to the name of the pseudo random device */ #undef NAME_OF_PSEUDO_RANDOM_DEVICE /* defined to the name of the (strong) random device */ #undef NAME_OF_RANDOM_DEVICE /* Define to 1 if open() fails to recognize a trailing slash. */ #undef OPEN_TRAILING_SLASH_BUG /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define if exists and defines unusable PRI* macros. */ #undef PRI_MACROS_BROKEN /* Define to the type that is the result of default argument promotions of type mode_t. */ #undef PROMOTED_MODE_T /* Define if pthread_create is an inline function. */ #undef PTHREAD_CREATE_IS_INLINE /* Define if the pthread_in_use() detection is hard. */ #undef PTHREAD_IN_USE_DETECTION_HARD /* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno. */ #undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO /* Define to 1 if pthread_sigmask may return 0 and have no effect. */ #undef PTHREAD_SIGMASK_INEFFECTIVE /* Define to 1 if pthread_sigmask() unblocks signals incorrectly. */ #undef PTHREAD_SIGMASK_UNBLOCK_BUG /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'ptrdiff_t'. */ #undef PTRDIFF_T_SUFFIX /* Define to 1 if stat needs help when passed a file name with a trailing slash */ #undef REPLACE_FUNC_STAT_FILE /* Define to 1 if strerror(0) does not return a message implying success. */ #undef REPLACE_STRERROR_0 /* Define if vasnprintf exists but is overridden by gnulib. */ #undef REPLACE_VASNPRINTF /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'sig_atomic_t'. */ #undef SIG_ATOMIC_T_SUFFIX /* Define as the maximum value of type 'size_t', if the system doesn't define it. */ #ifndef SIZE_MAX # undef SIZE_MAX #endif /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'size_t'. */ #undef SIZE_T_SUFFIX /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define to 1 if the `S_IS*' macros in do not work properly. */ #undef STAT_MACROS_BROKEN /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if the type of the st_atim member of a struct stat is struct timespec. */ #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC /* Define to 1 if you want ANONYMOUS. */ #undef USE_ANONYMOUS /* Define to 1 if you want client code. */ #undef USE_CLIENT /* Define to 1 if you want CRAM-MD5. */ #undef USE_CRAM_MD5 /* Define to 1 if you want DIGEST-MD5. */ #undef USE_DIGEST_MD5 /* Define to 1 if you want EXTERNAL. */ #undef USE_EXTERNAL /* Define to 1 if you want GS2. */ #undef USE_GS2 /* Define to 1 if you want GSSAPI. */ #undef USE_GSSAPI /* Define to 1 if you want KERBEROS_V5. */ #undef USE_KERBEROS_V5 /* Define to 1 if you want to use the Linux kernel cryptographic API. */ #undef USE_LINUX_CRYPTO_API /* Define to 1 if you want LOGIN. */ #undef USE_LOGIN /* Define to 1 if you want NTLM. */ #undef USE_NTLM /* Define to 1 if you want OPENID20. */ #undef USE_OPENID20 /* Define to 1 if you want PLAIN. */ #undef USE_PLAIN /* Define if the POSIX multithreading library can be used. */ #undef USE_POSIX_THREADS /* Define if references to the POSIX multithreading library should be made weak. */ #undef USE_POSIX_THREADS_WEAK /* Define to 1 if you want SAML20. */ #undef USE_SAML20 /* Define to 1 if you want SCRAM-SHA-1. */ #undef USE_SCRAM_SHA1 /* Define to 1 if you want SECURID. */ #undef USE_SECURID /* Define to 1 if you want server code. */ #undef USE_SERVER /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable NetBSD extensions on NetBSD. */ #ifndef _NETBSD_SOURCE # undef _NETBSD_SOURCE #endif /* Enable OpenBSD extensions on NetBSD. */ #ifndef _OPENBSD_SOURCE # undef _OPENBSD_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ # undef __STDC_WANT_IEC_60559_BFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ #ifndef __STDC_WANT_LIB_EXT2__ # undef __STDC_WANT_LIB_EXT2__ #endif /* Enable extensions specified by ISO/IEC 24747:2009. */ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ # undef __STDC_WANT_MATH_SPEC_FUNCS__ #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable X/Open extensions if necessary. HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of whether compiling with -Ae or -D_HPUX_SOURCE=1. */ #ifndef _XOPEN_SOURCE # undef _XOPEN_SOURCE #endif /* Enable X/Open compliant socket functions that do not require linking with -lxnet on HP-UX 11.11. */ #ifndef _HPUX_ALT_XOPEN_SOCKET_API # undef _HPUX_ALT_XOPEN_SOCKET_API #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Define if the native Windows multithreading API can be used. */ #undef USE_WINDOWS_THREADS /* Version number of package */ #undef VERSION /* Define to 1 if unsetenv returns void instead of int. */ #undef VOID_UNSETENV /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'wchar_t'. */ #undef WCHAR_T_SUFFIX /* Define if WSAStartup is needed. */ #undef WINDOWS_SOCKETS /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'wint_t'. */ #undef WINT_T_SUFFIX /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD # if defined __BIG_ENDIAN__ # define WORDS_BIGENDIAN 1 # endif #else # ifndef WORDS_BIGENDIAN # undef WORDS_BIGENDIAN # endif #endif /* Enable large inode numbers on Mac OS X 10.5. */ #undef _DARWIN_USE_64_BIT_INODE /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ #undef _LARGEFILE_SOURCE /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES /* Define to 1 if on MINIX. */ #undef _MINIX /* Define to 1 to make NetBSD features available. MINIX 3 needs this. */ #undef _NETBSD_SOURCE /* The _Noreturn keyword of C11. */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER))) # define _Noreturn [[noreturn]] # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) /* _Noreturn works as-is. */ # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE /* Define to 1 in order to get the POSIX compatible declarations of socket functions. */ #undef _POSIX_PII_SOCKET /* Define to 1 if you need to in order for 'stat' and other things to work. */ #undef _POSIX_SOURCE /* For thread-safety on OSF/1, Solaris. */ #undef _REENTRANT /* For thread-safety on AIX, FreeBSD. */ #undef _THREAD_SAFE /* For standard stat data types on VMS. */ #undef _USE_STD_STAT /* Define to 1 if the system predates C++11. */ #undef __STDC_CONSTANT_MACROS /* Define to 1 if the system predates C++11. */ #undef __STDC_LIMIT_MACROS /* The _GL_ASYNC_SAFE marker should be attached to functions that are signal handlers (for signals other than SIGABRT, SIGPIPE) or can be invoked from such signal handlers. Such functions have some restrictions: * All functions that it calls should be marked _GL_ASYNC_SAFE as well, or should be listed as async-signal-safe in POSIX section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in particular, are NOT async-signal-safe. * All memory locations (variables and struct fields) that these functions access must be marked 'volatile'. This holds for both read and write accesses. Otherwise the compiler might optimize away stores to and reads from such locations that occur in the program, depending on its data flow analysis. For example, when the program contains a loop that is intended to inspect a variable set from within a signal handler while (!signal_occurred) ; the compiler is allowed to transform this into an endless loop if the variable 'signal_occurred' is not declared 'volatile'. Additionally, recall that: * A signal handler should not modify errno (except if it is a handler for a fatal signal and ends by raising the same signal again, thus provoking the termination of the process). If it invokes a function that may clobber errno, it needs to save and restore the value of errno. */ #define _GL_ASYNC_SAFE /* Please see the Gnulib manual for how to use these macros. Suppress extern inline with HP-UX cc, as it appears to be broken; see . Suppress extern inline with Sun C in standards-conformance mode, as it mishandles inline functions that call each other. E.g., for 'inline void f (void) { } inline void g (void) { f (); }', c99 incorrectly complains 'reference to static identifier "f" in extern inline function'. This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) on configurations that mistakenly use 'static inline' to implement functions or macros in standard C headers like . For example, if isdigit is mistakenly implemented via a static inline function, a program containing an extern inline function that calls isdigit may not work since the C standard prohibits extern inline functions from calling static functions (ISO C 99 section 6.7.4.(3). This bug is known to occur on: OS X 10.8 and earlier; see: https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html DragonFly; see http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log FreeBSD; see: https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and for clang but remains for g++; see . Assume DragonFly and FreeBSD will be similar. GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. It defines a macro __GNUC_STDC_INLINE__ to indicate this situation or a macro __GNUC_GNU_INLINE__ to indicate the opposite situation. GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline semantics but warns, unless -fgnu89-inline is used: warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. */ #if (((defined __APPLE__ && defined __MACH__) \ || defined __DragonFly__ || defined __FreeBSD__) \ && (defined __header_inline \ ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ && ! defined __clang__) \ : ((! defined _DONT_USE_CTYPE_INLINE_ \ && (defined __GNUC__ || defined __cplusplus)) \ || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ && defined __GNUC__ && ! defined __cplusplus)))) # define _GL_EXTERN_INLINE_STDHEADER_BUG #endif #if ((__GNUC__ \ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ : (199901L <= __STDC_VERSION__ \ && !defined __HP_cc \ && !defined __PGI \ && !(defined __SUNPRO_C && __STDC__))) \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # define _GL_INLINE inline # define _GL_EXTERN_INLINE extern inline # define _GL_EXTERN_INLINE_IN_USE #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) # else # define _GL_INLINE extern inline # endif # define _GL_EXTERN_INLINE extern # define _GL_EXTERN_INLINE_IN_USE #else # define _GL_INLINE static _GL_UNUSED # define _GL_EXTERN_INLINE static _GL_UNUSED #endif /* In GCC 4.6 (inclusive) to 5.1 (exclusive), suppress bogus "no previous prototype for 'FOO'" and "no previous declaration for 'FOO'" diagnostics, when FOO is an inline function in the header; see and . */ #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ # define _GL_INLINE_HEADER_CONST_PRAGMA # else # define _GL_INLINE_HEADER_CONST_PRAGMA \ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") # endif # define _GL_INLINE_HEADER_BEGIN \ _Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ _GL_INLINE_HEADER_CONST_PRAGMA # define _GL_INLINE_HEADER_END \ _Pragma ("GCC diagnostic pop") #else # define _GL_INLINE_HEADER_BEGIN # define _GL_INLINE_HEADER_END #endif /* Define to `int' if doesn't define. */ #undef gid_t /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to long or long long if and don't define. */ #undef intmax_t /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. __APPLE__ && __MACH__ test for Mac OS X. __APPLE_CC__ tests for the Apple compiler and its version. __STDC_VERSION__ tests for the C99 mode. */ #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ # define __GNUC_STDC_INLINE__ 1 #endif /* Define to `int' if does not define. */ #undef mode_t /* Define to the type of st_nlink in struct stat, or a supertype. */ #undef nlink_t /* Define to `int' if does not define. */ #undef pid_t /* Define as the type of the result of subtracting two pointers, if the system doesn't define it. */ #undef ptrdiff_t /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported directly. */ #undef restrict /* Work around a bug in Sun C++: it does not support _Restrict or __restrict__, even though the corresponding Sun C compiler ends up with "#define restrict _Restrict" or "#define restrict __restrict__" in the previous line. Perhaps some future version of Sun C++ will work with restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ #if defined __SUNPRO_CC && !defined __RESTRICT # define _Restrict # define __restrict__ #endif /* Define to `unsigned int' if does not define. */ #undef size_t /* type to use in place of socklen_t if not defined */ #undef socklen_t /* Define as a signed type of the same size as size_t. */ #undef ssize_t /* Define to `int' if doesn't define. */ #undef uid_t /* Define as a marker that can be attached to declarations that might not be used. This helps to reduce warnings, such as from GCC -Wunused-parameter. */ #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED __attribute__ ((__unused__)) #else # define _GL_UNUSED #endif /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name is a misnomer outside of parameter lists. */ #define _UNUSED_PARAMETER_ _GL_UNUSED /* gcc supports the "unused" attribute on possibly unused labels, and g++ has since version 4.5. Note to support C++ as well as C, _GL_UNUSED_LABEL should be used with a trailing ; */ #if !defined __cplusplus || __GNUC__ > 4 \ || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) # define _GL_UNUSED_LABEL _GL_UNUSED #else # define _GL_UNUSED_LABEL #endif /* The __pure__ attribute was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The __const__ attribute was added in gcc 2.95. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) #else # define _GL_ATTRIBUTE_CONST /* empty */ #endif /* The __malloc__ attribute was added in gcc 3. */ #if 3 <= __GNUC__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) #else # define _GL_ATTRIBUTE_MALLOC /* empty */ #endif /* Define to an unsigned 32-bit type if lacks this type. */ #undef useconds_t gsasl-1.8.1/lib/NEWS0000644000000000000000000013142713521016741010776 00000000000000GNU SASL LIBRARY NEWS -- History of user-visible changes. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. * Version 1.8.1 (released 2019-08-02) [stable] ** GSSAPI client: Now retrieves GSASL_AUTHZID for authorization identity. ** GSSAPI client: Can now transmit an empty/missing authorization identity. Before the GSSAPI client retrieved GSASL_AUTHID (authentication identity) and used that as the authorization identity. For backwards compatibility, the code now first tries GSASL_AUTHZID and then GSASL_AUTHID when discovering the authorization identity. If you don't want any authorization identity (and thus let the server fall back on the identity implied from the Kerberos layer) then return GSASL_NO_CALLBACK on both. Please update code to use GSASL_AUTHZID instead of GSASL_AUTHID, in case we remove the backwards compatibility code. Reported by Amon Ott. ** GSSAPI server: Fix memory leak after successful authentication. Report and patch by Goktan Kantarcioglu. ** libgsasl: gsasl_md5, gsasl_hmac_md5, gsasl_sha1, gsasl_hmac_sha1 API fix. The final output variable used to be 'char *out[16]' and 'char *out[20]' respectively, however this triggered bug in the gdoc automated documentation generator script so the types are now 'char *out[]'. This should not require any changes in any application using the library. ** i18n: Updated translations. ** API and ABI modifications. No changes since last version. * Version 1.8.0 (released 2012-05-28) [stable] ** This is a new major stable release. Brief changes compared to 1.6.x: *** SAML20 support following RFC 6595. *** OPENID20 support following RFC 6616. *** Various cleanups, portability and other bug fixes. See the NEWS entries during the 1.7.x branch for details. ** API and ABI modifications. No changes since last version. * Version 1.7.6 (released 2012-05-23) [beta] ** i18n: Updated translations. ** API and ABI modifications. No changes since last version. * Version 1.7.5 (released 2012-05-22) [beta] ** i18n: Updated translations. ** Build fixes. ** API and ABI modifications. No changes since last version. * Version 1.7.4 (released 2012-05-16) [alpha] ** libgsasl: Reverted unification of OpenID and SAML properties/callbacks. The reason was that client and servers needs to know whether it is SAML or OpenID that is used, and using the same property and callback symbol for both makes this more difficult. ** i18n: Updated translations. ** GSS-API server: Don't output zero-length tokens on context init success. Reported by Andreas Oberritter . ** GSS-API server: Only proceed to next step when context is established. Reported by Andreas Oberritter . ** Rewrote DIGEST-MD5 code to avoid false positive complaint from valgrind. ** Update gnulib files. ** API and ABI modifications. GSASL_REDIRECT_URL: Removed. GSASL_OPENID20_REDIRECT_URL: Added. GSASL_SAML20_REDIRECT_URL: Added. GSASL_AUTHENTICATE_IN_BROWSER: Removed. GSASL_SAML20_AUTHENTICATE_IN_BROWSER: Added. GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: Added. * Version 1.7.3 (released 2012-04-03) [alpha] ** libgsasl: The SAML20 mechanism is now enabled by default. ** libgsasl: The SAML20 mechanism was updated to draft -09. There was a minor protocol change, the final client response is now "=" instead of the empty string. ** libgsasl: Unified some of the SAML and OpenID callbacks/properties. See API changes below. ** API and ABI modifications. GSASL_REDIRECT_URL: Added, replaces the next two properties. GSASL_OPENID20_REDIRECT_URL: Removed. GSASL_SAML20_REDIRECT_URL: Removed. GSASL_AUTHENTICATE_IN_BROWSER: Added, replaces the next two callbacks. GSASL_SAML20_AUTHENTICATE_IN_BROWSER: Removed. GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: Removed. * Version 1.7.2 (released 2012-03-28) [alpha] ** libgsasl: Updated OPENID20 implementation. Now following draft-ietf-kitten-sasl-openid-08. ** API and ABI modifications. GSASL_OPENID20_REDIRECT_URL: Added, new property. GSASL_OPENID20_OUTCOME_DATA:: Added, new property. GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: Added, new callback. GSASL_VALIDATE_OPENID20: Added, new callback. GSASL_NO_OPENID20_REDIRECT_URL: Added, new error code. GSASL_OPENID20_AUTH_IDENTIFIER: Removed, use GSASL_AUTHID instead. GSASL_NO_OPENID20_AUTH_IDENTIFIER: Removed error code. * Version 1.7.1 (released 2012-02-09) [alpha] ** libgsasl: Implement OPENID20 mechanism for OpenID authentication. Following draft-ietf-kitten-sasl-openid-03. ** libgsasl.pc: Add a Libs.private. Reported by Volker Grabsch . ** Demand gettext >= 0.18.1 in order to get newer M4 files. The old M4 files associated with 0.17 caused problems on Solaris, which will hopefully be fixed with this. Reported by Dagobert Michelsen . ** i18n: Updated translations. ** API and ABI modifications. GSASL_CB_TLS_UNIQUE: Added, new property. GSASL_OPENID20_AUTH_IDENTIFIER: Added, new property. GSASL_NO_CB_TLS_UNIQUE: Added, new error code. GSASL_NO_OPENID20_AUTH_IDENTIFIER: Added, new error code. * Version 1.7.0 (released 2010-10-22) [alpha] ** SAML20: Implement new mechanism. Implements draft-ietf-kitten-sasl-saml-01. See tests/saml20.c for a self test that illustrate how the mechanism is intended to be used in both client and server mode. ** API and ABI modifications. GSASL_NO_SAML20_IDP_IDENTIFIER: ADDED. GSASL_NO_SAML20_REDIRECT_URL: ADDED. GSASL_SAML20_IDP_IDENTIFIER: ADDED. GSASL_SAML20_REDIRECT_URL: ADDED. GSASL_SAML20_AUTHENTICATE_IN_BROWSER: ADDED. GSASL_VALIDATE_SAML20: ADDED. * Version 1.6.1 (released 2011-05-01) [stable] ** libgsasl.pc: Add a Libs.private. Reported by Volker Grabsch . ** build: Demand gettext >= 0.18.1 in order to get newer M4 files. The old M4 files associated with 0.17 caused problems on Solaris, which will hopefully be fixed with this. Reported by Dagobert Michelsen . ** i18n: Updated translations. ** API and ABI modifications. No changes since last version. * Version 1.6.0 (released 2010-12-14) [stable] ** No changes since release candidate 1.5.5. ** API and ABI modifications. No changes since last version. * Version 1.5.5 (released 2010-12-09) [beta] ** API and ABI modifications. No changes since last version. * Version 1.5.4 (released 2010-11-14) [beta] ** SCRAM-SHA-1-PLUS: Fix parsing bug causing memory corruption. ** SCRAM: Fix memory leaks. ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 1.5.3 (released 2010-11-14) [beta] ** libgsasl: Added property for tls-unique channel binding. The new property GSASL_CB_TLS_UNIQUE takes a base64 encoded tls-unique channel binding. New error code GSASL_NO_CB_TLS_UNIQUE is returned when application fails to provide a channel binding and the mechanism requires it (i.e., in a PLUS server). ** SCRAM: Added support for SCRAM-SHA-1-PLUS with channel bindings. ** API and ABI modifications. GSASL_CB_TLS_UNIQUE: ADDED. GSASL_NO_CB_TLS_UNIQUE: ADDED. * Version 1.5.2 (released 2010-09-27) [beta] ** GSSAPI/GS2-KRB5: Support for MIT Kerberos for Windows GSS-API library. ** SCRAM server: Compare c= field in client-final to match client-first. Before our server did not verify that the channel binding and authorization identity fields weren't tampered with. Reported by Marc Santamaria . ** SCRAM server: Interop against clients that supports channel bindings. Before our server would refuse such connections. Reported by Marc Santamaria . ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 1.5.1 (released 2010-04-21) [beta] ** libgsasl: No longer require the same or newer libgcrypt it was built with. Before libgsasl refused to work if it was used with a libgcrypt shared library that was older than the version that libgsasl was built with. ** GS2: Fix decoding of invalid data in server. Code review fixes. ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 1.5.0 (released 2010-03-31) [beta] ** GS2-KRB5: New mechanism GS2 with support for Kerberos V5. The supported GSS-API implementations are GNU GSS, MIT Kerberos or Heimdal. The GS2-KRB5-PLUS variant with TLS channel bindings is not supported. GNU GSS version 1.0.0 or later is required. ** DIGEST-MD5: The server code now returns GSASL_OK after the final token. ** New error codes for GSS-API library errors (used by GS2). The error codes are GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR, GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR, GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR, GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR, and GSASL_GSSAPI_RELEASE_OID_SET_ERROR. ** API and ABI modifications. GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR: ADDED. GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR: ADDED. GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR: ADDED. GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR: ADDED. GSASL_GSSAPI_RELEASE_OID_SET_ERROR: ADDED. * Version 1.4.4 (released 2010-03-25) [stable] ** SCRAM: Fix build error on platforms without strnlen. ** API and ABI modifications. No changes since last version. * Version 1.4.3 (released 2010-03-25) [stable] ** SCRAM: Don't read out of bounds when parsing tokens. ** API and ABI modifications. No changes since last version. * Version 1.4.2 (released 2010-03-15) [stable] ** SCRAM: Encode and decode username/authzid properly. Before any username/authzid that contained '=' or ',' would not work. ** Fix typo in error message for GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR. ** i18n: Updated translations. ** API and ABI modifications. No changes since last version. * Version 1.4.1 (released 2010-02-16) [stable] ** API and ABI modifications. No changes since last version. * Version 1.4.0 (released 2009-11-17) [stable] ** No changes since 1.3.91 release candidate. ** API and ABI modifications. No changes since last version. * Version 1.3.91 (released 2009-11-06) [experimental] ** Fix Visual Studio project files to work with SCRAM. Suggested by Lothar May in . ** API and ABI modifications. No changes since last version. * Version 1.3.90 (released 2009-11-06) [experimental] ** libgsasl: Properly increment libtool version to reflect newly added ABIs. This was accidentally forgotten in the last release. ** libgsasl: Export gsasl_sha1 and gsasl_hmac_sha1 in linker version script. This was accidentally forgotten in the last release. ** libgsasl: Fix crash in SCRAM-SHA-1 client when the application provides ** a value for GSASL_SCRAM_SALTED_PASSWORD. ** libgsasl: Fix detection of libgcrypt during builds. Before libgcrypt was not detected and used by default unless you supplied --with-libgcrypt. ** i18n: Added Finnish translation. Thanks to Jorma Karvonen . ** i18n: Updated Vietnamese translation. Thanks to Clytie Siddall . ** API and ABI modifications. No changes since last version. * Version 1.3 (released 2009-10-08) ** libgsasl: Implement SCRAM-SHA-1. New properties are GSASL_SCRAM_ITER, GSASL_SCRAM_SALT, and GSASL_SCRAM_SALTED_PASSWORD. ** libgsasl: Add helper APIs for SHA-1 and HMAC-SHA-1. New functions are gsasl_sha1 and gsasl_hmac_sha1. ** API and ABI modifications. GSASL_SCRAM_ITER: ADDED. GSASL_SCRAM_SALT: ADDED. GSASL_SCRAM_SALTED_PASSWORD: ADDED. gsasl_sha1: ADDED. gsasl_hmac_sha1: ADDED. * Version 1.2 (released 2009-06-13) ** libgsasl: The library needs at most around 250 bytes of stack frame size. This is useful for embedded platforms with limited amount of RAM. Some functions that required a large stack has been rewritten, in order to achieve this goal. The 250 byte limit is now part of the regression test suite, so hopefully no function will ever require more than that amount of stack space in the future. ** libgsasl: Obsolete gsasl_md5pwd_get_password rewritten to use modern API. ** Include a copy of the GPLv3 license in the archive. Some parts, such as the gnulib self-tests, are licensed under the GPLv3. The library remains licensed under LGPLv2.1+ though. Reported by Vincent Untz in . ** API and ABI modifications. No changes since last version. * Version 1.1 (released 2009-03-25) ** DIGEST-MD5 client: Add support for client integrity layer. The layer is not used by default, the application needs to request it specifically in a callback or by setting the GSASL_QOP property. ** DIGEST-MD5: Decoding of integrity protected sessions now works better. Reported by Andery Melnikov . ** libgsasl: Add new property GSASL_QOPS. The DIGEST-MD5 server query for this property to get the set of quality of protection (QOP) values to advertise. The property holds strings with comma separated keywords denoting the set of qops to use, for example "qop-auth, qop-int". Valid keywords are "qop-auth", "qop-int", and "qop-conf". The GSSAPI mechanism may be enhanced to use this property as well in the future. ** libgsasl: Add new property GSASL_QOP. The DIGEST-MD5 client query for this property to get the quality of protection (QOP) values to request. The property value is one of the keywords for GSASL_QOPS. The client must chose one of the QOP values offered by the server (which may be inspected through the GSASL_QOPS property). The GSSAPI mechanism may be enhanced to use this property as well in the future. ** DIGEST-MD5 client: Now queries application for QOP value This makes it possible for client applications to request support for authentication only and/or authentication plus integrity. Before, the client only supported authentication. Note that confidentiality is not supported, and if you request it you will get an error. ** DIGEST-MD5 server: Now queries application for QOP values. This makes it possible for server applications to influence whether to advertise support for authentication only and/or authentication plus integrity. Before, the server unconditionally advertised support for both. Note that confidentiality is not supported, and if you request it you will get an error. Suggested by Andery Melnikov . ** DIGEST-MD5 server: No longer advertises support for integrity by default. You can request it specifically through a callback or setting the GSASL_QOPS property. ** libgsasl: Added C pre-processor expressions for version handling. The new symbols GSASL_VERSION_MAJOR, GSASL_VERSION_MINOR, GSASL_VERSION_PATCH, and GSASL_VERSION_NUMBER can be used in numeric comparisons to test version level. ** libgsasl: Use a LD version script on platforms where it is supported. Currently only GNU LD and the Solaris linker supports it. This helps Debian package tools to produce better dependencies. Before we used Libtool -export-symbols-regex that created an anonymous version tag. We use -export-symbols-regex when the system does not support LD version scripts, but that only affect symbol visibility. ** libgsasl: Compiled with -fvisibility=hidden by default if supported. Currently only GCC supports it for ELF targets. This hides internal symbols and has other advantages, see . ** API and ABI modifications. GSASL_VERSION_MAJOR: ADDED GSASL_VERSION_MINOR: ADDED GSASL_VERSION_PATCH: ADDED GSASL_VERSION_NUMBER: ADDED GSASL_QOP: ADDED GSASL_QOPS: ADDED * Version 1.0 (released 2009-01-23) ** Fix several compiler warnings. ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.29 (released 2008-10-21) ** DIGEST-MD5 server: Added callback to retrieve hashed secret. The callback is GSASL_DIGEST_MD5_HASHED_PASSWORD. Patch from "Gazsó Attila" . ** DIGEST-MD5 server: Convert realm from ISO 8859-1 to UTF-8 when needed. Reported by Adam Goode . ** libgsasl: Add function to print name of error codes. For example, gsasl_strerror_name(GSASL_OK) returns "GSASL_OK". ** libgsasl: Reduce complexity of gsasl_strerror. ** libgsasl: Obsolete base64 functions rewritten to use new functions. The old functions are gsasl_base64_encode and gsasl_base64_decode. This reduces size of the library somewhat. ** Make the library compile under MinGW again. ** Added Indonesian translation. Thanks to Andhika Padmawan . ** Perl is no longer required to build Libgsasl in Visual Studio. ** Fix several compiler warnings. ** API and ABI modifications. gsasl_strerror_name: ADDED * Version 0.2.28 (released 2008-08-20) ** New function to get mechanism name used in current session. The function is gsasl_mechanism_name. ** The library can be built using Visual Studio. Patches provided by Adam Strzelecki . See the manual, section 'Installing under Windows', for more information. ** Update gnulib files. Under Windows, the randomness functions will now prefer the Intel RND crypto provider. CryptAcquireContext is now invoked with the CRYPT_VERIFY_CONTEXT parameter. ** API and ABI modifications. gsasl_mechanism_name: ADD. * Version 0.2.27 (released 2008-07-01) ** DIGEST-MD5: Fix undefined symbol "utf8tolatin1ifpossible". This happened if --disable-server is used. Reported by Martin Lambers . ** Update gnulib files, and include gnulib self-tests. ** Update translations. ** API and ABI modifications. No changes since last version. * Version 0.2.26 (released 2008-05-05) ** Translations files not stored directly in git to avoid merge conflicts. This allows us to avoid use of --no-location which makes the translation teams happier. ** DIGEST-MD5 server: don't reject authentication if client doesn't use utf-8. Before, authentication from all non-UTF-8 clients were simply rejected. When this situation occurs now, the username is translated into UTF-8 before being passed on to applications. Further, the password retrieved from the application is converted from UTF-8 to ISO-8859-1 if that is possible. Reported by marty in . See also and . Thanks to Pawel Widera for testing and fixing a silly typo in the code that prevented it from working. ** DIGEST-MD5 client: convert password from UTF-8 to ISO-8859-1 before hash. For compatibility with server. ** API and ABI modifications. No changes since last version. * Version 0.2.25 (released 2008-03-10) ** Fix non-portable use of brace expansion in makefiles. ** Documentation improvements. ** API and ABI modifications. No changes since last version. * Version 0.2.24 (released 2008-01-15) ** When libgcrypt is used, disable secure memory to make things work. ** When built under MinGW, generate a libgsasl-XX.def using -Wl,--output-def. ** API and ABI modifications. No changes since last version. * Version 0.2.23 (released 2008-01-15) ** CRAM-MD5: Check return value from gc_nonce(). (SECURITY) If GNU SASL was not built against libgcrypt, and the --enable-nonce-device device file did not exist, building libgsasl would warn you but would continue. Further, the code in CRAM-MD5 to generate a challenge would not generate a new nonce each time, so depending on what's stored on the stack, you may get the same challenge each time. The function should have checked the return value from gc_nonce(). Reported by "Daniel Armyr" . ** Use gettext 0.17. ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.22 (released 2007-10-08) ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.21 (released 2007-08-22) ** DIGEST-MD5: Remove the extra leading, trailing, and intermediate commas. Patch from James Canete . ** API and ABI modifications. No changes since last version. * Version 0.2.20 (released 2007-08-11) ** Correctly increment the shared library version. I forgot to increment it in the last release, to indicate that a new API/ABI was added. ** If GSS-API and GS2 are disabled, don't bother linking to a GSS-API library. Reported by Maxim Britov . ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.19 (released 2007-07-09) ** New API gsasl_free to release memory allocated by other functions. This is useful on Windows where libgsasl uses one CRT and the application uses another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio. Suggested by Adam Strzelecki . ** Update gnulib files. ** API and ABI modifications. gsasl_free: ADD. * Version 0.2.18 (released 2007-06-07) ** Update gnulib files. Fixes cross-compilation to uClinux. ** API and ABI modifications. No changes since last version. * Version 0.2.17 (released 2007-06-01) ** GNU SASL is now developed using Git instead of CVS. A public git mirror is available from . ** Update gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.16 (released 2007-04-20) ** Translation updates. ** Fix gsasl_check_version logic. ** Now uses autoconf 2.61, automake 1.10, gettext 0.16.1. ** API and ABI modifications. No changes since last version. * Version 0.2.15 (released 2006-08-22) ** Changed libgsasl shared library version. The shared library version was not incremented correctly in the last release, even though new APIs were added. * Version 0.2.14 (released 2006-08-19) ** New functions to set per-session application hooks. Earlier only the global functions gsasl_callback_hook_set and gsasl_callback_hook_set were available, but with the new gsasl_session_hook_set and gsasl_session_hook_get, it is possible to store and retrieve per-session specific data. This simplifies callback handling in applications. Suggested by James Mansion. The new function supersede the gsasl_client_application_data_get, gsasl_client_application_data_set, gsasl_server_application_data_get, and gsasl_server_application_data_set functions in the obsolete API. ** API and ABI modifications. gsasl_session_hook_get, gsasl_session_hook_set: ADD. * Version 0.2.13 (released 2006-06-14) ** Update of gnulib files. Further improves portability to MinGW. ** Fix memory leak in gsasl_client_listmech and gsasl_server_listmech. ** Configure fixes, for portability. ** API and ABI modifications. No changes since last version. * Version 0.2.12 (released 2006-03-08) ** Add -no-undefined to libtool command, to build DLL and import library on Mingw32. Reported by Francis Brosnan Blazquez . ** Improved validation of received strings in the DIGEST-MD5 parser. ** Enable fixed self-test of DIGEST-MD5 parser. ** Update of gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.11 (released 2006-02-07) ** Ported to Windows by cross-compiling using Mingw32. Using Debian's mingw32 compiler, you can build it for Windows by invoking `./configure --host=i586-mingw32msvc --disable-gssapi'. ** Fix memory leak in gsasl_simple_getpass. ** Update of gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.10 (released 2005-10-23) ** Improve configure checks for libidn, libntlm, libgss and libshishi presence. ** Update of gnulib files, now includes self tests. ** API and ABI modifications. No changes since last version. * Version 0.2.9 (released 2005-10-07) ** Fix build error with some compilers in GSS-API mechanism. ** Gnulib is now used for crypto functions, instead of Nettle in crypto/. Libgcrypt can still optionally be used through --with-libgcrypt. ** API and ABI modifications. No changes since last version. * Version 0.2.8 (released 2005-09-08) ** The PLAIN mechanism is preferred over LOGIN when both are available. ** Improved checking for libidn when the system need -R, -rpath or similar. ** API and ABI modifications. No changes since last version. * Version 0.2.7 (released 2005-08-25) ** Fixed bug in GNU SASL 0.1.x.backwards compatibility code in the ** callback for GSASL_PASSWORD. ** Eliminated some compiler warnings. ** API and ABI modifications. No changes since last version. * Version 0.2.6 (released 2005-08-10) ** The SASL PLAIN server now permit unassigned code points in SASLprep. This aligns with draft-ietf-sasl-plain-08.txt which is in last call. ** Fix use of 'head -1' in configure script. Replaced with more portable and compliant command 'sed 1q', thanks to Carsten Lohrke. ** The macro AX_CREATE_STDINT_H used to find uint8_t, uint32_t etc was updated. Should only be relevant if you use Nettle rather than libgcrypt. ** The license template in files were updated with the new FSF address. ** gsasl_check_version simplified and made more robust. ** Update of gnulib files. ** API and ABI modifications. No changes since last version. * Version 0.2.5 (released 2005-02-08) ** Strings that trigger the Unicode NFKC bug in PR#29 are now rejected. This is only enabled if you use Libidn 0.5.0 or later. ** ANONYMOUS server reject empty and overlong tokens. ** EXTERNAL client now return empty data instead of NULL for empty authzid. ** Typos in gsasl_strerror() messages fixed, thanks to Clytie Siddall. ** API and ABI modifications. No changes since last version. * Version 0.2.4 (released 2005-01-01) ** The CRAM-MD5 mechanism is now preferred over DIGEST-MD5. This decision was based on recent public research that suggest MD5 is broken, while HMAC-MD5 not immediately compromised, and the lack of public analysis on what consequences the MD5 break have for DIGEST-MD5. Support for CRAM-SHA1 is under investigation, to enable users to avoid MD5 completely ** The DIGEST-MD5 mechanism is rewritten and enabled by default. The implementation is written so it can be used separately from GNU SASL in your own product, it only uses C89 and two external symbols for MD5 and HMAC-MD5. For more information, see digest-md5/README. ** Improvements to the PLAIN server. It now prepare the incoming authid and password using SASLprep (unassigned code point will be rejected). It should also reject invalid input better. ** Improved robustness of callback backwards compatibility. ** Memory leaks fixed. ** New simple user database API `gsasl_simple_getpass'. This replaces gsasl_md5pwd_get_password. The functionality is the same, only the API changed (to remove fixed size buffer restrictions). ** New configure option --disable-obsolete to remove backwards compatibility. This is mostly intended to be used when compiling for platforms with constrained memory/space resources. ** Gnulib files were updated. ** API and ABI modifications. gsasl_md5pwd_get_password: DEPRECATED. Use gsasl_simple_getpass() instead. gsasl_simple_getpass: ADD. No buffer length restriction. GSASL_FOPEN_ERROR: DEPRECATED. Not used any more. GSASL_FCLOSE_ERROR: DEPRECATED. Not used any more. GSASL_NO_MORE_REALMS: DEPRECATED. Not used any more. GSASL_INVALID_HANDLE: DEPRECATED. Not used any more. * Version 0.2.3 (released 2004-12-15) ** NTLM now set the 'domain' field to the GSASL_REALM property value. Some servers appear to need non-empty but arbitrary domain values, reported by Martin Lambers. ** PLAIN client no longer perform NFKC on strings. This aligns with draft-ietf-sasl-plain-05. ** LOGIN client no longer perform NFKC on strings. There is no specification for LOGIN, but arguable it should use SASLprep, but on the server side. ** DIGEST-MD5 is disabled by default, pending a rewrite for the new API. The mechanism still work if your application is using the old callback API, in which case you may enable it (--enable-digest-md5) to have the same functionality as in older versions. ** LOGIN client now uses authentication identity, not authorization identity, reported by Martin Lambers. ** PLAIN client now work when no authorization identity is provided, reported by Martin Lambers. ** Callback backwards compatibility improved, thanks to Sergey Poznyakoff. The GSASL_VALIDATE_SIMPLE and GSASL_PASSWORD are now translated into calls to gsasl_server_callback_validate_get() and gsasl_server_callback_retrieve_get(), respectively. ** A crash in the new base64 code was fixed. ** Use of SASLprep in CRAM-MD5 changed. The client now prepare authid/password as if they were query strings. The server prepare the password as a storage string. ** The shared library version was incremented to reflect that the base64 APIs were added, this was forgotten in the last release. ** Disabling Libidn/SASLprep should now result in a RFC 2222 compliant library. However, it will reject non-ASCII strings, since the handling of those strings was not specified in RFC 2222. ** API and ABI modifications. gsasl_stringprep_nfkc, gsasl_stringprep_saslprep, gsasl_stringprep_trace: DEPRECATED. Use gsasl_saslprep() instead. gsasl_saslprep: ADD. Gsasl_saslprep_flags: ADD. New enum type to go with gsasl_saslprep. GSASL_REALM: ADD, new property. GSASL_UNICODE_NORMALIZATION_ERROR: DEPRECATED. Use GSASL_SASLPREP_ERROR instead. GSASL_CANNOT_VALIDATE: REMOVED. Never used for any reasonable purpose. * Version 0.2.2 (released 2004-11-29) ** Fix memory leak in server-side CRAM-MD5. ** Fix read out of bound error in client-side CRAM-MD5. ** Tighten the base64 decoder, will not accept white space in input. ** Documentation fixes. ** API and ABI modifications. gsasl_base64_encode, gsasl_base64_decode: DEPRECATED. gsasl_base64_to, gsasl_base64_from: NEW. Allocates the output buffer. * Version 0.2.1 (released 2004-11-19) ** Fix DIGEST-MD5 application data encode/decode functions. ** Documentation fixes; the old callback API functions are marked as obsolete. ** API and ABI modifications. No changes since last version. * Version 0.2.0 (released 2004-11-07) ** Important information for 0.0.x or 0.1.x users. The only externally visible (i.e., in the API/ABI-sense) effect of the internal changes made in this version is that GSASL_ENCODE and GSASL_DECODE have been renamed to, respectively, GSASL_ENCODE_INLINE and GSASL_DECODE_INLINE, and that the original functions have been modified to allocate the output buffer. The GSASL_??CODE_INLINE functions were added to simplify upgrading existing applications. We regret breaking backwards compatibility, but we felt it was necessary to fix this. ** The EXTERNAL mechanism now support authorization identities. ** Major internal overhaul. This was done to get rid of all fixed size buffers, and to clean up the callback interface. Now, all functions that return data of non-fixed size will allocate the output, and the caller is responsible for deallocating the data. Further, the callback interface has been simplified, from having one callback function per data item. There is now only one callback function, that receive an enumerated integer type indicating the requested operation. ** Update of generic crypto layer. ** Now possible to add a new SASL mechanism during run-time. Implement the Gsasl_*_function interfaces, populate a Gsasl_mechanism struct with name of SASL mechanism and the function pointers, and call gsasl_register to register your new mechanism. The library will now offer and use your mechanism. The internal mechanisms use the same interface. This is the first step toward a dynamic dl_open() approach. ** A few memory leaks fixed. ** Translation fixes. ** Libtool's -export-symbols-regex is now used to only export official APIs. Before, applications might accidentally access internal functions. Note that this is not supported on all platforms, so you must still make sure you are not using undocumented symbols in Libgsasl. ** API and ABI modifications. The only non-backwards compatible change is for gsasl_encode and gsasl_decode, see above. The library is both source and binary backwards compatible otherwise, although some functions have been deprecated in favor of new functions. gsasl_encode, gsasl_decode: MODIFIED. Now allocate the output parameter. gsasl_encode_inline, gsasl_decode_inline: ADD, DEPRECATED. Same as the old gsasl_encode and gsasl_decode, to simplify conversion. gsasl_server_suggest_mechanism: DEPRECATED. This was a thinko, there is never a need for something like this function. Gsasl_callback: ADD. New function prototype. gsasl_callback_set: ADD. New functions. gsasl_callback: ADD. New functions. GSASL_NO_CALLBACK, GSASL_NO_ANONYMOUS_TOKEN: ADD. New error codes. Gsasl_client_callback_anonymous, Gsasl_client_callback_authentication_id, Gsasl_client_callback_authorization_id, Gsasl_client_callback_password, Gsasl_client_callback_passcode, Gsasl_client_callback_pin, Gsasl_client_callback_service, Gsasl_client_callback_qop, Gsasl_client_callback_maxbuf, Gsasl_client_callback_realm, Gsasl_server_callback_retrieve, Gsasl_server_callback_validate, Gsasl_server_callback_gssapi, Gsasl_server_callback_securid, Gsasl_server_callback_cram_md5, Gsasl_server_callback_digest_md5, Gsasl_server_callback_service, Gsasl_server_callback_external, Gsasl_server_callback_anonymous, Gsasl_server_callback_realm, Gsasl_server_callback_qop, Gsasl_server_callback_maxbuf, Gsasl_server_callback_cipher: DEPRECATED. Old callback function prototypes. gsasl_client_callback_*, gsasl_server_callback_*: DEPRECATED. Old callback set/get interface. Gsasl_property, GSASL_CLIENT_*, GSASL_SERVER_*: ADD. New enumerated type. gsasl_property_set, gsasl_property_set_raw, gsasl_property_get, gsasl_property_fast: ADD. New functions. gsasl_application_data_get, gsasl_application_data_set: DEPRECATED. gsasl_appinfo_get, gsasl_appinfo_set: DEPRECATED. gsasl_callback_hook_get, gsasl_callback_hook_set: ADD. Replaces previous functions. Gsasl_init_function, Gsasl_done_function, Gsasl_code_function, Gsasl_start_function, Gsasl_step_function, Gsasl_finish_function: ADD. Gsasl_mechanism_functions, Gsasl_mechanism: ADD. gsasl_register: ADD. gsasl_ctx_get: DEPRECATED. Not useful, application callback now get both library and session context. * Version 0.1.4 (released 2004-08-08) ** Fix various compile time warnings. ** Revamp of gnulib compatibility files. ** More translations. French (by Michel Robitaille), Dutch (by Elros Cyriatan), Polish (by Jakub Bogusz), and Romanian (by Laurentiu Buzdugan). ** API and ABI modifications. No changes since last version. * Version 0.1.3 (released 2004-08-04) ** API and ABI modifications. No changes since last version. * Version 0.1.2 (released 2004-07-16) ** Cross compile builds should work. It should work for any sane cross compile target, but the only tested platform is uClibc/uClinux on Motorola Coldfire. ** API and ABI modifications. No changes since last version. * Version 0.1.1 (released 2004-06-26) ** gsasl_client_suggest_mechanism and gsasl_server_suggest_mechanism now work. Earlier they were not implemented at all. ** GSS-API now support data integrity and privacy options (experimental!). ** Internal crypto framework rehashed. Now the selection between Nettle/Libgcrypt happens inside crypto/, and gc.h is the generic header that is used by the rest of the package. ** API and ABI modifications. gsasl_random: ADD. gsasl_nonce: ADD. gsasl_randomize: DEPRECATED. Use either gsasl_random or gsasl_nonce. * Version 0.1.0 (released 2004-04-16) ** The library re-licensed to LGPL and distributed as a separate package. This means a fork of this NEWS file, all the entries below relate to the combined work of earlier versions. New entries above only document user visible aspects of the library ("libgsasl"); for information about the command line interface and other things ("gsasl") see the NEWS file in the gsasl distribution. To make matters more confusing, the "gsasl" distribution includes a copy of the "libgsasl" distribution. ** API and ABI modifications. No changes since last version. * Version 0.0.14 (released 2004-01-22) ** Moved all mechanism specific code into sub-directories of lib/. Each backend is built into its own library (e.g., libgsasl-plain.so), to facilitate future possible use of dlopen to dynamically load backends. ** Moved compatibility files (getopt*) to gl/, and added more (strdup*). * Version 0.0.13 (released 2004-01-17) ** Nettle (the crypto functionality, crypto/) has been updated. This fixes two portability issues, the new code should work on platforms that doesn't have inttypes.h and alloca. * Version 0.0.12 (released 2004-01-15) ** Protocol line parser in 'gsasl' tool more reliable. Earlier it assumed two lines were sent in one packet in one place, and sent as two packets in another place. ** Various bugfixes. * Version 0.0.11 (released 2004-01-06) ** The client part of CRAM-MD5 now uses SASLprep instead of NFKC. This aligns with draft-ietf-sasl-crammd5-01. ** The CRAM-MD5 challenge string now conform to the proper syntax. ** The string preparation (SASLprep and trace) functions now work correctly. ** DocBook manuals no longer included. The reason is that recent DocBook tools from the distribution I use (Debian) fails with an error. DocBook manuals may be included in the future, if I can get the tools to work. ** API and ABI modifications. GSASL_SASLPREP_ERROR: ADD. * Version 0.0.10 (released 2003-11-22) ** The CRAM-MD5 server now reject invalid passwords. The logic flaw was introduced in 0.0.9, after blindly making code changes to shut up valgrind just before the release. ** Various build improvements. Pkg-config is no longer needed. GTK-DOC is only used if present. * Version 0.0.9 (released 2003-11-21) ** Command line client can talk to SMTP servers with --smtp. ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included. ** Token parser in DIGEST-MD5 fixed, improve interoperability of DIGEST-MD5. ** Libgcrypt >= 1.1.42 is used if available (for CRAM-MD5 and DIGEST-MD5). The previous libgcrypt API is no longer supported. ** CRAM-MD5 and DIGEST-MD5 no longer require libgcrypt (but can still use it). If libgcrypt 1.1.42 or later is not found, it uses a minimalistic cryptographic library based on Nettle, from crypto/. Currently only MD5 and HMAC-MD5 is needed, making a dependence on libgcrypt overkill. ** Listing supported server mechanisms with gsasl_server_mechlist work. ** Autoconf 2.59, Automake 1.8 beta, Libtool CVS used. ** Source code for each SASL mechanism moved to its own sub-directory in lib/. ** The command line interface now uses getopt instead of argp. The reason is portability, this also means we no longer use gnulib. ** API and ABI modifications. gsasl_randomize: ADD. gsasl_md5: ADD. gsasl_hmac_md5: ADD. gsasl_hexdump: REMOVED. Never intended to be exported. gsasl_step: ADD. gsasl_step64: ADD. gsasl_client_step: DEPRECATED: use gsasl_step instead. gsasl_server_step: DEPRECATED: use gsasl_step instead. gsasl_client_step_base64: DEPRECATED: use gsasl_step64 instead. gsasl_server_step_base64: DEPRECATED: use gsasl_step64 instead. gsasl_finish: ADD. gsasl_client_finish: DEPRECATED: use gsasl_finish instead. gsasl_server_finish: DEPRECATED: use gsasl_finish instead. gsasl_ctx_get: ADD. gsasl_client_ctx_get: DEPRECATED: use gsasl_ctx_get instead. gsasl_server_ctx_get: DEPRECATED: use gsasl_ctx_get instead. gsasl_appinfo_get: ADD. gsasl_appinfo_set: ADD. gsasl_client_application_data_get: DEPRECATED: use gsasl_appinfo_get instead. gsasl_client_application_data_set: DEPRECATED: use gsasl_appinfo_set instead. gsasl_server_application_data_get: DEPRECATED: use gsasl_appinfo_get instead. gsasl_server_application_data_set: DEPRECATED: use gsasl_appinfo_set instead. Gsasl: ADD. Gsasl_ctx: DEPRECATED: use Gsasl instead. Gsasl_session: ADD. Gsasl_session_ctx: DEPRECATED: use Gsasl_session instead. GSASL_CRYPTO_ERROR: ADD, replaces deprecated GSASL_LIBGCRYPT_ERROR. GSASL_LIBGCRYPT_ERROR: DEPRECATED: use GSASL_CRYPTO_ERROR instead. GSASL_KERBEROS_V5_INTERNAL_ERROR: ADD, replaces deprecated GSASL_SHISHI_ERROR. GSASL_SHISHI_ERROR: DEPRECATED: use GSASL_KERBEROS_V5_INTERNAL_ERROR instead. GSASL_INVALID_HANDLE: ADD. * Version 0.0.8 (released 2003-10-11) ** Improved GSSAPI implementation detection. Auto detection should work, unless you have both MIT and Heimdal, or wish to override the default that prefer GSS over Heimdal over MIT. In that case, use --enable-gssapi=mit or --enable-gssapi=heimdal. ** GNU SASL contain APIs for internationalized string processing via SASLprep. You no longer have to use Libidn directly. ** Man pages for all public functions are included. ** GNULib is used for compatibility functions. The directory gl/ is dedicated for GNULib functions, and replace the earlier ad-hoc usage of argp, memset, etc. ** GNU SASL will be C89 compatible. The library itself (lib/*) only use C89. The remaining parts (src/ and tests/) can use C89 and any functionality from GNULib. This decision may be revised in the future, if it turns out there are problems with this. ** Improvements for embedded or otherwise limited systems. The math library (-lm) is no longer required. All client code can be disabled by --disable-client, and all server code can be disabled by --disable-server. The internationalized string processing library can be disabled by --without-stringprep. ** Gettext 0.12.1 and Libtool 1.5 is used. ** Libgcrypt from CVS (1.1.42) is not supported. Recent libgcrypt is API incompatible with earlier released versions. If a too recent version is installed, it will not be used. ** Fix command line tool '--connect --imap' on Solaris. ** Bug fixes. ** API and ABI modifications. Gsasl_client_callback_maxbuf: CHANGED: 'int' was replaced with 'size_t'. Gsasl_server_callback_maxbuf: CHANGED: 'int' was replaced with 'size_t'. gsasl_client_mechlist: NEW. gsasl_server_mechlist: NEW. gsasl_client_listmech: DEPRECATED: use gsasl_client_mechlist instead. gsasl_server_listmech: DEPRECATED: use gsasl_server_mechlist instead. gsasl_stringprep_nfkc: NEW. gsasl_stringprep_saslprep: NEW. gsasl_stringprep_trace: NEW. * Version 0.0.7 (released 2003-06-02) ** Two new GSS libraries supported for the GSS-API mechanism. See http://josefsson.org/gss/ for GSS, which uses Shishi for Kerberos 5. See http://www.pdc.kth.se/heimdal/ for Heimdal (Kerberos 5). ** Bug fixes. * Version 0.0.6 (released 2003-03-17) ** Gettext not included. Due to some conflicts between libtool and gettext, if you want i18n on platforms that does not already have a useful gettext implementation, you must install GNU gettext before building this package. If you don't care about i18n, this package should work fine (except for i18n, of course). ** Rudimentary support for KERBEROS_V5. Only enable if you want to write code. This adds two new API errors; GSASL_KERBEROS_V5_INIT_ERROR, GSASL_SHISHI_ERROR. ** Added API function: gsasl_client_callback_realm_set. Specifies which realm the client belongs to. ** Bugfixes. User visible aspects includes not building the API Reference Manual with GTK-DOC by default, if you want it use configure parameter --enable-gtk-doc. * Version 0.0.5 (released 2003-01-27) ** Command line application "gsasl" now supports --imap and --connect. The --imap parameter makes it use a IMAP-like negotiation on stdin/stdout. The --connect parameter makes it connect to a host over TCP, and talk to it instead of stdin/stdout. This allows it to be used as a simple test tool to connect to IMAP servers. Currently integrity and confidentiality is not working properly, so if you use DIGEST-MD5 you currently have to specify --quality-of-protection=auth. ** Texinfo documentation added for command line tool. ** Libgcrypt initialization no longer causes a warning to be printed. ** Added API reference manual in HTML format, generated using GTK-DOC. See doc/reference/, in particular doc/reference/html/index.html. ** GNU Libidn replaces Libstringprep. Although it is still stored in the libstringprep/ directory for CVS reasons. ** Bug fixes for DIGEST-MD5 and GSSAPI. * Version 0.0.4 (released 2002-12-13) ** License changed to GPL. ** Official GNU project. * Version 0.0.3 (released 2002-12-05) ** New gsasl arguments --application-data and --no-client-first. ** Bug fixes (client sends first, memory leaks, compiler warnings, more). * Version 0.0.2 (released 2002-11-07) ** Includes a copy of libstringprep 0.0.2 for Unicode NFKC normalization and locale charset to UTF-8 string conversion, and preparation for the future if a SASL Stringprep profile is created. If libstringprep is already installed, it is used by default. You can force the use of the internal version with --without-system-libstringprep. ** Uses pkg-config instead of libgsasl.m4 + libgsasl-config.in, and for finding libntlm (requires libntlm 0.3.1 or later). ** Self tests for several mechanisms. ** The API now allows mechanisms to return data even when returning GSASL_OK (earlier only on GSASL_NEEDS_MORE). ** Bug fixes. * Version 0.0.1 (released 2002-10-12) ** APIs for integrity and confidentiality protection of application payload data. ** DIGEST-MD5 support for integrity protection. * Version 0.0.0 (released 2002-10-07) ** Initial release. ---------------------------------------------------------------------- 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. ;;; Local Variables: *** ;;; mode:outline *** ;;; mode:flyspell *** ;;; End: *** gsasl-1.8.1/Makefile.am0000644000000000000000000000162613516267563011600 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . SUBDIRS = lib po gl src examples tests doc gltests EXTRA_DIST = cfg.mk maint.mk .clcopying ACLOCAL_AMFLAGS = -I m4 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-obsolete --with-gssapi-impl=no gsasl-1.8.1/cfg.mk0000644000000000000000000001703513521011224010606 00000000000000# Copyright (C) 2006-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . WFLAGS ?= --enable-gcc-warnings ADDFLAGS ?= CFGFLAGS ?= --enable-gtk-doc --enable-gtk-doc-pdf $(ADDFLAGS) $(WFLAGS) _build-aux = lib/build-aux INDENT_SOURCES = `find . -name '*.[chly]' | grep -v -e /gl -e build-aux -e /win32/ -e /examples/` ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile) .DEFAULT_GOAL := bootstrap endif local-checks-to-skip = sc_prohibit_strcmp sc_error_message_uppercase \ sc_prohibit_have_config_h sc_require_config_h \ sc_require_config_h_first sc_immutable_NEWS sc_po_check \ sc_prohibit_gnu_make_extensions VC_LIST_ALWAYS_EXCLUDE_REGEX = \ ^((lib/)?GNUmakefile|gtk-doc.make|m4/pkg.m4|doc/gendocs_template|doc/fdl-1.3.texi|doc/specification|doc/doxygen/Doxyfile|(lib/)?po/.*.po.in|(lib/)?maint.mk|((lib/)?(gl|gltests|build-aux))/.*) # Explicit syntax-check exceptions. exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^(lib/)?ABOUT-NLS|doc/.*\.(dia|png)|tests/gssapi.tkt$$ exclude_file_name_regexp--sc_GPL_version = ^doc/lgpl-2.1.texi|lib/.*$$ exclude_file_name_regexp--sc_copyright_check = ^doc/gsasl.texi$$ exclude_file_name_regexp--sc_m4_quote_check = ^m4/.*|lib/m4/.*$$ exclude_file_name_regexp-- = ^m4/.*|lib/m4/.*$$ exclude_file_name_regexp--sc_unmarked_diagnostics = ^examples/.*|src/gsasl.c$$ exclude_file_name_regexp--sc_makefile_TAB_only_indentation = ^(lib/)?po/Makefile.in.in$$ exclude_file_name_regexp--sc_makefile_path_separator_check = ^(lib/)?po/Makefile.in.in$$ exclude_file_name_regexp--sc_bindtextdomain = ^doc/print-errors.c|examples/.*|lib/digest-md5/test-parser.c|lib/tests/test-error.c|tests/.*$$ exclude_file_name_regexp--sc_program_name = $(exclude_file_name_regexp--sc_bindtextdomain) exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(lib/)?m4/.*|doc/gsasl.texi|examples/(openid20|saml20)/.*.php|tests.*$$ exclude_file_name_regexp--sc_trailing_blank = ^doc/.*\.(eps|png)|(lib/)?po/.*$$ exclude_file_name_regexp--sc_space_tab = ^(lib/)?m4/lib-prefix.m4$$ exclude_file_name_regexp--sc_useless_cpp_parens = ^(lib/)?m4/.*$$ update-copyright-env = UPDATE_COPYRIGHT_HOLDER="Simon Josefsson" UPDATE_COPYRIGHT_USE_INTERVALS=2 UPDATE_COPYRIGHT_FORCE=1 autoreconf: for f in po/*.po.in lib/po/*.po.in; do \ cp $$f `echo $$f | sed 's/.in//'`; \ done touch ChangeLog lib/ChangeLog test -f ./configure || AUTOPOINT=true autoreconf --install update-po: $(MAKE) -C lib refresh-po PACKAGE=libgsasl $(MAKE) refresh-po PACKAGE=gsasl for f in `ls lib/po/*.po po/*.po | grep -v quot.po`; do \ cp $$f $$f.in; \ done git add po/*.po.in lib/po/*.po.in git commit -m "Sync with TP." \ po/LINGUAS po/*.po.in lib/po/LINGUAS lib/po/*.po.in bootstrap: autoreconf ./configure $(CFGFLAGS) glimport: gtkdocize --copy autopoint --force cd lib && autopoint --force gnulib-tool --add-import cd lib && gnulib-tool --add-import review-diff: git diff `git describe --abbrev=0`.. \ | grep -v -e ^index -e '^diff --git' \ | filterdiff -p 1 -x 'gl/*' -x 'm4/*' -x 'gltests/*' -x 'lib/build-aux/*' -x 'lib/gl*' -x 'lib/m4/*' -x 'lib/gltests/*' -x 'po/*' -x 'lib/po/*' -x 'maint.mk' -x 'lib/maint.mk' -x '.gitignore' -x '.x-sc*' -x ChangeLog -x GNUmakefile -x ABOUT-NLS -x lib/ABOUT-NLS \ | less # Release htmldir = ../www-$(PACKAGE) i18n: -$(MAKE) update-po coverage-my: ln -s . gl/unistr/unistr ln -s . gltests/glthread/glthread ln -s . gltests/unistr/unistr $(MAKE) coverage WERROR_CFLAGS= VALGRIND= coverage-copy: rm -fv `find $(htmldir)/coverage -type f | grep -v CVS` mkdir -p $(htmldir)/coverage/ cp -rv $(COVERAGE_OUT)/* $(htmldir)/coverage/ coverage-upload: cd $(htmldir) && \ find coverage -type d -! -name CVS -! -name '.' \ -exec cvs add {} \; && \ find coverage -type d -! -name CVS -! -name '.' \ -exec sh -c "cvs add -kb {}/*.png" \; && \ find coverage -type d -! -name CVS -! -name '.' \ -exec sh -c "cvs add {}/*.html" \; && \ cvs add coverage/$(PACKAGE).info coverage/gcov.css || true && \ cvs commit -m "Update." coverage clang: make clean scan-build ./configure rm -rf scan.tmp scan-build -o scan.tmp make clang-copy: rm -fv `find $(htmldir)/clang-analyzer -type f | grep -v CVS` mkdir -p $(htmldir)/clang-analyzer/ cp -rv scan.tmp/*/* $(htmldir)/clang-analyzer/ clang-upload: cd $(htmldir) && \ cvs add clang-analyzer || true && \ cvs add clang-analyzer/*.css clang-analyzer/*.js \ clang-analyzer/*.html || true && \ cvs commit -m "Update." clang-analyzer cyclo-copy: cp -v doc/cyclo/cyclo-$(PACKAGE).html $(htmldir)/cyclo/index.html cyclo-upload: cd $(htmldir) && cvs commit -m "Update." cyclo/index.html gendoc-copy: cd doc && env MAKEINFO="makeinfo -I ../examples" \ TEXI2DVI="texi2dvi -I ../examples" \ $(SHELL) ../$(_build-aux)/gendocs.sh \ --html "--css-include=texinfo.css" \ -o ../$(htmldir)/manual/ $(PACKAGE) "$(PACKAGE_NAME)" gendoc-upload: cd $(htmldir) && \ cvs add manual || true && \ cvs add manual/html_node || true && \ cvs add -kb manual/*.gz manual/*.pdf || true && \ cvs add manual/*.txt manual/*.html \ manual/html_node/*.html || true && \ cvs commit -m "Update." manual/ gtkdoc-copy: mkdir -p $(htmldir)/reference/ cp -v doc/reference/$(PACKAGE).pdf \ doc/reference/html/*.html \ doc/reference/html/*.png \ doc/reference/html/*.devhelp2 \ doc/reference/html/*.css \ $(htmldir)/reference/ gtkdoc-upload: cd $(htmldir) && \ cvs add reference || true && \ cvs add -kb reference/*.png reference/*.pdf || true && \ cvs add reference/*.html reference/*.css \ reference/*.devhelp2 || true && \ cvs commit -m "Update." reference/ doxygen-copy: cd doc/doxygen && \ doxygen && \ cd ../.. && \ cp -v doc/doxygen/html/* $(htmldir)/doxygen/ && \ cd doc/doxygen/latex && \ make refman.pdf && \ cd ../../../ && \ cp doc/doxygen/latex/refman.pdf $(htmldir)/doxygen/$(PACKAGE).pdf doxygen-upload: cd $(htmldir) && \ cvs commit -m "Update." doxygen/ ChangeLog: git2cl > ChangeLog cat .clcopying >> ChangeLog tag = $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'` tarball: $(MAKE) -C lib tarball ! git tag -l $(tag) | grep $(PACKAGE) > /dev/null rm -f ChangeLog $(MAKE) ChangeLog distcheck binaries: -mkdir windows/dist cp $(distdir).tar.gz windows/dist cd windows && $(MAKE) -f gsasl4win.mk gsasl4win VERSION=$(VERSION) source: git tag -s -m $(VERSION) $(tag) release-check: syntax-check i18n tarball cyclo-copy gendoc-copy gtkdoc-copy doxygen-copy coverage-my coverage-copy clang clang-copy release-upload-www: cyclo-upload gendoc-upload gtkdoc-upload doxygen-upload coverage-upload clang-upload site = ftp.gnu.org release-upload-ftp: $(_build-aux)/gnupload --to $(site):$(PACKAGE) $(distdir).tar.gz cd lib && ../$(_build-aux)/gnupload --to $(site):$(PACKAGE) lib$(distdir).tar.gz cd windows && ../$(_build-aux)/gnupload --to $(site):$(PACKAGE) gsasl-*.zip cp -v $(distdir).tar.gz* lib/lib$(distdir).tar.gz* windows/gsasl-*.zip* ../releases/$(PACKAGE)/ git push git push --tags release: release-check release-upload-www source release-upload-ftp gsasl-1.8.1/ChangeLog0000644000000000000000000242465313521017723011314 000000000000002019-08-02 Simon Josefsson * NEWS, lib/NEWS: Version 1.8.1. 2019-08-02 Simon Josefsson * THANKS, lib/NEWS, lib/gssapi/server.c: GSSAPI server: Fix memory leak after successful authentication. Report and patch by Goktan Kantarcioglu. 2019-08-02 Simon Josefsson * cfg.mk: Drop Windows binaries from the release for now. 2019-08-02 Simon Josefsson * cfg.mk: Fix review-diff. 2019-08-02 Simon Josefsson * NEWS: Add. 2019-08-02 Simon Josefsson * AUTHORS: Update PGP key. 2019-08-02 Simon Josefsson * tests/libgsasl.supp: Add. 2019-08-02 Simon Josefsson * .gitignore: Ignore more. 2019-07-25 Simon Josefsson * lib/NEWS, lib/src/crypto.c, lib/src/gsasl.h: libgsasl: gsasl_md5, gsasl_hmac_md5, gsasl_sha1, gsasl_hmac_sha1 API fix. 2019-07-25 Simon Josefsson * cfg.mk: Syntax-check fixes. 2019-07-25 Simon Josefsson * tests/gssapi.tkt: Re-generated. 2019-07-25 Simon Josefsson * cfg.mk, lib/digest-md5/test-parser.c, tests/Makefile.am, tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/openid20.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c: Fix self-check build warnings. 2019-07-25 Simon Josefsson * cfg.mk, gtk-doc.make, m4/gtk-doc.m4: Update gtk-doc files. 2019-07-25 Simon Josefsson * configure.ac, examples/client-callback.c, examples/client-xmpp-saml20.c, examples/server-xmpp-saml20.c, lib/configure.ac, lib/cram-md5/challenge.c, lib/cram-md5/digest.c, src/callbacks.c, src/gsasl.c, tests/utils.c: Fix compiler warnings. 2019-07-25 Simon Josefsson * .gitignore, ABOUT-NLS, Makefile.am, cfg.mk, gl/Makefile.am, gltests/pthread.in.h, lib/ABOUT-NLS, lib/Makefile.am, lib/gl/Makefile.am, lib/gltests/pthread.in.h, {gl => lib}/m4/00gnulib.m4, lib/{gl => }/m4/__inline.m4, {gl => lib}/m4/absolute-header.m4, lib/{gl => }/m4/af_alg.m4, {gl => lib}/m4/alloca.m4, {gl => lib}/m4/arpa_inet_h.m4, lib/{gl => }/m4/base64.m4, lib/{gl => }/m4/builtin-expect.m4, lib/{gl => }/m4/byteswap.m4, {gl => lib}/m4/close.m4, lib/m4/codeset.m4, {gl => lib}/m4/ctype.m4, {gl => lib}/m4/dup2.m4, {gl => lib}/m4/eealloc.m4, {gl => lib}/m4/environ.m4, {gl => lib}/m4/errno_h.m4, {gl => lib}/m4/exponentd.m4, {gl => lib}/m4/extensions.m4, {gl => lib}/m4/extern-inline.m4, {gl => lib}/m4/fcntl-o.m4, {gl => lib}/m4/fcntl.m4, {gl => lib}/m4/fcntl_h.m4, {gl => lib}/m4/fdopen.m4, lib/{gl => }/m4/fflush.m4, {gl => lib}/m4/float_h.m4, {gl => lib}/m4/fpieee.m4, lib/{gl => }/m4/fpurge.m4, lib/{gl => }/m4/freading.m4, {gl => lib}/m4/fseek.m4, {gl => lib}/m4/fseeko.m4, {gl => lib}/m4/fstat.m4, lib/{gl => }/m4/ftell.m4, lib/{gl => }/m4/ftello.m4, lib/{gl => }/m4/ftruncate.m4, lib/{gl => }/m4/gc-hmac-md5.m4, lib/{gl => }/m4/gc-hmac-sha1.m4, lib/{gl => }/m4/gc-md5.m4, lib/{gl => }/m4/gc-random.m4, lib/{gl => }/m4/gc-sha1.m4, lib/{gl => }/m4/gc.m4, {gl => lib}/m4/getcwd.m4, {gl => lib}/m4/getdelim.m4, {gl => lib}/m4/getdtablesize.m4, {gl => lib}/m4/getline.m4, {gl => lib}/m4/getpagesize.m4, lib/{gl => }/m4/getrusage.m4, lib/m4/gettext.m4, lib/{gl => }/m4/gettimeofday.m4, lib/{gl => }/m4/gl-openssl.m4, lib/m4/glibc2.m4, lib/m4/glibc21.m4, lib/{gl => }/m4/gnulib-cache.m4, {gl => lib}/m4/gnulib-common.m4, lib/{gl => }/m4/gnulib-comp.m4, {gl => lib}/m4/gnulib-tool.m4, lib/{gl => }/m4/gss-extra.m4, {gl => lib}/m4/host-cpu-c-abi.m4, lib/m4/iconv.m4, {gl => lib}/m4/include_next.m4, {gl => lib}/m4/inet_pton.m4, lib/m4/intdiv0.m4, lib/m4/intl.m4, lib/m4/intldir.m4, lib/m4/intlmacosx.m4, lib/m4/intmax.m4, {gl => lib}/m4/intmax_t.m4, {gl => lib}/m4/inttypes-pri.m4, {gl => lib}/m4/inttypes.m4, {gl => lib}/m4/inttypes_h.m4, lib/{gl => }/m4/ioctl.m4, {gl => lib}/m4/isblank.m4, {gl => lib}/m4/largefile.m4, lib/m4/lcmessage.m4, lib/{gl => }/m4/ld-output-def.m4, lib/{gl => }/m4/ld-version-script.m4, {gl => lib}/m4/lib-ld.m4, {gl => lib}/m4/lib-link.m4, {gl => lib}/m4/lib-prefix.m4, {gl => lib}/m4/limits-h.m4, lib/{gl => }/m4/localtime-buffer.m4, {gl => lib}/m4/lock.m4, {gl => lib}/m4/longlong.m4, {gl => lib}/m4/lseek.m4, {gl => lib}/m4/lstat.m4, {gl => lib}/m4/malloc.m4, {gl => lib}/m4/malloca.m4, {gl => lib}/m4/math_h.m4, lib/{gl => }/m4/md5.m4, {gl => lib}/m4/memchr.m4, lib/{gl => }/m4/memmem.m4, lib/{gl => }/m4/memxor.m4, {gl => lib}/m4/minmax.m4, {gl => lib}/m4/mmap-anon.m4, {gl => lib}/m4/mode_t.m4, {gl => lib}/m4/msvc-inval.m4, {gl => lib}/m4/msvc-nothrow.m4, {gl => lib}/m4/multiarch.m4, {gl => lib}/m4/nanosleep.m4, {gl => lib}/m4/netinet_in_h.m4, lib/m4/nls.m4, {gl => lib}/m4/off_t.m4, {gl => lib}/m4/open-cloexec.m4, {gl => lib}/m4/open.m4, {gl => lib}/m4/pathmax.m4, lib/{gl => }/m4/perror.m4, lib/{gl => }/m4/pipe.m4, lib/m4/po.m4, lib/m4/printf-posix.m4, {gl => lib}/m4/printf.m4, lib/m4/progtest.m4, {gl => lib}/m4/pthread-thread.m4, {gl => lib}/m4/pthread_h.m4, {gl => lib}/m4/pthread_rwlock_rdlock.m4, {gl => lib}/m4/pthread_sigmask.m4, {gl => lib}/m4/putenv.m4, {gl => lib}/m4/raise.m4, {gl => lib}/m4/sched_h.m4, {gl => lib}/m4/select.m4, {gl => lib}/m4/setenv.m4, lib/{gl => }/m4/sha1.m4, {gl => lib}/m4/sigaction.m4, {gl => lib}/m4/signal_h.m4, {gl => lib}/m4/signalblocking.m4, {gl => lib}/m4/size_max.m4, {gl => lib}/m4/sleep.m4, {gl => lib}/m4/socketlib.m4, {gl => lib}/m4/sockets.m4, {gl => lib}/m4/socklen.m4, {gl => lib}/m4/sockpfaf.m4, {gl => lib}/m4/ssize_t.m4, {gl => lib}/m4/stat-time.m4, {gl => lib}/m4/stat.m4, lib/{gl => }/m4/std-gnu11.m4, {gl => lib}/m4/stdalign.m4, {gl => lib}/m4/stdbool.m4, {gl => lib}/m4/stddef_h.m4, {gl => lib}/m4/stdint.m4, {gl => lib}/m4/stdint_h.m4, {gl => lib}/m4/stdio_h.m4, {gl => lib}/m4/stdlib_h.m4, {gl => lib}/m4/strerror.m4, lib/{gl => }/m4/strerror_r.m4, {gl => lib}/m4/string_h.m4, lib/{gl => }/m4/strndup.m4, lib/{gl => }/m4/strnlen.m4, lib/{gl => }/m4/strverscmp.m4, {gl => lib}/m4/symlink.m4, lib/{gl => }/m4/sys_ioctl_h.m4, lib/{gl => }/m4/sys_resource_h.m4, {gl => lib}/m4/sys_select_h.m4, {gl => lib}/m4/sys_socket_h.m4, {gl => lib}/m4/sys_stat_h.m4, {gl => lib}/m4/sys_time_h.m4, {gl => lib}/m4/sys_types_h.m4, {gl => lib}/m4/sys_uio_h.m4, {gl => lib}/m4/thread.m4, {gl => lib}/m4/threadlib.m4, {gl => lib}/m4/time_h.m4, lib/m4/uintmax_t.m4, {gl => lib}/m4/ungetc.m4, {gl => lib}/m4/unistd_h.m4, {gl => lib}/m4/usleep.m4, {gl => lib}/m4/valgrind-tests.m4, {gl => lib}/m4/vasnprintf.m4, {gl => lib}/m4/vasprintf.m4, lib/{gl => }/m4/visibility.m4, {gl => lib}/m4/warn-on-use.m4, {gl => lib}/m4/wchar_h.m4, {gl => lib}/m4/wchar_t.m4, {gl => lib}/m4/wint_t.m4, {gl => lib}/m4/xsize.m4, {gl => lib}/m4/yield.m4, lib/po/Makefile.in.in, lib/po/Makevars.template, lib/po/Rules-quot, lib/po/boldquot.sed, lib/po/en@boldquot.header, lib/po/en@quot.header, lib/po/insert-header.sin, lib/po/quot.sed, lib/po/remove-potcdate.sin, {lib/gl/m4 => m4}/00gnulib.m4, {lib/gl/m4 => m4}/absolute-header.m4, {lib/gl/m4 => m4}/alloca.m4, {lib/gl/m4 => m4}/arpa_inet_h.m4, {gl/m4 => m4}/autobuild.m4, {gl/m4 => m4}/btowc.m4, {lib/gl/m4 => m4}/close.m4, {gl/m4 => m4}/codeset.m4, {lib/gl/m4 => m4}/ctype.m4, {gl/m4 => m4}/dirname.m4, {gl/m4 => m4}/double-slash-root.m4, {lib/gl/m4 => m4}/dup2.m4, {lib/gl/m4 => m4}/eealloc.m4, {lib/gl/m4 => m4}/environ.m4, {lib/gl/m4 => m4}/errno_h.m4, {gl/m4 => m4}/error.m4, {lib/gl/m4 => m4}/exponentd.m4, {lib/gl/m4 => m4}/extensions.m4, {lib/gl/m4 => m4}/extern-inline.m4, {lib/gl/m4 => m4}/fcntl-o.m4, {lib/gl/m4 => m4}/fcntl.m4, {lib/gl/m4 => m4}/fcntl_h.m4, {lib/gl/m4 => m4}/fdopen.m4, {gl/m4 => m4}/flexmember.m4, {lib/gl/m4 => m4}/float_h.m4, {lib/gl/m4 => m4}/fpieee.m4, {lib/gl/m4 => m4}/fseek.m4, {lib/gl/m4 => m4}/fseeko.m4, {lib/gl/m4 => m4}/fstat.m4, {gl/m4 => m4}/getaddrinfo.m4, {lib/gl/m4 => m4}/getcwd.m4, {lib/gl/m4 => m4}/getdelim.m4, {lib/gl/m4 => m4}/getdtablesize.m4, {lib/gl/m4 => m4}/getline.m4, {gl/m4 => m4}/getopt.m4, {lib/gl/m4 => m4}/getpagesize.m4, {gl/m4 => m4}/getpass.m4, {gl/m4 => m4}/getprogname.m4, m4/gettext.m4, m4/glibc2.m4, m4/glibc21.m4, {gl/m4 => m4}/gnulib-cache.m4, {lib/gl/m4 => m4}/gnulib-common.m4, {gl/m4 => m4}/gnulib-comp.m4, {lib/gl/m4 => m4}/gnulib-tool.m4, {lib/gl/m4 => m4}/host-cpu-c-abi.m4, {gl/m4 => m4}/hostent.m4, {gl/m4 => m4}/iconv.m4, {gl/m4 => m4}/iconv_h.m4, {gl/m4 => m4}/iconv_open.m4, {lib/gl/m4 => m4}/include_next.m4, {gl/m4 => m4}/inet_ntop.m4, {lib/gl/m4 => m4}/inet_pton.m4, {gl/m4 => m4}/inline.m4, m4/intdiv0.m4, {gl/m4 => m4}/intl-thread-locale.m4, m4/intl.m4, m4/intldir.m4, {gl/m4 => m4}/intlmacosx.m4, m4/intmax.m4, {lib/gl/m4 => m4}/intmax_t.m4, {lib/gl/m4 => m4}/inttypes-pri.m4, {lib/gl/m4 => m4}/inttypes.m4, {lib/gl/m4 => m4}/inttypes_h.m4, {lib/gl/m4 => m4}/isblank.m4, {gl/m4 => m4}/langinfo_h.m4, {lib/gl/m4 => m4}/largefile.m4, {gl/m4 => m4}/lcmessage.m4, {lib/gl/m4 => m4}/lib-ld.m4, {lib/gl/m4 => m4}/lib-link.m4, {lib/gl/m4 => m4}/lib-prefix.m4, {gl/m4 => m4}/libunistring-base.m4, {lib/gl/m4 => m4}/limits-h.m4, {gl/m4 => m4}/localcharset.m4, {gl/m4 => m4}/locale-fr.m4, {gl/m4 => m4}/locale-ja.m4, {gl/m4 => m4}/locale-tr.m4, {gl/m4 => m4}/locale-zh.m4, {gl/m4 => m4}/locale_h.m4, {gl/m4 => m4}/localename.m4, {lib/gl/m4 => m4}/lock.m4, {lib/gl/m4 => m4}/longlong.m4, {lib/gl/m4 => m4}/lseek.m4, {lib/gl/m4 => m4}/lstat.m4, {lib/gl/m4 => m4}/malloc.m4, {lib/gl/m4 => m4}/malloca.m4, {gl/m4 => m4}/manywarnings-c++.m4, {gl/m4 => m4}/manywarnings.m4, {lib/gl/m4 => m4}/math_h.m4, {gl/m4 => m4}/mbrtowc.m4, {gl/m4 => m4}/mbsinit.m4, {gl/m4 => m4}/mbstate_t.m4, {gl/m4 => m4}/mbtowc.m4, {lib/gl/m4 => m4}/memchr.m4, {lib/gl/m4 => m4}/minmax.m4, {lib/gl/m4 => m4}/mmap-anon.m4, {lib/gl/m4 => m4}/mode_t.m4, {lib/gl/m4 => m4}/msvc-inval.m4, {lib/gl/m4 => m4}/msvc-nothrow.m4, {lib/gl/m4 => m4}/multiarch.m4, {lib/gl/m4 => m4}/nanosleep.m4, {gl/m4 => m4}/netdb_h.m4, {lib/gl/m4 => m4}/netinet_in_h.m4, m4/nls.m4, {gl/m4 => m4}/nocrash.m4, {lib/gl/m4 => m4}/off_t.m4, {lib/gl/m4 => m4}/open-cloexec.m4, {lib/gl/m4 => m4}/open.m4, {lib/gl/m4 => m4}/pathmax.m4, m4/po.m4, {gl/m4 => m4}/poll.m4, {gl/m4 => m4}/poll_h.m4, m4/printf-posix.m4, {lib/gl/m4 => m4}/printf.m4, m4/progtest.m4, {lib/gl/m4 => m4}/pthread-thread.m4, {lib/gl/m4 => m4}/pthread_h.m4, {lib/gl/m4 => m4}/pthread_rwlock_rdlock.m4, {lib/gl/m4 => m4}/pthread_sigmask.m4, {lib/gl/m4 => m4}/putenv.m4, {gl/m4 => m4}/quote.m4, {gl/m4 => m4}/quotearg.m4, {lib/gl/m4 => m4}/raise.m4, {gl/m4 => m4}/readline.m4, {lib/gl/m4 => m4}/sched_h.m4, {lib/gl/m4 => m4}/select.m4, {gl/m4 => m4}/servent.m4, {lib/gl/m4 => m4}/setenv.m4, {gl/m4 => m4}/setlocale.m4, {lib/gl/m4 => m4}/sigaction.m4, {lib/gl/m4 => m4}/signal_h.m4, {lib/gl/m4 => m4}/signalblocking.m4, {lib/gl/m4 => m4}/size_max.m4, {lib/gl/m4 => m4}/sleep.m4, {gl/m4 => m4}/snprintf.m4, {lib/gl/m4 => m4}/socketlib.m4, {lib/gl/m4 => m4}/sockets.m4, {lib/gl/m4 => m4}/socklen.m4, {lib/gl/m4 => m4}/sockpfaf.m4, {lib/gl/m4 => m4}/ssize_t.m4, {lib/gl/m4 => m4}/stat-time.m4, {lib/gl/m4 => m4}/stat.m4, {lib/gl/m4 => m4}/stdalign.m4, {gl/m4 => m4}/stdarg.m4, {lib/gl/m4 => m4}/stdbool.m4, {lib/gl/m4 => m4}/stddef_h.m4, {lib/gl/m4 => m4}/stdint.m4, {lib/gl/m4 => m4}/stdint_h.m4, {lib/gl/m4 => m4}/stdio_h.m4, {lib/gl/m4 => m4}/stdlib_h.m4, {gl/m4 => m4}/strdup.m4, {lib/gl/m4 => m4}/strerror.m4, {lib/gl/m4 => m4}/string_h.m4, {gl/m4 => m4}/strtok_r.m4, {lib/gl/m4 => m4}/symlink.m4, {lib/gl/m4 => m4}/sys_select_h.m4, {lib/gl/m4 => m4}/sys_socket_h.m4, {lib/gl/m4 => m4}/sys_stat_h.m4, {lib/gl/m4 => m4}/sys_time_h.m4, {lib/gl/m4 => m4}/sys_types_h.m4, {lib/gl/m4 => m4}/sys_uio_h.m4, {lib/gl/m4 => m4}/thread.m4, {lib/gl/m4 => m4}/threadlib.m4, {lib/gl/m4 => m4}/time_h.m4, m4/uintmax_t.m4, {lib/gl/m4 => m4}/ungetc.m4, {lib/gl/m4 => m4}/unistd_h.m4, {lib/gl/m4 => m4}/usleep.m4, {lib/gl/m4 => m4}/valgrind-tests.m4, {lib/gl/m4 => m4}/vasnprintf.m4, {lib/gl/m4 => m4}/vasprintf.m4, {gl/m4 => m4}/version-etc.m4, m4/visibility.m4, {lib/gl/m4 => m4}/warn-on-use.m4, {gl/m4 => m4}/warnings.m4, {lib/gl/m4 => m4}/wchar_h.m4, {lib/gl/m4 => m4}/wchar_t.m4, {gl/m4 => m4}/wcrtomb.m4, {gl/m4 => m4}/wctob.m4, {gl/m4 => m4}/wctomb.m4, {gl/m4 => m4}/wctype_h.m4, {lib/gl/m4 => m4}/wint_t.m4, {gl/m4 => m4}/xalloc.m4, {lib/gl/m4 => m4}/xsize.m4, {lib/gl/m4 => m4}/yield.m4, po/Makefile.in.in, po/Makevars.template, po/Rules-quot, po/boldquot.sed, po/en@boldquot.header, po/en@quot.header, po/insert-header.sin, po/quot.sed, po/remove-potcdate.sin: Use combined m4 directory and dist autopoint files. 2019-07-25 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intl-thread-locale.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/progtest.m4: Use gnulib module gettext-h instead of gettext. 2019-07-25 Simon Josefsson * lib/po/LINGUAS, lib/po/es.po.in, lib/po/pt_BR.po.in, lib/po/sv.po.in, po/LINGUAS, po/es.po.in, po/pt_BR.po.in, po/sv.po.in: Sync with TP. 2019-07-25 Simon Josefsson * doc/Makefile.am: Bump copyright years. 2019-07-25 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Bump copyright years. 2019-07-25 Simon Josefsson * .gitignore, GNUmakefile, doc/fdl-1.3.texi, doc/gendocs_template, doc/gendocs_template_min, gl/Makefile.am, gl/_Noreturn.h, gl/alloca.c, gl/alloca.in.h, {lib/build-aux/snippet => gl}/arg-nonnull.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/assure.h, gl/basename-lgpl.c, {lib/build-aux/snippet => gl}/c++defs.h, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, gl/dirname-lgpl.c, gl/dirname.h, {gltests => gl}/dosname.h, gl/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fd-hook.c, gl/fd-hook.h, gl/float+.h, gl/float.c, gl/float.in.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt-cdefs.in.h, gl/getopt-core.h, gl/getopt-ext.h, gl/getopt-pfx-core.h, gl/getopt-pfx-ext.h, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/getprogname.c, gl/getprogname.h, gl/gettext.h, gl/gettimeofday.c, gl/glthread/lock.c, {gltests => gl}/glthread/lock.h, {gltests => gl}/glthread/threadlib.c, gl/hard-locale.c, gl/hard-locale.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open-aix.gperf, gl/iconv_open-hpux.gperf, gl/iconv_open-irix.gperf, gl/iconv_open-osf.gperf, gl/iconv_open-solaris.gperf, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/limits.in.h, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/ctype.m4, gl/m4/dirname.m4, gl/m4/double-slash-root.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/flexmember.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getdtablesize.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/getprogname.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/host-cpu-c-abi.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intl-thread-locale.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isblank.m4, gl/m4/langinfo_h.m4, gl/m4/largefile.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/limits-h.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings-c++.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/minmax.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4, gl/m4/multiarch.m4, gl/m4/nanosleep.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4, gl/m4/open-cloexec.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/pthread-thread.m4, gl/m4/pthread_h.m4, gl/m4/pthread_rwlock_rdlock.m4, gl/m4/pthread_sigmask.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/raise.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/sched_h.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/sigaction.m4, gl/m4/signal_h.m4, gl/m4/signalblocking.m4, gl/m4/size_max.m4, gl/m4/sleep.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat-time.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/usleep.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, {gltests => gl}/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/memchr.valgrind, gl/minmax.h, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, {gltests => gl}/pathmax.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stat-time.c, gl/stat-time.h, gl/stat-w32.c, gl/stat-w32.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/stripslash.c, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.c, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.c, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, {lib/build-aux/snippet => gl}/unused-parameter.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, {lib/build-aux/snippet => gl}/warn-on-use.h, gl/wchar.in.h, gl/wctype.in.h, gl/windows-initguard.h, gl/windows-mutex.c, gl/windows-mutex.h, gl/windows-once.c, gl/windows-once.h, gl/windows-recmutex.c, gl/windows-recmutex.h, gl/windows-rwlock.c, gl/windows-rwlock.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/_Noreturn.h, gltests/arg-nonnull.h, gltests/binary-io.c, gltests/binary-io.h, gltests/btowc.c, gltests/c++defs.h, gltests/cloexec.c, gltests/cloexec.h, gltests/ctype.in.h, gltests/fcntl.c, gltests/fcntl.in.h, gltests/fdopen.c, gltests/filename.h, gltests/flexmember.h, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/getdtablesize.c, gltests/getpagesize.c, gltests/glthread/lock.c, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/isblank.c, gltests/langinfo.in.h, gltests/locale.in.h, gltests/localename-table.c, gltests/localename-table.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/malloca.valgrind, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/nanosleep.c, gltests/nap.h, gltests/open.c, gltests/pthread-thread.c, gltests/pthread.in.h, gltests/pthread_sigmask.c, gltests/putenv.c, gltests/raise.c, gltests/same-inode.h, gltests/sched.in.h, gltests/setenv.c, gltests/setlocale.c, gltests/sig-handler.c, gltests/sig-handler.h, gltests/sigaction.c, gltests/signature.h, gltests/sigprocmask.c, gltests/sleep.c, gltests/stat-w32.c, gltests/stat-w32.h, gltests/stat.c, gltests/symlink.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, gltests/test-btowc.c, gltests/test-btowc1.sh, gltests/test-btowc2.sh, gltests/test-c-ctype.c, gltests/test-c-strcase.sh, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-cloexec.c, gltests/test-close.c, gltests/test-connect.c, gltests/test-ctype.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fcntl.c, gltests/test-fdopen.c, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fseek.c, gltests/test-fseek.sh, gltests/test-fseek2.sh, gltests/test-fseeko.c, gltests/test-fseeko.sh, gltests/test-fseeko2.sh, gltests/test-fseeko3.c, gltests/test-fseeko3.sh, gltests/test-fseeko4.c, gltests/test-fseeko4.sh, gltests/test-fstat.c, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getdtablesize.c, gltests/test-getline.c, gltests/test-getopt-gnu.c, gltests/{test-getopt.c => test-getopt-main.h}, gltests/test-getopt-posix.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-getprogname.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-isblank.c, gltests/test-langinfo.c, gltests/test-limits-h.c, gltests/test-localcharset.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lseek.sh, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32-1.sh, gltests/test-mbrtowc-w32-2.sh, gltests/test-mbrtowc-w32-3.sh, gltests/test-mbrtowc-w32-4.sh, gltests/test-mbrtowc-w32-5.sh, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbrtowc1.sh, gltests/test-mbrtowc2.sh, gltests/test-mbrtowc3.sh, gltests/test-mbrtowc4.sh, gltests/test-mbrtowc5.sh, gltests/test-mbsinit.c, gltests/test-mbsinit.sh, gltests/test-memchr.c, gltests/test-nanosleep.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-once.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-poll-h.c, gltests/test-pthread-thread.c, gltests/test-pthread.c, gltests/test-pthread_sigmask1.c, gltests/test-pthread_sigmask2.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-raise.c, gltests/test-recv.c, gltests/test-rwlock1.c, gltests/test-sched.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale1.sh, gltests/test-setlocale2.c, gltests/test-setlocale2.sh, gltests/test-shutdown.c, gltests/test-sigaction.c, gltests/test-signal-h.c, gltests/test-sigprocmask.c, gltests/test-sleep.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat-time.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-usleep.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify-try.c, gltests/test-verify.c, gltests/test-verify.sh, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32-1.sh, gltests/test-wcrtomb-w32-2.sh, gltests/test-wcrtomb-w32-3.sh, gltests/test-wcrtomb-w32-4.sh, gltests/test-wcrtomb-w32-5.sh, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wcrtomb.sh, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/unused-parameter.h, gltests/usleep.c, gltests/version-etc-fsf.c, gltests/warn-on-use.h, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/windows-thread.c, gltests/windows-thread.h, gltests/windows-tls.c, gltests/windows-tls.h, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/gnupload, lib/build-aux/pmccabe2html, lib/build-aux/snippet/_Noreturn.h, lib/build-aux/update-copyright, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/af_alg.c, lib/gl/af_alg.h, lib/gl/alloca.in.h, lib/gl/arg-nonnull.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/byteswap.in.h, lib/gl/c++defs.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/cdefs.h, lib/gl/errno.in.h, lib/gl/fflush.c, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/fpurge.c, lib/gl/freading.c, lib/gl/freading.h, lib/gl/fseek.c, lib/gl/fseeko.c, lib/gl/fstat.c, lib/gl/ftell.c, lib/gl/ftello.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/gl_openssl.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.c, lib/gl/hmac.h, lib/{gltests => gl}/intprops.h, lib/gl/itold.c, lib/gl/libc-config.h, lib/gl/limits.in.h, lib/gl/lseek.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/__inline.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/af_alg.m4, lib/gl/m4/alloca.m4, lib/gl/m4/arpa_inet_h.m4, lib/gl/m4/base64.m4, lib/gl/m4/builtin-expect.m4, lib/gl/m4/byteswap.m4, lib/gl/m4/close.m4, lib/gl/m4/codeset.m4, lib/gl/m4/ctype.m4, lib/gl/m4/dup2.m4, lib/gl/m4/eealloc.m4, lib/gl/m4/environ.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/extern-inline.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fcntl.m4, lib/gl/m4/fcntl_h.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/fflush.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/fpurge.m4, lib/gl/m4/freading.m4, lib/gl/m4/fseek.m4, lib/gl/m4/fseeko.m4, lib/gl/m4/fstat.m4, lib/gl/m4/ftell.m4, lib/gl/m4/ftello.m4, lib/gl/m4/ftruncate.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getcwd.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getdtablesize.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/getrusage.m4, lib/gl/m4/gettext.m4, {gl => lib/gl}/m4/gettimeofday.m4, lib/gl/m4/gl-openssl.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/host-cpu-c-abi.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/inet_pton.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl-thread-locale.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/ioctl.m4, lib/gl/m4/isblank.m4, lib/gl/m4/largefile.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/limits-h.m4, lib/gl/m4/localtime-buffer.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/lseek.m4, lib/gl/m4/lstat.m4, lib/gl/m4/malloc.m4, lib/gl/m4/malloca.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/mode_t.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/msvc-nothrow.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nanosleep.m4, lib/gl/m4/netinet_in_h.m4, lib/gl/m4/nls.m4, lib/gl/m4/off_t.m4, lib/gl/m4/open-cloexec.m4, lib/gl/m4/open.m4, lib/gl/m4/pathmax.m4, lib/gl/m4/perror.m4, lib/gl/m4/pipe.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/pthread-thread.m4, lib/gl/m4/pthread_h.m4, lib/gl/m4/pthread_rwlock_rdlock.m4, lib/gl/m4/pthread_sigmask.m4, lib/gl/m4/putenv.m4, lib/gl/m4/raise.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sched_h.m4, lib/gl/m4/select.m4, lib/gl/m4/setenv.m4, lib/gl/m4/sha1.m4, lib/gl/m4/sigaction.m4, lib/gl/m4/signal_h.m4, lib/gl/m4/signalblocking.m4, lib/gl/m4/size_max.m4, lib/gl/m4/sleep.m4, lib/gl/m4/socketlib.m4, lib/gl/m4/sockets.m4, lib/gl/m4/socklen.m4, lib/gl/m4/sockpfaf.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stat-time.m4, lib/gl/m4/stat.m4, lib/gl/m4/std-gnu11.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/strerror.m4, lib/gl/m4/strerror_r.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/symlink.m4, lib/gl/m4/sys_ioctl_h.m4, lib/gl/m4/sys_resource_h.m4, lib/gl/m4/sys_select_h.m4, lib/gl/m4/sys_socket_h.m4, lib/gl/m4/sys_stat_h.m4, lib/gl/m4/sys_time_h.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/sys_uio_h.m4, lib/gl/m4/thread.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/time_h.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ungetc.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/usleep.m4, lib/gl/m4/valgrind-tests.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/m4/yield.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memchr.valgrind, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/{gltests => gl}/msvc-inval.c, lib/{gltests => gl}/msvc-inval.h, lib/gl/msvc-nothrow.c, lib/gl/msvc-nothrow.h, lib/gl/pathmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stat-time.c, lib/gl/stat-time.h, lib/gl/stat-w32.c, lib/gl/stat-w32.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio-impl.h, lib/gl/stdio.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strndup.c, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/sys-limits.h, lib/gl/sys_socket.c, lib/gl/sys_socket.in.h, lib/gl/sys_stat.in.h, lib/gl/sys_types.in.h, lib/gl/sys_uio.in.h, lib/gl/time.in.h, lib/gl/unistd.c, lib/gl/unistd.in.h, lib/gl/unused-parameter.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/warn-on-use.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/_Noreturn.h, lib/gltests/accept.c, lib/gltests/alloca.c, lib/gltests/arg-nonnull.h, lib/gltests/arpa_inet.in.h, lib/gltests/bench-digest.h, lib/gltests/bench-md5.c, lib/gltests/bench-sha1.c, lib/gltests/binary-io.c, lib/gltests/binary-io.h, lib/gltests/bind.c, lib/gltests/c++defs.h, lib/gltests/cloexec.c, lib/gltests/cloexec.h, lib/gltests/close.c, lib/gltests/connect.c, lib/gltests/ctype.in.h, lib/gltests/dosname.h, lib/gltests/dummy.c, lib/gltests/dup2.c, lib/gltests/fcntl.c, lib/gltests/fcntl.in.h, lib/gltests/fd-hook.c, lib/gltests/fd-hook.h, lib/gltests/fdopen.c, lib/gltests/filename.h, lib/gltests/fpucw.h, lib/gltests/ftruncate.c, lib/gltests/getcwd-lgpl.c, lib/gltests/getdtablesize.c, lib/gltests/getpagesize.c, lib/gltests/getrusage.c, lib/gltests/gettimeofday.c, lib/gltests/glthread/lock.c, lib/gltests/glthread/lock.h, lib/gltests/glthread/thread.c, lib/gltests/glthread/thread.h, lib/gltests/glthread/threadlib.c, lib/gltests/glthread/yield.h, lib/gltests/ignore-value.h, lib/gltests/inet_pton.c, lib/gltests/init.sh, lib/gltests/inttypes.in.h, lib/gltests/ioctl.c, lib/gltests/isblank.c, lib/gltests/listen.c, lib/gltests/localtime-buffer.c, lib/gltests/localtime-buffer.h, lib/gltests/lstat.c, lib/gltests/macros.h, lib/gltests/malloc.c, lib/gltests/malloca.c, lib/gltests/malloca.h, lib/gltests/nanosleep.c, lib/gltests/nap.h, lib/gltests/netinet_in.in.h, lib/gltests/open.c, lib/gltests/perror.c, lib/gltests/pipe.c, lib/gltests/pthread-thread.c, lib/gltests/pthread.in.h, lib/gltests/pthread_sigmask.c, lib/gltests/putenv.c, lib/gltests/raise.c, lib/gltests/same-inode.h, lib/gltests/sched.in.h, lib/gltests/select.c, lib/gltests/setsockopt.c, lib/gltests/sig-handler.c, lib/gltests/sig-handler.h, lib/gltests/sigaction.c, lib/gltests/signal.in.h, lib/gltests/signature.h, lib/gltests/sigprocmask.c, lib/gltests/sleep.c, lib/gltests/socket.c, lib/gltests/sockets.c, lib/gltests/sockets.h, lib/gltests/stat-w32.c, lib/gltests/stat-w32.h, lib/gltests/stat.c, lib/{gl => gltests}/stdlib.in.h, lib/gltests/strerror-override.c, lib/gltests/strerror-override.h, lib/gltests/strerror.c, lib/gltests/strerror_r.c, lib/gltests/symlink.c, lib/gltests/sys_ioctl.in.h, lib/gltests/sys_resource.in.h, lib/gltests/sys_select.in.h, lib/gltests/sys_time.in.h, lib/gltests/test-accept.c, lib/gltests/test-alloca-opt.c, lib/gltests/test-arpa_inet.c, lib/gltests/test-base64.c, lib/gltests/test-binary-io.c, lib/gltests/test-binary-io.sh, lib/gltests/test-bind.c, lib/gltests/test-byteswap.c, lib/gltests/test-c-ctype.c, lib/gltests/test-cloexec.c, lib/gltests/test-close.c, lib/gltests/test-connect.c, lib/gltests/test-ctype.c, lib/gltests/test-digest.h, lib/gltests/test-dup2.c, lib/gltests/test-environ.c, lib/gltests/test-errno.c, lib/gltests/test-fcntl-h.c, lib/gltests/test-fcntl.c, lib/gltests/test-fdopen.c, lib/gltests/test-fflush.c, lib/gltests/test-fflush2.c, lib/gltests/test-fflush2.sh, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fpurge.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-freading.c, lib/gltests/test-fseek.c, lib/gltests/test-fseek.sh, lib/gltests/test-fseek2.sh, lib/gltests/test-fseeko.c, lib/gltests/test-fseeko.sh, lib/gltests/test-fseeko2.sh, lib/gltests/test-fseeko3.c, lib/gltests/test-fseeko3.sh, lib/gltests/test-fseeko4.c, lib/gltests/test-fseeko4.sh, lib/gltests/test-fstat.c, lib/gltests/test-ftell.c, lib/gltests/test-ftell.sh, lib/gltests/test-ftell2.sh, lib/gltests/test-ftell3.c, lib/gltests/test-ftello.c, lib/gltests/test-ftello.sh, lib/gltests/test-ftello2.sh, lib/gltests/test-ftello3.c, lib/gltests/test-ftello4.c, lib/gltests/test-ftello4.sh, lib/gltests/test-ftruncate.c, lib/gltests/test-ftruncate.sh, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getcwd-lgpl.c, lib/gltests/test-getdelim.c, lib/gltests/test-getdtablesize.c, lib/gltests/test-getline.c, lib/gltests/test-getrusage.c, {gltests => lib/gltests}/test-gettimeofday.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-ignore-value.c, lib/gltests/test-inet_pton.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-ioctl.c, lib/gltests/test-isblank.c, lib/gltests/test-limits-h.c, lib/gltests/test-listen.c, lib/gltests/test-lock.c, lib/gltests/test-lseek.c, lib/gltests/test-lseek.sh, lib/gltests/test-lstat.c, lib/gltests/test-lstat.h, lib/gltests/test-malloca.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-nanosleep.c, lib/gltests/test-netinet_in.c, lib/gltests/test-once.c, lib/gltests/test-open.c, lib/gltests/test-open.h, lib/gltests/test-pathmax.c, lib/gltests/test-perror.c, lib/gltests/test-perror.sh, lib/gltests/test-perror2.c, lib/gltests/test-pipe.c, lib/gltests/test-pthread-thread.c, lib/gltests/test-pthread.c, lib/gltests/test-pthread_sigmask1.c, lib/gltests/test-pthread_sigmask2.c, lib/gltests/test-raise.c, lib/gltests/test-rwlock1.c, lib/gltests/test-sched.c, lib/gltests/test-select-fd.c, lib/gltests/test-select-in.sh, lib/gltests/test-select-out.sh, lib/gltests/test-select-stdin.c, lib/gltests/test-select.c, lib/gltests/test-select.h, lib/gltests/test-setsockopt.c, lib/gltests/test-sha1.c, lib/gltests/test-sigaction.c, lib/gltests/test-signal-h.c, lib/gltests/test-sigprocmask.c, lib/gltests/test-sleep.c, lib/gltests/test-sockets.c, lib/gltests/test-stat-time.c, lib/gltests/test-stat.c, lib/gltests/test-stat.h, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-strerror.c, lib/gltests/test-strerror_r.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-symlink.c, lib/gltests/test-symlink.h, lib/gltests/test-sys_ioctl.c, lib/gltests/test-sys_resource.c, lib/gltests/test-sys_select.c, lib/gltests/test-sys_socket.c, lib/gltests/test-sys_stat.c, lib/gltests/test-sys_time.c, lib/gltests/test-sys_types.c, lib/gltests/test-sys_uio.c, lib/gltests/test-sys_wait.h, lib/gltests/test-thread_create.c, lib/gltests/test-thread_self.c, lib/gltests/test-time.c, lib/gltests/test-unistd.c, lib/gltests/test-unsetenv.c, lib/gltests/test-usleep.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify-try.c, lib/gltests/test-verify.c, lib/gltests/test-verify.sh, lib/gltests/test-wchar.c, lib/gltests/unsetenv.c, lib/gltests/unused-parameter.h, lib/gltests/usleep.c, lib/gltests/w32sock.h, lib/gltests/warn-on-use.h, lib/gltests/windows-initguard.h, lib/gltests/windows-mutex.c, lib/gltests/windows-mutex.h, lib/gltests/windows-once.c, lib/gltests/windows-once.h, lib/gltests/windows-recmutex.c, lib/gltests/windows-recmutex.h, lib/gltests/windows-rwlock.c, lib/gltests/windows-rwlock.h, lib/gltests/windows-thread.c, lib/gltests/windows-thread.h, lib/gltests/windows-tls.c, lib/gltests/windows-tls.h, lib/gltests/xalloc-oversized.h, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2019-07-24 Simon Josefsson * gl/override/doc/gendocs_template.diff, gl/override/lib/gettext.h.diff, gl/override/m4/valgrind-tests.m4.diff, lib/gl/m4/gnulib-cache.m4, lib/gl/override/lib/gettext.h.diff: Gnulib fixes. 2019-07-24 Simon Josefsson * configure.ac, lib/configure.ac: Bump AC_PREREQ for gnulib. 2017-03-05 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Bump copyright years. 2017-03-05 Simon Josefsson * lib/po/da.po.in, lib/po/de.po.in, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/hu.po.in, lib/po/id.po.in, lib/po/it.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sk.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/uk.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in, po/da.po.in, po/de.po.in, po/eo.po.in, po/eu.po.in, po/fi.po.in, po/fr.po.in, po/ga.po.in, po/hr.po.in, po/hu.po.in, po/id.po.in, po/it.po.in, po/nl.po.in, po/pl.po.in, po/ro.po.in, po/sk.po.in, po/sq.po.in, po/sr.po.in, po/sv.po.in, po/uk.po.in, po/vi.po.in, po/zh_CN.po.in, po/zh_TW.po.in: Sync with TP. 2015-07-14 Simon Josefsson * .gitignore: Ignore more. 2015-07-14 Simon Josefsson * lib/login/server.c: Use strndup. 2015-07-14 Simon Josefsson * .gitignore: Ignore more. 2015-07-14 Simon Josefsson * tests/Makefile.am: Fix valgrind usage. 2015-07-14 Simon Josefsson * lib/tests/Makefile.am: Use valgrind. 2015-07-14 Simon Josefsson * .gitignore: Ignore more. 2015-07-14 Simon Josefsson * lib/NEWS: Add. 2015-07-14 Simon Josefsson * lib/po/LINGUAS, lib/po/da.po.in, po/LINGUAS, po/da.po.in: Sync with TP. 2015-07-14 Simon Josefsson * doc/gsasl.texi: Sync menu with content. 2015-07-14 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Update copyright files. 2015-07-14 Simon Josefsson * lib/NEWS: Add. 2015-07-14 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/valgrind-tests.m4: Use valgrind in lib/. 2015-07-14 Simon Josefsson * GNUmakefile, doc/gendocs_template, doc/gendocs_template_min, gl/Makefile.am, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/assure.h, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, gl/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fd-hook.c, gl/fd-hook.h, gl/float+.h, gl/float.c, gl/float.in.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/gettimeofday.c, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/configmake.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getdtablesize.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/langinfo_h.m4, gl/m4/largefile.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/signal_h.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/binary-io.h, gltests/btowc.c, gltests/dosname.h, gltests/fcntl.in.h, gltests/fdopen.c, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/getdtablesize.c, gltests/getpagesize.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/langinfo.in.h, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloc.c, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-btowc.c, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-close.c, gltests/test-connect.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fdopen.c, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fseek.c, gltests/test-fseeko.c, gltests/test-fseeko3.c, gltests/test-fseeko4.c, gltests/test-fstat.c, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getdtablesize.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-langinfo.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-poll-h.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-recv.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale2.c, gltests/test-shutdown.c, gltests/test-signal-h.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/gnupload, lib/build-aux/pmccabe2html, lib/build-aux/snippet/arg-nonnull.h, lib/build-aux/snippet/c++defs.h, lib/build-aux/snippet/unused-parameter.h, lib/build-aux/snippet/warn-on-use.h, lib/build-aux/update-copyright, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/gl_openssl.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/itold.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/extern-inline.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gl-openssl.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/off_t.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strndup.c, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/sys_types.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/fdopen.c, lib/gltests/fpucw.h, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-fdopen.c, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-sha1.c, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_types.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2014-10-02 Simon Josefsson * AUTHORS, cfg.mk: Fix pgp key. 2014-10-02 Simon Josefsson * doc/gdoc: Syntax-check nits. 2014-10-02 Simon Josefsson * NEWS, lib/NEWS: Doc fix. 2014-10-02 Simon Josefsson * doc/gdoc: Sync gdoc. 2014-10-02 Simon Josefsson * configure.ac, lib/configure.ac: Drop automake -Werror. 2014-09-16 Simon Josefsson * .gitignore: Ignore more. 2014-09-16 Simon Josefsson * gltests/fcntl.in.h: Update gnulib files. 2014-09-07 Simon Josefsson * .gitignore: Ignore more. 2014-09-07 Simon Josefsson * configure.ac, lib/configure.ac: Work with recent autotools. 2014-09-06 Simon Josefsson * GNUmakefile, doc/fdl-1.3.texi, doc/gendocs_template, gl/Makefile.am, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, {gltests => gl}/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fd-hook.c, gl/fd-hook.h, gl/float+.h, gl/float.c, gl/float.in.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/gettimeofday.c, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getdtablesize.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/largefile.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/signal_h.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.c, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.c, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype-h.c, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.c, gl/xsize.h, gltests/Makefile.am, gltests/binary-io.c, gltests/binary-io.h, gltests/btowc.c, gltests/dosname.h, gltests/fcntl.in.h, gltests/fdopen.c, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/getdtablesize.c, gltests/getpagesize.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloc.c, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-btowc.c, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-close.c, gltests/test-connect.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fdopen.c, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fseek.c, gltests/test-fseeko.c, gltests/test-fseeko3.c, gltests/test-fseeko4.c, gltests/test-fstat.c, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getdtablesize.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-poll-h.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-recv.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale2.c, gltests/test-shutdown.c, gltests/test-signal-h.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/gnupload, lib/build-aux/pmccabe2html, lib/build-aux/snippet/arg-nonnull.h, lib/build-aux/snippet/c++defs.h, lib/build-aux/snippet/unused-parameter.h, lib/build-aux/snippet/warn-on-use.h, lib/build-aux/update-copyright, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/gl_openssl.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/itold.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/extern-inline.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gl-openssl.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/off_t.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strndup.c, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/sys_types.in.h, lib/gl/unistd.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.c, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/fdopen.c, lib/gltests/fpucw.h, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-fdopen.c, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-sha1.c, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_types.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2014-09-06 Simon Josefsson * .clcopying, AUTHORS, Makefile.am, NEWS, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/AUTHORS, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/po/POTFILES.in, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/openid20.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Update copyright years. 2014-09-06 Simon Josefsson * lib/po/LINGUAS, lib/po/de.po.in, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/hu.po.in, lib/po/id.po.in, lib/po/it.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sk.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/uk.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in, po/LINGUAS, po/fr.po.in, po/hu.po.in, po/zh_CN.po.in, po/zh_TW.po.in: Sync with TP. 2013-09-30 Simon Josefsson * lib/src/mechname.c: Doc fix. Suggested by Tomasz Sterna. 2012-09-12 Simon Josefsson * NEWS, src/imap.c: gsasl: IMAP client code now permits empty SASL tokens prefixed with '+'. Normally servers should send '+ '. Buggy servers include Microsoft Exchange. Reported by Adam Sjøgren. 2012-09-10 Simon Josefsson * NEWS, doc/gsasl.texi, lib/gssapi/client.c, tests/gssapi.c: GSSAPI client: Use GSASL_AUTHZID for authorization identity. Accept missing property. 2012-09-10 Simon Josefsson * po/hr.po.in: Sync with TP. 2012-09-06 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/manywarnings.m4, gl/stdbool.in.h, gl/sys_select.in.h, lib/build-aux/gendocs.sh, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/stdbool.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2012-08-29 Simon Josefsson * doc/gsasl.texi: Doc fixes for all mechanism. Clarify authid vs authzid in GSSAPI. 2012-08-03 Simon Josefsson * gl/alloca.in.h, gl/config.charset, gl/errno.in.h, gl/fseeko.c, gl/fstat.c, gl/getpass.h, gl/gettext.h, gl/localcharset.c, gl/m4/errno_h.m4, gl/m4/extensions.m4, gl/m4/fdopen.m4, gl/m4/getopt.m4, gl/m4/gnulib-common.m4, gl/m4/intlmacosx.m4, gl/m4/largefile.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/lock.m4, gl/m4/manywarnings.m4, gl/m4/mmap-anon.m4, gl/m4/multiarch.m4, gl/m4/nocrash.m4, gl/m4/poll.m4, gl/m4/printf.m4, gl/m4/stdio_h.m4, gl/m4/sys_time_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/override/lib/gettext.h.diff, gl/poll.c, gl/printf-parse.c, gl/select.c, gl/signal.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdlib.in.h, gl/strerror-override.c, gl/strerror-override.h, gl/sys_select.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/verify.h, gltests/init.sh, gltests/locale.in.h, gltests/localename.c, gltests/stat.c, gltests/test-alloca-opt.c, gltests/test-errno.c, gltests/test-localename.c, gltests/test-malloca.c, gltests/test-time.c, lib/build-aux/gnupload, lib/gl/alloca.in.h, lib/gl/base64.h, lib/gl/errno.in.h, lib/gl/gettext.h, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/lock.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/printf.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/strndup.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/visibility.m4, lib/gl/override/lib/gettext.h.diff, lib/gl/printf-parse.c, lib/gl/stdint.in.h, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/verify.h, lib/gltests/init.sh, lib/gltests/test-alloca-opt.c, lib/gltests/test-errno.c, lib/maint.mk, maint.mk: Update gnulib files. 2012-08-03 Simon Josefsson * NEWS, lib/po/LINGUAS, lib/po/de.po.in, po/LINGUAS, po/hr.po.in, po/sk.po.in: Sync with TP. 2012-06-05 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-28 Simon Josefsson * doc/announce.txt: Update for 1.8.0. 2012-05-28 Simon Josefsson * doc/announce.txt: Update for 1.7.6. 2012-05-28 Simon Josefsson * lib/po/sr.po.in, po/sr.po.in: Sync with TP. 2012-05-28 Simon Josefsson * NEWS, cfg.mk, lib/NEWS: Version 1.8.0. 2012-05-28 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-23 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.6. 2012-05-23 Simon Josefsson * NEWS, lib/NEWS, lib/po/nl.po.in, po/nl.po.in: Sync with TP. 2012-05-23 Simon Josefsson * NEWS: Add. 2012-05-23 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/server-xmpp-saml20.c, examples/smtp-server.c: Need config.h for examples, due to gnulib overrides. 2012-05-22 Simon Josefsson * examples/Makefile.am: Link with gnulib. 2012-05-22 Simon Josefsson * doc/Makefile.am: Bump copyright years. 2012-05-22 Simon Josefsson * configure.ac: Silence pure/const attribute warnings. 2012-05-22 Simon Josefsson * doc/gsasl.texi: Fix texinfo warning. 2012-05-22 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-22 Simon Josefsson * doc/announce.txt: Update for 1.7.5. 2012-05-22 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.5. 2012-05-22 Simon Josefsson * lib/po/pl.po.in, po/pl.po.in: Sync with TP. 2012-05-22 Simon Josefsson * configure.ac, lib/configure.ac: Improve ./configure summary. 2012-05-21 Simon Josefsson * lib/configure.ac: Display build option summary. 2012-05-21 Simon Josefsson * lib/configure.ac: Don't auto-detect MIT/Heimdal, it causes too many build problems. 2012-05-21 Simon Josefsson * gl/Makefile.am, gl/m4/ftruncate.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/ioctl.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/strerror_r.m4, gl/m4/sys_ioctl_h.m4, gl/override/tests/test-poll.c.diff, gl/override/tests/test-select-in.sh.diff, gltests/Makefile.am, gltests/accept.c, gltests/bind.c, gltests/ftruncate.c, gltests/gettimeofday.c, gltests/ioctl.c, gltests/listen.c, gltests/perror.c, gltests/pipe.c, gltests/setsockopt.c, gltests/strerror_r.c, gltests/sys_ioctl.in.h, gltests/test-accept.c, gltests/test-bind.c, gltests/test-ftruncate.c, gltests/test-ftruncate.sh, gltests/test-gettimeofday.c, gltests/test-ioctl.c, gltests/test-listen.c, gltests/test-perror.c, gltests/test-perror.sh, gltests/test-perror2.c, gltests/test-pipe.c, gltests/test-poll.c, gltests/test-select-fd.c, gltests/test-select-in.sh, gltests/test-select-out.sh, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-select.h, gltests/test-setsockopt.c, gltests/test-strerror_r.c, gltests/test-sys_ioctl.c, gltests/w32sock.h: Avoid tests with known Cygwin/MinGW failures. 2012-05-21 Simon Josefsson * lib/digest-md5/test-parser.c: More debug info, useful when gc_init fails. 2012-05-21 Simon Josefsson * NEWS, lib/NEWS, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/id.po.in, lib/po/it.po.in, lib/po/uk.po.in, lib/po/vi.po.in, po/de.po.in, po/eo.po.in, po/fi.po.in, po/it.po.in, po/uk.po.in, po/vi.po.in: Sync with TP. 2012-05-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-05-21 Simon Josefsson * lib/gl/m4/gc.m4, lib/gl/md5.c, lib/gl/sha1.c: Update gnulib files. 2012-05-21 Simon Josefsson * examples/openid20/Makefile.am, examples/saml20/Makefile.am: Need gnulib for saml20/openid20 examples. 2012-05-21 Simon Josefsson * src/Makefile.am: Indent. 2012-05-16 Simon Josefsson * examples/saml20/README: Typo 2012-05-16 Simon Josefsson * doc/announce.txt: Update for 1.7.4. 2012-05-16 Simon Josefsson * doc/announce.txt: Update for 1.7.3. 2012-05-16 Simon Josefsson * README-alpha: Mention ncftp. 2012-05-16 Simon Josefsson * NEWS, lib/NEWS, tests/libgsasl.supp: Version 1.7.4. 2012-05-16 Simon Josefsson * README-alpha: Mention valgrind suppressions file. 2012-05-16 Simon Josefsson * NEWS, lib/NEWS: Doc fix. 2012-05-16 Simon Josefsson * gltests/ignore-value.h: Update gnulib files. 2012-05-16 Simon Josefsson * .gitignore: Ignore more. 2012-05-16 Simon Josefsson * doc/doxygen/Doxyfile.in: Don't use pdflatex as it causes multiple hard errors. See for discussion around the problem. The problem occurs on too many functions in GNU SASL for it to be possible to reword them all to work around the problem. 2012-05-16 Simon Josefsson * README-alpha: Mention doxygen. 2012-05-15 Simon Josefsson * cfg.mk, doc/gendocs_template, gl/override/doc/gendocs_template.diff: Use devhelp version 2 format. 2012-05-14 Simon Josefsson * windows/gsasl4win.mk: Don't mess with ~/.wine. Drop KFW 3.2.3alpha1 support. 2012-05-14 Simon Josefsson * windows/gsasl4win.mk: Run self-checks for 64-bit builds too (seems to work on Ubuntu 12.04). 2012-05-14 Simon Josefsson * lib/NEWS: Doc fix. 2011-11-21 Simon Josefsson * lib/gssapi/server.c: gssapi: Don't output zero-length tokens on success. Reported by Andreas Oberritter . 2011-10-26 Simon Josefsson * lib/gssapi/server.c: Only proceed to the next step when the context is established. Before the code would always go to the next step, even if the GSS-API library returned CONTINUE_NEEDED and the context not yet established. The reason this problem does not appear to be exploitable is because a Kerberos V5 GSS-API mechanism implementation would not return CONTINUE_NEEDED and at the same time be able to successfully perform gss_wrap and gss_unwrap. Reported by Andreas Oberritter . 2012-05-14 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strnlen.m4, gl/strnlen.c, gltests/Makefile.am, gltests/test-strnlen.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, {gl => lib/gl}/m4/strndup.m4, {gl => lib/gl}/strndup.c: Move strndup to lib/. 2012-05-14 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/strndup.c, gl/strnlen.c, gltests/Makefile.am, gltests/test-strnlen.c: Add strndup. 2012-05-14 Simon Josefsson * .gitignore: Ignore more. 2012-05-14 Simon Josefsson * lib/digest-md5/parser.c: Rewrite to use strdup instead of malloc. Silences valgrind warnings. 2012-05-14 Simon Josefsson * tests/scram.c, tests/symbols.c: Fix build errors with gcc 4.6. 2012-05-14 Simon Josefsson * doc/gsasl.texi, examples/saml20/README: Fix syntax-check nits. 2012-05-14 Simon Josefsson * lib/NEWS, lib/po/vi.po.in: Sync with TP. 2012-05-14 Simon Josefsson * gl/Makefile.am, gl/fseeko.c, gl/fstat.c, gl/lseek.c, gl/m4/dup2.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/ftruncate.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/largefile.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/math_h.m4, gl/m4/off_t.m4, gl/m4/putenv.m4, gl/m4/realloc.m4, gl/m4/setenv.m4, gl/m4/stat.m4, gl/m4/strerror.m4, gl/m4/symlink.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_types_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/warnings.m4, gl/m4/wctype_h.m4, gl/stdint.in.h, gl/stdio.in.h, gl/sys_stat.in.h, gl/sys_types.in.h, gl/unistd.in.h, gltests/binary-io.h, gltests/fcntl.in.h, gltests/ftruncate.c, gltests/init.sh, gltests/ioctl.c, gltests/stat.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, lib/build-aux/snippet/_Noreturn.h, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/memmem.m4, lib/gl/m4/off_t.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sys_types_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/sys_types.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-sys_types.c, lib/maint.mk, maint.mk: Update gnulib files. 2012-05-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Doc fixes. Bump version. 2012-05-14 Simon Josefsson * README, doc/gsasl.texi, lib/NEWS, lib/README, lib/src/gsasl.h: Doc fixes for SAML/OpenID. 2012-05-14 Simon Josefsson * doc/gsasl.texi, examples/client-xmpp-saml20.c, examples/openid20/smtp-server-openid20.c, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, lib/NEWS, lib/openid20/client.c, lib/openid20/server.c, lib/saml20/client.c, lib/saml20/server.c, lib/src/error.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, tests/openid20.c, tests/saml20.c: Revert "Unify some SAML/OpenID properties & callbacks." This reverts commit 3095b8531899818f1838c8f658024fafb8fbd92a. 2012-04-29 Simon Josefsson * README-alpha: Mention lasso build dependency. 2012-04-18 Simon Josefsson * examples/saml20/README: Fix. 2012-04-18 Simon Josefsson * examples/saml20/README: Add example flow. 2012-04-18 Simon Josefsson * examples/saml20/README: Doc fixes. 2012-04-03 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.3. 2012-04-03 Simon Josefsson * cfg.mk: Don't warn on exit(0) in PHP code. 2012-04-03 Simon Josefsson * examples/saml20/smtp-server-saml20.c: Don't crash on uninitialized variable. 2012-04-03 Simon Josefsson * doc/reference/Makefile.am: Don't use non-portable '-include'. 2012-04-03 Simon Josefsson * AUTHORS: Update OpenPGP key. 2012-04-03 Simon Josefsson * cfg.mk, examples/client-xmpp-saml20.c, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, examples/smtp-server.c, lib/po/POTFILES.in, lib/saml20/client.c, lib/src/mechtools.c, lib/src/mechtools.h, src/gsasl.c: Update copyright headers. 2012-04-03 Simon Josefsson * gl/Makefile.am, gl/m4/math_h.m4, gl/m4/stdio_h.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/stdio.in.h, gltests/strerror_r.c, lib/gl/Makefile.am, lib/gl/m4/math_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/warn-on-use.m4, lib/gl/stdio.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2012-04-03 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client-xmpp-saml20.c, examples/client.c, examples/server-xmpp-saml20.c: Fix warn_unused_result complaints. 2012-04-03 Simon Josefsson * doc/print-errors.c, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/client.c, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/login/client.c, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/server.c, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/server.c, lib/src/crypto.c, lib/src/done.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/internal.h, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/obsolete.c, lib/src/property.c, lib/src/saslprep.c, src/callbacks.c, src/gsasl.c, src/imap.c, src/internal.h, src/smtp.c, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/utils.c, tests/utils.h: Indent code. 2012-04-03 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Fix build errors. 2012-04-03 Simon Josefsson * configure.ac: Disable Lasso by default on Windows. 2012-04-03 Simon Josefsson * NEWS, lib/NEWS: Update NEWS. 2012-04-03 Simon Josefsson * doc/gsasl.texi, lib/saml20/client.c, lib/saml20/server.c: Update SAML20 implementation to -09. Use = instead of empty message. 2012-04-03 Simon Josefsson * doc/gsasl.texi: Doc fixes. 2012-04-03 Simon Josefsson * examples/openid20/Makefile.am, examples/saml20/Makefile.am, examples/saml20/smtp-server-saml20.c: Fix build errors. Use -no-install for examples. 2012-04-03 Simon Josefsson * lib/NEWS, lib/configure.ac: Enable SAML20 by default. Doc fixes. 2012-04-03 Simon Josefsson * tests/crypto.c: Disable testing of gsasl_random for now (it locks). 2012-04-03 Simon Josefsson * NEWS: Add. 2012-04-03 Simon Josefsson * doc/gsasl.texi, examples/client-xmpp-saml20.c, examples/openid20/smtp-server-openid20.c, examples/saml20/smtp-server-saml20.c, examples/server-xmpp-saml20.c, lib/NEWS, lib/openid20/client.c, lib/openid20/server.c, lib/saml20/client.c, lib/saml20/server.c, lib/src/error.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, tests/openid20.c, tests/saml20.c: Unify some SAML/OpenID properties & callbacks. GSASL_REDIRECT_URL: Added, replaces the next two properties. GSASL_OPENID20_REDIRECT_URL: Removed. GSASL_SAML20_REDIRECT_URL: Removed. GSASL_AUTHENTICATE_IN_BROWSER: Added, replaces the next two callbacks. GSASL_SAML20_AUTHENTICATE_IN_BROWSER: Removed. GSASL_OPENID20_AUTHENTICATE_IN_BROWSER: Removed. 2012-04-03 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-03-30 Simon Josefsson * .gitignore, configure.ac, examples/Makefile.am, examples/saml20/Makefile.am, examples/saml20/README, examples/saml20/gsasl-saml20-request.c, examples/saml20/gsasl-saml20-sp.php, examples/saml20/idp.protectnetwork.org/idp-metadata.xml, examples/saml20/openidp.feide.no/idp-metadata.xml, examples/saml20/smtp-server-saml20.c, examples/saml20/sp-crt.pem, examples/saml20/sp-key.pem, examples/saml20/sp-metadata.xml: Add example SAML20 server. 2012-03-28 Simon Josefsson * doc/announce.txt: Update for 1.7.2. 2012-03-28 Simon Josefsson * cfg.mk: Allow for sub-keys. 2012-03-28 Simon Josefsson * configure.ac, examples/Makefile.am, examples/openid20/Makefile.am: Don't build example SMTP server for Windows. 2012-03-28 Simon Josefsson * po/vi.po.in: Sync with TP. 2012-03-28 Simon Josefsson * NEWS, lib/NEWS: Version 1.7.2. 2012-03-28 Simon Josefsson * .gitignore: Ignore more. 2012-03-28 Simon Josefsson * doc/gsasl.texi: Document new OPENID20 properties and callbacks. 2012-03-28 Simon Josefsson * tests/Makefile.am, tests/openid20.c: Add OPENID20 self-test. 2012-03-28 Simon Josefsson * lib/openid20/client.c, lib/openid20/server.c: Fix error handling step. 2012-03-28 Simon Josefsson * examples/smtp-server.c: Sync example SMTP codes. 2012-03-28 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/locale_h.m4, gl/m4/math_h.m4, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/stdlib.in.h, gl/string.in.h, gl/unistr.in.h, gl/unitypes.in.h, gl/wchar.in.h, gltests/Makefile.am, gltests/fpucw.h, gltests/locale.in.h, gltests/macros.h, gltests/test-locale.c, lib/build-aux/gnupload, lib/gl/m4/math_h.m4, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/wchar.in.h, lib/gltests/fpucw.h, lib/gltests/macros.h, lib/maint.mk, maint.mk: Update gnulib files. 2012-03-28 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Create directories with better permissions. 2012-03-28 Simon Josefsson * NEWS, examples/openid20/README, lib/NEWS: Doc fixes. 2012-03-28 Simon Josefsson * NEWS, doc/gsasl.texi: Add example to manual. Update NEWS. 2012-03-28 Simon Josefsson * doc/gsasl.texi: Update OPENID20 documentation. 2012-03-28 Simon Josefsson * lib/configure.ac: Enable OPENID20 by default. 2012-03-28 Simon Josefsson * lib/src/gsasl.h: Collapse enum ranges. 2012-03-28 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Disable stdout buffering (somehow required to pipe output into logger). 2012-03-28 Simon Josefsson * examples/openid20/smtp-server-openid20.c: Fix debug info. 2012-03-28 Simon Josefsson * NEWS, src/gsasl.c, src/imap.c, src/smtp.c: gsasl: Let server decide when authentication is complete. 2012-03-28 Simon Josefsson * .gitignore, configure.ac, examples/Makefile.am, examples/openid20/Makefile.am, examples/openid20/README, examples/openid20/gsasl-openid20-redirect.php, examples/openid20/gsasl-openid20-rp.php, examples/openid20/smtp-server-openid20.c: Add SMTP example server with OpenID 2.0 support. 2012-03-27 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2012-03-27 Simon Josefsson * lib/src/error.c: Fix last commit. 2012-03-27 Simon Josefsson * lib/openid20/client.c, lib/openid20/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c: Use AUTHID for OpenID user-supplied identifier. 2012-03-27 Simon Josefsson * examples/smtp-server.c: Print information after authentication. 2012-03-27 Simon Josefsson * lib/openid20/client.c, lib/openid20/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c: Further OPENID20 fixes. 2012-03-27 Simon Josefsson * examples/smtp-server.c: Don't crash in accept. 2012-03-27 Simon Josefsson * src/gsasl.c: Silence compiler warnings. 2012-03-27 Simon Josefsson * README-alpha: Add make. 2012-03-27 Simon Josefsson * lib/openid20/server.c, lib/src/error.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: Improve OPENID20 implementation. 2012-03-26 Simon Josefsson * .gitignore, examples/Makefile.am, examples/smtp-server.c: Add example SMTP server. 2012-03-26 Simon Josefsson * src/callbacks.c: Support SAML20 callbacks. 2012-03-23 Simon Josefsson * src/smtp.c: Handle when AUTH tokens are on final 250 line. 2012-03-23 Simon Josefsson * src/gsasl.ggo: Prepare for --listen. 2012-03-23 Simon Josefsson * src/gsasl.c: Don't even try to get channel binding when --no-cb was given. 2012-03-07 Simon Josefsson * doc/Makefile.am, doc/gdoc: Don't hardcode /usr/bin/perl in gdoc. For Hydra. 2012-03-02 Simon Josefsson * GNUmakefile, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/config.charset, gl/errno.in.h, gl/float+.h, gl/fseeko.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/fpieee.m4, gl/m4/math_h.m4, gl/mbrtowc.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/size_max.h, gl/snprintf.c, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/streq.h, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, gl/time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/wchar.in.h, gl/wctype.in.h, gl/xsize.h, gltests/gettimeofday.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/malloc.c, gltests/malloca.c, gltests/malloca.h, gltests/pathmax.h, gltests/pipe.c, gltests/sys_ioctl.in.h, gltests/test-fgetc.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-fwrite.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-perror.c, gltests/test-perror2.c, gltests/test-pipe.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-strerror.c, gltests/test-strerror_r.c, lib/GNUmakefile, lib/build-aux/gnupload, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/m4/fpieee.m4, lib/gl/m4/math_h.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/test-fgetc.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-strverscmp.c, lib/maint.mk, maint.mk: Update gnulib files. 2012-03-02 Simon Josefsson * lib/cfg.mk: Let 'make update-po' work unbootstrapped. 2012-02-20 Simon Josefsson * THANKS, doc/gsasl.texi: Fix typo. Reported by Phil Pennock . 2012-02-20 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2012-02-10 Simon Josefsson * doc/announce.txt: Update for 1.7.1. 2012-02-09 Simon Josefsson * lib/build-aux/gnupload: Really add gnupload. 2012-02-09 Simon Josefsson * cfg.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Add and fix gnupload commands. 2012-02-09 Simon Josefsson * .gitignore: Ignore more. 2012-02-09 Simon Josefsson * cfg.mk: Fix path in release rule. 2012-02-09 Simon Josefsson * cfg.mk, lib/cfg.mk: Cleanup release targets. 2012-02-09 Simon Josefsson * NEWS: Version 1.7.1. 2012-02-09 Simon Josefsson * .gitignore: Add more. 2012-02-09 Simon Josefsson * lib/build-aux/config.rpath, lib/maint.mk, maint.mk: Update gnulib files. 2012-02-09 Simon Josefsson * gl/m4/valgrind-tests.m4, gl/override/m4/valgrind-tests.m4.diff: Disable memory leak checking for now. 2012-02-08 Simon Josefsson * lib/gl/build-aux/config.rpath, lib/gl/build-aux/link-warning.h, lib/gl/build-aux/useless-if-before-free, lib/gl/build-aux/vc-list-files: Remove obsolete files. 2012-02-08 Simon Josefsson * Makefile.am, lib/build-aux/config.rpath: Disable GSS-API for self-testing (memory leaks). 2012-02-08 Simon Josefsson * lib/configure.ac: Doc fix. 2012-02-08 Simon Josefsson * .gitignore, ChangeLog, cfg.mk, lib/ChangeLog, lib/cfg.mk, windows/gsasl4win.mk: Improve release targets. 2012-02-07 Simon Josefsson * cfg.mk: Add gtk-doc rules. 2012-02-07 Simon Josefsson * cfg.mk: Add clang rules. 2012-02-07 Simon Josefsson * cfg.mk: Fix coverage rules. 2012-02-07 Simon Josefsson * NEWS, THANKS, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strdup.m4, gl/strdup.c, gltests/Makefile.am, {gl => gltests}/malloc.c: Use getpass-gnu instead of getpass to get a working getpass everywhere. Solves problem on Mac OS X reported by Wim Lewis . 2012-02-07 Simon Josefsson * README, doc/announce.txt: Fix links. 2012-02-07 Simon Josefsson * README: Mention OPENID/SAML. 2012-02-07 Simon Josefsson * cfg.mk: Fix ignore rule. 2012-02-07 Simon Josefsson * configure.ac, doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml, doc/reference/version.xml.in, gtk-doc.make, m4/gtk-doc.m4: Update gtk-doc files. 2012-02-07 Simon Josefsson * cfg.mk: Fix syntax-check nit. 2012-02-07 Simon Josefsson * .cvsusers, .prev-version, lib/.prev-version: Drop old files. 2012-02-07 Simon Josefsson * doc/Makefile.am, doc/gpl-3.0.texi, doc/gsasl.texi, doc/lgpl-2.1.texi, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Drop licenses from manual. 2012-02-07 Simon Josefsson * .clcopying, AUTHORS, ChangeLog, Makefile.am, README, README-alpha, THANKS, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc, doc/gsasl.texi, doc/print-errors.c, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, lib/AUTHORS, lib/ChangeLog, lib/Makefile.am, lib/NEWS, lib/README, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cfg.mk, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/qop.c, lib/digest-md5/qop.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/saml20/Makefile.am, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/scram.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/libgsasl.map, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/crypto.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gs2-krb5.c, tests/gssapi.c, tests/libgsasl.supp, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/old-simple.c, tests/readnz.c, tests/saml20.c, tests/scram.c, tests/scramplus.c, tests/simple.c, tests/suggest.c, tests/symbols.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h, windows/gsasl4win.mk: Update copyright headers. 2012-02-07 Simon Josefsson * cfg.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/build-aux/update-copyright: Use update-copyright gnulib module. 2012-02-07 Simon Josefsson * NEWS: Add. 2012-02-07 Simon Josefsson * examples/client-xmpp-saml20.c, examples/server-xmpp-saml20.c: Don't use getline in examples. 2012-02-07 Simon Josefsson * lib/saml20/client.c: Fix logic. 2012-02-07 Simon Josefsson * lib/configure.ac: Disable OPENID20 and SAML20 by default. 2012-02-07 Simon Josefsson * lib/src/mechtools.c, lib/src/mechtools.h: Fix memory leak and warnings. 2012-02-07 Simon Josefsson * lib/saml20/client.c: Silence warning. 2012-02-07 Simon Josefsson * lib/scram/client.c: Fix memory leak. 2012-02-07 Simon Josefsson * lib/po/sr.po.in, po/sr.po.in: Sync with TP. 2012-02-07 Simon Josefsson * src/gsasl.c: Silence warning. 2012-02-07 Simon Josefsson * GNUmakefile, cfg.mk, doc/fdl-1.3.texi, doc/gendocs_template, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strcaseeq.h, gl/c-strncasecmp.c, gl/close.c, gl/config.charset, gl/connect.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fclose.c, gl/fd-hook.c, gl/fd-hook.h, gl/fflush.c, gl/float+.h, gl/float.c, gl/float.in.h, gl/fpurge.c, gl/freading.c, gl/freading.h, gl/fseek.c, gl/fseeko.c, gl/fstat.c, gl/ftello.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4, gl/m4/extensions.m4, gl/m4/fclose.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fdopen.m4, gl/m4/fflush.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fpurge.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/fstat.m4, gl/m4/ftell.m4, gl/m4/ftello.m4, gl/m4/ftruncate.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/ioctl.m4, gl/m4/largefile.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/libunistring-base.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/msvc-inval.m4, gl/m4/{freading.m4 => msvc-nothrow.m4}, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nocrash.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/signal_h.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strerror_r.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/msvc-inval.c, gl/msvc-inval.h, gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/override/lib/dup2.c.diff, gl/override/lib/getpass.c.diff, gl/override/lib/gettext.h.diff, gl/override/m4/open.m4.diff, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/signal.in.h, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdalign.in.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.in.h, {gltests => gl}/sys_stat.in.h, gl/sys_time.in.h, gl/sys_types.in.h, gl/sys_uio.in.h, {gltests => gl}/time.in.h, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/accept.c, gltests/binary-io.h, gltests/bind.c, gltests/btowc.c, gltests/dosname.h, gltests/dup2.c, gltests/fcntl.in.h, gltests/fdopen.c, gltests/fpucw.h, gltests/ftruncate.c, gltests/getcwd-lgpl.c, gltests/getpagesize.c, gltests/gettimeofday.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/inttypes.in.h, gltests/ioctl.c, gltests/listen.c, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/perror.c, gltests/pipe.c, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/setsockopt.c, gltests/signature.h, gltests/stat.c, gltests/strerror_r.c, gltests/symlink.c, gltests/sys_ioctl.in.h, gltests/test-accept.c, gltests/test-alignof.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, gltests/test-bind.c, gltests/test-btowc.c, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gl/ftell.c => gltests/test-close.c, gltests/test-connect.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fclose.c, gltests/test-fcntl-h.c, gltests/test-fdopen.c, gltests/test-fflush.c, gltests/test-fflush2.c, gltests/test-fflush2.sh, gltests/test-fgetc.c, gltests/test-float.c, gltests/test-fpurge.c, gltests/test-fputc.c, gltests/test-fread.c, gltests/test-freading.c, gltests/test-fseek.c, gltests/test-fseeko.c, gltests/test-fseeko3.c, gltests/test-fseeko3.sh, gltests/test-fseeko4.c, gltests/test-fseeko4.sh, gltests/test-fstat.c, gltests/test-ftell.c, gltests/test-ftell.sh, gltests/test-ftell2.sh, gltests/test-ftell3.c, gltests/test-ftello.c, gltests/test-ftello.sh, gltests/test-ftello2.sh, gltests/test-ftello3.c, gltests/test-ftruncate.c, gltests/test-ftruncate.sh, gltests/test-fwrite.c, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-init.sh, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-ioctl.c, gltests/test-listen.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-pathmax.c, gltests/test-perror.c, gltests/test-perror2.c, gltests/test-pipe.c, gltests/test-poll-h.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-recv.c, gltests/test-select-fd.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-select.h, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale2.c, gltests/test-setlocale2.sh, gltests/test-setsockopt.c, gltests/test-shutdown.c, gltests/test-signal-h.c, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdalign.c, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-strerror_r.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_ioctl.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_types.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-thread_create.c, gltests/test-thread_self.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wctype-h.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/w32sock.h, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/pmccabe.css, lib/build-aux/pmccabe2html, lib/build-aux/snippet/_Noreturn.h, lib/build-aux/{ => snippet}/arg-nonnull.h, lib/build-aux/{ => snippet}/c++defs.h, lib/build-aux/{ => snippet}/unused-parameter.h, lib/build-aux/{ => snippet}/warn-on-use.h, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/itold.c, lib/gl/m4/00gnulib.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/exponentd.m4, lib/gl/m4/extensions.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/fdopen.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/math_h.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/msvc-inval.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/ssize_t.m4, lib/gl/m4/stdalign.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/override/lib/gettext.h.diff, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdalign.in.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/fdopen.c, lib/gltests/fpucw.h, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/msvc-inval.c, lib/gltests/msvc-inval.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-fdopen.c, lib/gltests/test-fgetc.c, lib/gltests/test-float.c, lib/gltests/test-fputc.c, lib/gltests/test-fread.c, lib/gltests/test-fwrite.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-hmac-md5.c, lib/gltests/test-hmac-sha1.c, lib/gltests/test-init.sh, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-md5.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-sha1.c, lib/gltests/test-stdalign.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2011-11-12 Enrico Scholz * src/imap.c: ignore untagged responses during IMAP authentication Some IMAP server (e.g. dovecot) return new capabilities as untagged response. Old code expected only one line (e.g. the final '. OK') which would be given out as part of the application data. E.g. without this patch, authentication to a dovecot server would look like: | $ gsasl mailbox 143 --imap ... | ... | + BQQF/wAMAAAAAAAAIO4EoAH... | BQQE/wAMAAAAAAAAII9BbgH... | * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ... | Client authentication finished (server trusted)... | Enter application data (EOF to finish): | . OK Logged in Patches changes it to | + BQQF/wAMAAAAAAAAIX... | BQQE/wAMAAAAAAAAK2... | * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ... | . OK Logged in | Client authentication finished (server trusted)... | Enter application data (EOF to finish): Dialog with cyrus-imapd is not changed and ends always with | + BQQF/wAMAAAAAAAAPqx... | BQQE/wAMAAAAAAAAL... | . OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ...] Success (tls protection) | Client authentication finished (server trusted)... | Enter application data (EOF to finish): Signed-off-by: Enrico Scholz Signed-off-by: Simon Josefsson 2011-11-25 Simon Josefsson * tests/readnz.c: Print newline after messages. 2011-11-25 Simon Josefsson * tests/Makefile.am: Fix trailing backslash problem. Reported by Bruno Haible. 2011-11-22 Simon Josefsson * lib/tests/test-error.c: Silence warning. 2011-06-30 Simon Josefsson * .gitignore, NEWS, doc/gsasl.texi, doc/reference/gsasl-docs.sgml, lib/Makefile.am, lib/NEWS, lib/README, lib/configure.ac, lib/openid20/Makefile.am, lib/openid20/client.c, lib/openid20/mechinfo.c, lib/openid20/openid20.h, lib/openid20/server.c, lib/src/Makefile.am, lib/src/error.c, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, tests/saml20.c: libgsasl: Implement OPENID20 mechanism for OpenID authentication. Following draft-ietf-kitten-sasl-openid-03. 2011-06-30 Simon Josefsson * NEWS, doc/gsasl.texi, lib/NEWS: Clarify protocol version. 2010-11-13 Simon Josefsson * NEWS, examples/Makefile.am, examples/client-xmpp-saml20.c, examples/server-xmpp-saml20.c, lib/NEWS, lib/src/error.c: examples: Added client-xmpp-saml20 and server-xmpp-saml20. 2011-06-29 Simon Josefsson * .gitignore, doc/Makefile.am, doc/gsasl.texi, lib/Makefile.am, lib/configure.ac, lib/gs2/server.c, lib/saml20/Makefile.am, lib/saml20/client.c, lib/saml20/mechinfo.c, lib/saml20/saml20.h, lib/saml20/server.c, lib/src/Makefile.am, lib/src/error.c, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/mechtools.c, lib/src/mechtools.h, lib/src/property.c, lib/src/xfinish.c, tests/Makefile.am, tests/saml20.c: Implement SAML20 as per draft-ietf-kitten-sasl-saml-01. 2011-06-28 Simon Josefsson * lib/po/LINGUAS, lib/po/eo.po.in, lib/po/fi.po.in, lib/po/it.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/uk.po.in, lib/po/zh_CN.po.in, po/LINGUAS, po/de.po.in, po/eo.po.in, po/fi.po.in, po/it.po.in, po/nl.po.in, po/pl.po.in, po/uk.po.in, po/zh_CN.po.in: Sync with TP. 2011-06-28 Simon Josefsson * cfg.mk, doc/lgpl-2.1.texi, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/arpa_inet.in.h, gl/errno.in.h, gl/error.c, gl/fclose.c, gl/float.c, gl/float.in.h, gl/fseek.c, {gltests => gl}/ftell.c, gl/getopt.c, gl/getopt.in.h, gl/iconv.c, gl/iconv.in.h, gl/iconv_close.c, gl/intprops.h, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/btowc.m4, gl/m4/dup2.m4, gl/m4/error.m4, gl/m4/fclose.m4, gl/m4/fflush.m4, gl/m4/float_h.m4, gl/m4/fpieee.m4, gl/m4/fpurge.m4, gl/m4/fseek.m4, gl/m4/fseeko.m4, gl/m4/ftell.m4, gl/m4/ftello.m4, gl/m4/getaddrinfo.m4, gl/m4/getcwd.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/ioctl.m4, gl/m4/libunistring-base.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/stat.m4, gl/m4/stdint.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strerror_r.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/unistd_h.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/xalloc.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.in.h, gl/sockets.c, gl/stdarg.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strerror-override.c, gl/strerror-override.h, gl/strerror.c, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/sys_uio.in.h, gl/unistd.in.h, gl/unistr.in.h, gl/unistr/u8-mbtoucr.c, gl/unistr/u8-uctomb-aux.c, gl/unistr/u8-uctomb.c, gl/unitypes.in.h, gl/verify.h, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/fcntl.in.h, gltests/fpucw.h, gltests/getcwd-lgpl.c, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/init.sh, gltests/inttypes.in.h, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/macros.h, gltests/pathmax.h, gltests/perror.c, gltests/setenv.c, gltests/stat.c, gltests/strerror_r.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-fclose.c, gltests/test-fflush.c, gltests/test-float.c, gltests/test-fseek.c, gltests/test-fseek.sh, gltests/test-fseek2.sh, gltests/test-getaddrinfo.c, gltests/test-getcwd-lgpl.c, gltests/test-intprops.c, gltests/test-inttypes.c, gltests/test-lock.c, gltests/test-perror.sh, gltests/test-perror2.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-strerror.c, gltests/test-strerror_r.c, gltests/test-verify.c, gltests/time.in.h, gltests/unistr/test-u8-mbtoucr.c, gltests/unistr/test-u8-uctomb.c, gltests/unsetenv.c, lib/build-aux/unused-parameter.h, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float.c, lib/gl/float.in.h, lib/gl/gc.h, lib/gl/m4/alloca.m4, lib/gl/m4/float_h.m4, lib/gl/m4/fpieee.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/printf.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/stdint.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/wchar_h.m4, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/fpucw.h, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/inttypes.in.h, lib/gltests/macros.h, lib/gltests/test-float.c, lib/gltests/test-intprops.c, lib/gltests/test-inttypes.c, lib/gltests/test-verify.c, lib/maint.mk, maint.mk: Update gnulib files. 2011-06-06 Simon Josefsson * src/callbacks.c: Print warnings to stderr. Reported by Jacek Konieczny . 2011-05-30 Brad Hards * src/imap.c, src/smtp.c: Fix compilation problems associated with -Wunused-result and -Werror These warnings are a bit excessive, but they are enabled by default on some systems (e.g. Ubuntu) with some compilers (gcc 4.5.2 in my case). Signed-off-by: Brad Hards Signed-off-by: Simon Josefsson 2011-05-30 Brad Hards * lib/src/callback.c, lib/src/error.c, lib/src/mechname.c, lib/src/obsolete.c, lib/src/property.c, lib/src/suggest.c, lib/src/version.c: doc: fix warnings about unknown links Signed-off-by: Brad Hards Signed-off-by: Simon Josefsson 2011-06-06 Brad Hards * .gitignore: add gl/readline.lo and .o to ignore list Signed-off-by: Brad Hards Signed-off-by: Simon Josefsson 2011-05-01 Simon Josefsson * .gitignore, .x-sc_bindtextdomain, .x-sc_file_system, .x-sc_po_check, .x-sc_program_name, .x-sc_prohibit_empty_lines_at_EOF, .x-sc_prohibit_magic_number_exit, .x-sc_space_tab, .x-sc_texinfo_acronym, .x-sc_the_the, .x-sc_trailing_blank, GNUmakefile, cfg.mk, doc/gendocs_template, doc/gsasl.texi, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/close-hook.c, gl/close-hook.h, gl/close.c, gl/config.charset, gl/connect.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fclose.c, gl/fd-hook.c, gl/fd-hook.h, gl/fflush.c, gl/float+.h, gl/float.in.h, gl/fpurge.c, gl/freading.c, gl/freading.h, gl/fseeko.c, gl/ftello.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.in.h, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/asm-underscore.m4, gl/m4/autobuild.m4, gl/m4/btowc.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/configmake.m4, gl/m4/dos.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/extensions.m4, gl/m4/fclose.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/fflush.m4, gl/m4/float_h.m4, gl/m4/fpurge.m4, gl/m4/freading.m4, gl/m4/fseeko.m4, gl/m4/ftell.m4, gl/m4/ftello.m4, gl/m4/getaddrinfo.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/getpass.m4, gl/m4/gettimeofday.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/ioctl.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/localename.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/pipe.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/setlocale.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/stat.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/sys_uio_h.m4, gl/m4/thread.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/valgrind-tests.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/version-etc.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctob.m4, gl/m4/wctomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/yield.m4, gl/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio-write.c, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/strtok_r.c, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/sys_uio.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/accept.c, gltests/binary-io.h, gltests/bind.c, gltests/btowc.c, gltests/dosname.h, gltests/dup2.c, gltests/fcntl.in.h, gltests/ftell.c, gltests/getpagesize.c, gltests/gettimeofday.c, gltests/glthread/lock.c, gltests/glthread/lock.h, gltests/glthread/thread.c, gltests/glthread/thread.h, gltests/glthread/threadlib.c, gltests/glthread/yield.h, gltests/ignore-value.h, gltests/inet_pton.c, gltests/init.sh, gltests/ioctl.c, gltests/listen.c, gltests/locale.in.h, gltests/localename.c, gltests/localename.h, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/mbtowc-impl.h, gltests/mbtowc.c, gltests/open.c, gltests/pathmax.h, gltests/perror.c, gltests/pipe.c, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setlocale.c, gltests/setsockopt.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-alignof.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-btowc.c, gltests/test-btowc1.sh, gltests/test-btowc2.sh, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fflush.c, gltests/test-fflush2.c, gltests/test-fflush2.sh, gltests/test-fpurge.c, gltests/test-freading.c, gltests/test-fseeko.c, gltests/test-ftell.c, gltests/test-ftell.sh, gltests/test-ftell2.sh, gltests/test-ftell3.c, gltests/test-ftello.c, gltests/test-ftello.sh, gltests/test-ftello2.sh, gltests/test-ftello3.c, gltests/test-getaddrinfo.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv-h.c, gltests/test-iconv.c, gltests/test-ignore-value.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-locale.c, gltests/test-localename.c, gltests/test-lock.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc-w32-1.sh, gltests/test-mbrtowc-w32-2.sh, gltests/test-mbrtowc-w32-3.sh, gltests/test-mbrtowc-w32-4.sh, gltests/test-mbrtowc-w32-5.sh, gltests/test-mbrtowc-w32.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-perror.c, gltests/test-pipe.c, gltests/test-poll-h.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-quotearg.h, gltests/test-select-fd.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-setenv.c, gltests/test-setlocale1.c, gltests/test-setlocale1.sh, gltests/test-setlocale2.c, gltests/test-setlocale2.sh, gltests/test-snprintf.c, gltests/test-sockets.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_ioctl.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-sys_uio.c, gltests/test-sys_wait.h, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vasprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wcrtomb-w32-1.sh, gltests/test-wcrtomb-w32-2.sh, gltests/test-wcrtomb-w32-3.sh, gltests/test-wcrtomb-w32-4.sh, gltests/test-wcrtomb-w32-5.sh, gltests/test-wcrtomb-w32.c, gltests/test-wcrtomb.c, gltests/test-wcrtomb.sh, gltests/{test-wctype.c => test-wctype-h.c}, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/time.in.h, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/w32sock.h, gltests/wcrtomb.c, gltests/wctob.c, gltests/wctomb-impl.h, gltests/wctomb.c, gltests/zerosize-ptr.h, lib/COPYING.LIB, lib/GNUmakefile, lib/build-aux/arg-nonnull.h, lib/build-aux/c++defs.h, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/pmccabe2html, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/build-aux/warn-on-use.h, lib/cram-md5/challenge.c, lib/digest-md5/free.c, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/m4/00gnulib.m4, lib/gl/m4/alloca.m4, lib/gl/m4/asm-underscore.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar_h.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strnlen.c, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/verify.h, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/getpagesize.c, lib/gltests/init.sh, lib/gltests/intprops.h, lib/gltests/macros.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-c-ctype.c, lib/gltests/test-errno.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strnlen.c, lib/gltests/test-strverscmp.c, lib/gltests/test-sys_wait.h, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-verify.c, lib/gltests/test-wchar.c, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. Fix syntax-check warnings. 2011-05-01 Simon Josefsson * lib/po/LINGUAS, lib/po/eo.po.in, po/LINGUAS, po/eo.po.in: Sync with TP. 2011-05-01 Simon Josefsson * NEWS, cfg.mk, lib/NEWS: Merge in 1.6.1 stuff. 2011-05-01 Simon Josefsson * .gitignore, windows/gsasl4win.mk: Fix upload rule. 2011-05-01 Simon Josefsson * .gitignore, NEWS, windows/gsasl4win.mk: build: Added MinGW build script for Windows binaries, windows/gsasl4win.mk. 2011-05-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Demand gettext >= 0.18.1 in order to get newer M4 files. The old M4 files associated with 0.17 caused problems on Solaris, which will hopefully be fixed with this. Reported by Dagobert Michelsen . 2011-05-01 Simon Josefsson * lib/NEWS, lib/libgsasl.pc.in: libgsasl.pc: Add a Libs.private. Reported by Volker Grabsch . 2011-05-01 Simon Josefsson * README, lib/README, lib/libgsasl.pc.in: Compact copyright ranges. 2011-02-23 Simon Josefsson * doc/gsasl.texi: Fix typo. Reported by Дилян Палаузов . 2010-12-14 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2010-12-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump version. 2010-12-14 Simon Josefsson * ChangeLog: Generated. 2010-12-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-12-14 Simon Josefsson * NEWS, lib/NEWS: Version 1.6.0. 2010-12-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-12-09 Simon Josefsson * ChangeLog: Generated. 2010-12-09 Simon Josefsson * lib/ChangeLog: Generated. 2010-12-09 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.5. 2010-12-09 Simon Josefsson * NEWS: Add. 2010-12-09 Simon Josefsson * configure.ac, lib/configure.ac: Silence. 2010-12-09 Simon Josefsson * lib/src/error.c: Fix indentation. 2010-12-09 Simon Josefsson * cfg.mk: Don't indent examples, formatting needed for texinfo manual. 2010-12-09 Simon Josefsson * .x-sc_bindtextdomain: Add. 2010-12-09 Simon Josefsson * NEWS, doc/gsasl.texi, src/callbacks.c, src/gsasl.ggo: gsasl: Add --no-cb command line parameter. 2010-12-09 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/gettext.h, gl/iconv.in.h, gl/intprops.h, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/dup2.m4, gl/m4/fcntl-o.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/glibc21.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/open.m4, gl/m4/poll.m4, gl/m4/printf.m4, gl/m4/putenv.m4, gl/m4/readline.m4, gl/m4/setenv.m4, gl/m4/stat.m4, gl/m4/stdint.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar_h.m4, gl/mbrtowc.c, gl/printf-parse.c, gl/printf-parse.h, gl/stdint.in.h, gl/striconv.c, gl/string.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/xmalloc.c, gltests/fcntl.in.h, gltests/test-getopt.h, gltests/test-iconv-h.c, lib/build-aux/gendocs.sh, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/alloca.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/printf.m4, lib/gl/m4/stdint.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wchar_h.m4, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/stdint.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/intprops.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-12-09 Simon Josefsson * .gitignore: Add. 2010-12-09 Simon Josefsson * src/callbacks.c: Fix crash for non-TLS. 2010-11-14 Simon Josefsson * cfg.mk: Fix bashism. 2010-11-14 Simon Josefsson * cfg.mk: Copy GTK-DOC PDF too. 2010-11-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-11-14 Simon Josefsson * ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.4. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/NEWS, lib/scram/server.c: SCRAM: Fix memory leaks. 2010-11-14 Simon Josefsson * tests/scramplus.c: Remove debug code. 2010-11-14 Simon Josefsson * NEWS, lib/NEWS: Add. 2010-11-14 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/arpa_inet.in.h, gl/errno.in.h, gl/float+.h, gl/float.in.h, gl/getopt.in.h, gl/iconv.in.h, gl/inet_ntop.c, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/poll.m4, gl/m4/poll_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_wait_h.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-parse.c, gl/printf-parse.h, gl/stdarg.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strerror.c, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/sys_wait.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc.h, gltests/Makefile.am, gltests/fcntl.in.h, gltests/ignore-value.h, gltests/init.sh, gltests/malloca.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-getopt.h, gltests/test-getopt_long.h, lib/gltests/test-sys_wait.c => gltests/test-poll-h.c, gltests/test-poll.c, gltests/test-quotearg-simple.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-stdlib.c, gltests/test-sys_wait.c, gltests/time.in.h, lib/GNUmakefile, lib/build-aux/pmccabe.css, lib/build-aux/pmccabe2html, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.in.h, lib/gl/m4/errno_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/include_next.m4, lib/gl/m4/memmem.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/sys_wait_h.m4, lib/gl/m4/threadlib.m4, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/sys_wait.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/{gltests => gl}/verify.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-memmem.c, lib/gltests/test-stdlib.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-11-14 Simon Josefsson * lib/NEWS: Add. 2010-11-14 Simon Josefsson * lib/scram/parser.c: Fix parsing bug. 2010-11-14 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-11-14 Simon Josefsson * ChangeLog: Generated. 2010-11-14 Simon Josefsson * lib/ChangeLog: Generated. 2010-11-14 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.3. 2010-11-14 Simon Josefsson * .gitignore, NEWS, README, configure.ac, doc/gsasl.texi, doc/reference/gsasl-docs.sgml, lib/NEWS, lib/README, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/parser.c, lib/scram/printer.c, lib/scram/scram.h, lib/scram/server.c, lib/scram/validate.c, lib/src/error.c, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c, src/callbacks.c, src/gsasl.c, src/internal.h, tests/Makefile.am, tests/scram.c, tests/scramplus.c: Support SCRAM-SHA-1-PLUS. Add GSASL_CB_TLS_UNIQUE. Use GnuTLS for tls-unique CB. 2010-11-13 Simon Josefsson * .gitignore: Ignore more. 2010-11-13 Simon Josefsson * src/gsasl.c, tests/cram-md5.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-md5file.c, tests/old-simple.c, tests/scram.c, tests/simple.c, tests/utils.c: Fix compiler warnings. 2010-09-27 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-09-27 Simon Josefsson * doc/gsasl.texi: Fix typo. 2010-09-27 Simon Josefsson * ChangeLog: Generated. 2010-09-27 Simon Josefsson * lib/ChangeLog: Generated. 2010-09-27 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.2. 2010-09-27 Simon Josefsson * NEWS: Add. 2010-09-27 Simon Josefsson * NEWS: Add. 2010-09-27 Simon Josefsson * doc/gsasl.texi: Drop libgpg-error/libgcrypt stuff from KfW. 2010-09-27 Simon Josefsson * src/gsasl.c: Manually initialize sockets for Windows (should be fixed in gnulib..). 2010-09-27 Simon Josefsson * doc/gsasl.texi: Improve KfW instructions. 2010-09-27 Simon Josefsson * gl/override/tests/test-environ.c.diff, gl/override/tests/test-unsetenv.c.diff, gltests/test-environ.c, gltests/test-unsetenv.c: Work around Wine bugs in gnulib self-tests. 2010-09-26 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/sys_wait.in.h, gltests/Makefile.am, gltests/test-stdlib.c, gltests/test-sys_wait.c, gltests/test-sys_wait.h, lib/gl/m4/gnulib-comp.m4, lib/gl/sys_wait.in.h, lib/gltests/Makefile.am, lib/gltests/test-stdlib.c, lib/gltests/test-sys_wait.c, lib/gltests/test-sys_wait.h: Update gnulib files. 2010-09-26 Simon Josefsson * doc/gsasl.texi: Fix download URL. 2010-09-26 Simon Josefsson * NEWS: Add. 2010-09-26 Simon Josefsson * lib/po/nl.po.in, po/nl.po.in: Sync with TP. 2010-09-26 Simon Josefsson * cfg.mk, lib/cfg.mk: Improve cfg.mk targets. 2010-09-26 Simon Josefsson * cfg.mk: Revert "Fixup visibility.m4 after gettext import." This reverts commit 322be869c210175857e202e5078fafbf49ea5b61. 2010-09-26 Simon Josefsson * doc/gsasl.texi: Improve KfW section. 2010-09-26 Simon Josefsson * cfg.mk: Fixup visibility.m4 after gettext import. 2010-09-26 Simon Josefsson * src/gsasl.c: Print errors from poll (mostly for Windows). 2010-09-26 Simon Josefsson * NEWS: Add. 2010-09-26 Simon Josefsson * src/gsasl.c, src/imap.c, src/smtp.c: Avoid fixed size buffers (caused problems on Windows where BUFSIZ is 512 smaller the some line lengths with GS2-KRB5). 2010-09-26 Simon Josefsson * gl/Makefile.am, gl/asprintf.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/vasprintf.m4, gl/vasprintf.c, gltests/Makefile.am, gltests/test-vasprintf.c: Add asprintf gnulib module. 2010-09-25 Simon Josefsson * gl/getaddrinfo.c, gltests/test-getaddrinfo.c: Update gnulib files. 2010-09-25 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/gss-extra.c, lib/gl/gss-extra.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gss-extra.m4, lib/gl/override/lib/gss-extra.c, lib/gl/override/lib/gss-extra.h, lib/gl/override/m4/gss-extra.m4, lib/gl/override/modules/gss-extra, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/server.c: Move GSS-API helper stuff to gss-extra module. 2010-09-25 Simon Josefsson * doc/gsasl.texi: Add 'Kerberos on Windows' section. 2010-09-25 Simon Josefsson * lib/NEWS: Add. 2010-09-25 Simon Josefsson * .x-sc_space_tab: Fix syntax-check tests. 2010-09-25 Simon Josefsson * GNUmakefile, NEWS, cfg.mk, doc/fdl-1.3.texi, gl/Makefile.am, gl/m4/codeset.m4, gl/m4/environ.m4, gl/m4/error.m4, gl/m4/fcntl-o.m4, gl/m4/float_h.m4, gl/m4/getopt.m4, gl/m4/getpagesize.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lock.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, gl/m4/nls.m4, gl/m4/open.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4, gl/m4/realloc.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/size_max.m4, gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/stat.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdlib_h.m4, gl/m4/strtok_r.m4, gl/m4/symlink.m4, gl/m4/sys_wait_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/uintmax_t.m4, gl/m4/visibility.m4, gl/m4/wchar_t.m4, gl/m4/wctob.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/malloc.c, gl/poll.c, gl/realloc.c, gl/select.c, gl/stdio.in.h, gl/stdlib.in.h, gl/strerror.c, gl/string.in.h, gl/sys_time.in.h, gl/sys_wait.in.h, gl/unistd.in.h, gl/wctype.in.h, gl/xmalloc.c, gltests/Makefile.am, gltests/fcntl.in.h, gltests/getpagesize.c, gltests/init.sh, gltests/locale/fr/LC_MESSAGES/test-quotearg.po, gltests/malloca.c, gltests/open.c, gltests/setenv.c, gltests/test-malloca.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/{test-quotearg.c => test-quotearg-simple.c}, gltests/test-quotearg.h, gltests/test-quotearg.sh, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdlib.c, gltests/test-sys_socket.c, gltests/test-sys_wait.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-verify.c, gltests/time.in.h, lib/GNUmakefile, lib/NEWS, lib/build-aux/gendocs.sh, lib/build-aux/pmccabe2html, lib/gl/Makefile.am, lib/gl/m4/codeset.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/malloc.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/minmax.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/printf.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/sys_wait_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/visibility.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/realloc.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/sys_wait.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdlib.c, lib/gltests/test-strnlen.c, lib/gltests/test-sys_wait.c, lib/gltests/test-verify.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-09-02 Simon Josefsson * lib/configure.ac, lib/gs2/Makefile.am, lib/gssapi/Makefile.am: Support MIT KfW as GSS-API library. 2010-05-20 Simon Josefsson * NEWS, cfg.mk, doc/announce.txt, doc/gendocs_template, doc/reference/Makefile.am, gl/override/doc/gendocs_template.diff, gtk-doc.make, m4/gtk-doc.m4: Update GTK-DOC files to enable PDF manual. 2010-05-20 Simon Josefsson * tests/cram-md5.c, tests/digest-md5.c, tests/gs2-krb5.c, tests/gssapi.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/scram.c: Fix error strings in self-tests. 2010-05-20 Simon Josefsson * lib/NEWS: Add. 2010-05-20 Simon Josefsson * README, lib/README: Improve READMEs. 2010-05-20 Simon Josefsson * configure.ac, doc/gendocs_template, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, m4/valgrind.m4 => gl/m4/valgrind-tests.m4: Update gnulib files, use new valgrind-tests module. 2010-05-17 Simon Josefsson * gl/Makefile.am, gl/config.charset, gl/error.c, gl/localcharset.c, gl/m4/asm-underscore.m4, gl/m4/gettext.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/intl.m4, gl/m4/po.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/m4/wctob.m4, gl/stdio-write.c, gl/stdio.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/verify.h, gl/wchar.in.h, gltests/Makefile.am, gltests/init.sh, gltests/test-lseek.sh, gltests/test-verify.c, gltests/test-verify.sh, gltests/test-xalloc-die.sh, gltests/wctob.c, lib/build-aux/c++defs.h, lib/build-aux/gendocs.sh, lib/gl/Makefile.am, lib/gl/m4/asm-underscore.m4, lib/gl/m4/fcntl-o.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intl.m4, lib/gl/m4/po.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/init.sh, lib/gltests/test-verify.c, lib/gltests/test-verify.sh, lib/gltests/verify.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-04-29 Simon Josefsson * THANKS: Add. 2010-04-29 Simon Josefsson * tests/scram.c: More extension checking. 2010-04-29 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/netdb_h.m4, gl/m4/unistd_h.m4, gl/netdb.in.h, gl/unistd.in.h, gltests/init.sh, lib/gl/Makefile.am, lib/gl/c-ctype.c, lib/gl/c-ctype.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-c-ctype.c, lib/maint.mk, maint.mk: Update gnulib files. Add c-ctype module, for SCRAM. 2010-04-29 Simon Josefsson * lib/scram/parser.c: SCRAM server: ignore extensions in client-final. 2010-04-29 Simon Josefsson * tests/scram.c: Test extension parameters. 2010-04-29 Simon Josefsson * tests/scram.c: Don't ignore unexpected successes for i=16,17. 2010-04-29 Simon Josefsson * tests/scram.c: Test two failure modes with mismatching c= fields. 2010-04-29 Simon Josefsson * lib/scram/server.c: SCRAM server: Compare c= field in client-final to match client-first. Reported by Marc Santamaria . 2010-04-29 Simon Josefsson * tests/scram.c: Check that server supports n=y. 2010-04-29 Simon Josefsson * lib/scram/parser.c: SCRAM server: Interop against clients that supports channel bindings. Reported by Marc Santamaria . 2010-04-29 Simon Josefsson * lib/scram/server.c: SCRAM server: Interop against clients that supports channel bindings. Reported by Marc Santamaria . 2010-04-25 Simon Josefsson * gl/vasnprintf.c, gltests/Makefile.am, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, lib/build-aux/vc-list-files, lib/gl/m4/strnlen.m4, lib/gl/vasnprintf.c, lib/gltests/test-vasprintf.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-04-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-04-21 Simon Josefsson * ChangeLog: Generated. 2010-04-21 Simon Josefsson * lib/ChangeLog: Generated. 2010-04-21 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.1. 2010-04-21 Simon Josefsson * lib/NEWS: Add. 2010-04-21 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/ioctl.m4, gl/m4/visibility.m4, gl/override/m4/visibility.m4.diff, gltests/test-lseek.sh, gltests/test-select-in.sh, lib/gl/m4/visibility.m4, lib/gl/override/m4/visibility.m4.diff: Update gnulib files. 2010-04-19 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/getopt_int.h, gl/m4/netdb_h.m4, gl/stdbool.in.h, gltests/setenv.c, gltests/test-stdbool.c, gltests/test-stdint.c, lib/gl/stdbool.in.h, lib/gltests/test-stdbool.c, lib/gltests/test-stdint.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-04-14 Simon Josefsson * lib/NEWS: Add. 2010-04-14 Simon Josefsson * gl/getopt.c, gl/m4/getopt.m4, gltests/test-getopt.h, gltests/test-getopt_long.h, lib/gl/gc-libgcrypt.c: Update gnulib files. 2010-04-13 Simon Josefsson * lib/maint.mk, maint.mk: Update gnulib files. 2010-04-12 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c, lib/gs2/server.c: GS2: Fix decoding of invalid data in server. Code review fixes. 2010-04-12 Simon Josefsson * .gitignore: Add. 2010-04-12 Simon Josefsson * .x-sc_prohibit_empty_lines_at_EOF, GNUmakefile, NEWS, doc/cyclo/Makefile.am, doc/reference/Makefile.am, gl/Makefile.am, gl/fseeko.c, gl/m4/fseeko.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/memchr.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/string_h.m4, gl/m4/strtok_r.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/stdio-impl.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/init.sh, gltests/ioctl.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-vasnprintf.c, gltests/time.in.h, lib/GNUmakefile, lib/NEWS, lib/build-aux/c++defs.h, lib/build-aux/warn-on-use.h, lib/gl/Makefile.am, lib/gl/m4/getpagesize.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/memchr.m4, lib/gl/m4/printf.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strnlen.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/test-vasnprintf.c, lib/maint.mk, maint.mk: Update gnulib files and fix new syntax-check warnings. 2010-03-31 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-03-31 Simon Josefsson * ChangeLog: Generated. 2010-03-31 Simon Josefsson * lib/ChangeLog: Generated. 2010-03-31 Simon Josefsson * NEWS, lib/NEWS: Version 1.5.0. 2010-03-30 Simon Josefsson * m4/valgrind.m4: Sync valgrind.m4. 2010-03-30 Simon Josefsson * NEWS: Add. 2010-03-30 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/strtok_r.m4, gl/strtok_r.c: Add strtok_r module, for MinGW and readnz. 2010-03-30 Simon Josefsson * gl/m4/gnulib-common.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/strnlen.m4, lib/gl/strnlen.c, lib/maint.mk, maint.mk: Update gnulib files. Add strnlen. 2010-03-30 Simon Josefsson * tests/gs2-krb5.c: Also test non-authzid scenario. 2010-03-30 Simon Josefsson * doc/cyclo/Makefile.am: Ignore some functions/files. 2010-03-30 Simon Josefsson * lib/gs2/client.c: Reduce complexity. 2010-03-30 Simon Josefsson * tests/simple.c: Check NULL handling in interfaces. 2010-03-30 Simon Josefsson * lib/src/xfinish.c: gsasl_finish: Handle NULL sctx. 2010-03-30 Simon Josefsson * lib/gs2/client.c: Fix memory leak and improve code coverage. 2010-03-30 Simon Josefsson * doc/gsasl.texi: Fix @url's. 2010-03-30 Simon Josefsson * doc/reference/gsasl-docs.sgml: Update. 2010-03-30 Simon Josefsson * doc/gsasl.texi: Add GS2 material. 2010-03-30 Simon Josefsson * .gitignore: Add. 2010-03-30 Simon Josefsson * configure.ac, tests/Makefile.am, tests/gs2-krb5.c, tests/gssapi.c: Fix GNU GSS checks. Be more verbose about configure options. 2010-03-30 Simon Josefsson * configure.ac, tests/Makefile.am: Only run GSSAPI/GS2 self-tests when using GNU GSS. 2010-03-30 Simon Josefsson * lib/NEWS, lib/configure.ac: Require GNU GSS version 1.0.0 or later. 2010-03-30 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/README: Drop GS2 README. 2010-03-30 Simon Josefsson * lib/NEWS: Typo. 2010-03-30 Simon Josefsson * doc/gdoc: Silence warning. 2010-03-30 Simon Josefsson * doc/Makefile.am: Fix copyright years. 2010-03-30 Simon Josefsson * gl/arpa_inet.in.h, gl/errno.in.h, gl/float.in.h, gl/getopt.in.h, gl/iconv.in.h, gl/m4/fcntl-o.m4, gl/m4/gnulib-comp.m4, gl/m4/intldir.m4, gl/m4/printf-posix.m4, gl/m4/sys_ioctl_h.m4, gl/m4/visibility.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/stdarg.in.h, gl/stdint.in.h, gl/string.in.h, gl/sys_time.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/ioctl.c, gltests/sys_ioctl.in.h, gltests/time.in.h, lib/gl/errno.in.h, lib/gl/float.in.h, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intldir.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/visibility.m4, lib/gl/stdint.in.h, lib/gl/string.in.h: Update gnulib files. 2010-03-30 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2010-03-30 Simon Josefsson * src/imap.c: Improve error message. 2010-03-30 Simon Josefsson * lib/gs2/client.c: Don't overwrite return value. 2010-03-30 Simon Josefsson * lib/gs2/gs2helper.c, lib/gs2/gs2helper.h: Fix warnings. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h: Use gss_oid_equal when available. 2010-03-29 Simon Josefsson * lib/configure.ac: Also check for gss_oid_equal. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c: Make gs2helper.h standalone. 2010-03-29 Simon Josefsson * lib/NEWS: Update NEWS. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c: GS2: Cleanup code. 2010-03-29 Simon Josefsson * lib/NEWS, lib/src/error.c, lib/src/gsasl.h: Add more GSS-API error codes. 2010-03-29 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2asn1.c, lib/gs2/gs2asn1.h, lib/gs2/gs2helper.c: Use GSS capsulate functions to simplify code. 2010-03-29 Simon Josefsson * lib/src/gsasl.h: Fix error code values. 2010-03-29 Simon Josefsson * tests/readnz.c: Silence compiler warning. 2010-03-29 Simon Josefsson * lib/NEWS, lib/gs2/server.c, lib/src/error.c, lib/src/gsasl.h: Improve GS2 error codes. 2010-03-29 Simon Josefsson * lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/server.c: gss_inquire_mech_for_saslname: Fix replacement and usage. 2010-03-29 Simon Josefsson * lib/configure.ac: Improve GSS-API library feature checks. 2010-03-29 Simon Josefsson * lib/configure.ac: Fix typo. 2010-03-29 Simon Josefsson * lib/gs2/client.c: Check ret_flags. 2010-03-29 Simon Josefsson * lib/src/saslprep.c: Doc fix to avoid warning from GTK-DOC. 2010-03-29 Simon Josefsson * lib/configure.ac: Check for extended GSS-API interfaces. 2010-03-29 Simon Josefsson * .x-sc_texinfo_acronym: Add. 2010-03-29 Simon Josefsson * doc/gsasl.texi: Drop @acronym. 2010-03-29 Simon Josefsson * lib/configure.ac: Fix syntax-check warning (test -o ). 2010-03-29 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/connect.c, gl/errno.in.h, gl/float.in.h, gl/getaddrinfo.c, gl/getopt.c, gl/getopt.in.h, gl/gettext.h, gl/iconv.in.h, gl/m4/arpa_inet_h.m4, gl/m4/exitfail.m4, gl/m4/fcntl_h.m4, gl/m4/getaddrinfo.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/netdb_h.m4, gl/m4/setenv.m4, gl/m4/stddef_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/time_h.m4, gl/m4/unistd_h.m4, gl/m4/{wchar.m4 => wchar_h.m4}, gl/m4/{wctype.m4 => wctype_h.m4}, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/recv.c, gl/select.c, gl/stdarg.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/accept.c, gltests/bind.c, gltests/fcntl.in.h, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-dup2.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-iconv-h.c, gltests/test-vc-list-files-git.sh, gltests/test-wctype.c, gltests/time.in.h, lib/build-aux/c++defs.h, lib/build-aux/warn-on-use.h, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float.in.h, lib/gl/gettext.h, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/{wchar.m4 => wchar_h.m4}, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/test-base64.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-03-26 Simon Josefsson * lib/NEWS: Fix. 2010-03-26 Simon Josefsson * NEWS, lib/NEWS: Fixup NEWS entries. 2010-03-26 Simon Josefsson * doc/announce.txt: Update for 1.4.4. 2010-03-25 Simon Josefsson * doc/gsasl.texi: Improve wording. 2010-03-25 Simon Josefsson * doc/gsasl.texi: Link to Windows binaries. 2010-03-19 Simon Josefsson * tests/gs2-krb5.c: Make server-first logic more correct. 2010-03-19 Simon Josefsson * lib/gs2/server.c: Properly call GSS-API validate callback. 2010-03-18 Simon Josefsson * lib/NEWS, lib/scram/parser.c: SCRAM: Don't read out of bounds when parsing tokens. 2010-03-18 Simon Josefsson * tests/Makefile.am, tests/readnz.c: Add self-test for round-out-of-bounds. 2010-03-18 Simon Josefsson * src/gsasl.c: Don't crash if getaddrinfo failed to canonicalize address, but use user string. 2010-03-18 Simon Josefsson * README-alpha: Also need gperf. 2010-03-17 Simon Josefsson * tests/old-digest-md5.c: Fix self test to handle modified DIGEST-MD5 behaviour. 2010-03-17 Simon Josefsson * tests/scram.c: Also test server goes first. 2010-03-17 Simon Josefsson * tests/digest-md5.c: Also test client-goes-first. 2010-03-17 Simon Josefsson * lib/NEWS, lib/digest-md5/server.c: DIGEST-MD5: The server code now returns GSASL_OK after the final token. 2010-03-17 Simon Josefsson * lib/gs2/server.c: Check mutual in ret_flags. 2010-03-17 Simon Josefsson * tests/gssapi.c: Try both client first and server first. 2010-03-17 Simon Josefsson * tests/gs2-krb5.c: Try both client first and server first. 2010-03-15 Simon Josefsson * doc/announce.txt: Update. 2010-03-15 Simon Josefsson * doc/{ANNOUNCE => announce.txt}: Rename. 2010-03-15 Simon Josefsson * lib/cfg.mk: Drop update-po in lib/. 2010-03-15 Simon Josefsson * cfg.mk, lib/cfg.mk: cfg.mk fixes. 2010-03-15 Simon Josefsson * .gitignore: Add. 2010-03-15 Simon Josefsson * po/LINGUAS, po/fi.po.in, po/fr.po.in, po/id.po.in, po/it.po.in, po/nl.po.in, po/pl.po.in, po/sk.po.in, po/sv.po.in, po/vi.po.in, po/zh_CN.po.in: Sync with TP. 2010-03-15 Simon Josefsson * lib/po/LINGUAS, lib/po/it.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in: Sync with TP. 2010-03-15 Simon Josefsson * .gitignore, NEWS, cfg.mk, lib/NEWS: Forward-port 1.4.x changes. 2010-03-15 Simon Josefsson * lib/NEWS: Add. 2010-03-12 Simon Josefsson * lib/configure.ac, lib/gs2/Makefile.am, lib/gssapi/Makefile.am: Don't pollute CFLAGS/LIBS with GSS-API stuff. 2010-03-12 Simon Josefsson * tests/gs2-krb5.c: Fix typo. 2010-03-12 Simon Josefsson * tests/gs2-krb5.c, tests/gssapi.c: Silently fail GSSAPI/GS2-KRB5 tests if not available. 2010-03-10 Simon Josefsson * .gitignore: Add. 2010-03-10 Simon Josefsson * tests/gssapi.c: Less verbose. 2010-03-10 Simon Josefsson * lib/gs2/server.c: Fix mem leak. 2010-03-10 Simon Josefsson * lib/scram/parser.c, tests/scram.c: SCRAM: (Un)escape username. 2010-03-10 Simon Josefsson * tests/Makefile.am, tests/{gssapi.cfg => shishi.conf}: Silence Shishi warnings. 2010-03-10 Simon Josefsson * tests/gssapi.tkt: Generated. 2010-03-10 Simon Josefsson * lib/scram/parser.c, lib/scram/printer.c, lib/scram/server.c, tests/scram.c: SCRAM: (Un)escape authzid. 2010-03-10 Simon Josefsson * tests/Makefile.am, tests/gs2-krb5.c: Use self tests. 2010-03-10 Simon Josefsson * lib/gssapi/client.c, lib/gssapi/server.c: Fix comment. 2010-03-10 Simon Josefsson * lib/gs2/server.c: Parse GS2 header. Fix authzid handling. Unescape authzid. 2010-03-10 Simon Josefsson * lib/gs2/client.c: Escape authzid. 2010-03-10 Simon Josefsson * tests/gssapi.c: Print return values too. 2010-03-10 Simon Josefsson * tests/scram.c: Print return values too. 2010-03-10 Simon Josefsson * tests/Makefile.am, tests/gssapi.cfg: Use a Shishi config file. 2010-03-10 Simon Josefsson * lib/configure.ac, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/server.c: Improve GSSAPI library detection code. Some systems (e.g., Mac OS X) still doesn't have gssapi.h, only gssapi/gssapi.h. 2010-03-08 Simon Josefsson * lib/gs2/server.c: Add channel binding. Drop more old GSS-API code. 2010-03-08 Simon Josefsson * lib/gs2/server.c: Send token properly. 2010-03-08 Simon Josefsson * lib/gs2/server.c: Drop junk. 2010-03-08 Simon Josefsson * lib/src/error.c: Fix typo. 2010-03-03 Simon Josefsson * lib/NEWS: Fix. 2010-03-03 Simon Josefsson * lib/NEWS: Add. 2010-03-03 Simon Josefsson * lib/configure.ac: Enable GS2 by default. 2010-03-03 Simon Josefsson * lib/gs2/gs2asn1.c, lib/gs2/gs2asn1.h: GS2: Add ASN.1 helpers. 2010-03-03 Simon Josefsson * lib/configure.ac, lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2helper.c, lib/gs2/gs2wrap.c, lib/gs2/server.c, lib/gs2/test-parser.c, lib/gssapi/client.c, lib/gssapi/server.c: Simplify GSS-API detection. More GS2 cleanup. 2010-03-03 Simon Josefsson * lib/gs2/client.c: GS2: Remove debug code. The client side should now actually be finished, yay. 2010-03-03 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2parser.c, lib/gs2/gs2parser.h, lib/gs2/server.c: GS2: Channel binding stuff. Cleanup. 2010-03-02 Simon Josefsson * lib/gs2/Makefile.am, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2helper.c, lib/gs2/gs2helper.h, lib/gs2/mechinfo.c: Begin some work on GS2 update. 2010-03-01 Simon Josefsson * lib/src/gsasl.h: Generated. 2010-03-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-02-24 Simon Josefsson * gl/m4/warn-on-use.m4, gltests/gettimeofday.c, lib/gl/m4/warn-on-use.m4: Update gnulib files. 2010-02-23 Simon Josefsson * gl/Makefile.am, gl/m4/gettimeofday.m4, gl/m4/gnulib-common.m4, gl/m4/lseek.m4, gl/m4/sys_time_h.m4, gl/netdb.in.h, gl/stdio.in.h, gl/sys_select.in.h, gl/sys_time.in.h, gltests/init.sh, lib/build-aux/gendocs.sh, lib/build-aux/vc-list-files, lib/gl/m4/gnulib-common.m4, lib/gl/stdio.in.h: Update gnulib files. 2010-02-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2010-02-16 Simon Josefsson * doc/ANNOUNCE: Add. 2010-02-16 Simon Josefsson * ChangeLog: Generated. 2010-02-16 Simon Josefsson * lib/ChangeLog: Generated. 2010-02-16 Simon Josefsson * tests/symbols.c: Make it work when obsolete symbols are disabled. 2010-02-16 Simon Josefsson * lib/ChangeLog: Generated. 2010-02-16 Simon Josefsson * lib/cfg.mk: Upload to ftp.gnu.org. 2010-02-16 Simon Josefsson * lib/ChangeLog: Generated. 2010-02-16 Simon Josefsson * cfg.mk: Upload to ftp.gnu.org. 2010-02-16 Simon Josefsson * NEWS, lib/NEWS: Version 1.4.1. 2010-02-16 Simon Josefsson * .gitignore: Fix. 2010-02-15 Simon Josefsson * lib/src/gsasl.h: Generate. 2010-02-15 Simon Josefsson * src/internal.h: Fix comment. 2010-02-15 Simon Josefsson * configure.ac, src/internal.h: Revert "Drop pwd.h #include (not used?)." This reverts commit b0df618c4214be57536ebe4a7c87178288f7969a. 2010-02-15 Simon Josefsson * configure.ac, src/internal.h: Drop pwd.h #include (not used?). 2010-02-15 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Change next version to 1.4.1. 2010-02-15 Simon Josefsson * NEWS: Add. 2010-02-15 Simon Josefsson * lib/gs2/Makefile.am, lib/tests/Makefile.am, tests/Makefile.am: Drop EXEEXT for self-tests. 2010-02-15 Simon Josefsson * gl/stdio.in.h, lib/gl/stdio.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-02-05 Simon Josefsson * cfg.mk: Add review-diff rule. 2010-02-05 Simon Josefsson * gl/m4/gettimeofday.m4, gltests/test-gettimeofday.c: Update gnulib files. 2010-02-05 Simon Josefsson * .gitignore: Add. 2010-02-04 Simon Josefsson * lib/digest-md5/Makefile.am: See if dropping EXEEXT helps mingw builds. 2010-02-04 Simon Josefsson * .gitignore: Update. 2010-02-04 Simon Josefsson * tests/Makefile.am, tests/symbols.c: Add self-check for testing that all APIs have been exported. 2010-02-04 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/m4/arpa_inet_h.m4, gl/m4/fcntl_h.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gettimeofday.m4, gl/m4/gnulib-comp.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/wchar.in.h, gltests/Makefile.am, gltests/fcntl.in.h, gltests/ignore-value.h, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-gettimeofday.c, gltests/test-lstat.c, gltests/test-memchr.c, gltests/test-sockets.c, gltests/test-symlink.c, lib/build-aux/link-warning.h, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/maint.mk, maint.mk: Update gnulib files. 2010-01-21 Simon Josefsson * gl/Makefile.am, gl/error.h, gl/stdio.in.h, gl/striconv.c, gl/vasnprintf.h, gltests/Makefile.am, gltests/fcntl.in.h, lib/gl/Makefile.am, lib/gl/stdio.in.h, lib/gl/vasnprintf.h: Update gnulib files. 2010-01-12 Simon Josefsson * cfg.mk, lib/maint.mk, maint.mk: Improve syntax-check exception stuff. 2010-01-12 Simon Josefsson * gl/m4/gnulib-common.m4, gl/m4/warnings.m4, gl/stdio.in.h, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-common.m4, lib/gl/stdio.in.h: Update gnulib files. 2010-01-12 Simon Josefsson * m4/valgrind.m4: Fix valgrind.m4. 2010-01-12 Simon Josefsson * po/POTFILES.in: Fix. 2010-01-12 Simon Josefsson * .x-sc_avoid_if_before_free, .x-sc_cast_of_alloca_return_value, .x-sc_cast_of_x_alloc_return_value, .x-sc_m4_quote_check, .x-sc_makefile_check, .x-sc_po_check, .x-sc_program_name, .x-sc_prohibit_HAVE_MBRTOWC, .x-sc_prohibit_atoi_atof, .x-sc_prohibit_getopt_without_use, .x-sc_prohibit_magic_number_exit, .x-sc_space_tab, .x-sc_trailing_blank, .x-sc_useless_cpp_parens, cfg.mk, maint.mk: Fix syntax-check stuff. 2010-01-12 Simon Josefsson * NEWS: Add. 2010-01-12 Simon Josefsson * po/de.po.in, po/zh_CN.po.in: Sync with TP. 2010-01-12 Simon Josefsson * lib/po/zh_CN.po.in: Sync with TP. 2010-01-12 Simon Josefsson * gltests/dup2.c: Update gnulib files. 2010-01-12 Simon Josefsson * gl/override/{tests => lib}/dup2.c.diff: Fix dup2 patch. 2010-01-12 Simon Josefsson * gl/m4/visibility.m4, gl/override/m4/visibility.m4.diff, lib/gl/m4/visibility.m4, lib/gl/override/m4/visibility.m4.diff: Add workaround for visibility bug. 2010-01-12 Simon Josefsson * tests/libgsasl.supp: Add. 2010-01-12 Simon Josefsson * tests/Makefile.am, tests/libgsasl.supp: Add libgsasl valgrind suppressions file. 2010-01-12 Simon Josefsson * gl/m4/open.m4, gl/override/m4/open.m4.diff, gl/override/tests/dup2.c.diff, gltests/test-xalloc-die.sh: Update gnulib files. 2010-01-12 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/alignof.h, gl/alloca.c, gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/close-hook.c, gl/close-hook.h, gl/close.c, gl/config.charset, gl/connect.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/fclose.c, gl/float+.h, gl/float.in.h, gl/fseeko.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/iconv.in.h, gl/iconv_open.c, gl/inet_ntop.c, gl/intprops.h, gl/localcharset.c, gl/localcharset.h, gl/lseek.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/autobuild.m4, gl/m4/close.m4, gl/m4/codeset.m4, gl/m4/dos.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/fclose.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl_h.m4, gl/m4/float_h.m4, gl/m4/fseeko.m4, gl/m4/getaddrinfo.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/gettext.m4, gl/m4/gettimeofday.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/lseek.m4, gl/m4/lstat.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/manywarnings.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4, gl/m4/nls.m4, gl/m4/open.m4, gl/m4/pathmax.m4, gl/m4/perror.m4, gl/m4/po.m4, gl/m4/poll.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4, gl/m4/putenv.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/select.m4, gl/m4/servent.m4, gl/m4/setenv.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/stat.m4, gl/m4/stdarg.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/symlink.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4, gl/m4/sys_time_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4, gl/m4/uintmax_t.m4, gl/m4/ungetc.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/version-etc.m4, gl/m4/visibility.m4, gl/m4/warn-on-use.m4, gl/m4/warnings.m4, gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wctob.m4, gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/malloc.c, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c, gl/netdb.in.h, gl/netinet_in.in.h, gl/poll.c, gl/poll.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/recv.c, gl/ref-add.sin, gl/ref-del.sin, gl/select.c, gl/shutdown.c, gl/size_max.h, gl/snprintf.c, gl/socket.c, gl/sockets.c, gl/sockets.h, gl/stdarg.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h, gl/stdio-impl.h, gl/stdio-write.c, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/verify.h, gl/version-etc.c, gl/version-etc.h, gl/w32sock.h, gl/wchar.in.h, gl/wctype.in.h, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gltests/Makefile.am, gltests/accept.c, gltests/binary-io.h, gltests/bind.c, gltests/dup2.c, gltests/fcntl.in.h, gltests/gettimeofday.c, gltests/inet_pton.c, gltests/init.sh, gltests/ioctl.c, gltests/listen.c, gltests/lstat.c, gltests/macros.h, gltests/malloca.c, gltests/malloca.h, gltests/open.c, gltests/pathmax.h, gltests/perror.c, gltests/putenv.c, gltests/same-inode.h, gltests/setenv.c, gltests/setsockopt.c, gltests/signature.h, gltests/stat.c, gltests/symlink.c, gltests/sys_ioctl.in.h, gltests/sys_stat.in.h, gltests/test-alignof.c, gltests/test-alloca-opt.c, gltests/test-arpa_inet.c, gltests/test-binary-io.c, gltests/test-binary-io.sh, gltests/test-c-ctype.c, gltests/test-c-strcasecmp.c, gltests/test-c-strncasecmp.c, gltests/test-dup2.c, gltests/test-environ.c, gltests/test-errno.c, gltests/test-fcntl-h.c, gltests/test-fseeko.c, gltests/test-getaddrinfo.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-iconv.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-lseek.c, gltests/test-lstat.c, gltests/test-lstat.h, gltests/test-malloca.c, gltests/test-mbrtowc.c, gltests/test-mbsinit.c, gltests/test-memchr.c, gltests/test-netdb.c, gltests/test-netinet_in.c, gltests/test-open.c, gltests/test-open.h, gltests/test-perror.c, gltests/test-poll.c, gltests/test-quotearg.c, gltests/test-select-fd.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-setenv.c, gltests/test-snprintf.c, gltests/test-stat.c, gltests/test-stat.h, gltests/test-stdbool.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-striconv.c, gltests/test-string.c, gltests/test-symlink.c, gltests/test-symlink.h, gltests/test-sys_ioctl.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_stat.c, gltests/test-sys_time.c, gltests/test-time.c, gltests/test-unistd.c, gltests/test-unsetenv.c, gltests/test-vasnprintf.c, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/test-wchar.c, gltests/test-wctype.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh, gltests/time.in.h, gltests/unsetenv.c, gltests/version-etc-fsf.c, gltests/w32sock.h, gltests/wctob.c, gltests/zerosize-ptr.h, lib/GNUmakefile, lib/build-aux/arg-nonnull.h, lib/build-aux/config.rpath, lib/build-aux/gendocs.sh, lib/build-aux/link-warning.h, lib/build-aux/pmccabe2html, lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files, lib/build-aux/warn-on-use.h, lib/gl/Makefile.am, lib/gl/alloca.in.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/errno.in.h, lib/gl/float+.h, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc-pbkdf2-sha1.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/hmac-sha1.c, lib/gl/hmac.h, lib/gl/m4/00gnulib.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/getpagesize.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/iconv.m4, lib/gl/m4/include_next.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/ld-output-def.m4, lib/gl/m4/ld-version-script.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/memchr.m4, lib/gl/m4/memmem.m4, lib/gl/m4/memxor.m4, lib/gl/m4/minmax.m4, lib/gl/m4/mmap-anon.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/sha1.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/visibility.m4, lib/gl/m4/warn-on-use.m4, lib/gl/m4/wchar.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/memchr.c, lib/gl/memmem.c, lib/gl/memxor.c, lib/gl/memxor.h, lib/gl/minmax.h, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/realloc.c, lib/gl/sha1.c, lib/gl/sha1.h, lib/gl/size_max.h, lib/gl/stdbool.in.h, lib/gl/stddef.in.h, lib/gl/stdint.in.h, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/string.in.h, lib/gl/strverscmp.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/wchar.in.h, lib/gl/xsize.h, lib/gltests/Makefile.am, lib/gltests/dummy.c, lib/gltests/getpagesize.c, lib/gltests/intprops.h, lib/gltests/macros.h, lib/gltests/signature.h, lib/gltests/test-alloca-opt.c, lib/gltests/test-base64.c, lib/gltests/test-errno.c, lib/gltests/test-gc-hmac-md5.c, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-md5.c, lib/gltests/test-gc-pbkdf2-sha1.c, lib/gltests/test-gc-sha1.c, lib/gltests/test-gc.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-memmem.c, lib/gltests/test-stdbool.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-strverscmp.c, lib/gltests/test-unistd.c, lib/gltests/test-vasnprintf.c, lib/gltests/test-vasprintf.c, lib/gltests/test-wchar.c, lib/gltests/verify.h, lib/gltests/zerosize-ptr.h, lib/maint.mk, maint.mk: Update gnulib files. 2010-01-12 Simon Josefsson * gl/gettext.h, gl/override/lib/gettext.h.diff, lib/gl/override/lib/gettext.h.diff: Fix gettext.h patch. 2010-01-12 Simon Josefsson * gl/override/lib/getpass.c.diff: Fix patch. 2009-12-17 Simon Josefsson * NEWS: Add. 2009-10-14 Enrico Scholz * src/gsasl.c: Improve application data throughput See . Signed-off-by: Simon Josefsson 2009-11-18 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2009-11-18 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-11-18 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/unistd.in.h, gltests/test-xalloc-die.sh, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2009-11-17 Simon Josefsson * ChangeLog: Generated. 2009-11-17 Simon Josefsson * lib/ChangeLog: Generated. 2009-11-17 Simon Josefsson * NEWS, lib/NEWS: Version 1.4.0. 2009-11-17 Simon Josefsson * lib/NEWS: Add. 2009-11-17 Simon Josefsson * NEWS: Add. 2009-11-17 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-11-17 Simon Josefsson * gl/m4/putenv.m4, gltests/putenv.c, gltests/test-setenv.c, gltests/test-unsetenv.c, gltests/test-xalloc-die.c, gltests/test-xalloc-die.sh: Update gnulib files. 2009-11-17 Simon Josefsson * gl/Makefile.am, gl/intprops.h, gl/m4/environ.m4, gl/m4/gnulib-comp.m4, gl/m4/setenv.m4, gl/m4/stdlib_h.m4, gl/m4/unistd_h.m4, gl/printf-args.c, gl/stdlib.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/version-etc.c, gltests/Makefile.am, gltests/setenv.c, gltests/unsetenv.c, lib/gl/Makefile.am, lib/gl/gc-pbkdf2-sha1.c, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/printf-args.c, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gltests/Makefile.am, lib/gltests/intprops.h, lib/gltests/test-base64.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-11-09 Simon Josefsson * gltests/test-fseeko.c: Update gnulib files. 2009-11-06 Simon Josefsson * cfg.mk: Commit cyclo/ www dir too. 2009-11-06 Simon Josefsson * ChangeLog: Generated. 2009-11-06 Simon Josefsson * lib/ChangeLog: Generated. 2009-11-06 Simon Josefsson * NEWS, lib/NEWS: Version 1.3.91. 2009-11-06 Simon Josefsson * doc/gsasl.texi: Fix header. 2009-11-06 Simon Josefsson * .x-sc_prohibit_getopt_without_use, .x-sc_prohibit_magic_number_exit, lib/scram/server.c: Fix syntax-check nits. 2009-11-06 Simon Josefsson * lib/cfg.mk: Prepare for alpha release. 2009-11-06 Simon Josefsson * NEWS: Add. 2009-11-06 Simon Josefsson * doc/cyclo/Makefile.am: Fix paths. 2009-11-06 Simon Josefsson * doc/cyclo/Makefile.am: Update usage. 2009-11-06 Simon Josefsson * gl/Makefile.am, gl/m4/getpagesize.m4, gl/m4/gnulib-comp.m4, lib/build-aux/pmccabe2html, lib/gl/Makefile.am, lib/gl/getpagesize.c, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, {gl => lib/gltests}/getpagesize.c: Update gnulib files. 2009-11-06 Simon Josefsson * lib/win32/libgsasl.vcproj: More fixes. 2009-11-06 Simon Josefsson * lib/win32/libgsasl.vcproj: Further fixes. 2009-11-06 Simon Josefsson * lib/win32/include/config.h, lib/win32/libgsasl.vcproj: Disable obsolete APIs for Windows builds. 2009-11-06 Simon Josefsson * lib/NEWS: Add. 2009-11-06 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-11-06 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/rawmemchr.m4, lib/gl/m4/strchrnul.m4, lib/gl/rawmemchr.c, lib/gl/rawmemchr.valgrind, lib/gl/strchrnul.c, lib/gl/strchrnul.valgrind, lib/gltests/Makefile.am, lib/gltests/test-rawmemchr.c, lib/gltests/test-strchrnul.c: Update gnulib files. 2009-11-06 Simon Josefsson * lib/win32/include/config.h: Add new definitions. Suggested by Lothar May in . 2009-11-06 Simon Josefsson * lib/win32/libgsasl.vcproj: Add more files. Suggested by Lothar May in . 2009-11-06 Simon Josefsson * lib/scram/parser.c: Doc fix. 2009-11-06 Simon Josefsson * ChangeLog: Generated. 2009-11-06 Simon Josefsson * lib/ChangeLog: Generated. 2009-11-06 Simon Josefsson * NEWS, lib/NEWS: Version 1.3.90. 2009-11-06 Simon Josefsson * gl/m4/getaddrinfo.m4, gltests/Makefile.am, lib/maint.mk, maint.mk: Update gnulib files. 2009-11-06 Simon Josefsson * cfg.mk: Prepare for alpha release. 2009-11-05 Simon Josefsson * gl/m4/gnulib-comp.m4: Update gnulib files. 2009-11-05 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2009-11-05 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/stdlib_h.m4, gl/stdlib.in.h, gltests/Makefile.am, gltests/test-getaddrinfo.c, gltests/test-inet_ntop.c, gltests/test-inet_pton.c, gltests/test-sys_socket.c, lib/gl/Makefile.am, lib/gl/m4/stdlib_h.m4, lib/gl/stdlib.in.h: Update gnulib files. 2009-11-03 Simon Josefsson * .gitignore: Fix. 2009-11-03 Simon Josefsson * .gitignore: Add. 2009-11-03 Simon Josefsson * lib/NEWS: Add. 2009-11-03 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Unconditionally add memxor module, SCRAM needs it. 2009-11-03 Simon Josefsson * lib/configure.ac, lib/gl/m4/gc.m4, lib/gl/override/m4/gc.m4.diff: Fix libgcrypt detection. 2009-11-03 Simon Josefsson * lib/configure.ac: Enable libgcrypt by default when available. 2009-11-02 Simon Josefsson * gl/getopt.c, gl/m4/fseeko.m4, gl/m4/gnulib-comp.m4, gl/m4/pmccabe2html.m4, gl/m4/ungetc.m4, gl/sockets.c, gl/stdio.in.h, gltests/test-arpa_inet.c, gltests/test-getaddrinfo.c, gltests/test-getdelim.c, gltests/test-getline.c, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-gettimeofday.c, gltests/test-memchr.c, gltests/test-netinet_in.c, gltests/test-quotearg.c, gltests/test-select-stdin.c, gltests/test-select.c, gltests/test-sockets.c, gltests/test-stddef.c, gltests/test-stdint.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-strerror.c, gltests/test-string.c, gltests/test-sys_select.c, gltests/test-sys_socket.c, gltests/test-sys_time.c, gltests/test-unistd.c, gltests/test-version-etc.c, gltests/test-wchar.c, gltests/test-wctype.c, lib/build-aux/pmccabe2html, lib/build-aux/useless-if-before-free, lib/gl/md5.c, lib/gl/sha1.c, lib/gl/stdio.in.h, lib/gltests/test-base64.c, lib/gltests/test-getdelim.c, lib/gltests/test-getline.c, lib/gltests/test-memchr.c, lib/gltests/test-rawmemchr.c, lib/gltests/test-stddef.c, lib/gltests/test-stdint.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-strchrnul.c, lib/gltests/test-string.c, lib/gltests/test-strverscmp.c, lib/gltests/test-unistd.c, lib/gltests/test-wchar.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-10-26 Simon Josefsson * NEWS: Add. 2009-10-26 Simon Josefsson * tests/scram.c: Also test when app provides a GSASL_SCRAM_SALTED_PASSWORD. 2009-10-26 Simon Josefsson * lib/scram/client.c: Fix crash in code when application provides a GSASL_SCRAM_SALTED_PASSWORD. 2009-10-26 Simon Josefsson * lib/NEWS: Add. 2009-10-26 Simon Josefsson * lib/src/init.c: Prefer SCRAM-SHA-1 over CRAM-MD5 and DIGEST-MD5. 2009-10-26 Simon Josefsson * gl/localcharset.c, gl/m4/fcntl_h.m4, gl/m4/gnulib-comp.m4, gl/m4/localcharset.m4: Update gnulib files. 2009-10-12 Simon Josefsson * doc/gsasl.texi: Add concept index nodes for iteration count and salt. 2009-10-12 Simon Josefsson * src/gsasl.c: Drop Windows compatibility stuff, should be taken care of gnulib now. 2009-10-12 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/unistd.in.h, lib/gl/unistd.in.h: Update gnulib files. 2009-10-12 Simon Josefsson * NEWS, lib/NEWS: Add NEWS entries. 2009-10-12 Simon Josefsson * po/LINGUAS, po/fi.po.in, po/vi.po.in: Sync with TP. 2009-10-12 Simon Josefsson * lib/po/LINGUAS, lib/po/fi.po.in, lib/po/vi.po.in: Sync with TP. 2009-10-12 Simon Josefsson * lib/NEWS: Add. 2009-10-12 Simon Josefsson * NEWS: Add. 2009-10-12 Simon Josefsson * lib/configure.ac: Bump libtool version to indicate newly added ABIs. 2009-10-08 Simon Josefsson * lib/configure.ac, lib/src/gsasl.h: Start to use X.Y.Z versioning scheme. 2009-10-08 Simon Josefsson * tests/crypto.c: Test new SHA-1 APIs. 2009-10-08 Simon Josefsson * lib/src/libgsasl.map: Add new APIs to linker script. 2009-10-08 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2009-10-08 Simon Josefsson * lib/build-aux/gendocs.sh: Chmod. 2009-10-08 Simon Josefsson * ChangeLog: Generated. 2009-10-08 Simon Josefsson * lib/ChangeLog: Generated. 2009-10-08 Simon Josefsson * NEWS, lib/NEWS: Version 1.3. 2009-10-08 Simon Josefsson * tests/scram.c: Don't use non-ascii in self-test in case gsasl is built without libidn. 2009-10-08 Simon Josefsson * src/Makefile.am: Fix build error on mingw. 2009-10-08 Simon Josefsson * doc/reference/gsasl-docs.sgml: Update. 2009-10-08 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add new symbols since 1.3 section. 2009-10-08 Simon Josefsson * lib/src/crypto.c: Doc fix. 2009-10-08 Simon Josefsson * Makefile.am: Simplify DISTCHECK_CONFIGURE_FLAGS, scram is now enabled by default. 2009-10-08 Simon Josefsson * NEWS: Add. 2009-10-08 Simon Josefsson * lib/src/init.c: Make SCRAM lowest priority for now. 2009-10-08 Simon Josefsson * doc/gsasl.texi: Fix. 2009-10-08 Simon Josefsson * NEWS: Add. 2009-10-08 Simon Josefsson * lib/configure.ac: Enable SCRAM by default. 2009-10-08 Simon Josefsson * doc/gsasl.texi: Improve, including new SCRAM coverage. 2009-10-08 Simon Josefsson * gl/Makefile.am, gl/getopt.in.h, gl/getopt_int.h, gl/m4/getopt.m4, gl/m4/gnulib-comp.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/progname.c, gl/stdio.in.h, gl/unistd.in.h, gltests/test-getopt.c, gltests/test-getopt_long.h, gltests/test-quotearg.c, lib/gl/Makefile.am, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2009-10-07 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Normalize password using SASLprep. 2009-09-25 Simon Josefsson * gl/Makefile.am, gl/m4/getdelim.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/unistd_h.m4, gl/stdio.in.h, gl/stdlib.in.h, gl/unistd.in.h, gltests/Makefile.am, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memmem.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/memmem.c, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/str-two-way.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-memmem.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-09-23 Simon Josefsson * src/gsasl.c: Revert check for empty final token (incorrect change). 2009-09-16 Simon Josefsson * src/callbacks.c: Silence debug warning. 2009-09-16 Simon Josefsson * src/gsasl.c: Don't print empty tokens after success. 2009-09-16 Simon Josefsson * lib/scram/server.c: SCRAM: Store username property in server. 2009-09-16 Simon Josefsson * tests/scram.c: Also check that AUTHID is set and correct in callback. 2009-09-16 Simon Josefsson * .gitignore: Add. 2009-09-16 Simon Josefsson * lib/scram/client.c: SCRAM: Fix memleak. 2009-09-16 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/server.c: SCRAM: Handle non-zero terminated strings. 2009-09-11 Simon Josefsson * lib/scram/validate.c: SCRAM: Drop FIXME, specification changed to not use UTF-8 for nonces. 2009-09-11 Simon Josefsson * lib/scram/parser.c, lib/scram/printer.c: SCRAM: Drop FIXMEs, we solved it differently. 2009-09-11 Simon Josefsson * lib/scram/parser.c, lib/scram/printer.c: SCRAM: Drop FIXMEs, we solved it differently. 2009-09-11 Simon Josefsson * lib/scram/client.c: SCRAM: Cleanup and memory leak fixing. 2009-09-11 Simon Josefsson * lib/scram/server.c: SCRAM: Cleanup and memory leak fixing. 2009-09-11 Simon Josefsson * lib/scram/server.c: SCRAM: Check that username doesn't fail SASLprep (as required). 2009-09-11 Simon Josefsson * Makefile.am: Enable SCRAM-SHA-1 during distcheck testing. 2009-09-11 Simon Josefsson * tests/scram.c: Silence warning. 2009-09-11 Simon Josefsson * gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/poll.m4, gl/m4/readline.m4, gl/m4/select.m4, gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/wctype.m4, lib/build-aux/gendocs.sh, lib/gl/m4/getline.m4: Update gnulib files. 2009-09-11 Simon Josefsson * lib/NEWS, lib/configure.ac, lib/scram/mechinfo.c, lib/scram/scram.h, lib/src/init.c: SCRAM: Drop unfinished SCRAM-SHA-1-PLUS support. 2009-09-11 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Check server signature. 2009-09-11 Simon Josefsson * lib/scram/server.c: SCRAM: Generate server signature. 2009-09-11 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Check clientproof on server side. Fix mem leaks. 2009-09-11 Simon Josefsson * tests/scram.c: Use b64 salt. 2009-09-11 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/printer.c: SCRAM: Base64 decode salt. 2009-09-10 Simon Josefsson * doc/Makefile.am, lib/NEWS, lib/scram/client.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: SCRAM: Compute proof. Add property GSASL_SCRAM_SALTED_PASSWORD. 2009-09-10 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gc-sha1.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, lib/gltests/test-gc-sha1.c: Add SHA-1 gnulib modules. 2009-09-10 Simon Josefsson * lib/NEWS, lib/src/crypto.c, lib/src/gsasl.h: Add SHA-1 APIs. 2009-09-10 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-pbkdf2-sha1.c, lib/gl/hmac-sha1.c, lib/gl/m4/gc-hmac-sha1.m4, lib/gl/m4/gc-pbkdf2-sha1.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-sha1.m4, lib/gl/m4/sha1.m4, lib/gl/sha1.c, lib/gl/sha1.h, lib/gltests/Makefile.am, lib/gltests/test-gc-hmac-sha1.c, lib/gltests/test-gc-pbkdf2-sha1.c: Add crypto/gc-pbkdf2-sha1 gnulib module. 2009-09-10 Simon Josefsson * lib/scram/client.c: Check errors. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Compare nonces. 2009-09-10 Simon Josefsson * lib/scram/client.c: SCRAM: Correct cbind in client final. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, tests/scram.c: SCRAM: Print/parse authzid. 2009-09-10 Simon Josefsson * tests/scram.c: Test iter/salt too. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Use printable salt. Fix mem leak 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c: SCRAM: Use printable nonces. 2009-09-10 Simon Josefsson * lib/scram/server.c: SCRAM: Support iter/salt setting better. 2009-09-10 Simon Josefsson * lib/NEWS, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: SCRAM: Add properties. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/server.c, tests/scram.c: SCRAM: Fix self-test and memory leak. 2009-09-10 Simon Josefsson * tests/scram.c: Improve output. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: SCRAM: Protocol works (but no crypto). 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/printer.c, lib/scram/printer.h, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: SCRAM: Client final sending works (but no crypto). 2009-09-10 Simon Josefsson * lib/scram/client.c: SCRAM: Cleanup. 2009-09-10 Simon Josefsson * lib/scram/client.c, lib/scram/parser.c, lib/scram/parser.h, lib/scram/server.c: SCRAM: Parsing of server first works. 2009-09-10 Simon Josefsson * lib/scram/Makefile.am, lib/scram/parser.c, lib/scram/parser.h, lib/scram/printer.c, lib/scram/printer.h, lib/scram/server.c, lib/scram/tokens.c, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: SCRAM: Printing server first works. 2009-09-10 Simon Josefsson * lib/scram/server.c: SCRAM: Server can parse client first. 2009-09-10 Simon Josefsson * .gitignore: Add. 2009-09-10 Simon Josefsson * lib/scram/parser.c: Add. 2009-09-10 Simon Josefsson * lib/scram/parser.c: Fix typo. 2009-09-10 Simon Josefsson * .gitignore: Add. 2009-09-10 Simon Josefsson * .gitignore: Drop some things. 2009-09-10 Simon Josefsson * gl/Makefile.am, gl/m4/string_h.m4, gl/m4/unistd_h.m4, gl/m4/wctype.m4, gl/string.in.h, gl/unistd.in.h, gl/wctype.in.h, lib/gl/m4/rawmemchr.m4, lib/gl/m4/strchrnul.m4: Add gnulib strchrnul module. 2009-09-10 Simon Josefsson * lib/gl/rawmemchr.c, lib/gl/rawmemchr.valgrind, lib/gl/strchrnul.c, lib/gl/strchrnul.valgrind: Add gnulib strchrnul module. 2009-09-10 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-rawmemchr.c, lib/gltests/test-strchrnul.c: Add gnulib strchrnul module. 2009-09-10 Simon Josefsson * lib/scram/parser.c: Parse more. 2009-09-10 Simon Josefsson * tests/scram.c: Make it build. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/parser.c, lib/scram/parser.h, lib/scram/server.c: Add skeleton parser. 2009-09-09 Simon Josefsson * .gitignore: Add. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/client.c, lib/scram/mechinfo.c, lib/scram/scram.h, lib/scram/server.c, tests/Makefile.am, tests/scram.c: Improve SCRAM, initial server skeleton and self test. 2009-09-09 Simon Josefsson * lib/scram/client.c: Improve SCRAM, client now sends first token. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/mechinfo.c, lib/scram/scram.h: Improve SCRAM, client now sends first token. 2009-09-09 Simon Josefsson * lib/scram/printer.c: Fixes. 2009-09-09 Simon Josefsson * lib/scram/validate.c: Add check. 2009-09-09 Simon Josefsson * lib/scram/printer.c, lib/scram/printer.h: Add SCRAM printer functionality. 2009-09-09 Simon Josefsson * lib/scram/Makefile.am, lib/scram/printer.h, lib/scram/tokens.h, lib/scram/validate.c, lib/scram/validate.h: Add SCRAM stuff. 2009-09-08 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/scram/Makefile.am, lib/scram/mechinfo.c, lib/scram/scram.h, lib/src/Makefile.am, lib/src/init.c: Add SCRAM skeleton. 2009-09-08 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/scram/Makefile.am, lib/scram/mechinfo.c, lib/scram/scram.h: Add SCRAM skeleton. 2009-09-08 Simon Josefsson * gl/Makefile.am, gl/close.c, gl/iconv_open-solaris.gperf, gl/iconv_open.c, gl/inet_ntop.c, gl/m4/gnulib-comp.m4, gl/m4/iconv_open.m4, gl/m4/stdio_h.m4, gl/m4/string_h.m4, gl/m4/unistd_h.m4, gl/stdio.in.h, gl/string.in.h, gl/unistd.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/inet_pton.c, gltests/test-wctype.c, lib/gl/Makefile.am, lib/gl/m4/stdio_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdio.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/maint.mk, maint.mk: Update gnulib files. 2009-08-28 Simon Josefsson * NEWS: Add. 2009-08-28 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/stdlib_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/progname.c, gl/quotearg.c, gl/quotearg.h, gl/stdlib.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/test-quotearg.c, lib/gl/Makefile.am, lib/gl/m4/stddef_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stddef.in.h, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gltests/test-stddef.c: Update gnulib files. 2009-08-28 Simon Josefsson * NEWS, THANKS, src/Makefile.am: Fix libintl-related build errors on MinGW. Tiny patch from "carlo.bramix" . 2009-08-20 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/stddef_h.m4, gl/m4/stdio_h.m4, gl/m4/wchar.m4, gl/poll.c, gl/select.c, gl/stddef.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/unistd.in.h, gltests/Makefile.am, gltests/test-stddef.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-string.c, gltests/test-unistd.c, gltests/test-wchar.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gltests/Makefile.am, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-unistd.c, lib/gltests/test-wchar.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-08-14 Simon Josefsson * gl/Makefile.am, gl/fseeko.c, gl/m4/close.m4, gl/m4/fclose.m4, gl/m4/getopt.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/threadlib.m4, gl/m4/unistd_h.m4, gl/socket.c, {gltests => gl}/sockets.c, {gltests => gl}/sockets.h, gl/stdio-write.c, gl/sys_select.in.h, gl/unistd.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/gettimeofday.c, gltests/sys_ioctl.in.h, gltests/test-getopt.c, gltests/test-getopt.h, gltests/test-getopt_long.h, gltests/test-poll.c, gltests/test-select.c, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-string.c, gltests/test-sys_select.c, gltests/test-unistd.c, gltests/test-version-etc.sh, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/unistd_h.m4, lib/gl/md5.h, lib/gl/stdio-write.c, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-unistd.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-07-29 Simon Josefsson * README-alpha: Typo. 2009-07-22 Simon Josefsson * gl/Makefile.am, gl/errno.in.h, gl/error.c, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/stdio.in.h, gl/strerror.c, gl/unistd.in.h, gl/version-etc.c, gl/version-etc.h, gltests/Makefile.am, gltests/test-stdio.c, gltests/test-stdlib.c, gltests/test-string.c, gltests/test-unistd.c, gltests/test-version-etc.c, gltests/test-version-etc.sh, gltests/version-etc-fsf.c, lib/build-aux/vc-list-files, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/m4/errno_h.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/memchr.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/md5.h, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/gltests/test-stdio.c, lib/gltests/test-stdlib.c, lib/gltests/test-string.c, lib/gltests/test-unistd.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-06-23 Simon Josefsson * tests/threadsafety: Add more non-keyword characters. 2009-06-23 Simon Josefsson * tests/threadsafety: Add more non-keyword characters. 2009-06-23 Simon Josefsson * tests/Makefile.am, tests/threadsafety: Fix portability of EGREP usage. 2009-06-23 Simon Josefsson * tests/threadsafety: Ignore more non-keyword characters. 2009-06-23 Simon Josefsson * src/Makefile.am: Build gsasl_cmd without warning/error flags. 2009-06-23 Simon Josefsson * tests/threadsafety: Catch more functions. 2009-06-23 Simon Josefsson * tests/threadsafety: Doc fix. 2009-06-17 Simon Josefsson * doc/gsasl.texi, doc/reference/gsasl-docs.sgml, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Fix typos. Based on report by Marco Maggi in . 2009-06-16 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/memchr.m4, gl/memchr.valgrind, gl/string.in.h, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memchr.m4, lib/gl/memchr.valgrind, lib/gl/string.in.h: Update gnulib files. 2009-06-16 Simon Josefsson * lib/src/error.c, lib/src/version.c: Doc fix. 2009-06-16 Simon Josefsson * tests/crypto.c: Initialize gsasl, to get crypto functions to work. 2009-06-14 Simon Josefsson * tests/threadsafety: Merge in issue 7 functions. 2009-06-14 Simon Josefsson * tests/threadsafety: Make list of functions easier to read. 2009-06-13 Simon Josefsson * tests/crypto.c: Fix. 2009-06-13 Simon Josefsson * tests/simple.c: Test encode/decode. 2009-06-13 Simon Josefsson * NEWS, tests/Makefile.am, tests/crypto.c: Add. 2009-06-13 Simon Josefsson * tests/simple.c: Check gsasl_session_hook_get too. 2009-06-13 Simon Josefsson * NEWS: Add. 2009-06-13 Simon Josefsson * tests/simple.c: Fix warnings. 2009-06-13 Simon Josefsson * tests/old-simple.c: Fix. 2009-06-13 Simon Josefsson * tests/simple.c: Based on old-simple.c, but rewritten using modern APIs. 2009-06-13 Simon Josefsson * tests/Makefile.am, tests/{simple.c => old-simple.c}: Rename obsolete API checks to old-*. 2009-06-13 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2009-06-13 Simon Josefsson * doc/gsasl.texi: Clarify which tokens GNU SASL generated. Suggested by Marco Maggi in . 2009-06-13 Simon Josefsson * cfg.mk: Fix path. 2009-06-13 Simon Josefsson * ChangeLog: Generated. 2009-06-13 Simon Josefsson * lib/ChangeLog: Generated. 2009-06-13 Simon Josefsson * NEWS, lib/NEWS: Version 1.2. 2009-06-13 Simon Josefsson * gl/Makefile.am, {gltests => gl}/getpagesize.c, gl/m4/gnulib-comp.m4, gl/m4/memchr.m4, gl/m4/string_h.m4, gl/string.in.h, gltests/Makefile.am, lib/gl/Makefile.am, lib/{gltests => gl}/getpagesize.c, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memchr.m4, lib/gl/m4/string_h.m4, lib/gl/string.in.h, lib/gltests/Makefile.am: Update gnulib files. 2009-06-12 Simon Josefsson * tests/Makefile.am: Use $(GREP) instead of grep directly, for non-GNU systems. 2009-06-11 Simon Josefsson * cfg.mk, lib/src/Makefile.am, lib/tests/Makefile.am, src/Makefile.am: Fix syntax-check error. 2009-06-11 Simon Josefsson * doc/gsasl.texi: Fix. 2009-06-11 Simon Josefsson * doc/gsasl.texi: Fix. 2009-06-11 Simon Josefsson * lib/cfg.mk: Fix git-* usage. 2009-06-11 Simon Josefsson * NEWS: Add. 2009-06-11 Simon Josefsson * NEWS: Add. 2009-06-11 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Don't use TAB for info manual. 2009-06-11 Simon Josefsson * README-alpha: Fix whitespace. 2009-06-11 Simon Josefsson * .x-sc_po_check: Fix. 2009-06-11 Simon Josefsson * .x-sc_trailing_blank: Add. 2009-06-11 Simon Josefsson * doc/gsasl.texi: Rewrite manual somewhat to give better introduction to concepts. 2009-06-10 Simon Josefsson * THANKS: Add. 2009-06-10 Simon Josefsson * doc/gsasl.texi, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Drop ctx parameter from client_authenticate function. Suggested by Marco Maggi . 2009-06-10 Simon Josefsson * NEWS: Add. 2009-06-10 Simon Josefsson * src/gsasl.c: Don't write out of bounds on (impossible?) empty reads. Handle NUL in input. 2009-06-10 Enrico Scholz * src/gsasl.c: fix insufficient memory allocation in imap/smtp code There was written 'line[pos + 1]' although only space for 'pos + 1' elements was allocated. Signed-off-by: Enrico Scholz 2009-06-10 Simon Josefsson * lib/src/obsolete.c: Fix typo. 2009-06-09 Simon Josefsson * gl/Makefile.am, gl/m4/getpagesize.m4, gl/m4/gnulib-comp.m4, gl/m4/memchr.m4, gl/m4/mmap-anon.m4, gl/memchr.c, gltests/Makefile.am, gltests/getpagesize.c, gltests/test-alignof.c, gltests/test-memchr.c, gltests/zerosize-ptr.h, lib/gl/Makefile.am, lib/gl/m4/getpagesize.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memchr.m4, lib/gl/m4/mmap-anon.m4, lib/gl/memchr.c, lib/gltests/Makefile.am, lib/gltests/getpagesize.c, lib/gltests/test-memchr.c, lib/gltests/zerosize-ptr.h: Update gnulib files. 2009-06-05 Simon Josefsson * NEWS: Add. 2009-06-05 Simon Josefsson * cfg.mk: Fix. 2009-06-05 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/version-etc.m4, gl/version-etc.c: Update gnulib files. 2009-06-03 Simon Josefsson * gl/alignof.h, gltests/test-alignof.c: Update gnulib files. 2009-06-02 Simon Josefsson * NEWS, doc/gsasl.texi: Doc category fixes. 2009-06-02 Simon Josefsson * doc/gsasl.texi: Fix. 2009-06-02 Simon Josefsson * examples/Makefile.am, src/Makefile.am, tests/Makefile.am: Some code not ready for stack space limit. 2009-06-02 Simon Josefsson * lib/NEWS: Add. 2009-06-02 Simon Josefsson * configure.ac, examples/Makefile.am, lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gs2/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am, lib/tests/Makefile.am, src/Makefile.am, tests/Makefile.am: More warnings. 2009-06-02 Simon Josefsson * lib/src/obsolete.c: Decrease stack usage. 2009-06-02 Simon Josefsson * lib/NEWS, lib/src/obsolete.c: libgsasl: Obsolete gsasl_md5pwd_get_password rewritten to use modern API. 2009-06-02 Simon Josefsson * lib/ntlm/ntlm.c: Reduce stack usage. 2009-06-02 Simon Josefsson * NEWS, cfg.mk, configure.ac, gl/m4/manywarnings.m4, lib/configure.ac: Fix warning flags. 2009-05-29 Simon Josefsson * THANKS: Add. 2009-05-29 Simon Josefsson * lib/README: Fix. 2009-05-29 Simon Josefsson * README, lib/COPYING, lib/COPYING.LIB, lib/NEWS, lib/README: Clarify license in libgsasl. 2009-05-28 Simon Josefsson * .prev-version, lib/.prev-version: Add. 2009-05-28 Simon Josefsson * lib/README: Clarify license. 2009-05-28 Simon Josefsson * README: Point to LGPL license file. 2009-05-28 Simon Josefsson * gl/m4/include_next.m4, gl/m4/size_max.m4, lib/gl/m4/include_next.m4, lib/gl/m4/size_max.m4: Update gnulib files. 2009-05-20 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/m4/sys_socket_h.m4, gl/sys_socket.in.h, gltests/test-sys_socket.c, lib/gl/getdelim.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-05-17 Simon Josefsson * gl/alignof.h, gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/malloca.h, gltests/test-alignof.c, lib/maint.mk, maint.mk: Update gnulib files. 2009-05-12 Simon Josefsson * lib/src/version.c: Doc fix. 2009-05-11 Simon Josefsson * cfg.mk, maint.mk: Fix build-aux for gnulib. 2009-05-11 Simon Josefsson * po/POTFILES.in: Drop gettext.m4. 2009-05-11 Simon Josefsson * m4/pkg.m4: Add. 2009-05-11 Simon Josefsson * m4/gtk-doc.m4: Update gtk-doc m4. 2009-05-11 Simon Josefsson * doc/cyclo/Makefile.am: Fix build-aux paths. 2009-05-11 Simon Josefsson * cfg.mk, gltests/test-vc-list-files-git.sh, lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, lib/maint.mk: Update gnulib files. 2009-05-10 Simon Josefsson * cfg.mk: Fix. 2009-05-10 Simon Josefsson * build-aux/config.rpath, build-aux/link-warning.h, build-aux/useless-if-before-free, build-aux/vc-list-files, configure.ac, gl/Makefile.am, gl/alignof.h, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_socket_h.m4, gl/sys_socket.in.h, gltests/Makefile.am, gltests/malloca.h, gltests/test-sys_socket.c, {build-aux => lib/build-aux}/gendocs.sh, {build-aux => lib/build-aux}/pmccabe.css, {build-aux => lib/build-aux}/pmccabe2html, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4: Update gnulib files. 2009-05-08 Simon Josefsson * cfg.mk: Make it easier to ignore -Werror. 2009-05-07 Simon Josefsson * lib/build-aux/useless-if-before-free, lib/build-aux/vc-list-files: Update gnulib files. 2009-05-07 Simon Josefsson * lib/gl/build-aux/config.rpath, lib/gl/build-aux/link-warning.h, lib/gl/build-aux/useless-if-before-free, lib/gl/build-aux/vc-list-files: Update gnulib files. 2009-05-07 Simon Josefsson * README-alpha: Fix. 2009-05-06 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am, lib/gltests/test-vc-list-files-cvs.sh, lib/gltests/test-vc-list-files-git.sh: Don't duplicate non-working test. 2009-05-06 Simon Josefsson * gl/Makefile.am, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/multiarch.m4, gl/m4/vasnprintf.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/vasnprintf.m4, maint.mk: Update gnulib files. 2009-05-05 Simon Josefsson * README-alpha: Fix. 2009-05-05 Simon Josefsson * README-alpha: Add. 2009-05-05 Simon Josefsson * src/gsasl.c: Fix warnings when not using TLS. 2009-05-03 Simon Josefsson * src/gsasl.c, src/internal.h: Fix warning. 2009-05-03 Simon Josefsson * gl/Makefile.am, gl/gettext.h, gl/m4/wchar.m4, gl/wchar.in.h, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/wchar.m4, lib/gl/wchar.in.h, maint.mk: Update gnulib files. 2009-04-27 Simon Josefsson * .x-sc_avoid_if_before_free, .x-sc_cast_of_alloca_return_value, .x-sc_cast_of_x_alloc_return_value, .x-sc_file_system, .x-sc_m4_quote_check, .x-sc_makefile_check, .x-sc_po_check, .x-sc_program_name, .x-sc_prohibit_HAVE_MBRTOWC, .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_the_the, .x-sc_trailing_blank, .x-sc_useless_cpp_parens, cfg.mk, configure.ac, doc/gdoc, doc/gsasl-callback-gssapi.texi, doc/reference/gsasl-docs.sgml, doc/texinfo.css, gtk-doc.make, lib/COPYING, lib/Makefile.am, lib/cfg.mk, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/free.c, lib/digest-md5/printer.c, lib/gs2/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/server.c, lib/libgsasl.pc.in, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/ntlm.c, lib/securid/client.c, lib/src/Makefile.am, lib/src/done.c, lib/src/md5pwd.c, lib/src/property.c, lib/src/saslprep.c, lib/src/version.c, lib/src/xstep.c, m4/valgrind.m4, po/POTFILES.in, src/Makefile.am, src/gsasl.c, tests/Makefile.am, tests/cram-md5.c: Fix syntax-check nits. 2009-04-27 Simon Josefsson * build-aux/useless-if-before-free, build-aux/vc-list-files, gl/Makefile.am, gl/getopt1.c, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/vasnprintf.c, gltests/Makefile.am, gltests/test-vc-list-files-cvs.sh, gltests/test-vc-list-files-git.sh, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/vasnprintf.c, lib/gltests/Makefile.am, lib/gltests/test-vc-list-files-cvs.sh, lib/gltests/test-vc-list-files-git.sh, maint.mk: Update gnulib files. 2009-04-24 Simon Josefsson * doc/gendocs_template, gl/Makefile.am, gl/m4/mbrtowc.m4, gl/m4/wctob.m4, maint.mk: Update gnulib files. 2009-04-14 Simon Josefsson * lib/configure.ac, lib/src/Makefile.am: Fix var name. 2009-04-14 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/ld-output-def.m4, lib/m4/output-def.m4: Update gnulib files. 2009-04-14 Simon Josefsson * po/LINGUAS, po/sk.po.in, po/sv.po.in: Sync with TP. 2009-04-14 Simon Josefsson * lib/po/sk.po.in, lib/po/sv.po.in: Sync with TP. 2009-04-14 Simon Josefsson * build-aux/gendocs.sh, doc/gendocs_template, doc/lgpl-2.1.texi, gl/Makefile.am, gl/m4/inet_ntop.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/ld-version-script.m4, lib/gltests/Makefile.am, maint.mk: Update gnulib files. 2009-04-01 Simon Josefsson * src/internal.h: Make sure NLS is enabled. 2009-03-31 Simon Josefsson * gltests/test-getaddrinfo.c, gltests/test-sockets.c: Update gnulib files. 2009-03-30 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2009-03-30 Simon Josefsson * po/fr.po.in, po/ga.po.in, po/id.po.in, po/nl.po.in, po/pl.po.in, po/zh_CN.po.in: Sync with TP. 2009-03-30 Simon Josefsson * lib/po/ga.po.in, lib/po/id.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/zh_CN.po.in: Sync with TP. 2009-03-30 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2009-03-30 Simon Josefsson * lib/src/gsasl.h: Fix typo. 2009-03-25 Simon Josefsson * ChangeLog: Generated. 2009-03-25 Simon Josefsson * lib/ChangeLog: Generated. 2009-03-25 Simon Josefsson * lib/gltests/Makefile.am: Fixup broken generated paths. 2009-03-25 Simon Josefsson * NEWS, lib/NEWS: Version 1.1. 2009-03-25 Simon Josefsson * lib/NEWS: Add. 2009-03-25 Simon Josefsson * lib/README-alpha: Remove. 2009-03-25 Simon Josefsson * cfg.mk: Copy cyclo chart to webdir. 2009-03-24 Simon Josefsson * lib/NEWS: Fixes. 2009-03-24 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/client.c, lib/digest-md5/server.c, tests/digest-md5.c: DIGEST-MD5: Disable integrity layers by default. 2009-03-24 Simon Josefsson * tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/name.c, tests/old-cram-md5.c, tests/old-digest-md5.c: Make self tests work with --disable-client. 2009-03-24 Simon Josefsson * lib/src/listmech.c: Make sure return string is zero terminated even if there are no mechanisms. 2009-03-24 Simon Josefsson * tests/suggest.c: Make more robust when some client mechanisms are disabled. 2009-03-24 Simon Josefsson * lib/src/suggest.c: Doc fix. 2009-03-24 Simon Josefsson * src/gsasl.c: Mingw fixes. 2009-03-24 Simon Josefsson * gl/override/lib/getpass.c.diff: Add. 2009-03-24 Simon Josefsson * gl/getpass.c: Avoid newline. 2009-03-24 Simon Josefsson * gl/getpass.c: Apply local getpass fix. 2009-03-24 Simon Josefsson * gl/readline.c: Update gnulib files. 2009-03-24 Simon Josefsson * gl/Makefile.am, gl/close-hook.c, gl/close-hook.h, gl/close.c, gl/m4/close.m4, gl/m4/gnulib-comp.m4, gl/unistd.in.h, gltests/Makefile.am, gltests/sockets.c, lib/gl/unistd.in.h: Update gnulib files. 2009-03-23 Simon Josefsson * tests/Makefile.am: Use EXEEXT for Mingw. 2009-03-23 Simon Josefsson * gl/vasnprintf.c, gltests/Makefile.am, gltests/sockets.c, gltests/sockets.h, lib/gl/vasnprintf.c: Update gnulib files. 2009-03-19 Simon Josefsson * gl/override/tests/test-select-in.sh.diff: Add. 2009-03-19 Simon Josefsson * gltests/Makefile.am, gltests/sockets.h, gltests/test-select-in.sh, tests/Makefile.am: Mingw fixes. 2009-03-19 Simon Josefsson * src/Makefile.am: Need -lws2_32 for mingw. 2009-03-19 Simon Josefsson * README-alpha: Reduce. 2009-03-19 Simon Josefsson * README: Fix. 2009-03-19 Simon Josefsson * doc/gsasl.texi: Fix. 2009-03-19 Simon Josefsson * tests/digest-md5.c: Test encode/decode. 2009-03-19 Simon Josefsson * NEWS: Add. 2009-03-19 Simon Josefsson * lib/digest-md5/qop.c, lib/digest-md5/qop.h: Add. 2009-03-19 Simon Josefsson * lib/digest-md5/server.c: Derive session keys properly. 2009-03-19 Simon Josefsson * NEWS, src/gsasl.c: gsasl: Decode data when integrity protected. 2009-03-19 Simon Josefsson * lib/NEWS: Add. 2009-03-19 Simon Josefsson * lib/digest-md5/session.c: Fix integrity decoding. Reported by Andery Melnikov . 2009-03-19 Simon Josefsson * lib/digest-md5/digesthmac.c: Fix computation of Kic. 2009-03-19 Simon Josefsson * NEWS, doc/gsasl.texi, src/callbacks.c, src/gsasl.ggo: Fix gsasl --quality-of-protection flag. 2009-03-19 Simon Josefsson * lib/src/obsolete.c: Fix error. 2009-03-19 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/server.c, lib/src/Makefile.am, lib/src/gsasl.h, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c, lib/src/xfinish.c, tests/digest-md5.c, tests/old-digest-md5.c: Add GSASL_QOP. Make DIGEST-MD5 client support integrity and QOP callback. 2009-03-18 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c, lib/src/xfinish.c, tests/digest-md5.c: Rename GSASL_QOP to GSASL_QOPS as it denotes a set of qops. 2009-03-18 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/m4/gettimeofday.m4, gl/m4/gnulib-comp.m4, gl/m4/quotearg.m4, gl/m4/select.m4, gl/m4/sys_select_h.m4, gl/select.c, gl/sys_select.in.h, gl/xmalloc.c, gltests/Makefile.am, gltests/gettimeofday.c, gltests/test-gettimeofday.c, gltests/test-select-fd.c, gltests/test-select-in.sh, gltests/test-select-out.sh, gltests/test-select-stdin.c, gltests/test-select.c, maint.mk: Update gnulib files. 2009-03-07 Simon Josefsson * THANKS: Add. 2009-03-07 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/digest-md5/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c, lib/src/xfinish.c, tests/digest-md5.c, tests/old-digest-md5.c: Add GSASL_QOP property. Make DIGEST-MD5 server use it. Update self-tests. 2009-03-07 Simon Josefsson * lib/src/xfinish.c: Free(NULL) works fine on all modern platforms, reportedly. 2009-03-06 Simon Josefsson * lib/NEWS: Fix. 2009-03-04 Simon Josefsson * configure.ac: Don't use GnuTLS unless it has gnutls_priority_set_direct. 2009-03-04 Simon Josefsson * lib/NEWS: Clarify. 2009-03-04 Simon Josefsson * gl/Makefile.am, lib/gl/Makefile.am: Update gnulib files. 2009-03-04 Simon Josefsson * lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/external/Makefile.am, lib/gs2/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am: Add more CFLAG_VISIBILITY. 2009-03-04 Simon Josefsson * lib/NEWS: Add. 2009-03-04 Simon Josefsson * lib/digest-md5/Makefile.am, lib/src/Makefile.am, lib/src/gsasl.h: Use visibility module from gnulib. 2009-03-04 Simon Josefsson * lib/NEWS, lib/src/Makefile.am, lib/src/libgsasl.map: Use a linker version script. 2009-03-04 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/ld-version-script.m4: Import ld-version-script and visibility gnulib modules. 2009-03-04 Simon Josefsson * gl/fseeko.c, gl/gai_strerror.c, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/mbrtowc.m4, gl/m4/printf.m4, gl/m4/stdarg.m4, gl/m4/stdint.m4, gl/m4/stdlib_h.m4, gl/m4/ungetc.m4, gl/m4/vasnprintf.m4, gl/mbrtowc.c, gl/stdint.in.h, gl/sys_socket.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/setsockopt.c, gltests/test-fseeko.c, gltests/test-fseeko2.sh, gltests/test-getaddrinfo.c, lib/gl/m4/gnulib-common.m4, lib/gl/m4/include_next.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/stdint.in.h, lib/gl/vasnprintf.c: Update gnulib files. 2009-02-13 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2009-02-13 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add 1.1 symbols. 2009-02-13 Simon Josefsson * lib/src/gsasl.h: Doc fix. 2009-02-13 Simon Josefsson * lib/src/gsasl.h: Generated. 2009-02-13 Simon Josefsson * lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Add GSASL_VERSION_MAJOR, GSASL_VERSION_MINOR, GSASL_VERSION_PATCH, and GSASL_VERSION_NUMBER. 2009-02-13 Simon Josefsson * lib/m4/update-header-version.m4: Support arbitrary sed expressions. 2009-02-13 Simon Josefsson * gl/Makefile.am, gl/config.charset, gl/localcharset.c, gl/m4/00gnulib.m4, gl/m4/close.m4, gl/m4/eealloc.m4, gl/m4/environ.m4, gl/m4/extensions.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/lcmessage.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/lock.m4, gl/m4/malloca.m4, gl/m4/nls.m4, gl/m4/pmccabe2html.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/setenv.m4, gl/m4/sockets.m4, gl/m4/stdlib_h.m4, gl/m4/threadlib.m4, gl/m4/uintmax_t.m4, gl/m4/visibility.m4, gl/mbrtowc.c, gl/stdlib.in.h, gl/version-etc.c, gltests/Makefile.am, gltests/locale/fr/LC_MESSAGES/test-quotearg.po, gltests/malloca.c, gltests/malloca.h, gltests/malloca.valgrind, gltests/setenv.c, gltests/sockets.h, gltests/test-environ.c, gltests/test-getaddrinfo.c, gltests/test-malloca.c, gltests/test-mbrtowc4.sh, gltests/test-quotearg.c, gltests/test-quotearg.sh, gltests/test-sockets.c, gltests/unsetenv.c, lib/gl/Makefile.am, lib/gl/m4/00gnulib.m4, lib/gl/m4/extensions.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdlib_h.m4, lib/gl/stdlib.in.h, lib/gltests/Makefile.am: Update gnulib files. 2009-02-06 Simon Josefsson * lib/src/gsasl.h: Bump version. 2009-01-23 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2009-01-23 Simon Josefsson * lib/cfg.mk: Use ftp.gnu.org as upload target. 2009-01-23 Simon Josefsson * ChangeLog: Generated. 2009-01-23 Simon Josefsson * lib/ChangeLog: Generated. 2009-01-23 Simon Josefsson * doc/gsasl.texi: Link to autobuild.josefsson.org. 2009-01-23 Simon Josefsson * doc/texinfo.css: Update. 2009-01-23 Simon Josefsson * lib/gltests/Makefile.am: Quick fix to make it build. 2009-01-23 Simon Josefsson * lib/gltests/Makefile.am: Quick fix to make it build. 2009-01-23 Simon Josefsson * NEWS, lib/NEWS: Version 1.0. 2009-01-23 Simon Josefsson * cfg.mk: Upload to ftp.gnu.org. 2009-01-23 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump version to 1.0. 2009-01-23 Simon Josefsson * gtk-doc.make: Update with stable upstream. 2009-01-23 Simon Josefsson * tests/suggest.c: Make it work with --disable-obsolete. 2009-01-23 Simon Josefsson * lib/NEWS: Add. 2009-01-23 Simon Josefsson * NEWS: Add. 2009-01-23 Simon Josefsson * NEWS: Fix. 2009-01-23 Simon Josefsson * gl/version-etc.c, gl/version-etc.h, src/gsasl.c: Use emit_bug_reporting_address from gnulib. 2009-01-23 Simon Josefsson * src/gsasl.c: Emit bug report address more. 2009-01-23 Simon Josefsson * src/gsasl.c: Fix priority setting. 2009-01-23 Simon Josefsson * Makefile.am, README, README-alpha, cfg.mk, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, doc/doxygen/gdoc2doxygen, doc/print-errors.c, lib/Makefile.am, lib/NEWS, lib/README, lib/README-alpha, lib/THANKS, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/libgsasl.pc.in, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/m4/output-def.m4, lib/m4/update-header-version.m4, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/free.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h, lib/src/init.c, lib/src/internal.h, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/mechname.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, lib/tests/Makefile.am, lib/tests/test-error.c, m4/valgrind.m4, po/POTFILES.in, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/digest-md5.c, tests/errors.c, tests/external.c, tests/gssapi.c, tests/md5file.c, tests/name.c, tests/old-base64.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/simple.c, tests/suggest.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h: Update copyright years. 2009-01-23 Simon Josefsson * lib/AUTHORS: Update PGP key. 2009-01-23 Simon Josefsson * AUTHORS: Update PGP key. 2009-01-23 Simon Josefsson * NEWS, doc/gsasl.texi, src/gsasl.c, src/gsasl.ggo: Add gsasl --priority parameter. 2009-01-23 Simon Josefsson * doc/reference/gsasl-docs.tmpl, doc/reference/gsasl.types, doc/reference/gtk-doc.make, gtk-doc.make: Update gtk-doc files. 2009-01-23 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/fseeko.c, gl/m4/alloca.m4, gl/m4/codeset.m4, gl/m4/errno_h.m4, gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getpass.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/inline.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-tr.m4, gl/m4/locale-zh.m4, gl/m4/longlong.m4, gl/m4/malloc.m4, gl/m4/mbrtowc.m4, gl/m4/mbstate_t.m4, gl/m4/multiarch.m4, gl/m4/poll.m4, gl/m4/printf.m4, gl/m4/readline.m4, gl/m4/realloc.m4, gl/m4/sockets.m4, gl/m4/sockpfaf.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/strdup.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/poll.c, gl/progname.c, gl/stdint.in.h, gl/stdio.in.h, gl/strerror.c, gl/unistd.in.h, gl/wchar.in.h, gltests/ioctl.c, gltests/test-quotearg.c, gltests/test-unistd.c, lib/gl/Makefile.am, lib/gl/m4/alloca.m4, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gc.m4, lib/gl/m4/getline.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/malloc.m4, lib/gl/m4/md5.m4, lib/gl/m4/minmax.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/realloc.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/test-unistd.c: Update gnulib files. 2009-01-23 Simon Josefsson * doc/Makefile.am: Typo. 2009-01-22 Simon Josefsson * doc/Makefile.am, doc/gdoc: Update gdoc and use gdoc -pkg-name. 2009-01-22 Simon Josefsson * NEWS: Add. 2009-01-22 Simon Josefsson * src/gsasl.c: Add web page links, per new GNU coding standard. 2009-01-07 Simon Josefsson * lib/digest-md5/test-parser.c: Need to initialize gc. 2009-01-07 Simon Josefsson * src/gsasl.c: Make --version print both version numbers if libgsasl and gsasl version differ. 2009-01-07 Simon Josefsson * README, doc/gsasl.texi, doc/reference/gsasl-docs.sgml: Fix GFDL version number. 2009-01-07 Simon Josefsson * build-aux/gendocs.sh, doc/gendocs_template, gl/Makefile.am, gl/config.charset, gl/localcharset.c, gl/localcharset.h, gl/m4/codeset.m4, gl/m4/errno_h.m4, gl/m4/extensions.m4, gl/m4/getaddrinfo.m4, gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/inttypes_h.m4, gl/m4/lib-link.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/multiarch.m4, gl/m4/printf.m4, gl/m4/quotearg.m4, gl/m4/size_max.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4, gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wctob.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4, gl/mbrtowc.c, gl/mbsinit.c, gl/quotearg.c, gl/ref-add.sin, gl/ref-del.sin, gl/stdint.in.h, gl/stdlib.in.h, gl/streq.h, gl/sys_select.in.h, gl/unistd.in.h, {gltests => gl}/verify.h, gl/version-etc.c, gl/wchar.in.h, gl/wctype.in.h, gltests/Makefile.am, gltests/test-mbrtowc.c, gltests/test-mbrtowc1.sh, gltests/test-mbrtowc2.sh, gltests/test-mbrtowc3.sh, gltests/test-mbrtowc4.sh, gltests/test-mbsinit.c, gltests/test-mbsinit.sh, gltests/wctob.c, lib/gl/Makefile.am, lib/gl/m4/codeset.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/extensions.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/multiarch.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/threadlib.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/visibility.m4, lib/gl/m4/wchar.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/stdint.in.h, lib/gl/stdlib.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, lib/gltests/Makefile.am: Update gnulib files. 2008-12-11 Simon Josefsson * lib/digest-md5/digesthmac.c: Drop unused macros. 2008-12-11 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/manywarnings.m4: Update gnulib files. 2008-12-11 Simon Josefsson * configure.ac, gl/m4/include_next.m4, gl/m4/warnings.m4, gl/stdint.in.h, gl/sys_time.in.h, lib/gl/m4/include_next.m4, lib/gl/stdint.in.h, maint.mk: Update gnulib files. 2008-11-28 Simon Josefsson * lib/tests/Makefile.am: Need libintl. 2008-11-18 Simon Josefsson * maint.mk: Update gnulib files. 2008-11-18 Simon Josefsson * lib/Makefile.am: Drop obsolete distcheck rules. 2008-11-18 Simon Josefsson * lib/Makefile.am: Move gltests directory last. 2008-11-18 Simon Josefsson * Makefile.am: Re-order build, so that gltests is last. 2008-11-17 Simon Josefsson * configure.ac: Typos. 2008-11-17 Simon Josefsson * gl/override/lib/gettext.h.diff, lib/gl/override/lib/gettext.h.diff: Add gnulib overrides. 2008-11-17 Simon Josefsson * cfg.mk, configure.ac, gl/gettext.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/hostent.m4, gl/m4/servent.m4, gl/m4/sockets.m4, gl/m4/warnings.m4, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/gnulib-cache.m4, m4/valgrind.m4: Update gnulib files. Change warning handling. 2008-11-17 Simon Josefsson * lib/plain/server.c: Fix warnings. 2008-11-17 Simon Josefsson * Makefile.am, gl/m4/getaddrinfo.m4, gl/m4/netdb_h.m4, gl/netdb.in.h, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gltests/Makefile.am: Update gnulib files. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac: Fix warnings. 2008-11-13 Simon Josefsson * tests/simple.c: Silence warning. 2008-11-13 Simon Josefsson * configure.ac, tests/Makefile.am, tests/cram-md5.c, tests/external.c, tests/md5file.c, tests/old-md5file.c, tests/simple.c, tests/utils.h: Fix warnings. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac: Fix warnings. 2008-11-13 Simon Josefsson * configure.ac: Need -Wundef afterall. 2008-11-13 Simon Josefsson * lib/src/obsolete.c: Use HAVE_LIBIDN instead of WITH_SASLPREP. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac: Re-add -Wundef. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Revert. 2008-11-13 Simon Josefsson * lib/src/gsasl-compat.h: Revert but fix warning in another way. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Typo. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Use --deprecated-guard properly. 2008-11-13 Simon Josefsson * doc/reference/Makefile.am: Add deprecated guard. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/test-parser.c, lib/src/callback.c, lib/src/internal.h, lib/src/property.c: Enable more warnings. Fix warnings. 2008-11-13 Simon Josefsson * lib/src/gsasl-compat.h: Avoid warnings. 2008-11-13 Simon Josefsson * cfg.mk, configure.ac, lib/configure.ac, lib/m4/output-def.m4: Fix warning handling. Use output-def.m4. 2008-11-13 Simon Josefsson * configure.ac: Neatify. 2008-11-12 Simon Josefsson * lib/libgsasl.pc.in: Add URL field. 2008-11-12 Simon Josefsson * examples/Makefile.am: Add WARN_CFLAGS. 2008-11-12 Simon Josefsson * Makefile.am, cfg.mk, configure.ac, gl/Makefile.am, gl/fseeko.c, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/netdb_h.m4, gl/m4/printf.m4, gl/m4/warnings.m4, gl/netdb.in.h, gltests/sockets.h, lib/configure.ac, lib/m4/update-header-version.m4, src/Makefile.am: Update gnulib files. Use shared files for common tests. 2008-11-10 Simon Josefsson * build-aux/pmccabe2html, gl/Makefile.am, gl/m4/sys_ioctl_h.m4: Update gnulib files. 2008-11-04 Simon Josefsson * NEWS: Add. 2008-11-04 Simon Josefsson * doc/Makefile.am, doc/{fdl.texi => fdl-1.3.texi}, doc/gsasl.texi, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Use GFDLv1.3+ for manual. 2008-11-04 Simon Josefsson * gl/m4/include_next.m4, lib/gl/m4/include_next.m4, lib/maint.mk, maint.mk: Update gnulib files. 2008-11-03 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/strdup.m4, lib/gl/stdlib.in.h, lib/gl/strdup.c, lib/gl/unistd.in.h, lib/maint.mk: Update gnulib files. 2008-11-03 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, src/callbacks.c, src/gsasl.c, src/internal.h: Use gnulib xalloc module. 2008-10-30 Simon Josefsson * doc/gsasl.texi: Cleanup pkg-config description. 2008-10-29 Simon Josefsson * cfg.mk, gl/Makefile.am, gl/m4/netdb_h.m4, gl/m4/stdlib_h.m4, gl/m4/sys_socket_h.m4, gl/netdb.in.h, gl/stdlib.in.h, gl/sys_socket.in.h, gl/unistd.in.h, maint.mk: Update gnulib files. 2008-10-29 Simon Josefsson * NEWS: Add. 2008-10-29 Simon Josefsson * doc/gdoc: Sync gdoc with libidn. 2008-10-28 Simon Josefsson * doc/doxygen/Doxyfile.in: Need doxygen.c. 2008-10-28 Simon Josefsson * NEWS, doc/doxygen/Doxyfile.in, doc/doxygen/Doxyfile.orig: Modernize doxygen configuration. 2008-10-28 Simon Josefsson * tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gssapi.c, tests/md5file.c: Use gsasl_free when applicable. 2008-10-28 Simon Josefsson * tests/Makefile.am, tests/suggest.c: Add self-test. 2008-10-28 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-10-28 Simon Josefsson * cfg.mk: Add code coverage rules. 2008-10-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-10-21 Simon Josefsson * cfg.mk: Use system's gnupload. 2008-10-21 Simon Josefsson * ChangeLog: Generated. 2008-10-21 Simon Josefsson * lib/ChangeLog: Generated. 2008-10-21 Simon Josefsson * Makefile.am, lib/Makefile.am: Disable warnings about deprecated stuff. 2008-10-21 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.29. 2008-10-21 Simon Josefsson * cfg.mk, lib/cfg.mk: Split release target. 2008-10-21 Simon Josefsson * doc/cyclo/Makefile.am: Exclude gnulib files from cyclomatic code complexity chart. 2008-10-21 Simon Josefsson * NEWS, build-aux/pmccabe.css, build-aux/pmccabe2html, configure.ac, doc/Makefile.am, doc/cyclo/Makefile.am, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/pmccabe2html.m4: Added cyclomatic code complexity charts. 2008-10-21 Simon Josefsson * lib/NEWS: Add. 2008-10-21 Simon Josefsson * NEWS: Add. 2008-10-21 Simon Josefsson * gl/close.c, gl/m4/sys_socket_h.m4, gl/socket.c, gl/sys_socket.in.h, gltests/ioctl.c: Update gnulib files. 2008-10-21 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/unistd.in.h, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-10-21 Simon Josefsson * lib/src/error.c: Make it work with --disable-obsolete. 2008-10-21 Simon Josefsson * tests/old-base64.c: Fix out of range problem in printf. 2008-10-21 Simon Josefsson * gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/ioctl.c, gltests/sys_ioctl.in.h: Update gnulib files. 2008-10-21 Simon Josefsson * gl/Makefile.am, gl/close.c, gl/connect.c, gl/m4/gnulib-comp.m4, gl/override/tests/test-poll.c.diff, gl/recv.c, gl/shutdown.c, gl/socket.c, gltests/ioctl.c => gl/w32sock.h, gl/winsock.c, gltests/Makefile.am, gltests/accept.c, gltests/bind.c, gltests/listen.c, gltests/setsockopt.c, gltests/sys_ioctl.in.h, gltests/test-poll.c, gltests/w32sock.h, gltests/winsock.c: Update gnulib files. 2008-10-20 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/winsock.c, gltests/Makefile.am, gltests/ioctl.c, gltests/winsock.c: Update gnulib files. 2008-10-20 Simon Josefsson * gl/m4/close.m4, gl/m4/gnulib-comp.m4, gltests/Makefile.am: Update gnulib files. 2008-10-20 Simon Josefsson * gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/sys_ioctl.in.h: Update gnulib files. 2008-10-20 Simon Josefsson * lib/tests/Makefile.am: Need -I's for gsasl.h etc. 2008-10-20 Simon Josefsson * doc/Makefile.am: Don't garble gsasl-api-error-labels.texi if print-errors fails. 2008-10-20 Simon Josefsson * doc/Makefile.am: Don't re-generate print-errors unless needed. 2008-10-20 Simon Josefsson * lib/src/error.c: Fix off-by-one error. 2008-10-20 Simon Josefsson * gl/Makefile.am, gl/fclose.c, gl/m4/close.m4, gl/m4/fclose.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Re-enable fclose to work around autoconf problem. 2008-10-20 Simon Josefsson * gl/Makefile.am, {gltests => gl}/close.c, gl/m4/fclose.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gltests/Makefile.am, gltests/fclose.c: Update gnulib files. 2008-10-20 Simon Josefsson * doc/Makefile.am: Remove gdoc-error. 2008-10-20 Simon Josefsson * src/internal.h: Drop getaddrinfo.h. 2008-10-20 Simon Josefsson * configure.ac, gl/Makefile.am, gl/arpa_inet.in.h, gl/errno.in.h, gl/float.in.h, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/iconv.in.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/netdb_h.m4, gl/m4/stdlib_h.m4, gl/m4/unistd_h.m4, gl/netdb.in.h, gl/netinet_in.in.h, gl/stdarg.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/wchar.in.h, gl/wctype.in.h, gltests/test-getaddrinfo.c, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/float.in.h, lib/gl/m4/gnulib-common.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/wchar.in.h, src/internal.h: Update gnulib files. 2008-10-15 Simon Josefsson * gl/Makefile.am, gl/getaddrinfo.c, gl/m4/close.m4, gl/m4/fclose.m4, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/netdb_h.m4, gl/m4/stdio_h.m4, gl/m4/sys_socket_h.m4, gl/netdb.in.h, gl/stdio.in.h, gl/sys_socket.in.h, gl/winsock.c, gltests/Makefile.am, gltests/fclose.c, gltests/test-netdb.c, gltests/test-poll.c, gltests/winsock.c: Update gnulib files. Add netdb.h replacement. 2008-10-15 Simon Josefsson * NEWS, THANKS: Add. 2008-10-15 Simon Josefsson * src/gsasl.c: Don't use POLLOUT, causes essentially busy-waiting. Reported by Enrico Scholz . 2008-10-13 Simon Josefsson * lib/digest-md5/nonascii.c: Fix warnings. 2008-10-13 Simon Josefsson * lib/tests/Makefile.am: Need -I for gettext.h. 2008-10-13 Simon Josefsson * lib/src/gsasl.h, lib/win32/libgsasl.vcproj: Fix MSVC build files. Partially reverts recent changes. Based on discussion with Adam Strzelecki . 2008-10-11 Simon Josefsson * doc/Makefile.am: Need EXEEXT. 2008-10-11 Simon Josefsson * src/callbacks.c: Don't include langinfo.h when it doesn't exist. 2008-10-11 Simon Josefsson * lib/configure.ac: Bump so version for new API. 2008-10-11 Simon Josefsson * lib/NEWS: Add. 2008-10-11 Simon Josefsson * NEWS: Add. 2008-10-11 Simon Josefsson * lib/src/internal.h, lib/src/xfinish.c: Fix mem leak. 2008-10-11 Simon Josefsson * lib/src/xfinish.c: Reduce redundancy. 2008-10-11 Simon Josefsson * doc/Makefile.am: Generated. 2008-10-11 Simon Josefsson * doc/gsasl.texi: Fix. 2008-10-11 Simon Josefsson * doc/Makefile.am, doc/gdoc-error, doc/print-errors.c: Generate gsasl-api-error-labels.texi using C program. 2008-10-11 Simon Josefsson * lib/tests/Makefile.am: Add. 2008-10-11 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/src/Makefile.am, lib/{src => tests}/test-error.c: Move test-error.c out of library source tree. 2008-10-11 Simon Josefsson * doc/reference/gsasl-docs.sgml, lib/NEWS, lib/src/Makefile.am, lib/src/error.c, lib/src/gsasl.h, lib/src/test-error.c, tests/Makefile.am, tests/errors.c: Add gsasl_strerror_name. 2008-10-10 Simon Josefsson * lib/src/callback.c, lib/src/obsolete.c: Move callback mapping to obsolete.c. 2008-10-10 Simon Josefsson * lib/src/property.c: Typo. 2008-10-10 Simon Josefsson * lib/src/obsolete.c, lib/src/property.c: Move callback2property mapping to obsolete.c. 2008-10-10 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix warnings. 2008-10-10 Simon Josefsson * lib/gssapi/Makefile.am: This code doesn't compile with warnings enabled -- GSS-API bufdesc is broken! 2008-10-10 Simon Josefsson * lib/digest-md5/digesthmac.c: Fix warnings. 2008-10-10 Simon Josefsson * NEWS, lib/NEWS: Add. 2008-10-10 Simon Josefsson * tests/Makefile.am, tests/old-base64.c: Add self-test of obsolete base64 functions. 2008-10-10 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/m4/close.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_ioctl_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/sys_select.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/winsock.c, gltests/Makefile.am, gltests/close.c, gltests/winsock.c, lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-10-10 Simon Josefsson * lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/minmax.m4, lib/gl/minmax.h, lib/src/obsolete.c: Use internal base64 encoder instead of duplicating it. 2008-10-10 Simon Josefsson * THANKS, lib/NEWS, lib/digest-md5/server.c: DIGEST-MD5 server: Convert latin-1 realm to UTF-8 when needed. Reported by Adam Goode . 2008-10-10 Simon Josefsson * lib/NEWS: Fix. 2008-10-09 Simon Josefsson * lib/securid/client.c: Fix (incorrect) -Werror warning. 2008-10-09 Simon Josefsson * Makefile.am, configure.ac, lib/Makefile.am, lib/anonymous/Makefile.am, lib/configure.ac, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gs2/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am: Do distcheck with -Werror. 2008-10-09 Simon Josefsson * lib/src/gsasl-compat.h: Work around gtk-doc parser bug. 2008-10-09 Simon Josefsson * lib/cfg.mk: Fix mingw32 target. 2008-10-09 Simon Josefsson * lib/win32/include/config.h: Add, derived from gen-win32-headers.pl. 2008-10-09 Simon Josefsson * lib/src/gsasl.h: Map GSASL_API to nothing by default. 2008-10-09 Simon Josefsson * doc/gsasl.texi, lib/Makefile.am, lib/NEWS, lib/src/gsasl.h, lib/win32/include/gen-win32-headers.pl, lib/win32/libgsasl.vcproj: Fix MinGW again. Avoid perl in MSVS. 2008-10-09 Simon Josefsson * lib/src/version.c: Use GSASL_VERSION instead of PACKAGE_VERSION to reduce config.h dependency. 2008-10-07 Simon Josefsson * doc/gsasl.texi: Mention new property. 2008-10-07 Simon Josefsson * tests/digest-md5.c: Ignore GSASL_DIGEST_MD5_HASHED_PASSWORD property callbacks. 2008-10-07 Simon Josefsson * lib/digest-md5/server.c: Try to get hashed password before real password. Patch together with "Gazsó Attila" . 2008-10-07 Simon Josefsson * THANKS, lib/NEWS, lib/digest-md5/server.c, lib/src/gsasl.h, lib/src/internal.h, lib/src/property.c: Support hashed passwords in DIGEST-MD5 servers. 2008-10-07 Simon Josefsson * lib/cfg.mk: Fix INDENT_SOURCES. 2008-10-07 Simon Josefsson * lib/cfg.mk: Add INDENT_SOURCES. 2008-10-05 Simon Josefsson * gl/Makefile.am, gl/c-ctype.h, gl/errno.in.h, gl/m4/gnulib-comp.m4, gl/m4/sys_select_h.m4, gl/m4/unistd_h.m4, gl/strerror.c, gl/sys_select.in.h, gl/unistd.in.h, gl/winsock-select.c, gl/winsock.c, gltests/Makefile.am, gltests/test-sys_select.c, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-10-02 Simon Josefsson * cfg.mk: Fix mingw build rules. 2008-10-02 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/poll.c, gl/sys_socket.in.h, gl/unistd.in.h, gl/winsock-select.c, gl/winsock.c, gltests/test-poll.c, gltests/test-sys_select.c, lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-09-30 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/m4/arpa_inet_h.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/inet_ntop.m4, gl/m4/inet_pton.m4, gl/m4/sockets.m4, gl/m4/stdio_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/stdio-write.c, gl/stdio.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/winsock.c, gltests/Makefile.am, gltests/test-sys_select.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdio-write.c, lib/gl/stdio.in.h, lib/gl/unistd.in.h: Update gnulib files. 2008-09-30 Simon Josefsson * configure.ac, lib/configure.ac: Use AC_CONFIG_MACRO_DIR for modern libtool. 2008-09-26 Simon Josefsson * configure.ac, doc/reference/Makefile.am, gtk-doc.make, lib/configure.ac: Use automake warnings. Upgrade gtk-doc makefiles. 2008-09-26 Simon Josefsson * gsasl.fms: Remove. 2008-09-26 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4: Update gnulib files. 2008-09-26 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_select_h.m4, gl/sys_select.in.h, gl/sys_socket.in.h, gl/winsock-select.c, gltests/test-sys_select.c: Update gnulib files. 2008-09-23 Simon Josefsson * gl/Makefile.am, gl/alloca.c, gl/m4/gnulib-comp.m4, gl/m4/perror.m4, gl/m4/strdup.m4, gl/m4/string_h.m4, gl/m4/sys_socket_h.m4, gl/m4/wchar.m4, gl/poll.c, gl/string.in.h, gl/sys_socket.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, gl/winsock.c, gltests/Makefile.am, gltests/perror.c, gltests/test-perror.c, gltests/test-perror.sh, gltests/test-poll.c, gltests/test-wchar.c, gltests/test-wctype.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/strdup.m4, lib/gl/m4/string_h.m4, lib/gl/m4/wchar.m4, lib/gl/malloc.c, lib/gl/string.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h, lib/gltests/test-wchar.c: Update gnulib files. 2008-09-17 Simon Josefsson * Makefile.am: Revert CFLAGS, causes ./configure to be run with -Werror which isn't supported. 2008-09-17 Simon Josefsson * README, doc/gsasl.texi, lib/README: Fix license discussions. 2008-09-17 Simon Josefsson * po/ga.po.in: Sync with TP. 2008-09-17 Simon Josefsson * lib/po/LINGUAS, lib/po/id.po.in: Sync with TP. 2008-09-17 Simon Josefsson * lib/gs2/test-parser.c, lib/securid/mechinfo.c, lib/src/gsasl.h, lib/src/mechname.c, lib/src/version.c, tests/external.c: Indent. 2008-09-17 Simon Josefsson * lib/digest-md5/test-parser.c, src/imap.c, src/smtp.c, tests/external.c: Fix warnings. 2008-09-17 Simon Josefsson * Makefile.am: Add dist-check warning flags. 2008-09-17 Simon Josefsson * gl/Makefile.am, gl/errno.in.h, gl/m4/eoverflow.m4, gl/m4/errno_h.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_pton.m4, gl/m4/sockets.m4, gl/m4/stdio_h.m4, gl/m4/strerror.m4, gl/poll.c, gl/stdio.in.h, gl/strerror.c, gl/sys_socket.in.h, gl/vasnprintf.c, gltests/Makefile.am, gltests/dummy.c, gltests/inet_pton.c, gltests/{test-EOVERFLOW.c => sockets.c}, lib/gltests/test-EOVERFLOW.c => gltests/sockets.h, gltests/test-errno.c, gltests/test-poll.c, gltests/test-sockets.c, gltests/test-strerror.c, lib/gl/Makefile.am, lib/gl/errno.in.h, lib/gl/m4/eoverflow.m4, lib/gl/m4/errno_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/stdio.in.h, lib/gl/vasnprintf.c, lib/gltests/Makefile.am, lib/gltests/test-errno.c: Update gnulib files. 2008-09-08 Simon Josefsson * tests/Makefile.am: Don't check gnulib getdelim for thread unsafety: it is thread safe. 2008-09-08 Simon Josefsson * build-aux/config.rpath, gl/m4/include_next.m4, lib/build-aux/config.rpath, lib/gl/m4/include_next.m4: Update gnulib files. 2008-09-03 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/float.in.h, gl/iconv.in.h, gl/m4/include_next.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/netinet_in.in.h, gl/stdarg.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/sys_time.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, lib/gl/Makefile.am, lib/gl/float.in.h, lib/gl/m4/include_next.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/stdint.in.h, lib/gl/stdio.in.h, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c, lib/gl/wchar.in.h: Update gnulib files. 2008-08-29 Simon Josefsson * cfg.mk: Fix. 2008-08-29 Simon Josefsson * cfg.mk, lib/Makefile.am, lib/cfg.mk: Fix release target in lib/. 2008-08-29 Simon Josefsson * Makefile.am, cfg.mk: Move release targets. 2008-08-29 Simon Josefsson * lib/GNUmakefile, lib/gl/getdelim.c, lib/gl/m4/getdelim.m4, lib/maint.mk: Update gnulib files. 2008-08-29 Simon Josefsson * GNUmakefile, gl/getdelim.c, gl/m4/getdelim.m4, gl/poll.c, maint.mk: Update gnulib files. 2008-08-27 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-08-22 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/poll.m4, gl/poll.c, gl/poll.in.h: Need poll for mingw32. 2008-08-21 Simon Josefsson * lib/src/version.c: Update gnulib usage. 2008-08-21 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/threadlib.m4, lib/gl/string.in.h, lib/gl/strverscmp.h, lib/gltests/Makefile.am, lib/gltests/test-strverscmp.c: Update gnulib files. 2008-08-21 Simon Josefsson * gl/Makefile.am, gl/m4/autobuild.m4, gl/m4/string_h.m4, gl/string.in.h: Update gnulib files. 2008-08-20 Simon Josefsson * lib/configure.ac: Fix URLs. 2008-08-20 Simon Josefsson * doc/gsasl.texi: Fix URLs. 2008-08-20 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-08-20 Simon Josefsson * Makefile.am: Don't put archive in www direcory. 2008-08-20 Simon Josefsson * ChangeLog: Generated. 2008-08-20 Simon Josefsson * lib/ChangeLog: Generated. 2008-08-20 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.28. 2008-08-20 Simon Josefsson * configure.ac: No need to check for sys/poll.h and errno.h. 2008-08-20 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/autobuild.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, m4/autobuild.m4: Use autobuild from gnulib. 2008-08-20 Simon Josefsson * tests/name.c: Test NULL usage. 2008-08-20 Simon Josefsson * doc/reference/gsasl-docs.sgml: Link to new APIs in 0.2.28. 2008-08-20 Simon Josefsson * NEWS: Add. 2008-08-20 Simon Josefsson * NEWS, tests/Makefile.am, tests/name.c: Add self-test for gsasl_mechanism_name. 2008-08-20 Simon Josefsson * doc/Makefile.am: Generated. 2008-08-20 Simon Josefsson * doc/gsasl.texi, lib/NEWS, lib/configure.ac, lib/src/Makefile.am, lib/src/gsasl.h, lib/src/mechname.c, lib/win32/libgsasl.vcproj: Add gsasl_mechanism_name function. 2008-08-20 Simon Josefsson * lib/gl/gc-gnulib.c: Update gnulib files. 2008-08-20 Simon Josefsson * lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/gs2/client.c, lib/gs2/gs2.h, lib/gs2/gs2parser.c, lib/gs2/gs2parser.h, lib/gs2/gs2wrap.c, lib/gs2/server.c, lib/gs2/test-parser.c, lib/gssapi/server.c, lib/plain/server.c, src/internal.h, tests/gssapi.c, tests/old-gssapi.c: Indent. 2008-08-20 Simon Josefsson * cfg.mk: Add proper INDENT_SOURCE. 2008-08-20 Simon Josefsson * src/callbacks.c, src/gsasl.c: Indent. 2008-08-20 Simon Josefsson * .clcopying: Update. 2008-08-20 Simon Josefsson * lib/src/internal.h: Use #ifdef HAVE_CONFIG_H instead of #if HAVE_CONFIG_H. 2008-08-20 Simon Josefsson * lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/cram-md5/client.c, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/nonascii.c, lib/digest-md5/parser.c, lib/digest-md5/printer.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/validate.c, lib/external/client.c, lib/external/mechinfo.c, lib/external/server.c, lib/gs2/client.c, lib/gs2/mechinfo.c, lib/gs2/server.c, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/login/client.c, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/server.c, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/server.c, src/internal.h: Use #ifdef HAVE_CONFIG_H instead of #if HAVE_CONFIG_H. 2008-08-20 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl-mech.h: Remove duplicate GSASL_API definition. 2008-08-20 Simon Josefsson * doc/reference/Makefile.am: Ignore GSASL_API function decorator. 2008-08-20 Simon Josefsson * NEWS, src/gsasl.c, src/internal.h: Use poll instead of select. 2008-08-20 Simon Josefsson * lib/Makefile.am: Dist unistd.h for win32. 2008-08-20 Simon Josefsson * lib/win32/include/unistd.h: Add. 2008-08-19 Simon Josefsson * README-alpha, lib/README-alpha, lib/autogen.sh: Upgrade README-alpha stuff. 2008-08-19 Simon Josefsson * lib/win32/include/gen-win32-headers.pl: Update license. See discussion in and . 2008-08-19 Simon Josefsson * doc/gsasl.texi, lib/Makefile.am, lib/README.win32: Move Windows instructions into the manual. 2008-08-19 Simon Josefsson * lib/NEWS: Add. 2008-08-19 Simon Josefsson * lib/Makefile.am: Dist win32 files. 2008-08-19 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h: Indent. 2008-08-19 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h: Add Visual Studio patches. From Adam Strzelecki . 2008-08-19 Simon Josefsson * lib/README.win32, lib/win32/include/ac-stdint.h, lib/win32/include/alloca.h, lib/win32/include/gen-win32-headers.pl, lib/win32/include/idn-int.h, lib/win32/include/stdbool.h, lib/win32/include/stdint.h, lib/win32/libgsasl.sln, lib/win32/libgsasl.vcproj: Add Visual Studio patches. From Adam Strzelecki . 2008-08-19 Simon Josefsson * lib/NEWS: Add. 2008-08-19 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/m4/lock.m4: Update gnulib files. 2008-08-06 Simon Josefsson * GNUmakefile, lib/GNUmakefile: Update gnulib files. 2008-08-04 Simon Josefsson * GNUmakefile, gl/m4/gnulib-comp.m4, gl/vasnprintf.c, lib/GNUmakefile, lib/gl/m4/gnulib-comp.m4, lib/gl/vasnprintf.c: Update gnulib files. 2008-07-02 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-07-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-07-01 Simon Josefsson * Makefile.am: Reorder release target. 2008-07-01 Simon Josefsson * lib/Makefile.am: No need to git-push here. 2008-07-01 Simon Josefsson * ChangeLog: Generated. 2008-07-01 Simon Josefsson * lib/ChangeLog: Generated. 2008-07-01 Simon Josefsson * Makefile.am, lib/Makefile.am: Reorder release target. 2008-07-01 Simon Josefsson * lib/ChangeLog: Generated. 2008-07-01 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.27. 2008-07-01 Simon Josefsson * Makefile.am, lib/Makefile.am: Improve release target. 2008-07-01 Simon Josefsson * src/callbacks.c: Fix nl_langinfo error. 2008-07-01 Simon Josefsson * Makefile.am, configure.ac, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, {gl/tests => gltests}/Makefile.am, {gl/tests => gltests}/dummy.c, {gl/tests => gltests}/test-EOVERFLOW.c, {gl/tests => gltests}/test-alloca-opt.c, {gl/tests => gltests}/test-arpa_inet.c, {gl/tests => gltests}/test-c-ctype.c, {gl/tests => gltests}/test-c-strcase.sh, {gl/tests => gltests}/test-c-strcasecmp.c, {gl/tests => gltests}/test-c-strncasecmp.c, {gl/tests => gltests}/test-fseeko.c, {gl/tests => gltests}/test-fseeko.sh, {gl/tests => gltests}/test-getaddrinfo.c, {gl/tests => gltests}/test-getdelim.c, {gl/tests => gltests}/test-getline.c, {gl/tests => gltests}/test-iconv.c, {gl/tests => gltests}/test-lseek.c, {gl/tests => gltests}/test-lseek.sh, {gl/tests => gltests}/test-netinet_in.c, {gl/tests => gltests}/test-quotearg.c, {gl/tests => gltests}/test-snprintf.c, {gl/tests => gltests}/test-stdbool.c, {gl/tests => gltests}/test-stdint.c, {gl/tests => gltests}/test-stdio.c, {gl/tests => gltests}/test-stdlib.c, {gl/tests => gltests}/test-strerror.c, {gl/tests => gltests}/test-striconv.c, {gl/tests => gltests}/test-string.c, {gl/tests => gltests}/test-sys_select.c, {gl/tests => gltests}/test-sys_socket.c, {gl/tests => gltests}/test-sys_time.c, {gl/tests => gltests}/test-unistd.c, {gl/tests => gltests}/test-vasnprintf.c, {gl/tests => gltests}/test-wchar.c, {gl/tests => gltests}/test-wctype.c, {gl/tests => gltests}/verify.h, lib/Makefile.am, lib/configure.ac, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/{gl/tests => gltests}/Makefile.am, lib/{gl/tests => gltests}/dummy.c, lib/{gl/tests => gltests}/intprops.h, lib/{gl/tests => gltests}/test-EOVERFLOW.c, lib/{gl/tests => gltests}/test-alloca-opt.c, lib/{gl/tests => gltests}/test-base64.c, lib/{gl/tests => gltests}/test-gc-hmac-md5.c, lib/{gl/tests => gltests}/test-gc-md5.c, lib/{gl/tests => gltests}/test-gc.c, lib/{gl/tests => gltests}/test-getdelim.c, lib/{gl/tests => gltests}/test-getline.c, lib/{gl/tests => gltests}/test-stdbool.c, lib/{gl/tests => gltests}/test-stdint.c, lib/{gl/tests => gltests}/test-stdio.c, lib/{gl/tests => gltests}/test-stdlib.c, lib/{gl/tests => gltests}/test-string.c, lib/{gl/tests => gltests}/test-unistd.c, lib/{gl/tests => gltests}/test-vasnprintf.c, lib/{gl/tests => gltests}/test-vasprintf.c, lib/{gl/tests => gltests}/test-wchar.c, lib/{gl/tests => gltests}/verify.h: Move gnulib self-tests from */gl/tests to */gltests. 2008-07-01 Simon Josefsson * lib/Makefile.am, lib/configure.ac: Fix paths. 2008-07-01 Simon Josefsson * NEWS, lib/NEWS: Update translations. 2008-07-01 Simon Josefsson * lib/cfg.mk: Fix PACKAGE. 2008-07-01 Simon Josefsson * lib/po/LINGUAS, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in: Sync with TP. 2008-07-01 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2008-07-01 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2008-07-01 Simon Josefsson * lib/cfg.mk: Set PACKAGE for update-po. 2008-07-01 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2008-07-01 Simon Josefsson * lib/gl/tests/dummy.c, lib/gl/tests/intprops.h, lib/gl/tests/test-EOVERFLOW.c, lib/gl/tests/test-alloca-opt.c, lib/gl/tests/test-base64.c, lib/gl/tests/test-getdelim.c, lib/gl/tests/test-getline.c, lib/gl/tests/test-stdbool.c, lib/gl/tests/test-stdint.c, lib/gl/tests/test-stdio.c, lib/gl/tests/test-stdlib.c, lib/gl/tests/test-string.c, lib/gl/tests/test-unistd.c, lib/gl/tests/test-vasnprintf.c, lib/gl/tests/test-vasprintf.c, lib/gl/tests/test-wchar.c, lib/gl/tests/verify.h: Update gnulib files, and include gnulib self-tests. 2008-07-01 Simon Josefsson * lib/GNUmakefile, lib/NEWS, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/lock.m4, lib/gl/m4/stdio_h.m4, lib/gl/stdio.in.h, lib/gl/tests/Makefile.am, lib/{ => gl}/tests/test-gc-hmac-md5.c, lib/{ => gl}/tests/test-gc-md5.c, lib/{ => gl}/tests/test-gc.c, lib/tests/Makefile.am: Update gnulib files, and include gnulib self-tests. 2008-07-01 Simon Josefsson * GNUmakefile, NEWS, doc/gendocs_template, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/locale-fr.m4, gl/m4/locale-tr.m4, gl/m4/stdio_h.m4, gl/override/doc/gendocs_template.diff, gl/stdio.in.h, gl/tests/Makefile.am, gl/tests/dummy.c, gl/tests/test-EOVERFLOW.c, gl/tests/test-alloca-opt.c, gl/tests/test-arpa_inet.c, gl/tests/test-c-ctype.c, gl/tests/test-c-strcase.sh, gl/tests/test-c-strcasecmp.c, gl/tests/test-c-strncasecmp.c, gl/tests/test-fseeko.c, gl/tests/test-fseeko.sh, gl/tests/test-getaddrinfo.c, gl/tests/test-getdelim.c, gl/tests/test-getline.c, gl/tests/test-iconv.c, gl/tests/test-lseek.c, gl/tests/test-lseek.sh, gl/tests/test-netinet_in.c, gl/tests/test-quotearg.c, gl/tests/test-snprintf.c, gl/tests/test-stdbool.c, gl/tests/test-stdint.c, gl/tests/test-stdio.c, gl/tests/test-stdlib.c, gl/tests/test-strerror.c, gl/tests/test-striconv.c, gl/tests/test-string.c, gl/tests/test-sys_select.c, gl/tests/test-sys_socket.c, gl/tests/test-sys_time.c, gl/tests/test-unistd.c, gl/tests/test-vasnprintf.c, gl/tests/test-wchar.c, gl/tests/test-wctype.c, gl/tests/verify.h: Update gnulib files, and include gnulib self-tests. 2008-07-01 Simon Josefsson * lib/po/LINGUAS, lib/po/de.po.in, lib/po/eu.po.in, lib/po/fr.po.in, lib/po/ga.po.in, lib/po/id.po.in, lib/po/nl.po.in, lib/po/pl.po.in, lib/po/ro.po.in, lib/po/sq.po.in, lib/po/sr.po.in, lib/po/sv.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in, lib/po/zh_TW.po.in: Sync with TP. 2008-07-01 Simon Josefsson * NEWS: Add. 2008-06-21 Enrico Scholz * src/gsasl.c: Fix SASL operations through TLS SASL operations through TLS do not work as the custom 'writeln()' operation would skip the gnutls_record_send() call unconditionally ('len' is initialized to 0 and won't be modified). This patch initializes 'len' with the length of the string and reuses this value in the following send/write calls. Signed-off-by: Enrico Scholz 2008-06-04 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-06-04 Simon Josefsson * po/nl.po.in, po/pl.po.in, po/vi.po.in, po/zh_CN.po.in: Sync with TP. 2008-06-04 Simon Josefsson * lib/po/LINGUAS, lib/po/nl.po.in, lib/po/vi.po.in, lib/po/zh_CN.po.in: Sync with TP. 2008-06-04 Simon Josefsson * gl/stdbool.in.h, gl/stdio-impl.h, gl/vasnprintf.c, gl/xalloc.h, lib/gl/stdbool.in.h, lib/gl/vasnprintf.c, lib/maint.mk, maint.mk: Update gnulib files. 2008-06-04 Simon Josefsson * lib/NEWS, lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/nonascii.c, lib/digest-md5/nonascii.h, lib/digest-md5/server.c: DIGEST-MD5: Fix undefined symbol "utf8tolatin1ifpossible". Reported by Martin Lambers . 2008-05-20 Simon Josefsson * gl/getaddrinfo.h, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/wctype.m4, gl/vasnprintf.c, gl/xalloc.h, gl/xmalloc.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/vasnprintf.c: Update gnulib files. 2008-05-05 Simon Josefsson * lib/Makefile.am: Dist more. 2008-05-05 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2008-05-05 Simon Josefsson * ChangeLog: Generated. 2008-05-05 Simon Josefsson * lib/ChangeLog: Generated. 2008-05-05 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.26. 2008-05-05 Simon Josefsson * lib/Makefile.am: Fix .cvscopying filename. 2008-05-05 Simon Josefsson * .cvscopying => .clcopying, Makefile.am: Dist more, fix .cvscopying filename. 2008-05-05 Simon Josefsson * NEWS: Add. 2008-05-05 Simon Josefsson * doc/reference/Makefile.am: Fix warnings about missing --deprecated-guards. 2008-05-05 Simon Josefsson * doc/Makefile.am: Cosmetic fix. 2008-05-05 Simon Josefsson * doc/gdoc: Fix to avoid warnings about GSASL_VALID_MECHANISM_CHARACTERS definition. 2008-05-05 Simon Josefsson * doc/Makefile.am: Split up manpage/texinfos to one per line, to simplify diff review. 2008-05-05 Simon Josefsson * build-aux/gendocs.sh, gl/Makefile.am, gl/arpa_inet.in.h, gl/fseeko.c, gl/getaddrinfo.c, gl/inet_ntop.c, gl/inet_ntop.h, gl/m4/arpa_inet_h.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_socket_h.m4, gl/stdio-impl.h, gl/stdlib.in.h, gl/string.in.h, gl/sys_socket.in.h, lib/gl/Makefile.am, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/stdlib.in.h, lib/gl/string.in.h: Update gnulib files. 2008-05-05 Simon Josefsson * THANKS, lib/NEWS, lib/digest-md5/server.c: Fix ISO-8859-1 to UTF-8 conversion code. Tiny patch from Pawel Widera . 2008-04-23 Simon Josefsson * lib/po/LINGUAS, lib/po/fr.po.in, lib/po/sk.po.in: Sync with TP. 2008-04-23 Simon Josefsson * Makefile.am, NEWS, cfg.mk, lib/Makefile.am, lib/NEWS, lib/cfg.mk, lib/po/Makevars, lib/po/{fr.po => fr.po.in}, lib/po/{ga.po => ga.po.in}, lib/po/{nl.po => nl.po.in}, lib/po/{pl.po => pl.po.in}, lib/po/{ro.po => ro.po.in}, lib/po/{sr.po => sr.po.in}, lib/po/{sv.po => sv.po.in}, lib/po/{vi.po => vi.po.in}, po/Makevars, po/{de.po => de.po.in}, po/{eu.po => eu.po.in}, po/{fr.po => fr.po.in}, po/{ga.po => ga.po.in}, po/{id.po => id.po.in}, po/{nl.po => nl.po.in}, po/{pl.po => pl.po.in}, po/{ro.po => ro.po.in}, po/{sq.po => sq.po.in}, po/{sr.po => sr.po.in}, po/{sv.po => sv.po.in}, po/{vi.po => vi.po.in}, po/{zh_CN.po => zh_CN.po.in}, po/{zh_TW.po => zh_TW.po.in}: Avoid *.po merge conflicts and --no-location. 2008-04-23 Simon Josefsson * gl/Makefile.am, gl/arpa_inet.in.h, gl/fseeko.c, gl/m4/arpa_inet_h.m4, gl/m4/extensions.m4, gl/m4/getopt.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/mbstate_t.m4, gl/m4/netinet_in_h.m4, gl/m4/printf.m4, gl/m4/snprintf.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/strerror.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/wctype.m4, gl/sys_socket.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/wctype.in.h, lib/gl/gc-gnulib.c, lib/gl/m4/extensions.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/vasnprintf.c, lib/gl/wchar.in.h: Update gnulib files. 2008-04-11 Simon Josefsson * AUTHORS: Add. 2008-04-11 Simon Josefsson * THANKS: Add, reporting the DIGEST-MD5 problem. 2008-04-11 Simon Josefsson * lib/NEWS, lib/digest-md5/client.c: DIGEST-MD5 client: convert password from UTF-8 to ISO-8859-1 before hash. For compatibility with server. 2008-04-11 Simon Josefsson * tests/digest-md5.c: Test non-ASCII username/password. 2008-04-11 Simon Josefsson * lib/src/gsasl.h: Generated. 2008-04-11 Simon Josefsson * lib/NEWS, lib/digest-md5/server.c, lib/digest-md5/validate.c, tests/digest-md5.c: DIGEST-MD5 server: don't reject authentication if client doesn't use utf-8. Before, authentication from all non-UTF-8 clients were simply rejected. When this situation occurs now, the username is translated into UTF-8 before being passed on to applications. Further, the password retrieved from the application is converted from UTF-8 to ISO-8859-1 if that is possible. Reported by marty in .See also and . 2008-04-11 Simon Josefsson * doc/gsasl.texi: Add native Windows build notes, based on libidn. 2008-04-11 Simon Josefsson * lib/gl/gc-gnulib.c: Update gnulib files. 2008-04-10 Simon Josefsson * GNUmakefile, gl/fseeko.c, gl/m4/include_next.m4, gl/m4/stdint.m4, lib/GNUmakefile, lib/gl/m4/gc-random.m4, lib/gl/m4/include_next.m4, lib/gl/m4/stdint.m4: Update gnulib files. 2008-04-01 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/m4/gnulib-comp.m4, gl/m4/stdlib_h.m4, gl/m4/vasnprintf.m4, gl/snprintf.c, gl/stdlib.in.h, gl/vasnprintf.c, gl/wchar.in.h, lib/gl/Makefile.am, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/getdelim.c, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/stdlib.in.h, lib/gl/vasnprintf.c, lib/gl/vasprintf.c, lib/gl/wchar.in.h: Update gnulib files. 2008-03-25 Simon Josefsson * GNUmakefile, build-aux/GNUmakefile, maint-cfg.mk => cfg.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/GNUmakefile, lib/build-aux/GNUmakefile, lib/{maint-cfg.mk => cfg.mk}, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, {build-aux => lib}/maint.mk, lib/build-aux/maint.mk => maint.mk: Update gnulib files. 2008-03-19 Simon Josefsson * doc/reference/Makefile.am, doc/reference/tmpl/gsasl-unused.sgml, gtk-doc.make: Update GTK-DOC build system. 2008-03-19 Simon Josefsson * doc/gendocs_template, gl/override/doc/gendocs_template, gl/override/doc/gendocs_template.diff: Use a patch for our gendocs changes. 2008-03-18 Simon Josefsson * gl/Makefile.am, gl/m4/absolute-header.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/lib-link.m4, gl/m4/stdarg.m4, gl/stdarg.in.h, lib/gl/Makefile.am, lib/gl/m4/absolute-header.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/include_next.m4, lib/gl/m4/lib-link.m4: Update gnulib files. 2008-03-10 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump version. 2008-03-10 Simon Josefsson * ChangeLog: Generated. 2008-03-10 Simon Josefsson * lib/ChangeLog: Generated. 2008-03-10 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.25. 2008-03-10 Simon Josefsson * lib/NEWS: Add. 2008-03-10 Simon Josefsson * lib/src/base64.c, lib/src/callback.c, lib/src/init.c, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/version.c, lib/src/xcode.c, lib/src/xstart.c: Doc fixes. 2008-03-10 Simon Josefsson * build-aux/gendocs.sh, gl/alloca.in.h, gl/getaddrinfo.c, gl/getdelim.c, gl/getopt.c, gl/m4/fseeko.m4, gl/xsize.h, lib/gl/alloca.in.h, lib/gl/gc-gnulib.c, lib/gl/getdelim.c, lib/gl/xsize.h: Update gnulib files. 2008-03-03 Simon Josefsson * NEWS, THANKS, src/gsasl.c: Make stdout line buffered, to avoid buffering problems. Reported by Enrico Scholz , see . 2008-02-25 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/unistd_h.m4, lib/gl/unistd.in.h: Update gnulib files. 2008-02-25 Simon Josefsson * gl/Makefile.am, gl/m4/unistd_h.m4, gl/quotearg.c, gl/quotearg.h, gl/unistd.in.h: Update gnulib files. 2008-02-13 Simon Josefsson * gl/m4/vasnprintf.m4, gl/vasnprintf.c, lib/gl/m4/md5.m4, lib/gl/m4/vasnprintf.m4, lib/gl/md5.c, lib/gl/md5.h, lib/gl/vasnprintf.c: Update gnulib files. 2008-02-06 Simon Josefsson * lib/NEWS: Add. 2008-02-06 Simon Josefsson * NEWS: Add. 2008-02-06 Simon Josefsson * GNUmakefile, Makefile.am, lib/GNUmakefile, lib/Makefile.am, lib/maint-cfg.mk, maint-cfg.mk: Brace expansion is not POSIX portable. 2008-01-19 Simon Josefsson * gl/m4/sys_time_h.m4, gl/sys_time.in.h: Add gnulib modules for sys/time.h and netinet/in.h and use them. 2008-01-19 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, src/internal.h: Add gnulib modules for sys/time.h and netinet/in.h and use them. 2008-01-19 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump version. 2008-01-19 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-libgcrypt.c, lib/gl/m4/string_h.m4, lib/gl/stdio.in.h, lib/gl/string.in.h, lib/gl/vasnprintf.h: Update gnulib files. 2008-01-19 Simon Josefsson * build-aux/gendocs.sh, gl/Makefile.am, gl/error.h, gl/m4/string_h.m4, gl/stdio.in.h, gl/string.in.h, gl/vasnprintf.h, gl/xalloc.h: Update gnulib files. 2008-01-15 Simon Josefsson * ChangeLog: Generated. 2008-01-15 Simon Josefsson * lib/ChangeLog: Generated. 2008-01-15 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.24. 2008-01-15 Simon Josefsson * lib/src/Makefile.am: Typo. 2008-01-15 Simon Josefsson * lib/NEWS: Add. 2008-01-15 Simon Josefsson * lib/configure.ac, lib/src/Makefile.am: Create libgsasl-XX.def if possible, for MinGW. 2008-01-15 Simon Josefsson * lib/NEWS: Add. 2008-01-15 Simon Josefsson * lib/gl/gc-libgcrypt.c: Disable secmem. 2008-01-15 Simon Josefsson * NEWS: Add. 2008-01-15 Simon Josefsson * tests/Makefile.am: Need gnulib. 2008-01-15 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2008-01-15 Simon Josefsson * ChangeLog: Generated. 2008-01-15 Simon Josefsson * lib/ChangeLog: Generated. 2008-01-15 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.23. 2008-01-15 Simon Josefsson * lib/NEWS: Mention that entry fixes a security problem. 2008-01-15 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2008-01-15 Simon Josefsson * configure.ac: Need tarname in AC_INIT. 2008-01-15 Simon Josefsson * doc/gsasl.texi: Update copyright years. 2008-01-15 Simon Josefsson * NEWS, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/stdarg.m4, gl/version-etc.c, gl/version-etc.h, src/Makefile.am, src/gsasl.c, src/internal.h: Use gnulib version-etc module for --version. Fix --help. 2008-01-15 Simon Josefsson * configure.ac: Use nicer AC_INIT package name string. 2008-01-15 Simon Josefsson * lib/src/gsasl.h: Bump version. 2008-01-15 Simon Josefsson * NEWS, THANKS, lib/NEWS, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/server.c, tests/cram-md5.c: For CRAM-MD5, check gc_nonce return code to make sure challenge is fresh. Reported by "Daniel Armyr" . 2008-01-15 Simon Josefsson * lib/build-aux/config.rpath, lib/gl/Makefile.am, lib/gl/m4/alloca.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/printf-parse.c, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h: Update gnulib files. 2008-01-15 Simon Josefsson * build-aux/config.rpath, gl/Makefile.am, gl/m4/alloca.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/unistd_h.m4, gl/printf-parse.c, gl/progname.c, gl/stdlib.in.h, gl/string.in.h, gl/unistd.in.h: Update gnulib files. 2008-01-15 Simon Josefsson * GNUmakefile, maint-cfg.mk: Re-apply config.rpath hack. 2007-12-19 Simon Josefsson * gl/float.in.h, gl/fseeko.c, gl/m4/float_h.m4, gl/m4/gnulib-comp.m4, gl/stdint.in.h, lib/gl/float.in.h, lib/gl/m4/float_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/stdint.in.h: Update gnulib files. 2007-12-19 Simon Josefsson * doc/specification/draft-newman-auth-scram-05.txt: Add. 2007-12-11 Simon Josefsson * lib/digest-md5/server.c: Add FIXME about utf8/iso8859-1. 2007-12-11 Simon Josefsson * GNUmakefile, maint-cfg.mk: Remove config.rpath hack. 2007-12-11 Simon Josefsson * build-aux/gendocs.sh, doc/fdl.texi, doc/gpl-3.0.texi, gl/Makefile.am, gl/alloca.in.h, gl/asnprintf.c, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/float+.h, gl/fseeko.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getdelim.c, gl/getline.c, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconv.in.h, gl/iconv_open.c, gl/inet_ntop.c, gl/inet_ntop.h, gl/lseek.c, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/intmax_t.m4, gl/m4/lib-link.m4, gl/m4/longlong.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/ulonglong.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wint_t.m4, gl/malloc.c, gl/netinet_in.in.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/realloc.c, gl/size_max.h, gl/snprintf.c, gl/stdbool.in.h, gl/stdint.in.h, gl/stdio.in.h, gl/stdlib.in.h, gl/strdup.c, gl/striconv.c, gl/striconv.h, gl/string.in.h, gl/sys_select.in.h, gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/wchar.in.h, gl/wctype.in.h, gl/xsize.h, lib/gl/Makefile.am, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/unistd_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wint_t.m4, lib/gl/printf-parse.c, lib/gl/realloc.c, lib/gl/stdlib.in.h, lib/gl/string.in.h, lib/gl/unistd.in.h, lib/gl/vasnprintf.c: Update gnulib files. 2007-12-11 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Use gettext 0.17. 2007-11-26 Simon Josefsson * doc/specification/draft-zeilenga-sasl-yap-02.txt: Add. 2007-11-17 Simon Josefsson * doc/specification/rfc5056.txt: Add. 2007-10-29 Simon Josefsson * lib/gs2/client.c: WIP. 2007-10-29 Simon Josefsson * lib/gs2/gs2parser.c, lib/gs2/gs2parser.h, lib/gs2/test-parser.c: Update parser for -09. 2007-10-29 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-10-29 Simon Josefsson * lib/build-aux/maint.mk, lib/gl/Makefile.am, lib/gl/float.in.h, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-common.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/longlong.m4, lib/gl/m4/ulonglong.m4, lib/gl/printf-parse.c, lib/gl/realloc.c, lib/gl/stdbool.in.h, lib/gl/stdint.in.h, lib/gl/stdlib.in.h, lib/gl/vasnprintf.c: Update gnulib files. 2007-10-29 Simon Josefsson * build-aux/maint.mk, gl/Makefile.am, gl/iconv.in.h, gl/iconv_open.c, gl/m4/getaddrinfo.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/longlong.m4, gl/m4/ulonglong.m4, gl/printf-parse.c, gl/stdbool.in.h, gl/stdint.in.h, gl/strerror.c, gl/vasnprintf.c: Update gnulib files. 2007-10-13 Simon Josefsson * lib/gl/string.in.h: Update gnulib files. 2007-10-13 Simon Josefsson * gl/Makefile.am, gl/intprops.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/strerror.m4, gl/strerror.c, gl/string.in.h: Update gnulib files. 2007-10-08 Simon Josefsson * NEWS, lib/NEWS, lib/src/gsasl.h: Version 0.2.22. 2007-10-08 Simon Josefsson * Makefile.am: Fix release target. 2007-10-08 Simon Josefsson * NEWS: Add. 2007-10-08 Simon Josefsson * gl/Makefile.am, gl/{alloca_.h => alloca.in.h}, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h, gl/{float_.h => float.in.h}, gl/fseeko.c, gl/getopt.c, gl/{getopt_.h => getopt.in.h}, gl/getopt1.c, gl/getopt_int.h, gl/{iconv_.h => iconv.in.h}, gl/m4/extensions.m4, gl/m4/getaddrinfo.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/malloc.m4, gl/m4/realloc.m4, gl/m4/socklen.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strerror.m4, gl/m4/string_h.m4, gl/malloc.c, gl/{netinet_in_.h => netinet_in.in.h}, gl/progname.c, gl/progname.h, gl/quote.c, gl/quote.h, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/readline.h, gl/realloc.c, gl/{stdbool_.h => stdbool.in.h}, gl/{stdint_.h => stdint.in.h}, gl/{stdio_.h => stdio.in.h}, gl/{stdlib_.h => stdlib.in.h}, gl/strerror.c, gl/{string_.h => string.in.h}, gl/{sys_select_.h => sys_select.in.h}, gl/{sys_socket_.h => sys_socket.in.h}, gl/{unistd_.h => unistd.in.h}, gl/{wchar_.h => wchar.in.h}, gl/{wctype_.h => wctype.in.h}, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c: Update gnulib files. 2007-10-08 Simon Josefsson * lib/gl/Makefile.am, lib/gl/float.in.h, lib/gl/gc-gnulib.c, lib/gl/m4/extensions.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lock.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/strverscmp.m4, lib/gl/m4/vasprintf.m4, lib/gl/stdio.in.h, lib/gl/string.in.h: Update gnulib files. 2007-10-08 Simon Josefsson * lib/gl/{alloca_.h => alloca.in.h}, lib/gl/{float_.h => float.in.h}, lib/gl/m4/absolute-header.m4, lib/gl/m4/malloc.m4, lib/gl/m4/realloc.m4, lib/gl/m4/stdlib_h.m4, lib/gl/m4/unistd_h.m4, lib/gl/malloc.c, lib/gl/realloc.c, lib/gl/{stdbool_.h => stdbool.in.h}, lib/gl/{stdint_.h => stdint.in.h}, lib/gl/{stdio_.h => stdio.in.h}, lib/gl/stdlib.in.h, lib/gl/{string_.h => string.in.h}, lib/gl/unistd.in.h, lib/gl/{wchar_.h => wchar.in.h}: Update gnulib files. 2007-10-08 Simon Josefsson * .cvsignore, build-aux/.cvsignore, doc/.cvsignore, doc/doxygen/.cvsignore, doc/man/.cvsignore, doc/reference/.cvsignore, doc/reference/tmpl/.cvsignore, examples/.cvsignore, gl/.cvsignore, lib/.cvsignore, lib/anonymous/.cvsignore, lib/build-aux/.cvsignore, lib/cram-md5/.cvsignore, lib/digest-md5/.cvsignore, lib/external/.cvsignore, lib/gl/.cvsignore, lib/gs2/.cvsignore, lib/gssapi/.cvsignore, lib/kerberos_v5/.cvsignore, lib/login/.cvsignore, lib/m4/.cvsignore, lib/ntlm/.cvsignore, lib/plain/.cvsignore, lib/po/.cvsignore, lib/securid/.cvsignore, lib/src/.cvsignore, lib/tests/.cvsignore, m4/.cvsignore, po/.cvsignore, src/.cvsignore, tests/.cvsignore: Remove .cvsignore's. 2007-09-01 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-04.txt: Add. 2007-08-31 Simon Josefsson * lib/configure.ac: Drop gnits mode. 2007-08-31 Simon Josefsson * configure.ac: Drop gnits mode. 2007-08-31 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-08-31 Simon Josefsson * NEWS: Add. 2007-08-31 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/getdelim.h, gl/getline.c, gl/getline.h, gl/getpass.c, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/stdio_h.m4, gl/readline.c, gl/stdio_.h, lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/getdelim.h, lib/gl/getline.c, lib/gl/getline.h, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdio_h.m4, lib/gl/stdio_.h: Update gnulib files. 2007-08-28 Simon Josefsson * src/gsasl.c: Fix warnings. 2007-08-22 Simon Josefsson * ChangeLog: Generated. 2007-08-22 Simon Josefsson * lib/ChangeLog: Generated. 2007-08-22 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.21. 2007-08-22 Simon Josefsson * NEWS: Add. 2007-08-22 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2007-08-22 Simon Josefsson * gl/fseeko.c, gl/lseek.c, gl/m4/lseek.m4: Update gnulib files. 2007-08-22 Simon Josefsson * lib/NEWS: Add. 2007-08-22 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-08-22 Simon Josefsson * AUTHORS: Add. 2007-08-22 Simon Josefsson * THANKS: Add. 2007-08-22 Simon Josefsson * lib/digest-md5/printer.c: Indent. 2007-08-22 Simon Josefsson * lib/digest-md5/printer.c: Remove the extra leading, trailing, and intermediate commas. Patch from James Canete . 2007-08-12 Simon Josefsson * THANKS: Add. 2007-08-12 Simon Josefsson * doc/gsasl.texi: Fix typoes. Tiny patch from Brad Hards . 2007-08-11 Simon Josefsson * ChangeLog: Generated. 2007-08-11 Simon Josefsson * lib/ChangeLog: Generated. 2007-08-11 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.20. 2007-08-11 Simon Josefsson * NEWS: Add. 2007-08-11 Simon Josefsson * lib/NEWS: Add. 2007-08-11 Simon Josefsson * build-aux/GNUmakefile, build-aux/maint.mk, lib/build-aux/GNUmakefile, lib/build-aux/maint.mk: Update gnulib files. 2007-08-10 Simon Josefsson * lib/NEWS, lib/configure.ac: Increment shared library version properly. 2007-08-10 Simon Josefsson * lib/NEWS: Add. 2007-08-10 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2007-08-10 Simon Josefsson * THANKS: Add. 2007-08-10 Simon Josefsson * lib/configure.ac: Don't bother looking for GSS-API library if GS2/GSS-API disabled. Reported by Maxim Britov . 2007-08-09 Simon Josefsson * ChangeLog: Generated. 2007-08-09 Simon Josefsson * lib/ChangeLog: Generated. 2007-08-09 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.19. 2007-08-09 Simon Josefsson * NEWS: Fix. 2007-08-09 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Update. 2007-08-09 Simon Josefsson * doc/reference/gsasl-docs.sgml: Update. 2007-08-09 Simon Josefsson * doc/gsasl.texi: Clarify license portion of blurb. 2007-08-09 Simon Josefsson * lib/src/free.c: Add Since: to mark when gsasl_free was introduced. 2007-08-09 Simon Josefsson * gsasl.fms: Update. 2007-08-09 Simon Josefsson * lib/src/gsasl.h: Update version. 2007-08-09 Simon Josefsson * doc/gsasl.texi: Document gsasl_free. 2007-08-09 Simon Josefsson * doc/Makefile.am: Generate. 2007-08-09 Simon Josefsson * lib/src/Makefile.am: Add free.c. 2007-08-09 Simon Josefsson * lib/src/free.c: Add doc string. 2007-08-09 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Change version to 0.2.19, we'll need another release. 2007-08-09 Simon Josefsson * lib/NEWS, lib/src/free.c, lib/src/gsasl.h: Add gsasl_free(). 2007-08-08 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-09.txt: Add. 2007-08-06 Simon Josefsson * lib/src/gsasl.h: Bump versions. 2007-08-06 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-08-06 Simon Josefsson * lib/AUTHORS: Update PGP key. 2007-08-06 Simon Josefsson * AUTHORS: Update PGP key. 2007-08-06 Simon Josefsson * po/zh_CN.po: Sync with TP. 2007-08-06 Simon Josefsson * doc/gsasl.texi: Fix markup. 2007-08-06 Simon Josefsson * lib/NEWS, lib/build-aux/config.rpath, lib/build-aux/maint.mk, lib/gl/Makefile.am, lib/gl/float_.h, lib/gl/m4/absolute-header.m4, lib/gl/m4/float_h.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/include_next.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/string_h.m4, lib/gl/m4/wchar.m4, lib/gl/stdint_.h, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/wchar_.h: Update gnulib files. 2007-08-06 Simon Josefsson * doc/gsasl.texi: Clarify license versions. 2007-08-06 Simon Josefsson * doc/Makefile.am, doc/doxygen/gdoc2doxygen, doc/gdoc-error, maint-cfg.mk: Re-license to GPLv3. 2007-08-06 Simon Josefsson * Makefile.am, configure.ac, examples/Makefile.am, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/Makefile.am, tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gssapi.c, tests/md5file.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/simple.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h: Re-license to GPLv3. 2007-08-06 Simon Josefsson * NEWS: Add. 2007-08-06 Simon Josefsson * README: Clarify license versions. 2007-08-06 Simon Josefsson * doc/gpl.texi, doc/lgpl.texi: Remove unused license files. 2007-08-06 Simon Josefsson * COPYING: Use GPLv3. 2007-08-06 Simon Josefsson * doc/Makefile.am, doc/gsasl.texi, gl/override/doc/gpl.texi.diff, gl/override/doc/lgpl.texi.diff: Update manual for GPLv3 change. 2007-08-06 Simon Josefsson * build-aux/config.rpath, build-aux/gendocs.sh, build-aux/maint.mk, doc/fdl.texi, doc/gpl-3.0.texi, doc/lgpl-2.1.texi, gl/Makefile.am, gl/error.c, gl/float_.h, gl/iconv_.h, gl/m4/absolute-header.m4, gl/m4/float_h.m4, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv_h.m4, gl/m4/include_next.m4, gl/m4/netinet_in_h.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/string_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/m4/wctype.m4, gl/netinet_in_.h, gl/stdint_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/sys_select_.h, gl/sys_socket_.h, gl/unistd_.h, gl/vasnprintf.c, gl/wchar_.h, gl/wctype_.h: Update gnulib files. 2007-08-01 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-03.txt: Add. 2007-07-12 Simon Josefsson * doc/specification/draft-zeilenga-sasl-yap-01.txt: Add. 2007-06-12 Simon Josefsson * Makefile.am: Add *.po files. 2007-06-12 Simon Josefsson * lib/Makefile.am: Add *.po files. 2007-06-12 Simon Josefsson * lib/po/ga.po: Sync with TP. 2007-06-12 Simon Josefsson * gl/Makefile.am, gl/fseeko.c, gl/m4/stdint.m4, gl/m4/string_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/string_.h, gl/vasnprintf.c, gl/wchar_.h, lib/gl/Makefile.am, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intlmacosx.m4, lib/gl/m4/stdint.m4, lib/gl/m4/string_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/wchar.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/wchar_.h: Update gnulib files. 2007-06-12 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2007-06-07 Simon Josefsson * ChangeLog: Generated. 2007-06-07 Simon Josefsson * lib/ChangeLog: Generated. 2007-06-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.18. 2007-06-07 Simon Josefsson * lib/src/gsasl.h: Bump version. 2007-06-07 Simon Josefsson * lib/NEWS: Add. 2007-06-07 Simon Josefsson * gl/m4/vasnprintf.m4, gl/vasnprintf.c, gl/wchar_.h, lib/gl/m4/vasnprintf.m4, lib/gl/vasnprintf.c, lib/gl/wchar_.h: Update. 2007-06-05 Simon Josefsson * lib/NEWS, lib/configure.ac: Bump versions. 2007-06-05 Simon Josefsson * configure.ac: Bump versions. 2007-06-05 Simon Josefsson * NEWS: Add. 2007-06-05 Simon Josefsson * lib/gl/m4/intl.m4, lib/gl/m4/stdint.m4: Update. 2007-06-05 Simon Josefsson * gl/m4/lseek.m4, gl/m4/stdint.m4: Update. 2007-06-01 Simon Josefsson * Makefile.am: Fix release target. 2007-06-01 Simon Josefsson * ChangeLog: Generated. 2007-06-01 Simon Josefsson * lib/ChangeLog: Generated. 2007-06-01 Simon Josefsson * lib/Makefile.am: Fix ChangeLog target. 2007-06-01 Simon Josefsson * lib/Makefile.am: Fix release target. 2007-06-01 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.17. 2007-06-01 Simon Josefsson * NEWS, lib/NEWS: Add. 2007-06-01 Simon Josefsson * lib/gl/Makefile.am, lib/gl/float+.h, lib/gl/float_.h, lib/gl/m4/float_h.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/wint_t.m4, lib/gl/stdint_.h, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/wchar_.h, lib/tests/test-gc-hmac-md5.c, lib/tests/test-gc-md5.c, lib/tests/test-gc.c: Update. 2007-06-01 Simon Josefsson * gl/Makefile.am, gl/float+.h, gl/float_.h, gl/fseeko.c, gl/getpass.c, gl/iconv_.h, gl/lseek.c, gl/m4/float_h.m4, gl/m4/fseeko.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/lseek.m4, gl/m4/socklen.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/netinet_in_.h, gl/stdint_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/sys_select_.h, gl/{socket_.h => sys_socket_.h}, gl/unistd_.h, gl/vasnprintf.c, gl/wchar_.h, gl/wctype_.h: Update. 2007-06-01 Simon Josefsson * NEWS: Add. 2007-06-01 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po rule. 2007-06-01 Simon Josefsson * lib/src/gsasl.h: Generated. 2007-06-01 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Sync with TP. 2007-06-01 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/id.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po, po/zh_TW.po: Sync with TP. 2007-06-01 Simon Josefsson * configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2007-06-01 Simon Josefsson * NEWS: Add. 2007-06-01 Simon Josefsson * Makefile.am, README-alpha, lib/Makefile.am, lib/README-alpha: Use git instead of cvs. 2007-05-23 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-02.txt: Add. 2007-04-20 Simon Josefsson * ChangeLog: [no log message] 2007-04-20 Simon Josefsson * lib/ChangeLog: [no log message] 2007-04-20 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/id.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po, po/zh_TW.po: Generated. 2007-04-20 Simon Josefsson * lib/NEWS: Add. 2007-04-20 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.16. 2007-04-20 Simon Josefsson * doc/Makefile.am: Dist gpl.texi, lgpl.texi. 2007-04-20 Simon Josefsson * doc/Makefile.am: Update copyrights. 2007-04-20 Simon Josefsson * doc/Makefile.am: Fix 'make distcheck'. 2007-04-20 Simon Josefsson * NEWS, README, lib/NEWS: Add. 2007-04-20 Simon Josefsson * NEWS: Add. 2007-04-20 Simon Josefsson * NEWS, lib/NEWS: Add. 2007-04-20 Simon Josefsson * lib/po/sr.po, po/LINGUAS, po/id.po, po/sr.po, po/zh_TW.po: Sync with TP. 2007-04-20 Simon Josefsson * GNUmakefile: Fix. 2007-04-20 Simon Josefsson * GNUmakefile: Duplicate lib/GNUmakefile stuff, to avoid having lib/GNUmakefile revert things. 2007-04-20 Simon Josefsson * tests/Makefile.am: Remove false positives for threadsafety in vasnprintf.c. 2007-04-20 Simon Josefsson * gl/.cvsignore: [no log message] 2007-04-20 Simon Josefsson * lib/gl/gc-libgcrypt.c: Update. 2007-04-12 Simon Josefsson * build-aux/gendocs.sh, gl/.cvsignore, gl/Makefile.am, gl/alloca_.h, gl/float+.h, gl/iconv_.h, gl/iconv_open-aix.gperf, gl/iconv_open-hpux.gperf, gl/iconv_open-irix.gperf, gl/iconv_open-osf.gperf, gl/iconv_open.c, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconv_h.m4, gl/m4/iconv_open.m4, gl/m4/longdouble.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/vasnprintf.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/stdbool_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/vasnprintf.c, gl/wchar_.h, gl/wctype_.h, lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/asprintf.c, lib/gl/float+.h, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intl.m4, lib/gl/m4/longdouble.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/stdbool_.h, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/vasprintf.c, lib/gl/wchar_.h: Update. 2007-04-12 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4: Update. 2007-04-04 Simon Josefsson * doc/specification/draft-siemborski-rfc2554bis-09.txt: Add. 2007-03-27 Simon Josefsson * gl/.cvsignore, lib/build-aux/.cvsignore, lib/gl/.cvsignore, lib/m4/.cvsignore: [no log message] 2007-03-27 Simon Josefsson * gl/.cvsignore, gl/Makefile.am, gl/c-ctype.c, gl/c-ctype.h, gl/c-strcase.h, gl/c-strcasecmp.c, gl/c-strncasecmp.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/striconv.c, gl/striconv.h, src/callbacks.c: Replace iconvme with striconv. 2007-03-27 Simon Josefsson * gl/.cvsignore, gl/Makefile.am: Update. 2007-03-27 Simon Josefsson * gl/Makefile.am, gl/float+.h, gl/getaddrinfo.c, gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/iconvme.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/ulonglong.m4, gl/m4/vasnprintf.m4, gl/printf-parse.c, gl/stdint_.h, gl/stdio_.h, gl/stdlib_.h, gl/string_.h, gl/vasnprintf.c, lib/gl/.cvsignore, lib/gl/Makefile.am, lib/gl/float+.h, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/printf-parse.c, lib/gl/stdio_.h, lib/gl/string_.h, lib/gl/vasnprintf.c: Update. 2007-03-22 Simon Josefsson * lib/src/gsasl.h: Generated. 2007-03-19 Simon Josefsson * src/Makefile.am: Need gnulib's builddir. 2007-03-19 Simon Josefsson * lib/gs2/README: Add. 2007-03-19 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Revert version, GS2 won't be in the next release. 2007-03-17 Simon Josefsson * lib/digest-md5/printer.c: Don't use vasprintf.h. 2007-03-17 Simon Josefsson * GNUmakefile, maint-cfg.mk: More config.rpath fixes. 2007-03-17 Simon Josefsson * Makefile.cfg, Makefile.maint: Remove. 2007-03-17 Simon Josefsson * lib/GNUmakefile, lib/build-aux/GNUmakefile, lib/build-aux/config.rpath, lib/build-aux/link-warning.h, lib/{ => build-aux}/maint.mk, lib/gl/Makefile.am, lib/gl/asprintf.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/extensions.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/stdio_h.m4, lib/gl/m4/strdup.m4, lib/gl/m4/string_h.m4, lib/gl/m4/uint32_t.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/stdbool_.h, lib/gl/stdint_.h, lib/gl/stdio_.h, lib/gl/strdup.c, lib/gl/strdup.h, lib/gl/string_.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/vasprintf.h, lib/maint-cfg.mk: Update. 2007-03-17 Simon Josefsson * lib/configure.ac: Bump versions. Use build-aux/. 2007-03-17 Simon Josefsson * src/internal.h: Don't use strdup.h. 2007-03-17 Simon Josefsson * build-aux/.cvsignore, gl/.cvsignore, m4/.cvsignore: [no log message] 2007-03-17 Simon Josefsson * GNUmakefile, maint-cfg.mk: Work around config.rpath problem. 2007-03-17 Simon Josefsson * gl/m4/onceonly_2_57.m4: Remove. 2007-03-17 Simon Josefsson * build-aux/GNUmakefile, build-aux/config.rpath, gendocs.sh => build-aux/gendocs.sh, build-aux/link-warning.h, maint.mk => build-aux/maint.mk, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Use build-aux/. 2007-03-17 Simon Josefsson * configure.ac: Bump versions. Use build-aux/. 2007-03-17 Simon Josefsson * gl/Makefile.am, gl/exitfail.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getopt_.h, gl/iconvme.c, gl/m4/extensions.m4, gl/m4/gnulib-comp.m4, gl/m4/netinet_in_h.m4, gl/m4/snprintf.m4, gl/m4/socklen.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/string_h.m4, gl/m4/sys_select_h.m4, gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/{exit.h => netinet_in_.h}, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/quotearg.c, gl/snprintf.c, gl/snprintf.h, gl/socket_.h, gl/stdbool_.h, gl/stdio_.h, gl/stdlib_.h, gl/strdup.c, gl/string_.h, gl/{strdup.h => sys_select_.h}, gl/unistd_.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/xalloc.h: Update. 2007-03-09 Simon Josefsson * doc/specification/draft-newman-auth-scram-04.txt: Add. 2007-03-08 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-01.txt: Add. 2007-03-07 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-08.txt: Add. 2007-03-06 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-12.txt: Add. 2007-02-28 Simon Josefsson * doc/specification/draft-cridland-sasl-hexa-00.txt: Add. 2007-02-28 Simon Josefsson * doc/specification/draft-zeilenga-sasl-yap-00.txt: Add. 2007-02-25 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-11.txt, doc/specification/draft-siemborski-rfc2554bis-08.txt: Add. 2007-01-25 Simon Josefsson * lib/m4/libgcrypt.m4: Remove. 2007-01-25 Simon Josefsson * gl/Makefile.am, gl/gettext.h, gl/iconvme.c, gl/m4/absolute-header.m4, gl/m4/eoverflow.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/quotearg.m4, gl/m4/size_max.m4, gl/m4/unistd_h.m4, gl/m4/wchar.m4, gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/quotearg.c, gl/socket_.h, gl/strdup.h, gl/unistd_.h, gl/wchar_.h, gl/wctype_.h, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gettext.h, lib/gl/m4/eoverflow.m4, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc-random.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/wint_t.m4, lib/gl/stdint_.h, lib/gl/strdup.h: Update. 2007-01-25 Simon Josefsson * doc/specification/draft-ietf-sasl-gs2-05.txt, doc/specification/draft-siemborski-rfc1734bis-09.txt, doc/specification/draft-siemborski-rfc2554bis-07.txt, lib/gl/m4/gnulib-common.m4, lib/gl/m4/wchar.m4, lib/gl/wchar_.h: Add. 2007-01-24 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-10.txt: Add. 2007-01-13 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-08.txt: Add. 2006-12-26 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-07.txt: Add. 2006-12-26 Simon Josefsson * doc/specification/draft-altman-tls-channel-bindings-01.txt, doc/specification/draft-siemborski-rfc2554bis-06.txt: Add. 2006-12-09 Simon Josefsson * tests/simple.c: Test gsasl_check_version too. 2006-12-08 Simon Josefsson * lib/NEWS: Version 0.3.0. 2006-12-08 Simon Josefsson * lib/src/version.c: Fix typo, reported by Thadeu Lima de Souza Cascardo . 2006-12-01 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-06.txt: Add. 2006-11-29 Simon Josefsson * doc/specification/rfc4752.txt: Add. 2006-11-28 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-05.txt: Add. 2006-11-20 Simon Josefsson * doc/gpl.texi, doc/lgpl.texi, gl/Makefile.am, gl/asnprintf.c, gl/error.c, gl/exitfail.c, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt.c, gl/getopt1.c, gl/getopt_.h, gl/getpass.c, gl/gettext.h, gl/iconvme.c, gl/inet_ntop.c, gl/m4/alloca.m4, gl/m4/getpass.m4, gl/m4/gnulib-comp.m4, gl/m4/inline.m4, gl/m4/lib-link.m4, gl/m4/longlong.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/sockpfaf.m4, gl/m4/vasnprintf.m4, gl/m4/xalloc.m4, gl/override/lgpl.texi.diff, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/progname.c, gl/progname.h, gl/quote.c, gl/quotearg.c, gl/quotearg.h, gl/readline.c, gl/snprintf.c, gl/strdup.c, gl/vasnprintf.c, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c, lib/gl/Makefile.am, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/gettext.h, lib/gl/hmac-md5.c, lib/gl/m4/alloca.m4, lib/gl/m4/codeset.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/intl.m4, lib/gl/m4/intldir.m4, lib/gl/m4/intmax.m4, lib/gl/m4/inttypes-h.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/signed.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/md5.c, lib/gl/memxor.c, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/stdint_.h, lib/gl/strdup.c, lib/gl/strverscmp.c, lib/gl/vasnprintf.c, lib/gl/vasprintf.c, lib/tests/test-gc.c: Update. 2006-11-20 Simon Josefsson * lib/gs2/client.c, lib/gs2/server.c: Snapshot. 2006-11-20 Simon Josefsson * gl/override/doc/gpl.texi.diff, gl/override/doc/lgpl.texi.diff, gl/override/lgpl.texi.diff, lib/gs2/gs2wrap.c: Add. 2006-11-16 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-11.txt: Add. 2006-10-11 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-10.txt: Add. 2006-09-13 Simon Josefsson * doc/gpl.texi, doc/lgpl.texi, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-09-13 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-09-13 Simon Josefsson * doc/gsasl.texi: Add GPL. Place concept index last. 2006-09-12 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/vasnprintf.c, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/stdint.m4, lib/gl/stdint_.h, lib/gl/vasnprintf.c, lib/gl/vasprintf.c: Update. 2006-09-07 Simon Josefsson * doc/fdl.texi, doc/specification/draft-ietf-sasl-gssapi-08.txt: Update. 2006-09-01 Simon Josefsson * doc/specification/rfc4616.txt: Add. 2006-08-28 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/codeset.m4, lib/gl/m4/gc.m4, lib/gl/m4/getdelim.m4, lib/gl/m4/getline.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lock.m4, lib/gl/m4/longlong.m4, lib/gl/m4/stdint.m4, lib/gl/m4/stdint_h.m4, lib/gl/stdint_.h: Update. 2006-08-28 Simon Josefsson * gl/Makefile.am, gl/getaddrinfo.c, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/gnulib-cache.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/longlong.m4, gl/m4/readline.m4, gl/m4/stdint_h.m4, gl/override/doc/gendocs_template: Update. 2006-08-27 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-07.txt: Update. 2006-08-27 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2006-08-24 Simon Josefsson * lib/gs2/gs2parser.c: Allocate output instead. 2006-08-24 Simon Josefsson * src/callbacks.c: Fix mem leak. 2006-08-24 Simon Josefsson * src/callbacks.c: Support GSASL_VALIDATE_GSSAPI callback. 2006-08-24 Simon Josefsson * lib/gs2/gs2parser.c: Fix uint32 parsing. 2006-08-24 Simon Josefsson * src/imap.c: Fix last commit. 2006-08-24 Simon Josefsson * src/imap.c: The IMAP '+ ' prefix is only for server data. 2006-08-24 Simon Josefsson * lib/src/error.c: Doc fix. 2006-08-23 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-08-23 Simon Josefsson * lib/configure.ac: Disable GS2 by default. Doc fix. 2006-08-23 Simon Josefsson * lib/gs2/.cvsignore: [no log message] 2006-08-23 Simon Josefsson * lib/gs2/test-parser.c: Add. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c: Fix bug. 2006-08-23 Simon Josefsson * lib/gs2/Makefile.am: Add gs2parser to library. 2006-08-23 Simon Josefsson * lib/gs2/test-parser.c: Add self-tests of GS2 parser. 2006-08-23 Simon Josefsson * lib/gs2/Makefile.am: Add. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c, lib/gs2/gs2parser.h: Fix. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c: Fix. 2006-08-23 Simon Josefsson * lib/gs2/gs2parser.c, lib/gs2/gs2parser.h: Add. 2006-08-22 Simon Josefsson * lib/src/Makefile.am, lib/src/init.c: Add GS2. 2006-08-22 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-08-22 Simon Josefsson * lib/src/xfinish.c: (gsasl_finish): Don't crash on sctx's without mech pointer, happens if you call gsasl_client_start or gsasl_server_start with unknown mechanism. 2006-08-22 Simon Josefsson * lib/configure.ac: Fix. 2006-08-22 Simon Josefsson * lib/gs2/mechinfo.c: Fix. 2006-08-22 Simon Josefsson * lib/src/gsasl.h: Bump version. 2006-08-22 Simon Josefsson * lib/gs2/.cvsignore: [no log message] 2006-08-22 Simon Josefsson * lib/configure.ac: Add. 2006-08-22 Simon Josefsson * configure.ac, lib/configure.ac: Bump version. 2006-08-22 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/gs2/Makefile.am, lib/gs2/README, lib/gs2/gs2.h, lib/gs2/mechinfo.c, lib/gssapi/client.c, lib/gssapi/server.c: Add some GS2 infrastructure. 2006-08-22 Simon Josefsson * gl/Makefile.am, gl/m4/exitfail.m4, gl/m4/getpass.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/strdup.m4, gl/m4/xalloc.m4, lib/gl/Makefile.am, lib/gl/m4/md5.m4, lib/gl/m4/memxor.m4, lib/gl/m4/strdup.m4, lib/gl/m4/strverscmp.m4: Update. 2006-08-22 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2006-08-22 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2006-08-22 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.15. 2006-08-21 Simon Josefsson * lib/AUTHORS: Update PGP key. 2006-08-21 Simon Josefsson * NEWS, lib/AUTHORS: Fix. 2006-08-21 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/strerror_r.m4: Update. 2006-08-21 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump version. 2006-08-19 Simon Josefsson * ChangeLog: [no log message] 2006-08-19 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2006-08-19 Simon Josefsson * AUTHORS: Update key. 2006-08-19 Simon Josefsson * lib/ChangeLog: [no log message] 2006-08-19 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.14. 2006-08-19 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Sync with TP. 2006-08-19 Simon Josefsson * NEWS: Add. 2006-08-19 Simon Josefsson * NEWS: Add. 2006-08-19 Simon Josefsson * gendocs.sh, gl/Makefile.am, gl/error.c, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/minmax.m4, gl/m4/restrict.m4, gl/minmax.h, gl/snprintf.c, lib/gl/m4/base64.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memxor.m4, lib/gl/m4/restrict.m4: Update. 2006-08-11 Simon Josefsson * doc/specification/draft-williams-on-channel-binding-00.txt: Add. 2006-08-10 Simon Josefsson * lib/src/gsasl.h: Bump version. 2006-08-10 Simon Josefsson * doc/Makefile.am: Add. 2006-08-09 Simon Josefsson * lib/configure.ac: Bump versions. 2006-08-09 Simon Josefsson * configure.ac: Bump version. 2006-08-09 Simon Josefsson * NEWS: Add. 2006-08-09 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/error.h, gl/exitfail.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/gettext.h, gl/inet_ntop.h, gl/m4/arpa_inet_h.m4, gl/m4/getline.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/lib-link.m4, gl/m4/netinet_in_h.m4, gl/m4/onceonly_2_57.m4, gl/printf-args.c, gl/quote.c, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/m4/absolute-header.m4, lib/gl/m4/getline.m4, lib/gl/m4/gettext.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/{inttypes.m4 => inttypes-h.m4}, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/isc-posix.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lock.m4, lib/gl/m4/nls.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/po.m4, lib/gl/m4/stdint.m4, lib/gl/m4/visibility.m4, lib/gl/printf-args.c, lib/gl/stdint_.h, lib/gl/vasprintf.h: Update. 2006-08-08 Simon Josefsson * lib/NEWS: Add. 2006-08-08 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2006-08-08 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h, lib/src/internal.h: Add gsasl_session_hook_set and gsasl_session_hook_get, based on suggestion by "MANSION, James, GBM" . Doc fix gsasl_callback_hook_set and gsasl_callback_hook_get. Add new variable application_hook to internal Gsasl_session type. 2006-07-28 Simon Josefsson * doc/gsasl.texi: Fix. 2006-07-28 Simon Josefsson * THANKS: Add. 2006-07-28 Simon Josefsson * doc/gsasl.texi: Add requirements, suggested by "MANSION, James, GBM". 2006-07-14 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2006-07-14 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2006-07-14 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.13. 2006-07-14 Simon Josefsson * lib/NEWS: Add. 2006-07-14 Simon Josefsson * NEWS: Fix. 2006-07-14 Simon Josefsson * Makefile.am: Fix gendocs path. 2006-07-14 Simon Josefsson * doc/gendocs.sh => gendocs.sh, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-07-14 Simon Josefsson * doc/specification/draft-ietf-sasl-gs2-02.txt: Add. 2006-07-11 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2006-07-11 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update. 2006-07-11 Simon Josefsson * doc/Makefile.am: Update. 2006-07-11 Simon Josefsson * lib/src/Makefile.am: Dist doxygen.c. 2006-07-11 Simon Josefsson * NEWS, lib/src/doxygen.c: Add. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.in: Update doxygen version. 2006-07-11 Simon Josefsson * doc/doxygen/Doxyfile.orig: New. 2006-07-11 Simon Josefsson * Makefile.am: Fix gendocs.sh -I's. 2006-07-11 Simon Josefsson * doc/gsasl.texi: Fix include paths. 2006-07-11 Simon Josefsson * doc/Makefile.am: Fix texi2dvi -I's. 2006-07-11 Simon Josefsson * NEWS: Add. 2006-07-11 Simon Josefsson * NEWS: Add. 2006-07-10 Simon Josefsson * doc/Makefile.am: Don't hard code dia/epstopdf. 2006-07-10 Simon Josefsson * configure.ac: Use missing for epstopdf. 2006-07-10 Simon Josefsson * configure.ac: Use missing for dia. 2006-07-10 Simon Josefsson * gl/m4/getopt.m4, gl/m4/gnulib-comp.m4, gl/m4/onceonly_2_57.m4, lib/gl/m4/absolute-header.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/onceonly_2_57.m4: Update. 2006-07-07 Simon Josefsson * lib/src/xstart.c: Fix mem leak. If a mechanism set properties in the session indirectly, but later fails to start the mechanism, the properties would be leaked. Solved by cleaning up the mechanism with gsasl_finish, which require mechanism finish procedures to handle failed mechanism startups. 2006-07-07 Simon Josefsson * lib/NEWS: Add. 2006-07-07 Simon Josefsson * lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/server.c, lib/gssapi/client.c, lib/gssapi/server.c, lib/login/client.c, lib/login/server.c, lib/ntlm/ntlm.c, lib/securid/client.c: Don't crash in finish for un-initialized sessions. 2006-07-07 Simon Josefsson * lib/src/listmech.c: Simplify. 2006-07-07 Simon Josefsson * tests/Makefile.am: Fix typo. 2006-07-07 Simon Josefsson * tests/Makefile.am: Run under valgrind, if available. 2006-07-07 Simon Josefsson * configure.ac: Test for valgrind. 2006-07-07 Simon Josefsson * gl/.cvsignore, lib/gl/.cvsignore: [no log message] 2006-07-07 Simon Josefsson * lib/src/md5pwd.c, lib/src/obsolete.c: Doc fix. 2006-07-07 Simon Josefsson * NEWS: Add. 2006-07-07 Simon Josefsson * configure.ac: Assume sys/types.h. 2006-07-07 Simon Josefsson * lib/configure.ac, lib/gssapi/client.c, lib/gssapi/server.c: Don't need netinet/in.h nor sys/types.h. 2006-07-07 Simon Josefsson * lib/m4/ax_create_stdint_h.m4: Remove. 2006-07-07 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/sys_select_h.m4, src/internal.h: Assume unistd.h, sys/select.h, sys/socket.h and sys/types.h. 2006-07-07 Simon Josefsson * gl/Makefile.am, gl/alloca_.h, gl/asnprintf.c, gl/exit.h, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getopt.c, gl/inet_ntop.c, gl/inet_ntop.h, gl/m4/alloca.m4, gl/m4/eoverflow.m4, gl/m4/getaddrinfo.m4, gl/m4/getpass.m4, gl/m4/gnulib-comp.m4, gl/m4/inet_ntop.m4, gl/m4/intmax_t.m4, gl/m4/inttypes_h.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/minmax.m4, gl/m4/onceonly_2_57.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4, gl/m4/sockpfaf.m4, gl/m4/stdint_h.m4, gl/m4/vasnprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4, gl/minmax.h, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/size_max.h, gl/snprintf.c, gl/snprintf.h, gl/socket_.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/xsize.h, lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/base64.c, lib/gl/m4/absolute-header.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/longlong.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdint.m4, lib/gl/m4/ulonglong.m4, lib/gl/size_max.h, lib/gl/stdint_.h, lib/gl/strverscmp.c: Update gnulib. 2006-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-09.txt: Add. 2006-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-gs2-01.txt: Add. 2006-06-27 Simon Josefsson * doc/gdoc: Fix texinfo/man output. 2006-06-22 Simon Josefsson * configure.ac, lib/configure.ac: Make portable to mingw. 2006-06-20 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-09.txt: Add. 2006-06-19 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-06.txt: Update. 2006-06-13 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-07.txt: Add. 2006-06-09 Simon Josefsson * doc/specification/rfc4422.txt, doc/specification/rfc4505.txt: Add. 2006-05-31 Simon Josefsson * gl/getpass.c, lib/gl/printf-args.c: Update. 2006-05-31 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-05.txt: Add. 2006-05-18 Simon Josefsson * gl/m4/stdbool.m4, lib/gl/m4/stdbool.m4, lib/gl/stdint_.h: Update. 2006-05-16 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Update. 2006-05-04 Simon Josefsson * lib/gl/stdint_.h: Update. 2006-04-26 Simon Josefsson * gl/Makefile.am, gl/m4/getpass.m4, gl/m4/strerror_r.m4, lib/gl/Makefile.am, lib/gl/m4/longdouble.m4: Update. 2006-04-19 Simon Josefsson * lib/gl/base64.c, lib/gl/stdint_.h: Update. 2006-03-24 Simon Josefsson * lib/gl/base64.c: Update. 2006-03-24 Simon Josefsson * lib/gl/base64.c: Update. 2006-03-24 Simon Josefsson * doc/man/.cvsignore: Add. 2006-03-16 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-03-16 Simon Josefsson * doc/gsasl.texi: No invariant section, suggested by Yvan. 2006-03-11 Simon Josefsson * lib/src/gsasl.h: Bump version. 2006-03-10 Simon Josefsson * lib/gl/m4/gc-random.m4: Update. 2006-03-08 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2006-03-08 Simon Josefsson * doc/Makefile.am: Add -I's to fix make dist. 2006-03-08 Simon Josefsson * ChangeLog: [no log message] 2006-03-08 Simon Josefsson * lib/ChangeLog: [no log message] 2006-03-08 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2006-03-08 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.12. 2006-03-08 Simon Josefsson * lib/src/Makefile.am: Remove gsasl.h.in. 2006-03-08 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/unistd_h.m4, gl/unistd_.h, lib/gl/gc-gnulib.c, lib/gl/m4/gc-random.m4, lib/maint.mk, maint.mk: Update. 2006-03-08 Simon Josefsson * gl/Makefile.am: Update. 2006-03-07 Simon Josefsson * lib/NEWS: Add. 2006-03-07 Simon Josefsson * NEWS, lib/NEWS: Add. 2006-03-07 Simon Josefsson * lib/NEWS: Add. 2006-03-07 Simon Josefsson * NEWS, THANKS: Add. 2006-03-07 Simon Josefsson * lib/src/Makefile.am: Add -no-undefined, required to produce DLLs on mingw32. 2006-03-07 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/m4/gnulib-comp.m4, gl/m4/readline.m4, gl/m4/unistd_h.m4, gl/unistd_.h, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/m4/gc-random.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/maint.mk, maint.mk: Update. 2006-03-03 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-06.txt: Add. 2006-03-03 Simon Josefsson * lib/po/rw.po: Remove. 2006-03-03 Simon Josefsson * lib/po/LINGUAS: Sync with TP. 2006-03-03 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2006-03-03 Simon Josefsson * lib/GNUmakefile, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/maint-cfg.mk, lib/maint.mk: Add. 2006-03-03 Simon Josefsson * po/rw.po: Remove. 2006-03-03 Simon Josefsson * po/LINGUAS: Sync with TP. 2006-03-03 Simon Josefsson * Makefile.am: Fix update-po. 2006-03-03 Simon Josefsson * gl/m4/readline.m4, maint.mk: Update. 2006-03-03 Simon Josefsson * gl/iconvme.c, gl/m4/getaddrinfo.m4, gl/m4/readline.m4, gl/readline.c, maint.mk: Update. 2006-03-02 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-08.txt: Add. 2006-03-01 Simon Josefsson * THANKS: Add. 2006-03-01 Simon Josefsson * lib/src/md5pwd.c, lib/src/obsolete.c: Doc fix, implied by report from Yvan Bassuel . 2006-02-28 Simon Josefsson * maint-cfg.mk: Don't gtkdocize. 2006-02-28 Simon Josefsson * gtk-doc.make: Add. 2006-02-28 Simon Josefsson * gl/getopt.c, lib/gl/base64.h, lib/gl/strverscmp.h: Update. 2006-02-28 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac, lib/src/gsasl.h: Bump versions. 2006-02-28 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2006-02-28 Simon Josefsson * lib/configure.ac: Fix version update. 2006-02-28 Simon Josefsson * lib/configure.ac: Update version number in src/gsasl.h. 2006-02-23 Simon Josefsson * lib/configure.ac: Don't build gsasl.h. 2006-02-23 Simon Josefsson * lib/src/{gsasl.h.in => gsasl.h}: Move gsasl.h.in to gsasl.h and hard code version number (a script will be needed to update it). This simplifies porting to Windows. 2006-02-19 Simon Josefsson * lib/po/nl.po, po/nl.po: Update. 2006-02-16 Simon Josefsson * maint-cfg.mk: Fix. 2006-02-16 Simon Josefsson * gl/m4/getaddrinfo.m4, gl/m4/socklen.m4, gl/m4/sys_socket_h.m4, gl/xalloc-die.c, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/stdbool.m4, lib/gl/stdbool_.h, lib/gl/strverscmp.h, lib/gl/vasnprintf.c, maint.mk: Update. 2006-02-14 Simon Josefsson * GNUmakefile, gl/m4/gnulib-comp.m4, maint-cfg.mk, maint.mk: Rename 2006-02-14 Simon Josefsson * lib/digest-md5/Makefile.am: Run test-parser test. 2006-02-14 Simon Josefsson * lib/digest-md5/test-parser.c: Don't crash. 2006-02-14 Simon Josefsson * lib/digest-md5/validate.c: Test finish token further. 2006-02-14 Simon Josefsson * Makefile.cfg: Fix. 2006-02-14 Simon Josefsson * Makefile.cfg: Add --enable-gtk-doc. 2006-02-14 Simon Josefsson * GNUmakefile: Update. 2006-02-14 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-04.txt: Add. 2006-02-13 Simon Josefsson * autogen.sh: Remove. 2006-02-13 Simon Josefsson * GNUmakefile: Update. 2006-02-13 Simon Josefsson * Makefile.cfg: Fix. 2006-02-11 Simon Josefsson * GNUmakefile: Update gnulib. 2006-02-11 Simon Josefsson * Makefile.cfg: Add. 2006-02-11 Simon Josefsson * GNUmakefile, Makefile.maint: Update gnulib. 2006-02-11 Simon Josefsson * GNUmakefile, gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Update gnulib. 2006-02-07 Simon Josefsson * ChangeLog: [no log message] 2006-02-07 Simon Josefsson * lib/ChangeLog: [no log message] 2006-02-07 Simon Josefsson * gsasl.fms: 0.2.11. 2006-02-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.11. 2006-02-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Update. 2006-02-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/vi.po, po/zh_CN.po: Update 2006-02-07 Simon Josefsson * src/gsasl.c: Typo. 2006-02-07 Simon Josefsson * src/gsasl.c: Initialize ws2_32, if necessary. 2006-02-07 Simon Josefsson * gl/getaddrinfo.h, gl/getopt.c, gl/m4/getopt.m4, gl/m4/gnulib-tool.m4, gl/m4/stdbool.m4, gl/quotearg.c, gl/socket_.h, gl/stdbool_.h: Update. 2006-01-24 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-15.txt: Add. 2006-01-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/socket_.h: Update. 2006-01-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/m4/socklen.m4: Update. 2006-01-19 Simon Josefsson * gl/socket_.h: Add. 2006-01-19 Simon Josefsson * lib/configure.ac: Fix cross-compile test. 2006-01-19 Simon Josefsson * lib/configure.ac: Fix cross-compile test. 2006-01-19 Simon Josefsson * lib/configure.ac: Don't be fooled by krb5-config when cross-compiling. 2006-01-19 Simon Josefsson * lib/NEWS: Add. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/socklen.m4: Update. 2006-01-18 Simon Josefsson * gl/m4/socklen.m4: Update. 2006-01-18 Simon Josefsson * NEWS: Add. 2006-01-18 Simon Josefsson * lib/tests/Makefile.am: Update. 2006-01-18 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2006-01-18 Simon Josefsson * tests/Makefile.am: Mingw32 fix. 2006-01-18 Simon Josefsson * doc/Makefile.am: Fix EXEEXT. 2006-01-18 Simon Josefsson * gl/.cvsignore: Add. 2006-01-18 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/socket_.h: Update. 2006-01-18 Simon Josefsson * src/internal.h: Fix #include's. 2006-01-18 Simon Josefsson * src/callbacks.c: Protect getpwuid, for mingw32. 2006-01-18 Simon Josefsson * configure.ac: Check for getpwuid. 2006-01-18 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib-comp.m4, gl/m4/sys_socket_h.m4, gl/socket_.h: Add. 2006-01-17 Simon Josefsson * gl/Makefile.am, gl/m4/getaddrinfo.m4, lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/md5.c, lib/gl/md5.h, lib/gl/stdint_.h: Update. 2006-01-11 Simon Josefsson * po/sv.po: Update. 2006-01-10 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/readline.m4, gl/m4/socklen.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/stdint.m4, lib/gl/stdint_.h: Update. 2005-12-25 Simon Josefsson * gl/m4/getaddrinfo.m4, gl/m4/socklen.m4: Update. 2005-12-16 Simon Josefsson * gl/m4/gnulib-comp.m4: Update. 2005-12-14 Simon Josefsson * lib/NEWS: Fix. 2005-12-14 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-12-01 Simon Josefsson * gl/m4/socklen.m4: Update. 2005-11-30 Simon Josefsson * gl/getaddrinfo.h, gl/readline.c, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/md5.c, lib/gl/stdint_.h, lib/tests/test-gc-hmac-md5.c, lib/tests/test-gc-md5.c: Sync gnulib. 2005-11-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-14.txt: Add. 2005-11-17 Simon Josefsson * doc/specification/draft-josefsson-sasl-gs2-00.txt: Add. 2005-11-11 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-13.txt: Add. 2005-10-28 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-07.txt: Add. 2005-10-23 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2005-10-23 Simon Josefsson * lib/NEWS: Add. 2005-10-23 Simon Josefsson * lib/src/md5pwd.c: Fix memory leak. 2005-10-23 Simon Josefsson * AUTHORS: Fix. 2005-10-23 Simon Josefsson * AUTHORS: Update PGP key. 2005-10-23 Simon Josefsson * gsasl.fms: Add. 2005-10-23 Simon Josefsson * ChangeLog: [no log message] 2005-10-23 Simon Josefsson * lib/ChangeLog: [no log message] 2005-10-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-10-23 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.10. 2005-10-23 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-10-23 Simon Josefsson * lib/tests/.cvsignore: [no log message] 2005-10-23 Simon Josefsson * lib/Makefile.am, lib/configure.ac: Move gnulib self tests. 2005-10-23 Simon Josefsson * lib/gl/m4/gnulib-cache.m4, lib/tests/Makefile.am, lib/tests/test-gc-hmac-md5.c, lib/tests/test-gc-md5.c, lib/tests/test-gc.c: Update. 2005-10-23 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/gl/Makefile.am, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Add gnulib self tests. 2005-10-23 Simon Josefsson * lib/src/saslprep.c: Fix pr29_8z call. 2005-10-23 Simon Josefsson * lib/src/saslprep.c: Improve pr29 check. 2005-10-23 Simon Josefsson * lib/gssapi/Makefile.am: Need libgss. 2005-10-23 Simon Josefsson * lib/ntlm/Makefile.am: Need libntlm. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix libidn test. 2005-10-23 Simon Josefsson * lib/src/saslprep.c: Use new defines. 2005-10-23 Simon Josefsson * lib/m4/check_headerlib.m4: Remove. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix GSS checks. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix shishi test. 2005-10-23 Simon Josefsson * lib/configure.ac: Fix ntlm check. 2005-10-23 Simon Josefsson * lib/gl/md5.c, lib/gl/md5.h: Update. 2005-10-23 Simon Josefsson * configure.ac: Look for gnutls_certificate_verify_peers2, to get a recent gnutls. 2005-10-23 Simon Josefsson * doc/gsasl.texi: Fix. 2005-10-23 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/hmac-md5.c, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdbool.m4: Update. 2005-10-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-10-23 Simon Josefsson * src/gsasl.c: Work around GnuTLS bug when sending zero length messages. 2005-10-23 Simon Josefsson * NEWS: Add. 2005-10-22 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2005-10-22 Simon Josefsson * lib/NEWS: Add. 2005-10-22 Simon Josefsson * gl/m4/gnulib-comp.m4, gl/m4/stdbool.m4: Update. 2005-10-17 Simon Josefsson * lib/gl/gc-gnulib.c: Update. 2005-10-17 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/stdbool.m4: Update. 2005-10-12 Simon Josefsson * lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/m4/gc-hmac-md5.m4, lib/gl/m4/gc-md5.m4, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/stdint.m4, lib/gl/stdint_.h: Update. 2005-10-12 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/m4/md5.m4, lib/gl/md5.c, lib/gl/md5.h: Update. 2005-10-07 Simon Josefsson * ChangeLog: [no log message] 2005-10-07 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-10-07 Simon Josefsson * lib/ChangeLog: [no log message] 2005-10-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2005-10-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.9. 2005-10-07 Simon Josefsson * lib/gssapi/server.c: Fix cast error. 2005-10-07 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-10-07 Simon Josefsson * lib/NEWS: Add. 2005-10-07 Simon Josefsson * lib/gssapi/client.c: Fix cast errors. 2005-10-07 Simon Josefsson * doc/gsasl.texi, lib/NEWS: Fix. 2005-10-07 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-10-07 Simon Josefsson * gl/m4/stdbool.m4, lib/gl/hmac.h, lib/gl/m4/memxor.m4, lib/gl/m4/stdbool.m4: Update. 2005-10-06 Simon Josefsson * gl/getdelim.c, gl/m4/getaddrinfo.m4, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/getdelim.c, lib/gl/m4/memxor.m4, lib/gl/memxor.c: Update. 2005-10-05 Simon Josefsson * gl/Makefile.am, lib/gl/memxor.c: Update. 2005-10-05 Simon Josefsson * lib/gl/gc-gnulib.c, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/memxor.m4, lib/gl/memxor.c, lib/gl/memxor.h: Update. 2005-10-05 Simon Josefsson * lib/gl/gc.h: Update. 2005-10-05 Simon Josefsson * lib/cram-md5/digest.c, lib/digest-md5/session.c: Use new gc API. 2005-10-05 Simon Josefsson * lib/cram-md5/digest.c: Use new gc API. 2005-10-05 Simon Josefsson * lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/src/Makefile.am: Remove crypto/. 2005-10-05 Simon Josefsson * gl/Makefile.am: Update. 2005-10-05 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/crypto/.cvsignore, lib/crypto/Makefile.am, lib/crypto/README, lib/crypto/README.gsasl, lib/crypto/cbc.h, lib/crypto/gc-libgcrypt.c, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/crypto/hmac-md5.c, lib/crypto/hmac.c, lib/crypto/hmac.h, lib/crypto/macros.h, lib/crypto/md5-meta.c, lib/crypto/md5.c, lib/crypto/md5.h, lib/crypto/memxor.c, lib/crypto/memxor.h, lib/crypto/nettle-internal.h, lib/crypto/nettle-meta.h, lib/crypto/sha.h, lib/gl/Makefile.am, lib/gl/gc-gnulib.c, lib/gl/gc-libgcrypt.c, lib/gl/gc.h, lib/gl/hmac-md5.c, lib/gl/hmac.h, lib/gl/m4/gc.m4, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/hmac-md5.m4, lib/gl/m4/md5.m4, lib/gl/m4/uint32_t.m4, lib/gl/md5.c, lib/gl/md5.h: Replace crypto/ with gnulib modules. 2005-10-05 Simon Josefsson * gl/getaddrinfo.h, gl/getdelim.c, gl/m4/getaddrinfo.m4, lib/gl/getdelim.c: Update. 2005-10-01 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2005-10-01 Simon Josefsson * gl/getdelim.c, lib/gl/getdelim.c: Update. 2005-10-01 Simon Josefsson * gl/getaddrinfo.h, gl/m4/getaddrinfo.m4: Update. 2005-09-28 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-09-28 Simon Josefsson * src/internal.h: Typo. 2005-09-28 Simon Josefsson * gl/m4/getaddrinfo.m4: Update. 2005-09-25 Simon Josefsson * configure.ac, gl/getaddrinfo.c, gl/getopt_.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-comp.m4, gl/m4/socklen.m4, gl/quotearg.c: Gnulib getaddrinfo fix. 2005-09-22 Simon Josefsson * gl/getaddrinfo.c, gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-comp.m4: Update. 2005-09-20 Simon Josefsson * src/gsasl.c: Simplify CPP symbol usage. 2005-09-20 Simon Josefsson * gl/exitfail.c, gl/getaddrinfo.c, gl/getdelim.c, gl/getline.c, gl/getopt1.c, gl/getpass.c, gl/progname.c, gl/quote.c, gl/quotearg.c, gl/readline.c, gl/xalloc-die.c, gl/xmalloc.c, lib/gl/getdelim.c, lib/gl/getline.c, lib/gl/strverscmp.c: Update. 2005-09-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, lib/gl/base64.c, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4: Update. 2005-09-19 Simon Josefsson * Makefile.am, lib/Makefile.am: Gnupload sign the file too. 2005-09-12 Simon Josefsson * m4/gtk-doc.m4: Update. 2005-09-12 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-09-08 Simon Josefsson * gsasl.fms: 0.2.8. 2005-09-08 Simon Josefsson * ChangeLog: [no log message] 2005-09-08 Simon Josefsson * lib/ChangeLog: [no log message] 2005-09-08 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.8. 2005-09-08 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/rw.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-09-08 Simon Josefsson * lib/NEWS: Add. 2005-09-08 Simon Josefsson * lib/po/LINGUAS, lib/po/rw.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Update. 2005-09-08 Simon Josefsson * NEWS, po/LINGUAS, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/rw.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Add. 2005-09-08 Simon Josefsson * configure.ac: Update gnulib. 2005-09-08 Simon Josefsson * configure.ac: Don't check for getaddrinfo. 2005-09-08 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/getpass.c, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/gnulib.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, lib/configure.ac, lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/m4/gnulib-cache.m4, lib/gl/m4/gnulib-comp.m4, lib/gl/m4/gnulib-tool.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4: Update. 2005-09-07 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-03.txt: Add. 2005-08-29 Simon Josefsson * lib/po/LINGUAS, po/LINGUAS: Sync with TP. 2005-08-29 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Update. 2005-08-29 Simon Josefsson * configure.ac: Fix typo. 2005-08-29 Simon Josefsson * configure.ac: Don't define WITH_GNUTLS, already handled. 2005-08-29 Simon Josefsson * src/gsasl.c: Use new CPP symbol to test for GnuTLS. 2005-08-29 Simon Josefsson * configure.ac: Typo. 2005-08-29 Simon Josefsson * configure.ac: Simplify gnutls check. 2005-08-29 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix for modern wget. 2005-08-29 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-08-29 Simon Josefsson * Makefile.am: Use --disable-obsolete for distcheck, so it is tested. 2005-08-29 Simon Josefsson * NEWS: Add. 2005-08-29 Simon Josefsson * gl/Makefile.am, gl/getpass.c, gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib.m4: Update. 2005-08-27 Simon Josefsson * Makefile.am, lib/Makefile.am: Use gnupload. 2005-08-27 Simon Josefsson * src/imap.c: Fix typo. 2005-08-27 Simon Josefsson * NEWS: Fix. 2005-08-27 Simon Josefsson * lib/NEWS: Add. 2005-08-27 Simon Josefsson * lib/src/init.c: Prefer PLAIN over LOGIN. 2005-08-27 Simon Josefsson * src/gsasl.c, src/imap.c, src/imap.h, src/smtp.c, src/smtp.h: Fix has_starttls(). 2005-08-27 Simon Josefsson * NEWS: Add. 2005-08-27 Simon Josefsson * doc/gsasl.texi: Fix gsasl parameters. 2005-08-27 Simon Josefsson * src/imap.c, src/smtp.c: Fix --client. 2005-08-27 Simon Josefsson * lib/src/Makefile.am: Link with @LTLIBIDN@ too. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix --client and --server again. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix --client. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix --client and --server. Don't start TLS on stdin/stdout connections. Fix crashes. 2005-08-27 Simon Josefsson * src/gsasl.c: Revert bogus --connect fix. 2005-08-27 Simon Josefsson * src/gsasl.c: Fix server certificate verification. Fix --connect. 2005-08-27 Simon Josefsson * src/gsasl.c, src/gsasl.ggo, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h: Add STARTTLS support. Use readline() when reading protocol server output from stdin (rarely). Handle second argument protocol names better. 2005-08-26 Simon Josefsson * configure.ac, src/Makefile.am, src/gsasl.c: Start to use GnuTLS. 2005-08-26 Simon Josefsson * lib/NEWS, lib/configure.ac: Improve libidn checking (to get -R, -rpath etc). 2005-08-26 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-08-25 Simon Josefsson * gsasl.fms: Update. 2005-08-25 Simon Josefsson * ChangeLog: [no log message] 2005-08-25 Simon Josefsson * lib/ChangeLog: [no log message] 2005-08-25 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-08-25 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.7. 2005-08-24 Simon Josefsson * lib/NEWS: Add. 2005-08-24 Simon Josefsson * NEWS: Fix. 2005-08-24 Simon Josefsson * gl/getpass.c: Update. 2005-08-24 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib.m4: Update. 2005-08-24 Simon Josefsson * configure.ac: Replace getpass-gnu with getpass (getpass-gnu is always built on glibc systems..). 2005-08-24 Simon Josefsson * gl/getpass.c: Update. 2005-08-24 Simon Josefsson * gl/getpass.c, gl/m4/getpass.m4: Update. 2005-08-23 Simon Josefsson * lib/NEWS: Add. 2005-08-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-08-23 Simon Josefsson * lib/src/obsolete.c: Fix warnings. 2005-08-23 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Fix typo in GSASL_PASSWORD backwards compatibility handling. 2005-08-23 Simon Josefsson * NEWS: Add. 2005-08-23 Simon Josefsson * gl/getpass.c, gl/m4/getopt.m4, gl/m4/getpass.m4: Update. 2005-08-23 Simon Josefsson * src/internal.h: Assume C89, for errno.h. 2005-08-23 Simon Josefsson * src/internal.h: Include quote.h. 2005-08-23 Simon Josefsson * lib/src/init.c: Remove unused variable. 2005-08-23 Simon Josefsson * lib/src/init.c: Fix warning when no mechanism is enabled. 2005-08-22 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-05.txt: Add. 2005-08-12 Simon Josefsson * README: Reprioritize. 2005-08-12 Simon Josefsson * README: Fix. 2005-08-12 Simon Josefsson * gl/m4/readline.m4: Update. 2005-08-12 Simon Josefsson * gl/m4/readline.m4: Update. 2005-08-11 Simon Josefsson * gl/m4/readline.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/onceonly_2_57.m4, lib/gl/m4/strdup.m4: Update. 2005-08-11 Simon Josefsson * gl/m4/readline.m4: Update. 2005-08-11 Simon Josefsson * src/Makefile.am: Possibly -lreadline. 2005-08-11 Simon Josefsson * gl/m4/gnulib.m4, gl/m4/onceonly_2_57.m4, gl/m4/readline.m4, gl/m4/strdup.m4, gl/readline.c, gl/readline.h: Update. 2005-08-10 Simon Josefsson * gsasl.fms: Update. 2005-08-10 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-08-10 Simon Josefsson * ChangeLog: [no log message] 2005-08-10 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-08-10 Simon Josefsson * lib/ChangeLog: [no log message] 2005-08-10 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po: Generated. 2005-08-10 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.6. 2005-08-10 Simon Josefsson * NEWS: Add. 2005-08-10 Simon Josefsson * NEWS: Add. 2005-08-10 Simon Josefsson * AUTHORS, lib/AUTHORS: Update PGP key. 2005-08-10 Simon Josefsson * lib/NEWS: Update. 2005-08-10 Simon Josefsson * lib/NEWS: Reorder. 2005-08-04 Simon Josefsson * gl/Makefile.am, gl/m4/getopt.m4: Update. 2005-08-04 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Sync with TP. 2005-08-02 Simon Josefsson * lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/m4/getdelim.m4: Update. 2005-07-24 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-06.txt: Add. 2005-07-19 Simon Josefsson * gl/quote.c, gl/quote.h: Add. 2005-07-18 Simon Josefsson * src/gsasl.c: Loop through all getaddrinfo replies. Print 'Trying foo...' lines, a'la telnet. 2005-07-18 Simon Josefsson * gl/Makefile.am, gl/exitfail.c, gl/exitfail.h, gl/getdelim.c, gl/m4/exitfail.m4, gl/m4/getdelim.m4, gl/m4/gnulib.m4, gl/m4/mbrtowc.m4, gl/m4/mbstate_t.m4, gl/m4/quote.m4, gl/m4/quotearg.m4, gl/m4/xalloc.m4, gl/quotearg.c, gl/quotearg.h, gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c: Add quote. 2005-07-18 Simon Josefsson * configure.ac: Use quote too. 2005-07-17 Simon Josefsson * gl/getdelim.c, lib/gl/getdelim.c: Update. 2005-07-17 Simon Josefsson * gl/Makefile.am, gl/getdelim.c, gl/getdelim.h, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/m4/codeset.m4, gl/m4/getdelim.m4, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4, gl/m4/gnulib.m4, gl/m4/intdiv0.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/nls.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/ssize_t.m4, gl/m4/stdint_h.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4: Update 2005-07-17 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/getdelim.c, lib/gl/getdelim.h, lib/gl/getline.c, lib/gl/getline.h, lib/gl/lgetdelim.c, lib/gl/lgetdelim.h, lib/gl/lgetline.c, lib/gl/lgetline.h, lib/gl/m4/getdelim.m4, lib/gl/m4/{lgetline.m4 => getline.m4}, lib/gl/m4/gnulib.m4, lib/gl/m4/lgetdelim.m4: Use new LGPL getline module. 2005-07-16 Simon Josefsson * doc/gsasl.texi: Mention help-gsasl. 2005-07-16 Simon Josefsson * lib/m4/ax_create_stdint_h.m4: Update. 2005-07-16 Simon Josefsson * README, lib/NEWS: Add. 2005-07-16 Simon Josefsson * gl/m4/readline.m4, gl/readline.c: Update. 2005-07-16 Simon Josefsson * src/callbacks.c: Simplify readline. 2005-07-16 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib.m4, gl/m4/readline.m4, gl/readline.c, gl/readline.h: Use new readline module. 2005-07-16 Simon Josefsson * lib/configure.ac: Simplify. 2005-07-15 Simon Josefsson * gl/readline.c: Fix license. 2005-07-15 Simon Josefsson * lib/src/version.c: Use strverscmp rather than now obsolete check-version module. 2005-07-15 Simon Josefsson * lib/gl/Makefile.am, lib/gl/check-version.c, lib/gl/check-version.h, lib/gl/m4/check-version.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/size_max.m4: Update 2005-07-15 Simon Josefsson * lib/configure.ac: Don't use gnulib's check-version, use strverscmp directly instead. 2005-07-15 Simon Josefsson * gl/Makefile.am, gl/getaddrinfo.h, gl/m4/gnulib.m4: Update. 2005-06-28 Simon Josefsson * lib/gl/check-version.c: Typo. 2005-06-28 Simon Josefsson * lib/gl/m4/check-version.m4: Add. 2005-06-28 Simon Josefsson * lib/gl/Makefile.am, lib/gl/check-version.c, lib/gl/{check_version.h => check-version.h}, lib/gl/check_version.c, lib/gl/m4/gnulib.m4, lib/gl/m4/strverscmp.m4, lib/gl/strverscmp.c, lib/gl/strverscmp.h: Use the real check-version module. 2005-06-28 Simon Josefsson * lib/gl/base64.c, lib/gl/base64.h: Update gnulib files. 2005-06-28 Simon Josefsson * lib/configure.ac, lib/src/version.c: Typo. 2005-06-25 Simon Josefsson * AUTHORS: Update PGP key. 2005-06-25 Simon Josefsson * README, doc/reference/gsasl-docs.sgml: Don't reference COPYING.DOC. 2005-06-25 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-06-25 Simon Josefsson * COPYING.DOC: Remove (already included in manual). 2005-06-25 Simon Josefsson * Makefile.am, configure.ac, doc/Makefile.am, doc/doxygen/gdoc2doxygen, doc/fdl.texi, doc/gdoc-error, doc/gendocs_template, examples/Makefile.am, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, src/Makefile.am, src/gsasl.ggo, tests/Makefile.am, tests/utils.c, tests/utils.h: Fix address in license. 2005-06-25 Simon Josefsson * doc/gendocs.sh: Update from texinfo. 2005-06-25 Simon Josefsson * tests/threadsafety: Typo. 2005-06-25 Simon Josefsson * COPYING, lib/COPYING, lib/Makefile.am, lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/mechinfo.c, lib/anonymous/server.c, lib/configure.ac, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/digest.c, lib/cram-md5/digest.h, lib/cram-md5/mechinfo.c, lib/cram-md5/server.c, lib/crypto/Makefile.am, lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/Makefile.am, lib/external/client.c, lib/external/external.h, lib/external/mechinfo.c, lib/external/server.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h, lib/login/Makefile.am, lib/login/client.c, lib/login/login.h, lib/login/mechinfo.c, lib/login/server.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/Makefile.am, lib/plain/client.c, lib/plain/mechinfo.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/Makefile.am, lib/securid/client.c, lib/securid/mechinfo.c, lib/securid/securid.h, lib/securid/server.c, lib/src/Makefile.am, lib/src/base64.c, lib/src/callback.c, lib/src/crypto.c, lib/src/done.c, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl-mech.h, lib/src/gsasl.h.in, lib/src/init.c, lib/src/internal.h, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c, lib/src/saslprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h, tests/cram-md5.c, tests/digest-md5.c, tests/external.c, tests/gssapi.c, tests/md5file.c, tests/old-cram-md5.c, tests/old-digest-md5.c, tests/old-gssapi.c, tests/old-md5file.c, tests/simple.c, tests/threadsafety, tests/unicode.c, tests/utils.c, tests/utils.h: Fix address in license. 2005-06-25 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/check_version.c, lib/gl/check_version.h, lib/gl/m4/gnulib.m4, lib/src/version.c: Use check_version gnulib module. 2005-06-25 Simon Josefsson * lib/gl/size_max.h: Sync with gnulib. 2005-06-15 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-06-15 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/error.h, gl/exit.h, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/getopt.c, gl/getopt1.c, gl/getopt_.h, gl/getopt_int.h, gl/getpass.c, gl/getpass.h, gl/gettext.h, gl/iconvme.c, gl/iconvme.h, gl/m4/extensions.m4, gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/gnulib.m4, gl/m4/intdiv0.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/nls.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/strdup.m4, gl/progname.c, gl/progname.h, gl/stdbool_.h, gl/strdup.c, gl/strdup.h, lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/base64.c, lib/gl/base64.h, lib/gl/gettext.h, lib/gl/m4/gettext.m4, lib/gl/m4/glibc2.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intmax.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/isc-posix.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/strdup.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/stdbool_.h, lib/gl/strdup.c, lib/gl/strdup.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/vasprintf.h, lib/gl/xsize.h: Update gnulib files. 2005-06-01 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-11.txt: Add. 2005-05-17 Simon Josefsson * doc/specification/draft-zeilenga-sasl-rfc2222bis-00.txt: Add. 2005-04-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-05.txt: Add. 2005-04-01 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-02.txt: Add. 2005-03-21 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-08.txt: Add. 2005-03-15 Simon Josefsson * lib/src/gsasl-compat.h: Define __attribute__ to empty for C++, tiny patch Ryan Slack . 2005-03-02 Simon Josefsson * THANKS: Add. 2005-03-02 Simon Josefsson * doc/gsasl.texi: API fix, reported by Ryan Slack . 2005-03-01 Simon Josefsson * doc/specification/rfc4013.txt: Add. 2005-02-23 Simon Josefsson * lib/plain/server.c: Use SASLprep(authcid) as authzid, when the provided authzid is empty. 2005-02-22 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-05.txt, doc/specification/draft-ietf-sasl-plain-07.txt: Add. 2005-02-21 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-10.txt: Add. 2005-02-14 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2005-02-14 Simon Josefsson * lib/NEWS: Add. 2005-02-14 Simon Josefsson * lib/plain/server.c: Align unassigned code point usage in preparation, as per -06. 2005-02-08 Simon Josefsson * gsasl.fms: Fix. 2005-02-08 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2005-02-08 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, lib/po/vi.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/vi.po, po/zh_CN.po: Generated. 2005-02-08 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.5. 2005-02-08 Simon Josefsson * gl/progname.c: Fix. 2005-02-08 Simon Josefsson * lib/NEWS: Add. 2005-02-08 Simon Josefsson * lib/NEWS: Add. 2005-02-06 Simon Josefsson * lib/src/error.c: Typos, reported by Clytie Siddall . 2005-02-06 Simon Josefsson * lib/po/LINGUAS, lib/po/vi.po: Add. 2005-01-29 Simon Josefsson * NEWS, po/LINGUAS, po/vi.po: Add. 2005-01-29 Simon Josefsson * gl/Makefile.am, gl/gai_strerror.c, gl/m4/codeset.m4, gl/m4/error.m4, gl/m4/getaddrinfo.m4, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/getopt.m4, gl/m4/getpass.m4, gl/m4/glibc21.m4, gl/m4/iconv.m4, gl/m4/inttypes_h.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/restrict.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/m4/stdint_h.m4, gl/m4/strdup.m4, gl/m4/strerror_r.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4, lib/gl/m4/alloca.m4, lib/gl/m4/base64.m4, lib/gl/m4/codeset.m4, lib/gl/m4/eoverflow.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/longdouble.m4, lib/gl/m4/longlong.m4, lib/gl/m4/restrict.m4, lib/gl/m4/signed.m4, lib/gl/m4/size_max.m4, lib/gl/m4/stdbool.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/strdup.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/size_max.h: Update. 2005-01-21 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-06.txt: Add. 2005-01-18 Simon Josefsson * THANKS: Add. 2005-01-18 Simon Josefsson * src/gsasl.c: Fix typo, reported by Clytie Siddall . 2005-01-17 Simon Josefsson * doc/specification/draft-ietf-nntpext-authinfo-06.txt: Add. 2005-01-05 Simon Josefsson * lib/NEWS: Add. 2005-01-05 Simon Josefsson * lib/src/saslprep.c: If we have pr29 functionality, use it to verify output. 2005-01-05 Simon Josefsson * lib/configure.ac: Look for pr29.h and pr29_8z in libidn. 2005-01-01 Simon Josefsson * lib/external/server.c: Consistency. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Validate input better. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Validate upper token length as well. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Add comments. 2005-01-01 Simon Josefsson * lib/external/client.c: Return "" instead of NULL when no authzid. 2005-01-01 Simon Josefsson * tests/.cvsignore: Treat NULL input as empty string. 2005-01-01 Simon Josefsson * tests/Makefile.am, tests/external.c: Add external self test. 2005-01-01 Simon Josefsson * lib/external/server.c: Wait for real token. 2005-01-01 Simon Josefsson * lib/external/server.c: Simplify. 2005-01-01 Simon Josefsson * lib/anonymous/server.c: Simplify. 2005-01-01 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2005-01-01 Simon Josefsson * gsasl.fms: Add. 2005-01-01 Simon Josefsson * ChangeLog: [no log message] 2005-01-01 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2005-01-01 Simon Josefsson * lib/ChangeLog: [no log message] 2005-01-01 Simon Josefsson * lib/digest-md5/Makefile.am: Fix distcheck. 2005-01-01 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po: Generated. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.4. 2005-01-01 Simon Josefsson * NEWS: Add. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Indent. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Add. 2005-01-01 Simon Josefsson * lib/src/init.c: Prefer CRAM-MD5 over DIGEST-MD5. Decision based on available public analysis that MD5 is broken, but HMAC-MD5 still likely secure, and the lack of public analysis of the consequences of the MD5 break for DIGEST-MD5. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Fix. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Fix. 2005-01-01 Simon Josefsson * doc/gsasl.texi: Fix. 2005-01-01 Simon Josefsson * NEWS: Fix. 2005-01-01 Simon Josefsson * lib/po/ro.po, po/ro.po: Sync with TP. 2005-01-01 Simon Josefsson * NEWS: Add. 2005-01-01 Simon Josefsson * NEWS, lib/NEWS: Fix. 2005-01-01 Simon Josefsson * lib/gl/lgetdelim.c: Update. 2005-01-01 Simon Josefsson * lib/gl/lgetdelim.c, lib/gl/lgetdelim.h, lib/gl/lgetline.c, lib/gl/lgetline.h: Update. 2005-01-01 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/lgetdelim.m4, lib/gl/m4/lgetline.m4: Update. 2005-01-01 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/iconvme.c, gl/m4/getline.m4, gl/m4/gnulib.m4, gl/m4/strdup.m4, lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/base64.h, lib/gl/lgetdelim.c, lib/gl/lgetdelim.h, lib/gl/lgetline.c, lib/gl/lgetline.h, lib/gl/m4/gnulib.m4, lib/gl/m4/lgetdelim.m4, lib/gl/m4/lgetline.m4, lib/gl/m4/strdup.m4: Update. 2005-01-01 Simon Josefsson * lib/configure.ac: Need lgetline. 2004-12-27 Simon Josefsson * lib/digest-md5/server.c: Use correct constants. 2004-12-27 Simon Josefsson * lib/digest-md5/server.c: Disable qop auth-conf, and ciphers, for now. 2004-12-27 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/tokens.h: Fix warnings. 2004-12-27 Simon Josefsson * lib/src/gsasl.h.in: Add gsasl_simple_getpass. Remove gsasl_md5pwd_get_password. 2004-12-27 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, lib/anonymous/mechinfo.c, lib/cram-md5/mechinfo.c, lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/free.c, lib/digest-md5/free.h, lib/digest-md5/getsubopt.c, lib/digest-md5/mechinfo.c, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/printer.c, lib/digest-md5/printer.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/test-parser.c, lib/digest-md5/tokens.h, lib/digest-md5/validate.c, lib/digest-md5/validate.h, lib/external/mechinfo.c, lib/external/server.c, lib/gssapi/client.c, lib/gssapi/mechinfo.c, lib/gssapi/server.c, lib/login/login.h, lib/login/mechinfo.c, lib/ntlm/mechinfo.c, lib/ntlm/x-ntlm.h, lib/plain/mechinfo.c, lib/plain/server.c, lib/securid/mechinfo.c, lib/src/callback.c, lib/src/gsasl.h.in, lib/src/md5pwd.c, src/callbacks.c, src/callbacks.h, tests/gssapi.c, tests/simple.c: Indent. 2004-12-27 Simon Josefsson * lib/digest-md5/parser.c: Fix comment. 2004-12-27 Simon Josefsson * lib/digest-md5/Makefile.am: Dist README. 2004-12-26 Simon Josefsson * lib/configure.ac: Bump versions. 2004-12-26 Simon Josefsson * lib/NEWS: Add. 2004-12-26 Simon Josefsson * lib/NEWS: Fix. 2004-12-26 Simon Josefsson * lib/NEWS: Add. 2004-12-26 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: Revert and remove qop, maxbuf until we need them. 2004-12-26 Simon Josefsson * doc/gsasl.texi: Revert. 2004-12-26 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-12-26 Simon Josefsson * doc/Makefile.am: Update. 2004-12-22 Simon Josefsson * lib/digest-md5/server.c: Fix comment. 2004-12-22 Simon Josefsson * lib/digest-md5/server.c: Remove debug code. 2004-12-21 Simon Josefsson * src/callbacks.c: Only set realm if entered. 2004-12-21 Simon Josefsson * NEWS: Add. 2004-12-21 Simon Josefsson * src/smtp.c: Fix CRLF. 2004-12-20 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/validate.c: Doc fix. 2004-12-20 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/validate.c: Doc fix. 2004-12-20 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-12-20 Simon Josefsson * lib/digest-md5/README: Fix.F 2004-12-20 Simon Josefsson * lib/plain/server.c: Simplify. 2004-12-20 Simon Josefsson * lib/plain/server.c: Fix mem leak. 2004-12-20 Simon Josefsson * lib/plain/server.c: Typo. 2004-12-20 Simon Josefsson * lib/NEWS: Add. 2004-12-20 Simon Josefsson * lib/plain/server.c: Fix logic. 2004-12-20 Simon Josefsson * lib/plain/server.c: Typo. 2004-12-20 Simon Josefsson * lib/plain/server.c: Reject invalid input. More SASLprep. 2004-12-20 Simon Josefsson * lib/NEWS: Add. 2004-12-20 Simon Josefsson * lib/plain/server.c: SASLprep client string too. 2004-12-20 Simon Josefsson * lib/src/property.c: Handle malloc==NULL. 2004-12-20 Simon Josefsson * tests/.cvsignore: [no log message] 2004-12-20 Simon Josefsson * lib/NEWS, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Deprecate GSASL_INVALID_HANDLE. 2004-12-20 Simon Josefsson * lib/src/xstep.c: Assume sctx. 2004-12-20 Simon Josefsson * lib/NEWS, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/md5pwd.c, lib/src/obsolete.c, tests/Makefile.am, tests/md5file.c, tests/old-md5file.c: Replace gsasl_md5pwd_get_password with gsasl_simple_getpass, and update callers. 2004-12-20 Simon Josefsson * configure.ac, lib/configure.ac, lib/src/Makefile.am, tests/Makefile.am: Add --disable-obsolete. 2004-12-20 Simon Josefsson * lib/plain/server.c: Fix parse check. 2004-12-20 Simon Josefsson * lib/plain/server.c: Use new API. 2004-12-19 Simon Josefsson * tests/Makefile.am: Add. 2004-12-19 Simon Josefsson * tests/digest-md5.c: Rewrite using new API. 2004-12-19 Simon Josefsson * tests/.cvsignore: [no log message] 2004-12-19 Simon Josefsson * tests/old-digest-md5.c: Add. 2004-12-19 Simon Josefsson * tests/digest-md5.c: Work around x86 sparc printf bug. 2004-12-19 Simon Josefsson * lib/digest-md5/validate.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Add FIXME. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Use auth qop. 2004-12-19 Simon Josefsson * lib/digest-md5/session.c: Don't use uint32_t nor htonl. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix warning. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c: Fix uint32_t uses. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am: Need libgl.la. 2004-12-19 Simon Josefsson * lib/NEWS: Fix. 2004-12-19 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-12-19 Simon Josefsson * lib/configure.ac: Re-enable DIGEST-MD5. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/parser.c, lib/digest-md5/server.c: Fix warnings. 2004-12-19 Simon Josefsson * lib/digest-md5/digesthmac.h: Add doc. 2004-12-19 Simon Josefsson * lib/digest-md5/README, lib/digest-md5/client.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/free.c, lib/digest-md5/parser.c, lib/digest-md5/tokens.h: Use static buffer for response->rspauth. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/shared.c, lib/digest-md5/shared.h: Remove. 2004-12-19 Simon Josefsson * lib/digest-md5/server.c: Rewrite, unfinished, but still probably an improvement. 2004-12-19 Simon Josefsson * lib/digest-md5/validate.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Simplify. 2004-12-19 Simon Josefsson * lib/digest-md5/digesthmac.c: Zero terminate. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h: Modularize session.*. 2004-12-19 Simon Josefsson * lib/digest-md5/digesthmac.h, lib/digest-md5/tokens.h: Move. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/shared.h: Remove. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/server.c: Fix API. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c: Rewrite, unfinished but probably still an improvement. 2004-12-19 Simon Josefsson * lib/digest-md5/shared.c, lib/digest-md5/shared.h: Remove. 2004-12-19 Simon Josefsson * lib/digest-md5/server.c: Use new API (temporarily). 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/digesthmac.c, lib/digest-md5/digesthmac.h, lib/digest-md5/test-parser.c: Modularize digest computation into digesthmac.*. 2004-12-19 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/README: Fix. 2004-12-19 Simon Josefsson * lib/src/property.c: Clear buffer before calling obsolete callbacks, for buggy callbacks. 2004-12-19 Simon Josefsson * lib/src/xfinish.c: Free more. 2004-12-19 Simon Josefsson * gl/iconvme.c, gl/m4/getline.m4, gl/m4/strdup.m4, lib/gl/alloca_.h: Update. 2004-12-19 Simon Josefsson * src/callbacks.c: Add realm callback. 2004-12-19 Simon Josefsson * lib/src/gsasl.h.in: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/free.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/test-parser.c: Use string length indicator in parser API. 2004-12-19 Simon Josefsson * lib/digest-md5/printer.c: Typo. 2004-12-19 Simon Josefsson * src/gsasl.ggo: No multiple realms. 2004-12-19 Simon Josefsson * doc/gsasl.texi: Add. 2004-12-19 Simon Josefsson * lib/src/internal.h: Typo. 2004-12-19 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Add qop property. 2004-12-19 Simon Josefsson * lib/gl/.cvsignore: [no log message] 2004-12-19 Simon Josefsson * lib/digest-md5/printer.c: Fix. 2004-12-19 Simon Josefsson * src/callbacks.c: Fix callback for service/hostname. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: fix. 2004-12-19 Simon Josefsson * lib/digest-md5/printer.c: Validate input. Fix printf call. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/free.c, lib/digest-md5/free.h: Add functions to deallocate DIGEST-MD5 token structures. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/validate.c, lib/digest-md5/validate.h: Move more validation logic from parser.c to validate.*. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Make response->response array. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Test more. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/printer.c, lib/digest-md5/printer.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Fix. 2004-12-19 Simon Josefsson * lib/gl/Makefile.am, lib/gl/alloca_.h, lib/gl/asnprintf.c, lib/gl/asprintf.c, lib/gl/m4/alloca.m4, lib/gl/m4/codeset.m4, lib/gl/m4/eoverflow.m4, lib/gl/m4/gettext.m4, lib/gl/m4/glibc21.m4, lib/gl/m4/gnulib.m4, lib/gl/m4/iconv.m4, lib/gl/m4/intdiv0.m4, lib/gl/m4/intmax.m4, lib/gl/m4/intmax_t.m4, lib/gl/m4/inttypes-pri.m4, lib/gl/m4/inttypes.m4, lib/gl/m4/inttypes_h.m4, lib/gl/m4/isc-posix.m4, lib/gl/m4/lcmessage.m4, lib/gl/m4/lib-ld.m4, lib/gl/m4/lib-link.m4, lib/gl/m4/lib-prefix.m4, lib/gl/m4/longdouble.m4, lib/gl/m4/longlong.m4, lib/gl/m4/nls.m4, lib/gl/m4/po.m4, lib/gl/m4/printf-posix.m4, lib/gl/m4/progtest.m4, lib/gl/m4/signed.m4, lib/gl/m4/stdint_h.m4, lib/gl/m4/strdup.m4, lib/gl/m4/uintmax_t.m4, lib/gl/m4/ulonglong.m4, lib/gl/m4/vasnprintf.m4, lib/gl/m4/vasprintf.m4, lib/gl/m4/wchar_t.m4, lib/gl/m4/wint_t.m4, lib/gl/m4/xsize.m4, lib/gl/printf-args.c, lib/gl/printf-args.h, lib/gl/printf-parse.c, lib/gl/printf-parse.h, lib/gl/vasnprintf.c, lib/gl/vasnprintf.h, lib/gl/vasprintf.c, lib/gl/vasprintf.h, lib/gl/xsize.h: Add. 2004-12-19 Simon Josefsson * lib/configure.ac: Add vasprintf module, because DIGEST-MD5 need asprintf. 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/validate.c: Move validate functions to separate file. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Fix qop/cipher types. 2004-12-19 Simon Josefsson * lib/digest-md5/printer.h, lib/digest-md5/validate.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Parse qop/cipher in response. 2004-12-19 Simon Josefsson * lib/digest-md5/README: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Handle qop/cipher in challenge. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Test more. 2004-12-19 Simon Josefsson * lib/digest-md5/test-parser.c: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Use new API. 2004-12-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Use new API. 2004-12-19 Simon Josefsson * lib/digest-md5/getsubopt.c: Fix. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Use 'static'. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c: Remove getsubopt (in getsubopt.c now). 2004-12-19 Simon Josefsson * lib/digest-md5/Makefile.am: Add tokens.h. 2004-12-19 Simon Josefsson * lib/digest-md5/getsubopt.c: Rename, and use prototype from parser.h. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.h: Use tokens.h. 2004-12-19 Simon Josefsson * lib/digest-md5/tokens.h: Add. 2004-12-19 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/parser.h: Add. 2004-12-18 Simon Josefsson * lib/digest-md5/README: Fix. 2004-12-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/README, lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/test-parser.c: Add. 2004-12-18 Simon Josefsson * lib/digest-md5/README: Add. 2004-12-18 Simon Josefsson * lib/digest-md5/.cvsignore: [no log message] 2004-12-17 Simon Josefsson * lib/digest-md5/parser.c, lib/digest-md5/parser.h, lib/digest-md5/test-parser.c: Add, unfinished. 2004-12-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-12-16 Simon Josefsson * gl/iconvme.c: Update. 2004-12-15 Simon Josefsson * gsasl.fms: Fix. 2004-12-15 Simon Josefsson * gsasl.fms: Fix. 2004-12-15 Simon Josefsson * ChangeLog: [no log message] 2004-12-15 Simon Josefsson * lib/ChangeLog: [no log message] 2004-12-15 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-12-15 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.3. 2004-12-15 Simon Josefsson * lib/NEWS: Add. 2004-12-15 Simon Josefsson * NEWS: Add.Add. 2004-12-15 Simon Josefsson * NEWS: Add. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Fix. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Fix. 2004-12-15 Simon Josefsson * lib/cram-md5/client.c: Reorder authid/password queries, tiny patch from Sergey Poznyakoff . 2004-12-15 Simon Josefsson * tests/Makefile.am: Simplify. 2004-12-15 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po: New message. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Revert. 2004-12-15 Simon Josefsson * lib/configure.ac: Rename from saslprep to stringprep, for backwards compatibility. 2004-12-15 Simon Josefsson * lib/configure.ac: Output more info. 2004-12-15 Simon Josefsson * lib/configure.ac: Typo. 2004-12-15 Simon Josefsson * lib/NEWS: Add. 2004-12-15 Simon Josefsson * lib/digest-md5/server.c: Fix. 2004-12-15 Simon Josefsson * lib/digest-md5/server.c: Don't NFKC. Fix use-after-free. 2004-12-15 Simon Josefsson * lib/digest-md5/client.c: Don't NFKC for now. 2004-12-15 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/server.c: Update SASLprep API. 2004-12-15 Simon Josefsson * lib/src/obsolete.c: Just fail if libidn isn't installed. 2004-12-15 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Deprecate GSASL_UNICODE_NORMALIZATION_ERROR. 2004-12-15 Simon Josefsson * lib/src/error.c: Move. 2004-12-15 Simon Josefsson * lib/NEWS, lib/src/error.c: Add. 2004-12-15 Simon Josefsson * lib/src/saslprep.c: Work (as much as possible) when libidn isn't available. 2004-12-15 Simon Josefsson * doc/gsasl.texi: Fix. 2004-12-15 Simon Josefsson * lib/configure.ac: Fix libidn. 2004-12-15 Simon Josefsson * lib/Makefile.am, lib/NEWS, lib/configure.ac, lib/libidn/.cvsignore, lib/libidn/Makefile.am, lib/libidn/README, lib/libidn/gunibreak.h, lib/libidn/gunicomp.h, lib/libidn/gunidecomp.h, lib/libidn/nfkc.c, lib/libidn/profiles.c, lib/libidn/rfc3454.c, lib/libidn/stringprep.c, lib/libidn/stringprep.h, lib/libidn/toutf8.c, lib/src/Makefile.am: Revert LibIDN dependency stuff. 2004-12-15 Simon Josefsson * gl/iconvme.c: Fix. 2004-12-15 Simon Josefsson * src/callbacks.c: Use new iconv API. 2004-12-15 Simon Josefsson * gl/Makefile.am, gl/dummy.c: Remove. 2004-12-15 Simon Josefsson * configure.ac: Dummy not needed. 2004-12-15 Simon Josefsson * gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib.m4, lib/gl/Makefile.am, lib/gl/dummy.c, lib/gl/m4/gnulib.m4: Update. 2004-12-15 Simon Josefsson * lib/configure.ac: Dummy not needed, base64 always enabled. 2004-12-15 Simon Josefsson * lib/src/gsasl.h.in: Remove GSASL_CANNOT_VALIDATE. 2004-12-15 Simon Josefsson * lib/login/server.c, lib/plain/server.c: Fall back to internal authentication logic if GSASL_VALIDATE_SIMPLE leads to GSASL_NO_CALLBACK. 2004-12-15 Simon Josefsson * tests/simple.c: Remove authzid from LOGIN test vectors. 2004-12-15 Simon Josefsson * lib/src/callback.c: Zero terminate password. 2004-12-14 Simon Josefsson * lib/NEWS: Fix. 2004-12-14 Simon Josefsson * lib/NEWS: Add. 2004-12-14 Simon Josefsson * lib/src/callback.c: Add 'break' in switch-case. 2004-12-14 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Handle GSASL_VALIDATE_SIMPLE and GSASL_PASSWORD, tiny patch from Sergey Poznyakoff . 2004-12-14 Simon Josefsson * lib/login/server.c, lib/plain/server.c: Invert password validation logic, tiny patch from Sergey Poznyakoff . 2004-12-12 Simon Josefsson * gl/iconvme.c, gl/iconvme.h: Update. 2004-12-10 Simon Josefsson * src/Makefile.am: Revert. 2004-12-10 Simon Josefsson * gl/Makefile.am: Fix. 2004-12-10 Simon Josefsson * gl/Makefile.am, gl/iconvme.c: Update. 2004-12-10 Simon Josefsson * src/Makefile.am: Link with libiconv. 2004-12-10 Simon Josefsson * src/callbacks.c: Use iconvme instead libidn. 2004-12-10 Simon Josefsson * src/internal.h: Remove. 2004-12-10 Simon Josefsson * configure.ac, gl/Makefile.am, gl/iconvme.c, gl/iconvme.h, gl/m4/gnulib.m4, gl/m4/iconvme.m4: Add iconvme. 2004-11-30 Simon Josefsson * lib/NEWS: Add. 2004-11-30 Simon Josefsson * doc/gsasl.texi: Add GSASL_REALM. 2004-11-30 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Add realm property. 2004-11-30 Simon Josefsson * lib/ntlm/ntlm.c: Set domain field to GSASL_REALM property value, because some servers appear to need non-empty domain fields, reported by Martin Lambers . 2004-11-30 Simon Josefsson * gl/m4/restrict.m4, lib/gl/base64.c: Update. 2004-11-30 Simon Josefsson * lib/configure.ac: More idn checks. 2004-11-30 Simon Josefsson * lib/configure.ac: Fix. 2004-11-30 Simon Josefsson * lib/configure.ac: Libidn need ICONV_CONST. 2004-11-30 Simon Josefsson * lib/gl/m4/restrict.m4: Add. 2004-11-30 Simon Josefsson * NEWS: Fix. 2004-11-30 Simon Josefsson * doc/gsasl.texi: Sync example. 2004-11-30 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Fix, for new base64 API. 2004-11-30 Simon Josefsson * lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/base64.h, lib/gl/m4/base64.m4, lib/gl/m4/gnulib.m4: Update. 2004-11-30 Simon Josefsson * tests/simple.c: Complain if aborting early. 2004-11-30 Simon Josefsson * lib/src/xstep.c: Don't clobber return code, reported by Martin Lambers . 2004-11-30 Simon Josefsson * doc/gsasl.texi, lib/NEWS: Add. 2004-11-30 Simon Josefsson * lib/login/client.c: Cleanup. 2004-11-30 Simon Josefsson * tests/simple.c: Fix LOGIN test vector. 2004-11-30 Simon Josefsson * lib/login/client.c: Don't even use SASLprep, SASLprep should be on server side. 2004-11-30 Simon Josefsson * lib/login/client.c: Use SASLprep, not NFKC. 2004-11-30 Simon Josefsson * lib/NEWS: Add. 2004-11-30 Simon Josefsson * lib/plain/client.c: Don't NFKC, align with draft-ietf-sasl-plain-05. 2004-11-30 Simon Josefsson * tests/simple.c: Fix. 2004-11-30 Simon Josefsson * NEWS: Add. 2004-11-30 Simon Josefsson * doc/Makefile.am: Update. 2004-11-30 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-30 Simon Josefsson * tests/simple.c: Don't use lib/config.h. 2004-11-30 Simon Josefsson * tests/Makefile.am: Ignore thread problems in libidn files. 2004-11-30 Simon Josefsson * lib/NEWS, lib/src/Makefile.am, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c, lib/src/stringprep.c: Obsolete gsasl_stringprep_nfkc, gsasl_stringprep_saslprep, and gsasl_stringprep_trace. Use gsasl_saslprep instead. 2004-11-30 Simon Josefsson * lib/src/saslprep.c: Improve API. 2004-11-30 Simon Josefsson * tests/simple.c: Fix. 2004-11-30 Simon Josefsson * lib/libidn/.cvsignore: [no log message] 2004-11-30 Simon Josefsson * lib/Makefile.am, lib/NEWS, lib/configure.ac, lib/libidn/Makefile.am, lib/libidn/README, lib/libidn/gunibreak.h, lib/libidn/gunicomp.h, lib/libidn/gunidecomp.h, lib/libidn/nfkc.c, lib/libidn/profiles.c, lib/libidn/rfc3454.c, lib/libidn/stringprep.c, lib/libidn/stringprep.h, lib/libidn/toutf8.c, lib/src/Makefile.am, lib/src/saslprep.c, lib/src/stringprep-no.c, lib/src/stringprep.c: Add copy of libidn, so we always have SASLprep functionality. 2004-11-30 Simon Josefsson * tests/digest-md5.c: Don't do anything if DIGEST-MD5 isn't supported. 2004-11-30 Simon Josefsson * tests/simple.c: Fix LOGIN tests. 2004-11-30 Simon Josefsson * src/callbacks.c, src/callbacks.h, src/gsasl.c: Use new API (server mode not ported yet). 2004-11-30 Simon Josefsson * lib/src/Makefile.am: Add saslprep.c. 2004-11-30 Simon Josefsson * lib/src/saslprep.c: New file. 2004-11-30 Simon Josefsson * lib/src/gsasl.h.in: Add gsasl_saslprep. 2004-11-30 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-11-30 Simon Josefsson * lib/configure.ac: Disable DIGEST-MD5 by default, until it is rewritten. 2004-11-30 Simon Josefsson * lib/src/base64.c: Use new API. 2004-11-30 Simon Josefsson * lib/gl/base64.c: Update. 2004-11-29 Simon Josefsson * lib/NEWS: Add. 2004-11-29 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump versions. 2004-11-29 Simon Josefsson * lib/plain/client.c: Initialize length variables, fixes problem when no AUTHZID is available. 2004-11-29 Simon Josefsson * lib/login/client.c: Use AUTHID, not AUTHZID, reported by Martin Lambers . 2004-11-29 Simon Josefsson * THANKS, lib/NEWS: Add. 2004-11-29 Simon Josefsson * lib/gl/base64.c, lib/gl/base64.h: Update. 2004-11-29 Simon Josefsson * gsasl.fms: 0.2.2. 2004-11-29 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-11-29 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.2. 2004-11-29 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-11-29 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-11-29 Simon Josefsson * lib/THANKS: Fix. 2004-11-28 Simon Josefsson * lib/securid/client.c: Typo. 2004-11-28 Simon Josefsson * lib/securid/client.c: Simplify. 2004-11-28 Simon Josefsson * lib/src/base64.c, lib/src/obsolete.c: Doc fix. 2004-11-28 Simon Josefsson * lib/NEWS: Fix. 2004-11-28 Simon Josefsson * gl/getopt_.h, gl/m4/getopt.m4: Update. 2004-11-28 Simon Josefsson * doc/Makefile.am: Update. 2004-11-28 Simon Josefsson * lib/gl/base64.c: Update. 2004-11-28 Simon Josefsson * lib/src/base64.c: Doc fix. 2004-11-28 Simon Josefsson * lib/src/base64.c: Cosmetic fix. 2004-11-28 Simon Josefsson * lib/gl/base64.c: Update. 2004-11-28 Simon Josefsson * lib/src/base64.c: Use new API. 2004-11-28 Simon Josefsson * lib/gl/base64.c, lib/gl/base64.h: Update. 2004-11-28 Simon Josefsson * lib/src/xstep.c: Simplify. 2004-11-28 Simon Josefsson * lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/m4/{xsize.m4 => base64.m4}, lib/gl/m4/gnulib.m4, lib/gl/xsize.h: Update. 2004-11-27 Simon Josefsson * doc/Makefile.am: Update. 2004-11-27 Simon Josefsson * lib/src/base64.c, lib/src/obsolete.c, lib/src/property.c: Indent. 2004-11-27 Simon Josefsson * lib/NEWS: Add. 2004-11-27 Simon Josefsson * lib/src/xstep.c: Use new base64 API. 2004-11-27 Simon Josefsson * lib/src/base64.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c: Use gnulib for base64 support. 2004-11-27 Simon Josefsson * lib/securid/server.c: Fix read out of bounds error. 2004-11-27 Simon Josefsson * lib/NEWS: Fix. 2004-11-27 Simon Josefsson * lib/cram-md5/digest.c: Use challengelen. 2004-11-27 Simon Josefsson * lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/m4/gnulib.m4, lib/gl/m4/size_max.m4, lib/gl/m4/xsize.m4, lib/gl/xsize.h: Add. 2004-11-26 Simon Josefsson * lib/gl/base64.c: Fix. 2004-11-26 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/base64.c, lib/gl/base64.h, lib/gl/m4/gnulib.m4, lib/gl/m4/stdbool.m4, lib/gl/stdbool_.h: Add base64. 2004-11-25 Simon Josefsson * lib/THANKS: Simplify. 2004-11-25 Simon Josefsson * THANKS: Add. 2004-11-25 Simon Josefsson * THANKS: Make cronological. 2004-11-25 Simon Josefsson * tests/Makefile.am: Fix AM_CPPFLAGS, so objdir != srcdir builds work, tiny patch from Mike Castle . 2004-11-23 Simon Josefsson * doc/gdoc: Normalize warning messages. 2004-11-23 Simon Josefsson * lib/po/pl.po: Update. 2004-11-23 Simon Josefsson * lib/po/fr.po, lib/po/ga.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Try without line numbers. 2004-11-23 Simon Josefsson * doc/gdoc: Sync with libidn. 2004-11-23 Simon Josefsson * lib/po/fr.po: Update. 2004-11-23 Simon Josefsson * lib/po/LINGUAS, lib/po/ga.po: Add. 2004-11-23 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po: Sync with TP. 2004-11-23 Simon Josefsson * lib/po/Makevars, po/LINGUAS, po/Makevars: Fix. 2004-11-23 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-11-22 Simon Josefsson * gl/getopt_.h: Update. 2004-11-20 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-11-20 Simon Josefsson * lib/NEWS: Add. 2004-11-19 Simon Josefsson * lib/src/gsasl.h.in, lib/src/init.c: Doc fix. 2004-11-19 Simon Josefsson * lib/src/error.c, lib/src/suggest.c, lib/src/supportp.c: Doc fix. 2004-11-19 Simon Josefsson * tests/simple.c: Fix valgrins warnings. 2004-11-19 Simon Josefsson * lib/src/callback.c: Fix valgrind warnings. 2004-11-19 Simon Josefsson * lib/cram-md5/server.c: Fix mem leak. 2004-11-19 Simon Josefsson * NEWS, lib/NEWS: Change headings. 2004-11-19 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-11-19 Simon Josefsson * gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/getopt.c, gl/getopt1.c, gl/getopt_.h, gl/getopt_int.h, gl/m4/getaddrinfo.m4, gl/m4/getopt.m4, gl/m4/sockpfaf.m4, gl/progname.c, gl/progname.h: Update. 2004-11-19 Simon Josefsson * gsasl.fms: Add. 2004-11-19 Simon Josefsson * ChangeLog: [no log message] 2004-11-19 Simon Josefsson * lib/ChangeLog: [no log message] 2004-11-19 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-11-19 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.1. 2004-11-19 Simon Josefsson * lib/NEWS: Add. 2004-11-19 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-11-19 Simon Josefsson * lib/NEWS: Add. 2004-11-19 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c: Fix encode/decode. 2004-11-18 Simon Josefsson * lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Obsolete GSASL_CANNOT_GET_CTX. 2004-11-18 Simon Josefsson * doc/Makefile.am: Update. 2004-11-18 Simon Josefsson * lib/src/callback.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/obsolete.c, lib/src/property.c: Add CPP definition GSASL_NO_OBSOLETE to hide obsolete code (md5pwd.c still todo). 2004-11-18 Simon Josefsson * doc/Makefile.am: Update. 2004-11-18 Simon Josefsson * lib/src/Makefile.am, lib/src/common.c, lib/src/init.c: Collapse common.c into init.c. 2004-11-18 Simon Josefsson * doc/reference/gsasl-docs.sgml: Fix. 2004-11-18 Simon Josefsson * NEWS: Add. 2004-11-18 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2004-11-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-18 Simon Josefsson * lib/src/Makefile.am, lib/src/callback-c.c, lib/src/callback-s.c, lib/src/obsolete.c: Move obsolete callback interface to obsolete.c. 2004-11-18 Simon Josefsson * doc/reference/gsasl-docs.sgml: Fix. 2004-11-13 Simon Josefsson * doc/gsasl.texi: Typo. 2004-11-07 Simon Josefsson * README-alpha, lib/README-alpha: Fix. 2004-11-07 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-11-07 Simon Josefsson * gsasl.fms: Add. 2004-11-07 Simon Josefsson * AUTHORS: Fix. 2004-11-07 Simon Josefsson * doc/gendocs_template: Sync with texinfo. 2004-11-07 Simon Josefsson * doc/gendocs_template: Fix. 2004-11-07 Simon Josefsson * Makefile.am: Fix release target. 2004-11-07 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-11-07 Simon Josefsson * Makefile.am: Fix release target. 2004-11-07 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Generated. 2004-11-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.2.0. 2004-11-07 Simon Josefsson * tests/Makefile.am, tests/md5file.c: Fix distcheck. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * lib/ntlm/ntlm.c: Use authid instead of authzid. 2004-11-07 Simon Josefsson * tests/simple.c: Fix NTLM. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * doc/.cvsignore: [no log message] 2004-11-07 Simon Josefsson * doc/.cvsignore: [no log message] 2004-11-07 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-07 Simon Josefsson * doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml: Add image. 2004-11-07 Simon Josefsson * lib/NEWS: Fix. 2004-11-07 Simon Josefsson * lib/src/property.c: Doc fix. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Improve typography. 2004-11-07 Simon Josefsson * doc/gsasl.texi: Add image. Fixes. 2004-11-07 Simon Josefsson * doc/Makefile.am, doc/abstraction.eps: Add image. 2004-11-05 Simon Josefsson * doc/gsasl.texi: Typo. 2004-11-05 Simon Josefsson * doc/gsasl.texi: Fix. 2004-11-03 Simon Josefsson * gl/getpass.c, gl/m4/getpass.m4: Update. 2004-10-31 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix mem leak. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Revert. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Only use __attribute__ with gcc 3.1 or later. 2004-10-31 Simon Josefsson * lib/configure.ac: Invert MIT vs Heimdal detection logic. 2004-10-31 Simon Josefsson * lib/src/Makefile.am: Fix -export-symbols-regex call. 2004-10-31 Simon Josefsson * tests/Makefile.am: Dist cram-md5.pwd. 2004-10-31 Simon Josefsson * lib/gl/gettext.h, lib/gl/m4/gnulib.m4: Update. 2004-10-31 Simon Josefsson * lib/configure.ac: Use gnulib for gettext. 2004-10-31 Simon Josefsson * lib/gl/Makefile.am: Generate. 2004-10-31 Simon Josefsson * NEWS, lib/NEWS: Enable flyspell too. 2004-10-31 Simon Josefsson * lib/NEWS: Typo. 2004-10-31 Simon Josefsson * AUTHORS, lib/AUTHORS: Fix PGP key. 2004-10-31 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix PDF output. 2004-10-31 Simon Josefsson * Makefile.am: No more doxygen refman.ps. 2004-10-31 Simon Josefsson * doc/doxygen/Doxyfile.in: Update. 2004-10-31 Simon Josefsson * src/callbacks.c: Typo. 2004-10-31 Simon Josefsson * src/callbacks.c: Be specific. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Move around. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Fix properties. 2004-10-31 Simon Josefsson * doc/gdoc-error: Markup fix. 2004-10-31 Simon Josefsson * lib/src/gsasl.h.in: Typo. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Add. 2004-10-31 Simon Josefsson * doc/Makefile.am: Update. 2004-10-31 Simon Josefsson * doc/reference/tmpl/.cvsignore: [no log message] 2004-10-31 Simon Josefsson * doc/reference/tmpl/gsasl-unused.sgml: Add (dummy file, to shut up gtk-doc.make). 2004-10-31 Simon Josefsson * lib/src/done.c: Make it compile. 2004-10-31 Simon Josefsson * lib/src/internal.h: Doc fix. 2004-10-31 Simon Josefsson * lib/src/xfinish.c: Fix mem leaks. 2004-10-31 Simon Josefsson * doc/.cvsignore: [no log message] 2004-10-31 Simon Josefsson * doc/controlflow.eps, doc/controlflow2.eps: Add, dia --export is buggy. 2004-10-31 Simon Josefsson * : Update. 2004-10-31 Simon Josefsson * doc/gsasl.texi: Fix, for removed gsasl_property.*global. 2004-10-31 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Remove *_global property stuff. 2004-10-31 Simon Josefsson * lib/NEWS: Fix. 2004-10-31 Simon Josefsson * examples/client.c: Remove gsasl_property.*global. 2004-10-31 Simon Josefsson * doc/Makefile.am, lib/gssapi/server.c, lib/src/gsasl.h.in, lib/src/property.c: Rename gsasl_property_lset to gsasl_property_set_raw. 2004-10-31 Simon Josefsson * lib/NEWS: Add. 2004-10-31 Simon Josefsson * lib/login/server.c, lib/plain/server.c: Rename property type. 2004-10-31 Simon Josefsson * lib/src/gsasl.h.in: (Gsasl_property): Remove unused properties, for now. 2004-10-31 Simon Josefsson * lib/gssapi/client.c, lib/gssapi/server.c: Fix warnings. 2004-10-31 Simon Josefsson * NEWS: Fix. 2004-10-31 Simon Josefsson * NEWS, lib/NEWS: Fix. 2004-10-31 Simon Josefsson * lib/NEWS: Add. 2004-10-31 Simon Josefsson * lib/src/Makefile.am: Limit exported symbols to ^gsasl. 2004-10-31 Simon Josefsson * lib/src/xstep.c: Doc fix. 2004-10-31 Simon Josefsson * autogen.sh: Add comment. 2004-10-31 Simon Josefsson * autogen.sh: Add gtkdocize. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Move callback functions last too, to improve GTK-DOC output. 2004-10-31 Simon Josefsson * lib/src/gsasl-compat.h: Move callback typedef's last. 2004-10-31 Simon Josefsson * lib/src/gsasl.h.in: Doc fix. 2004-10-31 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add index. 2004-10-31 Simon Josefsson * lib/src/callback.c, lib/src/obsolete.c, lib/src/property.c, lib/src/register.c: Doc fix. 2004-10-31 Simon Josefsson * lib/src/obsolete.c: Doc fix. 2004-10-29 Simon Josefsson * lib/src/version.c: Doc fix. 2004-10-28 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-04.txt, doc/specification/draft-ietf-sasl-rfc2222bis-09.txt: Add. 2004-10-28 Simon Josefsson * doc/gdoc: Support -include. Replace struct marker from & to #, to align with modern GTK-DOC. Improve man and texinfo output. 2004-10-26 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-04.txt, doc/specification/draft-ietf-sasl-plain-05.txt: Add. 2004-10-24 Simon Josefsson * doc/reference/Makefile.am: Add images. 2004-10-24 Simon Josefsson * doc/reference/gsasl-docs.sgml: Add. 2004-10-24 Simon Josefsson * NEWS: Add. 2004-10-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-10-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-10-24 Simon Josefsson * doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml, doc/reference/gsasl.types, doc/reference/gtk-doc.make: Revamp. 2004-10-24 Simon Josefsson * Makefile.am: (DISTCHECK_CONFIGURE_FLAGS): Add --enable-gtk-doc. 2004-10-24 Simon Josefsson * Makefile.am, lib/Makefile.am: (update-po): Fix. 2004-10-24 Simon Josefsson * po/en@boldquot.po, po/en@quot.po: Remove. 2004-10-24 Simon Josefsson * po/LINGUAS: Sync with TP. 2004-10-24 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/LINGUAS: Sync with TP. 2004-10-24 Simon Josefsson * lib/po/LINGUAS, po/LINGUAS, po/de.po, po/en@boldquot.po, po/en@quot.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sq.po, po/sr.po, po/sv.po, po/zh_CN.po: Sync with TP. 2004-10-24 Simon Josefsson * po/LINGUAS: Sync with TP. 2004-10-15 Simon Josefsson * lib/gl/Makefile.am: Update 2004-10-15 Simon Josefsson * doc/Makefile.am: Generated. 2004-10-15 Simon Josefsson * gl/Makefile.am, gl/m4/getopt.m4, gl/m4/gnulib.m4: Update. 2004-10-15 Simon Josefsson * gl/Makefile.am: Update. 2004-10-15 Simon Josefsson * gl/Makefile.am, gl/error.c, gl/getndelim2.c, gl/getpass.c, gl/m4/gnulib.m4, gl/m4/unlocked-io.m4, gl/unlocked-io.h: Update. 2004-10-14 Simon Josefsson * tests/gssapi.c: Fix. 2004-10-14 Simon Josefsson * lib/src/gsasl.h.in: Fix. 2004-10-14 Simon Josefsson * tests/.cvsignore: [no log message] 2004-10-14 Simon Josefsson * tests/gssapi.c: Add. 2004-10-14 Simon Josefsson * tests/old-gssapi.c: Typo. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Don't use fixed size buffers. Use new property API. 2004-10-14 Simon Josefsson * tests/old-gssapi.c: Make it work. 2004-10-14 Simon Josefsson * lib/src/gsasl.h.in, lib/src/property.c: (gsasl_property_lset): Add. 2004-10-14 Simon Josefsson * lib/src/internal.h: Add. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Use new callback API. 2004-10-14 Simon Josefsson * lib/src/property.c: Support GSASL_GSSAPI_DISPLAY_NAME. 2004-10-14 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Support deprecated GSASL_VALIDATE_GSSAPI. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Avoid old-style service callback. 2004-10-14 Simon Josefsson * lib/NEWS: Add. 2004-10-14 Simon Josefsson * lib/gssapi/server.c: Fix memory leak. 2004-10-14 Simon Josefsson * lib/gssapi/client.c: Fix memory leak. 2004-10-14 Simon Josefsson * lib/gssapi/client.c, tests/old-gssapi.c: Fix crash. 2004-10-14 Simon Josefsson * tests/old-gssapi.c: Fix. 2004-10-14 Simon Josefsson * tests/.cvsignore: [no log message] 2004-10-14 Simon Josefsson * tests/Makefile.am: Remove old-gssapi for now. 2004-10-14 Simon Josefsson * tests/Makefile.am, tests/digest-md5.c, tests/gssapi.key, tests/gssapi.tkt, tests/md5file.c, tests/old-gssapi.c: Add. 2004-10-14 Simon Josefsson * lib/gssapi/client.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Support service and hostname properties. 2004-10-14 Simon Josefsson * tests/Makefile.am: Remove duplicated stuff. 2004-10-13 Simon Josefsson * lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/server.c, lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h, lib/external/client.c, lib/external/server.c, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/client.c, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/kerberos_v5/server.c, lib/login/client.c, lib/login/login.h, lib/login/server.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/client.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/client.c, lib/securid/securid.h, lib/securid/server.c, lib/src/obsolete.c, tests/cram-md5.c: Fix warnings. 2004-10-13 Simon Josefsson * lib/src/gsasl-compat.h: Don't deprecate the types that are used in this file. 2004-10-13 Simon Josefsson * lib/external/external.h: Fix warning. 2004-10-13 Simon Josefsson * lib/src/gsasl-compat.h: Use GCC __attribute__((deprecated)), if available, to generate warnings on use. 2004-10-13 Simon Josefsson * tests/.cvsignore: [no log message] 2004-10-13 Simon Josefsson * tests/Makefile.am, tests/cram-md5.c, tests/old-cram-md5.c, tests/utils.c: Add new cram-md5 test. 2004-10-12 Simon Josefsson * doc/gsasl.texi: Typo. 2004-10-12 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-04 Simon Josefsson * doc/.cvsignore: [no log message] 2004-10-04 Simon Josefsson * doc/Makefile.am: Add. 2004-10-04 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c, lib/digest-md5/getsubopt.c, lib/digest-md5/shared.c, lib/digest-md5/shared.h, lib/plain/client.c: Fix warnings. 2004-10-04 Simon Josefsson * doc/Makefile.am: Generated. 2004-10-04 Simon Josefsson * lib/digest-md5/server.c, lib/digest-md5/shared.c, lib/digest-md5/shared.h: Fix warnings. 2004-10-04 Simon Josefsson * lib/digest-md5/getsubopt.c: Fix warning. 2004-10-04 Simon Josefsson * lib/NEWS: Add. 2004-10-04 Simon Josefsson * lib/NEWS, lib/src/gsasl-compat.h, lib/src/obsolete.c: (gsasl_server_suggest_mechanism): Add, but as deprecated, for binary compatibility. 2004-10-04 Simon Josefsson * lib/src/gsasl.h.in: Typo. 2004-10-04 Simon Josefsson * lib/NEWS, lib/src/gsasl.h.in, lib/src/suggest.c: (gsasl_server_suggest_mechanism): Remove. 2004-10-04 Simon Josefsson * : Update. 2004-10-04 Simon Josefsson * : Update. 2004-10-04 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-04 Simon Josefsson * examples/client-mech.c: Typ. 2004-10-04 Simon Josefsson * doc/gsasl.texi: Fix. 2004-10-04 Simon Josefsson * doc/gsasl.texi: (Using the Library): Rewrite. 2004-10-03 Simon Josefsson * examples/client-callback.c, examples/client-serverfirst.c, examples/client.c: Fix. 2004-10-03 Simon Josefsson * doc/Makefile.am: Add. 2004-10-03 Simon Josefsson * doc/.cvsignore: [no log message] 2004-10-03 Simon Josefsson * lib/src/init.c: Doc fix. 2004-10-03 Simon Josefsson * doc/Makefile.am: Fix. 2004-10-03 Simon Josefsson * doc/gsasl.texi: Add. 2004-10-03 Simon Josefsson * lib/NEWS, lib/anonymous/client.c, lib/anonymous/server.c, lib/securid/server.c, lib/src/callback.c, lib/src/gsasl.h.in, lib/src/property.c: Cleanup properties. 2004-10-03 Simon Josefsson * lib/external/server.c: Clear authzid. 2004-09-30 Simon Josefsson * doc/gsasl.texi: Fix. 2004-09-30 Simon Josefsson * : Update. 2004-09-30 Simon Josefsson * examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Fix. 2004-09-30 Simon Josefsson * doc/.cvsignore: [no log message] 2004-09-30 Simon Josefsson * doc/Makefile.am, doc/gsasl.texi: Add. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * doc/gsasl.texi, lib/src/callback.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/obsolete.c: Simplify callback hook. 2004-09-30 Simon Josefsson * lib/NEWS: Fix. 2004-09-30 Simon Josefsson * lib/src/gsasl.h.in: Doc fix. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * lib/NEWS: Fix. 2004-09-30 Simon Josefsson * examples/client-callback.c, lib/anonymous/server.c, lib/external/server.c, lib/login/server.c, lib/plain/server.c, lib/securid/server.c, lib/src/callback.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Simplify callbacks, now there is only one application callback (the global). 2004-09-30 Simon Josefsson * doc/gsasl.texi: Fix. 2004-09-30 Simon Josefsson * NEWS: Add. 2004-09-30 Simon Josefsson * lib/src/gsasl-compat.h: Typo. 2004-09-30 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl.h.in: Obsolete some error codes. 2004-09-30 Simon Josefsson * tests/simple.c: Update, for libntlm 0.3.6. 2004-09-30 Simon Josefsson * doc/Makefile.am, doc/gsasl-example1.c: Remove. 2004-09-30 Simon Josefsson * Makefile.am, configure.ac, doc/gsasl.texi, examples/.cvsignore, examples/Makefile.am, examples/README, examples/client-callback.c, examples/client-mech.c, examples/client-serverfirst.c, examples/client.c: Add examples. 2004-09-30 Simon Josefsson * doc/Makefile.am: Generate. 2004-09-30 Simon Josefsson * lib/src/property.c: (gsasl_property_fast, gsasl_property_fast_global): Fix crashes on NULL input. 2004-09-30 Simon Josefsson * lib/src/callback.c: (gsasl_callback): Give sctx to global callback. 2004-09-30 Simon Josefsson * lib/plain/client.c, lib/securid/client.c: Don't fail on missing authzid. 2004-09-29 Simon Josefsson * NEWS, tests/Makefile.am, tests/md5file.c, tests/utils.c: Add. 2004-09-29 Simon Josefsson * tests/.cvsignore: [no log message] 2004-09-29 Simon Josefsson * tests/cram-md5.pwd, tests/utils.c, tests/utils.h: Add. 2004-09-29 Simon Josefsson * gl/Makefile.am, gl/dummy.c, gl/m4/gnulib.m4, gl/progname.h, lib/gl/Makefile.am, lib/gl/dummy.c, lib/gl/m4/gnulib.m4: Update. 2004-09-28 Simon Josefsson * lib/configure.ac, lib/gl/Makefile.am, lib/gl/dummy.c, lib/gl/m4/gnulib.m4, lib/gl/m4/strdup.m4, lib/gl/strdup.c, lib/gl/strdup.h: Use new GNULib. 2004-09-26 Simon Josefsson * lib/NEWS, lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/crypto/Makefile.am, lib/digest-md5/Makefile.am, lib/digest-md5/shared.h, lib/external/Makefile.am, lib/gl/Makefile.am, lib/gl/m4/strdup.m4, lib/gl/strdup.c, lib/gl/strdup.h, lib/gssapi/Makefile.am, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/shared.h, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am, tests/Makefile.am: Use Lesser GNULib. 2004-09-24 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Generated. 2004-09-24 Simon Josefsson * NEWS, lib/NEWS: Fix. 2004-09-24 Simon Josefsson * configure.ac, lib/configure.ac: Bump versions. 2004-09-24 Simon Josefsson * lib/src/gsasl-mech.h, lib/src/gsasl.h.in: Move. 2004-09-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-09-24 Simon Josefsson * doc/reference/Makefile.am: Add. 2004-09-24 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-09-24 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Add gsasl-mech. 2004-09-24 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/shared.c, lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/shared.h, lib/gssapi/x-gssapi.h, lib/login/client.c, lib/login/login.h, lib/login/server.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h: Avoid use of internal.h. 2004-09-24 Simon Josefsson * lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/x-gssapi.h, lib/login/client.c, lib/login/login.h, lib/login/server.c, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/securid/client.c, lib/securid/securid.h, lib/src/gsasl-mech.h, lib/src/xfinish.c: Make mechanism finish function return void. 2004-09-24 Simon Josefsson * lib/src/listmech.c: Cleanup. 2004-09-24 Simon Josefsson * lib/src/listmech.c: Use new API. 2004-09-24 Simon Josefsson * lib/anonymous/anonymous.h: Indent. 2004-09-24 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/mechinfo.c, lib/cram-md5/Makefile.am, lib/cram-md5/cram-md5.h, lib/cram-md5/mechinfo.c, lib/digest-md5/Makefile.am, lib/digest-md5/digest-md5.h, lib/digest-md5/mechinfo.c, lib/external/Makefile.am, lib/external/external.h, lib/external/mechinfo.c, lib/gssapi/Makefile.am, lib/gssapi/mechinfo.c, lib/gssapi/x-gssapi.h, lib/login/Makefile.am, lib/login/login.h, lib/login/mechinfo.c, lib/ntlm/Makefile.am, lib/ntlm/mechinfo.c, lib/ntlm/x-ntlm.h, lib/plain/Makefile.am, lib/plain/mechinfo.c, lib/plain/plain.h, lib/securid/Makefile.am, lib/securid/mechinfo.c, lib/securid/securid.h, lib/src/common.c, lib/src/init.c: Move mechanism definitions from src/common.c into */mechinfo.c. 2004-09-24 Simon Josefsson * lib/digest-md5/client.c, lib/src/gsasl.h.in: Fix. 2004-09-24 Simon Josefsson * lib/src/Makefile.am, lib/src/gsasl-mech.h, lib/src/gsasl.h.in: Move mechanism stuff from gsasl.h.in to gsasl-mech.h. 2004-09-24 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/external/client.c, lib/external/external.h, lib/external/server.c, lib/plain/client.c, lib/plain/plain.h, lib/plain/server.c, lib/securid/client.c, lib/securid/securid.h, lib/securid/server.c, lib/src/common.c: Remove useless start functions. Cleanup. 2004-09-24 Simon Josefsson * lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/server.c, lib/src/common.c, lib/src/xstart.c: Support NULL start mechanism functions. Remove useless start functions. 2004-09-24 Simon Josefsson * lib/anonymous/server.c: Typo. 2004-09-24 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.h, lib/anonymous/client.c: Fix. 2004-09-24 Simon Josefsson * lib/anonymous/client.c, lib/anonymous/server.c, lib/external/client.c, lib/external/external.h, lib/external/server.c: Fix. 2004-09-24 Simon Josefsson * lib/src/gsasl.h.in: Doc fix. 2004-09-24 Simon Josefsson * lib/NEWS: Add. 2004-09-24 Simon Josefsson * lib/NEWS: Add. 2004-09-24 Simon Josefsson * lib/src/common.c, lib/src/gsasl.h.in, lib/src/xstart.c: Indent. 2004-09-24 Simon Josefsson * lib/src/xstart.c: Cleanup. 2004-09-24 Simon Josefsson * lib/src/register.c: Doc fix. 2004-09-24 Simon Josefsson * lib/src/register.c: Fix. 2004-09-24 Simon Josefsson * doc/Makefile.am, doc/gsasl.texi, lib/NEWS: Add. 2004-09-24 Simon Josefsson * lib/src/common.c, lib/src/gsasl.h.in, lib/src/init.c, lib/src/internal.h, lib/src/listmech.c, lib/src/register.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/xcode.c, lib/src/xstart.c, lib/src/xstep.c: Make mechanism interface public. 2004-09-24 Simon Josefsson * lib/src/common.c, lib/src/internal.h, lib/src/xstep.c: Remove non-allocating step interface. 2004-09-24 Simon Josefsson * lib/gssapi/server.c, lib/gssapi/x-gssapi.h: Make GSSAPI server use allocating interface. 2004-09-24 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/src/common.c: Use new allocating step API in DIGEST-MD5. 2004-09-23 Simon Josefsson * tests/digest-md5.c: Fix. 2004-09-23 Simon Josefsson * tests/digest-md5.c: Fix. 2004-09-23 Simon Josefsson * tests/Makefile.am, tests/digest-md5.c: Add. 2004-09-23 Simon Josefsson * tests/.cvsignore: [no log message] 2004-09-23 Simon Josefsson * lib/digest-md5/client.c, lib/digest-md5/server.c: Fix valgrind complaints. 2004-09-23 Simon Josefsson * lib/digest-md5/server.c: Fix. 2004-09-23 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/server.c, lib/digest-md5/session.c, lib/digest-md5/session.h: Split off and unify data protection in DIGEST-MD5. 2004-09-23 Simon Josefsson * src/gsasl.c: Remove debugging print of b64 encoded session data. 2004-09-23 Simon Josefsson * lib/cram-md5/client.c: Cleanup. 2004-09-23 Simon Josefsson * lib/cram-md5/client.c: Use digest.h API. 2004-09-23 Simon Josefsson * lib/src/common.c: Disable KERBEROS_V5 for now. 2004-09-23 Simon Josefsson * lib/securid/securid.h, lib/securid/server.c, lib/src/callback.c, lib/src/common.c: Make SECURID server use new APIs. 2004-09-23 Simon Josefsson * lib/securid/client.c: Fix. 2004-09-23 Simon Josefsson * lib/securid/client.c, lib/securid/securid.h, lib/src/common.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Make SECURID client use new allocating API. Use new callback/property API in SECURID client. 2004-09-23 Simon Josefsson * lib/NEWS: Reorder. 2004-09-23 Simon Josefsson * src/gsasl.c: Fix gsasl_encode use. 2004-09-23 Simon Josefsson * lib/NEWS, lib/digest-md5/client.c, lib/digest-md5/digest-md5.h, lib/digest-md5/server.c, lib/gssapi/client.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/client.c, lib/kerberos_v5/server.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/obsolete.c, lib/src/xcode.c: (gsasl_encode. gsasl_decode): Allocate OUTPUT buffer. Change in prototype. Update types and callers. 2004-09-22 Simon Josefsson * tests/cram-md5.c: Fix buggy callbacks. 2004-09-22 Simon Josefsson * lib/src/internal.h, lib/src/version.c: Cleanup includes. 2004-09-22 Simon Josefsson * lib/configure.ac: Fix NTLM test. 2004-09-22 Simon Josefsson * tests/simple.c: Fix NTLM test cases. 2004-09-22 Simon Josefsson * doc/gsasl.texi, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h: Fix. 2004-09-22 Simon Josefsson * lib/src/Makefile.am: Add gnulib. 2004-09-22 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Remove. 2004-09-21 Simon Josefsson * lib/gssapi/x-gssapi.h: Fix. 2004-09-21 Simon Josefsson * lib/gssapi/client.c, lib/gssapi/x-gssapi.h, lib/src/common.c: Make GSSAPI client use new allocating API, and new callback interface. 2004-09-21 Simon Josefsson * lib/src/error.c: Add. 2004-09-21 Simon Josefsson * lib/src/error.c, lib/src/gsasl.h.in: Add. 2004-09-21 Simon Josefsson * lib/src/gsasl.h.in: Add. 2004-09-21 Simon Josefsson * lib/cram-md5/server.c: Fix. 2004-09-21 Simon Josefsson * lib/cram-md5/cram-md5.h, lib/cram-md5/server.c, lib/src/common.c: Make CRAM-MD5 server use new allocating output. Use digest.* in CRAM-MD5 server. Use new callback interface in CRAM-MD5 server (means dropping support for validation of CRAM-MD5 hashes within application, will anyone miss it?). 2004-09-21 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/src/common.c: Make CRAM-MD5 client use new allocating API, and new callback interface. 2004-09-21 Simon Josefsson * lib/plain/client.c, lib/plain/server.c: Typo. 2004-09-21 Simon Josefsson * lib/plain/client.c: Typo. 2004-09-21 Simon Josefsson * lib/plain/server.c: Use new callback interface. 2004-09-21 Simon Josefsson * lib/plain/plain.h, lib/plain/server.c, lib/src/common.c: Make PLAIN server use new allocating API. 2004-09-21 Simon Josefsson * lib/login/login.h, lib/login/server.c, lib/src/common.c: Make LOGIN server support new allocating API. Use new callback/property API in LOGIN server. 2004-09-21 Simon Josefsson * lib/external/server.c: Fix crash. 2004-09-21 Simon Josefsson * tests/simple.c: Fix crash in EXTERNAL client. 2004-09-21 Simon Josefsson * lib/src/property.c: (gsasl_property_set, gsasl_property_set_global): Handle data==NULL. 2004-09-21 Simon Josefsson * lib/external/client.c, lib/external/server.c, lib/login/client.c, lib/ntlm/ntlm.c, lib/plain/client.c, lib/src/gsasl.h.in, lib/src/property.c: Fix. 2004-09-21 Simon Josefsson * lib/NEWS: Add. 2004-09-21 Simon Josefsson * lib/external/server.c: Support authzid. 2004-09-21 Simon Josefsson * lib/external/client.c: Support authorization identities. 2004-09-20 Simon Josefsson * lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c, lib/src/xcode.c: (gsasl_encode, gsasl_decode): Obsolete. (gsasl_encode_inline, gsasl_decode_inline): Add. Same as above. 2004-09-20 Simon Josefsson * lib/NEWS: Add. 2004-09-20 Simon Josefsson * lib/src/gsasl.h.in: (Gsasl_rc): Specify numbers explicitly, to make sure existing names are never renumbered. Move new errors last, to maintain binary compatibility with last release. 2004-09-20 Simon Josefsson * lib/src/gsasl.h.in: Move. 2004-09-20 Simon Josefsson * lib/NEWS: Add. 2004-09-20 Simon Josefsson * lib/src/callback.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/obsolete.c: (gsasl_ctx_get): Obsolete. 2004-09-19 Simon Josefsson * gl/getaddrinfo.c, gl/getaddrinfo.h, gl/progname.c, gl/progname.h: Update. 2004-09-18 Simon Josefsson * lib/configure.ac: Fix. 2004-09-18 Simon Josefsson * tests/threadsafety: Fix. 2004-09-18 Simon Josefsson * lib/src/stringprep-no.c: Fix.Add. 2004-09-18 Simon Josefsson * lib/src/error.c: Add. 2004-09-18 Simon Josefsson * tests/threadsafety: Fix. 2004-09-18 Simon Josefsson * tests/Makefile.am: Fix. 2004-09-18 Simon Josefsson * lib/crypto/gc-nettle.c, lib/crypto/hmac.h: Remove SHA. 2004-09-18 Simon Josefsson * lib/crypto/Makefile.am: Fix. 2004-09-18 Simon Josefsson * THANKS, lib/THANKS: Add. 2004-09-18 Simon Josefsson * lib/configure.ac: Check for netinet/in.h, reported by Paul Romero . 2004-09-18 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-09-18 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h.in: Move. 2004-09-18 Simon Josefsson * doc/Makefile.am: Fix. 2004-09-18 Simon Josefsson * doc/Makefile.am: Fix. 2004-09-18 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Fix. 2004-09-18 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-09-18 Simon Josefsson * lib/src/callback.c: Doc fix. 2004-09-18 Simon Josefsson * lib/src/callback.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Doc fix. 2004-09-18 Simon Josefsson * doc/gsasl.texi: Move. 2004-09-18 Simon Josefsson * doc/gsasl.texi: Add. 2004-09-18 Simon Josefsson * doc/gsasl.texi: Move. 2004-09-18 Simon Josefsson * lib/cram-md5/client.c, lib/crypto/gc-libgcrypt.c, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/gssapi/client.c, lib/plain/client.c, lib/plain/server.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c, lib/src/register.c, lib/src/xstep.c, src/smtp.c, tests/cram-md5.c: Indent. 2004-09-18 Simon Josefsson * lib/src/gsasl.h.in, lib/src/internal.h: Fix. 2004-09-18 Simon Josefsson * lib/src/internal.h: Fix. 2004-09-18 Simon Josefsson * lib/cram-md5/server.c, lib/crypto/gc-nettle.c, lib/ntlm/ntlm.c, lib/src/common.c, tests/cram-md5.c: Fix warnings. 2004-09-18 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sr.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/ro.po, po/sr.po, po/sv.po: Generated. 2004-09-18 Simon Josefsson * doc/Makefile.am: Update. 2004-09-18 Simon Josefsson * lib/external/client.c: Cleanup. 2004-09-18 Simon Josefsson * lib/anonymous/anonymous.h: Fix. 2004-09-18 Simon Josefsson * lib/gssapi/gssapi.c: Remove. 2004-09-18 Simon Josefsson * lib/gssapi/Makefile.am, lib/gssapi/client.c, lib/gssapi/server.c, lib/gssapi/shared.h: Split up GSSAPI. 2004-09-18 Simon Josefsson * lib/kerberos_v5/Makefile.am, lib/kerberos_v5/client.c, lib/kerberos_v5/server.c, lib/kerberos_v5/shared.h: Split up KERBEROS_V5. 2004-09-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/digest-md5/client.c, lib/digest-md5/digest-md5.c, lib/digest-md5/getsubopt.c, lib/digest-md5/server.c, lib/digest-md5/shared.c, lib/digest-md5/shared.h: Split up DIGEST-MD5. 2004-09-18 Simon Josefsson * lib/cram-md5/client.c, lib/cram-md5/cram-md5.h, lib/src/common.c: Cleanup CRAM-MD5. 2004-09-18 Simon Josefsson * lib/ntlm/Makefile.am, lib/ntlm/ntlm.c: Cleanup NTLM. 2004-09-18 Simon Josefsson * lib/securid/Makefile.am, lib/securid/{securid.c => client.c}, lib/securid/securid.h, lib/securid/server.c, lib/src/common.c: Cleanup SECURID. 2004-09-18 Simon Josefsson * lib/ntlm/Makefile.am, lib/src/xfinish.c: Typo. 2004-09-18 Simon Josefsson * lib/login/login.h: Fix. 2004-09-18 Simon Josefsson * lib/login/Makefile.am, lib/login/client.c, lib/login/{login.c => server.c}: Cleanup LOGIN. 2004-09-18 Simon Josefsson * lib/plain/Makefile.am, lib/plain/client.c, lib/plain/plain.c, lib/plain/plain.h, lib/plain/server.c, lib/src/common.c: Cleanup PLAIN. 2004-09-18 Simon Josefsson * lib/external/Makefile.am, lib/external/{external.c => client.c}, lib/external/server.c, lib/src/callback.c: Make EXTERNAL use new callback API. Cleanup. 2004-09-18 Simon Josefsson * lib/anonymous/Makefile.am: Typo. 2004-09-18 Simon Josefsson * lib/anonymous/Makefile.am: Typo. 2004-09-18 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/anonymous/client.c, lib/anonymous/server.c, lib/src/common.c: Cleanup. 2004-09-18 Simon Josefsson * lib/anonymous/anonymous.c, lib/anonymous/client.c, lib/anonymous/server.c: Cleanup. 2004-09-18 Simon Josefsson * lib/external/external.h: Fix. 2004-09-18 Simon Josefsson * lib/external/external.c, lib/src/common.c: Remove useless EXTERNAL finish function. 2004-09-18 Simon Josefsson * lib/src/xfinish.c: Handle NULL finish plugin method. Fix mem leak. 2004-09-18 Simon Josefsson * lib/src/done.c: Fix mem leak. 2004-09-18 Simon Josefsson * lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/src/common.c: Make NTLM use new allocating API. 2004-09-18 Simon Josefsson * lib/external/external.c, lib/external/external.h, lib/src/common.c: Make EXTERNAL use new allocating API. 2004-09-18 Simon Josefsson * lib/plain/plain.c, lib/plain/plain.h, lib/src/common.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Make PLAIN client use new callback API. Add authid property. 2004-09-18 Simon Josefsson * lib/login/login.c, lib/login/login.h, lib/src/common.c, lib/src/done.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c: Make LOGIN client use new callback API. Add password/authzid properties. 2004-09-18 Simon Josefsson * lib/NEWS: Add. 2004-09-18 Simon Josefsson * lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/src/Makefile.am, lib/src/callback.c, lib/src/common.c, lib/src/done.c, lib/src/error.c, lib/src/gsasl-compat.h, lib/src/gsasl.h.in, lib/src/internal.h, lib/src/property.c, lib/src/xfinish.c: Add new callback/property interface, thereby deprecating old callback system. Move obsolete APIs from gsasl.h.in to gsasl-compat.h. Include gsasl-compat.h in gsasl.h.in. Fix the ANONYMOUS mechanism to use the new interface, including the new allocating mechanism interface. 2004-09-17 Simon Josefsson * lib/src/Makefile.am, lib/src/init.c, lib/src/internal.h, lib/src/register.c: (gsasl_register): Add. (gsasl_init): Use it. 2004-09-17 Simon Josefsson * lib/src/init.c: Cleanup. 2004-09-17 Simon Josefsson * lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/digest-md5/digest-md5.c, lib/digest-md5/digest-md5.h, lib/external/external.c, lib/external/external.h, lib/gssapi/gssapi.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/login/login.c, lib/login/login.h, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h, lib/plain/plain.c, lib/plain/plain.h, lib/securid/securid.c, lib/src/common.c: Remove useless plugin init/done functions. 2004-09-17 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/cram-md5.h, lib/cram-md5/init_client.c, lib/cram-md5/init_server.c, lib/src/common.c: Remove useless CRAM-MD5 init/done. 2004-09-17 Simon Josefsson * lib/src/done.c, lib/src/init.c: Support NULL module init/done functions. 2004-09-17 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/client.c, lib/cram-md5/{cram-md5.c => server.c}: Split up cram-md5.c into client.c and server.c. 2004-09-17 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/cram-md5.c, lib/cram-md5/init_client.c, lib/cram-md5/init_server.c: Cleanup init. 2004-09-16 Simon Josefsson * tests/Makefile.am: Fix. 2004-09-16 Simon Josefsson * tests/Makefile.am: Use threadsafety. 2004-09-16 Simon Josefsson * tests/threadsafety: Add. 2004-09-13 Simon Josefsson * lib/po/LINGUAS, lib/po/sr.po, lib/po/sv.po, po/pl.po: Sync with TP. 2004-09-13 Simon Josefsson * doc/reference/Makefile.am: (clean-local): Add style.css. 2004-09-09 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-04.txt: Add. 2004-09-05 Simon Josefsson * configure.ac, gl/Makefile.am, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/m4/getaddrinfo.m4, gl/m4/gnulib.m4, gl/m4/restrict.m4, src/gsasl.c, src/internal.h: Assume getaddrinfo. Add getaddrinfo gnulib module, for system that lack it. 2004-08-31 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-08-31 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sv.po: Sync with TP. 2004-08-31 Simon Josefsson * doc/gsasl-example1.c, doc/gsasl.texi: Fix example. 2004-08-31 Simon Josefsson * doc/Makefile.am: Fix. 2004-08-31 Simon Josefsson * doc/Makefile.gdoci: Remove. 2004-08-31 Simon Josefsson * autogen.sh: Simplify. 2004-08-31 Simon Josefsson * doc/Makefile.am: Rewrite gdoc stuff. 2004-08-31 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2004-08-31 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-31 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix update-po. 2004-08-26 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2004-08-26 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-23 Simon Josefsson * m4/autobuild.m4: Update. 2004-08-23 Simon Josefsson * NEWS: Typo. 2004-08-21 Simon Josefsson * lib/configure.ac: Add GC stuff. 2004-08-21 Simon Josefsson * lib/crypto/gc-libgcrypt.c, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/crypto/hmac.h, lib/crypto/sha.h: Sync GC with GnuTLS. 2004-08-18 Simon Josefsson * po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-18 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump version. 2004-08-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-08-18 Simon Josefsson * gl/m4/gnulib.m4, lib/gl/m4/gnulib.m4: Update. 2004-08-16 Simon Josefsson * configure.ac, gl/Makefile.am, gl/m4/gnulib.m4, lib/configure.ac, lib/gl/Makefile.am, lib/gl/m4/gnulib.m4: Update. 2004-08-16 Simon Josefsson * gl/m4/gnulib.m4: Update. 2004-08-10 Simon Josefsson * gl/getpass.c, gl/getpass.h: Update. 2004-08-08 Simon Josefsson * gsasl.fms: Fix. 2004-08-08 Simon Josefsson * gsasl.fms: Add. 2004-08-07 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-08-07 Simon Josefsson * lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Generated. 2004-08-07 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.4. 2004-08-07 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-08-07 Simon Josefsson * gl/Makefile.am: Fix. 2004-08-07 Simon Josefsson * lib/configure.ac: Bump versions. 2004-08-07 Simon Josefsson * configure.ac: Bump version. 2004-08-07 Simon Josefsson * lib/gl/Makefile.am, lib/gl/m4/gnulib.m4, po/sv.po: Update. 2004-08-07 Simon Josefsson * lib/Makefile.am: Fix aclocal -I's. 2004-08-07 Simon Josefsson * lib/configure.ac: Use new gnulib-tool stuff. 2004-08-07 Simon Josefsson * src/callbacks.c, src/internal.h: Fix. 2004-08-07 Simon Josefsson * gl/Makefile.am, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/getpass.c, gl/getpass.h, gl/getpassword.c, gl/getpassword.h, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/getpass.m4, gl/m4/gnulib.m4, gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/stdbool_.h: Update. 2004-08-07 Simon Josefsson * configure.ac: Use new gnulib-tool stuff. 2004-08-07 Simon Josefsson * gl/Makefile.am, gl/m4/gnulib.m4, lib/gl/Makefile.am, lib/gl/m4/gnulib.m4: Fix. 2004-08-07 Simon Josefsson * lib/gl/Makefile.am: Generated. 2004-08-07 Simon Josefsson * lib/gl/m4/gnulib.m4, lib/gl/m4/onceonly_2_57.m4: Add. 2004-08-07 Simon Josefsson * lib/configure.ac: For gnulib. 2004-08-07 Simon Josefsson * configure.ac: Use new gnulib-tool stuff. 2004-08-07 Simon Josefsson * gl/Makefile.am, gl/stdbool_.h: Update. 2004-08-07 Simon Josefsson * gl/m4/codeset.m4, gl/m4/gettext.m4, gl/m4/glibc21.m4, gl/m4/gnulib.m4, gl/m4/iconv.m4, gl/m4/intdiv0.m4, gl/m4/intmax.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/nls.m4, gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/signed.m4, gl/m4/size_max.m4, gl/m4/stdint_h.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/m4/xsize.m4: Add. 2004-08-07 Simon Josefsson * gl/Makefile.am: Generated. 2004-08-07 Simon Josefsson * gl/error.c, gl/m4/fatal.m4, gl/m4/gnulib.m4, gl/m4/stdbool.m4, lib/gl/m4/strdup.m4, lib/gl/strdup.c, lib/gl/strdup.h: Update. 2004-08-07 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.c: Update. 2004-08-06 Simon Josefsson * lib/po/LINGUAS, po/LINGUAS: Sync with TP. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am: Fix. 2004-08-06 Simon Josefsson * lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix. 2004-08-06 Simon Josefsson * Makefile.am, lib/Makefile.am: (update-po): Add. 2004-08-06 Simon Josefsson * lib/po/sv.po, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po, po/sv.po: Sync with TP. 2004-08-05 Simon Josefsson * NEWS, lib/NEWS: Fix. 2004-08-05 Simon Josefsson * lib/po/.cvsignore, po/.cvsignore: [no log message] 2004-08-05 Simon Josefsson * NEWS, lib/NEWS: Add. 2004-08-05 Simon Josefsson * gl/progname.lo: Remove. 2004-08-05 Simon Josefsson * lib/po/LINGUAS, lib/po/fr.po, lib/po/nl.po, lib/po/pl.po, lib/po/ro.po, po/LINGUAS, po/de.po, po/eu.po, po/fr.po, po/ga.po, po/nl.po, po/pl.po, po/ro.po, po/sr.po: Add. 2004-08-04 Simon Josefsson * lib/cram-md5/challenge.c, lib/crypto/gc-nettle.c, lib/digest-md5/digest-md5.c, lib/src/crypto.c: Fix, reported by Dimitri Papadopoulos-Orfanos . 2004-08-03 Simon Josefsson * lib/gl/dummy.c: Update. 2004-08-03 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-08-03 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-08-03 Simon Josefsson * doc/gendocs_template: Update. 2004-08-03 Simon Josefsson * doc/gendocs.sh: Fix. 2004-08-03 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.3. 2004-08-03 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.h: Fix. 2004-08-03 Simon Josefsson * src/internal.h: Fix. 2004-08-03 Simon Josefsson * src/internal.h: Fix. 2004-08-03 Simon Josefsson * gl/getpassword.c, gl/getpassword.h, lib/cram-md5/digest.c, src/gsasl.c, src/internal.h: Fix. 2004-08-03 Simon Josefsson * configure.ac, gl/progname.h: Fix. 2004-08-03 Simon Josefsson * : Remove. 2004-08-03 Simon Josefsson * lib/NEWS: Add. 2004-08-03 Simon Josefsson * NEWS, configure.ac, lib/configure.ac: Bump version. 2004-08-03 Simon Josefsson * lib/digest-md5/digest-md5.c: (_gsasl_digest_md5_client_step): If no qop callback, default to no QOP. 2004-08-03 Simon Josefsson * src/gsasl.c: Simplify setlocale. 2004-08-03 Simon Josefsson * src/internal.h: Define setlocale. 2004-08-03 Simon Josefsson * src/gsasl.c: Fix cmd line parsing. 2004-08-03 Simon Josefsson * configure.ac, gl/Makefile.am, gl/fatal.c, gl/fatal.h: Remove fatal. 2004-08-03 Simon Josefsson * src/gsasl.c: Use error. 2004-08-03 Simon Josefsson * src/gsasl.c: Use error. 2004-08-03 Simon Josefsson * src/internal.h: #Include errno.h. 2004-08-03 Simon Josefsson * configure.ac: Look for errno.h. 2004-08-03 Simon Josefsson * src/gsasl.c: Use progname. 2004-08-03 Simon Josefsson * gl/progname.c, gl/progname.h, gl/progname.lo, gl/stdbool_.h: Gnulib. 2004-08-03 Simon Josefsson * configure.ac, gl/m4/error.m4, gl/m4/extensions.m4, gl/m4/fatal.m4, gl/m4/onceonly_2_57.m4, gl/m4/stdbool.m4, gl/m4/strerror_r.m4, gl/m4/unlocked-io.m4: Gnulib fixes. 2004-08-03 Simon Josefsson * gl/Makefile.am: Add progname. 2004-08-03 Simon Josefsson * gl/Makefile.am, gl/dummy.c, gl/error.c, gl/error.h, gl/exit.h, gl/fatal.c, gl/fatal.h, gl/unlocked-io.h: Add fatal module. Update. 2004-08-03 Simon Josefsson * NEWS: Add. 2004-08-03 Simon Josefsson * src/gsasl.c: Use getaddrinfo, if available. 2004-08-03 Simon Josefsson * configure.ac: Fix. 2004-08-03 Simon Josefsson * configure.ac: Check for getaddrinfo. 2004-08-03 Simon Josefsson * src/gsasl.c: Fix unnamed option handling. 2004-08-03 Simon Josefsson * src/callbacks.c: (client_callback_authentication_id): Use getpwuid. 2004-08-03 Simon Josefsson * NEWS: Add. 2004-08-03 Simon Josefsson * src/internal.h: #include pwd.h. 2004-08-03 Simon Josefsson * configure.ac: Look for pwd.h. 2004-08-03 Simon Josefsson * src/gsasl.c: Handle hostname/port on command line. 2004-08-03 Simon Josefsson * src/gsasl.ggo: Doc fix. 2004-08-03 Simon Josefsson * src/Makefile.am: Use unnamed options. 2004-08-03 Simon Josefsson * src/gsasl.ggo: Make --client and --imap default. 2004-07-26 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-10.txt: Add. 2004-07-16 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-07-16 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-07-16 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.2. 2004-07-16 Simon Josefsson * THANKS, lib/THANKS: Add. 2004-07-16 Simon Josefsson * THANKS: Add. 2004-07-16 Simon Josefsson * gl/getopt.c, gl/getopt1.c, gl/m4/getopt.m4: Update. 2004-07-16 Simon Josefsson * configure.ac: Use ABINIT. 2004-07-16 Simon Josefsson * m4/autobuild.m4: Add. 2004-07-16 Simon Josefsson * gl/dummy.c, lib/gl/dummy.c: Typo. 2004-07-16 Simon Josefsson * gl/Makefile.am, gl/dummy.c, lib/gl/Makefile.am, lib/gl/dummy.c: Add. 2004-07-13 Simon Josefsson * doc/specification/draft-melnikov-ldap-distr-auth-00.txt: Add. 2004-07-13 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-03.txt: Add. 2004-07-10 Simon Josefsson * doc/gsasl.texi: Fix. 2004-07-10 Simon Josefsson * doc/gsasl.texi: Fix. 2004-07-10 Simon Josefsson * lib/src/xstep.c: Use allocating interface, if present. 2004-07-10 Simon Josefsson * lib/src/internal.h: Add allocating "step" interface. 2004-07-10 Simon Josefsson * lib/src/callback-c.c, lib/src/callback-s.c: Don't crash on if handed NULL input. 2004-07-10 Simon Josefsson * tests/cram-md5.c: Fix mem leak. 2004-07-05 Simon Josefsson * NEWS: Mention SMTP. 2004-07-05 Simon Josefsson * tests/utils.c: Add. 2004-07-05 Simon Josefsson * doc/gsasl.texi, tests/Makefile.am, tests/cram-md5.c, tests/simple.c: Fix. 2004-07-05 Simon Josefsson * configure.ac: Add comment. 2004-07-05 Simon Josefsson * tests/simple.c: Use config.h's. 2004-07-03 Simon Josefsson * configure.ac: Use config.h again. 2004-07-02 Simon Josefsson * lib/NEWS: Add. 2004-07-02 Simon Josefsson * configure.ac: Cosmetic fix. 2004-07-02 Simon Josefsson * NEWS: Add. 2004-07-02 Simon Josefsson * gl/.cvsignore: [no log message] 2004-07-02 Simon Josefsson * gl/readline.c: Fix. 2004-07-02 Simon Josefsson * gl/Makefile.am: Update getopt stuff. 2004-07-02 Simon Josefsson * gl/getopt.c, gl/getopt1.c, gl/{getopt.h => getopt_.h}, gl/m4/getopt.m4: Update getopt, to make cross compile builds to uClibc systems work. 2004-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-07.txt: Add. 2004-06-29 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-08.txt: Add. 2004-06-29 Simon Josefsson * doc/gsasl.texi: Add. 2004-06-28 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-01.txt: Add. 2004-06-28 Simon Josefsson * src/gsasl.ggo: Fix. 2004-06-28 Simon Josefsson * src/callbacks.c: (client_callback_passcoe): Use getpassword. 2004-06-28 Simon Josefsson * src/gsasl.ggo: Make -d the default. 2004-06-28 Simon Josefsson * src/callbacks.c: Don't prompt for authzid. 2004-06-28 Simon Josefsson * src/gsasl.ggo: Fix. 2004-06-28 Simon Josefsson * NEWS, gl/getpassword.c: Add. 2004-06-28 Simon Josefsson * gl/getpassword.c: Fix. 2004-06-28 Simon Josefsson * src/callbacks.c: Use getpassword. 2004-06-28 Simon Josefsson * gl/Makefile.am, gl/getpassword.c, gl/getpassword.h: Add. 2004-06-28 Simon Josefsson * src/callbacks.c: Use extern readline. 2004-06-28 Simon Josefsson * gl/readline.c: Add. 2004-06-28 Simon Josefsson * gl/Makefile.am: (libgl_la_SOURCES) [!READLINE]: Add readline.c. 2004-06-28 Simon Josefsson * configure.ac: Proper readline tests. 2004-06-28 Simon Josefsson * configure.ac: Look for readline properly. 2004-06-28 Simon Josefsson * configure.ac: Look for readline. 2004-06-27 Simon Josefsson * src/smtp.c: Fix EHLO greeting. 2004-06-27 Simon Josefsson * src/smtp.c: Parse SASL mechanisms from EHLO. 2004-06-27 Simon Josefsson * tests/Makefile.am: Clear DEFS. 2004-06-27 Simon Josefsson * tests/simple.c: Include config.h unconditionally. 2004-06-27 Simon Josefsson * tests/cram-md5.c, tests/utils.c: Don't #include config.h. 2004-06-27 Simon Josefsson * tests/Makefile.am: Use AM_CPPFLAGS, only one config.h now. 2004-06-27 Simon Josefsson * configure.ac: Don't use config.h. 2004-06-27 Simon Josefsson * configure.ac, lib/configure.ac, src/internal.h: Assume standard C. 2004-06-27 Simon Josefsson * src/gsasl.c, src/internal.h: Avoid errno. 2004-06-27 Simon Josefsson * configure.ac: Remove errno and uid_t tests. 2004-06-27 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2004-06-26 Simon Josefsson * po/sv.po: Generated. 2004-06-26 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-06-26 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.1. 2004-06-26 Simon Josefsson * lib/configure.ac: Bump so version. 2004-06-26 Simon Josefsson * lib/ChangeLog: [no log message] 2004-06-26 Simon Josefsson * lib/cram-md5/Makefile.am, lib/src/Makefile.am: Fix -I's. 2004-06-26 Simon Josefsson * lib/po/sv.po: Generated. 2004-06-26 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-26 Simon Josefsson * lib/configure.ac: Default libgcrypt off. 2004-06-26 Simon Josefsson * lib/configure.ac, lib/crypto/Makefile.am: (NETTLE_CFLAGS, NETTLE_LIBS): Remove. 2004-06-26 Simon Josefsson * tests/Makefile.am: Add. 2004-06-26 Simon Josefsson * lib/crypto/gc-nettle.c: Fix. 2004-06-26 Simon Josefsson * doc/reference/Makefile.am: Fix. 2004-06-26 Simon Josefsson * doc/reference/Makefile.am: Fix. 2004-06-26 Simon Josefsson * NEWS: Add. 2004-06-26 Simon Josefsson * doc/gsasl.texi, lib/NEWS: Fix. 2004-06-26 Simon Josefsson * lib/crypto/gc.h: Fix (for GTK-DOC). 2004-06-26 Simon Josefsson * doc/gsasl.texi: Fix. 2004-06-26 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/getopt_int.h: Update. 2004-06-26 Simon Josefsson * lib/NEWS: Add. 2004-06-26 Simon Josefsson * lib/NEWS: Add. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-24 Simon Josefsson * doc/gsasl.texi: Add. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Fix. 2004-06-24 Simon Josefsson * tests/.cvsignore: [no log message] 2004-06-24 Simon Josefsson * tests/cram-md5.c: Add. 2004-06-24 Simon Josefsson * tests/Makefile.am: Add cram-md5. 2004-06-24 Simon Josefsson * tests/cram-md5.c: Add. 2004-06-24 Simon Josefsson * lib/src/Makefile.am: Remove crypto.h. 2004-06-24 Simon Josefsson * tests/simple.c: Use utils.*. 2004-06-24 Simon Josefsson * tests/utils.c, tests/utils.h: Fix. 2004-06-24 Simon Josefsson * tests/Makefile.am: Build utils. 2004-06-24 Simon Josefsson * tests/utils.c, tests/utils.h: Add. 2004-06-18 Simon Josefsson * lib/kerberos_v5/Makefile.am, lib/ntlm/Makefile.am: Fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/digest.c: Add doc. 2004-06-18 Simon Josefsson * lib/cram-md5/digest.c: Cleanup. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Cleanup. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c: Fix. 2004-06-18 Simon Josefsson * lib/cram-md5/challenge.c, lib/cram-md5/challenge.h: Fix. 2004-06-18 Simon Josefsson * lib/src/Makefile.am, lib/src/crypto.c, lib/src/obsolete.c: De-deprecate crypto API (may be need by applications that use callbacks to verify HMAC-MD5 cookies). 2004-06-18 Simon Josefsson * lib/NEWS, lib/src/gsasl.h.in: Revert. 2004-06-18 Simon Josefsson * lib/NEWS: Fix. 2004-06-18 Simon Josefsson * lib/src/gsasl.h.in, lib/src/obsolete.c: (gsasl_nonce, gsasl_random): Remove. 2004-06-17 Simon Josefsson * lib/src/gsasl.h.in: Move obsolete functions around. 2004-06-17 Simon Josefsson * lib/Makefile.am, lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/crypto/.cvsignore, lib/crypto/Makefile.am, lib/{src/libgcrypt.c => crypto/gc-libgcrypt.c}, lib/crypto/gc-nettle.c, lib/crypto/gc.h, lib/src/Makefile.am, lib/src/crypto.h, lib/src/init.c, lib/src/nettle.c, lib/src/obsolete.c: Initiate creation of GC ("generic crypto") as non-GSASL specific Nettle/Libgcrypt wrapper. Obsolete gsasl_nonce, gsasl_random, gsasl_md5, gsasl_hmac_md5. 2004-06-17 Simon Josefsson * lib/cram-md5/digest.c: Add. 2004-06-17 Simon Josefsson * lib/cram-md5/digest.h: Fix. 2004-06-17 Simon Josefsson * lib/cram-md5/digest.h: Add. 2004-06-17 Simon Josefsson * tests/Makefile.am: Modify DEFAULT_INCLUDES instead of AM_CPPFLAGS, because the Automake defaults will make us pick up the wrong config.h. (This uses undocumented features, how to solve cleanly?) 2004-06-17 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-08 Simon Josefsson * lib/cram-md5/challenge.h: Doc fix. 2004-06-08 Simon Josefsson * lib/cram-md5/challenge.h: Doc fix. 2004-06-07 Simon Josefsson * lib/cram-md5/challenge.c: Doc fix. 2004-06-07 Simon Josefsson * lib/src/nettle.c: Doc fix. 2004-06-07 Simon Josefsson * lib/NEWS: Fix. 2004-06-07 Simon Josefsson * lib/src/libgcrypt.c, lib/src/nettle.c: (gsasl_randomize): Rename to gsasl_random. 2004-06-07 Simon Josefsson * lib/src/obsolete.c: (gsasl_randomize): Add. 2004-06-07 Simon Josefsson * lib/src/gsasl.h.in: (gsasl_random): Add. (gsasl_randomize): Make backwards compatible. Now an obsolete function. 2004-06-07 Simon Josefsson * lib/digest-md5/digest-md5.c: Use gsasl_nonce. 2004-06-07 Simon Josefsson * lib/cram-md5/cram-md5.c: Use challenge.h interface. 2004-06-07 Simon Josefsson * lib/cram-md5/Makefile.am, lib/cram-md5/challenge.c, lib/cram-md5/challenge.h: challenge.h, challenge.c: Add. 2004-06-07 Simon Josefsson * lib/NEWS: Add. 2004-06-07 Simon Josefsson * lib/src/nettle.c: (gsasl_randomize): Don't take "strong" parameter. (gsasl_nonce, randomize): Add. 2004-06-07 Simon Josefsson * lib/src/gsasl.h.in, lib/src/libgcrypt.c: (gsasl_randomize): Don't take "strong" parameter. (gsasl_nonce): Add. 2004-06-06 Simon Josefsson * doc/specification/sasl-mechanisms: Update. 2004-06-06 Simon Josefsson * lib/NEWS, lib/THANKS: Add. 2004-06-06 Simon Josefsson * lib/src/suggest.c: Indent. 2004-06-06 Simon Josefsson * lib/src/suggest.c: (gsasl_client_suggest_mechanism, gsasl_server_suggest_mechanism): Implement them, patch from Dirk Dierckx . 2004-05-21 Simon Josefsson * doc/specification/draft-newman-sasl-c-api-03.txt: Add. 2004-04-30 Simon Josefsson * tests/Makefile.am: Use -no-install to avoid libtool wrapper script. 2004-04-30 Simon Josefsson * tests/simple.c: Fix warnings. 2004-04-30 Simon Josefsson * tests/simple.c: Fix warnings. 2004-04-30 Simon Josefsson * lib/digest-md5/digest-md5.c, lib/gssapi/gssapi.c, src/gsasl.c, src/internal.h: Fix warnings. 2004-04-29 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-09.txt: Add. 2004-04-24 Simon Josefsson * lib/kerberos_v5/Makefile.am, lib/ntlm/Makefile.am: Fix license. 2004-04-24 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/ntlm/ntlm.c, lib/ntlm/x-ntlm.h: Fix license. 2004-04-21 Simon Josefsson * lib/src/common.c: Add GSSAPI client encode/decode. 2004-04-21 Simon Josefsson * lib/gssapi/x-gssapi.h: Add. 2004-04-21 Simon Josefsson * src/callbacks.c: (client_callback_qop): Default to none, for now. 2004-04-21 Simon Josefsson * lib/gssapi/gssapi.c: Initial client-side integrity/confidentiality layer support. 2004-04-21 Simon Josefsson * AUTHORS: Update PGP key. 2004-04-21 Simon Josefsson * lib/gssapi/gssapi.c: Use GSS_ERROR. 2004-04-18 Simon Josefsson * lib/libgsasl.pc.in: Drop -R libs flag. 2004-04-16 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix paths. 2004-04-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: [no log message] 2004-04-16 Simon Josefsson * lib/po/sv.po: Generated. 2004-04-16 Simon Josefsson * lib/Makefile.am: Fix release target. 2004-04-16 Simon Josefsson * lib/ChangeLog: [no log message] 2004-04-16 Simon Josefsson * NEWS, lib/NEWS: Version 0.1.0. 2004-04-16 Simon Josefsson * doc/specification/draft-burdis-cat-srp-sasl-08.txt: Add. 2004-04-16 Simon Josefsson * README-alpha, lib/README-alpha: Fix versions. 2004-04-16 Simon Josefsson * Makefile.am: Fix release target. 2004-04-16 Simon Josefsson * lib/Makefile.am: Add release target. 2004-04-16 Simon Josefsson * lib/NEWS: Add. 2004-04-16 Simon Josefsson * NEWS, configure.ac, lib/NEWS, lib/configure.ac: Bump versions. 2004-04-16 Simon Josefsson * lib/src/Makefile.am: Fix -I's. 2004-04-16 Simon Josefsson * Makefile.am, lib/Makefile.am: Fix ChangeLog target. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: Update. 2004-04-16 Simon Josefsson * README, lib/README: Fix. 2004-04-16 Simon Josefsson * lib/gl/m4/strdup.m4: Add. 2004-04-16 Simon Josefsson * gl/m4/getopt.m4: Re-add (accidentally removed). 2004-04-16 Simon Josefsson * lib/m4/check_headerlib.m4: Cosmetic fixes. 2004-04-16 Simon Josefsson * gl/m4/getopt.m4: Remove. 2004-04-16 Simon Josefsson * lib/src/gsasl.h.in: Fix license. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: Update. 2004-04-16 Simon Josefsson * lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am, lib/src/Makefile.am, src/Makefile.am, tests/Makefile.am: Remove indent target. 2004-04-16 Simon Josefsson * Makefile.am: Typo. 2004-04-16 Simon Josefsson * .cvscopying: [no log message] 2004-04-16 Simon Josefsson * Makefile.am: Fix ChangeLog target. Remove indent target. 2004-04-16 Simon Josefsson * lib/Makefile.am: Fix ChangeLog target. 2004-04-16 Simon Josefsson * .cvscopying: Fix. 2004-04-16 Simon Josefsson * Makefile.am: Fix ChangeLog target. 2004-04-16 Simon Josefsson * m4/.cvsignore: [no log message] 2004-04-16 Simon Josefsson * configure.ac, lib/configure.ac: Use modern software. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog, lib/po/sv.po: Generated. 2004-04-16 Simon Josefsson * po/sv.po: Fix. 2004-04-16 Simon Josefsson * src/gsasl.c: Typo. 2004-04-16 Simon Josefsson * doc/reference/Makefile.am: Fix HIGNORE. 2004-04-16 Simon Josefsson * ChangeLog, lib/ChangeLog: Generated. 2004-04-16 Simon Josefsson * lib/Makefile.am: Add ChangeLog target. 2004-04-16 Simon Josefsson * NEWS, lib/NEWS: Remove. 2004-04-16 Simon Josefsson * lib/gl/strdup.h: Revert to my own version, for LGPL. 2004-04-15 Simon Josefsson * lib/gl/strdup.c: Copy from libc, for LGPL, and fix some things. 2004-04-15 Simon Josefsson * lib/gl/gettext.h: From gettext CVS, with LGPL. 2004-04-15 Simon Josefsson * lib/crypto/Makefile.am: Fix license. Remove alloca. 2004-04-15 Simon Josefsson * lib/crypto/Makefile.am, lib/crypto/cbc.h, lib/crypto/nettle-internal.h, lib/crypto/nettle-meta.h: Update. 2004-04-15 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-04-15 Simon Josefsson * README, lib/README: Fix. 2004-04-15 Simon Josefsson * lib/README: Add. 2004-04-15 Simon Josefsson * lib/po/sv.po, po/sv.po: Generated. 2004-04-15 Simon Josefsson * doc/reference/Makefile.am: Fix HIGNORE. 2004-04-15 Simon Josefsson * src/gsasl.c: Translation fixes. 2004-04-15 Simon Josefsson * README, doc/gsasl.texi, po/sv.po, src/callbacks.h: Fix. 2004-04-15 Simon Josefsson * src/gsasl.c: Translation fixes. 2004-04-15 Simon Josefsson * po/sv.po: Fix. 2004-04-15 Simon Josefsson * doc/reference/Makefile.am: Revert HIGNORE change. 2004-04-15 Simon Josefsson * po/pl.po: Remove (for now). 2004-04-15 Simon Josefsson * THANKS: Fix. 2004-04-15 Simon Josefsson * COPYING, NEWS, lib/README-alpha, lib/THANKS: Add. 2004-04-15 Simon Josefsson * po/LINGUAS: Remove Polish (for now). 2004-04-15 Simon Josefsson * lib/po/POTFILES.in, po/POTFILES.in: Fix. 2004-04-15 Simon Josefsson * doc/Makefile.am, doc/reference/Makefile.am, src/Makefile.am, tests/Makefile.am: Fix paths. 2004-04-15 Simon Josefsson * lib/po/sv.po: Update. 2004-04-15 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h: Revert license. 2004-04-15 Simon Josefsson * lib/kerberos_v5/Makefile.am: Fix -I's. 2004-04-15 Simon Josefsson * lib/po/sv.po: Fixes. 2004-04-15 Simon Josefsson * lib/po/LINGUAS, lib/po/pl.po: Remove Polish (for now). 2004-04-15 Simon Josefsson * lib/src/callback-c.c, lib/src/callback-s.c, lib/src/callback.c, lib/src/common.c, lib/src/crypto.h, lib/src/done.c, lib/src/error.c, lib/src/gsasl.h.in, lib/src/init.c, lib/src/internal.h, lib/src/libgcrypt.c, lib/src/listmech.c, lib/src/md5pwd.c, lib/src/nettle.c, lib/src/obsolete.c, lib/src/stringprep-no.c, lib/src/stringprep.c, lib/src/suggest.c, lib/src/supportp.c, lib/src/version.c, lib/src/xcode.c, lib/src/xfinish.c, lib/src/xstart.c, lib/src/xstep.c: Fix license. 2004-04-15 Simon Josefsson * lib/login/Makefile.am, lib/plain/Makefile.am: Fix -I's. 2004-04-15 Simon Josefsson * lib/cram-md5/Makefile.am: Fix license. Fix -I's. 2004-04-15 Simon Josefsson * lib/anonymous/Makefile.am, lib/anonymous/anonymous.c, lib/anonymous/anonymous.h, lib/cram-md5/cram-md5.c, lib/cram-md5/cram-md5.h, lib/digest-md5/Makefile.am, lib/digest-md5/digest-md5.c, lib/digest-md5/digest-md5.h, lib/external/Makefile.am, lib/external/external.c, lib/external/external.h, lib/gssapi/Makefile.am, lib/gssapi/gssapi.c, lib/gssapi/x-gssapi.h, lib/kerberos_v5/Makefile.am, lib/kerberos_v5/kerberos_v5.c, lib/kerberos_v5/kerberos_v5.h, lib/login/Makefile.am, lib/login/login.c, lib/login/login.h, lib/plain/Makefile.am, lib/plain/plain.c, lib/plain/plain.h, lib/securid/Makefile.am, lib/securid/securid.c, lib/securid/securid.h: Fix license. 2004-04-15 Simon Josefsson * lib/COPYING: Add. 2004-04-15 Simon Josefsson * lib/.cvsignore, lib/m4/.cvsignore: [no log message] 2004-04-15 Simon Josefsson * lib/.cvsignore, lib/m4/.cvsignore, lib/po/.cvsignore, lib/src/.cvsignore: [no log message] 2004-04-15 Simon Josefsson * lib/configure.ac: Build src/Makefile. 2004-04-15 Simon Josefsson * lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gssapi/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am: Fix paths. 2004-04-15 Simon Josefsson * lib/configure.ac: Build gl/Makefile. 2004-04-15 Simon Josefsson * lib/po/POTFILES.in: Fix. 2004-04-15 Simon Josefsson * lib/Makefile.am, lib/configure.ac, lib/src/Makefile.am, lib/{ => src}/base64.c, lib/{ => src}/callback-c.c, lib/{ => src}/callback-s.c, lib/{ => src}/callback.c, lib/{ => src}/common.c, lib/{ => src}/crypto.h, lib/{ => src}/done.c, lib/{ => src}/error.c, lib/{ => src}/gsasl.h.in, lib/{ => src}/init.c, lib/{ => src}/internal.h, lib/{ => src}/libgcrypt.c, lib/{ => src}/listmech.c, lib/{ => src}/md5pwd.c, lib/{ => src}/nettle.c, lib/{ => src}/obsolete.c, lib/{ => src}/stringprep-no.c, lib/{ => src}/stringprep.c, lib/{ => src}/suggest.c, lib/{ => src}/supportp.c, lib/{ => src}/version.c, lib/{ => src}/xcode.c, lib/{ => src}/xfinish.c, lib/{ => src}/xstart.c, lib/{ => src}/xstep.c: Move *.{c,h,h.in} from to src/. 2004-04-15 Simon Josefsson * lib/Makefile.am, lib/gl/.cvsignore, lib/gl/Makefile.am, lib/gl/gettext.h, lib/gl/strdup.c, lib/gl/strdup.h: Add gl/. 2004-04-15 Simon Josefsson * lib/Makefile.am: Fix license. 2004-04-15 Simon Josefsson * lib/po/.cvsignore, lib/po/LINGUAS, lib/po/Makevars, lib/po/POTFILES.in, lib/po/pl.po, lib/po/sv.po: Add. 2004-04-15 Simon Josefsson * lib/Makefile.am: Fix NTLM. 2004-04-15 Simon Josefsson * lib/configure.ac: Use gettext 0.14.0. Remove non-C89 stuff. 2004-04-15 Simon Josefsson * lib/ChangeLog: Add. 2004-04-15 Simon Josefsson * lib/AUTHORS, lib/NEWS, lib/README, lib/THANKS: Add. 2004-04-15 Simon Josefsson * lib/Makefile.am: Add ACLOCAL_AMFLAGS. 2004-04-15 Simon Josefsson * {m4 => lib/m4}/ax_create_stdint_h.m4, {m4 => lib/m4}/check_headerlib.m4, {m4 => lib/m4}/libgcrypt.m4: Move library m4's from m4/ to lib/m4. 2004-04-15 Simon Josefsson * lib/configure.ac: Autoupdated. 2004-04-15 Simon Josefsson * lib/Makefile.am: Recurse into po/. 2004-04-15 Simon Josefsson * lib/autogen.sh: Add. 2004-04-15 Simon Josefsson * lib/Makefile.am: Add libgsasl.pc*. Recurse into crypto/ if needed. 2004-04-15 Simon Josefsson * lib/configure.ac: Add, taken mostly from ../configure.ac. 2004-04-15 Simon Josefsson * configure.ac: Remove most of library specific code. Add AC_CONFIG_SUBDIRS(lib). 2004-04-15 Simon Josefsson * Makefile.am: Don't build libgsasl.pc here. Don't recurse into crypto/. 2004-04-15 Simon Josefsson * {crypto => lib/crypto}/.cvsignore, {crypto => lib/crypto}/Makefile.am, {crypto => lib/crypto}/README, {crypto => lib/crypto}/README.gsasl, {crypto => lib/crypto}/hmac-md5.c, {crypto => lib/crypto}/hmac.c, {crypto => lib/crypto}/hmac.h, {crypto => lib/crypto}/macros.h, {crypto => lib/crypto}/md5-meta.c, {crypto => lib/crypto}/md5.c, {crypto => lib/crypto}/md5.h, {crypto => lib/crypto}/memxor.c, {crypto => lib/crypto}/memxor.h, {crypto => lib/crypto}/nettle-internal.h, {crypto => lib/crypto}/nettle-meta.h: Move crypto/ from top-level to lib/. 2004-04-15 Simon Josefsson * libgsasl.pc.in => lib/libgsasl.pc.in: Move libgsasl.pc.in from top-level to lib/. 2004-04-13 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-03.tx t, doc/specification/draft-siemborski-rfc1734bis-03.txt, doc/specification/draft-siemborski-rfc2554bis-03.txt: Add. 2004-04-12 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-08.txt: Add. 2004-03-23 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-07.txt: Add. 2004-03-10 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-06.txt: Add. 2004-03-09 Simon Josefsson * THANKS: Add. 2004-03-09 Simon Josefsson * doc/gsasl.texi: Fix example code, reported by Tomas Ogren . 2004-03-05 Simon Josefsson * doc/specification/draft-melnikov-rfc2831bis-02.txt: Add. 2004-02-29 Simon Josefsson * NEWS: Add. 2004-02-29 Simon Josefsson * gl/strdup.c, gl/strdup.h: Sync with gnulib. 2004-02-29 Simon Josefsson * po/.cvsignore: [no log message] 2004-02-29 Simon Josefsson * THANKS, po/LINGUAS, po/pl.po: Add Polish translation, from Jakub Bogusz . 2004-02-17 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-04.txt, doc/specification/draft-ietf-sasl-rfc2831bis-03.txt: Add. 2004-02-17 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-03.txt, doc/specification/draft-ietf-sasl-saslprep-05.txt: Add. 2004-02-16 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-06.txt: Add. 2004-01-28 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-02.txt, doc/specification/draft-ietf-sasl-rfc2222bis-05.txt: Add. 2004-01-23 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.c, gl/strdup.h: Update. 2004-01-23 Simon Josefsson * gl/strdup.h: Fix. 2004-01-22 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-22 Simon Josefsson * ChangeLog: [no log message] 2004-01-22 Simon Josefsson * NEWS: Version 0.0.14. 2004-01-22 Simon Josefsson * po/sv.po: Update. 2004-01-21 Simon Josefsson * doc/specification/sasl-mechanisms: Add. 2004-01-18 Simon Josefsson * lib/Makefile.am: Fix NTLM. 2004-01-18 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.h: Fix. 2004-01-18 Simon Josefsson * doc/Makefile.am: Add fdl.texi. 2004-01-18 Simon Josefsson * doc/fdl.texi: Add. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Fix -I's. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Fix -Igl. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Add FDL. Remove final TOCs. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Use FDL 1.2. 2004-01-18 Simon Josefsson * doc/Makefile.am, doc/fdl.texi, doc/gpl.texi, doc/gsasl.texi: Remove gpl.texi and fdl.texi for now. 2004-01-18 Simon Josefsson * NEWS: Add. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Fix. 2004-01-18 Simon Josefsson * doc/gsasl.texi: Add. 2004-01-18 Simon Josefsson * src/internal.h: Include strdup.h. 2004-01-18 Simon Josefsson * gl/strdup.h: Add. 2004-01-18 Simon Josefsson * gl/Makefile.am: Add strdup.h. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am, lib/kerberos_v5/Makefile.am: Need -lgl. 2004-01-18 Simon Josefsson * lib/digest-md5/digest-md5.c, lib/kerberos_v5/kerberos_v5.c: Include strdup.h. 2004-01-18 Simon Josefsson * doc/reference/Makefile.am: Fix ignore. 2004-01-18 Simon Josefsson * doc/reference/Makefile.am: Fix HIGNORE. 2004-01-18 Simon Josefsson * gl/m4/strdup.m4, gl/strdup.c: Add. 2004-01-18 Simon Josefsson * configure.ac: Add strdup. 2004-01-18 Simon Josefsson * src/getopt.c, src/getopt.h, src/getopt1.c: Moved to ../gl/. 2004-01-18 Simon Josefsson * lib/Makefile.am, lib/gettext.h: Use -Igl instead of gettext.h. 2004-01-18 Simon Josefsson * src/Makefile.am: Add -Igl, for gettext.h. 2004-01-18 Simon Josefsson * src/Makefile.am: Replace getopt with -lgl from ../gl/. 2004-01-18 Simon Josefsson * gl/.cvsignore: [no log message] 2004-01-18 Simon Josefsson * Makefile.am: Aclocal -I gl/m4. 2004-01-18 Simon Josefsson * gl/Makefile.am, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/gettext.h, gl/m4/getopt.m4: Add. 2004-01-18 Simon Josefsson * configure.ac: Remove old getopt test. 2004-01-18 Simon Josefsson * Makefile.am: Add gl/. 2004-01-18 Simon Josefsson * configure.ac: Use getopt from gnulib. Add gl/. 2004-01-18 Simon Josefsson * src/gsasl.c, src/imap.c: Indent. 2004-01-18 Simon Josefsson * lib/init.c: Move _gsasl_crypto_init prototype to crypto.h. 2004-01-18 Simon Josefsson * lib/nettle.c: Include crypto.h. Fix warnings. 2004-01-18 Simon Josefsson * lib/libgcrypt.c: Fix warnings. 2004-01-18 Simon Josefsson * lib/libgcrypt.c: Include crypto.h. 2004-01-18 Simon Josefsson * lib/Makefile.am, lib/crypto.h: Add crypto.h. 2004-01-18 Simon Josefsson * lib/digest-md5/digest-md5.c: Use nettle-types.h for uint32_t etc. Fix warning. 2004-01-18 Simon Josefsson * lib/digest-md5/Makefile.am: Add. 2004-01-17 Simon Josefsson * NEWS: Add. 2004-01-17 Simon Josefsson * lib/anonymous/.cvsignore, lib/cram-md5/.cvsignore, lib/digest-md5/.cvsignore, lib/external/.cvsignore, lib/gssapi/.cvsignore, lib/kerberos_v5/.cvsignore, lib/login/.cvsignore, lib/ntlm/.cvsignore, lib/plain/.cvsignore, lib/securid/.cvsignore: [no log message] 2004-01-17 Simon Josefsson * configure.ac, lib/Makefile.am, lib/anonymous/Makefile.am, lib/cram-md5/Makefile.am, lib/digest-md5/Makefile.am, lib/external/Makefile.am, lib/gssapi/Makefile.am, lib/kerberos_v5/Makefile.am, lib/login/Makefile.am, lib/ntlm/Makefile.am, lib/plain/Makefile.am, lib/securid/Makefile.am: Build helper libraries for each mechanism. 2004-01-17 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-17 Simon Josefsson * Makefile.am: Fix release target. 2004-01-17 Simon Josefsson * ChangeLog: [no log message] 2004-01-17 Simon Josefsson * doc/gsasl.texi: Fix title. 2004-01-17 Simon Josefsson * crypto/Makefile.am: Add nettle-types.h to BUILT_SOURCES and DISTCLEANFILES. 2004-01-17 Simon Josefsson * crypto/Makefile.am: Dist nettle-internal.h. 2004-01-17 Simon Josefsson * NEWS: Version 0.0.13. 2004-01-17 Simon Josefsson * po/sv.po: Generated. 2004-01-17 Simon Josefsson * Makefile.am: Fix release target. 2004-01-17 Simon Josefsson * NEWS: Add. 2004-01-17 Simon Josefsson * configure.ac, crypto/hmac.c, crypto/hmac.h, crypto/md5.h, crypto/memxor.h, crypto/nettle-internal.h, crypto/nettle-meta.h, m4/ax_create_stdint_h.m4: Update Nettle files. Use ax_create_stdint_h, for Nettle. 2004-01-17 Simon Josefsson * crypto/.cvsignore, po/.cvsignore: [no log message] 2004-01-16 Simon Josefsson * po/gsasl.pot: Remove. 2004-01-15 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-15 Simon Josefsson * ChangeLog: [no log message] 2004-01-15 Simon Josefsson * NEWS: Version 0.0.12. 2004-01-15 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2004-01-15 Simon Josefsson * Makefile.am: (release): Use binary PGP. Add ftp-upload.gnu.org stuff. Use CSS. 2004-01-15 Simon Josefsson * doc/gendocs.sh: Upstream sync. 2004-01-15 Simon Josefsson * src/imap.c: (imap_step_recv): Remove \r\n from SASL base64 tokens. 2004-01-14 Simon Josefsson * NEWS: Add. 2004-01-14 Simon Josefsson * NEWS: Add. 2004-01-14 Simon Josefsson * src/imap.c: (imap_select_mechanism): Read capability line and capability command response in two separate calls. 2004-01-14 Simon Josefsson * src/gsasl.c: (readln): For sockets, just read one line at a time. 2004-01-14 Simon Josefsson * lib/obsolete.c: (gsasl_client_listmech, gsasl_server_listmech): Make room for \0. 2004-01-12 Simon Josefsson * src/gsasl.c: Fix messages. 2004-01-10 Simon Josefsson * doc/Makefile.am: Maintainerclean man pages. 2004-01-10 Simon Josefsson * doc/Makefile.am: Fix gsasl.1 depends. 2004-01-10 Simon Josefsson * doc/Makefile.am: Dist texinfo.css. 2004-01-10 Simon Josefsson * doc/gendocs.sh: Sync with texinfo. 2004-01-10 Simon Josefsson * doc/gendocs_template: Remove DocBook. 2004-01-10 Simon Josefsson * doc/gsasl.texi: Fix title. Use @finalout. 2004-01-10 Simon Josefsson * doc/Makefile.am: Use CSS for HTML. 2004-01-10 Simon Josefsson * doc/texinfo.css: Add. 2004-01-06 Simon Josefsson * NEWS, configure.ac: Bump versions. 2004-01-06 Simon Josefsson * ChangeLog: [no log message] 2004-01-06 Simon Josefsson * NEWS: Version 0.0.11. 2004-01-06 Simon Josefsson * doc/gsasl.texi: Use ASCII encoding. Bump copyright years. 2004-01-06 Simon Josefsson * README-alpha: Fix. 2004-01-01 Simon Josefsson * autogen.sh, configure.ac: Work with autoconf 2.58, automake 1.7, libtool 1.5. 2004-01-01 Simon Josefsson * lib/stringprep-no.c: Handle NULL stringprep_rc. 2003-12-31 Simon Josefsson * doc/specification/draft-ietf-sasl-gssapi-00.txt: Add. 2003-12-23 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-04.txt: Add. 2003-12-22 Simon Josefsson * .cvsignore: [no log message] 2003-12-22 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-12-22 Simon Josefsson * COPYING: Remove. 2003-12-22 Simon Josefsson * configure.ac: Fix. 2003-12-22 Simon Josefsson * crypto/README, crypto/README.gsasl: Fix. 2003-12-10 Simon Josefsson * README-alpha: Fix. 2003-12-10 Simon Josefsson * doc/reference/gsasl-docs.tmpl: Sync. 2003-12-07 Simon Josefsson * NEWS, doc/Makefile.am: Remove DocBook (for now). 2003-12-07 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-03d.txt: Add. 2003-12-06 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-02.tx t, doc/specification/draft-siemborski-rfc1734bis-02.txt, doc/specification/draft-siemborski-rfc2554bis-02.txt: Add. 2003-12-01 Simon Josefsson * lib/stringprep.c: (gsasl_stringprep_saslprep): Fix return value check. (gsasl_stringprep_trace): Likewise. 2003-12-01 Simon Josefsson * NEWS: Add. 2003-12-01 Simon Josefsson * src/gsasl.c: (select_mechanism): Don't prompt for mechanism name when --mechanism is used. 2003-12-01 Simon Josefsson * lib/gsasl.h.in: Add GSASL_SASLPREP_ERROR. 2003-12-01 Simon Josefsson * lib/cram-md5/cram-md5.c: Use SASLprep. Fix challenge string to conform to proper syntax. 2003-12-01 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-01.txt: Add. 2003-11-30 Simon Josefsson * README: Fix. 2003-11-25 Simon Josefsson * src/gsasl.ggo: Add section and typestr. 2003-11-25 Simon Josefsson * configure.ac: Disable fortran etc libtool tests. 2003-11-24 Simon Josefsson * lib/xstep.c: (gsasl_step64): Fix deallocation of output. 2003-11-23 Simon Josefsson * Makefile.am: Remove ANNOUNCE. 2003-11-23 Simon Josefsson * ANNOUNCE: Remove. 2003-11-23 Simon Josefsson * doc/gsasl.texi: Add. 2003-11-22 Simon Josefsson * NEWS, configure.ac: Bump versions. 2003-11-22 Simon Josefsson * lib/listmech.c: Doc fix. 2003-11-22 Simon Josefsson * ChangeLog: [no log message] 2003-11-22 Simon Josefsson * NEWS: Version 0.0.10. 2003-11-22 Simon Josefsson * NEWS: Fix. 2003-11-22 Simon Josefsson * lib/gsasl.h.in: Whitespace fixes to help GTK-DOC parser. 2003-11-22 Simon Josefsson * src/Makefile.am: Fix indent target. 2003-11-22 Simon Josefsson * NEWS: Add. 2003-11-22 Simon Josefsson * lib/cram-md5/cram-md5.c: (_gsasl_cram_md5_server_step): Don't always return GSASL_OK. Tiny patch from Sergey Poznyakoff . 2003-11-22 Simon Josefsson * m4/pkg.m4: Remove (not used any more). 2003-11-22 Simon Josefsson * NEWS, THANKS: Add. 2003-11-22 Simon Josefsson * doc/Makefile.am: Only descend into reference/ if ENABLE_GTK_DOC. 2003-11-22 Simon Josefsson * configure.ac: Use sj_CHECK_HEADERLIB for libidn. Fix sj_CHECK_HEADERLIB logic for KERBEROS_V5. 2003-11-22 Simon Josefsson * m4/check_headerlib.m4: Add to $LIBS. 2003-11-22 Simon Josefsson * configure.ac: Rename subst CRYPTO_* to NETTLE_*. Remove subst GSSAPI_*. 2003-11-22 Simon Josefsson * lib/Makefile.am: Remove unneeded @@'s. 2003-11-22 Simon Josefsson * configure.ac: Replace PKG_CHECK_MODULES with sj_CHECK_HEADERLIB. 2003-11-22 Simon Josefsson * m4/check_headerlib.m4: Add. 2003-11-21 Simon Josefsson * ANNOUNCE: Fix. 2003-11-21 Simon Josefsson * Makefile.am: Cleanup EXTRA_DIST. 2003-11-21 Simon Josefsson * Makefile.am: Cleanup EXTRA_DIST. 2003-11-21 Simon Josefsson * lib/xstep.c: Doc fix. 2003-11-21 Simon Josefsson * doc/gendocs_template: Fix last commit. 2003-11-21 Simon Josefsson * doc/gendocs_template: Fix doxygen links. 2003-11-21 Simon Josefsson * NEWS, configure.ac: Bump versions. 2003-11-21 Simon Josefsson * NEWS: Version 0.0.9. 2003-11-21 Simon Josefsson * Makefile.am: Fix release target. 2003-11-21 Simon Josefsson * .cvscopying, ChangeLog: [no log message] 2003-11-21 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-11-21 Simon Josefsson * src/callbacks.c: Remove bogus args_info declaration. 2003-11-21 Simon Josefsson * lib/common.c, lib/digest-md5/digest-md5.c, src/callbacks.c, src/gsasl.c, src/imap.c, src/smtp.c: Indent. 2003-11-21 Simon Josefsson * configure.ac: Bump so version. 2003-11-21 Simon Josefsson * lib/obsolete.c: Fix warning. 2003-11-21 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-11-21 Simon Josefsson * src/Makefile.am: Add smtp.h and imap.h. 2003-11-21 Simon Josefsson * NEWS: Fix. 2003-11-21 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-01.tx t: Add. 2003-11-20 Simon Josefsson * README: Fix. 2003-11-20 Simon Josefsson * lib/cram-md5/cram-md5.c, src/imap.c, src/smtp.c: Fix. 2003-11-20 Simon Josefsson * src/Makefile.am, src/callbacks.c, src/gsasl.c, src/imap.c, src/imap.h, src/internal.h, src/smtp.c, src/smtp.h: Cleanup IMAP/SMTP interaction. 2003-11-20 Simon Josefsson * lib/digest-md5/digest-md5.c: Fix warnings. 2003-11-20 Simon Josefsson * lib/common.c: Add NULL elements to fix warnings. 2003-11-20 Simon Josefsson * src/gsasl.c: Fix. 2003-11-20 Simon Josefsson * NEWS: Add. 2003-11-20 Simon Josefsson * src/gsasl.c, src/gsasl.ggo: Add support for SMTP. 2003-11-20 Simon Josefsson * src/gsasl.c: Cleanup. 2003-11-20 Simon Josefsson * src/gsasl.c: Cleanup. 2003-11-20 Simon Josefsson * src/gsasl.c: Sync commit. 2003-11-20 Simon Josefsson * src/gsasl.c: Sync commit. 2003-11-20 Simon Josefsson * src/gsasl.c: Sync commit. 2003-11-20 Simon Josefsson * src/gsasl.c: Cleanup. 2003-11-20 Simon Josefsson * po/POTFILES.in: Fix typo. 2003-11-20 Simon Josefsson * po/POTFILES.in: Add. 2003-11-20 Simon Josefsson * lib/digest-md5/digest-md5.c: Remove 'unsigned' from 'char *'. 2003-11-20 Simon Josefsson * crypto/hmac.c: Use assert instead of abort. 2003-11-20 Simon Josefsson * crypto/hmac.c: Don't use alloca. 2003-11-20 Simon Josefsson * configure.ac: Remove unused or pre-C89 checks. 2003-11-20 Simon Josefsson * crypto/hmac.c: Don't use alloca. 2003-11-20 Simon Josefsson * configure.ac: Check for alloca. 2003-11-20 Simon Josefsson * crypto/Makefile.am: Link $(ALLOCA). 2003-11-20 Simon Josefsson * NEWS: Add. 2003-11-20 Simon Josefsson * Makefile.am, configure.ac: Remove gnulib (gl/). 2003-11-20 Simon Josefsson * gl/.cvsignore, gl/Makefile.am, gl/alloca.c, gl/alloca_.h, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/exitfail.h, gl/gettext.h, gl/m4/.cvsignore, gl/m4/alloca.m4, gl/m4/argp.m4, gl/m4/codeset.m4, gl/m4/error.m4, gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc21.m4, gl/m4/iconv.m4, gl/m4/intdiv0.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/malloc.m4, gl/m4/mempcpy.m4, gl/m4/nls.m4, gl/m4/onceonly_2_57.m4, gl/m4/po.m4, gl/m4/progtest.m4, gl/m4/realloc.m4, gl/m4/restrict.m4, gl/m4/stdbool.m4, gl/m4/stdint_h.m4, gl/m4/strcase.m4, gl/m4/strchrnul.m4, gl/m4/strerror_r.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/sysexits.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/unlocked-io.m4, gl/m4/xalloc.m4, gl/malloc.c, gl/mempcpy.c, gl/mempcpy.h, gl/realloc.c, gl/stdbool_.h, gl/strcase.h, gl/strcasecmp.c, gl/strchrnul.c, gl/strchrnul.h, gl/strncasecmp.c, gl/strndup.c, gl/strndup.h, gl/strnlen.c, gl/sysexit_.h, gl/unlocked-io.h, gl/xalloc.h, gl/xmalloc.c, gl/xstrdup.c, lib/Makefile.am, src/.cvsignore, src/Makefile.am, src/callbacks.c, {gl => src}/getopt.c, {gl => src}/getopt.h, {gl => src}/getopt1.c, src/gsasl.c, src/gsasl.ggo, src/internal.h: Use getopt instead of argp. Remove gnulib (gl/). 2003-11-20 Simon Josefsson * doc/Makefile.am: Don't use argp specific parameter for help2man. 2003-11-20 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-20 Simon Josefsson * src/gsasl.c: Call textdomain. 2003-11-20 Simon Josefsson * lib/Makefile.am: Link with gnulib (for rpl_malloc breakage). 2003-11-20 Simon Josefsson * lib/error.c: (gsasl_strerror): Call bindtextdomain(). 2003-11-20 Simon Josefsson * lib/init.c: (gsasl_init): Move gettext initialization to error.c. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Fix license. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Add crypto API. Move old API down. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Fix typo. 2003-11-20 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets (I smell a pattern...). 2003-11-20 Simon Josefsson * doc/gsasl.texi: Markup fixes. 2003-11-20 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c: Indent. 2003-11-20 Simon Josefsson * lib/Makefile.am: Fix indent target. 2003-11-20 Simon Josefsson * lib/stringprep-no.c, lib/stringprep.c: Doc fix. 2003-11-20 Simon Josefsson * doc/gsasl.texi: Fix. 2003-11-20 Simon Josefsson * NEWS: Remove. 2003-11-20 Simon Josefsson * lib/internal.h: Add comments. 2003-11-20 Simon Josefsson * lib/callback-c.c, lib/callback-s.c, lib/digest-md5/digest-md5.c, lib/gsasl.h.in, lib/gssapi/gssapi.c, lib/internal.h, lib/nettle.c, lib/obsolete.c, lib/xstart.c, lib/xstep.c, src/gsasl.c: Indent. 2003-11-20 Simon Josefsson * lib/init.c: Declare _gsasl_all_mechanisms (defined in common.c). Fix comments. 2003-11-20 Simon Josefsson * lib/internal.h: Remove _gsasl_all_mechanism declaration. 2003-11-20 Simon Josefsson * lib/internal.h: Remove stringprep hack. Remove VALID_HANDLE and VALID_SESSION_HANDLE. 2003-11-20 Simon Josefsson * lib/internal.h, lib/stringprep-no.c, lib/stringprep.c: Fix file comment. 2003-11-20 Simon Josefsson * lib/stringprep.c: Add comment. 2003-11-20 Simon Josefsson * lib/stringprep-no.c: Implement dummy API functions. 2003-11-20 Simon Josefsson * lib/done.c: (gsasl_done): Don't use VALID_HANDLE. 2003-11-20 Simon Josefsson * lib/xstep.c: (gsasl_step): Don't use VALID_SESSION_HANDLE. 2003-11-20 Simon Josefsson * lib/error.c, lib/internal.h: Move gettext declarations from internal.h to error.c. 2003-11-20 Simon Josefsson * lib/cram-md5/cram-md5.c, lib/digest-md5/digest-md5.c: Don't initialize crypto (done by gsasl_init). 2003-11-20 Simon Josefsson * lib/init.c: (gsasl_init): Call _gsasl_crypto_init() to initialize crypto functions. 2003-11-20 Simon Josefsson * lib/gsasl.h.in: (gsasl_randomize, gsasl_md5, gsasl_hmac_md5): Add. 2003-11-20 Simon Josefsson * lib/internal.h: Remove. 2003-11-20 Simon Josefsson * NEWS: Add. 2003-11-20 Simon Josefsson * lib/xstep.c: Add XXX. 2003-11-20 Simon Josefsson * lib/xstep.c: (gsasl_step): Check if sctx is valid. Suggested by pitrp@wg78.de (Peter Prohaska). 2003-11-20 Simon Josefsson * lib/done.c: (gsasl_done): Use VALID_HANDLE. 2003-11-20 Simon Josefsson * lib/error.c: (gsasl_strerror): Add GSASL_INVALID_HANDLE. 2003-11-20 Simon Josefsson * lib/gsasl.h.in: (Gsasl_rc): Add GSASL_INVALID_HANDLE. 2003-11-20 Simon Josefsson * lib/internal.h: (VALID_CTX): Rename to VALID_HANDLE. (VALID_SESSION_CTX): Rename to VALID_SESSION_HANDLE. 2003-11-20 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-01.txt, doc/specification/draft-siemborski-rfc2554bis-01.txt: Add. 2003-11-19 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-18 Simon Josefsson * lib/xstep.c: (gsasl_step): Don't loop around TOO_SMALL_BUFFER, it only hides problems because the plugins are not written to handle this. Will be solved when mechanism interface is fixed. 2003-11-17 Simon Josefsson * README-alpha: Mention versions. 2003-11-17 Simon Josefsson * src/gsasl.c: (readln): Try to be compatible with gsasl 0.0.6. 2003-11-17 Simon Josefsson * lib/xstep.c: Increase initial length, for GSSAPI, until we rewrite the internal mechanism API as well. 2003-11-15 Simon Josefsson * doc/specification/tom.wu-rfc2945-message_digest_comment: Add. From pitrp@wg78.de (Peter Prohaska). 2003-11-14 Simon Josefsson * lib/obsolete.c: Add. 2003-11-14 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-14 Simon Josefsson * doc/gsasl.texi: Add 'Old Functions'. 2003-11-14 Simon Josefsson * doc/Makefile.am: Update DocBook HTML target. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * lib/callback.c, lib/gsasl.h.in: Shorten parameter name. 2003-11-14 Simon Josefsson * lib/callback-c.c, lib/callback-s.c, lib/callback.c, lib/done.c, lib/gsasl.h.in, lib/init.c, lib/internal.h, lib/listmech.c, lib/suggest.c, lib/supportp.c, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, po/gsasl.pot, po/sv.po: Rename Gsasl_ctx to Gsasl, and Gsasl_session_ctx to Gsasl_session. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * lib/callback-s.c: (gsasl_server_ctx_get): Moved to obsolete.c (use gsasl_ctx_get instead). (gsasl_server_application_data_get): Moved to obsolete.c (use gsasl_appinfo_get). (gsasl_server_application_data_set): Moved to obsolete.c (use gsasl_appinfo_set). 2003-11-14 Simon Josefsson * NEWS: Add. Fix. 2003-11-14 Simon Josefsson * lib/gsasl.h.in: Move deprecated functions around. 2003-11-14 Simon Josefsson * lib/obsolete.c: (gsasl_client_ctx_get): Add, from callback-c.c. (gsasl_client_application_data_set): Likewise. (gsasl_client_application_data_get): Likewise. (gsasl_server_ctx_get): Add, from callback-s.c. (gsasl_server_application_data_set): Likewise. (gsasl_server_application_data_get): Likewise. 2003-11-14 Simon Josefsson * lib/callback-c.c: (gsasl_client_ctx_get): Move to obsolete.c (use gsasl_ctx_get instead). (gsasl_client_application_data_get): Move to obsolete.c (use gsasl_appinfo_get instead). (gsasl_client_application_data_set): Move to obsolete.c (use gsasl_appinfo_set instead). 2003-11-14 Simon Josefsson * lib/callback.c: (gsasl_ctx_get): Add. (gsasl_application_session_data_get): Rename to gsasl_appinfo_get. (gsasl_application_session_data_set): Rename to gsasl_appinfo_set. 2003-11-14 Simon Josefsson * lib/gsasl.h.in: (gsasl_application_session_data_set, gsasl_application_session_data_get): New. 2003-11-14 Simon Josefsson * lib/callback.c: (gsasl_application_session_data_get, gsasl_application_session_data_set): New. 2003-11-14 Simon Josefsson * crypto/Makefile.am, crypto/md5-meta.c: Add md5-meta.c. 2003-11-14 Simon Josefsson * lib/plain/plain.c: Fix mem leak (again). 2003-11-14 Simon Josefsson * lib/ntlm/ntlm.c, lib/plain/plain.c: Fix mem leak. 2003-11-14 Simon Josefsson * lib/obsolete.c: Fix mem leaks. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * NEWS: Fix. 2003-11-14 Simon Josefsson * tests/simple.c: Indent. 2003-11-14 Simon Josefsson * tests/simple.c: Indent. 2003-11-14 Simon Josefsson * doc/Makefile.am: Fix DocBook HTML targets. 2003-11-14 Simon Josefsson * NEWS: Add. Fix. 2003-11-14 Simon Josefsson * lib/xfinish.c: (gsasl_finish): New. (gsasl_client_finish, gsasl_server_finish): Removed, moved to obsolete.c. 2003-11-14 Simon Josefsson * lib/gsasl.h.in: (gsasl_step, gsasl_step64): New. (gsasl_finish): Likewise. (gsasl_client_step, gsasl_server_step): Deprecated; moved around to obsolete.c. (gsasl_client_step_base64, gsasl_server_step_base64): Likewise. (gsasl_client_finish, gsasl_server_finish): Likewise. 2003-11-14 Simon Josefsson * lib/xstep.c: (gsasl_client_step, gsasl_server_step): Deprecated, moved to obsolete.c. (gsasl_client_step_base64, gsasl_server_step_base64): Likewise. (_gsasl_session_step_base64): Removed. (gsasl_step): New function. (gsasl_step64): New function, based on _gsasl_session_step_base64. 2003-11-14 Simon Josefsson * lib/obsolete.c: (gsasl_client_step, gsasl_server_step): New, from xstep.c. (gsasl_client_step_base64, gsasl_server_step_base64): Likewise. (_gsasl_step, _gsasl_step64): Utility functions, used by previous wrappers. (gsasl_client_finish, gsasl_server_finish): New, from xfinish.c. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * NEWS: Add. 2003-11-14 Simon Josefsson * lib/securid/securid.c: Fix size checks. 2003-11-14 Simon Josefsson * tests/simple.c: Add size checks to callbacks. 2003-11-14 Simon Josefsson * lib/anonymous/anonymous.c: (_gsasl_anonymous_client_step): Don't increment step until we are going to return success. 2003-11-14 Simon Josefsson * lib/internal.h: (_Gsasl_mechanism_functions): Split out function typedefs. 2003-11-11 Simon Josefsson * lib/common.c: Add W to GSASL_VALID_MECHANISM_CHARACTERS. 2003-11-11 Simon Josefsson * doc/Makefile.am: Replace gsasl.html target with AM_MAKEINFOHTMLFLAGS (part of CVS automake). 2003-11-11 Simon Josefsson * NEWS: Fix. 2003-11-11 Simon Josefsson * NEWS: Add. 2003-11-11 Simon Josefsson * lib/gsasl.h.in: Reorder error codes. Rename GSASL_SHISHI_ERROR to GSASL_KERBEROS_V5_INTERNAL_ERROR (but keep alias for a while). 2003-11-11 Simon Josefsson * lib/kerberos_v5/kerberos_v5.c: Replace GSASL_SHISHI_ERROR with GSASL_KERBEROS_V5_INTERNAL_ERROR. 2003-11-11 Simon Josefsson * lib/gsasl.h.in: Remove gsasl_hexdump declaration. 2003-11-11 Simon Josefsson * lib/digest-md5/digest-md5.c: Fix typo in last commit. 2003-11-11 Simon Josefsson * lib/digest-md5/digest-md5.c: Don't use unportable asprintf. Use #define for maxbuf magic values. Check callback supplied maxbuf values for out of range. 2003-11-11 Simon Josefsson * lib/digest-md5/digest-md5.c: Check supplied maxbuf values better. 2003-11-11 Simon Josefsson * lib/gssapi/gssapi.c: Add the RFC reference to comment. 2003-11-10 Simon Josefsson * doc/specification/srp.ps, doc/specification/srp6.ps: Add. 2003-11-10 Simon Josefsson * doc/gsasl.texi: Fix --disable-client/server discussion. 2003-11-10 Simon Josefsson * README-alpha: Update building for CVS explanation. 2003-11-10 Simon Josefsson * doc/gsasl.texi: (Features): Mention protability. 2003-11-10 Simon Josefsson * README: Fix todos. 2003-11-10 Simon Josefsson * README: Mention portability. 2003-11-10 Simon Josefsson * README: Update dependencies for each mechanism. 2003-11-10 Simon Josefsson * doc/gendocs.sh: Remove texinfo bug workaround (was fixed in CVS texinfo). 2003-11-10 Simon Josefsson * NEWS: Add. 2003-11-10 Simon Josefsson * NEWS: Add. 2003-11-10 Simon Josefsson * doc/Makefile.am: Update DocBook HTML targets. 2003-11-10 Simon Josefsson * lib/Makefile.am: Fix typo. 2003-11-10 Simon Josefsson * NEWS: Add. 2003-11-10 Simon Josefsson * THANKS: Typo. 2003-11-10 Simon Josefsson * THANKS: Add. 2003-11-10 Simon Josefsson * lib/listmech.c: (gsasl_server_mechlist): Use clientp=0. From pitrp@wg78.de (Peter Prohaska). 2003-11-10 Simon Josefsson * lib/digest-md5/digest-md5.c, lib/gssapi/gssapi.c, lib/libgcrypt.c, lib/listmech.c, lib/xstart.c, lib/xstep.c: Indent. 2003-11-10 Simon Josefsson * lib/Makefile.am: Fix GSSAPI/NTLM header file names. 2003-11-09 Simon Josefsson * lib/error.c: (gsasl_strerror): Add GSASL_NO_CLIENT_CODE, GSASL_NO_SERVER_CODE. 2003-11-09 Simon Josefsson * lib/gsasl.h.in: Add GSASL_NO_CLIENT_CODE, GSASL_NO_SERVER_CODE. Typedef error code enum to Gsasl_rc. 2003-11-09 Simon Josefsson * lib/xstart.c: (_gsasl_setup): Don't fail if there is no start function in the mechanism. 2003-11-09 Simon Josefsson * lib/common.c: Fix typos. 2003-11-09 Simon Josefsson * lib/Makefile.am: Always build callback-c. and callback-s.c. 2003-11-09 Simon Josefsson * lib/xstep.c: (_gsasl_session_step_base64): Cleanups, e.g. check malloc return values. 2003-11-09 Simon Josefsson * lib/xfinish.c: (gsasl_client_finish, gsasl_server_finish): Add XXX. 2003-11-09 Simon Josefsson * lib/xcode.c: (_gsasl_code): Check output buffer size. 2003-11-09 Simon Josefsson * lib/xstart.c: (_gsasl_start): Split off some code into _gsasl_setup, and use it. (_gsasl_setup): New function. 2003-11-09 Simon Josefsson * lib/xstart.c: (_gsasl_find_mechanism): New. (_gsasl_start): Simplified, renamed from _gsasl_session_start. (gsasl_client_start, gsasl_server_start): Fix call to _gsasl_start. 2003-11-09 Simon Josefsson * lib/xcode.c: (gsasl_encode, gsasl_decode): Call _gsasl_code. (_gsasl_code): New function, generalization of the other two. 2003-11-09 Simon Josefsson * lib/common.c: (GSASL_VALID_MECHANISM_CHARACTERS): Remove lower case characters. 2003-11-09 Simon Josefsson * lib/done.c: (gsasl_done): Use VALID_CTX. 2003-11-09 Simon Josefsson * lib/internal.h: Add VALID_CTX and VALID_SESSION_CTX macros. 2003-11-09 Simon Josefsson * lib/listmech.c, lib/obsolete.c, lib/suggest.c, lib/supportp.c, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c: Remove USE_CLIENT/USE_SERVER #ifdef's. 2003-11-09 Simon Josefsson * lib/common.c: Update #include of mechanism headers. Move USE_CLIENT/USE_SERVER #ifdef's within structure, so that members are initialized to NULL when USE_CLIENT/USE_SERVER is not defined. 2003-11-09 Simon Josefsson * lib/Makefile.am, lib/{ => anonymous}/anonymous.c, lib/{ => anonymous}/anonymous.h, lib/common.c, lib/{ => cram-md5}/cram-md5.c, lib/{ => cram-md5}/cram-md5.h, lib/{ => digest-md5}/digest-md5.c, lib/{ => digest-md5}/digest-md5.h, lib/{ => external}/external.c, lib/{ => external}/external.h, lib/{ => gssapi}/gssapi.c, lib/{ => gssapi}/x-gssapi.h, lib/{ => kerberos_v5}/kerberos_v5.c, lib/{ => kerberos_v5}/kerberos_v5.h, lib/{ => login}/login.c, lib/{ => login}/login.h, lib/{ => ntlm}/ntlm.c, lib/{ => ntlm}/x-ntlm.h, lib/{ => plain}/plain.c, lib/{ => plain}/plain.h, lib/{ => securid}/securid.c, lib/{ => securid}/securid.h: Move implementation of each mechanism into a separate directory. Update SOURCES in Makefile.am and #include's in common.c accordingly. 2003-11-09 Simon Josefsson * lib/Makefile.am: Use AM_CPPFLAGS instead of target_CPPFLAGS. 2003-11-09 Simon Josefsson * configure.ac: Update gnulib section. 2003-11-09 Simon Josefsson * gl/Makefile.am, gl/alloca.c, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/stdbool_.h, gl/strncasecmp.c, gl/xalloc.h, gl/xmalloc.c, gl/xstrdup.c: Update. 2003-11-09 Simon Josefsson * gl/m4/argp.m4, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/m4/xalloc.m4: Update. 2003-11-09 Simon Josefsson * doc/Makefile.am: Remove unused ps_TEXINFOS pdf_TEXINFOS. 2003-11-09 Simon Josefsson * .cvsignore, m4/.cvsignore: [no log message] 2003-11-09 Simon Josefsson * lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Use *_CPPFLAGS instead of obsolete INCLUDES. 2003-11-09 Simon Josefsson * gl/m4/Makefile.am, m4/Makefile.am: Remove (not needed by modern automake). 2003-11-09 Simon Josefsson * configure.ac: Replace AC_HELP_STRING with AS_HELP_STRING. Move DocBook stuff last. Remove TEXI2PDF. 2003-11-09 Simon Josefsson * Makefile.am: Don't descend into m4. Move gl/ after lib/. 2003-11-09 Simon Josefsson * gl/Makefile.am: Don't descend into m4/. 2003-11-09 Simon Josefsson * configure.ac: Conformance fixes. 2003-11-09 Simon Josefsson * autogen.sh: Add warnings. 2003-11-09 Simon Josefsson * lib/securid.c: Make PASSCODE/PIN #define's visible to entire file. 2003-11-09 Simon Josefsson * lib/internal.h: Remove CPP cruft. 2003-11-07 Simon Josefsson * configure.ac: Remove libtool bug workaround. Remove dmalloc check. 2003-11-02 Simon Josefsson * doc/Makefile.am: Add DocBook targets. 2003-11-02 Simon Josefsson * doc/gendocs_template: Add Doxygen. 2003-11-02 Simon Josefsson * doc/reference/gsasl-docs.sgml, doc/reference/tmpl/.cvsignore, doc/reference/tmpl/gsasl.sgml: Remove. 2003-11-02 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2003-11-02 Simon Josefsson * doc/reference/Makefile.am, doc/reference/gsasl-docs.tmpl, doc/reference/gsasl.types: Rewrite, taken from libidn. 2003-11-01 Simon Josefsson * po/POTFILES.in: Remove hexdump. 2003-11-01 Simon Josefsson * Makefile.am: Don't disable gtk-doc for distcheck here. 2003-11-01 Simon Josefsson * configure.ac: Use gtk-doc.m4. 2003-11-01 Simon Josefsson * m4/Makefile.am, m4/gtk-doc.m4: Add gtk-doc.m4. 2003-11-01 Simon Josefsson * configure.ac: Don't build doc/man/Makefile. 2003-11-01 Simon Josefsson * NEWS: Add. 2003-11-01 Simon Josefsson * doc/gendocs.sh: Mkdir -p. Work around _ XML bug in makeinfo --docbook. 2003-11-01 Simon Josefsson * doc/gendocs.sh: Mkdir HTML. 2003-11-01 Simon Josefsson * doc/gendocs_template: Sync with libidn (modulo doxygen). 2003-11-01 Simon Josefsson * doc/gendocs.sh: Sync with libidn. 2003-11-01 Simon Josefsson * doc/gendocs.sh, doc/gendocs_template: Add (from texinfo). 2003-11-01 Simon Josefsson * NEWS: Add. 2003-11-01 Simon Josefsson * doc/gsasl.texi, lib/Makefile.am, lib/hexdump.c: Remove hexdump. 2003-11-01 Simon Josefsson * lib/digest-md5.c: Remove debug code. 2003-11-01 Simon Josefsson * lib/digest-md5.c: Use GSASL crypto API instead of libgcrypt. 2003-11-01 Simon Josefsson * AUTHORS: Fix typo. 2003-11-01 Simon Josefsson * AUTHORS: Update PGP key. 2003-11-01 Simon Josefsson * doc/.cvsignore: [no log message] 2003-11-01 Simon Josefsson * doc/gsasl.texi: Change @include's to point at GDOC version. 2003-11-01 Simon Josefsson * doc/Makefile.gdoci: Rebuild Makefile after modifying Makefile.gdoc (shouldn't that be automatic?). 2003-11-01 Simon Josefsson * doc/Makefile.am: Use GDOC framework. Cleanup DocBook targets. 2003-11-01 Simon Josefsson * autogen.sh: Add gdoc bug workaround. 2003-11-01 Simon Josefsson * doc/Makefile.gdoci: Add. 2003-11-01 Simon Josefsson * doc/Makefile.am: Don't build in man/. Move gsasl.1 man target here. Add GDOC framework. 2003-11-01 Simon Josefsson * doc/.cvsignore: [no log message] 2003-11-01 Simon Josefsson * doc/gdoc: Update. 2003-11-01 Simon Josefsson * doc/man/.cvsignore, doc/man/Makefile.am: Remove (replaced by gdoc framework). 2003-10-30 Simon Josefsson * doc/specification/draft-siemborski-rfc1734bis-00.txt, doc/specification/draft-siemborski-rfc2554bis-00.txt: Add. 2003-10-29 Simon Josefsson * doc/specification/draft-siemborski-imap-sasl-initial-response-00.tx t, doc/specification/draft-siemborski-imap-sasl-initial-response-01b.t xt: Add. 2003-10-29 Simon Josefsson * README: Add todo item. 2003-10-29 Simon Josefsson * lib/libgcrypt.c: (_gsasl_crypto_init): Fix warnings. 2003-10-29 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-03.txt, doc/specification/draft-ietf-sasl-rfc2222bis-03.txt: Add. 2003-10-29 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-04.txt: Add. 2003-10-23 Simon Josefsson * doc/Makefile.am: Dist doxygen/gdoc2doxygen. 2003-10-23 Simon Josefsson * .cvsignore, doc/doxygen/.cvsignore, doc/doxygen/gdoc2doxygen: Add. 2003-10-23 Simon Josefsson * doc/doxygen/Doxyfile.in: Fix. 2003-10-23 Simon Josefsson * doc/doxygen/Doxyfile.in: Add. 2003-10-23 Simon Josefsson * doc/Makefile.am: Dist doxygen/Doxyfile.in. 2003-10-23 Simon Josefsson * configure.ac: Add AC_CONFIG_AUX_DIR for new automake. Build doc/doxygen/Doxyfile. 2003-10-16 Simon Josefsson * doc/gsasl.texi: Add. 2003-10-16 Simon Josefsson * NEWS: Fix. 2003-10-14 Simon Josefsson * Makefile.am: Fix order. 2003-10-14 Simon Josefsson * Makefile.am, configure.ac: Use conditional NETTLE instead of @CRYPTO@ substitution. 2003-10-14 Simon Josefsson * lib/cram-md5.c: Rename MD5_LEN to MD5LEN, for consistency with digest-md5.c. 2003-10-14 Simon Josefsson * crypto/.cvsignore, crypto/Makefile.am, crypto/README, crypto/hmac-md5.c, crypto/hmac.c, crypto/hmac.h, crypto/macros.h, crypto/md5.c, crypto/md5.h, crypto/memxor.c, crypto/memxor.h, crypto/nettle-meta.h: Add (from Lsh Nettle CVS). 2003-10-14 Simon Josefsson * lib/cram-md5.c: Use abstract crypto interface. 2003-10-14 Simon Josefsson * Makefile.am, NEWS, configure.ac, lib/Makefile.am, lib/gsasl.h.in, lib/internal.h, lib/libgcrypt.c, lib/nettle.c: Add crypto/ containing (parts of) Nettle. Test for libgcrypt 1.1.42 or later. Fall back to Nettle if libgcrypt not found. Add abstract crypto interface. 2003-10-12 Simon Josefsson * NEWS: Add. 2003-10-12 Simon Josefsson * lib/digest-md5.c: Remove unused error checking, based on report from Marc Mutz . 2003-10-12 Simon Josefsson * THANKS: Add. 2003-10-12 Simon Josefsson * lib/digest-md5.c: Fix tokenizing of strings when they end with ", based on report from Marc Mutz . 2003-10-11 Simon Josefsson * NEWS, configure.ac: Bump versions. 2003-10-11 Simon Josefsson * Makefile.am: Fix release target. 2003-10-11 Simon Josefsson * ChangeLog: [no log message] 2003-10-11 Simon Josefsson * NEWS: Version 0.0.8. 2003-10-10 Simon Josefsson * configure.ac: Bump so version. Fix so version comments (mimic libtool manual). 2003-10-10 Simon Josefsson * NEWS: Fix. 2003-10-10 Simon Josefsson * NEWS: Add. Fix. 2003-10-10 Simon Josefsson * gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp.h, gl/m4/argp.m4: Fix for Solaris Forte 7 CC, based on report from Lars Engebretsen . 2003-10-10 Simon Josefsson * gl/Makefile.am, gl/m4/Makefile.am, gl/m4/strcase.m4, gl/strcase.h, gl/strcasecmp.c: Add. 2003-10-10 Simon Josefsson * configure.ac: Gnulib fix. 2003-10-10 Simon Josefsson * gl/Makefile.am, gl/m4/Makefile.am, gl/m4/restrict.m4, gl/unlocked-io.h: Update. 2003-10-09 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Update. 2003-10-09 Simon Josefsson * NEWS: Fix. 2003-10-09 Simon Josefsson * lib/stringprep-no.c: Doc fix. 2003-10-09 Simon Josefsson * lib/internal.h: (_gsasl_no_stringprep_nfkc, _gsasl_no_stringprep): Add prototypes. 2003-10-09 Simon Josefsson * tests/simple.c: Fix. 2003-10-09 Simon Josefsson * configure.ac: If both MIT and Heimdal is installed, chose Heimdal and warn about it, instead of aborting. 2003-10-09 Simon Josefsson * lib/gssapi.c: Fix comment. 2003-10-09 Simon Josefsson * doc/man/Makefile.am: Add. 2003-10-09 Simon Josefsson * lib/obsolete.c: Doc fix. 2003-10-09 Simon Josefsson * NEWS: Fix. 2003-10-09 Simon Josefsson * src/gsasl.c: Make it work on Solaris: Don't use standard C for IO. Fix strcpy to itself. Based on report from Lars Engebretsen . 2003-10-09 Simon Josefsson * src/gsasl.c: Remove debug code. 2003-10-09 Simon Josefsson * configure.ac: Check for socket in -lsocket and gethostbyname in -lnsl. 2003-10-09 Simon Josefsson * doc/gsasl.texi, src/gsasl.c: Add -d as short form for --application-data. 2003-10-09 Simon Josefsson * src/gsasl.c: Use new gsasl_client_mechlist and gsasl_server_mechlist API. 2003-10-09 Simon Josefsson * lib/obsolete.c: Add. 2003-10-09 Simon Josefsson * NEWS, lib/Makefile.am, lib/gsasl.h.in, lib/internal.h, lib/listmech.c: (gsasl_client_mechlist, gsasl_server_mechlist): New. (gsasl_client_listmech, gsasl_server_listmech): Deprecate. 2003-10-09 Simon Josefsson * NEWS, lib/gsasl.h.in, src/callbacks.c, src/callbacks.h, src/gsasl.c: Make maxbuf size_t. 2003-10-09 Simon Josefsson * configure.ac: Add getline. 2003-10-09 Simon Josefsson * gl/Makefile.am, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/getline.c, gl/getline.h, gl/getndelim2.c, gl/getndelim2.h, gl/m4/Makefile.am, gl/m4/getline.m4, gl/m4/getndelim2.m4, gl/m4/ssize_t.m4: Add getline. Update argp from gnulib. 2003-10-07 Simon Josefsson * src/callbacks.c: (utf8cpy): Don't crash if stringprep is not used. 2003-10-07 Simon Josefsson * NEWS: Fix. 2003-10-07 Simon Josefsson * NEWS, THANKS: Add. 2003-10-07 Simon Josefsson * configure.ac: Rewrite GSS test, suggested by Lars Engebretsen . 2003-10-07 Simon Josefsson * configure.ac, lib/gssapi.c: Fix GSSAPI include check. 2003-10-06 Simon Josefsson * lib/stringprep-no.c: Fix. 2003-10-06 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Generated. 2003-10-06 Simon Josefsson * NEWS: Add. 2003-10-06 Simon Josefsson * tests/Makefile.am: Don't always build self tests. 2003-10-06 Simon Josefsson * lib/gsasl.h.in: Fix last commit. 2003-10-06 Simon Josefsson * lib/digest-md5.c, lib/gsasl.h.in, src/callbacks.c, src/callbacks.h, src/gsasl.c: Maxbuf is unsigned long, suggested by Alexey Melnikov . 2003-10-06 Simon Josefsson * lib/gssapi.c: (_gsasl_gssapi_server_finish): Fix call to gss_release_cred(). 2003-10-06 Simon Josefsson * lib/digest-md5.c, lib/internal.h, lib/stringprep-no.c: Cleanup. 2003-10-06 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Generated. 2003-10-06 Simon Josefsson * lib/common.c, lib/gsasl.h.in, lib/xstep.c, src/callbacks.c, src/callbacks.h, src/gsasl.c, tests/simple.c: Indent. 2003-10-05 Simon Josefsson * README: Fix. 2003-10-05 Simon Josefsson * lib/stringprep-no.c: Fix. 2003-10-05 Simon Josefsson * tests/simple.c: Handle no libstringprep. 2003-10-05 Simon Josefsson * NEWS: Mention i18n string API. 2003-10-05 Simon Josefsson * doc/gsasl.texi, doc/reference/tmpl/gsasl.sgml: Add. 2003-10-05 Simon Josefsson * doc/man/Makefile.am: Update. 2003-10-05 Simon Josefsson * doc/Makefile.am: Add stringprep. 2003-10-05 Simon Josefsson * lib/stringprep.c: Doc fix. 2003-10-05 Simon Josefsson * doc/Makefile.am: Fix callback. 2003-10-05 Simon Josefsson * lib/cram-md5.c, lib/digest-md5.c, lib/gsasl.h.in, lib/login.c, lib/plain.c: Use new stringprep API. 2003-10-05 Simon Josefsson * configure.ac, lib/Makefile.am, lib/internal.h, lib/stringprep-no.c, lib/stringprep.c: Make libstringprep optional. 2003-10-05 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-02.txt: Add. 2003-10-03 Simon Josefsson * gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c: Sync with my proposed glibc patches. 2003-10-02 Simon Josefsson * doc/gsasl.texi: Cosmetic fixes. 2003-10-02 Simon Josefsson * lib/gsasl.h.in: Comment fix. 2003-10-02 Simon Josefsson * configure.ac: Fix header checks. 2003-10-02 Simon Josefsson * configure.ac: New libidn check; not included any more. 2003-10-02 Simon Josefsson * configure.ac, lib/.cvsignore, lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/callback-c.c, lib/callback-s.c, lib/callback.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/external.c, lib/external.h, lib/gssapi.c, lib/kerberos_v5.c, lib/kerberos_v5.h, lib/login.c, lib/login.h, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/x-gssapi.h, lib/x-ntlm.h: Client/server separation fixes. 2003-10-02 Simon Josefsson * Makefile.am: Don't build libidn. 2003-10-02 Simon Josefsson * src/Makefile.am: Remove LIBIDN_*. 2003-10-02 Simon Josefsson * src/callbacks.c: Protect stringprep_locale_to_utf8. 2003-10-02 Simon Josefsson * lib/internal.h, src/internal.h: Protect stringprep.h. 2003-10-02 Simon Josefsson * lib/listmech.c, lib/suggest.c, lib/supportp.c: Use USE_CLIENT/SERVER. 2003-10-01 Simon Josefsson * doc/gsasl.texi: Add. 2003-10-01 Simon Josefsson * Makefile.am: Use --fsf with cvs2cl. 2003-10-01 Simon Josefsson * Makefile.am: Disable GTK-DOC. 2003-10-01 Simon Josefsson * doc/reference/Makefile.am: Sort includes. Generalize install hooks. Don't break when GTK-DOC disabled. 2003-10-01 Simon Josefsson * NEWS: Add. 2003-10-01 Simon Josefsson * doc/.cvsignore, doc/Makefile.am, doc/man/.cvsignore, doc/man/Makefile.am: Add man pages. 2003-10-01 Simon Josefsson * doc/gdoc: Update (from Shishi). 2003-10-01 Simon Josefsson * configure.ac: New GTK-DOC check. Add doc/man/. 2003-10-01 Simon Josefsson * src/gettext.h: Remove (GNULib used instead). 2003-10-01 Simon Josefsson * src/internal.h: Fix string.h. 2003-10-01 Simon Josefsson * src/Makefile.am: Use gettext.h from GNULib. 2003-10-01 Simon Josefsson * lib/Makefile.am: Don't use GNULib. 2003-10-01 Simon Josefsson * NEWS, lib/gettext.h: Add. 2003-10-01 Simon Josefsson * lib/internal.h: Use lib/gettext.h instead of GNULib. 2003-10-01 Simon Josefsson * lib/internal.h: Don't use minmax.h. 2003-10-01 Simon Josefsson * configure.ac, gl/Makefile.am, gl/minmax.h: Remove minmax. 2003-10-01 Simon Josefsson * gl/Makefile.am, gl/gethostname.c, gl/m4/Makefile.am, gl/m4/gethostname.m4, gl/m4/memmove.m4, gl/m4/memset.m4, gl/m4/strdup.m4, gl/memmove.c, gl/memset.c, gl/strdup.c: We assume C89. 2003-10-01 Simon Josefsson * lib/internal.h: Use minmax.h. 2003-10-01 Simon Josefsson * configure.ac, gl/Makefile.am, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/asnprintf.c, gl/asprintf.c, gl/m4/Makefile.am, gl/m4/intmax_t.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/signed.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/vasprintf.h, lib/gettext.h: GNULib sync. 2003-10-01 Simon Josefsson * src/Makefile.am: Fix. 2003-10-01 Simon Josefsson * lib/Makefile.am: Remove -I../intl. Fix LIBADD for libfoo.la. 2003-10-01 Simon Josefsson * gl/Makefile.am, gl/minmax.h: Add minmax. 2003-10-01 Simon Josefsson * configure.ac: Refuse to disable both client and server. 2003-10-01 Simon Josefsson * configure.ac, gl/Makefile.am, gl/alloca.c, gl/alloca_.h, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/gethostname.c, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/m4/Makefile.am, gl/m4/alloca.m4, gl/m4/argp.m4, gl/m4/error.m4, gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/getopt.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/mempcpy.m4, gl/m4/strchrnul.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/unlocked-io.m4, gl/m4/vasnprintf.m4, gl/m4/xalloc.m4, gl/malloc.c, gl/memmove.c, gl/mempcpy.c, gl/mempcpy.h, gl/memset.c, gl/realloc.c, gl/strchrnul.c, gl/strdup.c, gl/strndup.c, gl/{strerror.c => strndup.h}, gl/strnlen.c, gl/vasnprintf.c, gl/xmalloc.c, gl/xstrdup.c: GNULib sync. 2003-10-01 Simon Josefsson * lib/internal.h: Move #include to STDC_HEADERS. 2003-10-01 Simon Josefsson * lib/xfinish.c: Revert and fix. Suggested by Andorz Nilsson . 2003-10-01 Simon Josefsson * lib/xstart.c, lib/xstep.c: Revert, less duplicated code. Suggested by Andorz Nilsson . 2003-09-20 Simon Josefsson * configure.ac: Disable KERBEROS_V5 by default (Shishi API too unstable). 2003-09-02 Simon Josefsson * doc/{ => specification}/draft-newman-sasl-c-api-02.txt: Move to specification/. 2003-09-02 Simon Josefsson * doc/draft-newman-sasl-c-api-02.txt: Add. 2003-09-01 Simon Josefsson * configure.ac: Don't check for math.h (not needed). 2003-09-01 Simon Josefsson * lib/digest-md5.c: Don't require -lm. 2003-08-29 Simon Josefsson * doc/specification/draft-murchison-sasl-login-00.txt: Add. 2003-08-22 Simon Josefsson * src/Makefile.am: Link gnulib (for argp). 2003-08-22 Simon Josefsson * configure.ac: fix libidn paths. 2003-08-22 Simon Josefsson * configure.ac: Fix libidn CFLAGS. 2003-08-19 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-02.txt: Add. 2003-08-09 Simon Josefsson * gl/Makefile.am: Use libtool. 2003-08-09 Simon Josefsson * gl/.cvsignore: [no log message] 2003-08-05 Simon Josefsson * NEWS: Fix. 2003-08-04 Simon Josefsson * NEWS: Typo. 2003-08-04 Simon Josefsson * NEWS: Add. 2003-08-04 Simon Josefsson * configure.ac, lib/common.c, lib/done.c, lib/init.c, lib/internal.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, tests/simple.c: Make client/server optional. 2003-08-04 Simon Josefsson * configure.ac: Add gnulib checks. 2003-08-04 Simon Josefsson * lib/digest-md5.c: Don't require -lm. 2003-08-04 Simon Josefsson * lib/Makefile.am: Remove -lm. 2003-08-04 Simon Josefsson * NEWS, THANKS, gl/Makefile.am, gl/asnprintf.c, gl/asprintf.c, gl/exitfail.c, gl/exitfail.h, gl/gettext.h, gl/m4/Makefile.am, gl/m4/exitfail.m4, gl/m4/intmax_t.m4, gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/signed.m4, gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/wchar_t.m4, gl/m4/wint_t.m4, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/unlocked-io.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/vasprintf.h, gl/xalloc.h, gl/xmalloc.c: Add. 2003-07-31 Simon Josefsson * Makefile.am: Replace gnudist with gnuftp. 2003-07-31 Simon Josefsson * doc/gsasl.texi: Don't read token from server if we are done. 2003-07-31 Simon Josefsson * doc/gsasl.texi: Fix typos, suggested by Andorz Nilsson. 2003-07-31 Simon Josefsson * doc/gsasl.texi: Update documentation to new API exit codes, suggested by Andorz Nilsson. 2003-07-11 Simon Josefsson * gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h: Sync. 2003-07-11 Simon Josefsson * gl/argp-fmtstream.h, gl/argp-namefrob.h: Cleanup. 2003-07-11 Simon Josefsson * gl/argp-fmtstream.c, gl/argp-help.c, gl/argp-parse.c: Sync. 2003-07-10 Simon Josefsson * configure.ac: Check for sys/types.h earlier. Improve libidn warning. 2003-07-10 Simon Josefsson * src/internal.h: Include sys/types.h earlier. 2003-07-10 Simon Josefsson * gl/argp-namefrob.h: Be safer when config.h doesn't define _UNLOCKED stuff. 2003-07-10 Simon Josefsson * gl/argp-namefrob.h, gl/m4/Makefile.am: Add. 2003-07-10 Simon Josefsson * gl/argp-help.c: Move namespace fixes to argp-namefrob.h. 2003-07-10 Simon Josefsson * gl/Makefile.am, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-xinl.c, gl/argp.h, gl/m4/argp.m4, gl/m4/mempcpy.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/mempcpy.c, gl/mempcpy.h, gl/strndup.c, gl/strnlen.c: Portability fixes. 2003-07-10 Simon Josefsson * configure.ac: More gnulib tests. 2003-07-10 Simon Josefsson * lib/Makefile.am: Fix libtool warning when linking gnulib. 2003-07-10 Simon Josefsson * gl/Makefile.am: Add deps. 2003-07-10 Simon Josefsson * configure.ac: Warn about too recent libgcrypt. 2003-07-10 Simon Josefsson * gl/argp-fmtstream.h, gl/argp-help.c, gl/argp.h: Sent to libc-alpha. 2003-07-10 Simon Josefsson * configure.ac: Fix test comparator. 2003-07-10 Simon Josefsson * .cvsignore: [no log message] 2003-07-10 Simon Josefsson * NEWS: Add. 2003-07-10 Simon Josefsson * po/gsasl.pot, po/sv.po: Generated. 2003-07-10 Simon Josefsson * Makefile.am: Don't regenerate ChangeLog too often. 2003-07-10 Simon Josefsson * m4/Makefile.am, m4/pkg.m4: Add. 2003-07-10 Simon Josefsson * configure.ac: Disable libgcrypt if the unreleased API incompatible version is installed. 2003-07-10 Simon Josefsson * po/{libgsasl.pot => gsasl.pot}: Rename due to tarname change. 2003-07-10 Simon Josefsson * po/Makevars: Use explicit bug address (cannot use relative one, sigh). 2003-07-10 Simon Josefsson * po/Makevars: Add bug address. 2003-07-10 Simon Josefsson * Makefile.am: Update release target. 2003-07-10 Simon Josefsson * configure.ac: Change tarname from libgsasl to gsasl. 2003-07-10 Simon Josefsson * NEWS: Add. 2003-07-10 Simon Josefsson * po/.cvsignore: [no log message] 2003-07-10 Simon Josefsson * po/.cvsignore: [no log message] 2003-07-10 Simon Josefsson * po/Makevars: Update. 2003-07-10 Simon Josefsson * configure.ac: Use gettext 0.12.1. 2003-07-10 Simon Josefsson * configure.ac, lib/Makefile.am: Replace argp and REPLACE_OBJ with gnulib. 2003-07-10 Simon Josefsson * Makefile.am, src/Makefile.am: Replace argp with gl. 2003-07-10 Simon Josefsson * gl/.cvsignore, gl/Makefile.am, gl/alloca.c, gl/alloca_.h, gl/argp-ba.c, gl/argp-eexst.c, gl/argp-fmtstream.c, gl/argp-fmtstream.h, gl/argp-fs-xinl.c, gl/argp-help.c, gl/argp-namefrob.h, gl/argp-parse.c, gl/argp-pv.c, gl/argp-pvh.c, gl/argp-xinl.c, gl/argp.h, gl/error.c, gl/error.h, gl/gethostname.c, gl/getopt.c, gl/getopt.h, gl/getopt1.c, gl/gettext.h, gl/m4/.cvsignore, gl/m4/Makefile.am, gl/m4/alloca.m4, gl/m4/argp.m4, gl/m4/codeset.m4, gl/m4/error.m4, gl/m4/gethostname.m4, gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc21.m4, gl/m4/iconv.m4, gl/m4/intdiv0.m4, gl/m4/inttypes-pri.m4, gl/m4/inttypes.m4, gl/m4/inttypes_h.m4, gl/m4/isc-posix.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/malloc.m4, gl/m4/memmove.m4, gl/m4/memset.m4, gl/m4/nls.m4, gl/m4/onceonly_2_57.m4, gl/m4/po.m4, gl/m4/progtest.m4, gl/m4/realloc.m4, gl/m4/stdint_h.m4, gl/m4/strchrnul.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/strerror_r.m4, gl/m4/sysexits.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/unlocked-io.m4, gl/m4/xalloc.m4, gl/malloc.c, gl/memmove.c, gl/memset.c, gl/realloc.c, gl/strchrnul.c, gl/strchrnul.h, gl/strdup.c, gl/strerror.c, gl/sysexit_.h, gl/unlocked-io.h, gl/xalloc.h, gl/xmalloc.c, gl/xstrdup.c: Add. 2003-07-10 Simon Josefsson * argp/.cvsignore: [no log message] 2003-07-10 Simon Josefsson * argp/Makefile.am, argp/Versions, argp/acinclude.m4, argp/argp-ba.c, argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fmtstream.h, argp/argp-fs-xinl.c, argp/argp-help.c, argp/argp-namefrob.h, argp/argp-parse.c, argp/argp-pv.c, argp/argp-pvh.c, argp/argp-test.c, argp/argp-xinl.c, argp/argp.h, argp/config.h.in, argp/configure.ac, argp/libargp.m4, argp/mempcpy.c, argp/strchrnul.c, argp/strndup.c, lib/gethostname.c, lib/memmove.c, lib/memset.c, lib/strdup.c, lib/strerror.c: Remove (to be replaced by gnulib). 2003-07-02 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-03.txt: Add. 2003-07-02 Simon Josefsson * Makefile.am: Add legal information to ChangeLog. 2003-07-02 Simon Josefsson * .cvscopying: Add. 2003-07-01 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-01.txt, doc/specification/draft-ietf-sasl-rfc2831bis-02.txt: Add. 2003-06-12 Simon Josefsson * doc/Makefile.am: Don't overwrite gsasl.1 if help2man isn't available. 2003-06-10 Simon Josefsson * doc/specification/draft-ietf-sasl-crammd5-00.txt: Add. 2003-06-08 Simon Josefsson * configure.ac: Bump version. 2003-06-02 Simon Josefsson * ChangeLog: [no log message] 2003-06-02 Simon Josefsson * NEWS: Version 0.0.7. 2003-06-02 Simon Josefsson * lib/gssapi.c: Use gss.h. 2003-05-30 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2831bis-01.txt: Add. 2003-05-28 Simon Josefsson * doc/specification/draft-ietf-sasl-saslprep-02.txt: Add. 2003-05-27 Simon Josefsson * NEWS: Fix. 2003-05-27 Simon Josefsson * doc/gsasl.texi: Mention GSS/Heimdal. 2003-05-27 Simon Josefsson * configure.ac: Bump version number. 2003-05-27 Simon Josefsson * README, THANKS: Mention Heimdal. 2003-05-27 Simon Josefsson * NEWS: Add. 2003-05-27 Simon Josefsson * lib/gssapi.c: SS_C_NT_HOSTBASED_SERVICE work around moved to configure. 2003-05-27 Simon Josefsson * configure.ac: GSS_C_NT_HOSTBASED_SERVICE work around moved to configure. 2003-05-27 Simon Josefsson * README: Mention GSS, CCured. Remove todo. 2003-05-27 Simon Josefsson * configure.ac: Warn if GSS isn't found. 2003-05-27 Simon Josefsson * THANKS: Mention GSS. 2003-05-27 Simon Josefsson * doc/gsasl.texi: License doesn't have to be invariant. 2003-05-26 Simon Josefsson * doc/Makefile.am: Replace lt-gsasl with gsasl in man page (work around libtool). 2003-05-24 Simon Josefsson * doc/specification/draft-ietf-sasl-rfc2222bis-00.txt: Add. 2003-05-24 Simon Josefsson * lib/gssapi.c: Deallocate GSS context correctly. 2003-05-18 Simon Josefsson * lib/gssapi.c: Support GSS. 2003-05-18 Simon Josefsson * lib/Makefile.am: Add GSS flags. 2003-05-18 Simon Josefsson * configure.ac: Detect GSS. 2003-05-06 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-01.txt, doc/specification/draft-ietf-sasl-saslprep-00.txt, doc/specification/draft-ietf-sasl-saslprep-01.txt: Add. 2003-05-06 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-00.txt: Add. 2003-05-06 Simon Josefsson * doc/specification/draft-ietf-sasl-plain-01.txt: Add. 2003-04-16 Simon Josefsson * ANNOUNCE: Mention devices it works on. 2003-03-31 Simon Josefsson * doc/specification/draft-newman-sasl-c-api-01.txt: Add. 2003-03-17 Simon Josefsson * THANKS: Add. 2003-03-17 Simon Josefsson * AUTHORS: Fix. 2003-03-17 Simon Josefsson * doc/gsasl.texi: Don't ack self. Fix --imap descriptoin. 2003-03-17 Simon Josefsson * Makefile.am: Fix release target. 2003-03-17 Simon Josefsson * ChangeLog: [no log message] 2003-03-17 Simon Josefsson * Makefile.am: Fix pkg-config filename. Fix release target. 2003-03-17 Simon Josefsson * NEWS: Version 0.0.6. 2003-03-17 Simon Josefsson * po/sv.po: Generated. 2003-03-17 Simon Josefsson * .cvsignore: [no log message] 2003-03-17 Simon Josefsson * doc/gsasl.texi: Update ports. 2003-03-17 Simon Josefsson * configure.ac: Bump version. 2003-03-17 Simon Josefsson * po/{gsasl.pot => libgsasl.pot}, po/sv.po: Fix. 2003-03-17 Simon Josefsson * configure.ac: Revert libgsasl->gsasl rename. Bump so version. 2003-03-17 Simon Josefsson * src/gsasl.c: Don't prepend 's:'. 2003-03-17 Simon Josefsson * .cvsignore: [no log message] 2003-03-17 Simon Josefsson * NEWS: Add. 2003-03-17 Simon Josefsson * Makefile.am, configure.ac, gsasl.pc.in => libgsasl.pc.in: Revert unfinished libgsasl->gsasl pkg-config rename (unwise since it has been package in debian now). 2003-03-17 Simon Josefsson * ANNOUNCE: Add krb5. Fix licensing. 2003-03-17 Simon Josefsson * Makefile.am: Fix maintainer targets. 2003-03-17 Simon Josefsson * lib/common.c, lib/kerberos_v5.c, lib/kerberos_v5.h: Add kerberos encode/decode. 2003-02-28 Simon Josefsson * doc/specification/draft-ietf-sasl-anon-00.txt, doc/specification/draft-ietf-sasl-rfc2831bis-00.txt, doc/specification/draft-newman-nntpext-auth-01.txt, doc/specification/draft-nystrom-securid-sasl-00.txt, doc/specification/draft-nystrom-securid-sasl-02.txt, doc/specification/draft-weltman-java-sasl-01.txt, doc/specification/draft-zuccherato-9798-3-sasl-01.txt, doc/specification/draft-zuccherato-9798-3-sasl-02.txt: Add. 2003-02-27 Simon Josefsson * doc/gsasl.texi: Typo fix. 2003-02-19 Simon Josefsson * Makefile.am: Generate FSF style ChangeLog. 2003-02-14 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Add. 2003-02-14 Simon Josefsson * src/gsasl.c, src/internal.h: Fix socket address. 2003-02-14 Simon Josefsson * .cvsignore, Makefile.am, configure.ac, doc/Makefile.am, libgsasl.pc.in => gsasl.pc.in, lib/init.c, lib/internal.h, po/{libgsasl.pot => gsasl.pot}, po/sv.po, src/Makefile.am, src/gsasl.c, src/internal.h: Rename package from libgsasl to gsasl. Use external gettext. Cleanup GTK-DOC, now disabled by default. 2003-02-14 Simon Josefsson * lib/Makefile.am: Remove spurious non-ASCII character. 2003-02-14 Simon Josefsson * configure.ac: Fix libidn typo. 2003-02-10 Simon Josefsson * README: Fix. 2003-02-10 Simon Josefsson * README-alpha: Add CVS building info. 2003-02-08 Simon Josefsson * src/callbacks.c: Fix. 2003-02-08 Simon Josefsson * lib/gsasl.h.in, lib/hexdump.c, lib/init.c, lib/listmech.c, lib/login.c, lib/login.h, lib/supportp.c, lib/xstart.c, lib/xstep.c, src/gsasl.c, src/internal.h, tests/simple.c: Fix. 2003-02-08 Simon Josefsson * lib/done.c: Fix. 2003-02-08 Simon Josefsson * doc/gsasl.texi: Add. 2003-02-05 Simon Josefsson * lib/kerberos_v5.c: API fixes. 2003-02-04 Simon Josefsson * doc/specification/draft-josefsson-sasl-kerberos5-01.txt: Add. 2003-02-03 Simon Josefsson * doc/reference/tmpl/gsasl.sgml: Generated. 2003-02-03 Simon Josefsson * doc/reference/Makefile.am: Add. 2003-02-03 Simon Josefsson * autogen.sh: Cleanup. 2003-02-03 Simon Josefsson * lib/kerberos_v5.c: Fix. 2003-02-03 Simon Josefsson * lib/kerberos_v5.c: Fix. 2003-02-02 Simon Josefsson * lib/kerberos_v5.c: Remove. 2003-02-02 Simon Josefsson * lib/kerberos_v5.c: Almost operational. 2003-02-02 Simon Josefsson * lib/kerberos_v5.c: Code sync. 2003-02-02 Simon Josefsson * lib/callback.c, lib/gsasl.h.in, lib/internal.h, lib/kerberos_v5.c, src/callbacks.c, src/callbacks.h, src/gsasl.c: Add client realm callback. 2003-02-01 Simon Josefsson * lib/kerberos_v5.c: Fixes. Non-infrastructure mode finishes SASL negotiation, but with fixed username, realm etc and without proper Authentication application data. 2003-02-01 Simon Josefsson * lib/error.c, lib/gsasl.h.in: Add GSASL_NEED_SERVER_RETRIEVE_CALLBACK. 2003-02-01 Simon Josefsson * doc/gsasl.texi: Add KERBEROS_V5. 2003-02-01 Simon Josefsson * README: Add. 2003-02-01 Simon Josefsson * README: Add. 2003-02-01 Simon Josefsson * README: Fix. 2003-01-31 Simon Josefsson * lib/common.c, lib/cram-md5.c, lib/digest-md5.c, lib/kerberos_v5.c, lib/kerberos_v5.h, src/gsasl.c, src/internal.h: Indent. 2003-01-31 Simon Josefsson * lib/.cvsignore: [no log message] 2003-01-31 Simon Josefsson * lib/Makefile.am, lib/common.c, lib/gsasl.h.in, lib/kerberos_v5.c, lib/kerberos_v5.h: Add unfinished KERBEROS_V5. 2003-01-31 Simon Josefsson * configure.ac: Fix NTLM. Add shishi test. 2003-01-31 Simon Josefsson * lib/anonymous.c, lib/anonymous.h, lib/cram-md5.c, lib/digest-md5.c, lib/external.c, lib/external.h, lib/gssapi.c, lib/login.h, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/x-gssapi.h, lib/x-ntlm.h: Fix includes. 2003-01-30 Simon Josefsson * README: Add. 2003-01-30 Simon Josefsson * src/gsasl.c: Set --service to "imap" when --imap is specified. Set --hostname when --connect is specified. 2003-01-30 Simon Josefsson * ANNOUNCE: Add. 2003-01-30 Simon Josefsson * doc/gsasl.texi: Fix. 2003-01-27 Simon Josefsson * doc/gsasl.texi: Fix. 2003-01-27 Simon Josefsson * THANKS: Fix. 2003-01-27 Simon Josefsson * THANKS, doc/specification/draft-josefsson-sasl-kerberos5-00.txt: Add. 2003-01-27 Simon Josefsson * ANNOUNCE: Fix link. 2003-01-27 Simon Josefsson * ChangeLog: [no log message] 2003-01-27 Simon Josefsson * doc/Makefile.am: Don't try to build gsasl.txt. 2003-01-27 Simon Josefsson * NEWS, configure.ac: Release 0.0.5. 2003-01-27 Simon Josefsson * doc/gsasl.texi: Add Invoking gsasl. 2003-01-27 Simon Josefsson * src/gsasl.c: Incomplete but working --imap and --connect support. 2003-01-27 Simon Josefsson * src/internal.h: Include more (for select and friends). 2003-01-27 Simon Josefsson * configure.ac: Remove gnet. Don't check for libntlm, libgcrypt if disabled. Check errno. 2003-01-27 Simon Josefsson * lib/gssapi.c: Fix return value of last step in client. 2003-01-27 Simon Josefsson * lib/digest-md5.c: Fix encode/decode. 2003-01-26 Simon Josefsson * configure.ac: Look for libgnet. 2003-01-25 Simon Josefsson * doc/gsasl.texi: Add libgcrypt secure memory. 2003-01-25 Simon Josefsson * lib/cram-md5.c, lib/digest-md5.c: Fix libgcrypt initialization. 2003-01-23 Simon Josefsson * lib/digest-md5.c: (_gsasl_digest_md5_server_encode): Don't check output buffer size when output buffer is NULL. Reported by Sergey Poznyakoff . 2003-01-20 Simon Josefsson * po/libgsasl.pot, po/sv.po: Update. 2003-01-20 Simon Josefsson * NEWS: Fix. 2003-01-20 Simon Josefsson * doc/gsasl.texi: Fix acks. 2003-01-20 Simon Josefsson * doc/Makefile.am: Use automake's ps and pdf targets. Remove gsasl.txt target. 2003-01-20 Simon Josefsson * README-alpha, doc/reference/tmpl/gsasl.sgml: Fix. 2003-01-20 Simon Josefsson * doc/reference/tmpl/.cvsignore: [no log message] 2003-01-20 Simon Josefsson * doc/reference/gsasl-docs.sgml, doc/reference/tmpl/gsasl.sgml: Add. 2003-01-15 Simon Josefsson * NEWS: Add. 2003-01-15 Simon Josefsson * doc/reference/Makefile.am: Add uninstall target. Make distcheck fail gracefully. 2003-01-15 Simon Josefsson * configure.ac: Typos. 2003-01-15 Simon Josefsson * Makefile.am: Distcheck doesn't work with GTK-DOC. 2003-01-15 Simon Josefsson * Makefile.am: Fix distcheck for ChangeLog. 2003-01-15 Simon Josefsson * Makefile.am, configure.ac, lib/Makefile.am, src/Makefile.am: Use libidn instead of libstringprep. 2003-01-15 Simon Josefsson * README: Fix URL. 2003-01-15 Simon Josefsson * doc/gsasl.texi: Fix typos. 2003-01-15 Simon Josefsson * doc/gdoc: Fix -texinfo. 2003-01-15 Simon Josefsson * AUTHORS: Fix. 2003-01-15 Simon Josefsson * lib/error.c, lib/version.c: Doc fix. 2002-12-15 Simon Josefsson * ANNOUNCE: Fix. 2002-12-14 Simon Josefsson * configure.ac, lib/anonymous.c, lib/anonymous.h, lib/callback.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/external.c, lib/external.h, lib/gsasl.h.in, lib/gssapi.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c: GTK-DOC fixes. 2002-12-14 Simon Josefsson * doc/reference/.cvsignore: [no log message] 2002-12-14 Simon Josefsson * doc/Makefile.am, doc/reference/Makefile.am, doc/reference/gsasl-docs.sgml, doc/reference/gsasl.types: Add GTK-DOC generated manual. 2002-12-14 Simon Josefsson * Makefile.am: Make sure ChangeLog is regenerated. 2002-12-13 Simon Josefsson * src/gsasl.c: Fix. 2002-12-13 Simon Josefsson * autogen.sh: [no log message] 2002-12-13 Simon Josefsson * ANNOUNCE, Makefile.am, README: GNU fixes. 2002-12-13 Simon Josefsson * NEWS, configure.ac, doc/gsasl.texi: More GNU changes. 2002-12-13 Simon Josefsson * ChangeLog: [no log message] 2002-12-13 Simon Josefsson * NEWS, configure.ac: Release 0.0.4. 2002-12-13 Simon Josefsson * doc/Makefile.am: Fix. 2002-12-13 Simon Josefsson * po/libgsasl.pot, po/sv.po: Autogenerated stuff. 2002-12-13 Simon Josefsson * doc/gsasl.texi: Fix. 2002-12-13 Simon Josefsson * doc/gsasl.texi: Ports. 2002-12-13 Simon Josefsson * doc/Makefile.am: Remove lgpl. 2002-12-13 Simon Josefsson * NEWS, doc/Makefile.am: Fix. 2002-12-13 Simon Josefsson * ANNOUNCE, COPYING.LIB, Makefile.am, NEWS, README, configure.ac, doc/Makefile.am, doc/gsasl.texi, doc/lgpl.texi, lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/callback.c, lib/common.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/done.c, lib/error.c, lib/external.c, lib/external.h, lib/gsasl.h.in, lib/gssapi.c, lib/hexdump.c, lib/init.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/md5pwd.c, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/suggest.c, lib/supportp.c, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/internal.h, tests/Makefile.am: GPL. 2002-12-10 Simon Josefsson * tests/simple.c: Check length in pin callback. 2002-12-10 Simon Josefsson * lib/securid.c: Fix crash. 2002-12-10 Simon Josefsson * ANNOUNCE, doc/gsasl.texi: Fix. 2002-12-10 Simon Josefsson * doc/gsasl.texi: Name changes. 2002-12-10 Simon Josefsson * AUTHORS, Makefile.am, NEWS, README, THANKS, configure.ac, doc/Makefile.am, doc/gsasl.texi, lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/callback.c, lib/common.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/done.c, lib/error.c, lib/external.c, lib/external.h, lib/gsasl.h.in, lib/gssapi.c, lib/hexdump.c, lib/init.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/md5pwd.c, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/suggest.c, lib/supportp.c, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, libgsasl.pc.in, m4/Makefile.am, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c, src/internal.h, tests/Makefile.am, tests/simple.c, tests/unicode.c: Update name to "GNU SASL". 2002-12-10 Simon Josefsson * configure.ac: Support dmalloc. 2002-12-10 Simon Josefsson * NEWS: GNU project. 2002-12-10 Simon Josefsson * autogen.sh: [no log message] 2002-12-09 Simon Josefsson * configure.ac: Gnits. 2002-12-09 Simon Josefsson * README-alpha: Add. 2002-12-09 Simon Josefsson * README, doc/gsasl.texi: GNU project. 2002-12-09 Simon Josefsson * ANNOUNCE: Add. 2002-12-07 Simon Josefsson * doc/gdoc-error: Use GPL instead of LGPL. 2002-12-05 Simon Josefsson * doc/gsasl.texi: Fix. 2002-12-05 Simon Josefsson * ChangeLog: [no log message] 2002-12-05 Simon Josefsson * NEWS: 0.0.3 released. 2002-12-05 Simon Josefsson * Makefile.am: Don't cvs2cl libstringprep. 2002-12-05 Simon Josefsson * lib/anonymous.c, lib/cram-md5.c, lib/digest-md5.c, lib/xstep.c, src/callbacks.c, src/callbacks.h, src/gsasl.c, tests/simple.c: Indent. 2002-12-05 Simon Josefsson * argp/argp-fmtstream.c, argp/argp-help.c: s/putc_unlocked/putc/g for freebsd on alpha 2002-12-05 Simon Josefsson * Makefile.am, configure.ac, src/Makefile.am: Use libtool with gettext (again! but see hack in Makefile.am). 2002-12-05 Simon Josefsson * README: Openbsd on alpha fails self tests. 2002-12-05 Simon Josefsson * .cvsignore: [no log message] 2002-12-05 Simon Josefsson * lib/securid.c: Don't strlen possibly indefinite string. 2002-12-05 Simon Josefsson * src/Makefile.am: Use ARGP_*. 2002-12-05 Simon Josefsson * lib/Makefile.am: EXTRA_DIST AC_LIBOBJ's. Use LTLIBINTL, not LIBINTL. 2002-12-05 Simon Josefsson * configure.ac: Trim some junk. Replace non-existing required functions. 2002-12-05 Simon Josefsson * lib/gethostname.c, lib/memmove.c, lib/memset.c, lib/strdup.c, lib/strerror.c: An AC_LIBOBJ, from gnulib. 2002-12-05 Simon Josefsson * THANKS: Add copying conditions. 2002-12-05 Simon Josefsson * README: Fix. 2002-12-05 Simon Josefsson * doc/gsasl.texi: Tested on IRIX and AIX. 2002-12-05 Simon Josefsson * src/gsasl.c: Clean up #include mess by creating internal.h. Add --no-client-first. 2002-12-05 Simon Josefsson * src/callbacks.c, src/callbacks.h, src/internal.h: Clean up #include mess by creating internal.h. 2002-12-05 Simon Josefsson * lib/internal.h: Add #include guards. 2002-12-05 Simon Josefsson * lib/gsasl.h.in: Add rationale for #include's. 2002-12-05 Simon Josefsson * doc/gsasl.texi: Add supported platforms, bug reporting, error labels. 2002-12-05 Simon Josefsson * doc/Makefile.am: Add error-labels. 2002-12-05 Simon Josefsson * doc/specification/draft-josefsson-sasl-api-export.txt: Save it for posterity. 2002-12-05 Simon Josefsson * doc/.cvsignore: Add. 2002-12-05 Simon Josefsson * doc/gdoc-error: Fix copying conditions. 2002-12-05 Simon Josefsson * doc/gdoc-error: Fix copying conditions. 2002-12-05 Simon Josefsson * doc/gdoc-error: Make it less shishi specific. 2002-12-05 Simon Josefsson * AUTHORS: Add copying conditions. 2002-12-05 Simon Josefsson * autogen.sh: fix 2002-12-03 Simon Josefsson * doc/gdoc-error: Generate error label documentation. 2002-11-26 Simon Josefsson * m4/Makefile.am, m4/libgcrypt.m4: add gcrypt 2002-11-14 Simon Josefsson * AUTHORS: Add OpenPGP key. 2002-11-14 Simon Josefsson * po/sv.po: Update. 2002-11-14 Simon Josefsson * po/libgsasl.pot: Autoupdate. 2002-11-14 Simon Josefsson * m4/Makefile.am: It's back, EXTRA_DIST was needed. 2002-11-14 Simon Josefsson * .cvsignore, argp/.cvsignore, doc/.cvsignore, po/.cvsignore: [no log message] 2002-11-14 Simon Josefsson * Makefile.am: Add sign target. 2002-11-14 Simon Josefsson * m4/.cvsignore: Everything in this directory is automatically generated. 2002-11-14 Simon Josefsson * m4/.cvsignore: Removed. 2002-11-14 Simon Josefsson * ABOUT-NLS, config.rpath, m4/Makefile.am, m4/libgcrypt.m4, m4/pkg.m4, po/ChangeLog, po/Makefile.in.in, po/Makevars.template, po/Rules-quot, po/boldquot.sed, po/en@boldquot.header, po/en@quot.header, po/insert-header.sin, po/quot.sed, po/remove-potcdate.sin: Remove junk (automatically generated). 2002-11-14 Simon Josefsson * intl/.cvsignore, intl/ChangeLog, intl/Makefile.in, intl/VERSION, intl/bindtextdom.c, intl/config.charset, intl/dcgettext.c, intl/dcigettext.c, intl/dcngettext.c, intl/dgettext.c, intl/dngettext.c, intl/eval-plural.h, intl/explodename.c, intl/finddomain.c, intl/gettext.c, intl/gettextP.h, intl/gmo.h, intl/hash-string.h, intl/intl-compat.c, intl/l10nflist.c, intl/libgnuintl.h, intl/loadinfo.h, intl/loadmsgcat.c, intl/localcharset.c, intl/locale.alias, intl/localealias.c, intl/localename.c, intl/ngettext.c, intl/os2compat.c, intl/os2compat.h, intl/osdep.c, intl/plural-exp.c, intl/plural-exp.h, intl/plural.y, intl/ref-add.sin, intl/ref-del.sin, intl/textdomain.c, m4/ChangeLog, m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4, m4/intdiv0.m4, m4/inttypes-pri.m4, m4/inttypes.m4, m4/inttypes_h.m4, m4/isc-posix.m4, m4/lcmessage.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, m4/progtest.m4, m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4, mkinstalldirs: Remove junk (automatically generated). 2002-11-14 Simon Josefsson * argp/depcomp, argp/install-sh, argp/missing, argp/mkinstalldirs: Removed junk (automatically generated). 2002-11-14 Simon Josefsson * configure.ac: Bump versions. Fixes for autoreconf. 2002-11-14 Simon Josefsson * autogen.sh: Use autoreconf. 2002-11-14 Simon Josefsson * README: Add todos. 2002-11-14 Simon Josefsson * lib/gssapi.c: Clear outputlen in final step. 2002-11-14 Simon Josefsson * lib/gsasl.h.in: Add consts. 2002-11-14 Simon Josefsson * lib/error.c: Fix. 2002-11-10 Simon Josefsson * lib/digest-md5.h: Fix encode/decode headers. 2002-11-10 Simon Josefsson * lib/gssapi.c, lib/plain.c, lib/securid.c: -Wall fixes. 2002-11-10 Simon Josefsson * autogen.sh: no -pedantic 2002-11-10 Simon Josefsson * src/callbacks.c: Fix -Wall warning. 2002-11-10 Simon Josefsson * lib/listmech.c: Remove unused variable. 2002-11-10 Simon Josefsson * lib/base64.c: Replace "unsigned char" with "char" in API function arguments. 2002-11-10 Simon Josefsson * src/callbacks.c, src/callbacks.h: Add const. 2002-11-10 Simon Josefsson * lib/gsasl.h.in: Add const in a few places. Don't specify sign of char*. 2002-11-10 Simon Josefsson * tests/simple.c: const stuff to sync with header changes. 2002-11-10 Simon Josefsson * lib/digest-md5.c: Various -Wall cleanups. 2002-11-10 Simon Josefsson * lib/cram-md5.c: Fix signedness compiler warnings. 2002-11-10 Simon Josefsson * lib/common.c: Export GSASL_VALID_MECHANISM_CHARACTERS. 2002-11-10 Simon Josefsson * lib/cram-md5.c, lib/ntlm.c, lib/plain.c, lib/securid.c, src/gsasl.c: Indent. 2002-11-10 Simon Josefsson * lib/anonymous.c: Reject repeated empty server attempts. 2002-11-10 Simon Josefsson * Makefile.am: Add indent target. 2002-11-10 Simon Josefsson * lib/digest-md5.c: Handle client sends first. 2002-11-10 Simon Josefsson * lib/cram-md5.c: Fix memory leaks. Don't misbehave if callbacks return GSASL_NEEDS_MORE. Set output length. 2002-11-10 Simon Josefsson * src/callbacks.c: (utf8cpy): Fix DST=NULL. (server_callback_retrieve): Print auth, authz, password. 2002-11-10 Simon Josefsson * src/gsasl.c: Add --no-client-first for disabling client behaviour of sending it's data first (RFC 2222 5.1). 2002-11-10 Simon Josefsson * lib/cram-md5.c: Fail if no server challenge. Don't misbehave if callbacks return GSASL_NEEDS_MORE. 2002-11-10 Simon Josefsson * src/gsasl.c: Now defaults to disable application data processing (subject to new parameter --application-data). 2002-11-10 Simon Josefsson * src/gsasl.c: Abort application data handling early on EOF 2002-11-10 Simon Josefsson * src/gsasl.c: Inform user that --password is only for testing. 2002-11-08 Simon Josefsson * doc/specification/draft-nerenberg-sasl-crammd5-03.txt, doc/specification/draft-zeilenga-sasl-anon-01.txt, doc/specification/draft-zeilenga-sasl-plain-01.txt: [no log message] 2002-11-07 Simon Josefsson * ChangeLog: [no log message] 2002-11-07 Simon Josefsson * NEWS, configure.ac: 0.0.2 2002-11-07 Simon Josefsson * libgsasl.pc.in: Add stringprep. Add -R. 2002-11-07 Simon Josefsson * : [no log message] 2002-11-07 Simon Josefsson * m4/Makefile.am, m4/pkg.m4: Add m4 for pkg-config. 2002-11-07 Simon Josefsson * Makefile.am, NEWS, README, configure.ac, lib/.cvsignore, lib/CaseFolding-3.2.0.txt, lib/CompositionExclusions-3.2.0.txt, lib/LineBreak-3.2.0.txt, lib/Makefile.am, lib/SpecialCasing-3.2.0.txt, lib/UnicodeData-3.2.0.txt, lib/cram-md5.c, lib/digest-md5.c, lib/gen-unicode-tables.pl, lib/gsasl.h.in, lib/gunibreak.h, lib/gunicomp.h, lib/gunidecomp.h, lib/internal.h, lib/login.c, lib/plain.c, lib/unicode.c, po/libgsasl.pot, po/sv.po, src/Makefile.am, src/callbacks.c, src/libcharset/.cvsignore, src/libcharset/Makefile.am, src/libcharset/README, src/libcharset/config.charset, src/libcharset/libcharset-gsasl.patch, src/libcharset/libcharset.h, src/libcharset/localcharset.c, src/libcharset/localcharset.c.orig, src/libcharset/make-patch.sh, src/libcharset/ref-add.sin, src/libcharset/ref-del.sin, src/libcharset/update.sh, tests/Makefile.am, tests/unicode.c: Use libstringprep (include copy of 0.0.1) instead of internal Unicode stuff. 2002-11-07 Simon Josefsson * doc/specification/draft-newman-sasl-c-api-00.txt: [no log message] 2002-10-19 Simon Josefsson * lib/securid.c: Remove 'const's (causes warnings). Flip order of authorization and authentication ID. 2002-10-19 Simon Josefsson * configure.ac: Silently continue if pkg-config isn't available. 2002-10-19 Simon Josefsson * README: MIPS build was in 64 bit mode. 2002-10-19 Simon Josefsson * README: Update list of systems; GNU make does not seem to be required. 2002-10-19 Simon Josefsson * Makefile.am: Ignore some files for ChangeLog entries. 2002-10-19 Simon Josefsson * ChangeLog: [no log message] 2002-10-19 Simon Josefsson * src/gsasl.c: Update for new API that allows GSASL_OK to return data during authentication. 2002-10-19 Simon Josefsson * tests/.cvsignore, tests/Makefile.am, tests/plain-client.sh, tests/simple.c, tests/unicode.c: Removed plain-client.sh (unreliable with non-ASCII in shell script). Added C program to check simple SASL mechanisms against test vectors. Added indent makefile target to re-indent files. 2002-10-19 Simon Josefsson * lib/anonymous.c, lib/cram-md5.c, lib/digest-md5.c, lib/external.c, lib/login.c, lib/ntlm.c, lib/plain.c, lib/securid.c, lib/xstep.c: Change API to allow data to be returned with GSASL_OK. Fix callback return code in ANONYMOUS client. Make mechanisms reject too many empty invocations. Made LOGIN use authorization ID instead of authentication ID. NTLM doesn't require initial challenge to be '+' (probably IMAP leftover). SECURID implements non-initial steps correctly. 2002-10-19 Simon Josefsson * .cvsignore: [no log message] 2002-10-19 Simon Josefsson * .cvsignore, argp/.cvsignore, src/.cvsignore: [no log message] 2002-10-19 Simon Josefsson * libgsasl.pc.in: Pkg-config description file for libgsasl. 2002-10-19 Simon Josefsson * NEWS: Pkg-config stuff. 2002-10-19 Simon Josefsson * src/libgsasl-config.in, src/libgsasl.m4: Removed, replaced by pkg-config. 2002-10-19 Simon Josefsson * Makefile.am, configure.ac, src/Makefile.am: Use pkg-config instead of libgsasl.m4 + libgsasl-config.in Use pkg-config to find libntlm. 2002-10-19 Simon Josefsson * lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Replace LTLIBINTL with LIBINTL. 2002-10-19 Simon Josefsson * m4/libntlm.m4: Remove libntlm.m4 (replaced by pkg-config). 2002-10-19 Simon Josefsson * m4/Makefile.am: Remove libntlm.m4 2002-10-19 Simon Josefsson * configure.ac: Remove use-libtool for gettext, it breaks distcheck. Use pkg-config to find libntlm. Bump version. 2002-10-19 Simon Josefsson * argp/aclocal.m4, argp/configure: These should not be in CVS. 2002-10-17 Simon Josefsson * Makefile.am, lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Make distcheck happy. Shouldn't LTLIBINTL be included in lib/ though? Maybe a libtool bug. 2002-10-17 Simon Josefsson * autogen.sh: gettextize --copy to shut up cvsco. 2002-10-17 Simon Josefsson * ABOUT-NLS, config.rpath, mkinstalldirs: Add files to shut up gettextize. 2002-10-13 Simon Josefsson * Makefile.am: Add ChangeLog target. 2002-10-13 Simon Josefsson * .cvsusers: Add full name for better ChangeLog's. 2002-10-13 Simon Josefsson * lib/Makefile.am, lib/anonymous.c, lib/anonymous.h, lib/base64.c, lib/callback.c, lib/common.c, lib/cram-md5.c, lib/cram-md5.h, lib/digest-md5.c, lib/digest-md5.h, lib/done.c, lib/error.c, lib/external.c, lib/external.h, lib/gssapi.c, lib/gunicomp.h, lib/gunidecomp.h, lib/hexdump.c, lib/init.c, lib/internal.h, lib/listmech.c, lib/login.c, lib/login.h, lib/md5pwd.c, lib/ntlm.c, lib/plain.c, lib/plain.h, lib/securid.c, lib/securid.h, lib/suggest.c, lib/supportp.c, lib/unicode.c, lib/version.c, lib/x-gssapi.h, lib/x-ntlm.h, lib/xcode.c, lib/xfinish.c, lib/xstart.c, lib/xstep.c, src/Makefile.am, src/callbacks.c, src/callbacks.h, src/gsasl.c: Add indent Makefile targets. Indent all files. 2002-10-12 Simon Josefsson * ChangeLog, po/libgsasl.pot, po/sv.po: [no log message] 2002-10-12 Simon Josefsson * .cvsusers, lib/.cvsignore: [no log message] 2002-10-12 Simon Josefsson * lib/xcode.c: Implementation of gsasl_encode() and gsasl_decode() APIs. 2002-10-12 Simon Josefsson * configure.ac: Version 0.0.1 released. 2002-10-12 Simon Josefsson * NEWS, README: [no log message] 2002-10-12 Simon Josefsson * doc/Makefile.am: Add xcode.c to the session API documentation. 2002-10-12 Simon Josefsson * doc/gsasl.texi: Fix title. 2002-10-12 Simon Josefsson * src/gsasl.c: Improve QOP. Allow user to send/receive application payload after authentication. 2002-10-12 Simon Josefsson * src/callbacks.c: Improve QOP callback. 2002-10-12 Simon Josefsson * lib/error.c: Add GSASL_INTEGRITY_ERROR. 2002-10-12 Simon Josefsson * lib/gsasl.h.in: Add GSASL_INTEGRITY_ERROR. Add gsasl_encode() and gsasl_decode(). 2002-10-12 Simon Josefsson * lib/xstart.c: Set clientp variable. 2002-10-12 Simon Josefsson * lib/xstep.c: Only free if data was allocated by us. 2002-10-12 Simon Josefsson * lib/internal.h: Add encode/decode functions. Add clientp variable. 2002-10-12 Simon Josefsson * lib/digest-md5.c: Support integrity mode. 2002-10-12 Simon Josefsson * lib/digest-md5.h: Add encode and decode functions. 2002-10-12 Simon Josefsson * lib/common.c: Add encode and decode functions for DIGEST-MD5. 2002-10-12 Simon Josefsson * lib/Makefile.am: Add xcode.c. 2002-10-12 Simon Josefsson * lib/hexdump.c: Data is unsigned. 2002-10-12 Simon Josefsson * autogen.sh: [no log message] 2002-10-11 Simon Josefsson * doc/specification/draft-burdis-cat-srp-sasl-04.txt, doc/specification/draft-burdis-cat-srp-sasl-05.txt, doc/specification/draft-leach-cifs-v1-spec-02.txt, doc/specification/draft-leach-digest-sasl-01.txt, doc/specification/draft-leach-digest-sasl-02.txt, doc/specification/draft-leach-digest-sasl-03.txt, doc/specification/draft-leach-digest-sasl-05.txt, doc/specification/draft-myers-saslrev-01.txt, doc/specification/draft-nerenberg-sasl-crammd5-00.txt, doc/specification/draft-newman-sasl-anon-00.txt, doc/specification/rfc2095.txt: More specs. 2002-10-07 Simon Josefsson * m4/libgcrypt.m4: forgot to add it 2002-10-07 Simon Josefsson * .cvsignore, ChangeLog, argp/.cvsignore, doc/.cvsignore, intl/.cvsignore, lib/.cvsignore, m4/.cvsignore, po/.cvsignore, src/.cvsignore, src/libcharset/.cvsignore, tests/.cvsignore: [no log message] 2002-10-07 Simon Josefsson * doc/gsasl.texi: ack mit kerberos team for gssapi 2002-10-07 Simon Josefsson * README: gssapi works in server mode 2002-10-07 Simon Josefsson * Initial release, version 0.0.0. ----- Copyright (C) 2002-2019 Simon Josefsson Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved. gsasl-1.8.1/GNUmakefile0000644000000000000000000001073613516251574011613 00000000000000# Having a separate GNUmakefile lets me 'include' the dynamically # generated rules created via cfg.mk (package-local configuration) # as well as maint.mk (generic maintainer rules). # This makefile is used only if you run GNU Make. # It is necessary if you want to build targets usually of interest # only to the maintainer. # Copyright (C) 2001, 2003, 2006-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 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, see . # If the user runs GNU make but has not yet run ./configure, # give them a diagnostic. _gl-Makefile := $(wildcard [M]akefile) ifneq ($(_gl-Makefile),) # Make tar archive easier to reproduce. export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner # Allow the user to add to this in the Makefile. ALL_RECURSIVE_TARGETS = include Makefile # Some projects override e.g., _autoreconf here. -include $(srcdir)/cfg.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v include $(srcdir)/maint.mk # Ensure that $(VERSION) is up to date for dist-related targets, but not # for others: rerunning autoreconf and recompiling everything isn't cheap. _have-git-version-gen := \ $(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes) ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL)) _is-dist-target ?= $(filter-out %clean, \ $(filter maintainer-% dist% alpha beta stable,$(MAKECMDGOALS))) _is-install-target ?= $(filter-out %check, $(filter install%,$(MAKECMDGOALS))) ifneq (,$(_is-dist-target)$(_is-install-target)) _curr-ver := $(shell cd $(srcdir) \ && $(_build-aux)/git-version-gen \ .tarball-version \ $(git-version-gen-tag-sed-script)) ifneq ($(_curr-ver),$(VERSION)) ifeq ($(_curr-ver),UNKNOWN) $(info WARNING: unable to verify if $(VERSION) is the correct version) else ifneq (,$(_is-install-target)) # GNU Coding Standards state that 'make install' should not cause # recompilation after 'make all'. But as long as changing the version # string alters config.h, the cost of having 'make all' always have an # up-to-date version is prohibitive. So, as a compromise, we merely # warn when installing a version string that is out of date; the user # should run 'autoreconf' (or something like 'make distcheck') to # fix the version, 'make all' to propagate it, then 'make install'. $(info WARNING: version string $(VERSION) is out of date;) $(info run '$(MAKE) _version' to fix it) else $(info INFO: running autoreconf for new version string: $(_curr-ver)) GNUmakefile: _version touch GNUmakefile endif endif endif endif endif .PHONY: _version _version: cd $(srcdir) && rm -rf autom4te.cache .version && $(_autoreconf) $(MAKE) $(AM_MAKEFLAGS) Makefile else .DEFAULT_GOAL := abort-due-to-no-makefile srcdir = . # The package can override .DEFAULT_GOAL to run actions like autoreconf. -include ./cfg.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v include ./maint.mk ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile) $(MAKECMDGOALS): abort-due-to-no-makefile endif abort-due-to-no-makefile: @echo There seems to be no Makefile in this directory. 1>&2 @echo "You must run ./configure before running 'make'." 1>&2 @exit 1 endif # Tell version 3.79 and up of GNU make to not build goals in this # directory in parallel, in case someone tries to build multiple # targets, and one of them can cause a recursive target to be invoked. # Only set this if Automake doesn't provide it. AM_RECURSIVE_TARGETS ?= $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) \ dist distcheck tags ctags ALL_RECURSIVE_TARGETS += $(AM_RECURSIVE_TARGETS) ifneq ($(word 2, $(MAKECMDGOALS)), ) ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), ) .NOTPARALLEL: endif endif gsasl-1.8.1/AUTHORS0000644000000000000000000000413313521004636010572 00000000000000GNU SASL AUTHORS -- Information about the authors. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. Simon Josefsson Designed and implemented GNU SASL. Dirk Armand Marcel Dierckx Implemented gsasl_client/server_suggest_mechanism. James Canete Fixed digest-md5 to not add excessive commas. Adam Strzelecki Contributed Windows Visual Studio project files. -----BEGIN PGP PUBLIC KEY BLOCK----- URL: http://josefsson.org/key-20190320.txt Comment: GNU SASL sig key B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE mDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9fV+QlTmXxo2naObDuGtw5 8YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9zZWZzc29uLm9yZz6IlgQT FggAPhYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJcks60AhsDBQkBHMQABQsJCAcC BhUICQoLAgQWAgMBAh4BAheAAAoJENc89jjFPAa+mrABAM8bSSGjIEtriABJteUo A/GAWJ+VnLoR44kc5QmQxhKsAQCNdRzLXCvDvYIAOIblRRetsGdFI0zdXA/Ey/NA 0B9yALg4BFySz2oSCisGAQQBl1UBBQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmd JyYPt3lNHMd6HAMBCAeIfgQYFggAJhYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJc ks9qAhsMBQkBHMQAAAoJENc89jjFPAa+4kMBAILG9rwrhcPSAvay4XDgJ8SqDHm8 AsKA3E7zirxVq5X9AQCNlXB+RWh7yX61utkJrziBqQti/j3vHKX6c3yU4FLNC7gz BFySz3UWCSsGAQQB2kcPAQEHQLzCFcHHrKzVSPDDarZPYqn89H5TPaxwcORgRg+4 DagEiH4EGBYIACYWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCXJLPdQIbIAUJARzE AAAKCRDXPPY4xTwGvuSSAP9+QE0ODSVcRYsmSMXzEEOaCwlthh22A1CmXoV5s1yu mwD/aVUqVN1Q0mSE6iab47Q2EklsCBTl8cSq/A1DcewQKQi4MwRcks+BFgkrBgEE AdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1BBgWCAAm FiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAlySz4ECGwIFCQEcxAAAgQkQ1zz2OMU8 Br52IAQZFggAHRYhBKPMnIcLnTEKutTPL1FyKwj+R0WiBQJcks+BAAoJEFFyKwj+ R0Wip0wBAKAfjlqx5mAivAo69Q4D1B+yZ4TwZkdg24UeYz0URBLoAPoDjHlpi+hj qWj3ymC3DYc8OGZwJcUi2NcKtXgDQaYkDgouAQC5P99kv6H+PL9Bb3J9KLgFPno8 ZTuf8yhTOM7Abx+WPgEA4Kb5+ouGszRJDPOMDSp0KuxMr/usFJn3Ty1s1g5rCA4= =CBvd -----END PGP PUBLIC KEY BLOCK----- ---------------------------------------------------------------------- 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. gsasl-1.8.1/doc/0000755000000000000000000000000013521017733010350 500000000000000gsasl-1.8.1/doc/gsasl-callback-client-service.texi0000664000000000000000000000342011746471770016755 00000000000000@deftypefn Prototype int (*Gsasl_client_callback_service) (Gsasl_session_ctx * @var{ctx}, char * @var{service}, size_t * @var{servicelen}, char * @var{hostname}, size_t * @var{hostnamelen}, char * @var{servicename}, size_t * @var{servicenamelen}) @var{ctx}: libgsasl handle. @var{service}: output array with name of service. @var{servicelen}: on input the maximum size of the service output array, on output contains the actual size of the service output array. @var{hostname}: output array with hostname of server. @var{hostnamelen}: on input the maximum size of the hostname output array, on output contains the actual size of the hostname output array. @var{servicename}: output array with generic name of server in case of replication (DIGEST-MD5 only). @var{servicenamelen}: on input the maximum size of the servicename output array, on output contains the actual size of the servicename output array. Type of callback function the application implements. It should retrieve the service (which should be a registered GSSAPI host based service name, such as ``imap'') on the server, hostname of server (usually canoncial DNS hostname) and optionally generic service name of server in case of replication (e.g. ``mail.example.org'' when the hostname is ``mx42.example.org'', see the RFC 2831 for more information). It should return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails. If SERVICE, HOSTNAME or SERVICENAME is NULL, the function should only populate SERVICELEN, HOSTNAMELEN or SERVICENAMELEN with the output length of the respective field, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. Furthermore, SERVICENAMELEN may also be NULL, indicating that the mechanism is not interested in this field. @end deftypefn gsasl-1.8.1/doc/gsasl.info0000644000000000000000000101205313521017413012253 00000000000000This is gsasl.info, produced by makeinfo version 6.5 from gsasl.texi. This manual was last updated 25 July 2019 for version 1.8.1 of GNU SASL. Copyright (C) 2002-2019 Simon Josefsson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". INFO-DIR-SECTION Software libraries START-INFO-DIR-ENTRY * GNU SASL: (gsasl). GNU Simple Authentication and Security Layer Library. END-INFO-DIR-ENTRY INFO-DIR-SECTION Security START-INFO-DIR-ENTRY * gsasl: (gsasl)Invoking gsasl. Command line interface to GNU SASL. END-INFO-DIR-ENTRY  File: gsasl.info, Node: Top, Next: Introduction, Up: (dir) GNU Simple Authentication and Security Layer ******************************************** This manual was last updated 25 July 2019 for version 1.8.1 of GNU SASL. Copyright (C) 2002-2019 Simon Josefsson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". * Menu: * Introduction:: Information about protocol and implementation. * Preparation:: What you should do before using the library. * Using the Library:: High level overview of how to use the library. * Properties:: How to specify username, password, etc. * Mechanisms:: Mechanism specific information. * Global Functions:: Functions that can be used at all times. * Callback Functions:: Set and use callbacks. * Property Functions:: Specify username, password etc. * Session Functions:: Perform an authentication. * Utilities:: Functions for various odd things. * Memory Handling:: Memory de-allocation. * Error Handling:: Error codes and such. * Examples:: Demonstrate how to use the library. * Acknowledgements:: Whom to blame. * Invoking gsasl:: Command line interface to the library. Appendices * Protocol Clarifications:: Our notes on the SASL protocol. * Old Functions:: Descriptions of old API functions. * Copying Information:: How you can copy and share GNU SASL. Indices * Function and Data Index:: Index of functions, variables and data types. * Concept Index:: Index of concepts and programs.  File: gsasl.info, Node: Introduction, Next: Preparation, Prev: Top, Up: Top 1 Introduction ************** This manual can be used in several ways. If read from the beginning to the end, it gives the reader an understanding of the SASL framework and the GNU SASL implementation, and how the GNU SASL library is used in an application. Forward references are included where necessary. Later on, the manual can be used as a reference manual to get just the information needed about any particular interface of the library. Experienced programmers might want to start looking at the examples at the end of the manual, and then only read up those parts of the interface which are unclear. * Menu: * SASL Overview:: * Implementation:: * Features:: * Requirements:: * Supported Platforms:: * Getting help:: * Commercial Support:: * Downloading and Installing:: * Bug Reports:: * Contributing::  File: gsasl.info, Node: SASL Overview, Next: Implementation, Up: Introduction 1.1 SASL Overview ================= SASL is a framework for application protocols, such as SMTP or IMAP, to add authentication support. For example, SASL is used to prove to the server who you are when you access an IMAP server to read your e-mail. The SASL framework does not specify the technology used to perform the authentication, that is the responsibility for each SASL mechanism. Popular SASL mechanisms include CRAM-MD5 and GSSAPI (for Kerberos V5). Typically a SASL negotiation works as follows. First the client requests authentication (possibly implicitly by connecting to the server). The server responds with a list of supported mechanisms. The client chose one of the mechanisms. The client and server then exchange data, one round-trip at a time, until authentication either succeeds or fails. After that, the client and server knows more about who is on the other end of the channel. For example, in SMTP communication happens like this: 250-mail.example.com Hello pc.example.org [192.168.1.42], pleased to meet you 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN 250 HELP AUTH CRAM-MD5 334 PDk5MDgwNDEzMDUwNTUyMTE1NDQ5LjBAbG9jYWxob3N0Pg== amFzIDBkZDRkODZkMDVjNjI4ODRkYzc3OTcwODE4ZGI5MGY3 235 2.0.0 OK Authenticated Here the first three lines are sent by the server and contains the list of supported mechanisms (DIGEST-MD5, CRAM-MD5, etc). The next line is sent by the client to select the CRAM-MD5 mechanism. The server replies with a challenge, which is a message that can be generated by calling GNU SASL functions. The client replies with a response, which also is a message that can be generated by GNU SASL functions. Depending on the mechanism, there can be more than one round trip, so do not assume all authentication exchanges consists of one message from the server and one from the client. The server accepts the authentication. At that point it knows it is talking to a authenticated client, and the application protocol can continue. Essentially, your application is responsible for implementing the framing protocol (e.g., SMTP or XMPP) according to the particular specifications. Your application uses GNU SASL to generate the authentication messages.  File: gsasl.info, Node: Implementation, Next: Features, Prev: SASL Overview, Up: Introduction 1.2 Implementation ================== GNU SASL is an implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms. GNU SASL consists of a library ('libgsasl'), a command line utility ('gsasl') to access the library from the shell, and a manual. The library includes support for the framework (with authentication functions and application data privacy and integrity functions) and at least partial support for the ANONYMOUS, CRAM-MD5, DIGEST-MD5, EXTERNAL, GS2-KRB5, GSSAPI, LOGIN, NTLM, PLAIN, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, SAML20, OPENID20, and SECURID mechanisms. The library is easily ported because it does not do network communication by itself, but rather leaves it up to the calling application. The library is flexible with regards to the authorization infrastructure used, as it utilizes a callback into the application to decide whether a user is authorized or not. GNU SASL is developed for the GNU/Linux system, but runs on over 20 platforms including most major Unix platforms and Windows, and many kind of devices including iPAQ handhelds and S/390 mainframes. GNU SASL is written in pure ANSI C89 to be portable to embedded and otherwise limited platforms. The entire library, with full support for ANONYMOUS, EXTERNAL, PLAIN, LOGIN and CRAM-MD5, and the front-end that supports client and server mode, and the IMAP and SMTP protocols, fits in under 80kb on an Intel x86 platform, without any modifications to the code. (This figure was accurate as of version 1.1.) The design of the library and the intended interaction between applications and the library through the official API is illustrated below. [image src="abstraction.png"] Illustration 1.1: Logical overview showing how applications use authentication mechanisms through an abstract interface.  File: gsasl.info, Node: Features, Next: Requirements, Prev: Implementation, Up: Introduction 1.3 Features ============ GNU SASL might have a couple of advantages over other libraries doing a similar job. It's Free Software Anybody can use, modify, and redistribute it under the terms of the GNU General Public License version 3.0 or later. The library uses the GNU Lesser General Public License version 2.1 or later. It's thread-safe No global variables are used and multiple library handles and session handles may be used in parallel. It's internationalized It handles non-ASCII usernames and passwords and user visible strings used in the library (error messages) can be translated into the users' language. It's portable It should work on all Unix like operating systems, including Windows. The library itself should be portable to any C89 system, not even POSIX is required. It's small The library has been rewritten with embedded platforms in mind. For example, no API consumes more than around 250 bytes of stack space. Note that the library does not implement any policy to decide whether a certain user is "authenticated" or "authorized" or not. Rather, it uses a callback into the application to answer these questions.  File: gsasl.info, Node: Requirements, Next: Supported Platforms, Prev: Features, Up: Introduction 1.4 Requirements ================ The GNU SASL library does not have any required external dependencies, but some optional features are enabled if you have a specific external library. LibNTLM The NTLM mechanism requires the library LibNTLM, . GSS-API The GSSAPI and GS2-KRB5 mechanisms requires a GSS-API library, see GNU GSS (). MIT Kerberos or Heimdal are also supported. LibIDN Processing of non-ASCII usernames and passwords requires the SASLprep implementation in LibIDN (). This is needed for full conformance with the latest SASL protocol drafts, but is optional in the library for improved portability. Libgcrypt The GNU SASL library ships with its own cryptographic implementation, but it can use the one in libgcrypt () instead, if it is available. This is typically useful for desktop machines which have libgcrypt installed. The command-line interface to GNU SASL requires a POSIX or Windows platform for network connectivity. The command-line tool can make use of GnuTLS () to support the STARTTLS modes of IMAP and SMTP, but GnuTLS is not required. Note that the library does not need a POSIX platform or network connectivity.  File: gsasl.info, Node: Supported Platforms, Next: Getting help, Prev: Requirements, Up: Introduction 1.5 Supported Platforms ======================= GNU SASL has at some point in time been tested on the following platforms. Daily online build reports are available at . 1. Debian GNU/Linux 3.0 (Woody) GCC 2.95.4 and GNU Make. This is the main development platform. 'alphaev67-unknown-linux-gnu', 'alphaev6-unknown-linux-gnu', 'arm-unknown-linux-gnu', 'hppa-unknown-linux-gnu', 'hppa64-unknown-linux-gnu', 'i686-pc-linux-gnu', 'ia64-unknown-linux-gnu', 'm68k-unknown-linux-gnu', 'mips-unknown-linux-gnu', 'mipsel-unknown-linux-gnu', 'powerpc-unknown-linux-gnu', 's390-ibm-linux-gnu', 'sparc-unknown-linux-gnu'. 2. Debian GNU/Linux 2.1 GCC 2.95.1 and GNU Make. 'armv4l-unknown-linux-gnu'. 3. Tru64 UNIX Tru64 UNIX C compiler and Tru64 Make. 'alphaev67-dec-osf5.1', 'alphaev68-dec-osf5.1'. 4. SuSE Linux 7.1 GCC 2.96 and GNU Make. 'alphaev6-unknown-linux-gnu', 'alphaev67-unknown-linux-gnu'. 5. SuSE Linux 7.2a GCC 3.0 and GNU Make. 'ia64-unknown-linux-gnu'. 6. RedHat Linux 7.2 GCC 2.96 and GNU Make. 'alphaev6-unknown-linux-gnu', 'alphaev67-unknown-linux-gnu', 'ia64-unknown-linux-gnu'. 7. RedHat Linux 8.0 GCC 3.2 and GNU Make. 'i686-pc-linux-gnu'. 8. RedHat Advanced Server 2.1 GCC 2.96 and GNU Make. 'i686-pc-linux-gnu'. 9. Slackware Linux 8.0.01 GCC 2.95.3 and GNU Make. 'i686-pc-linux-gnu'. 10. Mandrake Linux 9.0 GCC 3.2 and GNU Make. 'i686-pc-linux-gnu'. 11. IRIX 6.5 MIPS C compiler, IRIX Make. 'mips-sgi-irix6.5'. 12. AIX 4.3.2 IBM C for AIX compiler, AIX Make. 'rs6000-ibm-aix4.3.2.0'. 13. Microsoft Windows 2000 (Cygwin) GCC 3.2, GNU make. 'i686-pc-cygwin'. 14. HP-UX 11 HP-UX C compiler and HP Make. 'ia64-hp-hpux11.22', 'hppa2.0w-hp-hpux11.11'. 15. SUN Solaris 2.8 Sun WorkShop Compiler C 6.0 and SUN Make. 'sparc-sun-solaris2.8'. 16. SUN Solaris 2.9 Sun Forte Developer 7 C compiler and GNU Make. 'sparc-sun-solaris2.9'. 17. NetBSD 1.6 GCC 2.95.3 and GNU Make. 'alpha-unknown-netbsd1.6', 'i386-unknown-netbsdelf1.6'. 18. OpenBSD 3.1 and 3.2 GCC 2.95.3 and GNU Make. 'alpha-unknown-openbsd3.1', 'i386-unknown-openbsd3.1'. 19. FreeBSD 4.7 GCC 2.95.4 and GNU Make. 'alpha-unknown-freebsd4.7', 'i386-unknown-freebsd4.7'. 20. Cross compiled to uClinux/uClibc on Motorola Coldfire. GCC 3.4 and GNU Make 'm68k-uclinux-elf'. If you port GNU SASL to a new platform, please report it to the author so this list can be updated.  File: gsasl.info, Node: Getting help, Next: Commercial Support, Prev: Supported Platforms, Up: Introduction 1.6 Getting help ================ A mailing list where users may help each other exists, and you can reach it by sending e-mail to . Archives of the mailing list discussions, and an interface to manage subscriptions, is available through the World Wide Web at .  File: gsasl.info, Node: Commercial Support, Next: Downloading and Installing, Prev: Getting help, Up: Introduction 1.7 Commercial Support ====================== Commercial support is available for users of GNU SASL. The kind of support that can be purchased may include: * Implement new features. Such as a new SASL mechanism. * Port GNU SASL to new platforms. This could include porting to an embedded platforms that may need memory or size optimization. * Integrating SASL as a security environment in your existing project. * System design of components related to SASL. If you are interested, please write to: Simon Josefsson Datakonsult AB Hagagatan 24 113 47 Stockholm Sweden E-mail: simon@josefsson.org If your company provides support related to GNU SASL and would like to be mentioned here, contact the author (*note Bug Reports::).  File: gsasl.info, Node: Downloading and Installing, Next: Bug Reports, Prev: Commercial Support, Up: Introduction 1.8 Downloading and Installing ============================== The package can be downloaded from several places, including: The latest version is stored in a file, e.g., 'gsasl-1.8.1.tar.gz' where the '1.8.1' value is the highest version number in the directory. The package is then extracted, configured and built like many other packages that use Autoconf. For detailed information on configuring and building it, refer to the 'INSTALL' file that is part of the distribution archive. Here is an example terminal session that downloads, configures, builds and install the package. You will need a few basic tools, such as 'sh', 'make' and 'cc'. $ wget -q ftp://ftp.gnu.org/gnu/gsasl/gsasl-1.8.1.tar.gz $ tar xfz gsasl-1.8.1.tar.gz $ cd gsasl-1.8.1/ $ ./configure ... $ make ... $ make install ... After that gsasl should be properly installed and ready for use. A few 'configure' options may be relevant, summarized in the table. '--disable-client' '--disable-server' If your target system require a minimal implementation, you may wish to disable the client or the server part of the code. This does not remove symbols from the library, so if you attempt to call an application that uses server functions in a library built with '--disable-server', the function will return an error code. '--disable-obsolete' Remove backwards compatibility (*note Old Functions::). Use if you want to limit the size of the library. '--disable-anonymous' '--disable-external' '--disable-plain' '--disable-login' '--disable-securid' '--disable-ntlm' '--disable-cram-md5' '--disable-digest-md5' '--disable-gssapi' '--disable-gs2' '--enable-kerberos_v5' '--disable-scram-sha1' '--disable-saml20' '--disable-openid20' Disable or enable individual mechanisms (*note Mechanisms::). '--without-stringprep' Disable internationalized string processing. Note that this will result in a SASL library that is compatible with RFC 2222 but not RFC 4422. For the complete list, refer to the output from 'configure --help'. * Menu: * Installing under Windows:: Windows specific build instructions. * Kerberos on Windows:: Building with Kerberos via GSS-API on Windows.  File: gsasl.info, Node: Installing under Windows, Next: Kerberos on Windows, Up: Downloading and Installing 1.8.1 Installing under Windows ------------------------------ There are two ways to build GNU SASL on Windows: via MinGW or via Microsoft Visual Studio. Note that a binary release for Windows is available from . With MinGW, you can build a GNU SASL DLL and use it from other applications. After installing MinGW () follow the generic installation instructions (*note Downloading and Installing::). The DLL is installed by default. For information on how to use the DLL in other applications, see: . You can build GNU SASL as a native Visual Studio C++ project. This allows you to build the code for other platforms that VS supports, such as Windows Mobile. You need Visual Studio 2005 or later. First download and unpack the archive as described in the generic installation instructions (*note Downloading and Installing::). Don't run './configure'. Instead, start Visual Studio and open the project file 'lib/win32/libgsasl.sln' inside the GNU SASL directory. You should be able to build the project using Build Project. Output libraries will be written into the 'lib/win32/lib' (or 'lib/win32/lib/debug' for Debug versions) folder. Warning! Unless you build GNU SASL linked with libgcrypt, GNU SASL uses the Windows function 'CryptGenRandom' for generating cryptographic random data. The function is known to have some security weaknesses. See for more information. The code will attempt to use the Intel RND crypto provider if it is installed, see 'lib/gl/gc-gnulib.c'.  File: gsasl.info, Node: Kerberos on Windows, Prev: Installing under Windows, Up: Downloading and Installing 1.8.2 Kerberos on Windows ------------------------- Building GNU SASL with support for Kerberos via GSS-API on Windows is straight forward if you use GNU GSS and GNU Shishi as the Kerberos implementation. If you are using MIT Kerberos for Windows (KfW), getting GNU SASL to build with Kerberos support is not straightforward because KfW does not follow the GNU coding style and it has bugs that needs to be worked around. We provide instructions for this environment as well, in the hope that it will be useful for GNU SASL users. Our instructions assumes you are building the software on a dpkg-based GNU/Linux systems (e.g., gNewSense) using the MinGW cross-compiler suite. These instructions were compiled for KfW version 3.2.2 which were the latest as of 2010-09-25. We assume that you have installed a normal build environment including the MinGW cross-compiler. Download and unpack the KfW SDK like this: $ mkdir ~/kfw $ cd ~/kfw $ wget -q http://web.mit.edu/kerberos/dist/kfw/3.2/kfw-3.2.2/kfw-3-2-2-sdk.zip $ unzip kfw-3-2-2-sdk.zip Fix a bug in the "win-mac.h" header inside KfW by replacing '#include ' with '#include ': perl -pi -e 's,sys\\,sys/,' ~/kfw/kfw-3-2-2-final/inc/krb5/win-mac.h Unpack your copy of GNU SASL: $ wget -q ftp://alpha.gnu.org/gnu/gsasl/gsasl-1.8.1.tar.gz $ tar xfz gsasl-1.8.1.tar.gz $ cd gsasl-1.8.1 Configure GNU SASL like this: $ lt_cv_deplibs_check_method=pass_all ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu --with-gssapi-impl=kfw LDFLAGS="-L$HOME/kfw/kfw-3-2-2-final/lib/i386" CPPFLAGS="-I$HOME/kfw/kfw-3-2-2-final/inc/krb5 -DSSIZE_T_DEFINED" The 'lt_cv_deplibs_check_method=pass_all' setting is required because the KfW SDK does not ship with Libtool '*.la' files and is using non-standard DLL names. The '-DSSIZE_T_DEFINED' is necessary because the 'win-mac.h' file would provide an incorrect duplicate definitions of 'ssize_t' otherwise. By passing '--with-gssapi-impl=kfw' you activate other bug workarounds, such as providing a 'GSS_C_NT_HOSTBASED_SERVICE' symbol. Build the software using: $ make If you have Wine installed and your kernel is able to invoke it automatically for Windows programs, you can run the self tests. This is recommended to make sure the build is sane. $ make check You may get error messages about missing DLLs, like this error: err:module:import_dll Library gssapi32.dll (which is needed by L"Z:\\home\\jas\\src\\gsasl-1.5.2\\lib\\src\\.libs\\libgsasl-7.dll") not found If that happens, you need to make sure that Wine can find the appropriate DLL. The simplest solution is to copy the necessary DLLs to '~/.wine/drive_c/windows/system32/'. You may now copy the following files onto the Windows machine (e.g., through a USB memory device): lib/src/.libs/libgsasl-7.dll src/.libs/gsasl.exe The remaining steps are done on the Windows XP machine. Install KfW and configure it for your realm. To make sure KfW is working properly, acquire a user ticket and then remove it. For testing purposes, you may use the realm 'interop.josefsson.org' with KDC 'interop.josefsson.org' and username 'user' and password 'pass'. Change to the directory where you placed the files above, and invoke a command like this: gsasl.exe -d interop.josefsson.org KfW should query you for a password, and the tool should negotiate authentication against the server using GS2-KRB5.  File: gsasl.info, Node: Bug Reports, Next: Contributing, Prev: Downloading and Installing, Up: Introduction 1.9 Bug Reports =============== If you think you have found a bug in GNU SASL, please investigate it and report it. * Please make sure that the bug is really in GNU SASL, and preferably also check that it hasn't already been fixed in the latest version. * You have to send us a test case that makes it possible for us to reproduce the bug. * You also have to explain what is wrong; if you get a crash, or if the results printed are not good and in that case, in what way. Make sure that the bug report includes all information you would need to fix this kind of bug for someone else. Please make an effort to produce a self-contained report, with something definite that can be tested or debugged. Vague queries or piecemeal messages are difficult to act on and don't help the development effort. If your bug report is good, we will do our best to help you to get a corrected version of the software; if the bug report is poor, we won't do anything about it (apart from asking you to send better bug reports). If you think something in this manual is unclear, or downright incorrect, or if the language needs to be improved, please also send a note. Send your bug report to: 'bug-gsasl@gnu.org'  File: gsasl.info, Node: Contributing, Prev: Bug Reports, Up: Introduction 1.10 Contributing ================= If you want to submit a patch for inclusion - from solve a typo you discovered, up to adding support for a new feature - you should submit it as a bug report (*note Bug Reports::). There are some things that you can do to increase the chances for it to be included in the official package. Unless your patch is very small (say, under 10 lines) we require that you assign the copyright of your work to the Free Software Foundation. This is to protect the freedom of the project. If you have not already signed papers, we will send you the necessary information when you submit your contribution. For contributions that doesn't consist of actual programming code, the only guidelines are common sense. Use it. For code contributions, a number of style guides will help you: * Coding Style. Follow the GNU Standards document (*note GNU Coding Standards: (standards)top.). If you normally code using another coding standard, there is no problem, but you should use 'indent' to reformat the code (*note GNU Indent: (indent)top.) before submitting your work. * Use the unified diff format 'diff -u'. * Return errors. No reason whatsoever should abort the execution of the library. Even memory allocation errors, e.g. when 'malloc' return 'NULL', should work although result in an error code. * Design with thread safety in mind. Don't use global variables. Don't even write to per-handle global variables unless the documented behaviour of the function you write is to write to the per-handle global variable. * Avoid using the C math library. It causes problems for embedded implementations, and in most situations it is very easy to avoid using it. * Document your functions. Use comments before each function headers, that, if properly formatted, are extracted into Texinfo manuals and GTK-DOC web pages. * Supply a ChangeLog and NEWS entries, where appropriate.  File: gsasl.info, Node: Preparation, Next: Using the Library, Prev: Introduction, Up: Top 2 Preparation ************* To use GNU SASL, you have to perform some changes to your sources and the build system. The necessary changes are small and explained in the following sections. At the end of this chapter, it is described how the library is initialized, and how the requirements of the library are verified. A faster way to find out how to adapt your application for use with GNU SASL may be to look at the examples at the end of this manual (*note Examples::). * Menu: * Header:: * Initialization:: * Version Check:: * Building the source:: * Autoconf tests::  File: gsasl.info, Node: Header, Next: Initialization, Up: Preparation 2.1 Header ========== All interfaces (data types and functions) of the library are defined in the header file 'gsasl.h'. You must include this in all programs using the library, either directly or through some other header file, like this: #include The name space is 'gsasl_*' for function names, 'Gsasl*' for data types and 'GSASL_*' for other symbols. In addition the same name prefixes with one prepended underscore are reserved for internal use and should never be used by an application.  File: gsasl.info, Node: Initialization, Next: Version Check, Prev: Header, Up: Preparation 2.2 Initialization ================== The library must be initialized before it can be used. The library is initialized by calling 'gsasl_init' (*note Global Functions::). The resources allocated by the initialization process can be released if the application no longer has a need to call 'Libgsasl' functions, this is done by calling 'gsasl_done'. For example: int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; ... rc = gsasl_init (&ctx); if (rc != GSASL_OK) { printf ("SASL initialization failure (%d): %s\n", rc, gsasl_strerror (rc)); return 1; } ... In order to make error messages from 'gsasl_strerror' be translated (*note (gettext)Top::) the application must set the current locale using 'setlocale' before calling 'gsasl_init'. For example: int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; ... setlocale (LC_ALL, ""); ... rc = gsasl_init (&ctx); if (rc != GSASL_OK) { printf (gettext ("SASL initialization failure (%d): %s\n"), rc, gsasl_strerror (rc)); return 1; } ... In order to take advantage of the secure memory features in Libgcrypt(1), you need to initialize secure memory in your application, and for some platforms even make your application setuid root. See the Libgcrypt documentation for more information. Here is example code to initialize secure memory in your code: #include ... int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; ... /* Check version of libgcrypt. */ if (!gcry_check_version (GCRYPT_VERSION)) die ("version mismatch\n"); /* Allocate a pool of 16k secure memory. This also drops priviliges on some systems. */ gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0); /* Tell Libgcrypt that initialization has completed. */ gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); ... rc = gsasl_init (&ctx); if (rc != GSASL_OK) { printf ("SASL initialization failure (%d): %s\n", rc, gsasl_strerror (rc)); return 1; } ... If you do not do this, keying material will not be allocated in secure memory (which, for most applications, is not the biggest secure problem anyway). Note that the GNU SASL Library has not been audited to make sure it stores passwords or keys in secure memory. ---------- Footnotes ---------- (1) Note that GNU SASL normally use its own internal implementation of the cryptographic functions. Take care to verify that GNU SASL really use Libgcrypt, if this is what you want.  File: gsasl.info, Node: Version Check, Next: Building the source, Prev: Initialization, Up: Preparation 2.3 Version Check ================= It is often desirable to check that the version of the library used is indeed one which fits all requirements. Even with binary compatibility, new features may have been introduced but, due to problem with the dynamic linker, an old version may actually be used. So you may want to check that the version is okay right after program startup. gsasl_check_version ------------------- -- Function: const char * gsasl_check_version (const char * REQ_VERSION) REQ_VERSION: version string to compare with, or NULL. Check GNU SASL Library version. See 'GSASL_VERSION' for a suitable 'req_version' string. This function is one of few in the library that can be used without a successful call to 'gsasl_init()' . Return value: Check that the version of the library is at minimum the one given as a string in 'req_version' and return the actual version string of the library; return NULL if the condition is not met. If NULL is passed to this function no check is done and only the version string is returned. The normal way to use the function is to put something similar to the following early in your 'main': if (!gsasl_check_version (GSASL_VERSION)) { printf ("gsasl_check_version failed:\n" "Header file incompatible with shared library.\n"); exit(1); }  File: gsasl.info, Node: Building the source, Next: Autoconf tests, Prev: Version Check, Up: Preparation 2.4 Building the source ======================= If you want to compile a source file including the 'gsasl.h' header file, you must make sure that the compiler can find it in the directory hierarchy. This is accomplished by adding the path to the directory in which the header file is located to the compilers include file search path (via the '-I' option). However, the path to the include file is determined at the time the source is configured. To solve this problem, the library uses the external package 'pkg-config' that knows the path to the include file and other configuration options. The options that need to be added to the compiler invocation at compile time are output by the '--cflags' option to 'pkg-config libgsasl'. The following example shows how it can be used at the command line: gcc -c foo.c `pkg-config libgsasl --cflags` Adding the output of 'pkg-config libgsasl --cflags' to the compiler command line will ensure that the compiler can find the 'gsasl.h' header file. A similar problem occurs when linking the program with the library. Again, the compiler has to find the library files. For this to work, the path to the library files has to be added to the library search path (via the '-L' option). For this, the option '--libs' to 'pkg-config libgsasl' can be used. For convenience, this option also outputs all other options that are required to link the program with the library (for instance, the '-lidn' option). The example shows how to link 'foo.o' with the library to a program 'foo'. gcc -o foo foo.o `pkg-config libgsasl --libs` Of course you can also combine both examples to a single command by specifying both options to 'pkg-config': gcc -o foo foo.c `pkg-config libgsasl --cflags --libs`  File: gsasl.info, Node: Autoconf tests, Prev: Building the source, Up: Preparation 2.5 Autoconf tests ================== If you work on a project that uses Autoconf (*note GNU Autoconf: (autoconf)top.) to help find installed libraries, the suggestions in the previous section are not the entire story. There are a few methods to detect and incorporate the GNU SASL Library into your Autoconf based package. The preferred approach, is to use Libtool in your project, and use the normal Autoconf header file and library tests. 2.5.1 Autoconf test via 'pkg-config' ------------------------------------ If your audience is a typical GNU/Linux desktop, you can often assume they have the 'pkg-config' tool installed, in which you can use its Autoconf M4 macro to find and set up your package for use with Libgsasl. The following example illustrates this scenario. AC_ARG_ENABLE(gsasl, AC_HELP_STRING([--disable-gsasl], [don't use GNU SASL]), gsasl=$enableval) if test "$gsasl" != "no" ; then PKG_CHECK_MODULES(GSASL, libgsasl >= 1.8.1, [gsasl=yes], [gsasl=no]) if test "$gsasl" != "yes" ; then gsasl=no AC_MSG_WARN([Cannot find GNU SASL, disabling]) else gsasl=yes AC_DEFINE(USE_GSASL, 1, [Define to 1 if you want GNU SASL.]) fi fi AC_MSG_CHECKING([if GNU SASL should be used]) AC_MSG_RESULT($gsasl) 2.5.2 Standalone Autoconf test using Libtool -------------------------------------------- If your package uses Libtool (*note GNU Libtool: (libtool)top.), you can use the normal Autoconf tests to find Libgsasl and rely on the Libtool dependency tracking to include the proper dependency libraries (e.g., Libidn). The following example illustrates this scenario. AC_CHECK_HEADER(gsasl.h, AC_CHECK_LIB(gsasl, gsasl_check_version, [gsasl=yes AC_SUBST(GSASL_LIBS, -lgsasl)], gsasl=no), gsasl=no) AC_ARG_ENABLE(gsasl, AC_HELP_STRING([--disable-gsasl], [don't use GNU SASL]), gsasl=$enableval) if test "$gsasl" != "no" ; then AC_DEFINE(USE_SASL, 1, [Define to 1 if you want GNU SASL.]) else AC_MSG_WARN([Cannot find GNU SASL, diabling]) fi AC_MSG_CHECKING([if GNU SASL should be used]) AC_MSG_RESULT($gsasl)  File: gsasl.info, Node: Using the Library, Next: Properties, Prev: Preparation, Up: Top 3 Using the Library ******************* Your application's use of the library can be roughly modeled into the following steps: initialize the library, optionally specify the callback, perform the authentication, and finally clean up. The following image illustrates this. [image src="controlflow.png"] The third step may look complex, but for a simple client it will actually not involve any code. If your application needs to handle several concurrent clients, or if it is a server that needs to serve many clients simultaneous, things do get a bit more complicated. For illustration, we will write a simple client. Writing a server would be similar, the only difference is that, later on, instead of supplying a username and password, you need to decide whether someone should be allowed to log in or not. The code for what we have discussed so far make up the 'main' function in our client (*note Example 1::): int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } client (ctx); gsasl_done (ctx); return 0; } Here, the call to the function 'client' correspond to the third step in the image above. For a more complicated application, having several clients running simultaneous, instead of a simple call to 'client', it may have created new threads for each session, and call 'client' within each thread. The library is thread safe. An actual authentication session is more complicated than what we have seen so far. These are the steps: decide which mechanism to use, start the session, optionally specify the callback, optionally set any properties, perform the authentication loop, and clean up. Naturally, your application will start to talk its own protocol (e.g., SMTP or IMAP) after these steps have concluded. The authentication loop is based on sending tokens (typically short messages encoded in base 64) back and forth between the client and server. It continues until authentication succeeds or an error occurs. The format of the data to be transferred, the number of iterations in the loop, and other details are specified by each mechanism. The goal of the library is to isolate your application from the details of all different mechanisms. Note that the library does not send data to the server itself, but returns it in an buffer. You must send it to the server, following an application protocol profile. For example, the SASL application protocol profile for SMTP is described in RFC 2554. The following image illustrates the steps we have been talking about. [image src="controlflow2.png"] We will now show the implementation of the 'client' function used before. void client (Gsasl *ctx) { Gsasl_session *session; const char *mech = "PLAIN"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } This function is responsible for deciding which mechanism to use. In this case, the 'PLAIN' mechanism is hard coded, but you will see later how this can be made more flexible. The function creates a new session, then it stores the username and password in the session handle, then it calls another function 'client_authenticate' to handle the authentication loop, and finally it cleans up up. Let's continue with the implementation of 'client_authenticate'. void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server sends data first. */ do { printf ("Input base64 encoded data from server:\n"); fgets (buf, sizeof (buf) - 1, stdin); if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { printf ("Output:\n%s\n", p); free (p); } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } This last function needs to be discussed in some detail. First, you should be aware that there are two versions of this function, that differ in a subtle way. The version above (*note Example 2::) is used for application profiles where the server sends data first. For some mechanisms, this may waste a roundtrip, because the server needs input from the client to proceed. Therefor, today the recommended approach is to permit client to send data first (*note Example 1::). Which version you should use depends on which application protocol you are implementing. Further, you should realize that it is bad programming style to use a fixed size buffer. On GNU systems, you may use the 'getline' functions instead of 'fgets'. However, in practice, there are few mechanisms that use very large tokens. In typical configurations, the mechanism with the largest tokens (GSSAPI) can use at least 500 bytes. A fixed buffer size of 8192 bytes may thus be sufficient for now. But don't say I didn't warn you, when a future mechanism doesn't work in your application, because of a fixed size buffer. The function 'gsasl_step64' (and of course also 'gasl_step') returns two non-error return codes. 'GSASL_OK' is used for success, indicating that the library considers the authentication finished. That may include a successful server authentication, depending on the mechanism. You must not let the client continue to the application protocol part unless you receive 'GSASL_OK' from these functions. In particular, don't be fooled into believing authentication were successful if the server replies "OK" but these functions have failed with an error. The server may have been hacked, and could be tricking you into sending confidential data, without having successfully authenticated the server. The non-error return code 'GSASL_NEEDS_MORE' is used to signal to your application that you should send the output token to the peer, and wait for a new token, and do another iteration. If the server concludes the authentication process, with no data, you should call 'gsasl_step64' (or 'gsasl_step') specifying a zero-length token. If the functions ('gsasl_step' and 'gsasl_step64') return any non-error code, the content of the output buffer is undefined. Otherwise, it is the callers responsibility to deallocate the buffer, by calling 'free'. Note that in some situations, where the buffer is empty, 'NULL' is returned as the buffer value. You should treat this as an empty buffer. 3.1 Choosing a mechanism ======================== Our earlier code was hard coded to use a specific mechanism. This is rarely a good idea. Instead, it is recommended to select the best mechanism available from the list of mechanisms supported by the server. Note that without TLS or similar, the list may have been maliciously altered, by an attacker. This means that you should abort if you cannot find any mechanism that exceeds your minimum security level. There is a function 'gsasl_client_suggest_mechanism' (*note Global Functions::) that will try to pick the "best" available mechanism from a list of mechanisms. Our simple interactive example client (*note Example 3::) includes the following function to decide which mechanism to use. Note that the code doesn't blindly use what is returned from 'gsasl_client_suggest_mechanism', rather it lets some logic (in this case the user, through an interactive query) decide which mechanism is acceptable. const char *client_mechanism (Gsasl *ctx) { static char mech[GSASL_MAX_MECHANISM_SIZE + 1] = ""; char mechlist[BUFSIZ] = ""; const char *suggestion; printf ("Enter list of server supported mechanisms, separate by SPC:\n"); fgets (mechlist, sizeof (mechlist) - 1, stdin); suggestion = gsasl_client_suggest_mechanism (ctx, mechlist); if (suggestion) printf ("Library suggests use of `%s'.\n", suggestion); printf ("Enter mechanism to use:\n"); fgets (mech, sizeof (mech) - 1, stdin); mech[strlen (mech) - 1] = '\0'; return mech; } When running this example code, it might look like in the following output. Enter list server supported mechanisms, separate by SPC: CRAM-MD5 DIGEST-MD5 GSSAPI FOO BAR Library suggests use of `GSSAPI'. Enter mechanism to use: CRAM-MD5 Input base64 encoded data from server: Zm5vcmQ= Output: amFzIDkyY2U1NWE5MTM2ZTY4NzEyMTUyZTFjYmFmNjVkZjgx If server accepted us, we're done. 3.2 Using a callback ==================== Our earlier code specified the username and password before the authentication loop, as in: gsasl_property_set (ctx, GSASL_AUTHID, "jas"); gsasl_property_set (ctx, GSASL_PASSWORD, "secret"); This may work for simple mechanisms, that need only a username and a password. But some mechanism requires more information, such as an authorization identity, a special PIN or passcode, a realm, a hostname, a service name, or an anonymous identifier. Querying the user for all that information, without knowing exactly which of it is really needed will result in a poor user interface. The user should not have to input private information, if it isn't required. The approach is a bad idea for another reason. What if the server aborts the authentication process? Then your application has already queried the user for a username and password. It would be better if you only asked the user for this information, annoying to input, when it is known to be needed. A better approach to this problem is to use a callback. Then the mechanism may query your application whenever it needs some information, like the username and password. It will only do this at the precise step in the authentication when the information is actually needed. Further, if the user aborts, e.g., a password prompt, the mechanism is directly informed of this (because it invoked the callback), and could recover somehow. Our final example (*note Example 4::) specifies a callback function, inside 'main' as below. /* Set the callback handler for the library. */ gsasl_callback_set (ctx, callback); The function itself is implemented as follows. int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { char buf[BUFSIZ] = ""; int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ printf ("Callback invoked, for property %d.\n", prop); switch (prop) { case GSASL_PASSCODE: printf ("Enter passcode:\n"); fgets (buf, sizeof (buf) - 1, stdin); buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_PASSCODE, buf); rc = GSASL_OK; break; case GSASL_AUTHID: printf ("Enter username:\n"); fgets (buf, sizeof (buf) - 1, stdin); buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_AUTHID, buf); rc = GSASL_OK; break; default: printf ("Unknown property! Don't worry.\n"); break; } return rc; } Again, it is bad style to use a fixed size buffer. Mmm'kay. Which properties you should handle is up to you. If you don't know how to respond to a certain property, simply return 'GSASL_NO_CALLBACK'. The basic properties to support are authentication identity ('GSASL_AUTHID'), authorization identity ('GSASL_AUTHZID'), and password ('GSASL_PASSWORD'). *Note Properties::, for the list of all properties, and what your callback should (ideally) do for them, and which properties each mechanism require in order to work.  File: gsasl.info, Node: Properties, Next: Mechanisms, Prev: Using the Library, Up: Top 4 Properties ************ The library uses a concept called "properties" to request and pass data between the application and the individual authentication mechanisms. The application can set property values using the 'gsasl_property_set' function. If a mechanism needs a property value the application has not yet provided, this is handled through a callback. The application provides a callback, using 'gsasl_callback_set', which will be invoked with a property parameter. The callback should set the property before returning, or fail. *Note Callback Functions::, for more information. There are two kind of properties. The first, a "data property" is the simplest to understand because it normally refers to short strings. For example, the property called 'GSASL_AUTHID' correspond to the username string, e.g., 'simon'. The latter properties, called "logical properties", are used by the server to make a authentication decision, and is used as a way to get the application callback invoked. For example, the property 'GSASL_VALIDATE_SIMPLE' is used by the server-side part of mechanisms like 'PLAIN'. The purpose is to ask the server application to decide whether the user should be authenticated successfully or not. The callback typically look at other property fields, such as 'GSASL_AUTHID' and 'GSASL_PASSWORD', and compare those values with external information (for example data stored in a database or on a LDAP server) and then return OK or not. Warning: Don't expect that all mechanisms invoke one of the logical properties in the server mode. For example, the CRAM-MD5 and SCRAM-SHA-1 mechanisms will use the data properties (i.e., username and password) provided by the application to internally decide whether to successfully authenticate the user. User authorization decisions needs to be made by the application outside of the SASL mechanism negotiation. The logical properties are currently only used by servers, but data properties are used by both client and servers. It makes sense to think about the latter category as 'server properties' but the reverse is not valid nor useful. The semantics associated with a data property is different when it is used in client context and in the server context. For example, in the client context, the application is expected to set the property 'GSASL_AUTHID' to signal to the mechanism the username to use, but in the server context, the 'GSASL_AUTHID' property is set by the mechanism and can be used by the application (in the callback) to find out what username the client provided. Below is a list of all properties and an explanation for each. First is the list of data properties: * 'GSASL_AUTHID' The authentication identity. * 'GSASL_AUTHZID' The authorization identity. * 'GSASL_PASSWORD' The password of the authentication identity. * 'GSASL_ANONYMOUS_TOKEN' The anonymous token. This is typically the email address of the user. * 'GSASL_SERVICE' The registered GSSAPI service name of the application service, e.g. "imap". While the names are registered for GSSAPI, other mechanisms such as DIGEST-MD5 may also use this. * 'GSASL_HOSTNAME' Should be the local host name of the machine. * 'GSASL_GSSAPI_DISPLAY_NAME' Contain the GSSAPI "display name", set by the server GSSAPI mechanism. Typically you retrieve this property in your callback, when invoked for 'GSASL_VALIDATE_GSSAPI'. * 'GSASL_REALM' The name of the authentication domain. This is used by several mechanisms, including DIGEST-MD5, GSS-API, KERBEROS_V5 and NTLM. * 'GSASL_PASSCODE' The SecurID passcode. * 'GSASL_PIN' The SecurID personal identification number (PIN). * 'GSASL_SUGGESTED_PIN' A SecurID personal identification number (PIN) suggested by the server. * 'GSASL_DIGEST_MD5_HASHED_PASSWORD' For the DIGEST-MD5 mechanism, this is a hashed password. It is used in servers to avoid storing clear-text credentials. * 'GSASL_QOPS' The DIGEST-MD5 server query for this property to get the set of quality of protection (QOP) values to advertise. The property holds strings with comma separated keywords denoting the set of qops to use, for example 'qop-auth, qop-int'. Valid keywords are 'qop-auth', 'qop-int', and 'qop-conf'. * 'GSASL_QOP' The DIGEST-MD5 client query for this property to get the quality of protection (QOP) values to request. The property value is one of the keywords for 'GSASL_QOPS'. The client must chose one of the QOP values offered by the server (which may be inspected through the 'GSASL_QOPS' property). * 'GSASL_SCRAM_SALTED_PASSWORD' The SCRAM-SHA-1 client requests this property from the application, and the value should be 40 character long hex-encoded string with the user's hashed password. Note that the value is different for the same password for each value of the 'GSASL_SCRAM_ITER' and 'GSASL_SCRAM_ITER' properties. The property can be used to avoid storing a clear-text credential in the client. If the property is not available, the client will ask for the 'GSASL_PASSWORD' property instead. * 'GSASL_SCRAM_ITER' * 'GSASL_SCRAM_ITER' In the server, the application can set these properties to influence the hash iteration count and hash salt to use when deriving the password. The default hash iteration count is 4096 and normally you should not need to use a lower setting. The salt should be a random string. In the client, the SCRAM-SHA-1 mechanism set these properties before asking for asking the application to provide a 'GSASL_SCRAM_SALTED_PASSWORD' value. * 'GSASL_CB_TLS_UNIQUE' This property holds base64 encoded 'tls-unique' channel binding data. As a hint, if you use GnuTLS, the API 'gnutls_session_channel_binding' can be used to extract channel bindings for a session. * 'GSASL_SAML20_IDP_IDENTIFIER' This property holds the SAML identifier of the user. The SAML20 mechanism in client mode will send it to the other end for identification purposes, and in server mode it will be accessible in the 'GSASL_SAML20_REDIRECT_URL' callback. * 'GSASL_SAML20_REDIRECT_URL' This property holds the SAML redirect URL that the server wants the client to access. It will be available in the 'GSASL_SAML20_AUTHENTICATE_IN_BROWSER' callback for the client. * 'GSASL_OPENID20_REDIRECT_URL' This property holds the SAML redirect URL that the server wants the client to access. It will be available in the 'GSASL_OPENID20_AUTHENTICATE_IN_BROWSER' callback for the client. * 'GSASL_OPENID20_OUTCOME_DATA' OpenID 2.0 authentication outcome data. This is either the OpenID SREG values or a value list starting with '"openid.error="' to signal error. Next follows a list of data properties used to trigger the callback, typically used in servers to validate client credentials: * 'GSASL_VALIDATE_SIMPLE' Used by multiple mechanisms in server mode. The callback may retrieve the 'GSASL_AUTHID', 'GSASL_AUTHZID' and 'GSASL_PASSWORD' property values and use them to make an authentication and authorization decision. * 'GSASL_VALIDATE_EXTERNAL' Used by EXTERNAL mechanism on the server side to validate the client. The GSASL_AUTHID will contain the authorization identity of the client. * 'GSASL_VALIDATE_ANONYMOUS' Used by ANONYMOUS mechanism on the server side to validate the client. The GSASL_ANONYMOUS_TOKEN will contain token that identity the client. * 'GSASL_VALIDATE_GSSAPI' Used by the GSSAPI and GS2-KRB5 mechanisms on the server side, to validate the client. You may retrieve the authorization identity from GSASL_AUTHZID and the GSS-API display name from GSASL_GSSAPI_DISPLAY_NAME. * 'GSASL_VALIDATE_SECURID' Used by SECURID mechanism on the server side to validate client. The GSASL_AUTHID, GSASL_AUTHZID, GSASL_PASSCODE, and GSASL_PIN will be set. It can return GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE to ask the client to supply another passcode, and GSASL_SECURID_SERVER_NEED_NEW_PIN to require the client to supply a new PIN code. * 'GSASL_VALIDATE_SAML20' Used by the SAML20 mechanism on the server side to request that the application perform authentication. The callback should return 'GSASL_OK' if the user should be permitted access, and 'GSASL_AUTHENTICATION_ERROR' (or another error code) otherwise. * 'GSASL_VALIDATE_OPENID20' Used by the OPENID20 mechanism on the server side to request that the application perform authentication. The callback should return 'GSASL_OK' if the user should be permitted access, and 'GSASL_AUTHENTICATION_ERROR' (or another error code) otherwise. * 'GSASL_SAML20_AUTHENTICATE_IN_BROWSER' Used by the SAML20 mechanism in the client side to request that the client should launch the SAML redirect URL (the 'GSASL_SAML20_REDIRECT_URL' property) in a browser to continue with authentication. * 'GSASL_OPENID20_AUTHENTICATE_IN_BROWSER' Used by the OPENID20 mechanism in the client side to request that the client should launch the OpenID redirect URL (the 'GSASL_OPENID20_REDIRECT_URL' property) in a browser to continue with authentication.  File: gsasl.info, Node: Mechanisms, Next: Global Functions, Prev: Properties, Up: Top 5 Mechanisms ************ Different SASL mechanisms have different requirements on the application using it. To handle these differences the library can use a callback function into your application in several different ways. Some mechanisms, such as 'PLAIN', are simple to explain and use. The client callback queries the user for a username and password. The server callback hands the username and password into any local policy deciding authentication system (such as '/etc/passwd' via PAM). Mechanism such as 'CRAM-MD5' and 'SCRAM-SHA-1' uses hashed passwords. The client callback behaviour is the same as for PLAIN. However, the server does not receive the plain text password over the network but rather a hash of it. Existing policy deciding systems like PAM cannot handle this, so the server callback for these mechanisms are more complicated. Further, mechanisms like GSSAPI/GS2-KRB5 (Kerberos 5) assume a specific authentication system. In theory this means that the SASL library would not need to interact with the application, but rather call this specific authentication system directly. However, some callbacks are supported anyway, to modify the behaviour of how the specific authentication system is used (i.e., to handle "super-user" login as some other user). Some mechanisms, like 'EXTERNAL' and 'ANONYMOUS' are entirely dependent on callbacks. * Menu: * EXTERNAL:: Authentication via out of band information. * ANONYMOUS:: Mechanism for anonymous access to resources. * PLAIN:: Clear text username and password. * LOGIN:: Non-standard clear text username and password. * CRAM-MD5:: Challenge-Response Authentication Mechanism. * DIGEST-MD5:: Digest Authentication. * SCRAM-SHA-1:: SCRAM-SHA-1 authentication. * NTLM:: Microsoft NTLM authentication. * SECURID:: Authentication using tokens. * GSSAPI:: GSSAPI (Kerberos 5) authentication. * GS2-KRB5:: Improved GSSAPI (Kerberos 5) authentication. * SAML20:: Authenticate using SAML 2.0 via a browser. * OPENID20:: Authenticate using OpenID 2.0 via a browser. * KERBEROS_V5:: Experimental KERBEROS_V5 authentication.  File: gsasl.info, Node: EXTERNAL, Next: ANONYMOUS, Up: Mechanisms 5.1 The EXTERNAL mechanism ========================== The EXTERNAL mechanism is used to authenticate a user to a server based on out-of-band authentication. EXTERNAL is typically used over TLS authenticated channels. Note that in the server, you need to make sure that TLS actually authenticated the client successfully and that the negotiated ciphersuite and other parameters are acceptable. It is generally not sufficient that TLS is used, since TLS supports anonymous and other variants that generally provide less assurance than you normally want. In the client, this mechanism is always enabled, and it will send the 'GSASL_AUTHZID' property as the authorization name to the server, if the property is set. If the property is not set, an empty authorization name is sent. You need not implement a callback. In the server, this mechanism will request the 'GSASL_VALIDATE_EXTERNAL' callback property to decide whether the client is authenticated and authorized to log in. Your callback can retrieve the 'GSASL_AUTHZID' property to inspect the requested authorization name from the client. The EXTERNAL mechanism was initially specified in the core SASL framework RFC 2222 and later revised in RFC 4422.  File: gsasl.info, Node: ANONYMOUS, Next: PLAIN, Prev: EXTERNAL, Up: Mechanisms 5.2 The ANONYMOUS mechanism =========================== The ANONYMOUS mechanism is used to "authenticate" clients to anonymous services; or rather, just indicate that the client wishes to use the service anonymously. The client sends a token, usually her email address, which serve the purpose of some trace information suitable for logging. The token cannot be empty. In the client, this mechanism is always enabled, and will send the 'GSASL_ANONYMOUS_TOKEN' property as the trace information to the server. In the server, this mechanism will invoke the 'GSASL_VALIDATE_ANONYMOUS' callback to decide whether the client should be permitted to log in. Your callback can retrieve the 'GSASL_ANONYMOUS_TOKEN' property to, for example, record it in a log file. The token is normally not used to decide whether the client should be permitted to log in or not. The ANONYMOUS mechanism was initially specified in RFC 2245 and later revised in RFC 4505.  File: gsasl.info, Node: PLAIN, Next: LOGIN, Prev: ANONYMOUS, Up: Mechanisms 5.3 The PLAIN mechanism ======================= The PLAIN mechanism uses username and password to authenticate users. Two user names are relevant. The first, the authentication identity, indicates the credential holder, i.e., whom the provided password belongs to. The second, the authorization identity, is typically empty to indicate that the user requests to log on to the server as herself (i.e., the authentication identity). If the authorization identity is not empty, the server should decide whether the authenticated user may log on as the authorization identity. This is typically used for super-user accounts like 'admin' to take on the role of a regular user. In the client, this mechanism is always enabled, and require the 'GSASL_AUTHID' and 'GSASL_PASSWORD' properties. If set, 'GSASL_AUTHZID' will also be used. In the server, the mechanism is always enabled. Two approaches to authenticate and authorize the client are provided. In the first approach, the server side of the mechanism will request the 'GSASL_VALIDATE_SIMPLE' callback property to decide whether the client should be accepted or not. The callback may inspect the 'GSASL_AUTHID', 'GSASL_AUTHZID', and 'GSASL_PASSWORD' properties. These property values will be normalized. If the first approach fails (because there is no callback or your callback returns 'GSASL_NO_CALLBACK' to signal that it does not implement 'GSASL_VALIDATE_SIMPLE') the mechanism will continue to query the application for a password, via the 'GSASL_PASSWORD' property. Your callback may use the 'GSASL_AUTHID' and 'GSASL_AUTHZID' properties to select the proper password. The password is then normalized and compared to the client credential. Which approach to use? If your database stores hashed passwords, you have no option, but must use the first approach. If passwords in your user database are stored in prepared (SASLprep) form, the first approach will be faster. If you do not have prepared passwords available, you can use the second approach to make sure the password is prepared properly before comparison. The PLAIN mechanism was initially specified in RFC 2595 and later revised in RFC 4616.  File: gsasl.info, Node: LOGIN, Next: CRAM-MD5, Prev: PLAIN, Up: Mechanisms 5.4 The LOGIN mechanism ======================= The LOGIN mechanism is a non-standard mechanism, and is similar to the PLAIN mechanism except that LOGIN lacks the support for authorization identities. Always use PLAIN instead of LOGIN in new applications. The callback behaviour is the same as for PLAIN, except that 'GSASL_AUTHZID' is neither used nor required, and that the server does not normalize the password using SASLprep. *Note Use of SASLprep in LOGIN::, for a proposed clarification of the interpretation of a hypothetical LOGIN specification.  File: gsasl.info, Node: CRAM-MD5, Next: DIGEST-MD5, Prev: LOGIN, Up: Mechanisms 5.5 The CRAM-MD5 mechanism ========================== CRAM-MD5 is a widely used challenge-response mechanism that transfers hashed passwords instead of clear text passwords. It is official deprecated, initially in favor of first DIGEST-MD5 but today SCRAM-SHA-1. For insecure channels (e.g., when TLS is not used), it is has better properties than PLAIN since the unhashed password is not leaked. The CRAM-MD5 mechanism does not support authorization identities; that make the relationship between CRAM-MD5 and DIGEST-MD5/SCRAM-SHA-1 similar to the relationship between LOGIN and PLAIN. The disadvantage with hashed passwords is that the server cannot use normal authentication infrastructures such as PAM, because the server must have access to the unhashed password in order to validate every authentication attempt. In the client, this mechanism is always enabled, and it requires the 'GSASL_AUTHID' and 'GSASL_PASSWORD' properties. In the server, the mechanism will require the 'GSASL_PASSWORD' callback property, which may use the 'GSASL_AUTHID' property to determine which users' password should be used. The 'GSASL_AUTHID' will be in normalized form. The server will then normalize the password, and compare the client response with the computed correct response, and accept the user accordingly. *Note Use of SASLprep in CRAM-MD5::, for a clarification on the interpretation of the CRAM-MD5 specification that this implementation rely on. The CRAM-MD5 mechanism was initially specified in RFC 2095 but quickly revised in RFC 2195. Note that both were published before the core SASL framework, which explains its lack of authorization identity.  File: gsasl.info, Node: DIGEST-MD5, Next: SCRAM-SHA-1, Prev: CRAM-MD5, Up: Mechanisms 5.6 The DIGEST-MD5 mechanism ============================ The DIGEST-MD5 mechanism is based on repeated hashing using MD5. After the MD5 break may be argued to be weaker than HMAC-MD5 that CRAM-MD5 builds on, but DIGEST-MD5 supports other features. For example, authorization identities and data integrity and privacy protection are supported. Like CRAM-MD5, only a hashed password is transferred. Consequently, DIGEST-MD5 needs access to the correct password to verify the client response - however the server can store the password in hashed form, another improvement compared to CRAM-MD5 . Alas, this makes it impossible to use, e.g., PAM on the server side. In the client, this mechanism is always enabled, and it requires the 'GSASL_AUTHID', 'GSASL_PASSWORD', 'GSASL_SERVICE', and 'GSASL_HOSTNAME' properties. If set, 'GSASL_AUTHZID' and 'GSASL_REALM' will also be used. In the server, the mechanism will first request the 'GSASL_DIGEST_MD5_HASHED_PASSWORD' callback property to get the user's hashed password. If the callback doesn't supply a hashed password (i.e., it returns 'GSASL_NO_CALLBACK'), the 'GSASL_PASSWORD' callback property will be requested. Both callbacks may use the 'GSASL_AUTHID', 'GSASL_AUTHZID' and 'GSASL_REALM' properties to determine which users' password should be used. The server will then compare the client response with a computed correct response, and accept the user accordingly. The server uses the 'GSASL_QOPS' callback to get the set of quality of protection values to use. By default, it advertises support for authentication ('qop-auth') only. You can use the callback, for example, to make the server advertise support for authentication with integrity layers. The client uses the 'GSASL_QOP' callback to get the quality of protection value to request. The client must choose one of the QOP values offered by the server (which may be inspected through the 'GSASL_QOPS' property). If the client does not return a value, 'qop-auth' is used by default. The security layers of DIGEST-MD5 are rarely used in practice due to interoperability and security reasons. You are recommended to use TLS instead. The DIGEST-MD5 mechanism is specified in RFC 2831. RFC 6331 labels DIGEST-MD5 as historic and it contains a good exposition of the disadvantages with DIGEST-MD5.  File: gsasl.info, Node: SCRAM-SHA-1, Next: NTLM, Prev: DIGEST-MD5, Up: Mechanisms 5.7 The SCRAM-SHA-1 mechanism ============================= The SCRAM-SHA-1 mechanism is designed to provide (almost) the same capabilities that CRAM-MD5 and DIGEST-MD5 provides but use modern cryptographic techniques such as HMAC-SHA-1 hashing and PKCS#5 PBKDF2 key derivation. SCRAM-SHA-1 supports authorization identities. Like CRAM-MD5 and DIGEST-MD5, only a hashed password is transferred. Consequently, SCRAM-SHA-1 needs access to the correct password to verify the client response. Channel bindings are supported through the SCRAM-SHA-1-PLUS mechanism. In the client, the non-PLUS mechanism is always enabled, and it requires the 'GSASL_AUTHID' property, and either 'GSASL_PASSWORD' or 'GSASL_SCRAM_SALTED_PASSWORD'. When the 'GSASL_CB_TLS_UNIQUE' property is available, the SCRAM-SHA-1-PLUS mechanism is also available and it will negotiate channel bindings when the server also supports it. If set, 'GSASL_AUTHZID' will be used by the client. To be able to return the proper 'GSASL_SCRAM_SALTED_PASSWORD' value, the client needs to check the 'GSASL_SCRAM_ITER' and 'GSASL_SCRAM_SALT' values which are available when the 'GSASL_SCRAM_SALTED_PASSWORD' property is queried for. In the server, the mechanism will require the 'GSASL_PASSWORD' callback property, which may use the 'GSASL_AUTHID' property to determine which users' password should be used. The 'GSASL_AUTHID' will be in normalized form. The server will then normalize the returned password, and compare the client response with the computed correct response, and accept the user accordingly. The server may also set the 'GSASL_SCRAM_ITER' and 'GSASL_SCRAM_SALT' properties to influence the values to be used by clients to derive a key from a password. When the 'GSASL_CB_TLS_UNIQUE' property is set, the SCRAM-SHA-1-PLUS mechanism is supported and is used to negotiate channel bindings. The 'GSASL_CB_TLS_UNIQUE' property signal that this side of the authentication supports channel bindings. Setting the property will enable the SCRAM-SHA-1-PLUS mechanism. For clients, this also instructs the SCRAM-SHA-1 mechanism to tell servers that the client believes the server does not support channel bindings if it is used (remember that clients should otherwise have chosen the SCRAM-SHA-1-PLUS mechanism instead of the SCRAM-SHA-1 mechanism). For servers, it means the SCRAM-SHA-1 mechanism will refuse to authenticate against a client that signals that it believes the server does not support channel bindings. The SCRAM-SHA-1-PLUS mechanism will never complete authentication successfully if channel bindings are not confirmed. The SCRAM-SHA-1 mechanism is specified in RFC 5802.  File: gsasl.info, Node: NTLM, Next: SECURID, Prev: SCRAM-SHA-1, Up: Mechanisms 5.8 The NTLM mechanism ====================== The NTLM is a non-standard mechanism. Do not use it in new applications, and do not expect it to be secure. Currently only the client side is supported. In the client, this mechanism is always enabled, and it requires the 'GSASL_AUTHID' and 'GSASL_PASSWORD' properties. It will set the 'domain' field in the NTLM request to the value of 'GSASL_REALM'. Some servers reportedly need non-empty but arbitrary values in that field.  File: gsasl.info, Node: SECURID, Next: GSSAPI, Prev: NTLM, Up: Mechanisms 5.9 The SECURID mechanism ========================= The SECURID mechanism uses authentication and authorization identity together with a passcode from a hardware token to authenticate users. In the client, this mechanism is always enabled, and it requires the 'GSASL_AUTHID' and 'GSASL_PASSCODE' properties. If set, 'GSASL_AUTHZID' will also be used. If the server requests it, the 'GSASL_PIN' property is also required, and its callback may inspect the 'GSASL_SUGGESTED_PIN' property to discover a server-provided PIN to use. In the server, this mechanism will invoke the 'GSASL_VALIDATE_SECURID' callback. The callback may inspect the 'GSASL_AUTHID', 'GSASL_AUTHZID', and 'GSASL_PASSCODE' properties. The callback can return 'GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE' to ask for another additional passcode from the client. The callback can return 'GSASL_SECURID_SERVER_NEED_NEW_PIN' to ask for a new PIN code from the client, in which case it may also set the 'GSASL_SUGGESTED_PIN' property to indicate a recommended new PIN. If the callbacks is invoked again, after having returned 'GSASL_SECURID_SERVER_NEED_NEW_PIN', it may also inspect the 'GSASL_PIN' property, in addition to the other properties, to find out the client selected PIN code. The SCRAM-SHA-1 mechanism is specified in RFC 2808.  File: gsasl.info, Node: GSSAPI, Next: GS2-KRB5, Prev: SECURID, Up: Mechanisms 5.10 The GSSAPI mechanism ========================= The GSSAPI mechanism allows you to authenticate using Kerberos V5. The mechanism was originally designed to allow for any GSS-API mechanism to be used, but problems with the protocol made it unpractical and it is today restricted for use with Kerberos V5. See the GS2 mechanism (*note GS2-KRB5::) for a general solution. However, GSSAPI continues to be widely used in Kerberos V5 environments. In the client, the mechanism is enabled only if the user has acquired credentials (i.e., a ticket granting ticket), and it requires the 'GSASL_AUTHZID', 'GSASL_SERVICE', and 'GSASL_HOSTNAME' properties. (For historical reasons, if the 'GSASL_AUTHZID' property is not specified, this mechanism checks for the 'GSASL_AUTHZID' property and if present will use that as the authorization identity - this behaviour will be removed after the year 2012 so you should update your code to use only 'GSASL_AUTHZID'.) In the server, the mechanism requires the 'GSASL_SERVICE' and 'GSASL_HOSTNAME' properties, and it will invoke the 'GSASL_VALIDATE_GSSAPI' callback property in order to validate the user. The callback may inspect the 'GSASL_AUTHZID' and 'GSASL_GSSAPI_DISPLAY_NAME' properties to decide whether to authorize the user. Note that authentication is performed by the GSS-API library and that 'GSASL_AUTHID' is not used by the server mechanism, its role is played by 'GSASL_GSSAPI_DISPLAY_NAME'. This implementation does not support security layers. You are recommended to use TLS instead. The GSSAPI mechanism was specified as part of the initial core SASL framework, in RFC 2222, but later revised in RFC 4752 to only apply to Kerberos V5.  File: gsasl.info, Node: GS2-KRB5, Next: SAML20, Prev: GSSAPI, Up: Mechanisms 5.11 The GS2-KRB5 mechanism =========================== GS2 is a protocol bridge between GSS-API and SASL, and allows every GSS-API mechanism that supports mutual authentication and channel bindings to be used as a SASL mechanism. Currently GS2-KRB5 is supported, for Kerberos V5 authentication, however our GS2 implementation is flexible enough to easily support other GSS-API mechanism if any gains popularity. In the client, the mechanism is enabled only if the user has acquired credentials (i.e., a ticket granting ticket), and it requires the 'GSASL_AUTHZID', 'GSASL_SERVICE', and 'GSASL_HOSTNAME' properties. In the server, the mechanism requires the 'GSASL_SERVICE' and 'GSASL_HOSTNAME' properties, and it will invoke the 'GSASL_VALIDATE_GSSAPI' callback property in order to validate the user. The callback may inspect the 'GSASL_AUTHZID' and 'GSASL_GSSAPI_DISPLAY_NAME' properties to decide whether to authorize the user. Note that authentication is performed by the GSS-API library and that 'GSASL_AUTHID' is not used by the server mechanism, its role is played by 'GSASL_GSSAPI_DISPLAY_NAME'. The GS2 framework supports a variant of each mechanism, called the PLUS variant, which can also bind the authentication to a secure channel through channel bindings. Currently this is not supported by GNU SASL. The GS2 mechanism family was specified in RFC 5801.  File: gsasl.info, Node: SAML20, Next: OPENID20, Prev: GS2-KRB5, Up: Mechanisms 5.12 The SAML20 mechanism ========================= The SAML20 mechanism makes it possible to use SAML in SASL, in a way that offloads the authentication exchange to an external web browser. The mechanism makes use of the following properties: 'GSASL_AUTHZID', 'GSASL_SAML20_IDP_IDENTIFIER', 'GSASL_SAML20_REDIRECT_URL', 'GSASL_SAML20_AUTHENTICATE_IN_BROWSER' and 'GSASL_VALIDATE_SAML20'. In client mode, the mechanism will retrieve the 'GSASL_AUTHZID' and 'GSASL_SAML20_IDP_IDENTIFIER' properties and form a request to the server. The server will respond with a redirect URL stored in the 'GSASL_SAML20_REDIRECT_URL' property, which the client can retrieve from the 'GSASL_SAML20_AUTHENTICATE_IN_BROWSER' callback. The intention is that the client launches a browser to the given URL, and then proceeds with authentication. The server responds whether authentication was successful or not. In server mode, the mechanism will invoke the 'GSASL_SAML20_REDIRECT_URL' callback and the application can inspect the 'GSASL_AUTHZID' and 'GSASL_SAML20_IDP_IDENTIFIER' properties when forming the redirect URL. The URL is passed to the client which will hopefully complete authentication in the browser. The server callback 'GSASL_VALIDATE_SAML20' should check whether the authentication attempt was successful. Note that SAML itself is not implemented by the GNU SASL library. On the client side, no SAML knowledge is needed, it is only required on the server side. The client only needs to be able to start a web browser to access the redirect URL. The server side is expected to call a SAML library to generate the AuthRequest and to implement an AssertionConsumerService (ACS) to validate the AuthResponse. There is a complete proof-of-concept example of a SMTP server with SAML 2.0 support distributed with GNU SASL in the 'examples/saml20/' sub-directory. The example uses the Lasso SAML implementation () and require a web server for the ACS side. The example may be used as inspiration for your own server implementation. The 'gsasl' command line client supports SAML20 as a client. The SAML20 mechanism is specified in RFC 6595.  File: gsasl.info, Node: OPENID20, Next: KERBEROS_V5, Prev: SAML20, Up: Mechanisms 5.13 The OPENID20 mechanism =========================== The OPENID20 mechanism makes it possible to use OpenID in SASL, in a way that offloads the authentication exchange to an external web browser. The mechanism makes use of the following properties: 'GSASL_AUTHID' (for the OpenID User-Supplied Identifier), 'GSASL_AUTHZID', 'GSASL_OPENID20_REDIRECT_URL', 'GSASL_OPENID20_OUTCOME_DATA', 'GSASL_OPENID20_AUTHENTICATE_IN_BROWSER', and 'GSASL_VALIDATE_OPENID20'. In the client, the mechanism is enabled by default. The 'GSASL_AUTHID' property is required and should contain the User-Supplied OpenID Identifier (for example 'http://josefsson.org'). If set, 'GSASL_AUTHZID' will be used by the client. The client will be invoked with the 'GSASL_OPENID20_AUTHENTICATE_IN_BROWSER' callback to perform the OpenID authentication in a web browser. The callback can retrieve the 'GSASL_OPENID20_REDIRECT_URL' property to find out the URL to redirect the user to. After authentication, the client can retrieve the 'GSASL_OPENID20_OUTCOME_DATA' property with the OpenID Simple Registry (SREG) attributes sent by the server (if any). In the server, the mechanism is enabled by default. The server will request the 'GSASL_OPENID20_REDIRECT_URL' property, and your callback may inspect the 'GSASL_AUTHID' to find the OpenID User-Supplied Identifier. The server callback should perform OpenID discovery and return the URL to redirect the user to. After this, the user would access the URL and proceed with authentication in the browser. The server is invoked with the 'GSASL_VALIDATE_OPENID20' callback to perform the actual validation of the authentication. Usually the callback will perform some IPC communication with an OpenID consumer running in a web server. The callback should return 'GSASL_OK' on successful authentication and 'GSASL_AUTHENTICATION_ERROR' on authentication errors, or any other error code. If the server received some OpenID Simple Registry (SREG) attributes from the OpenID Identity Provider, it may use the 'GSASL_OPENID20_OUTCOME_DATA' property to send these to the client. Note that OpenID itself is not implemented by the GNU SASL library. On the client side, no OpenID knowledge is required, it is only required on the server side. The client only needs to be able to start a web browser to access the redirect URL. The server side is expected to use an OpenID library to generate the redirect URL and to implement the Service Provider (SP) to validate the response from the IdP. There is a complete proof-of-concept example with a SMTP server with OpenID 2.0 support distributed with GNU SASL in the 'examples/openid20/' sub-directory. It uses the JanRain PHP5 OpenID implementation and require a web server to implement the OpenID SP. The example may be used as inspiration for your own server implementation. The 'gsasl' command line client supports OPENID20 as a client. The OPENID20 mechanism is specified in RFC 6616.  File: gsasl.info, Node: KERBEROS_V5, Prev: OPENID20, Up: Mechanisms 5.14 The KERBEROS_V5 mechanism ============================== The KERBEROS_V5 is an experimental mechanism, the protocol specification is available on the GNU SASL homepage. It can operate in three modes, non-infrastructure mode, infrastructure mode and proxied infrastructure mode. Currently only non-infrastructure mode is supported. In the non-infrastructure mode, it works as a superset of most features provided by PLAIN, CRAM-MD5, DIGEST-MD5 and GSSAPI while at the same time building on what is believed to be proven technology (the RFC 1510 network security system). In the non-infrastructure mode, the client must specify (via callbacks) the name of the user, and optionally the server name and realm. The server must be able to retrieve passwords given the name of the user. In the infrastructure mode (proxied or otherwise), it allows clients and servers to authenticate via SASL in an RFC 1510 environment, using a trusted third party, a "Key Distribution Central". In the normal mode, clients acquire tickets out of band and then invokes a one roundtrip AP-REQ and AP-REP exchange. In the proxied mode, which can be used by clients without IP addresses or without connectivity to the KDC (e.g., when the KDC is IPv4 and the client is IPV6-only), the client uses the server to proxy ticket requests and finishes with the AP-REQ/AP-REP exchange. In infrastructure mode (proxied or otherwise), neither the client nor server need to implement any callbacks (this will likely change later, to allow a server to authorize users, similar to the GSSAPI callback). XXX: update when implementation has matured  File: gsasl.info, Node: Global Functions, Next: Callback Functions, Prev: Mechanisms, Up: Top 6 Global Functions ****************** gsasl_init ---------- -- Function: int gsasl_init (Gsasl ** CTX) CTX: pointer to libgsasl handle. This functions initializes libgsasl. The handle pointed to by ctx is valid for use with other libgsasl functions iff this function is successful. It also register all builtin SASL mechanisms, using 'gsasl_register()' . Return value: GSASL_OK iff successful, otherwise 'GSASL_MALLOC_ERROR' . gsasl_done ---------- -- Function: void gsasl_done (Gsasl * CTX) CTX: libgsasl handle. This function destroys a libgsasl handle. The handle must not be used with other libgsasl functions after this call. gsasl_client_mechlist --------------------- -- Function: int gsasl_client_mechlist (Gsasl * CTX, char ** OUT) CTX: libgsasl handle. OUT: newly allocated output character array. Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl client. 'out' is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns 'GSASL_OK' if successful, or error code. gsasl_server_mechlist --------------------- -- Function: int gsasl_server_mechlist (Gsasl * CTX, char ** OUT) CTX: libgsasl handle. OUT: newly allocated output character array. Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl server. 'out' is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns 'GSASL_OK' if successful, or error code. gsasl_client_support_p ---------------------- -- Function: int gsasl_client_support_p (Gsasl * CTX, const char * NAME) CTX: libgsasl handle. NAME: name of SASL mechanism. Decide whether there is client-side support for a specified mechanism. Return value: Returns 1 if the libgsasl client supports the named mechanism, otherwise 0. gsasl_server_support_p ---------------------- -- Function: int gsasl_server_support_p (Gsasl * CTX, const char * NAME) CTX: libgsasl handle. NAME: name of SASL mechanism. Decide whether there is server-side support for a specified mechanism. Return value: Returns 1 if the libgsasl server supports the named mechanism, otherwise 0. gsasl_client_suggest_mechanism ------------------------------ -- Function: const char * gsasl_client_suggest_mechanism (Gsasl * CTX, const char * MECHLIST) CTX: libgsasl handle. MECHLIST: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). Given a list of mechanisms, suggest which to use. Return value: Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string, or NULL if no supported mechanism is found. gsasl_register -------------- -- Function: int gsasl_register (Gsasl * CTX, const Gsasl_mechanism * MECH) CTX: pointer to libgsasl handle. MECH: plugin structure with information about plugin. This function initialize given mechanism, and if successful, add it to the list of plugins that is used by the library. Return value: 'GSASL_OK' iff successful, otherwise 'GSASL_MALLOC_ERROR' . *Since:* 0.2.0  File: gsasl.info, Node: Callback Functions, Next: Property Functions, Prev: Global Functions, Up: Top 7 Callback Functions ******************** The callback is used by mechanisms to retrieve information, such as username and password, from the application. In a server, the callback is used to decide whether a user is permitted to log in or not. You tell the library of your callback function by calling 'gsasl_callback_set'. Since your callback may need access to data from other parts of your application, there are hooks to store and retrieve application specific pointers. This avoids the use of global variables, which wouldn't be thread safe. You store a pointer to some information (opaque from the point of view of the library) by calling 'gsasl_callback_hook_set' and can later retrieve this data in your callback by calling 'gsasl_callback_hook_get'. gsasl_callback_set ------------------ -- Function: void gsasl_callback_set (Gsasl * CTX, Gsasl_callback_function CB) CTX: handle received from 'gsasl_init()' . CB: pointer to function implemented by application. Store the pointer to the application provided callback in the library handle. The callback will be used, via 'gsasl_callback()' , by mechanisms to discover various parameters (such as username and passwords). The callback function will be called with a Gsasl_property value indicating the requested behaviour. For example, for 'GSASL_ANONYMOUS_TOKEN' , the function is expected to invoke gsasl_property_set( 'CTX' , 'GSASL_ANONYMOUS_TOKEN' , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. *Since:* 0.2.0 gsasl_callback -------------- -- Function: int gsasl_callback (Gsasl * CTX, Gsasl_session * SCTX, Gsasl_property PROP) CTX: handle received from 'gsasl_init()' , may be NULL to derive it from 'sctx' . SCTX: session handle. PROP: enumerated value of Gsasl_property type. Invoke the application callback. The 'prop' value indicate what the callback is expected to do. For example, for 'GSASL_ANONYMOUS_TOKEN' , the function is expected to invoke gsasl_property_set( 'SCTX' , 'GSASL_ANONYMOUS_TOKEN' , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. Note that if no callback has been set by the application, but the obsolete callback interface has been used, this function will translate the old callback interface into the new. This interface should be sufficient to invoke all callbacks, both new and old. Return value: Returns whatever the application callback returns, or 'GSASL_NO_CALLBACK' if no application was known. *Since:* 0.2.0 gsasl_callback_hook_set ----------------------- -- Function: void gsasl_callback_hook_set (Gsasl * CTX, void * HOOK) CTX: libgsasl handle. HOOK: opaque pointer to application specific data. Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling 'gsasl_callback_hook_get()' . This is normally used by the application to maintain a global state between the main program and callbacks. *Since:* 0.2.0 gsasl_callback_hook_get ----------------------- -- Function: void * gsasl_callback_hook_get (Gsasl * CTX) CTX: libgsasl handle. Retrieve application specific data from libgsasl handle. The application data is set using 'gsasl_callback_hook_set()' . This is normally used by the application to maintain a global state between the main program and callbacks. Return value: Returns the application specific data, or NULL. *Since:* 0.2.0 gsasl_session_hook_set ---------------------- -- Function: void gsasl_session_hook_set (Gsasl_session * SCTX, void * HOOK) SCTX: libgsasl session handle. HOOK: opaque pointer to application specific data. Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling 'gsasl_session_hook_get()' . This is normally used by the application to maintain a per-session state between the main program and callbacks. *Since:* 0.2.14 gsasl_session_hook_get ---------------------- -- Function: void * gsasl_session_hook_get (Gsasl_session * SCTX) SCTX: libgsasl session handle. Retrieve application specific data from libgsasl session handle. The application data is set using 'gsasl_callback_hook_set()' . This is normally used by the application to maintain a per-session state between the main program and callbacks. Return value: Returns the application specific data, or NULL. *Since:* 0.2.14  File: gsasl.info, Node: Property Functions, Next: Session Functions, Prev: Callback Functions, Up: Top 8 Property Functions ******************** gsasl_property_set ------------------ -- Function: void gsasl_property_set (Gsasl_session * SCTX, Gsasl_property PROP, const char * DATA) SCTX: session handle. PROP: enumerated value of Gsasl_property type, indicating the type of data in 'data' . DATA: zero terminated character string to store. Make a copy of 'data' and store it in the session handle for the indicated property 'prop' . You can immediately deallocate 'data' after calling this function, without affecting the data stored in the session handle. *Since:* 0.2.0 gsasl_property_set_raw ---------------------- -- Function: void gsasl_property_set_raw (Gsasl_session * SCTX, Gsasl_property PROP, const char * DATA, size_t LEN) SCTX: session handle. PROP: enumerated value of Gsasl_property type, indicating the type of data in 'data' . DATA: character string to store. LEN: length of character string to store. Make a copy of 'len' sized 'data' and store a zero terminated version of it in the session handle for the indicated property 'prop' . You can immediately deallocate 'data' after calling this function, without affecting the data stored in the session handle. Except for the length indicator, this function is identical to gsasl_property_set. *Since:* 0.2.0 gsasl_property_fast ------------------- -- Function: const char * gsasl_property_fast (Gsasl_session * SCTX, Gsasl_property PROP) SCTX: session handle. PROP: enumerated value of Gsasl_property type, indicating the type of data in 'data' . Retrieve the data stored in the session handle for given property 'prop' . The pointer is to live data, and must not be deallocated or modified in any way. This function will not invoke the application callback. Return value: Return property value, if known, or NULL if no value known. *Since:* 0.2.0 gsasl_property_get ------------------ -- Function: const char * gsasl_property_get (Gsasl_session * SCTX, Gsasl_property PROP) SCTX: session handle. PROP: enumerated value of Gsasl_property type, indicating the type of data in 'data' . Retrieve the data stored in the session handle for given property 'prop' , possibly invoking the application callback to get the value. The pointer is to live data, and must not be deallocated or modified in any way. This function will invoke the application callback, using 'gsasl_callback()' , when a property value is not known. If no value is known, and no callback is specified or if the callback fail to return data, and if any obsolete callback functions has been set by the application, this function will try to call these obsolete callbacks, and store the returned data as the corresponding property. This behaviour of this function will be removed when the obsolete callback interfaces are removed. Return value: Return data for property, or NULL if no value known. *Since:* 0.2.0  File: gsasl.info, Node: Session Functions, Next: Utilities, Prev: Property Functions, Up: Top 9 Session Functions ******************* gsasl_client_start ------------------ -- Function: int gsasl_client_start (Gsasl * CTX, const char * MECH, Gsasl_session ** SCTX) CTX: libgsasl handle. MECH: name of SASL mechanism. SCTX: pointer to client handle. This functions initiates a client SASL authentication. This function must be called before any other gsasl_client_*() function is called. Return value: Returns 'GSASL_OK' if successful, or error code. gsasl_server_start ------------------ -- Function: int gsasl_server_start (Gsasl * CTX, const char * MECH, Gsasl_session ** SCTX) CTX: libgsasl handle. MECH: name of SASL mechanism. SCTX: pointer to server handle. This functions initiates a server SASL authentication. This function must be called before any other gsasl_server_*() function is called. Return value: Returns 'GSASL_OK' if successful, or error code. gsasl_step ---------- -- Function: int gsasl_step (Gsasl_session * SCTX, const char * INPUT, size_t INPUT_LEN, char ** OUTPUT, size_t * OUTPUT_LEN) SCTX: libgsasl session handle. INPUT: input byte array. INPUT_LEN: size of input byte array. OUTPUT: newly allocated output byte array. OUTPUT_LEN: pointer to output variable with size of output byte array. Perform one step of SASL authentication. This reads data from the other end (from 'input' and 'input_len' ), processes it (potentially invoking callbacks to the application), and writes data to server (into newly allocated variable 'output' and 'output_len' that indicate the length of 'output' ). The contents of the 'output' buffer is unspecified if this functions returns anything other than 'GSASL_OK' or 'GSASL_NEEDS_MORE' . If this function return 'GSASL_OK' or 'GSASL_NEEDS_MORE' , however, the 'output' buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( 'output' ). Return value: Returns 'GSASL_OK' if authenticated terminated successfully, 'GSASL_NEEDS_MORE' if more data is needed, or error code. gsasl_step64 ------------ -- Function: int gsasl_step64 (Gsasl_session * SCTX, const char * B64INPUT, char ** B64OUTPUT) SCTX: libgsasl client handle. B64INPUT: input base64 encoded byte array. B64OUTPUT: newly allocated output base64 encoded byte array. This is a simple wrapper around 'gsasl_step()' that base64 decodes the input and base64 encodes the output. The contents of the 'b64output' buffer is unspecified if this functions returns anything other than 'GSASL_OK' or 'GSASL_NEEDS_MORE' . If this function return 'GSASL_OK' or 'GSASL_NEEDS_MORE' , however, the 'b64output' buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( 'b64output' ). Return value: Returns 'GSASL_OK' if authenticated terminated successfully, 'GSASL_NEEDS_MORE' if more data is needed, or error code. gsasl_finish ------------ -- Function: void gsasl_finish (Gsasl_session * SCTX) SCTX: libgsasl session handle. Destroy a libgsasl client or server handle. The handle must not be used with other libgsasl functions after this call. gsasl_encode ------------ -- Function: int gsasl_encode (Gsasl_session * SCTX, const char * INPUT, size_t INPUT_LEN, char ** OUTPUT, size_t * OUTPUT_LEN) SCTX: libgsasl session handle. INPUT: input byte array. INPUT_LEN: size of input byte array. OUTPUT: newly allocated output byte array. OUTPUT_LEN: size of output byte array. Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The 'output' buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( 'output' ). Return value: Returns 'GSASL_OK' if encoding was successful, otherwise an error code. gsasl_decode ------------ -- Function: int gsasl_decode (Gsasl_session * SCTX, const char * INPUT, size_t INPUT_LEN, char ** OUTPUT, size_t * OUTPUT_LEN) SCTX: libgsasl session handle. INPUT: input byte array. INPUT_LEN: size of input byte array. OUTPUT: newly allocated output byte array. OUTPUT_LEN: size of output byte array. Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The 'output' buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( 'output' ). Return value: Returns 'GSASL_OK' if encoding was successful, otherwise an error code. gsasl_mechanism_name -------------------- -- Function: const char * gsasl_mechanism_name (Gsasl_session * SCTX) SCTX: libgsasl session handle. This function returns the name of the SASL mechanism used in the session. The pointer must not be deallocated by the caller. Return value: Returns a zero terminated character array with the name of the SASL mechanism, or NULL if not known. *Since:* 0.2.28  File: gsasl.info, Node: Utilities, Next: Memory Handling, Prev: Session Functions, Up: Top 10 Utilities ************ gsasl_saslprep -------------- -- Function: int gsasl_saslprep (const char * IN, Gsasl_saslprep_flags FLAGS, char ** OUT, int * STRINGPREPRC) IN: a UTF-8 encoded string. FLAGS: any SASLprep flag, e.g., 'GSASL_ALLOW_UNASSIGNED' . OUT: on exit, contains newly allocated output string. STRINGPREPRC: if non-NULL, will hold precise stringprep return code. Prepare string using SASLprep. On success, the 'out' variable must be deallocated by the caller. Return value: Returns 'GSASL_OK' on success, or 'GSASL_SASLPREP_ERROR' on error. *Since:* 0.2.3 gsasl_base64_to --------------- -- Function: int gsasl_base64_to (const char * IN, size_t INLEN, char ** OUT, size_t * OUTLEN) IN: input byte array INLEN: size of input byte array OUT: pointer to newly allocated output byte array OUTLEN: pointer to size of newly allocated output byte array Encode data as base64. The string is zero terminated, and 'outlen' holds the length excluding the terminating zero. The 'out' buffer must be deallocated by the caller. Return value: Returns 'GSASL_OK' on success, or 'GSASL_MALLOC_ERROR' if input was too large or memory allocation fail. *Since:* 0.2.2 gsasl_base64_from ----------------- -- Function: int gsasl_base64_from (const char * IN, size_t INLEN, char ** OUT, size_t * OUTLEN) IN: input byte array INLEN: size of input byte array OUT: pointer to newly allocated output byte array OUTLEN: pointer to size of newly allocated output byte array Decode Base64 data. The 'out' buffer must be deallocated by the caller. Return value: Returns 'GSASL_OK' on success, 'GSASL_BASE64_ERROR' if input was invalid, and 'GSASL_MALLOC_ERROR' on memory allocation errors. *Since:* 0.2.2 gsasl_simple_getpass -------------------- -- Function: int gsasl_simple_getpass (const char * FILENAME, const char * USERNAME, char ** KEY) FILENAME: filename of file containing passwords. USERNAME: username string. KEY: newly allocated output character array. Retrieve password for user from specified file. The buffer 'key' contain the password if this function is successful. The caller is responsible for deallocating it. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return 'GSASL_OK' if output buffer contains the password, 'GSASL_AUTHENTICATION_ERROR' if the user could not be found, or other error code. gsasl_nonce ----------- -- Function: int gsasl_nonce (char * DATA, size_t DATALEN) DATA: output array to be filled with unpredictable random data. DATALEN: size of output array. Store unpredictable data of given size in the provided buffer. Return value: Returns 'GSASL_OK' iff successful. gsasl_random ------------ -- Function: int gsasl_random (char * DATA, size_t DATALEN) DATA: output array to be filled with strong random data. DATALEN: size of output array. Store cryptographically strong random data of given size in the provided buffer. Return value: Returns 'GSASL_OK' iff successful. gsasl_md5 --------- -- Function: int gsasl_md5 (const char * IN, size_t INLEN, char * [] OUT) IN: input character array of data to hash. INLEN: length of input character array of data to hash. OUT: newly allocated 16-byte character array with hash of data. Compute hash of data using MD5. The 'out' buffer must be deallocated by the caller. Return value: Returns 'GSASL_OK' iff successful. gsasl_hmac_md5 -------------- -- Function: int gsasl_hmac_md5 (const char * KEY, size_t KEYLEN, const char * IN, size_t INLEN, char * [] OUTHASH) KEY: input character array with key to use. KEYLEN: length of input character array with key to use. IN: input character array of data to hash. INLEN: length of input character array of data to hash. OUTHASH: newly allocated 16-byte character array with keyed hash of data. Compute keyed checksum of data using HMAC-MD5. The 'outhash' buffer must be deallocated by the caller. Return value: Returns 'GSASL_OK' iff successful. gsasl_sha1 ---------- -- Function: int gsasl_sha1 (const char * IN, size_t INLEN, char * [] OUT) IN: input character array of data to hash. INLEN: length of input character array of data to hash. OUT: newly allocated 20-byte character array with hash of data. Compute hash of data using SHA1. The 'out' buffer must be deallocated by the caller. Return value: Returns 'GSASL_OK' iff successful. *Since:* 1.3 gsasl_hmac_sha1 --------------- -- Function: int gsasl_hmac_sha1 (const char * KEY, size_t KEYLEN, const char * IN, size_t INLEN, char * [] OUTHASH) KEY: input character array with key to use. KEYLEN: length of input character array with key to use. IN: input character array of data to hash. INLEN: length of input character array of data to hash. OUTHASH: newly allocated 20-byte character array with keyed hash of data. Compute keyed checksum of data using HMAC-SHA1. The 'outhash' buffer must be deallocated by the caller. Return value: Returns 'GSASL_OK' iff successful. *Since:* 1.3  File: gsasl.info, Node: Memory Handling, Next: Error Handling, Prev: Utilities, Up: Top 11 Memory Handling ****************** gsasl_free ---------- -- Function: void gsasl_free (void * PTR) PTR: memory pointer Invoke free( 'ptr' ) to de-allocate memory pointer. Typically used on strings allocated by other libgsasl functions. This is useful on Windows where libgsasl is linked to one CRT and the application is linked to another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio. *Since:* 0.2.19  File: gsasl.info, Node: Error Handling, Next: Examples, Prev: Memory Handling, Up: Top 12 Error Handling ***************** Most functions in the GNU SASL Library return an error if they fail. For this reason, the application should always catch the error condition and take appropriate measures, for example by releasing the resources and passing the error up to the caller, or by displaying a descriptive message to the user and cancelling the operation. Some error values do not indicate a system error or an error in the operation, but the result of an operation that failed properly. * Menu: * Error values:: A list of all error values used. * Error strings:: How to get a descriptive string from a value.  File: gsasl.info, Node: Error values, Next: Error strings, Up: Error Handling 12.1 Error values ================= Errors are returned as 'int' values. The value of the symbol 'GSASL_OK' is guaranteed to always be '0', and all other error codes are guaranteed to be non-'0', so you may use that information to build boolean expressions involving return codes. Otherwise, an application should not depend on the particular value for error codes, and are encouraged to use the constants even for 'GSASL_OK' to improve readability. Possible values are: 'GSASL_OK' Libgsasl success 'GSASL_NEEDS_MORE' SASL mechanism needs more data 'GSASL_UNKNOWN_MECHANISM' Unknown SASL mechanism 'GSASL_MECHANISM_CALLED_TOO_MANY_TIMES' SASL mechanism called too many times 'GSASL_TOO_SMALL_BUFFER' SASL function needs larger buffer (internal error) 'GSASL_FOPEN_ERROR' Could not open file in SASL library 'GSASL_FCLOSE_ERROR' Could not close file in SASL library 'GSASL_MALLOC_ERROR' Memory allocation error in SASL library 'GSASL_BASE64_ERROR' Base 64 coding error in SASL library 'GSASL_CRYPTO_ERROR' Low-level crypto error in SASL library 'GSASL_NEED_CLIENT_ANONYMOUS_CALLBACK' SASL mechanism needs gsasl_client_callback_anonymous() callback (application error) 'GSASL_NEED_CLIENT_PASSWORD_CALLBACK' SASL mechanism needs gsasl_client_callback_password() callback (application error) 'GSASL_NEED_CLIENT_PASSCODE_CALLBACK' SASL mechanism needs gsasl_client_callback_passcode() callback (application error) 'GSASL_NEED_CLIENT_PIN_CALLBACK' SASL mechanism needs gsasl_client_callback_pin() callback (application error) 'GSASL_NEED_CLIENT_AUTHORIZATION_ID_CALLBACK' SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error) 'GSASL_NEED_CLIENT_AUTHENTICATION_ID_CALLBACK' SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error) 'GSASL_NEED_CLIENT_SERVICE_CALLBACK' SASL mechanism needs gsasl_client_callback_service() callback (application error) 'GSASL_NEED_SERVER_VALIDATE_CALLBACK' SASL mechanism needs gsasl_server_callback_validate() callback (application error) 'GSASL_NEED_SERVER_CRAM_MD5_CALLBACK' SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error) 'GSASL_NEED_SERVER_DIGEST_MD5_CALLBACK' SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error) 'GSASL_NEED_SERVER_EXTERNAL_CALLBACK' SASL mechanism needs gsasl_server_callback_external() callback (application error) 'GSASL_NEED_SERVER_ANONYMOUS_CALLBACK' SASL mechanism needs gsasl_server_callback_anonymous() callback (application error) 'GSASL_NEED_SERVER_REALM_CALLBACK' SASL mechanism needs gsasl_server_callback_realm() callback (application error) 'GSASL_NEED_SERVER_SECURID_CALLBACK' SASL mechanism needs gsasl_server_callback_securid() callback (application error) 'GSASL_NEED_SERVER_SERVICE_CALLBACK' SASL mechanism needs gsasl_server_callback_service() callback (application error) 'GSASL_NEED_SERVER_GSSAPI_CALLBACK' SASL mechanism needs gsasl_server_callback_gssapi() callback (application error) 'GSASL_NEED_SERVER_RETRIEVE_CALLBACK' SASL mechanism needs gsasl_server_callback_retrieve() callback (application error) 'GSASL_UNICODE_NORMALIZATION_ERROR' Failed to perform Unicode Normalization on string. 'GSASL_SASLPREP_ERROR' Could not prepare internationalized (non-ASCII) string. 'GSASL_MECHANISM_PARSE_ERROR' SASL mechanism could not parse input 'GSASL_AUTHENTICATION_ERROR' Error authenticating user 'GSASL_CANNOT_GET_CTX' Cannot get internal library handle (library error) 'GSASL_INTEGRITY_ERROR' Integrity error in application payload 'GSASL_NO_MORE_REALMS' No more realms available (non-fatal) 'GSASL_NO_CLIENT_CODE' Client-side functionality not available in library (application error) 'GSASL_NO_SERVER_CODE' Server-side functionality not available in library (application error) 'GSASL_GSSAPI_RELEASE_BUFFER_ERROR' GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error. 'GSASL_GSSAPI_IMPORT_NAME_ERROR' GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames. 'GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR' GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions. 'GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR' GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions. 'GSASL_GSSAPI_UNWRAP_ERROR' GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption. 'GSASL_GSSAPI_WRAP_ERROR' GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library. 'GSASL_GSSAPI_ACQUIRE_CRED_ERROR' GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server. 'GSASL_GSSAPI_DISPLAY_NAME_ERROR' GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data. 'GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR' Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented. 'GSASL_KERBEROS_V5_INIT_ERROR' Kerberos V5 initialization failure. 'GSASL_KERBEROS_V5_INTERNAL_ERROR' Kerberos V5 internal error. 'GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE' SecurID needs additional passcode. 'GSASL_SECURID_SERVER_NEED_NEW_PIN' SecurID needs new pin. 'GSASL_INVALID_HANDLE' The provided library handle was invalid (application error) 'GSASL_NO_CALLBACK' No callback specified by caller (application error). 'GSASL_NO_ANONYMOUS_TOKEN' Authentication failed because the anonymous token was not provided. 'GSASL_NO_AUTHID' Authentication failed because the authentication identity was not provided. 'GSASL_NO_AUTHZID' Authentication failed because the authorization identity was not provided. 'GSASL_NO_PASSWORD' Authentication failed because the password was not provided. 'GSASL_NO_PASSCODE' Authentication failed because the passcode was not provided. 'GSASL_NO_PIN' Authentication failed because the pin code was not provided. 'GSASL_NO_SERVICE' Authentication failed because the service name was not provided. 'GSASL_NO_HOSTNAME' Authentication failed because the host name was not provided. 'GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR' GSSAPI error encapsulating token. 'GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR' GSSAPI error decapsulating token. 'GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR' GSSAPI error getting OID for SASL mechanism name. 'GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR' GSSAPI error testing for OID in OID set. 'GSASL_GSSAPI_RELEASE_OID_SET_ERROR' GSSAPI error releasing OID set. 'GSASL_NO_CB_TLS_UNIQUE' Authentication failed because a tls-unique CB was not provided. 'GSASL_NO_SAML20_IDP_IDENTIFIER' Callback failed to provide SAML20 IdP identifier. 'GSASL_NO_SAML20_REDIRECT_URL' Callback failed to provide SAML20 redirect URL. 'GSASL_NO_OPENID20_REDIRECT_URL' Callback failed to provide OPENID20 redirect URL.  File: gsasl.info, Node: Error strings, Prev: Error values, Up: Error Handling 12.2 Error strings ================== gsasl_strerror -------------- -- Function: const char * gsasl_strerror (int ERR) ERR: libgsasl error code Convert return code to human readable string explanation of the reason for the particular error code. This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to 'gsasl_init()' . Return value: Returns a pointer to a statically allocated string containing an explanation of the error code 'err' . gsasl_strerror_name ------------------- -- Function: const char * gsasl_strerror_name (int ERR) ERR: libgsasl error code Convert return code to human readable string representing the error code symbol itself. For example, gsasl_strerror_name('GSASL_OK' ) returns the string "GSASL_OK". This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to 'gsasl_init()' . Return value: Returns a pointer to a statically allocated string containing a string version of the error code 'err' , or NULL if the error code is not known. *Since:* 0.2.29  File: gsasl.info, Node: Examples, Next: Acknowledgements, Prev: Error Handling, Up: Top 13 Examples *********** This chapter contains example code which illustrates how the GNU SASL Library can be used when writing your own application. * Menu: * Example 1:: SASL client. * Example 2:: SASL client where server send data first. * Example 3:: SASL client, with a choice of mechanism to use. * Example 4:: SASL client, with callback for user info. * Example 5:: Example SMTP server with GNU SASL authentication.  File: gsasl.info, Node: Example 1, Next: Example 2, Up: Examples 13.1 Example 1 ============== /* client.c --- Example SASL client. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the client send data first. */ do { /* Generate client output. */ rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { /* If sucessful, print it. */ printf ("Output:\n%s\n", p); gsasl_free (p); } if (rc == GSASL_NEEDS_MORE) { /* If the client need more data from server, get it here. */ printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech = "PLAIN"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; }  File: gsasl.info, Node: Example 2, Next: Example 3, Prev: Example 1, Up: Examples 13.2 Example 2 ============== /* client-serverfirst.c --- Example SASL client, where server send data first. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server send data first. */ do { printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { printf ("Output:\n%s\n", p); gsasl_free (p); } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech = "CRAM-MD5"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; }  File: gsasl.info, Node: Example 3, Next: Example 4, Prev: Example 2, Up: Examples 13.3 Example 3 ============== /* client-mech.c --- Example SASL client, with a choice of mechanism to use. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server send data first. */ do { printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { printf ("Output:\n%s\n", p); gsasl_free (p); } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static const char * client_mechanism (Gsasl * ctx) { static char mech[GSASL_MAX_MECHANISM_SIZE + 1] = ""; char mechlist[BUFSIZ] = ""; const char *suggestion; char *p; printf ("Enter list of server supported mechanisms, separate by SPC:\n"); p = fgets (mechlist, sizeof (mechlist) - 1, stdin); if (p == NULL) { perror ("fgets"); return NULL; } suggestion = gsasl_client_suggest_mechanism (ctx, mechlist); if (suggestion) printf ("Library suggests use of `%s'.\n", suggestion); printf ("Enter mechanism to use:\n"); p = fgets (mech, sizeof (mech) - 1, stdin); if (p == NULL) { perror ("fgets"); return NULL; } mech[strlen (mech) - 1] = '\0'; return mech; } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech; int rc; /* Find out which mechanism to use. */ mech = client_mechanism (ctx); /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; }  File: gsasl.info, Node: Example 4, Next: Example 5, Prev: Example 3, Up: Examples 13.4 Example 4 ============== /* client-callback.c --- Example SASL client, with callback for user info. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server send data first. */ do { printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { printf ("Output:\n%s\n", p); gsasl_free (p); } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech = "SECURID"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { char buf[BUFSIZ] = ""; int rc = GSASL_NO_CALLBACK; char *p; /* Get user info from user. */ printf ("Callback invoked, for property %u.\n", prop); switch (prop) { case GSASL_PASSCODE: printf ("Enter passcode:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); break; } buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_PASSCODE, buf); rc = GSASL_OK; break; case GSASL_AUTHID: printf ("Enter username:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); break; } buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_AUTHID, buf); rc = GSASL_OK; break; default: printf ("Unknown property! Don't worry.\n"); break; } return rc; } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Set the callback handler for the library. */ gsasl_callback_set (ctx, callback); /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; }  File: gsasl.info, Node: Example 5, Prev: Example 4, Up: Examples 13.5 Example 5 ============== /* smtp-server.c --- Example SMTP server with SASL authentication * Copyright (C) 2012-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ /* This is a minimal SMTP server with GNU SASL authentication support. The only valid password is "sesam". This server will complete authentications using LOGIN, PLAIN, DIGEST-MD5, CRAM-MD5, and SCRAM-SHA-1. It accepts an optional command line parameter specifying the service name (i.e., a numerical port number or /etc/services name). By default it listens on port "2000". */ #include #include #include #include #include #include #include static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; switch (prop) { case GSASL_PASSWORD: gsasl_property_set (sctx, prop, "sesam"); rc = GSASL_OK; break; default: /* You may want to log (at debug verbosity level) that an unknown property was requested here, possibly after filtering known rejected property requests. */ break; } return rc; } static ssize_t gettrimline (char **line, size_t * n, FILE * fh) { ssize_t s = getline (line, n, fh); if (s >= 2) { if ((*line)[strlen (*line) - 1] == '\n') (*line)[strlen (*line) - 1] = '\0'; if ((*line)[strlen (*line) - 1] == '\r') (*line)[strlen (*line) - 1] = '\0'; printf ("C: %s\n", *line); } return s; } #define print(fh, ...) \ printf ("S: "), printf (__VA_ARGS__), fprintf (fh, __VA_ARGS__) static void server_auth (FILE * fh, Gsasl_session * session) { char *line = NULL; size_t n = 0; char *p; int rc; /* The ordering and the type of checks in the following loop has to be adapted for each protocol depending on its SASL properties. SMTP is a "server-first" SASL protocol. This implementation do not support piggy-backing of the initial client challenge nor piggy-backing of the terminating server response. See RFC 2554 and RFC 4422 for terminology. That profile results in the following loop structure. Ask on the help-gsasl list if you are uncertain. */ do { rc = gsasl_step64 (session, line, &p); if (rc == GSASL_NEEDS_MORE || (rc == GSASL_OK && p && *p)) { print (fh, "334 %s\n", p); gsasl_free (p); if (gettrimline (&line, &n, fh) < 0) { print (fh, "221 localhost getline failure\n"); goto done; } } } while (rc == GSASL_NEEDS_MORE); if (rc != GSASL_OK) { print (fh, "535 gsasl_step64 (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } { const char *authid = gsasl_property_fast (session, GSASL_AUTHID); const char *authzid = gsasl_property_fast (session, GSASL_AUTHZID); print (fh, "235 OK [authid: %s authzid: %s]\n", authid ? authid : "N/A", authzid ? authzid : "N/A"); } done: free (line); } static void smtp (FILE * fh, Gsasl * ctx) { char *line = NULL; size_t n = 0; int rc; print (fh, "220 localhost ESMTP GNU SASL smtp-server\n"); while (gettrimline (&line, &n, fh) >= 0) { if (strncmp (line, "EHLO ", 5) == 0 || strncmp (line, "ehlo ", 5) == 0) { char *mechlist; rc = gsasl_server_mechlist (ctx, &mechlist); if (rc != GSASL_OK) { print (fh, "221 localhost gsasl_server_mechlist (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } print (fh, "250-localhost\n"); print (fh, "250 AUTH %s\n", mechlist); gsasl_free (mechlist); } else if (strncmp (line, "AUTH ", 5) == 0 || strncmp (line, "auth ", 5) == 0) { Gsasl_session *session = NULL; if ((rc = gsasl_server_start (ctx, line + 5, &session)) != GSASL_OK) { print (fh, "221 localhost gsasl_server_start (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } server_auth (fh, session); gsasl_finish (session); } else if (strncmp (line, "QUIT", 4) == 0 || strncmp (line, "quit", 4) == 0) { print (fh, "221 localhost QUIT\n"); goto done; } else print (fh, "500 unrecognized command\n"); } print (fh, "221 localhost getline failure\n"); done: free (line); } int main (int argc, char *argv[]) { const char *service = argc > 1 ? argv[1] : "2000"; volatile int run = 1; struct addrinfo hints, *addrs; int sockfd; int rc; int yes = 1; Gsasl *ctx; setvbuf (stdout, NULL, _IONBF, 0); rc = gsasl_init (&ctx); if (rc < 0) { printf ("gsasl_init (%d): %s\n", rc, gsasl_strerror (rc)); exit (EXIT_FAILURE); } printf ("%s [gsasl header %s library %s]\n", argv[0], GSASL_VERSION, gsasl_check_version (NULL)); gsasl_callback_set (ctx, callback); memset (&hints, 0, sizeof (hints)); hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG; hints.ai_socktype = SOCK_STREAM; rc = getaddrinfo (NULL, service, &hints, &addrs); if (rc < 0) { printf ("getaddrinfo: %s\n", gai_strerror (rc)); exit (EXIT_FAILURE); } sockfd = socket (addrs->ai_family, addrs->ai_socktype, addrs->ai_protocol); if (sockfd < 0) { perror ("socket"); exit (EXIT_FAILURE); } if (setsockopt (sockfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof (yes)) < 0) { perror ("setsockopt"); exit (EXIT_FAILURE); } rc = bind (sockfd, addrs->ai_addr, addrs->ai_addrlen); if (rc < 0) { perror ("bind"); exit (EXIT_FAILURE); } freeaddrinfo (addrs); rc = listen (sockfd, SOMAXCONN); if (rc < 0) { perror ("listen"); exit (EXIT_FAILURE); } signal (SIGPIPE, SIG_IGN); while (run) { struct sockaddr from; socklen_t fromlen = sizeof (from); char host[NI_MAXHOST]; int fd; FILE *fh; fd = accept (sockfd, &from, &fromlen); if (fd < 0) { perror ("accept"); continue; } rc = getnameinfo (&from, fromlen, host, sizeof (host), NULL, 0, NI_NUMERICHOST); if (rc == 0) printf ("connection from %s\n", host); else printf ("getnameinfo: %s\n", gai_strerror (rc)); fh = fdopen (fd, "w+"); if (!fh) { perror ("fdopen"); close (fd); continue; } smtp (fh, ctx); fclose (fh); } close (sockfd); gsasl_done (ctx); return 0; }  File: gsasl.info, Node: Acknowledgements, Next: Invoking gsasl, Prev: Examples, Up: Top 14 Acknowledgements ******************* The makefiles, manuals, etc borrowed much from Libgcrypt written by Werner Koch. Cryptographic functions for some SASL mechanisms uses Libgcrypt by Werner Koch et al. The NTLM mechanism uses Libntlm by Grant Edwards et al, using code from Samba written by Andrew Tridgell, and now maintained by Simon Josefsson. The KERBEROS_V5 mechanism uses Shishi by Simon Josefsson. The GSSAPI and GS2-KRB5 mechanism uses a GSS-API implementation, such as GNU GSS by Simon Josefsson. Gnulib is used to simplify portability. This manual borrows text from the SASL specification.  File: gsasl.info, Node: Invoking gsasl, Next: Protocol Clarifications, Prev: Acknowledgements, Up: Top 15 Invoking gsasl ***************** Name **** GNU SASL (gsasl) - Command line interface to libgsasl. Description *********** 'gsasl' is the main program of GNU SASL. This section only lists the commands and options available. Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. Commands ******** 'gsasl' recognizes these commands: -c, --client Act as client (the default). --client-mechanisms Write name of supported client mechanisms separated by space to stdout. -s, --server Act as server. --server-mechanisms Write name of supported server mechanisms separated by space to stdout. Network Options *************** Normally the SASL negotiation is performed on the terminal, with reading from stdin and writing to stdout. It is also possible to perform the negotiation with a server over a TCP network connection. --connect=HOSTNAME[:SERVICE] Connect to TCP server and negotiate on stream instead of stdin/stdout. SERVICE is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the --hostname default. Miscellaneous Options: ********************** These parameters affect overall behaviour. -d, --application-data After authentication, read data from stdin and run it through the mechanism's security layer and print it base64 encoded to stdout. The default is to terminate after authentication. --imap Use a IMAP-like logon procedure (client only). Also sets the --service default to "imap". -m, --mechanism=STRING Mechanism to use. --no-client-first Disallow client to send data first (client only). SASL Mechanism Options ********************** These options modify the behaviour of the callbacks (*note Callback Functions::) in the library. The default is to query the user on the terminal. -n, --anonymous-token=STRING Token for anonymous authentication, usually mail address (ANONYMOUS only). -a, --authentication-id=STRING Identity of credential owner. -z, --authorization-id=STRING Identity to request service for. --disable-cleartext-validate Disable cleartext validate hook, forcing server to prompt for password. --enable-cram-md5-validate Validate CRAM-MD5 challenge and response interactively. --hostname=STRING Set the name of the server with the requested service. -p, --password=STRING Password for authentication (insecure for non-testing purposes). --passcode=NUMBER Passcode for authentication (SECURID only). --quality-of-protection= How application payload will be protected. "qop-auth" means no protection, "qop-int" means integrity protection, "qop-conf" means confidentiality. Currently only used by DIGEST-MD5, where the default is "qop-int". -r, --realm=STRING Realm. Defaults to hostname. --service=STRING Set the requested service name (should be a registered GSSAPI host based service name). --service-name=STRING Set the generic server name in case of a replicated server (DIGEST-MD5 only). -x, --maxbuf=NUMBER Indicate maximum buffer size (DIGEST-MD5 only). STARTTLS options **************** --starttls Force use of STARTTLS. The default is to use STARTTLS when available. (default=off) --no-starttls Unconditionally disable STARTTLS. (default=off) --no-cb Don't set any channel bindings. (default=off) --x509-ca-file=FILE File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done. --x509-cert-file=FILE File containing client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. --x509-key-file=FILE Private key for the client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. --priority Cipher priority string. Other Options ************* These are some standard parameters. -q, --quiet, --silent Don't produce any diagnostic output. -v, --verbose Produce verbose output. -?, --help Give this help list --usage Give a short usage message -V, --version Print program version  File: gsasl.info, Node: Protocol Clarifications, Next: Old Functions, Prev: Invoking gsasl, Up: Top Appendix A Protocol Clarifications ********************************** This appendix contains clarifications to various SASL specification that we felt were necessary to include, if for nothing else it may serve as a guide for other implementers that worry about the same issues. * Menu: * Use of SASLprep in CRAM-MD5:: * Use of SASLprep in LOGIN::  File: gsasl.info, Node: Use of SASLprep in CRAM-MD5, Next: Use of SASLprep in LOGIN, Up: Protocol Clarifications A.1 Use of SASLprep in CRAM-MD5 =============================== The specification, as of 'draft-ietf-sasl-crammd5-04.txt', is silent on whether a SASL server implementation applying SASLprep on a password received from an external, non-SASL specific database (i.e., the passwords are not stored in SASLprep form in the database), should set or clear the AllowUnassigned bit. The motivation for the AU-bit in StringPrep/SASLprep is for stored vs query strings. It could be argued that in this situation the server can treat the external password either as a stored string (from a database) or as a query (the server uses the string as a query into the fixed HMAC-MD5 hash). The specification is also unclear on whether clients should set or clear the AllowUnassigned flag. In the server, GNU SASL applies SASLprep to the password with the AllowUnassigned bit cleared.  File: gsasl.info, Node: Use of SASLprep in LOGIN, Prev: Use of SASLprep in CRAM-MD5, Up: Protocol Clarifications A.2 Use of SASLprep in LOGIN ============================ The non-standard mechanism LOGIN presumably does not support non-ASCII. We suggest that the client should send unprepared UTF-8 and that the server apply SASLprep with the AllowUnassigned bit cleared on the received username and password.  File: gsasl.info, Node: Old Functions, Next: Copying Information, Prev: Protocol Clarifications, Up: Top Appendix B Old Functions ************************ As GNU SASL is still under heavy development, some API functions have been found to be less useful. Those old API functions will be supported during a transition period. Refer to the NEWS file to find out since when a function has been deprecated. gsasl_client_listmech --------------------- -- Function: int gsasl_client_listmech (Gsasl * CTX, char * OUT, size_t * OUTLEN) CTX: libgsasl handle. OUT: output character array. OUTLEN: input maximum size of output character array, on output contains actual length of output array. Write SASL names, separated by space, of mechanisms supported by the libgsasl client to the output array. To find out how large the output array must be, call this function with a NULL 'out' parameter. Return value: Returns 'GSASL_OK' if successful, or error code. *Deprecated:* Use 'gsasl_client_mechlist()' instead. gsasl_server_listmech --------------------- -- Function: int gsasl_server_listmech (Gsasl * CTX, char * OUT, size_t * OUTLEN) CTX: libgsasl handle. OUT: output character array. OUTLEN: input maximum size of output character array, on output contains actual length of output array. Write SASL names, separated by space, of mechanisms supported by the libgsasl server to the output array. To find out how large the output array must be, call this function with a NULL 'out' parameter. Return value: Returns 'GSASL_OK' if successful, or error code. *Deprecated:* Use 'gsasl_server_mechlist()' instead. gsasl_client_step ----------------- -- Function: int gsasl_client_step (Gsasl_session * SCTX, const char * INPUT, size_t INPUT_LEN, char * OUTPUT, size_t * OUTPUT_LEN) SCTX: libgsasl client handle. INPUT: input byte array. INPUT_LEN: size of input byte array. OUTPUT: output byte array. OUTPUT_LEN: size of output byte array. Perform one step of SASL authentication in client. This reads data from server (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to server (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than 'GSASL_NEEDS_MORE' . Return value: Returns 'GSASL_OK' if authenticated terminated successfully, 'GSASL_NEEDS_MORE' if more data is needed, or error code. *Deprecated:* Use 'gsasl_step()' instead. gsasl_server_step ----------------- -- Function: int gsasl_server_step (Gsasl_session * SCTX, const char * INPUT, size_t INPUT_LEN, char * OUTPUT, size_t * OUTPUT_LEN) SCTX: libgsasl server handle. INPUT: input byte array. INPUT_LEN: size of input byte array. OUTPUT: output byte array. OUTPUT_LEN: size of output byte array. Perform one step of SASL authentication in server. This reads data from client (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to client (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than 'GSASL_NEEDS_MORE' . Return value: Returns 'GSASL_OK' if authenticated terminated successfully, 'GSASL_NEEDS_MORE' if more data is needed, or error code. *Deprecated:* Use 'gsasl_step()' instead. gsasl_client_step_base64 ------------------------ -- Function: int gsasl_client_step_base64 (Gsasl_session * SCTX, const char * B64INPUT, char * B64OUTPUT, size_t B64OUTPUT_LEN) SCTX: libgsasl client handle. B64INPUT: input base64 encoded byte array. B64OUTPUT: output base64 encoded byte array. B64OUTPUT_LEN: size of output base64 encoded byte array. This is a simple wrapper around 'gsasl_client_step()' that base64 decodes the input and base64 encodes the output. Return value: See 'gsasl_client_step()' . *Deprecated:* Use 'gsasl_step64()' instead. gsasl_server_step_base64 ------------------------ -- Function: int gsasl_server_step_base64 (Gsasl_session * SCTX, const char * B64INPUT, char * B64OUTPUT, size_t B64OUTPUT_LEN) SCTX: libgsasl server handle. B64INPUT: input base64 encoded byte array. B64OUTPUT: output base64 encoded byte array. B64OUTPUT_LEN: size of output base64 encoded byte array. This is a simple wrapper around 'gsasl_server_step()' that base64 decodes the input and base64 encodes the output. Return value: See 'gsasl_server_step()' . *Deprecated:* Use 'gsasl_step64()' instead. gsasl_client_finish ------------------- -- Function: void gsasl_client_finish (Gsasl_session * SCTX) SCTX: libgsasl client handle. Destroy a libgsasl client handle. The handle must not be used with other libgsasl functions after this call. *Deprecated:* Use 'gsasl_finish()' instead. gsasl_server_finish ------------------- -- Function: void gsasl_server_finish (Gsasl_session * SCTX) SCTX: libgsasl server handle. Destroy a libgsasl server handle. The handle must not be used with other libgsasl functions after this call. *Deprecated:* Use 'gsasl_finish()' instead. gsasl_client_ctx_get -------------------- -- Function: Gsasl * gsasl_client_ctx_get (Gsasl_session * SCTX) SCTX: libgsasl client handle Get the libgsasl handle given a libgsasl client handle. Return value: Returns the libgsasl handle given a libgsasl client handle. *Deprecated:* This function is not useful with the new 0.2.0 API. gsasl_client_application_data_set --------------------------------- -- Function: void gsasl_client_application_data_set (Gsasl_session * SCTX, void * APPLICATION_DATA) SCTX: libgsasl client handle. APPLICATION_DATA: opaque pointer to application specific data. Store application specific data in the libgsasl client handle. The application data can be later (for instance, inside a callback) be retrieved by calling 'gsasl_client_application_data_get()' . It is normally used by the application to maintain state between the main program and the callback. *Deprecated:* Use 'gsasl_callback_hook_set()' or 'gsasl_session_hook_set()' instead. gsasl_client_application_data_get --------------------------------- -- Function: void * gsasl_client_application_data_get (Gsasl_session * SCTX) SCTX: libgsasl client handle. Retrieve application specific data from libgsasl client handle. The application data is set using 'gsasl_client_application_data_set()' . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. *Deprecated:* Use 'gsasl_callback_hook_get()' or 'gsasl_session_hook_get()' instead. gsasl_server_ctx_get -------------------- -- Function: Gsasl * gsasl_server_ctx_get (Gsasl_session * SCTX) SCTX: libgsasl server handle Get the libgsasl handle given a libgsasl server handle. Return value: Returns the libgsasl handle given a libgsasl server handle. *Deprecated:* This function is not useful with the new 0.2.0 API. gsasl_server_application_data_set --------------------------------- -- Function: void gsasl_server_application_data_set (Gsasl_session * SCTX, void * APPLICATION_DATA) SCTX: libgsasl server handle. APPLICATION_DATA: opaque pointer to application specific data. Store application specific data in the libgsasl server handle. The application data can be later (for instance, inside a callback) be retrieved by calling 'gsasl_server_application_data_get()' . It is normally used by the application to maintain state between the main program and the callback. *Deprecated:* Use 'gsasl_callback_hook_set()' or 'gsasl_session_hook_set()' instead. gsasl_server_application_data_get --------------------------------- -- Function: void * gsasl_server_application_data_get (Gsasl_session * SCTX) SCTX: libgsasl server handle. Retrieve application specific data from libgsasl server handle. The application data is set using 'gsasl_server_application_data_set()' . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. *Deprecated:* Use 'gsasl_callback_hook_get()' or 'gsasl_session_hook_get()' instead. gsasl_randomize --------------- -- Function: int gsasl_randomize (int STRONG, char * DATA, size_t DATALEN) STRONG: 0 iff operation should not block, non-0 for very strong randomness. DATA: output array to be filled with random data. DATALEN: size of output array. Store cryptographically random data of given size in the provided buffer. Return value: Returns 'GSASL_OK' iff successful. *Deprecated:* Use 'gsasl_random()' or 'gsasl_nonce()' instead. gsasl_ctx_get ------------- -- Function: Gsasl * gsasl_ctx_get (Gsasl_session * SCTX) SCTX: libgsasl session handle Get the libgsasl handle given a libgsasl session handle. Return value: Returns the libgsasl handle given a libgsasl session handle. *Deprecated:* This function is not useful with the new 0.2.0 API. gsasl_encode_inline ------------------- -- Function: int gsasl_encode_inline (Gsasl_session * SCTX, const char * INPUT, size_t INPUT_LEN, char * OUTPUT, size_t * OUTPUT_LEN) SCTX: libgsasl session handle. INPUT: input byte array. INPUT_LEN: size of input byte array. OUTPUT: output byte array. OUTPUT_LEN: size of output byte array. Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns 'GSASL_OK' if encoding was successful, otherwise an error code. *Deprecated:* Use 'gsasl_encode()' instead. *Since:* 0.2.0 gsasl_decode_inline ------------------- -- Function: int gsasl_decode_inline (Gsasl_session * SCTX, const char * INPUT, size_t INPUT_LEN, char * OUTPUT, size_t * OUTPUT_LEN) SCTX: libgsasl session handle. INPUT: input byte array. INPUT_LEN: size of input byte array. OUTPUT: output byte array. OUTPUT_LEN: size of output byte array. Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns 'GSASL_OK' if encoding was successful, otherwise an error code. *Deprecated:* Use 'gsasl_decode()' instead. *Since:* 0.2.0 gsasl_application_data_set -------------------------- -- Function: void gsasl_application_data_set (Gsasl * CTX, void * APPDATA) CTX: libgsasl handle. APPDATA: opaque pointer to application specific data. Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling 'gsasl_application_data_get()' . It is normally used by the application to maintain state between the main program and the callback. *Deprecated:* Use 'gsasl_callback_hook_set()' instead. gsasl_application_data_get -------------------------- -- Function: void * gsasl_application_data_get (Gsasl * CTX) CTX: libgsasl handle. Retrieve application specific data from libgsasl handle. The application data is set using 'gsasl_application_data_set()' . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. *Deprecated:* Use 'gsasl_callback_hook_get()' instead. gsasl_appinfo_set ----------------- -- Function: void gsasl_appinfo_set (Gsasl_session * SCTX, void * APPDATA) SCTX: libgsasl session handle. APPDATA: opaque pointer to application specific data. Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling 'gsasl_appinfo_get()' . It is normally used by the application to maintain state between the main program and the callback. *Deprecated:* Use 'gsasl_callback_hook_set()' instead. gsasl_appinfo_get ----------------- -- Function: void * gsasl_appinfo_get (Gsasl_session * SCTX) SCTX: libgsasl session handle. Retrieve application specific data from libgsasl session handle. The application data is set using 'gsasl_appinfo_set()' . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. *Deprecated:* Use 'gsasl_callback_hook_get()' instead. gsasl_server_suggest_mechanism ------------------------------ -- Function: const char * gsasl_server_suggest_mechanism (Gsasl * CTX, const char * MECHLIST) CTX: libgsasl handle. MECHLIST: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). Get name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. Return value: Returns name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. *Deprecated:* This function was never useful, since it is the client that chose which mechanism to use. gsasl_client_callback_authentication_id_set ------------------------------------------- -- Function: void gsasl_client_callback_authentication_id_set (Gsasl * CTX, Gsasl_client_callback_authentication_id CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to set the authentication identity. The function can be later retrieved using 'gsasl_client_callback_authentication_id_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_authentication_id_get ------------------------------------------- -- Function: Gsasl_client_callback_authentication_id gsasl_client_callback_authentication_id_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_authentication_id_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_authentication_id_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_authorization_id_set ------------------------------------------ -- Function: void gsasl_client_callback_authorization_id_set (Gsasl * CTX, Gsasl_client_callback_authorization_id CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to set the authorization identity. The function can be later retrieved using 'gsasl_client_callback_authorization_id_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_authorization_id_get ------------------------------------------ -- Function: Gsasl_client_callback_authorization_id gsasl_client_callback_authorization_id_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_authorization_id_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_authorization_id_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_password_set ---------------------------------- -- Function: void gsasl_client_callback_password_set (Gsasl * CTX, Gsasl_client_callback_password CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to set the password. The function can be later retrieved using 'gsasl_client_callback_password_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_password_get ---------------------------------- -- Function: Gsasl_client_callback_password gsasl_client_callback_password_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_password_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_password_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_passcode_set ---------------------------------- -- Function: void gsasl_client_callback_passcode_set (Gsasl * CTX, Gsasl_client_callback_passcode CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to set the passcode. The function can be later retrieved using 'gsasl_client_callback_passcode_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_passcode_get ---------------------------------- -- Function: Gsasl_client_callback_passcode gsasl_client_callback_passcode_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_passcode_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_passcode_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_pin_set ----------------------------- -- Function: void gsasl_client_callback_pin_set (Gsasl * CTX, Gsasl_client_callback_pin CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to chose a new pin, possibly suggested by the server, for the SECURID mechanism. This is not normally invoked, but only when the server requests it. The function can be later retrieved using 'gsasl_client_callback_pin_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_pin_get ----------------------------- -- Function: Gsasl_client_callback_pin gsasl_client_callback_pin_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_pin_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_pin_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_service_set --------------------------------- -- Function: void gsasl_client_callback_service_set (Gsasl * CTX, Gsasl_client_callback_service CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. Servicename is used by DIGEST-MD5 and should be the name of generic server in case of a replicated service. The function can be later retrieved using 'gsasl_client_callback_service_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_service_get --------------------------------- -- Function: Gsasl_client_callback_service gsasl_client_callback_service_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_service_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_service_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_anonymous_set ----------------------------------- -- Function: void gsasl_client_callback_anonymous_set (Gsasl * CTX, Gsasl_client_callback_anonymous CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to set the anonymous token, which usually is the users email address. The function can be later retrieved using 'gsasl_client_callback_anonymous_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_anonymous_get ----------------------------------- -- Function: Gsasl_client_callback_anonymous gsasl_client_callback_anonymous_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_anonymous_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_anonymous_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_qop_set ----------------------------- -- Function: void gsasl_client_callback_qop_set (Gsasl * CTX, Gsasl_client_callback_qop CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to determine the qop to use after looking at what the server offered. The function can be later retrieved using 'gsasl_client_callback_qop_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_qop_get ----------------------------- -- Function: Gsasl_client_callback_qop gsasl_client_callback_qop_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_qop_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_qop_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_maxbuf_set -------------------------------- -- Function: void gsasl_client_callback_maxbuf_set (Gsasl * CTX, Gsasl_client_callback_maxbuf CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to inform the server of the largest buffer the client is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using 'gsasl_client_callback_maxbuf_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_maxbuf_get -------------------------------- -- Function: Gsasl_client_callback_maxbuf gsasl_client_callback_maxbuf_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_maxbuf_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_maxbuf_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_realm_set ------------------------------- -- Function: void gsasl_client_callback_realm_set (Gsasl * CTX, Gsasl_client_callback_realm CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the client to know which realm it belongs to. The realm is used by the server to determine which username and password to use. The function can be later retrieved using 'gsasl_client_callback_realm_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_client_callback_realm_get ------------------------------- -- Function: Gsasl_client_callback_realm gsasl_client_callback_realm_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_client_callback_realm_set()' . Return value: Returns the callback earlier set by calling 'gsasl_client_callback_realm_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_validate_set ---------------------------------- -- Function: void gsasl_server_callback_validate_set (Gsasl * CTX, Gsasl_server_callback_validate CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using 'gsasl_server_callback_validate_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_validate_get ---------------------------------- -- Function: Gsasl_server_callback_validate gsasl_server_callback_validate_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_validate_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_validate_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_retrieve_set ---------------------------------- -- Function: void gsasl_server_callback_retrieve_set (Gsasl * CTX, Gsasl_server_callback_retrieve CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using 'gsasl_server_callback_retrieve_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_retrieve_get ---------------------------------- -- Function: Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_retrieve_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_retrieve_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_cram_md5_set ---------------------------------- -- Function: void gsasl_server_callback_cram_md5_set (Gsasl * CTX, Gsasl_server_callback_cram_md5 CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for deciding if user is authenticated using CRAM-MD5 challenge and response. The function can be later retrieved using 'gsasl_server_callback_cram_md5_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_cram_md5_get ---------------------------------- -- Function: Gsasl_server_callback_cram_md5 gsasl_server_callback_cram_md5_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_cram_md5_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_cram_md5_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_digest_md5_set ------------------------------------ -- Function: void gsasl_server_callback_digest_md5_set (Gsasl * CTX, Gsasl_server_callback_digest_md5 CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for retrieving the secret hash of the username, realm and password for use in the DIGEST-MD5 mechanism. The function can be later retrieved using 'gsasl_server_callback_digest_md5_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_digest_md5_get ------------------------------------ -- Function: Gsasl_server_callback_digest_md5 gsasl_server_callback_digest_md5_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_digest_md5_set()' . Return value: Return the callback earlier set by calling 'gsasl_server_callback_digest_md5_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_external_set ---------------------------------- -- Function: void gsasl_server_callback_external_set (Gsasl * CTX, Gsasl_server_callback_external CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for deciding if user is authenticated out of band. The function can be later retrieved using 'gsasl_server_callback_external_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_external_get ---------------------------------- -- Function: Gsasl_server_callback_external gsasl_server_callback_external_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_external_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_external_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_anonymous_set ----------------------------------- -- Function: void gsasl_server_callback_anonymous_set (Gsasl * CTX, Gsasl_server_callback_anonymous CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for deciding if user is permitted anonymous access. The function can be later retrieved using 'gsasl_server_callback_anonymous_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_anonymous_get ----------------------------------- -- Function: Gsasl_server_callback_anonymous gsasl_server_callback_anonymous_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_anonymous_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_anonymous_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_realm_set ------------------------------- -- Function: void gsasl_server_callback_realm_set (Gsasl * CTX, Gsasl_server_callback_realm CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server to know which realm it serves. The realm is used by the user to determine which username and password to use. The function can be later retrieved using 'gsasl_server_callback_realm_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_realm_get ------------------------------- -- Function: Gsasl_server_callback_realm gsasl_server_callback_realm_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_realm_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_realm_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_qop_set ----------------------------- -- Function: void gsasl_server_callback_qop_set (Gsasl * CTX, Gsasl_server_callback_qop CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server to know which quality of protection it accepts. The quality of protection eventually used is selected by the client though. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using 'gsasl_server_callback_qop_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_qop_get ----------------------------- -- Function: Gsasl_server_callback_qop gsasl_server_callback_qop_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_qop_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_qop_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_maxbuf_set -------------------------------- -- Function: void gsasl_server_callback_maxbuf_set (Gsasl * CTX, Gsasl_server_callback_maxbuf CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server to inform the client of the largest buffer the server is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using 'gsasl_server_callback_maxbuf_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_maxbuf_get -------------------------------- -- Function: Gsasl_server_callback_maxbuf gsasl_server_callback_maxbuf_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_maxbuf_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_maxbuf_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_cipher_set -------------------------------- -- Function: void gsasl_server_callback_cipher_set (Gsasl * CTX, Gsasl_server_callback_cipher CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server to inform the client of the cipher suites supported. The DES and 3DES ciphers must be supported for interoperability. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using 'gsasl_server_callback_cipher_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_cipher_get -------------------------------- -- Function: Gsasl_server_callback_cipher gsasl_server_callback_cipher_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_cipher_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_cipher_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_securid_set --------------------------------- -- Function: void gsasl_server_callback_securid_set (Gsasl * CTX, Gsasl_server_callback_securid CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for validating a user via the SECURID mechanism. The function should return GSASL_OK if user authenticated successfully, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE if it wants another passcode, GSASL_SECURID_SERVER_NEED_NEW_PIN if it wants a PIN change, or an error. When (and only when) GSASL_SECURID_SERVER_NEED_NEW_PIN is returned, suggestpin can be populated with a PIN code the server suggests, and suggestpinlen set to the length of the PIN. The function can be later retrieved using 'gsasl_server_callback_securid_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_securid_get --------------------------------- -- Function: Gsasl_server_callback_securid gsasl_server_callback_securid_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_securid_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_securid_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_gssapi_set -------------------------------- -- Function: void gsasl_server_callback_gssapi_set (Gsasl * CTX, Gsasl_server_callback_gssapi CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server for checking if a GSSAPI user is authorized for username (by, e.g., calling krb5_kuserok). The function should return GSASL_OK if the user should be permitted access, or an error code such as GSASL_AUTHENTICATION_ERROR on failure. The function can be later retrieved using 'gsasl_server_callback_gssapi_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_gssapi_get -------------------------------- -- Function: Gsasl_server_callback_gssapi gsasl_server_callback_gssapi_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_gssapi_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_gssapi_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_service_set --------------------------------- -- Function: void gsasl_server_callback_service_set (Gsasl * CTX, Gsasl_server_callback_service CB) CTX: libgsasl handle. CB: callback function Specify the callback function to use in the server to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. The function can be later retrieved using 'gsasl_server_callback_service_get()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_server_callback_service_get --------------------------------- -- Function: Gsasl_server_callback_service gsasl_server_callback_service_get (Gsasl * CTX) CTX: libgsasl handle. Get the callback earlier set by calling 'gsasl_server_callback_service_set()' . Return value: Returns the callback earlier set by calling 'gsasl_server_callback_service_set()' . *Deprecated:* This function is part of the old callback interface. The new interface uses 'gsasl_callback_set()' to set the application callback, and uses 'gsasl_callback()' or 'gsasl_property_get()' to invoke the callback for certain properties. gsasl_stringprep_nfkc --------------------- -- Function: char * gsasl_stringprep_nfkc (const char * IN, ssize_t LEN) IN: a UTF-8 encoded string. LEN: length of 'str' , in bytes, or -1 if 'str' is nul-terminated. Converts a string into canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. The normalization mode is NFKC (ALL COMPOSE). It standardizes differences that do not affect the text content, such as the above-mentioned accent representation. It standardizes the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same. It returns a result with composed forms rather than a maximally decomposed form. Return value: Return a newly allocated string, that is the NFKC normalized form of 'str' , or NULL on error. *Deprecated:* No replacement functionality in GNU SASL, use GNU Libidn instead. Note that in SASL, you most likely want to use SASLprep and not bare NFKC, see 'gsasl_saslprep()' . gsasl_stringprep_saslprep ------------------------- -- Function: char * gsasl_stringprep_saslprep (const char * IN, int * STRINGPREP_RC) IN: input ASCII or UTF-8 string with data to prepare according to SASLprep. STRINGPREP_RC: pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. Process a Unicode string for comparison, according to the "SASLprep" stringprep profile. This function is intended to be used by Simple Authentication and Security Layer (SASL) mechanisms (such as PLAIN, CRAM-MD5, and DIGEST-MD5) as well as other protocols exchanging user names and/or passwords. Return value: Return a newly allocated string that is the "SASLprep" processed form of the input string, or NULL on error, in which case 'stringprep_rc' contain the stringprep library error code. *Deprecated:* Use 'gsasl_saslprep()' instead. gsasl_stringprep_trace ---------------------- -- Function: char * gsasl_stringprep_trace (const char * IN, int * STRINGPREP_RC) IN: input ASCII or UTF-8 string with data to prepare according to "trace". STRINGPREP_RC: pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. Process a Unicode string for use as trace information, according to the "trace" stringprep profile. The profile is designed for use with the SASL ANONYMOUS Mechanism. Return value: Return a newly allocated string that is the "trace" processed form of the input string, or NULL on error, in which case 'stringprep_rc' contain the stringprep library error code. *Deprecated:* No replacement functionality in GNU SASL, use GNU Libidn instead. gsasl_md5pwd_get_password ------------------------- -- Function: int gsasl_md5pwd_get_password (const char * FILENAME, const char * USERNAME, char * KEY, size_t * KEYLEN) FILENAME: filename of file containing passwords. USERNAME: username string. KEY: output character array. KEYLEN: input maximum size of output character array, on output contains actual length of output array. Retrieve password for user from specified file. To find out how large the output array must be, call this function with out=NULL. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code. *Deprecated:* Use 'gsasl_simple_getpass()' instead. gsasl_base64_encode ------------------- -- Function: int gsasl_base64_encode (char const * SRC, size_t SRCLENGTH, char * TARGET, size_t TARGSIZE) SRC: input byte array SRCLENGTH: size of input byte array TARGET: output byte array TARGSIZE: size of output byte array Encode data as base64. Converts characters, three at a time, starting at src into four base64 characters in the target area until the entire input buffer is encoded. Return value: Returns the number of data bytes stored at the target, or -1 on error. *Deprecated:* Use 'gsasl_base64_to()' instead. gsasl_base64_decode ------------------- -- Function: int gsasl_base64_decode (char const * SRC, char * TARGET, size_t TARGSIZE) SRC: input byte array TARGET: output byte array TARGSIZE: size of output byte array Decode Base64 data. Skips all whitespace anywhere. Converts characters, four at a time, starting at (or after) src from Base64 numbers into three 8 bit bytes in the target area. Return value: Returns the number of data bytes stored at the target, or -1 on error. *Deprecated:* Use 'gsasl_base64_from()' instead. B.1 Obsolete callback function prototypes ========================================= -- Prototype: int (*Gsasl_client_callback_anonymous) (Gsasl_session_ctx * CTX, char * OUT, size_t * OUTLEN) CTX: libgsasl handle. OUT: output array with client token. OUTLEN: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with some input from the user and set the output array length, and return 'GSASL_OK', or fail with an error code. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_server_callback_anonymous) (Gsasl_session_ctx * CTX, const char * TOKEN) CTX: libgsasl handle. CTX: output array with client token. CTX: on input the maximum size of the output array, on output contains the actual size of the output array. If OUT is Type of callback function the application implements. It should return 'GSASL_OK' if user should be permitted anonymous access, otherwise 'GSASL_AUTHENTICATION_ERROR'. -- Prototype: int (*Gsasl_client_callback_authentication_id) (Gsasl_session_ctx * CTX, char * OUT, size_t * OUTLEN) CTX: libgsasl handle. OUT: output array with authentication identity. OUTLEN: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with authentiction identity of user and set the output array length, and return 'GSASL_OK', or fail with an error code. The authentication identity must be encoded in UTF-8, but need not be normalized in any way. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_client_callback_authorization_id) (Gsasl_session_ctx * CTX, char * OUT, size_t * OUTLEN) CTX: libgsasl handle. OUT: output array with authorization identity. OUTLEN: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with authorization identity of user and set the output array length, and return 'GSASL_OK', or fail with an error code. The authorization identity must be encoded in UTF-8, but need not be normalized in any way. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_client_callback_service) (Gsasl_session_ctx * CTX, char * SERVICE, size_t * SERVICELEN, char * HOSTNAME, size_t * HOSTNAMELEN, char * SERVICENAME, size_t * SERVICENAMELEN) CTX: libgsasl handle. SERVICE: output array with name of service. SERVICELEN: on input the maximum size of the service output array, on output contains the actual size of the service output array. HOSTNAME: output array with hostname of server. HOSTNAMELEN: on input the maximum size of the hostname output array, on output contains the actual size of the hostname output array. SERVICENAME: output array with generic name of server in case of replication (DIGEST-MD5 only). SERVICENAMELEN: on input the maximum size of the servicename output array, on output contains the actual size of the servicename output array. Type of callback function the application implements. It should retrieve the service (which should be a registered GSSAPI host based service name, such as "imap") on the server, hostname of server (usually canoncial DNS hostname) and optionally generic service name of server in case of replication (e.g. "mail.example.org" when the hostname is "mx42.example.org", see the RFC 2831 for more information). It should return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails. If SERVICE, HOSTNAME or SERVICENAME is NULL, the function should only populate SERVICELEN, HOSTNAMELEN or SERVICENAMELEN with the output length of the respective field, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. Furthermore, SERVICENAMELEN may also be NULL, indicating that the mechanism is not interested in this field. -- Prototype: int (*Gsasl_server_callback_cram_md5) (Gsasl_session_ctx * CTX, char * USERNAME, char * CHALLENGE, char * RESPONSE) CTX: libgsasl handle. USERNAME: input array with username. CHALLENGE: input array with CRAM-MD5 challenge. RESPONSE: input array with CRAM-MD5 response. Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used. -- Prototype: int (*Gsasl_server_callback_digest_md5) (Gsasl_session_ctx * CTX, char * USERNAME, char * REALM, char * SECRETHASH) CTX: libgsasl handle. USERNAME: input array with authentication identity of user. REALM: input array with realm of user. SECRETHASH: output array that should contain hash of username, realm and password as described for the DIGEST-MD5 mechanism. Type of callback function the application implements. It should retrieve the secret hash for the given user in given realm and return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails. The secrethash buffer is guaranteed to have size for the fixed length MD5 hash. -- Prototype: int (*Gsasl_server_callback_external) (Gsasl_session_ctx * CTX) CTX: libgsasl handle. Type of callback function the application implements. It should return 'GSASL_OK' if user is authenticated by out of band means, otherwise 'GSASL_AUTHENTICATION_ERROR'. -- Prototype: int (*Gsasl_server_callback_gssapi) (Gsasl_session_ctx * CTX, char * CLIENTNAME, char * AUTHENTICATION_ID) CTX: libgsasl handle. CLIENTNAME: input array with GSSAPI client name. AUTHENTICATION_ID: input array with authentication identity. Type of callback function the application implements. It should return GSASL_OK if and only if the GSSAPI user is authorized to log on as the given authentication_id. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used. This callback is usually implemented in the application as a call to krb5_kuserok(), such as: int callback_gssapi (Gsasl_session_ctx *ctx, char *clientname, char *authentication_id) { int rc = GSASL_AUTHENTICATION_ERROR; krb5_principal p; krb5_context kcontext; krb5_init_context (&kcontext); if (krb5_parse_name (kcontext, clientname, &p) != 0) return -1; if (krb5_kuserok (kcontext, p, authentication_id)) rc = GSASL_OK; krb5_free_principal (kcontext, p); return rc; } -- Prototype: int (*Gsasl_client_callback_passcode) (Gsasl_session_ctx * CTX, char * OUT, size_t * OUTLEN) CTX: libgsasl handle. OUT: output array with passcode. OUTLEN: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with passcode of user and set the output array length, and return 'GSASL_OK', or fail with an error code. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_client_callback_password) (Gsasl_session_ctx * CTX, char * OUT, size_t * OUTLEN) CTX: libgsasl handle. OUT: output array with password. OUTLEN: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with password of user and set the output array length, and return 'GSASL_OK', or fail with an error code. The password must be encoded in UTF-8, but need not be normalized in any way. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_server_callback_retrieve) (Gsasl_session_ctx * CTX, char * AUTHENTICATION_ID, char * AUTHORIZATION_ID, char * REALM, char * KEY, size_t * KEYLEN) CTX: libgsasl handle. AUTHENTICATION_ID: input array with authentication identity. AUTHORIZATION_ID: input array with authorization identity, or NULL. REALM: input array with realm of user, or NULL. KEY: output array with key for authentication identity. KEYLEN: on input the maximum size of the key output array, on output contains the actual size of the key output array. Type of callback function the application implements. It should retrieve the password for the indicated user and return GSASL_OK, or an error code such as GSASL_AUTHENTICATION_ERROR. The key must be encoded in UTF-8, but need not be normalized in any way. If KEY is NULL, the function should only populate the KEYLEN output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_server_callback_validate) (Gsasl_session_ctx * CTX, char * AUTHENTICATION_ID, char * AUTHORIZATION_ID, char * PASSCODE, char * PIN, char * SUGGESTPIN, size_t * SUGGESTPINLEN) CTX: libgsasl handle. AUTHORIZATION_ID: input array with authorization identity. AUTHENTICATION_ID: input array with authentication identity. PASSCODE: input array with passcode. PIN: input array with new pin (this may be NULL). SUGGESTPIN: output array with new suggested PIN. SUGGESTPINLEN: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used. Two SECURID specific error codes also exists. The function can return GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE to request that the client generate a new passcode. It can also return GSASL_SECURID_SERVER_NEED_NEW_PIN to request that the client generate a new PIN. If the server wishes to suggest a new PIN it can populate the SUGGESTPIN field. If SUGGESTPIN is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_server_callback_service) (Gsasl_session_ctx * CTX, char * SERVICE, size_t * SERVICELEN, char * HOSTNAME, size_t * HOSTNAMELEN) CTX: libgsasl handle. SERVICE: output array with name of service. SERVICELEN: on input the maximum size of the service output array, on output contains the actual size of the service output array. HOSTNAME: output array with hostname of server. HOSTNAMELEN: on input the maximum size of the hostname output array, on output contains the actual size of the hostname output array. Type of callback function the application implements. It should retrieve the service (which should be a registered GSSAPI host based service name, such as "imap") the server provides and hostname of server (usually canoncial DNS hostname). It should return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails. If SERVICE or HOSTNAME is NULL, the function should only populate SERVICELEN or HOSTNAMELEN with the output length of the respective field, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. -- Prototype: int (*Gsasl_server_callback_validate) (Gsasl_session_ctx * CTX, char * AUTHORIZATION_ID, char * AUTHENTICATION_ID, char * PASSWORD) CTX: libgsasl handle. AUTHORIZATION_ID: input array with authorization identity. AUTHENTICATION_ID: input array with authentication identity. PASSWORD: input array with password. Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used.  File: gsasl.info, Node: Copying Information, Next: Function and Data Index, Prev: Old Functions, Up: Top Appendix C Copying Information ****************************** * Menu: * GNU Free Documentation License:: License for copying this manual.  File: gsasl.info, Node: GNU Free Documentation License, Up: Copying Information C.1 GNU Free Documentation License ================================== Version 1.3, 3 November 2008 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 0. PREAMBLE The purpose of this License is to make a manual, textbook, or other functional and useful document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. This License is a kind of "copyleft", which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. 1. APPLICABILITY AND DEFINITIONS This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The "Document", below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as "you". You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law. A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. A "Secondary Section" is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. The "Invariant Sections" are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none. The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words. A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not "Transparent" is called "Opaque". Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only. The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, "Title Page" means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. The "publisher" means any person or entity that distributes copies of the Document to the public. A section "Entitled XYZ" means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as "Acknowledgements", "Dedications", "Endorsements", or "History".) To "Preserve the Title" of such a section when you modify the Document means that it remains a section "Entitled XYZ" according to this definition. The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License. 2. VERBATIM COPYING You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. You may also lend copies, under the same conditions stated above, and you may publicly display copies. 3. COPYING IN QUANTITY If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. 4. MODIFICATIONS You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: A. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. B. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement. C. State on the Title page the name of the publisher of the Modified Version, as the publisher. D. Preserve all the copyright notices of the Document. E. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. F. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. G. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice. H. Include an unaltered copy of this License. I. Preserve the section Entitled "History", Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled "History" in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. J. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the "History" section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. K. For any section Entitled "Acknowledgements" or "Dedications", Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. L. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. M. Delete any section Entitled "Endorsements". Such a section may not be included in the Modified Version. N. Do not retitle any existing section to be Entitled "Endorsements" or to conflict in title with any Invariant Section. O. Preserve any Warranty Disclaimers. If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. You may add a section Entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various parties--for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. 5. COMBINING DOCUMENTS You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. In the combination, you must combine any sections Entitled "History" in the various original documents, forming one section Entitled "History"; likewise combine any sections Entitled "Acknowledgements", and any sections Entitled "Dedications". You must delete all sections Entitled "Endorsements." 6. COLLECTIONS OF DOCUMENTS You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. 7. AGGREGATION WITH INDEPENDENT WORKS A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an "aggregate" if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document. If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document's Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate. 8. TRANSLATION Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail. If a section in the Document is Entitled "Acknowledgements", "Dedications", or "History", the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title. 9. TERMINATION You may not copy, modify, sublicense, or distribute the Document except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, or distribute it is void, and will automatically terminate your rights under this License. However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, receipt of a copy of some or all of the same material does not give you any rights to use it. 10. FUTURE REVISIONS OF THIS LICENSE The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See . Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. If the Document specifies that a proxy can decide which future versions of this License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Document. 11. RELICENSING "Massive Multiauthor Collaboration Site" (or "MMC Site") means any World Wide Web server that publishes copyrightable works and also provides prominent facilities for anybody to edit those works. A public wiki that anybody can edit is an example of such a server. A "Massive Multiauthor Collaboration" (or "MMC") contained in the site means any set of copyrightable works thus published on the MMC site. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 license published by Creative Commons Corporation, a not-for-profit corporation with a principal place of business in San Francisco, California, as well as future copyleft versions of that license published by that same organization. "Incorporate" means to publish or republish a Document, in whole or in part, as part of another Document. An MMC is "eligible for relicensing" if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008. The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing. ADDENDUM: How to use this License for your documents ==================================================== To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page: Copyright (C) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the "with...Texts." line with this: with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation. If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software.  File: gsasl.info, Node: Function and Data Index, Next: Concept Index, Prev: Copying Information, Up: Top Function and Data Index *********************** [index] * Menu: * (*Gsasl_client_callback_anonymous): Old Functions. (line 1495) * (*Gsasl_client_callback_authentication_id): Old Functions. (line 1528) * (*Gsasl_client_callback_authorization_id): Old Functions. (line 1548) * (*Gsasl_client_callback_passcode): Old Functions. (line 1691) * (*Gsasl_client_callback_password): Old Functions. (line 1709) * (*Gsasl_client_callback_service): Old Functions. (line 1568) * (*Gsasl_server_callback_anonymous): Old Functions. (line 1514) * (*Gsasl_server_callback_cram_md5): Old Functions. (line 1609) * (*Gsasl_server_callback_digest_md5): Old Functions. (line 1626) * (*Gsasl_server_callback_external): Old Functions. (line 1645) * (*Gsasl_server_callback_gssapi): Old Functions. (line 1654) * (*Gsasl_server_callback_retrieve): Old Functions. (line 1729) * (*Gsasl_server_callback_service): Old Functions. (line 1792) * (*Gsasl_server_callback_validate): Old Functions. (line 1755) * (*Gsasl_server_callback_validate) <1>: Old Functions. (line 1821) * gsasl: Invoking gsasl. (line 6) * gsasl_appinfo_get: Old Functions. (line 405) * gsasl_appinfo_set: Old Functions. (line 388) * gsasl_application_data_get: Old Functions. (line 373) * gsasl_application_data_set: Old Functions. (line 356) * gsasl_base64_decode: Old Functions. (line 1475) * gsasl_base64_encode: Old Functions. (line 1453) * gsasl_base64_from: Utilities. (line 54) * gsasl_base64_to: Utilities. (line 31) * gsasl_callback: Callback Functions. (line 45) * gsasl_callback_hook_get: Callback Functions. (line 92) * gsasl_callback_hook_set: Callback Functions. (line 75) * gsasl_callback_set: Callback Functions. (line 23) * gsasl_check_version: Version Check. (line 15) * gsasl_client_application_data_get: Old Functions. (line 207) * gsasl_client_application_data_set: Old Functions. (line 189) * gsasl_client_callback_anonymous_get: Old Functions. (line 692) * gsasl_client_callback_anonymous_set: Old Functions. (line 672) * gsasl_client_callback_authentication_id_get: Old Functions. (line 458) * gsasl_client_callback_authentication_id_set: Old Functions. (line 439) * gsasl_client_callback_authorization_id_get: Old Functions. (line 496) * gsasl_client_callback_authorization_id_set: Old Functions. (line 477) * gsasl_client_callback_maxbuf_get: Old Functions. (line 771) * gsasl_client_callback_maxbuf_set: Old Functions. (line 749) * gsasl_client_callback_passcode_get: Old Functions. (line 572) * gsasl_client_callback_passcode_set: Old Functions. (line 553) * gsasl_client_callback_password_get: Old Functions. (line 534) * gsasl_client_callback_password_set: Old Functions. (line 515) * gsasl_client_callback_pin_get: Old Functions. (line 612) * gsasl_client_callback_pin_set: Old Functions. (line 591) * gsasl_client_callback_qop_get: Old Functions. (line 730) * gsasl_client_callback_qop_set: Old Functions. (line 711) * gsasl_client_callback_realm_get: Old Functions. (line 810) * gsasl_client_callback_realm_set: Old Functions. (line 790) * gsasl_client_callback_service_get: Old Functions. (line 653) * gsasl_client_callback_service_set: Old Functions. (line 631) * gsasl_client_ctx_get: Old Functions. (line 176) * gsasl_client_finish: Old Functions. (line 154) * gsasl_client_listmech: Old Functions. (line 14) * gsasl_client_mechlist: Global Functions. (line 32) * gsasl_client_start: Session Functions. (line 9) * gsasl_client_step: Old Functions. (line 56) * gsasl_client_step_base64: Old Functions. (line 114) * gsasl_client_suggest_mechanism: Global Functions. (line 92) * gsasl_client_support_p: Global Functions. (line 62) * gsasl_ctx_get: Old Functions. (line 293) * gsasl_decode: Session Functions. (line 135) * gsasl_decode_inline: Old Functions. (line 331) * gsasl_done: Global Functions. (line 23) * gsasl_encode: Session Functions. (line 110) * gsasl_encode_inline: Old Functions. (line 306) * gsasl_finish: Session Functions. (line 101) * gsasl_free: Memory Handling. (line 9) * gsasl_hmac_md5: Utilities. (line 143) * gsasl_hmac_sha1: Utilities. (line 182) * gsasl_init: Global Functions. (line 9) * gsasl_md5: Utilities. (line 127) * gsasl_md5pwd_get_password: Old Functions. (line 1423) * gsasl_mechanism_name: Session Functions. (line 160) * gsasl_nonce: Utilities. (line 102) * gsasl_property_fast: Property Functions. (line 55) * gsasl_property_get: Property Functions. (line 78) * gsasl_property_set: Property Functions. (line 9) * gsasl_property_set_raw: Property Functions. (line 29) * gsasl_random: Utilities. (line 114) * gsasl_randomize: Old Functions. (line 274) * gsasl_register: Global Functions. (line 108) * gsasl_saslprep: Utilities. (line 9) * gsasl_server_application_data_get: Old Functions. (line 256) * gsasl_server_application_data_set: Old Functions. (line 238) * gsasl_server_callback_anonymous_get: Old Functions. (line 1042) * gsasl_server_callback_anonymous_set: Old Functions. (line 1023) * gsasl_server_callback_cipher_get: Old Functions. (line 1202) * gsasl_server_callback_cipher_set: Old Functions. (line 1181) * gsasl_server_callback_cram_md5_get: Old Functions. (line 927) * gsasl_server_callback_cram_md5_set: Old Functions. (line 907) * gsasl_server_callback_digest_md5_get: Old Functions. (line 966) * gsasl_server_callback_digest_md5_set: Old Functions. (line 946) * gsasl_server_callback_external_get: Old Functions. (line 1004) * gsasl_server_callback_external_set: Old Functions. (line 985) * gsasl_server_callback_gssapi_get: Old Functions. (line 1288) * gsasl_server_callback_gssapi_set: Old Functions. (line 1266) * gsasl_server_callback_maxbuf_get: Old Functions. (line 1162) * gsasl_server_callback_maxbuf_set: Old Functions. (line 1140) * gsasl_server_callback_qop_get: Old Functions. (line 1121) * gsasl_server_callback_qop_set: Old Functions. (line 1100) * gsasl_server_callback_realm_get: Old Functions. (line 1081) * gsasl_server_callback_realm_set: Old Functions. (line 1061) * gsasl_server_callback_retrieve_get: Old Functions. (line 888) * gsasl_server_callback_retrieve_set: Old Functions. (line 868) * gsasl_server_callback_securid_get: Old Functions. (line 1247) * gsasl_server_callback_securid_set: Old Functions. (line 1221) * gsasl_server_callback_service_get: Old Functions. (line 1328) * gsasl_server_callback_service_set: Old Functions. (line 1307) * gsasl_server_callback_validate_get: Old Functions. (line 849) * gsasl_server_callback_validate_set: Old Functions. (line 829) * gsasl_server_ctx_get: Old Functions. (line 225) * gsasl_server_finish: Old Functions. (line 165) * gsasl_server_listmech: Old Functions. (line 35) * gsasl_server_mechlist: Global Functions. (line 47) * gsasl_server_start: Session Functions. (line 26) * gsasl_server_step: Old Functions. (line 85) * gsasl_server_step_base64: Old Functions. (line 134) * gsasl_server_suggest_mechanism: Old Functions. (line 420) * gsasl_server_support_p: Global Functions. (line 77) * gsasl_session_hook_get: Callback Functions. (line 126) * gsasl_session_hook_set: Callback Functions. (line 108) * gsasl_sha1: Utilities. (line 164) * gsasl_simple_getpass: Utilities. (line 76) * gsasl_step: Session Functions. (line 43) * gsasl_step64: Session Functions. (line 76) * gsasl_strerror: Error strings. (line 9) * gsasl_strerror_name: Error strings. (line 26) * gsasl_stringprep_nfkc: Old Functions. (line 1347) * gsasl_stringprep_saslprep: Old Functions. (line 1377) * gsasl_stringprep_trace: Old Functions. (line 1401)  File: gsasl.info, Node: Concept Index, Prev: Function and Data Index, Up: Top Concept Index ************* [index] * Menu: * AIX: Supported Platforms. (line 64) * Autoconf tests: Autoconf tests. (line 6) * Callbacks: Callback Functions. (line 6) * channel binding: Properties. (line 151) * channel binding <1>: SCRAM-SHA-1. (line 37) * command line: Invoking gsasl. (line 6) * Compiling your application: Building the source. (line 6) * Configure tests: Autoconf tests. (line 6) * Contributing: Contributing. (line 6) * CRAM-MD5: CRAM-MD5. (line 6) * Debian: Supported Platforms. (line 10) * Debian <1>: Supported Platforms. (line 21) * Deprecated functions: Old Functions. (line 6) * DIGEST-MD5: DIGEST-MD5. (line 6) * Download: Downloading and Installing. (line 6) * Error Handling: Error Handling. (line 6) * Examples: Examples. (line 6) * FDL, GNU Free Documentation License: GNU Free Documentation License. (line 6) * FreeBSD: Supported Platforms. (line 96) * GS2: GS2-KRB5. (line 6) * GS2-KRB5: GS2-KRB5. (line 6) * GS2-KRB5-PLUS: GS2-KRB5. (line 26) * GSSAPI: GSSAPI. (line 6) * Hacking: Contributing. (line 6) * HP-UX: Supported Platforms. (line 72) * Identity Provider Identifier: Properties. (line 158) * Installation: Downloading and Installing. (line 6) * invoking gsasl: Invoking gsasl. (line 6) * IRIX: Supported Platforms. (line 60) * iteration count: Properties. (line 141) * KERBEROS_V5: KERBEROS_V5. (line 6) * Library Overview: Using the Library. (line 6) * Mandrake: Supported Platforms. (line 56) * Motorola Coldfire: Supported Platforms. (line 101) * NetBSD: Supported Platforms. (line 86) * NTLM: NTLM. (line 6) * Obsolete functions: Old Functions. (line 6) * OpenBSD: Supported Platforms. (line 91) * OpenID: OPENID20. (line 6) * Overview: Using the Library. (line 6) * Properties: Property Functions. (line 6) * RedHat: Supported Platforms. (line 39) * RedHat <1>: Supported Platforms. (line 44) * RedHat <2>: Supported Platforms. (line 52) * RedHat Advanced Server: Supported Platforms. (line 48) * Reporting Bugs: Bug Reports. (line 6) * salt: Properties. (line 141) * SAML: SAML20. (line 6) * SAML IdP Identifier: Properties. (line 158) * SASL sessions: Session Functions. (line 6) * SCRAM: SCRAM-SHA-1. (line 6) * SECURID: SECURID. (line 6) * Solaris: Supported Platforms. (line 77) * Solaris <1>: Supported Platforms. (line 81) * SuSE: Supported Platforms. (line 30) * SuSE Linux: Supported Platforms. (line 35) * tls-unique: Properties. (line 151) * Tru64: Supported Platforms. (line 25) * uClibc: Supported Platforms. (line 101) * uClinux: Supported Platforms. (line 101) * Windows: Supported Platforms. (line 68)  Tag Table: Node: Top877 Node: Introduction2903 Node: SASL Overview3804 Node: Implementation6136 Ref: fig:abstraction7930 Node: Features8087 Node: Requirements9408 Node: Supported Platforms10898 Node: Getting help13656 Node: Commercial Support14107 Node: Downloading and Installing14996 Node: Installing under Windows17439 Node: Kerberos on Windows19198 Node: Bug Reports22833 Node: Contributing24226 Node: Preparation26320 Node: Header26999 Node: Initialization27592 Ref: Initialization-Footnote-130336 Node: Version Check30523 Ref: gsasl_check_version31057 Node: Building the source32062 Node: Autoconf tests33946 Node: Using the Library36276 Node: Properties49303 Node: Mechanisms59000 Node: EXTERNAL61416 Node: ANONYMOUS62714 Node: PLAIN63764 Node: LOGIN66045 Node: CRAM-MD566693 Node: DIGEST-MD568460 Node: SCRAM-SHA-170897 Node: NTLM73668 Node: SECURID74237 Node: GSSAPI75642 Node: GS2-KRB577438 Node: SAML2078911 Node: OPENID2081188 Node: KERBEROS_V584255 Node: Global Functions85963 Ref: gsasl_init86126 Ref: gsasl_done86557 Ref: gsasl_client_mechlist86803 Ref: gsasl_server_mechlist87302 Ref: gsasl_client_support_p87803 Ref: gsasl_server_support_p88181 Ref: gsasl_client_suggest_mechanism88575 Ref: gsasl_register89093 Node: Callback Functions89516 Ref: gsasl_callback_set90434 Ref: gsasl_callback91326 Ref: gsasl_callback_hook_set92492 Ref: gsasl_callback_hook_get93031 Ref: gsasl_session_hook_set93505 Ref: gsasl_session_hook_get94082 Node: Property Functions94540 Ref: gsasl_property_set94732 Ref: gsasl_property_set_raw95331 Ref: gsasl_property_fast96112 Ref: gsasl_property_get96724 Node: Session Functions97824 Ref: gsasl_client_start98005 Ref: gsasl_server_start98473 Ref: gsasl_step98925 Ref: gsasl_step64100174 Ref: gsasl_finish101105 Ref: gsasl_encode101355 Ref: gsasl_decode102100 Ref: gsasl_mechanism_name102861 Node: Utilities103254 Ref: gsasl_saslprep103410 Ref: gsasl_base64_to104026 Ref: gsasl_base64_from104699 Ref: gsasl_simple_getpass105301 Ref: gsasl_nonce106291 Ref: gsasl_random106609 Ref: gsasl_md5106938 Ref: gsasl_hmac_md5107386 Ref: gsasl_sha1108015 Ref: gsasl_hmac_sha1108486 Node: Memory Handling109113 Ref: gsasl_free109270 Node: Error Handling109754 Node: Error values110508 Node: Error strings118414 Ref: gsasl_strerror118568 Ref: gsasl_strerror_name119124 Node: Examples119782 Node: Example 1120308 Node: Example 2124128 Node: Example 3127751 Node: Example 4132347 Node: Example 5136997 Node: Acknowledgements145587 Node: Invoking gsasl146304 Node: Protocol Clarifications152087 Node: Use of SASLprep in CRAM-MD5152546 Node: Use of SASLprep in LOGIN153544 Node: Old Functions153962 Ref: gsasl_client_listmech154421 Ref: gsasl_server_listmech155089 Ref: gsasl_client_step155749 Ref: gsasl_server_step156712 Ref: gsasl_client_step_base64157689 Ref: gsasl_server_step_base64158302 Ref: gsasl_client_finish158905 Ref: gsasl_server_finish159215 Ref: gsasl_client_ctx_get159527 Ref: gsasl_client_application_data_set159916 Ref: gsasl_client_application_data_get160620 Ref: gsasl_server_ctx_get161216 Ref: gsasl_server_application_data_set161605 Ref: gsasl_server_application_data_get162309 Ref: gsasl_randomize162895 Ref: gsasl_ctx_get163399 Ref: gsasl_encode_inline163756 Ref: gsasl_decode_inline164424 Ref: gsasl_application_data_set165106 Ref: gsasl_application_data_get165705 Ref: gsasl_appinfo_set166208 Ref: gsasl_appinfo_get166796 Ref: gsasl_server_suggest_mechanism167332 Ref: gsasl_client_callback_authentication_id_set168034 Ref: gsasl_client_callback_authentication_id_get168779 Ref: gsasl_client_callback_authorization_id_set169509 Ref: gsasl_client_callback_authorization_id_get170248 Ref: gsasl_client_callback_password_set170958 Ref: gsasl_client_callback_password_get171643 Ref: gsasl_client_callback_passcode_set172321 Ref: gsasl_client_callback_passcode_get173006 Ref: gsasl_client_callback_pin_set173674 Ref: gsasl_client_callback_pin_get174471 Ref: gsasl_client_callback_service_set175127 Ref: gsasl_client_callback_service_get176049 Ref: gsasl_client_callback_anonymous_set176725 Ref: gsasl_client_callback_anonymous_get177469 Ref: gsasl_client_callback_qop_set178141 Ref: gsasl_client_callback_qop_get178850 Ref: gsasl_client_callback_maxbuf_set179504 Ref: gsasl_client_callback_maxbuf_get180399 Ref: gsasl_client_callback_realm_set181063 Ref: gsasl_client_callback_realm_get181834 Ref: gsasl_server_callback_validate_set182500 Ref: gsasl_server_callback_validate_get183275 Ref: gsasl_server_callback_retrieve_set183953 Ref: gsasl_server_callback_retrieve_get184728 Ref: gsasl_server_callback_cram_md5_set185406 Ref: gsasl_server_callback_cram_md5_get186152 Ref: gsasl_server_callback_digest_md5_set186834 Ref: gsasl_server_callback_digest_md5_get187617 Ref: gsasl_server_callback_external_set188302 Ref: gsasl_server_callback_external_get189017 Ref: gsasl_server_callback_anonymous_set189697 Ref: gsasl_server_callback_anonymous_get190418 Ref: gsasl_server_callback_realm_set191094 Ref: gsasl_server_callback_realm_get191859 Ref: gsasl_server_callback_qop_set192515 Ref: gsasl_server_callback_qop_get193340 Ref: gsasl_server_callback_maxbuf_set193994 Ref: gsasl_server_callback_maxbuf_get194889 Ref: gsasl_server_callback_cipher_set195555 Ref: gsasl_server_callback_cipher_get196389 Ref: gsasl_server_callback_securid_set197057 Ref: gsasl_server_callback_securid_get198203 Ref: gsasl_server_callback_gssapi_set198873 Ref: gsasl_server_callback_gssapi_get199774 Ref: gsasl_server_callback_service_set200442 Ref: gsasl_server_callback_service_get201251 Ref: gsasl_stringprep_nfkc201899 Ref: gsasl_stringprep_saslprep203210 Ref: gsasl_stringprep_trace204164 Ref: gsasl_md5pwd_get_password205011 Ref: gsasl_base64_encode206150 Ref: gsasl_base64_decode206784 Node: Copying Information221222 Node: GNU Free Documentation License221477 Node: Function and Data Index246591 Node: Concept Index256461  End Tag Table gsasl-1.8.1/doc/version.texi0000644000000000000000000000013513521017375012651 00000000000000@set UPDATED 25 July 2019 @set UPDATED-MONTH July 2019 @set EDITION 1.8.1 @set VERSION 1.8.1 gsasl-1.8.1/doc/gsasl.ps0000644000000000000000000514234113521017432011753 00000000000000%!PS-Adobe-2.0 %%Creator: dvips(k) 5.998 Copyright 2018 Radical Eye Software %%Title: gsasl.dvi %%CreationDate: Fri Aug 2 11:31:38 2019 %%Pages: 118 %%PageOrder: Ascend %%BoundingBox: 0 0 612 792 %%DocumentFonts: CMBX12 CMR10 CMSY10 CMMI12 CMMI10 CMTT10 CMTT9 CMSL10 %%+ CMR7 CMR9 CMSS10 CMSLTT10 CMTT12 CMB10 CMMI9 %%DocumentPaperSizes: Letter %%EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -q -o gsasl.ps gsasl.dvi %DVIPSParameters: dpi=600 %DVIPSSource: TeX output 2019.08.02:1331 %%BeginProcSet: tex.pro 0 0 %! /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72 mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0 0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{ landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[ matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{ statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0] N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin /FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array /BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2 array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get }B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub} B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr 1 add N}if}B/CharBuilder{save 3 1 roll S A/base get 2 index get S /BitMaps get S get/Cd X pop/ctr 0 N Cdx 0 Cx Cy Ch sub Cx Cw add Cy setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx sub Cy .1 sub]{Ci}imagemask restore}B/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn /BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put }if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{ bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{ SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{ userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X 1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4 index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N /dir 0 def/dyy{/dir 0 def}B/dyt{/dir 1 def}B/dty{/dir 2 def}B/dtt{/dir 3 def}B/p{dir 2 eq{-90 rotate show 90 rotate}{dir 3 eq{-90 rotate show 90 rotate}{show}ifelse}ifelse}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT)(LaserWriter 16/600)]{A length product length le{A length product exch 0 exch getinterval eq{pop true exit}if}{pop}ifelse} forall}{false}ifelse end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{ BDot}imagemask grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat {BDot}imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B /M{S p delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M} B/g{0 M}B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{ 0 S rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end %%EndProcSet %%BeginProcSet: texps.pro 0 0 %! TeXDict begin/rf{findfont dup length 1 add dict begin{1 index/FID ne 2 index/UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]FontType 0 ne{/Metrics exch def dict begin Encoding{exch dup type/integertype ne{ pop pop 1 sub dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get div def}ifelse}forall Metrics/Metrics currentdict end def}{{1 index type /nametype eq{exit}if exch pop}loop}ifelse[2 index currentdict end definefont 3 -1 roll makefont/setfont cvx]cvx def}def/ObliqueSlant{dup sin S cos div neg}B/SlantFont{4 index mul add}def/ExtendFont{3 -1 roll mul exch}def/ReEncodeFont{CharStrings rcheck{/Encoding false def dup[ exch{dup CharStrings exch known not{pop/.notdef/Encoding true def}if} forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}def end %%EndProcSet %%BeginProcSet: special.pro 0 0 %! TeXDict begin/SDict 200 dict N SDict begin/@SpecialDefaults{/hs 612 N /vs 792 N/ho 0 N/vo 0 N/hsc 1 N/vsc 1 N/ang 0 N/CLIP 0 N/rwiSeen false N /rhiSeen false N/letter{}N/note{}N/a4{}N/legal{}N}B/@scaleunit 100 N /@hscale{@scaleunit div/hsc X}B/@vscale{@scaleunit div/vsc X}B/@hsize{ /hs X/CLIP 1 N}B/@vsize{/vs X/CLIP 1 N}B/@clip{/CLIP 2 N}B/@hoffset{/ho X}B/@voffset{/vo X}B/@angle{/ang X}B/@rwi{10 div/rwi X/rwiSeen true N}B /@rhi{10 div/rhi X/rhiSeen true N}B/@llx{/llx X}B/@lly{/lly X}B/@urx{ /urx X}B/@ury{/ury X}B/magscale true def end/@MacSetUp{userdict/md known {userdict/md get type/dicttype eq{userdict begin md length 10 add md maxlength ge{/md md dup length 20 add dict copy def}if end md begin /letter{}N/note{}N/legal{}N/od{txpose 1 0 mtx defaultmatrix dtransform S atan/pa X newpath clippath mark{transform{itransform moveto}}{transform{ itransform lineto}}{6 -2 roll transform 6 -2 roll transform 6 -2 roll transform{itransform 6 2 roll itransform 6 2 roll itransform 6 2 roll curveto}}{{closepath}}pathforall newpath counttomark array astore/gc xdf pop ct 39 0 put 10 fz 0 fs 2 F/|______Courier fnt invertflag{PaintBlack} if}N/txpose{pxs pys scale ppr aload pop por{noflips{pop S neg S TR pop 1 -1 scale}if xflip yflip and{pop S neg S TR 180 rotate 1 -1 scale ppr 3 get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip not and{pop S neg S TR pop 180 rotate ppr 3 get ppr 1 get neg sub neg 0 TR}if yflip xflip not and{ppr 1 get neg ppr 0 get neg TR}if}{ noflips{TR pop pop 270 rotate 1 -1 scale}if xflip yflip and{TR pop pop 90 rotate 1 -1 scale ppr 3 get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip not and{TR pop pop 90 rotate ppr 3 get ppr 1 get neg sub neg 0 TR}if yflip xflip not and{TR pop pop 270 rotate ppr 2 get ppr 0 get neg sub neg 0 S TR}if}ifelse scaleby96{ppr aload pop 4 -1 roll add 2 div 3 1 roll add 2 div 2 copy TR .96 dup scale neg S neg S TR}if}N/cp{pop pop showpage pm restore}N end}if}if}N/normalscale{ Resolution 72 div VResolution 72 div neg scale magscale{DVImag dup scale }if 0 setgray}N/@beginspecial{SDict begin/SpecialSave save N gsave normalscale currentpoint TR @SpecialDefaults count/ocount X/dcount countdictstack N}N/@setspecial{CLIP 1 eq{newpath 0 0 moveto hs 0 rlineto 0 vs rlineto hs neg 0 rlineto closepath clip}if ho vo TR hsc vsc scale ang rotate rwiSeen{rwi urx llx sub div rhiSeen{rhi ury lly sub div}{dup} ifelse scale llx neg lly neg TR}{rhiSeen{rhi ury lly sub div dup scale llx neg lly neg TR}if}ifelse CLIP 2 eq{newpath llx lly moveto urx lly lineto urx ury lineto llx ury lineto closepath clip}if/showpage{}N /erasepage{}N/setpagedevice{pop}N/copypage{}N newpath}N/@endspecial{ count ocount sub{pop}repeat countdictstack dcount sub{end}repeat grestore SpecialSave restore end}N/@defspecial{SDict begin}N /@fedspecial{end}B/li{lineto}B/rl{rlineto}B/rc{rcurveto}B/np{/SaveX currentpoint/SaveY X N 1 setlinecap newpath}N/st{stroke SaveX SaveY moveto}N/fil{fill SaveX SaveY moveto}N/ellipse{/endangle X/startangle X /yrad X/xrad X/savematrix matrix currentmatrix N TR xrad yrad scale 0 0 1 startangle endangle arc savematrix setmatrix}N end %%EndProcSet %%BeginFont: CMMI9 %!PS-AdobeFont-1.0: CMMI9 003.002 %%Title: CMMI9 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMMI9. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMMI9 known{/CMMI9 findfont dup/UniqueID known{dup /UniqueID get 5087384 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMMI9 def /FontBBox {-29 -250 1075 750 }readonly def /PaintType 0 def /FontInfo 10 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMMI9.) readonly def /FullName (CMMI9) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -14.04 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def /ascent 750 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 58 /period put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3C05EF98F858322DCEA45E0874C5 45D25FE192539D9CDA4BAA46D9C431465E6ABF4E4271F89EDED7F37BE4B31FB4 7934F62D1F46E8671F6290D6FFF601D4937BF71C22D60FB800A15796421E3AA7 72C500501D8B10C0093F6467C553250F7C27B2C3D893772614A846374A85BC4E BEC0B0A89C4C161C3956ECE25274B962C854E535F418279FE26D8F83E38C5C89 974E9A224B3CBEF90A9277AF10E0C7CAC8DC11C41DC18B814A7682E5F0248674 11453BC81C443407AF41AF8A831A85A700CFC65E2181BCBFBD07FC5A8862A8DB 7E2B90C16137614CDAFB584A32E50C0935109679E31306B8BDD29F1756946A67 7A7C2D9BA6FAB9B20A424AA0E6F4BA64C2801C2FB5A1156CBEED0ACB95F697B8 BC2A6E6AA7EB1F9FD8E3C9B1A16697EE1F0E7400421A7765AB218FC837A49365 82DC6B2C877A7DA84A81E6126EE96DB25C17A207D3020A045DCDAA064360DFFC E3CD50E21ED239D2A6450D04F879A26443ADEB6A20ACC504989876476C7D1A74 91564FEA1F4CC2C8C8FDF666DB537F315AE1886C73CB5B00E67E7B398A6C018E 540EAEE98BB8136C4F044EDD63C33431D2CF9740F051DF365A4045D9D8782112 7BB5D494D9235BA98CF2F30CB119F5A904C32AD04C960C43FC1F5FD8DA7D90D8 93AFB59F3FF4F796481AE2A7548F948FECFC6C127C4D3F159B08F206AE8C296D EE470DB2F879EA79475E029D22D7A8535C09A18689DB0609CC233E5199C02756 972CC9C94D9FCE264DEE5D75C8D651E4E2D1189AD9588CB815722BB5EE3C379A 6F31C2E6AE1AE4CCEB29766190AFA20EA937114978752189F1A9F42B39483149 796FCFA123BA9CCD1D9BE28289660BCAE16C40B5B504058D55CFCBFB4F4E3D94 DDBF39F157E63946534DA81C018B1C01B9F10DDB55E0A5C2B3985ED1977C039B D6755EA42CD09E27751E159C30B93F376DBE61CD3AED34BA36A768F232EB3B80 E3E6B77C4A48D408217818E398B83D995AB6BC871F20991DF57313D6EB0C793D 0F28088EBDB7F38DAF7E01AAB3476EC24D7BB38A9889A7D3038D930FF4289B83 F54A7BE1E2D98A3822098D2E4D067A0D400C20C0B2B4BBD74C13ED1B827490F9 ECF48F8C3994C1C5AAC9CF783BFA4F307528F51EAB55F961808A42ED53F00C97 72A432EAEDCFCFB622389BDA707B6ACC9433B065CF29EBFE93AD14B8ECD5F47F F073F11822C49B8BE924CDFA6348C3A75E9BB9BF3F31C41716B34794B28CDAC9 4DB8B087E180A9B3B17680F73D9C12C8D86A922C948093629F5D7F542ED882A1 692F4F6696865E53E3E2DD43B2D5E8C989CFAA5CA5C4C5999045E170BDE9921C BACD6F2863F5553EAB2BA2D4A9034729EC0C4201DE90DA89B0A27C5A5C974109 4E37BFB3F46B3A506169FB0C68E1CAFC844419A8D261A1FD86A3BB78E33D5FB1 CFC687A5975987CE45155E5FDFAF0CC5FD5568CB1C26212F92E88255F0549F59 41B33125946DE43436BEC00804063FBF03EC796E3361B1C852EC3038D107F80A 9198968265D5488B26D7670B22C2D75EDFFD1B7B4AAFA36DFD94640C9D0E2D20 5BCA18683EFB91834A3939AB8EB60E2F09655BE003582634C52770DA9668C292 2E02929D812EE2B0CC65F020064AD5BDAC5F5693B30508F40ED8E20E87149BD5 8DD41AFF83FD1944804017DC5A04512E593549FFFAE501131CE2FDB65EFD0B8B 33809CBAEE411B3941C241550B9C30DD28088708F1C0CC3125CBEDCD985EAD28 03313741F67DB5744A87B381147D5BA70AE1145C27F794854628D87D6C1ECCA1 749E3465B950175D3C3F40E344297BD92D3190041A4392033A79BEAEAABB8DBE CC14E39612F43721CFAE6F79074429221CA588AA2501DE520A464DE157A03AFE 3C082FAE7628FC0C57FFC61D0330AE6332D20FDBB09BF36848FE05E782D6379F 64F9C82C45402481B0A35989027F9756BF5A79DA2D96E10F39167ADB4305578F 90B509B6891338FA1D67DCFD61804AA6621526B2EE4769589A2646581712AC05 DA6E98D16494F07D612743058F54FEE516BD89A8EC3E03F9D7F905175D3412C8 F7329077FD6EB25213F3CAC94BA0C3363B759401B6EF7548C7D709F3241D030D 4EB46A1AE81863C412BDDAEA6084C37143A4C5E41BC646315B1CD09F934186CF 49D1D8239E363A435307030BD79536B50B723A39DD763DB539F24A10DDA12BD4 E467339D2D6DB177D6FC539FA77D2DE4118EBAC161E928749F7C753ADEF86117 58619F1155C563DF2E11ACA8347908B98113AED58FCD0394150EEC94B7F986EE 88BF7171D208D8F1774B1DD478F0C2958AE372D257E7EDF0F6B5D6059CC4D5D3 B00FCBD2E9CBE79235B9A5A3E943CC27AABB58728C95C7DBD4F4A1F8A4DA99AE 7377B0CC0BFBD454794398AE0D5F7281771FFE87B25A819F36E692286A42D776 01794A43CA9BB30FB8FFDAAF014F909A369E34C2F6C75B7D4EB9DB0580E33F46 19654443AFF8384B95600B86FF8E41FEFD032355626D60C7507C058EF832DF41 194B48A36F11082D1DCF4723E21401E0C7447AABFAB4639B26E3D2730E348F55 53EBFF39CDD03E06E2FA5FB379603C879EDB7E1A10F89695C9C47DEEE52BE0A3 F446F187AB9D7E93E6F9387F21129034F36DF40605D28FD526AF82CA9D232BE4 412567F06B38ECCD496EF40A7B243E46C9FEBA4F1BF4B1ECA029C5EC239353D6 C0B100BF7E7DB33BD1277DE104F15AA19F37340A777741AD1AD693BC76DA48CC C6F83CD84591ECFEE375979972B0FAC4C10B625E4BFB261B9FFFA83C31DA0108 4FFB6377466E9739E0EB64424BD9FC7239C7DD834EC6788A0F97FE714AF92831 E1BA36A8A9E24739F1DC82DC26CC3CE28C210AA7C569B19E1784D663A0CA4E81 AFF43E86D6F5F63778847700072CEB77A4EB946DC1F23DBC00BCE773203F76DF 00F0B085F31420672974DDC642D885E95BA6BBE43E1CA8ABF464D9881CDECC7A E98E31B9754C9B72A8BD5CF6D4D214DBC3BA7A0CDF6635953F5AC1E7639C4A91 C7AECE4C75CA3389C348F656FC2CC96C84C85A926237B6504DB51937C9CFCDAC B75C31ED570D180757884E27757783DB2D5F35ECC48C496CDA342D49AA947BF8 2FDAD2F19DFE8CD1C76A8FA08F33681F3E12E229D7DAB45BE3A3F258B5ED4980 F15340CF20D965252843E026803E8AEE736EC41CCA82167401977AB719AA2F50 0B791EEAA82027B3C712D2EB9D14BF8F94FBDE2227609BCAC41EC08DE2BAC023 28352F913F7DF08D4E1C66E83F764578B22B4EB7191E852B91ADCCB1BCFDB1F4 E63DFD152E86FA9DE9BC8908130EFDE29CC4401339C05B5B9764CF8EFF14951A C6C13AF979546996BF22F2B96D3D585B90CD27DADEC78914DA48432C6ACBDD42 20EF583FD41F2F6D6D10C3DF7DD077304B5940BB0462656E306CBD91EB9B756B 7014B1884A36201EC582FC9345C386043DD2818FC301EF78791C1D7854F8FACE 5DE9801DE9F59D5B4271E003AB897B2EF49501589D681D59CFFD9B03F722EEF4 74ABD29997515DA3591496B62666744EA76DCA45504F8075C0652D6779DBEAE4 90430C2945FBD60AD53B51DDBEFC7ED703C418B4B244C8FFA5A3C1B7600C5A55 3EBDB93C16AC191C3A28EB2279BD3F0D67C826BC6A73D3C0AD02262368AB4621 98A1605F2887BC5880E1AF2780330E0FD01D7CAACBB0F008A42C427F38236066 54799594E515B289044BAC4DADF8B3686B4372C5110201221FDA923F131E07E7 93C44BAD406838BA4D1C277EF74098B8C0EDC41EEDD58C195D7DFF5FEDBF96FC 19CEBC6C3006DD2CBF76916B4298BB915663C2F61AFD7747E03A03BD7280197A 9DA590E3D081C6F53DBF94E8D6FDDDD910A70AB18A0F6D48A590FFAB314D6CFD E3FB20C1F3C91063F00726A2C13A3D48323F9854839405E5A29D66A43E6E2B84 A8B3765F1D817071D4D6FF42BC785C2D11AB2B9452F141696CE19C6AFB9777DB 107D6E22D8CC6C26440BC48248AD8805C4329D46BF433741CB519B21663392DA 5DC7FC9BF37E5BC396BFADD7263D09F6B4D69594AB386B7BDFCF3BACB97A0E08 22013E716E642592A20136CF9CFD61D4E515D80E06A4CB4FC9D9B916C93CEA95 B83B98C48CF36C1D02291D4F5C0419338D64E33C90C90EDD2BA3B96D70FAFE0D 403A060CFF448D3E28A9B1E3916018465E86095BAAB4706CF7ED350D7C554789 D7F4FE5F180767DE8739259E68CF142040BE1E2E8C6152DE3417C1FAEA7584B6 20781DC4A9796431EE713DAC4E713C839D7A4FDC8AB6BFEFFE767AFD8B67FDA6 943AD387E5D3BCB09039ADB64ECC2BE2620C6EC269E708DD06C311F450099E33 AF46AEC644222E7DC4DBB9371EE12CFBC4F9B27AB46AD1DA96CE006E1DF8291F A550A93026CBFFC1087B134EC6EA76F5E109CDA58FF47338A0039A786A575F70 B8A03A4F9C8D07A4C856C77D9BCC8E3EAA740172D0C2D0A15BA35C9E5717D7FA 2691774DDE730BB9D7C70D7AE103DB8D35F3728470C76EBA0E670634E1A0BA84 2FA102BAD7271DF2680D86A4CA6FC353869987700E5E3FD778165456033D624F E9B3E80EBF431ACC934AA0357E824B8AD73E222B510DE8445C55C07C8E5DE46D E478F832BDDECAF2EBB11941DCF84CCD887043FAED9AA90D12BC8CA9A0C8D94F 8D3BF1F80B14B6CAE6BB1C6AA405AA64BB94D5A82CFEA548BA070796A02F9642 87326D066101435AB9EB40BA9EA9E61B363F5F5E3B924369796E8B78DE3414A4 2B79C6A13ECB2F34E6299658D07D2B3DEF3D4383CE009A927F0EF5C196652842 D96B857AB5E905201E7E8BA21A5EBED1FC6863BA9A1A6E5390407F75055E2EEC 512FBDB3E82CEA13663F1A1944DA072C765D8CED06AB461470C5723BDC1271D4 4D1D049D3EB131743F1EC9A6ADDAA038ACA2C41D139DC6A84EC3C61AC7F1E559 6155CC2F49171F6E07CF56D721D9728E87FC7DCBCAC46455A3694C765FE807E9 9CBC2D304AF37E0F28CCB22F239541B53A4D24D09C662559267467EA487BD33A 0BEFD4899B581D20582930703A868655C31BE935364CA6A95FBCB22CB714C040 9718824DFE97929D0482430726CCB5A5307957DD2432A9B6271E849148DEB76B FAA290FF6D0B18DC5B76407852E81C105EC6CFAB0F620C6DC9DA555A33C167B1 430A8BC338BFC7D75B7099CC906AD923FA107C74D3FBB719D77A4E5A685FF9D8 56424EE4AA074434B809D894ED50F6A60A035C5223EA25DD8983B9B34210DABE 718D7B2BEB293FF1B63CFB1CBDAFC69552963D90F5E3FF533A3FDBB626E9FAA3 F3C119E5E01C7BFF832A033C3515BF049E29558B1DAD652F2888E339E67D15AE 95F9BD14E3253DFE9072B24C0E7E85025B71096AF51C86AECB2921126A43156B EC812B32B1164BD9B2B947D503C015616DBF2024F5C8CB3236C1DCA653D661FE 6B1C19A22D272A176B7F1B7F9E67AF40DB0EFD4940E58B2A050249CA4E55CAF7 6ACFD84FB46FEF952D18552B3972D79D808B4C263B8C7E1BB647A2D03E102867 630D5C3F2C917F765A4F6FB8106BA6A9D0093E27A4CB6049C2371287D94B5111 6E7020776EBD744C6C920464BBBC0AC206033E8240017F8CCB112596ECD7CAFA 89950CF43FD87ACA750C03A778A37FBCE9C82C2F5ABB135BB02DA8E8C0D24475 3BEA9D79372D0022FF1ABD378C151417DBC69FE5C9CA38D23A3900E34BF924A2 90777ACDC37930B67DD44A2E76DDBD9B89598D5F626BFD325A978D277265DA47 38CFAF16E7FF1946E15F41CA73F7B4B02E5AE8FC4C37B115BC567E4EEEFEFC34 EC8974B1465AE57759EDDA28DD38A9210871D35D331AE1BE6097C3EC21C770C9 B25D040B2ECCC3AEB1EA1BF99E0C2C0F192C13BB9152CFCF75332E03F9CEC376 9B8C285A35F53655BE38713E09AE34BA2DA9C06FA42A6FD2D00CBF2AFD2BADB9 1571629C65DA38A431710CF5B01FCA68E8B8569922FBC3F9B64A5509B6F677AF 1B97E91FFFEB6308AB68AC58F9BA43DB5E764021E75B56170EB44C2C0A7DB86C 62B8982256D3621EBE3DB3994DBF5C5A14CF34B4AF3BD5697F8E3203085DE9D5 84B0598169760B925463E93DC87CE70AF4C2DF0F4287D2F2069847BCCF7A37A2 AD451D5ACE4DBCCB2E14D5DF38B226952E7446BF87BEC736EF3D5AE793304618 D66D3299AB9F9CA1D13F134FAEDF36750046E27706C7CBD8E0877BB6276E5196 BC2A355D109C0253644918E1CC11B717DE6FBDA201E769812752888CD66268F6 4ACF4A9449378F9F9923D584BA1B51F33663BE7A306887BC14A37E3C5A4654E6 531D6EB63DE3946BD8BA95CFB037991174F36D61D842071E6625605CAA350A24 FE551025D10871FE0E2599A63900C8520EF4911C53A03897C8BEE152451708E2 43FCF4E700C583A5E8DBCC03BF9CAB864DBD19E1760945DEA0EC0BA38BEA8256 D3A8D4F70F6685A99C6BD2BA8B412A26C002D76138CFCC7DF6802931E5D97BA6 0151F6A4C572235B4196B22B7B2D14B32886DF0D2CA8A277ABAAC53B63F64CE4 E4C088192AAB674497E8AF81961359C389B51F4A257373D907C615030BFBEF53 DBD99058FD06E352450B658478C10454AC8FC0232B70D5CB916981978053E358 99D322A07294748BA427FFD1E45C909171017B52B7C742FD77A8560852D819DD 8DD53211A14D7B2FD11E42941722FD3985D627FDAF87EB57326A0D290B5077D1 8A4230BEB40523A8565F95E0D44F036A571DB698EDD9D94FEC9512369E5E5E73 A3CA5C142617944F4F99C0697ED088ACAC007FCE06E5A6EDE7D0E03A3399DCE5 362271BC31533866BA79FD1FB3F608B22CCD4111FFB1BA35D920A23AD157C6B3 C3DAE11069D5E46DEDA7158C6478D8B8C0D9DC237CDF0CC6633911673C43FB79 E4F9B7F27495201E5ADE66255BC2CBE9D9F237DECB62A19D62CB41A1C92432D2 07F0629E913A71B3F1AAF8B8C5AC66D3C8605A48F8913E39C859E163DB1DBC8F 0ACFEE80A40B6172032E95A76B752B873FB4DF23CF3A655AF1A1B88C8DC156C6 190DE72973950565454C0A188A33395FD3D529A88F2B578356DE8EBBC12F04C4 5B899F667D9E6F3A4EC6DD8DE71FD4C2E2B6D56823EE4E0526679D71FF1B868D F261489F06F97B010CCBE640E2F57BA3DC3332B329F7958394BA9777D833AB50 005E8E9232547104065ACE33396772B0E0BD66D2C6CC54DEDD071E444D8C95F8 6F88B31E20FDB80F77C83151B7E25BD3736B4F9BDC52EE78C41E9475E5A6D94C D348AB42F5E36B4F167D29EBDFBD43B03F77EB296B06A36880FF17D412E77EA9 F2E7C25FD05E16BEC6732681EA21AC3FF6893B93FC09316A370CDDB86D9E6087 F6042C3F9ECD742778389170F5F041329782FB9F9702F7533E51F355F71825AE 2BF4F8FE50D413AC9A20C41B42537FDBE8DDC5A5C793D3760C1EE13716068752 F0AF10812250BEDFB4D7133FD58F4587BACD572505C84A7D3802D27443175FE0 0D89C3398B55176D8642AFBAB5CBCDFD6220C8488564B4306D74A58CD2921AAD 73CF803C754DAC2F30A5324886E273064FA51781D5BC596BFEDDCE3982EA1AA2 62CA7BAA1B16C6EBB99B2AAC4E6C9CEFB3D10F19987045C4918DB239E6E63D79 5F44B9D097118D081153AFF96E5EB39CBFBB99A3BE30909F614869031358EB98 F07A97EA78AE50375941B2474DB46AF3305F2B208D45921F93743A6CB8AC584F 6BEBE25ECAADD5A789EF60C9F54446687E7B030DA3E5243189F02BA46BFD28B7 DC14822E136AC7E40CE20458DDBF356488045C95907363864CD6943643BF0109 EE027A3091C11EA392EA91320EBFEA3B857370AD8EB86D73F035A476F7058222 E8CDE78CA1AA9EA69A8AA6EBFF3E67324C567B914134DE042D6F8F18A9373107 536E8D90189917D343F5299024239E2EC1D2D177D82DC8E344A7CF2AC71AEC18 36F139E7A4EB59A67192BCA9ED0EB25DE13032F6FEAFC3B1F4FC81BB0EDC41DF B9EB92618667C59EA499B788CD26C2137D70F1B0AF793AF5AD0D0941F2E746E3 F5A7F0288BC1EE11E982EAAE763CA422D72FBBC0D754AD58FBF92629DC8866A0 431213513744DB48E52EFC89C83FEB082588E4F30D7DA77BB598E51CAE7E4900 5CD570C914EFBA426BAFF7A56FC775ECF5BE13F2C42E51EF96784E5201C0B64C 074AC229FF0BFDF71E6D5E08D8755D2C12B770B6466A9C9C61C15582DCD2FF78 E9E74DC2B1CAA344EC0339EBFF92CD2CC1D62E2FA8FF15E7459A83C6CFA58A77 2F1A40BD276E76B675FD6834052B33BF9190F04DF6AA5FA3BB7D77A88DD5B600 324C5E28216F47682EC29EABF35BA842BA2294A3D72B126EBB852AB741186C9F FC84B12DC4A6CEC08F2D03EE61B65C845841EE17F1B765649A 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMSLTT10 %!PS-AdobeFont-1.0: CMSLTT10 003.002 %%Title: CMSLTT10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMSLTT10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMSLTT10 known{/CMSLTT10 findfont dup/UniqueID known{dup /UniqueID get 5000800 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMSLTT10 def /FontBBox {-20 -233 617 696 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMSLTT10.) readonly def /FullName (CMSLTT10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -9.46 def /isFixedPitch true def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 52 /four put dup 54 /six put dup 95 /underscore put dup 97 /a put dup 98 /b put dup 99 /c put dup 100 /d put dup 101 /e put dup 102 /f put dup 103 /g put dup 104 /h put dup 105 /i put dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put dup 111 /o put dup 112 /p put dup 113 /q put dup 114 /r put dup 115 /s put dup 116 /t put dup 117 /u put dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put dup 122 /z put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE33C33655F6FF751F340A8D6C01E3 2E02C24E186BA91B34A1F538959D4450CB683EAE5B034D030186901B458D3777 6B3942BD2E07121385120248891AEC2EB33C4E3A0CF00828D0F130C31A918C18 979FE94379C648EF21ABF659253E43CD1253866F157F1DF85AE7E8714F061B1E ABA3AD094FE8D6293916FA82EE4F486C7E513A06D4C9BE44306A8287970B4ABF B6D1F9274A5A0BB6ECF713ADBD1260D5D6C4420D357FD486470A74B2F0621B59 A9373ABECDBF32FA68AABB66FAB0C970A3354A335FEDDA1C288245E6C890B8DA 3D0EB953283ABFE372221EEB1586B0167F634E3F29CADCAB484B81A243CE1E3F D5106AD6BDB1AEC91123377F816711CB9D5140120FEA84B8205B79D1569509FC 6B671211985CEF51691C45A168740BD826464B2CB0ABC575E7D453161328F80F 3AF1C99EC219010EC6C95E0A8D1909719CF18BE424967E90DF67537220E60C3C 4345B154D08F9EA684710E659DFFB0BA1B7FDDCD519305900A5E1CDA219A6C90 DF8BD712A3686DAB90344E8784C7A9AF3318550285039B701B9FA1D3A3C3B6C2 753F1E794A3463A173C99A9EC0E2AB5737134CEC2C97CD6A37E38692ADB4B131 54697B7BBBB23680C72CE96066D8007B90AF0FC5958232AB4F21826691E9874D 107F47DAC1026298D787989BD77CB43A09FC95F6997DB00D8483AE9C2716CBD3 7CDF02DA34FDA2F0754ED0968270E118DDD8BAAAA65C41D699E2BCC2556AA231 328187D2F50FD518CF458B0BA1F7DBAF4B231CFD61D5DC56335B53C3013BCCC9 85690E19E992ACE55EEF2BA7A75DEE6DC33933C226FC1494269B7CA4CBAE987C 2C787386400172AE3F44AE47115F4117EED866713BDDCA4A7AF658C49F913CB7 308635000043F63BA210410A66E192289592882C477B2EEA0B2A339F0E7CF450 CA0EF79D3A6C28598825CA03FD688DA60C95EF707C6E67CB7E57DE7A80545195 739ACBDF27069F34C9E0216C3D17CFE7A652B910FCC9B9AECC2E646809C22D93 FAFAD465DE794755AFF5BEC17160C9563B5C51D07022E2D3A256FB5CACE131D6 F4B30F591A0419D957D8F0DCAA0A8D65A8D83422AD7C2613FF13A302E152B312 3F1ABB45E42084EAC894FE335C07324849C9736D00C872C4551997DB889AF17A A52C5AA77DEB548B0103B77F65717F70B90C1BBAEA7BCB4959F32851A9882A3F 55673F24103D6BF7FB3AD3EC3CC50FD8FBB4A6B13C3D278174320713A7B327CC A71F01E50840B33D0FC3F5F6A6F2B0F2D0E38494B1C73096A430510F927235FB 69E931DA8CE5415EE88D0248565E3347353621A48F7948AC9EAB5F5057541B50 82BA955D90BBC82E582FD71904445A59186022FB928015235B60830DA59813D0 8DA3FC306C43FF8BB2CB6772B1F7BA3C1AA4B2343E7DA7E065EA53A4E5E28DC8 0790F2D5CFB203CB135A08DCC9702B59A63290444F202756E55B9FB053F773D6 0F69C63E74DE593E49186FF4304E8FA76C3E3006358DE549E946DB69431981E8 1261C9C9A884E4EC708F69E6AF5D22C5BAC49F2AE85903E3D48D03B7B97054F1 D2937A0C685D912D6D20A75A77712164DCBF8FE4D5460DACE139C5A934EEA09F B94DBF168A4BC03A9D689936D833018FF43837DF9519AD10F357F00BC068E737 170FC9FC6715165F733A0B6FADB9ABB48B845167DBE6D771C916577FC2132863 767DC6E3D460E779254194AA690983184D934F5E858C1176B3862B69B42EBE7D EC9AC4E020085D474093F7694C8A8C2025D4B0163E29320C384D62A9F3FBCB1F AB5A374EF3DBA48AC2147A207AEFE8B78BECEBC55C97B538F3A0FF4589D171E3 826342C8A5186224FEE54E4C6AD5EB02BCB4088B132FA1A48362824BEF161235 8E661DCFDFD8429C65CCEF63902D0E07C2FEC1DC2756D942F13FECCB7E8A8048 345338F24B7808E46A04A915C111F939E2669A12FAC0BA4F74B832EAC83EABEE 67E2817C058E69C2010F2572FDD15194CD8DF0FE9F827D349C0444A18D1A86FD 802BC120A5114FA3523C221242C7E767B0AAF6AD15DA1561CE8EB18A2401D71E 20481FA5F1E247CB5288F47795A6A3A3BB186E89EAAC4A54AC91405427136127 5B151203426830F7CADABDB3FF63B40CA29CF8E667E71615869978E99E6F3F07 0170EACDE3DC62DC05681D7680E2E96C30002AE34A4E5EAEDF88577601A82C36 22D625A03B0451D7BBAAAE0C396711500E94A482EA787495073F16A76D1657DC 4EA7C7B83BC30CE7F145B65B6E2ADC207D192CE3B5FEF7031F4BD64F57E1BEFF CCFFE06F1E4ECA48B442DF413766A70DA626359183A9B24C70419487423C816B 4BCB067E661E47E172563090D6328BD738D2B0FE41A0C1D7A47576A79BAFC880 0473229D134F998909898301CEF50A82B627A9A06DF59D0B9C530EC5D877F1E5 220D3A1ABD2ACBFDF1933F92B3137B22B9F95A961D93B729307749A50D8A6403 7AD0F9C40743E39B8D198CFCF7C033D99440D46D821D97545B930EF92E7AE005 27F2FC766FDD4790FD1913C7A13328E73E587618ABD9008022C5C6C23935CEFE B5ECA2CEBA1D25DD846B48423F7186E03B1F61C8F1D5AC95CE03C83B2F221300 7A761D6CB5F7F9251D3F9A7F4B25B99EE7A1347ED3059A811A82A35A033E9B07 A4FB2A95009576F48665605C478E5F6C1B135016FEB4AE6A6BE4B4359836E04D 45AA11366992162973FB6266547C2E570B8F56F6D992D2C0F63950A16839FE10 F56E59D93A37573E3268C5892C9F3358753D1FAD6379E82BE740FA17236E96F7 C53A2FF785FAB86AD17EB1DE8A6AA9C69B91C9D9B43B5188E51F6939FEC21B65 AF17DCE95DD3BA4F1DD51F0BD5E5869A1ECA7398B6E664EB0D189181E9C23012 DC1E54C146842A90909DBEC03B79B58909205F2CB2A7F83C66B437D7F7DB9781 FF0C67F004E979C95B706D8D85255CCD827CF6196D847DB380B56980109E96CA 997157BE78A4F758CE59D78158A854EF2C20099438F74777D3B0298D45BA86D4 3C0AC30C984718FD62ABA0567AF0A70C1DD41953E3E7212D5C562085177E650A 2ACD49940551E3F7619B4CC31DBF67AC15D938619B95DBF66E6D1300B1BB8605 31C4011379FB5388CA49E4A9BD6C921560CB8D513F8716A0733D2A7D77E62D22 A69B54E9048CA168D210816E613CF6357706EF6B118A1263B858B7E19AA98891 43BD675B06C893579957BAB97199ACB82C080593ECB8B66A7334779CC16E4D0D 4AF365CA6AF9727AE29417B61A5FD52452873B1D666044F8E7C1F6C6AA3397B5 94A5780F4005FB5E41698FADD1594B505A58253D68D2AE3320E22165D198050E 425820CC0A43FF1D61F168D87CDD30C14D387610B6CDB63BAA39B3EC9B3CA616 FF1CC679227749DED3DDEA26B4D97C633090DCB8D8A6E5E07E3579E4A99BF1D5 51E43D1D7F139C9CB1D76D8F693A3F23A74EFBE79F01E0B850BC6B6C7F62C2E9 859469A144853434895D73DA6BD2B348A48BA80E79327ABD96539F2EA2209852 E1BF6B0B819D7C68A9A1D0F6F39416E3EC4AC21DCD3C51D3B5B8D417EFAE165F 2A7E0B76E558AC9F685A76FEC7E3C73CD607D9025DE6113BE5D0401887A53910 82A813B026A502B51D484797D9D7E79A25B6624940AEDB4A15F2C73CA1AF60FA 22D15BFBF268EB044FAE17822511AC6580D1D74DBA3C3335217780B29FEE792D 200B00B8CD888A8BFF15D938FC758BB5CD9B3E08E1AC6CD1669E663BE86711A5 892684DFCAF70C11E803164994BDAD89128AAD6461D4558AC2ECA3E05EB56D32 0290AB16A6DF7133DDCBDEAE89C6CD83552792E23CBF567D57E46548EEB0A140 437492B53C14419B6FE7E64AC23923A9E85F56A9DF209DC4E6BCAF1E045F9CA3 BB904BFA150F4083C18B0CB5580450CDB657EA768E71222C71DA911A722AB9D9 E18B6847F417125C40EA8A0CA1F551A4548712D098209C78DF9C3F78605E5402 DA2DBE2218E49B819296D5AC88D17DDBA982E171733D1E9E295B3157C9B90BF1 CE68CB185947D1E3D7544155B741296D14B064BEFD3E6AF25C74006CF6800551 80FCAAEE6FC9105E1674EDFE68C45617D8D3E2264CD395EE94EDD017EB85884F FDF530EDF4F3F14750CA066F149E688FAF8EF4B5FE6AB515CD298E8D170346CA 9B32BAD1D86DC147BD12EBEDF6CE1E749C5B48314F512470A568C172C35CFA41 031E34586A89404CB5372D7B2C7A6D96F420D4D7C2D4C08184F4AF86B4536A90 9367598424112A7B05D7107B23695CBCD569002290599E0FF4EC5C852C31F5F3 9BD56BB840DC17DEEA579E7A7A9F764788D4E3774BD523D21267869224D68891 4523070E80A123B58F7B579866332FC38A41A5915EC06F2D14FBE4A6CAF59AEB 57E98D661637EBB885AA5D74AD429CCFF64E5149815E7350118E6385F4C74E0B 2EB474A6DED021D429F01C9B0634A09250C40E22B3BFE1B7246D18116D585F39 0E06E9B5F27A6CB77C8E9462189CB900CFEF08F798CAE15FBD94587F33816EE9 03FB2DA6826EB69D8C284AB9F7B00630D0420EB6E35E0E288BA25F5C2345C067 22412633898AF99C2FB232D1469025BF262B567F29A05F4816FE8EEF5F02BD79 06202F6A1E3E5D4B3C91BA8D5FF53D5136BF70E5FAEF441A7310CA83721711FC 39EE48BFB2FF287234B1A6102AF146B10A632A53AF97E11FFAC3A2A86BBAE3BD E0459ECF0305366078066F2CC628A3918E775E4236651B3D817AF1684B07A163 A0142D16F55D2FB5F2255A8813B8E54EF3E801E95A4A226AB8C0476AC5EDCAD6 9258ACB6F7C0CBDD298A0B816560622A1871FBE2FAEBFE697A8216A0D8FE30C6 B1BA6C3E975F78182743842E7F851064037394142AC91B2530FB1D511EB20F3F 79EDD8B7E1579D35F6E7B2883C47A46B6C1A458BECD6BE58AAFD834A7D82A553 2FE4E66878E4699856DEDE964F454638F768AEDB595A883E380408F558015FB5 8720954ECE2704AFAD4D62E8BB2657C4FA920D72248B3F762B2F12D125B796AA 1C4BD6B42D766EC1C9B2C7AA4B6A3474BF753742DE8AB76D0AB0DD9A20EE2DCA 0F34CB25995ED3183759CA83ABC32B8BDF0B06EF169252587971F7D37463BFA2 BE36B2E45559DD73DE7CBE29DE92B9BE6B9F8093F934BA311D81E18A8DA92FC3 312E3FAB43C53E803975981F0076EBB8F257C123908450661B6FA79E7ECE98F3 B0A94E0DE3A4DCC8E0FEC106CDEDAA297A75BF1E40F3C2419BF72A644F452E2F 9A8793810319885EB3AB23B1E80E8B62A889311355C73722C18E62711A7E6A16 A5B923408444B13F6522FECA9A60B067EE332B83E1A69CD835C9D69B5D8859D6 91F9276863D2E2E8193641E4239F4ED15E2C482C735BF5434BAA454EC2830C1F 7CF766DAC9E924F17F03093132627673BA3D99DC2DBFC89E5BA032C16D3C1C8D 78B3C464081044DB53C7A29E925F4157EEEE928C8E28EDA5F0A4BB6E0042D8AC 7595C350645118172D04FBF06B2C9A9F3603A54B57999E2960C993724CCD6A09 766BDF73F66E07FCA9BD09079CE8010E6CFECBE2E5DE1EA4E280AB78D5184C11 016385007CB5AC0BC95955A1E88EA1A1D8EFEA886007708BA063F556D9284D4D C764E75CECA51BEE3D35DFCEBF6175953D30FDAC00F23B1721A1DD577945B5E3 8176A21A649D907B5F63C71718ECF32ECCF1B26BF15AF694F1045CF98FC75278 E9782ACD3D83CBDBEE690D29B3176E745AAE436382D258CB22F3DEDD02E441FC 6A9931AC2F61156DE258DAAD5EDAD41E6C0DFC902173168BB4F51DFA7EA615C8 B0F92FDB118378CBAC3D56B6B9BB0883C0C14EAA67396AAA7987222A132B7959 44FC1E9D6DB6D549DFBEF8D2DD8C53DD3B66935FC239E74E2C440CCA13C068EB C4A3B69F499F573D076E2C92E24F2C69B806591B0807CD903E078683854963EE 5125C3640860CEF37BE186DB781475554BFE6C528A9633AD5772BD53244E24AB 42CA2D1123AF45FA257940CE611D83014DF04E60220E9AF27CB2A2247BBB004A F5722A5EF058FDC7DC2B6ED1406649DBAA58DF2ED3A91483D60F11C4A39BAF57 CB1E320A987B790672CDD3E3BEF4A67032244DED2FF4588B2072CDABFEB36009 9F4BCBEE16F811A44CEC77F8AE873C90C0F4C975E51014ECBD45A56A63F034C2 82212977023A132E5C88AAA826D841FDE9CBCE7A01E4B6F0EBDDB9A69EFEBD72 0B41EDA807CEDB791084047624BC11CE10B7A0A311272EFC9E013FA374D97EA5 F7998FD908748CA72D8CABFD0F01220C2114D3B462B22FB71A23B284B1CBC7D9 EA20BE71F8ACCED21F096009A14A7C7B51450BA51514707EB46B9FAAB31CFBEA E1DDA6F5D9AF0B6E7D05A1EEEEECD606427B0F2363D1B882B50140466B9D3CBD D00DB06DDD1BD4681E367DAA4B7C405C6281B67FFF794041738FC6A01D261CDD F6E0A330985F2CA782CBCC02B6F4EE5993434F656B91A51CC03B1D73FFA6629F 14F6075EBFD83B702D8844A96CFB5C14051595BC7DB2218156A6DEDA5C98CAD8 BEB5284D9D9F86406A8C1AE85857185991C360E5F44DEF352A1F301207BE94C2 9A3A11BA468FACB3FA2D683419C44EFDD7C8F1079659F3ABD89D7F168B1591E5 6105F9B3FA481BA953CD34CCFE73E427D3AFC46E5C58C2981198BA284DB8B37A 6647BEAA561799877DD6858FCA71CA6003F2961FAA529906673EA94D82D78116 4DAC81011FD175DA707C1E15D4B6FF19F8720A4E05E6E103E2DE880FA9C192BE C5ABE7C311C2ECCBCE8F9713DBA74AEC37A61C8F21F271B35F0F7C88B182525B A4183377597ACDA9A6E2F181725D427795B975BC4168A408D292CAA484BD1B8C 9DC62E737ABC805C8FCB7E96454DA032B601345570EAE0379BDA84BB6D15D780 42FA1E068A7D62F152B43B788513E13724666FAB4E2B4F04B0448194E46582CE 7389BAF0D1DD4435BAA6B82AC305C04686B89FD51197C721D941BD2893596024 1598E6C2BD84527EDA6FAB782033E4BB4F964FBACD96CAEC3F3CF89CBABF6B4D 4D3AD14A03D4BE931632BB03BC2B92842FAD51A19A756892D5B978DB695D0540 CC9D030C612E2B201D60D09F56332DD0BA1351EE62816C21A35C33DC11B37BE4 D2F164ACD836A5CA1553CBC733E3B159860454B17064B4E22D3764FF6293BC81 CFA3B2325C8E072857F6FF4ADAA8818247D431A28D3C5FDFBFB24A6CAA327AC1 0B3630C84ED9F0D33B8255A3CAA9C5A0C79F7BF6BA3B9801C3BD0B30AEF7CCA9 92F25E332EA97A7CC653C93D1497992D6B76363885B92ADE34C2A33E30A3B1A0 57E9C16D8CEC189565808D3FAC92973C71CDE74DE9D8781CCAF88747758014C4 5B62667D4D2CC5EBEBE77C5AD00C6A69D1819F5A786964501E077EB3BBEA52A4 57729AEDF35253F7E1D31F2DD1587BC15CCFC1B0CA930DA83E2031B099A38158 8D1849E7145AC74777A3C7136DEABB0C787E5A218309A65EC7D128147EDE3AE0 C0AC039B56F767A22555CFCC12DCBC7F5A5A3B4E86EF5A69EEA93DF0BAF2A3F3 7504F5C6A7A67388D2F9045BD755BEB7DFBC2EED679497EBEC808BE20FDCB5C7 B586463BBB898DECCCF7249E9047DA943FAF0718A2050FCFDF8A4C2029FBA674 EA64003AC03A847185936FC375CC67B3006EA681F61F640C3640A78D0C7FF521 D477981E23E5956BAF42252463FDBEC49BB560A9428D248B0C5250CFA2A49CD9 DBCEF73123C13BA382D3CF6A7B8A8CA3191D379A659F0E2C6E9CAFE9DA2AC074 F622E397A2F7C73347364AE249B11AE2C34AA7F0D27B5F35D548D5AD1228597D D16A478C901D3A34D870BA39F770885B7DE62298F0114752435050E99EA4E5E0 56B965EA185E8DF96B9FE97EE23DD45AADBFE02B427222B9FC99DA94FB2648B8 46BD30F881BAD3820DCA4D8093BA0FE70E03482CC063B751439125623FA7AE40 52DB2A380D89D5E37BF264CC73DA9A1540031587F481A0F146C6ED6F3F2957FA 19477F075ACF608CD94CE466C1FC3EDAEA3ED25C96FE89A7CBFE528A33C4E84D 465FE6FB031B48D904C5120D428D6B51F3232847CB0B7521E5CEA887FFC56F02 0882B3BB7F5B0B954E7078DE3E31D8AE65F9EA55F4C169DB7C35DB9645617AFE 078E03BF9A1BCE4E489AC9495A1E6CC7D1FFDCC03CEC1A32490186FE8B53B09B DBA7F0E23C8F5E5270D039B409D504203A458EEF12C035039A8AA12C719C0339 F766BE6275511D585F82E9D4AC9B5424312755C4B74383FD094BBB24817D6525 EE62456392E5DCAD0A0157A4A033E440AA014D5682606312F72248E13C43EC3F BBC9B4A2CF19A4AC6ED7F561EB13C3AB22FB3F3EF644B5B47DACE807262DE5C9 50578464845B950140ADD91D72D28470A5A5FB134EC52F4DBBB9C50A7523592B C5BAA056E46F8C004062298BEA010C1CF9F49DEAB58C4D2012E04E630F54C985 328DB2B6FEAC584308D71A9F5FD945A37EA13F3DEB1748320870057A362E70CD 50C269D32993CE9CD1E8CB35BC6F69E7574F37032219C6E1C960F3680F957E00 81998B3645590B53CC5944748E8BE5E023C89F58B1744E8653FEF4115DF9450B D26B5DF17A48A4178B9C41AA78CCD0187068432DEC0053CEC77D5F5710E0D508 55D99473EFDC062979D3CDD54C66A8BB20A41A18CDFFC8ED3E1F4A2918180C75 39FC6C804A9F4995A003512AE9551A0352C47424FE76160C3BF9E3DBFC2481A6 E13BB0FAFDC3423571DBA30913CF0176F231869BF2CAC24B4DAE4E6D6D9645D4 046480483B715486CAEC54EA80F7D9B4EC317A65914F1A9D91B681DD4C153E83 584512C0E1CD6FB6049A43B42F2A38F8422F9E4821F4D071620E4F9D705A79DC 8345DEE0F99354B896E715C723D09727C7A3B39223A7AC35CD34DC166990B403 E5156B32B906344F4317D06330E2C8EFCD29E8365079ED1C093A633D66CD7E78 0EE3DC6FB8E02819F4B1CC23A3552F03C323C3707B780ACF2F02CFC48AE7BD70 DC9357842D4964152A8C66A195A52449124DEDC61C54D4BF5CF1633539B59F98 27B98A7008EDF51509E5C23C9A9487BC0998937F297CB8D15B03FE48467AA3DE E083DDE8602CA4C03F8F667746E1722C7C76A62960F8D54E965C4D52D78B2C35 E650D97DDA320688B1A611EAA1F6CA38256CCD7747F95865903681D2FED7BDE2 0262313BE6D46D54F517D5E1209E38E1C9B5AD0C8360106874DE3B843DF7270A BBD66A34586CF3465060D78F869AFCA75FBFDD7F8FAC9631F3F5222852D7CB07 80748487CD9C8AB730114376031D5D073C7DE5363D998CF67FA2D1F7BF5669F6 EB8BE68782FBAD4A748FEF93C43E0BB808ECF25856BA0C39ED94DCCA57E628B6 30A2C4FE3E30D73286D7A3CBAAAD114BEDDA4C56800311EEA5BDE112E8C11850 7DE5808D5587716FA5E11D7B4BB82A40F4F22626EBC687E0D23131B2A8F7C745 72B1385D25744C9C42F14B8ADB891C4821A33060F6BF55E07F5D4974BAFDCE76 65A04F719B51AC0214AD49A0744968844B9D049A00DF65A337A60C1F7CD04E42 432F9A45D5BF47BF27462BDE6A0FA661C33EFC296F494623B959179FDA54C641 8479D18F8533C01934BC85B87960E805E8DAFEDF5C056485543FB86982D7931E 528B3622503C42B0CEE4E448EC9C29607250628744387EB13D1C23EDD50361F0 7F3CFEB43CF10A030C097574D60896E9D984422D42820059FCEDA0DFA6D82A51 0D154EC1F3F6B8A1051ECABA073F4455D94A98F662342C2288AB45306F631EB3 E49C9A180CF46952D9A3D0FFC89032772ABA38A79BE68F722882501E78FB2161 E7E7E74BE78FA037C1C33179DC8A82B46EBD8B1ADAA6537A2D797D93DBA6E694 4C517E3787B6D668DCC3DF36CD2FAAD3C0067973C13ABEE3DD2EC794B49D8AEC 5E988519BCD5716A787939113C2949E185F45F7B190EF15AEA7A9A09BFEE8145 DF18B933E5662CAFA081B0CB080F364BC282C04905BA00F8060D5C662AF78849 F7149508B5B19A4E329C3246FD45805180BDB387776EDC7248417E871E05A6CA CA783D5AAB3472319C1A417F30D031999DB1629BDCBB1375DD5A33C2429CD6AA DD6252E9B23B1A67B771F4F5C2BBD4E145ACACCB9988570F9FD873A26D5C4068 7686F083C74F632AC4DB2E6831CCD0038A7ECEEF94DFC2FE688616C3F703AA38 F284653F7DD628F15E0BCE1C4D989963D672C1C9600172A3E18226B16FDB053D 96BC488138AFB6655C2460B2B833244FCE1DAF305010ED7563F28C238656E7F2 7C49546C4D2E0463D2133085B1F29F238F6205B03F44C085A3AB6374A3009C6E D823401FF757B6CA6665604179B5125B330F06ED23D82BB50F7D0AB2B68CC0E6 A14F86B321260A8B1E22DB901E89F7EFD9C1D2F3CFBAB2BA97AB74DEDEAA2736 294CEE0A4605A960ADA84BBC18747226E42A6C4D98E03C6CCFCF349558CDD1E6 881B7A5114CB6B04D21A229449400DAB872F67351B3F25511D35A663A589BA4B 859E7898A54699BC4AA57218F17A5F215C8D1AC4F5A3AD059108578BB718DA5F FDC86E5B9B317D312CCE8CE0706D5FA19EDF393C70F980A18C3FD19939E34659 28BF1EEA6D9A622B996E400AEE5A629A191A5178539A353E102680B33B50DA05 3054152C276802080C2D127CF7DFD1165169CD0C1E4D789FD52E782C8779146C 3D48603A3FF9543D12F6BE5F26031F41BC4BD11D02EA959C16CBEEE504A9C17C 40189DD10943CA9D504C7D22CA47275835B030836B24FE55DB8A72A2914875A2 439A6494C76F2D4961EB94B4BDCBA14F0629B1682215B3B2FEE8DD0405116765 B87A628152FAFAADA7F1A72FCBADFB0E699BC3A49D59816261B5C1CACB268175 F179CC1B8B24226003F559DEC3C9EAD4314CAC468FB7C2491C23B2A16657B192 0202DBB58C60A8F3FDB6957D602180678D9C3B0C450026B58EF095EA346DF5EA DA46011C2C912ECED1FB773E8A4E0CE39A5B68E99B5796EA43455A23F4F69A31 6C0DC78C0AB79E4E0E7351132E9FF7A43515C1BE028BDC45C4B960327C38FA0B 014BA2334A9BB338344C658B88E0FECD520E1F1B5FE5A6B505C0FEC3D3327F08 F492656C76FFF31266AFBA642D68091F507DA8DFDEB13CDD475C4330371ECA1B AC8B1CCDFE7766CF030557E10E4F3B93DFCBA599881D6D51E0DE344E4529E0E4 92F2B51BDE99D83B39278A03A142F496D3EB3AFFF53955997AD2782C4E735437 CDD0FDE862123FCE85A497621ED9FC3D64F42672EF33DD54F1E2739439D30C18 4F86DEEABD49AC370FE9FD46529D578E9E21D64549C9455868AA587AA4DABC0D 3843A37EA24D247F35F0F449DD9E0396D5BD57D23639B119320CCE51B7830FBE 48B4BBBB9DE199EF36D5BB6CB71DE5BDED0AC9E919116A0DF83133335592EB8D C15BF10D1D829467CCECA66E5E4E2085BD68B226F7D4209D8FAB635481BE2BDE CE0AF80D973BB33A4F562348AD6143CD747EDFE0FDF45742837EB8A874BB4FAA D876104E740803B91E8FBAA70535C8204060BE2C706A0CBDB13F784FBBE8857C 55FFBB7BBF802E0348AF46ABA05DCFFD879405CC7D2C829A8EDD4C6EF9A7A205 64CB7962FA9D6BCC977FCD71B8270969E2E5E3D9D9CBB4F3A3291DF772467E0E 9969785BD237F60249F7ACC99B9B59E8927599CDC7C7995A11E1A14EBD7F372E 3D6FF715EDEB903D0CD388F62AF3F7885E255BDD6822BFBA8DA0B01E2E6B015F 4C50ABA526788AE02F517E923D470608D07AEE8DD87BBE5F37BE2203518C6238 019D27DFBFA75DFB7C02D0FD050E56578F141921DD1B9BD9DE5D89AD0F21F9E9 867F39FD316630939E651AF2EDAB9BF060E46D71C1BDB5E5D7EEEE8156FA528C 22F0380ABB87396DFE5E71C90B6138E4AC5AA353F1614F943429D113E508C1C1 DAD9EECF93C8EBDB15327A65BAF9A9DA5EDE7E88E61B5A609B4A59EC4D58AF8D E90B124B61C1E3CA3529E2EB8A3BFD63A42228FFCA57D9C84987BE03346B376D 71556E888884AC8DB72523558D7C25D8B02D4497692631DD5E8DC6A092DB337A 60179F204B8A791BB5D5C3CDF608285BA2218B59E2E3823AA885F37D11B1B68A 5778308E0C08EDA586A590F7EDDF9B95E823677B5E6B1BE3C9CA4572A13BDB12 F90C6BB2F966E48040FBF0F0D37606E2DAC69B85E8AA8F0274FDDD4DD1BAC9DB 91A8CE0122F60874F87B8CEB5DB4B56E576E667BFD279D8392BCCF86DCECCE26 6C6E47EE48B31DCE4216C3A1F28B257A08B1A7544FECEF727D09ECA3804861A7 DD07712F0D43359ABB7CEE766DF8D3082634977DC102EBB2A86004D1534927B5 A88A9E65C22BCC6AC7062D76821B80301D6E16C34C51CD2EAA28E0C37AC8278D F12B007B28F26A0D7691D33F6F14E82297B7D40FC152DCF58E500291E59C7306 FECE6117850CF17F9BC9BD94C616D43F92407033B35A67591022BE1B0CD6C4AD 450D4763B568B6A9B321BAF10FD0961184979C0B5492FDA2396799ADE28551B3 BB74137A6FB0D96CF1344A37303F82691D2555AE13F8158A1F4C5FEC1D448DBD A296FD0F6928478D808AF2EDA0702261C084E336103EC69E2EC763A9686B7ED7 F37792DAF2D43D99E94F1C04E8FA2C8F48AB648BE25989FF2EF5C588BDAA96D7 2A347FA54B3B9E3199931C8AF87AC16D786D218E71D209E3378504018F4E8550 F8A765CDC10CF86DE5E97BD99AE11A5C5839E980788FB2468DF5AB4700AA09A8 2F65634802D5C20A07A0A744D18716EEEB6996B2A8888A24FD8226CE218E6BA0 27025E5B23E9EDFD9EB0FCB9B1A1278756358DD7D1779680658847BB34AA0CFB 8BCCDFE5B39B3E587AB8D9DDC6B5687B2C84422D0E5DDCFEBF1757E73C20D4EF 51F787B02EA1367AB23AEB0444720A76DE5375CC33BD10EFA9AFA25CF11075C2 EA052B39A001FEBAF4A7F2E3436E1EAF0387BFDE4E1085EFE9B62A23C5FFF6F4 335CEC0281EA8A546210AC22140751BC5B246DC105F83B7012B6D542635D0546 D3EC88918B7B467475456D0E49B76C26132EB5944E4B395D0105DA3EA55FAE8E 10C66F1FE72DCE5CDDEEC7E3FCDD7A7DD9E5DBB9A3875D1F4234D7E2D6E76B29 B5445ADD9EB98CBC0245890859211C343D6C5AE0D0E5900B5A17C3EF73173C56 35EB1CF16F74B3379A80D7EB38314637CC88BD70B33E3703418B8CD419FFA0C1 490A95CBEBA354857A2E4AEFA22B86A6423329346CB27790F473A72595C23500 24E41987DCB718F71A230F40DAC3E6B07C4AD08754C88891E6888E64403E0894 616B6F62E87AF83367CF054D2628C49F1FF2BEDB7270448D80FF3FAAE00FCF99 6A403469F0090CC7D110D80C02C294987DCD56D410B888990CED4159C47EF820 EF930789B5141D1E3DE91EC4A9AF09A4288B5D03E66340D4721AF8502B5FB289 2E5E3A99DE05387AFF9F6EAA8DCA197190607CD90BB5B33E2F0479F6EC39332D 011DB5744F49C8D72321A020982E73449322F1E21E3B82BB679655B7FB3E992D 2DFFA9869F073E7859D68CDF0BDC101EBCF862FF555109540067A2140E9747BA F999B87149780CB1CE7835B18C35A63F5CEE950BFC4C88B196AFD174446F735C DE014E2C7E96F6C5AC913436A1FB80F49220A35A377D1485D2ADAEF771A97DC4 AC36E4A6CDEB07BAA3E9CF8893FE13E7401897BFC99699B53809883C9C56FF9F 371C8228F3BAB874C241CE6DA2C17EF9C74500D269E75A36B07EC4710A8DF01C 9E4A7B5C22A9D82A6EBE08A656F76264CE0B27EE8BEB5F832CE356206434335C 323D417F798D189D2CB34441CDF87DEC6595C16A40B5D0A8EF5166DEF58DBAE6 5711ABD061A995C13E5887C8CE0AA3B59276D91C935439A6422099B434049834 09F9F726E844C7F0F2172720EAC9AAF4BA7A13ED7A1B3D6F2454F9ADFB0F2525 72A3DACF49837F44BAF2FEDE40F9F63736204B4CDFD659E7ECF8934A9CEE5630 A40D175A43234B1B28920A704F97E1E22390721F574B6C9FB6C52A89B81B7110 C622A7B566F5FA87940EE2A16D8989903D783D0F03E1B2687166B03329523964 80E07F1408618F3731731FD31D550BC025CB00B6EED3A96FFBD8207029CEADC4 4C97CA7E0D9067573B92438EE7972A105874B808CBC96E22D25D3F3C3C1207DB 9DAE8C1343A8907C4337F79E801562D8ACE8678FD15FB57716286F4F51AD7516 576ACD964EEBCC0AA0537B774254EEA61B09F1A12485D988CFA9F5E954CC7305 D2C1F4F3E38CB31F528999160D492D7830D55918A27987B6EAB3156DE7ADD8D2 9205D29F0759A3A1EA279771D77BDAC4FF33571E7D7454382A36EDBE15C995FA FB9C59422078CB77577848C04B980D5DBD4165487CBEE7A0AF478347C5DE4A32 AC5B9FBF8E9BA98775443DA010F33D837DDED5BD63A595F5CB967D0C0BF69EEC 30E9B73BB76104ECECBCD0AEB0D051146D19D5CBC040A2E0B98087D33B82016A 93F2C5BB33CB61DA9484ED90547F10BC7A036D8AED5459A93C802D4C039D2BB2 39210A152CB4EF818FCCB28959E6729C3DE2D48F1FA1A04638520E2B76AACA28 CBDB2CBA4FC41363E7C4CE42BE80266879C940BB762EB45E3FD00CC8D2E4F23C EE08C98C0ED395BC9A8B7A77C510DF16FBAC155FE44BD9B355E2C566AF84C40F FBC46C54DF9ADD86EF44CF1BD42F1C1D4010C18279CFC621B79732B1C1D4BE98 94905924F2E48FEE0C2910DA2DF98BCA223723601A5AA699EB4EE5C786971632 6B3581DD7D81A5C6F52D6A2339D73CAA982E1A69ED9A3D780ED797D97C3709E5 D024D4D83D58FEFBC56D 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMB10 %!PS-AdobeFont-1.0: CMB10 003.002 %%Title: CMB10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMB10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMB10 known{/CMB10 findfont dup/UniqueID known{dup /UniqueID get 5000761 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMB10 def /FontBBox {-62 -250 1011 750 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMB10.) readonly def /FullName (CMB10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Bold) readonly def /ItalicAngle 0 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 58 /colon put dup 68 /D put dup 83 /S put dup 87 /W put dup 91 /bracketleft put dup 93 /bracketright put dup 97 /a put dup 99 /c put dup 100 /d put dup 101 /e put dup 103 /g put dup 105 /i put dup 110 /n put dup 112 /p put dup 114 /r put dup 116 /t put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3DD325E55798292D7BD972BD75FA 0E079529AF9C82DF72F64195C9C210DCE34528F540DA1FFD7BEBB9B40787BA93 51BBFB7CFC5F9152D1E5BB0AD8D016C6CFA4EB41B3C51D091C2D5440E67CFD71 7C56816B03B901BF4A25A07175380E50A213F877C44778B3C5AADBCC86D6E551 E6AF364B0BFCAAD22D8D558C5C81A7D425A1629DD5182206742D1D082A12F078 0FD4F5F6D3129FCFFF1F4A912B0A7DEC8D33A57B5AE0328EF9D57ADDAC543273 C01924195A181D03F5054A93B71E5065F8D92FE23794D2D432E1428FB6D5BDAF 3F02C975AA4E0072BE5F8CC7D3D59BA3FD04709FC9E52189F55C7747056EDBF5 F85CCBDB1DDE9F9163AC7158EE8DBFBE8D94A46510118ECE6A280C4872F448F2 E6A6B36AE3224FA448DAF204D1C998D010C6BF52DDCC45831DF1EC22528B00C7 70525CAC9F6BAD892E7D5C81295A2AEFA8A5E4B6BA2C4EF61FD3FECFA2A8551B DC84DAC597222341E762620D3D3C1A4AFF2F6D68C4813004318FDBBDE23AE224 617F7BC1F3846943E915624D6BBFC555E2EDD013F190492F03CB64E5F2403723 7A2D4652BFFAD1FAA1DBA4538F2C3E608367BF95E09B853A2BBF9930D9B3BE46 0BFBEF05DA75DF3D8E11A09D472A9E45C626428A1A599C111ADDEC7A4E70407A 014F792395A2A12303EF51698D487854EA15000AB08BCCA8B2E35A5018F5460C 9B223315D7B838BFEB224E8D1DC9A0C1077DA31F5FCE0D9D499EB0507B90E9A0 1F92FB5FBB8D40568C1E8B8CD6E1DD27CAE6E107AEAC5696CFEB19091B40FD77 7A4B4F0F261702BFF5E2320C62EB5C6E9DDE142E9FC7DEAB99D90297AE0F15A7 04C0E3B39FBC85CB6B92BDA7917698230B5374D9159807ED1D07947D95802693 A856C84812ABD3EBA336B88CC8F37288CAB59790B0882A4ED6815FF6D7A1BB35 5C7B7437D2ED76E806813478007886ED1009A1E73CCE210FFA69A20D6E05A713 F6EFAB133D146B0EBD547CD29FFE7870973C1E71854C1C643BADC69974BE360A 4CF84FAB098EA3DCD2DD8B2FAAD19429B0ACC7C312B03E6446F1C1D51E6AB45F 72F11FFA078DF3196EA970B24B1BE607571795A2FDC2EE7194E9422C483799EE 23E16A737951BB935EE2C2BF008B6190E0138D551E75C9E6D0EA48E64E9750C4 BAAE32B894BE25D092CFAE894230430E43C585D0F06636C8D56BB80A4597A0AA 547FBCF12821C20F0E62369E1A9CD2343B8A8647B2FBB1F4C86CAB1F7A14669B 69DC857F9BC7538A864E523C2DF7C830315E0907CB17C8FB6E412A2A9E88317C 0026A6A402B36BDC433015AEBAD775835E5ADB4EE75FD8CA06C199E000CEDF93 00692F29C5394DEE45DFF2D42872B1370C8D4A14E144FF36163C849F9339AB97 EA87BD445733162A34E609BA1E92DC92F9AC892E7A0B39AB0FFE517856491695 56155FF0C2B231EF1314CD4A146EDB1CA9AF7DD546CACDE1E6B49BF0D4ACBC09 55C85E2D38DF84E0B779642F7E9C26CE19EDBF328104B9E803D1B03F3FC24C4C 9EF0D27C8E5AFA420A63981C000A0C1F0B3D3F853FF300EEC524C586376AF998 DF4ED5AA16D8E298C159C2A3E33048D4EF192A11287F69B11BE24D49A033B334 83CB8783383F92EFB9E3BE84CEF37796BA4211E534B0360970B9C57EA7CB54FB F582789A83113ADD2415B3F84AC4ECA15DC70878A32559198DAE67B083B0EE6D 68A92511FA8FD6BA88A42769E3FBBBBDFDAD61F99A6C274B48CB044D16FD5953 44F1503D8D1D6DBAC41C1246A71EBCEE5B1F0DCE3EE7E3A99792DD8FFBD94DD4 3A5ED347A62D301B6739AD2BCCC7C57378C29FA5A83759E7AC6F1505DF6C0E16 71587914F698608AD93ABEC43611DE709ABC3F1C0A1343CBED5F09DDB4FACE0A 8BBA9DE5B85FE9B4365358DFE877BBFD9AF08BC60BAD7C41433BBDBA17EA9A7B 92F76358612FE44F43A85588DAACCF7846ECF5C58B22F18120F895317609AFA1 06E88CA1D73C4CD5098CF44093207C31F46977B6D22665AACAD5A169906640F6 3DFFEB3937BD6CE1501C52783743F8F6110DF43ECF512D49A55379432CAB1C33 7C38B7A38DDB91F0683A052378CBED8BDE4E6DC32FFF6D723A4D1469D32AEDA9 FBF89B9604656DD0D44ADFAC39BA893808676E1E08444CE56F6CAFF3E93D8D41 F164049193BA11AF94B43515BC79D6A538C00B08FB518EB67C27E73380A651DC 4B244E8A2E4ED405EA5C7EEDDB09D44C458A883C839B98D9D6A2209516E0310C AD777536190ED06F47EB2ED61C53A2E0AD0CA4E4035324DE75F272B1CA6BC1FB B912807B7331D932DADA30F1975A1C9A8B55604EEE8A0CB514C6CAEECAF9C46B 5D5563E8934B421EA1CCE3B96412D78DBEEABA59FC603CC6ECF65BDB5B66EAF9 14B852CC04286EBEDD560713090BC417A10BB834944E007F45B61AD6E6150B9C 10A6FBA56C1B45EA5F9A5379B1A0788513DD4100B82BD61D89E6841A26B362B1 D4762EAF4FF3BEABD882700BE9832115405728C5292BE942F871661EB0E6B29D 430CB271A090B6F5399184F21ED6728171B1783C982E61DB7C0BF90CBC1482CE C6982B4F0AA39076B64CCA5A71BE73CA65F2CB60B89AFACA957EF8E6429F2182 CA36220F80EEC5D01AD7061DF45CC5109D9F0B7E2B6DB9D6C6326A45DC6C05D1 E81B636A82592D99C7B7ADA0E958A0D7570BFF1830017A6241AD62C53D4CB36C 583672FBA265142DCE545F4855CA3D9E528143AAC66EBC9527B76EE43B4F4E2B B209BD265D6AEF18D168CA7BA2CEC40DF86FF352029597A5A3B2941D467DF229 50C788D4276C5B400F360AB596E35983262A215047C9714912B2E69CABC0DBDF BF6925E19EDF3A6638CF5794722C8B92C6DCF5853DF288B9DA52A2152F98227C FC04D3C318E7D942E9D33582A490888F0C1CC1A8C4474091B4956222DE467632 33CF5DB7DA165B59A648AC6945687B0ADB83EF5B286CC469B2C9E4AE92ACAE8E 86E4C62A092B8F6C05EB2ED346DAA7C573A03760ADB3CD55B6C794FF4463BAC4 2F4A738F9C4237107C503A7EBF4F4BB4380DBB64F5F5C9B268111752FD2204CF F25085683D071FB4149A64426859D407936A3D1E2C627652C126D8F9264E2919 960ACB9DD61BDF973492CDB1FD20EA81E06BECF5E164A8ABAC12926DE1CBC0FC 6693737B4875F465B5623C899FE129B3A52A2BDF104F8B8429890AC870580C7D B078A9E26C322D1A8AC1C6B2BF340813D989EE8D054882B965905D33EC3F4278 DC41BE055E0E5F73B5A1F45E9E69718F5E155B4EA30B28BD28C52C6C322F2E84 674CE600D699CEE1D2CFB7212BD8168B45824890273A0AAE4757D112980DF2DC C3026300B4BBC9B081817AC7F4D48B309E66CC7455708C772A08EF6FAC829363 E27AEBC3E7D0A91984C05935B16E102E81D6AAAC347E38EBA40125543263BCA6 9C6F4AD6BF8C3A90279FCA4A99D9290C3B8E0DEBB4B2DF932F66FD47AAC3094B 7582FF8265CFF8BBC7F79C8C74B1FF94B26F3817A39B5FFC6BB562BF6DBF9CEC 31CC3BE4D7E431D41D55D96C4F020486F993781828E9E8850192F9F6BA350AAA 5E292210B0EFA4061EC8BD6EE15E3FAA4AB2F54110D17D29BA32C0D28559FF32 D164DCC98EAC78822D6D6AC6F4871D47290A11C83670374F072A9DC723096C89 EA584D43BBB13584D9B8B1820C415DA2E0DCA1B50655E81B47B9AC8343DD8FAF 95F4771ABF81361EBFA9259EE8901F31C21E95DD22FE04BDB77D23DA561FFCE5 A7708647AAF65FBA2FD95E843D839E5734D4C08A215180C7244924E002A965D8 AB29470A1B86065B4133A9A6EBA05EF1AC67DFB5ED8DD8C11450233D2624EFEF 3E6D3DCA7E23ADF174BC83AF25A1D7529E52D39C27DA86A2DF4BE4F8A96361CE 7025BC1954C75A765ABC95B4AFE0AF5474653E6808F85893BE6ECA1A37F8B666 05A9E9FBAADB0DD86848D6FC48A1000FAB396F756513798E09D29ED6DBCC8466 40181BB71C92CAAF8E240E16304DB9F4B0FB6880004A0F9AF6228E60646647D1 669577DA709B4FDB8721B95B07B4599652A303FFCEBF858A41F08BF3B83EBD31 74EFA947A8ABFC7467D6CC544B655A7BD4B6A4F5EA9BF11CFC9CDCE14FEEDEC5 9116A3FEF962932F8B105BC4C51744916E8976815AC286B1E682D83091E9C533 839223A68B9D977C41107F597E05C3D8C1C3E79542A990B0E8E22F34BBDD8E47 B6C2CAF54B72E8F0E8A41DB343934FD2C33B6D77AF2E9061C4E76BF258CFD615 30AEAECE9D04569D358541C346C922A01D017BCE85D4F083AA9B6939D85EEF29 335D1BDCC9E6D5F7F58EC2BA2D8CE50CCB38AE6A2DE2F695B76831F8F591BEC4 EC6391563D18E4169151F552B5E1601B1DDA6F93E5C8B5F4FE63F5E002AA3C15 E0C8DE2C735EE00E9A2A01530FF37B7FEB0FB182A4E381CF1BBC80D743209814 F99002980CEBCBE3E677005766CE1D0AF4DCC9F103499D1961771FFBF01B833F 1701EF6EB1A381A287F73E519C01084241335905661B2E8B86B398C88F39BBC5 09FACC1344E15CC7685708BCB3F43EAD4E24A84AA0687FCE0A2178D9BA84EBB9 68E8A727DAF9A0B28A7CA3B119798603F9BBC6728C5A6B4BFC84C95DC4F36839 C2649E364CEA39A4EDBBA4C0E27C61648D38CA46B64E8CE797CA3464C80214EE 28A1E58B387AE0A663A39F04F57899ED62FB0E542EA108AC32490B4B2BC068F6 2087BE9C9C3CBFDD80F2E632BC4C971A79A0A3C3A5607B997223A9F6373EE51F C58EBEE7756A391C91758A1F6567F532A5EB762A2927F57CF9F0E845E4F66B3D 8100D1795B706FD32944CEF24A054650EC911A54A22F4F35E3034AC70F07C98B 8DD43BE9F7D68C50D6449791F5331A189706D9CD18417348B9F296D8D01368E3 2523FCC0EF33B998FE925B4CC7BE329B32D6AF791BFFACB60E4874412C8C8676 34914A453A592C7614AEE5001DF3E5E8D9335A155C65174B940E1AE61ACBCBD8 A41D7E1C6FC0680E094ECF65C60CE714E6EB2A1897D8A3F39FF58D64EF7E9A41 4CD8E55BE32CE8CA29239A9BE3FD6B1DD5CA5A035AB1FE57CAFACB8A39B6A877 C853BE6BAAEF5714982FBFA414EC128B61326B60D83076E690FDCBE3D2AD256B FA7A15B804402826684AAD933E94853CD0CDEA3CCA7DC833E486F431EC4764DB F3FB244DB99FA0CA2FA14DFA75A326385B3AF92AF8E4C6D437DC3DCC07FAF25B 6C0F270333ED377B08E498BC3004C25C7A991DAC9A3E0D1FC43E2EB6996C7269 7A864CEF35FE312DD8F87E37AC69490299CEF9B059EC7E7492D1D6E5640E0AC6 35B97F7A629B6B7CDF3BF86D2B518EA807B03E4F79DEA59C84D98E4C94102EE3 71A29649ED75F5ED02EFEED8064E2D54E8F9CA0C4284B987B81B7F41FD7DCAC4 FB9C3ED70774F9FD09F3321CE1D0319C1129F5868DABBD183045984748C8A3E4 53E085818729A1353B13C78E63E837DE483E9E2ABFDAD16534420BE4D7976D35 F56B86EEB90F663E9778A6E0CD698E6324EC2D19901972B74EDAB8F4073E4F37 89082F08735E8345BA167B2B76C77703C586CA5DAF41C0DD0E231184DECD8A9C DE8FD239B6CC636507A5BE6EE5283C06A1D8D59E98A31AA76F4D358DBC641DE2 ECE3D9F2D262FE2E878E909A950A7642A3F59995519D541B96D459F24F12682A 9AE61FC08CF436D9DF060DAAA90884A1281B370A2F824704B5347FEC65E14E7E 3D212E29723427BBB12C1CB91B28CA47D6FA8259A875EDAE4B49C33B2F73938A 784C1E7A7F21873CAD55A868A1451B070A3F259A983293289B131E07C903D7A6 3CC66CEF8C4D2B6736282896A2683EEB944B67240CAC5FBD8A1392A875245A9E 2611B511909A041846063E465473D41958104E92519C0F86706AD640FC6CEA10 620C9718C4589D9D562D8810CF6F461B776D5A1B040F8272D43C029C2A695D2E 86CF508C4AB11104E575E13C2EF56914E241279BE0558CD3D59D25BF13CE8212 3D7AD1F25FA5A9155AA06306C7CD0F49E3498856318B0ADF279731E1769839EF 98657EE73CF07B0585EECB67F5FF609E0E3DA1B78F6A8FBE2F2E0C051237AB4B 1587DD72BBFD962E865EAE0CAF1A5C592F5019C7533BAF297C0F78F3287838D6 CEBFC8B5969486A5134DA76B4961C8056E1EF1F2AD17F19D7998175D66B3149A 2CF21CCABA281EA0345EF50C1EBE7004ED495C6D03963B639A66638A43C049C6 DCD311B5F86EBC814BE42D432EEC87B861FCBA9C8729FA5AE87E20C5B30B8E5A BB41189A42B9853CA408BA01A559CAB722AAC3DA28E70AD79E1BBC8B6FCC937C 180B5C2E20B03D3FBAC60C83F765CDCDB3146FE5C0B02911F6E120D63EDFB0B0 86CCF83C2AB62922450206D3701588B54A8B232126BE120432E6BB2E25C50B13 708D742A44E20176C54FF89F4589B10D5396C94625AEA1914AC168899FE7AE9A 7D90DA67A5EF3DDA25CCBB18DBAC3AF4AB889528A381542185821B96CCFB4302 987611DD5B5B8514FDD7F5148D1BAC9C34567F75EDAB317E0B8A7A76604A42F3 1D46332C4791006DD1AB657308CDBBC7314592707EB163326E345C2C5EA05B33 01FEA5B7A346E6B1B6EF58B692150C6116B149B6A26B493674337A9C1CB4F42B A7A80AC587F9BBD7A487F407EBBF9978840A01B5E7E772DF7EF28481E7AD14F2 424816AAA958320A0E6F318C757A474F7B05AC0F570094372CDE877B479AE3F4 90C257A2B3F443DE43D8A58594BE8D4B5C7E5E075ACFB1AFAD4C06415266E168 FB38C1CA256287953EDAB1D40537A3633CB52FECF3D35BEB8C2C6CBEECB54BBA CD6E043EEF68A21D7639FAB8D1006B1119CF92350D9773502F7554B4B3036EA3 D747596506FC674DC01ADEA9B45ADC43B9E6947235E9BA30FF462252038D91D1 D908E9132A946FD03B86A08885AC44CEE72F0E27AA63A901F2DCCB86D87702D9 A66F35F06D6640115B075B0260FB116E24E795E24DAE988CD48A95FFD3116E92 63D02221D272531186E2AAB74496FB78A4064C9C9772608C49D46E40FE28088E B5109171E7AF69599BD8BC1186C196EB11FB4132F5C9FC1395220392E17B66E2 32215E54E9483196341D6DC691FCCEFBD00DFF4C095FA8AB36A374BD5E1F5082 730A698AAB7B57A5399196ABCF7B7963E2970CCAC5E9A5EC552CDBE1E2EE1968 B81CF5BDDFF9D385C9C1FFD726A0C52A4CB0C8121E77AEA16157C1EDCD1AEFF5 5607E8F5C44072DC54332B95AF28417E2D45B4685F270821EB6C455AC147F938 50CC9F7F2006D933D0664AADBF5D7E3E6DAD57527AB59DDD13BCA392B059FAD2 E7833AD00F62EB89CD7BECA9DD479F7CD7C981859EF43CBB1EC1681081B58A39 2CEC9FEC039082771E1BF48968431F72817C8156D0D6B65DD33D472BCC49496D 1F5FB1796892C6A45BCC65BECF41D8604B811824739647D87A7B28FDB3574478 9807DA2557F411E0BA7479F31B9E3BBE6F3CAAA653883A9D2BEF2073F47F057A CFD20BE1371F17F5B6F0A9520F2EFCC3C04A24EC272C43E1F587ACDAFEAD7076 6139D04FD9A50F67301D7765109C76D6270D2DECC94017A877EF386AC7F625C0 ABCA9A6D15D71AF7A5889403DDB83EDE87EF5A69EEA97995CC1601160B296750 32AD8D65A456F5471AD4536F1AF41A4D370203F897686CAE7C89577D3A843E90 9C08CF3E3D489625256DA5E0984BF971E0D8D251AE5B09C17883CE07750051DF 770B920AABB2E80A4944EF613891B4EC3F9E214339AEDFDD5DD15240933DC82C D878BCB743ACBB562A41BBD86191E1129718826681FD12981D4159C7432DC3D9 AD4C6C478EEEA0A34030BDD0B9122E8AE5F0B473AC5A48346D56C2DE42815D19 FE378D252960D3F56654B31C58CBBBE0D634FF6EB81295809AF12222C58345C0 4595590B2DAEF5F3CCACE8AD4CE8585DF4099665B05B32FC49160ED307573D18 6C4D88C07CCD1BD4A0179BDDE6524D8CC9A70318578646EE6F4DE040C56C90C3 C5C5827A77DB584E95F55F083D07AF133B31DB611D1831D93180F66A13E86AAD 573C57B42DA521764563F69E7D4E26057622C17A17BEFFE96B9154CF9B9E70BE 65FBCF5161148906B811C05B6AF2EBF80DD90786B4C19754DFBE0653F3D80F49 365D5006829FED63CB9571B219B38753D90DA82647B305ABCBD6C49ED9DEE464 62D60676F891DC1CBC2613C7770AFF963ADCA396EB26D886FADD7D7ABF910EE4 798D537E8542C599D4E6BDF99D27BD64EDF7574B612B85EAAB846B6EC144DE2F 325FAAA3E3C33421B8006C3C64A5D62DDAFF65940AB969F230D73427A7ADE48C 3B1DF3C1C46E700BC54CCAB03493FA821ADC072B7248417EA0A93D1D2A093D3A 173AAB6C7D99A6B28090452C904ECB85FDBAD1E306E3BC803F16C6077F046C5D C0D0C0AD9214190937E4A59BAC1A2BCA18C2878A95BDA8F401BC2AB388AFED57 914AA396A423EF73F84CAE42275D964C248697A788C26207E0814C0FBF9EA07A E28303A49F68895770EC42B4CF0F62E8570E8D80286D641000A8402374C0196E CCE0A7A04BE6D6F52250D961719A58B9C81452FEDCC2535FB36F19569AA459DA F19E55E04175DD7CD739507F8D8460E4E4586DE4CC34BF5A9B61A725DD188D06 CD5610408DC907BA8AB0BFA987F6EB037F1E560CD6B23DE5C68667C0DDA5757C 9EFF0A9DFE0A84E5FA7752FAFE0484B68D3609F3861FF618ACBDB915847E0B98 8DCF7EF68100BF86DC875AE75149756C68AF3DBA6806AEE88AA093B1AA25912A 87FAD072D9ED39DA9F43F39773B9D2D2F44B10948DF1CC57049368E8E1E8C9AE 80CD650A32A77392F9BA739F80DCF3FEA97BEC6BAAFD9B3F22FD232864FF5BDA C2011BA601DFF841E46FACE46E617144C98916C66545CA720DA712DF4C1EAA56 292592AC199CB32897F6FB70F4C04449C28449B55C89AA5A5525F5202E77A06F 96A3B25ABB1B69B9BCB4B81FFC28AA0B2660C4E8B81D2F819EC442C7D1527AD2 5937DA6B43DAF61819961F63380AE1F7123F64FCEE006769BBF9B4EAC830C9A7 16C33DB25287A70AE2E31E88717AE78B349009F0B30C8DC02EB83DDAEBB5E99B 225BCB3FB59F2DA8AF3F499E0CBA8A161557FE9ED4A305A796ED91CE256F241F D8C194F2AC4AAB4994A3A9E29372BB0111EA33365D0801098BBB896EFFDD00AD CE69287DEFBADA570A47CF34ECC68307EBD6CE9333ED278B5570F9EB261C41DF BACBC12470F67C40324BE14209C121C68DD7279264175B53D46155C546ED6E94 263A96DA66C13523C36613C2D06049C82C3257F542C97AB3D8DF4AA096A964C9 5D0BBBDDE5F2203C8EE109C4475B36AFFCD43BCB6AC0418D489876D8057B7DCC 8285B3FBCDB3F536F6EBDC929BDDEC0C00FB41AD1E72C808E22202BBD25577F5 4C99FD811553AE711602F52BE944395E03832B9F1372696545A6DC111C9B6098 17AAEFAB7D5B76B03E578ABE923B73AC4E4C376ED40E44D1F8B5511E82106625 BC310DAC6A3EB5F9EAE156BB34BDEED529561F1657CF73B65BFC39486E39172D 22E3BD0A364F4A65EAF0B98F31741C94C122554BB2357EA8C84B4CA170998F62 A0B52B7B2CEB0502211FFB344BD4FBA1A9F30110FBE2D8F9D4DC90E6ADE583FD 7E9B0FA7CFDF8844ABA37EE9D86FABCCBBAC4AEB6431AA202400C3002986BC70 B05A8C792631602A481F7803EC1942FA08D0850FA1E132136517547636A703DA 0427DA5CD7BEC2365F2FE15144A6DBC7682728C96C0A7FA8CB4A523EB9994687 4ED4EE234C9E8B874F0353A3A5FEFB306FE68F32A56B1934FB2EE8A35F3DA190 C37F59314ABE63EC05783B73BF4F3D32CB3508D3680BDDB52DDBF0C89982B308 5BDB4B7372A77A59B3E262B37821BEC8425DAE70EE3CA78D9F9CC80A2F0E5E86 EC26305F7110FEC4AE5FEA2B4F5C9E8B97688B7D8F726F02791BB2CF230C6356 8733EE06FAFD718ACB308AD7FF6297A5D1E8A9E22B3B250F5BD4C3B373B39E8E 36B9FDB32FC4D3A17C07399B9F50C4E090CA89571E50AB71A3D674976C6256B0 B89570C82828CD3F4F8F0B8736CC064D13D6A96546FA240277FACA3E764C87A7 AE477F0B1A75B1F0270A0BC9034AF07525DDA647AD84F272063DADDB8A84E599 C73784E132E03F1CDF75922BC4B5E8BA2697BA9977E84C20D28DF6552F4DB84E E70247FA3B66ECBEE1761E3C5797E142C6D11B2133EFFC5AD932523C04092907 C6386F36A76B4913361F8C2A6CB6BBF4E8147A9E45247C00F09F77A188DF66BD 077DF4E14CE28697BCB85CA8E084F7B7BF2620F452D881864AF9C0060CFDD2AE 6C792956FFC3DF8662F136C3BAB667404B5706879B00095AE00A84322C59D597 3CFCE69283E8A51FF6A9C28D99AAAD5DF695F189EFFC7BDBA86CF807271EA0D4 8AD33E35741AF6CFDC73A55E5CDA3FE4A98F01FFE6EF353E1A394DAA5878E758 E65E10D65A3B912619C5BBA9AB7E88B8371C75BED75566F6E8EC53189C62E00D AE55088812079004AC536C9E57FA2CE9C781E13C47EB2508D3E8295057FEF1E8 D5B9216FCD75FF1E75D791F48EEDF146C61E999333BCA00A870AD2FC540049BC DA6E90FB41046FF6777B37EEBA0548105D34FB01B781F6C74A311D133D53D245 79D8CE87C9ED66811B58537166B16DE74582B9BFB0742A621484CFA5869DB0D3 42200FB6C24C3D6AE070667ABB2FE51D2D316119899C1F40A7AE9FA23578B7F9 89B6D05EAF71243A693AEF9F700558BA65D5AC3298FB4164D064E88CA233992E 7490745935D396785AC114A2BCA7DDDC9E19DF91BEBBF7C99BDE48515F8534D1 758A7D7D7B5C9446844D12ED535279F0CB774E073B5F26EE624A45F248A1A9E0 AC2121CBA438B84D29B169C9FF3D85D6AD5B614FEA15AC530A0CF107EFB3CFB6 AC3631944408412D7F4F1579B6B3C7C0539014CD08BD625DCBBDCB1D86616C82 E698D07EA3104303B7E73F16CE17826EE16BB54FBC400A5EA45E69D6F1049732 1E54075DA50E81F0A39C28CA4CED73DDE5B43AC566E458EB42045BBA71CD09F2 BDE3743C5EE53161300ADE6CC4FCC4CE60B208590CD4C59093F6E64387D1F023 F450E51F8B5D550C5B35B8D66E2A385F019F3F8E32266446B3224745E82A0F53 4BE1ECB27428A836F79B952D67949E0547FA5474AE86F41C7D27372738FFC302 633A9C1A109D52D5ECDED29D3DD5F4CFE914179A0799CBED13C5E2AF7390C4EB EF4DB66CA3BD416B565571EAE6AD54450C51E11F52282817820D936DCCD74245 99786233C4FB5001DAB04A73AFAF652630C8E5BDEF41B1FF83425902B828A15C 94A11794BDB662CAA9B3EF8096C95D2C81B8E77DEDB665B85F1B1666B01DCFE9 257C9D6AC2357D28101C26C9A6DDFF771C0F14E70DB44C61919A44B7EBFF8EFB 39E0614EBB79D07EF3119688E11519C333549AB3CD7B4674D1B45EF02D85FB0A 58433F95CD7B2615E9E0093A727137863D21A36E42EF2CC86AA655D29B52656F 3EAB82E3480C2FDBFDC9B7B955EC79FD34A75C11AB957E4B37AB0C1383EF3ACB 7C6B23DD9B6C9BC4BF97848DDD2D27FF134765F2BF87BF95F3E821E1BDF03E3B D629AF36761D986CD3CDEE584C973974BD85672AA98B5EA515B9A0816230567F 97671C9D7CE412FF0672F002389394DC58E866C381F68692791421E154122A50 9599F1F7A446595FE8B292CF17487CC3DDFF742A3B0DAF9C61F0276641BD9E2D 4EDF318654A1CF5E07D0967DCB0F4E02E0CC294A55BF838A0EEDBC52D681DD71 43DFA50193E401DAA5132FCBF6DB95437935A2DBECF158D11E4B08E22EE452C2 0F43A2FF0A0DFE26518A365529E3B79C7E0AA778A9955EF9847B299638E74354 B36248D3A5BEE95D686BE83E89F2B4D4A7F24EDC6A7218B099CA197210 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMTT12 %!PS-AdobeFont-1.0: CMTT12 003.002 %%Title: CMTT12 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMTT12. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMTT12 known{/CMTT12 findfont dup/UniqueID known{dup /UniqueID get 5000833 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMTT12 def /FontBBox {-1 -234 524 695 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMTT12.) readonly def /FullName (CMTT12) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle 0 def /isFixedPitch true def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 45 /hyphen put dup 99 /c put dup 102 /f put dup 103 /g put dup 105 /i put dup 107 /k put dup 110 /n put dup 111 /o put dup 112 /p put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE32340DC6F28AF40857E4451976E7 5182433CF9F333A38BD841C0D4E68BF9E012EB32A8FFB76B5816306B5EDF7C99 8B3A16D9B4BC056662E32C7CD0123DFAEB734C7532E64BBFBF5A60336E646716 EFB852C877F440D329172C71F1E5D59CE9473C26B8AEF7AD68EF0727B6EC2E0C 02CE8D8B07183838330C0284BD419CBDAE42B141D3D4BE492473F240CEED931D 46E9F999C5CB3235E2C6DAAA2C0169E1991BEAEA0D704BF49CEA3E98E8C2361A 4B60D020D325E4C2450F3BCF59223103D20DB6943DE1B57D05DA0555DF933BB0 7B42D264831116C06C79335D519461E7B0E870A6715E3D74A08D1BCF86E3BCC3 A43FC6BAD1C68BD9D4AFCC06D845FD1F1E70D7A47F0BBCAECE8396E04591E5E3 4797F646AFEEB7DB548183F0B74C9BB6BA2AA04E7F5950EC8AE97C741D4B2C5C A8E7A8DF5A36A30B5A7592D95E1DBC63EF33C92FE459792CED29E2B8B6919251 75EF62089BD7D44A6E1F9B62EC802FBE62B821DA1C3B2DDED45D27964AD29ED0 9FB7868F3A8FEADA87A8E42D52C1EB7229D7C79B60BDA263F2BDB025AE14A507 098FA274206BACFB4A0A7257D5998EE8F0FDCA79CB61DD1FC59DADD11E16BF02 ECDFD706CDA1E72054D4EB55AF7BA9F19955886BC0BD6E0E3FE3769C94AF3581 DFB2BCD67FE2892AF07E858A01280194D8DD7332B3D0A585C87FAB056C2EAA9B 5AD48D1C9F00CEF8EF0D1408DBE1C03D04B231D7B8D5D998FE0CD7EE19828EF2 F988EBF6DDBFEE00F04A4A1F4E1A55DED7EF3AACEAB5005F1962C724A017C914 2936E2E0DF26A55ACD7DD836C6035CBF07981C1BCE3615064F0540A1034C69B4 E3908E76EF8925D486DF0B4A8E1F02D8AA99585A7C31847AB9382F83880C1C21 C496AB2DF8E7BD4643B28B704B5F6B53429D3EE940A79135F5BF0396E5B46F23 42AF406C26D12BEA7A41F332AEB75DF43C15334CF4651A99F602036946B1B91D 4BB0D2E51C20216D892C8173241AC8FD15A37C3CDD8AB4FB67D8565AFA61C068 95E3D6E46D7C09BBD09428207D506AD43C693F3C3D787F6A5C39084AE45E81C9 830900DB50DAD10A17E118FB5E9680B5194716A788FF7514A1167DD1A305FBE3 FC1F39A39F5613D50934419B95A4A2FE1B6C18912CECB86726926F6B77B5C3AF F38F85F974A2D2145BE010EBB4A390B842BC222AD4A0B7FDD882668C04C51F19 13FF91E7CFA0A0F4E99A1944B272E0291BBF3F9ADFCF3F625B87377AFEBD9F11 6385726E908BAB7D1357504048C0F5B26251A1FA52F08BAE1D64B9FC32A684AE 896F3DD0AAE9624050D4DFDA25E581FB2630E8840AC5322D38B92F3E77B55CE2 91ACB8321BE53A2C7D274D63CF0C68AC833BAF4B22B26EFC197D4A893A5AE492 660D995DA9294C16BED1113CBCC18AFCB5968175EE2FB374B1AA261F22CD75F6 6E7295A254FEFC41A66EA6833A6A4EE0E75EF6B6FAF292DC5D2AFB61D5203DB5 4BAEAABAF39E9F98B45F22F2E37F337A7BA412807A31B4A5A4E1627BAA964B77 6AA397D368985045244ACE969799A9489CCA8FEFCF2EAF262ECE08BBD9573C79 2785F61EF31347E7BA6F5053CDC3016406B2BE245D3802D526B84138B959B5DD 393514132E23F7CF49870B0BB2F8248D3ABE9040B9F584356D78387CF7DFCC55 53ABBAE2F36CC7350A9D0B428DE480865F27A387B283688DA1561B16814C0F24 2FD34DEB44BD94E09E041454F22B32FCDC28F428501DE2F4A9911C2DD52A7A6A 918ADFE3482074ADC6D264B1CD13DCA3D385717FD56909AB338C0ED3C7942D3A 22F5906DF2B278B1913BA5350ED462844B763FDE9614BDB2330B59193DBDF418 F5F96AB054D72448EC8ED0B9D185608297F83DDBC6B1C8B7AAFEB504376B4717 1D9096201D5133F6CF66DA245FF7D33A77B3060D1E65D849D2968E59D9965617 3E570BAD003E7F4651609B516A4F94DA1B7AEA7929E86054B404E36DC418C63D 2F200BF1AA23CB134FE576D4944302C969561C704FDE44F8DC35B03BB9727B64 195930EC34AB95A62CE2E496DD0DF569B81342DF2ED4D7C7683C74E67B3E560C 9A2ED2ADD236058F2D70829EFB78047A763780B4F042B7DC66410E3A8E905905 38376D307FB82706EBBEBA05D41A0AF78E6430F5256273E04FBF7B1D5DEC2E80 3AE846D029D42358BA20D9F3F505E2C40AB4C82BC29E04F9815DB6DB1EB3E46A F584B436EED2ECA5FE32988EF1F70F0006C8686E07283A39EDF46937BD292B39 BBAC66F611FFAF25615BD1471254D8B2CB3D03A1C10E856589D95A2916F81C46 BE2DAB598D6F8DBB9DEABF91422D7CC15FFA40E8202EB2ED55AE1FE5181E8C6B C716264E3D2CD3735DF06135C45C7AF5F623B4AFF16F693479E784F9FA20815D 3143536F4B82A20A5CBAD32F269E58A256ED49E614885FF3ABE7DD5BBBBD4398 91D1166603E5DD3A6D2B890D168F02961725545C107A509113E5C9B4E88518D0 AB0458AA2FA6804A9FA6D1808FB903FAA1977169B57A40A58961460B159B4E4F 57CE355BBA9EC53AE3B694B137AFC78B9D9D5C754EBBAFF335908FD3B3CFF94B 021104198F65122CC2950602A1315E74DAE0A10EC1FCB27C070550D0B2FEFA81 93EE234029F635B55A6D6BFA603412E1A5942E9D4DCA1149755554E91228018E 96EA5C2EC226E21D6D22B965F0ACF69006DCF31D74106FFF47311987EBE229A2 76B716F4008597232DF478B6DF0D747B90FC5920407A0EFF6C7B43D1F3990F4B 694F7B2A59BF6296AFD5123136F2FEE571D55D5455DB4D695DA4975042EFC5DE 83CD304D062279C5DE790059211CBB6F87FF23E6142E1C622E2CFC0479134B85 9EA866C97D7690DA5F1EF9358462FBD4863E81855135BB4EC5D26AFAE86074B7 0E4140A1FF6E35B64C350D2B5A5677B107A435EC6BAF79FFEFC6920E768A1907 E28413CF454B67E2E2B78F2BF4510616A5E38FBEF62217190CD5CF8207103EE4 6BD73DAF1939AF19BFFDC9B13091AEC3AE816DD1A9212D09D73728FD3F383132 1068776C83BF9D4DFF8EF1442A429A2F59209BD8CDD8E3E81DF93C7AC433B34D F35325CF874517DA464A40C84FF9CFEDB0C5563FEB920F3F480C47A447F809B8 25457E99D0B5FE56001383AF5BC43A96D34DA690A4BF4E3C487017903E7B371E 622B469D788539B41F2F67D6DE9960919F1DA04092CFC9DC987612AE8063B81A 31DCE0A4365DAB59BD59378518466CC6A9C3CB28400BDC235FE0E070C683E430 2DB3EDE6A9646A2E13B96AA30A05CBE086F9F1CA44CF111E3E3E2A094BD22D67 84ADE172FDEB7D3DE065D91A25193CD461D930E01E2238D21DCE9465CDDAE7B6 0BB295A46B12C842B4A609093F9DAED4972485ABDD1131242B8CDEF08B8DB762 D2C2990BA285FFD81BE95F264546B4E0CBD367A73563F20CC1410CBB4D91921A 341FF9FDB8714835505C427B96089C0C30EF891F689F772C46CD4D15FC73C7FF 1BCBFCB72F4A4127F5FD78856669386762EB91C751D45305BD09825988545903 1D3DA2C3A5628381C7673276A5D3D56B4B 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMSL10 %!PS-AdobeFont-1.0: CMSL10 003.002 %%Title: CMSL10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMSL10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMSL10 known{/CMSL10 findfont dup/UniqueID known{dup /UniqueID get 5000798 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMSL10 def /FontBBox {-62 -250 1123 750 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMSL10.) readonly def /FullName (CMSL10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -9.46 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 12 /fi put dup 13 /fl put dup 42 /asterisk put dup 44 /comma put dup 52 /four put dup 53 /five put dup 54 /six put dup 71 /G put dup 78 /N put dup 85 /U put dup 97 /a put dup 98 /b put dup 99 /c put dup 100 /d put dup 101 /e put dup 102 /f put dup 103 /g put dup 104 /h put dup 105 /i put dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put dup 111 /o put dup 112 /p put dup 113 /q put dup 114 /r put dup 115 /s put dup 116 /t put dup 117 /u put dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put dup 122 /z put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE32340DC6F28AF40857E4451976E7 5182433CF9F333A38BD841C0D4E68BF9E012EB32A8FFB76B5816306B5EDF7C99 8B3A16D9B4BC056662E32C7CD0123DFAEB734C7532E64BBFBF5A60336E646716 EFB852C877F440D329172C71F1E5D59CE9473C26B8AEF7AD68EF0727B6EC2E0C 02CE8D8B07183838330C0284BD419CBDAE42B141D3D4BE492473F240CEED931D 46E9F999C5CB3235E2C6DAAA2C0169E1991BEAEA0D704BF49CEA3E98E8C2361A 4B60D020D325E4C2450F3BCF59223103D20DB6943DE1BA6FC8D4362C3CE32E0D DCE118A7394CB72B56624142B74A3863C1D054C7CB14F89CBAFF08A4162FC384 7FEDA760DD8E09028C461D7C8C765390E13667DD233EA2E20063634941F668C0 C14657504A30C0C298F341B0EC9D1247E084CC760B7D4F27874744CDC5D76814 25E2367955EA15B0B5CD2C4A0B21F3653FCC70D32D6AC6E28FB470EB246D6ED5 7872201EF784EE43930DC4801FC99043C93D789F5ED9A09946EC104C430B5581 299CB76590919D5538B16837F966CF6B213D6E40238F55B4E0F715DBD2A8B8B8 80A4B633D128EB01BB783569E827F83AF61665C0510C7EA8E6FC89A30B0BC0EB 5A53E5E67EF62D8855F6606E421BD351916549C569C7368AAFB714E22A023584 8B1D6B52FC6F635E44058690002C6BA02CEC21C54CC8875B408A8BB84F445894 5D6B3E4841CA20AF852A660FE9C832F773691DC6F7197FF3DEAEE97418A5ED2F F2AE65300416227CD3BB03C29003C770CD7D2A7A2E4C1DCA193651C2CDDBF93B 966938788694BFB562AB0010268955FC3555E5984CCAB0A9B7590C77C9BC713E A29E5BD7193A4E971D1752DDD0F0AA4648E7E87BBCE66A1E836C715C408B07A5 9EB56BEFD4596706CF839BA4CFA90CAD4038C1E006B51913279A2C31FBEE5BD4 A7D74F9103CE6124F5B439CB860987DF44FE17EF88EF1BF62C67060D25696BCD 94ADF08F04E349CEBDF9D3389D870D94CC05E393B3F4362A13A6A672EE5E8F5A DFE7046AFE3EBAEA58FFEBA4A47BF61F92E2003756DA643CCF2C9DFCCAB62669 E3C2A18D690B64D907F50BCA155A85E47C3A6954C6FF7ACA36D8DFCE777B7929 5F5D5F787B9C247ABF13D6D7B4A8F06BA25CCB342F8A5071325CDA86AD71BA23 8A9695C7D1D50D0AAC267AB7CDBA7AAF46A264B7B081B7E79AD937FEE4969FD5 155A99E652461EFFB4BD010E5885631E2B2497D6B8C43CE77D7D47FE201DD46E 4482FFDCE150A1183C22C004A0AF0E1F42AA6804E038E1DFC8B0A3CE26B52038 44D2E7F759DA5C252489E5525963D68BC27C82247BEB18818C7D4CF0BC5CC97D 8C701034B8DF798DD4CE36C3F8B1FD40B2DA14EA75583852875031AF8C909EE0 04495FDCD04B05A5EFEBA56A8CAC1F57F1B8AB91FB25C81CD51EE69D6E0F52CC A0E12CF7E3187D67DF71A599FFD895FAA7BF80E2E6B96592BE77AE96905BAF0F F547355A36C443797DDA7C414AA606CF9153E03450B77D1BA4088D739DF55F07 111B9E11AF37F45B6EDE6D7AC126E05886A57C83886DA87761BE600DEECD1344 8A82BD652BE7ABFE6A0F50ED7C6F4EE12CDFD80CA7A5518692F267C51C3FE76C 567BB8DDBE09A2AF901F79AD02B435287CB8057B3D5EE6655071F67B00438728 C4C3EBD648BAF650993AFE5E2B29074A99ED0FB725D9B8CE8B0292B08A280214 C3AF252BEEAD30C88F72E322FAC3E9D78A1038F5DFC41F7BF1AE3744A0677094 51B77C2D630B67853FE5E975A395C06A4D4DA744040B272C2B88D8B7ED3A2C01 66F503C9DFD3C7DDAC865900D2A4F2CDF517F449851DB1963468D0266D7A3E58 9F6B2A1843E6444274F16A9930302DACD8D2BC4588765099A86BCCD8A31DF0E6 2853114DFF2D19F812F19AE6C2E419D7AC1BC024D1195074FD0C6717BFB389A4 4D5428E7BB2E4F9E9FDEDED7BDCBDD3460805AEA0B5F6460C2FDF19273CE5BA7 5D3AAE0DB94C6AFA8339646191C23B0149E7CBF136FC4C844E025A38935DF256 0A0A6466A45EE8B9B23B6A055856FB084F87C73BA28F1883E3B184CD813C72F9 233B78CA4E125ABD26F29B92CD9DF39D6FDC2A217E2B6B45D9B0A4D536790A5D BC0903069565A442FA7466414D948AC432C6B75D8D0E1DBB217CA3DC38A52DEF 62E9D5AE9E753956C13819D93148C7683BE4F71B80BC066D8C19FC807FB1C086 B49215DCF56A91A42089F0D063B9981925691F7DDE3237403AC714F5CC3ACA88 DB2F1DD205578C00472FD70C8BA4F752E3923ACF3164D442A6B639902ED060D0 C5777BC20F9A3BDA60FA3BC986C38136FBD2E8F910E32EF36377C9CC187F4AFA CCEC423DB925B378522B748BDF12D523804CABA83CB5A7ED69FAB9AAB75EE8FC 38D9866E3754C4E2F2B9AEFA804044D878DED0E114EA0E9682FCF38F6628E63D FE1C1B5615E54FAE8684566EDC4B616F76EEFD6207E0386F06D3BFFA26425F24 303CC7C8A8D7021E7D09B202616988287838C3DBCE3179B4FB5C726E603A47F2 8248CB508F327D1291CF3F08F7C88298DC2D0F778D24304EFCF6E074182BF5B1 8E6551811FD6991971692108E289B61053D6DCBA2925B3903E8916EBD09D97A2 C6D08E89DE4C0CDF7185E1E00DF456B249F0BFC686E04FDAAD2772DC2C39DD53 9C23A41471267F53A87E5C2B8CBCDB66CE0B9844BC506428E6150B48D2FA6363 4FDB2CEDFBAE0B7DBCE4D83E29B2955F8966272CB865EDB360C8A8C19EC62A29 03066483E4083524A1E8D80FE3867BC1AA91753C26ACBE8489AB0E3330206212 93E07ED473DBF457EB8489E66FB4B8ED8A9EA8911CF9308CFE3E6D6F36810EE8 91CCB11BD548617B2C683C354452B9229E7C9E68828BBEC324420DF7C188CCE0 FBB514547553A7E9B38AC265783891F42DA472388569C8E7594F7E8810895A27 06E456902A8D9F65CA808F1FD475D011C4572F8A654BA01D67942226A663D179 95149FFF41A9F55AE84EEB9A6A39C017D7E4FD6EFEEE7FF3CE847CDB064A4954 9DCD273B810E0F259501BA4003A3EC1ABA6E13D24C0B57FF82D6DF077833B6A2 7EA54801BA81DB961C261689C0887FAD83771E55D3D137AFBB21779397E11972 6C6CA922F45AFA5C0526863A5AD8B9C0775CCBA17FFD37A44CED4710884DBC31 5C9D3F5441595B86CF7CA2EEE42AE87896E9E60EBF5F35C2B7FDBF9A9CDAE262 3F48396F0F741E9DDF1D4FEF75E68AFB020D06CC29B3A7B2ED819D1AABC12B91 CA2A65F1AFDDA2F3FB322E0268DBBA024663E49EFF076455338FE31A16B04EC1 797EAB0B49AFFB906A0690A1E8E2F5314773E1CCFFF43E6FB3875AC907F0C5D0 DCB9BCC127014D472463560CA0CB1C2CE614D94177C7A52A5B089316689C8112 CA57E35D716D956DBF9013B1E5B9626456B1433C8C15FA906458F957133B9E19 8D46DC3AC015F7602538C2AE3927C6DDBACF38E59220C2F5AF36B68DE9117C51 04CF7DF32B1AF55B87D1D8A5F4BCFEC66F63B32B6548DEDA3AAB06C5310E4757 78AFF947DA22809B360FE535506A554DDDE5A6F2411246653710ECE5CD3185BE 730520A766C47E1ED01890059882BE1432586864E1A86A7F586438C8DD35C00F 021A741ED47E0F16DB6070ED0C50038632CA4AC2975578A8372A080CC0447C79 CEABDF2BCD5E78564247B0F0025F556DA8FB62125227849EACFB724A4AE3EF57 90C07A5B27D2E59425F56BF8AD84C5F5310FEB1BC73D536339FC2E6A5BE2DAFD 97FC835E0D52F680F80ACA37DB498AACF152B9B44626CD89E3302C3EE1623EE0 F998FA78305960AAB9F483F731F5F67A8C963C23DB8E48FB804EF8B86FAFE7F9 4C09641915FA7E3930AC922682313408BC1607C76751CEEAFD660206A39CF394 40ABE2A313AB7D5FD6444E219DC5C26734D322BA268D330AC17959A390D6C8E7 3A155095BDD66516DAD5D65519A7FB871ECDA77061EFB21F359158B4470EF79B 362C35C06B85C9A9505C8361939C6AC013F2CFE8EEF46FD8CB4452AAB3EF1FA7 DC066557BADC2ADDDF7DDC2A0E1DD4A357E27A2073427EACF9B9035DA5272136 7DF37E26D96ED4B2ACD60596E039BCB15E259C72FEB3344E3EEE3D4F17DF4233 04C1416BCADE80BD483DD8C9AF979E1C7D50C4CF015870703F88B92C4FE46AB8 DE6717B55C460C805B391B84333097E116F4A51F631FAFAB34CFC925BEE8B72B C9FD5F5A79D8F2295FBFAE649DC6AB47794AC7D73431FFE5BE992F2B5AC67049 B5208251C0E442385A9FACF25E3A98D7F5D4C2A1ABDC600AABE84769CA83350F 9B87F71CEAD3600E02FF9AC03C1B5C21C84F911511A0CF0111BAC7605EE31229 3C526A79D943D92E1CC3C38ABE82D560CFD4172F318030852A5FCC0534B8B3FE D7365987C8B48A072907B26CDC2108130A33233E8E0BB5FDF14FB55098A10EA2 B51AD9EFB119F82B08D256D396D3263FBD9DBF172D43A90ACD1A31F3E89E8571 74BE98B9560E2CD661A2F93C69FEA3FF26B00772AE2C2C24B98D3D122EA2AA8A 44652CCDF4EF4F01CA7D62A976E23E8A86291F43BFAF38FD9C325E70F9C36CB5 A181DAD30156E98339E6A0498D3420B7BB3B4E651A9090D4A17604AE386273A8 3D4AE8CC18345E6E19DF06BA848F203F74B161D6A8882991CBA7385F308696A1 BEEB0130D938A764B98A2001A38489B1334025EA848CA44A116D64926D460D64 01159E77EA7ED9ECE7BA77635BE564A4ED89315BDFF54ACE6AA1A26591D13CD4 6D6425CA7933769B842192858D10998509396829263290A3A7CFEBBDA3EE6CDD DF1E492AECDFF7941B53573F01F623CA0A5ECC9D05A3D0954F7AE8CE94AC3B2A CD4E27519B2E16F033EB732AA024BBAF74626DB55DC74B1FDDB07FAE98B4AC5C 683CFD8744F361838D343B657EBF52DEEE7AEA7565C5BEEFE455DDDBC4DCCA7D 87D6D769C5ECCF14118A14A85A86865777C8E28F953160D5E82844AE54D541DF 550D5F1519E183E0C42BE88F0458CE8087F2CD4B1B49A8E9E3D127C4A4CB74A6 2E73BF4CC317781D03FF04BC36AC0E4AF99E2ACAD20F6F8029DE8A035DAB40DB 17D237850BCDD05931FF4B0FE2D0B79EC5A88FE0236271CCB075BD194AA25AFB 3FB93A5206F61A14602E4EB6F1C31C654527CE0C02D04314DF9AFD710D0EBB9E F8721B97F5FB18E27507E1F800B5509A58A1A8296C72B7B73F99B6CFE42E9C2F B63B3555475E562672645CD374BCDE937A9B05A157FB3E74C8297507253E957B 1A9DC421946734CEFA3D5EE357DAC7E9DE17A5BDDEF6B2D2A740BC58128FC514 61154664412BA1C05209EC992A77B7CA45AB7C0EEBF590A5B5652866008CDEF7 124A3003AE6A7CF9DF3C72750CBD281358CD2FF25B162B78CBB971DB3477F8D2 ECA3EE9CBC90323B2C236E375337EA0848CD7CB5781A2B0A42DE7E4D99DB2746 0B26796CEE129D23C76794B7CE21C13C7D4A998B752C8CF43A4821B736EBE246 D2A2BD7BA3351FBCD1B0A501EC1EAABE60D06DA2FE39BE1F0AD629769FDDC933 F9D02F9686EC8C2D7455C26AF4DD3F6860B2289E3A30E1C254AD17D731CB73B2 BF4DFE90CAEECE3ED0CD3FB4C8F4C7BE1C056AB4E9B95781A8968E3CC1010003 75DFBC4AB9F6B27C5A9AD88D94441A8ADF09EB275E5F0E5E6F3BFEA0FA8C308A 8593ABA0645ECA8FDC3F0E264B35D4B0DDB86B93CD8A047FC409E18196B501C3 B003622999C47BAC04FD1ABD8AD359C977766E9643EF3BD6385306B08EE3E13E 7DA5A06AE33D17A3D574C6390DB6E9429754B210F0C349C359559C7EAA2350BD F61D4D8A92B1AF697BC620FA0351E67E0D9F41A95A47EE0BF210C2C48691901F F905F65693DCB85BE412F097480F6A7266AE0A928729DA0F691CBFFF3B276EA7 322BCD2206D96E3DAFDFB992CA8F2955F0E8B882729DFF840569D12E4DA1775E 523AA734552AAB6F2F16B89B39F1A3FF0E07EA08D13E612F201716C67F327017 6C041760DA30374434808273062C1FFA2C47B3FB578807BC26537F542040FF77 66C995EF3E8B08B09FCD3EE89C30F157158A739606D2CEAA26694A4F1CEA6633 B54933141CB85C60AB262E2D4E824A3B85C2BEF810DD774F296AB37D0BAE7182 5648CD18556ACB124246A75474B232D712C2358908B5D9A76F82C626BFDE01A1 093B8FA6AA0B32F2CDEF737B28BC0448FF816DDB5812131DA0DD5979D77C3838 B978CC3F6778A4BFCE9A7087EFB19749285AE4C92B99A6649DA349A2E0889D72 6D4FC664522F06C8C4D86D30BA43ED4E42211217D01636A4E17E2A132D26F394 EC34EA12D84594AED9C6CDBBC0908860F39B240FA7D7B3003DB10322498691CF A294C0FC7ACC0BAD1EED3E9D60AAE3F7429695892D1A21CEBF062C6129B33966 8B2EF6E932F9891DE6028B81C5E9B23278D35B7F0D83989BCBA25E20E9D503DE 144DC485F09A4EFA1268AC5E4B551C5B2F1D51E9B9B9C0FEE585204F869D0BE0 7287D7570A12940A47C1F51AC6134F03B415C30E147C49F89228855D093EE55F 172711F37776E97A99CC4B36E2F10713E36FB279FD3FA5A0EB9F3938F42E2BB9 254EB8F0C0F30391735019E02BFDA21D9813C6A22279B898EAF01AA892B14DC6 5912B9275167AB46EBC420836CC1A5F38A4EB47C039A7BCA62BC3FCE4199FC71 011DD6E5FFA0F3D7F04AC02AF91B9249B9F993AE346572329DA852115BEF8460 B94690E790003586F473F37EAB5AC2922F5F663EE2C3C0C336A8DB71650631AC 0A923A389AC911CB215EC2EC7D50CF8AEFD59EBFFA53A9F1FFB7E6215F17093E 3975F186FE23BB5FA5474C11408FABD223E1E6F62035B5A5C1AEFD8899F00FFB E729C2D5FD551E80716CEA4E8281660286A802AAE8D5834F37F2EAC46297E57E 993B09251DD7789D3467417E393B7DEABD06676B96241B0E43ED1A1A9FC3B12E 0D34B2B0792B79AA648FE9450C3B209FB6D7D91F50C52A5DAB0BC81A8B698BD9 18946EFF691912D7348D48FE68CD876FC6F71F81165D0C3272DA1A992308D9E0 ED6D0A4DAD679AF495F62B78D462B463BD4A40931172290C615B3B3B6B47E45F CEBB85E0A6AB6832067CA6D403C239530D07F199788AA4DD52553836851C5228 1072406F6D7323A334E7A7FCA588897C4FBA6D4F7DEB65525EFB74E539C988C3 A685A98752F7198E77E456A545F0D23A1BEF81EF58B02D289CF980A3F17BEC8A 6F83DD90C4A917EB0E5E2B444A608E2E9D2FF80620E16AC1D7775C0A10C1299B BEE0E1AB24C50647E5CA1DA65CFF3B2C295F0644CA7826E1DC6FADEA93D66A20 DE852F20AD224D28DB900519EB1569837139C833F24B799F7EBE3FDC14235323 1D0BCD4991C861F38DF413A5A5588B73AEC3BBFDB885CE17BB3E97B4E6A79761 93EC8418C2BC4725CD61B5E30C07352F647C3FD50083878C13CFAC241DDCB082 E53703D182068727F9EB6FACEC25F6D901D7309ED7370867E34E267519E22D62 4FC7093448BD0D6B1C43D318A3E14C92032325C132AE0FF7ED707E1FA4A955FB F5224BE0045CB14ECC321D0F333FE24EEFCC504F7C756451D7693C3E6CA87526 4912E1B6DB935BDE76FBFAFCA4ED473F1D2618812CFF25A6859C626A216603C1 361BE3E071FCFEC2D4BF2FEBDE07DBD56A1BFF8303901168FA06488BA6B76F36 95B0A90D7724E9ADB567C2ADC65CF3482CF47FD1D16F70AA19A97D0F9EFC611C AEA5E1ACCDA7FB2DF05E9480936281484BC329F0B771775E73F7FD72FE3F45F0 50ADBD03932B38F37A8F0A66B2F739EA3AC8811C8F514E68C5643E4AFF485C81 88475A523D7FCCA5C8809BD49846C77795A38DC6406082000236A4D2628B5932 AB7916D44EC2210CB941B9C9DDBA700AA803F99E12BDCE73F10F769D7C8E1AB0 77431FDD829222D4A00DFFA8E5FC89B8DEC03AA4910C57E6A689EBC39EA345CD 785A2885C8133229160EB3DF0B348DE734E4F78CBFE9340432C21026C5832003 E5688E20806F46ED465309FBCD5D50D1585C981C7430956CB436B883730AEDAC 1E76732CC2F9B08F3950A7B84F0CA9C5B92A11EDC335D079E6ACC69BD64BF071 A2E22CA7B18E275EB0CF680AFAC9DDE4F9B48568A1F4CE84E9D8E13F000D152E 42DB1C1ED509438C43F0EC0000499BCF9017D11C9A36BEF738A570C32B63D0D7 094312E00AFCA7B279DDFCA02547EEA7732A94507E88C1A87E90036DD4C97198 A7145BF87D4B200E420BC52CF878D7ADA20C9A6F6851041B7DE568200F6E75C2 E872E711F8ECFD6BB1B0E2822FF189067520FFD8EA20EA384D7451C16602F989 1FE1A54C26E51533575E7BE57336A0CC4F92F8A3AE0738F53A5BC1F9A213CDD5 FC572E1A1727A7C629995934C6E572866A4F045526328FEEFA1AC0D3ACFF27EB E48CB6E1C3DFE00522FDE45EE7027553F06815E80839D723949EBAE59F682B9C 64F3A6908AB638B592527C6166F5429FDAEA3BD141C8D5D55E28365A2F8BCEE8 E7624EBA2D2D3946266E0E263EB049DC81DCE1E5C21E6312EEE29B8F3BC6D623 F0920FFBFFFD040A73D7FF309DCA0F47101BDA61E01CF9D8244FEA97CC18D444 1173DDAF158E4DA787D9DC04BA086408A3DE4E73FBCF0323A7452274B74C6AF6 BC43DCD36A71F6DE8FB0D5A7C409871F86BDB2C4FFFB5AFD8E77998BB55159FC F61F773D4B503C4D34547226AC26220F08DC6EC7F929D1276327C6C0E3100F26 985EDADEE30F9517E3753250D151F3A92892FDCD0C16C6089DF41522A177818F 505EE0E8EEA9E49D0C57F2BF35B32C41018656506AA4618C2B2AF733EDD09458 1037388C635210F5C3A40E970EE5E0497D7E7A43024D209F3EA1319D58E37FF2 45368B0AAC7395D6B71003359952A959100DB81287F896B4FED2364D5F5170F4 F4F4FB12404E4C831B9488AA017B7712846ACA59B4AA2D6422577C0DCB6AF2DE 0C9B95952025FCFEBE708DBC20881D6022AB1DA8E6DCD4FF9D33BAD0A69C0FE1 CA8D29AE19ABD5A10F0192D879F103D2D8315E8FC3DA8743D3E8F27911AD46C3 E1F0D08DE84B586EEA1C615546748C6DA8CB30F76F6311567B14B8A8D0041A65 107B9106C50F6A2FEDE49C2888505D11DA7F36EE9B552645B83D9B3190088D1C 10A415E0BD1B1C03CF6BEA89F87C0D62FE91062BCB6B1ACCD0C2D8E9076BB0F9 E9CFD167CFBA7A5A0085EB765181F63624F26B47C26AFFEA8DA9EFE6B5E5FE03 D27731EF3081CF050379FE9C51A8B7E1C96272E31F65F9C22CA702073C23BE63 505AAAAED3EEF11F5ED2ED09DAEE0C9C7E9F762FBE324258FCE09799F00478DF C823D2C97E9338B8A795A8DD1BE532AFE3778B8629946AFE952C025056874A5D 7465B5791D8C0D3057F192AC634BF2881BAA203912D5E24581B95D670E61CF5F 7C8B15466E334C88F69812BFD6B059E1A80AB1C7619238F7CFF9E57F32A5F720 70BC60DD15904EB70A5FC8AB475194A9E5986ADCF1E1CD0AE9614DA10D913B0E 27D4DAF853A830CB880DF3790C568D2812929C313A086BE7D5B70D927B84752C 8AF3C34CA3A0A116AD507792A8730DCEC4A99CBE95BF323485F7900B4E818F65 3D89AB4007F74BF55BC7FDE84D81470D8A814B909171D1ED88C6DFF16C9D4E71 F51702B2B2A23F18625334D75C867C87BAFDC79E917408ED4BBFA0119EAAD072 7603A73C049D14C86D3F92138099623F84D53215B07B1A3B97D4110CB8C84D86 282425859317CC19DC9090162660EDA67BB85F084BBB21925F72DFB782604CC1 5E7C47BC3F8274CE4A1E98153450285B171DAA6BE705221D6C00C68DA1BE0BE4 49F89D1240FB606945F58F3864A0D44938BC9426FCBE213EF84902C099351B7A 53EC332B55D0A2F3DA6014D0B4DE35C3E5C22395221937706310CABDE0EB5BF6 9388AE4FB045189C48F12D219C03A05134F0E59EEAD11ABC9196A7D17CC3A678 19C823DA79C953509387E9D923473CF9A3146AD030930661FC7D405E075D347E CC3EE6DF50C8E296E50CAD21F35CC92CFE00190E265D0773B84CED1877DD7848 74BDE1B39D39CB37C4B0C518BEC7B032E09A343659A1E871BFCA461BBAAB4448 675AF669EDCEEB9F0E180D18E915F08C6D3A5AA82069072846FF6DCDD7ACD87C D7FB3388A4BBED66DB73BAC4B028DD8F62A1463001416FB68747AC8F0D4B2AD9 A9F4CF1CB5DD8D6F7370B7F53211E3DB88E4E62CABBBC42C2E084E1617E5E0FF 386750B98D44A29FA0C9512416A259B80B8BE9A8BF2847177A3DD286F83EFB45 7532FBDC0BF389CB3DE333967CE1FA8AC5976B3830C1DFFACF84CFCDAB93A44F 6088A3DB5E6099A83264D71CAA762746F090DB6C4A7A34853D0F1D6E4798F688 1F745EC71298286530C2D8D960FC08D65AA72BC360B4623B8C3CC10A7A072908 7BD1A50272F33E3FC095E671F5635503AD520BD53EB3A9ED07A5DEDA270D8D20 CA2C9095A33B4B2E822930826B6376AFBB48ED10D1ACDBA16246E26E7BD74798 37FA0468A30B42C7AD815291A12E406EFA0B4800F3D03561D3598D773730EFDA BFE2BC439E695B032EAFFD45D0796178720B182B575E79B38B22532D7AB6353A 4DF36DED97F3FA60171A8A14D0868043E88448B233638CCCA491BF6D27FC2BAC 5C31171BB0D9D17C5A8D7991465067272F76231E66EBA0C6A9FF452D885F3CFA D49B631EC2D45B4F0BFFD5664825E23E63FC778165D587E169A5461BDE246873 1A6F6E01C09619FA74EBB7F9428ABAFB9A0F9C000733B5E68845C16B8ABEA3D7 612FD1C10C651A9C12C55DB3401FA6455AFF46C825D66DD61311C1A9586C21D5 AE55193B28FF0E42B9A9D9DBD6C9B5F35E8952E61EDE74C9D1CE3DBE13BDB303 A48B08DF79E972ED998FA8027D7991D118B7AB3358AF89A5DB840AE8C96DC9FC B6EFFE204D70D5621BBDA7056BDDB2FE7E1A31BAD646ECC0D1C13AF76746423A 823C9D03A9D3C5BF4564DC1DF2AC6F27006D7B4623620785CA654108A425ED92 1F481F11869609060D19328CDA02A968DB2125262C089D13B81C3904DF762CFB 98E201C3F5A673925716C88C34E55FA3F10BC88003EDB788E7930C42CE771725 CCF6F4E6C22A0FC44242335D07E3652152EAB7F851994CA324B9E046E3828D1D C86C5A0343CBF4163C9A661F867CA2A3593F8AE009BB9D12284E8C88ADDC786E E549C02DFFBF208EFD3BC2077E4C0CFB4BEB158B700DDF530816272538770B02 6A49E4D929DEAC6D19C9D42A8956AE52D71F0D95990315BB6602EB293C6CE978 BFE38BD71F21C1E374E5DA40A73F2DCFAC171F4EA600492A570D7EB07CC5F162 D7276CD79BDB468A69A64500A2D414630815BE945B161FDBDCE9E2034AA23BEE CFB7F814D266D9DEA4CE9803CEFDC3160A42630263A3A55356FE2D48F221F534 9CE94C0C07DA89B3C16AF243479BAEC26EF70CB18D6499400D5AB63E1CD338FC 5C2F2365DFF7B9AF173A4D4ABD4E933C4B187B67AC8A1B6869F5E9A93F76A34E 9F4864446D91CE829C3A4BEE5569C74FD1DE2E17C7D84E5B23EF2EB48602D127 C06A762A87351F10429A7B881749FAD69DCCE7F7D04BD60C77C903DDB76C0386 C86246FC24DE3617DF90CB61BDD251C7E06F9136BDD3DEBEFA042FDD0E2FF55F 8F4897348568DBDAE6B0183FCB69D50DFC65735548DEF8D5599FF77C61A9A773 A525380B6139C61F40C04A1C152E1FFEF64E4B5362BE7AA947AE14F94F036C4F FAFAD9EB6B91FFF636D54620A97037F9DDF37D6D3C7B5439AB2A98E38363DF30 7EEAE7C563E025A5338D85B99D9B7CF4053D33ECA30EFBFF11B5030960B1780B 7B75ED4C7A97F88B25308712F5B293DD2DE1E11A63B62D3FD1EEFEC088999777 E06AC3EBF407A508394BDB552F0ECABE35362221C78C18B7ED3FF9D7DADB942A 29E77E891D18F20988657C17162BA16C7ED87803FA21DCF72D4CAD9BE3B12216 6C3D03C96D484E9DB73948FA4E5A51B21CA99D1F7D61478CE05A76B43B4D77E0 5C8FCF9361D29940011BBD189A48A5DB2C0BB1791C3A0AC019999F607D489B8B AE1F42CF169FB3AD3834B34EB190F851728636259458D5C7A9570162B32B144F 121C879010AF91FC5F945C3D5050786573944EDEEA09CE29725E9A43D195828B D4A23B286E6CDE7CE761932857AB5D9D196CD5148EFAA223FF5475AA244094FF FED8AE3DDBFEFA071EFA7A913F93CD426CCAC288468F8E9E009351BAC25A3FD9 33BD952DECF9897BAD777A1515AC75EDE912ECFE2926DE3B1A07BC8CAE403478 CABB1AB955CF782F86F8CBB613B37F26AEAE5F935F2A46D5E6B97E208ABBCF67 6144B4464E01997245DB5220B1E75B977E271C79E45972845579AB08183606E8 1B66D7E483D648CB17539CAF6DB91B35A1D7C2A8B747D42933637C26BA957438 4033B905FAC3169EA25808EE59A63925BAE3A53D4E9CE555EC9A12FC0149D2F3 86F3FAB412D3F5F23855A57976221CB31C717BE3441323283126AE5BD558B4F6 F9E47DE79273858315E1FDBBE59C7C4722C7A3386AA2C93D57DD0DC3B9A36DA7 B4C9788CF13C92EB458BE0A4B0901F644421A3C3CEC84DF1AE1A015F1402E25F F4A6FB1C96BC85B786A5FCD3DAEA8CCED711DF18FABDF4DD3D1826D308BCF8AC 43968F7AF6793030BEF3EF8D626AB0E8612CB18D86FB0E367C56AE20CC5EFD56 50145877F1DF38693641507487F5F768D1AD9CC569E2E9DFB37BE1B4D8A869F9 CB5C5F1C725ED96310CA0BF8173E431071C9C356F52B197EB0D001C5A1FF340A 2E9241417E21016187FD3C6E3122B10D612EABDBA2B5149F5BC98B3B2DFCED8D C5EA80FB014051DCD17E13FE94C230EF856A713000D62502CEB784E85E94623B A4BEF620A0139D762DCEC32C02DE62A61C8D0C18ADA89789BD8A5970DD8A8C69 A13F704CBB7FB9314882D6FE4D43C5379DCE8705F91FB51D3C488ACC93C801D9 1B65F9D5A9BB20C4208990095F83CCFFCC490D3BA926638386D792D49F52D021 5952A886D6BC047BB2FCC388845E909B7AE671964FF48D0F36DC1056C1951950 37B3A79E229E99A18D5A15F7BBF23FF10E11D4B2ED586124C78306A46A4137C9 6A4B5A50DE0BE420B2CF5A8E2D28243C90AB3D4B3C8CFADB013CD47DFC308E0C 87BB70708D66BF1CD4B1F6288E4C939B64EF7735030CF7CD1788340255C135F0 ACBC09AABA843FDEE45B6AB9FF0A807AD6B633364FD1E7FDE118ADFBE192ACA2 F23F44325823DB047F109DF525BB0C3892F3FF9C175ED232990A4CB5B07CF8A6 41A958408F3F49B99DA64E30154663D3C71DE5AAAA3358591599EDEF22C70C9A 87AF398D493995C81244AEACFD67C64143286F08ED1842642D4748ED9F7BA9D4 553A3FEEAF81696E7EFA7A7A49E87F4C45C44724A18F6694716518EA19B4BA2D FD7315DE71E48AFD2E747E65C7392FAC8CD43A37CED7638F4C80EC8B36B4F299 CFA969020F3B89DC2ECD1C3282CBCAB1BD02B29098F639E2225DDE0375160F0C 62F5D9A50172EA26417AA1264600091CF251F2C350C8E317AE55A25D6BA3E844 E669B99601397DB0A28800F8E328B4B68C3639902355B1436E65097BD7003606 53FBB5D51E103930CCE5283BB6F03BDCF35101F09BEB058EA587BE8406BC296B D2BB54A03C794131C504104FF01A8CE99D69BD8F25DE1C4427E42EB20CEF4C78 19B5F4E08EC5BA2F99DA542DD7476446FF9BFFF0507BAC0A07AEED66CDD1BD80 2D5285553DF1BE5E495808F4C66872C69E2B4EF482BC1850DDFD3D2B5EAB368B 6FB77099BCE73E02479FDA02A3CB239D2ACEF36E30E9E6FB61C88B366CA253C8 0605CB82A9CE0745DB9876CF8470F50CA77A9F65EC10B42BF1230DFA7AD2B7A9 46382F5BF3D9F15001E41AB7DB83A2D4AEEBD1D582FE4031F65D892B83A351B4 EA62EA9FEDA4E632036572201B2BF4698AD78AD1F8F972548B2A7E6B5D5B7E90 655A5AD4893628C04F504C12FCAB8E35E6968C8BCD60BA2EFF767A5C338A8079 F0382E40E87BC3B9EB1F0208ECCF4D1D13D365FDD891311FA1B1220F2ED73B04 94E5885B2F03CFB6391671803DC66BC38139BDEFC6E1E889BAE3CD7EC0C3896E 1C41AAC16301319112DCC8BA55948CDDE90A5F1DFDA72C7807335019D34D86D1 296F5723AC34F6CF79A0F2EA2C572F6A390CCF62A281814DACE97FCAAD463C1B CE1FDD82A1F7224453175EF4386424EABC3DD70832C19C3E3EB13F7B5B830655 9AD9B8D410874C0021F3FE908ABB68B8813BD624247073DD3A0BE29197FDDA5D 83C1E232613D71EF597BFCC5242858DDFB06237C30255A6AF6A88DB8C8516448 D24C483E3ED98B9791A1877836D28756D34FBD362E5E64E2E417C6B64D23C716 61379799CE5EA17E3C2A10318DEDE34E44B06FAAAF9E3E9BFCA3DED3DA7C33AB DE27EBBD8A468B531F44F037FB733140938ABF1E66AE3A3CF49B9940A2241066 A729AAB59931763065C6835F704DF9B51609E2061886A5C039B5E9B544644FB7 7C19E25F7E47DB00B9698FC56FD64962C2D5DB5A454589668E987886E91176FA F06312B40185B7806DFAD1307E21D840113CC14CD2FE2B81F4B3359B28C65E1C 3A4A6BDDC6D7BA6F69C64D72712AD5410F19936E8D18EEB72C66BCF750D43683 24114D811C46B54E65ED1BB089558C14F2D348E39E23C9902D05F1F50B5C6352 0FCB45148B8996DDAAA7A7EFB7E07FF55D3903ECF0B1B491614D488A884DEBDE 35DA9482ABD5B70867A3C3F0E21C78E1044D6E7A51EDE3FFABE75A7D288E826E 2E901E7DDB7E59A6428C70BA60FBBC7E625261141C12DA215AF97B75D575F80A E4319907F7DF58D19A307A93592CC9AFEC66912AB9DE61DA80583A99817BE8B1 51A79E62DADADB4136ED3E039C4C35A1A002C7E4853E3BCB8834215D68C066D3 FE103EBCA5AB7585E8937F02C4801044A6633A4D512B8644A121D2B52F43202E F8AAC3BAB1BCE5059149D3B0F42454C3697CDED907BABF4B284D87FE4288F6E3 D76FCDB95BC267887DD2984573805DCA65AA7154087208B53F139677FF7CDBDA 307992B9D9BD5C3B9714C67E9479579A2E935D10E075B9FEECF249B8D775EF95 289D96D47A2749201282C4CD3E3265E1A2D811C7BA970363D0CE8E5689A8D0DA EBDCED467E9BBC59308C28B9F6AF89AB9CB6F64E3277A9FFB7D0771D4ACAD829 AE98216CCAD0CBA4D02A79317FD1D6C1E1530588E2BD0BE597D0C3E4A12F11C0 8802F46991FC4BAD45DC9EF643BC462DA41D4CBF25D6F7868F9A990B703D7A3E 0EFD987759B3DEE1DC8D3BD3F7017C0DC48E20692614717FB902AA7C4543909E A01C946B3A98C2BD5D255C9DFE327F39A588305720CB0C0F0E39A7D12C6C1099 3E4FB742210F9B2B1A2A87CD60ADE50B91249D97CD03F3B94597AA87D23BCA14 8C9411B5F853E99BD57C9C5D908459ACB10CA2D6D99136EED9AC05C2E8AFFF4C 3221AA3F5D89627E7C8B98A7F3997A6FC86F55E33A5D099BC8A4FCFD0A7603B8 35778AADBEB1FD0E5F4C287A053AF79BA2E8DA8F62079ACEC593E1AFD72C425D 00C99D03AA0436B870BB828CB61780D666F3389744E20208DAD0D5B2621F908D ECF20B212C7A15C605B372C41BC875807D8F558623EB1F4D2349EDA49F04068F 18411F284E0AFE8A472DC57A7F6D1A6453E376694BC0AC2503F9A7E544394563 D24D8C0BEFA0E65F3659E6551618847ADE1692398F9F569A4600FBAC559A8C12 5CA12D17CF10DCBE98E2237F3C1D59A5D603DCAC29753AB85C679EBD2856EF23 10437CACE6F11C81F5EF585AB1B88295911FF8C583D855E22C92C4F4B3F212E9 BEB813AF70779506D9C3D9A8CA0601F8F5992CEF280701B9C6F6E50A14F8438D 6118455CB8A918B11866911E1C1A0C618BF549F853F303A45913E8C01B53977A 55ADFA7D2E7CDF425D72A992876D8F590685D1F470EF5772545875719998C398 A6F64D2E64AB21C482C6DBE07E366F4D4B6344E56A11EB364E58437C166C0E0A 433B77917035D4E61967FD032EB3A3235FB98F8C25C6B50ED19969805E6D490B 794C0C4A77BB56FFA7C23AEE82446507728955F30129732713DD975F4CF3D1C1 4EC9328D7D5F8BF08FD9FB8288B703C4DDB51F3FC81E00A88C8C6C775F78C62D D3CEAB00D32F67AC7B5B2058023C1B4B19D8EE4C844EA43237BA219EB6AD4FDB A89C03BCB0C5DDEEA8F98573D85EBBF3A3EF46302A177777482F5FB28980CE5D B6D580BAEEB9B2603C71EBA5B2A319C1C76F4A080BDAB2949132B1C6D12D3A65 473937557F6B95C23C69C58F53E0F7EDFC71FD3459396356D4E7D1F60FD6658D 0EA02193125F9371A7C52F74735A81C785634AA9E2A4CC321B365E0FF77E7F02 2C02102647A67227DDA02569E24C1A9121403E55D616DCD8428004093802F259 3972EE31A3EF03A07A243D3C72C4689456F28CD79DD999131ADE09899E60557D 6EC51D5F7D36BE7B4DB7A18A47B181E85100536631C21033266A26670AA91380 9DA9B2C8134F70A91728B637AC3F36C1BBF8E2A0711512119B514B077E49CE66 0626CC81D56AEF006CA33B0E46A33C1D1A616BE7B2548FDA52DE001B19BE9768 47B1E9466B6F39FF4DAC17904E91383239498E9CC675891A32B868240B625683 5FA85187F54178E35E240E107A373BFE2D4178A63C55283946BA8B375453EDC7 E25276615A4685C3E5323B97EE60A9CDB6F78303448755B4DA843C08C18A9197 3AA255CAB867DD176B2884FD624463DB10C508C6B2DD968849CDC7C66F296171 0CC1C8532649932DDBB6CC1853BC17453A0146AD7882AE2168DE4AB136303506 3C3A04DE56059449FA7DCD7A8F382144F0C6AB8412FE8D07959A7E18CB6EF397 FD435983DF982F0FFB767C6B2EE0BC7EF199829E1AB19640D0AB19CA450A594C E2D76DF0A490D7A086D4D9E8D9FC50CD2D1FE572677268A8CE14AC81E4E8F0B2 2F3D37B39F561DE76103123F91FF6A408D11644EC038D84B5C7FA9FDEDF10C4C 2656676BD78E89FB1AF6288AE738F260E4CE3B49CB6CA314E9F30EDE0AF54197 9EB73B50F9B48EAF180D14CF440013D0BADDB62A46B393EB4623C49894FA972E 33198D0613A20563E2BEE0A126C093C5A819879783E1A7ECFFA3F9BFB9184114 3086F74A5556FF65A1937A20E71BAA4C7BBAC3A58E3A06F4592804F868D77304 3FD22215AD00583263D61ECF9969B1BD458F940D0DC8B4671E2AEE144C66BA37 317ADED2D62DEA393E2E1E116A39518F86BD5D3821B38CBD815ED34B0D17BF0E 25123DDBE0DF19498FA39FD83AA3F15036A97F921B2557F32822AC4D8AFF79F1 7481FBD6DF7711530E9A6CF641EBA130BD1B793FD57A3E08E6A32957AD1B5F09 3097C4793656212A54C943CDB23688E7FB5CF1EB3873A96E3D01A8FB0E85E06F E331CA103582462B5EA37B56DACF78F2F5E1FBBF01461B2D331436C67605A449 BC05A9292EFDC782A2F51F60EA6037E8B93BDDD849DF7FEC5AD2305CE1CD08C2 7462FFD6135E65B4FC6C4D966F25BA4797A823042242DA6C7EF7A99D3386A744 6BB3548E58437134A7369F4E3EB7D6C88E8D7DB0D8CE05FB9CDFBA765C95FAD2 6BD52353031DCC36732EF0E521FBF6FC16E56C22A37CF0310B73099E41C05C5C B25F0588B7F57CC354573C5ED28B0E4142F7FCFA786B65DCD947B97FDFED2995 6D96C946013E65E8B3CA36CEB980E6EAD96EAFEBD32B4E565B3815B5367EB19D 2882F1410C37D3A072BC8374C68C3C9E4C90C046D8CD3C63511C0A8814D4AA1F 48641FB368D667A9A37C6F0DF47B7D87D49B909B6247B15077341628B67854DD D322D89EBD7E6E082110DBBDFF3FFCD68265E953730E24652733206D1052F138 9D9A9174FA1F4E44703069EE800A7C77C3037FBA69576942EA4AA9969AE043EE EA76924526072112F189094C46F4BEC80367D15BA4BCD4CE20259F60ED4BD48A 202688A962361D461B8A0F825997CAB1093529381B1E9A4553E57542B8E2ADB1 A829F751116EE5BE3D67A70CB9ED07CF298E49022FEB1E2BE3642CB8D637D419 DE2D3B3591B569CEB6D6DB9FCE0DB027371BE08FCA6C547464EDFB81F702451C 4B643647F441DDFC024D873C1CA3F6EB589D4CCB4B4945740C7DE508FD7524D9 F53DA13EA83BE6E1B8C1AEF3A31DCA69A253C22BCDFC0DFB5001FDE8E2C9CCCE 56DAC161EBEA4581F645CF8DBAEB9A21E4FCF980A09491E76B0B55370AA06142 D1850834573B1BEAAD1F381B2A88097BB652082C20887CB06D2236906F6585FD D8AA483AE696AC80B8B1AF4A2E6AFDD57225F4AD239DE05C329D1E6A1A500A82 06B7FE4D319E753D098442F895E0D9A03799EB607C32A78CF5BCCBFEECCB0AB9 C7EC90CA8E43B2A5273A4B5F356F832A3BD1EA846E0CDB77EF0AD58D5D1727C7 8D92A5C5667EE22058903EA9D33A884D3E29E9441993648601D56B0D047998F1 87BCBDD16C92B81BE85F1EC5DABD5FCBE92F3FCBCD2D5596597A46AE307EBCFB B205DC5B4CAE494969F032F0B90E671B2F4BE2C3F37DD11D1B9A6FB7D3493904 CBFD5A2B1424E1473E3EF4D4C4F8813446DF6875468073558BBB549A8EA245D4 3363606C9859C2E11AA2D91CCCBBB8753F118843DE56374BD87FBC8459CB5E97 B9317E1508FB6366075CA4C3C93706E284C51EF2C8C12259F57B005B4E3C26F8 AABC2C5DE8742673CCBE519A86BEBD59B91C86616085431FCC5E42C4E044D14A B933AC92F84B883BCF51B753417F314ADC34298156D061C4DDE7DD520713BAF1 FCFDE0FD822AD1962CBB6CA4FB295B72F6C83D7B575B14CB3BD441FFDF9619F8 FBEE976B411C09AB65E8AC1434C32D8A734779E5E10860522D28250243665F8E DB015070579D16E42CCC29E6271C03B4E45E2F98FB26ABD05D178DB1219309E1 B4883A71638F88948930351C76E0B867C3151D0D5E170079DEE5B9EEFC661E4C 1A8205ED1980413950EE43370F833CA87528678006233054BED64C7D37EDCDD8 EF23AF938150AD63521B3B623B5BD5544DAC817A78DF2E7EFF90DDCED8B19FF1 DB7153BD8548AE6C6E61D6138C42863477C02E4C56B5CF5059B470E609BD8970 2E194D9F71D36C7C60466045E9A4AAB45C1FF9B64C6E2CA5FE6BE7BEB1EDB1F3 8FFC5C7C5D552CDC91EA486A2769BF93494899EC4DDA3BABD29C4F29137EAE40 6425BE7B935A788A842E9FDC8636A22B3A134DD6F9C9498D1B6D76DC91510C0D 57383939C9 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMSS10 %!PS-AdobeFont-1.0: CMSS10 003.002 %%Title: CMSS10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMSS10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMSS10 known{/CMSS10 findfont dup/UniqueID known{dup /UniqueID get 5000803 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMSS10 def /FontBBox {-61 -250 999 759 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMSS10.) readonly def /FullName (CMSS10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle 0 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 40 /parenleft put dup 41 /parenright put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CD06DFE1BE899059C588357426D7A0 7B684C079A47D271426064AD18CB9750D8A986D1D67C1B2AEEF8CE785CC19C81 DE96489F740045C5E342F02DA1C9F9F3C167651E646F1A67CF379789E311EF91 511D0F605B045B279357D6FC8537C233E7AEE6A4FDBE73E75A39EB206D20A6F6 1021961B748D419EBEEB028B592124E174CA595C108E12725B9875544955CFFD 028B698EF742BC8C19F979E35B8E99CADDDDC89CC6C59733F2A24BC3AF36AD86 1319147A4A219ECB92D0D9F6228B51A97C295470093CA270C4488BB4EB864B48 63941B9739638D2E6F3CC778582B46AEB4E466D89D1C211225274356A4BC90F3 274C6AA56E200249B7D0949A3FD4185DCB3E5286910EFD7CA72D5D8E8052C96F 388D12094B87D3705CE64459558CF024667C0FE96CBB32B0BC9E51037D7BD62B E4B05FF99384E71D78441A79B0B1DBA1CAE02434A9FAE46596FB86B873B1670D AE0BAF516445A0DDC127F8FF3ADA0B10EC30A9CC1F7E9248828B5E8AB46C3FE4 154B80A54128A08777F5F9B8C519C7E3B632B3476F007FA156E9F39FBE57638B 4214CD2BA79BA9DDA0F4C073AED814ABCCC2F7906C57A872C00E67FF03AC1200 29DAB92376422FA21C67CA98BCEB8C431CA2D3EDDC16972F84BF6DB2F705BAB5 CAB39C82D139FB1304B9E7BF1F6FF447596081D5690B1519E468D6BE49C329C5 C9C809023EDEB9DCE4A6D52A8049E0CC134E8B41BFC6558CFCAD3D9D2773EA16 131567AE6231B3235869767A1E7C1FA6C8D6FC1B276CBB1CAD14D376188C9682 302836A9290E587D4225EB8BB1DBA2C4580A81FACFDA197174FE948CE757C575 F23070FD84DE121955D7D9307BF986C5E739FFFB6CB76822C341FBD9FC2E3378 AC9332B40C07D5B8745D74E30F1D719EAFAEDBF5FBC40D0546F69A66072D8A49 28D2CC2E76B9B1EFD191E0BC7510C2C8761BD92EFCFDAC263342A01398A56D18 121A591FF5CD4AD8B25699A7897E60BA940336BC17B9EC9F97C2464D031F958A A3548D0C97C50C580B6EEFD0FE8330EE2BB0D2E7FD1DAE33448953544A4B1C5D 8EB57798D0ED4B22909FEA78ECDBC4D8A124DA05B9999242D68681017285A0C7 69041C1F79442279FBE328733EA0A6694D68BA89739FDB9297BE0CF1808C07F7 BBF6F1538DFE084EC8C0EC24D883F6CC08A51DFEA23EE920F44BA55FFF58E960 C7BEE551FCD2D5814DE7E3F835608073C2CB80EC57100CFD484C837881674E92 B217F4D11165427DACCC29C129005874C05CDE5FBB2D912368EA2B98C45AEDD8 8A0D2493F60EF36809C8C6EBBC7856F6656E8D398BCB29DAACD4F7D4300A0B01 161CEF51195D2C58DDFBCAFC1C03F49304ADF02789889826F1E20BCC14827565 F2A45CA57DCC61B52E33638A0C6C5A59B145E82B82571DF1806EC40FC0E8634E A34A791B1325571E19F3AC2EF6FE68A14B0ABEF7EBE0EDA3942E85E5AE967A14 0C5AEBFF2A36DCA8866700CB7082D2ABE470864C44AEE1F6D180D511304C8674 D02FAB12A7079ABF96E1CA3CDF9D75532123E87663B1D524265AEF63EB5C2169 B67A651A101E1C7EDB008D3DB06DB1FC1A81B41B291D6C4A58FB57989FFCA434 DA84B3914D1D80B17AA3A55A70BBC06C49DD5F7DDD03FEB0055088558FA192A5 261477899857CF598DB740E82D035E84CF17B33048CFED2DCBEBC2B75CCAEBEA B6C5AA1C6978FBB36ED98D9047028360ED430A0AA69AC85A8F83825EA649E1B2 64B260197B06A24A1DD969CEEEE136FB046D713D0630B246BD41CA285F076038 F7F8431913BB9A3E70311844D4C22AA446E3CA217A9DFD75A898997130269B29 AD4AB7D9662856E677FB2DAED7078639CF31C6E6637C74DE2B5D0ACB88BD61F3 CE3C5D56D3D4B3EC1ACB33EACBE05E53A133EBFE93CE6A0CBC8F24BDC5B31BBF 5B3E55D6B40B1CED389076014667E28BBBD60145A06BDECEE8011A2C6F06D091 73767A8045CEF2A110B614149FEE783A2351FB2938A9F73CA406538EAD82ACC5 A3DFD3DE00221E1B4EA977AF8C89661357FF7D2F1FCEAD6CFC9D6AD81F95100D EA1F328249AD84AE849220E6593D45015B4D7C9527F3063E9F6DB6E572092A1F 1F460696227D5F0FA5A5484B1F0D8B4A35066451663BE448D924DBBFD388B6D6 D7CFC87C9E75B7CF79A4C9207E29E0BAAAD7FDF529B860F7731EA978E335334C 13CB2F0A4250F5957B44CAA0674AE8356F586A24FD137103973B9A1FC31090C7 C84DC5D380404BCDF3FE20C6F74FFDD8BD1DE845E99DC6FE09931F003834ECC8 08C5D962070B6C44F901A787CCEF048A2C584A2285506B4D4E82B1BF130E2220 B6C8B3240A4CBBCE16AD3676B23A50B75F82CD88D1B8F21D30A12716426112B3 23DFDE5A348DC9DCCCE5BB5DB5433A5AC125DE1229FFAAE0D8319B2929986EEA 56A93BA1FBDBE617F30852A3DC8C712DF674169C6D656F75E252187A085B2788 2467CC4DB08D48EE6A98C61BC55E6EFB1938FAA718802B7587B94C8F1477E9BB DCF6E02B5E67FE3AD9D87C321CD9BC0CCD36B9C4BC601E6BD552EAB8E1C940CE 3A22F3C2501C3C939CB4F17CE97566F0A04602D2A22A05CECDF4A49CAFD6332D 5870E1F31AAA5F86867F71610CDB83E473B9D20BA00D8986D7148E0EED03865D 9622864B52B09D12E0C5FCDD023D29D5AB1CACFA92B6FC14FC84E95F407861D5 2BEE3301AF399FD7ED04DFDE6679A345A282E7FC08D47E3FC8969D3B00ACD7B7 F8769647D6D4F4106340EF739583374D023C2702C48FAC1B643B5897D2D7DBCB 73257712A0FDEEEB98A021D218CDDEBBA34687E23C4828D7F96D1ADDFAED7EA5 B279322E6D55FB486AD8F3A8E7B2C67915564FE56F0C9277A06B29C47FB7D007 11AFDDB3FC1B173B4E449CC6B198041CCA0624D81B4840FE5B63BE72157AC6E7 03E5E95D2E2CE2E40BCE8044A8F2AA45F855484A891B9F0F8F70188AC66A8DEE F4D656CBE216E6D9AC33BA8DD0685D480833E1226784469A221D9FA3CA600AC7 5574B5226649A9C48CCB43339942FC9010F86BAA2D181AEB487A92A96BF2EDF1 60F3B93FDFF4137A25A8AEC5ADF8613019CDB103DC4367EF3D8AEB4FED0E6BF7 622AE0CD3CAA0321D26CA4280CFB60D08D9560AB8AA5698231171B881BE9A27F BDCF3162134126212C523738D221AA05E31CEE73D9D40F73C450B6AE2C1E70D5 C37162BDF55943069923A290A6C720042566E55A21CD81C460818883AB016C16 8FCCD1255A66977DC1C110261D7642199D466DD3D2493A2D47694F842241C474 1752B00DA03E69CD16A8A14BEB8A431A315D19A39BA978E46EB1189089FEF647 F9DBB58AAE6B3FBD475E4DCAD241A051DD100ABE81D40ADF18A4C50F53BF749F D6F7C8E02A5665B4AD18DDAE79096DD447F8BD32C68F9F97F05E0071D9E9AFEE 257B96D48ABD9920418E17C8F027E9E975E4A08DFB1988E7104CBBC1CAF356EA 7750AA7110BE116AF1BA69A94776E4356573B38472A8A1292C63701543B0F315 611A0E0595B30424A1137478BA6F990AC7C3AB4DB69E75C222B617F373C521D4 246E954E9857AF59D1E6C36412B643733CF5E1C90389EF0E5E0DA55D3AD12E97 E7630C315F72A03CAF22E0ACE3AAAFC1D496CF4E5ABC49C2DD5E264BE7EB2698 AFF36089B5DD2C53DB1C1FCFBE1E89D41A95DDD278CEB29DC85FD1DB8B83CAB1 EB37C531E9BB8466ED6B8B60258D3C355626CDA43A32834DC89DFB11E5FC6D68 0F78CFA871113DB81A1690250A6F842ADA15734CB6DF7C6ACED6D8D586BC4E1A 94EF3052FB0F8B9454390B882CBB6E135AF1F9C777AC362C2A758C3A98117120 73C6E2FAFB580716D4B2889A4331CC658AAE996245685B973D9C184541385680 AEC2956107DAB00230FB39BE98D3CA898D917E5F2088F26CBA4F8B5B115B6443 8753331233B10852702FC26D9DD4C990C13CE4D0DCEA23D62A826A4B4FD16070 5F3638C0A50A3373A33FCAA6F3644975AFD0560EE5F2D1CDF08820373468E4FE 6679A229D6955CFDF7ACAA92A87E6D8571AD18CF59F84F88A674B2946FF20A28 B9798EAA22442415EB46B9498DDC0F4BA6ADD347AB43E9293CAABEAE80127378 129D5DC69F6DFFBDAFA5D65580239E8EDF6833D0DE6DF75F0FD090A83CE0974B AC947BABBD1B1C7194DDAEA37B0CAB477ABF9433FCE0243C8D308409427D1DCB 8EE4FC36C7E5CEE104904B520B3F6E677A5B92F694BDBC2C799991667E0EC14C B95EAE7DE1854BF4542F05B4AF401CF67FC3E46EA5A0DC362F3CF177B1796DA6 753AA803E724D1721DDD1BCB0C12CE0859E172D2A370C3697286F80D9E138AFD A0EE016805F847BD30D11D8B891E54C77AB51A7CABF76BB14B06153C7F811FE4 93FC4B7CF161051A458EDF767DF94F487DB939A2740B4242BFEE234F75084DDE 207E84533004B933D43C712F0C71DA4A00FFD6D721EBC93AFDC4200E3B8DE433 3ED3E1DB799BAA27548ADC853AFF5D9D6BD92D644E3CF394789C99D9DC054A26 7770AF5DC5BD6563929AE11BE341F036584DD573D3F43D9D975201EF77BEEF80 D1EEDD1D4AD5D4D4DAF6D5B9D4C1736CB111D6FC74C236779C0ADA430323A825 09EA8D0CB1772220AF28B93098BDB36913159208D1B2D7ED45808BF7B686419C 5C0E3DAB5BC9830FDF3B494D624EE8068BF6F5212BD69EF466B9A213047BD105 B848F056DC544A8CE66C546B1A4DCB4BA29CF0EB4DCD9C2452F22172AFF33B29 E97E12D8F0D312B03BD9E5377BF0C81D884F1E79DB66E8144F106DFD2579AD26 C693C5B68F3AC46BF0D6281032D4D4BAEB2243151AB1AC0BDA2ACDDD4D590C90 F29B335DF8F57DC593DCC081FB56924028E3161AC4865B49D1B0F63F5EE866D9 7A71171C09B09A44B0E32F03494D9EA63F3C89F5E772BE25A6557F119299E989 99BA041694ED805AA4F3BBDF00D88171C9D43A9085A287A36A1F0F9386F2A98A 96815CA51F06E1CDF20B757983C5FDF4003F5438232159F325C6335B734FD982 1423BA77D0EFD044381AFBD0704E3DE95D23A70E2428E9AA355A9A8A25C6C74B 48488C14DEC93A766E112D74C83576ED355F17A809E8D3F9C65C4E3E14EF484F 4658DFB57597E2A4461D8044E95844391C1275D63F282B37888C842A5151937A 45007547263D70195ACC018A373D498B88C5A028BC66ED96A343EEE74D61EEB3 D9472B6A549CEB8699F4B35154A0E2ED22867E4F9E4A76311EB2C9F9078FBA81 838EA49C2966BA64C165434DA3093206B70186BE80600B891D9979F730FDC794 5DD6D8B2090CC67A634B719F441092A10C447A86ADB78DAE45823ECED5FCEADA ECA52E363D913D9EFC0ED98A5A1F823DDA3350EE27F09C14E4C7298CC0FB6200 DEBC640C68C82D70AFB7A7BA668F1D7948686206884736CD03D9F6E6CF9702BF E3C932CEF3CE07FBBFCEC0476EA6E8D5D4C5C6450C8FB236B89BB82D51886240 5BA7462F50A88F69228DCBDF26B7250E90B3DF8E94ACA1CADD9EFB5C73EF9DD5 46052314D445CC92512BA231F79A09A2F0D91976B160B8C9BA055DA4AAC1300D 491193EC66A6DE12BE01EEEDBC3A2291DA1F27AB76596A236B75E19FC5F1FB6A DA1AD835CA08B6CD03B97B4CA1BFCBDD2500BB09F1A1B0438E4A759370EFA318 F062BA9F3D352572CE232E6FBADDAA5363807D0DC5320B807FE5485C8CB09B6B 0BED9F5B1300FF370252DEBAC9DB25CE2EC494E8EEA45FC6604B3C104E81B287 EDD49F3D7430EC9176A16B4FCEC5DF68DCC11ADF90BD5337E2E4B59BEFAC8298 E5ED2C7FC5928635420FB1955251932713236DCE28012C86F63D12AF1DB634D0 0B8CB8992B8723548177BD6822A808FF221A9E38B0DCCBC1F3430A9BAEDA89CD ACEBBDD8CCA5E17F1CC37E35A01E058BAAAB6BE7124314DA19962BADB74EE73D 8FB13FF6AFB6FFF97926CA045B62B98BAA753AB0FC78B881D3FAFF9EE2FE918C 8EDBEF87637F1530E3E13AC090FF81F4136E08D5F3734327E643CDF621278741 A17AEBC56E21217888A6C8B5ED4269731910E7E25693CFBDD4EB4A32698F2447 4C45D73E810B627D8719E4E34D8FF378F9B68BFB149AC67B3B1E55F20D097FC1 AF74D46F5A3923C63DFEBFCA210F6B257F5FF3F2AC34CE41C15C9977634E473C 2235295C05C3DF6B3009C7854BF11CC87471CBE085793AF9C5D05C5479B9E780 14A5A6F3F6DDE5A18243DA15732CCF26ADE40C566DBC3C62B71D46DE87A12C6A 647CAC923254E2E74AF882DBD5C9E108A9160393C5CD12566AF7C824EFEAC56E 6F05B92C73A76824C5ED1735BCBAC61B98D509250C854CF1500C212F574D18D6 4426B8510FE9785B814A70E75C9234D42483E736D0689D3561E8EE5650F33A36 D50127589401D267BA6442E8616E2CDB1F6691D3FC4A2A377E5E154972E890DD 60CB463E9EA9A6EA61087DF452FA5646F69BE879337EAA0F5DA4438FF0365627 4E3B16851C2F08E976FDA27AF451CCEFED00376FC3D6E0C160F0BC19544DE289 BECEEF9A067FD71D54DA3A4F73F06E2F522BA07551296214DDA47B1BBB1212E0 1100ACB5F65FD30C655A3402C83058F8ECFE48FA60B6A3DC86C4996414130194 6676EC7F37454023AB53E9D9EE60249ABF6953E76DCE3123DD268BBD492412BE 65D7C3E5A5E483C381182A8F19B506F0AF6DCD55532B89852D1D96021B22E9DF D9D072BD7DD4450577E658B433A84F92752B260AFA2EC4A118747CBFE36AB7D7 6D5DD96A119AA1BDD0FDCBC3AFDAE5FF72713EB46759A06CD09B5CFABCDAB0E9 85599506AC07AA525978AB157496163AAB387F079EC9FA1F9E91B9C2FBCDC9EC 7027D77016760539AC03F1C1DB242D28D6EE946C42DD2262D82ED48C3A839853 BA977046F0EF373AFF884AC3112D2FB319421C3165DFA5710BFB9AB9595A10F4 9D05704B9E22137CF27F4B2DA9CEF6D8801D5F792969B2E58FB539B8038DF440 6DE20C0313A7BCD16F279290AD6859B0E657CC3041C7928CAE35B9D3A681F2A3 2D40F8EDAF1127E754276556C95E1282514B6EB6E43FF4F0FAFF28C715E3F39A 374415B62C1F5F8E31E006D6ABC736057910A3729AC60360CEE1B2C8D9F77336 39CAC45329A372205FD551B9E9EA5082411207473D9D90E76136AA70180172E6 AF6EF3EF6B38B1906B904BE9BD5251EF067738840C28877659B649C6C4CA328F 1BEF8A9CEC2CB062702F58CC0B8D2D097FBC278F9FD894E10ACE1DEC4530CBF8 E4E467B6DB9C596DF0C3D43E6AD70F30B733EEE692C2EBD68756D0C16E1F00B6 AD011B5DA073A769B53C2DA2E7C9B7ADC6F551BF4DF4C39C66443692C3DC62CD B1E094013F364D04BE2FBFCD1C7B2836180E9022E0434421FFA4317A50096684 CF0B8740EF680F27F4A84AAF2AA92C64883BAF57BDC60C6467A8D4E09E6316FF 9BE73053045E5F3586DA3BD1298DC15D751913FB1E72EF80047F6B33591B97D3 DFAD34EB224D64EF60F5B4ACC6EB42E1BE0CB2812FF2F3C264AD2E44F5EBA441 670CA0A60E73176ACDC4E42E74F8F489C73481EB5D46A61FDA1C0FF9F8844DBD 99CECAFE2A72833E4522981FA13713AAFAF8F121E60FAA6F379B2C8874CFF23B 8FECE70654E5855E525A403700A96CF7F8111BF2B58386E29640D82F1DD86900 E0E203F3ED554209CBDA2A61A5641D4B39D98C5C43D4575648D06BB82B6C4D4A F043EC61B17C208CE8B4F43A7BCBBE588A3D13A183D79A47404223037FCFA4F1 DD237344E589F161BB9BBF3FAD2E28749350DB9A74C09E894BBCA85B82E704E2 99788B24642A7D0F0FD96601CF1AE4819EBECAB89824A0DC1C03BA4B546ED36E DABC8D49CFAA53D2A9A5DD6B3431E364C99ED0323513476CDCEE49BC413E50BF 51EB93563DC03B62F84C5F96ED713F288D109C79179AEC41424822772032035A 40E84014F5BF40948F05E8562C9CA9DDD71F89021BE238E74781A92D64E5F9E5 AD6C0D954C6686C714BF189E78EE47F1530CDB8376E52631A1A26E3021FAB977 DBF01167266AD68A779C0180E034A90CB77B86747395BE885E484BE4028B4093 8BE191D58D0BF85308C72E6384292A2E1CD06130A091F8AF9DC6C3E12B1E4BA2 BB2C37AB4AAFC0CCC7964C06B9EC1C7E3BDCB6BA265288D9C8625EBA35BD2A49 BC50472D7AE262237FF1EA8D9DEA3C0DBCF7C3B2DF5AFB1F31E46B48E096517A 0CEDD60F43DDB684BC6E4C3F6F3D70BD58AAB5052936EC4ED7140EDE795223D0 4E3B95161D16B0402EB45FE97ADAFA0433FCAF55E22BD7E4AD2030D9DC86F55A 8D7EA00901EB1351EE8A0F1BFE75CE46DA4165D78043F8F0741D4D9DE0CCA00E 5F7D89A849AD0F0CEBBCB948613028CFC39617FE9184753372C375A9896F5F1C 7E24255FD49D2109CFF9ADD9A118CA47CF58975A9CD3A960A8A08A078B98A50E 4DE619C8B2D3E15938C879D785539445AC468AABD6A6576AF0E8ED368A9350EC 717B7D3BB55AF58941B47FF639CA2946028CDDFDB84FF0060D330DCDEDF13BE1 FB1F743317C15C7A9F34408F5FF7CD9745217D9B809DACDDF7DAF9D821C06B37 25738F0D20F4A86A079EDF71583A9640173B3EC529B98899601F0EBDFE45BEF0 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMTT10 %!PS-AdobeFont-1.0: CMTT10 003.002 %%Title: CMTT10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMTT10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMTT10 known{/CMTT10 findfont dup/UniqueID known{dup /UniqueID get 5000832 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMTT10 def /FontBBox {-4 -233 537 696 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMTT10.) readonly def /FullName (CMTT10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle 0 def /isFixedPitch true def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 33 /exclam put dup 34 /quotedbl put dup 35 /numbersign put dup 36 /dollar put dup 37 /percent put dup 38 /ampersand put dup 39 /quoteright put dup 40 /parenleft put dup 41 /parenright put dup 42 /asterisk put dup 43 /plus put dup 44 /comma put dup 45 /hyphen put dup 46 /period put dup 47 /slash put dup 48 /zero put dup 49 /one put dup 50 /two put dup 51 /three put dup 52 /four put dup 53 /five put dup 54 /six put dup 55 /seven put dup 56 /eight put dup 57 /nine put dup 58 /colon put dup 59 /semicolon put dup 60 /less put dup 61 /equal put dup 62 /greater put dup 63 /question put dup 64 /at put dup 65 /A put dup 66 /B put dup 67 /C put dup 68 /D put dup 69 /E put dup 70 /F put dup 71 /G put dup 72 /H put dup 73 /I put dup 74 /J put dup 75 /K put dup 76 /L put dup 77 /M put dup 78 /N put dup 79 /O put dup 80 /P put dup 81 /Q put dup 82 /R put dup 83 /S put dup 84 /T put dup 85 /U put dup 86 /V put dup 87 /W put dup 88 /X put dup 89 /Y put dup 90 /Z put dup 91 /bracketleft put dup 92 /backslash put dup 93 /bracketright put dup 95 /underscore put dup 96 /quoteleft put dup 97 /a put dup 98 /b put dup 99 /c put dup 100 /d put dup 101 /e put dup 102 /f put dup 103 /g put dup 104 /h put dup 105 /i put dup 106 /j put dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put dup 111 /o put dup 112 /p put dup 113 /q put dup 114 /r put dup 115 /s put dup 116 /t put dup 117 /u put dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put dup 122 /z put dup 123 /braceleft put dup 124 /bar put dup 125 /braceright put dup 126 /asciitilde put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3DD325E55798292D7BD972BD75FA 0E079529AF9C82DF72F64195C9C210DCE34528F540DA1FFD7BEBB9B40787BA93 51BBFB7CFC5F9152D1E5BB0AD8D016C6CFA4EB41B3C51D091C2D5440E67CFD71 7C56816B03B901BF4A25A07175380E50A213F877C44778B3C5AADBCC86D6E551 E6AF364B0BFCAAD22D8D558C5C81A7D425A1629DD5182206742D1D082A12F078 0FD4F5F6D3129FCFFF1F4A912B0A7DEC8D33A57B5AE0328EF9D57ADDAC543273 C01924195A181D03F5054A93B71E5065F8D92FE23794DDF2E5ECEBA191DB82B3 7A69521B0C4D40495B5D9CE7A3AF33D17EE69979B82B715BAD8A5904C5DE0260 6C15950CCF6E188A0CDF841EB68E5A2F88253E382140F87C87E55C9EA93B8C89 14A36CDF630D6BE7CD36DBDCE22B21778E8648B97B7EC6742EB5114BDF0454B0 0EA7B1FE236C84C0E5308C871F67B973892890557AA12E00B2C20C71F516C397 3F3BBD14A1D0149CA064391056E45E9470FC7F6F556ABC82653B3C8049AB5CF4 BA83C8F2158C236B2FFD4208846013BAF4165E8BB8D334C8FF2E8D74AF5DAB2F D44788869B08399421AAA900ECC6A2D594641C121660D4B5F512938994C18DD0 FCD9B008F68F0351D21ED735B2740CB1E0C1CCD25EB548C35B844601D98828DB 556F71D07E081A593FF12DAF83676492A0FFE16E95717A07082B43A966C1EE8F 8A59E1255E1705C43A23CF29A5E4A6547C93F1680A870EE7BAD8CF74D838CD5E F806911D8FE4262ED8E7F5BC58B92C9C6D74F8AD45FBB021EC7E97393018B9DB B1B84E7B243ADB05ADD3F1DB3692ADC5D47FEC7DF93080669E63281F1576B673 125EDF08016664BE73364F65389F7C3B66623AD1754ECBEF9E5CE6948D933787 A5674279ACB2EBECD3B4E6361419AB32028A27670C9F3E18B746A10B00AF6D77 4EC00E3BE521C02A99AE5BAA98F793EB1228952BE67934B91472E01AF7B816BC 56D7F19F631A1927846D800C107B1E9CBFF9D2DD513B4A8CE2E0DFD77B1ED178 E43FA7052765E9FAF89989D490D8FEF6C536EC0D4AE27A74F474B98DA9E6B92F 15E063DB260571979A5DE2423920CE1F59F56EB11E00E3BB9D466A8263E1E385 2014BEFDA8D1EA3EDA04BE32AEE6CD15C5C010A1DF7F705A2C0C18E87C8DCCE9 05D9163181CBA56C0FAC8C06A2990554C8E759D076B01BBEADE3B5FB8B551390 6C8E4A2A1C6E7D9C708614626F3770C0AB7DD2027469C77975C27576065862AD 04E5E50CEBE907E3E991FA0C627302C0E207B4D5992BEBAB5853AD1C0D271728 C76F40A79392ACCA7358F948AC65DC823CFDA59E1FF69CEBB6B7EC3CF21669E4 70D999508F9C49E2D9F8818CA53C977D93E15FBBBAF75B1E84F0BA62BCC4BAFA 4EEC82D804C8A8C0210F3E5E258BB1F6921AF02BA9861BAD5C3D5FC8CEFABA8A A607E547B802096F7AEB09FBA99C83C9A494B94408DD607CA6561A6E6660C473 62CF8D35F31D052F6C6C8138A8E1430CBA7EA6973D6D510C1A06B3FBD79D9364 240C1A00272DA44B89A9FE8D5BF36DC1B5EBB4A78ADBE9C5EDB485F093D9517D 69E1AC9A8E6C9D7C324E3797CFEAD9A18E82E03F69B2CED7D5DDCD1A218BF2E2 ED2293AE999FE2A4B5213A10083EE0407BCF8007670B8C737EAB30311C868D84 121149ACB4A27F3ED6C0C181C98AAAF51B105F264B5672D7F745131ABAB5BEA4 0C9B43C0DD9116D6DC61F90BE72018F290D26D5E9D341055CAF09C9F45333CDB D45B7954271767F638EEC499F7B53C2CC5774EA7A7F024C4CABFB93D9CB1856A 0C671A4ECA7C62EA5242648A84E7F3AFB9547A0AFC29593CFCE6D8B873A78157 D337CABD291431C0A2CE1F37E0CD7340567AC206FF98E4B5A6410F70F750451C 550EFB54AA259A1B236CA9CB730D2CEF125EC65D959441F7CC9768F777B44844 CC9842A307C72B740680ACBBF6AA35FA7A94825069BF7696ED81A371A9E5475A 9D997F2DFAD339AADF797F7E03E654234455AC3D17702A420EE0A597BA31BDE4 FEB8DBA7C61D311CC90441A620164DC22DC2D373973EF84CC553453AB1B3337F 7B39983B8DFFB3A9425F119B45C1CD37A76F905777B3154CA6200792F1759D06 E017890F4041A385F2238E3C48B6C8EE6F5258463FDBFF7AC762F6C4363926D6 50F004D473B7B7F73CA686B559C2885F1AA761653C727A77D73431E9D110E76A 2E55C68CD50F43997C9B2FC4710F8C8540909829E215678E63BB8363C4B8AF05 9986102BB36580D9CA95CD216B7C321822CB41B2E0422CD077F3B55E0246FDB2 44D5976F67296B5B0BE4B06F6E43535C21164E6C5089C3E9BA2D6B30888C57DE 49DC8D9D46C0D5EDC47ACF2C03B72DE3B69512508539019B759280BABEA12BC9 385308A0395C4CD33182A10A5A229743379C2075D82D8BFCE4A66E1AA087A091 8F5372684FA5037D1B92D50CD9CB4F50AD4F8EE7D51F1C9E63C721CB5B9BD011 6F0A8DD4FDCD2B008F223A1036D90F0F3B252487DE7898F9AFBB3A9D9CD49E0C EF4ADAD5155A98D2125ED5A3D3907F67301649519419F33CD942E8DDEAC1BDA0 E90C431B198F646766A8FA9F8D1561B57E126EF604838C0C1966655CF31FB7EB C8CCC434FC1C96046D38203E1791EC824A3D7AED85C029288D4608CA7668A2BE 484C99639F121845B22EEFCE0A3B808261921AA042AE19E641769E91277BEC29 4594082CCB3058F90FAC4A700A8A827ACA00FCF574ABC8EB7DBCECD97F2B22C0 0AA19E8739B81AF8C6F621D69B8E6F29BAE233FBA655A0AF5BDFD7F5C6B9167C 6BC7AB693D45EF2AD999F5DA3CEFA39BA48A17EE6D9F2C4DAB91AE3F0044DC3F 5D5506CE4675AA928B0092D6F173644F91295216D8BBB14CDDE0AD524A4D545C 1B5E284A3BF0396664081CFB4F186A84A0D24D61E82F4767C1E55A0642720CF3 909FA1AB8EAB78030B59BEA067DEDBD2F1D0340E790AB2777DB18248521934A8 BB38A58B7F633DEA4291B0D5D13E9A882C974697CC6D3B49E030C94EA29B5506 CC29C44D01B4751B453A46A9F6BF3BF135AE87A4CE232AF57B66578310DE41E0 2A6AC422117F1963C4D7CC306BD25A6E724E51921779F22F029733122E23E2F0 CB340008813ABB104380C80A492B3FC6D0BB07CB8D8409E9576891EF6E5C9D08 EB8320DFA31BAFFBD336D0C2BBC3D3B2D30368B9860768FC080D30569C7F7811 0EBEDA2962476113625EEB555490B8CE4C5F99D74ED10F738C61854CFF8B41C6 9402E56BE8856144A1A05D0B05F4CB7EF728B2F4F5A439F18C3B68CEFA41E59A D8308ADC92EC1289DC84CF48D2CDEFF509A145BF945E1E00D552D329EBD2A7C4 21D58082CC8FA790E981F4AC8EAB99950678FD3A7DA3DF13778681B208DD71A0 7C3CBD0664B37C9EDC6B601D79A2C51FB54DAEE849F93209793849104E722D3F 52DFAF7047EEEDDFE744787A5801E4AC2C3D58EC5DDC15FCEE03990C53B0C57A FC54F125A04C8E4A0ADAA725808C587E7DAFB9F784FA2875689979D316DC22BD AA36B306A1ABCF907B63C6476737B746099973CAEA8C1E2C5C41F27E0F7DE8D7 F0D942E34E92F43FE902653D4D2EBB6F3B9F7928B1550A82AF234D45D028F429 067652BD3D391BF423AE72B9CB1E8D91E898161BE3A7849D456A861A2046711E E934DC59442AE7D81661CE8EF727D8D7DDC0270E937E40F896AEAE6171661431 C1025C53172F9D366834BA0054FBFD84503FBAE328B6FDEA180F8EA35B1DA937 5CC3B8F00C206908C2FFFFA6A7AC6915D15EA44BDCF29E2BFCFD4A849535F19B 0D307C696BE8205C7D84B9C77F02EF27D911056EDBB4080E4D3ED72788666CAD CD91B0ECE27A177DB23320A7FA9C31408B4D02D2A4B1CC6DDE1A6CAC3D8EC1EC 2226EC98E51046D1EC26FA20EE62D24747D83CF4941DCE5CCEEC0DBE387149CD E05B19FFCAFC0D117F9A3E60DCD4C815228D98EF95EB559AD0ACC0D50FFDF714 56C3C812EA5ADBB013BBD956A7C4CC0ED7D3E25D5C9AF5E626F18297F75D4957 F5B0B33379114B903FE98BCF35C3FF76FEE1D9AEB711F2962276531F7380EE3F E368720E0292A170A15C5539B1FC7BB954EE2624B504CB8C805B8D31AC38307F 0513606F09211AE64DAC447693B2A0AD15E9A64C34F5A911ECD0ABCA90E9791D 67C6BD202B0858EF96E7722305B8AC02B01AB1706CC6AE875A8DDD15EE349046 EAA65005E7866B506EDFB7A5A2AFD5C9E9DCC821A79EE9C1EA2C7BBA32A40BC7 CEC26DB1AC473C8C3960ACEC581B37D6569E8C8C42950BAB7930B65E1570E3F8 9A7FA719F1DCFDA45A3BF2AAB32C9A93BA3552608A61C623DE59BCB346E87EF5 9CF025A87803161221C5C1C6F6B3403712C76E9D755C7BD68D7F2DC03C14CDF0 C1BBED1D648B905B4B17037B7263C1EA7A7F06FAAC4E09E08483A8D714C19861 327CD9C32DDF850302DD6DDE24912D00C22ECDF3CDFB18FA831A41A7488EC203 F564CFE30D506F0829A96D35A7E09C3DCD107D589B627A15B55C5D6649126BEC 60B88C55ECCBB4E680265D9EAB4CE22965D3B1AF759B01ACB0D0E6C92B6B4EFD A81E6A648708979487FC591CF09631310D46891423F4EC159A73E30D8DD147A4 B0EACF6D45D18CD16CEB8176F03ABCB41F2234747B9733C8FAF34AE5D43D3BA5 0CE0FACFC9B087F84FB6C68678BC6E76022B1526D6E5B3A48EC1A110BD75F45F 1C4DC6D39F254976453F57DF873B7D635C80C42026DE020E5BAFE0DA0D54D1E1 DC634D2621BA184347E5252F645A6A1DB7657C48124186F0E4C644077457C24D 55753C651A9A7B6349867641464B515B821349C795A645420508673B93750D0C 7A3B33EB1F09782033742AE8F3A23FC02284E6C03818FADD1731361542E3FA3E 75B8D52B668C3E18A4AE967D0FC3157083D952AFB8144D549E69EAAC51C279C5 E5D88A0D9D53013DFFB4352A1598FF84DCDE6FA32FC377306B9B92C0F96EE149 8CD55E7B2445B86CCA7A547FA732D52D59025129FD8C6333AC0DF4F0CFF6287E F2036D5DBBB3B91B92F12FEBE0B61A313A4DB5A9CF0BB3DDB781A56FEBFFACCB 8CB9D1D3DBDBC4CB6AAE6769E470582403CB920630221B68BCB625CD4605FA8F D3D5B7A1A28D15E44B38E92E906C138E72C15B86F64C38E23BF0440052A8C914 54397F49DBED99D0AF7CEA3B0A05FF37C2D7EAE1412567E6776333237C31E3C0 49949EC8BFD6E0F6446CE2D4DCD2C1524A288818CC5D159BF8463A847AE4A2B9 CC8C58F822804B81B13BF4F2DEB6229C4F51F093075581791D02C36A13B855A0 34900AA7CD4F1A797652656FE3A8425A38F421C4CC0ACA1CDD44FA6B31219276 1CDE1CD63D6A58CE705CB56CCA1260F9B86E989019071563A9B4C274A87558CA 6EF1660D574EDA276801F0057740E2C3B80D253D697736484D892CE1AB128B8A DECD69712F5E70E895FBAA927E8194D792A04AB6CE205E04E38A433BBB793FB4 E8BBC4279D58A223C6673D909D6AFECD246E66A52F4CB35E5931D24C828489BD 4ECAF621A220D8ECF702BEB01C4FC7510197D3F6D15321EC87175ADBA6434ECD 2B5A306E91375CAD22CD94301763E4A8B981472890422C5488FCD523C9CB17DC ED22FBF12D5F7525D0D6BCFE8CE85B0DFB1D6F989C267FFBA0A996D309E4A934 3DB54A9D29C88B9D55D7300DA3D46419256C5A07A2A529A8DE8BD1727281F5FE 97033D861E0531B14E811378EC1AF1CC7EE9BA2B07D935843D3053F673979F8C FAFD59D555B56CE338F606747238B22BD62C42BB7238FEA335678D474A643570 A9E7B4970E8C541CE9DBC7BF70ED7BA33639D6744A18379455029E934C95E2EF 639C4848CE9A0879B51649FAB023A71782444B451F92A34CB8A124270CCF86D4 D18EEF5C1D2B2A29012613851C49F50702D63BACF95EE2AB4D72B375E0A62615 E0991E130A67ECBA9E05329B740708F1CB148724C3A6E5E3AEC1F88EBCA398D2 1CA8827C977D72734310233176D1AE26C55CF2CEACA62223315C28FCF6305C7E A22414D4739A059F552F1F9372CCCA5FED4F9AC987942848EB498900269511F3 F408CBEA0659B954F5F1B18AE4FB270213646F9B28AE4439D2BA2D3E0AAAA780 5E530E4EFC8A060EB979E12191044509DA0C14397AFF949E12DC970658D5EAF5 4EA963F5BC1407A32F3837CA6A24B7F3D60EB8E6222B702E25ED903F9D21AE50 664A095009BDEAF4B78DAF94E5A55D48366CABF07791A1684B2F54EA69070844 4F031AF8DF416C2D3679F8BA038B0DC9DD0400CA6B34667BCBBC07E62C1668A8 35A8C57C9048A7227E672E89681B54D662079A189A9E96A3CA96D8DD10189B04 1DA49BA2729F1CA585B1BD5C467295285D52E47CA904235A1A3E48EFAE9EB6F6 01374125CE89D53C276858668CF45D2F092DDCAA52418E0BB94C2B8266B4D88A 5D911507BB1DDA3D8F6E7C14A91CA11AE799EC42E993098E18CADA70BD2A1D82 2C39326C6E3F9E84CD9758B9AE43D79BF99E6A0CD713E95B3D9B7DB90D127DE0 DAFEBF850CAAACBD860B5DEF2082F1ADA64B44B193C4A1417BE221FDCA36456C BE5934C8CE3ED55AE3A11697C2D682B7D0F72D48976451D205783BE25DBD2507 39C14FFB4BB828DFD187104F38A7F11D5F0698C11E8C1D4F107CACE573FDC4B1 C56FDAE47024D6FD16A2FEABB434CA320300FC4B6C1B6CA08F76C60B7C08A665 99F404DBA8A2A1EB18EF6750E4EC186E31561A3F080BA6562967546715859481 7BA782940F5C5D06626D6F6A412CA7C13820EC7C1DF23E15E5829F698CF617BE D940523E4EE4ADECEC48C24297DBAD528BA1DCE7AC335A1D15D55415B108EFC8 6D45030D27B3EA63B2B4CD771DBE66AE0218ABB1153D4B7482289D1313CEF184 5C960B1E3C3C953912CC6F4521D1E15636C1545EEE457EFB87B88C9E43CC2F38 6BC4BC96969F4FF28ABB06F4454C01CEF1B6DC538F1E832FC1666D977E5A881B F72F1B4C7DD4BE167A5535F1163A0706F9A0B26400178DF8A128FB5EBE6A7B81 E478AD183EC06622B591337B9F1872AAEA356F4FC67EE767B34CB5A4D90702D9 39FB846947F4096FB3DCF16EC81455164783BA0B5D723060DAFF411B68307E81 7BEA1D9A47A5AA3D648E618C83C60F060029E6EC4D46B045FA7415BAB2AD0AA5 ED9C729C24136F6AF61E6409C0B5CA760B16225641E268A68CFB8260BBEAFC77 6626EBD97195E77CAB425CFB0096D805D9EE699E41680D095AE9FA10122A7882 2F00F495C9EB2102DF0D3E61833BC0A2E468C5CF7AB430FDB7C0BE3DF2C0D230 1580BAA25D65F599378D873165482A1FBB224AEA89C6BCCFBDBA42AE1C5DCF41 06969F585CD3B737D1388D6359F5468D88FCD2279BDB270F6A858FB7D2ABDEFE 5EE8FB79FA437F8F50237B92C307B73B0DCB808D07A9C3255CB9B3B17039CE5A 288103D05D132863FB522A02CEE3839EF9AF7F07D99732F0B8B384745369FB3E 7901166478F4A16076A1504C5E98D17408494E270BBF4470ED12B4332422679F 759F1D93984D7E506D16950DB6C2682FE1379EFFA6F6C95DD71F6E55BE3EF6AF E0CB25388EEB436E6527806FC75484133F6E561DEB979D5C1FFEFDAF2A6D964E 03BAE0BD593C2992AD84569C81050F7A793C5263E50C2F50B98C4CC703EAE17A 6AEDAACE312DAFAF5278D125B6EFC5587484F61DAFF46B87B7C9B1EEDECA4859 314A9A9E2248467DE1E54D90DD671660B9040B3E0DD982260822177EFD757266 74A16C83A7FB168016A320D3DF3BD7726F1F4EC90EE5DFE810C96B099FD4368D 906AE4699049EFD37E8EF058D4B97BF71106445AADD4FC6E90615A0066823A36 673B8DE32322BBE861AE251226B4385AB28702831270DBD25D666FBB0AD7B96E A44E891EA1EAF0F87013AFC982E33D67A28E96E0C9CB99B9E4192536830D9901 931A8CAFA41289633B20BA3BD7AA3414B6DA8D57CCF2FBE39920CC06361F075B CC40335DB9A0071CFF77F6B7BB47F3100DBDC9C4A58C2B81EC99E8E966AF3390 E3FBCC28BA1D79961C8A1584266454DF772FBA99664D74D4A89FC82FFEDFCFE1 4C9E4A04291E803D142E37E7ACA66AB279378F2F192FFB2B5BBAD18B95F03136 2CB594A3D6D3F8576B90A6C4DAD6D6C8EE07AF682F925F01D0B26CBA347C03BE F3B0585CF4539FDC66915E22117078CC94D621F31DCB3E021998A5D6EE94CA4B E214D07517283D56973D8E4367392BF6C1150DEBF459D141AE0941C1C8C5CFBE E735D796E365A1B0F60BB4CF2801EAFE4889EE5F338D3C4885368281B3C95CCE 251C28A90D318A8A0384439B38D63B94757252062EA44E88509FDD2E75FAAB71 7329622828B2785C1A8B26351BC74237A6BF99216652ACBD4CCF54CFC8AC72A6 46342F1E32D4318E7E27C7B2DAC943B3E72C472FC6F1DDA8684AA922516A672C E969C047E318B5E3B1270C1BEB1C4071A15BC81B29B268C679B41FC5E381BE33 DD95F0D68118CBB60C521E5CB2BA46A10E50E9238163713290DF6DD8A27D3813 F871C07E725D4518013D9A84CEC96782541E5580E33C2EBCDB18F08EB4655A46 507A8526DB26C854928B81FD502B0CCE4A68943C12078F57C10F4E85FBEE1025 46D925B8B3B447D4920410FEEB9844FABE985F9228FDD9F58392F2F3BD650E49 2E3AD5A14984874DF4572816931885CE8A448EC95BBF40DDF4F85653AD90A88C C4A879C0C7596E61997B972E8A55E57B17F802C738E5C7A8FBF6424F8B131B23 CEE3EA3747DB066246C250EAD335A76FA166ABF75120CECB59076AB31A51F176 57176CBE8C802A97B0542A5CFD6D5E6D7EC848B923012E45D9F065BFFA0D03E6 788B68BA4DE51DA37994948F859D41C28BA939C3A82BFDB44DA585AE80B8CD7B A6EEA79B70BFB4864E06F06A9751BD2D2A209D150D7135E0A25D67263EDD2A7C C63B5B76ADB05D44BD5BC0BB3EBCE2E74E1AE5F7DE07A59D90C932DAA2553505 27F2AFC05F7CEB39E1C7E54F69FB0BBB069959F2FBD11709F8E81F6E7CA06DBA 1CBDD8E7A78487462596DA288B50B295E46F4C3D9BA862688C68859734B232A7 4B371D2BD786924F186524765E789EEAA30B20C069322D42C893A30BF1BD2C46 F8F3732DDFE80B8FC1789239345944D8B457824FD80D11184E73FBA30EB80A9F 2FD466826D4E666E3A835B98A1D4AE5D17053A6A648E26E77BD08F9A3E02956A AE82C4929E9666F539079846527D0E326FE7CBBF86E3722BA3E53F8A5121080B ACF8D3C67A2A1DF624B9DB92105D3C833F5A6ECEC108E026E1D3D968967A1447 15CEFDD09123D56606134BC3449404ADAB1330C9238DE48F3CDFBC91EB86D7B3 8B85B5BA97376A0673E434DBFF19798EA90BFBD94493E2D21976F8106FC0C276 C81C9B9F7D4A68120DDA56FC6EC65FFA40DB78A60A05EC270A106DEEBD2CB92B F0622BD2B1D43771DF39AAD3ECB655F317AB483F7290C148690903AAA636583C 99DE3DBA99EFE20773D3D8DDD816A28D7BD8881DE570BAF5C7A30679179E1214 FCFED81605FE56AEA21C1894167F93D648B474352A65C0756F812F97AB435ADD 22C031A21714A626DE35308AC51CD676DB1748DD2773532294FA77CFB2AAFD32 A72BB7A045F12B4934A768F89217233DBBD69B900B28492A26713CA5D61A9042 A982CB071F1F875718FAC168E4E275860DB6369B8114E1BDD4801110B62C3E3E CF140554C826967A99F4E9726526E87D57BF845CE38E33893E5F9788769B6A4B A4577C38C8D45AF2EDC9F4FA7DD9979AB8E14FF5D8956233AB4C02982BE8E561 C63B7BC314793F634DB6F086E1A60D9FC3B69D3A7C20A99FBF3CB028CDBCEB60 E803C8DC3C5F0CCAC030905E72BBAC052520CB0E40E23B46B2150DE67F61E4B1 8C4D55904B7F90DDE4A4A78B11AE1009DE46DA396791B1C0EA63FB6897FDFA0F 42474042E7E9B06A703A7C6E672AC6705506F3C0B6861BC85CEBB9DC9BCFDE0D 43F5248CD7CAD4B89835BACABBCE6C791BC35FE7211E775C009844FC75CBF6CA DA6A6B7B488270BFAFFA3E9950914CB0F88C8AB7CDEFD2FDE11ADA7073037EF3 1A5CEEE37090F3A56D06FBC70597907A26498593783878C02722ECFD5D65903C 7D421CAFA78924DD27756853568535B02533C3393183D6E30DA6ED4BD6582E09 A5A4B4404EC452E91CB44515AC6124EBADAAE8A98D8A95E7D14DA39951EBC461 D426490071462F246794023DE1BDC04AB0F1834D50F748C3C60A07E1FB8EF400 78DBAB90B59500BD1232A872ED51928329CC8F06E83164FBB2D0B24222223EE5 992241E8E00D5DCCD6DB9A8E2325ADBE12FC8512AC127BBEABDA739672C1644B 554850CD75724E6779A7E76424CAF89E9455860E0AE2679231F4A535C0ED4336 313717D6F7A4A4DA833847A1BCFC7BF99234FA645F2B85C9A9AAF7108931E3CB 077A9C571E57B0D7EFD92B56C3AA4FCEC0BCAA96005E649AE8012366BE6E62CD 9E742F8F45AE4C96BCD73AD80AFB6F061D629ABEAEC3018CFF45E41F46751953 44E490B1355DC49C1E10BF343307263584091D122ABB1E3892E532B6DBAA105F CD48375C112331EC5DB49E4D4CE2D126C9274B21E678E5E3EAAD4EA0CAAA29A7 86FD8819217B195EC6E40AF23ABCD71156656DAD38C931C8730715A2773DC44C 4DEF14D92C2A054739F27D7EF349A0EB76D952BD9BA169B4F85C09D80984D232 2CB4A3812BDE539DC79E2EDC7C221739D16B10246A5F57151C210878556D4176 31EFF3AB6C4D78C4F0DF81692B3C9BDE4F85242BF0E84BACBFA39688BB222A81 E85E9CB332868ED5B64E140C66E242B97A90C13B6DFBC3D285A49BA9D4BA1A47 64D83577FFB50BF974D953F42A249ADF9AC228CC4D8E82213FD463BC757AFF26 DF4D1678FBCD55AFD5FB3014C0380B2F8CA9D6400DF2AA041580A6FA5694ADBA 674286F00E531693DB28F7C996D5A66F80AAAF53001EDFBC065C72FA5BE3F114 1FA3354376AEF7374AE1D0A8E9B06C58FD029922164DC9FA09343FB6652232E2 2EE34C662F0092BE479D739ACE775C6F589775DD768B736F7391B9AEBDE7F760 727702E145CF749DC457B2E98A36C52416107B1E59084B5F777B61511B8D17AC 88386A7933CAF852CA23FE179B67DF8DCF15800755605847ECC0FD77873727FC 1AF2BA8BC75D30E26C40913771E528724FD7C5DE284A8B58AE55A5C48AF26AC8 02E155B8FCD6755D8F7F5A6F1AE66E4D24A13567B6463B18E65972BD75ABF732 FB41F87A62FECE9A50C697BCEA1E3B3DF1E3DC961DCA598220CC746326F85F83 72E803A4E69106EC5BCA01139F92171DBF9964BBEC8D3370039623CA1F927CBF FE7DA71B04B4321EB4D3FCB27F8404994CC7DE5F26AB8FC019A203D6DF2F449D 85A4F103F7604986A1AC1F7D05D239E728FD6AD1DB5024B0A0542130D2B0E7EA 4432F910F9FD75568F5732EAC95F7A87CEBC359949C26595741533E952327791 87E42DF84E1064E1BDD3F5A6455087B8E9C783AB9ABBCAF032E9FA32C27ED7E6 CA7E3D1D76CD1905166090BD81A85485B9B4E976DB2E19A8E62EFB795FD6298C 9ADA57D5BDA2FEBB227F0EFEC59E4B51E06B8358006F9D79C1EFE92510D6046B 6AFEEDC793137DE622A8B3F5C9E3B21F29A98A589D9CEE75E348FD4D206415CE 508AB95A7496236AF1F6F5ED6B3ADFBAF1E35B51484F9B1E0C11C5AEAB9336F5 A8861ACE1EC74C4A145A64E4FC8F6BEB3A16B021AFF4AEDA59B06326A8D7FCB3 3B75F9729BFB7EEEDA8A1774728C80AED40BC35D42045E5CEEBBBEFAD2566CB1 AD69A9A972826DF0F2303BB232367E611C115E8955DC97779B1AF269B84574C0 9D816C88BAE3AACA6428CFC648FCF0869AD9236591E3B8FA326BD2EDE7F97286 511C75F4EE4F7B4DA33BA2CE7F778D92AE7C1B4844CAB3ED8FCA285454D78469 1639D24729E8002E4507A114407DF51543CF7DFFDB7E05ADB2D36E139F2DBACF D90AF274AFB3E5AB5B38918A28EDFCF6EACA78248BEFDC2FAC0E041AD35B130F 8A91E20251CE976680FCE3F8B65B33118EF7C138CA1260D3CA855C94FCC02CC2 B29C94A3FFD38056ACE512DE680DA29D97BCFC35FB2A85057E484FC9F72C9A7D 08AFAFCA705335C6E9AEDAFA97D884E0E463E79D8AB45DDF86C56EC922283C4B 777EAABC0D57BEE30D4D47FFA16FEAE2FA972E36516480E1FCAFFA5CE692B7E8 8F887C5AE573B96643F10BC62FAFA4BC6CD04F5353C0D40CBCEFBBA4DE7B8960 352E7F6497C9C4489779028934084522336B5E5DF6FF84A78158ED5035FFFC9F F199AFD543D5D81C0155F3EE0E7F6FAF7898F7F26941D417F7AB37703FE67D37 C263078FDC85C5430CF379E657FF9ADA0C00DBD605386F5494459C63D4AC057B 2E061B06E17B54AEF38A9EB401FD4C76C6755F2AB651473DA2F19E28C89229E3 FD385D8559EFFEEE5D0CEF127A8A6CF9017459466E0FAC341DE1994C03A0CA5A 799CCD03DD2B41A05F7B36493638AAF8D7CD380E03726B0A18B02A46A0BCA027 9BF16ED75AE0494C36161ED2C22DD7036FBBA2E319106B9A56FECC732B87E2F2 596167125221D42DE9D4435DAD321F878FDA68B9E72DBC2E31178621327BAC50 72148C123D4C8568DE822169839906B9F0ACAF3B4DCEB9352C8A9E246A9A5EA7 31E04981D0A53F44B6905704CFFB9F0463518C02538DEF2DBDABE936D1213FBB FCD28F833C5872057CAA92536B8E8EBA129745E2E2B5A9F07086A1212D466785 EE640432A0E47C91CCFF3FED5669C8ABC2B43551AD04E7A2FEE2F3C16511F7D4 048A8207351E83AD32A72360A2DB1AA8F78C5D2630D770F5E13D5C49BE166475 79483B2F7FEBC1D73B04E0E5D9B8243DBEF7E5D201D9F644B150A230B5CF9B90 CA34BB8474BCF408E37757B8CE5B33FE7400A68C70F542C7E2A22B8C0AB1EF9F 2BBA7A646A4C872C43C0A748F078AA98A13E882085B460050CB3F5B09B62EC01 AB87AF8DFCA6823ED6CF8426EC115C5E4DA335FE416E1D37311B7FD56793CCA0 BF90B579B0FD4E4E1D0A26FB0C1D490D99CF4994693630FA343960E15AFFC596 49BB7297BFB82FD56BBCB36DC1597F94A157AEDFC53419BA867CC02C26464BC0 2875127C688DA6902567716A908153DB4CBF710CDBCE50AB98E0CCF1DF5CC571 00027F6582CF6AB4E584436471D3C8DA2D780E5B02A9B1717364899D51EC679D CF5F4A4981EDC24F710E892772E4F891AD02B7B98A113FB1AD2B5A51046693A4 19D03A75A3140C19791C85A0DDD173BB3618E9498CDDC8696CCA6EF81729AD1E EFE4F3D6242E1766A3079371D1D1833841F46F04F2F8029D8C1943F6986A95E4 9E77806F221CECAFB3EAE0F979DADC5D2E4715BFB5C64245CBD2300E59030B99 0885F08417E1A0C57C3746230F9EF4E968C0F41F67706BDA2E983012BF317612 38E9C0178F027EDA0E679F306AF71F0D8985C712C4B4BBBFC57A86AE052CC2FE 5C1BDFD948801509ADFD4FF9FA7A25E30D6CCC7C7E418EEAB34C4ECC6AC8FADA 637B5CC70136EA5A57B727EB11075755A7840215CE2B9939BBB6C3A7E22DE42E B3725C1AD0BEE0A54C0B57CB93E6A20E319E2FE4515D80D09972E0A742D20DE0 55117C1B9F3C181456406FCA70A7E3B757A813F7CF9E3562EB8CAE1CFB65DAA2 B384C17AE103C20851906846AA4AA5EEE5EE989F292D42B11EB4C4FC057EE4BB B09A4D81E8AF0CE1C851B2E328E977207A6989F13F7FF039A4E295507CF0A53F 10A345A516EDB7C5FD5763CC27543452249D229BC22099C6FC1DFCC07A35144C 6267BE8D5BDCE57F9C7C65F6A64A74DC2207C8601231477DD57BC8259B26C683 22FD4DBF0E3BD814E31C9E194CE2EB212268A249216DB084226802B79DC72AAB FAC4ED3AF6BC51E2D9A1D5A37F5124BEBB1E0B010C34A1B7FBCED45414AD2285 43BE684BC7BB56C5036D182AFECC061F749522456B4DCD80E3315F48E7E8AB98 40C4FBDE71DA957C8FD860C4AB02C97578BC8299EF448A526CFC585F27EA14E8 88F9928CBF87C8E46F69100F0CB43E2720B0BC8DCA50D59FEFBB84383B4036A3 0ED89F67B433AB4BF686487194107C63BF989A80D761EF3FB20146A0A496E5E9 26375866581146F3537156051C61F82AA5C68B6E8418297DDA7704EA50262775 B96E1E1D7643370288780188ABCF25B9B23BBE408EC5DE254F51469D5FB06FF6 2EA926F94CF1730E014F34822ED267643B773B7CADF967D431B6F3DDC998E56A 243880E9F772F3BAB3702C19C5DC92ACF864D6A771783E178F4A7BFBAD36008A F0A61C5B437A69E31235DDA9898B4B081F1176C197C0834CAA25FDC9BEB696AA 8ABD1FDBE17E30070690EDA533E2EBC19180DCE4CA8146D6657BDDB765DDFB21 D0CDB86912E49DB109F66DBB9226E297945BCE9073E724EBABB58E42AD94CDA4 C9DAEC40F79F3A3D36777B18C61DC9D22EC351324FAC3426917C893E36C8D953 4ACFACA05F8764BC61A17F6B40D3A97177B97CF88C2B0023ECB3F29F9CB347DC E686012FB31904DCA042679776108D9D611EEE971D341ABCEACBD0866DA21DCC 270D3DBBBC9CD438F4F651B58D1405A82960CA991CF690B8B564033154645D8D ED5E4E059D9DFAF3A5C2BA1C1AFE1B865901C8D117262CAB210A3C7A03443544 E22EA5577AEF1378A9A4528592F32A8AEBCB1CB6A7E4948FF78C6FD230A5892B D8953ED89392929FB91C042D31E7E8A4912FC701E722D7FAF0308625B3B748F2 26DE427383236E131022A95395C72B3DEBB139C81811582FA4E9C7F970FA605D C8DBB3ED8B141428ACE6DF426B2567B10C5D68A4060F25D5D64BA262101CF5C3 4B7948CDEB6CAC66FFFA0F1795C5F3174F7D319D252DC2D22BD08FAB54CEA742 64C0C6B94BDF182DC0942C0C82E82A0B04654A7C2E6BE685EC3DAF1D5FE48790 DA815DBBD0A176BB4D4424ED7F893B4CED54C2EF94D73CBB154E547CD33D874A E754A17AD1F10C23BC5FA4E709330A10A73C93B843D8CD8A65D5A4241B35CD19 938F2BA2FA95551F0C2FEF1CB8B056D9A9120F7607BD4C497762C577B66B2DF6 8F3F661EBD7F3E73E3A0032790ED80F774423A026F8ADE2FA82129E1FF27DB3A 1B6E603479668FD783735606F7AC6BE9D65C17F7ECCA3B622C13F0FC95F8259D DA4801A7EE18656AAC3D730CF2E17FCE8657AD6289850DC06E897A759F7B53CA 502E764B07FDDBE6E99D25ECF1600D6646622334871C57133A8AFD03FBBC2368 1BCDABFA9FF4C4A9EF150045F694A3AA487BE461BDD2BF1BBB38BBC365837063 70963C7C1E7E4809797F4E497DBF6D5A90A71D6E89BEEDD5D16B31ADCAD67A81 A9A3085B4CA7BD93E1A9591BD4A7C88FF930EE7A131C5F3338817D88AE31813A C09D5E7120AFA6565B0A647A40CA94B78F20905B7110FE44A90794F7F0CD63DB E99675C781255B7BA257CEB14DFDF9C13A02701B0FE41C6A6F50CC62C028A3BA E9A918549B7F9F206DA0909F2009CC87BBB565F281F24D0ACBCB71F12709DB31 5D355415D97F66DB25CAC37E90BEDB51F2FA97E0A61EF85E845F702D0B3AF935 14F3EB201323209D76C7C5970AEFCE4225FFB4A1477B177BB52332AA0539291B 9B8004F23CE4E055F7AB6D6F2A8E74C2994306A407A4FC831D1C887C42FFD0DF EF07891681C7F4AA914AECC427057A8D73261E25F82DC3EEE7295C0870E91523 E15187584B32B8F8B0F2E9BF4E67E5A2858F00B0C59DA1B1B59B00374C6C6AD9 741E0998EE0DCC6F5ACD1925CC40807D5B66E971CDCFA4651BBF2490FADD15EF C8A7EA3ECD078D34D875C3EC5EDAB74AC0DCA00F2329184455C24C97EB0AD4C5 40B8E4AA2CE6E7816580F9DBCDAE7F01AF0533397CD37C401D4841B60CB976EB E3093FC863F368C85AECE6E6CF7D9ADABDF628D9806C1269A0EE06FEC90948E5 CBE40C0A2C72E08D9AD94F07470692D571F595E465CB32BF486AE9C3971B6F7B FBBDE2699E1FC9DACB156D880DA379262A98C6708A9850FF8EE36C35FF636E46 D8D00FB3550786C1D73E6B91F9B35D6998F33BC953E0C8AFF996F4C707F8DBAA AFD76432E45605D5E703C2569856A0BD8C8ACB29BCAC87F1A72F859D20205328 6272929343C1CBCB053D7E19AEC4B2EFAA765B2002F43E7F62ED5281C94ABDAE 750B2C88B3801559FC6DF0D66E55952FD67AD41718D49D35DBF2B7CCBC1E755E 800ABB45EA4D7547756CE9E6D3AE0B80D8D97D681DFFCF4D5D5330F0FD6AA729 5BCB1475F18E9612197D6F5F7C7AE8FB931C242993D385AAE7829391D370819A 496B9518C6F913E666C27F0896C7684AA1DB1A335C7B50762B4F8445D45C907B 9E30F7FD84E403DACCB0A8DFF2940312386C315FFA700B0E42242EEE04042E2A 3F4840E719A42FAC426870CC20DF083537010550A6B43A02A330D92CE15222FB BE6A9F6EFA44F7987224533983D96BD2E1E536437F89E2E43884AE09FF5C7902 A284704F78AC067C332EA207F53CAB61ED51EF3FE79A9B7A373C3DF72A4F3A5D 67B4F60BB470E5D093FD880AD32809160E550CC1EE67E01CFA80318C03E6FDAD A8E744FEA593E2761C60D2CE83F3F6D3A2B203739C62A69D4E271FA12372C45F 6C378E4CC21B9B0CBFCF43233562E4BD4D52F7A634D1F0493F8DE445D140EA4A D3956E9971263B7C3CAEC8AC83E541D58F52E00C1C80EBD9A31F0A9D17FA2D63 E5E0D22CA28D51E39A055C40AB769EF224AEFE2AF714E322FDCB9770EB00686B 208AAEE2160D059DEED823FF4F9769359C183A6A6398F9E4ED55397F02C68FB1 016CB495A0599DED25BF1006343DF9AB7C3BAEBD1EB2F99F4FCB07E84AD2D959 D1D573B89C220DAD815D9EBA41CEF4D664630082DB97645AEA6779A8F0D7765E B76A4B8B429CF95F22474EEF2FF1C792DD525E50E1EE0A1ECD78570970B62293 43DBE6E9B97585B754AEFE28E960B5F8B3F549EC7F168FFFC5EBB52C7CDDACCB DF9E1FD89F2F8CEE44285E79724FDDFED021AAD2025006239EE5CA8543B86200 C7E8522668B07608615F6F102E295003B1B89264810A2BFC3DAFECFF126B1807 2388839274203BEEC2B319C7F263ABBE6B181FECB5FDB9516E8F0456B6A1BEAD 7F45DB0F95F4943B2ACF52CB30DFDC6EC936A6292DC2AD0BD67164900CECF3DC 097528073246A88607DDEE1DE4BCFC298892F3B73E897734D7001A466170F60E 5F2948ED36A6AC13975086A2D68B6CD8B033CD14C1B85EEE4AD3679D74DEB998 AF62D045BF1102FB3927E5B9078F8AF93A0ADDF1937276C423CD346F30D17D3C C57CE052053EC21A2991D063B157FD535850DD63E55890427BC2C883785DFBA2 436BDED247251001AB1AE56EA19880B88B3F1BFA6C232876E6C002E9EA850700 517C80537C27033737A162B10B179624F869FEC056F339D5A292E6E945E7BB31 A271CA30990B4AA5874CAD851C1154275BBA868EDA5D156F4663E2D436DE6DD2 74E6579AB19EC803927046D9130BD9E735D64248A6FA78F1DD6B51DF0B1DD553 316D96795355878C426BDA09F052D54880E5F3E5C1F29786DA0A8084D81A5849 B2A301BFF171446EEB4DAECAF40D8C4F6C489BEA6C592F8257E68C514180756D A13569A03827561348B73584D69626B3175247018DB9DFAA9E989E55C97F9A32 B02423EA16FADA78FE1E3C56EF4122C640EB8D77C5E957B5E425A2FBFD173423 E8AA1758A91E1B5B85D174D7DA1F11B3AA76761346D2464BDBA290435A6DA50C 1F14E14FE29396C918E3E4C388E93D1C3F7A7161FC61DFA1543D4CA86B6A3A5D B64FC69BADC3F3E0F7DA2AA5FD6C39700C2CB8A6C823D2620D39FBB0B507003B 6D28C8D67F57C019DE3D8A4B6BD01CF0B305163BB1229F470AAD7436D13C326C 5D205B4C818D0F765E2B9FDDE26B033D1060EBEEAD6E5C49EC8C6F395B54C259 4E24E89DB787773423E358A1C64C3FDEE4CCBAAC4AC652012A0CD7269A062643 0F52A1BD1DEE9401B5835752C48CD0B705476B00458D31E70599761C793987D1 1A14288D5EB2C9452C2C4524202A40A8C773AA8A3B9D10ABFF457478532B2C58 0DA8776E116853B77D1A8EE320C87B23A693BB5D3E77A9C419772675690DD75C 7AC5BC3ACF97BB11C70C0261EB5DECD96577D755B03EECBC66B3B8FAFAD87950 94AA617A40E4CFE88939F28D0D36C5C6FB5B4F6E4321BDBF12DCD428BDEC76DC 192AD968A9699084DBFFA3FE06D5F79D336DD6CFCA4C9E1F427A29DB1F4F0492 A29F5F052310D455E8AE1847083B70EE57C4799FF4B470655D855B8298FD3694 66E00CF5D04415601598C0ABD6802FA0DC4C12965546076E46C2DE87467CCC8D F9ED9FE429CDE1DB2AFE61363327B4D11F46C678B59E74F8F09D8B9C14C48004 CEC93F33A4A6906CD71B2414C05B3599E4D1FC1EB839D4B5E5968711359D3BB2 8E6E262896409C7EE86DF7A8CF1DCA1EDCB2BE723CAAF5B1D7DC94F093864855 7FB08EF776FDCF9DD8342ECB7F7B307542880A7C04D3BD09D65BE13F80E36120 24BBE4C422F1CC0DC956CE53261B903ABA0E0CF1CB0AA8895C0DA8127DE3DC9D 4B491926B5408AC8D29D2FE62CC3CEF548C0A57A1DA202EAEA8F4584D8B64E49 A3D11A48600CC0913B744180AFB6873BE72DCDFF8EA2203E34082E011C87C3F8 EE91457705ED0BD4E2C193B7E818B50DDDD734F2BA1B876D262C39D94B0FC27F 0B5A87423EAE91BDAB38BE457EB0309D05FA5E458109305C03295FC39B0D06BD BFA2B4520DD610E12C3AF842A94296108FB67495B300991C3491F0983B5A0403 68A8D19218D9429EE400C3B91DDE2A9F163684D9F28120B584FEC88628EAA60F 79F5988BE7BE31153A675BC7B344E7F62CE85E8850361D1996D57E71690472BB 8055755DE965D795E6D2424F7D76AE7F249AEF4BFD75103B2CE4D62FECCD2FAE 3702A57A3320C54D19D5015ABA5AF39B237C53D38DBD80773C0B9D6406574BFA 48BA4EE71769AD140E202D24D9F1691BA072E1AF182FD6DC06C2FD25E3437E38 ED1D0033E77D2B188F3A84EAE17787110EC5462EF5CD0FEBBE5CE39976B5CDA4 8206BE5EB8A06C7698C5E6A45EC7F59CAD3D6ED3AC19FABF3D29C9AEBEFDD74A 6B7261D349FE509BD769D9A24B16C276C917F0CBE8B25FFE19BF8528E1C46D38 3738E3CEE8170E3EE323A464A3C8FF30B3DAD0BE87518E008E37F60DB471E3EC 110E9B8AAA5C875AF759126B39B90A8E7BCB25FA3EFA783AF7B069AED1887A19 6A75C799940E5352C34A93F125DE82A7387CFDD7073A28C1026C9E06A1D8163B E66DC3BAAEBBDF96B7B3143B9414AB45643D022294C2AF8C87EBFF1276EF991B 7A1C720C1A7CFD392F211A190A530A19012EB117670AFAE4CF700048D901A5BE 074F9B05AA555FA4ED6D0A92C08E4B795279F9BE48887886B5121DDD857E8A86 A2885B9A672C72BAB990E0AF6DCCC769A7E18E65A86B3E1482D8297FD98E0510 30B27AFCB9B261771A1AFC298F96E272E779A8B6AB6B03410ECE32B7B69369C7 5597FDD08BF2E6CA29E093428DBB0BC53C64E5ECBF216111AC90E82822E7604B A9AF479BE9FD2FB2ED27EBF4027C22357DB27A5A6FBC6B14607DC26F95A81BA5 1737D6C406B19857FFF2903F966DCD56BB73B06F5F74C917517DF95D8D5E5108 350AB839CBDFD7D1F3C687D0B6B576FFE108AE8708B967C29F9840A0D6784789 DDD7A0D76E92082162603CC916ADAD75BB205E7C9B7A72D286C5411F3771EB6B 9F9022BB24AC9EE7700907280F52862F1D542605F3D3AB073683C55D379F973B D6FDB500D297F23EA617FB81E6508600C719ACD544A1E05186673501B127F75F 9C23F9D8D0666E6F1E5D8FAC870BC73B2E90C11070DC6AD475543CF049E6333D 767F0372694EEF9277A8C5EE37B22C369AC851A984D202CB07B6ACC6350DCF19 656A31ADD1F0FDED736C970F4B9E175F63A9485719E949FC6AF460C0E8C42780 98292C35BACBC5F0E096ED2382C3FB4F53968A190F287DC4F62CAB4E8748219C B3C7D65730891711E13F8E0B33C425D41C8B60B42214779BAB101240BB073ADC 4D138AC5DE8600FBE216F6C0CB7E946D5CB4CCB699822680E18FBEBFBA669279 B3619A21A3DE22BCD67F97A821AD52393C7C71D681F2B1C63566D7C9F5B43D69 1C4934E1C3042F7E1B3AB057C59DEE18859D2BE187DE2443F8EF01D2F59ABFDC 5235E737A4D77D5FD1744BBF4DFC338E5C43941392B49845498D8E7E87808137 7CCAECB6F00068CC461228E91644E48AC880433F381BD78DAA4A6E335F908D57 A121A8D636B977230FD0EEB5376ADD39937C65906DC4AC23E4B956858F63F5D7 7026CFB01F22A944EF216D7DD073A6661BD10F505783DB46AE18D14B5C067510 43ACA8963412993F517969AEF6563F3F33266B9B08F48E0C1F29EDE5ACBE9E4A 3A5BA07794978B76636B8B61D42486EC83F634E463576FB4421CDCD2C73BF10E 007F09E5BE1BA945AE078F5554D7C828247AB1B94B35D7CFD035D26319170F12 743D5DB9882349F3A245C660366343A3E198311671D0014F2E44D5C700AC5BDB 39F2017DFC6006B781FB73BE174A64EACA19028EC55AB168EBAC70D75F1C0DAB 8208BBBB9672C3E43BB1572F7875CC54AEE2873E6C79F80903C4823BD0EE9474 9A335AA78711A6349182BFBB1B57B26D25E5EB74C3CF3FAB6A3AF06233C9EF9F F051349F8727B23EF8A42D0F47C9F16493D14C53DB2BAAA37A0379442E824892 1731B7220134EF4436F894AAE87BE50DB1DD51C35D46515EF2D03F90B1CE3DD2 D37B4BC428E6DACF7622562E4F70D349D0B5340F77469B87BCEA7CA8BF85BDD5 76555B4CD7AB77EEB46AEA203CA302091D9DB689F6C9A5812CF7BF4E7A51D809 63F4B7F767CDE901B293B28E0563A21EED5A20F9458E33D0542D4427A10A483C D9F7062AE90D9722A5E3D658D3EDFCA0C36FE60CEA602D5101DE2C5F3D02E5B7 E1024CFE2E287408CADBF78A9B53625D0837A94C2A8096F5886AF79F5400883E 150E161E5DF7D2433F5EADB451C687EC7299208F4FC2046B64FA0E2C0FC197A6 F5A6E070AFB7AD253582890F94D0625C18043E576E38A612739F85144655C9D3 056F043C7D9A34DD046417A1D585B16BD29C172AF7FF0A9D89DCD71100B0768C 8179D2E9703E604FBCF88021934C06E7E3B3BCE4FBFCB24BC5B8500D6FBD86CD DA4A22F7A4F575282CF2E5ED1980291663BB8F6F371D06AF9E04B9BC6DD5A6B8 BB2C69BCF44F7FA47F0975FFEA65BC7337DD829670E8CC34EB5483E2E42EF4C1 7311E0842A7E7FC69FEB633B78198517A23A1F69D99F464C2B792E7B81F5F469 D890FE7E0C16BE3F25639E36252841C78DEB2487CA0E88222AC9B7D65C6E9565 6A2A5B76CB1D5A7C7B4C8EA7AAE2C6177834CC4BAE03415A3E791065F6E83852 9DB528DFA28A846AC8C6FCD3D71471870C801F8773BAEE0C5C736094398C2FED DF8099A7DC2405D5A9CAF5956DF056D03C53FAFD7042B75DF5D20DA1051A9840 EEA849DF48D3BE9EA467103CEEF2ED67A71D7C02E87B6F4CE537B162E14D1422 3B9896A3799A00D851311563257923AB12824F81CC444DCE1F191379BE4CEA8E D35E17F6268B4ED62E0EC0A8F22158CD84FB686A1E7ACB0F61C8EACBB85C485E C9B25680B7C70A42299360D479F34E358F9A8D5B7294237825282920B0FB6840 4BDAF8C3BDC5EC12953B8C21D9CC04E187BEE7624E5E9464B8BC5DCF82A2D353 CF83855966A2CF1151B64D38CF167FAB834F162D5CF3C0D191DD49CCD0AF5E44 713502E52963A2FADA4F2B1E9200523A743E5033390554FAE8DEAD0D5C7C0E91 E10C8090F312ECF1AC329F9C7AE72BCCE68EC28D79AAE8F3EF7251C644946249 CD5CD38644002FC16AA9CC790E5504C74E79178A019160A7C5A87DEB41D8BEBF F839C41DC1B3778DAD61199985C96B31B9D58B188FD079678E605D5D45C9ED88 088A6BB1D97E2D5A0CDB4F87B563F4E02A5A1B8F12DDB13897132A56B8F2D212 AECBE47F26B4D1DAE74872C7FD66C27FB6297C6407B2752CA9FB4A3F5781A0B9 58DFCAF94A3CEEF6AFF6C806627C09CD993F31EFCCF92B9730F46DCC46963A6A 0F678E521882359249525D85DC0B2A3945067379F068356E90FA3E67B1985DF3 17DDF5A47E1CBEAA2C81845DE64C387FBEA12D1F9A0E6D1F5C6D7CAAE44D529E 9FAAAFD78AAB7033CBC4BA9F82CA542A044FAB71ED1586128738EE55EE8AA9E8 7DDEF6067423C6D62DF9C91C5032119183F5287E17E7AFF213F5AB909D902F24 08CC78C949DFEB52C4238B4037EBD51AEE77814A02C52EB6EE31F0F49DE8ABAD 2E8DFC4EA4528574CFA23B1739B485A1120E2219BF6122FA5C1A24F5346BDF1C F579975D7E35E7AD6D62D6A86CD8D56A4A07E68DE75FFDB038F1342E6590A818 7779B58E8EC08DDD37654FFD106CB79D084B74ECFE3229B40D92A788EBBE13B6 AB698BC220D1DCC83DB149F2D614E859A2E348CB94C140E8A349EB2FB02BFB01 46F46E7C2132BA5AC6B30A15DD6412DE91CECA188F7276964D3D549130FC2D36 9FED6F27F5F3D2BC2553BB978FE0E4D9C718A49C1B65D218DBBE255EA0C42384 E32CD4B67393988BF3FB126888C6FAEBC3D1266A1D34AB496D295C9840A53535 8B45AA2702B9AFFE8A7ACDA91C39129AF58314B6AD1F82E818924E87A6C72088 6FF9729BB95C42D20070ED8AA26D018B2302923D84F575BBF0B19E0392066164 A55D070548C54D44BAF4F2B40DA85E56305AB2E2622380E099BB92959E6AF62B 21AF03E62D90DA9C23F2DAB66954655F0C806A7F79AB16C54B3C014203643E44 B681C4A8E915BEC41DB159EDAAB75D436F332F1DEDE476D599FA20C14C3334C4 25598CEA1E01E36F440F7BB9A5A45852596F8C3E6B78A60662F85F1AD1956BFC CC2430F1ED9357809986154647440626D16E941EF5FD05901AEE473205FDF505 7EDF95DEA1C5F3613EA5450B82A8F96FA755FCC90A55DBF07F9803FA4A87EF54 88648A63750FF02AE4E8499EE3AD6D3E8D5FA6718853325462F52902A5B61110 17672D3DD286FF36E7E226E5A54EDFD124518EFCF819ADA1402382FD3FB98826 4CF55EA4E785AFAD7D067563EC3FA57A69C0154ACCCF5B032F80FF757309BCC8 46B38D9C10526CF6B07ED69F3C79FE6E20316C654FFF631D9AADC12D1CFB2E44 08D952D921E37600C0C8CE4BE702A724071DB244423333B76272C78DA8834503 FE840959AEF3E342379844A07B7416C8423B67CC5A70F08D7F7FBED9ED67AA8D F685F8849285318C12B9EB0DBF994983FE4389CD965DE9BB92EB238BA01481A5 D3155AB5ACC7C035F01E1C5E6A6BBB0594535263E382F6D0CE376573FFAC0569 233CD305AB41F27CDCF47AB880053E807725183B3D4623688B9C0159D0D261BC 4A55FA31586B454CCFDE1C4CFAF13AC0BBB273486D14828F1591B5E82006D3D1 BFC47D84A2B7688D1F6682E2E3CA1509FD5FDA39340AF676FE8C8D707BEAD4AD 6F524180FA50CE7C7FA3F09C4A2FDFEE0372C4C2A02DA890AA8719FF5AC51DAB 4EA8C71548510BFB827793A2E6595ACD615853C0DEE75CDA05AD1C63DE96158F 5B26C795F7F6C417D84803BB3EF1DC80DCF0915C80ED2B0F826C11DC8734FD2E 267B1C45AA6E9A656A5F3C6B33D4E1F05D3DB7DA07BD9258A36400F216B73A11 F4433B5685E4E8AB9823C9E73C7FFC728BCA3F91A69B5DB59C945EF301BE8A11 19F527C4D00341F18C20911551B4BA20BE2ED6917EA6860CA00E2463B518BCC3 FC5923B46FBE7E41798A7F64DD4D3145ADB63ECA76CFD01B36557B76DC6FAB62 F8CBC86123DF8B635601DCCD0FAB1742203F4A543606E2AA13FD2A65BAE87BF5 0E70D071D1594AC915B46793BCD7D1730DE3519D8AA53EA9570CC7F33BF0A21E 429F32F06CEF015EE8C800D5C27C13C61831FF438E193E17002D1A5505C8F40C B225F6E405AAE0A30B8AA2848DABD74F03E388D5131C4FA553B513A289FBBED7 97BF90C0EDF15A10D81712A663DC0BDC77B84DC59A679425B66B62D75F691489 71C295F838AB757A7077FCD8240C96A573BA79016325FD41BEB588C5C3E0F1DA 12145C469E26D17171C1C24F5A4790FA179AEC19200B94B3D7919FA8F061051E 9EC820FB2309BC2A59D7AF967561256AE11B1CE194D717EF27451092928338B6 949A4049FCDBC07BCDE5A69DFD7819E817E4A6613BEA01FD35777BBD74CFF9C7 9798632686C2BBF4A14D9E29F58EF6AE1CDF5DE90A5A03DF09032EC9914690A4 3753468E79910090013DB562647E7038A67921A49E1185BDC4304496069566C8 2C3650DB458C2E04FA768334F5EDAEF600212A5E762CB4D97824657700B7011B 14BC875C8F18DC629FA3A49AE54EEC556BE86F1CB54FB89FDCF0D0C98D97E946 910B63F58A116E2A5D7128F17BE23CD1A5907B9350E731FEFE44C92481BA4D68 BBC79BE80CA7945BDDD621D198FEC5C7CB1C53A7B2CCE8B6248E58381C22F234 375AB7CB12BC76D235FE59B0C9C5F95B3E1FA0DE7EC14A46719CA7B89E8AC370 C175E5F1CEDCADB40DC052C636987F2ED819714D7697A52556E4F31707BAD3E3 9EC86CBD40E4C08B4D5FB42B94E5DA8467BE67CCD18F4053EC130B9425052353 15210AE21CE6ACCE4567CA6CED5D1B8D8F0D21FA31C6E9371E1BE42C5D7BEFAA B4505F4B064294C4B7746D15699AACA439B760A0F9F06497E5C8A3B240E37AB2 DA3EC072B8FA53673AB0DE60EC20A50135685716F6A646D2CF35B8A3DAFB7B57 99D3C4A4CF40A8670E889FFF56FDE78E53E87ACE6474478017EA7A14CA0527F5 3A3C8CF3803B1848A54F3C6FE0E24AE2DCE8CC6326C241E88F1752AC407B767A 2946312B506A9B773812D5C3231E69B8E61CDD0D74B916F22461FC3323625023 2140DA6B2F5600839409DFA75453B3D87E5BA383052B9F74CD16193C0306602C 54C1212F4C3C87805AE22A3BAE8285E9D3DC6F11C49D8D21598394781C7A5DE9 0B0064D393F5369E7F418265EE343DF81F87F0221DA0889DDE9383A394B9EF50 A280E1B22E2399EE96904EE74586B9469913F082639596F248AD6EA2F8F4854C 2D914FF9F7EB6873A15FB8E52E75DE9177A5E3644B292C9F52F698C6DF667453 BD16F398FBC79767BBB1BB6D0439D35913523D6E8A59B63C73CAF0CABD8D945C E131DD4B5022DC3A25AF00C86434E8AC02070954DCA0F996511C608AF31BC768 AF860255D1992F8A9867A25D2A3FFADA086DEF95B3880D59D98286BC4581A1AF 361B2CF0D139E86653497D67B7B1022464CDF37F8EF231CF908FF50A807F164A 9F6CF0F7FCB8108983A23586A9EEBF22E3ADFAC80FB483FEA03BFB1614776D14 F6EF04C1A8FC186D48B4E7082B87AD4A7E8B55CBED0E40268F9D2192EF9E7712 146E023D2CDBC91FD75B7A9FAFBF2DEA47313C709B417198E4603EFFDE70391D DF7B238B23B2337A300CA3A1E9B5A9D8532CD65027978C36AE4BA93ED98F01A1 152508ADFEB639526252C360676FD6F007B459116F35F23F19E725A6E3F824B9 5400141BB328756021D9B061522C61FC282A536A9BE9A0AC3D8C2384EF0D0137 B9EFFF8BFAE6F97F4E40F49C891974FD98FA8B0E447BB36E94806DA6FB1F26D5 CD86503A2C375B8A0A8C897E7E7B33752615DA52C9A32534458BD498BD637AC1 DA9EDB3A2ED58F085C4A6B4D8915F7D07CCD404245A2A1A4FC46CA9EF6696D72 C3930D72475F84723A0D6B999882AA54533D8A3B10EA8A0B55DF3A8ADED92DDF 261AFBA5239E1BBC463E34A5D6CAB3D1B4520FF18D626A8BD3A00FBD054EABDD 4BA2562367F9E58E3CA8A2C8807F9034CFC0CC3C3B4C07C34D1305163FB34C6C 28661D73835CA0C85D60917CA85F6389C52E76C25559EEDAAB6260A272C9F11E 5C36CFC372F668E72904056C2569961E14E78845ED300C9B20587372A86EF8D1 266F1EE11FC60B1257F9917DBA0B78D80255918503298B5C93893BB6C28E8F55 86F745CB51F6C6FEE7AAB4ED946AA3B7EFD606B97487EB84556F43AEDE6A557F E4DCCD163D885C533A1473D97197D27FA7D50B5F6E92DC5EA8E70AA22B0A742F C4199DF95E48777F9243CC239B1A59E9C06496D4E949AEE84395076D73388224 4DF80D8DE8E8F451F87F54C214356DC569080901719F072158DFCC601B82AB73 8677BA70648B7F5D1D540B2DF185806D75B858373F4CA41C152B1E2057EC2C91 D90298669AE3F35A89159BB3D4E68B4A2491B45C172FF5A1E3BFD04BA3A0D3DC E689170BEAE63E2DE71ED1807D6453138FFA2A1795E32991E3D25B87A22A7DA8 B04668A7ADB6220158233F956AAB7722B205C94D0D6BCB1A3E26D0761A6B7547 3817FB76796336290B2F7BEB463B144C25F5C3D24F771D2C7BFB64F66F92E25D EE19F791F24E814B31657593767A5C3240A1A721C992B25876712439CDB3D78C 4D31F36967157804C48A6D8767642A23F31F66958BBEF215EF5EEBF2CC881F91 F452281B8BFC50C28E5DD5739A7BDCD048DBBE01C535D7DC9AC8E8452D25AE3D 5BA28427245385F13325F1AE7DB437E0EBFF4F2998E15D22BFD1921A38C3E9AC F089DB7CE5F5127FB8D92DAE53DC4E509D56995D03C6C3E63487971C13CD2907 B5D085EB314B446EDD4EB49E55CB951925295C32BEC780D798270D1476ED683E 4F27E68623C73F95A90D99F0B875B9D54BA4FD1796B91FB53966AC6F5ECC2D57 56A01377A762A463C0079A24C7C2D62CE02B6E049E3B1099C6C86D8B5254E195 1AED115AE9D4C646B3883CEA82EEDD7D0DEACA5ED888708A671354044DCB3BAB 97F3CF64D10BB8EA96082DE66A59A4A0CB219BC779B3456BDB675474E51C0B5E 79C2827A04B5C7712D286F1EB891FE4A7A2935606C44C4725582722B12E1B190 8A4B26CCD38C4FF56CC28C963A04BAA73A68EAB52BBA1A217407448EE1A81389 9138F591D50E24D8518117AD2000ACC473D2576997874834B8DE77AADBCEB3F7 FB8E26097D011F71051EF6E062275E329352070C853D12BF160BC16B13814B3C 1754FE2F8A79E9923A52DE9BAFD8D38DD0A4A8F6B872A919660F8C51428F91A5 13E6A7A3D609F0717A14DF86AB4368A0DB7FF1A45AB012886B97DC49F9B8E7C7 A8FAD37DE9D7F49ACD257B7DAEDD05F759D52FC229CE2A91FF4F448B8795B330 6420D32E2372005CEFBEAC6EB4FDD6E424CEEA152E7FACA5E15D74753716B1DA 0D020512C0164F7140AEA613438939F5A2D6E42EECB1CF632203795A6E00401D 15B635ECEE826FC7B2411EAEEF3B091E07BA1C9AACDAA475A7BC34B6A17F766F 0D4035CE7CA8E8B8C1A3B4228D6526D5D67D8ED8EF61026350D6C29563E009A4 97A20BF3D23C429D6164E04B0944A9BA08170FC4BCB521BC534BC22C98085B1E 824FA8195B8B4AE6D657A02A379B3E898AF7DFACD1604E3373BC58E3D4709187 20902AC8A794F8B759E501AC37970C55F924445C4C43840A51E3D3FD269886D5 90CB1AF4A1323BD15305165382D060DD40D4882507B2182B7A30E66ADA549847 4736191E86E143E798DE5597FD2A23CAB9C8605BC8BD016C4400CE3B5D209696 9AC3DD2F4EDF622012CBF8A30D9FEF7011D86186CAC214F7F6A4BB79C4C0D46B 8F560705A9B9504A48D99428C6F52560879CD9C47097C6D0D0EFB04D6F1D3846 A4E8E7600638E17861B7DDBC23E605636CB85C860495E5BF560E527F43ADE0C3 5F62C19AEBCA2F676F372B084F8C80BB6A2C614640AB97BBB4DBBFE13B37FE5F 8D32E7E727B11C8488DF6879193602C902E50613856E7DCAEB476A7897F8CEF3 85771D7D956241667FB7CF2BEE225D34D0425C1E844B3D3D77A9819018E6A658 09FAA75BED40887C2D10E69CDB88D4910707189819C87D248C0655E9C94B7549 E4099EA85F7D5E7BC984772B98AFB6DD415EC87A35102018842DF746F9505BB1 3DA043C33FC55D1911ED915A95062DC042A764D73759C89EBC6A0F2659C10FFA 9D9145038ECE097587872D707A9B646DE7B722579AE859DCB40A4F25DA872AA8 FD8ABD49F60C18D57D2497A34C62879FDF076A5A097448A3EEF9B25053A3AE32 B87E5538633FE77F133B2AF9078D0E547D135581F92B6FBCC54151595583D13A 246DDD61183AFA48279300226D14358E255E72D5B673713E71E26E65428168E3 FFCB5CC06F16F02F6829668C0D0F535E53B138FEA805ABC0EBDC708325464CBB 92931F9E9562300668851C0836D6A98ABF85B517CC743DD059069CB85297D2D1 6B79309EF48C4B4B4BB8624254D7422996F8F26C2AE8EA9491715E4CBBEC7A6D 4CC605E4C79B2B8F624C1F3334CCC07CF3F6A70AC565EE64E627121728C2B730 F4931D781EA61D3BBF4F767F1864CE423FDF8BF91ECBE1DB99CE1439BEB5660B 29D26DB9D03F37646528247BB37DD6424453E180C0ECC55C15E8F942F50FB525 7CA868F50907815C8BEE0CF13F926138DFB516D05F4027980BFA1A85F6A9DB35 2566EC9FBBCFBFAA06C2398E6936DBC906063D7CA3FF7D66943514433E810C40 9F799CFE311187F87C2C3044A159A6726762B380EA41AA64A42724A81C8D2217 0031236F68AD3DA66485810BE5E47BC50D18A81C55661189F7EB8082AB7ABA54 CEEED98C5B26A00A5D8F0D8DE831428BF965A38F2D03264A590FF1606727EB57 42BB3FFCAC4531DE2C9380E33CA73B2743A176EFD8B454DFBF67320E29C56EE4 4144F911E68687E0B0627690405B0127CB4168324E64D3697742A7953A16EFBD B4845BF383A1199D694A209E2DE8EE839578181D73FA230D8A08308DBCB7FF28 F696292E7CB137848EDD401EF77D5B40874F3D93BD3749F910F0B8E5F8879ABB 90C492731F1B39A492482212055E2D3D5462B594E0CA660AE3C142E87133A292 1693B15125C884D3F60CCD853924691E9C243355D5FDF0C6F2DACFFC0C35B3CE 4D5AE0F3B69AC5AF19DEEECE9325E313CE787D60CB41EF97C96C30028AA1F1D9 80523808C4BB25D544444B2A583A9F4417C577D11D97119C6200EDF05CFA9C5A DACC7ADDAD9F24AC7EE3A0CCB8649FAFB93432A7A699DE35E4DA22730F5A6BC3 7F7D033245B176DECD19968AF97E2E9B509CAE38612FDD8842152369821B1C7B 9DDDCC569A55C724D72F0B12B122A3F25AC1C585D022EB09D638C58CF71337C3 FDBB3BDFC6FCDBAF5FC57637A715F52BEEE4D977F2B095727F6713640F574A3C DA26B076B4F2B6D7653E55E887A7F8386208ADF17C3A7D3E27CC08EC12C58494 BBAF0C84BB9C3559B7AEA919C26D825493F661B75F403B03DB7A7D61B96E4F55 C9608D0C931F376FE714255CD931F4CDB2E86499EC95E5831B3DA944F6553AFC 46E88431F1999A6AB4B7C72822FD6685679EC8A4C156587C83CE622967C86E17 45A057967DD99DEDAF1F5C20A54AC11169BF6C3EB9401E7DCF2C9B94A0E43623 88B9205DBBFD38B486F4EFDC2A0B3A9F67D345070B59DFD211B4D1AF715D9728 D88498E1025957EC06C0AB5DD95DE56888A6A5D5B742DE5E7D08ADD60F92274C F2AE21E03477B2A20F86E06C2C390B1BE0520151216D5991EDCFB5EA0A90D8DA 1EAFD9AA1F6F92D1A231F059CDA7580ECECBDEAF7209DF0676E916709DC14175 5E66A35557DAF14A4F474EE50BE7C5F966030248CB426306121BA5ACF8C28A94 BA7ED340D1AFB309AA5EEE13F984651574843DAC1681C9FDF51E5C821BF14395 F44B5621E28505683D85BD5F31A6BB573F013502AE59C66896069249E1A5C833 874578078F2198F9D0641E1B395A06A5A5EC75E6122D49A18B93D82BE7543840 92B59CF4E79864B9A979D0FFC034732456B4042D30DEB36D7D8EFEE75F73C3CB BEA420CA8280F7A3AA1F791A1BC6D0A7DA858C1BACA59F28697EAA0DFB6A6353 FCE1D07C4D3BE598B04294AFABDBA9971F8A 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMR9 %!PS-AdobeFont-1.0: CMR9 003.002 %%Title: CMR9 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMR9. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMR9 known{/CMR9 findfont dup/UniqueID known{dup /UniqueID get 5000792 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMR9 def /FontBBox {-39 -250 1036 750 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMR9.) readonly def /FullName (CMR9) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle 0 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 12 /fi put dup 44 /comma put dup 45 /hyphen put dup 46 /period put dup 48 /zero put dup 49 /one put dup 50 /two put dup 51 /three put dup 52 /four put dup 53 /five put dup 54 /six put dup 55 /seven put dup 56 /eight put dup 57 /nine put dup 65 /A put dup 66 /B put dup 67 /C put dup 68 /D put dup 69 /E put dup 70 /F put dup 71 /G put dup 72 /H put dup 73 /I put dup 75 /K put dup 76 /L put dup 77 /M put dup 78 /N put dup 79 /O put dup 80 /P put dup 82 /R put dup 83 /S put dup 84 /T put dup 85 /U put dup 86 /V put dup 87 /W put dup 88 /X put dup 97 /a put dup 98 /b put dup 99 /c put dup 100 /d put dup 101 /e put dup 102 /f put dup 103 /g put dup 104 /h put dup 105 /i put dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put dup 111 /o put dup 112 /p put dup 113 /q put dup 114 /r put dup 115 /s put dup 116 /t put dup 117 /u put dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3DD325E55798292D7BD972BD75FA 0E079529AF9C82DF72F64195C9C210DCE34528F540DA1FFD7BEBB9B40787BA93 51BBFB7CFC5F9152D1E5BB0AD8D016C6CFA4EB41B3C51D091C2D5440E67CFD71 7C56816B03B901BF4A25A07175380E50A213F877C44778B3C5AADBCC86D6E551 E6AF364B0BFCAAD22D8D558C5C81A7D425A1629DD5182206742D1D082A12F078 0FD4F5F6D3129FCFFF1F4A912B0A7DEC8D33A57B5AE0328EF9D57ADDAC543273 C01924195A181D03F5054A93B71E5065F8D92FE23794D2DB9AF72336CC4AD340 15A449513D5F74BFB9A68ABC471020464E3E6E33008238B123DEDE18557D712E ED5223722892A4DAC477120B8C9F3FE3FD334EACD3E8AABDC3C967C61FF003B4 B10C56D6A490CE9594D57A2D431B9E5E10FE3D8832E227A7087611431ABCD029 85F4865E17E17F8CFBD2CADC97E0A8820E3ACEC873F31464466A9545E967E53C DBDDB8478E69063FBB891566BAF88B7660A4405B16834761F041CCF7650AF955 F9E853AA9F5F4382E1FE7D0C5BB4023818A2383F91249D48CE021250EC9EEB1D 2835E18FB73026250B32A8849067D5E2258797C917F998F2D4121D96560C5FB5 B5D3471216639A8671B6DFAC5E3554EC36D9A72518525A795590C74DD70DA3A7 78BFC43E51D6F2BA52F17D4DD00D389D3983EC54912AFF73684A8A7E345537B7 E62361C04A47859DA084BC72EA53512DC54132EB2EE671793603015652EAFDE3 41C4B6B679BD60AEC5153EA0D2200CB1D097DAD770F5F31E6FC475A225995277 B867B731D5401E2D02B85BA85158C80FF7E2BBCC42B98AC867E67D25DB656072 55A0D32AB7AA483A5A9686CEA4E2B3031D90D84DB3E2DEE7706C91BA81CB8DAA 700E5F61E07D6998C9552C81B66FD10A10033D49EF3BCB0FF22ED0A3737523C9 8F851C61C4BF8A213BF6EC70C956AE48B5BD276CC0437C72BF6515B10739919A F00F6ADD2798CB211668842349171A5AEB0664D2C44397E55A4A9EBDF54A3EF4 FBBCDAD9DAEF4B0CAEF7112FA828F2F8D9F633D37E5516AB5ECEA87342EF8DC4 3A50548490F5BC9A8A1F98AC7AEAD9D913BFA10CA86D73AEB5BACC1FEEFDCC15 B3655522CCA2C772E902FAB2A6FC153597D52763EB44AB7489FF061F7F58E8F2 AEAAF4D17F36CBFC00D3C653F335D14240C87DB4339DA9D30A5BD1F502BC9013 461B9DB2FBEEC01BB18990439A0E9CA6576BC9CF6B1A3DB9386C4A5D4AA6A5DC CFA45FB75F22E10ECB72565DB441A194902C91427B4F676E531C661F7A2C3C85 CD534D1C89B6779B2EDC8E44667B992C20C70B663BFBF680A6CF4383EB7CA26C 4D1F06B5EF4025BBE65795F1EDB5CCB97050872D6C07BC2974F905ACDB7A765F 291365D6C8152153E7F017A25FB4476C60FD9EAF9A121633DBEAC32F62850223 D6418566AB350F90F4B35F19598478F76B63E347D4C61E203D4DB8ECB9889181 C387F4B663A502C638761D2782BB96EAC81A0108D7BD6938F67FEBB69218D115 D8E89CFABCE15C6ACC7FEB983332A51A6A73CF4E341574F366713D7FB29956D9 9BF238A87483D37E526A2EA2F101EDD34E34CB92730DCA7235AA0027189BE405 2DAB4AA021A30C28B26C50808E1E965C02F6212EC7C72F5683339425A7739380 A422E6191ED8453AF0CAAA424AE44DFA7CC5C2F6EAA8D73A5101D8E9517DBCFB 2858D0E8ECB7DC430EF23A9E4428CB7DED8D035D6050251AC101A2D0E884721E 2F21E573F948048BB8FF888911C508CC198BD750083B339500C426AFCD5634A6 AAAC1C7E91249667B231BBFC64B4317192FE07FE9DA0DDB5E517D097AAE46577 9555F29D45C67CDE9812CAD03F220B20519F2FF32DCA56A554D4296FE2D1F3FB B209B5270E0E695EA5A0EF1144957CE045881AEB8D05D72CE57F4D34617AED67 0D3AF0472CD8D60933651626550366E300E72A9C89ACD475C2E2ED9BD44B472D 9DAFE943F8E02A6DC38E447EED964624C37C3130E48211CA279BB6A0BD59466B 42F3D89B5746F29E084E22CF58395AF0F29E55113F3A3F2F52CB3A6DF3D026D0 C81754B8E2E4A15F6943BE9D0087D5166060734FD07C4C57D7C7D90E8C9C1F35 623CEEE3ABAE75E1A18A1E3B50B7266BD2D8E812CFEB4A46B856885B185640D6 B9C22179551002B94282F57FB433B7FF157D2F0D240836B72AF4A331668AE5D4 E6B85415F4E8B9D2F9AF90FAFAA0A3866DF417CA5A31348CF9B41B8F5F4D2F97 CCF7ADE851B5E2E2F6E319AAF5792EBB9DA2C6AA8B73D889F3CDAA42932CDA7D 07A7E59183CD89520DDFC36E5D513BFD8AD0886046585F29B4D7F42CC0C27AA7 53915AB1167D292FE91957E94A57FEE2D49C20C9070ECD736BDEE0F046E60350 EA539DC298156A4E0D019E7D481FDDA6861E20678516AB80ABEC1F09B126BCB9 52E8272A06BB6DD87ACFC423B4A4FC9A3DC8DCAEBB807C5F748F1FF8B17B8B88 F426206BF1B7B7D239D26BC3CF0776C467A98CFBBCA5FB6145D5900137ED19DC D002F10704AA680EC753C22E29AAB15712EF22AF73D80820A1EEE953463D4EA3 81FAF99518D4FD0F862A324FC44C4B9542A92C5B60CC983CC8F647CE5BDB4D6D B92B380E0E5F7208A9CD91FA9A469548162C761C1BA05AC9D60B766764D821B6 B4E17F56CE455F06EA1EE2D38FE47581746C4C5FBA63AEE2B58E877D1A8FA83A 31C972D53B64E92EEEA147426A92CFBF76FC614119C6E9C6476FD6A069C803BF E949FBE50B5AB1F1463F9747E8D353F7BBD991C4F90F920BC9407D8E24720293 846D052214E60390C3CB926D38C83AF697425D80C2B4FC4706615B905516B733 46ACA325CEA68FB21B2D17CF0B68BA4DF249368625CF83441EDBF2B86C957C1E 44CD722BD2537CE84FBA07EC7AE15C840041B9F7F3040072E6084CD55B301C08 A64A53BD4D3DC30DCAC6C152F316ABC59B8EE978793EBD568849DCC2A75A495A BC83470D503F8E389F54B4A4A31624E83C601B43AC1E52CB811FAA7CA6B644A5 1AE0BFD4FC774C9C9DFC2769ABFA9C83F900BE2DD4010416053A1D4874E6ECF4 D86E44B4CAB15D53E5630C144B0C15B58DAAD785BA298B1893D1B09BA5D40344 6678FD2D17FF6674433C976D6DAC659175CED26139967C9B2B9CFFD78FC2570A E5142141C2888DBF2DC8503F9137CE7CB21A1EBC2D65BF33FCEFBC85C9CB736E 24E8595CE934AB032CC70BD6A3B0F3BDBFBBE185512FDB7BE3D4A6620478453E 75D044BF770B44C9741E31985E6DAF5A318D7BED12B02A4BCFE60D25EF12843D EFC9BAE2A3F2EFAD66D7858E83EB46BB09D2FF8AE9C43844A7001C86ED97AF51 C511E3A89A1BE349FF5215D1A57843EF51456B9838133846F19BE79AAA5C1AB0 5F400E5E8E7B0BF96EFCA3B8F0894BE589F2C9FB6C97BD16D38F0A237CD4F034 099C41F85C7E2C7BEC8E02C4F327306A53B4B48B26A8926670CEEF96F6DF2281 7C2DAD99EF8B81BBB777227C2475AE7400DC393D9C0445E925DB1E955950F7AE 53E9AC4306794239346A419F7B5DF4168382EF5956B81F83BD4BB7635B3BCC84 7D84D05AEDC02D14675D777CD19B08124001A4F4EA96990D96000C082A12F00F 7FEF793A7FA69D56D3A38D012168C5458B667190AFE80E02C816CAFF0A71953C D80B085CD286027E2FDBB05452AA762FD7C813B2E19A79C74190E04E746C4933 CE1E300CAF5DD53B08110509BDA404EF07FA1BC5224BF1205DE8E0C3276A13DD 866675103B960C5F36644F96B4FAC16F5D6E91F74629B318FCCC8E8CB13EB76B B0B7B90718D913A52A04732EA3667674994A325A7973C601A7DDD50F658E0826 ACB8E53D4914B0274AED98D7BC3B2B7F9D48A7ECC2F8ABEE05CF2C4F2B90360B B7DF779EAF3E103D1D83EDBE32DDA873768D8C37DC10A5354A94B4153049AD64 FF3E0BB51AB91D7C0B4134D8731CD0270DAAF19BED9EAD800A14B65B68EEE89B 40DD624111670DDC7C030DEFE0D1B96420E249332445C155BA96231C88E70643 D526BDF3CA1E05FEE72CE2B881CFC01ED780C10E89F0828AD55FE29043BC56E8 2750A6DD15AADD54492F6092618F4CC6A31766B17FC60766D18C307EFC9BB787 39047DAD6B38419EFBA46B4E2C932F97451FE78AD75FA90DE409FC6DD46585D2 1941F5ED47A8FBAEF5A917A240959E8D9F9917DEA3247D9CAE6BF7A88DB4C4A4 F9F5A6DCE542420A032FF3392FE0F3357B51F884D6181583A554F75B1DF192E9 253CC828FF06B0D992D5316435980B044BB191508C7C45CD90F797F88856424B 14A5707459C50EDCF3E3D8D1667AAA83015405354CE744C66D9A5728F29E0085 6DBF740717FA0799E3BCC4ED7841588B496A5E549B953A7FD288B4A045DB611E E3B2F35963FF18ACCB1C968BEEA2CBF52B3999AAF89A05320BB2E97F52CFE06B 9F10E3A79865A3059A957F97972D80ADF678A36E2B586C101FC6AFA4D137C13E EE7102C9B8EF78CB057F8B7476F146E8FF5C897FD5503DD198128CFF7B5FB339 FAD0AF0EA967F77B07B367A4AC9F668F8BED99B98E87FAC750EE045602D76C3F 289FC9D97694C96AAC0AD1BD3FA94DF2CBCEA24B40F47B9B59E54EECEE7AC4C3 A3F5D19160E4C1EA830D57FBE10D8D46AC5CA0260F22FAA45236F0F542BEA9C5 5A88F878F68B36114E0573900C65E305462B22A3429A17C7A567694414DDDA46 5F30542B8FD4F00F6C295B2E8D3A986B953D96822DB2ECD48E8BB1763434E652 152EF3717F5E7FA10FF0B01D9F64E22C5DBD7254629658887BACEC0ABDE972EE 67299FB84A05B3EFE22B6976DB4CCA384232DDAE38C31623A4E39EA2E82C1EA3 BBB68F1A7DBF405DEC37CB7203A895C36A44BD2D63F45B3888AF91D37B510A59 3C921BB44DA620892AD87B665F69F6FA510B071ECC403CB2BE2F54B3969C9E88 713244BC97C1466DA8216DA7600C221E7E7EF5C789D2E12B36422023A03E11BF 2790FD6062FE6BF62F5010A92F0A104B76E255A0975E04F6F20F760881BDA7F5 D834D1D328B6EC19AA7D5E5678A84C74C82553DBE8BB5765E84F5A8789032143 6020940B4B8D45FC3433D356E28C25F42D0C19F911213D85951B2B00D01B77BB A4C72E964F9D95422BEDE582A05CD52E03D28A996E6CC8FCD910CBAB728073F9 F9FAEED5470FFA55930447C5BA816F826F983D53EC9941EC8364B3060FD74C95 26D4F5CA753B574FD2FA4D1D333785241D8741B79E628BC852FDC35478C5ED9A C1BE88C5EE7302816E65C12B58EA16FEDD4672EB3E24B6EDAD5DCE263BA8A970 350B651E5A9F3C281D85BC3F44EADD0D93402E36489BA5185E7D388974B0B700 70575188BB610CCA20F081E2CBDA13DCC6F72567962ADB342E02C1E763B673C5 F7384E24C6E1730A3A790D690A2103AEF88E0C1D4480DC9B25E5C8C9E1919C95 F83320179B4C7C4A26D559BFB24D7D596FB73758C9990C451E77FCDDD17763B8 9C30A9534E3CB6680D3D419D4B70B0B0A0D160FCCDE169714E373F65B7144CC2 DB9A44E041211E1517D3148E65A2486CBE5E74E625261CCF65392FB4F3091473 F9E8DF327D59A58558E5C9F7190DB577D5DC658F5E36258291C708B3D224653D 064BB6079F91293FC733710893AD1C96169B30CBFE4E9D52E7EFAE4AFEE68FEF 1AFD5E7E9DFCE8DE332B0FDC0514F9B3090AC85BBFB527FD8034DD33E9576325 A8769AE09AF1BA792447DDD932B98FC9486B39E0B04DDB3EFB7A30DA0940B33E E27490E0E841E87B1C90E5248A91742ABEDC10F43A8AF0F9C5B4A4930B1AADAF 01874B9AC3B8D0DBECCDA6CD7E96471FAA15CB7F8A599C5746327CE392224C3C 40BD60AF97BCA6FF6FCAB2FEA114D7300B89E91C3BC92D5B3E2C83BB37992D8C 72F661EFD0AA034C738C019DFB79BF40651A1A34BC1EB9F5AAF58F8B3DA32645 24AFF8636486F08BC21533B5FF7391B0679A78DFDCB03DAF6BB7475A1D51DAC1 EE4BE9B986655D1FDB6936445EF99B58B303FE79F11275EEA96A9F6808EA8775 D873D1052FAC93769789C700F20EB2ED6D15676F6E563A769CA9298E463FC311 83281483B1C953370D196727A6A0E66D32D9480AB1B6DCA77868C1A2D5DB6483 5F31EB6B18EEFEF1CDC31533E69B0AFC6B30FC9912DC89BAAEEADC30BE14F448 1A6B70D36A5D9B01799BEEA686066114910842D022EB464A9A1E8F0A5628BA69 AA9A1925CCADD44703BC67A89F3B48E4680726DC4360274185CF3C8AB747A8FC 4B928AD62B092EFE48B01E33ED756DB696171FDB775396BBA138E056F71EDAE3 7A1E4CC272B8418114B0E81DE0BC43DB3C133167344488820A92DF10FFA26FB9 65FCA2C87D302E956DE6B4FE145145440C83DB43A68F8B29A592B127BDF49063 B7F11E155CD4CAE305525BEA56B7C412A6260426407BD892A3F2B444AC3421E6 FB6E6425EB5C3053C5644666B80405530FA0012B54557327C98E0F4F064099A6 4ACAAFC1870359C1B6FBE7606BB8A26026AE20C212210449905E628AF1B20490 8CE908B7EF3E3DB551C85AEB0F7FEB6A8D215B97998E5DD9C7CCFB2A9402B8B6 1770D4023777D4B45A73F471355353412C51D4CE71FAD1E0AFBD87B5F86307F3 10D0B94F1194EFFB64AD5DA54A4200490F609CA8B912E149F8217ABB1E9EBB3B C4470E7365CF5E1E761AA1945044B225BD53D142F6588C50E0644740F7DD55E4 8F73201E5354A8BC78339211AFC4935F44701FBA043AAC4BA4698E9D7700029A C79F992F62627C91EB855F64C4B251718FDA71EDAF082A0C7B00550949D617A0 7071FB14F05620CCF2180941341D8E60FC88823438FD728A4042AFA8B853107F 852F631518B61B234565291B5D5B89DA818DEE3AE3B68A2869DFA63255CC882C 3B16BBA08FCE3632E57FF7A07F857A1F0FDCADAB39D77960BD827CCC8661A997 648BF5BEBC0FD2286C2A112A8DEB9CCB6330A049170D5D68EEEEA011D3EF3EBD 855236B9380087CBBB6BE24191F728B7EAC5B50F7A547AA0989B7C7D3437DBCE 1669341264E290646F2C8C5A3ACAAC7CB63DC692FAAE13E9B40E8BD39FE16A0C 1660CE66872D061056C04DDDC265C024BEF8B7E3C3AEE76FE5C9702002C28BE0 B180295EE00E567FA2E5CD1638226D24A7C732E1BD8103B476EF5702768689C7 D4FCD47F2AB94A2B1FBAE6ABF87B09E7713C773FB65CA83F7318035B332B9F99 24A2C8897527021321D003AAD7C273E4BFA2710B9BB26C2CFD3D9A5D7ED1096C 552D50028AE2476FCD6D12A5D0A897521313ED1A3A8456A70C16EAA50A3E6733 6DC89FEC56AB54A579EF264377A103939D5EE00A90B4F2206D0023AF9491FBE0 800C6540FC945199E20E945F46CEEA2E885F6800B9DF042BCEF4291A4B1A62C8 6A7ACFF872B25FA3AE69E0093F3D0FF13A3313430C06F1AF94D500431566F659 E8C859A5F80F5BD2E85C8E32603D3745628E8FE6FBC50FA68F9C3811A2BEFEA4 5852CAE2AE5AAD3230ED050593BAD0A9581EB7B327C6916B8FC348F4C23E6FA2 00FA28AAACCB3091C1D83F7BB88672A53A2EA3B8C7C24374E400C57F0F01019F E52D5C47F389D4C9AF126F4080F9AB8D1C8F470932BBECCEC72A9796F6E965A4 82057DDB43D68298A00880D4C2E2496F26F015FD83C5549215753459310339B7 6B2961EEEE74DA31FEC8E2BDDA42D4080A32372AC372524BDDA580EF6634ACE3 128C69D04D890DCA337212B109585C665AA83EFE47D5BABC2627A86EAD11BF7D 744176652C7F9497785A7A06A994ED8414BBE8B26E74D48CB83FA24AAFBDD507 84A90195EA3D77BCE8C2BEDDD1DC52E8164DF15D65B916EBDF3A8A76849653DF AE3CAF9561AF3B705F75B9E5DFD6758DB65A2FD54683759912E0D0035CFBCD86 5D24AB1323A0BDCC0A8FCCAD408E091D37B62D3D1BF8537CFC619A78488DA0CF 87FF97E3181A579D373539E8AFF22856FD03F4C387BA307983EDE87FE0F320FF 41E45F60704B913C7381D84E98411045E4AC9FFDF8168FA2286D8C7EBF681EA8 787E7960CFCAF502B7A3066310BE7A1159A02F1BF2C5C11A3A9A52E01DE3E108 8ECF6C9F892370DE073A17C26D92487DC47818C92555B5FA22B8E2D726EBDC07 7B0E0DBF8060AEAD5106824D748D9C085BAC95E031069395B41D5BB131FCDAFB 5CB678DA317AA3082296487B40E1D4297E22905E096C47A26F4DF5975ED35156 F33D505FE3ED168177598CA0CE444A03F66032BD7D1C1ACA0EF9FC36C4C9CE25 C9B1F2420CF9A96365BAA62E2704F2C662090D58BB4E0B099DDB4EEBF8D05F97 A5CBC658236F5E4D62BAEFB5996AB9E8EC4F4F9AC53FF17CC7A87BF1B8EC4626 1C500327CCB89B0EB07A9F4903E0C5A5E7370D90B50C010286EB368B0503D038 A2EF77A39178507E41DBE433DF19D3F69A70793D051F813CD263B5DA690579AC 1789D2D4CA15488F73F1F01CA8FC188FA30CB08809D8228AAC5A10954A6E5471 F8D84AF40CBD5C92F789EB1742E17D5EF1F7212D71A06BD7091360023093F101 36EB44A8DE87A4A196B0140641000B445FD8F603A9A7F2C6F77EF6963811F7C9 15649EE1D81DC3E988A7A797D76DB89758A73428D690AAC6CAF6E216CA40F8C6 2E05352428D4C5BDF539C8E423815555A1051370EFB3A9606D3D58F46E7D0B97 CCA0C589D0E36D25CE3938B059FB0E2C8361014B57098F96088C5C98E7AF24CF F8A8308EA440CD67106B94310E4C81D9D739DF88C655165C148CA55C7A1E2F7E A6F673ED5F34F1C1D20B609A152EDECFA26875C005B5D3394AFC2E2FC73EC0D8 693A9561AD2C3F9B9E9C9325EA9497425941EC3A0CEF1A59E6669429B08600DA 86C38D78CFA1AE7634B2C0423F951E647B2AE424776519ABCB28AB77F98AE76A 2F70CC3FC78E82702743AB7022329C56ED8AE3BE873992E131DDC094E1E6E683 D2545B0E6044A8F3626CD111A9C0940AD0A7D86CE7038A74907C8E9A28945C73 CC08B2B5F0D608B7A4B741D9F35104F476DC5B7C9E09D0BA369B0502062B3ACA 061ACE401105AAFAB82C4AA821E8523BC287BAFD83AFA05B719CBFD536B82B6D A6E549A9FF74858C3DCC717457691AD5BAB068DFD9AC47F9426F7148BB8FA709 24316D211D3A0EA27C36EEA1E76C0BB1068594DC152E58825290920E6DDEA892 BE5622E1C421994E1338424D82156895529BDDBF81ED48361530BFB2C763E138 777FF1CA8846EF2343E735E9EB00E50971C1E7B50917CFD0E82E5F05D1F96031 216DB9AC8A26B00280FE57F64038938E7E48429061C48B21F9B051F6147B984B 193B34B606F5A5B8583654F891D0E7256870F71A8898783B772AFA05228231D0 69EDB2E2ADF1F8CD734ABE140A34004817B886A717BAF0239A5B8A0874412F72 C49ECA2EF65E34A8B9C3288D95EBA49A57783A51198028FF2CC674E022F6C6F9 91F40145A7A1313A8C12793F71E79A58BEF6ED7DDD3CD527317F3063086D8B67 46817FD31B267DD7B61DF90BED14A3164DA8B2883B0B2CA52A8B48F33D055173 A804F2704D9367231B9B797CD55E7D512BF3D4EF1709BE4290C627E04330E3CB CA9D10AA2F41A42DC3089F2C51AFB51A3A0A5E68F99F61F05D7DE8ED84DEEA3F 3F2A64C59AB48E9137F101552C270F6B5AE64868FC6AEE59C276C7DBDB0D7835 9D58E3BAE73B32391C040298C4B93B8149ACCEBDB0D1D481F6C795004617D445 4108A2BA61E53ADD1BCB8E528A1E982E5211458978B071E20C6A2FB7BFB3FBB1 BCBDB5E18BE8CBDBBF8B28BC56E147DE26DE432ABC8F6CE4663CEEFC7E2B7232 0948A931575B3F6D7C5C29F5E59914FD00CFA0B64E595CA37FF9328FCB3E5DFC 1ECD5C2CED3A0113096F86466E0EBB27A3AE1D793090520DAFAB5A00545DAA99 500D452137475078B1996A96CDB7C12ABE78F41CF4DB7207C66394AD669BB39A 19492926069ECD6A5FFFB23654B0877618512E706301A7DDC2B76C42CECCB2A4 0F5388B9759429AF631A262C6F5C1DFFE78F9FB4371E98D29FCF91F4CD7A9DB8 5665151FB63CCEE8039BB28E82A7A73ACF6434AE97F67BDD7BDC6FC671A90D09 2EF97519795B91C4AD666EBC36188457390B902BEC72BE9F0AFCB70EB75CCA91 270C5367C18CCA4396C5D97BC3D1F1C93A6E82767543FEF3277C1DAB981944E0 D8B3EB3AE74B1CE21F7C41C9A7FA5FAE2F6892FA7B8AA3866FB247E9FB015004 48E74475596253F96BF2056A346F656EFAB9595A6B92B409383CCBF368DEA6D4 3A6C9B262C5BAF4AD6E854F5D7A6DB6C0866D0AC2A1F02B7155E76D00ACC58B8 AD3C51CA0317141E8776F8B18AE01205A0911383630F2C6D55F3BB5CD7AB34F1 A5EB91801FCBAA93181ABB6988F88E8F333B1E994E4FEABE71D6474DAA2B7233 2B2847BFFAF668F2D6BF6686E932E41DBFA30E2DEC3DF25213CB9E43949BC0DF 92A05BA5BCC2C91B7AD139137E1E9920A38425CBD0581DD6982F3CA60A904C5F 51AFE225349BD993C21375E5AF42BF1A1EB10D9FC65C73F8C092095345E7CAEE CF294727CB2E3C369149B264409A5C7CC91B576D46230A8C10B324A91E6121E4 B7C730C41BC66CE037DD4D01636879358C27B8A7F0B786F3E11CE90346065E01 DA6403E578FF85E8C6F5ED55EC8A434065A321A33D96FF777BC1A755E5B6D0F9 8A362F48F664D80D8EA59A6FEF67DBD34D9B164BABEB476B0653040AF59F69AB 0BE560C5AD0BA2B9E03193340272122B5C927FF25BEEB314942C9C104EF449C4 2CF2B773BE9F025609ECB355E486EE8A7A629C3EE798ED74E570C8AA11D2B776 8FE70DC8A724F79608CC809C0DDBC6248B9286060C4847653BFFAEE99C1DFA0F D2C3D12FD96D9E404038CBBFC69C9D0C4AB6B38A8F17BE12B045282818F9B7B3 F4D461867A483DC612C09B998545B80E92C4B5D7E1D4034245DFB55FC48495E5 26779FD8E8BCE82599832E7F2A89B81B710086A1FE4A20E700D33BEDB1289D0B 7B0CBA0D846F61C8AE41ADF6A5B51DDEEDD81ECD35892460CEBE8E10288C3DED 71E101674EF00EAB92CBAC254210E1DC7ECD5AD8D56DA994392E85959503ABB0 D7C132C5126DDFC0049A1F1377C2C3E2096C4DBEADD6E2F4871408248BFC4702 5652766BF8262EFF25A530C55351FF7C7B9FE8DE93696EF07DA2B10F19FE9739 F9DFCC9C8C27C86E2751E8A328F6626624E4ED859294A191451C10289C48AAE8 D9CEBC2FDC810044B93FC846EDDE72B4B89EFADA4C927360EBF197007EBA5533 B7AB1DA97C305B334ED3A3FD190F4ABFBA0A5AA08AED171D361B83E8B16349EC 38DB44B1C92E654FFF2A2DC9F6519ECC458178B028CA1BC3EE187DA787E940FA ED2274A8A128298439CA6BAFBEB628E0A13CAC1745C4B39918BB8673DDA3C0DE 4D6DDE6D6A1C02170557DF13ABABCCC4043D5F2192C8ECC9B8F487EE55EB8BD8 9B12C914886FB2276D8B89585AE660F9C6B67B8CF8B7494E73033EA81E958EBB B9A26E9BB30AA2B9E37855F19F2F848D18ECB25C87FAFE044CE1CAD308CE5DA3 F8479E56CE4C4221BE7D22AD12949D723347E62FC241DE0508BB4AFC076AA29C 3DD915D18CCD37760F7215E71B8279C214B9F5938CA871459C7043824DEA4008 9FD4867380BEB0AC2A03F923A84E87D551C1C3FF0E62E0EBC8EFB191E6B94701 9471F5846FFADDA8C828CD0F1161D74EE72163F60556C10795B8EC9342DEE478 9A296411B6BBC61E44DE8A3045682DCE8503B656C7DB9AFF9FF2F77549F6E118 6FD6ECA960764575689A4418C74CD7C10BF1D45C7129EED287B459305AE320CC BB0411F99799690A1E76E659FCC5F6D51BEADA539E378EEA55069D720BA2C6B5 D78105F2193475E308921600DE230A957FF25AD7E759BD4DA211325D29D8EF2D 647E7E55AF5EE2891A8D99A36B9454071B6AFAE47840343CF461AA281CD50F5D CD95E2EA1E665A3CF265EA2635B0439DE4DA14DFA6D488ADD1C81D68908B09E6 448E829E0F5D8165526F37CC3CB96705F903DFAB4FDAB83C4E031314D593CA81 2A2A99C24F39E67A99FDC511BF21C6B9DBD79406BC260E7398FCCE97B5F4077D E2699EE4499CFED5F02F0620A7685BB5B706961421B7CEFD35C1F98A07CA5A6F 0308C62A32E69F9943FAFA015667BA18340BAA67F6505CE15D6AD069C97F1A8D 535057B697A10ACA344FE1BA2B5A3080E67AB9F07498AE0FF47F7B51F0902FC2 22A8276F2949F9D0A40DF90419ED046C41650232429E631AF725A64B3CF4B893 2FA02849D45F86E4BF266EBE8D726A43174F17B341FE4BFED2AA82FA3BB8B680 E0E66CE2701BC02770B3181A2C3EF815447AED5E4D28B908BF70D5E449284859 BE01766F7B9EFC4BDA7957A851F3118E2E255F18F6B3726EB974E6B5ACFAA6A2 5DB68FE89FA0B2147A75D8D994B61A903C5EC262843C07C224F055F53983B22C 61782E0D3778ABAD48AA2F38BD767C548D21E360E3E4A7BD3B4CA8137E90503E 6314B75A41D524BC5B04C3F3983B9A9FC67B07BDBC8870BB63FFD9B36F9531AA C2DF3E4BA9A96D7346DE0E21145ED947710B0FE2BBDB9034D8430ACB5B60CC76 61AAAFAAFAFDFCA91014D1919C41AF46FA1C445DF318AC4FECEACA9A893F0088 A75A5F269B1903755D422D170E1C6C9619A91110AB7E61ADDD2349D6BD06479C 467AA6C8E1322D8D250DF6030710C84634E47DE18902423ADB10C5356437AAF2 BCB138924FADE76C56A2CB0297E6C951F8CA1B64E47EFDE25C5646905CFC9598 66B301AF9C1D559CBB954AACA2F7F3CF3E5A9EAA3AC288E4015A0FB812F273B6 E617AB6E407471F5BAF4B413175B3FD17A2D2432995B715781CFB035D3FECCEA E9485F48F8393BAD3994EAC2264F5315E1F6B73F22C95F31EE06F6E432564D8E 2BED415286F56A089E390113679053DEBD89211C268238B754FA95B337FE0D99 DEF2379D215458DAAD3A4D0B7EAA8FDAE3C4B7F87036D7E6E8FAF04DEC205A3F 001FF8DEB89FC61AF7ACC8F7965D88DABA830AA718B93004A6D389762D5B2242 D8E214805D0EEF9DF339AE97724BFEB9B5821893E51AAD8D1DAF3F297F32D854 A983538A19A2AB8171C80258D16B247C6C649C83709D33B692ADCB5A418F47CA B65F58C5A49D18F49EBDC17F49804DA4A154D174F18A2B14B3D6B65C01E5A5F3 F15BC4978DAE4BA7394CB7308D892706226C2E4745406BBDA0AF85B9BB6A1EB7 537479A95927B31D75D9F35997CE1675EC5EEC0180F8724AB7055FE1676713DA 3A22AB447A4AD3CD5451C6A2D36F5756CB7CBC1AF6EA50755888F039DD91901B 23F5D15B159F03C764BDCDF64FDFD44495146539374A132E546E8CD745ECDE03 620AA7056F712446CD7105DF0A9ED08FAB3A14213EFBCBCC39343C5FD55A8B8B B4FF13B06D1C8FA2AEC2A451780AD9F450B7097AE00FE1872458962DAA6A3EA4 A4F7E3BA124616CBBBA660585F8D857E88E9ADCF93D6F38493ECE543B1C19B7F 9E46C29C748A9BADCE805A928C1D8EFBA9D34B8CA3A74DC34307DCD5FDFDBC00 FF20704B2C3C5920B4D6435EE899DAD870B475DE9E67DD4F9343DE2050083767 B63BB22310FBD1A4EA6605216054251B3B92807CBD8ACE348772CDE765921B15 608B6FE446F2E35DE91613191DD72E061A37E4695E49DC77C037EBA7C5211D4E B6ED1544D4EA80F3BA6806A80225A1A256B78D95765FF5838EEF32D7EB7319F3 18B76209270FC63D63DCFFFAE895B7050F4A851F9BDB5CC836529A46FCABD744 EF233C78555182F9770833B09114E3BC0E30BD045E31BA0D9A07383D8FFF1470 7769C116B1EB3B474331DC4F2A4F62FC8EFA29F0D664482D87CBBE7A8D940B0E CA84D21B884F6C83DF57D9B17E3C07D44BC535E6B6258D35596E97C3C5E02353 6914D2D3F4BA7F6F70FF92AC2BC6E2327E06FCF0ED99A66A4082E918D9589B76 3251230A712199C759A2A8D8C5493D71DD240F4B0AE15A7771A9E6248F248B88 6FD0B2054D1AD8FC154E2EF999AA355A22B8A65909A8B526DA398A1A80E41A03 3F1E09D608CC57DE5D235F68FD31733945A6616217B05937862A7992249B2A29 18739913042DBCF7859B1EFA0DD6B8BFB18CEA58D596BDED898A0699D71A949A 42E3075E854C953B133ABCB766C53C8073EE98083400E329CE70074821194AE8 1D1AD5D670D2724BC68BF80A7FEC70C6E476F3E62E4CB6E3E8B9E8D8272D6866 3F1696E618A96F5A19957CE9B84AF00507878D2B17CD758D94873FF56542DC6E D3A5CA028B8F5D129CB2715A3337D23548F82423FFD54727B62F28E0D8A17C4B 2A3B987102F3A17E65E952DCDC5ED16B807FA7E15FFC2ECCE9B54A6C8538964B A2C47BB85F5A1596CC217B83CFD4BE4411C026A648A2D75161E9E3527BDC0EDE 82824681EFAD6076090A7BBEBCEEDECCA9483485CF9EB4FA487D1E85092ADE89 BDD6EB23CF171BEF5A247AD90CF56156553E7CD407D9BD5C22EEFD30A38B9DBB 974AF3FC0048F857B32920AD498F5DB15C08145A81171B694674565592D3A997 C84E5DCA1FDBC36B7A29C16A7B4BDCA33F06269CD391237F3D0C4CAF83B42EC4 DBD1BABC52A17C510BA5D6960332C6607A74871C7F925AE5760FA7764E45764B D39116FF0BF387D2406899AE560976F451114B17493A75BB143C528E4FC758EB EEA85113323A3C2D1F6BD2998912D79F07A5A679E98E5EC449F539182E117AFA B570AC06A61A5DE125392385D25C09F7EB95AA878584A8AB10842C5486F9E648 7D7B7F4D466B87C8287F4E859A64F207BE6840EE7229110A764D465BBB1A381D 05A7211D0C00E5AD0EBF89174F824180B21F3111B6F2FD07957310D18F883B99 2DB958B760A373548C7C93890EEE0A86CB9632E3B0D45DFA69585B91D9F31EA3 2CB1DC712F3BAB76EA68F42BC470194180D5B04987C2822BC09D7004F4EF3661 53A3ED1220421F0CC398289AD87407472C7B9C8BF5F9045218C0160A4AE71DDE 7E246BF81123B9D65E7AC133BD7FE411820EB1D03F8F4C8DC1FEC3CAA6F30FEE 1C0A4B43CAC899EBA81175526D972E59D3CFFE9C8FAD69BDBFD34CE96B4E21A9 1266933AFA04F76AB053FC8425FFCE853EEEEA6695E645E6B49DE5A61FE0184B D248AF6C622B454023E9E2C35A5B1896285EE3846F5C48FBC3BB0823E430D16B BA6BD0033A5A25274B4840A8B05BA84BEC9F3438C92111317A2123BF3F5C6121 0B7E1586C3BA4037C670E8B36D1C9A9FBB1B68F07826A8F8FB0F3562F9CC89FA 692C6DAE4C929BB96BC23F88949E6C23FDD59B622D79AD11914C4FABC3A61E76 EFFDF4ECE84E0B26BC60C1E9C04F5E60A0FE6106634E68D136CAD438B309C11B 34245323A2EF1CA187213F8EBF7A5B1CEBF90E6B1599B686729435D02DACA63D EE607D2330BD4165069768120527B71FD7FA0CA20E4DC03D7DFE093902BC1D5B 25AD5BF451ABB231070F3A200F5EF634D160F8BF13AED8D10679FE99E2E65E86 31EB3263C3BF8ADA61A8E7057E8080B24CD866F3BE72564375C634AE9192A722 87A6D6DBCDE69212A5D474670D33D1706EB31A8A417385B864141F8A00AF1035 52F7E1CFBE41F03369A9D56505942E830E412F75DC0966BC31C8CC5658E20B87 D24FB122B068F38EE0D537BB901DB8A3FBBA9A48F8A301931D999CA90E0C0A9B 64D04B7EFC04DA82A55C9ADEE58720EDC3A850AFAD55515425AB24FF7DCC9452 E58167E20A91468092011742B779171454EE3C633964CAF2F9EF08B7D50A40E5 0A42DDD7DD8FC8B1FF64C3178C92C1E7DD42A93EB569F9FADC599B993798B7EA C038288B0117107502143A294240AFB6CE15E187BA4FA17381E897294E5CF352 79A0882BE40F5B19AD2266CB20D6C1DEC30B5D2278BB8FA1F33A6BBA01644D3F D1AAA05AC80294BFEE11F65F7A2920F289071F0A3A0ECDBB49C4DD31C6B856D1 6F6A300C22675C3F34287B8B5ADA9B12BB88772CD2F5E2F900AB0A6B486028D4 D23DB04BC168400BEFC37B155EA5E0FF9CDCD9035911D6C190821833206E1204 12F8CD94045EB974F42E2C02023737B2BACF89704421E1EE8A607B7AF6E87EB2 E74C5DAD5BC905D9784C6E9D3DE9E755D33D536CF7DD7083ECAED6E321DE51B5 705BE63A44D0F6341F9A2794D585B7C04B1F79EA6DD18752E2FCAF34CAC9245D B31DD1903A3FCD15365C58DB3C7EB9018910A58803170DB43BA1B636BC1FF863 F6188644539377BC2C42C43A385E0C6139933A8293F9FE5468DFA8CDBB3F729E 740CC6138F840DEC588F3F04C4907454569021C55E94E13C2DE7E6E04F38E86A 93152942D17E55F48F51B890A2A571DC089D80655B20FAAECD9493E1365844E6 0844ACE5C3E6E24E917DFF3272262BD072A90E0036DE1F18448602B56310C3EA BD75E0C33F398E59E9FC6DE3CFC54C240D79850884F15517F68C54DEBA6BCD78 841288BF2F58FF5B05DBB618CA2BAA12408E0477333FE9A5E7B8A76C012E8841 DF148AE346BA84F07B399A422C1E9A04AFB745246C9BFA22FD00179C7BCD6A77 B08E3E355C6ACB32B38368EF5503350EA00CB16B485FB6D80835788774F442D4 CD31AC736CDB74756E2CA8FF104F64AAFDFB6D760881315EA5D870C3018324B1 F89AFD6ADCD7D193E89A5A0E4EEF1AE5523538C5EEFAC6FC6AC0B6301F960D7B 578DF794EB5700CD7718ED76AC8D347CBAD73EAA8C074A8E779D843CD11CE73F FF858918F7739AEDECB1CD9F79B8BB1B076FBD8D1AD75112FA43AE58247E5200 F0C35F801D8D6139FBDDF35CA5F1B982180DD7081BD234582CE022B6646A34EC 1F0CB1798BF2F3B1594185E78B9AE68CAA9C0E43E750FDD1EF004555EA03A4B8 9325EC29BF7F937EDF6437FCC9DC1C1C5A315664C2590D58D96FB8F8E8C9E32E F9EF21967EC9E5B23AE31E0C014161FB56FA2FB386FFA562D59CF40CA16A249C 0A98CCB4A923F6C43234A8A547E4B13D968C6BDF70D2E03B659C9EB56A675B55 BD5641EC64236E33C5DCF12CA8127084634EDC9234E4ED53B443BE7A654B336E 6C5667082CED316CEA9A2E83824A18D289CB1170B058D8FEFE571D524A91C9E4 C101023E03C66DAA2AB3880D082493F75BE7752FA087C8C23543DFCDDC1B0D2A F08A666EB6C023E4203ABC4F24189DF17CBD4E14571F474ACF6BB7EB6DC64865 47C938B684680816491D0077D008764FA2E8C58F81EDA8B7F0ACC1949B53A349 BD1B98A748C2C9AAB7AEC6F6191CDC6B689EAB2F587CDCDD3AE34029AA214274 FBEB43E1A3C275E6B4EF8543A7B2A82D0C0DE0D1505CB91CA780433A4AF5CF01 D26A55D5EC3AAA71AEBA8374FD74565F57613934A684BA1BD064E2456F5D2DE3 DBF58E25A616BB267B24F185A032D0C4E8B68A12B7B6DA95C777EAAEDC0BD56A 759A08D6C227C3A0493A5DBCCDD5CB2D6A2EF2E02F0C379AF8BD61EBA03DD054 D57E04A228CB3A59E4D7D86E48A0DDCD40ED1F37DB3A156C7661C8E735684399 9061E52AECA33081BFB68B8F08AA923DA00D6A5A8B64888F1753195AA29AEE14 92CF6E6311B9AC9E4CE6F0D1707930213F7DEBEC6D7899B0F4E0AD0AAD0E2468 9E064A8FF6BD15F076BE15CE258CF0B037EF11A28CA49E4FA796D94AA27F726B 4B504F34908EFDCE8F134C489A68C426135C8D617BF50DF9C4FA82D12AB6C07E 8B09E6854F5213A59F2FBB952AF575199481A22E5F92895D1C2F1EF70E7E9EC5 D55DEF1D06DEBE028C2AFAC15A71740D577E142367B8B2C75C5A56A1D6553A57 B1B9F42BB82F64F001A05F3ECCF2FDD809CB8908CAAA4358267676DD09C438A6 F196294880ACC5D051E6C1591DED5C2CA48AC1C1B674CF0913E021842D2B8D05 05E7FCD28386AA81493850BE05FF96DD81257CA8AE2D4E24431401CC56DEFEA0 5621D4EE26C195B44062CD6A9B2BA296B3769E84DFFF7CE97F61A7F154B3C1AD 2538124E95F1CC06721B33639F470DED51902DF4BCEE5FB2FDA28452B3005321 0C9F7A6BF3688D7F7D2C570F2BC3CD37274CB377E07B5F6EC30424FB379F46E7 6854373D850615D83785254F9F280C248771555DDB5FCA7670690A511094A9DA 5F3DEC2736AAB3D371439D67FCA289394EC80AD277A28192FCD4B638E80B6678 5EC8B59ABCD7D93337B5CFF59C535CA6C59411B3985EE82FABE75040415EA530 DB77BCC03E8DB82736DCA79391253C74AE13563D3FDEB1D8B7B4DED2A1F2341B E4EDE9EC3847854FBAB5D6F231CF1BE99856CC6962479390929D01849E546522 A6C8FB86D34BD9CE40119E06F46DDB5F4F397A230E411FF88FEDAD541E0B2A9D 52431D5A63836797F954204A41C8DB7589070AF872BE2B67CDB7B8D382708D5D 0C92B981F2CEF1A7A6D1BAC274ECC6A9289276DF45E0B4B755971E891C74762F 237E44149A51381787185AE7EAF60CC2970B4E408D3914C699E634AFFC0869A2 77AF99FE7391D4ED6C40D47239FBC7E6E67296BD410844F5A43488F05F2DD775 314321C0C2903B825578E8F0DA59C12E8D024E9FEADCDDF8EB7812D1E240768F A52A22F2486C5C7554774384FC7B13EC2DEF3C38CAD3061C4A0A18A10D0F27D9 38E4E2ED19D9372A32F4568CA65821A4ACCB1867588B32FE7DE4232597182C79 28B3948545E4A0B6BBD406E6DBBBAC6DDD08A0A448D6E8D836CA9736A29BC880 4B2A5173E0B8D98EE7A0C64DC806CE7491F9374970A881B820016D868AAC3868 82FA63CD7840BAFABD51729581A0545D737E3CA39C27C632D020734203F785AC CA80A4202D875B5E6C8A374DC914B10CF59297B2841096CB9436E760798A656D E4AF5F714659CF080C3B755AF124ECB4709919D423021E776D9EC0A2ECE6298F CDEF7DEA370A050591A77495968FCB1C0AC1B0917358079A76C0096FAF0D7CE1 1B76E6333C43A2BBB0DD014DC6917FBC9135F82B139746FB63ACC312A7C3C5ED 0871DEBF233BEF744A4A82DA9F2C016F830FB0C75EECC06FC53EDC7BF7D1FFF6 95ABD16069BED84862DB780C285C5353C14D5A1A5CF339D71F101B96E6D2B446 4D2C677C73EC74F8A0AC8C8C36491D8280946F9F2E386547B52BB84518296AC9 53669BE3F781148151790D13255398695920DDBF5EA6765F5210CAC88DA9AF72 B0C173CD04C86F6E80B695C62E500CAC69C2A2765B3D7E9A4D58991175C5F62D 1608A7C5C28B0CF62E06405C108D7F2D0463A397ED487B2A607EFF93D1AA4700 BC87635E28666B2FA69F667EDDEB77D73FC45DCEFC0D6A682956F54391D7BC12 899D05DEC3BF68C33D33383172856D7D063724023FF556409379E1AC03BEF2AF 4E964675657575B46F9944C205D212687C98FD2A6B3EC7E3BF5A336215061370 748FA48F90D9C8437B1CADABA4409A0F94F98661F3F857D2233477076FBA0CAC 1FA25CAC8CBE56D8E7A60B238E384C1B0A814A5A5C2078C54D93CCF38DE9F0F4 E2E474E1DC94BFAC634504A496E040622DDD8752002D69259B467252138C8173 24980D53E5E1309A80DCE873B6110D774B22DCC9D9CA6EC4723CED6BB1AE28EB 4928F6796294AB57C243373E75D6E5BD27A50FD94A2C0FA6B405372CE1736A22 1895383A922B0044A10C0F9D991544A86D749BD110192FBAA7575545947F4E92 E75FE021BECB285BA181E4B75261ED5D46918E751F2CDEEC7F3E97DA8FFA7EB1 39516B2E11F2030A52B9D647800E8B6D2AC57E24A2B5CA2226BD9A45703BEF26 28C4F43D0A7F548FB093C73239A4BB099B3AD2F2EBBDF53944C288C700E43236 24D50B641C3E94EE211585D791C547B87FA8ADD076E25E96D5D28DEEEDF57C26 35D06AE7305B707000BD8FF32B3AA87B2D7A8185EB91514A3D5A6A74419D02D4 F9E940E4A22674C9B282CE1F1F733B22C1342B5147317D8A2A16D21691DDEF1C 22156754503A75ACACBB0C13F8CBFD72141C2C87DFB150DD1E535FB873FC792C 5276423C88ABE03A6F0E99CE2750EE2E19A117073C1C0D737B0034DE6810DB71 3CA1AD59127C9494474C6CA0FCE214597618B96E87EBEF39F25369693D021AE3 9DD0819D761FD014FB025F53A0659F78B55D0C919B8A4E33ED8CE8EC98C2CE7C 89F5D1847012F321ACB7501077D098256FDEB37D8786760A548A12ED364E829F 3FC8F496439B82F55A2F44C25A51925813F6B4EF3E3A41C8095AC4F65D385635 A408C714379644F62F43E44B06B30F21F6452B53390EBAB6F46B38BC3D87FB1D EC476F499ED0E4BA3A9CDF81834D7F16FA46CAF4265FE9B49EDC08E215CB7952 91F771D61C8ACB19DD62AE024B2AE0CC0EC6F8DC0004146ABAA2A846CB5E37BA 01FA43CFB1F6DA6BC52B529C54AA4D462A9155275437FB6297B9BAA489765E51 264164455889D377004E55203088FA69B8EE3CCA71329609D74D899D111600E5 A6E373977CA0D3C45E3934A2D957E3B61967BB9E20ACADCBF9055A325314E92C 49E21D1F89031611BB0E04E432C86F2798E57712E7E2771A3C8E03969B8B32E5 8542B142F28236FCD47938A38A4E653BB4D2648AE4B74D194B080ADD4A3EB06F 91BFA782D2007AD8D0A0CFED509F3F5DE28DE1DB4E5F4D719B435C64450A8246 94556566E64C717EB2CF5BA5856E7AF17FADE2560C5B96730E14FBB1534339CD 15B77CE2BE2DF1EEB86EDCF72E2B4C12CD683763B851F9862B342016D1C381E1 21FC08277C57769269D9416304BD643FC6AE4FBFA4EF32EE97632763CF82DC56 9E09F6AF8D336581F260224AC5FDB54EFAD3878D09C616F475B967D0146048C2 E6CB17DA9E3FC793D2589794FB6D56DD513E0B2CA6405112EFB1C46DDAF1BC24 90996CFD36ED6CCBA07F67DA9FA2F735AEEED8ECA796395DDF04FD00EED4DCB4 3B0B196903B53052C041A1C46E981EF7D26D91FDB0B10F2AC95A3FD093628970 12B4B34B3AF71A8CE84F2D39150364554834B1DE256020BA3E5A218DEE59655F 68143DCA2DAE850F90797D9A8A457FD4FB166662A9EF17D386DDA51E63205643 6E630CA7BAE5A4C6B422DD3580A46C67B3E42345D27F1A2448E9D12F609B7487 82E522B635EA1687578BFEF52DF3618AC667D7752BCB7C352192DB8077A66E28 6B4F917EBD804A7F49654F2B9C66E5F784E189F2B07C907230280FC716E863C4 3FB2E65D5A90244472A530FC728464A04022BE8616840584A0F153C671EAD0A0 521D9A44F56A2A919BE44F3EA49DBEA228645576F2973EEEEBB6F9D1F1CCDB20 A5AAF3D4A11F51F5E5C9E0DD77510852CB0F26CAF0E2BC1F23AFA9B9A13B4CBE F27E2EB1FA72F0D8EFF0630DB50F6BE05450775D27B48FC346C23D35094AFB07 59A8F54A5EDACF5F3D353E51BD11C53868944C1DCA3192C481EEEA5DDDDB802E AF654DDC70AE657ED831F03BAB2605234FE62A092E0651C2DFD39EA957D9E86E EEAEF17C7F7C06B72791BDD29AFD3E9C6313BA65651E1AE5669BA6BC04AEB5A9 C182B1EF2A59D9EE46F33362C67595DB10FCDEF7074D62E02AB938253F665E16 E78675763118B1ECBB36B1E9B2281F3373C70AC41E634B20A28E5C2B19F52BC3 8D2D2868D6867CE2A7F86FE7D63FFA941F97013648CA63673FE99B569386F01F 3FEB31C7764095A47EC6D0F3E072F96BA6627BBF83E6BF6A1AF9D5C383789AFE 18EF54BA4D35727F0207D841479FB3F9BA69434C6EF5AED95476940E970BE5C8 8B88084B08F99633A551F97AF359FC40509658D67449C532CD5A1CD0A3EC4EE1 55E9EBD3AE3BB11515536B1CF24E82A7450B611D308EE5BECDE9E3E908F980B5 C1217C65F52CE2AA645D21769E12C9547520663349EB51C074D5720A90DE4CA1 9D7293170F3717694E8A5A57414907E46FCE65DD7A497D098BB06DE70AA1BAA6 080AA7CD5A7F21CF7608E40F068946E433303F1DA393812A595ABB94221BADA1 FB146FC68CBEF5B096CD34F7130DD48D577E6027630E01838D2DBFFD28C47273 57FFC338A6E225278BDC2BF0032C47DC2ADAAAC7A43AA8BB8670A9F1B23276A4 083204E3E04FB021DDDF8FA59C242A213FB621060F21CD17D6671E07FFC4948D 958652A6EF36F5B412278E30965209E67B58454CD9E5CD7DBAF6D4C0C95265D5 48AAD4D6DD154C42C1879DAEDC0070F1015C44F7DE616A990DB2675FE058AF14 D5F384AC73D9FF4E718C4C38CF2EA00A738D07108A4B4CC1F6B3625FDE4A3D1E AC23084B27442F98A35A3BB9ECEE055A91AE71D895849670B7FBFCE44D4CB6FA A1B1358C6D852092A8AA4BC6EF6067C7249DF20CCDEB9CDBCE618798135ADABE C6B484CF6B19D422446064927D98BCB6A08C2C9FC699CA2E4D6884B28BB5EF0A 148796150A1F701F73436736CA44540D86C0DE562561BEF8908E072EDCC135A5 8F33F878CA9082560F1A665E3C26481A34CB3D75F3CA7A592130B0DE921F95AF 28CD6877DC21C894B87FA0FA2CC82C989843CEC1698A4D6C70FEEE9F5545F078 012E7E58DFB1A0BB5891824EC71F46BBD0E3D52D69A6AA0B502A0F199A75481E 6B5736ECAA1EDD2B189417EBCCAE6DD85CC4A673097BD7F1C1B229B42B62EA50 0E6FBB7967608B427B75C2688D0315817B7C9C102FB82E6773197C2583583E70 FE0A0AAE1BEA4F986954A243E3F351D2F4B24019DEB62F7C14F88C3C81289845 F4C795560788D92BF91FA8534F0C35E8D83DDB1DA5728604F38013EE44A586F4 32B77ECAEDF2283E8EC2591F4586D124F8EE733B66E66B85D224D43C3BBB9634 5535FAC32DCB2D161112C495A52B4E0AA08C1E5CAD364C5FD8603B72D51AECA6 DB37A593825E208ACA205B72B7F119334E45FD1B6607824976758DFB19AB1451 9DE7D4E1B1D849A16F9C54B12A2A61CFC885E7C9D9068E313C58FE221B809099 4AFFD717F4B1B20BC49A5CED815079EDA0B7D281C1309F0BC28AAD74F271A575 330ED2B420C261384A7DC4AB924F985E056AF910826BA0C87D46AC8BC462EC53 0F9BD4FE0024FA980BDE77847F536AECE232E158BD88FCA6B5FA2313AE577B6B F437637CAF1BC88FFBE62D6D8341FC453DFEC98EB1481765BFF974B1DC7061E7 385668C34EE8E7461C94700D94FEA0E6F4074602186766E5E22657D5B3570785 3A88049314B2CCEAA152EB182B4B6B7D0B50931FBA1E23D5B752798BC5DE4785 73A84312339333F2F4A20EFE1B3BAFA507A7241E5F10DE64FB004E0FA6711B6B 1AB8D5EDC9817F8A88EB08A594C4145FD449D8B63A6481E5B30D8A9043A119EB A1B9FAD232E17A14BC30F914971EC3993330C804E58D86B4A4B2A09D9CEC4245 A844802DBAE4C01570B7EC33B80A7B1AAC37C66F39A7997ED0212BCC55212F21 AF317382938469E1F473B9A423ACDEB95198074CB5BF05C709C745DD3B2EFFC5 9C8C2CF6F7789C43415092BCDA0618EAA306D68D0AEAB62B8E900ACD14F0D624 12C9494C1B7AF96BC7A4E9A70C8EF9F4D8FAF6288EACD333F5B088E33DBB8030 9BD9894AA3D450C3FB36740385289F0F165E3431E80629A293BF5B3D950BDD72 D1E1DFC4E03B8B5B57CCE896D9C157708CB4FC2273FDD34B8034123429421008 2ACE797B6E386436E1500F2AA3E604859FDC3EBDED0283D577C771DB1FF2BC29 619320F7F10833D4A2F0FB043D80F56F7AF367E496DB2A38FDED6D1AFF1221C2 2853D6A598EFE13DCAADB2EC028DF04128F86348FB3C641146DB1D35ED1818CF 6627F0289C79C45FD91C02CEB81D975D1F02D2098191B4AF53AD63A16B3D6829 80292F5042D2FD777B00C021E43056DB6D3F220760A86742A69E77C34D1F329B BEC0C673CD668F74CDCDE42F6D34F87E2DF4CB2DB6B1A789F897082E03126A73 7AF46307763AEFACB78C0ED094DF44CC5D4F05E8E5247C376659C3282A1D6C26 6642448912E51EA9B809BAE9456D13779358A54EC870276983D452BD4A21546F 063E85E7BE4B10FD7EF700DC2715D463C806AA2E694F3B96E6BD30B80917E157 280552EDFFDD81EA0723E9FE74AA1BE142D49C5A3109009F4B48EF04E4D5C688 03630980864E07835F999146A5876130DBBA4D6A9A4F18AAF7F766100FF468F3 505E182E762F19F322F106EA6F9BC1BB1FEFAA0A66641A540DD94F22DD000FF3 6638F7E13FFD2DAA7AB0530EF745D9625CAF5DDB2DF746FB11B98441AC98E8A9 BC2BDE9A0B6674798C0E4A2FE9A9C4FB6E58402FF06FC77ACBDC9BB340F8FCDF 1BB79808222A5DD54086DA61FC96C159C562429556A600C605510DE7790D0A18 092C4BA2AE6EEF1EEB6B037D05F60E4C99DEFD971DD77BED73EFEC31496CECDA 3295C39E30A492268C2D982CC1D4C5892E6030C910A979C5AEBEFE09B53CF239 BB6E7373991204E5E721B50F23753C93CD4ED97CC5927A50A1BA1825C417F710 55A1CE18D5747F051B524D2C656CFBD317408CBFA98BE4C049CCB31A8ACDB6E1 E69625F7EA3856E258427323048564A34B78B163BBCFD11966EBD88EE468D489 DA9244D7F76E093D17DD4130F5A76CF2B5DD80391EC410C969E7168C04D9EAAF E3C4AEAB5119426892825E3330791043F4891C87F7CAFFA063A748C76FD9F5D0 4133963EC10B23F8D3B6529C9100B1D878DC3FF090B23329CC1682064E4F1A86 266E2CF57AF4386EECF9AF87AC123995239B2BEDD1592985520E9F0045D51B22 EA87E9050F3C5C35C300C8947CEB24BF91932BAB230A813A51BF63B5F206C110 CF140055D5358B7FAA2B817EC02261AF2FAFB22CC1D2FA06DF1B8D1718EC76B4 126B899E8010681702F4ABD5D13EACA72B1EC1AA3F191F685006BD5E30038BCE 5702E4142FF9BDCD854638F3A5592FD298F8A8E4BE9DA544F90FBEA7895BA9DB B1D3C45724E8817DE7314DFD3D7FB31D92C6AACA2D90C96C6B9DDFC0B8A83D93 B2484463E9E9CB16DB21BA4E5572138D0BA75A4A30F9D06806BFC0308F5F038A 7940611749AC9BA2F158415C50C0F55A5E5CEDC8A8BB2F392DFAFF527FC8A05A 92B0BAE2217EE3F3C69CEEB72F0B183B8D6F97C8AE5E1BD9190DBF7E68ADBBBD AC6EF7207D8F199E5E7725983CFDA00175683DEA12DA348DFE6793C82CEB2AB7 A01FB85D6F3AE8AB6869365F4F99DB8783F072633217F5AC1E34518231177BB6 F4CD2DEB3E5D177B79F0ADA5B5F6845D078B44752E712D52B8F580A046188441 EF8ED2189A771B989405B08F7160DC112554CBC2E14D597D30806A03EDFD5C85 E0CA2E50BAABD7EEBCE1B81605EFB1B225106DCB9A6BE3FEF1388BE5D813683A F6C943FE3528DACDD1AB6A41490FBC04F2DCBF6FE7004D21BF38259464800829 E1D7FAF951CD97653606056ACDF62661AE1749569CCAD26EF2AB7257E352F705 F9B48D7F0634076165BF25C94459FA5C5321AC919139B7DD0CCDC5A4D8FF98EC 2F73465B35CD032C420B386CADB6039E50B114EBC771469EC50541B4860BDF27 A213E3720C21E03EFACB02DF8CE2913D3C3416F88B56FEF13692F2369DDB556A 4F3C9CE40724AE4FD5AA03298513E6253DED14158C04CE517023AA6C4419639E EFC529332617B57EF5D59BA57D932DEF1B67DB7C22543EF6958AB19556ADE0D6 E3861BEDA427CB99B27657E79D2F29B154D46FB6DC55232F1428E32613A40599 E10C99CBA8810C015730ABE2081C01CB892A5F26D0899847FA0DAF56FF04E116 B03F302E8D138A2E727157D7FE4364F693A8488FEAB814C00203FA72AB914D87 12D079C92842A9FD3759391777361D675D6BC9D911F477F41216967ABD7F591C F63EA04481A61B6DC8D11E9853AEAA8012FE6CBF13C2185E5D6D2A796AD882A7 503943A505B02038DB070CEB2D59480F4248C3BFF65ADE48113484764311AC51 2C018DEE837DF268371439CA344228D94F2322FEA97F2BB2FD73818D489707AF E16E79B609B19FEA484675F2B8C7026F270EBA7E8AC7669D9EF9E61FA75C1E22 495517067823D80D0CE1208E9C6C730847F933F0ECF5400A174FB2E76269E0E5 516EB75A58084939B1D321159D8A90E44809D2788AA230C104E7DB9484261596 8537AFC4A57ECC8558FB5E63B1A3450E4BA3FBDC5A167EF9698D5CB371ED92E5 B5CF11AEFA7FFF88C951783874FB12AD95A8B9A43572A7FCF6D4AB33D7901199 19FE315F1F7432C801B2F6FEF931D0E534372F3526201CB6DCE7A4C20BEE1901 835E99FC975CF6DEB1C80C60BA2F15C9BCCE1C178A68DCEB88C41CD242D8A527 062B30CCD27FC76F0DE50CA284BA1F1B9485CEF026D50ACCD1B56E4B0E305A60 7A9699996C49C79FB36CD32EE0C8D622A580CEC00C86C077CC2CDA19E1330CE4 A16373501F35BED431B0BD788E47A8ECDB629E99364D295720965CA87D2F0CDE 97B2504142CA7F396692F1A0F3AB8BB024F37B08547612F0AB6A9CA3E9F6E953 96C74305152F51B0832B3BBA145D1C902FFB6F39C288F6DE4BE4361995E03AE8 A8054A308553B5 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMR7 %!PS-AdobeFont-1.0: CMR7 003.002 %%Title: CMR7 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMR7. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMR7 known{/CMR7 findfont dup/UniqueID known{dup /UniqueID get 5000790 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMR7 def /FontBBox {-27 -250 1122 750 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMR7.) readonly def /FullName (CMR7) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle 0 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 49 /one put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3DD325E55798292D7BD972BD75FA 0E079529AF9C82DF72F64195C9C210DCE34528F540DA1FFD7BEBB9B40787BA93 51BBFB7CFC5F9152D1E5BB0AD8D016C6CFA4EB41B3C51D091C2D5440E67CFD71 7C56816B03B901BF4A25A07175380E50A213F877C44778B3C5AADBCC86D6E551 E6AF364B0BFCAAD22D8D558C5C81A7D425A1629DD5182206742D1D082A12F078 0FD4F5F6D3129FCFFF1F4A912B0A7DEC8D33A57B5AE0328EF9D57ADDAC543273 C01924195A181D03F5054A93B71E5065F8D92FE23794D2DB981ABA2ACC9A23A5 3E152596AF52983541F86D859FC064A0E3D5FC6647C3CAB83AD4F31DDA35019C CDB9E3DD3FEBD4C2B36BA3CF6E6C7DA85E25D8A31A9BAD39BDF31FD0D1790707 9DE6A078E8A409D8295F642DF492AC4F86AC84383B0F4C6BAA7C22AD5A898A71 D6CB34D2CD12266C486B75E75A69C14819DD9BB8159088E04D4717E576B8482D BDA52110AC8B8A80E4E9D58F470EEBD3CF44A1E1EE8DA318FFF3611B02534FC9 F4018C7C57E80570D2F634D98BE5D5EC6D95051157F0EA94A3D12BE0B4B79939 F82F8D73136D3337C44E314B0B16CB030D9A12E01FB667105F334C3EE965E5A3 D410D2F1531547A4497C355AEEB295CD3C5334BEE5232992960B757594B89F3E 52095042DBE6B4DA3C3AD50CA95EA9EBADA10630B500CF1FCCA7D60306743681 7E428D33B7F7C40B425CD58E4CD8AB474BCE6A307BC6C6EBC15A8A96E0E2977E A33389154536F5C5D8CF036D07F24094E779E5ACBE5502C92892F10F4C6DB627 C7EC4C7BF20B39418A8A85D7FD9B0EAAFD871DDD41F93BDE5FE619AFB8711824 DE890E62C1969A6FE28DD3578AF43D58A728FAFF0B9FAA640962C8F35A26F76C 67F3548D6DB54A25CEB368B47F97EA2B0C4D7C0E7894A4F0C823C6C1922CF9DC 10E05600556F1C7C9AFB33A2DB6F8730F70D6BF94B1FB0887451F2FFEEF3584F DFADCFA9A2D4846B8F0E51620E1327D994CDF973B837D10C90FF76DE22B47CD5 EE3183898D156861AB4DFAD34A1E3FA260B8164E6680BF58413A553E88F6100B C4F4E8E972C81A5F88A7DBCDC308B4C3581BCDE13877B976B1F84330839FE5CF C78551620EB803DF94A5C921F8EE24F7EF8FC4C3E1653514212631F54F90E3DC E9EAF96E998F340C4F729ECF7AB430FDB7C0BE3DF2C0D23015820E28B743CAD7 7F0AE95413C3EEABBC69E852F53EE1DC260D7F1E712BECEF2F18437DB23D8E74 2902AAFBC733AC5BAA452DD6F3671859AD836C8564E99CDC4183D8495AFD99D6 1F0D65B6588CE7546717911E25BDCA6C2649E3A7466A3E2DA7C7994A30AB4449 672EFD00632EFA8629C1AFB7D53D801028F77C864869FE636213A69173003EA6 BE1ABA95EB07B13D1594BEFCC95ECB0A9CFA9892EE0677D6B6C250855762B7A7 8E4E022640F93169DFA0303A0D5E73BF3E0F4D4AAD10FD7E4EB20532BA30371F E9F480F9513432946F9828AFB5D4AEAFA5829B2CB544E5EB634C4537EF7DF08A A1CFD94A52DCF0E7CE4C5EFFB01E6D50558B75DB4C8D5512B06080F27BE62E01 2EEA6A0357441401458C842D3DD4C35B8F561D816B336216CE0C14BF77648AF5 E33912CF95872A1E1AB9A18980A0B29A881D13397C15E1CBA5D3E0B27943EBE2 F3003D15EB446BCFC1C231832475D5B7AA19E4CFDE119D6CD62D053C6D29C333 5F729791D17B3F7108074EEF4D1BD101CB33E01004532CB0D716D2E54D169C6E 80163E70C0E9081F31A1ECBAE079D2A518B790B0CB2CD03DFD034A0F4788E800 B0CD2DC1FAFDD487C2F381EBAB2A2F3F3AF82021B211DC9CD2FBA6A1BB3D4AEA 4C7F3D9A5C21DFF284CCB827D205A69638E98D5DD8E36AFC1A4481B5CB2A2E8F D6C838DA6F81990F5ED928DC7457501B5C979FF4CD20A830896A460C5DB13D56 A3B2B5D9B292374A9BF392894DD99FCD6A1E655AB395E839F074D1596488700C 4E2891C8AEEF66568E82A8B826F9A28FF84D4D9BDA21F638EAF96880B4EBE0D8 081982F34831A03BEE81FC177700C2360D2A48915EC40D5FE85B400E175D5AF1 067FA0097904FB647757BB44B4042D30D1557BD0F7922D731142FD682139CEB7 58CA4C8C240A0B86B1888CACC507E24E04020BF1882BD9B4CAECFA97DB24D7F5 AD64C69454027F198BA35881B94EE9159A2D73E450C3BDAED66B886D6DEBC84B 653E165176228F88993F12A170775A8D7038BDF2FE8DC1F7B98BDC02D1E6686E 9B834F6C0AD90780B17DFE25F0A4E470CBA84E73F2D22BEE09A040F14CFA2C14 0FDA5A5149B5FAFFE49F55EEFC43831BC43A8326FEE9C7F469C0FC3B000884FA 41DA7318EB57262CB96FC4EC7F16CA07FE1C3BE8C2DBC8A8135953D6DDF20BDF 75A2B6D26074FCE752BD32FB9F5CA797775E8DB9BB9786B469A3CD65A0D9DDDA C2A166E454A94860EEF5B5C12172DDFC576A03F6E6F8A735FF21A3E9CCB4CAA1 3064893487697986A42CB5888B2B0A79FA3C74E8187BDDF7BEAB884B70B8D4AA AC6615745AEB906E08BF831CFDE222F58D02B428D55E9D5A3CDE74E42D8A2CB7 E1A3A9439B678AD438793ABBEB72B21C58981DAF3EDCE4BB93D95F4A1E943BBC B3A012DE92FED4F232A3A7D60CE60B605151F9C7C18A5C653E5D6D15E5B49A63 73E7A339504D0ACC74B8B116EA88C3EBA2CC631AAB29F761E5F062966AD2FD28 7FFE52FA8A115DBE23E471094FFB3CBAFBDF11B7E9058313F2D069B2CE98A962 64645738F02A31E2F2AC11628724034ADBCEE012721EBF0A567893411F950410 B20754A7510D041FFA6144AC9CC46D846B82581F20BBD001D34D9764010824BE 61C30D05E5C5D100A24F1917F01799CF5BC4E50FCECFEA732CB50196825F0E08 8A1EC868C6D4357857EE2957E081A0E4372E31A8ABEF23C3F2EA0FEE57DE4D08 61C570175C41AA0C7A3A579ADF593F18B4AE3782D2552E4E0759C32E059EE741 2D8191E381731769F6648B3581CAF11DAE46471896666F18F02918B0860BDA3C BD5DE777672447C23C62ACFC2611ED5239D6A266FDA6031EBC5A530C1A2FF7A6 B4380B9A4C877267854AD1F1677CB5433F28894ADF93D39EAB94541A8D232E08 22D082D0951A60F62B87DC028714EC74133A4D65F7D0D1296C0E189C4A42AA98 28E8AE7ECBB9FC8DFABCC6EEB1E9FB06227F90808EF31331CCC5D4C9A6182181 047902DC9FD0444FB94B60FC74F3B677758088CE6A159D940C5CF682335E756A 8BACF06AD7225D49B0002392C889B0FE2C71311D2596F4903D12FA20BA2FFE25 A0804B4BC282929BE31E0F46B34532CB5795A65218CFAE21F390792DA67775C7 B91A2BF4C16DE4F6551DAE3A5827F616BE9040EE6B1008DA2F99A01EF66D697A 6CD1A44E0A15D1F39EA8025E886A68A1E9C334327C7703EE721E497CA924AC90 7723106D913C5ED4BA4FC743CEA8D0F5172526107DA65775C0B1B77179D336C2 9B09B608D80B1A1E87CA1A84A833A00D980D919BFF56F6390E9D5B45E9935CF5 E69D003564462F750F7DCE02DC23CC215A0696B74D8BD3156A392A94F557655E 00BFAA035647568ED66157FACC585E411F7F428569C147DC43F6E4FDE693D0F3 9917BEFEDF61FB980B85515FF6424824E2D995B05CA1E5D3E8BD8D3281DB7CE4 E54923E84058FFC0A8A2C491327D0F87CE4C352B724167CEE224DABA3B95757E 4A419594BE4F92E78BA6D35D4C93D31ECC3134B24A45DC32445725BB044F09A3 AA8C31EFC0A2944ACE2F2CE054CF24DB350FB3C71115518C24BDC0F7E54250AF 9D3378D38480E1CB9029F31570C619A28F065CA4FED5665EDB96712ABEB33B9B 4232C00C1B0215F08D53F7E430887035AC25BEAF06942FD1B6C442253C887AB7 D694C1A6115C8990B4CAF1E81DD1FDDD6B03C00055BE956BE7FD8A4E1049AE69 EDA8593CBA8C4A41E046C689FBBF9F1B64E5856A7FB1C61EC815A56DE2A8ED33 41F370B8203D4E5B19C63AE9E6E0D26F4F3814B5AF48AD30EC9B8402C941FDD9 722FCAFC638FBB835F83DC77F93D367266FA7DFFFCB567EF82B1695AB4D94D09 B18AC041811027229DF431F5CB2BBF6ACCE9D500C8F075A74590641C1A607C56 D2B8624797BCD9C91C3177818691FBB4744EDB6056464A0B95B8D63F7C22309B 82D6126E2057BCC9FE5566D96B7A9B201A09B0D3252A5494C8CA2C8BA8A13C29 37EF2A882D61DA708C279F663D88A8E2999A0F3B6F98C49901A7631BF7708B67 54D0B4C52BF4BE0DA0439E6763A7C9D639AD4092E77B13D3510DAE1475C978AC 796F9B2AAD3BFF35C5A3E19B5E2BF704B3BBDF68CE48BA4FA2496D60E58888EA 28AE12D00E9F0816FAC190590A865BB58569A91BF0345D01230ABA361442006D BA2C90EC2036BBAB79EBAFC3F217DBD5854C519235F9627A1C3C71D21ED38AEF 0BB40F3B86BB9F09A3F309473D8757AB7E638DC1C59A7F9BCD49DE4107A2E54F 422767FB94048987847205584309397F554744690ACFFDF5902FE5DB355930B8 71863217830DD7A563B0B3A4025ACE75B0E777B4414B62A13B50C54E0E6D47E9 D43BF769B9411B74E1069BF71BA873B4B8973EC9BA492A5DEA58D267872BB246 10AA67B143D0E2223FFB4991E583E629413CC894C3FA4869B72D19CE1A0CEC8C 0FF5E5A3EC1FCB7D3C4289813F0D249A11B55104BD60B2A89BEF44CC77CCDA9A 065B8B83B4F4253AA1D535290DCFAA4773452D110D2B3370F9E2FE5432B54A9E 644EB3BA9BFF62347F376839024CD5EF3C5DFD30F412DD5474B7933E6A1AB63B 4B12F2417C72D0543C26A263AEA53E5BAEBD67E23553A72E949DEC556BEB5D09 C4D7A89B14FE4EC68D0E3E9D65A64B285E53590F418EDA8175113CA375A29930 DDCF4C71ABB26CEB800C2C2B253AC1F53651C88A56ABE5A74F3B54CB4FFDDB92 60AD7272BA25EC2F6FB759AA6E1E7964FB55AD09F4EB25DE45FD01833947BD05 6266AA8ABB7DD792941C7A070FCF3A4636FBF8921C70298D42FE92F079DBA2AD 6149D9CF9EF7264DE6DFCD4429949B15EA90B596340713BD61926DDB2BB23BE8 F9DE38A31620A817420A245946E551463960A8C5C7295E3B3D6A59BCDF5E472A 40B7A2CDDAA43CD8AAFC411D037142579D11054A903E102DF0D0C7B5BB854DBA F3F086AF991F7F5D5C730F8F9AF213F25786F3EC0E54530FF912F4876FDE16B6 A07D0DC4FC46EC6363BCB68B83ACC448B801EC43FDD2F8BE0E93D809FF81E38E 176AE17C67C85FEA58EC95435434C49A950AA955D8B20989C550AB1F1C31B7FF 99422E1F48FB7D6F327C6DBC4695A03903DB275B94CB39386E46579271870A25 21823E75C377E9D5B46655E8CD8F986372CF8BA846423E26582315A9D19E0BF5 305C32B2A0EAC3ECB275B1D8BE11A37ADF524944219D94EA2C5DBDA768828B6D 775DA8CDB09E0570E4ADDF462EFD8D3FA3F86B1DEECDFFB699AF6507257C1879 16FC615868C2D51F03CD57BA38D42995D9164B257441210084DC409B6EE4C119 0B2E17B0A8D5326DD0010E4A325D5F77BF935693BC90A00A28C7B5F74817DA39 F47A41E32F4F92AA04D30D810F7B1484EB53AD8CFC8CE8928B570314E0F713F8 AF127227190F9C16BB73D2A217FF801C391A29095DA5E4974D137A0CAA7DE702 E20DD4755B1D78739756A5E7EC3542B96AD6844199FFA2F5F2E9C64E2DA4FB2A ED79869F745C59D235438251BC2E6D26112AAED20E06021D1AB896EE1F1DD2EB 437FBD4A25E42245C5A647493FCC9922E6DD7AF57D5D482921D1CBD6F0F02949 C27777144751C1E72F4EE2BC343D4AE7A8A8758123B54FB1A026144C643651EF 0907A376945E19A8FC7F98A034832A5820A481B0823F980F59623E0511593FEA BDE6EFBCC0383242CBD4954027B075B21F10472059A480D6E5ED01C3B07461CE 9810251A5C5643EC7403130C2246E8616CEA25EAC7A0076731FEA8CC43BCE3BE 933FCE61067F5FD402E67E2B9DAD954AA77C5BC86BC5E4BCE2ED676D8D8EC7D0 ABC5C86D82180B9D5D7451C71B5149B6B67883578DE9909317928C0A92E3205E F23015400A1763A6FBF67FDE3318AD2696685A1832FC31CF38589EBC7CA1C818 60D2B2211E04EFCCEA88D9A9082E82951EEB123924A267CB03C48889032F2892 4227E217FA28F87E01CBF27BF1EA60641A4238258CB7AA355908FE36D90F5CAD FE992D03A33E47CA9AEBEFDA57793F39DC6A9E85D5B289F6B862B35DBCF82E43 5CD6A862F6FFAC36478C384C3BDB0148CB1FEDF55969C776E77917635B5A65EB F2AD351D21CD3822D43289FE8EB0FED58182997097C7E9F4373553AE1CA92083 EDE3BBE6C3BC7009D15AB5FEC6A59E9FD1BCC7B2099CA15FEF083B9CBF7B890E CDDDE6BA0AFF306C76500C945DC91BD533FF9A585CEEDEF79238C54E6168001E 26FEB29E523EE501BFA4F60B782B1499B07084C35A2434B4D29D3D8E2C8F945F A9922443B68D07DF7EAA1F4CDEFFC438B597D8943E231B5216808A85F30EDC81 9DF5DD22F54A45335B4C2203887475F39D247F0E7347BACFEAF220ED82F9263A 6488E73C1910023E505FDEB143006C1A351D441AC57F9D52D2C6D63D78C75605 999885676BBBAD56074298E0BFDACBA1830BA58E87F436CC670EE8EB1870154D 72DDBBF3794F8CAAA3F1E11DE29752DD99EAC695838A19BB67A1FA3829B6E0BC 5301610A0351AAA749F456AE31ADD87D6ABADCDD1FB3CE81C3713F48780DF407 530CB284B2AC709F52EE7AD647DEF9FA4D2A867CCEF728F3D40CF34C28D21527 10160B3DAFB5FE16AFC9D36C6EC4021FC189005862082BEA60AC72B63AD27D72 FAF3C2D89DA2648FC4C65104A069212D87144E8533CD86A6D73DC7CD9DBA25CE 7DA53B000266F3871B24663C77723703315C5E4A89DFCDBAB384AE7EB2F455AE AB191FED406F7F6EC9E5B8276EF5C4CBA041AC7E8BCEC7CAE840154BDCA3232F 15711ABD1E867A434E9787CA0A6D1F197597DA27ED2402CB2D84ED082E8D3A39 81E6EB270DCA4E7A90E2BEBD3CBB3A2BE3CAB926192D7292CC16845B6399A543 BCFD224BB52F21352732DB5154FA3442733066CDC3E186D8AA97CD801DFBE43A 116C86889BE198DA88CA978B8C40ACB67E8F7BA499DE68A6FF0DC72C3D00BA1A B378B39610F15CA026F95ED8155CE3FFFFA2E2FEB352DBE14CEE1669F2387B70 55B91185FBBED764266215D518716EDA3DFC9E5DB6B148A553E75AE5E38E1CFC 6EF47B314D54CF24BC13856F4F7C976BB91D143DE32FF49BFFC87E17885A1893 BA1B8E441B08EFC04F7D103C1FFBB665194B3D0920473740C55FB1C50EBCF717 A2359B687FCEAD65616EE89A68F8D91AFACAA0B238EE4AF0279AF5BE5294C3DE A7E1F5E6248C0210E7D40683F04B12A933C746ECB517CF94BBCC6E4CF49AC715 D8005AFECBDFB7A6B417DB8A28F8E9EAF39CEC1CA64DF37A5E66A76C26F721F8 A63B003A040A62F87DCF61B298F960D510BEFA453F118E59E7DE8CA3DD002EF0 127EAF733D5C61B5132348D280F84D159809CC71A3C6F7373BBFD8D6EF715D34 0016DEFF14AA5F960BF1BB9AC304A1823722843547BB4CA5EA4C41C6C2701C8F 7BDC810443F9DF34BA469A3260009B799871BAF8523C8763544DCD0B382D44C5 F75046AFF85F0B5A3188C2EE786CEEE5496A5AF4BCB0B429CAFC403FB983EFE3 61FD9F52ADFC38E07A0FD7BACBA530D2E4DAB2592AA9564843E7E2305047F060 C5FE4243FA8FDF1B5D4F61ACA7850A604FBC6D6970959752695C90F78961B4E2 C8CFA41082B1A37405AABCEE5BA3DC2B9EA76F486117B84728EC6D8AE6379CCB 402C2AA89078EC992C00D53151E9D82C65643F549A572A20F05107A41BE5AC57 8EDE92AE20B05E2D0C98151CC92D5389A675DFE39DF546A33A84A4C534337ADE B17C34E09145B37CE1EB1D10D42CC8D6E6B127A3809F7202381FDB88D42084CD 0AEAEB8A8288CB56870EA2BE9D0B9DC8291021CA561E2BA388DA3494E433E0EE 5E69DA51D0AC505C9F71562D3E9750F23CF14D2C8ECF0692FBBCB4A92B48B4B0 AA2163A447D5FBE86D961AE4D4251149F11C4BC269E10B48E8C42DC2484EDE87 6540CB8A5EA2494148D09CC9D5014EB73C29368A3945AAA1BA4C17BF640D2A0D 414293480FD600A77D37471828C4645C5A4AC4729F4EA76FC946810B4968EB0A 719D8F3E61D2B740AE9A33E9F02982A13ED4B6ED0C6C4A93A9E9EC045D0CDADF DC01ABAD0BD95692907C04F06F06F1BF6259C8E71099FB64B4FE263D06C5854B 070C8B864D8ACA6EBF440DE14DA34A2A548C9F1557C70A4D718F4F881707851A 6DCC39BD8791D806F5DE551CDF8612C7EE6707D554CD826CF352CA634FCFAFC7 232F32B3F0EE3D2577915BEB212005E06625FFC9F49383C9C64F51B6541F6AC6 12D2359547103898D05E52CE54B46835 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMBX12 %!PS-AdobeFont-1.0: CMBX12 003.002 %%Title: CMBX12 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMBX12. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMBX12 known{/CMBX12 findfont dup/UniqueID known{dup /UniqueID get 5000769 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMBX12 def /FontBBox {-53 -251 1139 750 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMBX12.) readonly def /FullName (CMBX12) readonly def /FamilyName (Computer Modern) readonly def /Weight (Bold) readonly def /ItalicAngle 0 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 12 /fi put dup 39 /quoteright put dup 40 /parenleft put dup 45 /hyphen put dup 46 /period put dup 48 /zero put dup 49 /one put dup 50 /two put dup 51 /three put dup 52 /four put dup 53 /five put dup 54 /six put dup 55 /seven put dup 56 /eight put dup 57 /nine put dup 58 /colon put dup 65 /A put dup 66 /B put dup 67 /C put dup 68 /D put dup 69 /E put dup 70 /F put dup 71 /G put dup 72 /H put dup 73 /I put dup 74 /J put dup 75 /K put dup 76 /L put dup 77 /M put dup 78 /N put dup 79 /O put dup 80 /P put dup 82 /R put dup 83 /S put dup 84 /T put dup 85 /U put dup 86 /V put dup 87 /W put dup 88 /X put dup 89 /Y put dup 96 /quoteleft put dup 97 /a put dup 98 /b put dup 99 /c put dup 100 /d put dup 101 /e put dup 102 /f put dup 103 /g put dup 104 /h put dup 105 /i put dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put dup 111 /o put dup 112 /p put dup 113 /q put dup 114 /r put dup 115 /s put dup 116 /t put dup 117 /u put dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put dup 122 /z put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3DD325E55798292D7BD972BD75FA 0E079529AF9C82DF72F64195C9C210DCE34528F540DA1FFD7BEBB9B40787BA93 51BBFB7CFC5F9152D1E5BB0AD8D016C6CFA4EB41B3C51D091C2D5440E67CFD71 7C56816B03B901BF4A25A07175380E50A213F877C44778B3C5AADBCC86D6E551 E6AF364B0BFCAAD22D8D558C5C81A7D425A1629DD5182206742D1D082A12F078 0FD4F5F6D3129FCFFF1F4A912B0A7DEC8D33A57B5AE0328EF9D57ADDAC543273 C01924195A181D03F5054A93B71E5065F8D92FE23794D2D43A151FEE81296FBE 0CF37DF6A338C826464BA5198991445EC4BE80971DB687336AE8F74B516E333D 2D8AB74D362C559AAE6ACFAE49AEEF4F52E28C869222C1301D041E7A0BC1B608 1BF728EF9E98F3A12EB2714E7F16B14E055FE1FA0EEFB058860ACADEDA9D0E4C 42E3C6F1E4869471BFAA3760175F3FBD842755A9D7847EBF605F18293B42F557 FBE2715002669091BB033E1AAD657532F34F7C66E4F04D63ABB07E6CB9D9AEAE 78EDE8B79DD9BC87A1FF445EAA05B5572BB880E69F4DE1F82D7F0E9980AB0C18 22C448B0B1722D3CC33C56FF287CECB80658B3AF5E7675BE82CEFF3DAD5942EE A03C955FF979E41E54BCFB5316A9AB8945C403A73180D0961416EC9C92F49811 4B91BC4C788392994587517718521E416D469F69952149FF7F9224377EBA1065 4A727BF806A112A7B45B0A1BA1D5A23683960575368D9EAC8C04753BF7465AF7 95F25C258C63E4FDFFD0B412FD381946AA38C0B961652BCEC30322C47BF4755D 9F91880688AF066E32FFB22E1A52DE741307AD3ED830D6BAA1D1F562919666DC 5E8FD9862AC8600B0AE0BC7FC779252AAC57248744ACC8A8AAFA836BCF09B0DF 9253DFBB1CB77EA8A59D42D1B18FF25E9AED72FA62FEC3F126F030F5D7DED9C3 CF60FE890BA4A48E39E687BFFAEAB96AE542A6387F6624486037C8924002A511 BEE5FBFD780AC1D4BEC3FBC47A930BAD0280D444259528B6C565DE11DE36BB65 9BADC55C1EDA1A80458E98896D782DFB5C137897419602809F9BF8CA39F00C68 EFB9E076FB324C2963F23CBFED28B9EF70EAA4E4B903225D1F199A7162AB239A D92D71C18B1B682D04C6A48926275BCB16D413B2A0E953E1257E0B12D8B717CE 2EC84CFBC046A4338A69F454A469B12118E562B4F56C5FFB3CA5D357513E6FFE 947A564B229C7FD873057D5C7CDF03E958294A1003B37D8DF565A70A00A3734B 0138AE5277D383D10C2BD853EF806D3CCDC47739F0E374A3DF3B63638B949ED6 4EC25869DC1C0B1F4DBDFFCC97382841D8F10F3635C792139A1EC462FDBA379C BE0990CA2E70FE73137AFBBF30CA54954D7E7377CC50BDD780DDD4C7FDC77AD2 F3EB1169F14A0041F18160F43C24FAF556DB5D621709FBC544CE55424F7446D4 6AC07A51C8CD5161AB0AD5084A96FB35D77F1CA155147DEF8D7A590EA6939514 D4A226588295CE0007BA8A550895511C8D80BBE5CDFB8A50D249C3BDCA974415 F5557914A9B805782F399E4078DDB6264F1A49A9A5BA45E284A5196E9828EBA8 481D357B8D9E6ECA631A6204439FDFACE7D7E6A2392726107CB7D2517CD19A24 FBE592C119626DB221BBB635B6EB84845C16A9585282E34958B961F4A543AF9D 419B6A9105BF185FC767712D923437BE08A9C0EB92AB6792DBDC671029B6FCA6 7F717FCE379C0F3B51C6CF042A762ED04898FBB4B0105C3C4ADDDC18C51BAA3B 70A93666669547081D9246732CFF74C83EE90DA17F5B4F8BAF47FE4D81590988 2858C9B96071341FA0A0D23BDD4947FC9BC2297913CFBD4FD6CA4303AB3179AE 0203F1BD502065F90CE9BEA3B52DAFE4A29446082EA0E6B1D7AF1F31D0AD02CC 9A7FACE2CA86E5FE0F6A425B28A5940ECA306891CECDB3CFC7A5BBC76B5D9E8A C754379ADE80B4D72CE493010317BF21A0CF4A0A55C1246218839DCA3F4D626D 1F4161D38F54AD5142C1CEE95C61D8BB10FAD4B772F4955777AFDE8AE5A837C2 A2BBB11D0BF5DA2E63D0B75ED421DBA9C789B281B01846B65DC572BA69591969 21265DB722AE86BD8CAA3D887C975A617ACEDDFB7AAB341F47532AC0F354A530 7662C089DA3939588774FFA16FC4A52555DED6D6F51DE718BF5F345C23C90198 17B77CB8B5D53A5CE7A79F3E286B6A59F3F6178AC8BF15C0A15C1A8A95D03B60 30EBE53DE328CE085CD9A1D49C69AA299C5B58B24334A546F6E274C1B534DC8F 3289553F560C2F81E413ADB92FA0E7DD1C2F39D5FD268EBA97AB7335ECF28257 96B4EADB7D0778706CB41C7E9C882760E7670936774A1088FFB2011115FDADB3 B69EBD5108760762521C25C968C3E282DC3400001AC8FB1EA27FF643E3025950 1D617BB8BB321281708E496277E11DD3AE0023DA9F25AD06B39C7CF527FED27B 57397E88D3DF70EE4FCCEFC8A0927D6B05517E571B3E70ECC99F3CBA32CCD4DE B8BF22626B6C94FE65598A88AB90D238461EBD9A098DADEA4091AF1CDD7560EC 8E1B9BC2321686E1759E6B8A270C8CB4A254F7368039602EAEAB86ED21CDED91 8F2DB9889F46981C494C7EAF5E819B91C129F0740B8002B510014985E5791F59 B16879CC6521D8E9F1C4C1890AC85A78022BE614BEFF318AB2616F0C3F02405E BB425D1555472A2642BA7686E431DC3FB8A1688B76660D9957C3FDE8D58109AC 21B1234C9DDF3F0FAF93BCF7B2F88A001F23162E1A13E5E9118D51B485B70A91 D0CBC39CF44413FD8686D9030782DAB58064F5B987E0402AF5B264B17BD31BD4 FDF63951BECD73ACA6138854EF35B062D01F33073850D9C09A818828C581241F A625AB3638081DD0F00F946BE5450D38489CECEA4E66B4D85CC8AE0157E2AEE4 A22A9313829F24D573101D84CC1784D1CED7DFAD5DD966601370C6CCBB723082 A86BBAF0A5D867D0D2E3CA16E14E5109A29EF02649C47E12E88B3B397D65CACA DEB9940B92100744D686066F8250FF30E5F13D81428EE238A2E4E07ACE0F5C38 7D79D4A336D0D26AF9C2B84088ED8ECDF94A1E3FADB45AFDAB46CAD6FF950B0F 07AA2CDF82374DA76C56D29C80138841EB13F0D02ADD32F88B23E282ECC845F9 BB9AAECE9CDC644AC2D49577A92307A83A99434F6493156DF25DBF0FCF2EC21E 8C50A312C3D19E0609C0038554CF4FEF3ACEB7A833FD54B06EF0D617C2971C89 E4C06075B09B84A4F78A82152B9A9C540B1D881313C2C74F20ED064A9606EC2C B56D7BB4797F1EEF4A9B13579CCF311FA4A4DFA62D80FDB7F535CC6526D1AAE5 45C008EAF024B48C377522F74D939A475970533E645B1BFA81997549AFF26F67 2AAE6C2EFA357DB3B525276EF330905688777057F4E4CBF584520A534A8587E5 5A8360891E75A15205E8ADAC4A4E5A6E27D0C4A7D492216E4BC023AB027F37AF A8DC7579BA50204D5F45A51460C5BD8A5A7F87668CA6451137F2F59E117BBE28 5C40820882A5546FA76F0CF49F8A6EC445F0647CC3227C400F56E7E9B84A6975 E85E243CC1666DBAFF4E07EEAF3AF71BDACB30DAEA792F2B8504CAB071544F01 5D66243D529C479D276FE22F7E275D9E7FA9C6EECA18716B2F213916E32C1D94 6E32397B41AC6779543218E506569E3544803BBF9B404A983EBA62A494187B30 8D3DFA4E1237A2E5E08224A60492C09ADAD8775B7CDB830520829BA164209ACB BCDEB2D574CEBFB7AE4BE72DF4EB1945FEF2458761AD8DCC0D378AEB7DA002C6 9C14A665DAAA532B0ABA98D7BFB5A6151FF6703385AF7AE8FD315A492FCCDBCB B825707F9566B3B4943A3C61C3DEFDC31A843A2D67AB06891F3E110DD8C73D3B B5E4151B51D9F13905D7D94DB9ABBFCAF35F43B6EEE256B1A80ED6D1739D8D5E 8C767F6F0E8704C5345D028A2A6DAFD9BB7AA048B8B895FE9423A7ACE858BADD 595CB074A128DAFE08FDFFD6BDAC0114159A702FDCBF8013804B0CAEAD7AF38E FAF086A3248AD4FCA1401A85AE2F72E3E6956DC0996FE8ADB18F89B14A208A15 13F81AF73D0DB72F78C4DA634ADE3C73756CAE6AF2E149C26316DFD93370BE1A FB4A79F77A67C07CB0A53C78367F21661D4AFE9E27328E077B522B50FD9AE2E3 DA087BE481515B5DD7BF894A96A84A6C78874100505B7DDE1D22EFCE8D58B3AB 313AB5495F72E2CA4E6AE22C0CB854302B9990372F1661D9F0A517F90686F248 C5643008B3D29F7296E5C8FD4049886662EFDD4106E17C879F5D41CE84F87E89 F6A3117C968B95A35940CC29C43E1E0DEF51C1E46B676301F40D59615C3F73DD DE37B72FF7105DB84227DA5241583272AB1C3CD97AE11C1EE98FFDB5E5F44844 8FC41BEA5C54B26341AFF6830D9D0A5A2901B0653D8BD0746838194D240FF753 E99750D3383373F453723D86BE97B571B8B84D8696089B5CFDD53E6C562A2197 A8C4FB0CC690C27761A816B441029D3D306245052E0C41B53025D8CB7267CFE3 C17FDFE348E765326F91AEB700CC49162DF748171214252CBC821493DD01AA20 417D66DF47EBEFFF3E9BB2B0A2BE7D9B8C68BD570FC2EB0FA54CECC318F04C43 19598BDE93F2F13DC7847354C99059AB20593EE51E94F9D4E9241869D605AAF4 9D9B5FD88C3798A039A67993C5EC68B6326B132E647F67EACCA7F7AE7F718D85 12666E90D7C73EF210E344964A38228B236679A2B18F5E081234CAA2458F8D83 3F0CA308D19663CB12EB904076EF88E556407C33C9380A6A3D68A9EFE65387C1 A1BCD2D26DFD2AC0881EC30E81C0A4E76C244A2BD822EE88C4A60B480D107E68 90E419A1F512E865BA922A7830909BC2611A80931CB2E9344529586726614D94 3AC5200FB9FF68AD9686506C5EFA8788C0AD0251AFE7F95E84683380CDB421C5 B1A783B6D5F3A6BD1BC1C14B363DB01C87C0796DCDD5BECF41A1A9F43183CF6B 82C2AE49F0BFDC5DEF7729F2E638EE6EA9E4D059EB9BB1B992AD8C82D501A550 1BF73CBBFE740179B54E193E84A55DCD61B343C1852780FFB44248FC9426AC94 AA2B3FE20FBA30F6C4D1E0FF3EDCDD8C0F57CCB50CDB0EFE2E04A8927E239C1D 9B026C7929BB48461D4D695FFC766C8A0E545B1BCC2AA068D1865333108E7985 2D93F9B00EA0A90939D0D3840D59B6CC0CE2C147B2E1A9A4F14270FE3ACF51D5 99F7349106165AD627CBBB0ABA01ECC6D3A14C1DC1ED23A9DB9865BB4396C51A 31ECD001EAC94B33C34E29C5611148EF3E55DD61813470B8F3CE32564C749414 3C93C77EA5A3538A0B5AE3FC4DA32813B06772E0E48E25BB39F3F6FDCC077E86 F86FA50E18FD19EB2F37311CE87F18F3BC85CE7FD71CA92D5C3264E34E04A2E5 70C79D99F54D6C6D9D527AE45EBB48411221134587D2253E7C8ED7658EDCA34E 5E768DD14E0200470F73C44D006CE8CB35DE1CA3EC10ADC668B0662A7774C891 84EC95A31DD872F0728D9F65CA80940080E04630BE4DEC77A2C49E3913C39978 BF145F8832AF2C4385EBCDB15F9D32C22CBA0CF950877717D6F1591D7C0B8047 8C9BFCB16AF7124ED83137695F3D69228DB633053208C29E0ABA1B06A7FB3EE7 5625CB44927E2DA6E038A6E62DEBDA2D96A03177982D8FA33BAAF4426E05F4B7 9C1748B3FF7691F9888E7FF864A10B9DF761A41E6B5CFAD2BDD7E1C4924AC97B F4B352705316DD1A58637CC12D71C18A5CA691AB2AA8F171590EC24582B1123E 94D4DC587D8F99E18A711776BF4013C96446BFECFEE4C809EA94B169088024DE 0CBD20199A915AA406F0BD5F3D63D1467C49B4691AEBBB35ED6624F2D7BB74BC E80FD92B9FD04DD9C2BE9B6FD29EC7EC07FAB447511C61DD299C783BC09AE2A4 7B3CBCA6A20C6631D06D0B2E2482A50612BB7C29B7E7D0A205EB0E8436702581 596BC996ABD58CD8D5BAAE4B1478195CAFF98FE0141287296C4EFB8D2E7A8442 F0A3AA9F9264329982532295A176BA1867EF732BBAC49AF485D9D0F7130F617E 7F7DEEF935874D55A22240F8EDE4F247D5F73481373A392D40A8076BD91079E1 1CE5998BA13D48D56B49A92B4A18430E316405D2E2E391B496A1934671FF1785 AF42BA3B2D14B8E04014437FD194455C50289DFBA61B5C377BCBDADA48E82DEE 4E70EF5E9DC03064907BCB8BE4D59DE069FB0C0CB140DA54708E630767313F9F 744594AD8A499CFEF733E640A11FD74E46A749F9C7D18D49251BF85C6EB4668D 67598C31A8F90922FEAEAD4B83B6E7184567DC798E4BA1C4C9B3461A478D63CA 054F13B502DACB674EB49D6BB935E5EC82BF99FDA7D47C581AD7F940DF4FC6FA 6C6D25D647033AC69505F0CAC58DE99087F365531A6283CB89CB644688963C3B 8B2203A94294E58739EF23C7803630A1F9121D62BE1977DE2F41687C8CAF87FE CBD7AD3B98E0D95C8C6E1A7CCB0E09465AA874DC90A0F5DB2C5E7C130297FD39 EFE63B0350B5139D09E6864D22C3F1150B29196E40EEF9723E71158B7ECFB8E4 C426FEDCD439420B7F1C251FADA347C9A2C49738B5A17922E1EA93CA7B125B76 57449EAA9C1D591CAD327D0E98EF2D44D614EE9ED49DD31ACAC0B956620B6BA5 5BF6D08CA7541059D5ED2EF00AE2EE95488F5645BF6837D9241C0D3959B7580F C9ECB2BCF3E65C07D52EC9CFB21C11CD4C883E44C173214C900C44D2E1E43DD1 CE8DFE3DA93C38B548BC4EC46FF91F30CFB97525E1FD4E77686433B20BABF8D2 848C1CDF1BCF185CFD7A81D2D4BB826E837E2AF35CFC4F419F698DB0C43E9F9C B0FB628AC9A3CBE9B1FF4A067016E70333E78B32AB2D89C483834B31F5808FDB 77492E099F1504DABCA5722C7860CDCEDB2DDEB512FFCC7D287F4945FD711F28 87BC3D36173566B81FC2C1290C717A09697DAC6072408E20926D39270121CE58 3EF97CE12EDD7F87F2C8CFE36C3C0400869C0D813B71C425343EE0CDF717BDD8 409D5297D0F8F7FDEB0257C0A391F5635E0DB1116058942FF3E7C94D5F2873A7 A3B0ADAFC3835AF2BE474E6741319BC6695FB37F59AEE388F81F6E66F910000B 72E6BA7531B4378CEFEEDC79CCF4947BA1703823B5AB4F4AD73D9615C66C489D 99D68E49C9BF765B7FC547BAB9640D51D5A7A2396507AB5A4DFF3D14F52422CD 8FCFEAA06A56C6C7FFCD29C9A7A59DDD2A909A9363FE5F1E9629616D25ED38CB E754C059E4379318CC491C3B1A90128693AC53F80F8210FAEA7EE638902A7D3C 82B95B3F5AE340EC1B648DBB9FB679D6E80B7F426D8671FE7136D97F51E2D2F3 C9CE9183E4061CA40091A2A70DBB9ECBB19CE3F65ADD0FB346B54BAB182E2CD0 EAF4C0F402C25573FB344EA771B297BEB615FCD0595172E84ED2A62FF8962634 23C19076C2A9ECEED5135994EB397303A9619C76DC55E032DA83FBA441BD484A 59F70A5110A8927F6239A14D4E223E189A5462E4A92EAEFFA4B961A2A32B320F C2B4E8C1821FA67A655B5042C15E4DE1FB3652B55078DB123573C4E986B19DB0 1C5131F3DFAB271C30A5476B4A19D8FC922E31879C34BAED94C07A4841B8209C 403369FB8E842610D1EB4662B6171A4465FD0E819964F62EC5B0ADC92F08CF90 1DE0B410FFBAD16F6D355E8AD72CCF67961EDB6CDA82398021007C2D0462E893 75EB0710AE4A6CDD15077C9DEFC5774EF4A657734D703CE42174259B58E5277E 0DF26BF59AF8D1A3E7DC12E3C12AA4B67CF35B19962F6950C2020B698D971B35 82FF84E72F72FBB0C54A112BADBAE6C4CAA358BDE6A705AB59332C3850CA3D25 C7564499BC1319121CE0D93218210C68080AFF33420E3CB3A48BF9EB66BC07C8 A79D8CD8E78C200FF7CFA3DAED0B9E87E6141C88B436D8FCBA50AC195FCBB9BC 9512B95FE3A37FFAAB39850FCEBD4D50A243EA416E73F53B4B00F3B6EAE0CA06 0693AFFF8191C1AD2A5129C8A8DDDD492F8EC8B7B93CCD6D4F240785E515C128 D7AC38F14C1FF204DB89A8805F8D737644DED6E8EC6A58365DFAC56200AA22A9 8F20DE1C232DE4E818CB9D2D3330ADFD72C1B5146849142B447900FDB1DA01E5 C1BD63FB69472D782C659F7862671FEDEEAED3617266DBD34AC593EF6F483D5D AE56A502F9E66041D58C14FD6E83DEDA7DBA041726D78EFCF51152DE72B51F2B B65060004FC8F67755EBA2F10A2D3E496FA3BC3B664ED03F496AC074B7425C21 18FE971025F8553EDFEFBDA53A475B36DBAB73D08985749FD3B0F0C32108EF87 BE0C8DA94598691F774407E4D36D336BC9883D0FBB46C8D8F786780BC5EACB9A 0875E368521C0D91FEFF43DFA0932B65C1FF7776FC2AD3CC8496259C1C31048A EDBD06FD79BAEAB05CCF5B81D99CD34D142C6895FA79F354B447141CD77CD1AD 6B8D17AFDDDF80DB702053EF5123584D5A35087C2333AC821977FDACA7773288 1585539354138C1364483DFA0C2080BECEAFABCB8E08EE11F3E9944D1C58DEFC 6F558CE34B5A8F347C1E8C514E83C16328AEFE032A82125BFC780B67E76CC145 47730F5BD8E48FE4D056969AB8C0A8626C51F4FC2005B632F3D4A9CA4FE72E6A EB1ADE41797E0F0C40C159090555324BED27B2BD4A596AEBD9872C080E5C6FF9 B7D55B4077B438642E42FF7995452E4550397AE68035EFB998AC7802975F2036 953053872BF0D1B934ABB14C2B5599D5C6A902B7AAC786AAAF00B5F6BB0F2E64 90C41BA47A07EA7B9EE3809353AF34F0693DF4A26E59E0EDF64B2D39937B51F1 0C296B7EA4A89B4F53CE7E93E6E655AFB531178A44B5065C637726727C35E921 FCB88273A36FA3EB460350C78BF458E80AA32453232D833A09A7514F41BB6502 D471CCAD058B6A36B119C28ECE54D5228C691D5CA918C528001B33E4C3B4A17A 19CE2B7F329980ACFA3CB6CC1FCD5D4A3F4840849BC0CDEC274B4C71A84AC9CB 0BD8C1C693236BA06FE8F6EA7E8337FB4415DA656DA4ECD28BA015956425036A BC494A5B74E8F76AB129FA2B71EFEA6884C44E8FCFC964F9BDFA4801E26973FC 1F4F52389F3CD2228F82E19509E101256F419930690AD1215DC3F34E48C934E9 806425F749E30B102857808E7B1BB3AA9855650714C06EA417B5FC33DF856ABE 34C6BBEEB9DB95749A605B3664AC90C63B06F21BFEBD2FCE6A75B160E5D6CFB4 1B6B48EF2853F2076CED2F68E361D4034E462FB11AA0E15D0A8E433A2AB1088F 20F05F3A552B8712E244C96F2DA04464B57010B449C7EA95805C1038FCBFD8A2 689D237E55581BE23CD9EF1F9D13E76040FD1E6BCFC320B677798F350028A855 901134937B019E0D4E2FD32DC5D4699F9E66C3C0CA093C5BDAC9CE840FDAFD60 160C55CB138AEA741FB5292FE987218DD44754F74B7C92EE1BDF645CDC526F87 780D4CA33B9D6A5335D25FC5B955F2BD9F935FFA3B9E655BC968544DA61FFE65 DCCA47FBB38F58C066C306801863D75C4401E286781B5BFB46B9AF3FEB0A5C7A 59032C2299000D99D60757CB814F51E452BFF8E8DED88AD40738C378FDBA4334 5E7D80801022C5205578DBFD02E9611A3A54F53E7FD9B2C33FCD5A7BB0896D80 31828851CD36714FC9B95F7EB4DF1E7EC1F10DCBF70C393D66695EE6D9745AC7 354AC0BDA355B1DB6814C7C6445EFCA9991BEF44948DC9DF1B08AD4BC13BD0D2 3341BBDE7B4146A4BDFAAAFFFDD37AA4DBB8E953681B1EF90C34435E125742CE B56993BF44E6E2FED307136CFE1ADCAE8A1403C26F99F0CF006F2067AD2F9B62 E5ED3CB8A8A046316264120EF3D5BB963063B4A21CFE08EA529434138C17FC41 6BF263F00D1250BD031ACC14353EF04DC586C59BB855C37AFAF80DFE037FDA2D A79DB240DE1C4FA98998D959F693DAB90E40197B9ABD0D8945179F2F4CF63AF5 29B7D3AF72DD609329089662792346797E9A2FE5C8F3914F1F71881B5209E59E 3417FED153137CF72063F897610172C5BD05E7982A0545F30AF625572A0B04B9 FBD179A939980C05B0828A43EEF3F5430B0B99D5D5EB15CB8CDC18620CD19652 7C9C19E9A7093E0DC66D9625FC7D65A91269B7CD6A1A4B07B145CB014B67AD49 A6C741C236236D23C5138515C4A596C553CE126777AF24B220A3AAE84D57ACD6 D13C850FBC41D28B07137D380CF92C8D85E6242867925F58CFF49B3E7509D2D2 DC4DD03BB7E18300B43BC20B4AE1CAAFBD05BB7C6B1081F2FFBE241659E5DB6C 3FEB090594CAED174150FADF68C10BC7C1F6EF1DF02EEA9999BFC7440A0231A5 B14154A75381D045190748F8087B153F644864D985905FC0EB52B0FBB1DBC265 AF67DEFCA636B101E25296113D291595BBBE3B32FED4F17D939691B2532C9909 B7A97B663261A1649FD57863C0814B3E114E2775F1D7898CB4F7BC8B0D205FD7 C6197DE1CC8168D1CDFC29F0917039B2E57D22A8F6ED14B1B8EE221496E5FE57 70ADECFE05C45A39C508FC5A4FCA1289EAD29856F86B9BD6B4A994A889999439 B4872FB330C7C4F89BDC36B8351EB6D24284989FEC72AC7807288B888053EAE8 D19D059CC71FC0F68AF38D0E61682E0036DDB1B1E2E3552F7A9D4D4A5DA5F579 8CFBDB49D967E9FB9F57B0DBDFE9CD6791AEE8826E737AD02F5C46FCA6EDA1FB FE11B2753A7C4F237392781D0DA7FB3A0651104759BEA0F7D020D7AB7C76F50E 344F2483B7688146E4D9FD5C845E28B4D71D32DE9BD55BA9D7F5674889581650 0327D1D8210E6488CED977E519D51AAB2F3E15270829A73BB810B8A91F15140E 1B11DF4C2B6FAE1C56977523681E20A839C9096998BE76770DA34644FAC50007 B8D9A37CAEC1315E2D2A1AA47543BBE96C592FB8BBE498A10483830C70585F38 784ADE0F8FC2932392DB497039F4003845A803191DC660953024CA1B31046A9B 99E21F182A8E44AFDA4F706AECACF60E9E8AD6218BBD000D7A8197CAFF1544C7 6CA3C7C3CF89A587CBE8FBBA9D906DF0E06940EDA88762BBB0F99ED18A65F540 493A6742CFF522240F6A8B94A649D9709F207D1D5CF0FD51B981914DB561BE70 C6A3A2ED95FA64EB07CA9940007F58300D900510A5FDE1D0E4FA53C353A66B39 642C2F1EE3AD0100E1A2A39C99176BC0A7E18F5C4F1F93284D3C633A5E9193AC 356676060DC332C48F106AE9E67EEEB7C1B87B77A7DF3CEB2BA2F2934C9B37CC 2C19ABD3F39057FC6F8AB4327A933D4D0F5F2377CBAD33B5851DE3A0E64BFFAE 4CDCEC620CEF81BCD17ACA13C5E9CC05CA3573D0CA64577644EEE1FAED4FC308 4E97AC126F0F35C92D523E4454F4E2D31701EDE38D8E9CC88EAA597E73EF453D 51A747B1165719AF64981028D917A172924202C7203F67EDC6561301310953E5 B5351F93AFA2203FCC50141DFD364EB4E51DEFE139B45BB738C4550211BC4FF9 BD1D74CFD77B2A3C754FC8E1F8A9242279F60E62422AAEBD3729D076159383B8 9DF6C929ED62FE0F89AD5FC8D7CE767C46126C92AB1EDEAF519B66B2B01574E2 DAE1B7C7635619048289C991A1CBF5674FED8B3911F213943723B1B6CAA9F614 C1149D9344F11EEE27BF58B982A52E79B88288C0FB9166D107BC0E295BFEE9AC 750E34BCB883B4BCA060F9336EF298FE8AB52C5875F4DF950F18644DDAA3FE01 DD30673B3193615DE2F321CF91E45E6637DE12C0B97EB74DAD55CA69A3D6FA8D F8537CA2547DEFD485C1D2FD918F12A85BDAB29261E517B3B95532A8947ED3E3 2BE95F177F8F87E7CE9D01269F5F1CABEBE78CE14618D078688F0F448A299767 15C6B1BDD6EB3E8234808DC681F584C4A4BEAC618338EEEE618B8284644C3E92 316C7BE3E51605691176F0DD2AF356F2FE263EC9F5974FB9BF918ADB86A6DFF8 07FC5D5BECFF122D1BD70A5490884F9862EFF593802620EA08EAF0AF55215AA5 F7ECDF45FA6299B6D7710FA9046BE46F120B82CDCB7410A513AC1D5A86DFA99A 8D913D64408A556BDB87A2D9D5C31A58EB91719834CEDD1816F768255AC9DEE6 CD04D9ED9EBE608586EAE917C616F3D2E357DB07425C719BF38ED6D9E35F2185 B92468E75BD050200C2EC80A41069E59AB2826B58E9CA27B76F5787BA79066B3 C434CB6A152A6DDBC4EC439401C9FD63D77123C8ACD8F82EC1FEE043F4DAD390 6EEAF0B73B04D3B796FA7C80894260947180AE02A90ADECFCA66B05FAF5283D9 245D26FCC97BBE127D29CA1F76975B42C9A78C15BB02A44C0415333EF7A3E40D 82898B9126DD196E4EE26317880C8F39EA592E135D41DAE3E0CD367E04B61565 655110DD2713F6C91677F88C3310E8292E3DB7463A70ECD1C250E4FC6A788933 9AD43E21FE6F42CDEA745C228889D8E696B49603D3D88F367DC3725A49E6C251 7DF1CC5A979B43A93369603549F581A44888F337709A1FADBE51688B8014B979 6268B49EE93FA8A64ACE7CB90BA33A8DD94D43340B7E822D16A966353C823090 DEF4B360E43EC0B40F24ED2E97394B5980B878BE372E1F4034A326947398D0D5 1E37B0D5F354BFD05C8AB82382308C160309827FB282F911C1528E7D51B86F0B 5B688C83ACF64DFE02A2545F8C29E4F82D470BDE9D1E5EC78B24B8924FAC8D84 3AE6DFDFBE9442D3D13903B1C4A331F9743D58B10961825B56BC7A0C5578FBA0 1783023B6E4ED75E7A49B0500B57F90CFD394A1C56CF4D56B65ECD11EF14F532 E34FD5A5F32D8D97344B58E4E25A84102BE39C6B6BCF0C9F733664215D13EDE2 872CA9AF812D2689A672775B6097DF852D9B8925593901B06B18DDFFC9A8B26A EF2509AE852A746C133796D8503E4A32009A7544D0CAAE355E3DEC0FF0C76F25 EA437826F9524823B5230D7FAEFAF02D7237A44204C5AD366FFC4D04299A1DED A01E000B9AFBE1A008F472DDCFB76C8A5B11EEBE27B2A85D667833E87A341581 E7A742D61B11630472BFDBEED43F42EDBB42DAB2BB18ADE2C1A8D3C2C100001C 03D7FFDBA6FF3BB539DAFBC0154EA35580541C9BBFBA029347FB193E0BD54299 30CBD7F60EE2F085B06BFE3A5AA42B279CFF7E78388126423A2403739C97FE95 FAA27C2F639F5484DAE926E24243CF9B7166B522B1B428E0D2E98AB16D2E4366 17B5E654158714784227BDB7D00C5D3637C0D601F36D5F8C35CB0BF5A4401039 FE2A1D53CC4F914CF9EE24A9E3C0DDC85F47AA68E7109CBD04907DD20B045B0B C92F15E5DF04D8124CE0AB3190D6E1373731F4C4A26CC8110F64B16F66DB0A09 242519D5D2FAF2AFD7B4BCA8968E3A14C7C14028A74159CE3434B48D6F81C945 8A2A68E03504B724D0FB47C08DE6881242A1149E8BE98551EA430E203DE48FB8 726BB59B319F4E9CFF709DA6BB0DBC0E2EA1040BA413002C63748B856C5343E2 3EFC5F141A908F1B94277D7057A655FE89244651B3C6CF7F54C9E10A45CF8D49 ACA97C29091E7365026F67E5285D975813F965362C44030D6CFF1555A87769EE CEA17FD3C1D5DD82B1BBD8F93BA77DB3D7780E09B0444B6E493AB63C68055D87 2A24FEC8110A2FDC5E4F76A2765576B4FAB6328CEE986CDDD715AD1D099EBF64 932404F3017E13646E18EA6F83C259AFA0B591BC646CA9A3E3BC55AB32CCABAF BFEF1FE3B9FB21934D147C3E5EE85A4D98B22F2DA789E3DFB417F6CF1FA6BE03 38F8DF88EBE195B0CD84AACD9BFBB2776C071452086299CA325AF507BFC7BF14 E38662048AEABF1A1283D374915BD993029E8B2DB73EDB2003066FA81AF30DE0 D8DBAE3F438F62BF59150D7EE4C7CA7FC1FE238B58D3C4D0BC4BE264EC997A54 DB6A5FBC00233FD9F08BED6A8739BC0B515105A72595AD0228E0416AF03AD105 EBB750E9DBF8DE00676DEBAD9FDDBB2C043961F530DA63CD7869B7574531F761 EF0F3033E70E0E91702A9E0DEE43924FE4015C60F7D8718D999172DCF16F306A 83594CA97DC4A6F0346ABCD4B34E56EB460A3C6855945EFBAD553255CB46F8BF DF523B6BB5700DE621C4ABEE9BA03A0C6BAFA73A04C0D2EF41E55C6EC93911CB 35DC41B781B5FC68DF632678889A22212F00842358E25FA0BD1DAC4EF7A41426 68703604A9D88181E60B15F3A01C4C6A85EF43893EA2E1BDA355F5822224A3C3 8FA26D287F8FD29630F874F58856C60A520D77E38ED53E3540313AAFD93BBAC3 4A60F5E4E70666A2AE35675637232552EBD19A12C0E786DC790316B1817DE654 9B639F601E032A4AB88B0731420B2AA3A304D5E3078FF4195AFA83AC0276C2B7 EA2E0D47DB55CD2A92DBD4AF84E2395840BC85B84B35A0362CB5CE42DDA7DC03 2A1BB4FDBA977B754EB61FD8EE23E391F7A7AF4C090AB6ED20593139AA01DDB5 C66603E2D131AFBC1F3E283C61E453E4F897AB9631F5242AA2F5E64C3C347681 13706BF0611D795805F8ED25325368D405996BF5314A7FB084C798739373210B E33F48BBC63227603B1A5BE2519C10ECD799163F7672F4582926D47205CC91E2 8244E3BEA2B1F05CEB0CAD07D2BD273E3A5F63E8A64B5AFA7768532A0DB8B85D 9DDB185E908443B482A9F83363539711E925637C664BF8CBBC602ED3AEDAF80C 7B00039881A0ACB7BF40A702F2293E3A24972859A92EF42A622F4CDD2C02DBC1 026DEDDB75A92D01A974EF22D899DF5F40F03BDADBC7751D5C1C529B9BCB60EC 84FFE9E486D04B03446CCCD17E7477553DCE0AFC588DFB2A2771E25674FC7C31 FEE8BB0DE5BB9AF2FD6050B32EC132899BBC6A127AA4F71BD803FA3617A7BD0A C9FAA076ABEED726F441052BC30C5CDFC9F053557C11C7313A04FC807E4FCDBF A409F9A9D0C79EAC2D13402ABDE647657B03337E154B71F1B70467BF89F37AA3 C10A4054DCC17E166F47D61033F7FF6C00624D325EFAE58734B667F3C52B950B 4A62FB6FD90FBC99721FC10854DA6D71F1B21604F299F0B09BFA3212E603050B E35F3F98C5A582E62ACD9CA9DC7A25F11FB6BAE68A78E59A2A75BC73C44FE6F9 948F219B17A172FAEC93914D6D3258B3FCD10BDF328CC3AC493DE8C24FC508DA 935DE1A2ED5EDE95728544A8D29A1AC421B4306E2285528A59B6477BDF61081A 27F8AA5C4C49BDBA4AC61BD51CAE68C265B6EF20D1F8B0FD8FA1A7CA310F7014 2EEFFB1C96FFCCC87FBA727A902675170846D88B0BE5AAABF24BCEB408A81B08 F1253A56281847413A236DE5B44DD43C94B4276DBA3F3148E31DC74181323ACB 1BF6F946AB43D7767F4CF6B6E277BE90ADE4394C50A28BF5FF355AF74DB52BEF 4DFAFA6B540D3A9B3395817D09276FAD94DE5A4F210820ED1CF6D9339735A4DF 2EA643D0DDF44310726D190D02B2977D1BB41B8889546681F47959AF1D0D8147 6418CA27C7B983C6BFD91AE3B8E2A4A8617B8C8D0965B884BD0B9C7FDCF2CEA0 942786B0D26664D310544CFEEEC7B499217B69433CC741FA8E47BD3F678305F2 1BC6CE768C9F860A1A5965427D203F677A14EC9DD0BAED9EF256C7CDFBE63C40 AE118F7519E1214C4F9627CB2873F7F8064FACF87BE405384CFFC61F6FFE754D 27255B86F3042884CEF07C7CCDB552664BF6BEAFEA898E1A07322F59B17CB518 921C521DD48E1EA93AE056BEEA9613F55014844A3180967A9AB1D816933F0439 D4545C9C08668EA5B7F734EF09C5E41199D56DCD858DA7B653DCF95263937807 8072155097F20B277CB9BE6C746FDAE66F0AAEE061283FDD5CE99E0039B2037E 2C21CF71229CEFC29A1772EDCA09B4CF1F97E8852D583D6023EBE8D83107638B 0E4BF0229AE077E0198C902A772808A54E7F3DBDA5F8079A05D4E2088F60F0D1 70AE5AE3FDA4BEDEE1CB7E876A5FDBCC32739B72B6B3AF1AAAEDE2C59D83FDEC E9DC6B6DF2A5E2441DB7EDC3368D4D15D68B3D528446B1E2E76939C6F7E2F645 0FCE404989F6BE8248AD3BC64497C4575992449447EEE2B94EBC03B2E3A62A34 AEF9FC5D038396A2E60342B716DE8DC941F00B78C39DF0DC1397D0E473FBCA0A 9C5A38CBA6689BACC417CA43EDC35F59A6D975FAEB630D8AED9DAF55685DE74C 5AAC730CE6B3F9B7F3DF8FB7CBF29A3C3F7DF8EC6DF1EE18CBB00C520D5CFEDD 758E9EF94337E0154D1B38399ABCAF967779B9133A48720A5C1625564764DD3A D5B1A47BA476A771FEFF1AB95BE08D7A1E06DB3C142DC84E2A8D89B02CDA5343 87CD7CD3ADD228D73F8F4EB641347F4901CBD09B51A7A12D857095680986076B 12A8A132D395E928A078D349511EBA4B12C2043D3B2580BA63F4DCC36671920B FB5C538567CE7E0A3E86FAD2C92907B34A00E9C4E8A08E0253BB9B42EE52DC72 E2B09D46F9143A16AE22EC7CDC00FC25E4376135F498289FBB5E127D996842B3 CEEEFDB83B2BE914F003DD8486AE77939B9128A989C057493E0A10A439DFF4D0 B5CA5423C01A107D577556A3B9CE5595CBB91B870D660E9E9A0EEC1108BB438D 8647A33EA29CBE2AB98C121004DF6B7823CDB2295FE472FE0FF4F7FCD03B23E3 9C4A7D6E420D58350CCA2FA5AAABA5D01DEF233EC3A866F5030CD23A248B3C5D 6FA830B03756C58E192EAB2B670D062C7B685CF0839632F6C1F9443AD986D818 1E5A82FD8C3B50DC30C04C2711FC79242A86BC68818EC7BC01FCB3AC6111F34F 82F3CD861A8DA9A95FE5AFA1040FDCED3364C6AEA2973D606877DF62F9FEC29A C74BE3FB6F57C0A24609D950D7E5E6972D99C7FD25163C3AE98D2BF82640FDEE 2F0B94F0EC8DBCE1347656883B9D6CD16395D93479B3BD39DAC64F75275B1160 628CF37A1B48D6183C40C73915DC54F3C4D4251E878A91C49A2E5598B31F70B5 4B2B8F17A9300C4472C2934A00AF4D6BA466CE7501C304EAC7F1C4DE27DBE2BD 70D3517170D7E75E3F41F272C15809AEEEB89A912F7ABF4E3906A1D07A5AA3E9 9DCFB01F99A3339CB85B0BBFE6AF988291AD71BE2CB3D6586C5DD7E211AD3CA6 871C58DF9DABB1CB6474523C7EA4485976F7C44045FF1BD87455021D32DA3401 BD5CFA7D8C0C4A143EE4CED9B743F3A2D3DC631B1FEE2996EAFD5F2D5B6D0D78 0B5335D9811D3AC1D186578825739DC279CAE755F31DE8F65738CC2405043339 9DE9C69E97C05ACB152A8E3F389CC63EF451A32B2877008CBF838A0151A777B4 7195DADB2C2BE3CD499C161D8340AEEA70E96CC49D842CFDBE83271639DD5E44 333D635E11F1BE516E643FAF91ADC993DBF6FF51D77B7421C1DC020A10CBFD8A 3B9C8DFF802351FC5E9A7E1C0CCBECC576E16E367D09E75EBC263C2A31699104 738F05C8A4AFC4D0ACED9330954076C46B48BF3EFBA43CFAFC33731B66753140 ADAC9823D9CF18CCF6B7F5D7827568D77B56131D82C141EBA11459A0BB18C19D C466D12942768C22286545CF9996446457FD0C4CC2C522F01BEA5EF401FC3EA7 53AC6061B7386CACDB746B1176FFA0E503CFA445D0EA13291159F5F7B8E2C7CB 32D21EF627FFF2A85FA7479A54F876478A2E53BA5EBD31C90F5CD1D80326EC5C D38705D424F1A6A9BF12E38A9FE90DFC2EA4216925B44FF6A3B4CEE909ACE075 7A09EB2620C0A8BA41FB0CE06777569B343E38A53C1500EC4243465FADF11A4E BBCD5587542BDDF5EE937EE0828E7206407232B0E7C0D9FC27968BDEDE9A596D F2D17AF4991F8C9AC17289D4876FFF589C62DAFB784F64D8B71716B97573B6E0 18E756A6D19490A67CA3327F5DF9D2A84A536090D8E1424066FA21E43BD1293B 4A13C89409E338A8EA7F8AF2FD1EF4E0828166A9B74E378AEA207DC7CDC771AA 081A67D5513369F5EFEB873DFE3346C5A9F5A9E2044AB0D8684D88C98EA4221C 878F0B5F639A28C1DABA44A4FCB4A63BA5D871D24216EA02F4FDC9CB29730741 219FB0692D1C29EF9437C67B2C969DEBC0747808E425B5FBFD3D060BF70FCDF4 BBA8BF150E373526CF550614CFA3A080C645F6480B10FE1883735F7EDB046AA7 81A501D225C325E94DD841DD450EE4E3E21D543D7F2A234EA3F136089967A912 1CB6DC0BFCCDE36C13BF1799C5C36BFC08B10BE62D0FCBB25DAF534D002AD888 9F265A048E8E288DB8AFA3CC48564143B27996241A0BF200059B86EC85CE553E E71D0964CB294D3E49CE6B0C39B43923F2A5141AA1339F3B1BD8610C6FF08FF8 2CAD82FD22A1DA07C53C941F8C1FD3826D4C9A6A0AFD90B7717E33532C4C4C03 DEC606E21C9E3F787F1106F9BF399E6999F4771FE7B807D250E3D00C4E766A2D 15DC4FE46C92FC67C807A38F50A63DC51775F3C2E89C7B9E80E52814C0EFCF72 CD3E740E3D0C00132490202295AD0D02E679B54AC9CE298B84411070EAE3F120 C00CECCB2BBCF68CAE21852028FE1D7275820E02FF97307432D33F4DB2D113BA 3D744002065A79F196279087335064B0E308C36E9802D8D593AED25472AA0B09 A93EACA9DAAA67F0FA4ADC5DFC62A3F1249EB82E7F47E95E57C0E5DC13DEB15E C2D3D1A97D55C9B14D749C1EFCADABBF3F1A958EF72F933012E2765BEE1421DA 2BCA51686FDCEC36638D3FCFEE0545B4759071451433155D47B5929049A7F18B 528DF7A707E301313FD2B7C4AD492FCAC0BB07C91F4B5691EFDB8D4E50DC2A90 66C5B0E6F5DDFF40FA4F62F04065FDBB261639EBBEC533AA9552E902CB9263A1 CB7838BFBE8167D0E76CBB4C3898DFAA5CC6BC86DA579C527A2592D7F0DAEFF1 1F191C0B8D374554320D8EA8BBCA3F3D77FB4864DE847851CE86D4E2DB760734 94D1C1A7693DB0B0C9889950CA1BC70E438580460512D652077E5446DF545526 6DD9AA11865B538D35B7EF369D24D2312BE968B89FC602C41FF5B6733475743B 5320DD1398486F2723043B41332885A5231AC054BFE35F5C0830F5C41F11A058 E871C45EDD6F9FF3B516534E95D3976672B70F53460F9CB4FBAD8CD257B33105 43D85FEA056592DA6E9333C56D49FF8062681B4E2D3BF8D48CB0C2E3DD5F2722 6CCB4D2F1269DD666D0D22FEACD3CB652FA75D18983607ECACFE16F971CC706A 8CE278EE68F3CE73979444E5E5D859FA8D04AF9E8983EBF77BC4743BBCDECE0C 3B610E99ABD2DDC333F45FFD5073B10745CEFA2E1588E710064A9431B93BDB2B 968A6D2C97AD8A574647EF48D3DD008BDB943304F3E146037ACEC077C4AF690D D5D348D937B03AE21DBFC6E5E263A92AEDF05FEB071FB95D514F4BA03EA6DEBF B8B3EB6EEB713539360F97D8F5B1DFDCB271322EBD200C1627B26C2EC87387D2 04B05B9EA92DEDEEC8E15EEC5CC48B253A2490B1B077AC254E5737E6E1A3F7EF 162E89FCC28C62052BEB08D049598CA16E6BF309F71366FEB605C36D9D14D63E 80C43A352D4EC8BE032CD3A17256B85CFDA8D83F8BBB195666B5AE8C5B5670F2 20EF6763C599E360591BCB77F3AC4FDD59D1F4E1E2CC64E1E88E6403F68C43C9 D262DD6E7C643EA71C0535BE927A1D0F527A5CB7FAE43185C6FAB53B97EC8A67 23ECAFD9F475C2E5EC137B80AFBEA6EAF002DDB9B3D5FAE9BA2B8A9483BB8039 CE002A034B8279CA38816B4C45AA5791BDDD8C1F280BE73FB5BDBB7519E2A912 AAA4B121E36C4985A9AAE42162DF021A9FAD138226E2E69A78C99E0997B8604A D122EA9497425941EC3A2D7D8A78C6B628A1DC33FD4DD23162BC6BE0C17E303C 10B6F4D55D89A4EC59C5BDA104708EDA22EE92137178F555034955E892B72027 E2855CAC5D5A9C4F760B1E99ED222FD4D30512E8A9A110BAF911D03ABC4DF0D0 EB61E36977DF689E35AC0F268931CF66A5C4B1645D0A366B35DA76FA35189C9B 7C3D50D126F9256C82467D650D2ACC6987BE974BBDE25928829BBE7F69EC867A 3BC44CCB6CD3A1C242D9F761C51379F9F84704642CFE7E70B3F8A0C8A4618612 FD5E7ACF32B943AF8E785828590580149F19C07EE7F573B4E0A2AE5580E48A29 EE14E7B93ABE67AB52D4A17BEDF07C4B546BE828021BE506BB0C0B074954964B 53C411207EEA27EC41E8BBC9F2E7F98B38AFBF35A60D2FF355637533FA2281EC 8C637194AA299214F53D18A32DD02AE761D29E7A2E616F3E7180DA8D519ECAE5 07AC445F603AD00453178E28B5B3E2A403EDAC2F65E5D875EB9DA892AE1294B9 3E0A2E27979FC32C045A25AA9A5386DF85F7649844BEA3CBCF1AA53E00E6C158 1137205D8215CD7D0F4C77B566673E22E809B4F9B300D06D5937749C920288CE 674C1EFF286D7450FE285D62C79ED045008D87E0BC0D73E0014493FAB4A0F938 A253BE82D48A5EE5CA4645B5DC3120DB0C2752DAD8A9F2644ED3E761AD651279 83999E05E9847FF7DCD9A603E7D2F84266176288FC21FE99A20338348D19A620 4E9225435A3741080BBDD37B92232A707C9206A466D6AB8C95071CB979FF7A82 7F5A31DC2483A79A70FFD34A14D9AE407F1BCC87DB7E29F465B4C51FEB408660 314BDEC0A2344D5ECA0D0A11B085451703C4BADEDC66B993A7E7107C8FC1D352 493EF209099711696F503002E43DD634119FFB8C0592DB87B6FB8737A8640AFC 913C12D49D58F1AD3D28DF042C1AD52861B2F65C866E82711BCFC266D41691EB D3E92E0C9761A0575BF15C6DDCE5914ABC145262F0F8CFB05182DF488A823BBE B0A565E34F5294A3B93493247AF7CF3E6DB045A887471170AF0889CF9EC7245A A89D3D10C0A48F6EDBFBAE0E9A0993773CEF8A88BE7913502E56388ADD673B14 776833FE9989537241DEF9946BAAC0E5B35320B216D08D63C1CC7D6CF7C01C55 6AAAF1585F3EB2EED65A39929A05235981B863E8A65109FF725897054CD423D0 61627C324B014F08B5EA69CE2F21E347518B844C52B4F0F69235A8C0669AEAE9 1E30F854B8DA4349E29FDB74BA53935F6B06E1D99C2E4C93EE519A5898A31DA1 73397B6220DFFC797CE28933C28B05F150D6B61C8F272C09C3AAC717CF131E3D 8C6445075964B43FCF3C9527066E9EAADC0617DABBAB50B5C52633E050459D05 36DC6F6EE8A9F1CBC8C0AC048C853C9DBD205237ED4AAEE42844DEB898472C32 46943195B5CF5F7B8F01EF0FD948284A0584E89CDC63F2A43F7BDB84415A5829 7AC923C8BE9BABF81C9038C5CF168648FAF202061D2545A5195ED03FBC5C2DA4 58DA70AAA75F1996FB540C79EAAB062177852E1D64D9CA974F5652B732F2132C A5BBE7F5CA0E3ABC8FD99AF7FE6E8127D54868B628D8956C514031273CCA0139 B6603E1392BD9773A009721C8F8155178714C9ABCF6EF889E087B4F65F9DBCCF 55EF0877F8A6EFFD0324C6640C91085C832DD6168BDA690369891DB6C799DF59 7682355F9A54778C9AE6C425407548ADD92BE84CA067718E3B0F96BB1342F25E 444CCC58B785BA6F0AA3562EC9CC2C016DB477D9C62B339C1E58D9EBD25381A2 D32D77B0F980B0FED898EF2773D6EA579AB81DD2C37025005D32E05A06352743 2F93FC0DA5C3860AEB192591E7B27FFAD478D744938047A190DA61ECAF089D50 885E684AB5F39DCCE329AAE7E34E6E332C4F6857CBD872C9C3D59F9A18D7F2B7 7F68E8897063B690FAF440D8C6B0DA9851C92AB56FD250523325BD58AA6C3F3C 634D86297F29B4BAC05BA722546D54EAC0467727D6867C39094AA6093C24544D F75A693C0B0564A85AF310ADF385923F0AC8907A684554E565EDF5A28216FB46 850E646B62AE8136F477532399871DBC4099D747EC9C2A1E9C7D6675FA007400 CA2504D47D870C1ED1B223A0B7428A88D860716492E94DF31BE33DF9F2CA8A79 CC013643800EB66069AE5A38E72D034344DA30FEB7D1C909F148636E6F61BAFF E9B69F23012E65C6796C98A9ED86DD2BF0D53D493794BF12502E044251926A8B 120798D4F909007F0664C248F47F4AC35AEA7DE04A7DAD6C9503B08D04830034 2023B5D269888E7AABEFF8F340B1A8F0308838F5B9E908E7A258A996E4D000B6 503F9ADE83A593F85734BB004CE29B19BA888FC3F1E5416EAF68C0D963590D3B 9CE5A2F978E760D157261DD2740F73D95AED249DA992ADE8FEF4FCB783804151 2D6185010889BE749A76390C500E57D268774BBE04D66DE9AF5098E7382F8E51 606C74AC0AA23BE21566E7276E4385C5540B119C7150283CD314FA43CE0B06A5 B85A0D04E69BB0CC1CA50E3FB8D3C8CB8C5885DAB5859562F731D5A62D889A26 73A90FF5C1F1ED755F70B483B6E862CF95F33D02CAE90C6BCD49238C9006A904 AFB6F1EC72EF5738929E655188675E8E91A9AC1D8ABF02060C65349A895F9DF5 3CBA2661BF098A1AF75E203F53B7B1AC6D4AF25C74D22A61BA6920D94DE47F8F 009469AB9F24EBA4C2C37698C70D30040D98132890F633A2DF0341F76D3A4C6D 4B5AE838C47B37A444D65DBF880BA0717CCA1224DBDDA7A9A7411B4CE8CF70FE 87449B5F8354A6262CFE67D911E406BB35341895271A85151F064861BD7221EA E6086C7CA8650EB69EB810058B6B7154562C9D5E1AE660FE7C41DC00093EEA00 7F18CFB7EAD138C8735991565C35AC14E51FBC09C9BDA981E6D893218E011407 7E32DE2EAE5DA5139E8DBFBE0586A277C82A0A8386250E628F39806B4CEB7AA2 C86CA8DA0B38C8987C3D5F36B56614228F5BE6AEC3997B3E15E79E91558B80FB D575387B3B32729D0D426EDD2CA75D3F20B0417DCDE30F731556B38856A80160 616B1FE5D60DADBAEA73F5221715BE7A2F1752F8FE5129A8128BB28BF4321A01 DAA667496E413EC583BEFEA95D9DBC80DDF51AF7FD52ADE8407798B27F256C3B 5CB0D7C132C51A5BCD0504CE2FB5827F840576198D5CC79C9EC69025CECEA69B 1BF0F2460C5EA790BD70DDC29AC6BD477408B3F72A4DF877DC9D9165E6C653A2 CFFED8215B56B5CFAB367C9A4DB0F1F076B4E187727BBEA3E0A29958F8832265 C9C0AEEBF372871330AD4B881580CF8F3B998EDAF42BF7AA53F5554E4626CDA6 F67DDFBCAE396405A41DE5E72EB4C843319853AC14933DCC92EE393212A6AFF3 4407086D86EF34DD686E07FBCBF8AD0CAF9E6AA71FA406C1DEED4BAD530B552F C99EAC2A5D37B8EF43BE9C2EF362D1F949C35F63C1CB958BDD2A5B3976DC37F1 30E31764DAF5595053B4A13DFFE8AFB821C5D5A18FE164084FC69C79AF6DAD57 298A0F94F1D3C4E2A589E77F67786A70C86A62D15C904DDF2ED8EA275F3FC07B D073F5EA0465FE186C58F93574142399332E4D631ED3BFC8DB36368F733631AE 69E0D721772F44F4B9119AD0A835BC318F143AD27932B22DFB250C3DC9ECCBB9 F96F2965AC8BB3D99C7CDFF5E4A28EF2F9A5C7C816D2D610C5D3B5A122D8A930 096243DBF5F435C476E839088AAB5DB89F21F3DD1525D1B76D2FFB052D6272A9 2DBCE05CAFBB883A9025C1A55ABED4DA64D1220B45C74B5E2C76C6F155DD06AB 7FE5799C82E78B2632F48D8267C1DDC11E23572F8A91A4CBA242293B61CE9A44 EF130C3476902394C6E40CF0172F6C9FA1AF7287A6323FB41A24590674298B0A 57B3C791ADFC4EBE877E11AF1DA8D982A4CBDDF3A7355B03EAA7BB0D25C06035 6F66829249BDCA67F3619DAC36B6145612E2BC86B3E48FBA83FB2BD7A5E71EFB 7075790A3AB6D5E8EF356219C2D7D55E7AD1A38F67B2E3361225826164782CAE E0F4FEE88F3E6DDA7EF029CCFAC247D84639FF49AEAE545C9DA90020AAED813C 4C93041B8A39DAB8F347E04D36D455329815E1A8AFF3D70A8C8263197550761E D5E95EB6F55BEABDB6EA69C1A585E148B8AF89CC4371FC92AC18AFF23AFD0492 205C64881B3AD17C9A94E2DCE91CB926FB0A0E0AA9FE5D6234732FEAE70683FA 9E5DE76E78ED700A91C196A6975564DA27B67A6C0CC33064E82B283AA4C4166E 602DBE87D350A494262C2D9F94F3809EC6804042FBD32969906FF754A25C5B71 7A05139F0F91C8808BB1A05290B4E2E3B9DAAED016979F58BA09F5C89E8077CE B990DFCB0B935C530E9DA5D6B29E08959F0A627C4C72BB69E7D7CE4D6D7D0234 4496C06ED9698B0AC1918F862BD90BB218DCED9B3BB760A90D15F161B89D255C ABF969301F24EA84039A3101403EDC8832248D36BEDC81782541A93364EE2A68 9A78E3B3D7B04DE3C7AC8B9E2F47B1A9805D6BC65BDD9994ED34F6F9B63056DC D3A67713A38ED6CA00C90CDBD5771F858F0DD7603923D511329BAB93763EA86D E692AB7F6D1542509DFF394A8C05360D7006B69CC15B0D90672EBC331196C6B2 83F2B25D6A7454AA27C55C4A7C361F681D04A0CC8ABFF9AACE0299E84F14812C 3D9C9256FC9A0E3AF7E9DA4969D6DCD85998CD454083D44C02EF76A7A0B56758 B261794915C4CA3D2C3168AA1BF12487AB009038F6A31D799F15B8BEEF592872 0956F6E3E9240CECE269C981B9F02653B284ED60EF6030F78B575D10EA267C30 F4F799254AB206EB5E7E16D4E50483303AC61751687800E65F1392AC4ABAF94D 57C7B861B7DFA636EBB3FEE2639C4E4922872F6B62F29C7F94C08C4C42977782 5A3234DC55E3500C4C5C7CBE3471FF546BF9D3711402119EC5D7742C6F8A6625 62A6253A9A09406DA41CB4CE0DBD457ADA225C4C39E5647F5ABD1EDCD54FA280 A6B5BBA0235AAF38AEEB8B9F7F985BF9FFFDD6EE03EDE4F138F34E5C379494AA 6410B16226DC639280505A6E007F99D6A0EA0840501DD5851E327CCC64A89BBC 2F2473FD50B7EC46C10CC7F791F8ADD1712A35A51A9A4DC9D2E88A7F7361645F 615BE6F1DB7CBEB560C2A9DE36CB22CC50BDFB503D34EAA62BD5FA945DB14235 586472ECA1E89883BB8C8757AEA6DDB1DE43E895B6D11A2836D4AFFACC4B49DF C25E8C94E6ECDF96730EFF87DAF493FA36FEC5A9EABEA2FCBF7E3D933C1BA476 67D39C4C9AB33B04AD4F305F79645C0A0E37C5CEE11C98320A11CE2C2A7DAB15 6B111CC727BDA031A4674DAF931F4A23B2B720DA6D897427A94628CFBDAF6E1A 6C8EEA7603571C88FD53F7E95E56BA54235ECDB790CF88CF53A9A15AF083C73C 4EB039BAB6224E5C15C3E4B1B7180F5CB9DE749A1192C110CF509C21F59F0A1D 2D4419F95BFFA78C2EBC3D540E03D9694374224C1E0B6EE2DCC733C5FB57C5FD 5331EE6646B71D9BFFD7401C62EB1223C3437F3950F052820949A1248AD41B35 A3AF6155ECD9A2E78FEFCC1A2313044F4CB3034A89DB0E6C7FEE6EBAA50008BA 737E22B56F79F10CC552EB05F957D6C721A1A9F21B1D80D4F8D803930A4D14D2 D44503E9BDF5CFE17075FF0E0674D48173FB495CFABCD024DEAB64B4404C06AD FF098E 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMTT9 %!PS-AdobeFont-1.0: CMTT9 003.002 %%Title: CMTT9 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMTT9. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMTT9 known{/CMTT9 findfont dup/UniqueID known{dup /UniqueID get 5000831 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMTT9 def /FontBBox {-6 -233 542 698 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMTT9.) readonly def /FullName (CMTT9) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle 0 def /isFixedPitch true def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 39 /quoteright put dup 40 /parenleft put dup 41 /parenright put dup 42 /asterisk put dup 44 /comma put dup 45 /hyphen put dup 46 /period put dup 47 /slash put dup 48 /zero put dup 49 /one put dup 50 /two put dup 51 /three put dup 52 /four put dup 53 /five put dup 54 /six put dup 56 /eight put dup 57 /nine put dup 59 /semicolon put dup 61 /equal put dup 65 /A put dup 66 /B put dup 67 /C put dup 68 /D put dup 69 /E put dup 70 /F put dup 71 /G put dup 72 /H put dup 73 /I put dup 75 /K put dup 76 /L put dup 77 /M put dup 78 /N put dup 79 /O put dup 80 /P put dup 81 /Q put dup 82 /R put dup 83 /S put dup 84 /T put dup 85 /U put dup 86 /V put dup 87 /W put dup 89 /Y put dup 90 /Z put dup 91 /bracketleft put dup 93 /bracketright put dup 95 /underscore put dup 96 /quoteleft put dup 97 /a put dup 98 /b put dup 99 /c put dup 100 /d put dup 101 /e put dup 102 /f put dup 103 /g put dup 104 /h put dup 105 /i put dup 106 /j put dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put dup 111 /o put dup 112 /p put dup 113 /q put dup 114 /r put dup 115 /s put dup 116 /t put dup 117 /u put dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put dup 122 /z put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3DD325E55798292D7BD972BD75FA 0E079529AF9C82DF72F64195C9C210DCE34528F540DA1FFD7BEBB9B40787BA93 51BBFB7CFC5F9152D1E5BB0AD8D016C6CFA4EB41B3C51D091C2D5440E67CFD71 7C56816B03B901BF4A25A07175380E50A213F877C44778B3C5AADBCC86D6E551 E6AF364B0BFCAAD22D8D558C5C81A7D425A1629DD5182206742D1D082A12F078 0FD4F5F6D3129FCFFF1F4A912B0A7DEC8D33A57B5AE0328EF9D57ADDAC543273 C01924195A181D03F5054A93B71E5065F8D92FE23794DDF2E6BABDA4215500A0 42D1A3D0D02C0C98BB1D6ED0B7791274C38B038FC7921FF1FB8FAE7258C09259 4B8E1BD9EDCEDE9ADAD9BD9598EEA9691589649A9A21539161E374075BEE3457 689F308A4A7AC9F2FE4B301A6C36B0442FB92E3B002623493DC087800B5A0521 0DB96A23175AC584DE166F59142779F26FEE9783E28DE49FC3A8D6583EE63FBA 610DA773CA18ACE6F64A4867A1A7817120ABF9DE4D17782866E6CB6B65A9F6D8 3667C8D3E61E5356E35343FDD4C6436DF73934470916CB5F0ECEA6BFF092E735 C7C355B56189D1DD5715EC97E50145FFC17BB1497315A9585D713A7A6DFC7933 995468EFD0F59E3C15865B87925A3F2930E20D5A35970E2C44F1629FA16E00EE EE21EFC50D49F5BC02300D0A7BB85E649CB4E2E828C8B1C5469463013E71D723 2CB11BCBAC191AC751A2AF7FC228395CE9472DC1809052012AEC2CD66695DAF0 4CA04234F0187F4116C93F59A7F1F8123DE87F111853B785A20CA8B49B3B0CEC B11AD345E1A11578D2EFEB0536D125237086CC8CD9F34A5137AC5DDFD8746014 D74AAE8239B81ACF65F379CF2153B06A238A2D767F294CAE0D79228F0B7D45CE 510AC9657A1776202FEF42F96D476E7DF407786AEA12DEA0013D3B4C5D0640F5 BC5BB72C34066270399CE595827175B23B25072723BD24E07F6BCD9EF0175DEF 93714BAA53960F81103CFB731CED4A267B53727BCA3C97B0BA5004055D4EF0EC F725658E53AC86E4061B489AD4154915C3981B3B703E1E2A8D390CCECCA99385 45EBE35441B062D7D12DAB2B31569387187D74A4043FD71F1C6D352EAE0F6757 4345FBFB6DB15CAE47CAC4BAE47AECAE5FF5EC19057DCEFA1B23F47364ABDF47 088A7C6A2AE26B10459B6D41CB69182FD1472F326CE3A15B59255D1DE3B616D8 9D1F12561038839781E657C896B8C58A32DF5AEA23732A0966D96C68C988ED7A 09B7E2C8F9F3D0D56879764781566299A4EDD3588BDF70E3D924D25074F30988 E35BDD827AE4D0B4A06F55A9976BF0DB3C0B1D09CD08E8CB168B50617691638C 0EC1A791C228177D4FFB021EC3DF5082CA3487AD2EFC8DE9466A690ADDB4C52A FE2A6DB4CC275CD33D9136E735279FBB2008D59E667905EBB04326EC33C98B2C 94744B7F540D86E90DED64572ECF1EAD3A58EC101642B245A9C7232DC8FB8741 03F97883BB32FB955C22F878FA0FD114451A3B3859B0B5537AFAB73AEC7DB2BF 409E1FB41D473714F6BEA73CB085139879FA31710E01915C2938C37BAD6D7D71 45B897E00857D3931A489EAC7B42BCE4E65F73F67FE027CE482DC47598ABCB95 39E98DA8ECA3E23F0799D5963ABA6E2984DEACBE7B46B40ADC6213E0F4D08971 58F68C946C748E4B4217CBA2391BE2086C9758F4E32C9B6413E48D84D33A6E85 84747029C0A9C9B92841D217A902BA8EB333999D62FDA9F82BFC8ED11F67988A 0CAE42182E414A9766AFFF4B046A09D476F8E3F15A8C7829BEE982D8350BDF5F F215F2BBBF68D4B567BAB798B9604C79306C475926E9FEC0F07A99F43473C6FD B15AC29C3D07FEBAD1BAFF75AAF2FBE94F104F1DBF838044FAD94B661B06AECD D9AEBD02B60CA4546DD6B5B5C1A3833ED07845671CEFCA8955CE0DE5DB8FC93B 3306683CBFB8E5B79A863DE78D455DE9D592043C2686F88A43140F8B9F3B553B 7047420E93E753829F8D47AC7621CFE3626F271E31F0019CC02D0B57F67BB47D 8CFB63E902EA3231C00EC66EEC0D30FE8394558BD3535C888C4CEFC6EB72E737 712ADC6300162D5D79BEE0CA1F6E4127A0BC90656C01692F6D82C85550AFC97E C2693E379160FDB9636FA41AE9C75B7F6643B05971C6D67CE30971D590FC07B3 E0B36B4D1C7F25110B5DA2130D574FA292B47322975A2BADBDB39AAE69BDDBDA A880F9AAB580117708C79204DFFDC08BF4A48919B5C22228845CE8C3109E93AC 2479E523B8A1C12A6E541118F121DC6B4EAED83491A03192D5C3A2A45D1A2467 757E7B377C635CF5CAE11A7CB49D49F3A1BB2286090B5F0E4F89869D1771D50C 54B5C5E091E3048A2C194F0ED00DD64FB95BAC6FA9D61ECD093ED416DA3A4981 DB07CFF17C4F55C62DF628EBFF06FAC3F3D3F91C30EBB34052BE1A08F5EDA4B9 08977197950A282B84E21D43C64BE3AE4BCE22C70E7D392DE09D89B7F23351AD 6AD37225C12BA79EC9951F5DA1E505DB26200190ADE0E549305B7530CB86EFD2 A896F13A97E51754F70B609CB4511CEFC38BA579C071E9510A49982389980DC5 336D6C4A2DB100DFEC4055C7AA9C55880F94FBEA9EB280BEF66CB8E1E38A359D E5AFB12B540CD599085ADDA7FC2C72E7C873015773FFEECA2C596B75BC39A3EB 3C43FA2E53C0D7993042F3D652BCC483E48B7F6C94C3FF6D38E276086A6AE67A E5A571B9C72E0D7824E0BC2ADF51A393B9E334649F786EC1923C854382B89627 1B9E701AE5A6C42E672B2C6A33C8BBCA8F69B9061E787D6B92183F20CF4C3903 FF5417427B84798C82BE28D2C81624E3920CA61EC9EADB364B5A6E50E49A1A72 A9A090A1FCD84814B8B2708AD787D2B5015DA1305874F58C5EB62F843685FCB6 465FCA80176CAB2B2FE65E0A270BCE1E3DB97564BEDFAE5CA44395A8DF4505C0 3E103CC3B914359B2870DA6CD30382EAE8949131CFE31E9E75C3E47A3834BB32 CF183D4A8B9001710D0A11390C9DAD116196568591D38C2AF4ADD852F31494EF 573462759A35415900360882739789D6B89ACEFA251C5ED90ED704DD7C3C80CA 9F6CDED69537D201D520C99E69EEAD5D3C0EB84C166660B3C190166D93EDFE6D 15BCB6DC5CDCA825E48D33845CC2FB15291AAB823F25CF8BB0A1EAED8BEC524D D9CA016027141FAC9D35B64FB9C224552F29EF6B32497254E319090E698FD8A5 15491CDFE1B988C79A0E3B9D01E12FF084E9FA86CCAE02A3EE6F2917B61A2CC1 64B8CAF309D1AB48A34227A7729DFF99CB6EC282E3FAEDD2673779AA7E4C1789 D93FDC37FE95F087C5F88F53D30A2DA9C913BF205FC6BDD060A40184F4AAEB3C D080D63B89CA3DEFF310D09EF0A83F3914BD5B7932980ECE139EF0313C20B4C8 576EE0FE3F28FAF4D3CE7CD0890BC824A85B8EF4636BDF1EF1BB519F93D36540 ED09FAF93FD71992CA2CE2E83F5355162ECEB32AD218092F45D5A61A44E67135 EF0453589CECDC6962D0E8DA7E7567603BAF50B2C8F1CA65EA5320984E7D69AC 9A7D3D7F92565D79E8C9DD2D92CCA7DE9CD058545E9F98AA47904D70E1897099 3C4C852B3BA131DDD348433C336BDF5FBDFB62120DDEAEB3255E3207B0C84A0A 1ECF9EC869DB9BFA3693B03FCB27C5A5D3CDD62630DEDE91B4DD5B9784BF0BDD FC6EEC3FA7ACA9E15FAE47CDD9B7FCD2BF0EFA10716F08C0AF25FF67CB6F9598 C607D2FCA452417D2C69DC808A9441A66492394C3450BD30632AE739EAD654BA 4343459CA36B6D5B2C12C39495952F2EF93D82C73E33236785A79609E260C4E0 CF3A3C950DE71DDC3939D42DB1CB1CA917CEAD56979A70F8F3B207C805319FA7 3C000AE2B21D711A6D78C7BFB901334DC06F59EAB6D94B507734C27971F8458D D00193645AB92FB8FE163D5C51AE4F40BDB4F2C51691E76EE0636F071F37AAA9 BA78BD12459CA499210EB0CE2F8BD317387797C33F5933AE7A6264DA06B4A6A6 1188326147A16B205D1F965872DED7D8EDB3294FAD2FCDF0D423329E9CCF879D 4E0B966D509F45527F7609DD09694D286F6FF7535EF8971B7DFBAF608A19D442 C133207EB1152ABBD11C455D0977F66A9B73E51381D1CA4B66E87C0C7175A63D 80C699A052F00C41DAEF42E7A40E07B1B14107AB0787E24E17C1462960E3C54C AE73BE4924464FB177EC62F116B2822842541543EFF7ABDDEE197D6BD8F8D4E6 59175D8C5957550B70BE775AD52FFF6E7C00DA7CDC16E1DF7446BB5D8FD82647 3E9F87D5EA365C82A2D991321ECB14A9E3AEADC5A56665DF7072D6DAE402BCB6 14D92B17F9E063E4E9D8D239C91F5C7C0BCD2FBD936C9D4A0B57659420343B59 B395BBD1AB5B6003F653699D57E7581F9813CC98D4F072FB78899D6DECC42D34 F2787EDEA64058B46C4BFAA2BB96E9BE5CACE8D91E4C080ADFC0FA0D4A29C6B8 54FEA9E11DBCF53D9CA40A21AE5076451EDAB3593E56B6D453DC8EAB8C78B588 34D4C4F36861B5649BC1E9F3091E704BDA7613ED45C911DFECA74EEA05165191 825F95A947CAF382FBAF01F3B8B041ACCDF39718D7DC5BA6CA12BB20EEE96439 BF2E2628AA3BD2C91998E6247A690FCB0CC95F286F427345CC4F1115BA3A6E54 4743355F2CC991CBDFF5725902C1F5A6DEFDC8638A26EA456C33C27773D6214F 66536CD2E44FD253531732D5A8C44B336B1BB47B0477350EB8CF74889B93402E 2356A9CAAFCA562315D8E0B3F42F08932CB87BA2499A875AFA08D11DA73B38AF F46D03B7F639A8D7BF88CF07FFF4E91716DCCE6E2CCAB60A64D5E40EFD8B336A 1BFCC4CB04F49DE1FBDE7AA5B2092A6EDBD913D161A3271AB6411622D0E14416 37F81E0102F5B0F2F9A2B27819E4BACD7C50E29D6291AE5B0973C657761545A6 741729620EF2BF1046B3913399C10982EE5F4142CF461EA31042E432CC79A1A1 39C607D22E45A6DEC008CB4BF6007CDE9DD5802B49A62C8E02A6D448B64177CC 887AD71D171B99E7ABE2085B37D90B3BD8513995D9A57F53184DA474F6DB5E49 B73E04CC214EA5398DF7D7541F94E623E8687B511640457A48A68E9D9D6584CD 15B57CC044D8091C771D175F2EEDD411099BC8F7B4317DC503BB5E405AEEB526 5E6E1B1F2705275D274E012A98F66075CEB90AFC648B964DDC0E9C4AE7B24CE1 80B051022E5781A533A21DCFB97893847D685137EAD85BA708A7E118C72FA839 A9E460B5D17365A0AF1F53A98319FB64A5819B087F554BC056C4BE44113A5404 BEF759F890C1CA5E7AE156F4F8106FDB4F8DFCCC640976983EADB30976344048 2A86D7B2AF4A01CA736B98D52ACE392AD4BECE7E61C710B08B66F01857CA460B B8376E257113E10F6DEDF14CE2A4E6A99ECBCD302C36CADB713D849EAE9EB598 F29DC98531D793B79F83091F9B136809E006F34E423D528CC4309AFFB3EEB47B 9A9DE4D5B25CE953345C326BCBE2B4912641780637783084D3D12693F8135483 CBB0AC4EE0B5610D7CEB7DF205830BDB9BB404DC1B28FB0824CC187B26C19A91 DA0025EC739BF3993700101D042DED86D67F5FB87912CFC51AA7DF53F2162D62 6314A2CE13810D0B8D81F45771391A236422CFA0F35F7A0CDF14ACB2724AA57B 7C2C28D53029B1146558610E0CFBBF72A85AB9BA308F846228F299F13F68E8F7 D963B2EE9EF7D4C21690632B640BDDAD0556EFA4EFBF035F13377ABB5CBC280B 9E0C12AACB153C93351E5BA95A7D149010E204950A59C7FC6581D9703468C1E9 EFAE37E7E6ACB892B3F8D1248D9A4A72F642FECC5E0B25C15EEB921EDDE84D12 0E524FE6133C4921FF4921242392C12FBE69744D53739F7E849C1B96C4020AB2 1FF10DEA608F111749E2FBD8DBCB17F353DCB3075B4F4B8186963EFE95A76A10 85AA5BB6DB4095291974221829A8E436680F4860E01C3843BE5BB3101D0869C0 EFCE08D187BC04F58C7A450A59093680A0F09E8E3F12DF5223E7EAFEFA01978F D8354753A68022CC92C71F2CA732DADAA8A466D4AAE5999B0DC077715671F518 E6277741F44AE798EE50DF44CCF71FCF8BC71F76374005FEBC4883C6EDA854B0 88C0C2B476709AA809ECE41AE786DB1A32B3FBBCC14921673578D3514C8CA842 E1FF90BE33F7B93ADF6BFB8B1AFBBD080783BEF056A6BFAEF676F7BF9F2DFCC8 01D255A9F0391951210D60D4D4DCA93AA858B38C0D7B8FD740D5FC6F277C2A68 54CC2DE1F40B6347201FCA2A0A91822708D820CE645C3E4E5A09FE25721AB33A 97871ED448F38FC5A349D81F402B34461D840D5768BFC6849439AB6115104F78 B87115B1DAE12542EA898F86ACE247709817850B067F537E6137196101D46DD2 D842EA03EF4501E34074E8458E638ACC4EB349A7430AB035BEF2DD4CE00554F9 18F9FE32A55AC1E7E50D64AAFDA278D77A7149C59DC5B1E3064A4B281A54C9CE A5EA94ABEAE4C6D5674C208ABC72563976487136AF2E21F835BEFD232D7F0D13 1D19932367F51D5379934DA7F1635AC51EE5CEBFA63D4D32F018DEF13624EE62 31DAE68A08DBE3B4FDAAFC75291C8C6CC7A657E3C7453C7D1461A36E88E633D5 408253B673AD87A9FB2D0F56DF1305916D14D5DD62051E27BCE09CEE9A1F14AF 1D7164BA5FB6E6EC8D38750F7E28BE330909F303ECDEE692E347DE13C8C2F82E 29C8BE6EFD76546F362A12A1C2DC12389EA95ACB4DCBE95620F0C193EAD91B33 BAAC5801AE827B9AB3FCE5D11D1D7854F8FA8A31670119CC0CA98628F801838B AAC7EF90AC5466BE69CE3E3CD9951A5EB9AC08014285422F6DA6F6E221BB30F8 0042A11F2E4B765BB0D142AD52F4D85785EA71B2E1CE20728B9E9306CE93268D 99B822A5AB5232EC7E26EE1160850AD3905864A01357F22722B6A54D4EBE58CE 480EAD9FBF068EE965AC4B5FD2FA8CCB91ECFC6E90B9C49268CA0B0FDAD23ADC D5A74B41149BB08454054C451AD0DA4CCF8B60F2EBD061AA03A011D548B6B481 FAB00AF9225BB5463F27FD67333FB51F8664536267E95CFAA0BE3BC1B8F889CB 587A3A4FA2B45864F07E11372C9507A625C0030EF7030A0B4D931BCC48F6DD51 A4D1F63FDC4B59C1CB18E6242E9F4B4B8AD9755B870FE60D640181FB7EB8120C C56F51DC8C47FCC6318C2145EDCBEFA7BC4253315BA67FD2B3D4AF6A9F3F229C AB75B592EADE15B1FB5FDBA1C0F786BD21A51506B7A2E42C2D086BA6F84D1B3D AC7531545F0B01346831FF36A52CAC1E390F99AEDC265B44B0FC9C581BBA6BE4 48B723811EBCAEA5FEFAEA7E5B987F2C7B3E9A65D2D14A7B74F099401C57E367 385352D0776D2A908F7A5A2E4D4160946C5591397877025C8C387CA413EFED56 8B142E8341E349DB4DBA422A4FEE56A573972A0C66590175158E48850A9F7F38 4B95726787B8F969FDBC97491CC81CABC976CD00A27D1DFCA7CF467A956C1C6C 839817AEF8794B6151FAE9261119DD5DB787DC9D3B420FD325ED6599FACADE0C 320D54C2E0D296537E22C1783670A9D9BECAEC63853EC2F05A990260DC189D63 7CCC0BDDF2CF7585071ABAC14630666737041194D0777EA4292AE60BD7F7100E DB568C90F0D899EA006CA423CFFD6EC70A5D3D8AC43C747DBAD3B02219E47D8D DE030631F4678C357A58ECC52782B31B50CFD44EC33F41585E51B27E3997D33F 461BEF897220AEC80007F13C5A1EE3A0430CA899047DF944831F8B010A7DE74A BFD26001472DC00CDC9F17CC435F61ADAD4E9AE062ED477FC621FDDF9242C449 1BB3F77FDD1519A251B663A693D84B42BF0962F537757F38CE5C5D56B98AB10A 3B70C8AE8D52DCAFCEC22E7B09D3C4EFDA1841C74CA975E4F8294F7BDC796500 0ABE197ED3737A65F7BAE601C91DB3983EAE11DA3EA18ABBBA3650DC361C2E77 EF9F97618B0C337A906FF39926D2B0B7883ABBA650816C4C6B34EEA836994EEA AFEDDE56E0099D0E09EB88EB093544B9BF4871200746A0409C475FC4232A38D8 F3105B0FF44E4F132378DD12D9E796412FD0F9478322215E9F59E69396C35AC4 097C4995B2C3BAB2DD04B1A7097DE16DFDD76465E79ADEEBA90489ADD0914EBA 53E11A43ECB11D072C68D2131BE1C7C43CB9DD5FBA0A67BA43D6851AD4CD3BC7 39AE2E22CCC183A56CEB71D4F9F578518E376426E42B6390426A8434B5A83E78 77A5B9963BAECD5FA5521C2A29418764E4EC1A72462B04957F823E2817A7F8D0 1512919889500024B1C42EC107E8B8533C0B314EE4E23313A4C1BDB009A2073F 9BAB479A3F9DA76CCD65629CCEF78015ADBC2D0D124B3BB2D322FC4D209E417D 84BC3C758B6AB64A01E25C9C7B71D741AF90A19A339F99A0BE9FC39622F04C6F 737474CFEC19C890A657BCE192B9DCD8F273CDC5294875DD4507DC5723EBB357 73DB0933927DC21081E67E5DCF4E41FAA6E00E8DF04128F86348FB0718068FA9 918319C4EE9D090CDF348153B6CC48648C55E889B4FFD3D75466F1B50C437546 7DD9CF20980B148F60BB146402DC0732A27F255DCB859CFB6F9D329C12FB14A6 7824D6DE27B03FF85BC59703A5D6C5B7D1CEBCF3C3FCD71D6D6F0311E41BF8BF 0609D23C84720FA9EAC961C9D49C2E962D9618C32BAFBAA8CAB0B2F616E57DA6 8CB44C5595A22CB3417130BC84D38DFC652FFD0B01E6F396814C9D47E9DF652E C298A39F0AC8535F07BAB1D5D64C7DDF62D4A2AB4D47CC550C4C2CAB9B79DB5E F15CDEBBD4BD86664729B8C05332181BE0E749236B140E7D2CB4E2F5BEDCB2CB FC2ADC633C32E0C75823304FF173BA7375A9178A03EA8118C63F3FFC2D66D216 589FB658EDDC0669EEB2938972DF0D657686568500A73C4DF2AB94725E54DEFB 8153AA3F1AF7034AEDBE1A762ED37127DF227FC7281BEC2DD379CA348C5FDAC1 581D3CFE0D914896B74F1D61F056B78B6FCEEA1E1B586BB1071835F9EAD3B122 B1B3AD5B68768E3374039A7583FA245AD17B6C4D3787F80F26843CFA4F6C7919 037A2A7CE547B7B310D778424D7AAE2D257F37459DB469524767EEA9D09B3A63 51EF77F67E7D64B43EAF4ACBACA1AC27C9EDDF7C7F60CD4EAFB6BD2A80D3E6F7 33EB8B6CF952B291E8CE28B707F30D1C7C50BF94E2B908841FE2019DA159A787 B343A75C0180CACF093126BF25E69607049CF11061A26E1AF3E3CEDCCA1F7A10 A2269CF713267811D677008BD68593D45852841DC5F1C0A6788B345DE542643E B234EA2AC527C5240A40CAE4420E0D11480EDBD2C9F05D2E3513BEC6F78C05EA D4F8A59560DEB895F321886695C625A8BBA961D5B86357265ACF624FBD02178B F330612A3F0E2DBBC8584B0005DE7824833EFE8B63EED48557A468D43FB83BD8 5CAF8D1912CA50A940F4CB88F4600A25DC4C97572E4368738AEB28BD22E18350 0559D302D4C4EE7C57E7AFEA7455F26EFB93F8B1A40A411469BB984DA2DFC9CE 48235360871184184915CC25F5911E97FB4243543C4D6FE52EA0D0E965ACD89F 915BB42D1C8CAD6C49AA65BD1A7FC23C5CEB53FE6A229FACE097B1C0FBFED2E1 C28E5F8F8426DC06B16138376DCD765D1938FAB867ABC61BED48A9F6E8CFAA08 9B242ED0401820E0DE9A7351FC72B3E5AA9551E55CD97BCB796580FDF2575961 4B77D0112527C9E5EEB3160E89397FAD0A11CE173B4D64BB930C67D5C7F27246 B67E6261E5EAD015358F345EA56D9F24F9BBDF36EFFF3DC5160E1A568C34FC14 E519D37B86700594922D75D8A32C2105C39285F457C3BE45855A2A10A91359D1 8F7D0A35CCF63EB07B6DCD2AC09F1C3B994AABCCF4456B4F383079785E52AFC6 3C1B4302D89CE929BDE0FDC47AD24F4D5878499EB1A48956AC8E0496BD2A2177 50FCF87C93162B9F4081BCA683FFEC5EDABDB704434D1B12D2A528EBF84D10DC 010D1B5501FC0ABB7DA870BD207FFCC23D1E9C6E08BD9F3939FF13E976576E84 00BB589D608999E1E7644DF2FC98CC04A28F9FD18204EAC894D7DF5F92DEA6E8 92BB08DB84178D6F26171F769DAD1F156CD8F9EB3BE9C2635C21AF5B0382ADF1 8B6F4B5B7869273A4CD1407A46F33A03EA16D108B8D779D0F8A2C962E59BE1B0 30750A43C0D501BEB9DC30C0D63780651D7A53ED35E9AE06019AFA1D319523C5 AE6C6ABB8FEF8324156D1F072F3F5F38A4D406CA81BFC4E774A6A8DE369F2C4F 56559B415B1A3D76B9F387D7190422877FD63A5A84D8FF88FD5A1F20A01F114F 51D6CCFCF45D93A9FBDC61AC9D56D9C8E69E9287C1CD3E80BFB8C7441BDADCC0 D73FF334A853347090FA5C1CBD47EFF68BF2ED466D2F35699BCD1C8CB4464D93 0CD520F67C3393FFC3F62A178797808D49F21B83F4D65AB5C859B6F6D764EC03 63AD658C9630C0E33C5B9E6DB02E4CF4783339704FB918AA5E62E5A350FC1A98 4292A8302DF6977206841730641A46EDB54DCF5DB2B328FAEEE3E43C9FA8F802 C3E5747D664496062926B83E67DC6C8E6EBB632C28A7130E2CBFC64CB725011C 9BA064CBA5F3DA5FA403A2A6687DED93B32C0F4058CB2D28B7D7FDBA9281D7EB 15F9D2B4E537BDB77115478C507AF0C5710BE52FBAD0BDF796F7F2F5D6E83407 B307B1489655B53C18B7C48B98BD155235F49C92FA5A66446EC45190E9DF86E0 B4930BEAABC5E8433B52B89AFF430741FA8B8106C8683A15B591ADCBBB177C05 1E1411D622828FF1C5C195B9B5700EBF6068DD849DFF4C49F1ED2B1099F389E0 1540B19D814C6ABDABEEC46F597C6C41208B8375CBC371D9D96605E86EFD1479 C4087F1CC3A095D6980537712E659C636299408FA5B1C3E20BD5A70F3F9BAC50 016A396092C6BEC40A912FF7FF0C3BBB8C1F123C614A970B20AD3B9DC246E872 8C97F121DE96C3DF252DCA0A136A166F5699D1EB0348AB5C38DA912CE8360879 2CBCF21F2BC86CDB4C521C119C3CF529A8D4DBF309BF3D371B4461518D2B9231 12781C584804B46E00856574BBD6982E32ED6D58F395D9AAE27F596FBC43E151 D390BEBF064812FE3C6EBC59F6D5DD85241DEF9E7C100B5FE723E30D2258D142 41700A53EF9F8607F10583607B64DAF701C68FDF51FED2496CF65C658A324F41 5B8C958B346537D3CDEDD56FD33739C2B59DE7D6C21FE566D978E603C0E86D1C AA846EBED1C7424724029F0D694ED63FACA6ACEE9BBC434EBF4AD6732E391A3F C069C8F9268073B29674EC77D701D2A7EFB3B43D13ADB112182AC73F65C1D3E4 586CB52EC21F681B65D14F76D5E4610BCC14787AFC8C33426083037BA122AEE4 E1E32950BA979D3264F073BA5D028854A47CDA9BC0A8E74F0D2198B1567E1471 12994F684152A545BF72E2E989103CD17243C6A62ED68829561905CC6D8AD058 6303F5998AD4017954373F3BC1EE1CD857B842CAE3E948505969B35074421D79 4FE6E526C29F18C3458EFE9ADF5B92C7FDC7749969E6E4F22010D638636363C2 66D5335BFC7222EED3C464B8B9DF5E5402E85A0CB3A781932E91CDBF73E25523 286FC3D085CE441E40ED52C1D0AC97E38D0A7682845F3E4266B765FE048EBB4D 6C26E88F125F63528329151DC372AFDA6061C53F55FC3C96A21B301D2D5C4DA7 B4FCFB59AF8CCF89CB15D3FCFEB69ECC65070C078685207F3FD3454DA2320150 47B7394CF7FEF54620366886F6178D8964691799A437FEDE02CAF14883C91083 F1CECC2E7E66BF968DC699CA0A780A386B85417189CC5AD1718E473AF717EF2B 00073B0AA4A6F678DDB935CD6394AD7A6507028B4A3DED1746A8C2E5254E4549 D35C14C7A0021B95E882EA9AEFB67B0C1A9214AD14FF2E0EC4E1151DB3E2BE0E 493E129280F6AC43926594AD9E1914F0839E1C24B7CAA6352FBC5FDE02A3DD07 354DFA825A32E8D0E9C0DEC3C0F4BE1BE788654A5176319B37ABD83278D0DD66 55CAE900A22FBD26E1DCA248E6F4AEC54C24FC81E5C1333BD63ED2BF5C637F68 23C0453D461C65FE24BB7700680D76C4999AC5FCDFD6FC6AC3C6476D36DFAE6C 04CA0F2B5F72FCF035297381F53D6F2FF522209AE6B6159E488A8E1A1D00E68B 6A61C0F5ED208DC4719CA1C9B677A4B6AAA1BD6B99A0E94D2D2BF777034BAAD2 0451EC859423F653ABAD7378A8CA603DC82339A1FB034F17CA5B4C39A6AD0382 540A61B1286BD9EA32A3A8D1728BE737994588CDB847F53BFE25F6F2050F499B 5894CCA554FD3F8909BFFFA180AFCB69E143FD2748665C195C49A876ACA8829C 3C65EBF04A4B27C17FB1FAEAEAE7094E778E3AA90C79A35F57E04B715F02D896 E7F367E22251224BF648A0E8FB33A6AEFA625D50A6A4A691ED41F78DDEAD6FC7 F5529206548A5366381F3342F6A533404EE4FE382B5D3B7B79CDAC5ABFD2749C 94FDF63AFFB1D48B57894207DE7D225014FBBDD0BF11715A394E55A230BFE495 C66DDDA3C3B550100D11F683696EDD73010C7A36A254AE8C4B3C976592DCDF7A 78FD3047905AF5B6BEE34C4E62E228CEC54B6F10855A68544B157D338333CD5B 1374ABAF691D3DF7FE5B8AA1CB52CE36A6E4AB567E41FE170ADE7C811B1D9625 891E81BF9993800DD79AD226BEBF86B32E658CE5BD4067A6AA306BE02171E113 7FFA3C6BB99E25B68B0C5BC9289C9E0590DF17A9B63954B122DF9697652D094B BFBE61946C61B09EAEF41AF3693FEB808E6C53FADD4023B3E118F56B6A8FA3F4 BE212A8E04617DC3A943CF76158F21F2324D8F4A6CD064D5B5759E96D5784D36 A9075AA8582B3EF08FE630042C2F7559CFAC94D2ED2487947F253767A0A8BD48 B39BEA7B6CDCD06862F4643CFDB979443CC9219CE8DD6EB9E390926B45A65653 674D197A3E1953820DBA1E2CEB4A2C86722CBCE21D879EC8482F05E6D116795D D7784DF06618DB3A0C739D3540CDB376F36CBF035DBA0045ACF0FA40134FF138 4A024EEE72EF91B757F689C81CA3915F7DE0A2623F626A5D631A3469D293675A 900BCC33502D824C82B8D093C2CC5808FD8019B1B25FA0EED789AF85F3506019 4DA526DB126B91A6393D8882C44B7F2F251A8AB3EAF07384DF15619C22E1AEF1 99DAFDBDF60A13FBB8D7346C31479D71718797C8A68F6A651534FD617D599B78 054896B9487E5BDA3C8C895E8BBB56D6E219A6ECA994014B93E197D6990A900D 48A286516EC15A26ADBECC1A3B87A2181196A0F57490B06FC7934AB4D1962E8B 8098E380B1E056EEA803A2C5E6E202D6841E5E164B7E2A603622C1CA8B0D4A44 D6D26FA2B40F89BABE24E4342CE63884D9DFCDF582944201DC24AFF520A79E8D 030B2DC0638AA10DCEE4F23313950A7063F7ECC27311FCCB2C71D73F0645E7C5 6351F122EA80FE3C920E7097BD605DC176A2B88A67E5869AF2263B349A5C023B B416F7E56B4F5E034FCC12BD95913C27C1218420C100E425F7641D9385FA4AE9 B962E4C06BB7874071D6718F11FB8399E7CF42E4EE91D6641915E616682EA729 FD273AE59155273BF7A9C4EFE5249BF51499BD79414D831CC43AFEE96E34B7BB 7BE3E154C54959D533FFACE5EBFD7A5A8E2981B15CDD4F6D74043E001E37FABF CC2DB2FCE988C624FF44D27ADE4DE92D41FB0B6EF2296C04BA39BB3595D3657D B22C7C5BFBC6F83C1BB383B63D2717D6F4D46CBC381903287538B6BBBE7DC197 1C04535CA739548DD3B9D820F1A1AA4E22A84000DC53BEAB54F94149FE98131A 95908875AB9E748921A00094D7DC2DE3171854B368EEFF11CA79806E11432F3D BB4FF58A9F496837DB545D55BB7C10522E867956389ACA88790F779EB9591C8E 6134800D44BD1D59915736DF8144547ABE57A650A1F1005607078806C22E3EED 2BDE17E3E59897C0AB88C956D74FC12E5882ACC266F2B6331480FFC92BA7FBDB 969C40D6831001EC818C9BC5F52083D750D22A503690A7C2548FF74F86D5AD32 AA579943BF0BB5B1034C5D43F23287B0929ADA80F62559882E29B65E5BED619C 121B4C23EBD3DB306A137E7002B4FAE3E441EE9DFEED57F95E5EC0643D463E98 37EB7D8B31728FB1F84E76DB5F02B35CCBABDE52D463E60FE05AD99B58E994F1 9A388AA58AE187E23D00831B5DD4BD16AC5445B7EBA140F8C6C84D4905AA7A4F EE7CA7826BB0183174AD996A6AD2D4C51B3D21349A4E3A2F3959E8F8557DA2CE D7789EBAC7B4D23E4916123C0B1C2AD1EEDA9986568C5CE37E91544738C9295B CAE069687926353C27655F7E0D4B525CC7D72E5F9C65B97817ECBB74B56EB599 BADCDD8546022CB6704A5F289C771443D0B5009F5EAE5096ECA441BCFE05B050 98D7F732FE75FE8A0BE424E874E2C0454D0992B63C777BB051088758C4F4626A BBF39A78023E2D423322A0AE1278661A30D656B96721AFC6314830CA193CA6B4 5E8F3D8FD84DDDB0F4945077F699D4BDC82D193F9012F7387E8354B0B6529509 5067F13C90CD4E72A1FEBF6976274B13920803F0D34AFAAF19FD3329E2E645E0 9A3B6738588827E0FFFA709109982E974323749CEFF0EF03D35F79152AE53FDC B677DB4314D99BB7C5C4C5CA9242FE37D9EECC6C9408E12A3072D9BA4060CAAB 2E6CD6579E038E8755E25514BB830F7E8E38FE573CEB4E8636C555FDCBFAA4A4 FA2F6D3D4A3602AAFBF13A889D3B15FB9ED1330A16A076A6A35E7EE27E739DD3 1616E47F8B8CD64D3E0C158541B582074A61FC8F47B3FE7AC0D2B9A57780FE6A 840C44FAE00E17F8DB02116AD007CD8BB8F5F6F2027ED8D32890AF9A2D25C7BD 0E50D002A75CEC2001AF208579B6A478FE2AC9952A4D52F697AD0F8EF9E96A5B B658C424246CBCA977D69853ED0341DB47B121F9DC4D702944B830995828E6C0 569A01B8E86830F44FA464B9F7E545CC2179C428025E953E4211EDDA8335FC32 19BFB9D08BE7B79C4487B95C2BBA7D93C8004A3A8E07BEAA1F28AC8FC64ED591 05A424CBBF466637F7105AE498BF8876DF169A0B34BA66A09925EE60FF8D8843 9B8C097896F2AD549BCD60B55FA151D5FB979290D41499B1DA3D71B47DF43955 8CB596070F26C88180CDFE26D9844A7C967A91BD02254E3676C5D357234D21A9 7DAB3B22675CE6A19A31699D05C277BB105832CFBAE45536553ABF9C01098904 F3D62FDD99ACCC08E285F77487C0E10C9D0D1557AE5C650148B63DC980E60C30 B54B5D66128B48CF66CC186048D029B19912C784B1D8B77B92DFD2184A508B6D E49016F9623B4B42274B6585B1C50DFC8A3173479686DD7886FB68C5A662DAB1 FE8710B023F0671BFF88766AD7392C8F620CEE56CB7B6DC577EA11498ED13BA6 2072A4379AD6ACF674BA49C39420E3FF56164BBB55C444203CE5B0E17701E39F 57A9F54F3BB2039258B34F7AC599A680266CF5BF4FEA44CE9178CFDCE05BF2E8 0EDD52D438EA212C86A9CA5F9F70189113355AB515442B58A542E55592CEF4BB 5E1BD8DED36A427598E3AA924032719EA6F0A61CD34D30232288B8E3B007B467 1FF09BFAD3C83FD55EDECF9B3847FC1BD6DAFE20D90D910FD7692BF20A498270 3743F2589CB1FF422ED50B028FA1CE6768681B9A10858CE1DCF4C16482F927EA 174B7ACC8D0FA77BF0DC216C5F76C18D70A748728FA35AAF34D7501D401BE44B 8768CECE60C9DB0D1D56B9D5CCF912FA7A5BD3446A8A6440324C0B05E40AB31B 49E40506CA92C0540A095D23CC7195CE15A1D4CD015824DE4A39C295FE57E04A 06CE3027A4CA949D13023D9428A2E9913170996026A8F5F3F3C8385D83B1DDF9 154F4054137DB50F18EE26A5836D0290B2BD51725C8F062975E8A32373058BD5 3D5D6531E28C68D2835AECBDB062183DCBB01826E73FFD0A1C94801E5E5F2071 E53B7673BA6C76CDDD57288998B82FAAB4177B5431A97E858560F8968083A982 E5CB7DCB8C04A116F3BCA6980DE7421DB5EC09D51AD845A5DBC6BE0B658C2D2B 4C6EE5AB51000FED52F820097A943A3B78D55383DC5AC9C1E5E00220C3FE57D3 64FAF4DAA66ABCD324B13F979FC6311DE809B4E4A40D7CB314D548F552A5D019 8A4BFA43D736EC39007B9F441BFF657475174496293ADA36D0D7568896FF2F95 40FE0A2079379049BE6481C115E4357CA4FE644874B0D9A206A19FB10981FE82 F5844BB40E86E2857D6D9CE77C801F32BD2C065C0FFC6463EAC9F3002775859F E89FE5DE86DB8A95A94040293BDF008D3429260EBB3EF2915596EA2CABA8A6CC CD1BBB1CFD551F708B446C08CF8E1548FFDCBF3412234A907EE4B6B8CDF0E765 2E7FE18E5F76B3B899AEE731198E4A32ABD567CCC7092A2CECF6305D535072EE E10C82625C3205AF3A7DDC51197055AF33461D6CA02BF85B5DAA9EFC43F53D6E 92F54B195252E06038A6E52C9DB79E1A4B90F28CCF4481998878A33B37CB79F6 7FF2FF4FCFA12BFBB1CE3CF726D6493328F2C7D88B438F97C2A6EB500A34CF90 2E2F90341068B79E74628D2D58A068897A789F2D749560EA502DC5FABD427EA7 0B47BE69E28FF3A81380F41E1C6EE9CE3F55E8870CB08FD68CF5260224224B27 D9252C788775ECF702889ED5EEB77D8F9A2A4A6D8FD20874C07ADC83FFBC1DBC 91E3C6A954D03DCE9807B35B2C2C0CAE2706A76062592596957A87EB3E9D547F 5C3E41D2B66EF143EEDD818577802C3D7F13AF69325A7A74B13448B830A2A897 D7EE16A13C7014845C528E09237E65429411AA6CDE1242C5EEBE9CA9D2371AFE 27A638FA46EFEB999FCA1E0BD0DF2FF2A15CB8AA8BD8056C39FF288E4A1F96DC A16D20AE39616607D460612DAC65CE5C5019EA368D01801214F9E5DB5D639CB8 251AA85264464D570F892CDEABB31CE9496B6B24B1966101D11D69A95A3927E4 283382B15AB9E077EEBD88141D1AFAE8858D9D25C3EB658205DF461BB30FDBE0 CEF7C51A04B29460D0EC5CFF2E4F2F28C7FC39D629A626C2E8BB28E8FFEFD0DD DD28D9C0652B17EAE550DF782771CE8FF20F8307F9EA1071B78581ABD7B1ABF2 526A603B1BF95205FAC0795B53B62746C16313AA171AA030094E5903F06D5D47 1B4BF7DDFEBC54D79900544571DE51A0A7400D0CCE8710F3C42E29737ACAD5B2 5619D91AE73C875BE8135941158D517E2FBDD665A2138D2A7B185C97776D3447 5A7616767564F578CAB99DF1F77C719FA8F6B2022CF35E5DAC623A2A91830283 41D86A0BADEB21CD99CF26FC5347F839BF2BD906B3DB2AC38A70221CED2F2D62 5B51E42F8C9610F5A1F52E7BC19BB702AC1238CFD827C8E873C81F806DE436BE 650FC8CA3262DD9DD234955626E011AD115C95D9295945EC0FAF2744A354E57E C229D85C4B3FD2905803C4287BE23B280124B3D797C0BCB060A3DA9908666A94 EB6EBFFBC67A6741E3EE66A4F03AA273233A68F0A86D615CC415B65BE176957A 029469C50EF9C2236FDC4DC7571764C36A3B5B4C1E3B66A405ABABE1F27BDC4E 6EC5100CA1DBCC7FBE820FE3581F9965DEDE47A03D17006834B83D63A1CEED6E 825994490A0EC3243332A139A87D3F30A4EBD6BEA54A86F1FF970DF619B5B1C2 A4403DED9FD313A7F41C0623A4ABFEF0AD826C83E908A73765BAEF863ECAA73B 7ADB43C0D27D21F892B9AE6E2DF897CD65B72F6D820DEE3C505627A84A2D8CEE 0851C1D7754A8F26DD80A6857B53A56F6A1BB25FD55731352CA4B16D9807ECAB 247616FC2D3164540F6FAE84C3845BD3C45478D2CC74088A0CC226726A069F27 AE15CC10F792338F843FA83454C4725D2259B3A72FEFA7E08B9FF17721BBFFA2 9FD78F4B8DF1A0C8531D20611F6F1AC1C6918D9709E4818FD0DF6F89E2BE611E 3698DE53FE964828FB62BB3273EE742B56122C13B3BAD21861D875A9F176D698 270FAFE6EC331F42042DAF1C1DE7242D8D83E85DD58FAC7B6B6A9C2884A6CE60 21A8B8FFDF9CF9AD4868FB076E6832F309E7DEA8B580C51CB2AEAEA1206A08D8 299B2AAA7A05FC77BF5C062CA801F7EB036C46606A9992D421365525750C5E12 184170117DC147D59D24619F65ACD392F51E41BFDC87C371D671A3D9F2323CC0 BB2613D27AAF4B292B69FAF2EDCE8822B6324E1BC0CFAC304FB6E1030B69552B 64B81F0BB416ABE7DA50132C426C0528155EEE6FCF95F212956FBF2EB75618B9 E84081168BF9C7270C3CABF2C780C2B7E84BA5DABC516F94E49BABDDEEC265CC 01DADEFEBD5F231BFC54D909F4F52BF3592B427C7736E0AE6B0E9CCC5EE2CEF3 3863A1B99C13991CCAF3C6F596E063B971B0BA7EFE0BDBA27A93631E834D050C BDF1B9F83286AC7FD4513FC6F19B4DAE1DDF8E20DD62898F0923D9DC61F0E827 339DC234366B2DFFA06667BBEC565E03EC1CB90A650123FD1DC036202FB53C8C 1EDD142464777558405C9ED40826CEB2C92A1BA6DE7D34A1D4609C9FD657EFD5 21B98B8F9A1B231447AC03D819038CB39FE8D48E2DCA518EF2EB3A15A4E94DEF 95E3E94FC77FB6D406B68CD3553B4C7797D407CFB714E6579C673B81C75A1EEB 5EB4322A9B54BBF309F0118C0FA62F089F356C4E4BDA21518A27FAC96286AC35 37741B39413CBCD6514B3545B7C9DCCF85E5B14603435523A8A910589B03E902 84D1D9B1E665C29323292E02143FFBEBD1B57CB28A007D28BCEE2D08AF746582 7922775EFB04EAD259ECE9A273B8F0086E6685CB50410BDBEDF24E164AB9953A FDFDA1F249B19E80BA51FAD725C6FE6825F1CD561C05937A50F36F72464499BB 7D64D0AE3E6399AEBC2BC21C9761C0416917C4063F434AE6E3720A54DE66972C EF40302E1BCD5980C992E62CDF79E59F5AF42B4819808C221226AB84A5D56A2A D3161194B3AFD17480C4D0364E767E54CEFFB33AF90BAC614199F830861756F6 EF6A04F81529234AB62FE59FD926061E058EA208471215FA6EAA44954AE49F66 1C0D8D63BD39FD6CE9B324CE23C993C6180DEC7098D379ABB268998D773F909F 5A0D6BBBD74E4A15DCC8DBA4CFD59C356979F0EF3DFED03A373A72403D180B24 A27CDE04ED296613CB5E58978F87C7325B0081C9B2CD763064B03F0BE8FB82DD FE4F81FD4662171DAF55975E62F56B556BC18FCB8EFDC256F59A3A1879D68B9A FB1CCD5ECC17158D73BA3CC08F822C2035BECA1BF3435E4DDC35FCAD97E9C2D3 8D8583EC8BA8D7E1708BE48E9527A3A6DB6CC54EA3D4FD0D250EE8B348E6A67C CA4BBD7E0E9B10DC5FA20B3F777DF097A9AC68499A679D3AE4A15C6795AD369C 9B584242D0903409BB9768FFF584A880407D1F9E4D020523C851F165AA3CF635 5DECEA2EE10D3B301DA6D911D4C7E1C5CD63279F7F605236C23A0A7654B79AA2 93BDC7B8C729E151A9D3147603F03A33F38316D4BE2596ABB9459111BE0DA9E0 BE9544C95350390113A12CBD39B35E47F90495E170C590C34B0442AAC848AD76 2857B8B5F15B34F61E5FBAE613B8F559A5EDA6FDA234CE5D632A090716076F5E 86E70E85905E6E1A98F3299C7612A2AB0E33A0B4DA66A23CBC4C81BF0F89BBE8 D2422CA07FC0A1AD011979FE14AE6EE207DE0A914ED79138A6D7E7C2562205A7 A8574BBA846258D2A7FC59E9082896281CB22A04A78E436364A7C556607CD9D9 305F643C452305D9CFD293FC328B641901841B3C8D745DCAE91F5E30B32E0F6B D823BBDBCD04832319686902C409D0F15EF600BCD026E09DA65060BD0BF60238 88D18E2118B9E470498E694C2D88C226CF8BEEBF1BD589F9E711E192DD5BF71A A809A9709D7B6D37EF2F8FA83A960C131C4B1DF7AEE1C8D59DF8F66EFAFE9308 364BBE6D5AD13D9297110F65E61D5EA2A7365FA5F231D31B5FCAFBD57EB2B4A9 DAAF5EAB0122227D22AF7054AF6BA199CB416DE4BB69384DBC1D7524278C42AD DFC26F358AD6C18EE4E0AD49FB0580FD3A7611865A579801F5CB2F2C386B1529 5E258937B4725DAC892B8D907A2EFA066BC0D8C056A99D5E417F106A54207C7B FD5B4C8EA38D01FA97D7175F99AA41D535C356100AEBB6427EBCC9F86882CD5D DFDF78321513E9C0F1CE655459D873C87F2EB1B8E26ED99DB59F552E814FFF31 95A702190104BD154D4AB56DAB9A21F9435F3AEB4CB4189E0C5A1687C84076F2 72E0D736CFD345B1FA5C8EF1254ACDBF2E28DCB3A48D28BB363416C0EBFAB118 C8A45F2698E93FEC6F95133651DBEA3224D3F605529CE177494AE4B9DB06F538 658A787DD6D76E249C282AC91076EFDDF5329FB6220AA3E87B802F3D346F5F53 2423B1BE3134A0EA88DA48C56D1D5A1E3BFE9CD50F0BFF67E11B21C7DB0CAD91 DF26267EBB02C3728C89FC57371BFF899D2A4406C533381981ED9D0D493118E5 CCC388503EBB291314E8E887EB46A0D49C3DF8E8FF9E61C6438E11EAF1E47F71 48C3E087616EBDFAE4FD78D6BA4DF7CB0A43D7FF0E3A4988777B0BA56948420A 1C0D9E3CC9918D9C5746DF3460265F6AE01D42D305E583D0C5E0E798E3F96A7C A3D8AAB9939C1A0E1323305D1E7548CE767A494CDB2E2B5739A717557B115933 DF711173F3338551E850B361459ED26B28A6078AE657D0A8366AF77E873DD427 40CC3C51F7D19B9D4E5550223C39972E53BA5A89DE648B4B2CA8236894A63FBC 668B9E2FB731CB6D836AABD89D461F8D1C645648AAFC931250FD604955D9EB08 F3DC00538A8413297A4E4D56093C60E4D08B28052012FF6922B0F59F845866F6 9AE6967A0A2A5A70EE2499B0CA0218FDD3323CBC204AECFC806BB7066ECBEA49 3D05CE33371B43A12F2A94D9355ECCF6039C4DDE8AFD8AACC84DCD66A38DB90E F81F543F53D9488BD4A720CCEA062EEB4BA406961DF1133760828B03C039B31E 0F4B59CF0FC5C04D79EB6C6A732C26744966AEC5763C46DB5CB61638ADCB9700 5F62FC203D7D85783C1DAB1835372539862648941DDCCC0DE6C0E9CE42E5CC0A 67796BCB6153A5C0902368063A416ACB955079BBEEB9B4F4FEF8B2EBC2936764 A68449022F57157685389AB32471B3696EE3CF5B02B95555319ED7750253188A A50DE8B90CE914BF3C6C85E2661F5B98D6DBDDEF9167544A4465156C2D0B9BE9 A2D54253798881C72C89E500FD118909144C1E3B56942246C8238B62556188FE B9091C3FFB121187F0E630576E7CCBC831D1EF0E7C9A79C2F4C648D291642484 FC029CF19289DE063BFE795BDD5A15E7CDCE397D5EF981CAB3AF501DADC4BE77 6E10997A5B68A61A2F1F894F528B94A7BF63D1C94BFB57306B0DAAE2F33059B9 954B401FF7E43CB8ACDF0B9DA7DDB54BAED9DA32BFDD9585F6D1AF772CBA12ED A67A6CC7F17CBCAB2B9CC218EA350FC358EC34E58BF6CEBE3F908A1AD3650D55 6BF167F36E921926BA593DF9C659B74EB2180A7A01C3ED6ED959566DA9BF5736 59CB61DD27B7D79C601622A59CD15CD4DBB23F6E216E74D641B4DCFFEB2FEF8E 4FE5C0AEB1B25DBA8AB8A7AA5B5CF8CD6BCBCDAEE40D5DB23C0FEF9209A9FEE2 68A55EFA2938CDB9A377C5328C698C3153CD5596DCF5A256C2795F2F1D4B1005 10A7AB6A259C02A63BBA031B58E85D9E5D79C5376F392043571DBF53ECEDB7ED F4BF9202132706DEE8BC94A55784AD9084705158B097084B7D4E3466CBEE08D3 F40D4F77FC399E588A32614504EF794D5A5398E8EEDBB7A757DCED04DF9440E9 2056D43A6932A3A4E2F9A3824402ACD1CB2CF6713DA68F9FE6B7960E61BD1E2D CDC7272B07675B5DF814695A1BAF1573D01223E3C437747E28B4A6827870969D F7DB747FC35B7D899190CEA74C64DDC84B93089585C480140A8F8C498C94EB22 472AF4474B0C92A9B7417FC9F01E6056D4A1FBDACAEBF3C1C6DCD78918D21BF7 A217C6DA613603A48D81D9074D20458F6378C9047C7FFE52E608BA7F6AF1BA30 C6E6C49C378B4886EC9F62F1D30082D29384FD53745B32B81A77015F13D0DF6B 89D35DD2CEF2E9F9BA470184C4B3273A99A9397B57CD7CAC1B368C2F33105D9C 25A0027DEA6029BB28FD4E0A21C6434B0303EA72396B529A6B9D72C1A11101FE 6CEC457BB52EF9C62880E80E8670E86C18A25523FCB36F04CCA5A5FDAE4D912F C9F259BEC5337E92CB7BB7E1213F3B5B6976C45572844222BAD7FEA83C5EBF30 1E4CD5A577C43B814763F8CED7E75E4A4C7298798E4F5E2AF6A6B2A4A84AB148 03CE47C7ED5269F0B4DAEBB93C15A7216EB1FA8B0D1E143DB1AFC540C91E5132 8EC8676EED4619FA634F76A54656633BBA865A737247E9AFDF30FC0576D57067 B1C1D66221A5EB40A65F4B93E0ADE27AC0D18832B8FE3C2FF36EF102294439A4 D3109F080C4FEE19DBA94C9D3B7762118016FD3D8E9F06BDEDD39D5C047FE353 EBDA616E5DDB46448F1B448529B666A33211928C917F9B265C5D02D0D67FD60C 7A55182822BF492630CF73B5DCF0A76298A651E541B83A97C47FD3D5F58773CA C1CDFC3BD98CFB0D66FC3E4642CD2129FE4A47F04D916153FB99EA22983E0E49 1D6275822AC3EB0910D662BDB8EFAE1F275687F2EA2918C847F43D2846B485B6 F765F8F17880FDDAF758A3DD241F2F096864F5885BB76DABD9386AB33253FF48 4B87128A1B12F7E209E2E7BDB0FC8EBF53D92F183116F10FDD94F50CE0DBAC12 30FA083F2C0EAEADC5B95BD2EA3FCFBD8BC0C0BFF0D31EF9CDE5323C121E584F 2F77C29CDDD3BB4DDE47B69045C164AE82F0A54E3C881582D4929317444DB3FC 343B7AA969F91ED934BE36790D886F5E74A1CBF6FA1A00BBA0E699A0850D265E D887426DFB793A3ADEBD1403BEE91760D32869AAB738058AD9B3432F5EDB6142 3CDE07990184B27AB9574972E09ED6A49737F018B62A6B56ECE4DDC2D8BC54B5 A0D0A99C3BF8581D9CD426992F054B49137BEA5B1BFA44CC9F944FF16295A12A 4B4355589E935227DE41DF98CA31E9E1F2A82E3E95A9493F6D740D670D382005 502150FFD03B688FE214AA973F056B449C03AAD59C950490A6C807D6D94EF6F5 888BAA972653844270B86C4C1707A5A76C0DED5343A7C812BEEDAC6649312113 33CDF2DD08631DEC8128ED2FAA23EC38F29552BE7CA65E27E4AD6C1282AACAD0 4F94F58B0FC6028D3A3752B928BC9973076ACB4A1570F08B3F8A26C3A14ADEBE 43E602E05DFB4FDA13D7DC0FBB84EFD9FB68A1D3382AF89877F816BFB6C5C8D0 895257D5B7350AE5FABC6261125A3B09DF3C884415 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMMI10 %!PS-AdobeFont-1.0: CMMI10 003.002 %%Title: CMMI10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMMI10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMMI10 known{/CMMI10 findfont dup/UniqueID known{dup /UniqueID get 5087385 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMMI10 def /FontBBox {-32 -250 1048 750 }readonly def /PaintType 0 def /FontInfo 10 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMMI10.) readonly def /FullName (CMMI10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -14.04 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def /ascent 750 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 58 /period put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3C05EF98F858322DCEA45E0874C5 45D25FE192539D9CDA4BAA46D9C431465E6ABF4E4271F89EDED7F37BE4B31FB4 7934F62D1F46E8671F6290D6FFF601D4937BF71C22D60FB800A15796421E3AA7 72C500501D8B10C0093F6467C553250F7C27B2C3D893772614A846374A85BC4E BEC0B0A89C4C161C3956ECE25274B962C854E535F418279FE26D8F83E38C5C89 974E9A224B3CBEF90A9277AF10E0C7CAC8DC11C41DC18B814A7682E5F0248674 11453BC81C443407AF41AF8A831A85A700CFC65E2181BCBFBC7878DFBD546AC2 1EF6CC527FEEA044B7C8E686367E920F575AD585387358FFF41BCB212922791C 7B0BD3BED7C6D8F3D9D52D0F181CD4D164E75851D04F64309D810A0DEA1E257B 0D7633CEFE93FEF9D2FB7901453A46F8ACA007358D904E0189AE7B7221545085 EDD3D5A3CEACD6023861F13C8A345A68115425E94B8FDCCEC1255454EC3E7A37 404F6C00A3BCCF851B929D4FE66B6D8FD1C0C80130541609759F18EF07BCD133 78CBC4A0D8A796A2574260C6A952CA73D9EB5C28356F5C90D1A59DC788762BFF A1B6F0614958D09751C0DB2309406F6B4489125B31C5DD365B2F140CB5E42CEE 88BE11C7176E6BBC90D24E40956279FBDC9D89A6C4A1F4D27EC57F496602FBC4 C854143903A53EF1188D117C49F8B6F2498B4698C25F2C5E8D8BD833206F88FC BD5B495EB993A26B6055BD0BBA2B3DDFD462C39E022D4A1760C845EA448DED88 98C44BAAB85CD0423E00154C4741240EB3A2290B67144A4C80C88BE3D59AD760 E553DAC4E8BA00B06398B1D0DFE96FB89449D4AE18CE8B27AFE75D2B84EFDB44 143FD887F8FB364D000651912E40B0BAEDDA5AD57A3BC0E411E1AD908C77DCE3 981985F98E258A9BB3A1B845FC4A21BCC54559E51BC0E6C22F0C38540F8C9490 88A0E23EA504FA79F8960CC9D58611C519D3ACDC63FB2FBCAE6674357D7F2285 4BCC9F54D3DA421D744D3A341DA3B494BB526C0734E1A8FC71501745399F7683 FD17EC3044419A88C3979FD2ABA5B0130907B145A8462AAF0A9B511D2C8A7C7F 347FF6AC057E6512902BFD2918E2CD31DE615F5D643764E900B60287670AE18F FDE15545D8BC69591A8CBBB275AFFC9B14BD68DF0AAB32268FB84844D4DBC7BB C591C1AC5102C50A9C7BAAA848DA88B0519F0F5F0813BF055CF0E3C86F633A04 B779D2E8E656DB1E09A66A85FE21CA8BA5523F472A229E83F2C4E91ABA46C733 F3C7B5775B06C97782BC225C46385BEBDC61572458EFC5CF4190AB7A9C1C92DA 29F84BAACF552089195966E3AD9E57CC914D20B6962BE80429A16D4DF1ECAA66 36C4343FADF0B2B48F12E2EB8443C4AA29D00949255F3968617F98B8ABD4CC12 048B838EE243A21AC808BD295195E4AE9027005F52258BFCA915C8D9AED9A2C0 80814F79CF943FBE3594C530A22A92E11BE80FCEC1684C4F56712D5846B0749C 9B54A979B315222F209DEE72583B03093EC38F7C5B9F9BCB21DBE8EDDAE9BE8B 75ACE6B12A31083AC8348EC84D1D29D2297A266284B7E9734E207DAF59A25F4E 4AA38509E993C5394FED76E6A2F25462685C4C86C6E8CFC9863338EC1428BDFC 74616BB1BC8948B0ED4C87C15B4405F3A7796F9DB3798FFFE8BD0A94E834817B D5E9812E308D0CC920470A6F2CD088FCB80462BF7CB3F039A7DF3DAF5B2B5355 E083A385CD2EAF0FC181E40E96DD7E9AB9EF5C7E6866A13B8A54718E950FE097 EF0951A357114F18CE9933D28B3A77AA71E3CE884661F13284BCED5D5FD1A86D 543E588FF473DC2CF9A4DC312500135F29C2D0174B32018C8DBD40EF9A232883 710A1F2AB2CD11312300ACDF789A9B7B93D2035D81D1C84984D92D78A53A00C6 EDA94B24BBAC1AD17774A4E07E6F74ABD90415965616AD540C8ECD8C3A44EE4F 7F4F6BB6238C5062D63FA59B7BF08BE93FAEA70A2AB08FBEAAF7DBF56B95FD93 03CA406543BA6C9527D0DF01F5108D31A51778A5EB1C93F27B72B46146A353A2 01CACBC829603B9989A87CF64528682CCBA0562A8165B185C58A5C6BB72F5E89 500ACCAAB8ECEFBB2640E99EAEEC4EA979AA793D013D61D8ACF8784FF8D9398F F6A252A709324FB39509F0B3A4E725E82F53543383C6765BE556CC897C758208 AA3AD37B0406E4A79F8F0A6C1983FC73E71CD858C0DB66ED66D5D992978614EE 1EA91EBE191E082EBA1FC040AF19A2202575C2EBEB8058833E3520FA03D2F915 85C1ED337E457B9FEEB0C6EF2735EFDA6E0D05FA641BCF698AC6B97751E8306C 4DF00A39B8581FF53DB8F8525FDB196D85950906CCB59B8EF171349AA3B567B1 6A00819947A995FB383C3C1709C9A2C113B2E40BB832B7D4A0FBA0B16A2C455F 55809CC425C403E9668DC66BE45B71A81C332FD4DB279D22A2959962304A8F18 085893DAC61317D24A8F198FDAB95F3B86F0AFD35047B868A9A17037A2829A02 BAB042F75F349E197A7EED41984C2859754CAFD0251439921C248B463B516951 2E1322C80D73F9CBCAA63A585450275AC2492E4D3FB78E800F788254DB5E610D CF788DF5C70FF99892BCDF16133E34B24B77C8F097F546B87C603DDB8998B66E BACB68BA27462AF54AA405682EC96D701F0D474DECD5F95CA2102DF639EB169E D518162C2BAE45FF698B6DE15FC6E7DE48C336C40A670FD26952A6BAB09115E1 991F0073419F2CC2A1C08BE91096936AA0C37E4ED3CCCEE235476074B8FF1125 6BDE3701F85532D8BB64CCC927CC335281C95EA689706F0AC717DC2CF680C754 E5EFD7FA4BB8880B2B727A964C876D4A223069D4E6001771F0E23EAD2A4BBC80 E76675297B2EF05F52BF4E71B3EE2BE3048CF088C79540113C66AE98B2FD3CB1 B0741A215FD070882C52765009D7D711DAA2508F19AE7DDA15229A856AC49BC3 4DDF40814FF96500E4B9B02D412E94623C5FDCC76C0FB8E42DF56A904FE49D65 1DA7C53901B2EA71AB658A464D3ABDE27D9DB8D9E0B48F64E61A2495AD5D8DAB B5E72424AD017DF37964AF911BD7FA21A5EB4775DC8E95EF0C0EB856B00D89D7 8172A1DE8530767D317B8256103E53CFB877E10686A04F5A08F8DC58D843DEBA FD5F40597588663D103689F6EB3EB14D06E18C8078F2538B43E712DF491FC5C6 AF639256C8C6134B64D560D8476DEA6329D995E46CC4BC78841C59E73648B47E BFA7DE0846422F738454AE77E822A083405289247BD7C478BE4974F742CD6051 E99FBB1D1B3FBABFEE855174734EE45E87D0AADF32B1283B911162A9955847FD 38944D70584FAA6B1A7191C5C134B73F98EB632B69E2F0C0F94156787C34C8A3 7622A029D58F9626B74F8A8A1F3803E0BC20E0EADEB1E99B70F1BD9F980FB751 2A842843DE42EB142A84D5D3138629AE9EAF6F3479C423E8829C8816FA6EFA27 DCE5580E65AA9854B1C64163DC318420CD993C15BFD76A8BA1182860A6B03D6D 22B8CF43CFE6C8AB27C64842E239CAE707D3086BADDE1D7C94E3BC96319470D6 8D26915C575CFDD03271D6BB9DE86A0EB6EEA6E768B224A626C62A9AB48A6EDB 44F70BB5AF991CDF9736D65933E81CC57A78F623F33EC9AF535F2F25FA4EEC90 D50DB7E87F31E971A75A33A301CA6013EEC5A4E179D695B33DADF2C98364434A 42926776000B610E17524162253F6FA638D6581C18F99EA0BD1D2E24D2424ADF C05010D08192485153DD03930C7BF45237593E484F9851E6D464FA10FECA5D9E 0C8CCC97DE029030900CDBB491C5CF226DBF903CFE7735D939C3FDF3A20B70CE 66579B28B99313FEE914E295388C7BC8E055A2E54EA3A8206D3C8F4F7C0BA5E6 E519419FD8CE215F7B8E9BEC604A9E3FE272A0328A24E31997C8A91E0946BCF1 6943A97CBED2AB9FC636B49828BBB8B89E0BBC2653796431224895ABA5DAC41E 1854BD9764E86147FD7624F736F40DE3B7582EDDFD15C2BDE3F22B5A54D7DF10 B87A1301CE85CFC061689A890A321412A13314AE96DCD3EDA75035FDD8F4AB9B 897A2C68263A68457032C469987970648BA2D88B1C5375DFEAA35A917B8A952E EE670427942AEDB3CB599C5746180E392837D371E15D860620ABDB6AA7772C40 A5E346661673ACA530BE3D8E3FFB895E5DA3DC23B1B43C080C77F7E47847F0F3 F3AA5CA9E4BF75FC5EBD18D19F21A7DAA3B11CABC6E4070A15F7DBC8B05EB6AA A02EF1B078EB66D61D6AFE41DA9B36FE7EC9EF94D1EA26282A9871E2CACB3126 2AD49C2D9B50A6E47D8F2CCAD50992D1B430979A45FD9E76182A19964BB2A1F6 51779A2B258DC1DF4C2F3074621286831F3848AC152DDD2BA561E6586ADA88D3 598A2CE2CD048F027CE0008B828BD915887D7785341E8305DF2346ADB76BE99F 87B02173BDC334E9221C8DF54114A6B24C1C5340299512FA6C8C51AB4C8778CE 178CEF531C6D1B5FF0A1BE8EFF767F959BD4C345C52699A29A17B2A230842BF6 4B011217D6D24EDAC3F6D53482786F1CA33169B90ECD499407D37CE9B70DDF78 7B7547B32952535BA9ACD1E244447AE3FCED3AF28717083CF9590A09780984D6 AF0743C82AE4FB3E2BB2856A4153A3967A023FFC35382D6C22D84A924900B6A6 3DDD400E6D2418DA6C27F2FA34C075C902B89EBAE658B3C9A18EEE449DA5A379 337DE95CB7AB3F0970CF1A5D8FAD8090E495570FDFB2FBBA79244780D8035547 C5A55BB21A2270F724BF5D442CDC5BB9F09BE0CAE59B1C2270F0BDACE698F2C5 DE8F66BFB9634904B161F5BA2B1950048300D69BABD312D58D89C4ED527AF7BA 7DA2478EDC2CDEE3473DD8A8ED9D891CD1FC21F23013228BB3281B71FCE959BD 6F8E9059D682A7FCC5265A0620992D4FA8D78377EB34CE3ECA070EE3707239BC 98907DB0120CE42ABA32CF97127E28382BDDFD685674279F588D4F951216C355 821361790F64C2CC720DE97E8ECB57326C43EE47367628E05769E106868B54F4 C33C9951908DF6FC4F5ED2C7787BD8FA591BBB3E9C6C1DA94CC5E38D9B20C886 7D237572FF46DD896A4D6163408EA6CEFAC398EE041EAE29D577E75326CA17A6 B072D47A7B13EC441CE6DAA042ECD02134CBFA6809A435050413817193DAEB16 A5882C8AEA44BCF36E74E9ECCDFE7E19FF5A5DD7A94E5AB4F8702C3DA7F42325 23C808670A0490F5B373DADE40814FF9650241D3D69C91FBC5ECE728F827D9BF C928602E05477903449E079164CA39859C4BCA60C579F490AA455F82B5050BB3 969AFB478E0D4A257B3356EA3CD62051FCE6C6B1929CFF85BFDF166BEF658E10 3A55E007F38EBBB248B3F0B8ED1925106B499B762E45113AE1AC9DE09644C84B 9C08034B297314EE69BC32DB6E7D7FB9913CE5AC17E7335979E9DCCE2BAB3725 1976155551F9706A576FE0E3ADCCF72C87683291528ECB749CB0ED291966E239 B5E3630676BD409E08F85BC1AEC9A2D4135376284A96EA24431243BD6FE8B966 95F11A4BB53F392E0AEFEA623064FF8A7002367B0A515635CB2D2DDFB9B4A8D7 FE721754E81BBA548848A235B91AD4E4F7DB19CCE2F61D277FC00AB956EB93BE 44AB4970CA56BF59506C94ED160FB1E25D3DF2988A532BDB787BFB8539D22986 FDC378AC31444E63C4727FEE121A43751043849E6DCAC5B59D0FC703AAFBBFD4 E8B7C268F21615AD02CE9DABEFA27B5FE6A6441B619539CAB1F810F1263447AA 633F5DAF483752EF1A0421740E3A811D2D2898CBF53E7F686C9223FD7235F02D 6F90D2D48CC20AB87778DE3C6FB335E0F0EC20B5DC5B65223FE117526DE2C72F FE839DF93CB2A7D66CD900CB325F891E311BEC932F703FB4FEFA29DB8B9C88DD 375EC71B3D58C7BC59ADA91971A3BDA1ADEA629CE6CC92BD542CDDFAA7706FB2 6CDDE2DF07E56D6741916AE8E8744339816F3E6C38062747AA9FDA2A2678A6B7 EFEA870AA3A4D71B25EE3013EAB1DBA34401B867C7A41AE51E0421D41D3BB83C E120C8FEABA6E5DEC53A689C21426D4BBCB68CB37568761C360E6D4E3596FB7D F4DEC7918E58C0293D12D6DDA7E9DCDAAD7C939F55CD1BC4A228B31E9A904156 DA6B40B08E6ACE674618B768DD681C772A3E55FE096CF949CF3B0460ABDCD891 D17B37B355B29AB5137899C036F31DA026244FA25FB798FBE5105BDA29F46538 D3D3AC1001A7BCECE64DE94FFE6C354166A0F97256137BDFA07F6E22A3D1D2F4 9588DBAE95E895BC5E64DDCBBAA8D0A22C229B42CB717FC711E7E9DF793DF80B 9F14754585A3C7E17F37B32924B9F9870DA8635E3E18BD1DCD81EDF01834D9C6 B33F23C956C2FCBFA47D84422F583459D827D1E120B97694D12F1F54D02379C0 D288F7104F3FFCF4F76E3494F4ACBD1BE3A15543CC680924C78A473F8E311ADF 8FE00A04C6C393DE61AD3EDA5BC031E2353076A2489391B52632387CA28A7B93 FBB065A6EF3658AE80B1ADA47E9B2539E73A71FA75645F85ED8ECC257FB4CF26 B6C912DE9D0F9899E70BECCB934AD32CF49A093371A9F73DE6255EBC39DE1E7F 00D0CBDABD4D0383977E694890E71FBE5C376BE5F3A80C28987417504F515C50 909F3D31178BB9B1D085BE514F71B910A9085BD6122DDC72A150BFE266920E49 5661BCB4BAB51D6DEFE32B616963DBD989FCDD1637B294CE4E288655FBEFA1BF 7F25BBF8CF17C2D5FD161A7C2CC9CC7490D9BF15A1D35B3BFA43ADE256E88BDA BD490D92907C57BAC408A575EC84D6AEE070148C7C9A91C03B09FDBD792E8FF0 C0B886AAD2EDD86541E5E579359D40E3AC312ACD3D8FD49F71BD533DDF8859B1 BAF17F1884E331DD07CEEF93B71D492AEBAADF7A263450A7A72210CE630A0D37 BF024BDC09ACC882816B8C22C62AE38A3A8D0F6EBC2B1B2C0B8161A8B076DD5D 4B779C0788546BB4CF57332230D237856B00D79C28A7C01D11F44B7304F69075 94B97A745DA43D1BE561372CE611C345A843834E46AD9DDB16CABCD3FA33D6F1 F6B5C0497F5EE5400B305CDC16A7EC286AA4D45D0EEBB9DA06AC9C5294D68EC9 E4DC3CA2B92CE8FC0526184A86EDC7AB34D67E60AC12D9CA8FD300235EC968BA 92C6FBDA47572BC5600F25249F60AD287CBDAE980E747FCBE7EE5CD323E733F0 63553B494D3DDEB9CC1480B5C3BB79A28E419AA65B18CB297AB383419E890E2A CE6F98C9900CCB4675280A10CF060B8D220DDA1BE55DFA65715EABCC1AFAA271 B1F8732341613E17B231231A0D24D4D7FC198AE04D89A99C4536217769C6FBD9 5EE24A6302F97438F7C0E311C878F674B4477A5ADA3952CDE4055AC408B8174E 86F8FB797646DFFFE0ECA25D1BAB9A9F71F3926D3D85AA63E7A8C931D71E79E0 AF1EAC26FADE468F4FF7F3861D14C10E3BE1F9EAFD6D3A544E8108D5DAB5B180 3950C74818BC8AF4758A108F462EF1826647A49667F5E482038C54716856D9BC 35F29922846D2148F92F943E951D7438C73D6A60459A8003174036C64E1629CD 155D47FD04B03C023AD67CD5A70C98AB556EEAB8C48169706E5B352F6505D580 AC945171BFE62E81F8F500438AC3B64D857BA5BC54C2C4BBB237F8FA51296255 E66A92A61FE13FDE781D393557EB72CEBAD86511035F775FAC39A0479CCD400F 226709118F887F47CC2ECC8F79816D4A945B2845F50AFD62D8C9A9BBF4739496 9E644BC9F7B04803B7EE75A09EAE94365F6F374B4FCEB0B506C76297564B9B6B 8B812BC3A33929AA94692572B010E6210AEAA312BDFC88BF302244AB9D587A9B 919823FD01DE12438D960944D1977800FEB49E638C32E5B188B1CA033E0C37EE A142F746367888AA119535F0CCAF7EAA461B790EB089D2D6962E28A398439BB7 9C9943654D7A2D765B46BC0DD1F915327F369162E1BA1BA83110B93F442905E0 523BFF5E279508A98568CD5CFD18FABBE9D17265A9081E7BF64155A2CE3C0DF7 88D00671AD65654709589BAD7EA65BBA811387ABA5CA0BC3F66D3D48597A0D1D 2C268375DF47CCF62166262AE4840AB03BF49BE67A05EF66328EC729F03CA5FF AD3937FC053E223303565DC771ACF32E63DFB96D5030E787961D72D02C195C66 B48E9AF0309DC169CFE8D16E2818DA94693A18F027DEA0D916672480464F7E22 CA6E431FE38D3FC019BDD229E064B72C545C61C6EA55984565CCA88ACB01F744 3B4593CC8944C70F30925FB48A16342CC26D444F54CA15E5A624C4A2DAA2AEF8 404145BBA339F2A2D6FC2F3ECE54387761CA1213C8D56FF96E37C6147CA44B84 262EA87E7CC10D931E6B5B80D7F09813498497AA84ACB4AC69BC6C8481ED2953 084F560D7B1CF90555E69BD2AF7C5D944E8E3506165014652462BE1BC81CA341 E1B0725159D36DA0FFF3577D1DEBC5D91AE683FB0384 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMMI12 %!PS-AdobeFont-1.0: CMMI12 003.002 %%Title: CMMI12 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMMI12. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMMI12 known{/CMMI12 findfont dup/UniqueID known{dup /UniqueID get 5087386 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMMI12 def /FontBBox {-31 -250 1026 750 }readonly def /PaintType 0 def /FontInfo 10 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMMI12.) readonly def /FullName (CMMI12) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -14.04 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def /ascent 750 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 58 /period put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3C05EF98F858322DCEA45E0874C5 45D25FE192539D9CDA4BAA46D9C431465E6ABF4E4271F89EDED7F37BE4B31FB4 7934F62D1F46E8671F6290D6FFF601D4937BF71C22D60FB800A15796421E3AA7 72C500501D8B10C0093F6467C553250F7C27B2C3D893772614A846374A85BC4E BEC0B0A89C4C161C3956ECE25274B962C854E535F418279FE26D8F83E38C5C89 974E9A224B3CBEF90A9277AF10E0C7CAC8DC11C41DC18B814A7682E5F0248674 11453BC81C443407AF41AF8A831A85A700CFC65E2181BCBFBFE3573BF464E2BE 882A715BE109B49A15C32F62CF5C10257E5EA12C24F72137EB63297C28625AC3 2274038691582D6D75FE8F895A0813982793297E49CC9B54053BA2ABD429156A 7FFCD7B19DAA44E2107720921B74185AE507AC33141819511A6AC20BC20FB541 0B5AAEC5743673E9E39C1976D5E6EB4E4D8E2B31BEA302E5AF1B2FBCEC6D9E69 987970648B9276232093695D55A806D87648B1749CB537E78BB08AA83A5001F7 609CD1D17FFA1043EB3807AF0B596AF38C91A9675E2A53196FEF45849C95F7DC 182A5EC0EC4435A8A4B6E1CDBF9A5AF457564EA72BF85228EB6FD244F2511F5A CA9B71A65D53CC06EF5F7EC3A85106139A4D312378BC22183C09A229577B793A 1B7422611C03E84BF809F46C62CE52D3AE29CE01C32B202ACDAA5B72733EB0AE C31D7EF7BA88D2D14F85313F7A8B9B7A5B124B03AB923744D336C969E5CE304D 3AD977A46664479EDEFB69F113024E761C05FA48A54072DF9E12C2F352ACB3E6 D04F6EEFFDE209E7FA3DA22E5B1D1409461F4286B7F4F8251B44E5CB7805762E E129FF4A06A7458F3191926B1CAF70E32C6571AD2DC07C34FF62840896F4D200 761B1A7FA356526D1E3AB4C542AF13623BAEB9F61B1BEEF79A9205B1FEFDAE24 8799D516A9ACC30BC0139C63C9A0523E9D5439213B67D490C96F902958779B8F 68BD8E9FDDCE8A3A2E35877DB6C94B7612382ED8F218EB1157D2ADD090A2448D 10B99FBC9211C5629ED1C61C74FE93041E5AA03EA4AC3FFDA00C2B6E719CFAA4 262FE17F66804A6B54D3669836EE4367D2A2991580C5564463C973CA0DA38AC6 922716E13B4A807B50304B8826CEFEAA47C305FC07EB2AF25FA7945797237B16 56CDE17AB0834F5C97E0CC5741B061C6FF3A8DD1A79B9A173B66A6A750538E26 32FBC92E75BA15CFFE22A7302F47908547007402569158F62C29BA2956534FEA 7DACF1E507AC309DAE8C325F2A6023D2FBD81EF42146BFCE6A16A6310A650460 7B07BB7647C8760FADDF0DBBCD3DA6CC4645D1732DB3A22D8B76E1D2D48E4D4A 46F4BEB80CE65F3517283A1AE08391FD1C10ED452133706BC6725AABC80107FD 754A8BA47B0281D479F052CE26A723EFFACB79B213041A536542AB334769A2BF 88505D82C498ABDD5A73EB539530F47CAC52825D16A969C8BB56D4A7F2830B8F CB63B92B576E7BD922A4B25E634751F8A3B7C4EBAFCB373EDC8B8281B1D1371A 7844E9AD990CFF09F0D7ED73A5CF873D2D5C9E8A9923CFA31E1A4B4CCCC40760 8B3AC8FC3C88BC08BD7407725281BB879A1A822D94997826418F1B89D303F2C0 BE7A0102E6F529630CBF1BC5BF3E4578C164A3DDE45E62A957EF3FB7F0FBBA6B CA1E79A1ED195B6A11CFB345B663C5E72FA55D80476F604F6C4257B51686AE25 8F7D159FE605DDA0AC74BAA5034F29FFFD403070013C6E2D8EF6A0990D91173B D5A3AEB98B64E412991505C3CB7C2CDE13C091FEB3DFBCAF30C4C19511102300 135BD5D444BB55692013F52056908DFAB2ABFACE81A58423ACEC59344CEF7D4A C5A3EFFFFF70759BC3E593D878281225060B97D1BEE6B26EED90571FEAFA1812 1115C0EEC892F5DE6FDD68321A0B3F10A2D771B79BD85476AF6018472A499A86 07D64CFF4550866AFE590C471C80EB12CB3A989A60BC7BED39097C12D9286E39 14C7952C4C64820B4DE44A1827B7B0B535244E93FDB80036D6332F90F95B472D 7031E7E3819E881BD0313CFA112EB3AAE943C99C47635CCA7E34DC0306C04E5D 2E9F60FF037EB11602BE74E8E6B711392E866E3E55D988F7C856417A2B9C186D 639819B4786D039B77F8578EF63C088FF28BD08D8353031445C8498A8F445BC3 D08923D32AC04BF3CAFEFCCC1E77EA894F4E846F47EF62D6841B8D8576FEAE8F 90044626869D04D61D64D56E8C51AF8C18D6CC3FEF3B6C4F7D56FE3260354948 10104F69B117FB8269292579A7D52FED688C663B643D8D99F13956612271073E 1A337AED059B7A93819A28CDF01569CBEB51069D22ADAE25C47355560F402B2E 8C9900DA82B79C64497C8494F42FABE5AC41791C2010D98FB7E593C744F250DC D837DB0EAA4F75D0016970F3AE8359878A08CF9A697A06C5EA945819151265B9 1A12122B98F79185DF852257BB4798E7DC03712EA6ED34F6E6AE1476788DBC33 9229FADB8D581BE1A63F596698DBD6DB98A092F67197A4FD4A50B648F2691875 EE2495D6BB310078F516785A0CEC7EB6E8305FDBAEB1D15690409FE32DD9CFAE DBD3866FB63EBCAAB73E3E4BE5D7F3AA44793938AAF3F8341683F0790F1D46A3 60CE083F9BEDDA22E0639A92393960F86602216FA51E2754BC2F4CD0BDECE3D8 FFAB7E0E49613DD4956C9A10AEA798BDA1F756C755BEC12147ADECAB0FB73B7D 203A11D84DD2AB5AA98FD38C1C2573570FD49A4924A94A106D2A7D850E793608 FB135853E8C4204441CDBE697FD0CB330B1C3596F32D2BCBF263237EAB362D09 DA6F531B40384DC91F30674760CA7B64BA1968F6A7FC9EBEF431A1AFC5E76D7F 2D44DCB7F61C7F6B16196B3E8B47343F572DBA8B8B21B43E35BB6B2DD5C7982D 244FD4304D254D6CCB5E8CF70E77F50812F41A988EEB3B26BF0F6F69BBA18077 31134B5A5823D10FEF6201D045AEE7A24E0F25376E9FC66340C56C05F6CD810B 724D85CC4BB8D789834A447CBBA159565D08BA5793D8599035BB5063271518E8 F6C50E7DCE71B1D186270DDC860C6DC0CD506010EB5B1FDF6BE47A9A18CC15D7 D657E58BED9EECAD5CE5D49F63139A39BC52C6584BB2C3264D51BD584B40F8EA AFCD8B83F548594386EB2B05CE803105E84931DC6E7A1398073D48E130E0D907 CD0F1ECC3254EDF5D4DDBF44415DC9BA66C673820CDB0FDF033D59BE2B5EFCEF 01FF9D33EDC88F8D522E07F1689D024DBCD09A16A63519E1764C8630FF36058D CFC07027E0ECDA01E0E85B166C613B22F587B4D355EB018BA93E92A36007B4DA 287FF5A91F7D8A0EDF5554ACCF45AC8066E88865C5692E63EB99CAC81367B605 8E6C19EB98EBFE0D2D161B447B9A70CDD1122C7B78A413369016E6D8481E2AE9 9AA97B5DD0ACC9B0820F7742CEB2F46F89F3E2092621969A88DC0156B4F941A1 6BF1546D4B136657C47B082A8A35FE96016BAF3D9679B8C32EDDD6AE6DF3BFB5 7854074FA019707FC22BFA82299E72ADF9A980AE29A8E2434277E58B01F6B03C 192E1E25DADD49F6E3F69799AE62B56E00B60A031BF8721DB8B2CB6D4A4C15CA AB1FDE010AB7DC0DDED977389B101B8E53A949222FAA126656E02817DD32B0D4 A49516CEC2B97EA7C78FD66229B044EB92F502384BCC6CCDFFF995EABE3BB7A9 50D5D1AED861E7D3BA8D333026C673C5762712E763E59261426044583D789C67 A606B96F97663F92BF104CE02FBFDFC521EC0D6670B7D4F85A229F51426DE912 3B729C4A535FB7C88D0A5E78074751B58885DD6BDD2DD9E9C83F105E8CF63DDF CA7DB39D0319CA7CC2E73F42747F007574DE25AE1538B4D493D22D0D5F0F80C6 5F6FA3937C8391DE2F0116F81DB2DB0EF751EC838A7F85F163A6F48804E84B96 8D715EF25B7E2A5CAECC558D80F421052A1D698F3B8452AC27E30A4E6226E3CE 084C8A83ADA0818A110923CF7AC7AD4CB92AE4ABBE0A9EC1FF935FD02774C1F7 92A278E513012AD17722A23C55EF82E18F8847B5CCE47F4FE3EC508BA563F7B2 AE56C94285A18DED4D432FB0CEFC05A20BC17DDF9FF919C724810A8ED7358A27 97EC93C1A13C443A91947FE1F6F528EA7B628917FA7E554A1D7B31ED46C5ABCF 92BA57961C8876DB4041305EBB029B03D8351D5E2819FF87E97ED214D8F1CEF5 7F7668DDE223721C0B810F4A4AC81CA4EAC86EAE546E1B15D91E626FB9A31824 5BFF17C4E79FD56ADBF6DBF01BAF6453A81EBDCB38A5FC0FD0FF0646B3B0D199 13E2E59A1B5CAB6DE5329BE389BA0E2A2AB55CA40B711ED746C24F1E48892E76 6DACF7DA163CDC90CF076763008E7A899870CDED5A80758E6177BE6B93B07EB1 5800A3BF7B9AAC3FA825CE594EF5B7546B181375FA8F37608DF17856D2F8EBD5 6030A9E6F6BEAF224AD2AEF76D03B023E2FCB922CB8E3C6816AABB61FE6E4F83 F21B4935102C860ECA03DBEFCA461F0E5B93E5A8D18440BCF7D1D6252A24CB6E A64FDAC8B67C4888519AA368D9C4A8C08C7155DF5BACD75C5196C571C3C456C4 7CE8D90215FA6EE8CDD72C48740F7F5930EC3632DB63A9C8D2DA125088C0F05A 9FC83D16B7F53163F4EB6FF372C6C3115F1E68EB35967D11126EDEDF0BF80817 E68A698183B3EB0A207DB43786E1B9D289359D75AD5E465328CAA90E712C2962 AE2A466173F2FF30EB535A6054BB0B875DC8552C16B49DF17CF84D98D35497BD F55E273FCBB0C735899529A69990E09149FBD2DDE64B7FA8D50AE83925DF03C8 0B63EA158FBABB12A028803DA4B9DD6C48C0FEC469C4E730729F4BB420D5B003 1918B4AE9CF35CFD31E8E62A44C0484E3D00143BF1D330235E821E5CFEAB4D31 7CB4604DB1F310457FCF9075A3527279644D908DE847CCD00B6F50DBDEF91D3E 38238CAF550FDCABA2C3A46237218DCC5A09AFAF69997E1EBDA7EFE6FC99ECC8 5D4AFD5EE35FE2346BE79B499EC8EC436868154A947D13BC02C780EBA4B9E64F 3026F1BF5DC1F8D64FEA1281EA40B4BC355638A3A59BD9055BCBB232FA45EA0B B405131B64F105814019BC55466EE78E9E9ABB62DB30EA452F7EFD7196C76A85 15B2CFCD89922CADC0F392B0C54A231F3999AEFB53C24EB0C63B0C8A1A1ABB6B AAB2F93E5ECC7AB90EADA320E918106BAAFC1F8C425C617639984629018BA674 6FF4F338AC43E23BC3740542911C058D43A49A11CB3A0CC8E3088BB5BA6048D6 CC2AD250DE956BFBE83BB24C945C20D9C22E7105983F284EF478F9B68BFB0322 EEB7D62802CBAAEFF1C2332159DCC7243EA40CE15C734EA905E04C476B178B82 A08ABCB0B86A7330C75E62EE7844C9E22DDB013ADDF20AFE08122EE1B930A81D 806A0F8CC584CB7FF5F56F9B35E5FF78FD93E7E4A40C64537464EAA275FE88F4 461FC6A467C8A69B9A9FBC10D44AC1B753D313A8E7D97F5FAEB60F82855658D1 4DCEE043C8FCDFD8A29DD091F3BA55874A458B2B8989F35055C72FC411382361 9AADC717E602B48D7C9521D3971A6F7EB19D539445DDE9EFBC5B58FA9E5E426C 172C45CDA24985FC4632287FC3B15849DEB56F5A061993AB10A6BC59868534E6 69888175053108B77E4978D971B4EC57224C0F93EEA4C15AE92254140A94704E ED5666FC06C5341F643F779CC88A9E81891565C63B6F7F6286E664F4E0A48690 356DC96F1B98026C563700772485B83BFA06435D4E0793EF822F423C93FBACA0 E5D889D2B76771C6F0EE997A5DB43C2F6921132890406E3C33F6F159B14C5D78 7C151BDFFDD02B697315F191B5490073EB418A4FF2A398C68D44F0CD1B87CF9C B52F12728B72F94D752D23151196A256908135C87991E508B8906CE2539DCA8A 31F86809C8C6C18A09F6129BD7CDC6B37E76B648788056851F22BD3E3B5772FF EC01D822B57FFDB3BAE624F05531292641FD6A7E3666152D18F6C653048DD7D7 98A942C840C4A0FA662F260B21C64214152BB86F03662A330109C5AC0A5EBA30 C6201F558858130703DF76AF4FBBEE069BDE45C0D9467077D85FFED4F9BA9C61 AED87D67CDCA453A6528AC5BA153E1039D9CCC556CEA5CBB542265FF54A1B208 E0E13740E7E7C26AA00AEE909F8F3ADC2726081A744D8EF6BB711BF5F611A900 76F91C26A338DA13A7160A9F42410CCEB3190000D963D036FDA05A29F598EF40 8FAE6F8E7E6F50C99C3304A573501C13A00023085F057DF331E3354CBE65D573 CAE73BF15B3B96B502E0AAF2B4A86237E98A997AAEFFF4227D5A26E8972C48E7 761F430733E6EF8AB2D903C17FAFBFA21C25F8A0AC157D397BF3CC1AE7598F0A 2BE4FB46B29443CE57F41FD5F91122E9D86F903E94D5B55E2BB95949C156D138 89883BEFD634311F9280C7F028DCA6408D3A682DF5B55B9F7ABF08F019190F60 D39E4F0E80F0594235B09A5320109638B938633A2C196E4ED2B43DCD8643C3CF C6123B076B7F73352F906D96FDE0FBF50CCCA432712C574D5857838BAC30B485 D25024EB254A7EFE57D1DF0892C275CDB3DF77602F0FED0FAEBC644BCACA04B8 B424DB125E487794CAB36E01B5E1A26F5E1E97A739AA36D77A12F5B45338EB39 AF36CEBDED55DCBFCF497FD475FC6BAB5530AD6153C6BD982564EE8712185F1F D5EA7ADF4104661168A01994C1FD773A50C8AD6A3E4D332E4D59521BB8BBC6C3 866EB4AC3EA4532477E6CBF6BBF0860031C3B916AA25E3492670EA67F55CF4FD 207C684A0DDB6F4AD21B2909CBA71BCE2E762012B0927BA72367A6AE0AF87F73 756C9BC85E4EDE35317E2CCCD138C02C7A8013AFDC1A48C3A4BB8EF257BDEEA7 60E012F54D12D31D18DC59D5E526F12567B8688B4B67E16B56713870300016BD A3B9DA87FDC865246AF8E94316799110D86B1DDADB8A673402D4226C519C058A 1D1E5A5778584FC28AF12819B1924060BC4F54B1054EA6AB0149E04B8C4302D4 A56D8A347EB5D3D2A0E12CF7E35059BDB53D9FF6BD25F6D9619BC4669CFC1048 C6C9978B8751B840F27D82A69075832BE59F55C1737CBB1220FB8FF691FDBDF3 03BD7D225A9372AC221C38245E48320E1CCF898D9EEDD678E5B8C65B7F588321 1A3953EEB9B39EA9A8CB72DB08C3E9234DFFF5FDF9DF804C021D57E97DA7622B 97F4CB6E0EB640E0DC9EA15C5193F92A3A7565F4C7A4C9CC327F7CD2C44900AE D9E76FFE62FC37FA376E77131B566AE67C3E09DA80F198BBB995EE8FA47EEDB8 4B467C6C7DB8AEA745CF8C56B8BE56534E9C56FCB2B7006426DFE93D728FA4CF 94F131C549814E54ECE7C914C5FE8E4961D3437CE7475D03534B62650F551D97 201C794AA877445DBEB11C85ADF6119B05360700F8CEDE4766E3A1D7A35CDDC7 9ABF7C619E3868A39D1852DBE1EEAF5D7898C78323873AC005542B68C43C5000 CC58F675EB595F87C879694751494676465891E8A897158B481F11A171CCBBD7 29603F00210CFD7FF31FE3D273933ECC34AFBCC4108D9B76D9ECE63EA06CF939 4799092A54A749DACB82C1424E9879672C8BC084C360014C9C1B6D5D65C68AED 66CE329C3AD712C0A36BE7EF03FDF339CAA2E0336D387A693B1DFAB5D5164E31 14755A158168962C9B399F8F1DF3FF5060D7464D5071058C30C572A2BC7DEE53 84BD7614A4BEC4C84E18CF7EC81C811724463BD46CECA5FB57B0F55EAE20CC74 6AD815D1897B037C197D2456797B992C20C70B663BF99FE28C513B4E221C8E12 49779F8C0AE8517048ADDF7CDF0D698E3EFE60071C4997B7F5EF12B6CB65390C 224F13FBB99FFC034C0710F05019899689B6D3350BBA65C7CE7C2AB03D81B9A5 5F3D65E4D462DAB189006669F7390A78A1B8908A4C913B15DB8827DFF15BB9A4 A6037DDB643103B937257A7DAB025F09D53FBBC2BCB6B0BCD8D56B2B2784E498 1F6CF8470DCC892AD0CFE11578718948BABF9C1427084643B66BB9181094E29D 5FBE37708E1D8A6B7518A96876844CB66954227A7A6AF28DD075A462526DD5D6 40EECC56FA366106E55C7068997B54B7F0D03AC1AD45D28C67C7ECA99DBEDB1C E18A79C353113E2E05B837E703278B202112B1C69E42A69D64B62F0E7D8F7E5B C1F93F0F99EC20EF312046F4B0CD7DAB31E422070B629A7FA96583CF3F1519CD CF08806F40ACD7BB5C960F21E9DA7FB3C72CBA0801ADE83DF738A4EC94F2977D 2B95A166BA4AE28CAD1E37FBBF49D342CDB4DF615E2C5F3076313AC517C350DE 710F5D52DE31DF69864D29DABF14234DF13904BA4333B0D714EEA55CDD79DE45 FF5D64259C877191547076B1C7684CD252C0337BD9DF66CDC5DBAA4F3102F2E8 FE48385C55727B80D11F3BE0B7568AA9356FB2B180A6B1392D620DED02F0B736 5F4399FB9D32DFBC8ED942AD311C82250DA8BFE98D65 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMSY10 %!PS-AdobeFont-1.0: CMSY10 003.002 %%Title: CMSY10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMSY10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMSY10 known{/CMSY10 findfont dup/UniqueID known{dup /UniqueID get 5096651 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMSY10 def /FontBBox {-29 -960 1116 775 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMSY10.) readonly def /FullName (CMSY10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -14.04 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 13 /circlecopyrt put dup 15 /bullet put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CD06DFE1BE899059C588357426D7A0 7B684C079A47D271426064AD18CB9750D8A986D1D67C1B2AEEF8CE785CC19C81 DE96489F740045C5E342F02DA1C9F9F3C167651E646F1A67CF379789E311EF91 511D0F605B045B279357D6FC8537C233E7AEE6A4FDBE73E75A39EB206D20A6F6 1021961B748D419EBEEB028B592124E174CA595C108E12725B9875544955CFFD 028B698EF742BC8C19F979E35B8E99CADDDDC89CC6C59733F2A24BC3AF36AD86 1319147A4A219ECB92D0D9F6228B51A97C29547000FCC8A581BE543D73F1FED4 3D08C53693138003C01E1D216B185179E1856E2A05AA6C66AABB68B7E4409021 91AA9D8E4C5FBBDA55F1BB6BC679EABA06BE9795DB920A6343CE934B04D75DF2 E0C30B8FD2E475FE0D66D4AA65821864C7DD6AC9939A04094EEA832EAD33DB7A 11EE8D595FB0E543D0E80D31D584B97879B3C7B4A85CC6358A41342D70AD0B97 C14123421FE8A7D131FB0D03900B392FDA0ABAFC25E946D2251F150EC595E857 D17AE424DB76B431366086F377B2A0EEFD3909E3FA35E51886FC318989C1EF20 B6F5990F1D39C22127F0A47BC8461F3AFDF87D9BDA4B6C1D1CFD7513F1E3C3D3 93BEF764AA832316343F9FE869A720E4AA87AE76FA87A833BBC5892DE05B867F 10FA225E233BCFA9BB51F46A6DF22ADCEACC01C3CD1F54C9AEFA25E92EFAC00D 7E2BA427C25483BA42A199F4D2E43DFCE79A7156F7417ACF78E41FCA91E6C9EF B933450D851B73A6AB6AEA7EE4C710CB5C14270D1674FA334686653793FCB31B 491E870D3C2BC654D2C1DE463EC9BA29D7371AA1078800EF93D3F66263A2EBBB F5723697BF7448BD0D2E301544BECF497FD475B85DFEF52AF4F8F8BE445CABE6 019318806D10C5952157FF8F8286C1EE701545C8F60EFA854EAE66835A2046A6 915D395F1E0366EFE0C0391583FE001FF16D82A2E2DA5F57754A2C6F69306E36 356ECF8EFC3F1188AD6FCD2427E0580C97A5B69B4E0E09B85EEDE142F5ADD2F0 5DE51D6DB72B127412A0D57106C19CA493048A4F815129ABE767D51715B1515D 9C21067CB5BC88741B7298C83EAE36A866DFA87D8981F179B1C31292F56BBB64 3C430779468AAF07C8A8B4934E1E775FE3F35186BD1FA6EE3689C1C750678AF1 FBF9B23195A124C5C991FE670AC0C86FD39D2B07B9A319E74EFD498B45820252 720ECDF7294F7B0B137CEB86D33BFCEB8606985A3260FD669E461C8BE94216C5 D434FD8854F44EE66E5A289A9F9E32BC36AF645D53F96652602BAED418C8D726 BD04A1B4617551FE4DEF54083D414F7DCE004E6BB2DC9C2EF7CE232B254BA2C5 7DCBD36C2072ED46FF711F121A701E2284BF1B718B3164382B8F453D68FA0377 DFE106503B8401D4DB87F5402A3AC9A442FA060B0610A9524D530C7157C26B56 AC970FCC1D5655FFFFA39246E6420CF97D08ADFB7B05822679BD40C638DDF0E7 A97BFE8918B611A145AC965C203F1428812F9D340AF499B3A915B22BE798594E 0F520109FC81E452180AE45B170FF999C5FC2761C6CECD8742A5A6FC97F16743 AD4EFCC6572A6D3F3E4E330C5CB2FF6FEA48A5B64DD3DBE943BD9918D4A18E18 CBCF598AEFBB6AB3CD2CBC9BFD6099272F6543F3E532E0E21E614BD2880B1023 0AC234CB705827BF016DB84E00E8C255FDEFA0101A842929540B7B4AA8A089BD 5EFF05B72356B6BC3727817823B5CDBB1B963103000D7F2A4E2A1472FC3E614B 5CBCB6D6D784023173DEFEBFA8F9ED87EC1A0A9EE98CA59CFC964CF943DC683F E9E00DA718C4425A705A69D99988EC6F152525C790912C2E46A2381A569424AB 54DF4798BC2D7E7A361E7991641D4B756CE2A7FF4A2848927092C59C2C4B8809 E13AB84FB6B111E680D7FB9F2FFC2C5C66B0B501E4447C2E46C10E2F6124476F A140C404CFE2DC9E0199BF61E035CEB481D438139A9630934E541D261FFD2906 4CAD99E20655FA746AFB81EDBB5601F5FD6B1D6832A01D585E2C55053F6A7378 4DAACCAC7608DBDADAAE732D66B3E7F87E79756337C1A961E53A4651BE7C77F4 038B89C87F650C54A2A90EB7F1D525BB353F33318551EE8D84A6A83C718EA5A4 B2AC0F7306B1E095819B87015A90CA3ED739B09061782C28CDB36BA4BD5E5308 5CBB70414E4112193DAC4A1FA30996327230D1E021F3CD8115E12D239D93FFDC B645910EB29E40D830E7BAF2DB255FD7C4E776557BB38157917D993EAC245837 A3B515147043574157B8342D829C7228CCEA843ABC89D1785A9672A5923FC4CD 2F3FF27E6FCACF84E2D3136CA2C0FD3EF1EE7354CD04C38B5FB874553646ED2D CEDF7E362EADD04B18051F20A8FB0DE18E152385B9D05F98A3A7EF177824E246 455ABE69E2F700EB78185CCFC07E3B4C6FA301112528D977367D30D0D5D59EDE FAEB706DDC970A9E296236C725B2B55B09B9C336B8E23CBA5FB8692D56F33B03 16294E5FC7FAA42E96395A57CE51CA8DDD77442F142E2E576B778373FB31C81C 16840BB422CA827E30A81829648BDF1CA36700EA32AD888D097C1FE0A05B2D9F 483AEE40269DF09AF0D1AD3DF80C45DDC59C2A03FBB661C79B87853737C6D352 67626B657321B16198DBD6DB98A092F17878AE4698121E1006E53D6F9B0A3BE2 3FB68828EF854A0CDBAA68B37ABCA6AD4A3D809AAF0BAB1697A81FE59C98C472 1E33CD70A75A22C249DD11D76C2575ED3370A25892A16D2FD569CDA70C130770 93F493C7D47D6F9A5424A7A542BAD726BFC3AB225DCEBBE6AC4BE006F8C7C0EA 051424B08305BF2D951AB2986AAFEA04E078CA79B399585BFF0F1ADCED02E15B 8765EB6BF6A8E4D0901EFF2C3AA104924EAD9637A35D877E0C51A3C37DA78CD4 8643C8CE6DCDDE3F116A6C2390F948E5371BEB5AD2E87B41C5F01FB5C196C436 6E256A88D082E3F46E4EFFBF605B2EFF1E9D9AD5EE4DDC323A137CD9451EDEE0 06F7D82898D71FAF2362C0FCF1F726F97F820305B7CE20728CA08C63575083A7 84BA28B7DE2B916432475510E274C12FFD1660A717F51DACFDF0A102D85224E0 D6DB607BB72569ABB8A7BC6A10354CBBC01732EFE35B72062DF269CB25EA3DE6 DC603B04C90C5912D2C38D7A5ACDCDD3F6F116D884F0D8C528F69D5D47BA20DB 0A9E585C7D8CC3C324FE8A1DF150279F7E8FB43BDB720E624E5E9918032C02CD 8020636AE5C38DA2484B7F4B34163E0D0A561B43B80E97746DC05C871AB620EC C5D47101ECED4A7E25F291184BEF8B80024AA7BB456C1B83A907652B331DEA34 754226C39C6889EBEEFDAD081E01EF8FE47751987667836FDE4C8BB8A3FD4406 1E643B4EA37BD370734D1A2DB17C2F4B74B4ED75098B433601F75A88C9A37A05 CCB157EF6E32023BFA33973F3E655A4D58289136996FCFA61EEABD70791B6523 1FF5DE71AB8A17038923118A5EED8D59C4C58D246FFA9BB26472346B40C8741F 153D19CAFF20DD2A86C6DB89154A630FB1761929FC3F0448EE2F089C1C953E02 905BA8DE75D101A982A611056C4B237596C10951DD98BAB838B742D3CF7DE718 617DB72E5268583223E37E029D1C8FD3F1D21690151F76B76C52C725CA135CA2 8666553E863CE188BFC9B99AF56AC2DB5BFEBEB12FB563D00244EB89E478657A 98AF2E1223C1ABC25A4500E8119B86EB3C26B8A2F3505A3E5610F89B7C34E278 53FA0A54A7F46D84A35EFEC36AE660A9E3C37EE3864106702DE5AF6C45ABF64B 888A4A51323138CE77DB935576FE6B4824B6942DF80625098CE1B5B32B234F1D 052A9D6039697118A9D793793775D8729D8574A2E74D7109C7B7E23BC5E2E87A CA8E019203952A4892544E1AD3D4EDD22971611358AB230E9A2ABDF00A288501 A01B67C42B33F6B78C39562DB50F4663B922D9BE0D8A150311AE44B83C1F129F 07337323E9A23211EE58E16043E127C6F9574019179F5635648A011266677B56 B5D0201A4E1470B952A1579B57AB2329CD4C615395023C653F784D36B5EE3672 10D191F29EA508CE84763CA4CE7C2C5229E38E241255A5CABCD6C7CBAED901A2 CA53B5E24111921CDDF83578D33D463D70EDACA0E470D8F592303FB6BFD68B4D 3F3BE2D7C5EC8BBF10C90111A33E205F2649B56E8443F6FAA6C721C66575AE12 D4C40F1F46CF9E9DA675AB5D5840D938780CD9E4AD6736ECBEB6A4397613586F 849B51048AC5F9405E03E14540A5E5582F61CDCDB57EDDF95A8C6705F433EE16 648F098C03DED8A2AD94AE3DE202D629B9422ABB031318D48F2C85F9DBFA17BE 84708AA3B6C9F81F4508F7A5CB7B6646AB8722ECF817877B77D473F577556DAA 2BA0ABACFCF5DEA7498C47328E873019A956FBB250FD9D8885D21D368FA70CBD 2709D2DA44EE7A9869963EAB48789541906DE49FAE785ECE1F18A22C7E7ED204 9768896B78E9EB7A2BD6EEC1B26083940656ECD689D92942CC8AF05CBF82AED0 B45A7DF4DD7AA6526FB597322560B9ED3087A65B5EEF1371C328A021411BFE3B D9B5088B2F1AAE381FFED52D2D1E02CD0DA78683E3B06171CBE94BE9760005D7 135893D7CC2DB097F6AC664D9594CF1C650F84DA80D2EDE04802DBA33CE3DAFE EB7A37E8AEFA4FDA6252FF21E8673DD98E67124D5DBC7BACF361E57077B71939 C1D1FB923E4E35C075CD1BCBE0E80DAEA1320D55B43EAB45D9B26C366B278782 7519FDC482D98839BF0DF2E7C3A56A1C1A3FC0E57A75CA414F6536C1FE8EB7A0 4ADFEE3BEDA0F53BE8CF5F64230784A797133E8CD46BCCB3BF38BCE38A73CCE2 9E073ADE792F7128231DDD1F63E6156ADB2609C200837C2E8A2D93D2A7BC9171 050C709A71E44E32B1B03C92EB5CF1D3BAB1C38E027DC4ED9AED633D98CD7486 3F773ACF8AE332631CF2ABE6D606607593FE862ADE31803964E3F4DC3CE3A271 C76BDD95C87CDB3B87BC26FC7A16D567EEC62E6FF0D471B4853DB8A94D4CACF8 843824F818083F10E88D52FC4253E8203292CB40F1414AE7E51DD7347007C342 CD70E8E9F2D2A13D71213B841DDEAAB208AD9EA644591C15DEB084165F9DF24B B91D3BBEEC2E34E38EF16A0C3F00700A7BDCBBFED2EC0D09601AD6538288DB50 3478B051B5E16B604A0341FE621A58718D960D699D3FAD284310DCF54EB13175 19A75A539EE98E804AEA24689D3540F0F12951A3C01FACCE9A7BAF4D0DAFA946 FF65A4D2A4C39969607272C6886F44E90ABE27CA3A1F12A29D9B32E60E8E34F0 17C5FE43D0E69A99A922D98909B2BBCD145E59A5E7F5426B3988F73B09A525F6 8BD4915663C1301323180E760BE81CB874B020FDA3AE63340E4261E4F3E4949B CC0966BDC4426190BE9F5D77F76A72AD925662E5FE1CEF9CCAB68F0BD33DA003 F11EB91AC4502FBD6AE48DA0F9D07C35B96B103E379B8A83A05FE728F1716194 1F650F75BEBADB2E3810388F3E2DC7B19F1BA9E32925F2FD9F19F4E8701F3E4E 4069125D7C401144740691E7A460021A47B1E27997FC1DDABEC5BD0EE0B20194 2D579C7D6727AA124083242BDA46D8E116E2751C5F298851A62B60AEBE82A929 9B9F2492BA35690D1EFD16215B8EF14E7A3803B93C28FA41D971B05B6AF3B593 E74AD1E68A5FCE12A86E63B78BFEA87D3949FD164F12277A4688BE96356791CB 8671C49365608F3EDECC109321AF92B4C29CAF073DA3A7D73E913D0D83FAC5EB BD884D4C686056404DAAAD6F82F94F803FA1FB0DD8908D1DF08FB87A8BB83027 04DE0CBB1C6FEB6B517FBD7CF065120079E608CE41893C2BC96A347826CCDFD5 C69E161217F2127A59F1A6F22037641613F191F22D5B4CDCBCC2EE5615623404 ABA7BE6C5FE475481615B2AC1A2412E54688DD21E44CC9AF5F16E634AFCA389C 4D740B7B51BB141BFAD1080E7C726C1606A28ED492E6BDE9F800EFACD1513909 84E98CEB6A0B7A2A6F3E1D1DCC3B2552795E0932673E59ECC56DDD37A1D52BA6 C3F0E905978AB568941A163F4CE3AAB5C5B16F86016EC47BA6F3F7AAAA77C3B6 09C8C3ABDB6D514A76ECD37C37AA88B5860630B3406B494F7725975596F84777 D9CF48686EC9C5DBCC1D78513F591C7C10AB9D153B3D41426B7BF668B0D04503 56BCB686258462C1DC61095724B9F3312316262FD7C1AEC6E54DE7E5A7BD8EFF 035299B8FD8A4A7B0F51404F4A760F4D8B4C0FB7A32FA4B2383AB6E9C78FDEDB FE6A5788D38A6701B123630C2A6D820A684166FBBC83DB17069494FBD411B333 CB37E2491C5BD035A33867A6D3A3D420CC31ACF43AA07182CAAE67E40EC63663 B678F71D4C6E0EC3A0AAF904CD3AA66E0DE5E3CDE049E94249B39A1C06E3CE9A F974B2484BB2CDA14282B9511E505B3C89F9C802218AE40D1A7541335C5736DD CD565D4B9F4CC78F3A393737EDB4FBD0DA299E21CCFEBA5478EEF013F0552A8B 0BB11FF46CCDB784E8BDCF730A16363E66572049E42C695886EAB42A9AD9094C B635DF4B5B9BD9B9AE8455DFA3EEFC77653190F9A8B1E93B7281C2A21EA7DDA9 33484745BDF7E3DD63C7AC66C286C9A5A698A5E4D7A91710B7FF943FB23609B6 4B442F83CB795788FAB5E9CF3F75D5487DA26170E4561C7941C910B088C3B86D F844B0F340CF82786A3FCF347048463EBD2006281A816627065DDA6CD4D3AC5E 2024BC96C7D896381BBB567951E7A1F29D4E95351298B000D29E5F3D0448CB5A CFDAE1BADE9403B90371C3A07D208948AFA022A69C519434B6813086ADF518D5 88E0B92072A44BA1B3EBB630A13B7AB90992E85B6D67361C8D96F3E0D826FF37 17B67E4B1EB7BADFD98D7F4FD17BECE740ADF13C141EBF0A91CB105DABB32FE0 55086D56A0D358841D15FD349E6B95512E4EDF4C430216FF85C2ABE995E4B40A A6044CC8820AD885C07E052B3F91C2E9A1D163BFFD210F7BE95B923E2500DB50 2075106DB541C267BD450B25B670CE80BCD068D4DBFF2D82634175B61FBD3BC3 406131F44C7D6F18D375D1F2270829DDF29DC14DBB58A30AC193245D18DE91F8 AB88AB548D8138605BB5A50073295534E314366E26665AE70482B890E4101D6B 60E4F3B37ABCA1346DAAE8FDB8DD9C832EFF3E73BA470E2BACE7B8515CB43388 C27AF99FF9322175CF8D4947E6B3846AFF5163E972156847F58A66660EC8A3A6 5FB47C9F637B4CBB4C73B6A080B0CF6FD1E9665E92032540570FFCC747C67C50 822811AADC404BC7ECD1673E8AA6C3A2F1D82F39430B58C29145E2F1B679C46E 94EDC711883F1E4EA84117A54757E8895A40401A26E1437B39A2F65CAADD6E02 D71FA8AF7453668DC613F326A3344F74AD7AC67569AF399385500ABDA5EDD3BA 343CC5EDD4B558467626850E752B9959FEF1454E53E7A3DCBC2255AD8F6AB4FE 894455118A61C58840CB68A925ACCAD75CEACE863D806916228F0614191A1CD5 DC9BAE256018615AA3725834519449B0A88B4F396654E74099C007930ADB1327 DD119BF799FE3B0B223E1EDA04FE2DA7A1C879143E1C33B6C6344F4BA033AD6F 8E88C33DEF1977796B454BAB2494C930F492A518E8198C708A75FFEF8C49C324 A718AB59B889DED521229E741FFE53F98EBE88B0405AD523254FD3FA4BBE96DA DA1C27C1C979A0DD4E61C3B1F4C4DE01E42F1C4435EECFC02D97994BC8AF5270 E7CB1458D76ED0229C5FFB4A23B8716018F9050970895D51722CDE8F2EA3D947 DFF374D84915D5C5D16463A6FFCD079D1ED416C4347BF831FF0C4ADFB61295DC 4D5785BB0852BF472CFC97EC174491CAF961AB90629F055E75DAA6D9898E8653 5BCF379816CAE46FEA62E7BE8E9B953466E51828172C4DBD0E1BBAD1CE28B5B1 02B3E36403BE80B49A47446A6677FCED438F01D60EB10F478C89528FA337D0D8 88D3FC123C076507ACDAF783A9A6E24ED73BF24B6E0F11C13E532DE5F70B15A0 657F5ED27D204449A841ED19E01432CFFE928E921321113780D036D34F2797DE D4459CFD15BB117B5C9745EF3CD2B296D91FAD48C80B136D94476967E255F808 AD2B5D522ADEC64176833756510391815A1D4A8DA1D0AEE7CAD36A1D161889F2 3347D5B6BC503300FDDD48F594F391D5FB42C42113C538E707C16EE24A3F375E 7C506E8F49CE50FF9DEF3B4A4C1BEB3848EAA3477349833BA22D2A9012287D8B A8C4CB4307A1188ACC0E6E9338E1559BE5FAFF381BD82A6C71C267409468B3C0 2C1A29F4281D565836EAE57F680490FEA4A952FF64C8CD11C377C294DCD1EC25 CEFB2B6DCE959D0208F85B6E32E9B44FD455F9B134A5306D95EA29F37BB8B86D 9E592159338E1293F449380E13C21AE42E6861DBBF4AE99A7469F871A3940835 FFBE7F316FA9BB834EAB18625F0960352C75105A92F175850289B1AE177E0D52 E43635C41B85F75CFB706BC92B0BF90367E180A141703EF69FD064C0FA34618A 5D9684895C3EF50F4AAF6E0F78D483280942D3F9C1A18FE7FA657928477AAC74 ABCC21B622EBE2C0AD9EDEDAEDAA9A6E3D96E01CC837668FAC44FB52307CE618 BE8399078154C80E7DB52F0CD16717DC59203497E89D69B390E9966C19D36188 E47270673493F7DFC14C72B5B4737AD52783C573B5F12D50E9D54AD65C2C310C 72BAF2A8ADAD81ACF0C49DF971775F2DB7404FC9AD6B30C947A348B28B0C042F CD9756359BA6942D643D8B7BC54E6047DFE25215CE5EE74CC3076975A3F324DF E8D80F42AE4A1C00B155FE56A61CCC09924E4D7DA7EE07987C2EF9E91AED55CF 524C54E553030B5F 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont %%BeginFont: CMR10 %!PS-AdobeFont-1.0: CMR10 003.002 %%Title: CMR10 %Version: 003.002 %%CreationDate: Mon Jul 13 16:17:00 2009 %%Creator: David M. Jones %Copyright: Copyright (c) 1997, 2009 American Mathematical Society %Copyright: (), with Reserved Font Name CMR10. % This Font Software is licensed under the SIL Open Font License, Version 1.1. % This license is in the accompanying file OFL.txt, and is also % available with a FAQ at: http://scripts.sil.org/OFL. %%EndComments FontDirectory/CMR10 known{/CMR10 findfont dup/UniqueID known{dup /UniqueID get 5000793 eq exch/FontType get 1 eq and}{pop false}ifelse {save true}{false}ifelse}{false}ifelse 11 dict begin /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMR10 def /FontBBox {-40 -250 1009 750 }readonly def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def /Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMR10.) readonly def /FullName (CMR10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle 0 def /isFixedPitch false def /UnderlinePosition -100 def /UnderlineThickness 50 def end readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 11 /ff put dup 12 /fi put dup 13 /fl put dup 14 /ffi put dup 15 /ffl put dup 33 /exclam put dup 34 /quotedblright put dup 35 /numbersign put dup 39 /quoteright put dup 40 /parenleft put dup 41 /parenright put dup 42 /asterisk put dup 44 /comma put dup 45 /hyphen put dup 46 /period put dup 47 /slash put dup 48 /zero put dup 49 /one put dup 50 /two put dup 51 /three put dup 52 /four put dup 53 /five put dup 54 /six put dup 55 /seven put dup 56 /eight put dup 57 /nine put dup 58 /colon put dup 59 /semicolon put dup 61 /equal put dup 63 /question put dup 65 /A put dup 66 /B put dup 67 /C put dup 68 /D put dup 69 /E put dup 70 /F put dup 71 /G put dup 72 /H put dup 73 /I put dup 74 /J put dup 75 /K put dup 76 /L put dup 77 /M put dup 78 /N put dup 79 /O put dup 80 /P put dup 81 /Q put dup 82 /R put dup 83 /S put dup 84 /T put dup 85 /U put dup 86 /V put dup 87 /W put dup 88 /X put dup 89 /Y put dup 90 /Z put dup 91 /bracketleft put dup 92 /quotedblleft put dup 93 /bracketright put dup 96 /quoteleft put dup 97 /a put dup 98 /b put dup 99 /c put dup 100 /d put dup 101 /e put dup 102 /f put dup 103 /g put dup 104 /h put dup 105 /i put dup 106 /j put dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put dup 111 /o put dup 112 /p put dup 113 /q put dup 114 /r put dup 115 /s put dup 116 /t put dup 117 /u put dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put dup 122 /z put dup 123 /endash put dup 124 /emdash put readonly def currentdict end currentfile eexec D9D66F633B846AB284BCF8B0411B772DE5CE3DD325E55798292D7BD972BD75FA 0E079529AF9C82DF72F64195C9C210DCE34528F540DA1FFD7BEBB9B40787BA93 51BBFB7CFC5F9152D1E5BB0AD8D016C6CFA4EB41B3C51D091C2D5440E67CFD71 7C56816B03B901BF4A25A07175380E50A213F877C44778B3C5AADBCC86D6E551 E6AF364B0BFCAAD22D8D558C5C81A7D425A1629DD5182206742D1D082A12F078 0FD4F5F6D3129FCFFF1F4A912B0A7DEC8D33A57B5AE0328EF9D57ADDAC543273 C01924195A181D03F5054A93B71E5065F8D92FE23794D2DB9B8591E5F01442D8 569672CF86B91C3F79C5DDC97C190EE0082814A5B5A2A5E77C790F087E729079 24A5AC880DDED58334DD5E8DC6A0B2BD4F04B17334A74BF8FF5D88B7B678A04A 2255C050CB39A389106B0C672A1912AFA86A49EFD02E61E6509E50EE35E67944 8FC63D91C3D2794B49A0C2993832BC4CDC8F7BD7575AD61BCDF42E2E421AA93E 3FF9E4FAD980256D8B377043A07FC75D6169338028692CCA8CD1FE92FD60AD26 D57B7519B80A8F8DCE9CEE5CDF720AF268D3C14099498A843D76E3B6C0328F24 D36EFE7F5C4E5B5C612786200C8DE3A41EE5F1FFAF4097653CFCDC8F4FD32E0B 03EDB3E413283B9EFB0AC33B055617005BC9B0057FD68C52D1B0E67F0C571685 767F2AA85ADE4E0104A1C777733D5E318A22A9944336E5B98D965E50D31F357A 8B6EA5A0EA98E1B027CE68C2EDB149EDDD04ED74A1B3D206D471A0C11C11449B DE190BBFEBC08C9E1B7513B43DA3134D6B11A2516E6E86B67F68C970A320D05E 94FEC57FB347606DF89989C33482BD09D011C55AA920319E7B26A205D3D0F004 22466F09C0482A164CFB27EF6ED2B040ECCC3DCAF345B5A73676F193D43123B7 72FD6CFC5E37930E61EBD5A6307E4DE70194E6384EC0D79DB6AD86D3B319A31C 8B0589D0FE28241D8ACE280D0530EE99C80723E560BB72AE9D53F4713181F491 344B06D3027BA4E9E94D4305BE1D817197C54C8FF56CD6964165F6448ECC8A8A 64B48B4F0FD69299A137589E2491A283509B21A3A5772F75B7602A9F60AE559B 07A58436D04222C73EAEA72DE9A5A441F88D27C11F4F91255EFE280E91A4ACAC 1E98A4E5E6C57B9AE86FD218C3CD8F24A4104156A80F13821384E529783C52C8 78B94AB3A0096090867ED32E8A30980E737922037F75F062BD83BF4F5929BC51 CC22AEE2DBBAAA001CFFBFF41D258424FAD888FFF1BEAB796A44E3126159E120 7E4025C676CF94888A1971AEF8B6764B3AF4A92D36FAF6FC56FD049710EE3782 BC2CD84FE2473F133BE03C1346B875463F126DCAB15C7A9BCC9A727D23611462 4E8D2BFD2466600285D79518712B8681ABCD69608E6AA9578F7BD771EC36E01A 5A17BC17E375020ECA59B43790ABEB9DF5F4FBBEF807E5699EFEAC563E1ACC5D EFA336E75DE6D8248E9381BB110884FDC89C2F9A41EBBC9A8A1F98E6A41F68BE EE30E25CA148C1EFF42DFF8C214A6537AB11F260B8C329A4947B5FC8DC9C5622 4DF7BF4FBFB00380D47BABB03BC30627AA74103E553F55278F538EDD8C1E64CE 0F1398CA0AB5A86630139B4A7E8FC02804CAFF3830114640AE50D2FDA3B561B5 C63AD7EE3347804CBB40FB1E77A6C89735DD870351C3A1811591AB493251B904 314F65791963C0412377C1D02362C5E9655F1C3D4803CD379A8EF24C48218C2E DF1165840462BF37DDE1B8D5FF09FA2C3B261E2F1A65ECFBE5D4EAD43B52C029 EEB3948CB8A252CBAF545C8FA1C31E920E23A12DD7222CEF2D2A513BD758EA13 DA33BF5FBF1D734653EB83DA2D374A5B9A0CE316F24EE375D6DF6BDA49954C2E DB25A88821193636119D469BA66E5DAA9C92520FD4F84426A4E54273FA469084 7517817A6EE3E21176D333825E88046F50B3CF6938AF9BA79A2F51398239EB91 1A2D07F7FCD948427FF62F40FF95E39FE1A1AA8451411563FD5388472251C155 69BDE9283B41900B21EB1190D06E6B13B7794FED020D2C1BDD205AE77B084BCE EF628249398B496DE85B406FC2E1939EF00DFC84C07E26CF72EC401BAAE756E5 7F6673216E7560D1C2A723CB405EE5CA474A07F61B81F8836482F73DC9516D67 CE0CB770EAD755B6B356198B4B97EBB29C63456953270CCC8D5650C1D006E69D 38DE2DFEAB27DAD50A817F0D645D30AF5B75A7B53CBD3D2B8D87BD0A7E525AF3 22F7ADDFCE31716914C2318260C2E2B4664893921B68C5A93334A361D94A759C 0D7B146D6FD94F0442D672BDA0F6432E18F3C5DFA37ADA378D95B75F413C9ED1 BB5C606A3EC7DFB3F796F59B0478C13FD1900381EFE0BB5242D5B5D34D03AF1D 4BDC93EAF8020E26CA23C8B0E7DDEBBC6762A557067A4CE05A524188A8F02E2F 3625DA38DFCF381727887F5646A3995A8A38A5FB1E5D5EBB395FDD0B7C8E71AD B48EEDB62AB2CE99D121435EFBBFCEEA69AE9ED8238B60CC7288DE33C766CDFE 15B767B4AE2E6CE0965E77272AC9F86023DA620548CFAC85BC751C44218A29C9 849F1C2DCBDFAD895B54E51A569952ED50F82DC8A19F367E7E44643854EFD6B3 FCAEB04E55E4661C82D31E2932611748480EF61FB2FBFB0CFB940BEA81AFCD84 4C6A6332D7A600170E38A8EAFCD4F93DC153C43175434C86BC747348FAC61B76 1FEC9027C1A193E55C80F1F20B5317AA0A05AAA36AE235F6E49F06E570FEE798 84857D7552EA92EF3EFAD52DE39C2F8F43C59E3A957B7B926FC95FC4B60186DF 7F3523EE2AB74E294C8C4BCD8B4975E84849E0FBDA6C0B0F24A636DFA578B122 CF97BC5089E21E9F5298D1C9F30CB8BAFF6A3A11BB4D9A0A5CF2B18D055C44CA 4FD4D8FE1AF3630907DE7E585AA811F9CD11FB2C8FC791851D651009FA5DF20B 3C33FD2FF848A9E3F5652BD294965A332DD3F246C91B0ADA34017FF2451D1394 F9C3C95AAC6EC8062BE98E8914D51DA6A164AD13938693D446044859D03A949D F9AC5DF4A000CDA98BB516D762CB9F6D44B5268FD0C26E88BC4A760C0F75A140 DEBDECA4F511128B7D2805872160C55236F0A0FA7637FF0D4E94AC079CD3C8A7 D03A5A56F26B0438B577C46011A10532FEBCAD14FBD6032E224F45691A726886 56F305231EB2FCDF59C8BBFCB5DBD2D093A0E84D62AC93A2312CA69295E937C4 8DBA1802B85F54B5E7E6D6216A918F911FF705D3B5CF055F1D873B96283A0B53 59344D910CD396D883F6F7836BA65FAB4393A773A8F6BC298069E5BA38210EED 49C9D920F718E3FCE692527DC7CCE6963BF744F2C91BC5952564196D60574E86 87A0FAB21F2DB2BD5A51D7FBD8FC19946D24E5A228462C4772F978E650ADCE3B 8D66B9C21279C531CA1C3A8ECE3420BB65837287A7222CC3673A2A5F8BBFDB60 C719CD073EF9A23675198462C7C87B24CC92D6AEE5C25AC63855CC3281494342 D28F3D2FDE0C183486769A4FD5B0143193D31FCB2C2A14E487BBD96D0BADBB64 D1B56021C363A795BF10E2DB448261C363A54A4AC1182B470C457AA82DF3F5D1 F4B329806141EBD53CAE309319B94133D7EBDC2D0453A905ADD207364371E178 0A95C2686E3B34C4A978BFC0EE968C39ABA00889BC5149162C2B54483D44FD3B 5CFF41F611C7E03B94945F414560E874D7CF27FFD0630890D7D7EA66CBD15448 229059E1C436BB33D69552B5367AB5D53591C4678D0C704DD3EA23F5D9E8A7AC 17D003C19E333E726FFFA2961F33C70F429085F7BFE3E2510F59B78F58B19CB4 01B48E184BAD9020FECCE3AF52048A056981DAEA02AE78197E65855DDB170616 F54278395D9EA50DC83761AE759F9CDEF9E1948E7002414FC05286ED793E6662 3347F2A9AF8917493D7305B92CF93E8E9185F70015F5594084298A6C2F9FD3C0 689F262AC9FEDC9B89577ECDE92F08D3142209FBCE7B5C0A840CC767BCA56C20 4E4E545E2BE4D21C53855CEE4CD0AB35D1A604C0FFFF77DBAE4289752276559F A05FEE65F45ECAF44E95E23FAB6052195C7948AF0B1126482D4E02D72BF8AB03 DE0F1A632F7672AD9DDE70EDC82AA993678A82BEAD0BC2649C4707FD8509810D 364B5C6FE0E10772E95288C622C2F06C634F4DF8C7FD1432BC9310D5F24FEE3F 7AB324863D6DABAA1576E70643CA79EF4D7DF4105093D66CEE0F3B87D2164A7F 26EA05F5C4645B22D3E1BFD2219657712C168FD90DE801FB0F32759E80DEC1E1 43CEEB19FED12D757205043FC98FEC62D6A8D8B97BC083B4A0E985AF7850D6FD 8716B9957C1C35A0675BC53DF672C425C79F43FDABAEE7D63F092CF271C9A9D7 C41F40C4189510987887942E60A412B3EEC84C9A6E1AC7D54D528F5604B72C08 94B7882621A5BF1F325B92FF96B80878CC550D1AE4D8196E41CB1251856609A5 C4D3BD05A922D0D45E039D9450DEF8490A3E924E41434194910BF60BA1B08BE1 B41824345627745541A4F1703E956328F6227D11C74946B38CFB096139979E56 4E723B889B44C6D78673868C89912F8B4F0B4B485F1587A637B630F92E6072D5 7F3B44EA6FD96BBD4FC28A6C1D90805E3BE3E42A7BC9C880762966C55BC04E01 204D083AE976FAE6F37C94F27E68F8C0F28D52B17F6C0FD7C9150701FD78F8CE B8E8DC9260E3974005EB5CA728171F482D765016C94D4ADFE4A42EF42212BC56 7E4EEEE8B0D2A7856CD4E44F55C0BAB762F92CB8D64C17022D4BF3A47C12F5E6 279FC23101FEE93753653CE8CEDC3B75C9CCB29BF1D4554C6120DE8EE750FCBB E38B5D915206974962E320362E59B3F21B3AB1875703191043D03284D4467346 CFF2F98CEB4845B73ED8E003E0DC94251B73E13A9B51A3F1430BCF6A21EB9B7A 65E17FA411F53BE6432F1506232B8159E008FA257F884A4A01AC53BE91754D78 BF14A5B0FBFB9C31BF4908355F8A762052968DF526D118708CCB0B7CB5BEE285 6DAB6CD2E3934178E60BECB11AAB5478623CF6C50C92F8BB5D1A583609028FA7 B8A53B791BDC9EF76A124F3F7641857E4BEA0837CB36176EC9A522EA7F41B8D3 63C37D1145367BD300F17B54522A834BBB74DE12BF9EB26ACE6F24A046D58F89 4D4B7DF74875F1A0C1C9D97BE0849593D7B398EB4B00BEBC8C8D1497B6EF831A A35380FFB7F1AFA4D888AA52C9482E8B1755CC209905F98F40D95B44D4DCBCB6 67423D1BC2F3560FF0A8B4F0CAC352A4EE2C1D946E45AAEC8A6AD40303F3382C DF0756BFA3B1ED64C169E56ED1C760F2FF0E24DC5C9F41306EF8D2628153D30A 5DCB0791126BEFD4947D7EF08301FE015F2B0008DFFCBF9F2D4D859FD43EC7D9 C5BE237E9BF6665B7B1BEBB362F0C0C3A8D86010B9C97FA741C97C2E0513386C 9C26C235B14DD2A58BFDAC7B5F63DB4DA6D5D37D0098175A9071590E1DF66A3D B8173A047C29D7D35557F06132CC920B5460B8AFC11D23D09A4E45D089F5EB51 963FA1A6256E359D485107FD143B2BF21FDE9DA5744BC2615E86C31C89470CF0 D06C6397D9FCCB316EA9989430240759D2C4945D941F159FC02327F34B042BAB B5C3A47C78E8C1A6FBCD396B1A51CC4B020B8AD401841EDABACECDB482D6EC5B 72D2BFEB4556720FADD49D07307C8B22ACB7E310CA4151A85C71EEF70E8D15DE B3B00F26E0E166C14647A65ADA228A3D1C89025BE059306565DB1B1EFC37D358 8C1EB024254AFD049BA977BD4C2C605050E17940A89D0D4C5D963E792320F5DB 3706682E03D25D9E02487247819551465092CC22B6B56E93F3AB528038FEC3F0 668F866707A19B0463BE706EC729D2EE1653AAC7E29BD25BFB3241D4792F5152 ED415B4E7FA92C2EE5A22E27E8B75542C492E56D811C192E95542A6FE0BFE5A5 69273C2ABED4300D491B92D2AECDD278404CB84B1BB1BD7AFEC858215837D118 C0E928BE7E07CFEEB51A6D21375B772B8248C994564014015232A0DA4BEA1754 3274F407FED0837A236371F1A32056240F2015B1E7F4B2CA72C6B58610A66F13 407CFFBA5E0A2893C1F572D50F51286E9133B5A84239C9493B0574E77D281D01 11D00683354A000C9700EAFBC1FD104EA19DFCB87470190E7E2CE26E3A6FD0FF 2620B87B82AC8686B6206B530F17E9348BC7D04B948348802CE53A312443DB87 4DBBA5313A6A2A8DAB8A1CC9A594FF8C299281C0A261C8CB2226B732FBEEDE40 2C6ACC74A1A61379E2E1CD5548CD908268A32FA83D8504C442EA0E183ADBF7FF 9FD09C037AB03516ECCA93FF048235BD11A25DB07F164512A079C5392AC7F889 CE96AE5C8D9580BCAFCC087C35E76EED1A671E87C12E3045E15A687134736DF8 DA984772AFD189D68571A2ED7256F1E204230E41D3D9DD876F938951714A3973 0CA9310489F8E807C1C7A4E51AEA5BC030610A5D7263FF7E0F9FDE3E5E37A362 5B919000BD94D978583B942EB79CF2BEAC33FEBC9A67272EB10865BA8FB75FD7 9D280AB59F91B96C16C982DE848D76D8FA8620DFD7C80B7DEAE7264350D6FB3A EF04794DA3305844A7CF718F6D1A4A3AFF6826173A076A1372ABFC54ED3AC6C2 09C9287FC830556CA694E21CA5342ECA7B10C90AFC4783D841D7B1E34FA3DB7A 2B706F3E21B0FBAB23E7257962FC3BC309CEA2C7239A9D6B44CC96825115ABD2 AF9A2566D2F3382C01569FBDB94C8D664A5DA0F7DC3DD140CA77C743D7BC1420 324ECF9E4780280EB119885E96A6C619CE3C0C8E1E264E2DEB137E5DC8149786 486D65667ECF47B1A1E20E9E6E4FC8323E0BC8E61BDD3BCDFC6575C69C03E31A EFFC290472CBBD049DE3F840AEE37A2486034240F80E75D8A79E0762377DF660 52B12EAA16D678990B11A9BFBC03C1D4FCDA9FD4FFBB3E88352438102F10B7C5 9F04C013B6575B5E948FAB58EA691984A0E54E6B9F3F505FFFEF74D06FA1CDF3 4B8A95904C8A2763AA8AF5B71D00F5DE09DC1CDF87A08B6D181453063E14C12D B7BB3775A6E2A901636273D9EEB833EA8CF20FD83AE899E28DADE10EEEC20BD7 BD93085A4B1AC80AC1AE8280C14767F1A487BD066007A0D050317BD081131A14 6EA0898ED59E46DA7B6254BDCCBC660686E2EDA0E77A705A653733BB5C5497D0 B130359F866CF293FB6EF0C2AC5BAA2DB0DED045E2DED3A2612D078333260359 16CF0CCB272D34767EA069E0F0B0D42327A18529D72E890EDA6195C2688438ED E9ACDBEED41E81CA8EB5E43C2B09CE266EFCA03F2D7FF57F12B06F9E54FCC6A6 546676F6FFC5B8B7D3F0982B6FF0D21D949309F0C0B175CC1D0976F8C55C6AED 6E821C39041E22D91AB30922F2B2EC2746BC7DAB484991542FBC82D87B487507 559AB466F73EE23C2D3194DC5CE4C9AE66D3164613AC5CBB3DB501B64DA7C91B C7ED2EE9027FC0906820B35D4F2CF66C4F9CE4A884B7C07155BCA884ECA5EB3A ABB83F84DB1F5639599DC7D3F51241AB5D95C3BCB7AB1EC90B4BC989F74FB354 04B2D7366A34D335A47B8C00C05CB423482BF6C7970A95545424A08AFF9A035B 7F83F52B65A9799CE76E303B85664B624C65E9CA58184C7BE2BB9D9C86A4DE5A 8165EE3DA2E652B5022EE7893896BABD88931DE1D538F615787645DF5ACBBA0B A8E5B899A37321AA7D4B283AC9234978C2DD81813A1EE5DB6EC170DAC1B6EF02 94892635B498765C07A38D2E9DB0B7581B11056C28278F89B0E60998379C07EB C0EAEDC32AA69B8B836F92A61AFD35688315B2C3F860632FC13E4BDFB63214BC 41CC6859EAB3AC3034449213CAB99FA1D216563419CD6D6CE4E1B56F33E6C654 7AA9DCB5B05FC068DF02AC32408C8010AD004F6CCA9887830927F8CBCD49CDB5 18CAC1EAFF815FF2F6F527F936948201565003022C6C7390B4E3C2B219FB4F76 9F12BD25CA7B3B61D1A2F8DFEE795D04D5428B42FB66E0C254AF7B7A10CEF7FD E5ADA5E217BE24851180E9A1700FBA66C7D2B0D7BFDE4F4EED1D24B821A40947 5620363657F6D048E651A689822CF815E72FC8AE9D835BE31D1DD8B54C9A717F 4DC319B4B59AE073936EA40B070524C7E71D5A7B64436DA107749746B516E29F E3BBCB8F8C473E706670E11E5B221716F315FF097CD1841D0069FA69EA1898FF 9F9EC2518C77806A19730C97F54BEAD604548D553D4A6EDB247853225E24E7E9 89D71F6BC94DB986467E755CCC99069B313F5745B02B4BB608A39F0A0A732B87 7EA2DED68219754BF1FBCA350327572D769C962EF9242132D93A5C8E9725D8D3 AAAEC15ED0F362471AA58488620156F3474FA59CA080EA96FE995D2B3DEEADF3 3141D157481C66507725ACA5953CBBE1ACEE7E3F02C72C6552D15EB3D612730E 61A06A43575568DC3CF3844BABF04CA767E2995196097015E0C4F622C4356B6B F41DBAFD797A4B9D7AC22332C552043EF98913D0D9B50CA6B7CDAF903BC5C04F D20A952BA5CC35B646ACD0A287C956B98C450051AF6AAF79DF37F8954473F8F6 652BF03AE2AE82B99D820CF93F5FC0BA17EBD7A83D1DF278C46A4F26DEAEFC4D 95D07A253330DCFED1B05FDFFA1995E7DF4CCFB449E94C749BD813E1949FA757 5DD7B4C68A3F7946CCEE6BDC8B12FF30657F0808D07508AF7042C2C84135434B 0EE39A08AA24298C2D91085B4E047C7F92AF7461811CDA6D6215BE29949D9B7C 6C2CE48910D18041571B8D78EC12E8AA4D8136BE32EBCAA12C5A7FE604561890 08F10D3367C653C7041D0105C2E3CCAA6E055E80BC34A62418DD202F6161D512 A8BBEF81030F8F05464D998B930B8273C00CBCC50DBBB4EC8284631410D4156C 420D073AE8ADD268DF693B9120BCC42030AFDEE9E338CF20D2350EC7C23EFC6B 84FC7A00FC6766383E542DF699BE07F01832AC295BB1D4EC2A7176E1356941B0 D84EBB40D1DAF93B95079B5208FADEA55A7F4DB794381ACC21AA586257CB4CC1 93F210B495B3DE7C70854B3BFF083A22D936D632AA9B49ACFC71131694C405F3 6C8F710B467AB3742C6FAE491E6A133B6C9AC1E946E3FD6BBBE09DCDC349C2CF 517F453C5FB79248A03833A19AD5F25941F729D409D380BC0B9A1993A9B39258 E7158114DE5CA067F4B0C685B67960DC232D6C33F3FACF94A9E8F864749A1C6C 7C369223465FDFFA2B6C84B401C06F0AE84C83459C3CE10F747EB871DC78B6EB F4760D9F958A9C9D92E95D14E7826F40A532E03FDE3BEAF70AC43BB1D4751FD7 4F752061719589D38129A6D906CD24315FA2DA9A798F7F062708C03EC78C52F8 1A1A215F70C5477231DC665CC25D91BB7E2F042B0DDB87E26AFFF6147B984B19 3B34B73DE963A7108450BDF74E53738249B8FF21BDC43D4D5E10E13523EDB122 7B706A20912299C5F705215B7B7C699903F93984745C0B9B5E98CA5A520D170E 8959B7200BCA7420C17EAE4C75EABDB97433A48C30D5E8BE8EB8F4D25747F1E6 8E0C36FFACEAA9F19F192B2A2CD3C1D67DF31007CEFDE4A30246C97DF3C71D1F EB403CC7B8CFCBD75C4863DCEAD5EA7BDA6D146F9AF57EA283EE09BBA8FA6A0F 5FD2EE62D8B1251A12260EF1A8E057926A3628CE4841A555694D8FE517DCB8D1 869EDD3934C338E541F999FB8BEC2ADBFB5FB6E7AAC948B00C1FDB8794E6B615 2CFDA8CCC94C032080FDD4EFFC2C3D1C14EC30CB86ECAC7266BD5D706DA91193 921675BAA8D6BE49A3E8FABD7697AC087AADF765CD6EDEB1C20CA00865892DFB 76ECF5CDA9E34FE96E80D6D9B31A9B77CF3FEF6812A309A42859ACD46B0ED2AA 24FE20349DADA8B596A241C8F10F4A0905F9F2B414CBD2204507A9085BC075BD 7242ACD1E00CE6B4D7775E395BA4BAF786FF3567EAEABFD7E197FB03EEE48B92 99520737499F3BC41B415182F40F53E0825591F10775089CF00EFC466DD57620 01C1E33DE8E456C4B3DFCB43504A737B184D98F32BEF868FB88B59A1EDD6E6F7 DD940F08764D18EA20403C713BB11432B184FF7F2B731659C69FEDB4D61416B3 712E1759F4F112407014EF908E470289E7742D1F9F929E0F19D7EBAD12E1955C 958FE4472A464EC20BB3F5FF35BBB4FAFF9436A7F0E0D2042D2B533ECF1EF216 8513008BB3CDCE8EE7070178F441E5D245E820EC0195E99B6E47CBE1D39D1688 1E6E982CFB083F9F446B590A7165370F130ABB00D74FAC4D60B406968693C52A 19986BF82CD105A821F291360670443326A015CF5BF943AFB3C5EE9263EBD10A AFAC12CB841B57376C078759B1EDAF60FDD421941AF7E761EA61CB5B39159BA9 ED5D0627909A5E6E932885990EFE660B88364D4E4D13D0D95BF4D8B33A8A6E18 6D640C1DEC8136302DC7250EBFB3365353AEEF2AAA9BF8E838EEA2BC2B01EE1C 909EF5B65C08562C7F0FCD25421E29DFD8D4DF40F16342DAC7FF8A4BC9725C29 7607F852C6AEFBFDEC434AB4592796449AE8F9B27E47869F06AAE8AE94F744C0 2B8C54BBCC8389AD8448D8476371358418B78949101079D6A576FC98156BFFA3 B0957C1905B44E2CF4093191D4698B4E1A06052E5E10E20D07827B56A62319E8 60CA5EFD361C8435A64C9A456DA83E23A1AC90697A74EA039E570E8A985523C8 A087234A8A27F23E75E7635EA157F0B3F4ADE8D0DC9BC5B3B56A206C4A0F0F4E D0B341E9FBBD88F9CF09C512A55515AB0022A22AA39EE4A494BCDEE07303C020 7D8261FDE80C9D0FDC0C1CEA9112292AD1678847F2A18873CED7591F55524CFB D134FC84E691F7FEA3F8F0C009AA087433715BA5743BB43D2C30A95318D0D47C 530A04F14679F284D1CBC59597B89F3570F884CDEA65D3C803D2E7C266DCAD74 DE2A317DF81F62E91CD85FCBA8CE3522AA2383A1A07AA94A4C9DBE618089A5A4 EB2D5F6A208E9CB0B30F7AC07B4ADBBA52223DFFBD5EB57BB528CCE3B6147D90 722A69419611C568FF3B8773848FB91465FEEE2E3427699086BB41DC4FC3EF30 C3B6C0F3C16576AE4D3E65611C39EC0DE9AA9AF96538DDBA7CDAC928ACF5E79F 7B0268DC1E54210A3DBCC64B83007CE0298EF46EE4F38C919FDD7F944C9576DD D2B6E118FD1D420534E97B901E2D1CE638FD0DDB321D819763217BAC6F5BF3FA 52D3631F388F821ECD6759B3DDBACBD0BD656DC23AB591366950DCA06518CEA8 220925368DC8E07980E106CBF370697ED54118FA07C9406F61DD7A3FD9373F9A 71035AE0163723667CAA3469732B5749CBC0364D1B9D27A1DE291631086A0404 E316ACFC757FBD07A55ECD147F205502D80397DD8B040A0E52A2A296B0EF9A8E 18D14738E6FB44A02529F70D8C7AA618586C7D5DF306BD03A21ECD57475419E0 B7399145BAF13C57B07E33D675B8A1D08E6F4C3D5C62693FD5C6CBCF63B4FD22 4DD2DD0EA22010D14402EBEDFF80A3E86DB26C8DEACA394EF1AEA9E82560F3A5 5F10E07D9A75E9F4AEA66691AAB63331266D46E6D77CB38058D3D83706889177 9CE3AE57569187C24DCDCD47DD7717EBC02DBDAA7FC4875E249580B771468CD4 E027E4F1CDA5799C75492FA2F9847E1FE14747AA1F2F0E516E321CE5C5EC1406 810B1D9FFF920A1772FEAB1803F536E07F04050176D925ABFB2360FFDC5659ED 890C19C42CA57F8C49E984886DEA21D14EFACADA23515332D4DE7E39E049E22B 17B57524F6D8E00EC6CCB1CC3F685716F6A646D2CF77645C385D1F0EDDA3D702 9A7BD85B2CC88795D14C9792317664F115F10DA0DEF3A67012298FFD7786923D 291B82B48A6A4A82920905CD19E1FC5D36179C42FE56D3E3712CE3CD69C6D0DE 0E6BE1AE8C41768AA815396C31007C0667ADAFFDFB11181F71FD2993404C9ADA F06219CCA6644AA26EBAF342B6FAE8471689D47682CB1FC7D985A03F220B97EB B1DE14B9C9EBAD1F1561E779955D2C14E3F6CA7060D56FF1D81372EF4E25030B 350A024AF0F100308AB0897B8A89DC70366AD98D5B9956A24802548AA33E45BC 2727DB1DA8DF72E48607B65FA81A68B5C4EEED271AC0C4D6F29561C08C78B828 24775852557D48E5D1B1CA95244580B133B63015D5D94A0C4959AC7D9B3F82CB 8D8B13FFE23953B99EBFA7ABA6642C33451BB972B559AC506E8616026D15EDDA F5AF0DC495711BC509F7FE2C67AF32BCBE96529A101FDA3191DFD0C105CB6F45 055B29E9787965858C947B3FA4DF5F7DDD930EAA537516A6AE91DFB19145B9AE AA95107DE25B45D054F60F8B52C59C93D97819C6EB6303207DF666D3E2E5C44A 12B55AC6B30A15DD6412C3F9904529D79BF997C6E9C9B17381457B8CAA6F483C 4A0E10DB2D30B4A8C4D61A96C4062F37997622946AAA629CEF51F84DA83EFB0C E51369783A83EE1F0407B537D0BEBD32FED7F47AA7DB1868F227579DFCECB81B 081CCB099B27EBD4339C257E8738C6C63224A70162B95AC7571B0778C0E9223E C076B77B7283497EE903650258DF73C2DF62D0B702E894290BA9788A69DC5747 C134526614326F5697E4BBAEC519C2ADB113CEEEE43BAEBA4DE1AB253A9BC1F8 A01D3C5681DD3E33BFB7FC73679AB85B20C11C861613B9BBD5D0F7DAC8190FBB 954E10D29A34784E96ECEF638B210931772BA978F29BD7652E25E9ADFBDFE317 0743CA4F4B21EBDB9E10B6D4B55DC07117D7D6D347CC977D4C8FDAACC4086E1A AFF70F54DD28B5956F0EAAB791D871B811A2C6875DC89259D8D769372978444C 63EF2C0BACCA332F1CB135EB4C6B64E5061063A9C6E8FBE6EDDFA3B58A34BC7D 91393FF22C4B5279E3AB1DD51A815B58F2A48BC4D4AD7E8E56EAFE57C59ED52D F91D7284E86308DE09941A77F948232D98B8D4454554E52BC8D582388B84B645 0BDD689A10008D7BA6340A0397F73B3B51E80D6154C198C0600BA38FB3EA3C72 83B4A2492BD84C9C2A8817F3DD497FDA08DBBF4A61125523C5C4C6BA3C8C0802 26094F08F395887CE664B617E5C1E73F2F56333AD2343861AC3D0B0F7ED761BD 5ADDD7B2D4A5C9F3C99141A5EE988E30F5B276FB8A49E5756CBCD343925CA827 80A999C1B594904916531564BAC2C734E25C5B9D8F22590AD378FA99746580B0 301CBF70E2AB7ACE68A10F1D524BF338EC24DEF58F694750F03059C21DD87586 9B4E7BD1766171CC6DD45FD7259984E32F0B66BD1321E10947B84A0D64CB8933 0837FCC2F30330B0AC6E3AAF57AD1B78D20531A0A9AA4D7885BAA6771824D630 47DFDA5416B744B576ACEBBAD0860709263CBDA2EB623B31DC89CFDA9BBA08F4 0AC4DA0A021CF322EA5989B32D3BE5F7F9BF42EA170FF2EA98485424B855AAFF F6B793C917C0EA26DBCD26D2EC35A2DA2B6D6708BAB280490DD6324E6FBC1CE5 0287365D0E697FEC6C9A25B77EBA60B7A8BF9F1D9E6132B5D49BB58FF69FC024 7D24B5A50C6ABA7B462378E6F682F3F0D247D595CE8AF21730CA5C8BE74B9514 BE2D0FEEE827187D75E740FE27A288B13CB9EA913AFBD29A13F5F359812AA935 53CC5A757FA50D53E6AF18AF09A1B9C4792EE17CC1B9F5CC2582AA9FAFAB0E1D D2887C1BCAC510BE09EF9607CA7FF0EC2032A60B737A647B484728F2D9BA80FC 32FA431AB73A7D235CEF7B4C37FBFCAC950B94612C7EE53B911BB27601C7E1A3 6A30FDBD0661AEA3C492B8E32F26846DEEA1FF21A1006A163234E58D19D8317B 77DCB4EE384AFE485B040BF8FF666F7CEE090ED958A4A0BFB1EEBA08917369FB CC5C21FEE9E6032DA8668FFDA7D3281D734F6B04C0440F4A86CE1B92A0F3A213 8E7DDE30B9761E98962D45C4B7406BE298EDB97DF199549D54051C483DC6685E A60B47A8B04D2377E8BECA5D5ADBA455ED303D083B90E4B617B59B15BAE7EC98 852670C33C533E2301A9D16ACD4206B10A448665DE1A9396C65E81E61A597609 E853F95AC8ADA36EFDA7A974E8EA5CDAAA8EF3148F8ADF43CE9064D818F5549A 8928ED18AC90CE28FB7DCED4875FC7A4D7D2C5EDE1407BF5B527A28E11FC340B EDC27D6B73CAD3921E758EC9856E0612FEC89C2447B8817B3A533543E1C01E8C 333FDAAB524748744A11DC2A2A043CC3801D3B5131DE3454B7D41B10C5374C19 5527B480F4CD2B2827DEBAA1F3BCFF29E2CF773CFA877F61C76640758320D211 51485254F193A25CBEA6D662AAFFCD41E280BD77D7D66CA86FCFE1F002697131 91AFEA2489662E50DA97FA1908312D0028BC912A975AA3276AB5671015499243 A637441481DDDE79E972B0C9A52B79BD0DE38801F2A231B1012372E576B0B39D 579B9E96DCF0EDBAF786E4CA332BE8407A8C70DD7185A6F7CB5615970D97132E 1EBEC473E3EEB04B7ED3ED12C090C320E155531C08D28709A8F0BEB2E6B4F81F A8C7869389FB8135BCA05CA77ABA2E3538EAA004F20C7003A4299B95AF9F37BA 6C40A92A77CA47EC13E57B6806EF92F134172687CD6A1EFB93B1E79F0D689325 73F02BF469C59B321D45DADDB6239E00445648E235D458F6D40695EFF0170F91 3E580D8ADDB040FF7A01AD7FF8BF5E2DE35E8B38497CCDDAF8EA7DAA18BCD382 54CD14DC812E16424DDF6DFD16C0BF341021A675C0DFE6AA06C215EBB15EC299 07B6C66ED68F23C0F163133F0792C9E78F1F0B69E2641E41D510E0A1EBB1C46F 37E2CF87B6036A4BC4341934694965263ACCAE306AB69AA25EDA2D2E48566608 3C1077BCEA5B9AB22C5DD948B1D499A7930991510C08E113CBF94964898322CE 317E5A2F03E9B6F7C407E0794B00B8BC48583675254AF7E3D6EA74B2CF0378BF 0ED0C027246F4265F33A4CFBC86446AB1730B97FC29CE579C334E96249D3A5CC 19E3585B4335C629CA7B080C4FEEBF2B0C1C698627C96E485AF592B6C0BA4CEB 8C3D100BF8A75FE8225572AE3A18D4817D8ADEE6D57B9C6187C823F53308782E 555F5B7F6E3A76DF25891BA59FADC390C9C95B3D200B15E80FBF244281C78066 095A2B0C3E08E1C0DAAFD442696B17FF512E500D5B6BA4825F1D9F5716EDE085 2B7E81ADAE01225C5BB438127BAE5A500746BCF39DE4EC6EA28912594EF2E3EA 2607443628D205F7DAB8286D20D175FCE2B272D08403D9DAAE2F6B0BF39C9688 195A12ABE829780AC5CA25276AC4E5AE0BE973DB0E453615768E2FF1F3C7645B 39F34AFA1E795606E0A363455FB8D00413C979BA7C709CB877C786766933A7CC 6FEBFE30C74B4D9C46C0E556A8F6FE62C8DC847E9000498829035F76BC75EF95 1032EB64EA2A715D699EFE85634DE8030C8D8241DCA468B6761FE09F88DBA0F1 76089C99DFEA6B12B3BA9771BC06A6D7F47D2B471A2880B68E1B63D548F3E84F C45CD7BCC942BF1CE957453F859C9614F269FA9E7BA08C4C78CD62D98114364C 000EBEAD29E6A5100B39C3793AEB9BC191425811154CB95ABA434A12A3E461AC 18D5E9C36515B210D78937D9516F40C999E4149224CF1F3474C71EA5F5EEA8BF 916AE03EE48B24085EF1101758FD3E3DB685DFA0E1C793C94D3FE8993C9799DC D0F9047FEBDBF2451CCADDEC3F74E1D4E20A1240FAD15D396A70DBDBA329E788 73DEB3696D349306302E35BF5AA58B694DC4F25B3A71406A537EBD530D4F7D5D 147F332E7B1DEA68AF33C6961E55CF22711E974B658E50CBE072A07E2C87AA40 5736747FB85228D54EC3591989E79C613F3E2AA40DFA3099E4FB716EC8FB65B9 F091FCAD02E8B99F8548A264DD56C2DA11808A41DAAB7E275C12862B1F1237D4 AA122C98733BB385CC72E53D466DDF45D1E6013A117A167A675518E1B3F15AD5 CF679E63619DC20353C4EC499756060BFD8D917A681DB210CB7522A5CABB0965 D56CD9AFE829524A834219CEE6BE360001FF185A1B9DC7DC3AD4B75F80DA71E8 76E032F0177471775F5BA9D0C0242E277C92F98E4112B260E75D6C9F01E71EEF 30C70C518BDAEE4D236BADB9FCA753CBF7BC44ACB1EE692DA19F7B8E959E4F28 DF85A7463C2710027502AD4662E47CB7FC06766B105C431B083C01C8FEFB74E9 8FCF480D82F9F0C5F3C6DEBBAB4040F0AB21599B55FEAC82AC424FA702E3DA06 0C40AC00C950D9DFC31843EA7A77D900B8102AFF3A9BCDED394D026C291AECA3 9E148BBD44877AD4029B4CCD6EF4672CEF37C531A83B3BD50531573DCCA82C5A FC75402F5131200CABA3593A7B83BCAD71650911555530C3B13409A6EFFF7DDB 829554405A6E15E8482B14F5DA80C6EB06181BCC2A3DF06F37B574634C43A5FE F7CB8412ACF2CEED6C1541F5737AC8CEECDBEA054411815D0FF1CB76439D9B60 2778CB6AC3FE62CE754E7B73449829A1FF6AD93D0FC60286DB7B92B2E436A489 F2849C5C00E93C86D8B90456D3ED2E38DA1D5CF49C85DC15F4FD5BB46F2433E9 51DC938435B5E75B3B3EA1BEBE3C6E7FD95FA509C4638D9F76B0D08744ED14AA 12956F13BFA6E152F02F7E3F51D6E7D6E04D76AB03BBC3F954EC283C7307A15F 293CC307D01BA13F49D2E872999B70CA1356E8D567AFE76F96AE59B00EE05512 565242104972622875466966BC9A4CAB3C97B91B97E9E376AFD3532924493D06 538AAE30B75D542BD9A4120228EEC82248ACE58272681262857E28BEA7896033 9F82C32920EB935AD9FA17C01D139D7F2560BBF3EE5BCAE85D9E70D2C36C327C C2F0F89BF776120125DB37B4CEF63DE63E9A82035110ED87DC58922C738BA889 F81C035992909750F1C9AF9A0D38AC67D5428B632D28229B71B188DE04C8112D 141D18F7C40F2FD7EB9967943CE78BC318A9C840120EBBE30911D2B8A308FF6B 3B9A911D8428E85B194DF985B5C0F9C169433467B4CF8B79AA78EC6863863628 0CF85B3DBA1A18ED4829E7BDFDAAD86BB0E0658B71C1442EBC5BD0A480EDCFF5 E4F4846E639237EA22920F34EE67C202B7F583D07A5CE9E1901F7FDF7D60BB0A 28A91EF43D7C5748DCF62D387527BD17B9B40B7F5B6744F8049DB31F4D24DB02 382219972B09F5DA6EBEF0B69566EBE695350AEC57F504285FD0402C9F45D1EB D2B500146922DF9F7B095A1DFD3B45A6CEB624FA20598D54CD62798615A3377B 72D45FA2F69D2DB599B620A54533A429324BF2781771A698799E5F7533D2D352 151342B3584FF02733B7F3B44F48E76F7AB89B373053AC41E90EC68362AA983D 99D6A5A22A4A5834C56209623897A9A8FAEACB6FA06F8E40BDB5EF0BF90CA93E 834754EE28DAFA72AEF24525959E0D6071C6F2A690785918FE3680508FB368C1 EF4F17AAEF29B1E8468C6F6A0513E7838B91B0496DF8EA0431713F9EFA21890B 5F2DEC42F790125EBFE36D541080655BC2DD63B8482B2B5632F41C8AC0A9B0A4 809FC32F0520F8C26543B1875F92F07747CE5236EB13B7F120E520D6E03EFF1B 007D5ACBBB423399A648CE8C150FC0B0497986DE6E2352F140B591772DABA0C4 812718CC63A0DC490F366CB9ECE3B17C7ABFA78702050E42F0F3C31A0641A89B 2BAE7C5931DB0DDCB79BF86028FA50379BAE91BA98E91441F1993FB57A28D185 BC651CCA7F40CAD3DAE5CCE79A730997EBAABEEC0CF098BFBC7356612A4C6B03 776FA039B40AF24DFB902D74F5D2FEE23273D76513F923D4552E900FABA56DD5 D7DA201D89A96CAC46E51BCEB1A05D8E6848AAF11535C206F748D058E1C0B22D AE921401457476D5B1A2E109AF07585291F4A860D89725E3D45833AC50D304C1 A2E42063EB0B6BE9CDCEF3C22E3C015BA8C46D11C19410D05639FDB0DA1D4C05 594687589D320FFDF4A286986A5975699C6C9A1C744763B25EE465602EC4157C 0AB0B3FE906EC7CE9845DEE94B48643D0C5D440212E87AB63DF6CF10C69876B9 474B3AEEC9559583E3902778664C2233A019945DF1090AF57EEF5A9CC7F33EBF F481AF280A0B93D8A4C566AFB71EE0F2EB4E1D1C5ECFA2D993DECA4C9457A817 D9298BF2C754A8AF08BBFD905882BC95FE52E871D9C476479112DA4AD6E751EA AC6405D6701DB588CDD31C822A51E3BB7634B8363412B00C01E1965B52836689 E1EB00C83299A45714C8F22025AE19C3AE7AD315F3791C11E0B34D6601995BB7 4A390731E1528F3D9892606E6ED6BB584F705ED619A8C218CD97527AA116CF31 B971745BAC409CC46536145A03683AE933B1D0D81A11A20E20F0CC943226ED03 2F89BC62EF2A4F794570B6AFDEC53C04DB7F82B91D57BAEC301066C48FF1ED5C 6E5BDC0AED76537F31A23940D717AD82C1155D27583A9DE60529C9D17C5FF616 198E650F8547F64BADD053CCFFF7FFDD326BB2AADBACC93CBDCCEF88F9E793D5 82F0F622B1F69CF49DD605F6EF2952ABB7B770B4C77A9AAA144DF44B153C615C A26265B8E6C36173EA74DF32D730CF0973854F3BE474940A032F60626D47921D 0E8B06B566D98EF5A3B4FF16AE2EA1C9FAD9DAC134DF199141FD5A217451D44B 123A4AF76ECF25D71B476159F87B6050B618FBBF6038146B78B79487812C7FCF 0D6BB61A1FEB43D34C151C74DDA91CCC9122B1C99BC9BFF3B7B3F63383926FC0 7B339D5A787923751E208CEE435135A1CE7F28EE49F4376C43AD7DBE6D0D30FF B01FE3902D9683ADA47948CC889D3159F07F035FCF98B9BFC08A65FF2FB4F262 D9D407A66CDA8FFF514C568E15A3D2EC331362ECAF45CC4AFAB4D619E8CCBB21 C9011D135BFA1E25B466603736154A529D57B81A09D05DBD287865EA5AA7AF07 9C9436BE37264CAB6AE0C347985F252DBD28853559933B5267B05ABA015FF23F 6B03EF6F6EA4BC13D311048B8F25AC5B7432DD6AB860B47EF1268BCD272FEE99 5E606DDCD4A0858E93192EB186E6CB40F081781873F8F9885B2B7B917DC46FDC FCC5B55175F63DB0EC68B44221BEDA0C08CAE3E9D8B5F603FFBAA7C88053AA2F 4F3E0C201FB8722DF7F8C0DC31CB95254D2EFFDDFBC315BAE7C7CE70185F098F CA605257D2FCBD9AE5CE0786672744D5FDA723311B6660C97BDC597138134F15 8524038FA052DD04A53CDD9A906AE381EA16A78EED021681FCC350C2DA292F71 99DA70C1A784A654CAC9997E38AEB0AFFCC3545CFBED5F04C3F65E98979D1161 DF4B44D296807F22DF3A4D1A6FC9A4699A9BD47B5D0DCCCFCF3A5C90FA3D1963 C83AEBF9E121C441E7518FD8AE8D1825EA4C68610A69BC8AD0F00EFC1C78C5FC FD9AD461AE42FDBCB932911153C8846CEF8643A00E114D6436D496064A0FC0DC 64515DDD006DE4F80C238FBE91C2CED03BC481A8415F81BF98034C45BDDD4A35 9213464DE7E08F8B2B269A9EF9E938AF3D7B7407A6119B52B2FD416E0C5D03EF 637D5915A05E8B1ED36AD0D60381BFB4C624B0006C97F1817F20C2D47B51F1F4 01E82C440DFBD4FB3BC83262156B1CBAAF0A50AA7639DFD679C7D3C323F210B0 9E8FA5FFCEF16466182DF6ABC67CB577084078716B9FE0CD546D4AFB71C698B8 C897F7B8B59917B6C1F6165DEA30154D269E107A708AF751D7BB9250B31231ED 7BE68AD25111A34C78541FDC54E1CAB96C1B413D82136E0025917D1BDB7E9E89 8BCCD646A1951C1E11C48308C346E0C07E846078F91BBC455487636580F2ED9F A29F8F91E79319480529F07F803A2E8EA6DFCDBA180F957C7CC09DFD524B3195 2619956E1CEB1C68C3B34BA1EB391605BB2C1041B16AD689157DF3EEFDCF13EF C0586E8307065B871073367B7273D6DB1D22148991EE0E410FCCBBA6A7B79DA4 F63A21AF83E3275982753364C0289C5ACDACF3B6764422ADD256BE2999A108CA C0BCD9DE002E74BA03A2B1B4781BCAC95F3D4E564E68FAA0738E4B428EC36585 4775F223BB6B9EEC9676557A11ED0225C74956EE0E52710E22F1F98824AF1954 CBDEB8F7DA38B8F495D85C2D48B079EE127CB957DADFAD66AA44C0541C110D13 FB8A243D3D93AEED5208C3AF6C56CB253DBF177CBD793B75F47D664806B0F280 22437F544BFE019C121077184D2A6EAE625D702644CD7CC488FCCA867EB4A392 33AA7D1EC608364B7F28C0E97B09FBD6A3615D1087A4105B048BCF0CE87A21ED AED85B20B8909E9F700B888A075F4AE6138ED837E77CE5E9348C218995EF3567 91DB54EBEF38B806B310302A018F0D81D327DEEAC5F4E6D402026B2E6DFEAEFC D319C186CA7A0DC4373C52E30D6675B13EB0BAB6BB28B3C6B4D66C70400A7FA0 4DF9665E7D8C65A56A2F84D7708602D3FED66CAF237192BF034A2BC4C192E141 BF074D50D63B5D12F7651FF9770346FFA9FB6E6FF998565186649F714A514159 26440FFB48AFA7662D3FD056BD458D9A76A3CC9EB09E943262F2E6EFB283613A 3A31C1A89730847C76B9EDE10E814F86A9AEC01355E45D3C8D49DF0F54497939 AD5A887D118A27EF35957D005A6567225E492F99680F284355D6FC759A36B22F B724E3A16AAE1ACC29A6455B65F0D69A285BFBB75C588A1E442E088304B8DC98 E9E4F4BAD1F593061A31A72A20C7C7C5E55780C9DDC95102DEBD607C4ACAA492 FC122113A98259CB64371B4F8870D7EE77A49E4C2ABAC05DE7EF8F7728A9DA14 967EE30D4C45A0C7641952B0502AD66BEEB8CAA67891FCD0908D2DF85840B8AA E6D84E027A302D8B4357879B40D74E4E6521BE0FEF78C1E449853FA9B6700C5E 482292D786E083BA3B5F67E5A394937E4E6141C55A1FBBFE877A7D5A0446F76F 3FBFAC10201F9EE4CFB32A613DBAB07FE6E358A89E3CF31FD56DEDF95950A1E0 2984B3AAED460DFB3DD6BAB30DDCC1717B4966F6A76A4E8C23AA63593D7916AC 19E7AD01D02D58E30BB162AA333D54860945A8A70D3F4EED8A245302D2A2C79F C823D79B9ADCE0AABC09D1B6E2312FCE2BB7AA58E8BE2BAA52686242D0B140E2 40CF1511CE5446CEDF6BC5DA7D6310D31C30B2E1F5A0B1D9111270CE1FD7A97B D61BD57372470023BD27BB029E8D21692A863B1723E3114433EF7A6D913C87A1 4D936EA7F5EBEDE6CBBD994EC483062AC56D84FFB8ACB8CAECF964E08697EA73 79E45A21457A961AE236E85C42A843E14974C1CC0B3D93C7BE15407420D4335B C5A16672302115E1A3CE539BD4BE01BCE5E1D7597EFA4A6FCFCBD377EBE0D6DE C6C9C436E56925281187B12FA070E53180848C97970CDEC9E0A224A931DB0436 01676272682AD3BE6372C103DCB23BE9B0BBFDB976149AC8814C60CB08A4F7B7 C7E03AC6989B0EC905DEBC443F406E9803AF5A26BBF09E5DD6ADBB8BC7106DC4 C375EE2D85B501C39040551BD979F8BC2703E59ABA0040B3AA20B5AA956BBFBE 7B598CB5C6C49527728E711E14CA55D564DD85976983227281E3728125F55124 BCCD25DB52B1D51A2F792F072CB2F7F5C80A23F77030BE87E00EBDD70CCEA77E BB08BA08BB16E42AA360D2D28C5F36A1D9232F1C475888464ACE39FFDE71EFBC D41162F8E7FD4C2ADE56613D52D576BE416FEA0D359CBEA38D51B8A92D0A90E8 39E50244275715CD76B006FD853F493EA5DAA3FC808FEE8E4BD8A6014EA8E067 19C40FD651B7C608D5562E55B9A2AA476F16E45C96D34E589BFF6F45E8606D7E 83A0D28C58DDE966FA4A0E35753B05A546D02B9E243A8DCC40EE16DB324AF09E FF7A837CC758896433ABF4ABBE677D2F45F56AC835318E523926CB5106340F25 1B1B8B43A1121E5EDA2917C112769811827FBCB668111EC8ED208083471B6245 8523B7EAE8200914503A2E70E07C7C2AABFF08130B1C0221952BE6C4DBB9F1DD 7FDE2AC1549A4B605E8BBD87F7E09687DDB9431E608316CB26FBD3DE1228FF5F A8BC0D0DBA15B8F31149297B8D93FAF8128CACC71AA1D7FAF5CFB054640CCCD7 947784319118065BA47EBFC6F5AC08867D66A04D2D94BABF8310FCF9CEE1DF20 F1A76E7FFCC300744B9C6315A28AC8D9B5E4EA69E55FA51896C962A44F3FFB48 7153353427706FF386F7C8CD0F9836662DB2880F0C9DB38AEFA6512D736CDDAD 813CA9648F01C3E837AF31C78FEC4F546B31566DDB2A489BDE29A66550CE93AD 3168E817034F81861F5E0F86CE31DB65FB45CD60E02BB6BED7E20A14943FC6D9 3B1E8D15C5D112F292CC823D6FE896D25AB8B31B6F767641C48143DA36BDF8A0 EE27E00315C1185031415832270B10B60E44BC35C9C4711A2E6D02D384E6227D E8F0EB52D4A2EE42F4A0B3F58092A6C881458015E6F66264636FD6CB6D8F30AF 54BED145FB7503AF08A0BAC9A0228A67837AD980FD57FEF5AB791E0D8EDAA973 C577C5EEBC603DD81359795B4FBAACA51198D225AD665002D8D29AD2E720C4E3 B0A63A01CA9569F992B7941A36ED85DEE1A5BAC4C9765BFBD6CA10B376FE6AF0 95CC3F6FF501D204EC917FC239F63160AF2E87E995DA3A81CE4A65E7CAF5908C F09AC3FF56EC19F4EC348F8E5136251D74C4085A4E5BB7106267520228D8A360 E53A77A1EE282737244E6CB0F3712EB3029E680F9170C0F211DA2301EEDBFB12 EC4F9A74F4521D08479FC34199B2C6D6387B50D1A889865264A897E0DAF81906 95C529230E12C5A6A0AAE2676754705864135DA03D355CDEB48F0D990AE25630 84C2245C884DDC80E51B4174071D7AA59A77CCD0D2E2DB52E795062FE65F573B D02AAF36CF7BAE1CF17D89AD3E7DED4167EDF045498024C2BBC790235CB662B3 31FBB250166747687ECCDCE847B9AAB2B81A881041B576B8B54F5F249AD44B26 B715E1612479463023BE238A76082C1D2391FC06036E68C1B6903197308E7765 87B9902B57DADA00D9C157796AA0C92A055C15B39B8FA33C5D9B1D1069CA424C 7E585A79913ED94B705885CC75FEA8781C766E11A3F52C34D42504418EA9EDB1 11101BC56A31511CB24B70BA31B0BF99C8A3667769F71C2C08518642B46840E7 95EAF852AB5CF793FCB81A847E3C67D243C734647685A662BF38551BF73B4250 ED5F901260D2B3A7AB09B960BBBF71584F2265D53B4459927303E4B72362E8D1 B2D29F2D412196B66E6F27629FA7D7AE731828D9EFE87EB315A0B4914F73AA7F F6353732F912B0D6B8FA6245BF3C87D4E40AFA2AA3D8DED4580923AC14263929 926C58CCFC43A4ECC370AC7B49A626462CDF15BC0C7A005E820FBFF05E0FFD14 26CD1CEDD3D7EF47E43105483D56AB8014B1DF77959B31FACD74C4CF4B25BCC7 1C91F2EA957D2BBD06CCBDF1805F5780ACE694C7BC8F9105552AEB919B5F62C4 2641C805151FC16B04FCB134794DE6D077C95F46047438A04E633FA32DADD1B0 73D3D075D3B6DB64F8B94A9F0590675D96B56C76C902E58B62492A5D03D4F224 43D633498AC97F8FDBE2A4A6DFA419BEB83F5D49A1ADA9E02EDD1E814B8E9E96 7C86442082C97AB4C4C68ED0C1E672A6F8476944BDDF2EABFBBFB0FE58287454 B956C3ECBA3C55E40300689699553734AC2BF70051501F5E289BD77B71FD5AC7 239C7A9CD65630101D93B393520F117931BAECCAF0DF367532999E2C40043AE5 6AF1B4B68DE76BCBEC17259884778A135D8F05A035869CBCF5DAAD1810BC542C D7F022443873C025E7AAAE663948C777B361637754764F3AA6C5CCC869DA6099 2F017822442F88F52E7BC19B9851FC0C24FAE7826559F9F4685D5D11495A59A4 BE19930B77B4A770A52A23935F9DA9D84F7C5F2F294FBCADC8937EBC31CFF5BB C784758279AF20D98431892ED628B407799789E336ACAC3C7D7799DB2BBE2F1F C68482375746476744DA4C6FB65105B04AB96674C0E6A2C9B0BFD7400AC3CB18 7B850A92918DBF5CD7D6773C4CF1FE46A04074CFA4A02254EBAFFB81367D5484 128D66451E34289CA1B2EAC578103003499DD30CA42FBF5761B3734CD755485E 3A02A9C5C90A1E7033C7EA96E521556AE9ADE0887DD13E5B70062F5F5909F8B1 649941B21556F7EAC2B95FD63EE02D066F86179414F02880C33F4D271D9B7251 D2A362E653621CB6B0A216CECD233BB3E1AD45D8737B64FD33C59697A98AD324 C0793CEAB72206634B03B5E83CB5854059452F0CDFA976C86F312938068AB0EA 795757B2A25B3271F15FBF79FD12E5CF15ED49F5B90ADA1F0A8CD9D02662F3A6 808C8A2461C054CB86A8816A00DE528AF46B3EE85278A1616906145C3DEC2CF5 A02C9636C7FC143C32D23F6FD6CDDD5339F7E04F7BF3A8FA02F4B0776D9DD613 5D9E7AB47172849047B70FE3A739762AED6ECA7C0EE12CE34FC442E776AA1D5A A1589D0E1D0CAEA202B4D2B5EC9B8DF33C5C941F2A8BFAC234826EFBFE5BE0D0 C23D49B4CE0906E12982F5D6814A70FA1CE1EE8A7C0DE25976F8C38BA0920BC3 8949CA79D0A725E697268BC1AD56ACBA77A210A2FA01110D196E5F2A6F6838BA 268B8F3255392AD7A2F9C552DEF6D3B5D5F378DA5E76C3D5400158C2D72D69D3 3816CD819CDFE6CBD4F116EBB1F2EE32B1310D36F185AE9CD46E4AFAB5972761 5B501C86B6B3975CD75D6C581D923650770987AFCB29DD24B74A54EFD6E9BF54 0B2769E1956F75C68C5D82C5A0422CE1086E1A1FBB2A62A540FC7EC88F8CFB13 81B707ACE1FC5EB58F3B19EE061E6AB534B6E7B84D17D0ABB5259DB0B0F5E7D4 55A97F9869024C9F336CC4D6CA5D6F6DB9A4C4D601E04D0D64C63512123FB876 55EC865C3B226CB48D212B7D0E3CCD92A6C81E23011DDCA6F3E670C67C780DD8 88F67167E40CD91BCD4B137F4784DFCA54BF679AC1F844F69AC423CC2F2F9C66 FCFB4938B576877AC8C61CDFE33515E51126D162132A7345CA72F82E9B870EDA E423CB93FE1B6768DAECF354C1FE91128A296B83BA97DAFB492B677103C3EA83 2C7902DD57B2B4DA6B17B56EDC30571DBB66EE428A35F0CCD93F4E34B60BBA86 58A36B34A180B76BA962B6573DC095CC7C3094952B60434118DC36CB12C41357 942D604FED070E40A41A12511244C0340724183F0D8D963B39620CEA79D9D3C4 0B0FB8160B3C6D03B345E0D6356A6C3BC35DF31B12A8161AB79F3EEDDA3329D8 761E1BCA542E013B6F50A640D24FF8A7A546485C97F6DB14E0A73E699B9618A0 8F663A199ED16451226DB86C12D0E7B4351758C0A2A9BCFBF6D18B32E9A67F07 ADCCC40EA453A86FF11271B2680BF8DCBB636C123CD90914DCF5F4CB2CA9E84D FF948E27B0EAD6B801338B293378CAAF65A450F101F3011619AB8BF16326BCFD A5C20D93918060BDC9AB5A8F5419D1FBC52948F1378058DD69B385C647FA8057 DC5285D8219175656FAB3D64312D03569A57FBC99D4568025DD4DC3F19B6BC38 3D730723F4D5C4CCBBC95BC8F9CBDCF2DC8136E6A8D2232FF1E267D5C1EBE63B 0F9481AFA0ABC0E6A3AB30BAE86C2C7E67BB45BCD8A362276BFAFAC7431F5A91 28AB8A095B0FBE90A47A3640BAE2FCAD0A97E6EFBDA12FF86AD9784AFFB87333 50092CC802AE74A763966105065F6B602A34B3482B8F83E23DD139F7409771D0 1A2F58FE07A4C16DD2C21D589DDE1E6788F1AA66544E692D0CDA017B4AE35EFE E8FAB0BD3A6A4CD1CCF4A1A354F9D17AA326F571A0166721223EF74DDE7DC237 0F8AAD263602357ED11A6659A4F640B18B7B5AD67023F3F57BC83999298BDE9C 53B97FFA7AF4BD868812FE4E23CA898B7E509D641F219F0AB22DE1B65F808A1F CC5C1CE8B16F0DDA8F12CFCDAA397F40FA49932DD5C9313DF0438C74FED49BAE AD542C57A3FB66E5E60759EDC0C48ACF63721CF5EBD3E27D98D1827E49D7AFC2 5384FA2FCE068E73F8A1B6EBC65B6697D6576C4ED119DF6D4A5135FB3AB3CE26 C80FEE11614AFDBD7E734852A50098CF446127045CA4F140E0E151CF1753B6D8 52ABB47C553462074110758CDABE80DBA493405908D3A5CE40FC1CADD0AF8519 F4B900D845CCF86B7ACF61488F738CF099A4D070B97947FC806AB62E0D0DAEAE D9D52B81D34BACE936D49D5CD04CAEDC024EDEFC577535870BFBECCAA95CFDED 98CD5E34F8A0202DAE1C6BA39A8A3C8961E878612C0E2D82F7BE80000B1CCBE9 A15E0BB68CB69BFA2A56DE299AF5A62F944D13226449B885B06926585A404A74 762304FDED457EA2F5AC9E15B75EB7C6593C20DE9B88E7B6EFCEECB64C10E37D 7DA12D9AF762A4BA881C2746EDD1D3588ABA2D25184C7A68D2E779050AA32595 1149F39C5F9116A8F09E72D0E11AE610AEB665F18C6CAF62966FF427CF1C71AF AE92EFCFC25AD35A76F4E5CDC3F853B2BD29A59162337FC49CCF9329C341D9F0 FE0CDEC6351205F77DE3B3FCE73541FE90F95A7AA374CB19A6E53FE78F1B8435 2C9CA7E8A225E672051E016F0A10F8460FED9A855AF6C5F7B31886CDFE9CF1E3 208D81F096FD00CDE0AB7187D6A112261EA98DF5761AA6B2F5F0CAB683C44100 588303603E18CAD957E40A8BE913FD5A52366D2D249929BA4C2D7BC4348B2CC7 8E3BA24147EC527A34944B5DA99D6343EEF312439EF609742FE36F3C2841995A 236E5FCB1EE06F3EDE2B12734A08D5D64FA3EB1F97C7584874FCDBA51C0CAB68 8718AF97169DFA4C1B3F0DA2F4C5016ECB06795AC25D435B2D3EE3F59D8952CD DA18AF6F78DE13481579B3522A5D1FD25C39A5B554DD49E96561CE6788845439 9480C6D5F47B765E329FFABC351B529AA02388308E092A1FF2D7C43A444196CF 93A6ADAAF10F04604A0C9CC79AA7D7FFDE0CFC110ACA924414316D95247D62A6 5A5D413A46C2EBEF5DF8B2FA0FD0306CE16659405B352D418249A58E90C83FCE CD90CA5A69E646F5CCBAF2F450F7E569566504521EDA5C37BA48AA81C13E5ECB 1115A316475CFE8A8841F5A09785BB891982D50FCB61B785854C60B769A755D0 B2B171FCA4D457EA3AF8B955FD3EBD10A47F987A11A0665E36C2E2D885B5C9F2 6A5E1CBC9DF6502C68D8868EF7E7199B7BFB19D5FB40E37C9C25F2F6646B5D8B 3BDFAA5CD45DE5DF81CDB587BF1A5B90F0A98716064F96A3EBAD14508B30CF2F 3A48AA3E7E328BA5FD9AFA8D0641A755443520C86EE7FC5BDA899EDDA0C2F381 77AB38D9059BC06A05AE3EC8454E7C8D6262A9B91E05E132EBB180367BE16C9F FAA7F1A0067AF9F3D3CEBD76CAE4C1604C0962532484DB83CA76A5F07F8598CB CB260DF0DAAEA766D32D57336B472371380DC0DD061AF875F0D1199DBEE636B8 4EFD9DF9D797199FC8A4F28A61A49BCC59A9BC0BFEFCB43F3DF545C97B387D67 53ED7CFD3438CD41562BFD8577430F5EB4ED5ECC846F9F5545858D8E18C91C4D A21BCD40FE688063AF6C875459537F0D3BD2A3724C251FC2283827C19B923D8F 43146E5C21542D4ED6538278CC75DD1A0662920979C8599FA2CF64AE36DA2D46 D708483141B02371948B9C6410D31D691A83B54537780DEA7DC571D338365D3A 9ABB7E610F76B4B0E3A08A3645D0F24F71C01002C34FDDE6A991BC8E5488BDF4 679A1BB13B076C31223E46FFD9C251A3BB5179CECB01EF09B60C7164C6B27FA2 42A1C3AC53EA0395444EA6A1EFEF0572EE0080E8A0EBE4391A327015BF8E9D0D 90A82C26DA87AF74E43DAB6464E092C3287A70C985F32D5AC986BA096F81B5E2 61781BE3C6FAF8E28BD67F96B1C088870EF245E7D383E32E3EF721DCC59E65AB E740B3C742D10A4468575C0F121FF4D19EEA72CD4CF40E6C36B2C115D74AA4E9 6839E57E0E6EF125E6A157714D304280C29A9DC5D593110869F4D7F25F162895 3878E7C184B81ADDA3EDAD912106D43002DCEF62AC3112B58FAB456E27F7BB76 95B69C53D265C2A8A6C9C42CB85E0F17C1F7E726A70671BA95D9142E3AF59A62 40EA06004BD34DD9C40C0EAC429920C3FCD6813FFD024EF9021A5C0BC535D60E 23B72721A1B07E2149DDDE2C0E5D98825FA3886A6F7901D7D15671A71FB42E6D 9B831882A1BF7EAA2E6A7F1F10EE4429BF719BF6CBD18741E598B9411D214949 B00A40D94A4C7091DB8B5198B364BA8F1A40BE97B8B377936C20B231733E8438 27A6F0D59FFEC241EDD86F2C256FF427C43AE725242BECD50822E51583B7B5FF D7FDC7A45D4FE3AE3B745281AAF0E78CAEFD08C9026DDEEF075C79161AB9579F 2CDD52CC0ACE378141C63C518D0A92B5B6B178379C12631E6026F397373850A1 CBDA1ABDC852B95461E6156BC5454E334A9FB19B318875EC4362AEDA5A2BC743 786756346AD0BCB540FF5DE566AFA16F4CA28864E8B297C49AD5981235051BD1 8E0732893298B23C271ED84DD8DFB9CCE09C7B8B79B119CFFC65CCFD49819F5C C9F427CA32D2C8E0EC18096BFCF6BF06684814C6463170E4909E0E3D94428598 A94D37D6939407C35D070B519C154B9151CDEAD59B6095E788227CCC32531056 1DD73EA0C987444417A4188B3B943E42F7F472D86E00434B00CB664925647D3E B496E095E244F06FF6A379BB6DA8B8FA74BE30FA42EBF65F8B1DE6B82A2746F4 260166FD9A67EF436D41DBBDC99E6CCDD4233EC7D5141083F8CE8A15CD9CDB00 96AA98BE9AC42864FF221A2DEE88C42F11EE5E5A61F5F1F89F0111D6BBBE81B5 7DEB671A80500B41AB50EB34C569C3509E572791DEB2C3724A1996C23DEE3B00 D632993CB1E196311137894B151182D9E826F95CC27E3B9383F8717E2DAF9A93 957932C4B3343091C16334C476FC419D7613685550AFE61D6759A2017DC8178A 373C7A44751FB2F4B2EE1E29A43806C04D139A03F292BCC30B02A3E632FE44B8 F0A89043953A82EBEE6A35FF2DB03BCDB3E039046CD86E890E26A0B463A3370A D3C9888EBBEDC7F7BCE953F9FD667ED91459DB771EEAECF8B37A5704A6E9D471 65FFE284C4214CC812863E351F42BF136CC986B7BCD55AE646804183297DF19D A9E94130708A745E5306B43B6A46577D41F68FE298114D974231917C4AFD2D55 9D0DB360F1C89874C9720FA044F88C9BF389C274486DC96A0A286E216F727A92 3F528AF615A824E4901DC64F7578F6BA7906A5575ACA971D00E2239AEBCCBDAF 881FE56A42E5009964E0BB7D438E26EA986D68609AF5573F7785030A117D846E BD36A55295067FD8ED41E191003435C0AE78A7605E6E9A70E4389CEA9714B702 D8EF62D1CAA39A249C7A622729DAB2D1D12BDB9501699B1617C1E7E8B4872F3D 39A4BA54D97C580B7AC9F576AB8CB7FD23B4D5F5DC7071CFA74C3CEA6E0AE5DB C98DCBA06BFE922D68D5BE13EDE2D0AFF8C32CA8414B558DC67CE41495B00E6C FC118D289067FE7EB1B615248E1838A731ED86A22E933F9676D7BB9AF94FBEB5 635466763BD045F6D20435803DBCD07A89151F83AC9900F9B81323A3DD745FF0 4D6133159486106695B6BCBD1474727839376416FCD4C77C7E1332AA33711391 7A88A07E7427E4446B922CFE4B204189581ED25D8DAC67FEA0EB98C40D1A5B34 3E78110B1E1110204BF42D251FE34C0DB2F7DEF12089EC26E002013DC015CE97 91216C2AE16099E9A55E3D790C43E7AEB2F3B5CD20ECC6815A50C875035306C6 96608D1B3CA7F341646604134A521F0B0229C54E47CC16613E78730CDB2A5DC7 F05F923853A0D22C43CC8C17AE5A80EE6155501ED0BBC04A49021EDD923E0D00 DF6409A4AD16028A3B2B9E2CE5CA77394F8416399BD495708B9F082FEFEE1999 830E66D980920804C4F20B17D8313833C79F46F56CA66429354041557674BDB5 F45B02836F05EB06125C07BEA2A5B17A0E9E3EB3BFF046287A015579E29F13B2 C8B10259D25F60B46B65E4B33488C796F896FEEC7168ADD0FC18D1FD33D372D0 3F9FC7C210C0363E448CF1A75B9C720C672C04A9BB7CB8F6C09FCAA95C4F8DAD 16297A96FD9BD6474BEA7B1B340AD47C76EED4734F4AD8022A07D3D1442D6C35 B5C9CCF6C3DE899FF7964E034A7DE56ABAC1A20CBE773E139A1519FEA7ED76C9 9BFAE6F8062945AC62AAE3A6B80867A422552DC0C9FD510D7DA2666CB87C9EE4 122529ACAF281D9C1E465531AF24C58B99C61A907F0568F178C37AE99C440150 6CEEEF2BEFE4DA3E9EFE337CD8325CB4DE95C576F60A6BD76F6E5BCC771CC177 F0A11910AF40F7F2A799E8F7C80A4660C34F38E4328C76FF0B06D4256B739E9F 03CFBC1316968556B32A110ED4A2348242E7FC5D182261096D780CA77F09F778 16C89C29C8C00BD085347B8A3F42484D3CA77CAB01739509237742CA277BA8B2 C95DF751A861F1E7B502DB81A23F3A790BDA564E57566523D9E2C46C5DDE0446 D3071BE4882E88A450974B2ABFC301F8C384FE8647305F0D26012370A8C3599C 2D0F8FEE496D6C150077801759836C5691C9602DAA70EA595284431E43BC57BE 86E4E52A0F23CC1762CCA63BF9DE107953F4585527A568B55ADA4B8D4EBDB9FE 37FAB04E06353799DD4179ADF8F232FB4DEA52A36C4C37A9FD580FCCA55918E2 847BE668729F300F976E455841475B65A72B0BCF20ABDA65849FD1E98C929CC7 FC7EBEC3AADDAFCF0F366A6CFF0E5AF9F0CFE4C115FDC592286DDFC8ABFFF954 FD463547DAEA37B6C066B2F46E83C9DD6C3DE7DF7252EEA79553800F358BBC73 1900C6696BACD5FC3011D4C8FC7510DE1BFFC0339769011F6DA61344F79C63AB 00B862577F5E2CCFB01892B9F3FD801899CD309414EF6831904ED57785A8F5F3 8C5873CF972CF51434E73A4CB86E2BC65091CC68514EA33AA3FAFCF779E25FDB 625AC02F043CA3443DBC7FF4E3DE42E2CD24BC129147BAABB51673BB078799F0 00548458A6CC48F1BE20340960BA2A25CA4868487FDBB15AB774133A75E7213F 7CD6B7C501764C20CB4759838F9FEEA131AF980ECC676FAA91BCDEBAC4AE6737 EBC825972BE20FD57462CC390DCB4949CEC376F4C59FA9A47E9D28E3C5832A33 83281C4F446733E79AD708BEA8279198DCEDF08E9B11D294DF7A525620B7DC66 A313AD2F5B8E032D32AC60FF98033917EF429B2A1A4DC024C401B628B3FA4EDA 5225314C1C549FD6DE1D8B4E75CFC2CA61095AA2B35D5352C2A6885E3CC7EB1A B6E26A827E31C42A96CA8E33CB2B2859ED507FE414B9DA62DE1880913533C669 B32A28339E5CD97A4EA3E9930E9B42D70BF07D964423ADE5B0FEC2247214DE8F B284A5B2A41FDFAF3A7789044AE79FA4C4595388874FA79056427B826793B657 891C04401AA8EF18B21683ADCDB8A71C4EF7ED319F82CAE56287A1CB30395223 9F60358EC23B498A0263A8B63F24BB4E0E5AB3618C695D7CA6433EE8F8BD43D4 0F1019DE95B3A2E8A2B1543CF4E3DB8E419D3E509C00E8B80835F53E5EDABEB7 032C1AA2511AD2D37E2F4DD398A70D15F48C2F61DCB37C98C1C7377BF4404A1E E837F9A94181D7A2A7D22A282986C701ABF7307037112A6CD2A51A3456EAEFC6 6E7FAE4E873D6CCA3CF61D23002DF1745CAA41178FE957BD9CF5F9EF45A944A9 FF40421384F0F35BEB460AF0B3CDA22276B95A7C6B017510C1E6AB08B3C513CA D3ABF120CEB2680FF5ED808A0694B3C66860D84032FDA9D5EDE8BD955EE4B311 E4805CC295E6458BCB500C2173E4946E9576B0249FAF42AD16AB7D263C53ACA9 E5363F41981D674A00B64DB77C19016B68518B272C041B2997B0997E15984F42 D41BEB4897B05A596BB53F5CCC8A40FBAC4596FA2718A0850081E498770B5478 BEDA7E2B8BBA96C07F20EA57AF0BDB88ED04CF61542D5319EAEB2A1A541B5AFD 0F97BB88D51C5D4AAD41B1AFFE4F5A62A416AAAAA59FA4393B4A052257C57487 5CF3E632BE599A453B6288CD2D9F346040AE68711D8AE121384D924712E245B8 09F2ED78ADED7621047B734B7C2F151D61234E6DD4E44BE64B23827C6059F576 C070B4B9CAE5E9D826F913264A778195E8D86FCBD2B8689CA8E32FAD55243258 CAEE547DE1E0C1F07F1642CE24E4635FB19C23BF423A3FC7190692D1FAAA2AE6 B60A11F04B5B6C7449F2FC027AE4A2920F753510C1CFD9E8DF24650272B33DB1 23A2643DCE56A318DCAF0121AC71E4DD770215E8CDFA6F8B7DC30565E620BB90 B9B9B8D1D09FB1229B9529A795C71A78E2D13934947EB3CA49E2EF71614A3A93 D43F255C48F8410CAF60C3EA6BEFC05A03A14A8BE9A91D7AE15B734CF92AF219 124168A73ED714811A0C72DA6F6E4E45B8192A420FC6F101B617BDC1EF7E0E98 3252064D3C8D938F75E98121102C5B03022A3071F74C2361160516559C23BEE5 48E014412C29D547D8C471511DECC97CFA969B516C6A3C5F654BEAAC19FA297C AF62566F9943D2A871773F1557BC3C9DB5214627F42EDC94DF0D851C8A218D43 FF7A20DCAFD60DA6CC8D6FE62BE6F8B227967CBE5F33E41894E8E20D958D71B3 07EFC38B3739F3C37B6B4CAF4A3B1D358223675F394622FEDC237BC9D8F94580 594E808DFA733E6DAA6B1ED9F2317EC6E09B28823BE38170CC170D4B5D273171 A61FF3CE6219C9722EF903678D158F9133B726F080D29A5FD7F2CFA2FFDDA3E0 25B0778E0DA3FE24F9097AA0319F228292E072EAA57C96DB7928C60DD757838B 11C9F3D4E631B06FD147A2003BC92962A636B1EB91607820EF74FB8CC37A82A0 77C0039BE9377DCE59C796BE87BC1FD86D8D41A8463EB56453EAF27437E810BE 79930F77C3B620ECD9D8E955A2995878183E599899C1CB8692346E5804B6A2F6 AFB77BA36AC97DBCFF78E3BEB16E493E65A12A8A687DF23A65570C8C1C2F7567 B66005492D85785A189489D1E317FB562262FD46D4FE1CAE0EEBBDC579C5255D 2EBB4DB5DD45EC2925B5BBD1F95C5DBEED8D2F5FF1C4592264CFF060C449698D 4CF916ABE7DA5004D32951A3335FD1038038572D43EAA76D3B4DD9539E2960F0 5160097B493A132144A0156283AC5B460F953D8D4C5BF5D577062A30956AB462 F09F8C4E227115FCBE0701EF2C7F15B24E409B2EF7333FEBA205E3987D1F916E 97045A5D2E797F4DA29129F2FFD8FDC48BAC6D2558C0BA02DE051BC1528EE451 F2DB2EF187FAC8F3F831DCD68B4357B9ACA0CFD5B285893D10CDC1688F280168 5AE975330CF664623D5C8A88A88F2FDD1BB7C100C749D68460CC59BBCCA8CAEA 3E5F3A59A4079DA580C0D557B997E488058D733AB0037E0476D5E7C73438EA3B E90FD366CCA9639CEC8E5A00A74D8EF145410A83292120E5F780A64A876EB550 6B5CCC28196633C4CF3540CDEF9717B28D811AA74F810242C46428037CAFB724 D4275372FC57BC8F368E9547671C574C74ACF22605DDA1354C80B89342336823 A9A1B9F0241C6E7F90C216A2776B360961358116282E735132C8F9179AE88DBF EBF320263E76132AE5F541A761036CF918318854078DA9079AE0100D7FC59B52 8966DE72B29A3CF6D0F31E78DF5B0C4B08592B6C5A9E462E573A27A3239A9F01 AAA1074CB9239AC47CD5573A884EDEAF3939D3F0431C88C480220360D6BE3E24 089D8CAA46F67AAE29BC64CB6F2AC2C5E35DE19F931124E47CAFBE3863FF6A71 3330847591BCAC220A609EC8037F2F6850F7CA659073F40F24EA5CA60D30A263 FB3B59A36394724C415D94D9003791638A3D93B9491CB3CB85EE913AB9D3C00A 223603769369CB271BA08324E99F5D1D81A92304A1FCBE659E7204C56C2C018C AB0E83DC4BBED2EDA774315627443B2BC7862F7A6FF5376E799420CA734FEBF2 89533FBAB54759F7DDF7A4CD65297599D0BEB71CAB5D226986E3C5E6D925F629 BCC7F5A38167FE213E909FEDF54E6E3C41790D23B1BA41C606A7E13A9982A8E3 5F8E64E64DEE97599B8B222E72A4B96B2D4FC173FFC1990931DFE3E11677B262 950E9B81F56532B058C87451404D9E035B9C6D66BFB632981437BE9EFB0D10ED 1517489C3E45867D15CC7343E937D845AAA405449AB163A133AE12FF424A5594 B9447635674769F6085ED80823AA3987375679864DA5E4AA78700D986284F9B5 46C105886893FEAD4875976D6A87318BE980753E0EB761D31D0EA92AFD659C9A 432E0E7FF7BF8C17A925C3C5B1E345E8C463CBBFF1973F21178F63CF18735BED 3F92B78506619E786D2726AB5C90379D3010133C5D34F1D461FD72E330BF39D5 CFB69ADF2D1CA049352F35BEF728C52FA6D1B9AE46C528B60FB04868499C8AE8 628C927A98B2C43F33583D76AD2E4F3F61AA9128501B056546F7EF34038A0A8B 75628A5113B532085B3CAD2D688A1408CDE475236ADF356F32D0946BD51A9780 C8D006B3946BD2D42FF589F35060BB426D9B38EF39E34BEF35FD5A902064DA6F 3C52BEFF2E556D86ECCAA2AF418D7DBF2B53FC68891505AA256B0AFA4CB78F27 001EBBDF751801D54034E4D9B66F35BC47574C1DB283448351C9495B2D6339EC 3078646A921D007BBACAD693DFF2C89E0F627DC645330A603AE0AB444740A6F0 2EC03D3267E08E93B68E15C622CB96533049F1410FCAB1266ED7A4E378BA71CD 0F1B84FAAAFF7B6DE789CE04EE80BA4578AB9A4C4A14C88F3B32107078E6D83A 6DBD29F226C3A3A08AF55EFBC12E1C05283C9F5D3B334FB22A38E3D0896D8BB0 05DD462F9C58BDE2C5B43A2B71D1517B7B44A1BC5A71F2DD59BC44C945B19B8E A831C5AD054C67E0CDD2F44298AF6078D781C5DCFEE0B075E9615187614C985D E4CC854D8C5DABC9DC22BD358EA9628AD4C3DC577D24EEBB1AA8777581F55845 6947357E66B5A87C5E297B31EB2B8055745429D3DC6E75F8ED65D5277115A3E3 1E6E9E74DCB1F14259B295B136B8E1115BA606957148F711E2E2B11D9E9D234B 21AFB0FC6F377B2921B3EAC46DF63A9EF888726F275932898EF4CD8CED596B9A E2AAF416BC06781E50CC0DD8BA8F96E43653B91516AF7F0712B87A1528AD133A A61F074C6B9CDC8DBF5504FB28B0B32BF6887A981024348951B5DF8CA8792F33 66544701C5F58C9265B17F7A9B49860DBEFF569E64A318EE743CEC54B1513D3B 5DFD17B23D7BEF6561416868530F5713ACDEF99FFEBF6A0589B42B8DED30D232 23E4F83EFC9C8FCBEB092C8859B283DE99BD84FC4CE1EB45BF924707708FE58F 9E6E9C329B4144D3D3642D401E70675861383A1F00220BD4090AF7BFD7F9372D 6D0931E022403D 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark {restore}if %%EndFont TeXDict begin 40258431 52099146 1000 600 600 (gsasl.dvi) @start /Fa 197[21 58[{}1 74.7198 /CMMI9 rf /Fb 134[39 3[39 39 39 39 2[39 39 39 39 2[39 39 2[39 3[39 97[{}13 74.7198 /CMSLTT10 rf /Fc 162[28 1[28 91[{}2 99.6264 /CMB10 rf /Fd 139[35 1[39 1[51 1[51 4[25 1[45 1[42 51 40 1[44 9[94 3[51 14[70 9[25 58[{}14 90.9091 /CMB10 rf /Fe 143[56 56 56 2[56 1[56 1[56 56 2[56 53[56 45[{}9 109.091 /CMTT12 rf /Ff 133[52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 1[52 52 52 52 52 52 52 52 52 1[52 40[52 1[52 52[{}28 99.6264 /CMSLTT10 rf /Fg 133[44 53 53 72 53 55 39 39 39 53 55 50 55 83 28 53 1[28 55 50 30 44 55 44 55 50 25[78 17[50 8[28 1[50 28[55 13[{}30 99.6264 /CMSL10 rf /Fh 214[35 35 40[{}2 90.9091 /CMSS10 rf /Fi 133[52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 1[52 52 52 52 52 52 52 52 52 1[52 23[52 16[52 52 52 2[52 6[52 52 52 40[{}34 99.6264 /CMTT10 rf /Fj 134[41 41 55 41 43 30 30 30 41 43 38 43 64 21 41 1[21 43 38 23 34 43 34 43 38 8[58 79 58 58 55 43 57 1[52 60 58 70 48 60 1[28 58 60 50 52 59 55 54 58 7[38 38 38 38 38 38 38 38 38 38 1[21 26 21 31[43 12[{}60 74.7198 /CMR9 rf /Fk 206[33 49[{}1 58.1154 /CMR7 rf /Fl 133[40 48 48 66 48 51 35 36 36 48 51 45 51 76 25 48 1[25 51 45 28 40 51 40 51 45 11[68 6[68 6[71 16[45 1[45 38[51 51 12[{}32 90.9091 /CMSL10 rf /Fm 133[55 65 65 89 65 68 48 48 50 65 68 61 68 102 34 65 1[34 68 61 37 56 68 55 68 60 34 8[127 3[68 6[74 96 1[46 7[93 8[61 1[61 61 61 1[61 61 2[34 6[34 26[68 12[{}41 109.091 /CMBX12 rf /Fn 133[39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 1[39 1[39 39 39 1[39 39 39 39 39 39 39 39 39 39 39 39 39 1[39 39 39 39 39 39 39 39 39 3[39 1[39 1[39 39 1[39 39 39 39 39 39 39 39 39 39 39 1[39 39 39 39 39[{}73 74.7198 /CMTT9 rf /Fo 129[48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 1[48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 33[{}93 90.9091 /CMTT10 rf /Fp 197[25 58[{}1 90.9091 /CMMI10 rf /Fq 197[33 58[{}1 119.552 /CMMI12 rf /Fr 134[85 85 117 85 90 63 64 66 1[90 81 90 134 45 85 1[45 90 81 49 74 90 72 90 78 11[124 112 90 120 1[110 121 126 153 97 2[60 126 127 101 106 124 117 115 122 6[45 81 81 81 81 81 81 81 81 81 81 35[90 12[{}53 143.462 /CMBX12 rf /Fs 240[45 1[91 13[{}2 90.9091 /CMSY10 rf /Ft 133[60 71 71 97 71 75 52 53 55 71 75 67 75 112 37 71 1[37 75 67 41 61 75 60 75 65 7[102 102 139 102 103 94 75 100 1[92 101 105 128 81 105 69 50 105 106 85 88 103 97 96 102 6[37 67 67 67 67 67 67 67 67 67 67 1[37 45 4[52 27[75 12[{}64 119.552 /CMBX12 rf /Fu 131[91 45 40 48 48 66 48 51 35 36 36 48 51 45 51 76 25 48 28 25 51 45 28 40 51 40 51 45 25 2[25 45 25 56 68 68 93 68 68 66 51 67 71 62 71 68 83 57 71 47 33 68 71 59 62 69 66 64 68 1[43 1[71 1[25 25 45 45 45 45 45 45 45 45 45 45 45 25 30 25 1[45 35 35 25 3[76 45 25 17[76 76 51 51 53 11[{}88 90.9091 /CMR10 rf /Fv 170[149 1[108 4[151 1[116 4[152 5[146 65[{}6 172.154 /CMBX12 rf end %%EndProlog %%BeginSetup %%Feature: *Resolution 600dpi TeXDict begin %%BeginPaperSize: Letter /setpagedevice where { pop << /PageSize [612 792] >> setpagedevice } { /letter where { pop letter } if } ifelse %%EndPaperSize end %%EndSetup %%Page: 1 1 TeXDict begin 1 0 bop 150 1317 a Fv(GNU)65 b(SASL)p 150 1383 3600 34 v 1239 1480 a Fu(Simple)30 b(Authen)m(tication)i(and)e (Securit)m(y)h(La)m(y)m(er)g(for)f(the)h(GNU)g(system)2556 1588 y(for)f(v)m(ersion)h(1.8.1,)h(25)f(July)f(2019)150 5091 y Ft(Simon)45 b(Josefsson)p 150 5141 3600 17 v eop end %%Page: 2 2 TeXDict begin 2 1 bop 150 4633 a Fu(This)30 b(man)m(ual)g(w)m(as)h (last)g(up)s(dated)e(25)j(July)d(2019)j(for)f(v)m(ersion)f(1.8.1)j(of)d (GNU)h(SASL.)150 4767 y(Cop)m(yrigh)m(t)602 4764 y(c)577 4767 y Fs(\015)f Fu(2002-2019)k(Simon)c(Josefsson.)390 4902 y(P)m(ermission)21 b(is)f(gran)m(ted)h(to)g(cop)m(y)-8 b(,)24 b(distribute)c(and/or)h(mo)s(dify)e(this)i(do)s(cumen)m(t)f (under)f(the)390 5011 y(terms)25 b(of)h(the)f(GNU)h(F)-8 b(ree)27 b(Do)s(cumen)m(tation)g(License,)g(V)-8 b(ersion)26 b(1.3)g(or)f(an)m(y)h(later)g(v)m(ersion)390 5121 y(published)43 b(b)m(y)h(the)h(F)-8 b(ree)46 b(Soft)m(w)m(are)g(F)-8 b(oundation;)53 b(with)44 b(no)g(In)m(v)-5 b(arian)m(t)46 b(Sections,)j(no)390 5230 y(F)-8 b(ron)m(t-Co)m(v)m(er)31 b(T)-8 b(exts,)30 b(and)f(no)f(Bac)m(k-Co)m(v)m(er)k(T)-8 b(exts.)41 b(A)29 b(cop)m(y)h(of)f(the)g(license)h(is)f(included)390 5340 y(in)h(the)h(section)g(en)m(titled)h(\\GNU)f(F)-8 b(ree)32 b(Do)s(cumen)m(tation)g(License".)p eop end %%Page: -1 3 TeXDict begin -1 2 bop 3725 -116 a Fu(i)150 299 y Fr(T)-13 b(able)53 b(of)h(Con)l(ten)l(ts)150 649 y Ft(1)135 b(In)l(tro)t (duction)31 b Fq(:)19 b(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)h(:)f(:)g(:)44 b Ft(1)275 786 y Fu(1.1)92 b(SASL)29 b(Ov)m(erview)9 b Fp(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)22 b Fu(1)275 896 y(1.2)92 b(Implemen)m(tation)10 b Fp(:)16 b(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)23 b Fu(1)275 1005 y(1.3)92 b(F)-8 b(eatures)14 b Fp(:)i(:)f(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:) f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)27 b Fu(2)275 1115 y(1.4)92 b(Requiremen)m(ts)11 b Fp(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)25 b Fu(3)275 1225 y(1.5)92 b(Supp)s(orted)28 b(Platforms)8 b Fp(:)16 b(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)22 b Fu(3)275 1334 y(1.6)92 b(Getting)32 b(help)12 b Fp(:)i(:)i(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)25 b Fu(5)275 1444 y(1.7)92 b(Commercial)31 b(Supp)s(ort)11 b Fp(:)i(:)i(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)24 b Fu(5)275 1553 y(1.8)92 b(Do)m(wnloading)31 b(and)f(Installing)18 b Fp(:)e(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)31 b Fu(5)399 1663 y(1.8.1)93 b(Installing)31 b(under)e(Windo)m(ws)16 b Fp(:)f(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)30 b Fu(7)399 1773 y(1.8.2)93 b(Kerb)s(eros)29 b(on)h(Windo)m(ws)8 b Fp(:)17 b(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)22 b Fu(7)275 1882 y(1.9)92 b(Bug)30 b(Rep)s(orts)11 b Fp(:)k(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)24 b Fu(8)275 1992 y(1.10)92 b(Con)m(tributing)23 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)37 b Fu(9)150 2242 y Ft(2)135 b(Preparation)17 b Fq(:)j(:)g(:)f(:)h(:)f(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)30 b Ft(10)275 2379 y Fu(2.1)92 b(Header)18 b Fp(:)e(:)f(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)31 b Fu(10)275 2489 y(2.2)92 b(Initialization)28 b Fp(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)39 b Fu(10)275 2599 y(2.3)92 b(V)-8 b(ersion)31 b(Chec)m(k)17 b Fp(:)e(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)30 b Fu(12)275 2708 y(2.4)92 b(Building)30 b(the)h(source)15 b Fp(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)28 b Fu(12)275 2818 y(2.5)92 b(Auto)s(conf)30 b(tests)10 b Fp(:)17 b(:)e(:)g(:)h(:)f (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)23 b Fu(13)399 2927 y(2.5.1)93 b(Auto)s(conf)30 b(test)i(via)f(`)p Fo(pkg-config)p Fu(')22 b Fp(:)12 b(:)k(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)35 b Fu(13)399 3037 y(2.5.2)93 b(Standalone)31 b(Auto)s(conf)f(test)h (using)f(Libto)s(ol)25 b Fp(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)37 b Fu(13)150 3288 y Ft(3)135 b(Using)45 b(the)h(Library)24 b Fq(:)19 b(:)h(:)f(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)37 b Ft(15)275 3425 y Fu(3.1)92 b(Cho)s(osing)30 b(a)g(mec)m(hanism)e Fp(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)40 b Fu(19)275 3534 y(3.2)92 b(Using)30 b(a)h(callbac)m(k)16 b Fp(:)h(:)f(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)29 b Fu(20)150 3785 y Ft(4)135 b(Prop)t(erties)35 b Fq(:)20 b(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:) f(:)g(:)48 b Ft(22)150 4063 y(5)135 b(Mec)l(hanisms)36 b Fq(:)19 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)49 b Ft(26)275 4200 y Fu(5.1)92 b(The)29 b(EXTERNAL)h(mec)m (hanism)17 b Fp(:)f(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)30 b Fu(26)275 4310 y(5.2)92 b(The)29 b(ANONYMOUS)i(mec)m (hanism)8 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)21 b Fu(26)275 4419 y(5.3)92 b(The)29 b(PLAIN)i(mec)m(hanism)11 b Fp(:)k(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)24 b Fu(27)275 4529 y(5.4)92 b(The)29 b(LOGIN)i(mec)m(hanism)25 b Fp(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)38 b Fu(27)275 4638 y(5.5)92 b(The)29 b(CRAM-MD5)j(mec)m(hanism)19 b Fp(:)e(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)32 b Fu(28)275 4748 y(5.6)92 b(The)29 b(DIGEST-MD5)j(mec)m(hanism)26 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)39 b Fu(28)275 4858 y(5.7)92 b(The)29 b(SCRAM-SHA-1)i(mec)m(hanism)23 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)36 b Fu(29)275 4967 y(5.8)92 b(The)29 b(NTLM)i(mec)m(hanism)18 b Fp(:)d(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)31 b Fu(30)275 5077 y(5.9)92 b(The)29 b(SECURID)h(mec)m(hanism)e Fp(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)41 b Fu(30)275 5186 y(5.10)92 b(The)30 b(GSSAPI)f(mec)m(hanism)d Fp(:)15 b(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)38 b Fu(30)275 5296 y(5.11)92 b(The)30 b(GS2-KRB5)h(mec)m(hanism)10 b Fp(:)16 b(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:) h(:)23 b Fu(31)p eop end %%Page: -2 4 TeXDict begin -2 3 bop 3699 -116 a Fu(ii)275 83 y(5.12)92 b(The)30 b(SAML20)h(mec)m(hanism)18 b Fp(:)d(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)31 b Fu(31)275 193 y(5.13)92 b(The)30 b(OPENID20)h(mec)m(hanism)26 b Fp(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) 38 b Fu(32)275 302 y(5.14)92 b(The)30 b(KERBER)m(OS)p 1232 302 28 4 v 39 w(V5)h(mec)m(hanism)22 b Fp(:)16 b(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)h(:)f(:)g(:)35 b Fu(33)150 529 y Ft(6)135 b(Global)45 b(F)-11 b(unctions)25 b Fq(:)19 b(:)g(:)g(:)h(:)f(:)h(:)f (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)h(:)f(:)h(:)f(:)g(:)38 b Ft(34)150 783 y(7)135 b(Callbac)l(k)46 b(F)-11 b(unctions)19 b Fq(:)f(:)i(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) 32 b Ft(36)150 1037 y(8)135 b(Prop)t(ert)l(y)45 b(F)-11 b(unctions)32 b Fq(:)20 b(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)46 b Ft(38)150 1291 y(9)135 b(Session)45 b(F)-11 b(unctions)33 b Fq(:)20 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)47 b Ft(40)150 1544 y(10)135 b(Utilities)19 b Fq(:)j(:)e(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)32 b Ft(43)150 1798 y(11)135 b(Memory)45 b(Handling)32 b Fq(:)20 b(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)45 b Ft(46)150 2052 y(12)135 b(Error)45 b(Handling)14 b Fq(:)20 b(:)f(:)h(:)f(:)h(:)f (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)27 b Ft(47)275 2189 y Fu(12.1)92 b(Error)30 b(v)-5 b(alues)15 b Fp(:)g(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)28 b Fu(47)275 2299 y(12.2)92 b(Error)30 b(strings)23 b Fp(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)h(:)f(:)36 b Fu(51)150 2525 y Ft(13)135 b(Examples)26 b Fq(:)20 b(:)g(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)39 b Ft(52)275 2662 y Fu(13.1)92 b(Example)31 b(1)25 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)38 b Fu(52)275 2772 y(13.2)92 b(Example)31 b(2)25 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)38 b Fu(54)275 2882 y(13.3)92 b(Example)31 b(3)25 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)38 b Fu(57)275 2991 y(13.4)92 b(Example)31 b(4)25 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)38 b Fu(60)275 3101 y(13.5)92 b(Example)31 b(5)25 b Fp(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)38 b Fu(64)150 3327 y Ft(14)135 b(Ac)l(kno)l(wledgemen)l(ts)12 b Fq(:)21 b(:)e(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)25 b Ft(71)150 3581 y(15)135 b(In)l(v)l(oking)46 b(gsasl)25 b Fq(:)20 b(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)38 b Ft(72)150 3835 y(App)t(endix)44 b(A)119 b(Proto)t(col)46 b(Clari\014cations)15 b Fq(:)22 b(:)d(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h (:)f(:)h(:)28 b Ft(75)275 3972 y Fu(A.1)91 b(Use)31 b(of)g(SASLprep)d (in)i(CRAM-MD5)f Fp(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)41 b Fu(75)275 4082 y(A.2)91 b(Use)31 b(of)g(SASLprep)d(in)i(LOGIN)13 b Fp(:)i(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)26 b Fu(75)150 4308 y Ft(App)t(endix)44 b(B)125 b(Old)45 b(F)-11 b(unctions)29 b Fq(:)19 b(:)g(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)42 b Ft(76)275 4445 y Fu(B.1)92 b(Obsolete)31 b(callbac)m(k)h(function)e(protot)m(yp)s (es)c Fp(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)38 b Fu(97)150 4672 y Ft(App)t(endix)44 b(C)124 b(Cop)l(ying)46 b(Information)30 b Fq(:)20 b(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)43 b Ft(103)275 4809 y Fu(C.1)91 b(GNU)31 b(F)-8 b(ree)31 b(Do)s(cumen)m(tation)h(License)8 b Fp(:)17 b(:)e(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)22 b Fu(103)150 5035 y Ft(F)-11 b(unction)44 b(and)h(Data)h(Index)34 b Fq(:)19 b(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)48 b Ft(111)150 5289 y(Concept)d(Index)29 b Fq(:)19 b(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)42 b Ft(113)p eop end %%Page: 1 5 TeXDict begin 1 4 bop 3705 -116 a Fu(1)150 299 y Fr(1)80 b(In)l(tro)t(duction)150 519 y Fu(This)34 b(man)m(ual)h(can)g(b)s(e)f (used)g(in)h(sev)m(eral)h(w)m(a)m(ys.)54 b(If)35 b(read)f(from)g(the)h (b)s(eginning)f(to)i(the)f(end,)g(it)h(giv)m(es)150 629 y(the)31 b(reader)g(an)g(understanding)e(of)i(the)g(SASL)f(framew)m (ork)h(and)g(the)g(GNU)g(SASL)f(implemen)m(tation,)150 739 y(and)f(ho)m(w)h(the)f(GNU)i(SASL)d(library)i(is)f(used)g(in)g(an)h (application.)42 b(F)-8 b(orw)m(ard)30 b(references)g(are)g(included) 150 848 y(where)k(necessary)-8 b(.)54 b(Later)36 b(on,)f(the)g(man)m (ual)g(can)g(b)s(e)f(used)g(as)h(a)g(reference)g(man)m(ual)g(to)g(get)h (just)e(the)150 958 y(information)27 b(needed)f(ab)s(out)g(an)m(y)g (particular)h(in)m(terface)h(of)e(the)h(library)-8 b(.)39 b(Exp)s(erienced)26 b(programmers)150 1067 y(migh)m(t)32 b(w)m(an)m(t)f(to)h(start)g(lo)s(oking)f(at)h(the)f(examples)h(at)g (the)f(end)f(of)h(the)g(man)m(ual,)h(and)e(then)h(only)g(read)150 1177 y(up)e(those)i(parts)f(of)h(the)f(in)m(terface)i(whic)m(h)e(are)h (unclear.)150 1412 y Ft(1.1)68 b(SASL)44 b(Ov)l(erview)150 1572 y Fu(SASL)32 b(is)h(a)h(framew)m(ork)f(for)g(application)i(proto)s (cols,)g(suc)m(h)d(as)i(SMTP)e(or)h(IMAP)-8 b(,)34 b(to)g(add)f(authen) m(ti-)150 1681 y(cation)j(supp)s(ort.)51 b(F)-8 b(or)35 b(example,)h(SASL)e(is)g(used)g(to)h(pro)m(v)m(e)g(to)g(the)g(serv)m (er)g(who)f(y)m(ou)g(are)h(when)f(y)m(ou)150 1791 y(access)e(an)e(IMAP) g(serv)m(er)h(to)g(read)f(y)m(our)h(e-mail.)275 1923 y(The)20 b(SASL)g(framew)m(ork)h(do)s(es)g(not)g(sp)s(ecify)g(the)g (tec)m(hnology)j(used)c(to)i(p)s(erform)d(the)j(authen)m(tication,)150 2032 y(that)39 b(is)g(the)g(resp)s(onsibilit)m(y)f(for)h(eac)m(h)h (SASL)d(mec)m(hanism.)66 b(P)m(opular)39 b(SASL)e(mec)m(hanisms)i (include)150 2142 y(CRAM-MD5)32 b(and)e(GSSAPI)f(\(for)i(Kerb)s(eros)e (V5\).)275 2274 y(T)m(ypically)j(a)g(SASL)e(negotiation)k(w)m(orks)e (as)g(follo)m(ws.)45 b(First)32 b(the)f(clien)m(t)i(requests)f(authen)m (tication)150 2383 y(\(p)s(ossibly)k(implicitly)h(b)m(y)f(connecting)h (to)g(the)f(serv)m(er\).)59 b(The)36 b(serv)m(er)g(resp)s(onds)e(with)i (a)h(list)g(of)f(sup-)150 2493 y(p)s(orted)f(mec)m(hanisms.)55 b(The)35 b(clien)m(t)i(c)m(hose)f(one)g(of)f(the)h(mec)m(hanisms.)55 b(The)35 b(clien)m(t)i(and)e(serv)m(er)g(then)150 2602 y(exc)m(hange)29 b(data,)g(one)f(round-trip)f(at)h(a)g(time,)i(un)m (til)e(authen)m(tication)h(either)g(succeeds)f(or)f(fails.)41 b(After)150 2712 y(that,)31 b(the)g(clien)m(t)h(and)e(serv)m(er)g(kno)m (ws)g(more)h(ab)s(out)f(who)g(is)g(on)h(the)f(other)h(end)f(of)g(the)h (c)m(hannel.)275 2844 y(F)-8 b(or)31 b(example,)g(in)f(SMTP)g(comm)m (unication)i(happ)s(ens)c(lik)m(e)k(this:)390 2953 y Fn(250-mail.example.com)44 b(Hello)c(pc.example.org)j([192.168.1.42],)f (pleased)f(to)f(meet)g(you)390 3040 y(250-AUTH)h(DIGEST-MD5)h(CRAM-MD5) f(LOGIN)f(PLAIN)390 3127 y(250)g(HELP)390 3215 y(AUTH)g(CRAM-MD5)390 3302 y(334)g(PDk5MDgwNDEzMDUwNTUyMTE1NDQ5L)q(jBAbG)q(9jYW)q(xob3N)q (0Pg=)q(=)390 3389 y(amFzIDBkZDRkODZkMDVjNjI4ODRkY)q(zc3O)q(TcwOD)q (E4ZG)q(I5MGY)q(3)390 3476 y(235)g(2.0.0)g(OK)g(Authenticated)275 3608 y Fu(Here)29 b(the)h(\014rst)e(three)h(lines)h(are)f(sen)m(t)h(b)m (y)f(the)g(serv)m(er)h(and)e(con)m(tains)i(the)g(list)g(of)f(supp)s (orted)e(mec)m(h-)150 3718 y(anisms)39 b(\(DIGEST-MD5,)44 b(CRAM-MD5,)g(etc\).)70 b(The)39 b(next)h(line)g(is)f(sen)m(t)h(b)m(y)g (the)g(clien)m(t)h(to)f(select)150 3827 y(the)32 b(CRAM-MD5)h(mec)m (hanism.)45 b(The)31 b(serv)m(er)h(replies)g(with)g(a)g(c)m(hallenge,)i (whic)m(h)e(is)f(a)h(message)h(that)150 3937 y(can)44 b(b)s(e)f(generated)i(b)m(y)e(calling)i(GNU)f(SASL)f(functions.)80 b(The)43 b(clien)m(t)i(replies)f(with)g(a)g(resp)s(onse,)150 4046 y(whic)m(h)29 b(also)h(is)f(a)h(message)g(that)g(can)f(b)s(e)g (generated)h(b)m(y)f(GNU)h(SASL)e(functions.)40 b(Dep)s(ending)29 b(on)g(the)150 4156 y(mec)m(hanism,)40 b(there)d(can)g(b)s(e)g(more)g (than)g(one)h(round)e(trip,)j(so)e(do)g(not)h(assume)f(all)h(authen)m (tication)150 4266 y(exc)m(hanges)k(consists)g(of)f(one)g(message)h (from)f(the)g(serv)m(er)g(and)g(one)g(from)g(the)g(clien)m(t.)74 b(The)41 b(serv)m(er)150 4375 y(accepts)36 b(the)f(authen)m(tication.) 55 b(A)m(t)36 b(that)f(p)s(oin)m(t)g(it)g(kno)m(ws)g(it)g(is)f(talking) i(to)g(a)f(authen)m(ticated)h(clien)m(t,)150 4485 y(and)30 b(the)g(application)i(proto)s(col)f(can)g(con)m(tin)m(ue.)275 4616 y(Essen)m(tially)-8 b(,)33 b(y)m(our)f(application)g(is)g(resp)s (onsible)e(for)i(implemen)m(ting)g(the)f(framing)h(proto)s(col)g (\(e.g.,)150 4726 y(SMTP)k(or)g(XMPP\))h(according)g(to)g(the)g (particular)f(sp)s(eci\014cations.)59 b(Y)-8 b(our)37 b(application)g(uses)f(GNU)150 4836 y(SASL)29 b(to)i(generate)h(the)f (authen)m(tication)h(messages.)150 5071 y Ft(1.2)68 b(Implemen)l (tation)150 5230 y Fu(GNU)32 b(SASL)f(is)h(an)g(implemen)m(tation)h(of) f(the)g(Simple)g(Authen)m(tication)h(and)f(Securit)m(y)g(La)m(y)m(er)h (frame-)150 5340 y(w)m(ork)d(and)g(a)h(few)f(common)h(SASL)e(mec)m (hanisms.)p eop end %%Page: 2 6 TeXDict begin 2 5 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(2)275 299 y(GNU)34 b(SASL)e(consists)i(of)f (a)h(library)f(\()p Fo(libgsasl)p Fu(\),)g(a)g(command)g(line)h(utilit) m(y)h(\()p Fo(gsasl)p Fu(\))e(to)h(access)150 408 y(the)g(library)f (from)g(the)h(shell,)h(and)e(a)h(man)m(ual.)51 b(The)33 b(library)g(includes)h(supp)s(ort)e(for)h(the)h(framew)m(ork)150 518 y(\(with)27 b(authen)m(tication)i(functions)e(and)f(application)i (data)g(priv)-5 b(acy)27 b(and)f(in)m(tegrit)m(y)j(functions\))e(and)f (at)150 628 y(least)37 b(partial)f(supp)s(ort)e(for)h(the)h(ANONYMOUS,) f(CRAM-MD5,)k(DIGEST-MD5,)f(EXTERNAL,)150 737 y(GS2-KRB5,)46 b(GSSAPI,)c(LOGIN,)g(NTLM,)h(PLAIN,)f(SCRAM-SHA-1,)k(SCRAM-SHA-1-PLUS,) 150 847 y(SAML20,)31 b(OPENID20,)h(and)d(SECURID)h(mec)m(hanisms.)275 1018 y(The)39 b(library)g(is)g(easily)i(p)s(orted)d(b)s(ecause)i(it)g (do)s(es)f(not)h(do)f(net)m(w)m(ork)i(comm)m(unication)f(b)m(y)g (itself,)150 1127 y(but)d(rather)h(lea)m(v)m(es)i(it)e(up)e(to)j(the)f (calling)h(application.)64 b(The)37 b(library)h(is)f(\015exible)h(with) g(regards)f(to)150 1237 y(the)28 b(authorization)i(infrastructure)d (used,)h(as)g(it)h(utilizes)g(a)g(callbac)m(k)h(in)m(to)f(the)f (application)i(to)f(decide)150 1346 y(whether)h(a)g(user)g(is)h (authorized)f(or)h(not.)275 1517 y(GNU)41 b(SASL)g(is)g(dev)m(elop)s (ed)h(for)f(the)g(GNU/Lin)m(ux)h(system,)j(but)40 b(runs)g(on)h(o)m(v)m (er)i(20)f(platforms)150 1627 y(including)37 b(most)h(ma)5 b(jor)37 b(Unix)g(platforms)g(and)g(Windo)m(ws,)i(and)e(man)m(y)g(kind) g(of)g(devices)h(including)150 1736 y(iP)-8 b(A)m(Q)31 b(handhelds)e(and)h(S/390)h(mainframes.)275 1907 y(GNU)40 b(SASL)f(is)h(written)g(in)f(pure)g(ANSI)h(C89)g(to)h(b)s(e)e(p)s (ortable)h(to)g(em)m(b)s(edded)f(and)h(otherwise)150 2017 y(limited)34 b(platforms.)50 b(The)33 b(en)m(tire)h(library)-8 b(,)34 b(with)f(full)h(supp)s(ort)d(for)i(ANONYMOUS,)h(EXTERNAL,)150 2126 y(PLAIN,)27 b(LOGIN)g(and)f(CRAM-MD5,)j(and)e(the)g(fron)m(t-end)g (that)g(supp)s(orts)e(clien)m(t)k(and)d(serv)m(er)h(mo)s(de,)150 2236 y(and)32 b(the)g(IMAP)h(and)e(SMTP)h(proto)s(cols,)i(\014ts)e(in)g (under)f(80kb)h(on)g(an)h(In)m(tel)g(x86)g(platform,)g(without)150 2346 y(an)m(y)e(mo)s(di\014cations)f(to)h(the)g(co)s(de.)41 b(\(This)30 b(\014gure)g(w)m(as)g(accurate)i(as)f(of)f(v)m(ersion)h (1.1.\))275 2516 y(The)40 b(design)i(of)f(the)h(library)f(and)g(the)h (in)m(tended)f(in)m(teraction)i(b)s(et)m(w)m(een)f(applications)h(and)e (the)150 2626 y(library)30 b(through)g(the)g(o\016cial)i(API)e(is)h (illustrated)g(b)s(elo)m(w.)150 4041 y @beginspecial 0 @llx 0 @lly 1313 @urx 684 @ury 2834 @rwi 1417 @rhi @setspecial %%BeginDocument: abstraction.eps %!PS-Adobe-2.0 EPSF-2.0 %%Title: abstraction.dia %%Creator: Dia v0.94 %%CreationDate: Sun Nov 7 16:43:45 2004 %%For: jas %%Orientation: Portrait %%Magnification: 1.0000 %%BoundingBox: 0 0 1313 684 %%BeginSetup %%EndSetup %%EndComments %%BeginProlog [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /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 /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /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 /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def /cp {closepath} bind def /c {curveto} bind def /f {fill} bind def /a {arc} bind def /ef {eofill} bind def /ex {exch} bind def /gr {grestore} bind def /gs {gsave} bind def /sa {save} bind def /rs {restore} bind def /l {lineto} bind def /m {moveto} bind def /rm {rmoveto} bind def /n {newpath} bind def /s {stroke} bind def /sh {show} bind def /slc {setlinecap} bind def /slj {setlinejoin} bind def /slw {setlinewidth} bind def /srgb {setrgbcolor} bind def /rot {rotate} bind def /sc {scale} bind def /sd {setdash} bind def /ff {findfont} bind def /sf {setfont} bind def /scf {scalefont} bind def /sw {stringwidth pop} bind def /tr {translate} bind def /ellipsedict 8 dict def ellipsedict /mtrx matrix put /ellipse { ellipsedict begin /endangle exch def /startangle exch def /yrad exch def /xrad exch def /y exch def /x exch def /savematrix mtrx currentmatrix def x y tr xrad yrad sc 0 0 1 startangle endangle arc savematrix setmatrix end } def /mergeprocs { dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /dpi_x 300 def /dpi_y 300 def /conicto { /to_y exch def /to_x exch def /conic_cntrl_y exch def /conic_cntrl_x exch def currentpoint /p0_y exch def /p0_x exch def /p1_x p0_x conic_cntrl_x p0_x sub 2 3 div mul add def /p1_y p0_y conic_cntrl_y p0_y sub 2 3 div mul add def /p2_x p1_x to_x p0_x sub 1 3 div mul add def /p2_y p1_y to_y p0_y sub 1 3 div mul add def p1_x p1_y p2_x p2_y to_x to_y curveto } bind def /start_ol { gsave 1.1 dpi_x div dup scale} bind def /end_ol { closepath fill grestore } bind def 28.346000 -28.346000 scale 5.050000 -24.050000 translate %%EndProlog 1.000000 1.000000 1.000000 srgb n 16.000000 0.000000 m 16.000000 24.000000 l 25.250000 24.000000 l 25.250000 0.000000 l f n 16.000000 1.000000 m 16.000000 1.000000 1.000000 1.000000 180.000000 270.000000 ellipse f n 25.250000 1.000000 m 25.250000 1.000000 1.000000 1.000000 270.000000 360.000000 ellipse f n 15.000000 1.000000 m 15.000000 23.000000 l 26.250000 23.000000 l 26.250000 1.000000 l f n 16.000000 23.000000 m 16.000000 23.000000 1.000000 1.000000 90.000000 180.000000 ellipse f n 25.250000 23.000000 m 25.250000 23.000000 1.000000 1.000000 0.000000 90.000000 ellipse f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 16.000000 0.000000 m 25.250000 0.000000 l s n 16.000000 24.000000 m 25.250000 24.000000 l s n 16.000000 1.000000 1.000000 1.000000 180.000000 270.000000 ellipse s n 25.250000 1.000000 1.000000 1.000000 270.000000 360.000000 ellipse s n 15.000000 1.000000 m 15.000000 23.000000 l s n 26.250000 1.000000 m 26.250000 23.000000 l s n 16.000000 23.000000 1.000000 1.000000 90.000000 180.000000 ellipse s n 25.250000 23.000000 1.000000 1.000000 0.000000 90.000000 ellipse s gsave 15.531200 3.131250 translate 0.035278 -0.035278 scale start_ol 5952 3200 moveto 3392 3200 lineto 3392 2560 lineto 5248 2560 lineto 5248 2408 lineto 5248 1417 4446 701 3334 701 curveto 2715 701 2155 917 1796 1294 curveto 1394 1710 1152 2407 1152 3128 curveto 1152 4562 2005 5507 3292 5507 curveto 4220 5507 4889 5027 5056 4236 curveto 5866 4236 lineto 5648 5489 4711 6208 3313 6208 curveto 2568 6208 1966 6021 1489 5639 curveto 786 5070 384 4152 384 3088 curveto 384 1268 1527 0 3171 0 curveto 3997 0 4656 306 5248 960 curveto 5445 0 lineto 5952 0 lineto 5952 3200 lineto end_ol grestore gsave 16.411733 3.131250 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 17.233000 3.131250 translate 0.035278 -0.035278 scale start_ol 4608 6208 moveto 4608 2000 lineto 4608 1194 4013 701 3032 701 curveto 2579 701 2210 808 1916 1013 curveto 1615 1244 1472 1548 1472 2000 curveto 1472 6208 lineto 704 6208 lineto 704 1981 lineto 704 759 1588 0 3032 0 curveto 4458 0 5376 776 5376 1981 curveto 5376 6208 lineto 4608 6208 lineto end_ol grestore gsave 18.054267 3.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 18.367533 3.131250 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 19.121067 3.131250 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 19.874600 3.131250 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 20.628133 3.131250 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore gsave 15.531200 4.631250 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore gsave 16.166200 4.631250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 16.420200 4.631250 translate 0.035278 -0.035278 scale start_ol 448 6208 moveto 448 0 lineto 1152 0 lineto 1152 760 lineto 1477 245 1907 0 2500 0 curveto 3621 0 4352 901 4352 2288 curveto 4352 3643 3639 4480 2495 4480 curveto 1898 4480 1475 4251 1152 3751 curveto 1152 6208 lineto 448 6208 lineto 2371 3813 moveto 3147 3813 3648 3185 3648 2217 curveto 3648 1295 3130 667 2371 667 curveto 1636 667 1152 1287 1152 2240 curveto 1152 3193 1636 3813 2371 3813 curveto end_ol grestore gsave 17.055200 4.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2253 lineto 1280 2874 1440 3281 1776 3521 curveto 1994 3678 2205 3728 2692 3728 curveto 2692 4480 lineto 2574 4480 2515 4480 2422 4480 curveto 1967 4480 1621 4211 1216 3554 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 17.436200 4.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 18.071200 4.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2253 lineto 1280 2874 1440 3281 1776 3521 curveto 1994 3678 2205 3728 2692 3728 curveto 2692 4480 lineto 2574 4480 2515 4480 2422 4480 curveto 1967 4480 1621 4211 1216 3554 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 18.452200 4.631250 translate 0.035278 -0.035278 scale start_ol 3261 4480 moveto 2042 959 lineto 916 4480 lineto 168 4480 lineto 1656 -60 lineto 1387 -776 lineto 1277 -1095 1118 -1216 824 -1216 curveto 723 -1216 605 -1199 454 -1164 curveto 454 -1755 lineto 597 -1825 740 -1856 924 -1856 curveto 1151 -1856 1395 -1779 1580 -1643 curveto 1799 -1480 1925 -1292 2059 -934 curveto 4017 4480 lineto 3261 4480 lineto end_ol grestore gsave 19.019467 4.631250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 19.332733 4.631250 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 20.086267 4.631250 translate 0.035278 -0.035278 scale start_ol 1536 2624 moveto 3455 2624 lineto 3938 2624 4320 2769 4650 3068 curveto 5023 3409 5184 3810 5184 4382 curveto 5184 5551 4504 6208 3295 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2624 lineto 1536 3264 moveto 1536 5507 lineto 3162 5507 lineto 3908 5507 4352 5086 4352 4386 curveto 4352 3685 3908 3264 3162 3264 curveto 1536 3264 lineto end_ol grestore gsave 20.839800 4.631250 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore gsave 15.531200 7.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 7.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 7.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 9.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 9.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 9.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 9.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 9.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 9.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 9.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.078733 9.131250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 19.713733 9.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.967733 9.131250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 20.281000 9.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 20.594267 9.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 20.975267 9.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 10.631250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 10.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 10.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 10.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 10.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 10.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 10.631250 translate 0.035278 -0.035278 scale start_ol 3927 2938 moveto 3894 3350 3802 3616 3635 3850 curveto 3335 4246 2809 4480 2200 4480 curveto 1024 4480 256 3587 256 2200 curveto 256 853 1007 0 2192 0 curveto 3234 0 3894 604 3977 1635 curveto 3271 1635 lineto 3153 984 2792 658 2195 658 curveto 1422 658 960 1240 960 2201 curveto 960 3217 1414 3822 2179 3822 curveto 2767 3822 3137 3504 3221 2938 curveto 3927 2938 lineto end_ol grestore gsave 19.392000 10.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 20.027000 10.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 20.281000 10.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 20.535000 10.631250 translate 0.035278 -0.035278 scale start_ol 448 6208 moveto 448 0 lineto 1152 0 lineto 1152 760 lineto 1477 245 1907 0 2500 0 curveto 3621 0 4352 901 4352 2288 curveto 4352 3643 3639 4480 2495 4480 curveto 1898 4480 1475 4251 1152 3751 curveto 1152 6208 lineto 448 6208 lineto 2371 3813 moveto 3147 3813 3648 3185 3648 2217 curveto 3648 1295 3130 667 2371 667 curveto 1636 667 1152 1287 1152 2240 curveto 1152 3193 1636 3813 2371 3813 curveto end_ol grestore gsave 21.170000 10.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 21.805000 10.631250 translate 0.035278 -0.035278 scale start_ol 3927 2938 moveto 3894 3350 3802 3616 3635 3850 curveto 3335 4246 2809 4480 2200 4480 curveto 1024 4480 256 3587 256 2200 curveto 256 853 1007 0 2192 0 curveto 3234 0 3894 604 3977 1635 curveto 3271 1635 lineto 3153 984 2792 658 2195 658 curveto 1422 658 960 1240 960 2201 curveto 960 3217 1414 3822 2179 3822 curveto 2767 3822 3137 3504 3221 2938 curveto 3927 2938 lineto end_ol grestore gsave 22.372267 10.631250 translate 0.035278 -0.035278 scale start_ol 1216 6208 moveto 512 6208 lineto 512 0 lineto 1216 0 lineto 1216 1744 lineto 1897 2428 lineto 3384 0 lineto 4250 0 lineto 2451 2933 lineto 3981 4480 lineto 3082 4480 lineto 1216 2582 lineto 1216 6208 lineto end_ol grestore gsave 22.939533 10.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 23.574533 10.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 24.141800 10.631250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 24.776800 10.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 25.090067 10.631250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.403333 10.631250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 25.784333 10.631250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 12.131250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 12.131250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 12.131250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 13.631250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 13.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 13.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 13.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 13.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 13.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 13.631250 translate 0.035278 -0.035278 scale start_ol 3927 2938 moveto 3894 3350 3802 3616 3635 3850 curveto 3335 4246 2809 4480 2200 4480 curveto 1024 4480 256 3587 256 2200 curveto 256 853 1007 0 2192 0 curveto 3234 0 3894 604 3977 1635 curveto 3271 1635 lineto 3153 984 2792 658 2195 658 curveto 1422 658 960 1240 960 2201 curveto 960 3217 1414 3822 2179 3822 curveto 2767 3822 3137 3504 3221 2938 curveto 3927 2938 lineto end_ol grestore gsave 19.392000 13.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 19.646000 13.631250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.900000 13.631250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 20.535000 13.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 21.170000 13.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 21.483267 13.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 22.118267 13.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 22.685533 13.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 22.998800 13.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 23.633800 13.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2253 lineto 1280 2874 1440 3281 1776 3521 curveto 1994 3678 2205 3728 2692 3728 curveto 2692 4480 lineto 2574 4480 2515 4480 2422 4480 curveto 1967 4480 1621 4211 1216 3554 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 24.014800 13.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 24.328067 13.631250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.641333 13.631250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 25.022333 13.631250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 15.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 15.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 15.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 15.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 15.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 15.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 15.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 19.392000 15.131250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 19.705267 15.131250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 20.340267 15.131250 translate 0.035278 -0.035278 scale start_ol 448 -1667 moveto 1152 -1667 lineto 1152 667 lineto 1518 205 1925 0 2490 0 curveto 3612 0 4352 869 4352 2200 curveto 4352 3603 3636 4480 2479 4480 curveto 1887 4480 1413 4211 1088 3689 curveto 1088 4480 lineto 448 4480 lineto 448 -1667 lineto 2375 3813 moveto 3145 3813 3648 3185 3648 2217 curveto 3648 1295 3137 667 2375 667 curveto 1638 667 1152 1287 1152 2240 curveto 1152 3193 1638 3813 2375 3813 curveto end_ol grestore gsave 20.975267 15.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.288533 15.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 21.669533 15.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 16.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 16.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 16.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 18.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 18.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 18.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 18.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 18.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 18.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 18.131250 translate 0.035278 -0.035278 scale start_ol 2203 4480 moveto 1472 4480 lineto 1472 5151 lineto 1472 5437 1640 5584 1960 5584 curveto 2019 5584 2044 5584 2203 5584 curveto 2203 6165 lineto 2043 6199 1950 6208 1806 6208 curveto 1156 6208 768 5840 768 5213 curveto 768 4480 lineto 180 4480 lineto 180 3899 lineto 768 3899 lineto 768 0 lineto 1472 0 lineto 1472 3899 lineto 2203 3899 lineto 2203 4480 lineto end_ol grestore gsave 19.138000 18.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.392000 18.131250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 20.027000 18.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 20.281000 18.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 20.848267 18.131250 translate 0.035278 -0.035278 scale start_ol 576 6208 moveto 576 0 lineto 1280 0 lineto 1280 2396 lineto 1280 3283 1753 3864 2480 3864 curveto 2708 3864 2936 3789 3105 3665 curveto 3308 3524 3392 3317 3392 3010 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4023 3563 4480 2701 4480 curveto 2075 4480 1694 4286 1280 3748 curveto 1280 6208 lineto 576 6208 lineto end_ol grestore gsave 21.483267 18.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.796533 18.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 22.177533 18.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 19.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 19.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 19.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 21.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 21.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 21.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 21.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 21.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 21.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 21.131250 translate 0.035278 -0.035278 scale start_ol 4160 6208 moveto 3456 6208 lineto 3456 3790 lineto 3160 4241 2687 4480 2095 4480 curveto 945 4480 192 3611 192 2280 curveto 192 869 911 0 2076 0 curveto 2671 0 3084 227 3456 775 curveto 3456 0 lineto 4160 0 lineto 4160 6208 lineto 2197 3813 moveto 2968 3813 3456 3193 3456 2225 curveto 3456 1287 2959 667 2206 667 curveto 1418 667 896 1295 896 2240 curveto 896 3185 1418 3813 2197 3813 curveto end_ol grestore gsave 19.459733 21.131250 translate 0.035278 -0.035278 scale start_ol 2296 4480 moveto 1065 4480 320 3643 320 2240 curveto 320 837 1057 0 2304 0 curveto 3535 0 4288 837 4288 2208 curveto 4288 3651 3560 4480 2296 4480 curveto 2304 3822 moveto 3106 3822 3584 3225 3584 2217 curveto 3584 1263 3089 658 2304 658 curveto 1510 658 1024 1255 1024 2240 curveto 1024 3217 1510 3822 2304 3822 curveto end_ol grestore gsave 20.094733 21.131250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 20.729733 21.131250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 21.364733 21.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.678000 21.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 22.059000 21.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 7.000000 m 33.500000 9.500000 l 36.700000 9.500000 l 36.700000 7.000000 l f n 33.500000 7.500000 m 33.500000 7.500000 0.500000 0.500000 180.000000 270.000000 ellipse f n 36.700000 7.500000 m 36.700000 7.500000 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 7.500000 m 33.000000 9.000000 l 37.200000 9.000000 l 37.200000 7.500000 l f n 33.500000 9.000000 m 33.500000 9.000000 0.500000 0.500000 90.000000 180.000000 ellipse f n 36.700000 9.000000 m 36.700000 9.000000 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 7.000000 m 36.700000 7.000000 l s n 33.500000 9.500000 m 36.700000 9.500000 l s n 33.500000 7.500000 0.500000 0.500000 180.000000 270.000000 ellipse s n 36.700000 7.500000 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 7.500000 m 33.000000 9.000000 l s n 37.200000 7.500000 m 37.200000 9.000000 l s n 33.500000 9.000000 0.500000 0.500000 90.000000 180.000000 ellipse s n 36.700000 9.000000 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.512500 8.600000 translate 0.035278 -0.035278 scale start_ol 1536 2624 moveto 3455 2624 lineto 3938 2624 4320 2769 4650 3068 curveto 5023 3409 5184 3810 5184 4382 curveto 5184 5551 4504 6208 3295 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2624 lineto 1536 3264 moveto 1536 5507 lineto 3162 5507 lineto 3908 5507 4352 5086 4352 4386 curveto 4352 3685 3908 3264 3162 3264 curveto 1536 3264 lineto end_ol grestore gsave 34.266033 8.600000 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore gsave 34.901033 8.600000 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 35.654567 8.600000 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore gsave 35.967833 8.600000 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 10.386700 m 33.500000 12.886700 l 39.400000 12.886700 l 39.400000 10.386700 l f n 33.500000 10.886700 m 33.500000 10.886700 0.500000 0.500000 180.000000 270.000000 ellipse f n 39.400000 10.886700 m 39.400000 10.886700 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 10.886700 m 33.000000 12.386700 l 39.900000 12.386700 l 39.900000 10.886700 l f n 33.500000 12.386700 m 33.500000 12.386700 0.500000 0.500000 90.000000 180.000000 ellipse f n 39.400000 12.386700 m 39.400000 12.386700 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 10.386700 m 39.400000 10.386700 l s n 33.500000 12.886700 m 39.400000 12.886700 l s n 33.500000 10.886700 0.500000 0.500000 180.000000 270.000000 ellipse s n 39.400000 10.886700 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 10.886700 m 33.000000 12.386700 l s n 39.900000 10.886700 m 39.900000 12.386700 l s n 33.500000 12.386700 0.500000 0.500000 90.000000 180.000000 ellipse s n 39.400000 12.386700 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.414700 11.986700 translate 0.035278 -0.035278 scale start_ol 5531 4257 moveto 5288 5569 4517 6208 3175 6208 curveto 2354 6208 1692 5956 1239 5469 curveto 686 4884 384 4038 384 3080 curveto 384 2105 694 1268 1273 691 curveto 1742 219 2346 0 3142 0 curveto 4634 0 5473 784 5657 2359 curveto 4850 2359 lineto 4783 1959 4699 1686 4573 1454 curveto 4321 973 3799 701 3144 701 curveto 1925 701 1152 1630 1152 3088 curveto 1152 4586 1892 5507 3076 5507 curveto 3572 5507 4034 5363 4287 5138 curveto 4514 4938 4640 4690 4732 4257 curveto 5531 4257 lineto end_ol grestore gsave 34.235967 11.986700 translate 0.035278 -0.035278 scale start_ol 1536 2688 moveto 3627 2688 lineto 4350 2688 4672 2346 4672 1575 curveto 4608 1019 lineto 4608 634 4673 257 4778 0 curveto 5504 0 lineto 5504 197 lineto 5397 402 5376 625 5376 1455 curveto 5376 2460 5212 2762 4531 3047 curveto 5225 3390 5504 3827 5504 4538 curveto 5504 5617 4833 6208 3620 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2688 lineto 1536 3328 moveto 1536 5507 lineto 3453 5507 lineto 3897 5507 4152 5438 4348 5264 curveto 4561 5082 4672 4795 4672 4413 curveto 4672 3667 4297 3328 3453 3328 curveto 1536 3328 lineto end_ol grestore gsave 35.057233 11.986700 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 35.810767 11.986700 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 36.759033 11.986700 translate 0.035278 -0.035278 scale start_ol 2387 2688 moveto 387 2688 lineto 387 2048 lineto 2387 2048 lineto 2387 2688 lineto end_ol grestore gsave 37.140033 11.986700 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 38.088300 11.986700 translate 0.035278 -0.035278 scale start_ol 768 0 moveto 3102 0 lineto 4630 0 5568 1175 5568 3108 curveto 5568 5033 4638 6208 3102 6208 curveto 768 6208 lineto 768 0 lineto 1536 701 moveto 1536 5507 lineto 2968 5507 lineto 4167 5507 4800 4682 4800 3100 curveto 4800 1535 4167 701 2968 701 curveto 1536 701 lineto end_ol grestore gsave 38.909567 11.986700 translate 0.035278 -0.035278 scale start_ol 4036 5888 moveto 953 5888 lineto 508 2802 lineto 1189 2802 lineto 1534 3193 1819 3328 2281 3328 curveto 3080 3328 3584 2810 3584 1974 curveto 3584 1161 3088 667 2281 667 curveto 1634 667 1239 978 1063 1615 curveto 323 1615 lineto 424 1140 508 910 685 697 curveto 1023 254 1629 0 2304 0 curveto 3509 0 4352 842 4352 2057 curveto 4352 3191 3567 3968 2420 3968 curveto 1998 3968 1661 3861 1315 3615 curveto 1550 5144 lineto 4036 5144 lineto 4036 5888 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 3.613330 m 33.500000 6.113330 l 39.350000 6.113330 l 39.350000 3.613330 l f n 33.500000 4.113330 m 33.500000 4.113330 0.500000 0.500000 180.000000 270.000000 ellipse f n 39.350000 4.113330 m 39.350000 4.113330 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 4.113330 m 33.000000 5.613330 l 39.850000 5.613330 l 39.850000 4.113330 l f n 33.500000 5.613330 m 33.500000 5.613330 0.500000 0.500000 90.000000 180.000000 ellipse f n 39.350000 5.613330 m 39.350000 5.613330 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 3.613330 m 39.350000 3.613330 l s n 33.500000 6.113330 m 39.350000 6.113330 l s n 33.500000 4.113330 0.500000 0.500000 180.000000 270.000000 ellipse s n 39.350000 4.113330 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 4.113330 m 33.000000 5.613330 l s n 39.850000 4.113330 m 39.850000 5.613330 l s n 33.500000 5.613330 0.500000 0.500000 90.000000 180.000000 ellipse s n 39.350000 5.613330 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.448967 5.213330 translate 0.035278 -0.035278 scale start_ol 1536 2816 moveto 4873 2816 lineto 4873 3456 lineto 1536 3456 lineto 1536 5507 lineto 4999 5507 lineto 4999 6208 lineto 768 6208 lineto 768 0 lineto 5150 0 lineto 5150 701 lineto 1536 701 lineto 1536 2816 lineto end_ol grestore gsave 34.202500 5.213330 translate 0.035278 -0.035278 scale start_ol 3286 3185 moveto 5354 6208 lineto 4421 6208 lineto 2841 3772 lineto 1269 6208 lineto 319 6208 lineto 2353 3185 lineto 185 0 lineto 1135 0 lineto 2816 2589 lineto 4488 0 lineto 5455 0 lineto 3286 3185 lineto end_ol grestore gsave 34.956033 5.213330 translate 0.035278 -0.035278 scale start_ol 2944 5507 moveto 4953 5507 lineto 4953 6208 lineto 159 6208 lineto 159 5507 lineto 2176 5507 lineto 2176 0 lineto 2944 0 lineto 2944 5507 lineto end_ol grestore gsave 35.650300 5.213330 translate 0.035278 -0.035278 scale start_ol 1536 2816 moveto 4873 2816 lineto 4873 3456 lineto 1536 3456 lineto 1536 5507 lineto 4999 5507 lineto 4999 6208 lineto 768 6208 lineto 768 0 lineto 5150 0 lineto 5150 701 lineto 1536 701 lineto 1536 2816 lineto end_ol grestore gsave 36.403833 5.213330 translate 0.035278 -0.035278 scale start_ol 1536 2688 moveto 3627 2688 lineto 4350 2688 4672 2346 4672 1575 curveto 4608 1019 lineto 4608 634 4673 257 4778 0 curveto 5504 0 lineto 5504 197 lineto 5397 402 5376 625 5376 1455 curveto 5376 2460 5212 2762 4531 3047 curveto 5225 3390 5504 3827 5504 4538 curveto 5504 5617 4833 6208 3620 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2688 lineto 1536 3328 moveto 1536 5507 lineto 3453 5507 lineto 3897 5507 4152 5438 4348 5264 curveto 4561 5082 4672 4795 4672 4413 curveto 4672 3667 4297 3328 3453 3328 curveto 1536 3328 lineto end_ol grestore gsave 37.225100 5.213330 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 38.046367 5.213330 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 38.799900 5.213330 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 0.226667 m 33.500000 2.726667 l 40.750000 2.726667 l 40.750000 0.226667 l f n 33.500000 0.726667 m 33.500000 0.726667 0.500000 0.500000 180.000000 270.000000 ellipse f n 40.750000 0.726667 m 40.750000 0.726667 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 0.726667 m 33.000000 2.226667 l 41.250000 2.226667 l 41.250000 0.726667 l f n 33.500000 2.226667 m 33.500000 2.226667 0.500000 0.500000 90.000000 180.000000 ellipse f n 40.750000 2.226667 m 40.750000 2.226667 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 0.226667 m 40.750000 0.226667 l s n 33.500000 2.726667 m 40.750000 2.726667 l s n 33.500000 0.726667 0.500000 0.500000 180.000000 270.000000 ellipse s n 40.750000 0.726667 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 0.726667 m 33.000000 2.226667 l s n 41.250000 0.726667 m 41.250000 2.226667 l s n 33.500000 2.226667 0.500000 0.500000 90.000000 180.000000 ellipse s n 40.750000 2.226667 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.450467 1.826667 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 34.204000 1.826667 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 35.025267 1.826667 translate 0.035278 -0.035278 scale start_ol 3256 6208 moveto 1508 6208 320 4957 320 3104 curveto 320 1251 1508 0 3264 0 curveto 4000 0 4661 219 5154 626 curveto 5815 1170 6208 2088 6208 3055 curveto 6208 4965 5045 6208 3256 6208 curveto 3256 5507 moveto 4583 5507 5440 4546 5440 3072 curveto 5440 1662 4558 701 3264 701 curveto 1962 701 1088 1662 1088 3104 curveto 1088 4546 1962 5507 3256 5507 curveto end_ol grestore gsave 35.905800 1.826667 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 36.727067 1.826667 translate 0.035278 -0.035278 scale start_ol 3264 2436 moveto 5567 6208 lineto 4634 6208 lineto 2892 3185 lineto 1101 6208 lineto 134 6208 lineto 2496 2436 lineto 2496 0 lineto 3264 0 lineto 3264 2436 lineto end_ol grestore gsave 37.480600 1.826667 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 38.428867 1.826667 translate 0.035278 -0.035278 scale start_ol 3256 6208 moveto 1508 6208 320 4957 320 3104 curveto 320 1251 1508 0 3264 0 curveto 4000 0 4661 219 5154 626 curveto 5815 1170 6208 2088 6208 3055 curveto 6208 4965 5045 6208 3256 6208 curveto 3256 5507 moveto 4583 5507 5440 4546 5440 3072 curveto 5440 1662 4558 701 3264 701 curveto 1962 701 1088 1662 1088 3104 curveto 1088 4546 1962 5507 3256 5507 curveto end_ol grestore gsave 39.309400 1.826667 translate 0.035278 -0.035278 scale start_ol 4608 6208 moveto 4608 2000 lineto 4608 1194 4013 701 3032 701 curveto 2579 701 2210 808 1916 1013 curveto 1615 1244 1472 1548 1472 2000 curveto 1472 6208 lineto 704 6208 lineto 704 1981 lineto 704 759 1588 0 3032 0 curveto 4458 0 5376 776 5376 1981 curveto 5376 6208 lineto 4608 6208 lineto end_ol grestore gsave 40.130667 1.826667 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 13.773300 m 33.500000 16.273300 l 40.250000 16.273300 l 40.250000 13.773300 l f n 33.500000 14.273300 m 33.500000 14.273300 0.500000 0.500000 180.000000 270.000000 ellipse f n 40.250000 14.273300 m 40.250000 14.273300 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 14.273300 m 33.000000 15.773300 l 40.750000 15.773300 l 40.750000 14.273300 l f n 33.500000 15.773300 m 33.500000 15.773300 0.500000 0.500000 90.000000 180.000000 ellipse f n 40.250000 15.773300 m 40.250000 15.773300 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 13.773300 m 40.250000 13.773300 l s n 33.500000 16.273300 m 40.250000 16.273300 l s n 33.500000 14.273300 0.500000 0.500000 180.000000 270.000000 ellipse s n 40.250000 14.273300 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 14.273300 m 33.000000 15.773300 l s n 40.750000 14.273300 m 40.750000 15.773300 l s n 33.500000 15.773300 0.500000 0.500000 90.000000 180.000000 ellipse s n 40.250000 15.773300 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.403667 15.373300 translate 0.035278 -0.035278 scale start_ol 768 0 moveto 3102 0 lineto 4630 0 5568 1175 5568 3108 curveto 5568 5033 4638 6208 3102 6208 curveto 768 6208 lineto 768 0 lineto 1536 701 moveto 1536 5507 lineto 2968 5507 lineto 4167 5507 4800 4682 4800 3100 curveto 4800 1535 4167 701 2968 701 curveto 1536 701 lineto end_ol grestore gsave 34.224933 15.373300 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore gsave 34.538200 15.373300 translate 0.035278 -0.035278 scale start_ol 5952 3200 moveto 3392 3200 lineto 3392 2560 lineto 5248 2560 lineto 5248 2408 lineto 5248 1417 4446 701 3334 701 curveto 2715 701 2155 917 1796 1294 curveto 1394 1710 1152 2407 1152 3128 curveto 1152 4562 2005 5507 3292 5507 curveto 4220 5507 4889 5027 5056 4236 curveto 5866 4236 lineto 5648 5489 4711 6208 3313 6208 curveto 2568 6208 1966 6021 1489 5639 curveto 786 5070 384 4152 384 3088 curveto 384 1268 1527 0 3171 0 curveto 3997 0 4656 306 5248 960 curveto 5445 0 lineto 5952 0 lineto 5952 3200 lineto end_ol grestore gsave 35.418733 15.373300 translate 0.035278 -0.035278 scale start_ol 1536 2816 moveto 4873 2816 lineto 4873 3456 lineto 1536 3456 lineto 1536 5507 lineto 4999 5507 lineto 4999 6208 lineto 768 6208 lineto 768 0 lineto 5150 0 lineto 5150 701 lineto 1536 701 lineto 1536 2816 lineto end_ol grestore gsave 36.172267 15.373300 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 36.925800 15.373300 translate 0.035278 -0.035278 scale start_ol 2944 5507 moveto 4953 5507 lineto 4953 6208 lineto 159 6208 lineto 159 5507 lineto 2176 5507 lineto 2176 0 lineto 2944 0 lineto 2944 5507 lineto end_ol grestore gsave 37.620067 15.373300 translate 0.035278 -0.035278 scale start_ol 2387 2688 moveto 387 2688 lineto 387 2048 lineto 2387 2048 lineto 2387 2688 lineto end_ol grestore gsave 38.001067 15.373300 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 38.949333 15.373300 translate 0.035278 -0.035278 scale start_ol 768 0 moveto 3102 0 lineto 4630 0 5568 1175 5568 3108 curveto 5568 5033 4638 6208 3102 6208 curveto 768 6208 lineto 768 0 lineto 1536 701 moveto 1536 5507 lineto 2968 5507 lineto 4167 5507 4800 4682 4800 3100 curveto 4800 1535 4167 701 2968 701 curveto 1536 701 lineto end_ol grestore gsave 39.770600 15.373300 translate 0.035278 -0.035278 scale start_ol 4036 5888 moveto 953 5888 lineto 508 2802 lineto 1189 2802 lineto 1534 3193 1819 3328 2281 3328 curveto 3080 3328 3584 2810 3584 1974 curveto 3584 1161 3088 667 2281 667 curveto 1634 667 1239 978 1063 1615 curveto 323 1615 lineto 424 1140 508 910 685 697 curveto 1023 254 1629 0 2304 0 curveto 3509 0 4352 842 4352 2057 curveto 4352 3191 3567 3968 2420 3968 curveto 1998 3968 1661 3861 1315 3615 curveto 1550 5144 lineto 4036 5144 lineto 4036 5888 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 17.160000 m 33.500000 19.660000 l 37.650000 19.660000 l 37.650000 17.160000 l f n 33.500000 17.660000 m 33.500000 17.660000 0.500000 0.500000 180.000000 270.000000 ellipse f n 37.650000 17.660000 m 37.650000 17.660000 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 17.660000 m 33.000000 19.160000 l 38.150000 19.160000 l 38.150000 17.660000 l f n 33.500000 19.160000 m 33.500000 19.160000 0.500000 0.500000 90.000000 180.000000 ellipse f n 37.650000 19.160000 m 37.650000 19.160000 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 17.160000 m 37.650000 17.160000 l s n 33.500000 19.660000 m 37.650000 19.660000 l s n 33.500000 17.660000 0.500000 0.500000 180.000000 270.000000 ellipse s n 37.650000 17.660000 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 17.660000 m 33.000000 19.160000 l s n 38.150000 17.660000 m 38.150000 19.160000 l s n 33.500000 19.160000 0.500000 0.500000 90.000000 180.000000 ellipse s n 37.650000 19.160000 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.521833 18.760000 translate 0.035278 -0.035278 scale start_ol 5952 3200 moveto 3392 3200 lineto 3392 2560 lineto 5248 2560 lineto 5248 2408 lineto 5248 1417 4446 701 3334 701 curveto 2715 701 2155 917 1796 1294 curveto 1394 1710 1152 2407 1152 3128 curveto 1152 4562 2005 5507 3292 5507 curveto 4220 5507 4889 5027 5056 4236 curveto 5866 4236 lineto 5648 5489 4711 6208 3313 6208 curveto 2568 6208 1966 6021 1489 5639 curveto 786 5070 384 4152 384 3088 curveto 384 1268 1527 0 3171 0 curveto 3997 0 4656 306 5248 960 curveto 5445 0 lineto 5952 0 lineto 5952 3200 lineto end_ol grestore gsave 34.402367 18.760000 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 35.155900 18.760000 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 35.909433 18.760000 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 36.662967 18.760000 translate 0.035278 -0.035278 scale start_ol 1536 2624 moveto 3455 2624 lineto 3938 2624 4320 2769 4650 3068 curveto 5023 3409 5184 3810 5184 4382 curveto 5184 5551 4504 6208 3295 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2624 lineto 1536 3264 moveto 1536 5507 lineto 3162 5507 lineto 3908 5507 4352 5086 4352 4386 curveto 4352 3685 3908 3264 3162 3264 curveto 1536 3264 lineto end_ol grestore gsave 37.416500 18.760000 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 20.546700 m 33.500000 23.046700 l 36.500000 23.046700 l 36.500000 20.546700 l f n 33.500000 21.046700 m 33.500000 21.046700 0.500000 0.500000 180.000000 270.000000 ellipse f n 36.500000 21.046700 m 36.500000 21.046700 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 21.046700 m 33.000000 22.546700 l 37.000000 22.546700 l 37.000000 21.046700 l f n 33.500000 22.546700 m 33.500000 22.546700 0.500000 0.500000 90.000000 180.000000 ellipse f n 36.500000 22.546700 m 36.500000 22.546700 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 20.546700 m 36.500000 20.546700 l s n 33.500000 23.046700 m 36.500000 23.046700 l s n 33.500000 21.046700 0.500000 0.500000 180.000000 270.000000 ellipse s n 36.500000 21.046700 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 21.046700 m 33.000000 22.546700 l s n 37.000000 21.046700 m 37.000000 22.546700 l s n 33.500000 22.546700 0.500000 0.500000 90.000000 180.000000 ellipse s n 36.500000 22.546700 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 34.580900 22.146700 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 34.894167 22.146700 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 35.207433 22.146700 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n -2.000000 0.000000 m -2.000000 24.000000 l 2.100000 24.000000 l 2.100000 0.000000 l f n -2.000000 3.000000 m -2.000000 3.000000 3.000000 3.000000 180.000000 270.000000 ellipse f n 2.100000 3.000000 m 2.100000 3.000000 3.000000 3.000000 270.000000 360.000000 ellipse f n -5.000000 3.000000 m -5.000000 21.000000 l 5.100000 21.000000 l 5.100000 3.000000 l f n -2.000000 21.000000 m -2.000000 21.000000 3.000000 3.000000 90.000000 180.000000 ellipse f n 2.100000 21.000000 m 2.100000 21.000000 3.000000 3.000000 0.000000 90.000000 ellipse f 0.100000 slw [1.000000] 0 sd [1.000000] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -2.000000 0.000000 m 2.100000 0.000000 l s n -2.000000 24.000000 m 2.100000 24.000000 l s n -2.000000 3.000000 3.000000 3.000000 180.000000 270.000000 ellipse s n 2.100000 3.000000 3.000000 3.000000 270.000000 360.000000 ellipse s n -5.000000 3.000000 m -5.000000 21.000000 l s n 5.100000 3.000000 m 5.100000 21.000000 l s n -2.000000 21.000000 3.000000 3.000000 90.000000 180.000000 ellipse s n 2.100000 21.000000 3.000000 3.000000 0.000000 90.000000 ellipse s gsave -3.474370 12.175600 translate 0.035278 -0.035278 scale start_ol 5430 2496 moveto 6289 0 lineto 7481 0 lineto 4548 8384 lineto 3173 8384 lineto 195 0 lineto 1329 0 lineto 2211 2496 lineto 5430 2496 lineto 5132 3392 moveto 2474 3392 lineto 3849 7228 lineto 5132 3392 lineto end_ol grestore gsave -2.466837 12.175600 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -1.620170 12.175600 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -0.773503 12.175600 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -0.434837 12.175600 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -0.096170 12.175600 translate 0.035278 -0.035278 scale start_ol 5452 3945 moveto 5406 4498 5279 4856 5049 5170 curveto 4634 5702 3909 6016 3068 6016 curveto 1444 6016 384 4817 384 2954 curveto 384 1145 1421 0 3056 0 curveto 4496 0 5406 811 5521 2196 curveto 4558 2196 lineto 4398 1321 3905 884 3092 884 curveto 2038 884 1408 1665 1408 2956 curveto 1408 4320 2027 5132 3069 5132 curveto 3871 5132 4375 4705 4490 3945 curveto 5452 3945 lineto end_ol grestore gsave 0.665830 12.175600 translate 0.035278 -0.035278 scale start_ol 6162 827 moveto 6059 804 6013 804 5956 804 curveto 5623 804 5440 961 5440 1234 curveto 5440 4444 lineto 5440 5466 4613 6016 3043 6016 curveto 2118 6016 1352 5776 926 5351 curveto 634 5057 512 4730 512 4163 curveto 1762 4163 lineto 1841 4830 2272 5132 3155 5132 curveto 4004 5132 4480 4836 4480 4307 curveto 4480 4074 lineto 4480 3704 4240 3545 3485 3460 curveto 2136 3301 1930 3259 1564 3122 curveto 866 2857 512 2360 512 1640 curveto 512 635 1267 0 2479 0 curveto 3234 0 3840 263 4515 880 curveto 4584 274 4884 0 5506 0 curveto 5701 0 5851 23 6162 103 curveto 6162 827 lineto 4480 2036 moveto 4480 1745 4389 1567 4106 1328 curveto 3721 1005 3257 838 2702 838 curveto 1966 838 1536 1161 1536 1713 curveto 1536 2287 1955 2578 2963 2714 curveto 3959 2839 4163 2881 4480 3016 curveto 4480 2036 lineto end_ol grestore gsave 1.512497 12.175600 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave 1.935830 12.175600 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave 2.274497 12.175600 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 3.121163 12.175600 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore 0.200000 slw [] 0 sd [] 0 sd 0 slc n 5.598607 19.000000 m 15.000000 19.000000 l s [] 0 sd 0 slj 0 slc n 5.223607 19.000000 m 5.723607 18.750000 l 5.598607 19.000000 l 5.723607 19.250000 l ef n 5.223607 19.000000 m 5.723607 18.750000 l 5.598607 19.000000 l 5.723607 19.250000 l cp s gsave 8.258750 18.000000 translate 0.035278 -0.035278 scale start_ol 4561 3467 moveto 4361 4535 3725 5056 2620 5056 curveto 1943 5056 1398 4851 1025 4454 curveto 569 3977 320 3289 320 2508 curveto 320 1714 576 1032 1052 563 curveto 1439 179 1936 0 2593 0 curveto 3822 0 4513 638 4665 1921 curveto 4001 1921 lineto 3946 1595 3877 1373 3773 1184 curveto 3566 793 3137 571 2598 571 curveto 1596 571 960 1328 960 2515 curveto 960 3735 1568 4485 2543 4485 curveto 2951 4485 3331 4368 3539 4185 curveto 3725 4022 3829 3819 3905 3467 curveto 4561 3467 lineto end_ol grestore gsave 8.919150 18.000000 translate 0.035278 -0.035278 scale start_ol 3699 501 moveto 3637 487 3609 487 3575 487 curveto 3374 487 3264 582 3264 748 curveto 3264 2695 lineto 3264 3315 2770 3648 1832 3648 curveto 1280 3648 822 3503 567 3245 curveto 393 3066 320 2868 320 2524 curveto 1034 2524 lineto 1082 2929 1344 3112 1882 3112 curveto 2399 3112 2688 2932 2688 2612 curveto 2688 2470 lineto 2688 2246 2545 2150 2094 2098 curveto 1289 2002 1166 1976 948 1893 curveto 532 1732 320 1431 320 995 curveto 320 385 770 0 1494 0 curveto 1945 0 2306 159 2709 533 curveto 2751 166 2931 0 3304 0 curveto 3422 0 3512 14 3699 63 curveto 3699 501 lineto 2688 1235 moveto 2688 1058 2633 950 2461 805 curveto 2226 609 1944 508 1606 508 curveto 1158 508 896 704 896 1039 curveto 896 1387 1151 1564 1764 1646 curveto 2371 1722 2495 1747 2688 1829 curveto 2688 1235 lineto end_ol grestore gsave 9.427150 18.000000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 9.630350 18.000000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 9.833550 18.000000 translate 0.035278 -0.035278 scale start_ol 384 5056 moveto 384 0 lineto 960 0 lineto 960 619 lineto 1226 199 1579 0 2066 0 curveto 2985 0 3584 733 3584 1863 curveto 3584 2966 2999 3648 2061 3648 curveto 1572 3648 1225 3462 960 3055 curveto 960 5056 lineto 384 5056 lineto 1960 3105 moveto 2597 3105 3008 2594 3008 1805 curveto 3008 1054 2583 543 1960 543 curveto 1357 543 960 1048 960 1824 curveto 960 2600 1357 3105 1960 3105 curveto end_ol grestore gsave 10.341550 18.000000 translate 0.035278 -0.035278 scale start_ol 3699 501 moveto 3637 487 3609 487 3575 487 curveto 3374 487 3264 582 3264 748 curveto 3264 2695 lineto 3264 3315 2770 3648 1832 3648 curveto 1280 3648 822 3503 567 3245 curveto 393 3066 320 2868 320 2524 curveto 1034 2524 lineto 1082 2929 1344 3112 1882 3112 curveto 2399 3112 2688 2932 2688 2612 curveto 2688 2470 lineto 2688 2246 2545 2150 2094 2098 curveto 1289 2002 1166 1976 948 1893 curveto 532 1732 320 1431 320 995 curveto 320 385 770 0 1494 0 curveto 1945 0 2306 159 2709 533 curveto 2751 166 2931 0 3304 0 curveto 3422 0 3512 14 3699 63 curveto 3699 501 lineto 2688 1235 moveto 2688 1058 2633 950 2461 805 curveto 2226 609 1944 508 1606 508 curveto 1158 508 896 704 896 1039 curveto 896 1387 1151 1564 1764 1646 curveto 2371 1722 2495 1747 2688 1829 curveto 2688 1235 lineto end_ol grestore gsave 10.849550 18.000000 translate 0.035278 -0.035278 scale start_ol 3208 2392 moveto 3181 2727 3105 2944 2968 3135 curveto 2721 3457 2289 3648 1789 3648 curveto 823 3648 192 2921 192 1792 curveto 192 695 809 0 1782 0 curveto 2639 0 3180 492 3249 1332 curveto 2669 1332 lineto 2572 801 2275 536 1784 536 curveto 1148 536 768 1010 768 1792 curveto 768 2620 1141 3112 1770 3112 curveto 2254 3112 2558 2853 2627 2392 curveto 3208 2392 lineto end_ol grestore gsave 11.306750 18.000000 translate 0.035278 -0.035278 scale start_ol 960 5056 moveto 384 5056 lineto 384 0 lineto 960 0 lineto 960 1420 lineto 1520 1977 lineto 2743 0 lineto 3455 0 lineto 1976 2388 lineto 3234 3648 lineto 2494 3648 lineto 960 2102 lineto 960 5056 lineto end_ol grestore 0.200000 slw [] 0 sd [] 0 sd 0 slc n 5.000000 7.000000 m 14.401393 7.000000 l s [] 0 sd 0 slj 0 slc n 14.776393 7.000000 m 14.276393 7.250000 l 14.401393 7.000000 l 14.276393 6.750000 l ef n 14.776393 7.000000 m 14.276393 7.250000 l 14.401393 7.000000 l 14.276393 6.750000 l cp s gsave 8.275000 5.250000 translate 0.035278 -0.035278 scale start_ol 1280 2304 moveto 3685 2304 lineto 3685 2816 lineto 1280 2816 lineto 1280 4485 lineto 4017 4485 lineto 4017 5056 lineto 640 5056 lineto 640 0 lineto 1280 0 lineto 1280 2304 lineto end_ol grestore gsave 8.833800 5.250000 translate 0.035278 -0.035278 scale start_ol 3328 0 moveto 3328 3648 lineto 2752 3648 lineto 2752 1681 lineto 2752 972 2366 508 1768 508 curveto 1313 508 1024 773 1024 1190 curveto 1024 3648 lineto 448 3648 lineto 448 954 lineto 448 373 886 0 1573 0 curveto 2092 0 2422 186 2752 660 curveto 2752 0 lineto 3328 0 lineto end_ol grestore gsave 9.341800 5.250000 translate 0.035278 -0.035278 scale start_ol 512 3648 moveto 512 0 lineto 1088 0 lineto 1088 1947 lineto 1024 2668 1425 3140 2042 3140 curveto 2515 3140 2816 2870 2816 2446 curveto 2816 0 lineto 3392 0 lineto 3392 2680 lineto 3392 3269 2939 3648 2236 3648 curveto 1693 3648 1344 3441 1024 2938 curveto 1024 3648 lineto 512 3648 lineto end_ol grestore gsave 9.849800 5.250000 translate 0.035278 -0.035278 scale start_ol 3208 2392 moveto 3181 2727 3105 2944 2968 3135 curveto 2721 3457 2289 3648 1789 3648 curveto 823 3648 192 2921 192 1792 curveto 192 695 809 0 1782 0 curveto 2639 0 3180 492 3249 1332 curveto 2669 1332 lineto 2572 801 2275 536 1784 536 curveto 1148 536 768 1010 768 1792 curveto 768 2620 1141 3112 1770 3112 curveto 2254 3112 2558 2853 2627 2392 curveto 3208 2392 lineto end_ol grestore gsave 10.307000 5.250000 translate 0.035278 -0.035278 scale start_ol 1746 3648 moveto 1152 3648 lineto 1152 4650 lineto 576 4650 lineto 576 3648 lineto 85 3648 lineto 85 3175 lineto 576 3175 lineto 576 567 lineto 576 205 825 0 1275 0 curveto 1414 0 1552 14 1746 49 curveto 1746 528 lineto 1670 508 1580 508 1470 508 curveto 1221 508 1152 574 1152 817 curveto 1152 3175 lineto 1746 3175 lineto 1746 3648 lineto end_ol grestore gsave 10.561000 5.250000 translate 0.035278 -0.035278 scale start_ol 1024 3648 moveto 448 3648 lineto 448 0 lineto 1024 0 lineto 1024 3648 lineto 1024 5056 moveto 448 5056 lineto 448 4335 lineto 1024 4335 lineto 1024 5056 lineto end_ol grestore gsave 10.764200 5.250000 translate 0.035278 -0.035278 scale start_ol 1881 3648 moveto 869 3648 256 2966 256 1824 curveto 256 682 862 0 1888 0 curveto 2900 0 3520 682 3520 1798 curveto 3520 2973 2921 3648 1881 3648 curveto 1888 3112 moveto 2550 3112 2944 2626 2944 1805 curveto 2944 1028 2536 536 1888 536 curveto 1233 536 832 1022 832 1824 curveto 832 2620 1233 3112 1888 3112 curveto end_ol grestore gsave 11.272200 5.250000 translate 0.035278 -0.035278 scale start_ol 512 3648 moveto 512 0 lineto 1088 0 lineto 1088 1947 lineto 1024 2668 1425 3140 2042 3140 curveto 2515 3140 2816 2870 2816 2446 curveto 2816 0 lineto 3392 0 lineto 3392 2680 lineto 3392 3269 2939 3648 2236 3648 curveto 1693 3648 1344 3441 1024 2938 curveto 1024 3648 lineto 512 3648 lineto end_ol grestore gsave 8.275000 6.450000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 8.529000 6.450000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 8.783000 6.450000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 9.037000 6.450000 translate 0.035278 -0.035278 scale start_ol 4561 3467 moveto 4361 4535 3725 5056 2620 5056 curveto 1943 5056 1398 4851 1025 4454 curveto 569 3977 320 3289 320 2508 curveto 320 1714 576 1032 1052 563 curveto 1439 179 1936 0 2593 0 curveto 3822 0 4513 638 4665 1921 curveto 4001 1921 lineto 3946 1595 3877 1373 3773 1184 curveto 3566 793 3137 571 2598 571 curveto 1596 571 960 1328 960 2515 curveto 960 3735 1568 4485 2543 4485 curveto 2951 4485 3331 4368 3539 4185 curveto 3725 4022 3829 3819 3905 3467 curveto 4561 3467 lineto end_ol grestore gsave 9.697400 6.450000 translate 0.035278 -0.035278 scale start_ol 3699 501 moveto 3637 487 3609 487 3575 487 curveto 3374 487 3264 582 3264 748 curveto 3264 2695 lineto 3264 3315 2770 3648 1832 3648 curveto 1280 3648 822 3503 567 3245 curveto 393 3066 320 2868 320 2524 curveto 1034 2524 lineto 1082 2929 1344 3112 1882 3112 curveto 2399 3112 2688 2932 2688 2612 curveto 2688 2470 lineto 2688 2246 2545 2150 2094 2098 curveto 1289 2002 1166 1976 948 1893 curveto 532 1732 320 1431 320 995 curveto 320 385 770 0 1494 0 curveto 1945 0 2306 159 2709 533 curveto 2751 166 2931 0 3304 0 curveto 3422 0 3512 14 3699 63 curveto 3699 501 lineto 2688 1235 moveto 2688 1058 2633 950 2461 805 curveto 2226 609 1944 508 1606 508 curveto 1158 508 896 704 896 1039 curveto 896 1387 1151 1564 1764 1646 curveto 2371 1722 2495 1747 2688 1829 curveto 2688 1235 lineto end_ol grestore gsave 10.205400 6.450000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 10.408600 6.450000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 10.611800 6.450000 translate 0.035278 -0.035278 scale start_ol 3136 2582 moveto 3136 3264 2645 3648 1771 3648 curveto 890 3648 320 3244 320 2621 curveto 320 2095 609 1845 1464 1652 curveto 2002 1531 lineto 2401 1441 2560 1306 2560 1062 curveto 2560 748 2218 536 1709 536 curveto 1396 536 1131 618 984 757 curveto 894 852 852 946 817 1180 curveto 320 1180 lineto 320 382 775 0 1691 0 curveto 2574 0 3136 417 3136 1065 curveto 3136 1566 2833 1842 2116 2002 curveto 1565 2124 lineto 1096 2227 896 2368 896 2605 curveto 896 2913 1230 3112 1759 3112 curveto 2280 3112 2560 2929 2560 2582 curveto 3136 2582 lineto end_ol grestore 0.150000 slw [1.000000] 0 sd [0.500000] 0 sd 0 slc n 26.809005 1.476863 m 32.457295 1.476687 l s [] 0 sd 0 slj 0 slc n 26.434005 1.476875 m 26.933997 1.226859 l 26.809005 1.476863 l 26.934013 1.726859 l cp s [] 0 sd 0 slj 0 slc n 32.832295 1.476675 m 32.332303 1.726691 l 32.457295 1.476687 l 32.332287 1.226691 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.796505 4.861417 m 32.457295 4.863163 l s [] 0 sd 0 slj 0 slc n 26.421505 4.861302 m 26.921582 4.611456 l 26.796505 4.861417 l 26.921428 5.111456 l cp s [] 0 sd 0 slj 0 slc n 32.832295 4.863278 m 32.332218 5.113124 l 32.457295 4.863163 l 32.332372 4.613124 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.796505 8.245982 m 32.457295 8.249648 l s [] 0 sd 0 slj 0 slc n 26.421505 8.245739 m 26.921667 7.996063 l 26.796505 8.245982 l 26.921343 8.496062 l cp s [] 0 sd 0 slj 0 slc n 32.832295 8.249891 m 32.332133 8.499567 l 32.457295 8.249648 l 32.332457 7.999568 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.802805 11.630539 m 32.457295 11.636161 l s [] 0 sd 0 slj 0 slc n 26.427805 11.630167 m 26.928053 11.380664 l 26.802805 11.630539 l 26.927556 11.880664 l cp s [] 0 sd 0 slj 0 slc n 32.832295 11.636533 m 32.332047 11.886036 l 32.457295 11.636161 l 32.332544 11.386036 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.796505 15.015116 m 32.457295 15.022584 l s [] 0 sd 0 slj 0 slc n 26.421505 15.014621 m 26.921834 14.765281 l 26.796505 15.015116 l 26.921175 15.265281 l cp s [] 0 sd 0 slj 0 slc n 32.832295 15.023079 m 32.331966 15.272419 l 32.457295 15.022584 l 32.332625 14.772419 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.784005 18.411196 m 32.457295 18.410104 l s [] 0 sd 0 slj 0 slc n 26.409005 18.411268 m 26.908957 18.161172 l 26.784005 18.411196 l 26.909053 18.661172 l cp s [] 0 sd 0 slj 0 slc n 32.832295 18.410032 m 32.332343 18.660128 l 32.457295 18.410104 l 32.332247 18.160128 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.786105 21.800471 m 32.457295 21.797029 l s [] 0 sd 0 slj 0 slc n 26.411105 21.800698 m 26.910953 21.550395 l 26.786105 21.800471 l 26.911257 22.050395 l cp s [] 0 sd 0 slj 0 slc n 32.832295 21.796802 m 32.332447 22.047105 l 32.457295 21.797029 l 32.332143 21.547105 l cp s showpage %%EndDocument @endspecial 275 4238 a(Illustration)36 b(1.1:)51 b(Logical)38 b(o)m(v)m(erview)f(sho)m(wing)e(ho)m(w)h(applications)g(use)f(authen)m (tication)j(mec)m(ha-)150 4347 y(nisms)30 b(through)f(an)h(abstract)i (in)m(terface.)150 4638 y Ft(1.3)68 b(F)-11 b(eatures)150 4797 y Fu(GNU)31 b(SASL)e(migh)m(t)i(ha)m(v)m(e)h(a)f(couple)g(of)f (adv)-5 b(an)m(tages)32 b(o)m(v)m(er)g(other)f(libraries)f(doing)h(a)f (similar)h(job.)150 5011 y(It's)g(F)-8 b(ree)31 b(Soft)m(w)m(are)630 5121 y(An)m(yb)s(o)s(dy)42 b(can)h(use,)j(mo)s(dify)-8 b(,)47 b(and)42 b(redistribute)h(it)h(under)d(the)j(terms)f(of)g(the)g (GNU)630 5230 y(General)35 b(Public)e(License)h(v)m(ersion)h(3.0)f(or)g (later.)52 b(The)33 b(library)g(uses)h(the)g(GNU)g(Lesser)630 5340 y(General)d(Public)f(License)h(v)m(ersion)g(2.1)h(or)e(later.)p eop end %%Page: 3 7 TeXDict begin 3 6 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(3)150 299 y(It's)31 b(thread-safe)630 408 y(No)k(global)g(v)-5 b(ariables)34 b(are)h(used)e(and)g(m)m (ultiple)i(library)f(handles)f(and)g(session)i(handles)630 518 y(ma)m(y)c(b)s(e)f(used)f(in)h(parallel.)150 688 y(It's)h(in)m(ternationalized)630 797 y(It)c(handles)f(non-ASCI)s(I)f (usernames)h(and)g(passw)m(ords)g(and)g(user)g(visible)h(strings)f (used)g(in)630 907 y(the)31 b(library)f(\(error)g(messages\))i(can)e(b) s(e)g(translated)h(in)m(to)g(the)g(users')f(language.)150 1077 y(It's)h(p)s(ortable)630 1186 y(It)40 b(should)e(w)m(ork)h(on)h (all)g(Unix)f(lik)m(e)i(op)s(erating)f(systems,)i(including)d(Windo)m (ws.)67 b(The)630 1296 y(library)23 b(itself)h(should)e(b)s(e)g(p)s (ortable)i(to)g(an)m(y)f(C89)h(system,)h(not)e(ev)m(en)h(POSIX)e(is)h (required.)150 1466 y(It's)i(small)113 b(The)24 b(library)g(has)h(b)s (een)f(rewritten)g(with)h(em)m(b)s(edded)e(platforms)i(in)f(mind.)38 b(F)-8 b(or)25 b(example,)630 1575 y(no)30 b(API)g(consumes)g(more)h (than)f(around)f(250)j(b)m(ytes)f(of)g(stac)m(k)g(space.)275 1751 y(Note)f(that)g(the)f(library)g(do)s(es)g(not)h(implemen)m(t)f(an) m(y)h(p)s(olicy)f(to)h(decide)g(whether)f(a)g(certain)h(user)f(is)150 1860 y(\\authen)m(ticated")36 b(or)e(\\authorized")g(or)g(not.)50 b(Rather,)34 b(it)g(uses)f(a)h(callbac)m(k)h(in)m(to)g(the)e (application)i(to)150 1970 y(answ)m(er)30 b(these)h(questions.)150 2226 y Ft(1.4)68 b(Requiremen)l(ts)150 2385 y Fu(The)20 b(GNU)h(SASL)f(library)g(do)s(es)h(not)g(ha)m(v)m(e)g(an)m(y)g (required)f(external)i(dep)s(endencies,)g(but)e(some)h(optional)150 2495 y(features)31 b(are)f(enabled)h(if)f(y)m(ou)h(ha)m(v)m(e)g(a)g(sp) s(eci\014c)f(external)i(library)-8 b(.)150 2670 y(LibNTLM)73 b(The)34 b(NTLM)g(mec)m(hanism)g(requires)g(the)g(library)g(LibNTLM,)g Fo(http:)s(/)s(/)s(www)s(.)s(nongnu)s(.)630 2780 y(org/libntlm/)p Fu(.)150 2950 y(GSS-API)114 b(The)23 b(GSSAPI)f(and)h(GS2-KRB5)h(mec)m (hanisms)f(requires)g(a)h(GSS-API)f(library)-8 b(,)24 b(see)g(GNU)630 3059 y(GSS)33 b(\()p Fo(http:)s(/)s(/)s(www)s(.)s(gnu)s (.)s(o)o(rg)s(/)r(so)o(ftwa)o(re)r(/)s(g)o(ss)s(/)r Fu(\).)45 b(MIT)33 b(Kerb)s(eros)g(or)g(Heimdal)i(are)630 3169 y(also)c(supp)s(orted.)150 3339 y(LibIDN)177 b(Pro)s(cessing)30 b(of)h(non-ASCI)s(I)d(usernames)i(and)f(passw)m(ords)g(requires)h(the)h (SASLprep)d(im-)630 3448 y(plemen)m(tation)35 b(in)f(LibIDN)f(\()p Fo(http:)s(/)s(/)s(www)s(.)s(gnu)s(.)s(or)o(g)s(/)r(sof)o(twa)o(re)s(/) r(li)o(bidn)r(/)r Fu(\).)45 b(This)33 b(is)630 3558 y(needed)21 b(for)h(full)g(conformance)g(with)g(the)g(latest)h(SASL)e(proto)s(col)i (drafts,)g(but)e(is)h(optional)630 3667 y(in)30 b(the)h(library)f(for)g (impro)m(v)m(ed)g(p)s(ortabilit)m(y)-8 b(.)150 3837 y(Libgcrypt)92 b(The)30 b(GNU)h(SASL)f(library)g(ships)f(with)i(its)g(o)m(wn)f (cryptographic)h(implemen)m(tation,)i(but)630 3947 y(it)42 b(can)g(use)g(the)g(one)g(in)f(libgcrypt)h(\()p Fo(http:)9 b(/)g(/)g(www)g(.)g(gnupg)g(.)g(org)g(/)g Fu(\))40 b(instead,)45 b(if)d(it)g(is)630 4056 y(a)m(v)-5 b(ailable.)65 b(This)37 b(is)g(t)m(ypically)j(useful)c(for)i(desktop)f(mac)m(hines)i(whic)m(h)e (ha)m(v)m(e)i(libgcrypt)630 4166 y(installed.)275 4341 y(The)30 b(command-line)i(in)m(terface)h(to)f(GNU)g(SASL)e(requires)g (a)i(POSIX)e(or)i(Windo)m(ws)f(platform)g(for)150 4450 y(net)m(w)m(ork)42 b(connectivit)m(y)-8 b(.)74 b(The)40 b(command-line)h(to)s(ol)h(can)f(mak)m(e)h(use)e(of)h(Gn)m(uTLS)f(\()p Fo(http:)8 b(/)g(/)g(www)g(.)150 4560 y(gnutls.org/)p Fu(\))27 b(to)j(supp)s(ort)e(the)i(ST)-8 b(AR)g(TTLS)28 b(mo)s(des)h(of)h(IMAP)g(and)f(SMTP)-8 b(,)30 b(but)f(Gn)m(uTLS)f(is)i (not)150 4670 y(required.)275 4815 y(Note)h(that)g(the)g(library)f(do)s (es)g(not)g(need)h(a)f(POSIX)g(platform)g(or)g(net)m(w)m(ork)i (connectivit)m(y)-8 b(.)150 5071 y Ft(1.5)68 b(Supp)t(orted)44 b(Platforms)150 5230 y Fu(GNU)30 b(SASL)e(has)g(at)i(some)g(p)s(oin)m (t)f(in)f(time)i(b)s(een)f(tested)g(on)g(the)h(follo)m(wing)g (platforms.)40 b(Daily)31 b(online)150 5340 y(build)e(rep)s(orts)h(are) h(a)m(v)-5 b(ailable)32 b(at)g Fo(http://autobuild.josefs)o(son)o(.org) o(/gsa)o(sl/)o Fu(.)p eop end %%Page: 4 8 TeXDict begin 4 7 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(4)199 299 y(1.)61 b(Debian)31 b(GNU/Lin)m(ux)g(3.0)g(\(W)-8 b(o)s(o)s(dy\))330 433 y(GCC)84 b(2.95.4)j(and)d(GNU)i(Mak)m(e.)205 b(This)84 b(is)h(the)g(main)f(dev)m(elopmen)m(t)j(platform.)330 543 y Fo(alphaev67-unknown-linux-)o(gnu)p Fu(,)128 b Fo(alphaev6-unknown-linux)o(-gnu)o Fu(,)g Fo(arm-unknown-)330 652 y(linux-gnu)p Fu(,)110 b Fo(hppa-unknown-linux-gnu)p Fu(,)d Fo(hppa64-unknown-linux-gnu)o Fu(,)g Fo(i686-pc-)330 762 y(linux-gnu)p Fu(,)63 b Fo(ia64-unknown-linux-gnu)p Fu(,)c Fo(m68k-unknown-linux-gnu)p Fu(,)g Fo(mips-unknown-)330 872 y(linux-gnu)p Fu(,)286 b Fo(mipsel-unknown-linux-gnu)o Fu(,)d Fo(powerpc-unknown-linux-g)o(nu)p Fu(,)330 981 y Fo(s390-ibm-linux-gnu)p Fu(,)26 b Fo(sparc-unknown-linux-gnu)o Fu(.)199 1115 y(2.)61 b(Debian)31 b(GNU/Lin)m(ux)g(2.1)330 1250 y(GCC)f(2.95.1)j(and)c(GNU)i(Mak)m(e.)43 b Fo (armv4l-unknown-linux-gn)o(u)p Fu(.)199 1384 y(3.)61 b(T)-8 b(ru64)30 b(UNIX)330 1518 y(T)-8 b(ru64)32 b(UNIX)h(C)f (compiler)h(and)f(T)-8 b(ru64)33 b(Mak)m(e.)48 b Fo (alphaev67-dec-osf5.1)p Fu(,)28 b Fo(alphaev68-dec-)330 1628 y(osf5.1)p Fu(.)199 1762 y(4.)61 b(SuSE)29 b(Lin)m(ux)h(7.1)330 1897 y(GCC)47 b(2.96)j(and)d(GNU)i(Mak)m(e.)95 b Fo (alphaev6-unknown-linux-)o(gnu)o Fu(,)47 b Fo(alphaev67-unknown-)330 2006 y(linux-gnu)p Fu(.)199 2141 y(5.)61 b(SuSE)29 b(Lin)m(ux)h(7.2a) 330 2275 y(GCC)g(3.0)h(and)f(GNU)h(Mak)m(e.)42 b Fo (ia64-unknown-linux-gnu)p Fu(.)199 2409 y(6.)61 b(RedHat)31 b(Lin)m(ux)f(7.2)330 2544 y(GCC)47 b(2.96)j(and)d(GNU)i(Mak)m(e.)95 b Fo(alphaev6-unknown-linux-)o(gnu)o Fu(,)47 b Fo(alphaev67-unknown-) 330 2653 y(linux-gnu)p Fu(,)28 b Fo(ia64-unknown-linux-gnu)p Fu(.)199 2788 y(7.)61 b(RedHat)31 b(Lin)m(ux)f(8.0)330 2922 y(GCC)g(3.2)h(and)f(GNU)h(Mak)m(e.)42 b Fo(i686-pc-linux-gnu)p Fu(.)199 3056 y(8.)61 b(RedHat)31 b(Adv)-5 b(anced)30 b(Serv)m(er)h(2.1)330 3191 y(GCC)f(2.96)i(and)e(GNU)h(Mak)m(e.)42 b Fo(i686-pc-linux-gnu)p Fu(.)199 3325 y(9.)61 b(Slac)m(kw)m(are)32 b(Lin)m(ux)e(8.0.01)330 3459 y(GCC)g(2.95.3)j(and)c(GNU)i(Mak)m(e.)43 b Fo(i686-pc-linux-gnu)p Fu(.)154 3594 y(10.)61 b(Mandrak)m(e)31 b(Lin)m(ux)f(9.0)330 3728 y(GCC)g(3.2)h(and)f(GNU)h(Mak)m(e.)42 b Fo(i686-pc-linux-gnu)p Fu(.)154 3862 y(11.)61 b(IRIX)30 b(6.5)330 3997 y(MIPS)g(C)g(compiler,)h(IRIX)f(Mak)m(e.)42 b Fo(mips-sgi-irix6.5)p Fu(.)154 4131 y(12.)61 b(AIX)30 b(4.3.2)330 4265 y(IBM)h(C)f(for)g(AIX)g(compiler,)i(AIX)e(Mak)m(e.)42 b Fo(rs6000-ibm-aix4.3.2.0)p Fu(.)154 4400 y(13.)61 b(Microsoft)32 b(Windo)m(ws)e(2000)i(\(Cygwin\))330 4534 y(GCC)e(3.2,)i(GNU)f(mak)m (e.)41 b Fo(i686-pc-cygwin)p Fu(.)154 4668 y(14.)61 b(HP-UX)31 b(11)330 4803 y(HP-UX)g(C)f(compiler)h(and)f(HP)g(Mak)m(e.)42 b Fo(ia64-hp-hpux11.22)p Fu(,)26 b Fo(hppa2.0w-hp-hpux11.11)p Fu(.)154 4937 y(15.)61 b(SUN)30 b(Solaris)h(2.8)330 5071 y(Sun)e(W)-8 b(orkShop)30 b(Compiler)g(C)g(6.0)i(and)d(SUN)i(Mak)m(e.) 42 b Fo(sparc-sun-solaris2.8)p Fu(.)154 5206 y(16.)61 b(SUN)30 b(Solaris)h(2.9)330 5340 y(Sun)e(F)-8 b(orte)32 b(Dev)m(elop)s(er)f(7)g(C)f(compiler)h(and)f(GNU)h(Mak)m(e.)42 b Fo(sparc-sun-solaris2.9)p Fu(.)p eop end %%Page: 5 9 TeXDict begin 5 8 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(5)154 299 y(17.)61 b(NetBSD)32 b(1.6)330 433 y(GCC)85 b(2.95.3)j(and)d(GNU)h(Mak)m(e.)208 b Fo(alpha-unknown-netbsd1.6)p Fu(,)94 b Fo(i386-unknown-)330 543 y(netbsdelf1.6)p Fu(.)154 677 y(18.)61 b(Op)s(enBSD)29 b(3.1)j(and)e(3.2)330 811 y(GCC)79 b(2.95.3)j(and)e(GNU)g(Mak)m(e.)191 b Fo(alpha-unknown-openbsd3.)o(1)p Fu(,)87 b Fo(i386-unknown-)330 921 y(openbsd3.1)p Fu(.)154 1055 y(19.)61 b(F)-8 b(reeBSD)32 b(4.7)330 1189 y(GCC)79 b(2.95.4)j(and)e(GNU)g(Mak)m(e.)191 b Fo(alpha-unknown-freebsd4.)o(7)p Fu(,)87 b Fo(i386-unknown-)330 1299 y(freebsd4.7)p Fu(.)154 1433 y(20.)61 b(Cross)30 b(compiled)h(to)g(uClin)m(ux/uClib)s(c)e(on)h(Motorola)j(Cold\014re.) 330 1568 y(GCC)d(3.4)h(and)f(GNU)h(Mak)m(e)h Fo(m68k-uclinux-elf)p Fu(.)275 1727 y(If)c(y)m(ou)h(p)s(ort)g(GNU)g(SASL)f(to)i(a)f(new)g (platform,)g(please)h(rep)s(ort)f(it)g(to)h(the)f(author)g(so)g(this)g (list)h(can)150 1836 y(b)s(e)g(up)s(dated.)150 2077 y Ft(1.6)68 b(Getting)46 b(help)150 2236 y Fu(A)40 b(mailing)g(list)h (where)e(users)g(ma)m(y)h(help)f(eac)m(h)i(other)f(exists,)j(and)c(y)m (ou)h(can)g(reac)m(h)h(it)f(b)m(y)g(sending)150 2346 y(e-mail)c(to)f Fo(help-gsasl@gnu)s(.)s(org)p Fu(.)47 b(Arc)m(hiv)m(es)36 b(of)e(the)h(mailing)g(list)g(discussions,)g(and)e (an)h(in)m(terface)150 2455 y(to)29 b(manage)g(subscriptions,)f(is)g(a) m(v)-5 b(ailable)30 b(through)d(the)i(W)-8 b(orld)28 b(Wide)h(W)-8 b(eb)29 b(at)g Fo(http://lists.gnu.)150 2565 y(org/mailman/listinfo/hel)o(p-gs)o(asl/)o Fu(.)150 2805 y Ft(1.7)68 b(Commercial)47 b(Supp)t(ort)150 2965 y Fu(Commercial)32 b(supp)s(ort)e(is)h(a)m(v)-5 b(ailable)34 b(for)d(users)f(of)i(GNU)f(SASL.)g(The)g(kind)f(of)i(supp)s(ort)d(that) j(can)g(b)s(e)150 3074 y(purc)m(hased)e(ma)m(y)g(include:)225 3208 y Fs(\017)60 b Fu(Implemen)m(t)31 b(new)e(features.)41 b(Suc)m(h)30 b(as)h(a)g(new)e(SASL)h(mec)m(hanism.)225 3343 y Fs(\017)60 b Fu(P)m(ort)34 b(GNU)g(SASL)e(to)i(new)e(platforms.) 49 b(This)32 b(could)i(include)e(p)s(orting)h(to)h(an)f(em)m(b)s(edded) f(plat-)330 3452 y(forms)e(that)h(ma)m(y)g(need)f(memory)g(or)g(size)i (optimization.)225 3587 y Fs(\017)60 b Fu(In)m(tegrating)32 b(SASL)d(as)i(a)g(securit)m(y)g(en)m(vironmen)m(t)g(in)f(y)m(our)g (existing)i(pro)5 b(ject.)225 3721 y Fs(\017)60 b Fu(System)30 b(design)g(of)h(comp)s(onen)m(ts)f(related)i(to)f(SASL.)275 3880 y(If)e(y)m(ou)i(are)g(in)m(terested,)h(please)f(write)f(to:)150 4014 y Fo(Simon)46 b(Josefsson)g(Datakonsult)e(AB)150 4124 y(Hagagatan)h(24)150 4233 y(113)i(47)g(Stockholm)150 4343 y(Sweden)150 4562 y(E-mail:)f(simon@josefsson.org)275 4696 y Fu(If)25 b(y)m(our)g(compan)m(y)h(pro)m(vides)g(supp)s(ort)e (related)i(to)h(GNU)f(SASL)f(and)g(w)m(ould)g(lik)m(e)i(to)f(b)s(e)f (men)m(tioned)150 4806 y(here,)30 b(con)m(tact)j(the)e(author)f(\(see)h (Section)g(1.9)h([Bug)f(Rep)s(orts],)f(page)h(8\).)150 5046 y Ft(1.8)68 b(Do)l(wnloading)46 b(and)f(Installing)150 5206 y Fu(The)30 b(pac)m(k)-5 b(age)32 b(can)f(b)s(e)f(do)m(wnloaded)g (from)g(sev)m(eral)i(places,)f(including:)275 5340 y Fo(ftp://ftp.gnu.org/gnu/g)o(sas)o(l/)p eop end %%Page: 6 10 TeXDict begin 6 9 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(6)275 299 y(The)24 b(latest)k(v)m(ersion)d (is)h(stored)g(in)f(a)h(\014le,)g(e.g.,)i(`)p Fo(gsasl-1.8.1.tar.gz)p Fu(')21 b(where)k(the)h(`)p Fo(1.8.1)p Fu(')e(v)-5 b(alue)150 408 y(is)30 b(the)h(highest)g(v)m(ersion)f(n)m(um)m(b)s(er)g(in)g(the)g (directory)-8 b(.)275 535 y(The)33 b(pac)m(k)-5 b(age)35 b(is)f(then)f(extracted,)j(con\014gured)c(and)h(built)h(lik)m(e)g(man)m (y)g(other)g(pac)m(k)-5 b(ages)35 b(that)f(use)150 645 y(Auto)s(conf.)40 b(F)-8 b(or)28 b(detailed)h(information)f(on)g (con\014guring)f(and)g(building)g(it,)i(refer)f(to)g(the)g Fo(INSTALL)e Fu(\014le)150 754 y(that)31 b(is)f(part)h(of)f(the)h (distribution)e(arc)m(hiv)m(e.)275 881 y(Here)36 b(is)f(an)g(example)i (terminal)f(session)f(that)h(do)m(wnloads,)i(con\014gures,)e(builds)e (and)h(install)i(the)150 990 y(pac)m(k)-5 b(age.)43 b(Y)-8 b(ou)31 b(will)f(need)g(a)h(few)f(basic)h(to)s(ols,)h(suc)m(h)e(as)g(`) p Fo(sh)p Fu(',)h(`)p Fo(make)p Fu(')e(and)h(`)p Fo(cc)p Fu('.)390 1117 y Fo($)47 b(wget)g(-q)g(ftp://ftp.gnu.org/gnu/gsa)o (sl/g)o(sasl)o(-1.)o(8.1.)o(tar.)o(gz)390 1226 y($)g(tar)g(xfz)g (gsasl-1.8.1.tar.gz)390 1336 y($)g(cd)h(gsasl-1.8.1/)390 1445 y($)f(./configure)390 1555 y(...)390 1665 y($)g(make)390 1774 y(...)390 1884 y($)g(make)g(install)390 1993 y(...)275 2120 y Fu(After)30 b(that)h(gsasl)g(should)f(b)s(e)f(prop)s(erly)h (installed)h(and)e(ready)i(for)f(use.)275 2246 y(A)g(few)g Fo(configure)e Fu(options)j(ma)m(y)g(b)s(e)e(relev)-5 b(an)m(t,)32 b(summarized)e(in)g(the)h(table.)150 2390 y Fo(--disable-client)150 2499 y(--disable-server)630 2609 y Fu(If)20 b(y)m(our)g(target)i(system)f(require)f(a)h(minimal)f (implemen)m(tation,)k(y)m(ou)d(ma)m(y)g(wish)f(to)h(disable)630 2718 y(the)35 b(clien)m(t)h(or)f(the)f(serv)m(er)h(part)g(of)g(the)f (co)s(de.)54 b(This)34 b(do)s(es)g(not)h(remo)m(v)m(e)h(sym)m(b)s(ols)e (from)630 2828 y(the)26 b(library)-8 b(,)27 b(so)g(if)f(y)m(ou)g (attempt)h(to)g(call)g(an)f(application)h(that)g(uses)e(serv)m(er)i (functions)e(in)630 2937 y(a)30 b(library)f(built)g(with)g Fo(--disable-server)p Fu(,)c(the)30 b(function)e(will)i(return)e(an)i (error)e(co)s(de.)150 3081 y Fo(--disable-obsolete)630 3190 y Fu(Remo)m(v)m(e)38 b(bac)m(kw)m(ards)e(compatibilit)m(y)j(\(see) e(App)s(endix)d(B)j([Old)f(F)-8 b(unctions],)39 b(page)d(76\).)630 3300 y(Use)31 b(if)f(y)m(ou)h(w)m(an)m(t)g(to)g(limit)g(the)g(size)g (of)g(the)f(library)-8 b(.)150 3443 y Fo(--disable-anonymous)150 3553 y(--disable-external)150 3662 y(--disable-plain)150 3772 y(--disable-login)150 3882 y(--disable-securid)150 3991 y(--disable-ntlm)150 4101 y(--disable-cram-md5)150 4210 y(--disable-digest-md5)150 4320 y(--disable-gssapi)150 4430 y(--disable-gs2)150 4539 y(--enable-kerberos_v5)150 4649 y(--disable-scram-sha1)150 4758 y(--disable-saml20)150 4868 y(--disable-openid20)630 4977 y Fu(Disable)22 b(or)g(enable)f (individual)g(mec)m(hanisms)g(\(see)i(Chapter)d(5)i([Mec)m(hanisms],)i (page)e(26\).)150 5121 y Fo(--without-stringprep)630 5230 y Fu(Disable)k(in)m(ternationalized)h(string)e(pro)s(cessing.)39 b(Note)26 b(that)g(this)f(will)g(result)g(in)g(a)g(SASL)630 5340 y(library)30 b(that)h(is)f(compatible)i(with)e(RF)m(C)h(2222)h (but)e(not)g(RF)m(C)h(4422.)p eop end %%Page: 7 11 TeXDict begin 7 10 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(7)275 299 y(F)-8 b(or)31 b(the)f(complete)i(list,)f(refer)f(to)i(the)e(output)g(from)g Fo(configure)e(--help)p Fu(.)150 484 y Fm(1.8.1)63 b(Installing)41 b(under)h(Windo)m(ws)150 631 y Fu(There)29 b(are)g(t)m(w)m(o)h(w)m(a)m (ys)g(to)g(build)e(GNU)i(SASL)e(on)h(Windo)m(ws:)40 b(via)29 b(MinGW)h(or)f(via)h(Microsoft)g(Visual)150 740 y(Studio.)40 b(Note)31 b(that)e(a)h(binary)f(release)h(for)f(Windo)m(ws)h(is)f(a)m (v)-5 b(ailable)32 b(from)d Fo(http://josefsson.org/)150 850 y(gnutls4win/)p Fu(.)275 977 y(With)40 b(MinGW,)g(y)m(ou)g(can)g (build)f(a)h(GNU)g(SASL)e(DLL)i(and)f(use)g(it)h(from)g(other)f (applications.)150 1087 y(After)33 b(installing)h(MinGW)f(\()p Fo(http:)r(/)r(/)r(mingw)r(.)r(org)r(/)r Fu(\))c(follo)m(w)34 b(the)f(generic)g(installation)i(instructions)150 1196 y(\(see)c(Section)h(1.8)f([Do)m(wnloading)h(and)e(Installing],)h(page)g (5\).)42 b(The)30 b(DLL)g(is)g(installed)i(b)m(y)e(default.)275 1324 y(F)-8 b(or)30 b(information)h(on)f(ho)m(w)g(to)h(use)f(the)g(DLL) g(in)g(other)h(applications,)g(see:)42 b Fo(http://www.mingw.)150 1433 y(org/mingwfaq.shtml#faq-m)o(svcd)o(ll)p Fu(.)275 1561 y(Y)-8 b(ou)36 b(can)h(build)e(GNU)h(SASL)g(as)g(a)g(nativ)m(e)i (Visual)f(Studio)e(C)p Fo(++)g Fu(pro)5 b(ject.)59 b(This)35 b(allo)m(ws)j(y)m(ou)e(to)150 1670 y(build)d(the)h(co)s(de)g(for)g (other)g(platforms)g(that)h(VS)e(supp)s(orts,)g(suc)m(h)h(as)g(Windo)m (ws)g(Mobile.)53 b(Y)-8 b(ou)34 b(need)150 1780 y(Visual)d(Studio)f (2005)i(or)e(later.)275 1907 y(First)i(do)m(wnload)h(and)f(unpac)m(k)g (the)h(arc)m(hiv)m(e)h(as)f(describ)s(ed)e(in)i(the)f(generic)i (installation)g(instruc-)150 2017 y(tions)46 b(\(see)g(Section)g(1.8)g ([Do)m(wnloading)h(and)e(Installing],)50 b(page)c(5\).)86 b(Don't)46 b(run)e Fo(./configure)p Fu(.)150 2126 y(Instead,)30 b(start)g(Visual)g(Studio)f(and)g(op)s(en)g(the)h(pro)5 b(ject)30 b(\014le)g Fo(lib/win32/libgsasl.sln)23 b Fu(inside)30 b(the)150 2236 y(GNU)h(SASL)e(directory)-8 b(.)42 b(Y)-8 b(ou)31 b(should)e(b)s(e)h(able)h(to)g(build)e(the)i(pro)5 b(ject)31 b(using)f(Build)g(Pro)5 b(ject.)275 2363 y(Output)29 b(libraries)i(will)g(b)s(e)g(written)f(in)m(to)i(the)f Fo(lib/win32/lib)c Fu(\(or)32 b Fo(lib/win32/lib/debug)25 b Fu(for)150 2473 y(Debug)31 b(v)m(ersions\))g(folder.)275 2600 y(W)-8 b(arning!)40 b(Unless)26 b(y)m(ou)i(build)d(GNU)j(SASL)d (link)m(ed)j(with)e(libgcrypt,)i(GNU)f(SASL)f(uses)h(the)g(Win-)150 2710 y(do)m(ws)37 b(function)f Fo(CryptGenRandom)d Fu(for)j(generating) i(cryptographic)f(random)f(data.)60 b(The)36 b(function)150 2819 y(is)k(kno)m(wn)g(to)h(ha)m(v)m(e)h(some)f(securit)m(y)g(w)m (eaknesses.)72 b(See)40 b Fo(http:)8 b(/)g(/)g(eprint)g(.)g(iacr)g(.)g (org)g(/)g(2007)g(/)g(419)150 2929 y Fu(for)32 b(more)h(information.)47 b(The)32 b(co)s(de)g(will)h(attempt)h(to)f(use)f(the)h(In)m(tel)g(RND)g (crypto)f(pro)m(vider)h(if)f(it)h(is)150 3039 y(installed,)e(see)g Fo(lib/gl/gc-gnulib.c)p Fu(.)150 3224 y Fm(1.8.2)63 b(Kerb)s(eros)42 b(on)g(Windo)m(ws)150 3370 y Fu(Building)21 b(GNU)g(SASL)e(with)h(supp) s(ort)f(for)h(Kerb)s(eros)f(via)j(GSS-API)d(on)i(Windo)m(ws)f(is)h (straigh)m(t)g(forw)m(ard)150 3480 y(if)30 b(y)m(ou)h(use)f(GNU)h(GSS)f (and)g(GNU)h(Shishi)e(as)h(the)h(Kerb)s(eros)e(implemen)m(tation.)275 3607 y(If)k(y)m(ou)h(are)g(using)g(MIT)g(Kerb)s(eros)e(for)i(Windo)m (ws)g(\(KfW\),)h(getting)g(GNU)g(SASL)e(to)h(build)f(with)150 3717 y(Kerb)s(eros)41 b(supp)s(ort)f(is)i(not)h(straigh)m(tforw)m(ard)g (b)s(ecause)f(KfW)g(do)s(es)f(not)i(follo)m(w)g(the)f(GNU)h(co)s(ding) 150 3827 y(st)m(yle)d(and)f(it)g(has)g(bugs)g(that)g(needs)g(to)h(b)s (e)e(w)m(ork)m(ed)i(around.)66 b(W)-8 b(e)40 b(pro)m(vide)f (instructions)g(for)g(this)150 3936 y(en)m(vironmen)m(t)31 b(as)g(w)m(ell,)g(in)f(the)h(hop)s(e)f(that)g(it)h(will)g(b)s(e)f (useful)f(for)i(GNU)g(SASL)e(users.)275 4064 y(Our)37 b(instructions)h(assumes)g(y)m(ou)h(are)g(building)f(the)h(soft)m(w)m (are)h(on)e(a)h(dpkg-based)f(GNU/Lin)m(ux)150 4173 y(systems)30 b(\(e.g.,)j(gNewSense\))d(using)g(the)h(MinGW)g(cross-compiler)g (suite.)41 b(These)30 b(instructions)g(w)m(ere)150 4283 y(compiled)h(for)f(KfW)g(v)m(ersion)h(3.2.2)h(whic)m(h)e(w)m(ere)h(the) g(latest)h(as)e(of)h(2010-09-25.)275 4410 y(W)-8 b(e)35 b(assume)f(that)h(y)m(ou)g(ha)m(v)m(e)h(installed)f(a)g(normal)f(build) g(en)m(vironmen)m(t)h(including)f(the)g(MinGW)150 4520 y(cross-compiler.)42 b(Do)m(wnload)31 b(and)f(unpac)m(k)g(the)h(KfW)f (SDK)g(lik)m(e)i(this:)390 4647 y Fo($)47 b(mkdir)g(~/kfw)390 4757 y($)g(cd)h(~/kfw)390 4866 y($)f(wget)g(-q)g (http://web.mit.edu/kerber)o(os/d)o(ist/)o(kfw)o(/3.2)o(/kfw)o(-3.)o (2.2/)o(kfw-)o(3-2)o(-2-s)o(dk.z)o(ip)390 4976 y($)g(unzip)g (kfw-3-2-2-sdk.zip)275 5103 y Fu(Fix)34 b(a)g(bug)f(in)g(the)h Fo(")p Fu(win-mac.h)p Fo(")f Fu(header)h(inside)f(KfW)h(b)m(y)f (replacing)i Fo(#include)28 b()150 5213 y Fu(with)i Fo(#include)e()p Fu(:)390 5340 y Fo(perl)47 b(-pi)g(-e)g('s,sys\\\\,sys/,')c(~/kfw/kfw-3-2-2-final/inc/) o(krb)o(5/wi)o(n-ma)o(c.h)p eop end %%Page: 8 12 TeXDict begin 8 11 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(8)275 299 y(Unpac)m(k)30 b(y)m(our)h(cop)m(y)g(of)f(GNU)h(SASL:)390 432 y Fo($)47 b(wget)g(-q)g(ftp://alpha.gnu.org/gnu/g)o(sasl)o(/gsa)o(sl-)o(1.8.)o (1.ta)o(r.g)o(z)390 542 y($)g(tar)g(xfz)g(gsasl-1.8.1.tar.gz)390 652 y($)g(cd)h(gsasl-1.8.1)275 785 y Fu(Con\014gure)29 b(GNU)i(SASL)e(lik)m(e)j(this:)390 919 y Fo($)47 b (lt_cv_deplibs_check_method)o(=pas)o(s_a)o(ll)42 b(./configure)i (--host=i586-mingw32msvc)e(--build=i686-pc-linux-g)o(nu)g (--with-gssapi-impl=kfw)f(LDFLAGS="-L$HOME/kfw/kfw-3)o(-2-)o(2-fi)o (nal/)o(lib)o(/i38)o(6")h(CPPFLAGS="-I$HOME/kfw/k)o(fw-)o(3-2-)o(2-fi)o (nal)o(/inc)o(/krb)o(5)g(-DSSIZE_T_DEFINED")275 1052 y Fu(The)d('lt)p 562 1052 28 4 v 41 w(cv)p 691 1052 V 40 w(deplibs)p 1010 1052 V 40 w(c)m(hec)m(k)p 1263 1052 V 41 w(metho)s(d=pass)p 1844 1052 V 39 w(all')j(setting)f(is)f (required)g(b)s(ecause)g(the)g(KfW)g(SDK)150 1162 y(do)s(es)27 b(not)g(ship)f(with)h(Libto)s(ol)g Fo(*.la)f Fu(\014les)h(and)g(is)g (using)f(non-standard)g(DLL)h(names.)40 b(The)26 b Fo(-DSSIZE_)150 1271 y(T_DEFINED)36 b Fu(is)i(necessary)h(b)s(ecause)g(the)f Fo(win-mac.h)e Fu(\014le)j(w)m(ould)f(pro)m(vide)h(an)f(incorrect)h (duplicate)150 1381 y(de\014nitions)29 b(of)g Fo(ssize_t)e Fu(otherwise.)41 b(By)29 b(passing)g Fo(--with-gssapi-impl=kfw)23 b Fu(y)m(ou)30 b(activ)-5 b(ate)32 b(other)150 1490 y(bug)e(w)m(ork)-5 b(arounds,)29 b(suc)m(h)h(as)h(pro)m(viding)f(a)h Fo (GSS_C_NT_HOSTBASED_SERVI)o(CE)24 b Fu(sym)m(b)s(ol.)275 1624 y(Build)30 b(the)g(soft)m(w)m(are)i(using:)390 1758 y Fo($)47 b(make)275 1891 y Fu(If)23 b(y)m(ou)h(ha)m(v)m(e)i(Wine)e (installed)h(and)f(y)m(our)g(k)m(ernel)g(is)g(able)h(to)g(in)m(v)m(ok)m (e)h(it)e(automatically)j(for)d(Windo)m(ws)150 2001 y(programs,)30 b(y)m(ou)h(can)g(run)e(the)h(self)h(tests.)41 b(This)30 b(is)g(recommended)g(to)h(mak)m(e)h(sure)d(the)i(build)e(is)i(sane.)390 2134 y Fo($)47 b(make)g(check)275 2268 y Fu(Y)-8 b(ou)30 b(ma)m(y)h(get)h(error)e(messages)h(ab)s(out)f(missing)h(DLLs,)f(lik)m (e)i(this)e(error:)390 2401 y Fo(err:module:import_dll)42 b(Library)k(gssapi32.dll)e(\(which)i(is)i(needed)e(by)h (L"Z:\\\\home\\\\jas\\\\src\\\\g)o(sasl)o(-1.5)o(.2\\)o(\\lib)o(\\\\sr) o(c\\\\)o(.lib)o(s\\\\l)o(ibg)o(sasl)o(-7.d)o(ll")o(\))42 b(not)47 b(found)275 2535 y Fu(If)33 b(that)h(happ)s(ens,)g(y)m(ou)g (need)f(to)i(mak)m(e)g(sure)e(that)h(Wine)h(can)f(\014nd)e(the)i (appropriate)g(DLL.)g(The)150 2644 y(simplest)27 b(solution)g(is)g(to)g (cop)m(y)h(the)f(necessary)g(DLLs)f(to)i Fo(~/.wine/drive_c/windows)o (/sys)o(tem3)o(2/)p Fu(.)275 2778 y(Y)-8 b(ou)32 b(ma)m(y)h(no)m(w)f (cop)m(y)h(the)g(follo)m(wing)g(\014les)f(on)m(to)i(the)e(Windo)m(ws)g (mac)m(hine)h(\(e.g.,)i(through)c(a)i(USB)150 2887 y(memory)d (device\):)390 3021 y Fo(lib/src/.libs/libgsasl-7)o(.dll)390 3130 y(src/.libs/gsasl.exe)275 3264 y Fu(The)f(remaining)i(steps)f(are) h(done)f(on)g(the)g(Windo)m(ws)h(XP)f(mac)m(hine.)42 b(Install)30 b(KfW)g(and)g(con\014gure)150 3374 y(it)35 b(for)g(y)m(our)g(realm.)55 b(T)-8 b(o)35 b(mak)m(e)h(sure)f(KfW)f(is)h (w)m(orking)h(prop)s(erly)-8 b(,)35 b(acquire)h(a)f(user)f(tic)m(k)m (et)k(and)c(then)150 3483 y(remo)m(v)m(e)j(it.)55 b(F)-8 b(or)36 b(testing)g(purp)s(oses,)f(y)m(ou)g(ma)m(y)h(use)f(the)g(realm) g('in)m(terop.josefsson.org')i(with)e(KDC)150 3593 y('in)m (terop.josefsson.org')d(and)e(username)g('user')g(and)g(passw)m(ord)g ('pass'.)275 3726 y(Change)35 b(to)h(the)f(directory)h(where)f(y)m(ou)h (placed)f(the)h(\014les)f(ab)s(o)m(v)m(e,)j(and)d(in)m(v)m(ok)m(e)i(a)f (command)f(lik)m(e)150 3836 y(this:)390 3969 y Fo(gsasl.exe)45 b(-d)i(interop.josefsson.org)275 4103 y Fu(KfW)41 b(should)f(query)h(y) m(ou)g(for)h(a)f(passw)m(ord,)j(and)d(the)g(to)s(ol)i(should)d (negotiate)k(authen)m(tication)150 4212 y(against)32 b(the)e(serv)m(er)h(using)f(GS2-KRB5.)150 4451 y Ft(1.9)68 b(Bug)45 b(Rep)t(orts)150 4611 y Fu(If)30 b(y)m(ou)h(think)f(y)m(ou)g (ha)m(v)m(e)i(found)d(a)i(bug)e(in)h(GNU)h(SASL,)f(please)h(in)m(v)m (estigate)j(it)d(and)e(rep)s(ort)h(it.)225 4744 y Fs(\017)60 b Fu(Please)32 b(mak)m(e)h(sure)d(that)i(the)f(bug)g(is)g(really)h(in)f (GNU)h(SASL,)e(and)h(preferably)f(also)j(c)m(hec)m(k)f(that)330 4854 y(it)f(hasn't)f(already)h(b)s(een)f(\014xed)f(in)i(the)f(latest)i (v)m(ersion.)225 4987 y Fs(\017)60 b Fu(Y)-8 b(ou)31 b(ha)m(v)m(e)g(to)h(send)d(us)h(a)h(test)g(case)g(that)g(mak)m(es)g(it) g(p)s(ossible)f(for)g(us)g(to)h(repro)s(duce)e(the)i(bug.)225 5121 y Fs(\017)60 b Fu(Y)-8 b(ou)29 b(also)h(ha)m(v)m(e)g(to)g(explain) f(what)g(is)g(wrong;)g(if)g(y)m(ou)g(get)h(a)f(crash,)h(or)f(if)f(the)h (results)g(prin)m(ted)g(are)330 5230 y(not)36 b(go)s(o)s(d)g(and)g(in)g (that)g(case,)j(in)d(what)g(w)m(a)m(y)-8 b(.)59 b(Mak)m(e)38 b(sure)d(that)i(the)f(bug)g(rep)s(ort)f(includes)h(all)330 5340 y(information)31 b(y)m(ou)f(w)m(ould)h(need)f(to)h(\014x)f(this)g (kind)f(of)i(bug)f(for)g(someone)h(else.)p eop end %%Page: 9 13 TeXDict begin 9 12 bop 150 -116 a Fu(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(9)275 299 y(Please)36 b(mak)m(e)f(an)g (e\013ort)h(to)f(pro)s(duce)f(a)h(self-con)m(tained)i(rep)s(ort,)f (with)e(something)i(de\014nite)e(that)150 408 y(can)29 b(b)s(e)g(tested)g(or)g(debugged.)40 b(V)-8 b(ague)31 b(queries)e(or)g(piecemeal)h(messages)g(are)g(di\016cult)f(to)h(act)g (on)f(and)150 518 y(don't)h(help)g(the)h(dev)m(elopmen)m(t)h(e\013ort.) 275 653 y(If)e(y)m(our)g(bug)g(rep)s(ort)g(is)g(go)s(o)s(d,)h(w)m(e)g (will)g(do)f(our)g(b)s(est)g(to)i(help)e(y)m(ou)g(to)i(get)f(a)g (corrected)h(v)m(ersion)f(of)150 762 y(the)j(soft)m(w)m(are;)j(if)d (the)g(bug)f(rep)s(ort)g(is)h(p)s(o)s(or,)g(w)m(e)g(w)m(on't)g(do)g(an) m(ything)g(ab)s(out)g(it)g(\(apart)g(from)f(asking)150 872 y(y)m(ou)e(to)g(send)e(b)s(etter)i(bug)f(rep)s(orts\).)275 1006 y(If)19 b(y)m(ou)i(think)f(something)h(in)f(this)g(man)m(ual)h(is) f(unclear,)j(or)d(do)m(wnrigh)m(t)h(incorrect,)i(or)e(if)f(the)h (language)150 1116 y(needs)30 b(to)h(b)s(e)f(impro)m(v)m(ed,)h(please)g (also)g(send)f(a)h(note.)275 1250 y(Send)e(y)m(our)h(bug)g(rep)s(ort)g (to:)1519 1360 y(`)p Fo(bug-gsasl@gnu.org)p Fu(')150 1601 y Ft(1.10)68 b(Con)l(tributing)150 1760 y Fu(If)25 b(y)m(ou)h(w)m(an)m(t)g(to)g(submit)f(a)h(patc)m(h)g(for)f(inclusion)h ({)f(from)h(solv)m(e)g(a)g(t)m(yp)s(o)g(y)m(ou)g(disco)m(v)m(ered,)i (up)c(to)i(adding)150 1870 y(supp)s(ort)38 b(for)h(a)h(new)e(feature)i ({)g(y)m(ou)g(should)e(submit)h(it)h(as)f(a)h(bug)f(rep)s(ort)f(\(see)j (Section)f(1.9)g([Bug)150 1979 y(Rep)s(orts],)32 b(page)g(8\).)44 b(There)30 b(are)i(some)g(things)f(that)h(y)m(ou)f(can)h(do)f(to)h (increase)g(the)f(c)m(hances)h(for)f(it)h(to)150 2089 y(b)s(e)e(included)f(in)h(the)h(o\016cial)h(pac)m(k)-5 b(age.)275 2223 y(Unless)41 b(y)m(our)g(patc)m(h)h(is)f(v)m(ery)h (small)g(\(sa)m(y)-8 b(,)46 b(under)40 b(10)i(lines\))g(w)m(e)f (require)g(that)h(y)m(ou)g(assign)g(the)150 2333 y(cop)m(yrigh)m(t)d (of)f(y)m(our)f(w)m(ork)h(to)g(the)g(F)-8 b(ree)39 b(Soft)m(w)m(are)f (F)-8 b(oundation.)63 b(This)37 b(is)g(to)i(protect)f(the)g(freedom)150 2443 y(of)44 b(the)g(pro)5 b(ject.)81 b(If)43 b(y)m(ou)h(ha)m(v)m(e)h (not)f(already)h(signed)e(pap)s(ers,)j(w)m(e)f(will)f(send)f(y)m(ou)h (the)g(necessary)150 2552 y(information)31 b(when)e(y)m(ou)i(submit)e (y)m(our)i(con)m(tribution.)275 2687 y(F)-8 b(or)33 b(con)m(tributions) h(that)f(do)s(esn't)g(consist)g(of)g(actual)i(programming)d(co)s(de,)i (the)g(only)f(guidelines)150 2796 y(are)e(common)f(sense.)41 b(Use)31 b(it.)275 2931 y(F)-8 b(or)31 b(co)s(de)f(con)m(tributions,)h (a)g(n)m(um)m(b)s(er)e(of)i(st)m(yle)g(guides)g(will)f(help)g(y)m(ou:) 225 3065 y Fs(\017)60 b Fu(Co)s(ding)26 b(St)m(yle.)40 b(F)-8 b(ollo)m(w)29 b(the)e(GNU)h(Standards)d(do)s(cumen)m(t)h(\(see)i (Section)g(\\top")f(in)g Fo(standards)p Fu(\).)330 3200 y(If)21 b(y)m(ou)g(normally)g(co)s(de)h(using)e(another)i(co)s(ding)f (standard,)h(there)f(is)g(no)g(problem,)i(but)d(y)m(ou)i(should)330 3309 y(use)i(`)p Fo(indent)p Fu(')g(to)h(reformat)g(the)g(co)s(de)g (\(see)g(Section)h(\\top")g(in)e Fo(indent)p Fu(\))f(b)s(efore)i (submitting)f(y)m(our)330 3419 y(w)m(ork.)225 3553 y Fs(\017)60 b Fu(Use)31 b(the)f(uni\014ed)f(di\013)h(format)h(`)p Fo(diff)f(-u)p Fu('.)225 3688 y Fs(\017)60 b Fu(Return)32 b(errors.)47 b(No)33 b(reason)g(whatso)s(ev)m(er)g(should)f(ab)s(ort)h (the)g(execution)g(of)g(the)g(library)-8 b(.)48 b(Ev)m(en)330 3797 y(memory)30 b(allo)s(cation)j(errors,)d(e.g.)42 b(when)29 b Fo(malloc)g Fu(return)g Fo(NULL)p Fu(,)g(should)h(w)m(ork)g (although)h(result)330 3907 y(in)f(an)g(error)g(co)s(de.)225 4042 y Fs(\017)60 b Fu(Design)38 b(with)g(thread)f(safet)m(y)i(in)e (mind.)62 b(Don't)38 b(use)g(global)g(v)-5 b(ariables.)64 b(Don't)38 b(ev)m(en)g(write)g(to)330 4151 y(p)s(er-handle)27 b(global)j(v)-5 b(ariables)28 b(unless)g(the)g(do)s(cumen)m(ted)g(b)s (eha)m(viour)g(of)g(the)g(function)g(y)m(ou)h(write)330 4261 y(is)h(to)i(write)e(to)h(the)g(p)s(er-handle)e(global)j(v)-5 b(ariable.)225 4395 y Fs(\017)60 b Fu(Av)m(oid)38 b(using)f(the)g(C)g (math)g(library)-8 b(.)61 b(It)37 b(causes)h(problems)e(for)h(em)m(b)s (edded)f(implemen)m(tations,)330 4505 y(and)30 b(in)g(most)h (situations)g(it)g(is)f(v)m(ery)h(easy)g(to)g(a)m(v)m(oid)h(using)e (it.)225 4639 y Fs(\017)60 b Fu(Do)s(cumen)m(t)23 b(y)m(our)f (functions.)37 b(Use)23 b(commen)m(ts)g(b)s(efore)f(eac)m(h)h(function) f(headers,)h(that,)i(if)d(prop)s(erly)330 4749 y(formatted,)31 b(are)g(extracted)h(in)m(to)f(T)-8 b(exinfo)31 b(man)m(uals)f(and)g (GTK-DOC)g(w)m(eb)h(pages.)225 4883 y Fs(\017)60 b Fu(Supply)29 b(a)h(ChangeLog)h(and)f(NEWS)g(en)m(tries,)i(where)e(appropriate.)p eop end %%Page: 10 14 TeXDict begin 10 13 bop 3659 -116 a Fu(10)150 299 y Fr(2)80 b(Preparation)150 538 y Fu(T)-8 b(o)24 b(use)g(GNU)g(SASL,)f(y)m(ou)h (ha)m(v)m(e)h(to)g(p)s(erform)d(some)i(c)m(hanges)h(to)f(y)m(our)g (sources)g(and)f(the)h(build)f(system.)150 648 y(The)28 b(necessary)g(c)m(hanges)i(are)e(small)h(and)f(explained)g(in)g(the)h (follo)m(wing)g(sections.)41 b(A)m(t)30 b(the)e(end)g(of)g(this)150 758 y(c)m(hapter,)e(it)d(is)h(describ)s(ed)e(ho)m(w)h(the)h(library)f (is)g(initialized,)k(and)22 b(ho)m(w)i(the)f(requiremen)m(ts)g(of)h (the)f(library)150 867 y(are)31 b(v)m(eri\014ed.)275 1003 y(A)d(faster)h(w)m(a)m(y)g(to)g(\014nd)e(out)h(ho)m(w)g(to)h (adapt)g(y)m(our)f(application)i(for)e(use)g(with)g(GNU)g(SASL)g(ma)m (y)h(b)s(e)150 1113 y(to)i(lo)s(ok)g(at)g(the)g(examples)g(at)g(the)f (end)g(of)h(this)f(man)m(ual)h(\(see)g(Chapter)f(13)h([Examples],)g (page)g(52\).)150 1357 y Ft(2.1)68 b(Header)150 1516 y Fu(All)23 b(in)m(terfaces)g(\(data)h(t)m(yp)s(es)e(and)f(functions\)) h(of)h(the)f(library)g(are)g(de\014ned)f(in)h(the)g(header)g(\014le)h Fo(gsasl.h)p Fu(.)150 1626 y(Y)-8 b(ou)23 b(m)m(ust)f(include)g(this)g (in)f(all)i(programs)f(using)g(the)g(library)-8 b(,)24 b(either)f(directly)g(or)f(through)f(some)i(other)150 1735 y(header)30 b(\014le,)h(lik)m(e)h(this:)390 1871 y Fo(#include)46 b()275 2008 y Fu(The)40 b(name)g(space)h(is)g Fo(gsasl_*)d Fu(for)j(function)f(names,)j Fo(Gsasl*)c Fu(for)h(data)h(t)m(yp)s(es)g(and)f Fo(GSASL_*)150 2117 y Fu(for)31 b(other)h(sym)m(b)s(ols.)44 b(In)31 b(addition)g(the)h (same)g(name)g(pre\014xes)e(with)i(one)f(prep)s(ended)f(underscore)h (are)150 2227 y(reserv)m(ed)g(for)f(in)m(ternal)h(use)f(and)g(should)f (nev)m(er)i(b)s(e)e(used)h(b)m(y)g(an)h(application.)150 2470 y Ft(2.2)68 b(Initialization)150 2630 y Fu(The)34 b(library)h(m)m(ust)f(b)s(e)g(initialized)j(b)s(efore)d(it)i(can)f(b)s (e)f(used.)53 b(The)34 b(library)g(is)h(initialized)i(b)m(y)d(calling) 150 2739 y Fo(gsasl_init)f Fu(\(see)j(Chapter)f(6)i([Global)g(F)-8 b(unctions],)38 b(page)e(34\).)58 b(The)35 b(resources)h(allo)s(cated)h (b)m(y)f(the)150 2849 y(initialization)27 b(pro)s(cess)d(can)h(b)s(e)f (released)h(if)f(the)h(application)h(no)e(longer)h(has)f(a)h(need)f(to) h(call)h(`Libgsasl')150 2958 y(functions,)k(this)g(is)h(done)f(b)m(y)g (calling)i Fo(gsasl_done)p Fu(.)38 b(F)-8 b(or)31 b(example:)390 3095 y Fo(int)390 3204 y(main)47 b(\(int)f(argc,)h(char)f(*argv[]\))390 3314 y({)485 3424 y(Gsasl)h(*ctx)f(=)i(NULL;)485 3533 y(int)f(rc;)390 3643 y(...)485 3752 y(rc)h(=)f(gsasl_init)e(\(&ctx\);) 485 3862 y(if)j(\(rc)f(!=)g(GSASL_OK\))581 3971 y({)676 4081 y(printf)f(\("SASL)h(initialization)c(failure)j(\(\045d\):)h (\045s\\n",)1058 4191 y(rc,)g(gsasl_strerror)d(\(rc\)\);)676 4300 y(return)i(1;)581 4410 y(})390 4519 y(...)275 4656 y Fu(In)24 b(order)g(to)i(mak)m(e)g(error)f(messages)h(from)f Fo(gsasl_strerror)c Fu(b)s(e)j(translated)i(\(see)g Fl(GNU)f(Gettext)r Fu(\))150 4765 y(the)h(application)g(m)m(ust)g(set)g(the)f(curren)m(t)h (lo)s(cale)h(using)e Fo(setlocale)e Fu(b)s(efore)i(calling)i Fo(gsasl_init)p Fu(.)36 b(F)-8 b(or)150 4875 y(example:)390 5011 y Fo(int)390 5121 y(main)47 b(\(int)f(argc,)h(char)f(*argv[]\))390 5230 y({)485 5340 y(Gsasl)h(*ctx)f(=)i(NULL;)p eop end %%Page: 11 15 TeXDict begin 11 14 bop 150 -116 a Fu(Chapter)30 b(2:)41 b(Preparation)2573 b(11)485 299 y Fo(int)47 b(rc;)390 408 y(...)485 518 y(setlocale)f(\(LC_ALL,)f(""\);)390 628 y(...)485 737 y(rc)j(=)f(gsasl_init)e(\(&ctx\);)485 847 y(if)j(\(rc)f(!=)g(GSASL_OK\))581 956 y({)676 1066 y(printf)f(\(gettext)g(\("SASL)g(initialization)e(failure)i(\(\045d\):) g(\045s\\n"\),)1058 1176 y(rc,)h(gsasl_strerror)d(\(rc\)\);)676 1285 y(return)i(1;)581 1395 y(})390 1504 y(...)275 1670 y Fu(In)37 b(order)g(to)i(tak)m(e)h(adv)-5 b(an)m(tage)40 b(of)e(the)g(secure)g(memory)g(features)g(in)g(Libgcrypt)3168 1637 y Fk(1)3205 1670 y Fu(,)i(y)m(ou)e(need)g(to)150 1779 y(initialize)30 b(secure)e(memory)g(in)g(y)m(our)f(application,)j (and)e(for)f(some)i(platforms)e(ev)m(en)i(mak)m(e)g(y)m(our)f(appli-) 150 1889 y(cation)f(setuid)e(ro)s(ot.)39 b(See)25 b(the)h(Libgcrypt)f (do)s(cumen)m(tation)h(for)f(more)g(information.)39 b(Here)26 b(is)f(example)150 1999 y(co)s(de)31 b(to)g(initialize)h(secure)f (memory)f(in)g(y)m(our)h(co)s(de:)390 2164 y Fo(#include)46 b()390 2274 y(...)390 2383 y(int)390 2493 y(main)h(\(int)f (argc,)h(char)f(*argv[]\))390 2603 y({)485 2712 y(Gsasl)h(*ctx)f(=)i (NULL;)485 2822 y(int)f(rc;)390 2931 y(...)485 3041 y(/*)h(Check)e (version)g(of)h(libgcrypt.)e(*/)485 3150 y(if)j(\(!gcry_check_version) 42 b(\(GCRYPT_VERSION\)\))581 3260 y(die)47 b(\("version)e (mismatch\\n"\);)485 3479 y(/*)j(Allocate)d(a)j(pool)e(of)h(16k)g (secure)f(memory.)94 b(This)47 b(also)f(drops)h(priviliges)629 3589 y(on)g(some)f(systems.)g(*/)485 3698 y(gcry_control)f (\(GCRYCTL_INIT_SECMEM,)d(16384,)k(0\);)485 3918 y(/*)i(Tell)e (Libgcrypt)g(that)g(initialization)e(has)j(completed.)e(*/)485 4027 y(gcry_control)g(\(GCRYCTL_INITIALIZATION_)o(FINI)o(SHE)o(D,)d (0\);)390 4137 y(...)485 4246 y(rc)48 b(=)f(gsasl_init)e(\(&ctx\);)485 4356 y(if)j(\(rc)f(!=)g(GSASL_OK\))581 4466 y({)676 4575 y(printf)f(\("SASL)h(initialization)c(failure)j(\(\045d\):)h (\045s\\n",)1058 4685 y(rc,)g(gsasl_strerror)d(\(rc\)\);)676 4794 y(return)i(1;)581 4904 y(})390 5013 y(...)p 150 5154 1200 4 v 199 5221 a Fk(1)275 5253 y Fj(Note)19 b(that)h(GNU)f (SASL)g(normally)h(use)g(its)g(o)n(wn)g(in)n(ternal)g(implemen)n (tation)h(of)g(the)e(cryptographic)h(functions.)33 b(T)-6 b(ak)n(e)275 5340 y(care)26 b(to)g(v)n(erify)f(that)h(GNU)f(SASL)f (really)j(use)e(Libgcrypt,)h(if)g(this)g(is)g(what)g(y)n(ou)f(w)n(an)n (t.)p eop end %%Page: 12 16 TeXDict begin 12 15 bop 150 -116 a Fu(Chapter)30 b(2:)41 b(Preparation)2573 b(12)275 299 y(If)26 b(y)m(ou)i(do)e(not)i(do)f (this,)h(k)m(eying)g(material)g(will)g(not)f(b)s(e)f(allo)s(cated)j(in) e(secure)g(memory)g(\(whic)m(h,)h(for)150 408 y(most)35 b(applications,)i(is)e(not)g(the)g(biggest)h(secure)f(problem)f(an)m (yw)m(a)m(y\).)56 b(Note)36 b(that)g(the)f(GNU)g(SASL)150 518 y(Library)30 b(has)g(not)g(b)s(een)g(audited)g(to)h(mak)m(e)h(sure) d(it)i(stores)g(passw)m(ords)f(or)g(k)m(eys)h(in)f(secure)h(memory)-8 b(.)150 754 y Ft(2.3)68 b(V)-11 b(ersion)45 b(Chec)l(k)150 913 y Fu(It)36 b(is)g(often)g(desirable)g(to)g(c)m(hec)m(k)h(that)g (the)f(v)m(ersion)g(of)g(the)g(library)f(used)g(is)h(indeed)f(one)h (whic)m(h)f(\014ts)150 1023 y(all)e(requiremen)m(ts.)48 b(Ev)m(en)32 b(with)g(binary)g(compatibilit)m(y)-8 b(,)36 b(new)c(features)h(ma)m(y)g(ha)m(v)m(e)h(b)s(een)e(in)m(tro)s(duced)150 1133 y(but,)e(due)g(to)h(problem)e(with)i(the)f(dynamic)g(link)m(er,)h (an)f(old)h(v)m(ersion)g(ma)m(y)g(actually)h(b)s(e)d(used.)40 b(So)31 b(y)m(ou)150 1242 y(ma)m(y)g(w)m(an)m(t)g(to)g(c)m(hec)m(k)h (that)f(the)g(v)m(ersion)g(is)f(ok)-5 b(a)m(y)32 b(righ)m(t)f(after)f (program)h(startup.)150 1437 y Fm(gsasl)p 410 1437 37 5 v 55 w(c)m(hec)m(k)p 758 1437 V 52 w(v)m(ersion)3350 1629 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g (gsasl_check_version)e Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(req_version)p Fh(\))390 1738 y Fl(req)p 520 1738 28 4 v 40 w(v)m(ersion)p Fu(:)41 b(v)m(ersion)31 b(string)f(to)h(compare)g (with,)g(or)f(NULL.)390 1870 y(Chec)m(k)h(GNU)g(SASL)e(Library)h(v)m (ersion.)390 2002 y(See)h Fo(GSASL_VERSION)26 b Fu(for)31 b(a)f(suitable)h Fo(req_version)c Fu(string.)390 2134 y(This)33 b(function)g(is)h(one)g(of)g(few)f(in)h(the)g(library)f(that) h(can)g(b)s(e)f(used)g(without)h(a)g(successful)g(call)390 2244 y(to)d Fo(gsasl_init\(\))c Fu(.)390 2376 y(Return)32 b(v)-5 b(alue:)46 b(Chec)m(k)33 b(that)g(the)g(v)m(ersion)h(of)e(the)h (library)g(is)g(at)g(minim)m(um)f(the)h(one)g(giv)m(en)h(as)390 2486 y(a)j(string)f(in)h Fo(req_version)c Fu(and)j(return)g(the)g (actual)i(v)m(ersion)f(string)g(of)g(the)g(library;)i(return)390 2595 y(NULL)26 b(if)f(the)h(condition)h(is)f(not)g(met.)39 b(If)26 b(NULL)f(is)h(passed)g(to)g(this)g(function)f(no)h(c)m(hec)m(k) h(is)f(done)390 2705 y(and)k(only)g(the)h(v)m(ersion)g(string)f(is)g (returned.)275 2882 y(The)d(normal)h(w)m(a)m(y)h(to)f(use)g(the)g (function)f(is)h(to)h(put)e(something)h(similar)h(to)f(the)g(follo)m (wing)i(early)e(in)150 2992 y(y)m(our)i Fo(main)p Fu(:)485 3124 y Fo(if)48 b(\(!gsasl_check_version)42 b(\(GSASL_VERSION\)\))581 3233 y({)676 3343 y(printf)k(\("gsasl_check_version)c(failed:\\n")1058 3452 y("Header)k(file)h(incompatible)d(with)j(shared)f(library.\\n"\);) 676 3562 y(exit\(1\);)581 3672 y(})150 3908 y Ft(2.4)68 b(Building)45 b(the)g(source)150 4067 y Fu(If)29 b(y)m(ou)i(w)m(an)m(t) g(to)f(compile)h(a)g(source)f(\014le)g(including)f(the)h Fo(gsasl.h)e Fu(header)i(\014le,)h(y)m(ou)f(m)m(ust)g(mak)m(e)h(sure) 150 4177 y(that)d(the)g(compiler)g(can)g(\014nd)d(it)j(in)g(the)f (directory)h(hierarc)m(h)m(y)-8 b(.)41 b(This)27 b(is)g(accomplished)h (b)m(y)g(adding)f(the)150 4286 y(path)i(to)h(the)g(directory)g(in)f (whic)m(h)h(the)f(header)h(\014le)f(is)h(lo)s(cated)h(to)f(the)g (compilers)f(include)h(\014le)f(searc)m(h)150 4396 y(path)h(\(via)h (the)g Fo(-I)f Fu(option\).)275 4528 y(Ho)m(w)m(ev)m(er,)h(the)f(path)f (to)h(the)g(include)f(\014le)h(is)f(determined)g(at)h(the)g(time)g(the) f(source)h(is)f(con\014gured.)150 4637 y(T)-8 b(o)22 b(solv)m(e)h(this)f(problem,)h(the)e(library)h(uses)f(the)h(external)g (pac)m(k)-5 b(age)24 b Fo(pkg-config)19 b Fu(that)j(kno)m(ws)f(the)h (path)150 4747 y(to)34 b(the)g(include)g(\014le)f(and)g(other)h (con\014guration)g(options.)51 b(The)33 b(options)h(that)g(need)g(to)g (b)s(e)f(added)g(to)150 4857 y(the)28 b(compiler)h(in)m(v)m(o)s(cation) g(at)g(compile)g(time)g(are)f(output)f(b)m(y)h(the)g Fo(--cflags)e Fu(option)i(to)h Fo(pkg-config)150 4966 y(libgsasl)p Fu(.)38 b(The)30 b(follo)m(wing)i(example)f(sho)m(ws)f(ho) m(w)h(it)g(can)f(b)s(e)g(used)g(at)h(the)f(command)g(line:)390 5098 y Fo(gcc)47 b(-c)g(foo.c)f(`pkg-config)f(libgsasl)h(--cflags`)275 5230 y Fu(Adding)32 b(the)h(output)f(of)h(`)p Fo(pkg-config)28 b(libgsasl)g(--cflags)p Fu(')j(to)j(the)f(compiler)g(command)g(line)150 5340 y(will)e(ensure)e(that)i(the)g(compiler)g(can)f(\014nd)f(the)i Fo(gsasl.h)d Fu(header)i(\014le.)p eop end %%Page: 13 17 TeXDict begin 13 16 bop 150 -116 a Fu(Chapter)30 b(2:)41 b(Preparation)2573 b(13)275 299 y(A)23 b(similar)g(problem)g(o)s(ccurs) g(when)f(linking)h(the)g(program)g(with)g(the)g(library)-8 b(.)38 b(Again,)26 b(the)d(compiler)150 408 y(has)31 b(to)i(\014nd)d(the)i(library)f(\014les.)44 b(F)-8 b(or)33 b(this)e(to)h(w)m(ork,)h(the)f(path)f(to)h(the)g(library)f(\014les)h (has)f(to)i(b)s(e)e(added)150 518 y(to)h(the)g(library)f(searc)m(h)h (path)f(\(via)h(the)g Fo(-L)f Fu(option\).)44 b(F)-8 b(or)33 b(this,)e(the)h(option)g Fo(--libs)e Fu(to)i Fo(pkg-config)150 628 y(libgsasl)38 b Fu(can)i(b)s(e)f(used.)68 b(F)-8 b(or)40 b(con)m(v)m(enience,)45 b(this)39 b(option)i(also)f (outputs)g(all)g(other)g(options)g(that)150 737 y(are)c(required)e(to)i (link)g(the)f(program)g(with)g(the)h(library)f(\(for)g(instance,)j(the) e(`)p Fo(-lidn)p Fu(')e(option\).)56 b(The)150 847 y(example)31 b(sho)m(ws)f(ho)m(w)h(to)g(link)f Fo(foo.o)f Fu(with)h(the)h(library)f (to)h(a)f(program)h Fo(foo)p Fu(.)390 980 y Fo(gcc)47 b(-o)g(foo)g(foo.o)f(`pkg-config)f(libgsasl)h(--libs`)275 1114 y Fu(Of)29 b(course)i(y)m(ou)f(can)h(also)g(com)m(bine)g(b)s(oth)e (examples)i(to)g(a)g(single)f(command)g(b)m(y)h(sp)s(ecifying)f(b)s (oth)150 1223 y(options)h(to)g Fo(pkg-config)p Fu(:)390 1357 y Fo(gcc)47 b(-o)g(foo)g(foo.c)f(`pkg-config)f(libgsasl)h (--cflags)f(--libs`)150 1595 y Ft(2.5)68 b(Auto)t(conf)44 b(tests)150 1755 y Fu(If)33 b(y)m(ou)h(w)m(ork)f(on)h(a)g(pro)5 b(ject)34 b(that)g(uses)f(Auto)s(conf)g(\(see)i(Section)f(\\top")g(in)g Fo(autoconf)p Fu(\))d(to)j(help)f(\014nd)150 1864 y(installed)26 b(libraries,)h(the)e(suggestions)h(in)f(the)g(previous)g(section)i(are) e(not)h(the)f(en)m(tire)h(story)-8 b(.)40 b(There)25 b(are)150 1974 y(a)j(few)f(metho)s(ds)g(to)h(detect)h(and)e(incorp)s (orate)h(the)g(GNU)g(SASL)f(Library)g(in)m(to)h(y)m(our)g(Auto)s(conf)f (based)150 2084 y(pac)m(k)-5 b(age.)68 b(The)39 b(preferred)e(approac)m (h,)42 b(is)d(to)h(use)e(Libto)s(ol)i(in)e(y)m(our)h(pro)5 b(ject,)42 b(and)c(use)h(the)g(normal)150 2193 y(Auto)s(conf)30 b(header)h(\014le)f(and)g(library)g(tests.)150 2390 y Fm(2.5.1)63 b(Auto)s(conf)41 b(test)g(via)g(`)p Fe(pkg-config)p Fm(')150 2537 y Fu(If)h(y)m(our)g(audience)g(is)g(a)h(t)m(ypical)g (GNU/Lin)m(ux)g(desktop,)i(y)m(ou)e(can)f(often)g(assume)g(they)g(ha)m (v)m(e)i(the)150 2647 y(`)p Fo(pkg-config)p Fu(')33 b(to)s(ol)j (installed,)h(in)d(whic)m(h)h(y)m(ou)g(can)h(use)e(its)i(Auto)s(conf)f (M4)g(macro)h(to)g(\014nd)d(and)h(set)150 2756 y(up)29 b(y)m(our)i(pac)m(k)-5 b(age)32 b(for)e(use)g(with)g(Libgsasl.)41 b(The)30 b(follo)m(wing)i(example)f(illustrates)h(this)e(scenario.)390 2890 y Fo(AC_ARG_ENABLE\(gsasl,)485 2999 y(AC_HELP_STRING\([--disable-) o(gsas)o(l],)41 b([don't)46 b(use)h(GNU)g(SASL]\),)485 3109 y(gsasl=$enableval\))390 3219 y(if)g(test)g("$gsasl")e(!=)j("no")e (;)i(then)485 3328 y(PKG_CHECK_MODULES\(GSASL,)42 b(libgsasl)j(>=)i (1.8.1,)581 3438 y([gsasl=yes],)581 3547 y([gsasl=no]\))485 3657 y(if)h(test)e("$gsasl")g(!=)h("yes")f(;)i(then)581 3767 y(gsasl=no)581 3876 y(AC_MSG_WARN\([Cannot)42 b(find)47 b(GNU)g(SASL,)f(disabling]\))485 3986 y(else)581 4095 y(gsasl=yes)581 4205 y(AC_DEFINE\(USE_GSASL,)c(1,)47 b([Define)f(to)h(1)h(if)f(you)g(want)g(GNU)f(SASL.]\))485 4315 y(fi)390 4424 y(fi)390 4534 y(AC_MSG_CHECKING\([if)d(GNU)j(SASL)h (should)f(be)h(used]\))390 4643 y(AC_MSG_RESULT\($gsasl\))150 4840 y Fm(2.5.2)63 b(Standalone)41 b(Auto)s(conf)h(test)e(using)j (Libto)s(ol)150 4987 y Fu(If)34 b(y)m(our)g(pac)m(k)-5 b(age)36 b(uses)e(Libto)s(ol)h(\(see)g(Section)h(\\top")f(in)f Fo(libtool)p Fu(\),)g(y)m(ou)h(can)f(use)g(the)h(normal)f(Au-)150 5097 y(to)s(conf)39 b(tests)g(to)g(\014nd)d(Libgsasl)j(and)f(rely)g(on) g(the)h(Libto)s(ol)f(dep)s(endency)f(trac)m(king)j(to)f(include)f(the) 150 5207 y(prop)s(er)29 b(dep)s(endency)g(libraries)h(\(e.g.,)j (Libidn\).)39 b(The)30 b(follo)m(wing)i(example)f(illustrates)h(this)e (scenario.)390 5340 y Fo(AC_CHECK_HEADER\(gsasl.h,)p eop end %%Page: 14 18 TeXDict begin 14 17 bop 3659 -116 a Fu(14)485 299 y Fo (AC_CHECK_LIB\(gsasl,)43 b(gsasl_check_version,)581 408 y([gsasl=yes)i(AC_SUBST\(GSASL_LIBS,)d(-lgsasl\)],)581 518 y(gsasl=no\),)485 628 y(gsasl=no\))390 737 y(AC_ARG_ENABLE\(gsasl,) 485 847 y(AC_HELP_STRING\([--disable-)o(gsas)o(l],)f([don't)46 b(use)h(GNU)g(SASL]\),)485 956 y(gsasl=$enableval\))390 1066 y(if)g(test)g("$gsasl")e(!=)j("no")e(;)i(then)485 1176 y(AC_DEFINE\(USE_SASL,)43 b(1,)k([Define)f(to)h(1)h(if)f(you)g (want)f(GNU)h(SASL.]\))390 1285 y(else)485 1395 y(AC_MSG_WARN\([Cannot) c(find)k(GNU)g(SASL,)f(diabling]\))390 1504 y(fi)390 1614 y(AC_MSG_CHECKING\([if)d(GNU)j(SASL)h(should)f(be)h(used]\))390 1724 y(AC_MSG_RESULT\($gsasl\))p eop end %%Page: 15 19 TeXDict begin 15 18 bop 3659 -116 a Fu(15)150 299 y Fr(3)80 b(Using)53 b(the)g(Library)150 580 y Fu(Y)-8 b(our)33 b(application's)g(use)g(of)f(the)h(library)f(can)h(b)s(e)f(roughly)g (mo)s(deled)g(in)m(to)h(the)g(follo)m(wing)h(steps:)45 b(ini-)150 689 y(tialize)37 b(the)e(library)-8 b(,)37 b(optionally)f(sp)s(ecify)e(the)h(callbac)m(k,)k(p)s(erform)33 b(the)i(authen)m(tication,)k(and)34 b(\014nally)150 799 y(clean)d(up.)40 b(The)30 b(follo)m(wing)i(image)f(illustrates)h(this.) 150 2153 y @beginspecial 0 @llx 0 @lly 1449 @urx 470 @ury 4252 @rwi 1417 @rhi @setspecial %%BeginDocument: controlflow.eps %!PS-Adobe-2.0 EPSF-2.0 %%Title: doc/controlflow.dia %%Creator: Dia v0.94 %%CreationDate: Sun Oct 31 20:54:21 2004 %%For: jas %%Orientation: Portrait %%Magnification: 1.0000 %%BoundingBox: 0 0 1449 470 %%BeginSetup %%EndSetup %%EndComments %%BeginProlog [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /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 /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /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 /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def /cp {closepath} bind def /c {curveto} bind def /f {fill} bind def /a {arc} bind def /ef {eofill} bind def /ex {exch} bind def /gr {grestore} bind def /gs {gsave} bind def /sa {save} bind def /rs {restore} bind def /l {lineto} bind def /m {moveto} bind def /rm {rmoveto} bind def /n {newpath} bind def /s {stroke} bind def /sh {show} bind def /slc {setlinecap} bind def /slj {setlinejoin} bind def /slw {setlinewidth} bind def /srgb {setrgbcolor} bind def /rot {rotate} bind def /sc {scale} bind def /sd {setdash} bind def /ff {findfont} bind def /sf {setfont} bind def /scf {scalefont} bind def /sw {stringwidth pop} bind def /tr {translate} bind def /ellipsedict 8 dict def ellipsedict /mtrx matrix put /ellipse { ellipsedict begin /endangle exch def /startangle exch def /yrad exch def /xrad exch def /y exch def /x exch def /savematrix mtrx currentmatrix def x y tr xrad yrad sc 0 0 1 startangle endangle arc savematrix setmatrix end } def /mergeprocs { dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /dpi_x 300 def /dpi_y 300 def /conicto { /to_y exch def /to_x exch def /conic_cntrl_y exch def /conic_cntrl_x exch def currentpoint /p0_y exch def /p0_x exch def /p1_x p0_x conic_cntrl_x p0_x sub 2 3 div mul add def /p1_y p0_y conic_cntrl_y p0_y sub 2 3 div mul add def /p2_x p1_x to_x p0_x sub 1 3 div mul add def /p2_y p1_y to_y p0_y sub 1 3 div mul add def p1_x p1_y p2_x p2_y to_x to_y curveto } bind def /start_ol { gsave 1.1 dpi_x div dup scale} bind def /end_ol { closepath fill grestore } bind def 28.346000 -28.346000 scale 19.050000 -23.500000 translate %%EndProlog 1.000000 1.000000 1.000000 srgb n -17.000000 7.000000 m -17.000000 18.000000 l 30.000000 18.000000 l 30.000000 7.000000 l f n -17.000000 9.000000 m -17.000000 9.000000 2.000000 2.000000 180.000000 270.000000 ellipse f n 30.000000 9.000000 m 30.000000 9.000000 2.000000 2.000000 270.000000 360.000000 ellipse f n -19.000000 9.000000 m -19.000000 16.000000 l 32.000000 16.000000 l 32.000000 9.000000 l f n -17.000000 16.000000 m -17.000000 16.000000 2.000000 2.000000 90.000000 180.000000 ellipse f n 30.000000 16.000000 m 30.000000 16.000000 2.000000 2.000000 0.000000 90.000000 ellipse f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -17.000000 7.000000 m 30.000000 7.000000 l s n -17.000000 18.000000 m 30.000000 18.000000 l s n -17.000000 9.000000 2.000000 2.000000 180.000000 270.000000 ellipse s n 30.000000 9.000000 2.000000 2.000000 270.000000 360.000000 ellipse s n -19.000000 9.000000 m -19.000000 16.000000 l s n 32.000000 9.000000 m 32.000000 16.000000 l s n -17.000000 16.000000 2.000000 2.000000 90.000000 180.000000 ellipse s n 30.000000 16.000000 2.000000 2.000000 0.000000 90.000000 ellipse s 1.000000 1.000000 1.000000 srgb n -18.475000 11.017700 m -18.475000 15.067700 l -12.125000 15.067700 l -12.125000 11.017700 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -18.475000 11.017700 m -18.475000 15.067700 l -12.125000 15.067700 l -12.125000 11.017700 l cp s gsave -17.899267 12.842700 translate 0.035278 -0.035278 scale start_ol 1088 4160 moveto 576 4160 lineto 576 0 lineto 1088 0 lineto 1088 4160 lineto end_ol grestore gsave -17.687600 12.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -17.264267 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -17.094933 12.842700 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -16.883267 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -16.713933 12.842700 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -16.290600 12.842700 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -16.121267 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -15.951933 12.842700 translate 0.035278 -0.035278 scale start_ol 2501 3008 moveto 294 3008 lineto 294 2589 lineto 1942 2589 lineto 175 430 lineto 175 0 lineto 2580 0 lineto 2580 419 lineto 745 419 lineto 2501 2583 lineto 2501 3008 lineto end_ol grestore gsave -15.570933 12.842700 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave -15.147600 12.842700 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -14.935933 12.842700 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -14.766600 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -14.597267 12.842700 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave -14.173933 12.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -13.919933 12.842700 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -13.496600 12.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -13.242600 12.842700 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave -12.861600 12.842700 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave -17.962767 13.842700 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave -17.539433 13.842700 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -17.158433 13.842700 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -16.735100 13.842700 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -16.354100 13.842700 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -16.184767 13.842700 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave -15.761433 13.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -15.592100 13.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -15.168767 13.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -14.999433 13.842700 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -14.787767 13.842700 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave -14.533767 13.842700 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave -14.025767 13.842700 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -13.644767 13.842700 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -13.433100 13.842700 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave -13.052100 13.842700 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave -12.798100 13.842700 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n -12.125000 13.042700 m -10.486801 13.048328 l s [] 0 sd 0 slj 0 slc n -10.111803 13.049616 m -10.612659 13.297897 l -10.486801 13.048328 l -10.610941 12.797900 l ef n -10.111803 13.049616 m -10.612659 13.297897 l -10.486801 13.048328 l -10.610941 12.797900 l cp s 1.000000 1.000000 1.000000 srgb n 10.000000 9.000000 m 10.000000 17.100000 l 22.000000 17.100000 l 22.000000 9.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 10.000000 9.000000 m 10.000000 17.100000 l 22.000000 17.100000 l 22.000000 9.000000 l cp s gsave 12.935067 10.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2333 1792 lineto 2665 1792 2927 1888 3153 2085 curveto 3409 2311 3520 2576 3520 2953 curveto 3520 3726 3057 4160 2233 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2133 3689 lineto 2641 3689 2944 3417 2944 2965 curveto 2944 2512 2641 2240 2133 2240 curveto 1024 2240 lineto end_ol grestore gsave 13.443067 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 13.697067 10.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 14.120400 10.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 14.501400 10.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.924733 10.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 15.305733 10.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 15.686733 10.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.898400 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 16.533400 10.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 16.956733 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.380067 10.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 17.803400 10.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 18.226733 10.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 18.650067 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 18.904067 10.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 14.509867 12.350000 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 15.144867 12.350000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 15.568200 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 15.737533 12.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 15.949200 12.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 16.118533 12.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 16.541867 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 16.711200 12.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 17.134533 12.350000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 17.515533 12.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 13.303367 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 13.684367 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.107700 13.350000 translate 0.035278 -0.035278 scale start_ol 1609 0 moveto 2743 3008 lineto 2213 3008 lineto 1377 568 lineto 587 3008 lineto 56 3008 lineto 1095 0 lineto 1609 0 lineto end_ol grestore gsave 14.488700 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.912033 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 15.166033 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 15.589367 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 15.758700 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.970367 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 16.351367 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 16.520700 13.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 16.690033 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 17.113367 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.536700 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 17.748367 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 18.129367 13.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.341033 13.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.552700 13.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 15.191433 14.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 15.445433 14.350000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 16.038100 14.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 16.588433 14.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 13.235633 15.350000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 13.743633 15.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 14.124633 15.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 14.505633 15.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.928967 15.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 15.352300 15.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 15.563967 15.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.775633 15.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 15.944967 15.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 16.368300 15.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 16.749300 15.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 17.172633 15.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.807633 15.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 17.976967 15.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 18.400300 15.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 13.070533 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 13.451533 16.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 13.874867 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 14.128867 16.350000 translate 0.035278 -0.035278 scale start_ol 1609 0 moveto 2743 3008 lineto 2213 3008 lineto 1377 568 lineto 587 3008 lineto 56 3008 lineto 1095 0 lineto 1609 0 lineto end_ol grestore gsave 14.509867 16.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.933200 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 15.187200 16.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.398867 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 15.779867 16.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 16.203200 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.584200 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.965200 16.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 17.134533 16.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 17.557867 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.981200 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 18.362200 16.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.573867 16.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.785533 16.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 7.200000 13.050000 m 9.513197 13.050000 l s [] 0 sd 0 slj 0 slc n 9.888197 13.050000 m 9.388197 13.300000 l 9.513197 13.050000 l 9.388197 12.800000 l ef n 9.888197 13.050000 m 9.388197 13.300000 l 9.513197 13.050000 l 9.388197 12.800000 l cp s 1.000000 1.000000 1.000000 srgb n 24.000000 11.000000 m 24.000000 15.100000 l 30.750000 15.100000 l 30.750000 11.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 24.000000 11.000000 m 24.000000 15.100000 l 30.750000 15.100000 l 30.750000 11.000000 l cp s gsave 25.978000 12.850000 translate 0.035278 -0.035278 scale start_ol 3709 2852 moveto 3546 3731 3029 4160 2129 4160 curveto 1578 4160 1133 3991 830 3665 curveto 458 3272 256 2706 256 2064 curveto 256 1410 464 849 852 463 curveto 1167 147 1572 0 2107 0 curveto 3108 0 3670 525 3794 1581 curveto 3252 1581 lineto 3207 1313 3150 1131 3066 975 curveto 2896 653 2546 471 2106 471 curveto 1287 471 768 1093 768 2069 curveto 768 3072 1265 3689 2061 3689 curveto 2394 3689 2704 3592 2874 3442 curveto 3026 3308 3111 3142 3173 2852 curveto 3709 2852 lineto end_ol grestore gsave 26.528333 12.850000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 26.697667 12.850000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 27.121000 12.850000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 27.544333 12.850000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 27.967667 12.850000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 28.391000 12.850000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 24.500567 13.850000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 24.923900 13.850000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 25.304900 13.850000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.728233 13.850000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 26.109233 13.850000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 26.278567 13.850000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 26.701900 13.850000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 27.125233 13.850000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 27.548567 13.850000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 27.971900 13.850000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.395233 13.850000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 28.606900 13.850000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 28.860900 13.850000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 29.241900 13.850000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 29.453567 13.850000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 29.834567 13.850000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 30.088567 13.850000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 22.000000 13.050000 m 23.513197 13.050000 l s [] 0 sd 0 slj 0 slc n 23.888197 13.050000 m 23.388197 13.300000 l 23.513197 13.050000 l 23.388197 12.800000 l ef n 23.888197 13.050000 m 23.388197 13.300000 l 23.513197 13.050000 l 23.388197 12.800000 l cp s gsave -17.000000 9.000000 translate 0.035278 -0.035278 scale start_ol 7633 5752 moveto 7300 7521 6242 8384 4403 8384 curveto 3277 8384 2369 8044 1748 7385 curveto 990 6595 576 5454 576 4159 curveto 576 2842 1001 1712 1794 933 curveto 2438 296 3265 0 4357 0 curveto 6402 0 7551 1058 7804 3184 curveto 6705 3184 lineto 6613 2642 6499 2274 6327 1960 curveto 5983 1309 5273 941 4379 941 curveto 2718 941 1664 2198 1664 4170 curveto 1664 6197 2672 7443 4287 7443 curveto 4963 7443 5593 7248 5937 6944 curveto 6246 6673 6418 6337 6544 5752 curveto 7633 5752 lineto end_ol grestore gsave -15.907800 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave -15.061133 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave -14.214467 9.000000 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave -13.791133 9.000000 translate 0.035278 -0.035278 scale start_ol 768 6016 moveto 768 0 lineto 1728 0 lineto 1728 3026 lineto 1728 3860 1946 4405 2404 4728 curveto 2702 4939 2988 5006 3653 5006 curveto 3653 6016 lineto 3494 6016 3414 6016 3289 6016 curveto 2676 6016 2210 5654 1664 4772 curveto 1664 6016 lineto 768 6016 lineto end_ol grestore gsave -13.283133 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave -12.436467 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -12.097800 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -11.674467 9.000000 translate 0.035278 -0.035278 scale start_ol 2981 6016 moveto 1984 6016 lineto 1984 6945 lineto 1984 7342 2213 7546 2648 7546 curveto 2729 7546 2763 7546 2981 7546 curveto 2981 8327 lineto 2762 8373 2636 8384 2440 8384 curveto 1554 8384 1024 7884 1024 7032 curveto 1024 6016 lineto 222 6016 lineto 222 5235 lineto 1024 5235 lineto 1024 0 lineto 1984 0 lineto 1984 5235 lineto 2981 5235 lineto 2981 6016 lineto end_ol grestore gsave -11.251133 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -10.912467 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave -10.065800 9.000000 translate 0.035278 -0.035278 scale start_ol 6347 0 moveto 8111 6016 lineto 7034 6016 lineto 5843 1332 lineto 4663 6016 lineto 3494 6016 lineto 2348 1332 lineto 1123 6016 lineto 69 6016 lineto 1810 0 lineto 2887 0 lineto 4044 4719 lineto 5258 0 lineto 6347 0 lineto end_ol grestore gsave -8.973600 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -8.550267 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -8.211600 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave -7.364933 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave -6.602933 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -6.264267 9.000000 translate 0.035278 -0.035278 scale start_ol 5696 8384 moveto 4736 8384 lineto 4736 5089 lineto 4336 5696 3695 6016 2894 6016 curveto 1338 6016 320 4849 320 3062 curveto 320 1167 1293 0 2869 0 curveto 3674 0 4233 306 4736 1042 curveto 4736 0 lineto 5696 0 lineto 5696 8384 lineto 3068 5120 moveto 4089 5120 4736 4288 4736 2987 curveto 4736 1728 4078 896 3080 896 curveto 2036 896 1344 1739 1344 3008 curveto 1344 4277 2036 5120 3068 5120 curveto end_ol grestore gsave -5.417600 9.000000 translate 0.035278 -0.035278 scale start_ol 5727 2688 moveto 5727 3561 5660 4085 5493 4510 curveto 5113 5449 4220 6016 3127 6016 curveto 1497 6016 448 4817 448 2976 curveto 448 1135 1463 0 3103 0 curveto 4441 0 5367 723 5601 1936 curveto 4639 1936 lineto 4383 1245 3859 884 3113 884 curveto 2522 884 2021 1125 1709 1566 curveto 1486 1866 1408 2167 1408 2688 curveto 5727 2688 lineto 1408 3456 moveto 1408 4472 2084 5132 3046 5132 curveto 3985 5132 4707 4420 4707 3519 curveto 4707 3498 4707 3477 4696 3456 curveto 1408 3456 lineto end_ol grestore gsave -4.570933 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -4.147600 9.000000 translate 0.035278 -0.035278 scale start_ol 6162 827 moveto 6059 804 6013 804 5956 804 curveto 5623 804 5440 961 5440 1234 curveto 5440 4444 lineto 5440 5466 4613 6016 3043 6016 curveto 2118 6016 1352 5776 926 5351 curveto 634 5057 512 4730 512 4163 curveto 1762 4163 lineto 1841 4830 2272 5132 3155 5132 curveto 4004 5132 4480 4836 4480 4307 curveto 4480 4074 lineto 4480 3704 4240 3545 3485 3460 curveto 2136 3301 1930 3259 1564 3122 curveto 866 2857 512 2360 512 1640 curveto 512 635 1267 0 2479 0 curveto 3234 0 3840 263 4515 880 curveto 4584 274 4884 0 5506 0 curveto 5701 0 5851 23 6162 103 curveto 6162 827 lineto 4480 2036 moveto 4480 1745 4389 1567 4106 1328 curveto 3721 1005 3257 838 2702 838 curveto 1966 838 1536 1161 1536 1713 curveto 1536 2287 1955 2578 2963 2714 curveto 3959 2839 4163 2881 4480 3016 curveto 4480 2036 lineto end_ol grestore gsave -3.300933 9.000000 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -2.454267 9.000000 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -1.607600 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -1.268933 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -0.930267 9.000000 translate 0.035278 -0.035278 scale start_ol 5452 3945 moveto 5406 4498 5279 4856 5049 5170 curveto 4634 5702 3909 6016 3068 6016 curveto 1444 6016 384 4817 384 2954 curveto 384 1145 1421 0 3056 0 curveto 4496 0 5406 811 5521 2196 curveto 4558 2196 lineto 4398 1321 3905 884 3092 884 curveto 2038 884 1408 1665 1408 2956 curveto 1408 4320 2027 5132 3069 5132 curveto 3871 5132 4375 4705 4490 3945 curveto 5452 3945 lineto end_ol grestore gsave -0.168267 9.000000 translate 0.035278 -0.035278 scale start_ol 6162 827 moveto 6059 804 6013 804 5956 804 curveto 5623 804 5440 961 5440 1234 curveto 5440 4444 lineto 5440 5466 4613 6016 3043 6016 curveto 2118 6016 1352 5776 926 5351 curveto 634 5057 512 4730 512 4163 curveto 1762 4163 lineto 1841 4830 2272 5132 3155 5132 curveto 4004 5132 4480 4836 4480 4307 curveto 4480 4074 lineto 4480 3704 4240 3545 3485 3460 curveto 2136 3301 1930 3259 1564 3122 curveto 866 2857 512 2360 512 1640 curveto 512 635 1267 0 2479 0 curveto 3234 0 3840 263 4515 880 curveto 4584 274 4884 0 5506 0 curveto 5701 0 5851 23 6162 103 curveto 6162 827 lineto 4480 2036 moveto 4480 1745 4389 1567 4106 1328 curveto 3721 1005 3257 838 2702 838 curveto 1966 838 1536 1161 1536 1713 curveto 1536 2287 1955 2578 2963 2714 curveto 3959 2839 4163 2881 4480 3016 curveto 4480 2036 lineto end_ol grestore gsave 0.678400 9.000000 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave 1.101733 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave 1.440400 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 2.287067 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n -10.000000 11.000000 m -10.000000 15.100000 l 7.200000 15.100000 l 7.200000 11.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -10.000000 11.000000 m -10.000000 15.100000 l 7.200000 15.100000 l 7.200000 11.000000 l cp s gsave -4.210933 12.350000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave -3.702933 12.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave -3.279600 12.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave -2.856267 12.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -2.475267 12.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -2.305933 12.350000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave -2.094267 12.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave -1.713267 12.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -1.501600 12.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -1.120600 12.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -0.697267 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -0.527933 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -0.358600 12.350000 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave 0.064733 12.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 0.488067 12.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 0.869067 12.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 1.250067 12.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave -6.962600 13.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave -6.539267 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -6.158267 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -5.734933 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -5.353933 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -5.184600 13.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave -4.761267 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -4.380267 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -3.956933 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -3.787600 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -3.618267 13.350000 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave -3.194933 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -2.771600 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -2.390600 13.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave -2.009600 13.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave -1.586267 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -1.205267 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave -0.781933 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -0.570267 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -0.358600 13.350000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave -0.104600 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 0.276400 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 0.488067 13.350000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 0.869067 13.350000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 1.080733 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 1.292400 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 1.927400 13.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 2.308400 13.350000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 2.520067 13.350000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 2.943400 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 3.366733 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 3.747733 13.350000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 4.001733 13.350000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave -1.683633 14.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave -1.471967 14.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave -1.260300 14.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 16.000000 17.100000 m 15.500000 22.100000 3.000000 17.000000 5.782295 22.564590 c s [] 0 sd 0 slj 0 slc n 5.950000 22.900000 m 5.502786 22.564590 l 5.782295 22.564590 l 5.950000 22.340983 l ef n 5.950000 22.900000 m 5.502786 22.564590 l 5.782295 22.564590 l 5.950000 22.340983 l cp s gsave 7.000000 21.000000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 7.211667 21.000000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 7.635000 21.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 7.889000 21.000000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 8.270000 21.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 8.524000 21.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 8.778000 21.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 7.000000 22.000000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 7.423333 22.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 7.635000 22.000000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 8.058333 22.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 8.312333 22.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 8.735667 22.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 9.159000 22.000000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 9.582333 22.000000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 10.005667 22.000000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 10.386667 22.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 10.640667 22.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 11.064000 22.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 11.487333 22.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 11.699000 22.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 12.122333 22.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 12.376333 22.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 12.630333 22.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 7.000000 23.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 7.211667 23.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 7.423333 23.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 22.000000 11.025000 m 30.350000 6.375000 2.550000 6.275000 9.589530 10.763291 c s [] 0 sd 0 slj 0 slc n 9.905728 10.964894 m 9.349728 10.906889 l 9.589530 10.763291 l 9.618532 10.485291 l ef n 9.905728 10.964894 m 9.349728 10.906889 l 9.589530 10.763291 l 9.618532 10.485291 l cp s showpage %%EndDocument @endspecial 275 2369 a(The)27 b(third)h(step)g(ma)m(y)h(lo)s(ok)g (complex,)g(but)f(for)g(a)g(simple)h(clien)m(t)g(it)g(will)g(actually)h (not)e(in)m(v)m(olv)m(e)j(an)m(y)150 2479 y(co)s(de.)41 b(If)29 b(y)m(our)h(application)i(needs)d(to)i(handle)f(sev)m(eral)h (concurren)m(t)f(clien)m(ts,)i(or)e(if)g(it)h(is)f(a)g(serv)m(er)g (that)150 2588 y(needs)g(to)h(serv)m(e)g(man)m(y)g(clien)m(ts)g(sim)m (ultaneous,)h(things)e(do)g(get)i(a)e(bit)h(more)f(complicated.)275 2738 y(F)-8 b(or)39 b(illustration,)i(w)m(e)e(will)g(write)f(a)h (simple)g(clien)m(t.)66 b(W)-8 b(riting)39 b(a)g(serv)m(er)g(w)m(ould)f (b)s(e)g(similar,)j(the)150 2848 y(only)34 b(di\013erence)h(is)g(that,) h(later)f(on,)g(instead)g(of)f(supplying)g(a)g(username)g(and)g(passw)m (ord,)h(y)m(ou)f(need)150 2958 y(to)e(decide)f(whether)g(someone)h (should)e(b)s(e)h(allo)m(w)m(ed)i(to)f(log)g(in)f(or)g(not.)43 b(The)31 b(co)s(de)g(for)g(what)g(w)m(e)h(ha)m(v)m(e)150 3067 y(discussed)39 b(so)i(far)f(mak)m(e)h(up)e(the)h Fo(main)f Fu(function)h(in)g(our)g(clien)m(t)i(\(see)f(Section)g(13.1)g ([Example)g(1],)150 3177 y(page)31 b(52\):)390 3327 y Fo(int)47 b(main)g(\(int)f(argc,)h(char)f(*argv[]\))390 3436 y({)485 3546 y(Gsasl)h(*ctx)f(=)i(NULL;)485 3656 y(int)f(rc;)485 3875 y(if)h(\(\(rc)e(=)i(gsasl_init)d(\(&ctx\)\))h(!=)h (GSASL_OK\))581 3984 y({)676 4094 y(printf)f(\("Cannot)g(initialize)f (libgsasl)h(\(\045d\):)g(\045s",)1058 4204 y(rc,)h(gsasl_strerror)d (\(rc\)\);)676 4313 y(return)i(1;)581 4423 y(})485 4642 y(client)h(\(ctx\);)485 4861 y(gsasl_done)e(\(ctx\);)485 5080 y(return)i(0;)390 5190 y(})275 5340 y Fu(Here,)31 b(the)f(call)i(to)f(the)g(function)f Fo(client)e Fu(corresp)s(ond)h(to) j(the)e(third)g(step)g(in)g(the)h(image)g(ab)s(o)m(v)m(e.)p eop end %%Page: 16 20 TeXDict begin 16 19 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Using)30 b(the)h(Library)2334 b(16)275 299 y(F)-8 b(or)25 b(a)g(more)g(complicated)h(application,)i(ha)m(ving)d(sev)m(eral)h (clien)m(ts)g(running)d(sim)m(ultaneous,)k(instead)150 408 y(of)d(a)g(simple)g(call)h(to)g Fo(client)p Fu(,)f(it)g(ma)m(y)h (ha)m(v)m(e)g(created)g(new)e(threads)h(for)f(eac)m(h)j(session,)f(and) e(call)j Fo(client)150 518 y Fu(within)k(eac)m(h)h(thread.)41 b(The)30 b(library)g(is)g(thread)g(safe.)275 645 y(An)37 b(actual)j(authen)m(tication)g(session)e(is)g(more)h(complicated)h (than)d(what)h(w)m(e)h(ha)m(v)m(e)g(seen)g(so)f(far.)150 754 y(These)d(are)g(the)h(steps:)50 b(decide)36 b(whic)m(h)e(mec)m (hanism)i(to)g(use,)g(start)g(the)f(session,)i(optionally)f(sp)s(ecify) 150 864 y(the)c(callbac)m(k,)h(optionally)g(set)f(an)m(y)g(prop)s (erties,)f(p)s(erform)f(the)h(authen)m(tication)j(lo)s(op,)e(and)e (clean)j(up.)150 974 y(Naturally)-8 b(,)33 b(y)m(our)e(application)i (will)e(start)h(to)g(talk)g(its)g(o)m(wn)f(proto)s(col)h(\(e.g.,)h (SMTP)e(or)g(IMAP\))g(after)150 1083 y(these)g(steps)f(ha)m(v)m(e)i (concluded.)275 1210 y(The)j(authen)m(tication)i(lo)s(op)f(is)g(based)f (on)g(sending)g(tok)m(ens)i(\(t)m(ypically)g(short)f(messages)g(enco)s (ded)150 1320 y(in)30 b(base)h(64\))h(bac)m(k)g(and)e(forth)h(b)s(et)m (w)m(een)g(the)g(clien)m(t)h(and)f(serv)m(er.)42 b(It)31 b(con)m(tin)m(ues)h(un)m(til)f(authen)m(tication)150 1429 y(succeeds)44 b(or)f(an)g(error)g(o)s(ccurs.)80 b(The)43 b(format)g(of)h(the)f(data)h(to)h(b)s(e)d(transferred,)k(the)e (n)m(um)m(b)s(er)e(of)150 1539 y(iterations)34 b(in)f(the)g(lo)s(op,)h (and)e(other)i(details)g(are)f(sp)s(eci\014ed)f(b)m(y)h(eac)m(h)h(mec)m (hanism.)49 b(The)32 b(goal)j(of)e(the)150 1648 y(library)d(is)g(to)h (isolate)i(y)m(our)d(application)i(from)e(the)g(details)i(of)e(all)h (di\013eren)m(t)g(mec)m(hanisms.)275 1775 y(Note)g(that)f(the)g (library)f(do)s(es)g(not)h(send)f(data)i(to)f(the)g(serv)m(er)g (itself,)h(but)e(returns)f(it)j(in)e(an)h(bu\013er.)150 1885 y(Y)-8 b(ou)32 b(m)m(ust)f(send)f(it)i(to)g(the)f(serv)m(er,)h (follo)m(wing)g(an)f(application)i(proto)s(col)f(pro\014le.)43 b(F)-8 b(or)31 b(example,)i(the)150 1994 y(SASL)c(application)j(proto)s (col)f(pro\014le)f(for)g(SMTP)g(is)h(describ)s(ed)e(in)h(RF)m(C)h (2554.)275 2121 y(The)e(follo)m(wing)j(image)g(illustrates)f(the)g (steps)f(w)m(e)h(ha)m(v)m(e)h(b)s(een)d(talking)j(ab)s(out.)150 5052 y @beginspecial 0 @llx 0 @lly 1471 @urx 1168 @ury 4535 @rwi 3401 @rhi @setspecial %%BeginDocument: controlflow2.eps %!PS-Adobe-2.0 EPSF-2.0 %%Title: doc/controlflow2.dia %%Creator: Dia v0.94 %%CreationDate: Sun Oct 31 20:57:09 2004 %%For: jas %%Orientation: Portrait %%Magnification: 1.0000 %%BoundingBox: 0 0 1471 1168 %%BeginSetup %%EndSetup %%EndComments %%BeginProlog [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /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 /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /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 /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def /cp {closepath} bind def /c {curveto} bind def /f {fill} bind def /a {arc} bind def /ef {eofill} bind def /ex {exch} bind def /gr {grestore} bind def /gs {gsave} bind def /sa {save} bind def /rs {restore} bind def /l {lineto} bind def /m {moveto} bind def /rm {rmoveto} bind def /n {newpath} bind def /s {stroke} bind def /sh {show} bind def /slc {setlinecap} bind def /slj {setlinejoin} bind def /slw {setlinewidth} bind def /srgb {setrgbcolor} bind def /rot {rotate} bind def /sc {scale} bind def /sd {setdash} bind def /ff {findfont} bind def /sf {setfont} bind def /scf {scalefont} bind def /sw {stringwidth pop} bind def /tr {translate} bind def /ellipsedict 8 dict def ellipsedict /mtrx matrix put /ellipse { ellipsedict begin /endangle exch def /startangle exch def /yrad exch def /xrad exch def /y exch def /x exch def /savematrix mtrx currentmatrix def x y tr xrad yrad sc 0 0 1 startangle endangle arc savematrix setmatrix end } def /mergeprocs { dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /dpi_x 300 def /dpi_y 300 def /conicto { /to_y exch def /to_x exch def /conic_cntrl_y exch def /conic_cntrl_x exch def currentpoint /p0_y exch def /p0_x exch def /p1_x p0_x conic_cntrl_x p0_x sub 2 3 div mul add def /p1_y p0_y conic_cntrl_y p0_y sub 2 3 div mul add def /p2_x p1_x to_x p0_x sub 1 3 div mul add def /p2_y p1_y to_y p0_y sub 1 3 div mul add def p1_x p1_y p2_x p2_y to_x to_y curveto } bind def /start_ol { gsave 1.1 dpi_x div dup scale} bind def /end_ol { closepath fill grestore } bind def 28.346000 -28.346000 scale -11.669791 -45.329295 translate %%EndProlog 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc 1.000000 1.000000 1.000000 srgb n 35.807000 4.179270 m 50.607000 4.179270 88.447700 42.279300 38.507000 42.279300 c -11.433700 42.279300 21.007000 4.179270 35.807000 4.179270 c ef 0.000000 0.000000 0.000000 srgb n 35.807000 4.179270 m 50.607000 4.179270 88.447700 42.279300 38.507000 42.279300 c -11.433700 42.279300 21.007000 4.179270 35.807000 4.179270 c s 1.000000 1.000000 1.000000 srgb n 18.400000 16.400000 m 18.400000 21.500000 l 34.400000 21.500000 l 34.400000 16.400000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 18.400000 16.400000 m 18.400000 21.500000 l 34.400000 21.500000 l 34.400000 16.400000 l cp s gsave 20.795067 17.750000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 21.303067 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 21.514733 17.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 21.938067 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.192067 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 22.403733 17.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 22.615400 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.038733 17.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.462067 17.750000 translate 0.035278 -0.035278 scale start_ol 3127 0 moveto 3997 3008 lineto 3466 3008 lineto 2879 666 lineto 2297 3008 lineto 1722 3008 lineto 1157 666 lineto 553 3008 lineto 34 3008 lineto 892 0 lineto 1422 0 lineto 1993 2359 lineto 2591 0 lineto 3127 0 lineto end_ol grestore gsave 24.012400 17.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.224067 17.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 24.647400 17.750000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 25.070733 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.282400 17.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 25.705733 17.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 26.129067 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 26.552400 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 26.764067 17.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 26.933400 17.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 27.314400 17.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 27.737733 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 27.949400 17.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 28.118733 17.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 28.542067 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.965400 17.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.177067 17.750000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 29.600400 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 29.854400 17.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 30.277733 17.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 30.658733 17.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 31.082067 17.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.463067 17.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.844067 17.750000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 19.630900 18.750000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 20.054233 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 20.435233 18.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 20.858567 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 21.239567 18.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 21.408900 18.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 21.832233 18.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 22.213233 18.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 22.382567 18.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 22.551900 18.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 22.975233 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.398567 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 23.610233 18.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 24.033567 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 24.414567 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 24.626233 18.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.049567 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 25.303567 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.515233 18.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.726900 18.750000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 25.980900 18.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 26.361900 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 26.573567 18.750000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 26.954567 18.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 27.166233 18.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.377900 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.012900 18.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.436233 18.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 28.817233 18.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.240567 18.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 29.452233 18.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.663900 18.750000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 30.171900 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.552900 18.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 30.976233 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.357233 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.738233 18.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 31.907567 18.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.330900 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.754233 18.750000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.008233 18.750000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave 25.591433 19.750000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 25.845433 19.750000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 26.438100 19.750000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 26.988433 19.750000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 19.461567 20.750000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 19.884900 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 20.265900 20.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 20.689233 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 21.070233 20.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 21.239567 20.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 21.662900 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 22.043900 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 22.467233 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.721233 20.750000 translate 0.035278 -0.035278 scale start_ol 1609 0 moveto 2743 3008 lineto 2213 3008 lineto 1377 568 lineto 587 3008 lineto 56 3008 lineto 1095 0 lineto 1609 0 lineto end_ol grestore gsave 23.102233 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.525567 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.779567 20.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 24.202900 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 24.583900 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 24.795567 20.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.218900 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 25.472900 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.684567 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.896233 20.750000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 26.150233 20.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 26.531233 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 26.742900 20.750000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 27.123900 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 27.335567 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.547233 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.182233 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.605567 20.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 28.986567 20.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.409900 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 29.621567 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.833233 20.750000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 30.341233 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.722233 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 31.145567 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.526567 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.907567 20.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 32.076900 20.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.500233 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.923567 20.750000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.177567 20.750000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 22.400000 11.600000 m 22.400000 14.700000 l 34.600000 14.700000 l 34.600000 11.600000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 22.400000 11.600000 m 22.400000 14.700000 l 34.600000 14.700000 l 34.600000 11.600000 l cp s gsave 22.958567 12.950000 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 23.508900 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.932233 12.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 24.313233 12.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 24.482567 12.950000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 24.905900 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 25.329233 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.540900 12.950000 translate 0.035278 -0.035278 scale start_ol 3127 0 moveto 3997 3008 lineto 3466 3008 lineto 2879 666 lineto 2297 3008 lineto 1722 3008 lineto 1157 666 lineto 553 3008 lineto 34 3008 lineto 892 0 lineto 1422 0 lineto 1993 2359 lineto 2591 0 lineto 3127 0 lineto end_ol grestore gsave 26.091233 12.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 26.514567 12.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 26.683900 12.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 27.064900 12.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 27.488233 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.699900 12.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.334900 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.758233 12.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 29.139233 12.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.562567 12.950000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 29.985900 12.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 30.409233 12.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 30.578567 12.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.959567 12.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 31.594567 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.806233 12.950000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 32.017900 12.950000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.441233 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 32.652900 12.950000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 33.076233 12.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 33.457233 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 33.880567 12.950000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 22.903533 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.538533 13.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.961867 13.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 24.342867 13.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 24.766200 13.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.977867 13.950000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 25.426600 13.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.638267 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 26.273267 13.950000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 26.654267 13.950000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 27.077600 13.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 27.458600 13.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 27.881933 13.950000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 28.305267 13.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 28.686267 13.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 29.109600 13.950000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 29.532933 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 30.167933 13.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 30.591267 13.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 30.972267 13.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 31.395600 13.950000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 31.818933 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.242267 13.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 32.411600 13.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 32.792600 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 33.427600 13.950000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 33.681600 13.950000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.935600 13.950000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 25.450000 14.700000 m 26.162527 15.975048 l s [] 0 sd 0 slj 0 slc n 26.345460 16.302402 m 25.883313 15.987886 l 26.162527 15.975048 l 26.319785 15.743975 l ef n 26.345460 16.302402 m 25.883313 15.987886 l 26.162527 15.975048 l 26.319785 15.743975 l cp s 1.000000 1.000000 1.000000 srgb n 41.750000 18.400000 m 41.750000 21.500000 l 55.000000 21.500000 l 55.000000 18.400000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 41.750000 18.400000 m 41.750000 21.500000 l 55.000000 21.500000 l 55.000000 18.400000 l cp s gsave 43.214567 19.750000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 43.807233 19.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 44.230567 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.653900 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.865567 19.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.246567 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 45.458233 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 45.881567 19.750000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 46.304900 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 46.516567 19.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 46.939900 19.750000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 47.151567 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 47.363233 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 47.574900 19.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 47.998233 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 48.421567 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 48.633233 19.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 49.056567 19.750000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 49.479900 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 49.691567 19.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 50.114900 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 50.538233 19.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 50.961567 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 51.173233 19.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.342567 19.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 51.723567 19.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 52.146900 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 52.358567 19.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 52.527900 19.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 52.951233 19.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 53.374567 19.750000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 42.143533 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 42.397533 20.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 42.778533 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 42.990200 20.750000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 43.438933 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 43.650600 20.750000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 44.073933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 44.454933 20.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 44.878267 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.259267 20.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 45.428600 20.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 45.851933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 46.232933 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 46.444600 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 46.867933 20.750000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 47.291267 20.750000 translate 0.035278 -0.035278 scale start_ol 2741 2887 moveto 2648 3565 2233 3968 1643 3968 curveto 1217 3968 835 3762 606 3421 curveto 365 3046 256 2575 256 1876 curveto 256 1231 354 819 583 477 curveto 790 168 1127 0 1552 0 curveto 2288 0 2816 552 2816 1319 curveto 2816 2047 2316 2560 1610 2560 curveto 1221 2560 915 2405 704 2107 curveto 704 3016 1026 3520 1607 3520 curveto 1964 3520 2211 3289 2292 2887 curveto 2741 2887 lineto 1562 2112 moveto 2059 2112 2368 1793 2368 1280 curveto 2368 799 2018 448 1545 448 curveto 1066 448 704 815 704 1307 curveto 704 1782 1054 2112 1562 2112 curveto end_ol grestore gsave 47.714600 20.750000 translate 0.035278 -0.035278 scale start_ol 1856 960 moveto 1856 0 lineto 2304 0 lineto 2304 960 lineto 2897 960 lineto 2897 1408 lineto 2304 1408 lineto 2304 3968 lineto 1973 3968 lineto 168 1486 lineto 168 960 lineto 1856 960 lineto 1856 1408 moveto 603 1408 lineto 1856 3133 lineto 1856 1408 lineto end_ol grestore gsave 48.137933 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 48.349600 20.750000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 48.603600 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 48.984600 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 49.407933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 49.788933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 50.169933 20.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 50.339267 20.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 50.762600 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.185933 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 51.397600 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 51.609267 20.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.778600 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.201933 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 52.413600 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 52.625267 20.750000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 53.133267 20.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 53.556600 20.750000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 53.979933 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 54.191600 20.750000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 54.445600 20.750000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 26.400000 21.500000 m 24.973973 22.688356 l s [] 0 sd 0 slj 0 slc n 24.685890 22.928425 m 24.909954 22.416278 l 24.973973 22.688356 l 25.230046 22.800388 l ef n 24.685890 22.928425 m 24.909954 22.416278 l 24.973973 22.688356 l 25.230046 22.800388 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc n 51.687500 21.500000 m 53.602234 22.564550 l s [] 0 sd 0 slj 0 slc n 53.929984 22.746772 m 53.371502 22.722309 l 53.602234 22.564550 l 53.614465 22.285309 l ef n 53.929984 22.746772 m 53.371502 22.722309 l 53.602234 22.564550 l 53.614465 22.285309 l cp s 1.000000 1.000000 1.000000 srgb n 52.861490 27.613600 m 57.231481 31.294216 l 52.861490 34.974832 l 48.491500 31.294216 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 52.861490 27.613600 m 57.231481 31.294216 l 52.861490 34.974832 l 48.491500 31.294216 l cp s gsave 50.478124 31.094216 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 50.986124 31.094216 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 51.409457 31.094216 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 51.621124 31.094216 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 52.044457 31.094216 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 52.467790 31.094216 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.891124 31.094216 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 53.102790 31.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 53.272124 31.094216 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 53.653124 31.094216 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 54.076457 31.094216 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 54.288124 31.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 54.457457 31.094216 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 54.880790 31.094216 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.362890 32.094216 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 51.574557 32.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.743890 32.094216 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.167224 32.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 52.336557 32.094216 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 52.717557 32.094216 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 53.140890 32.094216 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 53.564224 32.094216 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 53.987557 32.094216 translate 0.035278 -0.035278 scale start_ol 1792 1114 moveto 1792 1377 lineto 1792 1624 1855 1720 2244 2074 curveto 2673 2456 2816 2709 2816 3081 curveto 2816 3738 2361 4160 1648 4160 curveto 859 4160 448 3708 448 2839 curveto 896 2839 lineto 896 3096 925 3253 993 3387 curveto 1102 3594 1331 3712 1635 3712 curveto 2076 3712 2368 3454 2368 3074 curveto 2368 2816 2242 2598 1939 2335 curveto 1601 2038 1601 2038 1504 1909 curveto 1384 1752 1344 1624 1344 1422 curveto 1344 1114 lineto 1792 1114 lineto 1792 582 moveto 1344 582 lineto 1344 0 lineto 1792 0 lineto 1792 582 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 36.989110 26.100000 m 41.178220 29.214243 l 36.989110 32.328485 l 32.800000 29.214243 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 36.989110 26.100000 m 41.178220 29.214243 l 36.989110 32.328485 l 32.800000 29.214243 l cp s gsave 36.108577 28.514243 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 36.658910 28.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.082243 28.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.505577 28.514243 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 35.706410 29.514243 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 36.129743 29.514243 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 36.553077 29.514243 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 36.976410 29.514243 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 37.188077 29.514243 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 37.611410 29.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 38.034743 29.514243 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.871510 30.514243 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 36.083177 30.514243 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 36.506510 30.514243 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 36.887510 30.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.310843 30.514243 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 37.734177 30.514243 translate 0.035278 -0.035278 scale start_ol 1792 1114 moveto 1792 1377 lineto 1792 1624 1855 1720 2244 2074 curveto 2673 2456 2816 2709 2816 3081 curveto 2816 3738 2361 4160 1648 4160 curveto 859 4160 448 3708 448 2839 curveto 896 2839 lineto 896 3096 925 3253 993 3387 curveto 1102 3594 1331 3712 1635 3712 curveto 2076 3712 2368 3454 2368 3074 curveto 2368 2816 2242 2598 1939 2335 curveto 1601 2038 1601 2038 1504 1909 curveto 1384 1752 1344 1624 1344 1422 curveto 1344 1114 lineto 1792 1114 lineto 1792 582 moveto 1344 582 lineto 1344 0 lineto 1792 0 lineto 1792 582 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 48.491500 31.294200 m 41.646434 29.347372 l s [] 0 sd 0 slj 0 slc n 41.285739 29.244785 m 41.835056 29.141104 l 41.646434 29.347372 l 41.698274 29.622031 l ef n 41.285739 29.244785 m 41.835056 29.141104 l 41.646434 29.347372 l 41.698274 29.622031 l cp s gsave 51.657800 35.988000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.911800 35.988000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 52.292800 35.988000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 52.504467 35.988000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 52.953200 35.988000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 53.401933 35.988000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 53.613600 35.988000 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 54.206267 35.988000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 54.714267 35.988000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 55.222267 35.988000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 55.730267 35.988000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 56.153600 35.988000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 56.576933 35.988000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 57.169600 35.988000 translate 0.035278 -0.035278 scale start_ol 960 1455 moveto 1632 2134 lineto 3082 0 lineto 3703 0 lineto 2010 2465 lineto 3686 4160 lineto 3009 4160 lineto 960 2054 lineto 960 4160 lineto 448 4160 lineto 448 0 lineto 960 0 lineto 960 1455 lineto end_ol grestore gsave 43.204000 29.501100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 43.458000 29.501100 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 43.839000 29.501100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.050667 29.501100 translate 0.035278 -0.035278 scale start_ol 1152 4160 moveto 704 4160 lineto 704 2231 lineto 823 959 lineto 1033 959 lineto 1152 2231 lineto 1152 4160 lineto 1152 593 moveto 704 593 lineto 704 0 lineto 1152 0 lineto 1152 593 lineto end_ol grestore gsave 44.262333 29.501100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 44.711067 29.501100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.922733 29.501100 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 45.515400 29.501100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 46.023400 29.501100 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 46.531400 29.501100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 47.039400 29.501100 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 47.462733 29.501100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 47.886067 29.501100 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 48.478733 29.501100 translate 0.035278 -0.035278 scale start_ol 960 1455 moveto 1632 2134 lineto 3082 0 lineto 3703 0 lineto 2010 2465 lineto 3686 4160 lineto 3009 4160 lineto 960 2054 lineto 960 4160 lineto 448 4160 lineto 448 0 lineto 960 0 lineto 960 1455 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 43.300000 36.300000 m 43.300000 39.400000 l 54.100000 39.400000 l 54.100000 36.300000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 43.300000 36.300000 m 43.300000 39.400000 l 54.100000 39.400000 l 54.100000 36.300000 l cp s gsave 43.687733 37.650000 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 2988 1920 lineto 2988 2368 lineto 1024 2368 lineto 1024 3689 lineto 3259 3689 lineto 3259 4160 lineto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1920 lineto end_ol grestore gsave 44.153400 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 44.322733 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 44.746067 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 44.915400 37.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.296400 37.650000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 45.719733 37.650000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 45.931400 37.650000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 46.354733 37.650000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 46.778067 37.650000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 46.989733 37.650000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 47.413067 37.650000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 47.836400 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 48.259733 37.650000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 48.471400 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 48.640733 37.650000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 49.021733 37.650000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 49.445067 37.650000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 49.656733 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 49.826067 37.650000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 50.249400 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 50.672733 37.650000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 50.884400 37.650000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 51.307733 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.561733 37.650000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 51.985067 37.650000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 52.366067 37.650000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 52.789400 37.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 53.170400 37.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 53.551400 37.650000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 44.978900 38.650000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 45.402233 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.783233 38.650000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 46.206567 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 46.587567 38.650000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 46.756900 38.650000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 47.180233 38.650000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 47.391900 38.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 47.561233 38.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 47.984567 38.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 48.153900 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 48.534900 38.650000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 48.958233 38.650000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 49.169900 38.650000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 49.423900 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 49.804900 38.650000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 50.228233 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 50.609233 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 50.990233 38.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.159567 38.650000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 51.582900 38.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.006233 38.650000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 52.260233 38.650000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 52.861500 34.974800 m 49.163853 36.152289 l s [] 0 sd 0 slj 0 slc n 48.806532 36.266076 m 49.207102 35.876147 l 49.163853 36.152289 l 49.358817 36.352574 l ef n 48.806532 36.266076 m 49.207102 35.876147 l 49.163853 36.152289 l 49.358817 36.352574 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc n 36.989100 32.328500 m 29.829055 34.744368 l s [] 0 sd 0 slj 0 slc n 29.473736 34.864256 m 29.867569 34.467526 l 29.829055 34.744368 l 30.027420 34.941285 l ef n 29.473736 34.864256 m 29.867569 34.467526 l 29.829055 34.744368 l 30.027420 34.941285 l cp s gsave 24.454000 33.051100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 24.708000 33.051100 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 25.089000 33.051100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.300667 33.051100 translate 0.035278 -0.035278 scale start_ol 1152 4160 moveto 704 4160 lineto 704 2231 lineto 823 959 lineto 1033 959 lineto 1152 2231 lineto 1152 4160 lineto 1152 593 moveto 704 593 lineto 704 0 lineto 1152 0 lineto 1152 593 lineto end_ol grestore gsave 25.512333 33.051100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 25.961067 33.051100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 26.172733 33.051100 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 26.765400 33.051100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 27.273400 33.051100 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 27.781400 33.051100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 28.289400 33.051100 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 28.712733 33.051100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 29.136067 33.051100 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 29.686400 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 30.194400 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 30.702400 33.051100 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 31.252733 33.051100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 31.760733 33.051100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 32.184067 33.051100 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 32.819067 33.051100 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 33.411733 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 33.962067 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 40.428348 12.000000 m 50.284229 12.000000 l 48.427981 17.100000 l 38.572100 17.100000 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 40.428348 12.000000 m 50.284229 12.000000 l 48.427981 17.100000 l 38.572100 17.100000 l cp s gsave 40.664731 13.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 41.215065 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 41.638398 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 42.061731 13.350000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 42.485065 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 42.696731 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 42.908398 13.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 43.331731 13.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 43.712731 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.136065 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 44.559398 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.771065 13.350000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 44.982731 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 45.236731 13.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 45.660065 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 46.295065 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 46.506731 13.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 46.930065 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 47.353398 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 47.776731 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 48.030731 13.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 41.744231 14.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 41.998231 14.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 42.421565 14.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 42.844898 14.350000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 43.268231 14.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 43.479898 14.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 43.903231 14.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 44.284231 14.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.707565 14.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 45.130898 14.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 45.342565 14.350000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 45.596565 14.350000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 46.104565 14.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 46.273898 14.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 46.697231 14.350000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 46.951231 14.350000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave 43.619598 15.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 43.873598 15.350000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 44.466265 15.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 45.016598 15.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 42.734831 16.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 42.904165 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 43.327498 16.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 43.539165 16.350000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 43.987898 16.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.199565 16.350000 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 44.749898 16.350000 translate 0.035278 -0.035278 scale start_ol 3136 4160 moveto 3136 1341 lineto 3136 801 2735 471 2074 471 curveto 1769 471 1521 543 1323 680 curveto 1120 834 1024 1038 1024 1341 curveto 1024 4160 lineto 512 4160 lineto 512 1328 lineto 512 509 1106 0 2074 0 curveto 3032 0 3648 520 3648 1328 curveto 3648 4160 lineto 3136 4160 lineto end_ol grestore gsave 45.300231 16.350000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 45.723565 16.350000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 49.938708 22.801100 m 58.116648 22.801100 l 56.988340 25.901100 l 48.810400 25.901100 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 49.938708 22.801100 m 58.116648 22.801100 l 56.988340 25.901100 l 48.810400 25.901100 l cp s gsave 50.165757 24.151100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 50.673757 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 51.097091 24.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.520424 24.151100 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 51.943757 24.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 52.155424 24.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 52.367091 24.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 52.790424 24.151100 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 53.171424 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 53.594757 24.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 54.018091 24.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 54.229757 24.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 54.441424 24.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 54.864757 24.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 55.076424 24.151100 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 55.499757 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 55.923091 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 56.346424 24.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 56.600424 24.151100 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 50.737257 25.151100 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 51.118257 25.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 51.541591 25.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.964924 25.151100 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 52.388257 25.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 52.599924 25.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 53.023257 25.151100 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 53.404257 25.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 53.827591 25.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 54.250924 25.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 54.462591 25.151100 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 54.716591 25.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 55.139924 25.151100 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 55.563257 25.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 55.774924 25.151100 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 56.028924 25.151100 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 52.899400 25.901100 m 52.872271 27.126916 l s [] 0 sd 0 slj 0 slc n 52.863974 27.501824 m 52.625098 26.996415 l 52.872271 27.126916 l 53.124976 27.007478 l ef n 52.863974 27.501824 m 52.625098 26.996415 l 52.872271 27.126916 l 53.124976 27.007478 l cp s gsave 38.104000 24.951100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 38.358000 24.951100 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 38.739000 24.951100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 38.950667 24.951100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 39.399400 24.951100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 39.848133 24.951100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 40.059800 24.951100 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 40.652467 24.951100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 41.160467 24.951100 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 41.668467 24.951100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 42.176467 24.951100 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 42.599800 24.951100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 43.023133 24.951100 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 43.573467 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 44.081467 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 44.589467 24.951100 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 45.139800 24.951100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 45.647800 24.951100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 46.071133 24.951100 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 46.706133 24.951100 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 47.298800 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 47.849133 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 15.000000 23.000000 m 15.000000 26.100000 l 34.200000 26.100000 l 34.200000 23.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 15.000000 23.000000 m 15.000000 26.100000 l 34.200000 26.100000 l 34.200000 23.000000 l cp s gsave 20.413233 24.350000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 21.005900 24.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 21.429233 24.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 21.640900 24.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 21.810233 24.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 22.233567 24.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.656900 24.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 23.080233 24.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 23.249567 24.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 23.418900 24.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 23.799900 24.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.011567 24.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 24.392567 24.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 24.815900 24.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.027567 24.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.239233 24.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 25.662567 24.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 25.916567 24.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 26.339900 24.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 26.763233 24.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 27.186567 24.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 27.440567 24.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 27.652233 24.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 27.821567 24.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.244900 24.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 28.625900 24.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 15.316300 25.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 15.739633 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.120633 25.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 16.543967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.924967 25.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 17.094300 25.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 17.517633 25.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 17.940967 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 18.194967 25.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 18.618300 25.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 19.041633 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 19.464967 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 19.718967 25.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 19.930633 25.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 20.311633 25.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 20.734967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 21.115967 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 21.539300 25.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 21.750967 25.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.962633 25.350000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 22.216633 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 22.597633 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.020967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 23.401967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 23.782967 25.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 23.952300 25.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 24.375633 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 24.798967 25.350000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 25.010633 25.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.222300 25.350000 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 25.814967 25.350000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 26.322967 25.350000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 26.830967 25.350000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 27.338967 25.350000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 27.762300 25.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 28.185633 25.350000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 28.693633 25.350000 translate 0.035278 -0.035278 scale start_ol 3136 4160 moveto 3136 1341 lineto 3136 801 2735 471 2074 471 curveto 1769 471 1521 543 1323 680 curveto 1120 834 1024 1038 1024 1341 curveto 1024 4160 lineto 512 4160 lineto 512 1328 lineto 512 509 1106 0 2074 0 curveto 3032 0 3648 520 3648 1328 curveto 3648 4160 lineto 3136 4160 lineto end_ol grestore gsave 29.243967 25.350000 translate 0.035278 -0.035278 scale start_ol 1984 3689 moveto 3333 3689 lineto 3333 4160 lineto 117 4160 lineto 117 3689 lineto 1472 3689 lineto 1472 0 lineto 1984 0 lineto 1984 3689 lineto end_ol grestore gsave 29.709633 25.350000 translate 0.035278 -0.035278 scale start_ol 3136 1920 moveto 3136 0 lineto 3648 0 lineto 3648 4160 lineto 3136 4160 lineto 3136 2368 lineto 960 2368 lineto 960 4160 lineto 448 4160 lineto 448 0 lineto 960 0 lineto 960 1920 lineto 3136 1920 lineto end_ol grestore gsave 30.259967 25.350000 translate 0.035278 -0.035278 scale start_ol 3280 4160 moveto 316 4160 lineto 316 3689 lineto 2630 3689 lineto 158 471 lineto 158 0 lineto 3291 0 lineto 3291 471 lineto 818 471 lineto 3280 3678 lineto 3280 4160 lineto end_ol grestore gsave 30.725633 25.350000 translate 0.035278 -0.035278 scale start_ol 1088 4160 moveto 576 4160 lineto 576 0 lineto 1088 0 lineto 1088 4160 lineto end_ol grestore gsave 30.937300 25.350000 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 31.487633 25.350000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 31.699300 25.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.910967 25.350000 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 32.181900 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 -441 lineto 384 -736 288 -832 0 -832 curveto -17 -832 -17 -832 -113 -832 curveto -113 -1262 lineto -58 -1274 -30 -1280 42 -1280 curveto 561 -1280 832 -1060 832 -650 curveto 832 3008 lineto 384 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 32.351233 25.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.774567 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 33.197900 25.350000 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 33.468833 25.350000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.722833 25.350000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 45.964000 17.100000 m 47.946515 18.168963 l s [] 0 sd 0 slj 0 slc n 48.276590 18.346938 m 47.717840 18.329688 l 47.946515 18.168963 l 47.955140 17.889587 l ef n 48.276590 18.346938 m 47.717840 18.329688 l 47.946515 18.168963 l 47.955140 17.889587 l cp s gsave 29.000000 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.423333 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.846667 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 30.270000 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 30.693333 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.116667 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.540000 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.963333 7.000000 translate 0.035278 -0.035278 scale start_ol 7633 5752 moveto 7300 7521 6242 8384 4403 8384 curveto 3277 8384 2369 8044 1748 7385 curveto 990 6595 576 5454 576 4159 curveto 576 2842 1001 1712 1794 933 curveto 2438 296 3265 0 4357 0 curveto 6402 0 7551 1058 7804 3184 curveto 6705 3184 lineto 6613 2642 6499 2274 6327 1960 curveto 5983 1309 5273 941 4379 941 curveto 2718 941 1664 2198 1664 4170 curveto 1664 6197 2672 7443 4287 7443 curveto 4963 7443 5593 7248 5937 6944 curveto 6246 6673 6418 6337 6544 5752 curveto 7633 5752 lineto end_ol grestore gsave 33.055533 7.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 33.902200 7.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave 34.748867 7.000000 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave 35.172200 7.000000 translate 0.035278 -0.035278 scale start_ol 768 6016 moveto 768 0 lineto 1728 0 lineto 1728 3026 lineto 1728 3860 1946 4405 2404 4728 curveto 2702 4939 2988 5006 3653 5006 curveto 3653 6016 lineto 3494 6016 3414 6016 3289 6016 curveto 2676 6016 2210 5654 1664 4772 curveto 1664 6016 lineto 768 6016 lineto end_ol grestore gsave 35.680200 7.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 36.526867 7.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave 36.865533 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 37.288867 7.000000 translate 0.035278 -0.035278 scale start_ol 2981 6016 moveto 1984 6016 lineto 1984 6945 lineto 1984 7342 2213 7546 2648 7546 curveto 2729 7546 2763 7546 2981 7546 curveto 2981 8327 lineto 2762 8373 2636 8384 2440 8384 curveto 1554 8384 1024 7884 1024 7032 curveto 1024 6016 lineto 222 6016 lineto 222 5235 lineto 1024 5235 lineto 1024 0 lineto 1984 0 lineto 1984 5235 lineto 2981 5235 lineto 2981 6016 lineto end_ol grestore gsave 37.712200 7.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave 38.050867 7.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 38.897533 7.000000 translate 0.035278 -0.035278 scale start_ol 6347 0 moveto 8111 6016 lineto 7034 6016 lineto 5843 1332 lineto 4663 6016 lineto 3494 6016 lineto 2348 1332 lineto 1123 6016 lineto 69 6016 lineto 1810 0 lineto 2887 0 lineto 4044 4719 lineto 5258 0 lineto 6347 0 lineto end_ol grestore gsave 29.000000 9.000000 translate 0.035278 -0.035278 scale start_ol 2981 6016 moveto 1984 6016 lineto 1984 6945 lineto 1984 7342 2213 7546 2648 7546 curveto 2729 7546 2763 7546 2981 7546 curveto 2981 8327 lineto 2762 8373 2636 8384 2440 8384 curveto 1554 8384 1024 7884 1024 7032 curveto 1024 6016 lineto 222 6016 lineto 222 5235 lineto 1024 5235 lineto 1024 0 lineto 1984 0 lineto 1984 5235 lineto 2981 5235 lineto 2981 6016 lineto end_ol grestore gsave 29.423333 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 30.270000 9.000000 translate 0.035278 -0.035278 scale start_ol 768 6016 moveto 768 0 lineto 1728 0 lineto 1728 3026 lineto 1728 3860 1946 4405 2404 4728 curveto 2702 4939 2988 5006 3653 5006 curveto 3653 6016 lineto 3494 6016 3414 6016 3289 6016 curveto 2676 6016 2210 5654 1664 4772 curveto 1664 6016 lineto 768 6016 lineto end_ol grestore gsave 30.778000 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.201333 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 32.048000 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave 32.894667 9.000000 translate 0.035278 -0.035278 scale start_ol 5727 2688 moveto 5727 3561 5660 4085 5493 4510 curveto 5113 5449 4220 6016 3127 6016 curveto 1497 6016 448 4817 448 2976 curveto 448 1135 1463 0 3103 0 curveto 4441 0 5367 723 5601 1936 curveto 4639 1936 lineto 4383 1245 3859 884 3113 884 curveto 2522 884 2021 1125 1709 1566 curveto 1486 1866 1408 2167 1408 2688 curveto 5727 2688 lineto 1408 3456 moveto 1408 4472 2084 5132 3046 5132 curveto 3985 5132 4707 4420 4707 3519 curveto 4707 3498 4707 3477 4696 3456 curveto 1408 3456 lineto end_ol grestore gsave 33.741333 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 34.164667 9.000000 translate 0.035278 -0.035278 scale start_ol 6848 5884 moveto 6848 7466 5725 8384 3800 8384 curveto 1966 8384 832 7489 832 6049 curveto 832 5077 1344 4466 2391 4193 curveto 4363 3669 lineto 5366 3407 5824 3004 5824 2382 curveto 5824 1956 5598 1519 5265 1279 curveto 4953 1061 4459 941 3825 941 curveto 2976 941 2395 1147 2019 1602 curveto 1729 1949 1600 2328 1600 2816 curveto 576 2816 lineto 576 2076 719 1590 1037 1148 curveto 1585 398 2506 0 3723 0 curveto 4677 0 5455 218 5971 611 curveto 6508 1037 6848 1746 6848 2434 curveto 6848 3417 6245 4137 5180 4432 curveto 3211 4967 lineto 2264 5229 1920 5534 1920 6145 curveto 1920 6953 2658 7488 3770 7488 curveto 5086 7488 5824 6914 5824 5884 curveto 6848 5884 lineto end_ol grestore gsave 35.172200 9.000000 translate 0.035278 -0.035278 scale start_ol 5430 2496 moveto 6289 0 lineto 7481 0 lineto 4548 8384 lineto 3173 8384 lineto 195 0 lineto 1329 0 lineto 2211 2496 lineto 5430 2496 lineto 5132 3392 moveto 2474 3392 lineto 3849 7228 lineto 5132 3392 lineto end_ol grestore gsave 36.179733 9.000000 translate 0.035278 -0.035278 scale start_ol 6848 5884 moveto 6848 7466 5725 8384 3800 8384 curveto 1966 8384 832 7489 832 6049 curveto 832 5077 1344 4466 2391 4193 curveto 4363 3669 lineto 5366 3407 5824 3004 5824 2382 curveto 5824 1956 5598 1519 5265 1279 curveto 4953 1061 4459 941 3825 941 curveto 2976 941 2395 1147 2019 1602 curveto 1729 1949 1600 2328 1600 2816 curveto 576 2816 lineto 576 2076 719 1590 1037 1148 curveto 1585 398 2506 0 3723 0 curveto 4677 0 5455 218 5971 611 curveto 6508 1037 6848 1746 6848 2434 curveto 6848 3417 6245 4137 5180 4432 curveto 3211 4967 lineto 2264 5229 1920 5534 1920 6145 curveto 1920 6953 2658 7488 3770 7488 curveto 5086 7488 5824 6914 5824 5884 curveto 6848 5884 lineto end_ol grestore gsave 37.187267 9.000000 translate 0.035278 -0.035278 scale start_ol 1984 8384 moveto 896 8384 lineto 896 0 lineto 6108 0 lineto 6108 941 lineto 1984 941 lineto 1984 8384 lineto end_ol grestore gsave 38.033933 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 38.457267 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave 39.219267 9.000000 translate 0.035278 -0.035278 scale start_ol 5727 2688 moveto 5727 3561 5660 4085 5493 4510 curveto 5113 5449 4220 6016 3127 6016 curveto 1497 6016 448 4817 448 2976 curveto 448 1135 1463 0 3103 0 curveto 4441 0 5367 723 5601 1936 curveto 4639 1936 lineto 4383 1245 3859 884 3113 884 curveto 2522 884 2021 1125 1709 1566 curveto 1486 1866 1408 2167 1408 2688 curveto 5727 2688 lineto 1408 3456 moveto 1408 4472 2084 5132 3046 5132 curveto 3985 5132 4707 4420 4707 3519 curveto 4707 3498 4707 3477 4696 3456 curveto 1408 3456 lineto end_ol grestore gsave 40.065933 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave 40.827933 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave 41.589933 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave 41.928600 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 42.775267 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave 19.000000 7.000000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 19.211667 7.000000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 19.635000 7.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 19.889000 7.000000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 20.270000 7.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 20.524000 7.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 20.778000 7.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 19.000000 8.000000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 19.423333 8.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 19.635000 8.000000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 20.058333 8.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 20.312333 8.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 20.735667 8.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 21.159000 8.000000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 21.582333 8.000000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 22.005667 8.000000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 22.386667 8.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.640667 8.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.064000 8.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 23.487333 8.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 23.699000 8.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 24.122333 8.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 24.376333 8.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 24.630333 8.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 19.000000 9.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 19.211667 9.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 19.423333 9.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc 0 slj 0 slc 0 slj [] 0 sd 1.000000 1.000000 1.000000 srgb n 31.400000 40.629300 m 31.400000 45.279295 l 46.471383 45.279295 l 46.471383 40.629300 l f 0.000000 0.000000 0.000000 srgb n 31.400000 40.629300 m 31.400000 45.279295 l 46.471383 45.279295 l 46.471383 40.629300 l cp s 0 slc 0 slj [] 0 sd n 32.907138 40.629300 m 32.907138 45.279295 l s 0 slc 0 slj [] 0 sd n 44.964245 40.629300 m 44.964245 45.279295 l s gsave 33.106392 42.754298 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 33.614392 42.754298 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 34.037725 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 34.249392 42.754298 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 34.672725 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 35.096058 42.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.519392 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 35.731058 42.754298 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 35.900392 42.754298 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 36.281392 42.754298 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 36.704725 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 36.916392 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.339725 42.754298 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 37.763058 42.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 37.974725 42.754298 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 38.398058 42.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 38.652058 42.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 39.075392 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 39.287058 42.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 39.710392 42.754298 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 40.091392 42.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 40.514725 42.754298 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 40.684058 42.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 40.895725 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 41.319058 42.754298 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 41.700058 42.754298 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 42.081058 42.754298 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 42.504392 42.754298 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 42.927725 42.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 43.351058 42.754298 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 43.774392 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.197725 42.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 44.409392 42.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 44.621058 42.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 34.101225 43.754298 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 2988 1920 lineto 2988 2368 lineto 1024 2368 lineto 1024 3689 lineto 3259 3689 lineto 3259 4160 lineto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1920 lineto end_ol grestore gsave 34.566892 43.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 34.990225 43.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.244225 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 35.455892 43.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 35.879225 43.754298 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 36.260225 43.754298 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 36.683558 43.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 37.318558 43.754298 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 37.741892 43.754298 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 37.911225 43.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 38.334558 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 38.546225 43.754298 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 39.054225 43.754298 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 39.689225 43.754298 translate 0.035278 -0.035278 scale start_ol 1984 3689 moveto 3333 3689 lineto 3333 4160 lineto 117 4160 lineto 117 3689 lineto 1472 3689 lineto 1472 0 lineto 1984 0 lineto 1984 3689 lineto end_ol grestore gsave 40.154892 43.754298 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2333 1792 lineto 2665 1792 2927 1888 3153 2085 curveto 3409 2311 3520 2576 3520 2953 curveto 3520 3726 3057 4160 2233 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2133 3689 lineto 2641 3689 2944 3417 2944 2965 curveto 2944 2512 2641 2240 2133 2240 curveto 1024 2240 lineto end_ol grestore gsave 40.662892 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 40.874558 43.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 41.297892 43.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 41.551892 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 41.763558 43.754298 translate 0.035278 -0.035278 scale start_ol 1088 4160 moveto 576 4160 lineto 576 0 lineto 1088 0 lineto 1088 4160 lineto end_ol grestore gsave 41.975225 43.754298 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 42.610225 43.754298 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 43.118225 43.754298 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2333 1792 lineto 2665 1792 2927 1888 3153 2085 curveto 3409 2311 3520 2576 3520 2953 curveto 3520 3726 3057 4160 2233 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2133 3689 lineto 2641 3689 2944 3417 2944 2965 curveto 2944 2512 2641 2240 2133 2240 curveto 1024 2240 lineto end_ol grestore gsave 43.626225 43.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 48.700000 39.400000 m 39.418691 40.568493 l s [] 0 sd 0 slj 0 slc n 39.046628 40.615334 m 39.511484 40.304837 l 39.418691 40.568493 l 39.573940 40.800921 l ef n 39.046628 40.615334 m 39.511484 40.304837 l 39.418691 40.568493 l 39.573940 40.800921 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 24.600000 26.100000 m 44.269800 35.029300 32.069800 5.754270 42.470671 11.756676 c s [] 0 sd 0 slj 0 slc n 42.795465 11.944116 m 42.237446 11.910725 l 42.470671 11.756676 l 42.487367 11.477666 l ef n 42.795465 11.944116 m 42.237446 11.910725 l 42.470671 11.756676 l 42.487367 11.477666 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 17.000000 7.000000 m 17.900000 12.800000 25.409000 6.631900 28.242837 11.186667 c s [] 0 sd 0 slj 0 slc n 28.440938 11.505070 m 27.964534 11.212599 l 28.242837 11.186667 l 28.389072 10.948465 l ef n 28.440938 11.505070 m 27.964534 11.212599 l 28.242837 11.186667 l 28.389072 10.948465 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc n 36.989100 26.100000 m 40.836360 17.543984 l s [] 0 sd 0 slj 0 slc n 40.990149 17.201969 m 41.013107 17.760514 l 40.836360 17.543984 l 40.557088 17.555463 l ef n 40.990149 17.201969 m 41.013107 17.760514 l 40.836360 17.543984 l 40.557088 17.555463 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc 0 slj 0 slc 0 slj [] 0 sd 1.000000 1.000000 1.000000 srgb n 22.189277 34.900000 m 36.546383 34.900000 l 38.528687 34.900000 40.135660 35.752249 40.135660 36.803553 c 40.135660 37.854857 38.528687 38.707107 36.546383 38.707107 c 22.189277 38.707107 l 20.206973 38.707107 18.600000 37.854857 18.600000 36.803553 c 18.600000 35.752249 20.206973 34.900000 22.189277 34.900000 c ef 0.000000 0.000000 0.000000 srgb n 22.189277 34.900000 m 36.546383 34.900000 l 38.528687 34.900000 40.135660 35.752249 40.135660 36.803553 c 40.135660 37.854857 38.528687 38.707107 36.546383 38.707107 c 22.189277 38.707107 l 20.206973 38.707107 18.600000 37.854857 18.600000 36.803553 c 18.600000 35.752249 20.206973 34.900000 22.189277 34.900000 c s gsave 28.466130 36.103553 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 28.974130 36.103553 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave 29.397463 36.103553 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 29.820797 36.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 30.074797 36.103553 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.646730 37.103553 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 26.070063 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 26.451063 37.103553 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 26.874397 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 27.255397 37.103553 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 27.424730 37.103553 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 27.848063 37.103553 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 28.059730 37.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 28.229063 37.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.652397 37.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 28.821730 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 29.202730 37.103553 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.626063 37.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.837730 37.103553 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 30.091730 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.472730 37.103553 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 30.896063 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.277063 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.658063 37.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 31.827397 37.103553 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.250730 37.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.674063 37.103553 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 32.928063 37.103553 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave 22.370130 38.103553 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 22.793463 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.047463 38.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 23.216797 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.640130 38.103553 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 23.851797 38.103553 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 24.063463 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.275130 38.103553 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 24.529130 38.103553 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 24.800063 38.103553 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 2988 1920 lineto 2988 2368 lineto 1024 2368 lineto 1024 3689 lineto 3259 3689 lineto 3259 4160 lineto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1920 lineto end_ol grestore gsave 25.265730 38.103553 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.689063 38.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 25.858397 38.103553 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 26.027730 38.103553 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 26.451063 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 26.705063 38.103553 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 27.128397 38.103553 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 27.340063 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.551730 38.103553 translate 0.035278 -0.035278 scale start_ol 1149 3968 moveto 626 3968 192 3521 192 2976 curveto 192 2431 626 1984 1155 1984 curveto 1678 1984 2112 2431 2112 2964 curveto 2112 3527 1690 3968 1149 3968 curveto 1149 3566 moveto 1473 3566 1728 3299 1728 2961 curveto 1728 2635 1467 2368 1155 2368 curveto 837 2368 576 2641 576 2967 curveto 576 3299 837 3566 1149 3566 curveto 3453 3968 moveto 1234 0 lineto 1609 0 lineto 3827 3968 lineto 3453 3968 lineto 3901 1856 moveto 3378 1856 2944 1437 2944 931 curveto 2944 419 3378 0 3907 0 curveto 4425 0 4864 419 4864 920 curveto 4864 1442 4442 1856 3901 1856 curveto 3901 1472 moveto 4225 1472 4480 1232 4480 929 curveto 4480 642 4219 402 3907 402 curveto 3589 402 3328 642 3328 940 curveto 3328 1232 3589 1472 3901 1472 curveto end_ol grestore gsave 28.229063 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 28.610063 38.103553 translate 0.035278 -0.035278 scale start_ol 265 4160 moveto -45 4160 lineto 1293 0 lineto 1603 0 lineto 265 4160 lineto end_ol grestore gsave 28.821730 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 29.245063 38.103553 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 29.515997 38.103553 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 29.727663 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.939330 38.103553 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 30.362663 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.743663 38.103553 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 31.166997 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.547997 38.103553 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 31.717330 38.103553 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 32.140663 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 32.521663 38.103553 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 32.733330 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.987330 38.103553 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 33.410663 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 33.664663 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 33.918663 38.103553 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 34.341997 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 34.595997 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 34.807663 38.103553 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 35.061663 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.315663 38.103553 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 35.696663 38.103553 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 35.950663 38.103553 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 36.204663 38.103553 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc 0 slj 0 slc 0 slj [] 0 sd n 29.362600 38.669100 m 29.362600 39.519100 l s 0 slc 0 slj [] 0 sd n 28.212600 39.519100 m 30.512600 39.519100 l s 0 slc 0 slj [] 0 sd n 28.597850 39.944100 m 30.127350 39.944100 l s 0 slc 0 slj [] 0 sd n 28.983100 40.369100 m 29.742100 40.369100 l s showpage %%EndDocument @endspecial 275 5213 a(W)-8 b(e)31 b(will)g(no)m(w)f(sho)m(w)g(the)h (implemen)m(tation)h(of)f(the)f Fo(client)f Fu(function)h(used)f(b)s (efore.)390 5340 y Fo(void)47 b(client)f(\(Gsasl)g(*ctx\))p eop end %%Page: 17 21 TeXDict begin 17 20 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Using)30 b(the)h(Library)2334 b(17)390 299 y Fo({)485 408 y(Gsasl_session)45 b(*session;)485 518 y(const)i(char)f(*mech)h(=)g ("PLAIN";)485 628 y(int)g(rc;)485 847 y(/*)h(Create)e(new)h (authentication)d(session.)h(*/)485 956 y(if)j(\(\(rc)e(=)i (gsasl_client_start)43 b(\(ctx,)j(mech,)g(&session\)\))f(!=)i (GSASL_OK\))581 1066 y({)676 1176 y(printf)f(\("Cannot)g(initialize)f (client)h(\(\045d\):)g(\045s\\n",)1058 1285 y(rc,)h(gsasl_strerror)d (\(rc\)\);)676 1395 y(return;)581 1504 y(})485 1724 y(/*)k(Set)f (username)e(and)i(password)f(in)h(session)f(handle.)93 b(This)47 b(info)f(will)h(be)629 1833 y(lost)f(when)h(this)g(session)e (is)j(deallocated)c(below.)94 b(*/)485 1943 y(gsasl_property_set)43 b(\(session,)j(GSASL_AUTHID,)e("jas"\);)485 2052 y(gsasl_property_set)f (\(session,)j(GSASL_PASSWORD,)d("secret"\);)485 2271 y(/*)48 b(Do)f(it.)g(*/)485 2381 y(client_authenticate)c(\(session\);) 485 2600 y(/*)48 b(Cleanup.)d(*/)485 2710 y(gsasl_finish)g (\(session\);)390 2819 y(})275 2984 y Fu(This)c(function)i(is)g(resp)s (onsible)e(for)i(deciding)g(whic)m(h)f(mec)m(hanism)h(to)h(use.)77 b(In)42 b(this)h(case,)k(the)150 3093 y(`)p Fo(PLAIN)p Fu(')24 b(mec)m(hanism)i(is)g(hard)e(co)s(ded,)i(but)f(y)m(ou)h(will)g (see)g(later)g(ho)m(w)g(this)f(can)h(b)s(e)e(made)i(more)f(\015exible.) 150 3203 y(The)h(function)h(creates)h(a)f(new)f(session,)i(then)f(it)g (stores)g(the)g(username)f(and)g(passw)m(ord)g(in)h(the)g(session)150 3313 y(handle,)33 b(then)f(it)h(calls)g(another)g(function)f Fo(client_authenticate)27 b Fu(to)33 b(handle)f(the)h(authen)m (tication)150 3422 y(lo)s(op,)49 b(and)c(\014nally)g(it)h(cleans)g(up)f (up.)84 b(Let's)46 b(con)m(tin)m(ue)h(with)e(the)g(implemen)m(tation)i (of)f Fo(client_)150 3532 y(authenticate)p Fu(.)390 3696 y Fo(void)h(client_authenticate)42 b(\(Gsasl_session)i(*)k(session\)) 390 3806 y({)485 3915 y(char)f(buf[BUFSIZ])e(=)i("";)485 4025 y(char)g(*p;)485 4134 y(int)g(rc;)485 4354 y(/*)h(This)e(loop)h (mimics)f(a)h(protocol)f(where)g(the)h(server)f(sends)h(data)629 4463 y(first.)f(*/)485 4682 y(do)581 4792 y({)676 4902 y(printf)g(\("Input)g(base64)g(encoded)g(data)h(from)f(server:\\n"\);) 676 5011 y(fgets)h(\(buf,)f(sizeof)g(\(buf\))h(-)g(1,)g(stdin\);)676 5121 y(if)h(\(buf[strlen)c(\(buf\))j(-)g(1])g(==)g('\\n'\))772 5230 y(buf[strlen)e(\(buf\))h(-)i(1])f(=)g('\\0';)p eop end %%Page: 18 22 TeXDict begin 18 21 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Using)30 b(the)h(Library)2334 b(18)676 299 y Fo(rc)48 b(=)f(gsasl_step64)d(\(session,)i(buf,)g(&p\);)676 518 y(if)i(\(rc)e(==)i(GSASL_NEEDS_MORE)43 b(||)k(rc)g(==)h(GSASL_OK\))772 628 y({)867 737 y(printf)e(\("Output:\\n\045s\\n",)d(p\);)867 847 y(free)k(\(p\);)772 956 y(})581 1066 y(})485 1176 y(while)g(\(rc)g(==)g(GSASL_NEEDS_MORE\);)485 1395 y(printf)g (\("\\n"\);)485 1614 y(if)h(\(rc)f(!=)g(GSASL_OK\))581 1724 y({)676 1833 y(printf)f(\("Authentication)e(error)i(\(\045d\):)h (\045s\\n",)1058 1943 y(rc,)g(gsasl_strerror)d(\(rc\)\);)676 2052 y(return;)581 2162 y(})485 2381 y(/*)k(The)f(client)f(is)h(done.) 94 b(Here)47 b(you)f(would)h(typically)e(check)h(if)i(the)629 2491 y(server)e(let)h(the)g(client)f(in.)94 b(If)47 b(not,)g(you)g (could)f(try)h(again.)f(*/)485 2710 y(printf)h(\("If)f(server)g (accepted)g(us,)h(we're)f(done.\\n"\);)390 2819 y(})275 3002 y Fu(This)28 b(last)i(function)f(needs)g(to)h(b)s(e)f(discussed)f (in)h(some)h(detail.)41 b(First,)30 b(y)m(ou)g(should)e(b)s(e)h(a)m(w)m (are)h(that)150 3112 y(there)j(are)f(t)m(w)m(o)i(v)m(ersions)f(of)g (this)f(function,)h(that)g(di\013er)f(in)g(a)h(subtle)f(w)m(a)m(y)-8 b(.)49 b(The)31 b(v)m(ersion)i(ab)s(o)m(v)m(e)h(\(see)150 3221 y(Section)i(13.2)i([Example)e(2],)h(page)g(54\))f(is)g(used)f(for) g(application)i(pro\014les)e(where)g(the)h(serv)m(er)g(sends)150 3331 y(data)k(\014rst.)67 b(F)-8 b(or)41 b(some)e(mec)m(hanisms,)k (this)c(ma)m(y)h(w)m(aste)h(a)e(roundtrip,)i(b)s(ecause)e(the)h(serv)m (er)f(needs)150 3440 y(input)30 b(from)h(the)h(clien)m(t)h(to)f(pro)s (ceed.)43 b(Therefor,)31 b(to)s(da)m(y)h(the)g(recommended)f(approac)m (h)g(is)h(to)g(p)s(ermit)150 3550 y(clien)m(t)f(to)g(send)d(data)j (\014rst)e(\(see)h(Section)h(13.1)g([Example)f(1],)h(page)f(52\).)42 b(Whic)m(h)30 b(v)m(ersion)g(y)m(ou)g(should)150 3660 y(use)g(dep)s(ends)f(on)h(whic)m(h)g(application)i(proto)s(col)f(y)m (ou)g(are)f(implemen)m(ting.)275 3842 y(F)-8 b(urther,)34 b(y)m(ou)h(should)e(realize)j(that)e(it)h(is)f(bad)f(programming)h(st)m (yle)h(to)g(use)f(a)g(\014xed)g(size)h(bu\013er.)150 3952 y(On)44 b(GNU)h(systems,)j(y)m(ou)d(ma)m(y)g(use)g(the)g Fo(getline)d Fu(functions)i(instead)h(of)g Fo(fgets)p Fu(.)82 b(Ho)m(w)m(ev)m(er,)50 b(in)150 4061 y(practice,)40 b(there)d(are)g(few)g(mec)m(hanisms)f(that)i(use)e(v)m(ery)h(large)h (tok)m(ens.)61 b(In)36 b(t)m(ypical)i(con\014gurations,)150 4171 y(the)28 b(mec)m(hanism)g(with)g(the)g(largest)h(tok)m(ens)g (\(GSSAPI\))e(can)h(use)g(at)g(least)h(500)h(b)m(ytes.)40 b(A)28 b(\014xed)f(bu\013er)150 4281 y(size)k(of)f(8192)i(b)m(ytes)f (ma)m(y)g(th)m(us)f(b)s(e)f(su\016cien)m(t)i(for)f(no)m(w.)41 b(But)30 b(don't)g(sa)m(y)h(I)f(didn't)g(w)m(arn)f(y)m(ou,)i(when)f(a) 150 4390 y(future)f(mec)m(hanism)i(do)s(esn't)f(w)m(ork)h(in)f(y)m(our) g(application,)i(b)s(ecause)e(of)h(a)g(\014xed)e(size)j(bu\013er.)275 4573 y(The)23 b(function)g Fo(gsasl_step64)d Fu(\(and)j(of)h(course)f (also)i Fo(gasl_step)p Fu(\))c(returns)h(t)m(w)m(o)j(non-error)e (return)150 4682 y(co)s(des.)39 b Fo(GSASL_OK)23 b Fu(is)i(used)f(for)h (success,)h(indicating)g(that)g(the)f(library)g(considers)g(the)g (authen)m(tication)150 4792 y(\014nished.)37 b(That)23 b(ma)m(y)h(include)f(a)h(successful)g(serv)m(er)f(authen)m(tication,)k (dep)s(ending)22 b(on)i(the)f(mec)m(hanism.)150 4902 y(Y)-8 b(ou)40 b(m)m(ust)g(not)g(let)g(the)g(clien)m(t)i(con)m(tin)m (ue)e(to)h(the)f(application)h(proto)s(col)f(part)g(unless)f(y)m(ou)h (receiv)m(e)150 5011 y Fo(GSASL_OK)27 b Fu(from)h(these)h(functions.)40 b(In)28 b(particular,)i(don't)e(b)s(e)h(fo)s(oled)g(in)m(to)g(b)s (elieving)h(authen)m(tication)150 5121 y(w)m(ere)40 b(successful)g(if)f (the)h(serv)m(er)g(replies)g(\\OK")g(but)f(these)h(functions)f(ha)m(v)m (e)i(failed)f(with)g(an)f(error.)150 5230 y(The)26 b(serv)m(er)i(ma)m (y)f(ha)m(v)m(e)h(b)s(een)e(hac)m(k)m(ed,)j(and)d(could)h(b)s(e)g(tric) m(king)h(y)m(ou)f(in)m(to)h(sending)e(con\014den)m(tial)i(data,)150 5340 y(without)i(ha)m(ving)h(successfully)g(authen)m(ticated)h(the)e (serv)m(er.)p eop end %%Page: 19 23 TeXDict begin 19 22 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Using)30 b(the)h(Library)2334 b(19)275 299 y(The)28 b(non-error)g(return)g(co)s(de)i Fo(GSASL_NEEDS_MORE)24 b Fu(is)29 b(used)g(to)g(signal)h(to)g(y)m(our)f(application)h(that)150 408 y(y)m(ou)35 b(should)f(send)g(the)i(output)e(tok)m(en)i(to)g(the)f (p)s(eer,)h(and)e(w)m(ait)i(for)f(a)h(new)e(tok)m(en,)j(and)e(do)g (another)150 518 y(iteration.)44 b(If)31 b(the)g(serv)m(er)h(concludes) f(the)g(authen)m(tication)i(pro)s(cess,)e(with)g(no)g(data,)h(y)m(ou)g (should)e(call)150 628 y Fo(gsasl_step64)d Fu(\(or)k Fo(gsasl_step)p Fu(\))d(sp)s(ecifying)i(a)h(zero-length)h(tok)m(en.)275 771 y(If)24 b(the)i(functions)e(\()p Fo(gsasl_step)f Fu(and)i Fo(gsasl_step64)p Fu(\))d(return)i(an)m(y)h(non-error)g(co)s (de,)i(the)e(con)m(ten)m(t)150 880 y(of)37 b(the)g(output)g(bu\013er)f (is)h(unde\014ned.)58 b(Otherwise,)39 b(it)e(is)g(the)h(callers)g(resp) s(onsibilit)m(y)f(to)h(deallo)s(cate)150 990 y(the)33 b(bu\013er,)f(b)m(y)h(calling)h Fo(free)p Fu(.)46 b(Note)34 b(that)f(in)f(some)h(situations,)h(where)e(the)h(bu\013er)e(is)i(empt)m (y)-8 b(,)34 b Fo(NULL)150 1100 y Fu(is)c(returned)g(as)g(the)h (bu\013er)e(v)-5 b(alue.)41 b(Y)-8 b(ou)31 b(should)f(treat)h(this)f (as)h(an)f(empt)m(y)h(bu\013er.)150 1354 y Ft(3.1)68 b(Cho)t(osing)45 b(a)h(mec)l(hanism)150 1513 y Fu(Our)33 b(earlier)i(co)s(de)g(w)m(as)f(hard)g(co)s(ded)g(to)h(use)f(a)g(sp)s (eci\014c)g(mec)m(hanism.)53 b(This)34 b(is)g(rarely)g(a)h(go)s(o)s(d)f (idea.)150 1623 y(Instead,)g(it)f(is)g(recommended)f(to)i(select)h(the) e(b)s(est)f(mec)m(hanism)h(a)m(v)-5 b(ailable)36 b(from)c(the)h(list)h (of)f(mec)m(ha-)150 1732 y(nisms)f(supp)s(orted)f(b)m(y)i(the)g(serv)m (er.)49 b(Note)34 b(that)f(without)g(TLS)f(or)h(similar,)h(the)f(list)h (ma)m(y)g(ha)m(v)m(e)g(b)s(een)150 1842 y(maliciously)i(altered,)h(b)m (y)d(an)g(attac)m(k)m(er.)56 b(This)34 b(means)g(that)h(y)m(ou)g (should)f(ab)s(ort)g(if)h(y)m(ou)f(cannot)h(\014nd)150 1951 y(an)m(y)43 b(mec)m(hanism)g(that)g(exceeds)g(y)m(our)f(minim)m (um)g(securit)m(y)h(lev)m(el.)79 b(There)42 b(is)h(a)f(function)h Fo(gsasl_)150 2061 y(client_suggest_mechanism)29 b Fu(\(see)37 b(Chapter)e(6)h([Global)h(F)-8 b(unctions],)38 b(page)e(34\))h(that)g (will)f(try)f(to)150 2170 y(pic)m(k)42 b(the)f(\\b)s(est")h(a)m(v)-5 b(ailable)43 b(mec)m(hanism)f(from)f(a)g(list)h(of)g(mec)m(hanisms.)73 b(Our)40 b(simple)h(in)m(teractiv)m(e)150 2280 y(example)c(clien)m(t)h (\(see)g(Section)f(13.3)i([Example)e(3],)i(page)e(57\))h(includes)e (the)h(follo)m(wing)h(function)e(to)150 2390 y(decide)f(whic)m(h)g(mec) m(hanism)g(to)h(use.)53 b(Note)37 b(that)e(the)g(co)s(de)g(do)s(esn't)g (blindly)f(use)g(what)h(is)g(returned)150 2499 y(from)h Fo(gsasl_client_suggest_mech)o(anis)o(m)p Fu(,)d(rather)j(it)h(lets)h (some)f(logic)h(\(in)f(this)g(case)g(the)g(user,)150 2609 y(through)30 b(an)g(in)m(teractiv)m(e)j(query\))d(decide)h(whic)m (h)f(mec)m(hanism)h(is)f(acceptable.)390 2752 y Fo(const)46 b(char)h(*client_mechanism)c(\(Gsasl)j(*ctx\))390 2862 y({)485 2971 y(static)h(char)f(mech[GSASL_MAX_MECHANISM_)o(SIZE)41 b(+)47 b(1])h(=)f("";)485 3081 y(char)g(mechlist[BUFSIZ])c(=)48 b("";)485 3190 y(const)f(char)f(*suggestion;)485 3410 y(printf)h(\("Enter)e(list)i(of)g(server)f(supported)g(mechanisms,)e (separate)i(by)h(SPC:\\n"\);)485 3519 y(fgets)g(\(mechlist,)e(sizeof)h (\(mechlist\))f(-)i(1,)h(stdin\);)485 3738 y(suggestion)d(=)j (gsasl_client_suggest_mec)o(hani)o(sm)41 b(\(ctx,)47 b(mechlist\);)485 3848 y(if)h(\(suggestion\))581 3958 y(printf)e(\("Library)f(suggests)h(use)h(of)g(`\045s'.\\n",)e (suggestion\);)485 4177 y(printf)i(\("Enter)e(mechanism)h(to)h (use:\\n"\);)485 4286 y(fgets)g(\(mech,)f(sizeof)g(\(mech\))g(-)i(1,)f (stdin\);)485 4396 y(mech[strlen)e(\(mech\))h(-)i(1])f(=)g('\\0';)485 4615 y(return)g(mech;)390 4725 y(})275 4868 y Fu(When)30 b(running)e(this)j(example)g(co)s(de,)g(it)f(migh)m(t)i(lo)s(ok)e(lik)m (e)i(in)e(the)h(follo)m(wing)h(output.)390 5011 y Fo(Enter)46 b(list)h(server)f(supported)f(mechanisms,)g(separate)h(by)h(SPC:)390 5121 y(CRAM-MD5)f(DIGEST-MD5)f(GSSAPI)h(FOO)h(BAR)390 5230 y(Library)f(suggests)f(use)i(of)g(`GSSAPI'.)390 5340 y(Enter)f(mechanism)g(to)h(use:)p eop end %%Page: 20 24 TeXDict begin 20 23 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Using)30 b(the)h(Library)2334 b(20)390 299 y Fo(CRAM-MD5)390 408 y(Input)46 b(base64)g(encoded)g(data)h(from)g(server:)390 518 y(Zm5vcmQ=)390 628 y(Output:)390 737 y(amFzIDkyY2U1NWE5MTM2ZTY4)o (NzEy)o(MTUy)o(ZTF)o(jYmF)o(mNjV)o(kZj)o(gx)390 956 y(If)g(server)f (accepted)g(us,)h(we're)f(done.)150 1206 y Ft(3.2)68 b(Using)46 b(a)f(callbac)l(k)150 1366 y Fu(Our)26 b(earlier)i(co)s(de)f (sp)s(eci\014ed)f(the)h(username)g(and)f(passw)m(ord)h(b)s(efore)f(the) h(authen)m(tication)j(lo)s(op,)e(as)f(in:)390 1506 y Fo(gsasl_property_set)43 b(\(ctx,)j(GSASL_AUTHID,)e("jas"\);)390 1616 y(gsasl_property_set)f(\(ctx,)j(GSASL_PASSWORD,)e("secret"\);)275 1757 y Fu(This)27 b(ma)m(y)j(w)m(ork)e(for)h(simple)f(mec)m(hanisms,)i (that)f(need)f(only)h(a)g(username)f(and)g(a)h(passw)m(ord.)40 b(But)150 1866 y(some)24 b(mec)m(hanism)h(requires)e(more)h (information,)i(suc)m(h)e(as)g(an)f(authorization)j(iden)m(tit)m(y)-8 b(,)27 b(a)e(sp)s(ecial)f(PIN)150 1976 y(or)36 b(passco)s(de,)h(a)f (realm,)i(a)e(hostname,)i(a)e(service)g(name,)i(or)d(an)h(anon)m(ymous) g(iden)m(ti\014er.)57 b(Querying)150 2085 y(the)32 b(user)f(for)g(all)i (that)f(information,)h(without)e(kno)m(wing)h(exactly)i(whic)m(h)d(of)h (it)g(is)g(really)g(needed)g(will)150 2195 y(result)e(in)g(a)g(p)s(o)s (or)f(user)h(in)m(terface.)42 b(The)29 b(user)h(should)f(not)h(ha)m(v)m (e)h(to)g(input)e(priv)-5 b(ate)31 b(information,)f(if)g(it)150 2305 y(isn't)h(required.)275 2445 y(The)j(approac)m(h)g(is)h(a)g(bad)f (idea)h(for)f(another)h(reason.)53 b(What)35 b(if)g(the)f(serv)m(er)h (ab)s(orts)f(the)h(authen-)150 2555 y(tication)i(pro)s(cess?)52 b(Then)34 b(y)m(our)g(application)i(has)e(already)h(queried)g(the)f (user)g(for)h(a)g(username)f(and)150 2664 y(passw)m(ord.)50 b(It)34 b(w)m(ould)g(b)s(e)f(b)s(etter)h(if)f(y)m(ou)h(only)g(ask)m(ed) h(the)f(user)f(for)g(this)h(information,)h(anno)m(ying)f(to)150 2774 y(input,)c(when)f(it)i(is)f(kno)m(wn)g(to)h(b)s(e)f(needed.)275 2915 y(A)e(b)s(etter)h(approac)m(h)f(to)i(this)e(problem)g(is)g(to)h (use)g(a)f(callbac)m(k.)43 b(Then)27 b(the)i(mec)m(hanism)f(ma)m(y)i (query)150 3024 y(y)m(our)j(application)h(whenev)m(er)f(it)h(needs)f (some)g(information,)h(lik)m(e)h(the)e(username)f(and)h(passw)m(ord.)48 b(It)150 3134 y(will)31 b(only)g(do)g(this)f(at)i(the)f(precise)g(step) g(in)g(the)g(authen)m(tication)i(when)c(the)i(information)g(is)g (actually)150 3243 y(needed.)67 b(F)-8 b(urther,)41 b(if)f(the)f(user)g (ab)s(orts,)i(e.g.,)i(a)d(passw)m(ord)e(prompt,)j(the)e(mec)m(hanism)h (is)f(directly)150 3353 y(informed)30 b(of)g(this)g(\(b)s(ecause)h(it)g (in)m(v)m(ok)m(ed)h(the)e(callbac)m(k\),)j(and)d(could)h(reco)m(v)m(er) h(someho)m(w.)275 3493 y(Our)e(\014nal)h(example)h(\(see)g(Section)g (13.4)h([Example)f(4],)g(page)g(60\))h(sp)s(eci\014es)e(a)h(callbac)m (k)h(function,)150 3603 y(inside)d Fo(main)f Fu(as)i(b)s(elo)m(w.)390 3744 y Fo(/*)47 b(Set)g(the)g(callback)f(handler)f(for)i(the)g (library.)f(*/)390 3853 y(gsasl_callback_set)d(\(ctx,)j(callback\);)275 3994 y Fu(The)29 b(function)h(itself)i(is)e(implemen)m(ted)h(as)g (follo)m(ws.)390 4134 y Fo(int)47 b(callback)e(\(Gsasl)i(*)g(ctx,)g (Gsasl_session)d(*)j(sctx,)g(Gsasl_property)d(prop\))390 4244 y({)485 4354 y(char)j(buf[BUFSIZ])e(=)i("";)485 4463 y(int)g(rc)h(=)f(GSASL_NO_CALLBACK;)485 4682 y(/*)h(Get)f(user)f (info)h(from)f(user.)h(*/)485 4902 y(printf)g(\("Callback)e(invoked,)g (for)i(property)f(\045d.\\n",)f(prop\);)485 5121 y(switch)i(\(prop\)) 581 5230 y({)581 5340 y(case)g(GSASL_PASSCODE:)p eop end %%Page: 21 25 TeXDict begin 21 24 bop 3659 -116 a Fu(21)676 299 y Fo(printf)46 b(\("Enter)g(passcode:\\n"\);)676 408 y(fgets)h(\(buf,)f(sizeof)g (\(buf\))h(-)g(1,)g(stdin\);)676 518 y(buf[strlen)e(\(buf\))i(-)g(1])g (=)h('\\0';)676 737 y(gsasl_property_set)43 b(\(sctx,)j (GSASL_PASSCODE,)e(buf\);)676 847 y(rc)k(=)f(GSASL_OK;)676 956 y(break;)581 1176 y(case)g(GSASL_AUTHID:)676 1285 y(printf)f(\("Enter)g(username:\\n"\);)676 1395 y(fgets)h(\(buf,)f (sizeof)g(\(buf\))h(-)g(1,)g(stdin\);)676 1504 y(buf[strlen)e(\(buf\))i (-)g(1])g(=)h('\\0';)676 1724 y(gsasl_property_set)43 b(\(sctx,)j(GSASL_AUTHID,)e(buf\);)676 1833 y(rc)k(=)f(GSASL_OK;)676 1943 y(break;)581 2162 y(default:)676 2271 y(printf)f(\("Unknown)g (property!)93 b(Don't)46 b(worry.\\n"\);)676 2381 y(break;)581 2491 y(})485 2710 y(return)h(rc;)390 2819 y(})275 2954 y Fu(Again,)31 b(it)g(is)f(bad)g(st)m(yle)i(to)f(use)f(a)h(\014xed)e (size)j(bu\013er.)39 b(Mmm'k)-5 b(a)m(y)d(.)275 3088 y(Whic)m(h)37 b(prop)s(erties)g(y)m(ou)g(should)g(handle)g(is)g(up)f (to)i(y)m(ou.)62 b(If)36 b(y)m(ou)i(don't)f(kno)m(w)g(ho)m(w)h(to)g (resp)s(ond)150 3198 y(to)43 b(a)f(certain)h(prop)s(ert)m(y)-8 b(,)45 b(simply)c(return)g Fo(GSASL_NO_CALLBACK)p Fu(.)71 b(The)41 b(basic)i(prop)s(erties)e(to)i(sup-)150 3308 y(p)s(ort)29 b(are)i(authen)m(tication)h(iden)m(tit)m(y)f(\()p Fo(GSASL_AUTHID)p Fu(\),)d(authorization)j(iden)m(tit)m(y)h(\()p Fo(GSASL_AUTHZID)p Fu(\),)150 3417 y(and)37 b(passw)m(ord)g(\()p Fo(GSASL_PASSWORD)p Fu(\).)60 b(See)38 b(Chapter)f(4)h([Prop)s (erties],)i(page)f(22,)h(for)e(the)g(list)g(of)g(all)150 3527 y(prop)s(erties,)28 b(and)g(what)h(y)m(our)f(callbac)m(k)j(should) c(\(ideally\))j(do)f(for)f(them,)h(and)f(whic)m(h)g(prop)s(erties)g (eac)m(h)150 3636 y(mec)m(hanism)j(require)f(in)g(order)g(to)h(w)m (ork.)p eop end %%Page: 22 26 TeXDict begin 22 25 bop 3659 -116 a Fu(22)150 299 y Fr(4)80 b(Prop)t(erties)150 524 y Fu(The)37 b(library)g(uses)f(a)i(concept)g (called)g(\\prop)s(erties")g(to)g(request)f(and)g(pass)g(data)g(b)s(et) m(w)m(een)h(the)g(ap-)150 633 y(plication)33 b(and)e(the)h(individual)g (authen)m(tication)i(mec)m(hanisms.)45 b(The)31 b(application)i(can)f (set)h(prop)s(ert)m(y)150 743 y(v)-5 b(alues)40 b(using)f(the)h Fo(gsasl_property_set)34 b Fu(function.)68 b(If)40 b(a)f(mec)m(hanism)h (needs)g(a)g(prop)s(ert)m(y)e(v)-5 b(alue)150 853 y(the)34 b(application)i(has)e(not)g(y)m(et)h(pro)m(vided,)g(this)f(is)h (handled)e(through)g(a)i(callbac)m(k.)54 b(The)34 b(application)150 962 y(pro)m(vides)41 b(a)h(callbac)m(k,)47 b(using)41 b Fo(gsasl_callback_set)p Fu(,)f(whic)m(h)h(will)h(b)s(e)f(in)m(v)m(ok) m(ed)h(with)g(a)g(prop)s(ert)m(y)150 1072 y(parameter.)55 b(The)34 b(callbac)m(k)j(should)d(set)h(the)g(prop)s(ert)m(y)f(b)s (efore)g(returning,)i(or)f(fail.)54 b(See)35 b(Chapter)g(7)150 1181 y([Callbac)m(k)d(F)-8 b(unctions],)31 b(page)h(36,)f(for)f(more)h (information.)275 1314 y(There)37 b(are)h(t)m(w)m(o)h(kind)e(of)h(prop) s(erties.)62 b(The)38 b(\014rst,)h(a)f(\\data)h(prop)s(ert)m(y")e(is)h (the)g(simplest)g(to)h(un-)150 1424 y(derstand)k(b)s(ecause)i(it)f (normally)h(refers)e(to)i(short)f(strings.)82 b(F)-8 b(or)45 b(example,)k(the)44 b(prop)s(ert)m(y)g(called)150 1533 y Fo(GSASL_AUTHID)27 b Fu(corresp)s(ond)i(to)i(the)g(username)f (string,)g(e.g.,)i Fo(simon)p Fu(.)275 1666 y(The)h(latter)i(prop)s (erties,)f(called)h(\\logical)h(prop)s(erties",)f(are)f(used)f(b)m(y)g (the)h(serv)m(er)g(to)g(mak)m(e)h(a)f(au-)150 1775 y(then)m(tication)41 b(decision,)h(and)c(is)h(used)g(as)g(a)g(w)m(a)m(y)h(to)g(get)g(the)f (application)h(callbac)m(k)h(in)m(v)m(ok)m(ed.)68 b(F)-8 b(or)150 1885 y(example,)37 b(the)e(prop)s(ert)m(y)f Fo(GSASL_VALIDATE_SIMPLE)29 b Fu(is)34 b(used)g(b)m(y)h(the)g(serv)m (er-side)g(part)g(of)g(mec)m(ha-)150 1995 y(nisms)d(lik)m(e)i Fo(PLAIN)p Fu(.)46 b(The)32 b(purp)s(ose)f(is)i(to)g(ask)g(the)g(serv)m (er)f(application)i(to)g(decide)f(whether)f(the)h(user)150 2104 y(should)e(b)s(e)h(authen)m(ticated)i(successfully)e(or)g(not.)47 b(The)32 b(callbac)m(k)i(t)m(ypically)g(lo)s(ok)f(at)g(other)g(prop)s (ert)m(y)150 2214 y(\014elds,)26 b(suc)m(h)f(as)g Fo(GSASL_AUTHID)d Fu(and)i Fo(GSASL_PASSWORD)p Fu(,)f(and)h(compare)i(those)g(v)-5 b(alues)25 b(with)g(external)150 2323 y(information)31 b(\(for)g(example)h(data)f(stored)g(in)g(a)g(database)h(or)e(on)h(a)g (LD)m(AP)h(serv)m(er\))f(and)f(then)h(return)150 2433 y(OK)f(or)g(not.)390 2566 y Fd(W)-8 b(arning:)39 b Fu(Don't)27 b(exp)s(ect)f(that)h(all)g(mec)m(hanisms)f(in)m(v)m(ok)m(e)i(one)e(of)h (the)f(logical)j(prop)s(erties)390 2675 y(in)h(the)h(serv)m(er)f(mo)s (de.)41 b(F)-8 b(or)31 b(example,)g(the)g(CRAM-MD5)h(and)d(SCRAM-SHA-1) i(mec)m(h-)390 2785 y(anisms)g(will)h(use)g(the)f(data)i(prop)s(erties) e(\(i.e.,)i(username)e(and)g(passw)m(ord\))h(pro)m(vided)f(b)m(y)390 2894 y(the)42 b(application)h(to)f(in)m(ternally)g(decide)g(whether)f (to)h(successfully)g(authen)m(ticate)i(the)390 3004 y(user.)39 b(User)29 b(authorization)h(decisions)f(needs)f(to)h(b)s(e)f(made)g(b)m (y)g(the)h(application)h(outside)390 3114 y(of)h(the)f(SASL)f(mec)m (hanism)i(negotiation.)275 3246 y(The)i(logical)k(prop)s(erties)c(are)h (curren)m(tly)g(only)g(used)g(b)m(y)g(serv)m(ers,)h(but)e(data)i(prop)s (erties)e(are)i(used)150 3356 y(b)m(y)h(b)s(oth)f(clien)m(t)i(and)e (serv)m(ers.)58 b(It)35 b(mak)m(es)i(sense)f(to)g(think)g(ab)s(out)f (the)h(latter)h(category)h(as)e(`)p Fo(server)150 3465 y(properties)p Fu(')28 b(but)h(the)i(rev)m(erse)g(is)g(not)f(v)-5 b(alid)31 b(nor)f(useful.)275 3598 y(The)42 b(seman)m(tics)j(asso)s (ciated)g(with)e(a)h(data)g(prop)s(ert)m(y)f(is)h(di\013eren)m(t)g (when)e(it)i(is)g(used)e(in)h(clien)m(t)150 3708 y(con)m(text)d(and)d (in)h(the)g(serv)m(er)h(con)m(text.)66 b(F)-8 b(or)38 b(example,)j(in)d(the)g(clien)m(t)i(con)m(text,)i(the)c(application)i (is)150 3817 y(exp)s(ected)e(to)g(set)g(the)f(prop)s(ert)m(y)g Fo(GSASL_AUTHID)d Fu(to)k(signal)g(to)g(the)f(mec)m(hanism)h(the)f (username)g(to)150 3927 y(use,)27 b(but)g(in)f(the)h(serv)m(er)g(con)m (text,)j(the)d Fo(GSASL_AUTHID)c Fu(prop)s(ert)m(y)j(is)h(set)h(b)m(y)e (the)h(mec)m(hanism)g(and)g(can)150 4036 y(b)s(e)h(used)g(b)m(y)h(the)g (application)h(\(in)f(the)g(callbac)m(k\))j(to)d(\014nd)e(out)j(what)e (username)h(the)g(clien)m(t)h(pro)m(vided.)275 4169 y(Belo)m(w)40 b(is)e(a)h(list)g(of)g(all)g(prop)s(erties)f(and)g(an)g(explanation)h (for)g(eac)m(h.)66 b(First)38 b(is)h(the)g(list)g(of)f(data)150 4279 y(prop)s(erties:)225 4411 y Fs(\017)60 b Fo(GSASL_AUTHID)330 4544 y Fu(The)30 b(authen)m(tication)i(iden)m(tit)m(y)-8 b(.)225 4677 y Fs(\017)60 b Fo(GSASL_AUTHZID)330 4809 y Fu(The)30 b(authorization)i(iden)m(tit)m(y)-8 b(.)225 4942 y Fs(\017)60 b Fo(GSASL_PASSWORD)330 5075 y Fu(The)30 b(passw)m(ord)g(of)g(the)h(authen)m(tication)h(iden)m(tit)m(y)-8 b(.)225 5207 y Fs(\017)60 b Fo(GSASL_ANONYMOUS_TOKEN)330 5340 y Fu(The)30 b(anon)m(ymous)g(tok)m(en.)42 b(This)30 b(is)g(t)m(ypically)i(the)f(email)g(address)f(of)g(the)h(user.)p eop end %%Page: 23 27 TeXDict begin 23 26 bop 150 -116 a Fu(Chapter)30 b(4:)41 b(Prop)s(erties)2635 b(23)225 299 y Fs(\017)60 b Fo(GSASL_SERVICE)330 431 y Fu(The)36 b(registered)i(GSSAPI)e(service)h(name)g(of)g(the)g (application)h(service,)i(e.g.)60 b(\\imap".)h(While)330 541 y(the)35 b(names)h(are)f(registered)h(for)f(GSSAPI,)g(other)g(mec)m (hanisms)h(suc)m(h)f(as)g(DIGEST-MD5)h(ma)m(y)330 650 y(also)31 b(use)f(this.)225 783 y Fs(\017)60 b Fo(GSASL_HOSTNAME)330 915 y Fu(Should)29 b(b)s(e)h(the)g(lo)s(cal)i(host)e(name)h(of)f(the)h (mac)m(hine.)225 1048 y Fs(\017)60 b Fo(GSASL_GSSAPI_DISPLAY_NAM)o(E) 330 1180 y Fu(Con)m(tain)27 b(the)f(GSSAPI)f(\\displa)m(y)i(name",)h (set)e(b)m(y)g(the)h(serv)m(er)f(GSSAPI)f(mec)m(hanism.)40 b(T)m(ypically)330 1290 y(y)m(ou)25 b(retriev)m(e)i(this)e(prop)s(ert)m (y)f(in)h(y)m(our)g(callbac)m(k,)k(when)24 b(in)m(v)m(ok)m(ed)j(for)d Fo(GSASL_VALIDATE_GSSAPI)p Fu(.)225 1422 y Fs(\017)60 b Fo(GSASL_REALM)330 1555 y Fu(The)25 b(name)g(of)h(the)f(authen)m (tication)j(domain.)39 b(This)25 b(is)g(used)g(b)m(y)g(sev)m(eral)i (mec)m(hanisms,)f(including)330 1664 y(DIGEST-MD5,)32 b(GSS-API,)e(KERBER)m(OS)p 1905 1664 28 4 v 39 w(V5)h(and)f(NTLM.)225 1797 y Fs(\017)60 b Fo(GSASL_PASSCODE)330 1929 y Fu(The)30 b(SecurID)g(passco)s(de.)225 2061 y Fs(\017)60 b Fo(GSASL_PIN)330 2194 y Fu(The)30 b(SecurID)g(p)s(ersonal)g(iden)m(ti\014cation)i(n)m (um)m(b)s(er)d(\(PIN\).)225 2326 y Fs(\017)60 b Fo(GSASL_SUGGESTED_PIN) 330 2459 y Fu(A)30 b(SecurID)g(p)s(ersonal)g(iden)m(ti\014cation)i(n)m (um)m(b)s(er)d(\(PIN\))i(suggested)g(b)m(y)g(the)f(serv)m(er.)225 2591 y Fs(\017)60 b Fo(GSASL_DIGEST_MD5_HASHED_)o(PASS)o(WORD)330 2724 y Fu(F)-8 b(or)33 b(the)g(DIGEST-MD5)h(mec)m(hanism,)g(this)e(is)h (a)g(hashed)f(passw)m(ord.)47 b(It)33 b(is)f(used)g(in)g(serv)m(ers)h (to)330 2833 y(a)m(v)m(oid)f(storing)f(clear-text)i(creden)m(tials.)225 2966 y Fs(\017)60 b Fo(GSASL_QOPS)330 3098 y Fu(The)26 b(DIGEST-MD5)h(serv)m(er)f(query)g(for)g(this)f(prop)s(ert)m(y)h(to)h (get)g(the)f(set)h(of)f(qualit)m(y)h(of)g(protection)330 3208 y(\(QOP\))c(v)-5 b(alues)24 b(to)g(adv)m(ertise.)40 b(The)23 b(prop)s(ert)m(y)g(holds)g(strings)g(with)g(comma)i(separated) f(k)m(eyw)m(ords)330 3317 y(denoting)33 b(the)g(set)g(of)g(qops)f(to)i (use,)f(for)f(example)i Fo(qop-auth,)27 b(qop-int)p Fu(.)46 b(V)-8 b(alid)34 b(k)m(eyw)m(ords)f(are)330 3427 y Fo(qop-auth)p Fu(,)28 b Fo(qop-int)p Fu(,)h(and)h Fo(qop-conf)p Fu(.)225 3559 y Fs(\017)60 b Fo(GSASL_QOP)330 3692 y Fu(The)22 b(DIGEST-MD5)i(clien)m(t)g(query)e(for)h(this)f(prop)s(ert)m(y)g(to)i (get)g(the)e(qualit)m(y)i(of)f(protection)h(\(QOP\))330 3801 y(v)-5 b(alues)39 b(to)g(request.)66 b(The)38 b(prop)s(ert)m(y)g (v)-5 b(alue)40 b(is)e(one)h(of)g(the)g(k)m(eyw)m(ords)g(for)g Fo(GSASL_QOPS)p Fu(.)62 b(The)330 3911 y(clien)m(t)29 b(m)m(ust)d(c)m(hose)i(one)f(of)h(the)f(QOP)f(v)-5 b(alues)27 b(o\013ered)g(b)m(y)g(the)g(serv)m(er)g(\(whic)m(h)g(ma)m(y)h(b)s(e)e (insp)s(ected)330 4020 y(through)k(the)g Fo(GSASL_QOPS)e Fu(prop)s(ert)m(y\).)225 4153 y Fs(\017)60 b Fo (GSASL_SCRAM_SALTED_PASSW)o(ORD)330 4285 y Fu(The)32 b(SCRAM-SHA-1)h(clien)m(t)h(requests)f(this)f(prop)s(ert)m(y)g(from)g (the)h(application,)i(and)d(the)g(v)-5 b(alue)330 4395 y(should)27 b(b)s(e)h(40)h(c)m(haracter)h(long)f(hex-enco)s(ded)f (string)g(with)g(the)g(user's)g(hashed)f(passw)m(ord.)40 b(Note)330 4504 y(that)35 b(the)f(v)-5 b(alue)35 b(is)f(di\013eren)m(t) h(for)f(the)g(same)h(passw)m(ord)e(for)h(eac)m(h)i(v)-5 b(alue)34 b(of)h(the)f Fo(GSASL_SCRAM_)330 4614 y(ITER)c Fu(and)g Fo(GSASL_SCRAM_ITER)d Fu(prop)s(erties.)42 b(The)30 b(prop)s(ert)m(y)g(can)i(b)s(e)e(used)g(to)i(a)m(v)m(oid)g(storing)g(a) 330 4724 y(clear-text)38 b(creden)m(tial)f(in)d(the)i(clien)m(t.)57 b(If)35 b(the)g(prop)s(ert)m(y)g(is)g(not)h(a)m(v)-5 b(ailable,)39 b(the)c(clien)m(t)i(will)f(ask)330 4833 y(for)30 b(the)h Fo(GSASL_PASSWORD)26 b Fu(prop)s(ert)m(y)k(instead.) 225 4966 y Fs(\017)60 b Fo(GSASL_SCRAM_ITER)225 5098 y Fs(\017)g Fo(GSASL_SCRAM_ITER)330 5230 y Fu(In)35 b(the)g(serv)m(er,) j(the)d(application)i(can)f(set)g(these)g(prop)s(erties)f(to)h (in\015uence)f(the)h(hash)e(iteration)330 5340 y(coun)m(t)39 b(and)f(hash)g(salt)h(to)h(use)e(when)g(deriving)g(the)h(passw)m(ord.) 65 b(The)38 b(default)h(hash)e(iteration)p eop end %%Page: 24 28 TeXDict begin 24 27 bop 150 -116 a Fu(Chapter)30 b(4:)41 b(Prop)s(erties)2635 b(24)330 299 y(coun)m(t)27 b(is)g(4096)h(and)e (normally)h(y)m(ou)g(should)e(not)i(need)f(to)i(use)e(a)h(lo)m(w)m(er)h (setting.)40 b(The)26 b(salt)i(should)330 408 y(b)s(e)i(a)g(random)g (string.)40 b(In)30 b(the)g(clien)m(t,)i(the)f(SCRAM-SHA-1)f(mec)m (hanism)h(set)g(these)g(prop)s(erties)330 518 y(b)s(efore)h(asking)h (for)g(asking)g(the)g(application)h(to)f(pro)m(vide)g(a)g Fo(GSASL_SCRAM_SALTED_PASSWOR)o(D)330 628 y Fu(v)-5 b(alue.)225 760 y Fs(\017)60 b Fo(GSASL_CB_TLS_UNIQUE)330 893 y Fu(This)35 b(prop)s(ert)m(y)f(holds)h(base64)i(enco)s(ded)e Fo(tls-unique)d Fu(c)m(hannel)k(binding)e(data.)57 b(As)35 b(a)h(hin)m(t,)h(if)330 1003 y(y)m(ou)30 b(use)f(Gn)m(uTLS,)g(the)g(API)h Fo (gnutls_session_channel_)o(bin)o(ding)23 b Fu(can)30 b(b)s(e)e(used)h(to)h(extract)330 1112 y(c)m(hannel)h(bindings)e(for)h (a)h(session.)225 1245 y Fs(\017)60 b Fo(GSASL_SAML20_IDP_IDENTIF)o (IER)330 1377 y Fu(This)24 b(prop)s(ert)m(y)g(holds)h(the)g(SAML)f (iden)m(ti\014er)h(of)g(the)h(user.)38 b(The)24 b(SAML20)i(mec)m (hanism)f(in)f(clien)m(t)330 1487 y(mo)s(de)36 b(will)g(send)f(it)i(to) f(the)h(other)f(end)f(for)h(iden)m(ti\014cation)i(purp)s(oses,)d(and)h (in)g(serv)m(er)g(mo)s(de)f(it)330 1597 y(will)c(b)s(e)e(accessible)k (in)d(the)g Fo(GSASL_SAML20_REDIRECT_URL)24 b Fu(callbac)m(k.)225 1729 y Fs(\017)60 b Fo(GSASL_SAML20_REDIRECT_UR)o(L)51 b Fu(This)56 b(prop)s(ert)m(y)g(holds)g(the)h(SAML)g(redirect)g(URL)f (that)330 1839 y(the)49 b(serv)m(er)g(w)m(an)m(ts)g(the)g(clien)m(t)h (to)g(access.)97 b(It)48 b(will)h(b)s(e)f(a)m(v)-5 b(ailable)51 b(in)e(the)g Fo(GSASL_SAML20_)330 1948 y(AUTHENTICATE_IN_BROWSER)24 b Fu(callbac)m(k)33 b(for)d(the)g(clien)m(t.)225 2081 y Fs(\017)60 b Fo(GSASL_OPENID20_REDIRECT_)o(URL)38 b Fu(This)44 b(prop)s(ert)m(y)h(holds)f(the)h(SAML)f(redirect)i(URL)e (that)330 2191 y(the)e(serv)m(er)h(w)m(an)m(ts)g(the)g(clien)m(t)g(to)g (access.)78 b(It)43 b(will)f(b)s(e)g(a)m(v)-5 b(ailable)45 b(in)d(the)g Fo(GSASL_OPENID20_)330 2300 y(AUTHENTICATE_IN_BROWSER)24 b Fu(callbac)m(k)33 b(for)d(the)g(clien)m(t.)225 2433 y Fs(\017)60 b Fo(GSASL_OPENID20_OUTCOME_D)o(ATA)38 b Fu(Op)s(enID)44 b(2.0)i(authen)m(tication)h(outcome)f(data.)84 b(This)44 b(is)330 2543 y(either)g(the)g(Op)s(enID)e(SREG)i(v)-5 b(alues)44 b(or)f(a)h(v)-5 b(alue)45 b(list)f(starting)g(with)g Fo("openid.error=")39 b Fu(to)330 2652 y(signal)31 b(error.)275 2808 y(Next)23 b(follo)m(ws)i(a)e(list)h(of)f(data)h(prop)s(erties)e (used)h(to)g(trigger)i(the)e(callbac)m(k,)k(t)m(ypically)e(used)d(in)h (serv)m(ers)150 2917 y(to)31 b(v)-5 b(alidate)32 b(clien)m(t)g(creden)m (tials:)225 3050 y Fs(\017)60 b Fo(GSASL_VALIDATE_SIMPLE)330 3183 y Fu(Used)34 b(b)m(y)g(m)m(ultiple)h(mec)m(hanisms)g(in)f(serv)m (er)g(mo)s(de.)52 b(The)34 b(callbac)m(k)j(ma)m(y)d(retriev)m(e)i(the)f Fo(GSASL_)330 3292 y(AUTHID)p Fu(,)d Fo(GSASL_AUTHZID)d Fu(and)j Fo(GSASL_PASSWORD)d Fu(prop)s(ert)m(y)k(v)-5 b(alues)33 b(and)f(use)h(them)f(to)i(mak)m(e)330 3402 y(an)c(authen)m(tication)j(and)d(authorization)h(decision.)225 3535 y Fs(\017)60 b Fo(GSASL_VALIDATE_EXTERNAL)330 3667 y Fu(Used)50 b(b)m(y)g(EXTERNAL)g(mec)m(hanism)h(on)f(the)g(serv)m(er)h (side)f(to)h(v)-5 b(alidate)52 b(the)e(clien)m(t.)102 b(The)330 3777 y(GSASL)p 634 3777 28 4 v 39 w(A)m(UTHID)32 b(will)e(con)m(tain)i(the)f(authorization)g(iden)m(tit)m(y)h(of)f(the)f (clien)m(t.)225 3910 y Fs(\017)60 b Fo(GSASL_VALIDATE_ANONYMOUS)330 4042 y Fu(Used)43 b(b)m(y)g(ANONYMOUS)h(mec)m(hanism)f(on)g(the)h(serv) m(er)f(side)g(to)h(v)-5 b(alidate)45 b(the)f(clien)m(t.)80 b(The)330 4152 y(GSASL)p 634 4152 V 39 w(ANONYMOUS)p 1289 4152 V 41 w(TOKEN)29 b(will)i(con)m(tain)g(tok)m(en)h(that)f(iden) m(tit)m(y)h(the)e(clien)m(t.)225 4284 y Fs(\017)60 b Fo(GSASL_VALIDATE_GSSAPI)330 4417 y Fu(Used)35 b(b)m(y)f(the)h(GSSAPI)f (and)g(GS2-KRB5)i(mec)m(hanisms)f(on)g(the)g(serv)m(er)g(side,)h(to)f (v)-5 b(alidate)37 b(the)330 4527 y(clien)m(t.)58 b(Y)-8 b(ou)36 b(ma)m(y)g(retriev)m(e)h(the)f(authorization)h(iden)m(tit)m(y)g (from)e(GSASL)p 2947 4527 V 40 w(A)m(UTHZID)h(and)f(the)330 4636 y(GSS-API)30 b(displa)m(y)g(name)h(from)f(GSASL)p 1796 4636 V 39 w(GSSAPI)p 2171 4636 V 39 w(DISPLA)-8 b(Y)p 2610 4636 V 41 w(NAME.)225 4769 y Fs(\017)60 b Fo(GSASL_VALIDATE_SECURID)330 4902 y Fu(Used)72 b(b)m(y)f(SECURID)g (mec)m(hanism)h(on)g(the)g(serv)m(er)g(side)f(to)i(v)-5 b(alidate)73 b(clien)m(t.)166 b(The)330 5011 y(GSASL)p 634 5011 V 39 w(A)m(UTHID,)29 b(GSASL)p 1394 5011 V 39 w(A)m(UTHZID,)f(GSASL)p 2209 5011 V 40 w(P)-8 b(ASSCODE,)26 b(and)h(GSASL)p 3264 5011 V 40 w(PIN)g(will)h(b)s(e)330 5121 y(set.)74 b(It)41 b(can)h(return)e(GSASL)p 1420 5121 V 40 w(SECURID)p 1876 5121 V 39 w(SER)-10 b(VER)p 2282 5121 V 39 w(NEED)p 2582 5121 V 41 w(ADDITIONAL)p 3225 5121 V 40 w(P)i(ASSCODE)330 5230 y(to)21 b(ask)g(the)f(clien)m(t)i (to)f(supply)e(another)h(passco)s(de,)j(and)c(GSASL)p 2532 5230 V 40 w(SECURID)p 2988 5230 V 39 w(SER)-10 b(VER)p 3394 5230 V 39 w(NEED)p 3694 5230 V 41 w(NEW)p 3958 5230 V 40 w(PIN)330 5340 y(to)31 b(require)f(the)h(clien)m(t)h(to)f(supply)e (a)h(new)g(PIN)h(co)s(de.)p eop end %%Page: 25 29 TeXDict begin 25 28 bop 3659 -116 a Fu(25)225 299 y Fs(\017)60 b Fo(GSASL_VALIDATE_SAML20)330 433 y Fu(Used)39 b(b)m(y)g(the)h(SAML20) g(mec)m(hanism)f(on)g(the)h(serv)m(er)f(side)g(to)h(request)f(that)h (the)g(application)330 543 y(p)s(erform)d(authen)m(tication.)68 b(The)38 b(callbac)m(k)j(should)d(return)g Fo(GSASL_OK)e Fu(if)j(the)g(user)f(should)g(b)s(e)330 653 y(p)s(ermitted)g(access,)43 b(and)38 b Fo(GSASL_AUTHENTICATION_ERROR)32 b Fu(\(or)39 b(another)g(error)g(co)s(de\))g(other-)330 762 y(wise.)225 897 y Fs(\017)60 b Fo(GSASL_VALIDATE_OPENID20)330 1031 y Fu(Used)31 b(b)m(y)g(the)g(OPENID20)h(mec)m(hanism)f(on)g(the)g(serv) m(er)h(side)f(to)h(request)f(that)g(the)h(application)330 1141 y(p)s(erform)37 b(authen)m(tication.)68 b(The)38 b(callbac)m(k)j(should)d(return)g Fo(GSASL_OK)e Fu(if)j(the)g(user)f (should)g(b)s(e)330 1250 y(p)s(ermitted)g(access,)43 b(and)38 b Fo(GSASL_AUTHENTICATION_ERROR)32 b Fu(\(or)39 b(another)g(error)g(co)s(de\))g(other-)330 1360 y(wise.)225 1494 y Fs(\017)60 b Fo(GSASL_SAML20_AUTHENTICAT)o(E_IN)o(_BRO)o(WSE)o (R)36 b Fu(Used)43 b(b)m(y)f(the)g(SAML20)h(mec)m(hanism)g(in)f(the)330 1604 y(clien)m(t)25 b(side)f(to)h(request)e(that)i(the)f(clien)m(t)h (should)e(launc)m(h)h(the)g(SAML)f(redirect)i(URL)e(\(the)i Fo(GSASL_)330 1714 y(SAML20_REDIRECT_URL)g Fu(prop)s(ert)m(y\))30 b(in)g(a)h(bro)m(wser)f(to)h(con)m(tin)m(ue)h(with)e(authen)m (tication.)225 1848 y Fs(\017)60 b Fo(GSASL_OPENID20_AUTHENTIC)o(ATE_)o (IN_B)o(ROW)o(SER)30 b Fu(Used)37 b(b)m(y)g(the)g(OPENID20)g(mec)m (hanism)g(in)330 1958 y(the)31 b(clien)m(t)i(side)e(to)h(request)f (that)h(the)f(clien)m(t)i(should)d(launc)m(h)h(the)g(Op)s(enID)f (redirect)h(URL)g(\(the)330 2067 y Fo(GSASL_OPENID20_REDIRECT_)o(URL)f Fu(prop)s(ert)m(y\))36 b(in)g(a)g(bro)m(wser)g(to)h(con)m(tin)m(ue)g (with)f(authen)m(tica-)330 2177 y(tion.)p eop end %%Page: 26 30 TeXDict begin 26 29 bop 3659 -116 a Fu(26)150 299 y Fr(5)80 b(Mec)l(hanisms)150 558 y Fu(Di\013eren)m(t)42 b(SASL)d(mec)m(hanisms)i (ha)m(v)m(e)h(di\013eren)m(t)f(requiremen)m(ts)g(on)f(the)h (application)h(using)e(it.)71 b(T)-8 b(o)150 667 y(handle)41 b(these)g(di\013erences)g(the)g(library)g(can)g(use)g(a)g(callbac)m(k)i (function)e(in)m(to)h(y)m(our)f(application)h(in)150 777 y(sev)m(eral)36 b(di\013eren)m(t)f(w)m(a)m(ys.)54 b(Some)34 b(mec)m(hanisms,)i(suc)m(h)e(as)h(`)p Fo(PLAIN)p Fu(',)g(are)g(simple)f(to)h(explain)g(and)f(use.)150 886 y(The)23 b(clien)m(t)i(callbac)m(k)h(queries)d(the)h(user)e(for)i (a)f(username)g(and)g(passw)m(ord.)38 b(The)23 b(serv)m(er)h(callbac)m (k)h(hands)150 996 y(the)34 b(username)g(and)f(passw)m(ord)h(in)m(to)h (an)m(y)g(lo)s(cal)g(p)s(olicy)f(deciding)h(authen)m(tication)h(system) e(\(suc)m(h)h(as)150 1105 y Fo(/etc/passwd)27 b Fu(via)k(P)-8 b(AM\).)275 1248 y(Mec)m(hanism)37 b(suc)m(h)g(as)g(`)p Fo(CRAM-MD5)p Fu(')e(and)h(`)p Fo(SCRAM-SHA-1)p Fu(')e(uses)i(hashed)g (passw)m(ords.)59 b(The)36 b(clien)m(t)150 1358 y(callbac)m(k)28 b(b)s(eha)m(viour)d(is)h(the)f(same)h(as)g(for)g(PLAIN.)f(Ho)m(w)m(ev)m (er,)k(the)d(serv)m(er)g(do)s(es)f(not)h(receiv)m(e)h(the)f(plain)150 1467 y(text)f(passw)m(ord)e(o)m(v)m(er)i(the)f(net)m(w)m(ork)g(but)f (rather)h(a)g(hash)f(of)h(it.)39 b(Existing)24 b(p)s(olicy)g(deciding)g (systems)g(lik)m(e)150 1577 y(P)-8 b(AM)26 b(cannot)g(handle)f(this,)h (so)g(the)f(serv)m(er)h(callbac)m(k)h(for)f(these)f(mec)m(hanisms)h (are)g(more)f(complicated.)275 1720 y(F)-8 b(urther,)29 b(mec)m(hanisms)h(lik)m(e)h(GSSAPI/GS2-KRB5)f(\(Kerb)s(eros)f(5\))h (assume)g(a)g(sp)s(eci\014c)f(authen)m(ti-)150 1829 y(cation)g(system.) 41 b(In)27 b(theory)h(this)g(means)g(that)h(the)f(SASL)f(library)h(w)m (ould)g(not)g(need)g(to)g(in)m(teract)i(with)150 1939 y(the)g(application,)i(but)d(rather)h(call)h(this)f(sp)s(eci\014c)f (authen)m(tication)j(system)f(directly)-8 b(.)41 b(Ho)m(w)m(ev)m(er,)33 b(some)150 2048 y(callbac)m(ks)c(are)e(supp)s(orted)e(an)m(yw)m(a)m(y) -8 b(,)30 b(to)d(mo)s(dify)g(the)g(b)s(eha)m(viour)f(of)h(ho)m(w)g(the) g(sp)s(eci\014c)g(authen)m(tication)150 2158 y(system)k(is)f(used)g (\(i.e.,)i(to)f(handle)f(\\sup)s(er-user")f(login)i(as)g(some)g(other)f (user\).)275 2301 y(Some)c(mec)m(hanisms,)i(lik)m(e)g(`)p Fo(EXTERNAL)p Fu(')d(and)g(`)p Fo(ANONYMOUS)p Fu(')g(are)i(en)m(tirely) h(dep)s(enden)m(t)d(on)i(callbac)m(ks.)150 2554 y Ft(5.1)68 b(The)45 b(EXTERNAL)f(mec)l(hanism)150 2713 y Fu(The)23 b(EXTERNAL)g(mec)m(hanism)h(is)g(used)e(to)j(authen)m(ticate)g(a)f (user)f(to)i(a)e(serv)m(er)h(based)f(on)h(out-of-band)150 2823 y(authen)m(tication.)42 b(EXTERNAL)28 b(is)h(t)m(ypically)h(used)e (o)m(v)m(er)i(TLS)d(authen)m(ticated)j(c)m(hannels.)41 b(Note)29 b(that)150 2932 y(in)d(the)h(serv)m(er,)h(y)m(ou)e(need)h(to) g(mak)m(e)g(sure)f(that)h(TLS)f(actually)i(authen)m(ticated)g(the)f (clien)m(t)h(successfully)150 3042 y(and)37 b(that)h(the)g(negotiated)i (ciphersuite)e(and)f(other)h(parameters)f(are)i(acceptable.)64 b(It)38 b(is)g(generally)150 3151 y(not)j(su\016cien)m(t)g(that)g(TLS)e (is)h(used,)j(since)d(TLS)g(supp)s(orts)e(anon)m(ymous)j(and)e(other)i (v)-5 b(arian)m(ts)41 b(that)150 3261 y(generally)32 b(pro)m(vide)e(less)h(assurance)f(than)g(y)m(ou)h(normally)g(w)m(an)m (t.)275 3404 y(In)38 b(the)i(clien)m(t,)k(this)c(mec)m(hanism)g(is)f (alw)m(a)m(ys)i(enabled,)i(and)c(it)h(will)g(send)f(the)h Fo(GSASL_AUTHZID)150 3513 y Fu(prop)s(ert)m(y)32 b(as)h(the)f (authorization)i(name)f(to)g(the)g(serv)m(er,)h(if)e(the)h(prop)s(ert)m (y)f(is)g(set.)48 b(If)32 b(the)h(prop)s(ert)m(y)f(is)150 3623 y(not)f(set,)g(an)f(empt)m(y)h(authorization)h(name)e(is)h(sen)m (t.)41 b(Y)-8 b(ou)31 b(need)f(not)g(implemen)m(t)h(a)g(callbac)m(k.) 275 3765 y(In)23 b(the)h(serv)m(er,)i(this)e(mec)m(hanism)g(will)h (request)f(the)g Fo(GSASL_VALIDATE_EXTERNAL)17 b Fu(callbac)m(k)27 b(prop-)150 3875 y(ert)m(y)34 b(to)g(decide)f(whether)f(the)i(clien)m (t)g(is)f(authen)m(ticated)i(and)e(authorized)g(to)h(log)g(in.)49 b(Y)-8 b(our)33 b(callbac)m(k)150 3985 y(can)26 b(retriev)m(e)i(the)e Fo(GSASL_AUTHZID)c Fu(prop)s(ert)m(y)j(to)i(insp)s(ect)f(the)g (requested)g(authorization)h(name)f(from)150 4094 y(the)31 b(clien)m(t.)275 4237 y(The)j(EXTERNAL)g(mec)m(hanism)h(w)m(as)g (initially)h(sp)s(eci\014ed)e(in)h(the)g(core)g(SASL)f(framew)m(ork)h (RF)m(C)150 4347 y(2222)d(and)e(later)h(revised)g(in)f(RF)m(C)g(4422.) 150 4600 y Ft(5.2)68 b(The)45 b(ANONYMOUS)f(mec)l(hanism)150 4759 y Fu(The)38 b(ANONYMOUS)h(mec)m(hanism)f(is)h(used)f(to)h (\\authen)m(ticate")i(clien)m(ts)f(to)g(anon)m(ymous)e(services;)150 4869 y(or)e(rather,)h(just)e(indicate)i(that)f(the)g(clien)m(t)h (wishes)e(to)h(use)g(the)g(service)g(anon)m(ymously)-8 b(.)57 b(The)35 b(clien)m(t)150 4978 y(sends)25 b(a)h(tok)m(en,)j (usually)c(her)h(email)h(address,)f(whic)m(h)g(serv)m(e)g(the)h(purp)s (ose)d(of)i(some)g(trace)i(information)150 5088 y(suitable)j(for)f (logging.)43 b(The)29 b(tok)m(en)j(cannot)f(b)s(e)f(empt)m(y)-8 b(.)275 5230 y(In)35 b(the)h(clien)m(t,)k(this)c(mec)m(hanism)h(is)f (alw)m(a)m(ys)i(enabled,)f(and)f(will)h(send)e(the)h Fo(GSASL_ANONYMOUS_)150 5340 y(TOKEN)29 b Fu(prop)s(ert)m(y)h(as)g(the) h(trace)g(information)g(to)g(the)g(serv)m(er.)p eop end %%Page: 27 31 TeXDict begin 27 30 bop 150 -116 a Fu(Chapter)30 b(5:)41 b(Mec)m(hanisms)2564 b(27)275 299 y(In)35 b(the)h(serv)m(er,)i(this)e (mec)m(hanism)g(will)h(in)m(v)m(ok)m(e)g(the)g Fo (GSASL_VALIDATE_ANONYMOU)o(S)30 b Fu(callbac)m(k)38 b(to)150 408 y(decide)i(whether)f(the)g(clien)m(t)j(should)c(b)s(e)h(p)s (ermitted)g(to)h(log)h(in.)68 b(Y)-8 b(our)39 b(callbac)m(k)j(can)e (retriev)m(e)h(the)150 518 y Fo(GSASL_ANONYMOUS_TOKEN)35 b Fu(prop)s(ert)m(y)40 b(to,)45 b(for)c(example,)j(record)d(it)h(in)e (a)i(log)g(\014le.)72 b(The)41 b(tok)m(en)h(is)150 628 y(normally)31 b(not)f(used)g(to)h(decide)g(whether)e(the)i(clien)m(t)h (should)d(b)s(e)h(p)s(ermitted)g(to)h(log)h(in)e(or)g(not.)275 771 y(The)e(ANONYMOUS)i(mec)m(hanism)g(w)m(as)f(initially)i(sp)s (eci\014ed)e(in)g(RF)m(C)h(2245)h(and)e(later)h(revised)f(in)150 880 y(RF)m(C)i(4505.)150 1134 y Ft(5.3)68 b(The)45 b(PLAIN)f(mec)l (hanism)150 1294 y Fu(The)h(PLAIN)g(mec)m(hanism)h(uses)f(username)g (and)f(passw)m(ord)h(to)h(authen)m(ticate)i(users.)85 b(Tw)m(o)46 b(user)150 1403 y(names)34 b(are)h(relev)-5 b(an)m(t.)53 b(The)34 b(\014rst,)h(the)f(authen)m(tication)i(iden)m (tit)m(y)-8 b(,)38 b(indicates)d(the)f(creden)m(tial)i(holder,)150 1513 y(i.e.,)42 b(whom)d(the)g(pro)m(vided)g(passw)m(ord)f(b)s(elongs)h (to.)67 b(The)38 b(second,)k(the)d(authorization)i(iden)m(tit)m(y)-8 b(,)43 b(is)150 1623 y(t)m(ypically)29 b(empt)m(y)f(to)g(indicate)h (that)f(the)g(user)f(requests)g(to)h(log)h(on)e(to)i(the)e(serv)m(er)h (as)g(herself)f(\(i.e.,)j(the)150 1732 y(authen)m(tication)d(iden)m (tit)m(y\).)41 b(If)25 b(the)g(authorization)i(iden)m(tit)m(y)f(is)f (not)h(empt)m(y)-8 b(,)27 b(the)e(serv)m(er)g(should)g(decide)150 1842 y(whether)32 b(the)g(authen)m(ticated)i(user)d(ma)m(y)i(log)g(on)f (as)h(the)f(authorization)i(iden)m(tit)m(y)-8 b(.)48 b(This)31 b(is)h(t)m(ypically)150 1951 y(used)e(for)g(sup)s(er-user)e (accoun)m(ts)k(lik)m(e)f(`)p Fo(admin)p Fu(')f(to)h(tak)m(e)h(on)e(the) h(role)g(of)f(a)h(regular)g(user.)275 2095 y(In)42 b(the)h(clien)m(t,) 49 b(this)43 b(mec)m(hanism)g(is)g(alw)m(a)m(ys)i(enabled,)i(and)42 b(require)h(the)h Fo(GSASL_AUTHID)c Fu(and)150 2204 y Fo(GSASL_PASSWORD)26 b Fu(prop)s(erties.)41 b(If)30 b(set,)h Fo(GSASL_AUTHZID)26 b Fu(will)31 b(also)g(b)s(e)f(used.)275 2347 y(In)35 b(the)i(serv)m(er,)i(the)e(mec)m(hanism)f(is)h(alw)m(a)m (ys)h(enabled.)59 b(Tw)m(o)37 b(approac)m(hes)g(to)h(authen)m(ticate)h (and)150 2457 y(authorize)31 b(the)g(clien)m(t)h(are)f(pro)m(vided.)275 2600 y(In)22 b(the)i(\014rst)e(approac)m(h,)k(the)d(serv)m(er)h(side)f (of)g(the)h(mec)m(hanism)g(will)f(request)h(the)f Fo(GSASL_VALIDATE_) 150 2710 y(SIMPLE)40 b Fu(callbac)m(k)k(prop)s(ert)m(y)e(to)g(decide)g (whether)g(the)g(clien)m(t)h(should)e(b)s(e)h(accepted)h(or)f(not.)75 b(The)150 2819 y(callbac)m(k)30 b(ma)m(y)f(insp)s(ect)f(the)h Fo(GSASL_AUTHID)p Fu(,)d Fo(GSASL_AUTHZID)p Fu(,)f(and)j Fo(GSASL_PASSWORD)c Fu(prop)s(erties.)150 2929 y(These)30 b(prop)s(ert)m(y)g(v)-5 b(alues)31 b(will)f(b)s(e)g(normalized.)275 3072 y(If)55 b(the)i(\014rst)e(approac)m(h)i(fails)g(\(b)s(ecause)g (there)f(is)g(no)h(callbac)m(k)h(or)e(y)m(our)h(callbac)m(k)h(returns) 150 3182 y(`)p Fo(GSASL_NO_CALLBACK)p Fu(')31 b(to)36 b(signal)g(that)f(it)h(do)s(es)f(not)g(implemen)m(t)h Fo(GSASL_VALIDATE_SIMPLE)p Fu(\))30 b(the)150 3291 y(mec)m(hanism)h (will)f(con)m(tin)m(ue)i(to)f(query)f(the)h(application)g(for)f(a)h (passw)m(ord,)f(via)h(the)g Fo(GSASL_PASSWORD)150 3401 y Fu(prop)s(ert)m(y)-8 b(.)85 b(Y)-8 b(our)46 b(callbac)m(k)h(ma)m(y)f (use)f(the)h Fo(GSASL_AUTHID)c Fu(and)j Fo(GSASL_AUTHZID)c Fu(prop)s(erties)k(to)150 3511 y(select)36 b(the)f(prop)s(er)d(passw)m (ord.)53 b(The)33 b(passw)m(ord)h(is)h(then)f(normalized)g(and)g (compared)h(to)g(the)f(clien)m(t)150 3620 y(creden)m(tial.)275 3763 y(Whic)m(h)c(approac)m(h)g(to)h(use?)40 b(If)30 b(y)m(our)g(database)h(stores)f(hashed)f(passw)m(ords,)h(y)m(ou)g(ha)m (v)m(e)h(no)f(option,)150 3873 y(but)f(m)m(ust)h(use)g(the)g(\014rst)f (approac)m(h.)41 b(If)30 b(passw)m(ords)f(in)h(y)m(our)g(user)f (database)i(are)f(stored)g(in)g(prepared)150 3983 y(\(SASLprep\))f (form,)h(the)h(\014rst)f(approac)m(h)g(will)h(b)s(e)f(faster.)41 b(If)30 b(y)m(ou)h(do)f(not)h(ha)m(v)m(e)g(prepared)f(passw)m(ords)150 4092 y(a)m(v)-5 b(ailable,)31 b(y)m(ou)e(can)f(use)g(the)g(second)g (approac)m(h)h(to)g(mak)m(e)g(sure)e(the)i(passw)m(ord)e(is)h(prepared) f(prop)s(erly)150 4202 y(b)s(efore)j(comparison.)275 4345 y(The)37 b(PLAIN)g(mec)m(hanism)i(w)m(as)f(initially)h(sp)s (eci\014ed)e(in)h(RF)m(C)g(2595)h(and)f(later)g(revised)g(in)g(RF)m(C) 150 4455 y(4616.)150 4709 y Ft(5.4)68 b(The)45 b(LOGIN)f(mec)l(hanism) 150 4868 y Fu(The)27 b(LOGIN)h(mec)m(hanism)g(is)f(a)i(non-standard)d (mec)m(hanism,)j(and)e(is)h(similar)g(to)g(the)g(PLAIN)g(mec)m(ha-)150 4978 y(nism)f(except)h(that)h(LOGIN)e(lac)m(ks)i(the)f(supp)s(ort)d (for)j(authorization)h(iden)m(tities.)41 b(Alw)m(a)m(ys)29 b(use)e(PLAIN)150 5087 y(instead)k(of)f(LOGIN)g(in)g(new)g (applications.)275 5230 y(The)25 b(callbac)m(k)k(b)s(eha)m(viour)c(is)i (the)f(same)h(as)f(for)g(PLAIN,)g(except)h(that)g Fo(GSASL_AUTHZID)c Fu(is)j(neither)150 5340 y(used)k(nor)f(required,)h(and)g(that)h(the)g (serv)m(er)f(do)s(es)g(not)h(normalize)g(the)g(passw)m(ord)f(using)f (SASLprep.)p eop end %%Page: 28 32 TeXDict begin 28 31 bop 150 -116 a Fu(Chapter)30 b(5:)41 b(Mec)m(hanisms)2564 b(28)275 299 y(See)35 b(Section)i(A.2)f([Use)g(of) g(SASLprep)d(in)j(LOGIN],)g(page)g(75,)i(for)d(a)h(prop)s(osed)e (clari\014cation)k(of)150 408 y(the)31 b(in)m(terpretation)g(of)g(a)g (h)m(yp)s(othetical)g(LOGIN)g(sp)s(eci\014cation.)150 667 y Ft(5.5)68 b(The)45 b(CRAM-MD5)f(mec)l(hanism)150 827 y Fu(CRAM-MD5)e(is)e(a)h(widely)f(used)g(c)m(hallenge-resp)s(onse)h (mec)m(hanism)g(that)g(transfers)f(hashed)f(pass-)150 936 y(w)m(ords)h(instead)g(of)g(clear)h(text)g(passw)m(ords.)70 b(It)40 b(is)g(o\016cial)i(deprecated,)h(initially)e(in)f(fa)m(v)m(or)h (of)g(\014rst)150 1046 y(DIGEST-MD5)e(but)f(to)s(da)m(y)h(SCRAM-SHA-1.) 65 b(F)-8 b(or)39 b(insecure)f(c)m(hannels)h(\(e.g.,)j(when)37 b(TLS)g(is)i(not)150 1156 y(used\),)c(it)g(is)f(has)g(b)s(etter)h(prop) s(erties)f(than)g(PLAIN)g(since)h(the)f(unhashed)f(passw)m(ord)g(is)i (not)f(leak)m(ed.)150 1265 y(The)25 b(CRAM-MD5)j(mec)m(hanism)e(do)s (es)g(not)g(supp)s(ort)e(authorization)k(iden)m(tities;)h(that)e(mak)m (e)g(the)f(rela-)150 1375 y(tionship)k(b)s(et)m(w)m(een)g(CRAM-MD5)i (and)d(DIGEST-MD5/SCRAM-SHA-1)j(similar)f(to)f(the)g(relation-)150 1484 y(ship)f(b)s(et)m(w)m(een)i(LOGIN)g(and)e(PLAIN.)275 1631 y(The)e(disadv)-5 b(an)m(tage)30 b(with)e(hashed)g(passw)m(ords)f (is)i(that)g(the)f(serv)m(er)h(cannot)g(use)f(normal)g(authen)m(ti-)150 1741 y(cation)35 b(infrastructures)d(suc)m(h)h(as)g(P)-8 b(AM,)34 b(b)s(ecause)f(the)h(serv)m(er)f(m)m(ust)g(ha)m(v)m(e)i (access)f(to)g(the)g(unhashed)150 1850 y(passw)m(ord)c(in)g(order)g(to) h(v)-5 b(alidate)32 b(ev)m(ery)f(authen)m(tication)h(attempt.)275 1997 y(In)g(the)h(clien)m(t,)i(this)e(mec)m(hanism)g(is)g(alw)m(a)m(ys) h(enabled,)g(and)e(it)i(requires)e(the)h Fo(GSASL_AUTHID)d Fu(and)150 2106 y Fo(GSASL_PASSWORD)c Fu(prop)s(erties.)275 2253 y(In)i(the)i(serv)m(er,)g(the)g(mec)m(hanism)g(will)g(require)f (the)h Fo(GSASL_PASSWORD)c Fu(callbac)m(k)31 b(prop)s(ert)m(y)-8 b(,)30 b(whic)m(h)150 2363 y(ma)m(y)36 b(use)f(the)g Fo(GSASL_AUTHID)d Fu(prop)s(ert)m(y)i(to)i(determine)g(whic)m(h)f (users')f(passw)m(ord)h(should)f(b)s(e)g(used.)150 2472 y(The)22 b Fo(GSASL_AUTHID)e Fu(will)j(b)s(e)f(in)g(normalized)h(form.) 38 b(The)22 b(serv)m(er)h(will)g(then)g(normalize)g(the)g(passw)m(ord,) 150 2582 y(and)32 b(compare)i(the)f(clien)m(t)h(resp)s(onse)e(with)h (the)g(computed)f(correct)i(resp)s(onse,)f(and)f(accept)j(the)e(user) 150 2691 y(accordingly)-8 b(.)275 2838 y(See)35 b(Section)h(A.1)g([Use) g(of)f(SASLprep)e(in)i(CRAM-MD5],)j(page)e(75,)h(for)e(a)h (clari\014cation)h(on)e(the)150 2948 y(in)m(terpretation)d(of)e(the)h (CRAM-MD5)h(sp)s(eci\014cation)f(that)g(this)f(implemen)m(tation)i (rely)f(on.)275 3094 y(The)e(CRAM-MD5)j(mec)m(hanism)f(w)m(as)g (initially)h(sp)s(eci\014ed)e(in)g(RF)m(C)h(2095)h(but)e(quic)m(kly)h (revised)f(in)150 3204 y(RF)m(C)d(2195.)41 b(Note)27 b(that)g(b)s(oth)f(w)m(ere)g(published)f(b)s(efore)h(the)g(core)h(SASL) e(framew)m(ork,)j(whic)m(h)e(explains)150 3313 y(its)31 b(lac)m(k)h(of)e(authorization)i(iden)m(tit)m(y)-8 b(.)150 3572 y Ft(5.6)68 b(The)45 b(DIGEST-MD5)f(mec)l(hanism)150 3732 y Fu(The)34 b(DIGEST-MD5)j(mec)m(hanism)e(is)g(based)g(on)f(rep)s (eated)i(hashing)e(using)h(MD5.)55 b(After)36 b(the)f(MD5)150 3841 y(break)41 b(ma)m(y)h(b)s(e)f(argued)g(to)h(b)s(e)f(w)m(eak)m(er)i (than)e(HMA)m(C-MD5)i(that)f(CRAM-MD5)h(builds)d(on,)45 b(but)150 3951 y(DIGEST-MD5)g(supp)s(orts)d(other)i(features.)81 b(F)-8 b(or)45 b(example,)j(authorization)e(iden)m(tities)f(and)e(data) 150 4060 y(in)m(tegrit)m(y)31 b(and)d(priv)-5 b(acy)28 b(protection)i(are)f(supp)s(orted.)38 b(Lik)m(e)30 b(CRAM-MD5,)g(only)f (a)g(hashed)f(passw)m(ord)150 4170 y(is)j(transferred.)40 b(Consequen)m(tly)-8 b(,)32 b(DIGEST-MD5)g(needs)e(access)i(to)f(the)g (correct)h(passw)m(ord)e(to)i(v)m(erify)150 4280 y(the)37 b(clien)m(t)i(resp)s(onse)d({)h(ho)m(w)m(ev)m(er)i(the)e(serv)m(er)g (can)g(store)h(the)f(passw)m(ord)f(in)h(hashed)f(form,)j(another)150 4389 y(impro)m(v)m(emen)m(t)33 b(compared)e(to)h(CRAM-MD5)h(.)43 b(Alas,)33 b(this)e(mak)m(es)h(it)g(imp)s(ossible)f(to)h(use,)f(e.g.,)i (P)-8 b(AM)150 4499 y(on)30 b(the)h(serv)m(er)f(side.)275 4645 y(In)44 b(the)h(clien)m(t,)51 b(this)45 b(mec)m(hanism)h(is)f(alw) m(a)m(ys)i(enabled,)i(and)44 b(it)i(requires)f(the)g Fo(GSASL_AUTHID)p Fu(,)150 4755 y Fo(GSASL_PASSWORD)p Fu(,)24 b Fo(GSASL_SERVICE)p Fu(,)h(and)i Fo(GSASL_HOSTNAME)d Fu(prop)s(erties.)39 b(If)27 b(set,)i Fo(GSASL_AUTHZID)150 4865 y Fu(and)h Fo(GSASL_REALM)d Fu(will)k(also)g(b)s(e)f(used.)275 5011 y(In)22 b(the)g(serv)m(er,)j(the)e(mec)m(hanism)g(will)g(\014rst)f (request)h(the)g Fo(GSASL_DIGEST_MD5_HASHED)o(_PAS)o(SWOR)o(D)150 5121 y Fu(callbac)m(k)k(prop)s(ert)m(y)d(to)h(get)h(the)f(user's)f (hashed)f(passw)m(ord.)39 b(If)24 b(the)g(callbac)m(k)j(do)s(esn't)e (supply)e(a)i(hashed)150 5230 y(passw)m(ord)c(\(i.e.,)k(it)d(returns)f (`)p Fo(GSASL_NO_CALLBACK)p Fu('\),)f(the)i Fo(GSASL_PASSWORD)c Fu(callbac)m(k)23 b(prop)s(ert)m(y)f(will)150 5340 y(b)s(e)g (requested.)38 b(Both)24 b(callbac)m(ks)h(ma)m(y)e(use)g(the)g Fo(GSASL_AUTHID)p Fu(,)e Fo(GSASL_AUTHZID)f Fu(and)i Fo(GSASL_REALM)p eop end %%Page: 29 33 TeXDict begin 29 32 bop 150 -116 a Fu(Chapter)30 b(5:)41 b(Mec)m(hanisms)2564 b(29)150 299 y(prop)s(erties)23 b(to)h(determine)f(whic)m(h)g(users')g(passw)m(ord)f(should)g(b)s(e)h (used.)38 b(The)22 b(serv)m(er)i(will)f(then)g(compare)150 408 y(the)31 b(clien)m(t)h(resp)s(onse)d(with)h(a)h(computed)f(correct) h(resp)s(onse,)f(and)g(accept)i(the)e(user)g(accordingly)-8 b(.)275 540 y(The)27 b(serv)m(er)h(uses)f(the)h Fo(GSASL_QOPS)d Fu(callbac)m(k)k(to)g(get)g(the)f(set)g(of)g(qualit)m(y)g(of)g (protection)h(v)-5 b(alues)28 b(to)150 650 y(use.)40 b(By)31 b(default,)f(it)h(adv)m(ertises)g(supp)s(ort)d(for)i(authen)m (tication)i(\()p Fo(qop-auth)p Fu(\))d(only)-8 b(.)41 b(Y)-8 b(ou)31 b(can)f(use)g(the)150 759 y(callbac)m(k,)e(for)c (example,)j(to)e(mak)m(e)g(the)f(serv)m(er)h(adv)m(ertise)h(supp)s(ort) c(for)i(authen)m(tication)j(with)d(in)m(tegrit)m(y)150 869 y(la)m(y)m(ers.)275 1000 y(The)j(clien)m(t)i(uses)f(the)g Fo(GSASL_QOP)d Fu(callbac)m(k)30 b(to)f(get)g(the)f(qualit)m(y)h(of)f (protection)i(v)-5 b(alue)28 b(to)h(request.)150 1110 y(The)23 b(clien)m(t)i(m)m(ust)f(c)m(ho)s(ose)h(one)f(of)g(the)g(QOP)f (v)-5 b(alues)24 b(o\013ered)g(b)m(y)f(the)h(serv)m(er)g(\(whic)m(h)g (ma)m(y)g(b)s(e)f(insp)s(ected)150 1220 y(through)29 b(the)i Fo(GSASL_QOPS)c Fu(prop)s(ert)m(y\).)40 b(If)30 b(the)g(clien)m(t)i(do)s(es)d(not)i(return)e(a)h(v)-5 b(alue,)31 b Fo(qop-auth)d Fu(is)i(used)150 1329 y(b)m(y)g(default.)275 1461 y(The)h(securit)m(y)h(la)m(y)m(ers)h(of)f(DIGEST-MD5)h(are)f (rarely)g(used)f(in)g(practice)i(due)e(to)h(in)m(terop)s(erabilit)m(y) 150 1570 y(and)e(securit)m(y)h(reasons.)41 b(Y)-8 b(ou)31 b(are)f(recommended)g(to)h(use)g(TLS)e(instead.)275 1702 y(The)21 b(DIGEST-MD5)i(mec)m(hanism)f(is)g(sp)s(eci\014ed)f(in)g(RF)m (C)i(2831.)39 b(RF)m(C)22 b(6331)i(lab)s(els)e(DIGEST-MD5)150 1811 y(as)31 b(historic)g(and)e(it)i(con)m(tains)h(a)f(go)s(o)s(d)f (exp)s(osition)h(of)f(the)h(disadv)-5 b(an)m(tages)32 b(with)e(DIGEST-MD5.)150 2046 y Ft(5.7)68 b(The)45 b(SCRAM-SHA-1)e(mec) l(hanism)150 2206 y Fu(The)30 b(SCRAM-SHA-1)h(mec)m(hanism)g(is)g (designed)f(to)h(pro)m(vide)g(\(almost\))h(the)f(same)g(capabilities)h (that)150 2315 y(CRAM-MD5)26 b(and)f(DIGEST-MD5)h(pro)m(vides)f(but)f (use)h(mo)s(dern)e(cryptographic)j(tec)m(hniques)f(suc)m(h)g(as)150 2425 y(HMA)m(C-SHA-1)38 b(hashing)d(and)h(PK)m(CS#5)f(PBKDF2)j(k)m(ey)f (deriv)-5 b(ation.)58 b(SCRAM-SHA-1)37 b(supp)s(orts)150 2534 y(authorization)d(iden)m(tities.)49 b(Lik)m(e)33 b(CRAM-MD5)h(and)e(DIGEST-MD5,)i(only)f(a)f(hashed)g(passw)m(ord)g(is) 150 2644 y(transferred.)51 b(Consequen)m(tly)-8 b(,)37 b(SCRAM-SHA-1)d(needs)g(access)i(to)f(the)f(correct)i(passw)m(ord)d(to) j(v)m(erify)150 2754 y(the)j(clien)m(t)i(resp)s(onse.)67 b(Channel)38 b(bindings)h(are)g(supp)s(orted)f(through)g(the)i (SCRAM-SHA-1-PLUS)150 2863 y(mec)m(hanism.)275 2995 y(In)35 b(the)h(clien)m(t,)i(the)e(non-PLUS)f(mec)m(hanism)h(is)g(alw)m(a)m(ys) i(enabled,)f(and)e(it)h(requires)g(the)g Fo(GSASL_)150 3104 y(AUTHID)f Fu(prop)s(ert)m(y)-8 b(,)39 b(and)d(either)h Fo(GSASL_PASSWORD)c Fu(or)k Fo(GSASL_SCRAM_SALTED_PASSWO)o(RD)p Fu(.)54 b(When)150 3214 y(the)35 b Fo(GSASL_CB_TLS_UNIQUE)29 b Fu(prop)s(ert)m(y)34 b(is)g(a)m(v)-5 b(ailable,)38 b(the)d(SCRAM-SHA-1-PLUS)f(mec)m(hanism)h(is)150 3323 y(also)28 b(a)m(v)-5 b(ailable)29 b(and)d(it)i(will)f(negotiate)i(c)m (hannel)e(bindings)f(when)g(the)h(serv)m(er)g(also)h(supp)s(orts)d(it.) 40 b(If)26 b(set,)150 3433 y Fo(GSASL_AUTHZID)i Fu(will)k(b)s(e)g(used) f(b)m(y)h(the)g(clien)m(t.)46 b(T)-8 b(o)33 b(b)s(e)e(able)h(to)h (return)e(the)h(prop)s(er)e Fo(GSASL_SCRAM_)150 3543 y(SALTED_PASSWORD)43 b Fu(v)-5 b(alue,)53 b(the)47 b(clien)m(t)i(needs) e(to)h(c)m(hec)m(k)h(the)f Fo(GSASL_SCRAM_ITER)43 b Fu(and)k Fo(GSASL_)150 3652 y(SCRAM_SALT)25 b Fu(v)-5 b(alues)29 b(whic)m(h)f(are)g(a)m(v)-5 b(ailable)31 b(when)c(the)h Fo(GSASL_SCRAM_SALTED_PASSW)o(ORD)22 b Fu(prop)s(ert)m(y)150 3762 y(is)30 b(queried)g(for.)275 3893 y(In)e(the)i(serv)m(er,)g(the)g (mec)m(hanism)g(will)g(require)f(the)h Fo(GSASL_PASSWORD)c Fu(callbac)m(k)31 b(prop)s(ert)m(y)-8 b(,)30 b(whic)m(h)150 4003 y(ma)m(y)36 b(use)f(the)g Fo(GSASL_AUTHID)d Fu(prop)s(ert)m(y)i (to)i(determine)g(whic)m(h)f(users')f(passw)m(ord)h(should)f(b)s(e)g (used.)150 4113 y(The)26 b Fo(GSASL_AUTHID)d Fu(will)k(b)s(e)g(in)f (normalized)h(form.)39 b(The)26 b(serv)m(er)h(will)g(then)g(normalize)g (the)g(returned)150 4222 y(passw)m(ord,)g(and)g(compare)h(the)f(clien)m (t)i(resp)s(onse)e(with)g(the)g(computed)g(correct)i(resp)s(onse,)e (and)f(accept)150 4332 y(the)36 b(user)f(accordingly)-8 b(.)58 b(The)35 b(serv)m(er)h(ma)m(y)g(also)h(set)f(the)g Fo(GSASL_SCRAM_ITER)31 b Fu(and)k Fo(GSASL_SCRAM_)150 4441 y(SALT)23 b Fu(prop)s(erties)g(to)h(in\015uence)f(the)h(v)-5 b(alues)24 b(to)h(b)s(e)e(used)g(b)m(y)g(clien)m(ts)j(to)e(deriv)m(e)g (a)g(k)m(ey)h(from)e(a)h(passw)m(ord.)150 4551 y(When)30 b(the)h Fo(GSASL_CB_TLS_UNIQUE)25 b Fu(prop)s(ert)m(y)30 b(is)g(set,)h(the)g(SCRAM-SHA-1-PLUS)f(mec)m(hanism)h(is)150 4660 y(supp)s(orted)e(and)g(is)i(used)e(to)i(negotiate)i(c)m(hannel)e (bindings.)275 4792 y(The)25 b Fo(GSASL_CB_TLS_UNIQUE)c Fu(prop)s(ert)m(y)26 b(signal)h(that)g(this)f(side)g(of)h(the)f(authen) m(tication)j(supp)s(orts)150 4902 y(c)m(hannel)k(bindings.)48 b(Setting)34 b(the)f(prop)s(ert)m(y)f(will)i(enable)f(the)g (SCRAM-SHA-1-PLUS)g(mec)m(hanism.)150 5011 y(F)-8 b(or)29 b(clien)m(ts,)i(this)e(also)g(instructs)g(the)g(SCRAM-SHA-1)g(mec)m (hanism)g(to)g(tell)h(serv)m(ers)f(that)g(the)g(clien)m(t)150 5121 y(b)s(eliev)m(es)36 b(the)f(serv)m(er)g(do)s(es)g(not)g(supp)s (ort)e(c)m(hannel)j(bindings)e(if)h(it)g(is)g(used)f(\(remem)m(b)s(er)h (that)g(clien)m(ts)150 5230 y(should)21 b(otherwise)i(ha)m(v)m(e)g(c)m (hosen)g(the)f(SCRAM-SHA-1-PLUS)h(mec)m(hanism)f(instead)g(of)h(the)f (SCRAM-)150 5340 y(SHA-1)40 b(mec)m(hanism\).)67 b(F)-8 b(or)40 b(serv)m(ers,)i(it)e(means)f(the)g(SCRAM-SHA-1)h(mec)m(hanism)f (will)h(refuse)e(to)p eop end %%Page: 30 34 TeXDict begin 30 33 bop 150 -116 a Fu(Chapter)30 b(5:)41 b(Mec)m(hanisms)2564 b(30)150 299 y(authen)m(ticate)26 b(against)f(a)f(clien)m(t)h(that)f(signals)g(that)g(it)g(b)s(eliev)m (es)g(the)g(serv)m(er)g(do)s(es)f(not)h(supp)s(ort)d(c)m(hannel)150 408 y(bindings.)275 547 y(The)35 b(SCRAM-SHA-1-PLUS)h(mec)m(hanism)g (will)g(nev)m(er)g(complete)h(authen)m(tication)h(successfully)150 657 y(if)30 b(c)m(hannel)h(bindings)e(are)i(not)g(con\014rmed.)275 796 y(The)e(SCRAM-SHA-1)i(mec)m(hanism)g(is)f(sp)s(eci\014ed)g(in)g(RF) m(C)h(5802.)150 1043 y Ft(5.8)68 b(The)45 b(NTLM)e(mec)l(hanism)150 1202 y Fu(The)34 b(NTLM)g(is)h(a)f(non-standard)g(mec)m(hanism.)53 b(Do)35 b(not)g(use)f(it)h(in)f(new)g(applications,)j(and)c(do)i(not) 150 1312 y(exp)s(ect)c(it)g(to)g(b)s(e)f(secure.)40 b(Curren)m(tly)30 b(only)h(the)f(clien)m(t)i(side)e(is)h(supp)s(orted.)275 1451 y(In)h(the)h(clien)m(t,)i(this)e(mec)m(hanism)g(is)g(alw)m(a)m(ys) h(enabled,)g(and)e(it)i(requires)e(the)h Fo(GSASL_AUTHID)d Fu(and)150 1560 y Fo(GSASL_PASSWORD)23 b Fu(prop)s(erties.)39 b(It)26 b(will)h(set)g(the)g(`)p Fo(domain)p Fu(')f(\014eld)g(in)g(the) h(NTLM)g(request)f(to)i(the)e(v)-5 b(alue)150 1670 y(of)25 b Fo(GSASL_REALM)p Fu(.)36 b(Some)25 b(serv)m(ers)g(rep)s(ortedly)f (need)h(non-empt)m(y)g(but)f(arbitrary)h(v)-5 b(alues)25 b(in)g(that)g(\014eld.)150 1917 y Ft(5.9)68 b(The)45 b(SECURID)g(mec)l(hanism)150 2077 y Fu(The)32 b(SECURID)f(mec)m(hanism) i(uses)f(authen)m(tication)i(and)e(authorization)h(iden)m(tit)m(y)h (together)g(with)e(a)150 2186 y(passco)s(de)e(from)g(a)h(hardw)m(are)f (tok)m(en)h(to)g(authen)m(ticate)i(users.)275 2325 y(In)f(the)h(clien)m (t,)i(this)e(mec)m(hanism)g(is)g(alw)m(a)m(ys)h(enabled,)g(and)e(it)i (requires)e(the)h Fo(GSASL_AUTHID)d Fu(and)150 2435 y Fo(GSASL_PASSCODE)38 b Fu(prop)s(erties.)76 b(If)41 b(set,)46 b Fo(GSASL_AUTHZID)39 b Fu(will)j(also)h(b)s(e)f(used.)75 b(If)42 b(the)g(serv)m(er)h(re-)150 2544 y(quests)27 b(it,)i(the)f Fo(GSASL_PIN)d Fu(prop)s(ert)m(y)i(is)g(also)i(required,) e(and)g(its)h(callbac)m(k)i(ma)m(y)e(insp)s(ect)f(the)h Fo(GSASL_)150 2654 y(SUGGESTED_PIN)f Fu(prop)s(ert)m(y)i(to)j(disco)m (v)m(er)f(a)g(serv)m(er-pro)m(vided)g(PIN)f(to)h(use.)275 2793 y(In)i(the)h(serv)m(er,)h(this)f(mec)m(hanism)g(will)g(in)m(v)m (ok)m(e)i(the)e Fo(GSASL_VALIDATE_SECURID)27 b Fu(callbac)m(k.)53 b(The)150 2902 y(callbac)m(k)30 b(ma)m(y)f(insp)s(ect)f(the)h Fo(GSASL_AUTHID)p Fu(,)d Fo(GSASL_AUTHZID)p Fu(,)f(and)j Fo(GSASL_PASSCODE)c Fu(prop)s(erties.)150 3012 y(The)39 b(callbac)m(k)i(can)f(return)e Fo(GSASL_SECURID_SERVER_NEE)o(D_A)o (DDIT)o(IONA)o(L_P)o(ASSC)o(ODE)33 b Fu(to)40 b(ask)f(for)150 3121 y(another)44 b(additional)g(passco)s(de)g(from)f(the)h(clien)m(t.) 82 b(The)43 b(callbac)m(k)j(can)e(return)f Fo(GSASL_SECURID_)150 3231 y(SERVER_NEED_NEW_PIN)34 b Fu(to)39 b(ask)g(for)g(a)g(new)g(PIN)f (co)s(de)h(from)g(the)g(clien)m(t,)k(in)38 b(whic)m(h)h(case)h(it)f(ma) m(y)150 3341 y(also)f(set)g(the)f Fo(GSASL_SUGGESTED_PIN)32 b Fu(prop)s(ert)m(y)37 b(to)h(indicate)g(a)f(recommended)g(new)g(PIN.)g (If)g(the)150 3450 y(callbac)m(ks)i(is)e(in)m(v)m(ok)m(ed)i(again,)h (after)d(ha)m(ving)h(returned)e Fo(GSASL_SECURID_SERVER_NE)o(ED_N)o (EW_P)o(IN)p Fu(,)150 3560 y(it)29 b(ma)m(y)f(also)h(insp)s(ect)f(the)g Fo(GSASL_PIN)e Fu(prop)s(ert)m(y)-8 b(,)28 b(in)g(addition)g(to)h(the)f (other)g(prop)s(erties,)g(to)h(\014nd)e(out)150 3669 y(the)k(clien)m(t)h(selected)f(PIN)g(co)s(de.)275 3808 y(The)e(SCRAM-SHA-1)i(mec)m(hanism)g(is)f(sp)s(eci\014ed)g(in)g(RF)m(C) h(2808.)150 4055 y Ft(5.10)68 b(The)45 b(GSSAPI)e(mec)l(hanism)150 4215 y Fu(The)36 b(GSSAPI)f(mec)m(hanism)h(allo)m(ws)i(y)m(ou)e(to)h (authen)m(ticate)i(using)c(Kerb)s(eros)g(V5.)59 b(The)36 b(mec)m(hanism)150 4324 y(w)m(as)26 b(originally)h(designed)e(to)h (allo)m(w)h(for)f(an)m(y)g(GSS-API)f(mec)m(hanism)g(to)i(b)s(e)e(used,) h(but)e(problems)h(with)150 4434 y(the)f(proto)s(col)h(made)f(it)h (unpractical)f(and)g(it)g(is)g(to)s(da)m(y)h(restricted)f(for)g(use)g (with)f(Kerb)s(eros)g(V5.)40 b(See)24 b(the)150 4544 y(GS2)34 b(mec)m(hanism)h(\(see)g(Section)g(5.11)g([GS2-KRB5],)i(page)e (31\))h(for)d(a)i(general)g(solution.)53 b(Ho)m(w)m(ev)m(er,)150 4653 y(GSSAPI)30 b(con)m(tin)m(ues)h(to)g(b)s(e)f(widely)g(used)g(in)g (Kerb)s(eros)f(V5)i(en)m(vironmen)m(ts.)275 4792 y(In)36 b(the)h(clien)m(t,)k(the)c(mec)m(hanism)h(is)f(enabled)g(only)g(if)g (the)g(user)g(has)g(acquired)g(creden)m(tials)h(\(i.e.,)150 4902 y(a)33 b(tic)m(k)m(et)h(gran)m(ting)f(tic)m(k)m(et\),)j(and)c(it)h (requires)e(the)i Fo(GSASL_AUTHZID)p Fu(,)c Fo(GSASL_SERVICE)p Fu(,)g(and)j Fo(GSASL_)150 5011 y(HOSTNAME)19 b Fu(prop)s(erties.)37 b(\(F)-8 b(or)23 b(historical)g(reasons,)g(if)f(the)f Fo(GSASL_AUTHZID)d Fu(prop)s(ert)m(y)j(is)h(not)f(sp)s(eci\014ed,)150 5121 y(this)31 b(mec)m(hanism)h(c)m(hec)m(ks)h(for)e(the)h Fo(GSASL_AUTHZID)c Fu(prop)s(ert)m(y)j(and)g(if)g(presen)m(t)h(will)g (use)f(that)h(as)g(the)150 5230 y(authorization)j(iden)m(tit)m(y)h({)e (this)g(b)s(eha)m(viour)f(will)i(b)s(e)e(remo)m(v)m(ed)i(after)f(the)g (y)m(ear)h(2012)h(so)e(y)m(ou)g(should)150 5340 y(up)s(date)c(y)m(our)g (co)s(de)g(to)i(use)e(only)g Fo(GSASL_AUTHZID)p Fu(.\))p eop end %%Page: 31 35 TeXDict begin 31 34 bop 150 -116 a Fu(Chapter)30 b(5:)41 b(Mec)m(hanisms)2564 b(31)275 299 y(In)27 b(the)h(serv)m(er,)h(the)f (mec)m(hanism)g(requires)g(the)g Fo(GSASL_SERVICE)d Fu(and)i Fo(GSASL_HOSTNAME)d Fu(prop)s(er-)150 408 y(ties,)33 b(and)e(it)h(will)f(in)m(v)m(ok)m(e)j(the)d Fo(GSASL_VALIDATE_GSSAPI)26 b Fu(callbac)m(k)33 b(prop)s(ert)m(y)e(in)g(order)g(to)h(v)-5 b(alidate)150 518 y(the)30 b(user.)40 b(The)29 b(callbac)m(k)j(ma)m(y)e (insp)s(ect)g(the)g Fo(GSASL_AUTHZID)c Fu(and)j Fo (GSASL_GSSAPI_DISPLAY_NAM)o(E)150 628 y Fu(prop)s(erties)i(to)i(decide) g(whether)e(to)i(authorize)g(the)f(user.)45 b(Note)34 b(that)e(authen)m(tication)i(is)e(p)s(erformed)150 737 y(b)m(y)i(the)g(GSS-API)g(library)f(and)h(that)g Fo(GSASL_AUTHID)d Fu(is)j(not)g(used)g(b)m(y)g(the)g(serv)m(er)g(mec)m(hanism,)i(its)150 847 y(role)31 b(is)f(pla)m(y)m(ed)i(b)m(y)e Fo (GSASL_GSSAPI_DISPLAY_NAM)o(E)p Fu(.)275 990 y(This)23 b(implemen)m(tation)j(do)s(es)d(not)i(supp)s(ort)d(securit)m(y)j(la)m (y)m(ers.)40 b(Y)-8 b(ou)25 b(are)f(recommended)g(to)h(use)f(TLS)150 1100 y(instead.)275 1243 y(The)36 b(GSSAPI)g(mec)m(hanism)h(w)m(as)g (sp)s(eci\014ed)f(as)h(part)g(of)g(the)g(initial)h(core)g(SASL)d (framew)m(ork,)k(in)150 1353 y(RF)m(C)31 b(2222,)h(but)e(later)h (revised)f(in)g(RF)m(C)h(4752)h(to)f(only)g(apply)f(to)h(Kerb)s(eros)e (V5.)150 1606 y Ft(5.11)68 b(The)45 b(GS2-KRB5)g(mec)l(hanism)150 1766 y Fu(GS2)37 b(is)f(a)h(proto)s(col)g(bridge)f(b)s(et)m(w)m(een)h (GSS-API)f(and)f(SASL,)h(and)g(allo)m(ws)h(ev)m(ery)g(GSS-API)f(mec)m (h-)150 1875 y(anism)k(that)g(supp)s(orts)f(m)m(utual)h(authen)m (tication)i(and)e(c)m(hannel)g(bindings)f(to)i(b)s(e)e(used)g(as)i(a)f (SASL)150 1985 y(mec)m(hanism.)53 b(Curren)m(tly)33 b(GS2-KRB5)j(is)e (supp)s(orted,)g(for)g(Kerb)s(eros)f(V5)i(authen)m(tication,)j(ho)m(w)m (ev)m(er)150 2095 y(our)32 b(GS2)g(implemen)m(tation)i(is)f(\015exible) f(enough)h(to)g(easily)g(supp)s(ort)e(other)h(GSS-API)g(mec)m(hanism)h (if)150 2204 y(an)m(y)e(gains)g(p)s(opularit)m(y)-8 b(.)275 2347 y(In)36 b(the)h(clien)m(t,)k(the)c(mec)m(hanism)h(is)f(enabled)g (only)g(if)g(the)g(user)g(has)g(acquired)g(creden)m(tials)h(\(i.e.,)150 2457 y(a)33 b(tic)m(k)m(et)h(gran)m(ting)f(tic)m(k)m(et\),)j(and)c(it)h (requires)e(the)i Fo(GSASL_AUTHZID)p Fu(,)c Fo(GSASL_SERVICE)p Fu(,)g(and)j Fo(GSASL_)150 2567 y(HOSTNAME)c Fu(prop)s(erties.)275 2710 y(In)f(the)h(serv)m(er,)h(the)f(mec)m(hanism)g(requires)g(the)g Fo(GSASL_SERVICE)d Fu(and)i Fo(GSASL_HOSTNAME)d Fu(prop)s(er-)150 2819 y(ties,)33 b(and)e(it)h(will)f(in)m(v)m(ok)m(e)j(the)d Fo(GSASL_VALIDATE_GSSAPI)26 b Fu(callbac)m(k)33 b(prop)s(ert)m(y)e(in)g (order)g(to)h(v)-5 b(alidate)150 2929 y(the)30 b(user.)40 b(The)29 b(callbac)m(k)j(ma)m(y)e(insp)s(ect)g(the)g Fo(GSASL_AUTHZID)c Fu(and)j Fo(GSASL_GSSAPI_DISPLAY_NAM)o(E)150 3039 y Fu(prop)s(erties)i(to)i(decide)g(whether)e(to)i(authorize)g(the) f(user.)45 b(Note)34 b(that)e(authen)m(tication)i(is)e(p)s(erformed)150 3148 y(b)m(y)i(the)g(GSS-API)g(library)f(and)h(that)g Fo(GSASL_AUTHID)d Fu(is)j(not)g(used)g(b)m(y)g(the)g(serv)m(er)g(mec)m (hanism,)i(its)150 3258 y(role)31 b(is)f(pla)m(y)m(ed)i(b)m(y)e Fo(GSASL_GSSAPI_DISPLAY_NAM)o(E)p Fu(.)275 3401 y(The)38 b(GS2)g(framew)m(ork)h(supp)s(orts)e(a)i(v)-5 b(arian)m(t)39 b(of)g(eac)m(h)h(mec)m(hanism,)h(called)f(the)f(PLUS)f(v)-5 b(arian)m(t,)150 3511 y(whic)m(h)28 b(can)h(also)g(bind)f(the)g(authen) m(tication)j(to)e(a)g(secure)f(c)m(hannel)h(through)f(c)m(hannel)h (bindings.)39 b(Cur-)150 3620 y(ren)m(tly)31 b(this)f(is)h(not)f(supp)s (orted)f(b)m(y)h(GNU)h(SASL.)275 3763 y(The)e(GS2)i(mec)m(hanism)g (family)f(w)m(as)h(sp)s(eci\014ed)f(in)g(RF)m(C)h(5801.)150 4017 y Ft(5.12)68 b(The)45 b(SAML20)f(mec)l(hanism)150 4177 y Fu(The)33 b(SAML20)i(mec)m(hanism)f(mak)m(es)h(it)f(p)s(ossible) g(to)g(use)g(SAML)g(in)f(SASL,)g(in)h(a)g(w)m(a)m(y)h(that)g(o\017oads) 150 4286 y(the)c(authen)m(tication)h(exc)m(hange)g(to)f(an)f(external)i (w)m(eb)e(bro)m(wser.)275 4430 y(The)100 b(mec)m(hanism)i(mak)m(es)g (use)f(of)g(the)h(follo)m(wing)g(prop)s(erties:)182 b Fo(GSASL_AUTHZID)p Fu(,)150 4539 y Fo(GSASL_SAML20_IDP_IDENTIF)o(IER)p Fu(,)218 b Fo(GSASL_SAML20_REDIRECT_)o(URL)p Fu(,)g Fo(GSASL_SAML20_) 150 4649 y(AUTHENTICATE_IN_BROWSER)24 b Fu(and)30 b Fo (GSASL_VALIDATE_SAML20)p Fu(.)275 4792 y(In)41 b(clien)m(t)i(mo)s(de,)i (the)d(mec)m(hanism)g(will)g(retriev)m(e)h(the)f Fo(GSASL_AUTHZID)c Fu(and)k Fo(GSASL_SAML20_)150 4902 y(IDP_IDENTIFIER)25 b Fu(prop)s(erties)j(and)h(form)f(a)i(request)f(to)g(the)g(serv)m(er.) 41 b(The)28 b(serv)m(er)i(will)f(resp)s(ond)e(with)150 5011 y(a)33 b(redirect)f(URL)g(stored)h(in)f(the)g Fo (GSASL_SAML20_REDIRECT_URL)26 b Fu(prop)s(ert)m(y)-8 b(,)32 b(whic)m(h)g(the)h(clien)m(t)h(can)150 5121 y(retriev)m(e)23 b(from)f(the)g Fo(GSASL_SAML20_AUTHENTICATE)o(_IN_)o(BRO)o(WSER)15 b Fu(callbac)m(k.)40 b(The)22 b(in)m(ten)m(tion)h(is)f(that)150 5230 y(the)i(clien)m(t)h(launc)m(hes)f(a)f(bro)m(wser)g(to)i(the)e(giv) m(en)i(URL,)e(and)g(then)h(pro)s(ceeds)f(with)g(authen)m(tication.)40 b(The)150 5340 y(serv)m(er)31 b(resp)s(onds)d(whether)i(authen)m (tication)i(w)m(as)f(successful)f(or)h(not.)p eop end %%Page: 32 36 TeXDict begin 32 35 bop 150 -116 a Fu(Chapter)30 b(5:)41 b(Mec)m(hanisms)2564 b(32)275 299 y(In)35 b(serv)m(er)h(mo)s(de,)i(the) e(mec)m(hanism)h(will)f(in)m(v)m(ok)m(e)i(the)f Fo (GSASL_SAML20_REDIRECT_U)o(RL)30 b Fu(callbac)m(k)150 408 y(and)36 b(the)g(application)h(can)g(insp)s(ect)f(the)g Fo(GSASL_AUTHZID)d Fu(and)i Fo(GSASL_SAML20_IDP_IDENTIFIE)o(R)150 518 y Fu(prop)s(erties)41 b(when)g(forming)g(the)h(redirect)g(URL.)g (The)f(URL)g(is)h(passed)f(to)h(the)g(clien)m(t)h(whic)m(h)f(will)150 628 y(hop)s(efully)36 b(complete)h(authen)m(tication)i(in)d(the)h(bro)m (wser.)58 b(The)36 b(serv)m(er)h(callbac)m(k)h Fo(GSASL_VALIDATE_)150 737 y(SAML20)29 b Fu(should)g(c)m(hec)m(k)j(whether)e(the)g(authen)m (tication)j(attempt)e(w)m(as)g(successful.)275 892 y(Note)40 b(that)f(SAML)g(itself)g(is)g(not)g(implemen)m(ted)g(b)m(y)g(the)g(GNU) h(SASL)d(library)-8 b(.)66 b(On)38 b(the)h(clien)m(t)150 1002 y(side,)46 b(no)c(SAML)h(kno)m(wledge)g(is)g(needed,)j(it)d(is)f (only)h(required)f(on)g(the)h(serv)m(er)g(side.)77 b(The)42 b(clien)m(t)150 1111 y(only)35 b(needs)g(to)h(b)s(e)e(able)i(to)f (start)h(a)f(w)m(eb)g(bro)m(wser)g(to)h(access)g(the)f(redirect)h(URL.) f(The)g(serv)m(er)g(side)150 1221 y(is)43 b(exp)s(ected)g(to)h(call)g (a)g(SAML)f(library)f(to)i(generate)g(the)f(AuthRequest)g(and)g(to)g (implemen)m(t)h(an)150 1331 y(AssertionConsumerService)23 b(\(A)m(CS\))h(to)g(v)-5 b(alidate)25 b(the)f(AuthResp)s(onse.)37 b(There)23 b(is)h(a)f(complete)i(pro)s(of-)150 1440 y(of-concept)k (example)e(of)g(a)h(SMTP)e(serv)m(er)i(with)e(SAML)h(2.0)h(supp)s(ort)e (distributed)g(with)g(GNU)i(SASL)150 1550 y(in)21 b(the)g Fo(examples/saml20/)16 b Fu(sub-directory)-8 b(.)38 b(The)20 b(example)i(uses)e(the)h(Lasso)h(SAML)e(implemen)m(tation)150 1659 y(\()p Fo(http://lasso.entrouvert.or)o(g/)p Fu(\))c(and)22 b(require)g(a)h(w)m(eb)g(serv)m(er)f(for)g(the)h(A)m(CS)f(side.)38 b(The)22 b(example)150 1769 y(ma)m(y)32 b(b)s(e)e(used)g(as)h (inspiration)g(for)g(y)m(our)g(o)m(wn)g(serv)m(er)g(implemen)m(tation.) 45 b(The)30 b Fo(gsasl)g Fu(command)h(line)150 1878 y(clien)m(t)h(supp) s(orts)c(SAML20)j(as)g(a)g(clien)m(t.)275 2033 y(The)e(SAML20)i(mec)m (hanism)g(is)g(sp)s(eci\014ed)e(in)h(RF)m(C)h(6595.)150 2305 y Ft(5.13)68 b(The)45 b(OPENID20)h(mec)l(hanism)150 2464 y Fu(The)22 b(OPENID20)i(mec)m(hanism)f(mak)m(es)h(it)g(p)s (ossible)e(to)i(use)f(Op)s(enID)e(in)i(SASL,)f(in)h(a)g(w)m(a)m(y)h (that)g(o\017oads)150 2574 y(the)31 b(authen)m(tication)h(exc)m(hange)g (to)f(an)f(external)i(w)m(eb)e(bro)m(wser.)275 2729 y(The)64 b(mec)m(hanism)h(mak)m(es)h(use)e(of)i(the)f(follo)m(wing)h(prop)s (erties:)109 b Fo(GSASL_AUTHID)62 b Fu(\(for)j(the)150 2838 y(Op)s(enID)80 b(User-Supplied)g(Iden)m(ti\014er\),)94 b Fo(GSASL_AUTHZID)p Fu(,)d Fo(GSASL_OPENID20_REDIRECT_U)o(RL)p Fu(,)150 2948 y Fo(GSASL_OPENID20_OUTCOME_D)o(ATA)p Fu(,)144 b Fo(GSASL_OPENID20_AUTHENTICA)o(TE_I)o(N_BR)o(OWS)o(ER)p Fu(,)h(and)150 3058 y Fo(GSASL_VALIDATE_OPENID20)p Fu(.)275 3212 y(In)51 b(the)h(clien)m(t,)59 b(the)53 b(mec)m(hanism)f(is)g (enabled)g(b)m(y)g(default.)106 b(The)52 b Fo(GSASL_AUTHID)d Fu(prop)s(ert)m(y)150 3322 y(is)69 b(required)g(and)f(should)h(con)m (tain)h(the)g(User-Supplied)e(Op)s(enID)g(Iden)m(ti\014er)h(\(for)g (example)150 3432 y Fo(http://josefsson.org)p Fu(\).)g(If)41 b(set,)j Fo(GSASL_AUTHZID)38 b Fu(will)k(b)s(e)f(used)f(b)m(y)i(the)f (clien)m(t.)75 b(The)41 b(clien)m(t)150 3541 y(will)79 b(b)s(e)f(in)m(v)m(ok)m(ed)i(with)e(the)h Fo(GSASL_OPENID20_AUTHENTI)o (CAT)o(E_IN)o(_BRO)o(WSE)o(R)73 b Fu(callbac)m(k)80 b(to)150 3651 y(p)s(erform)47 b(the)i(Op)s(enID)e(authen)m(tication)k(in)d(a)h (w)m(eb)f(bro)m(wser.)95 b(The)48 b(callbac)m(k)i(can)f(retriev)m(e)h (the)150 3760 y Fo(GSASL_OPENID20_REDIRECT_)o(URL)40 b Fu(prop)s(ert)m(y)46 b(to)h(\014nd)d(out)j(the)g(URL)f(to)h(redirect) g(the)f(user)g(to.)150 3870 y(After)33 b(authen)m(tication,)j(the)d (clien)m(t)h(can)f(retriev)m(e)h(the)f Fo(GSASL_OPENID20_OUTCOME_DA)o (TA)27 b Fu(prop)s(ert)m(y)150 3980 y(with)j(the)h(Op)s(enID)e(Simple)h (Registry)h(\(SREG\))g(attributes)g(sen)m(t)f(b)m(y)h(the)f(serv)m(er)h (\(if)g(an)m(y\).)275 4134 y(In)f(the)i(serv)m(er,)g(the)g(mec)m (hanism)g(is)f(enabled)h(b)m(y)f(default.)45 b(The)31 b(serv)m(er)g(will)h(request)g(the)g Fo(GSASL_)150 4244 y(OPENID20_REDIRECT_URL)j Fu(prop)s(ert)m(y)-8 b(,)44 b(and)c(y)m(our)h(callbac)m(k)i(ma)m(y)e(insp)s(ect)g(the)g Fo(GSASL_AUTHID)c Fu(to)150 4354 y(\014nd)42 b(the)i(Op)s(enID)e (User-Supplied)g(Iden)m(ti\014er.)80 b(The)43 b(serv)m(er)h(callbac)m (k)h(should)e(p)s(erform)f(Op)s(enID)150 4463 y(disco)m(v)m(ery)e(and)d (return)h(the)g(URL)g(to)i(redirect)e(the)h(user)f(to.)65 b(After)39 b(this,)h(the)f(user)e(w)m(ould)i(access)150 4573 y(the)34 b(URL)g(and)f(pro)s(ceed)h(with)f(authen)m(tication)k(in) c(the)h(bro)m(wser.)51 b(The)34 b(serv)m(er)g(is)g(in)m(v)m(ok)m(ed)h (with)f(the)150 4682 y Fo(GSASL_VALIDATE_OPENID20)19 b Fu(callbac)m(k)28 b(to)f(p)s(erform)d(the)i(actual)h(v)-5 b(alidation)28 b(of)e(the)g(authen)m(tication.)150 4792 y(Usually)44 b(the)f(callbac)m(k)j(will)e(p)s(erform)e(some)h(IPC)g (comm)m(unication)i(with)e(an)g(Op)s(enID)g(consumer)150 4902 y(running)26 b(in)h(a)h(w)m(eb)g(serv)m(er.)40 b(The)27 b(callbac)m(k)j(should)d(return)f Fo(GSASL_OK)g Fu(on)h(successful)h (authen)m(tication)150 5011 y(and)23 b Fo(GSASL_AUTHENTICATION_ERRO)o (R)18 b Fu(on)23 b(authen)m(tication)j(errors,)f(or)e(an)m(y)i(other)e (error)h(co)s(de.)39 b(If)23 b(the)150 5121 y(serv)m(er)j(receiv)m(ed)h (some)f(Op)s(enID)f(Simple)g(Registry)h(\(SREG\))g(attributes)g(from)g (the)f(Op)s(enID)g(Iden)m(tit)m(y)150 5230 y(Pro)m(vider,)44 b(it)e(ma)m(y)g(use)f(the)h Fo(GSASL_OPENID20_OUTCOME_)o(DATA)35 b Fu(prop)s(ert)m(y)40 b(to)i(send)f(these)h(to)g(the)150 5340 y(clien)m(t.)p eop end %%Page: 33 37 TeXDict begin 33 36 bop 150 -116 a Fu(Chapter)30 b(5:)41 b(Mec)m(hanisms)2564 b(33)275 299 y(Note)22 b(that)g(Op)s(enID)e (itself)i(is)f(not)h(implemen)m(ted)g(b)m(y)f(the)g(GNU)h(SASL)e (library)-8 b(.)38 b(On)20 b(the)i(clien)m(t)h(side,)150 408 y(no)e(Op)s(enID)f(kno)m(wledge)j(is)e(required,)h(it)g(is)g(only)f (required)f(on)i(the)f(serv)m(er)h(side.)37 b(The)21 b(clien)m(t)i(only)e(needs)150 518 y(to)34 b(b)s(e)g(able)g(to)g(start) h(a)f(w)m(eb)f(bro)m(wser)h(to)g(access)h(the)f(redirect)g(URL.)g(The)f (serv)m(er)h(side)g(is)g(exp)s(ected)150 628 y(to)46 b(use)e(an)h(Op)s(enID)f(library)g(to)i(generate)g(the)f(redirect)g (URL)g(and)f(to)i(implemen)m(t)f(the)g(Service)150 737 y(Pro)m(vider)32 b(\(SP\))g(to)g(v)-5 b(alidate)33 b(the)f(resp)s(onse) f(from)g(the)h(IdP)-8 b(.)32 b(There)f(is)h(a)g(complete)h(pro)s (of-of-concept)150 847 y(example)c(with)f(a)g(SMTP)g(serv)m(er)g(with)g (Op)s(enID)f(2.0)i(supp)s(ort)e(distributed)g(with)h(GNU)h(SASL)e(in)h (the)150 956 y Fo(examples/openid20/)34 b Fu(sub-directory)-8 b(.)67 b(It)39 b(uses)f(the)h(JanRain)g(PHP5)g(Op)s(enID)f(implemen)m (tation)150 1066 y(and)44 b(require)h(a)g(w)m(eb)g(serv)m(er)g(to)h (implemen)m(t)g(the)f(Op)s(enID)f(SP)-8 b(.)45 b(The)f(example)i(ma)m (y)f(b)s(e)g(used)f(as)150 1176 y(inspiration)33 b(for)f(y)m(our)h(o)m (wn)g(serv)m(er)g(implemen)m(tation.)50 b(The)32 b Fo(gsasl)g Fu(command)g(line)h(clien)m(t)i(supp)s(orts)150 1285 y(OPENID20)c(as)g(a)f(clien)m(t.)275 1420 y(The)f(OPENID20)j(mec)m (hanism)e(is)h(sp)s(eci\014ed)e(in)h(RF)m(C)h(6616.)150 1660 y Ft(5.14)68 b(The)45 b(KERBER)l(OS)p 1489 1660 41 6 v 60 w(V5)g(mec)l(hanism)150 1820 y Fu(The)30 b(KERBER)m(OS)p 855 1820 28 4 v 39 w(V5)h(is)f(an)g(exp)s(erimen)m(tal)h(mec)m(hanism,) g(the)f(proto)s(col)h(sp)s(eci\014cation)g(is)g(a)m(v)-5 b(ailable)150 1929 y(on)40 b(the)g(GNU)h(SASL)d(homepage.)71 b(It)40 b(can)g(op)s(erate)h(in)e(three)h(mo)s(des,)i (non-infrastructure)d(mo)s(de,)150 2039 y(infrastructure)g(mo)s(de)g (and)f(pro)m(xied)i(infrastructure)e(mo)s(de.)68 b(Curren)m(tly)39 b(only)g(non-infrastructure)150 2149 y(mo)s(de)30 b(is)g(supp)s(orted.) 275 2283 y(In)41 b(the)h(non-infrastructure)e(mo)s(de,)45 b(it)d(w)m(orks)g(as)g(a)g(sup)s(erset)f(of)h(most)g(features)h(pro)m (vided)e(b)m(y)150 2393 y(PLAIN,)i(CRAM-MD5,)49 b(DIGEST-MD5)44 b(and)f(GSSAPI)g(while)g(at)h(the)g(same)f(time)i(building)d(on)150 2502 y(what)32 b(is)g(b)s(eliev)m(ed)g(to)h(b)s(e)e(pro)m(v)m(en)h(tec) m(hnology)i(\(the)f(RF)m(C)f(1510)i(net)m(w)m(ork)e(securit)m(y)h (system\).)46 b(In)31 b(the)150 2612 y(non-infrastructure)g(mo)s(de,)h (the)h(clien)m(t)g(m)m(ust)f(sp)s(ecify)g(\(via)h(callbac)m(ks\))h(the) f(name)f(of)g(the)g(user,)h(and)150 2721 y(optionally)d(the)f(serv)m (er)g(name)g(and)f(realm.)41 b(The)28 b(serv)m(er)h(m)m(ust)g(b)s(e)f (able)h(to)h(retriev)m(e)g(passw)m(ords)e(giv)m(en)150 2831 y(the)j(name)f(of)h(the)f(user.)275 2966 y(In)36 b(the)i(infrastructure)f(mo)s(de)g(\(pro)m(xied)h(or)f(otherwise\),)j (it)e(allo)m(ws)h(clien)m(ts)g(and)e(serv)m(ers)h(to)g(au-)150 3075 y(then)m(ticate)44 b(via)e(SASL)e(in)h(an)h(RF)m(C)f(1510)i(en)m (vironmen)m(t,)i(using)c(a)h(trusted)f(third)g(part)m(y)-8 b(,)45 b(a)c(\\Key)150 3185 y(Distribution)c(Cen)m(tral".)62 b(In)36 b(the)i(normal)e(mo)s(de,)j(clien)m(ts)f(acquire)g(tic)m(k)m (ets)h(out)f(of)f(band)f(and)g(then)150 3294 y(in)m(v)m(ok)m(es)c(a)f (one)f(roundtrip)f(AP-REQ)h(and)g(AP-REP)g(exc)m(hange.)42 b(In)30 b(the)g(pro)m(xied)g(mo)s(de,)h(whic)m(h)f(can)150 3404 y(b)s(e)37 b(used)f(b)m(y)h(clien)m(ts)i(without)e(IP)g(addresses) f(or)h(without)h(connectivit)m(y)h(to)f(the)f(KDC)g(\(e.g.,)k(when)150 3513 y(the)30 b(KDC)g(is)g(IPv4)g(and)f(the)h(clien)m(t)h(is)f (IPV6-only\),)i(the)e(clien)m(t)h(uses)f(the)g(serv)m(er)g(to)g(pro)m (xy)g(tic)m(k)m(et)j(re-)150 3623 y(quests)c(and)g(\014nishes)g(with)g (the)g(AP-REQ/AP-REP)h(exc)m(hange.)42 b(In)29 b(infrastructure)f(mo)s (de)h(\(pro)m(xied)150 3733 y(or)f(otherwise\),)i(neither)e(the)g (clien)m(t)h(nor)f(serv)m(er)g(need)g(to)h(implemen)m(t)f(an)m(y)h (callbac)m(ks)h(\(this)e(will)g(lik)m(ely)150 3842 y(c)m(hange)k (later,)f(to)g(allo)m(w)h(a)f(serv)m(er)f(to)i(authorize)f(users,)f (similar)g(to)h(the)g(GSSAPI)f(callbac)m(k\).)275 3977 y(XXX:)h(up)s(date)e(when)h(implemen)m(tation)i(has)e(matured)p eop end %%Page: 34 38 TeXDict begin 34 37 bop 3659 -116 a Fu(34)150 299 y Fr(6)80 b(Global)54 b(F)-13 b(unctions)150 585 y Fm(gsasl)p 410 585 37 5 v 55 w(init)3350 777 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_init)c Fh(\()p Fg(Gsasl)34 b(**)e Ff(ctx)p Fh(\))390 887 y Fl(ctx)6 b Fu(:)42 b(p)s(oin)m(ter)30 b(to)h(libgsasl)g(handle.)390 1019 y(This)g(functions)g(initializes)i (libgsasl.)45 b(The)31 b(handle)g(p)s(oin)m(ted)h(to)g(b)m(y)f(ctx)h (is)g(v)-5 b(alid)32 b(for)f(use)g(with)390 1129 y(other)e(libgsasl)g (functions)g(i\013)g(this)f(function)h(is)f(successful.)40 b(It)29 b(also)h(register)f(all)h(builtin)e(SASL)390 1238 y(mec)m(hanisms,)j(using)f Fo(gsasl_register\(\))c Fu(.)390 1371 y(Return)k(v)-5 b(alue:)41 b(GSASL)p 1274 1371 28 4 v 39 w(OK)30 b(i\013)g(successful,)h(otherwise)g Fo(GSASL_MALLOC_ERROR)25 b Fu(.)150 1566 y Fm(gsasl)p 410 1566 37 5 v 55 w(done)3350 1758 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_done)48 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 1868 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2000 y(This)37 b(function)g(destro)m(ys)h(a)f(libgsasl)i (handle.)61 b(The)37 b(handle)g(m)m(ust)g(not)h(b)s(e)f(used)g(with)g (other)390 2110 y(libgsasl)31 b(functions)f(after)h(this)f(call.)150 2305 y Fm(gsasl)p 410 2305 V 55 w(clien)m(t)p 757 2305 V 53 w(mec)m(hlist)3350 2497 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_client_mechlist)f Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(c)m(har)g(**)e Ff(out)p Fh(\))390 2607 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2739 y Fl(out)r Fu(:)41 b(newly)30 b(allo)s(cated)i(output)e(c)m (haracter)i(arra)m(y)-8 b(.)390 2872 y(Return)23 b(a)h(newly)g(allo)s (cated)i(string)e(con)m(taining)h(SASL)e(names,)j(separated)e(b)m(y)g (space,)i(of)e(mec)m(h-)390 2981 y(anisms)35 b(supp)s(orted)f(b)m(y)i (the)g(libgsasl)g(clien)m(t.)58 b Fo(out)35 b Fu(is)h(allo)s(cated)h(b) m(y)f(this)g(function,)h(and)e(it)h(is)390 3091 y(the)31 b(resp)s(onsibilit)m(y)f(of)g(caller)i(to)f(deallo)s(cate)i(it.)390 3223 y(Return)d(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(if)j(successful,)f(or)g(error)g(co)s(de.)150 3418 y Fm(gsasl)p 410 3418 V 55 w(serv)m(er)p 787 3418 V 54 w(mec)m(hlist)3350 3610 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_server_mechlist)f Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(c)m(har)g(**)e Ff(out)p Fh(\))390 3720 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3852 y Fl(out)r Fu(:)41 b(newly)30 b(allo)s(cated)i(output)e(c)m (haracter)i(arra)m(y)-8 b(.)390 3985 y(Return)23 b(a)h(newly)g(allo)s (cated)i(string)e(con)m(taining)h(SASL)e(names,)j(separated)e(b)m(y)g (space,)i(of)e(mec)m(h-)390 4094 y(anisms)34 b(supp)s(orted)f(b)m(y)h (the)h(libgsasl)g(serv)m(er.)54 b Fo(out)33 b Fu(is)i(allo)s(cated)i(b) m(y)d(this)g(function,)i(and)e(it)h(is)390 4204 y(the)c(resp)s (onsibilit)m(y)f(of)g(caller)i(to)f(deallo)s(cate)i(it.)390 4336 y(Return)d(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(if)j(successful,)f(or)g(error)g(co)s(de.)150 4531 y Fm(gsasl)p 410 4531 V 55 w(clien)m(t)p 757 4531 V 53 w(supp)s(ort)p 1224 4531 V 56 w(p)3350 4724 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_client_support_)q(p)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(const)g(c)m(har)g(*)f Ff(name)p Fh(\))390 4833 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4966 y Fl(name)5 b Fu(:)41 b(name)30 b(of)h(SASL)e(mec)m (hanism.)390 5098 y(Decide)j(whether)d(there)i(is)f(clien)m(t-side)j (supp)s(ort)28 b(for)i(a)h(sp)s(eci\014ed)f(mec)m(hanism.)390 5230 y(Return)g(v)-5 b(alue:)41 b(Returns)30 b(1)h(if)f(the)h(libgsasl) h(clien)m(t)g(supp)s(orts)c(the)j(named)f(mec)m(hanism,)h(other-)390 5340 y(wise)f(0.)p eop end %%Page: 35 39 TeXDict begin 35 38 bop 150 -116 a Fu(Chapter)30 b(6:)41 b(Global)31 b(F)-8 b(unctions)2366 b(35)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(serv)m(er)p 787 299 V 54 w(supp)s(ort)p 1255 299 V 56 w(p)3350 496 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_server_support_)q(p)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(const)g(c)m(har)g(*)f Ff(name)p Fh(\))390 605 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 740 y Fl(name)5 b Fu(:)41 b(name)30 b(of)h(SASL)e(mec)m(hanism.)390 874 y(Decide)j(whether)d(there)i(is)f(serv)m(er-side)h(supp)s(ort)e (for)h(a)h(sp)s(eci\014ed)f(mec)m(hanism.)390 1009 y(Return)e(v)-5 b(alue:)41 b(Returns)28 b(1)h(if)g(the)g(libgsasl)h(serv)m(er)f(supp)s (orts)e(the)i(named)g(mec)m(hanism,)g(other-)390 1118 y(wise)h(0.)150 1318 y Fm(gsasl)p 410 1318 V 55 w(clien)m(t)p 757 1318 V 53 w(suggest)p 1200 1318 V 56 w(mec)m(hanism)3350 1514 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g (gsasl_client_suggest_m)q(ech)q(anis)q(m)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 1624 y(const)h(c)m(har)g(*)f Ff(mechlist)p Fh(\))390 1733 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1868 y Fl(mec)m(hlist)r Fu(:)52 b(input)34 b(c)m(haracter)j(arra)m(y)f(with)f(SASL)f(mec)m(hanism)i(names,)g (separated)g(b)m(y)f(in)m(v)-5 b(alid)390 1978 y(c)m(haracters)32 b(\(e.g.)42 b(SPC\).)390 2112 y(Giv)m(en)31 b(a)g(list)g(of)g(mec)m (hanisms,)f(suggest)i(whic)m(h)e(to)h(use.)390 2247 y(Return)36 b(v)-5 b(alue:)54 b(Returns)35 b(name)i(of)g Fo(")p Fu(b)s(est)p Fo(")e Fu(SASL)h(mec)m(hanism)h(supp)s(orted)e(b)m(y)h(the)h(libgsasl) 390 2356 y(clien)m(t)i(whic)m(h)e(is)h(presen)m(t)f(in)g(the)h(input)e (string,)k(or)d(NULL)h(if)f(no)h(supp)s(orted)d(mec)m(hanism)j(is)390 2466 y(found.)150 2665 y Fm(gsasl)p 410 2665 V 55 w(register)3350 2862 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_register)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(const)f(Gsasl)p 2242 2862 30 5 v 44 w(mec)m(hanism)i(*)e Ff(mech)p Fh(\))390 2971 y Fl(ctx)6 b Fu(:)42 b(p)s(oin)m(ter)30 b(to)h(libgsasl)g(handle.) 390 3106 y Fl(mec)m(h)p Fu(:)41 b(plugin)30 b(structure)g(with)g (information)h(ab)s(out)f(plugin.)390 3240 y(This)24 b(function)h(initialize)i(giv)m(en)f(mec)m(hanism,)g(and)e(if)h (successful,)h(add)e(it)i(to)f(the)g(list)h(of)f(plugins)390 3350 y(that)31 b(is)f(used)g(b)m(y)g(the)h(library)-8 b(.)390 3484 y(Return)30 b(v)-5 b(alue:)41 b Fo(GSASL_OK)28 b Fu(i\013)i(successful,)h(otherwise)g Fo(GSASL_MALLOC_ERROR)25 b Fu(.)390 3619 y Fd(Since:)41 b Fu(0.2.0)p eop end %%Page: 36 40 TeXDict begin 36 39 bop 3659 -116 a Fu(36)150 299 y Fr(7)80 b(Callbac)l(k)53 b(F)-13 b(unctions)150 540 y Fu(The)21 b(callbac)m(k)k(is)c(used)h(b)m(y)f(mec)m(hanisms)i(to)f(retriev)m(e)i (information,)g(suc)m(h)d(as)i(username)e(and)g(passw)m(ord,)150 650 y(from)27 b(the)g(application.)41 b(In)27 b(a)g(serv)m(er,)i(the)e (callbac)m(k)i(is)e(used)g(to)h(decide)f(whether)g(a)h(user)e(is)h(p)s (ermitted)150 759 y(to)j(log)h(in)e(or)g(not.)41 b(Y)-8 b(ou)30 b(tell)g(the)g(library)f(of)h(y)m(our)f(callbac)m(k)j(function) d(b)m(y)g(calling)i Fo(gsasl_callback_)150 869 y(set)p Fu(.)275 1006 y(Since)e(y)m(our)h(callbac)m(k)i(ma)m(y)f(need)e(access) i(to)g(data)f(from)g(other)g(parts)f(of)h(y)m(our)g(application,)i (there)150 1115 y(are)h(ho)s(oks)g(to)h(store)f(and)g(retriev)m(e)h (application)h(sp)s(eci\014c)d(p)s(oin)m(ters.)49 b(This)32 b(a)m(v)m(oids)j(the)e(use)f(of)i(global)150 1225 y(v)-5 b(ariables,)30 b(whic)m(h)g(w)m(ouldn't)f(b)s(e)g(thread)g(safe.)41 b(Y)-8 b(ou)30 b(store)g(a)f(p)s(oin)m(ter)h(to)g(some)g(information)f (\(opaque)150 1334 y(from)i(the)h(p)s(oin)m(t)g(of)g(view)g(of)g(the)g (library\))g(b)m(y)g(calling)h Fo(gsasl_callback_hook_set)26 b Fu(and)31 b(can)h(later)150 1444 y(retriev)m(e)g(this)e(data)h(in)f (y)m(our)h(callbac)m(k)h(b)m(y)e(calling)i Fo(gsasl_callback_hook_get)p Fu(.)150 1646 y Fm(gsasl)p 410 1646 37 5 v 55 w(callbac)m(k)p 893 1646 V 52 w(set)3350 1845 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_callback_set)c Fh(\()p Fg(Gsasl)34 b(*)e Ff(ctx)p Fg(,)h(Gsasl)p 2241 1845 30 5 v 44 w(callbac)m(k)p 2634 1845 V 44 w(function)g Ff(cb)p Fh(\))390 1954 y Fl(ctx)6 b Fu(:)42 b(handle)30 b(receiv)m(ed)h(from)f Fo(gsasl_init\(\))d Fu(.)390 2091 y Fl(cb)r Fu(:)41 b(p)s(oin)m(ter)30 b(to)h(function)f(implemen)m(ted)h(b)m(y)f(application.)390 2228 y(Store)41 b(the)g(p)s(oin)m(ter)h(to)f(the)h(application)g(pro)m (vided)f(callbac)m(k)i(in)d(the)i(library)e(handle.)72 b(The)390 2338 y(callbac)m(k)43 b(will)d(b)s(e)g(used,)j(via)e Fo(gsasl_callback\(\))36 b Fu(,)43 b(b)m(y)d(mec)m(hanisms)h(to)g (disco)m(v)m(er)h(v)-5 b(arious)390 2447 y(parameters)34 b(\(suc)m(h)g(as)f(username)h(and)f(passw)m(ords\).)50 b(The)33 b(callbac)m(k)i(function)f(will)g(b)s(e)f(called)390 2557 y(with)40 b(a)g(Gsasl)p 911 2557 28 4 v 41 w(prop)s(ert)m(y)f(v)-5 b(alue)41 b(indicating)g(the)f(requested)g(b)s(eha)m(viour.)69 b(F)-8 b(or)41 b(example,)i(for)390 2666 y Fo(GSASL_ANONYMOUS_TOKEN)21 b Fu(,)28 b(the)e(function)h(is)g(exp)s(ected)g(to)g(in)m(v)m(ok)m(e)i (gsasl)p 3017 2666 V 41 w(prop)s(ert)m(y)p 3400 2666 V 39 w(set\()f Fo(CTX)390 2776 y Fu(,)47 b Fo(GSASL_ANONYMOUS_TOKEN)37 b Fu(,)47 b Fo(")p Fu(tok)m(en)p Fo(")p Fu(\))d(where)f Fo(")p Fu(tok)m(en)p Fo(")g Fu(is)h(the)f(anon)m(ymous)g(tok)m(en)i (the)390 2886 y(application)35 b(wishes)e(the)h(SASL)f(mec)m(hanism)h (to)h(use.)50 b(See)34 b(the)g(man)m(ual)g(for)g(the)g(meaning)g(of)390 2995 y(all)d(parameters.)390 3132 y Fd(Since:)41 b Fu(0.2.0)150 3334 y Fm(gsasl)p 410 3334 37 5 v 55 w(callbac)m(k)3350 3533 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_callback)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(Gsasl)p 1982 3533 30 5 v 44 w(session)g(*)f Ff(sctx)p Fg(,)565 3642 y(Gsasl)p 806 3642 V 44 w(prop)s(ert)m(y)h Ff(prop)p Fh(\))390 3752 y Fl(ctx)6 b Fu(:)42 b(handle)30 b(receiv)m(ed)h(from)f Fo(gsasl_init\(\))d Fu(,)k(ma)m(y)g(b)s(e)f(NULL)g(to)h(deriv)m(e)g(it) g(from)f Fo(sctx)f Fu(.)390 3889 y Fl(sctx)6 b Fu(:)42 b(session)30 b(handle.)390 4025 y Fl(prop)s Fu(:)39 b(en)m(umerated)31 b(v)-5 b(alue)31 b(of)g(Gsasl)p 1691 4025 28 4 v 40 w(prop)s(ert)m(y)f (t)m(yp)s(e.)390 4162 y(In)m(v)m(ok)m(e)23 b(the)f(application)i (callbac)m(k.)40 b(The)21 b Fo(prop)g Fu(v)-5 b(alue)22 b(indicate)h(what)f(the)g(callbac)m(k)i(is)e(exp)s(ected)390 4272 y(to)29 b(do.)39 b(F)-8 b(or)29 b(example,)g(for)f Fo(GSASL_ANONYMOUS_TOKEN)22 b Fu(,)28 b(the)g(function)f(is)h(exp)s (ected)g(to)h(in)m(v)m(ok)m(e)390 4382 y(gsasl)p 583 4382 V 41 w(prop)s(ert)m(y)p 966 4382 V 39 w(set\()j Fo(SCTX)e Fu(,)i Fo(GSASL_ANONYMOUS_TOKEN)25 b Fu(,)31 b Fo(")p Fu(tok)m(en)p Fo(")p Fu(\))h(where)f Fo(")p Fu(tok)m(en)p Fo(")h Fu(is)f(the)390 4491 y(anon)m(ymous)24 b(tok)m(en)i(the)f(application)h(wishes)e(the)h(SASL)e(mec)m(hanism)i (to)g(use.)39 b(See)25 b(the)g(man)m(ual)390 4601 y(for)30 b(the)h(meaning)f(of)h(all)g(parameters.)390 4738 y(Note)39 b(that)e(if)h(no)f(callbac)m(k)i(has)e(b)s(een)g(set)h(b)m(y)f(the)g (application,)k(but)36 b(the)i(obsolete)h(callbac)m(k)390 4847 y(in)m(terface)29 b(has)e(b)s(een)g(used,)g(this)g(function)g (will)h(translate)g(the)g(old)f(callbac)m(k)j(in)m(terface)e(in)m(to)h (the)390 4957 y(new.)40 b(This)30 b(in)m(terface)i(should)d(b)s(e)h (su\016cien)m(t)h(to)g(in)m(v)m(ok)m(e)h(all)f(callbac)m(ks,)i(b)s(oth) d(new)f(and)h(old.)390 5094 y(Return)48 b(v)-5 b(alue:)79 b(Returns)48 b(whatev)m(er)h(the)h(application)g(callbac)m(k)h (returns,)i(or)48 b Fo(GSASL_NO_)390 5203 y(CALLBACK)28 b Fu(if)i(no)h(application)g(w)m(as)g(kno)m(wn.)390 5340 y Fd(Since:)41 b Fu(0.2.0)p eop end %%Page: 37 41 TeXDict begin 37 40 bop 150 -116 a Fu(Chapter)30 b(7:)41 b(Callbac)m(k)32 b(F)-8 b(unctions)2285 b(37)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(callbac)m(k)p 893 299 V 52 w(ho)s(ok)p 1203 299 V 55 w(set)3350 496 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_callback_hook_set)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(v)m(oid)e(*)h Ff(hook)p Fh(\))390 605 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 740 y Fl(ho)s(ok)6 b Fu(:)40 b(opaque)31 b(p)s(oin)m(ter)f(to)h(application)h(sp)s(eci\014c)e(data.)390 874 y(Store)h(application)g(sp)s(eci\014c)f(data)i(in)e(the)g(libgsasl) h(handle.)390 1009 y(The)39 b(application)i(data)g(can)e(b)s(e)h(later) g(\(for)g(instance,)j(inside)c(a)h(callbac)m(k\))i(b)s(e)d(retriev)m (ed)i(b)m(y)390 1118 y(calling)c Fo(gsasl_callback_hook_get\()o(\))30 b Fu(.)56 b(This)34 b(is)i(normally)g(used)e(b)m(y)i(the)f(application) i(to)390 1228 y(main)m(tain)31 b(a)g(global)h(state)f(b)s(et)m(w)m(een) g(the)g(main)f(program)g(and)g(callbac)m(ks.)390 1362 y Fd(Since:)41 b Fu(0.2.0)150 1562 y Fm(gsasl)p 410 1562 V 55 w(callbac)m(k)p 893 1562 V 52 w(ho)s(ok)p 1203 1562 V 55 w(get)3350 1758 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(*)e(gsasl_callback_hook_ge)q(t)g Fh(\()p Fg(Gsasl)33 b(*)g Ff(ctx)p Fh(\))390 1868 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2002 y(Retriev)m(e)h(application)g(sp)s(eci\014c)e(data)h (from)f(libgsasl)h(handle.)390 2137 y(The)37 b(application)i(data)f(is) g(set)g(using)f Fo(gsasl_callback_hook_set)o(\(\))31 b Fu(.)62 b(This)37 b(is)h(normally)390 2247 y(used)f(b)m(y)h(the)g (application)h(to)f(main)m(tain)h(a)f(global)h(state)g(b)s(et)m(w)m (een)f(the)g(main)g(program)g(and)390 2356 y(callbac)m(ks.)390 2491 y(Return)30 b(v)-5 b(alue:)41 b(Returns)29 b(the)i(application)h (sp)s(eci\014c)e(data,)h(or)f(NULL.)390 2625 y Fd(Since:)41 b Fu(0.2.0)150 2824 y Fm(gsasl)p 410 2824 V 55 w(session)p 828 2824 V 56 w(ho)s(ok)p 1142 2824 V 55 w(set)3350 3021 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_session_hook_set)e Fh(\()p Fg(Gsasl)p 1884 3021 30 5 v 44 w(session)34 b(*)f Ff(sctx)p Fg(,)h(v)m(oid)f(*)g Ff(hook)p Fh(\))390 3131 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.)390 3265 y Fl(ho)s(ok)6 b Fu(:)40 b(opaque)31 b(p)s(oin)m(ter)f(to)h (application)h(sp)s(eci\014c)e(data.)390 3400 y(Store)h(application)g (sp)s(eci\014c)f(data)i(in)e(the)g(libgsasl)h(session)g(handle.)390 3534 y(The)39 b(application)i(data)g(can)e(b)s(e)h(later)g(\(for)g (instance,)j(inside)c(a)h(callbac)m(k\))i(b)s(e)d(retriev)m(ed)i(b)m(y) 390 3644 y(calling)g Fo(gsasl_session_hook_get\(\))33 b Fu(.)68 b(This)38 b(is)i(normally)g(used)e(b)m(y)i(the)f(application) i(to)390 3753 y(main)m(tain)31 b(a)g(p)s(er-session)f(state)i(b)s(et)m (w)m(een)f(the)f(main)g(program)h(and)e(callbac)m(ks.)390 3888 y Fd(Since:)41 b Fu(0.2.14)150 4087 y Fm(gsasl)p 410 4087 37 5 v 55 w(session)p 828 4087 V 56 w(ho)s(ok)p 1142 4087 V 55 w(get)3350 4284 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(*)e(gsasl_session_hook_get)g Fh(\()p Fg(Gsasl)p 1988 4284 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fh(\))390 4394 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.)390 4528 y(Retriev)m(e)i(application)g(sp)s(eci\014c)e(data)h(from)f (libgsasl)h(session)g(handle.)390 4663 y(The)37 b(application)i(data)f (is)g(set)g(using)f Fo(gsasl_callback_hook_set)o(\(\))31 b Fu(.)62 b(This)37 b(is)h(normally)390 4772 y(used)e(b)m(y)h(the)h (application)g(to)g(main)m(tain)g(a)g(p)s(er-session)e(state)j(b)s(et)m (w)m(een)f(the)f(main)g(program)390 4882 y(and)30 b(callbac)m(ks.)390 5016 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b(the)i(application)h(sp)s (eci\014c)e(data,)h(or)f(NULL.)390 5151 y Fd(Since:)41 b Fu(0.2.14)p eop end %%Page: 38 42 TeXDict begin 38 41 bop 3659 -116 a Fu(38)150 299 y Fr(8)80 b(Prop)t(ert)l(y)53 b(F)-13 b(unctions)150 625 y Fm(gsasl)p 410 625 37 5 v 55 w(prop)s(ert)m(y)p 931 625 V 54 w(set)3350 831 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_property_set)c Fh(\()p Fg(Gsasl)p 1674 831 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)h(Gsasl)p 2634 831 V 44 w(prop)s(ert)m(y)565 941 y Ff(prop)p Fg(,)g(const)g(c)m(har)g(*)f Ff(data)p Fh(\))390 1050 y Fl(sctx)6 b Fu(:)42 b(session)30 b(handle.)390 1194 y Fl(prop)s Fu(:)38 b(en)m(umerated)29 b(v)-5 b(alue)29 b(of)f(Gsasl)p 1683 1194 28 4 v 41 w(prop)s(ert)m(y)g(t)m(yp)s(e,)h (indicating)g(the)g(t)m(yp)s(e)f(of)h(data)g(in)f Fo(data)f Fu(.)390 1337 y Fl(data)p Fu(:)41 b(zero)32 b(terminated)e(c)m (haracter)i(string)f(to)g(store.)390 1481 y(Mak)m(e)40 b(a)f(cop)m(y)h(of)f Fo(data)e Fu(and)i(store)g(it)g(in)g(the)g (session)f(handle)h(for)f(the)h(indicated)h(prop)s(ert)m(y)390 1590 y Fo(prop)29 b Fu(.)390 1734 y(Y)-8 b(ou)26 b(can)g(immediately)h (deallo)s(cate)h Fo(data)c Fu(after)j(calling)g(this)e(function,)i (without)e(a\013ecting)j(the)390 1844 y(data)j(stored)g(in)f(the)g (session)h(handle.)390 1987 y Fd(Since:)41 b Fu(0.2.0)150 2196 y Fm(gsasl)p 410 2196 37 5 v 55 w(prop)s(ert)m(y)p 931 2196 V 54 w(set)p 1137 2196 V 55 w(ra)m(w)3350 2401 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_property_set_raw)e Fh(\()p Fg(Gsasl)p 1884 2401 30 5 v 44 w(session)34 b(*)f Ff(sctx)p Fg(,)565 2511 y(Gsasl)p 806 2511 V 44 w(prop)s(ert)m(y)h Ff(prop)p Fg(,)g(const)f(c)m(har)h(*)f Ff(data)p Fg(,)h(size)p 2515 2511 V 45 w(t)f Ff(len)p Fh(\))390 2621 y Fl(sctx)6 b Fu(:)42 b(session)30 b(handle.)390 2764 y Fl(prop)s Fu(:)38 b(en)m(umerated)29 b(v)-5 b(alue)29 b(of)f(Gsasl)p 1683 2764 28 4 v 41 w(prop)s(ert)m(y)g(t)m(yp)s(e,)h(indicating)g(the)g (t)m(yp)s(e)f(of)h(data)g(in)f Fo(data)f Fu(.)390 2908 y Fl(data)p Fu(:)41 b(c)m(haracter)32 b(string)f(to)g(store.)390 3051 y Fl(len)p Fu(:)41 b(length)31 b(of)f(c)m(haracter)i(string)e(to)i (store.)390 3195 y(Mak)m(e)c(a)f(cop)m(y)h(of)f Fo(len)f Fu(sized)h Fo(data)e Fu(and)i(store)g(a)g(zero)h(terminated)f(v)m (ersion)g(of)g(it)g(in)g(the)g(session)390 3305 y(handle)j(for)g(the)h (indicated)g(prop)s(ert)m(y)e Fo(prop)h Fu(.)390 3448 y(Y)-8 b(ou)26 b(can)g(immediately)h(deallo)s(cate)h Fo(data)c Fu(after)j(calling)g(this)e(function,)i(without)e (a\013ecting)j(the)390 3558 y(data)j(stored)g(in)f(the)g(session)h (handle.)390 3701 y(Except)g(for)f(the)h(length)f(indicator,)i(this)e (function)g(is)g(iden)m(tical)j(to)e(gsasl)p 2975 3701 V 41 w(prop)s(ert)m(y)p 3358 3701 V 39 w(set.)390 3845 y Fd(Since:)41 b Fu(0.2.0)150 4053 y Fm(gsasl)p 410 4053 37 5 v 55 w(prop)s(ert)m(y)p 931 4053 V 54 w(fast)3350 4259 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g (gsasl_property_fast)e Fh(\()p Fg(Gsasl)p 2145 4259 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)565 4369 y(Gsasl)p 806 4369 V 44 w(prop)s(ert)m(y)h Ff(prop)p Fh(\))390 4478 y Fl(sctx)6 b Fu(:)42 b(session)30 b(handle.)390 4622 y Fl(prop)s Fu(:)38 b(en)m(umerated)29 b(v)-5 b(alue)29 b(of)f(Gsasl)p 1683 4622 28 4 v 41 w(prop)s(ert)m(y)g(t)m(yp)s(e,)h (indicating)g(the)g(t)m(yp)s(e)f(of)h(data)g(in)f Fo(data)f Fu(.)390 4766 y(Retriev)m(e)32 b(the)f(data)g(stored)f(in)g(the)h (session)f(handle)g(for)g(giv)m(en)i(prop)s(ert)m(y)e Fo(prop)f Fu(.)390 4909 y(The)h(p)s(oin)m(ter)g(is)h(to)g(liv)m(e)g (data,)h(and)e(m)m(ust)g(not)g(b)s(e)g(deallo)s(cated)i(or)f(mo)s (di\014ed)e(in)h(an)m(y)h(w)m(a)m(y)-8 b(.)390 5053 y(This)30 b(function)g(will)g(not)h(in)m(v)m(ok)m(e)h(the)f(application)h (callbac)m(k.)390 5196 y(Return)e(v)-5 b(alue:)41 b(Return)29 b(prop)s(ert)m(y)h(v)-5 b(alue,)31 b(if)g(kno)m(wn,)f(or)g(NULL)g(if)h (no)f(v)-5 b(alue)31 b(kno)m(wn.)390 5340 y Fd(Since:)41 b Fu(0.2.0)p eop end %%Page: 39 43 TeXDict begin 39 42 bop 150 -116 a Fu(Chapter)30 b(8:)41 b(Prop)s(ert)m(y)30 b(F)-8 b(unctions)2276 b(39)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(prop)s(ert)m(y)p 931 299 V 54 w(get)3350 496 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g(gsasl_property_get)e Fh(\()p Fg(Gsasl)p 2093 496 30 5 v 44 w(session)35 b(*)e Ff(sctx)p Fg(,)565 605 y(Gsasl)p 806 605 V 44 w(prop)s(ert)m(y)h Ff(prop)p Fh(\))390 715 y Fl(sctx)6 b Fu(:)42 b(session)30 b(handle.)390 849 y Fl(prop)s Fu(:)38 b(en)m(umerated)29 b(v)-5 b(alue)29 b(of)f(Gsasl)p 1683 849 28 4 v 41 w(prop)s(ert)m(y)g (t)m(yp)s(e,)h(indicating)g(the)g(t)m(yp)s(e)f(of)h(data)g(in)f Fo(data)f Fu(.)390 984 y(Retriev)m(e)44 b(the)f(data)h(stored)f(in)f (the)h(session)g(handle)f(for)g(giv)m(en)i(prop)s(ert)m(y)e Fo(prop)g Fu(,)k(p)s(ossibly)390 1093 y(in)m(v)m(oking)32 b(the)e(application)i(callbac)m(k)g(to)f(get)h(the)f(v)-5 b(alue.)390 1228 y(The)30 b(p)s(oin)m(ter)g(is)h(to)g(liv)m(e)g(data,)h (and)e(m)m(ust)g(not)g(b)s(e)g(deallo)s(cated)i(or)f(mo)s(di\014ed)e (in)h(an)m(y)h(w)m(a)m(y)-8 b(.)390 1362 y(This)27 b(function)h(will)g (in)m(v)m(ok)m(e)i(the)e(application)h(callbac)m(k,)i(using)d Fo(gsasl_callback\(\))23 b Fu(,)29 b(when)e(a)390 1472 y(prop)s(ert)m(y)j(v)-5 b(alue)31 b(is)f(not)h(kno)m(wn.)390 1606 y(If)41 b(no)g(v)-5 b(alue)42 b(is)g(kno)m(wn,)i(and)d(no)g (callbac)m(k)j(is)e(sp)s(eci\014ed)e(or)i(if)f(the)h(callbac)m(k)i (fail)e(to)g(return)390 1716 y(data,)k(and)c(if)h(an)m(y)f(obsolete)j (callbac)m(k)f(functions)e(has)g(b)s(een)g(set)h(b)m(y)f(the)h (application,)k(this)390 1826 y(function)33 b(will)h(try)f(to)h(call)h (these)f(obsolete)h(callbac)m(ks,)h(and)d(store)h(the)g(returned)e (data)i(as)g(the)390 1935 y(corresp)s(onding)i(prop)s(ert)m(y)-8 b(.)61 b(This)37 b(b)s(eha)m(viour)g(of)g(this)g(function)g(will)h(b)s (e)e(remo)m(v)m(ed)i(when)f(the)390 2045 y(obsolete)32 b(callbac)m(k)g(in)m(terfaces)g(are)f(remo)m(v)m(ed.)390 2179 y(Return)f(v)-5 b(alue:)41 b(Return)29 b(data)i(for)g(prop)s(ert)m (y)-8 b(,)30 b(or)g(NULL)h(if)f(no)g(v)-5 b(alue)31 b(kno)m(wn.)390 2314 y Fd(Since:)41 b Fu(0.2.0)p eop end %%Page: 40 44 TeXDict begin 40 43 bop 3659 -116 a Fu(40)150 299 y Fr(9)80 b(Session)52 b(F)-13 b(unctions)150 607 y Fm(gsasl)p 410 607 37 5 v 55 w(clien)m(t)p 757 607 V 53 w(start)3350 807 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_client_start)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(const)f(c)m(har)h(*)f Ff(mech)p Fg(,)565 917 y(Gsasl)p 806 917 30 5 v 44 w(session)h(**)f Ff(sctx)p Fh(\))390 1027 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1164 y Fl(mec)m(h)p Fu(:)41 b(name)31 b(of)f(SASL)f(mec)m (hanism.)390 1302 y Fl(sctx)6 b Fu(:)42 b(p)s(oin)m(ter)30 b(to)h(clien)m(t)h(handle.)390 1440 y(This)i(functions)g(initiates)i(a) f(clien)m(t)i(SASL)c(authen)m(tication.)56 b(This)34 b(function)g(m)m(ust)h(b)s(e)f(called)390 1549 y(b)s(efore)c(an)m(y)h (other)f(gsasl)p 1265 1549 28 4 v 41 w(clien)m(t)p 1519 1549 V 42 w(*\(\))h(function)f(is)h(called.)390 1687 y(Return)f(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(if)j(successful,)f(or)g(error)g(co)s(de.)150 1890 y Fm(gsasl)p 410 1890 37 5 v 55 w(serv)m(er)p 787 1890 V 54 w(start)3350 2090 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_server_start)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(const)f(c)m(har)h(*)f Ff(mech)p Fg(,)565 2199 y(Gsasl)p 806 2199 30 5 v 44 w(session)h(**)f Ff(sctx)p Fh(\))390 2309 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2447 y Fl(mec)m(h)p Fu(:)41 b(name)31 b(of)f(SASL)f(mec)m (hanism.)390 2584 y Fl(sctx)6 b Fu(:)42 b(p)s(oin)m(ter)30 b(to)h(serv)m(er)g(handle.)390 2722 y(This)h(functions)h(initiates)i(a) f(serv)m(er)f(SASL)f(authen)m(tication.)52 b(This)32 b(function)h(m)m(ust)g(b)s(e)g(called)390 2832 y(b)s(efore)d(an)m(y)h (other)f(gsasl)p 1265 2832 28 4 v 41 w(serv)m(er)p 1539 2832 V 41 w(*\(\))h(function)f(is)g(called.)390 2969 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(if)j(successful,)f(or)g(error)g(co)s(de.)150 3172 y Fm(gsasl)p 410 3172 37 5 v 55 w(step)3350 3372 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_step)c Fh(\()p Fg(Gsasl)p 1204 3372 30 5 v 44 w(session)34 b(*)f Ff(sctx)p Fg(,)h(const)g(c)m (har)g(*)f Ff(input)p Fg(,)h(size)p 2969 3372 V 45 w(t)565 3481 y Ff(input_len)p Fg(,)i(c)m(har)e(**)e Ff(output)p Fg(,)j(size)p 1985 3481 V 45 w(t)d(*)i Ff(output_len)p Fh(\))390 3591 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.) 390 3729 y Fl(input)r Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)-8 b(.)390 3867 y Fl(input)p 609 3867 28 4 v 39 w(len)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)-8 b(.)390 4004 y Fl(output)r Fu(:)40 b(newly)30 b(allo)s(cated)j(output)d (b)m(yte)h(arra)m(y)-8 b(.)390 4142 y Fl(output)p 664 4142 V 40 w(len)p Fu(:)40 b(p)s(oin)m(ter)31 b(to)g(output)f(v)-5 b(ariable)31 b(with)f(size)h(of)g(output)f(b)m(yte)h(arra)m(y)-8 b(.)390 4280 y(P)m(erform)30 b(one)h(step)f(of)g(SASL)g(authen)m (tication.)42 b(This)30 b(reads)g(data)h(from)f(the)g(other)g(end)g (\(from)390 4389 y Fo(input)k Fu(and)h Fo(input_len)e Fu(\),)k(pro)s(cesses)f(it)g(\(p)s(oten)m(tially)i(in)m(v)m(oking)e (callbac)m(ks)i(to)e(the)g(applica-)390 4499 y(tion\),)25 b(and)d(writes)h(data)g(to)g(serv)m(er)g(\(in)m(to)h(newly)e(allo)s (cated)j(v)-5 b(ariable)23 b Fo(output)e Fu(and)h Fo(output_len)390 4608 y Fu(that)31 b(indicate)g(the)g(length)g(of)f Fo(output)f Fu(\).)390 4746 y(The)38 b(con)m(ten)m(ts)j(of)e(the)g Fo(output)f Fu(bu\013er)f(is)i(unsp)s(eci\014ed)f(if)h(this)f (functions)h(returns)f(an)m(ything)390 4856 y(other)j(than)f Fo(GSASL_OK)e Fu(or)j Fo(GSASL_NEEDS_MORE)36 b Fu(.)71 b(If)40 b(this)g(function)g(return)g Fo(GSASL_OK)e Fu(or)390 4965 y Fo(GSASL_NEEDS_MORE)26 b Fu(,)31 b(ho)m(w)m(ev)m(er,)h(the)f Fo(output)e Fu(bu\013er)h(is)g(allo)s(cated)j(b)m(y)d(this)h(function,) f(and)g(it)390 5075 y(is)g(the)h(resp)s(onsibilit)m(y)f(of)h(caller)h (to)f(deallo)s(cate)h(it)f(b)m(y)g(calling)g(free)g(\()g Fo(output)d Fu(\).)390 5213 y(Return)42 b(v)-5 b(alue:)65 b(Returns)41 b Fo(GSASL_OK)f Fu(if)j(authen)m(ticated)h(terminated)f (successfully)-8 b(,)46 b Fo(GSASL_)390 5322 y(NEEDS_MORE)28 b Fu(if)i(more)g(data)h(is)g(needed,)f(or)h(error)f(co)s(de.)p eop end %%Page: 41 45 TeXDict begin 41 44 bop 150 -116 a Fu(Chapter)30 b(9:)41 b(Session)30 b(F)-8 b(unctions)2345 b(41)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(step64)3350 495 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_step64)c Fh(\()p Fg(Gsasl)p 1308 495 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)h(const)g(c)m(har)g(*)f Ff(b64input)p Fg(,)565 605 y(c)m(har)h(**)f Ff(b64output)p Fh(\))390 714 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(clien)m(t)h (handle.)390 849 y Fl(b64input)r Fu(:)40 b(input)30 b(base64)h(enco)s (ded)f(b)m(yte)h(arra)m(y)-8 b(.)390 983 y Fl(b64output)r Fu(:)41 b(newly)30 b(allo)s(cated)i(output)e(base64)i(enco)s(ded)e(b)m (yte)h(arra)m(y)-8 b(.)390 1117 y(This)35 b(is)g(a)h(simple)g(wrapp)s (er)d(around)i Fo(gsasl_step\(\))d Fu(that)k(base64)h(deco)s(des)e(the) h(input)f(and)390 1227 y(base64)c(enco)s(des)g(the)f(output.)390 1361 y(The)c(con)m(ten)m(ts)j(of)e(the)h Fo(b64output)c Fu(bu\013er)i(is)h(unsp)s(eci\014ed)e(if)i(this)g(functions)g(returns)f (an)m(ything)390 1471 y(other)41 b(than)f Fo(GSASL_OK)e Fu(or)j Fo(GSASL_NEEDS_MORE)36 b Fu(.)71 b(If)40 b(this)g(function)g (return)g Fo(GSASL_OK)e Fu(or)390 1581 y Fo(GSASL_NEEDS_MORE)21 b Fu(,)27 b(ho)m(w)m(ev)m(er,)h(the)e Fo(b64output)d Fu(bu\013er)i(is)g(allo)s(cated)j(b)m(y)d(this)h(function,)h(and)390 1690 y(it)k(is)f(the)h(resp)s(onsibilit)m(y)f(of)h(caller)g(to)h (deallo)s(cate)g(it)f(b)m(y)f(calling)i(free)f(\()g Fo(b64output)c Fu(\).)390 1824 y(Return)42 b(v)-5 b(alue:)65 b(Returns)41 b Fo(GSASL_OK)f Fu(if)j(authen)m(ticated)h(terminated)f(successfully)-8 b(,)46 b Fo(GSASL_)390 1934 y(NEEDS_MORE)28 b Fu(if)i(more)g(data)h(is) g(needed,)f(or)h(error)f(co)s(de.)150 2133 y Fm(gsasl)p 410 2133 37 5 v 55 w(\014nish)3350 2329 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_finish)49 b Fh(\()p Fg(Gsasl)p 1361 2329 30 5 v 44 w(session)34 b(*)f Ff(sctx)p Fh(\))390 2439 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.)390 2573 y(Destro)m(y)36 b(a)f(libgsasl)g(clien)m(t)h(or)f(serv)m(er)g (handle.)53 b(The)34 b(handle)g(m)m(ust)g(not)h(b)s(e)f(used)f(with)i (other)390 2683 y(libgsasl)c(functions)f(after)h(this)f(call.)150 2882 y Fm(gsasl)p 410 2882 37 5 v 55 w(enco)s(de)3350 3078 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_encode)c Fh(\()p Fg(Gsasl)p 1308 3078 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)h(const)g(c)m(har)g(*)f Ff(input)p Fg(,)h(size)p 3074 3078 V 44 w(t)565 3188 y Ff(input_len)p Fg(,)i(c)m(har)e(**)e Ff(output)p Fg(,)j(size)p 1985 3188 V 45 w(t)d(*)i Ff(output_len)p Fh(\))390 3297 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.) 390 3432 y Fl(input)r Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)-8 b(.)390 3566 y Fl(input)p 609 3566 28 4 v 39 w(len)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)-8 b(.)390 3700 y Fl(output)r Fu(:)40 b(newly)30 b(allo)s(cated)j(output)d (b)m(yte)h(arra)m(y)-8 b(.)390 3835 y Fl(output)p 664 3835 V 40 w(len)p Fu(:)40 b(size)32 b(of)e(output)g(b)m(yte)h(arra)m(y) -8 b(.)390 3969 y(Enco)s(de)32 b(data)h(according)g(to)g(negotiated)h (SASL)d(mec)m(hanism.)46 b(This)31 b(migh)m(t)i(mean)g(that)f(data)390 4079 y(is)e(in)m(tegrit)m(y)j(or)d(priv)-5 b(acy)31 b(protected.)390 4213 y(The)i Fo(output)f Fu(bu\013er)g(is)h(allo)s(cated)j(b)m(y)d (this)g(function,)h(and)f(it)h(is)f(the)h(resp)s(onsibilit)m(y)f(of)h (caller)390 4322 y(to)d(deallo)s(cate)i(it)e(b)m(y)f(calling)i(free\()f Fo(output)d Fu(\).)390 4457 y(Return)g(v)-5 b(alue:)41 b(Returns)28 b Fo(GSASL_OK)f Fu(if)i(enco)s(ding)g(w)m(as)g (successful,)g(otherwise)h(an)f(error)f(co)s(de.)150 4656 y Fm(gsasl)p 410 4656 37 5 v 55 w(deco)s(de)3350 4852 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_decode)c Fh(\()p Fg(Gsasl)p 1308 4852 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)h(const)g(c)m(har)g(*)f Ff(input)p Fg(,)h(size)p 3074 4852 V 44 w(t)565 4962 y Ff(input_len)p Fg(,)i(c)m(har)e(**)e Ff(output)p Fg(,)j(size)p 1985 4962 V 45 w(t)d(*)i Ff(output_len)p Fh(\))390 5071 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.) 390 5206 y Fl(input)r Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)-8 b(.)390 5340 y Fl(input)p 609 5340 28 4 v 39 w(len)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)-8 b(.)p eop end %%Page: 42 46 TeXDict begin 42 45 bop 150 -116 a Fu(Chapter)30 b(9:)41 b(Session)30 b(F)-8 b(unctions)2345 b(42)390 299 y Fl(output)r Fu(:)40 b(newly)30 b(allo)s(cated)j(output)d(b)m(yte)h(arra)m(y)-8 b(.)390 433 y Fl(output)p 664 433 28 4 v 40 w(len)p Fu(:)40 b(size)32 b(of)e(output)g(b)m(yte)h(arra)m(y)-8 b(.)390 568 y(Deco)s(de)33 b(data)g(according)h(to)f(negotiated)h(SASL)d(mec)m (hanism.)47 b(This)32 b(migh)m(t)h(mean)f(that)h(data)390 677 y(is)d(in)m(tegrit)m(y)j(or)d(priv)-5 b(acy)31 b(protected.)390 812 y(The)i Fo(output)f Fu(bu\013er)g(is)h(allo)s(cated)j(b)m(y)d(this) g(function,)h(and)f(it)h(is)f(the)h(resp)s(onsibilit)m(y)f(of)h(caller) 390 922 y(to)d(deallo)s(cate)i(it)e(b)m(y)f(calling)i(free\()f Fo(output)d Fu(\).)390 1056 y(Return)g(v)-5 b(alue:)41 b(Returns)28 b Fo(GSASL_OK)f Fu(if)i(enco)s(ding)g(w)m(as)g (successful,)g(otherwise)h(an)f(error)f(co)s(de.)150 1255 y Fm(gsasl)p 410 1255 37 5 v 55 w(mec)m(hanism)p 1055 1255 V 54 w(name)3350 1452 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g(gsasl_mechanism_name)e Fh(\()p Fg(Gsasl)p 2197 1452 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fh(\))390 1562 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.) 390 1696 y(This)39 b(function)g(returns)f(the)i(name)g(of)f(the)h(SASL) f(mec)m(hanism)g(used)g(in)g(the)h(session.)68 b(The)390 1806 y(p)s(oin)m(ter)30 b(m)m(ust)h(not)f(b)s(e)g(deallo)s(cated)i(b)m (y)f(the)f(caller.)390 1940 y(Return)e(v)-5 b(alue:)40 b(Returns)27 b(a)i(zero)g(terminated)g(c)m(haracter)h(arra)m(y)f(with)f (the)g(name)h(of)f(the)h(SASL)390 2050 y(mec)m(hanism,)i(or)f(NULL)h (if)f(not)h(kno)m(wn.)390 2184 y Fd(Since:)41 b Fu(0.2.28)p eop end %%Page: 43 47 TeXDict begin 43 46 bop 3659 -116 a Fu(43)150 299 y Fr(10)80 b(Utilities)150 625 y Fm(gsasl)p 410 625 37 5 v 55 w(saslprep)3350 831 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_saslprep)d Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)g(Gsasl)p 2141 831 30 5 v 44 w(saslprep)p 2534 831 V 45 w(\015ags)h Ff(flags)p Fg(,)565 941 y(c)m(har)g(**)f Ff(out)p Fg(,)h(in)m(t)f(*)g Ff(stringpreprc)p Fh(\))390 1050 y Fl(in)p Fu(:)40 b(a)31 b(UTF-8)g(enco)s(ded)f(string.)390 1194 y Fl(\015ags)t Fu(:)41 b(an)m(y)30 b(SASLprep)f(\015ag,)i(e.g.,)h Fo (GSASL_ALLOW_UNASSIGNED)24 b Fu(.)390 1337 y Fl(out)r Fu(:)41 b(on)30 b(exit,)i(con)m(tains)f(newly)f(allo)s(cated)j(output)d (string.)390 1481 y Fl(stringpreprc)6 b Fu(:)39 b(if)31 b(non-NULL,)f(will)h(hold)f(precise)g(stringprep)g(return)f(co)s(de.) 390 1624 y(Prepare)f(string)g(using)g(SASLprep.)38 b(On)27 b(success,)i(the)f Fo(out)g Fu(v)-5 b(ariable)28 b(m)m(ust)g(b)s(e)g (deallo)s(cated)i(b)m(y)390 1734 y(the)h(caller.)390 1878 y(Return)f(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(on)j(success,)f(or)h Fo(GSASL_SASLPREP_ERROR)25 b Fu(on)30 b(error.)390 2021 y Fd(Since:)41 b Fu(0.2.3)150 2230 y Fm(gsasl)p 410 2230 37 5 v 55 w(base64)p 819 2230 V 55 w(to)3350 2435 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_base64_to)d Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)h(size)p 2115 2435 30 5 v 44 w(t)f Ff(inlen)p Fg(,)h(c)m(har)g(**)f Ff(out)p Fg(,)565 2545 y(size)p 727 2545 V 44 w(t)g(*)g Ff(outlen)p Fh(\))390 2655 y Fl(in)p Fu(:)40 b(input)30 b(b)m(yte)h(arra)m(y)390 2798 y Fl(inlen)p Fu(:)41 b(size)31 b(of)f(input)g(b)m(yte)h(arra)m(y)390 2942 y Fl(out)r Fu(:)41 b(p)s(oin)m(ter)30 b(to)h(newly)g(allo)s(cated) h(output)e(b)m(yte)h(arra)m(y)390 3085 y Fl(outlen)p Fu(:)41 b(p)s(oin)m(ter)31 b(to)g(size)g(of)f(newly)g(allo)s(cated)j (output)d(b)m(yte)h(arra)m(y)390 3229 y(Enco)s(de)h(data)i(as)f (base64.)49 b(The)32 b(string)h(is)f(zero)i(terminated,)g(and)e Fo(outlen)f Fu(holds)i(the)g(length)390 3339 y(excluding)e(the)f (terminating)h(zero.)42 b(The)30 b Fo(out)f Fu(bu\013er)h(m)m(ust)g(b)s (e)g(deallo)s(cated)i(b)m(y)e(the)h(caller.)390 3482 y(Return)38 b(v)-5 b(alue:)57 b(Returns)37 b Fo(GSASL_OK)g Fu(on)h(success,)j(or)d Fo(GSASL_MALLOC_ERROR)c Fu(if)k(input)g(w)m(as) 390 3592 y(to)s(o)31 b(large)h(or)e(memory)g(allo)s(cation)j(fail.)390 3735 y Fd(Since:)41 b Fu(0.2.2)150 3944 y Fm(gsasl)p 410 3944 37 5 v 55 w(base64)p 819 3944 V 55 w(from)3350 4150 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_base64_from)e Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)g(size)p 2219 4150 30 5 v 45 w(t)g Ff(inlen)p Fg(,)h(c)m(har)g(**)f Ff(out)p Fg(,)565 4259 y(size)p 727 4259 V 44 w(t)g(*)g Ff(outlen)p Fh(\))390 4369 y Fl(in)p Fu(:)40 b(input)30 b(b)m(yte)h(arra)m(y)390 4512 y Fl(inlen)p Fu(:)41 b(size)31 b(of)f(input)g(b)m(yte)h(arra)m(y)390 4656 y Fl(out)r Fu(:)41 b(p)s(oin)m(ter)30 b(to)h(newly)g(allo)s(cated)h(output)e(b)m (yte)h(arra)m(y)390 4800 y Fl(outlen)p Fu(:)41 b(p)s(oin)m(ter)31 b(to)g(size)g(of)f(newly)g(allo)s(cated)j(output)d(b)m(yte)h(arra)m(y) 390 4943 y(Deco)s(de)g(Base64)i(data.)41 b(The)30 b Fo(out)g Fu(bu\013er)f(m)m(ust)h(b)s(e)g(deallo)s(cated)i(b)m(y)e(the)h(caller.) 390 5087 y(Return)k(v)-5 b(alue:)53 b(Returns)36 b Fo(GSASL_OK)e Fu(on)i(success,)i Fo(GSASL_BASE64_ERROR)31 b Fu(if)36 b(input)f(w)m(as)i(in-)390 5196 y(v)-5 b(alid,)31 b(and)f Fo(GSASL_MALLOC_ERROR)25 b Fu(on)30 b(memory)h(allo)s(cation)h(errors.) 390 5340 y Fd(Since:)41 b Fu(0.2.2)p eop end %%Page: 44 48 TeXDict begin 44 47 bop 150 -116 a Fu(Chapter)30 b(10:)41 b(Utilities)2685 b(44)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(simple)p 807 299 V 55 w(getpass)3350 515 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_simple_getpass)f Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(filename)p Fg(,)i(const)f(c)m (har)g(*)565 625 y Ff(username)p Fg(,)h(c)m(har)f(**)f Ff(key)p Fh(\))390 734 y Fl(\014lename)5 b Fu(:)41 b(\014lename)31 b(of)f(\014le)h(con)m(taining)h(passw)m(ords.)390 888 y Fl(username)5 b Fu(:)40 b(username)30 b(string.)390 1042 y Fl(k)m(ey)8 b Fu(:)41 b(newly)30 b(allo)s(cated)j(output)d(c)m (haracter)i(arra)m(y)-8 b(.)390 1196 y(Retriev)m(e)36 b(passw)m(ord)d(for)h(user)f(from)h(sp)s(eci\014ed)f(\014le.)52 b(The)34 b(bu\013er)f Fo(key)g Fu(con)m(tain)i(the)g(passw)m(ord)390 1305 y(if)30 b(this)h(function)f(is)g(successful.)41 b(The)29 b(caller)j(is)f(resp)s(onsible)e(for)h(deallo)s(cating)j(it.) 390 1459 y(The)h(\014le)g(should)g(b)s(e)f(on)h(the)h(UoW)g Fo(")p Fu(MD5)g(Based)g(Authen)m(tication)p Fo(")h Fu(format,)g(whic)m (h)e(means)390 1569 y(it)g(is)f(in)g(text)i(format)e(with)g(commen)m (ts)i(denoted)e(b)m(y)g(#)g(\014rst)g(on)g(the)h(line,)g(with)f(user)g (en)m(tries)390 1678 y(lo)s(oking)h(as)f Fo(")p Fu(usernameT)-8 b(ABpassw)m(ord)p Fo(")p Fu(.)48 b(This)33 b(function)f(remo)m(v)m(es)j (CR)e(and)f(LF)h(at)h(the)g(end)390 1788 y(of)40 b(lines)g(b)s(efore)g (pro)s(cessing.)69 b(T)-8 b(AB,)41 b(CR,)f(and)f(LF)h(denote)g(ASCI)s (I)f(v)-5 b(alues)40 b(9,)j(13,)g(and)d(10,)390 1897 y(resp)s(ectiv)m(ely)-8 b(.)390 2051 y(Return)47 b(v)-5 b(alue:)77 b(Return)47 b Fo(GSASL_OK)f Fu(if)i(output)g(bu\013er)f(con) m(tains)i(the)g(passw)m(ord,)j Fo(GSASL_)390 2161 y (AUTHENTICATION_ERROR)25 b Fu(if)30 b(the)h(user)e(could)i(not)f(b)s(e) g(found,)f(or)i(other)f(error)g(co)s(de.)150 2379 y Fm(gsasl)p 410 2379 V 55 w(nonce)3350 2595 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_nonce)c Fh(\()p Fg(c)m(har)34 b(*)f Ff(data)p Fg(,)h(size)p 1749 2595 30 5 v 45 w(t)f Ff(datalen)p Fh(\))390 2705 y Fl(data)p Fu(:)41 b(output)30 b(arra)m(y)h(to)g(b)s(e) f(\014lled)g(with)g(unpredictable)g(random)g(data.)390 2859 y Fl(datalen)p Fu(:)42 b(size)31 b(of)f(output)g(arra)m(y)-8 b(.)390 3012 y(Store)31 b(unpredictable)f(data)h(of)f(giv)m(en)i(size)f (in)f(the)g(pro)m(vided)g(bu\013er.)390 3166 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(i\013)j(successful.)150 3385 y Fm(gsasl)p 410 3385 37 5 v 55 w(random)3350 3601 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_random)c Fh(\()p Fg(c)m(har)35 b(*)e Ff(data)p Fg(,)h(size)p 1802 3601 30 5 v 44 w(t)f Ff(datalen)p Fh(\))390 3711 y Fl(data)p Fu(:)41 b(output)30 b(arra)m(y)h(to)g(b)s(e)f(\014lled)g(with)g(strong) h(random)f(data.)390 3864 y Fl(datalen)p Fu(:)42 b(size)31 b(of)f(output)g(arra)m(y)-8 b(.)390 4018 y(Store)31 b (cryptographically)g(strong)g(random)e(data)j(of)e(giv)m(en)h(size)h (in)e(the)g(pro)m(vided)g(bu\013er.)390 4172 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(i\013)j(successful.)150 4390 y Fm(gsasl)p 410 4390 37 5 v 55 w(md5)3350 4607 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_md5)48 b Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)h(size)p 1801 4607 30 5 v 44 w(t)f Ff(inlen)p Fg(,)i(c)m(har)e(*)g Fc([])g Ff(out)p Fh(\))390 4716 y Fl(in)p Fu(:)40 b(input)30 b(c)m(haracter)i(arra)m(y)f(of)f(data)h(to)g(hash.)390 4870 y Fl(inlen)p Fu(:)41 b(length)30 b(of)h(input)e(c)m(haracter)j (arra)m(y)f(of)g(data)g(to)g(hash.)390 5024 y Fl(out)r Fu(:)41 b(newly)30 b(allo)s(cated)i(16-b)m(yte)h(c)m(haracter)f(arra)m (y)e(with)h(hash)e(of)i(data.)390 5178 y(Compute)d(hash)g(of)g(data)h (using)f(MD5.)41 b(The)28 b Fo(out)g Fu(bu\013er)f(m)m(ust)h(b)s(e)g (deallo)s(cated)i(b)m(y)f(the)f(caller.)390 5331 y(Return)i(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(i\013)j(successful.)p eop end %%Page: 45 49 TeXDict begin 45 48 bop 150 -116 a Fu(Chapter)30 b(10:)41 b(Utilities)2685 b(45)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(hmac)p 750 299 V 54 w(md5)3350 496 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_hmac_md5)d Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(key)p Fg(,)h(size)p 2115 496 30 5 v 44 w(t)f Ff(keylen)p Fg(,)i(const)e(c)m(har)h(*)565 605 y Ff(in)p Fg(,)g(size)p 893 605 V 44 w(t)f Ff(inlen)p Fg(,)h(c)m(har)g(*)f Fc([])g Ff(outhash)p Fh(\))390 715 y Fl(k)m(ey)8 b Fu(:)41 b(input)30 b(c)m(haracter)i(arra)m(y)f(with)f (k)m(ey)h(to)g(use.)390 849 y Fl(k)m(eylen)p Fu(:)42 b(length)30 b(of)h(input)e(c)m(haracter)j(arra)m(y)f(with)f(k)m(ey)h (to)h(use.)390 984 y Fl(in)p Fu(:)40 b(input)30 b(c)m(haracter)i(arra)m (y)f(of)f(data)h(to)g(hash.)390 1118 y Fl(inlen)p Fu(:)41 b(length)30 b(of)h(input)e(c)m(haracter)j(arra)m(y)f(of)g(data)g(to)g (hash.)390 1253 y Fl(outhash)p Fu(:)40 b(newly)30 b(allo)s(cated)j (16-b)m(yte)f(c)m(haracter)g(arra)m(y)f(with)f(k)m(ey)m(ed)h(hash)f(of) h(data.)390 1387 y(Compute)j(k)m(ey)m(ed)h(c)m(hec)m(ksum)g(of)g(data)g (using)e(HMA)m(C-MD5.)55 b(The)34 b Fo(outhash)e Fu(bu\013er)h(m)m(ust) i(b)s(e)390 1497 y(deallo)s(cated)d(b)m(y)f(the)f(caller.)390 1631 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(i\013)j(successful.)150 1831 y Fm(gsasl)p 410 1831 37 5 v 55 w(sha1)3350 2027 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_sha1)c Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)g(size)p 1853 2027 30 5 v 45 w(t)f Ff(inlen)p Fg(,)j(c)m(har)f(*)f Fc([])g Ff(out)p Fh(\))390 2137 y Fl(in)p Fu(:)40 b(input)30 b(c)m(haracter)i(arra)m(y)f(of)f(data)h (to)g(hash.)390 2271 y Fl(inlen)p Fu(:)41 b(length)30 b(of)h(input)e(c)m(haracter)j(arra)m(y)f(of)g(data)g(to)g(hash.)390 2406 y Fl(out)r Fu(:)41 b(newly)30 b(allo)s(cated)i(20-b)m(yte)h(c)m (haracter)f(arra)m(y)e(with)h(hash)e(of)i(data.)390 2540 y(Compute)25 b(hash)g(of)h(data)h(using)e(SHA1.)40 b(The)25 b Fo(out)g Fu(bu\013er)g(m)m(ust)h(b)s(e)f(deallo)s(cated)j(b)m(y)d (the)h(caller.)390 2675 y(Return)k(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(i\013)j(successful.)390 2809 y Fd(Since:)41 b Fu(1.3)150 3009 y Fm(gsasl)p 410 3009 37 5 v 55 w(hmac)p 750 3009 V 54 w(sha1)3350 3205 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_hmac_sha1)d Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(key)p Fg(,)h(size)p 2167 3205 30 5 v 44 w(t)f Ff(keylen)p Fg(,)i(const)f(c)m(har)g(*)565 3315 y Ff(in)p Fg(,)g(size)p 893 3315 V 44 w(t)f Ff(inlen)p Fg(,)h(c)m(har)g(*)f Fc([])g Ff(outhash)p Fh(\))390 3425 y Fl(k)m(ey)8 b Fu(:)41 b(input)30 b(c)m(haracter)i(arra)m(y)f(with)f(k)m(ey)h(to)g(use.)390 3559 y Fl(k)m(eylen)p Fu(:)42 b(length)30 b(of)h(input)e(c)m(haracter)j (arra)m(y)f(with)f(k)m(ey)h(to)h(use.)390 3694 y Fl(in)p Fu(:)40 b(input)30 b(c)m(haracter)i(arra)m(y)f(of)f(data)h(to)g(hash.) 390 3828 y Fl(inlen)p Fu(:)41 b(length)30 b(of)h(input)e(c)m(haracter)j (arra)m(y)f(of)g(data)g(to)g(hash.)390 3963 y Fl(outhash)p Fu(:)40 b(newly)30 b(allo)s(cated)j(20-b)m(yte)f(c)m(haracter)g(arra)m (y)f(with)f(k)m(ey)m(ed)h(hash)f(of)h(data.)390 4097 y(Compute)g(k)m(ey)m(ed)i(c)m(hec)m(ksum)f(of)g(data)h(using)e(HMA)m (C-SHA1.)46 b(The)31 b Fo(outhash)e Fu(bu\013er)i(m)m(ust)h(b)s(e)390 4207 y(deallo)s(cated)g(b)m(y)f(the)f(caller.)390 4341 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(i\013)j(successful.)390 4476 y Fd(Since:)41 b Fu(1.3)p eop end %%Page: 46 50 TeXDict begin 46 49 bop 3659 -116 a Fu(46)150 299 y Fr(11)80 b(Memory)54 b(Handling)150 598 y Fm(gsasl)p 410 598 37 5 v 55 w(free)3350 795 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_free)48 b Fh(\()p Fg(v)m(oid)33 b(*)g Ff(ptr)p Fh(\))390 904 y Fl(ptr)7 b Fu(:)40 b(memory)30 b(p)s(oin)m(ter)390 1039 y(In)m(v)m(ok)m(e)f(free\()f Fo(ptr)f Fu(\))h(to)g(de-allo)s(cate)j(memory)c(p)s(oin)m(ter.)40 b(T)m(ypically)29 b(used)e(on)g(strings)h(allo)s(cated)390 1148 y(b)m(y)i(other)h(libgsasl)g(functions.)390 1283 y(This)d(is)h(useful)f(on)g(Windo)m(ws)h(where)f(libgsasl)i(is)f(link)m (ed)g(to)g(one)g(CR)-8 b(T)29 b(and)f(the)h(application)h(is)390 1392 y(link)m(ed)i(to)h(another)f(CR)-8 b(T.)32 b(Then)f(mallo)s (c/free)i(will)f(not)h(use)e(the)h(same)h(heap.)45 b(This)31 b(happ)s(ens)390 1502 y(if)f(y)m(ou)h(build)e(libgsasl)j(using)d (mingw32)i(and)f(the)h(application)g(with)f(Visual)h(Studio.)390 1636 y Fd(Since:)41 b Fu(0.2.19)p eop end %%Page: 47 51 TeXDict begin 47 50 bop 3659 -116 a Fu(47)150 299 y Fr(12)80 b(Error)53 b(Handling)150 521 y Fu(Most)41 b(functions)f(in)g(the)h (GNU)g(SASL)e(Library)h(return)f(an)h(error)g(if)g(they)h(fail.)71 b(F)-8 b(or)41 b(this)f(reason,)150 631 y(the)30 b(application)g (should)f(alw)m(a)m(ys)h(catc)m(h)h(the)f(error)f(condition)h(and)e (tak)m(e)j(appropriate)f(measures,)f(for)150 741 y(example)j(b)m(y)g (releasing)g(the)g(resources)f(and)g(passing)g(the)h(error)f(up)g(to)h (the)f(caller,)j(or)d(b)m(y)h(displa)m(ying)150 850 y(a)f(descriptiv)m (e)g(message)h(to)f(the)f(user)g(and)g(cancelling)i(the)e(op)s (eration.)275 982 y(Some)k(error)f(v)-5 b(alues)35 b(do)f(not)g (indicate)h(a)f(system)h(error)e(or)h(an)g(error)g(in)g(the)g(op)s (eration,)h(but)f(the)150 1092 y(result)c(of)h(an)f(op)s(eration)h (that)g(failed)g(prop)s(erly)-8 b(.)150 1328 y Ft(12.1)68 b(Error)46 b(v)-7 b(alues)150 1488 y Fu(Errors)29 b(are)i(returned)e (as)i Fo(int)e Fu(v)-5 b(alues.)275 1620 y(The)23 b(v)-5 b(alue)25 b(of)g(the)f(sym)m(b)s(ol)g Fo(GSASL_OK)e Fu(is)i(guaran)m (teed)i(to)f(alw)m(a)m(ys)h(b)s(e)d Fo(0)p Fu(,)j(and)d(all)i(other)g (error)f(co)s(des)150 1729 y(are)32 b(guaran)m(teed)g(to)g(b)s(e)f (non-)p Fo(0)p Fu(,)g(so)h(y)m(ou)f(ma)m(y)h(use)f(that)h(information)g (to)g(build)e(b)s(o)s(olean)h(expressions)150 1839 y(in)m(v)m(olving)25 b(return)e(co)s(des.)39 b(Otherwise,)25 b(an)f(application)h(should)e (not)h(dep)s(end)e(on)i(the)g(particular)g(v)-5 b(alue)150 1948 y(for)41 b(error)f(co)s(des,)k(and)d(are)g(encouraged)h(to)f(use)g (the)g(constan)m(ts)h(ev)m(en)g(for)f Fo(GSASL_OK)d Fu(to)k(impro)m(v)m (e)150 2058 y(readabilit)m(y)-8 b(.)43 b(P)m(ossible)31 b(v)-5 b(alues)31 b(are:)150 2213 y Fo(GSASL_OK)96 b Fu(Libgsasl)31 b(success)150 2368 y Fo(GSASL_NEEDS_MORE)630 2477 y Fu(SASL)e(mec)m(hanism)i(needs)f(more)g(data)150 2632 y Fo(GSASL_UNKNOWN_MECHANISM)630 2742 y Fu(Unkno)m(wn)g(SASL)f (mec)m(hanism)150 2896 y Fo(GSASL_MECHANISM_CALLED_T)o(OO_M)o(ANY_)o (TIM)o(ES)630 3006 y Fu(SASL)g(mec)m(hanism)i(called)h(to)s(o)f(man)m (y)f(times)150 3161 y Fo(GSASL_TOO_SMALL_BUFFER)630 3270 y Fu(SASL)f(function)h(needs)g(larger)h(bu\013er)f(\(in)m(ternal)h (error\))150 3425 y Fo(GSASL_FOPEN_ERROR)630 3535 y Fu(Could)f(not)g (op)s(en)g(\014le)g(in)h(SASL)e(library)150 3689 y Fo (GSASL_FCLOSE_ERROR)630 3799 y Fu(Could)h(not)g(close)i(\014le)e(in)g (SASL)g(library)150 3954 y Fo(GSASL_MALLOC_ERROR)630 4063 y Fu(Memory)h(allo)s(cation)i(error)c(in)i(SASL)e(library)150 4218 y Fo(GSASL_BASE64_ERROR)630 4328 y Fu(Base)i(64)h(co)s(ding)e (error)g(in)g(SASL)f(library)150 4482 y Fo(GSASL_CRYPTO_ERROR)630 4592 y Fu(Lo)m(w-lev)m(el)k(crypto)d(error)g(in)g(SASL)g(library)150 4747 y Fo(GSASL_NEED_CLIENT_ANONYM)o(OUS_)o(CALL)o(BAC)o(K)630 4856 y Fu(SASL)42 b(mec)m(hanism)i(needs)f(gsasl)p 1834 4856 28 4 v 40 w(clien)m(t)p 2087 4856 V 42 w(callbac)m(k)p 2445 4856 V 42 w(anon)m(ymous\(\))h(callbac)m(k)i(\(applica-)630 4966 y(tion)31 b(error\))150 5121 y Fo(GSASL_NEED_CLIENT_PASSWO)o(RD_C) o(ALLB)o(ACK)630 5230 y Fu(SASL)i(mec)m(hanism)i(needs)f(gsasl)p 1807 5230 V 41 w(clien)m(t)p 2061 5230 V 42 w(callbac)m(k)p 2419 5230 V 42 w(passw)m(ord\(\))h(callbac)m(k)h(\(application)630 5340 y(error\))p eop end %%Page: 48 52 TeXDict begin 48 51 bop 150 -116 a Fu(Chapter)30 b(12:)41 b(Error)30 b(Handling)2393 b(48)150 299 y Fo(GSASL_NEED_CLIENT_PASSCO)o (DE_C)o(ALLB)o(ACK)630 408 y Fu(SASL)37 b(mec)m(hanism)g(needs)h(gsasl) p 1817 408 28 4 v 41 w(clien)m(t)p 2071 408 V 41 w(callbac)m(k)p 2428 408 V 42 w(passco)s(de\(\))h(callbac)m(k)g(\(application)630 518 y(error\))150 678 y Fo(GSASL_NEED_CLIENT_PIN_CA)o(LLBA)o(CK)630 788 y Fu(SASL)29 b(mec)m(hanism)h(needs)g(gsasl)p 1794 788 V 41 w(clien)m(t)p 2048 788 V 42 w(callbac)m(k)p 2406 788 V 42 w(pin\(\))g(callbac)m(k)i(\(application)g(error\))150 948 y Fo(GSASL_NEED_CLIENT_AUTHOR)o(IZAT)o(ION_)o(ID_)o(CALL)o(BACK)630 1058 y Fu(SASL)39 b(mec)m(hanism)i(needs)f(gsasl)p 1825 1058 V 41 w(clien)m(t)p 2079 1058 V 41 w(callbac)m(k)p 2436 1058 V 43 w(authorization)p 3008 1058 V 41 w(id\(\))h(callbac)m(k) h(\(ap-)630 1167 y(plication)32 b(error\))150 1327 y Fo(GSASL_NEED_CLIENT_AUTHEN)o(TICA)o(TION)o(_ID)o(_CAL)o(LBAC)o(K)630 1437 y Fu(SASL)f(mec)m(hanism)h(needs)f(gsasl)p 1799 1437 V 41 w(clien)m(t)p 2053 1437 V 42 w(callbac)m(k)p 2411 1437 V 42 w(authen)m(tication)p 3024 1437 V 42 w(id\(\))h(callbac) m(k)i(\(ap-)630 1547 y(plication)e(error\))150 1707 y Fo(GSASL_NEED_CLIENT_SERVIC)o(E_CA)o(LLBA)o(CK)630 1816 y Fu(SASL)26 b(mec)m(hanism)i(needs)e(gsasl)p 1785 1816 V 41 w(clien)m(t)p 2039 1816 V 42 w(callbac)m(k)p 2397 1816 V 42 w(service\(\))j(callbac)m(k)g(\(application)g(er-)630 1926 y(ror\))150 2086 y Fo(GSASL_NEED_SERVER_VALIDA)o(TE_C)o(ALLB)o (ACK)630 2196 y Fu(SASL)40 b(mec)m(hanism)h(needs)g(gsasl)p 1827 2196 V 41 w(serv)m(er)p 2101 2196 V 40 w(callbac)m(k)p 2457 2196 V 43 w(v)-5 b(alidate\(\))43 b(callbac)m(k)g(\(application) 630 2305 y(error\))150 2465 y Fo(GSASL_NEED_SERVER_CRAM_M)o(D5_C)o (ALLB)o(ACK)630 2575 y Fu(SASL)20 b(mec)m(hanism)i(needs)f(gsasl)p 1768 2575 V 41 w(serv)m(er)p 2042 2575 V 40 w(callbac)m(k)p 2398 2575 V 43 w(cram)p 2638 2575 V 40 w(md5\(\))h(callbac)m(k)h (\(application)630 2685 y(error\))150 2845 y Fo (GSASL_NEED_SERVER_DIGEST)o(_MD5)o(_CAL)o(LBA)o(CK)630 2954 y Fu(SASL)39 b(mec)m(hanism)g(needs)h(gsasl)p 1823 2954 V 41 w(serv)m(er)p 2097 2954 V 40 w(callbac)m(k)p 2453 2954 V 42 w(digest)p 2727 2954 V 41 w(md5\(\))g(callbac)m(k)i (\(applica-)630 3064 y(tion)31 b(error\))150 3224 y Fo (GSASL_NEED_SERVER_EXTERN)o(AL_C)o(ALLB)o(ACK)630 3334 y Fu(SASL)38 b(mec)m(hanism)h(needs)g(gsasl)p 1821 3334 V 41 w(serv)m(er)p 2095 3334 V 40 w(callbac)m(k)p 2451 3334 V 42 w(external\(\))i(callbac)m(k)g(\(application)630 3443 y(error\))150 3603 y Fo(GSASL_NEED_SERVER_ANONYM)o(OUS_)o(CALL)o (BAC)o(K)630 3713 y Fu(SASL)d(mec)m(hanism)i(needs)f(gsasl)p 1822 3713 V 41 w(serv)m(er)p 2096 3713 V 41 w(callbac)m(k)p 2453 3713 V 42 w(anon)m(ymous\(\))h(callbac)m(k)i(\(applica-)630 3823 y(tion)31 b(error\))150 3983 y Fo(GSASL_NEED_SERVER_REALM_)o(CALL) o(BACK)630 4092 y Fu(SASL)f(mec)m(hanism)i(needs)f(gsasl)p 1798 4092 V 40 w(serv)m(er)p 2071 4092 V 41 w(callbac)m(k)p 2428 4092 V 42 w(realm\(\))h(callbac)m(k)i(\(application)f(er-)630 4202 y(ror\))150 4362 y Fo(GSASL_NEED_SERVER_SECURI)o(D_CA)o(LLBA)o(CK) 630 4472 y Fu(SASL)21 b(mec)m(hanism)h(needs)g(gsasl)p 1770 4472 V 40 w(serv)m(er)p 2043 4472 V 41 w(callbac)m(k)p 2400 4472 V 42 w(securid\(\))g(callbac)m(k)i(\(application)g(er-)630 4581 y(ror\))150 4741 y Fo(GSASL_NEED_SERVER_SERVIC)o(E_CA)o(LLBA)o(CK) 630 4851 y Fu(SASL)f(mec)m(hanism)h(needs)g(gsasl)p 1776 4851 V 41 w(serv)m(er)p 2050 4851 V 40 w(callbac)m(k)p 2406 4851 V 42 w(service\(\))i(callbac)m(k)g(\(application)g(er-)630 4961 y(ror\))150 5121 y Fo(GSASL_NEED_SERVER_GSSAPI)o(_CAL)o(LBAC)o(K) 630 5230 y Fu(SASL)i(mec)m(hanism)g(needs)h(gsasl)p 1790 5230 V 41 w(serv)m(er)p 2064 5230 V 40 w(callbac)m(k)p 2420 5230 V 42 w(gssapi\(\))h(callbac)m(k)g(\(application)h(er-)630 5340 y(ror\))p eop end %%Page: 49 53 TeXDict begin 49 52 bop 150 -116 a Fu(Chapter)30 b(12:)41 b(Error)30 b(Handling)2393 b(49)150 299 y Fo(GSASL_NEED_SERVER_RETRIE)o (VE_C)o(ALLB)o(ACK)630 408 y Fu(SASL)42 b(mec)m(hanism)i(needs)g(gsasl) p 1835 408 28 4 v 40 w(serv)m(er)p 2108 408 V 41 w(callbac)m(k)p 2465 408 V 42 w(retriev)m(e\(\))i(callbac)m(k)f(\(application)630 518 y(error\))150 679 y Fo(GSASL_UNICODE_NORMALIZAT)o(ION_)o(ERRO)o(R) 630 788 y Fu(F)-8 b(ailed)32 b(to)f(p)s(erform)e(Unico)s(de)i (Normalization)h(on)e(string.)150 949 y Fo(GSASL_SASLPREP_ERROR)630 1059 y Fu(Could)g(not)g(prepare)g(in)m(ternationalized)j(\(non-ASCI)s (I\))c(string.)150 1219 y Fo(GSASL_MECHANISM_PARSE_ER)o(ROR)630 1329 y Fu(SASL)g(mec)m(hanism)i(could)f(not)h(parse)f(input)150 1490 y Fo(GSASL_AUTHENTICATION_ERR)o(OR)630 1599 y Fu(Error)f(authen)m (ticating)k(user)150 1760 y Fo(GSASL_CANNOT_GET_CTX)630 1870 y Fu(Cannot)d(get)i(in)m(ternal)f(library)f(handle)g(\(library)g (error\))150 2030 y Fo(GSASL_INTEGRITY_ERROR)630 2140 y Fu(In)m(tegrit)m(y)i(error)e(in)g(application)i(pa)m(yload)150 2301 y Fo(GSASL_NO_MORE_REALMS)630 2410 y Fu(No)f(more)f(realms)h(a)m (v)-5 b(ailable)33 b(\(non-fatal\))150 2571 y Fo(GSASL_NO_CLIENT_CODE) 630 2681 y Fu(Clien)m(t-side)f(functionalit)m(y)f(not)g(a)m(v)-5 b(ailable)33 b(in)d(library)g(\(application)i(error\))150 2841 y Fo(GSASL_NO_SERVER_CODE)630 2951 y Fu(Serv)m(er-side)f (functionalit)m(y)g(not)g(a)m(v)-5 b(ailable)33 b(in)d(library)g (\(application)i(error\))150 3112 y Fo(GSASL_GSSAPI_RELEASE_BUF)o(FER_) o(ERRO)o(R)630 3221 y Fu(GSSAPI)j(library)g(could)g(not)h(deallo)s (cate)i(memory)e(in)f(gss)p 2739 3221 V 40 w(release)p 3041 3221 V 41 w(bu\013er\(\))h(in)f(SASL)630 3331 y(library)-8 b(.)41 b(This)29 b(is)i(a)f(serious)h(in)m(ternal)g(error.)150 3492 y Fo(GSASL_GSSAPI_IMPORT_NAME)o(_ERR)o(OR)630 3601 y Fu(GSSAPI)39 b(library)h(could)g(not)h(understand)d(a)j(p)s(eer)e (name)i(in)f(gss)p 3007 3601 V 40 w(imp)s(ort)p 3318 3601 V 39 w(name\(\))h(in)630 3711 y(SASL)29 b(library)-8 b(.)41 b(This)30 b(is)g(most)h(lik)m(ely)h(due)d(to)i(incorrect)h (service)f(and/or)f(hostnames.)150 3871 y Fo(GSASL_GSSAPI_INIT_SEC_CO)o (NTEX)o(T_ER)o(ROR)630 3981 y Fu(GSSAPI)121 b(error)g(in)g(clien)m(t)j (while)d(negotiating)j(securit)m(y)f(con)m(text)g(in)630 4091 y(gss)p 753 4091 V 40 w(init)p 929 4091 V 41 w(sec)p 1086 4091 V 40 w(con)m(text\(\))69 b(in)d(SASL)g(library)-8 b(.)148 b(This)66 b(is)g(most)h(lik)m(ely)h(due)e(insuf-)630 4200 y(\014cien)m(t)31 b(creden)m(tials)h(or)e(malicious)i(in)m (teractions.)150 4361 y Fo(GSASL_GSSAPI_ACCEPT_SEC_)o(CONT)o(EXT_)o (ERR)o(OR)630 4471 y Fu(GSSAPI)118 b(error)h(in)g(serv)m(er)h(while)f (negotiating)j(securit)m(y)e(con)m(text)h(in)630 4580 y(gss)p 753 4580 V 40 w(accept)p 1044 4580 V 42 w(sec)p 1202 4580 V 40 w(con)m(text\(\))86 b(in)d(SASL)g(library)-8 b(.)200 b(This)82 b(is)i(most)g(lik)m(ely)h(due)630 4690 y(insu\016cien)m(t)31 b(creden)m(tials)g(or)g(malicious)g(in)m (teractions.)150 4850 y Fo(GSASL_GSSAPI_UNWRAP_ERRO)o(R)630 4960 y Fu(GSSAPI)45 b(error)g(while)g(decrypting)g(or)h(deco)s(ding)f (data)h(in)f(gss)p 2957 4960 V 40 w(un)m(wrap\(\))g(in)g(SASL)630 5070 y(library)-8 b(.)41 b(This)29 b(is)i(most)f(lik)m(ely)i(due)e(to)h (data)g(corruption.)150 5230 y Fo(GSASL_GSSAPI_WRAP_ERROR)630 5340 y Fu(GSSAPI)24 b(error)g(while)g(encrypting)g(or)h(enco)s(ding)f (data)h(in)g(gss)p 2790 5340 V 40 w(wrap\(\))f(in)g(SASL)g(library)-8 b(.)p eop end %%Page: 50 54 TeXDict begin 50 53 bop 150 -116 a Fu(Chapter)30 b(12:)41 b(Error)30 b(Handling)2393 b(50)150 299 y Fo(GSASL_GSSAPI_ACQUIRE_CRE)o (D_ER)o(ROR)630 408 y Fu(GSSAPI)52 b(error)g(acquiring)i(creden)m (tials)g(in)e(gss)p 2409 408 28 4 v 40 w(acquire)p 2734 408 V 41 w(cred\(\))h(in)g(SASL)f(library)-8 b(.)630 518 y(This)43 b(is)h(most)g(lik)m(ely)h(due)e(to)h(not)g(ha)m(ving)g (the)g(prop)s(er)e(Kerb)s(eros)h(k)m(ey)h(a)m(v)-5 b(ailable)46 b(in)630 628 y(/etc/krb5.k)m(eytab)33 b(on)e(the)f(serv)m(er.)150 782 y Fo(GSASL_GSSAPI_DISPLAY_NAM)o(E_ER)o(ROR)630 892 y Fu(GSSAPI)21 b(error)h(creating)h(a)g(displa)m(y)f(name)g(denoting)g (the)g(clien)m(t)i(in)e(gss)p 3115 892 V 40 w(displa)m(y)p 3433 892 V 40 w(name\(\))630 1002 y(in)30 b(SASL)f(library)-8 b(.)41 b(This)30 b(is)g(probably)g(b)s(ecause)g(the)h(clien)m(t)h (supplied)d(bad)g(data.)150 1156 y Fo(GSASL_GSSAPI_UNSUPPORTED)o(_PRO)o (TECT)o(ION)o(_ERR)o(OR)630 1266 y Fu(Other)e(en)m(tit)m(y)j(requested) e(in)m(tegrit)m(y)i(or)e(con\014den)m(tialit)m(y)h(protection)h(in)d (GSSAPI)g(mec)m(h-)630 1375 y(anism)j(but)g(this)g(is)g(curren)m(tly)h (not)f(implemen)m(ted.)150 1530 y Fo(GSASL_KERBEROS_V5_INIT_E)o(RROR) 630 1640 y Fu(Kerb)s(eros)f(V5)i(initialization)j(failure.)150 1794 y Fo(GSASL_KERBEROS_V5_INTERN)o(AL_E)o(RROR)630 1904 y Fu(Kerb)s(eros)29 b(V5)i(in)m(ternal)g(error.)150 2059 y Fo(GSASL_SECURID_SERVER_NEE)o(D_AD)o(DITI)o(ONA)o(L_PA)o(SSCO)o (DE)630 2168 y Fu(SecurID)f(needs)g(additional)h(passco)s(de.)150 2323 y Fo(GSASL_SECURID_SERVER_NEE)o(D_NE)o(W_PI)o(N)630 2433 y Fu(SecurID)f(needs)g(new)g(pin.)150 2587 y Fo (GSASL_INVALID_HANDLE)630 2697 y Fu(The)g(pro)m(vided)g(library)g (handle)g(w)m(as)g(in)m(v)-5 b(alid)31 b(\(application)h(error\))150 2852 y Fo(GSASL_NO_CALLBACK)630 2961 y Fu(No)f(callbac)m(k)h(sp)s (eci\014ed)e(b)m(y)g(caller)i(\(application)g(error\).)150 3116 y Fo(GSASL_NO_ANONYMOUS_TOKEN)630 3226 y Fu(Authen)m(tication)g (failed)f(b)s(ecause)g(the)f(anon)m(ymous)g(tok)m(en)i(w)m(as)f(not)f (pro)m(vided.)150 3380 y Fo(GSASL_NO_AUTHID)630 3490 y Fu(Authen)m(tication)i(failed)f(b)s(ecause)g(the)f(authen)m(tication) j(iden)m(tit)m(y)f(w)m(as)e(not)h(pro)m(vided.)150 3645 y Fo(GSASL_NO_AUTHZID)630 3754 y Fu(Authen)m(tication)h(failed)f(b)s (ecause)g(the)f(authorization)i(iden)m(tit)m(y)g(w)m(as)f(not)f(pro)m (vided.)150 3909 y Fo(GSASL_NO_PASSWORD)630 4018 y Fu(Authen)m (tication)i(failed)f(b)s(ecause)g(the)f(passw)m(ord)g(w)m(as)h(not)f (pro)m(vided.)150 4173 y Fo(GSASL_NO_PASSCODE)630 4283 y Fu(Authen)m(tication)i(failed)f(b)s(ecause)g(the)f(passco)s(de)g(w)m (as)h(not)g(pro)m(vided.)150 4437 y Fo(GSASL_NO_PIN)630 4547 y Fu(Authen)m(tication)h(failed)f(b)s(ecause)g(the)f(pin)g(co)s (de)g(w)m(as)h(not)g(pro)m(vided.)150 4702 y Fo(GSASL_NO_SERVICE)630 4811 y Fu(Authen)m(tication)h(failed)f(b)s(ecause)g(the)f(service)h (name)g(w)m(as)g(not)f(pro)m(vided.)150 4966 y Fo(GSASL_NO_HOSTNAME)630 5076 y Fu(Authen)m(tication)i(failed)f(b)s(ecause)g(the)f(host)h(name)f (w)m(as)h(not)f(pro)m(vided.)150 5230 y Fo(GSASL_GSSAPI_ENCAPSULATE)o (_TOK)o(EN_E)o(RRO)o(R)630 5340 y Fu(GSSAPI)g(error)g(encapsulating)h (tok)m(en.)p eop end %%Page: 51 55 TeXDict begin 51 54 bop 150 -116 a Fu(Chapter)30 b(12:)41 b(Error)30 b(Handling)2393 b(51)150 299 y Fo(GSASL_GSSAPI_DECAPSULATE)o (_TOK)o(EN_E)o(RRO)o(R)630 408 y Fu(GSSAPI)30 b(error)g(decapsulating)h (tok)m(en.)150 559 y Fo(GSASL_GSSAPI_INQUIRE_MEC)o(H_FO)o(R_SA)o(SLN)o (AME_)o(ERRO)o(R)630 669 y Fu(GSSAPI)f(error)g(getting)i(OID)e(for)g (SASL)f(mec)m(hanism)i(name.)150 820 y Fo(GSASL_GSSAPI_TEST_OID_SE)o (T_ME)o(MBER)o(_ER)o(ROR)630 929 y Fu(GSSAPI)f(error)g(testing)h(for)f (OID)g(in)g(OID)h(set.)150 1080 y Fo(GSASL_GSSAPI_RELEASE_OID)o(_SET)o (_ERR)o(OR)630 1190 y Fu(GSSAPI)f(error)g(releasing)h(OID)f(set.)150 1340 y Fo(GSASL_NO_CB_TLS_UNIQUE)630 1450 y Fu(Authen)m(tication)i (failed)f(b)s(ecause)g(a)f(tls-unique)h(CB)f(w)m(as)h(not)f(pro)m (vided.)150 1601 y Fo(GSASL_NO_SAML20_IDP_IDEN)o(TIFI)o(ER)630 1710 y Fu(Callbac)m(k)i(failed)f(to)g(pro)m(vide)f(SAML20)h(IdP)f(iden) m(ti\014er.)150 1861 y Fo(GSASL_NO_SAML20_REDIRECT)o(_URL)630 1971 y Fu(Callbac)m(k)i(failed)f(to)g(pro)m(vide)f(SAML20)h(redirect)g (URL.)150 2122 y Fo(GSASL_NO_OPENID20_REDIRE)o(CT_U)o(RL)630 2231 y Fu(Callbac)m(k)h(failed)f(to)g(pro)m(vide)f(OPENID20)h(redirect) g(URL.)150 2463 y Ft(12.2)68 b(Error)46 b(strings)150 2683 y Fm(gsasl)p 410 2683 37 5 v 55 w(strerror)3350 2871 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g (gsasl_strerror)d Fh(\()p Fg(in)m(t)33 b Ff(err)p Fh(\))390 2981 y Fl(err)7 b Fu(:)40 b(libgsasl)31 b(error)f(co)s(de)390 3111 y(Con)m(v)m(ert)h(return)e(co)s(de)i(to)g(h)m(uman)e(readable)i (string)f(explanation)h(of)g(the)f(reason)h(for)f(the)g(par-)390 3221 y(ticular)h(error)f(co)s(de.)390 3351 y(This)g(string)g(can)h(b)s (e)e(used)h(to)h(output)f(a)h(diagnostic)h(message)f(to)g(the)g(user.) 390 3481 y(This)i(function)g(is)h(one)g(of)g(few)f(in)h(the)g(library)f (that)h(can)g(b)s(e)f(used)g(without)h(a)g(successful)g(call)390 3591 y(to)d Fo(gsasl_init\(\))c Fu(.)390 3721 y(Return)k(v)-5 b(alue:)43 b(Returns)31 b(a)g(p)s(oin)m(ter)h(to)g(a)g(statically)i (allo)s(cated)f(string)f(con)m(taining)h(an)e(expla-)390 3831 y(nation)g(of)f(the)h(error)f(co)s(de)h Fo(err)e Fu(.)150 4021 y Fm(gsasl)p 410 4021 V 55 w(strerror)p 878 4021 V 55 w(name)3350 4209 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g(gsasl_strerror_name)e Fh(\()p Fg(in)m(t)34 b Ff(err)p Fh(\))390 4319 y Fl(err)7 b Fu(:)40 b(libgsasl)31 b(error)f(co)s(de)390 4449 y(Con)m(v)m(ert)41 b(return)e(co)s(de)i(to)g(h)m(uman)e(readable)i(string)f(represen)m (ting)g(the)h(error)f(co)s(de)g(sym)m(b)s(ol)390 4559 y(itself.)f(F)-8 b(or)22 b(example,)j(gsasl)p 1365 4559 28 4 v 41 w(strerror)p 1706 4559 V 39 w(name\()p Fo(GSASL_OK)20 b Fu(\))i(returns)f(the)h(string)g Fo(")p Fu(GSASL)p 3503 4559 V 39 w(OK)p Fo(")p Fu(.)390 4689 y(This)30 b(string)g(can)h(b)s(e)e(used)h(to)h(output)f(a)h(diagnostic)h(message) f(to)g(the)g(user.)390 4819 y(This)i(function)g(is)h(one)g(of)g(few)f (in)h(the)g(library)f(that)h(can)g(b)s(e)f(used)g(without)h(a)g (successful)g(call)390 4929 y(to)d Fo(gsasl_init\(\))c Fu(.)390 5059 y(Return)35 b(v)-5 b(alue:)53 b(Returns)36 b(a)g(p)s(oin)m(ter)h(to)g(a)f(statically)j(allo)s(cated)f(string)f (con)m(taining)g(a)g(string)390 5169 y(v)m(ersion)31 b(of)f(the)h(error)f(co)s(de)h Fo(err)e Fu(,)i(or)f(NULL)g(if)h(the)f (error)g(co)s(de)h(is)f(not)h(kno)m(wn.)390 5299 y Fd(Since:)41 b Fu(0.2.29)p eop end %%Page: 52 56 TeXDict begin 52 55 bop 3659 -116 a Fu(52)150 299 y Fr(13)80 b(Examples)150 548 y Fu(This)32 b(c)m(hapter)i(con)m(tains)g(example)g (co)s(de)g(whic)m(h)e(illustrates)j(ho)m(w)e(the)g(GNU)h(SASL)e (Library)g(can)i(b)s(e)150 658 y(used)c(when)f(writing)h(y)m(our)h(o)m (wn)f(application.)150 907 y Ft(13.1)68 b(Example)46 b(1)390 1066 y Fo(/*)h(client.c)f(---)h(Example)e(SASL)i(client.)438 1176 y(*)g(Copyright)e(\(C\))i(2004-2019)f(Simon)g(Josefsson)438 1285 y(*)438 1395 y(*)h(This)g(file)f(is)i(part)e(of)h(GNU)g(SASL.)438 1504 y(*)438 1614 y(*)g(This)g(program)f(is)h(free)f(software:)93 b(you)47 b(can)g(redistribute)e(it)i(and/or)f(modify)438 1724 y(*)h(it)g(under)g(the)g(terms)f(of)h(the)g(GNU)g(General)f (Public)g(License)g(as)h(published)e(by)438 1833 y(*)i(the)g(Free)g (Software)e(Foundation,)g(either)h(version)g(3)h(of)h(the)e(License,)g (or)438 1943 y(*)h(\(at)g(your)g(option\))f(any)g(later)h(version.)438 2052 y(*)438 2162 y(*)g(This)g(program)f(is)h(distributed)e(in)i(the)g (hope)f(that)h(it)g(will)g(be)g(useful,)438 2271 y(*)g(but)g(WITHOUT)f (ANY)h(WARRANTY;)e(without)h(even)h(the)f(implied)g(warranty)g(of)438 2381 y(*)h(MERCHANTABILITY)d(or)j(FITNESS)f(FOR)h(A)g(PARTICULAR)e (PURPOSE.)93 b(See)47 b(the)438 2491 y(*)g(GNU)g(General)f(Public)g (License)g(for)h(more)f(details.)438 2600 y(*)438 2710 y(*)h(You)g(should)f(have)h(received)e(a)j(copy)e(of)i(the)f(GNU)f (General)g(Public)g(License)438 2819 y(*)h(along)g(with)f(this)h (program.)189 b(If)47 b(not,)f(see)h(.)438 2929 y(*)438 3039 y(*/)390 3258 y(#include)f()390 3367 y(#include)g()390 3477 y(#include)g()390 3587 y(#include)g()390 3696 y(#include)g()390 3915 y(#include)g()390 4134 y(static)g(void)390 4244 y(client_authenticate)d(\(Gsasl_session)g(*)48 b(session\))390 4354 y({)485 4463 y(char)f(buf[BUFSIZ])e(=)i("";)485 4573 y(char)g(*p;)485 4682 y(int)g(rc;)485 4902 y(/*)h(This)e(loop)h (mimics)f(a)h(protocol)f(where)g(the)h(client)f(send)h(data)g(first.)93 b(*/)485 5121 y(do)581 5230 y({)676 5340 y(/*)48 b(Generate)d(client)h (output.)94 b(*/)p eop end %%Page: 53 57 TeXDict begin 53 56 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(53)676 299 y Fo(rc)48 b(=)f(gsasl_step64)d (\(session,)i(buf,)g(&p\);)676 518 y(if)i(\(rc)e(==)i(GSASL_NEEDS_MORE) 43 b(||)k(rc)g(==)h(GSASL_OK\))772 628 y({)867 737 y(/*)f(If)h (sucessful,)d(print)h(it.)95 b(*/)867 847 y(printf)46 b(\("Output:\\n\045s\\n",)d(p\);)867 956 y(gsasl_free)i(\(p\);)772 1066 y(})676 1285 y(if)j(\(rc)e(==)i(GSASL_NEEDS_MORE\))772 1395 y({)867 1504 y(/*)f(If)h(the)f(client)f(need)g(more)h(data)g(from) f(server,)g(get)h(it)g(here.)94 b(*/)867 1614 y(printf)46 b(\("Input)g(base64)g(encoded)g(data)h(from)f(server:\\n"\);)867 1724 y(p)i(=)f(fgets)g(\(buf,)f(sizeof)g(\(buf\))g(-)i(1,)f(stdin\);) 867 1833 y(if)g(\(p)h(==)f(NULL\))963 1943 y({)1058 2052 y(perror)f(\("fgets"\);)1058 2162 y(return;)963 2271 y(})867 2381 y(if)h(\(buf[strlen)e(\(buf\))i(-)g(1])g(==)g('\\n'\))963 2491 y(buf[strlen)e(\(buf\))h(-)i(1])f(=)g('\\0';)772 2600 y(})581 2710 y(})485 2819 y(while)g(\(rc)g(==)g (GSASL_NEEDS_MORE\);)485 3039 y(printf)g(\("\\n"\);)485 3258 y(if)h(\(rc)f(!=)g(GSASL_OK\))581 3367 y({)676 3477 y(printf)f(\("Authentication)e(error)i(\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d(\(rc\)\);)676 3587 y(return;)581 3696 y(})485 3915 y(/*)k(The)f(client)f(is)h(done.) 189 b(Here)47 b(you)g(would)f(typically)g(check)g(if)h(the)g(server)629 4025 y(let)g(the)f(client)h(in.)190 b(If)47 b(not,)f(you)h(could)g(try) g(again.)93 b(*/)485 4244 y(printf)47 b(\("If)f(server)g(accepted)g (us,)h(we're)f(done.\\n"\);)390 4354 y(})390 4573 y(static)g(void)390 4682 y(client)g(\(Gsasl)g(*)i(ctx\))390 4792 y({)485 4902 y(Gsasl_session)d(*session;)485 5011 y(const)i(char)f(*mech)h(=)g ("PLAIN";)485 5121 y(int)g(rc;)485 5340 y(/*)h(Create)e(new)h (authentication)d(session.)93 b(*/)p eop end %%Page: 54 58 TeXDict begin 54 57 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(54)485 299 y Fo(if)48 b(\(\(rc)e(=)i (gsasl_client_start)43 b(\(ctx,)j(mech,)g(&session\)\))f(!=)i (GSASL_OK\))581 408 y({)676 518 y(printf)f(\("Cannot)g(initialize)f (client)h(\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d (\(rc\)\);)676 628 y(return;)581 737 y(})485 956 y(/*)k(Set)f(username) e(and)i(password)f(in)h(session)f(handle.)189 b(This)46 b(info)h(will)f(be)629 1066 y(lost)g(when)h(this)g(session)e(is)j (deallocated)c(below.)190 b(*/)485 1176 y(gsasl_property_set)43 b(\(session,)j(GSASL_AUTHID,)e("jas"\);)485 1285 y(gsasl_property_set)f (\(session,)j(GSASL_PASSWORD,)d("secret"\);)485 1504 y(/*)48 b(Do)f(it.)94 b(*/)485 1614 y(client_authenticate)43 b(\(session\);)485 1833 y(/*)48 b(Cleanup.)93 b(*/)485 1943 y(gsasl_finish)45 b(\(session\);)390 2052 y(})390 2271 y(int)390 2381 y(main)i(\(int)f(argc,)h(char)f(*argv[]\))390 2491 y({)485 2600 y(Gsasl)h(*ctx)f(=)i(NULL;)485 2710 y(int)f(rc;)485 2929 y(/*)h(Initialize)d(library.)93 b(*/)485 3039 y(if)48 b(\(\(rc)e(=)i(gsasl_init)d(\(&ctx\)\))h(!=)h (GSASL_OK\))581 3148 y({)676 3258 y(printf)f(\("Cannot)g(initialize)f (libgsasl)h(\(\045d\):)94 b(\045s",)46 b(rc,)h(gsasl_strerror)d (\(rc\)\);)676 3367 y(return)i(1;)581 3477 y(})485 3696 y(/*)i(Do)f(it.)94 b(*/)485 3806 y(client)47 b(\(ctx\);)485 4025 y(/*)h(Cleanup.)93 b(*/)485 4134 y(gsasl_done)45 b(\(ctx\);)485 4354 y(return)i(0;)390 4463 y(})150 4742 y Ft(13.2)68 b(Example)46 b(2)390 4902 y Fo(/*)h(client-serverfirst.c) 42 b(---)47 b(Example)f(SASL)h(client,)f(where)g(server)g(send)h(data)f (first.)438 5011 y(*)h(Copyright)e(\(C\))i(2004-2019)f(Simon)g (Josefsson)438 5121 y(*)438 5230 y(*)h(This)g(file)f(is)i(part)e(of)h (GNU)g(SASL.)438 5340 y(*)p eop end %%Page: 55 59 TeXDict begin 55 58 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(55)438 299 y Fo(*)47 b(This)g(program)f(is)h(free)f (software:)93 b(you)47 b(can)g(redistribute)e(it)i(and/or)f(modify)438 408 y(*)h(it)g(under)g(the)g(terms)f(of)h(the)g(GNU)g(General)f(Public) g(License)g(as)h(published)e(by)438 518 y(*)i(the)g(Free)g(Software)e (Foundation,)g(either)h(version)g(3)h(of)h(the)e(License,)g(or)438 628 y(*)h(\(at)g(your)g(option\))f(any)g(later)h(version.)438 737 y(*)438 847 y(*)g(This)g(program)f(is)h(distributed)e(in)i(the)g (hope)f(that)h(it)g(will)g(be)g(useful,)438 956 y(*)g(but)g(WITHOUT)f (ANY)h(WARRANTY;)e(without)h(even)h(the)f(implied)g(warranty)g(of)438 1066 y(*)h(MERCHANTABILITY)d(or)j(FITNESS)f(FOR)h(A)g(PARTICULAR)e (PURPOSE.)93 b(See)47 b(the)438 1176 y(*)g(GNU)g(General)f(Public)g (License)g(for)h(more)f(details.)438 1285 y(*)438 1395 y(*)h(You)g(should)f(have)h(received)e(a)j(copy)e(of)i(the)f(GNU)f (General)g(Public)g(License)438 1504 y(*)h(along)g(with)f(this)h (program.)189 b(If)47 b(not,)f(see)h(.)438 1614 y(*)438 1724 y(*/)390 1943 y(#include)f()390 2052 y(#include)g()390 2162 y(#include)g()390 2271 y(#include)g()390 2381 y(#include)g()390 2600 y(#include)g()390 2819 y(static)g(void)390 2929 y(client_authenticate)d(\(Gsasl_session)g(*)48 b(session\))390 3039 y({)485 3148 y(char)f(buf[BUFSIZ])e(=)i("";)485 3258 y(char)g(*p;)485 3367 y(int)g(rc;)485 3587 y(/*)h(This)e(loop)h (mimics)f(a)h(protocol)f(where)g(the)h(server)f(send)h(data)g(first.)93 b(*/)485 3806 y(do)581 3915 y({)676 4025 y(printf)46 b(\("Input)g(base64)g(encoded)g(data)h(from)f(server:\\n"\);)676 4134 y(p)i(=)f(fgets)g(\(buf,)f(sizeof)g(\(buf\))g(-)i(1,)f(stdin\);) 676 4244 y(if)h(\(p)f(==)g(NULL\))772 4354 y({)867 4463 y(perror)f(\("fgets"\);)867 4573 y(return;)772 4682 y(})676 4792 y(if)i(\(buf[strlen)c(\(buf\))j(-)g(1])g(==)g('\\n'\))772 4902 y(buf[strlen)e(\(buf\))h(-)i(1])f(=)g('\\0';)676 5121 y(rc)h(=)f(gsasl_step64)d(\(session,)i(buf,)g(&p\);)676 5340 y(if)i(\(rc)e(==)i(GSASL_NEEDS_MORE)43 b(||)k(rc)g(==)h (GSASL_OK\))p eop end %%Page: 56 60 TeXDict begin 56 59 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(56)772 299 y Fo({)867 408 y(printf)46 b(\("Output:\\n\045s\\n",)d(p\);)867 518 y(gsasl_free)i(\(p\);)772 628 y(})581 737 y(})485 847 y(while)i(\(rc)g(==)g(GSASL_NEEDS_MORE\);) 485 1066 y(printf)g(\("\\n"\);)485 1285 y(if)h(\(rc)f(!=)g(GSASL_OK\)) 581 1395 y({)676 1504 y(printf)f(\("Authentication)e(error)i (\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d(\(rc\)\);)676 1614 y(return;)581 1724 y(})485 1943 y(/*)k(The)f(client)f(is)h(done.) 189 b(Here)47 b(you)g(would)f(typically)g(check)g(if)h(the)g(server)629 2052 y(let)g(the)f(client)h(in.)190 b(If)47 b(not,)f(you)h(could)g(try) g(again.)93 b(*/)485 2271 y(printf)47 b(\("If)f(server)g(accepted)g (us,)h(we're)f(done.\\n"\);)390 2381 y(})390 2600 y(static)g(void)390 2710 y(client)g(\(Gsasl)g(*)i(ctx\))390 2819 y({)485 2929 y(Gsasl_session)d(*session;)485 3039 y(const)i(char)f(*mech)h(=)g ("CRAM-MD5";)485 3148 y(int)g(rc;)485 3367 y(/*)h(Create)e(new)h (authentication)d(session.)93 b(*/)485 3477 y(if)48 b(\(\(rc)e(=)i (gsasl_client_start)43 b(\(ctx,)j(mech,)g(&session\)\))f(!=)i (GSASL_OK\))581 3587 y({)676 3696 y(printf)f(\("Cannot)g(initialize)f (client)h(\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d (\(rc\)\);)676 3806 y(return;)581 3915 y(})485 4134 y(/*)k(Set)f (username)e(and)i(password)f(in)h(session)f(handle.)189 b(This)46 b(info)h(will)f(be)629 4244 y(lost)g(when)h(this)g(session)e (is)j(deallocated)c(below.)190 b(*/)485 4354 y(gsasl_property_set)43 b(\(session,)j(GSASL_AUTHID,)e("jas"\);)485 4463 y(gsasl_property_set)f (\(session,)j(GSASL_PASSWORD,)d("secret"\);)485 4682 y(/*)48 b(Do)f(it.)94 b(*/)485 4792 y(client_authenticate)43 b(\(session\);)485 5011 y(/*)48 b(Cleanup.)93 b(*/)485 5121 y(gsasl_finish)45 b(\(session\);)390 5230 y(})p eop end %%Page: 57 61 TeXDict begin 57 60 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(57)390 299 y Fo(int)390 408 y(main)47 b(\(int)f(argc,)h(char)f(*argv[]\))390 518 y({)485 628 y(Gsasl)h(*ctx)f(=)i(NULL;)485 737 y(int)f(rc;)485 956 y(/*)h(Initialize)d(library.)93 b(*/)485 1066 y(if)48 b(\(\(rc)e(=)i(gsasl_init)d(\(&ctx\)\))h(!=)h(GSASL_OK\))581 1176 y({)676 1285 y(printf)f(\("Cannot)g(initialize)f(libgsasl)h (\(\045d\):)94 b(\045s",)46 b(rc,)h(gsasl_strerror)d(\(rc\)\);)676 1395 y(return)i(1;)581 1504 y(})485 1724 y(/*)i(Do)f(it.)94 b(*/)485 1833 y(client)47 b(\(ctx\);)485 2052 y(/*)h(Cleanup.)93 b(*/)485 2162 y(gsasl_done)45 b(\(ctx\);)485 2381 y(return)i(0;)390 2491 y(})150 2770 y Ft(13.3)68 b(Example)46 b(3)390 2929 y Fo(/*)h(client-mech.c)d(---)j(Example)f(SASL)h(client,)f(with)g(a)i (choice)e(of)h(mechanism)e(to)i(use.)438 3039 y(*)g(Copyright)e(\(C\))i (2004-2019)f(Simon)g(Josefsson)438 3148 y(*)438 3258 y(*)h(This)g(file)f(is)i(part)e(of)h(GNU)g(SASL.)438 3367 y(*)438 3477 y(*)g(This)g(program)f(is)h(free)f(software:)93 b(you)47 b(can)g(redistribute)e(it)i(and/or)f(modify)438 3587 y(*)h(it)g(under)g(the)g(terms)f(of)h(the)g(GNU)g(General)f (Public)g(License)g(as)h(published)e(by)438 3696 y(*)i(the)g(Free)g (Software)e(Foundation,)g(either)h(version)g(3)h(of)h(the)e(License,)g (or)438 3806 y(*)h(\(at)g(your)g(option\))f(any)g(later)h(version.)438 3915 y(*)438 4025 y(*)g(This)g(program)f(is)h(distributed)e(in)i(the)g (hope)f(that)h(it)g(will)g(be)g(useful,)438 4134 y(*)g(but)g(WITHOUT)f (ANY)h(WARRANTY;)e(without)h(even)h(the)f(implied)g(warranty)g(of)438 4244 y(*)h(MERCHANTABILITY)d(or)j(FITNESS)f(FOR)h(A)g(PARTICULAR)e (PURPOSE.)93 b(See)47 b(the)438 4354 y(*)g(GNU)g(General)f(Public)g (License)g(for)h(more)f(details.)438 4463 y(*)438 4573 y(*)h(You)g(should)f(have)h(received)e(a)j(copy)e(of)i(the)f(GNU)f (General)g(Public)g(License)438 4682 y(*)h(along)g(with)f(this)h (program.)189 b(If)47 b(not,)f(see)h(.)438 4792 y(*)438 4902 y(*/)390 5121 y(#include)f()390 5230 y(#include)g()390 5340 y(#include)g()p eop end %%Page: 58 62 TeXDict begin 58 61 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(58)390 299 y Fo(#include)46 b()390 408 y(#include)g()390 628 y(#include)g()390 847 y(static)g(void)390 956 y(client_authenticate)d(\(Gsasl_session)g (*)48 b(session\))390 1066 y({)485 1176 y(char)f(buf[BUFSIZ])e(=)i("";) 485 1285 y(char)g(*p;)485 1395 y(int)g(rc;)485 1614 y(/*)h(This)e(loop) h(mimics)f(a)h(protocol)f(where)g(the)h(server)f(send)h(data)g(first.) 93 b(*/)485 1833 y(do)581 1943 y({)676 2052 y(printf)46 b(\("Input)g(base64)g(encoded)g(data)h(from)f(server:\\n"\);)676 2162 y(p)i(=)f(fgets)g(\(buf,)f(sizeof)g(\(buf\))g(-)i(1,)f(stdin\);) 676 2271 y(if)h(\(p)f(==)g(NULL\))772 2381 y({)867 2491 y(perror)f(\("fgets"\);)867 2600 y(return;)772 2710 y(})676 2819 y(if)i(\(buf[strlen)c(\(buf\))j(-)g(1])g(==)g('\\n'\))772 2929 y(buf[strlen)e(\(buf\))h(-)i(1])f(=)g('\\0';)676 3148 y(rc)h(=)f(gsasl_step64)d(\(session,)i(buf,)g(&p\);)676 3367 y(if)i(\(rc)e(==)i(GSASL_NEEDS_MORE)43 b(||)k(rc)g(==)h (GSASL_OK\))772 3477 y({)867 3587 y(printf)e(\("Output:\\n\045s\\n",)d (p\);)867 3696 y(gsasl_free)i(\(p\);)772 3806 y(})581 3915 y(})485 4025 y(while)i(\(rc)g(==)g(GSASL_NEEDS_MORE\);)485 4244 y(printf)g(\("\\n"\);)485 4463 y(if)h(\(rc)f(!=)g(GSASL_OK\))581 4573 y({)676 4682 y(printf)f(\("Authentication)e(error)i(\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d(\(rc\)\);)676 4792 y(return;)581 4902 y(})485 5121 y(/*)k(The)f(client)f(is)h(done.) 189 b(Here)47 b(you)g(would)f(typically)g(check)g(if)h(the)g(server)629 5230 y(let)g(the)f(client)h(in.)190 b(If)47 b(not,)f(you)h(could)g(try) g(again.)93 b(*/)p eop end %%Page: 59 63 TeXDict begin 59 62 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(59)485 299 y Fo(printf)47 b(\("If)f(server)g (accepted)g(us,)h(we're)f(done.\\n"\);)390 408 y(})390 628 y(static)g(const)g(char)h(*)390 737 y(client_mechanism)c(\(Gsasl)j (*)i(ctx\))390 847 y({)485 956 y(static)f(char)f (mech[GSASL_MAX_MECHANISM_)o(SIZE)41 b(+)47 b(1])h(=)f("";)485 1066 y(char)g(mechlist[BUFSIZ])c(=)48 b("";)485 1176 y(const)f(char)f(*suggestion;)485 1285 y(char)h(*p;)485 1504 y(printf)g(\("Enter)e(list)i(of)g(server)f(supported)g (mechanisms,)e(separate)i(by)h(SPC:\\n"\);)485 1614 y(p)h(=)f(fgets)g (\(mechlist,)e(sizeof)h(\(mechlist\))f(-)i(1,)g(stdin\);)485 1724 y(if)h(\(p)f(==)g(NULL\))581 1833 y({)676 1943 y(perror)f (\("fgets"\);)676 2052 y(return)g(NULL;)581 2162 y(})485 2381 y(suggestion)f(=)j(gsasl_client_suggest_mec)o(hani)o(sm)41 b(\(ctx,)47 b(mechlist\);)485 2491 y(if)h(\(suggestion\))581 2600 y(printf)e(\("Library)f(suggests)h(use)h(of)g(`\045s'.\\n",)e (suggestion\);)485 2819 y(printf)i(\("Enter)e(mechanism)h(to)h (use:\\n"\);)485 2929 y(p)h(=)f(fgets)g(\(mech,)f(sizeof)g(\(mech\))g (-)h(1,)h(stdin\);)485 3039 y(if)g(\(p)f(==)g(NULL\))581 3148 y({)676 3258 y(perror)f(\("fgets"\);)676 3367 y(return)g(NULL;)581 3477 y(})485 3696 y(mech[strlen)f(\(mech\))h(-)i(1])f(=)g('\\0';)485 3915 y(return)g(mech;)390 4025 y(})390 4244 y(static)f(void)390 4354 y(client)g(\(Gsasl)g(*)i(ctx\))390 4463 y({)485 4573 y(Gsasl_session)d(*session;)485 4682 y(const)i(char)f(*mech;)485 4792 y(int)h(rc;)485 5011 y(/*)h(Find)e(out)h(which)g(mechanism)e(to)i (use.)94 b(*/)485 5121 y(mech)47 b(=)h(client_mechanism)43 b(\(ctx\);)485 5340 y(/*)48 b(Create)e(new)h(authentication)d(session.) 93 b(*/)p eop end %%Page: 60 64 TeXDict begin 60 63 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(60)485 299 y Fo(if)48 b(\(\(rc)e(=)i (gsasl_client_start)43 b(\(ctx,)j(mech,)g(&session\)\))f(!=)i (GSASL_OK\))581 408 y({)676 518 y(printf)f(\("Cannot)g(initialize)f (client)h(\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d (\(rc\)\);)676 628 y(return;)581 737 y(})485 956 y(/*)k(Set)f(username) e(and)i(password)f(in)h(session)f(handle.)189 b(This)46 b(info)h(will)f(be)629 1066 y(lost)g(when)h(this)g(session)e(is)j (deallocated)c(below.)190 b(*/)485 1176 y(gsasl_property_set)43 b(\(session,)j(GSASL_AUTHID,)e("jas"\);)485 1285 y(gsasl_property_set)f (\(session,)j(GSASL_PASSWORD,)d("secret"\);)485 1504 y(/*)48 b(Do)f(it.)94 b(*/)485 1614 y(client_authenticate)43 b(\(session\);)485 1833 y(/*)48 b(Cleanup.)93 b(*/)485 1943 y(gsasl_finish)45 b(\(session\);)390 2052 y(})390 2271 y(int)390 2381 y(main)i(\(int)f(argc,)h(char)f(*argv[]\))390 2491 y({)485 2600 y(Gsasl)h(*ctx)f(=)i(NULL;)485 2710 y(int)f(rc;)485 2929 y(/*)h(Initialize)d(library.)93 b(*/)485 3039 y(if)48 b(\(\(rc)e(=)i(gsasl_init)d(\(&ctx\)\))h(!=)h (GSASL_OK\))581 3148 y({)676 3258 y(printf)f(\("Cannot)g(initialize)f (libgsasl)h(\(\045d\):)94 b(\045s",)46 b(rc,)h(gsasl_strerror)d (\(rc\)\);)676 3367 y(return)i(1;)581 3477 y(})485 3696 y(/*)i(Do)f(it.)94 b(*/)485 3806 y(client)47 b(\(ctx\);)485 4025 y(/*)h(Cleanup.)93 b(*/)485 4134 y(gsasl_done)45 b(\(ctx\);)485 4354 y(return)i(0;)390 4463 y(})150 4742 y Ft(13.4)68 b(Example)46 b(4)390 4902 y Fo(/*)h(client-callback.c)c (---)k(Example)f(SASL)h(client,)e(with)i(callback)f(for)h(user)f(info.) 438 5011 y(*)h(Copyright)e(\(C\))i(2004-2019)f(Simon)g(Josefsson)438 5121 y(*)438 5230 y(*)h(This)g(file)f(is)i(part)e(of)h(GNU)g(SASL.)438 5340 y(*)p eop end %%Page: 61 65 TeXDict begin 61 64 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(61)438 299 y Fo(*)47 b(This)g(program)f(is)h(free)f (software:)93 b(you)47 b(can)g(redistribute)e(it)i(and/or)f(modify)438 408 y(*)h(it)g(under)g(the)g(terms)f(of)h(the)g(GNU)g(General)f(Public) g(License)g(as)h(published)e(by)438 518 y(*)i(the)g(Free)g(Software)e (Foundation,)g(either)h(version)g(3)h(of)h(the)e(License,)g(or)438 628 y(*)h(\(at)g(your)g(option\))f(any)g(later)h(version.)438 737 y(*)438 847 y(*)g(This)g(program)f(is)h(distributed)e(in)i(the)g (hope)f(that)h(it)g(will)g(be)g(useful,)438 956 y(*)g(but)g(WITHOUT)f (ANY)h(WARRANTY;)e(without)h(even)h(the)f(implied)g(warranty)g(of)438 1066 y(*)h(MERCHANTABILITY)d(or)j(FITNESS)f(FOR)h(A)g(PARTICULAR)e (PURPOSE.)93 b(See)47 b(the)438 1176 y(*)g(GNU)g(General)f(Public)g (License)g(for)h(more)f(details.)438 1285 y(*)438 1395 y(*)h(You)g(should)f(have)h(received)e(a)j(copy)e(of)i(the)f(GNU)f (General)g(Public)g(License)438 1504 y(*)h(along)g(with)f(this)h (program.)189 b(If)47 b(not,)f(see)h(.)438 1614 y(*)438 1724 y(*/)390 1943 y(#include)f()390 2052 y(#include)g()390 2162 y(#include)g()390 2271 y(#include)g()390 2381 y(#include)g()390 2600 y(#include)g()390 2819 y(static)g(void)390 2929 y(client_authenticate)d(\(Gsasl_session)g(*)48 b(session\))390 3039 y({)485 3148 y(char)f(buf[BUFSIZ])e(=)i("";)485 3258 y(char)g(*p;)485 3367 y(int)g(rc;)485 3587 y(/*)h(This)e(loop)h (mimics)f(a)h(protocol)f(where)g(the)h(server)f(send)h(data)g(first.)93 b(*/)485 3806 y(do)581 3915 y({)676 4025 y(printf)46 b(\("Input)g(base64)g(encoded)g(data)h(from)f(server:\\n"\);)676 4134 y(p)i(=)f(fgets)g(\(buf,)f(sizeof)g(\(buf\))g(-)i(1,)f(stdin\);) 676 4244 y(if)h(\(p)f(==)g(NULL\))772 4354 y({)867 4463 y(perror)f(\("fgets"\);)867 4573 y(return;)772 4682 y(})676 4792 y(if)i(\(buf[strlen)c(\(buf\))j(-)g(1])g(==)g('\\n'\))772 4902 y(buf[strlen)e(\(buf\))h(-)i(1])f(=)g('\\0';)676 5121 y(rc)h(=)f(gsasl_step64)d(\(session,)i(buf,)g(&p\);)676 5340 y(if)i(\(rc)e(==)i(GSASL_NEEDS_MORE)43 b(||)k(rc)g(==)h (GSASL_OK\))p eop end %%Page: 62 66 TeXDict begin 62 65 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(62)772 299 y Fo({)867 408 y(printf)46 b(\("Output:\\n\045s\\n",)d(p\);)867 518 y(gsasl_free)i(\(p\);)772 628 y(})581 737 y(})485 847 y(while)i(\(rc)g(==)g(GSASL_NEEDS_MORE\);) 485 1066 y(printf)g(\("\\n"\);)485 1285 y(if)h(\(rc)f(!=)g(GSASL_OK\)) 581 1395 y({)676 1504 y(printf)f(\("Authentication)e(error)i (\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d(\(rc\)\);)676 1614 y(return;)581 1724 y(})485 1943 y(/*)k(The)f(client)f(is)h(done.) 189 b(Here)47 b(you)g(would)f(typically)g(check)g(if)h(the)g(server)629 2052 y(let)g(the)f(client)h(in.)190 b(If)47 b(not,)f(you)h(could)g(try) g(again.)93 b(*/)485 2271 y(printf)47 b(\("If)f(server)g(accepted)g (us,)h(we're)f(done.\\n"\);)390 2381 y(})390 2600 y(static)g(void)390 2710 y(client)g(\(Gsasl)g(*)i(ctx\))390 2819 y({)485 2929 y(Gsasl_session)d(*session;)485 3039 y(const)i(char)f(*mech)h(=)g ("SECURID";)485 3148 y(int)g(rc;)485 3367 y(/*)h(Create)e(new)h (authentication)d(session.)93 b(*/)485 3477 y(if)48 b(\(\(rc)e(=)i (gsasl_client_start)43 b(\(ctx,)j(mech,)g(&session\)\))f(!=)i (GSASL_OK\))581 3587 y({)676 3696 y(printf)f(\("Cannot)g(initialize)f (client)h(\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d (\(rc\)\);)676 3806 y(return;)581 3915 y(})485 4134 y(/*)k(Do)f(it.)94 b(*/)485 4244 y(client_authenticate)43 b(\(session\);)485 4463 y(/*)48 b(Cleanup.)93 b(*/)485 4573 y(gsasl_finish)45 b(\(session\);)390 4682 y(})390 4902 y(static)h(int)390 5011 y(callback)g(\(Gsasl)g(*)h(ctx,)g(Gsasl_session)d(*)j(sctx,)g (Gsasl_property)d(prop\))390 5121 y({)485 5230 y(char)j(buf[BUFSIZ])e (=)i("";)485 5340 y(int)g(rc)h(=)f(GSASL_NO_CALLBACK;)p eop end %%Page: 63 67 TeXDict begin 63 66 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(63)485 299 y Fo(char)47 b(*p;)485 518 y(/*)h(Get)f(user)f(info)h(from)f(user.)95 b(*/)485 737 y(printf)47 b(\("Callback)e(invoked,)g(for)i(property)f(\045u.\\n",)f (prop\);)485 956 y(switch)i(\(prop\))581 1066 y({)581 1176 y(case)g(GSASL_PASSCODE:)676 1285 y(printf)f(\("Enter)g (passcode:\\n"\);)676 1395 y(p)i(=)f(fgets)g(\(buf,)f(sizeof)g(\(buf\)) g(-)i(1,)f(stdin\);)676 1504 y(if)h(\(p)f(==)g(NULL\))772 1614 y({)867 1724 y(perror)f(\("fgets"\);)867 1833 y(break;)772 1943 y(})676 2052 y(buf[strlen)f(\(buf\))i(-)g(1])g(=)h('\\0';)676 2271 y(gsasl_property_set)43 b(\(sctx,)j(GSASL_PASSCODE,)e(buf\);)676 2381 y(rc)k(=)f(GSASL_OK;)676 2491 y(break;)581 2710 y(case)g(GSASL_AUTHID:)676 2819 y(printf)f(\("Enter)g(username:\\n"\);) 676 2929 y(p)i(=)f(fgets)g(\(buf,)f(sizeof)g(\(buf\))g(-)i(1,)f (stdin\);)676 3039 y(if)h(\(p)f(==)g(NULL\))772 3148 y({)867 3258 y(perror)f(\("fgets"\);)867 3367 y(break;)772 3477 y(})676 3587 y(buf[strlen)f(\(buf\))i(-)g(1])g(=)h('\\0';)676 3806 y(gsasl_property_set)43 b(\(sctx,)j(GSASL_AUTHID,)e(buf\);)676 3915 y(rc)k(=)f(GSASL_OK;)676 4025 y(break;)581 4244 y(default:)676 4354 y(printf)f(\("Unknown)g(property!)188 b(Don't)47 b(worry.\\n"\);)676 4463 y(break;)581 4573 y(})485 4792 y(return)g(rc;)390 4902 y(})390 5121 y(int)390 5230 y(main)g(\(int)f(argc,)h(char)f(*argv[]\))390 5340 y({)p eop end %%Page: 64 68 TeXDict begin 64 67 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(64)485 299 y Fo(Gsasl)47 b(*ctx)f(=)i(NULL;)485 408 y(int)f(rc;)485 628 y(/*)h(Initialize)d(library.)93 b(*/)485 737 y(if)48 b(\(\(rc)e(=)i(gsasl_init)d(\(&ctx\)\))h(!=)h (GSASL_OK\))581 847 y({)676 956 y(printf)f(\("Cannot)g(initialize)f (libgsasl)h(\(\045d\):)94 b(\045s",)46 b(rc,)h(gsasl_strerror)d (\(rc\)\);)676 1066 y(return)i(1;)581 1176 y(})485 1395 y(/*)i(Set)f(the)f(callback)g(handler)g(for)h(the)g(library.)93 b(*/)485 1504 y(gsasl_callback_set)43 b(\(ctx,)k(callback\);)485 1724 y(/*)h(Do)f(it.)94 b(*/)485 1833 y(client)47 b(\(ctx\);)485 2052 y(/*)h(Cleanup.)93 b(*/)485 2162 y(gsasl_done)45 b(\(ctx\);)485 2381 y(return)i(0;)390 2491 y(})150 2770 y Ft(13.5)68 b(Example)46 b(5)390 2929 y Fo(/*)h(smtp-server.c)d(---)j (Example)f(SMTP)h(server)f(with)g(SASL)h(authentication)438 3039 y(*)g(Copyright)e(\(C\))i(2012-2019)f(Simon)g(Josefsson)438 3148 y(*)438 3258 y(*)h(This)g(file)f(is)i(part)e(of)h(GNU)g(SASL.)438 3367 y(*)438 3477 y(*)g(This)g(program)f(is)h(free)f(software:)93 b(you)47 b(can)g(redistribute)e(it)i(and/or)f(modify)438 3587 y(*)h(it)g(under)g(the)g(terms)f(of)h(the)g(GNU)g(General)f (Public)g(License)g(as)h(published)e(by)438 3696 y(*)i(the)g(Free)g (Software)e(Foundation,)g(either)h(version)g(3)h(of)h(the)e(License,)g (or)438 3806 y(*)h(\(at)g(your)g(option\))f(any)g(later)h(version.)438 3915 y(*)438 4025 y(*)g(This)g(program)f(is)h(distributed)e(in)i(the)g (hope)f(that)h(it)g(will)g(be)g(useful,)438 4134 y(*)g(but)g(WITHOUT)f (ANY)h(WARRANTY;)e(without)h(even)h(the)f(implied)g(warranty)g(of)438 4244 y(*)h(MERCHANTABILITY)d(or)j(FITNESS)f(FOR)h(A)g(PARTICULAR)e (PURPOSE.)93 b(See)47 b(the)438 4354 y(*)g(GNU)g(General)f(Public)g (License)g(for)h(more)f(details.)438 4463 y(*)438 4573 y(*)h(You)g(should)f(have)h(received)e(a)j(copy)e(of)i(the)f(GNU)f (General)g(Public)g(License)438 4682 y(*)h(along)g(with)f(this)h (program.)189 b(If)47 b(not,)f(see)h(.)438 4792 y(*)438 4902 y(*/)390 5121 y(/*)g(This)g(is)g(a)g(minimal) f(SMTP)h(server)f(with)h(GNU)g(SASL)f(authentication)e(support.)533 5230 y(The)j(only)g(valid)f(password)g(is)h("sesam".)189 b(This)46 b(server)g(will)h(complete)533 5340 y(authentications)d (using)i(LOGIN,)g(PLAIN,)g(DIGEST-MD5,)f(CRAM-MD5,)g(and)p eop end %%Page: 65 69 TeXDict begin 65 68 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(65)533 299 y Fo(SCRAM-SHA-1.)188 b(It)47 b(accepts)f(an)h(optional)f(command)f(line)i(parameter)533 408 y(specifying)e(the)i(service)f(name)h(\(i.e.,)f(a)h(numerical)e (port)i(number)f(or)533 518 y(/etc/services)e(name\).)190 b(By)47 b(default)f(it)h(listens)f(on)h(port)f("2000".)189 b(*/)390 737 y(#include)46 b()390 847 y(#include)g ()390 956 y(#include)g()390 1066 y(#include)g()390 1176 y(#include)g()390 1285 y(#include)g()390 1504 y(#include)g()390 1724 y(static)g(int)390 1833 y(callback)g(\(Gsasl)g(*)h(ctx,)g (Gsasl_session)d(*)j(sctx,)g(Gsasl_property)d(prop\))390 1943 y({)485 2052 y(int)j(rc)h(=)f(GSASL_NO_CALLBACK;)485 2271 y(switch)g(\(prop\))581 2381 y({)581 2491 y(case)g (GSASL_PASSWORD:)676 2600 y(gsasl_property_set)c(\(sctx,)j(prop,)h ("sesam"\);)676 2710 y(rc)h(=)f(GSASL_OK;)676 2819 y(break;)581 3039 y(default:)676 3148 y(/*)h(You)e(may)h(want)g(to)g(log)g(\(at)g (debug)f(verbosity)g(level\))g(that)g(an)820 3258 y(unknown)f(property) h(was)h(requested)e(here,)h(possibly)g(after)g(filtering)820 3367 y(known)g(rejected)f(property)h(requests.)93 b(*/)676 3477 y(break;)581 3587 y(})485 3806 y(return)47 b(rc;)390 3915 y(})390 4134 y(static)f(ssize_t)390 4244 y(gettrimline)f(\(char)h (**line,)g(size_t)g(*)h(n,)h(FILE)e(*)i(fh\))390 4354 y({)485 4463 y(ssize_t)e(s)i(=)f(getline)f(\(line,)g(n,)h(fh\);)485 4682 y(if)h(\(s)f(>=)g(2\))581 4792 y({)676 4902 y(if)h (\(\(*line\)[strlen)43 b(\(*line\))j(-)h(1])h(==)f('\\n'\))772 5011 y(\(*line\)[strlen)d(\(*line\))i(-)h(1])g(=)h('\\0';)676 5121 y(if)g(\(\(*line\)[strlen)43 b(\(*line\))j(-)h(1])h(==)f('\\r'\)) 772 5230 y(\(*line\)[strlen)d(\(*line\))i(-)h(1])g(=)h('\\0';)p eop end %%Page: 66 70 TeXDict begin 66 69 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(66)676 299 y Fo(printf)46 b(\("C:)h(\045s\\n",)f (*line\);)581 408 y(})485 628 y(return)h(s;)390 737 y(})390 956 y(#define)f(print\(fh,)f(...\))2385 b(\\)485 1066 y(printf)47 b(\("S:)f("\),)h(printf)f(\(__VA_ARGS__\),)e(fprintf)i (\(fh,)h(__VA_ARGS__\))390 1285 y(static)f(void)390 1395 y(server_auth)f(\(FILE)h(*)i(fh,)e(Gsasl_session)f(*)i(session\))390 1504 y({)485 1614 y(char)g(*line)f(=)i(NULL;)485 1724 y(size_t)f(n)g(=)g(0;)485 1833 y(char)g(*p;)485 1943 y(int)g(rc;)485 2162 y(/*)h(The)f(ordering)e(and)i(the)g(type)g(of)g (checks)f(in)h(the)g(following)e(loop)i(has)g(to)629 2271 y(be)g(adapted)f(for)h(each)f(protocol)g(depending)f(on)i(its)g (SASL)g(properties.)629 2381 y(SMTP)f(is)h(a)h("server-first")c(SASL)i (protocol.)189 b(This)47 b(implementation)c(do)629 2491 y(not)k(support)e(piggy-backing)g(of)i(the)g(initial)e(client)i (challenge)e(nor)629 2600 y(piggy-backing)f(of)j(the)g(terminating)e (server)h(response.)188 b(See)47 b(RFC)g(2554)629 2710 y(and)g(RFC)f(4422)h(for)g(terminology.)188 b(That)46 b(profile)g(results)g(in)h(the)629 2819 y(following)e(loop)i (structure.)188 b(Ask)47 b(on)g(the)g(help-gsasl)e(list)h(if)i(you)e (are)629 2929 y(uncertain.)188 b(*/)485 3039 y(do)581 3148 y({)676 3258 y(rc)48 b(=)f(gsasl_step64)d(\(session,)i(line,)g (&p\);)676 3367 y(if)i(\(rc)e(==)i(GSASL_NEEDS_MORE)43 b(||)k(\(rc)g(==)g(GSASL_OK)f(&&)h(p)g(&&)h(*p\)\))772 3477 y({)867 3587 y(print)f(\(fh,)f("334)h(\045s\\n",)f(p\);)867 3696 y(gsasl_free)f(\(p\);)867 3915 y(if)i(\(gettrimline)e(\(&line,)h (&n,)h(fh\))g(<)g(0\))963 4025 y({)1058 4134 y(print)g(\(fh,)f("221)h (localhost)e(getline)h(failure\\n"\);)1058 4244 y(goto)h(done;)963 4354 y(})772 4463 y(})581 4573 y(})485 4682 y(while)g(\(rc)g(==)g (GSASL_NEEDS_MORE\);)485 4902 y(if)h(\(rc)f(!=)g(GSASL_OK\))581 5011 y({)676 5121 y(print)g(\(fh,)f("535)h(gsasl_step64)d(\(\045d\):)95 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)c(\(rc\)\);)676 5230 y(goto)k(done;)581 5340 y(})p eop end %%Page: 67 71 TeXDict begin 67 70 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(67)485 408 y Fo({)581 518 y(const)46 b(char)h(*authid)f(=)h(gsasl_property_fast)c(\(session,)i (GSASL_AUTHID\);)581 628 y(const)h(char)h(*authzid)e(=)j (gsasl_property_fast)42 b(\(session,)k(GSASL_AUTHZID\);)581 737 y(print)g(\(fh,)h("235)g(OK)g([authid:)93 b(\045s)47 b(authzid:)93 b(\045s]\\n",)915 847 y(authid)46 b(?)95 b(authid)46 b(:)96 b("N/A",)46 b(authzid)f(?)96 b(authzid)45 b(:)96 b("N/A"\);)485 956 y(})390 1176 y(done:)485 1285 y(free)47 b(\(line\);)390 1395 y(})390 1614 y(static)f(void)390 1724 y(smtp)h(\(FILE)f(*)h(fh,)g(Gsasl)g(*)g(ctx\))390 1833 y({)485 1943 y(char)g(*line)f(=)i(NULL;)485 2052 y(size_t)f(n)g(=)g(0;)485 2162 y(int)g(rc;)485 2381 y(print)g(\(fh,)f ("220)h(localhost)e(ESMTP)i(GNU)g(SASL)f(smtp-server\\n"\);)485 2600 y(while)h(\(gettrimline)d(\(&line,)i(&n,)h(fh\))g(>=)g(0\))581 2710 y({)676 2819 y(if)h(\(strncmp)d(\(line,)h("EHLO)h(",)g(5\))g(==)g (0)h(||)f(strncmp)f(\(line,)g("ehlo)g(",)h(5\))g(==)h(0\))772 2929 y({)867 3039 y(char)f(*mechlist;)867 3258 y(rc)g(=)h (gsasl_server_mechlist)42 b(\(ctx,)k(&mechlist\);)867 3367 y(if)h(\(rc)g(!=)h(GSASL_OK\))963 3477 y({)1058 3587 y(print)f(\(fh,)f("221)h(localhost)e(gsasl_server_mechlist)d (\(\045d\):)94 b(\045s\\n",)1392 3696 y(rc,)47 b(gsasl_strerror)d (\(rc\)\);)1058 3806 y(goto)j(done;)963 3915 y(})867 4134 y(print)g(\(fh,)f("250-localhost\\n"\);)867 4244 y(print)h(\(fh,)f("250)h(AUTH)g(\045s\\n",)f(mechlist\);)867 4463 y(gsasl_free)f(\(mechlist\);)772 4573 y(})676 4682 y(else)i(if)g(\(strncmp)f(\(line,)g("AUTH)g(",)h(5\))h(==)f(0)1106 4792 y(||)g(strncmp)f(\(line,)g("auth)g(",)i(5\))f(==)g(0\))772 4902 y({)867 5011 y(Gsasl_session)d(*session)i(=)h(NULL;)867 5230 y(if)g(\(\(rc)g(=)h(gsasl_server_start)42 b(\(ctx,)47 b(line)f(+)i(5,)f(&session\)\))e(!=)i(GSASL_OK\))963 5340 y({)p eop end %%Page: 68 72 TeXDict begin 68 71 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(68)1058 299 y Fo(print)47 b(\(fh,)f("221)h(localhost) e(gsasl_server_start)e(\(\045d\):)94 b(\045s\\n",)1392 408 y(rc,)47 b(gsasl_strerror)d(\(rc\)\);)1058 518 y(goto)j(done;)963 628 y(})867 847 y(server_auth)e(\(fh,)i(session\);)867 1066 y(gsasl_finish)e(\(session\);)772 1176 y(})676 1285 y(else)i(if)g(\(strncmp)f(\(line,)g("QUIT",)g(4\))h(==)g(0)1106 1395 y(||)g(strncmp)f(\(line,)g("quit",)g(4\))h(==)g(0\))772 1504 y({)867 1614 y(print)g(\(fh,)f("221)h(localhost)e(QUIT\\n"\);)867 1724 y(goto)i(done;)772 1833 y(})676 1943 y(else)772 2052 y(print)f(\(fh,)h("500)f(unrecognized)f(command\\n"\);)581 2162 y(})485 2381 y(print)i(\(fh,)f("221)h(localhost)e(getline)h (failure\\n"\);)390 2600 y(done:)485 2710 y(free)h(\(line\);)390 2819 y(})390 3039 y(int)390 3148 y(main)g(\(int)f(argc,)h(char)f (*argv[]\))390 3258 y({)485 3367 y(const)h(char)f(*service)g(=)h(argc)g (>)h(1)f(?)95 b(argv[1])46 b(:)95 b("2000";)485 3477 y(volatile)46 b(int)h(run)g(=)g(1;)485 3587 y(struct)g(addrinfo)e (hints,)h(*addrs;)485 3696 y(int)h(sockfd;)485 3806 y(int)g(rc;)485 3915 y(int)g(yes)g(=)h(1;)485 4025 y(Gsasl)f(*ctx;)485 4244 y(setvbuf)f(\(stdout,)g(NULL,)g(_IONBF,)g(0\);)485 4463 y(rc)i(=)f(gsasl_init)e(\(&ctx\);)485 4573 y(if)j(\(rc)f(<)g(0\)) 581 4682 y({)676 4792 y(printf)f(\("gsasl_init)f(\(\045d\):)94 b(\045s\\n",)46 b(rc,)h(gsasl_strerror)d(\(rc\)\);)676 4902 y(exit)j(\(EXIT_FAILURE\);)581 5011 y(})485 5230 y(printf)g(\("\045s)f([gsasl)g(header)g(\045s)i(library)d(\045s]\\n",) 867 5340 y(argv[0],)h(GSASL_VERSION,)e(gsasl_check_version)e (\(NULL\)\);)p eop end %%Page: 69 73 TeXDict begin 69 72 bop 150 -116 a Fu(Chapter)30 b(13:)41 b(Examples)2616 b(69)485 408 y Fo(gsasl_callback_set)43 b(\(ctx,)k(callback\);)485 628 y(memset)g(\(&hints,)e(0,)i(sizeof)f (\(hints\)\);)485 737 y(hints.ai_flags)e(=)k(AI_PASSIVE)d(|)i (AI_ADDRCONFIG;)485 847 y(hints.ai_socktype)d(=)j(SOCK_STREAM;)485 1066 y(rc)h(=)f(getaddrinfo)e(\(NULL,)h(service,)f(&hints,)h(&addrs\);) 485 1176 y(if)i(\(rc)f(<)g(0\))581 1285 y({)676 1395 y(printf)f(\("getaddrinfo:)92 b(\045s\\n",)46 b(gai_strerror)f (\(rc\)\);)676 1504 y(exit)i(\(EXIT_FAILURE\);)581 1614 y(})485 1833 y(sockfd)g(=)g(socket)f(\(addrs->ai_family,)d (addrs->ai_socktype,)f(addrs->ai_protocol\);)485 1943 y(if)48 b(\(sockfd)d(<)j(0\))581 2052 y({)676 2162 y(perror)e (\("socket"\);)676 2271 y(exit)h(\(EXIT_FAILURE\);)581 2381 y(})485 2600 y(if)h(\(setsockopt)c(\(sockfd,)i(SOL_SOCKET,)f (SO_REUSEADDR,)f(&yes,)i(sizeof)g(\(yes\)\))g(<)i(0\))581 2710 y({)676 2819 y(perror)e(\("setsockopt"\);)676 2929 y(exit)h(\(EXIT_FAILURE\);)581 3039 y(})485 3258 y(rc)h(=)f(bind)g (\(sockfd,)e(addrs->ai_addr,)f(addrs->ai_addrlen\);)485 3367 y(if)k(\(rc)f(<)g(0\))581 3477 y({)676 3587 y(perror)f (\("bind"\);)676 3696 y(exit)h(\(EXIT_FAILURE\);)581 3806 y(})485 4025 y(freeaddrinfo)e(\(addrs\);)485 4244 y(rc)j(=)f(listen)f(\(sockfd,)g(SOMAXCONN\);)485 4354 y(if)i(\(rc)f(<)g(0\))581 4463 y({)676 4573 y(perror)f(\("listen"\);) 676 4682 y(exit)h(\(EXIT_FAILURE\);)581 4792 y(})485 5011 y(signal)g(\(SIGPIPE,)e(SIG_IGN\);)485 5230 y(while)i(\(run\))581 5340 y({)p eop end %%Page: 70 74 TeXDict begin 70 73 bop 3659 -116 a Fu(70)676 299 y Fo(struct)46 b(sockaddr)g(from;)676 408 y(socklen_t)g(fromlen)f(=)j(sizeof)e (\(from\);)676 518 y(char)h(host[NI_MAXHOST];)676 628 y(int)g(fd;)676 737 y(FILE)g(*fh;)676 956 y(fd)h(=)f(accept)f (\(sockfd,)g(&from,)g(&fromlen\);)676 1066 y(if)i(\(fd)e(<)i(0\))772 1176 y({)867 1285 y(perror)e(\("accept"\);)867 1395 y(continue;)772 1504 y(})676 1724 y(rc)i(=)f(getnameinfo)e(\(&from,)h(fromlen,)f(host,) h(sizeof)h(\(host\),)1535 1833 y(NULL,)g(0,)g(NI_NUMERICHOST\);)676 1943 y(if)h(\(rc)e(==)i(0\))772 2052 y(printf)e(\("connection)e(from)j (\045s\\n",)f(host\);)676 2162 y(else)772 2271 y(printf)g (\("getnameinfo:)92 b(\045s\\n",)46 b(gai_strerror)e(\(rc\)\);)676 2491 y(fh)k(=)f(fdopen)f(\(fd,)h("w+"\);)676 2600 y(if)h(\(!fh\))772 2710 y({)867 2819 y(perror)e(\("fdopen"\);)867 2929 y(close)h(\(fd\);) 867 3039 y(continue;)772 3148 y(})676 3367 y(smtp)g(\(fh,)g(ctx\);)676 3587 y(fclose)f(\(fh\);)581 3696 y(})485 3915 y(close)h(\(sockfd\);)485 4025 y(gsasl_done)e(\(ctx\);)485 4244 y(return)i(0;)390 4354 y(})p eop end %%Page: 71 75 TeXDict begin 71 74 bop 3659 -116 a Fu(71)150 299 y Fr(14)80 b(Ac)l(kno)l(wledgemen)l(ts)150 533 y Fu(The)30 b(mak)m(e\014les,)i (man)m(uals,)e(etc)i(b)s(orro)m(w)m(ed)e(m)m(uc)m(h)g(from)g(Libgcrypt) g(written)h(b)m(y)f(W)-8 b(erner)31 b(Ko)s(c)m(h.)275 667 y(Cryptographic)d(functions)h(for)f(some)h(SASL)f(mec)m(hanisms)h (uses)g(Libgcrypt)f(b)m(y)h(W)-8 b(erner)29 b(Ko)s(c)m(h)g(et)150 777 y(al.)49 b(The)32 b(NTLM)h(mec)m(hanism)g(uses)f(Libn)m(tlm)h(b)m (y)f(Gran)m(t)i(Edw)m(ards)d(et)j(al,)g(using)f(co)s(de)g(from)f(Sam)m (ba)150 887 y(written)23 b(b)m(y)h(Andrew)e(T)-8 b(ridgell,)26 b(and)c(no)m(w)i(main)m(tained)g(b)m(y)f(Simon)g(Josefsson.)38 b(The)23 b(KERBER)m(OS)p 3603 887 28 4 v 39 w(V5)150 996 y(mec)m(hanism)31 b(uses)f(Shishi)f(b)m(y)i(Simon)f(Josefsson.)41 b(The)30 b(GSSAPI)g(and)g(GS2-KRB5)h(mec)m(hanism)g(uses)150 1106 y(a)g(GSS-API)f(implemen)m(tation,)i(suc)m(h)e(as)h(GNU)g(GSS)e(b) m(y)h(Simon)g(Josefsson.)275 1240 y(Gn)m(ulib)g(is)g(used)g(to)h (simplify)f(p)s(ortabilit)m(y)-8 b(.)275 1375 y(This)29 b(man)m(ual)i(b)s(orro)m(ws)e(text)j(from)e(the)g(SASL)f(sp)s (eci\014cation.)p eop end %%Page: 72 76 TeXDict begin 72 75 bop 3659 -116 a Fu(72)150 299 y Fr(15)80 b(In)l(v)l(oking)52 b(gsasl)150 848 y(Name)150 1161 y Fu(GNU)31 b(SASL)e(\(gsasl\))j({)f(Command)e(line)i(in)m(terface)h(to)f (libgsasl.)150 1553 y Fr(Description)150 1867 y Fo(gsasl)e Fu(is)h(the)h(main)f(program)g(of)h(GNU)g(SASL.)275 2028 y(This)e(section)j(only)e(lists)h(the)g(commands)f(and)f(options)i(a)m (v)-5 b(ailable.)275 2189 y(Mandatory)25 b(or)g(optional)h(argumen)m (ts)f(to)h(long)f(options)h(are)f(also)h(mandatory)f(or)g(optional)h (for)f(an)m(y)150 2299 y(corresp)s(onding)k(short)h(options.)150 2686 y Fr(Commands)150 3000 y Fo(gsasl)f Fu(recognizes)j(these)f (commands:)245 3161 y Fo(-c,)47 b(--client)714 b(Act)47 b(as)g(client)f(\(the)h(default\).)436 3270 y(--client-mechanisms)186 b(Write)46 b(name)h(of)g(supported)f(client)g(mechanisms)1534 3380 y(separated)f(by)j(space)e(to)h(stdout.)245 3489 y(-s,)g(--server)714 b(Act)47 b(as)g(server.)436 3599 y(--server-mechanisms)186 b(Write)46 b(name)h(of)g(supported)f(server)g (mechanisms)1534 3709 y(separated)f(by)j(space)e(to)h(stdout.)150 4098 y Fr(Net)l(w)l(ork)52 b(Options)150 4412 y Fu(Normally)31 b(the)f(SASL)f(negotiation)j(is)e(p)s(erformed)f(on)h(the)g(terminal,)h (with)e(reading)i(from)e(stdin)h(and)150 4521 y(writing)j(to)h(stdout.) 48 b(It)33 b(is)g(also)h(p)s(ossible)e(to)i(p)s(erform)e(the)h (negotiation)i(with)e(a)g(serv)m(er)g(o)m(v)m(er)h(a)g(TCP)150 4631 y(net)m(w)m(ork)d(connection.)436 4792 y Fo (--connect=HOSTNAME[:SERVIC)o(E])1534 4902 y(Connect)46 b(to)h(TCP)g(server)f(and)h(negotiate)e(on)i(stream)1534 5011 y(instead)f(of)h(stdin/stdout.)d(SERVICE)i(is)h(the)g(protocol) 1534 5121 y(service,)f(or)h(an)g(integer)f(denoting)f(the)i(port,)g (and)1534 5230 y(defaults)f(to)h(143)g(\(imap\))f(if)h(not)g (specified.)e(Also)i(sets)1534 5340 y(the)g(--hostname)e(default.)p eop end %%Page: 73 77 TeXDict begin 73 76 bop 150 -116 a Fu(Chapter)30 b(15:)41 b(In)m(v)m(oking)32 b(gsasl)2440 b(73)150 299 y Fr(Miscellaneous)51 b(Options:)150 605 y Fu(These)30 b(parameters)h(a\013ect)h(o)m(v)m (erall)g(b)s(eha)m(viour.)245 764 y Fo(-d,)47 b(--application-data)234 b(After)46 b(authentication,)e(read)j(data)f(from)h(stdin)f(and)h(run) 1534 874 y(it)g(through)f(the)h(mechanism's)e(security)g(layer)i(and) 1534 983 y(print)f(it)i(base64)e(encoded)g(to)h(stdout.)f(The)g (default)g(is)1534 1093 y(to)h(terminate)f(after)g(authentication.)436 1202 y(--imap)810 b(Use)47 b(a)g(IMAP-like)f(logon)g(procedure)f (\(client)h(only\).)1534 1312 y(Also)h(sets)f(the)h(--service)f (default)f(to)j("imap".)245 1422 y(-m,)f(--mechanism=STRING)234 b(Mechanism)45 b(to)j(use.)436 1531 y(--no-client-first)282 b(Disallow)46 b(client)g(to)h(send)g(data)f(first)h(\(client)e(only\).) 150 1916 y Fr(SASL)53 b(Mec)l(hanism)g(Options)150 2222 y Fu(These)34 b(options)g(mo)s(dify)f(the)h(b)s(eha)m(viour)g(of)g(the) g(callbac)m(ks)i(\(see)f(Chapter)e(7)h([Callbac)m(k)i(F)-8 b(unctions],)150 2332 y(page)31 b(36\))h(in)e(the)g(library)-8 b(.)41 b(The)30 b(default)g(is)h(to)g(query)f(the)g(user)g(on)g(the)h (terminal.)245 2491 y Fo(-n,)47 b(--anonymous-token=STRING)185 b(Token)46 b(for)h(anonymous)e(authentication,)f(usually)1773 2600 y(mail)i(address)g(\(ANONYMOUS)f(only\).)245 2710 y(-a,)i(--authentication-id=STRING)89 b(Identity)45 b(of)i(credential)e (owner.)245 2819 y(-z,)i(--authorization-id=STRING)137 b(Identity)45 b(to)i(request)f(service)g(for.)436 2929 y(--disable-cleartext-valida)o(te)1534 3039 y(Disable)g(cleartext)f (validate)h(hook,)g(forcing)g(server)g(to)1534 3148 y(prompt)g(for)h (password.)436 3258 y(--enable-cram-md5-validate)89 b(Validate)45 b(CRAM-MD5)h(challenge)f(and)i(response)1773 3367 y(interactively.)436 3477 y(--hostname=STRING)282 b(Set)47 b(the)g(name)g(of)g(the)g(server) f(with)g(the)h(requested)1534 3587 y(service.)245 3696 y(-p,)g(--password=STRING)282 b(Password)46 b(for)h(authentication)c (\(insecure)j(for)1534 3806 y(non-testing)f(purposes\).)436 3915 y(--passcode=NUMBER)282 b(Passcode)46 b(for)h(authentication)c (\(SECURID)j(only\).)436 4025 y(--quality-of-protection=)1534 4134 y(How)f (application)e(payload)h(will)g(be)h(protected.)1534 4244 y("qop-auth")e(means)h(no)i(protection,)1534 4354 y("qop-int")d(means)i(integrity)e(protection,)1534 4463 y("qop-conf")g(means)h(confidentiality.)1534 4573 y(Currently)f(only)i (used)g(by)g(DIGEST-MD5,)e(where)h(the)1534 4682 y(default)g(is)h ("qop-int".)245 4792 y(-r,)g(--realm=STRING)426 b(Realm.)46 b(Defaults)g(to)h(hostname.)436 4902 y(--service=STRING)330 b(Set)47 b(the)g(requested)e(service)h(name)h(\(should)e(be)j(a)1534 5011 y(registered)d(GSSAPI)h(host)h(based)f(service)g(name\).)436 5121 y(--service-name=STRING)90 b(Set)47 b(the)g(generic)f(server)g (name)g(in)i(case)e(of)h(a)1534 5230 y(replicated)e(server)h (\(DIGEST-MD5)f(only\).)245 5340 y(-x,)i(--maxbuf=NUMBER)378 b(Indicate)46 b(maximum)f(buffer)i(size)f(\(DIGEST-MD5)f(only\).)p eop end %%Page: 74 78 TeXDict begin 74 77 bop 3659 -116 a Fu(74)150 299 y Fr(ST)-13 b(AR)g(TTLS)53 b(options)436 508 y Fo(--starttls)761 b(Force)47 b(use)g(of)g(STARTTLS.)93 b(The)47 b(default)e(is)j(to)f (use)1773 618 y(STARTTLS)e(when)i(available.)93 b(\(default=off\))436 727 y(--no-starttls)617 b(Unconditionally)44 b(disable)i(STARTTLS.)1773 837 y(\(default=off\))436 946 y(--no-cb)905 b(Don't)47 b(set)g(any)f(channel)g(bindings.)93 b(\(default=off\))436 1056 y(--x509-ca-file=FILE)329 b(File)47 b(containing)e(one)i(or)g (more)g(X.509)f(Certificate)1773 1166 y(Authorities)e(certificates)h (in)i(PEM)g(format,)f(used)1773 1275 y(to)h(verify)f(the)h(certificate) e(received)g(from)i(the)1773 1385 y(server.)93 b(If)47 b(not)g(specified,)e(no)j(verification)c(of)1773 1494 y(the)j(remote)f(server)g(certificate)f(will)h(be)h(done.)436 1604 y(--x509-cert-file=FILE)233 b(File)47 b(containing)e(client)h (X.509)g(certificate)f(in)i(PEM)1773 1714 y(format.)93 b(Used)47 b(together)e(with)i(--x509-key-file)1773 1823 y(to)g(specify)f(the)h(certificate/key)c(pair.)436 1933 y(--x509-key-file=FILE)281 b(Private)46 b(key)h(for)g(the)g(client)f (X.509)g(certificate)f(in)1773 2042 y(PEM)i(format.)93 b(Used)47 b(together)e(with)1773 2152 y(--x509-key-file)e(to)48 b(specify)d(the)1773 2262 y(certificate/key)e(pair.)436 2371 y(--priority)761 b(Cipher)46 b(priority)g(string.)150 2708 y Fr(Other)53 b(Options)150 2942 y Fu(These)30 b(are)h(some)g (standard)e(parameters.)245 3076 y Fo(-q,)47 b(--quiet,)f(--silent)284 b(Don't)46 b(produce)g(any)h(diagnostic)e(output.)245 3186 y(-v,)i(--verbose)666 b(Produce)46 b(verbose)g(output.)245 3405 y(-?,)h(--help)810 b(Give)47 b(this)f(help)h(list)436 3515 y(--usage)762 b(Give)47 b(a)g(short)g(usage)f(message)245 3624 y(-V,)h(--version)666 b(Print)46 b(program)g(version)p eop end %%Page: 75 79 TeXDict begin 75 78 bop 3659 -116 a Fu(75)150 299 y Fr(App)t(endix)52 b(A)81 b(Proto)t(col)53 b(Clari\014cations)150 533 y Fu(This)34 b(app)s(endix)f(con)m(tains)j(clari\014cations)h(to)e(v)-5 b(arious)35 b(SASL)f(sp)s(eci\014cation)h(that)g(w)m(e)h(felt)f(w)m (ere)g(nec-)150 643 y(essary)i(to)g(include,)i(if)d(for)h(nothing)f (else)i(it)f(ma)m(y)h(serv)m(e)f(as)g(a)g(guide)g(for)f(other)h (implemen)m(ters)g(that)150 752 y(w)m(orry)30 b(ab)s(out)g(the)h(same)g (issues.)150 993 y Ft(A.1)67 b(Use)46 b(of)f(SASLprep)f(in)g(CRAM-MD5) 150 1152 y Fu(The)35 b(sp)s(eci\014cation,)k(as)d(of)g Fo(draft-ietf-sasl-crammd5-0)o(4.tx)o(t)p Fu(,)c(is)k(silen)m(t)g(on)g (whether)g(a)g(SASL)150 1262 y(serv)m(er)f(implemen)m(tation)h (applying)e(SASLprep)e(on)i(a)h(passw)m(ord)f(receiv)m(ed)i(from)d(an)i (external,)h(non-)150 1372 y(SASL)c(sp)s(eci\014c)i(database)g(\(i.e.,) i(the)e(passw)m(ords)f(are)h(not)f(stored)h(in)f(SASLprep)f(form)h(in)g (the)h(data-)150 1481 y(base\),)49 b(should)44 b(set)h(or)g(clear)g (the)g(Allo)m(wUnassigned)h(bit.)84 b(The)44 b(motiv)-5 b(ation)46 b(for)f(the)f(A)m(U-bit)i(in)150 1591 y(StringPrep/SASLprep) 29 b(is)j(for)g(stored)g(vs)f(query)h(strings.)45 b(It)32 b(could)g(b)s(e)f(argued)h(that)g(in)g(this)f(situa-)150 1700 y(tion)h(the)g(serv)m(er)f(can)h(treat)h(the)e(external)h(passw)m (ord)f(either)h(as)g(a)g(stored)f(string)h(\(from)f(a)h(database\))150 1810 y(or)e(as)h(a)g(query)f(\(the)g(serv)m(er)h(uses)f(the)h(string)f (as)h(a)f(query)g(in)m(to)h(the)g(\014xed)f(HMA)m(C-MD5)i(hash\).)275 1944 y(The)h(sp)s(eci\014cation)i(is)f(also)h(unclear)g(on)f(whether)f (clien)m(ts)j(should)d(set)i(or)f(clear)h(the)f(Allo)m(wUnas-)150 2054 y(signed)c(\015ag.)275 2188 y(In)e(the)h(serv)m(er,)h(GNU)g(SASL)e (applies)i(SASLprep)d(to)j(the)f(passw)m(ord)f(with)h(the)h(Allo)m (wUnassigned)150 2298 y(bit)g(cleared.)150 2539 y Ft(A.2)67 b(Use)46 b(of)f(SASLprep)f(in)g(LOGIN)150 2698 y Fu(The)24 b(non-standard)f(mec)m(hanism)h(LOGIN)g(presumably)f(do)s(es)h(not)g (supp)s(ort)e(non-ASCI)s(I.)h(W)-8 b(e)25 b(suggest)150 2808 y(that)37 b(the)f(clien)m(t)h(should)e(send)g(unprepared)f(UTF-8)j (and)e(that)i(the)f(serv)m(er)g(apply)f(SASLprep)f(with)150 2917 y(the)d(Allo)m(wUnassigned)g(bit)g(cleared)g(on)f(the)h(receiv)m (ed)g(username)f(and)g(passw)m(ord.)p eop end %%Page: 76 80 TeXDict begin 76 79 bop 3659 -116 a Fu(76)150 299 y Fr(App)t(endix)52 b(B)81 b(Old)53 b(F)-13 b(unctions)150 559 y Fu(As)34 b(GNU)i(SASL)d(is)i(still)g(under)e(hea)m(vy)i(dev)m(elopmen)m(t,)i (some)e(API)f(functions)h(ha)m(v)m(e)g(b)s(een)f(found)f(to)150 669 y(b)s(e)28 b(less)h(useful.)39 b(Those)28 b(old)h(API)f(functions)g (will)h(b)s(e)f(supp)s(orted)f(during)g(a)i(transition)g(p)s(erio)s(d.) 39 b(Refer)150 778 y(to)31 b(the)g(NEWS)f(\014le)g(to)i(\014nd)c(out)j (since)g(when)e(a)i(function)f(has)g(b)s(een)g(deprecated.)150 987 y Fm(gsasl)p 410 987 37 5 v 55 w(clien)m(t)p 757 987 V 53 w(listmec)m(h)3350 1192 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_client_listmech)f Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(out)p Fg(,)g(size)p 2788 1192 30 5 v 45 w(t)g(*)565 1302 y Ff(outlen)p Fh(\))390 1411 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1554 y Fl(out)r Fu(:)41 b(output)30 b(c)m(haracter)i(arra)m(y)-8 b(.)390 1698 y Fl(outlen)p Fu(:)62 b(input)41 b(maxim)m(um)f(size)i(of) g(output)e(c)m(haracter)j(arra)m(y)-8 b(,)45 b(on)c(output)f(con)m (tains)j(actual)390 1807 y(length)31 b(of)f(output)g(arra)m(y)-8 b(.)390 1951 y(W)g(rite)44 b(SASL)d(names,)k(separated)e(b)m(y)f (space,)k(of)d(mec)m(hanisms)f(supp)s(orted)e(b)m(y)j(the)f(libgsasl) 390 2060 y(clien)m(t)33 b(to)f(the)f(output)g(arra)m(y)-8 b(.)44 b(T)-8 b(o)31 b(\014nd)f(out)h(ho)m(w)h(large)g(the)f(output)g (arra)m(y)h(m)m(ust)f(b)s(e,)g(call)h(this)390 2170 y(function)e(with)g (a)h(NULL)f Fo(out)g Fu(parameter.)390 2313 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(if)j(successful,)f(or)g (error)g(co)s(de.)390 2456 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_client_mechlist\(\))24 b Fu(instead.)150 2664 y Fm(gsasl)p 410 2664 37 5 v 55 w(serv)m(er)p 787 2664 V 54 w(listmec)m(h)3350 2870 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_server_listmech)f Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(out)p Fg(,)g(size)p 2788 2870 30 5 v 45 w(t)g(*)565 2979 y Ff(outlen)p Fh(\))390 3089 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3232 y Fl(out)r Fu(:)41 b(output)30 b(c)m(haracter)i(arra)m(y)-8 b(.)390 3376 y Fl(outlen)p Fu(:)62 b(input)41 b(maxim)m(um)f(size)i(of) g(output)e(c)m(haracter)j(arra)m(y)-8 b(,)45 b(on)c(output)f(con)m (tains)j(actual)390 3485 y(length)31 b(of)f(output)g(arra)m(y)-8 b(.)390 3628 y(W)g(rite)44 b(SASL)d(names,)k(separated)e(b)m(y)f (space,)k(of)d(mec)m(hanisms)f(supp)s(orted)e(b)m(y)j(the)f(libgsasl) 390 3738 y(serv)m(er)30 b(to)h(the)f(output)g(arra)m(y)-8 b(.)42 b(T)-8 b(o)30 b(\014nd)f(out)h(ho)m(w)g(large)h(the)g(output)e (arra)m(y)i(m)m(ust)f(b)s(e,)g(call)h(this)390 3848 y(function)f(with)g (a)h(NULL)f Fo(out)g Fu(parameter.)390 3991 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(if)j(successful,)f(or)g (error)g(co)s(de.)390 4134 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_server_mechlist\(\))24 b Fu(instead.)150 4342 y Fm(gsasl)p 410 4342 37 5 v 55 w(clien)m(t)p 757 4342 V 53 w(step)3350 4548 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_client_step)e Fh(\()p Fg(Gsasl)p 1570 4548 30 5 v 44 w(session)34 b(*)g Ff(sctx)p Fg(,)g(const)f(c)m(har)h(*)f Ff(input)p Fg(,)565 4657 y(size)p 727 4657 V 44 w(t)g Ff(input_len)p Fg(,)j(c)m(har)e(*)f Ff(output)p Fg(,)i(size)p 2207 4657 V 44 w(t)e(*)g Ff(output_len)p Fh(\))390 4767 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(clien)m(t)h(handle.)390 4910 y Fl(input)r Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)-8 b(.)390 5053 y Fl(input)p 609 5053 28 4 v 39 w(len)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)-8 b(.)390 5197 y Fl(output)r Fu(:)40 b(output)30 b(b)m(yte)h(arra)m(y)-8 b(.)390 5340 y Fl(output)p 664 5340 V 40 w(len)p Fu(:)40 b(size)32 b(of)e(output)g(b)m(yte)h(arra)m(y)-8 b(.)p eop end %%Page: 77 81 TeXDict begin 77 80 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(77)390 299 y(P)m(erform)45 b(one)f(step)h(of)g(SASL)f(authen)m(tication)i(in)f(clien)m(t.)85 b(This)44 b(reads)g(data)h(from)g(serv)m(er)390 408 y(\(sp)s(eci\014ed) 37 b(with)f(input)g(and)h(input)p 1664 408 28 4 v 39 w(len\),)i(pro)s(cesses)e(it)g(\(p)s(oten)m(tially)i(in)m(v)m(oking)f (callbac)m(ks)h(to)390 518 y(the)31 b(application\),)h(and)e(writes)g (data)h(to)g(serv)m(er)g(\(in)m(to)h(v)-5 b(ariables)31 b(output)f(and)f(output)p 3449 518 V 40 w(len\).)390 677 y(The)40 b(con)m(ten)m(ts)i(of)f(the)g(output)f(bu\013er)f(is)i (unsp)s(eci\014ed)d(if)j(this)f(functions)g(returns)g(an)m(ything)390 787 y(other)31 b(than)f Fo(GSASL_NEEDS_MORE)c Fu(.)390 946 y(Return)42 b(v)-5 b(alue:)65 b(Returns)41 b Fo(GSASL_OK)f Fu(if)j(authen)m(ticated)h(terminated)f(successfully)-8 b(,)46 b Fo(GSASL_)390 1056 y(NEEDS_MORE)28 b Fu(if)i(more)g(data)h(is) g(needed,)f(or)h(error)f(co)s(de.)390 1215 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_step\(\))d Fu(instead.)150 1439 y Fm(gsasl)p 410 1439 37 5 v 55 w(serv)m(er)p 787 1439 V 54 w(step)3350 1660 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_server_step)e Fh(\()p Fg(Gsasl)p 1570 1660 30 5 v 44 w(session)34 b(*)g Ff(sctx)p Fg(,)g(const)f(c)m(har)h(*)f Ff(input)p Fg(,)565 1770 y(size)p 727 1770 V 44 w(t)g Ff(input_len)p Fg(,)j(c)m(har)e(*)f Ff(output)p Fg(,)i(size)p 2207 1770 V 44 w(t)e(*)g Ff(output_len)p Fh(\))390 1879 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(serv)m(er)f(handle.)390 2038 y Fl(input)r Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)-8 b(.)390 2198 y Fl(input)p 609 2198 28 4 v 39 w(len)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)-8 b(.)390 2357 y Fl(output)r Fu(:)40 b(output)30 b(b)m(yte)h(arra)m(y)-8 b(.)390 2516 y Fl(output)p 664 2516 V 40 w(len)p Fu(:)40 b(size)32 b(of)e(output)g(b)m(yte)h(arra)m(y)-8 b(.)390 2675 y(P)m(erform)45 b(one)f(step)h(of)g(SASL)f(authen)m(tication)i(in) f(serv)m(er.)84 b(This)43 b(reads)i(data)g(from)f(clien)m(t)390 2785 y(\(sp)s(eci\014ed)37 b(with)f(input)g(and)h(input)p 1664 2785 V 39 w(len\),)i(pro)s(cesses)e(it)g(\(p)s(oten)m(tially)i(in) m(v)m(oking)f(callbac)m(ks)h(to)390 2894 y(the)31 b(application\),)h (and)e(writes)g(data)h(to)g(clien)m(t)h(\(in)m(to)g(v)-5 b(ariables)31 b(output)f(and)g(output)p 3431 2894 V 39 w(len\).)390 3053 y(The)40 b(con)m(ten)m(ts)i(of)f(the)g(output)f (bu\013er)f(is)i(unsp)s(eci\014ed)d(if)j(this)f(functions)g(returns)g (an)m(ything)390 3163 y(other)31 b(than)f Fo(GSASL_NEEDS_MORE)c Fu(.)390 3322 y(Return)42 b(v)-5 b(alue:)65 b(Returns)41 b Fo(GSASL_OK)f Fu(if)j(authen)m(ticated)h(terminated)f(successfully)-8 b(,)46 b Fo(GSASL_)390 3432 y(NEEDS_MORE)28 b Fu(if)i(more)g(data)h(is) g(needed,)f(or)h(error)f(co)s(de.)390 3591 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_step\(\))d Fu(instead.)150 3815 y Fm(gsasl)p 410 3815 37 5 v 55 w(clien)m(t)p 757 3815 V 53 w(step)p 1030 3815 V 54 w(base64)3350 4036 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_client_step_bas)q(e64)f Fh(\()p Fg(Gsasl)p 1936 4036 30 5 v 44 w(session)35 b(*)e Ff(sctx)p Fg(,)h(const)f(c)m(har)h(*)565 4146 y Ff(b64input)p Fg(,)h(c)m(har)f(*)f Ff(b64output)p Fg(,)j(size)p 2040 4146 V 44 w(t)d Ff(b64output_len)p Fh(\))390 4255 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(clien)m(t)h(handle.)390 4414 y Fl(b64input)r Fu(:)40 b(input)30 b(base64)h(enco)s(ded)f(b)m(yte)h (arra)m(y)-8 b(.)390 4574 y Fl(b64output)r Fu(:)41 b(output)30 b(base64)h(enco)s(ded)f(b)m(yte)h(arra)m(y)-8 b(.)390 4733 y Fl(b64output)p 805 4733 28 4 v 40 w(len)p Fu(:)41 b(size)31 b(of)g(output)f(base64)h(enco)s(ded)f(b)m(yte)h(arra)m(y)-8 b(.)390 4892 y(This)21 b(is)h(a)g(simple)f(wrapp)s(er)f(around)h Fo(gsasl_client_step\(\))16 b Fu(that)23 b(base64)f(deco)s(des)g(the)g (input)390 5001 y(and)30 b(base64)h(enco)s(des)g(the)f(output.)390 5161 y(Return)g(v)-5 b(alue:)41 b(See)30 b Fo(gsasl_client_step\(\))c Fu(.)390 5320 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_step64\(\))d Fu(instead.)p eop end %%Page: 78 82 TeXDict begin 78 81 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(78)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(serv)m(er)p 787 299 V 54 w(step)p 1061 299 V 54 w(base64)3350 485 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_server_step_bas)q(e64)f Fh(\()p Fg(Gsasl)p 1936 485 30 5 v 44 w(session)35 b(*)e Ff(sctx)p Fg(,)h(const)f(c)m(har) h(*)565 594 y Ff(b64input)p Fg(,)h(c)m(har)f(*)f Ff(b64output)p Fg(,)j(size)p 2040 594 V 44 w(t)d Ff(b64output_len)p Fh(\))390 704 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(serv)m(er)f (handle.)390 833 y Fl(b64input)r Fu(:)40 b(input)30 b(base64)h(enco)s (ded)f(b)m(yte)h(arra)m(y)-8 b(.)390 962 y Fl(b64output)r Fu(:)41 b(output)30 b(base64)h(enco)s(ded)f(b)m(yte)h(arra)m(y)-8 b(.)390 1091 y Fl(b64output)p 805 1091 28 4 v 40 w(len)p Fu(:)41 b(size)31 b(of)g(output)f(base64)h(enco)s(ded)f(b)m(yte)h(arra) m(y)-8 b(.)390 1220 y(This)21 b(is)h(a)g(simple)f(wrapp)s(er)f(around)h Fo(gsasl_server_step\(\))16 b Fu(that)23 b(base64)f(deco)s(des)g(the)g (input)390 1329 y(and)30 b(base64)h(enco)s(des)g(the)f(output.)390 1458 y(Return)g(v)-5 b(alue:)41 b(See)30 b Fo(gsasl_server_step\(\))c Fu(.)390 1587 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_step64\(\))d Fu(instead.)150 1776 y Fm(gsasl)p 410 1776 37 5 v 55 w(clien)m(t)p 757 1776 V 53 w(\014nish)3350 1961 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_finish)d Fh(\()p Fg(Gsasl)p 1727 1961 30 5 v 44 w(session)34 b(*)f Ff(sctx)p Fh(\))390 2071 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(clien)m(t)h(handle.)390 2200 y(Destro)m(y)40 b(a)f(libgsasl)g(clien)m (t)h(handle.)65 b(The)38 b(handle)g(m)m(ust)h(not)f(b)s(e)g(used)g (with)g(other)h(libgsasl)390 2309 y(functions)30 b(after)h(this)f (call.)390 2438 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_finish\(\))d Fu(instead.)150 2627 y Fm(gsasl)p 410 2627 37 5 v 55 w(serv)m(er)p 787 2627 V 54 w(\014nish)3350 2812 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_finish)d Fh(\()p Fg(Gsasl)p 1727 2812 30 5 v 44 w(session)34 b(*)f Ff(sctx)p Fh(\))390 2922 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(serv)m(er)f(handle.)390 3051 y(Destro)m(y)39 b(a)e(libgsasl)i(serv)m (er)e(handle.)61 b(The)37 b(handle)g(m)m(ust)g(not)g(b)s(e)g(used)g (with)g(other)g(libgsasl)390 3161 y(functions)30 b(after)h(this)f (call.)390 3290 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_finish\(\))d Fu(instead.)150 3478 y Fm(gsasl)p 410 3478 37 5 v 55 w(clien)m(t)p 757 3478 V 53 w(ctx)p 978 3478 V 53 w(get)3350 3664 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl)54 b(*)e (gsasl_client_ctx_get)g Fh(\()p Fg(Gsasl)p 1936 3664 30 5 v 44 w(session)35 b(*)e Ff(sctx)p Fh(\))390 3773 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(clien)m(t)h(handle)390 3902 y(Get)f(the)g(libgsasl)g(handle)f(giv)m(en)h(a)g(libgsasl)g(clien) m(t)h(handle.)390 4031 y(Return)e(v)-5 b(alue:)41 b(Returns)29 b(the)i(libgsasl)g(handle)f(giv)m(en)h(a)g(libgsasl)g(clien)m(t)h (handle.)390 4160 y Fd(Deprecated:)42 b Fu(This)29 b(function)h(is)h (not)f(useful)g(with)g(the)h(new)e(0.2.0)k(API.)150 4348 y Fm(gsasl)p 410 4348 37 5 v 55 w(clien)m(t)p 757 4348 V 53 w(application)p 1400 4348 V 54 w(data)p 1690 4348 V 53 w(set)3350 4534 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_application)q(_da)q(ta_)q(set)e Fh(\()p Fg(Gsasl)p 2459 4534 30 5 v 44 w(session)35 b(*)e Ff(sctx)p Fg(,)565 4644 y(v)m(oid)g(*)g Ff(application_data)p Fh(\))390 4753 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(clien)m(t)h(handle.)390 4882 y Fl(application)p 834 4882 28 4 v 41 w(data)p Fu(:)42 b(opaque)30 b(p)s(oin)m(ter)h(to)g(application)h(sp)s(eci\014c)e(data.) 390 5011 y(Store)41 b(application)i(sp)s(eci\014c)e(data)h(in)f(the)g (libgsasl)h(clien)m(t)h(handle.)73 b(The)41 b(application)h(data)390 5121 y(can)35 b(b)s(e)e(later)j(\(for)e(instance,)i(inside)e(a)h (callbac)m(k\))i(b)s(e)c(retriev)m(ed)j(b)m(y)e(calling)i Fo(gsasl_client_)390 5230 y(application_data_get\(\))24 b Fu(.)41 b(It)30 b(is)g(normally)g(used)g(b)m(y)g(the)g(application)i (to)e(main)m(tain)i(state)390 5340 y(b)s(et)m(w)m(een)f(the)g(main)f (program)g(and)g(the)g(callbac)m(k.)p eop end %%Page: 79 83 TeXDict begin 79 82 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(79)390 299 y Fd(Deprecated:)57 b Fu(Use)38 b Fo(gsasl_callback_hook_set\(\))31 b Fu(or)39 b Fo(gsasl_session_hook_set\()o(\))32 b Fu(in-)390 408 y(stead.)150 598 y Fm(gsasl)p 410 598 37 5 v 55 w(clien)m(t)p 757 598 V 53 w(application)p 1400 598 V 54 w(data)p 1690 598 V 53 w(get)3350 786 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(*)e(gsasl_client_applicati)q(on_)q(dat)q(a_g)q(et)g Fh(\()p Fg(Gsasl)p 2564 786 30 5 v 44 w(session)34 b(*)565 896 y Ff(sctx)p Fh(\))390 1005 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(clien)m(t)h(handle.)390 1135 y(Retriev)m(e)38 b(application)f(sp)s(eci\014c)f(data)g(from)g(libgsasl)g(clien)m(t)i (handle.)57 b(The)35 b(application)i(data)390 1245 y(is)h(set)g(using)g Fo(gsasl_client_application)o(_dat)o(a_s)o(et\(\))31 b Fu(.)64 b(It)38 b(is)g(normally)g(used)f(b)m(y)h(the)390 1354 y(application)32 b(to)f(main)m(tain)g(state)h(b)s(et)m(w)m(een)f (the)f(main)h(program)f(and)g(the)g(callbac)m(k.)390 1484 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b(the)i(application)h(sp)s (eci\014c)e(data,)h(or)f(NULL.)390 1614 y Fd(Deprecated:)57 b Fu(Use)38 b Fo(gsasl_callback_hook_get\(\))31 b Fu(or)39 b Fo(gsasl_session_hook_get\()o(\))32 b Fu(in-)390 1724 y(stead.)150 1914 y Fm(gsasl)p 410 1914 37 5 v 55 w(serv)m(er)p 787 1914 V 54 w(ctx)p 1009 1914 V 53 w(get)3350 2101 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl)54 b(*)e(gsasl_server_ctx_get)g Fh(\()p Fg(Gsasl)p 1936 2101 30 5 v 44 w(session)35 b(*)e Ff(sctx)p Fh(\))390 2211 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(serv)m(er)f(handle)390 2341 y(Get)h(the)g(libgsasl)g(handle)f(giv)m (en)h(a)g(libgsasl)g(serv)m(er)g(handle.)390 2470 y(Return)f(v)-5 b(alue:)41 b(Returns)29 b(the)i(libgsasl)g(handle)f(giv)m(en)h(a)g (libgsasl)g(serv)m(er)g(handle.)390 2600 y Fd(Deprecated:)42 b Fu(This)29 b(function)h(is)h(not)f(useful)g(with)g(the)h(new)e(0.2.0) k(API.)150 2790 y Fm(gsasl)p 410 2790 37 5 v 55 w(serv)m(er)p 787 2790 V 54 w(application)p 1431 2790 V 54 w(data)p 1721 2790 V 53 w(set)3350 2978 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_application)q(_da)q(ta_)q(set)e Fh(\()p Fg(Gsasl)p 2459 2978 30 5 v 44 w(session)35 b(*)e Ff(sctx)p Fg(,)565 3087 y(v)m(oid)g(*)g Ff(application_data)p Fh(\))390 3197 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(serv)m(er)f (handle.)390 3327 y Fl(application)p 834 3327 28 4 v 41 w(data)p Fu(:)42 b(opaque)30 b(p)s(oin)m(ter)h(to)g(application)h (sp)s(eci\014c)e(data.)390 3457 y(Store)40 b(application)h(sp)s (eci\014c)f(data)g(in)g(the)g(libgsasl)g(serv)m(er)g(handle.)69 b(The)39 b(application)i(data)390 3566 y(can)35 b(b)s(e)e(later)j (\(for)e(instance,)i(inside)e(a)h(callbac)m(k\))i(b)s(e)c(retriev)m(ed) j(b)m(y)e(calling)i Fo(gsasl_server_)390 3676 y (application_data_get\(\))24 b Fu(.)41 b(It)30 b(is)g(normally)g(used)g (b)m(y)g(the)g(application)i(to)e(main)m(tain)i(state)390 3785 y(b)s(et)m(w)m(een)f(the)g(main)f(program)g(and)g(the)g(callbac)m (k.)390 3915 y Fd(Deprecated:)57 b Fu(Use)38 b Fo (gsasl_callback_hook_set\(\))31 b Fu(or)39 b Fo (gsasl_session_hook_set\()o(\))32 b Fu(in-)390 4025 y(stead.)150 4215 y Fm(gsasl)p 410 4215 37 5 v 55 w(serv)m(er)p 787 4215 V 54 w(application)p 1431 4215 V 54 w(data)p 1721 4215 V 53 w(get)3350 4402 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(*)e(gsasl_server_applicati)q(on_)q(dat)q(a_g)q(et)g Fh(\()p Fg(Gsasl)p 2564 4402 30 5 v 44 w(session)34 b(*)565 4512 y Ff(sctx)p Fh(\))390 4622 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(serv)m(er)f(handle.)390 4751 y(Retriev)m(e)36 b(application)g(sp)s(eci\014c)e(data)h(from)f(libgsasl)h(serv)m(er)g (handle.)52 b(The)34 b(application)h(data)390 4861 y(is)j(set)g(using)g Fo(gsasl_server_application)o(_dat)o(a_s)o(et\(\))31 b Fu(.)64 b(It)38 b(is)g(normally)g(used)f(b)m(y)h(the)390 4971 y(application)32 b(to)f(main)m(tain)g(state)h(b)s(et)m(w)m(een)f (the)f(main)h(program)f(and)g(the)g(callbac)m(k.)390 5101 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b(the)i(application)h(sp)s (eci\014c)e(data,)h(or)f(NULL.)390 5230 y Fd(Deprecated:)57 b Fu(Use)38 b Fo(gsasl_callback_hook_get\(\))31 b Fu(or)39 b Fo(gsasl_session_hook_get\()o(\))32 b Fu(in-)390 5340 y(stead.)p eop end %%Page: 80 84 TeXDict begin 80 83 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(80)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(randomize)3350 493 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_randomize)d Fh(\()p Fg(in)m(t)34 b Ff(strong)p Fg(,)g(c)m(har)g(*)f Ff(data)p Fg(,)i(size)p 2486 493 30 5 v 44 w(t)e Ff(datalen)p Fh(\))390 603 y Fl(strong)8 b Fu(:)41 b(0)30 b(i\013)h(op)s(eration)g(should)e(not)i (blo)s(c)m(k,)g(non-0)g(for)f(v)m(ery)g(strong)h(randomness.)390 736 y Fl(data)p Fu(:)41 b(output)30 b(arra)m(y)h(to)g(b)s(e)f(\014lled) g(with)g(random)g(data.)390 869 y Fl(datalen)p Fu(:)42 b(size)31 b(of)f(output)g(arra)m(y)-8 b(.)390 1002 y(Store)31 b(cryptographically)g(random)f(data)h(of)g(giv)m(en)g(size)g(in)f(the)h (pro)m(vided)f(bu\013er.)390 1136 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b Fo(GSASL_OK)f Fu(i\013)j(successful.)390 1269 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_random\(\))d Fu(or)j Fo(gsasl_nonce\(\))d Fu(instead.)150 1465 y Fm(gsasl)p 410 1465 37 5 v 55 w(ctx)p 633 1465 V 53 w(get)3350 1660 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl)54 b(*)e(gsasl_ctx_get)e Fh(\()p Fg(Gsasl)p 1570 1660 30 5 v 44 w(session)34 b(*)g Ff(sctx)p Fh(\))390 1769 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle)390 1902 y(Get)h(the)g(libgsasl)g(handle)f(giv)m(en) h(a)g(libgsasl)g(session)g(handle.)390 2036 y(Return)f(v)-5 b(alue:)41 b(Returns)29 b(the)i(libgsasl)g(handle)f(giv)m(en)h(a)g (libgsasl)g(session)g(handle.)390 2169 y Fd(Deprecated:)42 b Fu(This)29 b(function)h(is)h(not)f(useful)g(with)g(the)h(new)e(0.2.0) k(API.)150 2366 y Fm(gsasl)p 410 2366 37 5 v 55 w(enco)s(de)p 832 2366 V 55 w(inline)3350 2560 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_encode_inline)e Fh(\()p Fg(Gsasl)p 1674 2560 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)h(const)g(c)m (har)g(*)565 2669 y Ff(input)p Fg(,)h(size)p 1050 2669 V 44 w(t)e Ff(input_len)p Fg(,)i(c)m(har)f(*)f Ff(output)p Fg(,)i(size)p 2529 2669 V 44 w(t)e(*)g Ff(output_len)p Fh(\))390 2779 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.) 390 2912 y Fl(input)r Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)-8 b(.)390 3045 y Fl(input)p 609 3045 28 4 v 39 w(len)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)-8 b(.)390 3179 y Fl(output)r Fu(:)40 b(output)30 b(b)m(yte)h(arra)m(y)-8 b(.)390 3312 y Fl(output)p 664 3312 V 40 w(len)p Fu(:)40 b(size)32 b(of)e(output)g(b)m(yte)h(arra)m(y)-8 b(.)390 3445 y(Enco)s(de)32 b(data)h(according)g(to)g(negotiated)h(SASL)d(mec)m (hanism.)46 b(This)31 b(migh)m(t)i(mean)g(that)f(data)390 3555 y(is)e(in)m(tegrit)m(y)j(or)d(priv)-5 b(acy)31 b(protected.)390 3688 y(Return)d(v)-5 b(alue:)41 b(Returns)28 b Fo(GSASL_OK)f Fu(if)i(enco)s(ding)g(w)m(as)g(successful,)g(otherwise)h(an)f(error)f (co)s(de.)390 3821 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_encode\(\))d Fu(instead.)390 3954 y Fd(Since:)41 b Fu(0.2.0)150 4151 y Fm(gsasl)p 410 4151 37 5 v 55 w(deco)s(de)p 832 4151 V 55 w(inline)3350 4345 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_decode_inline)e Fh(\()p Fg(Gsasl)p 1674 4345 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)h(const)g(c)m (har)g(*)565 4455 y Ff(input)p Fg(,)h(size)p 1050 4455 V 44 w(t)e Ff(input_len)p Fg(,)i(c)m(har)f(*)f Ff(output)p Fg(,)i(size)p 2529 4455 V 44 w(t)e(*)g Ff(output_len)p Fh(\))390 4564 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.) 390 4698 y Fl(input)r Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)-8 b(.)390 4831 y Fl(input)p 609 4831 28 4 v 39 w(len)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)-8 b(.)390 4964 y Fl(output)r Fu(:)40 b(output)30 b(b)m(yte)h(arra)m(y)-8 b(.)390 5097 y Fl(output)p 664 5097 V 40 w(len)p Fu(:)40 b(size)32 b(of)e(output)g(b)m(yte)h(arra)m(y)-8 b(.)390 5230 y(Deco)s(de)33 b(data)g(according)h(to)f(negotiated)h(SASL)d(mec)m (hanism.)47 b(This)32 b(migh)m(t)h(mean)f(that)h(data)390 5340 y(is)d(in)m(tegrit)m(y)j(or)d(priv)-5 b(acy)31 b(protected.)p eop end %%Page: 81 85 TeXDict begin 81 84 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(81)390 299 y(Return)28 b(v)-5 b(alue:)41 b(Returns)28 b Fo(GSASL_OK)f Fu(if)i(enco)s(ding)g(w) m(as)g(successful,)g(otherwise)h(an)f(error)f(co)s(de.)390 434 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_decode\(\))d Fu(instead.)390 570 y Fd(Since:)41 b Fu(0.2.0)150 770 y Fm(gsasl)p 410 770 37 5 v 55 w(application)p 1055 770 V 54 w(data)p 1345 770 V 53 w(set)3350 967 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_application_data_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)g(v)m(oid)g(*)g Ff(appdata)p Fh(\))390 1077 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1212 y Fl(app)s(data)p Fu(:)40 b(opaque)31 b(p)s(oin)m(ter)f(to)i(application)f(sp)s(eci\014c)f(data.)390 1348 y(Store)37 b(application)i(sp)s(eci\014c)e(data)h(in)f(the)g (libgsasl)h(handle.)61 b(The)37 b(application)h(data)g(can)g(b)s(e)390 1457 y(later)j(\(for)f(instance,)k(inside)c(a)g(callbac)m(k\))j(b)s(e)c (retriev)m(ed)i(b)m(y)f(calling)i Fo(gsasl_application_)390 1567 y(data_get\(\))32 b Fu(.)53 b(It)35 b(is)f(normally)h(used)f(b)m (y)g(the)h(application)h(to)f(main)m(tain)h(state)g(b)s(et)m(w)m(een)f (the)390 1677 y(main)30 b(program)g(and)g(the)h(callbac)m(k.)390 1812 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_callback_hook_set\(\)) 24 b Fu(instead.)150 2012 y Fm(gsasl)p 410 2012 V 55 w(application)p 1055 2012 V 54 w(data)p 1345 2012 V 53 w(get)3350 2210 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(*)e(gsasl_application_data)q(_ge)q(t)f Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 2319 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2455 y(Retriev)m(e)38 b(application)g(sp)s(eci\014c)e (data)h(from)f(libgsasl)h(handle.)58 b(The)36 b(application)i(data)f (is)f(set)390 2564 y(using)g Fo(gsasl_application_data_se)o(t\(\))30 b Fu(.)60 b(It)37 b(is)g(normally)g(used)f(b)m(y)h(the)g(application)h (to)390 2674 y(main)m(tain)31 b(state)h(b)s(et)m(w)m(een)f(the)g(main)f (program)g(and)g(the)g(callbac)m(k.)390 2809 y(Return)g(v)-5 b(alue:)41 b(Returns)29 b(the)i(application)h(sp)s(eci\014c)e(data,)h (or)f(NULL.)390 2945 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_callback_hook_get\(\))24 b Fu(instead.)150 3145 y Fm(gsasl)p 410 3145 V 55 w(appinfo)p 861 3145 V 55 w(set)3350 3343 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_appinfo_set)c Fh(\()p Fg(Gsasl)p 1622 3343 30 5 v 45 w(session)34 b(*)f Ff(sctx)p Fg(,)h(v)m(oid)f(*)g Ff(appdata)p Fh(\))390 3452 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.)390 3587 y Fl(app)s(data)p Fu(:)40 b(opaque)31 b(p)s(oin)m(ter)f(to)i(application)f(sp)s(eci\014c)f(data.) 390 3723 y(Store)37 b(application)i(sp)s(eci\014c)d(data)i(in)f(the)g (libgsasl)h(session)f(handle.)60 b(The)37 b(application)h(data)390 3832 y(can)31 b(b)s(e)e(later)j(\(for)e(instance,)i(inside)e(a)h (callbac)m(k\))i(b)s(e)c(retriev)m(ed)j(b)m(y)e(calling)i Fo(gsasl_appinfo_)390 3942 y(get\(\))i Fu(.)54 b(It)35 b(is)g(normally)g(used)g(b)m(y)g(the)g(application)h(to)g(main)m(tain)g (state)g(b)s(et)m(w)m(een)g(the)f(main)390 4052 y(program)30 b(and)g(the)g(callbac)m(k.)390 4187 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_callback_hook_set\(\))24 b Fu(instead.)150 4387 y Fm(gsasl)p 410 4387 37 5 v 55 w(appinfo)p 861 4387 V 55 w(get)3350 4585 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(*)e(gsasl_appinfo_get)f Fh(\()p Fg(Gsasl)p 1727 4585 30 5 v 44 w(session)34 b(*)f Ff(sctx)p Fh(\))390 4694 y Fl(sctx)6 b Fu(:)42 b(libgsasl)31 b(session)f(handle.)390 4830 y(Retriev)m(e)24 b(application)g(sp)s(eci\014c)f(data)g(from)f (libgsasl)i(session)f(handle.)37 b(The)23 b(application)h(data)f(is)390 4939 y(set)29 b(using)g Fo(gsasl_appinfo_set\(\))24 b Fu(.)40 b(It)29 b(is)g(normally)g(used)f(b)m(y)h(the)g(application)h (to)g(main)m(tain)390 5049 y(state)i(b)s(et)m(w)m(een)f(the)f(main)h (program)f(and)f(the)i(callbac)m(k.)390 5184 y(Return)f(v)-5 b(alue:)41 b(Returns)29 b(the)i(application)h(sp)s(eci\014c)e(data,)h (or)f(NULL.)390 5320 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_callback_hook_get\(\))24 b Fu(instead.)p eop end %%Page: 82 86 TeXDict begin 82 85 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(82)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(serv)m(er)p 787 299 V 54 w(suggest)p 1231 299 V 55 w(mec)m(hanism)3350 494 y Fu([F)-8 b(unction])-3599 b Fi(const)54 b(char)f(*)g(gsasl_server_suggest_m)q(ech)q(anis)q(m)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 604 y(const)h(c)m(har)g(*)f Ff(mechlist)p Fh(\))390 714 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 848 y Fl(mec)m(hlist)r Fu(:)52 b(input)34 b(c)m(haracter)j(arra)m(y)f(with)f(SASL)f(mec)m(hanism)i(names,)g (separated)g(b)m(y)f(in)m(v)-5 b(alid)390 957 y(c)m(haracters)32 b(\(e.g.)42 b(SPC\).)390 1091 y(Get)23 b(name)f(of)g Fo(")p Fu(b)s(est)p Fo(")f Fu(SASL)g(mec)m(hanism)i(supp)s(orted)d(b)m (y)i(the)g(libgsasl)h(serv)m(er)f(whic)m(h)g(is)g(presen)m(t)390 1201 y(in)30 b(the)h(input)e(string.)390 1334 y(Return)36 b(v)-5 b(alue:)54 b(Returns)35 b(name)i(of)g Fo(")p Fu(b)s(est)p Fo(")e Fu(SASL)h(mec)m(hanism)h(supp)s(orted)e(b)m(y)h(the)h(libgsasl) 390 1444 y(serv)m(er)31 b(whic)m(h)f(is)g(presen)m(t)h(in)f(the)g (input)g(string.)390 1578 y Fd(Deprecated:)55 b Fu(This)37 b(function)f(w)m(as)i(nev)m(er)f(useful,)i(since)e(it)h(is)f(the)h (clien)m(t)g(that)g(c)m(hose)g(whic)m(h)390 1688 y(mec)m(hanism)31 b(to)g(use.)150 1886 y Fm(gsasl)p 410 1886 V 55 w(clien)m(t)p 757 1886 V 53 w(callbac)m(k)p 1238 1886 V 52 w(authen)m(tication)p 2063 1886 V 53 w(id)p 2218 1886 V 54 w(set)3350 2081 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_au)q (the)q(nti)q(cat)q(ion_)q(id_)q(set)e Fh(\()p Fg(Gsasl)34 b(*)565 2191 y Ff(ctx)p Fg(,)g(Gsasl)p 1024 2191 30 5 v 44 w(clien)m(t)p 1303 2191 V 44 w(callbac)m(k)p 1696 2191 V 44 w(authen)m(tication)p 2368 2191 V 44 w(id)f Ff(cb)p Fh(\))390 2300 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2434 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 2568 y(Sp)s(ecify)20 b(the)h(callbac)m(k)i(function)e (to)h(use)e(in)h(the)g(clien)m(t)i(to)e(set)h(the)f(authen)m(tication)i (iden)m(tit)m(y)-8 b(.)39 b(The)390 2678 y(function)26 b(can)g(b)s(e)g(later)h(retriev)m(ed)g(using)f Fo (gsasl_client_callback_au)o(then)o(tic)o(atio)o(n_id)o(_)390 2787 y(get\(\))j Fu(.)390 2921 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i(in)m (terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3031 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3140 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 3338 y Fm(gsasl)p 410 3338 37 5 v 55 w(clien)m(t)p 757 3338 V 53 w(callbac)m(k)p 1238 3338 V 52 w(authen)m(tication)p 2063 3338 V 53 w(id)p 2218 3338 V 54 w(get)3350 3534 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(aut)q(hent)q (ica)q(tio)q(n_i)q(d)565 3644 y(gsasl_client_callback_)q(aut)q(hen)q (tic)q(atio)q(n_i)q(d_g)q(et)52 b Fh(\()p Fg(Gsasl)33 b(*)g Ff(ctx)p Fh(\))390 3753 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3887 y(Get)42 b(the)g(callbac)m(k)i(earlier)e(set)g(b)m (y)f(calling)i Fo(gsasl_client_callback_aut)o(hen)o(tica)o(tion)o(_)390 3997 y(id_set\(\))28 b Fu(.)390 4131 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_client_callback_)390 4240 y (authentication_id_set\(\))24 b Fu(.)390 4374 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 4484 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 4593 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 4791 y Fm(gsasl)p 410 4791 V 55 w(clien)m(t)p 757 4791 V 53 w(callbac)m(k)p 1238 4791 V 52 w(authorization)p 2005 4791 V 54 w(id)p 2161 4791 V 54 w(set)3350 4987 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_au)q (tho)q(riz)q(ati)q(on_i)q(d_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)565 5096 y Ff(ctx)p Fg(,)g(Gsasl)p 1024 5096 30 5 v 44 w(clien)m(t)p 1303 5096 V 44 w(callbac)m(k)p 1696 5096 V 44 w(authorization)p 2322 5096 V 43 w(id)f Ff(cb)p Fh(\))390 5206 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 5340 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)p eop end %%Page: 83 87 TeXDict begin 83 86 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(83)390 299 y(Sp)s(ecify)38 b(the)i(callbac)m(k)h(function)e(to)h(use)e(in)h(the)h(clien)m(t)g(to)g (set)g(the)f(authorization)i(iden)m(tit)m(y)-8 b(.)390 408 y(The)27 b(function)g(can)h(b)s(e)e(later)j(retriev)m(ed)f(using)f Fo(gsasl_client_callback_au)o(tho)o(riza)o(tion)o(_)390 518 y(id_get\(\))h Fu(.)390 671 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i(in)m (terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 781 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 890 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 1108 y Fm(gsasl)p 410 1108 37 5 v 55 w(clien)m(t)p 757 1108 V 53 w(callbac)m(k)p 1238 1108 V 52 w(authorization)p 2005 1108 V 54 w(id)p 2161 1108 V 54 w(get)3350 1323 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(aut)q(hori)q (zat)q(ion)q(_id)565 1433 y(gsasl_client_callback_)q(aut)q(hor)q(iza)q (tion)q(_id)q(_ge)q(t)51 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 1542 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1695 y(Get)e(the)f(callbac)m(k)i(earlier)e(set)h(b)m(y)e (calling)j Fo(gsasl_client_callback_a)o(utho)o(riz)o(atio)o(n_id)o(_) 390 1805 y(set\(\))f Fu(.)390 1958 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_client_callback_)390 2068 y (authorization_id_set\(\))24 b Fu(.)390 2221 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2330 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2440 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 2658 y Fm(gsasl)p 410 2658 V 55 w(clien)m(t)p 757 2658 V 53 w(callbac)m(k)p 1238 2658 V 52 w(passw)m(ord)p 1779 2658 V 55 w(set)3350 2873 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_pa)q(ssw)q(ord)q(_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 2982 y(Gsasl)p 806 2982 30 5 v 44 w(clien)m(t)p 1085 2982 V 44 w(callbac)m(k)p 1478 2982 V 44 w(passw)m(ord)h Ff(cb)p Fh(\))390 3092 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3245 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 3398 y(Sp)s(ecify)h(the)h(callbac)m(k)i(function)e(to)h(use)e(in)h(the)g (clien)m(t)i(to)e(set)h(the)f(passw)m(ord.)51 b(The)33 b(function)390 3508 y(can)e(b)s(e)e(later)j(retriev)m(ed)f(using)f Fo(gsasl_client_callback_pa)o(sswo)o(rd_)o(get\()o(\))24 b Fu(.)390 3661 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3770 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3880 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 4098 y Fm(gsasl)p 410 4098 37 5 v 55 w(clien)m(t)p 757 4098 V 53 w(callbac)m(k)p 1238 4098 V 52 w(passw)m(ord)p 1779 4098 V 55 w(get)3350 4313 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(pas)q(swor)q(d)565 4422 y(gsasl_client_callback_)q(pas)q(swo)q(rd_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 4532 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4685 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_client_callback_pa)o(ssw)o (ord_)o(set\()o(\))24 b Fu(.)390 4838 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_client_callback_)390 4948 y(password_set\(\))26 b Fu(.)390 5101 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 5210 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 5320 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)p eop end %%Page: 84 88 TeXDict begin 84 87 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(84)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(clien)m(t)p 757 299 V 53 w(callbac)m(k)p 1238 299 V 52 w(passco)s(de)p 1757 299 V 55 w(set)3350 494 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b (gsasl_client_callback_pa)q(ssc)q(ode)q(_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 604 y(Gsasl)p 806 604 30 5 v 44 w(clien)m(t)p 1085 604 V 44 w(callbac)m(k)p 1478 604 V 44 w(passco)s(de)h Ff(cb)p Fh(\))390 714 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 848 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 981 y(Sp)s(ecify)i(the) h(callbac)m(k)i(function)e(to)h(use)e(in)h(the)g(clien)m(t)h(to)g(set)f (the)h(passco)s(de.)54 b(The)34 b(function)390 1091 y(can)d(b)s(e)e (later)j(retriev)m(ed)f(using)f Fo(gsasl_client_callback_pa)o(ssco)o (de_)o(get\()o(\))24 b Fu(.)390 1225 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 1334 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 1444 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 1642 y Fm(gsasl)p 410 1642 37 5 v 55 w(clien)m(t)p 757 1642 V 53 w(callbac)m(k)p 1238 1642 V 52 w(passco)s(de)p 1757 1642 V 55 w(get)3350 1838 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(pas)q(scod)q(e)565 1947 y(gsasl_client_callback_)q(pas)q(sco)q(de_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 2057 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2191 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_client_callback_pa)o(ssc)o (ode_)o(set\()o(\))24 b Fu(.)390 2325 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_client_callback_)390 2434 y(passcode_set\(\))26 b Fu(.)390 2568 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2678 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2787 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 2985 y Fm(gsasl)p 410 2985 V 55 w(clien)m(t)p 757 2985 V 53 w(callbac)m(k)p 1238 2985 V 52 w(pin)p 1460 2985 V 55 w(set)3350 3181 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_pi)q(n_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 3291 y(Gsasl)p 806 3291 30 5 v 44 w(clien)m(t)p 1085 3291 V 44 w(callbac)m(k)p 1478 3291 V 44 w(pin)g Ff(cb)p Fh(\))390 3400 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3534 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 3668 y(Sp)s(ecify)22 b(the)g(callbac)m(k)j(function)d(to)h(use)f(in)g(the)h(clien)m(t)h(to)f (c)m(hose)h(a)e(new)g(pin,)i(p)s(ossibly)d(suggested)390 3778 y(b)m(y)31 b(the)g(serv)m(er,)h(for)f(the)g(SECURID)f(mec)m (hanism.)43 b(This)30 b(is)h(not)g(normally)h(in)m(v)m(ok)m(ed,)h(but)d (only)390 3887 y(when)24 b(the)h(serv)m(er)h(requests)f(it.)39 b(The)25 b(function)g(can)g(b)s(e)g(later)h(retriev)m(ed)g(using)f Fo(gsasl_client_)390 3997 y(callback_pin_get\(\))g Fu(.)390 4131 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g (the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 4240 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 4350 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h (prop)s(erties.)150 4548 y Fm(gsasl)p 410 4548 37 5 v 55 w(clien)m(t)p 757 4548 V 53 w(callbac)m(k)p 1238 4548 V 52 w(pin)p 1460 4548 V 55 w(get)3350 4743 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(pin)59 b(gsasl_client_callback_)q(pin_)q(get)565 4853 y Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 4963 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 5096 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_client_callback_pi)o(n_s)o (et\(\))24 b Fu(.)390 5230 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_client_callback_)390 5340 y(pin_set\(\))28 b Fu(.)p eop end %%Page: 85 89 TeXDict begin 85 88 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(85)390 299 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 408 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 518 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 739 y Fm(gsasl)p 410 739 37 5 v 55 w(clien)m(t)p 757 739 V 53 w(callbac)m(k)p 1238 739 V 52 w(service)p 1654 739 V 54 w(set)3350 957 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_se)q(rvi)q(ce_)q(set)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 1066 y(Gsasl)p 806 1066 30 5 v 44 w(clien)m(t)p 1085 1066 V 44 w(callbac)m(k)p 1478 1066 V 44 w(service)g Ff(cb)p Fh(\))390 1176 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1332 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 1488 y(Sp)s(ecify)e(the)h (callbac)m(k)i(function)d(to)i(use)e(in)h(the)g(clien)m(t)h(to)g(set)f (the)g(name)g(of)g(the)g(service.)42 b(The)390 1597 y(service)30 b(bu\013er)e(should)g(b)s(e)g(a)h(registered)h(GSSAPI)e(host-based)h (service)h(name,)g(hostname)f(the)390 1707 y(name)k(of)h(the)f(serv)m (er.)49 b(Servicename)34 b(is)f(used)g(b)m(y)g(DIGEST-MD5)h(and)f (should)f(b)s(e)g(the)i(name)390 1817 y(of)g(generic)h(serv)m(er)g(in)f (case)h(of)f(a)h(replicated)g(service.)53 b(The)34 b(function)g(can)g (b)s(e)g(later)h(retriev)m(ed)390 1926 y(using)30 b Fo (gsasl_client_callback_se)o(rvi)o(ce_g)o(et\(\))24 b Fu(.)390 2082 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f (of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2192 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2301 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h (prop)s(erties.)150 2522 y Fm(gsasl)p 410 2522 37 5 v 55 w(clien)m(t)p 757 2522 V 53 w(callbac)m(k)p 1238 2522 V 52 w(service)p 1654 2522 V 54 w(get)3350 2740 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(ser)q(vice)565 2850 y(gsasl_client_callback_)q(ser)q(vic)q(e_g)q(et)52 b Fh(\()p Fg(Gsasl)33 b(*)g Ff(ctx)p Fh(\))390 2959 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3115 y(Get)g(the)g (callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo (gsasl_client_callback_se)o(rvi)o(ce_s)o(et\(\))24 b Fu(.)390 3271 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_client_callback_)390 3381 y(service_set\(\))27 b Fu(.)390 3537 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3646 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3756 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 3976 y Fm(gsasl)p 410 3976 V 55 w(clien)m(t)p 757 3976 V 53 w(callbac)m(k)p 1238 3976 V 52 w(anon)m(ymous)p 1888 3976 V 55 w(set)3350 4195 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_an)q(ony)q(mou)q(s_s)q(et)e Fh(\()p Fg(Gsasl)33 b(*)g Ff(ctx)p Fg(,)565 4304 y(Gsasl)p 806 4304 30 5 v 44 w(clien)m(t)p 1085 4304 V 44 w(callbac)m(k)p 1478 4304 V 44 w(anon)m(ymous)h Ff(cb)p Fh(\))390 4414 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4570 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 4726 y(Sp)s(ecify)f(the)h(callbac)m(k)i(function)d(to)i(use)e(in)h(the)g (clien)m(t)h(to)g(set)f(the)g(anon)m(ymous)g(tok)m(en,)h(whic)m(h)390 4835 y(usually)e(is)h(the)g(users)f(email)i(address.)44 b(The)31 b(function)h(can)g(b)s(e)f(later)i(retriev)m(ed)f(using)g Fo(gsasl_)390 4945 y(client_callback_anonymou)o(s_ge)o(t\(\))24 b Fu(.)390 5101 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 5210 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 5320 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)p eop end %%Page: 86 90 TeXDict begin 86 89 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(86)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(clien)m(t)p 757 299 V 53 w(callbac)m(k)p 1238 299 V 52 w(anon)m(ymous)p 1888 299 V 55 w(get)3350 494 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(ano)q (nymo)q(us)565 604 y(gsasl_client_callback_)q(ano)q(nym)q(ous)q(_get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 714 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 848 y(Get)g(the)g (callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo (gsasl_client_callback_an)o(ony)o(mous)o(_set)o(\(\))24 b Fu(.)390 981 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_client_callback_)390 1091 y(anonymous_set\(\))26 b Fu(.)390 1225 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 1334 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 1444 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 1642 y Fm(gsasl)p 410 1642 V 55 w(clien)m(t)p 757 1642 V 53 w(callbac)m(k)p 1238 1642 V 52 w(qop)p 1484 1642 V 55 w(set)3350 1838 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_qo)q(p_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 1947 y(Gsasl)p 806 1947 30 5 v 44 w(clien)m(t)p 1085 1947 V 44 w(callbac)m(k)p 1478 1947 V 44 w(qop)g Ff(cb)p Fh(\))390 2057 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2191 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 2325 y(Sp)s(ecify)k(the)g(callbac)m(k)i (function)e(to)h(use)f(in)g(the)h(clien)m(t)g(to)g(determine)g(the)f (qop)g(to)h(use)f(after)390 2434 y(lo)s(oking)31 b(at)h(what)e(the)h (serv)m(er)g(o\013ered.)41 b(The)30 b(function)h(can)g(b)s(e)f(later)h (retriev)m(ed)h(using)e Fo(gsasl_)390 2544 y(client_callback_qop_get\() o(\))24 b Fu(.)390 2678 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.) 40 b(The)23 b(new)g(in)m(terface)h(uses)390 2787 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2897 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 3095 y Fm(gsasl)p 410 3095 37 5 v 55 w(clien)m(t)p 757 3095 V 53 w(callbac)m(k)p 1238 3095 V 52 w(qop)p 1484 3095 V 55 w(get)3350 3291 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(qop)59 b(gsasl_client_callback_)q(qop_)q (get)565 3400 y Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 3510 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3644 y(Get)g(the)g(callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_client_callback_qo)o(p_s)o(et\(\))24 b Fu(.)390 3778 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j (earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_client_callback_)390 3887 y(qop_set\(\))28 b Fu(.)390 4021 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 4131 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 4240 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 4438 y Fm(gsasl)p 410 4438 V 55 w(clien)m(t)p 757 4438 V 53 w(callbac)m(k)p 1238 4438 V 52 w(maxbuf)p 1690 4438 V 55 w(set)3350 4634 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_ma)q(xbu)q(f_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 4743 y(Gsasl)p 806 4743 30 5 v 44 w(clien)m(t)p 1085 4743 V 44 w(callbac)m(k)p 1478 4743 V 44 w(maxbuf)h Ff(cb)p Fh(\))390 4853 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4987 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 5121 y(Sp)s(ecify)i(the)g (callbac)m(k)j(function)d(to)i(use)e(in)g(the)h(clien)m(t)h(to)f (inform)f(the)g(serv)m(er)h(of)g(the)g(largest)390 5230 y(bu\013er)25 b(the)i(clien)m(t)g(is)g(able)f(to)h(receiv)m(e)h(when)d (using)h(the)g(DIGEST-MD5)i Fo(")p Fu(auth-in)m(t)p Fo(")e Fu(or)g Fo(")p Fu(auth-)390 5340 y(conf)p Fo(")h Fu(Qualit)m(y)g(of)g (Protection)i(\(qop\).)40 b(If)26 b(this)h(directiv)m(e)i(is)e (missing,)g(the)g(default)g(v)-5 b(alue)28 b(65536)p eop end %%Page: 87 91 TeXDict begin 87 90 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(87)390 299 y(will)26 b(b)s(e)e(assumed.)38 b(The)25 b(function)g(can)g(b)s(e)g(later)h (retriev)m(ed)g(using)f Fo(gsasl_client_callback_)390 408 y(maxbuf_get\(\))i Fu(.)390 568 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 678 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 787 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 1012 y Fm(gsasl)p 410 1012 37 5 v 55 w(clien)m(t)p 757 1012 V 53 w(callbac)m(k)p 1238 1012 V 52 w(maxbuf)p 1690 1012 V 55 w(get)3350 1234 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(max)q(buf)565 1344 y (gsasl_client_callback_)q(max)q(buf)q(_ge)q(t)51 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 1453 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1613 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_client_callback_ma)o(xbu)o (f_se)o(t\(\))24 b Fu(.)390 1773 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_client_callback_)390 1883 y(maxbuf_set\(\))27 b Fu(.)390 2043 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2152 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2262 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 2486 y Fm(gsasl)p 410 2486 V 55 w(clien)m(t)p 757 2486 V 53 w(callbac)m(k)p 1238 2486 V 52 w(realm)p 1592 2486 V 54 w(set)3350 2708 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_client_callback_re)q(alm)q(_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 2818 y(Gsasl)p 806 2818 30 5 v 44 w(clien)m(t)p 1085 2818 V 44 w(callbac)m(k)p 1478 2818 V 44 w(realm)g Ff(cb)p Fh(\))390 2928 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3087 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 3247 y(Sp)s(ecify)f(the)h (callbac)m(k)i(function)e(to)h(use)e(in)h(the)g(clien)m(t)h(to)g(kno)m (w)f(whic)m(h)f(realm)i(it)f(b)s(elongs)g(to.)390 3357 y(The)h(realm)h(is)f(used)g(b)m(y)g(the)g(serv)m(er)h(to)g(determine)g (whic)m(h)f(username)f(and)h(passw)m(ord)g(to)h(use.)390 3467 y(The)c(function)g(can)h(b)s(e)e(later)j(retriev)m(ed)f(using)f Fo(gsasl_client_callback_re)o(alm)o(_get)o(\(\))24 b Fu(.)390 3626 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f (of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3736 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3846 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h (prop)s(erties.)150 4070 y Fm(gsasl)p 410 4070 37 5 v 55 w(clien)m(t)p 757 4070 V 53 w(callbac)m(k)p 1238 4070 V 52 w(realm)p 1592 4070 V 54 w(get)3350 4292 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_client_callback_)q(rea)q(lm)565 4402 y(gsasl_client_callback_)q(rea)q(lm_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 4511 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4671 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_client_callback_re)o(alm)o (_set)o(\(\))24 b Fu(.)390 4831 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_client_callback_)390 4941 y(realm_set\(\))27 b Fu(.)390 5101 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 5210 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 5320 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)p eop end %%Page: 88 92 TeXDict begin 88 91 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(88)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(serv)m(er)p 787 299 V 54 w(callbac)m(k)p 1269 299 V 52 w(v)-7 b(alidate)p 1739 299 V 53 w(set)3350 494 y Fu([F)f(unction])-3599 b Fi(void)54 b(gsasl_server_callback_va)q (lid)q(ate)q(_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 604 y(Gsasl)p 806 604 30 5 v 44 w(serv)m(er)p 1105 604 V 45 w(callbac)m(k)p 1499 604 V 43 w(v)-6 b(alidate)33 b Ff(cb)p Fh(\))390 714 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 848 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 981 y(Sp)s(ecify)c(the)h(callbac)m(k)j(function)c(to)i (use)f(in)f(the)i(serv)m(er)f(for)g(deciding)g(if)g(user)f(is)h(authen) m(ticated)390 1091 y(using)f(authen)m(tication)j(iden)m(tit)m(y)-8 b(,)31 b(authorization)e(iden)m(tit)m(y)h(and)e(passw)m(ord.)40 b(The)28 b(function)g(can)390 1201 y(b)s(e)i(later)h(retriev)m(ed)g (using)f Fo(gsasl_server_callback_val)o(idat)o(e_ge)o(t\(\))24 b Fu(.)390 1334 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 1444 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 1554 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 1752 y Fm(gsasl)p 410 1752 37 5 v 55 w(serv)m(er)p 787 1752 V 54 w(callbac)m(k)p 1269 1752 V 52 w(v)-7 b(alidate)p 1739 1752 V 53 w(get)3350 1947 y Fu([F)f(unction])-3599 b Fi(Gsasl_server_callback_)q(val)q(idat)q(e)565 2057 y(gsasl_server_callback_)q(val)q(ida)q(te_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 2166 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2300 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_va)o(lid)o (ate_)o(set\()o(\))24 b Fu(.)390 2434 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_server_callback_)390 2544 y(validate_set\(\))26 b Fu(.)390 2678 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2787 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2897 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 3095 y Fm(gsasl)p 410 3095 V 55 w(serv)m(er)p 787 3095 V 54 w(callbac)m(k)p 1269 3095 V 52 w(retriev)m(e)p 1733 3095 V 54 w(set)3350 3291 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_re)q(tri)q(eve)q(_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 3400 y(Gsasl)p 806 3400 30 5 v 44 w(serv)m(er)p 1105 3400 V 45 w(callbac)m(k)p 1499 3400 V 43 w(retriev)m(e)h Ff(cb)p Fh(\))390 3510 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3644 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 3778 y(Sp)s(ecify)c(the)h(callbac)m(k)j(function)c(to)i(use)f(in)f(the)i (serv)m(er)f(for)g(deciding)g(if)g(user)f(is)h(authen)m(ticated)390 3887 y(using)f(authen)m(tication)j(iden)m(tit)m(y)-8 b(,)31 b(authorization)e(iden)m(tit)m(y)h(and)e(passw)m(ord.)40 b(The)28 b(function)g(can)390 3997 y(b)s(e)i(later)h(retriev)m(ed)g (using)f Fo(gsasl_server_callback_ret)o(riev)o(e_ge)o(t\(\))24 b Fu(.)390 4131 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 4240 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 4350 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 4548 y Fm(gsasl)p 410 4548 37 5 v 55 w(serv)m(er)p 787 4548 V 54 w(callbac)m(k)p 1269 4548 V 52 w(retriev)m(e)p 1733 4548 V 54 w(get)3350 4743 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(ret)q(riev)q(e)565 4853 y(gsasl_server_callback_)q(ret)q(rie)q(ve_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 4963 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 5096 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_re)o(tri)o (eve_)o(set\()o(\))24 b Fu(.)390 5230 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_server_callback_)390 5340 y(retrieve_set\(\))26 b Fu(.)p eop end %%Page: 89 93 TeXDict begin 89 92 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(89)390 299 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 408 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 518 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 713 y Fm(gsasl)p 410 713 37 5 v 55 w(serv)m(er)p 787 713 V 54 w(callbac)m(k)p 1269 713 V 52 w(cram)p 1588 713 V 54 w(md5)p 1873 713 V 55 w(set)3350 905 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_cr)q(am_)q(md5)q (_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 1015 y(Gsasl)p 806 1015 30 5 v 44 w(serv)m(er)p 1105 1015 V 45 w(callbac)m(k)p 1499 1015 V 43 w(cram)p 1758 1015 V 44 w(md5)h Ff(cb)p Fh(\))390 1124 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1257 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 1389 y(Sp)s(ecify)c(the)h(callbac)m(k)j (function)c(to)i(use)f(in)f(the)i(serv)m(er)f(for)g(deciding)g(if)g (user)f(is)h(authen)m(ticated)390 1499 y(using)f(CRAM-MD5)h(c)m (hallenge)h(and)e(resp)s(onse.)39 b(The)27 b(function)h(can)g(b)s(e)f (later)i(retriev)m(ed)g(using)390 1608 y Fo(gsasl_server_callback_cr)o (am_m)o(d5_g)o(et\()o(\))24 b Fu(.)390 1741 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 1850 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 1960 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 2155 y Fm(gsasl)p 410 2155 37 5 v 55 w(serv)m(er)p 787 2155 V 54 w(callbac)m(k)p 1269 2155 V 52 w(cram)p 1588 2155 V 54 w(md5)p 1873 2155 V 55 w(get)3350 2347 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(cra)q(m_md)q (5)565 2457 y(gsasl_server_callback_)q(cra)q(m_m)q(d5_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 2566 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2698 y(Get)g(the)g (callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo (gsasl_server_callback_cr)o(am_)o(md5_)o(set\()o(\))24 b Fu(.)390 2831 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 2940 y(cram_md5_set\(\))26 b Fu(.)390 3073 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3182 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3292 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 3487 y Fm(gsasl)p 410 3487 V 55 w(serv)m(er)p 787 3487 V 54 w(callbac)m(k)p 1269 3487 V 52 w(digest)p 1636 3487 V 55 w(md5)p 1922 3487 V 55 w(set)3350 3679 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_di)q(ges)q(t_m)q (d5_)q(set)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 3789 y(Gsasl)p 806 3789 30 5 v 44 w(serv)m(er)p 1105 3789 V 45 w(callbac)m(k)p 1499 3789 V 43 w(digest)p 1797 3789 V 44 w(md5)h Ff(cb)p Fh(\))390 3898 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4031 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 4163 y(Sp)s(ecify)39 b(the)i(callbac)m(k)h(function)e(to)h(use)f(in)f(the)i(serv)m(er)f(for) g(retrieving)h(the)f(secret)h(hash)f(of)390 4272 y(the)g(username,)h (realm)f(and)f(passw)m(ord)g(for)h(use)f(in)g(the)h(DIGEST-MD5)h(mec)m (hanism.)68 b(The)390 4382 y(function)30 b(can)h(b)s(e)e(later)j (retriev)m(ed)f(using)f Fo(gsasl_server_callback_di)o(gest)o(_md5)o (_ge)o(t\(\))24 b Fu(.)390 4514 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i(in)m (terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 4624 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 4734 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 4928 y Fm(gsasl)p 410 4928 37 5 v 55 w(serv)m(er)p 787 4928 V 54 w(callbac)m(k)p 1269 4928 V 52 w(digest)p 1636 4928 V 55 w(md5)p 1922 4928 V 55 w(get)3350 5121 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(dig)q(est_)q (md5)565 5230 y(gsasl_server_callback_)q(dig)q(est)q(_md)q(5_ge)q(t)51 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 5340 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)p eop end %%Page: 90 94 TeXDict begin 90 93 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(90)390 299 y(Get)28 b(the)f(callbac)m(k)j(earlier)e(set)f(b)m(y)g(calling)i Fo(gsasl_server_callback_dig)o(est)o(_md5)o(_set)o(\(\))21 b Fu(.)390 443 y(Return)38 b(v)-5 b(alue:)57 b(Return)38 b(the)h(callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_)390 552 y(digest_md5_set\(\))26 b Fu(.)390 696 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part) f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 806 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 916 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h (prop)s(erties.)150 1124 y Fm(gsasl)p 410 1124 37 5 v 55 w(serv)m(er)p 787 1124 V 54 w(callbac)m(k)p 1269 1124 V 52 w(external)p 1758 1124 V 54 w(set)3350 1331 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_ex)q(ter)q(nal)q (_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 1440 y(Gsasl)p 806 1440 30 5 v 44 w(serv)m(er)p 1105 1440 V 45 w(callbac)m(k)p 1499 1440 V 43 w(external)g Ff(cb)p Fh(\))390 1550 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1694 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 1838 y(Sp)s(ecify)c(the)h(callbac)m(k)j(function)c(to)i (use)f(in)f(the)i(serv)m(er)f(for)g(deciding)g(if)g(user)f(is)h(authen) m(ticated)390 1947 y(out)41 b(of)f(band.)70 b(The)39 b(function)h(can)h(b)s(e)f(later)h(retriev)m(ed)g(using)f Fo(gsasl_server_callback_)390 2057 y(external_get\(\))26 b Fu(.)390 2201 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2311 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2420 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 2629 y Fm(gsasl)p 410 2629 37 5 v 55 w(serv)m(er)p 787 2629 V 54 w(callbac)m(k)p 1269 2629 V 52 w(external)p 1758 2629 V 54 w(get)3350 2835 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(ext)q(erna)q(l)565 2945 y(gsasl_server_callback_)q(ext)q(ern)q(al_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 3054 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3198 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_ex)o(ter)o (nal_)o(set\()o(\))24 b Fu(.)390 3342 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_server_callback_)390 3452 y(external_set\(\))26 b Fu(.)390 3596 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3706 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3815 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 4024 y Fm(gsasl)p 410 4024 V 55 w(serv)m(er)p 787 4024 V 54 w(callbac)m(k)p 1269 4024 V 52 w(anon)m(ymous)p 1919 4024 V 55 w(set)3350 4230 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_an)q(ony)q(mou)q(s_s)q(et)e Fh(\()p Fg(Gsasl)33 b(*)g Ff(ctx)p Fg(,)565 4340 y(Gsasl)p 806 4340 30 5 v 44 w(serv)m(er)p 1105 4340 V 45 w(callbac)m(k)p 1499 4340 V 43 w(anon)m(ymous)h Ff(cb)p Fh(\))390 4449 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4593 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 4737 y(Sp)s(ecify)46 b(the)h(callbac)m(k)i(function)d(to)h(use)g(in)f(the)h (serv)m(er)g(for)f(deciding)h(if)g(user)f(is)g(p)s(ermit-)390 4847 y(ted)c(anon)m(ymous)g(access.)78 b(The)41 b(function)h(can)g(b)s (e)g(later)h(retriev)m(ed)g(using)f Fo(gsasl_server_)390 4957 y(callback_anonymous_get\(\))24 b Fu(.)390 5101 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h (old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h (uses)390 5210 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 5320 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h (prop)s(erties.)p eop end %%Page: 91 95 TeXDict begin 91 94 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(91)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(serv)m(er)p 787 299 V 54 w(callbac)m(k)p 1269 299 V 52 w(anon)m(ymous)p 1919 299 V 55 w(get)3350 501 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(ano)q (nymo)q(us)565 610 y(gsasl_server_callback_)q(ano)q(nym)q(ous)q(_get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 720 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 860 y(Get)g(the)g (callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo (gsasl_server_callback_an)o(ony)o(mous)o(_set)o(\(\))24 b Fu(.)390 1000 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 1109 y(anonymous_set\(\))26 b Fu(.)390 1249 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 1359 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 1468 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 1673 y Fm(gsasl)p 410 1673 V 55 w(serv)m(er)p 787 1673 V 54 w(callbac)m(k)p 1269 1673 V 52 w(realm)p 1623 1673 V 54 w(set)3350 1875 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_re)q(alm)q(_se)q(t)d Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 1984 y(Gsasl)p 806 1984 30 5 v 44 w(serv)m(er)p 1105 1984 V 45 w(callbac)m(k)p 1499 1984 V 43 w(realm)g Ff(cb)p Fh(\))390 2094 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2234 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 2373 y(Sp)s(ecify)c(the)i (callbac)m(k)h(function)d(to)i(use)f(in)g(the)g(serv)m(er)g(to)h(kno)m (w)f(whic)m(h)g(realm)g(it)h(serv)m(es.)40 b(The)390 2483 y(realm)d(is)g(used)f(b)m(y)h(the)g(user)f(to)h(determine)g(whic)m (h)g(username)f(and)g(passw)m(ord)g(to)i(use.)59 b(The)390 2593 y(function)30 b(can)h(b)s(e)e(later)j(retriev)m(ed)f(using)f Fo(gsasl_server_callback_re)o(alm_)o(get\()o(\))24 b Fu(.)390 2732 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f (of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2842 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2951 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h (prop)s(erties.)150 3156 y Fm(gsasl)p 410 3156 37 5 v 55 w(serv)m(er)p 787 3156 V 54 w(callbac)m(k)p 1269 3156 V 52 w(realm)p 1623 3156 V 54 w(get)3350 3358 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(rea)q(lm)565 3468 y(gsasl_server_callback_)q(rea)q(lm_)q(get)52 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 3577 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3717 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_re)o(alm)o (_set)o(\(\))24 b Fu(.)390 3857 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 3966 y(realm_set\(\))27 b Fu(.)390 4106 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 4216 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 4325 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 4530 y Fm(gsasl)p 410 4530 V 55 w(serv)m(er)p 787 4530 V 54 w(callbac)m(k)p 1269 4530 V 52 w(qop)p 1515 4530 V 54 w(set)3350 4732 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_qo)q(p_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 4841 y(Gsasl)p 806 4841 30 5 v 44 w(serv)m(er)p 1105 4841 V 45 w(callbac)m(k)p 1499 4841 V 43 w(qop)g Ff(cb)p Fh(\))390 4951 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 5091 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 5230 y(Sp)s(ecify)27 b(the)h(callbac)m(k)j(function)c(to)i(use)f(in)f(the)i(serv)m(er)f(to)h (kno)m(w)f(whic)m(h)f(qualit)m(y)j(of)e(protection)390 5340 y(it)h(accepts.)42 b(The)28 b(qualit)m(y)i(of)f(protection)h(ev)m (en)m(tually)h(used)d(is)h(selected)i(b)m(y)d(the)i(clien)m(t)g (though.)p eop end %%Page: 92 96 TeXDict begin 92 95 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(92)390 299 y(It)42 b(is)g(curren)m(tly)g(used)f(b)m(y)h(the)g(DIGEST-MD5)h(mec)m(hanism.) 75 b(The)42 b(function)f(can)i(b)s(e)e(later)390 408 y(retriev)m(ed)31 b(using)f Fo(gsasl_server_callback_qop)o(_get)o(\(\)) 24 b Fu(.)390 555 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 664 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 774 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d (callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 985 y Fm(gsasl)p 410 985 37 5 v 55 w(serv)m(er)p 787 985 V 54 w(callbac)m(k)p 1269 985 V 52 w(qop)p 1515 985 V 54 w(get)3350 1193 y Fu([F)-8 b(unction])-3599 b Fi (Gsasl_server_callback_)q(qop)59 b(gsasl_server_callback_)q(qop_)q(get) 565 1303 y Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 1412 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1558 y(Get)g(the)g(callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_qo)o(p_s)o(et\(\))24 b Fu(.)390 1705 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j (earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 1814 y(qop_set\(\))28 b Fu(.)390 1960 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2070 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2180 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 2390 y Fm(gsasl)p 410 2390 V 55 w(serv)m(er)p 787 2390 V 54 w(callbac)m(k)p 1269 2390 V 52 w(maxbuf)p 1721 2390 V 55 w(set)3350 2599 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_ma)q(xbu)q(f_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 2708 y(Gsasl)p 806 2708 30 5 v 44 w(serv)m(er)p 1105 2708 V 45 w(callbac)m(k)p 1499 2708 V 43 w(maxbuf)h Ff(cb)p Fh(\))390 2818 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2964 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 3110 y(Sp)s(ecify)i(the)g (callbac)m(k)j(function)d(to)i(use)e(in)g(the)h(serv)m(er)f(to)i (inform)d(the)i(clien)m(t)h(of)f(the)g(largest)390 3220 y(bu\013er)24 b(the)h(serv)m(er)g(is)f(able)i(to)f(receiv)m(e)i(when)d (using)g(the)h(DIGEST-MD5)h Fo(")p Fu(auth-in)m(t)p Fo(")e Fu(or)h Fo(")p Fu(auth-)390 3330 y(conf)p Fo(")i Fu(Qualit)m(y)g(of)g (Protection)i(\(qop\).)40 b(If)26 b(this)h(directiv)m(e)i(is)e (missing,)g(the)g(default)g(v)-5 b(alue)28 b(65536)390 3439 y(will)e(b)s(e)e(assumed.)38 b(The)25 b(function)g(can)g(b)s(e)g (later)h(retriev)m(ed)g(using)f Fo(gsasl_server_callback_)390 3549 y(maxbuf_get\(\))i Fu(.)390 3695 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3804 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3914 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 4125 y Fm(gsasl)p 410 4125 37 5 v 55 w(serv)m(er)p 787 4125 V 54 w(callbac)m(k)p 1269 4125 V 52 w(maxbuf)p 1721 4125 V 55 w(get)3350 4333 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(max)q(buf)565 4443 y (gsasl_server_callback_)q(max)q(buf)q(_ge)q(t)51 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 4553 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4699 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_ma)o(xbu)o (f_se)o(t\(\))24 b Fu(.)390 4845 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 4954 y(maxbuf_set\(\))27 b Fu(.)390 5101 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 5210 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 5320 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)p eop end %%Page: 93 97 TeXDict begin 93 96 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(93)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(serv)m(er)p 787 299 V 54 w(callbac)m(k)p 1269 299 V 52 w(cipher)p 1652 299 V 54 w(set)3350 509 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_ci)q (phe)q(r_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 619 y(Gsasl)p 806 619 30 5 v 44 w(serv)m(er)p 1105 619 V 45 w(callbac)m(k)p 1499 619 V 43 w(cipher)h Ff(cb)p Fh(\))390 728 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 877 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 1025 y(Sp)s(ecify)j(the)h(callbac)m(k)i(function)e(to)g (use)g(in)g(the)g(serv)m(er)g(to)g(inform)g(the)g(clien)m(t)h(of)f(the) g(cipher)390 1134 y(suites)26 b(supp)s(orted.)38 b(The)25 b(DES)h(and)g(3DES)g(ciphers)g(m)m(ust)g(b)s(e)f(supp)s(orted)g(for)h (in)m(terop)s(erabilit)m(y)-8 b(.)390 1244 y(It)42 b(is)g(curren)m(tly) g(used)f(b)m(y)h(the)g(DIGEST-MD5)h(mec)m(hanism.)75 b(The)42 b(function)f(can)i(b)s(e)e(later)390 1354 y(retriev)m(ed)31 b(using)f Fo(gsasl_server_callback_cip)o(her_)o(get)o(\(\))24 b Fu(.)390 1502 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 1611 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 1721 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 1934 y Fm(gsasl)p 410 1934 37 5 v 55 w(serv)m(er)p 787 1934 V 54 w(callbac)m(k)p 1269 1934 V 52 w(cipher)p 1652 1934 V 54 w(get)3350 2144 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(cip)q(her)565 2254 y (gsasl_server_callback_)q(cip)q(her)q(_ge)q(t)51 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 2364 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2512 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_ci)o(phe)o (r_se)o(t\(\))24 b Fu(.)390 2660 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 2769 y(cipher_set\(\))27 b Fu(.)390 2918 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 3027 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3137 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 3350 y Fm(gsasl)p 410 3350 V 55 w(serv)m(er)p 787 3350 V 54 w(callbac)m(k)p 1269 3350 V 52 w(securid)p 1700 3350 V 55 w(set)3350 3560 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_se)q(cur)q(id_)q(set)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 3670 y(Gsasl)p 806 3670 30 5 v 44 w(serv)m(er)p 1105 3670 V 45 w(callbac)m(k)p 1499 3670 V 43 w(securid)i Ff(cb)p Fh(\))390 3779 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3928 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 4076 y(Sp)s(ecify)50 b(the)h(callbac)m(k)i(function)d(to)h(use)g(in)f(the)h(serv)m(er)g(for) f(v)-5 b(alidating)52 b(a)f(user)f(via)i(the)390 4185 y(SECURID)27 b(mec)m(hanism.)40 b(The)26 b(function)h(should)f(return)g (GSASL)p 2735 4185 28 4 v 40 w(OK)g(if)i(user)e(authen)m(ticated)390 4295 y(successfully)-8 b(,)108 b(GSASL)p 1275 4295 V 40 w(SECURID)p 1731 4295 V 39 w(SER)-10 b(VER)p 2137 4295 V 39 w(NEED)p 2437 4295 V 41 w(ADDITIONAL)p 3080 4295 V 40 w(P)i(ASSCODE)91 b(if)390 4404 y(it)113 b(w)m(an)m(ts)g (another)f(passco)s(de,)133 b(GSASL)p 2127 4404 V 40 w(SECURID)p 2583 4404 V 39 w(SER)-10 b(VER)p 2989 4404 V 39 w(NEED)p 3289 4404 V 41 w(NEW)p 3553 4404 V 40 w(PIN)390 4514 y(if)95 b(it)g(w)m(an)m(ts)h(a)f(PIN)f(c)m(hange,)113 b(or)94 b(an)h(error.)234 b(When)94 b(\(and)h(only)g(when\))390 4624 y(GSASL)p 694 4624 V 39 w(SECURID)p 1149 4624 V 40 w(SER)-10 b(VER)p 1556 4624 V 39 w(NEED)p 1856 4624 V 40 w(NEW)p 2119 4624 V 41 w(PIN)109 b(is)g(returned,)128 b(suggestpin)110 b(can)390 4733 y(b)s(e)45 b(p)s(opulated)h(with)f(a)h (PIN)g(co)s(de)g(the)g(serv)m(er)h(suggests,)j(and)c(suggestpinlen)g (set)g(to)h(the)390 4843 y(length)60 b(of)g(the)f(PIN.)h(The)f (function)g(can)h(b)s(e)f(later)h(retriev)m(ed)h(using)e Fo(gsasl_server_)390 4952 y(callback_securid_get\(\))24 b Fu(.)390 5101 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 5210 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 5320 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)p eop end %%Page: 94 98 TeXDict begin 94 97 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(94)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(serv)m(er)p 787 299 V 54 w(callbac)m(k)p 1269 299 V 52 w(securid)p 1700 299 V 55 w(get)3350 503 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(sec)q(urid) 565 612 y(gsasl_server_callback_)q(sec)q(uri)q(d_g)q(et)52 b Fh(\()p Fg(Gsasl)33 b(*)g Ff(ctx)p Fh(\))390 722 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 863 y(Get)g(the)g (callbac)m(k)h(earlier)g(set)f(b)m(y)f(calling)i Fo (gsasl_server_callback_se)o(cur)o(id_s)o(et\(\))24 b Fu(.)390 1005 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 1114 y(securid_set\(\))27 b Fu(.)390 1256 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 1366 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 1475 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 1681 y Fm(gsasl)p 410 1681 V 55 w(serv)m(er)p 787 1681 V 54 w(callbac)m(k)p 1269 1681 V 52 w(gssapi)p 1640 1681 V 55 w(set)3350 1885 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_gs)q(sap)q(i_s)q(et)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 1995 y(Gsasl)p 806 1995 30 5 v 44 w(serv)m(er)p 1105 1995 V 45 w(callbac)m(k)p 1499 1995 V 43 w(gssapi)h Ff(cb)p Fh(\))390 2104 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2246 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)390 2388 y(Sp)s(ecify)44 b(the)g(callbac)m(k)j(function)d(to)h(use)f(in)g(the)h(serv)m(er)g(for) f(c)m(hec)m(king)i(if)e(a)h(GSSAPI)f(user)390 2497 y(is)i(authorized)g (for)f(username)g(\(b)m(y)-8 b(,)50 b(e.g.,)h(calling)c(krb5)p 2434 2497 28 4 v 40 w(kuserok\).)87 b(The)45 b(function)g(should)390 2607 y(return)d(GSASL)p 985 2607 V 39 w(OK)h(if)g(the)g(user)f(should)g (b)s(e)g(p)s(ermitted)h(access,)48 b(or)43 b(an)f(error)h(co)s(de)g (suc)m(h)390 2716 y(as)36 b(GSASL)p 811 2716 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1710 2716 V 40 w(ERR)m(OR)35 b(on)g(failure.)57 b(The)35 b(function)g(can)g(b)s(e)g(later)i(re-)390 2826 y(triev)m(ed)31 b(using)f Fo(gsasl_server_callback_gss)o(api_)o(get)o (\(\))24 b Fu(.)390 2967 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.) 40 b(The)23 b(new)g(in)m(terface)h(uses)390 3077 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 3187 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 3393 y Fm(gsasl)p 410 3393 37 5 v 55 w(serv)m(er)p 787 3393 V 54 w(callbac)m(k)p 1269 3393 V 52 w(gssapi)p 1640 3393 V 55 w(get)3350 3597 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(gss)q(api)565 3706 y (gsasl_server_callback_)q(gss)q(api)q(_ge)q(t)51 b Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fh(\))390 3816 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3957 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_gs)o(sap)o (i_se)o(t\(\))24 b Fu(.)390 4099 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f(calling)h Fo(gsasl_server_callback_)390 4208 y(gssapi_set\(\))27 b Fu(.)390 4350 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 4460 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 4569 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 4775 y Fm(gsasl)p 410 4775 V 55 w(serv)m(er)p 787 4775 V 54 w(callbac)m(k)p 1269 4775 V 52 w(service)p 1685 4775 V 54 w(set)3350 4979 y Fu([F)-8 b(unction])-3599 b Fi(void)54 b(gsasl_server_callback_se)q(rvi)q(ce_)q(set)e Fh(\()p Fg(Gsasl)34 b(*)f Ff(ctx)p Fg(,)565 5089 y(Gsasl)p 806 5089 30 5 v 44 w(serv)m(er)p 1105 5089 V 45 w(callbac)m(k)p 1499 5089 V 43 w(service)h Ff(cb)p Fh(\))390 5198 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 5340 y Fl(cb)r Fu(:)41 b(callbac)m(k)32 b(function)p eop end %%Page: 95 99 TeXDict begin 95 98 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(95)390 299 y(Sp)s(ecify)42 b(the)h(callbac)m(k)i(function)d(to)i(use)e(in)h(the)g(serv)m(er)g(to)g (set)g(the)g(name)g(of)g(the)g(service.)390 408 y(The)26 b(service)h(bu\013er)e(should)g(b)s(e)g(a)i(registered)g(GSSAPI)e (host-based)h(service)h(name,)h(hostname)390 518 y(the)39 b(name)g(of)g(the)g(serv)m(er.)66 b(The)39 b(function)f(can)h(b)s(e)g (later)g(retriev)m(ed)h(using)f Fo(gsasl_server_)390 628 y(callback_service_get\(\))24 b Fu(.)390 763 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h(part)f(of)g(the)h(old)f(callbac)m(k)i (in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 873 y Fo(gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h (callbac)m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 982 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i(the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.) 150 1182 y Fm(gsasl)p 410 1182 37 5 v 55 w(serv)m(er)p 787 1182 V 54 w(callbac)m(k)p 1269 1182 V 52 w(service)p 1685 1182 V 54 w(get)3350 1380 y Fu([F)-8 b(unction])-3599 b Fi(Gsasl_server_callback_)q(ser)q(vice)565 1489 y (gsasl_server_callback_)q(ser)q(vic)q(e_g)q(et)52 b Fh(\()p Fg(Gsasl)33 b(*)g Ff(ctx)p Fh(\))390 1599 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1734 y(Get)g(the)g(callbac)m(k)h (earlier)g(set)f(b)m(y)f(calling)i Fo(gsasl_server_callback_se)o(rvi)o (ce_s)o(et\(\))24 b Fu(.)390 1870 y(Return)34 b(v)-5 b(alue:)50 b(Returns)34 b(the)h(callbac)m(k)j(earlier)d(set)h(b)m(y)f (calling)h Fo(gsasl_server_callback_)390 1979 y(service_set\(\))27 b Fu(.)390 2115 y Fd(Deprecated:)38 b Fu(This)22 b(function)h(is)h (part)f(of)g(the)h(old)f(callbac)m(k)i(in)m(terface.)40 b(The)23 b(new)g(in)m(terface)h(uses)390 2224 y Fo (gsasl_callback_set\(\))f Fu(to)30 b(set)g(the)f(application)h(callbac) m(k,)i(and)c(uses)g Fo(gsasl_callback\(\))390 2334 y Fu(or)i Fo(gsasl_property_get\(\))25 b Fu(to)31 b(in)m(v)m(ok)m(e)i (the)d(callbac)m(k)j(for)d(certain)h(prop)s(erties.)150 2534 y Fm(gsasl)p 410 2534 V 55 w(stringprep)p 1016 2534 V 55 w(nfk)m(c)3350 2731 y Fu([F)-8 b(unction])-3599 b Fi(char)54 b(*)e(gsasl_stringprep_nfkc)g Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)g(ssize)p 2624 2731 30 5 v 45 w(t)g Ff(len)p Fh(\))390 2841 y Fl(in)p Fu(:)40 b(a)31 b(UTF-8)g(enco)s(ded)f(string.)390 2976 y Fl(len)p Fu(:)41 b(length)31 b(of)f Fo(str)g Fu(,)g(in)g(b)m(ytes,)h(or)g(-1)g (if)f Fo(str)g Fu(is)g(n)m(ul-terminated.)390 3112 y(Con)m(v)m(erts)22 b(a)g(string)f(in)m(to)h(canonical)h(form,)g(standardizing)e(suc)m(h)g (issues)g(as)g(whether)g(a)g(c)m(haracter)390 3221 y(with)28 b(an)g(accen)m(t)j(is)d(represen)m(ted)g(as)h(a)f(base)h(c)m(haracter)h (and)e(com)m(bining)g(accen)m(t)j(or)d(as)h(a)f(single)390 3331 y(precomp)s(osed)i(c)m(haracter.)390 3466 y(The)24 b(normalization)h(mo)s(de)f(is)g(NFK)m(C)g(\(ALL)g(COMPOSE\).)g(It)g (standardizes)g(di\013erences)g(that)390 3576 y(do)38 b(not)h(a\013ect)h(the)e(text)i(con)m(ten)m(t,)i(suc)m(h)d(as)f(the)h (ab)s(o)m(v)m(e-men)m(tioned)h(accen)m(t)h(represen)m(tation.)390 3685 y(It)35 b(standardizes)h(the)f Fo(")p Fu(compatibilit)m(y)p Fo(")i Fu(c)m(haracters)g(in)e(Unico)s(de,)i(suc)m(h)e(as)g (SUPERSCRIPT)390 3795 y(THREE)24 b(to)i(the)f(standard)f(forms)g(\(in)h (this)g(case)h(DIGIT)f(THREE\).)g(F)-8 b(ormatting)27 b(information)390 3905 y(ma)m(y)38 b(b)s(e)e(lost)i(but)e(for)g(most)i (text)g(op)s(erations)f(suc)m(h)f(c)m(haracters)j(should)d(b)s(e)g (considered)h(the)390 4014 y(same.)k(It)30 b(returns)f(a)i(result)f (with)f(comp)s(osed)h(forms)g(rather)g(than)g(a)g(maximally)h(decomp)s (osed)390 4124 y(form.)390 4259 y(Return)d(v)-5 b(alue:)40 b(Return)27 b(a)i(newly)f(allo)s(cated)j(string,)d(that)h(is)g(the)f (NFK)m(C)h(normalized)g(form)f(of)390 4369 y Fo(str)h Fu(,)i(or)f(NULL)h(on)f(error.)390 4504 y Fd(Deprecated:)48 b Fu(No)34 b(replacemen)m(t)h(functionalit)m(y)g(in)e(GNU)h(SASL,)f (use)g(GNU)h(Libidn)e(instead.)390 4614 y(Note)h(that)g(in)e(SASL,)h(y) m(ou)g(most)g(lik)m(ely)i(w)m(an)m(t)e(to)h(use)f(SASLprep)e(and)h(not) h(bare)g(NFK)m(C,)g(see)390 4723 y Fo(gsasl_saslprep\(\))26 b Fu(.)150 4923 y Fm(gsasl)p 410 4923 37 5 v 55 w(stringprep)p 1016 4923 V 55 w(saslprep)3350 5121 y Fu([F)-8 b(unction])-3599 b Fi(char)54 b(*)e(gsasl_stringprep_saslp)q(rep)g Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)h(in)m(t)f(*)565 5230 y Ff(stringprep_rc)p Fh(\))390 5340 y Fl(in)p Fu(:)40 b(input)30 b(ASCI)s(I)f(or)h(UTF-8)h(string)g(with)f(data)h(to)g (prepare)f(according)h(to)g(SASLprep.)p eop end %%Page: 96 100 TeXDict begin 96 99 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(96)390 299 y Fl(stringprep)p 802 299 28 4 v 39 w(rc)6 b Fu(:)62 b(p)s(oin)m(ter)41 b(to)h(output)e(v)-5 b(ariable)42 b(with)f(stringprep)f(error)h(co)s (de,)j(or)d(NULL)g(to)390 408 y(indicate)31 b(that)g(y)m(ou)g(don't)f (care)i(ab)s(out)e(it.)390 535 y(Pro)s(cess)39 b(a)g(Unico)s(de)g (string)g(for)g(comparison,)j(according)e(to)f(the)h Fo(")p Fu(SASLprep)p Fo(")c Fu(stringprep)390 645 y(pro\014le.)46 b(This)32 b(function)g(is)g(in)m(tended)g(to)h(b)s(e)f(used)f(b)m(y)i (Simple)f(Authen)m(tication)i(and)e(Securit)m(y)390 754 y(La)m(y)m(er)24 b(\(SASL\))e(mec)m(hanisms)h(\(suc)m(h)g(as)g(PLAIN,)g (CRAM-MD5,)j(and)d(DIGEST-MD5\))h(as)f(w)m(ell)390 864 y(as)31 b(other)f(proto)s(cols)h(exc)m(hanging)h(user)e(names)g(and/or) g(passw)m(ords.)390 990 y(Return)41 b(v)-5 b(alue:)64 b(Return)42 b(a)g(newly)g(allo)s(cated)i(string)d(that)i(is)f(the)g Fo(")p Fu(SASLprep)p Fo(")d Fu(pro)s(cessed)390 1100 y(form)e(of)g(the)h(input)e(string,)j(or)e(NULL)h(on)f(error,)i(in)e (whic)m(h)g(case)h Fo(stringprep_rc)c Fu(con)m(tain)390 1210 y(the)d(stringprep)e(library)h(error)g(co)s(de.)390 1336 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_saslprep\(\))c Fu(instead.)150 1519 y Fm(gsasl)p 410 1519 37 5 v 55 w(stringprep)p 1016 1519 V 55 w(trace)3350 1700 y Fu([F)-8 b(unction])-3599 b Fi(char)54 b(*)e(gsasl_stringprep_trace)g Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(in)p Fg(,)h(in)m(t)f(*)565 1810 y Ff(stringprep_rc)p Fh(\))390 1920 y Fl(in)p Fu(:)40 b(input)30 b(ASCI)s(I)f(or)h(UTF-8)h(string)g(with)f(data)h(to)g (prepare)f(according)h(to)g Fo(")p Fu(trace)p Fo(")p Fu(.)390 2046 y Fl(stringprep)p 802 2046 28 4 v 39 w(rc)6 b Fu(:)62 b(p)s(oin)m(ter)41 b(to)h(output)e(v)-5 b(ariable)42 b(with)f(stringprep)f(error)h(co)s(de,)j(or)d(NULL)g(to)390 2156 y(indicate)31 b(that)g(y)m(ou)g(don't)f(care)i(ab)s(out)e(it.)390 2282 y(Pro)s(cess)25 b(a)g(Unico)s(de)h(string)f(for)g(use)f(as)i (trace)g(information,)h(according)f(to)g(the)f Fo(")p Fu(trace)p Fo(")h Fu(string-)390 2392 y(prep)34 b(pro\014le.)54 b(The)34 b(pro\014le)h(is)g(designed)f(for)h(use)g(with)f(the)h(SASL)f (ANONYMOUS)h(Mec)m(ha-)390 2501 y(nism.)390 2628 y(Return)40 b(v)-5 b(alue:)61 b(Return)39 b(a)i(newly)f(allo)s(cated)i(string)f (that)g(is)f(the)h Fo(")p Fu(trace)p Fo(")g Fu(pro)s(cessed)e(form)390 2738 y(of)j(the)g(input)e(string,)45 b(or)c(NULL)h(on)f(error,)k(in)c (whic)m(h)g(case)i Fo(stringprep_rc)38 b Fu(con)m(tain)43 b(the)390 2847 y(stringprep)29 b(library)h(error)g(co)s(de.)390 2974 y Fd(Deprecated:)42 b Fu(No)31 b(replacemen)m(t)g(functionalit)m (y)h(in)e(GNU)h(SASL,)f(use)g(GNU)h(Libidn)e(instead.)150 3157 y Fm(gsasl)p 410 3157 37 5 v 55 w(md5p)m(wd)p 918 3157 V 54 w(get)p 1137 3157 V 54 w(passw)m(ord)3350 3338 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_md5pwd_get_pass)q(word) f Fh(\()p Fg(const)34 b(c)m(har)g(*)f Ff(filename)p Fg(,)j(const)565 3448 y(c)m(har)e(*)f Ff(username)p Fg(,)i(c)m(har)f(*)f Ff(key)p Fg(,)h(size)p 2028 3448 30 5 v 44 w(t)f(*)g Ff(keylen)p Fh(\))390 3557 y Fl(\014lename)5 b Fu(:)41 b(\014lename)31 b(of)f(\014le)h(con)m(taining)h(passw)m(ords.)390 3684 y Fl(username)5 b Fu(:)40 b(username)30 b(string.)390 3810 y Fl(k)m(ey)8 b Fu(:)41 b(output)30 b(c)m(haracter)i(arra)m(y)-8 b(.)390 3937 y Fl(k)m(eylen)p Fu(:)63 b(input)39 b(maxim)m(um)i(size)h (of)f(output)f(c)m(haracter)j(arra)m(y)-8 b(,)44 b(on)d(output)g(con)m (tains)h(actual)390 4046 y(length)31 b(of)f(output)g(arra)m(y)-8 b(.)390 4173 y(Retriev)m(e)29 b(passw)m(ord)e(for)g(user)g(from)g(sp)s (eci\014ed)g(\014le.)39 b(T)-8 b(o)28 b(\014nd)e(out)i(ho)m(w)f(large)i (the)e(output)g(arra)m(y)390 4283 y(m)m(ust)j(b)s(e,)g(call)i(this)e (function)g(with)g(out=NULL.)390 4409 y(The)k(\014le)g(should)g(b)s(e)f (on)h(the)h(UoW)g Fo(")p Fu(MD5)g(Based)g(Authen)m(tication)p Fo(")h Fu(format,)g(whic)m(h)e(means)390 4519 y(it)g(is)f(in)g(text)i (format)e(with)g(commen)m(ts)i(denoted)e(b)m(y)g(#)g(\014rst)g(on)g (the)h(line,)g(with)f(user)g(en)m(tries)390 4628 y(lo)s(oking)h(as)f Fo(")p Fu(usernameT)-8 b(ABpassw)m(ord)p Fo(")p Fu(.)48 b(This)33 b(function)f(remo)m(v)m(es)j(CR)e(and)f(LF)h(at)h(the)g(end) 390 4738 y(of)40 b(lines)g(b)s(efore)g(pro)s(cessing.)69 b(T)-8 b(AB,)41 b(CR,)f(and)f(LF)h(denote)g(ASCI)s(I)f(v)-5 b(alues)40 b(9,)j(13,)g(and)d(10,)390 4847 y(resp)s(ectiv)m(ely)-8 b(.)390 4974 y(Return)72 b(v)-5 b(alue:)125 b(Return)71 b(GSASL)p 1751 4974 28 4 v 39 w(OK)h(if)g(output)g(bu\013er)f(con)m (tains)j(the)e(passw)m(ord,)390 5084 y(GSASL)p 694 5084 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1593 5084 V 40 w(ERR)m(OR)28 b(if)g(the)h(user)e(could)i(not)f(b)s(e)g(found,)g(or)g(other)g(error) 390 5193 y(co)s(de.)390 5320 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_simple_getpass\(\))25 b Fu(instead.)p eop end %%Page: 97 101 TeXDict begin 97 100 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(97)150 299 y Fm(gsasl)p 410 299 37 5 v 55 w(base64)p 819 299 V 55 w(enco)s(de)3350 498 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_base64_encode)e Fh(\()p Fg(c)m(har)34 b(const)f(*)g Ff(src)p Fg(,)g(size)p 2374 498 30 5 v 45 w(t)f Ff(srclength)p Fg(,)k(c)m(har)565 607 y(*)d Ff(target)p Fg(,)i(size)p 1185 607 V 44 w(t)e Ff(targsize)p Fh(\))390 717 y Fl(src)6 b Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)390 853 y Fl(srclength)p Fu(:)41 b(size)31 b(of)g(input)e(b)m(yte)i(arra)m(y)390 990 y Fl(target)r Fu(:)42 b(output)30 b(b)m(yte)h(arra)m(y)390 1126 y Fl(targsize)5 b Fu(:)43 b(size)31 b(of)f(output)g(b)m(yte)h (arra)m(y)390 1262 y(Enco)s(de)c(data)h(as)g(base64.)41 b(Con)m(v)m(erts)28 b(c)m(haracters,)i(three)d(at)i(a)e(time,)i (starting)g(at)f(src)f(in)m(to)i(four)390 1372 y(base64)i(c)m (haracters)h(in)e(the)h(target)h(area)f(un)m(til)g(the)f(en)m(tire)i (input)d(bu\013er)g(is)i(enco)s(ded.)390 1508 y(Return)f(v)-5 b(alue:)41 b(Returns)29 b(the)i(n)m(um)m(b)s(er)e(of)h(data)h(b)m(ytes) g(stored)g(at)g(the)g(target,)h(or)e(-1)h(on)f(error.)390 1645 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_base64_to\(\))c Fu(instead.)150 1846 y Fm(gsasl)p 410 1846 37 5 v 55 w(base64)p 819 1846 V 55 w(deco)s(de)3350 2045 y Fu([F)-8 b(unction])-3599 b Fi(int)53 b(gsasl_base64_decode)e Fh(\()p Fg(c)m(har)35 b(const)e(*)g Ff(src)p Fg(,)h(c)m(har)g(*)f Ff(target)p Fg(,)i(size)p 3053 2045 30 5 v 44 w(t)565 2154 y Ff(targsize)p Fh(\))390 2264 y Fl(src)6 b Fu(:)40 b(input)29 b(b)m(yte)i(arra)m(y)390 2400 y Fl(target)r Fu(:)42 b(output)30 b(b)m(yte)h(arra)m(y)390 2537 y Fl(targsize)5 b Fu(:)43 b(size)31 b(of)f(output)g(b)m(yte)h(arra)m(y)390 2673 y(Deco)s(de)39 b(Base64)i(data.)65 b(Skips)38 b(all)h(whitespace)g (an)m(ywhere.)64 b(Con)m(v)m(erts)39 b(c)m(haracters,)k(four)37 b(at)390 2783 y(a)e(time,)i(starting)e(at)g(\(or)g(after\))h(src)e (from)g(Base64)j(n)m(um)m(b)s(ers)c(in)m(to)j(three)f(8)g(bit)f(b)m (ytes)h(in)g(the)390 2892 y(target)d(area.)390 3029 y(Return)e(v)-5 b(alue:)41 b(Returns)29 b(the)i(n)m(um)m(b)s(er)e(of)h(data)h(b)m(ytes) g(stored)g(at)g(the)g(target,)h(or)e(-1)h(on)f(error.)390 3165 y Fd(Deprecated:)42 b Fu(Use)30 b Fo(gsasl_base64_from\(\))25 b Fu(instead.)150 3409 y Ft(B.1)67 b(Obsolete)47 b(callbac)l(k)f (function)e(protot)l(yp)t(es)3302 3620 y Fu([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_client_callba)q(ck_a)q(non)q(ymo)q(us\))f Fh(\()p Fg(Gsasl)p 2459 3620 V 44 w(session)p 2797 3620 V 45 w(ctx)33 b(*)565 3729 y Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(out)p Fg(,)h(size)p 1465 3729 V 44 w(t)f(*)g Ff(outlen)p Fh(\))390 3839 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3975 y Fl(out)r Fu(:)41 b(output)30 b(arra)m(y)h(with)f(clien)m(t)i (tok)m(en.)390 4112 y Fl(outlen)p Fu(:)39 b(on)25 b(input)f(the)h (maxim)m(um)h(size)g(of)f(the)g(output)g(arra)m(y)-8 b(,)28 b(on)d(output)g(con)m(tains)h(the)g(actual)390 4221 y(size)31 b(of)g(the)f(output)g(arra)m(y)-8 b(.)390 4358 y(T)m(yp)s(e)28 b(of)i(callbac)m(k)h(function)d(the)h(application) i(implemen)m(ts.)40 b(It)29 b(should)f(p)s(opulate)h(the)g(output)390 4467 y(arra)m(y)41 b(with)f(some)h(input)e(from)h(the)g(user)g(and)g (set)h(the)f(output)g(arra)m(y)h(length,)i(and)d(return)390 4577 y Fo(GSASL_OK)p Fu(,)28 b(or)j(fail)g(with)f(an)g(error)g(co)s (de.)390 4713 y(If)g(OUT)f(is)i(NULL,)f(the)h(function)e(should)h(only) g(p)s(opulate)g(the)h(output)e(length)i(\014eld)f(with)g(the)390 4823 y(length,)g(and)f(return)f(GSASL)p 1449 4823 28 4 v 39 w(OK.)h(This)g(usage)h(ma)m(y)g(b)s(e)e(used)h(b)m(y)g(the)g (caller)i(to)f(allo)s(cate)i(the)390 4933 y(prop)s(er)d(bu\013er)g (size.)3302 5121 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_server_callba)q(ck_a)q(non)q(ymo)q(us\))f Fh(\()p Fg(Gsasl)p 2459 5121 30 5 v 44 w(session)p 2797 5121 V 45 w(ctx)33 b(*)565 5230 y Ff(ctx)p Fg(,)h(const)g(c)m(har)f(*)h Ff(token)p Fh(\))390 5340 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)p eop end %%Page: 98 102 TeXDict begin 98 101 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(98)390 299 y Fl(ctx)6 b Fu(:)42 b(output)30 b(arra)m(y)h(with)f(clien)m(t)i(tok)m(en.)390 432 y Fl(ctx)6 b Fu(:)48 b(on)34 b(input)e(the)i(maxim)m(um)g(size)g (of)g(the)g(output)f(arra)m(y)-8 b(,)35 b(on)f(output)f(con)m(tains)i (the)f(actual)390 542 y(size)d(of)g(the)f(output)g(arra)m(y)-8 b(.)42 b(If)30 b(OUT)g(is)390 675 y(T)m(yp)s(e)40 b(of)h(callbac)m(k)i (function)e(the)g(application)h(implemen)m(ts.)73 b(It)41 b(should)e(return)h Fo(GSASL_OK)390 785 y Fu(if)f(user)g(should)f(b)s (e)h(p)s(ermitted)g(anon)m(ymous)g(access,)k(otherwise)d Fo(GSASL_AUTHENTICATION_)390 894 y(ERROR)p Fu(.)3302 1076 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_client_callba)q (ck_a)q(uth)q(ent)q(ica)q(tion)q(_id)q(\))565 1185 y Fh(\()p Fg(Gsasl)p 841 1185 30 5 v 45 w(session)p 1180 1185 V 44 w(ctx)33 b(*)g Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(out)p Fg(,)h(size)p 2369 1185 V 44 w(t)f(*)g Ff(outlen)p Fh(\))390 1295 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 1428 y Fl(out)r Fu(:)41 b(output)30 b(arra)m(y)h(with)f(authen)m (tication)i(iden)m(tit)m(y)-8 b(.)390 1562 y Fl(outlen)p Fu(:)39 b(on)25 b(input)f(the)h(maxim)m(um)h(size)g(of)f(the)g(output)g (arra)m(y)-8 b(,)28 b(on)d(output)g(con)m(tains)h(the)g(actual)390 1671 y(size)31 b(of)g(the)f(output)g(arra)m(y)-8 b(.)390 1805 y(T)m(yp)s(e)28 b(of)i(callbac)m(k)h(function)d(the)h(application) i(implemen)m(ts.)40 b(It)29 b(should)f(p)s(opulate)h(the)g(output)390 1914 y(arra)m(y)h(with)f(authen)m(tiction)i(iden)m(tit)m(y)g(of)e(user) g(and)f(set)i(the)g(output)e(arra)m(y)i(length,)g(and)f(return)390 2024 y Fo(GSASL_OK)p Fu(,)34 b(or)g(fail)h(with)g(an)f(error)g(co)s (de.)54 b(The)34 b(authen)m(tication)j(iden)m(tit)m(y)f(m)m(ust)e(b)s (e)g(enco)s(ded)390 2133 y(in)c(UTF-8,)i(but)d(need)h(not)h(b)s(e)f (normalized)h(in)f(an)m(y)g(w)m(a)m(y)-8 b(.)390 2267 y(If)30 b(OUT)f(is)i(NULL,)f(the)h(function)e(should)h(only)g(p)s (opulate)g(the)h(output)e(length)i(\014eld)f(with)g(the)390 2376 y(length,)g(and)f(return)f(GSASL)p 1449 2376 28 4 v 39 w(OK.)h(This)g(usage)h(ma)m(y)g(b)s(e)e(used)h(b)m(y)g(the)g (caller)i(to)f(allo)s(cate)i(the)390 2486 y(prop)s(er)d(bu\013er)g (size.)3302 2667 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_client_callba)q(ck_a)q(uth)q(ori)q(zat)q(ion_)q(id\))565 2777 y Fh(\()p Fg(Gsasl)p 841 2777 30 5 v 45 w(session)p 1180 2777 V 44 w(ctx)33 b(*)g Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(out)p Fg(,)h(size)p 2369 2777 V 44 w(t)f(*)g Ff(outlen)p Fh(\))390 2886 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3020 y Fl(out)r Fu(:)41 b(output)30 b(arra)m(y)h(with)f(authorization)i (iden)m(tit)m(y)-8 b(.)390 3153 y Fl(outlen)p Fu(:)39 b(on)25 b(input)f(the)h(maxim)m(um)h(size)g(of)f(the)g(output)g(arra)m (y)-8 b(,)28 b(on)d(output)g(con)m(tains)h(the)g(actual)390 3263 y(size)31 b(of)g(the)f(output)g(arra)m(y)-8 b(.)390 3396 y(T)m(yp)s(e)28 b(of)i(callbac)m(k)h(function)d(the)h(application) i(implemen)m(ts.)40 b(It)29 b(should)f(p)s(opulate)h(the)g(output)390 3506 y(arra)m(y)h(with)e(authorization)j(iden)m(tit)m(y)f(of)g(user)e (and)g(set)i(the)f(output)g(arra)m(y)h(length,)g(and)e(return)390 3615 y Fo(GSASL_OK)p Fu(,)g(or)i(fail)h(with)f(an)g(error)f(co)s(de.)41 b(The)30 b(authorization)h(iden)m(tit)m(y)h(m)m(ust)e(b)s(e)g(enco)s (ded)f(in)390 3725 y(UTF-8,)i(but)f(need)g(not)h(b)s(e)f(normalized)h (in)f(an)m(y)g(w)m(a)m(y)-8 b(.)390 3858 y(If)30 b(OUT)f(is)i(NULL,)f (the)h(function)e(should)h(only)g(p)s(opulate)g(the)h(output)e(length)i (\014eld)f(with)g(the)390 3968 y(length,)g(and)f(return)f(GSASL)p 1449 3968 28 4 v 39 w(OK.)h(This)g(usage)h(ma)m(y)g(b)s(e)e(used)h(b)m (y)g(the)g(caller)i(to)f(allo)s(cate)i(the)390 4077 y(prop)s(er)d (bu\013er)g(size.)3302 4258 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_client_callba)q(ck_s)q(erv)q(ice)q(\))e Fh(\()p Fg(Gsasl)p 2354 4258 30 5 v 45 w(session)p 2693 4258 V 45 w(ctx)32 b(*)565 4368 y Ff(ctx)p Fg(,)i(c)m(har)g(*)f Ff(service)p Fg(,)i(size)p 1674 4368 V 44 w(t)e(*)g Ff(servicelen)p Fg(,)j(c)m(har)e(*)f Ff(hostname)p Fg(,)i(size)p 3393 4368 V 45 w(t)e(*)565 4478 y Ff(hostnamelen)p Fg(,)j(c)m(har)e(*)f Ff(servicename)p Fg(,)j(size)p 2301 4478 V 45 w(t)d(*)g Ff(servicenamelen)p Fh(\))390 4587 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4721 y Fl(service)5 b Fu(:)42 b(output)30 b(arra)m(y)h(with)f(name)g(of)h(service.)390 4854 y Fl(servicelen)p Fu(:)39 b(on)24 b(input)g(the)h(maxim)m(um)g (size)g(of)g(the)g(service)h(output)e(arra)m(y)-8 b(,)27 b(on)d(output)h(con)m(tains)390 4964 y(the)31 b(actual)g(size)h(of)e (the)h(service)g(output)f(arra)m(y)-8 b(.)390 5097 y Fl(hostname)5 b Fu(:)41 b(output)30 b(arra)m(y)h(with)f(hostname)h(of)f (serv)m(er.)390 5230 y Fl(hostnamelen)p Fu(:)50 b(on)35 b(input)f(the)h(maxim)m(um)g(size)h(of)f(the)g(hostname)g(output)f (arra)m(y)-8 b(,)38 b(on)c(output)390 5340 y(con)m(tains)e(the)e (actual)i(size)f(of)g(the)f(hostname)h(output)f(arra)m(y)-8 b(.)p eop end %%Page: 99 103 TeXDict begin 99 102 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2411 b(99)390 299 y Fl(servicename)5 b Fu(:)97 b(output)57 b(arra)m(y)h(with)g(generic)g(name)g(of)g(serv)m (er)g(in)g(case)h(of)f(replication)390 408 y(\(DIGEST-MD5)32 b(only\).)390 539 y Fl(servicenamelen)p Fu(:)68 b(on)43 b(input)g(the)h(maxim)m(um)f(size)h(of)g(the)g(servicename)g(output)f (arra)m(y)-8 b(,)48 b(on)390 649 y(output)30 b(con)m(tains)i(the)e (actual)i(size)f(of)g(the)f(servicename)h(output)f(arra)m(y)-8 b(.)390 779 y(T)m(yp)s(e)32 b(of)i(callbac)m(k)h(function)e(the)g (application)h(implemen)m(ts.)49 b(It)33 b(should)f(retriev)m(e)j(the)e (service)390 889 y(\(whic)m(h)42 b(should)f(b)s(e)g(a)i(registered)f (GSSAPI)f(host)h(based)g(service)h(name,)i(suc)m(h)d(as)g(\\imap"\))390 998 y(on)33 b(the)g(serv)m(er,)h(hostname)f(of)h(serv)m(er)f(\(usually) g(canoncial)i(DNS)e(hostname\))g(and)g(optionally)390 1108 y(generic)25 b(service)f(name)f(of)h(serv)m(er)g(in)f(case)i(of)f (replication)g(\(e.g.)40 b(\\mail.example.org")27 b(when)c(the)390 1217 y(hostname)28 b(is)g(\\mx42.example.org",)j(see)e(the)f(RF)m(C)g (2831)h(for)f(more)g(information\).)40 b(It)28 b(should)390 1327 y(return)k(GSASL)p 975 1327 28 4 v 40 w(OK,)h(or)g(an)h(error)f (suc)m(h)g(as)h(GSASL)p 2306 1327 V 39 w(A)m(UTHENTICA)-8 b(TION)p 3205 1327 V 40 w(ERR)m(OR)33 b(if)g(it)390 1437 y(fails.)390 1567 y(If)j(SER)-10 b(VICE,)35 b(HOSTNAME)h(or)h(SER)-10 b(VICENAME)35 b(is)i(NULL,)g(the)f(function)g(should)g(only)390 1677 y(p)s(opulate)23 b(SER)-10 b(VICELEN,)22 b(HOSTNAMELEN)h(or)g(SER) -10 b(VICENAMELEN)23 b(with)g(the)g(output)390 1786 y(length)k(of)g (the)g(resp)s(ectiv)m(e)h(\014eld,)g(and)e(return)g(GSASL)p 2308 1786 V 39 w(OK.)h(This)f(usage)h(ma)m(y)h(b)s(e)e(used)g(b)m(y)h (the)390 1896 y(caller)g(to)f(allo)s(cate)j(the)c(prop)s(er)g(bu\013er) f(size.)40 b(F)-8 b(urthermore,)27 b(SER)-10 b(VICENAMELEN)25 b(ma)m(y)h(also)390 2005 y(b)s(e)k(NULL,)g(indicating)i(that)f(the)f (mec)m(hanism)h(is)f(not)h(in)m(terested)g(in)f(this)h(\014eld.)3302 2178 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_server_callba)q (ck_c)q(ram)q(_md)q(5\))f Fh(\()p Fg(Gsasl)p 2407 2178 30 5 v 44 w(session)p 2745 2178 V 45 w(ctx)33 b(*)565 2287 y Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(username)p Fg(,)i(c)m(har)f(*)f Ff(challenge)p Fg(,)j(c)m(har)e(*)f Ff(response)p Fh(\))390 2397 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2527 y Fl(username)5 b Fu(:)40 b(input)30 b(arra)m(y)h(with)f (username.)390 2658 y Fl(c)m(hallenge)5 b Fu(:)43 b(input)29 b(arra)m(y)i(with)f(CRAM-MD5)i(c)m(hallenge.)390 2788 y Fl(resp)s(onse)5 b Fu(:)40 b(input)29 b(arra)m(y)i(with)f(CRAM-MD5)i (resp)s(onse.)390 2919 y(T)m(yp)s(e)79 b(of)g(callbac)m(k)j(function)c (the)i(application)h(implemen)m(ts.)187 b(It)80 b(should)e(return)390 3028 y(GSASL)p 694 3028 28 4 v 39 w(OK)41 b(if)g(and)g(only)h(if)f(the) g(v)-5 b(alidation)43 b(of)f(the)f(pro)m(vided)g(creden)m(tial)i(w)m (as)f(succesful.)390 3138 y(GSASL)p 694 3138 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1593 3138 V 40 w(ERR)m(OR)30 b(is)g(a)h(go)s(o)s(d)f(failure)g (if)g(authen)m(tication)j(failed,)e(but)390 3247 y(an)m(y)g(a)m(v)-5 b(ailable)32 b(return)e(co)s(de)g(ma)m(y)h(b)s(e)f(used.)3302 3420 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_server_callba)q (ck_d)q(ige)q(st_)q(md5)q(\))e Fh(\()p Fg(Gsasl)p 2511 3420 30 5 v 45 w(session)p 2850 3420 V 45 w(ctx)32 b(*)565 3529 y Ff(ctx)p Fg(,)i(c)m(har)g(*)f Ff(username)p Fg(,)i(c)m(har)f(*)f Ff(realm)p Fg(,)h(c)m(har)g(*)f Ff(secrethash)p Fh(\))390 3639 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 3769 y Fl(username)5 b Fu(:)40 b(input)30 b(arra)m(y)h(with)f(authen)m (tication)i(iden)m(tit)m(y)g(of)f(user.)390 3900 y Fl(realm)p Fu(:)41 b(input)30 b(arra)m(y)g(with)h(realm)f(of)h(user.)390 4030 y Fl(secrethash)p Fu(:)42 b(output)30 b(arra)m(y)h(that)g(should)f (con)m(tain)i(hash)e(of)h(username,)f(realm)i(and)e(passw)m(ord)390 4140 y(as)h(describ)s(ed)e(for)h(the)h(DIGEST-MD5)g(mec)m(hanism.)390 4270 y(T)m(yp)s(e)k(of)i(callbac)m(k)h(function)d(the)h(application)i (implemen)m(ts.)57 b(It)37 b(should)d(retriev)m(e)k(the)e(secret)390 4380 y(hash)g(for)g(the)g(giv)m(en)h(user)f(in)g(giv)m(en)h(realm)g (and)f(return)f(GSASL)p 2743 4380 28 4 v 39 w(OK,)h(or)h(an)f(error)g (suc)m(h)g(as)390 4489 y(GSASL)p 694 4489 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1593 4489 V 40 w(ERR)m(OR)23 b(if)g(it)g(fails.)39 b(The)23 b(secrethash)g(bu\013er)f(is)h(guaran)m(teed)390 4599 y(to)31 b(ha)m(v)m(e)h(size)f(for)f(the)h(\014xed)e(length)i(MD5)h (hash.)3302 4771 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_server_callba)q(ck_e)q(xte)q(rna)q(l\))f Fh(\()p Fg(Gsasl)p 2407 4771 30 5 v 44 w(session)p 2745 4771 V 45 w(ctx)33 b(*)565 4881 y Ff(ctx)p Fh(\))390 4990 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 5121 y(T)m(yp)s(e)40 b(of)h(callbac)m(k)i(function)e(the)g(application)h (implemen)m(ts.)73 b(It)41 b(should)e(return)h Fo(GSASL_OK)390 5230 y Fu(if)f(user)g(is)g(authen)m(ticated)i(b)m(y)e(out)g(of)h(band)e (means,)j(otherwise)f Fo(GSASL_AUTHENTICATION_)390 5340 y(ERROR)p Fu(.)p eop end %%Page: 100 104 TeXDict begin 100 103 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2366 b(100)3302 299 y([Protot)m(yp)s(e]) -3599 b Fi(int)53 b(\(*Gsasl_server_callba)q(ck_g)q(ssa)q(pi\))f Fh(\()p Fg(Gsasl)p 2302 299 30 5 v 45 w(session)p 2641 299 V 44 w(ctx)33 b(*)g Ff(ctx)p Fg(,)565 408 y(c)m(har)h(*)f Ff(clientname)p Fg(,)j(c)m(har)e(*)f Ff(authentication_id)p Fh(\))390 518 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 680 y Fl(clien)m(tname)5 b Fu(:)43 b(input)29 b(arra)m(y)i(with)f (GSSAPI)f(clien)m(t)j(name.)390 842 y Fl(authen)m(tication)p 967 842 28 4 v 42 w(id)t Fu(:)40 b(input)30 b(arra)m(y)h(with)f(authen) m(tication)i(iden)m(tit)m(y)-8 b(.)390 1004 y(T)m(yp)s(e)32 b(of)h(callbac)m(k)i(function)d(the)h(application)i(implemen)m(ts.)48 b(It)33 b(should)f(return)f(GSASL)p 3575 1004 V 40 w(OK)390 1113 y(if)c(and)g(only)h(if)g(the)f(GSSAPI)g(user)g(is)g(authorized)h (to)h(log)f(on)g(as)f(the)h(giv)m(en)h(authen)m(tication)p 3613 1113 V 42 w(id.)390 1223 y(GSASL)p 694 1223 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1593 1223 V 40 w(ERR)m(OR)30 b(is)g(a)h(go)s(o)s(d)f(failure)g(if)g(authen)m(tication)j(failed,)e (but)390 1333 y(an)m(y)i(a)m(v)-5 b(ailable)35 b(return)d(co)s(de)g(ma) m(y)i(b)s(e)e(used.)47 b(This)31 b(callbac)m(k)k(is)e(usually)f (implemen)m(ted)h(in)g(the)390 1442 y(application)f(as)e(a)h(call)h(to) f(krb5)p 1511 1442 V 39 w(kuserok\(\),)g(suc)m(h)f(as:)630 1604 y Fo(int)630 1714 y(callback_gssapi)44 b(\(Gsasl_session_ctx)e (*ctx,)678 1823 y(char)k(*clientname,)678 1933 y(char)g (*authentication_id\))630 2042 y({)725 2152 y(int)h(rc)h(=)f (GSASL_AUTHENTICATION_ERR)o(OR;)725 2371 y(krb5_principal)d(p;)725 2481 y(krb5_context)h(kcontext;)725 2700 y(krb5_init_context)f (\(&kcontext\);)725 2919 y(if)k(\(krb5_parse_name)43 b(\(kcontext,)i(clientname,)g(&p\))i(!=)g(0\))821 3029 y(return)f(-1;)725 3138 y(if)i(\(krb5_kuserok)c(\(kcontext,)h(p,)i (authentication_id\)\))821 3248 y(rc)g(=)h(GSASL_OK;)725 3357 y(krb5_free_principal)43 b(\(kcontext,)i(p\);)725 3577 y(return)i(rc;)630 3686 y(})3302 3925 y Fu([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_client_callba)q(ck_p)q(ass)q(cod)q(e\))f Fh(\()p Fg(Gsasl)p 2407 3925 30 5 v 44 w(session)p 2745 3925 V 45 w(ctx)33 b(*)565 4035 y Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(out)p Fg(,)h(size)p 1465 4035 V 44 w(t)f(*)g Ff(outlen)p Fh(\))390 4144 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4306 y Fl(out)r Fu(:)41 b(output)30 b(arra)m(y)h(with)f(passco)s(de.) 390 4468 y Fl(outlen)p Fu(:)39 b(on)25 b(input)f(the)h(maxim)m(um)h (size)g(of)f(the)g(output)g(arra)m(y)-8 b(,)28 b(on)d(output)g(con)m (tains)h(the)g(actual)390 4578 y(size)31 b(of)g(the)f(output)g(arra)m (y)-8 b(.)390 4740 y(T)m(yp)s(e)28 b(of)i(callbac)m(k)h(function)d(the) h(application)i(implemen)m(ts.)40 b(It)29 b(should)f(p)s(opulate)h(the) g(output)390 4849 y(arra)m(y)36 b(with)f(passco)s(de)g(of)g(user)g(and) g(set)h(the)f(output)g(arra)m(y)h(length,)h(and)e(return)f Fo(GSASL_OK)p Fu(,)390 4959 y(or)c(fail)h(with)f(an)h(error)f(co)s(de.) 390 5121 y(If)g(OUT)f(is)i(NULL,)f(the)h(function)e(should)h(only)g(p)s (opulate)g(the)h(output)e(length)i(\014eld)f(with)g(the)390 5230 y(length,)g(and)f(return)f(GSASL)p 1449 5230 28 4 v 39 w(OK.)h(This)g(usage)h(ma)m(y)g(b)s(e)e(used)h(b)m(y)g(the)g (caller)i(to)f(allo)s(cate)i(the)390 5340 y(prop)s(er)d(bu\013er)g (size.)p eop end %%Page: 101 105 TeXDict begin 101 104 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Old)e(F)-8 b(unctions)2366 b(101)3302 299 y([Protot)m(yp)s(e]) -3599 b Fi(int)53 b(\(*Gsasl_client_callba)q(ck_p)q(ass)q(wor)q(d\))f Fh(\()p Fg(Gsasl)p 2407 299 30 5 v 44 w(session)p 2745 299 V 45 w(ctx)33 b(*)565 408 y Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(out)p Fg(,)h(size)p 1465 408 V 44 w(t)f(*)g Ff(outlen)p Fh(\))390 518 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 657 y Fl(out)r Fu(:)41 b(output)30 b(arra)m(y)h(with)f(passw)m(ord.)390 795 y Fl(outlen)p Fu(:)39 b(on)25 b(input)f(the)h(maxim)m(um)h(size)g (of)f(the)g(output)g(arra)m(y)-8 b(,)28 b(on)d(output)g(con)m(tains)h (the)g(actual)390 905 y(size)31 b(of)g(the)f(output)g(arra)m(y)-8 b(.)390 1043 y(T)m(yp)s(e)28 b(of)i(callbac)m(k)h(function)d(the)h (application)i(implemen)m(ts.)40 b(It)29 b(should)f(p)s(opulate)h(the)g (output)390 1153 y(arra)m(y)35 b(with)e(passw)m(ord)h(of)g(user)g(and)f (set)i(the)f(output)g(arra)m(y)h(length,)g(and)f(return)f Fo(GSASL_OK)p Fu(,)390 1262 y(or)i(fail)g(with)f(an)h(error)f(co)s(de.) 54 b(The)34 b(passw)m(ord)g(m)m(ust)g(b)s(e)g(enco)s(ded)g(in)h(UTF-8,) h(but)e(need)h(not)390 1372 y(b)s(e)30 b(normalized)h(in)f(an)m(y)g(w)m (a)m(y)-8 b(.)390 1511 y(If)30 b(OUT)f(is)i(NULL,)f(the)h(function)e (should)h(only)g(p)s(opulate)g(the)h(output)e(length)i(\014eld)f(with)g (the)390 1620 y(length,)g(and)f(return)f(GSASL)p 1449 1620 28 4 v 39 w(OK.)h(This)g(usage)h(ma)m(y)g(b)s(e)e(used)h(b)m(y)g (the)g(caller)i(to)f(allo)s(cate)i(the)390 1730 y(prop)s(er)d(bu\013er) g(size.)3302 1922 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_server_callba)q(ck_r)q(etr)q(iev)q(e\))f Fh(\()p Fg(Gsasl)p 2407 1922 30 5 v 44 w(session)p 2745 1922 V 45 w(ctx)33 b(*)565 2032 y Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(authentication_id)p Fg(,)38 b(c)m(har)c(*)f Ff(authorization_id)p Fg(,)38 b(c)m(har)33 b(*)565 2141 y Ff(realm)p Fg(,)i(c)m(har)e(*)g Ff(key)p Fg(,)h(size)p 1569 2141 V 45 w(t)f(*)g Ff(keylen)p Fh(\))390 2251 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2389 y Fl(authen)m(tication)p 967 2389 28 4 v 42 w(id)t Fu(:)40 b(input)30 b(arra)m(y)h(with)f(authen)m(tication)i(iden)m(tit)m (y)-8 b(.)390 2528 y Fl(authorization)p 925 2528 V 42 w(id)t Fu(:)40 b(input)29 b(arra)m(y)i(with)f(authorization)i(iden)m (tit)m(y)-8 b(,)32 b(or)f(NULL.)390 2666 y Fl(realm)p Fu(:)41 b(input)30 b(arra)m(y)g(with)h(realm)f(of)h(user,)f(or)g(NULL.) 390 2805 y Fl(k)m(ey)8 b Fu(:)41 b(output)30 b(arra)m(y)h(with)f(k)m (ey)h(for)f(authen)m(tication)j(iden)m(tit)m(y)-8 b(.)390 2943 y Fl(k)m(eylen)p Fu(:)47 b(on)32 b(input)g(the)h(maxim)m(um)g (size)h(of)f(the)g(k)m(ey)g(output)g(arra)m(y)-8 b(,)34 b(on)f(output)g(con)m(tains)h(the)390 3053 y(actual)e(size)f(of)f(the)h (k)m(ey)g(output)f(arra)m(y)-8 b(.)390 3192 y(T)m(yp)s(e)57 b(of)h(callbac)m(k)j(function)c(the)h(application)i(implemen)m(ts.)123 b(It)58 b(should)f(retriev)m(e)j(the)390 3301 y(passw)m(ord)40 b(for)h(the)g(indicated)h(user)e(and)h(return)f(GSASL)p 2499 3301 V 39 w(OK,)h(or)g(an)g(error)g(co)s(de)g(suc)m(h)g(as)390 3411 y(GSASL)p 694 3411 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1593 3411 V 40 w(ERR)m(OR.)45 b(The)f(k)m(ey)i(m)m(ust)e(b)s(e)g(enco)s (ded)h(in)f(UTF-8,)50 b(but)390 3520 y(need)30 b(not)h(b)s(e)e (normalized)i(in)f(an)m(y)h(w)m(a)m(y)-8 b(.)390 3659 y(If)26 b(KEY)g(is)g(NULL,)h(the)f(function)g(should)g(only)g(p)s (opulate)g(the)h(KEYLEN)f(output)g(length)g(\014eld)390 3768 y(with)38 b(the)h(length,)i(and)c(return)h(GSASL)p 1858 3768 V 39 w(OK.)g(This)g(usage)g(ma)m(y)h(b)s(e)f(used)g(b)m(y)g (the)h(caller)g(to)390 3878 y(allo)s(cate)33 b(the)d(prop)s(er)f (bu\013er)h(size.)3302 4070 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_server_callba)q(ck_v)q(ali)q(dat)q(e\))f Fh(\()p Fg(Gsasl)p 2407 4070 30 5 v 44 w(session)p 2745 4070 V 45 w(ctx)33 b(*)565 4180 y Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(authentication_id)p Fg(,)38 b(c)m(har)c(*)f Ff(authorization_id)p Fg(,)38 b(c)m(har)33 b(*)565 4290 y Ff(passcode)p Fg(,)i(c)m(har)f(*)f Ff(pin)p Fg(,)h(c)m(har)g(*)f Ff(suggestpin)p Fg(,)j(size)p 2612 4290 V 44 w(t)d(*)g Ff(suggestpinlen)p Fh(\))390 4399 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4538 y Fl(authorization)p 925 4538 28 4 v 42 w(id)t Fu(:)40 b(input)29 b(arra)m(y)i(with)f(authorization)i(iden)m(tit)m(y)-8 b(.)390 4676 y Fl(authen)m(tication)p 967 4676 V 42 w(id)t Fu(:)40 b(input)30 b(arra)m(y)h(with)f(authen)m(tication)i(iden)m(tit)m (y)-8 b(.)390 4815 y Fl(passco)s(de)5 b Fu(:)41 b(input)29 b(arra)m(y)i(with)f(passco)s(de.)390 4953 y Fl(pin)p Fu(:)40 b(input)29 b(arra)m(y)i(with)f(new)g(pin)g(\(this)g(ma)m(y)h(b) s(e)f(NULL\).)390 5092 y Fl(suggestpin)p Fu(:)41 b(output)30 b(arra)m(y)h(with)f(new)g(suggested)h(PIN.)390 5230 y Fl(suggestpinlen)p Fu(:)53 b(on)36 b(input)f(the)h(maxim)m(um)g(size)h (of)g(the)f(output)g(arra)m(y)-8 b(,)39 b(on)d(output)g(con)m(tains)390 5340 y(the)31 b(actual)g(size)h(of)e(the)h(output)f(arra)m(y)-8 b(.)p eop end %%Page: 102 106 TeXDict begin 102 105 bop 3614 -116 a Fu(102)390 299 y(T)m(yp)s(e)79 b(of)g(callbac)m(k)j(function)c(the)i(application)h (implemen)m(ts.)187 b(It)80 b(should)e(return)390 408 y(GSASL)p 694 408 28 4 v 39 w(OK)41 b(if)g(and)g(only)h(if)f(the)g(v)-5 b(alidation)43 b(of)f(the)f(pro)m(vided)g(creden)m(tial)i(w)m(as)f (succesful.)390 518 y(GSASL)p 694 518 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1593 518 V 40 w(ERR)m(OR)30 b(is)g(a)h(go)s(o)s(d)f(failure)g (if)g(authen)m(tication)j(failed,)e(but)390 628 y(an)m(y)g(a)m(v)-5 b(ailable)32 b(return)e(co)s(de)g(ma)m(y)h(b)s(e)f(used.)390 762 y(Tw)m(o)84 b(SECURID)f(sp)s(eci\014c)h(error)f(co)s(des)h(also)g (exists.)202 b(The)83 b(function)h(can)g(re-)390 872 y(turn)236 b(GSASL)p 1103 872 V 39 w(SECURID)p 1558 872 V 40 w(SER)-10 b(VER)p 1965 872 V 39 w(NEED)p 2265 872 V 40 w(ADDITIONAL)p 2907 872 V 40 w(P)i(ASSCODE)236 b(to)390 981 y(request)85 b(that)h(the)f(clien)m(t)i(generate)f(a)f(new)g (passco)s(de.)205 b(It)85 b(can)g(also)h(return)390 1091 y(GSASL)p 694 1091 V 39 w(SECURID)p 1149 1091 V 40 w(SER)-10 b(VER)p 1556 1091 V 39 w(NEED)p 1856 1091 V 40 w(NEW)p 2119 1091 V 41 w(PIN)37 b(to)i(request)e(that)h(the)g(clien)m(t)h (generate)390 1200 y(a)60 b(new)f(PIN.)h(If)f(the)g(serv)m(er)h(wishes) f(to)i(suggest)f(a)g(new)f(PIN)g(it)h(can)g(p)s(opulate)g(the)390 1310 y(SUGGESTPIN)30 b(\014eld.)390 1445 y(If)d(SUGGESTPIN)f(is)i (NULL,)f(the)h(function)f(should)f(only)i(p)s(opulate)f(the)h(output)f (length)g(\014eld)390 1554 y(with)38 b(the)h(length,)i(and)c(return)h (GSASL)p 1858 1554 V 39 w(OK.)g(This)g(usage)g(ma)m(y)h(b)s(e)f(used)g (b)m(y)g(the)h(caller)g(to)390 1664 y(allo)s(cate)33 b(the)d(prop)s(er)f(bu\013er)h(size.)3302 1848 y([Protot)m(yp)s(e]) -3599 b Fi(int)53 b(\(*Gsasl_server_callba)q(ck_s)q(erv)q(ice)q(\))e Fh(\()p Fg(Gsasl)p 2354 1848 30 5 v 45 w(session)p 2693 1848 V 45 w(ctx)32 b(*)565 1958 y Ff(ctx)p Fg(,)i(c)m(har)g(*)f Ff(service)p Fg(,)i(size)p 1674 1958 V 44 w(t)e(*)g Ff(servicelen)p Fg(,)j(c)m(har)e(*)f Ff(hostname)p Fg(,)i(size)p 3393 1958 V 45 w(t)e(*)565 2067 y Ff(hostnamelen)p Fh(\))390 2177 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 2311 y Fl(service)5 b Fu(:)42 b(output)30 b(arra)m(y)h(with)f(name)g (of)h(service.)390 2446 y Fl(servicelen)p Fu(:)39 b(on)24 b(input)g(the)h(maxim)m(um)g(size)g(of)g(the)g(service)h(output)e(arra) m(y)-8 b(,)27 b(on)d(output)h(con)m(tains)390 2555 y(the)31 b(actual)g(size)h(of)e(the)h(service)g(output)f(arra)m(y)-8 b(.)390 2690 y Fl(hostname)5 b Fu(:)41 b(output)30 b(arra)m(y)h(with)f (hostname)h(of)f(serv)m(er.)390 2824 y Fl(hostnamelen)p Fu(:)50 b(on)35 b(input)f(the)h(maxim)m(um)g(size)h(of)f(the)g (hostname)g(output)f(arra)m(y)-8 b(,)38 b(on)c(output)390 2934 y(con)m(tains)e(the)e(actual)i(size)f(of)g(the)f(hostname)h (output)f(arra)m(y)-8 b(.)390 3068 y(T)m(yp)s(e)32 b(of)i(callbac)m(k)h (function)e(the)g(application)h(implemen)m(ts.)49 b(It)33 b(should)f(retriev)m(e)j(the)e(service)390 3178 y(\(whic)m(h)c(should)g (b)s(e)f(a)i(registered)g(GSSAPI)e(host)h(based)g(service)h(name,)g (suc)m(h)f(as)g(\\imap"\))i(the)390 3288 y(serv)m(er)e(pro)m(vides)g (and)f(hostname)h(of)g(serv)m(er)f(\(usually)h(canoncial)i(DNS)d (hostname\).)41 b(It)29 b(should)390 3397 y(return)j(GSASL)p 975 3397 28 4 v 40 w(OK,)h(or)g(an)h(error)f(suc)m(h)g(as)h(GSASL)p 2306 3397 V 39 w(A)m(UTHENTICA)-8 b(TION)p 3205 3397 V 40 w(ERR)m(OR)33 b(if)g(it)390 3507 y(fails.)390 3641 y(If)26 b(SER)-10 b(VICE)26 b(or)h(HOSTNAME)f(is)h(NULL,)g(the)g (function)f(should)g(only)h(p)s(opulate)g(SER)-10 b(VICE-)390 3751 y(LEN)31 b(or)g(HOSTNAMELEN)f(with)h(the)h(output)e(length)i(of)f (the)g(resp)s(ectiv)m(e)h(\014eld,)g(and)e(return)390 3861 y(GSASL)p 694 3861 V 39 w(OK.)g(This)f(usage)i(ma)m(y)f(b)s(e)g (used)f(b)m(y)h(the)g(caller)h(to)g(allo)s(cate)h(the)e(prop)s(er)f (bu\013er)g(size.)3302 4045 y([Protot)m(yp)s(e])-3599 b Fi(int)53 b(\(*Gsasl_server_callba)q(ck_v)q(ali)q(dat)q(e\))f Fh(\()p Fg(Gsasl)p 2407 4045 30 5 v 44 w(session)p 2745 4045 V 45 w(ctx)33 b(*)565 4154 y Ff(ctx)p Fg(,)h(c)m(har)g(*)f Ff(authorization_id)p Fg(,)38 b(c)m(har)33 b(*)g Ff(authentication_id)p Fg(,)39 b(c)m(har)33 b(*)565 4264 y Ff(password)p Fh(\))390 4374 y Fl(ctx)6 b Fu(:)42 b(libgsasl)31 b(handle.)390 4508 y Fl(authorization)p 925 4508 28 4 v 42 w(id)t Fu(:)40 b(input)29 b(arra)m(y)i(with)f(authorization)i(iden)m(tit)m(y)-8 b(.)390 4643 y Fl(authen)m(tication)p 967 4643 V 42 w(id)t Fu(:)40 b(input)30 b(arra)m(y)h(with)f(authen)m(tication)i(iden)m(tit)m (y)-8 b(.)390 4777 y Fl(passw)m(ord)t Fu(:)40 b(input)29 b(arra)m(y)i(with)f(passw)m(ord.)390 4912 y(T)m(yp)s(e)79 b(of)g(callbac)m(k)j(function)c(the)i(application)h(implemen)m(ts.)187 b(It)80 b(should)e(return)390 5021 y(GSASL)p 694 5021 V 39 w(OK)41 b(if)g(and)g(only)h(if)f(the)g(v)-5 b(alidation)43 b(of)f(the)f(pro)m(vided)g(creden)m(tial)i(w)m(as)f(succesful.)390 5131 y(GSASL)p 694 5131 V 39 w(A)m(UTHENTICA)-8 b(TION)p 1593 5131 V 40 w(ERR)m(OR)30 b(is)g(a)h(go)s(o)s(d)f(failure)g(if)g (authen)m(tication)j(failed,)e(but)390 5240 y(an)m(y)g(a)m(v)-5 b(ailable)32 b(return)e(co)s(de)g(ma)m(y)h(b)s(e)f(used.)p eop end %%Page: 103 107 TeXDict begin 103 106 bop 3614 -116 a Fu(103)150 299 y Fr(App)t(endix)52 b(C)81 b(Cop)l(ying)51 b(Information)150 613 y Ft(C.1)68 b(GNU)45 b(F)-11 b(ree)45 b(Do)t(cumen)l(tation)h (License)1359 772 y Fu(V)-8 b(ersion)31 b(1.3,)g(3)g(No)m(v)m(em)m(b)s (er)h(2008)390 902 y(Cop)m(yrigh)m(t)842 899 y(c)817 902 y Fs(\015)e Fu(2000,)j(2001,)f(2002,)g(2007,)h(2008)f(F)-8 b(ree)31 b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)390 1012 y Fo(https://fsf.org/)390 1231 y Fu(Ev)m(ery)m(one)g(is)g(p)s (ermitted)f(to)h(cop)m(y)g(and)f(distribute)g(v)m(erbatim)h(copies)390 1341 y(of)g(this)f(license)h(do)s(cumen)m(t,)g(but)e(c)m(hanging)j(it)f (is)f(not)h(allo)m(w)m(ed.)199 1471 y(0.)61 b(PREAMBLE)330 1601 y(The)37 b(purp)s(ose)e(of)i(this)g(License)h(is)f(to)h(mak)m(e)g (a)g(man)m(ual,)h(textb)s(o)s(ok,)h(or)d(other)g(functional)h(and)330 1710 y(useful)29 b(do)s(cumen)m(t)h Fl(free)36 b Fu(in)29 b(the)i(sense)f(of)g(freedom:)41 b(to)31 b(assure)e(ev)m(ery)m(one)j (the)e(e\013ectiv)m(e)j(freedom)330 1820 y(to)f(cop)m(y)g(and)f (redistribute)g(it,)h(with)g(or)f(without)g(mo)s(difying)g(it,)i (either)f(commercially)h(or)e(non-)330 1929 y(commercially)-8 b(.)56 b(Secondarily)-8 b(,)36 b(this)f(License)g(preserv)m(es)g(for)f (the)h(author)f(and)g(publisher)f(a)i(w)m(a)m(y)330 2039 y(to)i(get)g(credit)g(for)f(their)g(w)m(ork,)i(while)e(not)g(b)s(eing)g (considered)g(resp)s(onsible)f(for)h(mo)s(di\014cations)330 2149 y(made)30 b(b)m(y)h(others.)330 2279 y(This)22 b(License)i(is)f(a) h(kind)e(of)i(\\cop)m(yleft",)j(whic)m(h)c(means)g(that)h(deriv)-5 b(ativ)m(e)24 b(w)m(orks)f(of)h(the)f(do)s(cumen)m(t)330 2388 y(m)m(ust)34 b(themselv)m(es)h(b)s(e)e(free)h(in)g(the)g(same)g (sense.)51 b(It)34 b(complemen)m(ts)h(the)f(GNU)g(General)h(Public)330 2498 y(License,)c(whic)m(h)f(is)h(a)f(cop)m(yleft)i(license)g(designed) e(for)g(free)h(soft)m(w)m(are.)330 2628 y(W)-8 b(e)31 b(ha)m(v)m(e)f(designed)g(this)f(License)h(in)f(order)g(to)i(use)e(it)h (for)f(man)m(uals)h(for)f(free)h(soft)m(w)m(are,)h(b)s(ecause)330 2738 y(free)42 b(soft)m(w)m(are)i(needs)e(free)g(do)s(cumen)m(tation:) 65 b(a)42 b(free)h(program)f(should)f(come)i(with)f(man)m(uals)330 2847 y(pro)m(viding)29 b(the)g(same)g(freedoms)f(that)i(the)f(soft)m(w) m(are)h(do)s(es.)40 b(But)29 b(this)f(License)i(is)f(not)g(limited)g (to)330 2957 y(soft)m(w)m(are)j(man)m(uals;)f(it)g(can)g(b)s(e)f(used)g (for)g(an)m(y)h(textual)h(w)m(ork,)f(regardless)g(of)g(sub)5 b(ject)30 b(matter)i(or)330 3066 y(whether)f(it)h(is)f(published)f(as)i (a)f(prin)m(ted)g(b)s(o)s(ok.)44 b(W)-8 b(e)32 b(recommend)f(this)h (License)g(principally)f(for)330 3176 y(w)m(orks)f(whose)h(purp)s(ose)d (is)j(instruction)f(or)g(reference.)199 3306 y(1.)61 b(APPLICABILITY)29 b(AND)j(DEFINITIONS)330 3436 y(This)39 b(License)i(applies)f(to)g(an)m(y)h(man)m(ual)f(or)g(other)g(w)m(ork,)i (in)e(an)m(y)g(medium,)i(that)e(con)m(tains)i(a)330 3546 y(notice)h(placed)f(b)m(y)f(the)h(cop)m(yrigh)m(t)h(holder)e(sa)m(ying) h(it)g(can)g(b)s(e)f(distributed)f(under)g(the)i(terms)330 3655 y(of)c(this)f(License.)62 b(Suc)m(h)37 b(a)h(notice)h(gran)m(ts)f (a)g(w)m(orld-wide,)h(ro)m(y)m(alt)m(y-free)i(license,)f(unlimited)d (in)330 3765 y(duration,)49 b(to)d(use)f(that)g(w)m(ork)h(under)d(the)j (conditions)f(stated)h(herein.)85 b(The)45 b(\\Do)s(cumen)m(t",)330 3874 y(b)s(elo)m(w,)29 b(refers)f(to)h(an)m(y)g(suc)m(h)f(man)m(ual)h (or)f(w)m(ork.)40 b(An)m(y)29 b(mem)m(b)s(er)e(of)i(the)f(public)g(is)g (a)h(licensee,)i(and)330 3984 y(is)25 b(addressed)f(as)h(\\y)m(ou".)40 b(Y)-8 b(ou)26 b(accept)g(the)f(license)h(if)f(y)m(ou)h(cop)m(y)-8 b(,)27 b(mo)s(dify)d(or)h(distribute)g(the)g(w)m(ork)330 4094 y(in)30 b(a)h(w)m(a)m(y)g(requiring)f(p)s(ermission)f(under)g(cop) m(yrigh)m(t)j(la)m(w.)330 4224 y(A)i(\\Mo)s(di\014ed)f(V)-8 b(ersion")35 b(of)f(the)g(Do)s(cumen)m(t)g(means)g(an)m(y)g(w)m(ork)f (con)m(taining)j(the)e(Do)s(cumen)m(t)g(or)330 4333 y(a)k(p)s(ortion)f (of)h(it,)i(either)e(copied)g(v)m(erbatim,)i(or)d(with)h(mo)s (di\014cations)f(and/or)h(translated)g(in)m(to)330 4443 y(another)31 b(language.)330 4573 y(A)26 b(\\Secondary)g(Section")h(is) f(a)h(named)e(app)s(endix)f(or)i(a)h(fron)m(t-matter)g(section)g(of)f (the)g(Do)s(cumen)m(t)330 4682 y(that)c(deals)g(exclusiv)m(ely)h(with)e (the)g(relationship)h(of)f(the)h(publishers)d(or)i(authors)g(of)h(the)f (Do)s(cumen)m(t)330 4792 y(to)38 b(the)f(Do)s(cumen)m(t's)i(o)m(v)m (erall)g(sub)5 b(ject)37 b(\(or)h(to)g(related)g(matters\))g(and)f(con) m(tains)h(nothing)f(that)330 4902 y(could)j(fall)h(directly)g(within)f (that)h(o)m(v)m(erall)i(sub)5 b(ject.)70 b(\(Th)m(us,)42 b(if)e(the)h(Do)s(cumen)m(t)g(is)f(in)g(part)h(a)330 5011 y(textb)s(o)s(ok)24 b(of)g(mathematics,)j(a)d(Secondary)f(Section) h(ma)m(y)g(not)g(explain)g(an)m(y)g(mathematics.\))40 b(The)330 5121 y(relationship)28 b(could)f(b)s(e)g(a)g(matter)i(of)e (historical)i(connection)f(with)f(the)h(sub)5 b(ject)27 b(or)g(with)g(related)330 5230 y(matters,)38 b(or)d(of)h(legal,)i (commercial,)h(philosophical,)f(ethical)f(or)e(p)s(olitical)i(p)s (osition)f(regarding)330 5340 y(them.)p eop end %%Page: 104 108 TeXDict begin 104 107 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(Cop)m(ying)g(Information)2098 b(104)330 299 y(The)25 b(\\In)m(v)-5 b(arian)m(t)27 b(Sections")g(are)f(certain)g(Secondary)g (Sections)g(whose)f(titles)i(are)f(designated,)i(as)330 408 y(b)s(eing)e(those)h(of)g(In)m(v)-5 b(arian)m(t)27 b(Sections,)i(in)d(the)h(notice)h(that)f(sa)m(ys)g(that)g(the)g(Do)s (cumen)m(t)g(is)g(released)330 518 y(under)f(this)i(License.)40 b(If)27 b(a)h(section)h(do)s(es)f(not)f(\014t)h(the)g(ab)s(o)m(v)m(e)h (de\014nition)e(of)h(Secondary)f(then)h(it)g(is)330 628 y(not)k(allo)m(w)m(ed)i(to)e(b)s(e)g(designated)g(as)g(In)m(v)-5 b(arian)m(t.)46 b(The)31 b(Do)s(cumen)m(t)i(ma)m(y)f(con)m(tain)i(zero) e(In)m(v)-5 b(arian)m(t)330 737 y(Sections.)39 b(If)25 b(the)f(Do)s(cumen)m(t)i(do)s(es)e(not)h(iden)m(tify)g(an)m(y)g(In)m(v) -5 b(arian)m(t)25 b(Sections)h(then)e(there)h(are)g(none.)330 878 y(The)36 b(\\Co)m(v)m(er)i(T)-8 b(exts")38 b(are)f(certain)g(short) g(passages)g(of)g(text)g(that)h(are)f(listed,)i(as)d(F)-8 b(ron)m(t-Co)m(v)m(er)330 988 y(T)g(exts)26 b(or)f(Bac)m(k-Co)m(v)m(er) j(T)-8 b(exts,)27 b(in)d(the)h(notice)i(that)e(sa)m(ys)h(that)g(the)f (Do)s(cumen)m(t)h(is)f(released)g(under)330 1097 y(this)h(License.)40 b(A)25 b(F)-8 b(ron)m(t-Co)m(v)m(er)29 b(T)-8 b(ext)26 b(ma)m(y)h(b)s(e)e(at)i(most)f(5)g(w)m(ords,)g(and)g(a)g(Bac)m(k-Co)m (v)m(er)j(T)-8 b(ext)26 b(ma)m(y)330 1207 y(b)s(e)k(at)h(most)g(25)g(w) m(ords.)330 1348 y(A)36 b(\\T)-8 b(ransparen)m(t")36 b(cop)m(y)g(of)g(the)f(Do)s(cumen)m(t)h(means)g(a)g(mac)m (hine-readable)h(cop)m(y)-8 b(,)38 b(represen)m(ted)330 1457 y(in)d(a)h(format)g(whose)g(sp)s(eci\014cation)g(is)g(a)m(v)-5 b(ailable)38 b(to)f(the)f(general)g(public,)h(that)f(is)g(suitable)g (for)330 1567 y(revising)c(the)g(do)s(cumen)m(t)f(straigh)m(tforw)m (ardly)i(with)e(generic)i(text)g(editors)f(or)f(\(for)h(images)h(com-) 330 1677 y(p)s(osed)23 b(of)h(pixels\))g(generic)h(pain)m(t)f(programs) g(or)f(\(for)h(dra)m(wings\))g(some)g(widely)g(a)m(v)-5 b(ailable)26 b(dra)m(wing)330 1786 y(editor,)k(and)f(that)g(is)g (suitable)h(for)f(input)f(to)i(text)g(formatters)f(or)g(for)g (automatic)i(translation)f(to)330 1896 y(a)d(v)-5 b(ariet)m(y)28 b(of)f(formats)g(suitable)h(for)e(input)g(to)i(text)g(formatters.)40 b(A)27 b(cop)m(y)g(made)g(in)g(an)g(otherwise)330 2005 y(T)-8 b(ransparen)m(t)37 b(\014le)h(format)g(whose)f(markup,)i(or)e (absence)h(of)g(markup,)g(has)g(b)s(een)f(arranged)g(to)330 2115 y(th)m(w)m(art)27 b(or)g(discourage)g(subsequen)m(t)f(mo)s (di\014cation)h(b)m(y)g(readers)f(is)g(not)h(T)-8 b(ransparen)m(t.)39 b(An)27 b(image)330 2225 y(format)35 b(is)f(not)h(T)-8 b(ransparen)m(t)34 b(if)g(used)g(for)g(an)m(y)g(substan)m(tial)h(amoun) m(t)g(of)g(text.)53 b(A)35 b(cop)m(y)g(that)g(is)330 2334 y(not)c(\\T)-8 b(ransparen)m(t")31 b(is)f(called)i(\\Opaque".)330 2475 y(Examples)49 b(of)f(suitable)i(formats)f(for)f(T)-8 b(ransparen)m(t)48 b(copies)i(include)e(plain)h(ASCI)s(I)e(without)330 2585 y(markup,)33 b(T)-8 b(exinfo)33 b(input)f(format,)i(LaT)1745 2604 y(E)1795 2585 y(X)f(input)f(format,)j(SGML)d(or)h(XML)h(using)e(a) h(publicly)330 2694 y(a)m(v)-5 b(ailable)36 b(DTD,)e(and)f (standard-conforming)h(simple)f(HTML,)h(P)m(ostScript)g(or)g(PDF)g (designed)330 2804 y(for)h(h)m(uman)g(mo)s(di\014cation.)57 b(Examples)35 b(of)h(transparen)m(t)f(image)i(formats)f(include)f(PNG,) h(X)m(CF)330 2913 y(and)h(JPG.)62 b(Opaque)36 b(formats)i(include)f (proprietary)g(formats)h(that)g(can)g(b)s(e)e(read)i(and)f(edited)330 3023 y(only)c(b)m(y)g(proprietary)f(w)m(ord)h(pro)s(cessors,)g(SGML)g (or)g(XML)g(for)g(whic)m(h)g(the)g(DTD)g(and/or)g(pro-)330 3133 y(cessing)26 b(to)s(ols)g(are)g(not)f(generally)i(a)m(v)-5 b(ailable,)29 b(and)24 b(the)i(mac)m(hine-generated)h(HTML,)e(P)m (ostScript)330 3242 y(or)30 b(PDF)h(pro)s(duced)e(b)m(y)h(some)h(w)m (ord)f(pro)s(cessors)g(for)g(output)g(purp)s(oses)f(only)-8 b(.)330 3383 y(The)34 b(\\Title)h(P)m(age")i(means,)e(for)f(a)h(prin)m (ted)f(b)s(o)s(ok,)h(the)f(title)i(page)f(itself,)h(plus)e(suc)m(h)f (follo)m(wing)330 3493 y(pages)28 b(as)g(are)g(needed)g(to)g(hold,)g (legibly)-8 b(,)30 b(the)e(material)h(this)e(License)i(requires)e(to)h (app)s(ear)f(in)h(the)330 3602 y(title)g(page.)40 b(F)-8 b(or)28 b(w)m(orks)e(in)g(formats)h(whic)m(h)g(do)f(not)h(ha)m(v)m(e)h (an)m(y)e(title)j(page)e(as)g(suc)m(h,)g(\\Title)h(P)m(age")330 3712 y(means)j(the)f(text)i(near)e(the)h(most)g(prominen)m(t)g(app)s (earance)f(of)h(the)g(w)m(ork's)g(title,)h(preceding)f(the)330 3821 y(b)s(eginning)f(of)g(the)h(b)s(o)s(dy)e(of)h(the)h(text.)330 3962 y(The)j(\\publisher")g(means)h(an)m(y)f(p)s(erson)g(or)h(en)m(tit) m(y)h(that)f(distributes)f(copies)i(of)e(the)h(Do)s(cumen)m(t)330 4072 y(to)c(the)g(public.)330 4213 y(A)f(section)h(\\En)m(titled)g (XYZ")f(means)f(a)h(named)g(subunit)e(of)h(the)h(Do)s(cumen)m(t)h (whose)e(title)i(either)330 4322 y(is)d(precisely)g(XYZ)g(or)f(con)m (tains)i(XYZ)f(in)f(paren)m(theses)i(follo)m(wing)g(text)g(that)f (translates)h(XYZ)e(in)330 4432 y(another)e(language.)40 b(\(Here)26 b(XYZ)f(stands)f(for)h(a)g(sp)s(eci\014c)g(section)h(name)f (men)m(tioned)h(b)s(elo)m(w,)g(suc)m(h)330 4542 y(as)i(\\Ac)m(kno)m (wledgemen)m(ts",)33 b(\\Dedications",)e(\\Endorsemen)m(ts",)e(or)f (\\History".\))42 b(T)-8 b(o)29 b(\\Preserv)m(e)330 4651 y(the)34 b(Title")h(of)e(suc)m(h)h(a)g(section)g(when)f(y)m(ou)h(mo)s (dify)e(the)i(Do)s(cumen)m(t)h(means)e(that)h(it)g(remains)g(a)330 4761 y(section)e(\\En)m(titled)f(XYZ")g(according)g(to)g(this)g (de\014nition.)330 4902 y(The)c(Do)s(cumen)m(t)i(ma)m(y)f(include)f(W) -8 b(arran)m(t)m(y)30 b(Disclaimers)f(next)f(to)g(the)g(notice)h(whic)m (h)e(states)i(that)330 5011 y(this)34 b(License)g(applies)g(to)h(the)f (Do)s(cumen)m(t.)52 b(These)33 b(W)-8 b(arran)m(t)m(y)36 b(Disclaimers)f(are)g(considered)e(to)330 5121 y(b)s(e)k(included)g(b)m (y)g(reference)h(in)g(this)f(License,)j(but)d(only)h(as)g(regards)f (disclaiming)i(w)m(arran)m(ties:)330 5230 y(an)m(y)e(other)g (implication)i(that)e(these)g(W)-8 b(arran)m(t)m(y)39 b(Disclaimers)f(ma)m(y)g(ha)m(v)m(e)g(is)f(v)m(oid)g(and)f(has)h(no)330 5340 y(e\013ect)32 b(on)e(the)h(meaning)f(of)h(this)f(License.)p eop end %%Page: 105 109 TeXDict begin 105 108 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(Cop)m(ying)g(Information)2098 b(105)199 299 y(2.)61 b(VERBA)-8 b(TIM)31 b(COPYING)330 445 y(Y)-8 b(ou)39 b(ma)m(y)f(cop)m(y)h(and)e(distribute)h(the)g(Do)s(cumen)m(t)h(in)f(an) m(y)g(medium,)h(either)g(commercially)h(or)330 555 y(noncommercially)-8 b(,)48 b(pro)m(vided)42 b(that)h(this)f(License,)47 b(the)42 b(cop)m(yrigh)m(t)i(notices,)j(and)42 b(the)h(license)330 664 y(notice)37 b(sa)m(ying)g(this)e(License)i(applies)e(to)i(the)f(Do) s(cumen)m(t)g(are)g(repro)s(duced)e(in)i(all)g(copies,)j(and)330 774 y(that)27 b(y)m(ou)g(add)f(no)h(other)f(conditions)h(whatso)s(ev)m (er)h(to)f(those)g(of)g(this)f(License.)40 b(Y)-8 b(ou)27 b(ma)m(y)g(not)g(use)330 883 y(tec)m(hnical)35 b(measures)d(to)i (obstruct)f(or)g(con)m(trol)h(the)f(reading)g(or)g(further)e(cop)m (ying)j(of)f(the)g(copies)330 993 y(y)m(ou)25 b(mak)m(e)g(or)g (distribute.)38 b(Ho)m(w)m(ev)m(er,)28 b(y)m(ou)d(ma)m(y)g(accept)h (comp)s(ensation)f(in)f(exc)m(hange)j(for)d(copies.)330 1103 y(If)32 b(y)m(ou)g(distribute)g(a)h(large)g(enough)f(n)m(um)m(b)s (er)f(of)h(copies)h(y)m(ou)f(m)m(ust)h(also)g(follo)m(w)g(the)f (conditions)330 1212 y(in)e(section)i(3.)330 1358 y(Y)-8 b(ou)21 b(ma)m(y)h(also)f(lend)g(copies,)i(under)d(the)h(same)g (conditions)g(stated)h(ab)s(o)m(v)m(e,)i(and)c(y)m(ou)h(ma)m(y)g (publicly)330 1468 y(displa)m(y)31 b(copies.)199 1614 y(3.)61 b(COPYING)30 b(IN)g(QUANTITY)330 1760 y(If)25 b(y)m(ou)g(publish)f(prin)m(ted)g(copies)i(\(or)g(copies)g(in)f(media)g (that)h(commonly)g(ha)m(v)m(e)g(prin)m(ted)f(co)m(v)m(ers\))i(of)330 1870 y(the)32 b(Do)s(cumen)m(t,)h(n)m(um)m(b)s(ering)e(more)h(than)f (100,)j(and)d(the)h(Do)s(cumen)m(t's)h(license)f(notice)h(requires)330 1979 y(Co)m(v)m(er)i(T)-8 b(exts,)36 b(y)m(ou)f(m)m(ust)f(enclose)i (the)e(copies)h(in)f(co)m(v)m(ers)i(that)f(carry)-8 b(,)36 b(clearly)f(and)f(legibly)-8 b(,)37 b(all)330 2089 y(these)j(Co)m(v)m (er)g(T)-8 b(exts:)59 b(F)-8 b(ron)m(t-Co)m(v)m(er)41 b(T)-8 b(exts)40 b(on)f(the)g(fron)m(t)g(co)m(v)m(er,)44 b(and)38 b(Bac)m(k-Co)m(v)m(er)k(T)-8 b(exts)40 b(on)330 2198 y(the)29 b(bac)m(k)h(co)m(v)m(er.)42 b(Both)30 b(co)m(v)m(ers)h(m) m(ust)e(also)h(clearly)g(and)f(legibly)h(iden)m(tify)f(y)m(ou)h(as)f (the)h(publisher)330 2308 y(of)k(these)h(copies.)53 b(The)34 b(fron)m(t)h(co)m(v)m(er)h(m)m(ust)e(presen)m(t)g(the)h(full)f(title)i (with)d(all)j(w)m(ords)d(of)i(the)f(title)330 2418 y(equally)e (prominen)m(t)e(and)g(visible.)43 b(Y)-8 b(ou)31 b(ma)m(y)g(add)g (other)g(material)h(on)f(the)g(co)m(v)m(ers)h(in)e(addition.)330 2527 y(Cop)m(ying)36 b(with)g(c)m(hanges)h(limited)g(to)g(the)g(co)m(v) m(ers,)i(as)d(long)h(as)g(they)f(preserv)m(e)g(the)h(title)g(of)g(the) 330 2637 y(Do)s(cumen)m(t)h(and)e(satisfy)i(these)f(conditions,)j(can)d (b)s(e)g(treated)h(as)f(v)m(erbatim)h(cop)m(ying)g(in)f(other)330 2746 y(resp)s(ects.)330 2892 y(If)32 b(the)h(required)f(texts)i(for)e (either)h(co)m(v)m(er)i(are)e(to)s(o)g(v)m(oluminous)g(to)g(\014t)g (legibly)-8 b(,)35 b(y)m(ou)e(should)f(put)330 3002 y(the)h(\014rst)f (ones)h(listed)g(\(as)h(man)m(y)f(as)g(\014t)g(reasonably\))g(on)g(the) g(actual)h(co)m(v)m(er,)h(and)e(con)m(tin)m(ue)h(the)330 3112 y(rest)d(on)m(to)g(adjacen)m(t)h(pages.)330 3258 y(If)27 b(y)m(ou)g(publish)e(or)i(distribute)g(Opaque)f(copies)i(of)f (the)h(Do)s(cumen)m(t)f(n)m(um)m(b)s(ering)f(more)i(than)e(100,)330 3367 y(y)m(ou)i(m)m(ust)g(either)h(include)e(a)i(mac)m(hine-readable)g (T)-8 b(ransparen)m(t)28 b(cop)m(y)h(along)g(with)e(eac)m(h)i(Opaque) 330 3477 y(cop)m(y)-8 b(,)38 b(or)d(state)h(in)f(or)g(with)g(eac)m(h)h (Opaque)e(cop)m(y)i(a)g(computer-net)m(w)m(ork)g(lo)s(cation)h(from)d (whic)m(h)330 3587 y(the)24 b(general)i(net)m(w)m(ork-using)f(public)e (has)h(access)i(to)f(do)m(wnload)f(using)g(public-standard)f(net)m(w)m (ork)330 3696 y(proto)s(cols)40 b(a)f(complete)h(T)-8 b(ransparen)m(t)39 b(cop)m(y)g(of)g(the)h(Do)s(cumen)m(t,)i(free)d(of)g (added)f(material.)67 b(If)330 3806 y(y)m(ou)39 b(use)g(the)g(latter)h (option,)h(y)m(ou)f(m)m(ust)e(tak)m(e)j(reasonably)e(pruden)m(t)e (steps,)k(when)d(y)m(ou)h(b)s(egin)330 3915 y(distribution)f(of)g (Opaque)g(copies)h(in)e(quan)m(tit)m(y)-8 b(,)43 b(to)38 b(ensure)g(that)h(this)f(T)-8 b(ransparen)m(t)38 b(cop)m(y)h(will)330 4025 y(remain)30 b(th)m(us)g(accessible)i(at)f(the)f(stated)h(lo)s (cation)h(un)m(til)e(at)h(least)h(one)e(y)m(ear)h(after)g(the)f(last)h (time)330 4134 y(y)m(ou)37 b(distribute)f(an)h(Opaque)f(cop)m(y)i (\(directly)g(or)e(through)g(y)m(our)h(agen)m(ts)h(or)f(retailers\))h (of)f(that)330 4244 y(edition)31 b(to)g(the)g(public.)330 4390 y(It)k(is)f(requested,)i(but)e(not)h(required,)g(that)g(y)m(ou)g (con)m(tact)h(the)f(authors)f(of)h(the)g(Do)s(cumen)m(t)g(w)m(ell)330 4500 y(b)s(efore)28 b(redistributing)g(an)m(y)h(large)h(n)m(um)m(b)s (er)d(of)i(copies,)h(to)f(giv)m(e)h(them)f(a)g(c)m(hance)h(to)f(pro)m (vide)g(y)m(ou)330 4609 y(with)h(an)g(up)s(dated)f(v)m(ersion)i(of)g (the)f(Do)s(cumen)m(t.)199 4756 y(4.)61 b(MODIFICA)-8 b(TIONS)330 4902 y(Y)g(ou)26 b(ma)m(y)g(cop)m(y)g(and)f(distribute)g(a) h(Mo)s(di\014ed)f(V)-8 b(ersion)26 b(of)g(the)g(Do)s(cumen)m(t)g(under) e(the)h(conditions)330 5011 y(of)c(sections)h(2)g(and)e(3)h(ab)s(o)m(v) m(e,)k(pro)m(vided)20 b(that)i(y)m(ou)f(release)i(the)e(Mo)s(di\014ed)f (V)-8 b(ersion)22 b(under)d(precisely)330 5121 y(this)29 b(License,)h(with)f(the)g(Mo)s(di\014ed)f(V)-8 b(ersion)30 b(\014lling)f(the)g(role)h(of)f(the)g(Do)s(cumen)m(t,)h(th)m(us)f (licensing)330 5230 y(distribution)k(and)h(mo)s(di\014cation)g(of)h (the)f(Mo)s(di\014ed)f(V)-8 b(ersion)35 b(to)g(who)s(ev)m(er)f(p)s (ossesses)f(a)i(cop)m(y)g(of)330 5340 y(it.)41 b(In)30 b(addition,)h(y)m(ou)f(m)m(ust)h(do)f(these)h(things)f(in)g(the)h(Mo)s (di\014ed)e(V)-8 b(ersion:)p eop end %%Page: 106 110 TeXDict begin 106 109 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(Cop)m(ying)g(Information)2098 b(106)357 299 y(A.)60 b(Use)33 b(in)f(the)h(Title)h(P)m(age)g(\(and)f(on)f(the)h(co)m(v)m (ers,)i(if)e(an)m(y\))g(a)g(title)h(distinct)f(from)g(that)g(of)g(the) 510 408 y(Do)s(cumen)m(t,)j(and)d(from)g(those)i(of)f(previous)f(v)m (ersions)h(\(whic)m(h)g(should,)g(if)g(there)g(w)m(ere)g(an)m(y)-8 b(,)510 518 y(b)s(e)31 b(listed)h(in)f(the)g(History)h(section)g(of)g (the)f(Do)s(cumen)m(t\).)45 b(Y)-8 b(ou)32 b(ma)m(y)g(use)f(the)g(same) h(title)h(as)510 628 y(a)e(previous)f(v)m(ersion)g(if)h(the)f(original) i(publisher)d(of)h(that)h(v)m(ersion)g(giv)m(es)h(p)s(ermission.)360 758 y(B.)61 b(List)31 b(on)f(the)h(Title)g(P)m(age,)i(as)d(authors,)h (one)g(or)f(more)h(p)s(ersons)e(or)h(en)m(tities)j(resp)s(onsible)c (for)510 867 y(authorship)c(of)h(the)h(mo)s(di\014cations)f(in)g(the)g (Mo)s(di\014ed)f(V)-8 b(ersion,)28 b(together)g(with)d(at)i(least)h (\014v)m(e)510 977 y(of)c(the)g(principal)g(authors)f(of)i(the)f(Do)s (cumen)m(t)g(\(all)h(of)g(its)f(principal)g(authors,)h(if)f(it)g(has)g (few)m(er)510 1087 y(than)30 b(\014v)m(e\),)h(unless)f(they)h(release)g (y)m(ou)g(from)f(this)g(requiremen)m(t.)359 1217 y(C.)60 b(State)32 b(on)e(the)h(Title)h(page)f(the)g(name)g(of)g(the)g (publisher)e(of)i(the)g(Mo)s(di\014ed)f(V)-8 b(ersion,)32 b(as)f(the)510 1326 y(publisher.)355 1456 y(D.)61 b(Preserv)m(e)31 b(all)g(the)g(cop)m(yrigh)m(t)h(notices)f(of)g(the)f(Do)s(cumen)m(t.) 363 1587 y(E.)60 b(Add)30 b(an)i(appropriate)f(cop)m(yrigh)m(t)i (notice)f(for)g(y)m(our)f(mo)s(di\014cations)g(adjacen)m(t)i(to)f(the)g (other)510 1696 y(cop)m(yrigh)m(t)g(notices.)365 1826 y(F.)61 b(Include,)28 b(immediately)h(after)f(the)h(cop)m(yrigh)m(t)g (notices,)h(a)e(license)h(notice)g(giving)g(the)f(public)510 1936 y(p)s(ermission)23 b(to)j(use)e(the)g(Mo)s(di\014ed)g(V)-8 b(ersion)25 b(under)e(the)i(terms)f(of)h(this)f(License,)j(in)d(the)g (form)510 2045 y(sho)m(wn)30 b(in)g(the)g(Addendum)f(b)s(elo)m(w.)353 2176 y(G.)61 b(Preserv)m(e)23 b(in)g(that)g(license)h(notice)g(the)f (full)g(lists)g(of)g(In)m(v)-5 b(arian)m(t)23 b(Sections)h(and)e (required)g(Co)m(v)m(er)510 2285 y(T)-8 b(exts)31 b(giv)m(en)g(in)f (the)h(Do)s(cumen)m(t's)g(license)h(notice.)357 2415 y(H.)60 b(Include)30 b(an)g(unaltered)g(cop)m(y)h(of)g(this)f(License.) 392 2545 y(I.)60 b(Preserv)m(e)33 b(the)f(section)h(En)m(titled)g (\\History",)h(Preserv)m(e)f(its)f(Title,)i(and)d(add)h(to)h(it)f(an)g (item)510 2655 y(stating)d(at)g(least)g(the)g(title,)h(y)m(ear,)g(new)d (authors,)i(and)e(publisher)f(of)j(the)f(Mo)s(di\014ed)f(V)-8 b(ersion)510 2765 y(as)32 b(giv)m(en)g(on)f(the)h(Title)g(P)m(age.)45 b(If)31 b(there)h(is)f(no)g(section)i(En)m(titled)f(\\History")h(in)e (the)g(Do)s(cu-)510 2874 y(men)m(t,)37 b(create)f(one)f(stating)h(the)f (title,)i(y)m(ear,)g(authors,)f(and)e(publisher)f(of)i(the)g(Do)s (cumen)m(t)510 2984 y(as)h(giv)m(en)h(on)f(its)h(Title)g(P)m(age,)i (then)d(add)g(an)g(item)g(describing)g(the)g(Mo)s(di\014ed)g(V)-8 b(ersion)37 b(as)510 3093 y(stated)31 b(in)f(the)h(previous)f(sen)m (tence.)378 3224 y(J.)60 b(Preserv)m(e)33 b(the)g(net)m(w)m(ork)g(lo)s (cation,)i(if)d(an)m(y)-8 b(,)34 b(giv)m(en)f(in)g(the)f(Do)s(cumen)m (t)h(for)g(public)e(access)j(to)510 3333 y(a)e(T)-8 b(ransparen)m(t)30 b(cop)m(y)i(of)g(the)f(Do)s(cumen)m(t,)h(and)f(lik)m(ewise)h(the)g(net) m(w)m(ork)g(lo)s(cations)g(giv)m(en)g(in)510 3443 y(the)g(Do)s(cumen)m (t)g(for)g(previous)f(v)m(ersions)h(it)g(w)m(as)g(based)f(on.)45 b(These)31 b(ma)m(y)h(b)s(e)f(placed)h(in)g(the)510 3552 y(\\History")27 b(section.)40 b(Y)-8 b(ou)25 b(ma)m(y)h(omit)g(a)f(net) m(w)m(ork)h(lo)s(cation)g(for)f(a)h(w)m(ork)f(that)g(w)m(as)h (published)510 3662 y(at)36 b(least)h(four)e(y)m(ears)i(b)s(efore)e (the)h(Do)s(cumen)m(t)h(itself,)h(or)d(if)h(the)g(original)h(publisher) d(of)i(the)510 3771 y(v)m(ersion)31 b(it)g(refers)f(to)h(giv)m(es)h(p)s (ermission.)354 3902 y(K.)60 b(F)-8 b(or)24 b(an)m(y)h(section)f(En)m (titled)h(\\Ac)m(kno)m(wledgemen)m(ts")i(or)d(\\Dedications",)k (Preserv)m(e)c(the)g(Title)510 4011 y(of)j(the)f(section,)j(and)d (preserv)m(e)h(in)f(the)h(section)g(all)h(the)e(substance)h(and)f(tone) h(of)f(eac)m(h)i(of)f(the)510 4121 y(con)m(tributor)k(ac)m(kno)m (wledgemen)m(ts)i(and/or)d(dedications)h(giv)m(en)h(therein.)368 4251 y(L.)60 b(Preserv)m(e)36 b(all)g(the)g(In)m(v)-5 b(arian)m(t)36 b(Sections)g(of)f(the)h(Do)s(cumen)m(t,)h(unaltered)f (in)f(their)g(text)i(and)510 4361 y(in)f(their)g(titles.)58 b(Section)37 b(n)m(um)m(b)s(ers)d(or)i(the)g(equiv)-5 b(alen)m(t)38 b(are)e(not)g(considered)g(part)g(of)g(the)510 4470 y(section)c(titles.)341 4600 y(M.)61 b(Delete)33 b(an)m(y)e(section)h(En)m(titled)f(\\Endorsemen)m(ts".)42 b(Suc)m(h)30 b(a)i(section)f(ma)m(y)h(not)f(b)s(e)f(included)510 4710 y(in)g(the)h(Mo)s(di\014ed)e(V)-8 b(ersion.)357 4840 y(N.)60 b(Do)29 b(not)g(retitle)h(an)m(y)e(existing)i(section)f (to)g(b)s(e)f(En)m(titled)h(\\Endorsemen)m(ts")g(or)f(to)h(con\015ict)g (in)510 4950 y(title)j(with)e(an)m(y)h(In)m(v)-5 b(arian)m(t)31 b(Section.)354 5080 y(O.)60 b(Preserv)m(e)31 b(an)m(y)g(W)-8 b(arran)m(t)m(y)32 b(Disclaimers.)330 5230 y(If)h(the)g(Mo)s(di\014ed)g (V)-8 b(ersion)34 b(includes)f(new)g(fron)m(t-matter)i(sections)f(or)f (app)s(endices)g(that)h(qualify)330 5340 y(as)28 b(Secondary)g (Sections)g(and)f(con)m(tain)j(no)d(material)j(copied)e(from)f(the)h (Do)s(cumen)m(t,)i(y)m(ou)e(ma)m(y)g(at)p eop end %%Page: 107 111 TeXDict begin 107 110 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(Cop)m(ying)g(Information)2098 b(107)330 299 y(y)m(our)32 b(option)h(designate)h(some)e(or)h(all)g(of)f(these)h(sections)h(as)e (in)m(v)-5 b(arian)m(t.)48 b(T)-8 b(o)33 b(do)f(this,)h(add)f(their)330 408 y(titles)37 b(to)f(the)f(list)h(of)g(In)m(v)-5 b(arian)m(t)36 b(Sections)g(in)f(the)h(Mo)s(di\014ed)f(V)-8 b(ersion's)36 b(license)g(notice.)57 b(These)330 518 y(titles)32 b(m)m(ust)e(b)s(e)g (distinct)h(from)e(an)m(y)i(other)g(section)g(titles.)330 650 y(Y)-8 b(ou)43 b(ma)m(y)g(add)f(a)g(section)i(En)m(titled)f (\\Endorsemen)m(ts",)j(pro)m(vided)c(it)h(con)m(tains)g(nothing)g(but) 330 759 y(endorsemen)m(ts)30 b(of)g(y)m(our)f(Mo)s(di\014ed)g(V)-8 b(ersion)31 b(b)m(y)e(v)-5 b(arious)30 b(parties|for)g(example,)g (statemen)m(ts)i(of)330 869 y(p)s(eer)27 b(review)g(or)g(that)h(the)f (text)i(has)d(b)s(een)h(appro)m(v)m(ed)g(b)m(y)g(an)h(organization)h (as)e(the)h(authoritativ)m(e)330 978 y(de\014nition)i(of)h(a)f (standard.)330 1110 y(Y)-8 b(ou)29 b(ma)m(y)g(add)e(a)i(passage)g(of)g (up)e(to)i(\014v)m(e)g(w)m(ords)e(as)i(a)g(F)-8 b(ron)m(t-Co)m(v)m(er) 30 b(T)-8 b(ext,)30 b(and)e(a)g(passage)i(of)e(up)330 1219 y(to)g(25)g(w)m(ords)e(as)i(a)f(Bac)m(k-Co)m(v)m(er)j(T)-8 b(ext,)29 b(to)f(the)f(end)f(of)i(the)f(list)h(of)f(Co)m(v)m(er)h(T)-8 b(exts)27 b(in)g(the)h(Mo)s(di\014ed)330 1329 y(V)-8 b(ersion.)58 b(Only)35 b(one)h(passage)h(of)f(F)-8 b(ron)m(t-Co)m(v)m (er)38 b(T)-8 b(ext)36 b(and)g(one)g(of)g(Bac)m(k-Co)m(v)m(er)j(T)-8 b(ext)36 b(ma)m(y)h(b)s(e)330 1439 y(added)27 b(b)m(y)g(\(or)h(through) f(arrangemen)m(ts)h(made)g(b)m(y\))g(an)m(y)g(one)f(en)m(tit)m(y)-8 b(.)42 b(If)27 b(the)h(Do)s(cumen)m(t)g(already)330 1548 y(includes)34 b(a)g(co)m(v)m(er)h(text)g(for)f(the)g(same)h(co)m(v)m (er,)h(previously)e(added)f(b)m(y)h(y)m(ou)g(or)g(b)m(y)g(arrangemen)m (t)330 1658 y(made)h(b)m(y)g(the)h(same)f(en)m(tit)m(y)i(y)m(ou)f(are)f (acting)i(on)e(b)s(ehalf)f(of,)j(y)m(ou)f(ma)m(y)g(not)f(add)g (another;)j(but)330 1767 y(y)m(ou)c(ma)m(y)h(replace)g(the)f(old)g (one,)i(on)e(explicit)h(p)s(ermission)e(from)g(the)i(previous)e (publisher)f(that)330 1877 y(added)e(the)g(old)h(one.)330 2008 y(The)25 b(author\(s\))h(and)f(publisher\(s\))f(of)i(the)f(Do)s (cumen)m(t)h(do)g(not)f(b)m(y)h(this)f(License)h(giv)m(e)h(p)s (ermission)330 2118 y(to)k(use)f(their)g(names)h(for)f(publicit)m(y)g (for)h(or)f(to)h(assert)g(or)f(imply)g(endorsemen)m(t)g(of)h(an)m(y)g (Mo)s(di\014ed)330 2228 y(V)-8 b(ersion.)199 2359 y(5.)61 b(COMBINING)31 b(DOCUMENTS)330 2491 y(Y)-8 b(ou)39 b(ma)m(y)g(com)m (bine)h(the)f(Do)s(cumen)m(t)g(with)g(other)f(do)s(cumen)m(ts)h (released)g(under)f(this)g(License,)330 2600 y(under)f(the)h(terms)g (de\014ned)f(in)h(section)h(4)g(ab)s(o)m(v)m(e)g(for)f(mo)s(di\014ed)f (v)m(ersions,)k(pro)m(vided)d(that)h(y)m(ou)330 2710 y(include)25 b(in)g(the)g(com)m(bination)i(all)f(of)g(the)f(In)m(v)-5 b(arian)m(t)26 b(Sections)g(of)g(all)g(of)f(the)h(original)g(do)s (cumen)m(ts,)330 2819 y(unmo)s(di\014ed,)g(and)g(list)h(them)g(all)g (as)g(In)m(v)-5 b(arian)m(t)28 b(Sections)f(of)g(y)m(our)g(com)m(bined) g(w)m(ork)f(in)h(its)g(license)330 2929 y(notice,)32 b(and)e(that)h(y)m(ou)f(preserv)m(e)h(all)g(their)g(W)-8 b(arran)m(t)m(y)32 b(Disclaimers.)330 3061 y(The)e(com)m(bined)g(w)m (ork)h(need)e(only)i(con)m(tain)g(one)g(cop)m(y)g(of)f(this)g(License,) i(and)d(m)m(ultiple)i(iden)m(tical)330 3170 y(In)m(v)-5 b(arian)m(t)33 b(Sections)g(ma)m(y)g(b)s(e)f(replaced)h(with)f(a)h (single)g(cop)m(y)-8 b(.)48 b(If)32 b(there)h(are)g(m)m(ultiple)g(In)m (v)-5 b(arian)m(t)330 3280 y(Sections)27 b(with)g(the)g(same)g(name)g (but)f(di\013eren)m(t)h(con)m(ten)m(ts,)i(mak)m(e)f(the)f(title)h(of)f (eac)m(h)h(suc)m(h)f(section)330 3389 y(unique)33 b(b)m(y)h(adding)f (at)i(the)f(end)g(of)g(it,)h(in)f(paren)m(theses,)i(the)e(name)g(of)g (the)g(original)h(author)f(or)330 3499 y(publisher)23 b(of)i(that)h(section)g(if)f(kno)m(wn,)h(or)f(else)h(a)f(unique)f(n)m (um)m(b)s(er.)38 b(Mak)m(e)26 b(the)g(same)f(adjustmen)m(t)330 3608 y(to)g(the)g(section)g(titles)h(in)e(the)h(list)g(of)f(In)m(v)-5 b(arian)m(t)26 b(Sections)f(in)f(the)g(license)i(notice)g(of)e(the)h (com)m(bined)330 3718 y(w)m(ork.)330 3850 y(In)41 b(the)g(com)m (bination,)46 b(y)m(ou)41 b(m)m(ust)g(com)m(bine)h(an)m(y)g(sections)g (En)m(titled)g(\\History")h(in)e(the)g(v)-5 b(ari-)330 3959 y(ous)32 b(original)h(do)s(cumen)m(ts,)g(forming)f(one)g(section)h (En)m(titled)g(\\History";)i(lik)m(ewise)f(com)m(bine)f(an)m(y)330 4069 y(sections)g(En)m(titled)f(\\Ac)m(kno)m(wledgemen)m(ts",)k(and)31 b(an)m(y)h(sections)h(En)m(titled)g(\\Dedications".)47 b(Y)-8 b(ou)330 4178 y(m)m(ust)30 b(delete)i(all)f(sections)h(En)m (titled)f(\\Endorsemen)m(ts.")199 4310 y(6.)61 b(COLLECTIONS)28 b(OF)i(DOCUMENTS)330 4441 y(Y)-8 b(ou)32 b(ma)m(y)h(mak)m(e)g(a)f (collection)i(consisting)f(of)f(the)g(Do)s(cumen)m(t)g(and)g(other)g (do)s(cumen)m(ts)f(released)330 4551 y(under)41 b(this)h(License,)k (and)c(replace)h(the)g(individual)f(copies)h(of)f(this)g(License)h(in)f (the)h(v)-5 b(arious)330 4661 y(do)s(cumen)m(ts)42 b(with)g(a)h(single) g(cop)m(y)h(that)f(is)f(included)g(in)g(the)h(collection,)48 b(pro)m(vided)42 b(that)i(y)m(ou)330 4770 y(follo)m(w)38 b(the)g(rules)e(of)h(this)g(License)h(for)f(v)m(erbatim)h(cop)m(ying)g (of)f(eac)m(h)h(of)f(the)h(do)s(cumen)m(ts)e(in)h(all)330 4880 y(other)31 b(resp)s(ects.)330 5011 y(Y)-8 b(ou)32 b(ma)m(y)g(extract)h(a)f(single)g(do)s(cumen)m(t)f(from)g(suc)m(h)g(a)h (collection,)i(and)d(distribute)g(it)h(individu-)330 5121 y(ally)k(under)d(this)i(License,)i(pro)m(vided)e(y)m(ou)g(insert)g (a)g(cop)m(y)h(of)f(this)g(License)g(in)m(to)h(the)g(extracted)330 5230 y(do)s(cumen)m(t,)d(and)f(follo)m(w)i(this)e(License)h(in)g(all)g (other)g(resp)s(ects)f(regarding)h(v)m(erbatim)g(cop)m(ying)h(of)330 5340 y(that)d(do)s(cumen)m(t.)p eop end %%Page: 108 112 TeXDict begin 108 111 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(Cop)m(ying)g(Information)2098 b(108)199 299 y(7.)61 b(A)m(GGREGA)-8 b(TION)32 b(WITH)e(INDEPENDENT)h(W)m(ORKS)330 441 y(A)d(compilation)i(of)e(the)g(Do)s(cumen)m(t)h(or)f(its)g(deriv)-5 b(ativ)m(es)30 b(with)d(other)i(separate)g(and)e(indep)s(enden)m(t)330 551 y(do)s(cumen)m(ts)33 b(or)g(w)m(orks,)h(in)f(or)h(on)f(a)g(v)m (olume)h(of)g(a)f(storage)i(or)e(distribution)g(medium,)g(is)h(called) 330 661 y(an)c(\\aggregate")k(if)c(the)g(cop)m(yrigh)m(t)i(resulting)e (from)f(the)i(compilation)g(is)f(not)h(used)e(to)i(limit)g(the)330 770 y(legal)d(righ)m(ts)f(of)g(the)g(compilation's)h(users)e(b)s(ey)m (ond)g(what)g(the)h(individual)f(w)m(orks)g(p)s(ermit.)39 b(When)330 880 y(the)g(Do)s(cumen)m(t)g(is)f(included)g(in)g(an)g (aggregate,)44 b(this)38 b(License)h(do)s(es)f(not)h(apply)f(to)h(the)g (other)330 989 y(w)m(orks)30 b(in)g(the)h(aggregate)i(whic)m(h)d(are)h (not)g(themselv)m(es)g(deriv)-5 b(ativ)m(e)32 b(w)m(orks)f(of)f(the)h (Do)s(cumen)m(t.)330 1132 y(If)22 b(the)h(Co)m(v)m(er)h(T)-8 b(ext)23 b(requiremen)m(t)g(of)g(section)h(3)f(is)g(applicable)h(to)f (these)h(copies)f(of)g(the)g(Do)s(cumen)m(t,)330 1241 y(then)f(if)g(the)h(Do)s(cumen)m(t)g(is)g(less)f(than)g(one)h(half)f (of)h(the)g(en)m(tire)g(aggregate,)k(the)c(Do)s(cumen)m(t's)g(Co)m(v)m (er)330 1351 y(T)-8 b(exts)27 b(ma)m(y)g(b)s(e)f(placed)h(on)g(co)m(v)m (ers)h(that)f(brac)m(k)m(et)h(the)f(Do)s(cumen)m(t)g(within)f(the)h (aggregate,)j(or)d(the)330 1461 y(electronic)37 b(equiv)-5 b(alen)m(t)36 b(of)g(co)m(v)m(ers)g(if)f(the)g(Do)s(cumen)m(t)h(is)f (in)g(electronic)i(form.)54 b(Otherwise)35 b(they)330 1570 y(m)m(ust)30 b(app)s(ear)g(on)g(prin)m(ted)g(co)m(v)m(ers)i(that)f (brac)m(k)m(et)h(the)f(whole)f(aggregate.)199 1713 y(8.)61 b(TRANSLA)-8 b(TION)330 1855 y(T)g(ranslation)41 b(is)f(considered)f(a) i(kind)e(of)h(mo)s(di\014cation,)j(so)d(y)m(ou)g(ma)m(y)h(distribute)e (translations)330 1965 y(of)45 b(the)f(Do)s(cumen)m(t)h(under)e(the)h (terms)h(of)f(section)i(4.)83 b(Replacing)45 b(In)m(v)-5 b(arian)m(t)45 b(Sections)g(with)330 2074 y(translations)h(requires)f (sp)s(ecial)h(p)s(ermission)f(from)g(their)g(cop)m(yrigh)m(t)i (holders,)i(but)c(y)m(ou)g(ma)m(y)330 2184 y(include)24 b(translations)i(of)e(some)h(or)g(all)g(In)m(v)-5 b(arian)m(t)25 b(Sections)g(in)f(addition)h(to)g(the)g(original)h(v)m(ersions)330 2293 y(of)32 b(these)f(In)m(v)-5 b(arian)m(t)33 b(Sections.)44 b(Y)-8 b(ou)32 b(ma)m(y)g(include)f(a)h(translation)g(of)g(this)f (License,)i(and)d(all)j(the)330 2403 y(license)42 b(notices)g(in)f(the) h(Do)s(cumen)m(t,)j(and)40 b(an)m(y)i(W)-8 b(arran)m(t)m(y)42 b(Disclaimers,)k(pro)m(vided)41 b(that)h(y)m(ou)330 2513 y(also)f(include)f(the)g(original)h(English)f(v)m(ersion)g(of)g(this)g (License)h(and)e(the)h(original)h(v)m(ersions)g(of)330 2622 y(those)35 b(notices)g(and)e(disclaimers.)53 b(In)33 b(case)i(of)g(a)f(disagreemen)m(t)h(b)s(et)m(w)m(een)g(the)f (translation)i(and)330 2732 y(the)f(original)i(v)m(ersion)e(of)h(this)f (License)h(or)f(a)g(notice)i(or)e(disclaimer,)i(the)f(original)g(v)m (ersion)g(will)330 2841 y(prev)-5 b(ail.)330 2984 y(If)28 b(a)h(section)h(in)e(the)h(Do)s(cumen)m(t)h(is)e(En)m(titled)i(\\Ac)m (kno)m(wledgemen)m(ts",)i(\\Dedications",)g(or)d(\\His-)330 3093 y(tory",)f(the)f(requiremen)m(t)f(\(section)i(4\))f(to)g(Preserv)m (e)g(its)f(Title)i(\(section)f(1\))g(will)g(t)m(ypically)h(require)330 3203 y(c)m(hanging)j(the)g(actual)h(title.)199 3345 y(9.)61 b(TERMINA)-8 b(TION)330 3488 y(Y)g(ou)30 b(ma)m(y)h(not)f(cop)m(y)-8 b(,)31 b(mo)s(dify)-8 b(,)30 b(sublicense,)g(or)g(distribute)f(the)h (Do)s(cumen)m(t)g(except)h(as)f(expressly)330 3598 y(pro)m(vided)38 b(under)f(this)i(License.)65 b(An)m(y)39 b(attempt)h(otherwise)f(to)g (cop)m(y)-8 b(,)42 b(mo)s(dify)-8 b(,)40 b(sublicense,)h(or)330 3707 y(distribute)30 b(it)h(is)f(v)m(oid,)h(and)f(will)h(automatically) i(terminate)f(y)m(our)e(righ)m(ts)h(under)e(this)h(License.)330 3850 y(Ho)m(w)m(ev)m(er,)35 b(if)e(y)m(ou)f(cease)i(all)f(violation)i (of)d(this)g(License,)i(then)e(y)m(our)h(license)g(from)f(a)h (particular)330 3959 y(cop)m(yrigh)m(t)k(holder)e(is)h(reinstated)h (\(a\))f(pro)m(visionally)-8 b(,)39 b(unless)c(and)g(un)m(til)h(the)g (cop)m(yrigh)m(t)h(holder)330 4069 y(explicitly)42 b(and)e(\014nally)h (terminates)g(y)m(our)g(license,)j(and)c(\(b\))h(p)s(ermanen)m(tly)-8 b(,)43 b(if)e(the)g(cop)m(yrigh)m(t)330 4178 y(holder)34 b(fails)h(to)g(notify)g(y)m(ou)g(of)f(the)h(violation)h(b)m(y)e(some)h (reasonable)g(means)g(prior)e(to)i(60)h(da)m(ys)330 4288 y(after)31 b(the)f(cessation.)330 4430 y(Moreo)m(v)m(er,)k(y)m(our)d (license)i(from)e(a)h(particular)f(cop)m(yrigh)m(t)i(holder)e(is)h (reinstated)g(p)s(ermanen)m(tly)f(if)330 4540 y(the)d(cop)m(yrigh)m(t)h (holder)f(noti\014es)g(y)m(ou)g(of)g(the)g(violation)h(b)m(y)f(some)g (reasonable)h(means,)f(this)g(is)g(the)330 4650 y(\014rst)f(time)i(y)m (ou)f(ha)m(v)m(e)h(receiv)m(ed)g(notice)g(of)f(violation)i(of)e(this)f (License)i(\(for)f(an)m(y)g(w)m(ork\))g(from)f(that)330 4759 y(cop)m(yrigh)m(t)33 b(holder,)g(and)e(y)m(ou)h(cure)g(the)g (violation)i(prior)d(to)i(30)f(da)m(ys)h(after)f(y)m(our)g(receipt)h (of)f(the)330 4869 y(notice.)330 5011 y(T)-8 b(ermination)28 b(of)g(y)m(our)f(righ)m(ts)h(under)e(this)i(section)g(do)s(es)f(not)h (terminate)h(the)e(licenses)i(of)f(parties)330 5121 y(who)38 b(ha)m(v)m(e)h(receiv)m(ed)h(copies)e(or)h(righ)m(ts)f(from)g(y)m(ou)g (under)f(this)h(License.)64 b(If)38 b(y)m(our)g(righ)m(ts)h(ha)m(v)m(e) 330 5230 y(b)s(een)25 b(terminated)i(and)e(not)h(p)s(ermanen)m(tly)g (reinstated,)i(receipt)f(of)f(a)g(cop)m(y)h(of)f(some)h(or)f(all)h(of)f (the)330 5340 y(same)31 b(material)h(do)s(es)e(not)g(giv)m(e)i(y)m(ou)f (an)m(y)g(righ)m(ts)f(to)i(use)e(it.)p eop end %%Page: 109 113 TeXDict begin 109 112 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(Cop)m(ying)g(Information)2098 b(109)154 299 y(10.)61 b(FUTURE)30 b(REVISIONS)f(OF)i(THIS)e(LICENSE)330 433 y(The)41 b(F)-8 b(ree)43 b(Soft)m(w)m(are)f(F)-8 b(oundation)43 b(ma)m(y)f(publish)e(new,)k(revised)d(v)m(ersions)h(of)g(the)g(GNU)g(F) -8 b(ree)330 543 y(Do)s(cumen)m(tation)34 b(License)e(from)g(time)h(to) g(time.)46 b(Suc)m(h)31 b(new)h(v)m(ersions)g(will)h(b)s(e)e(similar)h (in)g(spirit)330 653 y(to)j(the)g(presen)m(t)f(v)m(ersion,)i(but)e(ma)m (y)h(di\013er)f(in)g(detail)h(to)g(address)f(new)g(problems)f(or)i (concerns.)330 762 y(See)c Fo(https://www.gnu.org/lic)o(ense)o(s/)p Fu(.)330 897 y(Eac)m(h)f(v)m(ersion)g(of)g(the)f(License)h(is)g(giv)m (en)g(a)g(distinguishing)f(v)m(ersion)h(n)m(um)m(b)s(er.)39 b(If)29 b(the)g(Do)s(cumen)m(t)330 1006 y(sp)s(eci\014es)45 b(that)h(a)g(particular)f(n)m(um)m(b)s(ered)f(v)m(ersion)i(of)f(this)g (License)h(\\or)g(an)m(y)g(later)g(v)m(ersion")330 1116 y(applies)33 b(to)g(it,)h(y)m(ou)e(ha)m(v)m(e)i(the)f(option)g(of)f (follo)m(wing)i(the)f(terms)f(and)g(conditions)h(either)g(of)f(that)330 1225 y(sp)s(eci\014ed)37 b(v)m(ersion)i(or)e(of)h(an)m(y)h(later)g(v)m (ersion)f(that)g(has)g(b)s(een)f(published)f(\(not)j(as)f(a)g(draft\))g (b)m(y)330 1335 y(the)33 b(F)-8 b(ree)34 b(Soft)m(w)m(are)f(F)-8 b(oundation.)49 b(If)32 b(the)h(Do)s(cumen)m(t)g(do)s(es)g(not)g(sp)s (ecify)f(a)h(v)m(ersion)g(n)m(um)m(b)s(er)f(of)330 1445 y(this)i(License,)j(y)m(ou)d(ma)m(y)i(c)m(ho)s(ose)f(an)m(y)g(v)m (ersion)g(ev)m(er)g(published)e(\(not)i(as)g(a)f(draft\))h(b)m(y)f(the) h(F)-8 b(ree)330 1554 y(Soft)m(w)m(are)33 b(F)-8 b(oundation.)46 b(If)32 b(the)g(Do)s(cumen)m(t)g(sp)s(eci\014es)g(that)g(a)h(pro)m(xy)f (can)g(decide)g(whic)m(h)g(future)330 1664 y(v)m(ersions)h(of)g(this)f (License)h(can)g(b)s(e)f(used,)g(that)i(pro)m(xy's)e(public)g(statemen) m(t)i(of)f(acceptance)i(of)e(a)330 1773 y(v)m(ersion)e(p)s(ermanen)m (tly)f(authorizes)h(y)m(ou)g(to)g(c)m(ho)s(ose)g(that)g(v)m(ersion)g (for)f(the)h(Do)s(cumen)m(t.)154 1908 y(11.)61 b(RELICENSING)330 2042 y(\\Massiv)m(e)39 b(Multiauthor)f(Collab)s(oration)g(Site")h(\(or) e(\\MMC)h(Site"\))h(means)e(an)m(y)h(W)-8 b(orld)37 b(Wide)330 2152 y(W)-8 b(eb)36 b(serv)m(er)g(that)h(publishes)d(cop)m(yrigh)m (table)k(w)m(orks)e(and)f(also)i(pro)m(vides)e(prominen)m(t)h (facilities)330 2262 y(for)27 b(an)m(yb)s(o)s(dy)g(to)h(edit)g(those)g (w)m(orks.)39 b(A)28 b(public)f(wiki)h(that)g(an)m(yb)s(o)s(dy)e(can)i (edit)g(is)f(an)h(example)g(of)330 2371 y(suc)m(h)33 b(a)h(serv)m(er.)51 b(A)34 b(\\Massiv)m(e)i(Multiauthor)e(Collab)s (oration")h(\(or)f(\\MMC"\))h(con)m(tained)g(in)f(the)330 2481 y(site)d(means)f(an)m(y)h(set)g(of)g(cop)m(yrigh)m(table)h(w)m (orks)e(th)m(us)g(published)f(on)h(the)h(MMC)f(site.)330 2615 y(\\CC-BY-SA")36 b(means)f(the)g(Creativ)m(e)i(Commons)e(A)m (ttribution-Share)g(Alik)m(e)i(3.0)f(license)g(pub-)330 2725 y(lished)27 b(b)m(y)f(Creativ)m(e)j(Commons)d(Corp)s(oration,)h(a) g(not-for-pro\014t)g(corp)s(oration)h(with)e(a)h(principal)330 2834 y(place)g(of)f(business)e(in)i(San)f(F)-8 b(rancisco,)29 b(California,)f(as)e(w)m(ell)h(as)f(future)f(cop)m(yleft)i(v)m(ersions) f(of)g(that)330 2944 y(license)31 b(published)e(b)m(y)h(that)h(same)g (organization.)330 3078 y(\\Incorp)s(orate")h(means)e(to)h(publish)e (or)i(republish)e(a)i(Do)s(cumen)m(t,)g(in)g(whole)g(or)f(in)g(part,)h (as)g(part)330 3188 y(of)g(another)f(Do)s(cumen)m(t.)330 3323 y(An)c(MMC)g(is)h(\\eligible)h(for)e(relicensing")h(if)g(it)f(is)h (licensed)f(under)f(this)h(License,)i(and)e(if)g(all)h(w)m(orks)330 3432 y(that)43 b(w)m(ere)f(\014rst)f(published)f(under)h(this)h (License)g(somewhere)g(other)g(than)g(this)g(MMC,)h(and)330 3542 y(subsequen)m(tly)34 b(incorp)s(orated)h(in)f(whole)h(or)g(in)f (part)h(in)m(to)h(the)f(MMC,)g(\(1\))h(had)e(no)h(co)m(v)m(er)h(texts) 330 3651 y(or)30 b(in)m(v)-5 b(arian)m(t)32 b(sections,)g(and)d(\(2\))j (w)m(ere)f(th)m(us)f(incorp)s(orated)g(prior)g(to)h(No)m(v)m(em)m(b)s (er)g(1,)g(2008.)330 3786 y(The)40 b(op)s(erator)h(of)g(an)f(MMC)h (Site)g(ma)m(y)g(republish)e(an)h(MMC)h(con)m(tained)h(in)e(the)h(site) g(under)330 3895 y(CC-BY-SA)30 b(on)g(the)h(same)f(site)h(at)g(an)m(y)g (time)g(b)s(efore)e(August)h(1,)h(2009,)h(pro)m(vided)e(the)g(MMC)h(is) 330 4005 y(eligible)h(for)e(relicensing.)p eop end %%Page: 110 114 TeXDict begin 110 113 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(Cop)m(ying)g(Information)2098 b(110)150 299 y Ft(ADDENDUM:)45 b(Ho)l(w)h(to)f(use)g(this)h(License)f(for)g(y)l(our)g (do)t(cumen)l(ts)150 458 y Fu(T)-8 b(o)35 b(use)f(this)h(License)g(in)f (a)h(do)s(cumen)m(t)g(y)m(ou)f(ha)m(v)m(e)i(written,)g(include)f(a)f (cop)m(y)i(of)f(the)f(License)h(in)g(the)150 568 y(do)s(cumen)m(t)30 b(and)g(put)g(the)g(follo)m(wing)i(cop)m(yrigh)m(t)g(and)e(license)h (notices)g(just)f(after)h(the)g(title)h(page:)468 680 y Fn(Copyright)42 b(\(C\))79 b Fb(year)g(your)40 b(name)p Fn(.)468 767 y(Permission)i(is)e(granted)g(to)g(copy,)h(distribute)g (and/or)g(modify)f(this)g(document)468 854 y(under)h(the)f(terms)g(of)g (the)g(GNU)g(Free)g(Documentation)i(License,)f(Version)g(1.3)468 941 y(or)f(any)g(later)g(version)h(published)h(by)d(the)h(Free)g (Software)h(Foundation;)468 1029 y(with)g(no)e(Invariant)j(Sections,)f (no)f(Front-Cover)h(Texts,)g(and)f(no)f(Back-Cover)468 1116 y(Texts.)80 b(A)40 b(copy)g(of)g(the)f(license)i(is)f(included)h (in)f(the)g(section)g(entitled)h(``GNU)468 1203 y(Free)g(Documentation) h(License''.)275 1337 y Fu(If)d(y)m(ou)h(ha)m(v)m(e)h(In)m(v)-5 b(arian)m(t)41 b(Sections,)i(F)-8 b(ron)m(t-Co)m(v)m(er)42 b(T)-8 b(exts)41 b(and)e(Bac)m(k-Co)m(v)m(er)k(T)-8 b(exts,)43 b(replace)e(the)150 1447 y(\\with)6 b(.)22 b(.)g(.)12 b(T)-8 b(exts.")31 b(line)g(with)f(this:)547 1559 y Fn(with)40 b(the)g(Invariant)h(Sections)g(being)g Fb(list)f(their)g(titles)p Fn(,)h(with)547 1646 y(the)f(Front-Cover)i(Texts)e(being)g Fb(list)p Fn(,)h(and)f(with)g(the)g(Back-Cover)h(Texts)547 1733 y(being)f Fb(list)p Fn(.)275 1868 y Fu(If)34 b(y)m(ou)i(ha)m(v)m (e)g(In)m(v)-5 b(arian)m(t)36 b(Sections)g(without)f(Co)m(v)m(er)h(T)-8 b(exts,)38 b(or)d(some)g(other)h(com)m(bination)g(of)g(the)150 1978 y(three,)31 b(merge)g(those)g(t)m(w)m(o)g(alternativ)m(es)i(to)e (suit)f(the)h(situation.)275 2112 y(If)23 b(y)m(our)h(do)s(cumen)m(t)f (con)m(tains)i(non)m(trivial)g(examples)g(of)f(program)f(co)s(de,)j(w)m (e)e(recommend)g(releasing)150 2222 y(these)44 b(examples)f(in)g (parallel)h(under)e(y)m(our)h(c)m(hoice)i(of)e(free)g(soft)m(w)m(are)h (license,)k(suc)m(h)43 b(as)g(the)g(GNU)150 2331 y(General)31 b(Public)f(License,)i(to)f(p)s(ermit)e(their)i(use)f(in)g(free)g(soft)m (w)m(are.)p eop end %%Page: 111 115 TeXDict begin 111 114 bop 3614 -116 a Fu(111)150 299 y Fr(F)-13 b(unction)52 b(and)h(Data)i(Index)146 610 y Ft(\()150 729 y Fn(\(*Gsasl_client_callback_anony)q(mous)q(\))26 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(97)150 817 y Fn(\(*Gsasl_client_callback_)227 905 y(authentication_id\))26 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fj(98)150 993 y Fn (\(*Gsasl_client_callback_)227 1081 y(authorization_id\))8 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fj(98)150 1169 y Fn(\(*Gsasl_client_callback_passc)q(ode\))27 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fj(100)150 1257 y Fn(\(*Gsasl_client_callback_passw)q(ord\))27 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fj(101)150 1345 y Fn (\(*Gsasl_client_callback_servi)q(ce\))9 b Fa(:)18 b(:)c(:)f(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)22 b Fj(98)150 1433 y Fn (\(*Gsasl_server_callback_anony)q(mous)q(\))k Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(97)150 1521 y Fn (\(*Gsasl_server_callback_cram_)q(md5\))29 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fj(99)150 1609 y Fn(\(*Gsasl_server_callback_diges)q(t_md)q(5\))18 b Fa(:)h(:)13 b(:)g(:)g(:)g(:)g(:)32 b Fj(99)150 1697 y Fn (\(*Gsasl_server_callback_exter)q(nal\))d Fa(:)13 b(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)37 b Fj(99)150 1785 y Fn(\(*Gsasl_server_callback_gssap)q (i\))9 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 b Fj(100)150 1873 y Fn(\(*Gsasl_server_callback_retri)q(eve\))k Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fj(101)150 1961 y Fn(\(*Gsasl_server_callback_servi)q(ce\))29 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)38 b Fj(102)150 2049 y Fn(\(*Gsasl_server_callback_valid)q(ate\))9 b Fa(:)18 b(:)13 b(:)h(:)22 b Fj(101,)27 b(102)146 2317 y Ft(G)150 2435 y Fn(gsasl)9 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fj(72)150 2523 y Fn(gsasl_appinfo_get)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fj(81)150 2611 y Fn(gsasl_appinfo_set)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)h(:)26 b Fj(81)150 2699 y Fn(gsasl_application_data_get)7 b Fa(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)21 b Fj(81)150 2787 y Fn(gsasl_application_data_set)7 b Fa(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)21 b Fj(81)150 2875 y Fn(gsasl_base64_decode)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fj(97)150 2963 y Fn(gsasl_base64_encode)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) 21 b Fj(97)150 3051 y Fn(gsasl_base64_from)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fj(43)150 3139 y Fn(gsasl_base64_to)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)32 b Fj(43)150 3227 y Fn(gsasl_callback)23 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fj(36)150 3315 y Fn(gsasl_callback_hook_get)14 b Fa(:)k(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)28 b Fj(37)150 3403 y Fn(gsasl_callback_hook_set)14 b Fa(:)k(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)28 b Fj(37)150 3491 y Fn(gsasl_callback_set)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fj(36)150 3579 y Fn(gsasl_check_version)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) 21 b Fj(12)150 3667 y Fn(gsasl_client_application_data)q(_get)29 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fj(79)150 3755 y Fn(gsasl_client_application_data)q(_set)29 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fj(78)150 3844 y Fn(gsasl_client_callback_anonymo)q(us_g)q(et)18 b Fa(:)h(:)13 b(:)g(:)g(:)g(:)g(:)32 b Fj(86)150 3932 y Fn (gsasl_client_callback_anonymo)q(us_s)q(et)18 b Fa(:)h(:)13 b(:)g(:)g(:)g(:)g(:)32 b Fj(85)150 4020 y Fn(gsasl_client_callback_)227 4108 y(authentication_id_get)15 b Fa(:)i(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 b Fj(82)150 4196 y Fn(gsasl_client_callback_)227 4284 y (authentication_id_set)15 b Fa(:)i(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 b Fj(82)150 4372 y Fn(gsasl_client_callback_)227 4460 y(authorization_id_get)17 b Fa(:)h(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)32 b Fj(83)150 4548 y Fn(gsasl_client_callback_) 227 4636 y(authorization_id_set)17 b Fa(:)h(:)13 b(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)32 b Fj(82)150 4724 y Fn(gsasl_client_callback_maxbuf_)q(get)9 b Fa(:)18 b(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)22 b Fj(87)150 4812 y Fn(gsasl_client_callback_maxbuf_)q(set)9 b Fa(:)18 b(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)22 b Fj(86)150 4900 y Fn(gsasl_client_callback_passcod)q(e_ge)q(t)k Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(84)150 4988 y Fn(gsasl_client_callback_passcod)q(e_se)q(t)26 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(84)150 5076 y Fn (gsasl_client_callback_passwor)q(d_ge)q(t)26 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(83)150 5164 y Fn (gsasl_client_callback_passwor)q(d_se)q(t)26 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(83)150 5252 y Fn (gsasl_client_callback_pin_get)17 b Fa(:)h(:)c(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)30 b Fj(84)150 5340 y Fn (gsasl_client_callback_pin_set)17 b Fa(:)h(:)c(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)30 b Fj(84)2025 610 y Fn (gsasl_client_callback_qop_get)16 b Fa(:)j(:)13 b(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)30 b Fj(86)2025 698 y Fn (gsasl_client_callback_qop_set)16 b Fa(:)j(:)13 b(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)30 b Fj(86)2025 785 y Fn (gsasl_client_callback_realm_ge)q(t)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)25 b Fj(87)2025 873 y Fn(gsasl_client_callback_realm_se)q(t)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)25 b Fj(87)2025 961 y Fn(gsasl_client_callback_service_)q(get)k Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)37 b Fj(85)2025 1048 y Fn(gsasl_client_callback_service_)q(set)29 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)37 b Fj(85)2025 1136 y Fn(gsasl_client_ctx_get)26 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)36 b Fj(78)2025 1223 y Fn(gsasl_client_finish)7 b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fj(78)2025 1311 y Fn(gsasl_client_listmech)i Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fj(76)2025 1399 y Fn(gsasl_client_mechlist)24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)34 b Fj(34)2025 1486 y Fn(gsasl_client_start)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fj(40)2025 1574 y Fn(gsasl_client_step)12 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)27 b Fj(76)2025 1661 y Fn(gsasl_client_step_base64)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)26 b Fj(77)2025 1749 y Fn (gsasl_client_suggest_mechanism)14 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)28 b Fj(35)2025 1836 y Fn (gsasl_client_support_p)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 b Fj(34)2025 1924 y Fn(gsasl_ctx_get)25 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fj(80)2025 2012 y Fn(gsasl_decode)8 b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)22 b Fj(41)2025 2099 y Fn(gsasl_decode_inline)7 b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fj(80)2025 2187 y Fn(gsasl_done)13 b Fa(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)27 b Fj(34)2025 2274 y Fn(gsasl_encode)8 b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)22 b Fj(41)2025 2362 y Fn(gsasl_encode_inline)7 b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fj(80)2025 2450 y Fn(gsasl_finish)8 b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fj(41)2025 2537 y Fn(gsasl_free)13 b Fa(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)27 b Fj(46)2025 2625 y Fn(gsasl_hmac_md5)c Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(45)2025 2712 y Fn(gsasl_hmac_sha1)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)32 b Fj(45)2025 2800 y Fn(gsasl_init)13 b Fa(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)27 b Fj(34)2025 2888 y Fn(gsasl_md5)15 b Fa(:)g(:)f(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 b Fj(44)2025 2975 y Fn(gsasl_md5pwd_get_password)9 b Fa(:)18 b(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)23 b Fj(96)2025 3063 y Fn(gsasl_mechanism_name)j Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)36 b Fj(42)2025 3150 y Fn(gsasl_nonce)10 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)25 b Fj(44)2025 3238 y Fn(gsasl_property_fast)7 b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fj(38)2025 3325 y Fn(gsasl_property_get)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)24 b Fj(39)2025 3413 y Fn(gsasl_property_set)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fj(38)2025 3501 y Fn(gsasl_property_set_raw)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 b Fj(38)2025 3588 y Fn(gsasl_random)8 b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fj(44)2025 3676 y Fn(gsasl_randomize)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)32 b Fj(80)2025 3763 y Fn(gsasl_register)23 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(35)2025 3851 y Fn(gsasl_saslprep)23 b Fa(:)13 b(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(43)2025 3939 y Fn(gsasl_server_application_data_)q(get)29 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)37 b Fj(79)2025 4026 y Fn(gsasl_server_application_data_)q(set)29 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)37 b Fj(79)2025 4114 y Fn(gsasl_server_callback_anonymou)q(s_get)19 b Fa(:)f(:)13 b(:)h(:)f(:)g(:)g(:)32 b Fj(91)2025 4201 y Fn (gsasl_server_callback_anonymou)q(s_set)19 b Fa(:)f(:)13 b(:)h(:)f(:)g(:)g(:)32 b Fj(90)2025 4289 y Fn (gsasl_server_callback_cipher_g)q(et)8 b Fa(:)19 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)23 b Fj(93)2025 4377 y Fn(gsasl_server_callback_cipher_s)q(et)8 b Fa(:)19 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)23 b Fj(93)2025 4464 y Fn(gsasl_server_callback_cram_md5)q(_get)k Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)35 b Fj(89)2025 4552 y Fn (gsasl_server_callback_cram_md5)q(_set)27 b Fa(:)13 b(:)g(:)g(:)g(:)g (:)g(:)g(:)35 b Fj(89)2025 4639 y Fn(gsasl_server_callback_digest_m)q (d5_ge)q(t)15 b Fa(:)k(:)13 b(:)g(:)g(:)h(:)29 b Fj(89)2025 4727 y Fn(gsasl_server_callback_digest_m)q(d5_se)q(t)15 b Fa(:)k(:)13 b(:)g(:)g(:)h(:)29 b Fj(89)2025 4814 y Fn(gsasl_server_callback_external)q(_get)e Fa(:)13 b(:)g(:)g(:)g(:)g(:) g(:)g(:)35 b Fj(90)2025 4902 y Fn(gsasl_server_callback_external)q (_set)27 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)35 b Fj(90)2025 4990 y Fn(gsasl_server_callback_gssapi_g)q(et)8 b Fa(:)19 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)23 b Fj(94)2025 5077 y Fn(gsasl_server_callback_gssapi_s)q(et)8 b Fa(:)19 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)23 b Fj(94)2025 5165 y Fn(gsasl_server_callback_maxbuf_g)q(et)8 b Fa(:)19 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)23 b Fj(92)2025 5252 y Fn(gsasl_server_callback_maxbuf_s)q(et)8 b Fa(:)19 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)23 b Fj(92)2025 5340 y Fn(gsasl_server_callback_qop_get)16 b Fa(:)j(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)30 b Fj(92)p eop end %%Page: 112 116 TeXDict begin 112 115 bop 150 -116 a Fu(F)-8 b(unction)31 b(and)f(Data)i(Index)2458 b(112)150 299 y Fn (gsasl_server_callback_qop_set)17 b Fa(:)h(:)c(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)30 b Fj(91)150 386 y Fn (gsasl_server_callback_realm_g)q(et)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)25 b Fj(91)150 474 y Fn(gsasl_server_callback_realm_s)q(et)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)25 b Fj(91)150 562 y Fn(gsasl_server_callback_retriev)q(e_ge)q(t)h Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(88)150 649 y Fn (gsasl_server_callback_retriev)q(e_se)q(t)26 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(88)150 737 y Fn (gsasl_server_callback_securid)q(_get)29 b Fa(:)13 b(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)37 b Fj(94)150 824 y Fn(gsasl_server_callback_securid)q (_set)29 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fj(93)150 912 y Fn(gsasl_server_callback_service)q(_get)29 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fj(95)150 1000 y Fn(gsasl_server_callback_service)q(_set)29 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fj(94)150 1087 y Fn(gsasl_server_callback_validat)q(e_ge)q(t)26 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(88)150 1175 y Fn (gsasl_server_callback_validat)q(e_se)q(t)26 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(88)150 1262 y Fn (gsasl_server_ctx_get)26 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 b Fj(79)150 1350 y Fn(gsasl_server_finish)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fj(78)150 1438 y Fn(gsasl_server_listmech)j Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)33 b Fj(76)150 1525 y Fn(gsasl_server_mechlist)24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)33 b Fj(34)150 1613 y Fn(gsasl_server_start)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fj(40)2025 299 y Fn(gsasl_server_step)12 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)27 b Fj(77)2025 393 y Fn(gsasl_server_step_base64)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)26 b Fj(78)2025 487 y Fn (gsasl_server_suggest_mechanism)14 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)28 b Fj(82)2025 580 y Fn (gsasl_server_support_p)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 b Fj(35)2025 674 y Fn(gsasl_session_hook_get)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)31 b Fj(37)2025 768 y Fn(gsasl_session_hook_set)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)31 b Fj(37)2025 862 y Fn(gsasl_sha1)13 b Fa(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)27 b Fj(45)2025 956 y Fn(gsasl_simple_getpass)f Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)36 b Fj(44)2025 1050 y Fn(gsasl_step)13 b Fa(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)27 b Fj(40)2025 1143 y Fn(gsasl_step64)8 b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) 22 b Fj(41)2025 1237 y Fn(gsasl_strerror)h Fa(:)13 b(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fj(51)2025 1331 y Fn(gsasl_strerror_name)7 b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fj(51)2025 1425 y Fn(gsasl_stringprep_nfkc)i Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)34 b Fj(95)2025 1519 y Fn(gsasl_stringprep_saslprep) 9 b Fa(:)18 b(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)23 b Fj(95)2025 1613 y Fn(gsasl_stringprep_trace)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)31 b Fj(96)p eop end %%Page: 113 117 TeXDict begin 113 116 bop 3614 -116 a Fu(113)150 299 y Fr(Concept)52 b(Index)146 638 y Ft(A)150 754 y Fj(AIX)19 b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fj(4)150 842 y(Auto)r(conf)26 b(tests)16 b Fa(:)d(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)30 b Fj(13)146 1077 y Ft(C)150 1193 y Fj(Callbac)n(ks)15 b Fa(:)f(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 b Fj(36)150 1280 y(c)n(hannel)c(binding)18 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)33 b Fj(24,)26 b(29)150 1368 y(command)g(line)9 b Fa(:)k(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)23 b Fj(72)150 1455 y(Compiling)k(y)n(our)e(application)6 b Fa(:)15 b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)21 b Fj(12)150 1542 y(Con\014gure)26 b(tests)8 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)22 b Fj(13)150 1630 y(Con)n(tributing)12 b Fa(:)h(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)27 b Fj(9)150 1717 y(CRAM-MD5)10 b Fa(:)j(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fj(28)146 1952 y Ft(D)150 2068 y Fj(Debian)7 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)22 b Fj(4)150 2156 y(Deprecated)j(functions)8 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)22 b Fj(76)150 2243 y(DIGEST-MD5)15 b Fa(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)30 b Fj(28)150 2330 y(Do)n(wnload)10 b Fa(:)k(:)f(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)25 b Fj(5)146 2565 y Ft(E)150 2682 y Fj(Error)h(Handling)c Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 b Fj(47)150 2769 y(Examples)13 b Fa(:)h(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)27 b Fj(52)146 3021 y Ft(F)150 3137 y Fj(FDL,)f(GNU)f(F)-6 b(ree)25 b(Do)r(cumen)n(tation)h(License)e Fa(:)13 b(:)g(:)g(:)g(:)g(:)38 b Fj(103)150 3224 y(F)-6 b(reeBSD)11 b Fa(:)i(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)26 b Fj(5)146 3459 y Ft(G)150 3576 y Fj(GS2)19 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)33 b Fj(31)150 3663 y(GS2-KRB5)21 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)35 b Fj(31)150 3750 y(GS2-KRB5-PLUS)10 b Fa(:)j(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)25 b Fj(31)150 3838 y(GSSAPI)16 b Fa(:)d(:)g(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)31 b Fj(30)146 4073 y Ft(H)150 4189 y Fj(Hac)n(king)7 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fj(9)150 4276 y(HP-UX)c Fa(:)11 b(:)i(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 b Fj(4)146 4511 y Ft(I)150 4628 y Fj(Iden)n(tit)n(y)24 b(Pro)n(vider)i(Iden)n(ti\014er)12 b Fa(:)g(:)h(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)26 b Fj(24)150 4715 y(Installation)21 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 b Fj(5)150 4802 y(in)n(v)n(oking)25 b Fn(gsasl)9 b Fa(:)14 b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fj(72)150 4890 y(IRIX)7 b Fa(:)12 b(:)h(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)22 b Fj(4)150 4977 y(iteration)27 b(coun)n(t)12 b Fa(:)g(:)h(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)26 b Fj(23)146 5212 y Ft(K)150 5328 y Fj(KERBER)n(OS)p 588 5328 24 4 v 33 w(V5)14 b Fa(:)e(:)h(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) 28 b Fj(33)2021 638 y Ft(L)2025 757 y Fj(Library)d(Ov)n(erview)16 b Fa(:)e(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)31 b Fj(15)2021 1023 y Ft(M)2025 1142 y Fj(Mandrak)n(e)9 b Fa(:)k(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)25 b Fj(4)2025 1230 y(Motorola)j(Cold\014re)16 b Fa(:)d(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)31 b Fj(5)2021 1480 y Ft(N)2025 1599 y Fj(NetBSD)20 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)h(:)36 b Fj(5)2025 1687 y(NTLM)8 b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)g(:)g(:)23 b Fj(30)2021 1938 y Ft(O)2025 2056 y Fj(Obsolete)j(functions)18 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)32 b Fj(76)2025 2144 y(Op)r(enBSD)9 b Fa(:)i(:)j(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)g(:)24 b Fj(5)2025 2232 y(Op)r(enID)7 b Fa(:)12 b(:)h(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)h(:)21 b Fj(32)2025 2320 y(Ov)n(erview)d Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)33 b Fj(15)2021 2571 y Ft(P)2025 2689 y Fj(Prop)r(erties)20 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)34 b Fj(38)2021 2956 y Ft(R)2025 3074 y Fj(RedHat)13 b Fa(:)f(:)i(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)28 b Fj(4)2025 3162 y(RedHat)d(Adv)l(anced)f(Serv)n(er)9 b Fa(:)j(:)h(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)24 b Fj(4)2025 3250 y(Rep)r(orting)i(Bugs) 16 b Fa(:)d(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)31 b Fj(8)2021 3517 y Ft(S)2025 3636 y Fj(salt)13 b Fa(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)27 b Fj(23)2025 3724 y(SAML)14 b Fa(:)f(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)29 b Fj(31)2025 3812 y(SAML)c(IdP)g(Iden)n(ti\014er)15 b Fa(:)d(:)h(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)29 b Fj(24)2025 3900 y(SASL)24 b(sessions)6 b Fa(:)15 b(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fj(40)2025 3988 y(SCRAM)c Fa(:)12 b(:)h(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)31 b Fj(29)2025 4075 y(SECURID)17 b Fa(:)11 b(:)i(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)31 b Fj(30)2025 4163 y(Solaris)15 b Fa(:)f(:)f(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)30 b Fj(4)2025 4251 y(SuSE)18 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)34 b Fj(4)2025 4339 y(SuSE)25 b(Lin)n(ux)12 b Fa(:)g(:)h(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)27 b Fj(4)2021 4590 y Ft(T)2025 4709 y Fj(tls-unique)9 b Fa(:)j(:)h(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)24 b Fj(24)2025 4797 y(T)-6 b(ru64)10 b Fa(:)j(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)25 b Fj(4)2021 5047 y Ft(U)2025 5166 y Fj(uClib)r(c)16 b Fa(:)e(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)31 b Fj(5)2025 5254 y(uClin)n(ux)11 b Fa(:)h(:)h(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)26 b Fj(5)p eop end %%Page: 114 118 TeXDict begin 114 117 bop 150 -116 a Fu(Concept)31 b(Index)2882 b(114)146 299 y Ft(W)1740 b Fj(Windo)n(ws)6 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)21 b Fj(4)p eop end %%Trailer userdict /end-hook known{end-hook}if %%EOF gsasl-1.8.1/doc/gsasl-callback-validate.texi0000664000000000000000000000124111746471770015631 00000000000000@deftypefn Prototype int (*Gsasl_server_callback_validate) (Gsasl_session_ctx * @var{ctx}, char * @var{authorization_id}, char * @var{authentication_id}, char * @var{password}) @var{ctx}: libgsasl handle. @var{authorization_id}: input array with authorization identity. @var{authentication_id}: input array with authentication identity. @var{password}: input array with password. Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used. @end deftypefn gsasl-1.8.1/doc/controlflow.dia0000664000000000000000000000316311746471770013340 00000000000000[mF_J${ 9wQR)jVzA|_67\+afg癅{aΌ{"Rۮ̮AxGOo}:o#oԿsC]S;2 %`XF %0cxݻal*(RB9qu*Z.Y,{n&٧;Xl٣;S2VmO:!bWAHz Ͷe*4bCQߕ;60L0"b3L8QP,1!~>9htdng!LuB|[:\lU]B)#\ -_}g02ENp2Y(4UCLV+T娄ƸS EZ<=?'zUd2a!+Sߪ>p<[^E% ml<,\`;mL`nr$8i;&8!JP.DTE"v_9TGb0:Xn:lDՙ?y2 ÛaŸTޘ˲)[cvT4ސ_ aDob+(!yU^=2|zm3=i3dRV]6xotK|[*,(K:E~LJ {GGOgyZ&jfbg;7ay$ /w?)5U}y6<8G[]%,OguÕqFƌ糷]%ZkkGn\,kUĨ sF9ZA>F?D45)7 &iȃI7NȨ")g> I" ժ%'*E\/-W6juSV<pECIFP%r0O,qZ _ ߇ ޹GU15Eԛhh5<:nC,,gE)bN.a<z2P[w%F2ȸtTOIK^ճkP=(/֊ {_3cxAyJ#b$a m?l!V7 lv4쯷u5? sc?'$btȞ^/y=J̆Ǟ1_M<|3 @y}dp1yDT AnATAh3*qt3<ΓJD@= J;ֻӣY0^zYjW> stream xĽɎ%1%ȵ#4 ~E uLj{aEy(N"{]ן w1}_u S955uQewK˟6?y_cwk[Z_4˙2wi]Xv21ygtO{0a3>`{._s3'e-pcL̯Y`>o,c,k;Wtʠpf߁ϝ)dD]YVvp |4Ao(>v+K/{pEg>vh<{5$L?_>#Z}Got,BzɰwTaN<7YzgR7>yJͫQΗj3Y `%1W]\3[V.=|JǓ zwľL@- ^VhuDo[,cKMY&Nmvzu$L?=oĜi;&:$7UO}`@s?0oşHNsVY~k1'v yH9z^9%;xG4C&UhҦ5oI~o`e;>뿄9SyD9Yh5)ULa)0#jeHUi*g)>]do!,Wap‹qwpbguw=灬~>at3 ws}?0gA(($-Au`d>S ybDsCvwyK\%JưQ}ǨW9a Y/x*0&uO c H/EW^~JȃYBxg cv S<%y|J3K;IH4ib|bҒ$D^f>dOhtGu!=k&lB' (י+Ș {7sئQEZx2FTVNu-C,#EK#c;0U .s kl=scAk*},zl=kIx5' D9dHZ7)-IwSM#_>*dA0y2vlA&OBoy.vs,^%k.l sVb`E$sQ7]c:cB]ڢ^y2CNan(b.W$3Τuf5m@6su"j\SwT)j=Y pʘ&.y-nSqr# Z+ D)nY?S:p"Gu[6`V# C`y?PnP;$#`.aDb~Up؍%־tp JĝI0aFm p&fm R385b #kOB37V@̅X+4qk'V8/38vu7Ψp'3@hp.VK-ju3^ğڬ 8@S|St+  ʸf MRp&S6+ 0b ;*\3N,u?i{*,0桙9j9f]gʼif-73`X-1XJcdmSb=Ma;%8T|cdqTN4$qwg)ͳ _0ٙ7&lǨ34mnZ#OGjl&Rd Kbp8h%[fLT9J|bm3_`bR*SᅁE|>6YQ|;A}h1kqvOS1wU2.ф՚cT"=x~øuaX`9WIl{WWlEz~DyX Nɬuq`Ǵ.5g|@͋u`?Ӯ#g22}C þpp^]oN'7m0M8uѮ#W?x*::n:%]n3J;G|' ni1.6\覵1"0b\~ ( h7L;C-*. CW223.$C ov5ꮿb̋"FhꮞZ,ƺv7B`jFu# 9/սq ^yoۍncL=2_bv[`LHrU ϔt p,1O^XwV>V1yy?D恫ǨهR¨kYv-㩮}Ǫ,2>ØnT|+4ʭ6 4l>zN)7a(>4`O @xv0[H]_N`ԯ8sU)<{H/~`f-];y1HF)Op68RDS-l-0ux⼠,^|bbAVM5|ۭ_mD )F<58AJGAJ>9M:)-0[XR l:ARŁkGσgEGŇ1J񏾦 {k?L,y˗D8K|C 7A#q0NJGסJ<n.8FT:$:R<±"yV8{e4A#؜|cs[vəaC0)W NҲn&D.PbkE;(s-p+q*xJט&L 0rq.1<8FUہFo94zH ~)ayƽ}#3'bD01A<:"wO|I%0̝W**t|w4B[@d`ҁoQ$ %)8Ԁ?xxpC}L? 9]xnej+6],gзn[cnnd8ϙ}9l\%YsY"<:ϣEg e!.Ͱj &SDugDxuewd,%^mJ@&@N;7ԍLu;F.n={I^ԍL;uF{ "Q@˃B{nq;S72uu3-SOQ#і|R7|ITv؉1Jcq,čس'q#o/7-NiN܆Qfzl"nԓٳ5)zFܾN/B{)Znؤq+ɟS Fc.Ƙ>1)W"m`:IG5]0nF 4x9@+])8 x#e Dhef!%'pw) GiTrt'r,>.zyz*)xt)/9_e rMMc5B;e<ؠ*(m|\`4l:kQ6'n.r%M@_{`9MF%\5%sj΃`~p~vE[Q,PF+̹)-iꜼ q:,l'Ab;؇3Qe s8Y6D #9K2#/·.{ f8$b ->\q]q A1']fLr/!' x x[kwPJ2 6dO߲`ѐ&D4 ّbba7$)Q%2 E '}<ĒB2z~i~ms;f k-,H͂X]& tz wLg %4Pyc~ 1H}YE ο8`ϩ qS:F!, Su`! K& a;' S"뾳0ŗ8ē. f(;uY°*8 á! QCbh\cpۺ4pi6p vP4iKCLj4K4DnC3OiH8ICkaQi!) i~ƨvie)TQCb9xc BԱ0(fQvď# =P@juyOF$M$dJGńdטͩ &D濜ZEfŝw0O{w4XC\âtPc+=QT6.Ofi QTP̏8Jܥ;' 5[\F82qDƌ !L{٩l"*H#yRbVg*uӤ? *w<<ǤSab!keg>1{-Y  s#dHi$[݁C+Nv{i?$1%CAkw+ =2mKRhj0'>M)"[UWi|8o;(&[!yH8%YW3B*Rq^Mo!1ѡ~ӃTU0G xeo)J% cygWFuj\18#qG\Ȋ!:-uJ+?8"&hIiEjT=}ZO+Nj{b"l̲S-=ҮeӀ}s& w`E>W@ܧVsܥqz=jK6sVIāSԀ́qV'~8!h33䠗^g朒9P_sb")!ydnݧYvi`uz`SCW٣3Ju5딣JlyKLly+:t4`sF\|tlb4A6::LsB*g\/0#anbλeuAL1ndH-BTk$d], K%jSRS7W~WQQHRwW|zI3Y[s&RZ B6}CNك@nu mw&d1W֒L: +H fՎ1+{e#^YֆA Ş>,|Pm0Kkn >/.Y)~/s0iq )ـ# eo\N${Q=J=7[bUb"y%GGgK[j͖ff|Ηc|`|ԐQ?_R`K1>KuBi.[a"Ѳ!2rZMeJB ա6ɗTS750eiٙ砤HE K0&$"1 0FԣPݟFO-pa: y8+pmK&m$3yXa?-W:F+~_)WDE٫^m3)^yG@Y__L 9ēLphNɛk>((apCc2AP~3- hSc)&“1i$ aVS8DT(I>NQ W}P8swF;;F`%z>, ycd$ps՞Z;"f q?/ 9 LJ'&=eċկKfg>1s?rf+I:94g%So?1Ϯ/Vm^K'; N+u9?U/pփYcז7:c@+xCr |#.ew\R$1pLްDbo^ju(_`*XZc4-|N_wcphi'F=s Dpu;|'TwU]30|FBЫz?\$$U4zByreJ|Y0Λ!CHu:AyA9RRR+H m"Fi22}b#9r_ULhA(A5@AK*kcW$e֣0{5 .ZXIxFsXt\)K =``.jiBuīC1r}CQXMX߃X:'c.W>ZT8;#k虍aJ$X #O?(PܺPA#9-NȴU(Ĥ21FVZF5:DH]Ge'3_q08a,஺E` qіH+iJH #(`jq.&`j&S%Lת,LSժL-Qyu5F*-Jb0g.L[< ϖ{IY:=y Sp>bٛ# ?Ţ؈2ga(O c9cl- <( +>QY48?*^YuE#C8e?{ -Lł8e}xx SٞQV;CrI)A`N'+E}hQB_b5`i*R J0F>?Tif5OjxsR)KxEG80hUZT[ /bKj> 54j]49fZؕ6Jn- 7Ԛƅa<YryM[FQP7|'7R0OӌqpZRkC -XO39,h ŲVz`)תQ7e88dTܬ[g0Ya撊8OB!~lcQ-DSq8*,HYAeJɷ6;,fG=u28Arȳ}qs Yg.;*! ݋<`nIa{Ia&.uHxY@Ţ\߲.ν^Ydz CǨ0zmTX*>aL:1* Ḯ0xBW^C! I"L) gCwe,ܴ. }&\*Ƥ! 34diAt]:ЗX!pU~I") бKCV! vi(!)  vХዘȞhj7@_$)q?Pa7١ kG> "Mݔ,d)o|lJ\c7Һ)Mݔ&^56%n;J\ܕEw 1ە ]ݕKM<ǮDRLIlJnJl7%r\}6τoJئD {M\Ѽ)u}S:җX7%$D=^DayoJϛCϛaߔM7ĦDPpj+,Aߔ/bhZR1~PϨ,B5%dnM#Y= @wZ==Vݥ:WxU E6xAbDnJKy7\:*HX4+5n2,[jJ4|GғB;BShmN ~K1,*CUAaYV6.%L##gY1lIuZ`W8%qFiW`š ^}S] aW$ w$MTz,>\}I)|vI慨%ݤh. >Qx09M1,,7k!g"}~u'5qCR 7kʤ\f!"Tlȍ Mݗt1VpW.bb}5^f|J}+WJ7_Wjy򕀍 _ ?ѳ T-ꋯR?J}+j鉯"WG'_aͺ_W*sv󕀝7_6W#||ns! έl_8|%c iVZ[W_n`_q+탯_+C o>J{+d򫙯'_a8_qWVVҫ+n[UDhu{R!z5qbZ1 {,"*Wlzu`Pԫ%zumR3[嗒Z]jZ]OzP#juIWb/#-Y?e_|ePYegX. XKMuE=\00X.GX!uMvj_`Ѫ+g+8Mf9R), ݺ+RQ+lؑ/bN-lUhZvfͺjm弐OLzj!$3o =<:TdO,RpV+}SᓨV-Wans6vS^Zq}'x*|}IKń:}EUJ>yVy U[C'X /}`K_%)[;.Py#9+E HyOCNIf}Ebʫ| ~(%i6؜ NNDu.󊩗ssv.g< HsWsM!nzMqӳ_bS{h%Z-A?üE/p"=q]5(L67y_g1{:;?@Uɣ3&=S=|ҴQ/}-̀Aos ylXRRb/-x_?S}Y6ѥ Apu$7 ?UJ$1R#i*%\X<.rW*%}YY4 wKK=+|s'pG]P \t5aRnK4&t} 3x FC8G^$ Rq܄oy ulLn)bQǚĢcL,n뤏!uܧfA M=k!ba>1r[OL,kf_@`lɗ86P .\jM0fhNy%SJ- 4uV;vwbo8*x}1R) ivy]z~qnT+:wKc&?'wrCfC3ouX A^YZxӤzRm=IٰHP7kF^״pH1;~1pP[\L X%2y,W!+T Y 72Qa.岚+kfNR,q^ʋ9"=bNbNaNDOtO =e>0r=vC$#Fy5,J-= b-t!hjtc31hǐ%HǼ~Y:Tc,Svd1EnTHsZ1+ ֐Y;\o-<8)%W7`Wacj7ԍ+hrcp0s2=()zZ>G0rq`<}uPKOȁD}yvv﬷rN Y.E>-lPPN!aM׀B)wm!DrO i|<8j$QDgiv "9YAlgUB7AF Xn҉УO9 jt9dNJ=Ca#?ɯ㒕HZE (!?3UGjqɕ%FsTKw bةKqk!rqIuYDhCb`woGy]}ڢh '1C %iKkX ⢏b~DSZdVx mXMH w3/a`8 M4I~d㴌*tv5l6Fv X\>PeɬӝMc{+cDACAI;G;4dJZ4X] o{@1nVYz=*0zT`Dػ7[M QE]L0^䣢F9hZ#LezF5c<-an}/HT7jU";{2nͤd4;3Q'*8n͗w(WY/6&*,]j@L<"z(GLmRoȭЌ| 42 9f4vZo%xbGR~V)EӶz:3D$D*WmHLg.*Ra3IWuC |KMU>Zq8s1WSNmU; TlA;w»P-i.Hj9]1yU31yz빟wF/]t&?FW8#Gd-JB3GuB"윜U縜vNޙ˩9T绿으W):vHNPO;҄Gb `RY3MݝB̎3XU9$U/Sl3\`j?%81{z)y`䔼𶑔mc1:R [] hocW!HFL: ym)%%$mϬ0Roe1ӌoH~4J8k.s;#r#فX,`K~Z#ҍ0X<glEbY ȀD{`Ņkb&ڻRn/e]XS *o=*;kurW +y?+}t2we~0][ZX\Wzsk]yCڃW殬З+s V1cy,䱼.X]B;EVcYc䱼-X,H,agQڜAYʻ59K3';FINLc٩kAzHa'q(óI|{8XxDu"qX2+H1J{08$ 2q?HoޙY/E>N1͢'#6*ζN;+#)SР!Ipܻ(qSc(pDxB% w)EBA$[I{[LG\eG)k` `[rj܂a\ 'fuxN- ƌ[t9l(`(XvԾf.Uё֓tGH*#îq)>_`72R~虊QUap<Ljw|2asL"]CLvB3NXM#Ѭ%,è@/lZ/ƅOD1XW]IFҝ=u}nX3ONC]1=R)׊Kʵ*kU~'M=Q+m`$0^`+bs`5]+x%l3lN?.qrw;c 9#'0R'=y?8MǨ408(=V<%6Xo@c.x0{@'} 9;,/\a!?\_W_ sl- 0 nዺv{h.àdbaY쀕 G71`*D7u]vlF%>)(6!*|E=VorM[ҟ/cQ] 7%Lc/"zwXQcn%u-y#Na㋧>~7# _ EpCB@@Ugf. 5T4ij&VXo5f3j s^Ӌ6ֈtDtZoC Xc@00gq 3*gi S/Rߒ8tJæP%;;܊OV`곅EgF_NWaQ.FJ`jF(t+GQ5u]hx"UuB:2 =ډc@w,J;|0Dw:,8ߑ<57$!O*q8.ƭ8U;]Š;%7/p-rZ`w9&= 898c.U'ƞOXwxa*sJLe)`#2 X4 )%y}ɗB%@YR zaMYRʚkIT.BQQW(~̲A-Z"UV")+1Y!g YׂVJGr]s9D;ADdYaS-G.JcWh,Q]1P3a3M=-Oݩ6U&0zt 4Z4dx9RJ1}_0E23Fp56-%K`;74l s;8&z1_01hpP黣=h` ~ ":)3q#l4;7!l+CmWƳ)\wz?3 ;.v} luXm/"2_PQgpv/7{RJQҐg8C WxUQw*ro DwyKEId'bL Tp Ǩ^75,9N4j+m-Ix-,: B0L` &4 ǨjkBEWE?VjQ7jqT-:\8PMEUp_dO-#EjOюHrQp9g(>7]&ԋ:dǷ:^>2L[ hxY"0coUd8%W+o9Gt?I[ddRf;KCZ"B>jf[f7oE zi S~ydonΧVqeEg;߰vc7i]t6F[JRL3ՆFK~J3Qx asAKy.$w\pw&ț՝t[SF'Q "{>IC.[ldOnD.@}e%S/avr^%{,թ_k f$2FJwW.P6o$8킏 XfȀ&K .s-S6s$UqLpR^1E1I̘>X sȥҨCDŽ">u%x}*r K^Xy֑OF v7Y3|Q :ZǑ񕏺{ E[ :Ophnr&:;t{_tO`!*ف|ye\dBC|oc*0ġ6` !N"hEFIOZg:WtK }ڼDVC[EkSu9/NGM-lT|;L~P_0psƝ'G9]">]RֵtlnD?e?03Xfzﮕ˥qa;֗9_n&:/\ N,Kk{} Cs]&4?_œp|Zq). 5i8urMt: Ҟw'&=u3T{{ t8dv̫8~g Ȇ ;C L[F1ľ]/Ry1@N 5j6q:_ZCOn'&lc$މ5/0[`;Pw:#/Ӿo/>ZHN`]u# Ya|*Dqx"GM0B@{>(-Vw248È=|[BsG -w+xI r\p'2D(d|qwlߢ{7cבrjc){"AMEp&h=;_ Dw יmhL7LԽM =L} W ݒ\L;V7nI0u/F=As.S_T7E_I}ԄEhwRb"Ls{ <@uvZQL\f'e|%Mo@mP4=WTY˕3M IP-)ORe/`U^Lٗ!)<$!Hm:;0Lgb[euY]Mz2@8Ih8ȭZHuI;PuqͯKCc]tPh 3*xv&‘P&ˡ \_v( 6z(9HR|"H2ov&|G-"$e2qPu -$1OLz0ě]9f QOLAxKbDQ**a "2$6Ξ %3|66Ld/!WzW(pRW'{e7 $O̦^KPٱ$Hpk;Y`adj4tɵ[[2f -Pr'~޴$kfHpt ^v "5"sOhkcI`KU3z$޸$J5wLNE1VJyCqdZ*MnkMfe ׮p]iU)זT'  |,6}IV`&f<># s82vj!(#xK—9['FuzOIXRnF/sueM*YƒD ȾolʐʨO#,PuLqs41A1g!q[@KR+†% wl^xⲮ(0cx :2AQ _EFZ_8r?)~0F&saY剣؜Tx[OO-lccadٲ,)xYL.LbˣP3̆p>0v*5ط0Ca4D!l[po`5$$z\7L/asrNyLhA8wF~NIX`s2 P/tt$LbsS1U7O}b)$Ť9g7#0Do0XGBڈ+kӒ6}1އ,^z5έj:un)Iz%Hp5ȵ]KNXhᙆtɪx!5rpS7Kz,}bN .UAuI1IAzJx M^ GBi̢jq.F`&,\q0g!xMi.ˠ t0Z4aERb. /)gȟp O!s=_ `]KX3oUr1n?h0C؅|o y A*,_d 'aMS{?%$ Q3&8B5iԁ& 7;3Vp{4CD3 4fҪm;ՀN@ I4Ř4>fLf]򫡆@CUnU6b)&ńoC`0-kӘb0vrISL+k$$fدJ# FгGRGXԢ.G-a媏0X4b#ML Ǥ./F!+_O7B*Z [r6b:޳Ε%dZIgy mvX`|CR2c^]8t{`o0䄕x܆c^>ǿ'T ,YRltÁ+9q7!T譀c {`|a,p)bZc 9GE<Lj]vRi< WбJ]Gz ݐ)v71Lu )8~M?šx΀oh@-mѪ|O +ܧ!r1אʔWn/1LzCF$1M`@V=d-܇UeŤ~T>SӟnΎC؏[&r>M_Ђ V(HPEb .XɅqʰJYV40чuz/`ǎUjՈP+xc<4l։a"BM0I9M؏G+Ƣl8&h'qov $!ƈ2F)[t  # UؤC7h[vr ƀ-UKb ΢wjqٌhNn kDWLz)gw8;=;em&q4gp30N-86'c`Qۍ8;֙ӭ>Ǝ rcŘl^C?Ɉ٦1[Jja"as3)YJ_wށmd cΏ@c Vac\o}K&`s~8&a1kL֫]W˯Sn9RFnq{eBCCtNo8b<ӭ@DFWtь ^a]9GDm:cbycoJɱq0{KnƺBdR֋q񊹻d7ro0Hvb=Σ%]9p|0Kal_q}TFE~0`!.otl%i77rOڣo ^^rW4QllG /1=&c/-$ւkv08,=OoO<7}W_1\s6'4ɸ;C/U@/xx ;Pz9 2Xm`O-#'Z@#de^ER~K,\&LW[~?;0|Dt,]U29xM;DzP (mDu!JoW,3pPљH K=*͢凑qmcGo0 (:c;6nAs u#aYn2u9X0m/00Ͳ"K9oT:379s0`AoɷYpZ]}|Wwj-R SmYfVba`1:=X75t`T>Pjcbabtק|O)<Ԏ;IBJMٌ by6mIx +{>G"ZX>pcu#ƒԢpljnT Yh̸iЧS} q6'&~ø'04UI>W#=~,'~|:?.k"=鶎QpVn﫢{Rnip[/k*EI+,J`y e s-='ܨ<4Ld : *(Ejw7!p݆Oė9Vk4ꔥL &$v wU|<_g aZg p29XmNpoU'.~ ]hCD 0U 'W/^m`-v%H9~^)B2"K߅txm/}Ɏ, tݵ<(%1EgZWzXDՎ o[yӨ ϊ2Cݝ`^Q "3pe)kky$}X{s$Yv][P?9g3? PZzdY)74 H:A4pUa-j6B_ la Om""0  :UD x&YFx! *.){,~\c\ pgFdm8A@qΡ<%yJK_<%yJ-Ϸ<$K_|I<$K_|I%/ x%[_חzI%/ rG.ח^ח$%N x^:%%o \o 0&%/ x$`]˝%%}H%,$!~I%/ x$_~I-V)$}H%_~IK#;`l H?7!FxO;HAv 7L`Lj!Z9X-ObƧf:%-CVDމ o VgbJ'̽'c+e']eqWڹĒg2:YW8u{$#1f:! TCzCz20іxzj3e1*Wn sHY&ξh`@zO#⾭ ¥4}T(m/,~, &.$!< GV.m0*rY%Sk ?> [vfGL%'Q|BT@']`z3R x/Pٕ@^1^E$Nh#I`|aqDMXTwM1vbL>H-w|0M:=ʷx/|i I7wK.! }w8MaL0_ZB)fH1rfIPzAt^ )rf`\ &] cv\Π"KyO3H(PMUĮ.G'!RxG+ amX/ li`%@^3+*bнqapu'Z5Ja7gaP(1 V SYЭ`Ń-UF2mtjɢD;̀q,өPLR,B&xG$Pc%Zd.$c+/ܣB 6oć6د;pcR'aWMX`^}o<W:I_JC#hZri)8] n8pt䩥Ibx(  I(c;PG~OA~z v$ÉD1G6ߜ}ScܗJ`&uִjԉ,wpܰ Ld- MB(GҀ(teB*k> 3KG!B&棰G(t}]Q,Qx> nqvBE: {Q&QSGb(Dt" qbT5|~:G/Y: |x$dtb$tOBI'f$KUS [`I"e!_&h9qL([7&jYs .OT1J_^1)̶) Fм)MݔOcSn٩HDڄ)N1)aWBW̡׼)'{`oiONuYڱ'gr=ۓrړTޓz'={rNj|OyOR$$&=a=I螄`ޓPʮCeޓ'=dR7 P70s -*Id&պHfߘO%Q덡hˁBc2Bı oxXXU|eN|f5q׆g֙UCq%+a~`Ɲ%h4]G->Ogu .I^Al T Yaa"^1 bssn> *E 81A cJRhY;&B(L] R/q'͏PNM(>Ȉ4E6avDJsb\5 aʡ0ұ1܆$D,\\`jXb:6)al"dM%*wӇ| hrՃ*`?Su]{LXg|Ef 1 >5cl?.cj!ƢACwKw%Laّ AFb46roSSQ)cB(aU,oJޛ` Z_'^ʘڌqv`[(2Fq5U׭u~R?bq+݃ KMNp9E07t*xk1PAp+ 'ڐSE5 >>x7`%?az݀z5 \ ]35w-Q+wÀn9=)4"`wC#m"ֻxP?v748!<eDr7.ۑ[ULP|H  _ā wC~Iwg!Dn0Xn> [\4iCw(x z(C's0`Frzoq]I@D?V]reu\|5-1.1ngQƱ#!ngm\6aI0v@ !(Dz#VCcm2ZSALe\ uJ1:g/B8 td ?wʘʳD^Rj0Eg[K@ O|0ʐ(򃗓Weڅop(Kb6Għ]%-҈Z10eK臡lK.ڿSu @I-S"ʘ@밋d q-d8Z\ײ@ ^haLHVs?W@$! &e*\-s%Th>fO1*j 8DERؤ(bʒ D}gq?f5<0R/9;Pi6Lb5O10s%<(j.ZlkJ:;g+폊eǼm |=1sad>y*yuCad>C`dS` 9VfӛKIW[{BXX˥,o O8c9RO~]c'r$xB$:Fj |Wz Oͤ]瘛T󮕄ZJ11*֢,*z.:EZ,E[]u`z̀isRW/ ip- KVc‡P!?HMm0Mn~3ȇ6mnFk,EMYp]J$f[M!̓6"u38VoҨG;a;MoN xrw/og2L(u 8 É!oz#C;~٢EaXfݫÝt_j⦷4)hpR/8&n8+;R2t*xLTy/ d/4FbR?Po3!`K3Aa0BLs>CHoKIc5n9nD_ҫbM9F/= 9OT |oq)# E6AS_Dt6O%{7Yr7#0nv+@1j n_]?}5W$㽗a\~<-%oX#K14ch:gR}4> !" _1Qkh`V F8y4IQ˳GlѨcNGah<f+i9F1I%y4:Gk}{KSL"Aɵf8 oL>5ҍCf>-;Dg *hC*l|D@u84o#HG847=$v*'!-gR[|I%dHZu+q0J0k|M#Y4U8$BED1|1. ҵm1,~ MQbl}-r .Z^-!nJf0^*,=ʗJ(m*FWtO;1 Vb-g^Dﶃp g31&F=E5.hiUR,P)틘&U!Lj<[K,9!%t Y$PMa<)_Ąl>,P̳oE7yo>uhiÚ9TFvfhfnƼ6R߷_%{D"~}<+Bz%mvJBBeKD-C<wf7R?7}&׾}$C K!bHDL,+(bjnCV間^ǧwW2ߞHѤ>ȇَ`v Uq3Eߘ0Va?V&ǨQ2A< *qcfc\9ʂG)i^G.!fG&xj|cQ QkZ0!fXoLe2?j \.YFk{yVM1W_ c׾Zwk_+}0۟_ka7L\׾ r,qIĭ4cKcbg5ے$ԇk0y(Q fo0u $K~ޢy1xþbƞ<@Om7SȠ ~bf'd4zZ~Z_y30voLeKZv1GŤioL%ԲbR04v0^7PaJI贱^#M.s68djߕ~cG} >n>?ii)5C"8lġ4ICIa Rv0q Z@7x y3 $h*n?^21J0|L oUH /IX{T R]x}]7w0rHY|kjP)`y$ydNso 5}3n#<_T]Չg-oEϡT bf/jf!-ꥒbң0$cjJ5|Tz0`r͖`]" i5hNkBnK_1ؿJJZK0浾1V?a2T(YtcJJ+pjW χ*a2H]? f.ꌁ獇AG®;0Ũ¿`Gթܩ3E{޾$߄i tKTz ߆DZ[֐H׃pZ}:¬VMFn |62~Om J0RGR!(V"@RLԐ8] ~j>8ʈFoȲVd@̣2,kJ蟕jbNY$=Pǫ*B; `0ZBB !اY 7eDW7Ir0" YA(0:㶀%%.NLur8y`Iw5cݰ%^܁%|*$ E^A 4D$n  F 1Tbi#V2 d%0@~fd񋑿.N 8z`n|uI:(r !S6dR>B*y {^}_R\Ԙ80 )Y6ŕڪ;-Fރ>K|mپ:gC./d[#t)7_֤80C=Lg`ͦuwg"Qoa8*|;`Px sjH{Bq$+&LECX (uyo#=@*-84S`$qI\= r[<$ tQC (}/| )o,Q6UkuI|c -!-x!؜U bnAKA΂7Lͻ_1.ywLI(f )Џ;SB-#3gLb#0ǧKv 7eHvHM X0=mi[Ui_+b]U!@/FnF@xbpY߮-w8mQ̆wuUxr78d-29|OQ:&:޾]w-;`Cr+(wYoCg/:b:7 IWA ܨpV;a3(9`$A*[O"21PF;)D'6Ll sa1 f)o]lՃRA "JfVBiA1%0ׄ4XhĎb2S0]?~D-)¬\ ~`.j(=R0/|] ˫L#CF oܲqELW;SОY 3c\z'ݺF b&yz!LL @\Gȧt?]8m` `%/ľMJ"Y]o-݁yxӥKQfHIxd p$9w] #?OLsX\QJ*pha<$ nȡ +{R ь,%%d~75Ď"JLў#M39\n}\_*_؎$Gr]u.&`S!>MZC$D\gpaF>_T1J7'017k v /ezL{Z- gDYVS n'E) fqIu<Mad5XHAkԅ{KX`|#֠vELUch ZA[ x՚KL/nhE1njcz*4 UҊ^%W:bwhuӰ.zڙ:'7(]PCO7. JNW[Si:,b1y[B%a_؅fJb#EAwN0Qت`P:Y#-`Vz>w%VI'Ux &#m"TT=йj(n ]sv3'a.iZߘ!bSˊI-3p/E#"4}D7&j)&ZI6Lj}cRd`395~"0D%< #fN[Ixm,$(e#$;T, 8VN\-ղh:̢Y5q7%x0S-AvԠK FلSTb.إhwG͜k.фxEy2Y*wDf΂t^f:WB(v-Q".j -FW| ,J7S8.qOV b= YJ7<W*!O]Q{zWňl K:&j.% ] *za،$I- C͠-}tXܭL]؋ƍ˩etȞ m<^#PՍ4/Ag=( (qw·rHC=GO6Fqb*}pN-08PN(<Mz7%~۷b O ,$wи2 /AzML-dAA-Ht>'ofdmg#ě1{W;0]N7XקHf}:-˫b)Q/F2_d}XJ5RG2?X,CM,%B,&XJM,3e~LA{\ rPR/f;XJ`);KiwK!]f)mKi,aHNR: R^q->X R,(,`)]yb)y&R6R bc)mg4XKތ,Tl=(&1{ƎRDo6SFQCoSd̥Ǭh19&N1^ bp#ϛbfD#\Mg_ XMiaNBei|O̅ĘK 7ՀצdžaC~@E9E>fe-([1 m!zyCvS~[TPҲP5CV|e0wCn$0)jk_S}]XK?VCׅvlJs42d`V#au+:Ő?5>Z\DUl#LwPLŐF!RjWҤ0 '% {QL"NygrxTyZ LB(Aː6JiYuB~< RS7.τ̳FbKF˼eSlH>rhMgUH kN%YY{v1(\g5IE'$=H/RB;ќlf[V-RĜIt=Dvө0\k܎S̑M b'tْw-yzpKI92yU$OVbpK}D|>Y LW€YR,IKK]?^Y%LRRE ^b)/R`{YRVGf)Q'.nge)x=X -y(K Of)pP#}Jwx ~Sp/+<%LJUla7kf+[x[jb+[tVvbc+ي놗P2df|t1GȏUƙB4 7F)-ce|Jgj=_Q'!֘8^010{*Q_{pQ` c{ :lF>̠[^Xaia+d0e{4VKDh{Ř>s?i.D@\̕03 KZJKLply}. = %qw N<#Rn!J v ^y⠚ȕN'/9%fġo"e뵝1:#ڌoWƢgQczKE_8ga6eRhdO* ¬ǿ  *F2z75d08x='a>7&Rt15}vĥQs&u7Lmi8 sSav35n > :[.zH}dDx/zK@LvYjmA3Kdu>Ρ:l'i_&d1Q0N֌#7&H^fd-& }$)DcX SYH1Q/TFmXm:w% Vl!b* :|ijt*AIK郸i]w;L])ͫ9-` ~^,/TvLeZMXEV7xHH}A# W 1asUG̈!Ֆæ)>dgqV<Go_}'1y 7#{ &O2*k%4,2(\ )5&LDX~![`E7-멬v73d4˜<.!-A8c:g_T 6{-$#=Z&&NXpM+LE -鬢0 Zcx@3Oz.[sY)w)c}7"Yt"Nx{݊v')|[ $.oQfiI %-nf}%qLgύUSr9,N'' [WzI"'2fCL~-݆!g5!p7o+L8%'ZF\2D%H|p~X%\h Ё;3yVג^zūo J>ll9 :=̓)V5nνh>R27*,~eF}laʼn\::J$  r") ޿ I@ɘ:UuH~P]t#j]! ,|b9K\N,{`4v-%󂚠mF Tç-$'Tӈh'DWVch2LuŠ1Zfz.# I1\;:JlnjgU J jyQ纅Y 5zր{;}7&<Gš>K6W- 6t~_S0~\y0b0 !_Tu*8&Sq6*Q iAs(qK mbfLq 35P=#䄗( ө,3|3F "0eς">Wi(SNO%͌Y SEQ`|b g=J0&Z@WVc8Li@!!oUrW͞n`FĐ^mu'c_6 ⥥;aϰ,bM& ̰9Sc&l.~a\=a0n)AR PD)(2G?_} vV8&m!_0 (y)uv0()yDMuMԉvbboBZL>~:m_ LV d`< @_=ݙ-3RGH 8u#./;~M?m6t48l9VǸJ=ÊId{񦉞/8 aI-~UޚC?H/ytMa,Γ$d"wk\ +ϊcvÉb';qt~2&lWtLrx!Tu C!Dqɰ1otHecXKfN>9.%q LϢlOY-6ȉ#.%񯪷y޷A?_+,>Le y0k& zT @ L4zyL4 LKЀ<ۤy'Հl)3k`A/%z:$ɇrd$`ՀF4 +WE2 E-sRِc|[vS7x@b.D@*yBh{H}*@0oM Q<9;bo17IyUQ-׿zDk_qqǜ^u5ĹP#`LxrBA\Fh$cz'$ULfgvyj0I0CΘ;;)Cǚ Ä1iq6"%e~-I2!eFR%e5I2Z )C )!SXoL2ؚG/r6@1~ [L˻e4->^XZ"ǐ1{9} ?Hu0mɯ1lL!c4z%0 Ӽ)d m{yCNv߯kbQ)&] c׺MAuЦkZ_ y3_: ׵nKSÞqqƵ09"RqDh< 0[Je#D Jge)3/ fʁ%6Z-p܎Wہy؋Ko-)uPiYt|ctflj"1 z`s-Ph3_5k/ do9  x1p˕rI\[08EvL+4M%K8O4 šG|4֠XRR 8VqRW[tb@_RVcc2ߧ IF?itW %n_aW<8V -$q(^Y`LPA')^+a7=S8F)xgp3EcUz`rLQns ٲ涻{oZe680Fߦ0 _IKb!% _?)|铱QA˞uk _}P3Q8N k>)|pp8O}0E/O 멄ShPa—P8/Uk(|p=SA1 _xQ)Q"l83Ԭ AK 7j}cbAIÌZoLgfgM6hf]T4zÑjL<U4E(љig0сVbŕ" ŞAK-6$i+epR5܄z۸v1`br=mJOC*jQ~K $1%KRmȬر Ӥ[7 ,o)*qD2ȧ؟"$Ga @VLR!/% m=r vK\<9a%nAEB4bXK7,Q2(%6 V>!FU )"V/QS[žT5̩wi4d 5<%~4\9%;,ǧya8:Y DS"Z׃-50o{sؗ 6: {k QygYd!wcȣ r?C( ޒ 0pF*oH62>f K {a[8xaa >m\&b&IKvA}}k3T\%q :c?+,f@yeݖ!Gp`"nf'B/oY7oN4b,% lKPU[AϠ.w[q dW2P+UM}9r+v뭤>[)$avq-[N??Boik0ba;ߚ8Ypw/ Cp)1X.VãE74hRQf'cŎY;]E#Zߘb>5XoL\I0k(` 3+NK/"@&FDp>  t@ , h'hr[3@qc-8_ 1 &Fv+lIH-M01LDj]X>\xea_Hʏ{Lnk'v|/1yA~À0S[]ϮlbH K|rT!7hU4pO`V,8$ni͈ih so O{1=2D cʬ\u7`ORSz^7s03FÔ&lXNQVa!(VLԑ4nf N_U̺]:]e,c5| ݹN '۝dLخv clwvgIva"]ܸ50خaq]Kla&rloxflʛ45YO^lwΓ5ٮ!u9lv]fJl`1;[b~9kkgl`' is?a^[::$EZ"&В }F׿rWV46"CGiĵz%2Fj4fٻmNt/_뾏臬i LU\MV桘+ò*?_>jafr ]`~m6U) fR$W 7%e;z(>Xc2xDNm`1V{` ^t3Wb)OJtVcb{+~e+uR8Xwf{/V*b處0J!B@ Vkag/2VgV^m#RF&m𥓴!&e~ıIa'm(i6H$" 3i ҆(AچQF2iH\zy y҆v6|2iw.vaL> NڎQ҆IkHC36IFڥL O҆kc&m=NڎYFiYH*6gҶ368H$c%ҦzŤK-1Zߘ$Aͣ W}B`g SDΩ\Pg-&TWhUrAF3Vt#{L R!b*(hp,y J` S1rZݠ ZOGֳ kz6_Zς5Yk= z xǨֳ `^ZEQ>>Tz*&sVeGt>ɅܱHq /}.Sg |m@Mf7pXssCU5_IA檿Me8A`58W4$Pp'F !z2BE`0_m &N 5 R!0sG)6؄WI9'-c<ÃCBf܊@$`}t׵34}VyIf VQ0E9֕70{u:'J`) ^UuMm0+1`L` ,mJцD cfa콀%*jR`bo<!@6z]&Rk\V%6N10yxn"  #-G׷rrbcZo?eG7m{KE|1AX<>[Lnv1VueBLL#F 'a`ņ |_1mK2hw:B'W:|F(Vd p;|6!5ː 7[P0[k 5>{ÅlJF:^ SC0$dC"ĥYGE_4WƳk:|uj$DaC>/J՘#|jHE#gd/빰R)[|S]isa֌;jH|K@ftk4 2!|.k3+NESzy0x$Ev.TiNeJ/aq /77#t+,-+(R>cv"L u: t9{0CsJK?Rn_F 퇗B 󵿸p칻qwؼ 8[?0ud̳a#럯Sn!U9phN *ц9|+qkf/1i =4r 3{18؋ceLVePI{1ً!`PW3N|nL q#nAFQjc 5#~ Lj&޿<0C s3$0e(5fg`p`ڀ~?ۻcX$1*7M`4'==]l 75/ 7ӰPn9@MlG[ 7{IсjEej Z`":\1/9Q!l(p ~%>Rz)+6Z^Ɓ'È ջC03/`1@eIHG\ cd-uH|e9Aʩ1a4ˀ*QX=T:'U ETv:?׌V)C$-3$@XAZ;˃cu1i 3h70. "]j1tȍo@ݼm>s!1ŧ5E +-(F P'>)52"gRM160*G7"ߙF0q0пI2yF-b1o nG WϺ"9t񏄸p%h5DX<*ފYEfu5l<_?"1fפo!slY.iٸW'cĘZ ,0O_+0zepeF V\}pi I[IF/BA5rlq`˵a~K6(T@1|S1m1L70LtX8c1+v`xRjr#e27..&Ԟ˿]? 907 N)5lGYކ5(d1B5wl~ڥ%Fώ'8cEx h+B}G2\|huof0 RgJ ZBdܤWR2sfY\N~FOQ\׼tsQX^yXVkO+SF^~&kŒUsw*18 H΀Ve2K竟@(Bt'VfP;üyk:c+IpMxK c<}F W`'D SHV߂1r/FRynԸe&xMEu Ǡ6A˾AlPzJL>#GpWa= `!Sk*m ;{a*3 ?09Ԃar]RzfBzFL:fN4o[;̝$W?.UO9a `R [2Zooh ]tFgS}o`쓓=KNK?2/RvgZ%39`p?"coJvFz)-$TX2*wz:'|bsp T=NxÀ܅1"R?=hNFWUXe6,` Syb]Ht.B|1wB0.T|!L嬁&)Ъcbz;#-ǩK8i%Lܴu=iᮃZ{xWE-M,3. FDanJnjK,GU#?Lqm'Dds Ue[107;5<%ڞGr,om1o)q*|clŪZAr1`t X@JS%M&V.!ނ rf咽8k_3֮[,,vi0צ-QGr%mGȀmH 36u.tս q8ȃjPW k}c0 *ҏZI+212zI2*WhMA1VvKw4X-yx t7y6 gS\Xip+OF$+Ϧb̽ݦ7`GN֩|YզH:*J\dQ .[F~Q06[ߘTW~oäy)!cJtm8:m[&gS''7D;̨ɻ%ǂ09\_ Uo$/Au0 ⽿=Kޯ7qmܞq?M`9%D5] Zx_#mT5 吰} ZjBq^D3%hM];!7'pO7 <օ:JNl%"L3A+0{Jrzp[:~ ӼD=&Uw|B+O{ŀ[IتF€q`2mcbom䯽3 2TIK<סLd0x%h'隘Νaua*sOZwg /Cft{H0{ #G[C'G륕Xeqxs3BKӾ:hך~FƉ,F.!csIsѪˌS7m(,vvcxod#SĊ%"Axu9ɏ (O\wH0v~lɝ!3yaWzRgpPbJR_Yo+I}HOgCҮ'󤾲3'Q%Ɠ@O82>^7ƨ'A='b~ !R?is_CکwF tݤxi@ID4Hb-k%00",CVs/-&ئm<2B!}m>Ma0?ȨC#(:7~ga[+܋\w_a.qܼE<tOHЅ(7 +"D.+Tz#V&XhSmR]R$0?g>~n NVf_.7^h@ݹ~äZS[, Z l>ڈaxfZlPN !:_>bi DK7:N˰PhlsdS؎98|V/&pNlcĄN ~Y04ȉ^0EsZd -Cy 2!Q.h}=Gh*R1&yb*BEM Lb<=|bJs[;;bNsfX1MZzwaGb֟-8ZqRk^?/rwyͻ#*ˆn}kev'k`N?"Q.dA4y bߵᓗe0<)hWTӈcsA^%솻2X@W"ǜ|sj1UAsN6AC{#$.w>4q9~9㐝o u"vqnP ,$G"ꝗhҜՀx"ø9ntͫBj^&輝rM)A=q0b%shx 2Lt 1Z -(&ztjVBՖ'1u9_*7/WBfTΫ-`܀YunXKjVj,0)J ~p2g,>ڢ]_^A/^wuHe F)0]fs*k9rG]_\!)Iwf!*tt,܎^9PᨵMvC/d=Axa!;ѤaD: <lM}Q 6 Ҳ69Gԣ'Ee\PH`&=7jCWNKr!TLPh6x3^u!p星Av޼'j/y5B?''8|h'14񂅀W x7dÉ wk-y([ D醙Tcz;PTi"C@5$wLch ~j0σV YֻؚGi'h)_T2AX ]k0Ϣns0b@LeE- 8Z 'Ot ^|Zpc};;0i"quObuB[`|rai(x8 ?k_dSN<.zfRj'&V1F~E q`t\1`G{ykxkUCԆ5ZPANqޛL.vN`lrb wXbɌAe+p CK0)F;'Vߓ94 -n`ԔLadb⛟ov6 ԬȚf7?1֬G,kBJV( su;a@e(j0X`CR HA(>.qBQ[ER^)dώ;}'nh0f  ޾hYy`]w<,^Us ARH8L}ώ>rb4¸iitWQ1*"/`%?):]*0܄ c^osdT'"ܹVp\ٹةL YxG= }{Ѝa$4d ~Rc\9qK7pHKLpb@L.B1&r*1>d$PFgya_wiQ(=el01r ~qBF"kg80&n/y:LNDdf'nӄ'Qݿ&13m ;p}}dB`/G!j#v(H,GS⩖"Hbe~б !02ˑ>0% AO0nO!!ɲj͓PO۴rh`PaL9ĕlV-vPc⾲>C9 _V >.W^~S=rRCC=|.W^˄zhS\]K=5xCC=L z(/*zh(bB=4άP]S 07C rgdž@֬YC=TL{Vȧp\rI-DŽZ`\9p*wo՞AŌ\B*2Pv42g/9YrPUr`3fA8&F.xϕZ5к+B$arQfS3S=wGﵮ8ʁcT9@<'Zt堖sZ8l1TJ[p\nm/8M1QP9aJ"ȣߊKǨOD'i3+ 5]ێUd s/|xw2mS<&ctmmtq0h0zzo` ~ב ?=|AA,I}rOuԇTqyO9TPj/2eQ.Ѳ`̝aT}l?3iTዐsԇt/2aV*ST>վ|OǑԧ W>9kK+cT}}>ԧ')KyOɉB}rէiOӫ"3fa-oI|>a7֓xA|1ӗּćgfo⃇5,Oc"񍓉o'ѧA|G&>~gpsE cćtI|LJ _">J|z NF_ ss9wHGq+hTet5[#뤑H0L?WQQ`RYD6Kfq!YZTk3FrSu]yX ϠK#f6A`nTWO=3+^䒴 ٗȃزhG:di8ǀjppQ 7~%ID9!%:gvI8l!_^>ǡgĆ9b[aJO`+F,:AlD+ om¶+C.&ΡxELKf=r&LK,[TܻyN\9/+>&Ʀ_ c"dBa͝Ԗj,!x#!-CX?4SoKV xaR8 m:&N%N]pMT^wTw4\CǙʔZaYCԬzsZ&:Ř^yCC(9^pcWS;egfz̏':E^whw^xzՑz X:Cs^|¡)z]TWXBzz:Nhb+qC"gp1dnbb GP}Qbx['6dj NmN甫I/ 8e5N^k[NC8FiabSzާ$=k{JO]zƤ'\z֚gOsILj)=}(αSz:)=\ =nlQJ9 m#7rY݅TjX*1H3`,{TF|'4~͟ZDŇ$| k*ؕ+pw > ipWoik3.jA_̛)Oҥ'%{G<-@By6nPcp ?ж-( ;@bH1n#UM7V]80-]K ~PmdYH!t :)(| =Z,_MV(JҶc~FOZ) _L2B?ZwJ,7k}bcaVz#?n| Lgds0W%OĐ##~mXMq+ }%qW%s 9 .dij!0[kjhx045JL0r sߠ 5̷8ѣ1;lq$C0gn%.upm3\ɸ&ݭr|Jb;-dF[,J7@a0u l[o>8:sb]ݪ奕u9&LH 7G m'%gH'_Nky/ҰTb0£ 'NT29D0.Ĝ_ԨvFBf\ U͸15*@%htj)Y&3 &2d~ǼwZ$fu~fY ڽmɼ1܉Wu L ^=\ e!.bI8tS*/Z:&w c!(&AH?QỌ 0K;#6iDpEyʹQy3m0 @+cz&{erI7bPHtReNXߵ8L\dak<P1'X%bp0(cY?9 q,;g pyuOYdI| R,CB'°dIEU΂zrʃza,]K,PZe F,Y},C~gY0T՝@o38Әr8F9 G 2Ó%΂7O2zR2$ns8 rfa%89gym/r[Dnl9FfqR~bϰ)f OJG0? Ӷe5Z, <[0-Babn~~x7ˏ@ت{۟jfh/1LG&9Lk9L~AOL&ćI4d};!>EIDM9F 1ow"s LLd\َ9x▣`0]mTpaXOcT]`*ρMl<Hc0ఫ uQvu@H{'uWGՅ3s. CuC F̀ Qqۮ/$zLvOw ^n(/ph3}@SpK&EV}uaN7mS{,Յ%փ;穜+i\[_Ŵf'hõ 16m!0-!iL[8𲢮hA$YpFUE* W"B,8F{:CUsS^BI /SޛKµcώ$ϬL70&'&k{{g0ΧDocnzO%9y.:pybxSt R9D ]B+A  /F۶x3x=Y|cGpCs~Iꘞc9l$EI>.9ݽX<;c)i6t¿LbG´uwD +G9Uſoil$Fk# ^DOQ 3$NR *};11x{F1Y k>hNs6%jp:,KW%a;k YgD1SnoތKOW EoT\mgTi iQfꯘX*| V)'&nz:>ixnʤpu[j{ eOy{+WfEÚ}a +UͮKt% : DrD ӡBaݩ"3&}0|X58rb: '2 Z̭B-&@y3B@4Z1> &1w50 ks¼Y2c~f6 {]nbk:O.r |YTbT&eN| ;vԐ|}^ CT q]3#5~|>>1i>_C*T9[U]GU$sa$-kTO)& FW[EY|^CHTap$kLJ |Byr„!Zczx'=?&wsm gٓa h; )+u.iFib`.TzFhٳ !}z iCyMZSy:m`5۵kLZzH&1zar?$'F"Z3|z+Ǟ>47dsX'h]Nᗿmc*,?3ݘ"  Qsn#nh/Ap5Kaؐ? s˓+c+4eH +ђ 7Db{HP dnTbQK! <.fa4&iǰmTnd܊V0#U, SW`UOa[hGhz5M1rm2Dy ƐaK2V:+< ?&sfj@hA0CCIwqa܊pi)urJ6xmyUQ@u}Ls 'V+38>?AT^b"eQ1iOL n,o`җ'm 54CQaHTUvIO*J]5Ė#%T?1E,s عaZO |O4RWsDW/BO.7k(:u^ԥMzLZuV1[\ zJ7)G͢ߡ*bz7u'-s28^Wiq L'lx6ԕxJ6$qTfr R?# j\֣\B.k]צAk-0"U9\ɬZ5\Hsc"˦)0DcqqT7,-'( D薔1/a*t >qcA=Cv*p(\ώaQ!N}tSmf4bOLTjt c6Ƅ$0b3i0hq^r:cԱ\bEL&60L& tI1J˰xH(fsbL|Fcܶ $pCPT3x6'6gCZšTiNxa(0i48읁{gC"+ 2w+Cw tb$7Κӆ8At|btҷwS }5S=a;S<+ F<}RZEg,}!zMxbF u>rr64ձ ߹ݙAҥC4T(T$D0 cwӸ3̷A/hq((&sk:Ul|e&3;OFe ?Pc6ݎoHG&J#a 9?h:"E/1/`zØ13ӗ4* ێ8{ov5abQX#Ͼ| .ZҒ cZro9ݴkk$-D%6tvt]6v=#󏉒pL`LIϑMl;qҝr%|: /E(LGMRcqjiGie5˺0!Uv/-cK[CMFA.MѢ#D;xzwS:L[+q' <3iǯNR>N a7LE,d"!cn|B24|gI:9c$1Vmg!0)h9eFOoYQ[e;St(WLctzc9e~Z!BA;s r3cnj;I:Fܟ`XcFET-aRA#fk+9I>1aT_6k`6j}bT4c\*LHRaJ $*RCC1dOL܍kc]j/0>xK7l߻0_ba~!S,,f ́)m 3 -^.| C,LJ %K,a~LiT&wsܙh}IQ4>;hgGl$݇qfp/-53sfz~S0z}<5-ʭw8Z5$$*fT@b3 ^ZH|!p-C(k1JhM7$& rTp1 \(&|MB4tic!DC/JE>]K,.   ,K?łٲ>Ql!D!n|&xm j.(4?G0\Uiq)h{Ipr L+K$gB6+ğ+TXb!<2ҥ G580b<uɇ2,ple {Z\ p /)s ngB1? /|,KQJn/5T34^.|sKEz14B!B#¢7a$d#[MD'F'*y-G: ~⦭Krw܄ W  װfXB9(YH%!yyCZ_R8bPz8#SzO{n3 *bI&`@ A%`McbFBFz=@,"r_q@g+I}s-cnK;0S@ fR_;5G]k'Oh@Mb"8@ LA,v`%`!a.V@C:F`Ok{^C N!_!5^f"cT"RS!.p^BV.muUvۤifwt^,NU}0WUZц2f㘟Ca{O·0i-X{i>: &ZOJKLuSL2(<58΍VQ6(7+A ħ{ifA馲gZ!!QՖrЏ&|q?0xVj>11w) ֿGy*P&$oC7ŶL hD`TNJdI[%]I1<2[Li 6w.QtzL|ÎV_ƍG=p]YIX͔<~x%NhĵXHĐSA1yYSt8b`7`f 'Rw>0x8^ҡq/oz78MaA?<owGչ3^^x_՜Qbr?F_-q?~E"Z:dm'kOMGA~A !r;JϗCٟ1 >_/a*_ԢvnOHxGO<ֽx*2bSUt=-/W)+V%JuKt8fN1S FhoqE&Yp.5I]7*^o[x#B/*f,s\>S OEs]F4HfYp뎂baĝts&4Jrm'`3Ăuҏzw*6Zw*FPdźAwc$ج;u&L7$|qAz[Zl7ᒘF 1!2|w N.4F}V jx90V {vcM5BI.zO ^;U)R"+ C'\8ŧN4K W %C%-2GUB\uU vDe\%tKq  J蕼iV1UO #BVV'0 yS1Lu q>08Fןz'JnPkl̮8 et_qffM$m!>1I“K"5;KmfLuKup=0} } s1?e3#/ Ԫa\ t mCG1V$lLzoEvo^$zNP6K.;CڷKPopі EI7:ބwإ}`D7qfbx /Jr(-30]E-d"oXCsB (]6F{ΐC},v-q#v j\w 4R `o yOJ*+?`o╘K/' ~4ߐ) k@VK3N.Oe~&_H:xH/^S[!14+e7grߐj)֚7C֏UcڡԸIJn)6^?Q`D7XfXv7 <\`&6W+qm)/~Sxbd~ ˓V1D#,5`㪁QƊm޺VqIU§cWjp0V(cH5VvkHk׃VMB2cEbX{O({e*W^+W[?c;{V䑔*WbU^aS]1]vu;#kag/ZAEߎ}!7(&s sSo ǠD0y; Lmk5'o1bqu<:!(J<9{=:h 7ǘh&Vu7$'% u`x-bfߣuC*yi`eJ>0xx3/v81]Mq0,j&f']$cz< |٘,x:̐v,"\<L6ɍ.|^hz b4쓊;6~àU3f"N LitːZa b|GFѰ L0Q aO׺X5n7*͉Kn  'yz?R0;|_ sCzKɀm|Ee.8'?cʪdJ\!)F}p%tDDPR 5 d*.8Zg^3M g ~z9T@N8'Y qnwExSp^kNZ;zkxwϘk&Vb>M!f<0U&ˆͻ`9{ps#q//UR wStɳWLV<ں%p}vf%4(D-m5oJkLX:>UWUVTwWzM|JoDwM*U5hĢ! SnĽ w} KzRSE QQ˵7`b76EˉhrUF5I[#l]`L{w`FL- 3:Y*e|!p]ӬZiA릶Cz*"`Vb 7UJ MC-F1X 9(7I$ 2@ e0~!=|S'a3WO[…C1G av+4;1\.dL0ݬg]aoaM؊7MZ:ܯ^` C=Py[ Zx/Xeצrz"`1*U 5yr $0~ 㕌.HU0=U XbpNZQKTIj # {]Z_cmk3Vebj5R%|NdӚs1Tha0ð_=:OQ[Z#ElCo睂 ZAV$Kպw?%֥ 57V~']- 5 HS"1>nƣ4.vلar7L fV;c 36N581pxTz!mO+[BRw=6%oh4l7cvb-0s6 p12y/1|Dj\|bJF%+ 4r1؊La #2 4v%yM҈s{x kjhcֹ OYe"5_5o .crsy<>[B{K۔; 7$yU! 1{o?BOc/N&8{ndoI NgL1& ڿ{Bw겖 Sx̼s,xfLgj]^# v^CDF*1j"j8ڜ  (VkYB]$ "cWrT덉DXOջ j80њdj`I㿿=*s>]W oM~Sw`?~l#BVtp׺$a=|`:m~8V~,H|(?X/ZRz4=Am > {ެ>xȳ(y`!z$3_%?b0uRK ~\rw+w=,2ρuUye9'c @c1d MtDi{ ~x ,&CD}\3%n㖞~C#,$@XrKyAR%^xOL=K16_X)kNU0DrN%#ܿ;{7 g \3طc".Fk[8$| AMA;)neO&DU C%0'f9 /h/_uΰr`.+m0W|&3"4I1!c  ,W0Fm7+,q$hK-q3^hnMNt+E>NӁQ4ͳ˃zJMFhdX$-,42dH:0 fٹ`I$ LҾ|逄$LgM:2f Q c*||;P<㽆\=d{A`dÓn%ҬrlMn%iz3'_pخ^w/Z/_FN$7b|p;K%0r/\iz,sA&ۗ}ۗ5\ݗ+_58]BR_6bY5wr=/ ۗX7wܾ$/=w#9^@D+Wqޓr0%0^SʀŖ[NeOƜB91pg`pd+9B:k]]Y@Rwp$Ud8y*! fggxW )\1)W&q&wB \/5,g8j0eM=jlԶ> "qOTp݊y$75Kt{G r܍'qVDa'ȩ7XFpTqr>( $A lo%Y$ϐ/ВzOq-aqdx^r|J-Bg0i/@8Y{f˖D[uK U,ÖfM/pI#dUT{,BhiZʼnM NȪb.r(PB'^rqP2-e5]V|@ 9*mj%uQrNN 8$,MG [`f4E T'י~v.ݟ[U`TaNITqW-g$zCW)˘,,tswI%hL MPr*&KtDWq »KT)2EV<,WREMiQ SuY%9?̀pa*MZH;7 <^&Vw* 'j[|տ5&*aƫDN}tSCoP+./8J֪8fO3uj x/ȒMI0lThi+ T;%f@k%GcMdrqהIK"ܿA38$A\MŰ.z!i=yA!chݳte*)v@08OB0[eo'bF}m%^jzZy5 W*{b{YCV \m}%v2/S$?(bWAj_0D˃-1I M'Iy#L1 `e:Bx*"F8j@:uj232eW) ZY`tjJkFws6Cք 6c${QDװfN!9 ^?]wő،B !sAuu{=fK"u@u>N,nN|>11 x8CXZQ$<408ʠPt}zbJK=0#29NUWzȧ{[`~2Z䧸IUq1I*3s.E(@ iO@ Oe>ctDrQu'`;JHh Nz1*lwd D2 }!%u\\4[m73[aUòD/e'F)aY_vF ̩KiM hB)L 5u3B`l1m+b쌐0<#4DW%9#4]wL#K *zGJ7x{ 8iu=0k$*:Ƌ*EᐄW<(AIKf g𖭓`=*$ B`yu;LA2"vXhH6$9/484{Voqb|ch,+ѐT9W $j[2r^F C6vR#ێ̉Zv*_w[E+zOɲNxwER\9OZ}hFt$'!axbdqnY,ڐe)5艁Mҙɵ9'gX]1+:$nb՝L1IWWԐ0zlH.ۚ1ӱUV\2I>E i*lSԱ-) vO̒ +xyfjGJvr C`2;Ԅmm$`4dž7?fZ d;֟ @RƁ;`j-Tv6(!aNBtr(;/ 7+A{*$':m[jLxQ|h_0j&N>0fEOZo5+F 4:>%}BV|fEO573?{{ZU5[Pڐc?1BbTR!K/vC_:D!K/O犝̄Ct7_:DhgqTCteUtCD!#:Qcvo;&>>ٿķo_π:XoNޫSu?_xxuc j}Y^1wfY|K!v7L;qW<xsO woNLu5a!Ŭ] Qhц=ay)5SM8jq.g}Kv֖9bVQ81~ K-59iHJË$D!;ݻ*Y,ԉŻxp1,J<VMlaO`>@d5{N>bv]K Py9aR[ZwW͵>0#9ox} w6GQ9#up[tSRd)q$<58]& 9,-VlZjm.Vݯ1XF4RHbQG?4fY/]&DA"7/"0a BUle~ B]1,JMr/LU0ޭ1AM=Ƚb0b!xBlf}at،.Vf36SD hGuOA "SSWPLh@UF¬Ar$yq|B%)vm9OUHh{R 8Ë69QgY\m{9/` =rJ\0#4Cy zy |ÌwB(10(2 wH3z@,tkVųú*?_Re"@߃ s{1K@'HN嘧T ;K!912L [1_b@މ})dw/" F(cԶ ߘZUZ J_\G1!t! oU%+iWwN~QqnS@HEEr񍀰 U&`P-l%  !K=lLsa@2UX1r$"boa@ڣ]"bD#[TQ +f g#?UVN\&̯l,4[͟e<9wl7 aQLf0,F{ńDӽV1 C0 'Ĩ2` ,(ZŹi? zE]OBI CFoZ*' FX"ݔ A7>nlo7 h=iߢ^0 F!5 suqǻ5LlX Ans|9hAK ⫐!T ϊ|I1qZU]i-fφ"݆]ž ƐZs!Ia$+k!Z!q,O`oO<StpμU LŴ%ZiY0'#a[(:IbB A?W:aSd 9yJs[py,Lj̚hq1 㶡20৛g'JR-N7F%cuO8B=v\3շ]ށyǁ΍B#F#NsInz+Q%T.2ĠI@=;0OiIЅ-c#|lD{ZZt)Ƭz@1! [ gYn<@:yUnm"숐[:ߘ4]&])&_= <+WHWuP20Ʀ$AH^'k:&d/^yD{ ܌}I/,e~#p]I$h3|`b`v 3j6Sͷң)hc$pr;AXuӲDP}G K2S C.,߽T| kӤ"P*'0Zy80FkqBnC[X $+I8M`m_@rMC5^l85D;D2oL& ca `PZqH)@Nbāt-"@@ #9Gb-7&,|=;K^Zbg)H05kg!ViGucg)w>w ~6΂(S;Kᴳ #β1BDҼx,Ӵ/x?`_ G" VUx"}Q>n5)74E௪}1ckn\wϓyVϢO{+1^NjDž5(bZeP}ܸCGVX3i7|],T#xbIj ^î~4ؑG}[!I>Ҋ:]SC ˇ-+,Nb2vAj-e yn\cnCO;aߡ9ء{\A UC <= Kڡ>&_ E܋eڡi}!zw(.{f=Xs{V 62cT}8Oqn!ꋍ /6״LrK@ nE17ҭopZèb:>4BMwhKLdU^ll^ʋ&ԡk2`-f*`,ƖV%5%ظUW\zuB-6B[ %&_A>5S ؎WCm1P[,ji(Lk 6uE"r`f L֐t l S2+_W M\Vu:!ISx$Q(5$*wHTY%*̻De֠8gmI얷h҆վ .}&B>UKTZ,QLj :M4c͊n֔κI(Y7Vl|˳)O?:FZhz*̡Wg/'oLt]> 3ǑQ0 &%CZf#zQ% 0fVaҡ'z1U \7:#)CXY t5(JKp= ?_|\ɫp˾|emX0#K\}"T4uרIdhbjn!+V*vIbc)FA8Pk†.'0AgZ[j" <Tx0!h s!9;"0gz)8Vc(y߇w%:(EAà` *9 |H9p+TV76R mSQsg*!lG!RO, V Tp >W:i5 ? !n5HbK6Mⷩ@tXǞz0 *SR6c#'hthE6y7RHu>{w׀(m [shĦM1}Ia-Y$WA/֡c?2C;)bqK%\/ U'h:MC~Ng!9- a &,X+,th23!n_Hc`/T}cpe 0hto]t0lE/1}ʠ>_0W^`Kȩ1RkCl+ttH:O a0]jÎsD\yed8"-G!;aB.}# m&nID{ch~B.muD$Q\dzM "; ;FмN1E, A EI -.3FY`p83 13h|ӏ{b11: ߘ4 bH{6 1շ UÀI86ֆftߣ-ŪC[C(] sU͂6 CI :Bz, M{Vq8E!Cc'-A{=2A9 g!IiĠSCmp52ItEHv%81qO ̖&nLkS4%\t`YFLwnOoJ=sh1< Rn=80y#R԰x8>¢5xK䄫 ]NFQµT(:$9H[atR;a%Hl릳{k7Qw,YA1IP> yON U4NZD_L(b"ן:~R%>Fu+X' kSf~_HXڜ" 0qtecYʴߘx`p>0ld NSv/jz}_ظgkI=r/8Ư6t8tA ,/8&51>438͠Ƥ;0J2i/t%o!t_0[/IZIWEV<_0̽"1dz7{@( }9lh0PϯBDK-"XvZ=~ݟ8LRY!bL;1W:[/Dyh;P-amQvE;l Gm2Uyuddߘ$ 0!Ɏ$} AOZamQ_0fmpXᆁ:h_wn?1{oUôطtdܓD(tȒ]yuϪ|V(UbpܶCRt @o=Or.7a\0Ao1+s?=Ў< &qD/Lg(dDNO1%ZA:1 bWܿcP52!.!Zz&z|woք#ٙP+ZΕB|v68M)l_@RE ?GTH#* RhiA?(^bT ?_F glZxkC|d܊bR$M4Θ]aCJѸ$XiSBt DfŌ?1L)7%>;-. [ZQ [/8<%#.J=|oq=s!sQ V hTop̜a}W ˏqp*3/a|ޛ2oI+0{#Ʈ=-hp23μ hoHOoUtrpK//da/cR#?{-gn[1Q҃"RW=HVE`~Dʳo k}a4BYy&{[ͻ F-H"LyJ"P\"JV>Wuj 5> Ж'5Fo5x9WAl}3> 01y?4aN,CN F_X xz]ܺRq;ɫn! {pN*|y8]V*ј"=%h6pcΑSgT$ݨ8*&7 <}o JJ W#5@N%&5 p'gA (V`Sb%+ ƤRy!VP*#u:K?o'ٳ 09t2LC #{y+N*^s@S{8z;%#7{`Gcp)K;ZyiwVp$EB WbCV`O*OFA7 3乴Hr_eMjX"xV /P,TĢކZr̟b ӂ́m`(x'qx3'e9 '憅!8U.HP&.צ6`y.R\h~b7:m$rUhJ.B^BWV8rhnC?Xz!+lE\J06@*VL/LG'a$yKcpB+*1]Dazڊ.>'|Or%s-.~];c?˼?LvBc+d.!#XHzT_YH`Nޖs-/9m>J*';0NB/skWVg9I~xgf㡯oc ,1A;;-mQM=S.SU0mZZ9 FT̖'(Ǩ;}XH =+"O5}P|Lqغ샱FX:@҆v>ʱ#F3ƨKTR(, 3܀:FiRb¤%;#b_9 n`o2\Ӂ/;pyM wb)ʩ0;pO/;fǍ0ḷ΋~~p8* 8n`8?sA]DIwhB+xp\wT(7~J꡻0J) 8'-;Ra%L߄9 7Dģ#4ɐВ \ akG5 ĎbLi9oɕOvBPviBS|Yͳs2C/;'hfhKV`4$gGzCOb2d|-֟DDBx2ID/CȆ2AP͔a %E@K?}$Ս>c4sUysU8:f;h;W5qUܓ3W 8*l)E?e\= sU:F*C$J 㥖sU8*;*UzoKLէ™c43!1:~bTv0USL՜g+~3UFn-y;[ Uxf zQ_u5zp(ϖX$"{וr^aǚ/yM0䭩vv7We q΋ y2yC27LS%oO=]8ʶL޶~F;y;={}yO>6iam#)9m:_mg m ;G.pL\n7&24z"H7&kje^':Unx-nJg ͞)1w*B7-n t<0Є6viA6;q2$eʷN%و1sQSuc?D}G&g/S}:Fuv]op9^_/gb8;lODZ7_!q)[k^-^bo1L7ǔr_ 5fi3/oѯǿvowo36̀}߯؈wnRC8$Kwv>C%| 1YI;u>1_a;^_v7oe ̏-g7I'5LϪo$n`0uY*Q# 'aЉYīI}qC1,8挏DM5矆IOY  ޥ1 :/0Lq/ 4Aɭ-o?f@'^e b.i* yv1 iq)%ٝ*C{m0];M F!fwPh&:!7L1pA=ֹ͙XE `e[b_I]-+|ᴏ;qĦ 40+*C& *g<7cLqC?79{.…i3G2{oD0[1Ja$ oBЖOF5$"j0O L?hS*aEsjwiAS˜Hw qE ]ء6YcB:M{g{$eӡZi`"> s_-0/,I.*v 38y jlp4FM! mXcpHgq.N[d Èua? 5FnX~fn>.GZR<6C 'a#I1QY ~APE0 w1޿im 9R#X ](t?bp7cpɌU~`UD5,vQbXu=x1a^'.%(0Cx9tck}2_*XdS,|̈́)><9' ,|c#BlgyKvg|aP같y}io;&uQk}cNOkLf1oRq `%r鸉?3g2aO柤q1F- d1|2oc|C -@%:C u7SODŽғ7Q AfޫeF.t!3 #z7.#zR >=U82$"MZL#FC; 罬w̿p aHNo΅+iLEۣ3G17!<x**kigB yRkj)%EGԄ zrv[K,uBdOGq%<^Kg! ?b2AYg*J2XeY~NqR},apSxN%u})K_K3/L{7K竗LQWğ-u1^I +Ѧo7&6 2P1|CYp<;*fB 5TS%h t E_NF#qDR=gK:;.i5Z5uM5]Pn]|x9K՗=1]#, .8eWu5t i;F}bTwIJ 3bHK/8[VU1 =#5 mJ0 F(2]!;^{+Qsp JVי$V3p"뼜t#4ܡqCeM9&*:B>4~Oࣜ1rw šʢ%+I^Bn?&X6zŸyhH3aZvS8Mb$`J[gz*mÕ΋Hv`d(cCV'й,pF/tJ"qc8r8ff\` dEK5N'J `ٟ/*"Ҳږ.- ȧ@l%jT*w$jM¤U*H(*سcg17ƟU#*+&C%mu&SW|VAڳJ`N'9L5 -v*a6ecRJԙt">Ҋ\*!I1]~2-ѬWg a+vI7 SuI*/!UR;ei*`C p7Ic,VktxӨZ]ċV*{581ز7ݖ`5p u2[B1+bu0>{z _*јzb3{򙄡H%F/ S$n`dAU վ%e CfaT1p 2$ QJPW"xO~s ĽCb O$9K+K>1hnA,խbЧ+q"AdD^uՎd&3xw>ȓ+U".>]m $屘X_Xqm/Z5%ma LUߜ"0hsV1Ѓ_`7`\cgl뤝w79lGok/? $vKGY7bQ7V"<%P~߀`̘]a>ËPnGKvb$t, D߅+^Sᇿo Yϰ5`u[I~z X@ Jv9e߀4II>!eʎDt|vm>)YTdqGש\Q+r .J<-,a{s?F_} iKޓs2e1gҳq!=.`{0F<=>3O?kd%nj{P0yHtEՂѿgL01G!FJ`uyl8q*A'Cȃ/×l/3.T5;,xS{@n6KM }q 3{'ydwuUwT~4=? a%{9J >lr9~eM9F7- rS!^0Y:F%|Fn5Rbʓ$ԁavr\:c"j5Km 8ETBgL6S- bKt[NFG"(3f B SRCIsoNF;?f@L(- O1lqplퟆ15Skf;o`pbI3&�SկvML摆qNPWL]&6c`7tϏ|izb{=u}pI7Db71i8z˟ϖȗ^b=G tbkNLdt"`3\*I7 M'&w`&r&8s  ^%h:1!w竗Bvk6#bhMݴ26-՞M[%CoڪW1۴,ic֑7-Ү upl1mZ(ئu*L^g+}XabhyRW/]fo9{;5{gf7=͞#TqDKAS>¸6mclw#Nlag <:ZN_0L=#r b&ރtEd0Qc)3ZÀ{'=L%.UB3( 02Apya䎈 zG 7#Kw(]H&w!}q?pJx"Zܩ8ͽTD]Lܝyws1_Poue["_g3qt8Z5_pϱ{>s DD&1J=mgꙫ}Pՙzn/a8Ɩsť<%S\u^ԃ0 dP\_O!L "oLe O}^P^<,?uVN86 $-A s֊ӡXlꥢUoQaוKŶ]k{ ӌ㳎QVb_0VcmĖE\}'%K&ZalhU1J `5`m{+Ǐ 3xH?w 8Fo_[ijX)5~U >~36U]D\?aVQY fٵK 3 O% ϊL``f"Q e1CsT0Z(ЛYy1+BbU~b RXyK!#c+閭A-endstream endobj 6 0 obj 98148 endobj 4 0 obj <> /Contents 5 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R ] /Count 1 >> endobj 1 0 obj <> endobj 7 0 obj <>endobj 8 0 obj <> endobj 9 0 obj <>stream 2019-08-02T13:31:21+02:00 2019-08-02T13:31:21+02:00 Dia v0.94 doc/controlflow2.diajas endstream endobj 2 0 obj <>endobj xref 0 10 0000000000 65535 f 0000098446 00000 n 0000100067 00000 n 0000098387 00000 n 0000098254 00000 n 0000000015 00000 n 0000098233 00000 n 0000098510 00000 n 0000098551 00000 n 0000098580 00000 n trailer << /Size 10 /Root 1 0 R /Info 2 0 R /ID [<49D9F0A70A9979E12F26237235808B96><49D9F0A70A9979E12F26237235808B96>] >> startxref 100252 %%EOF gsasl-1.8.1/doc/print-errors.c0000644000000000000000000000264613516252320013107 00000000000000/* print-errors.c --- Print error codes. * Copyright (C) 2002-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include int main (void) { const char *this = NULL, *last = NULL; const char *name; size_t i = 0; printf ("@c This file is automatically generated. DO NOT EDIT!\n"); printf ("@c Instead, edit print-errors.c and re-run.\n"); do { last = this; this = gsasl_strerror (i); name = gsasl_strerror_name (i); if (name != NULL) printf ("\n@item @code{%s}\n%s\n", name, this); if (this == NULL) return EXIT_FAILURE; i++; } while (this != last); return EXIT_SUCCESS; } gsasl-1.8.1/doc/cyclo/0000755000000000000000000000000013521017733011461 500000000000000gsasl-1.8.1/doc/cyclo/cyclo-gsasl.html0000644000000000000000000057774413521017434014535 00000000000000 Cyclomatic Complexity report for GNU SASL Back to GNU SASL Homepage

GNU SASL Cyclomatic Complexity Report

Report generated at: Fri Aug 2 13:31:40 CEST 2019

Summary
Total number of functions 180
Number of low risk functions 148
Number of moderate risk functions 17
Number of high risk functions 14
Number of untestable functions 1

Details for all functions
  Cyclomatic Complexity Risk Evaluation
  0 - 10 Simple module, without much risk
  11 - 20 More complex module, moderate risk
  21 - 50 Complex module, high risk
  greater than 50 Untestable module, very high risk

Function Name Modified Cyclo Number of
Statements
Number of
Lines
Source File
_gsasl_scram_sha1_server_step 51 163 316 ../../lib/scram/server.c
_gsasl_scram_sha1_client_step 41 154 283 ../../lib/scram/client.c
scram_parse_client_first 40 95 141 ../../lib/scram/parser.c
digest_md5_print_response 38 86 146 ../../lib/digest-md5/printer.c
parse_response 37 95 171 ../../lib/digest-md5/parser.c
digest_md5_hmac 37 162 236 ../../lib/digest-md5/digesthmac.c
digest_md5_print_challenge 36 94 168 ../../lib/digest-md5/printer.c
scram_parse_client_final 34 82 127 ../../lib/scram/parser.c
digest_md5_getsubopt 33 38 71 ../../lib/digest-md5/getsubopt.c
scram_parse_server_first 31 69 108 ../../lib/scram/parser.c
parse_challenge 29 95 203 ../../lib/digest-md5/parser.c
_gsasl_digest_md5_client_step 27 91 185 ../../lib/digest-md5/client.c
_gsasl_digest_md5_server_step 26 92 192 ../../lib/digest-md5/server.c
_gsasl_gssapi_client_step 23 93 182 ../../lib/gssapi/client.c
_gsasl_gssapi_server_step 21 78 157 ../../lib/gssapi/server.c
_gsasl_openid20_server_step 17 61 125 ../../lib/openid20/server.c
_gsasl_gs2_server_step 16 65 126 ../../lib/gs2/server.c
_gsasl_securid_client_step 16 59 106 ../../lib/securid/client.c
scram_valid_client_first 15 19 46 ../../lib/scram/validate.c
register_builtin_mechs 15 44 89 ../../lib/src/init.c
_gsasl_login_server_step 14 48 84 ../../lib/login/server.c
_gsasl_securid_server_step 14 55 89 ../../lib/securid/server.c
unescape_authzid 14 24 43 ../../lib/src/mechtools.c
_gsasl_plain_server_step 13 59 114 ../../lib/plain/server.c
_gsasl_gs2_client_step 13 37 75 ../../lib/gs2/client.c
digest_md5_decode 12 40 76 ../../lib/digest-md5/session.c
_gsasl_gs2_generate_header 12 27 51 ../../lib/src/mechtools.c
digest_md5_validate_response 12 19 49 ../../lib/digest-md5/validate.c
unescape 12 18 34 ../../lib/scram/parser.c
digest_md5_validate 12 15 26 ../../lib/digest-md5/validate.c
_gsasl_saml20_server_step 11 41 79 ../../lib/saml20/server.c
scram_print_client_first 11 22 40 ../../lib/scram/printer.c
  _gsasl_openid20_client_step 10 37 101 ../../lib/openid20/client.c
  _gsasl_ntlm_client_step 10 53 105 ../../lib/ntlm/ntlm.c
  gs2_get_cred 10 35 60 ../../lib/gs2/server.c
  scram_start 10 34 54 ../../lib/scram/server.c
  gsasl_simple_getpass 10 27 50 ../../lib/src/md5pwd.c
  prepare 10 27 50 ../../lib/gs2/client.c
  utf8tolatin1ifpossible 10 23 39 ../../lib/digest-md5/nonascii.c
  scram_valid_client_final 10 13 29 ../../lib/scram/validate.c
  _gsasl_gssapi_client_encode 9 28 54 ../../lib/gssapi/client.c
  gsasl_saslprep 9 26 50 ../../lib/src/saslprep.c
  gsasl_client_suggest_mechanism 9 25 45 ../../lib/src/suggest.c
  scram_parse_server_final 9 18 32 ../../lib/scram/parser.c
  _gsasl_cram_md5_server_step 8 34 62 ../../lib/cram-md5/server.c
  scram_start 8 29 52 ../../lib/scram/client.c
  _gsasl_gssapi_client_decode 8 27 52 ../../lib/gssapi/client.c
  setup 8 22 40 ../../lib/src/xstart.c
  scram_valid_server_first 8 11 24 ../../lib/scram/validate.c
  _gsasl_saml20_client_step 7 25 57 ../../lib/saml20/client.c
  digest_md5_encode 7 45 68 ../../lib/digest-md5/session.c
  _gsasl_cram_md5_client_step 7 37 66 ../../lib/cram-md5/client.c
  _gsasl_gssapi_server_start 7 36 61 ../../lib/gssapi/server.c
  gsasl_finish 7 30 44 ../../lib/src/xfinish.c
  comma_append 7 18 31 ../../lib/digest-md5/printer.c
  _gsasl_parse_gs2_header 7 16 33 ../../lib/src/mechtools.c
  gsasl_register 7 16 37 ../../lib/src/register.c
  parse_finish 7 15 34 ../../lib/digest-md5/parser.c
  digest_md5_validate_challenge 6 7 18 ../../lib/digest-md5/validate.c
  _gsasl_plain_client_step 6 26 47 ../../lib/plain/client.c
  token2output 6 23 44 ../../lib/gs2/client.c
  _gsasl_listmech 6 20 35 ../../lib/src/listmech.c
  gsasl_done 6 17 28 ../../lib/src/done.c
  gsasl_step64 6 15 31 ../../lib/src/xstep.c
  digest_md5_qopstr2qops 5 22 54 ../../lib/digest-md5/qop.c
  gsasl_callback 5 8 18 ../../lib/src/callback.c
  _gsasl_digest_md5_hexdigit_to_char 5 5 13 ../../lib/digest-md5/server.c
  hexdigit_to_char 5 5 9 ../../lib/scram/client.c
  escape_authzid 5 16 32 ../../lib/gs2/client.c
  scram_escape 5 16 32 ../../lib/scram/printer.c
  escape_authzid 5 16 32 ../../lib/src/mechtools.c
  latin1toutf8 5 15 27 ../../lib/digest-md5/nonascii.c
  _gsasl_gs2_client_finish 5 12 20 ../../lib/gs2/client.c
  _gsasl_gs2_server_finish 5 11 20 ../../lib/gs2/server.c
  _gsasl_gssapi_server_finish 5 11 20 ../../lib/gssapi/server.c
  _gsasl_login_client_step 4 22 43 ../../lib/login/client.c
  _gsasl_gssapi_client_finish 4 9 17 ../../lib/gssapi/client.c
  find_mechanism 4 9 14 ../../lib/src/xstart.c
  gsasl_strerror 4 9 17 ../../lib/src/error.c
  gsasl_property_set_raw 4 9 22 ../../lib/src/property.c
  _gsasl_anonymous_server_step 4 8 25 ../../lib/anonymous/server.c
  _gsasl_support_p 4 7 11 ../../lib/src/supportp.c
  scram_print_server_final 4 7 16 ../../lib/scram/printer.c
  scram_print_client_final 4 7 16 ../../lib/scram/printer.c
  scram_print_server_first 4 7 17 ../../lib/scram/printer.c
  scram_valid_server_final 4 5 13 ../../lib/scram/validate.c
  _gsasl_gs2_server_start 4 26 44 ../../lib/gs2/server.c
  _gsasl_digest_md5_server_start 4 20 33 ../../lib/digest-md5/server.c
  _gsasl_digest_md5_client_start 4 18 30 ../../lib/digest-md5/client.c
  gsasl_init 4 11 21 ../../lib/src/init.c
  cram_md5_digest 4 10 19 ../../lib/cram-md5/digest.c
  _gsasl_digest_md5_server_decode 4 10 23 ../../lib/digest-md5/server.c
  _gsasl_digest_md5_server_encode 4 10 23 ../../lib/digest-md5/server.c
  _gsasl_external_server_step 4 10 28 ../../lib/external/server.c
  _gsasl_digest_md5_client_decode 4 10 23 ../../lib/digest-md5/client.c
  _gsasl_digest_md5_client_encode 4 10 23 ../../lib/digest-md5/client.c
  _gsasl_external_client_step 3 9 19 ../../lib/external/client.c
  _gsasl_anonymous_client_step 3 9 19 ../../lib/anonymous/client.c
  digest_md5_parse_finish 3 8 16 ../../lib/digest-md5/parser.c
  digest_md5_parse_response 3 8 16 ../../lib/digest-md5/parser.c
  digest_md5_parse_challenge 3 8 16 ../../lib/digest-md5/parser.c
  main 3 8 14 ../../lib/tests/test-error.c
  _gsasl_code 3 8 20 ../../lib/src/xcode.c
  gsasl_property_get 3 7 18 ../../lib/src/property.c
  hex_p 3 7 11 ../../lib/scram/client.c
  gsasl_base64_from 3 6 13 ../../lib/src/base64.c
  gsasl_base64_to 3 6 13 ../../lib/src/base64.c
  digest_md5_print_finish 3 6 15 ../../lib/digest-md5/printer.c
  digest_md5_validate_finish 3 5 12 ../../lib/digest-md5/validate.c
  gsasl_check_version 3 3 8 ../../lib/src/version.c
  gsasl_mechanism_name 3 3 7 ../../lib/src/mechname.c
  gsasl_strerror_name 3 3 8 ../../lib/src/error.c
  _gsasl_gs2_client_start 3 24 39 ../../lib/gs2/client.c
  cram_md5_challenge 3 14 23 ../../lib/cram-md5/challenge.c
  start 3 11 24 ../../lib/src/xstart.c
  _gsasl_digest_md5_set_hashed_secret 3 11 22 ../../lib/digest-md5/server.c
  _gsasl_cram_md5_server_start 3 10 18 ../../lib/cram-md5/server.c
  gs2_get_oid 3 10 18 ../../lib/gs2/gs2helper.c
  map 3 49 108 ../../lib/src/property.c
  digest_md5_free_challenge 2 8 12 ../../lib/digest-md5/free.c
  _gsasl_ntlm_client_start 2 7 15 ../../lib/ntlm/ntlm.c
  _gsasl_login_client_start 2 7 15 ../../lib/login/client.c
  _gsasl_securid_client_start 2 7 15 ../../lib/securid/client.c
  _gsasl_digest_md5_server_finish 2 7 14 ../../lib/digest-md5/server.c
  _gsasl_digest_md5_client_finish 2 7 14 ../../lib/digest-md5/client.c
  _gsasl_saml20_client_start 2 6 13 ../../lib/saml20/client.c
  _gsasl_openid20_client_start 2 6 13 ../../lib/openid20/client.c
  _gsasl_login_server_start 2 6 13 ../../lib/login/server.c
  _gsasl_openid20_server_start 2 6 13 ../../lib/openid20/server.c
  _gsasl_saml20_server_start 2 6 13 ../../lib/saml20/server.c
  _gsasl_login_server_finish 2 6 12 ../../lib/login/server.c
  gsasl_decode 2 5 14 ../../lib/src/xcode.c
  gsasl_encode 2 5 14 ../../lib/src/xcode.c
  gsasl_step 2 5 14 ../../lib/src/xstep.c
  gsasl_hmac_md5 2 4 9 ../../lib/src/crypto.c
  gsasl_md5 2 4 8 ../../lib/src/crypto.c
  gsasl_property_fast 2 4 10 ../../lib/src/property.c
  _gsasl_openid20_server_finish 2 4 10 ../../lib/openid20/server.c
  _gsasl_openid20_client_finish 2 4 10 ../../lib/openid20/client.c
  sha1_hex_to_byte 2 4 10 ../../lib/scram/client.c
  gsasl_hmac_sha1 2 4 9 ../../lib/src/crypto.c
  _gsasl_saml20_server_finish 2 4 10 ../../lib/saml20/server.c
  _gsasl_saml20_client_finish 2 4 10 ../../lib/saml20/client.c
  gsasl_sha1 2 4 8 ../../lib/src/crypto.c
  _gsasl_login_client_finish 2 4 10 ../../lib/login/client.c
  gsasl_property_set 2 2 6 ../../lib/src/property.c
  _gsasl_scram_sha1_server_finish 2 18 25 ../../lib/scram/server.c
  _gsasl_scram_sha1_client_finish 2 12 19 ../../lib/scram/client.c
  _gsasl_gssapi_client_start 2 10 18 ../../lib/gssapi/client.c
  digest_md5_free_response 1 7 12 ../../lib/digest-md5/free.c
  scram_free_client_first 1 5 10 ../../lib/scram/tokens.c
  scram_free_client_final 1 4 9 ../../lib/scram/tokens.c
  scram_free_server_first 1 3 8 ../../lib/scram/tokens.c
  digest_md5_qops2qopstr 1 2 16 ../../lib/digest-md5/qop.c
  scram_free_server_final 1 2 7 ../../lib/scram/tokens.c
  _gsasl_ntlm_client_finish 1 2 7 ../../lib/ntlm/ntlm.c
  _gsasl_securid_client_finish 1 2 7 ../../lib/securid/client.c
  _gsasl_cram_md5_server_finish 1 2 7 ../../lib/cram-md5/server.c
  gsasl_server_mechlist 1 1 6 ../../lib/src/listmech.c
  gsasl_client_mechlist 1 1 6 ../../lib/src/listmech.c
  gsasl_server_support_p 1 1 5 ../../lib/src/supportp.c
  digest_md5_free_finish 1 1 5 ../../lib/digest-md5/free.c
  gsasl_random 1 1 5 ../../lib/src/crypto.c
  gsasl_client_support_p 1 1 5 ../../lib/src/supportp.c
  gsasl_callback_set 1 1 5 ../../lib/src/callback.c
  gsasl_free 1 1 5 ../../lib/src/free.c
  gsasl_nonce 1 1 5 ../../lib/src/crypto.c
  to_uchar 1 1 5 ../../lib/digest-md5/nonascii.c
  gsasl_session_hook_get 1 1 5 ../../lib/src/callback.c
  gsasl_session_hook_set 1 1 5 ../../lib/src/callback.c
  hex_to_char 1 1 6 ../../lib/scram/client.c
  gsasl_server_start 1 1 5 ../../lib/src/xstart.c
  _gsasl_scram_sha1_plus_server_start 1 1 5 ../../lib/scram/server.c
  gsasl_callback_hook_get 1 1 5 ../../lib/src/callback.c
  _gsasl_scram_sha1_server_start 1 1 5 ../../lib/scram/server.c
  _gsasl_scram_sha1_plus_client_start 1 1 5 ../../lib/scram/client.c
  gsasl_client_start 1 1 5 ../../lib/src/xstart.c
  _gsasl_scram_sha1_client_start 1 1 5 ../../lib/scram/client.c
  _gsasl_digest_md5_hex_to_char 1 1 6 ../../lib/digest-md5/server.c
  gsasl_callback_hook_set 1 1 5 ../../lib/src/callback.c

Copyright (c) 2007, 2008 Free Software Foundation, Inc. gsasl-1.8.1/doc/cyclo/Makefile.am0000644000000000000000000000242613516252320013436 00000000000000# Copyright (C) 2008-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . EXTRA_DIST = cyclo-$(PACKAGE).html cyclo-$(PACKAGE).html: $(PMCCABE) `find $(top_srcdir)/lib -name \*.[ch] \ | grep -v \ -e ../gl \ -e test-parser.c \ -e test-errors.c \ -e obsolete.c \ -e kerberos_v5` \ | sort -nr \ | $(AWK) -f ${top_srcdir}/lib/build-aux/pmccabe2html \ -v lang=html -v name="$(PACKAGE_NAME)" \ -v vcurl="http://git.savannah.gnu.org/gitweb/?p=$(PACKAGE).git;a=blob;f=%FILENAME%;hb=HEAD" \ -v url="http://www.gnu.org/software/$(PACKAGE)/" \ -v css=${top_srcdir}/lib/build-aux/pmccabe.css \ > $@-tmp mv $@-tmp $@ gsasl-1.8.1/doc/cyclo/Makefile.in0000644000000000000000000016333313521017137013455 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2008-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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 = doc/cyclo ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = 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 = 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) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = cyclo-$(PACKAGE).html all: all-am .SUFFIXES: $(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 doc/cyclo/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/cyclo/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): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: 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 installdirs: 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-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic 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-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 Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install 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-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile cyclo-$(PACKAGE).html: $(PMCCABE) `find $(top_srcdir)/lib -name \*.[ch] \ | grep -v \ -e ../gl \ -e test-parser.c \ -e test-errors.c \ -e obsolete.c \ -e kerberos_v5` \ | sort -nr \ | $(AWK) -f ${top_srcdir}/lib/build-aux/pmccabe2html \ -v lang=html -v name="$(PACKAGE_NAME)" \ -v vcurl="http://git.savannah.gnu.org/gitweb/?p=$(PACKAGE).git;a=blob;f=%FILENAME%;hb=HEAD" \ -v url="http://www.gnu.org/software/$(PACKAGE)/" \ -v css=${top_srcdir}/lib/build-aux/pmccabe.css \ > $@-tmp mv $@-tmp $@ # 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: gsasl-1.8.1/doc/controlflow2.eps0000664000000000000000000116120211746471770013454 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: doc/controlflow2.dia %%Creator: Dia v0.94 %%CreationDate: Sun Oct 31 20:57:09 2004 %%For: jas %%Orientation: Portrait %%Magnification: 1.0000 %%BoundingBox: 0 0 1471 1168 %%BeginSetup %%EndSetup %%EndComments %%BeginProlog [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /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 /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /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 /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def /cp {closepath} bind def /c {curveto} bind def /f {fill} bind def /a {arc} bind def /ef {eofill} bind def /ex {exch} bind def /gr {grestore} bind def /gs {gsave} bind def /sa {save} bind def /rs {restore} bind def /l {lineto} bind def /m {moveto} bind def /rm {rmoveto} bind def /n {newpath} bind def /s {stroke} bind def /sh {show} bind def /slc {setlinecap} bind def /slj {setlinejoin} bind def /slw {setlinewidth} bind def /srgb {setrgbcolor} bind def /rot {rotate} bind def /sc {scale} bind def /sd {setdash} bind def /ff {findfont} bind def /sf {setfont} bind def /scf {scalefont} bind def /sw {stringwidth pop} bind def /tr {translate} bind def /ellipsedict 8 dict def ellipsedict /mtrx matrix put /ellipse { ellipsedict begin /endangle exch def /startangle exch def /yrad exch def /xrad exch def /y exch def /x exch def /savematrix mtrx currentmatrix def x y tr xrad yrad sc 0 0 1 startangle endangle arc savematrix setmatrix end } def /mergeprocs { dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /dpi_x 300 def /dpi_y 300 def /conicto { /to_y exch def /to_x exch def /conic_cntrl_y exch def /conic_cntrl_x exch def currentpoint /p0_y exch def /p0_x exch def /p1_x p0_x conic_cntrl_x p0_x sub 2 3 div mul add def /p1_y p0_y conic_cntrl_y p0_y sub 2 3 div mul add def /p2_x p1_x to_x p0_x sub 1 3 div mul add def /p2_y p1_y to_y p0_y sub 1 3 div mul add def p1_x p1_y p2_x p2_y to_x to_y curveto } bind def /start_ol { gsave 1.1 dpi_x div dup scale} bind def /end_ol { closepath fill grestore } bind def 28.346000 -28.346000 scale -11.669791 -45.329295 translate %%EndProlog 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc 1.000000 1.000000 1.000000 srgb n 35.807000 4.179270 m 50.607000 4.179270 88.447700 42.279300 38.507000 42.279300 c -11.433700 42.279300 21.007000 4.179270 35.807000 4.179270 c ef 0.000000 0.000000 0.000000 srgb n 35.807000 4.179270 m 50.607000 4.179270 88.447700 42.279300 38.507000 42.279300 c -11.433700 42.279300 21.007000 4.179270 35.807000 4.179270 c s 1.000000 1.000000 1.000000 srgb n 18.400000 16.400000 m 18.400000 21.500000 l 34.400000 21.500000 l 34.400000 16.400000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 18.400000 16.400000 m 18.400000 21.500000 l 34.400000 21.500000 l 34.400000 16.400000 l cp s gsave 20.795067 17.750000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 21.303067 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 21.514733 17.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 21.938067 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.192067 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 22.403733 17.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 22.615400 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.038733 17.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.462067 17.750000 translate 0.035278 -0.035278 scale start_ol 3127 0 moveto 3997 3008 lineto 3466 3008 lineto 2879 666 lineto 2297 3008 lineto 1722 3008 lineto 1157 666 lineto 553 3008 lineto 34 3008 lineto 892 0 lineto 1422 0 lineto 1993 2359 lineto 2591 0 lineto 3127 0 lineto end_ol grestore gsave 24.012400 17.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.224067 17.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 24.647400 17.750000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 25.070733 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.282400 17.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 25.705733 17.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 26.129067 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 26.552400 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 26.764067 17.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 26.933400 17.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 27.314400 17.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 27.737733 17.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 27.949400 17.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 28.118733 17.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 28.542067 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.965400 17.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.177067 17.750000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 29.600400 17.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 29.854400 17.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 30.277733 17.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 30.658733 17.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 31.082067 17.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.463067 17.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.844067 17.750000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 19.630900 18.750000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 20.054233 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 20.435233 18.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 20.858567 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 21.239567 18.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 21.408900 18.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 21.832233 18.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 22.213233 18.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 22.382567 18.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 22.551900 18.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 22.975233 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.398567 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 23.610233 18.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 24.033567 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 24.414567 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 24.626233 18.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.049567 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 25.303567 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.515233 18.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.726900 18.750000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 25.980900 18.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 26.361900 18.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 26.573567 18.750000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 26.954567 18.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 27.166233 18.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.377900 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.012900 18.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.436233 18.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 28.817233 18.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.240567 18.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 29.452233 18.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.663900 18.750000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 30.171900 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.552900 18.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 30.976233 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.357233 18.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.738233 18.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 31.907567 18.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.330900 18.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.754233 18.750000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.008233 18.750000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave 25.591433 19.750000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 25.845433 19.750000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 26.438100 19.750000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 26.988433 19.750000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 19.461567 20.750000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 19.884900 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 20.265900 20.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 20.689233 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 21.070233 20.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 21.239567 20.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 21.662900 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 22.043900 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 22.467233 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.721233 20.750000 translate 0.035278 -0.035278 scale start_ol 1609 0 moveto 2743 3008 lineto 2213 3008 lineto 1377 568 lineto 587 3008 lineto 56 3008 lineto 1095 0 lineto 1609 0 lineto end_ol grestore gsave 23.102233 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.525567 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.779567 20.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 24.202900 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 24.583900 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 24.795567 20.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.218900 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 25.472900 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.684567 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.896233 20.750000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 26.150233 20.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 26.531233 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 26.742900 20.750000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 27.123900 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 27.335567 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.547233 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.182233 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.605567 20.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 28.986567 20.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.409900 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 29.621567 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.833233 20.750000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 30.341233 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.722233 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 31.145567 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.526567 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.907567 20.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 32.076900 20.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.500233 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.923567 20.750000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.177567 20.750000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 22.400000 11.600000 m 22.400000 14.700000 l 34.600000 14.700000 l 34.600000 11.600000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 22.400000 11.600000 m 22.400000 14.700000 l 34.600000 14.700000 l 34.600000 11.600000 l cp s gsave 22.958567 12.950000 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 23.508900 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.932233 12.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 24.313233 12.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 24.482567 12.950000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 24.905900 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 25.329233 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.540900 12.950000 translate 0.035278 -0.035278 scale start_ol 3127 0 moveto 3997 3008 lineto 3466 3008 lineto 2879 666 lineto 2297 3008 lineto 1722 3008 lineto 1157 666 lineto 553 3008 lineto 34 3008 lineto 892 0 lineto 1422 0 lineto 1993 2359 lineto 2591 0 lineto 3127 0 lineto end_ol grestore gsave 26.091233 12.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 26.514567 12.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 26.683900 12.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 27.064900 12.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 27.488233 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.699900 12.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.334900 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.758233 12.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 29.139233 12.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.562567 12.950000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 29.985900 12.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 30.409233 12.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 30.578567 12.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.959567 12.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 31.594567 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.806233 12.950000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 32.017900 12.950000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.441233 12.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 32.652900 12.950000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 33.076233 12.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 33.457233 12.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 33.880567 12.950000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 22.903533 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.538533 13.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.961867 13.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 24.342867 13.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 24.766200 13.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.977867 13.950000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 25.426600 13.950000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.638267 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 26.273267 13.950000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 26.654267 13.950000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 27.077600 13.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 27.458600 13.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 27.881933 13.950000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 28.305267 13.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 28.686267 13.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 29.109600 13.950000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 29.532933 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 30.167933 13.950000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 30.591267 13.950000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 30.972267 13.950000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 31.395600 13.950000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 31.818933 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.242267 13.950000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 32.411600 13.950000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 32.792600 13.950000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 33.427600 13.950000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 33.681600 13.950000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.935600 13.950000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 25.450000 14.700000 m 26.162527 15.975048 l s [] 0 sd 0 slj 0 slc n 26.345460 16.302402 m 25.883313 15.987886 l 26.162527 15.975048 l 26.319785 15.743975 l ef n 26.345460 16.302402 m 25.883313 15.987886 l 26.162527 15.975048 l 26.319785 15.743975 l cp s 1.000000 1.000000 1.000000 srgb n 41.750000 18.400000 m 41.750000 21.500000 l 55.000000 21.500000 l 55.000000 18.400000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 41.750000 18.400000 m 41.750000 21.500000 l 55.000000 21.500000 l 55.000000 18.400000 l cp s gsave 43.214567 19.750000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 43.807233 19.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 44.230567 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.653900 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.865567 19.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.246567 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 45.458233 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 45.881567 19.750000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 46.304900 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 46.516567 19.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 46.939900 19.750000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 47.151567 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 47.363233 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 47.574900 19.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 47.998233 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 48.421567 19.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 48.633233 19.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 49.056567 19.750000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 49.479900 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 49.691567 19.750000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 50.114900 19.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 50.538233 19.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 50.961567 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 51.173233 19.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.342567 19.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 51.723567 19.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 52.146900 19.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 52.358567 19.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 52.527900 19.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 52.951233 19.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 53.374567 19.750000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 42.143533 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 42.397533 20.750000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 42.778533 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 42.990200 20.750000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 43.438933 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 43.650600 20.750000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 44.073933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 44.454933 20.750000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 44.878267 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.259267 20.750000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 45.428600 20.750000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 45.851933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 46.232933 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 46.444600 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 46.867933 20.750000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 47.291267 20.750000 translate 0.035278 -0.035278 scale start_ol 2741 2887 moveto 2648 3565 2233 3968 1643 3968 curveto 1217 3968 835 3762 606 3421 curveto 365 3046 256 2575 256 1876 curveto 256 1231 354 819 583 477 curveto 790 168 1127 0 1552 0 curveto 2288 0 2816 552 2816 1319 curveto 2816 2047 2316 2560 1610 2560 curveto 1221 2560 915 2405 704 2107 curveto 704 3016 1026 3520 1607 3520 curveto 1964 3520 2211 3289 2292 2887 curveto 2741 2887 lineto 1562 2112 moveto 2059 2112 2368 1793 2368 1280 curveto 2368 799 2018 448 1545 448 curveto 1066 448 704 815 704 1307 curveto 704 1782 1054 2112 1562 2112 curveto end_ol grestore gsave 47.714600 20.750000 translate 0.035278 -0.035278 scale start_ol 1856 960 moveto 1856 0 lineto 2304 0 lineto 2304 960 lineto 2897 960 lineto 2897 1408 lineto 2304 1408 lineto 2304 3968 lineto 1973 3968 lineto 168 1486 lineto 168 960 lineto 1856 960 lineto 1856 1408 moveto 603 1408 lineto 1856 3133 lineto 1856 1408 lineto end_ol grestore gsave 48.137933 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 48.349600 20.750000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 48.603600 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 48.984600 20.750000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 49.407933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 49.788933 20.750000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 50.169933 20.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 50.339267 20.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 50.762600 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.185933 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 51.397600 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 51.609267 20.750000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.778600 20.750000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.201933 20.750000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 52.413600 20.750000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 52.625267 20.750000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 53.133267 20.750000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 53.556600 20.750000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 53.979933 20.750000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 54.191600 20.750000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 54.445600 20.750000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 26.400000 21.500000 m 24.973973 22.688356 l s [] 0 sd 0 slj 0 slc n 24.685890 22.928425 m 24.909954 22.416278 l 24.973973 22.688356 l 25.230046 22.800388 l ef n 24.685890 22.928425 m 24.909954 22.416278 l 24.973973 22.688356 l 25.230046 22.800388 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc n 51.687500 21.500000 m 53.602234 22.564550 l s [] 0 sd 0 slj 0 slc n 53.929984 22.746772 m 53.371502 22.722309 l 53.602234 22.564550 l 53.614465 22.285309 l ef n 53.929984 22.746772 m 53.371502 22.722309 l 53.602234 22.564550 l 53.614465 22.285309 l cp s 1.000000 1.000000 1.000000 srgb n 52.861490 27.613600 m 57.231481 31.294216 l 52.861490 34.974832 l 48.491500 31.294216 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 52.861490 27.613600 m 57.231481 31.294216 l 52.861490 34.974832 l 48.491500 31.294216 l cp s gsave 50.478124 31.094216 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 50.986124 31.094216 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 51.409457 31.094216 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 51.621124 31.094216 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 52.044457 31.094216 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 52.467790 31.094216 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.891124 31.094216 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 53.102790 31.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 53.272124 31.094216 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 53.653124 31.094216 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 54.076457 31.094216 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 54.288124 31.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 54.457457 31.094216 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 54.880790 31.094216 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.362890 32.094216 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 51.574557 32.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.743890 32.094216 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.167224 32.094216 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 52.336557 32.094216 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 52.717557 32.094216 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 53.140890 32.094216 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 53.564224 32.094216 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 53.987557 32.094216 translate 0.035278 -0.035278 scale start_ol 1792 1114 moveto 1792 1377 lineto 1792 1624 1855 1720 2244 2074 curveto 2673 2456 2816 2709 2816 3081 curveto 2816 3738 2361 4160 1648 4160 curveto 859 4160 448 3708 448 2839 curveto 896 2839 lineto 896 3096 925 3253 993 3387 curveto 1102 3594 1331 3712 1635 3712 curveto 2076 3712 2368 3454 2368 3074 curveto 2368 2816 2242 2598 1939 2335 curveto 1601 2038 1601 2038 1504 1909 curveto 1384 1752 1344 1624 1344 1422 curveto 1344 1114 lineto 1792 1114 lineto 1792 582 moveto 1344 582 lineto 1344 0 lineto 1792 0 lineto 1792 582 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 36.989110 26.100000 m 41.178220 29.214243 l 36.989110 32.328485 l 32.800000 29.214243 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 36.989110 26.100000 m 41.178220 29.214243 l 36.989110 32.328485 l 32.800000 29.214243 l cp s gsave 36.108577 28.514243 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 36.658910 28.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.082243 28.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.505577 28.514243 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 35.706410 29.514243 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 36.129743 29.514243 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 36.553077 29.514243 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 36.976410 29.514243 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 37.188077 29.514243 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 37.611410 29.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 38.034743 29.514243 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.871510 30.514243 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 36.083177 30.514243 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 36.506510 30.514243 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 36.887510 30.514243 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.310843 30.514243 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 37.734177 30.514243 translate 0.035278 -0.035278 scale start_ol 1792 1114 moveto 1792 1377 lineto 1792 1624 1855 1720 2244 2074 curveto 2673 2456 2816 2709 2816 3081 curveto 2816 3738 2361 4160 1648 4160 curveto 859 4160 448 3708 448 2839 curveto 896 2839 lineto 896 3096 925 3253 993 3387 curveto 1102 3594 1331 3712 1635 3712 curveto 2076 3712 2368 3454 2368 3074 curveto 2368 2816 2242 2598 1939 2335 curveto 1601 2038 1601 2038 1504 1909 curveto 1384 1752 1344 1624 1344 1422 curveto 1344 1114 lineto 1792 1114 lineto 1792 582 moveto 1344 582 lineto 1344 0 lineto 1792 0 lineto 1792 582 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 48.491500 31.294200 m 41.646434 29.347372 l s [] 0 sd 0 slj 0 slc n 41.285739 29.244785 m 41.835056 29.141104 l 41.646434 29.347372 l 41.698274 29.622031 l ef n 41.285739 29.244785 m 41.835056 29.141104 l 41.646434 29.347372 l 41.698274 29.622031 l cp s gsave 51.657800 35.988000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.911800 35.988000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 52.292800 35.988000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 52.504467 35.988000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 52.953200 35.988000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 53.401933 35.988000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 53.613600 35.988000 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 54.206267 35.988000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 54.714267 35.988000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 55.222267 35.988000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 55.730267 35.988000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 56.153600 35.988000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 56.576933 35.988000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 57.169600 35.988000 translate 0.035278 -0.035278 scale start_ol 960 1455 moveto 1632 2134 lineto 3082 0 lineto 3703 0 lineto 2010 2465 lineto 3686 4160 lineto 3009 4160 lineto 960 2054 lineto 960 4160 lineto 448 4160 lineto 448 0 lineto 960 0 lineto 960 1455 lineto end_ol grestore gsave 43.204000 29.501100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 43.458000 29.501100 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 43.839000 29.501100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.050667 29.501100 translate 0.035278 -0.035278 scale start_ol 1152 4160 moveto 704 4160 lineto 704 2231 lineto 823 959 lineto 1033 959 lineto 1152 2231 lineto 1152 4160 lineto 1152 593 moveto 704 593 lineto 704 0 lineto 1152 0 lineto 1152 593 lineto end_ol grestore gsave 44.262333 29.501100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 44.711067 29.501100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.922733 29.501100 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 45.515400 29.501100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 46.023400 29.501100 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 46.531400 29.501100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 47.039400 29.501100 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 47.462733 29.501100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 47.886067 29.501100 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 48.478733 29.501100 translate 0.035278 -0.035278 scale start_ol 960 1455 moveto 1632 2134 lineto 3082 0 lineto 3703 0 lineto 2010 2465 lineto 3686 4160 lineto 3009 4160 lineto 960 2054 lineto 960 4160 lineto 448 4160 lineto 448 0 lineto 960 0 lineto 960 1455 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 43.300000 36.300000 m 43.300000 39.400000 l 54.100000 39.400000 l 54.100000 36.300000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 43.300000 36.300000 m 43.300000 39.400000 l 54.100000 39.400000 l 54.100000 36.300000 l cp s gsave 43.687733 37.650000 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 2988 1920 lineto 2988 2368 lineto 1024 2368 lineto 1024 3689 lineto 3259 3689 lineto 3259 4160 lineto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1920 lineto end_ol grestore gsave 44.153400 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 44.322733 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 44.746067 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 44.915400 37.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.296400 37.650000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 45.719733 37.650000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 45.931400 37.650000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 46.354733 37.650000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 46.778067 37.650000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 46.989733 37.650000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 47.413067 37.650000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 47.836400 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 48.259733 37.650000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 48.471400 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 48.640733 37.650000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 49.021733 37.650000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 49.445067 37.650000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 49.656733 37.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 49.826067 37.650000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 50.249400 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 50.672733 37.650000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 50.884400 37.650000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 51.307733 37.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.561733 37.650000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 51.985067 37.650000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 52.366067 37.650000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 52.789400 37.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 53.170400 37.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 53.551400 37.650000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 44.978900 38.650000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 45.402233 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 45.783233 38.650000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 46.206567 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 46.587567 38.650000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 46.756900 38.650000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 47.180233 38.650000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 47.391900 38.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 47.561233 38.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 47.984567 38.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 48.153900 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 48.534900 38.650000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 48.958233 38.650000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 49.169900 38.650000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 49.423900 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 49.804900 38.650000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 50.228233 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 50.609233 38.650000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 50.990233 38.650000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 51.159567 38.650000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 51.582900 38.650000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 52.006233 38.650000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 52.260233 38.650000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 52.861500 34.974800 m 49.163853 36.152289 l s [] 0 sd 0 slj 0 slc n 48.806532 36.266076 m 49.207102 35.876147 l 49.163853 36.152289 l 49.358817 36.352574 l ef n 48.806532 36.266076 m 49.207102 35.876147 l 49.163853 36.152289 l 49.358817 36.352574 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc n 36.989100 32.328500 m 29.829055 34.744368 l s [] 0 sd 0 slj 0 slc n 29.473736 34.864256 m 29.867569 34.467526 l 29.829055 34.744368 l 30.027420 34.941285 l ef n 29.473736 34.864256 m 29.867569 34.467526 l 29.829055 34.744368 l 30.027420 34.941285 l cp s gsave 24.454000 33.051100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 24.708000 33.051100 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 25.089000 33.051100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.300667 33.051100 translate 0.035278 -0.035278 scale start_ol 1152 4160 moveto 704 4160 lineto 704 2231 lineto 823 959 lineto 1033 959 lineto 1152 2231 lineto 1152 4160 lineto 1152 593 moveto 704 593 lineto 704 0 lineto 1152 0 lineto 1152 593 lineto end_ol grestore gsave 25.512333 33.051100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 25.961067 33.051100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 26.172733 33.051100 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 26.765400 33.051100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 27.273400 33.051100 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 27.781400 33.051100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 28.289400 33.051100 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 28.712733 33.051100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 29.136067 33.051100 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 29.686400 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 30.194400 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 30.702400 33.051100 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 31.252733 33.051100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 31.760733 33.051100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 32.184067 33.051100 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 32.819067 33.051100 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 33.411733 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 33.962067 33.051100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 40.428348 12.000000 m 50.284229 12.000000 l 48.427981 17.100000 l 38.572100 17.100000 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 40.428348 12.000000 m 50.284229 12.000000 l 48.427981 17.100000 l 38.572100 17.100000 l cp s gsave 40.664731 13.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 41.215065 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 41.638398 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 42.061731 13.350000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 42.485065 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 42.696731 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 42.908398 13.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 43.331731 13.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 43.712731 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.136065 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 44.559398 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.771065 13.350000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 44.982731 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 45.236731 13.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 45.660065 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 46.295065 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 46.506731 13.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 46.930065 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 47.353398 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 47.776731 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 48.030731 13.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 41.744231 14.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 41.998231 14.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 42.421565 14.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 42.844898 14.350000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 43.268231 14.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 43.479898 14.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 43.903231 14.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 44.284231 14.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.707565 14.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 45.130898 14.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 45.342565 14.350000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 45.596565 14.350000 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave 46.104565 14.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 46.273898 14.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 46.697231 14.350000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 46.951231 14.350000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave 43.619598 15.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 43.873598 15.350000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 44.466265 15.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 45.016598 15.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 42.734831 16.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 42.904165 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 43.327498 16.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 43.539165 16.350000 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 43.987898 16.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 44.199565 16.350000 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 44.749898 16.350000 translate 0.035278 -0.035278 scale start_ol 3136 4160 moveto 3136 1341 lineto 3136 801 2735 471 2074 471 curveto 1769 471 1521 543 1323 680 curveto 1120 834 1024 1038 1024 1341 curveto 1024 4160 lineto 512 4160 lineto 512 1328 lineto 512 509 1106 0 2074 0 curveto 3032 0 3648 520 3648 1328 curveto 3648 4160 lineto 3136 4160 lineto end_ol grestore gsave 45.300231 16.350000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 45.723565 16.350000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 49.938708 22.801100 m 58.116648 22.801100 l 56.988340 25.901100 l 48.810400 25.901100 l ef 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 49.938708 22.801100 m 58.116648 22.801100 l 56.988340 25.901100 l 48.810400 25.901100 l cp s gsave 50.165757 24.151100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 50.673757 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 51.097091 24.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.520424 24.151100 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 51.943757 24.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 52.155424 24.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 52.367091 24.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 52.790424 24.151100 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 53.171424 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 53.594757 24.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 54.018091 24.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 54.229757 24.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 54.441424 24.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 54.864757 24.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 55.076424 24.151100 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 55.499757 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 55.923091 24.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 56.346424 24.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 56.600424 24.151100 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 50.737257 25.151100 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 51.118257 25.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 51.541591 25.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 51.964924 25.151100 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 52.388257 25.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 52.599924 25.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 53.023257 25.151100 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 53.404257 25.151100 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 53.827591 25.151100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 54.250924 25.151100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 54.462591 25.151100 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 54.716591 25.151100 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 55.139924 25.151100 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 55.563257 25.151100 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 55.774924 25.151100 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 56.028924 25.151100 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 52.899400 25.901100 m 52.872271 27.126916 l s [] 0 sd 0 slj 0 slc n 52.863974 27.501824 m 52.625098 26.996415 l 52.872271 27.126916 l 53.124976 27.007478 l ef n 52.863974 27.501824 m 52.625098 26.996415 l 52.872271 27.126916 l 53.124976 27.007478 l cp s gsave 38.104000 24.951100 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 38.358000 24.951100 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 38.739000 24.951100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 38.950667 24.951100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 39.399400 24.951100 translate 0.035278 -0.035278 scale start_ol 3014 1984 moveto 282 1984 lineto 282 1600 lineto 3014 1600 lineto 3014 1984 lineto 3014 1024 moveto 282 1024 lineto 282 640 lineto 3014 640 lineto 3014 1024 lineto end_ol grestore gsave 39.848133 24.951100 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 40.059800 24.951100 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 40.652467 24.951100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 41.160467 24.951100 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 41.668467 24.951100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 42.176467 24.951100 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 42.599800 24.951100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 43.023133 24.951100 translate 0.035278 -0.035278 scale start_ol 3584 4160 moveto 3136 4160 lineto 3136 759 lineto 970 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3373 lineto 3039 0 lineto 3584 0 lineto 3584 4160 lineto end_ol grestore gsave 43.573467 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 44.081467 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore gsave 44.589467 24.951100 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 45.139800 24.951100 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 45.647800 24.951100 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 46.071133 24.951100 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 46.706133 24.951100 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 47.298800 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 47.849133 24.951100 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 3265 1920 lineto 3265 2368 lineto 1024 2368 lineto 1024 3689 lineto 3350 3689 lineto 3350 4160 lineto 512 4160 lineto 512 0 lineto 3451 0 lineto 3451 471 lineto 1024 471 lineto 1024 1920 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n 15.000000 23.000000 m 15.000000 26.100000 l 34.200000 26.100000 l 34.200000 23.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 15.000000 23.000000 m 15.000000 26.100000 l 34.200000 26.100000 l 34.200000 23.000000 l cp s gsave 20.413233 24.350000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 21.005900 24.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 21.429233 24.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 21.640900 24.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 21.810233 24.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 22.233567 24.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.656900 24.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 23.080233 24.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 23.249567 24.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 23.418900 24.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 23.799900 24.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.011567 24.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 24.392567 24.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 24.815900 24.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.027567 24.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.239233 24.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 25.662567 24.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 25.916567 24.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 26.339900 24.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 26.763233 24.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 27.186567 24.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 27.440567 24.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 27.652233 24.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 27.821567 24.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.244900 24.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 28.625900 24.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 15.316300 25.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 15.739633 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.120633 25.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 16.543967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.924967 25.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 17.094300 25.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 17.517633 25.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 17.940967 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 18.194967 25.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 18.618300 25.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 19.041633 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 19.464967 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 19.718967 25.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 19.930633 25.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 20.311633 25.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 20.734967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 21.115967 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 21.539300 25.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 21.750967 25.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.962633 25.350000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 22.216633 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 22.597633 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.020967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 23.401967 25.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 23.782967 25.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 23.952300 25.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 24.375633 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 24.798967 25.350000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 25.010633 25.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.222300 25.350000 translate 0.035278 -0.035278 scale start_ol 3968 2176 moveto 2273 2176 lineto 2273 1728 lineto 3520 1728 lineto 3520 1625 lineto 3520 955 2981 471 2234 471 curveto 1818 471 1442 616 1200 868 curveto 931 1147 768 1613 768 2096 curveto 768 3056 1341 3689 2206 3689 curveto 2829 3689 3279 3374 3391 2855 curveto 3913 2855 lineto 3768 3684 3143 4160 2210 4160 curveto 1713 4160 1311 4035 993 3779 curveto 524 3398 256 2782 256 2069 curveto 256 849 1023 0 2126 0 curveto 2680 0 3123 206 3520 646 curveto 3646 0 lineto 3968 0 lineto 3968 2176 lineto end_ol grestore gsave 25.814967 25.350000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 26.322967 25.350000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 26.830967 25.350000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 27.338967 25.350000 translate 0.035278 -0.035278 scale start_ol 960 4160 moveto 448 4160 lineto 448 0 lineto 2992 0 lineto 2992 471 lineto 960 471 lineto 960 4160 lineto end_ol grestore gsave 27.762300 25.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 28.185633 25.350000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 28.693633 25.350000 translate 0.035278 -0.035278 scale start_ol 3136 4160 moveto 3136 1341 lineto 3136 801 2735 471 2074 471 curveto 1769 471 1521 543 1323 680 curveto 1120 834 1024 1038 1024 1341 curveto 1024 4160 lineto 512 4160 lineto 512 1328 lineto 512 509 1106 0 2074 0 curveto 3032 0 3648 520 3648 1328 curveto 3648 4160 lineto 3136 4160 lineto end_ol grestore gsave 29.243967 25.350000 translate 0.035278 -0.035278 scale start_ol 1984 3689 moveto 3333 3689 lineto 3333 4160 lineto 117 4160 lineto 117 3689 lineto 1472 3689 lineto 1472 0 lineto 1984 0 lineto 1984 3689 lineto end_ol grestore gsave 29.709633 25.350000 translate 0.035278 -0.035278 scale start_ol 3136 1920 moveto 3136 0 lineto 3648 0 lineto 3648 4160 lineto 3136 4160 lineto 3136 2368 lineto 960 2368 lineto 960 4160 lineto 448 4160 lineto 448 0 lineto 960 0 lineto 960 1920 lineto 3136 1920 lineto end_ol grestore gsave 30.259967 25.350000 translate 0.035278 -0.035278 scale start_ol 3280 4160 moveto 316 4160 lineto 316 3689 lineto 2630 3689 lineto 158 471 lineto 158 0 lineto 3291 0 lineto 3291 471 lineto 818 471 lineto 3280 3678 lineto 3280 4160 lineto end_ol grestore gsave 30.725633 25.350000 translate 0.035278 -0.035278 scale start_ol 1088 4160 moveto 576 4160 lineto 576 0 lineto 1088 0 lineto 1088 4160 lineto end_ol grestore gsave 30.937300 25.350000 translate 0.035278 -0.035278 scale start_ol 512 0 moveto 2099 0 lineto 3138 0 3776 787 3776 2083 curveto 3776 3373 3144 4160 2099 4160 curveto 512 4160 lineto 512 0 lineto 1024 471 moveto 1024 3689 lineto 2007 3689 lineto 2830 3689 3264 3137 3264 2077 curveto 3264 1029 2830 471 2007 471 curveto 1024 471 lineto end_ol grestore gsave 31.487633 25.350000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 31.699300 25.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.910967 25.350000 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 32.181900 25.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 -441 lineto 384 -736 288 -832 0 -832 curveto -17 -832 -17 -832 -113 -832 curveto -113 -1262 lineto -58 -1274 -30 -1280 42 -1280 curveto 561 -1280 832 -1060 832 -650 curveto 832 3008 lineto 384 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 32.351233 25.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.774567 25.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 33.197900 25.350000 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 33.468833 25.350000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 33.722833 25.350000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 45.964000 17.100000 m 47.946515 18.168963 l s [] 0 sd 0 slj 0 slc n 48.276590 18.346938 m 47.717840 18.329688 l 47.946515 18.168963 l 47.955140 17.889587 l ef n 48.276590 18.346938 m 47.717840 18.329688 l 47.946515 18.168963 l 47.955140 17.889587 l cp s gsave 29.000000 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.423333 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.846667 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 30.270000 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 30.693333 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.116667 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.540000 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.963333 7.000000 translate 0.035278 -0.035278 scale start_ol 7633 5752 moveto 7300 7521 6242 8384 4403 8384 curveto 3277 8384 2369 8044 1748 7385 curveto 990 6595 576 5454 576 4159 curveto 576 2842 1001 1712 1794 933 curveto 2438 296 3265 0 4357 0 curveto 6402 0 7551 1058 7804 3184 curveto 6705 3184 lineto 6613 2642 6499 2274 6327 1960 curveto 5983 1309 5273 941 4379 941 curveto 2718 941 1664 2198 1664 4170 curveto 1664 6197 2672 7443 4287 7443 curveto 4963 7443 5593 7248 5937 6944 curveto 6246 6673 6418 6337 6544 5752 curveto 7633 5752 lineto end_ol grestore gsave 33.055533 7.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 33.902200 7.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave 34.748867 7.000000 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave 35.172200 7.000000 translate 0.035278 -0.035278 scale start_ol 768 6016 moveto 768 0 lineto 1728 0 lineto 1728 3026 lineto 1728 3860 1946 4405 2404 4728 curveto 2702 4939 2988 5006 3653 5006 curveto 3653 6016 lineto 3494 6016 3414 6016 3289 6016 curveto 2676 6016 2210 5654 1664 4772 curveto 1664 6016 lineto 768 6016 lineto end_ol grestore gsave 35.680200 7.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 36.526867 7.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave 36.865533 7.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 37.288867 7.000000 translate 0.035278 -0.035278 scale start_ol 2981 6016 moveto 1984 6016 lineto 1984 6945 lineto 1984 7342 2213 7546 2648 7546 curveto 2729 7546 2763 7546 2981 7546 curveto 2981 8327 lineto 2762 8373 2636 8384 2440 8384 curveto 1554 8384 1024 7884 1024 7032 curveto 1024 6016 lineto 222 6016 lineto 222 5235 lineto 1024 5235 lineto 1024 0 lineto 1984 0 lineto 1984 5235 lineto 2981 5235 lineto 2981 6016 lineto end_ol grestore gsave 37.712200 7.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave 38.050867 7.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 38.897533 7.000000 translate 0.035278 -0.035278 scale start_ol 6347 0 moveto 8111 6016 lineto 7034 6016 lineto 5843 1332 lineto 4663 6016 lineto 3494 6016 lineto 2348 1332 lineto 1123 6016 lineto 69 6016 lineto 1810 0 lineto 2887 0 lineto 4044 4719 lineto 5258 0 lineto 6347 0 lineto end_ol grestore gsave 29.000000 9.000000 translate 0.035278 -0.035278 scale start_ol 2981 6016 moveto 1984 6016 lineto 1984 6945 lineto 1984 7342 2213 7546 2648 7546 curveto 2729 7546 2763 7546 2981 7546 curveto 2981 8327 lineto 2762 8373 2636 8384 2440 8384 curveto 1554 8384 1024 7884 1024 7032 curveto 1024 6016 lineto 222 6016 lineto 222 5235 lineto 1024 5235 lineto 1024 0 lineto 1984 0 lineto 1984 5235 lineto 2981 5235 lineto 2981 6016 lineto end_ol grestore gsave 29.423333 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 30.270000 9.000000 translate 0.035278 -0.035278 scale start_ol 768 6016 moveto 768 0 lineto 1728 0 lineto 1728 3026 lineto 1728 3860 1946 4405 2404 4728 curveto 2702 4939 2988 5006 3653 5006 curveto 3653 6016 lineto 3494 6016 3414 6016 3289 6016 curveto 2676 6016 2210 5654 1664 4772 curveto 1664 6016 lineto 768 6016 lineto end_ol grestore gsave 30.778000 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 31.201333 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 32.048000 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave 32.894667 9.000000 translate 0.035278 -0.035278 scale start_ol 5727 2688 moveto 5727 3561 5660 4085 5493 4510 curveto 5113 5449 4220 6016 3127 6016 curveto 1497 6016 448 4817 448 2976 curveto 448 1135 1463 0 3103 0 curveto 4441 0 5367 723 5601 1936 curveto 4639 1936 lineto 4383 1245 3859 884 3113 884 curveto 2522 884 2021 1125 1709 1566 curveto 1486 1866 1408 2167 1408 2688 curveto 5727 2688 lineto 1408 3456 moveto 1408 4472 2084 5132 3046 5132 curveto 3985 5132 4707 4420 4707 3519 curveto 4707 3498 4707 3477 4696 3456 curveto 1408 3456 lineto end_ol grestore gsave 33.741333 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 34.164667 9.000000 translate 0.035278 -0.035278 scale start_ol 6848 5884 moveto 6848 7466 5725 8384 3800 8384 curveto 1966 8384 832 7489 832 6049 curveto 832 5077 1344 4466 2391 4193 curveto 4363 3669 lineto 5366 3407 5824 3004 5824 2382 curveto 5824 1956 5598 1519 5265 1279 curveto 4953 1061 4459 941 3825 941 curveto 2976 941 2395 1147 2019 1602 curveto 1729 1949 1600 2328 1600 2816 curveto 576 2816 lineto 576 2076 719 1590 1037 1148 curveto 1585 398 2506 0 3723 0 curveto 4677 0 5455 218 5971 611 curveto 6508 1037 6848 1746 6848 2434 curveto 6848 3417 6245 4137 5180 4432 curveto 3211 4967 lineto 2264 5229 1920 5534 1920 6145 curveto 1920 6953 2658 7488 3770 7488 curveto 5086 7488 5824 6914 5824 5884 curveto 6848 5884 lineto end_ol grestore gsave 35.172200 9.000000 translate 0.035278 -0.035278 scale start_ol 5430 2496 moveto 6289 0 lineto 7481 0 lineto 4548 8384 lineto 3173 8384 lineto 195 0 lineto 1329 0 lineto 2211 2496 lineto 5430 2496 lineto 5132 3392 moveto 2474 3392 lineto 3849 7228 lineto 5132 3392 lineto end_ol grestore gsave 36.179733 9.000000 translate 0.035278 -0.035278 scale start_ol 6848 5884 moveto 6848 7466 5725 8384 3800 8384 curveto 1966 8384 832 7489 832 6049 curveto 832 5077 1344 4466 2391 4193 curveto 4363 3669 lineto 5366 3407 5824 3004 5824 2382 curveto 5824 1956 5598 1519 5265 1279 curveto 4953 1061 4459 941 3825 941 curveto 2976 941 2395 1147 2019 1602 curveto 1729 1949 1600 2328 1600 2816 curveto 576 2816 lineto 576 2076 719 1590 1037 1148 curveto 1585 398 2506 0 3723 0 curveto 4677 0 5455 218 5971 611 curveto 6508 1037 6848 1746 6848 2434 curveto 6848 3417 6245 4137 5180 4432 curveto 3211 4967 lineto 2264 5229 1920 5534 1920 6145 curveto 1920 6953 2658 7488 3770 7488 curveto 5086 7488 5824 6914 5824 5884 curveto 6848 5884 lineto end_ol grestore gsave 37.187267 9.000000 translate 0.035278 -0.035278 scale start_ol 1984 8384 moveto 896 8384 lineto 896 0 lineto 6108 0 lineto 6108 941 lineto 1984 941 lineto 1984 8384 lineto end_ol grestore gsave 38.033933 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 38.457267 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave 39.219267 9.000000 translate 0.035278 -0.035278 scale start_ol 5727 2688 moveto 5727 3561 5660 4085 5493 4510 curveto 5113 5449 4220 6016 3127 6016 curveto 1497 6016 448 4817 448 2976 curveto 448 1135 1463 0 3103 0 curveto 4441 0 5367 723 5601 1936 curveto 4639 1936 lineto 4383 1245 3859 884 3113 884 curveto 2522 884 2021 1125 1709 1566 curveto 1486 1866 1408 2167 1408 2688 curveto 5727 2688 lineto 1408 3456 moveto 1408 4472 2084 5132 3046 5132 curveto 3985 5132 4707 4420 4707 3519 curveto 4707 3498 4707 3477 4696 3456 curveto 1408 3456 lineto end_ol grestore gsave 40.065933 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave 40.827933 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave 41.589933 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave 41.928600 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 42.775267 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave 19.000000 7.000000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 19.211667 7.000000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 19.635000 7.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 19.889000 7.000000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 20.270000 7.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 20.524000 7.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 20.778000 7.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 19.000000 8.000000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 19.423333 8.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 19.635000 8.000000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 20.058333 8.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 20.312333 8.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 20.735667 8.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 21.159000 8.000000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 21.582333 8.000000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 22.005667 8.000000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 22.386667 8.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 22.640667 8.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 23.064000 8.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 23.487333 8.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 23.699000 8.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 24.122333 8.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 24.376333 8.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 24.630333 8.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 19.000000 9.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 19.211667 9.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 19.423333 9.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc 0 slj 0 slc 0 slj [] 0 sd 1.000000 1.000000 1.000000 srgb n 31.400000 40.629300 m 31.400000 45.279295 l 46.471383 45.279295 l 46.471383 40.629300 l f 0.000000 0.000000 0.000000 srgb n 31.400000 40.629300 m 31.400000 45.279295 l 46.471383 45.279295 l 46.471383 40.629300 l cp s 0 slc 0 slj [] 0 sd n 32.907138 40.629300 m 32.907138 45.279295 l s 0 slc 0 slj [] 0 sd n 44.964245 40.629300 m 44.964245 45.279295 l s gsave 33.106392 42.754298 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 33.614392 42.754298 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 34.037725 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 34.249392 42.754298 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 34.672725 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 35.096058 42.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.519392 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 35.731058 42.754298 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 35.900392 42.754298 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 36.281392 42.754298 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 36.704725 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 36.916392 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 37.339725 42.754298 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 37.763058 42.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 37.974725 42.754298 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 38.398058 42.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 38.652058 42.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 39.075392 42.754298 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 39.287058 42.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 39.710392 42.754298 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 40.091392 42.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 40.514725 42.754298 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 40.684058 42.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 40.895725 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 41.319058 42.754298 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 41.700058 42.754298 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 42.081058 42.754298 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 42.504392 42.754298 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 42.927725 42.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 43.351058 42.754298 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 43.774392 42.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 44.197725 42.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 44.409392 42.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 44.621058 42.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 34.101225 43.754298 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 2988 1920 lineto 2988 2368 lineto 1024 2368 lineto 1024 3689 lineto 3259 3689 lineto 3259 4160 lineto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1920 lineto end_ol grestore gsave 34.566892 43.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 34.990225 43.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.244225 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 35.455892 43.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 35.879225 43.754298 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 36.260225 43.754298 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 36.683558 43.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 37.318558 43.754298 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 37.741892 43.754298 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 37.911225 43.754298 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 38.334558 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 38.546225 43.754298 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave 39.054225 43.754298 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 39.689225 43.754298 translate 0.035278 -0.035278 scale start_ol 1984 3689 moveto 3333 3689 lineto 3333 4160 lineto 117 4160 lineto 117 3689 lineto 1472 3689 lineto 1472 0 lineto 1984 0 lineto 1984 3689 lineto end_ol grestore gsave 40.154892 43.754298 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2333 1792 lineto 2665 1792 2927 1888 3153 2085 curveto 3409 2311 3520 2576 3520 2953 curveto 3520 3726 3057 4160 2233 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2133 3689 lineto 2641 3689 2944 3417 2944 2965 curveto 2944 2512 2641 2240 2133 2240 curveto 1024 2240 lineto end_ol grestore gsave 40.662892 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 40.874558 43.754298 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 41.297892 43.754298 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 41.551892 43.754298 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 41.763558 43.754298 translate 0.035278 -0.035278 scale start_ol 1088 4160 moveto 576 4160 lineto 576 0 lineto 1088 0 lineto 1088 4160 lineto end_ol grestore gsave 41.975225 43.754298 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 42.610225 43.754298 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 43.118225 43.754298 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2333 1792 lineto 2665 1792 2927 1888 3153 2085 curveto 3409 2311 3520 2576 3520 2953 curveto 3520 3726 3057 4160 2233 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2133 3689 lineto 2641 3689 2944 3417 2944 2965 curveto 2944 2512 2641 2240 2133 2240 curveto 1024 2240 lineto end_ol grestore gsave 43.626225 43.754298 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 48.700000 39.400000 m 39.418691 40.568493 l s [] 0 sd 0 slj 0 slc n 39.046628 40.615334 m 39.511484 40.304837 l 39.418691 40.568493 l 39.573940 40.800921 l ef n 39.046628 40.615334 m 39.511484 40.304837 l 39.418691 40.568493 l 39.573940 40.800921 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 24.600000 26.100000 m 44.269800 35.029300 32.069800 5.754270 42.470671 11.756676 c s [] 0 sd 0 slj 0 slc n 42.795465 11.944116 m 42.237446 11.910725 l 42.470671 11.756676 l 42.487367 11.477666 l ef n 42.795465 11.944116 m 42.237446 11.910725 l 42.470671 11.756676 l 42.487367 11.477666 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 17.000000 7.000000 m 17.900000 12.800000 25.409000 6.631900 28.242837 11.186667 c s [] 0 sd 0 slj 0 slc n 28.440938 11.505070 m 27.964534 11.212599 l 28.242837 11.186667 l 28.389072 10.948465 l ef n 28.440938 11.505070 m 27.964534 11.212599 l 28.242837 11.186667 l 28.389072 10.948465 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc n 36.989100 26.100000 m 40.836360 17.543984 l s [] 0 sd 0 slj 0 slc n 40.990149 17.201969 m 41.013107 17.760514 l 40.836360 17.543984 l 40.557088 17.555463 l ef n 40.990149 17.201969 m 41.013107 17.760514 l 40.836360 17.543984 l 40.557088 17.555463 l cp s 0.100000 slw [] 0 sd [] 0 sd 0 slc 0 slj 0 slc 0 slj [] 0 sd 1.000000 1.000000 1.000000 srgb n 22.189277 34.900000 m 36.546383 34.900000 l 38.528687 34.900000 40.135660 35.752249 40.135660 36.803553 c 40.135660 37.854857 38.528687 38.707107 36.546383 38.707107 c 22.189277 38.707107 l 20.206973 38.707107 18.600000 37.854857 18.600000 36.803553 c 18.600000 35.752249 20.206973 34.900000 22.189277 34.900000 c ef 0.000000 0.000000 0.000000 srgb n 22.189277 34.900000 m 36.546383 34.900000 l 38.528687 34.900000 40.135660 35.752249 40.135660 36.803553 c 40.135660 37.854857 38.528687 38.707107 36.546383 38.707107 c 22.189277 38.707107 l 20.206973 38.707107 18.600000 37.854857 18.600000 36.803553 c 18.600000 35.752249 20.206973 34.900000 22.189277 34.900000 c s gsave 28.466130 36.103553 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 28.974130 36.103553 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave 29.397463 36.103553 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 29.820797 36.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 30.074797 36.103553 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 25.646730 37.103553 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 26.070063 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 26.451063 37.103553 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 26.874397 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 27.255397 37.103553 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 27.424730 37.103553 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 27.848063 37.103553 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 28.059730 37.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 28.229063 37.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 28.652397 37.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 28.821730 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 29.202730 37.103553 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 29.626063 37.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.837730 37.103553 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 30.091730 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.472730 37.103553 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 30.896063 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.277063 37.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.658063 37.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 31.827397 37.103553 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 32.250730 37.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.674063 37.103553 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 32.928063 37.103553 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave 22.370130 38.103553 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 22.793463 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.047463 38.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 23.216797 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 23.640130 38.103553 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 23.851797 38.103553 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 24.063463 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.275130 38.103553 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 24.529130 38.103553 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 24.800063 38.103553 translate 0.035278 -0.035278 scale start_ol 1024 1920 moveto 2988 1920 lineto 2988 2368 lineto 1024 2368 lineto 1024 3689 lineto 3259 3689 lineto 3259 4160 lineto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1920 lineto end_ol grestore gsave 25.265730 38.103553 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.689063 38.103553 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 25.858397 38.103553 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 26.027730 38.103553 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 26.451063 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 26.705063 38.103553 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 27.128397 38.103553 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 27.340063 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 27.551730 38.103553 translate 0.035278 -0.035278 scale start_ol 1149 3968 moveto 626 3968 192 3521 192 2976 curveto 192 2431 626 1984 1155 1984 curveto 1678 1984 2112 2431 2112 2964 curveto 2112 3527 1690 3968 1149 3968 curveto 1149 3566 moveto 1473 3566 1728 3299 1728 2961 curveto 1728 2635 1467 2368 1155 2368 curveto 837 2368 576 2641 576 2967 curveto 576 3299 837 3566 1149 3566 curveto 3453 3968 moveto 1234 0 lineto 1609 0 lineto 3827 3968 lineto 3453 3968 lineto 3901 1856 moveto 3378 1856 2944 1437 2944 931 curveto 2944 419 3378 0 3907 0 curveto 4425 0 4864 419 4864 920 curveto 4864 1442 4442 1856 3901 1856 curveto 3901 1472 moveto 4225 1472 4480 1232 4480 929 curveto 4480 642 4219 402 3907 402 curveto 3589 402 3328 642 3328 940 curveto 3328 1232 3589 1472 3901 1472 curveto end_ol grestore gsave 28.229063 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 28.610063 38.103553 translate 0.035278 -0.035278 scale start_ol 265 4160 moveto -45 4160 lineto 1293 0 lineto 1603 0 lineto 265 4160 lineto end_ol grestore gsave 28.821730 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 29.245063 38.103553 translate 0.035278 -0.035278 scale start_ol 320 3968 moveto 320 3331 lineto 469 2561 lineto 683 2561 lineto 832 3331 lineto 832 3968 lineto 320 3968 lineto 1216 3968 moveto 1216 3331 lineto 1365 2561 lineto 1579 2561 lineto 1728 3331 lineto 1728 3968 lineto 1216 3968 lineto end_ol grestore gsave 29.515997 38.103553 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 29.727663 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 29.939330 38.103553 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 30.362663 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 30.743663 38.103553 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 31.166997 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 31.547997 38.103553 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 31.717330 38.103553 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 32.140663 38.103553 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 32.521663 38.103553 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 32.733330 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 32.987330 38.103553 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 33.410663 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 33.664663 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 33.918663 38.103553 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 34.341997 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 34.595997 38.103553 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 34.807663 38.103553 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 35.061663 38.103553 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 35.315663 38.103553 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 35.696663 38.103553 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 35.950663 38.103553 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 36.204663 38.103553 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc 0 slj 0 slc 0 slj [] 0 sd n 29.362600 38.669100 m 29.362600 39.519100 l s 0 slc 0 slj [] 0 sd n 28.212600 39.519100 m 30.512600 39.519100 l s 0 slc 0 slj [] 0 sd n 28.597850 39.944100 m 30.127350 39.944100 l s 0 slc 0 slj [] 0 sd n 28.983100 40.369100 m 29.742100 40.369100 l s showpage gsasl-1.8.1/doc/stamp-vti0000644000000000000000000000013513521017375012140 00000000000000@set UPDATED 25 July 2019 @set UPDATED-MONTH July 2019 @set EDITION 1.8.1 @set VERSION 1.8.1 gsasl-1.8.1/doc/gsasl-callback-password.texi0000664000000000000000000000144611746471770015711 00000000000000@deftypefn Prototype int (*Gsasl_client_callback_password) (Gsasl_session_ctx * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output array with password. @var{outlen}: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with password of user and set the output array length, and return @code{GSASL_OK}, or fail with an error code. The password must be encoded in UTF-8, but need not be normalized in any way. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. @end deftypefn gsasl-1.8.1/doc/gsasl-callback-gssapi.texi0000644000000000000000000000215512222241124015303 00000000000000@deftypefn Prototype int (*Gsasl_server_callback_gssapi) (Gsasl_session_ctx * @var{ctx}, char * @var{clientname}, char * @var{authentication_id}) @var{ctx}: libgsasl handle. @var{clientname}: input array with GSSAPI client name. @var{authentication_id}: input array with authentication identity. Type of callback function the application implements. It should return GSASL_OK if and only if the GSSAPI user is authorized to log on as the given authentication_id. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used. This callback is usually implemented in the application as a call to krb5_kuserok(), such as: @example int callback_gssapi (Gsasl_session_ctx *ctx, char *clientname, char *authentication_id) @{ int rc = GSASL_AUTHENTICATION_ERROR; krb5_principal p; krb5_context kcontext; krb5_init_context (&kcontext); if (krb5_parse_name (kcontext, clientname, &p) != 0) return -1; if (krb5_kuserok (kcontext, p, authentication_id)) rc = GSASL_OK; krb5_free_principal (kcontext, p); return rc; @} @end example @end deftypefn gsasl-1.8.1/doc/controlflow2.dia0000664000000000000000000000654211746471770013426 00000000000000]ms6_Sn;N'msii/77%XbC|~ J-)Pmɋ(.oG'fa }d޼Po_ ܃;~;|qr||yy,ȓE( qev0 ^[] < .rܜςi\ēժ8D΋OxZ?,51|ާI7/,&bIE?;mV2hO_~|Յ۾H>ioӁA`4OK.:,lH< |YD&TO'LjyDYomWɝ~]kQe8g+GõQ,3G3R`$T qK+$p/`8cR>q& 5~&^'Raܶ~Yr9*1or=s|+bU2&J.dz ͭ%W%Fy3 qC,BGDf>ZNwlD feg&7G>I[=M&;ss5JѦj$ k݆wK/g&qy4,;M F(GYh_ ޿bAKaŻ_nL -=&U}ywF$A,oDe &C6$[)&I|f֭{B7#>4wkR)mGWC<,Y<6Gǣl#:f8'^\k3лYAfs/O̜ԛ_Ƴ$3G,B @t,˝06%U.E "$ʗq<2BU&ގ̔b!€;!N<i\V6zxz| $+y?ۂ/x'+'jYPr3YLoaǍ'jZMw(ԖȠa ^4e ,D؀e^r38c0W h&w= 0^E#369+ҺEdMFk+YebrR` ZZ2ĉ$mmK5 `ܰ`؅L˦2-ńkd^5x#Fx!TRXy,i?)LH'KZa)S(w6IBeg8SOmd B33_?~7՚;0ɷSخS(wUaiF] 1q"O! kIŐD|4ؐzLP %7aH;r\ sftrhH՘I/'MܡIh$J]&*ʨrV kV@ FZ3fgOeG,e&\/OWYET#J..X~j~3o;^I=n#(|e#Z)ǡ!HHlJ{HKQz?ݿ;#eb>6BhM3DFbH}=aEL dM _Fxo贇,Yi{h ڃY9V.wZK_#6M[0M8eM M\ =0TH 7Wi+cYP"t55qdjG]DN4ɔ#7W|YPKT9MՈH+Q) Zd0}^gI*FL (NȟBNc! ,5qX18/@āwϖtxj_/~ZW]1S;߂4"%8\>i_o ˅lKZ"i11Ʃ-B&F5V PB5aDQ9LP1A:*=Hd-IOzdyT co; k9@f5 3iB]j7nt˗KJgXn8BҜ:n3+/|(Q:T]_P-OVu \$ 1%jr+eT2Z>PbҖH>*SeN}]і11ظ*n[o`$֍Y TrǟJ:{T1bˍ7%XXtH섰.*-b7 mjg5ke>z A]{m&¤yhnWWGyKyLJ31-u@(-tACydq0*xZ2K3ʬ*۷Lݭe1{!Թ ҩ Ysp#&b]h/ >ɽOiUq,kp'$]tؚi)}#eUO\k-=K"\A}f1+6T .$(A<_1Vbw8T?i'SXJauJ%wHsjß:&e{%:_e5{+,ı}xɈaq'w )*V~jPVM'G)n J,籴7fix"TNdu}`yQ7' ao(1mhw_!ku%왅LHO|_+*t[%ڲYUuJ{ h{G7A]g߸?9<5wHZKz-StV |К$?.AoO* v\4d. p&0Y@Al]]GFvJg`< &}[~?"dF8+gsasl-1.8.1/doc/gsasl-callback-digest-md5.texi0000664000000000000000000000134411746471770016006 00000000000000@deftypefn Prototype int (*Gsasl_server_callback_digest_md5) (Gsasl_session_ctx * @var{ctx}, char * @var{username}, char * @var{realm}, char * @var{secrethash}) @var{ctx}: libgsasl handle. @var{username}: input array with authentication identity of user. @var{realm}: input array with realm of user. @var{secrethash}: output array that should contain hash of username, realm and password as described for the DIGEST-MD5 mechanism. Type of callback function the application implements. It should retrieve the secret hash for the given user in given realm and return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails. The secrethash buffer is guaranteed to have size for the fixed length MD5 hash. @end deftypefn gsasl-1.8.1/doc/gsasl-callback-authentication.texi0000664000000000000000000000153411746471770017064 00000000000000@deftypefn Prototype int (*Gsasl_client_callback_authentication_id) (Gsasl_session_ctx * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output array with authentication identity. @var{outlen}: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with authentiction identity of user and set the output array length, and return @code{GSASL_OK}, or fail with an error code. The authentication identity must be encoded in UTF-8, but need not be normalized in any way. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. @end deftypefn gsasl-1.8.1/doc/gsasl-callback-authorization.texi0000664000000000000000000000153011746471770016741 00000000000000@deftypefn Prototype int (*Gsasl_client_callback_authorization_id) (Gsasl_session_ctx * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output array with authorization identity. @var{outlen}: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with authorization identity of user and set the output array length, and return @code{GSASL_OK}, or fail with an error code. The authorization identity must be encoded in UTF-8, but need not be normalized in any way. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. @end deftypefn gsasl-1.8.1/doc/gsasl.pdf0000644000000000000000000222536413521017433012107 00000000000000%PDF-1.5 % 1 0 obj << /Length 587 /Filter /FlateDecode >> stream xmTM@+z&?tBL$d4*.<_fW_wիrc;`GUOV&ʮ[v6W7TvbuYt/N.5=S> stream xmTM@+z&?tBL0d4*.<̿~UfW_uvc;Z̫MfG} I]/ޭmޯo⣩0^'^x]fkn{EK{*ʇupg6;ލ$4;gZ8, M[TPRJGeWxmE7 "/7j;{Yʋ"1tm|oirI ɑc׺>[TқEnn#bBSEV嶭mzsg)gR133w xAb;aGL6K&0+}&"?(Ҧa/ c,!-f3*Ix {asIC%hS7}H=ŤIY(jŧ Z4{SO5Z ekxvKǬ@2a> stream xmSn0+$z"aKU^CvF^p=!94gB˥0pދ s#P~k@hZ+vQڦ(A,Rf5Ħq8>K_X NH3$Ǟ{<0*5c~Pʯ5W42^!0^#rqxƘE3x z)cgl1BҰ?Xq!NAWA*d1)iȧΰО 9璆NVfkVaUJ?%͚5ػbTW=ј52f&p2pjV^cHMcVYxLS7E=1j g endstream endobj 6 0 obj << /Length 320 /Filter /FlateDecode >> stream xڍQj0+hCjW-Sh!ZCH֐Gk;}WVbz( h4;BR)ᴅ>#ڽA<<"䁓?rvK&d z t4i5kHs læ:M-IF;Ih}vlT:; Mv!:]Pͩk8GdΨE9^,Ya@cGGLO`? d8$:fZ(]P8'kEJ%]ryt7}oTQ̘ȩkh endstream endobj 13 0 obj << /Length 634 /Filter /FlateDecode >> stream x}Tn0+(jAOIZ5^d-6QY2$ߗáH 8z|384 cA"%Tsp0r➧)"ծzuXƃx(KuWwFRJr*P$d.Z~ EJ "9,*BDhl #x{M? a4})Hn?}`w|keE<\a7< p`rHdJכX-G2iMZH$V=ܱc"H͙jPdۏu3}F2Ybҟ̈څP,0J SIZHiRq~j]s!>AZj)͓sQV9-sUpVK5Ǿ'3HRw?"I ؄"CUL(ݙĤy6?PSp-:4v9~I#+Ly1 W A/֮lƿk`Lja5$Rs_#HsƽՇ|U` endstream endobj 57 0 obj << /Length 2293 /Filter /FlateDecode >> stream x]s۸+tWB(Ipuv2mә6sV\JN |6uRdsD0g&!”ujILiǫOj9xu{MP Q&H;A#Hx2ŘY#JǷۛM?3@(A EYV80ev 6z; j|J qơ&.8cJ6# |dY6/9/u[G*WB2^<u4 A BeU@LϨսZ|_eKgLׇ!!LV×@ۅQߏIU6:HH|  O` a m1MK:L@$s2UmݸU2jT"3gTRqhr؇8Aaä0(rm}xLfSviEjPc b̘OA; &!KJ:x 0VMܱuW-BX ծujQeHA!„c s an <^WM].:u/}yb (Y.:v-+% ^Vmr*oZW.g\,%PKcNb2 LVӓĸ@R'b:qE;vy[5ۿ/;^ٻB3PZ-uy%)hry UswY;JV!-aRh[هRԇ(- S%% 0-Ea,5W˄֑ԜqzH_Cjn2'DʶL%R}V׺\ÚzKJ@/D5)} 0YM@ro[d)VVz(2` ! 7Od^x>[*Xm;C2^CnJh%?UeKBW]Rok5)RZIe,%Q;zSHRr-BiH\Sy DjRL",.{is_#\.C.R  `"@]`RBH 2 dl[/:ެj; VGpT # l^xðu[Қ6f[GJPnVOj#΋_rc)}p&5mE r;ݑ$aK]vuLnIc|6ŗ]:O!>d R75LWt qe@G٦\ޖ xj76E B>5ff)X 4UI>(&!RocM'\1˂W~e X+ c+] #Jc/Oߙ6=rYípKWe ҇V_uԴL1e\,Pxu @o5u[􆚏63"T}vA?Y5>12Rвyzs ޷c!mwv %w[W˅-}O fR)@|v #{ң-m~ruytg] ;ػ_l&ԦD($#HRGrt?ΠUזyN(>˥xœ:{剫=)ƌj(3}x߿30]LR2SH/XB:L8>:ahKMRB#b:hch竷EcP$AȥDg endstream endobj 110 0 obj << /Length 1896 /Filter /FlateDecode >> stream xMw8^}˞ttAr G%[I6MHNi5}$J&,M`.\!ח}+rzcAs\& 1M&{o_]7WbGJ-R[$d^AEOIg4x9U1'kWedBȻ,_`=GITL{*mh36M9ȲExx8 g81 p.N"u'a͆Ax re+sS6j@yu\ -Ln/_$P|" Xh\) [Y}#"l7~:A!/N¯Q@(JS]P-F'p" ,=48lY`f_Q!GGf&yVÌEk([(ZVhɻGP!.98zF|І @v@P[r8Ox(xk< @M"@2)esmU\JMkntbhC^PE NA \=Sj^Ɠj\-@b' 17F:6<%^ll AWil΋if2y;b?SX>ubnC~ۉމBvwP[M\S @vÔGEbO``@a*|(Dj fzAHX:|4Md} ilj c_.Xcck6R9por\-䆐1ѧM g[}͆hi_3mF?gwYukٍmx_ږ1qMh{)(*YzB1*crk|5:/yxV<3 $)<ۭ-rO'7YVxY"VWufe ӗ =Xj5jt+j:Cd"ϽC"br{,L3lĶ6< ﹍H=tʸMwx,'J #}ԯ|V[?.RT*?c>_TN]dqсڶȝ]q;-A9N6mV7wy3wl~yS[V>; "Mv=Je4zu]|ǽBaYZ)SGLyTT} hF: [Ί]hXh;Ufnumg WCS7(.0GU٨7N]oitFA ;m endstream endobj 9 0 obj << /Type /ObjStm /N 100 /First 822 /Length 2099 /Filter /FlateDecode >> stream xڵZo$ ~߿BVIrp4Er=MڻzK~omLtg5(Z]pjp8"%9MHRFgrTG18 %z(Ul]D Z "c~R '%Qx GHcd]1Y2T-#E*1sǀ )m}M+T aJ)Nju҆B~(u >Q1S8cJa1+x_- "$4⓲S'WTrAS`WПJqQ%0JA9Ŋ%!nTJкFH*T [0xU&W,, ga]N$'3LM!b!'A\kY+1`z (z`̢*PiY%J05aJ.qE43`5K>MfRwRڥJsQ W@mD *f+c4x͕ajX?0dΰ,7y2Lv&3^Z?z׹fm.a;_wۇewwx} HX\0}U|4[/7xl~^w{=s/{qdaN@)i~)pכ8[jrPƬG&(Vkbְ5F4h(PDCaCaCaCaCaCaCaCaCaCaCCCCCCCCCCCQCQCya4ÏwכongV /b" "GBVDWp*ƽܭ~غ['s[(( J=bȢt8JWfiO'xBtD:/Ⱦz:iIN8Pu yYHpOw h.8__ !z%|<_Jv2pSN9!@ћ;MOPL*"{ g&6`+#8i|0E#V-|1i؅Sq&NFظ8gɮ.#{Rq.:R_E%㣊3?M\-_"Yn&jol׌fIU>UucI*@VcQXu,C^/g5iW J5j(PTCơ塕[an|rgp :_qT/C:_x71l,U)ho0)#C NI,3qXNw5iNmND7MęRDEx,3xB)3P+X<ђL)-)DaTfʤLyeZ"XEQm4Mu;`0QPV(,_AN5DCU4jP 6OiwޡzϪ<78k,OL"E@p'uǙ\-/k~ yjMBo;#w0]1p]y"?o0ilO*'qq:qw~jnR9 :܆ypُ}?xq!G-[["OhC\qDy_6Z:~u+sw۫v h~slszynn[\h/0=;s]vݽh׻iXn]5\3'a|כڨw7w6eѬ⦍l#ϛ@svsA?x|F>lכG1Gv?v}M>BzSQ/V? endstream endobj 184 0 obj << /Type /ObjStm /N 100 /First 857 /Length 1183 /Filter /FlateDecode >> stream xڕVn8}Wq*+mnVI{+)MQ)D@n 6Ĥ}@6s3sc |A!:2"*j FH%1Z!PHk0P2)O E}̽@ĺQ yԂBG_hc1xP)] 2’ k_:0_/)+##|^'+|X(~hGJ{"WiQ _"D, XSF7H?ABRz4#eQ(4 [䔕EA9壆 +_až}x&|.-ӑ@_K Gj%wCjI@/i,€b@/ŚYeWZe:t>$'}T 1A: vh *%Crk0rOЈ3 CCu؇ Vc-b1GMZ}="ΟNgIFYa|ٰlmُaCDPÏeV`Tܡ 46V,"*@N,|KqzBrgUd}1Jٶܥ2K6C8= [ZnmڷcvKvl3{ثOɱOc?7O^4~\ǯq~S8D{.F?q]Feލ/'xFE򔬢qlP?5rIi?gw{R=_:Y>yW-O;j}kVo endstream endobj 398 0 obj << /Length 2638 /Filter /FlateDecode >> stream xڍr8=_Gɩg8ޱlol234I)R#HJR2@-w;IIvēlΡj3a;W8`_LJ08;Y'; -W?-].;B䉈؛aG¥fq`~`N3Ϻ.|jl U5,"W7y3;E}5l]kg^di 9FDYE1HKEV62^qVKWq;L;ْ.l L%?婳*79E]E_-k86`(v3J!!r#hLJ=eMkC}cqq\>luw2+6̷E{ l?y{ƶ=\[cZw|]nb q)TY Jo<zа2gm۷G?, j׋{46 Y)pj%@KA1t7b8tϊZV 9LkuQ< ^^zED"|> O~Ӻrؖ nyReR7B n" ,׊]!+VՍJ#&E5(љnxAf"$ $v0ћn:C6 D)(OiU3nDQp tXp^(ʉV࿄Pq9.a\/&&O#ҳI&'.8v(z6GlXI(!63s|Syc5&56)`BdJ5b`ɵ%W3BY\VM<۝ŶkyE4!Ss#2Tnˏ4|XCqqtswu}Cz9yyY,3 v~c1|]~~Y,/Ûo/o_x.[~c݇O_矞_߿~`G-2zu.lĻ{A+$tZL._%b^)YucJC%z>UNHk`)aWȺO.#~J?v0g<ܤ ` U T UIDB4n-s!-d_#p0aNّ7RBۍ )02Y_$1 <\#vøRIt0Ĝ 3Q:1QHaqOa&H8-iPlw%<6P马y `L(_>5Tk 1ı'CFI\P6rZj73dj|^c\p40s%&˰9狽D^58yޕplde%hpD#B PQLJYNsi]; 2`VtYzdݐT7]ɸ!- ,DseJ)~԰nXSXwq<.Ȣ}v%$d0I,1lJ֬X)ɴՒ#.{cYc&HJ|0`14k/zΦK#IZ,'m p~TW: łzKUl endstream endobj 400 0 obj << /Type /XObject /Subtype /Form /FormType 1 /PTEX.FileName (/home/jas/src/gsasl/doc/abstraction.pdf) /PTEX.PageNumber 1 /PTEX.InfoDict 401 0 R /BBox [0 0 1313 684] /Resources << /ProcSet [ /PDF ] /ExtGState << /R7 402 0 R >>>> /Length 28698 /Filter /FlateDecode >> stream x&%S-3@U32 2ŵpʊOLQ |$_U~_cߥUuqs_5~5nm;+0>QNY&}\Q<ih+~/UQ~>ZBDžwe ta G à+>N1ҙsnYߛOkwgytq[󺦴9Dž0zU)ĩϸNXek֏Э10}k'^ j&YiOwMS*Ü#33WX~F՞89—_zb, >/ǜޗCv˔6P93ٵzt\F{ķ8Ζ2VEA~*C};^(i~XqCmOh,>롘Cc5͔JPmC1j}fNpr;l8 xN0|nD6u;JAku&%kH 3jf.9ς^CgV纔y&le.`Ǧ9$-}v0Uu2Kn>W Ügn=d3}Gཛྷ52CgI%6S9 }1m)bg!u ߳϶#cz!N}Յ =A %$8u ^u=2CXGxU·0NIJӱeN kvc樥X;\TL)nLB)Hb"-w"PОl׶Vo%g^w"+#Ğ=ȾR=X]_s:@nŠ!/`Jţ$). aOYU(iSv)\SV9*ꉧr6 C|Nu|bT?0u %lO ЀQi jh oSYIo3!Χ[;]b7a L$֨|̍@;˂`< ѰQVf;UcIbejGd>[Q`Ϲ6E:ag~b F^B!n0NHgZq( sH7xT9jM*h 3ڇn!FO;Y]0z J.G%i-Npg^9(#H L9'ަ6:djuml$^YS[Y)CJ\rRI1qSTg`prdGC2 6$CG[&gacLSN83o1nT Irj;~D`%h&7Wp>e*&N(Ê!rQI'3.h(ortFib& ΈCIئj7'Y104h4ыx釩qF@N%0b` HQw|VG2+X=Ч]h={\T&|̓5dW5D0֣f1j cvBmjg1jv֕Y}Y-NgV|gę՞E!8X{ufV{4KjDu}9Wst(Քx6''bs梟 s~ -80G1sb2SF؝|s?h.hňK0u:sZṮaL4oYp`9H-n,2tJ`u%&.y: @-`KP|N#Uاc`_0+xab#]l _i8{T-0(ShK쪱~Ł3t,1bKbpj`lTq:ĩ9a?KZC8Yـql0IR6o 2 8)چϬc ޘc*io`a?jd=0TW(LI|}l`FW׏|uKN}t9=&01dƤS4a34 0Gգzcˣph1ޒzcyaSϹb ޘoq1 >&YثHBo`P:_]썕ؽAImWr!J9ǀ@5{Pu6ڒ{vx_7upÉU98qp wA K]@2zxfsV_ SLW{=6o8" ]Ƒga/O+a%`G}vf T6* vp2Fݎ!-~b}P&M٫o<9^bLoeN"ժqtsJ V,8 S<* }hBBGadsP2kqZ)MT~ eH=nv,ܱgy/J3(",`1)4]ޑWKTV: /+qаS|Iѯ#bXNBӠҖqc)Nxvs<8K6Ր!)&OBd'`奶{ZkϷ :+J2J dL7 Mٸ13J؊Cp'xMu9F^`oظ+z,ԮQF%|Ih0|'O@5={N|g+ω,Y [/fT?_K3bpLY <PQd{ 8xtsT$v"Ŵ_ h9-MA@HwsH b;G[[Jdذjq UOur 95f.NW]2挬\Vo}U!0uӮS ڠ[dO4tB.‹HhE TQRNXEQS0p`LaP${NZĢBSYZ#Z%Khu=K΄o`A?9;L:-82./si@X^Z~#z ^V$UhX|́ܢDs=ؕz{(+mچvwhS=M9B^-{G{"a:˽.|^*T9r1*srTET ]KBC{ qk7%.`QgWȽv\Mr&{4`+fra{Q׷f{G; XK_M8 >>]9F_? )ebcE%J[v7kY~Zcm x-&*fۛDJUR7jKozG+0KD-ČX;1# ɵޘ4#{^z>*%"xo*8ĝ- Zw?r ױ8/5P^ ľn9l%h=7lU%X >@. 2:nĂ='ULs>c][)j)Czcí@=@Tu\k*0:7ւ͝}#d3N!6o=,PNMŬ!Z6ll;&L,la f48 ^B͌A H5eCd!Ff5D)arjlvf<#q3D6\b" CdCi2,VG[]Ē)-!I0!:z yd y)Ab48̐^B͐<5Cp~lfQ 'Q3%C̐} 3a ٖ"-0CF 1CӬfHb&+dCp6+!F]ވ(iD԰D6,iSD-ښn:,^7CYM1E*H]퍬0wqA2A6H-;20g[м%I 3H4d [Bv6ĒLr Z C"cDPEEEBɶ{UÝ~'xခizf5ϿY%wKE+0VOɳBUaflωWT1}8'ט}Kʝ0Ӳ!aᚐ'9}NoɆb-'}51!?b;'ɖifѢ'6>%lJB/Z3k>y0 0QF 7X]d<zq6J3jLJmQBl.bT;( !X4XtѰQ&l>jUPeZ'QF 1U\ZYTKfCNb7+%BCde%+Y)kHjl{[ԘZ)|(  Y"ab]6ʴF%Fp6KQdZ@(5QzjLPe;4د)דQi*?+(h)/PyiJAܦT%?u5Q&( Ӏ\vGl<[4Q[!^M a҂#SNf!($tJB5QTeڳjjssIKBØ$TKBQ&I6$ FP X. vIj4IVʐjRPMI%*]2IBQIK'~X( haQIKjLP-! bP & tQjtbb%tI;1?,V7,JN1^)̕ \infZ7jDF/ $>\⾩YLz0 4du]2&fđq} bЙXG4X#e`ΒrBgIx|i$qb%a3r[1( _]ʫ5}at:1hIz>PLN%6mTA pXݗb&mA7-hR`cBi[a+XM Mis+mm]b3X%soF9_Bi#+m0wpFTi)Pv>!(n DUX9S|%TӋm:[tPg[8‘ζpՓu[t6$> vKŴlt6 t1iݼLL"̙KtQ8ƻʶ.F)v/y,q6 5tؾ~gہ-D .*Y ހ0M=C#q Dv%Μ_9:cTgvm(mhlzہo䢷8Mo>b Ou,^$v@:oLklW +"5uޘGÈaAZ*yodL})' rI Mb2wը>3[,U'8★JZtnoтr7T_D>C8f}Uj:ނ9Xְ a'[TKptՔ݀saB9F8a[?t[ROT-h'9IS>;0?sФ MʭD9&VXPT2 95'lk(ݦ8"FD,p̌hrH5.ST-\dK,JD $Z`DJDL.I*Foш@143@Yv$q9`: f:Ó:b-[.G;y )JeB:Q'0raȮYMI 2Zt.tPAgjTVo Oq]zҟR[991zaZpk% =l9sSkmȓkOI *? ɂɅu"r:ƞJć2EyOO":4gcƄi`3$$]``a%9x%@h6{c^$3{ݙ\f۸!Z4):Z1)IgPLz0qlfۈؿR)"E 4m;f4C]̀#]Dp}U!,auS;]f vM~duG;ӝ]tLS;LY!F;/w _%lj`lT]qLtɗ$aP8e0S}lJr(AMn%*DԦ{n3 0%I_&%z1 vE$U-o|SEE9NaPF@"V}B1)T!%|-herv Tsޭ] 1řd$gQ&9%`p Kxy>_$!c"@kf?c%W*yjs@ƜɟQ)b` ׍DXH!bFr#wKÈ# ֆ[e9Rf%t1UˌyZ16gpiw'+G7 IwVcaqiSk QmIͩ*aNǐSo2#ъMbЭ#>[r37tX)Cm^Ed:475YX 6}IHI+Duu o:FgZX^yƟ#͗uKΆK \ Fk1^+.9Jsj0ђzcRv99ڶ+Q1ޒzc*َkS4-aZc NV"/Yр[4x |="oКP& OAB# _+2sV.)b![ mֻ6 Š鑅7 B#Khda#DVؒiY" +bV ֶŠ(Q|*" .JXa}%+VXB^ 9*KעJ"0i- ^ a=*&HnϜ%+ 뭹4-:HB 'Y2x .N>.paBݜ\=Kh|ܥw^E9F)YpᥙX,8-d>Zx-\5Lh_Ei)B0WZlaF .=tC735,"%#5K5T[\]Ă XlG^rUhNrLmrYC 1H祡H*n# -TW[-x4VC#\90nbpBE.tB++zAIJ/ZiH fp\%$P| k^ )"#46EƖB/a_⡷B$teF]H<&;BŤB_ +X! +A -.\Fx\!vJB0 q[X"#j[YX!cV=0K4ж԰B] /06VI,ߚiX5Q *% 9}苷@f%O[nITaebh*\q!Q{Ta3FE!zpл%Q`TqBA1Bǃd1! cb m/ZLaV)gaQh1&-B`faq.40 @)TP ԠBTЂ CLT @ *4טRߪ*/˖ 1*-ERh"M:1*-иB/aKa߈9rv]SPa"P0B_Ag BDPQ٧ފZoJAפC5B+[ *l ^wUB(4x‚ mjPac *3x'5`;LɮQFT1lѯRȷv$QC !`.RTc 6֠(!1x|Ac/ ^sPRhdh!AR%4o@YH.kyeɗD /Eb. u֙L }# Y"18ڵjzzcR!:yXL7a% S]-Yiwo%|`ů2$wSM12r(p`RĜicVO;,o`)yF_q}R (%@M^X`QII>r><\gw!YBV,k!9f1$se0d: tC%5ktygp+ޫW?Vcb0|#R0H %u<7\D@ƽU9" KMO{Zb! 0J3p6DhUvA:eug%h"i7+&Q$_a!B1#M('Q)r?ctx#N-̵^̮̋hXڂ1LӉ҆W dȇ-gnt?Ub!R .H00c6p[7&/ ta 8u$-g.~p>ND$.hWıOG9xUp̃gxk!숃ZnqzdEvpЎStu:37ɮ?2f*T]%:89j92t9#"ıx=dLҬ8bU9q,Rtˉcݩ{R҉å'3j&Gv8T^$uŔvNi<t=$(~<cAͅFx=xZ/LbnQ[̻i*!14#1w[I\{n-+!Sagl61h[7&13g2Kq+_er#y%ӭ Wba XE4ebI}4bI%YE7T5*q| K88xt67ϳl6фMt_D7ށӌU7ʨCuٔ%{/pVUt_M +n3:){Z#|Gi3!Av9#7+ٛS7-[# ubGXLq]P| @o$0:l_{0rƸ]1j[7&Tsr6^"ն$N yF hPqض@^8*FUr6-䡒f iM566 5L*|:5A;?/ufG$12;ڀO~"u/|ekGG:*G[A7?**nԑꔾXTձ$#*KhQ=}&Xb#*=9#* 4إy$(iT$ y?݃NQI^BÒ0O+1yt*),iSj% D"*uѨ$י_Òrp K [w$|gﵕKEHOaI8WIqIIIDKCWKR8%y KCh|B0K4. /]3p#<$#F\R{Bu$Dĩf(-_%yiXp K4DswxKG>a K>>GÒ* "aI6’LM$0%a4%$Ш3yUrhTRwNwv@&#iv,Ie4&I'c|=&KhL鷘!IY=&iKږcbpϒkLJrnQIV–oty/5-0 g# Kx QrTiXY&’fKUM1iTE%iZTJ@4ƥ/ YH0WE+B  w%U+%$k%vѠ4()JHPґC$. 9ǟ=f˅K2L%kLϾ$ј(!!O( ;bB*_)RN`!I/dD.c0Ҵ/0*<=I";,K dI,$)6$y J"& |D_5И$d XPR|¢%^LM$4كboB,Ҩ$Jx[O"Ow%)AI^@Ɛ '"(,-? J"ţ(5:1 KbI#ss?JͨQIijTs?J2AI!4(䟆$#s? I2f!I!,$KhH? I g!I&,$䟆$%g1*,$(bboXP3?ǨӨ$F%%QI.5.#P}jPRb%t ɟpsDR5Ӝ&E$7k~f}$)&$U4zcT-*oJ覄j[cN]M%,lS:1)qCiƦE%m۔{(MPڔͩ)Mݔ^Ҧ*)qsNrUuS"goJLCKW=mJ8cS4ĦtnJ-]A G7%ΎWlS_>۔tn}sᛒWO_^6%Ӧt7cdS=6%X;mJ[BnJ|S~#daav;0_G=L%"~,\r?cp.Gz#\S9tLA1CAi0+Ws [?MAꩄF[)>6X7fyA SH!hΚbdų; ]kJ"XB ƒ+zp8җnu*օ,breօߨX`3E;b:uڗXqʇ`JD>跣EĐ1`l *YZ%)A0)`8VadRL.k貖E^ w[zݽb=%GH_1Dj!RSnJ{Mz)j9+0Tyo)U%W5[=+S /M-pVЍ^*.<κv=o-N^K¼J <U:U28J^B}Feˊ:|]N^kͫTD[h t[[W*np 8oq IDv+jAGor RA0q_0P+UթTnN#CQ̫Tp {NhQR<-y ^3]ܭTސ RRO[# 85kӨt澋[ W^ɭdXӛI^`*# կt:B PGjWN>JN~ٻySœJͩ%3R%3Z3yShT*x5īT[bխTv-yNMs4IcpvϒMyb̳%ijt!ų77%^",dϹh:fޒ]=KM̳XJˣ(!F{ hU 2ҁy*7Y>,%#Ns-W-}P.|KHyN[|k)@u-E q-2-[Vgŷ-o)}C}KQB|KVRܗ^Fy[T9tަ;ȱR6KC:ŻD&[]Gfq];:-;+]*P{(ދw, /tLKKw"C,dAM oҮUߒPAC :FŠ\ s)A.%1&np1谋AǨT 9u0%1(!&`JbPL.bPLI \4Au09)mu0E ]C.bPK.տTAtaL٨:US%4VKzǰiH%Äw&/|I?`Vxx=y 0UG7jlIgƉd!1fc oh< y@ :c.E%7; VGe4+LoMYk%Ce9fޘe _k'׿Kӏf#2gä0 Y}FTu/q~- |DVVK,^dVp%.>QݞacngߡSM"c`îF/M֋~4D53}`#h!0}|PXT<>N4Θ_8ܡi{THP>(UQ<v} Ǩ>$g)Iv_CbMTTX RTDy2}` &^>t.yer`4},rf%t U%W'2) m9^{5ѯlo'.Llv*ˇ΂J#?A82J跬!moxٺ{a^#*0(  yI;.F &V %PN '"l"d3WNZA@W/nq$Š0 >c.&2߀sKw,i9^0(t @kֺ+?)o>U$m2p%Tj۴YыIł=[:gKZxu\7 c !JD0Zzr+aF۰Q덱Z,Jmk(ok1Ѷ9yms EXKQS9UJK΢Nԁ%΢p꘳py u0&B#Cw8/1E|g%Yvg,,NS6_bɑH9QQm6Ivo69z'oKxK"_%aVf#ư_"d}&wH Yg5$# u(EQBE{Pg4_{6u5w1whcd "ꫫxۘKEW+³6."Q9Y!N#ȓpQ=LN#XVx`B(%gH^$R4uN(!N#v43_H1FdoAF44| IӒ$tFǷx0GeN#>)N#ѕ$Ct`wEq A &ϕFp0Ŕ4mrq}q% r]-Bv%yh7m~qo%1y~#7JPFI塺L&kNFI(J:B\(C$ cP}FN3JC}FQB! cPF.i:@T Du @48aL ٨:UQtVmpop]bI#ń0EoL ]򌫣0:Q⃣^Z5{*~+FdXYHWJ2tF޼`Se$Ch'W*a~*o.A?8g>Nl4sK4?·s:&f_gɳiC[d4W™ }`0c7pg1,X O z8gKةat>8L=l^+N1>0ttΡip;EA>>G%C"#c $ʢː A;ra@<Ww2TxL:1OAϔxH}v/ZcOxc𪘯4t3m5Jz V (0n>)U0Хq1 i0EX衮_$RE$>.l8JJ(x bw;H|ʴNՙvMMf|}r[ aLc>'-TT#g[6%h0A8XaVZp"hUē>EznJTzmg\3Jl d8)E@вGqt B< F^H q,*0]+TQ@Gנ߀)杜9ptt*(X'\\3΄铊Xc^.[۠>_WG[\r;w)~169ڂO~#D5FO˖+g^n38}U0>=fU&X13]_09cM=ݩVs@fm)1W`$ž.>#jƐ !_ =u#k-u-hS;klsPu VRAit{~1hzh36D5gNOS5Tx`m_|^IqtWϯ7b%%Z z:pa޼ ]JAW}QP%)o]$<.S#vr}k1H$ir }Ll0HXo(bqR<&F],'Lh}@@Z(orxC2G$R>8vozC̬B\>uAǰ A+Z2q(p?fzE>#p[DC|FW 4fϫ煮k0>9~}8Z^ keaw#/"yokH-i;T݋ϑ9,rɖ.Ft<kjMi@8[c6, L(`[+`As)aΐwA*Lc)9 .(LDQ q[k +"9P SY=0rQH3 9K!fa1LW@ꆥ b$`8::uLN*PbZlIj7%LFŘ2$5C|Iљb"!VdV p T!ys L~`pltp.+^2g+SD;+a`#TIG8y#vJ0Ȏ'ЭJiJe)|;)N0܂+1mgod w^=!hzv& 5(Ug-ynY I2]V FSlJ$ "X'Ll  `Bh=(\1¼㵠cA*煇R?5EG7 ء}'-Śg]H1170*}%EA+ߤ5w{]zo}霗dO×c+h>v@A0 ū2:w$+@@48M9y1Y20&dR}mIAk+F=9]60>*oa]>wzw#!Tf}' !ɖ6o}!x7B+o\x2x" U&ZrTycD~8FkN!~:F\s# T|3 ކzDܮa{?F>R>K ?Tĉ'-|<Zkh߱6gjk kZ۾|O y?X<~A<@_ 1Z@ Љ@1sֿ@' (hHϾzſ D{xìYqIZF(Q~(lW$e<0aVykM۹OZiLjlY'>ÿ|Z+?bRor{z u^\'I}^4q1;* ؖKHҐ( ճȩg`ڂIϫt;&FF:m"`Ã6|W옎ztve/|yDZ$ %laFV0GLʼ*nh"@T|^nu2]~%]gŤ[qe-1y+xۙ:DFN;48+a-:4A҆¢tv NNww6R>$Vn"rD~cPѮuQ1_ ;ֆY+iƐJ|^,ֿן_k4?Wzx:|1Pr))]Jy`.8a2؋wa~֢<1p ׿^L!Ar0{a\?-яn}>kôUܪx|2n0yַ 6Ż=z$KjepFˎV׏JщOTqIs<뉜xmf @5XCBh.` *!=&7݇?1́bR/ .մ70̨$#^ M30T!hjA<Պ^h 848?$Dx~9L$L"9ND%wõHo>7Ke{S|8pF}==aN¤i_EuyO԰&^{"O4Ȋ˙LK/ &1{ܓ?aҷO2BѾu9R=3UEw(߂8Tne(ր1Y -s,(Y YT`*Sq21}g g*_Ok=Y!g(3#3B$ۥhCZP8Obڂ9QVoOya@ 5*a3I }sgVX,2Xڔ<)%npC ^`˙~29à tO &њ%Q#D {'XIxβl.{9E^ygD՛0A8?]UWQBoHHQ쮯ӆ ߪ4ixVSW7MQ}z?ҲV੯QfHdn 2w<ҞH7D 6y aS`uLt5t~kqX@:Vq HL#.at'ڠRn.XΆ}#F,/H i;sk0O ,j>}՜駿b n\0tFU/K fن95sǭ>v.!tp$xh{GKnr"}ǭr;Vip djZ7oDcl#Xf Tn }B|^a$qx (ڵ*+0֎оb-(-6 ?ӟR)ӟ?X?Dgqj?^Bo 36GתwFfpuųQ/tN({@ߌk 1'_dGq1 pLQ㹶 O[S HgdBxZ4>W~v}]jycĹ1ШiW8UrAF~H]խ͠TiD6۲ YxpY2BLҋ#B /##Am#$ YyOO&mȶ4JC0pw兼vțuMZ@Z0T_ 0 \nݍ df8 Wn'B1;b<$S"{!F)Oʱ.0ۏVI[vE&vO4VЍ~!|4,y%骘ɇJpNf=hd哤Ƚ6MA{+%"r٪>*P~l1Z:*\m(Tq2%XMK 4mi#,p-ziB]dX 2.1~1ñQ+m|vW a$'ԙ{h/䣌.-MMK_q;9'0FrORB&h!l2 ?#_Į*roIi:Rj|'Ny'0`2BxpmJ *i_WZoբ4E]\J\2ꄽFV{f (4d* Te~ħo+" ,& *{ ɗ鰫1fӾ:u?NC$~uh#B48NǨi-(۴O8[}vKf&|tQ CUmd\Yl(c\E=N$h/Q{'fO%6lso1jH([3po(LC df^44T\EXbH12cK/m@GȌEnq1I=rb~ڌFi¥i+`7 f4cwjzu-b:S(ΤPCb\eL#,.08*~̀T4[ 0qv/x $+k-<5ZxcWs&kןXύ7|CvJmGh_V&kkKxmO|^qxZy#_eJ[r;+00_ f6ۿG"xUa JrPkvn %JPg8WDS|Fny*k]-(.sa{ACa8 xyC~\!X Aj#z?3Hn )KU 0O}ԊE߱2PwBͶ"͎V+(p bpZ*vNRywqrKײVq`I_ t}7<;9cfIϹppST3\] O?f95fJ5 3-Cŀql=1;ZTpYr hCzʭuHkdk=W ="!!rSnAzVI:bQNT$/=tȄ4e[&iE'S oE"‡Xʻ7Z_xr'W`DB*ˎz9eញ E[1B1d%[dxϥ!E * ~ڼ#t7Oөՙjm}!W SwYo 閇 sf,ƒD##6#7>C#|=)xtE>~X׍S9!1%F'O XeZ2gI_m' D3,ݺDl ~̎dDP>$FHӀS5uypu:8D!,pt7>HTTQc qE^[7%1s,x6oD.Z\':͵#D%EDcfƤ. c:u4[|λ bl-P<Վ]L5dl%j,hXZKp/|d3Es)LahǼA^†@8~_|,!\B`~фՙIrPM]>F<%`]b^z! p_ -%&k|TlQV\45G(/t 44~/g}$bYT C]1x Pp@蕄_7\a[9HRj bs;0 [&2B%Źe++dE D:(b5f!xW\u=;\fq |,'>2t[c#5Lk<4ʗ恆&h z:50|^QDl!< "/םJ Jkb肶MKT(AjO_wRkO%=0Eh9ht&9o3eb6¤ )v?aٕTBBe0c\! #'%& {s)3{dqsaѶ13zf68Vd އU7 ;؛ham/ZĤr?5iF%!)R:3\[20y_sǂŒ&メpø|BEXۓZKMG{mI4 M#!Ӡt!a\YC10ك)0&ʠ,o^K٩*iO@˄Z< X kVT %&Q0Dr P}zٸn2AᠶZ&gƦB o/ nb*ƸZJ\Ȃ #T1&F͘9/ [< 押k2j>"[,w#6~ibm\hm1 ͣy/R/>Y{Wz;גs{oyD1 t# qt ȧ9SzF27X\ }3){.2GDr#[p= GtD)Z.k=uxxMkz307.>ݞ=ԊJty|V:R u k[4D [u|cK~(!aM?{O,σdK#bFGo~QiK`6(V{G`悉dQLC2.$N*0`$ e8T86$2#/l=2 dTy (HUM94|F+j1^ mߒP5 l[1%qm&U3H1mI4Pǽh~ 7):Dܳ(; ,mH V&2$zb r.Xur"8,2$%q&s- kx'1ui2tQ$ =D'F9R <.Q 0N[N~4Α5;jpS}]g(+ĝ. 1*|,lGмXD=cw&]ok -QP"TlҮĽ،)JHK;JLIj`av1igvL?ɅC|h!'HIڝo&|.Dh.0":_ N;ZRWwxSLQ"ZI};&О!x:be2qIy]9FŝvwH6J;8Z!`=V(3.6qwhJxn:wa)DPn0(/oϩ&BUW]NO};뱏C5w:iwoLMUu "\/ |L9*7 S1 ep/`h !4Xz:ɾU m9Clǰjp^(  $G,4p5V󵾲ݹ! 3enF.sTԖG&; KlkFTѼ㟖o#aJ-`>)T 8l+/\^ ش _M'Hpx h4ήaI RnD9yNfb/A^X0Pc^Pc`y%5hH`x0}>↠ײƑkV#g>AKu41hcC1 LCjvVD,[g9 X+EK8J (.rLO< xlA6^&s)GS Q4qԐxR.˒Oȓ}Z7vcPa>ML.aDOJ*Vls/XZX.6RƂ;8*HХD-Q!(F[FzZxN%:^@MV$3a(avx\Vb<|@r6=XVƤ}Ϟ yGG.4VI21R2'OQ?1Az:2 7/5/=+ 8bQt-~i Tw"hMB;q1+0O}Hq qz]M>k0NwӢ2R&0 k:%Z̅'.*8,I:0?&īcT̞H.WƎ. cuXUoRb4! @C 5$)!HRS`0;Q}%m)'LvUa;9H.2vo\L!'px9AV:Rq%"hDȗ ME'GD:<BF@շnFjH ~NJ6f>զ \Ne=ޘꙥ s `9vp-l7]`~8E - |=I0/@,s\0 N"Yv̰1dPϬ6ǻ1KtǍسX w:BgX3,2ܣcX 00]m]:KÅts tDCɄ)k%M.rnf25VbQ>)G-n4SPh(Qcbq.bFz5ÛfavE Q3|2wKn m7fLs~ cwCw M ƕ e3ٝ'KyCOɒX~f#RE;T0W3|(|';)E?UNҽh+Xl.,;FX>B`4jm haȲ'&0dg>~]2@pdê4jL7ӝ-|fa}LdͽWrQB^sx:2 "FЄW^ل)J=t; 2 xj熩c\> stream xڍvD F%nf 'bphKm&3|=Kpꮮ}G|(F0t(ՕGv;/x@`~z>Gf^VSRbnnǓ0 $bg^f<ij\Ǿ?V?\ݬA?C̯{F$\?`8r])Ǿc֭j0w/kx,9{, O9z4U3M@?T yMw`| sxxUfM&5<$L}7J4v[iseIfHę>SzUIΊn#e@5u^BɱcȦiM*<&' ޳v@(ܡsbYlj'opPb}k>c9d޶Cnۆx'Z{, ѼUYzpR I:ECCdㆴ=?֟ͺ$MQoU[v9c/(nZAL`JP آ@7alx!ѬPE\+򚧁8ـp0 M/N%a]M@ЍT8-xCzeþK$y`όdNWi$Nm_[>'Hst,xߗ`l+rgEW% T'ΟDAkш6Jql ;U"'CpB@[&B]y3×~b;A) ebz YWҒ"ET\q2t~9ջ43%Yɥ!)<]L]R",tgcRe(GbqQ$-4>P8@;q@M_;HuL7T%,T^"zNC5mXnśO"/Hŀ6KSٷ8aD΢قVJ|O+'![;lnT3}ޜQGG2M`Os e`#05 w%6*.ziNFI #7%|7Ē8K#"%̒Az:AË2AG8]qq;RX²ߗlDDS[-s)d2]OEKE96NKfy&\]FǂjeADqOL3Sגw0(hh?XbZ$m P)h4ChR?5{q[)k ua45䎒'~]Њ45i / ~ئLۢ)B=4F`OsX?ZbvdLs`l,Vl"CC{a>% endstream endobj 415 0 obj << /Length 2577 /Filter /FlateDecode >> stream xڭ]8=u/o%7In*۪=`\083?$ 6ٙ+WjuSbO,pqբܿ |zJX</Wod! sX?Iſ7+8K_Ļku[˾Z'Bx뿿z85d b?fiUT)rH ]"D¨8mmߖI.62 *ѨʂZ;/;6}}h,RSoӅ~pϤ> W.jjQ /Rf ĭ[ ]4j"QY~!6[`;+@pV]w=$k.'{FB#0'v˼GjSoPnfb>I*Ը֨r )}ehEk;&nC,E=āꗀjvݱ+ Жdy` 3 |p1̓,Y+QehϺ:$u2dwj2;սQ#I'S5ߢ.%f[J U3T}#I[˄YW֪z掐ٓVE$IL@AL m퇘V']j0?JsOQUE N-5vzQ]be"|/ wsiH^ڎmٵH} [k8 6t#=^`%|a9si AJ{<.x\к1n c-u^O2hh[ԥ"AU֕=sj뇑fn (%EYp՚#/$d)9qϐ#ì%F4N1N3:T}"_e`0%X}"X84iZ<]Sף2޾]E @,2Љ K3# b ժ O:"N;w<~xϣsIU(Q;Jߖr)VK;E ᲭT[ cd$WhiS2nw\:Q)KqiU-F<]#=Qh?2ʳ7P8bs(dkgExzq_+5ZpW%j Am 2pZSwpɴc6,r炛2@cNeم*E q& gl6bg6`F_ 0M؟ȁz|e q - XˤrRM (d1e$pf=tg &}Ea"]Q4b@C&1n0PIG\f޽]BMd +qD lD;'\7HibA1x9*sC_'ǏL6 " \gLdH\WŹ6! 氯X%K]jkU Uk8 tQaEtіrl֙ǶAw=egiVx)'.9@y6[f]knRRĖ5}PRVwD_-`-(`!wW-xmNS 0H8uPa8 Gк*w}-CKt[]vuhzPiE76G,3B*CHZHmQ88DHB<˟x%ѱg0Fağ= \w\_wO7=UFW| C*HIV3\+Vi8pŎ8_!?)fX7Z:'7R7,c,0~ܶ{ڞ<w$@1]K!`k \lI&_ƛCm$xI endstream endobj 421 0 obj << /Length 1342 /Filter /FlateDecode >> stream xXMo8W(Ƚid)A݃j+d;I}"H-IX,ČL {3F`d(G -#7zv~^%Mn&_<7I196jt)qtf+;3^U2v$<;s$HiA 8TirP>_#-qn#pBwSI5,(,~cG r"gpA]hpߍb:ӵ>!7Xƈj["˗S}/Ƹ&+C-TS t&pjE>{*{Xt} oW[rKH(.H} !TS/4/!@T=MpzW@ d2HB C_đyDk*̧TJ+KEP/x> stream xڽXKo6ϯ"E|ʌ'`]^!A݊hHx&~X%Úi"Y,z*?ʂU"hn߭|>0'l~ Ddr=P~~a۵u}l*l߭}caE:ҋֿ?HWW:^ũ2ԤLڏwYU+%+_BJpw3xJd^ޖD|?D?-@9F|L3v"}jo}J2"QfQRi:,F] Ytڗa-6췶\:?o~t._"f5ٮꜶuu[ uO~J06qd"'M"`m tC/AA؇DJ( q w# (ԻҐ?r7Okygm770TsmR>bʞ<7,t'z7yK7y\ nT֔B u0*V5(Vcm@Jy{SR1o0U—Fyg{37=k@ qiz^ rA^ -q 9wRIJ<8DN}T.:f)ÕS ە}bTr")!v(~wҁP+_(rf Q~f۞>n09Npj(av -fS^H!fFsm°GItpP 8}u|z. ~ZG5owiłuê<]04)40/k|B$azTVXYw46Tj›hTB;1¾OB)2)2e)t5 %(EהK׳vNӿfM^[YCS$D *05Ts\:Cb 0r\BB~Ω'B>E(jgP[ %hno>6PCAK*#5{3|6iҔ]I~ .^0?&jpKY :15-O'`i*x Ue fydXJАrMjyҰCW { ؜5SטyPih|T5__N>۟XX䂩1VS[ ^k]?͵|(0`x ծeLsoYoqojl{qJ.pJжf n.4*oS/ }eR})Op|D*~i>ڱ4ݙ;9oRzəevӾ%gSvZQ^ul$c@ͿcRzj^tV :4fr2z 9O83#I.J$̚u`Nc)$ ~᠗-ʴya ž1?C-HI~Lj>\$/kVFN뻑/f{vnR0 D*W=q_R('H.7aRۛڛ:h./'u 8ؼryLzԓkb&l0+Aܙm5:j{6f3ğ cQO2\;{t.J1AM~q endstream endobj 435 0 obj << /Length 1863 /Filter /FlateDecode >> stream xڍXY8~ϯՖ̑,23@ vUJt~:]@HJ$?Rj$a\U:{ܽ˲&}tz&Iafn:+Ao~fqJ~{#LrV2άlo8J¢r3m>t;kQfV8Nؒdy_yXgY QUF%E yxFx[hsDArqrqyy3S+ӺLdڐgM2D̿<{?锄WEee #Uߡ%5QMQ5eQ+izQY$xNv/ҎA ][I#.FZ&Tu+(( MON=MёGiexh^ N)3>>ݿaɯ҄3w&^(g B~w 8ZmG;;eoɁV r~!ڡhDC##c\"MaGݣǮEm"ӳӔYXM{Ugh8T.~_tq^'wN>Rg+h{Y@9HHH#-qM'"zqf3w^2:Ƭ_"P=*fW_3NTՋzf3[""b™{iE?/w#;wϬYuQUlaG.Q1^5&|M\pi5$)Hgy+ PR:C?6JB4t?:O)SP1PBS i;Qv*(O;clAlsy7Q' OKGV_I|>%&3OX.L"uO7Կd S8jGX=Ǜ=6U ii}4ǹr=::.'{j\xIs< X#IoY+*M{KEuvV೷ƈA]Uioes_Jݛ=ܐe UyFM]gS5Q? _% LT=5LJi ͽ)9 Ã-L \0=d|LSD8P Qu (r]K(,nxzцëѼ~pU4h%bK 5! Iz6>}K}]+Ӈ%ߝ=p0%FNh럾!D|e=SzGrMS0d> t# endstream endobj 445 0 obj << /Length 3091 /Filter /FlateDecode >> stream xڍ]F=w=Z4kFံi\\vQ},)#,ldř(I˕*V4HV 6?y!Dw݋aHTvcRwWCvjusW7nF%N7.}_TolζMm]K˟ e%^2dܶ]^sVJ6ʚG%hԙa̝6#Ni0=pFNV٦_dzItX|{lwN?19Q{C۞^F+Q7Ɏ崯4seD}ϋavGK^:#z1x7l6s_4%;Zl0*5Azӡqhiuhaө,F4K 9$Q0uGF`pzsy+@x 1ɻvG F2'z1Y_eJZ5X'2c_3:19Q(IvuG!XRdtSl'B(14 M)fi $1G"Ps^} fD)diΖ6ϯ)TedJplMKs)sb ('ޥ~.sl 0;C@I76QwYWfʏE0(A>:y тR$w5$#8v{+b候 #A4mЗB8ğga]"$covٟc@|ey3VaC@cNtebw?@*2C;=*T5 RA ڀ_/qQ l e_,UMr 5 K0t'Ï _T.*DD^0_XXRqK*TY;AC0ꁃoiHd Mk ;-v _V@p})J- N* ޼P ߦҌ`y!y_!UGqv((Ul$:h~M56;٘pM<7}DLT Ic#3#:M:ȍM:\'ܥz mtB?ᤃHI@}]zg2':N:)xuyK 5]1\o֗^m#қaND:(J`= ƶ_q@M+Z0*'R/ƬgYlPj d3_-r}arK4J8Mq8/`* A#_̡J.]6ti.h5m8$rSm{ W5Gq򟡵OPpM\6lZmGM+\?2 E,gI-14 Kts"u7~QPl}[;" f ]Y זf6WpAq>RG=@aJ:?U6@D%; {OD+Ұk~]k[ A8}s .6zFҙBEzdC eQ\ҧć/PjcuVh@cR_zt2l/^pOe2]Qe^?4p=Q&U endstream endobj 450 0 obj << /Length 2762 /Filter /FlateDecode >> stream xڵko{~`8Rtqriڻ5xCᒖRL7N°;kmOfcO$t]+IRxDƦdӀ62EZ~nZ֤D-!S_ 2?{^J[ ;q`UPlC t^]f Bft_\yX`.|yG(S–1UZ*T uJgL(۰k.;B:,w!Ų#Þ1.@ˑ/rTJ8uWhTtnf!ku$?¾E<%\TV3f)o%}!L'&P\4c@󣞓 dSo3%Q8'$hcbgvf/ӌ`zK':u(  c3|+}\+J$FLՏZmօ"j9v#HAfoūŻO̯N_xu>ʪXHbrfu)&D ׬`nI!n䓳NTڸ0_l'Y "1^│K0,TqFuU]ʜO)~KڡOkKSpwz р=cR"TQ êEg3;'P%2_2HFY-\3 ^,SA @}m e(c03 vRZA6M2֞O#ŀMgv+n; +T Uм(譐>HԞdJ{pMvUOU7+/Z'j0DA>?v%k"zRj}_>a ٍ:]G[NndlT>m6l!mb"P PRjMDv直󙊾Sۋ&k &\)Jf @^W:@pq̈*o].\8f6XC5uNsKlaR=BӴn"n1lTݫF3Qdq_pC=P=2ha e納\ "+zǨ #$!Ɗ^֤QHkepjMW q~ YT5?J6K$W"Ffja{4^ђwN ۅJZ`phou^ɓj??8i/\4<2&-&/Љtv%1Lnęύl $ִRKЇiFDGĹ]E21ő/:e贠P3 2jͲS)h}s,7lf}Lh U"406mxq4x?p6A_fLZt;j'ܷT*6P놣gX7}\(̰"N`zac9BN^kQ4_!( 4ބ<[(ye ")Bǻx`A{3Sv8Z!\X6{GC̣sK]XW*NY9'Gj!50Jݔ;%Ƃ>U O#=<@UUPRշڗҰLX+5&o?'ρ|D?{ 88.np^ࠨA/-0?s }`7jL@㠠qʱyP*ꉻ>NHfC0Pz%}Q&[Q%RK矵Ss)AKxCF}{g {h;<ȋJ b:{q=iXI_bM-n\U{HxE IK+IG, )) &Y/_d`sΊrM h-ҠSv"u]i~c:a $ׇVJd5 p'OV@Vx`v!ٜx+ hEdKRC\c`; 6 $P Z6o!S}Kս ӊ0 `|5 Y1Xq)>*>@vXЀv~ޕdyRbqxi2T8^*g%PAa׸/t]1j0[w(9U!cgؽKgϐG |? endstream endobj 456 0 obj << /Length 2698 /Filter /FlateDecode >> stream xڭYY~`1$y9/&awĖ -SWSbUu_~ݳH?Tꖇo{'UH`"yT=F0ArBF81qt(@+r>gyP0B?0Ei< Ʋf7؀l<7Uș^K+i]?N75Y=E1_W$Z@a `9zhFrⲺJ"w&"@iMh?ɠE~7qy/!\CWnA|3ʹF-#W#۶  ̰G?`b𳱗2x .mYzp>9es^ӑDyȯ(~<.ZƁp${' #/N~I\X2՗l"t$p wsL]3}I2$~m{&9ea)FkN`붙ho1i}I$s+ eK6dw%H)}ѳNL.CD&kLEeOݹӢDg>1ES>0^?OQz!~B+bۋ^i`7Ks"'yKFw/Bp<JE=z i)M-h08''-OnEWM);W}D5hi\)Bwe0ΡumC{"VTdyčllgO+ݍP`Jn_ V5cf)ԶnKF%eeX)?H}'5-FIBݜ&vݤcK.=i(_SԽ7:*{2,Vqo{{x## (JCֹ/OWVPs:#BffoYj}5{ůJ"PgjԺ@a΅XX*7z| $( ٙΡd}.~g aB>a7fP>/r5'v4%%%@R=hJDOxA, v|"! V[U '\.[~",/Y4WO uK՗ѸH޴`H&d{/kK L@^1p: ɰs=ukT=;( ?kÞsj;LoA2t`Ξl2 h^M9W|)Eu/G@:>Su? 9wl|/r55Fx~~Ѳ endstream endobj 464 0 obj << /Length 1963 /Filter /FlateDecode >> stream xXݓ4 6ĉqs0<0w7M6C'=vaߑ,9M=2}l˲$K?~b4\f(f"G6q~q裯x%?rٮb!|$Mz`G_ 0|#,\E,L*ɤ/"IDžMޏ>5|T_ j1W, 3?!Yg׮7axN#!gO~~zEs0^4ӷvLmk4ӵ[ঽjvnbنf; bjJݳSU\wࣙh|Yk4ꔹa* ࢝Fu4 wUa+#ȼd95/V%"Es# 2BDUTQochcqP=5D4M}6El#H͆JmsG*Ӎ{ulY2,4 eNu_ l-eFr>ha-wD>u=OvZtlsѴ;|,r_xE_4Y\VƁU$5NiO=Mr D X\Iو?~9Ѣ Nʦ8O/5@OF%Tkԁ1H$UyCC4>\i1Z4E.ZwW~ u,aP 5YMfm˶m\@#L8,[ i6ʲ#]6jhlRcE2چBi)m/' MW%a/Dѝ6ldP4§*\f$гv2׭V s^D`/ \sP[<_QӶ,d68:k '߬ޒwš4ߏC Y>9ޝ-lN|w{t; x @:Ĵ@vʔ[rz&\"~G+0PwfľPxBg-B.?nluU$k]prZo~saoԅrTOA8G , 1jaQ ( &Wmi]ٴ DȺ7!zufA$b~Z0` {\z:m%l<" )+e!bxx)!1"A uy#shZ_2OrLv̮"CKba󗶭|C/'xŒEQ/O~ؠ)>wX4_{)&@g0}YV`{ftaaT~pŒ#IL6γ 綪OF+܏id6-+掸65cPE)?Hodjۿ ؚIzd1ؑi N~*)a\w#6..G=,&bH8dA LH3/87jBMT5J-P"fNhOٙP4/hv^Ui&RSCq)'e4a|\tOÆd C+C񪙃^VK(lx캵ۖ Xqn*>IzK{k:C*#?a& endstream endobj 468 0 obj << /Length 1283 /Filter /FlateDecode >> stream xVmo6_f 1#J,ۀKSon- Nm!zE'x,RQQ?jkydV9+VחG`%``Q˶yl5+%y{~'xIn9MivżlຟiH~lV6zq>%[D/vO)TzP:[*."b)G53/Χd+=r?U"H>.pN(Ϧ?'k3XV ?:&doɒt#Z1{!gx^}P uN 4'v\*)h Z?ˍ0Vuuoq]UN U鈄uOv!bx@-] m\Dʰ96G:!Y!_rs4}m)`h` CK?-) -_lВG7NyA@+Ӻ@ }JeD)*h1n- #SWL*vV`h'w^Z6&ڢ]HBsҹb @hGLBAԊ hI~hskU,+4o92T!|;].^ ׹PVԪQzfJnHs*ɣtA2}偤d,w@Ѐ<453PBqon t=t1: wta7 *yt=U崮.bL<=dN ß"Fؼ_nz6y{UFI ۏ;ڲRUw7 y MV ?eQ]i`"RPU5<% bQ}&+7=APԶ<:!.r)jj2_.o.ޜyohEiS-k&nkf @ %>LΧPz⇏}֗3 /3G3ٟ: =:V*փ,ZqRoO"#em0F4$Z!3ԃHA|pߔ^GfnQ`S3(=䆋ODwѮCAx7GFf .UsJrD=JP(ukAݭn¾iԾk"3Hh>Kpc`6q@ !¯k?4`!Lyx5jK endstream endobj 474 0 obj << /Length 2670 /Filter /FlateDecode >> stream xڭYK6Wh}YNBO甸l)w3vXC Iy<}[s ݍ~~ѫ*W*(nۗ[d/7~|+C֚V阯vl{`m3S]mH$~U?x8WmߗǧˣPmP+!H:M;pA4dypk?5 7z̡@Ym4 ! cf⼭H8Z;YϷQ%4ʞNEߓt[a׊NJe^-Ȉ@m~|FAǃ˙LYg,(1W ʮi RnDe\i#A /6$|@ʀ쫮CT8%}xIlC#n"³&q`rI^ lhw_u4KP`8 sՕǒmѽtO9?S̙6fVW0oIFrE_+&1(! )gӬ ch4GrPn3NT+Hz/?~7KH3#پsW)-y%oќlNl6~E[B|~7ʉi\̭rNQq- Ma)dX`"Fh, ͦݹv4zZ,7' Id-)gDcY 2+m %jt(%7gL!u$N]txZ0-yaT(A`7:"0 VA@а{V͒bXSe3hHX!V2!qؠ3i O0݋1*z3MA3  ܗΑ'.s!ˀl脘lFOWIffLXzlH鰈 MYS%#p$d'gº8;`F(Peх=ԅUܾe0@ș8[AcCU/I:pLΐ =C)o}_oἐk6ԥZXآ|ᔮ铄q])-M.I~tc~#nL;5bJ/~?[YKsUڕ0jFׯ2'LG^$'_[^C^O.TaƟ&7[Q+] D]舃 S/hT \ˋOalYfԅs~&)=TPoT ,{D;'_kAt&Ʒ nKfsO8aͅXWZ*S|l!nkL[Y愽y`©拱iO@e/d$ydx32\K;dݖšێPgy#+wyC {xD`{#nMf7zž_,Pdu-L0`4R28 =}v3ð2yJP~) {=KaiK壤{E#xP qrTדllk[%O9LbOK}gW|a\_ Or$ *v¡Nʑhɿ<-[Il2D6XvE/r%s9] PC>DYs rqo endstream endobj 482 0 obj << /Length 2333 /Filter /FlateDecode >> stream xڭXoFB(X[rz(N!g8kq%B,q.It>fg=7sϛ%,%~<[_zhpy3t \(~ y.Kě]oƬGt'V?8kUZYY<xb~so )s}ga3O$.d,5N|˻\iDZߩsҼ)"Zi>kw]-y,bgYqa2}`8l O0/ wd~%"5k"W ^y;emdG< ܁c%Q1W/#ae9*ՊFEt$ `isണ.K&"<0bIŹ!:q)+ Z`dl@[Vdߜ^$, _3%{:0$3>od[,um#|eAYvk Q r[nIרApF+"t/O* D7gdޔfk5$2i{c ;ْFq}NZ4Q'NYL_}A>LiQD|CCи(u6c$9R6,3 3`Q6&/I+!4S$ϱQH);6BXm½n!~(p!C`EU/Yٙitcբli`NЬ1R4m9U4v Aq o٫vG8:mhKvRR| X̊uYS)ᅠhН]|9-  c@t5m!o0 5ڹ4AȭBCpUklSYA 9k v Iט xK)sZA 4lt6kYKz/)MwJqFbvcbCC&bq q|cyttAqxK9%B1y/2%0]+ʹCD5ս2͟3>_30tZ[EVMEF;i5o'Ք'sisD3*b1*|$~(i:,^:jq! ;|u]௮@Ҕ2oePmỤ?dyYN쁖䅁>&Xw32 `$w]bek E/ffҬU徜D.qyz<]],=_a"h=G ߬^]_84k] iYXk]|q;TiF/2-X&6Ē ^?~1EiVi৘}o~|u'S_Ki}$Ts3/ʛpwl/,nX^^hB~ 3̛G5XN*o36Oj텎W۱<F?u ǚ eN(ľ&̦fûˍTZ !2/WWί9>}m80U+2/yɮ5T`h` 2rJE40`eEhT_) P(EODxO@qG/z[ň|3=zD/PɗH(o9jD;xIEo̴`oGpd tԋnAc+чH5oY"{4g.* bƺ `|(Re6[k=C"R5}a+m<]W 8SɁؖ8 K17a?x _~$ bAjjuc;!? endstream endobj 380 0 obj << /Type /ObjStm /N 100 /First 867 /Length 2346 /Filter /FlateDecode >> stream xZ[oF~ׯ``/AQl&p\[7DRVjwFMr":\xfs?#k`:hf4\@T&=Fɔ稘)3-D1#Hjnj1LLh ;fdN{) ͱ-E/ )GFht,qHL+#b''GAZy3E0P#g2V1-pe#5:pp@uħ Щ@OT2`#q]fch9Lx uՊn 1GibX$"&ki!%V:A#xCsP #jeG&`C &A\@m"=fm !PE;9a!ۉZ ;EGZ1t@ň. r$s6X%c1I/ mȼdb u_K$yUIi|Z"1 1J- @@6UEo 2thP,XRkXTp`/t9 G?,;nNlˆ7E]/ُ?mcB4EQP{L5M-'EMw%8e'Dy=M._7R=zR̻}6fn9/X!,F(:oa^dm\L6y4憝 L8ؼ[,%@ ~o,n V/Ӂ4Yar\51nʈmcQXяa11 "h&SGc7 _I|xˎk'rޱȕ . [^GSK.wB|wtiU n' 09Ch0ӲyJ?t|uM rM(x RJDN)Dlp]ԈGphkb'Is1Y-x3 vԂ9'79'w㜑 T :KᙰPtN}yѷooUjנ}Gf1&!pw(&.#$$Aqyޥ=ޖ=/'oV,uS_K,.7uUɁqZ <uo~ϕԻ۫nV giUA"+TA"1iv&'\Q)9>ds<0;r>r'Fԁ{1_u|HSB ֺw6;T=k4#09'!ߊMV=&44W-36X`n,ͪՇf:HQG uVh>$lJhaa:*5†hM<Vm"'n%xHO|H=Ӗϧ/ $L]3?‰T(FTG8z كmfR mƙ qjy!U%_$^ z*D~ٟoټ*VBX!FNmBH> stream xڍTN0STDMb`cS$x1 aۈXf|{{gC@ Ї0y (Fk P;@زzWBHe S0?EYuazJrwCMd@gԑaJM{'>ghuNE/7dɶ zfdD2tdI߾R2^<sX͡H2BE$$GHEւjځ;=𜃈߂?qwy\ҬL9DobӂTޕD?}hM%JRVTr]Ap,n(-ȍj[Б3bQf؉c GdQ*Ԥ|ծދ,Z,N 9[|ÄB0cirfle3C|펒7>u/b*7.W^96lK8xmCN endstream endobj 489 0 obj << /Type /XObject /Subtype /Form /FormType 1 /PTEX.FileName (/home/jas/src/gsasl/doc/controlflow.pdf) /PTEX.PageNumber 1 /PTEX.InfoDict 490 0 R /BBox [0 0 1449 470] /Resources << /ProcSet [ /PDF ] /ExtGState << /R7 491 0 R >>>> /Length 33806 /Filter /FlateDecode >> stream xr-=%)dIޓO~ڐ1k{+k**l ߟWO~~_c}Q>cYZk~Rk~ RNSlUgkZ򧷡i}5B̯1uw6خ:@1}ZBosaц]=>_?Z hG mv?N_QE?zbw}kͿ_Xʬ_? dX_)5%@) }j_k}}k8'0Wvjc?:`|rvgs?1kHrqV f`:׻}yhK`'J\k~:5ݸInሲV;ٖzvxH^Y ԨzZ6ў#(US)x;&j9ƨ#Zu(_wLP)z_֙2b*q}yOts^&\ߜ<ӓ3'A}}.RMVzzxS3v$p[?lqn8/ s$}cV{,އouQ'>b,pJٛl^1٢젱Ut,#s0 x %[1C7䡘 *?˜NBCu0C.(ʗ9?Y(`N+~4}xk !ͅ6_I7ʽw*q98s|]zuߦc~Ɛ2HЁ_->Tv/aq6[9]S=Ћ##zQ"5H/ǐHAr|.zi%ppݘ#)T6!UǰWŕx6G%Xܢ/o#ŕMJ]Y Ǵ1iWBR-m;&ZZT0ko{Q{}8I8&,|kb8e|_3X %$_xY^10 L8cr;kiB:IaO UҤcbZs0V6s&8@:QS QseAaj ^ <ap5sjޚZ)DĜov&˲a8FUv )pNPČ%FA։zoy .bp7[.QqGuW+qe8O:LQɁb&@sMf \¥@hȁFnVLrtn9aaҏxlȁMxhM9mt%43`5 kȃqrgf~q4 ȁ4(.!>ptrg8Jy80U ibQatEEN3Kˡ"f l~w`TnLfL`4hUO3DQiu&E 5LT\1e's [egl3ӽ%.w`.;`\\va !c/)\)l.07t_S[9-_H/‹MU^$Lx*Q Ù0~jγ!Y#!n|d%?prd96NQR3Xۄn0c 8(#tS7m:{ʧE9 캛 d 0N^Kn"ȵ1v8zbzݤSXv&> ɪdFݣ9åpd;c̩;jt.rБni [7@SlG~VK65$0g|r>3Vt-)wX/l3=O ?G MN^-tws&msDg;liQa;<]nL 3*xJn8 t8xơ$M9o9Xs(pj@wm/qve..Ў9E: L޽HW~@ M?ջ&;J옻f!U`z5ZڍO s]3&jJ#)CϜ%Ns‘}{""bu0 0WX8@oT)K8Oñ &B?蔔\8+ia%XU;+9[)`kroι=vN(Dlq w] ,}Icӝ NzrF RE@bߓF{:Bo+AED0`Kh[$e bB}'aΚar~.0125?rn(re@NSPv\Cc {;AQI'K/9;h.:|zi5c7;Px 3!|֟Qǟ9ky6,ÃA.w>9@)+B:*(fNƂsl;bk ?` 7<]i=rnԣɴq&]]>ɳs8K:a.MhzƄnĦ@'p0OӼ3y PG>q.T:=8:K=x:%f{-yKI`ǁ %|ggQK, 8zJ.0"k[Q:)f!3`wsD)Nz'n2]A1 $^UAwvyEOĬIyL D%<.Ia*5L@ěk5S"/0"PJ?+2;OE^&#"n^UEA]"o77oDTyVUCw2Ok^q ){ؤ+%DƩԽn> Z|VD!P !~ X7Uݧox;&j9"ZQ*wL} \0q,AT*<щ4^8S#Z IzI  }?00-+c XzCS#%{Vq%G) #ZT0F Ѳ-u`;&;|m+0A%L20Q iܵj08#1̾#jszGGvRgK3TW|=c^F`FS{ٔ'[K+rY~ ( <۔1>x_wL":l'`NG-ݡZv-;0cѝc @œ}8:L}UyX* [̕b+7DA~(lD(adu wꐰI%&Bn[VB{ԕ!i1cӕ&_,\Q5w*pѡvFԈ"} 7O贡Uǻ\iX*CV`hbP!V¸fI%8'흑w(K?o&> HLi@9qOrF8-QJp  ڱy(^][?)].;V,4^P\cE08hiU+?,UTo]=8'ԯth*]<TAI>0g2>-'tz_2YlbO"4 `P+_+D&At22!ſ04,b5ev=Qm _%KP$%1z fwLԂz7ezÄ2UFxa!Ѽ^xElȡ8uqdFEx!a~C:g8誈Oj ݖT9M#5%Vi !bd }pdTls4(0pc0~ьTѠcP`='Bs?0 F)<`m$HBI KF HG%qƊ9pC9mn+_>4sRa[is.)4X'`a QeDx#DoE >!:;.aqZR_2a6O\fF9a]SYoUI5N6%.^f =>uA/00m;"vrN,(W7! <[?.BѰpBJnr#gW~o1]k҄4a%.DciX 8oG仮:>7 Ī #:7bە* R1G/N@FdXbo;BZM%Xn9 rŗrmD$\ldp]+8l$ lܰw\D%r͹ͽ e{J%78vcΒWhEHK/yu#AU.mT0A$Fu7z+>p{]@Lhh4y#ZOÜ8,DF$m%mhIn)d١B;e(+)>)L٘L;eF([㇜na }R6 D|OT$&~ROScm׽ec@mጲvvR6o`{Ap&log¦ jd† N/D,zYz!訶!`Zjs}jP {j 9Z 8%*r1ևr]5#SAP-

0N$u1 V<04*t>z%.^ UE8K1XlEzO0^Ktr+,0~T|"_Tg<" [0g \pu1 ]=ʙOI*}<0uEw, l%8᳍8 9 쒋𸟧k^7C6!ΗԘr WyCC 0c%BShWyX0 }]fFuTwI B7x"0OF>k%x0 [Q0y_` 7[;n:fdQ@ؽ jZA3-*]< >OMuH1%OIoB>Po"Nli;*7E/dDXF1bFe 'nva-S~:5%W0(1 jwckh'n%+ͺ0 KD` `1pWYJ]r_w>i#(i_QΟ'\y/.gkp^$kzv62EƓy/I%k6^x/t~%p *^:yb+^Ď#Ӂ;hGfje/XX;:B2\;|OmBa@ 2jH7ۮ73oa&~0m(x B-2wug& 's]_q0^%[Dfy "_pjod;0V|T7a8F@,a0Y593F H%*sp$[F HoiJμii&O%R)Jýy#{; hy|JFˆȌfGSMH6 ϕRs}b&{`OM6%zf])1cd~0n19/f`f SlH܈IPqx%n8T/?&'q~`{\uj/ʥ}KTײq78}1O2w7=PgNE$OTy<~( |Ȣ¼)k }200'0ZyI4әg&ao-LO;&ۢ>ѓSܣH7L]$3=QndTuTÞ+(Q%1!.L=՞k pͿ0F n Cݴqnj+S~-q^ 1O˔KuMҳXeDKV`>cfN41i%bB;"ՙK)K3mfRKx_t4EؗEۗi#ڿ :br/ER)]2LGB"{Kn'+as`GkYĊebεab;&RLЙtߒ0Ag%0mMX0? #u oCTCGJ_zgZ^ ?x fJ9yx8B1f&(vh`beYm;( Ӊ VKq[m{UXTV:݀\bq">!|SM \KN-[ŗ9yK1HQZiV.*l..rEp1[rIp [?ȕ^ W76~\tLTN2f3+լH;zUެgx`),"+̖{EF@$!@R-rLg c>l 79h0+^mor洫ӼG^'0a;{o(CA"0jSS Q=<P6LSKƕ# >=4j 5\ECv1w f,J2}-/V66< Xm~9RP ׿IAuƲ{ȹ7# C q=*CP/IO=HM[n+ =a%X(%&\XoBh+L8|V;v{(R³!Ӣ4p5olHPĊ^p+>1f|iaҖeLisG\.|4S0kېM MA{7Z fgMn2yhd7ōy'J򥗅B0@-A^݉|L}v%3qR`ĥꐅ֡:|ݾ6],)5\H%vov "yBsKn&Lc25znG@6ޱJ)o*;d;9pwal [qH%a^V`x!焙wnO;o!(Do-R@@~ -\*00n!gy-Ki rYb 8[ c꣄lgp &(70ALo@1m`Dm̕y;sOqM3J77b|6Zᅻ[*6تTڢ{J3aݭ!6L}ΘX$.` 쒓A,aFr@Lr'a" C:bY<|1xuI)| qӴBT(NІ޴eIL-59oU\E{\wnY`b,`N1E`$L[d؝;];81`Ն\n3c/&jJU?FNXNe >U؜~h1()-sRxpFנ; KT-))D w w3_I?vQSI`$݆o)i5 ®#Sͯ>{ 9²4) F["7^qn*7%rΖV1, hhcx"Eڐ61M_﷥9)IDc51O2› !j9cpjEkcR Xpmdi@͛-o\ b0ܺkE0' `X5ܺ-N07CYtmGx#"5y= N,m1jc͖XdOf\V4N#X/ׁ#;f80M#OLO'iBbLӎ&n'D1֯1dFʥ fM܏9P˴#2-|'zuStYS4iLY1 3ҘbM3LliBf]%3~gf~%`%%/7$dC j1VaY^6Ld1[~k{CrMQq+ 2OtXZCvq:8$0&PL~./y,OY# ˇ24$fZ  Cc7K -a]VLTm*W}(q5`Oaւe"YĻH4JK$HEZ`r{b-y/j[`\ :8 蘟-5qCMdEO. <0>f BtpKX>hŮJD,#r1ÇL%'ޑ ;0?2c|#B703؄3܅F_E$e&%)1o(|U5 ܰDO }Cx-q:C}햝nc|-jcCAbVi4K'[V!:*o$L +! nexDdy b'ŭI0Pa,IŖ^K<*C\Mt&+ F Ye%R.>x~c*j*L?hK\l[r8<͊}Z-\iY٧V1JCFc51l60tIiD@S֝;FD9/ɫe<:a-@_-*NK,8,o+UgRWִЙC]|:^ͫ-::qIzl&_YPO`0SnLyow85ȖyDtO!W`8f;HK/5Z^/U!?14`.NV,c.}$\9mf+î<@+^Bg =+9JclqZz<5X:8뚲cbģ#NԿDw?C̭c4?sFoA+L!ϐfwh/UE|/+O=vIĦ}$?"#|,;8{w8HDQF_HG 6Dm@;uGfIO*9b@<3 _I 5Z5ǀMs 5Gi BDIX_3(Egm\25׵UE)$khz6iHf}^*1qj8YdOY>ԩ?5)PU=ݯd1^/HĊڰbq$S.Lid8Mbt͵cr~bD 1?hӜ8{bpG*YNNCwh̟"e֒~t 4q VY n{0/ľ̫~i+ lAXG^R13Tx%=OzdMz~1* eB]kG1VJH]]|8'SLBnV2Th{`TJoP Iک:3; 's}~P @(_ :KZwF4?(cg"8ic s!xeʇ$],zJ\K(czs aع20}Y F},: Z߸7p̔I*M h~ߗ4aa\S2MtIDU+voIcp8JBYZC @r;hjaT -xt; G:jag/4[2 Yc^pƞPa.I&o *kG9B=` E ]>dn#C;  RGSh^Ҁ߂x"ۺ?l8~n$Nxu V|.:l$y?I!{`T8 _+eȴL~b}zҮ2wwKu"gO0@dqMBuN'&V`bq捀8D{ZEr@CC PWn+]y PMC$@PU>b߃|ޒd*s|t䍀y [҄λ@w$D# ~[*H9į8+GU{PPERJl. |ę2 o?!`}Po]q̵'Hc< H2"2{7 qWY~3.`#'WgC^.Oϧ\s% tދ15sI}ΗE yA 8#ǻ\{Fff#t`#62^X&\I>2^x#ㅏ7>2|dG/|d>0a򠩗xa$b`$ㅑ'#d1HƓF2ɐg梄8g$# 0 9&$㍓7N28|$''/!2cgVsdP8w|a%8J +/dJ#T{cxe=v%pPA0Zè^mko9y'!vgyNTC5Z]uL~{3St˻W[IZb5.kZYekJCfƵ9kz-A'Odt;1 ڙVkQUeVڻIXVBK); X ۣ?Iֆ0.:і^Lx'A֊1C9uRd]fy!kXGYLYZo:ٖQd]Ē kXd qӗɺ0BaaD[253vNYCY7d]zuiAx&k ad Bd .s?ZW`' ەliufkcr-Ŭ-G˂I-1kcdgGg'5i Itic)7r5K(]p_}B0."t.Z}5հ$.ߴLlT `x뼲l{ʠb—~9u&Bt1 AB\NKD< 9n"WEAEԏ\zlCryP]#|k}aTʘ:˄˞-rVڙVr]r?WZ L礪Sz_OePc!@RFm|]%!cjHfPBS@ 5!~P1,dG>]5xP0e,UIf!aL@ɻ)<5^z0];P2 (D'5$aP~!nP 2 bjȝ(!`P{]~[W<10Q;jI[[kVh{Wm&4ڞm/fBɻ%ab~>q3Y 4墳׳29˚_[pοRkD4d[ǎf* ` |d{%YxS7{*qI& %hzճ.y >_x]|A蒇[Yb148]"):k|l IpԄ-l1`T Ld@x×.yH0n} *.OFgiI0f=0_M,/FyEKoS0_(ȸ,cЈBxķ"Px;qqrq98Υ-nG$M!0mfO||o*,ql9[ ;7%\A|ZuSkZ!0 дQ:y#V/'TM!3^5 3 JʰSpxTdQ_m[I)|.oI{reCuCס tL#fLlkf#ڒ J 7}%i* fIoBz\ܭ*EGw H`> t2E}'xRgAV";^u .\m<έzq+%a>t Ȳ pHß4[6޲ܲ>IPY0"OjgP;[\i҇sQyAfTCr:İ'0LI$CXCbZ]рu#Oafn ©nCRSѶzςoIH*u.D%$oID]|6! coIDSwΑTBN! coI8 >&!zC-loI >Cߪcʃ. nΕ _iԽ$mM1?ZE_z1B-}0Xn e 8Ή֙y70-Zj:':;'Z_I5o`"] ë1Fi9=6`$-=߷ iV_7U^7bЋ^Xd̲tk%4+Q+{(inMxSJNK`Z-,PI*c[N5\hڬLߛ8W$dTe4Vʊ|Gˈb[RԴ0m5 9XӨKw 9fK}~2-3,Y,}(CƁ?vߖNKbpDzwq.,G~xb c]Ln$RG]LW>hڶ{jT8\g_;|PO0{]⚡ t|+.vrB63T?p>4eC]hykB[`,|` g6sya8u_7qWL'/][LI32yH,W.aPAjѳ[I88+᳢K0hBMHvsΜaz8R̠ȥ~B %X7Ӌ[#E-t\T?\;?tSm`(x:\iq4/f mZq YA|W5Ir=# v 8"#kg$_5η:@:2 _1|0pLc&o{Ƿp~,ctF:bp#Op8#:#^  %6ð{[1 䙾ԥԯ|dhZnM^;(|尷66Ԃg6wWLw9f_1^?1WGH@:VFa"f[%PJ!׶!oд҉e>KaP}laHG0R^3FH 5+z^)!KA$4% -¢s*/qpjZр^nVO mL83l;`@Er_< BG_fw\iȹK9Ƹ9Zo6z7y>V%q }i 2_k& Ls^ݺ2 }T Pg`|[w|#^Cɽ$ :w.Ħ`G!f*t?@Q+Cϣ2۠{k>ƳGkVQ sIl1+PD&:&f1 \ON*-P9{y+#`賤xm^ÿ~5qg{p A8B{c4{t|.ه6glI_3S-/& LV[2o3@$5`Z0> cjVSgOCpʨWDKڇ\eX()w1^kcR->v|ķh 9WkD?aq1- ~êܥ;}Ѫfx$>Q>`82q1߷Jo Uۓ޸X{TN4(?13irEuI^ۆl(/NX]8T0 Ш 7ۨWY. >_/ L@]} )T~W<7 fgY:Ci|X j|(oKsj(1iһ=^ڹm &)rTմioծBΌM5ܷLaW:(PA1 KV}33X**s0` 50>64-=1]s= E(Կx= 4&٨Vِ'9fZFR>x t ŢVE0xl%&t`}rl$Ūu\٘VSȌ4Aaw/q>uczr0 TR*o\5QF* ә:Йe^,Ngn9f`%x?ΣjR/1 J[|hm('v%CG Zʙ~[(oȥ߶b&my;)0a?e:!;;59 y1crG*n"PQ:<.9к\9+Q4Pd*dz t$+.8~Qj'K^J$`]4Kdص P08h1J|#Ik=h֠' &ܦoՎY, v*0Q=T`_*+ D (%X @ Cz#}W;&Լ hjcaގ?egh {{I*40Lռ|6xޢx@;i$1g7=9`"5AGP@&抻O TPR8 ?d'Tcr1v\X-3[ dpXU0h iMW8sc\CA1bw` IfӉ"KuNJڊn٢,sч`۵WQhe2uyr฼]_fǸUJz@ mW2*@ jT4yxEl*@U]eGe(4-0]TMg)́ynyItUR|&Ujul̤60X)jτQi"We[ݲ5\_+iJsy A |%;<ŭ!:s̯ٕ|ӯig%R<`õk؊чCyeFJJs4Fљ^u=|fZUOeZ$G sgbpea^ E 7T Q+<>(=)IYv8͛aTQ@{ 8M?1LIN ;s9@k@$ qxlOD7Tqcy|<|tfMvjJ*Sasg <:I[·#Rn,1{ñi<=EC|gV364ffv_6pKͫ%y3M``SLE otяSr _{kk88|u!@[p ':jZ qHbZĕ7cXaE #FZ C-KҫBzweXzņ ^0n4r#F/vb.z & -NG^I2%Z>fn)J+A,]zKzuU9o4Bt`ȩS^$<<Ρ09NK2. ^UR4$|2$Uh7S&WeK}m2Z"xcpA%IK{SQ=GUBmIy:KTb x r( tC{S`HaZ=i%xℋO cPZ'S+t+1~:6EiS {a]:*862t4PJ{ݧ)&цA2Aw V&fMGNXcRsj y.Mr$8M1 z{e27dC2wSh:_`q.pE~E8.`S"7>5aZIq0]B}CP]aL|_|Ò6edf+=:M yn*N"| r':2Ʈ#|<i o-'T tl=VnkV`]B|$HSg?i:2\JaeS8&O̘vD7LZVwLe;pC-nA9-*&ƣ|_ Bp PpN)J5з60;@ %u6$$WwM4#3S""gJ?H䟎c*8cmc= x31lyL8;̦=? q bKz<|Q;Mkc~ {ܴVp":IZO=+z* Dcw jcE]$DiT֣1 ՋX4s=mq$cf;f _uOD;&j)8Na:YE 3D;*.f"I4̼2||jOm!y{V1")íȓa)]k0M\ bOlLI(."sntqL+v :().-Fgi"JRTܓr?o(O*)-0L0GEmK`-i!4i9b\a0AXspwyJ>?oTnߌ [5hBQcrp+z1z 4- Q68/EঊWKpr-|Jt!WƐM)isda`O.֯ DaQS0Hׇj}ץW!QÌ٦KoNsrዺ*P /\8<ާY1VZ!Joƒ栒T1}c/g ܛHc n 5ZMdӱx FTonXȋ;;-<&Vb¶ɕIuv/sc-FTϑ5T;WsC̔'^,z֌(R P S U,VդKR0(wc;c ̋G; $=8{#@nkfz.fXL;iJJ%/Up"ye[ 0G*41N0$ 0N \n&z,a|BnDT Z*d KXhW%=c*%V¿o0CH8vu75G?!nTfiX|mByZ~s }P]ꒋO?#TE}a> S x7jeT*~ c%: AxOu#;[BNJ’t2v|1Zh񖨻61S,Cw 27Zު;)J&}P%+Q|PTKv O0[b[XV p9tFćB;[ƒtتÕGgcy䴑͜ZU:DazV6dZ X*ZʪY5GFاi *ʛ &hzcnT /K=m+&$ޘ{jLWK7F-`C}0LuG{ȻYWڷN K nnM |X[4y#CM7!؄7_5z;ho#;]0q9l !s@~BaTl.a]?ASIL/kxQrrrx!8y&wP5}tQ;*V&c5q*:k由+ŃzF)vai9$j[N?!zs֙uthvAvxQפN/FZ1mQ<)^;LR< x;3Q<-d|Pi^u7^CLn!S5$(6:.VR1Jwͳ}v{C=$Ճ$Iqu폪8 7pPzuIJW4Zcجr ҩR/Ҕz^;Iޞ9qޞ.Quz{.NÖ7 *6^`DWݐ>|&ޤ&`S=7w}JY0ʞ%KĞ3/ R~^λCЎٳDzwZ1ݎb}ՠ'̨І%ZSI .Uu-ewzSؐ339hЖ]g:&K>q^0T\nL K\+n+!O´%>5}jQ+*b[p"⁸"|:gh^d}oфTSxaR^ޘYg^:b)K%Xh>Fc X<%wLv IgҠP* x5LR Ew*cs*>Cl16s0r9bp* L@#7k`F\oC+|@Zb4U 7Ī>a~ ïT\ T;ܘaL{c갅_n!Y;ݑ%٦q:GU6rʻn+.6{j{*rb\rz#M%ܪdK^jz"SFD7D ~1Ɂ&y7PJzЅ+L2K̸rJו^WR{]Iu%וToJ+ z%8y%Ǖ6 wJ!I wR{Iu'ם^wRNnǬTnԘ6]i^G;J؃TPɚy,C/Ɛkh|rQ's.I ?Ҵ&=%&pgCL -OLq_4ڳ 0˜ު;+c ty"Y91)opi+ 3a-J(C3vHB`CD_ rjP*F^ZZѤ_w;fD:ì6,:0"6~Q|c5S.FLmZ$vPqK:E$Z g%CoE _bT_}͉~eHČW<4L2`>=F#c+C%*,n2j̀Uhq|%Nj$lAÒUE00T𻎨a Im97hi`f wO&˦J0b C^t%Rr%ta \soޚCXVO0j@ /&k7J2)K(!9o`P̥ӕcEl`:}QnC6|4y2L|ӷ7ƈdzai}c/ 3T?>O5^`.7GN`9:hTb:%^gx|D D? ͗_1G)JvϬDpoSrID ɡcr!|9*S]o LŘYtK43La9MU(;57M3D)cTÐ1#v&r3D$νCzLGGEj8&i u~L)AaO3%^\PgHz)Bt(u*6Xf4.և*lҞcTc -9|"Q}vl%tT׫ ocND>Cr=}e_&F$+_n'.(q%jCDWJ>E!! \q(Ӊ')@T3@ &|ޕ@!TX~ t(are~OZYIIIޘW-S^ǯR!BJ2Ih2J`LFL2J&$@u3.%R}9&'j1^y-,5rޘ[v_mWȳg1RmRq7mNqx@vQ\#>>V V؛K ]B}ir* g1eTk^(` ~+r6JRqA@j@j,b _= D( K m>q VPL s~pZ/ z͓Z:7ƿ-Tɋՙ0^{@PJ@d-;~cS`wv1ꅗ@M;p~0l`a|"S`n0ŰM{WOcb` 㫃9@2iߘ)]| kI,bI-zZpm'S ;:y02)OEkS8svK u bovDŗ ά .[i͒KTMwIw)I_}}|0YD4Z \vt17C`kaCl2Vi0Qnר}݂?š[I7w&ݛw֪ÏIo wҒb`n60n9r0 N_Tjr<4˾89v8jmd=cl)f92 [l3^֯=)sFfpblv]Mr5Nj]ojW'Z ӡe;0ҨʞKtf|+Caý%?5>h( BCg^a;@2&b`jiZAd Qt^Άx "MR`:dcG@}ČJ+ ڵ Q %kҝɤt^yQ^Ds04Q @ i!:xPByց2A1_!TOL~D%8xa"abbᝌN|I f̵Li2VN&c:טɡQ8Ӏ+e5SRZ / KޔL 3Ʈ $ /l٘-tr ;;$2Ceaq 7D^^e''KL%0h /1_r L!tq#[ Αnva1J jy4 k Zq>0x3c`IN P7; "'2&{Q5`Pʡ=:#4 $7ŮYB Ӱ9?x,.CV<w.wL1{P[ e,}HY7ڜdt=`(~,1CqHaz⫸cdz²E )"0d"#F©XG<=GRe딹9REЂuTWr>)Qqΰ)l2`&­4e@2%t:|^gTY>Vd<849%o D{-5'5ĒwާG9-ew~n(E 0 N抐4 *XH4M-:_sZܼrWD+M0vW*q)Q)x!pPq)LOj5NLF;2J^# ^U1tkۉ 0y3N<}#'^Zj{8ə4qlO_WБqxOrvcT ̼xSNajI%P7 \Mgo\5IuR!žmK2csXԙAib>%}wUvA0&Y (M&p!G Z75a> k1^kϡo"sJ^f#%l\ X8}]r 8wLnK C&wLbۃ(-o41C"gI a jpޞJsJDdR&iბaE+G2(d֙h{qc/Nx98z~VXV%t~&ac0~fY7aj;&2kK}c\FbTj H"F\*P1Bcky̵!38FeW2hg&Cn00>}גF{q8~Zr`&4dL1CՍhua6}01$G&z_q.Q9KXŅI#\..LCU\pŅ"ZØ09]r`>҂!-d"-.%I ^rL#D^D3M3_.SAX؄Äfې~p$l+l B„Qe]TM$*LJЋ0~_VKbb"x& !rEHS9a9&'Lx儉INqs9a6`rN `v0a_n|C_sFBJ]Jw!aSʃw&Boo>eC0]Sa"MDؘ8*]:" t9*8ҁcT:` $"LC@EkdQSFcx3 "Nr+':S :/L( 3 }׺POWpCnWOĴLb32|7d:c@>1v]"1 d4Ƙ< \Ɗi?t4%ۘ @8ƍco+s<8ycOa<8Ƌce)JdaTfLxp 1X!t10xq MAvLYbeaJ2_X8ʁڅ`as{HBgF*1lq (еأJ 4er[1{'kq /f\[q>*0  'lX߯rpg|h0y  -7RO\7 Pc6P ,3pblL Ș}#Mc2~p%c\[pI9κiBE(F<]6#i}_pidB@51uCVdw~ܰ0aj:xjZϖnU&tH-rj0ސUz!R_|(y|[-38Hz i.kb/?sQY`PrOC2i endstream endobj 495 0 obj << /Length 1444 /Filter /FlateDecode >> stream xڍVm6 ~+ײn{in ]1 mQl%j[l6eI SE>|EcAYFσ"|q3/?"`qT `,Br!׿\<4$B(< X%Lp 69X\ZMt[L^qo9Vt M(Zצ#)"pRDܬIzkݾ,T*v!IԵ՚zBzu螬ּ^K#&ykYQxF:<|9v@;8x%HriM59CEއmEBob e\84ExJ;t#wnW{EcYsGIrPFīȱE"gXz_6IcY̡DySe,%hVDbj$½Em\{XEXbMs$!DHPeނP>`5;Sc+_(HLǚ])4|!)rV DVe":N+k,M[cB9A8A-6Ӻ͠]bnbxFZre.< k%.u{,\DYyu zˑlmeMPAvyf+osN ˷b9OҔRDxniљFt{Wrz%Fݵ[<^, Xv{Chv/}@ ]9tp3>3usYym\gv -Iw:Jmn&~}7":S"x RgFQz=_x)Ε:WjI8_?I>ۑ<ޥH}a&J7] -}t;G|SY#x~_\}u_'זܘ9(Ny"_"?G?=0R7B\lNkgx`|̦ͥc5Ŧ8'qXfQQ!ݸWl8C*yEzm endstream endobj 498 0 obj << /Type /XObject /Subtype /Form /FormType 1 /PTEX.FileName (/home/jas/src/gsasl/doc/controlflow2.pdf) /PTEX.PageNumber 1 /PTEX.InfoDict 499 0 R /BBox [0 0 1471 1168] /Resources << /ProcSet [ /PDF ] /ExtGState << /R7 500 0 R >>>> /Length 98148 /Filter /FlateDecode >> stream xĽɎ%1%ȵ#4 ~E uLj{aEy(N"{]ן w1}_u S955uQewK˟6?y_cwk[Z_4˙2wi]Xv21ygtO{0a3>`{._s3'e-pcL̯Y`>o,c,k;Wtʠpf߁ϝ)dD]YVvp |4Ao(>v+K/{pEg>vh<{5$L?_>#Z}Got,BzɰwTaN<7YzgR7>yJͫQΗj3Y `%1W]\3[V.=|JǓ zwľL@- ^VhuDo[,cKMY&Nmvzu$L?=oĜi;&:$7UO}`@s?0oşHNsVY~k1'v yH9z^9%;xG4C&UhҦ5oI~o`e;>뿄9SyD9Yh5)ULa)0#jeHUi*g)>]do!,Wap‹qwpbguw=灬~>at3 ws}?0gA(($-Au`d>S ybDsCvwyK\%JưQ}ǨW9a Y/x*0&uO c H/EW^~JȃYBxg cv S<%y|J3K;IH4ib|bҒ$D^f>dOhtGu!=k&lB' (י+Ș {7sئQEZx2FTVNu-C,#EK#c;0U .s kl=scAk*},zl=kIx5' D9dHZ7)-IwSM#_>*dA0y2vlA&OBoy.vs,^%k.l sVb`E$sQ7]c:cB]ڢ^y2CNan(b.W$3Τuf5m@6su"j\SwT)j=Y pʘ&.y-nSqr# Z+ D)nY?S:p"Gu[6`V# C`y?PnP;$#`.aDb~Up؍%־tp JĝI0aFm p&fm R385b #kOB37V@̅X+4qk'V8/38vu7Ψp'3@hp.VK-ju3^ğڬ 8@S|St+  ʸf MRp&S6+ 0b ;*\3N,u?i{*,0桙9j9f]gʼif-73`X-1XJcdmSb=Ma;%8T|cdqTN4$qwg)ͳ _0ٙ7&lǨ34mnZ#OGjl&Rd Kbp8h%[fLT9J|bm3_`bR*SᅁE|>6YQ|;A}h1kqvOS1wU2.ф՚cT"=x~øuaX`9WIl{WWlEz~DyX Nɬuq`Ǵ.5g|@͋u`?Ӯ#g22}C þpp^]oN'7m0M8uѮ#W?x*::n:%]n3J;G|' ni1.6\覵1"0b\~ ( h7L;C-*. CW223.$C ov5ꮿb̋"FhꮞZ,ƺv7B`jFu# 9/սq ^yoۍncL=2_bv[`LHrU ϔt p,1O^XwV>V1yy?D恫ǨهR¨kYv-㩮}Ǫ,2>ØnT|+4ʭ6 4l>zN)7a(>4`O @xv0[H]_N`ԯ8sU)<{H/~`f-];y1HF)Op68RDS-l-0ux⼠,^|bbAVM5|ۭ_mD )F<58AJGAJ>9M:)-0[XR l:ARŁkGσgEGŇ1J񏾦 {k?L,y˗D8K|C 7A#q0NJGסJ<n.8FT:$:R<±"yV8{e4A#؜|cs[vəaC0)W NҲn&D.PbkE;(s-p+q*xJט&L 0rq.1<8FUہFo94zH ~)ayƽ}#3'bD01A<:"wO|I%0̝W**t|w4B[@d`ҁoQ$ %)8Ԁ?xxpC}L? 9]xnej+6],gзn[cnnd8ϙ}9l\%YsY"<:ϣEg e!.Ͱj &SDugDxuewd,%^mJ@&@N;7ԍLu;F.n={I^ԍL;uF{ "Q@˃B{nq;S72uu3-SOQ#і|R7|ITv؉1Jcq,čس'q#o/7-NiN܆Qfzl"nԓٳ5)zFܾN/B{)Znؤq+ɟS Fc.Ƙ>1)W"m`:IG5]0nF 4x9@+])8 x#e Dhef!%'pw) GiTrt'r,>.zyz*)xt)/9_e rMMc5B;e<ؠ*(m|\`4l:kQ6'n.r%M@_{`9MF%\5%sj΃`~p~vE[Q,PF+̹)-iꜼ q:,l'Ab;؇3Qe s8Y6D #9K2#/·.{ f8$b ->\q]q A1']fLr/!' x x[kwPJ2 6dO߲`ѐ&D4 ّbba7$)Q%2 E '}<ĒB2z~i~ms;f k-,H͂X]& tz wLg %4Pyc~ 1H}YE ο8`ϩ qS:F!, Su`! K& a;' S"뾳0ŗ8ē. f(;uY°*8 á! QCbh\cpۺ4pi6p vP4iKCLj4K4DnC3OiH8ICkaQi!) i~ƨvie)TQCb9xc BԱ0(fQvď# =P@juyOF$M$dJGńdטͩ &D濜ZEfŝw0O{w4XC\âtPc+=QT6.Ofi QTP̏8Jܥ;' 5[\F82qDƌ !L{٩l"*H#yRbVg*uӤ? *w<<ǤSab!keg>1{-Y  s#dHi$[݁C+Nv{i?$1%CAkw+ =2mKRhj0'>M)"[UWi|8o;(&[!yH8%YW3B*Rq^Mo!1ѡ~ӃTU0G xeo)J% cygWFuj\18#qG\Ȋ!:-uJ+?8"&hIiEjT=}ZO+Nj{b"l̲S-=ҮeӀ}s& w`E>W@ܧVsܥqz=jK6sVIāSԀ́qV'~8!h33䠗^g朒9P_sb")!ydnݧYvi`uz`SCW٣3Ju5딣JlyKLly+:t4`sF\|tlb4A6::LsB*g\/0#anbλeuAL1ndH-BTk$d], K%jSRS7W~WQQHRwW|zI3Y[s&RZ B6}CNك@nu mw&d1W֒L: +H fՎ1+{e#^YֆA Ş>,|Pm0Kkn >/.Y)~/s0iq )ـ# eo\N${Q=J=7[bUb"y%GGgK[j͖ff|Ηc|`|ԐQ?_R`K1>KuBi.[a"Ѳ!2rZMeJB ա6ɗTS750eiٙ砤HE K0&$"1 0FԣPݟFO-pa: y8+pmK&m$3yXa?-W:F+~_)WDE٫^m3)^yG@Y__L 9ēLphNɛk>((apCc2AP~3- hSc)&“1i$ aVS8DT(I>NQ W}P8swF;;F`%z>, ycd$ps՞Z;"f q?/ 9 LJ'&=eċկKfg>1s?rf+I:94g%So?1Ϯ/Vm^K'; N+u9?U/pփYcז7:c@+xCr |#.ew\R$1pLްDbo^ju(_`*XZc4-|N_wcphi'F=s Dpu;|'TwU]30|FBЫz?\$$U4zByreJ|Y0Λ!CHu:AyA9RRR+H m"Fi22}b#9r_ULhA(A5@AK*kcW$e֣0{5 .ZXIxFsXt\)K =``.jiBuīC1r}CQXMX߃X:'c.W>ZT8;#k虍aJ$X #O?(PܺPA#9-NȴU(Ĥ21FVZF5:DH]Ge'3_q08a,஺E` qіH+iJH #(`jq.&`j&S%Lת,LSժL-Qyu5F*-Jb0g.L[< ϖ{IY:=y Sp>bٛ# ?Ţ؈2ga(O c9cl- <( +>QY48?*^YuE#C8e?{ -Lł8e}xx SٞQV;CrI)A`N'+E}hQB_b5`i*R J0F>?Tif5OjxsR)KxEG80hUZT[ /bKj> 54j]49fZؕ6Jn- 7Ԛƅa<YryM[FQP7|'7R0OӌqpZRkC -XO39,h ŲVz`)תQ7e88dTܬ[g0Ya撊8OB!~lcQ-DSq8*,HYAeJɷ6;,fG=u28Arȳ}qs Yg.;*! ݋<`nIa{Ia&.uHxY@Ţ\߲.ν^Ydz CǨ0zmTX*>aL:1* Ḯ0xBW^C! I"L) gCwe,ܴ. }&\*Ƥ! 34diAt]:ЗX!pU~I") бKCV! vi(!)  vХዘȞhj7@_$)q?Pa7١ kG> "Mݔ,d)o|lJ\c7Һ)Mݔ&^56%n;J\ܕEw 1ە ]ݕKM<ǮDRLIlJnJl7%r\}6τoJئD {M\Ѽ)u}S:җX7%$D=^DayoJϛCϛaߔM7ĦDPpj+,Aߔ/bhZR1~PϨ,B5%dnM#Y= @wZ==Vݥ:WxU E6xAbDnJKy7\:*HX4+5n2,[jJ4|GғB;BShmN ~K1,*CUAaYV6.%L##gY1lIuZ`W8%qFiW`š ^}S] aW$ w$MTz,>\}I)|vI慨%ݤh. >Qx09M1,,7k!g"}~u'5qCR 7kʤ\f!"Tlȍ Mݗt1VpW.bb}5^f|J}+WJ7_Wjy򕀍 _ ?ѳ T-ꋯR?J}+j鉯"WG'_aͺ_W*sv󕀝7_6W#||ns! έl_8|%c iVZ[W_n`_q+탯_+C o>J{+d򫙯'_a8_qWVVҫ+n[UDhu{R!z5qbZ1 {,"*Wlzu`Pԫ%zumR3[嗒Z]jZ]OzP#juIWb/#-Y?e_|ePYegX. XKMuE=\00X.GX!uMvj_`Ѫ+g+8Mf9R), ݺ+RQ+lؑ/bN-lUhZvfͺjm弐OLzj!$3o =<:TdO,RpV+}SᓨV-Wans6vS^Zq}'x*|}IKń:}EUJ>yVy U[C'X /}`K_%)[;.Py#9+E HyOCNIf}Ebʫ| ~(%i6؜ NNDu.󊩗ssv.g< HsWsM!nzMqӳ_bS{h%Z-A?üE/p"=q]5(L67y_g1{:;?@Uɣ3&=S=|ҴQ/}-̀Aos ylXRRb/-x_?S}Y6ѥ Apu$7 ?UJ$1R#i*%\X<.rW*%}YY4 wKK=+|s'pG]P \t5aRnK4&t} 3x FC8G^$ Rq܄oy ulLn)bQǚĢcL,n뤏!uܧfA M=k!ba>1r[OL,kf_@`lɗ86P .\jM0fhNy%SJ- 4uV;vwbo8*x}1R) ivy]z~qnT+:wKc&?'wrCfC3ouX A^YZxӤzRm=IٰHP7kF^״pH1;~1pP[\L X%2y,W!+T Y 72Qa.岚+kfNR,q^ʋ9"=bNbNaNDOtO =e>0r=vC$#Fy5,J-= b-t!hjtc31hǐ%HǼ~Y:Tc,Svd1EnTHsZ1+ ֐Y;\o-<8)%W7`Wacj7ԍ+hrcp0s2=()zZ>G0rq`<}uPKOȁD}yvv﬷rN Y.E>-lPPN!aM׀B)wm!DrO i|<8j$QDgiv "9YAlgUB7AF Xn҉УO9 jt9dNJ=Ca#?ɯ㒕HZE (!?3UGjqɕ%FsTKw bةKqk!rqIuYDhCb`woGy]}ڢh '1C %iKkX ⢏b~DSZdVx mXMH w3/a`8 M4I~d㴌*tv5l6Fv X\>PeɬӝMc{+cDACAI;G;4dJZ4X] o{@1nVYz=*0zT`Dػ7[M QE]L0^䣢F9hZ#LezF5c<-an}/HT7jU";{2nͤd4;3Q'*8n͗w(WY/6&*,]j@L<"z(GLmRoȭЌ| 42 9f4vZo%xbGR~V)EӶz:3D$D*WmHLg.*Ra3IWuC |KMU>Zq8s1WSNmU; TlA;w»P-i.Hj9]1yU31yz빟wF/]t&?FW8#Gd-JB3GuB"윜U縜vNޙ˩9T绿으W):vHNPO;҄Gb `RY3MݝB̎3XU9$U/Sl3\`j?%81{z)y`䔼𶑔mc1:R [] hocW!HFL: ym)%%$mϬ0Roe1ӌoH~4J8k.s;#r#فX,`K~Z#ҍ0X<glEbY ȀD{`Ņkb&ڻRn/e]XS *o=*;kurW +y?+}t2we~0][ZX\Wzsk]yCڃW殬З+s V1cy,䱼.X]B;EVcYc䱼-X,H,agQڜAYʻ59K3';FINLc٩kAzHa'q(óI|{8XxDu"qX2+H1J{08$ 2q?HoޙY/E>N1͢'#6*ζN;+#)SР!Ipܻ(qSc(pDxB% w)EBA$[I{[LG\eG)k` `[rj܂a\ 'fuxN- ƌ[t9l(`(XvԾf.Uё֓tGH*#îq)>_`72R~虊QUap<Ljw|2asL"]CLvB3NXM#Ѭ%,è@/lZ/ƅOD1XW]IFҝ=u}nX3ONC]1=R)׊Kʵ*kU~'M=Q+m`$0^`+bs`5]+x%l3lN?.qrw;c 9#'0R'=y?8MǨ408(=V<%6Xo@c.x0{@'} 9;,/\a!?\_W_ sl- 0 nዺv{h.àdbaY쀕 G71`*D7u]vlF%>)(6!*|E=VorM[ҟ/cQ] 7%Lc/"zwXQcn%u-y#Na㋧>~7# _ EpCB@@Ugf. 5T4ij&VXo5f3j s^Ӌ6ֈtDtZoC Xc@00gq 3*gi S/Rߒ8tJæP%;;܊OV`곅EgF_NWaQ.FJ`jF(t+GQ5u]hx"UuB:2 =ډc@w,J;|0Dw:,8ߑ<57$!O*q8.ƭ8U;]Š;%7/p-rZ`w9&= 898c.U'ƞOXwxa*sJLe)`#2 X4 )%y}ɗB%@YR zaMYRʚkIT.BQQW(~̲A-Z"UV")+1Y!g YׂVJGr]s9D;ADdYaS-G.JcWh,Q]1P3a3M=-Oݩ6U&0zt 4Z4dx9RJ1}_0E23Fp56-%K`;74l s;8&z1_01hpP黣=h` ~ ":)3q#l4;7!l+CmWƳ)\wz?3 ;.v} luXm/"2_PQgpv/7{RJQҐg8C WxUQw*ro DwyKEId'bL Tp Ǩ^75,9N4j+m-Ix-,: B0L` &4 ǨjkBEWE?VjQ7jqT-:\8PMEUp_dO-#EjOюHrQp9g(>7]&ԋ:dǷ:^>2L[ hxY"0coUd8%W+o9Gt?I[ddRf;KCZ"B>jf[f7oE zi S~ydonΧVqeEg;߰vc7i]t6F[JRL3ՆFK~J3Qx asAKy.$w\pw&ț՝t[SF'Q "{>IC.[ldOnD.@}e%S/avr^%{,թ_k f$2FJwW.P6o$8킏 XfȀ&K .s-S6s$UqLpR^1E1I̘>X sȥҨCDŽ">u%x}*r K^Xy֑OF v7Y3|Q :ZǑ񕏺{ E[ :Ophnr&:;t{_tO`!*ف|ye\dBC|oc*0ġ6` !N"hEFIOZg:WtK }ڼDVC[EkSu9/NGM-lT|;L~P_0psƝ'G9]">]RֵtlnD?e?03Xfzﮕ˥qa;֗9_n&:/\ N,Kk{} Cs]&4?_œp|Zq). 5i8urMt: Ҟw'&=u3T{{ t8dv̫8~g Ȇ ;C L[F1ľ]/Ry1@N 5j6q:_ZCOn'&lc$މ5/0[`;Pw:#/Ӿo/>ZHN`]u# Ya|*Dqx"GM0B@{>(-Vw248È=|[BsG -w+xI r\p'2D(d|qwlߢ{7cבrjc){"AMEp&h=;_ Dw יmhL7LԽM =L} W ݒ\L;V7nI0u/F=As.S_T7E_I}ԄEhwRb"Ls{ <@uvZQL\f'e|%Mo@mP4=WTY˕3M IP-)ORe/`U^Lٗ!)<$!Hm:;0Lgb[euY]Mz2@8Ih8ȭZHuI;PuqͯKCc]tPh 3*xv&‘P&ˡ \_v( 6z(9HR|"H2ov&|G-"$e2qPu -$1OLz0ě]9f QOLAxKbDQ**a "2$6Ξ %3|66Ld/!WzW(pRW'{e7 $O̦^KPٱ$Hpk;Y`adj4tɵ[[2f -Pr'~޴$kfHpt ^v "5"sOhkcI`KU3z$޸$J5wLNE1VJyCqdZ*MnkMfe ׮p]iU)זT'  |,6}IV`&f<># s82vj!(#xK—9['FuzOIXRnF/sueM*YƒD ȾolʐʨO#,PuLqs41A1g!q[@KR+†% wl^xⲮ(0cx :2AQ _EFZ_8r?)~0F&saY剣؜Tx[OO-lccadٲ,)xYL.LbˣP3̆p>0v*5ط0Ca4D!l[po`5$$z\7L/asrNyLhA8wF~NIX`s2 P/tt$LbsS1U7O}b)$Ť9g7#0Do0XGBڈ+kӒ6}1އ,^z5έj:un)Iz%Hp5ȵ]KNXhᙆtɪx!5rpS7Kz,}bN .UAuI1IAzJx M^ GBi̢jq.F`&,\q0g!xMi.ˠ t0Z4aERb. /)gȟp O!s=_ `]KX3oUr1n?h0C؅|o y A*,_d 'aMS{?%$ Q3&8B5iԁ& 7;3Vp{4CD3 4fҪm;ՀN@ I4Ř4>fLf]򫡆@CUnU6b)&ńoC`0-kӘb0vrISL+k$$fدJ# FгGRGXԢ.G-a媏0X4b#ML Ǥ./F!+_O7B*Z [r6b:޳Ε%dZIgy mvX`|CR2c^]8t{`o0䄕x܆c^>ǿ'T ,YRltÁ+9q7!T譀c {`|a,p)bZc 9GE<Lj]vRi< WбJ]Gz ݐ)v71Lu )8~M?šx΀oh@-mѪ|O +ܧ!r1אʔWn/1LzCF$1M`@V=d-܇UeŤ~T>SӟnΎC؏[&r>M_Ђ V(HPEb .XɅqʰJYV40чuz/`ǎUjՈP+xc<4l։a"BM0I9M؏G+Ƣl8&h'qov $!ƈ2F)[t  # UؤC7h[vr ƀ-UKb ΢wjqٌhNn kDWLz)gw8;=;em&q4gp30N-86'c`Qۍ8;֙ӭ>Ǝ rcŘl^C?Ɉ٦1[Jja"as3)YJ_wށmd cΏ@c Vac\o}K&`s~8&a1kL֫]W˯Sn9RFnq{eBCCtNo8b<ӭ@DFWtь ^a]9GDm:cbycoJɱq0{KnƺBdR֋q񊹻d7ro0Hvb=Σ%]9p|0Kal_q}TFE~0`!.otl%i77rOڣo ^^rW4QllG /1=&c/-$ւkv08,=OoO<7}W_1\s6'4ɸ;C/U@/xx ;Pz9 2Xm`O-#'Z@#de^ER~K,\&LW[~?;0|Dt,]U29xM;DzP (mDu!JoW,3pPљH K=*͢凑qmcGo0 (:c;6nAs u#aYn2u9X0m/00Ͳ"K9oT:379s0`AoɷYpZ]}|Wwj-R SmYfVba`1:=X75t`T>Pjcbabtק|O)<Ԏ;IBJMٌ by6mIx +{>G"ZX>pcu#ƒԢpljnT Yh̸iЧS} q6'&~ø'04UI>W#=~,'~|:?.k"=鶎QpVn﫢{Rnip[/k*EI+,J`y e s-='ܨ<4Ld : *(Ejw7!p݆Oė9Vk4ꔥL &$v wU|<_g aZg p29XmNpoU'.~ ]hCD 0U 'W/^m`-v%H9~^)B2"K߅txm/}Ɏ, tݵ<(%1EgZWzXDՎ o[yӨ ϊ2Cݝ`^Q "3pe)kky$}X{s$Yv][P?9g3? PZzdY)74 H:A4pUa-j6B_ la Om""0  :UD x&YFx! *.){,~\c\ pgFdm8A@qΡ<%yJK_<%yJ-Ϸ<$K_|I<$K_|I%/ x%[_חzI%/ rG.ח^ח$%N x^:%%o \o 0&%/ x$`]˝%%}H%,$!~I%/ x$_~I-V)$}H%_~IK#;`l H?7!FxO;HAv 7L`Lj!Z9X-ObƧf:%-CVDމ o VgbJ'̽'c+e']eqWڹĒg2:YW8u{$#1f:! TCzCz20іxzj3e1*Wn sHY&ξh`@zO#⾭ ¥4}T(m/,~, &.$!< GV.m0*rY%Sk ?> [vfGL%'Q|BT@']`z3R x/Pٕ@^1^E$Nh#I`|aqDMXTwM1vbL>H-w|0M:=ʷx/|i I7wK.! }w8MaL0_ZB)fH1rfIPzAt^ )rf`\ &] cv\Π"KyO3H(PMUĮ.G'!RxG+ amX/ li`%@^3+*bнqapu'Z5Ja7gaP(1 V SYЭ`Ń-UF2mtjɢD;̀q,өPLR,B&xG$Pc%Zd.$c+/ܣB 6oć6د;pcR'aWMX`^}o<W:I_JC#hZri)8] n8pt䩥Ibx(  I(c;PG~OA~z v$ÉD1G6ߜ}ScܗJ`&uִjԉ,wpܰ Ld- MB(GҀ(teB*k> 3KG!B&棰G(t}]Q,Qx> nqvBE: {Q&QSGb(Dt" qbT5|~:G/Y: |x$dtb$tOBI'f$KUS [`I"e!_&h9qL([7&jYs .OT1J_^1)̶) Fм)MݔOcSn٩HDڄ)N1)aWBW̡׼)'{`oiONuYڱ'gr=ۓrړTޓz'={rNj|OyOR$$&=a=I螄`ޓPʮCeޓ'=dR7 P70s -*Id&պHfߘO%Q덡hˁBc2Bı oxXXU|eN|f5q׆g֙UCq%+a~`Ɲ%h4]G->Ogu .I^Al T Yaa"^1 bssn> *E 81A cJRhY;&B(L] R/q'͏PNM(>Ȉ4E6avDJsb\5 aʡ0ұ1܆$D,\\`jXb:6)al"dM%*wӇ| hrՃ*`?Su]{LXg|Ef 1 >5cl?.cj!ƢACwKw%Laّ AFb46roSSQ)cB(aU,oJޛ` Z_'^ʘڌqv`[(2Fq5U׭u~R?bq+݃ KMNp9E07t*xk1PAp+ 'ڐSE5 >>x7`%?az݀z5 \ ]35w-Q+wÀn9=)4"`wC#m"ֻxP?v748!<eDr7.ۑ[ULP|H  _ā wC~Iwg!Dn0Xn> [\4iCw(x z(C's0`Frzoq]I@D?V]reu\|5-1.1ngQƱ#!ngm\6aI0v@ !(Dz#VCcm2ZSALe\ uJ1:g/B8 td ?wʘʳD^Rj0Eg[K@ O|0ʐ(򃗓Weڅop(Kb6Għ]%-҈Z10eK臡lK.ڿSu @I-S"ʘ@밋d q-d8Z\ײ@ ^haLHVs?W@$! &e*\-s%Th>fO1*j 8DERؤ(bʒ D}gq?f5<0R/9;Pi6Lb5O10s%<(j.ZlkJ:;g+폊eǼm |=1sad>y*yuCad>C`dS` 9VfӛKIW[{BXX˥,o O8c9RO~]c'r$xB$:Fj |Wz Oͤ]瘛T󮕄ZJ11*֢,*z.:EZ,E[]u`z̀isRW/ ip- KVc‡P!?HMm0Mn~3ȇ6mnFk,EMYp]J$f[M!̓6"u38VoҨG;a;MoN xrw/og2L(u 8 É!oz#C;~٢EaXfݫÝt_j⦷4)hpR/8&n8+;R2t*xLTy/ d/4FbR?Po3!`K3Aa0BLs>CHoKIc5n9nD_ҫbM9F/= 9OT |oq)# E6AS_Dt6O%{7Yr7#0nv+@1j n_]?}5W$㽗a\~<-%oX#K14ch:gR}4> !" _1Qkh`V F8y4IQ˳GlѨcNGah<f+i9F1I%y4:Gk}{KSL"Aɵf8 oL>5ҍCf>-;Dg *hC*l|D@u84o#HG847=$v*'!-gR[|I%dHZu+q0J0k|M#Y4U8$BED1|1. ҵm1,~ MQbl}-r .Z^-!nJf0^*,=ʗJ(m*FWtO;1 Vb-g^Dﶃp g31&F=E5.hiUR,P)틘&U!Lj<[K,9!%t Y$PMa<)_Ąl>,P̳oE7yo>uhiÚ9TFvfhfnƼ6R߷_%{D"~}<+Bz%mvJBBeKD-C<wf7R?7}&׾}$C K!bHDL,+(bjnCV間^ǧwW2ߞHѤ>ȇَ`v Uq3Eߘ0Va?V&ǨQ2A< *qcfc\9ʂG)i^G.!fG&xj|cQ QkZ0!fXoLe2?j \.YFk{yVM1W_ c׾Zwk_+}0۟_ka7L\׾ r,qIĭ4cKcbg5ے$ԇk0y(Q fo0u $K~ޢy1xþbƞ<@Om7SȠ ~bf'd4zZ~Z_y30voLeKZv1GŤioL%ԲbR04v0^7PaJI贱^#M.s68djߕ~cG} >n>?ii)5C"8lġ4ICIa Rv0q Z@7x y3 $h*n?^21J0|L oUH /IX{T R]x}]7w0rHY|kjP)`y$ydNso 5}3n#<_T]Չg-oEϡT bf/jf!-ꥒbң0$cjJ5|Tz0`r͖`]" i5hNkBnK_1ؿJJZK0浾1V?a2T(YtcJJ+pjW χ*a2H]? f.ꌁ獇AG®;0Ũ¿`Gթܩ3E{޾$߄i tKTz ߆DZ[֐H׃pZ}:¬VMFn |62~Om J0RGR!(V"@RLԐ8] ~j>8ʈFoȲVd@̣2,kJ蟕jbNY$=Pǫ*B; `0ZBB !اY 7eDW7Ir0" YA(0:㶀%%.NLur8y`Iw5cݰ%^܁%|*$ E^A 4D$n  F 1Tbi#V2 d%0@~fd񋑿.N 8z`n|uI:(r !S6dR>B*y {^}_R\Ԙ80 )Y6ŕڪ;-Fރ>K|mپ:gC./d[#t)7_֤80C=Lg`ͦuwg"Qoa8*|;`Px sjH{Bq$+&LECX (uyo#=@*-84S`$qI\= r[<$ tQC (}/| )o,Q6UkuI|c -!-x!؜U bnAKA΂7Lͻ_1.ywLI(f )Џ;SB-#3gLb#0ǧKv 7eHvHM X0=mi[Ui_+b]U!@/FnF@xbpY߮-w8mQ̆wuUxr78d-29|OQ:&:޾]w-;`Cr+(wYoCg/:b:7 IWA ܨpV;a3(9`$A*[O"21PF;)D'6Ll sa1 f)o]lՃRA "JfVBiA1%0ׄ4XhĎb2S0]?~D-)¬\ ~`.j(=R0/|] ˫L#CF oܲqELW;SОY 3c\z'ݺF b&yz!LL @\Gȧt?]8m` `%/ľMJ"Y]o-݁yxӥKQfHIxd p$9w] #?OLsX\QJ*pha<$ nȡ +{R ь,%%d~75Ď"JLў#M39\n}\_*_؎$Gr]u.&`S!>MZC$D\gpaF>_T1J7'017k v /ezL{Z- gDYVS n'E) fqIu<Mad5XHAkԅ{KX`|#֠vELUch ZA[ x՚KL/nhE1njcz*4 UҊ^%W:bwhuӰ.zڙ:'7(]PCO7. JNW[Si:,b1y[B%a_؅fJb#EAwN0Qت`P:Y#-`Vz>w%VI'Ux &#m"TT=йj(n ]sv3'a.iZߘ!bSˊI-3p/E#"4}D7&j)&ZI6Lj}cRd`395~"0D%< #fN[Ixm,$(e#$;T, 8VN\-ղh:̢Y5q7%x0S-AvԠK FلSTb.إhwG͜k.фxEy2Y*wDf΂t^f:WB(v-Q".j -FW| ,J7S8.qOV b= YJ7<W*!O]Q{zWňl K:&j.% ] *za،$I- C͠-}tXܭL]؋ƍ˩etȞ m<^#PՍ4/Ag=( (qw·rHC=GO6Fqb*}pN-08PN(<Mz7%~۷b O ,$wи2 /AzML-dAA-Ht>'ofdmg#ě1{W;0]N7XקHf}:-˫b)Q/F2_d}XJ5RG2?X,CM,%B,&XJM,3e~LA{\ rPR/f;XJ`);KiwK!]f)mKi,aHNR: R^q->X R,(,`)]yb)y&R6R bc)mg4XKތ,Tl=(&1{ƎRDo6SFQCoSd̥Ǭh19&N1^ bp#ϛbfD#\Mg_ XMiaNBei|O̅ĘK 7ՀצdžaC~@E9E>fe-([1 m!zyCvS~[TPҲP5CV|e0wCn$0)jk_S}]XK?VCׅvlJs42d`V#au+:Ő?5>Z\DUl#LwPLŐF!RjWҤ0 '% {QL"NygrxTyZ LB(Aː6JiYuB~< RS7.τ̳FbKF˼eSlH>rhMgUH kN%YY{v1(\g5IE'$=H/RB;ќlf[V-RĜIt=Dvө0\k܎S̑M b'tْw-yzpKI92yU$OVbpK}D|>Y LW€YR,IKK]?^Y%LRRE ^b)/R`{YRVGf)Q'.nge)x=X -y(K Of)pP#}Jwx ~Sp/+<%LJUla7kf+[x[jb+[tVvbc+ي놗P2df|t1GȏUƙB4 7F)-ce|Jgj=_Q'!֘8^010{*Q_{pQ` c{ :lF>̠[^Xaia+d0e{4VKDh{Ř>s?i.D@\̕03 KZJKLply}. = %qw N<#Rn!J v ^y⠚ȕN'/9%fġo"e뵝1:#ڌoWƢgQczKE_8ga6eRhdO* ¬ǿ  *F2z75d08x='a>7&Rt15}vĥQs&u7Lmi8 sSav35n > :[.zH}dDx/zK@LvYjmA3Kdu>Ρ:l'i_&d1Q0N֌#7&H^fd-& }$)DcX SYH1Q/TFmXm:w% Vl!b* :|ijt*AIK郸i]w;L])ͫ9-` ~^,/TvLeZMXEV7xHH}A# W 1asUG̈!Ֆæ)>dgqV<Go_}'1y 7#{ &O2*k%4,2(\ )5&LDX~![`E7-멬v73d4˜<.!-A8c:g_T 6{-$#=Z&&NXpM+LE -鬢0 Zcx@3Oz.[sY)w)c}7"Yt"Nx{݊v')|[ $.oQfiI %-nf}%qLgύUSr9,N'' [WzI"'2fCL~-݆!g5!p7o+L8%'ZF\2D%H|p~X%\h Ё;3yVג^zūo J>ll9 :=̓)V5nνh>R27*,~eF}laʼn\::J$  r") ޿ I@ɘ:UuH~P]t#j]! ,|b9K\N,{`4v-%󂚠mF Tç-$'Tӈh'DWVch2LuŠ1Zfz.# I1\;:JlnjgU J jyQ纅Y 5zր{;}7&<Gš>K6W- 6t~_S0~\y0b0 !_Tu*8&Sq6*Q iAs(qK mbfLq 35P=#䄗( ө,3|3F "0eς">Wi(SNO%͌Y SEQ`|b g=J0&Z@WVc8Li@!!oUrW͞n`FĐ^mu'c_6 ⥥;aϰ,bM& ̰9Sc&l.~a\=a0n)AR PD)(2G?_} vV8&m!_0 (y)uv0()yDMuMԉvbboBZL>~:m_ LV d`< @_=ݙ-3RGH 8u#./;~M?m6t48l9VǸJ=ÊId{񦉞/8 aI-~UޚC?H/ytMa,Γ$d"wk\ +ϊcvÉb';qt~2&lWtLrx!Tu C!Dqɰ1otHecXKfN>9.%q LϢlOY-6ȉ#.%񯪷y޷A?_+,>Le y0k& zT @ L4zyL4 LKЀ<ۤy'Հl)3k`A/%z:$ɇrd$`ՀF4 +WE2 E-sRِc|[vS7x@b.D@*yBh{H}*@0oM Q<9;bo17IyUQ-׿zDk_qqǜ^u5ĹP#`LxrBA\Fh$cz'$ULfgvyj0I0CΘ;;)Cǚ Ä1iq6"%e~-I2!eFR%e5I2Z )C )!SXoL2ؚG/r6@1~ [L˻e4->^XZ"ǐ1{9} ?Hu0mɯ1lL!c4z%0 Ӽ)d m{yCNv߯kbQ)&] c׺MAuЦkZ_ y3_: ׵nKSÞqqƵ09"RqDh< 0[Je#D Jge)3/ fʁ%6Z-p܎Wہy؋Ko-)uPiYt|ctflj"1 z`s-Ph3_5k/ do9  x1p˕rI\[08EvL+4M%K8O4 šG|4֠XRR 8VqRW[tb@_RVcc2ߧ IF?itW %n_aW<8V -$q(^Y`LPA')^+a7=S8F)xgp3EcUz`rLQns ٲ涻{oZe680Fߦ0 _IKb!% _?)|铱QA˞uk _}P3Q8N k>)|pp8O}0E/O 멄ShPa—P8/Uk(|p=SA1 _xQ)Q"l83Ԭ AK 7j}cbAIÌZoLgfgM6hf]T4zÑjL<U4E(љig0сVbŕ" ŞAK-6$i+epR5܄z۸v1`br=mJOC*jQ~K $1%KRmȬر Ӥ[7 ,o)*qD2ȧ؟"$Ga @VLR!/% m=r vK\<9a%nAEB4bXK7,Q2(%6 V>!FU )"V/QS[žT5̩wi4d 5<%~4\9%;,ǧya8:Y DS"Z׃-50o{sؗ 6: {k QygYd!wcȣ r?C( ޒ 0pF*oH62>f K {a[8xaa >m\&b&IKvA}}k3T\%q :c?+,f@yeݖ!Gp`"nf'B/oY7oN4b,% lKPU[AϠ.w[q dW2P+UM}9r+v뭤>[)$avq-[N??Boik0ba;ߚ8Ypw/ Cp)1X.VãE74hRQf'cŎY;]E#Zߘb>5XoL\I0k(` 3+NK/"@&FDp>  t@ , h'hr[3@qc-8_ 1 &Fv+lIH-M01LDj]X>\xea_Hʏ{Lnk'v|/1yA~À0S[]ϮlbH K|rT!7hU4pO`V,8$ni͈ih so O{1=2D cʬ\u7`ORSz^7s03FÔ&lXNQVa!(VLԑ4nf N_U̺]:]e,c5| ݹN '۝dLخv clwvgIva"]ܸ50خaq]Kla&rloxflʛ45YO^lwΓ5ٮ!u9lv]fJl`1;[b~9kkgl`' is?a^[::$EZ"&В }F׿rWV46"CGiĵz%2Fj4fٻmNt/_뾏臬i LU\MV桘+ò*?_>jafr ]`~m6U) fR$W 7%e;z(>Xc2xDNm`1V{` ^t3Wb)OJtVcb{+~e+uR8Xwf{/V*b處0J!B@ Vkag/2VgV^m#RF&m𥓴!&e~ıIa'm(i6H$" 3i ҆(AچQF2iH\zy y҆v6|2iw.vaL> NڎQ҆IkHC36IFڥL O҆kc&m=NڎYFiYH*6gҶ368H$c%ҦzŤK-1Zߘ$Aͣ W}B`g SDΩ\Pg-&TWhUrAF3Vt#{L R!b*(hp,y J` S1rZݠ ZOGֳ kz6_Zς5Yk= z xǨֳ `^ZEQ>>Tz*&sVeGt>ɅܱHq /}.Sg |m@Mf7pXssCU5_IA檿Me8A`58W4$Pp'F !z2BE`0_m &N 5 R!0sG)6؄WI9'-c<ÃCBf܊@$`}t׵34}VyIf VQ0E9֕70{u:'J`) ^UuMm0+1`L` ,mJцD cfa콀%*jR`bo<!@6z]&Rk\V%6N10yxn"  #-G׷rrbcZo?eG7m{KE|1AX<>[Lnv1VueBLL#F 'a`ņ |_1mK2hw:B'W:|F(Vd p;|6!5ː 7[P0[k 5>{ÅlJF:^ SC0$dC"ĥYGE_4WƳk:|uj$DaC>/J՘#|jHE#gd/빰R)[|S]isa֌;jH|K@ftk4 2!|.k3+NESzy0x$Ev.TiNeJ/aq /77#t+,-+(R>cv"L u: t9{0CsJK?Rn_F 퇗B 󵿸p칻qwؼ 8[?0ud̳a#럯Sn!U9phN *ц9|+qkf/1i =4r 3{18؋ceLVePI{1ً!`PW3N|nL q#nAFQjc 5#~ Lj&޿<0C s3$0e(5fg`p`ڀ~?ۻcX$1*7M`4'==]l 75/ 7ӰPn9@MlG[ 7{IсjEej Z`":\1/9Q!l(p ~%>Rz)+6Z^Ɓ'È ջC03/`1@eIHG\ cd-uH|e9Aʩ1a4ˀ*QX=T:'U ETv:?׌V)C$-3$@XAZ;˃cu1i 3h70. "]j1tȍo@ݼm>s!1ŧ5E +-(F P'>)52"gRM160*G7"ߙF0q0пI2yF-b1o nG WϺ"9t񏄸p%h5DX<*ފYEfu5l<_?"1fפo!slY.iٸW'cĘZ ,0O_+0zepeF V\}pi I[IF/BA5rlq`˵a~K6(T@1|S1m1L70LtX8c1+v`xRjr#e27..&Ԟ˿]? 907 N)5lGYކ5(d1B5wl~ڥ%Fώ'8cEx h+B}G2\|huof0 RgJ ZBdܤWR2sfY\N~FOQ\׼tsQX^yXVkO+SF^~&kŒUsw*18 H΀Ve2K竟@(Bt'VfP;üyk:c+IpMxK c<}F W`'D SHV߂1r/FRynԸe&xMEu Ǡ6A˾AlPzJL>#GpWa= `!Sk*m ;{a*3 ?09Ԃar]RzfBzFL:fN4o[;̝$W?.UO9a `R [2Zooh ]tFgS}o`쓓=KNK?2/RvgZ%39`p?"coJvFz)-$TX2*wz:'|bsp T=NxÀ܅1"R?=hNFWUXe6,` Syb]Ht.B|1wB0.T|!L嬁&)Ъcbz;#-ǩK8i%Lܴu=iᮃZ{xWE-M,3. FDanJnjK,GU#?Lqm'Dds Ue[107;5<%ڞGr,om1o)q*|clŪZAr1`t X@JS%M&V.!ނ rf咽8k_3֮[,,vi0צ-QGr%mGȀmH 36u.tս q8ȃjPW k}c0 *ҏZI+212zI2*WhMA1VvKw4X-yx t7y6 gS\Xip+OF$+Ϧb̽ݦ7`GN֩|YզH:*J\dQ .[F~Q06[ߘTW~oäy)!cJtm8:m[&gS''7D;̨ɻ%ǂ09\_ Uo$/Au0 ⽿=Kޯ7qmܞq?M`9%D5] Zx_#mT5 吰} ZjBq^D3%hM];!7'pO7 <օ:JNl%"L3A+0{Jrzp[:~ ӼD=&Uw|B+O{ŀ[IتF€q`2mcbom䯽3 2TIK<סLd0x%h'隘Νaua*sOZwg /Cft{H0{ #G[C'G륕Xeqxs3BKӾ:hך~FƉ,F.!csIsѪˌS7m(,vvcxod#SĊ%"Axu9ɏ (O\wH0v~lɝ!3yaWzRgpPbJR_Yo+I}HOgCҮ'󤾲3'Q%Ɠ@O82>^7ƨ'A='b~ !R?is_CکwF tݤxi@ID4Hb-k%00",CVs/-&ئm<2B!}m>Ma0?ȨC#(:7~ga[+܋\w_a.qܼE<tOHЅ(7 +"D.+Tz#V&XhSmR]R$0?g>~n NVf_.7^h@ݹ~äZS[, Z l>ڈaxfZlPN !:_>bi DK7:N˰PhlsdS؎98|V/&pNlcĄN ~Y04ȉ^0EsZd -Cy 2!Q.h}=Gh*R1&yb*BEM Lb<=|bJs[;;bNsfX1MZzwaGb֟-8ZqRk^?/rwyͻ#*ˆn}kev'k`N?"Q.dA4y bߵᓗe0<)hWTӈcsA^%솻2X@W"ǜ|sj1UAsN6AC{#$.w>4q9~9㐝o u"vqnP ,$G"ꝗhҜՀx"ø9ntͫBj^&輝rM)A=q0b%shx 2Lt 1Z -(&ztjVBՖ'1u9_*7/WBfTΫ-`܀YunXKjVj,0)J ~p2g,>ڢ]_^A/^wuHe F)0]fs*k9rG]_\!)Iwf!*tt,܎^9PᨵMvC/d=Axa!;ѤaD: <lM}Q 6 Ҳ69Gԣ'Ee\PH`&=7jCWNKr!TLPh6x3^u!p星Av޼'j/y5B?''8|h'14񂅀W x7dÉ wk-y([ D醙Tcz;PTi"C@5$wLch ~j0σV YֻؚGi'h)_T2AX ]k0Ϣns0b@LeE- 8Z 'Ot ^|Zpc};;0i"quObuB[`|rai(x8 ?k_dSN<.zfRj'&V1F~E q`t\1`G{ykxkUCԆ5ZPANqޛL.vN`lrb wXbɌAe+p CK0)F;'Vߓ94 -n`ԔLadb⛟ov6 ԬȚf7?1֬G,kBJV( su;a@e(j0X`CR HA(>.qBQ[ER^)dώ;}'nh0f  ޾hYy`]w<,^Us ARH8L}ώ>rb4¸iitWQ1*"/`%?):]*0܄ c^osdT'"ܹVp\ٹةL YxG= }{Ѝa$4d ~Rc\9qK7pHKLpb@L.B1&r*1>d$PFgya_wiQ(=el01r ~qBF"kg80&n/y:LNDdf'nӄ'Qݿ&13m ;p}}dB`/G!j#v(H,GS⩖"Hbe~б !02ˑ>0% AO0nO!!ɲj͓PO۴rh`PaL9ĕlV-vPc⾲>C9 _V >.W^~S=rRCC=|.W^˄zhS\]K=5xCC=L z(/*zh(bB=4άP]S 07C rgdž@֬YC=TL{Vȧp\rI-DŽZ`\9p*wo՞AŌ\B*2Pv42g/9YrPUr`3fA8&F.xϕZ5к+B$arQfS3S=wGﵮ8ʁcT9@<'Zt堖sZ8l1TJ[p\nm/8M1QP9aJ"ȣߊKǨOD'i3+ 5]ێUd s/|xw2mS<&ctmmtq0h0zzo` ~ב ?=|AA,I}rOuԇTqyO9TPj/2eQ.Ѳ`̝aT}l?3iTዐsԇt/2aV*ST>վ|OǑԧ W>9kK+cT}}>ԧ')KyOɉB}rէiOӫ"3fa-oI|>a7֓xA|1ӗּćgfo⃇5,Oc"񍓉o'ѧA|G&>~gpsE cćtI|LJ _">J|z NF_ ss9wHGq+hTet5[#뤑H0L?WQQ`RYD6Kfq!YZTk3FrSu]yX ϠK#f6A`nTWO=3+^䒴 ٗȃزhG:di8ǀjppQ 7~%ID9!%:gvI8l!_^>ǡgĆ9b[aJO`+F,:AlD+ om¶+C.&ΡxELKf=r&LK,[TܻyN\9/+>&Ʀ_ c"dBa͝Ԗj,!x#!-CX?4SoKV xaR8 m:&N%N]pMT^wTw4\CǙʔZaYCԬzsZ&:Ř^yCC(9^pcWS;egfz̏':E^whw^xzՑz X:Cs^|¡)z]TWXBzz:Nhb+qC"gp1dnbb GP}Qbx['6dj NmN甫I/ 8e5N^k[NC8FiabSzާ$=k{JO]zƤ'\z֚gOsILj)=}(αSz:)=\ =nlQJ9 m#7rY݅TjX*1H3`,{TF|'4~͟ZDŇ$| k*ؕ+pw > ipWoik3.jA_̛)Oҥ'%{G<-@By6nPcp ?ж-( ;@bH1n#UM7V]80-]K ~PmdYH!t :)(| =Z,_MV(JҶc~FOZ) _L2B?ZwJ,7k}bcaVz#?n| Lgds0W%OĐ##~mXMq+ }%qW%s 9 .dij!0[kjhx045JL0r sߠ 5̷8ѣ1;lq$C0gn%.upm3\ɸ&ݭr|Jb;-dF[,J7@a0u l[o>8:sb]ݪ奕u9&LH 7G m'%gH'_Nky/ҰTb0£ 'NT29D0.Ĝ_ԨvFBf\ U͸15*@%htj)Y&3 &2d~ǼwZ$fu~fY ڽmɼ1܉Wu L ^=\ e!.bI8tS*/Z:&w c!(&AH?QỌ 0K;#6iDpEyʹQy3m0 @+cz&{erI7bPHtReNXߵ8L\dak<P1'X%bp0(cY?9 q,;g pyuOYdI| R,CB'°dIEU΂zrʃza,]K,PZe F,Y},C~gY0T՝@o38Әr8F9 G 2Ó%΂7O2zR2$ns8 rfa%89gym/r[Dnl9FfqR~bϰ)f OJG0? Ӷe5Z, <[0-Babn~~x7ˏ@ت{۟jfh/1LG&9Lk9L~AOL&ćI4d};!>EIDM9F 1ow"s LLd\َ9x▣`0]mTpaXOcT]`*ρMl<Hc0ఫ uQvu@H{'uWGՅ3s. CuC F̀ Qqۮ/$zLvOw ^n(/ph3}@SpK&EV}uaN7mS{,Յ%փ;穜+i\[_Ŵf'hõ 16m!0-!iL[8𲢮hA$YpFUE* W"B,8F{:CUsS^BI /SޛKµcώ$ϬL70&'&k{{g0ΧDocnzO%9y.:pybxSt R9D ]B+A  /F۶x3x=Y|cGpCs~Iꘞc9l$EI>.9ݽX<;c)i6t¿LbG´uwD +G9Uſoil$Fk# ^DOQ 3$NR *};11x{F1Y k>hNs6%jp:,KW%a;k YgD1SnoތKOW EoT\mgTi iQfꯘX*| V)'&nz:>ixnʤpu[j{ eOy{+WfEÚ}a +UͮKt% : DrD ӡBaݩ"3&}0|X58rb: '2 Z̭B-&@y3B@4Z1> &1w50 ks¼Y2c~f6 {]nbk:O.r |YTbT&eN| ;vԐ|}^ CT q]3#5~|>>1i>_C*T9[U]GU$sa$-kTO)& FW[EY|^CHTap$kLJ |Byr„!Zczx'=?&wsm gٓa h; )+u.iFib`.TzFhٳ !}z iCyMZSy:m`5۵kLZzH&1zar?$'F"Z3|z+Ǟ>47dsX'h]Nᗿmc*,?3ݘ"  Qsn#nh/Ap5Kaؐ? s˓+c+4eH +ђ 7Db{HP dnTbQK! <.fa4&iǰmTnd܊V0#U, SW`UOa[hGhz5M1rm2Dy ƐaK2V:+< ?&sfj@hA0CCIwqa܊pi)urJ6xmyUQ@u}Ls 'V+38>?AT^b"eQ1iOL n,o`җ'm 54CQaHTUvIO*J]5Ė#%T?1E,s عaZO |O4RWsDW/BO.7k(:u^ԥMzLZuV1[\ zJ7)G͢ߡ*bz7u'-s28^Wiq L'lx6ԕxJ6$qTfr R?# j\֣\B.k]צAk-0"U9\ɬZ5\Hsc"˦)0DcqqT7,-'( D薔1/a*t >qcA=Cv*p(\ώaQ!N}tSmf4bOLTjt c6Ƅ$0b3i0hq^r:cԱ\bEL&60L& tI1J˰xH(fsbL|Fcܶ $pCPT3x6'6gCZšTiNxa(0i48읁{gC"+ 2w+Cw tb$7Κӆ8At|btҷwS }5S=a;S<+ F<}RZEg,}!zMxbF u>rr64ձ ߹ݙAҥC4T(T$D0 cwӸ3̷A/hq((&sk:Ul|e&3;OFe ?Pc6ݎoHG&J#a 9?h:"E/1/`zØ13ӗ4* ێ8{ov5abQX#Ͼ| .ZҒ cZro9ݴkk$-D%6tvt]6v=#󏉒pL`LIϑMl;qҝr%|: /E(LGMRcqjiGie5˺0!Uv/-cK[CMFA.MѢ#D;xzwS:L[+q' <3iǯNR>N a7LE,d"!cn|B24|gI:9c$1Vmg!0)h9eFOoYQ[e;St(WLctzc9e~Z!BA;s r3cnj;I:Fܟ`XcFET-aRA#fk+9I>1aT_6k`6j}bT4c\*LHRaJ $*RCC1dOL܍kc]j/0>xK7l߻0_ba~!S,,f ́)m 3 -^.| C,LJ %K,a~LiT&wsܙh}IQ4>;hgGl$݇qfp/-53sfz~S0z}<5-ʭw8Z5$$*fT@b3 ^ZH|!p-C(k1JhM7$& rTp1 \(&|MB4tic!DC/JE>]K,.   ,K?łٲ>Ql!D!n|&xm j.(4?G0\Uiq)h{Ipr L+K$gB6+ğ+TXb!<2ҥ G580b<uɇ2,ple {Z\ p /)s ngB1? /|,KQJn/5T34^.|sKEz14B!B#¢7a$d#[MD'F'*y-G: ~⦭Krw܄ W  װfXB9(YH%!yyCZ_R8bPz8#SzO{n3 *bI&`@ A%`McbFBFz=@,"r_q@g+I}s-cnK;0S@ fR_;5G]k'Oh@Mb"8@ LA,v`%`!a.V@C:F`Ok{^C N!_!5^f"cT"RS!.p^BV.muUvۤifwt^,NU}0WUZц2f㘟Ca{O·0i-X{i>: &ZOJKLuSL2(<58΍VQ6(7+A ħ{ifA馲gZ!!QՖrЏ&|q?0xVj>11w) ֿGy*P&$oC7ŶL hD`TNJdI[%]I1<2[Li 6w.QtzL|ÎV_ƍG=p]YIX͔<~x%NhĵXHĐSA1yYSt8b`7`f 'Rw>0x8^ҡq/oz78MaA?<owGչ3^^x_՜Qbr?F_-q?~E"Z:dm'kOMGA~A !r;JϗCٟ1 >_/a*_ԢvnOHxGO<ֽx*2bSUt=-/W)+V%JuKt8fN1S FhoqE&Yp.5I]7*^o[x#B/*f,s\>S OEs]F4HfYp뎂baĝts&4Jrm'`3Ăuҏzw*6Zw*FPdźAwc$ج;u&L7$|qAz[Zl7ᒘF 1!2|w N.4F}V jx90V {vcM5BI.zO ^;U)R"+ C'\8ŧN4K W %C%-2GUB\uU vDe\%tKq  J蕼iV1UO #BVV'0 yS1Lu q>08Fןz'JnPkl̮8 et_qffM$m!>1I“K"5;KmfLuKup=0} } s1?e3#/ Ԫa\ t mCG1V$lLzoEvo^$zNP6K.;CڷKPopі EI7:ބwإ}`D7qfbx /Jr(-30]E-d"oXCsB (]6F{ΐC},v-q#v j\w 4R `o yOJ*+?`o╘K/' ~4ߐ) k@VK3N.Oe~&_H:xH/^S[!14+e7grߐj)֚7C֏UcڡԸIJn)6^?Q`D7XfXv7 <\`&6W+qm)/~Sxbd~ ˓V1D#,5`㪁QƊm޺VqIU§cWjp0V(cH5VvkHk׃VMB2cEbX{O({e*W^+W[?c;{V䑔*WbU^aS]1]vu;#kag/ZAEߎ}!7(&s sSo ǠD0y; Lmk5'o1bqu<:!(J<9{=:h 7ǘh&Vu7$'% u`x-bfߣuC*yi`eJ>0xx3/v81]Mq0,j&f']$cz< |٘,x:̐v,"\<L6ɍ.|^hz b4쓊;6~àU3f"N LitːZa b|GFѰ L0Q aO׺X5n7*͉Kn  'yz?R0;|_ sCzKɀm|Ee.8'?cʪdJ\!)F}p%tDDPR 5 d*.8Zg^3M g ~z9T@N8'Y qnwExSp^kNZ;zkxwϘk&Vb>M!f<0U&ˆͻ`9{ps#q//UR wStɳWLV<ں%p}vf%4(D-m5oJkLX:>UWUVTwWzM|JoDwM*U5hĢ! SnĽ w} KzRSE QQ˵7`b76EˉhrUF5I[#l]`L{w`FL- 3:Y*e|!p]ӬZiA릶Cz*"`Vb 7UJ MC-F1X 9(7I$ 2@ e0~!=|S'a3WO[…C1G av+4;1\.dL0ݬg]aoaM؊7MZ:ܯ^` C=Py[ Zx/Xeצrz"`1*U 5yr $0~ 㕌.HU0=U XbpNZQKTIj # {]Z_cmk3Vebj5R%|NdӚs1Tha0ð_=:OQ[Z#ElCo睂 ZAV$Kպw?%֥ 57V~']- 5 HS"1>nƣ4.vلar7L fV;c 36N581pxTz!mO+[BRw=6%oh4l7cvb-0s6 p12y/1|Dj\|bJF%+ 4r1؊La #2 4v%yM҈s{x kjhcֹ OYe"5_5o .crsy<>[B{K۔; 7$yU! 1{o?BOc/N&8{ndoI NgL1& ڿ{Bw겖 Sx̼s,xfLgj]^# v^CDF*1j"j8ڜ  (VkYB]$ "cWrT덉DXOջ j80њdj`I㿿=*s>]W oM~Sw`?~l#BVtp׺$a=|`:m~8V~,H|(?X/ZRz4=Am > {ެ>xȳ(y`!z$3_%?b0uRK ~\rw+w=,2ρuUye9'c @c1d MtDi{ ~x ,&CD}\3%n㖞~C#,$@XrKyAR%^xOL=K16_X)kNU0DrN%#ܿ;{7 g \3طc".Fk[8$| AMA;)neO&DU C%0'f9 /h/_uΰr`.+m0W|&3"4I1!c  ,W0Fm7+,q$hK-q3^hnMNt+E>NӁQ4ͳ˃zJMFhdX$-,42dH:0 fٹ`I$ LҾ|逄$LgM:2f Q c*||;P<㽆\=d{A`dÓn%ҬrlMn%iz3'_pخ^w/Z/_FN$7b|p;K%0r/\iz,sA&ۗ}ۗ5\ݗ+_58]BR_6bY5wr=/ ۗX7wܾ$/=w#9^@D+Wqޓr0%0^SʀŖ[NeOƜB91pg`pd+9B:k]]Y@Rwp$Ud8y*! fggxW )\1)W&q&wB \/5,g8j0eM=jlԶ> "qOTp݊y$75Kt{G r܍'qVDa'ȩ7XFpTqr>( $A lo%Y$ϐ/ВzOq-aqdx^r|J-Bg0i/@8Y{f˖D[uK U,ÖfM/pI#dUT{,BhiZʼnM NȪb.r(PB'^rqP2-e5]V|@ 9*mj%uQrNN 8$,MG [`f4E T'י~v.ݟ[U`TaNITqW-g$zCW)˘,,tswI%hL MPr*&KtDWq »KT)2EV<,WREMiQ SuY%9?̀pa*MZH;7 <^&Vw* 'j[|տ5&*aƫDN}tSCoP+./8J֪8fO3uj x/ȒMI0lThi+ T;%f@k%GcMdrqהIK"ܿA38$A\MŰ.z!i=yA!chݳte*)v@08OB0[eo'bF}m%^jzZy5 W*{b{YCV \m}%v2/S$?(bWAj_0D˃-1I M'Iy#L1 `e:Bx*"F8j@:uj232eW) ZY`tjJkFws6Cք 6c${QDװfN!9 ^?]wő،B !sAuu{=fK"u@u>N,nN|>11 x8CXZQ$<408ʠPt}zbJK=0#29NUWzȧ{[`~2Z䧸IUq1I*3s.E(@ iO@ Oe>ctDrQu'`;JHh Nz1*lwd D2 }!%u\\4[m73[aUòD/e'F)aY_vF ̩KiM hB)L 5u3B`l1m+b쌐0<#4DW%9#4]wL#K *zGJ7x{ 8iu=0k$*:Ƌ*EᐄW<(AIKf g𖭓`=*$ B`yu;LA2"vXhH6$9/484{Voqb|ch,+ѐT9W $j[2r^F C6vR#ێ̉Zv*_w[E+zOɲNxwER\9OZ}hFt$'!axbdqnY,ڐe)5艁Mҙɵ9'gX]1+:$nb՝L1IWWԐ0zlH.ۚ1ӱUV\2I>E i*lSԱ-) vO̒ +xyfjGJvr C`2;Ԅmm$`4dž7?fZ d;֟ @RƁ;`j-Tv6(!aNBtr(;/ 7+A{*$':m[jLxQ|h_0j&N>0fEOZo5+F 4:>%}BV|fEO573?{{ZU5[Pڐc?1BbTR!K/vC_:D!K/O犝̄Ct7_:DhgqTCteUtCD!#:Qcvo;&>>ٿķo_π:XoNޫSu?_xxuc j}Y^1wfY|K!v7L;qW<xsO woNLu5a!Ŭ] Qhц=ay)5SM8jq.g}Kv֖9bVQ81~ K-59iHJË$D!;ݻ*Y,ԉŻxp1,J<VMlaO`>@d5{N>bv]K Py9aR[ZwW͵>0#9ox} w6GQ9#up[tSRd)q$<58]& 9,-VlZjm.Vݯ1XF4RHbQG?4fY/]&DA"7/"0a BUle~ B]1,JMr/LU0ޭ1AM=Ƚb0b!xBlf}at،.Vf36SD hGuOA "SSWPLh@UF¬Ar$yq|B%)vm9OUHh{R 8Ë69QgY\m{9/` =rJ\0#4Cy zy |ÌwB(10(2 wH3z@,tkVųú*?_Re"@߃ s{1K@'HN嘧T ;K!912L [1_b@މ})dw/" F(cԶ ߘZUZ J_\G1!t! oU%+iWwN~QqnS@HEEr񍀰 U&`P-l%  !K=lLsa@2UX1r$"boa@ڣ]"bD#[TQ +f g#?UVN\&̯l,4[͟e<9wl7 aQLf0,F{ńDӽV1 C0 'Ĩ2` ,(ZŹi? zE]OBI CFoZ*' FX"ݔ A7>nlo7 h=iߢ^0 F!5 suqǻ5LlX Ans|9hAK ⫐!T ϊ|I1qZU]i-fφ"݆]ž ƐZs!Ia$+k!Z!q,O`oO<StpμU LŴ%ZiY0'#a[(:IbB A?W:aSd 9yJs[py,Lj̚hq1 㶡20৛g'JR-N7F%cuO8B=v\3շ]ށyǁ΍B#F#NsInz+Q%T.2ĠI@=;0OiIЅ-c#|lD{ZZt)Ƭz@1! [ gYn<@:yUnm"숐[:ߘ4]&])&_= <+WHWuP20Ʀ$AH^'k:&d/^yD{ ܌}I/,e~#p]I$h3|`b`v 3j6Sͷң)hc$pr;AXuӲDP}G K2S C.,߽T| kӤ"P*'0Zy80FkqBnC[X $+I8M`m_@rMC5^l85D;D2oL& ca `PZqH)@Nbāt-"@@ #9Gb-7&,|=;K^Zbg)H05kg!ViGucg)w>w ~6΂(S;Kᴳ #β1BDҼx,Ӵ/x?`_ G" VUx"}Q>n5)74E௪}1ckn\wϓyVϢO{+1^NjDž5(bZeP}ܸCGVX3i7|],T#xbIj ^î~4ؑG}[!I>Ҋ:]SC ˇ-+,Nb2vAj-e yn\cnCO;aߡ9ء{\A UC <= Kڡ>&_ E܋eڡi}!zw(.{f=Xs{V 62cT}8Oqn!ꋍ /6״LrK@ nE17ҭopZèb:>4BMwhKLdU^ll^ʋ&ԡk2`-f*`,ƖV%5%ظUW\zuB-6B[ %&_A>5S ؎WCm1P[,ji(Lk 6uE"r`f L֐t l S2+_W M\Vu:!ISx$Q(5$*wHTY%*̻De֠8gmI얷h҆վ .}&B>UKTZ,QLj :M4c͊n֔κI(Y7Vl|˳)O?:FZhz*̡Wg/'oLt]> 3ǑQ0 &%CZf#zQ% 0fVaҡ'z1U \7:#)CXY t5(JKp= ?_|\ɫp˾|emX0#K\}"T4uרIdhbjn!+V*vIbc)FA8Pk†.'0AgZ[j" <Tx0!h s!9;"0gz)8Vc(y߇w%:(EAà` *9 |H9p+TV76R mSQsg*!lG!RO, V Tp >W:i5 ? !n5HbK6Mⷩ@tXǞz0 *SR6c#'hthE6y7RHu>{w׀(m [shĦM1}Ia-Y$WA/֡c?2C;)bqK%\/ U'h:MC~Ng!9- a &,X+,th23!n_Hc`/T}cpe 0hto]t0lE/1}ʠ>_0W^`Kȩ1RkCl+ttH:O a0]jÎsD\yed8"-G!;aB.}# m&nID{ch~B.muD$Q\dzM "; ;FмN1E, A EI -.3FY`p83 13h|ӏ{b11: ߘ4 bH{6 1շ UÀI86ֆftߣ-ŪC[C(] sU͂6 CI :Bz, M{Vq8E!Cc'-A{=2A9 g!IiĠSCmp52ItEHv%81qO ̖&nLkS4%\t`YFLwnOoJ=sh1< Rn=80y#R԰x8>¢5xK䄫 ]NFQµT(:$9H[atR;a%Hl릳{k7Qw,YA1IP> yON U4NZD_L(b"ן:~R%>Fu+X' kSf~_HXڜ" 0qtecYʴߘx`p>0ld NSv/jz}_ظgkI=r/8Ư6t8tA ,/8&51>438͠Ƥ;0J2i/t%o!t_0[/IZIWEV<_0̽"1dz7{@( }9lh0PϯBDK-"XvZ=~ݟ8LRY!bL;1W:[/Dyh;P-amQvE;l Gm2Uyuddߘ$ 0!Ɏ$} AOZamQ_0fmpXᆁ:h_wn?1{oUôطtdܓD(tȒ]yuϪ|V(UbpܶCRt @o=Or.7a\0Ao1+s?=Ў< &qD/Lg(dDNO1%ZA:1 bWܿcP52!.!Zz&z|woք#ٙP+ZΕB|v68M)l_@RE ?GTH#* RhiA?(^bT ?_F glZxkC|d܊bR$M4Θ]aCJѸ$XiSBt DfŌ?1L)7%>;-. [ZQ [/8<%#.J=|oq=s!sQ V hTop̜a}W ˏqp*3/a|ޛ2oI+0{#Ʈ=-hp23μ hoHOoUtrpK//da/cR#?{-gn[1Q҃"RW=HVE`~Dʳo k}a4BYy&{[ͻ F-H"LyJ"P\"JV>Wuj 5> Ж'5Fo5x9WAl}3> 01y?4aN,CN F_X xz]ܺRq;ɫn! {pN*|y8]V*ј"=%h6pcΑSgT$ݨ8*&7 <}o JJ W#5@N%&5 p'gA (V`Sb%+ ƤRy!VP*#u:K?o'ٳ 09t2LC #{y+N*^s@S{8z;%#7{`Gcp)K;ZyiwVp$EB WbCV`O*OFA7 3乴Hr_eMjX"xV /P,TĢކZr̟b ӂ́m`(x'qx3'e9 '憅!8U.HP&.צ6`y.R\h~b7:m$rUhJ.B^BWV8rhnC?Xz!+lE\J06@*VL/LG'a$yKcpB+*1]Dazڊ.>'|Or%s-.~];c?˼?LvBc+d.!#XHzT_YH`Nޖs-/9m>J*';0NB/skWVg9I~xgf㡯oc ,1A;;-mQM=S.SU0mZZ9 FT̖'(Ǩ;}XH =+"O5}P|Lqغ샱FX:@҆v>ʱ#F3ƨKTR(, 3܀:FiRb¤%;#b_9 n`o2\Ӂ/;pyM wb)ʩ0;pO/;fǍ0ḷ΋~~p8* 8n`8?sA]DIwhB+xp\wT(7~J꡻0J) 8'-;Ra%L߄9 7Dģ#4ɐВ \ akG5 ĎbLi9oɕOvBPviBS|Yͳs2C/;'hfhKV`4$gGzCOb2d|-֟DDBx2ID/CȆ2AP͔a %E@K?}$Ս>c4sUysU8:f;h;W5qUܓ3W 8*l)E?e\= sU:F*C$J 㥖sU8*;*UzoKLէ™c43!1:~bTv0USL՜g+~3UFn-y;[ Uxf zQ_u5zp(ϖX$"{וr^aǚ/yM0䭩vv7We q΋ y2yC27LS%oO=]8ʶL޶~F;y;={}yO>6iam#)9m:_mg m ;G.pL\n7&24z"H7&kje^':Unx-nJg ͞)1w*B7-n t<0Є6viA6;q2$eʷN%و1sQSuc?D}G&g/S}:Fuv]op9^_/gb8;lODZ7_!q)[k^-^bo1L7ǔr_ 5fi3/oѯǿvowo36̀}߯؈wnRC8$Kwv>C%| 1YI;u>1_a;^_v7oe ̏-g7I'5LϪo$n`0uY*Q# 'aЉYīI}qC1,8挏DM5矆IOY  ޥ1 :/0Lq/ 4Aɭ-o?f@'^e b.i* yv1 iq)%ٝ*C{m0];M F!fwPh&:!7L1pA=ֹ͙XE `e[b_I]-+|ᴏ;qĦ 40+*C& *g<7cLqC?79{.…i3G2{oD0[1Ja$ oBЖOF5$"j0O L?hS*aEsjwiAS˜Hw qE ]ء6YcB:M{g{$eӡZi`"> s_-0/,I.*v 38y jlp4FM! mXcpHgq.N[d Èua? 5FnX~fn>.GZR<6C 'a#I1QY ~APE0 w1޿im 9R#X ](t?bp7cpɌU~`UD5,vQbXu=x1a^'.%(0Cx9tck}2_*XdS,|̈́)><9' ,|c#BlgyKvg|aP같y}io;&uQk}cNOkLf1oRq `%r鸉?3g2aO柤q1F- d1|2oc|C -@%:C u7SODŽғ7Q AfޫeF.t!3 #z7.#zR >=U82$"MZL#FC; 罬w̿p aHNo΅+iLEۣ3G17!<x**kigB yRkj)%EGԄ zrv[K,uBdOGq%<^Kg! ?b2AYg*J2XeY~NqR},apSxN%u})K_K3/L{7K竗LQWğ-u1^I +Ѧo7&6 2P1|CYp<;*fB 5TS%h t E_NF#qDR=gK:;.i5Z5uM5]Pn]|x9K՗=1]#, .8eWu5t i;F}bTwIJ 3bHK/8[VU1 =#5 mJ0 F(2]!;^{+Qsp JVי$V3p"뼜t#4ܡqCeM9&*:B>4~Oࣜ1rw šʢ%+I^Bn?&X6zŸyhH3aZvS8Mb$`J[gz*mÕ΋Hv`d(cCV'й,pF/tJ"qc8r8ff\` dEK5N'J `ٟ/*"Ҳږ.- ȧ@l%jT*w$jM¤U*H(*سcg17ƟU#*+&C%mu&SW|VAڳJ`N'9L5 -v*a6ecRJԙt">Ҋ\*!I1]~2-ѬWg a+vI7 SuI*/!UR;ei*`C p7Ic,VktxӨZ]ċV*{581ز7ݖ`5p u2[B1+bu0>{z _*јzb3{򙄡H%F/ S$n`dAU վ%e CfaT1p 2$ QJPW"xO~s ĽCb O$9K+K>1hnA,խbЧ+q"AdD^uՎd&3xw>ȓ+U".>]m $屘X_Xqm/Z5%ma LUߜ"0hsV1Ѓ_`7`\cgl뤝w79lGok/? $vKGY7bQ7V"<%P~߀`̘]a>ËPnGKvb$t, D߅+^Sᇿo Yϰ5`u[I~z X@ Jv9e߀4II>!eʎDt|vm>)YTdqGש\Q+r .J<-,a{s?F_} iKޓs2e1gҳq!=.`{0F<=>3O?kd%nj{P0yHtEՂѿgL01G!FJ`uyl8q*A'Cȃ/×l/3.T5;,xS{@n6KM }q 3{'ydwuUwT~4=? a%{9J >lr9~eM9F7- rS!^0Y:F%|Fn5Rbʓ$ԁavr\:c"j5Km 8ETBgL6S- bKt[NFG"(3f B SRCIsoNF;?f@L(- O1lqplퟆ15Skf;o`pbI3&�SկvML摆qNPWL]&6c`7tϏ|izb{=u}pI7Db71i8z˟ϖȗ^b=G tbkNLdt"`3\*I7 M'&w`&r&8s  ^%h:1!w竗Bvk6#bhMݴ26-՞M[%CoڪW1۴,ic֑7-Ү upl1mZ(ئu*L^g+}XabhyRW/]fo9{;5{gf7=͞#TqDKAS>¸6mclw#Nlag <:ZN_0L=#r b&ރtEd0Qc)3ZÀ{'=L%.UB3( 02Apya䎈 zG 7#Kw(]H&w!}q?pJx"Zܩ8ͽTD]Lܝyws1_Poue["_g3qt8Z5_pϱ{>s DD&1J=mgꙫ}Pՙzn/a8Ɩsť<%S\u^ԃ0 dP\_O!L "oLe O}^P^<,?uVN86 $-A s֊ӡXlꥢUoQaוKŶ]k{ ӌ㳎QVb_0VcmĖE\}'%K&ZalhU1J `5`m{+Ǐ 3xH?w 8Fo_[ijX)5~U >~36U]D\?aVQY fٵK 3 O% ϊL``f"Q e1CsT0Z(ЛYy1+BbU~b RXyK!#c+閭A- endstream endobj 503 0 obj << /Length 1531 /Filter /FlateDecode >> stream xڍW[6~?"J˒o}0tC!NAVN<8VjɄﻫ]F($V{ӷ\E.JZWfwFɻwV:i}E/di-͹u[<ߚ}rJ\Haki\eyQi!?_~YYV"7̔]UTl}p`kV ΍f1D0{Zwnx85ˬs'$,쀤0N>ɳncXI}%U"s2mȢ0lE %D C(P@D]DLDjCBtt㏤=gFa؜-[OM;Z-;b0R̭deTۡˤP%Q n HFSJ4&`-[-zhF.;Mso66Ww<2 iY ӄ qe%yA@aP 8#E "BakXak|?H1Rdg7fLnxxHU3R&ݽu-Zt-nk\,p4NT 3 9(c!lHct"׊'~DQ,1PE : ySZݺe.q{aai\8 XQja}[Qq4GÒ$|dmXʇ4Omoo [ͳ$ٞ &HiSkۯek#^yiQS@LgdBjm,M<1aBǾkRGx~J0?R<kbg5gl>8=x#RٟfZĵeفvWOp z覲>e7*@uE2 1,ZbX1ݙ#'JpWNYBk("\&UV 8~qx?Wk_:aMyruuN$n^Oo\ʁJd˭Gghz[x\c >PE\#Sn;D"}D:37cwO{Yo5uT|c|`;BXz}jn&b:oZ䦐MޥT)j'!eUW;INt?I")~:l=ڞVgˤLGĤeGf44' cUe"˫e>s/=-h؍9Fk endstream endobj 507 0 obj << /Length 1312 /Filter /FlateDecode >> stream xڥWmo6_"*V}H5Eb"%: I͆y,rb ǻ GFY0EQ9 ,WޏxwyBɗgdD? 22ZֻXZ39FQE'8NWk5_J*&0IGfO~\Ɠ0^C7Ӯ $ӿA$MI7.UbJqQM@{=uL R5Ćk$կAr dnSܾjtvH-Õ#wFArs.oobwDk-!DW\sZ\d}'@5>ğYߖϺPZ2)ysELִ)az+]LnOg+ s*&+qףUDM Y4Qk.ŚFx%Dj03þh*|n,6̂ѲPhԗbx*r:d ^KQ3;tκ5u~+Ixo7Z݊׾zW.\7Ze|EhxZt#m>F`uJ2(V9N"j܃iɗ%s QPĻG 7aI8raL@5Wdi_h'"~,f1d0r8)\P2}{3 pFA wVȤԤMj6ڼ&#=̀:Aƫ*JRjdcL!IY[l$*i~BJj!$Ӭ=eX5=`%(㍉u޾6oa!9~i(8ƙM{\-pi2b, m~]kO6 gːz%0vpj2gQ]eV_o:i5kCAd$xG&l콏-y4=\nW/߿cS R!>RD"e $k0kB ?1UрQбR=z@[u$G> stream xڍYF\9܇IC4%cF}KdkEx!9G]8]"}; EUo<3WVq~s0\:یEwַ*\o/ _LYo~,: $dgwh%r^tCv#lV/aoh&3GӪC0:FS6SFF_`'Z V喛A(ysǏ?]_n~f<4bqBQi%^8nG{#^{_?G=%:-huO<_%N׃*NxBWӸgtF5"BT~_]^pDVr=wJ xtUxTQT~/đvojQW=my+r립:+٥Ţl^B"{=c=y9i,huy>yN`^:r 3%-# =O10 DQE& riGZM`*1Co"tŜtc z_3&#EtL dt?} @(IMŤ#4(ѵ{ j]kks!g\M);o! S!UV)Hie 6{~6vz o`>_(5u%~ހ7?$g}Iz19c/;xy+t|.ҳUmUje4𽞱dž5A۠zir<ۃGG/T9=^bG~ԳAȦn`} MxCȱ쁕B(NJJQ[)"G$ʑgU"mɬڀQZokBbgfΛCais5P'! zEJ"u爚ono_TgYRJeqxj/CU/hؿG%A{ǔAO0F.8.L:s=),̞(/ȍ8|M'н2y˴,dŠ!`jI]1t)5"&E%b$=2 {ʈ6i,}/'*Z^1eev/u&?Flyߨ !)43jodxM Jkf,PͿmg,"G֞YȀ] I,!~:Ž~mT0C0Dq"RE|WTaUJym pvBjRC:Y"&ga(TI.=k̈́\{,=b%zWxwjt w&k8缲A!VvR6 ?+8;3x–dNiFR04F1e=qxC.t5gO1KS+ N}4NJg4N_vAHl烞i:)r* E0(%n\ROm~}< endstream endobj 519 0 obj << /Length 2321 /Filter /FlateDecode >> stream xڭkoۺ{`Ś(Rߋ}H47C\)HLi,yz\7w9<,)ʣ>$E?6ysw&I}r=!f8`}A0a;flr꒺]NwdWd9wO'S!s5mIZIp20|ۖy1_yNX VfN^SYbuSt a,%TU?vl~uӹҷW2Pqi*$uA;ZIF{8IHvJZFzr29ē). `jS427wMm6oxSv9iHYz:k2dVڸ$/ $/Y5J̘"M8 #rW3P7MuZi,e0?#>w%?U UyAˤN122FFIE@uT}U](Ƣ']r=_+ -ށ rdlVmp~e1dֶ^t)]lF;~X5yh)\:UBb$=7g [<ȏAam@8Qw,eQԭ%x֏SC(xM\P-l3fCf'‹8"G@K G"KH0 9@9%{/e說4,K[J;@"\m̭n Jj9”Aj. 9U@'.>\ȓeHtN̹Ȋ~+,vzJ}x%s1]h(^)~A!h R`*3@a|' v$Tw-hGthҷ[p{ΰE $A75Uaz>5<²s0c$\:: i '!U.(<=`=$hsIE9AwuhB h(0kpOT_O;\Շ'`ܽ-Vü[j$K7P'~}R8>`a6+6b;zwF}|R֗ׄ9x }KM7/_7peIC7qPь>& ^jAPTLQ,7e[)fmvpUMT}Fwpy.z*DsNI]eݸ8 ֜lIh ŪkqG\ɘ+A%jxҤC鎾c]/g/ʟ}c޽=9ށp!J׫s0qMu`TiOq5S%%>cj@_'?BZ(YCXwYS^*N/$qBﯧRL8 Gi5c)]ܺc }ڻ`l6a/X 'ʞt3.w^U]f2^?Qz#ve"#z֭_HSW&;^N<*̠[JMnG7TR-[MKǠ#\]-#OsOga8ٯ!٧l"DK;Ϳ endstream endobj 523 0 obj << /Length 2030 /Filter /FlateDecode >> stream xڕXmo8_a8UQ,9␦M/wM8W4mQ0֋Ww3-EDyyfy7tgA:Knt=H)y<A\#R4x֪ގ'~8Ɵ}j;<%r>Vsz WȀ5}wr1x g"+BZ:/כf rCV= hˤJuJT5F*hdt}DA"o>)~ehQZ\^/z{3?8+.u[+Ÿ٘šr4VI!Lly48N|9%*s\_O޿}ltRf/(<(N2ӥB҄8&+9fB'ȴTef jVdʜ*k%Z]x](>2v^@*&YtT'SUIS7Y 3>`RaQ mu;TsQUg[R5g;cENdX*'ʯCN|YY$أ;4.#V,rLgaʪ-!RbDNQz;mt0<5 v6 A#Da)N(d( aUY~T`u74T@xXfmpC rah-ŦE'n@e@Q-E3j;f*ш@B>eՐM{V2jgHZ8x5=Aقw5CLSC#mbˮN}SP@b3h)ShBĥ DT%&==a-KHƆܣ[h;w˞oLgÌ䇥ḇm̿Q'^զٞw.@HP_`M%`X]؁<{J!WCu:MH-t"*Ӱ;-#9k ʂŲ -=¡ww xB$)Ab#2 -%mjyo3L(m{i b fTpL.gsX1',jKţk؉cľv-~*4rߩx@%7} }Wz7<[5jھ`pf왶_`aHQZїa#[/$=Yu պL4/x:Vخ@GM`Sc >6) PfHQb}pv\ާХL̺a7o`>6!Xb¡^H9Eߥ&hv$c@ɁVxi@AvZFRDƭlJqPÏۘ}AroYda} $=ύbؖ{r> :^A<b #WZM pǤw7IWؿs:Z1nEIgsX ؔ U[u]b=&aP l鴋z;$$rA~gU$PZt%;9ggހLm-0˾ .uّfГC*de375ZΞazej}cLh80}?^7{m5Y*fg"å;=/~9=yw]ncNmGXV#$ʃB,>:<+𥉉N߿RAyCTx%w}etӷ/_uO&Kz endstream endobj 527 0 obj << /Length 1069 /Filter /FlateDecode >> stream xVKo6WlsX(R/=ll7IAFچ!ҖPVSǙoM<$&n"|}Rfp_`<76-f:YZ*[v+K+I^jg;~};lh<d4>Mp|\qݨ6/^-u\oRU&o^52]X,e47#Z? Y^>ֵ*d[{*Qԩ.6HUTyz{9<8<8=3Bcz(n)>1W@Y 8S-jWwO {lTe?&q*3H*jkbԹ0iVq[)s1v}~ C7Au 5=L*;#bB ]f:t5QX}D׶[B"qMLI~1Ev{B~p\jׇv.?v6Z1H@'*l6Кc KB*zU5EFUZfH繦zګh/RZdXGc[ZN(Vef2#ap?\x'ې1 ;"7Ŏp (k%]l!dz~fza,mp oEwjC;zwf~zLQlVLR'V\u>O* gĢEiu<jg951؍CI=zbS#dHm"?ǙDN/2i(|X3Ѿm+#ŧQ>粘 #R9Ą{oҫC;=n_ #UcdO ǗR xycܡ_`el,*C}guM (((7g딅T v4!Rpx}vt=X0Pڀm¬nMF}Z3 ej #Zҿ%jren l8Bmwwsܶ<]b  endstream endobj 533 0 obj << /Length 2740 /Filter /FlateDecode >> stream xڽYo6b/N%Q77Wiq9y% J[I߼I^r4$3ÙLʃjx+jٮx'Jqpp<7]J8\7瓗Nyrf쯔q}x&HŁtg0wgk4l7](\bIy.?[^O[XObgSW1meArScbZeL=i=t,+lqX.J*T|CYlҮ] ZʊOEvLK8§ &+*}¡ϚUAT-HM:p,0rHj!(ZQ'8~^ŋ.^|X dD(3!{[!'vrm3)DXMHзBDRp,'sb.*-%+vɂw!eʐ'4-Y%0IU@S=vTp˩HK|[wŤ@"~r=<lU>J U D#x9~Wa>vMf[ .wx^ :z-9ƀMYW* 9=tJĵDYj@e? 06*A]Q"36t0LN9sTQ?8w1T$)PeBQhGTF#آAI`Wfҍx?Q8!/knA sQÆ^x8_xUeZ r^ 6! AQiGeTy达ƀ0d(9!KrEKQiKNdCAw(T?rT~s"hfØ0b țo퇫o~/Y`;5^@#cE[v h1 RrJ5y+kg:R=l8 endstream endobj 538 0 obj << /Length 2170 /Filter /FlateDecode >> stream xڵYKs6Whz)5c|T[Mڱkt&i cT}wEƔ@`X,>~$q& 'QaB7'`:v$du'Xgkmf:}bOguSo3/fĉ?W?,V݂rP-db &algǍpQFu=;9&lcq;N}.`AH}c9zIchYA)=}Ե4ox+j0zptZ`_b÷okQRз% [Џ#fhFZcn?%j 2jnl֚WBn$hZ/,<392=T$ y)kN^>6а3m--*]_at]ʜCZuDA˲VxIu-[b!#c L;҄ UuvH=_o jp! ˅ܖږ{%!%]XF:@FmHF )[|3Jwh6(ϒR [~j+ޑOIuQuSr9  fN~~<\cr="G & 7hY/.s^X(Lg.rp]Gh"sYR)#G YH@@NE@ڴ zp,}ra 2tJ?ӡvV-DUjr. c,_0ә0K,<)*'/ciwĞ%rRrء}yJl,I-2o\.߽ueµ LA f7w4GS>8Z*;L}\丗;%N{x(V2" W9[۷-@1n.б "%H 0Pq"u\q@} R79MeKf65%qi-ȱG ۺ>+ ⓮?2ʫb_c3|/UVwEURm"H[?ZH"Sj ^W("S1b1D` ySw@Q+d9@g0)B`.sIEΓ QlyÕ##Zx~Rh@P=:baVy7*>͖/ ; ͰЉj BG{XvG]عphe|M^hFЉ =LiӄrݮT;ax`S ݋Ev%}Y]T0z&t#z%Cf1#cS+95Si%ahhG+q}$8bK 2/P )@_#HQɝ -4AQC09ud Ϝ{+8zB4mXY oI ,x'Ǯړj7YDr> px)ZDtM%D7V0 >4ay4x!ix_ a_^/oȲgP CTf :L)=#4Yh pejxN/m4/.73vC_]5ay8rP# S1Zۂk'Aq^IφedcPR~׋Z> stream xZs6_5/=(jK$7:FblNhQ!v %Tzd.Ovi/kw}KcAzśrN~wi5^!+e0icTľ$r]g{o: +Z2-mew3W1VV)l7 7QH}9CD%5@'䓁Ԁ7ߢ6P%Yޚ p@pz <])YWE\՚α#v2OmI^@6V~?VxSd<0ZcJ'7OIQ19Gд^1ަ 1w材Gb_vڏ]͂ȼn$s08_ɗBiګ}.Q:Zgq@<$FvAd=A%v 0rxh=0 WǠ`)̓ڙYp@rdbm_$ "@G7o}hf3zrLWownG`ynZ9F~GJ?Ϯ9=D\2]Bip@+UePE5]FcX!+$Y&DFVZFU8] B2 yOKNv-,%f7ˋx5.+pav2BH0 =hocNouvӇMBk2SVTEi%[Za1%:.94}IQ|QFyiJ?Nx6~v6ٸqg?躿LIoF')h"F6z\Чi׶>B '%!:J:t.~iԮ I$Fʠ`^; C.YjI&U%xm$]s,lg ]?v/(~^NFhsʨJ\e87DZ&;A3},$F0ȿj*9)N>%0>٣d^3h; |A کG^pY >6]‚ǢpB(t͎jWu=(Ǿ<;B ƥ7ʾ nH@>r+}E6rlc.0j"2Q 4"&׆=4k;ft`ԿC֎@${|Sn(!!2KP)y.<4AqaݱbU.) $ɞaL]9mto=N//3; 1[R֊Z6 ] r]oMחCjW&"\>^O4BޓH7 WG+4! &aef|lC Gh4u4 i{C3gHk+yA.X[O!D`x.z\@iq1ݭ.N+%:RrԀz2%6p{^$#|(xZ"6)f|̶ ׆ϷD<ܒ"GJVʳz[Cx_!n "ۂ}ƘuZ s!`-x卙³C*8Ph4YNfk!Wg|l4gMٕ=-]`cѸ-K7 pxEd&,gL{ Wm3+]T몵--I(W ^]x7)Kץg*4@S_ ^pE5Ew]Ap_.J.Z2uXsz5D0I)Yw3< ΧܲQ<0[:#(e endstream endobj 546 0 obj << /Length 874 /Filter /FlateDecode >> stream xVs@_#1x5Z'` %0&w@ێ>vpoB-?j8w|1⻅ NZg)-J ,IZ*X_m& l,IƞRItEۧ?ܩp(PO9ܶ,e z{5\]/fa}dĨu҂ }Ի.x"8oljV4mƎIDQ{3d5eRRBIe1*dzH~DUaQm_*){OP10iGG͔9Ljj̵hS;= ]$ձȆaW凡JP6Ƽ8@@o1%턓$yVdqRCBͲ Bw]E8?bVP:TrGM>7D02IQq$ LJ N05 LF뿌S_ rjk0 Cɴ7z> A)xBj(Fg$CcӥfĂAۈl)1{ $_^j`* 0{Dp*^ 74̊h/Of| endstream endobj 550 0 obj << /Length 2744 /Filter /FlateDecode >> stream xڝYY۸~ڗPUM<+O;l)#bfKöק/P$E\4F1Իv yDx3_pyU^zy }šWrToϮ7P9Lԕuۅe)n]h'9͞TdU>^طțe蚢|aѺexfhc|uJ =4W:ho]&"\S.bA8 ޑ cg+ 1Z@ޭ [G 2f/e>Ri:qw%M͜gN:;LLڝmj\y"̶*x0f[8YZHoM?J2#c}a R=s(:ʗvc`K_Q ҝbw _&AwdҴHOLDT,/GS=0*fkߊ#MS#ai;d 1Ôl8ۧJRwh8P^I HeǠ#R:}xs}bmrc?Ha^ameB 0zzZ-|9d.LQoL u%C# ܡ I T`+pNK^Q8ID97B)cLhoĬYy^!ԺI?pr!Q=_h.W`5W<0b:bo** s@vwDO@RHrB@A0sCFLCM4AnJ%h w= ɢ iO=ٔ t$W493w #\X!rq\@}> h @DU4L\0bJ%׮5#^ߩOUy&kb?Ú*Mm#|]*ն^cs2 e 6R _}w) JgR[Snĺe#r㊑#6pH\A=BWGs}n6h~FX{ -M%#LL3{o 4%+炡+x&*x=Y?c8Y/"]V_yexp.Kʡ<xG&I :5S6kL)+z5u⼭f.!$6L[J2s$GAe,4Y" ۶C#yC0)7J9a04@*c ~H+MW ovjPDG̠ȡwp:7_0ã)KדJf`Y8*#2"p b l5aYYqW]Oʙh_!V"<FIPԽ;!#ECNJzIY{+.+zx1!B@۷:'_AEO4ඟ-s)^sÿ_ (1j1ׁʍg'~b~= T9cKP=wzf,d}!h-hzB/Âyp/ݛ3$OUOzJ>j3M nM}=vno^6VCvޤQa2uFHOFj8s(`8b_o]40!\ܳl>:݌;].̩qFaC0GgB(-N9pmOT%70 KēZ.gZh:X&II( (;|G82et8j?F[ՖZyGXOP_.7 IHCa}G6_)$XD f'Y[f '=1rt ptiaSœH~`5 T;)zP[(s!O6XAoLD&G!k<1ULpJTbH御Ty +āa6B-e 殱HxYfʓr| *@7O6ޗIZ\#jqw\g[cb;\4FqP=>V66/# }giy&3>Ԣ4`5BTgRğVK!m,G2S\ i02IR!Qja>ϻ7׳zUNsX:G)= ^6l endstream endobj 554 0 obj << /Length 2706 /Filter /FlateDecode >> stream xڕ]s۸=Bof, @KǗ˥9q&뤴D[Ps}w ~HT?X\'i0JTf*tiAo_I֯C/d(0zWzYRAJ8xo vYUvLMf/72j8Ջj!&n*,n" ڼ*%-ُ_â3L+ &EJoo?O{~:CKa?de9>Q]+eRaCXI%dLiZ.8bS㥣}*x@U|@f_t]e,5],'XN_V6% -kįHg>P8#ɐcIY1F&b<4gÏ>GB30iX#: ߳䛺ݢߊ~3z@eHuvv_G`lNy sUArMUBGWB5 ׶+#Y=,JW#qs)u*W*w+9e bJ1wak P`S2d];/_HOm^>013P!)ŵmI4c'Z g<G.Hgϝ+0-0rxZ1xG]\sO*lPg^Cpgy%>Z)1%QHX'#w 6T`T"#\[;c#% H=G P?5+fS-'ҧ%g2V>)ȊDԟI ljHPԥ?zߌcqDFXI"T_aL1XM,C.BI^lwx.d΢WCo zM>|vF| *؜?v a 4*j-tj?}EnjE9HkMPw5}sy' E͵>l:T cf-GЉazЇIsFOYS2F^ɖᛔ rHr1< ס:O4wR)ƃ "&DC b bɸଏxQ#{W _WbNC"+J_@ɜK()Եqץ0h*wn̙J|3mP_b\_C9:sx,X5s9Xl Yx\QH&}⦨Zfb䂀e$/9&¬'B)B5"#Sb_a$Z+Edx@N]*TPk>T(j{6E+"wEH@ẙ%glP{Ȝ.|wj4AGh;nX{gǦj/ǩz@PM_8qa`* , 6u1vI-mU!<ab.CC+Tj&~{e㜠OsЂP1"1F-4Qظ~2 ]Kӥ l_L,snMϦR{fiq)2zq٤ԩP6PurAc(w4=X4JcՆ3р< ׋rWcȱSF/i*G/ j"ל1n_yI':nZWTOYHLJ endstream endobj 559 0 obj << /Length 2856 /Filter /FlateDecode >> stream xڕY[sۺ~ϯ[!.Iqĭd,vIi 8(w/ETb]~$NL'Fn\{!=7/^Y>*߶LRAT8LU^ͺLe*$ϛ8|`Hd"0OLC47pS!td?O{c[Ym@1YB [cyhsl~{Et]|[ćQyOyҁ@D̝|fF6]ТHE?Aw`) Cەe z"a/My(j?L$cM[,IL0] QWoSy"txvJQNdܠ@$dvWob5PWd\jeP4S{# Jh<莴 <*/K[im@G"hpeu2vՖʖ ő SVx) GYm1 !MEKh~ܸego92ÀI`붰 |֧]h6E~5v3p`/xz ǎqen]]qhv wil4ڍv\bi9x濃hpCӀD10W۵-鈻 fU`YddBhN {y^b]xaG_24P |R: H8` Yh>ST$a鞑X4$6f5ju%}Y"QpF yr\ w۬k Fc{۲Nz钏p7iݢt#ܣ& fWsJ], б0X'7'+[it&m-8n=)X|F_W˼u:5?ھ;]@XoqAJV4 d1l4Ix*KIGnty%-)+:Yx_w3#) iB~yf,C'24FxjrT>y&{_A.z.ܸ#|܁7SkGr`1ܵWC2Mn iNA!|D@Xvb8dQC ixL=UU`Uȏ : ( ɡU"#= {zeVe?L32#"œ? ,_6czJzb{25C"k=ں WOoJ$x  UGAՌHp%'?s->㎌2A)MA҉^opct%)WW\ԧ.mcro- .Ts|ƢBk-328ٷY}QaJ*_(^-ȫEvooTtܭ`<9oBЧriL$횮 cloώɷ5ЩN찓;z6G<֎03_9ϵ ]QғI @qD*=G t G.& ((͢c9F.B\ i(!s '(x_]$KBA%U0Z\-f ?4t͡X O£s$ Ř.0~WO5䧋t`5flut .LPYt|:D<7<2Aҫ*ԣPf\%U==; 3AW)1jod.\_DKo@OXp)ulmѻϫPl kxcTiEǒ{$=e+ 6+mϡ0v^X8{n @C;.{S:OcpjZg^ǙBXh|@S1[y+WҒ{:el 5=G2 dQ(RS蛟_||!Tz1/Pr͇0MvC\S&mGOazϸ*t98}}>5 2CHJl\ׁX u4-XK9v–F0?SR`)VKGRaf!|~??SoѳgL{o[7@gN=lC*1e t Ɂx+`KK$%lnK'Y>wG2/-J'\$mFjcfPRdh?./_9, ^@pc+ S+XQ endstream endobj 562 0 obj << /Length 2967 /Filter /FlateDecode >> stream xڝ]۸=b>TbUI{{].vMhmy-ĖIN.;J-o6Hካ,J 3eVGmG8A>Y> DfQ&1m~f6RR:xSf yUv6 f[e?,1*Re>AteTht5 z_V mKǶhڿ!ooV7kiq߷Em6z&!`%@ufiݎ)}!o d\z.d(4]C4ծh8qStǺj[m+eb)VSx^ Zi[SVw3HP 'Waj2R+p Z#`;64J%{`XO (p"î6L3> |9滲ý uE_g |wQ[&E,IA$mQ7 Z*n㮳Alf&u%0dU7hU ;PfP*Q #Mq7NIX>s! u—_]a-@|4rRe3c,\o'`fîӂLfg)Yygq0 ?q?cfNy.*ik.{n;ago0v\8ivfS*4&d)FL#q%"1d Crb ` & `n_m$q9$r1AG=plyDN&!dž~; 9c?ę D :JeJEF5@4[ B4(+qAW*#oֳS,t`h^CA҈Vv{c[OކvGj^jTd9M9Mp~<},ԉxB%z^[Y;ɲ0RN(D)b^Zr[2Yg7//74c |ΖfŰkk1͐ߖw]88ПyS-z+m5-҅}Q]`qQ!4e1{LSNi ʼn,RY[Պ~߽}Oii5WH;o|av9ޮ=#2[޶lHJY\EɁ B wL[I>CbubBĸ =$uB2#Jb4p& tl8XڃR,xPd2a觲Pfl,R[l&xM/^!kM"Ҭ[k&_Yݾn;ghǩ$h=d% JRTVtmWo:@cKtTH=y)7jД)0qUPx$vU;p[VXun7NEù>@o__L3 BYAf(urSgSYo\*kɆ^9Â˱ldD!M&3(Fa"SnM9Eibv1iHr'U|^/~{7yQaS=TB>N+O=@@ѐ>BI,Y2ٹNOё}:>ħ"3i.l̐¤)@ꉵ٬9yk{jHX)Iq q%Z } ]CyL[ WU]wi`v28U!3hyمdn2miO .'ڑ*sI)&qq}$iKҀ!v3/}Pz09F''XJ&BmzEǘ~PǑW#aAlP.]0):27&LC9QSLhc{ g"3ضF6npe /$CHxK,0DIZJ. hʂAЌ]N;\V2XضAw47Ei_z*Q^WJI)wiR-&d!4 S⾐a8=׮;?X+M?DVsNv-.@$0{eX ǐ C]-atRZH: jH%?T 4O>c 50pc=!pQ?Tx d.<,р.?t_a21~b0\ {m&.!sû%_/BNIYN+u1ʲ팊fERfiHYӄIi)L긮cS;z@aI^|O*d%iR7Y{F.zSqFzC3> stream xYK W-|禝mek${p'N|Ӕ똖QL%<Ö//eN#*JYa쮕٣3=dyʦ9a<`cZV7L޿BkgČO~ϓiƉMq8Mmxrdجș:m65eU'P}BZP}e2kIix@M(Ieg26dOUG> Jp-XK*9?_ʏM2Ҩ=5 ԬoG3?咖g[|IEW7*ϣOĶQad݉k^䳪N4)S98 NqB <$ǽxCN4e' _fSuY/Q/^sp` [ţ Hݛ8a (ňfj]l *މ) <&U)(4lz, `.ވu5##BG3݉E>vv1 o]u"8%:^Q VX;vOlNe(ԂG} W7&."}VzY L$L.L`͏\#Tģr>AܙmJ~y7?0 LG*4RuRу] 8FM?$0%U? qκC;FVr?:ëWzq{nad;R!<ƌrl@ 'c҈ J2Wԁ`@L B  4疃:ئܐNwr GM5up iEQ{[lH`:1f]ߝ5G}*N=B'5V׀C.+$;F71JM%/"(vB~:Y)ktB.$#X}b6|nv_8ca[()A(XSS HZv5Pڝj9 w{f*h#'zF'M5Ur&ZiVw֎i ~~$3lg=U s"ꩢB)?R2A},*4}a.@m36u*+8s-|C2:𾰶-1ױ^eA4x T ΢E9`ڞ$yʏeA@59U]f\.p;B9#$yZY+# 2;jRw؏ NeJ$ >GX( P D |;>5[LkB3mX(i RjLR{#7[9Ň횠ͼ&pE)d& |=?x-qjDH[TQvg[H24iejmDlEÆo_K]i4O%sd*t5Yc-oϫdWSFg7$^[o'@Tt]/KLt'eU W ؒya'}\ kҰXA=?hBJò_+.e#x? "7BxW $&6F4~-F{a&Fn4 >&HFG)dR T$ԾEuC-]ttMQJ7!݃x^c+eT#,Xz'B֎<%C8өKtiph5z8NR;b'7 endstream endobj 569 0 obj << /Length 2347 /Filter /FlateDecode >> stream xr_GJD0}%YˬuS{TCr(L V>3$<.3= "Y4H3wVZ]cowԀEael0].+ؘj8BHJ|4!O.zSGדL0GŢ(%O4u2=K4?V#j!`$$D!SF%r  =5doh+o6xF/7dri'ޓ^gzW@O႞e^R^ W"i95Xqсy0%X6DS ԒfaܱϿ/{}$ #&_~i/ǓO7ݟr`9 g[8pn^qRb!1Cm*|ȂGz Fʅc\Em8` zZusdžglYVcr:D"ݥLFog }e(Ezl;\l:ݷSx>KJ(7C48lj" l*׆RZq&$yn) 诹NO1(ѿet4]!o<<͝36%Y١Y>r1m)!=z]%B>eZB^'#r|T_45nĶZAVpi4U,/y衂) -5mpʆXC۪rYJcV0 Kv ^W$gzTnm}T΅TlFtQSĿ2?M)ÊΨ֪:by;9"lVSjӱ_ 4=WZk0km0Q's"ҷ2YN6%d߆]Lv4 zr[8m+RJ;"znzGe+zPT&<;]0(A!=TyNL< &.`P7߀i6d>P@"_\Bgvg}$0|nIlIGX$(zn᭝!B9OdoD6MoDKpVmS"\ԧ4< v]IIl{.}qO7'< |_:.@?Q c:$3]Su#|oS\{_v&lG=jqT[yF^ Cct|Ȯo?d9)~:ʖ `wuPO4bΊvLv#$!'xã!~$i<~$0WۇԴ7Dݽmek Sm( ~ ,@@ zQ`/߃9 > 5qGԌPf{B<1* 3ުȮ0AE#, `S_" U74̒]i~| ]NWwWIhճ@OƪӡwW㻫绛UTIdBա`o 9qvtyF!W?kUV!o`"7QWkn'.2de.EA"?(_$ < )It]KE-~3r&OrYA/9t6٘z"V+{fe-{y^ڹvpB[|nzuUtġ! > endstream endobj 573 0 obj << /Length 3047 /Filter /FlateDecode >> stream xڭZ[sۺ~ϯ#=1d|'U[igmHrgoH:I,˷,:qqf&=YEDmOq0.xm퉊,n8js!tq`_.b}!vמ.t2߫>XYP0d*20jNԄ*6,޲`h>H$)w5Jl LRn*+O~ [D:VaİۛwoutsujyuqxVƸ*]mN}BX7S,T*\y9Dq[ ֧ |~?#ݟF$Llsjn. ]<;6wD '|^_-_//V3PfWVI)NBn<^5J1ob_ϽޖJ/YEoxYwۢÉ(݃_+KςۦF[IL,[-`[;MF_._.nDg|s~o7=B$6ؑx[lf+v|-wz]-k8` &Yt"︅{VٵN-VxG"̀[}o_ɛoiu9KQ:u](x#jKrj6QP-oZIxgSld򸠮P+݃lGZĻ[*} T'F+ũ شD3SJFv[ mvy1gΔ/!H2#B{I{pg ϮA}9:_׬(@"hG.Z^GFEU49).Rq&rwTVM }~A#;v+kq4#TL5H >6ߖP{ sQ=\aߜ';8B$O@ostXպ@!_s; ~EĜ߭>Pqcl0"i)6*otP'S0'" Q}滭^ }vJ]DQco!ܔSVm?®Aȏjfw^7vx@S\jFaaVf^ &#N_xE53zX7/"ik$2?(~*^A32 ,6 zaH>nAClTȥ_:T"ojK0":{BB8!F0D!7+unh.?$d5{yv06=c "lJf ,!$WLӀ3EHI|J87iåH^01 TRӄ p<ֱ<D+ILpH6Dz6sPlAm5N%hx񚴓So[&!N)mI8iTQYFm&o\R]Hg|C5s@(O#Pn09IPWr*V` `wA~;L-sac)16ע I FQix$]LBQxI$UK[IB,>‘,x EH3,7 0tgԂ֧?>O t4WW0HaF7Y $mg dsGG9f7]]z>qZki|4s[Amt[*.cz@ R&`{SUY~G  w|MqQu4E*T*aOZ'[O?HqGA>=6iowD;hxkC(]=1?j ?!Vn[m10`<(][tn0?QB q>W5 NbU1 d$,x4 ;}QA#(FWLLXπ&`څIfk,@- Ԥ';c=V6$\Q8P\xQ<]h>~K3s),|R*)U I4;n 9E#C#vd *fU^hH3K@uJ_P]s$lG@}`"h]Ga 09–H.˶ ]_]l0_3Ú6Z2~Z~;47v|`"l1x_&;!g8cG&XU" endstream endobj 576 0 obj << /Length 2410 /Filter /FlateDecode >> stream xڍr۶_9OԌɐ xQqsS,YPBRvܯ?/2}ډ'b f> f l{ ~Et.ʷ7F,𽅿fP:\c2wj;J+`8a8k;/_^ )f/+gq* tOU|[ZZ}>U@*vn跬Z:jUN `>ݧiZ}U7uV?4A|NyƸF኎"TsufD]YwP9DvI*mNUcBUKKQ#ooo:-ͶjM/TFtnz>+f-h&>(FlSʢ6[F\$0wMfhV5 ,t}F^~# U6{PVe[tW95 Ju ؄JUgbq71{ˉV.Mw^A[T\7?WK?1+>Σ Cg Z5dn0nWWa<.׌06 iy+sxl@[yV(?g 9YW㟀uzs29Iz1&qtIh:x5iTGU\o,A&^iNTܡc/xhC+rX 7.#Z]V^2]`[fŌ`O _r|OtVַp&2;2. X)Yl&}0] T(Ƒ͍'AD`״{ه&k)ũ%:Ċ.miCg&]0c|^~>5+PψY zA(bAHaNfQViB k]IT"5"e,,]e.]% FƗ } <ml~t|/"x~c_,$8ɐfKU1[]|f|A^ݒ%2"c0xt0vtdy *aO($ҋ(^ }z" :%$狌8X [kR1=QxZ-QVzZ`jX!E8Fhwp>*l҅i3t瑓# mV 9{#7AoR`k=+VUIxt erՀ2+]]Π>(sC伥l #Z1%OC5e\C<5|H̷ Hȳ(?A]zEA*B߿CFtHĹ``*H郑Ԝ&1gŋW lS}ך凫Ox$v>o"Fpnݮ@t=Y[wצ%]jڜt(\=͓ˆ݈zspb돦ι߫z4V0e$Xa\VEL0,)aӧoE|Z`zSAب-eܴM*;{~<%S(LQQ07mSK> =ꌙd[4;HKLBC 2ҫ#f88 Q AH> VYq(P`s7vc JW?AY uɶ|_UwPhכ `:Hhz9H@HOv ]Cq:2l_I7 _c6L4`>wP޴1-8i[P{HZ SRbj컠 I֣O9'3 #L1 h ~ı܄",Y|ƎH>KXg!㘢Q~q[3@(DB6lk )-EujII;!]ON]hJԺ:9z$ҽb{h pI@v_0jkrSr`} Ş`88nbU endstream endobj 580 0 obj << /Length 1690 /Filter /FlateDecode >> stream xXKo6W ,"{Kh"[l W[I7rHNiQ ؃p^fHP$Xi u@Qp~ F%Wba:&oS!W_od /J󤷉$Uɛk1hia喻CnU&Ys C/VjaNR\ @ p^ 4˳|!wTێyK¥Dek!DIM BGMǒ`fv$ 5h݀058uJ"Wk)e_IrOW4Nov5_׃57n[y} y~S@*uzucQg˼*?a"&ap*HAv[꥛cg_|X)mPnpwewMy!ƻLMAXLCaipGmMѶWo0.U[)˶%PV]oymqߕmOЖ!FAc`G.G6A`2?;;4; 8g͡v P) 5h"@TO!qTY|x *O \3S\~WBp, OFoů^zgFָxl}I`΄U\%8`hwWKt3еc%]\N\+4tǰ* ۢڃ`X3w" 0[voWG@őN?B\i'ͯ: qE!;Jz8V"O*J[9(NE;x7bRG X.7uqơ fg/K?3W $Yfv]@A7 I(nzO~7}Mr?Lr{׏}D[(s݊ojlrhqc烌µ8<Ҷ؃ ;Bpo@V_o @Kj9װns7| Y ud*z+F܁Dt͔"$vxL);UxAe[mwmyYV9r!sio"(mB9]ȦE[6f-x^"W^Y(:P4MnЄm\J~Tx9F"<0EU ,083BTU Mt*.oUU["5Q55 2cpms/jU(I_(R CX`&Qab*׮L,D sxq=t4!S(;43rnM,c/-~>r1B8lPvB((pWGAYlhBB`qX1|u/0ؔۀw7Ex0E*nMv"aM e> stream xYOG~bJTeowvgD( ERq'&}9H>ʙٙ#Q>#kRD++ VlUl<^+נbE$QdNĝʸsVĀFYbƀ0H\kz+2al0`<̂D w0{[D2a#A{\OD3@`}L02 `;rE1CB9cFu*B$zC0rʤ\20C,3%8dS1fy㠃=IX H8BAB( 0.`D3f|LĒź:(fŒ!BPĂ |aR  &qhNB F JUp ,H"'+)#X!%[Xp,Q vk0De;_V)egd@ ú<&XE<0j_~] i qy-UMj}][Ht) [BѫX㓫az7:R*G ÿFcaT/hcz(G|6ԯoNǃՅ:2$<``Zm7ᆃIs}Lm|1g 5'pl6,tsgd,ِEƐOMp@C=&'՟1N;6qs|Q}̟܌ 国]e$sV$_1VPuTjj.ѡ+ʃE{g<\/)\aŐ!q9j;`TN!Q{RګDlB. Y")s ZX(js'EW&߽9$^Ȅ_'a;=ݱ,]Z;v^-A7CͩO;_}MX\&p=KR]űݒVg H$eCHEsFYDmcoQQ@MPcWP-_{$ Ygz2rT)[=N t(5q` DnFoa6] kKW9w :b%I3R3I@o _0ѣYi2ϔÉ3ݚ36RlBvk|h>ή㚜ukH%g`3>:r>L q^^&,O @3  vƭ2wG`W?PǕJW;݇}O ꏷ=c||h;Ï??=:xMU&9voDi2/G]{tdA?imVNp9x\,yZsd!6ȤqyݲU``l6:x*;o_ڳYL5h*ѫ砓_-uXN1yRkbq,'#yN}GV]>yW8,x+}h`(Xb q\!dpRlc ]2r  endstream endobj 589 0 obj << /Length 1539 /Filter /FlateDecode >> stream xWo6_!I.bߢum.[${je[#{hQi <OD~"Jy(R&řrs$91,婈n}U7cf8Y9+bl/vŎ͜bYb&j6 +3|MgHB7QNFB1?L(M~nEk-٩R0iҠyg>x.>}ʤ%BVYeD !zjZ9D0xs8@D/楔,Q1/c渀6,ɹT AGU9촑,5Fιr{A%J-:+op`maZ>qÃoH3U+t Ǘ3Ka{^Mi9 徨jx9..g$9ѩ( aѝ\qC c mU]~ibؤ}.,F:~TqkF7_S|___>%h?}+R B)[櫌 UV7e4̌&Ó+/bA24L.U,nj㻢Xc4\C^!&==Oŋ@X O*T. Dz %il`bfɪ)ObYBM1pfu3(p>m-wkaa@!/iyrVG&0I9ƅC8smfDw<.rp&*v 倶-FO14RxӤ=C.d%=ajQ JnL4UHikcti, @hW0c/cF fea.rb@ >F~.2R C0=lzOߦʞeG#[8yd!Rx]~$pc:*n*yzɺjKYbܳ`(DgyG f0V4̆}E @o(D^ oÎQCU=9UJR㰪˼`e7Me\ӷz`Ot)V_$D*6p z:aҸC^oYVb:=J o_36kP m~d+g肂Hu熸",2݇otӇ@e*nv}St],3zܩv&/B?P:Ӱ(u_& 7*HK̐>ld"u{9*Fs`3Y 埐9Z1%X`,YU6Yh%pG5-9.~ӥV4Q ʉGE8_ȷ`O "2ti@Tuʴmԩ!6GyhNO- y}y۫WӔ0*Kn2AIVu^, Vt>dŚI endstream endobj 596 0 obj << /Length 2895 /Filter /FlateDecode >> stream xZmo6_/'b"Q4h^s v+"w]ɕqZ;a%r43*XdeWčWëg]rB+6bu}Jqެ~Tv?}s=rJKɚ\ KjZReҼL3,vb}DtwqL}{aut}4<}-/.ڳ9$:tGnh#?KG-w<7E[mU~&*yov_T1ڨ;i~瀵ں{zE=y^h#ME*X۶كQt6*wڭ_\j%..ET3Y?X%m!J$Xp1 &UhG6ڔ<-,hCɱ{p*:k%UkCU/~'`.r x/w;D8M[9xf ȭ$~ò)!>$Tq:n{紼h~c"@.|)XKUU2^D<*&KI.MoMFs - m`{d-F EKJ sw'Qo F:uK"y[`eR:K}p*U%`$\ykn݂'H3V7sH$vnS sܖņ'<{9fk%9IP00Ÿ%L1FEDHsQmwIq%[f v44( m*Ɏ_|(:I3%TV&pɬyLTYCˆ "T-(VLJocR2STcAd\G_XOճKq]!Xia?]qnYBI~qdnLHV1RuBDwN6:@7}@*AA pۧm)4*v^s o tuG;(W.46bm3daWȄt+LeO9]>/1ˏX`ɘpaԱ7K{(?R!YM/K\R.~ENI^&@HxQ:&=₄CQ7.>)1 p !}\$;w̱xD#"lڻI1 "˻n1NC[wP`Iy^Ы.T¥zc4|dn|, ,Ci"PfgJ -g':i4zTRѭh$rHg7I`wIJKWxI!>K$C6/d(nwF)LA$;,g\0MrMV*J=RNGX>YlLul='iʀЙK ,@]v~fh#4w! p7WJN3vΨAXTFL/4.rtib&a[3z #}׈ 7ʳwKm%1o0J̽c@Y[nepOWdc\e'' xswN09gG}ӭ,WL2s8R& 'XIap{#rjҗp7"VGtpuAo>SAm 0FYgxQfі|c6ّWhKtq̅lnFȭ,!w`h Lژ3q@965J\3-MCU'Q)SuKi=gҙ㰱3qt%4NRkA/Ls5_o&mo wC$,!AeT%]u<8=)aW;ibm&A1 $j<3޺|oi6p=E;l]-jM|DOcCZ^*ynzW凲?5ݳj0zs?SA-62MB7q#ܞ*qa}v? ?;/_~/4WTcv.(CL>0掞5jw P/(\zO;WdMj' endstream endobj 601 0 obj << /Length 1480 /Filter /FlateDecode >> stream xXn8}WQV\/}b[(6}j@Ljmn~)bNAѼ!gpB $18Q!u2ߜ`[-xyLz3:; `C˾E1}y4E5cz18|3k?jYz7r[2*t25|n#wjg>ت a^V0z"~LJTXc?don@4wA*"4Ɲo0x4L651U ! iuX!$ IBԏ}~H9, BP0c­`nrypUY^w&P崝4Td8,,2k}ĝ1>b!HΞlש@ޡgeT 1d(JD ;`wy^],[g*. g@0=큯w`ɿ+v.477S`gN"V-8:j^$YIH2FާZ5 6%  E ^_f)l8J+Xg47ސ "R}?Tb> stream xY[o6~ϯУ\T"m5{ڢPm%bK$m!iXOpʼn*J ewX搖5.e7 hu|ł73:Յ= X;H򞍃¨ȚQ %pIi1k| g*.E1ꢼg||ͨ)ʮbP)5$X$==t*Ǘ|[Ю(0Cgsx7+&4a>dW3o"Iq? 2jl` +JICY`)mI_gAw)¿! B++=CF5`[A,7 ;[uYP|2ˮIJpʥq6&̛Ϧ4شMApeh<^m6LQM<j•V=\Q0 u ^OEĵ?#ӈMɲ'gDXgl4xDGhLg9Ɉ N"\d{?bN þz299u>ҔS|Z Y7v< ?~t`RJ=hhb6=Ĭ"ZLL_衿ϧo]*s) #*9&^߾8cG,> stream xڭWKo6W(/"/T-.EuO`r,XRI4~g8,JQc8|3CZD~"xdbvQxjÕr &3ɟW?OHpLD\v?6R*v?n}$e7lJ7N7PM")W"Vn$_"F NFB1d4J>_*!FyY-STv{ǣl~8KA}@@8?L iriGŨuS˘g>_1 3.ը Oyj&$aMH#c8""" vɥ9%-3zU)f14>geƔF}1L(u"LGGq(‚9zU pQ-; _snY}53v)"'DHu"| ҷl9ͮ.ٺ5ҐÄ>V'**eQy~,|(wX"IM%M=}`PZ,Q~CɞQAiKDUq& Cx]zWͮ*jpPp3!9u.*scZ `FŠ)@Th j w 6 hi~J:Jp+E9Xmg…M9'scMO==&ޏw!lR5OX`) $v$s 4wtGgMtLp1gB3/2`CRH&)I. Z`:2( -YM_WhȩI`ʐeϏ}UEqŕfrg:DL̿zqm]%ΌSf4=~`}΃3t,t)8=̳lDfRLʺWZU _Ve_ɝQĻccifP C-'4Y7Ё$.(uC+'/sb|$,SH۪ͻn⩋ wk\JeW|/F) NNƦo77e\5`\ibJLM3z~ endstream endobj 621 0 obj << /Length 2179 /Filter /FlateDecode >> stream xYY~_Gy1fxyKE6&6;hm[XIקʲדv MT>,efFVwԿ0;-ar~QQc&Sv\ŗ}%)ίT+OtZ1C8Su® ԹRiߕ%˛R\84 KCY`0 D=5E6~W3µȴ4D8fk.DWtI"6{aF51{YwBQ96Twu|VPE,xfɣ?\ޝ/+A88~g`jBx }#u2)hTJ$RtA[ !oL,qDfA šW n碾HIؕ9=\ՠ%l bjlL6R2 N$.֤01ـ62M벡lbv*Eם M4P= $1kD4FIB2E4e.R|[=>u !B$K:.jn_ʠ Nݟ 3!LМ3BDb =T{v[a/!GA^j`oȠn*2m"^Ga8qZ(@[=!#@$>@J$IPvJFm:ވ&7j밭(-Fg8bDasMqH8qZb*mIטرASWPs' o^X'Rwa[!T^L&"`1]w4Pg=":YB!pҹWw OQ`o; FM~ ߋ$Dg<پ-|=;x .u4].> stream xYYs6~#P6Ni$%L$7S,7'v2 !^Љ'sbob[L3s˳^J91eb.iUi1q#t&.Ҳ6|95< vIml$ˆdH!䎔M('1TFʅLuφe0Y${!,IL$wGo'pX'gLMYoYwJ !\h¤'RPMi!|&+%g܀Dqdy5DWP]4y%/>j6,(Fe(gt>?v !Ғ?ς6'%\Zr^5 ԮO=.E42#-@ڵY~xɘ0J[^pk9`3p@Ž2ѳqalo߮Rafth %;X4ݥ:C5>৐٣wY';1ˢ-wݿEx!FcOQ6zg]&{>;rZm2,ľ!ipz:[AEe Zf{'o _uh1cY!*t<*C 8h. 8 ~9JFzB ѱ Qh5JoY0-nC~r;Cܮ.<ٶ'Lݑe8| .MW^6Z$U6L<PEQ/<}P|m=A H8uiBBE"|dnZ2?G9dk!b`17%zT`v{ήGPϐ6'{wjEZVŦgں˕k)^2-BVk3pe_~}Ƿeo)Ƕt+3H-rM]xqjBo2`>s>5FZg'Z5}f z1hqfi)fo) tD~uE-Z1u6Ye;䁰ռuT!uyqŘ2P<8w #jztMׇ PRc _Y5]UGb`%NЄ>+Jj$\ Q{ģx &V1?I0W9~?r}Be=I`c,qJo=I@זnNQ%Vu" endstream endobj 635 0 obj << /Length 1184 /Filter /FlateDecode >> stream xڭVɎ6+tc;ܲMFSOi[,w).%!Yzj#MhDs3a"~9$anE>HP3d1l9(>] !ƶmypE;mfR >n?~َ%cIEMQRjIr[8\ R:ʫ 5*5EygwѯSfkg㍦Fj :]S[GX(e0GcB 氪E^ĚQФq`-dsZZGAR-l$bHSBx HQs~cڠ'%]V@i?7`{Wևpޝm箌:>uٞp V3=m<-Gw yuǼ@p4EUkeXЕw=R+)IA[^ʁۣQӈ0aCD# 3ܗR6Ǥ6^Hb@ >5e7nذūz/]TWNܧ `dPz*m {N_ 7և3dK rB h]j= 'K!lg"Xǝܧ]B"221H`EN*`HExW.3c\l'+,6.9 u95ɚAphZ\bIa~ߴ. %f޻v)SXSuqĕ7gKLۯ]LQex Ғ`V="\L7a.yҟ"30a$u&]- ]9 GP@}C(uI=..:g(}1d[t_]tq Lb#Ĭ\UC(7*Cn4CAUvhɻ)aW{M-|la%}aVauwwX7"ZZac.|rqW\ǙbMI^qfi^{*Ea~V}G.mA>u'&/3;U[G,[?Ƞ@gwRF=@2-mʺ afZWN endstream endobj 640 0 obj << /Length 1787 /Filter /FlateDecode >> stream x[o6+(5'ɽk˚.qGIR'K_Ëb1=R"ϝH'i V{8;>~#_,~zyM1FŌ>,^-:IUt*abSd6Mʛ$5||%{;t1İUt~Gof$& !k~q,)!x޽)oe LA5̜S` DpXH:1Vv'^g0ZE )rFd|VW SD޲xLϝp(Q6@:|!̻ Qȗgh@E~j)\qCJP:FUU7l"#HI夵ltIfςc(e/4) /<$riDZTrDT)MGͱ&xRrQϳ9c,NWsȊe9'ٵڭȹS9}F20Su~x~bо9Q>E>0XP&q/ȸ<<99o^D#Ay;1 Dy,9R> q)o+LlyQe9W>jҰL6ٞo(-m)XDoye1sqrW+tWm yי+sTE뼯.W<[VFX0MuW*L">-rյB%QA|\޺1ϸ*OVޮ ve3> =S\I} +X")lNCl22.-tNN y4bۿJʇ8 BzBߗˣӳ⁦*ͪ227@y^,!!Ҁ>) 3t)AIBv"'T,Ƅ{֙`2A@{ 8۔]jV֬2 'Z/Y8PO5QADBlBz\e. O5CBRq G s %RL?)rXP,,HN DH`;oҪJcx6ڤXMk `[p¿>m,yT` )baLp{6Gɣ7+3QO0|i~q&LEڑkۗ*/:/w:WJڕl $Up i ͝ԴUd͵3By[gGf=A.[0b8J"c])fM;]Z& G<`{bl G f OPQzU=\ۓM$FNwsK~ q| 2&NiK=kB*nQmtٺK.oI&WAL0ɾ&T0 k-0GzorW;Lj!N_(' ('&cVVVw&Mi hRNu9$n#L(V/g4S| A$pos nlRj.ލ-Elv.oe8h+ x ׋#E.Fv1j!}bsi=``J'|0D+[X_v0ܵa7(<̶(H endstream endobj 646 0 obj << /Length 2025 /Filter /FlateDecode >> stream xXYs6~д/TBI^!dh8H꺿X;A0]B8)Yl; ly3W'ܯ[Eo/ag뾨z&8$:- )e/ tζY|!b@7'ϗ-J#qBPkYŸTMTVHJhm8[of! -`0.O~"b!nt8A4F1'U㈉8f,>lo^̭ Ί|΃~g4Z ܹn@'9CwߑQG:bCzPY*lZͅ 6ϭȠ:ViU] Y(5eS/&Ȯ>qȑlZf]Sa yV]ʡNw50)s7Ad_j,(QpvCt*fV|Kjd6kMFF4ɫ&EZŠGEsN۬hUv)߹Nv?Wh?HYyAEmh=`Vb3ӄgO=G$rP:a[+.[b>{6>)G!CC/Г!6@%|M߽_QsaqZQDHFdk# 8(KG)3,SV@IjfP S` <Щ٘?@AOS`UEsOoULpwBuC|Nj9*2/jE%x0;ȓpo~4m޼Ba [^v釣0qZ|@*ݵb k+Vmaȯaɐ=bG~]JsΤ@6F۲s˶ky!ni7x̡74KҸg)9:JQLH;*m =.e%*LӲsfwwHp\u endstream endobj 654 0 obj << /Length 1367 /Filter /FlateDecode >> stream xXnF}W*޷o$H'0h蒊d;\^E!*$1R0r@D"K#9D} nL:;^B(B4}55G7"XdI98Ir,Y>IBNn/~6$cGr;P'aT\T4_jL{-xuDD~: `*c%0E4:UUp }빧w+NQ`qB̊v36<"@R2d ҭf)&YzNyTQI}۵/4nJلxt.8GDӘ}a7}_˗p&q/(f/6 pǦsޔdr^ŻgXecpMK8cb%D (kHɏb %1B'j*o#Y[n6$m,dϺ@I1[eH[,ZQF!6!\LϠU_jC:k*rۥnSqY,V<#@gwaPz0qC[:߇.y@燡#Ae )GEԥ82Ki7{~S~nBEa`6M z`& iC{o!Mb4w>G4vq]#VY]ť_>ڭ6 2_n\Wɛ%AI<.V;!7 5}6mU/Q%vJ/ޓs[zYgm4;i^,lWqG{͊rv=\f!ս|케Uח׿y-wܠTl0K *pJXŒl~QRp~,/R}sP 4scgZ}c:k'tmEub,Hh{J,cgJj?F^{C/O$miFe1uq(Č ^=_@4*~0M[q+AK@U+4/1ž9kwfh۽r_Z/_n+_ WdU?v_rk)N:A^nfrLP55* V(#=2ri5I90I=(O9J9Tg|a g)H_#g)Y 4Džel)L)> stream xڍTMo8 W(`/[=b>5vbNcdcgD=,rMOIZ oJٯdw_Vr gUe Xe@sjէ*?)CR1(k'VJ#@r0뺯Zؘt MEZ (iL) <16)5' 1#:^L)X /dQ|Yx DP7zlt?M|ۃVU|9LO硩)g'z LjstlAW";IøC4kh6M "\hZ@ ӿ nbC຤ r5t6# YRFĔ]V(~@CH%>ĞJ OG ӼU횞Uq#vYAc'׮Y}e]#/O{n^Pmyy!<ܣuъH>Ruh L; ㎎j:ޏ=|'crR ^_ )?: endstream endobj 666 0 obj << /Length 1769 /Filter /FlateDecode >> stream xڭX[sJ ~ϯ̔=^v%mON0vO%iV: m"KJyφv2ś3[V=ߝq-7 qv{˛9áZ&/ߖ&q^h% ]6Hƅ$s\ϱK}T$yV"C1vIä@JaݴEdeQ4+迹KinzMpqIl]E#Mi+PS¤t7Que$6*,ޠ ]N,8VY!r\V}Wy7XQǚA6M;E+H2)rUn,j m~Si݀#f#ҵ 4xljJuVqZ:6g [Wit!yVS^c4$9EMӨ󂜈@N+IʶMvv!! uݦ$l"نN+#GE9"ēl J/S8!!4r [7'%eC s ~tL\mO-+蟀1ЁmC( :_vL> V> Z6(`: H\0!W#4'trniQv\Z.+cF<0Bpd:@dx3hQ} V, Q0'f!ѹS6X@(%f.\#@Q7˦;Hr CEq ոTb@o ߧ.Ωl'Ԥ(AIaG4_4D]r4$:/0$덹UhL ܷJMTIXNl֪p.3 $^%:)'(>Fj2ÃxU .cpzHk;P>&<@wU]040C┄ʢ*b`Pct_ZK΢n4uj0ՖfE@\GtIٝN %:˳(r+++u@uSZc}ց붎꜔mz8c6Iڙol>P7)5RQZ*kg7IIDtiGː] u6)0Fr6[Mϫx 1SX.!0q/ۤIqD ^__\{ռ gܚ.n~0kg tVEl_̮x>_njj|>p Xe%I(GE02:5}f8!KDžϤ'sƗov/M-{Jr;{}gqB9WYJ]s*|mJ۷ a|?bîU<^|{f<6e[cUyU0_PO@p{и3.߮ŧ Cᒩ<0݂ s& h| +X`=ÿ`_iyN% ZV i+;4ST"Adl|?/n endstream endobj 669 0 obj << /Length 1723 /Filter /FlateDecode >> stream xڭr"7s (ukoJrM v9<}G1r<W>~u7* 3 ~r!C^]s zQzMɔA/Odje87g|:M }svj>ryle}֣P]뻛vui7{eռ~l멆iYCPf1OC)Mukt4,`|*?KA &N /g 貿''퀮Ym;MEc~x4^6AK$AhoyRآnAX$rN8]9._ FүZEb㺪 U_Ft4ug MoJbB`,.8pk,A \XT6Y"cxx  w fVa;8%.y*Rڠ*I"kJϣ+f8ƌGV/Vfn[('u.O qw{"u @2B9,*{M5)0"/h.I`pyi6wA͆<ɧS#G?KAc2bNui_#'PE̫ݝ.JNf 7tKsZ(;DlքX1If͜/_v$~F,:tĬY"SaziOrs|qZ"ۍ|fy@ϸl mNr=kT9 |8:/夼!1g<;'-ng+eiD*qZ{yݹlOCږ0a7F%P Ϊss xy*CzxqTn%*B}bIQnl-K(4RVmVݥ9,Ɂ]=P]YQFLR#(SiO ͹JKM gd&!m QJ8D'SrT@#UV4Y~Ie4.' j=@Q)1)n?)HULt d iA;ڇO$N K`0oUB@X'E uE7\/:z#DI%M^(xhŶضN):uė'To96f a9INls.R2Mq 4]-}xdGF*6ono~~ww^F;s Ox}flE$J!ISQ3y2/nn3z5v:En^;,f)_{ ցs&Ezg?S(_G|66IX}6Ǔrڬ-]xR9MGҼLzևxrj]= )϶ϭm 9OW@ e.m|Ѵ)ԩBYK{Pm@ƏE=NSlZX+a^f6.jVZ5 D9hOC ŀfBOtv3MH۰h)XmSodO15U|9kT'MsgTmI4<c3z.2y|3-,sm|?Jgd> stream xXsF_Gx;}7Bd4ma!cMD%{{`8:-=qÄMCZmψ  zkq /~t7}n¹3xVuRv{eu۳mei|%w/p#@~~g3n٤մ?lL>$'C0>f:F[;tIL:QVK$)Mpn|8 0P2qրK5DS1+Q.g7I}3=(#]E2e5CſwkHV}TG5 \!/gXL,Iثҹ~C)k`GmcpM}XXc"{5o~A⛻K0C |&(5 ϵ5tͨq  #q*mLZa0fMI`l&$\%ȵ9ߒuVR>M0&Do1GL*ar`8}۝!6uϤLuI0U0VأuyNɤxF4OʪATHxQ m?,<{`Hv^Xe/( 'KR(=aspqĶptAk(z sa唂veQ :5_'lEY& ƚScHT:-F7cܲܦS ىI(DbV\y(.B$^?v5蘘[؛/p3̆<J$kRAwC*d H'/Yt7^m !Ң+m0pР+b"( |CWAZm t;n&'BJ\&f2]}/n*zkҎb NP0nG.8D@/Ta"zBSv.E?BJ!<(>9;\ar W%M= D>ww@$h)v$JHBL[FTr9rrFMؾ AEI\>php\I<@?@Mip2(X`LӾ ʛ?h՚>@^ڋ'=r lS(cnbK]wY-OA!Ll{Ua9OEFmǶ AmРVF endstream endobj 677 0 obj << /Length 1347 /Filter /FlateDecode >> stream xڽW]s:}ϯ?"\ jq2鯿pd2"={VE?ugZrtyZv]0X'gmZ_%U)_Vwiӵ,[뺒s̊t 4l;ߓg~=6#C9s\K#%{{x>h >MG?DpGQ/!=QԈowL !MmCßi2Vv WmrZqy)-!G4ﺒE׬r-=F}:ӱa 9Wb[Kkfo?0`2Ĩ5:j5lGs6Dl,r /.u#f'Fwb%uĸMYI=&LY0%rNjItlGyA<P"};֤~s[{4t.J*i GpbnSk{Jf=œexMmX7N5 "*etUp'KdrAE/ "!82@C4 ^:yA:@Pbh}xr?>C79u5!coZ-%%/'D M $NՀZ@pY^.8o7IւsA&AhةRX>I`MK|PtR߽{Lk0f endstream endobj 681 0 obj << /Length 1665 /Filter /FlateDecode >> stream xXmoH_>{첼7![NmS[ ^Ǩ\ 6缨NQef晝gfa# ϶Q@}#ޜYr3b k>狳?. USbi|2kx۶mbgOcEw,[Iv&ޗpr{Bn?קTv>z]f6c-w)h*#3M\k>Ǜ,r:*7aLXX,)7f6Y|h.y8{T=$XYq8{_~ O9+?4G<>ބ's<g[%1dn$K-3yv%W;L UieɷWsuAcΓR"ɒ/l>+]\8Y.Gq4e2*OV |U}%|oXRtcPDԘ}Tm=˲ zM=D%`IbInl~94F>tTyVBLj{xXfдIv-(Biu^SҏN-VOI|0Hh{:Ev,!PC4U.FR@*PcD'08PȔ%ծC^*s-mXV?6B*_՚MY/WZZKZFPOhmYї@6sG|Stz:s&j(O zrNt?8xLa`V"mR7\j$׽g,p%gjog&3+-T6`Q{*R8aq 'j0S?.j:J7H:{g,heGQɳ:ia̿9]Y(EJ%V5 s\H&&4T.ۧcŪzi$!ډdIG'?bcYԎ)/!*Ǯ\OUm Nj/Gɫ,W2 v۴x8uJ &Sō93hkCgFgb~(F_&78s> stream xڥVmo8_j qBxޭD+ek+HuV&1R#ہEoPwT<3ό& Hc5zA:F\5[AM老LVE{<ъFlSQNLj@<*#2?їû'']ta#TXb8 nCM%f[(~M@v=m+g:bݍS'{s8WCT?.v`'/yzA`c} L<\=K, endstream endobj 586 0 obj << /Type /ObjStm /N 100 /First 878 /Length 1161 /Filter /FlateDecode >> stream xXn7W 'I@!1t `8>$|EIO )cX{^4qxHjDOKx֖wnIH4~wJ'M%w<-9ƈ,UrqZ5uKIT`89O^0/ቄ; 5!1) Vv1erU0R*SآýwOE0 sSaxVHUcň'! ʇ07  rEtqQSauXBѓHjD@)ѠNVQ0eX!Td[sT3$XAr#^Ǩ`EAPHR̒a84bqHalbrGE=i(``g0PzaXOQ#LxjG SB XGrDi1BN;F !€FUOf uPgzhG{PYa5kvޢ O''u:3L6~ԃ?ˆիp)7h;©L(ś U1QZ;I''iw -/E_v~7 .Xwtvo^ݻk?Gl}ڽ__~>?ytV0U;6W{ x0(\<3xx?F8 $}[1A쫨ᅠnc7`Zux_>^hzz|rG1Ogܲ qRk.BCe($ZIflt qj0뚣G8yX#SC:~y zT1-[ جC]D,W8ׅ"llxԎpj=CԒ8Bs_*9,jsC[^+\yml'k U57=ڲ|= U0 endstream endobj 691 0 obj << /Length 821 /Filter /FlateDecode >> stream xڭVO0~_Ubm q~ƺ '@(s6ZDCa}NlN*M}Ka0s]pְxbհ94ǍϾo}`#84ng wLu=,OQ}s7|y#: =,zvo˄$']?} B,=O~ؽϙ Z 8Z^_Aקף˫Woe*{ X:wis%H!qJ6V o{Pƨ*i5/ jiJ5bT/#659(ON=t*$Ff0E8 ~@Xp4A :EXU@e@lZ,6kJDFeʢz`ȳ4ӍV3h 6GgXJFI/:~ 8A+mU5imugߊk%RsRm1iO6ut64;_wE4אlSÀz[ec1+rAWncXޡ'Qi6 W,&:Rz`/HJSV<+&)g4$ɓp6E𵪐\d8= 9ủ?Ʃ#7 .Q0 2J̺F5} 樵V"+]L()ѽYʯR"]Bhu8ȿm7Oۄ0K U?35i_4/P;ҲW0 (ֹ(fz/ endstream endobj 695 0 obj << /Length 844 /Filter /FlateDecode >> stream xVmo0ίȐZ"& MіکPC;!71)$mJ}R(mI8wϝа}ݞ,jz I\kPəB,I~:Ǟg@ >4Ӳqh\7srL8 |l5"0kv6OkGܔgoĔInAAݞ JddgƍYG,f hD|8}[8+raH }rR7&!p$:zcJNJIKxljBDb o,s!fFEX4؍A\Wi.8Ŕ&8MЧ5> stream xڥVo6b U IJ[h8 h$v`l}!d4C>fU3k]6ۚ0wZIa|a)0l,,Ӹ3﬚ڗcievò-q?*!k:n7wv:gb,OAAYp;ͭcX#]5QEI)dIJ.2Jo"tƖrX q)Wg_6R^,^eن3):#u`rhyM\ǯJ۟Ncﵧ=p !ђHc9>My0}$O,7fj1*6So8e>}j$|g݇>U@P̌r'-kZ Ԭ o5 &xyȶpTe W4?E'f185]c鞵?T{lFWVư͎a?N'8DK#Prˑ)'V-"ghq-E8aYW2.̵/wJ%")zSaɭ픖e8S ۏ%0 ^JJ V22'c6&$Q͊VgV̉OTl3:A#A:QOQQz) <2wQ<<$>ĉ f0IOaQpUg,H kCOHlɏmES:[s}<w&i* H;v+APSV, 綜"װb\+|չ^~tRp`)g.̓}/+Ǥi}('ϳl> >?OMwtWMO\1 endstream endobj 702 0 obj << /Length 846 /Filter /FlateDecode >> stream xڵV]s@}WPgҪˇ5iQ:}h:kE`v54X=gRtC@Wz _r|@@5im@ YS9K{k äBi[,5wIi[5Ѳ·Cن񏜲CR<)Ե.)ݾ!d BO"SCx b6Olt[oRo<vtHD[zE0~̔V A<2yCnUܴ0A<~V\d'FW3uTslqxCCWlc‘*_d2G,\đx c2M`!Dv/]%,%Qpt(ya"ea{zƩXl4\%& ad>~A.(@;n]{!fHҹQ̎K-[wwBh,yOI)07FʕU趇7],ϗ%#:ZH܂^%NE#bJ ݁2 鬱ť9/˱<sѲWG  hQA`\һ0EtIԼxvPXPiؗ 3r# 0]a7@~ i{,rp 7%.,i Qr*o!`Ʋ7 ԋyipx#'8!q r$| :cӥ:Q^p6sSq]߰R16`O: L3*>,(n&5@on?Q;^ endstream endobj 706 0 obj << /Length 1061 /Filter /FlateDecode >> stream xڥVko6_u`,Gp]'u9``$" IQ$#$uy9>$pjFkD3gʗ ݜ!UQ#\T]qks$eyDe9W딈]t[/g+1AuٽF5.]aǠ8~2(\o^݅QJFHN8g#C +|H'.DN>J)*gˎ1W;Wuϸ{nwܼT{So]R񔷎)M=xMO6r{uZ"kEĆ,K/FoKzjaKemz0(;ΨX魄mZv֕0`ˤa/>@+"a,Px~,/LЫ5sYu3/ű= Ԛ%ǫz'_bNLGvi0mӢ+& ܑ 8T/2ܐp nR(*L96sXo_Vĺ.d,pj,)ˠ0*LpAMix'XFD; 1hA:^'v0a<RAo26L t-M!eh&xϷ p: OUc*grWd͆Ud>163@9dw 9!%"e#4of%k %qd4sYMݿ)˖yXJ`9Ns W 0Hlۭ66vË+Zy?,J7lAvሗS!czhNR7] endstream endobj 710 0 obj << /Length 786 /Filter /FlateDecode >> stream xڝVmO0_ub q^BI@U!qԎ)N~|sw@3e,NB8uy0kLcd6 US@|Am{;ۙI Ӯn ׳lʵrʑ*)P؎a?ǔ119nW PBZ}6F"Ҹ2!_ *%Əle,+=&-_y0MxG,@C<3 uj" 7Yxypq8=u->7\=I .f&v%YR InȗXJI, pJbxLZMױ۔lIQЭę`S8d7^ Cd߻yeO* Oy {IX)J8J, )VJɪ*mԬRJ"Z)dJo2O@U.y/?u5")ͱJ6UjQR`!> &eedV,wj¬|H'Gt2:<;Dzg?X : [NB,!RA +kƲ|9ɫʭ˿)WMzWg`iLcٞD^Xi5|[7$1Ož4O fj> stream xڭV[o0~WDH4΅=Nъ%p"}N\ ăpw>?`tluwb늝% Cl~ *@ڙ,Y+Go`e̘{ f4Lu=mO:^A0cwwo8;9%eR-gb07_}z)($ d!giC[bk,к娸Q@79a`y< \ "KOӶ\/)  RavH̫l #.0]e=% `/@*ě Fgzv}9.g;~K՝B^!&7밳O,2aSaw{4,BP"P&#+%L1 XG{+٘/ ,sYFݿSoMyA!ZDF%q}3)-^0|/( 'K>&J endstream endobj 718 0 obj << /Length 841 /Filter /FlateDecode >> stream xV[o0~WdH"΅=ttev*T{h+C$hW6I 6iB9߹Pу8v`^S63bPCVӨ><AЃ=deQqeCf5,qLoX뙟<oXvm7ZgۯĔsnA!sNq%2:my =,o1ADIyYV]K$ri 7 O_Wap$ 9yCAIJh848K$W*<q]fAl/a,amh>*2F%ɪ@EXkwmIj7!Q`ϕ8E9_&lr NBsR\-i-nQeHl-PN$hQ@me}Yrwʒ~I)bJU:/LJ1yopN֪UP5pʷ4*O"‹L56/ݚSQ<ܡR|*EEU9IK0b BJ)N]ݬ ^(%CJo:<=5t[n羪aͨ`{? gnJvW=*WVe0mB*$d /XHBpO5W\!臂x>.o@vjt}@eYrB"Zzldh1r7YϬbրmIz,,_Ԇ k$:$dʹnɺ*}$Rm>IODUpxVUL endstream endobj 721 0 obj << /Length 1040 /Filter /FlateDecode >> stream xڥVo6b U@[h8 h$60>ې@4C>f]j]1oݛZZIata+;C9{y52o[GC4i]p]1Ѿvۍ|W^NL9NvMݭun\v\)z ?FLJ)%K VrPJD| (!ؖg5vd-7@ah p"T+h+c^>!TGxL0=JRz@#@̔9Qg,\.+3ŊpDT@$Ψ(62#NE :.8FUd(D2fŞI!YjQ*+.> .&NdtoQRP6kur//)6?M\/J۟Nc=pO!ђHc9!My0}$rH,?fj1*6S0y>}jG$|gG>UBPr'-AF Ԭ o5 !xy̶pRmY W4?Ŝwv5xml%=k}x?S̮Fc:V[npC/ 8BK3Prˉ)!gv-"6M⽶<}dKXRaʸ*2ׁhJZT @?.{.I9N+ʽn?KnkmA .їlT,?zUZj=4蕑: !jVB+(fNd+xQ ҍ bՉ}R7D2*L!9A1I!N];8 !*( z29RA!_S,$rȊ\ts_Jj^^rYtWn.{EI2Obr> stream xڵV]O0}* q>⡔Rlhy*.q(l'uxxC=>"`HJײS<*|q=n X&Dg C}̖bBU+74˲Td4vы8iif5Վٺ}mfRi#,rTG:A]ӳudﬤnhґ?;IJޱ^?{Qɀ$gyL$/ ohTl'̐0mMvyzB 1ht:\J͎n&E?N.o4ۥ#IC2H \G! ["؋ZQx$Tv/]%4%L8:"Km^egGk?Eb2 |RXGiK3ra(`/'Y`Z/ 86~'"}t ʋh\19ak@ڕO,%1} /oL8gKxA_ ;hEo8!~^:kC@ȓz|)%Np'\tb 쐛}InYb,71[}_L +7) endstream endobj 734 0 obj << /Length 1147 /Filter /FlateDecode >> stream xڥWmo6_UTMKMR RM6U&1`-đ˦9 <<% ÖFu6ՙ C-&3r4$?g[7mu2 2~8֐{U7=ϯUQ7vԚ^Y?ؙ睘 נk[Ͷg!S.0V?ht]@&LZWwh)ڎ:o\aB3c7Q1q7VDo.tϕRiQ}Rq)-QQ?`ڝݞ<e)'~$=<=$ ,-X⟢xI_];#2N8gCαsA͆1%Iwub<}?Ke_W9yEWȳ\%+6dװ/R[ө%Κj!TT^i@ 9b p 4Mk4 VZ4[¹2¹L$!(KViU]fr^YÎS bůLZ({ He];)AƏwqJ9[pZsgk̉o9ltg3 5bop^_ʓֱL+Q~w À$cho,3#D8nbI"8{ .,S 3zQ-L=GAuj'p]$sEb$^&'N6qv>+%<-Y\j5xt)m| Cwɤ;. BQF.)86;NG?}va#N%0SxD$G]~xl&ݻG9Ai endstream endobj 737 0 obj << /Length 857 /Filter /FlateDecode >> stream xڵVmO0ί؇h qӴn D+M n82>'4N i;k?du]yNcцgGlh{C߷t.FS3hb87lmح_?QѰ;N%l)|LmBtwi9kif'{o#G@[? ί a3N$.ބJ0IV(~6k@N)i_9Kzu.ux}NGs4S3e| ll(R{}>!S!2yB7cJ`fik;`vx.yEY.& fS:sH ɕNB:^}52"'5Йf\ĒLV!8.j( [P)] "|ĪSp ҂"VIrvCo`>^I|2y(T=T# ?~=={[D7fV`:rS鉣͔[Ce's{A@=:xc:aoǂf˯A73_k߲Bn1 N~,00S焓\X8 x*17ZBm$XF.Ps ͭDeZD.x&x?UcT|1Z@Sbv>d_^,34X4b4S Dn<͌g2՗MHXa]Z?%4j7U̿1`3_Tyqٺ endstream endobj 741 0 obj << /Length 977 /Filter /FlateDecode >> stream xڕVr6}W#yLEudO[2ڗaHĘ8mEJP {9{`9׾sutd+/x?A`*Cg.{5rE?2wVi#1aQrFQ<\]^tKZ}P>(*Pid 'T?}?^ʈYM(Vhbt\H"3֡v" ^zcTG^c [;o8 yRN7Q,j]@6y/C(IInIҳ*v:<;92$NM='ZVLw>̡'Ť LItJyOz揇 5'RЁ?ehiϳ@!U.+xUJ\/ٗύfΞ^c^fx5c^U)HU0y;r*iV12V7]JN"!f5Kgg r …YnxX!WwNx ٺFtMqhHY>i[\7DjMRbђjU5 M QM ^wzqdKI jV>oMe|AjY"FԨ|Us#Hpݸe;D l *VfJ)& @XuoC J'4NHv ayloӛ]r|j~yҞBog4L_U?FG5aG0֙| { ]q|1f\"Q=8+P߾3p endstream endobj 745 0 obj << /Length 780 /Filter /FlateDecode >> stream xڭV[O0~*ڭ$n)Ml+4UQ6$=űت{AZA9}  PJ⢭4n?EȂ>3xjݶ>GA0i۞絠wض}"O0mA綺kc0^BcLjP]5(E_D tĆ'aR. VDXOX|4$'Y 3@bJ,z49)NQxir-<$N H*7]Յ Bbk AOҙ^ -YϏRMUO˪ғQFA>#xGܮy4R| 3q VX)t !eCa!+_ ]sz>HJϲJC(d<$6I#hd"D2'4KȄz"@, (?6.a xLP+;s5\Ϸ2fQtP߄Rϔ&f$ N J.AWAbA%vjW FIL$48QIX_P*EuvV^œܶWh떬1Є$;&V565@>Wl_#*ܼu 4Z;3_&R硤p/C63j)TԖ45~Lcף̰2iwum endstream endobj 749 0 obj << /Length 795 /Filter /FlateDecode >> stream xڕVn0SDH`" ݺhń:ӤqHԐ0;A־bVB|=.>@hǖe lWCXח-(B]Zy>i}p cP2:_Coa-@뤫۶>yeiW7cwɷp19uR}m@Ė$Jnawڦ y+N)ԣbdF3H9cNi60 Ztmz fF0!)bxQi-~`Bvlu:e )᎗gaC,(4JPwsADT^-;{IS8E-@%LڏѤ-:6̛ h8dExweC;w=KyKKI80ζo ('.^oM7g,xQ\#X2%z`IW̕z^Tw=2/n=4)#$1!p촲[Kй58僥M@6WieQ\;'խ.*#9*E-ʠS`c1V~gvs%SG eO Jqz<\ݎǢ9}:IӈGB tyWpGb _Bi[暪Ac+8?E6-|Odvq6^jb${u$*n^e=Ğr>G.tU3"7g7MQJTP㬸[b}cB} endstream endobj 753 0 obj << /Length 636 /Filter /FlateDecode >> stream xVk@ &`Pꢡu]#lmE mn;93p)8PiIh/q <' vH8 i8ۯBK3?\Iӎ( WAU5غ$#^O滃C˰[iDN$N[%I5pVEaxzYciI^ߊu I wEEs 0 ?`IEZOCw·C7nY'#uWWtdYHpb!%n˞5'N=&}3wLȏ˶ɤ7F RӍNŦoh_2?34 jBEڔȔ0MJ( *F0nMd17G WTVv2+HOBU p1BYfQe<AQ#YyGgYWDg0# $;8> r W j8xͳع&߁<h `i9d03^ lABS7hj|D0@={_T5gx^W`aj93 Y̱c_!5!%[W endstream endobj 758 0 obj << /Length 561 /Filter /FlateDecode >> stream xڕU]o0}0@+4nncE]F&!mS9vƕjhh{v'M<8{ Ճ0  |~+lx~{/0c8F f#+N){x /Ԟ#0@΢,Wwœ돚 6Byh:ùM?Rb}ԊG"f?Vm.ea8 B84,qMYqt`^ݽK-b|2 1!,nP!zEBŖߖ1EVk&̒"YӼ`b bT_4)j7 vUs0\OY*]e*,<9D漨4坺5ji,]ȎJ $_ A4*noYV-KfwgͼZyS]_c nTJFj~Y(rdV"j6e.5RPg2)WN1ʭG&iy, endstream endobj 762 0 obj << /Length 778 /Filter /FlateDecode >> stream xڍTKo@Wq-aׯcJD[ $lWI Pt^;}3̇?2%ae2ee1V˅q.'QĄe~&z"!<uy"j=g?Kb_5Ӏ D$&SPR9!7~ḂNǶsBvQ-*〠^A l^9n) /d7u?dQXs,I8w}aTe_bM{l!Vove|Qq6%x&BU=7GI=dDŽI;׈S$|Ԗ՘oC(FQC3iPV:3 ML  hwFz""EPi'n}3Hd@DfFcm]3&= p$:"w{e}Enwd+"i 3Ma *<(Ѡ|V:Jk\k,$/ڊZ9)4QǧIstu70t-RZ }ʧMgW}Ab Ž?'pdŽ&a$!H5_y ciREYFԥ Y^6ق(G9ň&r9B|?l:yެ.#2VtM*n5f8^D 'k/y1طw_$9]Q81;&_]%ݦZo(/pGh,"Ī?ZvכC0Nnaz6pT'8Y{h$Pƛ[z7k endstream endobj 765 0 obj << /Length 1036 /Filter /FlateDecode >> stream xڵVo6_G Xt=dYeXӡ񶇮LD% yc9nax4)&"i˒,.dzK&7g4堘h~<{c]' bA:)%nCڲ糫R7t/|v,-aO*B :놥SVSӍfpIWSvG)ZْQo`,ۋ_ܮJ,› ÿpTȧ r(Sƺ }Y)3P5P~rgBͩ'~`k{5iB@[VGPkd]Mi $9ˇnR.~7{-\VipZZK|@)כQ`q *Az4hp-$k5~5]jkӧ_^ZWZ 0[a;;0J*_윆T.#_i_Lx.G#w,SsVKޟ:~b$(xn}󸏕XĖ`̹|fteE &G ~ޭ~e SZRҲfՈ|)Xy>p[w^dWƹ+Ҕu0{B '<ߐ1HwwN7y[- ?*}㟉F"Plne%\V uN){;h#zhQGixSkF`x%WNJ}Ob]>lP jf@s G#b} ,/=EGꟉiG◲"eSK.}ӻ۫o~}yDFW}}S3fP!PWի,~0{ڪ^ <8e/m}d&.[?NkHѪ|i9^^C.ZUH7'lͩVT! tu endstream endobj 769 0 obj << /Length 1533 /Filter /FlateDecode >> stream xڕWmo6_ad.XIy"v m?mH؏)z2%x;qğ;;y0$SD=^ZAБ9SN\Ǟ;swuUmW)}rS$Sof=sȳ)[?jX=0 Ι7qcs@f¹/SLiXE$ m7t \*h?r |80 ֝!W趖4FVMM# Pc6j|XS>;(k rI8\*O&F.*#NВL=h$'&C{,2z^|YۯL^1f㧎89Kř@> WC^2jmZ~mk+p$imQ|y?qX'z#9 ? endstream endobj 774 0 obj << /Length 883 /Filter /FlateDecode >> stream xڝV]o0}ϯmD*󑄇j꺦괩UKI05bSI \7E q=k 'rG'_vU=x σ^olp>M~J'AovWV8q<}\gRo ܋9 4CML`5>b1{0L#7>?hV30ң>(Qxa 'JUrM p\d|w%̀]>4-̆xU)=R?iG IhHeA5U_&/K;y2MWիaNee7}?X䳡G$1 |#(ds܃p r앴"P#=6E@aXˬB?\o>4NJr\o~dV1\,:854r)[y zA5 /78.\+)tƭQ5gEK;#}xC}ѱZrP' ʿkڀ^1{A]^i&E;NIgpm2M.h-hs_Mut󪥠Ԛvl!jtM`[mr'xMӴ(\,AJ4KpBj,("7B?#=r}^Q2hkwׂ+> stream xڝWKsF WH͘ oUq݉L,OMkr% *wǿ/%J3Xq \'wh#[EZژQZJ8ɢc닒ͯAHz4`I Rۄ0O {L `hL/{"BWĸL9Ȃ8!rAnFƯٶuI`_D.BdvpqBgJeqȔ㪂L@al୼8mI<} P*&6+=C>k*j0Y 5s1 YcNhs\ $0FɁX0VM/{yz)mKR[h@yRTi?'E pR0AR:Sġl |fΰrX_wg[QP"b/4j&FrIʽp1(b|/uカ qͅ_٘p/, gNg;Ӭ9gYak3v mՀٸC:ʓȵI0(d?dX R(n??>p#kJf$Ĭ8+^g/wt;StR_hzz>QwXENZavӦ%6Yv$5c+7<B )@=37g?أ͝kYĞl\\EVNDM ,8@i%jN HI:%'uU?~'HC03B716I qHzb endstream endobj 782 0 obj << /Length 1797 /Filter /FlateDecode >> stream xYݏFNuz׼ Z.@'wĩp_ߙub#H|/>%FiiI*L[FxuqF'_IфIJM$)%H\y6j~NdHyOaՄQ)P'X f3rT*\$v7EѸ(IDx//^Fė/"M\zn+ل'rk$s8I.W>SpSEeRީ"wXCV%>W*UUs%[=iW L¥/A137$RC 1{q kU DX ~E &{*|xnmA BweMSSKՑlqM>,~5(BiJZP׷mc=_Z2)\@)d)M@n|'|Ɔ ȪOZb7uCllƫcBەpET7~5ɸ1Y` W#WK?7̵F og߃Gm]>=d73:y}R" rhnn%7ڋttr\@`;{إa ۍja %{BbWq#wnx)h|@ALNRw Xx/YukR▾`p6(Lֆq{̹ʺzM"%c;nBw92b硶CUՒy@Ff@%Dw:y4f ? ׵ oъc+N;7>.aIJc%! 2Ɣ2'L(iֶ!dRy0 }_L <9fBm3$14 e)ʿ21kC\U$+@~,q@ fHatfEJN&=; ; V9F&'m~¦6=&&r}_z!F ^)e{,R9U >iXSP wmì]7Q)bJ}1Ih"\׃"0t~3נ=۹LfM`b8**@N)TqQep#vdJMɜBs\IBt#:r:u++E T!)D4_/7k5S6C|q!$ISD .t'EBh nBGa=v=L] x/{@ 8? _ aDi>|S$tFl %)0I ݟP<jgt endstream endobj 788 0 obj << /Length 1890 /Filter /FlateDecode >> stream xYIoFWHt Nnic-1RINp5%ەE-[?E~XAi u?yu½9\n>??R$ ίΗf3sg24 !Odrfe-u.*c1?4oc'cH[Ighgy.ofsx]X6D?9{v?IuV|7Nf1/>,eqQv͙Ā5=歁eH~.D!Q$t_t_xE}鋳__9 v806&% j`͠jûj$ [)[%6aM#-Yyvw²"~2e #cBhh !ߏG۷cs.3_ ]}T,[f':3+q2#A6epy:i#'ʦa͇*V8"NOl#@Ug6d%T!ĂN8tk!Z D7 BA 3ЇΣ,Z`akMUQ 5RswLA9Lno_b~S}9FVX(yӅ⪉!VM) ᪍;F;H:$6^MCjJpG1p0件:![+JQ*`1+"dK?MaT54Ukr}:-(2`SnH0$)=*H/D**IuL b,-CzSYavu?Ac q]ُkEݖp?iŽ~CXU2lXo؋o;ŗ~iӲLiAQ}HE(t` z9PU҉Iu9yXZ$0dHcfpW$:;[#% B"=( #gN dٜ9L/m!"b!tPH2J\cߒK cPiXUK{jTZcED?eξST;OQi+q&j}, "w ՐLL$C ) #h즐2ii9 c f!\+xx/tJRFd&Ux>9pQ)ar';ݴwV0 p9b0}_ZWv1^L{/OpGc뱌wU f{HS?v -!r!X?|/'<^nǃ26S0941̉F Ҙ[=X5\-35䒞qa3lV?-?eT@Bp_Q1\9zce`q|^fqb;*39-1ÓpyI`kVf+jVfY6Y{w{0.H%wnrͰHXfHbq endstream endobj 794 0 obj << /Length 1984 /Filter /FlateDecode >> stream xYK4q&B)r -ػb^xl.3ƈS+aa ߩv@}B/j]ӡvfaN2~FUnJ.y;U:na4'32PG؇c}ZbYRqs<;|&1#3am+}eV@B π5æ Cu:N]W'vIvV8 2olCZs7A]pl_FvvY9Lsp}G~{]6:֍KTƍ|S)XFc8C6(xqr~Sr7eUJ0URQ/Ǥ& |f ٞIy-=Ms(kD%5s= TTC>:T%p9>n@&X]uKSP˞Ob6>D(z؋b ~+ve PGC{O8kq UzUsZ{zbFn/W7MK_;&u\H$"A"aW Z[JZe {-X8jlg40ľ*MP^ }[+0:?Sstxv\I2/#^ TS-P Į J8˟OCc9K /V;ҝ v ~π89ʹTDʋSZͣuӨmn ~U_ȏ6 6eFfp8Q7 37o}GAޮ@bљd˂F|qGDNPD0:ZN'?qY^c;#l = 0G|.ݪa:sy7~;a.*1hs# B 6u*.XQ.n1̔3->wDSP' Ԁ5`韡NꖂE5Mb4`3ۼ 9~\ݴl04ںߺT/Fabqu+&mH} endstream endobj 688 0 obj << /Type /ObjStm /N 100 /First 879 /Length 1191 /Filter /FlateDecode >> stream xřMo7 +tl/3I`b>8΢0bH}_YݵdNÕ(RhQ(h!%\k \)PaC+UEB"bc 9A+3-('\+)L)XLʡ+EK) d,Y,a5c$0i +E#NV!؅% I:,,PyAYo J؝S 0ʨbi0%2pL9C0c]2b0 8wA!6a R)>5#QUf=c$N=" ?$$c[s ;biPB%HHu! lS žAdH2b(kHAê3B*P9,QJc٫!:3h [#N46) #YU+P8c:v;\ٰ\* {ptЦ >Jc7viۖHEg'K?aЖAbh C>X~:yT\~b]"K0$eH Ciߞ2(صyp5.Ieej`1pj" ܶ^÷ОBغHm\{d6 mfX H 2m sÐq 93dZ}ͰG{4nm܍)G`s0If.$fPgR~s= ͧaz}/|#W `-x 9٪M4Jy94L?m϶͇˫OGzѣҽ `TG9)#st}2-qqjG6W Z:i$;#z{Ne?AqATX;MLTeˌޟKw#wO'CzG*Gŷ7mzCZQǎ endstream endobj 804 0 obj << /Length 1724 /Filter /FlateDecode >> stream xXmoH_ "{}_@ӽ@(r7H-}ut^ݙyff!I&1bNg-~qaNZ+M~y.D)1dz5]$FOGfQ|OcgOͼ*`o]Pzv塞'&:`ܫk~UO,twg!(owyX$ۋ(m5][z}?V.ާ"b-@yw;<A(ILdLJb_<[/Dߤ( AN(%GmO1JǧQx!MURo˄Gh1&PIP' t0|]1Q.)flպ@?̠saEVe=)A)sW.eʹH_q=ч/161a8Ͷ@RTCլu3YL( Bm,l0M@w_ Q, 4ibԧlU|1dC%u8ͨ(無Gq9>@*[&\$BWd״8ls>Z>D>VfΉPPu^E~c?ãHr7O:wr{G-UU*Ih:Vn}# Tف]Ͳ!Tu~iʉGU|YyMFrٖX]c?V7Eѫ"{gV2+6VJe̮¬*=[*Wy{W%vYfmY4O.XQ΃wH$?ס'ᤵc?$>ᅦT iR',NX>lIGRA*+ZɼB^U 0 D صj(1A50Taϙt^p24h ` Yhpe),g)¸gnd%,9;WsOn}WFmkweEl~L{v,+R>,U=Y<8mQ&Yn[?H k]~C1~Юt;n3""ZG3i.AE6VFtH{sC%A> stream xYKoFW(v߻-Ai{JQTI*;]RrdH5647lHb)Puޞrg@p֓|uy!"Qc]U]ΣtFtz[j>iyR2xκ@7䎟F! z?0\TIj-թ" *Y#˩>~~|a$@]#z.~3IDС2md2:Qo|t6]S2ߔ!(7gLC iz Y.̫}rl_(g[Sqթѐ@ VuY1}L!)t+tJdӳ1!@Ii,La($kSr"i%\r0͒F~+lkCnf kpE38~n #Bwr'f UN..kc6ɋڽs*@R5axS~ͳ;*'(rl 0bS7ߤ,{~u^pH_G^uցqw ;vU Uc8i)n.Pi$ʩXҫIu],dd.˴t'дQCOE4uYX/Crʔ=G7eޞ !&jc|j v=ĂF_ݯc1kٮ6ij*fju$\a:6ҤIm/lJڠGeB(V{}>P IUcɁ!P3bjR4OWI>%á-Q0,Y|ijum0EI (C Sv1U1z>og1^u!,sthf'}Ԟy%GC*9 g],/rpl h$a I <UvηCKhٕqܹ+CYCcV\T@ei 9i 4]en6޹v6Z (=`Dg?/2z1OzIX!I@"5yj G,QiOc])ZUn/4@ɷ\ (S>4< }JEOȂ# iqSۯoRR˱ A+O`1`";26%Nz6-SCw}ۧ@}T1: S?Esg ,D9I5r(:8[h65ˮd{=pzN€Lp~UހFƪ›ݳb{9anz] XH@۶ȒxA$AQfU!Q%Za,k`4~kݿnvfhVuC@nn]hHӢg EQgzn*yV"јl-V 'WL햪gN'X&bQBJo\xh^}EQ~``dHz@8S>՝.wQCI̴*['reSM*4{.+` 6‘/+w ;,8Լ؃=}#ȊE)t1QSk?~랴?=i>5iSsrnu hKfIHS%A~ݪb [.#g VcwC;6 #ܒvkswpwqw1㎻!wwwOmvBO endstream endobj 820 0 obj << /Length 1848 /Filter /FlateDecode >> stream xYnF}W /yKЦh4h>%HLX];KS*i Apfvf(c3GgF⤝-OݭgaO',-@p1|~v fG] Ufg77E] !Di}Y@/VeW7bl엓zGɘ%v$LUwۂKJ_0qE@5QJ~:}vկQ2)N&"6mU]sXنvvLp^4eP\t]&n q\@.upfW-ˮZ=]sbO 'Ba]Ze9_UfU6 bòm\\"i]VN >Nh| jF -$kqF8[sCSX] Q@/z=Dmmf'2}PQ ˛M y0aY>uN|h[_]y,q6ͅ%ڌ6VTPpb,$F@\} p!\Yv_8Or&}S(bQ|[>4/hJ(7Vq$|x{uLPE>NiDtwA{Di0{͔@ 5ۻ18p"2.爪iM)Mn!rF_0|;dsSu[7z;څ8vM5?FZo(ˠ{!^>]k\.3o` k~O:J}p ޫP /vYucv-1 sSHI}}_4y .Y6XTeټ++_A~6{Vi?EYoK=r.ۘ 6uG9 1U(?wo㊺ fw Eq>eH jA_f{Qd(ò߮JJ}:GJZ.C,uATͮYP%bD _T('WJ\e\!ޗ'&5 `D\Hgqig> .%?`cXO,Yŏb6xfvXɽd>@ecȜK2 #K &òP[MdXM =%F1¹b\s"@R7KpG9rw/hI:x:TE)tFebp9e\2ϒQt='b9{>KG;=1wTH0TߏNg6 8[8A Q}ˑ3/FO@Ɣ&ڣ0<xPBw [3 ?nwG*Rʁ>f}fQd娽n.[T`+\#΁PC(CwJ2 EFvvhvp!ap;( l f?q^6ڠ_iBF7Pyg=΋ #V8$Q endstream endobj 829 0 obj << /Length 2028 /Filter /FlateDecode >> stream xY[o6~ϯ0$5'Do(lkb+P$9iw%⸨ao 'i<1RT,vjBgϛYg˳_k=1KO.[].'t&loLJzAPU~ىG buJ@,{c/BA1D39sg~KL,卸ǡ5s LD upZ[L܉N Ӽ= |]7ϭc&8<I,3Xk햐RѺZ5RuΆh',n RM!L!2*6=̚Ve٢K2=?᧍.^^L} *9dysXKjw3wSDٺXYUi"ݠlHoFqZ9x FCt2s+ }|3dF T(N*5Jd[:]b_K> stream xYo6_Gy9GbVl aPl%ڞu-G6 X BGw?3bG,fU2ly7 &(8H^^r+FQ*iOdeEm<[[p'*z\|P:BD ^2ݠk)TIS%8QL"U?zMx yZ7|4s+}2ȗ4=ȳ_;JJX߯kki@Ĝ{܉&4Y0ugj>f 4D}(:+I2ϾM=VAq0.AҪ53磊Y`¬Qtv]VhAeJyx Fb9[ \;5L&О:]iq*jgiYhuK+M n&)bYy3q -.=Rt8P:7]sTAr3z]snk"J Zk^DU/ާ1UdtCsWe/`!XuVO̹D$"p & {A!YaqSWӃn]YY38NiJ43P2r m[7!hN vuG \r4$nAR3IE<ɴуR kcLw ËYd޻H]oo`VkI6gtDg+b޵BƖx;\*ۮʊI%4d{y1 i;b-pZ3mwY75 R**V]c9.2{-SGμl<׾ݞfDgW|=x*}Z`C`$> ` ~o%'Z`S42 Z Տ+ʘ_zhZzTGI"rv܄Tu&\&7Y#4.hEܩ/-AgPPΡRGҨF)-aVͣ<*>H ~VW*{HL4{x)@_`5DYY }Vee>PYuh$ELĐM&phws`{L_6rXFnGpn.;< Dz ,6-EHPA0*ӥApiv#moz'~Epy kmP]&@PvgU%H⁑٘=&gNW4tb7ȗ't^vd7\t u#yTsSNtx78ˤx呯<{R&X <ҝ%q`{b#oyd9X[*-㽤ӑ^øb'%!vlypj7ly=,B{^t]/Kt sx$#|un endstream endobj 844 0 obj << /Length 1665 /Filter /FlateDecode >> stream xYMs6WHu"sk\:uSP-s"S )9($;8(po}Z)PujqrS$_.~~+DD0JpBM[l}n'SX_'SX}4<~;<])*Xٻ7]P:L#NM#CRsDvZ{ύ*B ղ G-#JԢw O}J q<+&ĻpIL0v^ӅARVS*2ߦU@ xk)DD_eϻL@!.]e>G'$vʈA)Ӑr orHpAM:ԻkO1D!T`DX/,CMڨQμeT0E;kF #[)u' bf$9 ! >9@>9 ɂ\n. o:K> (QI#P|& s$2(0~*rY%$KKpk07cA57_pYBf]e}XZ[ CʊTg)!95?u~(qAu (MiZdɁdi6pAo헻KXk" }5#?B\琛έ}^:m+'mf> stream xXn8}WQ^\^Eo--oi(ql$ /ȉ()r3C M(IF'ZI3YQ[]N\r3u$_Ϗ~ԄQьMݥijθI: !/%6dnjd[/rA:U%FM??Dɇzꮞb& T}Slb7%B-K9F_RɅdzyո4W@W|1v=?$3筋/Rn]]^鴫k=c0TzuD6d6n&l@+ ž|]}v+pk ,K7Ng,ԙe(8-:cʌTykA1f[T[ ds?.@9Xn^Ǫ,8 G)(ame)%B tqO3T0C3,aÄK7I砵'fk ]j*TLqSxCtasE4Q_m aYS"qB7ΙAnq V ;e`$S10۰ݔxM7mXZ5RUKXLiɃf]PIAz:t/hy([2u=>aT?87Ȣ M[O xFٵ(X>3@e6 8)IwSCxq Z,=!b.)vkHFF޽ѢHJLDJ2KkUa$7&Vg&P{BZOrcAN@T 1USC.EU.#k$ @"LOU8gh(2 ,5a`M1Eمnsa @SSj9\_q6n \KOP8N%a0!_ {YwR`Sz)d$$n%RsKalRz)^ S/QK!<<64l8߃ xVQOxVIaO5 z9^h( ruRL)0gϕ l;έEWKc*qSQ/;`HdF7c> ;M|#3kM! ߘ^4:wFC >EHtLh -ĸpFȃ(؞Q1Z~wp_@gLj)]D{*%S|DSaǨ^Z~Cr P^𧻓 !jG ICf(5Lg߁I",b ܉%ʁvoE1Qv~]ep+֩Vdio춤N\~R;^/5R%/WۮށwnV:}eU5ҧ,T`BlnIzCUM^UC2\#+ϧHai( BD/:t endstream endobj 859 0 obj << /Length 1802 /Filter /FlateDecode >> stream xZߏ8~߿"D}mC 7@MwM8v8M6˝P'7gB H@1"o_^'7iGBG$fcf3R&2:2 xzyUZ[PۋW]PzFNMCRsDv^om ~iUJTe?` o(E ,pnP>"K|HX Kd4Ԁ, ~{N)F Q)H yQۺm#3 <}ޏ`"# !.]eMNH٭!(S!R4!uUpu|}{ev8vMV":x|Uk] OX`gcԵ#ʩg;V:L4ҬK{)T5;%=HbҨl9t~ݘÛ8_f }8uS"nToI&!ک$.˥6 F5i~?9pfSH:LantcBBh3e'ծ'&»a "aJXhwܽ`:@wsU I nl="xQ2ٔ"!_>vg7>UsቇM\VvTL)efؼCx;LHn]HYmrY=3&+n]p` \xRp_ 33xE ΁&m&@V@q>dj7~ CL2cSy%D%pM [3LN&UQq[9c el]E "* a<'Y m b ;툉}1!&8CTbT^pu;LG(D&'tH *i05^s{$5=yJ py@t)Ie}BC$(C٢OZ}7{ b0$jNDM>-` HJ4ikb>)iHFR7 gS%~>Y%?[EV{dqf]&eKVGvd>ߐUA: #c=liak  We;O"Sx0iOHe?=Ic Ԁad~B-s3 R Wgbo8wXő6xXm6}#1sk1M1{휦("/hA@M1SEMS?)6 kyrp)EE ?jcL5m*)1\ ~m u4tcij5^ eqyl+=f71يf75x9@Ғ.n&v|/\0R `2 %R%?񮺙K|4Pd)jBAQ3ʱ`͊ϢW4 :al{rLF?%T ]Æ#^~`6h-@RhxXpUzyLӭ9SQF2YŻ2=#[*!QE_!E: endstream endobj 867 0 obj << /Length 1503 /Filter /FlateDecode >> stream xYK6Q.boJ5h@.E߶ CeJz;)Y嵑*}Sppx/Ğb <nf˵g'avG!$ocBАO,ϼ9>c[EG!Zev< e.Ux ;(;LW FI\ a︠>~.Z~|?8|Åw*.R^ VFAn%q ? endstream endobj 875 0 obj << /Length 1473 /Filter /FlateDecode >> stream xXMoFWHvw[6r)-R2aERIN;AK2)b:fμ}a(b %\Ggؾ-ב{x~F w hZdE~?S۬23woV(WsQptFKRFkjVΙ)؈;ޮ *L݈ݍPzwb=jEr[T1E{ee#H1LU" V#%!\!أ&s Dv4#$'@eF9:? ٭G PML $_$'}ʄE#Ĥq souGߤla(|NLk"DAN,WMZEνrK?{iY&wA֝3ܙ$>T~AyZesY]+ JrmXB3{PyOowK"kidoO.ٕǬmiUݛ8 A4 n6|cG,i3uצuvhԸ~ BJB&_Im-nLZ(Q>-k[_, #CHKpUM:6f6r-sI\ EwwŸ nu<nusxW/^$74SG7MhBh{lqw CLc_yY}f&$D $qK2\"vdvf[.8TA@_Vڨ(_M|ԚJx; W8;||qwx| +^ t]J6j5P3Od*bGDMo!yZn wrߕusk}5wV%d{ׇt;#`s>;B% TΤr6ϯy;_cJ!L޴򱑁D%&IBYrR%=U8t_ΦP%ƗiU$^T* `*$Z Y?OZ<ǑQ9_'H&șh:~ 7r\.t< wǵuyIqAQʗ(O&Q?ZNo>NN(~+~hG~<#ci nu ^@._&rO'k:B endstream endobj 883 0 obj << /Length 1788 /Filter /FlateDecode >> stream xZn8}WQ^\Iݶ([-;B|[IۿEEvV-h! 9IXB%M$6,Ϩ=?cAn _)0J2bbOm61iFc!Dk1ŁL_LoWm^ cF.^ء+OT%iz2fM U}QlboSZ9V.QUYɴ֏3d{] |'#8?S˶f dºUGo~[uPZL:.PEEmޮ@+X™|Yp|(Iۼ'0Y;Wg hTQZk_zAZj)G,_݈t}?@97n^jR,x,G)(le!e2`-;w3Z-$1#L;tDp9-wgq02uQݍ}{ ؆+T*G\!9ψѫ|ك Q' 6smHe n rɂB.y p),!˾.>b}2)}Zл8[W!ѩj/˝"|cl|@#أt|ԆGoϏW$oe#Aοw(WDR.<9ta\jKVWҕyx\7 Psd@g ']ZZGapǷ x7"/n]RpT^2~+[ٲ{m~+ύ!|K7 "2s~~ 9ӑĽT&NgAƂoXP?-EA3@ . sJw> stream xYYoF~#UD۽5hc /ESR˒JRN;{ҔL/wgۙ<& $18Q!unX'~)N[on~|+DB02ؐfVuL>?)i]_&SXfi<};<=lUۖ -!7~ii%/t"5GqpSf*]6l1lVlߠ'߮SF Y-!+n2_geu{T$L#IYd1FD%S˯ϪCL9eDt9dp knNne3VmsG?vOHk:UpLΛ E!"0+F bjLLG?g"[̪lO j7rB~VT~[Rvtb f{Qejxh@ )Pfeӧԑ'_Mumx%!Q.;379®{Sү'S;f\}Wb0$!nG1G1`SfwgG.oùpgs& =4C8SĈq"n~4l^CB `='KX|`$@g'zp1MoՌ HtapmOK+41xV{ O)Sj_GTSZkIu{ #?0] e?@eu71+2]iM=rHWAʼn׺69ѓ/0P[:SմQ9Ik.)~:U$L!ܛi6BBUp}"aFJEs8On7OVu΢?ODOP ׆(`71v =Ebdө#v<\ie1 *B-c#U ]:.|hHLqM>_סOP6GT>yn M'&Z(I6lڃBW6ESc`O+_;o;Z$WXx KKm֕ 0S*puQ9[p\Br4(1mc3Ʀ~Vn'|f~[& `Ce6n1pʌ-h/tݲ{Xl-]XPgMpqcE*IAk5gF3{fZf\L꫍ ]gl v"F3ક]8ܾU(["dgBM,Aj7\WK*Z, !P7hm,4`DVxn VO6窗$z(^~Wm~şu~*7R endstream endobj 898 0 obj << /Length 1707 /Filter /FlateDecode >> stream xYMs6W(u"[3mɋo_PN vpiư;M%[|;1bs% C=Sxiyc}}^wGD[琋O;inaܶQEoso?y:愪N4 V`B+jn]("1eFx.]vqZ+WI٥˯\0x AjRvxR n^\.PэqO_5 %(zDŽD)=sK̗kRdw N2 P98oXvF>?ך)hE,c!22 L?N2]'uy=5*ܶwE;Oڍ[iL`A_rR6YC$/OF*bV<]_&Ji 8h0˝>>]`&wį{Sn7j4XҚ͓b[ XاeK!a!~a⃲-JnnNsP,| 2) UGI6(i>+A]Y,X-+ 4݌Z9|IU/uyHP "Ԉ@i^r"(<}Ćh s5;0h- r|;Ձn:z W:>rVX NE8T^Z;U\H詐Ht<1&6nI7Osr/гϓ쓪z@܄`d爾/R/;i]f [ d0xG0_$=/I,^"D˃/v~U8p< f9,8-z^Nb\l،beJ }7Ϊ'a~2o 9% ҅PS/;@ 8>|0; @]RcpO>ic|pX# A<'LaOvް+tބ$LV KtPjzmpz fAߐrN,tހۦ!6ퟵ3ulvh[oj=",ܧk/4mnGv~ o6!O\uzg> stream xXY6~_aI.jHAE m%BiIM}"%|4Q[ k\dH24Wtub9roC|z+!F#5M]V}v;P<<0Ƣ~XhNl.:D?Nz9m J/TRѓ(VƝ8J¬Ǡ|K$ڍI$2sG3_wukNj/M'ITFp8Yg 'h/^埬8iKһOTx.AD5l'] QJ$v/̶0iR>1ET^ 5ۤfvꋨlou͝[Śb..nCc+Mщ׺{#αG3ބĸug;,ly]awK큾6`zu&!=*p&H[KM+!PƶlMQ}9`%ZmRmxwCPQ[ PHAneXQeU$ƈqnC1;v4S[z%1hH뇚t5׹]q%* $x)cULj)1pS EAS CE*-C!>$#AO%f;&Nf>]F5ȦDw5PYˏ=_SḧN}mG-Q'uP:Tͦnh9@p G (fF]BMѻ^u]>Oyf ]6^W 8som?n.1xI}5ծ ~ m*w 0' p#)\Cu-mgX)˩rgGCڍ |ءSц P8& "\^2AF 21dWn#X*a*~謹#heo)@L)1e`>'w≐c'~DP+<11-jsxgPR; dxgHa4GZu =yB1@D,NFAAŐYdөe<O%HHgPB.Pv"tP_K"G~- o2d u ;0f ECvG&vnQ[w]Q.Nd'5_kt8maN-O)ɧlfPI<04o7j,,7tV&m?ܚpX]փ~YւdWN<};QhV2ʏ%PY/z7$*(~WxXyۤ?`_'? jl^Ő)xn. 5kE;`||E\Sm[մyr[/-]a~(Ajj~pDvp/== y/ qOGhf:0/@e(f:D.t@h'ؽ*9U%wP)^esȞeOr4&84x&)yl6 endstream endobj 913 0 obj << /Length 2278 /Filter /FlateDecode >> stream xYKsWɼ{Ӯ*m62E2h}g B"+FF3=` ?6qtb Nb9 g,MApڒ~v0Jul2o-&|mS!Dwjxne[ϫ|.AZ+'?~:5|иNm%aBu.˴\ՈhT1JPt?M(Q}0ZMn6ɸ&.nKb\k"0b.#Cx%Ϲ#R|}77pf6hFY"L"\ SyΒI=a8blW>!ghO?6д . ѰTшژp]{at9xWidXB'ι[pkpRg1c4݃-:?2ɐPI 5s[uP(/6ֹ҄v`韭Pĺ D)r)w N{K7Z (UBNR&nYLbab,뮽Ԝ~_ǨwPGm,E q20iMߕ|r~SsX` Ԏ-H௯v,$ t E 477/|xɁ Y[_r`A~?ԕ!p$EU$_UiB5k^a܅G04+DY }e0+h?hE"뇽ow"1rCl]D;]k[B:[k5% endstream endobj 801 0 obj << /Type /ObjStm /N 100 /First 878 /Length 1211 /Filter /FlateDecode >> stream xXn7 W fEIȡ |+95r0EQ ҿck mPt q7%jK-Q?.ih4ih{iheE4t╋6'*wX'VlgZlPu)T,I> !0" - r9{00o6ie0"z%pܼ E@p5Ҡ] Z"}q`  K@@3?l%$1'vX-{^KVsF91ܘ3F+ Cr過 ӉԈ޺81zzǓyR9D"T!4q p$"-Erb0@[@@42zH00X8-Jx;&''dz(! R\4S42k9E0x" vXbWM#0<= w \\,0ZޖO?Rra3իp 2!#Vܞ.ooE]6z_bh"˰'kD<@!Xi=dÏrUvo^_ݻmwGoe=沿Cev݇}߯R*H{V!?J!Q(P)sU4ʼnɚSP2őcU=fdCWc#۩%0RjF2ő58a5HZK4`8\@}*vCS#.1|w)jLadu%$%@ 9V6 Υp,/ݖ=tC,1*ݸy[9vGߖ~d0%Gx/T„+6qK9T Nedyqs 8+-Mq/nwFF"S%rK4`zK'(pc #ΡmS:WhJSTZsmq Pdms~)N^e6ŵf?l5^׏Z13^)AǕxv@KLjA^PT*6 endstream endobj 922 0 obj << /Length 1817 /Filter /FlateDecode >> stream xXrF+pSd79;)+RA$(D @v>= H.8thmz^7I0D1 mg'$A!bp+!$VQr>i>z}X>O_4OᢘM+޻H5䖞&! =0jR#ڊPdNSa7z|`$`N!a5I.O~k$T"Eh[c4/[DLnA|M&7oSƴxJ 4m.bԂ$Tv am%"nD9rWNI߅/eB2BPei6ol6]u 7HAS~YயW:K3% %k?AA GH= {H" C0HSKָk>5) ml@zC(tR.&9r>3pkqOt_Y9)༹Ubz02c7+`bEXӞM'DM`#)/RyofMЮ͇|a̧J!RގZ4J#=4/ "~e>yۦ"Wg`pWػ\96it S^\v;>)"/ w}|YXVmN[Fu(ӊ_ Ҡ?Q!_I6O }i3xDI пۧ41 Lݧ*L"*!&Y 1/g\|G&G8EaYsN'|_ވf:8k6Қ*H( ՁWy3M07ÕgnΨUnBMF8M@ֹ_Zʓ +[@a"&rw>9`V ,"pWV, gV^,}y_)8ѺQ3װ~00:Tq Un )^^o&@:$(HV G NYdY^B3J3fa 1V2j(} vp 3ۿ@)oM]V}k-zJ=¥<jd|o=LD7|M<C7邇gyH'D.ke{ɄN^tc8U@.0o" "@Z|as|紙fBi36' 6HɰŘ:~x6G ;A-iٚ6kXv5m8y:7 8 endstream endobj 930 0 obj << /Length 2429 /Filter /FlateDecode >> stream xYs6_'&D G\:%?M#8_],@c;w v3؛R؏fӳ݌gGй@(ZVX|ffɫ2wO?2Á=GҮŹ?N=w% Dg :,Vmv讑zd]'DEVo, RȒ<$p&ļM+CqNRebLc\7%Sɜ@n&H&9iMtϺG|d^ Bƥ[NR !AtE Ǥ\3԰L*/$BO,EM \Flq/ gq)~z!gTc֪@xU @ @wC!$A:ǜK'3E2iQv1Y w6D}ֈ,rnwOê >7`㡀>Gwsf8"̃:L1rE|w,"$F(g}Cd;eqsg`i Dd 3 OG4e7 7Hh|#Ld&>g҃ xnё_G2 Bx9䱤N'0CIK4~$Շv>,@J}LhZ}Ò/H⧫"3 :K"vy*l 6!-z;B G{,AIRU xz_t L +znu՚̢{t6=p1ͫim[|d…AF|e̙G,LLiA_+Qշl =q.Лe3HdH(oȤ*{Bgp$ aw݊D1[J $.>ۂ e.oͼE z1"!\cQ=uI2,o`Ɠڢ+tj~Fh\A%²_S SIk|Q QdW[8B斕}X̀4I;ޱ }MӜR9}kcoHk!YD䞃/U41Mz=OHpxoePNsaTmnmHfٽ Jw*R_MyY# ]G_B<~>N z}x8E`4yZssRVЋ!IJVI7_OB%ޚv4m~1Dimn< $gЙp+xtDBu_5\'X{k8` ɦt9zgA&ruYoS1!E`SEGMġ$p1]7" XAS{ n.1j.>^.N.?, *?2-I r"̦:2q|>Au;!ubZ,Sm(@fJLuvV/p21Ɂ%hȀJӺ洚D6Y,o٦εRs0{;'!X1wÉKS>gaOXMJB7`7ch)4n)Δ%3 ą+A6@ 7 EA(AQ8 WT4jIdK= \`SDu%]ւIwHh $+,К9GlfkD?^<{n9cAki\iN:Y%ᨶA`Ԙ$ k(?CY`XO endstream endobj 937 0 obj << /Length 2726 /Filter /FlateDecode >> stream xYYo~$^\ mdi#^àg( 9!9++>U]kDZXȾ5}Uu]Ub$Y)YlyzF<̛`ŋj=1KWíهh= e*z0RF/lBBEovŲˢFs%ow-ęLrrD*/Um9ےǸI -lc<[ϳ);373Ʉ@g/1 &b3]-=e2p/?f\:˼8ɪ"jJlyT!_,ołբ$8Fȫ 7p8+j< ʗ@Q!ADE`j e> w(2EnoA\”TC5`Kk/K ґnёяiUZϤp9YEsl)`wf|@ @v~q]CI1} N݉.XޮˋUى 8s.b ",/8}ZZǽ ^ c\~˘DX$<ɘySlJ†@.5?228'v.oRp$-t5od0(E6B~ɐbBA -|;\j,\.3=Ln!Eɭ1K[{Ys f;"GJ6GtL۠\aaM\^p-=v1T=ƅxu1qIJJqn{J ll l2a5leƟΉ?}%35@1,Eg.釠Hbk1+O8@7ۯ<? u cԃ\eu~]RD+= }D|BT5q$頯Qb>U}C:@_օNz 0ߐ|_oQIl%2s"ۼI G 7a%!djjgCy( t=rS'óKLYmʘv2bFb_*bL!WYo uǴ{B|'c5v=SW}w׿aIϬ .,8iZU-ȴa)): (@%Tmү7mû6Pme{R0ImQjl@ 0_hQd"Ñp붢%ARCʳ߼~`MG^E=ϻU%lfaIH@e?PIT qS"[N !4Nu8~x? (zXWB'uFOYߔ;CB]xYs Kr \lt _L|b%!1ߥ!.>nDU:=>F, N* {qь0>`[Pd_mNt0Pr˰r/pG?SQٲZb {& Jp\+TXʿFb}=Y vr}Sv M͵42$.ooJ0e0y8T8yK-H*UέW(T|yM:,V~_W燴Ƌ#>Xy=iJqnCN|.59)l_DU6QY};pCPIK;@ew<񳿓hmEIb\|[ ǽqh譇K#b daX KL0 vۛ#tBptaX7(ݝ$1!NU+Vnk?I?AAg!L1W }Ob_IIV endstream endobj 943 0 obj << /Length 2075 /Filter /FlateDecode >> stream xYIs6WHu,ޚ.mSlqL* %q}.)i顝XXގ> 8N,d=hsxg8[h峋<ʳ'cVM~XݺXRJgߗ,qXzحLYZX-8i..~>ᢗ yv==I0E(!L-ڪg n-#2{.K0s!L?`T:}N$&ILbWE,3kN"Wr$UջU Z[0\!"ŰE@-p. (؝Kr{ʝY@EXDy",WߕQgB&%WEUyæ/Vn+tnמ>ltöPn5nzܐ1n V 5p)>=⺩̥ u֯*}믃 U{CI! oeS C~Q`C \1ΎWZ N" \U[Wڝ=bzGMmjcgP7Gm£ՑvO{uWϝVUw2{{Yݶ>NCzRc~>7 -Gj|ҋ4.%ppTz~/$f@X||,#q[dG?Ogp2x1;qГcc*MATDΎ?lQWݦح+b*(hcQJ ` ]ߺ~;KpDY5Kl67n,e;bXۙg<[۪z9:aa(CQBw8܏AT\3W^[ge_aό>|芛:_?YnކwֽOOxP&0d2ޘ1jH! | YSR`d]@Jrġ@R dQN,,fOW߾zqwCXNYׅ" *W­1ae9O.y῾>$ >0S;?: 'Ld8Ώ0Ӟ- ׸9%n:L s\ CwdrT󉤓{`Yvz /6·p8ō۾U`r0Cρvk]yW) IpsgkO Q uzn]3 'h )w-) ERG>оQtؗ@76@#7* endstream endobj 948 0 obj << /Length 2029 /Filter /FlateDecode >> stream xZY6~_G/(eIyM`x"Ԗw0.[[+GA7XIއ=!>! 6/*LU/jE"Ec+c$G`eK^--Q>Ylĥyš~RVE]_+Muh(z8i]  mi5@&ioovv\+qCGR.{/:󅧍WiE(N]+22݋Ag r\۽mZʮ_3-`9$H GϗOz|zSF?zŜDX, %,0D[۵}ۇ}3 X h'q?2{]}n?w؃M~^,)$1U9> atܟC‚B貄PCz&Kp"A' 6K:yyXF~XZ~.:8P!Q8T1g]Ls#4CdpXbjwY]c7Lʭ7TXٔŖ*ԥ.\z1|'m(>7;ɦof]778<ĔR.=צCTk] )5糖F*ZRISNEԉzH5i'&R|Fvb;qt\؉G77\måXL36\}Cݸg Wo4\Fi{e^wAA<0AW"$+'!6ߔ .' Fo/ya1W"]ňP QLQ0KN(ZboJPW4 Ϙz )KKD؟ڌz{uac <6v1jlpZ>^6z/rW0\[uq<#sT-#PmXAoH MXCSճgeS pNԟ47f'vb0+Qd""ͬM0=Li3d"DI/S.eHB_5r,\ld]jp+IJd<Ѻܫkk+kd2 LшO^ZW؃ͩWP`w_巁ExJ@^Aۂcp5݁cXʃRxzu{4W?p^\`5 )ؚ`ؽ_Z3@VS )fj;2ĬyJ4-pUC\53?U nUũ{}>Qƨb,v13q XI)DoXUʫ)eXpgTJ9ԑ'$SD<\A)8Kv{=*Gq Z_J 9uS)oP/H!]ay"(cpTƾ:}F$r6۴]Yq+0ј1b5&aV[PSH]e=$h|⡫ 8䊹ID-X,QlcEƋ# o2W7He$rqqr!xڐXO=y,d2X8a?`(w's ̔y90%n\af 7>MG%(s1ԳغPH~|TaYD8 ?`T  "~W9$%=B`[8 㜎;gSx ->t endstream endobj 952 0 obj << /Length 2672 /Filter /FlateDecode >> stream xZ_s8쓼sE{˶i7mxd[5k>n,*Jiwsә"AA|?>It4[moQ+&@8P<}[F*~sr:F7+s6Δ+UQ ipIG.1Hc@xl6hߕk~MMhpgسȓwva=It4(n qu1:K44>+$>_Qa{Z@8KaHf;%4ȖV w)D|h XRhYnee[!VlT!?QK[RѵWu1wǿrl1~/@ oǒ>-@dwքe e |CBclOKF߸}JTҚ |9ƁL77[<,f@*=(B̹ F )]`?.e]L`RV\.Gaz. 77 pGy1x~-;)nk;xxM"M8n655֛M)+ "6 g~_[0`Ǘ}pW5xCќB n|0ܘ4[K%Lt A% po9y.5=[am~Mspp` ON^\IG!bݯ*XVV衎M}< `-QQvFFHDd.lbG]4.Aa>\9}ĉ&"79bL?ל35%Mpb=koho#uH 5!ݺ `V+ۂA{8d czKMރ*ƺ'ևkPD9|0wg𑯚̀jl1T ] ByU6kγA:}Q`X7;`SZY@X2^-+D eY]aH-+j=W[V]a9aiɄlJ.5|'=LS9XJMڃ t֦5M򅞷9SI"+K`2ʳ~t:4„ NP$&k"tH12;]+̖x4}o!M.2x|o\Uʀy'דRBql*9@ ! AG(qN@-sX JBxC#?V( VwϼeJڨz8xzxnC@d!;qRp7L]琺  uIJpХ!}1%l;0S T4C,\2aڲ£ н:ذ."X/cgm6cQZT@p i nӦ0YW a9(0H%S0/!І -C9YD@e Y86\o~GVb {XʖQpRb^ung`:ʡ6yEuO%!z4/0R%1dhXm1`,d KefYi<dq_ba  "X1dhb%z|bpkd=!iiC&3Z>SxtON;#muQA\ZQxG֌.5q jVsf=(R 3m2lvhw.g[$F)瑯ECMcOAy楋Ku ldy6 W!J2΀s awB9eZVeddt+tY YgeU*D"$Gl~d7gJ{sJ[ms'6Ca4jՓ #O90Y c22rt PB@_WcDS[S_wS]:wb>I\ZC[e{vlGGEnl_,qiًِ5Gl//+?;# @ Gբ^7z{(9{07Yl 32軏 K:uHO=[ [ }wol8.TyֺȫelH߲p䴁ߢA(Sqsl |N endstream endobj 957 0 obj << /Length 1946 /Filter /FlateDecode >> stream xڭXYoF~`_*{}puĩ<%@KMUѢ;SFAh;;3MQǼz$[-n<\\1G7iWJyF̛]wY͖GdL26 !<[_MEʘ(|>z9k+|@Qh4- ȫߝޟp9#R\oS U'2.y_b*^o2ޤ@c@pQq`IlZ95H5R"2q%)%]y(*.t( I(E2)K0ՈdIϑ "K^T·: Jx!i[ XrHo۸@.X#/KuWɘ` X2߁9bXA-1p"@3 {!]ֻ&ZC{Pe͐!~~ *]3wxrR;0lV8IW,Y9=Jb*<,o.j[L^\ݵV$=E$\DK;I(J w\G,N'S_kRol'T:~`HN*,895Rn/[[Fyb/"ٰiLDP8AǨL)TACb Ja]?1|wj@05xˋ Nnrwm 4v,qEWl6%trPuHL̚ |`_e.m@J W&aɶL6ȩ?O4;ɶ™cK6 ӛоGɅK{\ٰ;R#W`+0!t I2fե;Lhʷk-6 δ[k!B>צ?dЛ-l>on.sV2)Nɚ^'vp(ǻ'I% ?6O6<:x^+"t֞otH7q,6ǐ|]%ߜ;~:w O飗M8Ԩa\ܶMr[] ؍' ]С A+X:ͦc;9ݫZ\'ҘuܣHYk.Ţ+nj裡Es'M4v;in\d)B,5 {\B1/ x`ք>F#S$Khu"%?kdž#-(Wt0R(K@W/1ɒsTOLGL+;lzec()@>6/Ѝ.pm\S.^TaZuz슚 8`c6pE_Ҕ{V# s+tVf0鷒3J RPtfq嘁F|Xq9Ipd0 [eR[YϺnkk.#PD]ǼS$L,eG3;2\EM֏[5<f>}!Xk}nl'nݡ5dHDLovԸYv܂9qA W |RAP8Wol'>;WW&|5" a{&] ¼E pbA oW[@\LBj-, endstream endobj 961 0 obj << /Length 2338 /Filter /FlateDecode >> stream xY[s۶~#݉pp%gMnLms,D%M}w%R=h b%Q#-ҌFW#Oyc8arWJ%Z6YMftMӱ"{9!!WF&rZU)e,a~|r6i+Ο'|DQ F&/SPK#jc*qXhuEYPFu_ME^Wl>ΦWl\f0y)+ą&i9Ѷ/Z.INRcބhh/Q}vS#A@GN~ vTnN|ڕ,)#JHTc:xw::I93A@Vdmc.[= CB7Md|d\jb@T38Zvɸ L0Yf@Oeso*M5fƒ6g)ް Lir6ɰ(|Rr}ےU[`rS{9j\wr1.qW Րf5hׄ јk I)d}{bQ,P8rTui7ݎ@ƴryi2A^.ezaGWJ7КVĊ8#kM192܉pM%waM\΋iֽ,ysMkr}WmRjgu`Zen; Fk ^ckېKnx'y o>L0W%UXVUwq{!' rI)a: bhrsO?_i +A@?q[?] K0@Q&'hW`1dYr lʼYQVytrqj3`( # 0tƒ',)~7/<B[/7U9G^z,82{Vo~݀!:72ͪ󟡻 |GA|*wq-n8SJK \vJux;gDI.H, ]õ?+G{i%+?Cͦȼ3jt\U!z6fK6&sLNH1UWw±S Ne5G;hѺ3}3ۀ?u٠( EV*|X8,D߲*!9{Cwt9l_)=DC4"/*svCeyl`Lj}OveZSXbQWϽX"@q:lu鸗A)4ŬxJXTFD18d ?X!2@:sRt ľB^|y匣{Ƒ>/3a KЮ@"`;ZC 5Bg굺CX҇D(dG{mQl{T?7{f A}AaCP/O @0ǙF\֚Ͽml3!Huϋ!pzb."Ohod'a1S:8rp 8457;` th78grS`HQTN$rjaH9PD**f `ݞsPe(P%St*^xUsƝ]] [̞M1TP΀v Ĕ%J"diJ/Q.&}69*c?ЃxqXoQ˷؀40zH˻ŗ>S !89#W:!4Dq8CvÈ_lC-D| *ďo!~|H`0Hm~ڲ9o.ŠtM`/ b$Z/PW-+ PPˬs,mx tP y߁nчtpJ_[~ >'( (}d>1$7}HߨjIRpӲ(YonouGFʉ;)a֌8~5Xm Kgv=i:+m:`Y'B~Xׁ fP0jOi`I ?FO):5=d0) j+8+xG%{eX60O'PLϰPd̝\[?J>!h_/֋ڣܞ('~G_Mh(}Ǘm :9yaB[ղA(߶ukڐ;V> Z endstream endobj 965 0 obj << /Length 2674 /Filter /FlateDecode >> stream xks۸{~ś`s:r -6ǑRܯ.H}3m3&.v>(1'F JD|vDW"p܂bHpDf7# 6fHpyiWYHDQ!s#4Jىtѷ"Zsu:Gifof;AFDD"rSdK 1l+4q Xи̶rgb{gE-_ cfdcH?^ѽ\Q1ǠLL¤ \ʻQ~CtzU|Rc Ù=ܦ\@, "#)iAk8M+[̋h2 J2>LZcru:+W38_nҼؕY ;SPEmθ5Ndt mIB;.RB+`Ah6ur0y cqhL[ۯkɮq n7h)͇8Q'sz庤 iQT׼"וF3aܻtEe6pTZnR5ST*V+yupǔJ$qPK0cbQ[ H'|u" +!X,{/'#+3(T5x`TO߾=;t@Z ikYbm{N7Nũh&GUѥ~eģD/z`^>nUV6UvOMZUpdk4<"7]^4v0%1sD嗾(<UcpN0 :U(Imܥ=&2,NM RO_)-(8MO/!+x6mycާ$: kOXH^&zz/<+i~Ww<Кsi%(]ovwVkgId:0b̊n !AqsokS`,qVa FN(UF+b^ -L=zkol">teHqPd+ jB+d!>?#~$#*$u Έ G*͈&E&E"lQ/ ֽc]Ep `mFW4_P3!Mہh_321WĄr]oۥ'X( #U였ݜ+мlgUZчs(~| wdQ)k2.+IH;( qo=S8qIyU!C9I#WAqG+uq/3 H! |MhXܥw@fT\ JS#71drdLʽHj2!wuL??CGCIBݭ*] pIB1IRNKmkp E^{q7sM(2h"ׂ xt QkݴE2#{ֻRZꘂ=&蓨 sEt:5Qv Üvm  .۵ ʺ+e5_"%-x#[ ކʘp\N V696ayUNq- ηG,Z9хjA1= }ڧrY8Ve@B[MPp`8$ X@9[p-AJlC8ymqiM{bWu_m6pКvDª^WZXN7bwq-tee\F,ϖyF@o^پ2fFwg M;JV[&)/ۼfetz>)ʑFi<{u2W*l(c#JtWxÒ]Y)aMV|zaU#Ǯsu ,@^}o/]t!f 'o@M3v>EHأR7^}l*밉OC_S2B^7|ë/1XWF2k.Okc|hˡ]>=x暑p;)-3ylWPd[Co&ꐉ~|7]=bP#WX_+8tWxH5?6/&Ђl5g͋tJK񳙿HaJx@sӁś (tS%B>-JeqwTj(570;-|>C_e^>AJLcViA HoaB쥘~].̵[i?Xw>߿CMG?C\zj$fpzT:L>ퟲ.2W ur( mHp6cvþ("> MXP|H(T9)O:Hɵ@Q;suM_2m:n@yjkg<X>2:\3Qr> stream xڍYY~ h6on'&z$"lIS&w<>u5II\d1]]}U6Eɢ/|S^Dn0o^$EP~FChx0-9o6ÍP%1n JWQݝ]<{%i[x*ϴo]*ӵxJ^<8 qqri"wy+\*>~;-"ך{:ںOŭ^>JV.rSqf _omyw0~}=sAfJ& `~ልXp;FMyww-P$N@G ^MS gjjq|c1v?eJۚ.KܷmzJ~IOl /klzzo~^_!qS8s$+B?3>{?]+4sk9a5ӆZGBء7 RtB?MdK:*UgÑFW48hB؋+ CfvB(,D>;AyK|zO01<q{GϢnqݐ|ȎNr^Ƀ= <So?vhMuee{^c?}*VA)w䝱IKʕ9]pC 2-o0Ig؀6v6x%IyvefEbŨBheP('p{ǽ@_ѪQ(>&m'l9:c6C,2μ'3/Qvd?-f t8a槓+lnɶkwc_̀竮:}a*nU(jy0#vνgq +Pq8-ܮcc,xdAɺHF`u(ށuΣM4rܮ'Wt4f&q`T>ߚZȀxf.zr]%@=.!y e&,s8bɟ [Fp0-ve+K r\?IrV@r+1ͻdQYsOV7MT=GY"(<<FD+N ^6#?7^䥼=F<~A. z|;"cL2 Pknm3wqEƕ{}(0zr)6+7z:9Iɪ$ TKr)gQ &^SRm_' Ⱥ9Ln E ӱs<.Q2XI CBk+5`}ݛOxw?[[,V-+tA)U\@x7 #l}ip!-n2oBN%H93b8B,W"~jn= kȉq0a4uk?@`x>Vl%r/X+]̤2K1@jɟ`-+3Ȇs¥P`v@[-ɞ&ˆ'K;_f5$>iB!Q5q qw whXGsf b2Vzf(1ˀly⥝!Ll˃Wn(&^J| Ɗi)tXܻPЖ8Ia*)> stream xڍZms۸_3')Rtrqnrm̥m) Tr> rNfL`X,$K.Elu9_/ l,I|v,궼WxWQU,MOmW2{}mCѻ9i\GI]on$ˋ*NҌ*hD__-QѺB{=?Uh][WId37M"Ձˢ}<îln}yF,E_?a-#"ۜ%uwsGIf<'~qzQ7TXج3ôFyjfվ*mTxې= b9;wAsӖj0% ~Eς=Rhh [o73btV֍ExpH! ~kiEUpGaլWOV]õc:8}=(T 0@;ܩ wl`|cFjW u{Ԝ@o34j=;n6{,\%Mm~w3leH| ٫"2HE #9\cKuNVUi.V~w܁9&\Vm˘I2[DZ~PC.L;}[:+7(zCv r \YahO%#S@ i*0*ѡJp}S}& &xe_&O onLBp) -lē6D&tu夻Zp\Naw4=op>8 hup+v}pmhGDa:WӂX nlC/d>L^B5 E63[Q.i~ Ek,)~M3< &<vyGCX< xT9 F4&diOi@2e>*&l4ѢK#b`۽%Nf kLM_}Hgi9?dT7+̍$ݪ۱_+G}-8 A5n ٛ@f?{MA{ӛa*Nsْ'i1~(nUV\_+y+ϯ%Ƿ-:^&# QBB?RϞ0U{@/=SY/W)l>\ʲ-H\MaL0PclGędm6;Qgy\y^EPԖ ^G82Y ̢$[k$XÔ}}|&L)K藏o]ԑp|Ţ[Xe"6EMRHJe zN5}Y-OOe0s뚶s7z1ey0odefS:cY[QTwSҠ 5O.B "bv1udx?1<46*_1G]DlC`=mi$FIH\rT88Mx5(uWzdj5~ qm|晼hY4KVRRD !mFaY}u`T)ڗ %2[c$WR/PĚzh%#u,?ȜO^,#%gH]b׾c XK0ji[5sJ \N]pMfp4KN gOC idBSL`7_P-,1jsd|XV2#1SRKʞx'%i "Y6ˀF{ҒloW&'Oh({| :+9Oyt0g?S-/GB𚇍*I^D@6Pkxn1_BB*apaqf`ؚ(?}j'jע0+ 6X2 r]EtMHaľ4{V§}Ch/OAW { "nJ9ZyDVؑ׮ l?UpH!^hԛ{t5L=;7|%k5'W~ =KEMn$Cv$gnܻi~GRw;Mxy͊I&oGZCɇEH-ip!0_CdQm 9<$2uDLZٷ株sR{Xa`i, $;A ~?@x zTbr/p\Zӄmx`MIso~eyyo҇}QN'DhQ7^5 K> stream xڍYKWJEM-gS8Wf4߻\b4O`$n8 F"P!^~ ςqI{u>owa٦(nwQyo~o{c<{ͱj3mC{"y/~؇-0& CQ,,7{W4n)ho~ Af&ޣLru ~, '+ ?,|m! .>ʤE9n%"wI:Yۺ]^mW e ]oB}.  nT2m[#797ʇ v ^E dV >(F„h.``y0 :t"oM띅R9 XU%kw}(,. 4H`b.(VtaݶL(—  pj!vt/,{g;Vmք5||́|j@&nM?v,x)~s{dL"cBKگ96L+rhf!ĺ/݀nb2݃mڑǬtrƅm}zbdf*(FǶTl<ER5sr1v5EV, x#`TY L.ƙ76;PuLnሽ.fR!R50{bݕۓ+1H8@LcHb"Mg.y1"ۻϦ4XT<I'])^˂ 3 >89} 5*2b] f'3K9?tf p2 #pO\'5l *Q-8םjD^0)?dJie$P otͻm +Yk H2!onCӄNw%^Ym:W-ȼ(Aej04n' ס%[4m, " ::GYXc)@!׆3ܧMg=k}+%x"k*VV{ٿ&ah%,P +;3 9ty|aZzJwV6r2 cJ'w,k!iAPڧKDpc-JR`s 9-z :{EGR,GTJSWIT#=IK}:g,sN@K:A(pF\^;]jdr-WkgU6IF(xU UmSv):ZN7HTZwG2;GcA>e-Et֞E{OTE? .CFV4*3YLH׎BJL{ЯV-RAM%`u #WevV .:m5Mc?că xs>^v8<DPثQ7)@ElQ>  +X#)oCI'A70= .ztPY9Lg]PT L?/BD̓}^aeEE+\0p1ZY)+EYiqM\]5kYs)"_!M6^Wcaeb[މo:Ң"pLӟpEX8,Z'2pR:z8uEHS2K!/CC>&t(43Wʉa ;fȠH0IvW?}t$tJD2r*.$}4؋j{O7 Tuݚ5@&*{#A6銧&|v)zݶB X8H*˽0Jna ZXfpl W%*?k[ҪBM > pkF8Tab*3rEyjA`6Żm Dm4 ~25_N9P6ϼ6%TPST<*4 =XR@7) ""3ZxֲONzlmJ#O"TEu)1a*1~vv*"SJq2`S1vOΫ䓐6vyRij^x)'@b-:éV]%/tv0e5-a7vu8%J# Ik~^,>zX IzI4[>3ZLrcDy-,Z5j=J Utg n W,0sA> stream xڍYr}Wl%`w%oHٴ1N< ܉ſOb1s>}z6ڄmpS$ɮJ&$i~xI-tz=݇,D hs𧺯7 ޝW۸ t[oW$Iowg> Cן`$a^Q_7&8?w=v(et%yw0հ L2"7C#_ Qj,Tmݻ}?kY`ܨZp%jcn?-.uiMT%(tt!Iӊvy4;Rib{t58JG *h8E]ZV17e'b2 >?9A4 Pm)_X Vٮw}Ȃ^I]xIh;6*vUV7Q^#(flrV(;߀k*+ ?!Y6/\^[^|<m -K‰6(.YnA[uЈC {W0{~2E*Jeg6Dz- PœDP.Es?BFfA`e x EJF4:d#jH]6kTΩYc"hnkw`g. +17^LӠw֖!5Ǧ]aޕ.dWgW(d"&TY|HFN7r_tU uGP7 s`q fF4腭f(ϱVxW|;0?7BbPːں"~tN;\X̐6M c,738tGnC@6f# bYSfR,l@Z 80 i3)ޝwDK~)N1ziZh\[8#'2RKTCH5Zr]S˗dڅ }&17(gWê7Y;/i,w i. CT0 k8MXH'A@邾 v#^S g0FtSsQuLS5(شD!b'hxw8Ŏʭc# A4H>C2!-z^VLF A[.4AOZWlΐ}čK:EңJ(Fz@i.t-Jda91A,{7$ Q] P2( w{/uA(,.$EyFqS7|ʅjPp!hռ թ L ~iaKEe2+6 V8ܮF4o|oH%M\oY.*+dLpp0ͳ̖qm1{g{'4%uvV OcЩQ2! `SsG>(xaHvV X-3 TBWFrE!5i=.^ES,vB %oy eA '(^-s;B<պJB Y5Pt\:e)x(. g 6M ֘ x#; c`LkFL/EHd?m2C>TXF1 O#$ZqB*ǡ Ћ$B(rCF5{!zl+wq2_ntSXf+D$蔷m tn}8DƧ)%|(rX^ּO)QI#FAE860hat.U-rY7*3sJ9F1 —+-=^JMb?0DwO-7eNp'@wejaHRƞ;.Q<[P> stream xڍYKsܸW| U%M;{ZF[UVJ9PC r‡%_A @4ݍ=Y 8^Iq9 θ/o"w /CE n벺|:_@5~:8|9Lsk(JU]t_F*JH w,;)J˄n0tcʌPy SLn>dZ DLyaݟzF5,jp Ms-sDFz`ܩ4жk[g& pM" 6bd >++B xv#{a ~@:+OT ]"T#OZ9h^%"EH@X:#v+ϻjR)L,c[(l;"nLطN怆-ڍƤR߷LAW!.10"|: qr CGRBak=vSu]f ǪFIXH7W>4<FD[|vٌfGa{TU?{<ra)krb!ȉHbmWD0|IsīPtS&P>338qQOCWѿ5I% ׾ NrHX%W': N- ɝ1㥷y @^g/6"r(8PN K#u ~&:9,T+BsX5]Wfgδ{ʞA̭3@s 7wuz>7?܋Sſt1/ endstream endobj 991 0 obj << /Length 2769 /Filter /FlateDecode >> stream xڍYYs~`eU27%Vl%^{KV+I3 004naF h/ZUH*-W㛐v݇7mq3#VQxUUME׫קznkcI$_۝0d=uzӵ0' *rOjnvUE*/ӫ(IYj0F>|p.gVGnQLӾ+*V Llalz'nuAsqB Yf1cBy\gy0Ke'eUy@Hkk}5mE1=%WQF|RVV ; ȝӎsЕ6ix_v}g^E<|@9ڜ~EhFK{P8- jzx4/{[ Yk [M/q;}6xNdeRM?ʙΪ7k*GU !4':"lu@A^fĆy4ٯ|eܕl:Q ;@p,$qZxqDVBnsidVN֑h",ObNihz$ q,h?6'=E6qx2㗃⌃ZatC)@) ˙rȤɱKi2N ʹ{5P;I+lB=5x!ˤ{,|GϜVl,qz+ E zh,1D{="v-$&) e6nm tJK aJS\kv rUE3b_@#0`;g'9Nrh*˄NֆK|B{){U=%Yv_]:њސL/]i3/I>6Z4)w۵@ebTx8#ikn{dW0J$ 3sYsv[~pk6n)hR 6g3k&HRϐ04&rH"ܲFMWE03pMZ 5VzNӭ)ap:`WrsU(u N "Rsܣ/ˀ 3#;jXmˡf86CfKDRAum;Ql%PdY?k8%zry_")ߘh*6-v,Ŵ~HHצ,Rp D˥M4@qR& /3y-d>qJAm9r%8˲atFbÖah2찾I5&n}c܁;TI<ֈ>OOA"\(TtuRd.֣m(ɩ! }ќ1^(bạ)8M\avh#"0[d%o6 (/NOT5)R*Rn 'G1|S˱:学H]Z+: ?2U?eG'i#F8{,<5l@ endstream endobj 995 0 obj << /Length 2237 /Filter /FlateDecode >> stream xڍX[o~_a2;[f9ؤ:Eq<.񦿾3$*p8ͅ "u Yd;P >}x'o /nއBMy7/˕8}gև% Pꦔ+Q7]?%B"]"JV(r?']?yiCϿ=lhis.<b%"Z0r/if)z-9-d3e*gk \o iRk%1H~խʉUӂtVO   TX)?:SUp"]SDtxT0lΦP̞@y. %ե.dC+i݉Q ;Ш/BW? f۞1' _543#UuR|%iiB4BLYNVWjv=g yd|`y: Ā^M)i 5|ss</UޜMT$<υP+EL^)/a3]nEf(붃tCQ֚;@/?öAy!|Ysh9f@a(g(AݐpMg0!=<L^0BuKWHuC,Y ٩fip5w y8Z8)D0"'$:R<6P2.w'S~P[DugL( ͩLc)S Kph4Xmd 4BKvbHP40ӿ[ռAXYF$IK' gp(@x1 Q% 9'2a"up0xFIO`k\B@x@7/u'ӱ"%ҳ6)8g"iêb -sFWtpH`[HNe,Sޘ^"9C/ajpD(tļܙS\҆FLV4ac'z뻾Q3X<bJ40LGlB Ǥjҍ2( V!Y}F)4kDS"KYtHo(n_7/cbh(GP¢ɗ@ģ?\ N!56Gq3 [R3w:Ӿ ={jt>>cxm-Q2~4eO=2zdn1'!'fqWP51L;\ 9ŷ ૠØ@AI["j1YH)*I+ey(Xݎυ|`oQC{HA+PDlNvy wr"CR@e|hj[k҉`)L\Rm8Ȉ:IVܢIh: YVL,kwk (jb|6.!'YYK>T#CѤ9Ls5V$ VuX:f'R-҈7]e 9uZ%\nC!x<%FY}B~L۠A#gʕՌ- rZ^]4/.!,d; &ʦ#|~.E %^3q_vRVP8,CMi26^% K'Ƕx;E$AT_x`*Q x\ExsNi?" G AVDi m$+dڼ["4c éiyiR8;OOK(q?Ȭ -AY)`k.}Vgt.,li*|<3]2H1#MkZi82'zUӗ0?)ܩݬlG.Z=4y^*ĕUXt,1Ơhe Y}^-&sdo>yL:Msj 1GOw8$mgetEKUDrg\`K'Lp!/zCS;v|?|BgmҷL k"MZt&ftLS77S endstream endobj 999 0 obj << /Length 1327 /Filter /FlateDecode >> stream xڍWo6ؗ@"Gm.V/*2sEC[ w߽i1OhJ*63ZJ07LDabLUֳ|gyRo_pr0nfW8ckQBDWޭ8Ay7gBR%1M2 ͻ7C2Υp]yckZZjJ]sfmPuخ5jAtEO~y(bj_Y4\mj,t,mpm;bH= ȃ8kr*˪[8J^ zDyyl*24z_þuB]DS@]_`Q6%xqD2573VgKmMaT~C\4yIF0yAAL{Xe<2Xy֤j/""u,O` ys p/Kyl0thXP2;!%XC)}켆hLE71TC T;M̥ݡ콩OsFj)wy;ö o5?(*xo@ɶ3y\4]5:7e6D]xI U%2w.<"F\X9|Ǿ0wD 4X4A[}8QZ~ݓ.ZN兎S\*]O\rsfDjkM=~7~2અY;\ܭW@A0H 3ɉ : Ic"/1!"=~(# oOX endstream endobj 1108 0 obj << /Length 4008 /Filter /FlateDecode >> stream xscSą&>vhkkbKM6KB P'ɮ|'3ɮs} ^ů~+#%s^˷u}+*ǯ>|i}7׻|U A*gV\q7K[ŸTǼo;ͧaݼmyhJӮ+t, ;~:J~eEXﺦ{Xء\|C㧈&`xgUw0$яV^sQ1iά]5ދG-9"y6= 4D Uۭ7}%Pr\n;yZr[$V5 HnwrT1/ȥ%GEr)W:7l!aԯ%xB22gOVG?ȅ]w{~B~R9''3?˙CӵZnZ\]9Pr\h?KLBP \*4Bs BiQh<ZKf~o/s22M\Zr[$J@a;Wk3B5bTΑ/%GELɴ<{֖IN`%TK%GELҽnDI*ǜ}8,,rxҒ"y;N'qeݫQzJUqe9e䨬H)8`c𙝚§ULiƕfpMRl:-} 77pYwr2r Q=NL}3-x$WYclt*A]6H֎`,syṮנ.b#i q0ߴ/~o&*Tͻiy32 nw&MTw(\Zr[$Jt͗\* Q`!z|Y97;YZr[$rjždjN%GEr:]߳^C#Uүe=;HL3F11 wұBwp]Erq9"y渖zcOCs>o46J=[19R/gԕ`3Kqy<19R/gp[>>,*}ƖQrqYPĴ䈸H! ;/2*T#;3~:y (Gqhq*]XВ#"y?‘yQrqĴ䈸H.[nj^'dJ˔gY6"BR5*!ǁ$QA[0 t@h=@F 8p@;1 pJ3cj.ulw6|fHdq8:)L%HT=W T A$R" jfi6ȶ k Lq9OKD<{tLq9<-Ճ/abF.BtDGqyךcBR9n*fbb7U$¦xŸnj>T~]̪?4?s>zE"_9Ǵ n?vВfU/f_6AE2f|j ;֒9!/ESjSH(PլoZJb%T+1ջ.A)V%?mT2!ZQeb`L-[Ū~~xRAƇA>ZEA0ǀL`pBW?B@I  ZE"< -4X!*lF((r`\S"vTHkr!8^O\mު8v*0sJi^` TDfNIVq.6> H ȍ 3--"rxNvrnݵ/ t*TSλPzE"LYh&|.jl/+BdS9N63!zE"L*"LdCdS9N6旅UTOHGR.Y?Q#c[c5;뼃wwHO{N1;}C'B{zccr0pb@L[d|<W1:#7|ZpGL|DL_77|"|ioW.]EGvucZCeqyTϴH֢RfZCeqyTϴH*^d~>Mpy67|4b[$|%gfi2*T;zE"Wp&_Pf~ ᱱTG߁'y#39CcS9> stream x՚Mo+x\8$X :@;1$ÛZz3sQO>XddSIV%uԤZQ\)Q!\{"2\G"+^QJ+kόj0Z!RkOJӤ+qB0iV 3̦Vi+j~J~qz ޡ3 x4 *T;"lisx\ :@V6 Cw֝<,Q1{j` '32|tt(Isߨ&Қ@@P26@#,pzG4! 2OAw"k˘7M. ŤL%;g̠D/]Vf 9EM 7TS'ϐݨFIV=-4$HZjPWJK:(,. #i0IHsI6=|]3(4΃{* e GԞhz:1=e'5XM"f. `\ @QkJ*pF;DI{(n>+,dI9Ex{ABX}:VϞߧWJz?HG>^}}zTGfyKUz,Z"H7"ʞ p<@)'I?nҫirU_6xf#9DfZ\xt믛޿okysIo/ 4 ֒<5=aYgtк=dt{}.<.]k=^*43}_(C4md 2LA S)d 2yyyyyyyyyyA s9d2A K%d Y,A K5d YA k5d قlA [-d M;~қJ-O-DE*=O/Z7&}3l>P[U2qئP!l¨z":ɂ#MHFYrŒi凌#EwӶ]Y6sq8p٭X(kv$g3I+iM֑;fkyMvMaԖv_3ZjTk&V*c}Q1l]Z&;Z>٧tbOhxFqj:nz|8r,X/vk78 Gj̼+ݎIMV1lMbime6jzb?Qe+W,IU6:iXv8dv5֛pZ8JMp>f+ןflt8ttB,HMeG{-6M=E۱}1O`RW] endstream endobj 1140 0 obj << /Length 1438 /Filter /FlateDecode >> stream xKs6FZ #Ӻ.;u:FeM*I{KRIb[j'%?s $BgEl1Ӝ+l*ß]QWwF?_}rF b Kgf]~]s~]n~)CBkJ\zs%cr:3*%rq)ꗪ/s2g~tg)7D֥ GtsK5=N~k$P?MX}4XMzʡ'KGVYl%c qɞ}c qɞ} WÔ~!b= ~|GN\0PilXK$S_lzuqoT=i!bmB ]]GEaqqq\ח$qE-p{u‹ 尾$ud/Ic״eqg$l/Xu0VC9l5+ *.[MOr*Hg6 u8l8VOns<\vun o3Mnox9`vl*%2pn3 r=bMrTmLRSIbޔDyvKu nX0Xd?I_fsI:I;uae?.PӸ/=HӬvnxt\XcV#.u$歱n h4k_P[p$1o*"cS/dYgc  R$gBUj_e\kQO۵a1M!q$1+PZA q} ΄#CLpeE3!MGt&&Bd;pX4:OuuuU׻z<!KkG :îc2:NUAʩoM샱K.}52 DE"O&.uo, ~(-b6rFļ;pȽ5ݐ?̻vȑ(Îb`#\(I;pGm].z;J &6S endstream endobj 1111 0 obj << /Type /ObjStm /N 100 /First 999 /Length 2120 /Filter /FlateDecode >> stream xڵM+xL.'I@0`G\@t# ˃V{f L;0ΨɧY,^HE(DE8y$q|)IEFpM-59;!h7<5ZPI$mV$JȩF MV kj%ޠۨT+Fygd耕&v+-jnFKR|IhtK'ءD $6GanI/W5jR-J-)Q'%F1-a*IktlPt4ƢQ&>jdRFLM36A)UM05&5ޯYF]ON=z.]9zzre/]N[x5-jtM5db0Q} =U7RR.w+ 6z8 p*OQliCRs54du4N?@@3S.­[ɩu`ʯHAL r,:Y0zW"yJS}c:52^b*cCv˦sZ1reiHGqU|B 1"LhfDSΐsy,&U^PWޟyNm7u;aa/_>7io?ӧYPZuÛOOi0Exqa-VЭ`kgh{goVkV輵[˼[˼[˼[˲,[˲,[˲,[˲,Kx 6Ӌc?<s@kfuoD8ǾLh({8 "6{r( ¡kwAiU(.Hl)*DT4Dd$;3Py2nܦizePBP9.]^u[Ö^0li7tc{SV p6%vab &6.Lµ]ovl:5GΑ?yTkmx|%Mi8]Xxq7rչGk=H9,"UYSqq휲Q6-W${> stream xSHWT4$ͽ 78 WW+k6If==n,8㞞DG{*e%㛤z|_\C@<˷7oNMJ|Dn&o~}sv\J24;9ь0*o+\z'}:LI?%)3?5HHHHdO׆ŭo@c/QER\h@3Zm|GL1"L=8g^QqUĮpFµuTIJYx֫рFTXD(!j;yFr퉅xl]NPnrET:d6ݜx61#_LKt} If)ǒ䙃$95]տ_?:MrU7)+}1_4"N|Ȟ~D'3Dhu)HH&Hi$Jn~;:0 :`#h`!vl ?Ή #Q#<ò(/mng*!Ǔ9\8zN!ĐE,`3x6IU`=%5I!ܐQ6$n0:N6([`ܚQ2NrDDY*"T<:/Wt0~xҁSnRS])R`gxc+OF3s,eI|NTu\&$)Ʌe6pМ3xnH0&~iV؁%L@4IljpRԧ1+ӛV%ʅy:).v~5x:} O״cM68YNT Br7/W 8'rjf,8o"gfc""ld̮T\l N5Dv/gC*~|M95p'k #eÈ.%oxre]ƺaZs8'"ladn3]7Ӹ_R!xR=lirCrTHi1QEdzgfYwg#O:zyBIoמ/cO3Ϳv]C$6בeh;C$5i2unnR'Tuj?3hVDhzWoٰXKiKBVReu39uƃz b'inߒ FvMI9!xJR'sr`M贗 W6\L_ϸЋjQ.f:7,h61]NtDź `@ 't] p|*V#'+/XklYN(sԚYG8QGIZX䧛^:'w]HN.Ds 7ͨ cA"Wj54D6*Fg'Lne:KAks&> stream xݒ1O!S130hiH,i,3j?_vl4`7<lj!λ/P닆ɠԬYT龖Jܶgq}~댈%uw9Og$2Cq=ON>:$qqf}&٣βx]ھ6V vAO:R&gaP dMϹqJI~m 8E endstream endobj 1222 0 obj << /Length1 1604 /Length2 8359 /Length3 0 /Length 9406 /Filter /FlateDecode >> stream xڍT6LwI0 ݍ  3tHt4HHwz9_֬5>~a斱FXAp7n(@NM afց q .P\_r.K{۽Pq@(HH+C(@j P Wf9 >60;$"" q-5K7;}F% C!nMIttAJs]?u$..Ooߏ?xA8X*OA1UTvniO2]Ne{ۉNgn|k1?&j6]^k6L w n|~ȭ#W/E9]@#ܳSɫ˛U͟^э6 ,gγFɀMAE8~r:F3tGω_c/r>V*&*#JZ*>ыBzfB:=գbxAR-BԚ p遇XXj|BKl+{KͳB/ni 9?=jm^( k}`!J7 h/ζFfGq!Q^Vuh!U<~_}꾻ETgih-JjAѾxс !xXy2 Aʪ`臣nOq`c[F>/m-) "xׁ#/bV;MK&Ԃ9seGRcL`%Lg[e&Qt08#]pEnf| 3 gXj_xLF: (Fs…T1 *S\(q30IT~[Bά )`Ǜy8$1tx9 NݺELsXmoOJY0 u(qW-fPZo{N Z1k6  PO0b=L@;Ro9/N'R=m#ˈ [N1<ى <$kV$OR~i[jgXSrH ߋ ͱp)Rh |{VU4.j3{Dz̝݁Cܰ=6D/4-OSrɑZ?аcҡ$U2=~ҢȒ#T9R[ƮJTLcdwpJD- 2ugFN?aҨlW|[ğ֙.LD/LE+ȭ ] ,LΦxҭ+m}$IecQ[=>KH-)0UB0_Nz0E=:ՠr%oNؕ6 S"9r-ؙgщ܄Plb=ַџ%Cu| `$=mn|EU/+fTV%p"-u¶ԃ)ߑː>g9xS#Hr~*MIkRTW_fw*J`.wp$RV0̞I%;*ٮ}_Md*t¯3&R!BYn.JQ-cfك:ۑX>"2S^G}1h5VULO: )V\Y]bpBKQGgAu.M *BleWr> @hGVj@(d*|dbv)zNL$AG)eLZkE޼K7*YW}Prټ߅}zZꩂڐ2!=9[_x6hϏ{v"}-0w續fESՐ^Y.Qc`c@Ix @zbW>3];VE0w1@~~AWd^hY&əDFB8~za.ScfSZ%8\|6.K`gUUy0O1 ఍YtVK)OHσ+^E֙j>ޚ ܿGzF'![XK/ 3J #yY츾}x'U[S8d{k$j-'61[?-$7qG 4ˣiۛBnj=I~.l5<"6V/I/-Rn ;mQ"::,cLL@J پ{^[P P7iߩBx,F?5`zU`?c >H]Q/_ [I8e;N'WaM2䧯ޚư0 z!PG4D/-T^;q*Bkvj:tgT ;|\HW@RV Mx/>N,/na-DvгIDg |Q@Wd|)eod 0ڲtLn3u]/ h{i-3!ºStZ'*J ,/)EG }ܟz@ԅZV|^v1S(:ψ 3_&7k4{*ln_EBLit_u>J5T:\|{G2Sm \'Obȵ6E.}PO@dOM6ž+e^TQ1ڳjtu{}\o.@u󃍍1?hR!V*'w\WԛzJb=i8+׻% R{T4B^l7K g|c%m<,vΒut fa dQۻ{2ے$.G)Eb= : `| WȏOgdh[&i%{.{&Yrx&ݼ50Ƨo_ rc!ka^jn"8<'N7YUw>=s|*'5pΞ ^A])Ȼ'I eeGHW k_cڳH ɕJ뱼L6w ]箨oWjWFVZL~2dzh t3iGKgxӷM U2a>8g|''_0^p B:9 )90 cS ؎dKpiu lP4EHVT]I'N8WҚ17-u/ej7{~y~~Ƣ1P&b5؂w=I_j9ϻKФVឩ 6V΍/ 4rr҇"䧙szgЌНX;.L28';Go)-d-iGkg4I"*#G 7 bPvIxC q*ؔ(5Zu8 #|(i V<ϵyg{ʘ nYvB.2&RǷ&m:pR+J,Vq)wO5ŵ"kVTYEEe|L-TY65& R3Bρ|ЁR/+ %6#+M>) % I~ʙᖛuD|H]6/XZjrkDUu寉67wz7xh/oG\X9dP%U)\cDOևuǧy*Z:K 8^S4NoL_AvM&}v^7IwW(U!V^XK|]s+#o}bE- 9)΄GvxWC.mA5͞h_aߊc϶լ$=jJ@-P5P?^O9/²1]8q8("3G:.9ّK,?.h|ye]XV.D6iGt0EX"%L_z!6}VX+vq&^%1U@;BƎm]ɳ+"ļ1G' i;j6çƵ-'Uajl! B~/?owzYp.-XCcH 5-8Pe҆216| |bDAM3 3h{C(x1m}h[>z|l@.~nNe^Y;  h*Aؗʊ+fKQ>dpy3,I/OFMP{%rH J].)Ÿ́Ў"e\Γ\ГXQ僇GIiZ}bİڏ.rn;;Ŏ<l;'#*SfGUQ9^c,+8ﴫ ~ 6krTƦ 4c~r K6:#7M[i[c;ol Ie9GeI0w[lt?h#ţL0aܨ+n]g=ךt?2}pV,8Ekp+z m(*{|d,&uM-'K3˞0y]T WVA %"Gk f 8}Im\vmUܦ\i4 b1ij=H ݊.\H`s7L>TN pd?9-h-_ ٝ.)^&*y^\p EΗ<uǶ(41FąTr =7{+lt<2jaUu"u}X0wRan~T#9 mnCX]1V=*BgX"b';ߴsjM o8xQrLo ;N`F~OcV99 }: +YJ}{*)UI=#JSF `9?3vSK/$vOk$C̀9Tܙ :P8ˆ($*%*G]H."KzXAX~֞ Q JlpHb5;םKhIDA{\;$I/gS~A) 唚J Uj&򆤥l.CȻmϕ-܀E@84v4|ҋpӋjŒo%gOfIGW7_8._{hCa8l&,%e]ݥg$Ra֡gz_遈QYMcѷK3}WrQu!>P@)7: U@6TB֙ncM{.C[Tّ : Y쨀oZ^Ѹv<=G\錘FLnhy>s 6pquXJbHSUPlZFR~?S2A.Y nUʢ}êe `S+tkƦiU-ZY͙= m37rUǐv#셾AriuP-]ʚg 1ij?n j2 >Ԑ]9O=vl0iJV$.1Q 1(Q:..Ա1B!dH\sFNBHRnKMnuvJρR[Gē/@SA>T ISPEjMYYb("n7KB>UK!f>M`M-g9ԝ# P'iGM6 nf 0>VGե< ݞ *2[RL7g#T~Sѽi.M=CfQ|.T Vۈ;S||;S~0|01UgL 610;'gӰ(,hx\'żyjЫڅNkm<+.HCCp)^޾r/('[kXb{D J h Ȓb`ArӔJ\نo`,3_=%,QqmDSI?0ذ~o tQьzrJwhSWAݧ(uerLАkN|8![m, +dnd4=/Mɒst:S3A6g^g5T@kYhjx|2lBGrHQ1w6qOĻkC5rV,E7TLSrf+Ь2.#yp6%{Kt: ᄠIsR_9vv8ԖĊM%rn(3M8X 6K>|]2P2Efc ,'BZaUfA?>5,* 91zQFs.Y/~~Bnym\'~]=2w^No*[B"&5f{m 4z?[r#~2+Y:g suqԜ*a^ߵI/̺,aʴTf=h?ɇ.R߹Ay\@fښ+v\L Tqٰ`\,z"0Fbat/TTf׫8yt>^'3'/SwfVw5ߺazG-٬߷munCz y 0Yom+fjE[#TM̜IQ $WO!vŤK5rlùT/o{*|SI^OQZ endstream endobj 1224 0 obj << /Length1 2371 /Length2 17677 /Length3 0 /Length 19058 /Filter /FlateDecode >> stream xڌPZր"5xpwwwwhww -Cpw A >sf&g-kwCE(jno sadeb+鰲XXؙXX4\l@#Ria!e@@`ccaމ t2(2@ΈTNV-]y/w- hPXl̀6u{3+ `ufw(DprANn s_-ƄHаr[not+33g*@v+mpL oYhffo\<\@; 6`h 6W@*99Y9839[#_ac3ٹ8#U A.6sb,f$p 쨱b^ɰ{7.I^Pt2-f!7R Vb/5gptp@fATݹ\1L;BݳR^Wb[Z%W%ZAWŠ>(R_VR=Ʋ)/MuC]bw`}U>QRԥLIf8nx20"V282 齞Kw@;V&F-`@∡sj-,ie4eeڇ؆)A٥'"X( g:[Yz<9yYՋ af40Ϣ.噹L;5X" ~dأ)̂ws=ϔd3W jAnK8C/P(~mc7m,$- =ƚ5䳂|? ׻%VJ@"?`&57GQ!L\`;x{87OCHaNam:E3Znz,]SNXa/[?)Lp:U+^5 {ƅ)ݧ}%(=5\(ᨀ$@τ$݂n`מBXjC׺0AȧK(D0}ܪmE/相_7Ht֢I>GG2o]_QU/xٵɪ_lNwP!I =|2'ט/zpvg4GNQkDcG)`'ECE3Ҵ_J7$I]=%3d7f蠃*#BG`X)2dqIpR ϔ$JYpGbAtrXh(M$"O )QxQ+)TaxᕞyEexJ\}T점iyn3tIvBrUl^59 9z[)R"9'.O1KJ> OK.woQ43j7 4st>΢˩,鯫X&= Q|7~OfHd`uA 7i58f+oXt}SDr@s@S%4RX*S@:ʅl'kRgNdU7lPFZC=b#F?*E'Bn ʰ9kf2 6Ft ^)U%G7$DDP=xM/a5*&fSyKC#UTEg)jI^ܝ[)-Š2fu6Bf\ c#?7Ykg'vzy- $ڇ':^Wz,F=Vr3D{ 9X}>J)Ѓha(ElvZ%3+ RaB${ c$YʎرWAn&LVsGDzEe)ws'M^$drsSJ0dmJ!pq }Eo$!MZ~]/ňT\Mcf뻀 nwEe gqUǾ`o8.kj-j%s1OhTbkїD ?r SekP_٦4'i>4w˜2cU݌qdi=*Ee[҈ze6Z]Ho+6͂|ݯp6JpܞP* `.HNHK߲KM6Wc ;Cu8kX7C\_TqRPZ!okwFZ`MO@jͣh;_!7tFRmAŜcowX 9| b,~"F"me;TQԈN([z3M&PRZCEщ`XW3O_txdcP )({ހdWw)F0^FG]qL ZK4lPdT LL.R: vN 1dcirW3q5yxZdY?T:}JL c Rӹ)^'nWw+:jv?x1x?Cri z7sȷ dk/ߕ]ʁη|r\nӊ踖{ߙ}R9 )^VQcЯQc]7T%mۉH摔}ϤX[qI"%<5aĴHBe1:بcrZٗ&H 4/?An(QlOmG xgRKVE|E +k)NF[\ˬ/Q =mj ͳ?6ٞ~BT+d,ouꐩ;qNYX{+ݯ`zgg[ @֌mI;ɴЗc_5: -=})Hai>npe%fagd?>&EcH~2z$ܑ96 Whٓ98q Yon;E$=<>x{_j)-(hKu85 BHxk\FwIhtj}/wOᩫV4 xS]|導o=coN#;v]sTH~i;@%ߪf<3v)%AUa}懧'[p3M|Ԇ?3Zow*QT6Bs^yubyX+1 Xo]e.IF'ous6x LuN2L.Ǜ+6/=E~&_ t/F/SMդgEuLY3˳BMPF&%}ۯ5OaufLh<ۛ3wR97b=e vqUm3ֆ_akTȳpɉ\ 8\פPWa@R{JK MQY=[55k4 CGJZBM_'1z1Eɻ5io^f|n(7O7\Pk_P{6;X/sa=1af+XN5vZRImٟd㢾`l }L&IXͼkP#"lH{䎌s:BL/{/*հRm<ިĿQc^3ތV$r\X~f\)%HƀoE&CX9#iSyGD|>,L/*jxM6V[L{*x…ZIÊ:?;jђ{E1\차=A|L6kKwYS%kK?Ϳ`s}f#}1pަ3" xvAKlGլÔm.Nȼy~EUNޮʛ4d9v$˹{(4L0μ1ߩm `m&F\܌ >|eLk P8udEP܁o01kc_Kh ?ܻZ4bk UR4KTgdi_P;4-IbA5N b@r[-X&k}vnR6CC5͛O7:s~ϿS!X cR[]J\K@޸_}hu6 |6K5 zZP-;gjg4nq|oUS}nidT6)ROjjLs{lRt]/>7c h %𬮵OMƠIXnl,la3l>ȊZ\E} GruU$4h 0Ol@}j1wyY-tB7#9034_Q`\eOcrh?O_o8u\ʋK 5Im5 XCWxxВĬ:o _P"PcP{(͸F<R=`JQʊYg&i.0uJ;#]@$FF~pT*vզu_#٦%HT=T%Imu tq_;#~BpW@$hU;tOs _B,3tx \xC0M2I# +]-jE^nemѾe ʰ leV2fuvO)s 4C-cq=Y2֓w 3ΝJNY+®vcY YJW:D63|HnhKn###t%5hsVax;EU'{ard lk.ÉSpzSWOCiWC#h7t~5,:Y?*) O΅: A#eP(J6gc3JfOڶ,S a> F1ц?a֢:;f^E٣!fޫ{bOMR93?Ay))dKXlmlJ;Wq[pSп, >ښz؀]efy?o y,Hde/?%F,}'z>bޖ(̟~)I0n!j4?ihAJȤ|y{+/it]͛"!5OIũ:6):ij_P0Պ^c1-w|tq ۑrtV33~eL`Ӟ}s< >%(Tf,wbcz-n!kq.1Px " T$1Щdwv.S4P1(S(Z5<5 }PA?`|SjrW*#qAD K͹$5$N˃!=ےBЊiW +"2AnpQ@hCcC^=ƴ_F [:mXlv]XR-~A0mPn ^$D01%({쫔h)m mp@a;:)Gη@, 5tTd6^loEF?8cc3?%5mιLgR;^?!.D"3Ll2aM8\i e 3'+ J~_B si _M}Δ(NBF4٫}zesֳOGmIEq =ߋI-X|3ZYzޏAH?<è2"yn10(>XzBKq-* =8YEfBSŴr4I |Y*9A(2D>Ĥ)50:߻rF n|٠_}ه#E75Th6?n81ç*/M-bH|Er@tt%C#!]#o!A"_^j.į:ߪj?C0|z>Xk$ 룾T|3 SߜLrMvU =m`OoJ  Yf+ľlÒLCQ'fLj+qߘ1۽b:7oVU]j0"9v}]G_eg_i}W܆re.v܄ҸvI;CHƺi-,@/pKIUrbo'yE@ 囨&|>6mOA=2zD'S3\_ai"H9#x|{0kHN3B +7,՟$/]L8i.k;2KGv_Ήu} ׁ~.-.gЯ(jAΛk, Z4op2#3ߚQX{1aYYQ}r,v8LԔ,6.,2b߼W 慣sLF6w 3F ?Jt9Ou?gL9Ǚra7X$t!cwE.7˫~хz9fqކlI 扢"[v (..8}A/77vv԰85.0JbZZH"H􁈀z.7QGMꑦ'/>/y\otu',,3ͱۘ:T6-3󢗲yl/4`\еgw& jWx<=W?҅jimۯj4d B )D֞w x [c$P:<,}M4tY.$k7;|vƪ8޳02#?RV&`Ǩ^7=?ZFf'&H{($Skko6(#(^ VhQZ {/HzFrk4.77Idcƭ2m:!:EJx7vk*p9asyu!P&.IYd{VΥǔpR~'  ~ᤀk{d] jœЍ }Jߟ58k^Y$^Xjv% Vfi\;Vs9T1*vIp'6ïE'ϻr@pU]sf[b>4jB^J4#\)Y=bRx]?&(<ҩ/T4QqVnpO>hy]j'[ 9ۃN>sٖdf}`GwȀGWbƾcyRc~W{AɯZ)$wݭxBd+u]ݍk &FG_\)(j^$Y pگQ%ʲ4kۓ qiCI?]k@fpAl8kz4 CdQkwd ]=tx3ewE'9xmJ2ŵ6 /JfX 2؋b/~} Ew9AAiޑM>4ljԫYyYP|JRYBmP\J`5؂F;a{oV+{4i |ڳK*D[FB'Q#&yu^@{Ee,,{\f]ˑn8|0y"foɔ!Q֊׸hf=V樘⴫az2 (l:b_j}G%!T3f] +-R=+VN=0}xF ZL7޴DI4T䑡&f+Rzih?w:K0mI' AcVHsa哎"bTjENUdq>|^pNz˖xӼpdiYp|Ɩ;lÚ,/UkEz7O(> 2]+u5%Hp}.[SS .K] [Q\A;{2O{9ۊb~SPߎbZ.Hg#RzVq9kש ָo) >HeIW""{%0B=}dKgZCCID{<֭^h j6 Ά5Ĭc \('yUPY d}SP`B\#BG Ƨ$LfT-QǏe9zQ6P 끠:iM83VD;R@陬sX?ݼAmA4Y[2ȶtzsOnc{ݖ:'6lJc8!S-vT=Pÿ12X13|R!wRȻXv 4IEօH5g'eKh&AU|潠yƓYtH}ߨs^> UNSMzAAďX7zs J4JD GPRZY-B-6uǝ:Bvk?cٜm.ou$/GWr (auX/JF^s)hnwDZO66.ݱdn\~B'UfJLɣL~xu 453퓗tli)!j"bLjP#}.LtѮXEgv;:K8αIY<~g-XseA|wCJ\ba3(˲X̸ܶSv2Zx ٜO.҃YbnREs&|54镮ǜΟ\7LZ>&)C=ˌK)Đfc#bNN]yҥT=%ujҦϷ(?qid `yNv1+{W,}]C7aۡZK`o݄Db}nBf?* ϰU8 Vs,=G2QZT>(|ab҉?@?2wX!C=!x+= 9+S^wm{4|"1J?ЧfNq .(wΚ=wdQsjeȇj#vA1T, D'V9f 8?Yv@܁( HLrsNpHv]h/ P|?\3x ov9~6Ǡ`.6ooaDÁ ޱr(%&DܩƪF3n- vB,U62(qǖ%QEXX]HUBūdT~m1ɮm$e9Tϊ>l(fA邼P' 3FmR121 xiw=E7s$CHrw.owj ~s{ !na++ƘlJ NڰYC:Na &ږʻ'~JekV:-M)`WdXMq/svBD\%VC BL{kg˙L!GwyiザVC8Mi}m.{.(Q4bP#pJ=)g,8ʾ !^Gpt, (@(xus عnbwٙK,z<Ќ^S6u/*ۭ)=8q[c{Ѿ/E}8,jI/dDA{Lk[JA6['3%_aPܱ{uʲ*h$5ls"0vo I8Ķꆓl5RN}O VPd !!V"SucO֛AJi/J6qYM)D_r(|7U{J=3^_Pz-bBh<+fj0=05mm7kJbZ 6Tǰ Ak2:耻n"[GGaM"h\PApA.1b.Ad*VP,Gֻ b+zle2fmYT? 2kauɜ)G+ŋͶSa9i\M|xRT!6gQCw9VYU;8mjҚfPqA#)x5G}ijAAwcG2,변 F#r>ԇ579?uzե2+C[)TŞ"+s6o4&ѴBl[j tg;&GGNG4&HT2IqN}Z 1`Ӧ¹\Dd=Xݿdf;/< NbG(6y?vOU@fHbw`ȗunp [J݆T_i*dٖ`T댢+Q?[(Y@2!ՌE! :MNȵHNL-Gvh,"Ӕ0f4~켡d\}Jobֈ_ 3208K*LeECg&!cDR(cTw_~1O(L0M )RuN ԟ%J8׶DUk" +Zb(|+ldWnէ%V$8^1I_ހ|r#&5Q1,pDʱ bFv_ oYp=E&Z&Veb6$Ͻ&1Dm%T€j;-:?MX^v/.b"̳oȮnjrpK䜘@{͇ 6usS/ 4w T*%HG2$3'a$XvmW_nuUhf< HcbJO OmaE.JZY OJ!,EPے<–w+Rc> n;1ִ{o6ϘX(T_qMmA(_kɔdo`Ps%((hzfvAPЌsd]ܥl`v@ٹT (瞙 2iB2GVr&!%_&rcN+4 ~unH ]4 , q-ȠkA\K8kX5LVb9\E5yB N"Ap9}dk E45e`b+KCg ( 諭Ļڞpgϔ~נ䕉Z4\gvvFJ7_rLt$ l ANitiO 7pT&ϩoX&i.Vaduޢ/Xn͵~ ξLC>i%dרS~|o8&`a)"QM@.ՙ)l k#@oVR:=CI^Xq2Ow7.n@6bmMuZkw/0ٸK愷^ wb:El;!im I]\ CNƺ×!Jȍ__HC3{D/x\2$KrHopɠn!=]Em:cR/M!vW,WGVa(o aI3L;J9uk'1њe_a"Wv :2p=Sɚ kB t #g$tbkg'2qdD!E#خe$ϗa;]a.]ydQqo)E%O;G6o谜 5 3 dX)◂mVNuc H;yWP+"$JnC89o-)  1&afޖG8@bpYD]#}XǻzS0cJLZ0rH0\x ](~mKkoX^~-*YQ5NS~qu(G-  EN@Eħrdwzgq=>ǡA!,Oz7KJޝo^^ [;h~,Rqa!\+QPIVjn4 +Cik cHJ})b&xNddqF| НսF}DRN ae*Xt6/q_ Ls_{'KCDK9m$<ҰGi@$֐8lmv!6+['0Q ou 0$? /ӱs X6}\sS,dϭ$ԓi67[>%No{Vg1 ݐc ێ{x+Tހf᷿j0.nj zmKE;a-o&: 4#,G+΂߂ Q!#ݳR^ Y <` Z *+-l;K!kɼmH:nN2Q쨃:zI>T!K PgX+5;5ݪĿ G9].ky/䋞ε]ǃ ``_A 3^\;k2om|%~5sI|%\ CNZkƴBvhdt<4$!uE";ȹ)QAXw#|Ƹ_}m.( %`L?j/yB Tq}7oֵ?gX}/$}dvy 4]<#V":|EəvkU/aME2S>v]fdG[rC_U,‹A}bfd,׷g.v2=sb?%\7g̉UݞֈfKj~?7܀I'XLASVfŜ=oV`YU?o?.?&*N5zr 3wZ֪rr1כs݁eg ɘPcj"/\ c.ete/H4;M8(/Sb9jos$Ԥ,+ǐi*%iѢE쿟OG}%k6~N@L=ԿDcW2sG1܌+=_A/'t5SP" K"4` =:M:+ {px{IA2EL9M A$TS3&tiv[SzyVhkl84Ѐnp=`8j^P$xi̐"X+t"OˇVby*^tUX7j6C&NZޚI`Z0Z$"s{ot5 endstream endobj 1226 0 obj << /Length1 1398 /Length2 5888 /Length3 0 /Length 6843 /Filter /FlateDecode >> stream xڍwT6 RDJD`Ih"^U@IP )7*(U@t"EEEus]Y+yg3}DH 8!0HA 1aHm, tB]`1 XR|K@0@Ujp,[ q<P> [܁Jp  A 8G+!#4AAp?B:phiOOOa+Vqz"p@c8À-!? o    Gb .H$dh poo } BQht#\@u]aNA΁, \ v!@u%# P  c.=!\ru#qXy} Jwo?uF<>K$ ;Z pskT8Hꖘ{AEzῌs5?4 'C ?,a~>i0; G'e1/%@?0tɚ0 oik i_FeeGHL($*AR[?B_-= x^E]>?ԅyt+JG(+"uw_v߀qExA# ZpwoBX%B`qao= 8o֛/  7Da_6–A ,M,apy. K:ԐP|D%$  I}5~("D.@B~@{p>h )0\Gl;CH˿C(LSupA,fQ.axIg`Nmnٳ}j8j8W8b.&q4=HV.]"2dmT9tpU1DvH~k{eI.#m/qMv;L|r}mΩ#z띦dp;W(NMMU|:Ϝbtz;+s|[K[7xo9&G ʩHTvIC|>ּ# zvXhOw-wzrK__x؇7UL&ɷg52j!j)b*_4};9"H»{>xӼVeI(d }4~f7&XM-4*Z麰[`*+÷J|@(% ~$Y6{8FTh'm7H Q}? NеxgWė${򺨈'~7h*NǛz}Zo- ܗ%.(8 ]}D7h-qtNSNHK-%r·~s`eΔajqfw]ͼ`a?y'Wf5=uA_pb&Lt3ZEوwI[V9\&k۵6ej?ڶ:={y7hjrJ^}J#ICH?z} x"7_^EoϷ+jqI|z2CMa=~+x?.>;B"nL~~{)04I7rE]hzcgrŞ,2 v@ߝۋ}EGL.՚~E}3LY]π7mD(#W^11zm[y+` 8k1WH`8"p!gPdaO|Ln-&텇T}W:UV;Fx^c~VxZe$2Z_,SQ? 7JS"Œ-gSowe?iލA_Wg :NSAcg3Ւ>xa\pѳjJޢ2Ff*hշ2*Dk<ꖼQ!E L1ȯ-6;!tKrJA3q1"< ֍} ӽk~;ٖ 'FyQwuc[ęTe,\L5zçpә1A_k`u +)pF'%Qc X*,rXgH;u|"WQkGb^nހjO"5GSvI ?Vy;Kʯ6yJb]LJМmP!G/3$$ג?=`Z@^ҞYXQlrgmVBnD3_hab؍$2J8aڗ338(3&t<3F]Ck*+&z{c1It×/-tӢ#Ku]j5kkw+Fz\@d)ڤn(Y[9n/G&FWc+ږL$K|f>Rxf"H~DA=45pQB;܋\MXo_V)ۙ*3ǚ2܎Rk".0pLMS^a $Ia/8yM+2Z@*a+s^mF mwܹ=zj7g([f Z˻L1dUOǛ,HСdyAJzKh(ic $U̼{-ǶSr/Ȍ:}: w6D?~ر ynK69i@CqgUjP0|9mR֢(+Ei1 /Wf2BjC,! vf$*~MlEMp ,c-pP܊ZbEsyLMt/|)|up`fTbcχ'~kB?X[_lvIQ&"BLcy˷YG+ [ {R \[ĮT׎n.nr>?hju:#QH9WbiX.JZhVpi2/܀SO >Ɇ&%L8,̑ %2s?~MPJ.=fAH5$`UƳfPRIŐK#7d.=xU{ȞsRA{^\m5Kg5TEx NAu?&u2U:[C393֌ |(%hqX+ƧfOJ݂Hms1JTe fR=]X~4!Zឋs"H`{@8.!.1xU:A7K,Dg'դ[=ՠT 9rZk=$3ڜ_%t,IѬɼ3%jb.ڸX(v[gT]FY[(G옊`N8*6:[zk\J];t?sU֊$39;>|g;VY=Te7 2N %_ivM}ݫRtSU-(t)Fq=vʆ9r,ݤĤq8+R}ydvI9M9Le3.jL=xeAVsE8.U\+JNp{cWz%nP(/zu9˴I8d|9.ҨIE6+]rg ')CXQ-xߧ~܌'aNʓR ! UI_űY>VMh#w(o9KӲ)@@ nK!a,S4X"ϊ˯F'DXwooj90a{` L/L9I`5U-зݼe{/xQez_n7<4mtonzC A9*6's&lxE+T եSkz.޿8U%ha誹ȶuF ~@[ϥLnsIz-qeqCѫ\<^3e~F9_\4 t8Driج}5o$*'?x"T1UsH-~^+%U{p#Ywq&aP⤉%ŲvTh4avgja`6]\+3ݏGwsKt4ljnvEA=d-[StjZ~^fZP3#mq7%-N&FCAx,6fD_ZI>_׊(fF'Q ԋ=|O{xJ_uN+3s0j?oՠjO޳* 2]Z d+_?xD9\WT"ܱeuWKXaC>OSzx'H0%/ ~Ƞ7W gUxkWB=p:6hn?9G$9%jJ tn[(k:b\a1=RZ߭մ)y xe+,t;c"[d4im35DcF5AH%DQtD!|  =Nݔ#0z#qЦ-//hrC~6~;G5ֺFMzIBg#WOU˙i.&?pg6сJV-Lt8<\]p_Ĭos&,yxVF Gͼ/ 9Xh%k?R+3y5;)y0\A=)d-*D/RdL}T16SI"wV$Av3/QQ | 嚟\8ҊA+}hPnչ[|2}u^c(h>H\I-uff[`9£xUCαw6z5tz0#Kiֲx̯0H38MxmL}Gv endstream endobj 1228 0 obj << /Length1 1398 /Length2 5888 /Length3 0 /Length 6843 /Filter /FlateDecode >> stream xڍuT6("LABa0$[mlAD@;%$DAB:D3~{}?};NV=C~E(FAB a0mp>aH4J!c``ަ hPĥABB@a!!h4P삄h ༏vt ߏ@.7$%%+ !`PC!`{!K9J h \!0,  ;&!C-{$CQP4T:PZ|? ODHԯ`0vpܑ(8ij p|@0 Ǣ`0lj TU qX,猂?YvppXvEy}E?ǀ:; N0u? ń$%D$Ł0' Y ivǀy#ma'00o Hh#Q0g1H7~ , QXPMOQȔq*)݀" $$,?x;bQh|~w.HG!'A rt !1! _!7dwloH{?x," -*;j\?3Hs4~egZk4v/DiўvI f&YwT<kGjDY icx G_ + Ʀm1gj 0DxQt_Tո8(/AZ(iF5,]= 'u%/ &5 d Uy6FOl2:T -_ܛ 7"BPpgt<xGBeRIGЕnlx%l_lq Շ_Yoz.Z\f@n"1b+;4Ij!#] .te& <2?ċB\ITj#$>嗚 7 4U[\ݦROi͌%ZzZT9u+^Br4)O=_?LfԢ]c#UF f}d?f|/s/sU{@Rcs+aU:h;\,iX RRl%ux1d"%qMꒆ|KYff$e7Qk.a+;z TL;߮QVz<D,2N|Ns=:l4`Pxo-Wb.;hi+> ?ɅŶSp.wnCe`aPJ^!M$S|{1K gwY2\ =̀|0Be= ~BFǤY 0GFBџŖLUT}N^4\aAT|~40l3ЗNe n]/a& ,^/+z`[,;_`Dy鲅]sp'JUfԂ)Ʊ'oP^&!`#qNOMUyI+PNqahN23Agc߭]'>)ҧ:Msͣc`D%Lu%K:Z$nD N=^$cUE ^q6Ǝ]9k-! >iV@ے U9](WR(o|@"Δ9K̼k7׾L8>׏ayi0Bڍ OEgKׁTS$< .~us%Ucݝ1Uѵ_t J,j ]⃒p7j]@bpTEFN_t$` gaI 7r׍0oܸeaA5YyPA})~iw6s|_+3<||/Z. !3td#d=?pKTXX-G5L7vp*rP٩NY ┪ůjvONF)_p!*&|Ua\[QV oτE\xAGrUvB=t+bŭHvDfhc_,!B=e>dj?nWɻ\ZKk"g%w f[0^ň|Su_? (51zkEWa|f m-8R JڴR3áDb[.ʖE?hkoAXc\fV^,Ztm^qMY{籨|# $ *߭SR3a20Oh{n7}ѨD$q$)Ԃ;G/9 Rڻ^ *}<9[fsL^`-iwmf,'<@{ +VvF,(*Cdg),VcW 8>S) Gp`VO*>&%Omot g_ra:#2"Ɨ 97cKTܣqa^={rÛ iPJ6F[Zիb&WU=B}k--_= .HF,`ZzWMWK'bV[IK_ica9 ,Jh~$3^Õh֧}RY(3q]Laբ0:wR]@g Dŭ37AZhx*l?T "Q\]|!hΖkAҍM$C$Q>A%~bvs#>bR_7T̿xEǾ6 tk@Ԉ1:cm$i9MU}-@3?nx{W8M H4, CY<V('^u}gw2MlT>8=z]0lFڒZR)-gB(V6ne-1NL{c#lc^ ogeծ~Й;d<ܩfp/#°y=܇Krɝe#cMZ_)GbNrZxYr@zNM_L*o\/iPa T+L,iNUuz6~ ,כX_*YU-\&,X9u{ՋYta)L|@!v3~4Y];-=TLڿ ȭ~)&{%m}܄4dTs*˶A[B=ǯ$ AONwew\rm_v?=yyU?3o$jHI6#d4d]+$?R}Oе`; ԓNp)},츅UG߃NiN3TW$]5Yjcij|ahZ蟅9 lH&n&H } MxHzRk^i>p?qu y*~=/Uѻ2_R˘aG쬶MF6/OnK?}" Q|NeiG4OپASUxtI^¶5fh"s7*=|fJ AȸJ(/BOrgh 55ɌjބI>e,<60)_aU.K/v=PX1,42z3>o$@*~K7}2SxP8ý5ɝmh1>mǫܖ_gy$Y_o(hJ/ȼ=ʢ S ^Y(N6oY~qZZ+"׊ ;"]Pn)lP֒I6djgǼ`̜Yߒ9e!17 xA?PU+ٍDv/G?߰?_j_율u++<3 ϕ-'2ᡟE/ʌTD3mc* &|T-Hyt(u1 6~LnY!O$q׹Z}ngydjDLK~dK$ߘݙP +sXIL|9*_ttV5> stream xڍtT. C "0twH0  13C HKJ*tt#t ){׺wZ|{gww?+g (a(^>@AKKM $P#䯛@B0P@@@(O0#@@ PB@TEP H'jkW ..w:@ A0eqœ9`(\v(?; GJs?CQv$ r``EmP q8B jgX]oBPd wr<0[ QCy@0_@# + w xH0B!FUsJ0kBO1g0;aYՙuq)`\$BP0x7t rc&r;l0C@|6E" Q+-F7揍Y>0b'C/k8?S4P3cp8WPD1/>, m\5 ]=e n?i1r3ysw⿪X )::sa/ZWFZp` }Z-5鿣j(F r0[ yP2b Ep0. qd 1!1jC^/?Pֿ'(B @$c,F(L 3 f13f7p_~"Ss @< ` 8Q}EPI;ڐ$^҉ P3"T҈r~zڌFt3my^J*O#^f [f#xcF :' L]Xw#nXvsPx߫蘊wSUnnn-KӤe7Yy5XAw/s):p5,,Q;UC$νRO_eݶu}(JG„Fs/2?mPyYܒݶ*\N8>Cnw̨$T{';[=l(@!0"QJ?`u2/X^HC բ#f".o ywU\ @4eڟvASe|[)\'F3wbqdNF}֠5,(#NUl`vk,mьH0Zݻ_0+>ʬN@Pف'ooRWHͲhE'B yߘk붲jrճ8Lo6e7:=)hrhԧ'0, 7͔aqݶQ.:2*H%A yoEVd+xEG Ive lyEis蒥ƍ8D'nLv>9QPFF}BI =`b[U|(?LJP=TtM )0y y7{KjnyzCPfEg NC )vFϕQ;݅[ =M ԛN9vy"V`̖#,Z&8E}冷QO -VE\ȮX{8ͪ7MSgtǡd (5&twmx X'+JɣC dY;ƹm@F!7 wy)Fy~ d!$gdNZXPW܏؞BLƷSy:Dvjqc/I/}D`wֱc$;=X7\]8%At| >;5m Q??-z+}R*^pzmx̳!xEVm2ӊR5hZ`]0C8BXKwSP=ͣ6BROLVYEnkD z>rLIsTKX i|OXIz&lCڷgXOʂg'[CCs& w?aIܧ  WEM:&49R#;~WI8aF J*סsncij?UKCJn;.ѭ wga˕Yw.${enj+ɣgnMȖ 76\*=*Aky_cKӟG|#p*GpiK/pIB6˾&g7q1 ̗~z\| ;$.ĵ2TXl+Tk6K ʉظI#P7m\~ycOLmAߢ=>*˝'![0@OS@yLgJ^uBt|P_=BM6ơ:FO{%sQ1݋1U3׃C]%yTR~S˩|بjEwߜxA"FNXJU,)1s9 K( cdBMo[U &6,?PqkhpnuWo62m0z0Et(8MfK75sY |{P+ڴƂNu &՗v Ui27qd{s/^W 侲O,jgaLX~)2e$`yL;oX/*ŦnZT,_"F[|8W&4DIa3Sz.4nr2cx'oٝ¿r<:q+.h$8*T7؜|+R<_ 00oĮ?*-zvSmȃ1^tStw"V?H_ϔs_ &?YSL 9ڇ;RP)39 JH&l7_y_=tK -Ȓ,u~kpShRWk5!)Fm_pʩmTHX]oQ(`ŝl?I~ H/LY 0͓OC}d D4M/jֲv씮bblsy`/hWT~W_~0o"K㳮qx3Ch5_k_+sjWЂ|~^FkdnB˝x\|m goWLHf(Q!X2rqjZAߧrM~91"XZ)"'즶(Ir.P9 .6M?%G"[!VɕҒHNow oR_@7|xj(AٔyZbE ._:tϯc/r+/m6ﬕ)[rShwXWKr*wraƛ(USYʟRg0Pe~꿀JGtb7 ˞X1y&pMO6txɄtͶ\ȥ$i48Nja7gURՇލ7qO<ˎ,f(rc`\6|i86`>r%XU0$r| ]Jeq;M6%ړe$ 5'R~%gxiT4b޴?aG\DGpVȉ@ݧxͥ^O"H$g@K3aO}DL=|OA/5*wv?JToD~2Y" N{Ps7>̹JPַ7Ӊt-B`3/NAv⁧9=?{KPe|sL3rwz(\ >'˖O+JÜ 6 .'v䰐*Ԫ͓Koݸ=revy>.$|N2r!"b~JGJtcD]0@z <7+SOX-۴өbuz[M]I&$O.NGQem㸻b>L7JV%kqT.p|׹J4tfI-i|Л J?'`U+5ܥ2(#Oqeͥ9i7ȑ&CN}Q;cj.g"Vj-eUNok@] o<țY㼏-xɾzBh0[XA7ND_Bv5> |{1H$)QKkZ2u60ҽ#?Sh-`KYTQ@݃z>/Te J6JuUR_])Үb;ùC׻[Gb܊3]nGo9 Tw4hUAF깞;džKYjYf5o"AVΟ%/FU%W$\7Fs/W{sܨ/i$p˖&N~ee/և5_(6t%Ӝ WUzMq:w4qFf_p"9ұRVh5/霃I9UMu1}JOT^#LOi KiPex Ċ'3:Ӟfj˭^L!ŏ'kwؽ6d-e&߭DjiUR$R}.C*V&#»'ϻj?NbZ2&(3炟z+G)QDf󺈓PM?=pYvGW~Dbloe(Qg"CVVɖK0]k+M|*_i)f4ljPF6Z Od9bB]b[fx23JtI3&ckIq.=ot3z\7~0-sޘiBfp.LMa+i}4> stream xڌPi-wN @`-w w&սE0~ߡ QRe67J۹002DUXl̬j.6@'gK{;?DF. O j`app03Xމ ffi g)D<,-\@e+ڄEW8@dibd7rڂ*TM,.IAghdhd.@CptNn@S F;cYX:mW7sq7r@K3(Jv;@g6F+_F&&Fvv3K @QBÅ`dgofdicd r@BX`jM,\-m~+ hv@;g_,&{2}vv3K;S_M:0Y:q́.fff.n60`^!/3_o{  pqrzy_04q-gfc;YztAc0H^v6_&)qai)q;LD ```(YCXi;3{lAcn7=H@o2s0>XWepϱ? Ѻ@vUM-]mhmTomWe6v@%{g_jhLAg$:6%LM+'t f)/]@!P{3{'_7`eqD~#.o$qE\&߈$#vo"F .o/z(F .*oF .ohA\F8;3Hiֿ]@Ɍ#yc'#k dT_Jfboֿ5Ylm9&? $wPT`aښ9[a)O<} /'#?f`b쿠o Qsnɳ2vnGuTwj@?<@?0c]4?ȂwLtzB3 a*ٹzК׈s#H~j8v;?JԌH_/ taX]6)sc3/qgD{n gUq8ާ6 4b,Ebc@tq#n? RE{A=!z&t&N{su ڷ=&&!Vu!mvg(v4h]aij֝nQWĩo~ oITnd2 0?Qt$\GG&h  E;d{^IѰNYis8. (732 t1l7XcV?:w!AO]Vҿ񕯘8>uq5R%ڮmte;/BߏX[T åHa&vefJ=] EҶ8 hquh.,~ixWTOܝVB'je'0MD&P-*[7F|A"x,?߿{>Jpʑs[pб1]/5S[yaVu~xWdZ2oa6| QܓXbviɞCQAV܅U$ c "ܷ?n++E15Ϋ#Db7ոB#;Tr;%!JzNDHlP4:K+(d}Ċ{p?aE4ֵ+S!fRd.C5i\૪ym|""-emr|HI$qO!,yM]Aml?pxpJ *kM|blGfjgݺ7|bpOɹvQۖ5I9$ߧXkur2ЮiH>jEÂmQKPPb' aEBxFAa|['*3&RFY O13y47/5xT>,ܝT#)B5ܧ5^o|o<aЯ/6KBڐZ^zAlCϙCW\)GXyot;y(^LK- rmuue9`. 2닔KUԌ' YnK."NtK']hIJ[׍T9ml]P6 ˄gdnS<ץR|+vڑ{{nyhsfP&;G9-|#m "B׏'$O&(zM aomW -FP\ElO%yXaRLa=9:He!8rv G3kr$˸q>nS>I?Y(<~VD @ʹbl($?>jҜ )]1`^L{ChqӛdvӓmN$ΚC!L*"ǴWuʁQ!#\~m[=҉@MֲN#)l4XX;oh]j/>3h/ HywF.9İB,GL`IlDd[&('%?@~zm  nSPI-#P Z!ӠZQ\ĥ? \+=SAj*nohWfo *1҈@VΫARSzq {txY vH|lNtź`Hg{T72dÓZW2rU4;}% m@ zM<݀C@j(\`2־B~X 2z"bΆ%}ۻwD=aBj?:4cmm̫bVI+RFt7ؕY?*8j7>:[8f!{%tTxŢW8!DT)uDKrqKYP& /opzI(6\)) %MP5k|B84LY( x`\v37%,U<xǪ kUE6{{ TcA 6ZGNB]K[C^Czle? `kdA50M);W+WӭE+sz/S5yiAh,ۄ ϛ%lR=2/?R.l°ۅ2F'HrLfm*Q^ S!w` Ѳfx ;gm%>(\Enl|y i-$?y#ҹA2IT0Tb}S9q\^Z?yE|;[۝w1T[UDHNK< Iǃ37IMBfY6^䳬guNJƯ;%c=zL%k"t%h+V,հ.bEaj -\q5t*:NřO7}'ڎ@߶pkq pu㫗3s(R+ H/nPndupRvYLiP'U=v*6 qxv=G ܨ\-|r8" <=׎Eh.DzՃD8l7( ru# {%_i̦%2  MT(S^ߴ}<ف̖"Ҩ`2&l⹘{cBRq&%xBe>r̗m=%hd`T<jLy fXKS鶡Y!F!`;TY+X,Cc4~xf|@2xE e*Q @tUg֓]BU8pF0M7 ;"O}TJl}NjِڰJ&dS͌RwRxMѾ>Bő5avi#b;Wr˔իdWx3_:.O?UGcdu*<]K˼ejbFNj$4'^I͋^Lq'n `DH^[8#"1 j?q6l|ba #.%h6lݬxyF0`ˈN5-:hDÕU}3/Z_g{РX#a s߰RŅ,Fs Z*btf䄏e}zBg _%eoy9*Zτֵ̄,]?tn\OOk;,C]*h1(j13[ -7WMH||(Q1XG4@p'4uk*\itIQ'y xVOyz'X]6/; ] |>cίD_?eiht^2S3j81*S؈1kR(jސ¨>370;vαiv56˽ѣޝ;0MQ<5~)6L)8]6\!6گIsYyxL,nc-$Ǟ.fTk|h;6DT:_֣jsŧIG6AWvA-Vx2]r@4+?Ļ'iҥs ZʪHTX]wJ~ZsKk]4+,Ϛ:cDK4upsVfY sI`͙2! "]nķK7) ;nuxjhd8r㥧{`Tw=ئrt{XΘ$_6@ ݂[|CWX"=#3w_~AHOp[-B{Ы&pDCLf'E wT)j_mPxp "c/(ҙ6&dG=;DHBѴZlhC}k[f\WW}3@jL^YsRA!F {mZqE{0[ ӣ+&R='Jc@x<*4.qzʭϐO!nZif_]RL36%!m,3Ţaw(AOY4Q#<Vd_kV0#,`ڜ }"Q حxr -앛U`V1gV-v7ˏ0Soڴ$RETEper=a2՟)Y9U;*M/Kw%t"Yc->> >)S9zTҲ -F-܉B늈*w}pW=xLEi|oVA궾qf,2u-9;}̨[oHz(RyME "}^#6(QYxc W5UwǪ+${zW'GX&kN5$e D%Gӻ`SoBh`ҀiT!!=,S☺׈/ V`dMYAXAE4NѾYSѴ Od{꾰>^5,Bh/|h+ӛ]Uf.$f| 3<8ol`:BDfE؂'hݏрmQd ,QJ$ƾ\0\+H2vhM"1Y2) OFnQfzSն m?(F-<) }=h{{C kS=Qm 7!~֗kEJw4ꠦ@ m`2M7Bv߲(Wf-Hw1c۫""1G_#&2 ^:aEZZQ9*LV6X{OpV^Nv!78aDqHv[/+U{яQ䂜Z޴MY* e7 `N;_Iʵm֓cgfoq<`lӿ1Zq!ϓzm,7sdrR˯hpKg &(Nز}k#ZSm׮%?z滧D Ao!M݃ ):x"R!{eoo!m!=$k4QƝiwad J@X6"Ԅd6%ZA_ڄu"?Ky^kp!6Le~<L}_/7)7iŝ7Xo:S{L/7Gf'~$> z#ٙ# qR)!PߑɹEOڦ4fbWP|{焙SRT)_iVQNHظRMiVb~M8穾"O;1 1f$6u(c 9+nkFķ94~}xd{pLL `Mm 7])x e!1]lP1rմ1e8q+ҩ[ `1b^)u h&O||[So8l2܅KtaHs}eJlt2BX$dg'AeȬt-L9:=Wd6 Z+p֟pR ǽUf1{!Th>UKSnu nL8e<HAJ֗ rM90yㄅbql W3FjLH dG޾-Sld 1:OH\=W/ąJ YnPn*,ڳjKnן> HZ}G"͖"[/mg;~a l&Arqn]\fv:bQWBrAdR yYe c%h Du>R=WMH($B4=f9GfvS^' eNoK=-6ֹ{\2>IA|짌a$=O| J75B2+MKX dGeS'9kD͓S¸='yLR.Fv1 ̞O/r%dCI٩8kNoLFyغF} ƎniN6biP(1̀%r UaII:k\mؙ]*A*bߧooxhL Vמּ識CՀl ):}S \ x%YTݦ".ೳ[.-I0qsIDՓ- =ʞ] Ѱrׄ~X)WBcw|-TJ>O?Gt[_U&ʮvEIk>hIeC$Eb&y/ﵭ׾V^=x`ły=6| giܮz1Ar(0f6sGDt1F1+`f  }|6R}p1zȺ6*Lٌ"Sw,>L [ބ"] e jq:Iω|G:i'5r/kX¬v%[2=g{4Qf [0+$*|bQ9IPU#X”A-,׌/sEø`pc4N7Mm2X PDPo[M,I eؽp7#`S&`zضr+tv5&U-h &݁МqH&` Gΐ,jf"a$. 84{3qϳbfw,zJ6аbKT2!R1˙'̎q ~13\lui+$D.֌3R~;DY~Ndp~XhDO f hYQu`lUR{mU:Jkں:L yhM2VLс^\E;>#m䜸4dž&ߏ0=3:^'TÝ[nA| oSc쐚ݶ9~ VCq(*.,eϸ.Y-ݒpͰ&waz1S%{'d9ibr/8:,BUzOUay(CFg4ΐJ?R%5{e/kȤ b_-:ǘs`[H]~,ZwXӉOa`Ų,g #.iB*[5J䪌|4tb5ե2@X,!sl$_-sϗ{OMӪށćlMtFREgBJk`4.ݸoi݊u.䯴FL755P\i~%${խf'ƪ4&p8Bٳ^ƫYlNgqjah!w8怲m*amܥp>4ʫǦQE*EOM'776;t*8}SSStQ󧐾g -QÒo:$,2'?ϊ͝9dzs?˖?E~)î)g":gU1SÁ7\63C)8.ELkN~P!VTqa"S1 3bKg=MVme(:ITLuV7wvYŝ]7߲hw85X-b4懶m7zK;t|Xl 2)n+\&:hT 56XDF+.ҐkDFjyD)}A'!e]mn\~|Nϯ&v9C^p&P ߻=iڨ{K׊Ꞁ'GS,;p|LsHv@.b~p#ӎmOA7gdNBsjuLmtʪ# MqʌmN$5()49!zM kJUWQM>AH(]uV\b%K74\u$M;f%O; ь" #թ~Sx )LEtAxG5r{wü4]U4 IV|+A-ٜ@p|ױ]Z W:PW [,4V8as$3ɘzz[Tg~tT5P?`&/-we矦PM7q`u x?<٫Usթ(OSԼ񤷽's'^h76h O @ڭ񫳻ًUO?o^XPIO`X9(_İ-!طY\: V?ܥ/C $b2ɒ;gһ"4d' $,A@Ӯi`?"_v␻}OFW4xKM$hodzy ^a7f5^=Gx<QogaPk6 -~ExVۓoNoE|9 t6㝦J3vL\rSʵ1!yn]|)ϳI,Q0mxfQ=ަ;Pf?WOwNmn<<}d)kx4g϶JK]PW\;m^#}0n|?,00;D9ꅹS=Ju9.V>w~u<⬈o/ roA~#-s l=%B#+"[9c&4~?p) p+)jWuaanצ>$%k8o;^['.a3ޖ۽YRM NRF5"_4KUWCU0)ĩb|VHzpфhMc χ5֢3#ޜZYtG(߸BfO(bnu]UX+?-^XJHZxM).駊8zS=j_8,RxJ/RFxhj#Sqy6$6skv)c)Vypf)5 v2 h('^טsBY[t2ʵey/ɴyVd)8FSߝ}ATg͎KR.^haN2\T:DC%c^m@a>c$-F!,JdVʒ9˶ I>Dp#8FLuv pW2l8Δ`;`])(uCc5ϻ^KjU] A 0=$CGk) ΥX#y5&TFa:{̀ҞڎzMYս9^x.mˊр)4}y#̼el7)yULVM!!GȎKE#RS"9fFM';YotQ5';F'JDT O):(.'$%ڮHI5v)U([t2bQ_+ ^arQZ'Iqb{_Y^ ܐ.LԐLn}x+EH/lZ*ö >N5 ᵙ測μZZAlF [/ 18dnQ?[*y3V{-ܧٽ41 QEЈJŦV@#.06[σYOM]Tk,5rZD2\pD6ȥi棚laS!`./Zŏ$YY7|),D  1m؜8$+d;ܮ6jh{~W62=IX-_\}\rwKXT%hZ-#Jk&iW0ᩚJT7EJ/:N2#s~ùgp%hZ>~跷݃Bu0}^T,z&jOR50m(zTO2"F!n` UbV<8~<\,Bb{TWclx2+`"km/SҞj|Nj"gFu#C6UJ3~3e ܉bERXp1} ŏL"_-^/uKy4/gegO95k%5@*8ZcZ"gbGkk8BpLێE|nRA,jTQIb<m*H t(C9Z#sha ".W) H-Vx0 0 C=B>>1r~o L[P-dp):ŷMkS LW 1\-Ɋ8,Q|ľct]o@haBA}]Ugx?k{ *}[м8<),.]ΐg$o3 L-4E&tL)3?JC~:B3a;?~mU\J^ؘ5!Z8d'66&qߗB$Yov%EH+Dkw=] S6WK׆F2-CpDW{IGX'tXxr\6g- 9YY8QA-a>Z#;k43s aRlGR^+a knLfgCa2BAD%5t8  eLShZC2iucV+e3 +f`_L rxU5CѰ6ڬRjͼ Q'{hbylw6E RIw c-{[vTm׶SBfCp~ު("_4g^W>Wmq <,ƥ+jut6F![AA5w[_10(HMGIAnSJяҗs$#BCHgwazOMZSKQ`<}.Ǵ,6,DVQ#MJW 1w NqG^ GN(D;6&‚s:g:FyW]~_}\E@m IJ*qRX{ph^cgլ(1H{' bC2 C˅_T'/We#DApű5tolDLz~0I$$h*!\6Q+E=hf>ϿC?,a˺5n^5q%r$X-0IʸoW!ev>y zbdJ7MKzZvs~7댏 O\;+eL^IEuf+60yf=Df.* Ɨy2aZoX|ѝr5#^Y[MxwA[~7,-@\5 WWxl3L$[J僺k+cYRŚ1ι N[fP;'F[eGR7m zbh%`9/ʮscWzvT&,)c:{ IvIW s$Ο⛺C2}JrWN vN͎ F)ڔZM0ϖ>FL6sء%c mn\.bPj=$Yէ[u(ӑ@GO3X 6 mALL]G3"x,;坒%wvhrn&( y"^Z'?o~P ,Yx~,HQ<~3@5V Oam;jQVKxf8ga^^Nt?R_YE1V[E&LgIpžF59#LX4h-[ @GmwShr/Dl_/b i:F$U#~fßwI .J OG-S[ +wcn3$4egSAx ԙIF2zS 0: w܅̜rƵpCxݫ:qzMv!*(WٖDW?? 0<~ \Q*v̱0ʟԳfi%Cڸ~;Y#wY˓+[Jf o9͏X ܟv' Dzv|]B1*BB%P8XIM^Ӷ8zP9qO m!hyuxusoQqI1p;\kF3H`δvW%s 憎YV:Q+WSjËE~!um466 9?9}Z0պs]i]kQC9^47KJ0룞Ҭ'vVlm!9Gn4ďt7 N%Z{|҂G>Ǟu0ˎ7\o5g9NE=U%p<"35v ~veȇfDT3ХC[>4{|w|n+=\hxD&"OHz'K ܂BeEު>Y+4gNn!-FK[%5<$sbWJ=-*EYn_ފS@O8 #BWS9; G( UZ%Q+Ԕ% H>+JLphe,x ZhƴXѩƵ s5|=S`~k(vX́2vr~JE?ŏ`q>$]`;9kޡ=q #&h lH>МLqۿbd7(B8a;@}2G³{ tV8" .Y,H%Bd́4;~έ\7(`rޙs;!\$hɼ <93&q:Th"_`O} ' Rd$ VTxZ6fTtm^m%UVs|:?up0 ׋bz;YgLAXoxɘq37~@]֜`76nVֈ:"`"rG=="ylTѪ =fFTqm2y$ Rvx+/ae.{$^`¡=hɤ,$hWsKU( n|(s3&g @l%@zy4J'imDCd۰ QĔxP3ԕh. UzupsE䅣UX_vK$OVcm⍘cy9]ƼlNRv;91FܙYC/CkBߟ)u< ?J?d0c#Rơ4e%x-r>#N6?${h"i[ 3ˈi 5YUM5?+ɭ[]"uBZι(:z.#I:_ è< ׽"M\Ap- ,79Xv,JI!&^QA2̈́>2]ֿTl-ԥ Cz' 1@;%Ɨ·KRtI4/2-ܾ'a U I[<󌟳nSe*/i{&CjjsC]&Vû3nJ(YW# (ha ?>g~4hex9B"/F N{YQ'DDn!hoY y~ xPa:'#G Ֆ6Aq{]H3T6EkŌ+y,Յ3yUyHņEDc5kc(8i11 \^4?c%#aBƃRݺ+.q+E 1Ϯp`L>0/ʡ(SR4b8#1wʜBo]b#k_{?-mv]d,Y^?2Rnv3=[^I[O'&h$go( Cwap(!rH=F~ u'RI,5xֹeA݀7 坝4EVOl#Q+n^$<0 {bvw330utgSE#u*ySFp|IRQ y)vPP,? [/<[lI(Paj;'}wm! &"(}**Q/na*+N;8DwTO<ҫiOm%g"QG?ep>C٭f%nfe^+*,Cዑ} D= $FVfZZA'wu]x|duVuȮ|T7w}f3ӫ[e%cjD( %M.fxBzG{(2d9c&يzI& 4Lq \QZ1z.zKP W@60T` zn P,⢺H /=;()RY4|hXRR?%; ZSz!0D0hs)4\lGj #mU u- +D|T^Ƅ(S͎H㖖PB$\4s$;uo:+:׹ y'{QQ{|D2T 6~[PO1e}z +ҎJ ⇝tDa,,pSG*7ˑJAUFR4d!I  R&w"7hBH[H,9[3KVNޕ zD-+UV-ngi((]'-y4NtU Ca<{L%^5[vEG9ƬAPrڛfs# k/yA^Kc{_E>=K'!µ_H;Ogux82||ܤgŠtvNtwk$ iy1k}O0#p-! QE_W\ӵvo]ߔ eͯ]rڄo*Z| i3(PZڈ&jܡ7hh߃9iCF,3/R __21B!alȣ rx zN a\ Lhd|k#Qi:ZX<w;4~_2kPoRbr,rYAB=%8ֱ*ޭhA{%;{7ZFAPӐRCaq(˱cB}4+ofg-˅j YJֽspŒklU#x M 9Btv&K%4s [d}{Δo|>Te#TT}u"azdF9 8edJ 1*26g_#d.5aK5xT J'q0R(N<)6]HUNjeW CI?mcCbid Dtt\lrW ;["&iKe%eөt9D޲A_+,bςCd%UBq7s0'w*flwX~o밮)ql[=Fӆ%|I{԰*u5z@*4Q=l.HX\CtnkØO@#5"stοv%p?J^%4%+*tJG EhpNKPLmir9(!5'V JDUɭNYs9@-шJ>C@@XB?{W}SAhLT^Bl%駡Fެ%b0C|fǜ9[^YM9!#?ԧIhG[`MNjklGKyMt;ϧOi*>^ors[H ,0WDn3gS?[1(cgU͚UPN&k ?!`ji+@buZ"}cs~\K`hnC%%a`VsYzUC^o^obN9;@tr}w, x ss9П:˨;{kBu>5u1CęВPg[K]sa{d^eFxW ؄[Abo,.<*pgc]?3 ,*~.6a}1<4 V_8i*{OF3{yLr]r&ҳSanoձalzGL!F,/lIxWM#Q f+aZ=Ci#Q; qtw-X G6E,yQ 1Q-1ڄ u>/+R^aJ7r݁ԍ -G@6G>W Ͱ{b9A»Y`&' 2%9M[3&*5*S!6> |H- Pz1}|ڪHɿ6m=ޅf<@PV=#"D3{ +a{1mME.It3|EfTo^ 1 f6KF1!DVv0fgH{BQhTl-=}1|b276WHh$AlbS[ m(‘cKw@G偗3GI0hԅ&P4${[TJ!Weӄ%k|QԖyF:e3ɞnU[b zNdgSg> 9ili?+eVog'T* 1VЖ#QP" P QLPPVivB5 V|q>I(-l]8R P];įZf2w5n_'&HO9Wkc}N>a|5Uk,hf[bl#~a TV  JU5‡~Tɠ+qSNQ=Hr))DM%ezٝFؼPP1\{D"뙟S'ی%} ܁NЧh EoyjDZ{N)Oht_YaT6ʂ; C$LyFY\]y6 utCk3}kft+%`|KRɨ[+y*]^ćї5\`T|y0kHCt<48m0o'[}7ڸsZԗԙlZo6$7qrLy`2jj=ZՃpXRW1`}~:dm1.E h{S|?2$T  MfǹAf -m &+S0L5ɎisɥO^dIsCi[9hi*G6IHsUGH,-K4Sp(#fVvF:r<~ާȿfVS{Tx:c%j%04VopK^=hxIt#~D~9n|Et7|J9f't DLp|Âٙۯ{%0uZs-YR?؋8Aa= 2g]KӗC"fzR1Ƶ6BC}+('&|c{NzII49UIz:ZW!MgGv6D@<"ozs((-&.} ٪ Bٚr 9%CS)'~ Z<@솙Z=1sq)y˩bo{0=[!ƓQ'\q"CD4'.<_o6SY˹tSm+l$hQ}<M[{cz~#óa6ALiWvMDkxSfXeGD[6J$b^Ƈ"̃ T~KƸօ a{Y7҂7[VZxR7fFe!QY<5~؁5Y{FƧ{.=Fǐ!XSXS& . 'ād!cK{e +Mk6K=rqCW/qmtxP/ !Gx]L:M򖣾"=;#v9\yBz"n-3:6y8EV/ L\6;'K\Y4w- ʒu ht3dzaW~_9]阞L}jEE̦oRxNHP=8 ET³r6o! .>k4ц,FA=QGBeyXI*%oKaf' [2v0}k֥3vWVpC_E0Npٶ3iR̤zgtiY*~TDdyC|`X*4+C7@$x÷ ˧. ^$It\^݋DǤO(UUrEFez np?3=ٺ1mMPlBoOr#F݅AbQ}~a RRu Yhyw3ӺGO6v&ҫF&i./\4 K UuOQ^'x?]Z&u"cMpggmf‹ߩ$%O>TLq?ڨ`U#ؒcxHSe\F&um8mL[hf5?@ ~6}҃5  ) endstream endobj 1234 0 obj << /Length1 1357 /Length2 5946 /Length3 0 /Length 6879 /Filter /FlateDecode >> stream xڍVT۲I HG~)JOBޫT)B PHQ MQK'"MJQ HE=w{kV|3g|^>oj!qA`8ID 46W )D$,ly#XAX?$pM,#ڴ`81 {P*UP@iD_ @R kb|Hw-(UTTX$a8x" X`H.)Dxp>J`p`` 'JH`C`v 1)0`caX@4x#1ij }#菃P)+;cP>0t0!U#)\N]9¼0xX s!:.訛0bu"}p~R~H_!^6UB!8?ЯXxcBc?k7$W >`+4rDA |D+e7e&naH7 ?w (pEq hF'E!DAȯϿWDnb.X@Hw440A^RZP4@\3) Wcn@O[WM_/ae!2Mp{Ni;c,oߨ/0;/Wj#Wc+>FԀ:ߗA!\M8[70!=($*#7 Gj_꒖`X,,D1q'D"~3K18b@l/ p`A)/#X,QVO<_F p~˛*y%J'M Tiϳfi=LEv&bRC͇AoWhx%-ՖB}CEzד_b0g "M[4[z.oH{T^U}dpQNJ$V0K)A8(lL!nVhȧ~\B\v|;,.5V 8>K Fe>8膏(\ F&_zM~~}Z m]/ZB7b2ұD 2#NN _KK' {0<ϭs1 {{2_e_w+| ߌ^U8 :#--pYږ2cU#ѸH8Wᢐpr,spp^-Q:Ly5p͖%'ՈNzRЪEq))飷Y[ȋhxu/%9߱{V޾gBO.֧VMyJ9uњiNH>~[ҥ y\iƈ< +PvQ)ݵVWrg6r+Q j-ZO mSuѦ= EaNB_kŌ5ಳp [. j-j2ٿry?g3畦1Y"s6|4~qjhiY!}SU,)+ׂڃkjӯGXf ="6O*{OVTbjL¸4LAیyy>HJʙs<;ߍDyfV5~`lsVUʫ)"Ž%M`kuu܏'t}ZGm6p5pQa5+ t4BmIw?57>pܘEa8㗺 vnYںM~:YW9OFU&5ZV(S7 ;~Ig,H!,B{=X@ 6_XPUmKog~|J2/:H{}{R \Ń(q^D:2wQ97K.VSU+(kMzVؙ<1  lP=!f!*7B6G qaQ<:Y] yO+QW9z\≀v%F]%f8& O:d 6M5=S'u E[!.òi6s>-p;bW.c<-rHrB*lsH:'n9ŗj>Űmܽp-$+!{ϷLsrvJ.j#ɽ]џ򹜑_.A[h*YH^ęう8vD# <+s-1{S%ޟt#PՔgWQO"Ǭ$hȘu=9U}Nc ;eMZ=d2[剦ܮ)j+(ȨfoG]nqJYތ$? )/(\c#/}H^VD_TnQϭgeW>h|gjƭILdfDHY3e Le-9SKs$ \UX ٫;>}O43uF})b t]aTnHpi/mC7)Ӟ `N;xubȃ]e^S׿2o={M5nC6ژyZ=Wo1WGF[1ϧ  c4M*be>ހFˢ\Fa#;A(T9e1^zmKeKrוu5#_ 0o=@qe,BvrPSʕe:Y(sMgeB \k>4su_f&Ukz9 ;Z\oipTlw^-]Y廦Z$-}l,q9+m̐x|Y(Q=˳sVzm2wAM2kMƈGm\M+ԫ/=Ż滺SRo-9 61^+ Fv0xz`t9 R]i^rf Vy\S G"-c&f:ƁG +2{R:N|6y:a5ɘUFC.Q.Hn`{{> -QMPTڪ7t0 >3Z4rƾF68JPSDxO_)Py7a)jN6v'"ldhz!ծ/l[:G&ԪlhFG>A*^M;ժ 7ZCHщk]1]z:҆4~z_w&n0!-(",adg#Llm' [qto_7/NNsUaj{[F>ʰ~,jn(WWX"&^ॠNadΓb\d\.4Itzy4p'-̉pus&k@) ^$}kK"/ NEBc}~ӗ^ӈ/|OOC>PîuԸ_CpT+F2 )Em9Qq(>Χ։'uHyg<'R q?K947-D.rZGf5f5#ǵzW ҂1Zbk-* ҮfnZURCyz.,vj Oj2+ӖZwWQ`g?Lf12Χ}Q5Ѵc%\&~tU-7cKKUA:_wզjuuxK 1V[/1"kMSɁO]1{CwJwa'%oM-kٜq+DQ}*EF_O{ǎ.F0 ^|R-hxv#Ua عyFbgCRn!!%VXpK}>n)-)``uGܟ{vaIc̐Kȑ.!cuQ%[2HytI) M *kO?mfRtV &:wFR2VGL6za˴48S]e'''MJnfzBesc.7)$]c@q+)/sBcE&B.>}jX@{KtV.v}${P7mTeK=>iOb0Ib21"1M;0bI<:7tg9%f.Ht[ lz+G3iv_Y = ݔq3EKe f]Z4}F6+5Gh7L VNr+*PZŸ4ҦC8u}}y4+3кx9.p9s>ǩ>۔2wN'(tw |cꂝI$eW5.0)<ۅ"mxҵ &6 N*Q i>+ù;8 X)|8j~I9)É>%w|TwﲿU ǖ! &jHЅ/`^wعbԇHxpWu@gw7U5շ\\"F +-8ku >;o3{|2~)h~?_G1dMj}gVVeiv0!<,/qNCLudSV6bb^d;fTrÐƌ䔀S=rS)A]Jat'@jY5v?YaY+S%cNҽ՞eW;Z?$,ZL<M3(2Ŕ[3ti5 [>3Jh2̝W\֫Q6ZRlA=G'[S. f"X+ʝ$@"_}$ gswVh7oUݶT`rZLBIi5b<1 BƳMCݴ%DT٬،4C|ޖsKuntd“مW#5,ݧ+o1D4pĔ:}i05j0ugMi8o50]n,gS z2޵?٬P?p XXϳ[&F\857Yw<)>gWBu4 gS,"8AV+BÊ);AŖ$|?ɽ+V%V~bCSE"^Ε/jQJ{ Թ>yXVUȭh;dtW?.$AKY?xɁŤVq^_~<7AV/=U"Jc3rB{7`B{p?CkGW7IsO gŋ {sM> `Sqf]sUE'ZxS o<`9jޏ1fޡPvySO\X4d{!"D]#MR6grh0A ɢvl( 8`Oe V}oJM}oDksKOQ2N1Wx]Rdg`\30@B@QMl/:oW1 endstream endobj 1236 0 obj << /Length1 2247 /Length2 18577 /Length3 0 /Length 19905 /Filter /FlateDecode >> stream xڌP\۶ C`[ph5c}ɾޫ^o1&#RT25813rD䔹,dd '+?Rx2u#ֆ_zӻLL l`b0s3qp32ց j2mmd"v 3s,40qqq: mrN@ƆV[c5wrf`puu7vu0㧢@G ]5obdUs?b[S'WC ]`28;8ۘ*R;?Ʋ=@ m mA6fS .KD 01dehnwq!%;s4v99;bW&٘Z[mO4~;jicjϳ)/ &v j6 {g,Edf@'###3h3\/{ޞvvw @o)prpz{[<d0lDM'r0tg߇ -"J7mt,\:f6F# ;GQ4 ?R6}ӧbPw,y( F6F/c+ˀzĝRZWgٗ}kg]& gr2|!36(r(j-hB112V[_ 4;_0tp0t?wdz_C `uzw:ulD v`8 A쿈 1$ X R{v?=]z.gW/|ϮSA?=]zϮg/zA:?2"|Θ_W#dg1B?,AKo/wsw;Ż /N_տ;]?ܟPl6S/;[?ߝmz?fؽj{_Ϳ2'_/nlwz~718;w>Nrx/ wB:w%c~ݻk_h_?'4_Y5 hxu;#;H\qt~BM rJEY\%y-QE?^y~yspDqNU뷽%dx4Y3'bk[@xa-ǗYh/dF 0Nt.ݐoriOY=c<6TqHq!og=Hc-y."Ҧӡ`ά)Gڴջ|gKQ'֗b;+|m׏Dwgn*qcj5X JG wF`-v(:Oy6x-Edl\C>lMC6UNg]Hmoh9|Tz8J@|bQ:>藰^)/x#=U.x{qG48:I쳾)$a_tF&n:*~^n}:A`HPKDǃu{~j\ P&+oLLM'H[<@Ɲ`sk#.ZF7(vkv"y^ٳ[xtqLt+MAPPK %,F8nyL\2/Eދ_ >D+⢰GeGpw':/k ^Qi_ݤֲS?;1Z !bHi Vڟ>Q 7(c)5R~nnC"Aj. Z X#E=ܛ'Iu=%VVqB-Еn{#gcC+iK4j$[+O^OF#bՏ~ᬭ",ltvQhP;jspb| \o9{@1 6l@#:^!{E|L}l1KoOGȗGBZ/GEp@b()MSo"%+Z,ՉoDRN wzr!*<3.6%'m/ztQV KSW_!n M(60TkZOԽ@&RjmQ27[*w᜜8=֭vWd$ L7klqv{G,#92]׈uct{'JI"k&\zSp͟~nbmr.xϞ|//;`!;#NnZ@0h2~As}[3/$~SgeXlͤ doNt,hJzyZC}`&/ވ`dž5FzՑ͡'Λذ#,a\+d劁hֲN=J% 'W>@V\ EoՍ%S@9Hh#hȾg%UU_zXh~零OGlssPyZ('g*KGgϢ5 $ҭQrnY4;x&~ك1E6\h'ᑸ`]?۵{ȫm#?/)+ YՑ{ڢQRc:[*SY+ X,<qiD0Q'%048\Œқ|>`fR"tUZY]G&iP_𓤧JuYٗVs06~\ ޽Y7/**p {4Xu<OJ(qG)=4Yub+[;QSm C} fn?vEΒaX m:F)[|&mO#n7>X]DWd PI\;5/JS~e\90Es2di k1 =.%z9|mԣ3kZweG2DQ+HUTGGE߄ n/ Xg(Qu}dc͒/ OY\|XM?<2q(gohBnF#b7 1_oF`% @'M*\S-$'$U`k! 洴$YST,j]a F'FO~Ldߏ$:=ȤQBh#By ^/5l2XZ̔5t3h6O~wBuQ%E.)\muw lzJ@KQEdžcn`Tm+&B-FRj!!ХEʆ'xK[68= |.[[̿N~lߖ,9ğ8F~uMQz&rrkF63kHX P*9pODUFDɰ,m6pgOͭ+}@ZK|,Y3] $RVh$ #K<0iU1-M}3MՍ./MiZT0 PRW!`#yF˖Dgotk203ބ$08}˜fTfݸm w~P)JJq)"KlNKr N| mo*a14OGWe b:XhpV`rgLVܧA$Sxo䵢ܭ& JLv¡"r试t8f<q^{4rHxDGAZlj|Eiϲ8>pE^=:'|&^7}\nOy=Fd}Mem׎t䰽nAHs8ĕ!guQv0))GÃp3%G0`}@H_˸2,tx"qgaFDxHZB3>M3bmnmi#k6jFHByY2mŽJKFijuxV䍹&WE) vڀ"9 }2ڈ"._J22aSĢ1eEk%T9٨Dh3]og3X:ى h /&dCāW5> _>Xlf\HLNOxkVV%Wܽl 4T&/-H%VCOs,'QӐkuAO=H%R4bNݥho-eElgaFV'" 'KH$uhE$+W<s؏A?.De,g/閄W/\_:nf0%V{pbz1)ZqK91JIb `9 [zlDl;2k;MDoᜳ䥖*US[gdjWfu :ٮ2MDEMۭ,,%+Q^ִ2ڕ3;|/,޷=X.t Íɝ9|Me.β¢r_= P@v|zG_ij.Δ1X3XћH؞[Cs$2jHg`&n3LI^t @qvG&7aC},4Dס\\Û_RW\VfQ*U:6c| J^ pA?UeP ᅦ#7e[ C"5MQ%G,mJ~8/*uRLu&2͞]A9p P{q 0~Up:ⰛoQ'4wU**dVD5{$gMɾGe7*^N_>jx`x棰zퟏ~/պ nlc_(znY7j!ʐ*vyoH4(֝mW϶뮹PL10Ϊ YA|sa2F%7~pƑu1ԕ ݔ KDqu4@M)Et\"xq$cdLROs꠱Jb~z/$ .)βiLbd+z:r DY 78r"Ɩ!e"ɔmP2x1X7KN~~Y\HrZC jyJ()LFEzN ؗ4ШC쪍Q*XM7a<7wJVS˒әer3Eƀ8G~Рf-Lbui=_]@_$]EnGn˂ ޗoZCX<[N&Lv39'AR%+i;>6|k*#Ay-E EO!=a9sէZ 0oc Tͩl\g9kI.``(0Bhg}~6o̫k"4%愌Am 6Ab [OIa^F7(ѝ/ߵ02A|KN\fTab"u~rLlu\ `G /ǹbgÉ/)yu m;AItػ(Fr+ǡoʷiq=w I5aMޮgeFN8PxJӃ/N93eE~uf]rgq`Õ_=?s!t:f} 8ˊ?>p1| ˿ED : oM7Θֺ|NYC';Dؕ>w]I?M>S7Hj6rJٽ&8(פ^c>\U/UssN+Z G~9l( ["ca /ziAγ:1RBݖH= ʱZKCO8e.4 YL{]lǼ 3Lۗm9ܯғI MpY˚ϳXf uQhT+c3M "qZިFna6R0-^Zd :oAlCߦ7xz5mXxt"JdVv8G\yuSsnTkQpH ԛDHe_EXxevAuOû٪k,6a e0RNJ)d$}\ŧ>vҊrњX~Jӌ7>:]r}V;7i1&{Y7ĩ_|% wuXk])K$s<ق)l(919OUy/?Lp6?q ]#5L>B؅R!aC7Gb4#~ޱ9氰WOɠ_{x'812UsӁP5 ѬYю[AvoV 6OdL**3h"3}>KXUQT(X1câU3}Mxx(Jٖ'eaO!1,)Jd2@.;n_;S v6FjA-MaՍlhq$,OqX6؞ڼ p݅CD_qwV[?!w.K@MoF>IqPg!E ŋ'^H4p6fVdQj`-)렽&'s!&F:c8AA/RQ/c}F[0FM%xz*^4f̕J+N0gr%$i.+$O0KbbTO2=-oA:Zv5?m%A'FRKܩj_\0gv=mnN9oDj!m#hƑ}./ܒ mUM僅pU<:R5"ᨆ ?G8-!gY6i[܊(iWDž['^87S_S.ҨnR7OqD\4B>M^a8KaӋI⭖kayY ]P7$]&~F֚M.=0`>$fpOI^}" `~j *,B ʐbClټged^ S-I@;AI3  ŕ)"R6 [3V+LH.U`& VrJ;jZYD4)\8$Ímh}?'D(6m "<~qsiI7)uA({HC _U7`"?$-P释As0zd j8lnS'{NȅZÍ5Ϟ I!Fj݁nP$YZx٫dli_?]?uRmpP:zRPMKA8ԝF3ՓrNiV!ir/-;JKwTݶEAT4d5fm%Wq( ,@ k(2x6}YMl}R+B$'Op!.n֢Pcĕp-θTYva cɒ qh;}C]/21'GCFTQx'cON{Eu*_ޟ~tqIdOqܬ< ih;Ќ2$9grJ\CȰ( V"+$0-R41.CA.EJ28h2)7sE'qX lw魀/Zzcu (bS5^=%f/J 57許$SGgn~?h'͚3b^Oz%L0K6GU tQER턒vָ*m%|;TVe[?ߤA39ƿ^5eHhtce~2wr )\(vDKSIi>:WDN?#bk6Hͧނ}ej "Hf~r3@y]sG'/LRYa+HmaϘjN6$)? ;'i~_b?ӂ"&o74L,Ǝ# KEV0VۚTdZWC!pR _\v8ё+h(:Ž}PB_y6>+|08cY c@X`$Z87Ɔ 00eV:j,asAE?٢?BKdm QghHM.%?Tv*[Zb! ᳽hQosXʋ.i窫iJ=^05v< 9dɇf[#ȁ$y6M*&oIM>DMs(]o;$O-|K:?E f&+@ ,2Xt97@)]U-5wkkԲ ݛ7F|megwأjZ맫oP^xG?ۄ#KRc&JQ.QONVi6~\0~ %M,3&yLEegNTE7++HJF;+#:>9y S?j~k^f!Όh{c!=P1?7 ,~}٪gAʡ;5s֛8 = WY}C#8ߩ/={"72͂X zSq!FMoϙ&8 ӈ[C~0ģ3fbW "pT/r:HMȖ.ޒ&3ȸ gbJtX?1?k0cտ@qL\ıe%h($WcZ~}`͔BVnЗ( yLyM|(ױAlnMf4@ a/\)d/``aFcf.zT<4n0Lb{7rWfj׳ɕ ޚMU*'3Тj1VBp@b ineE- m e38uk\8]8uݎ!WJ+َ^Eu_tַP kf*fq\i#>JVd,s"ö"ZSQ5eG-V=%Gv;׌:f :!w F'I(`& K%)<B,nv0(W0y4B/{ 7NnJ ;\Crh&0!'s螸I<*w~A񐐿f @3%2Sز'H3,?G >Ī.uΞZ؇9XKVd9=1l.'Np;IW(14(ыj_d>`bj7|~}`S(K5:^p{&&D~sIrQ B iqu =P5IjPHE!ת&?Ϩ_,V$Wtt6ήͬabokdVr3(gq^rUB݂>VBjzEq&Xb'G,n/[Pkp6 x %3Ѣ),V#&'8-oMl?p~ =s4KTKBЋ) @JAn(N<^žl>ʧ%Qc^NkR ;y~ {zR->|7)Ǽ3p4ys}$@zÒCqehRC~ lR:`а 2M<ePv^bI'$ (x46E֬Pxw)+cgRAcoq8;3EcS/BE+ yX &I{ߡdJΉwLǡ3f9xAA("'wF'R$v:sS>e3[XOrgP^6Sa?dvMhDbhIE;wBEqXUs'مV:K[FtBlzϼV$91 ؘAݣ,{s |Nsql׳ZZ>m>Y+x3`>{Npٯ6%S5a;y.FA߂741|#.}5A_&&<\25 yդ#e_xfsYg_//HX{lk3Z1ѩ5C F@~t4T15{T{N3rDjcup^D,gw+Ş;6DgbN]_.Q6RCx~gikd%:Dkuα,fzL@aeRsהd[[-[&U4q+O' pxMVmڍʋ&ۢ|G6䴶/w 2'0iB+S?1-V|OfEZ&G Kw4M ֩ b5(!q >į/>[to%|;Ħ3}zlŭ~NVȸ!vw( dOƕ5Hc5ܢ9ҬgfԽD{hcLD8MޗG0P]˥v4d_U*DS)ׄ8vp&o~U&Ix%ݟi:gDF'9{!d'}Q{UyRvl#4v* zPdwynb%C>^ǵ&XnGz, yرٗa햺cu|UőI_3c7>!x-Y] Pڜ,A6S[__pOr@.X#uqSx!,* {Ky` xaYEhK-mI.qJ Y8aqF;mSG<<U qJܹ'*AW'N _IJu!ij2/o$xW8]ty#, Cޑ~ZBe:2eaj4Fw 5ˏٷxvuTI]xQgVqxRbf>,,@2g+`02=J3 Qv8(T"WYH 6ß]\∇0NA0i)^& pee+U8'ցӈߊ[0mKBQ3Όv,FQ8_,yJ(+pKP8%Yy 'G 01(B0N-COb3 vDZ?au/Sp O`,n#vϦDA @tՐ%癗t=zZ# Zolnby.7yɪ0XS+_aͺ5G #!~ك+OUO %s<&-q,o'i;?W '1xϳI)EL;G)U7t2BDQӌF+e;Gx2+FNȷZ Zu;bY^=ig&byꅳi1Q1桵8C&vrSA]d"D C)buf)SncJm3^܄mz s:ѓ/_{nܨ}o54x#pEs:>)WǑ#uY{_+fNHb) 6gF\U$)(Y&vyݥnrAK0c?I5*a 94Yfޟ&m~~QiBT?)Z,aR{UX)+ ِأQ!>pz+[1q-BC6n@82l LacTbՊ&!#>|rGlBbZօHM.~&x0mcq^θQ\w~Ihyw;BFt룣Uhz ht ]iAQU l]GhktJ"ko1YepFdbQ+1fZHdDi;S1ݚ^3#'$hPA]_B֖9{y_ĩ$"Y3I2r>xnRQ`g@"I;cWhAc"z dR☿t{kO<|gOWp(r K?<0lVHc4tf71lCfqӵV.\Qa.@ vVI<(_xsbl)bK=\ڶU+Y.K7\Frnt`eX+-$G\V[ =ڤSvnAx ~WL8ox\b7hU.oqJZHa_ ;E!T3wW5ri0?f 8ѐg8p^.xhKE,56t՜'{[Q&sSlcL&VڧJ J\l=Sx3t!'tyԥ,.ӧ 4s8y[. [2g/WSOarlCFgQex*)ULo{Ză-DY }EXdmLęNtz7.+Q,>wTah,&C'`F+`ҳNDwI'Lư} j)[S҅8EU|LJPs2^#"ng4rɵaAĒZ'lW«v_m^N:,l?]h~tO =L Awc tE? ,g!tInW-FdD}c}()Gؔk4^ s;ٺWf;ÙɑZ=]*&mo#cDK^emNlQCnd  -zRD]|H ,K, F6/|u&|Hb+JǢ-|HsT(ĿGJINe.=\EO,WYZS._=Mbܶ*ҙgrД6KY=^Y󂕱SLy{- G= ?+}(Æ宙pQA0mHĩ=R ơ뱩> oOG,k&. 0ɕՍ|P]Rds{dQU<q/L2N)[L_: GzUkV"=居 `_ ,ėrRpcX鋓4( yl)&]Bc 9pP7 iTcU-B4T} endstream endobj 1238 0 obj << /Length1 1894 /Length2 13519 /Length3 0 /Length 14687 /Filter /FlateDecode >> stream xڍPNp Xpwww5H$KРw ᒽ9;ޢƴ5ZsN*2@){ #+ @\+ Jb J !4qyI*ڃrVv++7 ?N| 79@ g:#Q;x:,\^'ƌW:@23M\v'ۛ.SFŁݝΙRrNn@so%;?ҘV -\MW- v~Mq*࿃`s9V&'w!d33{;'l R L.. @[g|7k_MRWs6s9839lkd]%vv@3o~ '{26`{wln[ 'Մdaa@3+{:r6jvwX,M܀'WEHs h #[ ~2x0s{=1?x3r8Ylb` {t_?𿵔_;Y8Y^X?_)wF\mm7zڹ.Sh: {t Wu1yQkG32qpm9K<* 3oq*Π |3ffD_;/uXIYc89x">+x9^03]^S}NHߕ,70+p5x&El@6xf&poW*? _`w^,tRAW6W]Wavבc_e_8_i8_iA"^ί_7{eG)WW^.3W'Mxm:4CZY7nQ'֝qou:AkW@5H\ᆽ(zYo~?a FOf4JS7iL' l򽽺`sK܋6"sx W{ 9Gj.[NPbyxQBEskE{d)EΒ28wW+ AۙoQos2卧sT 4A]!4)sewes_fБx }컊C68#2vj 0w:1"|G7.>xZA-kU*SSe(EfBhRrv}B͝'Ȁm2?*#1jfRKj*;YL(٧q'u=҈gKA/ R8Ta W{G[aAPi]d֚K?qٷa>__ZGuo7g@`4,5[hJST@nb@>6γy|Nd?+EmЃF a6Z󺟄ֿ363AU.xH0r.w]}0D#L7qVBl]9;'$lq-0APK<~fu|SХ4 8Os O8??65( i{&Ա1̝풀$a ҅ 'Cb營%,'?07^=r)T!Q1d:&/7nIx/fP ]zعYOf%i\ -naX3 c!QR@3gO5p1QM,yC7s D鴠l:){$Ljܒo 4DUkge$qD&ikfsbjHI 'ȬD (^ețtK_H,{~5e^d#Wl\qqhۭmEy1QR׹e"?>_=\Ax(ROX SQC)@vޭ*e*8]KVﮇ"H'u&C<18ZRxUy7S!'峬XpThrsw N'EDsXWf5X܄4\AjeX}tU4;R3n#>rM]Zsͺ<aKx߶Sa8sɻ7&?:H<">"_*JLjz]vd7.vCU`i.3 ʼ$ f8PTqLX`tuIohpWF_4{gxm8ggu *ɦQ<8#:Dyn%t?X ]6=1VK;p_ɱa4Yb9:33V&i]xDž%5O* r"$``}ZeZOmvt.}y0w5-T13k s EQ/R+ǨwM5Itۏ`"@^2t a껭:׆iENZı$a:mȮCE{&J!Z8NdJB&Vʇ6CxV! K7j)E)zbہTf-Coq?ZZ2kmWm6N煡/kf=t|͈DrCi(HGxfkڻuO7S<͋Rb5NNDV=,{vzwEoհL$Q>6ʯAtf(Ng/V(!}WՕwYַ~y.iGe|3 I[ωbs8e+YUDqg`;*#לGzͫ:Z ఆ4ehQW;{Vzt)t=mQg۰PͧF1[<*|-Aq(ծ02t pvפ%2Dzpһ+rғLCi)p2,:j% WGE?zջK p !0BxIkclyTz8IEl$=,FAAh8AiPwO,#:f@V/) @H!!_BbQt%wf>=hbZLɑ}^Δ@8AS{%t3ĻP=\9/inq:5>ҍ{ԓN8M@ TpSx L+CiNbF>+-AlI]Y &ګp 矮zJiZ5]YSn&(RA6D)=vs*r0ϖ1AEA2v[\L$.h42(.7llVli{(~CJ^f*>P/bpebo2hGzLc6W{렻9?K+H kRSPeh^&,L2 ]osp&=n +I/:ӚuH* Dܦa,<5"M2 nD0a+e5n,2Rb%"'':gFmtpz mY9Bi$z˱OʮEaL756y7n#Wn2+Ax c9.Ml%u ESŋw2w_(tnW))dii{d#1KSU|kfFD<k[68ڈ@X/!<%$E=_O \XyaUGv .bp̘zH)ٙ,m̺ul S{Q]xe:UpIR!BŵXF)3Ub,\[ 81 !l-coKm {}}?|S%ͦGKZ'7/9`7!eIVt kv}cؤ8; N}$v]5l(~d5+ôSY] q>0>X}d~r GY ugq2?pTs#c\lU1G*%V[z~3w,/ғR[+\ n܈^B^-g$f{#8BEkRəq=aݜV-qKyg8O"ic*z-vb2b\#l5:4L=eMMLK|jcl^|(b|];HHÞ'FRᒅMq D,"! !ZUcnN w6:{"sg}UU< S#1R98}jV{+3SMԇw0'lc0OSi{߇r@?'&iΫ]MN}*yc4߿V0u`mZg^=ulhA,U.y"f3` I81 q\"D˳OW.rY1 7aLGj#mNzQE<;a`TBҞ^pZC<7&Sg*JpkLƚN<[/'Īt~ۿG% ³sn ĊfvT ijI/ݰ`hR谡N, t=}4V:>/$)~{::z!V? Q~{x{"E0M#z[4cC΍,Ax8EEG#]yn~ ʫMM(~>sI'0PHMX<36CDo%&Cf FYR<ATwۻMėRQ3{Bc8g4|d2'PjױFԆ ֥/֠YT wjmM; (g7Lw%FQȎsmNF")\^UTQu~ CȻU笞j%уoqĘse|C*A6̮\0QJP6 5}_da\زAThuM[%}XAǞuRsf Βَk_8Š"B!/ 1ěK0/V$sӭyS$0ۡ !9F3@AW4lkEgsv̼Dre :}`a䲺b&ry'n .IqwJ6'B2सj]pBi?{\d%Z'f雍PıKF՝QTh-e"T[-nF}შI()\8>5FWcj= 0U t4IQ/InraEF9j~%\@3Rw͕\Oo3>l6H_ Ꜵ=ail3Lm,b~8~L߯"\}u.Y_$kbVJ=tXgDMI>[*#P"v1`('+f=}X|O$Z^bHHF-,A[Y3]t̳W-zn " d|ت4&2`7"#5ыRUj[ا,I8a[n~k51ف`BFBCrFF\a`9*G恣*B=54_:bMӊc)?"`oB0K&򍼉!sD%T1O5Z v:= H.),#qu: J7ȳ|lU+5+L"}:[WI9n5r*M?xIzW aurƫ[Gcr )3Yp[1A]MD^^47EX#Bx(ʸ!/ ݿuUrЙs(qHkw]cp~_U)I+Fc`febNV'$8К=mG2UN J3emȽIR'9f#"Sh)'jJ?SZ6y{fpv6ah#3{+lϨX^Y\rD\VQcTr] ~I4 ƍ'zN3^;)K蒡^4*#f?S W"k?[Hy&!m!(UD>xO9 tP[euBhaBW!7PB*5|Hw9!430פl(S5#Б( ?eԄMad"DĆlդO^h/uU.l`wXs=j*|JWzL&s`y/#L|"x2IKg C M/ok#8gk"CR$[>*2 4]?fՃ~y~1Yv C H]!50FbTr+]M4‘4P2tCMAn?D1 `:/9v]xɂ'J tnCZ>.Y6g[܇mLWU/#}wꡲQ2M46*ʽU]P"'[c>_ gZmoUJؐ!fM[^&0a:z> 'm n9pR+H9CX>Ϝ qqN?ם掕/,HW!?XjPb;w f?| <'8ZO!1,;(f*"eh4ٓBг4y-jr$:6Rp4.2ֵ33{ DjTI!F!ʹEš&11fBo{E}9?  PF+iq9&ݶF'7'bɯ-phS.(r/bK|: Wbp ξS 1 kb+C}p՛05jijN ?Pr%[k>?Ys s5m1;tИ7 Kp7]pav~8RX׳*%:j ðP#`cFՌ)bّtMEߢ=UoQ@FNd^cpRҎm ;$ۘ+IْoՐ,vsҦi^GA+(F!,4Mш퀹|km#{̌HҳQP m'SLIc|&!HfԂP<.m7s--]GzJ+(ЛH3g4r"J1ݏ:5al ؖ}N8})3l^& XPAss ^R&8E˴jX,7_:ݘw:8*oB 4kǀ.UnܙMIu4Ue6%Tu%bVx)?&]kYB%=3cK¨S/sq.݊tnX*c}؇%QCԘ$rwuOg; %Q[}[̓2Y ]ae/ok$Gޚ綊sIջ 60&{='OڡYda^V͉5\h9rM="OSWĘ^΍R zrŔUO"uj*Gt*B-+Ű̝TVX|/T" 8w\ ;`u W|kƇHc";:4"^}JŶw 'Ad/dF6:Q($҂hw#ئxтI|Ħrf84o j?wLn JJ6Bڳ6`4}֞ o@ӛ.Mŀ= RJ$ͧh8CM*57 v&>'-zP[B!z=5uV` 4B4r$tsj@lЕ6kR ax[:ݵvOG>3wk6^yC@2ܒ]}ЋxKxaz*`F\tz y6j9`"5Sɿ\߮h]h^kګeҧ:ɳY4~=FE~%'q[-ѐsm-U}b֎FzO01.=V-.0ꎇBU% 9(5vø(ijg3Lx%Ng4B1f*F+"iԠ[fswH<>Ǟc-$XEKk4HeqJ W|Z lx12! fԌT ,$R-d# a+ð 5jwGW<4*^Ai9 ȈzwA5O-hEɎ[,>vn &!F]*fɶ YI|Fn>tMW6wOXm^^4&5E(FLVCQ9M[lʎʤ筙IZxt ={}6nB;(d-ovKrSL.0 fw9Z2HJo `zo)(ZaaXD,inac-ZC1r+nɇȺ~&VDk| PAMO=Vox"[5($pƛtT)pSD5hH>`쮔X?$)Jˡ\²ֵ3dUx4ǑYC$ ު ZQDm>HCk6}#艧5I@N=vvޘJT.z4AnN}K Gc7ʧ>bI]F;nG=@]<5AnFp|FI[e' KR3@;#KB=H9,ɶO֟lqe: M,kQ'k\C]JOaV[lD̉$";Km# >Li;޿9Ix0۠Y27KVDZ !H̆qɲ:FucAS`YA g4 HdoLJ}@!i}1Yo~~ö~OS:/gyր"sۀLJEa>}-U9ȏݤ|#~vaq_`[= 0ֳr>NɏHaE(\NcțD3{zv*V6e@ϻzeB#Q>ouF@< 쳲+ ĻddCԥQdf_%Bɲ8vF1i&,էup;q4Fںg.˳= OژE{'6FVdy%;jE+}ykŽtڑ&Z]i)4Jze[J?#!]ڲ'*]'Ob(ď"H1MəK/k)M;!#ToL1~[R/mIJ vK~ڏ/؁dbֺ2T۪-2}T)3@"j/'%]E/NNwC 11w~*bAB}ĵ;Jc馺1 &( 0v7;||4R`)cwmsJRvns  iSn%Cm@2t=j/ 6 W4N.0V / _nF^'[=nʯ8a4J1Kϴc?P/._16'LYn;;tJK :mÝ@3 $_uҳIVelY7PƲD pZ2j*$HtJUߌv=jYE%8vLʞf&POl)4|BW?/jSk`nӨ&e[8T2C@ޞ57*TaO) ur^Fi39sM03WMP'RW9ᐐ6 B@S u/4ifK$y61D!-Ҝ: endstream endobj 1240 0 obj << /Length1 1803 /Length2 10388 /Length3 0 /Length 11516 /Filter /FlateDecode >> stream xڍveX.% 43tt30 5-!t"%)J8\;Ժg]/34nU;"xAYU-mmxa{?lf]+ (G xɁpG=#(#$ xA ]Dr`w P;B]eN^.0kJ~ZxDD8JH;@]``G*auxXlЂ[ **n@8`Wn$'B]ܡj`fh\vi`(`:>$9B.ZJ*u'*p=nWB0ǿp'`TN;l a`ȃ ҚCpvF;BdPG+o~r0{svpGbPUWԃ 5@ u@=-mrm~ zh>aݡO#lfX@aT0C*py@"~f3`h㖑{|xA.^>> @PD߅4#U F9aw-5n Y>8h8hA灆?M<8] >tgrK]-.l y?yxX_"k>o׭ zB-fb Wu\[#|u~ܻc#op|P+/N˕1BUEEO "#BQ:nW:v HKzO CfIa"p8iή::5]eQ5 cuE{MQ.9mpDrw5!N%qu''<؈oB]ݼ?m:_)l7y6 n"_a}V4ˌ*l 4SY#c*m~H(H|4M#.ky /KrB-I(Y&~37# b<}m_*OM!\% ,4 M["=Tc<C$2ʲCz^Ic3R4+sD'J 2~"1ƃC$}]cts4kLiu.&SܔZܐ){>̮W!!ȋp.Uokb7>Fk~*'ddj?2j|P(jZo{D YjȪdg9 +\0Y۵ISѱr\440|jYCtikJM}㣴k٧[nXIK؈ L40{θ7ttH=r\E{-e8TR[$ vWS~DL}S Y(}$+9ۨו K( :n=*+?Slɑj,u}",@6tbb4< YxK$YCc6(.T(ZYt(1_IʬωnxC3R*xkp7K< ެ}#a͆&5ǩ@ª]XkCT9 iv,I]>ν꾔'W Bqe+`%&)Y/=-h SE,3QcyoX<Ju}^RnsZ⻬2Oʬ&y~6̡qnoivi?g-w5tuGܵoTĭ*iiXK߾Y_QV?lhEs=м Ui˓nW7?L)l~\Oa#?~Ճ\q>;uD&Sx/&LtÿUg5\/fa*:$1[ɥ2?$xoVc1eP78}ڌPKJq#mH^PmgAIҶ {]WL tD3N^W;U")Geǻ=L"_&G'-w@05B:^vL Aöfa͒7(dNҼTƎY ,;z4,YH)Α^Q&^E3(IF}Z($ D;{Tss&:P7uo+vm!SCIB'f:Qg&Fwۗ|x$tZ7Ճ"oq¿7x;z( 0rZ{H;,ZϾ@'VU0v 7YT`vANlW5\iί $Gz/W|aFH>(O֨A.X>ea޲QhՉcU$vQ;[_R^یipBԗ#:Hlh:=irYHPUxz˩ɶ~wNE&}/{pWNn$cꊢD o|{J4"ĭl\>5p]%Z +LZjDɉ{2''7i&H3q$,ӄBr7}Tz}3BAsV,wvD)߭qm7۵seTF*ew(ϫ_ŦFC8W.¦5!lm=xbꗧG[,5wŘ57Ye,I:-aLJQxs=חa[2yI;LF0[z){nRG>Ĺi/qNǸr/Bns$+Wv5pRPyʃclL͌Y,*Rϗ7F 13ͻoVjdY;ȭiϛ+^2" R^Vj8>(Z91oGJKBYo ]}LJțUfGNH.6Hisgc[qZ(\-r ,?~g0'Ȧõz9Lo5&Tc/R?T&x8)wŏ2m{4p؋eD 2EdM۠g1WJSst{P]^|^ܻ)I2CÑh1-'L㯾I0,feM)ɽTH9!I {,zǹ*3b::xXٷ!B|X<,{rO!7,ߑiwiFs~NvĘ`!*ҴTEuߐҮ84pO=;곤C{Q@ߦ 6eD2+׋Gx/rǘ(=⅚5bڳ_QhC$- n̲z<;pRSKpB<Є:6Â*m,n*2Or,X~ENSP@E%Ds +x|X|Y* o@H';!r%zh -1bs( tAQYZX]SIxh;pp.K"t /~9k>(ͣOt46F%äXyږSGTfNQ ,c+y!kelnI!\7F/ZH=gv&[L,P(xMr%su|K3E&HZ1O kO5ߍȖʆwW~*eM_j|gE9vX6`~~[uBZ4^Ig횇Gpg (q3prnԠŧE_ 6}OE"48zI=8K5Ι&uga4)8<‾{kfĤ"Ajtol,rV!"O4~%Nڕ|:7cmj$E˰=Ox4Z+3i{J8gVU.=D(:b+V;R,;@s'Kf>ײSL 䒛_TE"K ZD1A3Z^tkAePu!Rv+_Q8^&:Hc!:_U o#’9z0eY}XtoqzL{v )lUZ7,#=IY9ʓW;C~OTR*yYfZ"v Ut% dӏ#Y<+?JNm-M /3ЄI Z™ŌD҆hgc^?w$Yih9Rk/PFeh8HY٧r&5sL y@*pږ蚌Yf0 uk(`ѓS]USg|"RVw,nə1#5[^K5 ip3z.&>K>VA@ŗgi?CDd.99=DP[gmgc^/kW 'z>BYFÕGLGqguk2xL%(z{xңQ2"T>3$ߘ@ď ウ2@AX#߶U*'\IЀG&kgjhMB1O+բ+C\ľ8YN`9?l,rUdw~Tp=\/sBY'˜Y`r}DbR46IQZ$T]Zt>a| KB̸<QU̝u=|]VhnKx|D\&B 5{ >=|" A!jg4e ]D4U?ݤٍb(Xg\=TwZmI=*MVS1yPͣaB<[vXmd9NXF5u\u<ǻZ HOB^~fA^t}rw|| )]^uFN2]6xFΌS,rXg0*{#KQl!03:kĄ fHDB^4@_O`b`hj޸rTޑ]2B] Cn(% [b%4V.^܄BHNZvyduKբMO.2'\k&܇ExZ=R;%:&Y_PI<.(l9#t< 6Ͻ&:\p D@ O{=c%3Ml(FdaJkzJSNilc?up^VCEU^]*,Ҩ8;֤f<19oN?JucwC -5t񐉽y V/xh!tLOI3\vgi^ͯ]R׋4 %,>{lL9ol-gs\#.;lh82z4\7 Df5؊QjwCwv& yQ2>sS0g'\MBL2 mG|Pe'$XmGLTm$[a*p\°\3S@׺5OӚ77 )|WPhY >^f'PE#})-S .#z9($ 'JR7xv}Nغ-1qI>_CBd C~DdiʣG` 8&/j/\"*+y.7昹f˜_y[ͰO]:.(C=ޅ[:"j{{-a9 d[l~+}ó|)1ea aisg)'x(EiT1=?"*Mnd%+=ѩz*CwnGke 'fJ餟@8kz&yi :)~|10|oboL|t}C2>H:6>7dXw=[," pZT~4%* M]RH1 , _d~3صH>Kg$u"d$l ,rG6$f rNo)ihLѱYG>Y~Vm噸ϻ1~nۄlB GB}L0]ӞC+a[LP:Q5أ:Iu ~֗>y}QU@x=T\^"gxPid5#uDs`uI^Y!<LjvLR!Yĩ9 y#ab,]EEd(V bؕn D׹5[Tfr;goYUZAqL@gKOpb'#ފ/n%}!undܥkDLMA}60]5zt9xT-Q:cֶ K GE5+W~W|M_ 9ZY/S)Lw*if?l0RsVI =nn,OE?ܐȟ}M1{j)5hg#кvYt *XwO8Ab0q\ݕڔY?tr򤍵Klיi 4&MyI"14c>nQ]6_'Ƅ@Ҕ*SfkfY]Ƽ.rWq4 gޖ!ѮpyVH%Ɂj@NW%MH-Sf6ʺ]/ۘ;zV/ :HB$wSPHq7L7s)f΄ʿsEcSQP/.=m4 `$>BV"SE;K/I{УU$=I ?G;f/83q{m;VnK;v=.J;$VZDs<'˕ 8vQovwkrT3SW9>RF!>SLSO9}9YFwY6,=:}qe+ œh>N(ϸ?,^*<`m"ccyqoU-.C[vxzPgA8*s'qg@CT E9e5TgOGtbd7یU@0K /o~&9 jU.(R)v۩fv"?^2jz0\t)ZZXE<`Y&RH` 1{5].tl߸!V#[vM;6lw^z+] F69i2[vB\!}OW M^ R;-8|;yzD@;3M&+aY ,ZSggLe)L_]KJW5[.m8׮f)Gyet3J*5[r|}mZџ5zrem0D}T7YUEc䄦HN$=b]J9<%,dlh| $xG=cd ʯphJk`#ɔB2JI6‚-mX6{"+G_^ݷ>Wib/x.Y1Q~j;46Ue_WK!8YXk uz ~62+9^WQFgIPevw[ΪrG\R~?-wqc}c_3l7cU6ci<¸.Q~>t}[h%*R q|ޡjG݀: -oוagx1iL Cl)H(}τJϼzY,gJ(HhCTU|26)*ﮨo~ReOYb$LJ*勲44HȽr*TjyaJ8_5$퇇͔7{=ZѪH_2aȒĖ x\`h?@8DļבIYn|Yk-2Tas=d39^7=ב*^373?W0rƆUHϹ>Z. b4IerNEoщ ZCF"y0 -^< o&sH=Յ8DNWl?U^14ckrrK~vc#fp" ,)qB/ZVF􀓨Fp6DzwaV/GB׳4ϲ~~O9g$iqp}lUn*5:_ڧΝy+Yb3uTv-kg%MA(o^Y fuNOVl޽Ϭp#^TDrG=)j 4t q_d&rhVٝJ+DxK0מ/}fVHS}*G('=f hl#yh}yשq\m)vcM𺮞m; -K*5Pwb=졒:'.5<0 6 kI9|nUCe%zcEjM&Ț1K37NӐCɤbn݄/蘚 "mGk*w"^GT^OI굌3% N6ߔߟxΕ+E `,T,\m̥ݣ]/ OLO|g7 NqOb'X }^ qgW|;[uqdRIPqQwip bqP"A7J`Cc}775R}l٢쏹>@сxeb:G[`m'@ ٫LM^ӏ1'\L0>Q endstream endobj 1242 0 obj << /Length1 1401 /Length2 6058 /Length3 0 /Length 7007 /Filter /FlateDecode >> stream xڍwT[6R"C7 tw03 ] ҩH(%] " %!)~csZ߷fg}]{_^aa㑵@0$?/H /$¢E@B<P8L?0eS#Q@ 8 Pt~ ~Q =$T0EupD rܿYW 4HG+-ЃB!H`rD"$y^47 E: bBƋ;Bzp{7 .P[ A<Tu@OEr~?ODPد`- { RRE 0'삀^` :P ̇!~Am"N !x?Sz@lQpapo_+{(vn|0'DEeA H $@#n_Nf np75$jA#^ OǿWx @0k{@}3~7 0࿎OIDX;>??# Qaq i?mG Mu;&E\A [ԃ_!?;Rtqg `WH4()j\ *H0J 07P@촡H[|m74( G@-?_>lQE_.J=.P\Qz1 #Q!j@L@@?]_Um==PN/fZkKojn+TrV)Kͳ{~5IO0s͌rveړ%#4;gC>Y!s)ʹH4Ş%=hjDZ"k3L3$NרּUSM(:e1wb5bscE|1Xx n 90cjkX/b9YXŚFi}xp2 ZHTE-͵8o1!G0g<-Nx}:lI Ec&sXsA$qV]66Ϊ3okb.YnCZSh9iMX{#+= O"pRMG4sAIz [&^-pz^&3c\сi'%m=oD+Ek{UZ\]K-b4'0Xz#ᬉS:Qqˋ Png "eS?)<%C2M@GH-]D)מjZF!&gNHݑkN4dRyd2M扅}Yk 1tmb#Mp Gգ9L Ӹ^䉁ØifԇGz%`l恼GL{?u~dٷZ* C}Ce0#O\鶲LGnKRMz~9ei#涡hϟ|sa>9ݡզFǖִ` r6el:&cВeS @%ӱiGHC b/VD~"J]VM$Q& XsWc ?J#OYj1ۯM:'u+Ew"&LBs 0ݰ>$+jDk֡))O*ɮZb19+CoDXF̽GsV߰  }Gjd"L^WW/.Zi!M9΅Md[֮@&sb}ApP9ۊM,IΕSsKJ;w!\#-)%tipFT'݃@f & %^n›W.rv>K]7$e%: :fSnTQ}i֎L˱kz]#7{A" l81`ڗޏ >&~ʄۡei*PZqՠ*Ey F(A>+ufj\i{[ ,ьk;GS'AG)] 'ҶW2Ԫ'(l- {wf4 ǁ$1_N a*`XwMa4!d8dGZ 'mu&G% 9Np6~jR\剏˜Jh^Sp&S*>_#%ӼタJM[@(L3Mhcă;?#&$O3yj!XPoᡘC[Fi7 ~bʩ>ogNwvqi'N/45)PpeXQ~Gbwؔ1g?ZGQ'K~.YNab>#|Xͤ᲎o79WbqנGVv$uW?sqY|uRȑOq!k܈x~?gd!U#y)QzU679/^(K88-sAYav¾^5`QnW-eAh?G%.]S _⁋9sn' ?=s(o@␡GeicK48H!eg3n.is5A2{ֱ]S_6S צ\E̫Xg#|_s-21g Qf^&O>O6B2׵ȺXp<Qj$]ښY$k'?tWtymшP4==v|8Zgq1~y.5m/pUxl: YEd 䪆1kr0F mUϢJٻ>ŕ80AC͝a,*}lU0SX&\Tss#-={,^cR22y;} 7toQ%ـ]ڶ0TŜ Ux1)vCF MǘN2H'ȻdșK2NNSMI-gq "8hwTge OZ 7!yBC&̸,lǗwW"mJ7uY*_2 V#H%#- u~1_rb*s roF@cU\? *07NҶC,f[ŕ !+E]Ŧ@mXFuvOG>b۫\[-a#ݶG.gx;Ǜ7SKU)q|\K:͏/c:Q$HI{w?dzjltoc~=pt>p)UD,~Qg4&H'xPnk1~D!t:j8tśΪJ;tAcP ƴ=}<6O ܌~w%d1w{oƮMf̤FyUX+Zyn|2ηı4δA%ޑ1!Q_DH^K$]ْ]> ZWW͎ ż^ ,!c(<` 5 GnEΌ:S7CS™R%<ܵK.{˲0 zx޻ "i"h{fޣ-hT I>oȝ9jSōdcX~Uk?of-v£1~90?Y.y$Q̟Btz~1ó?Ljڬ;Yݸ2 y@6g`6Bo `geblK շjvL[̤8rܼe OV3꺣bs5Jwdvc2B7*6ψ Hj{);zByt^_^NA9H~CȳQXe.KΕ!ogaAf+^*h(>; X2 i?9RϺc;`v0A|{{P ޣב}@,T_RZ Z[frr*RG {5; &_&;?.`O^j㠻Y3|0V]Md[S>]k$iQ4/.[Ե[rkbWe=%-YfP0`?ꏚ̜ީc~YDH]5 TYȑʪ3Bo#NQyH]^i[[\dٔ>q]P>>UtD0%FM4K' a`t|I3_w^x:|,=s^޵E]ӎɵ V3'hgG6LtvbigoUn *ޤ;ȾFzG=h"Ic2QؖȜ 56N[LŎ:Go karj.t"MޜcqTZ7u|b2KЗ;mC^I|>HUxҌ}Q%󈔗Ӿʨ-zc%\+KKa52&ɷN#̟E<UB}1T*/5 >6#pvw5Lso}Pp;W5T?ox|8 _#`#,C'GlGa]%зa^ͅ:L#&fRcR[ cGL\u+'aNzoEk#z-n;X HDm@Kc3(R"ҍγqKXW$E˯ˈq̂>vqrTX5zSFZ}ՙ endstream endobj 1244 0 obj << /Length1 1406 /Length2 6162 /Length3 0 /Length 7128 /Filter /FlateDecode >> stream xڍx4\ڶFAA c3:kD{DoQDI$z'B|}9oZ{sݞ,F v[*Jt, PD&`g7`w$;B۔A(4PhzB"!1)!q)  J DKAP;@ ؕ>PG߷.07@HRRw8@₮F0G ()pwxAQC  r5;0Bأ@!p$:nq4z +_ѿAῃA`0P-F@p_@ @ǃ$B _3 JfG! ~ u#:^pWP1<\MP7_6 @o>f ~W=z H"C#VnHiO7thB\&#(;_YWwG0o?@a>!@U@kP3@.@jP;/t_xTzC( #_Ot_>M.ZC#~MXT rw UiMfB3VH h#4?& AEhf׿xC tz/ϣ+ }Q(~xYjSnϗEL]y? ^NSCa+~?v0!ӣ I[b[r&^lRx݉|( pѣ)vnc>`a[E Y<"#w00| ;Wln9./]@Z*W%w8i*1G (zTJ[X|tA[ GR'#uYܞ#lDwj٫0Ά2E`yLܺ7:ӈs mX'"_&^<~($l*RQL:lox @AN1|Oeœ9~]POmj*8#kVb{2S1Tˆ;>7~:0/[SMkI1ٜ&Fm piRb 2Wb#/dBeR%O>LR6؉']c:@PZ+]NMhvWE<ş&6O?wyҰgP5nraCƛMo3 !5ְ"XEchR?Ue?H߽gľ;`W ?$"U:A~؄QDDY}#LNk`ےis YݥY/Ek-/(DU⇧Ozb|]{O7CtZp,G4Xόh_ ܩj)CxORnqv{!..t TRw3[1O~pgUoja: bR͵=,)]X>p1x Byl2e8vaeKco~dʎOlef)o\_E s*, ~%ofHӉq~uuYOfg #oIt3Lbq|7,Eܝ˦ӏm!slM$`Mn5k,o@Dǘ{ uF_S<1 D2e>x?dWe׎OQX EMM>eȂߺ.\?閅`;#;`̭Rl|4]eY|#=EÒ3Io<{lJp I&wY \ow'ПwK=Lտ9$LCGݠ*M<8Hvʙ:0 \ʶUSce,y|M{6\dKSM{8{_8+{?w4D.t!t~xE@Xb3q8r2&[[}Ǔ\S<\޹` ԾѶ[6:#׏䦸'9ge(B;Zs*l Pκf ovU|U K\opkqfZxpuֆ;F ~Svs+UUXs EOf}' yLoSTq_/`%o V1Roñ!Y JG)- E=iMˈ)A0KhX ^K<,DĥY)˲R2ъ1_GhhH"Oak5qlLZBm''n.\(a1"+v me6 to☆I>X S0b i8WT8-VÁ4jWݢAef}æjn7/+Aivg|1T$WjU }wi18N!d(O5i@{6=3^$P4/U06ĢBCoVVFN߅# ܷ{gwfSz3>hkn}V^[H!<,rHly韍viضI̖~pՔMlL~/Wda S\dF^W n aQ2¤y@o-4ajk +БX?dchO3Q/_S|cs0(Rf@K ہJA+u S+9@~^86$"E{]u+f~Q( _p{=~0L¼fy~^ SdaĞ+}oW剝0p/,L\|3@s5&JmL5iU$7I`Qx]3\R8ƁD+<+A+c}Lt57[ )`⪠O|8]v2MKtb/npfdcq'j-(^갅1>se]spԹGstCraUDA@mO%jWj&#*יٙv5ؾ9M ,MhtWfAd/ضTǷ_0'uNJ`Q KoSǻ)pъ~0ӕrn yyC}fd| ~z@?|$/W&B˝;b4j?Dy{%R#[k.s?*7y^zjrڦ5[>e VpC鳴$ɹ,4ba_I?0.UŪ:PrZ_W耡d-1 6i GtrGx>-2m!=g gjZuOt-5l}oo~0{|}Ь&g۸$!xJt @Mq灤[G[]'ZrtE⟕Y}2$dN'1_ SdN]bN/!-b\ӄ:3x$3iuh LuzVkT{m>8֣A`|dqCWZ3&&nouҗRz<;Nui &e7q1Ox?jLiY+&eߖwCVs,#^WbzKOsPÁdkeudEMUocL!Yf}6?M3΋URswX3}K*:_$uI|c^"7}(W  $t}@t8^?Ͷ317HB,2ඡe'DBӽ/?9C6߶ UQ`&9<%5; XxyI+!kaO& |lqe `tޯ@+S#刜hc׳%mt`@.^9A(y䶆ꦔ\*e>Do O$bYBO\6ҹsؼ3c1u Us$vNs"&QvT*v~}VG.-#iQy>H;p8ɒV['}ɵ*ndŘc} {q'Ҋze"߻xԅz۰ؚV4nlp!?'``{8$_@mg:HP|TM-& ,bۃڶ*lL^bzk,sjh5$j,#B7{Fz~~^KE]艮oyLDcXE'Y?O~wp) Wve9dvVC( o~|5)ïyTCF)MZ KЫ %^!l ~0M*i'6S{gxYڼA5lC%Yv4¿Q16I jc],~3U-݄JnO{F 㡏 kc;򗶼zVjOb^Gb毕Hh#佬M3{,l ~dM Yy{`M/sQ'!ga[پ>I3l3v ;dp|d6d/7}ݴ^~Ы.=K;xh+^co=/|occF(֌sN!*"?hz_ZϼJ=פR7{)LjXSO6>sADZu[n6\9,W6CgNV{a<| XP4[v] oY 7xd@D/x. KqSֶf|ڴ2xMwrPc#s;$yb.=a}Ky~NǷ1"ѡAPpSkL?JMљ,O6 EͽKf%20k}w}:xGG Raqq~~"~gKf[QƊjL`HL*)P+xC/>ӽt_W՗`J[P{b oq똱 =NΤa4/ed=ɼFK{ys*~ب]"?~yPS'ߝCO_I{i0b}C;DI 7nAk^nm4x){V3/9rEN(3ڏE?|sAcg3+UӈGKB!MS`9~_@gKKVX$D8X0HG1%RG )Y灀3/)bL#m(]KltV凐xWӇJ9fZ"/!8 kDKeC.U ̅iv qЋm ”Ҧc\^Y+4Ĥ>tRYx9i" '6)Kvk3gVӥ&+iIFi+^Ûe'z[ ـW7't(mHXXؑ?J^4Un8j:/ݥUçJ)L%g7ȧyHb8$:J)rO=g. ?yՎ gfJ-h endstream endobj 1246 0 obj << /Length1 2914 /Length2 21084 /Length3 0 /Length 22727 /Filter /FlateDecode >> stream xڌTH # | = 0A$kpw @ [ 8{8gJre5F3{ #+ @LA]†DIvOD rr!@d@@`ccaOމ tv g$J1{O' $hLi DlAN`S@b D4M tqqcfvwwg:3;Ye], g +e"OjLHuK j.@'"!&vf '$:@MF[Yo?2_vMMmv`; 9Pgrpa~)m!@7 hQ: )B2'?gS'33W̿@,ag&fok sqFO2ݓ͵w2ۙJՁY G"B-8YXXx GԒWuO_Đ|4@`s3 pqrz_ 0L@`;!bN` X,f03{;m1"?)(*jf08ٹ\\zQa񇥌=o*?@xKҷ 6gd1|nL//mIN:lo]] 3`{p@f`W*̂Ϳ;K=@f`S˿zoƯ9ہN#+ Y 5p_K 7ٯ!cH,NbxB W] &Hvs{'_[ `%qE#no`x"no `ҿ;Y70F.roA(F.J"E7pQ \~#E7p \~#E_ A"v2KIY Φ`HOؘsCl{ .C/c)鿈B&Kbk0ƀwE!13$d]H3׺+8 d lxT9] QnIw9 EtV@HX!06Ngr.$ɯJ 7iO?XY!:^pHˆ\RX?' :'Kh23]"?y++ o#g-KǎrB8C.wX5b 5uqwR˜MHw!`S? $^9C5^(Nuz iq o`PQ]xG3S2ѕM9ƽOʣXNCf)sM2^Q0 ay^ʞ|&G=[w-vk\͹ ++i*oѽ$Yk Y,LPkcd>|z2X,6NKRco|{Q3Ռj^ћKJ)5 !^;ћ)+zz|_zqsx%wx\;5g$*苣G|S`^ƻjacCcL 1 r8C QVo`YR+qn ܽ;qMd Viܱ.n9 Zj$CmxC ƬYrOQ`yzvzƂ+nCs2&-t:3Ԕc8ʔ~ul kdЗmt͛ź|xc0ɖ1ˈlB5-Y9>8//68tȽ)P{Վ=ҩyğG6&'v|I%+Dg>cN>-̆C>\zNEVL~O \(P\ZnGʘP )[ zˬ" NjQUG$L=v׺}R/]Ik`>_v[Ϛ10u$a}o> qm@b=G:I:!rV$1`d5``]d`Aa~Y._ftV~X%|#ؚS`*]'L#tUfXU2kSEͷƒJ]eO^L<".K ^8;>O@q] L.2Ėq Ot,9'5UowCq5Ȇbֹx\}>q:hqX|__KJ!vh^96ʼn2sO YA}bnؓ&$b *uQaCzt̀.Xx4tw7kMZJl{#+!Gbvotۜ5ty%Jg*q.]7'p<Toc#)FO9/BP9됨T{.DOr  6>eTD_^) g t{[t '̮Y}*u}nַ'gEW8zetn(O)t鞧5@ԞH 4{rS'b/т`&Ϸ|G6P[ Daxw'6/>jR(ʫ\g1턐oMy6% D'HeUi93>L{@S+4<"W T(`)0 P0'~OBt]DQs!A1|Ah s!KZ1\fQ yϤxrV3&(Xmhֵ7\op|X\o>sԀ% n*{-|$ 4j#,LUѬh_o P6n8oS|J|KleHJόi"=91Uj2>4 w8S*2 8Vr!u-Ix.I{([-B":Az^i٠qw5K;#X+ƻw!}GJ!\nW^&Q`zӁUcXTN]Ĩh2GpX11-Fo1QY^^BysΘjHDLU,)IJukt+ ,x3&>Ӳ bS0ɔo{y0,{~75pJಯl mhV""8HTr4}$n/-hX yKwLyKuWzb朇.eؖVt)7ӜE̚cAGn8{QwmODKSrGz)t]%UDž)ބg׌=5P~sW(7H֣.gahFw&|}cg=p"Kw=sNvAd OQ9u//>+Yu&wV-k禜K4hKoR~t×ʞhuv?™gV¦O7)SF#>bn45TQ,`a49SJnR0Pm I8 sNy=jwb5jZxub?17j×&q*a[HIf };'+Ts܎1;,nٵ󛐅z̒MlB"/oCO3&~PH,5=7^D23!Qof>1BmRItץ>( k\gq$/.1d tZ@:/ 2ZVZyjM &eٺfNp*H04bεaGj՟qSĐN5}GCC-Mmҥ 9G 6S qԊ ]TTg9S»Q(x/lX*L`9Ψy%Oj2PedG̓;0TZQIO(1JO1OM;%.)}K;aE8B(a*7~Rxea#$nN.Q,p,ަL›Um椩//:.i7;2x͂9գ-Zqx`FMBG%  ^m8kSU12xek:v|A,q˄RG4t,㤔C99(B/YkP݊'9 n>&w'UqfppUL0e_xHflmҾKTTdHTTׄ5^_ uw݌mVw ]ݦn/BԸn#w@'ݝ:)/j|sՁ)Ae0مmOgڅF. l"hk7 9qe^t*%j ftd61&Va%80FEY^2e[W9s5C:AT|׶!4hUzJ4}6SK՘+58M2唷VE%= ;oҧ۩-%_؅S72 )Þ:*}8o:w:G)n7q&/b|ݲ eȠޠWqn$4vDBUt$ 7l<%d؍ؐ4)8rtv?!HwZj#)ߋiq(3L:1zqUZ%*8(}*eN>$hPE^:'Vu'=p^WbQOw3!;(vM`".0;=351yL}g}\1i+49{7WR c ƞR#BW^~]Gt#zita5 I)DMhEWB0^iv$j7@Hy]V탧 ۢz Rc DL#3氨zY %^C.j YԴJx]nz(|#Ƹxp Tbr*TI]8%E>8 -&vQp)9}BMrFʽ9c!jNo 2odNX^g`P{]췈^k4kń/]Բ3 UTqM5Qm pK52PԵ_".ή b 뇿v,vapB]t1O57GM O+w/a7dLJ ِ?6𱋉+aQ Չ vΆ?μƹSmlI+cYlMuzW`gM,+2яMZt$bJYj,us֠VmΉkF_ %t:fo֡PȔ5-J'8)dB,M2<^& u-)|**6VE>[„[zK-1\4|eh0tc^>\.z*Wiχ1`A=/ =_@ڛ/ swel*=/`zMoO[B~MFQ9ΌC)un9~DMBfK%52)O[Qg3)0tGx\#SxW9 C"n _ag7qՕmz ,J)yuN>"='VًCUTald^^&ib1UMeׇuZ_?`L*1uaS!4YÚL,Q@پS*NeAyܗH !x~2bDLf5?ҍ_綱M3TC' |*y>*,-[ɽVkB ֻ%Պ!𕗙c3VV|o *64>aAo-]ނ$V%,mnnp>7b? #*q52vXBm+'SYaՒ77iW}{ZΠcIފRV9"D Ў]i-% 2$YdC(m&J,NY&.#KtT-T uvs1γ0BU:2Ew/vpVoto_=dCiUt[^B܌0RqS[9O]qV3zsMDZi؍#eeT[ܪ3y)H<6 n\(i<;{:Ì6mݵB :'l}ap~iمmةZ\gU/=6+I,<nr`;~2-Iȓv9sY(~Pc']: '9-A%edJj mӤko ^R|G%QnzGy9L6짝a "ӽj FaX G'Lb0myI&!G!eoZ"2 aQY>ۓ~Q|(RVBW>@/`NA6o{<( Χ6!I}y{ӦdվJ4zï ~6:*m๳`=}Ѷ{mpRWl3ظW u3* M3m{ 5'3 HQԀ:!Vkcrgh[a,Rq4@mCS}wHJ+@kBaz*eS+\ B1P*,~[lnW|]3?S*|Cqx0|D|k&EiQ 3>4"-}YZY!zR|m{ƧI8Tx!=~з_ OfbE % _#@GWl 8XpcGS_UG'y4^=+;A]|5 rKq22*!1mSi@qG#=Cb1%۞ouկDک8ޑ$lƺh'SE[tf =ލϋ6$D }8-"gZsY16z5%F<-s_feZyfGD5Cq򛚝fETpWJCx=(b3 냘XVk2-ϵob*Ff!Y{3biv0O ZEcyIѼr݋+3# |Š];nu0Fݕ7€^3UKX1W%4C ]3F tQYLf-&D ~Mf?!"O{?d?eӍog[ H[:k`­MK:-A Xy 2$;( }׃HlFvA4&^7D[&?wHg gZ,n qBEBKļw4"pHkdY^Qp蟩Ym{9IojLqӆXr 1%lF =Fe'3Mժ[ c&Tc]E)ҩ6Bk7qW9"Iq[6!+e..H%I 2ңؒ(gz}ɦ59RXF=[lb4N_Ne (݄2 p$-l^nWɨP܀̻J}i&lf;uNYv,Z Gk n#QH'9e뺟,eOZM vJ5Z\V"|db*炊\][Lcjf(tGڌCz-'gc{oy3w]0$my;EJ'k40"-M8P~ZRKKL IQ(B)ov {O6# (-VOlOȠc'&}+h|\ K{[&#(#6V"XlFɑiMKwpa&*ЂגfNtUs-9Rs&ݶJC^Gۈ6p-hxq:RfDqZΕ̫!@8%{6P# g!0zanww*ہ*]{]Db?T=%F@@P* AD&T8>-ɣg:,&i\4Wք8^s f!qկR,Τ7siW=|~YنvS^or*]QQoKJ_[V0{OH{y̆*ZyOРK.EcEwAvbSJWF~>&uפ6fGYAݔ7M$7 ᭓.#t OQR+×v??j%3Mz0Ψhm_u xRYCQ2IPWik~s!MδQypJp?Ұg쎲 aȷz),PRo,^ (SRa ||WT6#= ?f%e*t!nܫ*|Մ.=J,!_![ J]2y*g)Ϻ G8ȑZ5׳HIf#_iIX Q+E&DMG}>Z;rj;Z :aʇl"iouxH1Gdv> fcO 7±zIiN6*.ѷR&*f|.fUEU:yر<CSNKwg-y :PkUZLq)J.ᣓl{&D+zwB{jVrpSz$R1kG=L/'k곅v1Zv~b>S]?W"ߣ+Չ`%'?U_`*( :(s1Pō5wUGsO-I# }x9pv<|/o"Y'ԏ݋ ub%]B;MFȤ[+$;]i-?NH7xlrba[1bS06!pxVF !g ۶pJ=JRK r.8D,b K^:Zr-2}E/ 7ϕV>5{+{atkQt?oW$`= kc8\X.tᾂ1LE?ȋ/A QV_Sh8.{<:i6?`hca>EQOV(W Yi`DvJ{mzXT=YsR!`8GYs Q%][RєOٛY( IhBUIw 9N;F ofVPA7ơձ:nɽZ`وxơU>åq4%fė76'Ǥ@\Ȫ=mr{')<>]D;93+WVus]2Bp3^~ZatZ,y1Vut1>LDaT]I*.\T{IJ|ƾZm0! ]+߀l2]S%f\1ۍ;S\=z*Q.ta@ẁV O̸pB.SToTb&=A8V\ 6^U =k5lm0۴l8t+v htKoDyRmqc.Ƭ)hSpcEq ?uhF:LEhZhb M@\٫7qd뽌ꁡ&+_sD܀F~UZ+-Th;[d)OO˚17ȯ-6>1KL&+g—⢄\[)ݑla(ZgCp + ,7b`PF@K,qIp0X%o™Y|1f =3;0FU?QGu&JRCQb!?E2/Iسs SJ^wR߿>, +|sߪF4(v߷xE3E$"SS>ՋoG*(/!ͫ|Y:PJa%,/jW? Լ Pg?D0]bhBklj{y^R9ENsխL8(WP:{~ʴYȩr|Dz"Z2&|WjҢE3-3.ED8T|< Xr->o y6_3wa~~a,fy:u^~JN%|&`「$yTt3[(Ha 1a[8@jf<mLmݷ{\D'YOVO`a$.4-Dh Tpy߿VGW|=*:u搔)U3† mϱK0YR%s`&jԔ׏X'̚SCOWJmqזF ~ uP1n~WH:5ÜK*_1x*7Wx*iKpG@Cur.e:UBhTMǃ>CtmȗNC {y*{h{O9L'U7kKysux5&qK#RoơTވťutvJKLoW07wѭKyBۋΘ[7ݳ]_dfl̨ ]浕q Qc\,(&G*:/O<=1ӹF.ۚ2k#6xOxeLJf\y {Og^GcKeײxJokPT\t/@efkP*_xlMH: iu.g)=|H[yu &R_51|H@+ a{kͤ2*/3:JIǕց Χ"ȯ"ӫdJ2-2եʏ|0\Az'w4_K'(n/ԣ~ %J)g]Y(^^IgJ;u}`0pP֫[-޺Kq1I!m'9Qvt[)1,oaS|qG3zcE9S%ʬ*r+M$eݹD?n?k4KVee'igOtǹ|n^d҄ؽ$"'( Pd^\-yZc89.=nu;>!#΅ kFFB{ JP/v0mni4f-j;)9{l;h9;pAҽϘ驤qMZA2̸VJpGdc?ΫR$"@GDW?!?l^صDOm2h_P#b'Dxևb0(wسn(m6R6L QY%<-g{&E%k{&_kיX<]~3Q1vIK5Kp2x&1:kXB{nJжZp\{ Vc/RqSV4qos:mŮ!F3#`/c[2 ]IT7[z j Oy8G*>㎽0/-pSqZ>\nK(`P2ȭy=X <&pEYKCkwl8-[syj "=oX؟>FIrl z A\H`gr?ΑXqFK W zg@R_|iMȃ_GV+Rg~Hv"6cUKPs%N݆. J\H! J O IyciǠ #1]I앇pjSL_bѭ 7P#.@NrA>|Y]S2~b+w*P-3L,fxLN=;/SO>@2=6p9D 6lqsSUg~^Yi'd7ɦPGO]qځe_63Ujx)ע#/,I=~+Ԅez yNB|Vl.T3xL91~sN T o 뫮,+=KYLQ'hj귫T* . rGM; (Kd:h̀&+ ASK4gU^m :ZߋdH>3U1=O`4T--o#'jU6!bB2H@lX X6$Cޜ{fQ" r3#ON"A04΂ىr/kDĨ8ltvΐD5C kӂJu$BU7'B(^4ח%8^\Dt lh}83)SEhJX"6?QVרA Z._@2M#[W`5@Sfvwjy)zbbs)τO !2%B6tV]*z܁Rɂe1]>m. 4e'}=+ZYfCXݻ[q{5,9o,ps'WUU_ #Rp)%yANi$ZmGP]Pt]׭'x̭1ioj4~J98cv\hXS,u|zO3.B DIwp|1.J)E d^#>Ua~Ee0u:XPmOVp8@|T[vY#Lg=~&m g0JF;%)ԁnH,:" u}F֫IhWW%sɯ}*ʫ.*+cyAWHE#$̋(Zx7;_WP;@?; l$ъʲ_,9^QcRuT~K%?)qlU~RM"s4 >YO2h@plFgslmrAbnɇ9ɐ {sWqbvQ"Œ5jͫ$d}lr8 Ip|ւa)2 w)b*POϱQN~9Nq ( 5;/c"1 ]&Ϲja;8šOГq6b wlnm!c .^]~7S(O]/Mx T<=''0U@xfu9W ._5OrR_~wa4?l玙د21x\Fݦwl-tyox8Jm񲫠6HڡK3d۪6}`QD*O^]E+ '5Oj|1BXW0v. g4 5 I=u).986gxD:qM 3{vn@:PovejEX5 Ndu,'Z$_ 3ē>MlOwFaz?H^+9r]`{XP B^2Ab_R H1z9Ч=-3#[wTē@s!9jE˷ndIuGԩYH.OS} gb#pxZ^5GVC/jRl0VSEGyy%̵uN9u±WՂ\b+LNd'fK'Hm!3Ca6hdݬEhwv~?k{mSIt#*<|QzEQ!-9;b0?Oۆf4~;YUkз k.W$nڴrb/Wȸct^9"?f okUt g qiG{ԼvO7*+hS\qPEKsxj6kA큆{ʲvb&6-(Pa%^ek_M$s*E+U4@@V@🹢\X9QK2;k1Fl7"fJGAC(ـrzk'_ҳGB3'9ߨ󁲢БNG*ǚIqD4+ڧbW|\)sb\1n+oN>0UouE~7;VTc { bCῼ9%Hii,PY|V'l3ɬEi&~mY n wi۪~[+:{4.&ЫGuʶt 1zᜅ2ݬ3"0f;-^<&F>L> CV_/8hw>{'C+nk11Ohz"6Ro2k ̑8` E'SeCNl81'o8ǏA%`*.Ψa+Ϟ*d5Jh{Lw쥿Y(vgY9^ 8l6TMn g{?rC y{ynnF+d{ uXygz.#o9qۅeJ5Xԇ9=ʍD!9[PzjâZ9.i446#bI4Gdq>c N&D7 mf\ZUD)>_^3rY9̳LyUWK>l£-3ϡۮuaqQ"q&+x>rQ@R>49뤚 o(mՅ&0֢](l(2n>ͽ%!{m@{y3(s$wV=y ZVBQcWa;tkSn}6,/BN8/Oc2D)I kZ OT[QG{7 ؐGYH \$ Yt@vZ ٺ!0D: `۫t}+~ Ձ|!ZjARB2U9uOn 'W9u{j@WQ"Z.29cC?UlFĩ'!!rX HD# _[ZN.>:Gx)of%5B)Ї׆-"džj[(^$bˑb=KTм&Sj,Nժخ!gi-hL*h|^N8f3b^Hv)B,&* 2Pb%@1+  )>.iE*M'付/y9v;PWW9/Qr0ԡý /TOC/YBc&mי=q80)rd._'Wf8"+fڣaKC",^S(0Yl {EPν[i0)M* zUh8Aq8w-5Ob䁄HBgHwaOrBfk`bj)~yͮýAdtuSIz-$fWR5ɐWթ"xX4߁~=u۽|G9zN}mOƼ{ȍ`º[YpCE[= x.aa%i# *)ܷ  zt0 D^ޣD=zd*c†e73]KK)qbMRbه0p&TRҗ#Lzx)r*X` ,-rX`^Rt5U*1: tpo1+~`n|23wF)D/ Uwr9)Di@]s~Mv Q;mOH }*b3WB]5c4j|A`'sF{}3fDq0º_ݹ]zt3/qf~j4V_(^\ lB: C XQnɓ'E'^[)]'P<p[2 a0\ƽ!jD[5t2D!S!,'Uq~4Iʢ?cN-#u6hOη7Ͼ(Dm3Ukbc endstream endobj 1248 0 obj << /Length1 1492 /Length2 2491 /Length3 0 /Length 3439 /Filter /FlateDecode >> stream xڍT 8ۏĤ_X*o[ƐB]%i373Y T֩YRJBȒ!GJYR0mK]]s]3sޞ{<,(@Ж sF Op8} G@^~> 1፿ I\„GxÍx8@ጿ썀5). ڊ gCA4._@ t Ȇ$p!qi H&O&῕2qXlXX` 3m] CA 02VàЀ | x20"0I Ogx GB#v r60Ŋ`0bdñ  3`w  C!q|IOdˣZ#Nb@[р Qo/M. 1u-XA ql!>Hqd<7tF`ЍɁ^@+!m`22'2 ٤paHxD?Ob\$@L6jJ,y5oqKA?L"hȓ_L#/`X/&Ҍ5of#gw{A>HF=d7.B9Lo`a"^$;`=dfRtBEáoVwn֏GG=:*qEoJ%>튘eg9ڕW7IO"Pkz[p1yy=Xґ~3Ld G4(¬ΘkNkiN9߅WO|dN+=\fp{#ݼvt5{zܺaI8y}i]: K5E7xLl֋ғ~%ʇQ 9t'r+^W4>&8#D]Ph96}R5 u',{@,5#6dy#r\SaӚ'k >.C? |S=W7ĒtVFDfDq ;x$O߯zprW>,/Ĥw첖&>I' 5(hۿ h=t;d8o)ûn*}AƵKr݇n>||²f:|S'W(ͽ'7A+y[ה(n 7q4h{Dv^}/ͺ sW,N<;nj}_I[ALaR ˻x*2X4M\}+n5>Faa)F4WukBVV,ѓ7ݱF\w˶NSa#OEO|iG;ŨzʇgR"6;g#qϺ<"⼌ʽPmܛMAccꁢ[j_|~*@8ٗs};ϡ/9gTZӒϐg4D4Z\.?}h([`k> stream x[[o9~ϯVUJh$ 0 L 2!#H3~*tBq*v8=4$D4Da&"x.&l<9oRKl<;?h|d/}`B MN,n+ V ^RPҦ"\b2TrɆ׾bرjX<`JWPZ"A;R0#EE񸍫Z &.k_1WRM`'Hdބ9 ) &}`j{NeDrosq&F1/2-QYu+lbQJ\MrU& F& Ә̙LJQ@R)roe~ &Zir e2 #T19P0 9əX(\,X*E0+&ZcP‹Eb"b{. ygJeJPY$t!C ^QU4)x9b:9B*9@$cEJQI tlaQI8+""bi/"r[-KeL8'qeH-diI\?Tݾ93]G>gosgK^m0/'?1U!y$lVcn6cyp~rn6o|n^JqY/dk9īq!<6c/>G d)xio^"Wp|f6_DWx6׿ "7 7GAP9?0/̫~{"?٧E^="!s%z#?Xkȣ%l b'R'r'J'@D D;99vαssS:99uΩsNsS;99wιsΝss;9ιtΥs.sK\:9ιtεssk\;9ιvεq~QEl@OTm"{ ;&DuWfaL%ۂҕ|q5RD!=/-U2.NnVoL&騐m1NmG̮Uu!F}߉i!LK3zhwKa2[ 3x与Rg8b)ۥӳH#$9L eD5cb+kf,[ )[xnMKa:[d1cuMl vJ\FKl2-#êmwbV3[o 2,9(Pm3U-)խ2WNZs6:+R?n=/Y a&*FbbsX1bpևF+q!VN-6Td~f^3ca$:We&:olbU# e'sҫDa[Q<\j6euSD 䔸C"e}֯F6agɍSe:c?J)RD8BaNފM#R\ n8li+n<-2JH),[9Y᥂eO]ӜJs7#ݮɴrh ޯv + p䔲1.58ʑakD~U8*c6S2'+-?rfMTaa.fJ9IuΪFH֗cDž&I74iMOF4FJ1iЂH-d_֌=rUT[DK!a󍾕K;Q`+\lyԾHfMuCؙ腖bEC 䁝q/b$O&O_񀏿 ϫI*بrT68\3xXW[2^3ckfZdv4'GR#&il0[:\EQ#K,1'9u÷ *TbUA*BdR*T4訁VrO!ҖKQ6f;ڲ 20iAkZ͚w:\F[l_b 4䵹@k!IL=$~t9ֶ! tJOGHk;L0]vv*[kVCzʍJ1^Kr`jSMt G)1*6i|}skMp;\K]IO9}HzΛR' @7wڎl׃=yS5^i 4Z[:yL>[ն^}_\zyLWGunb XETHZL=Ʊpjށ;o_벃h*蟩 >J/Qy]W~mB&W* +ԍoV_Y^D?yMUdZ$xH%пoitgU.np3ڄ-{%KOBϵ%TE )z֮Ŋ|xyZ;oY6QAɈ Z/iTbvm{Uqt EVCNZ'La)lL9brKY̤ ʯ%ԐBt"˪".p#[vgjF1$o< d~ҬWi[Ooۮbp)ڎkBZ)}zݯ9ɓ׿Op|{z~2 D`[!|z#Db׿{o|-io#(r햗/^· _6do| 1a'j_:cɃ#G%\^!~~>pϘ>cV=_%'"6*V/ }#_dkãdNgG6;__ۇk>|> stream xڌtk6FLFcjNc۶mn&iM5k̵y}}?%*1P֙ *`ffcdffETt-F::Y@h 9l2.6 '/ /33 ybFyF- RMh,<<\m&Fy#g (5@LLnnnF6Nvhnh ` (jNU̜݌hp5:@rE{_r p{Og#;{#[K[s5(!L05ojdimd 2@BX`*L-흝,(0.ۚm'f4݃鯓dkf7055S{&u[K& o9:&LWS `*ci x9Ύ.@+XX&c- 1/ :|GKw.3hX|/S;[k/<_sx1pXNn(YM/&_׿ՠ7hf#<Qo# IX[SQXZ{mYgہjZYyJ;@6Z:IXM,M,-P;t27@ Zf53cX98FF̠1bxmA.Pu>3;G?$/ `L7I70L I7b0IFl&]7e@#Pv] ʮ+F*(o`R@\#E7eF KhӘ@d D1s-gGe7T蒵)b2%ACOl^:1O˞[UjN}:xDST^")2+^e%Q;+94`"LŤ +tK TAo`Ni_)8Zڞ研Mx.铴z'Mە.NI-?Xн4kSm5c D.~S_4]N7Cwq/[Ԑ8_`SH۸ZXDȪ¢#zvA s!^UkԤbژ;ڑPn>EW〞"-7KMaA1i8kXcYc) }MPr3Zݤ"|X?y]%;47qgLeuNzZU#m 7e1XX-A%~i826^,p'|3'엡_7SDfuvxf/^$*Kz%7֡Je$0܅KZZ\`v^fZ%[ns/,hVN|C1? gTME_u'M8f+IUÃx-i_Fo%v%neYQUe@d®G9oma1 X K4!یl7vUH'N`+z0+dtp|h(z܆3 AfՊ+'ȅҝq$w9&ѧ\-nHY/ J $J 'Ĕ[*xwqz8\0gDZٍsu^%XRM]4Sck̊ ll#&wR2 --VP/Dݽ8Fމm:y~ᱝ !d;GAM`ٯPSz_ Kc\Fpfd Tb֏+΁gxxg0Dwd@%;v9ǿ;׺4t#Xd%[Sاxn|m}e OǞ/x|YR ^"X;.W8dyk)$Y쫹#i9XS.Zf7ˁnÒ4 6Sm.Us9Z4v=Y?rT 4 Qw wgEEǗ*9+̬luj~VV"ʑP/ .!"h|k+|mNIUj`82[ʿj3!UYuk#H]W>E[ z)}uX1g`@\;r|1}l;S.AFQDAQJ036O5ʑ@[7::@զ <=5 FKN4X?\B(<۸жDAr3-=SVon;}P2tR$=^?%mDE,ϻ}3Vx=޵)qVۨط_'c)շ,#gF0*cb Yf}aE9!qm9) >BFܷ`h "$)`@9/+l{Y9<J*XfnkӹfK} .p[k$tΚ@(8gEqOA@NiapisvRyq/AkWl*5Bst R5G5Ln;@qz?,ey32k 6osjoZ [Jp_#2Y2W;Oj'lF̡8̶}Wn $/&ӯOx8}ė@N }݈51JAjYkw6#`ϧ$ȅ8֭u$EZ,H~dzgQ;ҁXڤ)2EDnf #>q4b-n:_ Jq嵂Ί0JPԉwl0Swzͯ3 [X: <_j}1,I*Q9UBOw sQ!!e+MܚE,FjMAͨ'#XYO+}k]|IB$S{#@($/И݁s"'3jZδnjj|":aIQ)mFA^vy]b_w:kY4fYMb 3>'ɰ`0j!i|o(* &1)^.6Ү$a,y o\FTZxf!_ MУT0tC߯ _DGx[m["\]|zJP0)YK9tPc۬Q9khw\.{2({ 3f[hpu4s͑m{֩ !xZ0\Ly%O6ՌL#eUM᷾'sf`IՑ%ϏzRf#*̕c"ycjݿB. %4Zw<ؐR"եՕw؋$)DFX%EbEnw4vU'uתoCi|F,Q.aCD*|^5* /|Wm'C`;+ZۨW jܯגGI3tVsV~grOtu37"c5kf=։>,61lj[vrU,/љj{ \Dj,hC"EZ4; vSQ;GFd릇1w\b0jy6 j3dycy=Ɣw5*JbIKbϊbmzb5r$PL Pe/F K+LH#aC>;(vvVPJR u8yTW!z1Ds|2EuJs+莬 ل|1=C`gzlJh#3vpz x׏̓?NjLb?qux)$UioIYo˜!s;ԵǓE@)~| 80",JIB&NOЊ(/m>m2c䌋  .PU96Uϔ!~E'BhؼD5F6T[ȚP *yAZF J Y2`2|sc:-l4F*.ϫwzPٛ$\p4{u =o%iGQKD/6aZymeq{yx,w &HSX$%j0[/\QU.(^Y:-{X&B+=[sfLzlh6g&Ƽ-xx[}>7(ҏwpɚ״t :Ug;fe6Kzo|PDvMzIRUuڐ[> ;T]Dp(賯n[~42j-}OHG SSu/\'Ӛ M,ƌyƉGh(' #Vp_8Dxf!fuQUA qԥFzԠhNfQs+Sa7w׍͕u%w Jk!OǮmdj`^no.T_-f$d}_9a,dFgߣmԟNLל8E97 mQA*k'ڙL`dq vޢ\N02S>{ɷ"Ug(ҊTYJYw ]q2XÄ/$1n'=8LMjtK^ y^ >\i!H:%dH8ʢTN0.K2h+a_$gzv\'Ƥ +KhGTB+kՂdh%UPĕnvޓB#|[|zr鈧 QIs{dҗ'h J a! =mƌANlvZ]|9;s}19~qGCfHu FDL5>G8ȡAAQ?zJ1a*P?rbw@igUxi)2+JL&27&Y>3d1p5vWF6/"}L&B9^d?[\g|Dai`?O>Aٱ:/eHx2aSZ ^"o Wz+{sBܱWIsOczϙg6; fe޻U\:t+n*,ݵ'"|̒eJFnBiK2kygv=o#֔H;P3Ag{o: NPYcy:[Wh!@?w\#_w^l 6nF<.tC (}n%6ڿO_G؄xn2!ܱ.>FppmZg&o)H$ߝyz])ɔ;\졹Ed0cUde}N_:ZeѭnL.t'f6W tovhyvKhxͩI!m AH5bK 0<jFEϮF.8w[_ˆ6Ya{8dg٘G+g+j45TPRDS5ݎGf\9emE.: T^рu!<7_~r3\I㋢ h(YYC2}:T_Asؘ MO\&y_?- 8^g$π?cU`;Sup߆μ2g2u0yhQ?X{u%9v3[''zhHsl*B* I#Yt> J.|⩩P޹M\ n9b6_n<2>{_$Fyy9${I; ֿ9m7-2%r\:X:$A-U`|@F/uw gCw>$]7t{pkެj#2\U^`lDJv"z_JͲAy6$\˒SC7d%h( RWcџKj9sD݊#D Bl9*W禪+' PCbd2oVn`pq] 7u'tԿ߆n9+ :KEKs1WS|sv>8TpNJBu Ƙ(kd9c2l[b}B vP 7yw n4WÂW܀һ;=F\?%zy͍MوO_ol2QԝUbɈ0%X<.+z]cyl q̦;BR{[%ˋ\5>\%_ \~͕j [҂:ȗ/NʉM{fz` >q5Do*soЯ}r4\M0vbD)`c^ȇxLpS"E[nwP!b>s<>ޑۢ#E"НC ea $$ {Dˌ z6}ږAyc&;^W 6̼)YU|#flMk\A{Potu6?˴61^ o];B(k $rg`wq̀UƖMl@ E4Lf+Vq 7 ҙkvɠ`H}DXw78]i'fL+R]l/Ev7_.^ay?[Q☄Bab\At!L׈<0k$&NS;;^,MƲRo.:= +"rvl{4'nm Udq:Է=ZT3TRwuߪq^0dyboSE~z->mBKF:&Aѐu^1{rj/r512ÈJq|ϫ_LT@K:UH,5rFV KR(rluna|H7+oD%*8KM05x +yD`*N(GZgTE_ZyI:Tr(gZ3KّkJ|bяg&Z?mybH %4 Urv@ğVV59g,F\ .7?J'Ah'Q^:`e,NRӬyt-uPѵt#I ⨹=B R i~R5* ܛS4NJTшwh Q̊NT \(F}l3Z曰 me TȥyT+~B0fнL.'/dSI ĐR`GPŷ(q:C&z+%FؐuN,E.GaE?LD٘B~pGF*t9]&qJKRʄ&!JJÒZ/,o=[7|Ndb Q I3[5noy&qq6MMsۼ:gdž ׂ+BW|?-%p0Bu@yw Buot|l!IH6ݎem4V冻YYb!>axQ6nR/MJ[J.Debg> 6Ü؉v_ gOTB1-)8J< `M" -+r}CG4 |^Vz90Xt8dtc0q¢jeҭ#QxF%ITp 4ï2Z`4&rt.eV휶#R2^9Q*7 pps;;蟧n;36fk+o2<5Ԟ 10_Ϲ_Yt'FMqFO#Ey< 3pͬw+V _*<.o823thhY1nfc0ƞtGS{tQԭqHVeL>m(LGYW*iJr_%$ ~g5A@Z+lS Oüw;=&+bN5z^#VCugĶ# (lcb;:6Nl7sI`_܍Kt9dO9a nle2._8*"!N|<2Ye?bUqnDj!ޔJK~]v7%K>ͱ\Ьza Q$l-owIw Z_.f>ǂUI4ҸJ)aGLA|vCŀD.SdNj٥\hkffe-\5"ٽ?nzmܳ( )Ɠ8C x"^fܱ777{l煶 \ǥ9`__#Fǂ*!T҈Bh\3'O1RSȫK`ũPrA<]L^^`A2! &}L"_>fQq9x#Ze:fP$SS`j{{^ IU[ [2~J#9ܩOr>2]eq,V A EXJaU컒9? V%f&VGgQHnr\DbQrpHRI58A_WrHC+/6lx8{N0bo tF`$*iԁZȇ')? F:Ҟu~ h mjN+ԣV3͌>R^i` 9YhkӶ3Y䮔}bW\]@~cҎBRo9\l6s ~6HIZrsbD?tN7E*HڛL'UhJ(!TGcctOȟCƁwYV{&.œ__avz>FA3 \;ו$1hI1m:j%Eא*몼((?/62I_znyRTG:ֵ<.[(sjbɳCնtR:;$Thbi!&Fwt@?dcj_;=qVg.y5v(q^'k^5l;W ȰΈvMqqg}\Zi:~E5HNAmצqN\1BMNև:v,so'kl%پe ^iȫu>lCNBмO0]~;~Xۜ]<-Okq^lT>C0Mݑ‚| e;h(6^O^t 7_l&ruj8 w6i(IoZd5'q2(uBVPJp~WV|Dm(>/ HNxqt2=AF^t) S|F),{G֯q ,ЉSN3ČGw\^"#B}0[P͖7snVL,0Vdzn;s{V]ÖۉlQJOZo$6DueC) yt1/ն7re8FAki O kxg_OF!1~&Òe '}TH1۫-2x$Rx/)KS2h|Nl!F 5\p*v]%ۦ1ޒɧPtdg-/Z {,3(]gH1y>,m:e"g!qJ%`e%C.͘T%߇ 0y~͡vI۹Nwc<Qb2Nħ4O3j L?u3[4djFƃɱU&+o3iG؞a/j_OnE)NH<"9uFm -p/PP=cxxދש8AF:%9?;5nռlkjttA3jMx+"^TDbEe77,^|£֚M}°g%<`N癷p^_k!)'ˏSs]Ay޳KyMW(@LKd5E 3|O2|"7үҐ ׀?|"(,kg]WC,|{$$~wɋGe|ANmŇLj΃SL& Il}`ٛaT1ڲP;u$IKa ;U weي%ygCGLj!k_7VP/fc(R\>~}˅y[9v7qAܠH+UZx-4L <;JE묏F臛D' ~*b쏄l& `ܿ5&Qȯ)?ل u[BBstULEXK!p]#dgd z2[w6Ѵg{"Y4zݤse5w(_Kla F~-ufIEP5ϔfُ'+N~Cp ^y?Sn=IEΝ$i9,cWHoj`:"TYzncɳ=9a~zب#"EǴ* yO뗤Xؽ#㣓l)Q5ڬ6%q+xe/p6ysMǎcg0,^l=Mᵾ\w@X9:WVbc"zpcĚ~HjOx?wBBybC&@F<=p&`ēCNZdL5zɄNN~zyԧc2̀i)mBb"b`&eMq||ѻ~C,qch!|ˬBmC>}qxC=JUK~a67bfZ\=v0OܪV!%bx}qK\hE-E]N7a\[b W1:*A((cg/t4HaqQf#bEu{Jk8:<.*_4D&3q !/YbMqS}Xe`ȹdqe%lb߰^H,*jq;r1%ᓜ!qe-|pr, (z5#+ÂҒ7NvUZE)FЃKV[x3=RzӁ5]#wDgu/E].sS-y3 i,60!;"?y=w}ꆠUhHjГykeaYޅ7nщU];:]z2~pJo˟$4j)rd>2\0)A0fGߴ:_Փ-o3;U"둦?yʥԣS vX6(8p}r"fW0zT9wݬhgDHlKӌF]:hykn6BLd5z8[Q )k* m t~"BLܤ>$rZ݂"WQF*r)nLEO\0ΫZ`rڴzM13.֨҈R/V_/~SyNP]k,#d)$s J]͙Ƽ[KJ|U+eLqWԏ?Jع_,De`n#/.^mE珯 GdS M՚!\|UhXn #SI# dĩ"xNg0~]Kw$ Ό Mo +3Чr2`ms q;wPӘ5(Tc;)Y؅7ׁi;.ԒLbv\5Pju<;Oc= YN VqI\|!?Sa`x) Lmit7䎹eHd3[7]3B |dY3Uk >/d=tA[ aT Y K~P 5Z5I?fbTV#Xfv9T_|{ >z\^ ҲRQP),\`@`bP]b=$:ۣEK_P2[fْeu6:Xx jCUXe׾So-g<^Dr7MgA_Fg*PggBX!V/f%YU]lUa bW;3Wi,Wx-nd/˴'O܌7y ~ִ%\̔px]ye`-M} +hcfRZ k/`ܣ.Kz LQ74TĦ50vc+^y&hOmZJeB,s6$,ը,n`FSEi࣌~BJ!֭Hh~x#;4yߔZ۾hމ3e]vˡ:GŞ;V@pS lN 1rbM ht,Eޡ(u+PS+A +i׻nFR.Sk)j s;MH $*ƺk~"ƻ] N0=D"=%]w%$O|P"W}qgǻbB{yU!O1|BZW225]l 2%m!iiD+#T<Ho*iL@=MFB&483Gj}:ߦDThc"y0{l"-{MP,DA+׎eπ>'c߬%o$ L4DQp0A 0Cp.k2 x~`̴࢙gcݳ-WߖQO`eUsz{Rz!܎JyHBK*C"+Uuqx\iAqћdDbH& 墺cmL]Ckb|-Q> stream xڭY]O9}W[DHBlh%HY=nW :N]{)qbPAkeCT.+"T0VE=H lRØYY'f.摢=bjnQMJ1\)$ÍMNYZeX : 2V[`nv*LFh`'DUNT4%LD9V,83Ӭ Nv;*lCNJӓX#,n$㈏G,gs 1*aj,&?P1"F,u왑/ΞggvPXyF ˞"-#&F>x$d"SÅOǨs20 x![0 9,] X0x0c q%LP`H`d6*3T cI4L%tň4:t)?J=児|Ds*1JQ*&QXT&2@q5Tv0Z[:lj0zzry?Q[x<% Dv{vqyչ?jg^b20y}٧twB/fB{ܜQVe&FLhg`e_QL(C*zoOxC^#/]W}sBJڨY~&z|էM|f<㝽LprM>|#?hrkxӵ"2yS9:3VVoQ߮wwgBfS"I(7 MϛDž¨kl]7FG`4;m kUlUÓ/8'|2>_?W8ٖQĩ|{زts;^@\z#WadI 0uZE.7W:4?cqji8\\ +Cc/ν8<-ۀqJ5ݨ\Syk?R]^R]fˋL^d"/2WD JIRu^ct"K(\Ź>DVx0ܔ⃽[] sM\rpO eQƩD\KUQd"W\ W4yJ]ReQ+iw$a*nȒD|^94\\{o@8ħXM,ʔn͉S!4ܺMC?4JC[I8dqxA_ LVD =%Hga\%c!K- zr Ϧ7$>|yW-p)3Oo~^}; '=ąG> _`z2>S^[y߫78<9M1.G~pwe::z6LCZ' Q 0Cz1oX7r tı&ŷI@woօb9z1q$lor"HcMeeO?PK/c_gm5 vO&Ú7r/00gR/ﬓsӺLf5yN ع%@jkKyK4 ѹvtw5 { jCyCj]S4MPSm=} 5ܔSxi#R #ugX_[k65z0Y_mug'kFh&?,u endstream endobj 1323 0 obj << /Producer (pdfTeX-1.40.19) /Creator (TeX) /CreationDate (D:20190802133139+02'00') /ModDate (D:20190802133139+02'00') /Trapped /False /PTEX.Fullbanner (This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) kpathsea version 6.3.1/dev) >> endobj 1259 0 obj << /Type /ObjStm /N 71 /First 704 /Length 3372 /Filter /FlateDecode >> stream xڭZs8~_CgEɛIi~tvnv2$ږWv(LIq)) H"2i$ QH(X:Ԕ=i"-@q& $ !f,v1t$s8Bz{)IP1Ԧ,pn E6:JHpFJ$Lh6`cp"@ IԳ"`&T?+#ƈl:RqGiDJ)H)z)5#i%1Dxd'TxRz]DF dYf(EdG6F:e,"+F@a!'Tlq1E~1pCR RWQlcAi-.}c+B:AgیIW1z U&Vɑ/#X3%HG_~yYP1)T͛a(᧬Wv^Ͼ*2(6k+bi7MK`iғX%KLa)"/-2X%Ԏ{5ɽqW;zmc[p&_Tu"ÙN ,}+b6s-:OoQE?M \o1axA͵zbY4q+R^/pGL(im-0ggf߮G)3vU1\3@ٰ$-ۣVZ>HK@46z-e9x`${\+AF/` p`(0p#!&g 0QKO0McpOKb5xb '&l}scx)D`0d `,+C@O5 _*_4`HQBH@N oРTIyŐ' SoS@$T",{ċưS) c"jK@ND\1& Djo m95|"*s4ʙF{Xs1K|Hkf ,0JRRLSB70IX $>Sp@y CRl7bf`>Ck@u<4h|ZOa0 >ь `4}{ Sc0"1"ǰw8M|Aw~c{M;pY<,dٶ8,d:l`7 .B<2f1$KI=CJC[C]@',09Br|9>qxוDÛ.GpD\(e?/ :}]/|/ͩ"U4\=;Vq(Kb}y7P lc_/pݦX̋Wjr.7,G[퓛˷@P®d}67YS+t'rW"[fYnPx j'*7 xqЄA';-<_=2Cd8̱R,jQfl2[[Z'PVKZ}VUe ~^=b 1A[l=<z-[;Nۼ/2BupY`naR?M1P<-[MFD߷wz]1oCأ"ݪ,2prϏ9t:O<;9= W,U҇\S5%Jv*`5e\nYpT_[4Vu!5P̈́X,wm@igE'Xt]412;nV'-i:@ )lUkK&*+j:S锌TLPmQIuV׸ W[dRV}G9ƁoP`߽GxvJrQ& ʳŒ́ x@ZfۚWև3Xͷʸ=>tE,N0:`M3* 8qV.$b}zxQXR)1;8n$*T6 K=xh8Ҽ7퀷cw-SڳbX֭4j-p`;r Lr4ᚖ;h@uB7S7(U lRL)Ǻe2f|ב$VLmPmQc7v.$ 89. HlErAL]$u>Tu.fZӽ:y a8{ ͽ%n?gN-&؃Amwmnۭc4o{#N=t{hۉIj;ÿs@/# bM?to'Ed-MXWT9↿'}#X"6gw3c]t˱>sX^F[i yx?~jMy偣afêg2k;^i`>~అe ;g9X6>dlZvвɱl?*p>tc{8~9_I}Iut Ŋ^ +2N،A4{ڱ;8ܱP &G09`^ !:swΣOh#~ wK>4Υ~{A_wK.9|sGGs endstream endobj 1324 0 obj << /Type /XRef /Index [0 1325] /Size 1325 /W [1 3 1] /Root 1322 0 R /Info 1323 0 R /ID [ ] /Length 3222 /Filter /FlateDecode >> stream x%ylWF[IYٜ8{,Ngqb;U**­ JTPZHYC;]Po Rb)*myJ#T$(PYߛ7QE(j,vHTE źTIZa*6Qv+C1ԃ0 o.>V0`!Xb,`X:AXVU`5XւnlAz A28 &**@.'{`v^}`7}`?8C 8 ApC`Em"J<8 fj\8 -`)X8WP}>PüK yuʳ$)plL< d Q0FL:j(:pl#:E/o"+6U7T>H6C ";D6MQ!;B6E՞T'5dd)!!#{<Ԓ#D.́~p|l"=4̡iէQ64Q zmh/hy0"/6ЉHaA#Wh@Rwdh@?~XA(V%áx֐Ze"#C&+cDP=EV6& (0-dj:XOmdyvM%<$BF_ GvNaM Ea2}`<֐ѷ#C8Dwn  A_tLMY f^p XeU &2U$8f_Tq~) ?b&5_΢wOo/PQ4^j' Au0WSfW,~5Uj̖|@ج3+ :Tfߺ" Thn5OUxݰ*_i!e֯ЪZfqoj5*AEj5jP]n4j]iNey>}FQ k-jQ+XeW4U4ljLb-)zU[|W!!{=Qd1Ɛk~ͬ*-~*"3U-v2F-~*U.X|FSyeo~<۴ſyOI0PbXUlPk{TJ `hs,tK#h@U^V0=B[>«RmX߮,[kA7`V 6X2j7M`3[@/fIKo;43d 4 K-lV,%MT@ pĒ!wh>zW)%NQpʒʘ&JcE,9x2fSBiܒcW6d2f4_μjȒ_p-pIS@uLR:mU|yܲCF4|lɭ,sZ0oCz#rU,hx/Ŀ |#*vU`%w irdW[rO2-&pt[ro d7ZTDsKSW-yaeX{-»v,y}ʴ0nb?k[U\9,p#y*"H%1KU6,]rɇ, Uh/%O|B~kP7tZ[`N~LX\j%D܅%?)T; )J-+.5,P*ԁzA՜Wn~0 ,-Ƿ ZO]rn_{ub,@aV`X e-zl,yQݷ-`+ [O`'Ao/C6~0#(8 -]X} PC`Ke8 ΀`Y^&6K\v\ߋHY^Sre{@?nQe(WO2DXؔ X0,ÿlTRJe(Tz 2lʰ)Cl 42D)C Ce8!4˦dl2C^q EIǺ֧jqp~A `c80pmvuD>SDZ_J uLOn-@{DS&vc-`+`'1;f!y Qq}:nn>Gs7m`H9]]gT{pد:6hq8lpH]E08bp9- vM.Yv'=',o[R<x ]> GNU SASL API Reference Manual for GNU SASL &version;. The latest version of this documentation can be found on-line at https://www.gnu.org/software/gsasl/reference/. GNU SASL API Reference Manual GNU SASL is an implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms. SASL is used by network servers (e.g., IMAP, SMTP) to request authentication from clients, and in clients to authenticate against servers. GNU SASL consists of a library (`libgsasl'), a command line utility (`gsasl') to access the library from the shell, and a manual. The library includes support for the framework (with authentication functions and application data privacy and integrity functions) and at least partial support for the ANONYMOUS, CRAM-MD5, DIGEST-MD5, EXTERNAL, GS2-KRB5, GSSAPI, LOGIN, NTLM, PLAIN, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, SAML20, OPENID20, and SECURID mechanisms. The library is easily ported because it does not do network communication by itself, but rather leaves it up to the calling application. The library is flexible with regards to the authorization infrastructure used, as it utilizes a callback into the application to decide whether a user is authorized or not. GNU SASL is developed for the GNU/Linux system, but runs on over 20 platforms including most major Unix platforms and Windows, and many kind of devices including iPAQ handhelds and S/390 mainframes. GNU SASL is written in pure ANSI C89 to be portable to embedded and otherwise limited platforms. The entire library, with full support for ANONYMOUS, EXTERNAL, PLAIN, LOGIN and CRAM-MD5, and the front-end that support client and server mode, and the IMAP and SMTP protocols, fits in under 60kb on an Intel x86 platform, without any modifications to the code. (This figure was accurate as of version 0.0.13.) The library is licensed under the GNU Lesser General Public License version 2.1 or later. The command-line application (src/), examples (examples/), self-test suite (tests/) are licensed under the GNU General Public License license version 3.0 or later. The documentation (doc/) is licensed under the GNU Free Documentation License version 1.3 or later. A conceptual view of how your application, the library, and each mechanism interact is shown in .

Illustration of separation between application and individual mechanism
The operation of an application using the library can best be understood in terms of a flow chart diagram, as shown in . The details on how the actual negotiation are carried out are illustrated in .
High-level control flow of SASL application
Low-level control flow of SASL application
API Index Index of deprecated symbols Index of new symbols in 0.2.0 Index of new symbols in 0.2.19 Index of new symbols in 0.2.28 Index of new symbols in 0.2.29 Index of new symbols in 1.1 Index of new symbols in 1.3 gsasl-1.8.1/doc/reference/html/0000755000000000000000000000000013521017733013252 500000000000000gsasl-1.8.1/doc/reference/html/ix08.html0000644000000000000000000000352713521017733014657 00000000000000 Index of new symbols in 1.3: GNU SASL API Reference Manual gsasl-1.8.1/doc/reference/html/gsasl-gsasl.html0000644000000000000000000035242313521017733016311 00000000000000 gsasl: GNU SASL API Reference Manual

gsasl

gsasl

Functions

int (*Gsasl_callback_function) ()
int gsasl_init ()
void gsasl_done ()
const char * gsasl_check_version ()
void gsasl_callback_set ()
int gsasl_callback ()
void gsasl_callback_hook_set ()
void * gsasl_callback_hook_get ()
void gsasl_session_hook_set ()
void * gsasl_session_hook_get ()
void gsasl_property_set ()
void gsasl_property_set_raw ()
const char * gsasl_property_get ()
const char * gsasl_property_fast ()
int gsasl_client_mechlist ()
int gsasl_client_support_p ()
const char * gsasl_client_suggest_mechanism ()
int gsasl_server_mechlist ()
int gsasl_server_support_p ()
int gsasl_client_start ()
int gsasl_server_start ()
int gsasl_step ()
int gsasl_step64 ()
void gsasl_finish ()
int gsasl_encode ()
int gsasl_decode ()
const char * gsasl_mechanism_name ()
const char * gsasl_strerror ()
const char * gsasl_strerror_name ()
int gsasl_saslprep ()
int gsasl_simple_getpass ()
int gsasl_base64_to ()
int gsasl_base64_from ()
int gsasl_nonce ()
int gsasl_random ()
int gsasl_md5 ()
int gsasl_hmac_md5 ()
int gsasl_sha1 ()
int gsasl_hmac_sha1 ()
void gsasl_free ()

Types and Values

Description

Functions

Gsasl_callback_function ()

int
(*Gsasl_callback_function) (Gsasl *ctx,
                            Gsasl_session *sctx,
                            Gsasl_property prop);

Prototype of function that the application should implement. Use gsasl_callback_set() to inform the library about your callback function.

It is called by the SASL library when it need some information from the application. Depending on the value of prop , it should either set some property (e.g., username or password) using gsasl_property_set(), or it should extract some properties (e.g., authentication and authorization identities) using gsasl_property_fast() and use them to make a policy decision, perhaps returning GSASL_AUTHENTICATION_ERROR or GSASL_OK depending on whether the policy permitted the operation.

Parameters

ctx

libgsasl handle.

 

sctx

session handle, may be NULL.

 

prop

enumerated value of Gsasl_property type.

 

Returns

Any valid return code, the interpretation of which depend on the prop value.

Since: 0.2.0


gsasl_init ()

int
gsasl_init (Gsasl **ctx);

This functions initializes libgsasl. The handle pointed to by ctx is valid for use with other libgsasl functions iff this function is successful. It also register all builtin SASL mechanisms, using gsasl_register().

Parameters

ctx

pointer to libgsasl handle.

 

Returns

GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR.


gsasl_done ()

void
gsasl_done (Gsasl *ctx);

This function destroys a libgsasl handle. The handle must not be used with other libgsasl functions after this call.

Parameters

ctx

libgsasl handle.

 

gsasl_check_version ()

const char *
gsasl_check_version (const char *req_version);

Check GNU SASL Library version.

See GSASL_VERSION for a suitable req_version string.

This function is one of few in the library that can be used without a successful call to gsasl_init().

Parameters

req_version

version string to compare with, or NULL.

 

Returns

Check that the version of the library is at minimum the one given as a string in req_version and return the actual version string of the library; return NULL if the condition is not met. If NULL is passed to this function no check is done and only the version string is returned.


gsasl_callback_set ()

void
gsasl_callback_set (Gsasl *ctx,
                    Gsasl_callback_function cb);

Store the pointer to the application provided callback in the library handle. The callback will be used, via gsasl_callback(), by mechanisms to discover various parameters (such as username and passwords). The callback function will be called with a Gsasl_property value indicating the requested behaviour. For example, for GSASL_ANONYMOUS_TOKEN, the function is expected to invoke gsasl_property_set(CTX , GSASL_ANONYMOUS_TOKEN, "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters.

Parameters

ctx

handle received from gsasl_init().

 

cb

pointer to function implemented by application.

 

Since: 0.2.0


gsasl_callback ()

int
gsasl_callback (Gsasl *ctx,
                Gsasl_session *sctx,
                Gsasl_property prop);

Invoke the application callback. The prop value indicate what the callback is expected to do. For example, for GSASL_ANONYMOUS_TOKEN, the function is expected to invoke gsasl_property_set(SCTX , GSASL_ANONYMOUS_TOKEN, "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters.

Note that if no callback has been set by the application, but the obsolete callback interface has been used, this function will translate the old callback interface into the new. This interface should be sufficient to invoke all callbacks, both new and old.

Parameters

ctx

handle received from gsasl_init(), may be NULL to derive it from sctx .

 

sctx

session handle.

 

prop

enumerated value of Gsasl_property type.

 

Returns

Returns whatever the application callback returns, or GSASL_NO_CALLBACK if no application was known.

Since: 0.2.0


gsasl_callback_hook_set ()

void
gsasl_callback_hook_set (Gsasl *ctx,
                         void *hook);

Store application specific data in the libgsasl handle.

The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_callback_hook_get(). This is normally used by the application to maintain a global state between the main program and callbacks.

Parameters

ctx

libgsasl handle.

 

hook

opaque pointer to application specific data.

 

Since: 0.2.0


gsasl_callback_hook_get ()

void *
gsasl_callback_hook_get (Gsasl *ctx);

Retrieve application specific data from libgsasl handle.

The application data is set using gsasl_callback_hook_set(). This is normally used by the application to maintain a global state between the main program and callbacks.

Parameters

ctx

libgsasl handle.

 

Returns

Returns the application specific data, or NULL.

Since: 0.2.0


gsasl_session_hook_set ()

void
gsasl_session_hook_set (Gsasl_session *sctx,
                        void *hook);

Store application specific data in the libgsasl session handle.

The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_session_hook_get(). This is normally used by the application to maintain a per-session state between the main program and callbacks.

Parameters

sctx

libgsasl session handle.

 

hook

opaque pointer to application specific data.

 

Since: 0.2.14


gsasl_session_hook_get ()

void *
gsasl_session_hook_get (Gsasl_session *sctx);

Retrieve application specific data from libgsasl session handle.

The application data is set using gsasl_callback_hook_set(). This is normally used by the application to maintain a per-session state between the main program and callbacks.

Parameters

sctx

libgsasl session handle.

 

Returns

Returns the application specific data, or NULL.

Since: 0.2.14


gsasl_property_set ()

void
gsasl_property_set (Gsasl_session *sctx,
                    Gsasl_property prop,
                    const char *data);

Make a copy of data and store it in the session handle for the indicated property prop .

You can immediately deallocate data after calling this function, without affecting the data stored in the session handle.

Parameters

sctx

session handle.

 

prop

enumerated value of Gsasl_property type, indicating the type of data in data .

 

data

zero terminated character string to store.

 

Since: 0.2.0


gsasl_property_set_raw ()

void
gsasl_property_set_raw (Gsasl_session *sctx,
                        Gsasl_property prop,
                        const char *data,
                        size_t len);

Make a copy of len sized data and store a zero terminated version of it in the session handle for the indicated property prop .

You can immediately deallocate data after calling this function, without affecting the data stored in the session handle.

Except for the length indicator, this function is identical to gsasl_property_set.

Parameters

sctx

session handle.

 

prop

enumerated value of Gsasl_property type, indicating the type of data in data .

 

data

character string to store.

 

len

length of character string to store.

 

Since: 0.2.0


gsasl_property_get ()

const char *
gsasl_property_get (Gsasl_session *sctx,
                    Gsasl_property prop);

Retrieve the data stored in the session handle for given property prop , possibly invoking the application callback to get the value.

The pointer is to live data, and must not be deallocated or modified in any way.

This function will invoke the application callback, using gsasl_callback(), when a property value is not known.

If no value is known, and no callback is specified or if the callback fail to return data, and if any obsolete callback functions has been set by the application, this function will try to call these obsolete callbacks, and store the returned data as the corresponding property. This behaviour of this function will be removed when the obsolete callback interfaces are removed.

Parameters

sctx

session handle.

 

prop

enumerated value of Gsasl_property type, indicating the type of data in data .

 

Returns

Return data for property, or NULL if no value known.

Since: 0.2.0


gsasl_property_fast ()

const char *
gsasl_property_fast (Gsasl_session *sctx,
                     Gsasl_property prop);

Retrieve the data stored in the session handle for given property prop .

The pointer is to live data, and must not be deallocated or modified in any way.

This function will not invoke the application callback.

Parameters

sctx

session handle.

 

prop

enumerated value of Gsasl_property type, indicating the type of data in data .

 

Returns

Return property value, if known, or NULL if no value known.

Since: 0.2.0


gsasl_client_mechlist ()

int
gsasl_client_mechlist (Gsasl *ctx,
                       char **out);

Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl client. out is allocated by this function, and it is the responsibility of caller to deallocate it.

Parameters

ctx

libgsasl handle.

 

out

newly allocated output character array.

 

Returns

Returns GSASL_OK if successful, or error code.


gsasl_client_support_p ()

int
gsasl_client_support_p (Gsasl *ctx,
                        const char *name);

Decide whether there is client-side support for a specified mechanism.

Parameters

ctx

libgsasl handle.

 

name

name of SASL mechanism.

 

Returns

Returns 1 if the libgsasl client supports the named mechanism, otherwise 0.


gsasl_client_suggest_mechanism ()

const char *
gsasl_client_suggest_mechanism (Gsasl *ctx,
                                const char *mechlist);

Given a list of mechanisms, suggest which to use.

Parameters

ctx

libgsasl handle.

 

mechlist

input character array with SASL mechanism names, separated by invalid characters (e.g. SPC).

 

Returns

Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string, or NULL if no supported mechanism is found.


gsasl_server_mechlist ()

int
gsasl_server_mechlist (Gsasl *ctx,
                       char **out);

Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl server. out is allocated by this function, and it is the responsibility of caller to deallocate it.

Parameters

ctx

libgsasl handle.

 

out

newly allocated output character array.

 

Returns

Returns GSASL_OK if successful, or error code.


gsasl_server_support_p ()

int
gsasl_server_support_p (Gsasl *ctx,
                        const char *name);

Decide whether there is server-side support for a specified mechanism.

Parameters

ctx

libgsasl handle.

 

name

name of SASL mechanism.

 

Returns

Returns 1 if the libgsasl server supports the named mechanism, otherwise 0.


gsasl_client_start ()

int
gsasl_client_start (Gsasl *ctx,
                    const char *mech,
                    Gsasl_session **sctx);

This functions initiates a client SASL authentication. This function must be called before any other gsasl_client_*() function is called.

Parameters

ctx

libgsasl handle.

 

mech

name of SASL mechanism.

 

sctx

pointer to client handle.

 

Returns

Returns GSASL_OK if successful, or error code.


gsasl_server_start ()

int
gsasl_server_start (Gsasl *ctx,
                    const char *mech,
                    Gsasl_session **sctx);

This functions initiates a server SASL authentication. This function must be called before any other gsasl_server_*() function is called.

Parameters

ctx

libgsasl handle.

 

mech

name of SASL mechanism.

 

sctx

pointer to server handle.

 

Returns

Returns GSASL_OK if successful, or error code.


gsasl_step ()

int
gsasl_step (Gsasl_session *sctx,
            const char *input,
            size_t input_len,
            char **output,
            size_t *output_len);

Perform one step of SASL authentication. This reads data from the other end (from input and input_len ), processes it (potentially invoking callbacks to the application), and writes data to server (into newly allocated variable output and output_len that indicate the length of output ).

The contents of the output buffer is unspecified if this functions returns anything other than GSASL_OK or GSASL_NEEDS_MORE. If this function return GSASL_OK or GSASL_NEEDS_MORE, however, the output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free (output ).

Parameters

sctx

libgsasl session handle.

 

input

input byte array.

 

input_len

size of input byte array.

 

output

newly allocated output byte array.

 

output_len

pointer to output variable with size of output byte array.

 

Returns

Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.


gsasl_step64 ()

int
gsasl_step64 (Gsasl_session *sctx,
              const char *b64input,
              char **b64output);

This is a simple wrapper around gsasl_step() that base64 decodes the input and base64 encodes the output.

The contents of the b64output buffer is unspecified if this functions returns anything other than GSASL_OK or GSASL_NEEDS_MORE. If this function return GSASL_OK or GSASL_NEEDS_MORE, however, the b64output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free (b64output ).

Parameters

sctx

libgsasl client handle.

 

b64input

input base64 encoded byte array.

 

b64output

newly allocated output base64 encoded byte array.

 

Returns

Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.


gsasl_finish ()

void
gsasl_finish (Gsasl_session *sctx);

Destroy a libgsasl client or server handle. The handle must not be used with other libgsasl functions after this call.

Parameters

sctx

libgsasl session handle.

 

gsasl_encode ()

int
gsasl_encode (Gsasl_session *sctx,
              const char *input,
              size_t input_len,
              char **output,
              size_t *output_len);

Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

The output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free(output ).

Parameters

sctx

libgsasl session handle.

 

input

input byte array.

 

input_len

size of input byte array.

 

output

newly allocated output byte array.

 

output_len

size of output byte array.

 

Returns

Returns GSASL_OK if encoding was successful, otherwise an error code.


gsasl_decode ()

int
gsasl_decode (Gsasl_session *sctx,
              const char *input,
              size_t input_len,
              char **output,
              size_t *output_len);

Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

The output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free(output ).

Parameters

sctx

libgsasl session handle.

 

input

input byte array.

 

input_len

size of input byte array.

 

output

newly allocated output byte array.

 

output_len

size of output byte array.

 

Returns

Returns GSASL_OK if encoding was successful, otherwise an error code.


gsasl_mechanism_name ()

const char *
gsasl_mechanism_name (Gsasl_session *sctx);

This function returns the name of the SASL mechanism used in the session. The pointer must not be deallocated by the caller.

Parameters

sctx

libgsasl session handle.

 

Returns

Returns a zero terminated character array with the name of the SASL mechanism, or NULL if not known.

Since: 0.2.28


gsasl_strerror ()

const char *
gsasl_strerror (int err);

Convert return code to human readable string explanation of the reason for the particular error code.

This string can be used to output a diagnostic message to the user.

This function is one of few in the library that can be used without a successful call to gsasl_init().

Parameters

err

libgsasl error code

 

Returns

Returns a pointer to a statically allocated string containing an explanation of the error code err .


gsasl_strerror_name ()

const char *
gsasl_strerror_name (int err);

Convert return code to human readable string representing the error code symbol itself. For example, gsasl_strerror_name(GSASL_OK) returns the string "GSASL_OK".

This string can be used to output a diagnostic message to the user.

This function is one of few in the library that can be used without a successful call to gsasl_init().

Parameters

err

libgsasl error code

 

Returns

Returns a pointer to a statically allocated string containing a string version of the error code err , or NULL if the error code is not known.

Since: 0.2.29


gsasl_saslprep ()

int
gsasl_saslprep (const char *in,
                Gsasl_saslprep_flags flags,
                char **out,
                int *stringpreprc);

Prepare string using SASLprep. On success, the out variable must be deallocated by the caller.

Parameters

in

a UTF-8 encoded string.

 

flags

any SASLprep flag, e.g., GSASL_ALLOW_UNASSIGNED.

 

out

on exit, contains newly allocated output string.

 

stringpreprc

if non-NULL, will hold precise stringprep return code.

 

Returns

Returns GSASL_OK on success, or GSASL_SASLPREP_ERROR on error.

Since: 0.2.3


gsasl_simple_getpass ()

int
gsasl_simple_getpass (const char *filename,
                      const char *username,
                      char **key);

Retrieve password for user from specified file. The buffer key contain the password if this function is successful. The caller is responsible for deallocating it.

The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively.

Parameters

filename

filename of file containing passwords.

 

username

username string.

 

key

newly allocated output character array.

 

Returns

Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code.


gsasl_base64_to ()

int
gsasl_base64_to (const char *in,
                 size_t inlen,
                 char **out,
                 size_t *outlen);

Encode data as base64. The string is zero terminated, and outlen holds the length excluding the terminating zero. The out buffer must be deallocated by the caller.

Parameters

in

input byte array

 

inlen

size of input byte array

 

out

pointer to newly allocated output byte array

 

outlen

pointer to size of newly allocated output byte array

 

Returns

Returns GSASL_OK on success, or GSASL_MALLOC_ERROR if input was too large or memory allocation fail.

Since: 0.2.2


gsasl_base64_from ()

int
gsasl_base64_from (const char *in,
                   size_t inlen,
                   char **out,
                   size_t *outlen);

Decode Base64 data. The out buffer must be deallocated by the caller.

Parameters

in

input byte array

 

inlen

size of input byte array

 

out

pointer to newly allocated output byte array

 

outlen

pointer to size of newly allocated output byte array

 

Returns

Returns GSASL_OK on success, GSASL_BASE64_ERROR if input was invalid, and GSASL_MALLOC_ERROR on memory allocation errors.

Since: 0.2.2


gsasl_nonce ()

int
gsasl_nonce (char *data,
             size_t datalen);

Store unpredictable data of given size in the provided buffer.

Parameters

data

output array to be filled with unpredictable random data.

 

datalen

size of output array.

 

Returns

Returns GSASL_OK iff successful.


gsasl_random ()

int
gsasl_random (char *data,
              size_t datalen);

Store cryptographically strong random data of given size in the provided buffer.

Parameters

data

output array to be filled with strong random data.

 

datalen

size of output array.

 

Returns

Returns GSASL_OK iff successful.


gsasl_md5 ()

int
gsasl_md5 (const char *in,
           size_t inlen,
           char *out[]);

Compute hash of data using MD5. The out buffer must be deallocated by the caller.

Parameters

in

input character array of data to hash.

 

inlen

length of input character array of data to hash.

 

out

newly allocated 16-byte character array with hash of data.

 

Returns

Returns GSASL_OK iff successful.


gsasl_hmac_md5 ()

int
gsasl_hmac_md5 (const char *key,
                size_t keylen,
                const char *in,
                size_t inlen,
                char *outhash[]);

Compute keyed checksum of data using HMAC-MD5. The outhash buffer must be deallocated by the caller.

Parameters

key

input character array with key to use.

 

keylen

length of input character array with key to use.

 

in

input character array of data to hash.

 

inlen

length of input character array of data to hash.

 

outhash

newly allocated 16-byte character array with keyed hash of data.

 

Returns

Returns GSASL_OK iff successful.


gsasl_sha1 ()

int
gsasl_sha1 (const char *in,
            size_t inlen,
            char *out[]);

Compute hash of data using SHA1. The out buffer must be deallocated by the caller.

Parameters

in

input character array of data to hash.

 

inlen

length of input character array of data to hash.

 

out

newly allocated 20-byte character array with hash of data.

 

Returns

Returns GSASL_OK iff successful.

Since: 1.3


gsasl_hmac_sha1 ()

int
gsasl_hmac_sha1 (const char *key,
                 size_t keylen,
                 const char *in,
                 size_t inlen,
                 char *outhash[]);

Compute keyed checksum of data using HMAC-SHA1. The outhash buffer must be deallocated by the caller.

Parameters

key

input character array with key to use.

 

keylen

length of input character array with key to use.

 

in

input character array of data to hash.

 

inlen

length of input character array of data to hash.

 

outhash

newly allocated 20-byte character array with keyed hash of data.

 

Returns

Returns GSASL_OK iff successful.

Since: 1.3


gsasl_free ()

void
gsasl_free (void *ptr);

Invoke free(ptr ) to de-allocate memory pointer. Typically used on strings allocated by other libgsasl functions.

This is useful on Windows where libgsasl is linked to one CRT and the application is linked to another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio.

Parameters

ptr

memory pointer

 

Since: 0.2.19

Types and Values

GSASL_API

#define GSASL_API __attribute__((__visibility__("default")))

GSASL_VERSION

#define GSASL_VERSION "1.8.1"

Pre-processor symbol with a string that describe the header file version number. Used together with gsasl_check_version() to verify header file and run-time library consistency.


GSASL_VERSION_MAJOR

#define GSASL_VERSION_MAJOR 1

Pre-processor symbol with a decimal value that describe the major level of the header file version number. For example, when the header version is 1.2.3 this symbol will be 1.

Since: 1.1


GSASL_VERSION_MINOR

#define GSASL_VERSION_MINOR 8

Pre-processor symbol with a decimal value that describe the minor level of the header file version number. For example, when the header version is 1.2.3 this symbol will be 2.

Since: 1.1


GSASL_VERSION_PATCH

#define GSASL_VERSION_PATCH 1

Pre-processor symbol with a decimal value that describe the patch level of the header file version number. For example, when the header version is 1.2.3 this symbol will be 3.

Since: 1.1


GSASL_VERSION_NUMBER

#define GSASL_VERSION_NUMBER 0x010801

Pre-processor symbol with a hexadecimal value describing the header file version number. For example, when the header version is 1.2.3 this symbol will have the value 0x010203.

Since: 1.1


enum Gsasl_rc

Error codes for library functions.

Members

GSASL_OK

Successful return code, guaranteed to be always 0.

 

GSASL_NEEDS_MORE

Mechanism expects another round-trip.

 

GSASL_UNKNOWN_MECHANISM

Application requested an unknown mechanism.

 

GSASL_MECHANISM_CALLED_TOO_MANY_TIMES

Application requested too many round trips from mechanism.

 

GSASL_MALLOC_ERROR

Memory allocation failed.

 

GSASL_BASE64_ERROR

Base64 encoding/decoding failed.

 

GSASL_CRYPTO_ERROR

Cryptographic error.

 

GSASL_SASLPREP_ERROR

Failed to prepare internationalized string.

 

GSASL_MECHANISM_PARSE_ERROR

Mechanism could not parse input.

 

GSASL_AUTHENTICATION_ERROR

Authentication has failed.

 

GSASL_INTEGRITY_ERROR

Application data integrity check failed.

 

GSASL_NO_CLIENT_CODE

Library was built with client functionality.

 

GSASL_NO_SERVER_CODE

Library was built with server functionality.

 

GSASL_NO_CALLBACK

Application did not provide a callback.

 

GSASL_NO_ANONYMOUS_TOKEN

Could not get required anonymous token.

 

GSASL_NO_AUTHID

Could not get required authentication identity (username).

 

GSASL_NO_AUTHZID

Could not get required authorization identity.

 

GSASL_NO_PASSWORD

Could not get required password.

 

GSASL_NO_PASSCODE

Could not get required SecurID PIN.

 

GSASL_NO_PIN

Could not get required SecurID PIN.

 

GSASL_NO_SERVICE

Could not get required service name.

 

GSASL_NO_HOSTNAME

Could not get required hostname.

 

GSASL_NO_CB_TLS_UNIQUE

Could not get required tls-unique CB.

 

GSASL_NO_SAML20_IDP_IDENTIFIER

Could not get required SAML IdP.

 

GSASL_NO_SAML20_REDIRECT_URL

Could not get required SAML redirect URL.

 

GSASL_NO_OPENID20_REDIRECT_URL

Could not get required OpenID redirect URL.

 

GSASL_GSSAPI_RELEASE_BUFFER_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_IMPORT_NAME_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_UNWRAP_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_WRAP_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_ACQUIRE_CRED_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_DISPLAY_NAME_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR

An unsupported quality-of-protection layer was requeted.

 

GSASL_KERBEROS_V5_INIT_ERROR

Init error in KERBEROS_V5.

 

GSASL_KERBEROS_V5_INTERNAL_ERROR

General error in KERBEROS_V5.

 

GSASL_SHISHI_ERROR

Same as GSASL_KERBEROS_V5_INTERNAL_ERROR.

 

GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE

SecurID mechanism needs an additional passcode.

 

GSASL_SECURID_SERVER_NEED_NEW_PIN

SecurID mechanism needs an new PIN.

 

GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR

GSS-API library call error.

 

GSASL_GSSAPI_RELEASE_OID_SET_ERROR

GSS-API library call error.

 

enum Gsasl_qop

Quality of Protection types (DIGEST-MD5 and GSSAPI). The integrity and confidentiality values is about application data wrapping. We recommend that you use GSASL_QOP_AUTH with TLS as that combination is generally more secure and have better chance of working than the integrity/confidentiality layers of SASL.

Members

GSASL_QOP_AUTH

Authentication only.

 

GSASL_QOP_AUTH_INT

Authentication and integrity.

 

GSASL_QOP_AUTH_CONF

Authentication, integrity and confidentiality.

 

enum Gsasl_cipher

Encryption types (DIGEST-MD5) for confidentiality services of application data. We recommend that you use TLS instead as it is generally more secure and have better chance of working.

Members

GSASL_CIPHER_DES

Cipher DES.

 

GSASL_CIPHER_3DES

Cipher 3DES.

 

GSASL_CIPHER_RC4

Cipher RC4.

 

GSASL_CIPHER_RC4_40

Cipher RC4 with 40-bit keys.

 

GSASL_CIPHER_RC4_56

Cipher RC4 with 56-bit keys.

 

GSASL_CIPHER_AES

Cipher AES.

 

enum Gsasl_saslprep_flags

Flags for the SASLprep function, see gsasl_saslprep(). For background, see the GNU Libidn documentation.

Members

GSASL_ALLOW_UNASSIGNED

Allow unassigned code points.

 

Gsasl

  typedef struct Gsasl Gsasl;

Handle to global library context.


Gsasl_session

  typedef struct Gsasl_session Gsasl_session;

Handle to SASL session context.


enum Gsasl_property

Callback/property types.

Members

GSASL_AUTHID

Authentication identity (username).

 

GSASL_AUTHZID

Authorization identity.

 

GSASL_PASSWORD

Password.

 

GSASL_ANONYMOUS_TOKEN

Anonymous identifier.

 

GSASL_SERVICE

Service name

 

GSASL_HOSTNAME

Host name.

 

GSASL_GSSAPI_DISPLAY_NAME

GSS-API credential principal name.

 

GSASL_PASSCODE

SecurID passcode.

 

GSASL_SUGGESTED_PIN

SecurID suggested PIN.

 

GSASL_PIN

SecurID PIN.

 

GSASL_REALM

User realm.

 

GSASL_DIGEST_MD5_HASHED_PASSWORD

Pre-computed hashed DIGEST-MD5 password, to avoid storing passwords in the clear.

 

GSASL_QOPS

Set of quality-of-protection values.

 

GSASL_QOP

Quality-of-protection value.

 

GSASL_SCRAM_ITER

Number of iterations in password-to-key hashing.

 

GSASL_SCRAM_SALT

Salt for password-to-key hashing.

 

GSASL_SCRAM_SALTED_PASSWORD

Pre-computed salted SCRAM key, to avoid re-computation and storing passwords in the clear.

 

GSASL_CB_TLS_UNIQUE

Base64 encoded tls-unique channel binding.

 

GSASL_SAML20_IDP_IDENTIFIER

SAML20 user IdP URL.

 

GSASL_SAML20_REDIRECT_URL

SAML 2.0 URL to access in browser.

 

GSASL_OPENID20_REDIRECT_URL

OpenID 2.0 URL to access in browser.

 

GSASL_OPENID20_OUTCOME_DATA

OpenID 2.0 authentication outcome data.

 

GSASL_SAML20_AUTHENTICATE_IN_BROWSER

Request to perform SAML 2.0 authentication in browser.

 

GSASL_OPENID20_AUTHENTICATE_IN_BROWSER

Request to perform OpenID 2.0 authentication in browser.

 

GSASL_VALIDATE_SIMPLE

Request for simple validation.

 

GSASL_VALIDATE_EXTERNAL

Request for validation of EXTERNAL.

 

GSASL_VALIDATE_ANONYMOUS

Request for validation of ANONYMOUS.

 

GSASL_VALIDATE_GSSAPI

Request for validation of GSSAPI/GS2.

 

GSASL_VALIDATE_SECURID

Reqest for validation of SecurID.

 

GSASL_VALIDATE_SAML20

Reqest for validation of SAML20.

 

GSASL_VALIDATE_OPENID20

Reqest for validation of OpenID 2.0 login.

 
gsasl-1.8.1/doc/reference/html/index.html0000644000000000000000000000467513521017733015203 00000000000000 GNU SASL API Reference Manual: GNU SASL API Reference Manual gsasl-1.8.1/doc/reference/html/right.png0000644000000000000000000000040513521017733015014 00000000000000PNG  IHDRabKGD pHYs B(xtIME4)\IDAT8үa?MIdEr,-hAIl ry}sX6 !9#D r$-Br$G"$;WZ&!cq \`軀O=QoufIENDB`gsasl-1.8.1/doc/reference/html/ix07.html0000644000000000000000000000442313521017733014652 00000000000000 Index of new symbols in 1.1: GNU SASL API Reference Manual

Index of new symbols in 1.1

G

GSASL_VERSION_MAJOR, GSASL_VERSION_MAJOR
GSASL_VERSION_MINOR, GSASL_VERSION_MINOR
GSASL_VERSION_NUMBER, GSASL_VERSION_NUMBER
GSASL_VERSION_PATCH, GSASL_VERSION_PATCH
gsasl-1.8.1/doc/reference/html/gsasl.devhelp20000644000000000000000000007732613521017733015755 00000000000000 gsasl-1.8.1/doc/reference/html/home.png0000644000000000000000000000040013521017733014622 00000000000000PNG  IHDRabKGD pHYs B(xtIME4)\IDAT8ҽ Aߞf`n v`6`/`Yܡ`f&k$,} 0b+ԸaQW~b O e{y N[L}.piBzmm o.I]7^[;%:VIENDB`gsasl-1.8.1/doc/reference/html/left-insensitive.png0000644000000000000000000000061313521017733017170 00000000000000PNG  IHDRabKGD pHYs B(xtIME4)\IDAT8͒NQ@pds`*4@W@ A!Ԇ@6^ 5hxIH R`sQp̙339B|sKEQTK@۝΁i^~Wʆ`0TJ6TcYn6A ƀ~߱>}ǭs; lYkwr 5U= /" "uU=ɲlArDzp5I4^E+P3Ɯq_p ̥iUYp=#IENDB`gsasl-1.8.1/doc/reference/html/gsasl-gsasl-compat.html0000644000000000000000000070373713521017733017602 00000000000000 gsasl-compat: GNU SASL API Reference Manual

gsasl-compat

gsasl-compat

Functions

int gsasl_client_listmech ()
int gsasl_server_listmech ()
int gsasl_client_step ()
int gsasl_client_step_base64 ()
int gsasl_server_step ()
int gsasl_server_step_base64 ()
void gsasl_client_finish ()
void gsasl_server_finish ()
Gsasl * gsasl_client_ctx_get ()
Gsasl * gsasl_server_ctx_get ()
void gsasl_client_application_data_set ()
void * gsasl_client_application_data_get ()
void gsasl_server_application_data_set ()
void * gsasl_server_application_data_get ()
int gsasl_randomize ()
Gsasl * gsasl_ctx_get ()
int gsasl_encode_inline ()
int gsasl_decode_inline ()
void gsasl_application_data_set ()
void * gsasl_application_data_get ()
void gsasl_appinfo_set ()
void * gsasl_appinfo_get ()
const char * gsasl_server_suggest_mechanism ()
int gsasl_base64_encode ()
int gsasl_base64_decode ()
char * gsasl_stringprep_nfkc ()
char * gsasl_stringprep_saslprep ()
char * gsasl_stringprep_trace ()
int gsasl_md5pwd_get_password ()
int (*Gsasl_client_callback_anonymous) ()
int (*Gsasl_client_callback_authentication_id) ()
int (*Gsasl_client_callback_authorization_id) ()
int (*Gsasl_client_callback_password) ()
int (*Gsasl_client_callback_passcode) ()
int (*Gsasl_client_callback_pin) ()
int (*Gsasl_client_callback_service) ()
Gsasl_qop (*Gsasl_client_callback_qop) ()
size_t (*Gsasl_client_callback_maxbuf) ()
int (*Gsasl_client_callback_realm) ()
int (*Gsasl_server_callback_retrieve) ()
int (*Gsasl_server_callback_validate) ()
int (*Gsasl_server_callback_gssapi) ()
int (*Gsasl_server_callback_securid) ()
int (*Gsasl_server_callback_cram_md5) ()
int (*Gsasl_server_callback_digest_md5) ()
int (*Gsasl_server_callback_service) ()
int (*Gsasl_server_callback_external) ()
int (*Gsasl_server_callback_anonymous) ()
int (*Gsasl_server_callback_realm) ()
Gsasl_qop (*Gsasl_server_callback_qop) ()
size_t (*Gsasl_server_callback_maxbuf) ()
Gsasl_cipher (*Gsasl_server_callback_cipher) ()
void gsasl_client_callback_authorization_id_set ()
Gsasl_client_callback_authorization_id gsasl_client_callback_authorization_id_get ()
void gsasl_client_callback_authentication_id_set ()
Gsasl_client_callback_authentication_id gsasl_client_callback_authentication_id_get ()
void gsasl_client_callback_anonymous_set ()
Gsasl_client_callback_anonymous gsasl_client_callback_anonymous_get ()
void gsasl_client_callback_password_set ()
Gsasl_client_callback_password gsasl_client_callback_password_get ()
void gsasl_client_callback_passcode_set ()
Gsasl_client_callback_passcode gsasl_client_callback_passcode_get ()
void gsasl_client_callback_pin_set ()
Gsasl_client_callback_pin gsasl_client_callback_pin_get ()
void gsasl_client_callback_service_set ()
Gsasl_client_callback_service gsasl_client_callback_service_get ()
void gsasl_client_callback_qop_set ()
Gsasl_client_callback_qop gsasl_client_callback_qop_get ()
void gsasl_client_callback_maxbuf_set ()
Gsasl_client_callback_maxbuf gsasl_client_callback_maxbuf_get ()
void gsasl_client_callback_realm_set ()
Gsasl_client_callback_realm gsasl_client_callback_realm_get ()
void gsasl_server_callback_validate_set ()
Gsasl_server_callback_validate gsasl_server_callback_validate_get ()
void gsasl_server_callback_retrieve_set ()
Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get ()
void gsasl_server_callback_cram_md5_set ()
Gsasl_server_callback_cram_md5 gsasl_server_callback_cram_md5_get ()
void gsasl_server_callback_digest_md5_set ()
Gsasl_server_callback_digest_md5 gsasl_server_callback_digest_md5_get ()
void gsasl_server_callback_external_set ()
Gsasl_server_callback_external gsasl_server_callback_external_get ()
void gsasl_server_callback_anonymous_set ()
Gsasl_server_callback_anonymous gsasl_server_callback_anonymous_get ()
void gsasl_server_callback_realm_set ()
Gsasl_server_callback_realm gsasl_server_callback_realm_get ()
void gsasl_server_callback_qop_set ()
Gsasl_server_callback_qop gsasl_server_callback_qop_get ()
void gsasl_server_callback_maxbuf_set ()
Gsasl_server_callback_maxbuf gsasl_server_callback_maxbuf_get ()
void gsasl_server_callback_cipher_set ()
Gsasl_server_callback_cipher gsasl_server_callback_cipher_get ()
void gsasl_server_callback_securid_set ()
Gsasl_server_callback_securid gsasl_server_callback_securid_get ()
void gsasl_server_callback_gssapi_set ()
Gsasl_server_callback_gssapi gsasl_server_callback_gssapi_get ()
void gsasl_server_callback_service_set ()
Gsasl_server_callback_service gsasl_server_callback_service_get ()

Description

Functions

gsasl_client_listmech ()

int
gsasl_client_listmech (Gsasl *ctx,
                       char *out,
                       size_t *outlen);

gsasl_client_listmech is deprecated and should not be used in newly-written code.

Use gsasl_client_mechlist() instead.

Write SASL names, separated by space, of mechanisms supported by the libgsasl client to the output array. To find out how large the output array must be, call this function with a NULL out parameter.

Parameters

ctx

libgsasl handle.

 

out

output character array.

 

outlen

input maximum size of output character array, on output contains actual length of output array.

 

Returns

Returns GSASL_OK if successful, or error code.


gsasl_server_listmech ()

int
gsasl_server_listmech (Gsasl *ctx,
                       char *out,
                       size_t *outlen);

gsasl_server_listmech is deprecated and should not be used in newly-written code.

Use gsasl_server_mechlist() instead.

Write SASL names, separated by space, of mechanisms supported by the libgsasl server to the output array. To find out how large the output array must be, call this function with a NULL out parameter.

Parameters

ctx

libgsasl handle.

 

out

output character array.

 

outlen

input maximum size of output character array, on output contains actual length of output array.

 

Returns

Returns GSASL_OK if successful, or error code.


gsasl_client_step ()

int
gsasl_client_step (Gsasl_session *sctx,
                   const char *input,
                   size_t input_len,
                   char *output,
                   size_t *output_len);

gsasl_client_step is deprecated and should not be used in newly-written code.

Use gsasl_step() instead.

Perform one step of SASL authentication in client. This reads data from server (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to server (into variables output and output_len).

The contents of the output buffer is unspecified if this functions returns anything other than GSASL_NEEDS_MORE.

Parameters

sctx

libgsasl client handle.

 

input

input byte array.

 

input_len

size of input byte array.

 

output

output byte array.

 

output_len

size of output byte array.

 

Returns

Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.


gsasl_client_step_base64 ()

int
gsasl_client_step_base64 (Gsasl_session *sctx,
                          const char *b64input,
                          char *b64output,
                          size_t b64output_len);

gsasl_client_step_base64 is deprecated and should not be used in newly-written code.

Use gsasl_step64() instead.

This is a simple wrapper around gsasl_client_step() that base64 decodes the input and base64 encodes the output.

Parameters

sctx

libgsasl client handle.

 

b64input

input base64 encoded byte array.

 

b64output

output base64 encoded byte array.

 

b64output_len

size of output base64 encoded byte array.

 

Returns

See gsasl_client_step().


gsasl_server_step ()

int
gsasl_server_step (Gsasl_session *sctx,
                   const char *input,
                   size_t input_len,
                   char *output,
                   size_t *output_len);

gsasl_server_step is deprecated and should not be used in newly-written code.

Use gsasl_step() instead.

Perform one step of SASL authentication in server. This reads data from client (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to client (into variables output and output_len).

The contents of the output buffer is unspecified if this functions returns anything other than GSASL_NEEDS_MORE.

Parameters

sctx

libgsasl server handle.

 

input

input byte array.

 

input_len

size of input byte array.

 

output

output byte array.

 

output_len

size of output byte array.

 

Returns

Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.


gsasl_server_step_base64 ()

int
gsasl_server_step_base64 (Gsasl_session *sctx,
                          const char *b64input,
                          char *b64output,
                          size_t b64output_len);

gsasl_server_step_base64 is deprecated and should not be used in newly-written code.

Use gsasl_step64() instead.

This is a simple wrapper around gsasl_server_step() that base64 decodes the input and base64 encodes the output.

Parameters

sctx

libgsasl server handle.

 

b64input

input base64 encoded byte array.

 

b64output

output base64 encoded byte array.

 

b64output_len

size of output base64 encoded byte array.

 

Returns

See gsasl_server_step().


gsasl_client_finish ()

void
gsasl_client_finish (Gsasl_session *sctx);

gsasl_client_finish is deprecated and should not be used in newly-written code.

Use gsasl_finish() instead.

Destroy a libgsasl client handle. The handle must not be used with other libgsasl functions after this call.

Parameters

sctx

libgsasl client handle.

 

gsasl_server_finish ()

void
gsasl_server_finish (Gsasl_session *sctx);

gsasl_server_finish is deprecated and should not be used in newly-written code.

Use gsasl_finish() instead.

Destroy a libgsasl server handle. The handle must not be used with other libgsasl functions after this call.

Parameters

sctx

libgsasl server handle.

 

gsasl_client_ctx_get ()

Gsasl *
gsasl_client_ctx_get (Gsasl_session *sctx);

gsasl_client_ctx_get is deprecated and should not be used in newly-written code.

This function is not useful with the new 0.2.0 API.

Get the libgsasl handle given a libgsasl client handle.

Parameters

sctx

libgsasl client handle

 

Returns

Returns the libgsasl handle given a libgsasl client handle.


gsasl_server_ctx_get ()

Gsasl *
gsasl_server_ctx_get (Gsasl_session *sctx);

gsasl_server_ctx_get is deprecated and should not be used in newly-written code.

This function is not useful with the new 0.2.0 API.

Get the libgsasl handle given a libgsasl server handle.

Parameters

sctx

libgsasl server handle

 

Returns

Returns the libgsasl handle given a libgsasl server handle.


gsasl_client_application_data_set ()

void
gsasl_client_application_data_set (Gsasl_session *sctx,
                                   void *application_data);

gsasl_client_application_data_set is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_set() or gsasl_session_hook_set() instead.

Store application specific data in the libgsasl client handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_client_application_data_get(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

sctx

libgsasl client handle.

 

application_data

opaque pointer to application specific data.

 

gsasl_client_application_data_get ()

void *
gsasl_client_application_data_get (Gsasl_session *sctx);

gsasl_client_application_data_get is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_get() or gsasl_session_hook_get() instead.

Retrieve application specific data from libgsasl client handle. The application data is set using gsasl_client_application_data_set(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

sctx

libgsasl client handle.

 

Returns

Returns the application specific data, or NULL.


gsasl_server_application_data_set ()

void
gsasl_server_application_data_set (Gsasl_session *sctx,
                                   void *application_data);

gsasl_server_application_data_set is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_set() or gsasl_session_hook_set() instead.

Store application specific data in the libgsasl server handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_server_application_data_get(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

sctx

libgsasl server handle.

 

application_data

opaque pointer to application specific data.

 

gsasl_server_application_data_get ()

void *
gsasl_server_application_data_get (Gsasl_session *sctx);

gsasl_server_application_data_get is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_get() or gsasl_session_hook_get() instead.

Retrieve application specific data from libgsasl server handle. The application data is set using gsasl_server_application_data_set(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

sctx

libgsasl server handle.

 

Returns

Returns the application specific data, or NULL.


gsasl_randomize ()

int
gsasl_randomize (int strong,
                 char *data,
                 size_t datalen);

gsasl_randomize is deprecated and should not be used in newly-written code.

Use gsasl_random() or gsasl_nonce() instead.

Store cryptographically random data of given size in the provided buffer.

Parameters

strong

0 iff operation should not block, non-0 for very strong randomness.

 

data

output array to be filled with random data.

 

datalen

size of output array.

 

Returns

Returns GSASL_OK iff successful.


gsasl_ctx_get ()

Gsasl *
gsasl_ctx_get (Gsasl_session *sctx);

gsasl_ctx_get is deprecated and should not be used in newly-written code.

This function is not useful with the new 0.2.0 API.

Get the libgsasl handle given a libgsasl session handle.

Parameters

sctx

libgsasl session handle

 

Returns

Returns the libgsasl handle given a libgsasl session handle.


gsasl_encode_inline ()

int
gsasl_encode_inline (Gsasl_session *sctx,
                     const char *input,
                     size_t input_len,
                     char *output,
                     size_t *output_len);

gsasl_encode_inline is deprecated and should not be used in newly-written code.

Use gsasl_encode() instead.

Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

Parameters

sctx

libgsasl session handle.

 

input

input byte array.

 

input_len

size of input byte array.

 

output

output byte array.

 

output_len

size of output byte array.

 

Returns

Returns GSASL_OK if encoding was successful, otherwise an error code.

Since: 0.2.0


gsasl_decode_inline ()

int
gsasl_decode_inline (Gsasl_session *sctx,
                     const char *input,
                     size_t input_len,
                     char *output,
                     size_t *output_len);

gsasl_decode_inline is deprecated and should not be used in newly-written code.

Use gsasl_decode() instead.

Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

Parameters

sctx

libgsasl session handle.

 

input

input byte array.

 

input_len

size of input byte array.

 

output

output byte array.

 

output_len

size of output byte array.

 

Returns

Returns GSASL_OK if encoding was successful, otherwise an error code.

Since: 0.2.0


gsasl_application_data_set ()

void
gsasl_application_data_set (Gsasl *ctx,
                            void *appdata);

gsasl_application_data_set is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_set() instead.

Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_application_data_get(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

ctx

libgsasl handle.

 

appdata

opaque pointer to application specific data.

 

gsasl_application_data_get ()

void *
gsasl_application_data_get (Gsasl *ctx);

gsasl_application_data_get is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_get() instead.

Retrieve application specific data from libgsasl handle. The application data is set using gsasl_application_data_set(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

ctx

libgsasl handle.

 

Returns

Returns the application specific data, or NULL.


gsasl_appinfo_set ()

void
gsasl_appinfo_set (Gsasl_session *sctx,
                   void *appdata);

gsasl_appinfo_set is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_set() instead.

Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_appinfo_get(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

sctx

libgsasl session handle.

 

appdata

opaque pointer to application specific data.

 

gsasl_appinfo_get ()

void *
gsasl_appinfo_get (Gsasl_session *sctx);

gsasl_appinfo_get is deprecated and should not be used in newly-written code.

Use gsasl_callback_hook_get() instead.

Retrieve application specific data from libgsasl session handle. The application data is set using gsasl_appinfo_set(). It is normally used by the application to maintain state between the main program and the callback.

Parameters

sctx

libgsasl session handle.

 

Returns

Returns the application specific data, or NULL.


gsasl_server_suggest_mechanism ()

const char *
gsasl_server_suggest_mechanism (Gsasl *ctx,
                                const char *mechlist);

gsasl_server_suggest_mechanism is deprecated and should not be used in newly-written code.

This function was never useful, since it is the client that chose which mechanism to use.

Get name of "best" SASL mechanism supported by the libgsasl server which is present in the input string.

Parameters

ctx

libgsasl handle.

 

mechlist

input character array with SASL mechanism names, separated by invalid characters (e.g. SPC).

 

Returns

Returns name of "best" SASL mechanism supported by the libgsasl server which is present in the input string.


gsasl_base64_encode ()

int
gsasl_base64_encode (char const *src,
                     size_t srclength,
                     char *target,
                     size_t targsize);

gsasl_base64_encode is deprecated and should not be used in newly-written code.

Use gsasl_base64_to() instead.

Encode data as base64. Converts characters, three at a time, starting at src into four base64 characters in the target area until the entire input buffer is encoded.

Parameters

src

input byte array

 

srclength

size of input byte array

 

target

output byte array

 

targsize

size of output byte array

 

Returns

Returns the number of data bytes stored at the target, or -1 on error.


gsasl_base64_decode ()

int
gsasl_base64_decode (char const *src,
                     char *target,
                     size_t targsize);

gsasl_base64_decode is deprecated and should not be used in newly-written code.

Use gsasl_base64_from() instead.

Decode Base64 data. Skips all whitespace anywhere. Converts characters, four at a time, starting at (or after) src from Base64 numbers into three 8 bit bytes in the target area.

Parameters

src

input byte array

 

target

output byte array

 

targsize

size of output byte array

 

Returns

Returns the number of data bytes stored at the target, or -1 on error.


gsasl_stringprep_nfkc ()

char *
gsasl_stringprep_nfkc (const char *in,
                       ssize_t len);

gsasl_stringprep_nfkc is deprecated and should not be used in newly-written code.

No replacement functionality in GNU SASL, use GNU Libidn instead. Note that in SASL, you most likely want to use SASLprep and not bare NFKC, see gsasl_saslprep().

Converts a string into canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character.

The normalization mode is NFKC (ALL COMPOSE). It standardizes differences that do not affect the text content, such as the above-mentioned accent representation. It standardizes the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same. It returns a result with composed forms rather than a maximally decomposed form.

Parameters

in

a UTF-8 encoded string.

 

len

length of str , in bytes, or -1 if str is nul-terminated.

 

Returns

Return a newly allocated string, that is the NFKC normalized form of str , or NULL on error.


gsasl_stringprep_saslprep ()

char *
gsasl_stringprep_saslprep (const char *in,
                           int *stringprep_rc);

gsasl_stringprep_saslprep is deprecated and should not be used in newly-written code.

Use gsasl_saslprep() instead.

Process a Unicode string for comparison, according to the "SASLprep" stringprep profile. This function is intended to be used by Simple Authentication and Security Layer (SASL) mechanisms (such as PLAIN, CRAM-MD5, and DIGEST-MD5) as well as other protocols exchanging user names and/or passwords.

Parameters

in

input ASCII or UTF-8 string with data to prepare according to SASLprep.

 

stringprep_rc

pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it.

 

Returns

Return a newly allocated string that is the "SASLprep" processed form of the input string, or NULL on error, in which case stringprep_rc contain the stringprep library error code.


gsasl_stringprep_trace ()

char *
gsasl_stringprep_trace (const char *in,
                        int *stringprep_rc);

gsasl_stringprep_trace is deprecated and should not be used in newly-written code.

No replacement functionality in GNU SASL, use GNU Libidn instead.

Process a Unicode string for use as trace information, according to the "trace" stringprep profile. The profile is designed for use with the SASL ANONYMOUS Mechanism.

Parameters

in

input ASCII or UTF-8 string with data to prepare according to "trace".

 

stringprep_rc

pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it.

 

Returns

Return a newly allocated string that is the "trace" processed form of the input string, or NULL on error, in which case stringprep_rc contain the stringprep library error code.


gsasl_md5pwd_get_password ()

int
gsasl_md5pwd_get_password (const char *filename,
                           const char *username,
                           char *key,
                           size_t *keylen);

gsasl_md5pwd_get_password is deprecated and should not be used in newly-written code.

Use gsasl_simple_getpass() instead.

Retrieve password for user from specified file. To find out how large the output array must be, call this function with out=NULL.

The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively.

Parameters

filename

filename of file containing passwords.

 

username

username string.

 

key

output character array.

 

keylen

input maximum size of output character array, on output contains actual length of output array.

 

Returns

Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code.


Gsasl_client_callback_anonymous ()

int
(*Gsasl_client_callback_anonymous) (Gsasl_session *sctx,
                                    char *out,
                                    size_t *outlen);

Gsasl_client_callback_authentication_id ()

int
(*Gsasl_client_callback_authentication_id)
                               (Gsasl_session *sctx,
                                char *out,
                                size_t *outlen);

Gsasl_client_callback_authorization_id ()

int
(*Gsasl_client_callback_authorization_id)
                               (Gsasl_session *sctx,
                                char *out,
                                size_t *outlen);

Gsasl_client_callback_password ()

int
(*Gsasl_client_callback_password) (Gsasl_session *sctx,
                                   char *out,
                                   size_t *outlen);

Gsasl_client_callback_passcode ()

int
(*Gsasl_client_callback_passcode) (Gsasl_session *sctx,
                                   char *out,
                                   size_t *outlen);

Gsasl_client_callback_pin ()

int
(*Gsasl_client_callback_pin) (Gsasl_session *sctx,
                              char *suggestion,
                              char *out,
                              size_t *outlen);

Gsasl_client_callback_service ()

int
(*Gsasl_client_callback_service) (Gsasl_session *sctx,
                                  char *service,
                                  size_t *servicelen,
                                  char *hostname,
                                  size_t *hostnamelen,
                                  char *servicename,
                                  size_t *servicenamelen);

Gsasl_client_callback_qop ()

Gsasl_qop
(*Gsasl_client_callback_qop) (Gsasl_session *sctx,
                              Gsasl_qop serverqops);

Gsasl_client_callback_maxbuf ()

size_t
(*Gsasl_client_callback_maxbuf) (Gsasl_session *sctx,
                                 size_t servermaxbuf);

Gsasl_client_callback_realm ()

int
(*Gsasl_client_callback_realm) (Gsasl_session *sctx,
                                char *out,
                                size_t *outlen);

Gsasl_server_callback_retrieve ()

int
(*Gsasl_server_callback_retrieve) (Gsasl_session *sctx,
                                   const char *authentication_id,
                                   const char *authorization_id,
                                   const char *realm,
                                   char *key,
                                   size_t *keylen);

Gsasl_server_callback_validate ()

int
(*Gsasl_server_callback_validate) (Gsasl_session *sctx,
                                   const char *authorization_id,
                                   const char *authentication_id,
                                   const char *password);

Gsasl_server_callback_gssapi ()

int
(*Gsasl_server_callback_gssapi) (Gsasl_session *sctx,
                                 const char *clientname,
                                 const char *authentication_id);

Gsasl_server_callback_securid ()

int
(*Gsasl_server_callback_securid) (Gsasl_session *sctx,
                                  const char *authentication_id,
                                  const char *authorization_id,
                                  const char *passcode,
                                  char *pin,
                                  char *suggestpin,
                                  size_t *suggestpinlen);

Gsasl_server_callback_cram_md5 ()

int
(*Gsasl_server_callback_cram_md5) (Gsasl_session *sctx,
                                   char *username,
                                   char *challenge,
                                   char *response);

Gsasl_server_callback_digest_md5 ()

int
(*Gsasl_server_callback_digest_md5) (Gsasl_session *sctx,
                                     char *username,
                                     char *realm,
                                     char *secrethash);

Gsasl_server_callback_service ()

int
(*Gsasl_server_callback_service) (Gsasl_session *sctx,
                                  char *service,
                                  size_t *servicelen,
                                  char *hostname,
                                  size_t *hostnamelen);

Gsasl_server_callback_external ()

int
(*Gsasl_server_callback_external) (Gsasl_session *sctx);

Gsasl_server_callback_anonymous ()

int
(*Gsasl_server_callback_anonymous) (Gsasl_session *sctx,
                                    const char *token);

Gsasl_server_callback_realm ()

int
(*Gsasl_server_callback_realm) (Gsasl_session *sctx,
                                char *out,
                                size_t *outlen,
                                size_t nth);

Gsasl_server_callback_qop ()

Gsasl_qop
(*Gsasl_server_callback_qop) (Gsasl_session *sctx);

Gsasl_server_callback_maxbuf ()

size_t
(*Gsasl_server_callback_maxbuf) (Gsasl_session *sctx);

Gsasl_server_callback_cipher ()

Gsasl_cipher
(*Gsasl_server_callback_cipher) (Gsasl_session *sctx);

gsasl_client_callback_authorization_id_set ()

void
gsasl_client_callback_authorization_id_set
                               (Gsasl *ctx,
                                Gsasl_client_callback_authorization_id cb);

gsasl_client_callback_authorization_id_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to set the authorization identity. The function can be later retrieved using gsasl_client_callback_authorization_id_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_authorization_id_get ()

Gsasl_client_callback_authorization_id
gsasl_client_callback_authorization_id_get
                               (Gsasl *ctx);

gsasl_client_callback_authorization_id_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_authorization_id_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_authorization_id_set().


gsasl_client_callback_authentication_id_set ()

void
gsasl_client_callback_authentication_id_set
                               (Gsasl *ctx,
                                Gsasl_client_callback_authentication_id cb);

gsasl_client_callback_authentication_id_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to set the authentication identity. The function can be later retrieved using gsasl_client_callback_authentication_id_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_authentication_id_get ()

Gsasl_client_callback_authentication_id
gsasl_client_callback_authentication_id_get
                               (Gsasl *ctx);

gsasl_client_callback_authentication_id_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_authentication_id_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_authentication_id_set().


gsasl_client_callback_anonymous_set ()

void
gsasl_client_callback_anonymous_set (Gsasl *ctx,
                                     Gsasl_client_callback_anonymous cb);

gsasl_client_callback_anonymous_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to set the anonymous token, which usually is the users email address. The function can be later retrieved using gsasl_client_callback_anonymous_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_anonymous_get ()

Gsasl_client_callback_anonymous
gsasl_client_callback_anonymous_get (Gsasl *ctx);

gsasl_client_callback_anonymous_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_anonymous_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_anonymous_set().


gsasl_client_callback_password_set ()

void
gsasl_client_callback_password_set (Gsasl *ctx,
                                    Gsasl_client_callback_password cb);

gsasl_client_callback_password_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to set the password. The function can be later retrieved using gsasl_client_callback_password_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_password_get ()

Gsasl_client_callback_password
gsasl_client_callback_password_get (Gsasl *ctx);

gsasl_client_callback_password_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_password_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_password_set().


gsasl_client_callback_passcode_set ()

void
gsasl_client_callback_passcode_set (Gsasl *ctx,
                                    Gsasl_client_callback_passcode cb);

gsasl_client_callback_passcode_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to set the passcode. The function can be later retrieved using gsasl_client_callback_passcode_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_passcode_get ()

Gsasl_client_callback_passcode
gsasl_client_callback_passcode_get (Gsasl *ctx);

gsasl_client_callback_passcode_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_passcode_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_passcode_set().


gsasl_client_callback_pin_set ()

void
gsasl_client_callback_pin_set (Gsasl *ctx,
                               Gsasl_client_callback_pin cb);

gsasl_client_callback_pin_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to chose a new pin, possibly suggested by the server, for the SECURID mechanism. This is not normally invoked, but only when the server requests it. The function can be later retrieved using gsasl_client_callback_pin_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_pin_get ()

Gsasl_client_callback_pin
gsasl_client_callback_pin_get (Gsasl *ctx);

gsasl_client_callback_pin_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_pin_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_pin_set().


gsasl_client_callback_service_set ()

void
gsasl_client_callback_service_set (Gsasl *ctx,
                                   Gsasl_client_callback_service cb);

gsasl_client_callback_service_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. Servicename is used by DIGEST-MD5 and should be the name of generic server in case of a replicated service. The function can be later retrieved using gsasl_client_callback_service_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_service_get ()

Gsasl_client_callback_service
gsasl_client_callback_service_get (Gsasl *ctx);

gsasl_client_callback_service_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_service_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_service_set().


gsasl_client_callback_qop_set ()

void
gsasl_client_callback_qop_set (Gsasl *ctx,
                               Gsasl_client_callback_qop cb);

gsasl_client_callback_qop_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to determine the qop to use after looking at what the server offered. The function can be later retrieved using gsasl_client_callback_qop_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_qop_get ()

Gsasl_client_callback_qop
gsasl_client_callback_qop_get (Gsasl *ctx);

gsasl_client_callback_qop_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_qop_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_qop_set().


gsasl_client_callback_maxbuf_set ()

void
gsasl_client_callback_maxbuf_set (Gsasl *ctx,
                                  Gsasl_client_callback_maxbuf cb);

gsasl_client_callback_maxbuf_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to inform the server of the largest buffer the client is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using gsasl_client_callback_maxbuf_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_maxbuf_get ()

Gsasl_client_callback_maxbuf
gsasl_client_callback_maxbuf_get (Gsasl *ctx);

gsasl_client_callback_maxbuf_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_maxbuf_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_maxbuf_set().


gsasl_client_callback_realm_set ()

void
gsasl_client_callback_realm_set (Gsasl *ctx,
                                 Gsasl_client_callback_realm cb);

gsasl_client_callback_realm_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the client to know which realm it belongs to. The realm is used by the server to determine which username and password to use. The function can be later retrieved using gsasl_client_callback_realm_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_client_callback_realm_get ()

Gsasl_client_callback_realm
gsasl_client_callback_realm_get (Gsasl *ctx);

gsasl_client_callback_realm_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_client_callback_realm_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_client_callback_realm_set().


gsasl_server_callback_validate_set ()

void
gsasl_server_callback_validate_set (Gsasl *ctx,
                                    Gsasl_server_callback_validate cb);

gsasl_server_callback_validate_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using gsasl_server_callback_validate_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_validate_get ()

Gsasl_server_callback_validate
gsasl_server_callback_validate_get (Gsasl *ctx);

gsasl_server_callback_validate_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_validate_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_validate_set().


gsasl_server_callback_retrieve_set ()

void
gsasl_server_callback_retrieve_set (Gsasl *ctx,
                                    Gsasl_server_callback_retrieve cb);

gsasl_server_callback_retrieve_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using gsasl_server_callback_retrieve_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_retrieve_get ()

Gsasl_server_callback_retrieve
gsasl_server_callback_retrieve_get (Gsasl *ctx);

gsasl_server_callback_retrieve_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_retrieve_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_retrieve_set().


gsasl_server_callback_cram_md5_set ()

void
gsasl_server_callback_cram_md5_set (Gsasl *ctx,
                                    Gsasl_server_callback_cram_md5 cb);

gsasl_server_callback_cram_md5_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for deciding if user is authenticated using CRAM-MD5 challenge and response. The function can be later retrieved using gsasl_server_callback_cram_md5_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_cram_md5_get ()

Gsasl_server_callback_cram_md5
gsasl_server_callback_cram_md5_get (Gsasl *ctx);

gsasl_server_callback_cram_md5_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_cram_md5_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_cram_md5_set().


gsasl_server_callback_digest_md5_set ()

void
gsasl_server_callback_digest_md5_set (Gsasl *ctx,
                                      Gsasl_server_callback_digest_md5 cb);

gsasl_server_callback_digest_md5_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for retrieving the secret hash of the username, realm and password for use in the DIGEST-MD5 mechanism. The function can be later retrieved using gsasl_server_callback_digest_md5_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_digest_md5_get ()

Gsasl_server_callback_digest_md5
gsasl_server_callback_digest_md5_get (Gsasl *ctx);

gsasl_server_callback_digest_md5_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_digest_md5_set().

Parameters

ctx

libgsasl handle.

 

Returns

Return the callback earlier set by calling gsasl_server_callback_digest_md5_set().


gsasl_server_callback_external_set ()

void
gsasl_server_callback_external_set (Gsasl *ctx,
                                    Gsasl_server_callback_external cb);

gsasl_server_callback_external_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for deciding if user is authenticated out of band. The function can be later retrieved using gsasl_server_callback_external_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_external_get ()

Gsasl_server_callback_external
gsasl_server_callback_external_get (Gsasl *ctx);

gsasl_server_callback_external_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_external_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_external_set().


gsasl_server_callback_anonymous_set ()

void
gsasl_server_callback_anonymous_set (Gsasl *ctx,
                                     Gsasl_server_callback_anonymous cb);

gsasl_server_callback_anonymous_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for deciding if user is permitted anonymous access. The function can be later retrieved using gsasl_server_callback_anonymous_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_anonymous_get ()

Gsasl_server_callback_anonymous
gsasl_server_callback_anonymous_get (Gsasl *ctx);

gsasl_server_callback_anonymous_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_anonymous_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_anonymous_set().


gsasl_server_callback_realm_set ()

void
gsasl_server_callback_realm_set (Gsasl *ctx,
                                 Gsasl_server_callback_realm cb);

gsasl_server_callback_realm_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server to know which realm it serves. The realm is used by the user to determine which username and password to use. The function can be later retrieved using gsasl_server_callback_realm_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_realm_get ()

Gsasl_server_callback_realm
gsasl_server_callback_realm_get (Gsasl *ctx);

gsasl_server_callback_realm_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_realm_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_realm_set().


gsasl_server_callback_qop_set ()

void
gsasl_server_callback_qop_set (Gsasl *ctx,
                               Gsasl_server_callback_qop cb);

gsasl_server_callback_qop_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server to know which quality of protection it accepts. The quality of protection eventually used is selected by the client though. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using gsasl_server_callback_qop_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_qop_get ()

Gsasl_server_callback_qop
gsasl_server_callback_qop_get (Gsasl *ctx);

gsasl_server_callback_qop_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_qop_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_qop_set().


gsasl_server_callback_maxbuf_set ()

void
gsasl_server_callback_maxbuf_set (Gsasl *ctx,
                                  Gsasl_server_callback_maxbuf cb);

gsasl_server_callback_maxbuf_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server to inform the client of the largest buffer the server is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using gsasl_server_callback_maxbuf_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_maxbuf_get ()

Gsasl_server_callback_maxbuf
gsasl_server_callback_maxbuf_get (Gsasl *ctx);

gsasl_server_callback_maxbuf_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_maxbuf_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_maxbuf_set().


gsasl_server_callback_cipher_set ()

void
gsasl_server_callback_cipher_set (Gsasl *ctx,
                                  Gsasl_server_callback_cipher cb);

gsasl_server_callback_cipher_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server to inform the client of the cipher suites supported. The DES and 3DES ciphers must be supported for interoperability. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using gsasl_server_callback_cipher_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_cipher_get ()

Gsasl_server_callback_cipher
gsasl_server_callback_cipher_get (Gsasl *ctx);

gsasl_server_callback_cipher_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_cipher_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_cipher_set().


gsasl_server_callback_securid_set ()

void
gsasl_server_callback_securid_set (Gsasl *ctx,
                                   Gsasl_server_callback_securid cb);

gsasl_server_callback_securid_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for validating a user via the SECURID mechanism. The function should return GSASL_OK if user authenticated successfully, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE if it wants another passcode, GSASL_SECURID_SERVER_NEED_NEW_PIN if it wants a PIN change, or an error. When (and only when) GSASL_SECURID_SERVER_NEED_NEW_PIN is returned, suggestpin can be populated with a PIN code the server suggests, and suggestpinlen set to the length of the PIN. The function can be later retrieved using gsasl_server_callback_securid_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_securid_get ()

Gsasl_server_callback_securid
gsasl_server_callback_securid_get (Gsasl *ctx);

gsasl_server_callback_securid_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_securid_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_securid_set().


gsasl_server_callback_gssapi_set ()

void
gsasl_server_callback_gssapi_set (Gsasl *ctx,
                                  Gsasl_server_callback_gssapi cb);

gsasl_server_callback_gssapi_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server for checking if a GSSAPI user is authorized for username (by, e.g., calling krb5_kuserok). The function should return GSASL_OK if the user should be permitted access, or an error code such as GSASL_AUTHENTICATION_ERROR on failure. The function can be later retrieved using gsasl_server_callback_gssapi_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_gssapi_get ()

Gsasl_server_callback_gssapi
gsasl_server_callback_gssapi_get (Gsasl *ctx);

gsasl_server_callback_gssapi_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_gssapi_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_gssapi_set().


gsasl_server_callback_service_set ()

void
gsasl_server_callback_service_set (Gsasl *ctx,
                                   Gsasl_server_callback_service cb);

gsasl_server_callback_service_set is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Specify the callback function to use in the server to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. The function can be later retrieved using gsasl_server_callback_service_get().

Parameters

ctx

libgsasl handle.

 

cb

callback function

 

gsasl_server_callback_service_get ()

Gsasl_server_callback_service
gsasl_server_callback_service_get (Gsasl *ctx);

gsasl_server_callback_service_get is deprecated and should not be used in newly-written code.

This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

Get the callback earlier set by calling gsasl_server_callback_service_set().

Parameters

ctx

libgsasl handle.

 

Returns

Returns the callback earlier set by calling gsasl_server_callback_service_set().

Types and Values

gsasl-1.8.1/doc/reference/html/controlflow2.png0000644000000000000000000024457213521017733016350 00000000000000PNG  IHDR |)RsBITO pHYse IDATxg\3 7NFG(D@A) .vE]E{E*fC]E(ł Ԕy?{JI7LΜ3!HD.[\\\XXXPPPXXf+******((( PRRe,@4HH|ӧO p.79NWVVLLF0{}}=ݺu[L&SKK/ԁ Ϗ?>}Duttpc```2t:G%I UUUL&TAA ,:$o߾K^R'r~,--̌ $βW^>y$77\.!Dz˷ mmm)  _}}}NNNFFFFFFVVVyy9BHFFO>8vޝtJ555Ϟ=NKemm-##Cm o߾۷o~ZZZnnn40ź~GnܸQQQRVV4hN Bu,:s{eddܿabb_T(.$I|2333+++++իW$Ih4kkk{{R& WXXx…k׮UWW~*MMM@IIIݿ^FFf#G𰱱䛡,˽w^rrrrrGH5j*JԧO"=<<<<<ݻvJu,Iee+W/^g llllmmWE޽ÙիWNF9rHi` xĉK.$驧GutR>333%%%%%%//!`0L ?,$WMMͅ =zZyy@ggg-B%%%gΜIII9<ڵo@@ ,"hH8l6իG=sLeee׮] ɉ)))555i ,$InJHHHLLѣ<<< fZcƌ pvvL H^yyݻJKK {PP2աuv 2-%%;;;@3 2uuugΜٿ7ppp Р:4ϟ?ZSScddܣGCH"HWؒ3f̚5/ޑ|㱱!''iӦ)**R@@@]Vׯ_'5j F/^+**RUU 6mڐ!C  =~wY}YWWwڴi3g΄Kù|rLLLRRR]]]߾}N:eX N,Ĉ$#G:tڵkA/e!%$$ܵkѣGkjjlmm͛7n8yyy$X($/^uk׮Oқ7odeeG)!NAAayyyΝ366 344\lYQQա~ hIiiիBŋUTT[mmmB]VL?ڵk?^O߾}[qrrBYZZ^ZC:ѣGh4YYiӦ=}m׹>h/_ZJUU!ᑝMI:gaaA߅?d޼y?ޞ7owa GգG\$I>}z…!uu ޽wT\\.ժ暊ٳmܹCoeӦM_W>((9}4og^Bϟ?bJs1|Yzb $H@grO:ebb߿K!eee===_z!q]x}yޔ@=p88::B? tk>F=zb``~]hރ?022Lѣfff8͊4  ѣG||<á:Fѻwo)GAqqF2 F5|'X-ruuutzEEI޽C0 H$IHHϻիWll,YHHʪb~lݺ5###===**J C455mVWWGuDMRPP<ɔYUUEӍ8}ymcI_n>`Prr2I栽=F+//'I_~Ab[ҢxڻwCAAbqܹK.9888::^xL䱁ӧׯ.\(++Ku\M200CuuuS"##/]ჾ~#***2K!cccoGӊBƍLðaø\nvv6B͛ cᢊZt:}„ O!l#ÇsA%AQQ?RTT$w`;B֭[6m{`xfhv)**4iAI7ϟ;ӧO˖-)?EwhikkV+\z>ѣFi!´/B{5޹b S___zhh7 #sK,ҥKl6  ,$ H*--ův>iW[[,##pB^+N:⭩^jUߏ&ʊ7oB&X!77իW7sTkiCZl$I]ޝ3f4CSZZtRyyy1{>P$XbJJJ|B6`$OwFFyѣGmmm_%%%]]]Gd޼y`>}0 xMx̙mll,&d~MMMQmni Ycx8bbb1tT޽:u*NWRRZz5^* V1tss+**:F:th͚5x{͚5>[n,&3|;vǏE^?ݻÃ>hQEekF >K&BVUU77!!d.]W!hf;{}Z,훂V\X_vvv Na;z˗ǎ[@QI6#B۷orx!ƈ#L333$?}Ddjj*B庸l޼$I<}=<~x===5#+iw}T֯_ tF͙3GFF&??_"BBBttt w$mllfo:880L<8$M6%˭-ZgnnbŊ>---ݻ׆Vx &I;##o߼ysx[[[Wb[NVVk׮x!iI\z5ձRSSׯD͟?'܂v;-33kK~zȑ!sq:NWt… E[m=tК5k5kx֭[VannBF*..I"aɅ BΝcxg}}ɓ'BjaÆ!zjPkkkÆ " L&!4aIuZ9h[!xW=@l6fn7UX 6uҥ/r !_E tM_*..&BQQgQL&S.akkWë QSS۹s'/uBhÆ "wJIIJIIis%O<駟B" O:׿9\K;wDXnݺ!r?RsG^!4`p:3HH$uttjjjrQQQrrrjjjTӂ%Kwr111rrrrrr?SLL "Мݻwkjjzyy5ՄU]xqȐ!򲲲vvv JMMuvvVRRb0ֻwnGa|EB'O$Irڴiŋ`mKnݺ秣CUTT &@פJ/ 8KorРh .iAE$ڽ{7Ձt >|1bB¢pZvم ".\sN޼y8255DK$XBVua GգG\bx!~ ,,,pBhرX!߯_T]]MAA뭭 ֩Sx3hllO2-^+i`%7T)8FFF.]:( vi[RR͛/|_z!GGGh^{>}ܻwoSUWW7vX^\޽Ν{9Vmoߎ ?VWW㹁oې`!t ^nٳ'Qkb%-h` j.]222"bԩX  # @:ٳgabbi_̑#G3%|WqF2Q'H>~Lnn.B_~roܸ1o޼>}!?2dBٳ=%KHmHdddLf7o-!5i 4HDJo߾-XFHO:wՁt@>455E/Ko>&)##TUUt#### 5C𣊚XOOO~ccc&j޽;x`@@^K.Ϟ=/ ?f1>>!dhhԢY܆'v޽k0פJZ, 1dgg!ƌ# `޽{3̊ c88NddiG !Y{ IDATD[\:KRG%##y?A5֭[Brrr}V>Tm->}jii666xkFyM HѣGxYFo=@ТEBՁH3ghhhmٲO___VV555 7^GGJ__5D$)''ԌzժB4Mp:~rnUͤ(r*@ӆk"XI;zC;6uVXtlf"##}||VZ6 3f۷CCC :(}b1_cAAA^^΢"''_~ RWW2hÇxvINcƌ!"??mmf͚QQQq޼yϞ={&-VbD%K<~xO<:(Ć OUUU 8PVV`o޼ӧAsi0WZ|2BH[[ÇxONNG ?Ą7xӧOCE7zVVAAo?~;Y,֥KLBk*P3٦ yy7n\ÇBfff_+i@wGTohr߯NDhh(te }W^kṹMmtlъ T"b|sAaee`^!AT˗/BC i)o0q[~o߾EF7ΌyY3\ddd h84HWWGxyIX@ڱUTTxzz"L)I>|UPP8vXknj F >>xb{quu9r@UWW/_|=z􈏏oqHHD޻w/%%ŋ7ȬRxBw>~'޿?6CѴd ===]6͛W\i``Hቼy&777777//̙3^zßtr7o ڵkWXAө@%b߾};};wܹ#|Fuuu(((UWWWWWNMTQQmzntttwﮡχd#j'N:r䈺.SӸ\ҲjkkN:l0 eI̘1Æ 300:" qgϞ=~8''Vs)E7oƌjժ_p8cǎ 666TG@C04TUU5~˗{xxܹsGr+P׮]׭[WPPdɒ~7ӧThW;wLJJ*++x޽Tojj]}6|NG& "f̘yykkká;v磣;[~ ੪3gÇ|q#$X_DDĊ+lmmϝ;יZSSv֭ׯ78IdX h3gθR`oGfg̘|rOOΜ]!u6yrvIUT7}[GGgĈׯ ЃaUUU^xqő0y󦳳3T?~<22޽{$;u֛7oJJJ˿| :g>|XUU@ VgooGDD,Yp$ˊ+6mtȑ'VVV!?Bpbbbrrr޽#455^VVN755ׯ_~,--"I?{}SSS#$X?ؠ Ñ8~u;v \.|Gv6ݾ};//'O) 5kt:=,,,44TEEǫp8wܹpBrrǏt}||ڐJTWWϚ5+!!=!![nTG :ajjOu,˗/3fh?BZZu떆Abj%///44TKK !ԵkE剩- r[nѣÇH7H:aoo_ZZJu,-33ȑ#TĈnܸN۷Z;uꔗ~vhׯkii)**Q b`I=6={lИ1cG X͛77H"## KuuBۻ[TVVFٝ:u4UܹshB ,: nվٳglÑ&߿O-[FuD@,jkk2 Vj&o߾mٲd"LLL`IZ{{{ 6l@u,*99'X'O: z, Ϻ߳gձ$I (퓓SWWwձ)էOssscbb9LקϜ9X$A@@QIӦM;tкu~7$I߿͚5>}ܸq'B?{Ku?ܾ~z &P'xM{-//Yz տn@*9;;Y|֭[Zt)Ձ4fGGG㛆Ç{'OxII~@@ysٳ...[ccp!{@yxxhhh\z@Z'33snnn.\5kjjvرqƊ ggg fǎ3fÇ!Cuu#FX+W 4 5<0Q1 Ch &9rD+gΜnݺ;wtĉ@ ((($$$Ν޽;A&Ç'ƍmˮ MÇ]RP^x}vL#ƍWRRBUH@Aɓ'_zeggMuD@A%5UUUӭ u٤UV9::RK˪/^loox9x QƎ!++|a nJgώ?ʕ+/ @SjkkCCC{&,EU7nݻfʬ] {{{EE6ؿw;6888///<|lժUC IJJѣ$X-<<|ʕgϞURR:$m&-[HɓERۊ+&M4pSNI?>න"Ir+WMNN }!666((O>⨿ɓFJY[[pѣ333\]]9"jK$hѢm۶M<911QI`nZWWb 1I&~>>|Qu_XYYݹsnaaaH,@`I $.\cǎ)Sm\ZPVVo߾ѣG[XX8 #G~>9BӃD^իW6n8a„:7 $X$ܹc޽߾}[r/))IMM7nf'$$鉣~YYUV;vͭLi$ɹs޽;$$? uuu555--~J-̏ =?JkcQ܍=pıcX,+vGA_o2dț7op$ٳgݻw{쑐ikkWTT޽[ckjjX+3>>^t`iii3g_qqq}8p ..NYYy̘1nhƌ>|܃%!?MMݻwF,CDXX^HHĉΝ+4СC={޽QTT/XMMM gƌÇ%00d2/_48) :::ͼR***{.ݻ۷ogϞ;vlLvww=Q̙3"8$|ϟ?劯!YgQKK$I__l$߾}۳gz__H$  #\]]7mrlقUy暚={$9uԸ8\UJJJqq1NUT J 233FAALNǓ$YPP`0xeRSS qx˗/Il>$blvhhh@@`ކ`[^&r pvv|;YĪUx 66!tʕlښFEEEg@@E13}tЂ Ě]H455Ilo*))UVV$rqa_^^3cy߼y+==}֬Y?~ٳOpUuuuM5ڠ$B_aVl6;==}sB...QQQwM `$~m'X;v@ݹsGLs\CCCGGG1ڍ>nv+++G?ۿu@!EH%.;sh?[K\. r8ސ|{vNMX^?zƍC=v옺~UpVS63ϫ Bf__߄&tR&[?qĞ={6mFD:GL}}}Sm5s;$CCC oOOO ovׯ_㴁Jrr̙3wW]]ʴ{J#BCCۧ*))1b1b񗙙iffF~)--rqqټy3I%G__۷'O[j*mh%: yyyܻz7LMMI|`p.]fEHъq $I 0+**deeΝ+&f̘!//DlBHMMMMMMUUdFGG9_' _U|||~)qFǏ)aÆ A}0@l6Mtvk PUUҥq۷oL&Nd~~{x噛=޽{L&3B(##WFS6?F7?M6ج\zѢEM5chhhhhطo'N4 ?kkk???}}}}}/_ ]z5>\F/x;͓ɓ1_]] m U}򥆆FZlV­mܱ277ׯQrrr=zxձ\.#믿gmHkԩJJJ555b3;& IDATs S`q8 $\]] ͯ^Jdll֭[I|ٳLxSIII@@/.))!`|޽{m2֭ó_kupH ZYb/2a<)#~7===KKgϞ FTl]Ik=x!e5!7ovUII)++XxA+?MC@b,#&5446 *8ٶAdIq?nH`fkFxxx]]]S3u۶m\.7<<ݽљƆ%[yۺ/^LsI;CCCyygR #H^!i…4$X $6}6B诿S>}b0<֥KC66Spd[~ɤ!kk}y߿7ӊ03^)|UQQQ0b1bjb+++P EخVZcǎ3gMrr2Ab͏ǡh9t8 ND61?ƓH1*ڛM"W|.\.W0bk5?\"㴁͛7 2k֬p]'aЄ 8%@hׯ߀Wm߾}/`^VpSɶPӓIqႂmm킂FgLhھ};ˍpuuHq" RQQi6A-Z >`b,`f1Sкu?AK66Spd[~L&oth[i++ϟ F|lWOT*++QHX,\' 9H H_EĈ#jkk) ,`!""rJ ڰ}$7CbbbP?\.έ=<<$ _~eСO::TMMr.hdd$Ac2T ã._ZZZJuD@4 gOϟo0cHHXێ;;w :TL/<2227nܘ0ao$[hÇ߿XPP@u8@Nz]ti)))***T^MMMk)--t钃ŋ6iWPP=0..N^^_Lw<TЈx.+Eĉ޿oooG ;G/_ҥ Aaaazzz!!!'Nӛ;w.Bڵkxʫ!44'$$ \^aK`` d2_|9~qttt'СC={޽o  ֯_NC)((L0B^^^x?[JO?򚚚SN5J]]]v׿ iCހzXtccBc䎚X5###ILNN4h𔔔b6l~Vr_i4^R;JJJGܿ!F$u>}j``tEcm =yDYYdyXGkFo\YII qr፮yf iRWWb-]tǎ,L UDEEݹs>{7z B7 I߾}ꍞN3$0rrr277S^^^0a^-ZHFFÇTF߿755O:FpPoݺգG!.,"3!}=dG/]/??_FUTT뗝}Y??F& R`'NٳGMMmӦMFjmPv}W, L0o߾)((m5u:҂޿_L>N2 q>z 700}I;&sϟ飢Cu,hmV+2{xxDEE$fkkX=XMmݻ}СM,L UGx?y%}}Wn nZZZxDGGoK-'O +DKJN82mu֌ $cbb,,,hWr.\@R۷oNNNAHȅ |NVVT8$X+2;88[ZZ~l*j[$I"vԱ„!PuLLa߾}O8 \ݻ&ny{{I$o޼9zh-ْ`G嶶&&&Y ֗/_xOGVRR˧Oyjjj=͍Sh***dV]]Z~=ձցK4=<mT$im۶$gF˗^^^jjjݺu:()&$Kl5Qc!(ME `E Dn(]:H<`ʼ~쌢++++&&&xyyQYF|ZYYZdF+Wڢ(o߾eٔcǎX,yi;İaġDD._'E{455L2r7n|Wa6X 'O8qNrر`2@x[IIINNNԆHD]]ǣ"i&Nx̙ &]~{,v٭[h4Znݞz|& #ן;w.00gJUa)))&Mrww~>jEYfYNbnnЀZ[xQkyyyzzbb FvIIIinn&,SLƎ{) {,i!DA|Kzz:g'0L[[\ r07|EU@ ---o޼IULik֬Άoڴ3Fu!_g͚T,59ݻwJJ ٳg]=r("ϟ?۷ӧUUm۶ܹ!ˣv֭[ lX/ƍ7o޼իWq\i޽kkkkkknܸrJj)ÇAAA Ǐ?ydnn{UUj9HYYرc.\УGrqƍ9r֭`zj`%%%ZG|lڴ)""OUUUEE{ׯ)FD}}|h tǟ8q˗c!hjj?~|yyiiiZ|аqFB0R #ܛN>=n8]]]bJcǎypFh4eee'''ݟ8p@B__'NxxxTWW`% O>~ػw/ ۷~Qٳa6 DDnsdٗ/_^bVu>|2a„Ǐx{,d[G!G'lܸPKKkر`kh4 5jɤ*0eʔd=׮]&ɳ䔉%K":88TUU֢`%~ PkQ֭[~:j!)%((h***K.* :~鶶6`0Wy 2 f``0zhBc9::VWW֢p[~zHH9]rJCCð0 PkH#>|pO9^gРAΝۿA=lra $,ZsywgϞyxx5% <{{{:~^z@8p`ܹ 3gD#u}N$cKKKNN%0 =rG|rOY (zܹs  ̄ւcgff ӧ֮Ϫ sih͛7,YCOk׮4I^QQ!v#FぉӧO&L޽{jjj91c?xa`ll8tppB2 rԽ{qơ"'hjj?iƌΝC-GPDd2RRRt:j9ajjJݻy,uȨ+A^x99r ,4.QQQٱcŋe}sqEGG'--m'O~:j9"۷oܹS horKa! V{fy555aaa2G6[B6-"FYٳ+W̼Qˑ`:ujΝӦM?>j-dX۷o'Ka!ov G~w"؃E}M6qׯ޽{Y,ܹsvD1bBCCk׮塖#(Do޼qrr{nWzϝ;IxCE033^ $&&va_v#!!a̙(4 BHۡc~m͚5 ,weݤhݻw'[XX}ɓz4`QF%%%]%ؘ:~x Ua$ORRLʔi\\\'LZ(+11q/$=%0)D`j$vN%^G>~^^ގ;P Q&L{ӧ;vLIIkSB/_.X`Ȑ!xUK F +=XHDUU@B痔믽{޹s'j92F55'OJϏr # L&ڵkK,q08Hظqcii]W^Z!Npppnnٳg=`.Nu16=m4JEa$MZZZee%+y?}vZCCC}r~cuIIIaaacǎEt.N8h Y_C.qɣ|رaÆ͛7ҥKl>}tRgg[ւ`:CWyӧOqS[[{I&qyܹ~I;nݺ;v `d"qSNqҳg=z~An ֜9s޽{s`dMMM==f=:rH:xyi4--f{{{?{0_D>vv}ԩuyzzւ`:Oiii޼yO>+V\"S]]*tAdee]FI&#F666gϞjEҎ+V1bƍ`0.QZZLEa$ ~TJpqqIMM3f̤IΞ=ZT#o[[[444/ F:9Gc.\$$$H2)?N>ͧ" ,Fxbhh(j-Ҏ5k<{'c>}J ȁ"Cssw1#!Auz,!pm IDAT455#vlllΝ;ѯ_e˖Y[['''ZFrXbܹ;wCEq6c q'b0> ~:bCE|Cԝ9Y|` h5| o|2w\Ç{„%IjllxbUqYRRfjjjkk{}x t:= ? O[믿~w5R'Nf0}9t=CC}*.2*n (B6a„ϟ۷ӧOnnnd+{TUUO:տɓ'ߨH+eܽ{WkϞ= #00p޽߿'wo}rr2PUURxxxkk+{HOO/**RQQ޹sBoiiֶf͚۷777[ZZZ[[CgΜȉ ,i;iii%%%39722Bx…CaҤIL&bo"j%"<<ӓC?)mmׯ_C F !!|# =XiiiW!9]bj]hhllܺuF x jEIݻ̬iDN ޽{7nL:i0X¶w[YYN o߾n{g6O(]1cddd̝;ήҲAXv6_gC[[BHDmm(kjjɧf2EMMw5Rnnn111A@H `<xZ8p@Յ PuuuUUՐ2Ԋ0b篿2dHcc#j-R<W^ikk6dJ&4qqUTThhhZK.g@!N{CCCsF?cűIEş䆆u￿x---nWLT kB_;tĉnjCĿGyf@UUZ0L[fΜZ z Oԭ[_~0rѣGi4FEy訫˹M&`[f'$$Al6[CC[JOON1h<&+""oKǏ711OII166A`R%%rOjQ2 4Iýcbb ׮]srr??0s' wر m۶sůɾ<ķ… I_+=455544޾}0tP`'=<{l;wyurʕH2oV^ ?$T VAAQtuu\\\(vvvk׮[l{ qG1t:MO 0ippѺu89Eo}/((pvv611}0 ܇TTTWVV ]- w2TBB`0VVV'OBػwo>E ք ,,,jhqVTTK 7o~KKˣGJMp A>tZ6X7oTRR2eJH~˥8H:tajh<%%˗C#GD-J "%%+W+⢪J2=MCMMMMMكZ N#bbb!YO>g96{{{Tzdmm?޽[tijj,YBlll1UjjjUUɓY,j9IUQQhѢA_ #iZZZvZ졯{}믟?*s7nXȤZxquuuBB:j- F,t:j!HJJ*//_|9j!2EbbG~}}|inB%.\?&&&ւ3X'N 2dj- F\LMMQ Bcee5fZd]~w#GY[[Pٳo?"/O)c*$$d #ߐ=X&&&𒖖˟~IIIO G/ܣG$z0~i=='( 2@,YСCH4C%E/O GmabbbR3G"Kyv)W^<9JQQQ_}Q  W\)գGJXBLLLRRRL&j9AQk?s„ +VضmZ%|ɓ'F$KSE,zabUUUAAA*7]EDխ[>l Fjxzz?~gϞ >رcGwwʧO 'O888_~Æ =ÇW^(YYr%X[[V7o^HHݻQk8f8(UUU p grXf v?~|fff>|O> #::Z`(dNdggs3Aqlڴxw)̯icc#0w!P3CȚ{7|#lyoիϟ?uT##22 ~hѢE8۷ tex***alllTTM;gr'9! iӦq(;wDck0 r1XӦMSVVsj!RjƌsN!!گ_=Bhoo !,,,TUUX 1X . :$ח|KK˶6rzzzQQJ;ۗ|)<<\?˓'OLgJJc;+" s?_aJJJ o^L0j?au8iҤP&ɳ.5[#ãvhK[[{C~Ν۹IWc0bD VkkݻwQk(aΝ; E-(4XZZZ BBMb222" b!Ar p'x aɗ8v?.Yh*ýA6 %l۶=--Ç}XCmm횚jکN`UWW6mڄJ@V\I^|ٹIjUa0 i$2:nll\\\Z䐁A555߼y3j-C|={t=""bر__ߣG0aef9:}?{cc#Q(..f0~555Qķ#_3h _\WW̿N}r?_aگן:uGvqqj?au=f FBI7zhkkkZ0wީՓ&MRغ1c %%LB=XqqqBrjuII 0// _ n^vɉ$+"" ``y400jG3nkk2d͛7ɗo <!S?<)̎;!|U>}͛'6V~~~aaa,! CCCatիqF#,,Ç̙ZvuEeP 7oۛ/fBB`0VVV'OFDD:88]nٲeeUPPlbbbkk|ggg:nkk{}8 ;;;e5(Ch6m"?zں -`o;ý֭[ ݻͥKO8_{++**8+++ }q"h}rssQ d D,f!\d `Ϟ=H6X?@JMM%;?}KILȑ#ׯāŇRt'&&ԊDL71y'III] FHb2#FPSSwj-bG`_h߾}ŋ111vrttJ,IIIkpɓ'gffrNvv62Pl6;+++ W:Ev"==nݺѦ`0CEEԩS'O&ec`;v:u;j-bdƍׯ_>w܎;ٙAS5XX=@dggqKQTT$=#ܳ,YZ #;vxPv:*  t-** bbbr]*ooodaÆ .P(s #FشiӚ5km۶j*rą`#`\.>>^YY #igѪÇq`0TѫW'N|iڴi9 3XG #u^^^zzzݻw;i4iBBB1!=ojjZ|9j!_P,-PB#wp|3tЈWJ-5VkkPki s6&IǙǟ{.ׯ_#) M/^ ΡpĈT}:={6`ȑh֭311_zʼnSYY@tz@@@eeysp"/^}G433377'/| v42OpYRRfjjJ P!ϟ/v!TZZZvx#??_KK/{dX*OٳgQhT;w.gYFT1hР \sWMzzzQQ Ν;|KK˶6Qگ_=sAs7ݓ&M e2WJJJWhoo !,,,TUUӉ܇8;;>x@C?}OkF2m /^PQQ) PKK FAL'$EEEjjjgϦՋZNAc}||`0RHcccIII%Ν;[x1ɇHNNN7nx"l`[)::Iv92mڴNJXJz>lkkkeeD 33|7x`YYOAVhh*׮]K:qℵ5ӧϡCG433377XF%KJJ<<Qk6t' ""By=Xcƌٹs'p仠kaAAѣ!BUUUe%}}}ܹ!Ϸlkk#$ IDAT omm=pY ?&4m(9O')r& e&5yWUU1իWMsE"}3r <Pai4"e4A<={֫W9s洣JXvdye#6' C---F/b)))SI3m``$Ɍ---FFF!EnL~7/Pe V]])LccZZZ7\ր?.+~8[vRrQ˱fffh|Ar`ذl%]7XqqqBSuII 0//YQ^^!LOO'{_@!7I// ÇǍG_Hg' ϧ!vySmȐ!NNN7o$_EfOPX. fffǎzO>]Qꟿ: cXV044VEtMM `Æ LHMM@N,Ivz$߼^ڍ;vAvꄅmڴMm6΁ 5)k&URR*))!ʄ`A.\HѮ\ZȗXC&nn޼ycoooff/UBB`0VVV'OFDD:88]nٲeed~~3N'G[SSB_!spp?Pd1h>>>‚ggg[[pߴiShh(ѣGMMM޽{fOP`.yRܺuk{t钳'D2ߊ ???Jn߾Q$L%Mm߾}%KgHy* 3fN8LsH.+aMJZI֭[ i;qQ˽jhh077g0d4#!hddĹ.t`֧Otuu)%?9rd80::j-Rt'&&])f:99V/_޽[2$6M5/-"n (AKI-C'.j7X«Wh $4MÞ={JKK7m$ͳbJ/Ĵڵѱ+h|$%%Q%Iɓ'gffM T):"*}$?GCTTT^fΜ)A~:P\b}Μ9[Pki z}}} # ]***:tcW4l(_iiiࠠ i4eX5/ A.jEՙZZZ {]Pܼyr &&&wEBF-A6lj ]ג쾊VSS[h2J ik^A1[9Ň}Fv;v#"puuw. #;`ɤ+--=zԩSyvl F9sf\\TR qiw}yIk.&*t FDGGΞ=`ڵkܸq|Xa0ӧ;;; jllܻwa01ѣG$҆x Vxxxss`ȳgh4d VBBBuu5`䀱cܻw^h _/ >}jaa+Dl6;66]ܹ0رc?H.7$=`m޼bmذA|)0|3 :{wBCC||ЫW={nܸ!i Mfee%hyYPPttt$4/.P]]-\EEEsΕ@(cc@ HXX6~Z $yJ'N:uf٫WS|ٳ… (mmm ݺuCEёLgϞ$Ѓu;w;?7oޔ|j 崴|Ç**QRD$yJ;v|rHH۷ZVVVjkk#8FRVV8p۷oQkH@AAM4[nN{ZZZ"##{AѦN*O/拐3&$$bظj*q(mmmsY|ǝ;w,--Q+ˆgϞу`5Ϝ93k֬=z5FPWW_|7o.]2`UVա֥,\~ʕRrz6dʃcJ.[… ݻwG#F>}*e˖;FqիWLLLNNΘ1co޷o߸8&ZgϞkע8 ց*++q|wݷo_LL2jE1+qπUSS0a„>}5F۷oJJJffŋmmmϞ=Z2tٳg߿PmLftt1 ¥K VWWw|@KիWDDǏKp|xKKKʠ999aaax C!Ç( іǏS ^zƾxb۽{7.h4ڞ={ʠ`EDD͘1˜iWd>|,׮]{ٲeG #yw>},Z!&|K,9z(©})3XwYl:U11rҮܻwmĈKݳgO!w=vXkkkߟ={_IXacc !@ * Fn B~<pqqS/^\|yx? Zh4Z``Wmٳo~#O3g666")gFEEQ@H\fJa䌝;wC1$}֬Yjjj%%%Kt%Kjjj^ҥK!!!ꅅOM3gJyy9%0DAAAnZZZ8{***[B˖-*2ZZZsSRuu3g)>^~=aW_}E:u|2jr۷oL""=zh@@Aףa䌸ϟ??zipxQSS`ŵE1I~RSS322,,,.\hkk{ܹϟ?zyy֢U(?~]h111 ,""BxE]]^zݼy4 z~7@AA8766S1 !ѣ~䄪={:;;K8oW{ vvvÇb(ANC1|,]z-a=roݻwK,iz>~HNK&| -,,lѢEb1vرlٲW^YYYQݻwxc IxxtollLOO];eFmcc#1Ie%%*W#F|͛7={PNvZ+*FaϟswwG'9'N444G{l"Y$''Gߦ!xyyý{h4O?$t*(FٱcϞ &8;;;;;۫"Q bz!**J[[*ᐘ;333Z4~owҷo_qJIISHHj8\pA1|~B__d2o޼pM(8::5Enn.gYjOMM]`n` GA΃$:::[9sf)))bO龯aÆR8,`0dq\DGG^xAyK*++}ƍpiii͘1^VZwN`=}Ν;7oVQ|}`bb",#C?Ғ%11QSSMMMsÚ5k:|rrHuٳGMMmΜ9ԪAOO`;wQy߾} xrQ ӧO7O'ytȑ#Q {ׯ_hǧL"Dylȑ#~~~x~ QΞ=K-0]v :tذaF.gϞN֭[SNE>;@ϟ?`իWle̙͝;r5 F9s挱7|CmǏ+ 7^^^(AHUQQٺuǏ',1Xfff`0M]]ݍ7|}})]ݧO;0KyyիWL"ֱ$&&K[nmmmSq>| ~? #\xrtOR#;vbM6 ѣG/_+aÆ)EM? ٓ﨨=zԆ4NNN(III***b?N cǎuttZZZ+11Ϟ`:Jssszzرc˗֭a12MNNǏE.aXǎsww744D Xb1W^,W\ill`ttE iqP Q8\R^^.+>oߚ)1ER=gΜ0fyyyrrr``dHA=zU>}J ^~tU33[JDi[}6lPZZSd?~O`: :&awJaLs֭BȔ)S֯__TTT\\|(JE&_n_+’FEE:=|26nX^^g㊾lɓuuuķ2"rgϞI #OOݻ꺺fddS8((ЛylW"Ԁ¢&ŞCBBjkk)I6iii::::"߳g ܻw!w܁[ZZAEEE***Bww rϤIBCCL& '_*((8p B\"F.KDxx' aI[[[!ϟ?@s1rHSSS6ݹ2|pϟ?SSoZMMYfQsr|&fjj2KI)4Xw9Ԁ"&ܬ?f cAaXCDx致ݽ{7<ܧOSSS K>}zrr2f"Ǐ0bwww1hРׯCpL&<<5__6wTg VBB?7!ݻ7q8?***444444=ŤxrCSS41uuul "_{n@@].J.#shx:'4[nxqP⢯@U@Q+モd6X F]]Ont_:;I UXX92uTݻwehkk~BXPP0zh(j& n;O  .`999YXXPۀ1а˜YTEEeٲenݺV6`ggE8p Ym߾B+c~~~aaa,AݻP\"F.c mΟMC'h[n*HF^_,<fW6OW0)ۈX}C59r1̰;wrwss& v9#ɮiaSecw`۶mƼ>`~HAAQtuu\\\^xLmmm߿Oisrr dddzjVϏ%_YYg۶m&M%9 A)O ;թ@LLLG*\\\zI6 ݻ;"`q2e ڵkܷ!A)! t pԨQo۷oqq1CM8[#bs; n' Y,#Í8 ִi455(9yd--- ޞ%tf_'XtJYYSS˗qqqDm455}l8xN>}b3,U`drjΆFyy90==Wȿ񞞞#Ffmm]RR!#u;|I!a~"rU^^?R@EE%$$˜9hB#yd2 F%ἔCm߾})巡NMMMm6X<~[OOOGG֭[x;AMnDDD:88]Ύm:`0N< t;s#I//A\Pnlx IDAT1'%%%r,aʕJJJ?~D-1ķo._k !~v6M^zEp1QG111__Ǐbd=Ϟ= VKK᯿&B`t:}111Dks̘1#**Ͻ({{0 .y&wwq$Dod>y/ ѧw^qqqyܹkh=]]] O:+`WPP@"6l1fO~2eH@y.N:ŻQNNNEEe֭l6V^yzj h>11*ANNNKK S#O>-)){8<]bųg.;`0OXY@S|ݡ/qMBG5 >ݗwp̘1jjjp*.0 ---kkk 77W[[;44b%&&jiiq &hnnw9j(6mgV[^^y ڼwcyy g#p{[ 6l\fُS'II{… |&ׯRRR-_t8X0'V@۷oaM4\A\ k} ұcjjjtz9s\|%66vǎXII/d9s06=x:ϣ'ɓ'.\y :`aojjCR̙cCϲseX<ECC̙3oD{8M`P(tR'""9/0@ֲe˨T*wcaaѿ6tO6~a """ttt`~6i]ðTMMMjժŋɧljj g)<~ԦðCA ?~ݻwy yGFFhEEEd2Yi2C~~>B!/  rB:ujMqy< BLjf-}!x:޺YWW`^VѢak׮0,!!AAA37ں'aqqq,, 8 ۔Ԧ1c`);1wÇ/\\\:TYтÇ;vxɉ\x Ν>L[8nݺu7nz}1 6CP`g Ö/_~ڵ6{v:{^Mee9OC&NrsZlٲaÆ۷o7770Ղ v]Q,kܹx 300麺е-++srr߿1H$Ҟ={444V\ 533h`1cTVVN6MSSSSSsڴi  &4ν[ `ĉ!!!,?YyQ1bȑ &x8_.n`~ 02;O懮<,200 =zsnn.l_c͞|PnmŅE`utsqwFdeelcY*UU%yf/hEׁ󔊊lll444 ֕A߼y3a{{/^pFiQnΜ9smo޼k;0l+(gh"ލ 6l`2!-G5h4ٸ`fffdd5#죣KJJT*anđ#G#X핱/**244[[Lƹp|wʕ+<.]~pD"q`>nk'gMkmL{aXxx6c9޶֘c3U躃?HKKO4+FZqq9sh!yW2;y+&&98+cojj37Sb0***VLLMM;W*ӧO \O :i&7tu}}}mmm .`3JGklݺU]]}Ȑ!999מ ///NuKKKt'Y{{{Õ ,KSSWe61}C?Χ}{\ݻ|ooVNNOk 6sTW9rMy<躃O&_z#-ؾ}; ##G=,Zn]_%O+ f߿^x{_h3nxxY0 {⅍MJ]OB>=n6 mZ sN__Nmi9sӹ.:X?~1cF-ʜ5&Y+s888:tðS,237***edrYYYttt %UTTƮLN6MVV+\mfyxxtMX鐃%)) #uuuud&$$={.?lAuu5gOxY~θuuu4yݺuMnq!'̏}{\~{am۴KfO2Yysn}s]tf͚ER:m50m" ;88_|Vo}ȈFmܸs ֞o=sS37pMm}}}i4ڶmZ(0,>> 6vzkgMMO.]/_NN(B,qqq:sZx]]]}}}###?|^nil/<ݟwx,--m~;'iiqNxnof9!|:XUUSMrM&`ƒH5kt6aXzzz[n%%%yÅK. 7e_`?۹{p)e8 LC! _ҭ_|0 Llv>Ol60*g{_cWԩSΣGnf]ēкO{GE :''G[[;,,f{Օv۶mMMM,+884::Fqo1[pڳ6rӧO7773[[[qc8d~,vzߞB\^^~ҤI>}⾊k"""{ᆀiZl|߹D@nXjgg!(FTT\?Ϟ=+**"H6mꢝ^Çm~ fzzz$3t}6^///=9^xbTTT`_:OƅNO:79ӧOҸ5NKKڵ _EMM;ٳEEE9;L޽勽}S=;vɓ]1Dj,#*L'O h4bO+ B% ϧY,VRRҴi~jV^`05{QIIɥKk!|ɓ'3gΤRDks\rh!CYY=44J:` >Bv&@\/qrN'‘DNOt" ؼys'ǏT/fh=T~u!ѣG kg鱱bFޯ_611!J=~8MLL,&&u;v,''g8Efff,+++h!}+W:u^lf8PUUŋ|^rð8;;;++`MMMW\׻;w+yׯpO...}ͻdl~/i:''-B Dqȑkܹsuuuk׮,B8|2L5kB}ֵ?>B9@Mff֭[Ǎb |-3'N :tZF,ڵkcƌ$ZKrrrnnnD ! _r-_)++{@^^^/^}9͛7?}k!--++$ZK#**jD ! FDD_3giVJJȑ#,,˫09rNO:w!ӧ7oa}VQQA](0444͛G "qssSQQvZ_~ǧ۴!^Ϻu>|x1cn<>>˗GEmo߾}\~}̙w޵ Z 3H$OOZ999ޝ 077Fuaǎ#Z|JKKh!d2ywxb@@իc JII-Xw0 Bw?֫W@p{DǏ ELLLTT8"$%%;tRX_>~8s|-[>KQ(BNEE%<>hiN;bo&OOOuus={ڵkVVVׯ_q,XPK8jjjwns0?H$ý{rssWXcooonngD)..N___666'NIMM$9sfzzgΜx?~8(A0ގ͛7yw"X8p`@@@qqq@@@}}tog!~NQQرc>|7nXZZ^r-~ 4+V8wuNNC# pѣGt/^33##x޼y^J;;;eep}`zjȐ! !ܹs'NYf̙3cbb0 #Z8qѣGPVV6vǏ/\022򧕶… ϝ;w;/--Onڴ nBE$!`h| mv*((Y```iiK׮]+##3bĈ'N|huIxx!CO:u9\gϞpB33L77P}EEEՍ9200Dw`0PK8q"l/Vaaa~@wbbm gggXhBB}}Fzz/.f_zSoذ!..N[[_z5rH??)STWWk:AS(OM^DDm0 0;;; ٤^Z]] ..>eʔ?~M"q|񇸸rTT^6ۄdرB?99[B : 4hSZZaUWWݻWMM-++h.3 y_K[[{ʔ)@t&`ܼy=zd2֛(++?>Lhx:u*ή/UWW9|0̠?;w;1p 6s%ZܹPRR0`P(u \%ܹ3m4XeEYYy޼yonhh ZZǏP(˖-+^SSSuuudm~0qJA@GՂ! i} ` 0lqq &>}_}[n, 8NOG=y/b߿Jjjj&&&h͑#GZ{W˗/'ZfϞ0 z!8ŋuZ$jΝ}|bݾ}8p;wp4WCr'HJJҢR{eXĊA 0 o`}h]|pwwWSSk!~-nfnݺ~)**._<44`N|-((hРA{;y3mmm*gϞTVVN4 LÇ@`}vnjӦMD+Bxuva͛I$ҷo߈@t;EEE'OtrrTƍ{֗/_~7EEE!Cpb~w8%f9"**J`K@Z&Z7rssn0 5kR[[{޽5k֘dȨQlɓ߿-jkk/]4~x"1** qENj oMbYz5Ot$ Fa؋/@UUU O>}ivv6a eԨQF6l;Ʒo"""¢Ν`(7{슊}]'Yp[^ !~| n|F 颜s IDAT-vZUUaF3f̵k@Heee\\ӧOccc߽{UTT,------,,,--qOD ,իW 111,_~3f̰P(1޽{wڥ:|p܇u^t >vؕ+W-3aaa3f̈;v,w))7۷@qD:##˗_ --mcc3rH]] 8PII #===!!!!!ٳguuu111OO9s8;;Sns̉pL[̜>}zAAw}O h7oz{{h-'ׯ߿?TPP0`K(p[ 4:[h4|f@G?p`s:thŊ=yZ=,Y:jԨk׮̨$B0l޽EDDP$U077JJJⴐ^|iiiyڵ3g v H JJJ_΁4L&$/SØL&陙 殙Lw]]ׯ[ZZ fn!!!0}466.\ի/_I;G:n,^ڵkL0XqD/9'''???//ׯ_xPUUq~ ׯ_?eeeCCC=====]d֬YӧO?{n%;;{999Vaw=<}zɒ%D cc+V;v,))),,LGGhQa#;;{ҤIeeeGFF\2(((//ƍ+Xs,pEҸ#`0`}}?SZZZ^^͛DkAJJJ9~8B100;&111䚚qnY9rdܹiii`Ǐ3iii''hDt_䚚)))be!ijjZr)S444ҸWի7oRVVԿcc6[rssh4ڲep$!!qׯ e]Ft &>}zٲe<3rallbee57։&~_ϛ7OIIiK˳,\2MMMSSSK ݟ?aXaa FGG //&XpoߺiPOPN8щ̙"B̫WΝ/Մ@ %44TVVVFFڵk:⬭Y,|٢.[aaa11: SظrJdllv $..NQQQVV6**FlݻI$Eqq1YBB$ԠDǏK,9s^|)vvv:::.]/l6'\TZZJ[Bm"&&v[n6,88[Cβϟ?J~vuְwY[[(!T)#֢D~={v/^@ڽ{7< 0ٳgNNN$uȑ#Ϝ9ᑑ1doo u 6 :4%% ^^^qqqݺu*++`'4A(.]ؠkvVE0FSSsȐ!pmV떷oh7"`[D"zJ0"z s666kܜL&ݻf$F Vд4 À󉖄@ GCC/6l؇ӉPRR?}4Z=H={tT__?ynrDVVٳ !b:tf͚DT"L8133sСӧO#Z`Ҭsssoܸe˖nZ(--}_=*{=H& d2n }sY[[߽{ȑ#1hjjnٲ%<<‚;Y3noo:ujE&~xǎ hQ_(++GFF?633KHHB]]] O:ʼnƽzNSSSMMD"mذc͞jjj?=##E^^^NN>11ss9a˖-sssqĉ&MHNN=z{JKK=*,,vss#0+JWWW/_'ju={MRwbZwÇ80sLSSǏ @O`nnvhhhcc#JLL҂E0 ׏0d;w5JKKsmTUU=zVVFxx8hnnJLLgl6{&MpK94dee_TT4$$h-f%%%}}}+z/H*o߾6IHHN?z(l޽[]]ð /// // =zjb JKKt:}>lllL]_(ϟn޼e˖'{ڵ.ŹұcjjjΜ9s._cxWxd2Ϝ9a|ðÇF"xѩklPPN1cƙ3g8%RSS555Y,֪U/^̣O,:^[[d2ొʪUdׯy| rqAi~1{lGCCra &&&...DA 8f?.&&#b0̄g.[gl̿TUU`u;Z ᩞbCR={٦wi&\ܵlvMMMnFFF:t[Nt8XܛL9 Ƌ/߯sN ׮]aXBBǵmN b)++sq…!!!VVVЙJJJl]H$EII rʕ+EEE#bn0L&o޼ WWW__H68v$%%[ =a?pss̔vĜ9weD]COfyE7vfϞrwǏvqqf;{n=1>3g''OpY,ضmoS,**-p',,LBBB]]===h-}"Z ӧlmm ..W-!x0eʔu1Sp5I...`IIIܧɓ'jjjǎ-,___:{Νʹq;v hI g+''G[[;,,f{gmmmmbMMMi4'|ӧԼu`2t:=)) \^^^拏`XpSQzHjj*F 'ZKի奭M?OPRRҲؼyUV>SEEŔ)S81SSS ֝ mll455 }Lmd.GO jjjGurr:88:t 箋lll444 ^7yf„ /^000?~mvv9sZ =rYgdd7N^^^FF6..s?{z40g>}dffF&GKDD,[LBBh1[x>DZnJJJS^͏?8V~~>/_&hii-^-'!bsssgϞK}}ɓB2FMc$WS__?w\pDTVV ss3L?c&777 `ܸq{{~ZL"CIKKSWWqJpbr9^~ AAAW!!#88XJJJAADk0דHgff!ްa֭[~~~ Ƃ y͛M .\}-ZpM@D =oH$???4q >~8bٳ;eUX j[|y/#4HKKJω@)޿onnXx߉s)((pҜ=zfRUU_BCC9NuttDEE/^H`0K,|@]]l* S Ï?/_011龁fϞީez왑Ǐ 'ܸqCNNNZZn?ԩS'OP(#Fڵ+55Oj#**JVVVQQ;Vرc аh-B0F͚5h1奥/]MC:`W>?~Xt)ݻw1D7n:cccRQQ3gիW+**VG 'NP(h!a 6 0o<ܗO^^^:X߿OKK+--uttFFF111`~~~e0*SVV&//` ޽{gjj +pJF>}tYYYL޾}{rrr k577Z㎎7o_LL,$$h-B30Ąh10V^M" Z "Ћ:u5k[,**244|9a𠰰p0< ::Jr}˗L ӧׯ711!H%%Yf]|WMuu3t?0ȦM-`N 0 [hzD޽{gϞ,t8!*xTOO 0;g['HO}mVVVB{SLaCn۶L&huo``@P?Nʏ?f͚#+0,  >sL*hAHRR^x1mڴ`&..٩WZZ |0`fggH$ =6m233a~͘1#$$D JJJDkѰ]vH$KK˒'O=zAA<7n$Ƀ AŚ2eʺuLf)B ÊUUU]\\8f 98… s^6{eee/^6mD"YXXlٲ%11M?++h-0 tǏNZXXhcc9dN@lA]]ٳ#F(**NsssRRҖ-[,--aXKAAŋD ,kÆ #G ڲ %%FIJJ޺uh-BÿP#V QL";233L"֯_#BBBf̘ѯ_?233۸qc||||\ RdI>}233#(8.`1bذaĪA = &}v B< WVVFt~ |mۆJ&rrrSL9|)\RRbaaA"vzA>ܹ v.'nnnoooT ð Ƞ:V54MTTȑ#B)QSS=z4ZQ|rYf)))>}JTX+--M]]]BBƍ]sQFiiiB޴5p?։K:ZnƦfss߳G„4 B =/_BpT/%--MWWL&oݺUckkk֒8sǏ&#<<\RRFqu6=x:ܹe4mŊ)奥cǎ466A␐]]]---:~֗E>ޮpyQQQ]]ݷovZ߿h #`XRZZZD0l6رcjjjOaXDD1 377z*a"""/i/gox;ӧO`Y*DG4hп٧OmF HLLҢREى~:ydX2'yɰX]v1BN:Eccܹs'Oˬڵk1 KHHPPPh>|f> lvMM aL&3!!ٳO|]zzzT*[ t:wf+@|*++]^ IDAT]]...b3gϴ)ݻ{Skhh/իW?z mll+ohss3'{..KSSoO ;S.8̢fa*WWW__>yI{9{[ą*+z]F4bh{'6}aKva,A6={PTquu? :j-;;[GGGTT… ꌎh˗/>}:ad2 .`\[g\Ǎw1 ÞEU{`Ѓ@ EL<>>h9}ɓ'kii%''Td6)))Cӑ@ p}Q[[+22<--ԩSaaarrr7@ƍ3YYYgg/-zjGGϟGS\\En:f̘$&I&!HII}֭[믿***&''>Gadd2lذ _fP]]=~3gάX""")%%%-,{{tB4!a_~IOOҚ:u+`\ѣ>}XXt644bcc544:<}TQQQNN'-~,:Sz{Bh8sLhhhAAehhhM555{zzjhhΟ?G^͛oܸ{kk봴4 *8::$$$$iϞ=+W}$$$ )5k֨ʜoll 533h0* 7)… ...rrrϟ?wqqнa>>>RRR(< E--- , }4uuu 7nlPߪ蒒*iڢ &pڣ( a@aa #}pWUUss,kݺur *4<~نu5#xYBill?߇ eeeedd^}b {nl`555hrpp8vXJJ GUaB11: jjjZ8X666AAA; ލT { ^RRr޼y@ n݂K,v:D/0{?Hk܋/zzzr е .. Ėl `R܃0@0ui>}dffF&'ᄒyʲXyyy!@tWr}}}{rrrLLL˖-w'b6l9r/_u,~,2 rsseddڼN&%%bp! Z8XzS&))y- 'cֶum_%XU`0֮]K"_~ݺß)---//MC:EEE}`t:Y֢gaa!CRSS1 {F۸qc  tdb HOO n:=ǏrrrӧO0爈PTT; 9  :@yE||ldd$Zz l6{׮]$Ҳh9D1 k"..~}BҸ!ĉ_zeiidɒ3fegg6ҥKWNJJBE93zd I&8qh99soD+<"j`ƌ߿wt!>ӧO7o|M===33Ν;G%Z1`ϟ;88/]U~Ayyرc]iӦ7oJIIדޯ_?]QYY@ "555W\$Æ ̄N //e˖>}z„ 0YYY!!!#nii +@TԩS>|X]]-@mPWWwI&Ο??##cɒ%WRR6*8q"66vĈD+YDFF444<~_~!ZP[[ 0c q-C }PUUUooT@777K~~~eeeÇ'ZNO! MSS3%%֖h9CFF:t迯y,gXZ}CۃdeeM8Q^^^JJ ((933sΜw9F쩪ʏ“'O W(++eNķj*UVq4|KHH jCnS ihh 2e তhѢǏ777 X #**3 ťh9?[v-Bs C-~`jkk666XD--@xV__?&&0&hnnw9j(---7fO>,]]]N.6X^^r [ 6l)l6LˉaXVVFxx8hnnJLLlJJJ< ߿O6 ׯOtt4v$FRUUT/_MI/9Xݬ !<>lll\ZZ:vXMMMcc㔔xۙ3g˗[bccw~ L&Lf@y?w\0IU)4 EPHS<=ۡ,_=S< ]OQQQP4FSbA(MA!e?)I6l&3$B>;;e,#BĄKH D7+.. DcvsɔYf4JsssD?111ŋ'&&{Auuu-Zގw8ݻNj2wC4SL҂P/8@P<==> HBB´iXrqtisΕ'555t V\ɥd/,*jbb.|{:Ҋ 8p֭?ACݺu AGG$FzX"6uuu[0`0;@0553B"55UIIiĈ)))x2dxfAz`P/ЫC4Cb07 9t󷾎V@OOK2X?~Ϟ=__~A$==]QQ,a/ AԩS`!%x477Ϝ9A{{{t9 , N*gw޸qD+ %11q YYـ{ $k!ŋzzzx2޽@ TUUag`QT2lffKD$%%L`[t)z.\xU3 XؗwCC$JUQQaa/%BҥKEhllS\ptt,))qtt\&X?~H舾=SǎμyFSSΝ;4-%%EGG'33c$"""\"*z+V5 %%5o޼7oq-GSSScӓ6?ۇݻO*jii1b_₆,066ΊvvvYYYXsΕWPPyM`` |))V,4i ȁ@4XIyyyEEm۶h@EE9/^899)((0_$R$K}B=zJJJzxx\~P9f힞!|aҤID"qx2,>4 22/%%y; Vnnž}vɇ!Snn.WUVVΛ7^PAJKK=n:雮˗_~+<<8w6443C---u˗D"qƌh^wh$h;_jUhh(ϟ>}optAh***,/Zt)ƒ HѼݻwD"jƍ$ 7 III֭;sLYYYdd$v0{捛[mm˗/^w8NFFFSS;C}b0cǎ  Laa!W}@ L6׀ f6m7nݻwGw8=JJJ ;hժU/^llldUݷ p-еk.B۷h^UXXH ,,,мJ[[ HH%''߹sgƌxV sH*---++S޽{u֭|/L;4 jjjΝ;d?4mڵgϞuppu.ɓ'׮]jkkh,@VVզM>̋!򨨨HtwI&yƅy~xϟ#b``UxAC GppI555q #--ۛFݼy  8gزeˑ#G233---!AQ[[UO>Edh^eddwh44EEE-YDAA!..\ihhܽ{PC,uuuN8S'Xcǎ3fӧO!A|S__ΝL1f4211;4rrr<==\2|4`0o_YYY(++ ]y2O#""] AЀUt:]WWͫ&Owh4TWWzj߾};vw·o.\hѢ .mTAwwÇPER)Jqqd /_DGGGFFh4mmm___ m Ax[```ll,4{}oDDDĂ n߾ͥ؀,@||n:z 455DFF>zJjjjΟ?wڴi/, ܶhiiz*/rHlll*+++**1 0k֬QF *ZZZ"##߿M"мRV߁ ;⢨p޽K zɓ wލwBQUUy 9t*z-, wejjגPO㫫UUUS_p AA[[[DD:~QYY~z!F;4ݻw&L `U]]]//vPVV@ضm[o  =u>Bt߿?gΜHLLLJJPRR9s&)l_g//O ϶< [[7oޔ)**~4Һׯ_;;;3 ^ AExxwCPTT$ACRMMM}}zAAL Ctܽ{pС^Y 8< wu7C]]] ,@R1b?@P'Avq}}?+))I^^~ԨQiii fdd˧2hӦM+//a$"""` ݻ-1b@NNnqqq]]]8 A`Rzzzo/'ҥK>/2BDZZ֖NfB7o?;))iɒ%y??;wttt)A}T*uժU9s"$0ZZZ} AP@HHk ².@ZZz߾};F'KKKocCSS:-fT*UB_,"d5oooŋ &roa>#&&*++W` ˗_~+<<zwBBB֮]cw555=8--OO,Pp%11ŋh4AfɮT*fW$%%;cƌ|zzԩSkkk`v%B]tiٲe۹s'?0t:WwCė/_޾}ӣƍǮdC/v ++w4 QQQ/VTT+((:?|qηos`\]]GY[[a˗/EU[[˱$@` IDAT $( v1ɱ̄  ꊈ8Tl*ʿ!sssKII)..3fL_qʔ)d2O ymmmW^-..FөO>EEEǏ~项s4CP0f/_z˗߾}CKX[[O>@ <qDcbbbccDb@@ŋ%$$ 7o믿{? oee5z'O0RO>MNNNNN.((@DBBKPcƌ;Rzۆ#AWW޽113gzyy9::+FFF999  ::z͋Wե$%%ݿH$ZXX̝; H蠿2+cnn}pႳ3zOQQqѢEp%{`9Ott;w RUUuɿ`޼ySNWo wMHH̙3gÆ NNN⭪'Ot1o<;;;8~cP666=zgDEE] ,@{{UyyӧOТ<~xll,pvvްaìYPMMͩSΟ?˗ &[~A***B/^ 2zh/////iӦk!As禦 p %XJ 99QF QaCR###>+YY%K[nرxACVgggxxxhhhaaʕ+׮]w\` Hnn.WM8ͫLLLOmX,@jj{agVX2?/[ { @ǏONNܽ{/2h8hѱ?~$SN7oѣʉ'edd`ӧO֬Y#vֶ~zk׮1 #a۷'O$:;;޽tRf؜9sN>]SS \\\dddO>}_|rƌ%%%2֭[J8TUUnyyy#FMOOž`0VZƫ,< ̙3޾}˓ `!O?.^(qL& ŋ ʕ+JJJ[l;H(޼yONN --yʕ_ &mm툈.:uI &<|AvISSS={t:M 444n߾MR222Gѧ35kָuuuĉ^UCmcc#&&#aѢE]]p^akG… y{>} 36ϟ?..." wiooDÇjjjf͚idd~G|ѣGzܹrdvv&N߰aʕ+n|F5 =VQQٰaH|u^0QWWWWWa}|PRRx?W\3fLee%ޱ@}rn:555cc† Zvҥ;;;\_ ./_M?]GWWwӦMHų i29tg3Xa===,rttd*ݝuǣkw__~A$==]QQK~7eIt2b/_~essW¬BJJj y]WW7n8lh8z(@DzA رc 3gΜ?MT*F۴it-СCD"X)**RWWٱc>ڵ˗iMD3- .\xU3n豻{gg'v^RRJ0kqqqK"H_|-B%%%:`0  ,'p&񣞞\VV 綇D8^ʦ&III&ׯ_kY&XVLL1B/??- XhׯiӦ$3f̀}WTOǏ3Ν;{4!V.^H \\\lˡ[n<<<._ͧ f_566KH)**RQQQQQ)**;hhhPSS;v쐜:Lt9_H$IiiiCC76]ی9211>>ӦM;FY[[~ZWWp V鶶,'/^TWWp<#--ևh/^p:'++KNNNOOo8777Ѐ7!h(ٹs'`c~$lll7_ -L~ڴi xG)))ǎCY hhذañcw,:uj8訫{z^UUu֭#F7}}}//]Awĉ 6888 Q!MZZZVھ};"L1s;xLEE&X4~(&&Ʊ yR]]-**Z:mllO|) Gf/SsߴiJe%༼<[[[?;ԃ0@~~>ށt,̰2m4V9s@ ̞=۷ox \+WNN[gggTTOO7oޔ!##'YYٶ6yyyA|}}~jiiiaaA tӧO߾}իӧOs, 8ΣB3X!KÏ#jjjdee#JVTTlݺLOTWW+((tttZ[[hmmijj2l>|x˖-uuu5gϞ~.0|L>]LL,==@sέZj̙wޕ+ApӧOI$0 %HxG10 y#F}_[[ HII >}B$%%`0 }E~{5;? #33c޼y3FcEFCC:TyU[[("-ޠh7nX[[ u2B{A__o,WCϻwLMMwڅ&aaa::::::ǏDZZZ'OޱcɆ  KW^kFFh+**5559驹ooo FaǪ}!κddd,Yw a&XXt)B; *>>~ȑҗ.]%:>j(ooo\Z4Aʕ+wƫݻwG+ܺu @ `Ǐ#^Zp@آЂ wD";3`pss{ĉ.]dɒo߾ 8"⒔gqJbbbHHB9qℙ@$vBe痑$:s0T|~PUUmfbggx[o\~'O}xx 4={lԩ[l;&xgx<ݽi&`hhXXX(_~M l"viӦJNNFc'O$'' !TDDd͚5xª=Xoo۷] ; &hkk^x;qF?3se===---ҥKvvv>|{sT,O5k9򔆆{CCܹS]]ظ=sa###aQo)77aVOnܸ!))%<7aBUTTr劀@ׄpŋūUobfϞDxZtс/ST؁ÇIHH@Wn \F;v8pz *x]oصk@@' `!RQQ1e?(ȵ^~M$^UV>>g y9γDhϯ^{^ű=Ek `0{LSSׯ_="%ijjFϠ3{U(0b;,d29##cÆ /_:ujqq`ڝ8qۣ8 aܼtR2|Acƾ}a_K[(:N$/,t4.1-#ǎH$b 򡫹W@V.22rΝng+hYYYljQ(SSSA?tGGG"w,GkE HE`Ϣ/STӝBBByyO10?19Ǐg0=swazJ[[[RRڵkxC3BnB"KKKeee?~( 1qDG=. &"OR8CCC̻w9R+WRk޿p#7"==a9M{;)ok!D"&&&'Of}q8m1?ZCC8''eߜ 55'} {U{;8ȽdeeUTTrec#;yݻw{xx>>%K0=X|[8=X e۶mD"QGG'==pfX$X"KKK zH$ɓ' yf2uR7F^^6[\fYsI8Nbݺu>}SUUUVV8_z͚5_̅4[[[앳؞fųϽ$i9KI t ((( R{>͜ L`}# 5  A:*+++))RJOO`eeUTTĿKZZZ$%%~sItX0eT=ruu JJJ*//`Q($%%gDs^LIIAwTQQIKKKMMUQQAҥKsqqAKr$%%, +R9@Oq)=a4fNĚ]O!۝``h4"~,:;;W111))(-` C0:wV`*++&M]<:~)yyy { ,@3 k  VO9F8Nx7}ҥh*;;;W^%3ciɓ>}-^9>+YO%Y>SߙO_gib'#Р~,322&LFnQ IDATe{ahX%X hDyy9pLPW^URRݺu+_ׁძ+ٳgk@3,WWWC,[dpqΝ;KJJXXYjUWWwޙjkkڵ -^9>+ǒܧ3c4IKKswwg?}Ҳj*"w8}ah$XSWWݳgǛ!M铿?`ر=-+***aBu/7ʕ+wm(?)({n'F;z<@XbP&L`uuumܸ@ =:++ px`X'XxMMM%KxOSSω̟?_Hf<5k`Ϗe˖]]]3gH Czihٳg7 />}ڳgfرc/Eli <7I/0 lY!`/^ ` ѱj* ##{n.M\ii?,++ 077wl?dtazڴi"""&&&ؠ!7'OُW~GIIImLL`u]E1/{=N0K.%̣5`7oޠk*H .pSSÇg5A NCbXx/7`~:::۷oG7oN0A[[[WWŋ\|YOOOKKKGG^!Zbamo>uuul:@OnܸD",:t#144|!2=5 Ulhhcǎ9oLh4ӧG)""z! &X ~7Z\\-..>k֬盘;)//{Yc:;;ϝ;t5$ٳ~koo6))YYv,(--}IBBBIHHpsstww0a2 v=`;R!{D"JY(%%4ͪ%HrIKK(((455}N,XL>]LL,==wԴbŊ+))? &AAA222|ά5&&fʕZZZ'E d͛/]ٳAR%%%111_p))ShhwS@׃%sN=XW^3.We/Ssə2e [oh\*789sfڵ۶m۷o߅ ٳl2~w&yzz>ݻwEwvi``0zh999yyy_׀!h4Zsss[[[kkkkk+AKKK^^^aa!^AAaĉ/600022%!ԩSג%K3[n>}:@RRŋ={+++;99lڴ)SY[[?ٳ-:q™˗9VSsgϞ XZZ9scEEEhk~믿?^AAٳAx=ze˖/^뇄8::B))))bRSS&X<{w@QSS3`bZE3c %%1cƴ~>zjyy9ڱ'xۘ1c!!!7nG+! ץK8p`ԨQx%8f͚sڵ;w:99M>}8qĉOmmm킌pKHH ;!BDDDQQe2oyyy'N033HU666,'DtG;v?>\-Awɓ''$$L:;F;u:oĉ7nKBwаƿ1Xw\7زk Vbb"èQ.^n}PCWE=sL[[ۂ &Lp whAE^zellw8}R|NNNoWh=xťĉK.c*`AAA+W=ztHHȷo '==vΜ9߿?zhYY?,!!w\x @ĨoڴL&۷  ̙ckk[XXoܸ[He8 oDOOڵL&o۶ Nم \KKܽ{o۶[/`񘽽G>}jkk{!==5kTVVAׯ===L\QQ,//w\&X|1}W^yzz;wnܸqK,)..;. 꿢"___SSlݺ|޽B `۷o,YrM###ggx~ZAAcOOOcc㄄ 6C|3 ݘ1cΟ?ȑC9r$99YKKkŊ˗/'HxGAР47f`0jjj&ޱࠩ = :;;oܸ/))}3K@ݻcǎ۷o={v׮]sww ={]&;H`UWW9s󍍍cǎ ]d^?wܵkZ[[Ǎr%KVKJJzMQQQK#F駟IUUUUUQ TwwOQMMMط@PRRRSS#Hƍ;v,eĈ&&&i++++44Ν;4mΜ9֭;w0١`7n={˗AAAG<<-^իhL&WTT!6 Çl)5552]]]2=WǏ,Zhڵx5XK(<{ٳ&&&AAA .=%DDDF) /T*c"U[[`02AEE9B dBΝ;sL]]Κ5k/_ Lׯ_\rܹ99  O h4ǏYZ)HIKK;˗/CCC#""(ʌ3֭[)""w\CL ?>{lll,J>}?xbqqqC hh555)zPSSCѰbF"srt:=<<<,,,==]BB" `ݺux5Kx_x… UUU......p'xNֲdQT*+6rH0 L"VZO?,aGSSS#""ܹ,//ooo/&&wt  9B}+Bw.(]YYYxxk%$$\]]-Z G&XFwwwJJJDDݻw}<|kkk8{W-[`(**:::899'.DxiƍW\YzSWIKK {UYY܌boN",`7t'Oм ```>uTHkhhhHIIILLw^ssԩSn'k?|K111eA$11=Ȱ^=hjjʈijjSWWۏ@?'&&666XYYyرc&XJ} ڭU\\ rvvvqq={6)Eii) v.1477oܸ]f|= V^TTMXhjjD ڄGuuu:88Lr4JKK꒒Cd2A_$%%0qpp011ҩ! DJKK gx͛7MAH$ٳ|A&X|III555CCCWWWwwwKKK.ߎ۷o/_~1Caȑ***迨QF^;A SUU022rww𰰰7/`A ȫWn-t~81YyyyxGAMzN|Ǐ=looF*===x&XPnܸ{idkԩ˚k޽sH=vvv;vU`CIGGGzz={Xλ미ŋ1"44t }:?ph?zF9o޼W I QQQk֬$%%͝;ǐp1yd%%-[>|~CM3;08HMMͅ .\PWW&[}-,,f̘akkkee%++wʫW^zueeeDDĎ;V\YPPwhР;4JMM̚5 MƏw  3hhh8p@TT MGw L޾} lll1U?~9M p&XЀ(++{{{~&[G=tH4558qBPL)))|Ǐ}mll֯_?sI&և3`A<3rH@ss3::>---44FwA}P]]Zb̙3i ?BAA݇-///77޽{`XĜo5A|577KD"q񞞞&M@`񝜜cSSS^^l&$$555d nAutt|M߿^jkk[ZZZXXL2L^^H!a,Hd+77766=O&|kɊ AАE >7oޠC,,,n*555#`A85j#c}}=oeff޾}@ Fmnnnii9~xMMM\ h_~5Wuww'Ov)SXXXy@ .jjjn555XÇo޼7A RRRRXXXXXXTTTXX{:522Zd GehhǧC<3ABMCCCCCxݻwn߾ֆ>$##3a,200ӃBа]ZZZ-?ehhnhhhll}TQQQQQQ^^TWWc$ͥ &_!ЧdccüByEqqqUU۷o+++ݻЀbɺd2D6 W*RXII &͟?[-vCyyy 9wAA  `A ¶m۸ Dj?=/ڛV* H ׯ[YYEDD`q,3&zL+ s0aAׯ8pH$fff'>`ٲelKM6]P[[;g2ldd#YƺuX.%%U[[;{l---ccl+WFM&gS/))4iDZz5!'N|-zȑ#ƍN__F؃d/4{aaagϞM:FWoiyyLޱcq A!771z_{9]QA\DZĩY0 FԀA"Ip¨aQh,^7R/hFa[K4FiEq[$-rx?r9ps_sN{֮]AssZ|7o.((`+A_~ٳg R{5Jn}.힛~Ji]]ݬY(fRɓ#FH,++y\z"aݻXl錈`k^|I)U*N5=z0t4ݙp8tXie//^vwwx! ;KkX9KOOw:VWy;'$$H|aam!555j6-IDAT7I7<,,LLTB(~aM Ct*!r) 6B}g ! ^P`|\ p9IB_U8-ҫWfee(z;~8!q͚5˗/ V"*ex?{쪪*BHuuu)UUUiiiZv޽xڳgOvv0t4`C[… [} ӧOBΜ9ⅸs*]A5g7U ۷Gݭ&Ncᰐh䪟nOKKSm&񂸻HKKST7oޤi4>))iBwޝ>}ĉo.=jBt:]LL ]Ͽ+JR/_!"$ 2`wqPw]TTD)lׯJ0~m>|s/Ą -KG}TcX2θq-[v 88ϟ?\.,j4K. dv#,!|p=?8pȑ#)))C ,x]reC AT:thJ~PG3X2C 3X2C 3Xq"ɇO!fddꘘEI8n˖-B-[q n {k."J˜1cŘ!怳3=8n۶m}0-Bj„ PG+V\`;vX~~[!׮]_(g2L&!$&&FB(z*l3gb1 g:::jZ pW^^(4{YVV֤If̘H#ܸqc̙^ӓ'O4iҁXGXNrX^/lڱcJb 6__|!DPt:NO:p)Sr߽^z}͆`SJf3+:; g( LBǏ6lZz<&t^r?~ƍ'O ?tݻښ/^RUUaÆfvV?~ӧO`/--h4+V0Lmmml}NNNmm-!.''I9rdqqqeelׯ_ϙ3gҥf6TA?>>'XT:N9zhJ)!˗fn:RZV߂Rt:#""ؚׯiӦ\BϟO);u%2AB^XXX\\L)ZQQQ===g }}>[P*<Ͽze!.KP6555j= |K,|fھ}{SShdǎ;r(c= e6Z,rӝNg}}}! @ݻ|={dgglQQQA)zjVVqgݺu.\hmmeF|`j}~J@ՔҪ*8҉N}n7uuuӦM6eggoڴI7:R fŢ^ Ν;  ,cǎ'O=z4X~)>>~?!lܹ_~%͛7!555%%j&%%u{ƞ={"DbgΜiiiOO:%Dɹxŋfo!%ٳ:nĈoŋ`8zfKMMX,gܸq˖-;q\ w :Ft@)))ٿ?^1 ,x?G=  , , , , , , , , ,YPa6m6@FxMsssII\!sZ~w`pҡ!fuwU_6FQIENDB`gsasl-1.8.1/doc/reference/html/intro.html0000644000000000000000000001350313521017733015215 00000000000000 GNU SASL API Reference Manual: GNU SASL API Reference Manual

GNU SASL API Reference Manual

GNU SASL is an implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms. SASL is used by network servers (e.g., IMAP, SMTP) to request authentication from clients, and in clients to authenticate against servers.

GNU SASL consists of a library (`libgsasl'), a command line utility (`gsasl') to access the library from the shell, and a manual. The library includes support for the framework (with authentication functions and application data privacy and integrity functions) and at least partial support for the ANONYMOUS, CRAM-MD5, DIGEST-MD5, EXTERNAL, GS2-KRB5, GSSAPI, LOGIN, NTLM, PLAIN, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, SAML20, OPENID20, and SECURID mechanisms.

The library is easily ported because it does not do network communication by itself, but rather leaves it up to the calling application. The library is flexible with regards to the authorization infrastructure used, as it utilizes a callback into the application to decide whether a user is authorized or not.

GNU SASL is developed for the GNU/Linux system, but runs on over 20 platforms including most major Unix platforms and Windows, and many kind of devices including iPAQ handhelds and S/390 mainframes.

GNU SASL is written in pure ANSI C89 to be portable to embedded and otherwise limited platforms. The entire library, with full support for ANONYMOUS, EXTERNAL, PLAIN, LOGIN and CRAM-MD5, and the front-end that support client and server mode, and the IMAP and SMTP protocols, fits in under 60kb on an Intel x86 platform, without any modifications to the code. (This figure was accurate as of version 0.0.13.)

The library is licensed under the GNU Lesser General Public License version 2.1 or later. The command-line application (src/), examples (examples/), self-test suite (tests/) are licensed under the GNU General Public License license version 3.0 or later. The documentation (doc/) is licensed under the GNU Free Documentation License version 1.3 or later.

A conceptual view of how your application, the library, and each mechanism interact is shown in Figure 1, “Illustration of separation between application and individual mechanism”.

Figure 1. Illustration of separation between application and individual mechanism

Illustration of separation between application and individual mechanism

The operation of an application using the library can best be understood in terms of a flow chart diagram, as shown in Figure 2, “High-level control flow of SASL application”. The details on how the actual negotiation are carried out are illustrated in Figure 3, “Low-level control flow of SASL application”.

Figure 2. High-level control flow of SASL application

High-level control flow of SASL application

Figure 3. Low-level control flow of SASL application

Low-level control flow of SASL application

gsasl-1.8.1/doc/reference/html/up-insensitive.png0000644000000000000000000000056613521017733016671 00000000000000PNG  IHDRabKGD pHYs B(xtIME4)\IDAT8?/Qϙ?[u$VHTDۈBM+! Index of deprecated symbols: GNU SASL API Reference Manual

Index of deprecated symbols

G

gsasl_appinfo_get, gsasl_appinfo_get ()
gsasl_appinfo_set, gsasl_appinfo_set ()
gsasl_application_data_get, gsasl_application_data_get ()
gsasl_application_data_set, gsasl_application_data_set ()
gsasl_base64_decode, gsasl_base64_decode ()
gsasl_base64_encode, gsasl_base64_encode ()
gsasl_client_application_data_get, gsasl_client_application_data_get ()
gsasl_client_application_data_set, gsasl_client_application_data_set ()
gsasl_client_callback_anonymous_get, gsasl_client_callback_anonymous_get ()
gsasl_client_callback_anonymous_set, gsasl_client_callback_anonymous_set ()
gsasl_client_callback_authentication_id_get, gsasl_client_callback_authentication_id_get ()
gsasl_client_callback_authentication_id_set, gsasl_client_callback_authentication_id_set ()
gsasl_client_callback_authorization_id_get, gsasl_client_callback_authorization_id_get ()
gsasl_client_callback_authorization_id_set, gsasl_client_callback_authorization_id_set ()
gsasl_client_callback_maxbuf_get, gsasl_client_callback_maxbuf_get ()
gsasl_client_callback_maxbuf_set, gsasl_client_callback_maxbuf_set ()
gsasl_client_callback_passcode_get, gsasl_client_callback_passcode_get ()
gsasl_client_callback_passcode_set, gsasl_client_callback_passcode_set ()
gsasl_client_callback_password_get, gsasl_client_callback_password_get ()
gsasl_client_callback_password_set, gsasl_client_callback_password_set ()
gsasl_client_callback_pin_get, gsasl_client_callback_pin_get ()
gsasl_client_callback_pin_set, gsasl_client_callback_pin_set ()
gsasl_client_callback_qop_get, gsasl_client_callback_qop_get ()
gsasl_client_callback_qop_set, gsasl_client_callback_qop_set ()
gsasl_client_callback_realm_get, gsasl_client_callback_realm_get ()
gsasl_client_callback_realm_set, gsasl_client_callback_realm_set ()
gsasl_client_callback_service_get, gsasl_client_callback_service_get ()
gsasl_client_callback_service_set, gsasl_client_callback_service_set ()
gsasl_client_ctx_get, gsasl_client_ctx_get ()
gsasl_client_finish, gsasl_client_finish ()
gsasl_client_listmech, gsasl_client_listmech ()
gsasl_client_step, gsasl_client_step ()
gsasl_client_step_base64, gsasl_client_step_base64 ()
gsasl_ctx_get, gsasl_ctx_get ()
gsasl_decode_inline, gsasl_decode_inline ()
gsasl_encode_inline, gsasl_encode_inline ()
gsasl_md5pwd_get_password, gsasl_md5pwd_get_password ()
gsasl_randomize, gsasl_randomize ()
gsasl_server_application_data_get, gsasl_server_application_data_get ()
gsasl_server_application_data_set, gsasl_server_application_data_set ()
gsasl_server_callback_anonymous_get, gsasl_server_callback_anonymous_get ()
gsasl_server_callback_anonymous_set, gsasl_server_callback_anonymous_set ()
gsasl_server_callback_cipher_get, gsasl_server_callback_cipher_get ()
gsasl_server_callback_cipher_set, gsasl_server_callback_cipher_set ()
gsasl_server_callback_cram_md5_get, gsasl_server_callback_cram_md5_get ()
gsasl_server_callback_cram_md5_set, gsasl_server_callback_cram_md5_set ()
gsasl_server_callback_digest_md5_get, gsasl_server_callback_digest_md5_get ()
gsasl_server_callback_digest_md5_set, gsasl_server_callback_digest_md5_set ()
gsasl_server_callback_external_get, gsasl_server_callback_external_get ()
gsasl_server_callback_external_set, gsasl_server_callback_external_set ()
gsasl_server_callback_gssapi_get, gsasl_server_callback_gssapi_get ()
gsasl_server_callback_gssapi_set, gsasl_server_callback_gssapi_set ()
gsasl_server_callback_maxbuf_get, gsasl_server_callback_maxbuf_get ()
gsasl_server_callback_maxbuf_set, gsasl_server_callback_maxbuf_set ()
gsasl_server_callback_qop_get, gsasl_server_callback_qop_get ()
gsasl_server_callback_qop_set, gsasl_server_callback_qop_set ()
gsasl_server_callback_realm_get, gsasl_server_callback_realm_get ()
gsasl_server_callback_realm_set, gsasl_server_callback_realm_set ()
gsasl_server_callback_retrieve_get, gsasl_server_callback_retrieve_get ()
gsasl_server_callback_retrieve_set, gsasl_server_callback_retrieve_set ()
gsasl_server_callback_securid_get, gsasl_server_callback_securid_get ()
gsasl_server_callback_securid_set, gsasl_server_callback_securid_set ()
gsasl_server_callback_service_get, gsasl_server_callback_service_get ()
gsasl_server_callback_service_set, gsasl_server_callback_service_set ()
gsasl_server_callback_validate_get, gsasl_server_callback_validate_get ()
gsasl_server_callback_validate_set, gsasl_server_callback_validate_set ()
gsasl_server_ctx_get, gsasl_server_ctx_get ()
gsasl_server_finish, gsasl_server_finish ()
gsasl_server_listmech, gsasl_server_listmech ()
gsasl_server_step, gsasl_server_step ()
gsasl_server_step_base64, gsasl_server_step_base64 ()
gsasl_server_suggest_mechanism, gsasl_server_suggest_mechanism ()
gsasl_stringprep_nfkc, gsasl_stringprep_nfkc ()
gsasl_stringprep_saslprep, gsasl_stringprep_saslprep ()
gsasl_stringprep_trace, gsasl_stringprep_trace ()
gsasl-1.8.1/doc/reference/html/ix06.html0000644000000000000000000000354013521017733014650 00000000000000 Index of new symbols in 0.2.29: GNU SASL API Reference Manual

Index of new symbols in 0.2.29

G

gsasl_strerror_name, gsasl_strerror_name ()
gsasl-1.8.1/doc/reference/html/left.png0000644000000000000000000000040613521017733014632 00000000000000PNG  IHDRabKGD pHYs B(xtIME4)\IDAT8үa?DAPY\$[p+IIMlf('}Mpy{_ޥ}^q xZ <=Yj) <04\~+Pl#",Qϑp Iǐlsw>[/]_i03IENDB`gsasl-1.8.1/doc/reference/html/api-index-full.html0000644000000000000000000012547713521017733016716 00000000000000 API Index: GNU SASL API Reference Manual

API Index

G

Gsasl, typedef in gsasl

A

GSASL_API, macro in gsasl
gsasl_appinfo_get, function in gsasl-compat
gsasl_appinfo_set, function in gsasl-compat
gsasl_application_data_get, function in gsasl-compat
gsasl_application_data_set, function in gsasl-compat

B

gsasl_base64_decode, function in gsasl-compat
gsasl_base64_encode, function in gsasl-compat
gsasl_base64_from, function in gsasl
gsasl_base64_to, function in gsasl

C

gsasl_callback, function in gsasl
Gsasl_callback_function, user_function in gsasl
gsasl_callback_hook_get, function in gsasl
gsasl_callback_hook_set, function in gsasl
gsasl_callback_set, function in gsasl
gsasl_check_version, function in gsasl
Gsasl_cipher, enum in gsasl
gsasl_client_application_data_get, function in gsasl-compat
gsasl_client_application_data_set, function in gsasl-compat
Gsasl_client_callback_anonymous, user_function in gsasl-compat
gsasl_client_callback_anonymous_get, function in gsasl-compat
gsasl_client_callback_anonymous_set, function in gsasl-compat
Gsasl_client_callback_authentication_id, user_function in gsasl-compat
gsasl_client_callback_authentication_id_get, function in gsasl-compat
gsasl_client_callback_authentication_id_set, function in gsasl-compat
Gsasl_client_callback_authorization_id, user_function in gsasl-compat
gsasl_client_callback_authorization_id_get, function in gsasl-compat
gsasl_client_callback_authorization_id_set, function in gsasl-compat
Gsasl_client_callback_maxbuf, user_function in gsasl-compat
gsasl_client_callback_maxbuf_get, function in gsasl-compat
gsasl_client_callback_maxbuf_set, function in gsasl-compat
Gsasl_client_callback_passcode, user_function in gsasl-compat
gsasl_client_callback_passcode_get, function in gsasl-compat
gsasl_client_callback_passcode_set, function in gsasl-compat
Gsasl_client_callback_password, user_function in gsasl-compat
gsasl_client_callback_password_get, function in gsasl-compat
gsasl_client_callback_password_set, function in gsasl-compat
Gsasl_client_callback_pin, user_function in gsasl-compat
gsasl_client_callback_pin_get, function in gsasl-compat
gsasl_client_callback_pin_set, function in gsasl-compat
Gsasl_client_callback_qop, user_function in gsasl-compat
gsasl_client_callback_qop_get, function in gsasl-compat
gsasl_client_callback_qop_set, function in gsasl-compat
Gsasl_client_callback_realm, user_function in gsasl-compat
gsasl_client_callback_realm_get, function in gsasl-compat
gsasl_client_callback_realm_set, function in gsasl-compat
Gsasl_client_callback_service, user_function in gsasl-compat
gsasl_client_callback_service_get, function in gsasl-compat
gsasl_client_callback_service_set, function in gsasl-compat
gsasl_client_ctx_get, function in gsasl-compat
gsasl_client_finish, function in gsasl-compat
gsasl_client_listmech, function in gsasl-compat
gsasl_client_mechlist, function in gsasl
gsasl_client_start, function in gsasl
gsasl_client_step, function in gsasl-compat
gsasl_client_step_base64, function in gsasl-compat
gsasl_client_suggest_mechanism, function in gsasl
gsasl_client_support_p, function in gsasl
Gsasl_code_function, user_function in gsasl-mech
gsasl_ctx_get, function in gsasl-compat

D

gsasl_decode, function in gsasl
gsasl_decode_inline, function in gsasl-compat
gsasl_done, function in gsasl
Gsasl_done_function, user_function in gsasl-mech

E

gsasl_encode, function in gsasl
gsasl_encode_inline, function in gsasl-compat

F

gsasl_finish, function in gsasl
Gsasl_finish_function, user_function in gsasl-mech
gsasl_free, function in gsasl

H

gsasl_hmac_md5, function in gsasl
gsasl_hmac_sha1, function in gsasl

I

gsasl_init, function in gsasl
Gsasl_init_function, user_function in gsasl-mech

M

gsasl_md5, function in gsasl
gsasl_md5pwd_get_password, function in gsasl-compat
Gsasl_mechanism, struct in gsasl-mech
Gsasl_mechanism_functions, struct in gsasl-mech
gsasl_mechanism_name, function in gsasl

N

gsasl_nonce, function in gsasl

P

Gsasl_property, enum in gsasl
gsasl_property_fast, function in gsasl
gsasl_property_get, function in gsasl
gsasl_property_set, function in gsasl
gsasl_property_set_raw, function in gsasl

Q

Gsasl_qop, enum in gsasl

R

gsasl_random, function in gsasl
gsasl_randomize, function in gsasl-compat
Gsasl_rc, enum in gsasl
gsasl_register, function in gsasl-mech

S

gsasl_saslprep, function in gsasl
Gsasl_saslprep_flags, enum in gsasl
gsasl_server_application_data_get, function in gsasl-compat
gsasl_server_application_data_set, function in gsasl-compat
Gsasl_server_callback_anonymous, user_function in gsasl-compat
gsasl_server_callback_anonymous_get, function in gsasl-compat
gsasl_server_callback_anonymous_set, function in gsasl-compat
Gsasl_server_callback_cipher, user_function in gsasl-compat
gsasl_server_callback_cipher_get, function in gsasl-compat
gsasl_server_callback_cipher_set, function in gsasl-compat
Gsasl_server_callback_cram_md5, user_function in gsasl-compat
gsasl_server_callback_cram_md5_get, function in gsasl-compat
gsasl_server_callback_cram_md5_set, function in gsasl-compat
Gsasl_server_callback_digest_md5, user_function in gsasl-compat
gsasl_server_callback_digest_md5_get, function in gsasl-compat
gsasl_server_callback_digest_md5_set, function in gsasl-compat
Gsasl_server_callback_external, user_function in gsasl-compat
gsasl_server_callback_external_get, function in gsasl-compat
gsasl_server_callback_external_set, function in gsasl-compat
Gsasl_server_callback_gssapi, user_function in gsasl-compat
gsasl_server_callback_gssapi_get, function in gsasl-compat
gsasl_server_callback_gssapi_set, function in gsasl-compat
Gsasl_server_callback_maxbuf, user_function in gsasl-compat
gsasl_server_callback_maxbuf_get, function in gsasl-compat
gsasl_server_callback_maxbuf_set, function in gsasl-compat
Gsasl_server_callback_qop, user_function in gsasl-compat
gsasl_server_callback_qop_get, function in gsasl-compat
gsasl_server_callback_qop_set, function in gsasl-compat
Gsasl_server_callback_realm, user_function in gsasl-compat
gsasl_server_callback_realm_get, function in gsasl-compat
gsasl_server_callback_realm_set, function in gsasl-compat
Gsasl_server_callback_retrieve, user_function in gsasl-compat
gsasl_server_callback_retrieve_get, function in gsasl-compat
gsasl_server_callback_retrieve_set, function in gsasl-compat
Gsasl_server_callback_securid, user_function in gsasl-compat
gsasl_server_callback_securid_get, function in gsasl-compat
gsasl_server_callback_securid_set, function in gsasl-compat
Gsasl_server_callback_service, user_function in gsasl-compat
gsasl_server_callback_service_get, function in gsasl-compat
gsasl_server_callback_service_set, function in gsasl-compat
Gsasl_server_callback_validate, user_function in gsasl-compat
gsasl_server_callback_validate_get, function in gsasl-compat
gsasl_server_callback_validate_set, function in gsasl-compat
gsasl_server_ctx_get, function in gsasl-compat
gsasl_server_finish, function in gsasl-compat
gsasl_server_listmech, function in gsasl-compat
gsasl_server_mechlist, function in gsasl
gsasl_server_start, function in gsasl
gsasl_server_step, function in gsasl-compat
gsasl_server_step_base64, function in gsasl-compat
gsasl_server_suggest_mechanism, function in gsasl-compat
gsasl_server_support_p, function in gsasl
Gsasl_session, typedef in gsasl
gsasl_session_hook_get, function in gsasl
gsasl_session_hook_set, function in gsasl
gsasl_sha1, function in gsasl
gsasl_simple_getpass, function in gsasl
Gsasl_start_function, user_function in gsasl-mech
gsasl_step, function in gsasl
gsasl_step64, function in gsasl
Gsasl_step_function, user_function in gsasl-mech
gsasl_strerror, function in gsasl
gsasl_strerror_name, function in gsasl
gsasl_stringprep_nfkc, function in gsasl-compat
gsasl_stringprep_saslprep, function in gsasl-compat
gsasl_stringprep_trace, function in gsasl-compat

V

GSASL_VERSION, macro in gsasl
GSASL_VERSION_MAJOR, macro in gsasl
GSASL_VERSION_MINOR, macro in gsasl
GSASL_VERSION_NUMBER, macro in gsasl
GSASL_VERSION_PATCH, macro in gsasl
gsasl-1.8.1/doc/reference/html/ix03.html0000644000000000000000000000664013521017733014651 00000000000000 Index of new symbols in 0.2.0: GNU SASL API Reference Manual

Index of new symbols in 0.2.0

G

gsasl_callback, gsasl_callback ()
Gsasl_callback_function, Gsasl_callback_function ()
gsasl_callback_hook_get, gsasl_callback_hook_get ()
gsasl_callback_hook_set, gsasl_callback_hook_set ()
gsasl_callback_set, gsasl_callback_set ()
gsasl_decode_inline, gsasl_decode_inline ()
gsasl_encode_inline, gsasl_encode_inline ()
gsasl_property_fast, gsasl_property_fast ()
gsasl_property_get, gsasl_property_get ()
gsasl_property_set, gsasl_property_set ()
gsasl_property_set_raw, gsasl_property_set_raw ()
gsasl_register, gsasl_register ()
gsasl-1.8.1/doc/reference/html/style.css0000644000000000000000000002122413521017733015045 00000000000000body { font-family: cantarell, sans-serif; } .synopsis, .classsynopsis { /* tango:aluminium 1/2 */ background: #eeeeec; background: rgba(238, 238, 236, 0.5); border: solid 1px rgb(238, 238, 236); padding: 0.5em; } .programlisting { /* tango:sky blue 0/1 */ /* fallback for no rgba support */ background: #e6f3ff; border: solid 1px #729fcf; background: rgba(114, 159, 207, 0.1); border: solid 1px rgba(114, 159, 207, 0.2); padding: 0.5em; } .variablelist { padding: 4px; margin-left: 3em; } .variablelist td:first-child { vertical-align: top; } span.nowrap { white-space: nowrap; } div.gallery-float { float: left; padding: 10px; } div.gallery-float img { border-style: none; } div.gallery-spacer { clear: both; } a, a:visited { text-decoration: none; /* tango:sky blue 2 */ color: #3465a4; } a:hover { text-decoration: underline; /* tango:sky blue 1 */ color: #729fcf; } div.informaltable table { border-collapse: separate; border-spacing: 1em 0.3em; border: none; } div.informaltable table td, div.informaltable table th { vertical-align: top; } .function_type, .variable_type, .property_type, .signal_type, .parameter_name, .struct_member_name, .union_member_name, .define_keyword, .datatype_keyword, .typedef_keyword { text-align: right; } /* dim non-primary columns */ .c_punctuation, .function_type, .variable_type, .property_type, .signal_type, .define_keyword, .datatype_keyword, .typedef_keyword, .property_flags, .signal_flags, .parameter_annotations, .enum_member_annotations, .struct_member_annotations, .union_member_annotations { color: #888a85; } .function_type a, .function_type a:visited, .function_type a:hover, .property_type a, .property_type a:visited, .property_type a:hover, .signal_type a, .signal_type a:visited, .signal_type a:hover, .signal_flags a, .signal_flags a:visited, .signal_flags a:hover { color: #729fcf; } td p { margin: 0.25em; } div.table table { border-collapse: collapse; border-spacing: 0px; /* tango:aluminium 3 */ border: solid 1px #babdb6; } div.table table td, div.table table th { /* tango:aluminium 3 */ border: solid 1px #babdb6; padding: 3px; vertical-align: top; } div.table table th { /* tango:aluminium 2 */ background-color: #d3d7cf; } h4 { color: #555753; margin-top: 1em; margin-bottom: 1em; } hr { /* tango:aluminium 1 */ color: #d3d7cf; background: #d3d7cf; border: none 0px; height: 1px; clear: both; margin: 2.0em 0em 2.0em 0em; } dl.toc dt { padding-bottom: 0.25em; } dl.toc > dt { padding-top: 0.25em; padding-bottom: 0.25em; font-weight: bold; } dl.toc > dl { padding-bottom: 0.5em; } .parameter { font-style: normal; } .footer { padding-top: 3.5em; /* tango:aluminium 3 */ color: #babdb6; text-align: center; font-size: 80%; } .informalfigure, .figure { margin: 1em; } .informalexample, .example { margin-top: 1em; margin-bottom: 1em; } .warning { /* tango:orange 0/1 */ background: #ffeed9; background: rgba(252, 175, 62, 0.1); border-color: #ffb04f; border-color: rgba(252, 175, 62, 0.2); } .note { /* tango:chameleon 0/0.5 */ background: #d8ffb2; background: rgba(138, 226, 52, 0.1); border-color: #abf562; border-color: rgba(138, 226, 52, 0.2); } div.blockquote { border-color: #eeeeec; } .note, .warning, div.blockquote { padding: 0.5em; border-width: 1px; border-style: solid; margin: 2em; } .note p, .warning p { margin: 0; } div.warning h3.title, div.note h3.title { display: none; } p + div.section { margin-top: 1em; } div.refnamediv, div.refsynopsisdiv, div.refsect1, div.refsect2, div.toc, div.section { margin-bottom: 1em; } /* blob links */ h2 .extralinks, h3 .extralinks { float: right; /* tango:aluminium 3 */ color: #babdb6; font-size: 80%; font-weight: normal; } .lineart { color: #d3d7cf; font-weight: normal; } .annotation { /* tango:aluminium 5 */ color: #555753; font-weight: normal; } .structfield { font-style: normal; font-weight: normal; } acronym,abbr { border-bottom: 1px dotted gray; } /* code listings */ .listing_code .programlisting .normal, .listing_code .programlisting .normal a, .listing_code .programlisting .number, .listing_code .programlisting .cbracket, .listing_code .programlisting .symbol { color: #555753; } .listing_code .programlisting .comment, .listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ .listing_code .programlisting .function, .listing_code .programlisting .function a, .listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ .listing_code .programlisting .string { color: #ad7fa8; } /* tango: plum */ .listing_code .programlisting .keyword, .listing_code .programlisting .usertype, .listing_code .programlisting .type, .listing_code .programlisting .type a { color: #4e9a06; } /* tango: chameleon 3 */ .listing_frame { /* tango:sky blue 1 */ border: solid 1px #729fcf; border: solid 1px rgba(114, 159, 207, 0.2); padding: 0px; } .listing_lines, .listing_code { margin-top: 0px; margin-bottom: 0px; padding: 0.5em; } .listing_lines { /* tango:sky blue 0.5 */ background: #a6c5e3; background: rgba(114, 159, 207, 0.2); /* tango:aluminium 6 */ color: #2e3436; } .listing_code { /* tango:sky blue 0 */ background: #e6f3ff; background: rgba(114, 159, 207, 0.1); } .listing_code .programlisting { /* override from previous */ border: none 0px; padding: 0px; background: none; } .listing_lines pre, .listing_code pre { margin: 0px; } @media screen { /* these have a as a first child, but since there are no parent selectors * we can't use that. */ a.footnote { position: relative; top: 0em ! important; } /* this is needed so that the local anchors are displayed below the naviagtion */ div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] { display: inline-block; position: relative; top:-5em; } /* this seems to be a bug in the xsl style sheets when generating indexes */ div.index div.index { top: 0em; } /* make space for the fixed navigation bar and add space at the bottom so that * link targets appear somewhat close to top */ body { padding-top: 2.5em; padding-bottom: 500px; max-width: 60em; } p { max-width: 60em; } /* style and size the navigation bar */ table.navigation#top { position: fixed; background: #e2e2e2; border-bottom: solid 1px #babdb6; border-spacing: 5px; margin-top: 0; margin-bottom: 0; top: 0; left: 0; z-index: 10; } table.navigation#top td { padding-left: 6px; padding-right: 6px; } .navigation a, .navigation a:visited { /* tango:sky blue 3 */ color: #204a87; } .navigation a:hover { /* tango:sky blue 2 */ color: #3465a4; } td.shortcuts { /* tango:sky blue 2 */ color: #3465a4; font-size: 80%; white-space: nowrap; } td.shortcuts .dim { color: #babdb6; } .navigation .title { font-size: 80%; max-width: none; margin: 0px; font-weight: normal; } } @media screen and (min-width: 60em) { /* screen larger than 60em */ body { margin: auto; } } @media screen and (max-width: 60em) { /* screen less than 60em */ #nav_hierarchy { display: none; } #nav_interfaces { display: none; } #nav_prerequisites { display: none; } #nav_derived_interfaces { display: none; } #nav_implementations { display: none; } #nav_child_properties { display: none; } #nav_style_properties { display: none; } #nav_index { display: none; } #nav_glossary { display: none; } .gallery_image { display: none; } .property_flags { display: none; } .signal_flags { display: none; } .parameter_annotations { display: none; } .enum_member_annotations { display: none; } .struct_member_annotations { display: none; } .union_member_annotations { display: none; } /* now that a column is hidden, optimize space */ col.parameters_name { width: auto; } col.parameters_description { width: auto; } col.struct_members_name { width: auto; } col.struct_members_description { width: auto; } col.enum_members_name { width: auto; } col.enum_members_description { width: auto; } col.union_members_name { width: auto; } col.union_members_description { width: auto; } .listing_lines { display: none; } } @media print { table.navigation { visibility: collapse; display: none; } div.titlepage table.navigation { visibility: visible; display: table; background: #e2e2e2; border: solid 1px #babdb6; margin-top: 0; margin-bottom: 0; top: 0; left: 0; height: 3em; } } gsasl-1.8.1/doc/reference/html/gsasl-gsasl-mech.html0000644000000000000000000002726513521017733017226 00000000000000 gsasl-mech: GNU SASL API Reference Manual

gsasl-mech

gsasl-mech

Types and Values

Description

Functions

Gsasl_init_function ()

int
(*Gsasl_init_function) (Gsasl *ctx);

Gsasl_done_function ()

void
(*Gsasl_done_function) (Gsasl *ctx);

Gsasl_start_function ()

int
(*Gsasl_start_function) (Gsasl_session *sctx,
                         void **mech_data);

Gsasl_step_function ()

int
(*Gsasl_step_function) (Gsasl_session *sctx,
                        void *mech_data,
                        const char *input,
                        size_t input_len,
                        char **output,
                        size_t *output_len);

Gsasl_finish_function ()

void
(*Gsasl_finish_function) (Gsasl_session *sctx,
                          void *mech_data);

Gsasl_code_function ()

int
(*Gsasl_code_function) (Gsasl_session *sctx,
                        void *mech_data,
                        const char *input,
                        size_t input_len,
                        char **output,
                        size_t *output_len);

gsasl_register ()

int
gsasl_register (Gsasl *ctx,
                const Gsasl_mechanism *mech);

This function initialize given mechanism, and if successful, add it to the list of plugins that is used by the library.

Parameters

ctx

pointer to libgsasl handle.

 

mech

plugin structure with information about plugin.

 

Returns

GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR.

Since: 0.2.0

Types and Values

struct Gsasl_mechanism_functions

struct Gsasl_mechanism_functions {
  Gsasl_init_function init;
  Gsasl_done_function done;
  Gsasl_start_function start;
  Gsasl_step_function step;
  Gsasl_finish_function finish;
  Gsasl_code_function encode;
  Gsasl_code_function decode;
};

struct Gsasl_mechanism

struct Gsasl_mechanism {
  const char *name;

  struct Gsasl_mechanism_functions client;
  struct Gsasl_mechanism_functions server;
};
gsasl-1.8.1/doc/reference/html/ix04.html0000644000000000000000000000350713521017733014651 00000000000000 Index of new symbols in 0.2.19: GNU SASL API Reference Manual

Index of new symbols in 0.2.19

G

gsasl_free, gsasl_free ()
gsasl-1.8.1/doc/reference/html/right-insensitive.png0000644000000000000000000000056513521017733017361 00000000000000PNG  IHDRabKGD pHYs B(xtIME4)\IDAT8͒J` /S_$AqrW(>m"]\(49.Nd39{eM#MSIιEiHz|3{̲l3,KkV'@EEQlwyiq]Kh4:mĦ,;ts\aR5/7'Wps׭I,K1=0j0Wg> PU𻤝0 ]?qCҫιg~kA_IENDB`gsasl-1.8.1/doc/reference/html/abstraction.png0000644000000000000000000014535413521017733016225 00000000000000PNG  IHDR? sBITO pHYs IDATxw@SWflQAVY*QEE*mVķu PAZg nSDD@r?N/MBpCx~9s(A^|ӧO&Rݻw^zk׮@#B/%%?Ϸ9|=5X,|H$L|jl6 2$**JLjsc!X6$$ĉLG @0zgbjۺ<|>vPlll  իW|>$߿Ν;=<<ZP+3ooÇ9rZqN>mll|WWW#B رcܹsBmF6A"(11qzzz[n Ǽ! 4իgΜc:" д\x#f'O5joܸg댊>lǎy-E1B trrs玅ᠶ;???**jL+++޽{aa/^t8H6lذdɒ:`^'|rر_uذaLǂP߿ ;>(2dskMww}7-- VIbҥK颿4}ÇGFFJx@HDGGsbRA``ܹsbqtt4ӱ ޽w^##;v`RX,֎;p?XaÆիW oox777B_>}f={t8<U$eeeuܙpп|'~Ν;iG}?\fΜzX,ҥK|>siB_6l >LjpppD"ц ikn^nݺ#Gn߾WKLq^^^ߟ0aBuuQ֭[tD鄄Xp!ӱ /O&$$෠ڶYy-M3g\lMӛ7o&n055=t͛i^l̙3N۷;v#mӣG;߾}XпtӳW^L4W^MkB ondd7|F⌌o>aPtD;w3B Iz)ĭ[}}աfff.\ S{dHK]p,>>>44Pve b: =R# °4[[ .[a!ѻw .ڦ-bЋ/SNLg^bDZH4eʔ$ K.j(,U|}}/]daa4e\1˗`ggt )@z&!F4.6mZ||Ejjj׮]5B]vMMM6m6e׮[n\.799Gj __d.~\ 1"77LLL!H$^/_dE988be((*&&FEK``%Ͷ 'ME 0ƍGQTPPѱ ,--p8Eyxx4*k iW^:u r'NLIIYjΜ9CQŊWY,EQgΜa:4ꮅPkl-))ٴiIǎslٲE#J괲*--]LIghh```@^߿Mdffr88||I #;{LpugIlͼ  "22fnnmllL|bK4#sssT)tw}GzӁ6ZTEEE/622ڹs5EEECv*{]ζ/4]WWFnr˖-WWךbbwޑ dt / dM SNI4M x2gU-6X&L`aFL"kSJ2ZҥKmmmĦK/^L~ԪdoReddDr,GGGHN{{{E L&?n̙$=٨&/ ?~\/{666nnnUUUFFF$!dM {Ν;'_… Я_,1g֛7o,By-rʻtFK`mIgol޼ ZYY+W?@HHLj(P(Tب@ _KO{hT4M &Lp8G Ϟ=ٳ'OTR`\.Wa==KJJ6 s```yyytt49{Tycǎ#G?vS\?OzZ伥vdҴZ1KʏJ`ms Jȏݪ~((((ظ'N70ٳgK.ң !%è e{ٴ&s8.J23ŋ͑kjjLMM}}}ߪѣf^B2Wf055z䉒PIWTT̛7o ' P üi9.0eg6dVƏ?&M"/ӵ1cu$ʤkFFF ncccffִ&$,Yaaa~-L8Qa['MO>EfFFF's`ܸqO>9~x6I?<i9Ef<~$/ (o߾ R>}عiiiu>6-^zUرc#Ǐŋ˔N?~gjjZTTDȤkE5z.](jZo޼С)lKR9w~z[- B,͟?_z/.;~x[ j50EZtQ}}})S4k.n߾~<+9wĉGEg"//LMM%2SYfkƌek ք4ڒT_8...Ə* J۷Ю]4@E!rRľ}BBB,--ɓ1H-***N>M? `KJJRx  777==]ɹݎ;|:u****++SRCYYYQQkӚcǎdIHHիW_xw;v6`jFرcxxÇsssnjSVVF4"r]2-Hݭ[oVQ@Kuu)-pnMMKNBOOOL2ZR+I.]*]!w~~~bXf,w^%̙Ӵ&d(WrRmLL M_~%kUtڵnnnq5j̙ K}XI` "-'EfġCS~ZtFKr ȶ...ʷD<8 V@ݕJV^QMhT^+6=d}}}$VIkUXXX+E(YI}VaNNN_!BHEf^^^PZPA  @uO% ::::99I( gVSW@@@;uׄF4Mp8 裏kU1$1رc%GȲ y%w @!-y-rʻ|vCM#3X[_FKr۷/l۶M$[|t "fɷ3!@PPХKH^XWWwE9ճgdnTג]z 'NXRf``~zڷ%%%k֬p8,Kz ˗/SEQԪU$+?֞9sSN!%0EZN.*mHkgDJvv6W^),@>WWWHd}Ig^^yx_K֮222rttܹzgMhBym~~$*%14*h޴i(}<پ}L_~E򇟭duO?T~ ` "-zd8dXdVhCYv-W@2Kononnfff ڲet*)v X5CӧOwvvp8u֬Y ߻wo̙:9sFH>rrW ޵jl9p+49r䈑СCU,6ZP.CiSp_B! 0EjVZZpÇ3B!L X[[}6''ٙpN.CiSp>)cA!Py-R?!jI8_qq7o\. ݁'"-]T YYY|>Z>z`޽{MM͍7!Pûw޼y@ݼy{qww_t) AvӾtӁ6vÆ gݺu7o޽{ }cbbVA{xx״|y^:uT.r'N䔗/_lbqkV~!v<|>Ӂ ,r Ջxxw#rrr&''o^__Ç[n񉊊ReqdddYYYD_ 8~+//޽ׯ:Qw $-,,zkFH'ڶMNNN޻5(++ rRdQQQǎiX?ԳqFd~2[woWX^yuuuP(ݻw+nnn%-ZDkǏ+ֻkggwmh9rdHHUAAR3B:,&&̙3 ӱ _Μ9cmmz)15SPKڻw/XBOOOavq˼5{l//gϞ/?p@8v`ͩYFQ" ˆf+!m&"""B|||n߾ѳgOfD:͛zuӱ &߾}+?ZCI//_v3fACF ;w.99ɓڵrv ;v455-..600 ?egghfmEjjj^t,q\\\  ?GGGEݐt HwVżŋJ)e^VTTQNkfVbH٨QoܸǛ]\\ƍMYFQ"4UYY R;ҩHC%'ipl͚54M8(=zdi666311󖬄 HBzU֌B:%@__H!t0Zɓ`JY Lӧx˗/,sKXXX|RaZ[[[XXheek׮ݻW~ڵD#׮]cX[l8IݨBHHHߠ 4( dzgVzX,֏?K.yϯ رcGeeAT>p@@@q|5^رc)hB!Z|jw!RGegg@O>]SSCZJOO[ndt N4I255 ֯_krd͚5b]vMI/_(UVIV]=s Y# }m۶)$˗/oBJ.5bHw!jT̔t8ŅX Hpr^أ.?~YbbfCm?ᐐ;v888h9k-(尋j3wرx⊊ }}}___lmm N7|>-@`nnaÆpE0Ex^أ.b񡥷{ IDAT#`ܸq111vvvLն|r޼yGC:uRS^B!tw}liiLj[]BB---;My-BHQᡤ`2/˗/l6EQlEnu?Tw޽(>&UWWw߹q8ss#F\tI[[ۑ#GiiicƌeX&&&@?q۶mE-YD&>C)LB0a=z4(EQjֆv"#<@пOD!ZӧXۛӧOիW={N8!zxƍs^ZrnjCQѣGШ>~ɨQ?x0vXWG8;;XVӓ@пxzz1!Z ZtU%EQ?C]]M ** $eۂPHӴ+ 2Tu%eii)Sܹ̉sGR,>>N~G4iyYUUEf ^vM“'O0g}j!P&>E͞={…l6V^=};vH|+Vpppr9bĈ/Ȉxw\]]91,, =*)@L|#}l_R)T4nܸ+W=z4<<<))SNWR>77ڵk,2bbb>䓸OH;D"2H, mllp_u[xxx@@t;w|֭E,<+ߊ@}4-rssnzر?SI&kNa lPch!9ߵI!̟?_G}6m?p8...Gjjjȯڒb6n"ʿUXXHtp=h/֊:66V!鞃FEEX^Q^-ZDHۛJp~~A`̙2剈ݻwocee^RRB֭[%BO2%jK͒jS̉|4jw=?ҥ*/rssMdŊ+WꫯȻK.}䉛و{\rd9saâ[DڃtR~~m֮] DoONQߟ>*$!hԹ ߢiZ\.7 @aKivώ055}Abb"y٥KOOO/"""-Z$gy vI&}TavrEF <|I%A2P .r8Xk֬W^iiUTTTD"eX,Y`ҥUUUoYcǎ(*'''##C! )%Q_fOdxMrrϗ>XPP n-nne$ҩ[ePUU5sLXt)怘5kV>}^~TZZ*,7iҤ)JڷoO&ũ)X5ü^~e޽*emmsNɑ;w6dnݺmڴIrD$!rHv36%%r< PZ3ڧO_|ɓN:ZJt6m6uAhPvjjjT)Jɹq7nS}~Ǐbj :л\~KJJZt)yKz~ٷGa߷o_ddA@@C';KuQ?~Ν;m޾}[[;QHE6nH[e4df7B!t!BH`^B!t!BH`^B!t!Y&L.//g:/&LPo"BHg3Vy-B!tV^ ##@пO|:jy-B!tk׮1OG0EH._BMf?~EcAxlv@@zkƼ!uڹs[SSwÆ C IHHӧσ !"ggUVJAPYY.WZ)7iB[ەѣGޱ~ <}*PGzjujھ}޺ukʔ){apP1bxڴiqUo"6k׮ Njㅅ%''2Bi\.wΝ\.w߾}}wQ۷}$ڛ`4Y" iSǏϘ1C۷ٓ'OeXcǎ}IL>ޞbL6X׀B:ܹs|>gϞ_uZZP(d:6A(}={ΝD[TI;ҨۗkNI.]~z֭[yuuu^^^fffSN+**ڶm=K^尋jk山Ϩk׮zzzBaQQi̙ߛjEEy HeSTTdooN 0=zTVVfaaA 6omv!ԆL0|>?##C:B`ffpz&Lp!xtMeee999? pV(v{̙}h1 CZhB۷KJJDY[[-kRۛ˼uĉ~iÕ+WN:uر_iӦ+Wfff:993fժUj(,O\!`X#G$ee$&&~Bapp˝;woݺ߫Rݚ5kݻW^^}'O=Z׀Bf"6˖-;z-[^vmϞ={ϟNNN{cJ 033 ^z͛75s!PRooyΜ96lqFF:::ZYY͘1cڴi"̙3ӧO+|VVV[n1bD^B!p!u={ ֬YqǧKp'&&>{l̘1|AEEEFFFǍdN-!-]!fa^4Z^dZHka^*|>tDx<^@@@v혎IgH0EZ헐0oӃ@>}BBBgǎYٳgO8q͛" [OMMMMMUB.!!&&&Glll9bbbrii8^4..=EPyyyΝKKKcbbΝt8-d֭ͳ|i!fH-BHCRRRJKK}||̙t,-gΜ9>>>)))LҢ0E1r-BH|>9RS#G?vp!xzz:tYFĎ1HK#y-Bi\ݗ.]t!' /^`:ύ! G(zޣvenn>vFA𦧅ZAm_({EQ>l ozZ-(m1B! p~-BHɏOr!P!BH`^Bf]\\-ZTZZ*_CŚ_|f)rpp xxx,KbQ<"0E!sChe޽9++M6 8͛7M6!!W^mԹeeeMn ¼!b@RRR)**4h^sΝs߽{GYYY֭kr&@\\\}_~ kBu~ >WPn!CDAhݻիEFtǏO>Q0"  UOab&)}TZz᜜`XslB:T!4-HpB}p="ӦM[`A3O5jܹs_}]x3Z.W"Snppp}+`Qٳ7o6]''͍^1=`BR%$Er9sz , :tЯ_?b۷o'$ifff}!ʕ+%4XI#/CQϨQ:uDZ9t)G!sm-,,,Xe˖ڼy34!Ś5uԝ;wj2"t)ѪX-g;m"Z5iɣϟ722kÒGs%IR RYYI\tbI$`%kHD2w}V@ٳg2O< QQQ MH#5***jT6Iky!]CnܸQ2s400PflGG_-|hhu^9bĈ/$;︺^,YD_(Ŋy=,s$kNHuLʐdRZp >(׷`ɒ%dKbɒ%d/{HLLt -\rEa^A?㯿uݷonذaժU Y$aԩqqq|kjkkǎ{#G_}UTT~9s\~}͚5֗/_&k6X S6nhccs9x@33]罽%{!ڑ/l^־{;bM)R#2 {R{Teeemm2OqEQ/[2]7=픐0~x;wtԉp4.;;۷2[-4B =J,5vvv%A*ʭ844111IJJizo߾mt ĉ׷X4&Nt, ZA8tK% ׭[gϞ'O{{{Ϙ1cƌ5k223𦧵˽ MLL֮];gݛkKtlle޾}ۡC[XX0TKüizaBZ6+))O<} x<cǎL,yyy|>={?'n޼ښy- #vQ헐0o|yh Zx1!Ta:BHNև?3B*E * j5vABrbܨ(,x-A ^` Ŏb~8o?wwօ}bϞ9ax8{ w.B'E aBe$ EQlCZ[[ BSSݻ:tHjj---i611 J:*Qɓ'{abb+HJ߿_bP(l֬Y~.\s/CbfҤIEݻ|NS>6 6a̘1ܾOQԧ~Zێ߿νM,8p!`Bb'Dzyy\vĉN*$''4 666Τ~BBsNRbjjڱcGwwwr^T6BaYѮ];aÆIRWQFY5kEm߾ _T:c  -++6TdabbbH^^^߿0O͛7>}z\\\mde˖sTFX.C5 >\e"]j2x& B[x-nfӡC9sfAA]KҬ,2lDE r +**>>*C?MBjjI:uDVhdfjj* ;u4iҤzp9!]ceeɓ*H>x@M!!!!!!P^^m۶SFEEiӦ[ɾ7kkj%%% Jyyy2L_eĉ&&&+W<|={BCClmmMӴXɔ`aa@UZZ:{xBZjH={vΝ˗/_|9>>~ĉ?1M׬!4Ukذa~n!usppꫯd6gP}ET6x-%;v@TTN2Ef~^T*_~y I9r$ܺu[044AZpfˠN;y1KKKsppP}yv5oUUUϟ V;_?P3i8{,X[[ȟ={ T*MLLmےKKKPK^}vРA$צUvv6)}?u֯_/W-޼ys/*CoMM] QyIl/^ ˗/g)2fΜ L9Iַl٢2ZkW@@@͛7͛wU~&0uT2S===IsPP5cǎ Q޽{mbbѾ}{ѣIT6sΝK0zh+xd*^_eOi&>}l< ̙3|^^^; &,,] Lމ'`2&M{ƩϏtNuPH$G??:}{! IT*ݺu7Mvvvk֬)//|РA555ѭ[if֬Y%%%)))III|Q/JܹH$ x'H$?MӦ rJ]_y ر_?!O2Fpp@ XlBo7o(jذat2nnn|nc0m/^ mڴdM6xbͶ|! (Ԉb2|Hܽ{յO>'O(QS{"F@NNڵk;:_PAAYd j ~=zPu=2Y#hM5BļyZh!:u jMV^^̖رC,PStyD2p@LjJ$kY\ !k>ٳgΝ;pB2dVBz͛7oTV322c F{BG;fʶmLAFMQVVi;$+((СCYYYǏT"tM>}1"߶ 6Z޽{4@My-B5rE!P3:8tB!tMQI8]!j08^B!t!BHh'=z(իWk%ĐG^5I!Gӧsi׮@ :thZZ|MJ@8yOֶ/^lmmR:5;;*yF(RkCꫯؔqN^g{j%FÇ>v !ZIIɶm۴Es̙wG'O駟nݺլY-[><99{K./ 8ZnmaaQPPq:F޽{!Pyռy,--K`oo?wW^i٫W)%-o޼ڵkǶF۷nٳgo%''3 ޫW/33L?Ν;[O.//٦૯ҥ͛79;g777ԟk_|gffֿ˻~zGB5 :99O$;W5QnnnW+Vpvv?ׯk uJF5EQ&LRBZWWW; +G~aS<{lʹlxw=zMӎӧOgp[zmBBBb1M666FȐoP"9rdĈ"f͚̙3ѣGl57}7ÐJk>}q5o<$$dƍJ' IDATM"l޼900Ȉ8i$n0{yأP#'E_xXqmũob2v˭MQTii)odO>D(ccraȄ]{{{JX}ܼ]vcL}G^f̘_^pAy`4{Uo輶K.`bbRVV0LYYuSLʕ+͚5VVVgš$5߽{&555xڴiJ(++ׯ–={nܸ-[LGЇ9n}ŬYfЩS'톪X<|6s011AQWQQCe]n|eyy9dl_|ܻw},:hѢbHS[&Qoߞ;v,<6Ĕ/-2d)xL}6srrן9sfJJʱcǾյR V*HOp?lkkKjroIa-.]zԩSN-^E$0d- g۷/==ѣƍ#s޿/rxx8MӦMxqffĉ[}}]c= 5r>\>m߾}\\yiaaaooO&b/%8spqqQm@@<8<=====߽{d۠ ￵Qm׮]͟# @=z@W۶m=bgg&( 0E*#j' >}ZexCC wZSLϦwٳܷȌW>#%_sq7,,,4330,BQԵkd]ÇJ- R-SsddML=kޅ>أP#G(΢(j׮]R4::ZqQRR}r5nnK!CRiRR;U^144T|\\\ȿ.;w~ >Y$A,WTTw1/V{N$rTևujJyd] bΝׯűa1өxJx{{@-’r gӻ(ȜP3o:vpErh2Sy_uݗoiVC.19Eϟ?/3{M__o!ڬ=OhV}⅝y۶m#²Zl?a777 IZ*%%-Z2;w.|ڵ y# OQӧOv̘1C4vM)9:"''k0LEEH$jѢ:L=\ՅJzfݼy֭[0tPaaa'N(**:m\ƍ۳gOffD"8Z6R@fȘ;wq%۷o|ƅ ` Ǐ߳gϥKmȑ_)B}ݻ?~ҥd cuuMl"*++>۴i0!ܧi۬,R2m322l[b… jo{9%믅dѢEl33SL155]`]:u}vjjjm+T/IIIK.ݻ򦌌~]v]x[NTUUo;*lpРAǎ;|I,_}lx6 WI[[ۇѾh0S M6/Ma˷o7K'OԫϨe,mJiii .7n\ǎ|TZCCCHOOW;?aܖ_._4zH`B|=w\HH]^O.\fff׿S\7:zRhyyy;h:;;mۖ}I;o&D9::rwm˗Lz333cVÇ4eTڭ[7 +<|$Zlimm2<^աaNH$'y S4ߓwիϨk6իW+3hjmm=|p}) @al5I}$Zi0SV}ѣGVM*1-d79wO%k}FxmUUR#=z|˗ &,|}cd7ʇCS~=i(gΜ!,l/H2Z勅n$''CVVVl׶dB-['?EN˗/V&c.d1 Ȉ<ӁO Bn‚lō7 Q...ڵk4y)|20޽#sإ"}Y]B モopʕ2;%_ɓ'גN!Kۆl f!HGF=}t׮]iqF}Gc***lll,,,VX<%tݸiEpLyNٽ{wPH~駟w޵Uf"|:u5ky6rhɑKaa~@ӴX,ӧrJp^joW=z4gR]Vf#GN S 6!!r7|YVK.l!3))I^~ݳgO%yL/r2o7`ǎJMy5 P]/O33%]c$ZAY2˳`6 "h٧N:~Iܸ׵>#!Ko̞=̙3.]ڰaC֭I~}bg͚uuMյr֭֙ 422(jذa/^7oիWL,.\߯_իW;::Rnk.@`hh0'f8qb޽zjٲ%EQ]vݸqczz:"˫k B&bn$<==2o.ҘiikB!W"B!]!BMNn݊R HR ?cB'Oh;$+'''??}pF4͛W!B- YYYڎ,`:Z~}G!n߿vv6$#Hdggy!Yd8ڎk1E!ѣG gΜX9sfaaazfsB WGv֭[:t>}'|p={6,,L__ʕ+!eދ-bf{v8{>aEif>E589좍T*ׯ_JJ }iZ*j7$=aaa۷o}a^j2\y?XTT?kpEQyyyYMUWWgӦM[n"̙3|HФGYYY>v8:1 SNF\B͟?_!4v{yQTT[5v?cǎZ iHhc~B !umڴ:E"Q||B\ !IHH ˖-H$Eyxxu222jmm- MMMw~!n#i$000>>^f*Fs=zJ$5=<<{=..gOfgRk.V~G 2˖-s<4𢇐va^.Y<{Tff&XXXdeegqZWWWHJJ""0da6mڐ$' +++#%.\ie˖T6F^{u233IInn ={VM׮]iΝ;$''ٸq#wssR"HHح[7)I oyf G8bL ::N^.kQ=ޅ4g0a.] B;;; WZpBsxxx~.^ȭ @e#j_5l߾[qF7o|2/###ƍo޼ ~~~MVXk4QV oy&P(H$2x# ‹Bڅy-GػfQB[x-nԡC9sfAA]KҬ,2lDE r +**}JɹT*}%[CTH<l:yɒe3L[!k$3e vZZZڼy󬭭qƵi&==Tpuu6mZnnn@@E.]VF ^OOOͥR{-"R5NLwZD"§IԨ&B2 tՓ'OD"[j4M@yymۦNEfN68%%wJ5X[[[’Cچܜi?$Ym e¢>vE.]TWW;v[.J8::;##)S撒W:::r*|QC׮]d?| dAnݺ=~?>y{|Q s?ׯd?~ d!kRӦMcϝ;rJnX;--df׮]?fOmٲeaa!;Y\\_}޿ϳ5L<LrURrΝ СCUn>i$RhԨQiii"C"$'999rGw! i5uT  e?>xzz 5gg砠 kkkǎ#H}##޽{ã}УGT>\sfDѣG|.Ü9sȱ{yy ʣ]^¸t)7<0O8ׯ)'ܻw= ZTw!ߣR֭[i[f ߟ`r_A222wkjj[nMӴͬYJJJRRR4^^+J׹sgH$ cbbddd`@l2g<͛7[XXP5l0+?!9ϵ'Š SSӁʔ?.𢇐vQ/aGxR܁ i UVVVSS#߽{յO>'O(Q#{"v//k~w^.\!k͛{رpԩSvL6m˖-cǎ%%;vtUYYCmǂd9::wNx-G8t4g:yd߾}===:DX?wܰa޾} 7o޼yFe5###Ntȑ#ݻweLd/z_MMͬY~w~]D \\\\zjMc^^fQ 8,PQQQTT ~a…*;%%⩓&}Y&66?yFErBxzzz JիWYYY*^^^;v ˛(y-GxGſGUWWZ*11ݻ"'22222R9d#qر˗ٳט^zܹ)!!{2!D 0<+V5kM0E/HGFho߾/B ̘1cٲeڎUQQpŸY"ݻwȑJ*c^^faBvŋޯ^ڴiSTTAؼy7|cnn~֭VZV&}5ddぽ !M<իW{>5-_u޽_zEX PSa.eff5k͛ڵ+)) TXo@!aÆaR6 L¼!B:+;;9T!kB! @ہ #L"BHgyxxPվ}{m4}ڵsww7j2M9M(0 ӯ_?GGǸO?o͚51jr]cQx-B51Ǐ766ѣGq޽Ν{!EQ׿GB "&7ROEiTWWgӦM[n"̙3 @?B)gϞGqu?CQ!}:'[XOO7..2H۷ f͚x4 IDATҥKʃwL>]W^UUUu=:݆X! Bňl(S_o|}}Vzzz%MK.JJv*Cʋ-"M5kؘL:m955U{y3 +$&& +j]O`m+T\pB4̞=T"# 'N^i@gggR?!!Tعs')155ر#ٽlDVy$mͧOG&fS[ܹs̬}͚5@o>%@rrLeܹsu::WjӦM7oאt>, *?fiģGf͚EQMϟ%֭[@PPPJJ O*~$kתܩB'NVZ9r>p%ܹN=uΜ9 + >|5 }ŦKȯ3=zTyvyT*ҥ lo+Wm۶MΑJ>>>g20 JZ200m[5Zwww2|Mw9WʟtꫯG!]P(,//6n`̙|v-JȠ/[5Z>pvvL4CH"aY^۾bKJJ*裢VUUmܸ|OM~# o߾m޼9{&;V[vy-0[n$M&;-ʕ+{?xspY{mk7Xt̻dݻZF+W򏊻#kB'rLaEEӮ];Ҡ1cv)˗˗_~ٱc-ZD *Q#Pv Hdr}aǧxE܇Yy hee e> h%Hݰd١C٭F?ǖv޾}[q._bqttݻwi/b·177o׮|u:d=..nƌ_~ʙ0Ehvrr)J$yuE__,--ɀP@@ĉcbb.]&F[AykA}I$2"龗WmD"gggr$E+++3Z&3dرǹ55׾{ڷoϖv͆ʝ*_h˞?#<|Mlu"s4:[}o߾ݽ{y-ZԹsO?TU!8j 6 -$R , P(ttt[YYIf#%*QcVeܸȑ#֭[M CCCL2E刈k'44JKKe/_ nDȑ.+󯂕ڵkE殶!׸-w۷oߒ`ڵ}!NN$Qx?["mdddaap+8(((HHH6l9-ZwhJ{N$rT@&{XdNΝ;ׯ_/saٰaWexJ>Py#]Hxg5DٳgMLL]oooTR*۶mKJ,--B!۷ "lDVeŋ) Od]*i<\]t?=U[Zjer ݻw[YY}*3~y-%Q1TڣG7nŇpUL6Xl[еkW5O=zB &V $:884119y$0WvppmGO}b1 0a1d߀^+i{{NUVVnڴ)44Ln޼yXX޽{% 0&M֭[_}yT8EQ666C 9uCaN:!CT ,,,oh}))@)m>\ꄬ i U]]jժĻwD"Hv=͛߼y3w\[8vXQQQDD{쩑{u.5kŝ?߿CO>uqqիעE:KcעzWYأP#W.ݻ0>5G å|uC`^&HGFh#Q~_!B!y-B!"B!]y-B!"B!] v!Beȑ7nܨb΅mVkB!rsssrrҀ윜*`^B!YYYig!YkB!֭$%%ݽ{W۱rݤ$3Uf. .Bծ]1cƔGDDHRm$J#""njӮ]ڪx-B!tٺulll.\Xbbb.\`ccn:%0E!.kѢŦM`֬Y%%%ڎAIIIddY`ӦM-ZPRZBm۶o۶DA!$Ç.<<\&ND5E^P]ˋHOO\]]--- ?EEEw!M;w޶mm1E54Fh'J-Zt鬬,D"E>@MӼ`^j20i@v&D*޸q#77ѣGڎjݺty-B5rE.o !BkB!.!vqС jp~-B?y(ww: p~-Bڅ!BHBiBM"B!]y-B!"B!]y-B!"B!]y-B!4EQdi4{B! "B!]e@!ǥ +++++ѣGG;<==[np4GA4 {j䰋6~ƍ$/)h?/ܹ]!}8kQ=K<,Q.ژI$ VVV6o<(( UjJ$i;VUU 2hQ\\l``lٲN h;:a^^faBvF.](*""b͚5͚5vPEII̙3m0LpppZZPT}c!T_<<d̙j7P=YxKRSSn݊I-WfͶnݚjeeuҥŋk;"a^j/^8pMӭZ5j۷oNQT^^5E &222--ãcǎڎ{;wnѢEE_vP+WO 999$$D4R!!!য়~r劶QSSgFl߾=222,,lܹB0++k'NvtH]x<++KOOƎ[TTTDm7nuegΜiRj߿9sfppiԂg̘f͚gee5i B@zW~~H$ھ};ʕ+">*YƠ(rsq]ww6Il߾\–$&&˗5]SɓXYYXJGGG8ycQC@H~iȐ!Ǐ 2$%%͛7Z ">>M6l.B,4hP}l@"hРAykr0EV 9r$22R7oްw|V|YUUivذad̯nܸQ&L]vq .]B̆VZp!9<<_~/^VpqqkWX݄t v+Mxƹj*nwށ;ؼB~Ç+?R/z: ?54ݓy-GMwI$f͚>}Z#G޽4hPMMMW<ڛ7or~:y`6IPSS0l011YnMӣGV=Y(s oݺ:t3g,((kTE}B_^%[l3NJ #'mllKJJ ((Hɶ:_t~(jh' CV4Mo޼Ycǎ~?SGG7n_vmʕ?pܸq&&&ޯ.w߉+Wٳ'..naaa !7nܨB\\_SSѣG8DjժG,ʲ~ H$Nr8VWWWVTbWMDlb+166Ҽ pT*_GJ$/=xH.O&ym2%ӧO+'&&g}Xԭlƍ111[*曗_~B*PˇJDlyTzҥK;$"kkO'KII"/g?/BgszQFk&_@]ծZl_u;"rqq %"X*FFFƞcƌ!0#vy5k{gy-m0˗э7Tbqŋ"""!*-2p@[(QQQDOw8@Dg͚ED?sG%YI*˔qgdd>hNEsz?_BV*ڵ[$988$$$ |}}euľ ={'d?tPHdgg/WWWgffZXX'''r5k{gymCCàAu1^&*hY~M޽-//WRY~̙3,dôIR"b _~ϢQϟf7&6-klȶV~M1Vݲe _~+3w8nl4"rttlYgy-Ga%>BŮ6##._T*RBeݻRA{D ,-\[[knnaB-**0`SUݪotsMMMs̑ۊ+8zݪ̼{DOl "k_GD/|gj8"y>***==Nl/n??xwY-<<<33]n޷o_DDDBBF:ED7oޜ"cǎ.Qѣ;;yEEEAAuf{Y%*96??=nc˕rΎ˓=U8Ʀ0&&=533/_fkkkU Hf+յoذaMy_RRR~ǫWB==[*ݪLDǏ mD4o޼۷8NOOO l3KӧO-*OOONwTlՑ4@Ok555"0 O?lUsxtiiivJ7oYm?F;iҤG>S#ϙ3GSSSq---d7(֏jd4|akk?3f\x&N(( V2 ?wXΎU2;m4J&!cO޳cmmmqSΝ;v%"gg粲2Ykk5k,_\)1.\HKK[lYgun޼)t̙֟}B5KK={2%''QSSK}Fk /ZhYYwEs{7n6T- 'L6IQvUV-Prqq1wv$\EvZy4h jAGD[ zdLO>$$$Ԕ1uԯ|r _dD"8nܹYYY\۶m#",++c9}^^`_oGٸq#/o۶mk֬""T8՛hyy֭[/\0xM{;w."""66VŵoiktUQQnnPܮtDwÇ{챾 J=zt*G!$e0X ܮt4MC^ }ˌkl@a1+h?؂jB I-7}Ez^}y-Ç_VvdUWChhӿA3gaUUЁh*CCC5Z?Jʏ>H@ݽ{!//O@4F^^^CCݻw'B,Ő-:???"B^:^M an1d ח?.t W}8^ 7d@_PqagJMܥAGaÆfddDDD̜>}D")..:nx-O6v;b @/߼y3K.:V]]tR7oެI-aT.:4mڴ>4@͡ &Κ5k߾} 6[@kkybXzy-!tлToQgV #B\2f̘/bBG^rss}+W={Czy-!tлToQyxx\|[%:;s̳>s7tP۷?󼷷_|/t\=x~gΜ߶mYK.dڵqqq0^ }CлТ@͡jgϦqJX#ظutt1c >.zZ94Qs ]k]]]!>.zZ94QaaZk@ mۡu@x-h 6@^ y-h}ӓm8SOɓ' :Fsrrn޼q͛|I___݅ZW^y駟!k 4@ݻ˖-,[lѢEO;vt <:nMyEEE'O1cIHHHJJJss#]?@a=È#,Y:uΝ;fΝ;N㏗,Y2bĈݻwc4꽖lȑ#Y.*. Ņgx/YɠAƎ[N*]խkJ/fqww>|8M4I>xW\xyyy{{+WU`/qc=9l0VoU۱cq=rHVaΜ9J|(55U|ӦMDӭK&Ūn߾~FSNݾ}Ç녎'>}S+}q ?*& 'O$"KK˼,_/ܸq|j(H|ׯ_Ϙ1?v|6z*{IzΝ;>Su?|6+_端"'xBz-:ݓ?OLL 9<=ZI#GH$mmm W\!zZyڊ$jc}AAAD)t,4ID"QzO(66֭[T*c.O҃N,bK+_<...vvvcpqqDMMMibbDZĦ K_)--533#/RX@۔?MJJ5jTBBEjkkTUUO=Ըq{*//wpp066/ddhddPZZ*_n߾]VVƵSTT$J޽ف555,W0p@"b-ZbZnݻKD+V: mn璧֣WAAѣG_y[[o駟vuueN8zK.?~ݽ['H>uX\X,VrT %"(BDzzz]orrrjkkǎh"c[-;vlmmmNNб)--mjjb[1 D"ĉ'NHDU-[&^J^KIzή^~@/q;wڪZ" ¢AYewOwhBO~鼼<6 _˥ zI@777*tRS##+W:::^t={Y>mjjRj˓@```kk~+_t/ZZZؽ#*0aBIIɅ  KKKCCC{9%>޽{W-))v&OD{h1vuhV#mV:9lիWMsrrn*_䫯:z({:C sl,O`D-ʅ =zTm s/15===tYqsW]z 122:RUmIe`Keyyy IIIl...{X*FFFƞcƌ!#GrSOzzzX*/7v>>>FbW^-K+;ȑ#}}}(((AI$>@yƍn]6QBѵ]bBBG?$"333z-Jw-R: b[XX̞=ĉmii:tH${嗫333-,,U9IZ[nuuuD666:!GLT__?11Q=no&((hbsӦM]0hР(rwww^6B=E׮WpΝ۷o+_JJJ<:6uuu---&&&\~-""СC}nXlٞ={*++YNOD/^9r;fD&(']*ty3#QП^y3335++ J۬^>55UVhbb6{-ȂzkTXߴik׺srr֯_ODl9iʺ ,`VpWWW矿K:4]+++"? kTtOOO''J"Zxq`` !}G,V.<<<33[nʊعs5k t-~rGՂq)))o񆻻{IIIMMM@@~g k޽{KKKyojjodsmAu n@> w^[TT$t$mXB^ W\V__ĉK?-tKdddLL q֭j,\C<cʖCUWWQՕ]&t$mXb ͚5ݝ 4iB{\UUquu53HRSSڪ*,Eׯ<϶9ϟÇ'M͜9Zk׫@dnnX[[)>Ћ_^[[舤efbI-͟?ImτM8=ϟ5kt6=0zkNi,YF%hH$Dt_ʲ[???d:NDDAAADo  h}xOOO;vBF,X",,,$$Dٳ,&cǎ煎իW5ey:>o kR~ظq)))ڊ+o[OvvׯWGÇ/Zc]gy77gyFɱyŋ;;իv@"XdIg^rO?UrlEe5njҝ~CI盛 @D YX=kdd[^^>c 忑Õ\ƺylpp0{lٲ5kW5j{䅴]鱿x222!RSSSX/HRP!i%AUTTܼyS8kM 8xo"KΝ쾚-[رc̙q˗/P8pJN;|pvT8sqqQrۦM:\ cݷl;۶m@"rvvVrGBBBg:99={=-++3Zq\TTԆ F_8nݺlll\UUe`` tTyc䛨T*n,\pϞ=y߿ y,3ftеUMSWW'l@Z@$EGG(~{eA I-h/KjAp:qP5QmaaC=0Xq*a GIDAT̙37la:?FbbٳUtD^ CkP]+bKKK"""##7lY78W"!'EB8;wnAAAjjc=ֶi&< |0o޼dԂLBD?ЁtLJ@[~Rwڥ[\h~/H$z뭷 mll*++ G%t8}||qPz8^+f͚tCC#G^pWM:5&&~@R 㸹sѻ+t,ɹs"У2׮].,,400شiSllH3@{7nEEEB@DTZZvWWW]}_iڵmktttss-[߶l@X3^+sС%K̚5?\pLJ~'@ ə:u*9RptZ/DCMMM{26mstt,,,300:"-MMMs8p`aa!vPX4KnneFF̙3tHSS̙3322,--sss O*VVV @5jTvv?斓#tDrrr~GKKll>jy <7:>1jԨ'OL2套^:(Z/Ҕ)SJJJO<@W^_z~{W۷oŊFzgSRRjjj-haÆK$;vXZZ hKK;vH$aÆ 5oիX, qpppqq2dX,6ZA555555577UUU矗/_.**sѣGd 3g:886@p¦MRRR2222<|a\]]zڄsϹ[PLc=J-MAJIENDB`gsasl-1.8.1/doc/reference/html/controlflow.png0000644000000000000000000005333013521017733016254 00000000000000PNG  IHDR!wsBITO pHYse IDATxw\;(" 4DAybb㰜bW8O.b+D@RSco. |lfg 0;3Ka$X+W?{"##C"MHNMMnǎ:tFXwpBJJ F1 ///MMM------}} A _~MLL$ EQ]v2dȴi\s,s۷'&&b۵kdmmMQT?xڵkqqq/^@Lnz޼yAAAP?CVVV6m6n8l0@ vy|REEe/sG ~GБ#G޾};|pHвx… K,gGݻ7pk֫ `2ڵkN8(sm۶iii]tSrwdUUUUuuuMMMuuUUUl6c1p8|,6---2Ǟ҂k)@&^zE^zIPT18qO}ϟϥRPPhݺ.@[[[]]]UUUMMMMMMbꄫ%T`0ZnmhhȝxYYYYYY68r}n۶mذaǏWRR/#4ǚ:u޽{'N~H@{ςt$UV&&&&k``K҂B'Ӣ"$MGGҒ[ DXlٚ5k ?_cm۶-$$d'O d.;;۷۷o ԔdQtFejj*$>|yÝ~1 kk:t :iӦ޽{޼yׯyI@߭[8Z@+++{gϞ>}ٳ/^|~U__m۶m۶cٹYׇ ? :urpph߾M3 4LMMׯ^zE~}ݡC[[[w+=zx7O7H 2337oܳgOr,Xp…YGIJJڲeK@@LЭ[ӋEfjjj;t 4qqqA:tՈMcuZ4KJg$ŋWvqq!]V!!!׮](UVV^t)88֖tniii,Kс۷fAAsǥ޵kB ׯ_B߿xӐc5O@$ɓ' ,$L{{Eݿ1yf۶m PWWGj*((Խ{BVtmlld2ޯ|} cpbbb\]]UTTTTTbbbZK.u]UUUYYɓ@hh(>}p}vԷ9̙ݖ]DһwoOiB Bh#6HاD1XAAAKK̙3";ڲeѬY=<ĕ+Wz}o0x`444w@!NPF{$Z^nPE~@;֭[7EQk׮}ꕬOuucΝ;_|u\!tҦM60E͟?_J9::RWw "''GGG8((.@=(yРAmڴ!Hoܙ3gyNWW744t^"%KE{YȜ]D-O wӮ];PzzH">%ӧWƆؿ:9ɓIۓxHȝcm޼u;vH>\DuRL[[͍Zx1;Zp!Bu]tA)((;ve}nM6흜G4j(}3Tw+?΁|%""!b zm"Gu%ܼl۶ !0"Nۍijj*~xɖǏ"YZܣf7]tN__ݺu999d|͉[`[⿩O"],,,UYf-!kkka ?%2 ĉtW\AmV`U۷o-/^$+"o?55`8::ylygΝ>@ۗzѪU+w`06oLҵUV!He}nO>%wwْfjjJ3b}HM+n8pFA$$$?DSN/^uP@\SLAc//vI1lmm/?zh;Ç#~'{~w2EEE MDO8z((,OIQQܜ 6(1bBhϞ=/^]'32ϟ?GuYX0`@RRFO? & 6lP2AxL#%ښ &Ճ,,,dXǏǏ/_ޘ۫W/2L'OX[[[jkk^Xܷoϖ;v |||UF//XgϞ4iҩSM|zsww/++~ d~͛7oܸq,K^]vv6H.c͛GBYɓ'dÇɜvK~6mO՘D4ͳ8 !Df[,lff&c9::޼y(Ǐɖ 'TO9/26mHoE$\` yo!CC~ ;}4=ؘ,Y“:̘1&;uD*#BBBb{}D4Ϳ7[3L` \|_DЀdT!OOOBllJ8θq.dӧ 7۱cG5vޝ7z@@@@@}.]B$ $$CCî] ͊NX2">(";wLFD;R qI83--kddhŊ':sU>|˗/lrʕL6mjj5sL*!-**eǎdHkPPdɒ8rFR͉&N+~~~O"ECAAfKB!Bhܸqjjj7o~ `)vttܳgOFFʕ+.]s!8""K.[n}1ɴ;v9sH@᪪~iӖ-[?'%%%ϟ?~'Ohii t萃ҥK/@c0L)N'f$**dB>hlmmnjs?:/ȱ!.\рdl6ٳKQPaaaō/w޽}3fK.zzznjG )cdԩ)< [jjk}^rBUUU9 ɔu 4 ,[#W Dه,{5c233322z322eXB׮].]=ȱ!#@hM#X rww"s h^.\˰0%%%Y9Khh~*++̙c``o: _~u,M(OOO;;C:@ͮ]TTTd c۸q㿟޽{޽{ׯ_5kc q͝;w?~᲎XtttNpBΝ;cGG7n`:u䔜1^tiAA۷o1aaaɪ555ׯĉjjjH0W5a„ݻ#ҼBޯ^!V^M^m׮ȑ#3gά?~Tm'33333(40`@JJJ#B,^xܹҫ?$$Dğucǎ/^R円W^Earss蟹/^ˣR _>{UVijjJں::.% IDAT/_ހXE 0Q}jjjN`~IJ`ӧOoZZZ>> (СCڸ6EQgϦΞ=[!J^矹 +@9h ~+V<lpUs=~Xrr$''cB㔔o?ry@\|? -/_:wRPP6mڴiBE-[̬SNyyy}vttqB(//O>NNN'UM:!7a„G"8Enn."h۶͛jbbҩSW^"%  ۧ#^~mkkKo~/BHMM }1I1gLLѣBw`XM ȱ@Kj*~iϞ=$IB3&44t̙VʺpԩSL̙3=44mϞ=_x!t}kkk333 ի,X 0N1cχ tyЅ  $B d sĉeeeO ڿt Rx{{wܙ;QPPZzT[j]]]]JJJDD]xx8!T^^1.))QWWWWW>333544HSZZJA?MLLLܹsn,{1cٝ6xTUU ήVڟa лw;6wwwOOO =R____ii))lzbtuuWZՄO6mۆȐFyQy9׆  C aٞ .LLL~`p8SYYI\+++6`VKKsgϞ1bK:ѣs-PPP//,]v9;;oٲEQVVPPPyNz\$\b-_O&9eʔK.޼ySjo)L%bn6`oƃСC>400hݺutt4=)--QQQv튍>}_ڵkӧgϞsN54ڵkd-7}]]]vzmgg簰0ڲ̎=9sȜy??~^4ΠA^:p@SNڵkRROaggg777-_L{3fD\5~<1x) Uw[iJ0KnIx`نyyy 4%dZεXΝԩѲel6|55k֘-jjjf̘/^knժUHМ^sύ'[LG5J^8Ef7wwid =z%I ӦMlؾ} *wu.&$cX/{0-XɉvZ)jӦͻwׁ7ydMF>,Q򪿿BB:}4=ѱz8mM4w$Çܿ\77cOK}_bM>I~U7eeejnn>x`??;v8v؃S2'U27<(y{[zdB׮];{,jnnݛ뫬,ze?e}tk7swEOqO8D xߜW?E)gȗ-\ӧOM"a׬YS^^.@׍7/nsܝ.]5\w{5D9]S???2򽶶Ns㹷s^=!d2MMMg͚(--MGG'<}s~~~AAAaa/_|RTTT\\oq׹qF## 6-Jvjmmxb2fdh$h.acaaAX?I{捃Ç䏙N2p l.C.X߽{CX?EQ-2556mرcMMMgΜ_mԩN&-0`},W#}nqʕzzz8Gr@@@ll,Bclkk+ ^/ʹR"_梶$晈7i$_=A?V~,i~lݺc}vXCC[տq.]91񣒒2X(Cݸq#… 6׏e_NWVVVSJ gffm۶N~䉈v1ԩS]v}O!H1ILL񣢢"ԩScƌxyy|\r%''.0G]"B "4~,q}M4 ccWWWe0ZJBV9QJף"XRB&r~,a#.XB($$g8BgϞODȳX_ϮKc5X2&?7͛7]t$㘘++++++;;'N`A3u`!9VVVӃֆr9s昘8;;gdd篓׏9?$c]\\w8p F ]R~aaaG988TUUaxbc H)v-iɮcy$(++:u<X>DB1 +rAYs,;" jc <~s;*)C111۷'J}Hd2=<S|r,i/RSSC|룐K+!\\\^zA=]קLkhh?jЋp$ʼyxDZc,xܻwoܹJ#iUTTdёׯ;wlbb2c ˗/G677777=z4._4ZWlS|J{I$u^(^Cca\  M6PVK" Z~~~d6æMH#G1L6j(,h>h ^q^xYRWW'-1ƣFӧ͛ݻGfX۷oٳd`1rZ7~M"Y~˗-,,>|خ];pOYYYV-++ic ? ͑s,iUTTYcAh,..&3CyAu}e9o'NرcNddABC=z9=:8I WWXq~۷!6Mfgg[VV h֤}6OtK4U{4+++]<cC-:tҚ4iRDD۷Bqqq၁!1 GAYYy@e$zw^Ѝ7&O̽/ɜ2eʥKRSSo޼I/^hd<ټ{wFĐ-k׮el6{͚5CIJJ۷/Ry_Oʱo߾~++ϟ?-֭ߏ wuuڵ۷43+ÍGի'NڵgϦIvww߽{3HWI1r3]|֭)]]233 g?~乡5]&66r(u}ޗS|cϒH ^yHz-0K~d4S c|ȑ}7.11gϞyyyƍݿ-&Lx捦֭[{(jҥѭ[>qĆ B tsjjjcV^s#Flݺ/_̘1#99!Խ{;vSp <"!!aذa۷oVGUTT4f̘>cc}aܸqM ۷uȵ6m:ÇUUU=z6lؑ#Gz9s_x1444%%EUVu-++/--MII !zhۤIn_---(?3N88p`ppYbbbddd6mH%ڐ'ر >fa߾}gϞunB($$?y!==1UWLMMW%K}hjjlШ+̴(\KK̬(#Zeee~MM͜]]]PIIUyy9EQ(~jhhkjjVTThkk?VTTTpppFF+:tīcƌ^7nڏeoo߸$]V!Zlڴlr f0ĿTVV#LLLe0ڥL?毟'{sWK#Bʗ.]u)ߝx:1x̙Gի޽{B7nܘ}_EWfjjzᨨ(7XffǏvwﷲsv@Re<񏾒gϞ[.,,l׮]YY#qFТ\xq͵۶mڵ/ȱ4ʝ;wdkhh?>M8w9aff]]r $r,Ƀ @ <ȱ)h  e 077uVVV666}Z[[;::޸q(jӦMNNN!WDWCe Ծ|2zhsssssѣG4f33a [ucƌ$SQ1߿?xС̶mے[D`cIDAT#"""jkk7i$Ǐ]]]Y^ B*9rdXXdXaaaF"ۯ\(lfd۶m!@pB2=xݻwwss(JCC.immMQׯ_544-[fjj,|?>OBdߜ]]]PIIUyy9EQVmF~-̙3[jUXX(HH׉'222"##kkk/\p*++Byyy&&&$IZjեK;w={!-6߻Ml@YYYDB?ɺG ZV1~8 22$&&vЁCѻ_^^^&OY^o!1bܹ,Z!w}H:uBO>:h 6NJ;q833wTRR|)o Ryaa#F̗c Hy9VbTUU'N=ڵk}Ig$r; -򤧧;880(gHHH@1LLL:v'xZׯ1B~~~=مfz@1c|!YGм9stĈ P=7l0BI&|2))Iց4WW\3f*l2eիe@zjBCCBX[ z*te4w8O? s֞5k͡7-]c|rT~uK.?]O.۰a\Aj.\pرۓ-w֭[FFƋ/,,,d$4cߗu{4k;vTPPxⅦ&H\|y׮]n޼$8+((uwzzzOu rXQQ9̙3>>IIIJʱBu޽۱cSNI:T-ѣGkjj~gY@cݸqSN/^ zj֭E]Kqeff6,&&FGGGBh\]]߾}`|{Veeիׯ_ohho߾~sq=z|rܹ-ӧ=0a$X*((;waddرcI9BHMMmÆ /_5jTLLabccY,VC0':c0n8kkM6ѣGq(**ܺukmmQ``_@@~j"ՙ\~]ֱ ׯ]|Ç#F={v&m40"jjjϓ]\\5448N|;wȑ#g֭c@ҧOeggc ;qDըd2o޼oyU322蔕EY[[;99yyy4~X<ꊊ******L& мy=zcee%X`())nZRUUlWH&&&–=}d9 ;tPpped 2Hƺu,Y2f̘Cs @ca-[vs))):"dr,RVV6iҤʕ+ʲ}ٳgnnngϞ]h!k7h̘1CEEܹs u8Po߿4hĉ>|  PųgvpprJxxllldK]]ݎ;V^]\\<|v:(X|߾}QQQgϞuP;ȱ;v;vZWWwsΥ(Jq @:qĖ-[|a  ;yyywMIIIIIyQMM ByРAvuu ƃ Z86͛o޸qÇ!==={5rHuuuYG @9ϟ?}Ul6qww֭[ntuue3-XlKq+((`X卌u@X y,b1La?*++~ݻwUUUMMM(((XYEEEIIIii)jkkE?'d6&*KSSА?֖ԧ,ȱ-Smm7o>}TTTDgQAqq1]2)O%%%555uA444#HXfcׯ_Ԫy*Id-Xfiii'+}?n&u~n!ccckkk !fJDu,`c۶mzWǥxyyuww'$$B;SSS7oޜ, k׮B۷=<|֭[b}n`./^B H3L|VMMMГ9;;V):cnnnwޥZ[[SJ²L&SNNb_j:;;RZ]]T*0}^z,fB`h4d2G8^ooo?::299^쬍=D"LMM At:\.onn(((~~lllÆ ڴzT{ KҾ>;;;B^wssq {Jjhh7dicc3G"BL&$MV^pA7h}y &]VPc3333O<+`ii)8((YXl|uJiSSSxx8qO>8x`OO!RP\\_,o޼Iihh_,B Bٴi?' m\\(!2?N){0k^Cg)YYYrʕ+ϟΝ;/]O\\\ E[[f^8RR4 ~ydd$vrr<RZZZ---ʬ*0wΝ?B===˴rssSRR'B`IV >[hZn2NhFhjQQQ|KKY%[?`囘{쩫[f(V+ZjkkR)T_50vׯ_+ gdddxxn4 dKKK|&)::zxxmV˄ Ǐ/// !ի7`5233SXXٳ4`E _M `9X'Q߯^ XPcQQQ###0 fΜ9: @,։ 50foo޽"։ 57U57Z~,Xq[%Pc{C >XC >XC k+H%{IENDB`gsasl-1.8.1/doc/reference/html/ix05.html0000644000000000000000000000354613521017733014655 00000000000000 Index of new symbols in 0.2.28: GNU SASL API Reference Manual

Index of new symbols in 0.2.28

G

gsasl_mechanism_name, gsasl_mechanism_name ()
gsasl-1.8.1/doc/reference/html/up.png0000644000000000000000000000040413521017733014322 00000000000000PNG  IHDRabKGD pHYs B(xtIME4)\IDAT81 @D{xa;$]r =JR1, Sd-}0̟oL:m-QO[ k TzMޠL,:ךu!tK; Pp Ot@l/̵*l}IENDB`gsasl-1.8.1/doc/reference/gsasl-overrides.txt0000644000000000000000000000000013521017362016064 00000000000000gsasl-1.8.1/doc/reference/gsasl.pdf0000644000000000000000000143704313521017733014046 00000000000000%PDF-1.5 % 5 0 obj << /Length 229 /Filter /FlateDecode >> stream xڝ;O@S;߫ >(E8)ﳶã ͭfc<17Lf1#S6(([,S}a=Wzݮ{뎛n|ޮ}*,17r"m"_sU̫l)9,W-䄏a/LY{(@?G( {=SȩB9kU-e ?1` endstream endobj 15 0 obj << /Length 960 /Filter /FlateDecode >> stream xřN1Lx 4YZ!&d!TMg{UF(.{[>(C'katQ AW⬿7>|Dzsp9k>^<<^ ݠD 5W9Ry{[=+ޏЗJShA[qy;;W~Jğ{aAIԎĴ,^$^Eg+Cf?c›(1if j̩VIJFd8_MdB aqt DWwQ#1:hd :3Z&+v.+TP'HJ9*%^z͓vDUό\3Ide> stream xMO@+vQ'¡)IhQwiRD"nl"G.crѵsFg 3NuZA1Bc0n*s߯a6YfmR&p.BYEńѾjrXuL^`Ԑd> stream xMo09w >v&m]6)'D `PZC/c{<2,%4ъ) QC&V(fr7>3kӚ0~5yg!uu"'bԡ}:WY;n>H%`uP[@"t !s "a\e#vR );G)EYخwMҰY{;5T- #S]7U6mS{N;OL0f]eռ.}`FLO<8mM׶FT,$N_%B9œ(x|p7`ST&u&Ds6F{1`HDehFGfB1pNg=[|'> c'V|d '_5K`Dx3>8S endstream endobj 49 0 obj << /Length 1884 /Filter /FlateDecode >> stream xڝXw6 m{BI,&9iokw%&WeaA_pL~L..R'8͓^"q;΂HzE-MleKZeuӿ6.&I@ny­FĽ!xbr|"H%a_)`#y8/r"_xAüt֓&bl\;~Ei쏬˼`*ov^˖4Yu /I3"o S_$@H4r7/ca`E:3j_J:ӪaZDz'rU>:X˼o~%*{5@*9 "oA1YMU `@V2e3}/"V]yY(B, qN4۾XK=X;~g>HHٻoS ^mŧnhl^vDfhST4KE h$Y# 4r3U FFyKp#~0˛SV`'Sm۬}5bIq]֕?!"hт^ȫ*2%2􉤃:a,G\v72 ;v,:;zU&xPy?˾mu~ߴOMK<ڞ7k̇GϹ+4:V+Af1 N ` Zy\"^^\7Sv iݬٯ?Gr y7猸߬.(VKdcX?Rf+V*xp}{5, `~&Cq2:pƵ$ny*3HaPFHL8Jn eӾ>$"5Јd6%P]4( ~"4MmKfxYKN)-Q G+iw T QeN,AK3&d/]25fg+GWc;G!sUpq4^L X`dlx~(le BJ!);%"5c2.WѲ{n;m_wtFJҹ.%ı/3 WU \BN_baxF>!zߧs0hݝsMI,B"KY>`:[No~# dJQѝf0RㅕB1 $u-k&1p@Yޯoi&IibY0dO]YmeQmI:.Ueg1X&( ];؎#ꦄ b{ܣLqIHC⇹t ڨ bxYz&-eH5ds&UM!VoKÖfMޔ9 ׅ0-͚ʤn3(-Y8OڢfCA7SJؐFBc_E/_け5jT_G6ae"aK8L]=2eY$&^^ԎX5|Fd׌Mo;]XteKf۵r}^ǗזR&}vhx3q>2$&alpoyb endstream endobj 58 0 obj << /Length 628 /Filter /FlateDecode >> stream xڝTIo WpH5b0-U4Q[exL0Өzz+@,֧Yrs0yNA;a)m|*! 7'7߼vrykuj =zuX TdP ꪎWx@É&zKA?5B Mt{@b4qlʝ^*BaBR7*dA 3u a D_7|\P)z jZVF62w>]V6ʵCvŐ,t(ctRY>5ljwlvJ=U+⪳z¶}ӃR:t<_p"G9i8)[ |F:oq~ty3NAb*H W]Z4Vk邱xY3^>H/>Ô"Ij endstream endobj 46 0 obj << /Type /XObject /Subtype /Image /Width 925 /Height 482 /BitsPerComponent 8 /ColorSpace /DeviceRGB /Length 41791 /Filter /FlateDecode >> stream xwXsCPEƆF{=j]c_{-(5MƖK 5vcE>k{G;㞻ٝ糳yyݻ,Y2~;!!!E)X[ ='EQ}A`&`.5! iiiN9sf6m"D "(B,!xYBTrӧm7S۫+kMӡ߿Ϡ"y;w|f$AD!]!uVdddf'o@lmmׯߣG'Zj'O}qbbWPqTF)`Ɓ`( F xEFk={cǎ҅ٻw_~СCW^}MDThA r?"ĒtoB!h"BK2Lє+WnW$=t+aZ)RRR"""ј'h WR!u4 !Dbذa...ڵA!pڵ*U#F￴ $]1D QأMr.NZb$wUE!9ӧO?}}}wI,&A!ifǏ&,iZq#I1IMQF/^AHxCQ8.\PjUicpppΝ:/x exBr.W^uvvF֬Y3jZ-D"igҥb… y\<?›b6!DRRRUnݺ4{@!oY96m={{ 4F||<@1ɓ'Fb-bְZ?~ 7͚5ȕ/LS"$i b͜={ |GXCj޽;4OZnQnӹM}cǎAJ@4"&4rix˴F.i"ؙ1c7B .]Mq[[[۷oJ@4"&OZڈM>)r=>}Иgϊbۼy3 B>h bUV4u믿)r=3lll0۷o=s O>С 4\.)Xn'6BBBCxWn>}Ą|ʭO=bc8 5N:)D|"Ji SNeʔyܮ];1{ڵdn΅hlg̙@g7*īд1ԮǎAr7p1-潇i+V Ad">4e-)$''7mT _-y8Z hgKp#V "()(kIիWbA.^Hn8]F$@^z V"()(kIK.BӲ6 e05H|MAD&QJSPgƌ {{Çy0_'B)bRoooC2###n-U#xb+X ^~oV*֠A|Z9Zn 8A^X1C|葭-@鬅n uСnݺ ~~~;vҷmۦhp @ f $=!ùsnfo5sN 8`LǏTkϟ/]1_|';wCd?\zn΃b43g#G˥sKg-̒&LUXB "eȐ!5KP>/xA0PbYƎ9)**v3 RI&*;6ݨS(QÆ 3R&:tvuOOO$֫Wo߾}|ٳGPBc!ƌ.S5k޲Ţ;v iFdRj^n޼?)a-/_]VlٲObb"2JС&"Xd @(k D%AAAA)))jĭYݻw!!|||MM^^^] m)EuK~۷/6h@i!={VX1̞=[ Po=hԒ%Kv>zXBS8رC7޽{3jz)/%Be-!\ Uk܌ŭY_-5hhFA,X/5R(CZ۽{7~-[˗z,ٗy0`ժUGTF7|!PE>8A.g͚%驅JYS<~"E9xl?<#Be-!eWm::lM[ڍZj!xW^>bCJlƍFZ~sFtR4he¯~H>|HYd ~N) ×I&)_rE.JS ZjitNB wBe-!^Aˮ5"nշoh4bIM(I7ֶo.P}z;!NTܿy*Ud!Ν|rbbo>Cŋ...+Vo+_BjdQ1?p@gC?Be-!zCT3G6C+nշCΝ;5|N`Zkժ~Μ9ӐZC xyyqD|߳gn6kl(ɒ% ڷo_9qqvvf#C%$BT/(YP 6#9o>|8}t\666|wϟȟY I^5HkVZ!gϞ=SRRtΞ=[y^^^ΝlY#Î;t7ݻu7ݽ{W899 t[2e-emM6Kƍ Br:, /޽ժUMHƂFS, ǏG2eʈNZ ` 믿V KF e˖EgC)RQwN{ur:Β)k)ks= k[Z#W¿%KG XT-MAX3 6 ~GwʕǎS;E! 7nܘV<z;,!!ٳgj^k׮^z#Y2e-em^;\ckk;rϟ x>g_xy2qDZd,* Y*UlO<1poߎAAA b +W9۷ok4gggqS#LYKYG9s?ŋߵk$tA,/tbB,AB$5KN d&Zhf1OPdAmذӧv/twY>|8=%SR;&8p„ _wp%|*"ev./MAX3h4 EbBBB)4iW]|8666djسg%]vW^_zudߤDȑ#S2e-em˗CpHNCoʗ:W\1.k5j镵q9h˾}ݔ?~gggybժU%7zhK%$k011  )Hk={1W/^0?7)kSSS+W,&ѕ pssӻ˗/!=<7Ě]b-݀iY%SRd"!WdfWXeLo~DIY 8 ҈E囚7o.n| 6nI'O$ƥ׬YSJ5kRׯY;b%SRkF戺~z…jժR?駟:88bIu׹sg~yXѣG"ÇӧOQ̻7|RRRm&a\f9,,Ȱڵkcرc-(! at+ϗ.]Z۪XbbYPNC+7oszܹE k.]j ;@>d0diP$l<..No9bE@i%KGf}mۖQF^0HGԋ/[X777X@ \R 0`Y &Md'Nٳ'-E Ϟ=۷o_}$m&3c qƆ !d*YnUԨQQF^0#0D ! FaBx FaD% !.ˆ"!JAB]E^E#0D ! 0akFaD% !.ˆ" QIHHصk̙3 .L`aֆy 0CdonԨ[$3[y 0C%KZmxx.]iӦ?H°3 ?_$l #ERSS4i"ԦMX$ay5HF@\N ׸ϴF6 ѣG B&Μ9j5͎;hl^/ a OQX=p!#l)))UT_OkX <; [xˆJ:uarSNDWĤΜ9S|ylO)kodSD <; [xˆJUDݻw5͛Z8CF8w6)S^^`pСCi _B͐e_СCJJ:t,#+VLRRڷo4U/MAfH;*qAAA͚5۷o.͛7wnٲ%R4sXXآEݧ;~7H9r⬺vUV]ZmڵޫW/|1bYFA)k)kpJfD<;4!!3dm.]QR%1g;jTT<Ϗ?(NCe˖"7npChs?<۷~F~ܸq#՝ܐ.^{7ͭ1IGx P3d\ꫯ^z䈈$:::޼ySSPiӦA[|A 6mll+vY&O>-e[v-RwnjCΝ;Kb)Vc+WT\>#ZZ:5+e?={Dĉ<|<{׼yt WI&I)b-[WzoI)ڵ;d B+mN!t !Y{ EÇX)mش4[b7n bŊgi|Ǜ7ob/$)qŊHWCxKطk׮3n4BBɹVVeJy9qqq֭[hhh%(\wG1E}ʕ>x`3giZyl@@8ѣG2e-ot k!$W/^(%%%!=$$Đ)P+WܿСCj06mұ Sjշ 3zhZަeNy(E|*4n!iii.l߷l nݺX{w[Hs/t5"BY*;v Z2򇆆"q֭DFzڵZmug3#-;@ /6GZ"QsŦTREyvڥ(䧟~B{Q(w5f-Z۷uc.tSBZ1bVعsjqgxB EPs([,bhWj֬YV~}Mb1l=~8emNx2e7|CŪU""" ꯗ#Fx .KZpNP[nI[kC-^BWB.X@14.e{ɓ'[)e1al={xoջUƎKYk!*ӧOi7Ņ+Y3:yd)_~Hywٲ/+VL !gkk{9:馬%k۶k|JrbĬMƍ_tJ*!^z{1OQ)1|ׯ_G6ܒf+ʗx9m4.\( q ai\f[nZ_r?<%lF7?QF mO:ݔX.\;2_h+@j9RF C655uܹ#lRޖ}DDx{{5 wX *zj7ތ3 Pi4MeUBЊ:UkV$jDf=z^M4#?G@YGlhʖ-7nTsnZBP.!=|p锵 -S *%2#2Du-jӏakRfó&_gY{lmР۷od6tSb6ۏ3.h+Ǐ\XZ]GakDܪUDDDkZkO@o9III{Pݻ oժ~Μ9ӸM:ݔPfq)k42Frn...>}lA!E|7}w`׮]3oJJ 6I}?N0111[C6C4h޽wQ`\֪?#9֭[g丗/_vpp@4fMYKH)~ES~y*U`G޽>|EI Iq=<<6l(_[)k -ZT܎x%K\lŋKeGq_ۙ3g°"ϔ)S2oڵt852pnnPPժUSO(|̘1ʐ5wnZB򈬅jѣƍW^V`Aغu+V@j5j@ca{4-/SljݺuTTZZj;}#RZ͚5^yH Qθ  |;em+ڵKMM]r%Ğ<=/d.D Ee՛911w_HF#ފՕN7e-!.ku|JY+Ν;H_UTi„ ֙3gbKt崼̲eW xUÆ ۷o戔dA> !f uhӦŸ>} P^=}Zha|::{Ⱦ^ ALO?qZdҥ 7oZYlmߋpº6fNH :H1V޸qCŋ{ kenڴ)k +n%GB MEfj31u͚5ŐZnnnHYbEZXLqڕ+WFʕ+6S& BbR\4JWEBTƏ+_i4GdD!jDɋGUkHfݳgx9K>H앵8V8 !RzMYK(BrrYk/7..ܹ#m߲e_[yficF!Bzyy6Pt$kO>z*44:u^Y YdI5f3unZBbV,*={JY ʔ)3eiܹsUedlo=tPyCڨQ# ,e-!Zϟ1)h͕VرC5j2/^VQɓ'ʼnmذYL*Iwww___5ǽyf|&ln㋕S"kCBBPO?mٲeʕS/kׯ_c+V0aczDC!]V6._FEEiVZh/ZBrDBΙ3G[vZctss3.h͕ٴi=zTWz>|8z{{?y\YںuBgsD F/kZ.^j?~M6eD(^|YbEk׮4H6 <$l᭖>}tE7ѣG(%©Sʕ+9s`y^/%--PB;wݔɓW^׮]ܹ'n˗/nѣG"EԽ{S3%*ٻw?dgg7yݻw''',Y k</p3!Vν{p>~x\W\{WRe޼yV;woR3%y4[v%k?P$ʹx"YnݺtR)ɓ^Y{U|ٓ(1ݻwC\ٹE2XvasXGH iG8qbĈ&emrr-6lp=jB$>u$3ag!9T7773BzxxXBRmݺu jRւ؏?lٲoȐ![KCB vھ}{}Nwo]+6bĈ7oϫM6 f !J!d8݂ 111UT"ʕ+%&&J~g֭[ŋ⅔СC((!|7ծ]{ >]\\ M=<<:uiӦ{zzb͛7 ժWBWV-22rժU_~e@@@\✚0D !,cΝ5o.\K./^g8tPXX[oݺUjUV{׆!\ty(wypj%B5! QB!d, B!93fԭ[ܩe-!B… C%ne-!B3fH+ B!ֆa^R3ZB!X![5▚PB! 5.ne-!B-5%];!G Be-▚P֒u֍7qeʔm#:k %Xv!T 58'-5שS'ǯ_BPTC5QY^0HW=UUFQ}^0H2c -##Ѹqc8ey2*$E2hFaGz)`~ZsAQ *$ErtDEEE):gԤFNaYeB]Ī" J*en !l֝U&E(k aG2atˆ" QB2atF! QB 0aq.mcc?|GfV?)66EaooTyP$9DFFπ5H]EHi78}t&Z;;;b_hxe-$8`x1e-oEQXsFGG絵Mkժcǎ J̙3˗ǦO?bY[N/Q> fCm0# ͛7!gHHHZZf.իW nwܙ;wʔ)c{Fqrrӱqze-΁ "(B*D%A+`Wel۶MIqNY +j-_52w!%%:R"qҨQ#e-!P]!-jӉ谕]!q~YckkkFk{^}Ĉe-pٲe}ƍBYKH6(+mhhM[ݵkWڋ/bS`` i}}}ug o{PPPrr2e-!P!jDв6CPtJԩSG.n#k\Rrel裏,CΝ;H9|zY Zj3gΤ%ZB2DW7mTJjzh4gӦM0vX#'&&:t0n8~)>3ĉ !>'}(k !, ў={*z5jtС3gRf׮]۷<[ݺuʘe̙#z=|=j/RF9~8e-!Pf=*o=YDZZZӦM /W $˗u-$4K._xb#'%%͛7o_aѢE%c_S2ϧaSN3d"ђm۶mkkk={^gLeZY>zhd-XF \BYGdMtˊ+Z5&&ĉ QVKZ,=H] ի'YF7n .@>AMMMﯭ\B(k_N:wQyNNNׯRf 026D/]ԣG]qwb#歹 ڽ{Znd5kԯ__wXw [p8p@,UKYK!V.k3PjnQQQ{uG Q]qXRWfZvmlO|RւΝ;K%ZZAxxx%>}TݛI! q۽{wi(;l-cjmZZB;7%K-[wooW^)n111yyy!K:u֯_//d-[-Z(55Ux!(+^d͚5zw6l ȈW"F3"/^x찵޷o_F9\Yk5j̘1_7nlhwi4]&M%#kʶtҿmbݺu666H  .]*2,[L@ㅆOzo˗/M0$$EB(.B(P_"## H:yd|㌤GEqE͛U ZJ;ZBM#GS ٹs\֖,Y?W^- uV(QBaÆ"e6MQPB(Y ZV-CGQԱcGdv"GzDD-kTĿKN!իD$|||;Μ9SZEk޼'`_|<^elٲ8Řo{oTt N!${@ϟϞ=+{UT+?jv +%,$duMNYݫVxSXwB!D+b˗Bw}ٲeϞ=7nݺ,XPwRd}UZ Mֽی7:u'MM/^PԽ{~'5jppp… :tHl)P+Wܿ '` !eVMB 7:u'M7&t<… F^bb\r"%44?x!,k+ᡛ~=3:u'5MtM>歒Ğ߾};ڊvvvb(bkuAEѣG|h7:ug at써;w"[ѢEO>-ϟ_.ʕ+g3--MRpa( .O[:~lQTk#~ZT !.ˆ"!Yv40) 0aM?~nݺq5nܸL29]ʢ Jjy FaD% !.ˆ"!JA"E^EQ0D ! 0akFaDTRrŠNҚ6m:`|_G}F&atZZ+ŦMvڥ&+Z{=&&Fќ8q!MFPRZI|LfKNNׯRf # btZ$kRˑrQ6zB)6<?!J[äW_}%ο\rЦMl-P@:_l8"}HWe-!B2P9r<==w$%KիWK7oݺ)%J?|jذ}.d!ڿ GD-Dʅ PjZ@A!#""xMG1yB{j՞>}jAL?i@^|Y?^zѢE19cǎv5EtB!Y)k{l?qDG1yqEogʕ_sn}AOg8s +Vh-[,;ŋؽCBJYqsyٳg¦J*9rG͡N8!|DX k`ׄybRRTY;ÇEʣFZpC111 ¦` /YFE͉0^ (&OUf͚PbC.],q#4 K@U#kZ-nL (ks{0`@XX\]]" S0;$G!.\`D$&&˕+'RBCCs֭lx!bŊA\)o߮?Sqcǎ!UV*bTŁ=66V̷ΛqjǤEQ3>3emNOXPVFR\%K]$Ӏyŋ.P5F!h߾=YF(Z߾};Bڊvvvx)d!Z2ڵk?ŊjNL|XښGuVjZzB,8UVUVM١Һ *OLŝeܹ(յe˖Ǐ7OUo{nݺ7q#Ks-pZ 'O$q%|2mҤ H:99ϹsBnܸ:uY=VHǎ===U#!Y A4!(SBaHCN!;t7acBQ0DBYK0a)0\ aD(S蝜 6H̜93y_!4ؘF! <;w3\r666^^^m۶ݳgb`r966ِ,bŊ#[[[)U[GL;v %_=ox%e-!(B]t)fӧO3)...""E *$i'kgg/{E}ޣDFFJ8p9#GͰ|rA5(EP5( T^\/kŋyV*NF !ϟ_31ɥKƎ fSN<)zhǍ+!MStnذAQ^Iy֭ڵkck߾}N:ZD |69k4|z3iFdP#k-(Jo7o5j2 w〭yA]t1]2%%% +k4(B# @`@"J/1ݻzq);#l([OI 't]B''͛7#ޱYdIy9JYJYkAQFJ^x1/_^* !ykhճ6ѴiSD>tuuҥKguWU!(B&Dq3fF/B~FĭvcӢE [Ŀ׮]S#n_;t萒"?tsF~!9sFU4k,ւ VF dطoH1;e-.jm۶Ϯ]8ue-E!(+CTZgggPvZ谕pqqO>|hY!Tߖ-[ eعs篿* N0)k}||ukժ׮]z#FҢ2i$V+WZs2^%KaܸqO?_~eH5kO\ﺙCLash`<' `ذaOgת־z￯]6.ݥKÇg;jZFVrc޼ySʆ4ݑ_~I&^ )-ZHƙj8ŋ;990`d(Be-!=Z!hU~ŭv\r_'$$kCO (o߾ ?7nD6___ݧQ/P+7A?*T|&gz2^s琡y'2~B >w ֭QC֊k<$&&'>;DRwǏ8TD *e+x2eygϞ5l- IBKoˇC5rBHoɈ{ӧ}]ݳ"0H QQF ,,J'Nzm 6n8Iܪi7 KKJJڻwo /U ͛:w,~B܊% Gf|z #e„ fZs2^22TTIѣx_Lለ-k_.P۶m+?sS< A~6mjժF)㍔/޳Ҿ[۶m CM!ꝸqR<\'jժ=~X_L$%Xx_B7J]mR~dYE魕Xlق C8.\-GZ<剞Ly)a)Zh”_~ԩcq~5E ŀ )?={J ^R3~bt?rH"0H ݻw+6f|ƍ5J >>>Y{1|ݔ)SԴ666bx^80s̭[~(w O3g!,2RѣGjQC6w?M1@aAQ&eFL BVY{iq?PI2}vNu۶mIߤMMM3莐yf7yu߾}鑵⿕HI[5j,["0H ]v)-4iӦ77nZTp2ȸ|}  g㴌ޠN `|_d8eļaS ͬ6ol(C3 ~O>U޽:uʕoCǏ7)k0ZVç~%yjFYK(k U[ӧOh-T M\n6dȐG$i mDR*V V,ǎkpTύ7G֪,Joɷo3f ݻwHTCK'NENŘ\#k($Dر'g׮]=Di1s󛔵xAwhoxH*GwP:_ck-ZzjFFYK(k ݱcYbQBzRn[Nt"ؼ$<~xCW|ZWH@oݺ% !K9X,kU%)???DzqCL ;sV= nZ<~zzf1ߒ# k3!Gv_~sXL逇wIׯV1{&K%XC 5n\vmСbQ:+3.)֭ Y(Ϙ17nl(4A^FZEk@G}A ťI&yVsS.V";3]l?B}Naa0W#k~Ыx޽"E`S5D1իU{QZEE K ?`m QQQׯ77,~UӣE@$|fgEf -e|~[hP_xjcƌٶm>`j_MII 3;v:th…~~~"'N[ܪU+1QޢEo<9r$""b, ~w1`޼ywܑV+;;u$g͚5pŬ$/7jRɃI5^2Dbbx(|RܰjI~PUW#k_w $$D nӦMtXhLLk/H,YR&{ M4{NllQZZ{4Bj*qSL1yȐ!"w}P_sqq^ 5jks󫔵ŋ wrrh4^^^۷ם1mmmʖ-gn}`rI> QCN㧑rFWWך5k.ZH1e-aHC)UaZ# ! QB;60DBPB(CN!e-! a VZJJMM) 8(k)k f !JL9s6Z{!Banڷob)! 0DIO :6˧B5! QDZz;5! 0DIRRRTߟְ8h B5! Q3ghZFcZ#8Ba:u*\? \Gp Af !J"55I&AmڴM^;80!!pR2ef!riiiM60`ԯ_>b0Xd|jtM6A2 FapƇ 1IYѮ]XEX{{LLF9qC4or 666oLFnd.`BenSN6lX&YDzbUׯ_?)f͚ 4`eL4sAK2av!Pfj[FEE!ǥ˗#ѣ QBx EQ9Eֆ(QB>ӧZw QBx E<Ļ!e˖xBĴm y\\\ԩ~zy!wnٲFqvv [h]X,A֭ۇ̟?篷Lغuk###(իWwtttpp@֬Y#2 6L>.άP&,0*l͛7WW^Eq5ruuMNNfG!.b5fʶtb!]nx7<<<00P_tȰl2*7ntX&kgϞ-/_^}ѤꫯX;󨪪w/( 8LZ󬥽˴YQױR3P˜xK1PD S3DD]Yw.;z~?w}~g=}@xݺuۭ[Ul6mBQ]]]bb HoOpȆ)gΜb'!EH1Fԯlpttښ5k͛M z⫐dڵ矡ʗ//Ho!&~ gqssC+Dʅ QZW֞={C&%%gٲeC*Tڊ\[j%DXC,UO>IIIy50`]rEgGFFr#ƒF1ۈz=y3*KqyL">wڵK.GgQz 1A>DEEH8avСz9ϟGb|< hkb h"]=11ߟ!0FTjՠd>|(O`|7n 9u^^ީS#_)Qo!&Z(:+++28=z;wZӳ@hZ1TU [E/^huqq) 8iӦ E6lll|}}PrP^=Q $ߐ!C֮]!_|7n\\9%)BLJuY =(X]"d!V-VEFyp.^!S=B(<at(V[jUEbVVBN0Eѣ׸8WWW$6jhȑ-O~~~ bE3Q8¸V!ժVAt5V@ umN`` =B(<at(OOO*Xy TTPffxe> @4n_Vdmʕ Oݻw/**+kq)U7nع(qssMykq#ƒ0h#_~&* :I*wذa!gkk*UN"RbooݺUf$_e5>>^~xJJJhh{쳓z [!v.EÑMwǏe8BAmD8p^~eiA8;;UP@@Ç׼H(kFTttF+ۿx>..<555nܸaf/ѕ 0 88XLNpss6m=ؠܐO_Zb!ҭ[7C| {Q5ˋCfh]ykלۇGT.A8qℿpMHHȨQN)1'ށ5L e-Ξ5kVuppbŊ\bٵkתUp3{gО93o/ <>H(k #a!ƍ'_?&nIGA0aZ,nݪP\|rZ߉eMZB@C2ݻ͉%MZB@C9vRl?(#BaZ92l0?›)MAf !ji?SK?›)MAf !ji)+MQ M P34[^=÷" o§4!9SV!r:um۶t C !޽ϳ!ׯy&>i4SN1 ySJ!EJ~n1bҲeW_} .BPB-A6** g#ʶv0rH m6\eRZ5"ڵkE J700qD,z 1A֪ }++>@-ZD4YһwoIي|k .(bJ(7gȆZ)gΜZ))X|+h7@/رcB'^\uY{-h9$6mpE5.\w^vΝR~֭[=<<,n 4Ǐ_`-"Bn@bR@YKf#vww?p|ԭY&n޼Y82իBOk.33S`\|yDz 1A-SqYT 6))I$$$S/[L^dD\s###]X} Dz``kԨ.^SRofee} L<3ӧ+[mtRX/@Ao0 9s)C,[N ''B t5ʀyҥKǎ۰aà zgRB,PjڪUJ Ũ;a„-ZWie88QF#G\h~ST@VBP/SB*WF(PV;;;ktqfÅ[WQmQCSB,J5p.\Pu333+"G|gӕ}Z2u/+WpR/Gٳt1!Cto޼XaCd///%CL>.m*ɓ|~'!Dc/]|r5O#?IIIQY'J{+ryyywM^>OL6mZM4ٻwo1Z4D Eh4;vTLa@* rw}W D2b}+b7oh} h 6o\v1(vǂ ]O?DYKׯmٲE(F]___ݷ gkk*UPS k{8p R u@oJ;ފ(9,, |IaA!Ȁ")mJ.\zju#_gCT+?ZWS'΂rppP[1A6lذ0Y^Q *.ᄱN4Cʖ&Z ƨ1J0idkO1|ӹs\(z !oD8p^~eiq8;;G݀{{ÇKõX`nݺ"VRګW/Qi k) e!-Xvmonݺ5̙#FDZk֬YHenݺUX}ƍ<\k֬Aʕ+!*-/-sssK)MX֭^rƦE +[TpMSn SoQMS֕G73g⧱cXѣGPѐ蔵0=Z ĉvɩVZӦMؽ{ ;::vx oiFN k Do׮E{qmmذ_^q 3u5j$%BoݺU>bxaEzxxbB7ASN$ ?b{A>Q_޽{ͧN>RJ5k֬O|=E>ec}❏W>+WV ޽[1|Aԏqͧl>e )=;wA:SNbZ] w1_/_r cWyYrXp3el?Ҟb_5~濦't]XPFyn@@FH\|,XCl'UPW^J@R<==#""cbbq͆bZ2}ҷ_~R{7n܈qed9s|Ql Aݏ?^cH=z(zB[ VƎ[سΝ;EZ׭mժb_WEor龘)!&&kt pQ֊wh|Ɲ*֭ڵk|bUp|򸗧%%v&/)HJJ±5,6|pGGGTգSLBwDwj1K1VXK.ڕ+Wu?TvOmڴ)x4Y+fTӧO㧖-[> Y .kkkq~lPl]СCH8p e-%( 1A_{d$FDDPw]\\]ӒC455u q2El ]v-N(6%%壏>BZ666VO]zClS-=~:okk[N([d#G4OAQd~jժ/bve-ЀbBכo)-})]/$ZBYK,*Ļϸ\xQ ŽC$7P\ē 77iӦ1 QI$q+ɓ'i4?qpYkmm훏8tݺu1_,%_CCCo߾ݤIT]R+WJ{@?{{{K˚^^e"?SQ>IWns 8995lPKn(k e-˜ȌUH0a,.^R>%KEva$EQ0D͟'Ơ7>ruuرIo~ȑZ2>H0a-999͛7(z=DրM[X b$EQ jժeBCCCmll:vhZ!bZ=%:um۶ܘ8q"\SRXZ@`V )/t޽|4hPbbQvp5(d+ի7eʔ!kׯ_oggwM|C79u=b>8qȑ# [b샄qn߾ܹs.\oږ)S&!!,䢍M ?~,Ξ={̘1F`!E>>>#FRZlꫯr#fBVV?2n8ZC/ln샄JLL'8J*%T=  )e5t_]7&55e6$$zyyyRqAf͂S}@`+X vc$4E*T8pO=JKKBrʠAݡu˕+׳gϤ$Cd- ի}6m;&^&vsstOpB|_K(nժUVVVpB.ӧRJ}vy!޽pS&M-[+ϣ^rQO"}E4ockkmٲE弆F[|yzlllKQM+u'>>߷jh"1++K!rssccc'LТE 8zxx=zT򲫫+5j4rE'"XBU?J7i+k젓uMD`` =Bh9a0+us/z-dKnnn޽{.ĊտUd'˗.]ڤI+^[ۭ~S+!~ _{=(X>R,4DJƍUz-K+k 1YkZ=ʕ+#Pu*"/%)?^fMǎ+Vdܸծ];<<\1aL~π \̂[nI˘K:eر8(QR ÎXS|(D޽{Rbŝ;wmݺ~ZviuW^'*bFɓ)k !DkѣG#ذ@l0qDKLB׉Wpg++ݻw "c@  M6B"-Ld+kZ1#!Z ر#@ " :G ,Ҫ={Du3ƊM2K_0 U<.{%*kZ\>|c6l(ٲeK+TЫW/ŸEFFOOO\@cbbv͆b>skM^Yѣ2e@(,}1CBT"g\\ ^Z!=nܸ[nq8yP!!+v(^+]7ʁ$hEA<,Tb>.wÆ Ҕf͚^BgTfVZᨭ[oM4BJ3 ,YĈx9bf~b|>Du-遭^qkȸ!s!˗/cfAJJFqrr;ڵ %x{{\V(࣬%%k4ڋ/|(!d-6J qpss6mC\r@AGEGVE2n_ ٽ{[fwygΝnTf _!n$"!Y ܨQ#PBHɕWba+^4aaa/by1tС$ڵkK~YZ(h[h!}bt/ ȶ N>~]NR?VʹWco޼)ܣ*8Vyĉ}֐qC0~CÇ}]2X߾}uߗ4*3h޼92رCJAN nԡy%ŒQbZZB)YV<5k.Z!$$dŊ-fNή]VZ ٳ-"Dum۶mccc ~_ӻwo·mcHl?䓝;w6lPW2n "-l!Glf?ĤGIׯyǾ5PBJ%\`{ה{l׮]ׁ>~RP/_ސqCT+,*,ϴiήih|5]cn*U(k 1C:+̝; iI ĭ{h1?-L>n@%iF2XZ?% |}iԲeK)ŨhY;_oQb=b_&hv鴘((h7^*VMiڴitt'OS*ҏ9y ~Vrl"nT&M̈hݺ5~?~?CyܹKXK)k 1+AGXZ޼y†lٳ*U5I %C/֭StBSln샄][0DI񒒒bcchGkV`1؍}K[>%C//^^^ݣ5T}`SAbVMW!J'O4k ٳgNN R +V !.b&}vcSWZx񢃃SVG `X`+AB]|"J\M!^)ĉpF]-&k& +"p3s&Nhmm-ccc@v ,"(B%ӧOCu%Km`X6a$EQ0DK./_>i샄0#(!샄E#0D !샄EQaB 0a>H0aB!0D !BCB! 0D !B@CB! !J!B@BfxQԪU*rPY.//SNжm>!JYK!'kׯ_oggwM|h4NbRB!l#FH)-[|WB-A6** U:y򤔲n:?~!ʮZ˻[A;Bf-BBBW.޿.,,!ʮjܸqcժUM4zjhЧR5F{+++OO'O(a\\\>}*U<...۷orСݻk4'''\D-[+ϣ^iUj׮2+V8v، E`4n_"S:utttmmmф-[(NӶm[4&((hҥz Q1c۷/SLvv6C'bd([\"kn(>%Ҫ>#F)W۶mjH Vȿzjaڵ": QD0qD,z 1A&Q>@v*d+ԩS' @|FB֮[b[nUV6m$e[hRV"C޽Օŋ WϜ9d3?رQvϟ[ׇĶڨ<ih L!L3.GGG2Y&n޼YzիB⒑)R~gK'[ VPl"e޽vvvʣ9ZBi"ӧ=<kpΝ;-h&&[TY.!h 5X_G\'){{Çyyyb׺u( .iiiz1~aػw/"?+VQ>.\ex)l"((?}4#/* y3%K 1""f, @?CP0Dt o㏌|RZ,}Lh1ŋ>?ńR$(Y[ 0 88X|pss5(ly׹yN`4y5%@XX؋X^L/:t(Av횳}y0_ QBϓI&ӧOgABٳfj!!!+Vͥ ]vZ g~QOKHJJ݌ɓyloa`DB|MR Z0p& QرcGpph014jhΝ?8np:to֬{ )^T-MA8\BЊ59M4Ħ! 64DRZϑb$6uB5aJbLdJHHLҌtVU7,ȞB  ESׄ! ѵsNI  Dx`k4+} ).N*MA8\K-j|T[l%4h+n)k-9sFb7!EDD ES2Cj׮]5*p17>-:ᅲ-e/#ILL,YkׄK(h+>k4w}w~JIIIӞ2U)S?ҥɓ'O*'FEEqAի/ʕ+Ux:W_}%`o(n)k-Ǐ`}6%BkB A8nܸ[nuڵ(qXű-Z_GC3;88ȳիWܹ3~F! re2a„G\j)MؼhN4yQ =JS3D >|+)Sĉ4H.n8A gϞ Ad">4!%l1ёk#b\X=sZ™7o1,, f"())qU4ŋi*npΜ9)D|rz!%sjZtsď?¹\ˋݴ}9ZI Rٻww||< Rj:thtt4@̊pC f))\t)00Pl1w\ڄ,|mJJ AD#b5)icch_$NYH1B\I1x;b $feeնm7|s7nO>}֭wfff>y2M0L,0LC\0K2:wt?E,H:dӦMGMNN~MD тA ~Eb6!Ƹ>-!D/oߞ3gN޽ŜgGQ*i3/|@,7n[/R| W.v1B<~СCV4in_{++W2e-0 80 shByyygΜ7oCBBTRlYj3b  "(B,qj!%Qb endstream endobj 54 0 obj << /Type /XObject /Subtype /Image /Width 801 /Height 259 /BitsPerComponent 8 /ColorSpace /DeviceRGB /Length 18311 /Filter /FlateDecode >> stream xw\(6B{TD[@E.,X!c7Vdž${Bb J~0>w{wwzqٹٝɇgN8¢aÆիWTP0j׮]Z 4ia̘1WS|yڵNNNjjj]t߿ɓ}}}P0̙3uQF 0k׮ɨ:::'''WY=zsT *ӧ_xQXXXly&44ښ閃֭[|Rkٱc W__qqq(J~ܜ~k׮,4jԈոq㐐\@&44ʊZjrÇnnn?)Ç PN8w{ػw/^+ۛ7o驩yyyU2$77wժUժUYfhhh3 Ш[7P]A޽{Ǐo߾9sرc۹s͛W^|Ϝ9sڴiSN?s``-[o߾{=zԩS/^yIBBBzz:F144TUU]x7NҹsߣV @+iڵkIoH|Ӯ];KK ufRSSԤs|mmի~Zj׮]N:U_嬯o``@_WJ/ÌFѲ-ZsȐ!gyyy/._Lf n˗/ި///O1c->j(4NP">ɓÇoذa޼yݻw'!'- 6l޼y흝GIz-[߿gΜxbTT۷I^xDk.Kʢ|Ȉ޾}O>x֭[ׯ_'Y:}oNBdɒٳg?ťw:thժ)iH#J1bĬYvEy޿V6d$jԺ[eLB R_b{рI&u֍LCcԫWgϞG?MsǏ'$$Tq񥦦_ !3\j95i$7ä,6669suJoܸHfҥ~~G\"Æ CE#ڴiCV t_~Zt߶m Ftt˗/m Ǐݻk׮%Kyv\ȾV-,,zO?رڵk6m5:s&˗544:w*HҤSvСf͚^IK~BB˅|وP;;;;88W04h@>tE| z0>,9%9CAAA||'-[6xFq{;ɓ'޽[!O@6}v#G6>|xV8޽̙38@Ii߼y#!۷QcP~ddd-YK.:::\gmhh<>|hAɓwwwGGGN֭KqϟŋNNNFX>}چW9 11qT 9W*~5oޜjFrϟwUSSo߾R.R),<) T}AOUƪ&?RݦMn> 1clܸŋ%%+++""bÇ755崹iӦ`AAAᨥ*̆ hs/\ɬj$Zj5+W={˗+s֭Yl o~PcǎM2E*`͚5ⓒPEUڸoݹ`ܸqGIIIAU1uuuSSS~ڱc4dݻŋQ^ =_|X}i:GMMMF~r)eJXQo:)˗7oҥ {BMKKSN .h fffV^P,( T$[p1[hAx H_ PF 6CYܹQ^bbbhSZܹ ّ6Q %?YcbڶmK_V\I:uj׮݉'X///idz)Զm4h@ɼyյkWH^K=j 2I&Q͛1kq jt2E?uꔄNY[lN{{{'u",,OЮ\2x`4 uǎ0&)O ڵk?::Z4/UZnݸ _rQ%7?9sP=zcǎy)zmAİORviZ&!};ɣGLMm \2vX6g-iQ-—/_H'OLa''' [S?.}#F3wCQQk IIIDqBC_]Yĵehh&ơ3bSSS{?` $ג ~z6?Ok./̓|PĮ~+ puHvLk`ܸqO.UqnmݻWpq-k<MBv*:|"Ҋ]&ikёΛ7Om<iȦlҤOEw_s޹s * ,͛7)̧TiG%B}F5)rfEK V^M2:f|ݠCUtuuUUU~O@@CCCɓ"KKKX%h~zV(lPF^H!ʢXҬȑ#O D(ET%hWa{Hƌ~Aʓ6%~]SWR{E)(Xي emmM'D+JЪU+IH'Ο?O9y56ӧOmݥK\fSmp|yСypGVUUխ[r2YfM6{iU+ݻwY̿f@bW)jOjjjj0 (8tf8;;ch1m4:9{+$$$C4hЀ/n%KaƌcO)El qKɼ:K+~lLCCCN.\O4IrdP,&Tl{hlγgϊ̄J5fnZN6S/.\N:  Qs1({{{6I + iӆe&.:IFBE1e7L[nKlHSTi9#>UefKYbƏP(|||H{ʉ/^PA.MMM6ToĈ׮]iwf]3o>ih#ڵUR2TUZl)V`Ɨ/_X_kSdEْ zM [iӦIW\/'GwP@O ej*3336qQ?&''rcS@|ձܝ;wb/Vo… H 3gн{h׮wu enutRپ}{:%LJJŽ lٲ (y왖СC˘)VP@zseQ!lԧ~z(b@x{{! Tbcƌ!z  (rQ#(,bJX_U´ҧ@gϞW ֭*b!CP,ȊEG *P}P,5x`wO(T"lӧOCR+֠AXP,P`JXNNNR((bUS>-BB@q3fֻwX@IkϞ=υ PP,Pbbbr*E sssQP,P(ڷoߠA (P::s ebqUU2 *^2335kF'٨O(( 'O&˺xwXoߞliiy4%U3fP!!!L((&iiiFFF2KW^~]^=4eT,vuرI((2ׯ_ֶIOONŋkצ3gܴiSllluFnݢ:ڵ+_,X@_/_޶m[GGDž RnB_V7iҤݻ?ukeeEOҬ[nС-[Ν;ѣǜ9s(PISJuuA޽knn αc:w,YJX OH|2.]dkkKM_.]GٳguܹOF͛@*:Z>_zoѢE_իHMMe< JN*+r!b=@OO/..- kq_~ڊ%˜ %ݻ7$$dРAzbWǭZXX% F#T߃bv6kLGG͛aXDk׮cVVVW\@xx%Iu^|I_链?>!!"IlY%*%KKKcWDa_`իW)F$B +֓'O0( `Ŭ+Ŋ?"ݲb888cܸqyyy .&nZb3cǎsfv-XBRتΝKF$VXׯ]6Med_O:Ԋt,[ܹsdSTuY---CC=@@|rw-ˉ'XFtttUUUɯ¾+ެY$4(T^~ݶm[:`N2Epm6:33U(lӉ((&߾}ԩEĠX",((bQZ`{͚57n(8>b@cǎUŋX@f:|F(?~5@\\\ @ >|X~{"[[[(AK3/((a$$$W_H d% ++  ߿oM:uT===(A̙!̿}B չsz%Ju_ފeddt b*čB b]z<2gE رuh%^բE 6ѣ (bIhkg b( łbP,XP,łbAX@XłbAX@ P,XP,łbAX@XXP,(P,łbAXP,XP,łbAX@XXP,(P,łbAXP޽{]t166ק9+ښ?ږ`,7OrP,7(CrcF#bAKa @~~֭[r8b| łb$B gKT,.۹ȡXP,(KKIIaaR_.]jdddcc^zS|bG611SLnݺ;YPP@5ݷo_&MLMMi6mXPy~zqO:RušXXG~ i0'H"'Nd{ cgWWW ܸq4//łbAXݡX X7QٳgMv7jt#XԼ ;&tP;w.ܹӲe˯_BXP,-]q aÆtnbAgDŽb)b>}̙v HK XL6fϞ=+Ç[cffָqBVų 6X[[[)UR^+bU#y^^_յkWT& łbI&::)6͛7m۶ߡXU0R @϶,*~]a^ %P/(YSvm(wL(b* 566СC\o˿Z"B ? 4Xr Ol;1w\///08|(ŰGĭ*|(P,(bRLܥjBS}?%2 gۏ9BkV|Wb+a qCbAD*r3q>D^ Mڕl5k;.süKxbHX)l~E(LKK[p1P,D޿O;A(Vxx޽{Žckϟ羞={_-|C|kBS}%ЮgGgdgg敠X CJg+xܹs)///@qb޺rJ:bJWƍS"EڵkM6sNQ?GGGnȩ$_<ߚjU[2?//zwuΜ9t*VY=)/ԊUNV1ŪȩՠXX$ >}t:P%[nڵtZ]L@@?LfVmG'+VX|dѢEtʦUF :W**d]]]{IAl#]~qES %KKK+?Yyy7o/ȩBWWUuԡ!$*8FT oKhKOO(kAC5,roX)KZ/kQZ%Ȃ;E>/Ԋ5y䲴IZ\d_B(R+\b:tHhXt)7 a?,2>>~Ϟ=Æ 0`@Ʉ҈S,ʟX^PkBdKݸqcĈdPENlLׯOGKi$?,Y0*r)V,/Wl8Œ%tc]%4~KnR+V=zP!=kXP,w˗r*bQ ٔ۷og-['40XV"QӈS}G.]nXH`7O?=?Onٷo'$2 aÆLŭmۖ)ʕ+'9 7> D,99@\IOZCYKʖo>''Z;gPg Ӊ|_\kEуk@V,\XP,(ց=ۛ۝w^b7o~"QӈSW^qƆB|8$2 Ne!͝;x _~-5\bgx`@d]u2ܽ.a ɕr)-ɓ'WiPN'~,"\bq ŒЫ/8; 7w֖۷oFq3v" (۷_j78AԩSYb~eX{2KdMTfBҖ*Vnn.Eʕr)2O]_*EC.0`iXfJaR3>H~u\X;T&Mdɒe˖u޽,Y.|KBC Unnnһ3J۳gOn%Š;ڔ@@+֣G%|%L+Q{*" ȂX>L1\GSiJ5^HHHnE]]Ύ pႸ BYfxשJTx 4K2(Vyqqq5L>%HNN׸ "Q3If,U_US! *yQ?ʽ㻴j" (P,(Pj*ޜL=@n >|ܹ<`"ğ?O6`JT IPD΋}fb/n2۷o[XX~RMJXݛWVs ǍfLMMeτ "IyRuX=_)7PV믿6l%.4D Zʻ7'Abc3IyRuX=4q39ro&MNZTiJ5 ( (bwo޳gOqP,O~17 39O3 D*祖JT,n!nơW[[[l;99;vj" (P,(Pj*חN wgsu"IyRuX33TAbAPFڵkSеk׈sOԁٳUDRdqOi'błb #cc'OGY"/WA*WqbCvX 5f*D@P,XP,!Fq!0:BUPPpmkkk(V*Nl(C_.(\X@XB ]=V ]8}4r @XmX ˊ+7n,X 4`aXP,( @bA5q%BbAXT*bAǏ燅GEET,uuu( X@ Ÿ{n߾}ԩSV-P^߃P,( @bA łbłb( łbP,( @bA łbłb(bAX@ łbAbA łbłb(bAP@ȳg`!C+*PNB b u?iAAAyuP,(2*AP۶mbR:*,,Ck(&11*:&&F\L^hpN.]jdddccӉ'RLnŎr"ONNvuu5.-khh8m4www ̘1CBϟ?wppB.ZH).sACRRS 5j@$66ܦ{ԩ3dȐ 6Pܹs/˗/6m g˖-lk֬ȫX %$$hhhsϧY[***|޾})NXyݺuq|&MbљH,u\xq?xzzBk޼y7''GGG˗/WZZ1$g$ZpXϟ?SɊE+⾊\#eIMMUKL 2dddP2bQPF>,_PU+//aÆtimmL&<>Ș, ZrL)==HV,ɎKH2ŢO(,X*VXX!G̜9ͭo߾7o.]rtt?yݺudDQQQZ&(("{bЋt!~...>>>(,bg֭ؾ}; @Ua=ZpxÇW#'''cccQWb^|I1&&&ˉm\\988Xɲ>}A?{{{33˗C XJi̩S}QWWXłbI&-Y$;;{ٲeݻwb(@H*OBBmuuu;;;6XP,((b(@ @XXP,B)&b(@o߾A*ԩSQPѣ-Z033kܸ^T^z[YYdoذںO>gΜ)*~G?#9}VOÏa'''rԡ,h▅b_;bNիW!C<شiSVh׬Y{ &Pݻw;%/Պi1,Çϝ;7//Oaaa ▅b׷QF BU@V,={n޼9&&bjԨ"L PO\bR2'}3ZV-Ϥ , T.3fpppEٳgذa YYYD&'#-Z|QZP19陠bWrP,P'5#G[.bl2))n:VZ I o>''%~E4O~17 .rG @@`kkG[ݻw Šw^b7o~QdP&&&666|eɓ'K"~~L w'↻X"b5ҖQ!P (,PӧOi&%%BXl߾]bfb((#CeݽUUU#Xd&??N:...qFT @ 6?(*~9BͭP-P,PWn] k׮(bx̙3O>ըQP,1yd555 YP, Ϟ=铮2CX*#Gjhh }vȬXfffH͏?Ū={YD訫ȦX*(Rnbbbnn!.Ç555;uꔛÇ@͚5#D=#//RXX8l0iL<==Qiׯ_544C@  q& (Qoέ[[P윟/M:"+j@!"ŊEUę3g7o%R:u":t@Y5kׯ_Q_ijjh"))~cǎ>;wnժT֯_Og ͛7l9dffeu)%%U jkkO0UYYY 5ѣǧOʒUaaի N8P*nJQxx8(;Ԍ6mJK^lDEE5nܘ:thZZ*iӆzTP^233.\YfW MMɓ'z @2ߧ+W*ÇyըQZѣ?\N+wwwWWW'2dș3g0!-qxyy(/_&^:ܹSUF+?~CEpԫWW^ ,|HLL|ճgϞ>}ѣw^~ŋO?vMv˗̘1c#F0`@۷oocccaaC[[I&:u6l-jժ_ūmP)~W^wM6-Zh޼ygϞ6mَL?mֶE7խQ,JQVuvu6p'.^d؈H=zt_~̄dͭO>dG͚5SSS+vUVV5jҒM6;vڵk޽|\\\(gɓ'O>lΜ9 ,Xڵ6l ڶmۮ]=z̙K.EGG߿MHHHMM"PXXŋSNό9HH6lؼy:wԨQB@ɓ'vܹ䌌 CvO?u҅ىhРI… ) >}INN˗}}}m>uu-[P]6,,ݻw%);v ncc3oL YYYӧOgw5kGT l>|ؘj̘1ᘐ,ŵnݚ] E+WԮ][GGg٨2mjj(;wVWWz-j섇v1%%Pv2227nldd fRQQ9}4@.Ĩzxx%^z͘1Cܯ$r &L8U ]]]yg$J$|Ŋ7o^TT5jpwwKn۷o'ZdIllluFnݢș3gnڴ)իW\5jԵk׮\"2T:'N WL/_LK.Rddd$u۶m'Ot맦~U777y%K]]=77999YPP~7n\.]WBUU6u6l3deeeuʕlll!XlYAJJʧO9P&bĴkNp,iiivvv #=z4KYPj޽{GPe~ܹs̙s Mɓ'X۷obxzzN>ڣGl(/ׯ_':r@^b?U /ܹC{nTHKK#EUȑ Hǎu,1+ ɦM"###""6oތ=ZWW\W!4+?}½{NIIA???27oO.]jdddccӉ'RLnOs1445kxÆ ։z277 פISSSܴiL>]Q>=z011dS8w\dX W`~b w޽{,ٝ;wv&>zzzb}?QbdffRR@VC#۵k׌3Xjժك"׮ҐQ2"uuu322X:u @$ǏA^EBPʬ,NLL$A8pghh/Xիs9S,ʇC¥'*Ygjjjh?ɩSH*BBBXAAA$$zb1ٙjժ3>P ,,O={\~}Q (qշo_ߥKeX W`~baÆd~ 7nӓ6..b$+˗/LLLlllbcc)Ԕ\x1?XYYSW^Q>Ɣϭ[dX W`~bb,|ڵ>0`w U+j+V`a > stream xڵXMo@W"y-U JVMBOIQ0H;: m~f޼Y`#}Fsoa!ӆ/tȺv݌E8;uNa2K$\M_z]v*gIQsHI˭kAD=GHKԬнs\y+FB:2"mǕRk."@[q\h֐J~uț:UؼU擷x:^6zSkeQ}CAh8پ6 cIP&$0 pu dUׂBn4狭 lS'<s4Va_VE'}=v0|c,rLj̓θAjHA/V}v 9j< e>*vPIPrX2I!Mk8"{u=*r4ngt8DT]9\SW*eJAy26zF!jd7J8:.Ky,mE6T񟄢 DQO? endstream endobj 55 0 obj << /Type /XObject /Subtype /Image /Width 800 /Height 636 /BitsPerComponent 8 /ColorSpace /DeviceRGB /Length 69902 /Filter /FlateDecode >> stream xy\M4OB '")2D+ BfvH˽J2n%yB%4^:߳O:jZkY{A6''ƍQQQSN?~#haaall`0ڶmkdddjjjoo߳g~ 6l̘1'O={ڵk/^ŋ*42  I]]ݳgϒϟ?zhELO,ZرM5j(??3ff͚4i * a6m_@A"ӧO KIIA݅  ܹؑ':::*))(gggsB7n4]>xĉ۶m[d 3333Vz3$$d޽+++û  qqq߿%cTUU{5c P;iiio޼-U΢7o&%%Xbȑ222 W\ ܹAAf2==}ݺu^^^DZZZ=z͚5ǏnA5 eeeei``@)Cn޼ݻxA_~=wC}?~޽{߿_[[+XUUu̙ooVZQobŊgϖ`M@A):thݺu# Ŵiۗ-^WW{I&…/]t ˯  l߾}Ȑ!dRcppprrrAAt.ȑ#!!!=z eee]\\޽+_BAijkko޼tR{{{F[[hVΝ;7o CFFw۶m+,,Dˈ:p#j߾+^~AAŋ ,҂ZWWwɒ%\]())ٵk  }AAСC}%/SzĔPʹ)S, l .$/^$QF)((533 Gd "<=<<  +Ih˖-d_íG "@JJJMLL Ez " <|088L344 G  HSYptvvvVRHeez @AAa„ 7oD  Hc>trrr … hjɓW''r4 pɓ}%[N:ӧh?FDDZZZo޼A  ;wZXXNsŊ8BMM `0L#Ο?APVVpBEEEPV;v#hG233Zj9t H3_|YjU6mg$$$777AD)**Zl3`k׮5RRR~Oʕ+'.^<؀J_Q@6l(gyyI&* ADR%KׯH1߿OY-^Ç`nn. lǎFd×Wrrr iHR @b"bAADaaahhW}HdM@HH3o޼jh ]<lKKK++r޽{d:tjkkwڥ ȑ#kؑ#GȾ<{̲2% !YrrrWMɎw}K.@׮]eddFO2` {왘 FDDHp=f߾}ēyk "aJEEȧOOB{B?BMQWW+ Cl:鎎`m{{{]AA$rJ 45=9tk42W)xXlAggga'O= *kH>}nݺ Y\Aƍ;_A75w0Gc6 &Uv)yڵk̞=͛7`~~ '֭s1]ݻw+dz\<}%9JHWu Q?  FRlrrr׀^XXK?F6pUUUYY9sPBW|INN&ޜȚGg aɒ%la̙p:V[[[-((R0 ߿e˸wv+^r]_VพeӧO @{"3fA]_@Eo#G}DDD@`Ȑ!W^%҆ F Ъsq⦻_~s]_9ajj }/zLwvppS\\/ְ;w#/@wvW BN$&0L8H#myfĉd,He_3 8r5`ݻb '** o/<{ӓ|bAVo7oeo#Νѣ"X}OT8zhq˼y`zjfҜE|AđO>1KfN>}t⑄cǎ%3=7_ SNh ˗nC ֮Y,5j}$A2f---XSUUvZ׭[Ƕi P\\pBx.]JyC 6h 1%==nׯ ?ooox poAҥKВ$%%)Ďϟ?O>]FFFWWhΝ#Öݻ߼y Hc)..:44M!^:td6mڧO "Xnڶm[x~\ Ʀ[n͖IA/##QQQW^rʦMǀYYY K\"" deeUUU&ҥKalk)-$.K?~8p ߟGxꈈ%%%h)"4CSо}D4 p]h7n*$qM__ٳg'O#䧹sR###gllleeEС$.333tuug̘Qtkhhi޺u\#:`$qFݦ7on4?'N055g?" uuu <<<@x@ N>;&IhÇ~:vXUUեK@f_RUSt@JAɓ|B>xDw0lE]|9GSS3>>k,Ջ-q_~E …9s@![ NJJJX즬̦.# 4555W\ٹs̙3I|/_W***$0G.Tᠺ:khh܀kÇXW3f <ڵ=Ұw^+9Ϳ oߨ ѐ!CRRR^~M)))Q)ק " G  $9jʕ0Ln۶"HqY ]!W7o5ѯ_?rE_ 8|v횥%7HMMh𓇇dž T$Ο?G.Tmmm_aa. ?~v{a.] k)߿+777~'L`ll,vڍ=qǑ>e`SzPl.65***VZ.9A>fΜ mCc633988pWYYYz244}6mcdd'.^RȰ Iˁt ;w U`zd`Ȑ!aÆ^z|6m'UlvXl=˗/'[jeooVEE={v}O1獵Jx%qbnn]#"L&sΜ9Wl{X!@!?~F:twDL{ԩS`yǎ>e&%%ikksvr|5k 7nsFe9r`g7zO4o߾5?=IUWWCߤкukaL=ޟ;ÇK;<4U ' CYY(aZX)))7olVlBiiA7n@`edׯ_OOO߉J7Tݻwkjj̙3bFD9~8u)ߓM7mpQ,زe 9H\ Sn>t߾}'.Ǥ (Ch7 T+8y}D|qX4êU^|ɋArss! +d[:Wol|dj c;t@.yϞ=ۤD@WHEEY}Ӿ}3g` R4[n3AjiiP}Æ \ l  թO!'Ӷ/^ڇBkׂ&on|JMM%GzD#/ͩ>}JNܶm[}UYY bz;׹sYf;vY͛!رcɿȪ7o6%e> g%&&RҎر#6i0#+AP+P'N2ɍ5 M!$}6c ho͡kVAEqO֭[-RÿGYǏᠽ=l|r`` IիW={G@L82̇544d;ҝMLlJP7TkPP[]]] H~7_)΃,,,ӧO‹]UC2LxOOT_:t蠯OOCǣ7oٳJJJx֭={۷|Acce2ɉ:Hc^l`" F`W---F!W*vbTPPd}! Jhp# =)4*RAS4vfAA7qJz<**  5cdɅċx $/w^iؤDuC%e˖khh޽GDRtASC}JW&&&hp~rW|'Z*꡾w/ rLRUUUփ\˂ N?i>--mѢE...򐈶6,GpOt}%*a<|cA&88Zkע)ȑ#G4556n(#VY6/\USb-cdd҂{TRzHKUvv6lӾ}{^7*eHo߾\|ۄHnQSS :** ="T7HHH@kM>z KKHEu|dFCXiHWMITcƌխ^^zQGs#}G&׻w2ؘ 4HnKBā7GD<0MKצΜ9m$髳gϒ( )Il:cnnNݻ7 /t.]r̙3#ʯnݺ;vpLo2ZQQߺx"yI4J0`Ý;wjhh@7oB顠SNШ޹sөA= (+++))͛vڅA)yWX`0ڵk(//6mO''ׯ_Ai ϟ?'ּ;H .]"<==_x#ۃA+** 45k˷mۖ#"WVV]|9Fbb Am?~D 43tPxƎ.yXWWWTTٳkʕs̙6mڄ :w Gݺu377711ׇQg֭-,,z=h __ߙ3gĤ>zLAPYYh"&'y^P 6AimٲE^g|zaJJʮ]֬YEFFvЁqWVWWx٠ o߾qFRR -ԩS'%%%vY@nu1h^| -ۙ3gڴi@=~҉gϞ ѹsѣGCXcw`` 4BA顶͛+Vڵ yӫWYfرa8v 222.^xM6o~~~4+P0]]]GGaÆ͘1M\\ܹs H֯_d2۷o) vȑUV"Ё qЊ ˗deep?B@ n@}emkʔ)˖-۾}{|||bbϞ={ʕ;w\v G=x={ldۂ @M4 СCA!F۶m;qĐ]Ezzzvv6-C___b Vʯ 2};#4SPP@澺} R 'O8p`޼ycǎuww733SWW())vYeaaѻwQF͞={͚5w>y$a8Nꕭ-٢ h'N?lZ׾}˗Cj!tRWWuVh۴iAMw=ÇnJKK;s:t_z޽{Ϟ=ΆZiiiKmC&\>|e-V\\k.2IѣGXD:y15{ʔ) 5H$LMM322D`EEEK.?B餼Lz733cOADdi W|,##E) Hq ---pEFFLADp(޿d27Ciځx▅&3wƌ[&"QWW)//u 4 "@+INNY"ܿܜ`b# (PQQ1j(Qp EÇ"QZZ:uThlll?4 -H~~~Ϟ=EZn]K9 ZZZ!,H''NPQQQSS;x ZAɓ'&&&򱱱sQVVVL&s֭xD y򥃃 g̘ ifN>ݪUmۦIإ}Z׹smB@V@#B Aa֭:KjҤIк1۷oxD 9x𠚚 $q3AMuuu`` O>IŮ^`UVVG)$33Z lŞL6MA {=z4~(D餬ځnݺeeeA,аX[[3̍7JՅ/[^ ҺuG5ׯ_VUU=~^>5A +++1|)y Pٿѿ+6lARZZ믿hGo߾E 7ׯ]ѵkW)EFFB";{QVVVUU=wZAR]]=yd :ڵkǶ ͛8"UxSN0Zz5M6._ -رc#rrrB dHrʕ 6,Yd֬YG4i׬Ym۶w%>IoooAi]DkoA@؟~fZjjjv5}.]# JJJڵkӦO ɴ0a<_gΜ ܻ0fffO>E …/_vI^^h :AAA.R yќ9sڶm @AAeܹzتħOɺ~޽{!Z>}IiժOLLѪӧAE%''5ȝ;wpZ>`H(,,DH ț(//Ç͛7IIIǏ'Rc0NNN˖-c>^;hѢ4 l0UUU}}}gϞ%&&/b44PTT(++rʒ$ =rzz:T- 6OOOo!۷q0`Ǐ bcc,,,t${dph"ƍ OxJ222͛ M6p/.DEE611yZA05\\\`xµk8+2T֭[d2rrr!d///ȔO¥K@+++۷ RKMM͌31bDYYA7lpυ7!C|sڥJŽñc~o߾E-ŝtD:;$llɪ,X6H***`0,Y҂~~qFCCCl{Oͪû&"5(ݻ "U tk֬Akɓ'_Guu? e Z+66U򕔔76Qcǎ wAk 4)[[[Wqqq<˗p 4E}$&&3RWWreբV۷@lllN:El@ɓ'zzzGk dݹsgxޏ=Y_ AO߾}1Y Đ/}}6H׵kʌ P422RUUmK!ڊzAD3YYٺu444`։ڝ3f YIW4H|fB$X_{NQQqBJ\CCcmmmgg'4Ao^^^~߾}haeqD6ūT W!!! BJ?11F혀 ߇){W[Zq5{lxHW.KA}H***RSS^CԬ*!̛7d #q#Gfv̘1BZ j֬YxN6Mk~Q_! nߺuKHA0`P%K@mtuuDՌ3 e>oժVc76esOsKMxK)T" WP-۷oߣGey&6Sbӧ>6ݻw 733{AZ\\M>}XBvχѡ^s˅Y}U_9ͤJ_9slgeѵkWSSSlĝqƩ d96/F(eӦM>b֬Y›}|,ׯՅ  o4Wff&Kq<Ν;իה)S Ks /Sr%44~ ,fΜ٨aM9..CFFFpbTTggϦ:tܼ]v&&&0'O8F2_yq48m}뫦W!30UkJJJfÇЌ@F#H+ЀC,U'MWï_;VUUɓT=6nH\*Emذ[XX'7pӧ߽{d2˔-&v ɑm尦ܥKCґ⤦撔/^@8;;{ CN>>>ͫH,.G7j뫂yyS /%K0 )s5gSFFfӦMx yS$%MWZZZcL@ :.˗/T@A"Ryyy]rJ|Y*'˔-&!f 4rXSEݹs̙3YKE/'("h]oݺE CNPϟ?#>}RSS㢯yq1d+23Jx3ƮX;h4qOޛ 84͟;H4i]$Nhp>]^^^n^S d-Yo #P|dG\6qp!sɹVVVzzz/ʶm'ի\H}6V_~9-FFF/ /X%&& YH-H,j~ǏYy-[FN3t8'ʠi#/455&+8]z>WACdooؿɳgϰDaرи-\9E8qJS`pGرcWw޵i&})}-e$2h9sssp\+J_J:u*Iĉח $ҥK!8X6oc5c!{lܸQ*mZZZ6mަc WCiӚ9kW$+1BgȐ!\BT}&})}-[YFJZZZ,8ieK+++˅p ΀8X6F~n,se2ӹ(%q9s?kW$髛7oB}޵kCwVΜ9CoWҗUe𓝝(׊r_QKȂre+8]l%l3p@ lmmA޽i:/&eʔ)-:+DҥK 66o(l_+MS2[ ⸌~qㆯ׳VQ3˥t}\.e*`j(!!A*0wP׮] 45kc>n8o܌ B}eooOyNNNfffgW-}&})}-to)Y_kE`R G!눈~K½l߅}pرjjjͳ'Nc)++&.zZ_@qÇn2B$F_+ӧOpwN7+OlY᲌ LJZF+pO* @WW633^e.dO???}GS?Ǚ~Pڵ UTT`1P_!o!p@3ˇ{DD"{4:"===E=&qsskqWÇByP_Ñ&/**},'OqOD z"TZ***FFFx#iiid6sL^[[[SsY鯿J\2BFsy)=CkdϞ=q4-l}zy 6l޼)ּO'A}EŹx0oԞ8(cii٥K+7x FԠE_qt3sdd$9y򤳳3u: ޽{GV8f )Ջ㹼/^c Cm8B/w]]]<)))x+ɓ'gD`W60C#@z:t^7lz1/BzzzBBBt <<<6mѴCц;W_~%b VWVVVBJKKK Wʋ;0x۷0:|0M!o-@ hkkZ88zf&k!ѣNoJA:uTn^=cbb~gX[[ۍ`x#aȈa }kzz:8]UYY9s>>WrWԲ˗/HNIIDo.5#D5kր===bHFBCZ3Wf}j 9x <'NM`]v([*(޽+{4h.Exm+Z/@{PPNukTŜ9szOƲsNggO>aE$w޵o^CCy:}&9|&蔃^B6ר jɃ ۔Ɔ=C񥴴AQQʕ+bWxWX+3ή]M Yʵ>"0iw@ EDD0M'Nqq$7!!Hjj*BWw޵K&3221!9rDNN%"|[n׮]Ck{s֬Yh ]t7LaA6XSSC9v\#>#>|$V.]>"RS BOVVٳgh >vz@ɓ'%8+V z)++ĄM_ASE¬Μ9cjjv];w6mgdXhpBxlw4QVV:t(ŋ`G4H[[Z 5vX! 0*((Fg>|gNRRH,Xk.WK]]ZXl.F0~xCJ)ϙ3G CC䪪Tcccjb2b}pP+wQ{P!]]]+**ׯ_uuut+իk׮J-** ݻw%VPSSvOlJOOOĉCAMBZL%%Ν;ʋf3ES t|||%ZUUWWWcI%11H,|i_|133STT|9Z100.TUU1 $5OntP͵( Kii)ZifjkkOMMEkgΜ55!~77oޠaŚݻwCx"GbccAbb!ŋїx驪;4Bq%A9kaa>}Ъ⎛[vpf z{{KYDd@؏3 ,?f2oߎfS!)wOjΆ{ѢEhƲvZxƏi=zjoo3DiӦz!ҥKhifժU#|IM8QđB J<}MKzӧO P)**С8.H>|ֿhi߿UVMOPPƌ&w͝|֌ eeeqNSRRN ׯmٿ?ԥSNIŚ۷o}FSM]]ĉq="<@s*SVVVYΝ; d$OOOq۔!ezRlFَs<Ҳ̞=h4ԇ("Xj)DǏ=O4p,VAA!00=qMW:t((( }UUU兏FӁqA Ν;wR׮]p!,z+Z@Ahb:dOxDիWϞ=Qnٲeʔ)` p!|4BYÝHo׮nNNZCx-G} y( !!tE|ġUjjjnnlέ}+__VZ8[nrrrq1H3UUU =?dWk@'OBpBSy1$.LDdaև͟ |ݻ֊ɓ,EEE666`ϣ5 ]V8/_d2pB6~YSYp۷o]_ۨs1cPjiij455E__p%|.MMMeeeo޼@ 11 &)Dj`~q4tC )=q+Fயxy䘘PUUUѮz WDž @Zn J;334/^5c EDDt gFS43"= @EE));wDEll+_ԿYYY?:t(r"9i cؗ 'Oj߾=nh*h@_jbR~DR?ޝ:ujJ ~~~%%% 5Wƥ.+W*'Ħ'Dr}յkW;@q i>d2SQQ@QNcQFU HDѣ>NII{*ܺu ͛྾8 BFF  +Um\S8PWWWAX {4'˗/{ D(--lݺuVVD}j>|-;ݻwL&sܹxCŚ*MM!C)2F|!Be„ CQ_!@o>N߸qP;v hfjjj巈0عs'< ,lWéSۧMq[È@R^>yؽ{7諌 >}n:b MRYZZkw(..ܹ0vpF}j#a8w222C>C\|Mт}PSSh )4gΜF⨯WÌ38o Mn]]eyq֭MLLе4uV,[LH飾BP_5ÇС'=qkAɓ̙l͛7`,YIQʕ+666h )ɓ'0ݻ;WC{lj+p$1<{ I!%%WMM ZCkݺ5W)+_}gɓ⾅4<~xСpѸ ((M!U̝;ܤzA޽ ttt @?sy& 65MU Bϙ3G UWWn:?qʕ=z%$$$*;e4pY'DA__py[nҥ 5e? " DBYYg,KO ayahSSSd2qgOiP__cǎ%%%Ҡ455H$֎;&O {\\\rFEEQ2#22ښ&BV^ $[M[YYpkʔ)e}V_֬!0w\==@9Kv:ҷo_CCC[nq,)PI/=6,]~!3@(3ғ~Q]v0߳g#+ݻW4ۜo߲MZr5;wg.?i%ijjj>DkH6ÇqF3% ꯿b@׬2K.@NNSxx8377lHyudeedʢE6lP^^3?M8uג28}4cRcꋳ3/e7oH!@n"=VDGG8L7`V3ғ~Q***/^#كS\P_PCΝ'==> [[E ߾}[vK^zC ƀoDd~;נ'733#NW\A̙3YEii)`KYYyN:Ç X/S.9@w|KSO`1V,,(!IC(66muYJ?""ڳgɓ'tf͚%ǏaxI⁁b׮]Ac5$Lz)}pDY_ 6PTXX5RC HIIy5NkR>~ю)pKc N!R"?z VQDI&.f!D;%E/NjzyLL? zD?F`ĉ ggg222˗/o Hr1rH\ a@:LJe@@#? :y Gش 8pk׮YZZ |Uٙ+___l >>93}AErpp>:G,^իW/CCC۷omG@-U]W^eMczzzyɑ|XO ) 2cXO),,]DMJc .AWW6335=)zyJfff|ψ#LLLD6l}III`={ RQQ#}999j8"|ħBP_IGdM ++P_Guu߿{q7oތ_ ;uԺukH1bLKKkf4 UsRWW'//OwJ&:]2SÅҰ0uuu{%ǏdffiFKKxDđDx-ZRjW+a mL4j*(+((Ly9r$Ɔ{5/_۷oGHAAUK=WF踹a=ׯ_O0:b55ׯC r7֭[>Fx1zhYYYj+<}uIhEs]lǏzD̝; Pfjq껕p;ę ۭ7nH‚Un73aj §=[2Ь1ׯBaV'=***dNovv!ХK<''GNNcA|ٙM_ĤYYY;v$pxjjjnn,9\A/3)<fm,Xpa6m B.]%IeCd~ >Rjrrr` {?[fuZ&L ߲+n?п+ϟKH{C֞ <+SSS&*k4޽nݺ]#;v>xd%?4hqW> ^T(dCjE㑌-T|qR!ռjCh3Q}fyIf  ,p㈠!eʒQnp\bFh}~hAj'8Uhh+pj*hfddfZp=؀dYb <<}bvz髰  SN'R ̳BMՖg/((_q[P,}%yr#z ۖ-[K66lTkH&'F ###J}?(L'''Yv]/ e{믿֣ KǏ'}ERף j-5mݻ~`&%ԨQc86U&((hʔ)dY*---$$r:oz!~uuuůz8E꒑K ,gJٱcG晅={6{M|e(6)9[_9=Kĉ>>>8YV-(İm6IkH&'F֣pgeeIXrrrNfR4ZR V*"H_)ѣQ T Q*6UVMۖQ_޽5/_*Ϗ{Æ }}:Ԑrb7nTE&5Yw:?A]f͚k|rjSNϟ6mZ˖-ɓ'%?20BVRѣGU?q5$Uٌ֭w3Y/=h W  e\#A xͨ#ȵk {yQ_p-Ғ%8tӧObzCCCkժ%vfE1W+Frr2:pMjӧO7Fٳg$~~~Zb.]XZZrw"斝: >#}EK[YYiGFBpرeA:t044LII6^|ikk[~}%␾"]999!3f;Ġ HKK#}EP嗬,77ʕ++ 000tA^ZuܺuKKv+777W+1Ξ=kddԶm[K,,kI_C._jmmmeeռysc4O%'WWu֑K>|q#̙39ᖆf}%֔(^ܹsڵ,g2Y\udam̙uUǏ\\\rrrH_OnܸQr;w=ELMM'韗^v-͛75k|''f͚ZSF Glʇ";p1]]B爈GU샂[jy>I_ݻ☔ԪU+1}ӧK.i'x=YNj۳g+픍~+{/6mլYرcWUV _\.oѢԫĒvCepaY5`oooN_}@n,7V]4"55dߨۋWx ]cQݭ[qJ=S(ӡCжa``Mp###YUY>bŋxA틥:&&&͛7NǎMMMݻG1}tqk)988H_>|͟dL=n2J?cWk e3 nh'Enzٲeϟ~s޾}@T ;fjYR0P,)))W/Y,# TY/2j*gʔ)~e:4Íիr=zT _饗UDZ۴i;Wk@7O-}uuڵC_WPwE#*0!|UP/_T\BU$//+ņ<OJȹP(mEaa!w~~>r͛7]]]wUPP~bRR})zmll {iVuJ~k,Xbㄾl TW}IU)!!'.\EWT9ak% $6;DR5wyxxe˘dW<^"z?( z5,,, ,<|ӦMO8$\zrss 4xCs]WkXÐ1'K@}vv2 ((HU0::ɩvw̄&xgeeIW,R%WM23'a.R,|D/OKK%\rEYyDs4]VgаUV"VفL577رAJEܾ} ի5uƃ=f[_Tk=@||<… i>}}H_D\'`L4I ܺu+aaa\rҜ?lѺmWyiVM$V?+V& }%A5WȰ}==S4jƍmmm_zE KٳgCdggk֑ WgԗzJuV<A^ZE :B#\TTQNO }U* &OT|jժ5j]As/ݢE )ر'}EP yW7o\͟'}EVvrppz|WŋFFF:t[ųg,--Eף#}E]SNU>}gKAJ h̊+*!C 4+mD:**J`K.uѪͼj^joJJ [eZիWqׯWYڵ+:}ܶ&J^>}3gcNDoswrݦ*17onffUS PoVwoy  HZh/^nq>|P0d۶myW#^z0ӧ՜bccU~+C._UVo޼A9raÆM6-7Pu*˵J{JTjWƦN:hٲۿ/((LAɴcǎUhd=M4 6mBRad=L)egϞ2j(2>>~ɒ%[ohKϝ;K5 }-W\Z&нpRQVo߾]vm^rrrfǣGްad7H%~ )d%*KTR륾[lYHDɂhI::tg+W:Njj*򆁁%[I #Jҥ˙3gKvdxq?~f͚b0^IވXTļ.RpΝu֕S*:u ~ RoPVZȐ͛,"""//OqKenݺ7Rlؤtv;˜/ֱ @/U͉z WÈtRˤ., B5112755 GHٻwoTTVrCJzYY;PR뫾} *ZNaˠC|eW湹%ۅ[nl2؇0WJJիcbbd%C"ůD`> ⣉qvvF4i+"7J}a"޼y#Y7U܁,Xp!z`pk.]Radegg[ZZJXNND#^I&ȠٹsJ_!Lr:% NIENb?@1F4qqqYYY(SNnD:vrF}g,}Dc}k@?@vZi* 7VBJw]n]׮]Ŀ;v>xdSB"wޱD=Ǐ3_ RoD4*h?kh.k "z yӒufffa>|ё *hII!QrHf C˥ T %s~г QCZW,Z^T+Q}P08066rmIoj%G_)$ Kc}U\%ʃ|_A,U֧OH_MWZŪoFFsSf%%%0jdȰ  SNI^~z2:ub~1Sd%oDR_ #63<<}AsQ _PPP~}Iq5.K_IޠĒpss۲eKqɧOl" #ˆ BffS^%hF{1c:e޽[;2+V 8ɆtPgϞޑL۶m޻7HR RBكsJTjW`ĈXG!YŁ6?޽{?S%ԨQc84eʔ1cH%C>|… עuCGrΝ/bF%oD,*L46tiiiFʕ/*.m*9TAiI^.ĉ'|||p}"m۶)b0/|,27'6++Kjƒ9ya5o]ROO }%Lj{j, Pvmwߩ]--" 4RdQu! 6nW&率оp8|0R\rzS ^ʸ@]AJ _`Vo(СCq;eW:uj~~>,-[,KT}%W%UReZjMP=z! %Zn}YLKϘ1I+|jggM}mJioλgPR}U\<$73[{{{ }l``ثq5O~/訶PԼ/^>r諜ܩO 3g΄W9q+ׯߤI%7`gϞ韾"斓>8*ѣ~ꕵ"(>}PՓ\FF1+j.^P(woJbҤI@H_D9ҩ˗/WOr'O_**W$;;ۛ}?^xEΝH_윒lmmlRW+ٷo_ܗ066V(^vAԩSANNZ|9'$}ERQQQgϞ-?cSSS|ФҡC5$TTTH_TAVVVJ|}}u}kc6l;wH_yivU ڵ "gÆ 7)+Jɓ>~hzywWUV@~ԉڼtff&|̙3ՐVƍ]\\5կ5ҥ߿QFjYPjhE#3F( 'ԅ@ 055%SCB=zc޽N̙3Hh*B (Khmllm*222X4mT?EVV$tdd$ edɒ%~~~'k+/FSꄺuf1;;lN|ۊ+׻wo5^$$$$&&=}ԹO+|q(Ho޼!1}E;T?hQF ƌcllljj:aT(00իWzyyyy[gM(Mffff 4+6˸ "@YA_Ae ~w^dd@ @۷|8{P(o5 7ܼyhd '??BZdggWP[ndpBE:uaÆhjԨg2:t($֭KPXYYd˗$_^̟?9s Nϟ?oݺZj(l͛7x"Ddeeٻ 6\m߾14vZ8W.?4nܘME()L#k֬Yzu0C(lѣU ڵMX6}ĉԬF4ibmm3{‰pRA37SJ=m@@'-BvaŊ4]m\v0**Jos^y=:#GT]Gѳ7qIژjfܸq~#(< ,gJ(f/zfxxm^^Y N[lZW^=u޾}[re___#۷ɡgJ'i6;"V7n[Nv}%  };99ˋ|<̼ytn߾MNO?$vfVZy{{.gdd !33sFFFfff&M8x cLL Y/BCCMLL|(?#ʆV_|JZhh(ٙr>yf6ON_ۗ ^ ѹ@OdŊQ|4}*|ʕ!>|0qį/(._,]ܹs%'1_A "kkkQi5!BWeBBWҠͼGthΝ;Ǥ$s˗/%YEvލ΄\DsNsҥ:G҃#$+hS">>Ν;<$$ D7odĈU'2&M :376lUViU7oէA?W~s:u<<<7Jhϟ /00PsgU{"NKK 'OVi*B/զMPy_ѣ6!! l2/)̥Ktb'{h;w.s-WADFFlv*VH[Ϙ1c ϟ?׭[r>|І ?NA蟾zᠻ'&MDy&y)LaaaJu" }_p9'}EJ˞={Phl#8&N( =zDP3@5ߴidAi6p[A豾߿~ Դ_~'N˖- |f͚U\RJw-mrhDEE)TȉYKٳwt|4hδh"33o\/'RSS.^HZ ,{\m$d%xZjbC9˳=q8uÇ#ۋ-TzaeewD|rhh5߼y9tsصt?͋H_NLL "wUV):t!---{x)@x(L.]Μ9zzz]QҒ /ɂ >dYWݺu7n\aa!d Oiii~~~, ER0f0vH&!+Q#^e˖UT=qӤIGGǼ<' Փ+sPv܉*ڄW\M/<+^,@_,;tcnk&`k8p@K]Ϟ= uQF3g%Ds,L{0cbb[8W_fgOHŦHZ , aKKBVeT= 'Nb_OZ {␾J^_ӪU+s'YӢ#ׯfC~@Ж~uVSj<1g}<Kʰn, X2e '} x'qcCQSN\_ >Ǵn*|afffLRA1*YSHZ ,7#?Q7o"y󦎖Me`sЏ,"ULYӢ#ρLA=yHL_ܹw8C :P%Kd9K cN:'&uA֭tx'^EFF И_ER0f0 s…`J&!?Q]oPPǏ4j^Z%1} OabS质ALIIYzuLLXf;;;C.O@YlYG֘3acwd[.$KfP:wWcl-9s##DYt) ƥK]vYYY@kݼyIWWW4֭[5kք{D( Ҡ4233!,xP#УT$-c}Ԯ]Ν;IOX!/"V.?(쵭\%_KlGTRGEkSǎQ<I}U\HrrӧOvuuڕͫQpYNeeXXX*w!5X U>}qhB=P<Ě d-'66V=c!+Ԗbhhh*U'}Łzv*(((**JJJrww?uWDǁ7zNsP /^(.օ3rQ5k&1__ߌ &W@1gBR~acݒd`lAU+.AgZZ11ѽ5jl߾XƘ39y$+Ǻ$Kf淫R_/_ccǎ lApL0r>0WG5߼yX}{n5uVuaW峟 Hi+WB7nܘy.]"<zR B1uhO9|ťI&jHW^lF4>BZ7o\y&}j׮]h"ĩ7:t`cccaaj*nM߿M0DjHEL%+E@D0uT;rpA΢\NϺudG\rPj-4qYRPPi#} ne 젴yVX7+bkٲ3x*U4lP pss۲eK~~> !^ڴn̙f#5˗bJO"0`wC 4`av$55[LFoonn8]VđëWХ[w؊J t]_ݺuK L6 ۶m*O>mժ+ϟ?tZ}ٸqǏϘ1KnZDwJJ{rr_ 2d`- @NfFq|m<_K ҥKl?;U뫼>^VeLl;i6wM ÃWaaa\.ئu%K?)))+V^JTP_'6lV+K,5KR3lٲd;cn=_>|[qI4x@GpKeYtRŧOd(@֭[ ###+Tȯ\"6ARrxM55ĵVLhA_]~]Rܴ-$9t#T sݺue?/+r2r]_X,'ja``P=qԦ䈨2ꫬ,PJmدoݺu9sFu˩͘1C ~vΝ;rHnZ6#F`_I,zIjʢ sR$+?eÆErj}d~XSdzfٳg5 NNNÇg⶛s}q'Hŋ$!VÕ9w =%,Ca{R7n b4rSWZ @2j0YRc;tP99ueްa~ ,{y-U ZJ)Su3KcZZZHHJ?Y~z+ wʥ"i]>}D_Z33oJ,ԩS hY32O"iĉB2/'>h,z,V59d`@h C[BeE0'jCY;#~???"Iʉ\H(NЃ=qsN h=z" +JW2&+hwIL*&}\*{yIjPZ;^[+8 *|</^B#!$|P|z6 {yMT~s}@@@5X$$! qnne髜[ ёO}- ./j"}O<!{xx1EKJ #G۷E>56+^/ׯ""עC`"1He.Y/kL/ߥƣCG޸{$U^^U%ȱB%zroʮbccB?ãC>}:p_|%X M}@7gl d\ݻ/X@$Dl@RV%KKƀ`?D&뷀G/={ԊW(l`ʕ\gAlt700ITC###a+V( -\جhxY,.ݝ;wt!!!e5H adKfhwJAIGO5hQfP*^vEQ-@գGЋ=!/Ѻuk~U|zdXֵ ~FI[_Ew)5r((XNKk9993Heheee͛7<R+;&Eʒ. ^JJիcbbd@7pK /kKцzsdEb #\n_֘6C_K+[R^^.roʨA},$'1 ؉Fb֭[5kք4in^,… сR$ Q:vJ<::96mXNpܩSҎlK33Abֿ,_ 5ܾ}N~}ejjʔreIltE<F}6}̅56+^qvPkdc4TscO~.+6Q#pߕJ_1% >5oʢ?b4=nq;뇺 g0\ٰa֦*/-k֬_B/f/ZWljUX-9ŋ%8 |d jW\B /Wt4k֬bvdEb #\rƽEF5廬7n/@}xD^Z}uQH.i"ľ?J/RdU- FC6\\\m}IUPͩ(jՊ5+·nݚWzs͛Çٞ8r@ (gl4hR{YEKTJ)SJcƌ #__EGG]6ĀhHYܦ<%$ \srpɊ F{YG_ˊ v`ǥW;w622} >5T;K}(@i}*ɮpȼ_zƍQ:Tn-{g0e@ |ߏL Gˈ|x.>/^P8)@9} %<ҫW/sssA;v,BP޽%4lSYRJOOF] PQKrˤ[ښ[ˈwL&4+@ }e)S{=2442@Hh̅ {OY9r7f͚24{{{~CF(zM:uB!;AtZgԨQ>}VZpp1@V9::FFFjFH_+8-ZNirrr! 4lsB888pK7fϞnqWj…*'7ũbO⋰RnZ>o?== 66V3eSA轾r >ͭ~8I\\\xXPoZđCǎ[1sppRɤB۷o===U͛þriƾ155tPT2;OQ?2Nߖo6mt/|ѣB ""ĉd=n'''+++7=z@ Y&N͛J }">>Vuд93`wޡtܻw/66m% d:u[<߯\rŊy 1׫WcpA?᧡Cv}M)}ExYtssp1o۶ ZZZR9gA:sEy&S:zE #TʧO۪U+@```ԩSdɓ'UT:s ~!::g~q]vXXX_L>>//LСCn2d[yҥdիp )))?333_1:ѣ[}ƍ?`W&۷(hQ"""8@  iӦ@ƍ~~~蹏3k>~8$$9ٳ'-NÇG/( B9^:bK{{%KЬ5f͚C qȚ5kmmm{ nmBˋr#tWX7 6077WN3f]%ݻ 6 @s*رc$?Wo߾ݻ7_ƍ=zo>hbb|rz|NзoJ*/'LZVv?TVmkضmD(_z[(N8QELeddl9ڵ+)Dh!7nbٳg*UQ/h&''(66VN͛-… cǎuqqAjjjsNZ ,\xM Ehɕ+W988:tH/**1cTwժUԑ x)իWG #၃ׯ_ϝ; ӄ  E:vemm=`#GLR1p@P윔Wo޼֭ zmO>UϽ?~ŋVo}?Zh5qDo߾}>̙3(ӥZPP_\\-ӽ{wssspݻwdx|a111^+ .{6m45/^t!++2=n+(P =>}Rǯ+V Ctbdd^o_~է(ڵ 㻉ϟ?/]ѣO>A70YKҖ/_޶m[ccc( N4)))Igjx~dk/$&&qt1~G>=yK,wvv>vB_T_~l7ܽ{tŒ?ɉLD=9997n\``P(d4idԩG} ڵkfiСC}exx8O8|j 3RB;5 ww05 &W^F/ʥ͚53w prrbVT[ZYYYZZnڴ JO\: 9֬Y1`{{{2 Asݻ񣺭?( .pK.gΜ).y/ޟȭ ]U֭ˌ@-}p8=uO~cyyyY}4aFٹpႳ3TΝ;Ⱥȑ#MLLتpq]v%DycÆ 666h_(WWW=6/K̭[j֬FgҤIW% 5j?TfQt8t@BܹsutQ$أ&Qڅ 4hЀ."l{SSS[Ğ(3gOnnnΝUq <իW"}}}.7S1e0v]o6a$… ...^ӧO} P8qD;88'K6!zUfffU۷Q* N y%2HJ׮]yBո~78prr۷/ ^zǏ qȑJ*$$$Ь9sA``O`?X[[eB=4k֌-޻wo2A1/_^P(}5kٳg zϋ/4ik^~ݦM%!̙3؋B T]lӧd~9qDʕ.\H 7oVVMK_?͛7t7]|&22 BzƹsP O^TTDQ/_ /m߾}ff&D8x𠕕}rr*>>U􌴍SN'ر˫K.d&n;;;?~\Զh?U\Y&X=/w17:t`cccaazժUXիW5kTRhhݻwyy„ \$RC0͛7OII~.G~_&$$h9p~F# T z{{wԉ BAVVVǎ/^-p@'nnngϖ:? ,իW@@_ B޲eK~~>}*UXs1d`` ;?s&M $wRC~Q_AAܹСCyWW#FRD ضmׯ_kgViU<::ޘ Bzkϛ7OpȏҥK eԨQ733o\AE,رcGY\s6m[͚5Yk,^VZ7WWE~gϞݻwoǎSNСW͛7]8MZjϗV_gƍg?>c vloobN+k;+OII뤆޽!z&)) +5zh+**XK˧C7nY4iƫ<.k׎Azij޼9<-:MYYYO``MK?722Z|[nƍCF[Cedd.]9sdwBOOςfZ?;En{J|\5lU\OppX0@ ?jժ}V֯Vٳ'҅  Д3fذarB~Q_Q ر# ׮]SC>jbBBNT>DEEHDDDhdB;V^vaaad FMۑ#G4)))WLL 3˗lKKK1}%XL@eMޘ3gDӧ^*U\M<主@£ g]hhjBC@Ğ={ZF3gębŊ E}u'`F ~z1-!𬬬<[֬YAAA輐'8G666SN6m7\t)Shzph}wܵ(`o߾ Ruԑ+W q%.}`䐐/_RUƇUg$&&ZXXTXqd )((0a@ zB#M8bC5zLT\yfر Jֻ]=`ڵnݢ'NГe[/mOz|lZ v[%xQF0|r߻wo۷gkS5kl޼yvtsAE jĉvvvIIIFvv6*lrr2-Aͻw *_n]dٳg-tΚ5kԟ>֨Q j9;;8p۶mt= K.d5NtCCChu*ꡨ(i 6mںu+Y|OVFV\ٱcG xo!!!s̹|2 j˗M4aSd m#F *dee!'A+RSSQ {21S^=jРAZB~~#Gƍ*UԿ-[p˜ժU366^n]9o$,,&waKQ~:k׾}rW>}f͚p_>>>r}vkkkC5IKK;wª55kօ h_p!+++;;;%!˖-CCǁJJa9;;ݛA吝;wؠQްa#WhdǏW\YEs^@@;wt~رcqqqjbZ}ٴiSfff,?D89ԴOII!k /zm۶%kD 4@C<`guZhojgm=Wh.^6mڸ׬Y"`gvqq5j;3vX6&qȻA v6ܶzǏ׈P?}sΕAB8%qU_"BCCA喏?B___mQݺu7n;Μ9t>|GtCCCh6m97nPm’ aR{{޽{fuz=@Pc:&usɓ *ߡCZXX o>;;;33իWdH#KKKS@@@5 /[剃6ĐOWwޱѶzPk֬dZן6m-& :  Thl]* B< D9^zmEN Ξ=۽{ _SSSOvyWx͚5k X&ɓ'שS jsϞ=[KII:x Uj9͚5 Onݺdܹ39r5kd N4I(V^ʕ++ȸD[R% Ђ?uꔟW| 'K_)o߾BT5JKK5q eUn]6ŅS-@GNn\Q)*HnnnND~h 2ֿC K,/͛oHfhNoiyƍ{mooj׮ 5kjPŋ...fff۷o/{l3glҤI*U|=!띵pW)>Φ%ʁCr!!!vAZ^ dK.e ѐMڪ:vȦN(h=<4KΝ;k׮Q$))Iؾ}ӧOzHKKٳy󙔔35Kgĉ%ECiT rO:thXX/_ܽ{w"ȰH4z`!dܹdΞ=[GGϟ@3Ցރ@999P8p<hAʝ;wt"..bŊ+2;bٛ6m8p y@waOOOƨyu>}8"v\xI_M6MYY *++ܠUׯ_s#jo`pEq:s̜9sTTTࡂdHJRR޽{h ٳI_ݻ.c𓘘999UU-QZ Ν;Iˆ(g^ 8 i&4 &''XLLlѢE}4}t<={JHHPSSݱc]+䗠1tPŌ3@t,ATTTbccy/YDLL0++ v3Ž9::Cazz:AssshU|||+ #EEE{N6C<=<zs7njii]t6T7V uÆ hA9s@bmm mu/xٶm*((ݻ:YnW“Lv+`p+V.99Y[[7{UUU6mk;ad??N:k!4cǎ)+++))=z).O11133~x *WL1cTLUUՏ1+91ǏG ?qd!** Cr1cZ A^pi2j߾}\]]M[YY=z0ӧѣG2evsxXgu޽cƌvc ++K---&''G@Ν^ŋPׯ_VAvڻM6(\0Zի#sX ͇R/[l<'}-++kq}ellK(?L1ׯ_I!!!gW|0cFFIHH,Y]'ifĉh+AxJ||*4;wdlf̘}J=p'{RRRԔY.FX t֭ RqO.//5)7*++sssMLL_p!/DD'OKHHDDD5~IMMɓ35h&ƄCDKuuuu+WЀ]vqqqhq0OOOυeee}CXjL祬Lo~Ĉh.Ax۷oذa 9ib0dx trrreddߏh. e4///ii銊  Nee]\\~C>>>qqq8FH ### jjjhÇ0B\b/c@7=*++ -grr2 AD׮]Ck@v1hΜ9˘0qpp@!7ˍsssUTTݳС#vɓ'pKRap۶m C ĩ2жo~ժUkvgחTܹ'0qJ~K2ӧO'N;vd.]14n^[[K:99}e`[._x1W^>+Pzzzǎ (4]]ݨ(򫑑۷opښ ׯĤ ˘\N:Q{oQfy.ph"##9g={I 7N";ABS p`zN?~ 2C@uu5du„ !ڵswwOJJN~uZ2j+** Fq /֭[P n)44̬tРA:::h:uC$''YA6{AI Bv횚ڱcǔ15{?_YZZr &}<0TÇ3fJ:۷o[D_Ԝ={vҤImӧ'$$ڴiituum %%%_#͋ a cl" 6@7 ?Hݛ)X " ɳgLs+|}}̙!& x ke\tAT9deN8qF@έd "zOŔ ;rH|B]~~~4 ^SSC6Фl*..600hX]e 22 ܿ_GGp߾}]~eN$$$]_t钇7Ȓܘ1c?k Bk ֮]۶QFA ?=yIC-[Fwb%v(,,vp]p\qä@srv'''{zzz9r49d`DJZ6qquaA󁨨(xܹӈs/^ %C4#*SSS͛ !>0_~eeeqS0"{sIII#--7L!D;,ƍ ,ֆHII 6l߾}"z v/'Niiiݾ}K?`ooF_aҤIј"-Zc1U0qݻ)]")++_pAx+oppMII )?5-M}A|B1D _C5pppعs'Ó'OᏈL2*ѣq ˃2od;;; \ "ݻw/_ީS'hk y!C.xyy 2eee}lC]nmvMN\\={Ф"dggZK.DV۶m/_D ]zBK(fKKK߿$''7ˌYƝ~[C"0r}###hS5 cccE`IHHPVVVSSKMMRk<==e=ǡeD"@SSS"zڠ}q"]p" *EEŦ$|ƼLAǏ[‚|֭ۦM 2 700޷o@e*#-ȶmۚww7ol Ӎ7Yeee~z"H#(++ׯԣe˖ qT,y{{\fff{ &@3F($$G0<88ѣGhi _|:u*)WWw}PPP`dd$))tZ+WSݼ} Hy֭[{Mdɚ5k2\|}ڵPŬ[*׮]SUUmӦMbb"J3feee^ldxnܸFFSZZѯ_?" rss2#N<)//E߰ݻWd6@fKJJΛ7! իWQQQvvv ~+Wfeeedffu)%Z__tR 7oիW6//G'3;F;%$$vٲewA )..uڵ|xӧQFA6mn" |UCCcРAKP__ ۷ocbb,)) ŋ3221 y\]]y_nzѣP|pgggiiihi?~ZZn؊ 朷\zyyy>!,qqqՀ #GjۡCook׮BLPVVn. ߿iA_;ƌ#))k$j*=G.cF-++ է}sνrʷo8"DMI2}"tA.[o)~ʪ]vhur'O7n<0={6\ ,{֔WASQQDSpVȡCu!Buuӧ'Ng۶mgΜX[[C{. ^?ׯ_I`) #G?vXO_|9wɓ N6m_D􈈈066nЎ.\PVVVSSKIIA &߾}333kTz޽yJ8vo?a" F:ӦMA?ADRjj*$g y ]|葼18~oOLLLmm-43fh۶-QPP8qӧVzc_]]C i'EoꚛHxZ°Dɓ10|pcܸqϟJ:duT 8%7ool|}РArrr \zۏ?~άFwAss .8q"::zΜ9/+5jɛ6mq4F+W̛7OGG]qq)SaYj-;;[QQQj׮][l ܂bcc7ڀtU۶m0`݈RUU4iҡC" Ԝ?~ƌp;9p58P| ;ӧOB;v,1˗/;n8F:zZf۷8®ʌ?2={*.SYYyQx 1cƀGVȑ#ݻ'ș@,/v#A`|8GKIIa| 3?AxMYYٮ].##Cv6mڙ3gp~(ʠ ǎ leey?~3;wB1ҥKapfAfff\YXXdeeqD h.|7n(\پz}|}nff3ŋ.&&&'''.xHۚ?.Y@ѧO'OqDB%%%(eat OO*?.X@BBχOR<|Z!kk;wA:555󏻻0dJKKytnn3 Ɛ(_ܻwN[[C="AA&.]J]eL2uM6 HMM~Nxyy1B$Ga0VBHoaܹ0ٳTD}}}5O>۷v!HsUUUIIɿ 'NTRR"\]]QO@;v˗/iiiQQQW##+W'9د_?IMc Hں:,tP >>> DEm۠„#gϊvm-//6m͗P@ ¿ ”)SЌOYY٤Ipw!7o޽ٙxWPQQ:uӧ"4HGG {!#k֬!a55wޑ0;wӵkԎ;pK}5a„Ç3IJJ̔*譬D^|j… qՒA 6T_54>҂Ǔ5޸Ki輋ϟGDD 8xWИ;w.( uY6l ԻwFī " T:xt}}}̙!/RYYxH5VWW$ųE2^tI a\\TTp5 0jA #ѣDiL 7]6ӽŠؕ@i]QFQ7"D BA[^Ƒ,+ٳP! L?ڵkP {޴iSsyjСCɤh$ݻwgܿzdĉ@C*@۷2))ISSz3qD1W߇ӧ`:8W7oހ.{ݺu`a"Y; uuuUTTD`]vAy/3vAJ_UVVgW/B}%@KJJB wRt YfoC:88l߾٧P5V[[[('cllL2l0eee.94uTƍ}\999h1In?VVV Z΂a#QA5EcH%..>j({ êB=qʕ+PRvvvJHa7v)""0VkرK,.Δ^$ggg48]q 777/( 7OCF@o(**$Y?0濼\CCK."pn0mŋAzYZZX$54cW)A޽M!ܸqQ\uAJJ"zd{\W+%22ĕ+ -w' cccDWWWOP_! b۶m Q\1Wɓp-˴'" >j( zuִ4>䟉T7 &MDmq A}%tDEE9W)߿X{{{A]EEH'˰;A}ɩyP tR#/_@ P_BdP@>|89,<}ƦcǎDTÑǏٳ߿SNm֭,㰓Cp|T5|Dv\py.2'P!^revɕ?pxx-[H" l+hSQ_B!::? ЭܻwO@ԯ_?xhggH2  w_TTD=Z[[9rRRR,3JJJ@S]011˗Lׄ<]]]o޼V;waܸq-ZTWWǴ!Sܹ3`ŧ!,srrP_!;vrpp3Z233ax|EAϨQriFnd?:A9HMMfA|a|0;ГT$K!Ľ7>H_*.N8[d~{qqȘݪjQ,,,~ݺu+q'ԥ78SSShΞ=K\WW7gν\K5b:J~ aa|l H_5ݏYhjjB"O~S8i1^TThkk)nbSth h>|]2]F{~V]]ƍh0j߾ѣG"|.]/WmC)<0#ap߆P)6:shI0={6^?$[^A_ǽcirfȐ!ă=SX $ gx?W0a>80n ŋN.11QRRDXKYM-VCSDDDpO+K9IXfJUO @cc@_( 2ۙq3 O>!3dfŊ$orx1֡s Si[lei2&Ĵ2߲e =,,/^ 8j(m+WW^SBBbժUd)" @q(++CI󎄄EEE ۷o EnIٵHCB_-ay5}Er}74sΩo޼arwC_( ^\pXM922۷o'Y_~ӯ9&g0&L1Y&cBL+Ӂ;w 0kjjp3fwpWe˖155R$??o߾.SJ_455[ⵜkb$X_18,栯HXYVVh߾3gX.!K}9,! $,s&Ln9SLx:?\ÂhWKKK11X:ݺu}ҤIHHEEEYYtN:ѯ_?~zh/I,S,?ՌY.fIIIdJڵk!} 2CD3]rX7 9yq9K1!D@VV;uꔰcP_v C9t O?ၜ۾};<222AAA7%ɜӲk .,6_˽Inrww''3\( /SBQQQ?~",T׼؜]ҌIELs=,Ҍ*~r h +y;R,}K./^bff b$/f|+r]_\^͘"}7`TիW,!sΙ,J^^^_|ᬯ*((',I/kp\l.iҤ"W)))#Gp~{ee%2w--3g]ۅ sE5 JeeennnRu҅;رcbbbK,;dP GeeeQSKQLjY@AMP_$0]p!Ν;cϟ!?Y:S=И9'!!1n8Y ȠAD{1qDg͚j*q???{{\h.K"888/aZp0a 27"5,Gbvzۢr0͛G٧O.R! d 98l:?7o"|8bMM]v~}hh>$ 4qqqPddd`P|]Ѹ5+^{eHw19 .ƧLO;ݥa;7L7]WFGGk" Ž˗/[[[kkk IKKC;8QG|ԩS0w_{䝾ⵧ2,} 4/_隔\t8c熗)+z*##{`^z /nF0F# Xti۶m|FS@NNƍjuqqQnwמrY+bvdK?t]r2e?tEI_}C\\\MMm׮]m֮] u K3g΄ ߲e TviiiRkСwuTE #>B$RZbŨQ`.!!Aс& ~]~=nʕ+?| ЄB:tOϞ=JMMMHH8vTP__ߙ3gZXX0>***vvv0M ?.N_S.94HwK.9nx  V\\]v7~DhV `RKvv6tC~~~P!3ʿ 19@cž͠A͛}U椕;}%r[֧1 ){n555Wg&k0u|ӧзo`5^ׯ_pwڵeh ̈́"ڡXlƍo=T\\\rr۷=z+\}%r[Ч1߼ ܹsP666Bs,8z(N>o%L4I[[퀈^O-ӘotK_%$$ jjj{ *HCٱc}m۶a4C=֭[C} VRRRTWW~K iϞ=ۣGF4((]BW뫛7o<IUUՍ7ⓉK.-ϔ.]+ +A}uٴWEE%((]2"#F.,,DBWh諬QFAG9G ݱ&"*//o-[{ -HAAaЙ+A}JNN5jtdrrr .DgPUUG6s ";^!ɓ[Ν۾}{ttVaKݻw[XXS'++j*Ë SSSsС~*%%5vK.5WP}6W\w%22 + "dgg{{{}v_OBB¦beeզM梨(EÇCBB/^|XSSlYʂ@B1uq"%޺u!};vdQjjjݻw7nܒ%K߿#Q#;B ͂^zvZh쬱cǞ:u 7Dy/^| @$-[ ?HQQڵk{))#FmСC81K^z#'OD+ /ӧO|!++ܹsιVVVġ tΝf͚Uׯ_/))| ȋ/Cebb 9>E҂y'N$;D߾}a 9"罛JBJ||}t}P_QQQPSƍ׭[7UUUYf׮]+**B4 ;w>|8qz3 BӧOa$DܰaàO),,D JBBKHGGǿk=zh߾=Ozzzvvv񇿿޽{={S^nݺ={Ꚛs+DHs<<<)˖-qo>%g3UUU###Rcǎ ؾ}'n\Uqo dYlʕ8yADw V(**Tׯ_+wܾ}7Z sϷonݺyCܺuӧO>"ٳg̙;w&A]yқ҈#V\r% \\\ZAvڣG&^dʔ)~I}}}VVVXXȑ#奪3fػw/_D )..>|ƔC;;;??˗/fWǎkuڶm;k,'g޼y}vFu…Vhkk7"K,A}Œ߿EEE;,@޽_U!˗/?ebbB&aJKKoŊIII?~D" ׯ_y=+WM;wtss J]]}„ ;vx!An^Ο?‚גի_4+a!'''55QTTo߾iӦMծ]ѣGGFFLuAͻwΝ;pB h^@qumѢEM A}%2dz]Q)++;;;޹sݪ#믿z)))IZ:t JJJJWEqqӧ/_ЦMҲ)((8::nذChWdqf͚ׯ_P_!w]x188xȑdK\\xQQQAAҥK7n7n>zKGGuڵIIIsWׯ_ |ƍ< im*;;ܹsaaawqq155gVVVcƌYx1DKKK g>~{ ZZZR[`PMСC6o|[n}CڧO^t)&&fŊ'Njti&R޽{e "@ '666$${ذarrr]ŨQ,X ڵk>l$WP߿eee%&&۷oÆ 닋SELLLKK|PY?.t ~Af/_)"k׮={CN'RN x߾}ǎ{xPSP_!B(O~ꬬFhѢj4; P333ϟ?K޽a/##CNNN#F@}ݴiܲ24/ ***`ʕ#Glٲ:SBgjjJzBT_1A"A   AP_! x+V y`YAEUff&tsa/_]]]o޼ Ν;֒8III%%%<ݻ7֏9㧻0)))Si&[la 68::#q-Z"۷o ʇ\=N'г ـ>>'Nd: AADC_ft}(,,177̄#@ pccjE666+WCpW>$G 1RTT4l0eeeZߧ.'Bɓ'MW\ZO:|$UUUL_jBAP_Y_ ؃W +W+AA}\C AAP_!A    AAP_!A   AP_! P_!A   AP_! P_!A AAP_!P_! P_!A AAP_!P_! P_!A AAP_!P_!   ˒!++knnA@]]cǎMH=P_! DH*  endstream endobj 178 0 obj << /Length 1906 /Filter /FlateDecode >> stream xڵ\]s8}ϯ̾$;[}<]څY ^ɘm3/ױZ-Dz(1}|tνdd7F/Fǧfb*Τey-~j]ͳ#&ݫࢸ.b=+wr!A\k\a4{Hk3>n> }Q~&:# ɾ\e`\23"mY%S,x*1F +(og+LfZpۄf1Ks&G`~NJك*mǴ*v>>I>7$L4ag@3iR9%܊iOf 2g,67 O-QMSgusngy N5O5Hج[D P"zDH, xbq^ t isL~ 4}6TX1[.n*f@#j\ELHF,UN8|#vSaN kqu~KimK᝔d6Q77EdN^Ta!{!ya~Q87Rg_TTt4TEed?' ?Hg!@ďȾ K~7J{$K.@$…Z[pÓDV<6 NP^ wkCOĮ!Sui~ Ir2J.GU3p)y,U* ƄO0j 6hJ́Tii(ֳͼ?#Ʀ$B7}(,|p026  ) l),P,= hy|5&K,M?HMgJ*eQyYf g 0l3u R%çK^JLwAt)̄ AT já8p]nmV|LBhAAOczS?5H~S !@DL5+r4z>4ktňP_H W 8bR˧-rHD9P+Sӈg@</FBM A5H,;timN)D=#>xp |ɏ1n5-eRe@SuYx'>ǧX!QZ= jlq&lyC|yWT C ["F {͋nHUM9~Z?Kp919 ]<@58TsnM#ꇗޞEbDN@Ea itqt9y¯.26l 2kq2+qƐJ^y_[Ӌ'kp`{9ƕIJɄR:/3v2VYc={ }7/^D1&6 *qSV!pY1ˉb/c)W4HLAdq%҈u N?H܂ƣ'N5MGHl-JKEn1eD84*Y|vx9ۈ[<"ARNH_۶iۼ> o-]o.{}r4|,$XNA@5)-LVYJEU-6k5/-#c4$TTj)H֦ PșΤ#jrɟE5+]k ^yڮOޭgߪ/Otr% MN۫g)ַ8 x endstream endobj 2 0 obj << /Type /ObjStm /N 100 /First 811 /Length 2278 /Filter /FlateDecode >> stream xZo7~_ރ) E6EwhwFycH$\Œ\]qg83"e(aqRIQ`EF1Ye;Ws}C]<PhIn)kj{W ZL$}wA_"@ 6L+Hd.3m5^^4[u J~xo?j'(W,gE!](]kExL;fN[.WwA& v>DԾ:mX>~Z_5Vy7i%7F"ꄸt`7;u*ofwfaa=hd٣06xsZjs9ɳQ;8}CACAFGqPґ;@===;L59Q.0%<+ʥX)4\qiqaq}n ԏπ~`cuՏC\Y≳A\l}Z7\q`Վ&r+(Lcɋ#]Gw$]<I5,) "IrD6,"_"K OH(?QrM(?-]8=xJɝҕh:v5;oo&2w#2OY1:u_~JQ`I%KҾ/8}XXZ;v(P"%)H EJ(RBHCf,Ff$U:t 'r;\/X >?nfۋlŇeFTI@$b2'[U?{H[Nvx1wh@@aDi: U? We3dt@tEFV2!R>\= Yo5qEQ/ơ^cӜ!Jjrn,Ȍ,~>SAs Qݢ.Xۣ+nV31QTFxLF~Ep3p1b0bFdh[۫i69EIL8t]PQhwӟp׹brZ_FdNRi}c?:J|N_rn(<)@/K XX̍XTTlNEJ*RRT"%)H|rm TyTձ ʫGCDUUyh3zBT s*AWy\qW79{J'UTyR^۽T{IQHR*VyZR-fVTY,ՂjEKZR-jV IK>Snep̗UN(OCPRzu׬g@޶ҭBX\putj0=qoR-6]ԲT`):BhkBӘT!fc'ɭkE#;^SI&]`Fon`TxbaK#2R BcdswZo/j|y[  Pa!/:柏 8 w-sFC/R !J-OdE/c)Uksl=FA%y!}vTv kPRzv>_n ,IhP%vlDrO:00Ot9>D#s)YT"f\Phz3< !C???Tο:_xhU3<o7_zF_ endstream endobj 235 0 obj << /Length 1954 /Filter /FlateDecode >> stream xZKs6WHuboM7󨣜L(TI*K4)QQ:>wQ&BjSPx&ax}|rEg/lK۸gqv_G*>_=}P/\-WT&G@OL@(o8zSxʣDw[\xQ…{ u$TyYCg#D`VLΤI^{HKxz pP|.~CVhci[VȶoII#$iYپNסnעDU wʈS.9P4ٚx^D$ϯɗϳU:),ƮFf>pNҏoR~[/,$?_ MsNbmqQlX݀1#ݪb8F h>pyK{Nfuvqv`(˜;מ[$a˳2+H6>jʺ r9O&&[ͧ,x% ME\c-!u7Tq]Z!2L: fyrGDW٪KU!A⢔UIwҼ4$^,qKO |ZxjǮX% XrF*|{#i\c}lw4fy+2NIzmg6"}qG{W243! ȚX֮M\NIO/!T)I4E~HmlWbrMpeUiTO2*009!Wbם|~be=S2&E׵'-#R\,O7B?1 > >LY U[`G ]!<\D_ɽ2wE i)峳c|ˑK;uۿlozRI}ᴞU")KIa,ω١t+S.B;{g. Ia7-^DՊǻX0Ssu X:\/' c/BpnӱFukj)nA}m{QkQ1J=AS].j5(=v5τzVr v^fSo|,Cl'*cZԶ2G[rK=C̙`co=iXM&@f+!jQ,͋NUƮhxՈS$]hO@GI(\jSW= B&>TyN,r)\<ˮ#~JsʷoWqMV!};pԈvԜfi(N 荩q >Z[ {8`\:WA|`PC@pR@A> stream xڽZs6_t# >x}uLzӋNo| %A吔ݼoH$X,itſ&/$JH&H*F͢<4䒎_]ǧW?Çva ,t5m7F*FCY* fC݊ד/ Hhpbf닛h4o?Fĉ<:.<\УSPiHí9 &ұ!BݽEco fRlʦeZPe4,9CI+a 4Q /٘ v6t{[&GJ ̋Ga\7KMH% Mdu)Yq$*lhاͭpc5P6ڳN٠J'E܊cho׸aWQB > uSts(͖iѢH&/*A8&ZFm4XX0>n%VA׶0haf&UI"L ,#b;'JLCEg[=C,s9zTZUS2iiۖvOYl2f3[^ OqceyVSI*J *y,@"]*T=CRúrnXf9A9Z>^ݹ {cH dAHoP]Z؝[#-^s#8y'). PG[mO 1;1Mmy}{ Wx>j>kvYd#O0Sc\q m@ȸS\0,7XwLpoy=i6r.vpaO"ф'N0Fz3z;6 ~o 0ʼn* W.g6F, Fg @aamS軼r.g:CG7"$h}]m] M; /ڗnR,xظu]tkj ,pءG[A]*$Pk&0n4pqP0NqGێcE_( Y.ÀDY9cƯEɗ T@f=Hb?e٦NrP`0T#+ܭkxC͹iڣe;=FXgl>[3 ,w4w֖ e0=K ]Х7Nu;"^Hw++oR`dÿ__Z؋c MSsggs4=رkt3G,x[4W;:qRDŽak_@5͋GO[4迫w>"K[؃e2P94u_Alϴ 6ߡV:N\ڲ$8l9S)^_Հn9v>nѱ~ B!. pyfFdQl܍yG'ܳPu9pAx8E\H2qBp֖؏E[]zs|'n?@..5v@iMT͕kW A!k#nW+@4n|@Jh˅{"4&jH|-5cJ 1Mt$x76Ռ ":^u7Ռ*T5 53XO:DlnfMǜh͢D.;> stream xZn9}WqAbE0$3ٍ/= ȝD[J"{3vii}Qub]3GIpdq1{6XLvLa< 2qcQ  &sV5Gzwș ɛ[eh&U Y$-ɵ?%CPlR1kx=R0!C9h+yz+/xRR$;Dir` ;)+04)A2pՃ>Jv㙡NY ]@QuBD Nī7#:HeNd $}ZRqqGځq~".D(j[8BfqxA8  LI`ܠzFL8* + L MQO|!qq&G8@o2 4ë:E8<(.jsςb%DRzaBP0pNFD* ,L* d½( c z`.ɫ0J 0w0wQF/^&W5frX,7׏|hrnV0avr޷E3ۘ0UYu=Gu.Aȼxa&fji&_>u3[^75}7¿?8Կc]a$ٗj8!-fm/- ,bzJHaII d.ڇ`KzjVjx2B<AC@>XB$C𘌁CR l|!O[5wSE ,n|dmFQ1iƟtpJr8Bv1u#qYEKUGilG\|Z-ogC(Vvl$J(il(r1>zF6ʽW!%"tqβw}э٢*yxP1{C tHo'${ߒv:^,{w X'Ww@JL4hE{َ "`5 ZVtVisw9hmɹO8h3xȞ<|7>:=`QwpG [,|}qt_x`fԿFF 힍_O~v'T6P,6ƒ,J CQߧDRBQ⌂=^.T'/_,I-#.ϐf{@S$]d=( 6m ] '4{X !,P.v}fyDa2Z?_0 L]2L^Fz\8țQQR>$w]+ާfmH4!ѭ9*fsŒ]VzDh\'%Qޒlߨ}\lZ&ޤbGdgT7s<09_-g 5Wo1[|MYl֘ ]˯Yn%['|rʹº*br6kuw>]Aұo}auF!XGrw? S%} uz2RPg1YNl|k{û嶝';(ʚґ pi&3 lpz7ͷm.QԠ]EB@[h>כA"d7*`(:losr ">R<=! w) 摣:YDSUhMtJs Ji_wkd4fmlDQrݫ,**Qt"\)[J6i/^7d_^M; uV9B,կde^X"֭~* Kђ~d.5sKҥf ݑc2UȌ&ߗ-K9%BSl&]e& ?_̈"!%k10> \E9| Îl1-$tr_ѪJ{@z̺4cv+Å794l{ƳsШY*u!ѪJ$eugHx]::Y.JYtd3b@uKk⸎\ɕsPu*YB?tTzb]>> stream xڽZKs6Wr<>vOTƕdǚ&)-A8o7J"EJe h45$,\ "'"}g2wOH8Aπ9ս2ftfYU2&NN~z1N|}|0 !fy#bd׈ uNNB!jOO%^:rHF >Sv')<#Џأ1n0fԅ:Mq䙙izO^'@_K" ,9IK`2Ԓ23"{,\ qF!eZr6+UUz`-)l xZuHKHYU" 2Ih 6Sͫ4~7݇BX#?&Z}8Nh{ Úu І G )6VXyp|\qj x#Py Н3$ #P|kp=g0fH}.-u:d}^>c9_XͮXXm ѷ+[}"<dp8ebTCW,xًVu7۱Wp.tt͆29{5hhwC,a;7iR,Mp/'0^f.t0gXHg޾(kqm}5\iHnUm"8Mu$vɛ]ncN8zӭN`])C}IVV1TQCLfmsσ OQBFk??2)^gѕ?Ӄq}Rv,/Vi{SOpP$Nl4/@mŽjPZV߿'xC Dр_PAJ$(z^gϗuB^(k09: `2uaDdf~4%"5Z'Ajf6OZl&a7(W8\JHm%A(  Y#o,H&7C6-!,'!?I۲CNMgla,1vbD0s)iLF$FОS% ʂ} LX20c/U"@hG"4GX_?XCCihUkh=hdf44쨏o,cHq?*x{` endstream endobj 317 0 obj << /Length 1446 /Filter /FlateDecode >> stream xYKoFWQ*)rrh$*$ė>hdӢ=ovMt:}28y-*IH[j&3t9<}a4f /^_ 7uZi~nC\0A4 $\ qo (D ap'f-"XX{%`/q`"[V?U3&0cia0oq2V8RȮeR.nlm38Vjx3X!X  c)ͭnbzM*Wa\#!l~ϒ*yn"\}8;_TP-AE)Ab]9%C2RG)6:@z.Ӳ ?QH$?s]N[Iȱ&)> ݺ 3*XTz#hWPU+IqoE&–0{K },F* Yib|˳Y#"G$\ϱMml]:.%&-MWC *B|*7(6q3">>X*IbnІ`Yk:֮knʀ~ olҢFb4TjOi!x j˵:njM>ݶ{ye9-e`lڳ='ukUG$.]EEREXrya=[UƯ f5|&U2⧠0H"KGLa1#vyZ5CvN`EV;)0U^,"'U$[UI58+`Ѯ{㼼YHs]\ȇs#/D ^\jfS; s&_ 5F./wj!(SAPula8; … . 6-ٷ-`;'}…C+(2N||ٽΡPzvTc&X&!g%赙tk氏j=ic=J>tms9g~th{Ȏ&~O6 fb=wa\SgPX3y{6.eoˌj鄅HJ8Q:DBԔ~TG>ޯ + l+^=f;O2ᓌCٟOhԮQb.ǣ뺗xTYlO|w))e5?:G-~I cNI)X?{:) % k˛j%KjS'a)wDބަv=U0`i%6!1Zc&|6ˉu pY4_V$H1ӛhFBZL;VZ,@,KmoW_2 endstream endobj 341 0 obj << /Length 1793 /Filter /FlateDecode >> stream xZKoFW(fߏѠ)=N`0%D8Β˧(2%rHQy77Wo 2Jf a2pUĻz˿fw?\ V _=wji+˵B3X5Ui@\좱}cfHiE o~~{ačSɥ'FI_x׃6nRdxf{ۆ]&>|ʾEl_FeVH0ok'~&T[rɅ4SI-&ʮɽal6aë ,jN$pqh´aޘq$ޘ(d~gDMу `E i/(0G:gI.j$8/=& "&у?Q1 P|^i=:%?$0[pAZe1!Mv AL(oL5"d/n&zJ'Wh`X`Ukp]B] ݲ;Z71f:$EXTl ,ѦNU'% nQ¸.J([Tu)i oG$)BC[p$%Zr V .;7[!9=vYM%up&Zv]7UJkU#Zľ=ڿ) *=S)zXIl=ERh"2pDA e*sur-sb;f5gkQI\\T{[ppB(/,-Ͻr9(>9Ri؝[](T:=lAm. OX`L7ǪbHa ®}.DpB0^x*ikV/)&V~vYK"C MsPH冓,~i-GJ'`׹ϱ 煴ӱĹMvrry*Rb{\8sT{bh0 _vi UEs5Ë˵@|jv=Y'ʫ%i9P`т7RO89w#oQq9rUL:qUU 85?\UINvwb 2/vɺ4X%֢>mC6: Ơ 'gsx") _a$E%]I FtѨ?h kFdJPjY`vP5AfHJ҅EN%Njj˖d;ǎm; Z=AV9R 39m.H")8R@_Y,Zyp0wR}ώ-ZOE%cF Z5S6)۝%(?]p;/Mݴ,H{FiVM7ﬣpUC!""QP_ˇc3V4'h~˜69esۣ%nJʓlP endstream endobj 360 0 obj << /Length 1780 /Filter /FlateDecode >> stream xYKs6W(ubo)i<ɤqNI&CQ E$ח.^Aɶ*`.vHD8z=y2Nz dʢ8kLEqz <}{+{sQU߳jׯLp^ɴ^PV5* 8>)߮'N,LDz3uOH#A0L}1NrkhmwE]_EYڻq<6xZet:| m8 $Aӓ;;d87RၷuؽkӺQd;f3YMM]-?qRLAtv4WLg˷6v^y,6j]}i>A8uvG'Wnݬ9rE lvfLOְZ'vJPaILMIS;ͻQDK986(p8rmQH 0˪Q*oT`N̨ KuN㣔h,JO%;U&HbDH&HRyy4,1.5˪jVM,xȭzi:JzvHD =.=#`S5*Wa!mq И9MO#> stream xYKs6W`r:7)}MS99"Q2gdJ%8wmaŇ]|`F/mD"aŜhCM$i9l3z8qؿ5Iś#vq&9 _c8d>{$0Pj2\~bd!ȑۢ ќQ! ];(JHy$F '&وaW9ڒpG8|mBQ!QjV#A7C!$,i%U!"KI:[ƴC*Xtdqo,8$m3.U(a;ָ#REvňU$MGѧLSB$WÑ4E| ?i.HNtg =*>6eo#lÖFc`UJz$fmtBxc-oeSL.WY*~K~v:|]7/YV6'DmIr꬇Tpj: |^&psY# q BqZTO$Up3~4rb2IMUk_@բr׼n|TLkHDֲE0{9l"jgOjTv>IlQjÏժn +_NEriRa M^ DQ*ø Ƹ0OYT:ӱ, ']j5t`;#pNI]U0 eAMA#Ֆ.$A%>[Ǫ5qP~r|98Pe[wT:dтT3HvRFԔ'V^,C3 Gﮙ0ot PsہPC&yybkDZZ=_Ѓ,4>6 og ?':; LQLɒtiO S\Ƿdj G8zT%m:zq_vA_#n endstream endobj 285 0 obj << /Type /ObjStm /N 100 /First 887 /Length 1754 /Filter /FlateDecode >> stream xYMOGcrޮY88Ql 0^9ȈX,9>fǂfzfTWC r YKr+jS dzBBM \ FRQn9P'/,Pa¢baR 9*n,U, JrOS8 H pP,Am5I`ˁ|w(GR0Y /؇ :p e_I8_SfƆW5CofGTbW5CBUθQqKY`ƛf~`HfPU} 6<Lآ,)H ]])Da/{ UF,u5QÆI̥}bK R{YPVJ, `#.:XMp?suВkXCaw&nJq RO {"V gZmFQF2DkrGlJ4Eg4DV"5{!B0[[A1S1Cr1I~3WlS?5RD4M Rx&vFs4ONގ<JAgac#L-^ن&b0r 3AB DM^͎ L^=pt4Žypt>|v4GpxrK8HxPy P-v;<@$ $*9 -uy]$ׅ)74&{ߝ/O?&Ogggfnܖ#8AdFAi89|/LgދΛwu痭W{?ע2Xn?leb~^9yʱ4"1&UJ>'55:19/ˆ]Gvvv[/^:+ζ3N{wWzz羸*KҚbydICJ4eL4>MQ率t>?4=hb0K{HK"P[!OyhkG8?Ts̕{bT *5# Ff]XEHOfP}pzNK$]+))1fmXd(.HOn.^_: 8F8׶ήfyjEKjJ;U5Nя-B%Ks\R_p..d߷*^ Bj_$œCRO~ |BM ;pʛ>l)*>Pb^k^hJ]X۬dôNl-Fj+X\orl5bRu̔ZOtkCy.px_IАDAddI*1ǐdihC/HRUe|uJVZ }n6vBaZ.Xe^աdpQjY &Xg6ɝrхoSjծ2Xn,i@yWq[Zu{>Q1}@d+PtaU>l.a:d8R endstream endobj 399 0 obj << /Length 1690 /Filter /FlateDecode >> stream xڽZr6}WQDS:m%M6gdJ%.P")ڂEO(d$M$$EHtN/{6O;zw9I4ORw{ow44JfqH ֐|ܠ}d 98";KA&~;pc7:zgG`Dee{h62C H Q#6QF7O"sI&vX|.~ㅐXjN`l Wz~s6oo.,jѻ;a)=_#:?W1{[L>MYutu.1~l[cVDFsDC⛧b:jMLzFLߺ i'aH&g?ѐpJ..`Q'ؚ70``(1&'+4ٟjS9#r!OgTLTLrUpw˪[w*zԠN@ Ț\2{dX/I E[@~*M% iy濇?[K]jYfktF Cr *_ҏPʼF?B4\jt~YUY\4v˄x+ 萼ʒٜ)67e厮Sj?/kqnѣ[m5(dZ&oe`ɬTZ/{X2'H6qu%M`Ǝj^n^Sd!㚢MQHhSD@ȱTb45ئs yn@s{$['e=H?}˓0^tr[Cņ5ea#$̏\M endstream endobj 428 0 obj << /Length 2107 /Filter /FlateDecode >> stream xZKs6W(VNIĕ&x$%fE$5H|IDk׍qv*bK*e$$1T ""< xOW}^ܥ˴HyjoNmy44JfpH RkH`v|2p?&!eO-OF(F%3v͐vQsى*U7N%u̸]1f34!$UtC!%BS$zG>Zـ`"4& L w:/;ԃrϟal!bDڗt|1ÚFm ~$cU LecCA@Y8Sˁ4跡Qcx0QX!ŬY >m>(6˳*K&v0I>KsWAb I`Z챶5s/V65l8b|=" $X1=@`&|q J aӍE%m=&RLA:0#b<6p._v)Rg1bVO,1:4H0f(W;;0X#(Fb7kHSWUkW5נнL ksKZ9{n.h*9^Eb -uǥj hY VLCHiʆWLCEKX/:.dQm9e DyP$룕 )i)Aj %ޥoTҪ@jͶZ e"^?ʆZ(n.>Fom*/D`(ݯAdX(fԋ! {0jL ,Y ~$ecU='8+}0`ERėiP;/Ę/B1-tS{SjjQ]=X?JL,d.Iثev"[|ǧýP+~4[nV5it1Uy]Ga>Xa>:u("9M ~xj{^v2qsv\7H 8Y {"vanp,R7Q pt]xӒ@y%Ws| UyRf j ! ' h(ryXk mu')u&gkg qV@Nz$U(g0Wyfa\Q6eq^::4קA{0Pq܆AzrfXqLE;97[g*iOO4P+aI}ŽP"j)O{D#?*6Vi;'p|7̉^ς{'ӿ/Y endstream endobj 456 0 obj << /Length 1903 /Filter /FlateDecode >> stream xZKs6W(uloS:q/?>9__b^zgNyE42&\N޼VaO\ɴ\(RDHaƯAafLj쑭&"t5{3xÈ{(G3,*BQ-ziCב%an$g6]:ҜbF]G%T'*jWQ -KI4!> X0(%P\ss"J;ɗ"MScGN(o*smG=Clg$:_0Rj%AM2-`EL?~hU"¤+=>vٱ9>‚ pya);HHI.ݵt߾ۭQcj"64X)˄B2!S޵Lq2Y}e3cs&uB(q5ٷ0xؗ+ȝha\r_!F1#e( "dUVoj{Y=Qre {}-Ё,=F_'/;/ឰ'򰴡r'oMJ^+XG}V[(t,i2ljӕH*y!X9\e:uoi<;Nh|zgC@V1uy\:ȿNwHMQ7YOX8myEN?:5n&Z<ʪ$aΰIwmVFV\>U~ȤdȥNUNF'(ҋ Z#j# r憛_@O_E+7 Õ_OuiY~ a1?N]N endstream endobj 481 0 obj << /Length 1708 /Filter /FlateDecode >> stream xZ]s6}W:-Onۯm>;<&MW}ص]32蛻aD(Tw@H$#\C̓ϿM?777"t?Mt=rGi\(RD%$0>T械~d18 {& l39)G*x.GnA0L::շSa "n|0&y65VtQHAj!)!?!߂ 0 *G=8^ 04 |@(3iX* *iO aBtY۳2>6Y6}H1~KŪJ ૢ")H%8==r>o+vag{:ǖsOcN=@V)xvW2PDc#ҭ mΦ^og"[ 湲j^KT] +{H Hw  ^-<8oS&.vYzI)Zr2077ף|k]>C9U[j3T$h4.[Z[:/*`8uwQ[Z10rqko.1Kqeb򣑻2[ tX>:D`$4H i! TPHٌ&>r`^{oD&^SζiH]4!#,m9r{ۛGRKBC[fۢs4lj.I&ɞpX"m%" 9t4a +c+J˝u~zBH $ ̍ёTT׾)-S6G_.CdI[WAC=S[fl_[s.r[$woobH47h:߭lp\_Es^Tf,)lڃ,ѭLzq?lxk l=tMO#uN>q* ݨ BϿ:/^ XY5;ؑIQ.dq'z} s Dq;*W]YB9~u*s] LI$gJ7*:!Nca!_ļx;`9y0pNgV ({ҭj7pcyo@)[{@stmJE ֺϜgL!> stream xXMo7 ϯб=X#"%FiѤ 95rpE4kqfc6̼H|3rHR0 r6T Y L2\,u<:p'Xy%W%H%oA՞KX:u:얔%.1<++a@\qbR& tLv(2.vKG`Kfc-Uab`,Q `@|[27$SȂY3ܰ0a:ùfɼ,ŔPe*,(` bv"k ܇'i#Nm(X)*ۖj20*KTXm;jۤ aR2.,C5o~ݼԑdؐ2 x2"FXR$ mTv:yA2IM̛7Wi ,,ͼXVKtx&Jy٫dzJ AɼQKL)[^#cAʜ2p@,'GE̱rtÝ;_6 p;b"m8.RT ]p(Nܣy8}6_ĭ9i ~jgST9̭=>=^\,OApn?xpz9m0>[\LeoxՇppCDV(|.k o.<=NGoƻWibyew@Ӆqzʹ FsH%DŽC.W&o-p|.vӽ50E;֭x&w/71ȅ>sXB͇:90GtT G, ,&ۚ Z:cgj$)>,*2okՇE^藘|͚b 촋 so|3e?\U.:\@B\._YKnkojoBqsڌf5טM?ojeKoZ@!tN,B&DOޠ+ZU* ^@a9"Mp%h5XXfubqZr؊|[uac:sb'jG@˻ 9,qgqƖ +ocg2% Ovf:37ufftltltltlQP_T^ϙԡlLn75z[AIbi4K۝klX*MZPChxE%r CfW>)#Xr Bb-:}֡ ZTƇ3| rN(lrc9Serj]a}T>_%ftnWsmjM^aɫFӜ!ZƂT.Nc_o$97}!n7q>T?F,]u#j(# endstream endobj 507 0 obj << /Length 1514 /Filter /FlateDecode >> stream xYr6+8YI@J;iJ3ZdN)R% RMQ'.l}R8X88}{5{*ԁFZR\!,5\C\o/Ψ˗o"^E-c{StW  p%3\Q]kH"A>Tyd& r3:kג@(0N/3<" -< HsE\튬*L3J-X3"*.6IU_EEY'_';O;̝Zm(_u&Ā%uo߿q{8+;-T3dgDBLm_׆6/ց\ςg9QUxvL ZuuYqQ,S+EBZ0s98@ Όͼ QAhó DBq&Fz*1;4$Tekbp/\jhi!gReU}$m$ȫ3aTKm^OBLϹ9&|}$19qoF{")Iݹm_a]-8 JcQWsW[Wm+Wv(mt:r86n~gG 8<_ŕmTTrFnp`ݾKʾ6KޕSjZ 6Y^ɔeXc-@ !mhW.[,gVqݜT+MngcƚwWK8jtϬ۬JjC#Gs ~h @ U&B  `5>ZyD): s(H.%b J 1~P (TN]y}X8bf\ 4 lC]G 2ք /wkUUD7.L=lt&bn`^f(Θbb֎>vLc8t12Ó6N?Ytchd"2S 94YtiB_tfɘHP_p2&GFfƖbmWE\Y+J/?mnԎ7f^ޖhMc鐋"sCs) k͆&;C>{}|1y@E=B[U<,mvC$%aS !8}*j{:iʕs¨REoz5 Mi(IȏᏌ[,z}%@\0 OGh;teSZB8EQ<8 @8]:Y$`h9Up;F T&G' ?-.&:",uԴ.VX\h]{>3Bd~iOD5G@\3;GT e3 Ҙ?GJ endstream endobj 535 0 obj << /Length 2149 /Filter /FlateDecode >> stream xڽZKs8WiF H`d3'+5̔ x~JDIhOʄf/|<}>0>y)D27y<@d^(o<>_(ǃ+;:vi#5SJ'~%JQ2}'=|"AjXC1xoWN.'YK/2M'־xRxOrqe'؝#P?>93b }N5g=O#Zzf;9$oCW$ a?8#g|X#Hħ( [KiilS(A %#n78b\5ʢ1W7ɿdMLǑyQ;tTG;BZQ|ƎjD ^N&(NrlȰ#LɖiE؊!(IXݻ$Df09 gPă :M *ME1?m:S* j5Sɹ mQsCcvȞvL!lZ)Zm $[( G`$ @ʸcM4Dk Z0_x&uIVǿa̢buYHW"eH吨6M=7~2SH*Uah~|ίzw{77/~L]<祇v7@q:098tvoF4!@9MҲҾW\:diia?JקY˷"IN,擗j+zE&0^ 8}$,=r'ͳd $.arU.5}Nٸpu8m7HJ)"l˝lFr Gh4P<[#IRM ʿvt[l7C]/u81* [v>)Ĵ_CYѳ__EJp0#EO1ȓ;6koajzeC,.N69Dͪl$˴ذO a4Gys^DPlӮ wɿK!4aeþP eGwYy ƼM=[1]m3 5-d `=O+rw`DYӐhlPfg̒vN7g ;W<ڄ"* L[O2r7DB_uJ79gΰ]U̮mWSEy@p" 00*wߗ|tߘؖmT m2"u:[$à[oBti)ܵ_7C=!޶ym~{U5*/>VFsn0]t`ҵC91 jZWi۷oݭr9 ,d=فasfٜ!;C}fX:nLBsѤT>> stream xZMs6WHeliOӤImfbI8zpt1xu=xZ ##!4,RD&)8:z>n.HQ}d2xk# Y\)Dì HaKwؾ283 0Gd^d"= n>h 0FG_#"A0L$9~uaob!yFRPlSdm""u{ue Xj@vWqjauMvØ8oY-mْ ms@L7<6IƂ8W2Dpo@cԯ)5st 2w&Nf]2K%GS_?q72xn ()˓2&$gԚk( R%@8=121P>鐈d>^,+'bybD#1k[A0wJ + )C*b8\Jww珃qL&ӑ5ૻ.Hۛ ?5ک#XapS KLY ;R(Ցd0Pe3( [rXNi^k闛Eu }l`gNf!)𪄭n 0 ͫ΋{w;t1@`8 .&vz` Â!CKoO,/\VN5Om2yk΀MO9Xf3 4$I6*ֈʞca`?#b3 b%(^1j'/1eZ΋5P %=7(ɲ`Yvonչ|4Jgo"۷=rl6!R;o J钁\ҧiQY~MһWW?m_wD*a&8/l5}rm2݁e7};h%RڱT状SU+N,k(YӬtKa[w FZ/˲˭{*|pN˰ЦB$r:@8xOj dC$d:aUiq!-QdC4pLZi[DT-!rP >Udw?XB OT NwUoMh+W+[Iᢾkg#)FA$Jk[Zc(1 Le_Z۝Fm!3F;$f Rf#O{amwvyOt;$TCTFAK}Q k;f#,+tCHp8HHAFC$"X~k(u ֠naM>#I/I5m90^ ϮΡwޮI|庮f?Ifs/DV)-׷趇RKbZVbD\V;'CS%:bx-\ߩkwzS UMDGx]Y{ įR-{cwqnC10ip^{Jp'4{:7ɀsFW MwWܬ7z P4⪜矊tn$zٓӼYdyoTLx_n$_jF\?P/ endstream endobj 499 0 obj << /Type /ObjStm /N 100 /First 879 /Length 1692 /Filter /FlateDecode >> stream xY[O[G~m/pIP@M5~cJC$Vϳ3Hjʁ*AW 5PkA?3c\sІZj#-d pB!r(&& R8 9BVW% dhO9!TVH@@oX@j KP9  LFF Z0O`,PH1x%X-&g`(u{kZO1Õ L % 0n؝bO6HS&:D0rGX++lƖ4#<ϰ'=2[6󘹐ݏxdnr<!dyp w9C@Y.X:͖=3DoWX-eM<2*[fVP%1 9k1h~6DUƇj4~j~śQ™LoFpT[$זj,1!Y2Slxx3l:X?+F7pXIΐp՗:_=QRcB}x.QWjLȄlt`9!{}zSlF]X کWjlso {QxT܇M9RR\ƍW.ҷ7fLz`o<& lj~QS;rqh)1YI7P5޿8=Іv>^OhggW|=?.^.4a^"k? x];yI݋+/z %w W8*EHA%kgofאꊥ4T41T69Z&(zBQ="",=K9JSI 1$IȼSEdAId!!l9VVIdXoU rOyQNڅU>,S,H3>\"b1Db}X҇%ڙpSG/Q;{Aoq]cMU$s>g?u}xګtlwka& Cf"1ي|c<׶VyW47%!_NTo2:KVh < xiQ3ˣ Kb6EsHZ:L:|{19۽#d^DOav⁁n>CX }[SI:b>JCmg4.,:k'>$ȵI'M`ACػu-zަo%׬_k$WyZ^^dkK%%fZ0[dV _"3ƃR毪5g[iUC*jŏ*/8H|СZo+z]MP"+(~kѼ 6 š*.fo!容S/lNh/]Xh^" +P/ĄNKcA^tPE:.] endstream endobj 590 0 obj << /Length 1434 /Filter /FlateDecode >> stream xYIsF+R9MqeI&69y\. PGq9>h3dRspI{IA7ǃ"b gH*,GUS4$ûwww>܆0 I1r0pdWq+ ÆAR ^Cܖ/? k{M`#h?4> 59[B̸%5 ZҢ[ki0HUɈ&׾bJ1] A4fL` R`@&D]m^R .QkpN"fk᝱ަO4v$K~τ2: AJCOTRckLmn- B\2Gg'qE߲UE%ECv2 7v}*+ 9`|UD8.7*Kbɲp%\1EIfUEk Jr`V=V/Jn e,-ol=E)ԤH1J\tpXu9V{ڵEV"^+bS4J~Oe^w,H{` W52T5DsJ wyy N }9wW{M9f BgrLktLr+y:{Eb%MYJ|ܗt9I^< $X.=ڤ:WSv`#{: 7Zr䟤 )Y_)P؍𵼁QUl['q[.0պ $1ug(EJ`! 9'AbCbrvJbL>Z$Vp D߄V$'gFb"ӎsXmpTE`9王XI%.yk:oeXt$q.˜ٵӮN`9XkYO:4P}YBtɻ9D7ϥq^.(=]h.D l:Fq fa \FoU;T̺ݳf@a4f;1ͺNHXL$ O+;-͢ʆcv Ƌ&X]djۦ>%ɋ%Y$n*O0''Aa^jS^eV7ҨJlRL}7uLZH/34 mz|qtl9ujq* yb󴖥a2̾$XXzfXmϸr<0t j7h (> \-^ġ+ŋZKEdNwۆd |j-Mɻmp"~۷ endstream endobj 612 0 obj << /Length 1562 /Filter /FlateDecode >> stream xZr6}WQTMiӦf<4M[Hrxܯ ^ $O2i`{س1AWoE[CRae9FM-h$^]>>wŲX}dѧw *paP|m`d9/\|>D-"XX˙s$)+xܝ +jLIޒU]OY~=ޜ$FltyD5H3D^Rak,ZaS-5XS/__3f&–#[-+܏U @2 t G4VžίmD&[V~%pfHj)z |?,V@$[Bb&5SH1 yvܠS᷑9hɨOFԠa Wp[h=[\ۉ.DcV,Xsvllc1哒MZL8(צGV ?]dM6vTM)8Tjth'#}MiL =LA-GG&O5adI7bW\}t6LT@qxE7ͺ?(#*OŭOj3?=6[gi.g#Ax4u9) ւj῎` 5S5f`CP-~mfywp^!NSd8 L`6M#N2k XK)*k$f@\`+xC$Arp 5H2H$-VuCh0v[\f[v`erᅦ: p!{&p6;b6 SϒRtL@r+Ѷ%( ='}n )ĭD3,zAoet+MZT2{nŕ};!#Dp%d7WvDs"U0 . QTqnQj }Cԩ́  ŚDŽ ЀR ;&5C$5WDjĀFH,5 [63LS۝%6Jd0Pتp\{UQ]ToE`Q H0?ς*C>r*bb724mH?sףnL=_ݮ6y^VwY%wW0ZNO Ь>]o&YӍs>=+t~[osHsNh/9^57uQDN'"ؘv,$~~+O6~b> stream xڵZs6/)>,YjқW{5Cz8 猡\]Y2ׁCB?]{o?MW)dqb^o2o~s4ooF/V'3m?~]>M_ؓ+%EH5rxeW?Oy^dܛw7{Jzʕ F .N&'HV4LrΦ2tb9?K v9j=-9H%}h A0 j2W|<#‡{=S}Nw+iyvK~xj|јdmI%ԧH<%$1PW,Qo1|s:,̊3[3Xs>D)c N #(8bxnÕMO",!M}I:RQ*x*V/XP`[&5 +=rA-hgYp Z,nY8[N=ne+瞯i+&@G`+@NiζWf\~@_>(gčUb( ~=CU m4HgzaW1 &D#L4sqai]@NF)lƑ'}GRKlKmر\K(3N"-h H~y3顭3FgmҖ 5)~oL~/F]z6MwN.FH1Gm_ˤ搭VW`H\l~Vfk3μ\;߯/l6;1Xgr?_T{ݛ FNx`IÕ-u9tHG7h띣/>E񼍺RlGF $ U U ovh֣oNu@T-\&,E TH1uL;.n])'H 3誙#p%u'F6I g6w:m'TaS@_݂AeVH\,Kz=rrW'{;kQҚ<ѝN ]SdKFQe{;[$R|hw.P2*Yߴ%_GS<ҋٰ*@<B56 endstream endobj 663 0 obj << /Length 1261 /Filter /FlateDecode >> stream xř_S8)[1r9#G :Sϓ,xICa&j)Zd`[uw~x#/ABZwvǗIr/:H-@^xCB+Zwv3T9.M~B/*1_S**6 h\T$@RVb箍$PHR%@QuH !Ip!5r=9w~DCcWƢݓ"*X/,r/zL]Dy/&A^eS+Lmd3w7l:x*2cQꨃL1~졳I 2`޺Pe!SXA-Vdfѐ*GanP'2>aI5/NCippeˬ|ZqZoZu`9d뢖Ryc!v & endstream endobj 680 0 obj << /Length 945 /Filter /FlateDecode >> stream xڵ]s8g6%_vhN'0^#f&2^a$ѣs#@CfԺ~/#HFS22<z_+Q0l盛aY$${2L2n% 5K\W? CZ;_tz}H 1 <֗::A̪PJ_\qS*TLd X`^g2AvgCD8BNY5pzn3*WÈWli>U&)BZ'zbmmhfsQlCl r6`*5#MH=AEюV4b>1d?^A|j!7SQ(pB-DT&tud¶:<ϊR;.&d;l@.VJf 7`"N<4|cRA.!`_{z[o܍;{qs8HBI'lHr9zg'Z pbm%:fa΁=Z[.Ɍ"]N _8)7favO ǝ]n< qݻn8$PpWrF(/UQxa6Ahha_FFk}kt_=Dt{hM4^ޮaǃAP4L(HO%b'TD}_ŋ5xέ?ϭͩcdgs=i512 1r1rkbe-Z0)w{ f b`n*]x`6=[}=^OCt@+%Tq 6-.֝A(xp^!]K9TZ2Ծt/uX$˧Yj&yr4qu"g"n"os0B7y endstream endobj 584 0 obj << /Type /ObjStm /N 100 /First 885 /Length 1508 /Filter /FlateDecode >> stream xY]o7}_!^χv!j"Cۈ4\t/JBE} .i#!ZxdB-PbE_/ ] O0I _'S޽a|r99\]0>y(V.|gY0>9\H}7oNV2~y]8r sb*ڞc3 ~^o`hR>>0xa9{:FLG488W[)z 'PR` aom0|_~o=TIDEEZg"͢vLjIHkx|~{gԘ뷯_?_g6]zЉbŊ [)6hUVc2pȝ|kFV>a`+jѕ +CNl]XK9[y.,C>`uQ %ڈw%+h/Eg$ZSF2߁2޹L(ZJ9qttbnHϵDSdԁK D]hҋ?UNl>08p]f$z笑gN JX3yl^,]goꟷ,~Q}^Vyonq7P 83@_fT/~q$Uxy~|zɫVg秛KcY E։U"&w@ +DD䎈0 :$¤7'G99]"gih aab}t' a吉taAts*P7.́L9xK? PD}usQ endstream endobj 688 0 obj << /Length 925 /Filter /FlateDecode >> stream xڭ[s8+QtY<>؋'3' RI*|X46U봨eR!dkk~1jrlgv чjS rF[1m4rq P$p C׼CUR%gU?Y5a巋:ZR1 (iˁ *S/ӉI7oi(Iҳ0@rݿc|MLJo79X/vYn]oY*g&Ya:̼`[j "05 j:0\$JB葚0 =I]!$5zRÈ^$( 6-I,n Jzl$B,^IbeP`:Sui~R3WmK3!r s*͙u7xj_n|V-AbMIn1Y~P)jW#s86)K~ endstream endobj 696 0 obj << /Length 751 /Filter /FlateDecode >> stream xŗYs0)h?ѵ:i26dpR4I?}eLz`aB'OWW߮%J%ћ^tp-`WwKPh뮚ސ\ŧˤf}q(.S^1C ( 5%C7vF(HksLQB{ҍ>Ftw""h&Vu4۝M/a&;nʀ( ZJsUThFF(ddq?_E,gKiǬ b4Ml% 㧆ot 4=y}ﱏ'̟|bNNco\Y:'VQ;|R9)+"rQ$3ͦrRUn T0@nR@Eo~|q;dpy5DШ pydv}qX7OsQA1 dy5QA@Ѽī%\L ȶOF\%c5DШNgxfst/jKz.-0XL_y]۶)\nX JI *qc:gsq'54{+h×ڱ{헯|-8X*w9$ endstream endobj 706 0 obj << /Length 853 /Filter /FlateDecode >> stream xŘ[s@n~y)/ cmHlMK~,g?x\7I'5P "@BS J cI8VFv'<[Nr=YUO! WЂ +s _*jQK>s9vdZπc f]_] T_, a}0100d0T%+UP:q yNP, *s%bY5 4დCD8B>j5ÛCm9\ٚ2ks5wŶe=3+5}Q6s-!2 E9!D% DaY9@js`J'L?V;}kVX%*  %HQ:^ߚ'u| JnqYdUr[ZnqBzϭN;Mq:w>F޸B0&%j\0ӏK\"x&r&NBS `ϳRk:Fbnawd~ {)ͣ[ER+{gU#=szpRi0{0 :I:-#J@j`$N38_F3qb;>oL2qP$&^J4uҁ$!*3n(]g+TFl|+Ij~˖a.E> stream x՘Ko@=!}u(v j(BnTTTUlGm KUݏ>3l+srYOG+Yn&9Q |_n$[<.Vd}Ls'#.kN:z,.>Di}$L:j`O`t nc?-HF:_uEͷ<̷HoPhP۠k8LgݭӋvKTݴÎQ\w@ziAM6hw3} f!e׏fBqcqftzLͺQHOii,WP˴d2#w0ԲŨYV!ՇYi,jvn$zHߌfYu > stream x͘Ms0:ڇ(dHKݦڦ=t:!ɿ:&4Vlr >^I+xo mZ2+$$H3X$gL?mi4KBfLm6 Xmn["HnVT[%ۇ"/._>ѿ@.b}F#Ck$(K(_g B #5N<ygiHeAHiUE2M8k벮\*B$'kdd)$:5G&P$8lLݞL)dǻށ8 2A4\!V%qIPL)Xz)0y66`Gl=xjyi`lCG;eVDEpeCYD> stream xڵ]S:+|i$˗)JI 6s.ڎqw94;|\Y֯VVRs`% P p[ $ߑ<%q{:(nԏMqf6bXSgDaG.S)`ԕ$ ^*<֟¸G;'ϝɬ'vn 󸲜9`D}.{xY9H$DLNO*9"Rr/Gq0=ѿ0 caw4 )!DtpB#D鶇SH#с>? : j}]Y0t:}UŮU*+sY![u PSxKMRZDV̦satѠ/Dv'|Z;^zWg0G_8CnvA a$?@@-A]e ,a'$ c p%wBbCJ "~̉=ާ2w0 ;ki]+tL܈qx 1*cx1)v&>fL E6f w \6Nz/ZtΧɯ입\PDK8;w[dEU٤¼tB 1Ic`@3LO|3pzIYdEo8ۣ`4]ѹ7^n$$];ܛNmy4/-1S՞[er6V>MkY./U8it8 l"__- 1Hyd܌ :/3(.+ (]̷lYݧ:h8|9du .颠GYY4/bjl%ВZm4MY5.&I հ>f" 0@JgH<ث^_VQqDЀj, Ɐo[["[U[pri8ǯdP_(HI;[/Kޕ֍ep0!yihGU+!DR,hxB m%2[IElcK{uت*}x(֎v:C[2*foNl[ endstream endobj 753 0 obj << /Length 1330 /Filter /FlateDecode >> stream xڽXMs8WpUEDɛ8Le搙Ja,;T0xO~[`q2KSkI-l, lzMzWkȵmL2qt1[rl]|֕;9|~N>_ lµE5d;<ׅjHo8#ȸ/{?1o ,Wyϥ FPqN-+JLNkiKd'\/!K?X=D{:8b6clVYG{ffLuz4O.5Ͼ\rh!ԂmYBT%fܶێљ]Li war9Dw!;am5 mN[dDn;r+n%;rX;\0$A~~hǺv 5O'uIum&uUFA8QF 2j*#uȲr]db?@Gǻ]ё9MG@ZuDM rA8i,1.$4hF͞D NLIz> stream xڭXvF}+Q<0p-ܮ4bP\VUd_# X(IBh9{Ϝ3C"eԸz-*+ +ˑpfc<6[L(nw]W<$_4YMgMϣW ApqaP_Cr k]C!ΨO;L` hl|L {֠7HRWp@q9GLIdդ$- "l-ƛH$)<%,Q\zX|Lڤ8ydS&0Slt1,ǨOIlF-0% I.Ÿݔ2zn`# RTab$-ZW6&RK dO'zȃYy|ZUlEJ~D$e>We/Q\, )XW}޽ { QBC0 xL%,>sɁ XY_&Y=Ng.]ks( D_8@1ut_!N`8>QhkgA=ڝVa/-,X+۠rjNǟaP{`\?%~`).;MC{ם!“NƱ 0P%`8I͡o2 P 6#gѠe0La}s]gz8M. 7B~~`ul17 SF~ay*(ijJ`̑T\d;Ŋ4iUM B||ΫL+ȦcY+C2PWr!޸\,,Mv\UtYV̩}melA1' nN> stream xڽX]oT7}_!/]EHJmmC +( =vn!m s3g>ݝMq~OsHo߾ݻTePD+]!KҊbQ#P_!`yzvwtqJj+"Ã4->\n׋z}6g/z՛uˌ5 vr"O!ʌm`6__K\ZLcZMZ6͆xs!YmH+i{u#]oZk_7Ufje!J Me*YC"6fFP㲾UPc|.JeVKhj*7{֮#P$k#P _E7Ov8[ 4u'-&mP.rHuI6i7lb#ȭZ6rV-[,-kzmڄ^۲6Ei`T^r~m2dm˕-P59rFY1~Ḕ{ J7t3]ErIAY(۝Fg/s~gVǠeehCPo1h#P3 A A1m %aִ1,j"ȇ23~OXc}P/0qAlޢӠ.׷v9UV .uתy 6~gOŌ!nVLKw:: ܇Dk 8wn endstream endobj 785 0 obj << /Length 760 /Filter /FlateDecode >> stream x͗[o0+||d%vQU(ӢiCX_P#& tvCo~A p|cZ  M)163l#ՏYQ>MdYy̼`̲'t?Ԃ@)XLFX\Q 1$T:T#TV )CAmnPԋCQ *"6\`7Ds(89̞pP%۬jdM?wɊo9[j{}K~[ˍ1-×]w},Gn8 Djnєn òLwԹp׺p7J\brQ4uY@{VʜY )'9^crj P#v+s-d endstream endobj 794 0 obj << /Length 892 /Filter /FlateDecode >> stream xŘMs0 홢ґqfzd; Sb>鿯IKcXH uv(Dp P`λm‘7e3({VY>ʟIM}|uv!ZWBI%z՝$z~ "QqK+[o- Zo^Zwz Ȕﻙ/c m z' @K s=w"^âyQjJ& Q1AT(V pp 9eiU.1|yn4N5#; }3ݼYz glt ̗Q6OMv7UQr?_8pzJf1c 3YE|=h`DbH #D(4MHAhEdL$RqiO'7m&a}1!9y뗈ڛr3Ldy ѩ96 3|5ȳau)рWAINCAĊ+0й4zC o" G Xy,ez "J%cm)0V&th>8*Z5K8`acapłQabQ؍:PPI*CAR D5a/l}ĶZ{ͻ1WH0= W.W MsV~8GU);kY\ ~G_!Z9Xsp3% &qwpN{>gBcžYˢ>1L-eVsbgQG^vMo6s3IDzfԝ2SlhgZ-A0;YYgb?@W2 - endstream endobj 805 0 obj << /Length 740 /Filter /FlateDecode >> stream xڽ]S@+2_g?.FBl8C5wfC"h=l(N(9 T[b*H:&@YAuWHzK³"jp9ho榟e66q4SCqJp0̸%tڄG NJJDf\]Sr i yZg2 \(w?%S@KW[Qb|QAt،Ëc͈1 a7~bB0EH^+A2-X#(Uj'` ,fhEei?q}sѫof,7m8OnnGn9Q\pтP iHh"e@@^NPeh 0P%e{{R)eF JoШ I1}pAk>ya$M0yѺfϜ;Y-GwO\ss5D*Q@npU2I* "PH ͫA||/ƾ+o[=zZ@7PsE JtkhEi atŠ\ pm+L5>Fp_wҺeC޿=ZQhKD,,e aZ endstream endobj 830 0 obj << /Length 1044 /Filter /FlateDecode >> stream xXnH}+^NU1IPFf^B`$b2\vdlbKO49]m`O X׺y07fp%~-ވ=Du/wm6O> stream x[oF~Ǥj6;էD=U{Ir'IsŤwlC a=D&|cgHxJ\\^(IDܝ]Zuv՛_~_yןF˫D \K\Pk첾U2vhfB7j+σJL賷BIZ,,('q3uv> d45b1/6wG4Ҡnr³v{0wxV)br]s6~yxY^TV"PNJ#;GcL~ВUi_MZnM* J X\2 g]Vӏ,t'y=?jJV!^4.^Cὲ~fG],/ WoI#:y&Fe0qA j.~U,١dxa-JIHNtihSHЬ-xUTwj_:PIbWK.^¾^X-ԻSumK`)6^7}()yZPKQl,BӢYҔ6]Tq⩃ (>iZJ/dtm3 %یȩX_FHIR:Nwb4 Θ*$KXENW|^\OXCUMg6>Ӯ\e#EV Tıؒ*;?tn&#!RS(>; )X_be/>#N1 (8>J@!]>J0owy'ۿr(Kv1] 3%ۊJ 4*EOPh_2i3MO VRծ{S.Ed5ǗϔMvL1.x $?RF >`mM:73eݰnmu\ύpSn­ĭ>eI:q3%a#0gP1;^0-t񙚱F%FtzjͶ>G$;5z|ZdPhzt X1᪃4,n3C}*#}"]][7lvyT3Qut6f<0Ԇ:1ݸl>lx4?c^:Lr6vX}A::짃6(h3ILou:LddQ=ӡ>S[6t`J%t𙒰n>]7$kcSCtʀF.wZ]7`@9n endstream endobj 782 0 obj << /Type /ObjStm /N 100 /First 875 /Length 1578 /Filter /FlateDecode >> stream xڽYMo7W !`h ɡk+D $H}߬։c; >}yZ5Pk X0Eq Rh)0P.rQFͪY( 3BQۜC@HD2dA){LVg̞ י!~QTJB/&~ŐhW  % : 2``B\iv!5=fat*(B.<Ms(%! _BE82̤dbTu\Fkp &.\h%a"T~arx'w( ZUw kr@Jlz\(b|KҾ7QM$ e/'勉~9QSJER}52b>%iwO+Jݫ3T{_Z~@%Y[ejz$*+bD ,g'ɏNVLNmZڶk9M-Md'{<㝽K3 ގ[, WzIz92:<:aGcf,6i{"`$y^2bىP&8Y xb{u<.V˛ 蜏 tj)6jqz tg΂Sھvl[dCKLBizgqx}jυ g)A_[*[/*|e+7P>6onn@v;+H7#'۬ T#O$#_BwxP2g(qQ둏f}1?p?drj*(n⑨@fܬ"Ebva988;G+D)?x@&p Ͽ|h$ߚͲgſ9F|qon~\dRq]Q]^xpTqgj(j}~i7ȩvłji,-5Y4}Xk>\-^,J ǃZDX>NXwr6ajGC;@3~b?o]؊ѐN߅ UN UNfTZiWOe) wb[tX[:m<`XR<ںCzCZfD#V(1*A}1M2?c_? endstream endobj 968 0 obj << /Length 1542 /Filter /FlateDecode >> stream xڽZr6+:1]$6iR[&x9#Q.)%M;^CRK f>AnA/''O_h,)4_!i GM|M_I2zvʟ={?LWi_N}}!W 50j5f q]&?&D2\fAK'D}Zn3|&NH m1%Vx&7eR&+wi'VE5H3Ҏ/Œ İ5)Z58ю=Եh3BKa#{ )B2 Q);/Qٵih`+yخ+ibBRp;s9¥F|s AbnPbgIϕ[t4;qǓ`XWb6ۼ쬥#VW^omgev]Sbrx2Z* F f}e_ey˒uW7ٌ44w~Hr_-u?xYâgrdyYK5}̏_>Ie ]ppkqW$9 xwiُR??vwKSf E, l8T+eHEc" 9GVmj8aa&zBS.}6`4AFLM CK >4Zq n?%kr?*n_Y9U tb-6|w5T89R-=xJ C 1jŻ 8S^f qWpr&eׅ{[kH1s]ePA|{S2PI 2u*9FL闻Ip򻻟iy܉1Y >h Q_>Wx2~\O [t%ogT@2Ɠ)S4XHGܹP{ӻ4s]o(iGJMv4Բ)rq]Ε[xz?NxP*Ҕl>gc(dyiӂ&e $RI ޝ&yt#&;@-0) Gy;PlyFiGMv GJ;` 2S4F4)UjWy'/Y]CƖ)g4r2Dri{rP >RH*1f`΢{vsP&/ 7(^bKvG6IOm5k|S63[Ǿgs>gߨ endstream endobj 1078 0 obj << /Length 2242 /Filter /FlateDecode >> stream xڵ]oF+xi|\vhmWi!0(Ul~}M)Z830$[;㗜+nqwo) mxYXwwO?w~},c7o+*'q>IJϷMXVg'BXc wgn ixw+Vx[i^V>6Cm' 9hm%CӋOB܂e!2(u^c^y a*@?~ڲ]/ju6a L3GV<\]2RoGXyg3BDJV<Ĕn]X)iP"Ӄh=Gɇa| L#h&f13HE{vY:ÒI˔D'5e9PQy,зT@DXX &x~@~N@SC1.Ba8@) #g E H@JR1.B<?vWPfKGhjp1mu35"҂Ĺi* )q":חG!?+v+FpMho:aA "q.A1I\XB{g!A߆S3.B@8(|EѸDpf9)wu,Ū<*LW1D΃.Ѹl ^Ɣˈ!`4NxSK maVSC4.Bc4hBg QpUv{T"TZ 6a5f_<Lr (Ɗis /79j"E<˓! fNf]UYMf*pI%5" ܂5"Wl1V.a\ip8Mg1,pts+45"DpNsJyW^>:q>">ɉQցd~.$oH~0'e\禇ܜTLPBC(@\S1.˫wm^i\9XSif NX[_U{Xt]eSTHykc%4w/yδD87)3WD~z}^uŮl7U4Sm"qSMppnz\(m͆>/\?q5ijvR7|RlRNymp-LkjE4*%uwK\X86Qѳim)`aa!B%.pMK+= օkT(,P[#D".qUZ/ Gi$,P#D>.qDi GσT7>'">L>unGTng6@%%C]=d!HxBr`IXPvDgs?|9T\S`aa>!B=Sz,AO91Vf̂I꿿,:w Kg=HS?_5zCKQ,;:4Q\# Om=ek#;[#h8]jبKr'gի1޿,{ endstream endobj 995 0 obj << /Type /ObjStm /N 100 /First 896 /Length 2358 /Filter /FlateDecode >> stream xڽZM9Ws,) &X& 9,M㠱;l 3~^RڊX"嫧')룦l)6Z61DSS5N&bjv&q@M m09:dr)Aؔ,q%qx :Q"+: j ƇTaAϓ`F%8S+2 8FS R0!qA Z"RD>;W Ɂ*HU 8!/W\4ԃLِwN,BVC 1$,E (W9Bj#D}4R#ĘH11yTsIuDvP`؋*$H džeK !ῊaI>I݀qj։bYQK.뻛s,AZߠX V0\@\!: [b\oR8(aXo™TuK5Y٦ X:L_JdKîm}6-Bu֥atZb ,rr C} l!Zi ,Yq55a;=0ig-KJ},CKٳWrfzyN՞M];n-vdZmVw}em*^UIٵ^۠-iemYۢySZ+WK/4sr׬d d:Pĥ{sj]ㄡabQ̥@v|Z<ݞԽcIA(l ^ Μk7 l=}31}^OSb^lf>7VUQ>1WUO$ϏJ/NQ6XfTG64,-?a I!, lHc''ep/j~s&n&XRȍjON^j#LmFv*B%zŇ z(W} (]_/wmx8^|z5@%,$$a 9saԭ} t췫vy;]8$$K"hLE4"srQMOܧFH e/N?wxJE [IZz;6 endstream endobj 1177 0 obj << /Length 2145 /Filter /FlateDecode >> stream xڵ]sD+t0t?2 0Іd\GM48N(z\Kӽ8uW9_K5 k^}}uoi>4ڀ-onwRhvv?o]-f߯ʱơAW9;VRz޺Kξ:6NR7w}@yќ^4o~9cvJfÛSB7Vsjg Tϙ UVdd 7Ger 0tE.7b~6z'l=,unm4&Šm%|bM#xҀ"I|2OW`9m)B,{OD! d-DBˇ?<UE XZ@`v<`q+2qU W7]q J1b i> vWCV!%5Yir<`QcɊ;gmkg7\iBr4 8lr3WQ+W=Sx7mqBj 4iC2S  :6jXqeYJrNYY MljM,לR xe&j ]c*ךƱjMnWusq 0` о pETNq 0dJp1Nei2><͛qT"T7hiLW.^Jz.1' &@Ѹ`ע:M~}p8C! s2LTRl6 8Q'J6OMlDŦNY}yp,5LiH-@4p^-G1T•*-B@^GHJ%Nß"3tgf)_"i\yÉ"B{aJu# 0 8bX cԈEyczĘD(4LhnV]0~U3,O!Pb K#i[q 0O[H9HĴ)Aֺi|51 EpEY50.ى nVtճ8VX"\Zh`|z G_ OljMwۮ7daԿ5xfzD:Aj,t:f+-B8p6=[҂ղԆ'>nr(OV"h5{OhЦZb˙HCMXZ[^ONj M #"6C*.dlj XiB:M!Bf;lF ( d~7̀gSa#iSJc/OcE=*\6Ӻ>j/eBVvy+ D '2Ur:n endstream endobj 1113 0 obj << /Type /ObjStm /N 100 /First 1004 /Length 2536 /Filter /FlateDecode >> stream xś_S}X#@i0<5 kUEZr%\jF5bŕ4 y9ígj$C>_<^WLLѤ*'Sr\1D^P !#Kj'6TH ]EHZ̵ШƧD7䜃8±Α5ab޳aV4]4N >l5O+N73r3{9)y"Id )8irmE*ءLtH+]k9#&PdbQZ$F phgS{/D , |0FC#XTAZ.NbrM 'X\L,е-{Sb_r;=QJ;Fo㤑#QY:<֪Q`5"^hrƅvVX| !O# 98| v!5U4DɈR`nҺ&XR O܂#1kVL"vgq8)S;4[8jA#_q+f멝fKSk"LGr@wH2e-ȹ={v3K3znf[o~}-we@pofukj̾_.uVR-8Zͳgf̾5O櫯nm5?jKn?.v1;_t~'MxÑaB2C~Npb{>Wيƣ˔³2\@\0D2OGEcQ(u_>/:2&_}tg~>G2?C\Uʰ^ hJ(Ίگ]ގA'o#f垆`~볁 T11b6z:l+j;c-O%:K(;K фXČ'E\ cb1=hS?~}7?Ƨ6)w~B2C~L7y2~~}}., S:fȏu%]엋/2pJЁuJ npb7w.^ Ug|48FsqX:ծh֫0\lou }[1#7*:.]Q dB&$3gT,>,wѠĊi &D3+SGy4v˻lʉML6Ҕs̶ݨTQ;㢒0ԋJ~?cUITP]U&&]UY&XFZSK6z=Z܍gJ?͕ jy¦Ϫf}AX]t?nw_vs!o剑,kX/1G8 ( a>Skr([ ^5E7$A\=͡|!řMy8`r]ZfJS/[9i[ +ۇbދ[ϿlXc^܊ؖoGNd'wC#i#kh v mxm642kdȬY#F9h䠑F9h䠑F9h䨑F9j䨑F9j䨑FN9i䤑FN9i䤑FN9i䬑F9k䬑/)^RxI%K/)^RxI%K/)^RxI%K/)^RxI%K/)^R4}sq7lqvIJ)g'\G =GV^:=e68o<"i #4򈾣sQ@نpr'4?I']c5j"Fѭ%bGX: HU7R6\.aBsi~.Uw(J%(dR&;?Aܟ%v=ngGϣRA?I5̶P*Xu7㬄T6^ Tto ݠsSW#FqV$,y֙&u֐ Vc*[0U6TNU n˼Fq϶ΑtҐ_Ȫ`/5(Z+`- :򔛹N܎B)w)Fäsp`ui(~,ꕄeWrdߔנ1(ծ˰ưQ֢6/nF_:T=Ζq$d U9?v0JNXu⨘&QY Vw3c ;+:NAXS~'h0Nub(Vn J'5Ԑ3j]nq> stream xY[o6~= ֠]ui>EJ,SIn-v,_{DsA_ϵE[CRae9 0|n4f >{ʷyW]'YF2>]xn2aC ZA  /7e At%KD=Vs$)+hNB Ś.6o`:X"01[e5nUqb.o @[กXYІ)s4X`#AQٽWU 4[}x&Yy3Kr-`hm$yGe2,4b9 lQmˢO >ξјaZId]m vv!~I1^}}P}@ZtgtgH$?ZM"LHL tD`j,(:o^x$,;iż2ˇE1&cV^]~\Dp,a0H99!0#!, -;.FLâQ>`ʄ+ A*Y'IXjΗE輭8|V e"rWBh™zJeCj0Hq'edNȎPƜb7#f֡K Skĸ頌 zEZd:#(z2HV 8dl .ؐ|G#&WTʧ (UӇ`jeph{'ZU֨oѰ=% 2E1ڴ,@bUA)ڝ-۬pmKmVu׬bCʪk:_"Φwd{;$ȶe"+#F `wNս5q4.cCbJemptCpG't_l08Nn9 ytѶ._΀ $y]ߍV l6>W v%UQj0 kV- 0*\NT|o~RBKa6[*<%j㐨ûlPQ~zm㟨ד7[ p^zw",n*B ݕZ(,Gć O$5"o H=pl~voh7#qOfX .|&kkz d]a-nc :Y`-nᢩǮk=.UZfV݌Nµ>ps:#SMTqC*'7/jP9|Ɗ[=;X1LuʵjƊsdܐܷf87UU%fS+Z5\D% LPω-:µdkʍլU5k_VU-4<0豴A[1"d,d#*GVcp> {  }) 1mED,dwShaYU۲PT0ݏp?]HŽN]m.!ȶ 7 _ endstream endobj 1173 0 obj << /Type /XObject /Subtype /Form /FormType 1 /PTEX.FileName (/usr/share/texmf/tex/latex/dblatex/contrib/db2latex/graphics/warning.pdf) /PTEX.PageNumber 1 /PTEX.InfoDict 1248 0 R /BBox [0 0 29 29] /Resources << /ProcSet [ /PDF ] /ExtGState << /R8 1249 0 R /R7 1250 0 R >>>> /Length 566 /Filter /FlateDecode >> stream x]TIT1 Y09b$@{Xp}[(ٕ<}Q>~O6t >Թj4'W53/%HK*J,.Hܯӏ&>=o&)d$+]K7ԣ]:(mmԤ '<(_OU'K 2ԻX~op/˽ˮ_H ]&2Ԑ%dw^%bTXE!xҲ8j$43x7"89 2mF6, a;,w8]50&})0Hc3p ha< $u3ثTnaE> stream xZK6W(mY0 +lq%I{R9خ)yXѐ I; D AKM^(A2[EB"H%pT$[Fom6O?|w?ؓzK/)ͷz8W2cbì $'0^c 18"{IE&g-ُF<ȧH(p>L~bҒc n%R~1xt^WX>aG0J5=IRG&HHe$5QIThvp#c?&ft(SK߫u m,\Ap;>im>)A1xy ϒ00 )GB^D0Ge1zSEZ륽NswR=۵;ϋڞt[?ah߄ͽ-h6gdž-]2S* 7m˿ui^d0 cpkV?ɌSn0,zWަ,3k7s4sm,(]m:ˁmf+7w0!]Q˺pGħie'"&+Zw(]،R2D`VYԝch`#΋ Y[V0خ+/`^=Zmы,u-Eu?`(=D10߼Ow90H}'݌>Y*Jv`0iHϟ:K)G 1őۉ/,eb$u:Xl,Ξk}0kO|H-?Da(#  ehS5 *a"Ԏ+P"GH,I?q:*uhk.,tߠH=[!AC`uiVOf S 3$Mus}C@Ocf$h@DAvej;~L| g4$ 5 i= 2WRs$,=ЂؾLC aWi|ba 2x*_d޵Aj0!jkBk˫X3SQ~0\^p.Kj2cq!9H+-E.%9]&űYɩVr v|&N/muјvz5X.>\r͎%\P wQ`v;S~O,UjJxk|F>H!|?   ~aNܤuX@,#M?iS( ЦlP($!Hْҕ(-ė( G᠝&Q$GI16 T~ksEM=SSW qhWhPS ܌8Y9ѯ =3 Nv_O{ endstream endobj 1285 0 obj << /Length 1944 /Filter /FlateDecode >> stream xڵZrF+pRhrrʲND+ۥHPbd|}z0  ,l==}7Iep3 DҰ@8*Lˏ_FTU4(GC/o54JfqH R HNaswؾ2^d"?~0F@(p>IWH4|?-rDSԀU4e/-2J Ɲd'0]Es0f2&KY@ˆdpiI1Dm+IV@PCKǩCk@7&ه)K.'|;#C?5HRO{BU?aHwnKcbMoQfg™LkoHq+&ܯp_E|ƙ[k)#ouTW+ Z> x>6ˣoX`ri$2U@#KTg#s_:*Xe+Đ<Z{ZD"Jx@&H`Zm PqJ}Y EBK"C-{{eBp'3A@\ٵӮ- Qٮ*% z$EM)6IY6KDAF$qۄ$Ae`6mQ+8>5UCDd _$I5`u*|>U}iONFm'KrDZU~qf4NEqRIoe 8&6QDe(T/PF \!=)>adcPJHS9SUEMHJ##q@eō@Bm7|yU5$A5s~QJWgŃ%#$yQ] 5SWc&sm{WArZhM-9"Y*IF0/4c=$?ܝE(>_F϶YGψ@sd*.s\jyu`D8YSYvfx#0Vbt$.j]15uw$X&ޜ=Қ Ba 7b o `X sI4MxWZS4}Øbg{lqO}|kW>+0VSI+aJʿ{$?;w0.eC$xz{,h,V(z 2Vn^^e,Wa+rS rVo,gRX+,V- q&x*M_ᕷK#'DZBƥۏoo?|ؿ5+|r 봀0ƌF4m-FIly7b=ҥgwŪ,T  6G[zTj]Zu.;`l\ڷdҠf鴞V#86r_6ACtnBwtecuwkMv }0Baqd'@:s!3olyV8b-V֨*@P3fu7HgVAlNwHR!ΏU;vc0%Q$ ܕU}UTһJ!Pf~@=u{i5U\&1If"]qMOEiZn[^Hmq."#v=R~S_ϩwPrN>q:{ڵwV .6($Ks@sv+jPҀ7Z0( ?ֆW/\ v)Fhd{ )vi }¿4{[.,4et}):p`@i;.8gB endstream endobj 1213 0 obj << /Type /ObjStm /N 100 /First 993 /Length 2190 /Filter /FlateDecode >> stream xZ]o}ׯc`3(nEưyP佉Z[r%9p=SyѪ3rQeOʺ(FV.AFY1 NC^ڇ5q!ޛ,P ҆ރΖ6;闭r&6s$Șc#ј \ ibpT.GIyk g]QOщ9O,)2\eE6JkL IQ0厬( gJYVDz51)APŬc1PpbiTK,`XbDR#w8X^Bp5xb ?5bfS ,H2`y/m m -قW]6sY˔khu޺|\O'jZ̦?NMZLpZzi9YKI^vNgJ؞`Y a1uՄT!.ə.nwate "gF\}7w 8/cc'BZ>%-ţHՆiFU5DV>))FJɼ 8ka@Xi)dG.SNMxτ f0bbX@ (bj`yf=qVH2.SIM| _L?g5Jc# cGM5hkT65]:iDS6,;ZSl&~r'淟{MBS$o1aMAv]:iBSSЄLSSm|0l7w!MκݭW mm$* ag!5|(yȺyDU%jU1阪jKJ&w"zz;FTR,}5U nd%SYDI "FIn%tTI%OY sH9ΘL.=!SHS|}DM=ngٳTW?gpz:G $ vj^œ*cScjɴ=d5c%)P,?Sy7[f!A QII.$@~pNb!BiOC D=vgAV endstream endobj 1310 0 obj << /Length 1424 /Filter /FlateDecode >> stream xYo6_G{~ž:t ZlCC[Ml9f_Hْ-ra؃AY:xN"tiԻz#H1FS$VG:QS4> L_՛ō̦cx>:pdWq+ ÆX_7GA &rƋMD z*%HRWp=G{$n{`+H+5ؼ `56Xp,oդpBK@ ఆXch͊ιFGX@Aq&7|j4GRye!(lx6^Nnal hw">r[:`{sCKUأ_$\L<.XL&`do`)-VhVc?qB)mg{AfC3ay`B1 |XBЫmq=[(h\0 '{4'ho/l;s?aIp.52is?f 妐% ?!,Lh'kk3ܶ`8]o2L4/!(} $/x™G0} HjeZ0yM=vM z"Jx˭49`CqDSKD8Ukߕ?>dC\Y?T8ڹ?Ya8waόWE:„ú'2N`Twu0abMC͡ PIm.RbB*Iִ2qNy4#:d[-ꌁZ{8{M/4gk:^V+h-/Œ g9YfѴ4.$6RT x`ꤻ{ҶvX6!+[e&t%m q}Lpse-%_ϰMl]Pވ)Ӥ*^RFMCyLө1p+8ͰTaܠ.v<6xJT=0s#ޡ뇌絾`_CsD-OiR~?hrN_N?dEHϡ &ڼȖJύHzM$OU {k3uj+\L*KK.wo:IDX3zEp*j| [.E5.EU_ϰMEEIT?X$Q>E%zq"H}agWI;.J2>EvmIB 7|t endstream endobj 1323 0 obj << /Length 1138 /Filter /FlateDecode >> stream xK6N688zsd@^a6J!`6RL:}QCZDUG "XXʑ+$)+ctGub+%/]눒W cOl)s闈ʾKbLczyr/% | 6za/ʳM2ɗ$ j\X8qp:9 ma~:^B|L4> stream xZIoFWHx=h8H4vЃDD$!8BӦT=3C|m>8G8z=|tJ #ί#!4,RZEYt~q<g/!Nt5Mdu,Ɵߜ8Ҁ+"M4 J'.v>:"0Gd- ,d".Gq4wo"ѽ2 Et6cӤ!E)2K2/rq9S/tU]&lTY%UrY##>yݑ!yAB*+}.D"MTuC6$CĒPsa\1}MR4pg3o[-Om, kqjEΞij=H] ]mqeZ^N%CgB ]H15&{GE06r4gs2ʹÕ wX <`]wϦ{жtH~]o)T k\ZpzåE`1,hY ~s/EG怶ƛIqb$Tl5s1R+Y*Μ,W \{v΁vY^ Yb*4*v'Srgm(4C: ?AyNOө8v,̨nEvGމ|Hx"8|טa;݀&_*|j:/j9* lVrR+H"w7UE|÷&D.Kgv8 tp 2>~>Iur{]&٪JU_}8[ H~:~{jF!I4S`2(j2~lRJ)kZ B0 ՈݩZA)Gj~4 8 gAZ޵k׶ڵ7db ڧԈ{0${ A`*70n8U@`z l PҖdSR#_ gfzO # Ai]phLkI;:69DѾ׾ Q9m- @|8:e:ӡ!Bt(vC`}۲(:M3$> stream xY[o6~< ֠EWtI=E؊#ԖRIi="[%qdX x>9"x蕶bBgH*,GSSt6Cw&Irmh|:4NˬʊiM>{sdWq+ ÆC IdZX%.G?4wotg.3@?F$nsXHXacjM0!|a-]^/5$N:JvI hkJE39$I"/Vu KЄRl uZ/U"M^糴IaaCj-֒6`Yv]e:~ZF}U,b(иnEIn'xBe7MMY6!ĂDI‘dCy/ Q'#у3O"_wODQI\VVY];u3; 70utڔSt\4D B+3v_S"g ӮO$eվӴ,Z7UaZA&ddLXI,.^z;i J$UT9L!W*\|L=.Q>=&+,j {G1btpb݌ /i^4/暸›&YVvhhBZy.C'74hUc* ߏQ2s]aIqA.50!z. ̘Ah{W/\J$`kb\;;g]u-@}\T0C(L3ӎ`!K_eӮAQrE2-߾bY^_o_.i!əNq?<xY]riU$;oK|.F }]$`n\RAXTe[tvno@86sCmx],-O $̢kff1\lǻ)SP XU,UL?h[kMT?\' W(5rynQ7wu[6%sHbnzu!P%Kp OȾ:ٗ³¾@5r5ȾG'a_伎N6ْ~QEZU uaWt S_10vnvи$=n  {v($B٪<gj-R 5tq~ B= JsΞl\^bew(Ue3TVeSWplRoWB!_rv"S-O}j,45t?L{vfGQa*չp^;|`a J i,I UZm}t?ii'><`@3~;h~+RXN@НA#5)_H*-x$% '> stream xY]o[7 }Y")J@V}M4kj;t~o&%]_>%)WT .$Wf舚iӰ485 @P'R.0%nRi if˱ieer!Tf$0gS&e(} k ۷KNf JtW5M %G!6BJmmvCnNQΤpaQ1xSc"p %)_P2\xR vtsW{j:&ۃ[#@Pk o\"l:< [ȠWǢ٤XcvcJV#+N K"PH2sd 8 MGZTjӱ{$PHi~IHom-V4!B 6J!Nj:T?TW߶a!Z຤ dL aEMCjSE&Tiqpjζ#Ym-A##4&7]T ˑd2}qLpFCk"ba9ЛGǫyt\l9ڮ9A*w2#_q#|ٓ7}9q|/f'15`'h6u~|:{ ,PW$"^c F.K=t[,wB_a،L/>ٴϿ.M?ON#pΊrU\ҡy4 6pӟ/1d=[7s͇wä6 ccYԛWWM˷ڞ6/xofb= ?OwϤ5G .|+vmP8{QwA6Bԇd%t1{N0gOcsr1 43)yKsĽ`F|{ŞW˾ ԿyjvfvBt4zPFNp@&];v g2Xher"C%zPP ވcA(PwA1J)!x>@Сn`fggofG.0@l]TE8Aj=_O{ P&>i*7:ߛ6Fx)a"mXf1wØnL/$wI&0p1[8WJ&6e%-)v1mUN0PIײU^1 ثX3/`D8vQZ:9 "2p-%xhgGE>M`rj=9^ZsgnDx'0ܖp[>M^koRC˹^A~:J29fS_G6^E*^V4t/sN>svrS_Wq}A)x^(dTUzlq|DƎ;Ad\ͯ>92zxƢp죖NpDcv5Je\o?-v)$`T-#p^,F;ҿd} endstream endobj 1389 0 obj << /Length 1569 /Filter /FlateDecode >> stream xYMs6W(u"S:mSoP4񏦆uG\0r~߃-TU-eu]J<21hA;c Eɷ?$m?`L|;wC5p6,{χ]BޜU &jpv= Fi{ } d5)8 e\>\j%aGڴKq(J!:b%Sމl8sxdiGi3,TN1 Z8}0.\>`w0IVy>_#:ẋ@ܟ&O lJ ׳yKeOFVTY4;E!XDE i1}(:Lm;c5s:j[#kꀼR|(ֹ3Mݚٚ>hcհ '˗NÝ6HFR3a 6g17 TK.9q@R> jsBOu(8(?Xh,i-]?p' ۫lk* <ʩlaD# endstream endobj 1413 0 obj << /Length 1723 /Filter /FlateDecode >> stream xZ]sF}ׯG}J''W8Ӈ4! ({,V =t {p^tx59-* +ˑ]-ЧůggL釗~^[\7qKջ7 ;\a6%00^y1]2y}5kBa At \%O>}&h!5y$%qKaޝ؊*|/"|-YmϨޮ$*vR]&=qJWwI$wE=(J=]Tl[_E5UOաUVmd/AOU!.O'BFW7~>.A%dQL.]11WqVJOU"Ɓ\".\./y/2ݠj@P 0Ѽ !( R|{LP., C@mGM p*I.%_ _QEO3%X=8.AHR19Ti8B^Z\ڜ;O\nPK4@P=|@ e2Z+Hc!RW`l$b*lh3=,u nNޭT _rS q1^:KwIP;q:}p-v./&Sy'N]S9\s;M>@E^tz竸$Jes³Lx?$ >\'.AbҊu+"vs^'2IJzI$\lq5-Tr\*̨@ [cQn>ڝl'=zk2CKa c|%\vq/i)G_;^'NX0'.Ry%zLhy_.AjҺ:3QQ,T=$171D3}X(l=m6XixH2|:Hɐ+4ڍ­8-̎ 5kbg2j6rv̶>@[MOGH$#=@2n1hX4$_NW$_=B\c)Wc]UQLF{ )1iĖ2‚(ø- ^y8{/Ыm^EҺyH.۞aˀ";nͯV'FMw;T01-n DNAuzܚXHXH&S !;կ# \\ g$UԲfo"G*GlVckdls̵ yuXGO#zpH]^B5~`^9̰~c`,qB51կ`iW7?ծ`F]L PNz^q1mA)k[Ē!l[Clxۂ~]%a)NjÏKPÛ|^S*Z- VΠ pUҜ_ՆGPʉSk&jl)8mkq݅T#bȟ e endstream endobj 1437 0 obj << /Length 1564 /Filter /FlateDecode >> stream xY[o6}3 ֠EWtI=E ۊ#ԖRIiڗ}Ȗl+q QC-A'GǯE[:DRae998>yh$<{Z/߿2-|?&Y}>sdWq+ ÆC ڌ7d눂 At%F?4 5[3DgF$﹙CI,@ZQ؞f=6XZ7-E3(v^ {hI} myHsaHqRYX&b+U0^TIH,"'urQQ% ^V2<'ylTW2i7Uc$=bd|1-&TNwbAv˂-ĕȰU'\DG6;Ki2ss}*/n$I8,˫:Mx77 xy[qJ ;:ҹq+DCt}"͂[heѢco=t_A|)FnfI6x2t9]e3qU'pW |}ŻLAe \!7\I7.mۗڋ`CrMu%䷅-W0a[^M34>̩*: yn:m[8uY,dN mcO )6: yRHpwtR 3ZU$wAq}U8hD"i &Rm6.`p=|fh!] 9>ApLZ=\Xp*v v]Ak儫_ S!P# 2FpO(cZ2F%{9(}'2F 12FB?xIwtf-E:{ k9,UPA2ʘ e5S5n;u3we-U\&gMwxWl ǎpkUYM7-ZGpB'Q: ĺn|h|Nj_foug;W ;c-#+||<"U[Hgg{>v:vbg8 ['E[#8* *W]5\d1-Up|PTTBR >دXטGJ mT0.faJbĠ`%.meR3(#|jji!  endstream endobj 1453 0 obj << /Length 1722 /Filter /FlateDecode >> stream xY[o6~$1ëHaO-KR-YmJr"YdzmO(~kz! xsO('CxJμO ؿyuΎ^}xc<),NoQV/o/_+) "Ej R2vmD` NȄG`ozPyf##A!Tygʏ6UGUgz"M1]0ȎR*.ʨ\eRH(40ym8rLlJ ;fe/cjjFWF `AEz*H"MTc"dOۧI5Qj}2^i6Ie5m]0o* 1G*[`U:J*J,r;I$Yg,> n7uFvˇ1~赴[:n g0! UX՟AA)G*/8b{Nt@%azˉ;'ډbn'(’"!KMwé< @ 01 t%WqVьsM?nZf "e($O[Ɓ=8D߶79D'3ӾNoqNF'\XBhfLYfꦇ_WcNhc(3kýv%*\w~8% 8!H㱖 BH4?Sg [Wd\W5/~4zݳ$؄ɡ Eg; Љ^v̷$S^kaSZ>9ijUP塌yWv8DBmB Gߍ̇z|/9&pBϯCf uǘk’9g|hWYzEbz̟`fA%"b(ke2߮8]Z74X6P:$ > stream xZK6W=Ś7)I-d mzm7m;^eΡ=o 3? n_0Q( 恐H,P!< f?Tgugo_;37-jK Y\)DRX=4 ^ i2L׃p0wox|:#$WwwR#,% SdM)G@qu٬$^tS$elMj9Otlʠ ć l=9LCx 5)EV'ɶIQ18lXBnf?ԃUͰa4̗-ʑg.CaehE%PiBە45[J__(Q|'n_yvxc8.!6g8;Wu?JbH.]n VRr ,<Յtf ٝ~Cb]q`mZϳcČ(ҫoGȫ!^fr`*ϓN&>HᏤlSMw))L4k){ E;I6V8({^YEvQf6cx|㫻]=wc'4T1&sk> stream xYAo[7 W,HICP m؆M݂v@yMY{iQE}eJ\pjt9wr[E*K #Ch JG-qD+4]L##DIb`h 0FtD )L"7GPSYüAյ?[*aIh.Fnnv.f{5@tR *A't"Eu1XHu Itt f:ֲ+N\ )B1]u QA\a7:a I*WֺZRr=AҘV!eG&dNHt=2]น]l8d %͍j%4;HTR1+xd:$6nt, #yE}H)uXn.^Mnd ׹i!I@!eH $H R>#хm pbS3"d ƨ6#LPc`:kl:kMF;;cw@ y 7ylFj#G܎xX[WngMJseY7"ܦ t]f?ճÿfG뷟G a<|~8ڟ܁<&/gWrԗ`v6<jd`Gl&6;>>\|t:3nC\k{0|k^TU C&Wדxvnד'O'~AmFXkЬ>琊خfM,^.'ӣ?j "+U)&cCy.Odzxv˝Z͝1ZXv}i'd[Npؚ}(r0A(#3]9* |nD$ZLCFϽ$ݐҙ|8J|d) ükPWFzFOV;\$ꜴdMQ;R`/+/ :2=;̏gS6v)kF -}<:TAru, VcomP>|э=ŕJF?_ɮTɆZ`: wsw9 I{y9;HC3'XZ#{ 쫤^0;Ⱥ:-RԔ㪗ͪҖ.q#mV + bu3eᏦӣw?wl=mGmt|Ew5)'-6gg'Gb>>tklIo3> stream xڽZKs8WDmY@|Ԟ2'T ><$簿}HId+KFFw;Իix"NQy'"܋S7y> G+3z}i7r.YM%Y1cӻz 8 $,S5K}OBq|VY~|g0x x7R-jW'[÷k+Pn^U=,+r i`IHoҪF>|_ǗK?Vm *>m4h$` X$MR޼>'p oCNH jvͽ{c3%q eرTA'Ses swb$]L}Gha5CzhK},Fڳ&Ȉ`]mf 6 D9u)Oxk:H7P_ty-xЮ)[|l#A[h`,ovR$ABaJ}11zB:pB?H3\_d']nk~#p3^b0k*, z;D{}fP р:o:i)wVAW24I0c4z|\)itl"[Izg(%ypJ62se5Uy]eE˃4pgf3sv1I>VlwJX% Zd{2r|u EYXYeWʳF؆׺r،>_341sn:n$Ϡ֞LXvWг:hsaߛO\iVU> 9Qa {,kf7v9]Q޶Kh Dž<霛,1W CUn:aj~ qc:vc= fӺ䕹λ#;ufs@\ؔ=.%c\(871 ̭)e`f].uW12~s4.bf.]##-Y>·-@;i}N!SHLJ4)f ."aXpW@k`a/3-? gca,@| :VMW&6ۻ7ޭ 09PBU}Vp"/P |ܵvZi?^~I߂54e c\h#B d=XzcRD2j}0~J5w:=aXJiU䪾]յmVb;t͵®Xa~NHـʪ2+Cr ۡ6a ],Aƭڋߍ/FQ LŐ;+k`avC{hب-]ҾL5pQ:9C=YkܩE8X^e@.9@-'IL+׆wIR£5Rk#p20W~Dߤ]?uzqss-e+;[(I4?3t qJB:>ﮮ^\Gˏgd!r>at} u3># &W'S}?Z }5»GB.v!|1J62t GW D8 @,}X[k%ſ/cLi7: endstream endobj 1508 0 obj << /Length 1756 /Filter /FlateDecode >> stream xYKoFWT*>/aԖQImH-Re9rz0v^;;;m;"\ Y 5|% &j4/.OÉ\$7Iq~E2F'S8P+ E(BrR Gadv2: 28oFV`Dq\~`w-8 yHA:6ka>Hi@% 2_HKjd'Epx27pBQeEAs&4»QQ3-`L\8*/U]L_o3ᰐgi5M?d~GTbq^npjܳ$#w u&# !#h%qp'Uبq&,o/G u ~ki^I4EQ )-!C y%>ETƲJ #S?C*7qSnETUA8.c],qW+jZEY|˜f CYeYqP\5fkqzCIƅ-AȼN!.GaLe4OJ7aiTyϢ#yb̃V8:N}ߜ4& ]e} yHT!X."366:o hxFh0-'@ F>F$ܒN0،`bD 7!TA2Kz H  i%M*OҨ~5y7V}~8t37FuF6&8*I>4Q,Cz}1Z",[p2p ހ0> 8P=,Ԉh%]96*2^e&[7Lo*"S J(y:8GPeױŲ~FI, UHuR9e}Ӯ i>5ΗK,KEӈ:6uѨ" .ނGLx^$ B)8Gcf!,+|9afm},\xaDIxO% cPBKpB M }k lM4֐*DLiPx8zCFېՐԌ]CN;@h(aMSn+ʮ~W|wZ5,d,YzII6 JPr<{u雽2A- ~HK((~\GoHx{)6p. O$vٵ'AFItH_'AD7ZmJiJ@];/;vd endstream endobj 1520 0 obj << /Length 2155 /Filter /FlateDecode >> stream xڵZAs۶Wp܋B yNMQ%"DRL&.[sPջ tBwKG]'0gp.?|OOޛoWp*W\_t%㿦?z'#wדH&AyH};cЇ:l | g:uCJ^\9Q]ʉ3Zd5-*LHMU¨0u&YxB:#Uc.FɃMlja^2[S.Ҕ⢪Qp^\uUQT,_Rl}MY#Q߿ZUCGGgl)ΣBK1 ܰ"[j=T' ,je2O02I|Gy1<[(b(2"#㶈dZbrb̀1h0~'> . L"^0p92tr,kD 8>`oW:OB.vƆ~ "#iicħhj@kVzجGdȺ&7YhX2)3ַI4shM)SxOWhtVVsd tjqhZ:ÚsUN*M2X3S\AKBo!ag_ud*/61-cdPܴczJrJEiaĥ})j^ZdZ p d/ fF|F5J3N($qJz4@pͲD ];9Р,,·Ze8p͵ *޿3Ȏaza`.S(=G0nP*i~sm F>|xOoQ{hgnQ[+oeط+#vm .#$ > ˄XDqX8CkGW()G-dkJ}࢏kF%j_cua azj4D8"+tuaI{hH@k׃ 55×(ۑtDὊ:v~=kgq|t? у O4Ho:$ <=FG/h]vS&楲GfG~^ {=@fi s|*M ö"y nux}Wn]o1K0dw 0ѭcjLWgɮ.}o~xf`/Mm5 LhXbMLص0c!o?L\lW?^_cUⷀ&P4uL)d lTi]ftQQo]"{KI 1 3HW|E)V٦8"<= Eϋ;; W= ؋ou[1paשbqsbN:1,33 oRe@.0Sߏ=fxyp›@l{!VTUұ|μݷ5X>_$'| ?1$-94fq8y?-ѿXei endstream endobj 1538 0 obj << /Length 1467 /Filter /FlateDecode >> stream xݛ]oVLfrfηzQWmnҫ*$Z Mc Uzw`TqWbEWu.|xwrϧgdG~~v|;^gqpz렊N& |JZ߇zT/o Q~Qb0x^7ڛBx|(,* 4Pw aV)E.1b1.nw*~%0{Kיiorm-wkݷ⊮.]\XWdYYj(_^¼JݝEA;e*,P!MzX'YJs=vXt2Gꞟ|v=ixU>FPd/Ms߈4N'm[νdƔx7S^/GF~ s/tQlªF dt:ţᢙb␒s֞U_\e/Kd~.#&׭$k~ƎMdz˯3K𤵭RPF ^KN|0_L>s:\:.ˑ-co ^l:y9bK^-(嵩/̫4Yb^VO^NP&/MnrʃeŹbK_<ecdE^6w%y``8V>2!˖Srys(/K&c7u/6,ٺ1{ey;Jsdfٞ拗)՟F 7~k Gl >[H ?!?P>ߠ/Kl ?l ѱ|!6|*?7^`WV6h0l2؛b uqCݡAG Q盄ey3qQ|#vGF Po%5hA+wԠ=xjAd֋46|UyWPYhK_X`y+\_^MyYVL!1aa2 凉(o8NP}B %g?n[>ݍg2Wϲ2q],}qJ޵fMẍYu VhuDhm -Nj3T'NF&B@@Ɵ-}Y˃M'xK_h8.ƫylп״ޞߴ4q]zM;ЛA}c݈ MyoPqmxZ4͵6q] ۖsc,Er}~_MlUK endstream endobj 1487 0 obj << /Type /ObjStm /N 100 /First 979 /Length 1409 /Filter /FlateDecode >> stream xXnG߯epOף_CN$FZF"S=ؾ|6_0=yted/N^ϛ!<.won[:zs`>"ДbǰwrMWlMfon}a}6ӳw/./oLa#O?OG4-a7XQzTԅ*+#$p^Nv{s~1hNGnu𛩽ښ2Sf/cG޼; wFXJ:#Q`eЙx7g;p۫]ȩh6|we1c9Tb1ły"֢ +šzvq 9ufpDNpkŷ7ȷ8 Usߔ%B{K> D0G L1lbh_+7oOnwLVxƒT\j! .;u/Ėe>r|`$ݫ`^V{qKF3& FgN!v \Aś@ˏ[u\mȭNyԂQtmZWUhx^7PBN,Qlu.zEj`+y 7:ӳ8wV'9[S}н`k^g ?^6SvNNȩ%0;L>9I'cg$pWA/Լn$ΝQQ(uf*I:ƅN͋JH 5g9q: ld endstream endobj 1580 0 obj << /Length 1437 /Filter /FlateDecode >> stream x[]OV}ϯP~PRuVB+ ~΍66 r< rHɜϙ+ŕd"BtډK\4G:z%.Ļ?><(N_Vze9/gbv_Lߟ9~LµACPDGpp\L2li)L {).7BA|Yy#PI85.5 &*v媢٘/m|ftd2_2U@ @0A)X*]3N\ZήS_K9)&*jr;kh-qjcwUrOGej*ŨhinPyU9\jS[tԜr縵8 dnҫA6cqTI2&tl[|lnb>D/m|fhdRym&UUXNc5HOie˞6>3{dtcA// 2o3Sw}F[קbz3Ǡ5`dhf>/dpS64$\dkA,bqEmH̶{޵c WvQNwIRZei33MGEj,}E+żQm|\wrYlruyr1\RCи aHi9XJ[@*XK&sxWX'Bhe&QRK̷33Med82XL̷3%=,|p{Jc42{ smxfp .qʙogÙ I: 4,ɶNł2|r1TelȷtAh&zGdOUPPv*rЬ7Μ;Lmdw;j /āum^N/Wl!)xs3TNSx&->C1\a#ɚF<Xo{e3\ۣx2aaU]/q7l̷3ӇMOZ=C\5O!~fVܔFv"uگ7e%}>7b ? endstream endobj 1616 0 obj << /Length 1500 /Filter /FlateDecode >> stream x[nF}WU락/Ѡ-}rhY.(ICREZjIN àl͙YRM`oG]`+-crsݜ]\qvի^uL6]xkU;J{Ýn&\@^gB;͝Sn&#\ؗCj *:M|d};&-:J5aM1j"~ЪZv: E6]h5񉲑> ?Ȧ ےmse M! 7ϖ|7]S\6- ;u]L̠M36 EK>-do !MALG W*QD/ I(t=w!^OL 2.&Bנ$&bL} gӛDɨT(f?IG9p}^X (l͔Pilp+Q̞ 9̞.zEJu2{ٴ1Tǣ^@Ȏ.M|Z1h3Lը(]L渨YOK!xݾ>Q42>,2Hpo5ZDd(ѧ7y}SL{,>Uw| gwbV>h)]>>^ƷiO')xp|Jdi W*QD+ Dg]VQ;'l; 0Q|Gf&M7:>&cT*PVқ&EkE#Qm^)N֌x3^z Paep`>n|UҔ_=f;M|bΓv6] 1T#v@hlӳ7{hxt<NJi;h>-V|В6J[@IkkiG'}IʡHu[ĸRԥՈuVXucd_(5-|bv l16/ L=͆C;{ʎy}

> stream xZ]o6}У= EbOk2+YcJRIRٌ:`uxtϽpp䧫ūPiIep DR p Ip O_lN^Ͷ^}cUR$Y؟G]}\ .W)` R(=(lnr54! DN`ĵ >W=oA0LB{\N)`Qc 4wv]RO:6E(~.hskIRQH 39g(<FB9/D"tP$vD!U=&/RXilW8wN^-)/%HJ4+`Gя C$Ϯm|OAa}c@ 9κϩ:g>1VWS ;%q ۥy,b`K95{:~Ov@TRf0fBeMP,Y]y\Jj{MOȥ4¤kr12#ymlB'ZS4o*efDzhgr}, 8XB}jαv̘U *>۳J7I8WI̐#:pӁp=q"Mup Ѭ7^[ -`:rו7 ܅xl&`\~l&L*n/ Ӻ[>^RBvm|ϰ&;< "s?+[;bv> stream xڽXMo7 б=X+%F|m9lEj5vY't!)>r( Ω$j]Rmvi=nhF41f& aP4TI&-hIqI..FO]3^ Li/<1ۄIJqC$d?maO_EnX0$ `Qa)yAުYࡃB&v[gᶫ``m4] u;~-P"cHuXԌiRO,jG ^ ٲfD(d+$Pq|p]MH`s>L2>gxq6 ȼJ:F  $Lu-D4 1$KbVLCe61R*Z - :z(nVFu8bu?V˕ -7-7k:Nd[eUU-ڭNT' JyndVϪnSJbqxX>I֎~gjW13z~yvrmd1p%fk[dhsKiyW3G(q-pO]:N˧O.gŇwkz^,|wa(bl}ܞ/Zu_mާc]/o$ >?.fF~<9ec`yylZB`4[x# (G3H ^yCƈ̝kUr5,D sͽJL9(k0G eDQd4ׂ9@l37( %- &mV) 9 n ;v`;hjd9 }L Gkl;O\E'"~,1u0+gX`M'7_{w ~w >gAP0ujy3q}k\82NW #K FkycoSV\f0p~#jZs{+(X ,F`Q0N 3gEPt,:a܂E'8|I)$X,`13,=EE).0F02`cpJ,e)a{w۵o,o`ꃍkWZխ嫝zzv|پ^o}yy1E|l3hGcը<-ڼ$Ûz%C/x>ɲ/\@4/˯YfCm@}5wͻvL  |'sv*rf{jw9?8}};JvF7_ݜ{|5 9Jr endstream endobj 1695 0 obj << /Length 1575 /Filter /FlateDecode >> stream xZYoF~ׯG{S6FHc}H(L)=hquؒhApvcLtwJ[dUL +ˑp]Lˋ_a.U^p[Ve7g A* ðV*ymgb{eS Ate % h 5苗E̸ ] mY[,.j4`?+eu'>^ewͼ*b^^`HI?Iz ҭ.k{X4X*%UQƢ*G P1A1u]GR ֥e ) wVx.Oܽӭl-X {:Sl;\'WSHW`Yz2w`3ƱPN5rmڮq ÕuO\WK*%5Ҙ8fne]4|Z竑м'^  aKE |JJLu *r]yNpIyL \%jb qQVpq⸜ap2ȋ~QFܝ_f/_u^:;аY:h> LX/o}\0+ 0=k} gjQy5p} J`n6iiAOVdigyнNbVo[mM 7IlH'=Ѷ6lpP.+!,ԐPڱΘ$Ė>Z tơ uYo !fst۸+ػmP4Dӄ &c=EJv:2ƁRZ5ZzuC2nfS-n(TTG`;?F`Sf?LWcws-)UZ/,{\Z|9R= l,VMp_CElŒ9 ˙/1ܯq<3f~FfҸsF!YrN40-j,I j,M:j쮁"Ƒ$9p;AF Yf3Vb .l6qӭwBpl PF:M[* Q^=Ybu|<3SU^WE<فA0vd9~{,7`Qp;ZA0ܫѨ E!S<{)Q%7G %*OC2bgݏB`fU!v8;}8CE]è9 c12Uߍt6uFmBwOnl>wŸ#n/bkD,\?8I|+ endstream endobj 1726 0 obj << /Length 1545 /Filter /FlateDecode >> stream xYKoFWQ*R1E! Jd2T>($ˢEN\-k #.{?].DlSzpxF]OL_~!%EM8[ŋwo4ApB3Rt?4~}Q!n,DOM;D0;;$)+X/U #H&2(+,gh6Hl/ғ6~m1X fBm!acZRlDP#pٳP"G`AC%@9H5jNm07[hgF?QUQ\s\xnT*a(y#!/6z[J+L({Dt7+(l\6x8l kڨ:JRx"*B95Y}BVlXB>)܆|4YIV&b1'xUF:4Ft4OU#T}Z4Y |L8 &_-:gy7ljZ>3KC ku!wI>MWVr)U6/cV~;'#lX"8Zx?M*)fޟ2b2|γKڽ8h]\tSN"zT&j[Y[ =6y"DצWޱ.vqP+}FZ8mY$Df!H{n\_L[Ls˖V _4WӌPgZ Al+-e省4WsiidX%qE]e-<~Ȇ tlo؟1[M CG]]`}YOZ215[K ̘FRFr;A!yqhD)ܣ},ұsw T"}׹{-Kp7CRlp1FۂT Jl>g+|U1Z:NCT12nwJ”HmE:AH%֒L:[~]HxARS9aNTE?S8;?hCgSTB>4<Q!1S|owtygcsY)q?ן30"Ng?Gu endstream endobj 1751 0 obj << /Length 1486 /Filter /FlateDecode >> stream xZ[o6~= ֠6t=dEز#ԑ\YiËbI' CB:xxng"ӨwN[dULIH[h5E `$響=5~|:g4-|ߒ6>>3U ðV6~(DWD.w ֠;/y$%q9:#qwv$R (Dtyƚ.XZQO'o0;6H kĊ`˿2Y0U 4[)l,y8ϯ$/vy9K5c{2m.tT$<'y,yE:Wiho|GtHn~?+C*YUݸN-45imjt4Rʊ<Y^tPjKƹQu=v;x88; /]XrVIuUA,dggglNⱢtE ڢ,iνmn1n`&g׍G7*IM52CpsTAM ޺%opg݂"핺}/ƵϭP7ԟ/q6+6^:{{ZE*B ,yޖqӒ?DpC]{q;W> stream xZo7 q;DER?@[ =eK"vuZQ%aIO$E>}$.8JIN#qtTHq16Hu1~0aرV!'A&0i#686Rl#(قHv95Lq%RrU SF8 lCmE>mF% X tGdرmܞEbV274dcV+UabK*櫹E!G!1Xb}Gxx"6V휊YձD$p>,d氌rj\i.=ORs!C8+JnXm$#dj;18 4F[#Xp2 I0,5_!Ujcj>͖L|,W@<47us)B4Z!-f)k.ImT,ڸFmHZ;Ls'8g`c) ✎K209 w GeÆKXE|NSA1tK Xb=f93s 835qpfH3KseTrvn3_=Ⱥg7hnle|5/?WO?~mmm|N?k]7s|0{5LbvddZ^^WW-4y6f; *2扂.0 bĤ'Wh1R7r7J7ƨԍ،vL^X<[5~x9h\oOaۃNPUh(RC23asS7~lׯ^f_GkA)dN"<"Xй?*QWs͆ 'h۹X_ODwЄ&pD4^hϐ6\8w>[.^ocdѢ#xJ`$'I_ Ϟ_QzNJ ?yhփ$~v.I|Un+8wn77! rEApˣ3Qr7sM\AQ>J*|"u%PЍ%zI^u˗ FT!2k.Ct.Ce(/, Dl?.! 6(&2"nzpd{p]ooՐu|)QC.[5t+ uJPg 1h);қj7ֻ_~=էm"$O%*/ D"c>H"u.=nߢYb{{jcQ.ЧjpCo7[!f KщC5(]He ,UpC endstream endobj 1776 0 obj << /Length 1432 /Filter /FlateDecode >> stream xYKs6W(u"OiI:= EQ2'2Pr.HVž+4F]~鵮) 6Pod#Ñ2T}ߝ.}w?zܤL$?1t>>\iaM5puzWҢ@C]JDCACx,FOIJ0'WOiM SRlcv\<-;Tg^V(\*eScdm]hfL#rMj^XT4^uS0$8V"b Ƴx6꾏$rp6ѩrlR܋q|hhЉ;nē N>Y &t%m1sDN'`yBOCI(}H?*/!qpb1~v]|bMN^>WLK\k&.iaeF5nm^]g@",xq%>>FCԡ"l9_TVM θ`Iək lH, K^J+|a#UmU4+i!61ӌnD^I.61&]R,m d^K o]r-N 2S8Nh{;H&fdAI`)5t U F/*U&q6JI~9r/Ma@n q  s![ vnz8"WJCF$V ALx*?0΋pR|UYHR{G?MOPa@}ix|uq޽K=<+r?=44?]vP/,s$ѕ˰7ڽζE"أ^l/v8IӰ]qF)WX#=TR!@XiyL 6v&JjjBn:Ζ Avqޤv~ӠW7%q Il17,y$_l{vdO>\qa͋4'5Qe yTP؅@R•L*00ۏhSuFB9Q0F6n6/hOcS#(4;CB=%/s`ym|ao8 6 .&*?[#TV~y4cY=1yt}c%^!noƘR3{m^cJK"pTzr]}?>T|GP0Ef*@D96Eա Y,lh+&'oP)j endstream endobj 1804 0 obj << /Length 1646 /Filter /FlateDecode >> stream xZ[o6~У< 擄n6tI=dE ˲#ԑ\NËbIS%nC :xx ގ~9QQHR!X"x*ς*px77zL$u?M:F@dk4Ѱ OCcd|eDd ,d"HGp0wx[Kyel7OISqɢe28\fiLrۉϗ,ҵo,0+F0 )E#$2yA$E: 47Xm}Hb]oƯg&D+7N_JV7E6s SsX!ɣ ?P^q\Z4%\L$|wGe \{" &)rA Ap҄: `8= R4AP'}ڶL1:2O:$~R l0Zwsk"Kz}."0 f —R ~;/E~5^śxIa#2% ʜse AAvw,+k4-=`ɽwk ljkǨ1hɞ0B)u9[I63l`(Mo-&:-LZft2t>Nl VA {mypzz]CJL5ϗl4(}X3|#n F=o P@4yu:pt55Ùr JI= mǻC`f mv&2t)]BEkC^}@e.&Kg:$!Fzb?(ˎUvUÙ}CuУ ?P_(e}55͝Z5()H@ڷzAh&ІfYsk1X [|=Бua?WU/v endstream endobj 1833 0 obj << /Length 1632 /Filter /FlateDecode >> stream xZ[o6~= mЎPGr%m/% y(H!h~.^8VL IȖaMЇ?C&I|=Oޛ)Mmūp"b8 z/{rܣ@C]sDMG` "X(o3`@=^9B ŚMl†{pGw؛LcEsZKPXx}#Ћx8l!:D%EJ\#-$VtaL*]4?'THIP!,Lɡ4l/l23VB@r8wy)n %H lUH@\j4dam۽Ɉb!&(j{3yH Ëdav.ཐG+T1QAH!u܅<GV.b<.'R`ie9 {=jMzjt HT4<"P\Me\4E$%mٴQ Pu@KCKR8spܳz fΛǿ7w Ȁv rE\,/6 JS?NSSZ=ZZz:.z`ʈ%ȮYӘbM v4?ך5[1m]eбu?DÅ#]B2z<h'3{0ƱP2Pmжiꁍ/R`% }FVzƾ/yodeCd?B 23>b;4 !m17< endstream endobj 1856 0 obj << /Length 1706 /Filter /FlateDecode >> stream xY[o6~ d5û$C :=tE t,T\INËbIın`"ύ1 F~pB 6h4E92I.wW.\瓞Bg>*N_FކWqW 4]-K%>g Y{3}Q!%\ɢ AS{Qn-IJ0 )}O')r'Qs0ҟi:'_lM$[2.+ZWpk]M$,j(mH)'](؈T%- АF?e}@a΢un?%xUn4[E8lj)pH!ǚbܲ| \jC@p ."P<m96UBli2cE%0X:?Ì r{Y>2>CJrf4Ӝw/HQ#TaFb8 #Th4k6 15ԧjCvhR8<]:1:1ZwX ؘ[-G?ea!6M %U$j,SxIZ͍Dp/7pr-rÀ9mkA0NnrK 0c(PYeFmni(1bn:sǻԕ$r&`.lV-P`7yٱ~A Ŧ4yqe/m ~c ~tg*8Mˎf%/tc\{`SP;\;E,1 cg'C; Hu$B֗9eM<[ӞPGiJAXDU)6lCVEMU]0#sjE}lzUyd>_iita-;^d ė7y2}$g?^O`}pč@ *i'ȡ?|<0vAtD< ' { 0aEfPEl_|t[m= ud]uT .[3]1FS[!iK2{Te&VfOWQORQ`e NԇaW Nx? Z]5la MR" vӥgZso hqے@ uVg#ohkdxb?IO|\iRݹ y;qw?M {zz /[ Uz6v*z+?ʫ$ImqYq֏_Fu}RUg\\ ☗ endstream endobj 1763 0 obj << /Type /ObjStm /N 100 /First 985 /Length 1941 /Filter /FlateDecode >> stream xZ[o7})rn$@/n[4yhȃ^˵n %mt#AyG|prRE[ 97 ?A[2o)JP[|;cޛ?V(R-|4b(acm j0@8fjeܬ ~zϺU{>jّIWk}p .ׄkY"xcn9bʬ eM>A˦1X:fw$Wǯ& ad<.5 ކ'6z'X,(r VmJoXaYJoi[͹5X1SPVTUk5V{r2g81&jnY?*3»*)Z-q c{e E@ކoW2zQ_*)`Kt` ưZoøz_U5`=.)TJ 'yPMPK͹ >#͡Q_7J'Ϟ,g ۰#њ/1dž _zu'9L5bsdaM:K;省"YX3'oջۋzMz7短~g>3m Y;E'HOWlV[ÆQQѶFIàalO/޽럿dN\|,>OcBJ5 iO#R o\~^ooӋKL70zyw_V#r'Aj* W< wQpiJ?(=,YN`],o~9}HȨ)bk,W4}".Vo7D"Jd9Ǣg{*8fLPr"Q n"j'k u£HU#C\0 iE^BޗS{Ƃ؈ 5aA0s6"Q&s.'{N `ɞ{ߏSBL:r,6 vŐꬳd4'{Ζ@YDEGjO9OQn[ ֆk@-4Z!AE_`WF el@o߶}ӖI")rb`Tȼt"m =JŖi-ٯcp/ jLP.iԎ osX^x{`]'?}?iB endstream endobj 1881 0 obj << /Length 1603 /Filter /FlateDecode >> stream xZI6Wh1H)E A[=@i0Hr&(lE 0{o!g ^~n^E*PH *, łH3"h|rܿ}yk|5t:8ċۛWp3H R-0?,6}Ri &އ8P\`D"w'$<8A*tL/) 2Bel`{ѻ")e.<}N@R 5* A !L5R1GHV 05r "A?2;r|ďLXcChXɃslNdyHRˤ2/ 豊6&!tZyL226n>ׅK1G1[PCz"j]g90`d:rwW@$ zx)3+~ynPHQue-`6\? LÚgsc솣73ɽbzTp$ Y .dWȮC2Ս| mjm (|ąr:AmbyUJm[˹Cb?]Hp 8F#'!\H.FVO=eE2 ~]Z7K0, !PAq&<KՕ,oF[UQ ܞu'q Wo+ʏ{nr~)\ c'Ed5u lkhWuu7`B^ܳ׾j-MBgNCQzͶ܆?)ӇT hgxo\;Jjapr$^ x\/ubg53v=ڠZ{<;iP_=,k4 ?P 2j$`2ǔOP7.3 !\*FTpn#hv: k3O\:L:2;z"[#H ,^jc-i(R(jABc"es(Dc_ay{]lt &c8GtXg2)zL`yBu []Y +>rPen_3WDD"T3la;+۞0 nU\`EF@,1m̷=:0'/]RvgTFEx1 qFo3󃘊z5ANg==P[+.Bπ~@J{nzL%0U/p3f-¬\PjӼ9!]=drA 5֋U:K 7]~_Vu҇BSC Ҟ-Y ϽЅ:1=-0Шd35Zc?dm,唞gwο?K^lʳz|38ڀ<H"Hw_;!g* B8˜>) *&|7YTCN )BvK endstream endobj 1909 0 obj << /Length 1556 /Filter /FlateDecode >> stream xZ[o6~= ֠6t=tEش#T]Yi-9cGNy%~s0d/^_F߿ n ]-oli!W 5j4k? C/ޗ%>~"h!5讲A̸q.zHV79D - Vydak,ڢ¡NGmCVhb)l=`1Ca!ߪ$ ؊2Yf,uyy9N*,\\\Y^}*BI%}2y4F,DCav!H j6@bUfTD~$vuXHX1,$4o$4$76֬z@y(/=lzQOx8l VYaht)ri02@~Ri> "b 9$I.X[]t- 7NJ7 Im +>ͣ0ҿw`He?-Kߍ7Gػ64q)|\<܅H*4\kx_ yPjKƹm{J~Z]_eXrJ_r6Kr|,IXd)DS#bu6yzr[ϋC|bt}y0ٟØY UҴTAzŤ)P'\I/2Q-c]1hя_1Cud+o|U.|mkzB麢K\ס*=zxcAy#juDvDlO{tUH`!_餕 DNPmw$XQCiILV}TW/i Qy$hwLБ1W~1  {]x["^HLc)̷i=JM UZqJ^Xo5F@EG^dQ2Mȴ4.6ĞDq&b~Y|LRG&~ W%Vf h0!`)w4#y'pZt{kɧ9 F"~VWxT""G@=cZSϹy- endstream endobj 1934 0 obj << /Length 1455 /Filter /FlateDecode >> stream xYYoF~ׯG{s>hc$hV70(ФBQr_ك:6(`pfv :?;E8RLIUQ3?Bկw{LnNIĽ8~| ҀaM5HJ}Kİt~wv(DW#hйL}DHGK$%q t~gO&B%ӽY6_[YeVVi>; rDY 1Rs[7O j$7w XGrRt`x,zpԩz坯88_kuR| h)K%b%HL2M2-l$Zr bK01iF۾)@78`jwQ_C$4XZrq}mİNbXrEZr縄z=ö4։HDmXnJXˡE3G]ieOb﯋5-6Ƥ-i=]*$jօQ.M_(_/gP1WFƄ׭(h'ۘ֝d;Ps3ϕH%A煕bC#lkZP𥉉P3X { {?xh[P?tK[w%1ɾ2n:s({-f< qOsO1{=k\iU%۰v8Ez;B\`<χUZ`*Xr=mc7fkC9Ыѓ!׫~v7Iմnö팑=92=frD69M['G /29R]oG9褟sD BKm? (D?M endstream endobj 1959 0 obj << /Length 1480 /Filter /FlateDecode >> stream xYY6~]\"ѧi "uч40d Jm}lny0DÙ\O&h4\N 2(`px& C?z}&Ia0["]Zܥۋך |w|fXS R=Ke>݋m2|P!5\#AcX{FOy$%q!{O4&%b#"mь ̘FИK)7d9028(!tt1 6Im587F d ,WvyWୖ1&.ot6٧fj*,2 F_ִy1g ǫ( .;'6.luߣka-aXeݰD˿$grPk)I8JNOI~-H0X) <ۢN{\n, H _n^Ra ,4bm.bSG}.%:DBgWM#߫ؐފ'21ebYUBRg~2)F73+B|MŰ1YbL>suQoT.e8B8[*3 hGu;aOze^g'[E竗^ɰ݀F!yY,&,I4NF pd>tDHs{:eA.42r15*L'ucu$p=^FPXcAcC &@( .ah[} ._ F8(Y4l maU&i5ԯ!y8h@@]͎ _)w|>i=@z7 ֏ā* x q`~ȠJ?=~ǁqwdp2qܗ_-2ApA04 ':S!^;8HVpq>= endstream endobj 1869 0 obj << /Type /ObjStm /N 100 /First 981 /Length 1914 /Filter /FlateDecode >> stream xZMo6W="AAhݠQJ}C85XPQp>RMk\hL)>b!}P#As[`DPRuB Ŋ -TɾBKϪ0*'X})%WZES>okLTŶȕFؗϥ䒫j lR5Jcvk>3j_AsmG51|IHΣ>լ8e_nnɽS `3řMK_~Ž q$^@Ar \qlKpJr J#29K*[`GTrñv41Sca |[ZGXaݖU`R(صK 5`Z%!zBԾ#c.&뒅Jkp ܌sJ>Zj1ܧjˮQ=E A3@!̫b В R8-s 44>V r(6~A"zdb|X>y|?͋YB_^Y˟jaSLH@526KVoƒa$,?zÿ^^.NOOgۣGVzUu3$b͟/D9=h-K=-: 5lܢ!7 fФfa'1ϚsYpf9G+&QdDGEYlcX dYԃwO +dZ9> ˧w۰[2 ^`r;E_ɳx}qY؏'o߅j4&96C=^mxJX7M7+C!.]|n1ak(&z+LWKFz|9QH \dœ3glaF/nf_ ړJġ džz}lw/zpD:a*o%غ(fRTPGhA|2v[\):̱=M }YN_HnZNnr$n$7Mm\ZGylviVI͚@'"90E ́aY bc 8;}rN2xs;F\d>M~/Rd ٠B6!\߬<AC(TFmR%RlJ}ml a5_FU TaYέf/J+"QR=q#ĽJykPhZe !>l!~-{S" /Xczvy^oW'/V=[wGVF 1rJl{a %#nS1_>@[`M߄,Q7́TK0<wzӣ׍`2Y"9pƅh Xؠ̂}6 ލ^׹~)KqI"iK2:6\y0WIFǩZc9`/4k0G ܾѡTQTB]fݜdD!wd<B) [krPPݖ^ 3Dr.̟I71;B~=!&R+jhJS0tfnn$+7 90j pR6,f`y#DyR?+f ozBd+J2`n:2#;~ /_Ca 6Eiϗl endstream endobj 1988 0 obj << /Length 1593 /Filter /FlateDecode >> stream xZKo8Wh/joRSmEb"Pd*?*9I;|(q,=7yq {zgoT(TFI$$1T OE8? ܿxy>)<5}2Iѻ7Gp%\SRaW-ף$(>}EXGwr eytӤ&E)dZ&e~Yb0$k4$Pr9ΦnXʋXXq:C H 1 Q#bG&5hg3 I+XAgMJpcI:bp?c׍M Ұ}b7Z+$y|:6;*0(VeFrSOC 0fl3Emn ED4$Og6j[K=XڌA tv7 B50CpW<`sUL6vɵO<,@\Kк}K-7!pKbk[_B)Lx8!> ;W ex8'c~xgotV+ ` Ya%ITk+?l1o~V V~z1յ VV;W~k6_b2`41˰7ȾڭiKRKm(` Re $rg`L^l[PKXmBZEڲX,Mt{7v@Eg958i8H~TX#=TLUUcHؒ='olمRH+s4i6b*L> }v)~~TnOd `0"3V6{wa|~dcqȀm1Of܉a 3= hIY /=HPzz.Тz{b4WLz̳r!}T}K0 9$k p 2$- $D51nwg]gPK#֊ LJE,&EHܪK)G})]ls]<yvt5fC1r" W!BZ|æ>8U{z1]BISZN9A:W{6ˣtn건Ւ #A=~x; };I#ֈtv~3S>iN~:7;*P:egtϖ`CD+*dw JB;tL@]w JR)Ww]2 QK!3+{誚I<:"_+*2('G))SuPWtji~hV7|@:1J7yypru0h!8]@Lԓկ-nkwa:HDhƅPSlb; c@Egg5gas ~A'>'~G',>\5rՓW^# B# : endstream endobj 2016 0 obj << /Length 1590 /Filter /FlateDecode >> stream xZ[o6~= "=u؆ɰdv8+I{x-V'vȃA[[K$uk +c[U}'IY "ZS}{Wk*Ϩdt(A<\Mw.f 7 ˉLGv)X͎Icm62Ccox4@~Le|L+IS^ZFn ߂|'sl`]ݞЭ/Bg ۍmpd @,+閸X~F`H7hFazp63-M]fƪ=7ˢ mQ*hbn;j_{erk,Z%qT4qiS ̘F2+Ϩ BeS@$`E0lex j-~H!^-+A @".aɦTCLĄ6QpvEv6]ȥoX~RRJLZ5ᕏgƄr:ۜ}ܥd3D;.iAQiФuжnn yRorCvhc/6141ө ũ[TRb'|SXxH#MTO}zN"Bomv1б!2 O$JEd{:χz6QX zgل#bV³ԋ2&*b𫺄[K!! ŢX00idW0X%k3BH&)ܼ+#FL?RG3{xaڗYYI*2xug]#hf&!KE>|t]oʝQXO"TG߳~ߨPXju~c _/ .pR½pU G)J9}vw2@gG-W?y9ХV_+7n9, (MMUkXxp{uxu_&|/un9#?wǑgY endstream endobj 2039 0 obj << /Length 1560 /Filter /FlateDecode >> stream xY[o6~= "=u؆񰇮d[ز+MwxQ$َ[a!<E~!:0pT8:-Cе׳ӱWΓw*+r2o?Sg=B悀 '-)TSc?"9X }h퀎«2lgک]$?&j5OA# ~W:Rl} ^p[U`oK{`7prbpFңqJH~:1, #9TS >&d< I UEP{]%q>O-JRTÇ6'D+n; mhS..RD bg'B'UD <%).c &?X3Cmqb%4q~f d^p^z>X.toq&2p릒``8q}"1Xu]j0,L 8Mp̾Fܙ@vD~CH3rS%.د58>ݰ1h8\rnjo߭UHwk߻oխA*ixsB~JFjje8SBN7,yXPHI]v7eK+{?{?KG3?!ѤzQX'<8q᧼D1}"_am! @M({*88K+AK <.6'O> stream xZ]o[7})r>!hd@4yhAq [ $hD'ܚq,!gI&-⇛ 9 DA RqA O]*JXO2%<."EB#&Y]= "ֶXWmjjsӳ>,>nn) F;}@,ȋ`?s $=y)+&E']%yRYZtn5t*#['dO֗W=r`]'`>6DpʼƜ<z/~?\^|Y=[aOꏫZ||:Y|˫>/lJA#! ) 8i~_[ߙw/!!^4V( "ٰF(fG eX06X*ϭa>t*B'I~Rj=:l'|J/֟dMR[XFߍY\X{Dւl=u8tNު1< > 29\s)T'- Ϥ-rtNtV5ɤ2ؤ."D>xM+yrݑXDAty]! ̓Bs9bQ#kmH]XY4_KZ\qkXkrX~('DZ?gPW:?qlʼni'|{:> eMHAB.&=څ2Rx "5{(wA9Љ}hUCL͌8ܬ˛S99em[jNWg-NZF;sʔnٽU}N4~m ;?΄ endstream endobj 2067 0 obj << /Length 1610 /Filter /FlateDecode >> stream xZ[o6~= 擄m50PEr%YE*d;qx>Ï߹-AǓ_&Got") #SStv>Nc6gLO_G/ߟ{eK'|8}:{{dWq+ Æص䵙!n˄ At ,%7wo"2趑A̸qN'OHtvh1%ő,+[L<"NfL?6nK[{m"?Lp$~q<8ǚYn^RD誣rm`ELNz,~ҽ],#= `@~!9R΢kgFދ[Cwl u׭%+>HG+.׃|}+B =[1AVhN!"O$uNaMV -B /0N..orAh9s_&8Z6ףE(L5<;Iys&4.4_\i}0&dg)MC:MV>i_eiwAu]0΋/V>̓umm~ 9MچwIqig0ZpI@gN#.j'uZe @P+mpAKӼՌIc.5-ڠ6=jCHxsn qӍǮl;I\f)XQXɋWIl*KI']-biu9ҝ; u4FvǸ):\?KO5\1)cgQ( (l!(A`Fe2KG _|[ˆ:cߝq3w{'d8zzx~X_%?r  ͘$T&(x.I$`UHYz黆Hs|D=ˍ{P-̷Q2оEh ==\K B҃q%xeP{KTA<"|d/\EIhe}E[/QC6D HUW/ \n`xe?c `5m?pb17 $ovf\ 8@KYqwg]Գuf eZb#ЗM~e?/cp/c`MyN6I* 6v: AV ^ɵ~YYZ%P'Sξiqe]AP(CP쁱5kװ}0@R+H{`0cRe#T^&nEMakm!=4Ɗc6 endstream endobj 2094 0 obj << /Length 1649 /Filter /FlateDecode >> stream xZ[o6~d5ûHC :=tE ۴#T\YNËlIS'vnȃ!ޝU8R+"E cvJ͠C@Gd Ld":>h c"VэE`Dv]t>vp]qXcf5lX)m#EA:ߴ@5)tx: ^?k;ԬH0QLy[㸛t>ײP AZ/<]&rikS\,&/_Ԕ[Fbҥw, 3JJ3<4W* y^jYɧ bzwoMM҄Q>6=BV-EФՈ ޝ2"X0O󉿖W&tX]m#jOM)&=="dt&aK4Di'$3Kgʿ#nnaF{lw,Y &j˖WJUtV:/A[; ~ݣY .h~=)VLkC +%dCoUn;Yjմ7Jxx ٿ |v;oV!bUpq_$3I`ї~JcLQ*DQY~kkJ9TE 8 1֔A@w f1 2ԣaskYxrU̷ K)؀6Eo|jrUl.Ƶi#\`I_(QaI\@{g (JC_iY%:bpQbk/r\ lLD@mpr\ %]PUTjy03y԰㧋p{2XZ1D" fmq Ѱ[_G gkbzDzVCM8p8Q=@ϚifhZ䙡=3Xr( 'pZXQ:ifxݛc"p vmŬ%<6KzdEf i~׺f@2LS(!& ^\ëej`7dU^!_xu(OUu{E^=Qb8 +=v8-FTK4fIUVI R&Me0 d-Y.W33 *W B%eE Sl`x ѮGdayO4}D Cĺ(5@@4j ڝ]JMzB -;RXǏ5/@֩ۑckJ5LCmL#_pPG[ӽD4OZѰÕݟSj>}ףD)Ĉx:74op^='}bMRok"5Fg q7&X|&#~S(Z^l~x;ICY?}jl endstream endobj 2118 0 obj << /Length 1554 /Filter /FlateDecode >> stream xYKoFW*>\‰-R[Ei`P%HwAÑL .wkgVA_ƃJ#uB4!Ps4<E)\p$ __F_U:KHR[\|qmDP!7"b8pJ3df<<@CHrG,tX`Czǀwі X '!'A\ŋN!I KF,TkaR1bS#5oIM ')m X+mg*^Nݷq1S+i>U}J$wb\*v w$I|roi\(߾ &ڬ=UsWYܬΘ0n7dHr7~Ԣ5~bb}N8őry0QmXO7I9'=xt2-/B04Č İ*E[w2 !wсomkjѪV}h +Y ߕٴ6 H/-~z/l}:Jйkf+b8 緙ɦgJ(g! ZM.oeWGF"k `\c,`G<r{m!ldן6> LKaA;xʖm(%CJIم#?qv Z<%Pmp` P5taUR)v,Br4]ViԽCrqQvzg'I%}1Ƕ NZRNSS+ؓ6%h|k$RuYY77+e M3e0ATpf3[{&^T Xo:vu&2*p/b ߇eE Lfjf j(v=$.cЖULuom>1~L'3V4;k Ǹqn**䌃 ̰qil=͚"vppf5`<7Ț[?=lbVV+$P#0Qҕu/eIBqkG| O5`}NXe 7mœ,ah3\z4YW9w~"8xs=j~;nq&eG7mkh .S~ ]/tu9E=NriN:4-/-~/ g X L3,57VS(ݣqe\bgl\[W(ݸ45Ѹ>_ʈđ;q{7TP.?67W[C)ǔDR/Sn. N{Nci+L#)56 endstream endobj 2143 0 obj << /Length 1735 /Filter /FlateDecode >> stream xrFGޥ>q:M4B& E `cL]o{ h:6 4X+`Jsh#{rgt//߹\$H8qD2zoބWqW 4d|vss<|P8C]SDugF,tnk$)+ggԹ i X GEXyHn>c1d&Wwi>:. rdMʨ̆eR&Ű0DQ H^u Nq8&V{}J7k=F_`#^hH41a- 23q@R"PFYf]RajT$h\Nwт_Y.L?\1p/Ik+j&TC"ofa;hF)×lݛH} c(T}nYG!ևz dc@>Rim$!«]W0,~9h&v`BXJHV1!#h[:2A]5Vt qQA<p0%aH8* H,D`ynT@G35=%P");2=AQluH)"jɪ"'-]%"E2rQ't<{qYVIL&nX$~/S088|L E\xNjt/*ny6vu삡L5拤87teitȜp i+J!GՌ$ϳ4bD`}ɫ&ԜO6"Y y1'^;wv÷~c;b޲\jGb2+v1,NF r *P1Ac{D2}/IMQ-*fDPaymfJDX6vVae݌VЪCiU._8=rI<D;hSY pMyb^a9 ;vfip`\qReƋ^H_ ώGGg=.=ͺ7Q 7Irķ%<*KoQ :Ύ?OMPNq#IfG%ic4;ƹYydpo K 0:'#C0JLr1w&2Jt153̑uWl.3oeެBVڬHʬhZR0X`nRGchn6jo~rUNCUCǃnYdMaEtZæ6HY!+7FdL`B$(Üȇ&A^_&P Ap>nf(K6o._(OG-0LnAPA(U hC`' p4P \hMJKUȔp{_oV$9h"DǦ&"|T/ibPbȗk(qAp ޼{߃ӗ'U:M-{J|ob!qvz~N~Nc){18DQ%m 4kۛ, Øzgg0d\ŸLލOVϨZ{}>TYjf* PT3Sȱ:~w5¦?ds"  endstream endobj 2052 0 obj << /Type /ObjStm /N 100 /First 986 /Length 1979 /Filter /FlateDecode >> stream xZn[}W} $9@Z4yhkq4c}}PQGlrq8En T' Spվ'rQUk.vRqՄrn]j3x*WE*lj%&a$R(FkTe,yPg)_o)?Z^ݸ:oyh+]DV`] }%ƝglJ\ >&c^b8?BkI = `mTכ]cL9V_U9lgpdn4sH:h aC #GdZ 0FwP> ΗO뾛 CYxP\GFIyP9 ]tHYP̰FI`X2:rF#wMI G^;9 Kv: qgCw6$L'[ #p@vߟ_?%{":ގxQ(R{rk׿ˎr$vnb{ lLtODtgC= Q;F]!:[,;sigGvO/$(s*xO8xtzJ<-> stream xZKs6W(u"oӓ&n6ImezH3de%.J$-9)eNBbKFF'F&bk8RXD&a2z?yn0ώ~/4gE6K3dLWG/,,jrbS1@ol?,-_=44bkN`PQz{F*D6(o"(Bx~,qQa*Fb9I9=/b0d1+d:HIY&9/<RE9~)*#cAq^1M8'"5vhg,Vx`]񃨚w9I=0I= :ױ3ba)<Qs- QuAa"0-9NiB5΅|P 6ƙ" 26Ejg;: @ tgv" c6t v^U!ՄO%~>R+"i(Qֶ%%HP*)&D4ʭGn&^9pXC N$ ?b&>cו4 ҧd], ʫrƳyH.ˊ> S&o,lSقN7]!GBx9K|YտM$.0^0l񦁏2 {:ܶt*a5A FZh'{lW๫$4"@yT_?YKg3$Rϋ]nmsw>~o܂vp՟_0X3q)XՉIeu6rCep0Uy<@cb\C^=gY@N2kf&XqVF"^e5 o쟉 `-Οh?ǎ IgM8Uyq7 4Hx x&Iѿ..5":`&WWl,f~|_<%.*p7T8&q(&i%\@hl ipPVBj^zF??=z1|)7`񪜢)C{eLxLd-$Lv& ?2* =[ǥX!l[عNެN}@$ PuBVoiP( jU6sI8T?4 \@ vHWLن!$rN(y)$UiCrm7"~Κܗej"TܬHcGCWA|#aHQx1qO|!9T/2$İýhwk3{-9(Z(5Ĩýhwxgf!pp@*wy1J_p<{"a_{B2g! {!nP{|ݳ={q{鞹/-WA/fQ%4w(+bhPW>@ާzv?V> stream xn6.jOBO[-E +-D}Œ_$.{0D Z .?NoUbG,B9bT _E]/c4f 'o&՛MeIN t#n Ͱ:J ^<|P!n$\~p[8{FIJ0s4> Av$bE6mޡ |m Laic;߬A{). S 6ƁCyGӎ)͹BJHqmHaRYC Sc)=N6gSݤIϒ;XI.nͪ2iҘ[O:lbfw]YP̈C8~Fc*YӘpf lM$=K+b8_iy &j;`Yk)sϬSy`miՐ1db=,fQ>.MߦoSѩTK ;Tchikdڙ37IJX7GG @09s6E# 8s~o4g*.c`G tE &6J85Ed2V “|*QKuڂݿO{ endstream endobj 2292 0 obj << /Length 1008 /Filter /FlateDecode >> stream xڵߓ6Wўi8I I$vڜt0:m& ¹K c_~賫Jja[! SVkĸC0_ ex~_ڛOr-+b~CW݆ H`~h]{ p3djuF3.Cq>{Qb~z?#FC]n3t?{ïgD&=3VZaQ8(x lwh z-RX BR GRT|Z^f *21`(4D,S.-8v+ޅV¼XiD0.}Zr/Jd\$Ҧ'uU1Ằ|,Y(/;NPz&̶p/J{3P&dqVַ&Jۥ'-&{x>.`?8`3^xBRu˿ӂyQ%ȇhDЃm\_C<Dn1-rB8O\0umy$"]}}-\wKe-oh,vϐ@B_Jֆd: \{G-yАH튶m6Rz vkۤǻ,:*1_`;5Te[v'aN +ro0jLJ&0PYj9E 0LXzE` Z+`ʧA RABӸa7gX%I*$$`UQʪں,#/Z71Ӕ+/P+샳AO\TI賟iyk֣N!1I endstream endobj 2156 0 obj << /Type /ObjStm /N 100 /First 988 /Length 2497 /Filter /FlateDecode >> stream xZn\+z, J $aiЂl$H*>zd9G [=ͺVUWLZSILڒӘG" +:cnyP2IhH:g4i peZD>R6Ze(F#>DuWR>gFij5,66簤М9w2YAMF)/d:ޠʜú6sXPXۜú^_J[Ԫ$Z5z,puic($cS_ "ʭaIUTU!W]5X1iW 67u.>\sx朸oVGn+ƺFR4n\sTSe.6 )up=S+(0gHSJQjjB5#8.ƾԺMrG:\5R]̒ M|Ro*5 ( .!`Ρnapx4G;#=sT8 |KPD+SMuw4Ǝ8ydU:[۴JVsakܱ.^\<쳏Rr-ƿh08 c_G,6e5@*Z&P,DF2a ?V]z4m!!3= ڏ="|W?lwO'77WϷw4mYڼ|ޭ-pz{l/n=mΕN6noޜo}߷߿9tZ0a2eJX _^^tW?\Y?@b19 l}u7'/nL]_7_o<_V;34*=#BiiW ~۳ۋ'g|r[{}2 u%,k{HuSMEeB.7Wۛ_^4ʜì S l(ˊkr#9ۛ_=ͺE %Ht`cInq>jGKuy8ܰ[nƴCvѪ=l7;A8jHͺʯu 쬧-P}_z_i-[ n Rd*y-6Dt*x,JiK[h O,DFϴthKje //FqDH {BLKʆ/)ɤ`Uj3L|m_(Hcӆa_LU}bD1.Dz x SbZQZ=9> +SUzI 3>-S7I%KIKDuyXZU >2\G$=/Cj~W"roٺ~v4 }QCyq04 ZB E2}PBg[(v!p](C3`-bǥğBwp?j Z z Oz@bqqqqqqqq50rF5[ @nr -[ @r={ =]vtqk(Xxe$i}0\ck^V +&3J1BFfwu`ZQ/iQO^]ZW4@4d/R79ۙJXQ pJPGd heKoM`P ,WT:Ș={?5pC1AgPBP#)vm-hJ%V8[~%hMw / dLӒ+5Ŀ+,Chk*4 ~gjeZђ+Dיj~?B 0AK:?a,ںv#y%vhxʾe8: +vp4-N I_Q E.ăr{9ܝD GBcIEeJ(͎#8`mA(:@+J択D才 @Kw'QA,U!hGe+%Dҙ{K,Pmb@h$] )RrHJGy M66(t#9Y^Am<+~6TΫ#hq#Cݝr #@^/! f=i J4/!u=ٗc9{)L`+>[uX!2-?Y,=@Kә+8P\Wա0(B`x5u͢y[%iA8OB!G Q~yzC|d" ءJ0ߋ1'25/4`r]S oH~'ة\%;jZ-.` 4`zw{hvl^n[PTmbTqhΐy>M endstream endobj 2371 0 obj << /Length 926 /Filter /FlateDecode >> stream xڵ[S03+&puuֺ70Ʉ `ZZ&o@{ `ĵ^ 96ή&;@r{{wqLقqGzJ%M'C_r]:>|KC盻E~1fƣ;ג?Dq} \>;rjA¶+Spi0vYӖ$T!Ⱦ4h cL pT^~ "R)`)쨅E :EbD8 }tיGYL+VxMc*Ԩ`5!-4hy8 cV kPKg^%"w4zi^obx񱈆a։6-J{'~OZ01T8lNƊ_%7R4Do O$fөWUPn5ϳ}rK:ѳXZ&*ܞh:>yPen\ѕ1ө51Te[E9':b(~14+MÞ'l>kDzB%jmOhɓX ^'JB $Dl ^$DUT,Mk@o:b:ճ.}!qvDTXm5ZJݕL$9;2ζ˸3I vePZZIw˨an`9r7(4z躆}o{=EDV+%Y6bI*5uo <4IkTW%)9ʾv#uWXŷYqyCz00&/T9|!5S]bU?g=O.PtQ;vgW[%^LlMBn5[t#; endstream endobj 2294 0 obj << /Type /ObjStm /N 100 /First 1015 /Length 2935 /Filter /FlateDecode >> stream xڽ[M] ϯв]TOHQ-`Y5HA4dQ AF3%)O4j5I\X\x#hɵspO1# mXxIR$!X)Donn\Y$dpՒtEѹ9Epwwܺvn$a=>֌6C\a!^DKUHJn=U)y碤$lֱG( AyxĤ=’idW-GDVs=Y4#Y|^$a6^ЭR^R۠tFc' QܪRfe ST;x9vtB@ l._+w8{`WSo6k^Yi>d>(6C(I9)i@g$ c@Cj3 0:[nŖRL1cYc  T*c1*l&/%tl[|[#)WXb7\b76nenkY+vBV(\4:#8[Y(!ܸ"Onp5 V8{<^|ϞMAj(oo<ܾ|Cz#dHm[A3jdo>M/^tWOE_1'12u(Q=[iz.p * 5d‰;39޳!LYk.uzAZ+y.{Hýi Y-2 eP"Gf#[O*a'Q5WÙ!jH\^L,; `!eJaCl@ #{$e.a!!F.$BddɕuJ UL ,%pJuW;tf@sW`DHEX2s]=dBECr'0-`4 1A%jÀ\ Ә j+G@r)B1 j&yMfFhXt`e`\:"K$ojg=X*%2O"g1I%O@(RS$Ij6Rl(S` Qv "Չ"@/ah0w!9"A2Cp*]чl"~(đd]u2> %79ɼ $ ɀ%:j n,rFHRp-8A)AlR2@i6%jKT10D ( TM`GSmf@|>yPAp.YNA;`$vGJf(rFl|qn`q`IHvɞH2*N?:fQPJ9kp6AIEhvɃ@h8(peg h"DܡBĐ+,lǁM ~ԙ$U~~6??g;1}|~Hbc)xx׼9zn3_cc _7L Gz߿O;*@|O>L^"3/{I}-y@C÷WyWLW_Lj.ϱ?RƔEo6}iӁ@y Ep!E>˘.K75ܞm-b-Z'jv"66E:p j8GJz:7B $@%&p4KD9--8J- y%b%س*2q:ϵB"wI &bw BZ= &[e){U(8`]>DT/|c,Jx, 'r?r^brƸ"9.=)>8+{Fpݼ/xBEJCق4؎EURMٱ89ۑiy&詒XQ:oQ1kkމh "#q9E4٠X\dt#$|< JW0QgJhg;80/hq( Qll*([ɁRHW)Q -~89݁R2.2Ђ &*9oʶ]DϬ K>C0h3 >`a:oF9]i)9ؖҜ.r/pcgl g((/ ?,%A Qwʄ-MRg׸#:}>!;|R 6oKDtAy8O^;MvXo.2^/2 endstream endobj 2397 0 obj << /Length1 1612 /Length2 15146 /Length3 0 /Length 15979 /Filter /FlateDecode >> stream xڭeT%gl ݝ,ܼtܾ~?Ϫ5kVZ56%*#$`P3qswcTY9()ŜAƮVƮ >& 2Xyyy(b^VuMZzz07],T?Av {׿UA %`ne )*i(HhR {-@ ge w>Lͬ)ͅ/` pqZ49b8\\~\{7u3_ÿ9:; bl UI\<]-]b p0i`OIu5w<]eY8{_4\-dalf rq WzcGG[vW`5gB`eon +{Eo f/ c3{[/YoJL}"7H"OG='09?;nlge🁚q5 _AXXmr)YZ̍mv_vu{3=询j&?|jV6.+ҿ3js+Jj^R QQO _0u7vu-_FYQu57;^z  : 2EX_q0Npg s,kR+. u H[e^7?4;.rZ5$yr{߸k`p{0wa5eƂr@kjDIAf#|3<%'N[3 4C6\ aggǾ}XJ$^ m')߅[gmn@xdf |}^'1x?|Ze۷/7vF67&#7E/S }ٵ`1ZFU'G17ċ3fK)|#EYܵux7Ҵo!˯n\=bH^Tج4[gd.v)^nzr=/TY^L_mn#夨Oq=F 0gc8U7!hwȇ3;M_2DɑFCw41YO7DrtnW0εvGw)#s~? "k:~r0К$^%7+3X}ӹ T Ζ?ْYIrSSex>Z*h. (oYOO(Owu­y [fGOj{誾Sb;?\XxP򒑌r{?٦T<ܢUTw 8و@Me 5\g,GGh'm㏺ 77N ]N[qRYI/iYsZ-|SܕJRG`q| ͮTU.6~qF#=ΉO'GpF‘/!*CPejl|u{R!ݡ[L {TٟcJ@^YZqs::OOB^]Ӫ aq9ӈ7J֮(kL {;Jkgǻ~Oesct8>UaH? 1>#NKR.E/I"ǽyy 6!l>$ʹdw¹8e8-GWpgBJM jYR3dgMSDPPݽ$&Ţ87d^o)шN(b>&:쓅v!8Ix aahCJuzU(sd-JF'>;He_jD(~`ZiB-%mpʉ+0 D!@axǭ_qhM A0!p*xI f ퟜ:O*`B`9 G2Tl}h UkG}ULu:4V0ek3YN=MXGOϢ.tu|R2:& m P5' E(/I!(ݚMofxټ, [땿SΓk$tszGBOpjLfG$ڏdon 7=Qny,HgS)tƯ$g>vS93s#?ECY"0qӅQ:Ю{93-睜Iދ̉U |ӒgeI>+ljkBˊQ""\A`" )Mﴝi=]K%X<ϫmQ~4coz_ùbgJ._ 6yd9V[`.k 7(54ݲL+> L\ JƗ[7z?gw!)8֕mNȲʌwToS[G ٶq!+YQ"`EF*%57&5[Zݣ1?L c7YEsirwAZ-h " {9tKW YeQ @`~Ы_N-id.}Pp}CڱR9*hku+f=t`5v8FTr}4մwsb6'ۦ'9C pBrgaOn vxf0FLڋBNAM9)J;=3WpVI8v-8Pq`4Z ;}&?SBgAo8Dq^*$*8|K@Zv Kg߭bETp4[T RSrH} da:8>݀ Â(u y6ӆ()BEqGp'$K[&6, 75ljI\LJŸkƭO"0T d(J ,qWl^BIJ&_\.gZWNekR[ilD 0/JHS&L3/_B;D/kvV\Z e2Pwh!{ Zs%0A[[ͣ7/Zf FUQf+ k?v3G2E҇+Qᒫe+OO} ń@ !8?>#d |H _cm^[ھÌ lÈC-jtHYv('Uc0҅ UCn(GۗƙlO?N$:&˩QcIOG(*NF2IPrn STBk_WqA ?j|^JJ04'ɪ>2x;<2=6"OF [!e.[Ql !-|#:=RK sj$_6L:,V?-Nw3 F!nw*D{*sJg! \T{J:\-չ)h *ux,vrc`/o|-i}r.P& ~Bd;a6z#fz_ěbdL SQAH?ԂAQ?!{Cv9uFK 33ESKSGF\+ -T%Ǻr<.ԣ F c-Ui kFq2dHL"^R>h))EDu7@?Sd絛7mY ,"s+tHe7^b'KDw߼9<ILVG50$Wֳ5C[//x-;'Z]jï@'uAL9x LZ]F0bFMbN }SE{Y< i on,"qlM)CpZyٟ~+n6#eԯP!pJ:g5[!f@?5Rb;`aa&Ib3z`l6pcMZ׆2|q;- cɝR(TtT7%OYLrc2z1,ll)[l-uTHD Rt*'"61x_v?{%gP_PԬ~[;sWW!J'#(fyJN2W2 Jr_|kvVd|8CDᖄ1QSJno$ %>s Mڇ:y?hb0ѣ萫ٮH U 0[>qi)kV{"߼B31TWg&b%*%npxcogKȱ8͚P:l-;1] #2d]X^H!K 7OSaoScL[|=RP>UȇG!r7k>t%2^+(E|T[++܄ɸD`ּr?OZe %D\+ yt5QWwcfD;g\D_܄7:TqۑcŏX Wq`)wFJsB%򕉞̾e-TY >_ЉJ w+I]-3FߗmX)ۮ=pN b22kRN(#:|ca.j&}Xa/^I0&/@GyA->aiR楇+hTV,-QnN1otyGd[e`BWVU \#bK1#`k1_8+\~ul,e5go#`dx()Tgo@ {4rfŏr$(/GOƐyz[ ցwtouθ8r!J`%2njNNH7+#6u1,&/ ^硕&2vG)h?YBΆao; H^c>ge%2ҷHavu(5tv'6 ~'VXӉM\QY;ŰҖMn/o[YRwMD=](eneGH_J5QsAɑ57dNO@%_*O@ĢUuf[ Q\9'HG1:4og^mNuO@jSړd0RzU9 emˆqϹ]ȗxA΅SisSܢp+Sl+!xH8^XѸT&*?U<{zc\՞WÖ}u N&$+/YcA={փ/pekRϤSWH[ b1N㰯t-2W~a$ EUjגBMi b$[lH,zmP%Bf}=ͯf5.;HC|șݍ%m2y$ {,)i] w;˨\%Q)p!7£*=zXóIss@~[utI^!{^Qmkj!#%xCES\>mP#}}[Ĝȝ=$g|gZK Y'ā)Q G]IX+%Nw]նw&9 Y G7â -nБX-^[2I-4=FG&gw?gX7<5XNVj $ qxxG'aIq?/gq=jkz + i`~s B!LFUX@lOD+=P7&먯 G+&An(Q8Aޢ *yrnh#I((=$/Qǹb{ %kki}ԅ=E.N}TD '2`~s(Ik|.qVRI,dfқ S9iTCbہlU@nSR_B(M_3 *d< ZE9yu0KXL3$ }V{m^ۗj.f_fn+UgIJ1'5E ӑX|?0.&M2d8{ Ufp3O^;w@,nWs dr^`1lT@zyʼ(T"Bzſ݌ars,i$mBkm94>lS}-Q"Ǔ.ܑ u)?Ny!) 'tʤC¾"U4!x1hOc7dLoWDӾ /ZQRE{:~[5*`\T'gj>u$D\B't +z4=-z*2Puq;1`߷JӐlvM~8,LZˣ7]v̛ג|n쿻=d,D6Nt4?%E(cJ>v ôÕTPv5Js,:J6SEE}JPo#7"Wv@uB\p[ ԾV6iI.~ê-Hjk!KgMl Kt0 ǴpqDj7aIY ݯű?hlļَ֩褠9+q&򜓿'L;s*.ÛN4_ eיFK9 ,P" G|͛rP@d' kr1J8Fy}2ѪBRкVtE] JI3ruE|2OjMg8j,@QÍ#z )AcГb'>wG&: }ψisMLυ61~mܽqיV;kU&;[3{&"_,cFxr/Vh:\ƞQ;_{ⳙjޏg* ð]C4&\3~Q< ]X댇Bz}K3?6S]Ou@ҭi+zj7ta ʝODHTk25,^Lx" HS8e&C@00&6r9apebl\v$C\ip-k1_ e'5ݦ!$^,VfMaVo;Q&)#$ΔU볺IH6`}tn+ps,UT52^xc/eAUxfy~{w-OQ0Bza3'EzƲչl\g w{h +?hVWQχ$;'zjUnV~{63~F6yJyeF/Cr{S7sWs O;qv9X"\6qY#24]?"S3`3[x9Ɨ1'~ݕM~Ÿ6Y5s #lɩAtWRܡB)hx&֕hE%ůrՋS8.wz@j7X0mŵmVuMچྴvl.5_v<8u=Ta~$uی@OLw&@JǼIu;Eկ4وJ/&d(:8>wSn-tt8'nlХw:޵ `Y}#ZK,cA?UKiд$W W7cI"@~M'i {߀x7<<*"hc&ԣgpvPD+_>g%t;0s=:ĺ-!cubbOӀ ؎z͒,$Zـ9-+IJ`cT9 Bn0͆tzjͺƷ-*%tn~zC/ߓD.8*5W?C\ǯwА_qc_ny' .z=a|;M(tY3{DɆ{CcU5|v6!!Ff0>+vl2W )u45Q#NOEku6C@%,6V5tfr EܒC6LdbCѴ4Nyh)㑥еɿ\t{JZvNn'd;~o,Ra ^G6^A"iRVjM3IFFhheɽ6NԂLUeC`3@BkݭG(\ۙ"򓃾.|]z8S7VKD d3GQ|Cb-r#&$,j&߮1Уsq%EHzRhNBtE\Z 3a.wb-MXm yz=]l5ʉ&-:-1 (}YHc4D{ -%*,)7K9!I*nz*35g[Dݟ'QeeՊ^M*.)dpeoyiB_)8HҐC5Gb<0W}XQw AscCb fwcT>,/t&VRAdOYk} ,0"Gia8b@9_0NihSTc:1-&m/=]gD%^89jE&5"eBwb6*/1T Whf; P0srKlΎC!?Ylen<@IJ}E|Ο L(Ld?$q$oT@ݮ2ԺMi+l!IE[[Rn]dVzd.ų:urCϡ#-7{Pf Z2Q%U.M-EjO.*#~P,RLVp#KbU|\jЙtZIUn&F5wO!G<|ug85+6 гKqc׎rqlf,4d쁸l QxbT%m=SL4KKΞ${6yȟq,VWuK$8^c\/[sC'9X^*͡) VkcL Ύ_q\(=/lRdJ }nj 1G淆`m)Xl;!&"\jPS><_BP WIo_pYR \!::H}w#U]0x8BqA2;=Df7MyuId ;mEgivf48_o߾\ɵ(_֞ M Ϯ|d&TDVFAƶZ!\5DucpOy<^xGZ;X͐oRndtPpfkBĽ{N[S; |5 %ldZM;+ 2xqB~^c\:em nF3F}41Ԩk04n!@㧥LM4Dj[=}n}sq1gG%LE,Uy_A1I^|)l {D| >Gۯ{pʰ :M~q[kVl*h; 8oX!5 N71IASrq#?j[Ƴf!Nv"MxEjK zeI5}|`S%CnSVVԢ}u7m{(|<34jFF9Vp.;bCsxEAPmN-6EڼR]D*z_dJ4{ oJ9dKA+\h7dtBp19 O$aa{EWj~!;mxb}׀=Gن˼Ǽ]OsvB7˃Ck*G!, ŚS SZ|K@h"KEdFq w0*3 <0HPOvzm-h3.KuSRJ.dsOi1J*tsgʈi-nηlgp/`() ȼnWفt/ǩS$]*A+¹/A S2i@'g2aޣd' lE#+7XTCw6`BSg^ah2* _nw C\fCآx&]On0fhj9j6ns9v-(Q7&*4M}v-4&*OVG0 |RƆ讉(ңшU-c)hJݤ~x,"H|KjciOkJMmP'p(%yIA -;„?=RvmtIԯQibqZ2X1?k(9U~ endstream endobj 2399 0 obj << /Length1 1630 /Length2 9884 /Length3 0 /Length 10721 /Filter /FlateDecode >> stream xڭteXے5]C@Fq%kp ;A>ιss53?wתZ%Vdٙel\ULV]l <|R`38V Ai0 Hٻ9B,&m ]fVVYryA,m ` L?p+0>)Tr`[  ma`f#hg K0@s b؃m 07X:Ÿg@lP'_<-.{&Sa@G=UMZu­Aaų'WKc4( b r jwN0*`8-AP0 Lt'tofou;o<9ܖ[ οE;313ElnS?SNO?'k_.>;jfxdϯ@;5s8803 wG]?fC|fL A@+yf۵mA`G(c}7L d|/YTTRUSf^ؿ=՞7fG];y `y+rs{7Y qpqpqqhdlv6Gnf z^45?7k3v@@dxIf߈Aw' Z 5R 1&-ENb(cWI6-sW2C?q!Vn*>?qKʱh7̾9tĚ(V:܃Ck(][Q"f$ p7SǫZ#ʝ˺zn p8թwoȒ}!9֤>bLbl_ocu\4ݷ Tg)đE TJy d Yt!?[{,u7bLDbK=8I+:%Ǩ ^anu 7P/Q,GTHԝ,ih:)cw%;fLCwHE K)l!ɳk o/;{vFf L!|4I1s㯿3ZiHgMB*d}oV`.F=2*&qD{N 377EG2wR0dRap!/1D}oBs-#62o-Ĺ`^Jg|LkT=[[*09[}4We,iY: XGǩNvR1DLVOȚs3r5*ɀuNv>LJ :fX8Gbn_. G蹼obmf"mRy[S _)ȼƻ ]FiEvWi4IwdLlsi@'u&\[5BEU~LP`f=%}ȣRwj`L;An~;DV΄-.Ǥ'6o`*^)<_=p[ qW}j+PN<nqhhy?SgSȂy\q/aO(s! :utn]R4+|8(,A &Ew#VKOp~#-e !}8*EvkfO*ox ] mZ9 ["ɲ/SV%ZE*B}ŵg '}((ML:DBqo %(*J *cQ/EUs ʶJtpGvJ߮^fUқ1pVGhi &7XCh|.Rf ~f-ޘEulZ`dconT6Okh^FP J齷{aC"Fӽ)J"O;$0VG,71wr*[1]\te3JGlDѻ s9Bm'ȚmC{,늆=eͅĸ͆#%{o+oLXˁNx I.x9b_V[U'@KQUIyܜ!|5;sG$m 9]]{Xe -lW.7n_=P.stjƪ>(!ݢJ|!/GfDywlɬr?y{re\CqsjExxzݪQzC0 J<7 GXg~N%/u9Ixe|?\,aEړh,QqZ^v|Nt9`lC. k\ )\bEFOYAlfa\RZ# ACHrCf6PMlAI'V2gsʦpzu)UK1鮥5)Ϡsۘ;"PN O}dl' A4э3ÌuFs"󏯨'3r (*w Bou+d¹*+jITa?ۺ 5֧@:k% %czމ`dDkͣq^&ؽ1>Ư`4 $[ 8W ; E[L]6ǒ2 c)O!?>cI?YO~;a]Y_#PW8_de>5REQOh-3|eE#AqEA$qXeYB-I~(xĬg#bDie& fkD͘ز뺴b 6wP }U*XHr7u>֧L䋋+NpqAΊNbobpizQ2[~G8 z|%setI 3|X^/[ł\B r_%;hIom>j0/%Mr] _J?щe|N!,!#n;o8| }=2;W,A2[Wo),5bʾ+}4/ゐK"'e 2o nr,0ccUJFϴk^E _`)'#%ݡs%h,yCj/3O#>%H7Y# T4y~$Ws\N^qɢIU:St@k 2E1%ZCWoQo2ɑ="4RkL:C$׺~}n~x˻Z/p:ǭku9ј'RvoiHFr%M1 G*u9wvqOd2*F Z VsYr@8^Ai F_%Bv)t1 ]1sq_Y2T9^DoƑ {ܝ;h a2p|iU#QR\7(<Ӊ 1xc.Eڋ*9SEɛݬN *4~ӺZN!#Q:,Jt}hJU8%cUHK<%av|׃[vn[M8w y[cGD(X$:w<%2߻ec?/W_jZ9 hLJZ@ 1bt&ij\)}PgtIeE6[!J+伢}bd$s5[#RMFd ֨!SҒwЌwIQxܓ39c=h{sn=p4V-vӻUueZwq|nNzIT[%bs~Mb;E>2J'nhE/䀤=&KZmlAz? >Nv+zӋɍg^wj˼S2=:\_2اp*q„5S,EcMNaZP*/Kz3? ՠHkH @6)g#e_,ZdKb7>kOc$"_ k.pqP6LdHvVnGD.ŎtïQ8/=iΧ$~T|f Ωko ֓ȉ~p֧Jjq%qco],ݱS]Ղ(xe> Oꂍ+0+~W8(Y4{Ovԋ,{q8!ڮu,$l\AzF}3Q:iJ<ЮR:%$ROd^W7cʙe0#RHy~_cp{WL,XH"rIPơ ;Qэ峈qM$"BԟmX NjdMgN(捶5OCL䵂-8O_YHhNI's[17w벶l4,΂Ɨ1lc% <%~$yVۥE3_c9mD# ߋ] .ɐ t␺]m \FV.n8NX#P=a;h&up7xꃋ R;aO59>̉cԝ=~;:DXOEPZ#Ů(ADa{,n " U/SoqmŘ@ڋN=kuj~?Irplz:(2@9 [$*q}7i!)odUZUq]콦_~. 53& Rg%cYMga}=zr6tKJ)|8:O?cG"&U{o 2 S3+ 1{~At?U6 nh}ܺsɺ\ui iH9PC"!F?5P<+KC,H_W+BYy!waֈ[MӾoG6퍛* 9Bzkv"WsR]l7 RMS|KP 1*^.ooK2P>#G7ѾXU1}'A6NT3v@][L3O)g+Y4`+C݅t ;N}%9܊Ԭov-elMU//)a㧜d5JG`9O}BڟO ]RNZDHB% omkAhvP0@d;mY?e kMЂ}QrsUV/<#t|HBFgBveWOr!a%lc4&]@NQϩjѿтҦ06?c=~\tV?% ;>RF%Q* zu_о2wE46XEʑ_E6,W 2qx2_MO| 8j$5+2%}B8U/ccO ӛoAZL&n0bТޭ..j.Cܳ $j(Ν]%FX %޲ <O#oX`EWn-ϡ'V EfVs\[(7$_1n#9'uPPBi'o{HKO q_I ~%k/pAВ|o{zHQ(VY{,vߗ d 2z ukv}֛m ]Q1`NR3œD}tkXm)JEe!]#5^-m˅ I6Y}s@7{)ڥq,.seFF'wNΏxtrQ%>@lX雒\)~'+1RSLE?ny]%";m.nw9qմJn'V1. n8,N?I;||]y'7=ly$$0Awd"Kɸ`vư<)nZ))5J_~Ѫ]?^Ա2hq= mT]U<`xFແȖF re3Zaa='P 98ZlPys_o D,W~h3!d6 ߜScV!_-}B`}ZF_gȞefM-G)B^]f6ڋa:Nt?5EZ!h$ӖwR :SQ,$ɉ6Bt؂Q mIQҚ>9pͅ<( N*Y'`$ I&7+/wMn~sf ]]|۰OQxLj́S|k?2ooa{6[4JIv^ ψJQ5I]jŴQ<Ј18 EƊ'lM4czV1wL giH/O;еe7ƸRHE~O!* Mm,86`/J|rU3'Zg1!#?@bbO;ngE]qb"Y&, :GQ'1fC0U0Sd=q3KŦ2< {(Ry =2JJd,"e֎_2@ru}+n9[On٦ڕ+! OU5:ge ]:?z%Y'O|!"a 7ɯBS~ 648r| -JgNbөCrIZ aB؉s C 1 [O`LrH$,kM`Ԋv~jcxGMB`i<ZтcVQLL;(hY<"g Xi~Tu9; ,7}2nHD;,iMk~1}tvz%10 l^/tD;®^6]HC҃vɓϻ>V<;KC q*vߡoܤ'Ȭ f Ik.* ױks|iy(4ИT@f3!z _h(LΧՃHSُMJ^;*_g娻=5ηXK]Z{zn~_\F ?\|FW\Z(z4 9-)yc6eql&9@|bB tDHF5#_?.yAAVL)]LBxLF\VJ6^G6|בoDF7_<}Qv.qFI4YEYȢW4QDɬ(4;U~ sO&Hp˜&J:У S:hl7J}x f& Ց=.";jO8yt^00OEdzjtGm<ҙKOWU=/d !Y=yk|GՎtu58\{ڧC/SzkQ endstream endobj 2401 0 obj << /Length1 1608 /Length2 10605 /Length3 0 /Length 11432 /Filter /FlateDecode >> stream xڭxeTݒ5 ; 4n][.Kpww Awx;wͯk=ή]ԏ$URe1u01t32L\]TElMFNJJ1g3c1،if 7؀<<<@1GOg+ K0F]E_B&tR:8ڙك!Ù`K3PLQI[FA H#27s6*ZrV 3{3Z3 \ޱD\@G353_.7hll~heu5oBvw0%  |Ϫ$.`Kc_]@HS_%{y]`3_L̀V.ƞbeo/ @g3 cgS[3ww쿺:zcGG[Ͽo;.fLl9AV vSW̜n_3CNhjf~O ''5/ZV}`(kvVMj"6~oŻ,L,0ZHZy*YA@scmW75s7{6Y99ͧfi\<M<fPWmwһ`5OwbQuz3rY ;7`g+{, F`לMG? AK!730!,/:Bӳ2_u{Y? :~W+*vO0z ej}m\8v|ٓ5܍cKݕjv%)@_jlPq}>/ Ţk{\YŠh6ܭ VݎQ[x|BtxwK?248uӳGHOgrL 4rzqgI 2=P vS@!& պH7MTs(Ta't* uYqnmY $VSGS`wYcGH($b^粤kO~B 9rkr>%εb.rh]5;# T7&?Tkw^bh酳–y I:D u0W~&}xaqR6 sĈl1k=-N=įAuc~[+ӢEq'>U8 c<%nf&+b(K 1?\ XPF|F堨T# qtrmMJLoԬ9_-!"渣ח'=L#zc4Wh 6DKu(y}jT.I͜vAְکFQ{ EI=:cZ#ܯ`4GF[t`{% w xּ~ Gk9ET,G 7AUej_d!Z<%K/)yoyS]o)ǻdH1o o0۫lmD,kTqp+9Ũ9GCH¡B __dɬp, I"y̌j_ DѤ狥ؗ-'M~RH3BOⶹt y]1Bɢ߅V1#J7ƥ\^hHT^]w>\Z\t1 Hx6{*HMA3K4BƇ"1QWW҄4ncS:u#aIpDoTPHwxSi/뚸(4]c->᪨vy,~!S9@7*AriJRm](ĘO<.-O(ʉ{'Zw$7Fk.z)a*%"y)5!Wޠчܷ˛njŪ8tϧaU ϞB=(s׀/ЗpG[ \PnnMNy$);IvQե&M,JEóRF/,1ҝfJL놺llIȗiXV74t &{ƑOND W$_,uαO:W3F |L/a,{n_>nF ÉSI7%5Cz 6{Q&bclô]bXbŏD$4O{K'xwHaNO&G֨x EEs>@/~ R_񙛩;"JoGpS=;\G ;R}$;؇FqEUI`;ϐ ,&;+1?5&,7J38u}&tYw0ֲ!r1/rJq\ƿ].C6X"pp3C3QTz?\Ԗ#$٠{Pwɫ~"pEgT򧷫?\=d27$ˇ',tpV5-Zӎo`%>w`~$ ;{cxF"Y2ު9ԓyx"} 5|u$~%{jP7fу|N~Q5Tt=jWFX@c1-2.D,Wbx 瓸qyy8y'b٭tQ?VJ4< cL%4#!3D 5Y:-fR-+B5cWY#žLASԷ]aku8,vޡH?#|G\vTH՝n\}F"NH6]yT|ZiLME+ua0 sgEU1 &xJ,+d^Fv 8W@$bȔ_ShNw<UO0mT\R4C7%DJC$/1Lbg)BĞ Xo4˩~6V3E1W8za9f`uVy}{B"ȴMBp^?M> {x Pp4Խ{QIH2߹P"OVsCQdI٪[9Yb)v]DQ IT1[#q׎jI4ŭIc޼(uXSF[jC> WԂeo8@\o鞠t-iC0=.JtSnNP|Ϯ,ڍ l.} iReT5ZHz\rNƃ LV [) zeǥ&Tt#so4(7gFlYpDMh٦ͷ7T@?6#"(CSR咋h4~d]l1}J8 b|DF[EuScݭ? %~>in vk* +\z 2:@QДo-]`=A [8O;B"+oҩ)4?>lּ XAͽ9_-&ZD,z"̭YG5S"RyimǨ N:C}-o?}c+v}=Pp RYVyT,P;eG_Zk8'ު=KhHe9 ʯ9wq!$iX!n͋ nLZ?̈́'+AόmUa\W6IB"NrO"h}F<=1`m]/w3D8x9obt3OeB|SNCNڷ˘̭YԲ=,nK{!M0يͫ4\ *Rw:=/Y`N&Gʛc6.Z15D=F౪zUkLt0s(´U!ߩT>E" Mt)w9l9F[#SA$.{v9ReFQBH؟@久W,2CV,e״dFh-EK0[dP|9I-a0SB)SdTI<ŽO]h: \nlMU {sWcg"%Xs; I|agŪ&6O썻%ųѿa2^̈JX؉]%w&9Ʒ86<5_Ø̥ӈ_jQjH~k:BUsBZ6\Foesd2&E3!oƴˏsTC-%NPmWV8Ģ^ % nFN|UX)#Ilh~#`Kzt}O}' D0#fv{Τ[l:lN]'%4xq;}y{TcWVPs) ǀvv3k8PuT? ^>8Z}caw'1#iaKiaPx 1W8} ,؇K\-NSnć0Ixڀy$-Я~37+F,'Ĩ}X-(*A $dCL;V ꨦp|/y1iwޙ: WLn;Y2UOao0lVV#.x)~/6*cͿ5AZn "ҟ6ҿ*ՋtM"p,4ˆ:`W,-['?8ZA 5;oCN0]]=a@tv@? zzn-MZ~hBv6tP$Ձ!#j;Xеpɢv9(l*;!Dxe%= \@fv9Xw"izf4Llc#i#=^4 H5V>o|Rʼg7Pl`\{3썩rܓ(7 Or7[F03>MGJ=pmcRmN䱬:R/h IZH .*h36D5A{s4N (|¿&<:Lz)f,iVE6\v8dJp9<|bsSQ˨ҊgtIJ4:'oj~'9ŮkCNJ^-ɆHp@9=h7Zo #--Vz'WNtghXf0&^DJx|E.BVv,Xva. 4B%ԓpWGDwfv09u$2BruL sQgw˞T جgL4QpAhS؉) Cq-X'/x/FAFp5yVY"GZA#{o&."|/= ɉLՉD9`$DFGMUqd,|$)|HxyT Yi-v DأMŶCR@-ͥzM sі\m'V[ov ME ϜH7ו#=1, :/l#ޭ'Է+Q!ӓb]Gx㹓_'{{@ciOxO=VLVeDè>%aDśmEE~yky|?V}a>K3}lq;^.гu#vKlc~])gD/҉GY.grXAho3'aȪWM )VR/hȬ|F5{w ǩ Ž ٙ)%gc Ÿh,G.mQm_>e1`5ߗ̎#-c x$ωϫ$]lj/ݗ,֐ȣC2iὀ pIxD:w6+}awI e <|!WD['oybEnɺG*@vRtto^ LثCɇ/E._F4*DRQױ91=mhKZH&%JEif#{ y?:ƊN qil1l>!9 |rNs:4+5Y9,u+k dz3U[ލ&d _;yF,;+75X5@O~Bׄ r7+7_6RapP HQťc@{z1 ]QV=8uK E'ԣkB- s$v|ϑ9G=m-fXj1H /NEJ9`2lMJ-= ’.z_{4(/~9nGsxD] 9ZEd#WwoZRgeY'L/M!j Pe,\%K-)tC>#ף6TE=V+DSk\*u^c'Zwbu2\AcNǖ n<|،ҋ]֞6o% ;, KCw;y;D[W^埝mJNj1ARV !kb$pupuVr'R\/!,^6;&i`^qDFp ˬ\ӣq)l6 E*3)rL]&)&6JIƎ`TpkQ2㾱4IW |[ݜ`u}8๑;$0d@](SBqze)@ghuZ=ǗW̳Uأ믯NTk2Rt!#~]k#k i7(:׆ߊV%UulacT1*2Z龹eX߷ҡxmoߐ(hZr "ٕ\XmbrGݺդ=hcyFwӔ7"0|ɋpѕׇ|1.hMJFD oOdOVOO`qGUO3UЧ0c ;yLCOتъBU툗S{.77}Jlh9fW_2DDv$:ɻrzu$Ζ|:.ny>:C.pԕ=0|D6EziʐIK4'RkB~G>k/" k=] D=>Dw(Mx5a=;oqws^րb珤 X$π{vV^HMȩbOOC,ɼ 5􃅲Ctܜ2q/,mKןan=`'T򔈫fm4fVDv9ZVɟv1:Fj'eT %)\m³\5ԔpBZV/G LE1I%ʹҵl)9]Yn2k |Jo(ލc/tC!iK)г$5`7Ywhqf(\vri'oSj3MZ쪓;dzjQM#z_t6haqbӿ7e'#Gdl"\ ykD) rc9Ѱ-ț$-^~W5N2jŶA>=_: ir&݋liIf[hӂu,Y{}jJY KC`d.7B0[>!VvvxYt k_6PL DȩsFp+٤ endstream endobj 2403 0 obj << /Length1 1144 /Length2 8470 /Length3 0 /Length 9238 /Filter /FlateDecode >> stream xuwUX\[-NNpOp P@AQPxp@ X Xp!X%Hܒ}s9bc3SsB|B!gr4&P+ `x {_pv`[8t VAk` @_+ sB|tugRRr} K=9IQJL?[?ڻQYɅο J:p-o|K5W g5O98s!@ !ˁ 4p lukL`5N u1C@z࿾YpF`[g(}S TںځCvm=ݟ=T Yu}TqSHͷ3!/n|ǓQ'ŏҧC\F+)7(WmV5AYJ4E#房AFGL&9*ひ)Sŕ8a+yͫ}7] Z*lY.)] H4Ə.AШtMo9^m:&$P GКIHww 9vj*t!~;>]2 d˳[,ڬ#x|P65̱~ey,TZK7-c£sd-Y/g](W,Fw47Ɛ^3 ּ um:|Ъ0S\=MIJHњU6'0~o%;:^ՀCVQ*g 9lc8fGQ;b3)gx{)Rч2c/e?9~^.c>rkPn<3N$C0€0 abP~0wsc9ȨdfWTTJtw\_8$-)z7,V;&nX.\ҋVŅ_MΘKǵ.φk( ހaT ޱ\"~E5jH82>",:A v'jDLW!D5Q4Ny1#)~ÊٌWQ2Vr5 mcrL9sE^U7XyCk*_I)Yv/?7s^oZ_i' wiV?<IdUe7;b-t:0L6W5w5kR IRKg}o]o%]fafucd,VF~?t\R<$Ia28'sB^)}76'AO9v U,R"Hzk۩͢.9!R/O64TA XgH 5BG'V%oG -&hv \mj8ܶ( -T1[GlJCp?t{3 QT.FZ1^),t\o{~N:*D$f |-}#C0,\,,5C|' N8)^nѽm#e'<3k;m؏ȣ=7lU9f ,xǖ/ؿ[ $,]8(7 }<_D8|\HO*Ҝf\Q:;v }~K}vQLGCŗŬz5_T$TSqzTV2gVGeWRG}g $k 3;K(Ck@a"-@,c6Ȓ vPzfU5Gv|qZTᬺ[vSv)3|c^b ې2aVG~%:[̘wv U߉2p1q=:m3:L!x}UŵY"͘REFxՐLh^`e>B4=a^ F-c+36l.-6[ 4h*d"rzGSUTPW~JΔ01֞Rϩ<$ZxՇ[ڥ^#AgHʑ?2 i1f _[;'*|ohQ} u$v?~usyydcdh2"R6 ,a@ *&J]R7cGިc$$qES"M/ΤT~KYi UBhʣDj;%%eL<ޒjWa!@=a:͔(=B+G:WX>.HB^vPhN%Q, v :Ulg2Oq$ÑJ?i"T@+$'#KbFk voU&rϧ8 b Y:ڲQ\TO9qa)>OeЅDszy~>UaZg_vX)pkZ]&H@:}8~(NxҴr;\V.W)5VOq:9v\~콄9="`㾉j>/$ҸYAqߐjRztȅ2r:,B H22px/OTg?Yre gm0A1w&(@W$Eࢼó0I%䱠0׻ޅ, ׎~k[ƅȜRrR7TfBIrPor]Ny6`c$#CsQ)gy]G,[ΫCف:yote=<<^5mLn 3̺P`F->ÞzlFKKԖ.&QێU1mQd.(&E,i̮RXk5I1{h{a(\r CtP'Skx[ Xue\52`L"<3qjzi=yVsμ}y>+ x3.շEUڀ<PR3P*qԵ|F2d5g0Y|kV6 6ЄQi2Kj]ߤfrQQҤ}%$[͔|6w0z8ov Vډ d/щ>2&{t&G8hO>һ\Q'go$ )0hoY`uߟSԐ1Dx貿 i!#SXa|4/{e8ٶ B]= h J[idN7U+,͖vFb7j_d?R+瑖;MuBmfiyH_/\Ӗ(ގ}fF[M!SKlDr3imOӵJ O?Ɍ- ;d.6xaC_!tx#Ng #p4yM,iʬ{fGD3wA}Sc|T8*L6f>U~ q~P҉󮪒,qɧ Hwțpk$4ԞmM[]l wh\Ul lR9,yLUc;ELB6^7toZv,se?U;#D2()H?}fhM_ä#9I`2G2\ў"xo CkO +i/3$OB}9%m>ҋ\d:懲OEtqve)ӋFaN?FR '6dǗ].A_m/lLsx(O݅,ф HypF,,]S <] <`GP ~&fže_0}8qa~NZ`cֵES@ѤQ!w.st_4_)70D)+0ʇ݅ߎ~YYcv_$z7+\mlKʕ5M`vLqoab 7+\ܩ~쓾3,?HfR+$ۺj <ݧl=bNhT݄bz +V@/[At :Z u𮞉a5{&Zk_"Dh).dQpnNj-cE1=0g5UcG 0E@mqE?A:Ha}VFc(%K0?czȴ4;Z)[Lf=Zdxw_b3%ïI wpӁ Hx[٘qE 5RT4?-K,˜` ;Xmo.)yr8PR^O?qƌ?#u:[f -PQǒ?ԠI;Re>K W&ARq^n ~]pcrH{1QbOZ*/TkBغ+s:ɾ4/DW1"-T:9>Ǎt4lzω:0k3ӹϸo mہSjцn6,-F2 X!?daB@l/^NFh_*l܎ث5 8 Y8/?dVP2 P; 5ÍxXS'ΧxJcU6å)^OFDSrdzW<)!iz]D{8?/aqZ{J,f&Ȼ䦯uM^oQohSoQFkO_."zoW>s\8a 藬:#䛣#!'ļ 0}Ab9bT}@{ vvBEQ<|dq9Y  ޽ l_ :I<2HT򮈡~aZx-sbzR`ry|J&'|`d kӃygɸu+֋|b4ƿA?%ԟn9{bFܾ-@vD[M+J2(?|E;(E@{UIĴ|#Ƅݪh.c ntZ4. *e=uD/fPNHzr E֛t-݆_DZb>D4b,y^+ {6MHd9[䗷*'Xvrv͓*abvFE$hg! 0Eb^4CжgMKFa€' !KA$J1 /<~v wV]QmL UyXP1H2hGhd+.g*}KwlHh9gp5yWļH@9Rf~.[{FVK_|-Ul{pʏIa]gHCQC\^H y"% -YC&[B`O ,?.k:y%Q5cSj[}Iң^q_Ќ̖R/esʛ j{Ja!!/ jLYŚcsI#'w!J26v&N? ,1 $NGD a"nT%_YsLmC/k¶w6u7,Kb2dhD^MTc` x4;?)c`%; V}&=P5U:R-7u,wy`&mN2FG3B$բP~;?_•nЬӖQxZXo_-So4!"5eTtI5CCԡ8ⴕbKߗ-]Do睒1[xe:|5b1q 8+2yVIj3]T"f0}/yعV>e+gJL+0y +' *5!۴m:Nx<(kyNj!Utk2'ۨ~M[|8obAeBF'NxdԀԖYCsU̓x4;f B3w(pTV9 or&ykouߘPʂԽx^@3%ݘDw:kG٢}V~ Ŷ<.2Jc򢦾QF[J$'\Xƃ?&.9:a o؛5 ~D#1e!䇝+(  %|\>h;跱g3ru8TNjF,G)# Η:<a?kmee`5Q*v(YPs[Z؝j@E>ӿ׿u/x>3y U iHHj6ȃlf9qk;WFjKRGptn?|֍dp S̿{esd@{izJqyMQ/!qUqߏngJ&'/@FRژHՂߢg!]b Fm08eZZk So_`LVQbCq/7XeɈ-e`K XirɖUoMBLDp(><]?izFT:ۧ+¬]O-CAQH#.}boTs' )E?o6B4I3~^C9qw~.u2]Pt]z9_?UρF⊜vw֝5^c, 2Ʃ Sg3K#뛫寈_6t:->p1UzW΄noFg8GSM({ns >'ͨjE|gMf) #s )8Ⱥ;ҷ ע=¨oGakRIB endstream endobj 2405 0 obj << /Length1 1177 /Length2 3288 /Length3 0 /Length 4039 /Filter /FlateDecode >> stream xmSyRO_ \#wH"X2H  $@D&eFA"ՙ'B EevSRP:G\ܔUU~!(4 f :Bc`)h4f K6c8sDݔ (QAA8!("HPf6kN$7 Px7gA`wwoz[[V٢^voo';kiItI+KH8A cqu>,ң9d4ܒaw13;rN$=&;pJJWqxD}5& Qsh\R.̺i`E4UU.~혡DK^j{m~6nU*N~mQʄ*.m([`u@OoDݘxxʧ.D6exeq8͖՛5|N'rœ04A2d:!k^f6X ӈбs @s9?R6a;_A`=4$N J5:)?Y@ڵ#heנғ+j29Ihw*%1}y[/H0=4zuKK׃qYMr^9CcpdSjDtexd?K_1/k~K:| .B=F]FY|Ur|^0:-/'$iXߣ=q*}q#߳7vDw^ܥn {e,\GGYNkR75, /J _~]ȧpq褔Е chbɽY̤Gufu?7=bй(RtCz jP"Ăudsl,|.Xxky1wpg~Ge۞ S pƻ)΃ ٽFqEIBK4YL]FP̯)o+t*1glexb-9gP 9!4 p}.+ ~G٠RYC;.}e}W|HOc.mt39GM5m ɒ].ۏn}wel}'eSbYMw@ ^äa} ƻ2ܸa]]FXʱU ]u\,yy++juxȉ1Ji*@!6Qs%x a;(W9gftB‚TRR!Ӭ~\ļ㛳6I.f[㻶)c fs߯YЖ3Pўp2iձT<9/lTn,nDaZvL*\8Ƒuw-HZq M> stream xڭTuX};$$$dh)Nkj`ZI[:Xzw纞H.epv. @bgS *+AQ 6CҦp \X); bi0kkaac{/o?4NK{ `??;j`TtTr*9=fj Ps6 `{'0  CAߥ9cI8LN`sȣ[A'%87u(>Z=AN0UMZ/p+SNG5jh ;.1̣n wn߹1c0 g'0-1cWRob@,.ǜܖ{,߳`opq%9;Ciaya ۺ@` ,(1%2G z}{hYg[[S=s1غoN~ $w%p9Bd!n`nn0}= ؃yR;'tZVsۃ?9ԥ䴔PqZe(蟏a$%nOvv^{$H'׿ʦp X7'ןoad͡c 7=N?0#<6Z Z«fBr(I ],3 ֍ 7pzͺ=Ej3 |ʋ;`m۟è7iU:5 oѨG[y`,. x5$mO~d߹874{-+Qw څA{A0TߒlQV>SN9Q0BPZݹrgZo6&Z;"2k 5OyUseQ.;-Jo̐7_X_7ʭY{pY.d>n bWǴ2usd_d ).z0  Ʊ X3z:Xp,v%[΢5;Q,qJ3rʇr"t>,獌u)WaU+@_0Qm\i2i:)o 9%g?9efM"W QU&|,NI5NY8>R àflozGי3#LkHvbT4M|RC"cib;0a(W c=u. (L:j'B> Ed:h,0msz`xu[.#rՂ_wdC:XM{+ {Aa³_-L^wSt&hfO\\<'iqÏ͚ 2a1N/qc],R07uJj.r:e9tt79G]LF/gʗ_ =lu惼bMNG_$s"?$[_mCKD}P; )6[R۪otEhPl`#ymUpݳJYa|hN;q@C`㤨Q{E|??Y7nIPKuD0FZ"C6ER }wT^ C&u:bߩs'Z^/4>~xLJIݑV T:ZG˫!_}g1wnxƫ6`ߪ6{6pRYaDX]sNoG`:NZXAd M`?+9(iЃ%.Iܾtg/uUP*oE1 _W̤񷓞BZ>| agdԯ4XF!% !kuhĬ!<8~#¯3HZ < bʇkx9_ण$ Xx&"9}}Kvd3ʲwqKb;/vY`TKRk_b BwP=_]:8+->KzvQGp#Vod B$SP62%+*^cS=Q5[i"\:S]ȡ s}Tgp)Yes3q8rf7K.&Oe)漦rؠ'[fF)ZBT/$9~2 tDEױ{B;a>2EOL11~ieVZ~?^P PieW%2ܟGf82'e~s1ʼ08`A+Kh ]6mtQj}ct`DވQCP+QtTs_cX䭒0v1tLH]%UPwI·b1'CP71?ͥɼkB(u VnWYORl:dJ_4- #;{T:\FOP8?dU[͎AF} %D6#\,&6E5'πf0U\z(Aɽ%`,5dmq ܖ //xlh4< _OGNGB/nƁ6EF u IH9i7zCsFj !qU+De. G@]M)T1U 1XAq5qfjj^[(D[uy5;vwMAF<&K16sxehw)ruAwKl]/O'4~ZC%iZي$i|/h.'?Gu08lBm1lt0ؼ7ّn/^ݵmycgtF0+o@ MPv}?d+VFRDBݣ`/u\@Zhp7ȗZK&ỏ (e7\}2"OlCO+ԳKHRieLu*^\L-d찞W8d dX $gxad*~.m; *Gz_GhᔸWx։pRσvԋ`29 Q-p:׌aQ2ꐟ3^)¬5+gZ&{jwg{6j1SVcT#%2(}n)JӺ7iE D@GVWjN:цRc5XYųiuϚMfK'l` Eey}K"8c?0Θɱmb=UPb$@P=DòrwP#J5!/ow|@@ UPI4 Unhrf#Sa۪,W / @MT?],J ]vцqlPuߗS R<=z~9+--5CC6Fj)|dXܷ+슪~SLB%#I; V>\-*Xo*ūv$x|=/mQ*TpReݑc/?mdlE`ṧp3lK47B0}#G*-/5QKTOPi\{QQ6DWn:z^WȣL_am%Ia]Ol.7V(oe; N Yv@V kisD,~*g8k9-XRWLRJ_~J0v9QiRgl*=[SPٯ(0':ӕs }8%=aW穙5rRp'\*7TwTrˀ@Q[j(+$6Ouܪ~Bώmsٗd?~i.<ZS&)`(O 4s9'Ge⡽4o]["N;o!0b=E~tpwL\]',Gh:xºU1jZ%\X1׸X7iS5<0' PC5]---,0(_R8@LEɖ#^} ֍fC]4lL'++% wc \*Η͖\3|IP [M_"/r Ū:xRE(NڤRypSyم% "+CWA[̙X/,)ӬP ܩ%/AԷlBW].^vb+a8˟= O:YE!Y8FJs/$3&NzLG"Cލz~>D {5Y*wҌ3S 9~YA5ZtS _%. x6>:hN.%47LkJ}_R=JbSj9y&\b `Yrk&._Bjwuˊ8'ۙn& ?/ Ft ?TrL:枿 gP6|QԇZOhra[.F6RfIe r54ź祤L(܌-g1B#`;m򾟸u#SG ,oP_ixCF+pLj$^xʠ͖^:-WYfV_ 5F4[7I%RBB\>c`l8|S,η3i:sm,~7CzE!$.^ ?XX<2.[N胬3 ">:O˴^]?[ ([Depw4AsPeNȗeT0#e4I.HbAv'ۑX?(|7UJ 3{gn^¥QGIIJ5jOijyCw{Miw{R >oK »AgT[&Иst ѩlz+Bxì{F8f7yv͜Rw]b[TqWA,Օd.{ /M&MO~2a%m. S?BZ2ĴNSϛUSd{30f-_lGCñ*_"L ʐ|6 yj}q{SH$y\AɎeTt .$d'iBߴgcb=L1޽+%mp5PÔ@#?Zފ|ƚ̩3u^`pIq{ L&Yin1܃]eGmDOalҮgݛѣSiHa=?DP-bj|tvX9v+QGRG܉# ?ԶH &E%&tJ;`:6G"mm(?1'CMn{>To`z{ٚv(sySr*➼u7Wx~ /FnM⫖Wc/Ǜ|R`̧j4X 5x͞qi*\x֣M7(|6 QjgSdM7FVq;61?h6r:kx /ס8?sƲjg=H|֛%#Zj@Hm(D->5~'0?{! o١e:kj3\nڗ38Ifc;;3uҥkUٔC] /lSZCOmY/ uVf/Cs%E 7-%-M3Wgӏ/Ɛe/O ~w6wЪ҇yZM%aɽbk&`d[;raP x6Au6=Ʊ DI'Z7~P!cOPsF1;apQ$w#B7fǂ)U;X{Qi#3jLj6nzn =x9c{͉Q|>J9|,Uk<1dۥ&쬶X#ira絀h쾆)Z %WwѭN15~65uQ,LO's5.0]I2Y.X:M\xilz} P?%i,[J,STksq3Gkݰ>񪙨EFU}IljhOkSt5+$53wYg/:$#I04KGc F3C/7)3̈ޠk8w`W uԾ Y> B̈́TcWR*fnܲ||]wiIe8$+W+ Z"VxڵӪ#ۥ(a#1ᲇeƞ2y M;ͪ 4+@i Z6KEIX^."KD8vOF*2kXxTz~}z#ۺuv)f>=Q%2iH#!{bP'Bo>40t2>+v;)ݭ) =tu`aׯvI®h>HJ2dk.<3;P_@&`e '(T|tN{ B־<j֍!4އB+??⣻x$/(Joɗ-#=AuSDRzVpEk(V icQ ?틞WABRVxv Nm%f5 [i5ؕpo `* j)U)vmDBTxJkn& ,h 6d+p9Ub=(` M&QZ+JoNQa~.W? endstream endobj 2409 0 obj << /Length1 1630 /Length2 18050 /Length3 0 /Length 18890 /Filter /FlateDecode >> stream xڬctnm%vضm۶mضvsǶ|y>8_qfͪYָɈUL]Vvn.v\tfnv622g3#W+{Q#W3n)@ `!88z9[YX(Ք5hhhO?<oXY>:8ڙٻ?bfp4[ٚD%j 3{3g#[ @Ō ` ``ojOi.\FG3\F{7u3_ÿ9:; bl UQT<]-\b p0i`OIu5wy `jhk7_0Ggps/g3 #gS[30 7rtmE'+W3[sz&9M\涰agVL9_ gf02u0;M ?S$"yO/ߡlmw 13Y?wwGkLo[-JHo%oeW75s7 cbdo>UK+D`WWgPRPUP_,*WU/ǿG5ryFXC cd%H/ ::[ytNz FQq57;mimW-U_sofif`bZ?:%3:IGC_@FWG](} Wҙ4x?-E_U! @yaOsEm0mvF)%e.gg$E?HMѻPɓO(݂Caz:?4|sT/i"'yx/>2e^X| 3 .x\1$N̪J7t/K_4sgdrY5G/KdBV^K4TgDTR`m G2eW4VՏF5c!\n .#QPP:< M5N`$mCrںz~t R %Cj ;Yrˮ;F*>UO7C-~ApxYlʫiTK\?N5UaѸnV'Dw 7S8-/}/?t͊G.V6e7R" рTVӥcR%fo 1 )RYMNP_NC Tױ)qs"g#-fܤ_# UuGE3SϓlҤ,F /M_)IHdclh ]`XAg:ғg#c""AI^D㥆< T $oOIĴ@~)IU՞ u7F.~ÂB{wqP̞^ީl=nQ^Ej|BV.'=F%é)fU?R[,2%gӗM ڦ(ՌqDX 3_FqF?]95k1DJ|@(I!G|vVO򞡪.s`JaVc`)|8nwaAg ׏EbTn c$AB5^ɘ)tc繇n.[ѯ,lϛ*dbk%j+K2@a|vJKrcҤ5e&\Uёf? j@N)XW>ptTH^-]_3`]V3AIoP-eh-022.ӛԫ %~'"ԝMH6JKx7}=1!*02 @ oe|#}w:ck;4fq0Ni0{c7z֬Dm.;R0ȁxxXx<$?kd[޴gJV-uDz@1ƃn= jc_8DZ2eW}@1>Q J}|*p fވjm>1a܃D .`}!*OɁgP{O͇D.*/ ʶc6"u! O\-vV>&s| VK_,3y5=r~Sz|(p[9bfP15։8(Й‘B"X s8fVR 3qҤA|@TƝ%E*TY-~SUp @fDAAJnrVh2p#X{మ eȎ?fP5I _vPU{ !NH'PG5Jo+P˃JU@Dݱ`{L`|AO0 ɚaY [&E}= & >:t{9B@.KׁI۰'&L_j0M`6}xrg[I/5uD`{Z13^-d\K2ػ-jMU}d\M{^yLB§T Em{[gUw aA2܋{P!FmA ;>H(ށJ̄md4?\NM} HS]mʚt%*j awXu$#<2d;$b-iSML=*\ϪYֱ\!-ǀx)Vu2;9[z!wv~ ,23G:A<[4'lm6w|XTVWsL6&#*Po_m AJR;̺an ӱ2jO8/ `~EUzS-XfFCC; IYa:Ć gsĥ .̛ePmP?AUr60rKC8h%URX*~P3sj̩6sKqLF^\xf`Kٺ?ᇐ=#J2ŀ8x'\'& =X"_*mp ?4ƖI%(FuoMӟ\o,}%T}a]Hh27k%ue~~P|fh_?Q` vrx=H]p.ԺN1M筁FukGUW7:~@vcm2[WnӄKsB+Tn< ӊZ%-b%)iY xqRS:(ܢ8}ۯ?]_Zy1̎YbF$c`ZM7DƉ=œ)751HX~YώKFOqF= k<=3~^jJ'UJm@ *H.y-;_O5;ׄz*Sa?o_ߡE-|>I4 Y[55hFv<:ˤ>M0C'yuB_ъQэ>c!BF^z2+CS s$+vab_c*<ǣYBT="NJ[مѾ%?ýteH e3\81|gqYn3O TSI='3%?w'Y l|@xMlbV&bhk `u\dN)UըUlppAй 𞦧*tjfTiV6ܚ`pZ{2%ܷoz4 Ikʀ]Ii؇1nX:%+50Mկl2P,"Tf_fZQ!(`a[d 2KM:1* O-܋% @ t _krD.lvNvpOZ܀;5ngx4VP>7 XC |œJk U& Y 78z_s6>OEMݓNG46CKayNo|/#~&"rٻިp_j>L= k%+r| ~NzJO[~b]bcUnVPtTyy'ie<=ȬggATkve_0᙭TH.CWސRH6` `{Tu!4eXëSE%6.Vx(V $H91ed)şŪjZii~ ah)M훍|Y/6'Y,3! V?Ӡ)gi_CmBsE-)74uFO; /_&k>",xIT4%NƈQzk$׮Sn"k֠M|woWث:~kހq/!ēW2Zt>}7t]7RŎ#2E$^)B|/awVs[†8ZQobsN52}R9!ݭFK0V`F:j=A4v\$k?R>24܅54dd ]"^X(&1de6‘*  Hlri TUZDr\XFin8ӌ.՟Vk=[dςɯ9FtլMnΏCCRP|>JIB@)k|u@bkƕVAݻCʲ trNOpѽ~4y(sԳG7CZwhn|z3Li8`HUkͩ!s!xk`#dʠ`cjyTLU&2jش}J#u 6$g*q$[=$ȅM(ы+2Xyi2ms1%# =oAӿ7YP0~B*ɞs6Vlm^0]ú|8̝s3mډ Y ds5rʒ 6NUҐ.~$Ԏ)rdSy#!W=/ @_p>$QlaRf8w0]o1zSZJd (Zh6C.C+SP|o# >6l Ýe`~kͥ'V1=@Fi;u!Ы\"5Z&\F od [Vˍz'Fm( ]Wzh^4{b@t(gJ':e5'0Y8E6sI(9txzLDPyft#K6S(3\,m0撂Z qp3vT*:j[=v~c[mtw%BP8@JtU>C:@JeN}BSnt`MC2Oa%ƪ}@(@ٺڥ=k%5%ʢ_ܘQ=eu.HIoD8|uo{{{h׈ +Hh0];.@2ED4قw[Q'q^TCy۬.9KݒϑC;tY'DB\ebҙ ⸭Cikڽ;Wls:*kÍ ͕a笙޾UPZ{\?ь{&FЁ2֓!3|I MgOˈeGa"OYۏpDw~ 2l$ɖFwOEg 6>H?e{U&{W>)?1ǂK ?賐͚  Dw(milg#lg*D0,op˦3͈?c:Q0Ff1]zRL1~x` /T'* ]@Qj糈*.] ^&Δ+H S':Lc P2ܨZpѡZEf1 I7r8fCP=%rb$Z[u_/0'\)x8l&QP:`X.-ÆSyfHlŠq64&a:͵Z@([l `lN,;|SlGꤤ`ח|B:T)HM@FyZ&K+$+ =52zwsA%}պʰ; $pLPsV\T0x?7)ktRC n*a1L܎+>jBqo ^aNa ר:#kw*xܚ6fi wVl4` *]8)@ͯGӀV/rvoM( J=R#tKrSS@ ӵjdӵm#B47jH_olI-_M*)NӞO"\+ܜhL|oMK`. =X;Ķ{;U6}6$ځ^ P=C~S0&֏/͵l1%Ӕ~ゃ  ~M_gy72!ˁQo6ʅY `LS;pr:3?A@=Qc׳hUxj-e W#gne/!n{`/RN馝6Q-', -lrӓaWV*)Pn1)5G`ݔp5LSՆ-b` -oK1(㪢cL)'AnHX/`Q!OH3~%(2tZ(ʗj`L M< Fc4 Jf0/%n7'B} A`Pkw4%%Tz̶u ߄>G O *qOQgw's߫ZunnQ ] vnSAgI+m_bGl*/_;Iy}ըw`'402(K@]˸<S$pV$+ko{2Y2fL-Wa"u 32%[4w 0?^>:cx-K)-|o ĸ;ǿ7cHyZB-%-Snjqh6K\Q(ڃ5 \Uv4{ka? YT4^C=X)9Z/t 3m"M}n"> [ƹT˝г4PNѭ`ϷpTk Q 3=k0C|6!(t1`56W;`<.F>|[%(~/;ma?)>A?şT_n:Ĺ!GsReʌWSumz3$"EAnPb4 ` 6Vby.ш$+LL?~b\7G޹Mōe]3+HtmQ FKؽ-+`qP:4*ڨĊ!tmQ|i+別ش*\A^vI-|[n_wgToWJ`h3&j8E܌³-0]mK'B8 vFqEv`fg"DY G8Cv8.]2Rk/N ]˴dS@ªRڄCAE btVn7&EpB^wyuua6(rI8lR > xP)oy?:pd_U۟ 1ADˌdFp!/FӆsJqaO tKN O@5AOKƗq 0K @EҽCە#kB8 '[؂t[vttV=7cp7A6nf3.Bu=[>0k|Oy?]&e~iZ֕L$'|F{Y5 y=M2z$kfIER?.^dczC].kr&>߃Ʒ. 4ԎgpKN=SؙmW0GZx÷N͌rfD* qqŗqnY! c}9q%(K|$Ծ۰h+sD+6}!x~- ¢#+;Qˌ/SX*VX)r-vy1ʐrfY,st528t As?S9*|Lgk}I B+^X4AytE۵wX ^NH៾ ?nziԼJd$ؑdo}R*0J&c1}iRA G˭ZlIDv%۠Ą1ȩDq3 D}4pi1O՚<1v@|F;&RCíw1g=nsm41&?Ad7KW1BK;@M'^a 2I>Dٲ-ֽQz2-oʸ@z3Kgj*kQ4QM5x;X*#YסSTƵ "hbQ‰sKzNVT6ɤ&F(]~>)ZSxO,5o+cHraM/A|ɭДMXp+/IM6ԛdi%>"Df.;G^[BrJ#i,-rvH蜭4x=G8PHX>-Ixڤ? }o6XȀx`:o'Mm5CxU}\N++_ ^xArss޺u1zvδV.L95a{22kjvf9.Cϊ\6ACBeI]9鵢T_" j(DX-CԉfOG;{ 4dBa_ؕDa戵L qYOL8˕i|`@qQ'LrϜʌQ9ê>Y6 oSA 'ݜ[#}؃nxt1J$5-Uw(2h_FҢ]4\830izj\,VvxGm-e+r]qu]SI[#O-]u D@E̴J05 Xa!C9HU4}"{YScre1eL։~WuT6xIšf}ϔڷdtFC|nNL~n g+A] ̗ SR47C}:[</1S88Z+&MD.ui,jh4(m2X.=<}k<ݯLk'6iW_pgR$q/Cw'J[ Ow>%FCҲDΩ] {[jNmV/}>cSvK?),pe,)pizю1^̎2A/4xw8?ׄ:*UWu଒[Zܚzu!u,]|Sc ُ3o;N;1u]k=@;:~ "Czg?R \$\O__gb; pEşD ?R9ت-p }pʃKih]*5;qS(XQVfƛ{GT hA ߦįs{o_?#3?v궥)`v 65&+ON0JBdLӃz6IzfXPPe򖳷yGZPXE)%:X"" _of]/DD?ϓ=6y㾨[ /VϽWEQ2Rg~B9N+&Fubbkej#* ˅Z8 Mc&PgP'a Z9ԑ5PKE!#8-8)(Q&FUKFwPv ⣄DxoC_JO԰ dg'ΐ@q4Ww$(E[Ibi洽b lX|o۔KyL^≘wB9Mؠp77ư3ԟQ:9Z\XX2ߐLP(Ty?FsXp>p}^ą;7IYPxJ酲<-{;{DeJɍ7p +T: .͹|BXwaEJ> aאhKN6BI*9CI'fL121*n56~*JJA2)9,?X k`m9n#P8cv9K5"MTCSlAS r="=^Lރ3 B%V,8mpUw9k߭T=)'s 1U (G#+u^I@tGߢ wcT4nXhx ,A>|QaMWv0N/^ Z|ogZHݤYYs{C~7BXV[VyE4 0[ksN9\#$)=n9K:eK Gbh`817Lz`~mK6,:`S[:͋&|PE0ZFsx\l1v Uu6uDMʌ ɛEL(U[ggXu|ă u`b,H/0i[,yeU$/;2gigG\peya$xqa+}b[zQT'.ktl &1)pyٝyY%MN+p˝jNI%6r ᔊ ;=ZTemC]qrBmo0l 7xFC$ "}0Q/0(FP喞O0ksiQ{[QTv8}6d >xk4Kq_0(^ǟ$C] f&UQS:kCBosKZFWnSR1 dNđXau&`^T/WhpUŪ3Ku~T,Ofi&6 ]{y:]n 3ح7$h]^ f(IO>~btc<8mΩ\4ī2Ѳ2 6;~MG*~_vf֔V̍\ŖrXaLx& .~E')QU9pjTA{OSE۳ݎw{j΋^Le",0f }<]-5FEĴED=Cr Y ̡5YYv' c=Z+ ٪T@;0xzt $ L4vZK3 lqvm8}a!⫉x\iw|ĵy ,{;tـ0iNqΤiRw uD y1K%P.?50ւ` b:NUmDԃ^t)?K&(4.?: Y2^3KFjT+#;q>=%vd\̼k ^kx]Ae8R=+{6r 7znZU`V/erHYn_5)(מUƃgG`PHjɈ̅ߎSvPcT|1et49YzoO1ZGa+A1[wpXGvaD&lw}>A9<4l;5쇯_^vEEIZIG(! GUΨ?/+Q ~ϵv8՚fhnjhxQBMKdMQvѲ|*1='^U&AJ!e^_t!к_OF@\,w] uny#Tho~CViG֖بn:U̿Vȼ&)}-<ݲ7x-[5,bHyi8+=al # u\ ܋f{ĹA=& o'TjZrC .:SӣJ˅l-EOZrRtAeizRHZ;/]4UGY\~OI.f͙8$!\ ePsEL+jYó֑ zGIYDwPYYYTkdY x*`ПvF 4Zqf1z^D+ԊHa.R~9ЧG^nYj{(!FX8f& Yp^1(30:0 ;?EZ_]lsԞ +3NfO 0aYMM70xc^}Ov"3Zݫ$|>~)fޮurjffķ˟&,X g2!$}.(ƷkKz([sWc,{BYyE،!7O{M2) U=cf+K]TjۜySBF{x|>ǢO+#Z߽ν^'PÃ'p2 ' KUd2wto]\hk(2ZGxi[La%q%Vڍ=-zDXw pk]DIl- "Mv0qAGGWسE9)hL{w84()@|A:K@\-viGpdЌTac.7G/ek~hzr!qetk5[ɉ[ۅJ!t+†H~jѿB _Sv'֥ʚ͡ Q@|7{٤w91KH|pN!#eWSz)Or02՛sq#^# :,qԿ!ɨާjCO//`([jy4څ %4EiX}:8cƄ߬ㇿIa|]clM\Ȁ)7Zhpy97fe\b%9vw\ꥯKא+s 9tԗB S }j}A!v֒N3Yg_y\JD'<L34zdWȥK>щi/s'K;uJ}Cyu"Z@KtP5#w3͏I<%]|%tp,I U|wk($ڥ2E'͛Գ*fciB!eh#;zEĦy˵{?ߕ&斘Y˺V;[&>Cd-;1w#]H~p=DIB+4-)#xmzx!:H3'Ft_ZJDX6#+P* +t@6&a&^&i3XiV< |h؆f|8.{tε.l'|;MRJm2}~R "VI$4Xg zЙ1Q$eqj*XI$n} Ŏ9^ʍJb4=} HuA#gV4gԧ^%G!h ԑjq$VpD]#ُ(1ֵ2Y1z<͛lkVi&_-r R0+\ߢГZ N2l;g:o Ld+% (LEad 阞>Kjѭ3$8)Eq19եzj/YH5~!Ⱦ`j5,aUH<(ZWQ^|ϬߝJHH,}aZg,a58v_˰]BMD.#-Cl1A_9 7t)4󸉳-W89/g﬐l.vB- @WpS*&&oЦ˭S5e,D'50auo F>3qtW#ER.T5W$ ,5?&`hT8t cn-haQ2g7 oetPN-^$`*][^-Է !zOG}mS_),Ϫr>%#N1D aM̪gđ]ܙWn_|BXZLqER۪{fvӕ*dǽH[m,yC7Z#&k2a9}"pIQB`2 Wŷμ,ר@30N?\ulԶv_}yRmW(Rf \?a8o< ߊҠ~/;9XU҂KM5.0Tk?TZyǹa1ɗ=`ޒ=0Brk&΢Z螣Ee\ɫ6h2I w=")o)2& Z0QH'~j*P2 [a#spXLXP۩9iT4b endstream endobj 2373 0 obj << /Type /ObjStm /N 100 /First 977 /Length 3472 /Filter /FlateDecode >> stream xZYsI~Wԣt׆c"df$Fm5 g~dVUCv&v'Y_ut $aDH M1H"C-9z f ќp=Rpy( " \i5>CZ[|p4R90"0 ?0( | &04HK$8"%GQV01(X"YhpAJq `$ҲR@-@0z0 M4Ju ~qhDQcsہ[y$B_x4sQ&K| `*}  :c 5C"aH3ĊH9b8X(Έ56x 8P$Na"p wU )c LWy<$'^Wްx41D" =A3\s>gq%(*<`2Y(Դk08bVI8Hf  .?,8! }q$C ɢBZl1Wq$Q xA愶ٲAwxAf|~ӳ% ~4Y>Z CQGde -2s_xAhУ`Fyv;3Ş_~ic\ ^uv K ,s\X Df!׸t%b x3!4D#L)D V9&3UE0yxf'.R@y<X#p c"z[FtZgr"Xxe@J#[(!PόA]bhɜL)llϞL28$;ǂ?`p(OP,z- Pޒv 4DF3088NZ1[2PpZgKTKbU tNT-2hpPP"q6f0VPqbsP ә:k r%CfฅuKS[sG!뒤u02gq{N1ivY)QNNӻ px6xj1\lM>,̣p|Irgz}޸/BV}Ηh`tz7Gyu:^R@I5tBo-.B_ 1WxO.sOKȇ)W{Ç{Ev6TK0 xX_=G7"d Eē%k6p[xe5 8 MT`8h=cMց> @\NmZ{1U6\lkxu-2;p{K8p6 n^2dHW ᧤s۸M/dRdL\%W"UpFx)x#f:LV%D uAX#;nP-0]=} s+<&=3߯DԔNN\,\?Vʽqfk< Y%"'\ƩPG{y"+qK(~*#b %wi^iY<9 OVyoVWVGr,l/}*YS$,7#TcA D'Ha,>qnS%kTͬ"RKSد#8a[<1nr=x$zJ~h:U<ճ2ʠ-'Xa5qdgϨA˰ҤOޔ$t*AW$ȺLZ "m`.~Ǣ" vBZHT$ n)$ʼ) UކH?;p|Nb?;qM;G[Dk^Nz[q`:/xe;^>;띕zpv ֦O7kZ|X5}EjkF1^spu^ !qd霾l5A_0u y_moVm_ğUSR_Y),W{tЫys'>hB靕1r5[~tvPSb_ufͿK, endstream endobj 2420 0 obj << /Type /ObjStm /N 100 /First 1062 /Length 5589 /Filter /FlateDecode >> stream xڕ]mo#7_7hN hl%ŖI\8hl#Ķ&_[Ml ]O=EݔB91jD9%#|#M|`#B$O|D4IR>Z-VKJ?MU#F)h0A3j}116℀[G I#QqF:LΊ SUFV`#)! H*>l)!K.GJ*H) 53BpCT#m i.0#yre-AaɪsH! i? QXÄ ~Td5"@Mm%33$:fCw+1HMIۘ`fJ"&$qXYP֛T b+OTU QmQD 7x,D4kifJ ,`WۘJ@ ڊ* J;oڊH="\KZM[2N͢ƙ^΅ޘrj!uyp҉@fAh7!PMT֏0 dP,1xU`n/flu;X[ba濎׳!E3\n\M#Y5NWŲ)l*|bgevl|?L{~tB/Vf)$pKoe.ZM{mw{>ힿGPjA,l}Uzn5Oy{j/lvGo~^!x`1lmشWClmFzSϼs6Q:,q+q+G O#=B fpIqO9(ʏ&CPA>E&րBp؂z]`QJ@L')<տ?lXSCGJr͎b%xyCM1 Og#Q&I.mGBdX {bYxLtRIc z-8 U)e>J]?_7vy/=>v磫$\Uw.--SC^=>i{qt n=tXmۓkpO⢐ McjEKgIu:"Y'B84S4\­f Wj;Kt4?3D=JA6__73J*LJ*wGRn%}.24ĩL%(]<pJV_{DīDHDauV{E5MA|;df KqH,AƒvR ۃZ==O 茆[iSsʤ4/&wE[p/ hyp|4%Jb  qᱶ>!fݿͰKg(J Opyg{;yF80ּQlՉx&~F,ܩj!^Jhy i3 JQV LHN)3$JT1<+T\kv*ܘI9*Iހ&y)["wXΤ(#ˑ s8R)yGrЍ͐jO;K|g8l9+~%w:ŏ<`ЬS (pI8Y 8ɽaһdkq=-_^5РKB*Z-~=؋8F/GpS'M8]Q8a4MJ G@k *jQJ#IRP/۳ \o@t$<c#$=`zV{ K/2i{Z^j$.U,:Yy~ ͟,Tt2N~H FNmx͚|Cm6O-pQ [F᧟dp!Y4;hniX(0)Aج̱P9a" B[]tQ~Ed q%3 !u_g9J|Tx##'kK+>| OQ}A9!4N(҅աt8^YZx8M:aB[ !wG2i*5|Q%PK-x߸B|fompMgsš\YUtqBFݭ7cn7Hm 'TB܈`ҽgSNOLyԄq?(%xdLu(YN}3NU%5M"#wY%4{Y҅t{9 q.|/ E w88m!jDu(YAKg*amb<aw=XzC ¯4ڻh~( s PClp Ls 2 -] ,C_aɡ?6~/|IoRV)뎔A|?=>݃K*tz% m[I\Ag q/hj`#[-QZ V(-PUk@XZ4,,fhN '(2-ѸHV }`I~_&@d J{6#6{)iNr/Yqޡ^!×踃 fUP/ LGߺ4:s_qqwfJouV}E(~{`VMmKo endstream endobj 2521 0 obj << /Type /ObjStm /N 100 /First 1048 /Length 4420 /Filter /FlateDecode >> stream xڅ\%mWezqI")0A^8cG~s_jPX䡤#bU~W_G^X"/E_{6z^W6_MC*^׽]ǺRz-՚RcOjye!uaeckxJ eCKtZ_WZkehO}S^:S/ -]YˤWzl].V,fz5ە񚣧5TMk9+h~oz\$j,B>cٰ+җ%Qp+5[]ql55Z2&W[d.CnuAZ ".y6yrYscˑ֣"-Cކ5RpeM /k2}Y@_4˚D5r > ŲV.k1"5<-+ /ͪ \i-5bY)m=׮em/rYd].k~-岶^.kcd].k>WGZ˚e-ڲ.hv-kaj[+Z[juzjkU[֖wٹ uBnfi}_?Ͽ?~j?i_|}/OdK-c$Wj-\LRZzʼ˯=DLW{3qs(3e |wO0Ma.Ѩad{%2Y+٤l$7&%(>j/f+xvJ`(Yaǻ"ߟ~Zq?l!XArHA#IAWݘdX<ܔ2ؒveYlQSlPLNs֣DTUxEe`ίD !E*+(C PeR|#xW<†ܒ6ꖬЁ7E*N0ic&0YTEe*nFؠTpHcRRPY= J 4\Vs}܌(89i,sQ`Oej? y܅LB/$ c[8[6lx+X`t0Ȉ |iGX=:B6C i$}ъ"2Bսr2NuV9p!'lH ! d#lC^)!)^)9uL i! $e$2zm#{ f!#ܴN_(d:FFtk:r³$ l dm]]ZG`Z-F&/dĩ$*2HBu<'q:e0}EfGB$)PJ:B)ɜ"Ϥ, ܴcAMXi5HJ6!))@B宫-TZ'X[0(I"㤄oR|(](S9=ܴ:[JHm)ٖt%Qdܐ7r:nF~EJmT]6jJH^nZG`T#F.N u 1:FibX#\$:ˏm\ZG`EFȮ9;#0d,F-Q,;˄ זd,+[C0dYuؒ$cIܴj1D=Zٳ%I'+FbTϬK \[,dENUQd#|B?)Qe"d+${ f,(yyƵX2UNB!td Ȓ &6ůlP6P9@ՙtI)'iXI:\fPRL)1&L&)!a>9xilNiNRiκi$y"zu&}R$}Y>I "Y,L5F_sr:3B\ &IWZYim#$XG`=`놙fSL)!ݪ=Ykd笵̊^nZG`FcZ v쫵b ͩ(iG7#Ze!M EYG'# Iv[8W;[J'l8Q#Cij0u~CuI'3ժXةѶS4{ Jx; ot2i^ d2EN~4#AږdN'+l e( 53YJf:ۆ:=m)R;ëPu4Q(餸 /( rexc\$|Ԏ: @bAΆZAΦV0QiͬZJ|Ԏ6I<jyXa:dfz۩i:0p>[Lj$mSDpH.8UXضO; d32҃L |3A'hşc c2L yc7XD>]|J@N bhy⼱sY{&$77B'Fکs- YjGxxLMcDVqOd{2$s}ܓ! }}IIR<ɐ I+ɐ$ I*`l/&=㑚g R)GSoj`#]쪯ݼ[5| >Y2?݅/v#{-rvK{I| endstream endobj 2671 0 obj << /Author()/Title(GNU SASL API Reference Manual)/Subject()/Creator(DBLaTeX-0.3.10)/Producer(pdfTeX-1.40.19)/Keywords() /CreationDate (D:20190802133108+02'00') /ModDate (D:20190802133108+02'00') /Trapped /False /PTEX.Fullbanner (This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) kpathsea version 6.3.1/dev) >> endobj 2622 0 obj << /Type /ObjStm /N 49 /First 480 /Length 1762 /Filter /FlateDecode >> stream xڥXMoFW1>P~nap؆ ˌCTUQRzDir{#! JeXɧ)9o/b^ofqT1D l$J$2J[O)67mfnt%Ʌ۫A%!0\ dO B{sAʖͱF' 畵&ẠsMe+>'`Q6.rN)m )qEjoQhYBrbɂFU"2cH٘2+"0D*Ò((-+N(Xtrr4>Vf9}FJN&j򒊲^*^*﯒Tw/Q5t4n٧>9eRliRڔ{)Rq'IB8=rn `kCJEOIv/%PmWO]֙<5[gV} 1 Umٺ~ZHj`{Igɦz_3[MoUt>?.e;{YbVA@Ak^>͊t%v{v{Y~1br}[IŻb2r~vsg`,vw3`||ҟ0Hݞмi]}N$4f^uX|~7UBj Gbs|XMZ*2]Ew;(vPp2w;ˏCKnTh9]IgUAVZ gB`H>BjHt8vxփ TP)Sȳ~>/ԆQFmnzQ7_v龒׋89;_0$i\0U2Lawu'~Ma e-hlMY f0Å/,0e)3Laʌx&o1< Ofx2ȷO%3,a KAK>t f0Ç>a~{Y~ޖ{ϲRsy?=oפ/}-ymRot{yyTX&/wռ99_=?6K nǫSoOO? Z%Cda endstream endobj 2672 0 obj << /Type /XRef /Index [0 2673] /Size 2673 /W [1 3 1] /Root 2670 0 R /Info 2671 0 R /ID [ ] /Length 5901 /Filter /FlateDecode >> stream x%i%kcsNWϾl=ֳ,}g/w h //.K| *!A#I4*e@1$1B"H7 ˏs,9UuϝDo"m "LF+^ob9qqEVxĔuk bcVcq41<6_&x;̜N cSolͿ26 ̍Qo0C#^.D$a9Fn=Ǵ3Ǵh_b!wonVbqpO/ FqO5^,1 z>F7ݲH~,b_᧷au4/Zb[Lcil1-3l [VcjlY-e5V8V؊[Lciœj4ywm&a1`)60bf9V`Vc b6وM^!FGq'ppZSx<`go׽+k۸5x^ Oo|x95c̼;|BQaCg~E33333-|Nk9g;3ي~ cyyyyf#˄46ɶ@LLLLL̖)I<2}3}3}3#K2}Q'axCgfggggareg!|&r&rfʔΔΔC0tfff`dadaǼ;ދșș5S:S:S:S:9fJgJg"g&M!mr6 SUUUUUUU[+5Z+UUU]k*?z3Zέυv}OSU[[[[[[S[3ռU=mA7i[i[i[i[i[i[eڅދu***ZӭZӭjjj3|x C~+w+wka,?n)К)Z)К)ZyКyК)І)`ֵ_d5o} 0(6G\),Xs˰+ k؂c~wëm6l.>,Ys{0 L8SB_^4..  -]m}=C<<·X?o1=Ôp2oqP ۿr(<&HQ`$hQԫr+(肎95ZOSuHՑ#fc[UGFҎI;v$HQz?z(Yq$(ݰDun$GjEr=wq$H#ǎQbx#GJ]#GJ:ct7H#Gr›wdI;r:v6z9< DZ`Ҍ D衏&=+0.b,R,rLce߿~yVc bcv,,3a[3؆؅؃؇8Y!E\y^8838s[Gx{!O OzWpB m]>!€=S|·Af#̈ƌḧ71č!n qcC71M81ldc$p p61 ((ƨ5F1⍡k ]c5z41Al bQc$#H6F1ldec8p66ƴ11micLc&<@`1K ˱+=LDտlr5lc Vhc6Vhc6Vhc%7 ƺlƺlƺl6Jn,Bl,Bl,Blfgy0k0؄؂6l.> 8N$N4,<.".2*:n&n6.a O 5^%^5-=>#'|.Q㆐04j?&˅ם[8xWL`v0.:dJlר<:KO <5xv}n-lN \MS{aV* SiiiiiiiiiiiiiiDiADiADiADiADiADiADiADiADiAD{6KiC7+RJ+HJHJc vb?.&^`aLK p 6=*lVy<,LE$1ݰK@i(]+<0V~PJ[Ai+(mVPMɔ~PJAi?([ތs3l3vPJ;Cig( )6ҦPJBiS(m VP~L!̿Q ʦ{.D),bX˰+`%O[ӫw|auOOc#bmW6a3`۰;`/ލ==L߇'؏8CLQ )9تm<ӗ8okMM=>F6=xW%ǓxNOUM<"'s]UU=A~xDDD)(((HTMTM}"E)?tt3 Q:Q:1U}99)((dJNM̒,DNHINF hhH|KMMMM|%&&!ݨ|&"'&_I@DDDDDDiM}IENDNMMgȉU~+KR Ϣ ,m%JQ$+++˹R2*Ҽax>+}+}++ҷҷҷҷRZw"W"W"W"W"W"WPe9WTy%w%w%m%mu}+Qߝ ϬooeV"W"W"W"WoeTrWrWVVVVVVVVVVVVVm%r"ZZC!U+U+U/"ԝcaޗo wKgfW`%̮Z &l٭6ln^CC8 G opH{{>p1{gpp-fC˸븁[p2{wqsp30,gk+K(=>#aE=2o$b;u:P:U:U:U:] ~o#DNENeL]`JLLLLLHHH5JE2OTttttZUttj;a^T~~~*r*rjjjW*|: tt*r*rXttttttttttttjjjZ*m*m*m*m*m[ooo5LTINNNNNNNNCiiӐJk}ȝȝȝȝܙ/)))))))))iY۩کڅoک-:i;i;i;i;;3:ӼӼ V.ǢntgMwrwrwrwrwrwrwfIwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwK&G$boe+,˰+ثF>FlBh~2?es4­ߙ6|؁؉]؃؋8e38s8 jx݋ǣpR4q*ܺMޙ Dpj4 E?)ܺWxpr->'  0`(PC  0`(PC  0`(PC nq!ݡ~,~ }gx q'!P(CQ E".vvWkC#>w[? }5{x3?" }uwÇx_h<|'xgxx };wh M¡94Y&PC(^/~ۿp+B} 0SXXXXXXX؀il&ll a;v`'va7`/a?`qqGq ǣx_oy{ endstream endobj startxref 402961 %%EOF gsasl-1.8.1/doc/reference/version.xml.in0000644000000000000000000000001212222241124015021 00000000000000@VERSION@ gsasl-1.8.1/doc/reference/Makefile.am0000644000000000000000000000707512222241124014261 00000000000000## Process this file with automake to produce Makefile.in # We require automake 1.6 at least. AUTOMAKE_OPTIONS = 1.6 # This is a blank Makefile.am for using gtk-doc. # Copy this to your project's API docs directory and modify the variables to # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples # of using the various options. # The name of the module, e.g. 'glib'. DOC_MODULE=$(PACKAGE) # Uncomment for versioned docs and specify the version of the module, e.g. '2'. #DOC_MODULE_VERSION=2 # The top-level SGML file. You can change this if you want to. DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml # Directories containing the source code. # gtk-doc will search all .c and .h files beneath these paths # for inline comments documenting functions and macros. # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk DOC_SOURCE_DIR=../../lib/src # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS= # Extra options to supply to gtkdoc-scan. # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" SCAN_OPTIONS=--deprecated-guards=GSASL_COMPAT_H --ignore-decorators=GSASL_API # Extra options to supply to gtkdoc-mkdb. # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml MKDB_OPTIONS=--xml-mode --output-format=xml # Extra options to supply to gtkdoc-mktmpl # e.g. MKTMPL_OPTIONS=--only-section-tmpl MKTMPL_OPTIONS= # Extra options to supply to gtkdoc-mkhtml MKHTML_OPTIONS= # Extra options to supply to gtkdoc-fixref. Not normally needed. # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html FIXXREF_OPTIONS= # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c HFILE_GLOB=$(top_srcdir)/lib/src/*.h CFILE_GLOB=$(top_srcdir)/lib/src/*.c # Extra header to include when scanning, which are not under DOC_SOURCE_DIR # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h EXTRA_HFILES= # Header files or dirs to ignore when scanning. Use base file/dir names # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code IGNORE_HFILES=internal.h # Images to copy into HTML directory. # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png HTML_IMAGES=../abstraction.png ../controlflow.png ../controlflow2.png # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). # e.g. content_files=running.sgml building.sgml changes-2.0.sgml content_files= # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded # These files must be listed here *and* in content_files # e.g. expand_content_files=running.sgml expand_content_files= # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. # Only needed if you are using gtkdoc-scangobj to dynamically query widget # signals and properties. # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) GTKDOC_CFLAGS= GTKDOC_LIBS= # This includes the standard gtk-doc make rules, copied by gtkdocize. include $(top_srcdir)/gtk-doc.make # Other files to distribute # e.g. EXTRA_DIST += version.xml.in EXTRA_DIST += # Files not to distribute # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt #DISTCLEANFILES += # Comment this out if you want 'make check' to test you doc status # and run some sanity checks if ENABLE_GTK_DOC TESTS_ENVIRONMENT = cd $(srcdir) && \ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) #TESTS = $(GTKDOC_CHECK) endif gsasl-1.8.1/doc/reference/gsasl-sections.txt0000644000000000000000000001020713521017733015725 00000000000000

gsasl GSASL_API GSASL_VERSION GSASL_VERSION_MAJOR GSASL_VERSION_MINOR GSASL_VERSION_PATCH GSASL_VERSION_NUMBER Gsasl_rc Gsasl_qop Gsasl_cipher Gsasl_saslprep_flags Gsasl Gsasl_session Gsasl_property Gsasl_callback_function gsasl_init gsasl_done gsasl_check_version gsasl_callback_set gsasl_callback gsasl_callback_hook_set gsasl_callback_hook_get gsasl_session_hook_set gsasl_session_hook_get gsasl_property_set gsasl_property_set_raw gsasl_property_get gsasl_property_fast gsasl_client_mechlist gsasl_client_support_p gsasl_client_suggest_mechanism gsasl_server_mechlist gsasl_server_support_p gsasl_client_start gsasl_server_start gsasl_step gsasl_step64 gsasl_finish gsasl_encode gsasl_decode gsasl_mechanism_name gsasl_strerror gsasl_strerror_name gsasl_saslprep gsasl_simple_getpass gsasl_base64_to gsasl_base64_from gsasl_nonce gsasl_random gsasl_md5 gsasl_hmac_md5 gsasl_sha1 gsasl_hmac_sha1 gsasl_free
gsasl-compat gsasl_client_listmech gsasl_server_listmech gsasl_client_step gsasl_client_step_base64 gsasl_server_step gsasl_server_step_base64 gsasl_client_finish gsasl_server_finish gsasl_client_ctx_get gsasl_server_ctx_get gsasl_client_application_data_set gsasl_client_application_data_get gsasl_server_application_data_set gsasl_server_application_data_get gsasl_randomize gsasl_ctx_get gsasl_encode_inline gsasl_decode_inline gsasl_application_data_set gsasl_application_data_get gsasl_appinfo_set gsasl_appinfo_get gsasl_server_suggest_mechanism gsasl_base64_encode gsasl_base64_decode gsasl_stringprep_nfkc gsasl_stringprep_saslprep gsasl_stringprep_trace gsasl_md5pwd_get_password Gsasl_client_callback_anonymous Gsasl_client_callback_authentication_id Gsasl_client_callback_authorization_id Gsasl_client_callback_password Gsasl_client_callback_passcode Gsasl_client_callback_pin Gsasl_client_callback_service Gsasl_client_callback_qop Gsasl_client_callback_maxbuf Gsasl_client_callback_realm Gsasl_server_callback_retrieve Gsasl_server_callback_validate Gsasl_server_callback_gssapi Gsasl_server_callback_securid Gsasl_server_callback_cram_md5 Gsasl_server_callback_digest_md5 Gsasl_server_callback_service Gsasl_server_callback_external Gsasl_server_callback_anonymous Gsasl_server_callback_realm Gsasl_server_callback_qop Gsasl_server_callback_maxbuf Gsasl_server_callback_cipher gsasl_client_callback_authorization_id_set gsasl_client_callback_authorization_id_get gsasl_client_callback_authentication_id_set gsasl_client_callback_authentication_id_get gsasl_client_callback_anonymous_set gsasl_client_callback_anonymous_get gsasl_client_callback_password_set gsasl_client_callback_password_get gsasl_client_callback_passcode_set gsasl_client_callback_passcode_get gsasl_client_callback_pin_set gsasl_client_callback_pin_get gsasl_client_callback_service_set gsasl_client_callback_service_get gsasl_client_callback_qop_set gsasl_client_callback_qop_get gsasl_client_callback_maxbuf_set gsasl_client_callback_maxbuf_get gsasl_client_callback_realm_set gsasl_client_callback_realm_get gsasl_server_callback_validate_set gsasl_server_callback_validate_get gsasl_server_callback_retrieve_set gsasl_server_callback_retrieve_get gsasl_server_callback_cram_md5_set gsasl_server_callback_cram_md5_get gsasl_server_callback_digest_md5_set gsasl_server_callback_digest_md5_get gsasl_server_callback_external_set gsasl_server_callback_external_get gsasl_server_callback_anonymous_set gsasl_server_callback_anonymous_get gsasl_server_callback_realm_set gsasl_server_callback_realm_get gsasl_server_callback_qop_set gsasl_server_callback_qop_get gsasl_server_callback_maxbuf_set gsasl_server_callback_maxbuf_get gsasl_server_callback_cipher_set gsasl_server_callback_cipher_get gsasl_server_callback_securid_set gsasl_server_callback_securid_get gsasl_server_callback_gssapi_set gsasl_server_callback_gssapi_get gsasl_server_callback_service_set gsasl_server_callback_service_get
gsasl-mech Gsasl_init_function Gsasl_done_function Gsasl_start_function Gsasl_step_function Gsasl_finish_function Gsasl_code_function Gsasl_mechanism_functions Gsasl_mechanism gsasl_register
mechtools
gsasl-1.8.1/doc/reference/Makefile.in0000644000000000000000000021665713521017137014312 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # -*- mode: makefile -*- # # gtk-doc.make - make rules for gtk-doc # Copyright (C) 2003 James Henstridge # 2004-2007 Damon Chaplin # 2007-2017 Stefan Sauer # # 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 3 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, see . #################################### # Everything below here is generic # #################################### 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 = doc/reference ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = version.xml 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 = 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) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.xml.in \ $(top_srcdir)/gtk-doc.make DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ # We require automake 1.6 at least. AUTOMAKE_OPTIONS = 1.6 # This is a blank Makefile.am for using gtk-doc. # Copy this to your project's API docs directory and modify the variables to # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples # of using the various options. # The name of the module, e.g. 'glib'. DOC_MODULE = $(PACKAGE) # Uncomment for versioned docs and specify the version of the module, e.g. '2'. #DOC_MODULE_VERSION=2 # The top-level SGML file. You can change this if you want to. DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml # Directories containing the source code. # gtk-doc will search all .c and .h files beneath these paths # for inline comments documenting functions and macros. # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk DOC_SOURCE_DIR = ../../lib/src # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS = # Extra options to supply to gtkdoc-scan. # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" SCAN_OPTIONS = --deprecated-guards=GSASL_COMPAT_H --ignore-decorators=GSASL_API # Extra options to supply to gtkdoc-mkdb. # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml MKDB_OPTIONS = --xml-mode --output-format=xml # Extra options to supply to gtkdoc-mktmpl # e.g. MKTMPL_OPTIONS=--only-section-tmpl MKTMPL_OPTIONS = # Extra options to supply to gtkdoc-mkhtml MKHTML_OPTIONS = # Extra options to supply to gtkdoc-fixref. Not normally needed. # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html FIXXREF_OPTIONS = # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c HFILE_GLOB = $(top_srcdir)/lib/src/*.h CFILE_GLOB = $(top_srcdir)/lib/src/*.c # Extra header to include when scanning, which are not under DOC_SOURCE_DIR # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h EXTRA_HFILES = # Header files or dirs to ignore when scanning. Use base file/dir names # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code IGNORE_HFILES = internal.h # Images to copy into HTML directory. # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png HTML_IMAGES = ../abstraction.png ../controlflow.png ../controlflow2.png # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). # e.g. content_files=running.sgml building.sgml changes-2.0.sgml content_files = # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded # These files must be listed here *and* in content_files # e.g. expand_content_files=running.sgml expand_content_files = # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. # Only needed if you are using gtkdoc-scangobj to dynamically query widget # signals and properties. # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) GTKDOC_CFLAGS = GTKDOC_LIBS = @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute # We set GPATH here; this gives us semantics for GNU make # which are more like other make's VPATH, when it comes to # whether a source that is a target of one rule is then # searched for in VPATH/GPATH. # GPATH = $(srcdir) TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) SETUP_FILES = \ $(content_files) \ $(expand_content_files) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt # This includes the standard gtk-doc make rules, copied by gtkdocize. # Other files to distribute # e.g. EXTRA_DIST += version.xml.in EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \ html-build.stamp pdf-build.stamp \ sgml.stamp html.stamp pdf.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ $(DOC_MODULE).hierarchy \ $(DOC_MODULE).interfaces \ $(DOC_MODULE).prerequisites \ $(DOC_MODULE).signals REPORT_FILES = \ $(DOC_MODULE)-undocumented.txt \ $(DOC_MODULE)-undeclared.txt \ $(DOC_MODULE)-unused.txt CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test @GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = @GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp @GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = @GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp #### setup #### GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_@AM_V@) GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_@AM_DEFAULT_V@) GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build"; #### scan #### GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_@AM_V@) GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_@AM_DEFAULT_V@) GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files"; GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_@AM_V@) GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@) GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects"; #### xml #### GTK_DOC_V_XML = $(GTK_DOC_V_XML_@AM_V@) GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_@AM_DEFAULT_V@) GTK_DOC_V_XML_0 = @echo " DOC Building XML"; #### html #### GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_@AM_V@) GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_@AM_DEFAULT_V@) GTK_DOC_V_HTML_0 = @echo " DOC Building HTML"; GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_@AM_V@) GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_@AM_DEFAULT_V@) GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references"; #### pdf #### GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_@AM_V@) GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_@AM_DEFAULT_V@) GTK_DOC_V_PDF_0 = @echo " DOC Building PDF"; # Files not to distribute # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt #DISTCLEANFILES += # Comment this out if you want 'make check' to test you doc status # and run some sanity checks @ENABLE_GTK_DOC_TRUE@TESTS_ENVIRONMENT = cd $(srcdir) && \ @ENABLE_GTK_DOC_TRUE@ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ @ENABLE_GTK_DOC_TRUE@ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(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 doc/reference/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/reference/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_srcdir)/gtk-doc.make $(am__empty): $(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): version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: 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 $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am @ENABLE_GTK_DOC_FALSE@all-local: all-am: Makefile all-local installdirs: 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: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 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-generic clean-libtool clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-local dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-dvi: install-dvi-am install-dvi-am: install-exec-am: 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 Makefile maintainer-clean-am: distclean-am maintainer-clean-generic \ maintainer-clean-local mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local .MAKE: install-am install-strip .PHONY: all all-am all-local check check-am clean clean-generic \ clean-libtool clean-local cscopelist-am ctags-am dist-hook \ distclean distclean-generic distclean-libtool distclean-local \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-data-local \ 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 \ maintainer-clean-local mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-local .PRECIOUS: Makefile gtkdoc-check.test: Makefile $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \ echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \ chmod +x $@ all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) .PHONY: all-gtk-doc @ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) $(REPORT_FILES): sgml-build.stamp setup-build.stamp: -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ if test "x$$files" != "x" ; then \ for file in $$files ; do \ destdir=`dirname $(abs_builddir)/$$file`; \ test -d "$$destdir" || mkdir -p "$$destdir"; \ test -f $(abs_srcdir)/$$file && \ cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ done; \ fi; \ fi $(AM_V_at)touch setup-build.stamp scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(GTK_DOC_V_SCAN)_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ scanobj_options=""; \ gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$$?" = "0"; then \ if test "x$(V)" = "x1"; then \ scanobj_options="--verbose"; \ fi; \ fi; \ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ else \ for i in $(SCANOBJ_FILES) ; do \ test -f $$i || touch $$i ; \ done \ fi $(AM_V_at)touch scan-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp @true sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent $(GTK_DOC_V_XML)_source_dir='' ; \ for i in $(DOC_SOURCE_DIR) ; do \ _source_dir="$${_source_dir} --source-dir=$$i" ; \ done ; \ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) $(AM_V_at)touch sgml-build.stamp sgml.stamp: sgml-build.stamp @true $(DOC_MAIN_SGML_FILE): sgml-build.stamp @true xml/gtkdocentities.ent: Makefile $(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ echo ""; \ ) > $@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ mkhtml_options=""; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$$?" = "0"; then \ if test "x$(V)" = "x1"; then \ mkhtml_options="$$mkhtml_options --verbose"; \ fi; \ fi; \ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ if test "$$?" = "0"; then \ mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ fi; \ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) -@test "x$(HTML_IMAGES)" = "x" || \ for file in $(HTML_IMAGES) ; do \ test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ test -f $$file && cp $$file $(abs_builddir)/html; \ done; $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) $(AM_V_at)touch html-build.stamp pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ mkpdf_options=""; \ gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ if test "$$?" = "0"; then \ if test "x$(V)" = "x1"; then \ mkpdf_options="$$mkpdf_options --verbose"; \ fi; \ fi; \ if test "x$(HTML_IMAGES)" != "x"; then \ for img in $(HTML_IMAGES); do \ part=`dirname $$img`; \ echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ if test $$? != 0; then \ mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ fi; \ done; \ fi; \ gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) $(AM_V_at)touch pdf-build.stamp ############## clean-local: @rm -f *~ *.bak @rm -rf .libs @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \ rm -f $(DOC_MODULE).types; \ fi @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \ rm -f $(DOC_MODULE)-sections.txt; \ fi distclean-local: @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ rm -f $(SETUP_FILES) $(DOC_MODULE).types; \ fi maintainer-clean-local: @rm -rf xml html install-data-local: @installfiles=`echo $(builddir)/html/*`; \ if test "$$installfiles" = '$(builddir)/html/*'; \ then echo 1>&2 'Nothing to install' ; \ else \ if test -n "$(DOC_MODULE_VERSION)"; then \ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ else \ installdir="$(DESTDIR)$(TARGET_DIR)"; \ fi; \ $(mkinstalldirs) $${installdir} ; \ for i in $$installfiles; do \ echo ' $(INSTALL_DATA) '$$i ; \ $(INSTALL_DATA) $$i $${installdir}; \ done; \ if test -n "$(DOC_MODULE_VERSION)"; then \ mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ fi; \ $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ fi uninstall-local: @if test -n "$(DOC_MODULE_VERSION)"; then \ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ else \ installdir="$(DESTDIR)$(TARGET_DIR)"; \ fi; \ rm -rf $${installdir} # # Require gtk-doc when making dist # @HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs @HAVE_GTK_DOC_FALSE@dist-check-gtkdoc: @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***" @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***" @HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***" @HAVE_GTK_DOC_FALSE@ @false dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local @mkdir $(distdir)/html @cp ./html/* $(distdir)/html @-cp ./$(DOC_MODULE).pdf $(distdir)/ @-cp ./$(DOC_MODULE).types $(distdir)/ @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ @cd $(distdir) && rm -f $(DISTCLEANFILES) @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html .PHONY : dist-hook-local docs #TESTS = $(GTKDOC_CHECK) # 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: gsasl-1.8.1/doc/gsasl-api-error-labels.texi0000644000000000000000000001677413521017412015443 00000000000000@c This file is automatically generated. DO NOT EDIT! @c Instead, edit print-errors.c and re-run. @item @code{GSASL_OK} Libgsasl success @item @code{GSASL_NEEDS_MORE} SASL mechanism needs more data @item @code{GSASL_UNKNOWN_MECHANISM} Unknown SASL mechanism @item @code{GSASL_MECHANISM_CALLED_TOO_MANY_TIMES} SASL mechanism called too many times @item @code{GSASL_TOO_SMALL_BUFFER} SASL function needs larger buffer (internal error) @item @code{GSASL_FOPEN_ERROR} Could not open file in SASL library @item @code{GSASL_FCLOSE_ERROR} Could not close file in SASL library @item @code{GSASL_MALLOC_ERROR} Memory allocation error in SASL library @item @code{GSASL_BASE64_ERROR} Base 64 coding error in SASL library @item @code{GSASL_CRYPTO_ERROR} Low-level crypto error in SASL library @item @code{GSASL_NEED_CLIENT_ANONYMOUS_CALLBACK} SASL mechanism needs gsasl_client_callback_anonymous() callback (application error) @item @code{GSASL_NEED_CLIENT_PASSWORD_CALLBACK} SASL mechanism needs gsasl_client_callback_password() callback (application error) @item @code{GSASL_NEED_CLIENT_PASSCODE_CALLBACK} SASL mechanism needs gsasl_client_callback_passcode() callback (application error) @item @code{GSASL_NEED_CLIENT_PIN_CALLBACK} SASL mechanism needs gsasl_client_callback_pin() callback (application error) @item @code{GSASL_NEED_CLIENT_AUTHORIZATION_ID_CALLBACK} SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error) @item @code{GSASL_NEED_CLIENT_AUTHENTICATION_ID_CALLBACK} SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error) @item @code{GSASL_NEED_CLIENT_SERVICE_CALLBACK} SASL mechanism needs gsasl_client_callback_service() callback (application error) @item @code{GSASL_NEED_SERVER_VALIDATE_CALLBACK} SASL mechanism needs gsasl_server_callback_validate() callback (application error) @item @code{GSASL_NEED_SERVER_CRAM_MD5_CALLBACK} SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error) @item @code{GSASL_NEED_SERVER_DIGEST_MD5_CALLBACK} SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error) @item @code{GSASL_NEED_SERVER_EXTERNAL_CALLBACK} SASL mechanism needs gsasl_server_callback_external() callback (application error) @item @code{GSASL_NEED_SERVER_ANONYMOUS_CALLBACK} SASL mechanism needs gsasl_server_callback_anonymous() callback (application error) @item @code{GSASL_NEED_SERVER_REALM_CALLBACK} SASL mechanism needs gsasl_server_callback_realm() callback (application error) @item @code{GSASL_NEED_SERVER_SECURID_CALLBACK} SASL mechanism needs gsasl_server_callback_securid() callback (application error) @item @code{GSASL_NEED_SERVER_SERVICE_CALLBACK} SASL mechanism needs gsasl_server_callback_service() callback (application error) @item @code{GSASL_NEED_SERVER_GSSAPI_CALLBACK} SASL mechanism needs gsasl_server_callback_gssapi() callback (application error) @item @code{GSASL_NEED_SERVER_RETRIEVE_CALLBACK} SASL mechanism needs gsasl_server_callback_retrieve() callback (application error) @item @code{GSASL_UNICODE_NORMALIZATION_ERROR} Failed to perform Unicode Normalization on string. @item @code{GSASL_SASLPREP_ERROR} Could not prepare internationalized (non-ASCII) string. @item @code{GSASL_MECHANISM_PARSE_ERROR} SASL mechanism could not parse input @item @code{GSASL_AUTHENTICATION_ERROR} Error authenticating user @item @code{GSASL_CANNOT_GET_CTX} Cannot get internal library handle (library error) @item @code{GSASL_INTEGRITY_ERROR} Integrity error in application payload @item @code{GSASL_NO_MORE_REALMS} No more realms available (non-fatal) @item @code{GSASL_NO_CLIENT_CODE} Client-side functionality not available in library (application error) @item @code{GSASL_NO_SERVER_CODE} Server-side functionality not available in library (application error) @item @code{GSASL_GSSAPI_RELEASE_BUFFER_ERROR} GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error. @item @code{GSASL_GSSAPI_IMPORT_NAME_ERROR} GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames. @item @code{GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR} GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions. @item @code{GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR} GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions. @item @code{GSASL_GSSAPI_UNWRAP_ERROR} GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption. @item @code{GSASL_GSSAPI_WRAP_ERROR} GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library. @item @code{GSASL_GSSAPI_ACQUIRE_CRED_ERROR} GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server. @item @code{GSASL_GSSAPI_DISPLAY_NAME_ERROR} GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data. @item @code{GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR} Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented. @item @code{GSASL_KERBEROS_V5_INIT_ERROR} Kerberos V5 initialization failure. @item @code{GSASL_KERBEROS_V5_INTERNAL_ERROR} Kerberos V5 internal error. @item @code{GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE} SecurID needs additional passcode. @item @code{GSASL_SECURID_SERVER_NEED_NEW_PIN} SecurID needs new pin. @item @code{GSASL_INVALID_HANDLE} The provided library handle was invalid (application error) @item @code{GSASL_NO_CALLBACK} No callback specified by caller (application error). @item @code{GSASL_NO_ANONYMOUS_TOKEN} Authentication failed because the anonymous token was not provided. @item @code{GSASL_NO_AUTHID} Authentication failed because the authentication identity was not provided. @item @code{GSASL_NO_AUTHZID} Authentication failed because the authorization identity was not provided. @item @code{GSASL_NO_PASSWORD} Authentication failed because the password was not provided. @item @code{GSASL_NO_PASSCODE} Authentication failed because the passcode was not provided. @item @code{GSASL_NO_PIN} Authentication failed because the pin code was not provided. @item @code{GSASL_NO_SERVICE} Authentication failed because the service name was not provided. @item @code{GSASL_NO_HOSTNAME} Authentication failed because the host name was not provided. @item @code{GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR} GSSAPI error encapsulating token. @item @code{GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR} GSSAPI error decapsulating token. @item @code{GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR} GSSAPI error getting OID for SASL mechanism name. @item @code{GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR} GSSAPI error testing for OID in OID set. @item @code{GSASL_GSSAPI_RELEASE_OID_SET_ERROR} GSSAPI error releasing OID set. @item @code{GSASL_NO_CB_TLS_UNIQUE} Authentication failed because a tls-unique CB was not provided. @item @code{GSASL_NO_SAML20_IDP_IDENTIFIER} Callback failed to provide SAML20 IdP identifier. @item @code{GSASL_NO_SAML20_REDIRECT_URL} Callback failed to provide SAML20 redirect URL. @item @code{GSASL_NO_OPENID20_REDIRECT_URL} Callback failed to provide OPENID20 redirect URL. gsasl-1.8.1/doc/controlflow2.png0000664000000000000000000024457211746471770013464 00000000000000PNG  IHDR |)RsBITO pHYse IDATxg\3 7NFG(D@A) .vE]E{E*fC]E(ł Ԕy?{JI7LΜ3!HD.[\\\XXXPPPXXf+******((( PRRe,@4HH|ӧO p.79NWVVLLF0{}}=ݺu[L&SKK/ԁ Ϗ?>}Duttpc```2t:G%I UUUL&TAA ,:$o߾K^R'r~,--̌ $βW^>y$77\.!Dz˷ mmm)  _}}}NNNFFFFFFVVVyy9BHFFO>8vޝtJ555Ϟ=NKemm-##Cm o߾۷o~ZZZnnn40ź~GnܸQQQRVV4hN Bu,:s{eddܿabb_T(.$I|2333+++++իW$Ih4kkk{{R& WXXx…k׮UWW~*MMM@IIIݿ^FFf#G𰱱䛡,˽w^rrrrrGH5j*JԧO"=<<<<<ݻvJu,Iee+W/^g llllmmWE޽ÙիWNF9rHi` xĉK.$驧GutR>333%%%%%%//!`0L ?,$WMMͅ =zZyy@ggg-B%%%gΜIII9<ڵo@@ ,"hH8l6իG=sLeee׮] ɉ)))555i ,$InJHHHLLѣ<<< fZcƌ pvvL H^yyݻJKK {PP2աuv 2-%%;;;@3 2uuugΜٿ7ppp Р:4ϟ?ZSScddܣGCH"HWؒ3f̚5/ޑ|㱱!''iӦ)**R@@@]Vׯ_'5j F/^+**RUU 6mڐ!C  =~wY}YWWwڴi3g΄Kù|rLLLRRR]]]߾}N:eX N,Ĉ$#G:tڵkA/e!%$$ܵkѣGkjjlmm͛7n8yyy$X($/^uk׮Oқ7odeeG)!NAAayyyΝ366 344\lYQQա~ hIiiիBŋUTT[mmmB]VL?ڵk?^O߾}[qrrBYZZ^ZC:ѣGh4YYiӦ=}m׹>h/_ZJUU!ᑝMI:gaaA߅?d޼y?ޞ7owa GգG\$I>}z…!uu ޽wT\\.ժ暊ٳmܹCoeӦM_W>((9}4og^Bϟ?bJs1|Yzb $H@grO:ebb߿K!eee===_z!q]x}yޔ@=p88::B? tk>F=zb``~]hރ?022Lѣfff8͊4  ѣG||<á:Fѻwo)GAqqF2 F5|'X-ruuutzEEI޽C0 H$IHHϻիWll,YHHʪb~lݺ5###===**J C455mVWWGuDMRPP<ɔYUUEӍ8}ymcI_n>`Prr2I栽=F+//'I_~Ab[ҢxڻwCAAbqܹK.9888::^xL䱁ӧׯ.\(++Ku\M200CuuuS"##/]ჾ~#***2K!cccoGӊBƍLðaø\nvv6B͛ cᢊZt:}„ O!l#ÇsA%AQQ?RTT$w`;B֭[6m{`xfhv)**4iAI7ϟ;ӧO˖-)?EwhikkV+\z>ѣFi!´/B{5޹b S___zhh7 #sK,ҥKl6  ,$ H*--ův>iW[[,##pB^+N:⭩^jUߏ&ʊ7oB&X!77իW7sTkiCZl$I]ޝ3f4CSZZtRyyy1{>P$XbJJJ|B6`$OwFFyѣGmmm_%%%]]]Gd޼y`>}0 xMx̙mll,&d~MMMQmni Ycx8bbb1tT޽:u*NWRRZz5^* V1tss+**:F:th͚5x{͚5>[n,&3|;vǏE^?ݻÃ>hQEekF >K&BVUU77!!d.]W!hf;{}Z,훂V\X_vvv Na;z˗ǎ[@QI6#B۷orx!ƈ#L333$?}Ddjj*B庸l޼$I<}=<~x===5#+iw}T֯_ tF͙3GFF&??_"BBBttt w$mllfo:880L<8$M6%˭-ZgnnbŊ>---ݻ׆Vx &I;##o߼ysx[[[Wb[NVVk׮x!iI\z5ձRSSׯD͟?'܂v;-33kK~zȑ!sq:NWt… E[m=tК5k5kx֭[VannBF*..I"aɅ BΝcxg}}ɓ'BjaÆ!zjPkkkÆ " L&!4aIuZ9h[!xW=@l6fn7UX 6uҥ/r !_E tM_*..&BQQgQL&S.akkWë QSS۹s'/uBhÆ "wJIIJIIis%O<駟B" O:׿9\K;wDXnݺ!r?RsG^!4`p:3HH$uttjjjrQQQrrrjjjTӂ%Kwr111rrrrrr?SLL "Мݻwkjjzyy5ՄU]xqȐ!򲲲vvv JMMuvvVRRb0ֻwnGa|EB'O$Irڴiŋ`mKnݺ秣CUTT &@פJ/ 8KorРh .iAE$ڽ{7Ձt >|1bB¢pZvم ".\sN޼y8255DK$XBVua GգG\bx!~ ,,,pBhرX!߯_T]]MAA뭭 ֩Sx3hllO2-^+i`%7T)8FFF.]:( vi[RR͛/|_z!GGGh^{>}ܻwoSUWW7vX^\޽Ν{9Vmoߎ ?VWW㹁oې`!t ^nٳ'Qkb%-h` j.]222"bԩX  # @:ٳgabbi_̑#G3%|WqF2Q'H>~Lnn.B_~roܸ1o޼>}!?2dBٳ=%KHmHdddLf7o-!5i 4HDJo߾-XFHO:wՁt@>455E/Ko>&)##TUUt#### 5C𣊚XOOO~ccc&j޽;x`@@^K.Ϟ=/ ?f1>>!dhhԢY܆'v޽k0פJZ, 1dgg!ƌ# `޽{3̊ c88NddiG !Y{ IDATD[\:KRG%##y?A5֭[Brrr}V>Tm->}jii666xkFyM HѣGxYFo=@ТEBՁH3ghhhmٲO___VV555 7^GGJ__5D$)''ԌzժB4Mp:~rnUͤ(r*@ӆk"XI;zC;6uVXtlf"##}||VZ6 3f۷CCC :(}b1_cAAA^^΢"''_~ RWW2hÇxvINcƌ!"??mmf͚QQQq޼yϞ={&-VbD%K<~xO<:(Ć OUUU 8PVV`o޼ӧAsi0WZ|2BH[[ÇxONNG ?Ą7xӧOCE7zVVAAo?~;Y,֥KLBk*P3٦ yy7n\ÇBfff_+i@wGTohr߯NDhh(te }W^kṹMmtlъ T"b|sAaee`^!AT˗/BC i)o0q[~o߾EF7ΌyY3\ddd h84HWWGxyIX@ڱUTTxzz"L)I>|UPP8vXknj F >>xb{quu9r@UWW/_|=z􈏏oqHHD޻w/%%ŋ7ȬRxBw>~'޿?6CѴd ===]6͛W\i``Hቼy&777777//̙3^zßtr7o ڵkWXAө@%b߾};};wܹ#|Fuuu(((UWWWWWNMTQQmzntttwﮡχd#j'N:r䈺.SӸ\ҲjkkN:l0 eI̘1Æ 300:" qgϞ=~8''Vs)E7oƌjժ_p8cǎ 666TG@C04TUU5~˗{xxܹsGr+P׮]׭[WPPdɒ~7ӧThW;wLJJ*++x޽Tojj]}6|NG& "f̘yykkká;v磣;[~ ੪3gÇ|q#$X_DDĊ+lmmϝ;יZSSv֭ׯ78IdX h3gθR`oGfg̘|rOOΜ]!u6yrvIUT7}[GGgĈׯ ЃaUUU^xqő0y󦳳3T?~<22޽{$;u֛7oJJJ˿| :g>|XUU@ VgooGDD,Yp$ˊ+6mtȑ'VVV!?Bpbbbrrr޽#455^VVN755ׯ_~,--"I?{}SSS#$X?ؠ Ñ8~u;v \.|Gv6ݾ};//'O) 5kt:=,,,44TEEǫp8wܹpBrrǏt}||ڐJTWWϚ5+!!=!![nTG :ajjOu,˗/3fh?BZZu떆Abj%///44TKK !ԵkE剩- r[nѣÇH7H:aoo_ZZJu,-33ȑ#TĈnܸN۷Z;uꔗ~vhׯkii)**Q b`I=6={lИ1cG X͛77H"## KuuBۻ[TVVFٝ:u4UܹshB ,: nվٳglÑ&߿O-[FuD@,jkk2 Vj&o߾mٲd"LLL`IZ{{{ 6l@u,*99'X'O: z, Ϻ߳gձ$I (퓓SWWwձ)էOssscbb9LקϜ9X$A@@QIӦM;tкu~7$I߿͚5>}ܸq'B?{Ku?ܾ~z &P'xM{-//Yz տn@*9;;Y|֭[Zt)Ձ4fGGG㛆Ç{'OxII~@@ysٳ...[ccp!{@yxxhhh\z@Z'33snnn.\5kjjvرqƊ ggg fǎ3fÇ!Cuu#FX+W 4 5<0Q1 Ch &9rD+gΜnݺ;wtĉ@ ((($$$Ν޽;A&Ç'ƍmˮ MÇ]RP^x}vL#ƍWRRBUH@Aɓ'_zeggMuD@A%5UUUӭ u٤UV9::RK˪/^loox9x QƎ!++|a nJgώ?ʕ+/ @SjkkCCC{&,EU7nݻfʬ] {{{EE6ؿw;6888///<|lժUC IJJѣ$X-<<|ʕgϞURR:$m&-[HɓERۊ+&M4pSNI?>න"Ir+WMNN }!666((O>⨿ɓFJY[[pѣ333\]]9"jK$hѢm۶M<911QI`nZWWb 1I&~>>|Qu_XYYݹsnaaaH,@`I $.\cǎ)Sm\ZPVVo߾ѣG[XX8 #G~>9BӃD^իW6n8a„:7 $X$ܹc޽߾}[r/))IMM7nf'$$鉣~YYUV;vͭLi$ɹs޽;$$? uuu555--~J-̏ =?JkcQ܍=pıcX,+vGA_o2dț7op$ٳgݻw{쑐ikkWTT޽[ckjjX+3>>^t`iii3g_qqq}8p ..NYYy̘1nhƌ>|܃%!?MMݻwF,CDXX^HHĉΝ+4СC={޽QTT/XMMM gƌÇ%00d2/_48) :::ͼR***{.ݻ۷ogϞ;vlLvww=Q̙3"8$|ϟ?劯!YgQKK$I__l$߾}۳gz__H$  #\]]7mrlقUy暚={$9uԸ8\UJJJqq1NUT J 233FAALNǓ$YPP`0xeRSS qx˗/Il>$blvhhh@@`ކ`[^&r pvv|;YĪUx 66!tʕlښFEEEg@@E13}tЂ Ě]H455Ilo*))UVV$rqa_^^3cy߼y+==}֬Y?~ٳOpUuuuM5ڠ$B_aVl6;==}sB...QQQwM `$~m'X;v@ݹsGLs\CCCGGG1ڍ>nv+++G?ۿu@!EH%.;sh?[K\. r8ސ|{vNMX^?zƍC=v옺~UpVS63ϫ Bf__߄&tR&[?qĞ={6mFD:GL}}}Sm5s;$CCC oOOO ovׯ_㴁Jrr̙3wW]]ʴ{J#BCCۧ*))1b1b񗙙iffF~)--rqqټy3I%G__۷'O[j*mh%: yyyܻz7LMMI|`p.]fEHъq $I 0+**deeΝ+&f̘!//DlBHMMMMMMUUdFGG9_' _U|||~)qFǏ)aÆ A}0@l6Mtvk PUUҥq۷oL&Nd~~{x噛=޽{L&3B(##WFS6?F7?M6ج\zѢEM5chhhhhطo'N4 ?kkk???}}}}}/_ ]z5>\F/x;͓ɓ1_]] m U}򥆆FZlV­mܱ277ׯQrrr=zxձ\.#믿gmHkԩJJJ555b3;& IDATs S`q8 $\]] ͯ^Jdll֭[I|ٳLxSIII@@/.))!`|޽{m2֭ó_kupH ZYb/2a<)#~7===KKgϞ FTl]Ik=x!e5!7ovUII)++XxA+?MC@b,#&5446 *8ٶAdIq?nH`fkFxxx]]]S3u۶m\.7<<ݽљƆ%[yۺ/^LsI;CCCyygR #H^!i…4$X $6}6B诿S>}b0<֥KC66Spd[~ɤ!kk}y߿7ӊ03^)|UQQQ0b1bjb+++P EخVZcǎ3gMrr2Ab͏ǡh9t8 ND61?ƓH1*ڛM"W|.\.W0bk5?\"㴁͛7 2k֬p]'aЄ 8%@hׯ߀Wm߾}/`^VpSɶPӓIqႂmm킂FgLhھ};ˍpuuHq" RQQi6A-Z >`b,`f1Sкu?AK66Spd[~L&oth[i++ϟ F|lWOT*++QHX,\' 9H H_EĈ#jkk) ,`!""rJ ڰ}$7CbbbP?\.έ=<<$ _~eСO::TMMr.hdd$Ac2T ã._ZZZJuD@4 gOϟo0cHHXێ;;w :TL/<2227nܘ0ao$[hÇ߿XPP@u8@Nz]ti)))***T^MMMk)--t钃ŋ6iWPP=0..N^^_Lw<TЈx.+Eĉ޿oooG ;G/_ҥ Aaaazzz!!!'Nӛ;w.Bڵkxʫ!44'$$ \^aK`` d2_|9~qttt'СC={޽o  ֯_NC)((L0B^^^x?[JO?򚚚SN5J]]]v׿ iCހzXtccBc䎚X5###ILNN4h𔔔b6l~Vr_i4^R;JJJGܿ!F$u>}j``tEcm =yDYYdyXGkFo\YII qr፮yf iRWWb-]tǎ,L UDEEݹs>{7z B7 I߾}ꍞN3$0rrr277S^^^0a^-ZHFFÇTF߿755O:FpPoݺգG!.,"3!}=dG/]/??_FUTT뗝}Y??F& R`'NٳGMMmӦMFjmPv}W, L0o߾)((m5u:҂޿_L>N2 q>z 700}I;&sϟ飢Cu,hmV+2{xxDEE$fkkX=XMmݻ}СM,L UGx?y%}}Wn nZZZxDGGoK-'O +DKJN82mu֌ $cbb,,,hWr.\@R۷oNNNAHȅ |NVVT8$X+2;88[ZZ~l*j[$I"vԱ„!PuLLa߾}O8 \ݻ&ny{{I$o޼9zh-ْ`G嶶&&&Y ֗/_xOGVRR˧Oyjjj=͍Sh***dV]]Z~=ձցK4=<mT$im۶$gF˗^^^jjjݺu:()&$Kl5Qc!(ME `E Dn(]:H<`ʼ~쌢++++&&&xyyQYF|ZYYZdF+Wڢ(o߾eٔcǎX,yi;İaġDD._'E{455L2r7n|Wa6X 'O8qNrر`2@x[IIINNNԆHD]]ǣ"i&Nx̙ &]~{,v٭[h4Znݞz|& #ן;w.00gJUa)))&Mrww~>jEYfYNbnnЀZ[xQkyyyzzbb FvIIIinn&,SLƎ{) {,i!DA|Kzz:g'0L[[\ r07|EU@ ---o޼IULik֬Άoڴ3Fu!_g͚T,59ݻwJJ ٳg]=r("ϟ?۷ӧUUm۶ܹ!ˣv֭[ lX/ƍ7o޼իWq\i޽kkkkkknܸrJj)ÇAAA Ǐ?ydnn{UUj9HYYرc.\УGrqƍ9r֭`zj`%%%ZG|lڴ)""OUUUEE{ׯ)FD}}|h tǟ8q˗c!hjj?~|yyiiiZ|аqFB0R #ܛN>=n8]]]bJcǎypFh4eee'''ݟ8p@B__'NxxxTWW`% O>~ػw/ ۷~Qٳa6 DDnsdٗ/_^bVu>|2a„Ǐx{,d[G!G'lܸPKKkر`kh4 5jɤ*0eʔd=׮]&ɳ䔉%K":88TUU֢`%~ PkQ֭[~:j!)%((h***K.* :~鶶6`0Wy 2 f``0zhBc9::VWW֢p[~zHH9]rJCCð0 PkH#>|pO9^gРAΝۿA=lra $,ZsywgϞyxx5% <{{{:~^z@8p`ܹ 3gD#u}N$cKKKNN%0 =rG|rOY (zܹs  ̄ւcgff ӧ֮Ϫ sih͛7,YCOk׮4I^QQ!v#FぉӧO&L޽{jjj91c?xa`ll8tppB2 rԽ{qơ"'hjj?iƌΝC-GPDd2RRRt:j9ajjJݻy,uȨ+A^x99r ,4.QQQٱcŋe}sqEGG'--m'O~:j9"۷oܹS horKa! V{fy555aaa2G6[B6-"FYٳ+W̼Qˑ`:ujΝӦM?>j-dX۷o'Ka!ov G~w"؃E}M6qׯ޽{Y,ܹsvD1bBCCk׮塖#(Do޼qrr{nWzϝ;IxCE033^ $&&va_v#!!a̙(4 BHۡc~m͚5 ,weݤhݻw'[XX}ɓz4`QF%%%]%ؘ:~x Ua$ORRLʔi\\\'LZ(+11q/$=%0)D`j$vN%^G>~^^ގ;P Q&L{ӧ;vLIIkSB/_.X`Ȑ!xUK F +=XHDUU@B痔믽{޹s'j92F55'OJϏr # L&ڵkK,q08Hظqcii]W^Z!Npppnnٳg=`.Nu16=m4JEa$MZZZee%+y?}vZCCC}r~cuIIIaaacǎEt.N8h Y_C.qɣ|رaÆ͛7ҥKl>}tRgg[ւ`:CWyӧOqS[[{I&qyܹ~I;nݺ;v `d"qSNqҳg=z~An ֜9s޽{s`dMMM==f=:rH:xyi4--f{{{?{0_D>vv}ԩuyzzւ`:Oiii޼yO>+V\"S]]*tAdee]FI&#F666gϞjEҎ+V1bƍ`0.QZZLEa$ ~TJpqqIMM3f̤IΞ=ZT#o[[[444/ F:9Gc.\$$$H2)?N>ͧ" ,Fxbhh(j-Ҏ5k<{'c>}J ȁ"Cssw1#!Auz,!pm IDAT455#vlllΝ;ѯ_e˖Y[['''ZFrXbܹ;wCEq6c q'b0> ~:bCE|Cԝ9Y|` h5| o|2w\Ç{„%IjllxbUqYRRfjjjkk{}x t:= ? O[믿~w5R'Nf0}9t=CC}*.2*n (B6a„ϟ۷ӧOnnnd+{TUUO:տɓ'ߨH+eܽ{WkϞ= #00p޽߿'wo}rr2PUURxxxkk+{HOO/**RQQ޹sBoiiֶf͚۷777[ZZZ[[CgΜȉ ,i;iii%%%39722Bx…CaҤIL&bo"j%"<<ӓC?)mmׯ_C F !!|# =XiiiW!9]bj]hhllܺuF x jEIݻ̬iDN ޽{7nL:i0X¶w[YYN o߾n{g6O(]1cddd̝;ήҲAXv6_gC[[BHDmm(kjjɧf2EMMw5Rnnn111A@H `<xZ8p@Յ PuuuUUՐ2Ԋ0b篿2dHcc#j-R<W^ikk6dJ&4qqUTThhhZK.g@!N{CCCsF?cűIEş䆆u￿x---nWLT kB_;tĉnjCĿGyf@UUZ0L[fΜZ z Oԭ[_~0rѣGi4FEy訫˹M&`[f'$$Al6[CC[JOON1h<&+""oKǏ711OII166A`R%%rOjQ2 4Iýcbb ׮]srr??0s' wر m۶sůɾ<ķ… I_+=455544޾}0tP`'=<{l;wyurʕH2oV^ ?$T VAAQtuu\\\(vvvk׮[l{ qG1t:MO 0ippѺu89Eo}/((pvv611}0 ܇TTTWVV ]- w2TBB`0VVV'OBػwo>E ք ,,,jhqVTTK 7o~KKˣGJMp A>tZ6X7oTRR2eJH~˥8H:tajh<%%˗C#GD-J "%%+W+⢪J2=MCMMMMMكZ N#bbb!YO>g96{{{Tzdmm?޽[tijj,YBlll1UjjjUUɓY,j9IUQQhѢA_ #iZZZvZ졯{}믟?*s7nXȤZxquuuBB:j- F,t:j!HJJ*//_|9j!2EbbG~}}|inB%.\?&&&ւ3X'N 2dj- F\LMMQ Bcee5fZd]~w#GY[[Pٳo?"/O)c*$$d #ߐ=X&&&𒖖˟~IIIO G/ܣG$z0~i=='( 2@,YСCH4C%E/O GmabbbR3G"Kyv)W^<9JQQQ_}Q  W\)գGJXBLLLRRRL&j9AQk?s„ +VضmZ%|ɓ'F$KSE,zabUUUAAA*7]EDխ[>l Fjxzz?~gϞ >رcGwwʧO 'O888_~Æ =ÇW^(YYr%X[[V7o^HHݻQk8f8(UUU p grXf v?~|fff>|O> #::Z`(dNdggs3Aqlڴxw)̯icc#0w!P3CȚ{7|#lyoիϟ?uT##22 ~hѢE8۷ tex***alllTTM;gr'9! iӦq(;wDck0 r1XӦMSVVsj!RjƌsN!!گ_=Bhoo !,,,TUUX 1X . :$ח|KK˶6rzzzQQJ;ۗ|)<<\?˓'OLgJJc;+" s?_aJJJ o^L0j?au8iҤP&ɳ.5[#ãvhK[[{C~Ν۹IWc0bD VkkݻwQk(aΝ; E-(4XZZZ BBMb222" b!Ar p'x aɗ8v?.Yh*ýA6 %l۶=--Ç}XCmm횚jکN`UWW6mڄJ@V\I^|ٹIjUa0 i$2:nll\\\Z䐁A555߼y3j-C|={t=""bر__ߣG0aef9:}?{cc#Q(..f0~555Qķ#_3h _\WW̿N}r?_aگן:uGvqqj?au=f FBI7zhkkkZ0wީՓ&MRغ1c %%LB=XqqqBrjuII 0// _ n^vɉ$+"" ``y400jG3nkk2d͛7ɗo <!S?<)̎;!|U>}͛'6V~~~aaa,! CCCatիqF#,,Ç̙ZvuEeP 7oۛ/fBB`0VVV'OFDD:88]nٲeeUPPlbbbkk|ggg:nkk{}8 ;;;e5(Ch6m"?zں -`o;ý֭[ ݻͥKO8_{++**8+++ }q"h}rssQ d D,f!\d `Ϟ=H6X?@JMM%;?}KILȑ#ׯāŇRt'&&ԊDL71y'III] FHb2#FPSSwj-bG`_h߾}ŋ111vrttJ,IIIkpɓ'gffrNvv62Pl6;+++ W:Ev"==nݺѦ`0CEEԩS'O&ec`;v:u;j-bdƍׯ_>w܎;ٙAS5XX=@dggqKQTT$=#ܳ,YZ #;vxPv:*  t-** bbbr]*ooodaÆ .P(s #FشiӚ5km۶j*rą`#`\.>>^YY #igѪÇq`0TѫW'N|iڴi9 3XG #u^^^zzzݻw;i4iBBB1!=ojjZ|9j!_P,-PB#wp|3tЈWJ-5VkkPki s6&IǙǟ{.ׯ_#) M/^ ΡpĈT}:={6`ȑh֭311_zʼnSYY@tz@@@eeysp"/^}G433377'/| v42OpYRRfjjJ P!ϟ/v!TZZZvx#??_KK/{dX*OٳgQhT;w.gYFT1hР \sWMzzzQQ Ν;|KK˶6Qگ_=sAs7ݓ&M e2WJJJWhoo !,,,TUUӉ܇8;;>x@C?}OkF2m /^PQQ) PKK FAL'$EEEjjjgϦՋZNAc}||`0RHcccIII%Ν;[x1ɇHNNN7nx"l`[)::Iv92mڴNJXJz>lkkkeeD 33|7x`YYOAVhh*׮]K:qℵ5ӧϡCG433377XF%KJJ<<Qk6t' ""By=Xcƌٹs'p仠kaAAѣ!BUUUe%}}}ܹ!Ϸlkk#$ IDAT omm=pY ?&4m(9O')r& e&5yWUU1իWMsE"}3r <Pai4"e4A<={֫W9s洣JXvdye#6' C---F/b)))SI3m``$Ɍ---FFF!EnL~7/Pe V]])LccZZZ7\ր?.+~8[vRrQ˱fffh|Ar`ذl%]7XqqqBSuII 0//YQ^^!LOO'{_@!7I// ÇǍG_Hg' ϧ!vySmȐ!NNN7o$_EfOPX. fffǎzO>]Qꟿ: cXV044VEtMM `Æ LHMM@N,Ivz$߼^ڍ;vAvꄅmڴMm6΁ 5)k&URR*))!ʄ`A.\HѮ\ZȗXC&nn޼ycoooff/UBB`0VVV'OFDD:88]nٲeed~~3N'G[SSB_!spp?Pd1h>>>‚ggg[[pߴiShh(ѣGMMM޽{fOP`.yRܺuk{t钳'D2ߊ ???Jn߾Q$L%Mm߾}%KgHy* 3fN8LsH.+aMJZI֭[ i;qQ˽jhh077g0d4#!hddĹ.t`֧Otuu)%?9rd80::j-Rt'&&])f:99V/_޽[2$6M5/-"n (AKI-C'.j7X«Wh $4MÞ={JKK7m$ͳbJ/Ĵڵѱ+h|$%%Q%Iɓ'gffM T):"*}$?GCTTT^fΜ)A~:P\b}Μ9[Pki z}}} # ]***:tcW4l(_iiiࠠ i4eX5/ A.jEՙZZZ {]Pܼyr &&&wEBF-A6lj ]ג쾊VSS[h2J ik^A1[9Ň}Fv;v#"puuw. #;`ɤ+--=zԩSyvl F9sf\\TR qiw}yIk.&*t FDGGΞ=`ڵkܸq|Xa0ӧ;;; jllܻwa01ѣG$҆x Vxxxss`ȳgh4d VBBBuu5`䀱cܻw^h _/ >}jaa+Dl6;66]ܹ0رc?H.7$=`m޼bmذA|)0|3 :{wBCC||ЫW={nܸ!i Mfee%hyYPPttt$4/.P]]-\EEEsΕ@(cc@ HXX6~Z $yJ'N:uf٫WS|ٳ… (mmm ݺuCEёLgϞ$Ѓu;w;?7oޔ|j 崴|Ç**QRD$yJ;v|rHH۷ZVVVjkk#8FRVV8p۷oQkH@AAM4[nN{ZZZ"##{AѦN*O/拐3&$$bظj*q(mmmsY|ǝ;w,--Q+ˆgϞу`5Ϝ93k֬=z5FPWW_|7o.]2`UVա֥,\~ʕRrz6dʃcJ.[… ݻwG#F>}*e˖;FqիWLLLNNΘ1co޷o߸8&ZgϞkע8 ց*++q|wݷo_LL2jE1+qπUSS0a„>}5F۷oJJJffŋmmmϞ=Z2tٳg߿PmLftt1 ¥K VWWw|@KիWDDǏKp|xKKKʠ999aaax C!Ç( іǏS ^zƾxb۽{7.h4ڞ={ʠ`EDD͘1˜iWd>|,׮]{ٲeG #yw>},Z!&|K,9z(©})3XwYl:U11rҮܻwmĈKݳgO!w=vXkkkߟ={_IXacc !@ * Fn B~<pqqS/^\|yx? Zh4Z``Wmٳo~#O3g666")gFEEQ@H\fJa䌝;wC1$}֬Yjjj%%%Kt%Kjjj^ҥK!!!ꅅOM3gJyy9%0DAAAnZZZ8{***[B˖-*2ZZZsSRuu3g)>^~=aW_}E:u|2jr۷oL""=zh@@Aףa䌸ϟ??zipxQSS`ŵE1I~RSS322,,,.\hkk{ܹϟ?zyy֢U(?~]h111 ,""BxE]]^zݼy4 z~7@AA8766S1 !ѣ~䄪={:;;K8oW{ vvvÇb(ANC1|,]z-a=roݻwK,iz>~HNK&| -,,lѢEb1vرlٲW^YYYQݻwxc IxxtollLOO];eFmcc#1Ie%%*W#F|͛7={PNvZ+*FaϟswwG'9'N444G{l"Y$''Gߦ!xyyý{h4O?$t*(FٱcϞ &8;;;;;۫"Q bz!**J[[*ᐘ;333Z4~owҷo_qJIISHHj8\pA1|~B__d2o޼pM(8::5Enn.gYjOMM]`n` GA΃$:::[9sf)))bO龯aÆR8,`0dq\DGG^xAyK*++}ƍpiii͘1^VZwN`=}Ν;7oVQ|}`bb",#C?Ғ%11QSSMMMsÚ5k:|rrHuٳGMMmΜ9ԪAOO`;wQy߾} xrQ ӧO7O'ytȑ#Q {ׯ_hǧL"Dylȑ#~~~x~ QΞ=K-0]v :tذaF.gϞN֭[SNE>;@ϟ?`իWle̙͝;r5 F9s挱7|CmǏ+ 7^^^(AHUQQٺuǏ',1Xfff`0M]]ݍ7|}})]ݧO;0KyyիWL"ֱ$&&K[nmmmSq>| ~? #\xrtOR#;vbM6 ѣG/_+aÆ)EM? ٓ﨨=zԆ4NNN(III***b?N cǎuttZZZ+11Ϟ`:Jssszzرc˗֭a12MNNǏE.aXǎsww744D Xb1W^,W\ill`ttE iqP Q8\R^^.+>oߚ)1ER=gΜ0fyyyrrr``dHA=zU>}J ^~tU33[JDi[}6lPZZSd?~O`: :&awJaLs֭BȔ)S֯__TTT\\|(JE&_n_+’FEE:=|26nX^^g㊾lɓuuuķ2"rgϞI #OOݻ꺺fddS8((ЛylW"Ԁ¢&ŞCBBjkk)I6iii::::"߳g ܻw!w܁[ZZAEEE***Bww rϤIBCCL& '_*((8p B\"F.KDxx' aI[[[!ϟ?@s1rHSSS6ݹ2|pϟ?SSoZMMYfQsr|&fjj2KI)4Xw9Ԁ"&ܬ?f cAaXCDx致ݽ{7<ܧOSSS K>}zrr2f"Ǐ0bwww1hРׯCpL&<<5__6wTg VBB?7!ݻ7q8?***444444=ŤxrCSS41uuul "_{n@@].J.#shx:'4[nxqP⢯@U@Q+モd6X F]]Ont_:;I UXX92uTݻwehkk~BXPP0zh(j& n;O  .`999YXXPۀ1а˜YTEEeٲenݺV6`ggE8p Ym߾B+c~~~aaa,AݻP\"F.c mΟMC'h[n*HF^_,<fW6OW0)ۈX}C59r1̰;wrwss& v9#ɮiaSecw`۶mƼ>`~HAAQtuu\\\^xLmmm߿Oisrr dddzjVϏ%_YYg۶m&M%9 A)O ;թ@LLLG*\\\zI6 ݻ;"`q2e ڵkܷ!A)! t pԨQo۷oqq1CM8[#bs; n' Y,#Í8 ִi455(9yd--- ޞ%tf_'XtJYYSS˗qqqDm455}l8xN>}b3,U`drjΆFyy90==Wȿ񞞞#Ffmm]RR!#u;|I!a~"rU^^?R@EE%$$˜9hB#yd2 F%ἔCm߾})巡NMMMm6X<~[OOOGG֭[x;AMnDDD:88]Ύm:`0N< t;s#I//A\Pnlx IDAT1'%%%r,aʕJJJ?~D-1ķo._k !~v6M^zEp1QG111__Ǐbd=Ϟ= VKK᯿&B`t:}111Dks̘1#**Ͻ({{0 .y&wwq$Dod>y/ ѧw^qqqyܹkh=]]] O:+`WPP@"6l1fO~2eH@y.N:ŻQNNNEEe֭l6V^yzj h>11*ANNNKK S#O>-)){8<]bųg.;`0OXY@S|ݡ/qMBG5 >ݗwp̘1jjjp*.0 ---kkk 77W[[;44b%&&jiiq &hnnw9j(6mgV[^^y ڼwcyy g#p{[ 6l\fُS'II{… |&ׯRRR-_t8X0'V@۷oaM4\A\ k} ұcjjjtz9s\|%66vǎXII/d9s06=x:ϣ'ɓ'.\y :`aojjCR̙cCϲseX<ECC̙3oD{8M`P(tR'""9/0@ֲe˨T*wcaaѿ6tO6~a """ttt`~6i]ðTMMMjժŋɧljj g)<~ԦðCA ?~ݻwy yGFFhEEEd2Yi2C~~>B!/  rB:ujMqy< BLjf-}!x:޺YWW`^VѢak׮0,!!AAA37ں'aqqq,, 8 ۔Ԧ1c`);1wÇ/\\\:TYтÇ;vxɉ\x Ν>L[8nݺu7nz}1 6CP`g Ö/_~ڵ6{v:{^Mee9OC&NrsZlٲaÆ۷o7770Ղ v]Q,kܹx 300麺е-++srr߿1H$Ҟ={444V\ 533h`1cTVVN6MSSSSSsڴi  &4ν[ `ĉ!!!,?YyQ1bȑ &x8_.n`~ 02;O懮<,200 =zsnn.l_c͞|PnmŅE`utsqwFdeelcY*UU%yf/hEׁ󔊊lll444 ֕A߼y3a{{/^pFiQnΜ9smo޼k;0l+(gh"ލ 6l`2!-G5h4ٸ`fffdd5#죣KJJT*anđ#G#X핱/**244[[Lƹp|wʕ+<.]~pD"q`>nk'gMkmL{aXxx6c9޶֘c3U躃?HKKO4+FZqq9sh!yW2;y+&&98+cojj37Sb0***VLLMM;W*ӧO \O :i&7tu}}}mmm .`3JGklݺU]]}Ȑ!999מ ///NuKKKt'Y{{{Õ ,KSSWe61}C?Χ}{\ݻ|ooVNNOk 6sTW9rMy<躃O&_z#-ؾ}; ##G=,Zn]_%O+ f߿^x{_h3nxxY0 {⅍MJ]OB>=n6 mZ sN__Nmi9sӹ.:X?~1cF-ʜ5&Y+s888:tðS,237***edrYYYttt %UTTƮLN6MVV+\mfyxxtMX鐃%)) #uuuud&$$={.?lAuu5gOxY~θuuu4yݺuMnq!'̏}{\~{am۴KfO2Yysn}s]tf͚ER:m50m" ;88_|Vo}ȈFmܸs ֞o=sS37pMm}}}i4ڶmZ(0,>> 6vzkgMMO.]/_NN(B,qqq:sZx]]]}}}###?|^nil/<ݟwx,--m~;'iiqNxnof9!|:XUUSMrM&`ƒH5kt6aXzzz[n%%%yÅK. 7e_`?۹{p)e8 LC! _ҭ_|0 Llv>Ol60*g{_cWԩSΣGnf]ēкO{GE :''G[[;,,f{Օv۶mMMM,+884::Fqo1[pڳ6rӧO7773[[[qc8d~,vzߞB\^^~ҤI>}⾊k"""{ᆀiZl|߹D@nXjgg!(FTT\?Ϟ=+**"H6mꢝ^Çm~ fzzz$3t}6^///=9^xbTTT`_:OƅNO:79ӧOҸ5NKKڵ _EMM;ٳEEE9;L޽勽}S=;vɓ]1Dj,#*L'O h4bO+ B% ϧY,VRRҴi~jV^`05{QIIɥKk!|ɓ'3gΤRDks\rh!CYY=44J:` >Bv&@\/qrN'‘DNOt" ؼys'ǏT/fh=T~u!ѣG kg鱱bFޯ_611!J=~8MLL,&&u;v,''g8Efff,+++h!}+W:u^lf8PUUŋ|^rð8;;;++`MMMW\׻;w+yׯpO...}ͻdl~/i:''-B Dqȑkܹsuuuk׮,B8|2L5kB}ֵ?>B9@Mff֭[Ǎb |-3'N :tZF,ڵkcƌ$ZKrrrnnnD ! _r-_)++{@^^^/^}9͛7?}k!--++$ZK#**jD ! FDD_3giVJJȑ#,,˫09rNO:w!ӧ7oa}VQQA](0444͛G "qssSQQvZ_~ǧ۴!^Ϻu>|x1cn<>>˗GEmo߾}\~}̙w޵ Z 3H$OOZ999ޝ 077Fuaǎ#Z|JKKh!d2ywxb@@իc JII-Xw0 Bw?֫W@p{DǏ ELLLTT8"$%%;tRX_>~8s|-[>KQ(BNEE%<>hiN;bo&OOOuus={ڵkVVVׯ_q,XPK8jjjwns0?H$ý{rssWXcooonngD)..N___666'NIMM$9sfzzgΜx?~8(A0ގ͛7yw"X8p`@@@qqq@@@}}tog!~NQQرc>|7nXZZ^r-~ 4+V8wuNNC# pѣGt/^33##x޼y^J;;;eep}`zjȐ! !ܹs'NYf̙3cbb0 #Z8qѣGPVV6vǏ/\022򧕶… ϝ;w;/--Onڴ nBE$!`h| mv*((Y```iiK׮]+##3bĈ'N|huIxx!CO:u9\gϞpB33L77P}EEEՍ9200Dw`0PK8q"l/Vaaa~@wbbm gggXhBB}}Fzz/.f_zSoذ!..N[[_z5rH??)STWWk:AS(OM^DDm0 0;;; ٤^Z]] ..>eʔ?~M"q|񇸸rTT^6ۄdرB?99[B : 4hSZZaUWWݻWMM-++h.3 y_K[[{ʔ)@t&`ܼy=zd2֛(++?>Lhx:u*ή/UWW9|0̠?;w;1p 6s%ZܹPRR0`P(u \%ܹ3m4XeEYYy޼yonhh ZZǏP(˖-+^SSSuuudm~0qJA@GՂ! i} ` 0lqq &>}_}[n, 8NOG=y/b߿Jjjj&&&h͑#GZ{W˗/'ZfϞ0 z!8ŋuZ$jΝ}|bݾ}8p;wp4WCr'HJJҢR{eXĊA 0 o`}h]|pwwWSSk!~-nfnݺ~)**._<44`N|-((hРA{;y3mmm*gϞTVVN4 LÇ@`}vnjӦMD+Bxuva͛I$ҷo߈@t;EEE'OtrrTƍ{֗/_~7EEE!Cpb~w8%f9"**J`K@Z&Z7rssn0 5kR[[{޽5k֘dȨQlɓ߿-jkk/]4~x"1** qENj oMbYz5Ot$ Fa؋/@UUU O>}ivv6a eԨQF6l;Ʒo"""¢Ν`(7{슊}]'Yp[^ !~| n|F 颜s IDAT-vZUUaF3f̵k@Heee\\ӧOccc߽{UTT,------,,,--qOD ,իW 111,_~3f̰P(1޽{wڥ:|p܇u^t >vؕ+W-3aaa3f̈;v,w))7۷@qD:##˗_ --mcc3rH]] 8PII #===!!!!!ٳguuu111OO9s8;;Sns̉pL[̜>}zAAw}O h7oz{{h-'ׯ߿?TPP0`K(p[ 4:[h4|f@G?p`s:thŊ=yZ=,Y:jԨk׮̨$B0l޽EDDP$U077JJJⴐ^|iiiyڵ3g v H JJJ_΁4L&$/SØL&陙 殙Lw]]ׯ[ZZ fn!!!0}466.\ի/_I;G:n,^ڵkL0XqD/9'''???//ׯ_xPUUq~ ׯ_?eeeCCC=====]d֬YӧO?{n%;;{999Vaw=<}zɒ%D cc+V;v,))),,LGGhQa#;;{ҤIeeeGFF\2(((//ƍ+Xs,pEҸ#`0`}}?SZZZ^^͛DkAJJJ9~8B100;&111䚚qnY9rdܹiii`Ǐ3iii''hDt_䚚)))be!ijjZr)S444ҸWի7oRVVԿcc6[rssh4ڲep$!!qׯ e]Ft &>}zٲe<3rallbee57։&~_ϛ7OIIiK˳,\2MMMSSSK ݟ?aXaa FGG //&XpoߺiPOPN8щ̙"B̫WΝ/Մ@ %44TVVVFFڵk:⬭Y,|٢.[aaa11: SظrJdllv $..NQQQVV6**FlݻI$Eqq1YBB$ԠDǏK,9s^|)vvv:::.]/l6'\TZZJ[Bm"&&v[n6,88[Cβϟ?J~vuְwY[[(!T)#֢D~={v/^@ڽ{7< 0ٳgNNN$uȑ#Ϝ9ᑑ1doo u 6 :4%% ^^^qqqݺu*++`'4A(.]ؠkvVE0FSSsȐ!pmV떷oh7"`[D"zJ0"z s666kܜL&ݻf$F Vд4 À󉖄@ GCC/6l؇ӉPRR?}4Z=H={tT__?ynrDVVٳ !b:tf͚DT"L8133sСӧO#Z`Ҭsssoܸe˖nZ(--}_=*{=H& d2n }sY[[߽{ȑ#1hjjnٲ%<<‚;Y3noo:ujE&~xǎ hQ_(++GFF?633KHHB]]] O:ʼnƽzNSSSMMD"mذc͞jjj?=##E^^^NN>11ss9a˖-sssqĉ&MHNN=z{JKK=*,,vss#0+JWWW/_'ju={MRwbZwÇ80sLSSǏ @O`nnvhhhcc#JLL҂E0 ׏0d;w5JKKsmTUU=zVVFxx8hnnJLLgl6{&MpK94dee_TT4$$h-f%%%}}}+z/H*o߾6IHHN?z(l޽[]]ð /// // =zjb JKKt:}>lllL]_(ϟn޼e˖'{ڵ.ŹұcjjjΜ9s._cxWxd2Ϝ9a|ðÇF"xѩklPPN1cƙ3g8%RSS555Y,֪U/^̣O,:^[[d2ొʪUdׯy| rqAi~1{lGCCra &&&...DA 8f?.&&#b0̄g.[gl̿TUU`u;Z ᩞbCR={٦wi&\ܵlvMMMnFFF:t[Nt8XܛL9 Ƌ/߯sN ׮]aXBBǵmN b)++sq…!!!VVVЙJJJl]H$EII rʕ+EEE#bn0L&o޼ WWW__H68v$%%[ =a?pss̔vĜ9weD]COfyE7vfϞrwǏvqqf;{n=1>3g''OpY,ضmoS,**-p',,LBBB]]===h-}"Z ӧlmm ..W-!x0eʔu1Sp5I...`IIIܧɓ'jjjǎ-,___:{Νʹq;v hI g+''G[[;,,f{gmmmmbMMMi4'|ӧԼu`2t:=)) \^^^拏`XpSQzHjj*F 'ZKի奭M?OPRRҲؼyUV>SEEŔ)S81SSS ֝ mll455 }Lmd.GO jjjGurr:88:t 箋lll444 ^7yf„ /^000?~mvv9sZ =rYgdd7N^^^FF6..s?{z40g>}dffF&GKDD,[LBBh1[x>DZnJJJS^͏?8V~~>/_&hii-^-'!bsssgϞK}}ɓB2FMc$WS__?w\pDTVV ss3L?c&777 `ܸq{{~ZL"CIKKSWWqJpbr9^~ AAAW!!#88XJJJAADk0דHgff!ްa֭[~~~ Ƃ y͛M .\}-ZpM@D =oH$???4q >~8bٳ;eUX j[|y/#4HKKJω@)޿onnXx߉s)((pҜ=zfRUU_BCC9NuttDEE/^H`0K,|@]]l* S Ï?/_011龁fϞީez왑Ǐ 'ܸqCNNNZZn?ԩS'OP(#Fڵ+55Oj#**JVVVQQ;Vرc аh-B0F͚5h1奥/]MC:`W>?~Xt)ݻw1D7n:cccRQQ3gիW+**VG 'NP(h!a 6 0o<ܗO^^^:X߿OKK+--uttFFF111`~~~e0*SVV&//` ޽{gjj +pJF>}tYYYL޾}{rrr k577Z㎎7o_LL,$$h-B30Ąh10V^M" Z "Ћ:u5k[,**244|9a𠰰p0< ::Jr}˗L ӧׯ711!H%%Yf]|WMuu3t?0ȦM-`N 0 [hzD޽{gϞ,t8!*xTOO 0;g['HO}mVVVB{SLaCn۶L&huo``@P?Nʏ?f͚#+0,  >sL*hAHRR^x1mڴ`&..٩WZZ |0`fggH$ =6m233a~͘1#$$D JJJDkѰ]vH$KK˒'O=zAA<7n$Ƀ AŚ2eʺuLf)B ÊUUU]\\8f 98… s^6{eee/^6mD"YXXlٲ%11M?++h-0 tǏNZXXhcc9dN@lA]]ٳ#F(**NsssRRҖ-[,--aXKAAŋD ,kÆ #G ڲ %%FIJJ޺uh-BÿP#V QL";233L"֯_#BBBf̘ѯ_?233۸qc||||\ RdI>}233#(8.`1bذaĪA = &}v B< WVVFt~ |mۆJ&rrrSL9|)\RRbaaA"vzA>ܹ v.'nnnoooT ð Ƞ:V54MTTȑ#B)QSS=z4ZQ|rYf)))>}JTX+--M]]]BBƍ]sQFiiiB޴5p?։K:ZnƦfss߳G„4 B =/_BpT/%--MWWL&oݺUckkk֒8sǏ&#<<\RRFqu6=x:ܹe4mŊ)奥cǎ466A␐]]]---:~֗E>ޮpyQQQ]]ݷovZ߿h #`XRZZZD0l6رcjjjOaXDD1 377z*a"""/i/gox;ӧO`Y*DG4hп٧OmF HLLҢREى~:ydX2'yɰX]v1BN:Eccܹs'Oˬڵk1 KHHPPPh>|f> lvMM aL&3!!ٳO|]zzzT*[ t:wf+@|*++]^ IDAT]]...b3gϴ)ݻ{Skhh/իW?z mll+ohss3'{..KSSoO ;S.8̢fa*WWW__>yI{9{[ą*+z]F4bh{'6}aKva,A6={PTquu? :j-;;[GGGTT… ꌎh˗/>}:ad2 .`\[g\Ǎw1 ÞEU{`Ѓ@ EL<>>h9}ɓ'kii%''Td6)))Cӑ@ p}Q[[+22<--ԩSaaarrr7@ƍ3YYYgg/-zjGGϟGS\\En:f̘$&I&!HII}֭[믿***&''>Gadd2lذ _fP]]=~3gάX""")%%%-,{{tB4!a_~IOOҚ:u+`\ѣ>}XXt644bcc544:<}TQQQNN'-~,:Sz{Bh8sLhhhAAehhhM555{zzjhhΟ?G^͛oܸ{kk봴4 *8::$$$$iϞ=+W}$$$ )5k֨ʜoll 533h0* 7)… ...rrrϟ?wqqнa>>>RRR(< E--- , }4uuu 7nlPߪ蒒*iڢ &pڣ( a@aa #}pWUUss,kݺur *4<~نu5#xYBill?߇ eeeedd^}b {nl`555hrpp8vXJJ GUaB11: jjjZ8X666AAA; ލT { ^RRr޼y@ n݂K,v:D/0{?Hk܋/zzzr е .. Ėl `R܃0@0ui>}dffF&'ᄒyʲXyyy!@tWr}}}{rrrLLL˖-w'b6l9r/_u,~,2 rsseddڼN&%%bp! Z8XzS&))y- 'cֶum_%XU`0֮]K"_~ݺß)---//MC:EEE}`t:Y֢gaa!CRSS1 {F۸qc  tdb HOO n:=ǏrrrӧO0爈PTT; 9  :@yE||ldd$Zz l6{׮]$Ҳh9D1 k"..~}BҸ!ĉ_zeiidɒ3fegg6ҥKWNJJBE93zd I&8qh99soD+<"j`ƌ߿wt!>ӧO7o|M===33Ν;G%Z1`ϟ;88/]U~Ayyرc]iӦ7oJIIדޯ_?]QYY@ "555W\$Æ ̄N //e˖>}z„ 0YYY!!!#nii +@TԩS>|X]]-@mPWWwI&Ο??##cɒ%WRR6*8q"66vĈD+YDFF444<~_~!ZP[[ 0c q-C }PUUUooT@777K~~~eeeÇ'ZNO! MSS3%%֖h9CFF:t迯y,gXZ}CۃdeeM8Q^^^JJ ((933sΜw9F쩪ʏ“'O W(++eNķj*UVq4|KHH jCnS ihh 2e তhѢǏ777 X #**3 ťh9?[v-Bs C-~`jkk666XD--@xV__?&&0&hnnw9j(---7fO>,]]]N.6X^^r [ 6l)l6LˉaXVVFxx8hnnJLLlJJJ< ߿O6 ׯOtt4v$FRUUT/_MI/9Xݬ !<>lll\ZZ:vXMMMcc㔔xۙ3g˗[bccw~ L&Lf@y?w\0IU)4 EPHS<=ۡ,_=S< ]OQQQP4FSbA(MA!e?)I6l&3$B>;;e,#BĄKH D7+.. DcvsɔYf4JsssD?111ŋ'&&{Auuu-Zގw8ݻNj2wC4SL҂P/8@P<==> HBB´iXrqtisΕ'555t V\ɥd/,*jbb.|{:Ҋ 8p֭?ACݺu AGG$FzX"6uuu[0`0;@0553B"55UIIiĈ)))x2dxfAz`P/ЫC4Cb07 9t󷾎V@OOK2X?~Ϟ=__~A$==]QQ,a/ AԩS`!%x477Ϝ9A{{{t9 , N*gw޸qD+ %11q YYـ{ $k!ŋzzzx2޽@ TUUag`QT2lffKD$%%L`[t)z.\xU3 XؗwCC$JUQQaa/%BҥKEhllS\ptt,))qtt\&X?~H舾=SǎμyFSSΝ;4-%%EGG'33c$"""\"*z+V5 %%5o޼7oq-GSSScӓ6?ۇݻO*jii1b_₆,066ΊvvvYYYXsΕWPPyM`` |))V,4i ȁ@4XIyyyEEm۶h@EE9/^899)((0_$R$K}B=zJJJzxx\~P9f힞!|aҤID"qx2,>4 22/%%y; Vnnž}vɇ!Snn.WUVVΛ7^PAJKK=n:雮˗_~+<<8w6443C---u˗D"qƌh^wh$h;_jUhh(ϟ>}optAh***,/Zt)ƒ HѼݻwD"jƍ$ 7 III֭;sLYYYdd$v0{捛[mm˗/^w8NFFFSS;C}b0cǎ  Laa!W}@ L6׀ f6m7nݻwGw8=JJJ ;hժU/^llldUݷ p-еk.B۷h^UXXH ,,,мJ[[ HH%''߹sgƌxV sH*---++S޽{u֭|/L;4 jjjΝ;d?4mڵgϞuppu.ɓ'׮]jkkh,@VVզM>̋!򨨨HtwI&yƅy~xϟ#b``UxAC GppI555q #--ۛFݼy  8gزeˑ#G233---!AQ[[UO>Edh^eddwh44EEE-YDAA!..\ihhܽ{PC,uuuN8S'Xcǎ3fӧO!A|S__ΝL1f4211;4rrr<==\2|4`0o_YYY(++ ]y2O#""] AЀUt:]WWͫ&Owh4TWWzj߾};vw·o.\hѢ .mTAwwÇPER)Jqqd /_DGGGFFh4mmm___ m Ax[```ll,4{}oDDDĂ n߾ͥ؀,@||n:z 455DFF>zJjjjΟ?wڴi/, ܶhiiz*/rHlll*+++**1 0k֬QF *ZZZ"##߿M"мRV߁ ;⢨p޽K zɓ wލwBQUUy 9t*z-, wejjגPO㫫UUUS_p AA[[[DD:~QYY~z!F;4ݻw&L `U]]]//vPVV@ضm[o  =u>Bt߿?gΜHLLLJJPRR9s&)l_g//O ϶< [[7oޔ)**~4Һׯ_;;;3 ^ AExxwCPTT$ACRMMM}}zAAL Ctܽ{pС^Y 8< wu7C]]] ,@R1b?@P'Avq}}?+))I^^~ԨQiii fdd˧2hӦM+//a$"""` ݻ-1b@NNnqqq]]]8 A`Rzzzo/'ҥK>/2BDZZ֖NfB7o?;))iɒ%y??;wttt)A}T*uժU9s"$0ZZZ} AP@HHk ².@ZZz߾};F'KKKocCSS:-fT*UB_,"d5oooŋ &roa>#&&*++W` ˗_~+<<zwBBB֮]cw555=8--OO,Pp%11ŋh4AfɮT*fW$%%;cƌ|zzԩSkkk`v%B]tiٲe۹s'?0t:WwCė/_޾}ӣƍǮdC/v ++w4 QQQ/VTT+((:?|qηos`\]]GY[[a˗/EU[[˱$@` IDAT $( v1ɱ̄  ꊈ8Tl*ʿ!sssKII)..3fL_qʔ)d2O ymmmW^-..FөO>EEEǏ~项s4CP0f/_z˗߾}CKX[[O>@ <qDcbbbccDb@@ŋ%$$ 7o믿{? oee5z'O0RO>MNNNNN.((@DBBKPcƌ;Rzۆ#AWW޽113gzyy9::+FFF999  ::z͋Wե$%%ݿH$ZXX̝; H蠿2+cnn}pႳ3zOQQqѢEp%{`9Ott;w RUUuɿ`޼ySNWo wMHH̙3gÆ NNN⭪'Ot1o<;;;8~cP666=zgDEE] ,@{{UyyӧOТ<~xll,pvvްaìYPMMͩSΟ?˗ &[~A***B/^ 2zh/////iӦk!As禦 p %XJ 99QF QaCR###>+YY%K[nرxACVgggxxxhhhaaʕ+׮]w\` Hnn.WM8ͫLLLOmX,@jj{agVX2?/[ { @ǏONNܽ{/2h8hѱ?~$SN7oѣʉ'edd`ӧO֬Y#vֶ~zk׮1 #a۷'O$:;;޽tRf؜9sN>]SS \\\dddO>}_|rƌ%%%2֭[J8TUUnyyy#FMOOž`0VZƫ,< ̙3޾}˓ `!O?.^(qL& ŋ ʕ+JJJ[l;H(޼yONN --yʕ_ &mm툈.:uI &<|AvISSS={t:M 444n߾MR222Gѧ35kָuuuĉ^UCmcc#&&#aѢE]]p^akG… y{>} 36ϟ?..." wiooDÇjjjf͚idd~G|ѣGzܹrdvv&N߰aʕ+n|F5 =VQQٰaH|u^0QWWWWWa}|PRRx?W\3fLee%ޱ@}rn:555cc† Zvҥ;;;\_ ./_M?]GWWwӦMHų i29tg3Xa===,rttd*ݝuǣkw__~A$==]QQK~7eIt2b/_~essW¬BJJj y]WW7n8lh8z(@DzA رc 3gΜ?MT*F۴it-СCD"X)**RWWٱc>ڵ˗iMD3- .\xU3n豻{gg'v^RRJ0kqqqK"H_|-B%%%:`0  ,'p&񣞞\VV 綇D8^ʦ&III&ׯ_kY&XVLL1B/??- XhׯiӦ$3f̀}WTOǏ3Ν;{4!V.^H \\\lˡ[n<<<._ͧ f_566KH)**RQQQQQ)**;hhhPSS;v쐜:Lt9_H$IiiiCC76]ی9211>>ӦM;FY[[~ZWWp V鶶,'/^TWWp<#--ևh/^p:'++KNNNOOo8777Ѐ7!h(ٹs'`c~$lll7_ -L~ڴi xG)))ǎCY hhذañcw,:uj8訫{z^UUu֭#F7}}}//]Awĉ 6888 Q!MZZZVھ};"L1s;xLEE&X4~(&&Ʊ yR]]-**Z:mllO|) Gf/SsߴiJe%༼<[[[?;ԃ0@~~>ށt,̰2m4V9s@ ̞=۷ox \+WNN[gggTTOO7oޔ!##'YYٶ6yyyA|}}~jiiiaaA tӧO߾}իӧOs, 8ΣB3X!KÏ#jjjdee#JVTTlݺLOTWW+((tttZ[[hmmijj2l>|x˖-uuu5gϞ~.0|L>]LL,==@sέZj̙wޕ+ApӧOI$0 %HxG10 y#F}_[[ HII >}B$%%`0 }E~{5;? #33c޼y3FcEFCC:TyU[[("-ޠh7nX[[ u2B{A__o,WCϻwLMMwڅ&aaa::::::ǏDZZZ'OޱcɆ  KW^kFFh+**5559驹ooo FaǪ}!κddd,Yw a&XXt)B; *>>~ȑҗ.]%:>j(ooo\Z4Aʕ+wƫݻwG+ܺu @ `Ǐ#^Zp@آЂ wD";3`pss{ĉ.]dɒo߾ 8"⒔gqJbbbHHB9qℙ@$vBe痑$:s0T|~PUUmfbggx[o\~'O}xx 4={lԩ[l;&xgx<ݽi&`hhXXX(_~M l"viӦJNNFc'O$'' !TDDd͚5xª=Xoo۷] ; &hkk^x;qF?3se===---ҥKvvv>|{sT,O5k9򔆆{CCܹS]]ظ=sa###aQo)77aVOnܸ!))%<7aBUTTr劀@ׄpŋūUobfϞDxZtс/ST؁ÇIHH@Wn \F;v8pz *x]oصk@@' `!RQQ1e?(ȵ^~M$^UV>>g y9γDhϯ^{^ű=Ek `0{LSSׯ_="%ijjFϠ3{U(0b;,d29##cÆ /_:ujqq`ڝ8qۣ8 aܼtR2|Acƾ}a_K[(:N$/,t4.1-#ǎH$b 򡫹W@V.22rΝng+hYYYljQ(SSSA?tGGG"w,GkE HE`Ϣ/STӝBBByyO10?19Ǐg0=swazJ[[[RRڵkxC3BnB"KKKeee?~( 1qDG=. &"OR8CCC̻w9R+WRk޿p#7"==a9M{;)ok!D"&&&'Of}q8m1?ZCC8''eߜ 55'} {U{;8ȽdeeUTTrec#;yݻw{xx>>%K0=X|[8=X e۶mD"QGG'==pfX$X"KKK zH$ɓ' yf2uR7F^^6[\fYsI8Nbݺu>}SUUUVV8_z͚5_̅4[[[앳؞fųϽ$i9KI t ((( R{>͜ L`}# 5  A:*+++))RJOO`eeUTTĿKZZZ$%%~sItX0eT=ruu JJJ*//`Q($%%gDs^LIIAwTQQIKKKMMUQQAҥKsqqAKr$%%, +R9@Oq)=a4fNĚ]O!۝``h4"~,:;;W111))(-` C0:wV`*++&M]<:~)yyy { ,@3 k  VO9F8Nx7}ҥh*;;;W^%3ciɓ>}-^9>+YO%Y>SߙO_gib'#Р~,322&LFnQ IDATe{ahX%X hDyy9pLPW^URRݺu+_ׁძ+ٳgk@3,WWWC,[dpqΝ;KJJXXYjUWWwޙjkkڵ -^9>+ǒܧ3c4IKKswwg?}Ҳj*"w8}ah$XSWWݳgǛ!M铿?`ر=-+***aBu/7ʕ+wm(?)({n'F;z<@XbP&L`uuumܸ@ =:++ px`X'XxMMM%KxOSSω̟?_Hf<5k`Ϗe˖]]]3gH Czihٳg7 />}ڳgfرc/Eli <7I/0 lY!`/^ ` ѱj* ##{n.M\ii?,++ 077wl?dtazڴi"""&&&ؠ!7'OُW~GIIImLL`u]E1/{=N0K.%̣5`7oޠk*H .pSSÇg5A NCbXx/7`~:::۷oG7oN0A[[[WWŋ\|YOOOKKKGG^!Zbamo>uuul:@OnܸD",:t#144|!2=5 Ulhhcǎ9oLh4ӧG)""z! &X ~7Z\\-..>k֬盘;)//{Yc:;;ϝ;t5$ٳ~koo6))YYv,(--}IBBBIHHpsstww0a2 v=`;R!{D"JY(%%4ͪ%HrIKK(((455}N,XL>]LL,==wԴbŊ+))? &AAA222|ά5&&fʕZZZ'E d͛/]ٳAR%%%111_p))ShhwS@׃%sN=XW^3.We/Ssə2e [oh\*789sfڵ۶m۷o߅ ٳl2~w&yzz>ݻwEwvi``0zh999yyy_׀!h4Zsss[[[kkkkk+AKKK^^^aa!^AAaĉ/600022%!ԩSג%K3[n>}:@RRŋ={+++;99lڴ)SY[[?ٳ-:q™˗9VSsgϞ XZZ9scEEEhk~믿?^AAٳAx=ze˖/^뇄8::B))))bRSS&X<{w@QSS3`bZE3c %%1cƴ~>zjyy9ڱ'xۘ1c!!!7nG+! ץK8p`ԨQx%8f͚sڵ;w:99M>}8qĉOmmm킌pKHH ;!BDDDQQe2oyyy'N033HU666,'DtG;v?>\-Awɓ''$$L:;F;u:oĉ7nKBwаƿ1Xw\7زk Vbb"èQ.^n}PCWE=sL[[ۂ &Lp whAE^zellw8}R|NNNoWh=xťĉK.c*`AAA+W=ztHHȷo '==vΜ9߿?zhYY?,!!w\x @ĨoڴL&۷  ̙ckk[XXoܸ[He8 oDOOڵL&o۶ Nم \KKܽ{o۶[/`񘽽G>}jkk{!==5kTVVAׯ===L\QQ,//w\&X|1}W^yzz;wnܸqK,)..;. 꿢"___SSlݺ|޽B `۷o,YrM###ggx~ZAAcOOOcc㄄ 6C|3 ݘ1cΟ?ȑC9r$99YKKkŊ˗/'HxGAР47f`0jjj&ޱࠩ = :;;oܸ/))}3K@ݻcǎ۷o={v׮]sww ={]&;H`UWW9s󍍍cǎ ]d^?wܵkZ[[Ǎr%KVKJJzMQQQK#F駟IUUUUUQ TwwOQMMMط@PRRRSS#Hƍ;v,eĈ&&&i++++44Ν;4mΜ9֭;w0١`7n={˗AAAG<<-^իhL&WTT!6 Çl)5552]]]2=WǏ,Zhڵx5XK(<{ٳ&&&AAA .=%DDDF) /T*c"U[[`02AEE9B dBΝ;sL]]Κ5k/_ Lׯ_\rܹ99  O h4ǏYZ)HIKK;˗/CCC#""(ʌ3֭[)""w\CL ?>{lll,J>}?xbqqqC hh555)zPSSCѰbF"srt:=<<<,,,==]BB" `ݺux5Kx_x… UUU......p'xNֲdQT*+6rH0 L"VZO?,aGSSS#""ܹ,//ooo/&&wt  9B}+Bw.(]YYYxxk%$$\]]-Z G&XFwwwJJJDDݻw}<|kkk8{W-[`(**:::899'.DxiƍW\YzSWIKK {UYY܌boN",`7t'Oм ```>uTHkhhhHIIILLw^ssԩSn'k?|K111eA$11=Ȱ^=hjjʈijjSWWۏ@?'&&666XYYyرc&XJ} ڭU\\ rvvvqq={6)Eii) v.1477oܸ]f|= V^TTMXhjjD ڄGuuu:88Lr4JKK꒒Cd2A_$%%0qpp011ҩ! DJKK gx͛7MAH$ٳ|A&X|III555CCCWWWwwwKKK.ߎ۷o/_~1Caȑ***迨QF^;A SUU022rww𰰰7/`A ȫWn-t~81YyyyxGAMzN|Ǐ=looF*===x&XPnܸ{idkԩ˚k޽sH=vvv;vU`CIGGGzz={Xλ미ŋ1"44t }:?ph?zF9o޼W I QQQk֬$%%͝;ǐp1yd%%-[>|~CM3;08HMMͅ .\PWW&[}-,,f̘akkkee%++wʫW^zueeeDDĎ;V\YPPwhР;4JMM̚5 MƏw  3hhh8p@TT MGw L޾} lll1U?~9M p&XЀ(++{{{~&[G=tH4558qBPL)))|Ǐ}mll֯_?sI&և3`A<3rH@ss3::>---44FwA}P]]Zb̙3i ?BAA݇-///77޽{`XĜo5A|577KD"q񞞞&M@`񝜜cSSS^^l&$$555d nAutt|M߿^jkk[ZZZXXL2L^^H!a,Hd+77766=O&|kɊ AАE >7oޠC,,,n*555#`A85j#c}}=oeff޾}@ Fmnnnii9~xMMM\ h_~5Wuww'Ov)SXXXy@ .jjjn555XÇo޼7A RRRRXXXXXXTTTXX{:522Zd GehhǧC<3ABMCCCCCxݻwn߾ֆ>$##3a,200ӃBа]ZZZ-?ehhnhhhll}TQQQQQQ^^TWWc$ͥ &_!ЧdccüByEqqqUU۷o+++ݻЀbɺd2D6 W*RXII &͟?[-vCyyy 9wAA  `A ¶m۸ Dj?=/ڛV* H ׯ[YYEDD`q,3&zL+ s0aAׯ8pH$fff'>`ٲelKM6]P[[;g2ldd#YƺuX.%%U[[;{l---ccl+WFM&gS/))4iDZz5!'N|-zȑ#ƍN__F؃d/4{aaagϞM:FWoiyyLޱcq A!771z_{9]QA\DZĩY0 FԀA"Ip¨aQh,^7R/hFa[K4FiEq[$-rx?r9ps_sN{֮]AssZ|7o.((`+A_~ٳg R{5Jn}.힛~Ji]]ݬY(fRɓ#FH,++y\z"aݻXl錈`k^|I)U*N5=z0t4ݙp8tXie//^vwwx! ;KkX9KOOw:VWy;'$$H|aam!555j6-IDAT7I7<,,LLTB(~aM Ct*!r) 6B}g ! ^P`|\ p9IB_U8-ҫWfee(z;~8!q͚5˗/ V"*ex?{쪪*BHuuu)UUUiiiZv޽xڳgOvv0t4`C[… [} ӧOBΜ9ⅸs*]A5g7U ۷Gݭ&Ncᰐh䪟nOKKSm&񂸻HKKST7oޤi4>))iBwޝ>}ĉo.=jBt:]LL ]Ͽ+JR/_!"$ 2`wqPw]TTD)lׯJ0~m>|s/Ą -KG}TcX2θq-[v 88ϟ?\.,j4K. dv#,!|p=?8pȑ#)))C ,x]reC AT:thJ~PG3X2C 3X2C 3Xq"ɇO!fddꘘEI8n˖-B-[q n {k."J˜1cŘ!怳3=8n۶m}0-Bj„ PG+V\`;vX~~[!׮]_(g2L&!$&&FB(z*l3gb1 g:::jZ pW^^(4{YVV֤If̘H#ܸqc̙^ӓ'O4iҁXGXNrX^/lڱcJb 6__|!DPt:NO:p)Sr߽^z}͆`SJf3+:; g( LBǏ6lZz<&t^r?~ƍ'O ?tݻښ/^RUUaÆfvV?~ӧO`/--h4+V0Lmmml}NNNmm-!.''I9rdqqqeelׯ_ϙ3gҥf6TA?>>'XT:N9zhJ)!˗fn:RZV߂Rt:#""ؚׯiӦ\BϟO);u%2AB^XXX\\L)ZQQQ===g }}>[P*<Ͽze!.KP6555j= |K,|fھ}{SShdǎ;r(c= e6Z,rӝNg}}}! @ݻ|={dgglQQQA)zjVVqgݺu.\hmmeF|`j}~J@ՔҪ*8҉N}n7uuuӦM6eggoڴI7:R fŢ^ Ν;  ,cǎ'O=z4X~)>>~?!lܹ_~%͛7!555%%j&%%u{ƞ={"DbgΜiiiOO:%Dɹxŋfo!%ٳ:nĈoŋ`8zfKMMX,gܸq˖-;q\ w :Ft@)))ٿ?^1 ,x?G=  , , , , , , , , ,YPa6m6@FxMsssII\!sZ~w`pҡ!fuwU_6FQIENDB`gsasl-1.8.1/doc/abstraction.eps0000664000000000000000000030263411746471770013340 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: abstraction.dia %%Creator: Dia v0.94 %%CreationDate: Sun Nov 7 16:43:45 2004 %%For: jas %%Orientation: Portrait %%Magnification: 1.0000 %%BoundingBox: 0 0 1313 684 %%BeginSetup %%EndSetup %%EndComments %%BeginProlog [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /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 /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /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 /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def /cp {closepath} bind def /c {curveto} bind def /f {fill} bind def /a {arc} bind def /ef {eofill} bind def /ex {exch} bind def /gr {grestore} bind def /gs {gsave} bind def /sa {save} bind def /rs {restore} bind def /l {lineto} bind def /m {moveto} bind def /rm {rmoveto} bind def /n {newpath} bind def /s {stroke} bind def /sh {show} bind def /slc {setlinecap} bind def /slj {setlinejoin} bind def /slw {setlinewidth} bind def /srgb {setrgbcolor} bind def /rot {rotate} bind def /sc {scale} bind def /sd {setdash} bind def /ff {findfont} bind def /sf {setfont} bind def /scf {scalefont} bind def /sw {stringwidth pop} bind def /tr {translate} bind def /ellipsedict 8 dict def ellipsedict /mtrx matrix put /ellipse { ellipsedict begin /endangle exch def /startangle exch def /yrad exch def /xrad exch def /y exch def /x exch def /savematrix mtrx currentmatrix def x y tr xrad yrad sc 0 0 1 startangle endangle arc savematrix setmatrix end } def /mergeprocs { dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /dpi_x 300 def /dpi_y 300 def /conicto { /to_y exch def /to_x exch def /conic_cntrl_y exch def /conic_cntrl_x exch def currentpoint /p0_y exch def /p0_x exch def /p1_x p0_x conic_cntrl_x p0_x sub 2 3 div mul add def /p1_y p0_y conic_cntrl_y p0_y sub 2 3 div mul add def /p2_x p1_x to_x p0_x sub 1 3 div mul add def /p2_y p1_y to_y p0_y sub 1 3 div mul add def p1_x p1_y p2_x p2_y to_x to_y curveto } bind def /start_ol { gsave 1.1 dpi_x div dup scale} bind def /end_ol { closepath fill grestore } bind def 28.346000 -28.346000 scale 5.050000 -24.050000 translate %%EndProlog 1.000000 1.000000 1.000000 srgb n 16.000000 0.000000 m 16.000000 24.000000 l 25.250000 24.000000 l 25.250000 0.000000 l f n 16.000000 1.000000 m 16.000000 1.000000 1.000000 1.000000 180.000000 270.000000 ellipse f n 25.250000 1.000000 m 25.250000 1.000000 1.000000 1.000000 270.000000 360.000000 ellipse f n 15.000000 1.000000 m 15.000000 23.000000 l 26.250000 23.000000 l 26.250000 1.000000 l f n 16.000000 23.000000 m 16.000000 23.000000 1.000000 1.000000 90.000000 180.000000 ellipse f n 25.250000 23.000000 m 25.250000 23.000000 1.000000 1.000000 0.000000 90.000000 ellipse f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 16.000000 0.000000 m 25.250000 0.000000 l s n 16.000000 24.000000 m 25.250000 24.000000 l s n 16.000000 1.000000 1.000000 1.000000 180.000000 270.000000 ellipse s n 25.250000 1.000000 1.000000 1.000000 270.000000 360.000000 ellipse s n 15.000000 1.000000 m 15.000000 23.000000 l s n 26.250000 1.000000 m 26.250000 23.000000 l s n 16.000000 23.000000 1.000000 1.000000 90.000000 180.000000 ellipse s n 25.250000 23.000000 1.000000 1.000000 0.000000 90.000000 ellipse s gsave 15.531200 3.131250 translate 0.035278 -0.035278 scale start_ol 5952 3200 moveto 3392 3200 lineto 3392 2560 lineto 5248 2560 lineto 5248 2408 lineto 5248 1417 4446 701 3334 701 curveto 2715 701 2155 917 1796 1294 curveto 1394 1710 1152 2407 1152 3128 curveto 1152 4562 2005 5507 3292 5507 curveto 4220 5507 4889 5027 5056 4236 curveto 5866 4236 lineto 5648 5489 4711 6208 3313 6208 curveto 2568 6208 1966 6021 1489 5639 curveto 786 5070 384 4152 384 3088 curveto 384 1268 1527 0 3171 0 curveto 3997 0 4656 306 5248 960 curveto 5445 0 lineto 5952 0 lineto 5952 3200 lineto end_ol grestore gsave 16.411733 3.131250 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 17.233000 3.131250 translate 0.035278 -0.035278 scale start_ol 4608 6208 moveto 4608 2000 lineto 4608 1194 4013 701 3032 701 curveto 2579 701 2210 808 1916 1013 curveto 1615 1244 1472 1548 1472 2000 curveto 1472 6208 lineto 704 6208 lineto 704 1981 lineto 704 759 1588 0 3032 0 curveto 4458 0 5376 776 5376 1981 curveto 5376 6208 lineto 4608 6208 lineto end_ol grestore gsave 18.054267 3.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 18.367533 3.131250 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 19.121067 3.131250 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 19.874600 3.131250 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 20.628133 3.131250 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore gsave 15.531200 4.631250 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore gsave 16.166200 4.631250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 16.420200 4.631250 translate 0.035278 -0.035278 scale start_ol 448 6208 moveto 448 0 lineto 1152 0 lineto 1152 760 lineto 1477 245 1907 0 2500 0 curveto 3621 0 4352 901 4352 2288 curveto 4352 3643 3639 4480 2495 4480 curveto 1898 4480 1475 4251 1152 3751 curveto 1152 6208 lineto 448 6208 lineto 2371 3813 moveto 3147 3813 3648 3185 3648 2217 curveto 3648 1295 3130 667 2371 667 curveto 1636 667 1152 1287 1152 2240 curveto 1152 3193 1636 3813 2371 3813 curveto end_ol grestore gsave 17.055200 4.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2253 lineto 1280 2874 1440 3281 1776 3521 curveto 1994 3678 2205 3728 2692 3728 curveto 2692 4480 lineto 2574 4480 2515 4480 2422 4480 curveto 1967 4480 1621 4211 1216 3554 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 17.436200 4.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 18.071200 4.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2253 lineto 1280 2874 1440 3281 1776 3521 curveto 1994 3678 2205 3728 2692 3728 curveto 2692 4480 lineto 2574 4480 2515 4480 2422 4480 curveto 1967 4480 1621 4211 1216 3554 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 18.452200 4.631250 translate 0.035278 -0.035278 scale start_ol 3261 4480 moveto 2042 959 lineto 916 4480 lineto 168 4480 lineto 1656 -60 lineto 1387 -776 lineto 1277 -1095 1118 -1216 824 -1216 curveto 723 -1216 605 -1199 454 -1164 curveto 454 -1755 lineto 597 -1825 740 -1856 924 -1856 curveto 1151 -1856 1395 -1779 1580 -1643 curveto 1799 -1480 1925 -1292 2059 -934 curveto 4017 4480 lineto 3261 4480 lineto end_ol grestore gsave 19.019467 4.631250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 19.332733 4.631250 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 20.086267 4.631250 translate 0.035278 -0.035278 scale start_ol 1536 2624 moveto 3455 2624 lineto 3938 2624 4320 2769 4650 3068 curveto 5023 3409 5184 3810 5184 4382 curveto 5184 5551 4504 6208 3295 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2624 lineto 1536 3264 moveto 1536 5507 lineto 3162 5507 lineto 3908 5507 4352 5086 4352 4386 curveto 4352 3685 3908 3264 3162 3264 curveto 1536 3264 lineto end_ol grestore gsave 20.839800 4.631250 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore gsave 15.531200 7.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 7.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 7.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 9.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 9.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 9.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 9.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 9.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 9.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 9.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.078733 9.131250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 19.713733 9.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.967733 9.131250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 20.281000 9.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 20.594267 9.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 20.975267 9.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 10.631250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 10.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 10.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 10.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 10.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 10.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 10.631250 translate 0.035278 -0.035278 scale start_ol 3927 2938 moveto 3894 3350 3802 3616 3635 3850 curveto 3335 4246 2809 4480 2200 4480 curveto 1024 4480 256 3587 256 2200 curveto 256 853 1007 0 2192 0 curveto 3234 0 3894 604 3977 1635 curveto 3271 1635 lineto 3153 984 2792 658 2195 658 curveto 1422 658 960 1240 960 2201 curveto 960 3217 1414 3822 2179 3822 curveto 2767 3822 3137 3504 3221 2938 curveto 3927 2938 lineto end_ol grestore gsave 19.392000 10.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 20.027000 10.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 20.281000 10.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 20.535000 10.631250 translate 0.035278 -0.035278 scale start_ol 448 6208 moveto 448 0 lineto 1152 0 lineto 1152 760 lineto 1477 245 1907 0 2500 0 curveto 3621 0 4352 901 4352 2288 curveto 4352 3643 3639 4480 2495 4480 curveto 1898 4480 1475 4251 1152 3751 curveto 1152 6208 lineto 448 6208 lineto 2371 3813 moveto 3147 3813 3648 3185 3648 2217 curveto 3648 1295 3130 667 2371 667 curveto 1636 667 1152 1287 1152 2240 curveto 1152 3193 1636 3813 2371 3813 curveto end_ol grestore gsave 21.170000 10.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 21.805000 10.631250 translate 0.035278 -0.035278 scale start_ol 3927 2938 moveto 3894 3350 3802 3616 3635 3850 curveto 3335 4246 2809 4480 2200 4480 curveto 1024 4480 256 3587 256 2200 curveto 256 853 1007 0 2192 0 curveto 3234 0 3894 604 3977 1635 curveto 3271 1635 lineto 3153 984 2792 658 2195 658 curveto 1422 658 960 1240 960 2201 curveto 960 3217 1414 3822 2179 3822 curveto 2767 3822 3137 3504 3221 2938 curveto 3927 2938 lineto end_ol grestore gsave 22.372267 10.631250 translate 0.035278 -0.035278 scale start_ol 1216 6208 moveto 512 6208 lineto 512 0 lineto 1216 0 lineto 1216 1744 lineto 1897 2428 lineto 3384 0 lineto 4250 0 lineto 2451 2933 lineto 3981 4480 lineto 3082 4480 lineto 1216 2582 lineto 1216 6208 lineto end_ol grestore gsave 22.939533 10.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 23.574533 10.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 24.141800 10.631250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 24.776800 10.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 25.090067 10.631250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 25.403333 10.631250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 25.784333 10.631250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 12.131250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 12.131250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 12.131250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 13.631250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 13.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 13.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 13.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 13.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 13.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 13.631250 translate 0.035278 -0.035278 scale start_ol 3927 2938 moveto 3894 3350 3802 3616 3635 3850 curveto 3335 4246 2809 4480 2200 4480 curveto 1024 4480 256 3587 256 2200 curveto 256 853 1007 0 2192 0 curveto 3234 0 3894 604 3977 1635 curveto 3271 1635 lineto 3153 984 2792 658 2195 658 curveto 1422 658 960 1240 960 2201 curveto 960 3217 1414 3822 2179 3822 curveto 2767 3822 3137 3504 3221 2938 curveto 3927 2938 lineto end_ol grestore gsave 19.392000 13.631250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 19.646000 13.631250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.900000 13.631250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 20.535000 13.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 21.170000 13.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 21.483267 13.631250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 22.118267 13.631250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 22.685533 13.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 22.998800 13.631250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 23.633800 13.631250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2253 lineto 1280 2874 1440 3281 1776 3521 curveto 1994 3678 2205 3728 2692 3728 curveto 2692 4480 lineto 2574 4480 2515 4480 2422 4480 curveto 1967 4480 1621 4211 1216 3554 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 24.014800 13.631250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 24.328067 13.631250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 24.641333 13.631250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 25.022333 13.631250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 15.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 15.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 15.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 15.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 15.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 15.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 15.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 19.392000 15.131250 translate 0.035278 -0.035278 scale start_ol 2131 4480 moveto 1408 4480 lineto 1408 5711 lineto 704 5711 lineto 704 4480 lineto 107 4480 lineto 107 3899 lineto 704 3899 lineto 704 697 lineto 704 252 1008 0 1557 0 curveto 1726 0 1895 17 2131 60 curveto 2131 648 lineto 2039 624 1929 624 1795 624 curveto 1492 624 1408 705 1408 1003 curveto 1408 3899 lineto 2131 3899 lineto 2131 4480 lineto end_ol grestore gsave 19.705267 15.131250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 20.340267 15.131250 translate 0.035278 -0.035278 scale start_ol 448 -1667 moveto 1152 -1667 lineto 1152 667 lineto 1518 205 1925 0 2490 0 curveto 3612 0 4352 869 4352 2200 curveto 4352 3603 3636 4480 2479 4480 curveto 1887 4480 1413 4211 1088 3689 curveto 1088 4480 lineto 448 4480 lineto 448 -1667 lineto 2375 3813 moveto 3145 3813 3648 3185 3648 2217 curveto 3648 1295 3137 667 2375 667 curveto 1638 667 1152 1287 1152 2240 curveto 1152 3193 1638 3813 2375 3813 curveto end_ol grestore gsave 20.975267 15.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.288533 15.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 21.669533 15.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 16.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 16.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 16.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 18.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 18.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 18.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 18.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 18.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 18.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 18.131250 translate 0.035278 -0.035278 scale start_ol 2203 4480 moveto 1472 4480 lineto 1472 5151 lineto 1472 5437 1640 5584 1960 5584 curveto 2019 5584 2044 5584 2203 5584 curveto 2203 6165 lineto 2043 6199 1950 6208 1806 6208 curveto 1156 6208 768 5840 768 5213 curveto 768 4480 lineto 180 4480 lineto 180 3899 lineto 768 3899 lineto 768 0 lineto 1472 0 lineto 1472 3899 lineto 2203 3899 lineto 2203 4480 lineto end_ol grestore gsave 19.138000 18.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 19.392000 18.131250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 20.027000 18.131250 translate 0.035278 -0.035278 scale start_ol 1280 4480 moveto 576 4480 lineto 576 0 lineto 1280 0 lineto 1280 4480 lineto 1280 6208 moveto 576 6208 lineto 576 5323 lineto 1280 5323 lineto 1280 6208 lineto end_ol grestore gsave 20.281000 18.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 20.848267 18.131250 translate 0.035278 -0.035278 scale start_ol 576 6208 moveto 576 0 lineto 1280 0 lineto 1280 2396 lineto 1280 3283 1753 3864 2480 3864 curveto 2708 3864 2936 3789 3105 3665 curveto 3308 3524 3392 3317 3392 3010 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4023 3563 4480 2701 4480 curveto 2075 4480 1694 4286 1280 3748 curveto 1280 6208 lineto 576 6208 lineto end_ol grestore gsave 21.483267 18.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.796533 18.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 22.177533 18.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore gsave 15.531200 19.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.844467 19.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 16.157733 19.631250 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 15.531200 21.131250 translate 0.035278 -0.035278 scale start_ol 3392 4480 moveto 3392 3713 lineto 3048 4236 2631 4480 2082 4480 curveto 993 4480 256 3555 256 2200 curveto 256 1515 448 957 808 558 curveto 1134 207 1602 0 2062 0 curveto 2614 0 2999 235 3392 790 curveto 3392 535 lineto 3392 -136 3316 -543 3139 -817 curveto 2953 -1110 2590 -1280 2159 -1280 curveto 1838 -1280 1551 -1178 1357 -993 curveto 1197 -840 1129 -696 1087 -379 curveto 394 -379 lineto 469 -1304 1113 -1856 2141 -1856 curveto 2792 -1856 3352 -1643 3636 -1284 curveto 3971 -874 4096 -310 4096 740 curveto 4096 4480 lineto 3392 4480 lineto 2184 3822 moveto 2944 3822 3392 3233 3392 2217 curveto 3392 1247 2936 658 2193 658 curveto 1424 658 960 1255 960 2240 curveto 960 3217 1433 3822 2184 3822 curveto end_ol grestore gsave 16.166200 21.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 16.733467 21.131250 translate 0.035278 -0.035278 scale start_ol 4497 615 moveto 4421 598 4388 598 4346 598 curveto 4102 598 3968 715 3968 919 curveto 3968 3310 lineto 3968 4071 3366 4480 2225 4480 curveto 1552 4480 995 4301 685 3985 curveto 472 3766 384 3522 384 3100 curveto 1255 3100 lineto 1314 3597 1632 3822 2285 3822 curveto 2912 3822 3264 3601 3264 3207 curveto 3264 3034 lineto 3264 2758 3090 2640 2542 2577 curveto 1563 2459 1413 2427 1148 2325 curveto 641 2128 384 1757 384 1221 curveto 384 473 932 0 1812 0 curveto 2359 0 2799 196 3289 655 curveto 3340 204 3559 0 4015 0 curveto 4159 0 4269 17 4497 77 curveto 4497 615 lineto 3264 1516 moveto 3264 1299 3197 1167 2988 989 curveto 2703 748 2360 624 1950 624 curveto 1406 624 1088 865 1088 1276 curveto 1088 1703 1398 1920 2143 2021 curveto 2879 2114 3030 2145 3264 2246 curveto 3264 1516 lineto end_ol grestore gsave 17.368467 21.131250 translate 0.035278 -0.035278 scale start_ol 3840 3171 moveto 3840 4008 3237 4480 2165 4480 curveto 1084 4480 384 3984 384 3219 curveto 384 2573 740 2266 1790 2029 curveto 2450 1879 lineto 2941 1769 3136 1604 3136 1304 curveto 3136 918 2716 658 2089 658 curveto 1703 658 1377 759 1197 929 curveto 1085 1046 1034 1162 991 1449 curveto 384 1449 lineto 384 470 942 0 2067 0 curveto 3150 0 3840 512 3840 1308 curveto 3840 1923 3467 2262 2587 2459 curveto 1909 2608 lineto 1334 2735 1088 2908 1088 3199 curveto 1088 3578 1500 3822 2150 3822 curveto 2791 3822 3136 3597 3136 3171 curveto 3840 3171 lineto end_ol grestore gsave 17.935733 21.131250 translate 0.035278 -0.035278 scale start_ol 1280 6208 moveto 576 6208 lineto 576 0 lineto 1280 0 lineto 1280 6208 lineto end_ol grestore gsave 18.189733 21.131250 translate 0.035278 -0.035278 scale start_ol 4858 -1088 moveto -185 -1088 lineto -185 -1536 lineto 4858 -1536 lineto 4858 -1088 lineto end_ol grestore gsave 18.824733 21.131250 translate 0.035278 -0.035278 scale start_ol 4160 6208 moveto 3456 6208 lineto 3456 3790 lineto 3160 4241 2687 4480 2095 4480 curveto 945 4480 192 3611 192 2280 curveto 192 869 911 0 2076 0 curveto 2671 0 3084 227 3456 775 curveto 3456 0 lineto 4160 0 lineto 4160 6208 lineto 2197 3813 moveto 2968 3813 3456 3193 3456 2225 curveto 3456 1287 2959 667 2206 667 curveto 1418 667 896 1295 896 2240 curveto 896 3185 1418 3813 2197 3813 curveto end_ol grestore gsave 19.459733 21.131250 translate 0.035278 -0.035278 scale start_ol 2296 4480 moveto 1065 4480 320 3643 320 2240 curveto 320 837 1057 0 2304 0 curveto 3535 0 4288 837 4288 2208 curveto 4288 3651 3560 4480 2296 4480 curveto 2304 3822 moveto 3106 3822 3584 3225 3584 2217 curveto 3584 1263 3089 658 2304 658 curveto 1510 658 1024 1255 1024 2240 curveto 1024 3217 1510 3822 2304 3822 curveto end_ol grestore gsave 20.094733 21.131250 translate 0.035278 -0.035278 scale start_ol 576 4480 moveto 576 0 lineto 1280 0 lineto 1280 2391 lineto 1216 3277 1703 3856 2452 3856 curveto 3026 3856 3392 3525 3392 3004 curveto 3392 0 lineto 4096 0 lineto 4096 3291 lineto 4096 4015 3545 4480 2690 4480 curveto 2029 4480 1606 4226 1216 3608 curveto 1216 4480 lineto 576 4480 lineto end_ol grestore gsave 20.729733 21.131250 translate 0.035278 -0.035278 scale start_ol 4192 1984 moveto 4192 2639 4143 3032 4020 3351 curveto 3742 4054 3087 4480 2285 4480 curveto 1089 4480 320 3587 320 2216 curveto 320 845 1065 0 2267 0 curveto 3249 0 3928 535 4100 1432 curveto 3394 1432 lineto 3206 923 2822 658 2274 658 curveto 1841 658 1473 835 1245 1159 curveto 1081 1380 1024 1601 1024 1984 curveto 4192 1984 lineto 1024 2560 moveto 1024 3325 1520 3822 2226 3822 curveto 2915 3822 3444 3286 3444 2607 curveto 3444 2592 3444 2576 3436 2560 curveto 1024 2560 lineto end_ol grestore gsave 21.364733 21.131250 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 21.678000 21.131250 translate 0.035278 -0.035278 scale start_ol 2033 6208 moveto 1178 5088 640 3532 640 2190 curveto 640 839 1178 -717 2033 -1837 curveto 2495 -1837 lineto 1756 -614 1344 822 1344 2190 curveto 1344 3549 1756 4994 2495 6208 curveto 2033 6208 lineto end_ol grestore gsave 22.059000 21.131250 translate 0.035278 -0.035278 scale start_ol 783 -1837 moveto 1638 -717 2176 839 2176 2181 curveto 2176 3532 1638 5088 783 6208 curveto 321 6208 lineto 1060 4985 1472 3549 1472 2181 curveto 1472 822 1060 -623 321 -1837 curveto 783 -1837 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 7.000000 m 33.500000 9.500000 l 36.700000 9.500000 l 36.700000 7.000000 l f n 33.500000 7.500000 m 33.500000 7.500000 0.500000 0.500000 180.000000 270.000000 ellipse f n 36.700000 7.500000 m 36.700000 7.500000 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 7.500000 m 33.000000 9.000000 l 37.200000 9.000000 l 37.200000 7.500000 l f n 33.500000 9.000000 m 33.500000 9.000000 0.500000 0.500000 90.000000 180.000000 ellipse f n 36.700000 9.000000 m 36.700000 9.000000 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 7.000000 m 36.700000 7.000000 l s n 33.500000 9.500000 m 36.700000 9.500000 l s n 33.500000 7.500000 0.500000 0.500000 180.000000 270.000000 ellipse s n 36.700000 7.500000 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 7.500000 m 33.000000 9.000000 l s n 37.200000 7.500000 m 37.200000 9.000000 l s n 33.500000 9.000000 0.500000 0.500000 90.000000 180.000000 ellipse s n 36.700000 9.000000 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.512500 8.600000 translate 0.035278 -0.035278 scale start_ol 1536 2624 moveto 3455 2624 lineto 3938 2624 4320 2769 4650 3068 curveto 5023 3409 5184 3810 5184 4382 curveto 5184 5551 4504 6208 3295 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2624 lineto 1536 3264 moveto 1536 5507 lineto 3162 5507 lineto 3908 5507 4352 5086 4352 4386 curveto 4352 3685 3908 3264 3162 3264 curveto 1536 3264 lineto end_ol grestore gsave 34.266033 8.600000 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore gsave 34.901033 8.600000 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 35.654567 8.600000 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore gsave 35.967833 8.600000 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 10.386700 m 33.500000 12.886700 l 39.400000 12.886700 l 39.400000 10.386700 l f n 33.500000 10.886700 m 33.500000 10.886700 0.500000 0.500000 180.000000 270.000000 ellipse f n 39.400000 10.886700 m 39.400000 10.886700 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 10.886700 m 33.000000 12.386700 l 39.900000 12.386700 l 39.900000 10.886700 l f n 33.500000 12.386700 m 33.500000 12.386700 0.500000 0.500000 90.000000 180.000000 ellipse f n 39.400000 12.386700 m 39.400000 12.386700 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 10.386700 m 39.400000 10.386700 l s n 33.500000 12.886700 m 39.400000 12.886700 l s n 33.500000 10.886700 0.500000 0.500000 180.000000 270.000000 ellipse s n 39.400000 10.886700 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 10.886700 m 33.000000 12.386700 l s n 39.900000 10.886700 m 39.900000 12.386700 l s n 33.500000 12.386700 0.500000 0.500000 90.000000 180.000000 ellipse s n 39.400000 12.386700 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.414700 11.986700 translate 0.035278 -0.035278 scale start_ol 5531 4257 moveto 5288 5569 4517 6208 3175 6208 curveto 2354 6208 1692 5956 1239 5469 curveto 686 4884 384 4038 384 3080 curveto 384 2105 694 1268 1273 691 curveto 1742 219 2346 0 3142 0 curveto 4634 0 5473 784 5657 2359 curveto 4850 2359 lineto 4783 1959 4699 1686 4573 1454 curveto 4321 973 3799 701 3144 701 curveto 1925 701 1152 1630 1152 3088 curveto 1152 4586 1892 5507 3076 5507 curveto 3572 5507 4034 5363 4287 5138 curveto 4514 4938 4640 4690 4732 4257 curveto 5531 4257 lineto end_ol grestore gsave 34.235967 11.986700 translate 0.035278 -0.035278 scale start_ol 1536 2688 moveto 3627 2688 lineto 4350 2688 4672 2346 4672 1575 curveto 4608 1019 lineto 4608 634 4673 257 4778 0 curveto 5504 0 lineto 5504 197 lineto 5397 402 5376 625 5376 1455 curveto 5376 2460 5212 2762 4531 3047 curveto 5225 3390 5504 3827 5504 4538 curveto 5504 5617 4833 6208 3620 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2688 lineto 1536 3328 moveto 1536 5507 lineto 3453 5507 lineto 3897 5507 4152 5438 4348 5264 curveto 4561 5082 4672 4795 4672 4413 curveto 4672 3667 4297 3328 3453 3328 curveto 1536 3328 lineto end_ol grestore gsave 35.057233 11.986700 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 35.810767 11.986700 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 36.759033 11.986700 translate 0.035278 -0.035278 scale start_ol 2387 2688 moveto 387 2688 lineto 387 2048 lineto 2387 2048 lineto 2387 2688 lineto end_ol grestore gsave 37.140033 11.986700 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 38.088300 11.986700 translate 0.035278 -0.035278 scale start_ol 768 0 moveto 3102 0 lineto 4630 0 5568 1175 5568 3108 curveto 5568 5033 4638 6208 3102 6208 curveto 768 6208 lineto 768 0 lineto 1536 701 moveto 1536 5507 lineto 2968 5507 lineto 4167 5507 4800 4682 4800 3100 curveto 4800 1535 4167 701 2968 701 curveto 1536 701 lineto end_ol grestore gsave 38.909567 11.986700 translate 0.035278 -0.035278 scale start_ol 4036 5888 moveto 953 5888 lineto 508 2802 lineto 1189 2802 lineto 1534 3193 1819 3328 2281 3328 curveto 3080 3328 3584 2810 3584 1974 curveto 3584 1161 3088 667 2281 667 curveto 1634 667 1239 978 1063 1615 curveto 323 1615 lineto 424 1140 508 910 685 697 curveto 1023 254 1629 0 2304 0 curveto 3509 0 4352 842 4352 2057 curveto 4352 3191 3567 3968 2420 3968 curveto 1998 3968 1661 3861 1315 3615 curveto 1550 5144 lineto 4036 5144 lineto 4036 5888 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 3.613330 m 33.500000 6.113330 l 39.350000 6.113330 l 39.350000 3.613330 l f n 33.500000 4.113330 m 33.500000 4.113330 0.500000 0.500000 180.000000 270.000000 ellipse f n 39.350000 4.113330 m 39.350000 4.113330 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 4.113330 m 33.000000 5.613330 l 39.850000 5.613330 l 39.850000 4.113330 l f n 33.500000 5.613330 m 33.500000 5.613330 0.500000 0.500000 90.000000 180.000000 ellipse f n 39.350000 5.613330 m 39.350000 5.613330 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 3.613330 m 39.350000 3.613330 l s n 33.500000 6.113330 m 39.350000 6.113330 l s n 33.500000 4.113330 0.500000 0.500000 180.000000 270.000000 ellipse s n 39.350000 4.113330 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 4.113330 m 33.000000 5.613330 l s n 39.850000 4.113330 m 39.850000 5.613330 l s n 33.500000 5.613330 0.500000 0.500000 90.000000 180.000000 ellipse s n 39.350000 5.613330 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.448967 5.213330 translate 0.035278 -0.035278 scale start_ol 1536 2816 moveto 4873 2816 lineto 4873 3456 lineto 1536 3456 lineto 1536 5507 lineto 4999 5507 lineto 4999 6208 lineto 768 6208 lineto 768 0 lineto 5150 0 lineto 5150 701 lineto 1536 701 lineto 1536 2816 lineto end_ol grestore gsave 34.202500 5.213330 translate 0.035278 -0.035278 scale start_ol 3286 3185 moveto 5354 6208 lineto 4421 6208 lineto 2841 3772 lineto 1269 6208 lineto 319 6208 lineto 2353 3185 lineto 185 0 lineto 1135 0 lineto 2816 2589 lineto 4488 0 lineto 5455 0 lineto 3286 3185 lineto end_ol grestore gsave 34.956033 5.213330 translate 0.035278 -0.035278 scale start_ol 2944 5507 moveto 4953 5507 lineto 4953 6208 lineto 159 6208 lineto 159 5507 lineto 2176 5507 lineto 2176 0 lineto 2944 0 lineto 2944 5507 lineto end_ol grestore gsave 35.650300 5.213330 translate 0.035278 -0.035278 scale start_ol 1536 2816 moveto 4873 2816 lineto 4873 3456 lineto 1536 3456 lineto 1536 5507 lineto 4999 5507 lineto 4999 6208 lineto 768 6208 lineto 768 0 lineto 5150 0 lineto 5150 701 lineto 1536 701 lineto 1536 2816 lineto end_ol grestore gsave 36.403833 5.213330 translate 0.035278 -0.035278 scale start_ol 1536 2688 moveto 3627 2688 lineto 4350 2688 4672 2346 4672 1575 curveto 4608 1019 lineto 4608 634 4673 257 4778 0 curveto 5504 0 lineto 5504 197 lineto 5397 402 5376 625 5376 1455 curveto 5376 2460 5212 2762 4531 3047 curveto 5225 3390 5504 3827 5504 4538 curveto 5504 5617 4833 6208 3620 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2688 lineto 1536 3328 moveto 1536 5507 lineto 3453 5507 lineto 3897 5507 4152 5438 4348 5264 curveto 4561 5082 4672 4795 4672 4413 curveto 4672 3667 4297 3328 3453 3328 curveto 1536 3328 lineto end_ol grestore gsave 37.225100 5.213330 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 38.046367 5.213330 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 38.799900 5.213330 translate 0.035278 -0.035278 scale start_ol 1472 6208 moveto 704 6208 lineto 704 0 lineto 4498 0 lineto 4498 701 lineto 1472 701 lineto 1472 6208 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 0.226667 m 33.500000 2.726667 l 40.750000 2.726667 l 40.750000 0.226667 l f n 33.500000 0.726667 m 33.500000 0.726667 0.500000 0.500000 180.000000 270.000000 ellipse f n 40.750000 0.726667 m 40.750000 0.726667 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 0.726667 m 33.000000 2.226667 l 41.250000 2.226667 l 41.250000 0.726667 l f n 33.500000 2.226667 m 33.500000 2.226667 0.500000 0.500000 90.000000 180.000000 ellipse f n 40.750000 2.226667 m 40.750000 2.226667 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 0.226667 m 40.750000 0.226667 l s n 33.500000 2.726667 m 40.750000 2.726667 l s n 33.500000 0.726667 0.500000 0.500000 180.000000 270.000000 ellipse s n 40.750000 0.726667 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 0.726667 m 33.000000 2.226667 l s n 41.250000 0.726667 m 41.250000 2.226667 l s n 33.500000 2.226667 0.500000 0.500000 90.000000 180.000000 ellipse s n 40.750000 2.226667 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.450467 1.826667 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 34.204000 1.826667 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 35.025267 1.826667 translate 0.035278 -0.035278 scale start_ol 3256 6208 moveto 1508 6208 320 4957 320 3104 curveto 320 1251 1508 0 3264 0 curveto 4000 0 4661 219 5154 626 curveto 5815 1170 6208 2088 6208 3055 curveto 6208 4965 5045 6208 3256 6208 curveto 3256 5507 moveto 4583 5507 5440 4546 5440 3072 curveto 5440 1662 4558 701 3264 701 curveto 1962 701 1088 1662 1088 3104 curveto 1088 4546 1962 5507 3256 5507 curveto end_ol grestore gsave 35.905800 1.826667 translate 0.035278 -0.035278 scale start_ol 5440 6208 moveto 4672 6208 lineto 4672 1133 lineto 1516 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5033 lineto 4531 0 lineto 5440 0 lineto 5440 6208 lineto end_ol grestore gsave 36.727067 1.826667 translate 0.035278 -0.035278 scale start_ol 3264 2436 moveto 5567 6208 lineto 4634 6208 lineto 2892 3185 lineto 1101 6208 lineto 134 6208 lineto 2496 2436 lineto 2496 0 lineto 3264 0 lineto 3264 2436 lineto end_ol grestore gsave 37.480600 1.826667 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 38.428867 1.826667 translate 0.035278 -0.035278 scale start_ol 3256 6208 moveto 1508 6208 320 4957 320 3104 curveto 320 1251 1508 0 3264 0 curveto 4000 0 4661 219 5154 626 curveto 5815 1170 6208 2088 6208 3055 curveto 6208 4965 5045 6208 3256 6208 curveto 3256 5507 moveto 4583 5507 5440 4546 5440 3072 curveto 5440 1662 4558 701 3264 701 curveto 1962 701 1088 1662 1088 3104 curveto 1088 4546 1962 5507 3256 5507 curveto end_ol grestore gsave 39.309400 1.826667 translate 0.035278 -0.035278 scale start_ol 4608 6208 moveto 4608 2000 lineto 4608 1194 4013 701 3032 701 curveto 2579 701 2210 808 1916 1013 curveto 1615 1244 1472 1548 1472 2000 curveto 1472 6208 lineto 704 6208 lineto 704 1981 lineto 704 759 1588 0 3032 0 curveto 4458 0 5376 776 5376 1981 curveto 5376 6208 lineto 4608 6208 lineto end_ol grestore gsave 40.130667 1.826667 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 13.773300 m 33.500000 16.273300 l 40.250000 16.273300 l 40.250000 13.773300 l f n 33.500000 14.273300 m 33.500000 14.273300 0.500000 0.500000 180.000000 270.000000 ellipse f n 40.250000 14.273300 m 40.250000 14.273300 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 14.273300 m 33.000000 15.773300 l 40.750000 15.773300 l 40.750000 14.273300 l f n 33.500000 15.773300 m 33.500000 15.773300 0.500000 0.500000 90.000000 180.000000 ellipse f n 40.250000 15.773300 m 40.250000 15.773300 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 13.773300 m 40.250000 13.773300 l s n 33.500000 16.273300 m 40.250000 16.273300 l s n 33.500000 14.273300 0.500000 0.500000 180.000000 270.000000 ellipse s n 40.250000 14.273300 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 14.273300 m 33.000000 15.773300 l s n 40.750000 14.273300 m 40.750000 15.773300 l s n 33.500000 15.773300 0.500000 0.500000 90.000000 180.000000 ellipse s n 40.250000 15.773300 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.403667 15.373300 translate 0.035278 -0.035278 scale start_ol 768 0 moveto 3102 0 lineto 4630 0 5568 1175 5568 3108 curveto 5568 5033 4638 6208 3102 6208 curveto 768 6208 lineto 768 0 lineto 1536 701 moveto 1536 5507 lineto 2968 5507 lineto 4167 5507 4800 4682 4800 3100 curveto 4800 1535 4167 701 2968 701 curveto 1536 701 lineto end_ol grestore gsave 34.224933 15.373300 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore gsave 34.538200 15.373300 translate 0.035278 -0.035278 scale start_ol 5952 3200 moveto 3392 3200 lineto 3392 2560 lineto 5248 2560 lineto 5248 2408 lineto 5248 1417 4446 701 3334 701 curveto 2715 701 2155 917 1796 1294 curveto 1394 1710 1152 2407 1152 3128 curveto 1152 4562 2005 5507 3292 5507 curveto 4220 5507 4889 5027 5056 4236 curveto 5866 4236 lineto 5648 5489 4711 6208 3313 6208 curveto 2568 6208 1966 6021 1489 5639 curveto 786 5070 384 4152 384 3088 curveto 384 1268 1527 0 3171 0 curveto 3997 0 4656 306 5248 960 curveto 5445 0 lineto 5952 0 lineto 5952 3200 lineto end_ol grestore gsave 35.418733 15.373300 translate 0.035278 -0.035278 scale start_ol 1536 2816 moveto 4873 2816 lineto 4873 3456 lineto 1536 3456 lineto 1536 5507 lineto 4999 5507 lineto 4999 6208 lineto 768 6208 lineto 768 0 lineto 5150 0 lineto 5150 701 lineto 1536 701 lineto 1536 2816 lineto end_ol grestore gsave 36.172267 15.373300 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 36.925800 15.373300 translate 0.035278 -0.035278 scale start_ol 2944 5507 moveto 4953 5507 lineto 4953 6208 lineto 159 6208 lineto 159 5507 lineto 2176 5507 lineto 2176 0 lineto 2944 0 lineto 2944 5507 lineto end_ol grestore gsave 37.620067 15.373300 translate 0.035278 -0.035278 scale start_ol 2387 2688 moveto 387 2688 lineto 387 2048 lineto 2387 2048 lineto 2387 2688 lineto end_ol grestore gsave 38.001067 15.373300 translate 0.035278 -0.035278 scale start_ol 3934 0 moveto 5632 5203 lineto 5632 0 lineto 6400 0 lineto 6400 6208 lineto 5292 6208 lineto 3537 800 lineto 1748 6208 lineto 640 6208 lineto 640 0 lineto 1408 0 lineto 1408 5203 lineto 3122 0 lineto 3934 0 lineto end_ol grestore gsave 38.949333 15.373300 translate 0.035278 -0.035278 scale start_ol 768 0 moveto 3102 0 lineto 4630 0 5568 1175 5568 3108 curveto 5568 5033 4638 6208 3102 6208 curveto 768 6208 lineto 768 0 lineto 1536 701 moveto 1536 5507 lineto 2968 5507 lineto 4167 5507 4800 4682 4800 3100 curveto 4800 1535 4167 701 2968 701 curveto 1536 701 lineto end_ol grestore gsave 39.770600 15.373300 translate 0.035278 -0.035278 scale start_ol 4036 5888 moveto 953 5888 lineto 508 2802 lineto 1189 2802 lineto 1534 3193 1819 3328 2281 3328 curveto 3080 3328 3584 2810 3584 1974 curveto 3584 1161 3088 667 2281 667 curveto 1634 667 1239 978 1063 1615 curveto 323 1615 lineto 424 1140 508 910 685 697 curveto 1023 254 1629 0 2304 0 curveto 3509 0 4352 842 4352 2057 curveto 4352 3191 3567 3968 2420 3968 curveto 1998 3968 1661 3861 1315 3615 curveto 1550 5144 lineto 4036 5144 lineto 4036 5888 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 17.160000 m 33.500000 19.660000 l 37.650000 19.660000 l 37.650000 17.160000 l f n 33.500000 17.660000 m 33.500000 17.660000 0.500000 0.500000 180.000000 270.000000 ellipse f n 37.650000 17.660000 m 37.650000 17.660000 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 17.660000 m 33.000000 19.160000 l 38.150000 19.160000 l 38.150000 17.660000 l f n 33.500000 19.160000 m 33.500000 19.160000 0.500000 0.500000 90.000000 180.000000 ellipse f n 37.650000 19.160000 m 37.650000 19.160000 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 17.160000 m 37.650000 17.160000 l s n 33.500000 19.660000 m 37.650000 19.660000 l s n 33.500000 17.660000 0.500000 0.500000 180.000000 270.000000 ellipse s n 37.650000 17.660000 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 17.660000 m 33.000000 19.160000 l s n 38.150000 17.660000 m 38.150000 19.160000 l s n 33.500000 19.160000 0.500000 0.500000 90.000000 180.000000 ellipse s n 37.650000 19.160000 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 33.521833 18.760000 translate 0.035278 -0.035278 scale start_ol 5952 3200 moveto 3392 3200 lineto 3392 2560 lineto 5248 2560 lineto 5248 2408 lineto 5248 1417 4446 701 3334 701 curveto 2715 701 2155 917 1796 1294 curveto 1394 1710 1152 2407 1152 3128 curveto 1152 4562 2005 5507 3292 5507 curveto 4220 5507 4889 5027 5056 4236 curveto 5866 4236 lineto 5648 5489 4711 6208 3313 6208 curveto 2568 6208 1966 6021 1489 5639 curveto 786 5070 384 4152 384 3088 curveto 384 1268 1527 0 3171 0 curveto 3997 0 4656 306 5248 960 curveto 5445 0 lineto 5952 0 lineto 5952 3200 lineto end_ol grestore gsave 34.402367 18.760000 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 35.155900 18.760000 translate 0.035278 -0.035278 scale start_ol 5056 4355 moveto 5056 5527 4220 6208 2786 6208 curveto 1421 6208 576 5546 576 4480 curveto 576 3761 957 3309 1735 3107 curveto 3202 2720 lineto 3948 2526 4288 2227 4288 1767 curveto 4288 1452 4120 1129 3873 951 curveto 3642 790 3275 701 2804 701 curveto 2173 701 1742 853 1463 1190 curveto 1248 1446 1152 1726 1152 2087 curveto 384 2087 lineto 384 1539 490 1179 727 851 curveto 1135 295 1822 0 2728 0 curveto 3439 0 4019 162 4403 452 curveto 4803 767 5056 1292 5056 1801 curveto 5056 2528 4602 3061 3800 3279 curveto 2317 3675 lineto 1603 3869 1344 4095 1344 4547 curveto 1344 5145 1900 5541 2739 5541 curveto 3732 5541 4288 5116 4288 4355 curveto 5056 4355 lineto end_ol grestore gsave 35.909433 18.760000 translate 0.035278 -0.035278 scale start_ol 3984 1856 moveto 4614 0 lineto 5488 0 lineto 3337 6208 lineto 2328 6208 lineto 143 0 lineto 975 0 lineto 1622 1856 lineto 3984 1856 lineto 3765 2496 moveto 1815 2496 lineto 2824 5349 lineto 3765 2496 lineto end_ol grestore gsave 36.662967 18.760000 translate 0.035278 -0.035278 scale start_ol 1536 2624 moveto 3455 2624 lineto 3938 2624 4320 2769 4650 3068 curveto 5023 3409 5184 3810 5184 4382 curveto 5184 5551 4504 6208 3295 6208 curveto 768 6208 lineto 768 0 lineto 1536 0 lineto 1536 2624 lineto 1536 3264 moveto 1536 5507 lineto 3162 5507 lineto 3908 5507 4352 5086 4352 4386 curveto 4352 3685 3908 3264 3162 3264 curveto 1536 3264 lineto end_ol grestore gsave 37.416500 18.760000 translate 0.035278 -0.035278 scale start_ol 1600 6208 moveto 832 6208 lineto 832 0 lineto 1600 0 lineto 1600 6208 lineto end_ol grestore 0.100000 slw [] 0 sd 1.000000 1.000000 1.000000 srgb n 33.500000 20.546700 m 33.500000 23.046700 l 36.500000 23.046700 l 36.500000 20.546700 l f n 33.500000 21.046700 m 33.500000 21.046700 0.500000 0.500000 180.000000 270.000000 ellipse f n 36.500000 21.046700 m 36.500000 21.046700 0.500000 0.500000 270.000000 360.000000 ellipse f n 33.000000 21.046700 m 33.000000 22.546700 l 37.000000 22.546700 l 37.000000 21.046700 l f n 33.500000 22.546700 m 33.500000 22.546700 0.500000 0.500000 90.000000 180.000000 ellipse f n 36.500000 22.546700 m 36.500000 22.546700 0.500000 0.500000 0.000000 90.000000 ellipse f 0.000000 0.000000 0.000000 srgb n 33.500000 20.546700 m 36.500000 20.546700 l s n 33.500000 23.046700 m 36.500000 23.046700 l s n 33.500000 21.046700 0.500000 0.500000 180.000000 270.000000 ellipse s n 36.500000 21.046700 0.500000 0.500000 270.000000 360.000000 ellipse s n 33.000000 21.046700 m 33.000000 22.546700 l s n 37.000000 21.046700 m 37.000000 22.546700 l s n 33.500000 22.546700 0.500000 0.500000 90.000000 180.000000 ellipse s n 36.500000 22.546700 0.500000 0.500000 0.000000 90.000000 ellipse s gsave 34.580900 22.146700 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 34.894167 22.146700 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore gsave 35.207433 22.146700 translate 0.035278 -0.035278 scale start_ol 1600 889 moveto 704 889 lineto 704 0 lineto 1600 0 lineto 1600 889 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n -2.000000 0.000000 m -2.000000 24.000000 l 2.100000 24.000000 l 2.100000 0.000000 l f n -2.000000 3.000000 m -2.000000 3.000000 3.000000 3.000000 180.000000 270.000000 ellipse f n 2.100000 3.000000 m 2.100000 3.000000 3.000000 3.000000 270.000000 360.000000 ellipse f n -5.000000 3.000000 m -5.000000 21.000000 l 5.100000 21.000000 l 5.100000 3.000000 l f n -2.000000 21.000000 m -2.000000 21.000000 3.000000 3.000000 90.000000 180.000000 ellipse f n 2.100000 21.000000 m 2.100000 21.000000 3.000000 3.000000 0.000000 90.000000 ellipse f 0.100000 slw [1.000000] 0 sd [1.000000] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -2.000000 0.000000 m 2.100000 0.000000 l s n -2.000000 24.000000 m 2.100000 24.000000 l s n -2.000000 3.000000 3.000000 3.000000 180.000000 270.000000 ellipse s n 2.100000 3.000000 3.000000 3.000000 270.000000 360.000000 ellipse s n -5.000000 3.000000 m -5.000000 21.000000 l s n 5.100000 3.000000 m 5.100000 21.000000 l s n -2.000000 21.000000 3.000000 3.000000 90.000000 180.000000 ellipse s n 2.100000 21.000000 3.000000 3.000000 0.000000 90.000000 ellipse s gsave -3.474370 12.175600 translate 0.035278 -0.035278 scale start_ol 5430 2496 moveto 6289 0 lineto 7481 0 lineto 4548 8384 lineto 3173 8384 lineto 195 0 lineto 1329 0 lineto 2211 2496 lineto 5430 2496 lineto 5132 3392 moveto 2474 3392 lineto 3849 7228 lineto 5132 3392 lineto end_ol grestore gsave -2.466837 12.175600 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -1.620170 12.175600 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -0.773503 12.175600 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -0.434837 12.175600 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -0.096170 12.175600 translate 0.035278 -0.035278 scale start_ol 5452 3945 moveto 5406 4498 5279 4856 5049 5170 curveto 4634 5702 3909 6016 3068 6016 curveto 1444 6016 384 4817 384 2954 curveto 384 1145 1421 0 3056 0 curveto 4496 0 5406 811 5521 2196 curveto 4558 2196 lineto 4398 1321 3905 884 3092 884 curveto 2038 884 1408 1665 1408 2956 curveto 1408 4320 2027 5132 3069 5132 curveto 3871 5132 4375 4705 4490 3945 curveto 5452 3945 lineto end_ol grestore gsave 0.665830 12.175600 translate 0.035278 -0.035278 scale start_ol 6162 827 moveto 6059 804 6013 804 5956 804 curveto 5623 804 5440 961 5440 1234 curveto 5440 4444 lineto 5440 5466 4613 6016 3043 6016 curveto 2118 6016 1352 5776 926 5351 curveto 634 5057 512 4730 512 4163 curveto 1762 4163 lineto 1841 4830 2272 5132 3155 5132 curveto 4004 5132 4480 4836 4480 4307 curveto 4480 4074 lineto 4480 3704 4240 3545 3485 3460 curveto 2136 3301 1930 3259 1564 3122 curveto 866 2857 512 2360 512 1640 curveto 512 635 1267 0 2479 0 curveto 3234 0 3840 263 4515 880 curveto 4584 274 4884 0 5506 0 curveto 5701 0 5851 23 6162 103 curveto 6162 827 lineto 4480 2036 moveto 4480 1745 4389 1567 4106 1328 curveto 3721 1005 3257 838 2702 838 curveto 1966 838 1536 1161 1536 1713 curveto 1536 2287 1955 2578 2963 2714 curveto 3959 2839 4163 2881 4480 3016 curveto 4480 2036 lineto end_ol grestore gsave 1.512497 12.175600 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave 1.935830 12.175600 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave 2.274497 12.175600 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 3.121163 12.175600 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore 0.200000 slw [] 0 sd [] 0 sd 0 slc n 5.598607 19.000000 m 15.000000 19.000000 l s [] 0 sd 0 slj 0 slc n 5.223607 19.000000 m 5.723607 18.750000 l 5.598607 19.000000 l 5.723607 19.250000 l ef n 5.223607 19.000000 m 5.723607 18.750000 l 5.598607 19.000000 l 5.723607 19.250000 l cp s gsave 8.258750 18.000000 translate 0.035278 -0.035278 scale start_ol 4561 3467 moveto 4361 4535 3725 5056 2620 5056 curveto 1943 5056 1398 4851 1025 4454 curveto 569 3977 320 3289 320 2508 curveto 320 1714 576 1032 1052 563 curveto 1439 179 1936 0 2593 0 curveto 3822 0 4513 638 4665 1921 curveto 4001 1921 lineto 3946 1595 3877 1373 3773 1184 curveto 3566 793 3137 571 2598 571 curveto 1596 571 960 1328 960 2515 curveto 960 3735 1568 4485 2543 4485 curveto 2951 4485 3331 4368 3539 4185 curveto 3725 4022 3829 3819 3905 3467 curveto 4561 3467 lineto end_ol grestore gsave 8.919150 18.000000 translate 0.035278 -0.035278 scale start_ol 3699 501 moveto 3637 487 3609 487 3575 487 curveto 3374 487 3264 582 3264 748 curveto 3264 2695 lineto 3264 3315 2770 3648 1832 3648 curveto 1280 3648 822 3503 567 3245 curveto 393 3066 320 2868 320 2524 curveto 1034 2524 lineto 1082 2929 1344 3112 1882 3112 curveto 2399 3112 2688 2932 2688 2612 curveto 2688 2470 lineto 2688 2246 2545 2150 2094 2098 curveto 1289 2002 1166 1976 948 1893 curveto 532 1732 320 1431 320 995 curveto 320 385 770 0 1494 0 curveto 1945 0 2306 159 2709 533 curveto 2751 166 2931 0 3304 0 curveto 3422 0 3512 14 3699 63 curveto 3699 501 lineto 2688 1235 moveto 2688 1058 2633 950 2461 805 curveto 2226 609 1944 508 1606 508 curveto 1158 508 896 704 896 1039 curveto 896 1387 1151 1564 1764 1646 curveto 2371 1722 2495 1747 2688 1829 curveto 2688 1235 lineto end_ol grestore gsave 9.427150 18.000000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 9.630350 18.000000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 9.833550 18.000000 translate 0.035278 -0.035278 scale start_ol 384 5056 moveto 384 0 lineto 960 0 lineto 960 619 lineto 1226 199 1579 0 2066 0 curveto 2985 0 3584 733 3584 1863 curveto 3584 2966 2999 3648 2061 3648 curveto 1572 3648 1225 3462 960 3055 curveto 960 5056 lineto 384 5056 lineto 1960 3105 moveto 2597 3105 3008 2594 3008 1805 curveto 3008 1054 2583 543 1960 543 curveto 1357 543 960 1048 960 1824 curveto 960 2600 1357 3105 1960 3105 curveto end_ol grestore gsave 10.341550 18.000000 translate 0.035278 -0.035278 scale start_ol 3699 501 moveto 3637 487 3609 487 3575 487 curveto 3374 487 3264 582 3264 748 curveto 3264 2695 lineto 3264 3315 2770 3648 1832 3648 curveto 1280 3648 822 3503 567 3245 curveto 393 3066 320 2868 320 2524 curveto 1034 2524 lineto 1082 2929 1344 3112 1882 3112 curveto 2399 3112 2688 2932 2688 2612 curveto 2688 2470 lineto 2688 2246 2545 2150 2094 2098 curveto 1289 2002 1166 1976 948 1893 curveto 532 1732 320 1431 320 995 curveto 320 385 770 0 1494 0 curveto 1945 0 2306 159 2709 533 curveto 2751 166 2931 0 3304 0 curveto 3422 0 3512 14 3699 63 curveto 3699 501 lineto 2688 1235 moveto 2688 1058 2633 950 2461 805 curveto 2226 609 1944 508 1606 508 curveto 1158 508 896 704 896 1039 curveto 896 1387 1151 1564 1764 1646 curveto 2371 1722 2495 1747 2688 1829 curveto 2688 1235 lineto end_ol grestore gsave 10.849550 18.000000 translate 0.035278 -0.035278 scale start_ol 3208 2392 moveto 3181 2727 3105 2944 2968 3135 curveto 2721 3457 2289 3648 1789 3648 curveto 823 3648 192 2921 192 1792 curveto 192 695 809 0 1782 0 curveto 2639 0 3180 492 3249 1332 curveto 2669 1332 lineto 2572 801 2275 536 1784 536 curveto 1148 536 768 1010 768 1792 curveto 768 2620 1141 3112 1770 3112 curveto 2254 3112 2558 2853 2627 2392 curveto 3208 2392 lineto end_ol grestore gsave 11.306750 18.000000 translate 0.035278 -0.035278 scale start_ol 960 5056 moveto 384 5056 lineto 384 0 lineto 960 0 lineto 960 1420 lineto 1520 1977 lineto 2743 0 lineto 3455 0 lineto 1976 2388 lineto 3234 3648 lineto 2494 3648 lineto 960 2102 lineto 960 5056 lineto end_ol grestore 0.200000 slw [] 0 sd [] 0 sd 0 slc n 5.000000 7.000000 m 14.401393 7.000000 l s [] 0 sd 0 slj 0 slc n 14.776393 7.000000 m 14.276393 7.250000 l 14.401393 7.000000 l 14.276393 6.750000 l ef n 14.776393 7.000000 m 14.276393 7.250000 l 14.401393 7.000000 l 14.276393 6.750000 l cp s gsave 8.275000 5.250000 translate 0.035278 -0.035278 scale start_ol 1280 2304 moveto 3685 2304 lineto 3685 2816 lineto 1280 2816 lineto 1280 4485 lineto 4017 4485 lineto 4017 5056 lineto 640 5056 lineto 640 0 lineto 1280 0 lineto 1280 2304 lineto end_ol grestore gsave 8.833800 5.250000 translate 0.035278 -0.035278 scale start_ol 3328 0 moveto 3328 3648 lineto 2752 3648 lineto 2752 1681 lineto 2752 972 2366 508 1768 508 curveto 1313 508 1024 773 1024 1190 curveto 1024 3648 lineto 448 3648 lineto 448 954 lineto 448 373 886 0 1573 0 curveto 2092 0 2422 186 2752 660 curveto 2752 0 lineto 3328 0 lineto end_ol grestore gsave 9.341800 5.250000 translate 0.035278 -0.035278 scale start_ol 512 3648 moveto 512 0 lineto 1088 0 lineto 1088 1947 lineto 1024 2668 1425 3140 2042 3140 curveto 2515 3140 2816 2870 2816 2446 curveto 2816 0 lineto 3392 0 lineto 3392 2680 lineto 3392 3269 2939 3648 2236 3648 curveto 1693 3648 1344 3441 1024 2938 curveto 1024 3648 lineto 512 3648 lineto end_ol grestore gsave 9.849800 5.250000 translate 0.035278 -0.035278 scale start_ol 3208 2392 moveto 3181 2727 3105 2944 2968 3135 curveto 2721 3457 2289 3648 1789 3648 curveto 823 3648 192 2921 192 1792 curveto 192 695 809 0 1782 0 curveto 2639 0 3180 492 3249 1332 curveto 2669 1332 lineto 2572 801 2275 536 1784 536 curveto 1148 536 768 1010 768 1792 curveto 768 2620 1141 3112 1770 3112 curveto 2254 3112 2558 2853 2627 2392 curveto 3208 2392 lineto end_ol grestore gsave 10.307000 5.250000 translate 0.035278 -0.035278 scale start_ol 1746 3648 moveto 1152 3648 lineto 1152 4650 lineto 576 4650 lineto 576 3648 lineto 85 3648 lineto 85 3175 lineto 576 3175 lineto 576 567 lineto 576 205 825 0 1275 0 curveto 1414 0 1552 14 1746 49 curveto 1746 528 lineto 1670 508 1580 508 1470 508 curveto 1221 508 1152 574 1152 817 curveto 1152 3175 lineto 1746 3175 lineto 1746 3648 lineto end_ol grestore gsave 10.561000 5.250000 translate 0.035278 -0.035278 scale start_ol 1024 3648 moveto 448 3648 lineto 448 0 lineto 1024 0 lineto 1024 3648 lineto 1024 5056 moveto 448 5056 lineto 448 4335 lineto 1024 4335 lineto 1024 5056 lineto end_ol grestore gsave 10.764200 5.250000 translate 0.035278 -0.035278 scale start_ol 1881 3648 moveto 869 3648 256 2966 256 1824 curveto 256 682 862 0 1888 0 curveto 2900 0 3520 682 3520 1798 curveto 3520 2973 2921 3648 1881 3648 curveto 1888 3112 moveto 2550 3112 2944 2626 2944 1805 curveto 2944 1028 2536 536 1888 536 curveto 1233 536 832 1022 832 1824 curveto 832 2620 1233 3112 1888 3112 curveto end_ol grestore gsave 11.272200 5.250000 translate 0.035278 -0.035278 scale start_ol 512 3648 moveto 512 0 lineto 1088 0 lineto 1088 1947 lineto 1024 2668 1425 3140 2042 3140 curveto 2515 3140 2816 2870 2816 2446 curveto 2816 0 lineto 3392 0 lineto 3392 2680 lineto 3392 3269 2939 3648 2236 3648 curveto 1693 3648 1344 3441 1024 2938 curveto 1024 3648 lineto 512 3648 lineto end_ol grestore gsave 8.275000 6.450000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 8.529000 6.450000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 8.783000 6.450000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 9.037000 6.450000 translate 0.035278 -0.035278 scale start_ol 4561 3467 moveto 4361 4535 3725 5056 2620 5056 curveto 1943 5056 1398 4851 1025 4454 curveto 569 3977 320 3289 320 2508 curveto 320 1714 576 1032 1052 563 curveto 1439 179 1936 0 2593 0 curveto 3822 0 4513 638 4665 1921 curveto 4001 1921 lineto 3946 1595 3877 1373 3773 1184 curveto 3566 793 3137 571 2598 571 curveto 1596 571 960 1328 960 2515 curveto 960 3735 1568 4485 2543 4485 curveto 2951 4485 3331 4368 3539 4185 curveto 3725 4022 3829 3819 3905 3467 curveto 4561 3467 lineto end_ol grestore gsave 9.697400 6.450000 translate 0.035278 -0.035278 scale start_ol 3699 501 moveto 3637 487 3609 487 3575 487 curveto 3374 487 3264 582 3264 748 curveto 3264 2695 lineto 3264 3315 2770 3648 1832 3648 curveto 1280 3648 822 3503 567 3245 curveto 393 3066 320 2868 320 2524 curveto 1034 2524 lineto 1082 2929 1344 3112 1882 3112 curveto 2399 3112 2688 2932 2688 2612 curveto 2688 2470 lineto 2688 2246 2545 2150 2094 2098 curveto 1289 2002 1166 1976 948 1893 curveto 532 1732 320 1431 320 995 curveto 320 385 770 0 1494 0 curveto 1945 0 2306 159 2709 533 curveto 2751 166 2931 0 3304 0 curveto 3422 0 3512 14 3699 63 curveto 3699 501 lineto 2688 1235 moveto 2688 1058 2633 950 2461 805 curveto 2226 609 1944 508 1606 508 curveto 1158 508 896 704 896 1039 curveto 896 1387 1151 1564 1764 1646 curveto 2371 1722 2495 1747 2688 1829 curveto 2688 1235 lineto end_ol grestore gsave 10.205400 6.450000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 10.408600 6.450000 translate 0.035278 -0.035278 scale start_ol 1024 5056 moveto 448 5056 lineto 448 0 lineto 1024 0 lineto 1024 5056 lineto end_ol grestore gsave 10.611800 6.450000 translate 0.035278 -0.035278 scale start_ol 3136 2582 moveto 3136 3264 2645 3648 1771 3648 curveto 890 3648 320 3244 320 2621 curveto 320 2095 609 1845 1464 1652 curveto 2002 1531 lineto 2401 1441 2560 1306 2560 1062 curveto 2560 748 2218 536 1709 536 curveto 1396 536 1131 618 984 757 curveto 894 852 852 946 817 1180 curveto 320 1180 lineto 320 382 775 0 1691 0 curveto 2574 0 3136 417 3136 1065 curveto 3136 1566 2833 1842 2116 2002 curveto 1565 2124 lineto 1096 2227 896 2368 896 2605 curveto 896 2913 1230 3112 1759 3112 curveto 2280 3112 2560 2929 2560 2582 curveto 3136 2582 lineto end_ol grestore 0.150000 slw [1.000000] 0 sd [0.500000] 0 sd 0 slc n 26.809005 1.476863 m 32.457295 1.476687 l s [] 0 sd 0 slj 0 slc n 26.434005 1.476875 m 26.933997 1.226859 l 26.809005 1.476863 l 26.934013 1.726859 l cp s [] 0 sd 0 slj 0 slc n 32.832295 1.476675 m 32.332303 1.726691 l 32.457295 1.476687 l 32.332287 1.226691 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.796505 4.861417 m 32.457295 4.863163 l s [] 0 sd 0 slj 0 slc n 26.421505 4.861302 m 26.921582 4.611456 l 26.796505 4.861417 l 26.921428 5.111456 l cp s [] 0 sd 0 slj 0 slc n 32.832295 4.863278 m 32.332218 5.113124 l 32.457295 4.863163 l 32.332372 4.613124 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.796505 8.245982 m 32.457295 8.249648 l s [] 0 sd 0 slj 0 slc n 26.421505 8.245739 m 26.921667 7.996063 l 26.796505 8.245982 l 26.921343 8.496062 l cp s [] 0 sd 0 slj 0 slc n 32.832295 8.249891 m 32.332133 8.499567 l 32.457295 8.249648 l 32.332457 7.999568 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.802805 11.630539 m 32.457295 11.636161 l s [] 0 sd 0 slj 0 slc n 26.427805 11.630167 m 26.928053 11.380664 l 26.802805 11.630539 l 26.927556 11.880664 l cp s [] 0 sd 0 slj 0 slc n 32.832295 11.636533 m 32.332047 11.886036 l 32.457295 11.636161 l 32.332544 11.386036 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.796505 15.015116 m 32.457295 15.022584 l s [] 0 sd 0 slj 0 slc n 26.421505 15.014621 m 26.921834 14.765281 l 26.796505 15.015116 l 26.921175 15.265281 l cp s [] 0 sd 0 slj 0 slc n 32.832295 15.023079 m 32.331966 15.272419 l 32.457295 15.022584 l 32.332625 14.772419 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.784005 18.411196 m 32.457295 18.410104 l s [] 0 sd 0 slj 0 slc n 26.409005 18.411268 m 26.908957 18.161172 l 26.784005 18.411196 l 26.909053 18.661172 l cp s [] 0 sd 0 slj 0 slc n 32.832295 18.410032 m 32.332343 18.660128 l 32.457295 18.410104 l 32.332247 18.160128 l cp s 0.150000 slw [0.500000] 0 sd [0.500000] 0 sd 0 slc n 26.786105 21.800471 m 32.457295 21.797029 l s [] 0 sd 0 slj 0 slc n 26.411105 21.800698 m 26.910953 21.550395 l 26.786105 21.800471 l 26.911257 22.050395 l cp s [] 0 sd 0 slj 0 slc n 32.832295 21.796802 m 32.332447 22.047105 l 32.457295 21.797029 l 32.332143 21.547105 l cp s showpage gsasl-1.8.1/doc/controlflow.pdf0000644000000000000000000010664513521017411013340 00000000000000%PDF-1.5 %쏢 5 0 obj <> stream xr-=%)dIޓO~ڐ1k{+k**l ߟWO~~_c}Q>cYZk~Rk~ RNSlUgkZ򧷡i}5B̯1uw6خ:@1}ZBosaц]=>_?Z hG mv?N_QE?zbw}kͿ_Xʬ_? dX_)5%@) }j_k}}k8'0Wvjc?:`|rvgs?1kHrqV f`:׻}yhK`'J\k~:5ݸInሲV;ٖzvxH^Y ԨzZ6ў#(US)x;&j9ƨ#Zu(_wLP)z_֙2b*q}yOts^&\ߜ<ӓ3'A}}.RMVzzxS3v$p[?lqn8/ s$}cV{,އouQ'>b,pJٛl^1٢젱Ut,#s0 x %[1C7䡘 *?˜NBCu0C.(ʗ9?Y(`N+~4}xk !ͅ6_I7ʽw*q98s|]zuߦc~Ɛ2HЁ_->Tv/aq6[9]S=Ћ##zQ"5H/ǐHAr|.zi%ppݘ#)T6!UǰWŕx6G%Xܢ/o#ŕMJ]Y Ǵ1iWBR-m;&ZZT0ko{Q{}8I8&,|kb8e|_3X %$_xY^10 L8cr;kiB:IaO UҤcbZs0V6s&8@:QS QseAaj ^ <ap5sjޚZ)DĜov&˲a8FUv )pNPČ%FA։zoy .bp7[.QqGuW+qe8O:LQɁb&@sMf \¥@hȁFnVLrtn9aaҏxlȁMxhM9mt%43`5 kȃqrgf~q4 ȁ4(.!>ptrg8Jy80U ibQatEEN3Kˡ"f l~w`TnLfL`4hUO3DQiu&E 5LT\1e's [egl3ӽ%.w`.;`\\va !c/)\)l.07t_S[9-_H/‹MU^$Lx*Q Ù0~jγ!Y#!n|d%?prd96NQR3Xۄn0c 8(#tS7m:{ʧE9 캛 d 0N^Kn"ȵ1v8zbzݤSXv&> ɪdFݣ9åpd;c̩;jt.rБni [7@SlG~VK65$0g|r>3Vt-)wX/l3=O ?G MN^-tws&msDg;liQa;<]nL 3*xJn8 t8xơ$M9o9Xs(pj@wm/qve..Ў9E: L޽HW~@ M?ջ&;J옻f!U`z5ZڍO s]3&jJ#)CϜ%Ns‘}{""bu0 0WX8@oT)K8Oñ &B?蔔\8+ia%XU;+9[)`kroι=vN(Dlq w] ,}Icӝ NzrF RE@bߓF{:Bo+AED0`Kh[$e bB}'aΚar~.0125?rn(re@NSPv\Cc {;AQI'K/9;h.:|zi5c7;Px 3!|֟Qǟ9ky6,ÃA.w>9@)+B:*(fNƂsl;bk ?` 7<]i=rnԣɴq&]]>ɳs8K:a.MhzƄnĦ@'p0OӼ3y PG>q.T:=8:K=x:%f{-yKI`ǁ %|ggQK, 8zJ.0"k[Q:)f!3`wsD)Nz'n2]A1 $^UAwvyEOĬIyL D%<.Ia*5L@ěk5S"/0"PJ?+2;OE^&#"n^UEA]"o77oDTyVUCw2Ok^q ){ؤ+%DƩԽn> Z|VD!P !~ X7Uݧox;&j9"ZQ*wL} \0q,AT*<щ4^8S#Z IzI  }?00-+c XzCS#%{Vq%G) #ZT0F Ѳ-u`;&;|m+0A%L20Q iܵj08#1̾#jszGGvRgK3TW|=c^F`FS{ٔ'[K+rY~ ( <۔1>x_wL":l'`NG-ݡZv-;0cѝc @œ}8:L}UyX* [̕b+7DA~(lD(adu wꐰI%&Bn[VB{ԕ!i1cӕ&_,\Q5w*pѡvFԈ"} 7O贡Uǻ\iX*CV`hbP!V¸fI%8'흑w(K?o&> HLi@9qOrF8-QJp  ڱy(^][?)].;V,4^P\cE08hiU+?,UTo]=8'ԯth*]<TAI>0g2>-'tz_2YlbO"4 `P+_+D&At22!ſ04,b5ev=Qm _%KP$%1z fwLԂz7ezÄ2UFxa!Ѽ^xElȡ8uqdFEx!a~C:g8誈Oj ݖT9M#5%Vi !bd }pdTls4(0pc0~ьTѠcP`='Bs?0 F)<`m$HBI KF HG%qƊ9pC9mn+_>4sRa[is.)4X'`a QeDx#DoE >!:;.aqZR_2a6O\fF9a]SYoUI5N6%.^f =>uA/00m;"vrN,(W7! <[?.BѰpBJnr#gW~o1]k҄4a%.DciX 8oG仮:>7 Ī #:7bە* R1G/N@FdXbo;BZM%Xn9 rŗrmD$\ldp]+8l$ lܰw\D%r͹ͽ e{J%78vcΒWhEHK/yu#AU.mT0A$Fu7z+>p{]@Lhh4y#ZOÜ8,DF$m%mhIn)d١B;e(+)>)L٘L;eF([㇜na }R6 D|OT$&~ROScm׽ec@mጲvvR6o`{Ap&log¦ jd† N/D,zYz!訶!`Zjs}jP {j 9Z 8%*r1ևr]5#SAP-

0N$u1 V<04*t>z%.^ UE8K1XlEzO0^Ktr+,0~T|"_Tg<" [0g \pu1 ]=ʙOI*}<0uEw, l%8᳍8 9 쒋𸟧k^7C6!ΗԘr WyCC 0c%BShWyX0 }]fFuTwI B7x"0OF>k%x0 [Q0y_` 7[;n:fdQ@ؽ jZA3-*]< >OMuH1%OIoB>Po"Nli;*7E/dDXF1bFe 'nva-S~:5%W0(1 jwckh'n%+ͺ0 KD` `1pWYJ]r_w>i#(i_QΟ'\y/.gkp^$kzv62EƓy/I%k6^x/t~%p *^:yb+^Ď#Ӂ;hGfje/XX;:B2\;|OmBa@ 2jH7ۮ73oa&~0m(x B-2wug& 's]_q0^%[Dfy "_pjod;0V|T7a8F@,a0Y593F H%*sp$[F HoiJμii&O%R)Jýy#{; hy|JFˆȌfGSMH6 ϕRs}b&{`OM6%zf])1cd~0n19/f`f SlH܈IPqx%n8T/?&'q~`{\uj/ʥ}KTײq78}1O2w7=PgNE$OTy<~( |Ȣ¼)k }200'0ZyI4әg&ao-LO;&ۢ>ѓSܣH7L]$3=QndTuTÞ+(Q%1!.L=՞k pͿ0F n Cݴqnj+S~-q^ 1O˔KuMҳXeDKV`>cfN41i%bB;"ՙK)K3mfRKx_t4EؗEۗi#ڿ :br/ER)]2LGB"{Kn'+as`GkYĊebεab;&RLЙtߒ0Ag%0mMX0? #u oCTCGJ_zgZ^ ?x fJ9yx8B1f&(vh`beYm;( Ӊ VKq[m{UXTV:݀\bq">!|SM \KN-[ŗ9yK1HQZiV.*l..rEp1[rIp [?ȕ^ W76~\tLTN2f3+լH;zUެgx`),"+̖{EF@$!@R-rLg c>l 79h0+^mor洫ӼG^'0a;{o(CA"0jSS Q=<P6LSKƕ# >=4j 5\ECv1w f,J2}-/V66< Xm~9RP ׿IAuƲ{ȹ7# C q=*CP/IO=HM[n+ =a%X(%&\XoBh+L8|V;v{(R³!Ӣ4p5olHPĊ^p+>1f|iaҖeLisG\.|4S0kېM MA{7Z fgMn2yhd7ōy'J򥗅B0@-A^݉|L}v%3qR`ĥꐅ֡:|ݾ6],)5\H%vov "yBsKn&Lc25znG@6ޱJ)o*;d;9pwal [qH%a^V`x!焙wnO;o!(Do-R@@~ -\*00n!gy-Ki rYb 8[ c꣄lgp &(70ALo@1m`Dm̕y;sOqM3J77b|6Zᅻ[*6تTڢ{J3aݭ!6L}ΘX$.` 쒓A,aFr@Lr'a" C:bY<|1xuI)| qӴBT(NІ޴eIL-59oU\E{\wnY`b,`N1E`$L[d؝;];81`Ն\n3c/&jJU?FNXNe >U؜~h1()-sRxpFנ; KT-))D w w3_I?vQSI`$݆o)i5 ®#Sͯ>{ 9²4) F["7^qn*7%rΖV1, hhcx"Eڐ61M_﷥9)IDc51O2› !j9cpjEkcR Xpmdi@͛-o\ b0ܺkE0' `X5ܺ-N07CYtmGx#"5y= N,m1jc͖XdOf\V4N#X/ׁ#;f80M#OLO'iBbLӎ&n'D1֯1dFʥ fM܏9P˴#2-|'zuStYS4iLY1 3ҘbM3LliBf]%3~gf~%`%%/7$dC j1VaY^6Ld1[~k{CrMQq+ 2OtXZCvq:8$0&PL~./y,OY# ˇ24$fZ  Cc7K -a]VLTm*W}(q5`Oaւe"YĻH4JK$HEZ`r{b-y/j[`\ :8 蘟-5qCMdEO. <0>f BtpKX>hŮJD,#r1ÇL%'ޑ ;0?2c|#B703؄3܅F_E$e&%)1o(|U5 ܰDO }Cx-q:C}햝nc|-jcCAbVi4K'[V!:*o$L +! nexDdy b'ŭI0Pa,IŖ^K<*C\Mt&+ F Ye%R.>x~c*j*L?hK\l[r8<͊}Z-\iY٧V1JCFc51l60tIiD@S֝;FD9/ɫe<:a-@_-*NK,8,o+UgRWִЙC]|:^ͫ-::qIzl&_YPO`0SnLyow85ȖyDtO!W`8f;HK/5Z^/U!?14`.NV,c.}$\9mf+î<@+^Bg =+9JclqZz<5X:8뚲cbģ#NԿDw?C̭c4?sFoA+L!ϐfwh/UE|/+O=vIĦ}$?"#|,;8{w8HDQF_HG 6Dm@;uGfIO*9b@<3 _I 5Z5ǀMs 5Gi BDIX_3(Egm\25׵UE)$khz6iHf}^*1qj8YdOY>ԩ?5)PU=ݯd1^/HĊڰbq$S.Lid8Mbt͵cr~bD 1?hӜ8{bpG*YNNCwh̟"e֒~t 4q VY n{0/ľ̫~i+ lAXG^R13Tx%=OzdMz~1* eB]kG1VJH]]|8'SLBnV2Th{`TJoP Iک:3; 's}~P @(_ :KZwF4?(cg"8ic s!xeʇ$],zJ\K(czs aع20}Y F},: Z߸7p̔I*M h~ߗ4aa\S2MtIDU+voIcp8JBYZC @r;hjaT -xt; G:jag/4[2 Yc^pƞPa.I&o *kG9B=` E ]>dn#C;  RGSh^Ҁ߂x"ۺ?l8~n$Nxu V|.:l$y?I!{`T8 _+eȴL~b}zҮ2wwKu"gO0@dqMBuN'&V`bq捀8D{ZEr@CC PWn+]y PMC$@PU>b߃|ޒd*s|t䍀y [҄λ@w$D# ~[*H9į8+GU{PPERJl. |ę2 o?!`}Po]q̵'Hc< H2"2{7 qWY~3.`#'WgC^.Oϧ\s% tދ15sI}ΗE yA 8#ǻ\{Fff#t`#62^X&\I>2^x#ㅏ7>2|dG/|d>0a򠩗xa$b`$ㅑ'#d1HƓF2ɐg梄8g$# 0 9&$㍓7N28|$''/!2cgVsdP8w|a%8J +/dJ#T{cxe=v%pPA0Zè^mko9y'!vgyNTC5Z]uL~{3St˻W[IZb5.kZYekJCfƵ9kz-A'Odt;1 ڙVkQUeVڻIXVBK); X ۣ?Iֆ0.:і^Lx'A֊1C9uRd]fy!kXGYLYZo:ٖQd]Ē kXd qӗɺ0BaaD[253vNYCY7d]zuiAx&k ad Bd .s?ZW`' ەliufkcr-Ŭ-G˂I-1kcdgGg'5i Itic)7r5K(]p_}B0."t.Z}5հ$.ߴLlT `x뼲l{ʠb—~9u&Bt1 AB\NKD< 9n"WEAEԏ\zlCryP]#|k}aTʘ:˄˞-rVڙVr]r?WZ L礪Sz_OePc!@RFm|]%!cjHfPBS@ 5!~P1,dG>]5xP0e,UIf!aL@ɻ)<5^z0];P2 (D'5$aP~!nP 2 bjȝ(!`P{]~[W<10Q;jI[[kVh{Wm&4ڞm/fBɻ%ab~>q3Y 4墳׳29˚_[pοRkD4d[ǎf* ` |d{%YxS7{*qI& %hzճ.y >_x]|A蒇[Yb148]"):k|l IpԄ-l1`T Ld@x×.yH0n} *.OFgiI0f=0_M,/FyEKoS0_(ȸ,cЈBxķ"Px;qqrq98Υ-nG$M!0mfO||o*,ql9[ ;7%\A|ZuSkZ!0 дQ:y#V/'TM!3^5 3 JʰSpxTdQ_m[I)|.oI{reCuCס tL#fLlkf#ڒ J 7}%i* fIoBz\ܭ*EGw H`> t2E}'xRgAV";^u .\m<έzq+%a>t Ȳ pHß4[6޲ܲ>IPY0"OjgP;[\i҇sQyAfTCr:İ'0LI$CXCbZ]рu#Oafn ©nCRSѶzςoIH*u.D%$oID]|6! coIDSwΑTBN! coI8 >&!zC-loI >Cߪcʃ. nΕ _iԽ$mM1?ZE_z1B-}0Xn e 8Ή֙y70-Zj:':;'Z_I5o`"] ë1Fi9=6`$-=߷ iV_7U^7bЋ^Xd̲tk%4+Q+{(inMxSJNK`Z-,PI*c[N5\hڬLߛ8W$dTe4Vʊ|Gˈb[RԴ0m5 9XӨKw 9fK}~2-3,Y,}(CƁ?vߖNKbpDzwq.,G~xb c]Ln$RG]LW>hڶ{jT8\g_;|PO0{]⚡ t|+.vrB63T?p>4eC]hykB[`,|` g6sya8u_7qWL'/][LI32yH,W.aPAjѳ[I88+᳢K0hBMHvsΜaz8R̠ȥ~B %X7Ӌ[#E-t\T?\;?tSm`(x:\iq4/f mZq YA|W5Ir=# v 8"#kg$_5η:@:2 _1|0pLc&o{Ƿp~,ctF:bp#Op8#:#^  %6ð{[1 䙾ԥԯ|dhZnM^;(|尷66Ԃg6wWLw9f_1^?1WGH@:VFa"f[%PJ!׶!oд҉e>KaP}laHG0R^3FH 5+z^)!KA$4% -¢s*/qpjZр^nVO mL83l;`@Er_< BG_fw\iȹK9Ƹ9Zo6z7y>V%q }i 2_k& Ls^ݺ2 }T Pg`|[w|#^Cɽ$ :w.Ħ`G!f*t?@Q+Cϣ2۠{k>ƳGkVQ sIl1+PD&:&f1 \ON*-P9{y+#`賤xm^ÿ~5qg{p A8B{c4{t|.ه6glI_3S-/& LV[2o3@$5`Z0> cjVSgOCpʨWDKڇ\eX()w1^kcR->v|ķh 9WkD?aq1- ~êܥ;}Ѫfx$>Q>`82q1߷Jo Uۓ޸X{TN4(?13irEuI^ۆl(/NX]8T0 Ш 7ۨWY. >_/ L@]} )T~W<7 fgY:Ci|X j|(oKsj(1iһ=^ڹm &)rTմioծBΌM5ܷLaW:(PA1 KV}33X**s0` 50>64-=1]s= E(Կx= 4&٨Vِ'9fZFR>x t ŢVE0xl%&t`}rl$Ūu\٘VSȌ4Aaw/q>uczr0 TR*o\5QF* ә:Йe^,Ngn9f`%x?ΣjR/1 J[|hm('v%CG Zʙ~[(oȥ߶b&my;)0a?e:!;;59 y1crG*n"PQ:<.9к\9+Q4Pd*dz t$+.8~Qj'K^J$`]4Kdص P08h1J|#Ik=h֠' &ܦoՎY, v*0Q=T`_*+ D (%X @ Cz#}W;&Լ hjcaގ?egh {{I*40Lռ|6xޢx@;i$1g7=9`"5AGP@&抻O TPR8 ?d'Tcr1v\X-3[ dpXU0h iMW8sc\CA1bw` IfӉ"KuNJڊn٢,sч`۵WQhe2uyr฼]_fǸUJz@ mW2*@ jT4yxEl*@U]eGe(4-0]TMg)́ynyItUR|&Ujul̤60X)jτQi"We[ݲ5\_+iJsy A |%;<ŭ!:s̯ٕ|ӯig%R<`õk؊чCyeFJJs4Fљ^u=|fZUOeZ$G sgbpea^ E 7T Q+<>(=)IYv8͛aTQ@{ 8M?1LIN ;s9@k@$ qxlOD7Tqcy|<|tfMvjJ*Sasg <:I[·#Rn,1{ñi<=EC|gV364ffv_6pKͫ%y3M``SLE otяSr _{kk88|u!@[p ':jZ qHbZĕ7cXaE #FZ C-KҫBzweXzņ ^0n4r#F/vb.z & -NG^I2%Z>fn)J+A,]zKzuU9o4Bt`ȩS^$<<Ρ09NK2. ^UR4$|2$Uh7S&WeK}m2Z"xcpA%IK{SQ=GUBmIy:KTb x r( tC{S`HaZ=i%xℋO cPZ'S+t+1~:6EiS {a]:*862t4PJ{ݧ)&цA2Aw V&fMGNXcRsj y.Mr$8M1 z{e27dC2wSh:_`q.pE~E8.`S"7>5aZIq0]B}CP]aL|_|Ò6edf+=:M yn*N"| r':2Ʈ#|<i o-'T tl=VnkV`]B|$HSg?i:2\JaeS8&O̘vD7LZVwLe;pC-nA9-*&ƣ|_ Bp PpN)J5з60;@ %u6$$WwM4#3S""gJ?H䟎c*8cmc= x31lyL8;̦=? q bKz<|Q;Mkc~ {ܴVp":IZO=+z* Dcw jcE]$DiT֣1 ՋX4s=mq$cf;f _uOD;&j)8Na:YE 3D;*.f"I4̼2||jOm!y{V1")íȓa)]k0M\ bOlLI(."sntqL+v :().-Fgi"JRTܓr?o(O*)-0L0GEmK`-i!4i9b\a0AXspwyJ>?oTnߌ [5hBQcrp+z1z 4- Q68/EঊWKpr-|Jt!WƐM)isda`O.֯ DaQS0Hׇj}ץW!QÌ٦KoNsrዺ*P /\8<ާY1VZ!Joƒ栒T1}c/g ܛHc n 5ZMdӱx FTonXȋ;;-<&Vb¶ɕIuv/sc-FTϑ5T;WsC̔'^,z֌(R P S U,VդKR0(wc;c ̋G; $=8{#@nkfz.fXL;iJJ%/Up"ye[ 0G*41N0$ 0N \n&z,a|BnDT Z*d KXhW%=c*%V¿o0CH8vu75G?!nTfiX|mByZ~s }P]ꒋO?#TE}a> S x7jeT*~ c%: AxOu#;[BNJ’t2v|1Zh񖨻61S,Cw 27Zު;)J&}P%+Q|PTKv O0[b[XV p9tFćB;[ƒtتÕGgcy䴑͜ZU:DazV6dZ X*ZʪY5GFاi *ʛ &hzcnT /K=m+&$ޘ{jLWK7F-`C}0LuG{ȻYWڷN K nnM |X[4y#CM7!؄7_5z;ho#;]0q9l !s@~BaTl.a]?ASIL/kxQrrrx!8y&wP5}tQ;*V&c5q*:k由+ŃzF)vai9$j[N?!zs֙uthvAvxQפN/FZ1mQ<)^;LR< x;3Q<-d|Pi^u7^CLn!S5$(6:.VR1Jwͳ}v{C=$Ճ$Iqu폪8 7pPzuIJW4Zcجr ҩR/Ҕz^;Iޞ9qޞ.Quz{.NÖ7 *6^`DWݐ>|&ޤ&`S=7w}JY0ʞ%KĞ3/ R~^λCЎٳDzwZ1ݎb}ՠ'̨І%ZSI .Uu-ewzSؐ339hЖ]g:&K>q^0T\nL K\+n+!O´%>5}jQ+*b[p"⁸"|:gh^d}oфTSxaR^ޘYg^:b)K%Xh>Fc X<%wLv IgҠP* x5LR Ew*cs*>Cl16s0r9bp* L@#7k`F\oC+|@Zb4U 7Ī>a~ ïT\ T;ܘaL{c갅_n!Y;ݑ%٦q:GU6rʻn+.6{j{*rb\rz#M%ܪdK^jz"SFD7D ~1Ɂ&y7PJzЅ+L2K̸rJו^WR{]Iu%וToJ+ z%8y%Ǖ6 wJ!I wR{Iu'ם^wRNnǬTnԘ6]i^G;J؃TPɚy,C/Ɛkh|rQ's.I ?Ҵ&=%&pgCL -OLq_4ڳ 0˜ު;+c ty"Y91)opi+ 3a-J(C3vHB`CD_ rjP*F^ZZѤ_w;fD:ì6,:0"6~Q|c5S.FLmZ$vPqK:E$Z g%CoE _bT_}͉~eHČW<4L2`>=F#c+C%*,n2j̀Uhq|%Nj$lAÒUE00T𻎨a Im97hi`f wO&˦J0b C^t%Rr%ta \soޚCXVO0j@ /&k7J2)K(!9o`P̥ӕcEl`:}QnC6|4y2L|ӷ7ƈdzai}c/ 3T?>O5^`.7GN`9:hTb:%^gx|D D? ͗_1G)JvϬDpoSrID ɡcr!|9*S]o LŘYtK43La9MU(;57M3D)cTÐ1#v&r3D$νCzLGGEj8&i u~L)AaO3%^\PgHz)Bt(u*6Xf4.և*lҞcTc -9|"Q}vl%tT׫ ocND>Cr=}e_&F$+_n'.(q%jCDWJ>E!! \q(Ӊ')@T3@ &|ޕ@!TX~ t(are~OZYIIIޘW-S^ǯR!BJ2Ih2J`LFL2J&$@u3.%R}9&'j1^y-,5rޘ[v_mWȳg1RmRq7mNqx@vQ\#>>V V؛K ]B}ir* g1eTk^(` ~+r6JRqA@j@j,b _= D( K m>q VPL s~pZ/ z͓Z:7ƿ-Tɋՙ0^{@PJ@d-;~cS`wv1ꅗ@M;p~0l`a|"S`n0ŰM{WOcb` 㫃9@2iߘ)]| kI,bI-zZpm'S ;:y02)OEkS8svK u bovDŗ ά .[i͒KTMwIw)I_}}|0YD4Z \vt17C`kaCl2Vi0Qnר}݂?š[I7w&ݛw֪ÏIo wҒb`n60n9r0 N_Tjr<4˾89v8jmd=cl)f92 [l3^֯=)sFfpblv]Mr5Nj]ojW'Z ӡe;0ҨʞKtf|+Caý%?5>h( BCg^a;@2&b`jiZAd Qt^Άx "MR`:dcG@}ČJ+ ڵ Q %kҝɤt^yQ^Ds04Q @ i!:xPByց2A1_!TOL~D%8xa"abbᝌN|I f̵Li2VN&c:טɡQ8Ӏ+e5SRZ / KޔL 3Ʈ $ /l٘-tr ;;$2Ceaq 7D^^e''KL%0h /1_r L!tq#[ Αnva1J jy4 k Zq>0x3c`IN P7; "'2&{Q5`Pʡ=:#4 $7ŮYB Ӱ9?x,.CV<w.wL1{P[ e,}HY7ڜdt=`(~,1CqHaz⫸cdz²E )"0d"#F©XG<=GRe딹9REЂuTWr>)Qqΰ)l2`&­4e@2%t:|^gTY>Vd<849%o D{-5'5ĒwާG9-ew~n(E 0 N抐4 *XH4M-:_sZܼrWD+M0vW*q)Q)x!pPq)LOj5NLF;2J^# ^U1tkۉ 0y3N<}#'^Zj{8ə4qlO_WБqxOrvcT ̼xSNajI%P7 \Mgo\5IuR!žmK2csXԙAib>%}wUvA0&Y (M&p!G Z75a> k1^kϡo"sJ^f#%l\ X8}]r 8wLnK C&wLbۃ(-o41C"gI a jpޞJsJDdR&iბaE+G2(d֙h{qc/Nx98z~VXV%t~&ac0~fY7aj;&2kK}c\FbTj H"F\*P1Bcky̵!38FeW2hg&Cn00>}גF{q8~Zr`&4dL1CՍhua6}01$G&z_q.Q9KXŅI#\..LCU\pŅ"ZØ09]r`>҂!-d"-.%I ^rL#D^D3M3_.SAX؄Äfې~p$l+l B„Qe]TM$*LJЋ0~_VKbb"x& !rEHS9a9&'Lx儉INqs9a6`rN `v0a_n|C_sFBJ]Jw!aSʃw&Boo>eC0]Sa"MDؘ8*]:" t9*8ҁcT:` $"LC@EkdQSFcx3 "Nr+':S :/L( 3 }׺POWpCnWOĴLb32|7d:c@>1v]"1 d4Ƙ< \Ɗi?t4%ۘ @8ƍco+s<8ycOa<8Ƌce)JdaTfLxp 1X!t10xq MAvLYbeaJ2_X8ʁڅ`as{HBgF*1lq (еأJ 4er[1{'kq /f\[q>*0  'lX߯rpg|h0y  -7RO\7 Pc6P ,3pblL Ș}#Mc2~p%c\[pI9κiBE(F<]6#i}_pidB@51uCVdw~ܰ0aj:xjZϖnU&tH-rj0ސUz!R_|(y|[-38Hz i.kb/?sQY`PrOC2iendstream endobj 6 0 obj 33806 endobj 4 0 obj <> /Contents 5 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R ] /Count 1 >> endobj 1 0 obj <> endobj 7 0 obj <>endobj 8 0 obj <> endobj 9 0 obj <>stream 2019-08-02T13:31:21+02:00 2019-08-02T13:31:21+02:00 Dia v0.94 doc/controlflow.diajas endstream endobj 2 0 obj <>endobj xref 0 10 0000000000 65535 f 0000034103 00000 n 0000035723 00000 n 0000034044 00000 n 0000033912 00000 n 0000000015 00000 n 0000033891 00000 n 0000034167 00000 n 0000034208 00000 n 0000034237 00000 n trailer << /Size 10 /Root 1 0 R /Info 2 0 R /ID [] >> startxref 35907 %%EOF gsasl-1.8.1/doc/gsasl-callback-server-service.texi0000664000000000000000000000224711746471770017013 00000000000000@deftypefn Prototype int (*Gsasl_server_callback_service) (Gsasl_session_ctx * @var{ctx}, char * @var{service}, size_t * @var{servicelen}, char * @var{hostname}, size_t * @var{hostnamelen}) @var{ctx}: libgsasl handle. @var{service}: output array with name of service. @var{servicelen}: on input the maximum size of the service output array, on output contains the actual size of the service output array. @var{hostname}: output array with hostname of server. @var{hostnamelen}: on input the maximum size of the hostname output array, on output contains the actual size of the hostname output array. Type of callback function the application implements. It should retrieve the service (which should be a registered GSSAPI host based service name, such as ``imap'') the server provides and hostname of server (usually canoncial DNS hostname). It should return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails. If SERVICE or HOSTNAME is NULL, the function should only populate SERVICELEN or HOSTNAMELEN with the output length of the respective field, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. @end deftypefn gsasl-1.8.1/doc/texinfo.css0000644000000000000000000000134612222241124012450 00000000000000body { margin: 2%; padding: 0 5%; background: #ffffff; } h1,h2,h3,h4,h5 { font-weight: bold; padding: 5px 5px 5px 5px; background-color: #c2e0ff; color: #336699; } h1 { padding: 2em 2em 2em 5%; color: white; background: #336699; text-align: center; letter-spacing: 3px; } h2 { text-decoration: underline; } pre { margin: 0 5%; padding: 0.5em; } pre.example { border: solid 1px; background: #eeeeff; padding-bottom: 1em; } pre.verbatim { border: solid 1px gray; background: white; padding-bottom: 1em; } div.node { margin: 0 -5% 0 -2%; padding: 0.5em 0.5em; margin-top: 0.5em; margin-bottom: 0.5em; font-weight: bold; } dd, li { padding-top: 0.1em; padding-bottom: 0.1em; } gsasl-1.8.1/doc/gsasl-callback-cram-md5.texi0000664000000000000000000000116711746471770015454 00000000000000@deftypefn Prototype int (*Gsasl_server_callback_cram_md5) (Gsasl_session_ctx * @var{ctx}, char * @var{username}, char * @var{challenge}, char * @var{response}) @var{ctx}: libgsasl handle. @var{username}: input array with username. @var{challenge}: input array with CRAM-MD5 challenge. @var{response}: input array with CRAM-MD5 response. Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used. @end deftypefn gsasl-1.8.1/doc/Makefile.am0000644000000000000000000003735013521017375012336 00000000000000# Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . SUBDIRS = cyclo if ENABLE_GTK_DOC SUBDIRS += reference endif EXTRA_DIST = gdoc \ controlflow.dia controlflow2.dia abstraction.dia \ gsasl.html gsasl.ps gsasl.pdf texinfo.css \ doxygen/Doxyfile.in doxygen/gdoc2doxygen .dia.png: $(DIA) --export=$@ --export-to-format=png $< .dia.eps: $(DIA) --export=$@ --export-to-format=eps $< .eps.pdf: $(EPSTOPDF) $< info_TEXINFOS = gsasl.texi gsasl_TEXINFOS = fdl-1.3.texi $(gdoc_TEXINFOS) \ controlflow.eps controlflow.png controlflow.pdf \ controlflow2.eps controlflow2.png controlflow2.pdf \ abstraction.eps abstraction.png abstraction.pdf \ gsasl-callback-password.texi gsasl-callback-authorization.texi \ gsasl-callback-authentication.texi gsasl-callback-validate.texi \ gsasl-callback-retrieve.texi gsasl-callback-cram-md5.texi \ gsasl-callback-digest-md5.texi gsasl-callback-passcode.texi \ gsasl-callback-gssapi.texi gsasl-callback-securid.texi \ gsasl-callback-client-service.texi gsasl-callback-server-service.texi \ gsasl-api-error-labels.texi AM_CPPFLAGS = -I$(top_srcdir)/lib/src noinst_PROGRAMS = print-errors print_errors_LDADD = ../lib/src/libgsasl.la gsasl-api-error-labels.texi: $(top_srcdir)/lib/src/error.c print-errors.c make print-errors$(EXEEXT) $(builddir)/print-errors$(EXEEXT) > $@.new mv $@.new $@ AM_MAKEINFOFLAGS = -I $(top_srcdir)/doc \ -I $(top_builddir)/doc -I $(top_srcdir)/examples TEXI2DVI = texi2dvi $(AM_MAKEINFOFLAGS) AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) \ --no-split --number-sections --css-include=texinfo.css dist_man_MANS = gsasl.1 $(gdoc_MANS) MAINTAINERCLEANFILES = $(dist_man_MANS) gsasl.1: $(top_srcdir)/src/gsasl.c $(top_srcdir)/src/gsasl.ggo \ $(top_srcdir)/configure.ac $(HELP2MAN) \ --name="SASL library command line interface" \ --output=$@ $(top_builddir)/src/gsasl$(EXEEXT) gdoc_MANS = gdoc_MANS += man/gsasl_base64_to.3 gdoc_MANS += man/gsasl_base64_from.3 gdoc_MANS += man/gsasl_callback_set.3 gdoc_MANS += man/gsasl_callback.3 gdoc_MANS += man/gsasl_callback_hook_set.3 gdoc_MANS += man/gsasl_callback_hook_get.3 gdoc_MANS += man/gsasl_session_hook_set.3 gdoc_MANS += man/gsasl_session_hook_get.3 gdoc_MANS += man/gsasl_nonce.3 gdoc_MANS += man/gsasl_random.3 gdoc_MANS += man/gsasl_md5.3 gdoc_MANS += man/gsasl_hmac_md5.3 gdoc_MANS += man/gsasl_sha1.3 gdoc_MANS += man/gsasl_hmac_sha1.3 gdoc_MANS += man/gsasl_done.3 gdoc_MANS += man/gsasl_strerror.3 gdoc_MANS += man/gsasl_strerror_name.3 gdoc_MANS += man/gsasl_free.3 gdoc_MANS += man/gsasl_init.3 gdoc_MANS += man/gsasl_client_mechlist.3 gdoc_MANS += man/gsasl_server_mechlist.3 gdoc_MANS += man/gsasl_simple_getpass.3 gdoc_MANS += man/gsasl_mechanism_name.3 gdoc_MANS += man/gsasl_client_listmech.3 gdoc_MANS += man/gsasl_server_listmech.3 gdoc_MANS += man/gsasl_client_step.3 gdoc_MANS += man/gsasl_server_step.3 gdoc_MANS += man/gsasl_client_step_base64.3 gdoc_MANS += man/gsasl_server_step_base64.3 gdoc_MANS += man/gsasl_client_finish.3 gdoc_MANS += man/gsasl_server_finish.3 gdoc_MANS += man/gsasl_client_ctx_get.3 gdoc_MANS += man/gsasl_client_application_data_set.3 gdoc_MANS += man/gsasl_client_application_data_get.3 gdoc_MANS += man/gsasl_server_ctx_get.3 gdoc_MANS += man/gsasl_server_application_data_set.3 gdoc_MANS += man/gsasl_server_application_data_get.3 gdoc_MANS += man/gsasl_randomize.3 gdoc_MANS += man/gsasl_ctx_get.3 gdoc_MANS += man/gsasl_encode_inline.3 gdoc_MANS += man/gsasl_decode_inline.3 gdoc_MANS += man/gsasl_application_data_set.3 gdoc_MANS += man/gsasl_application_data_get.3 gdoc_MANS += man/gsasl_appinfo_set.3 gdoc_MANS += man/gsasl_appinfo_get.3 gdoc_MANS += man/gsasl_server_suggest_mechanism.3 gdoc_MANS += man/gsasl_client_callback_authentication_id_set.3 gdoc_MANS += man/gsasl_client_callback_authentication_id_get.3 gdoc_MANS += man/gsasl_client_callback_authorization_id_set.3 gdoc_MANS += man/gsasl_client_callback_authorization_id_get.3 gdoc_MANS += man/gsasl_client_callback_password_set.3 gdoc_MANS += man/gsasl_client_callback_password_get.3 gdoc_MANS += man/gsasl_client_callback_passcode_set.3 gdoc_MANS += man/gsasl_client_callback_passcode_get.3 gdoc_MANS += man/gsasl_client_callback_pin_set.3 gdoc_MANS += man/gsasl_client_callback_pin_get.3 gdoc_MANS += man/gsasl_client_callback_service_set.3 gdoc_MANS += man/gsasl_client_callback_service_get.3 gdoc_MANS += man/gsasl_client_callback_anonymous_set.3 gdoc_MANS += man/gsasl_client_callback_anonymous_get.3 gdoc_MANS += man/gsasl_client_callback_qop_set.3 gdoc_MANS += man/gsasl_client_callback_qop_get.3 gdoc_MANS += man/gsasl_client_callback_maxbuf_set.3 gdoc_MANS += man/gsasl_client_callback_maxbuf_get.3 gdoc_MANS += man/gsasl_client_callback_realm_set.3 gdoc_MANS += man/gsasl_client_callback_realm_get.3 gdoc_MANS += man/gsasl_server_callback_validate_set.3 gdoc_MANS += man/gsasl_server_callback_validate_get.3 gdoc_MANS += man/gsasl_server_callback_retrieve_set.3 gdoc_MANS += man/gsasl_server_callback_retrieve_get.3 gdoc_MANS += man/gsasl_server_callback_cram_md5_set.3 gdoc_MANS += man/gsasl_server_callback_cram_md5_get.3 gdoc_MANS += man/gsasl_server_callback_digest_md5_set.3 gdoc_MANS += man/gsasl_server_callback_digest_md5_get.3 gdoc_MANS += man/gsasl_server_callback_external_set.3 gdoc_MANS += man/gsasl_server_callback_external_get.3 gdoc_MANS += man/gsasl_server_callback_anonymous_set.3 gdoc_MANS += man/gsasl_server_callback_anonymous_get.3 gdoc_MANS += man/gsasl_server_callback_realm_set.3 gdoc_MANS += man/gsasl_server_callback_realm_get.3 gdoc_MANS += man/gsasl_server_callback_qop_set.3 gdoc_MANS += man/gsasl_server_callback_qop_get.3 gdoc_MANS += man/gsasl_server_callback_maxbuf_set.3 gdoc_MANS += man/gsasl_server_callback_maxbuf_get.3 gdoc_MANS += man/gsasl_server_callback_cipher_set.3 gdoc_MANS += man/gsasl_server_callback_cipher_get.3 gdoc_MANS += man/gsasl_server_callback_securid_set.3 gdoc_MANS += man/gsasl_server_callback_securid_get.3 gdoc_MANS += man/gsasl_server_callback_gssapi_set.3 gdoc_MANS += man/gsasl_server_callback_gssapi_get.3 gdoc_MANS += man/gsasl_server_callback_service_set.3 gdoc_MANS += man/gsasl_server_callback_service_get.3 gdoc_MANS += man/gsasl_stringprep_nfkc.3 gdoc_MANS += man/gsasl_stringprep_saslprep.3 gdoc_MANS += man/gsasl_stringprep_trace.3 gdoc_MANS += man/gsasl_md5pwd_get_password.3 gdoc_MANS += man/gsasl_base64_encode.3 gdoc_MANS += man/gsasl_base64_decode.3 gdoc_MANS += man/gsasl_property_set.3 gdoc_MANS += man/gsasl_property_set_raw.3 gdoc_MANS += man/gsasl_property_fast.3 gdoc_MANS += man/gsasl_property_get.3 gdoc_MANS += man/gsasl_register.3 gdoc_MANS += man/gsasl_saslprep.3 gdoc_MANS += man/gsasl_client_suggest_mechanism.3 gdoc_MANS += man/gsasl_client_support_p.3 gdoc_MANS += man/gsasl_server_support_p.3 gdoc_MANS += man/gsasl_check_version.3 gdoc_MANS += man/gsasl_encode.3 gdoc_MANS += man/gsasl_decode.3 gdoc_MANS += man/gsasl_finish.3 gdoc_MANS += man/gsasl_client_start.3 gdoc_MANS += man/gsasl_server_start.3 gdoc_MANS += man/gsasl_step.3 gdoc_MANS += man/gsasl_step64.3 gdoc_TEXINFOS = gdoc_TEXINFOS += texi/base64.c.texi gdoc_TEXINFOS += texi/callback.c.texi gdoc_TEXINFOS += texi/crypto.c.texi gdoc_TEXINFOS += texi/done.c.texi gdoc_TEXINFOS += texi/doxygen.c.texi gdoc_TEXINFOS += texi/error.c.texi gdoc_TEXINFOS += texi/free.c.texi gdoc_TEXINFOS += texi/init.c.texi gdoc_TEXINFOS += texi/listmech.c.texi gdoc_TEXINFOS += texi/md5pwd.c.texi gdoc_TEXINFOS += texi/mechname.c.texi gdoc_TEXINFOS += texi/mechtools.c.texi gdoc_TEXINFOS += texi/obsolete.c.texi gdoc_TEXINFOS += texi/property.c.texi gdoc_TEXINFOS += texi/register.c.texi gdoc_TEXINFOS += texi/saslprep.c.texi gdoc_TEXINFOS += texi/suggest.c.texi gdoc_TEXINFOS += texi/supportp.c.texi gdoc_TEXINFOS += texi/version.c.texi gdoc_TEXINFOS += texi/xcode.c.texi gdoc_TEXINFOS += texi/xfinish.c.texi gdoc_TEXINFOS += texi/xstart.c.texi gdoc_TEXINFOS += texi/xstep.c.texi gdoc_TEXINFOS += texi/gsasl_base64_to.texi gdoc_TEXINFOS += texi/gsasl_base64_from.texi gdoc_TEXINFOS += texi/gsasl_callback_set.texi gdoc_TEXINFOS += texi/gsasl_callback.texi gdoc_TEXINFOS += texi/gsasl_callback_hook_set.texi gdoc_TEXINFOS += texi/gsasl_callback_hook_get.texi gdoc_TEXINFOS += texi/gsasl_session_hook_set.texi gdoc_TEXINFOS += texi/gsasl_session_hook_get.texi gdoc_TEXINFOS += texi/gsasl_nonce.texi gdoc_TEXINFOS += texi/gsasl_random.texi gdoc_TEXINFOS += texi/gsasl_md5.texi gdoc_TEXINFOS += texi/gsasl_hmac_md5.texi gdoc_TEXINFOS += texi/gsasl_sha1.texi gdoc_TEXINFOS += texi/gsasl_hmac_sha1.texi gdoc_TEXINFOS += texi/gsasl_done.texi gdoc_TEXINFOS += texi/gsasl_strerror.texi gdoc_TEXINFOS += texi/gsasl_strerror_name.texi gdoc_TEXINFOS += texi/gsasl_free.texi gdoc_TEXINFOS += texi/gsasl_init.texi gdoc_TEXINFOS += texi/gsasl_client_mechlist.texi gdoc_TEXINFOS += texi/gsasl_server_mechlist.texi gdoc_TEXINFOS += texi/gsasl_simple_getpass.texi gdoc_TEXINFOS += texi/gsasl_mechanism_name.texi gdoc_TEXINFOS += texi/gsasl_client_listmech.texi gdoc_TEXINFOS += texi/gsasl_server_listmech.texi gdoc_TEXINFOS += texi/gsasl_client_step.texi gdoc_TEXINFOS += texi/gsasl_server_step.texi gdoc_TEXINFOS += texi/gsasl_client_step_base64.texi gdoc_TEXINFOS += texi/gsasl_server_step_base64.texi gdoc_TEXINFOS += texi/gsasl_client_finish.texi gdoc_TEXINFOS += texi/gsasl_server_finish.texi gdoc_TEXINFOS += texi/gsasl_client_ctx_get.texi gdoc_TEXINFOS += texi/gsasl_client_application_data_set.texi gdoc_TEXINFOS += texi/gsasl_client_application_data_get.texi gdoc_TEXINFOS += texi/gsasl_server_ctx_get.texi gdoc_TEXINFOS += texi/gsasl_server_application_data_set.texi gdoc_TEXINFOS += texi/gsasl_server_application_data_get.texi gdoc_TEXINFOS += texi/gsasl_randomize.texi gdoc_TEXINFOS += texi/gsasl_ctx_get.texi gdoc_TEXINFOS += texi/gsasl_encode_inline.texi gdoc_TEXINFOS += texi/gsasl_decode_inline.texi gdoc_TEXINFOS += texi/gsasl_application_data_set.texi gdoc_TEXINFOS += texi/gsasl_application_data_get.texi gdoc_TEXINFOS += texi/gsasl_appinfo_set.texi gdoc_TEXINFOS += texi/gsasl_appinfo_get.texi gdoc_TEXINFOS += texi/gsasl_server_suggest_mechanism.texi gdoc_TEXINFOS += texi/gsasl_client_callback_authentication_id_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_authentication_id_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_authorization_id_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_authorization_id_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_password_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_password_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_passcode_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_passcode_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_pin_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_pin_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_service_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_service_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_anonymous_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_anonymous_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_qop_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_qop_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_maxbuf_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_maxbuf_get.texi gdoc_TEXINFOS += texi/gsasl_client_callback_realm_set.texi gdoc_TEXINFOS += texi/gsasl_client_callback_realm_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_validate_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_validate_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_retrieve_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_retrieve_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_cram_md5_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_cram_md5_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_digest_md5_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_digest_md5_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_external_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_external_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_anonymous_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_anonymous_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_realm_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_realm_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_qop_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_qop_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_maxbuf_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_maxbuf_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_cipher_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_cipher_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_securid_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_securid_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_gssapi_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_gssapi_get.texi gdoc_TEXINFOS += texi/gsasl_server_callback_service_set.texi gdoc_TEXINFOS += texi/gsasl_server_callback_service_get.texi gdoc_TEXINFOS += texi/gsasl_stringprep_nfkc.texi gdoc_TEXINFOS += texi/gsasl_stringprep_saslprep.texi gdoc_TEXINFOS += texi/gsasl_stringprep_trace.texi gdoc_TEXINFOS += texi/gsasl_md5pwd_get_password.texi gdoc_TEXINFOS += texi/gsasl_base64_encode.texi gdoc_TEXINFOS += texi/gsasl_base64_decode.texi gdoc_TEXINFOS += texi/gsasl_property_set.texi gdoc_TEXINFOS += texi/gsasl_property_set_raw.texi gdoc_TEXINFOS += texi/gsasl_property_fast.texi gdoc_TEXINFOS += texi/gsasl_property_get.texi gdoc_TEXINFOS += texi/gsasl_register.texi gdoc_TEXINFOS += texi/gsasl_saslprep.texi gdoc_TEXINFOS += texi/gsasl_client_suggest_mechanism.texi gdoc_TEXINFOS += texi/gsasl_client_support_p.texi gdoc_TEXINFOS += texi/gsasl_server_support_p.texi gdoc_TEXINFOS += texi/gsasl_check_version.texi gdoc_TEXINFOS += texi/gsasl_encode.texi gdoc_TEXINFOS += texi/gsasl_decode.texi gdoc_TEXINFOS += texi/gsasl_finish.texi gdoc_TEXINFOS += texi/gsasl_client_start.texi gdoc_TEXINFOS += texi/gsasl_server_start.texi gdoc_TEXINFOS += texi/gsasl_step.texi gdoc_TEXINFOS += texi/gsasl_step64.texi $(gdoc_MANS) $(gdoc_TEXINFOS): make update-makefile make Makefile make doit GDOC_SRC = $(top_srcdir)/lib/src/*.c update-makefile: MANS=""; \ TEXINFOS=""; \ for i in $(GDOC_SRC); do \ BASE=`basename $$i`; \ TEXINFOS="$$TEXINFOS\ngdoc_TEXINFOS += texi/$$BASE.texi"; \ done; \ FUNCS=`$(srcdir)/gdoc -listfunc $(GDOC_SRC)`; \ for i in $$FUNCS; do \ MANS="$$MANS\ngdoc_MANS += man/$$i.3"; \ TEXINFOS="$$TEXINFOS\ngdoc_TEXINFOS += texi/$$i.texi"; \ done; \ grep -v -e '^gdoc_MANS += ' -e '^gdoc_TEXINFOS += ' Makefile.am | \ perl -p -e "s,^gdoc_MANS =,gdoc_MANS =$$MANS," | \ perl -p -e "s,^gdoc_TEXINFOS =,gdoc_TEXINFOS =$$TEXINFOS,;" \ > Makefile.am.new && \ mv Makefile.am.new Makefile.am doit: @$(mkdir_p) man texi; \ echo -n "Creating function documentation" && \ for i in `$(srcdir)/gdoc -listfunc $(GDOC_SRC)`; do \ $(srcdir)/gdoc -man \ -module $(PACKAGE) \ -sourceversion $(VERSION) \ -bugsto $(PACKAGE_BUGREPORT) \ -pkg-name "$(PACKAGE_NAME)" \ -includefuncprefix \ -seeinfo $(PACKAGE) -verbatimcopying \ -copyright "2002-2019 Simon Josefsson" \ -function $$i \ $(GDOC_SRC) > man/$$i.3 && \ $(srcdir)/gdoc -texinfo -function $$i \ $(GDOC_SRC) > texi/$$i.texi && \ echo -n "."; \ done; \ echo ""; \ echo -n "Creating file documentation" && \ for i in $(GDOC_SRC); do \ BASE=`basename $$i`; \ $(srcdir)/gdoc -texinfo $$i > texi/$$BASE.texi && \ echo -n "."; \ done; \ echo "" .PHONY: update-makefile doit gsasl-1.8.1/doc/man/0000755000000000000000000000000013521017733011123 500000000000000gsasl-1.8.1/doc/man/gsasl_client_callback_authentication_id_set.30000644000000000000000000000330513521017403022033 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_authentication_id_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_authentication_id_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_authentication_id_set(Gsasl * " ctx ", Gsasl_client_callback_authentication_id " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_authentication_id cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to set the authentication identity. The function can be later retrieved using \fBgsasl_client_callback_authentication_id_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_step_base64.30000644000000000000000000000310413521017401016013 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_step_base64" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_step_base64 \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_server_step_base64(Gsasl_session * " sctx ", const char * " b64input ", char * " b64output ", size_t " b64output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl server handle. .IP "const char * b64input" 12 input base64 encoded byte array. .IP "char * b64output" 12 output base64 encoded byte array. .IP "size_t b64output_len" 12 size of output base64 encoded byte array. .SH "DESCRIPTION" This is a simple wrapper around \fBgsasl_server_step()\fP that base64 decodes the input and base64 encodes the output. Return value: See \fBgsasl_server_step()\fP. .SH "DEPRECATED" Use \fBgsasl_step64()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_start.30000644000000000000000000000263713521017410015013 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_start" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_start \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_client_start(Gsasl * " ctx ", const char * " mech ", Gsasl_session ** " sctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "const char * mech" 12 name of SASL mechanism. .IP "Gsasl_session ** sctx" 12 pointer to client handle. .SH "DESCRIPTION" This functions initiates a client SASL authentication. This function must be called before any other gsasl_client_*() function is called. Return value: Returns \fBGSASL_OK\fP if successful, or error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_cipher_get.30000644000000000000000000000306213521017406017631 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_cipher_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_cipher_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_cipher gsasl_server_callback_cipher_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_cipher_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_cipher_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_property_fast.30000644000000000000000000000302313521017407015215 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_property_fast" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_property_fast \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_property_fast(Gsasl_session * " sctx ", Gsasl_property " prop ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 session handle. .IP "Gsasl_property prop" 12 enumerated value of Gsasl_property type, indicating the type of data in \fIdata\fP . .SH "DESCRIPTION" Retrieve the data stored in the session handle for given property \fIprop\fP . The pointer is to live data, and must not be deallocated or modified in any way. This function will not invoke the application callback. Return value: Return property value, if known, or NULL if no value known. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_maxbuf_get.30000644000000000000000000000306213521017404017607 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_maxbuf_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_maxbuf_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_maxbuf gsasl_client_callback_maxbuf_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_maxbuf_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_maxbuf_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_qop_get.30000644000000000000000000000304013521017406017152 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_qop_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_qop_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_qop gsasl_server_callback_qop_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_qop_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_qop_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_service_set.30000644000000000000000000000333613521017406020037 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_service_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_service_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_service_set(Gsasl * " ctx ", Gsasl_server_callback_service " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_service cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server to set the name of the service. The service buffer should be a registered GSSAPI host\-based service name, hostname the name of the server. The function can be later retrieved using \fBgsasl_server_callback_service_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_digest_md5_set.30000644000000000000000000000331413521017405020416 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_digest_md5_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_digest_md5_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_digest_md5_set(Gsasl * " ctx ", Gsasl_server_callback_digest_md5 " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_digest_md5 cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for retrieving the secret hash of the username, realm and password for use in the DIGEST\-MD5 mechanism. The function can be later retrieved using \fBgsasl_server_callback_digest_md5_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_password_set.30000644000000000000000000000315413521017403020204 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_password_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_password_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_password_set(Gsasl * " ctx ", Gsasl_client_callback_password " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_password cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to set the password. The function can be later retrieved using \fBgsasl_client_callback_password_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_mechlist.30000644000000000000000000000265413521017400015514 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_mechlist" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_mechlist \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_server_mechlist(Gsasl * " ctx ", char ** " out ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "char ** out" 12 newly allocated output character array. .SH "DESCRIPTION" Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl server. \fIout\fP is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns \fBGSASL_OK\fP if successful, or error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_step.30000644000000000000000000000362713521017401014631 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_step" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_step \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_client_step(Gsasl_session * " sctx ", const char * " input ", size_t " input_len ", char * " output ", size_t * " output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl client handle. .IP "const char * input" 12 input byte array. .IP "size_t input_len" 12 size of input byte array. .IP "char * output" 12 output byte array. .IP "size_t * output_len" 12 size of output byte array. .SH "DESCRIPTION" Perform one step of SASL authentication in client. This reads data from server (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to server (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than \fBGSASL_NEEDS_MORE\fP. Return value: Returns \fBGSASL_OK\fP if authenticated terminated successfully, \fBGSASL_NEEDS_MORE\fP if more data is needed, or error code. .SH "DEPRECATED" Use \fBgsasl_step()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_realm_get.30000644000000000000000000000305413521017405017457 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_realm_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_realm_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_realm gsasl_server_callback_realm_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_realm_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_realm_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_random.30000644000000000000000000000241313521017377013604 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_random" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_random \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_random(char * " data ", size_t " datalen ");" .SH ARGUMENTS .IP "char * data" 12 output array to be filled with strong random data. .IP "size_t datalen" 12 size of output array. .SH "DESCRIPTION" Store cryptographically strong random data of given size in the provided buffer. Return value: Returns \fBGSASL_OK\fP iff successful. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_qop_get.30000644000000000000000000000304013521017404017120 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_qop_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_qop_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_qop gsasl_client_callback_qop_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_qop_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_qop_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_securid_set.30000644000000000000000000000402613521017406020032 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_securid_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_securid_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_securid_set(Gsasl * " ctx ", Gsasl_server_callback_securid " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_securid cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for validating a user via the SECURID mechanism. The function should return GSASL_OK if user authenticated successfully, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE if it wants another passcode, GSASL_SECURID_SERVER_NEED_NEW_PIN if it wants a PIN change, or an error. When (and only when) GSASL_SECURID_SERVER_NEED_NEW_PIN is returned, suggestpin can be populated with a PIN code the server suggests, and suggestpinlen set to the length of the PIN. The function can be later retrieved using \fBgsasl_server_callback_securid_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_application_data_get.30000644000000000000000000000301313521017402017777 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_application_data_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_application_data_get \- API function .SH SYNOPSIS .B #include .sp .BI "void * gsasl_client_application_data_get(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl client handle. .SH "DESCRIPTION" Retrieve application specific data from libgsasl client handle. The application data is set using \fBgsasl_client_application_data_set()\fP. It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. .SH "DEPRECATED" Use \fBgsasl_callback_hook_get()\fP or \fBgsasl_session_hook_get()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_saslprep.30000644000000000000000000000310713521017407014150 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_saslprep" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_saslprep \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_saslprep(const char * " in ", Gsasl_saslprep_flags " flags ", char ** " out ", int * " stringpreprc ");" .SH ARGUMENTS .IP "const char * in" 12 a UTF\-8 encoded string. .IP "Gsasl_saslprep_flags flags" 12 any SASLprep flag, e.g., \fBGSASL_ALLOW_UNASSIGNED\fP. .IP "char ** out" 12 on exit, contains newly allocated output string. .IP "int * stringpreprc" 12 if non\-NULL, will hold precise stringprep return code. .SH "DESCRIPTION" Prepare string using SASLprep. On success, the \fIout\fP variable must be deallocated by the caller. Return value: Returns \fBGSASL_OK\fP on success, or \fBGSASL_SASLPREP_ERROR\fP on error. .SH "SINCE" 0.2.3 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_step64.30000644000000000000000000000355613521017410013446 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_step64" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_step64 \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_step64(Gsasl_session * " sctx ", const char * " b64input ", char ** " b64output ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl client handle. .IP "const char * b64input" 12 input base64 encoded byte array. .IP "char ** b64output" 12 newly allocated output base64 encoded byte array. .SH "DESCRIPTION" This is a simple wrapper around \fBgsasl_step()\fP that base64 decodes the input and base64 encodes the output. The contents of the \fIb64output\fP buffer is unspecified if this functions returns anything other than \fBGSASL_OK\fP or \fBGSASL_NEEDS_MORE\fP. If this function return \fBGSASL_OK\fP or \fBGSASL_NEEDS_MORE\fP, however, the \fIb64output\fP buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( \fIb64output\fP ). Return value: Returns \fBGSASL_OK\fP if authenticated terminated successfully, \fBGSASL_NEEDS_MORE\fP if more data is needed, or error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_cram_md5_get.30000644000000000000000000000307613521017405020052 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_cram_md5_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_cram_md5_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_cram_md5 gsasl_server_callback_cram_md5_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_cram_md5_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_cram_md5_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_init.30000644000000000000000000000252313521017400013254 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_init" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_init \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_init(Gsasl ** " ctx ");" .SH ARGUMENTS .IP "Gsasl ** ctx" 12 pointer to libgsasl handle. .SH "DESCRIPTION" This functions initializes libgsasl. The handle pointed to by ctx is valid for use with other libgsasl functions iff this function is successful. It also register all builtin SASL mechanisms, using \fBgsasl_register()\fP. Return value: GSASL_OK iff successful, otherwise \fBGSASL_MALLOC_ERROR\fP. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_maxbuf_set.30000644000000000000000000000345713521017404017633 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_maxbuf_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_maxbuf_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_maxbuf_set(Gsasl * " ctx ", Gsasl_client_callback_maxbuf " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_maxbuf cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to inform the server of the largest buffer the client is able to receive when using the DIGEST\-MD5 "auth\-int" or "auth\-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using \fBgsasl_client_callback_maxbuf_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_start.30000644000000000000000000000263713521017410015043 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_start" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_start \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_server_start(Gsasl * " ctx ", const char * " mech ", Gsasl_session ** " sctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "const char * mech" 12 name of SASL mechanism. .IP "Gsasl_session ** sctx" 12 pointer to server handle. .SH "DESCRIPTION" This functions initiates a server SASL authentication. This function must be called before any other gsasl_server_*() function is called. Return value: Returns \fBGSASL_OK\fP if successful, or error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_support_p.30000644000000000000000000000245313521017410015705 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_support_p" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_support_p \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_client_support_p(Gsasl * " ctx ", const char * " name ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "const char * name" 12 name of SASL mechanism. .SH "DESCRIPTION" Decide whether there is client\-side support for a specified mechanism. Return value: Returns 1 if the libgsasl client supports the named mechanism, otherwise 0. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_realm_get.30000644000000000000000000000305413521017404017426 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_realm_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_realm_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_realm gsasl_client_callback_realm_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_realm_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_realm_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_finish.30000644000000000000000000000236013521017401015157 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_finish" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_finish \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_finish(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl server handle. .SH "DESCRIPTION" Destroy a libgsasl server handle. The handle must not be used with other libgsasl functions after this call. .SH "DEPRECATED" Use \fBgsasl_finish()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_retrieve_get.30000644000000000000000000000307613521017405020210 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_retrieve_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_retrieve_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_retrieve_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_retrieve_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_pin_get.30000644000000000000000000000304013521017403017106 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_pin_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_pin_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_pin gsasl_client_callback_pin_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_pin_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_pin_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_application_data_set.30000644000000000000000000000300013521017402016451 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_application_data_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_application_data_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_application_data_set(Gsasl * " ctx ", void * " appdata ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "void * appdata" 12 opaque pointer to application specific data. .SH "DESCRIPTION" Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling \fBgsasl_application_data_get()\fP. It is normally used by the application to maintain state between the main program and the callback. .SH "DEPRECATED" Use \fBgsasl_callback_hook_set()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_property_set_raw.30000644000000000000000000000335713521017407015736 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_property_set_raw" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_property_set_raw \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_property_set_raw(Gsasl_session * " sctx ", Gsasl_property " prop ", const char * " data ", size_t " len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 session handle. .IP "Gsasl_property prop" 12 enumerated value of Gsasl_property type, indicating the type of data in \fIdata\fP . .IP "const char * data" 12 character string to store. .IP "size_t len" 12 length of character string to store. .SH "DESCRIPTION" Make a copy of \fIlen\fP sized \fIdata\fP and store a zero terminated version of it in the session handle for the indicated property \fIprop\fP . You can immediately deallocate \fIdata\fP after calling this function, without affecting the data stored in the session handle. Except for the length indicator, this function is identical to gsasl_property_set. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_passcode_set.30000644000000000000000000000315413521017403020143 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_passcode_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_passcode_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_passcode_set(Gsasl * " ctx ", Gsasl_client_callback_passcode " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_passcode cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to set the passcode. The function can be later retrieved using \fBgsasl_client_callback_passcode_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_strerror_name.30000644000000000000000000000311513521017400015171 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_strerror_name" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_strerror_name \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_strerror_name(int " err ");" .SH ARGUMENTS .IP "int err" 12 libgsasl error code .SH "DESCRIPTION" Convert return code to human readable string representing the error code symbol itself. For example, gsasl_strerror_name(\fBGSASL_OK\fP) returns the string "GSASL_OK". This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to \fBgsasl_init()\fP. Return value: Returns a pointer to a statically allocated string containing a string version of the error code \fIerr\fP , or NULL if the error code is not known. .SH "SINCE" 0.2.29 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_property_get.30000644000000000000000000000400013521017407015033 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_property_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_property_get \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_property_get(Gsasl_session * " sctx ", Gsasl_property " prop ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 session handle. .IP "Gsasl_property prop" 12 enumerated value of Gsasl_property type, indicating the type of data in \fIdata\fP . .SH "DESCRIPTION" Retrieve the data stored in the session handle for given property \fIprop\fP , possibly invoking the application callback to get the value. The pointer is to live data, and must not be deallocated or modified in any way. This function will invoke the application callback, using \fBgsasl_callback()\fP, when a property value is not known. If no value is known, and no callback is specified or if the callback fail to return data, and if any obsolete callback functions has been set by the application, this function will try to call these obsolete callbacks, and store the returned data as the corresponding property. This behaviour of this function will be removed when the obsolete callback interfaces are removed. Return value: Return data for property, or NULL if no value known. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_service_get.30000644000000000000000000000307013521017406020016 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_service_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_service_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_service gsasl_server_callback_service_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_service_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_service_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_application_data_set.30000644000000000000000000000316013521017401020015 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_application_data_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_application_data_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_application_data_set(Gsasl_session * " sctx ", void * " application_data ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl client handle. .IP "void * application_data" 12 opaque pointer to application specific data. .SH "DESCRIPTION" Store application specific data in the libgsasl client handle. The application data can be later (for instance, inside a callback) be retrieved by calling \fBgsasl_client_application_data_get()\fP. It is normally used by the application to maintain state between the main program and the callback. .SH "DEPRECATED" Use \fBgsasl_callback_hook_set()\fP or \fBgsasl_session_hook_set()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_mechanism_name.30000644000000000000000000000254013521017401015255 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_mechanism_name" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_mechanism_name \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_mechanism_name(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .SH "DESCRIPTION" This function returns the name of the SASL mechanism used in the session. The pointer must not be deallocated by the caller. Return value: Returns a zero terminated character array with the name of the SASL mechanism, or NULL if not known. .SH "SINCE" 0.2.28 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_encode_inline.30000644000000000000000000000317713521017402015114 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_encode_inline" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_encode_inline \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_encode_inline(Gsasl_session * " sctx ", const char * " input ", size_t " input_len ", char * " output ", size_t * " output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .IP "const char * input" 12 input byte array. .IP "size_t input_len" 12 size of input byte array. .IP "char * output" 12 output byte array. .IP "size_t * output_len" 12 size of output byte array. .SH "DESCRIPTION" Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns \fBGSASL_OK\fP if encoding was successful, otherwise an error code. .SH "DEPRECATED" Use \fBgsasl_encode()\fP instead. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_base64_to.30000644000000000000000000000315613521017377014117 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_base64_to" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_base64_to \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_base64_to(const char * " in ", size_t " inlen ", char ** " out ", size_t * " outlen ");" .SH ARGUMENTS .IP "const char * in" 12 input byte array .IP "size_t inlen" 12 size of input byte array .IP "char ** out" 12 pointer to newly allocated output byte array .IP "size_t * outlen" 12 pointer to size of newly allocated output byte array .SH "DESCRIPTION" Encode data as base64. The string is zero terminated, and \fIoutlen\fP holds the length excluding the terminating zero. The \fIout\fP buffer must be deallocated by the caller. Return value: Returns \fBGSASL_OK\fP on success, or \fBGSASL_MALLOC_ERROR\fP if input was too large or memory allocation fail. .SH "SINCE" 0.2.2 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_step_base64.30000644000000000000000000000310413521017401015763 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_step_base64" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_step_base64 \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_client_step_base64(Gsasl_session * " sctx ", const char * " b64input ", char * " b64output ", size_t " b64output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl client handle. .IP "const char * b64input" 12 input base64 encoded byte array. .IP "char * b64output" 12 output base64 encoded byte array. .IP "size_t b64output_len" 12 size of output base64 encoded byte array. .SH "DESCRIPTION" This is a simple wrapper around \fBgsasl_client_step()\fP that base64 decodes the input and base64 encodes the output. Return value: See \fBgsasl_client_step()\fP. .SH "DEPRECATED" Use \fBgsasl_step64()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_callback_hook_get.30000644000000000000000000000257713521017377015752 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_callback_hook_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_callback_hook_get \- API function .SH SYNOPSIS .B #include .sp .BI "void * gsasl_callback_hook_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Retrieve application specific data from libgsasl handle. The application data is set using \fBgsasl_callback_hook_set()\fP. This is normally used by the application to maintain a global state between the main program and callbacks. Return value: Returns the application specific data, or NULL. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_randomize.30000644000000000000000000000267113521017402014307 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_randomize" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_randomize \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_randomize(int " strong ", char * " data ", size_t " datalen ");" .SH ARGUMENTS .IP "int strong" 12 0 iff operation should not block, non\-0 for very strong randomness. .IP "char * data" 12 output array to be filled with random data. .IP "size_t datalen" 12 size of output array. .SH "DESCRIPTION" Store cryptographically random data of given size in the provided buffer. Return value: Returns \fBGSASL_OK\fP iff successful. .SH "DEPRECATED" Use \fBgsasl_random()\fP or \fBgsasl_nonce()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_step.30000644000000000000000000000430513521017410013265 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_step" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_step \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_step(Gsasl_session * " sctx ", const char * " input ", size_t " input_len ", char ** " output ", size_t * " output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .IP "const char * input" 12 input byte array. .IP "size_t input_len" 12 size of input byte array. .IP "char ** output" 12 newly allocated output byte array. .IP "size_t * output_len" 12 pointer to output variable with size of output byte array. .SH "DESCRIPTION" Perform one step of SASL authentication. This reads data from the other end (from \fIinput\fP and \fIinput_len\fP ), processes it (potentially invoking callbacks to the application), and writes data to server (into newly allocated variable \fIoutput\fP and \fIoutput_len\fP that indicate the length of \fIoutput\fP ). The contents of the \fIoutput\fP buffer is unspecified if this functions returns anything other than \fBGSASL_OK\fP or \fBGSASL_NEEDS_MORE\fP. If this function return \fBGSASL_OK\fP or \fBGSASL_NEEDS_MORE\fP, however, the \fIoutput\fP buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( \fIoutput\fP ). Return value: Returns \fBGSASL_OK\fP if authenticated terminated successfully, \fBGSASL_NEEDS_MORE\fP if more data is needed, or error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_suggest_mechanism.30000644000000000000000000000272013521017407017362 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_suggest_mechanism" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_suggest_mechanism \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_client_suggest_mechanism(Gsasl * " ctx ", const char * " mechlist ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "const char * mechlist" 12 input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). .SH "DESCRIPTION" Given a list of mechanisms, suggest which to use. Return value: Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string, or NULL if no supported mechanism is found. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_base64_decode.30000644000000000000000000000300613521017407014704 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_base64_decode" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_base64_decode \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_base64_decode(char const * " src ", char * " target ", size_t " targsize ");" .SH ARGUMENTS .IP "char const * src" 12 input byte array .IP "char * target" 12 output byte array .IP "size_t targsize" 12 size of output byte array .SH "DESCRIPTION" Decode Base64 data. Skips all whitespace anywhere. Converts characters, four at a time, starting at (or after) src from Base64 numbers into three 8 bit bytes in the target area. Return value: Returns the number of data bytes stored at the target, or \-1 on error. .SH "DEPRECATED" Use \fBgsasl_base64_from()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_encode.30000644000000000000000000000331113521017410013543 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_encode" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_encode \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_encode(Gsasl_session * " sctx ", const char * " input ", size_t " input_len ", char ** " output ", size_t * " output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .IP "const char * input" 12 input byte array. .IP "size_t input_len" 12 size of input byte array. .IP "char ** output" 12 newly allocated output byte array. .IP "size_t * output_len" 12 size of output byte array. .SH "DESCRIPTION" Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The \fIoutput\fP buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( \fIoutput\fP ). Return value: Returns \fBGSASL_OK\fP if encoding was successful, otherwise an error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_anonymous_set.30000644000000000000000000000322113521017405020417 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_anonymous_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_anonymous_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_anonymous_set(Gsasl * " ctx ", Gsasl_server_callback_anonymous " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_anonymous cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for deciding if user is permitted anonymous access. The function can be later retrieved using \fBgsasl_server_callback_anonymous_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_service_set.30000644000000000000000000000351213521017403020000 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_service_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_service_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_service_set(Gsasl * " ctx ", Gsasl_client_callback_service " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_service cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to set the name of the service. The service buffer should be a registered GSSAPI host\-based service name, hostname the name of the server. Servicename is used by DIGEST\-MD5 and should be the name of generic server in case of a replicated service. The function can be later retrieved using \fBgsasl_client_callback_service_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_validate_set.30000644000000000000000000000330113521017404020156 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_validate_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_validate_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_validate_set(Gsasl * " ctx ", Gsasl_server_callback_validate " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_validate cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using \fBgsasl_server_callback_validate_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_anonymous_get.30000644000000000000000000000310413521017405020403 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_anonymous_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_anonymous_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_anonymous gsasl_server_callback_anonymous_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_anonymous_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_anonymous_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_gssapi_set.30000644000000000000000000000346313521017406017666 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_gssapi_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_gssapi_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_gssapi_set(Gsasl * " ctx ", Gsasl_server_callback_gssapi " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_gssapi cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for checking if a GSSAPI user is authorized for username (by, e.g., calling krb5_kuserok). The function should return GSASL_OK if the user should be permitted access, or an error code such as GSASL_AUTHENTICATION_ERROR on failure. The function can be later retrieved using \fBgsasl_server_callback_gssapi_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_hmac_md5.30000644000000000000000000000314713521017400013771 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_hmac_md5" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_hmac_md5 \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_hmac_md5(const char * " key ", size_t " keylen ", const char * " in ", size_t " inlen ", char * [] " outhash ");" .SH ARGUMENTS .IP "const char * key" 12 input character array with key to use. .IP "size_t keylen" 12 length of input character array with key to use. .IP "const char * in" 12 input character array of data to hash. .IP "size_t inlen" 12 length of input character array of data to hash. .IP "char * [] outhash" 12 newly allocated 16\-byte character array with keyed hash of data. .SH "DESCRIPTION" Compute keyed checksum of data using HMAC\-MD5. The \fIouthash\fP buffer must be deallocated by the caller. Return value: Returns \fBGSASL_OK\fP iff successful. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_support_p.30000644000000000000000000000245313521017410015735 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_support_p" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_support_p \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_server_support_p(Gsasl * " ctx ", const char * " name ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "const char * name" 12 name of SASL mechanism. .SH "DESCRIPTION" Decide whether there is server\-side support for a specified mechanism. Return value: Returns 1 if the libgsasl server supports the named mechanism, otherwise 0. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_password_get.30000644000000000000000000000307613521017403020173 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_password_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_password_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_password gsasl_client_callback_password_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_password_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_password_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_step.30000644000000000000000000000362713521017401014661 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_step" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_step \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_server_step(Gsasl_session * " sctx ", const char * " input ", size_t " input_len ", char * " output ", size_t * " output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl server handle. .IP "const char * input" 12 input byte array. .IP "size_t input_len" 12 size of input byte array. .IP "char * output" 12 output byte array. .IP "size_t * output_len" 12 size of output byte array. .SH "DESCRIPTION" Perform one step of SASL authentication in server. This reads data from client (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to client (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than \fBGSASL_NEEDS_MORE\fP. Return value: Returns \fBGSASL_OK\fP if authenticated terminated successfully, \fBGSASL_NEEDS_MORE\fP if more data is needed, or error code. .SH "DEPRECATED" Use \fBgsasl_step()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_hmac_sha1.30000644000000000000000000000317313521017400014137 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_hmac_sha1" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_hmac_sha1 \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_hmac_sha1(const char * " key ", size_t " keylen ", const char * " in ", size_t " inlen ", char * [] " outhash ");" .SH ARGUMENTS .IP "const char * key" 12 input character array with key to use. .IP "size_t keylen" 12 length of input character array with key to use. .IP "const char * in" 12 input character array of data to hash. .IP "size_t inlen" 12 length of input character array of data to hash. .IP "char * [] outhash" 12 newly allocated 20\-byte character array with keyed hash of data. .SH "DESCRIPTION" Compute keyed checksum of data using HMAC\-SHA1. The \fIouthash\fP buffer must be deallocated by the caller. Return value: Returns \fBGSASL_OK\fP iff successful. .SH "SINCE" 1.3 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_free.30000644000000000000000000000263213521017400013233 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_free" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_free \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_free(void * " ptr ");" .SH ARGUMENTS .IP "void * ptr" 12 memory pointer .SH "DESCRIPTION" Invoke free( \fIptr\fP ) to de\-allocate memory pointer. Typically used on strings allocated by other libgsasl functions. This is useful on Windows where libgsasl is linked to one CRT and the application is linked to another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio. .SH "SINCE" 0.2.19 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_authorization_id_get.30000644000000000000000000000315613521017403021704 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_authorization_id_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_authorization_id_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_authorization_id gsasl_client_callback_authorization_id_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_authorization_id_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_authorization_id_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_application_data_get.30000644000000000000000000000301313521017402020027 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_application_data_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_application_data_get \- API function .SH SYNOPSIS .B #include .sp .BI "void * gsasl_server_application_data_get(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl server handle. .SH "DESCRIPTION" Retrieve application specific data from libgsasl server handle. The application data is set using \fBgsasl_server_application_data_set()\fP. It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. .SH "DEPRECATED" Use \fBgsasl_callback_hook_get()\fP or \fBgsasl_session_hook_get()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_qop_set.30000644000000000000000000000335113521017405017172 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_qop_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_qop_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_qop_set(Gsasl * " ctx ", Gsasl_server_callback_qop " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_qop cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server to know which quality of protection it accepts. The quality of protection eventually used is selected by the client though. It is currently used by the DIGEST\-MD5 mechanism. The function can be later retrieved using \fBgsasl_server_callback_qop_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_suggest_mechanism.30000644000000000000000000000310613521017403017405 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_suggest_mechanism" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_suggest_mechanism \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_server_suggest_mechanism(Gsasl * " ctx ", const char * " mechlist ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "const char * mechlist" 12 input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). .SH "DESCRIPTION" Get name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. Return value: Returns name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. .SH "DEPRECATED" This function was never useful, since it is the client that chose which mechanism to use. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_service_get.30000644000000000000000000000307013521017404017764 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_service_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_service_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_service gsasl_client_callback_service_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_service_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_service_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_md5pwd_get_password.30000644000000000000000000000405113521017407016277 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_md5pwd_get_password" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_md5pwd_get_password \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_md5pwd_get_password(const char * " filename ", const char * " username ", char * " key ", size_t * " keylen ");" .SH ARGUMENTS .IP "const char * filename" 12 filename of file containing passwords. .IP "const char * username" 12 username string. .IP "char * key" 12 output character array. .IP "size_t * keylen" 12 input maximum size of output character array, on output contains actual length of output array. .SH "DESCRIPTION" Retrieve password for user from specified file. To find out how large the output array must be, call this function with out=NULL. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code. .SH "DEPRECATED" Use \fBgsasl_simple_getpass()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_cipher_set.30000644000000000000000000000336613521017406017654 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_cipher_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_cipher_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_cipher_set(Gsasl * " ctx ", Gsasl_server_callback_cipher " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_cipher cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server to inform the client of the cipher suites supported. The DES and 3DES ciphers must be supported for interoperability. It is currently used by the DIGEST\-MD5 mechanism. The function can be later retrieved using \fBgsasl_server_callback_cipher_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_strerror.30000644000000000000000000000267613521017400014204 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_strerror" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_strerror \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_strerror(int " err ");" .SH ARGUMENTS .IP "int err" 12 libgsasl error code .SH "DESCRIPTION" Convert return code to human readable string explanation of the reason for the particular error code. This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to \fBgsasl_init()\fP. Return value: Returns a pointer to a statically allocated string containing an explanation of the error code \fIerr\fP . .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_cram_md5_set.30000644000000000000000000000324513521017405020064 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_cram_md5_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_cram_md5_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_cram_md5_set(Gsasl * " ctx ", Gsasl_server_callback_cram_md5 " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_cram_md5 cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for deciding if user is authenticated using CRAM\-MD5 challenge and response. The function can be later retrieved using \fBgsasl_server_callback_cram_md5_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_stringprep_saslprep.30000644000000000000000000000352413521017407016430 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_stringprep_saslprep" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_stringprep_saslprep \- API function .SH SYNOPSIS .B #include .sp .BI "char * gsasl_stringprep_saslprep(const char * " in ", int * " stringprep_rc ");" .SH ARGUMENTS .IP "const char * in" 12 input ASCII or UTF\-8 string with data to prepare according to SASLprep. .IP "int * stringprep_rc" 12 pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. .SH "DESCRIPTION" Process a Unicode string for comparison, according to the "SASLprep" stringprep profile. This function is intended to be used by Simple Authentication and Security Layer (SASL) mechanisms (such as PLAIN, CRAM\-MD5, and DIGEST\-MD5) as well as other protocols exchanging user names and/or passwords. Return value: Return a newly allocated string that is the "SASLprep" processed form of the input string, or NULL on error, in which case \fIstringprep_rc\fP contain the stringprep library error code. .SH "DEPRECATED" Use \fBgsasl_saslprep()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_base64_from.30000644000000000000000000000305113521017377014432 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_base64_from" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_base64_from \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_base64_from(const char * " in ", size_t " inlen ", char ** " out ", size_t * " outlen ");" .SH ARGUMENTS .IP "const char * in" 12 input byte array .IP "size_t inlen" 12 size of input byte array .IP "char ** out" 12 pointer to newly allocated output byte array .IP "size_t * outlen" 12 pointer to size of newly allocated output byte array .SH "DESCRIPTION" Decode Base64 data. The \fIout\fP buffer must be deallocated by the caller. Return value: Returns \fBGSASL_OK\fP on success, \fBGSASL_BASE64_ERROR\fP if input was invalid, and \fBGSASL_MALLOC_ERROR\fP on memory allocation errors. .SH "SINCE" 0.2.2 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_listmech.30000644000000000000000000000312513521017401015457 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_listmech" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_listmech \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_client_listmech(Gsasl * " ctx ", char * " out ", size_t * " outlen ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "char * out" 12 output character array. .IP "size_t * outlen" 12 input maximum size of output character array, on output contains actual length of output array. .SH "DESCRIPTION" Write SASL names, separated by space, of mechanisms supported by the libgsasl client to the output array. To find out how large the output array must be, call this function with a NULL \fIout\fP parameter. Return value: Returns \fBGSASL_OK\fP if successful, or error code. .SH "DEPRECATED" Use \fBgsasl_client_mechlist()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_authentication_id_get.30000644000000000000000000000316413521017403022022 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_authentication_id_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_authentication_id_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_authentication_id gsasl_client_callback_authentication_id_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_authentication_id_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_authentication_id_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_sha1.30000644000000000000000000000263013521017400013144 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_sha1" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_sha1 \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_sha1(const char * " in ", size_t " inlen ", char * [] " out ");" .SH ARGUMENTS .IP "const char * in" 12 input character array of data to hash. .IP "size_t inlen" 12 length of input character array of data to hash. .IP "char * [] out" 12 newly allocated 20\-byte character array with hash of data. .SH "DESCRIPTION" Compute hash of data using SHA1. The \fIout\fP buffer must be deallocated by the caller. Return value: Returns \fBGSASL_OK\fP iff successful. .SH "SINCE" 1.3 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_session_hook_set.30000644000000000000000000000275713521017377015715 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_session_hook_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_session_hook_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_session_hook_set(Gsasl_session * " sctx ", void * " hook ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .IP "void * hook" 12 opaque pointer to application specific data. .SH "DESCRIPTION" Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling \fBgsasl_session_hook_get()\fP. This is normally used by the application to maintain a per\-session state between the main program and callbacks. .SH "SINCE" 0.2.14 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_nonce.30000644000000000000000000000237513521017377013435 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_nonce" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_nonce \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_nonce(char * " data ", size_t " datalen ");" .SH ARGUMENTS .IP "char * data" 12 output array to be filled with unpredictable random data. .IP "size_t datalen" 12 size of output array. .SH "DESCRIPTION" Store unpredictable data of given size in the provided buffer. Return value: Returns \fBGSASL_OK\fP iff successful. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_authorization_id_set.30000644000000000000000000000327413521017403021721 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_authorization_id_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_authorization_id_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_authorization_id_set(Gsasl * " ctx ", Gsasl_client_callback_authorization_id " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_authorization_id cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to set the authorization identity. The function can be later retrieved using \fBgsasl_client_callback_authorization_id_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_check_version.30000644000000000000000000000316013521017410015132 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_check_version" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_check_version \- API function .SH SYNOPSIS .B #include .sp .BI "const char * gsasl_check_version(const char * " req_version ");" .SH ARGUMENTS .IP "const char * req_version" 12 version string to compare with, or NULL. .SH "DESCRIPTION" Check GNU SASL Library version. See \fBGSASL_VERSION\fP for a suitable \fIreq_version\fP string. This function is one of few in the library that can be used without a successful call to \fBgsasl_init()\fP. Return value: Check that the version of the library is at minimum the one given as a string in \fIreq_version\fP and return the actual version string of the library; return NULL if the condition is not met. If NULL is passed to this function no check is done and only the version string is returned. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_ctx_get.30000644000000000000000000000243413521017401015306 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_ctx_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_ctx_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl * gsasl_client_ctx_get(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl client handle .SH "DESCRIPTION" Get the libgsasl handle given a libgsasl client handle. Return value: Returns the libgsasl handle given a libgsasl client handle. .SH "DEPRECATED" This function is not useful with the new 0.2.0 API. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_external_set.30000644000000000000000000000321213521017405020211 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_external_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_external_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_external_set(Gsasl * " ctx ", Gsasl_server_callback_external " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_external cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for deciding if user is authenticated out of band. The function can be later retrieved using \fBgsasl_server_callback_external_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_retrieve_set.30000644000000000000000000000330113521017404020212 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_retrieve_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_retrieve_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_retrieve_set(Gsasl * " ctx ", Gsasl_server_callback_retrieve " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_retrieve cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using \fBgsasl_server_callback_retrieve_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_finish.30000644000000000000000000000226313521017410013573 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_finish" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_finish \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_finish(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .SH "DESCRIPTION" Destroy a libgsasl client or server handle. The handle must not be used with other libgsasl functions after this call. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_stringprep_trace.30000644000000000000000000000334113521017407015672 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_stringprep_trace" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_stringprep_trace \- API function .SH SYNOPSIS .B #include .sp .BI "char * gsasl_stringprep_trace(const char * " in ", int * " stringprep_rc ");" .SH ARGUMENTS .IP "const char * in" 12 input ASCII or UTF\-8 string with data to prepare according to "trace". .IP "int * stringprep_rc" 12 pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. .SH "DESCRIPTION" Process a Unicode string for use as trace information, according to the "trace" stringprep profile. The profile is designed for use with the SASL ANONYMOUS Mechanism. Return value: Return a newly allocated string that is the "trace" processed form of the input string, or NULL on error, in which case \fIstringprep_rc\fP contain the stringprep library error code. .SH "DEPRECATED" No replacement functionality in GNU SASL, use GNU Libidn instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_listmech.30000644000000000000000000000312513521017401015507 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_listmech" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_listmech \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_server_listmech(Gsasl * " ctx ", char * " out ", size_t * " outlen ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "char * out" 12 output character array. .IP "size_t * outlen" 12 input maximum size of output character array, on output contains actual length of output array. .SH "DESCRIPTION" Write SASL names, separated by space, of mechanisms supported by the libgsasl server to the output array. To find out how large the output array must be, call this function with a NULL \fIout\fP parameter. Return value: Returns \fBGSASL_OK\fP if successful, or error code. .SH "DEPRECATED" Use \fBgsasl_server_mechlist()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_stringprep_nfkc.30000644000000000000000000000423513521017406015517 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_stringprep_nfkc" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_stringprep_nfkc \- API function .SH SYNOPSIS .B #include .sp .BI "char * gsasl_stringprep_nfkc(const char * " in ", ssize_t " len ");" .SH ARGUMENTS .IP "const char * in" 12 a UTF\-8 encoded string. .IP "ssize_t len" 12 length of \fIstr\fP , in bytes, or \-1 if \fIstr\fP is nul\-terminated. .SH "DESCRIPTION" Converts a string into canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. The normalization mode is NFKC (ALL COMPOSE). It standardizes differences that do not affect the text content, such as the above\-mentioned accent representation. It standardizes the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same. It returns a result with composed forms rather than a maximally decomposed form. Return value: Return a newly allocated string, that is the NFKC normalized form of \fIstr\fP , or NULL on error. .SH "DEPRECATED" No replacement functionality in GNU SASL, use GNU Libidn instead. Note that in SASL, you most likely want to use SASLprep and not bare NFKC, see \fBgsasl_saslprep()\fP. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_session_hook_get.30000644000000000000000000000264513521017377015675 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_session_hook_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_session_hook_get \- API function .SH SYNOPSIS .B #include .sp .BI "void * gsasl_session_hook_get(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .SH "DESCRIPTION" Retrieve application specific data from libgsasl session handle. The application data is set using \fBgsasl_callback_hook_set()\fP. This is normally used by the application to maintain a per\-session state between the main program and callbacks. Return value: Returns the application specific data, or NULL. .SH "SINCE" 0.2.14 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_realm_set.30000644000000000000000000000326413521017405017476 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_realm_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_realm_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_realm_set(Gsasl * " ctx ", Gsasl_server_callback_realm " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_realm cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server to know which realm it serves. The realm is used by the user to determine which username and password to use. The function can be later retrieved using \fBgsasl_server_callback_realm_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_passcode_get.30000644000000000000000000000307613521017403020132 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_passcode_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_passcode_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_passcode gsasl_client_callback_passcode_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_passcode_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_passcode_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_application_data_get.30000644000000000000000000000265613521017402016455 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_application_data_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_application_data_get \- API function .SH SYNOPSIS .B #include .sp .BI "void * gsasl_application_data_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Retrieve application specific data from libgsasl handle. The application data is set using \fBgsasl_application_data_set()\fP. It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. .SH "DEPRECATED" Use \fBgsasl_callback_hook_get()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_ctx_get.30000644000000000000000000000243413521017402015337 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_ctx_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_ctx_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl * gsasl_server_ctx_get(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl server handle .SH "DESCRIPTION" Get the libgsasl handle given a libgsasl server handle. Return value: Returns the libgsasl handle given a libgsasl server handle. .SH "DEPRECATED" This function is not useful with the new 0.2.0 API. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_done.30000644000000000000000000000222113521017400013231 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_done" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_done \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_done(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" This function destroys a libgsasl handle. The handle must not be used with other libgsasl functions after this call. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_simple_getpass.30000644000000000000000000000363013521017401015331 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_simple_getpass" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_simple_getpass \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_simple_getpass(const char * " filename ", const char * " username ", char ** " key ");" .SH ARGUMENTS .IP "const char * filename" 12 filename of file containing passwords. .IP "const char * username" 12 username string. .IP "char ** key" 12 newly allocated output character array. .SH "DESCRIPTION" Retrieve password for user from specified file. The buffer \fIkey\fP contain the password if this function is successful. The caller is responsible for deallocating it. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return \fBGSASL_OK\fP if output buffer contains the password, \fBGSASL_AUTHENTICATION_ERROR\fP if the user could not be found, or other error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_ctx_get.30000644000000000000000000000241213521017402013745 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_ctx_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_ctx_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl * gsasl_ctx_get(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle .SH "DESCRIPTION" Get the libgsasl handle given a libgsasl session handle. Return value: Returns the libgsasl handle given a libgsasl session handle. .SH "DEPRECATED" This function is not useful with the new 0.2.0 API. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_maxbuf_get.30000644000000000000000000000306213521017406017641 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_maxbuf_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_maxbuf_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_maxbuf gsasl_server_callback_maxbuf_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_maxbuf_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_maxbuf_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_digest_md5_get.30000644000000000000000000000311113521017405020375 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_digest_md5_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_digest_md5_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_digest_md5 gsasl_server_callback_digest_md5_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_digest_md5_set()\fP. Return value: Return the callback earlier set by calling \fBgsasl_server_callback_digest_md5_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_securid_get.30000644000000000000000000000307013521017406020014 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_securid_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_securid_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_securid gsasl_server_callback_securid_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_securid_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_securid_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_external_get.30000644000000000000000000000307613521017405020205 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_external_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_external_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_external gsasl_server_callback_external_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_external_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_external_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_base64_encode.30000644000000000000000000000310013521017407014711 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_base64_encode" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_base64_encode \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_base64_encode(char const * " src ", size_t " srclength ", char * " target ", size_t " targsize ");" .SH ARGUMENTS .IP "char const * src" 12 input byte array .IP "size_t srclength" 12 size of input byte array .IP "char * target" 12 output byte array .IP "size_t targsize" 12 size of output byte array .SH "DESCRIPTION" Encode data as base64. Converts characters, three at a time, starting at src into four base64 characters in the target area until the entire input buffer is encoded. Return value: Returns the number of data bytes stored at the target, or \-1 on error. .SH "DEPRECATED" Use \fBgsasl_base64_to()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_register.30000644000000000000000000000260513521017407014145 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_register" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_register \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_register(Gsasl * " ctx ", const Gsasl_mechanism * " mech ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 pointer to libgsasl handle. .IP "const Gsasl_mechanism * mech" 12 plugin structure with information about plugin. .SH "DESCRIPTION" This function initialize given mechanism, and if successful, add it to the list of plugins that is used by the library. Return value: \fBGSASL_OK\fP iff successful, otherwise \fBGSASL_MALLOC_ERROR\fP. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_anonymous_get.30000644000000000000000000000310413521017404020352 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_anonymous_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_anonymous_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_client_callback_anonymous gsasl_client_callback_anonymous_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_client_callback_anonymous_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_client_callback_anonymous_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_callback_set.30000644000000000000000000000345613521017377014743 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_callback_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_callback_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_callback_set(Gsasl * " ctx ", Gsasl_callback_function " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 handle received from \fBgsasl_init()\fP. .IP "Gsasl_callback_function cb" 12 pointer to function implemented by application. .SH "DESCRIPTION" Store the pointer to the application provided callback in the library handle. The callback will be used, via \fBgsasl_callback()\fP, by mechanisms to discover various parameters (such as username and passwords). The callback function will be called with a Gsasl_property value indicating the requested behaviour. For example, for \fBGSASL_ANONYMOUS_TOKEN\fP, the function is expected to invoke gsasl_property_set( \fICTX\fP , \fBGSASL_ANONYMOUS_TOKEN\fP, "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_application_data_set.30000644000000000000000000000316013521017402020046 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_application_data_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_application_data_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_application_data_set(Gsasl_session * " sctx ", void * " application_data ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl server handle. .IP "void * application_data" 12 opaque pointer to application specific data. .SH "DESCRIPTION" Store application specific data in the libgsasl server handle. The application data can be later (for instance, inside a callback) be retrieved by calling \fBgsasl_server_application_data_get()\fP. It is normally used by the application to maintain state between the main program and the callback. .SH "DEPRECATED" Use \fBgsasl_callback_hook_set()\fP or \fBgsasl_session_hook_set()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_callback.30000644000000000000000000000405213521017377014061 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_callback" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_callback \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_callback(Gsasl * " ctx ", Gsasl_session * " sctx ", Gsasl_property " prop ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 handle received from \fBgsasl_init()\fP, may be NULL to derive it from \fIsctx\fP . .IP "Gsasl_session * sctx" 12 session handle. .IP "Gsasl_property prop" 12 enumerated value of Gsasl_property type. .SH "DESCRIPTION" Invoke the application callback. The \fIprop\fP value indicate what the callback is expected to do. For example, for \fBGSASL_ANONYMOUS_TOKEN\fP, the function is expected to invoke gsasl_property_set( \fISCTX\fP , \fBGSASL_ANONYMOUS_TOKEN\fP, "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. Note that if no callback has been set by the application, but the obsolete callback interface has been used, this function will translate the old callback interface into the new. This interface should be sufficient to invoke all callbacks, both new and old. Return value: Returns whatever the application callback returns, or \fBGSASL_NO_CALLBACK\fP if no application was known. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_property_set.30000644000000000000000000000305013521017407015053 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_property_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_property_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_property_set(Gsasl_session * " sctx ", Gsasl_property " prop ", const char * " data ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 session handle. .IP "Gsasl_property prop" 12 enumerated value of Gsasl_property type, indicating the type of data in \fIdata\fP . .IP "const char * data" 12 zero terminated character string to store. .SH "DESCRIPTION" Make a copy of \fIdata\fP and store it in the session handle for the indicated property \fIprop\fP . You can immediately deallocate \fIdata\fP after calling this function, without affecting the data stored in the session handle. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_finish.30000644000000000000000000000236013521017401015127 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_finish" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_finish \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_finish(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl client handle. .SH "DESCRIPTION" Destroy a libgsasl client handle. The handle must not be used with other libgsasl functions after this call. .SH "DEPRECATED" Use \fBgsasl_finish()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_qop_set.30000644000000000000000000000317713521017404017147 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_qop_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_qop_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_qop_set(Gsasl * " ctx ", Gsasl_client_callback_qop " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_qop cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to determine the qop to use after looking at what the server offered. The function can be later retrieved using \fBgsasl_client_callback_qop_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_callback_hook_set.30000644000000000000000000000271213521017377015755 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_callback_hook_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_callback_hook_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_callback_hook_set(Gsasl * " ctx ", void * " hook ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "void * hook" 12 opaque pointer to application specific data. .SH "DESCRIPTION" Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling \fBgsasl_callback_hook_get()\fP. This is normally used by the application to maintain a global state between the main program and callbacks. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_decode.30000644000000000000000000000331113521017410013531 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_decode" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_decode \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_decode(Gsasl_session * " sctx ", const char * " input ", size_t " input_len ", char ** " output ", size_t * " output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .IP "const char * input" 12 input byte array. .IP "size_t input_len" 12 size of input byte array. .IP "char ** output" 12 newly allocated output byte array. .IP "size_t * output_len" 12 size of output byte array. .SH "DESCRIPTION" Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The \fIoutput\fP buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( \fIoutput\fP ). Return value: Returns \fBGSASL_OK\fP if encoding was successful, otherwise an error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_md5.30000644000000000000000000000260413521017400012776 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_md5" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_md5 \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_md5(const char * " in ", size_t " inlen ", char * [] " out ");" .SH ARGUMENTS .IP "const char * in" 12 input character array of data to hash. .IP "size_t inlen" 12 length of input character array of data to hash. .IP "char * [] out" 12 newly allocated 16\-byte character array with hash of data. .SH "DESCRIPTION" Compute hash of data using MD5. The \fIout\fP buffer must be deallocated by the caller. Return value: Returns \fBGSASL_OK\fP iff successful. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_mechlist.30000644000000000000000000000265413521017400015464 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_mechlist" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_mechlist \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_client_mechlist(Gsasl * " ctx ", char ** " out ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "char ** out" 12 newly allocated output character array. .SH "DESCRIPTION" Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl client. \fIout\fP is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns \fBGSASL_OK\fP if successful, or error code. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_realm_set.30000644000000000000000000000327213521017404017444 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_realm_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_realm_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_realm_set(Gsasl * " ctx ", Gsasl_client_callback_realm " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_realm cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to know which realm it belongs to. The realm is used by the server to determine which username and password to use. The function can be later retrieved using \fBgsasl_client_callback_realm_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_validate_get.30000644000000000000000000000307613521017404020153 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_validate_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_validate_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_validate gsasl_server_callback_validate_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_validate_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_validate_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_appinfo_get.30000644000000000000000000000265413521017402014613 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_appinfo_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_appinfo_get \- API function .SH SYNOPSIS .B #include .sp .BI "void * gsasl_appinfo_get(Gsasl_session * " sctx ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .SH "DESCRIPTION" Retrieve application specific data from libgsasl session handle. The application data is set using \fBgsasl_appinfo_set()\fP. It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. .SH "DEPRECATED" Use \fBgsasl_callback_hook_get()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_maxbuf_set.30000644000000000000000000000345713521017406017665 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_maxbuf_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_maxbuf_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_server_callback_maxbuf_set(Gsasl * " ctx ", Gsasl_server_callback_maxbuf " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_server_callback_maxbuf cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the server to inform the client of the largest buffer the server is able to receive when using the DIGEST\-MD5 "auth\-int" or "auth\-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using \fBgsasl_server_callback_maxbuf_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_decode_inline.30000644000000000000000000000317713521017402015102 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_decode_inline" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_decode_inline \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_decode_inline(Gsasl_session * " sctx ", const char * " input ", size_t " input_len ", char * " output ", size_t * " output_len ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .IP "const char * input" 12 input byte array. .IP "size_t input_len" 12 size of input byte array. .IP "char * output" 12 output byte array. .IP "size_t * output_len" 12 size of output byte array. .SH "DESCRIPTION" Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns \fBGSASL_OK\fP if encoding was successful, otherwise an error code. .SH "DEPRECATED" Use \fBgsasl_decode()\fP instead. .SH "SINCE" 0.2.0 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_anonymous_set.30000644000000000000000000000324313521017404020372 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_anonymous_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_anonymous_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_anonymous_set(Gsasl * " ctx ", Gsasl_client_callback_anonymous " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_anonymous cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to set the anonymous token, which usually is the users email address. The function can be later retrieved using \fBgsasl_client_callback_anonymous_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_appinfo_set.30000644000000000000000000000277513521017402014633 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_appinfo_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_appinfo_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_appinfo_set(Gsasl_session * " sctx ", void * " appdata ");" .SH ARGUMENTS .IP "Gsasl_session * sctx" 12 libgsasl session handle. .IP "void * appdata" 12 opaque pointer to application specific data. .SH "DESCRIPTION" Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling \fBgsasl_appinfo_get()\fP. It is normally used by the application to maintain state between the main program and the callback. .SH "DEPRECATED" Use \fBgsasl_callback_hook_set()\fP instead. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_server_callback_gssapi_get.30000644000000000000000000000306213521017406017645 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_server_callback_gssapi_get" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_server_callback_gssapi_get \- API function .SH SYNOPSIS .B #include .sp .BI "Gsasl_server_callback_gssapi gsasl_server_callback_gssapi_get(Gsasl * " ctx ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .SH "DESCRIPTION" Get the callback earlier set by calling \fBgsasl_server_callback_gssapi_set()\fP. Return value: Returns the callback earlier set by calling \fBgsasl_server_callback_gssapi_set()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/man/gsasl_client_callback_pin_set.30000644000000000000000000000331513521017403017127 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_client_callback_pin_set" 3 "1.8.1" "gsasl" "gsasl" .SH NAME gsasl_client_callback_pin_set \- API function .SH SYNOPSIS .B #include .sp .BI "void gsasl_client_callback_pin_set(Gsasl * " ctx ", Gsasl_client_callback_pin " cb ");" .SH ARGUMENTS .IP "Gsasl * ctx" 12 libgsasl handle. .IP "Gsasl_client_callback_pin cb" 12 callback function .SH "DESCRIPTION" Specify the callback function to use in the client to chose a new pin, possibly suggested by the server, for the SECURID mechanism. This is not normally invoked, but only when the server requests it. The function can be later retrieved using \fBgsasl_client_callback_pin_get()\fP. .SH "DEPRECATED" This function is part of the old callback interface. The new interface uses \fBgsasl_callback_set()\fP to set the application callback, and uses \fBgsasl_callback()\fP or \fBgsasl_property_get()\fP to invoke the callback for certain properties. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2019 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP gsasl-1.8.1/doc/gsasl.10000644000000000000000000001253413521017413011463 00000000000000.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. .TH GSASL "1" "August 2019" "gsasl 1.8.1" "User Commands" .SH NAME gsasl \- SASL library command line interface .SH SYNOPSIS .B gsasl [\fI\,OPTIONS\/\fR]... [\fI\,HOST \/\fR[\fI\,PORT\/\fR]]... .SH DESCRIPTION GNU SASL 1.8.1 .PP Authenticate user to a server using Simple Authentication and Security Layer. Currently IMAP and SMTP servers are supported. This is a command line interface for the GNU SASL library. .TP \fB\-h\fR, \fB\-\-help\fR Print help and exit .TP \fB\-V\fR, \fB\-\-version\fR Print version and exit .SS "Commands:" .TP \fB\-c\fR, \fB\-\-client\fR Act as client. (default=on) .TP \fB\-s\fR, \fB\-\-server\fR Act as server. (default=off) .TP \fB\-\-client\-mechanisms\fR Write name of supported client mechanisms separated by space to stdout. (default=off) .TP \fB\-\-server\-mechanisms\fR Write name of supported server mechanisms separated by space to stdout. (default=off) .SS "Network options:" .TP \fB\-\-connect\fR=\fI\,HOST[\/\fR:PORT] Connect to TCP server and negotiate on stream instead of stdin/stdout. PORT is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the \fB\-\-hostname\fR default. .SS "Generic options:" .TP \fB\-d\fR, \fB\-\-application\-data\fR After authentication, read data from stdin and run it through the mechanism's security layer and print it base64 encoded to stdout. The default is to terminate after authentication. (default=on) .TP \fB\-\-imap\fR Use a IMAP\-like logon procedure (client only). Also sets the \fB\-\-service\fR default to 'imap'. (default=off) .TP \fB\-\-smtp\fR Use a SMTP\-like logon procedure (client only). Also sets the \fB\-\-service\fR default to 'smtp'. (default=off) .TP \fB\-m\fR, \fB\-\-mechanism\fR=\fI\,STRING\/\fR Mechanism to use. .TP \fB\-\-no\-client\-first\fR Disallow client to send data first (client only). (default=off) .SS "SASL mechanism options (they are prompted for when required):" .TP \fB\-n\fR, \fB\-\-anonymous\-token\fR=\fI\,STRING\/\fR Token for anonymous authentication, usually mail address (ANONYMOUS only). .TP \fB\-a\fR, \fB\-\-authentication\-id\fR=\fI\,STRING\/\fR Identity of credential owner. .HP \fB\-z\fR, \fB\-\-authorization\-id\fR=\fI\,STRING\/\fR Identity to request service for. .TP \fB\-p\fR, \fB\-\-password\fR=\fI\,STRING\/\fR Password for authentication (insecure for non\-testing purposes). .TP \fB\-r\fR, \fB\-\-realm\fR=\fI\,STRING\/\fR Realm. Defaults to hostname. .TP \fB\-x\fR, \fB\-\-maxbuf\fR=\fI\,NUMBER\/\fR Indicate maximum buffer size (DIGEST\-MD5 only). .TP \fB\-\-passcode\fR=\fI\,NUMBER\/\fR Passcode for authentication (SECURID only). .TP \fB\-\-service\fR=\fI\,STRING\/\fR Set the requested service name (should be a registered GSSAPI host based service name). .TP \fB\-\-hostname\fR=\fI\,STRING\/\fR Set the name of the server with the requested service. .TP \fB\-\-service\-name\fR=\fI\,STRING\/\fR Set the generic server name in case of a replicated server (DIGEST\-MD5 only). .TP \fB\-\-enable\-cram\-md5\-validate\fR Validate CRAM\-MD5 challenge and response .TP interactively. (default=off) .TP \fB\-\-disable\-cleartext\-validate\fR Disable cleartext validate hook, forcing server .TP to prompt for password. (default=off) .TP \fB\-\-quality\-of\-protection\fR=\fI\,TYPE\/\fR How application payload will be protected. .TP \&'qop\-auth' means no protection, 'qop\-int' means integrity protection, 'qop\-conf' means integrity and confidentialiy protection. Currently only used by DIGEST\-MD5, where the default is 'qop\-int'. .SS "STARTTLS options:" .TP \fB\-\-starttls\fR Force use of STARTTLS. The default is to use STARTTLS when available. (default=off) .TP \fB\-\-no\-starttls\fR Unconditionally disable STARTTLS. (default=off) .TP \fB\-\-no\-cb\fR Don't use channel bindings from TLS. (default=off) .TP \fB\-\-x509\-ca\-file\fR=\fI\,FILE\/\fR File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done. .TP \fB\-\-x509\-cert\-file\fR=\fI\,FILE\/\fR File containing client X.509 certificate in PEM format. Used together with \fB\-\-x509\-key\-file\fR to specify the certificate/key pair. .TP \fB\-\-x509\-key\-file\fR=\fI\,FILE\/\fR Private key for the client X.509 certificate in PEM format. Used together with \fB\-\-x509\-key\-file\fR to specify the certificate/key pair. .TP \fB\-\-priority\fR=\fI\,STRING\/\fR Cipher priority string. .SS "Other options:" .TP \fB\-\-verbose\fR Produce verbose output. (default=off) .TP \fB\-\-quiet\fR Don't produce any diagnostic output. (default=off) .SH AUTHOR Written by Simon Josefsson. .SH "REPORTING BUGS" Report bugs to: bug\-gsasl@gnu.org .br GNU SASL home page: .br General help using GNU software: .SH COPYRIGHT Copyright \(co 2019 Simon Josefsson. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. gsasl-1.8.1/doc/gsasl.texi0000644000000000000000000030523113516252320012275 00000000000000\input texinfo @c -*- mode: texinfo; coding: us-ascii; -*- @setfilename gsasl.info @include version.texi @settitle GNU Simple Authentication and Security Layer @value{VERSION} @finalout @c Unify some of the indices. @syncodeindex tp fn @syncodeindex pg fn @copying This manual was last updated @value{UPDATED} for version @value{VERSION} of GNU SASL. Copyright @copyright{} 2002-2019 Simon Josefsson. @quotation Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. @end quotation @end copying @dircategory Software libraries @direntry * GNU SASL: (gsasl). GNU Simple Authentication and Security Layer Library. @end direntry @dircategory Security @direntry * gsasl: (gsasl)Invoking gsasl. Command line interface to GNU SASL. @end direntry @titlepage @title GNU SASL @subtitle Simple Authentication and Security Layer for the GNU system @subtitle for version @value{VERSION}, @value{UPDATED} @author Simon Josefsson @page @vskip 0pt plus 1filll @insertcopying @end titlepage @contents @ifnottex @node Top @top GNU Simple Authentication and Security Layer @insertcopying @end ifnottex @menu * Introduction:: Information about protocol and implementation. * Preparation:: What you should do before using the library. * Using the Library:: High level overview of how to use the library. * Properties:: How to specify username, password, etc. * Mechanisms:: Mechanism specific information. * Global Functions:: Functions that can be used at all times. * Callback Functions:: Set and use callbacks. * Property Functions:: Specify username, password etc. * Session Functions:: Perform an authentication. * Utilities:: Functions for various odd things. * Memory Handling:: Memory de-allocation. * Error Handling:: Error codes and such. * Examples:: Demonstrate how to use the library. * Acknowledgements:: Whom to blame. * Invoking gsasl:: Command line interface to the library. Appendices * Protocol Clarifications:: Our notes on the SASL protocol. * Old Functions:: Descriptions of old API functions. * Copying Information:: How you can copy and share GNU SASL. Indices * Function and Data Index:: Index of functions, variables and data types. * Concept Index:: Index of concepts and programs. @end menu @c ********************************************************** @c ******************* Introduction *********************** @c ********************************************************** @node Introduction @chapter Introduction This manual can be used in several ways. If read from the beginning to the end, it gives the reader an understanding of the SASL framework and the GNU SASL implementation, and how the GNU SASL library is used in an application. Forward references are included where necessary. Later on, the manual can be used as a reference manual to get just the information needed about any particular interface of the library. Experienced programmers might want to start looking at the examples at the end of the manual, and then only read up those parts of the interface which are unclear. @menu * SASL Overview:: * Implementation:: * Features:: * Requirements:: * Supported Platforms:: * Getting help:: * Commercial Support:: * Downloading and Installing:: * Bug Reports:: * Contributing:: @end menu @node SASL Overview @section SASL Overview SASL is a framework for application protocols, such as SMTP or IMAP, to add authentication support. For example, SASL is used to prove to the server who you are when you access an IMAP server to read your e-mail. The SASL framework does not specify the technology used to perform the authentication, that is the responsibility for each SASL mechanism. Popular SASL mechanisms include CRAM-MD5 and GSSAPI (for Kerberos V5). Typically a SASL negotiation works as follows. First the client requests authentication (possibly implicitly by connecting to the server). The server responds with a list of supported mechanisms. The client chose one of the mechanisms. The client and server then exchange data, one round-trip at a time, until authentication either succeeds or fails. After that, the client and server knows more about who is on the other end of the channel. For example, in SMTP communication happens like this: @smallexample 250-mail.example.com Hello pc.example.org [192.168.1.42], pleased to meet you 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN 250 HELP AUTH CRAM-MD5 334 PDk5MDgwNDEzMDUwNTUyMTE1NDQ5LjBAbG9jYWxob3N0Pg== amFzIDBkZDRkODZkMDVjNjI4ODRkYzc3OTcwODE4ZGI5MGY3 235 2.0.0 OK Authenticated @end smallexample Here the first three lines are sent by the server and contains the list of supported mechanisms (DIGEST-MD5, CRAM-MD5, etc). The next line is sent by the client to select the CRAM-MD5 mechanism. The server replies with a challenge, which is a message that can be generated by calling GNU SASL functions. The client replies with a response, which also is a message that can be generated by GNU SASL functions. Depending on the mechanism, there can be more than one round trip, so do not assume all authentication exchanges consists of one message from the server and one from the client. The server accepts the authentication. At that point it knows it is talking to a authenticated client, and the application protocol can continue. Essentially, your application is responsible for implementing the framing protocol (e.g., SMTP or XMPP) according to the particular specifications. Your application uses GNU SASL to generate the authentication messages. @node Implementation @section Implementation GNU SASL is an implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms. GNU SASL consists of a library (@code{libgsasl}), a command line utility (@code{gsasl}) to access the library from the shell, and a manual. The library includes support for the framework (with authentication functions and application data privacy and integrity functions) and at least partial support for the ANONYMOUS, CRAM-MD5, DIGEST-MD5, EXTERNAL, GS2-KRB5, GSSAPI, LOGIN, NTLM, PLAIN, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, SAML20, OPENID20, and SECURID mechanisms. The library is easily ported because it does not do network communication by itself, but rather leaves it up to the calling application. The library is flexible with regards to the authorization infrastructure used, as it utilizes a callback into the application to decide whether a user is authorized or not. GNU SASL is developed for the GNU/Linux system, but runs on over 20 platforms including most major Unix platforms and Windows, and many kind of devices including iPAQ handhelds and S/390 mainframes. GNU SASL is written in pure ANSI C89 to be portable to embedded and otherwise limited platforms. The entire library, with full support for ANONYMOUS, EXTERNAL, PLAIN, LOGIN and CRAM-MD5, and the front-end that supports client and server mode, and the IMAP and SMTP protocols, fits in under 80kb on an Intel x86 platform, without any modifications to the code. (This figure was accurate as of version 1.1.) The design of the library and the intended interaction between applications and the library through the official API is illustrated below. @float Illustration,fig:abstraction @image{abstraction,10cm,5cm} @caption{Logical overview showing how applications use authentication mechanisms through an abstract interface.} @end float @node Features @section Features GNU SASL might have a couple of advantages over other libraries doing a similar job. @table @asis @item It's Free Software Anybody can use, modify, and redistribute it under the terms of the GNU General Public License version 3.0 or later. The library uses the GNU Lesser General Public License version 2.1 or later. @item It's thread-safe No global variables are used and multiple library handles and session handles may be used in parallel. @item It's internationalized It handles non-ASCII usernames and passwords and user visible strings used in the library (error messages) can be translated into the users' language. @item It's portable It should work on all Unix like operating systems, including Windows. The library itself should be portable to any C89 system, not even POSIX is required. @item It's small The library has been rewritten with embedded platforms in mind. For example, no API consumes more than around 250 bytes of stack space. @end table Note that the library does not implement any policy to decide whether a certain user is ``authenticated'' or ``authorized'' or not. Rather, it uses a callback into the application to answer these questions. @node Requirements @section Requirements The GNU SASL library does not have any required external dependencies, but some optional features are enabled if you have a specific external library. @table @asis @item LibNTLM The NTLM mechanism requires the library LibNTLM, @url{http://www.nongnu.org/libntlm/}. @item GSS-API The GSSAPI and GS2-KRB5 mechanisms requires a GSS-API library, see GNU GSS (@url{http://www.gnu.org/software/gss/}). MIT Kerberos or Heimdal are also supported. @item LibIDN Processing of non-ASCII usernames and passwords requires the SASLprep implementation in LibIDN (@url{http://www.gnu.org/software/libidn/}). This is needed for full conformance with the latest SASL protocol drafts, but is optional in the library for improved portability. @item Libgcrypt The GNU SASL library ships with its own cryptographic implementation, but it can use the one in libgcrypt (@url{http://www.gnupg.org/}) instead, if it is available. This is typically useful for desktop machines which have libgcrypt installed. @end table The command-line interface to GNU SASL requires a POSIX or Windows platform for network connectivity. The command-line tool can make use of GnuTLS (@url{http://www.gnutls.org/}) to support the STARTTLS modes of IMAP and SMTP, but GnuTLS is not required. Note that the library does not need a POSIX platform or network connectivity. @node Supported Platforms @section Supported Platforms GNU SASL has at some point in time been tested on the following platforms. Daily online build reports are available at @url{http://autobuild.josefsson.org/gsasl/}. @enumerate @item Debian GNU/Linux 3.0 (Woody) @cindex Debian GCC 2.95.4 and GNU Make. This is the main development platform. @code{alphaev67-unknown-linux-gnu}, @code{alphaev6-unknown-linux-gnu}, @code{arm-unknown-linux-gnu}, @code{hppa-unknown-linux-gnu}, @code{hppa64-unknown-linux-gnu}, @code{i686-pc-linux-gnu}, @code{ia64-unknown-linux-gnu}, @code{m68k-unknown-linux-gnu}, @code{mips-unknown-linux-gnu}, @code{mipsel-unknown-linux-gnu}, @code{powerpc-unknown-linux-gnu}, @code{s390-ibm-linux-gnu}, @code{sparc-unknown-linux-gnu}. @item Debian GNU/Linux 2.1 @cindex Debian GCC 2.95.1 and GNU Make. @code{armv4l-unknown-linux-gnu}. @item Tru64 UNIX @cindex Tru64 Tru64 UNIX C compiler and Tru64 Make. @code{alphaev67-dec-osf5.1}, @code{alphaev68-dec-osf5.1}. @item SuSE Linux 7.1 @cindex SuSE GCC 2.96 and GNU Make. @code{alphaev6-unknown-linux-gnu}, @code{alphaev67-unknown-linux-gnu}. @item SuSE Linux 7.2a @cindex SuSE Linux GCC 3.0 and GNU Make. @code{ia64-unknown-linux-gnu}. @item RedHat Linux 7.2 @cindex RedHat GCC 2.96 and GNU Make. @code{alphaev6-unknown-linux-gnu}, @code{alphaev67-unknown-linux-gnu}, @code{ia64-unknown-linux-gnu}. @item RedHat Linux 8.0 @cindex RedHat GCC 3.2 and GNU Make. @code{i686-pc-linux-gnu}. @item RedHat Advanced Server 2.1 @cindex RedHat Advanced Server GCC 2.96 and GNU Make. @code{i686-pc-linux-gnu}. @item Slackware Linux 8.0.01 @cindex RedHat GCC 2.95.3 and GNU Make. @code{i686-pc-linux-gnu}. @item Mandrake Linux 9.0 @cindex Mandrake GCC 3.2 and GNU Make. @code{i686-pc-linux-gnu}. @item IRIX 6.5 @cindex IRIX MIPS C compiler, IRIX Make. @code{mips-sgi-irix6.5}. @item AIX 4.3.2 @cindex AIX IBM C for AIX compiler, AIX Make. @code{rs6000-ibm-aix4.3.2.0}. @item Microsoft Windows 2000 (Cygwin) @cindex Windows GCC 3.2, GNU make. @code{i686-pc-cygwin}. @item HP-UX 11 @cindex HP-UX HP-UX C compiler and HP Make. @code{ia64-hp-hpux11.22}, @code{hppa2.0w-hp-hpux11.11}. @item SUN Solaris 2.8 @cindex Solaris Sun WorkShop Compiler C 6.0 and SUN Make. @code{sparc-sun-solaris2.8}. @item SUN Solaris 2.9 @cindex Solaris Sun Forte Developer 7 C compiler and GNU Make. @code{sparc-sun-solaris2.9}. @item NetBSD 1.6 @cindex NetBSD GCC 2.95.3 and GNU Make. @code{alpha-unknown-netbsd1.6}, @code{i386-unknown-netbsdelf1.6}. @item OpenBSD 3.1 and 3.2 @cindex OpenBSD GCC 2.95.3 and GNU Make. @code{alpha-unknown-openbsd3.1}, @code{i386-unknown-openbsd3.1}. @item FreeBSD 4.7 @cindex FreeBSD GCC 2.95.4 and GNU Make. @code{alpha-unknown-freebsd4.7}, @code{i386-unknown-freebsd4.7}. @item Cross compiled to uClinux/uClibc on Motorola Coldfire. @cindex Motorola Coldfire @cindex uClinux @cindex uClibc GCC 3.4 and GNU Make @code{m68k-uclinux-elf}. @end enumerate If you port GNU SASL to a new platform, please report it to the author so this list can be updated. @node Getting help @section Getting help A mailing list where users may help each other exists, and you can reach it by sending e-mail to @email{help-gsasl@@gnu.org}. Archives of the mailing list discussions, and an interface to manage subscriptions, is available through the World Wide Web at @url{http://lists.gnu.org/mailman/listinfo/help-gsasl/}. @node Commercial Support @section Commercial Support Commercial support is available for users of GNU SASL. The kind of support that can be purchased may include: @itemize @item Implement new features. Such as a new SASL mechanism. @item Port GNU SASL to new platforms. This could include porting to an embedded platforms that may need memory or size optimization. @item Integrating SASL as a security environment in your existing project. @item System design of components related to SASL. @end itemize If you are interested, please write to: @verbatim Simon Josefsson Datakonsult AB Hagagatan 24 113 47 Stockholm Sweden E-mail: simon@josefsson.org @end verbatim If your company provides support related to GNU SASL and would like to be mentioned here, contact the author (@pxref{Bug Reports}). @node Downloading and Installing @section Downloading and Installing @cindex Installation @cindex Download The package can be downloaded from several places, including: @url{ftp://ftp.gnu.org/gnu/gsasl/} The latest version is stored in a file, e.g., @samp{gsasl-@value{VERSION}.tar.gz} where the @samp{@value{VERSION}} value is the highest version number in the directory. The package is then extracted, configured and built like many other packages that use Autoconf. For detailed information on configuring and building it, refer to the @file{INSTALL} file that is part of the distribution archive. Here is an example terminal session that downloads, configures, builds and install the package. You will need a few basic tools, such as @samp{sh}, @samp{make} and @samp{cc}. @example $ wget -q ftp://ftp.gnu.org/gnu/gsasl/gsasl-@value{VERSION}.tar.gz $ tar xfz gsasl-@value{VERSION}.tar.gz $ cd gsasl-@value{VERSION}/ $ ./configure ... $ make ... $ make install ... @end example After that gsasl should be properly installed and ready for use. A few @code{configure} options may be relevant, summarized in the table. @table @code @item --disable-client @itemx --disable-server If your target system require a minimal implementation, you may wish to disable the client or the server part of the code. This does not remove symbols from the library, so if you attempt to call an application that uses server functions in a library built with @code{--disable-server}, the function will return an error code. @item --disable-obsolete Remove backwards compatibility (@pxref{Old Functions}). Use if you want to limit the size of the library. @item --disable-anonymous @itemx --disable-external @itemx --disable-plain @itemx --disable-login @itemx --disable-securid @itemx --disable-ntlm @itemx --disable-cram-md5 @itemx --disable-digest-md5 @itemx --disable-gssapi @itemx --disable-gs2 @itemx --enable-kerberos_v5 @itemx --disable-scram-sha1 @itemx --disable-saml20 @itemx --disable-openid20 Disable or enable individual mechanisms (@pxref{Mechanisms}). @item --without-stringprep Disable internationalized string processing. Note that this will result in a SASL library that is compatible with RFC 2222 but not RFC 4422. @end table For the complete list, refer to the output from @code{configure --help}. @menu * Installing under Windows:: Windows specific build instructions. * Kerberos on Windows:: Building with Kerberos via GSS-API on Windows. @end menu @node Installing under Windows @subsection Installing under Windows There are two ways to build GNU SASL on Windows: via MinGW or via Microsoft Visual Studio. Note that a binary release for Windows is available from @url{http://josefsson.org/gnutls4win/}. With MinGW, you can build a GNU SASL DLL and use it from other applications. After installing MinGW (@url{http://mingw.org/}) follow the generic installation instructions (@pxref{Downloading and Installing}). The DLL is installed by default. For information on how to use the DLL in other applications, see: @url{http://www.mingw.org/mingwfaq.shtml#faq-msvcdll}. You can build GNU SASL as a native Visual Studio C++ project. This allows you to build the code for other platforms that VS supports, such as Windows Mobile. You need Visual Studio 2005 or later. First download and unpack the archive as described in the generic installation instructions (@pxref{Downloading and Installing}). Don't run @code{./configure}. Instead, start Visual Studio and open the project file @file{lib/win32/libgsasl.sln} inside the GNU SASL directory. You should be able to build the project using Build Project. Output libraries will be written into the @code{lib/win32/lib} (or @code{lib/win32/lib/debug} for Debug versions) folder. Warning! Unless you build GNU SASL linked with libgcrypt, GNU SASL uses the Windows function @code{CryptGenRandom} for generating cryptographic random data. The function is known to have some security weaknesses. See @url{http://eprint.iacr.org/2007/419} for more information. The code will attempt to use the Intel RND crypto provider if it is installed, see @file{lib/gl/gc-gnulib.c}. @node Kerberos on Windows @subsection Kerberos on Windows Building GNU SASL with support for Kerberos via GSS-API on Windows is straight forward if you use GNU GSS and GNU Shishi as the Kerberos implementation. If you are using MIT Kerberos for Windows (KfW), getting GNU SASL to build with Kerberos support is not straightforward because KfW does not follow the GNU coding style and it has bugs that needs to be worked around. We provide instructions for this environment as well, in the hope that it will be useful for GNU SASL users. Our instructions assumes you are building the software on a dpkg-based GNU/Linux systems (e.g., gNewSense) using the MinGW cross-compiler suite. These instructions were compiled for KfW version 3.2.2 which were the latest as of 2010-09-25. We assume that you have installed a normal build environment including the MinGW cross-compiler. Download and unpack the KfW SDK like this: @example $ mkdir ~/kfw $ cd ~/kfw $ wget -q http://web.mit.edu/kerberos/dist/kfw/3.2/kfw-3.2.2/kfw-3-2-2-sdk.zip $ unzip kfw-3-2-2-sdk.zip @end example Fix a bug in the "win-mac.h" header inside KfW by replacing @code{#include } with @code{#include }: @example perl -pi -e 's,sys\\,sys/,' ~/kfw/kfw-3-2-2-final/inc/krb5/win-mac.h @end example Unpack your copy of GNU SASL: @example $ wget -q ftp://alpha.gnu.org/gnu/gsasl/gsasl-@value{VERSION}.tar.gz $ tar xfz gsasl-@value{VERSION}.tar.gz $ cd gsasl-@value{VERSION} @end example Configure GNU SASL like this: @example $ lt_cv_deplibs_check_method=pass_all ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu --with-gssapi-impl=kfw LDFLAGS="-L$HOME/kfw/kfw-3-2-2-final/lib/i386" CPPFLAGS="-I$HOME/kfw/kfw-3-2-2-final/inc/krb5 -DSSIZE_T_DEFINED" @end example The 'lt_cv_deplibs_check_method=pass_all' setting is required because the KfW SDK does not ship with Libtool @code{*.la} files and is using non-standard DLL names. The @code{-DSSIZE_T_DEFINED} is necessary because the @code{win-mac.h} file would provide an incorrect duplicate definitions of @code{ssize_t} otherwise. By passing @code{--with-gssapi-impl=kfw} you activate other bug workarounds, such as providing a @code{GSS_C_NT_HOSTBASED_SERVICE} symbol. Build the software using: @example $ make @end example If you have Wine installed and your kernel is able to invoke it automatically for Windows programs, you can run the self tests. This is recommended to make sure the build is sane. @example $ make check @end example You may get error messages about missing DLLs, like this error: @example err:module:import_dll Library gssapi32.dll (which is needed by L"Z:\\home\\jas\\src\\gsasl-1.5.2\\lib\\src\\.libs\\libgsasl-7.dll") not found @end example If that happens, you need to make sure that Wine can find the appropriate DLL. The simplest solution is to copy the necessary DLLs to @code{~/.wine/drive_c/windows/system32/}. You may now copy the following files onto the Windows machine (e.g., through a USB memory device): @example lib/src/.libs/libgsasl-7.dll src/.libs/gsasl.exe @end example The remaining steps are done on the Windows XP machine. Install KfW and configure it for your realm. To make sure KfW is working properly, acquire a user ticket and then remove it. For testing purposes, you may use the realm 'interop.josefsson.org' with KDC 'interop.josefsson.org' and username 'user' and password 'pass'. Change to the directory where you placed the files above, and invoke a command like this: @example gsasl.exe -d interop.josefsson.org @end example KfW should query you for a password, and the tool should negotiate authentication against the server using GS2-KRB5. @node Bug Reports @section Bug Reports @cindex Reporting Bugs If you think you have found a bug in GNU SASL, please investigate it and report it. @itemize @bullet @item Please make sure that the bug is really in GNU SASL, and preferably also check that it hasn't already been fixed in the latest version. @item You have to send us a test case that makes it possible for us to reproduce the bug. @item You also have to explain what is wrong; if you get a crash, or if the results printed are not good and in that case, in what way. Make sure that the bug report includes all information you would need to fix this kind of bug for someone else. @end itemize Please make an effort to produce a self-contained report, with something definite that can be tested or debugged. Vague queries or piecemeal messages are difficult to act on and don't help the development effort. If your bug report is good, we will do our best to help you to get a corrected version of the software; if the bug report is poor, we won't do anything about it (apart from asking you to send better bug reports). If you think something in this manual is unclear, or downright incorrect, or if the language needs to be improved, please also send a note. Send your bug report to: @center @samp{bug-gsasl@@gnu.org} @node Contributing @section Contributing @cindex Contributing @cindex Hacking If you want to submit a patch for inclusion -- from solve a typo you discovered, up to adding support for a new feature -- you should submit it as a bug report (@pxref{Bug Reports}). There are some things that you can do to increase the chances for it to be included in the official package. Unless your patch is very small (say, under 10 lines) we require that you assign the copyright of your work to the Free Software Foundation. This is to protect the freedom of the project. If you have not already signed papers, we will send you the necessary information when you submit your contribution. For contributions that doesn't consist of actual programming code, the only guidelines are common sense. Use it. For code contributions, a number of style guides will help you: @itemize @bullet @item Coding Style. Follow the GNU Standards document (@pxref{top, GNU Coding Standards,, standards}). If you normally code using another coding standard, there is no problem, but you should use @samp{indent} to reformat the code (@pxref{top, GNU Indent,, indent}) before submitting your work. @item Use the unified diff format @samp{diff -u}. @item Return errors. No reason whatsoever should abort the execution of the library. Even memory allocation errors, e.g. when @code{malloc} return @code{NULL}, should work although result in an error code. @item Design with thread safety in mind. Don't use global variables. Don't even write to per-handle global variables unless the documented behaviour of the function you write is to write to the per-handle global variable. @item Avoid using the C math library. It causes problems for embedded implementations, and in most situations it is very easy to avoid using it. @item Document your functions. Use comments before each function headers, that, if properly formatted, are extracted into Texinfo manuals and GTK-DOC web pages. @item Supply a ChangeLog and NEWS entries, where appropriate. @end itemize @c ********************************************************** @c ******************* Preparation ************************ @c ********************************************************** @node Preparation @chapter Preparation To use GNU SASL, you have to perform some changes to your sources and the build system. The necessary changes are small and explained in the following sections. At the end of this chapter, it is described how the library is initialized, and how the requirements of the library are verified. A faster way to find out how to adapt your application for use with GNU SASL may be to look at the examples at the end of this manual (@pxref{Examples}). @menu * Header:: * Initialization:: * Version Check:: * Building the source:: * Autoconf tests:: @end menu @node Header @section Header All interfaces (data types and functions) of the library are defined in the header file @code{gsasl.h}. You must include this in all programs using the library, either directly or through some other header file, like this: @example #include @end example The name space is @code{gsasl_*} for function names, @code{Gsasl*} for data types and @code{GSASL_*} for other symbols. In addition the same name prefixes with one prepended underscore are reserved for internal use and should never be used by an application. @node Initialization @section Initialization The library must be initialized before it can be used. The library is initialized by calling @code{gsasl_init} (@pxref{Global Functions}). The resources allocated by the initialization process can be released if the application no longer has a need to call `Libgsasl' functions, this is done by calling @code{gsasl_done}. For example: @example int main (int argc, char *argv[]) @{ Gsasl *ctx = NULL; int rc; ... rc = gsasl_init (&ctx); if (rc != GSASL_OK) @{ printf ("SASL initialization failure (%d): %s\n", rc, gsasl_strerror (rc)); return 1; @} ... @end example In order to make error messages from @code{gsasl_strerror} be translated (@pxref{Top,,,gettext,GNU Gettext}) the application must set the current locale using @code{setlocale} before calling @code{gsasl_init}. For example: @example int main (int argc, char *argv[]) @{ Gsasl *ctx = NULL; int rc; ... setlocale (LC_ALL, ""); ... rc = gsasl_init (&ctx); if (rc != GSASL_OK) @{ printf (gettext ("SASL initialization failure (%d): %s\n"), rc, gsasl_strerror (rc)); return 1; @} ... @end example In order to take advantage of the secure memory features in Libgcrypt@footnote{Note that GNU SASL normally use its own internal implementation of the cryptographic functions. Take care to verify that GNU SASL really use Libgcrypt, if this is what you want.}, you need to initialize secure memory in your application, and for some platforms even make your application setuid root. See the Libgcrypt documentation for more information. Here is example code to initialize secure memory in your code: @example #include ... int main (int argc, char *argv[]) @{ Gsasl *ctx = NULL; int rc; ... /* Check version of libgcrypt. */ if (!gcry_check_version (GCRYPT_VERSION)) die ("version mismatch\n"); /* Allocate a pool of 16k secure memory. This also drops priviliges on some systems. */ gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0); /* Tell Libgcrypt that initialization has completed. */ gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); ... rc = gsasl_init (&ctx); if (rc != GSASL_OK) @{ printf ("SASL initialization failure (%d): %s\n", rc, gsasl_strerror (rc)); return 1; @} ... @end example If you do not do this, keying material will not be allocated in secure memory (which, for most applications, is not the biggest secure problem anyway). Note that the GNU SASL Library has not been audited to make sure it stores passwords or keys in secure memory. @node Version Check @section Version Check It is often desirable to check that the version of the library used is indeed one which fits all requirements. Even with binary compatibility, new features may have been introduced but, due to problem with the dynamic linker, an old version may actually be used. So you may want to check that the version is okay right after program startup. @include texi/gsasl_check_version.texi The normal way to use the function is to put something similar to the following early in your @code{main}: @example if (!gsasl_check_version (GSASL_VERSION)) @{ printf ("gsasl_check_version failed:\n" "Header file incompatible with shared library.\n"); exit(1); @} @end example @node Building the source @section Building the source @cindex Compiling your application If you want to compile a source file including the @file{gsasl.h} header file, you must make sure that the compiler can find it in the directory hierarchy. This is accomplished by adding the path to the directory in which the header file is located to the compilers include file search path (via the @option{-I} option). However, the path to the include file is determined at the time the source is configured. To solve this problem, the library uses the external package @command{pkg-config} that knows the path to the include file and other configuration options. The options that need to be added to the compiler invocation at compile time are output by the @option{--cflags} option to @command{pkg-config libgsasl}. The following example shows how it can be used at the command line: @example gcc -c foo.c `pkg-config libgsasl --cflags` @end example Adding the output of @samp{pkg-config libgsasl --cflags} to the compiler command line will ensure that the compiler can find the @file{gsasl.h} header file. A similar problem occurs when linking the program with the library. Again, the compiler has to find the library files. For this to work, the path to the library files has to be added to the library search path (via the @option{-L} option). For this, the option @option{--libs} to @command{pkg-config libgsasl} can be used. For convenience, this option also outputs all other options that are required to link the program with the library (for instance, the @samp{-lidn} option). The example shows how to link @file{foo.o} with the library to a program @command{foo}. @example gcc -o foo foo.o `pkg-config libgsasl --libs` @end example Of course you can also combine both examples to a single command by specifying both options to @command{pkg-config}: @example gcc -o foo foo.c `pkg-config libgsasl --cflags --libs` @end example @node Autoconf tests @section Autoconf tests @cindex Autoconf tests @cindex Configure tests If you work on a project that uses Autoconf (@pxref{top, GNU Autoconf,, autoconf}) to help find installed libraries, the suggestions in the previous section are not the entire story. There are a few methods to detect and incorporate the GNU SASL Library into your Autoconf based package. The preferred approach, is to use Libtool in your project, and use the normal Autoconf header file and library tests. @subsection Autoconf test via @samp{pkg-config} If your audience is a typical GNU/Linux desktop, you can often assume they have the @samp{pkg-config} tool installed, in which you can use its Autoconf M4 macro to find and set up your package for use with Libgsasl. The following example illustrates this scenario. @example AC_ARG_ENABLE(gsasl, AC_HELP_STRING([--disable-gsasl], [don't use GNU SASL]), gsasl=$enableval) if test "$gsasl" != "no" ; then PKG_CHECK_MODULES(GSASL, libgsasl >= @value{VERSION}, [gsasl=yes], [gsasl=no]) if test "$gsasl" != "yes" ; then gsasl=no AC_MSG_WARN([Cannot find GNU SASL, disabling]) else gsasl=yes AC_DEFINE(USE_GSASL, 1, [Define to 1 if you want GNU SASL.]) fi fi AC_MSG_CHECKING([if GNU SASL should be used]) AC_MSG_RESULT($gsasl) @end example @subsection Standalone Autoconf test using Libtool If your package uses Libtool (@pxref{top, GNU Libtool,, libtool}), you can use the normal Autoconf tests to find Libgsasl and rely on the Libtool dependency tracking to include the proper dependency libraries (e.g., Libidn). The following example illustrates this scenario. @example AC_CHECK_HEADER(gsasl.h, AC_CHECK_LIB(gsasl, gsasl_check_version, [gsasl=yes AC_SUBST(GSASL_LIBS, -lgsasl)], gsasl=no), gsasl=no) AC_ARG_ENABLE(gsasl, AC_HELP_STRING([--disable-gsasl], [don't use GNU SASL]), gsasl=$enableval) if test "$gsasl" != "no" ; then AC_DEFINE(USE_SASL, 1, [Define to 1 if you want GNU SASL.]) else AC_MSG_WARN([Cannot find GNU SASL, diabling]) fi AC_MSG_CHECKING([if GNU SASL should be used]) AC_MSG_RESULT($gsasl) @end example @c ********************************************************** @c ***************** Using the Library ******************** @c ********************************************************** @node Using the Library @chapter Using the Library @cindex Overview @cindex Library Overview Your application's use of the library can be roughly modeled into the following steps: initialize the library, optionally specify the callback, perform the authentication, and finally clean up. The following image illustrates this. @image{controlflow,15cm,5cm} The third step may look complex, but for a simple client it will actually not involve any code. If your application needs to handle several concurrent clients, or if it is a server that needs to serve many clients simultaneous, things do get a bit more complicated. For illustration, we will write a simple client. Writing a server would be similar, the only difference is that, later on, instead of supplying a username and password, you need to decide whether someone should be allowed to log in or not. The code for what we have discussed so far make up the @code{main} function in our client (@pxref{Example 1}): @example int main (int argc, char *argv[]) @{ Gsasl *ctx = NULL; int rc; if ((rc = gsasl_init (&ctx)) != GSASL_OK) @{ printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; @} client (ctx); gsasl_done (ctx); return 0; @} @end example Here, the call to the function @code{client} correspond to the third step in the image above. For a more complicated application, having several clients running simultaneous, instead of a simple call to @code{client}, it may have created new threads for each session, and call @code{client} within each thread. The library is thread safe. An actual authentication session is more complicated than what we have seen so far. These are the steps: decide which mechanism to use, start the session, optionally specify the callback, optionally set any properties, perform the authentication loop, and clean up. Naturally, your application will start to talk its own protocol (e.g., SMTP or IMAP) after these steps have concluded. The authentication loop is based on sending tokens (typically short messages encoded in base 64) back and forth between the client and server. It continues until authentication succeeds or an error occurs. The format of the data to be transferred, the number of iterations in the loop, and other details are specified by each mechanism. The goal of the library is to isolate your application from the details of all different mechanisms. Note that the library does not send data to the server itself, but returns it in an buffer. You must send it to the server, following an application protocol profile. For example, the SASL application protocol profile for SMTP is described in RFC 2554. The following image illustrates the steps we have been talking about. @image{controlflow2,16cm,12cm} We will now show the implementation of the @code{client} function used before. @example void client (Gsasl *ctx) @{ Gsasl_session *session; const char *mech = "PLAIN"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) @{ printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; @} /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); @} @end example This function is responsible for deciding which mechanism to use. In this case, the @samp{PLAIN} mechanism is hard coded, but you will see later how this can be made more flexible. The function creates a new session, then it stores the username and password in the session handle, then it calls another function @code{client_authenticate} to handle the authentication loop, and finally it cleans up up. Let's continue with the implementation of @code{client_authenticate}. @example void client_authenticate (Gsasl_session * session) @{ char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server sends data first. */ do @{ printf ("Input base64 encoded data from server:\n"); fgets (buf, sizeof (buf) - 1, stdin); if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) @{ printf ("Output:\n%s\n", p); free (p); @} @} while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) @{ printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; @} /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); @} @end example This last function needs to be discussed in some detail. First, you should be aware that there are two versions of this function, that differ in a subtle way. The version above (@pxref{Example 2}) is used for application profiles where the server sends data first. For some mechanisms, this may waste a roundtrip, because the server needs input from the client to proceed. Therefor, today the recommended approach is to permit client to send data first (@pxref{Example 1}). Which version you should use depends on which application protocol you are implementing. Further, you should realize that it is bad programming style to use a fixed size buffer. On GNU systems, you may use the @code{getline} functions instead of @code{fgets}. However, in practice, there are few mechanisms that use very large tokens. In typical configurations, the mechanism with the largest tokens (GSSAPI) can use at least 500 bytes. A fixed buffer size of 8192 bytes may thus be sufficient for now. But don't say I didn't warn you, when a future mechanism doesn't work in your application, because of a fixed size buffer. The function @code{gsasl_step64} (and of course also @code{gasl_step}) returns two non-error return codes. @code{GSASL_OK} is used for success, indicating that the library considers the authentication finished. That may include a successful server authentication, depending on the mechanism. You must not let the client continue to the application protocol part unless you receive @code{GSASL_OK} from these functions. In particular, don't be fooled into believing authentication were successful if the server replies ``OK'' but these functions have failed with an error. The server may have been hacked, and could be tricking you into sending confidential data, without having successfully authenticated the server. The non-error return code @code{GSASL_NEEDS_MORE} is used to signal to your application that you should send the output token to the peer, and wait for a new token, and do another iteration. If the server concludes the authentication process, with no data, you should call @code{gsasl_step64} (or @code{gsasl_step}) specifying a zero-length token. If the functions (@code{gsasl_step} and @code{gsasl_step64}) return any non-error code, the content of the output buffer is undefined. Otherwise, it is the callers responsibility to deallocate the buffer, by calling @code{free}. Note that in some situations, where the buffer is empty, @code{NULL} is returned as the buffer value. You should treat this as an empty buffer. @section Choosing a mechanism Our earlier code was hard coded to use a specific mechanism. This is rarely a good idea. Instead, it is recommended to select the best mechanism available from the list of mechanisms supported by the server. Note that without TLS or similar, the list may have been maliciously altered, by an attacker. This means that you should abort if you cannot find any mechanism that exceeds your minimum security level. There is a function @code{gsasl_client_suggest_mechanism} (@pxref{Global Functions}) that will try to pick the ``best'' available mechanism from a list of mechanisms. Our simple interactive example client (@pxref{Example 3}) includes the following function to decide which mechanism to use. Note that the code doesn't blindly use what is returned from @code{gsasl_client_suggest_mechanism}, rather it lets some logic (in this case the user, through an interactive query) decide which mechanism is acceptable. @example const char *client_mechanism (Gsasl *ctx) @{ static char mech[GSASL_MAX_MECHANISM_SIZE + 1] = ""; char mechlist[BUFSIZ] = ""; const char *suggestion; printf ("Enter list of server supported mechanisms, separate by SPC:\n"); fgets (mechlist, sizeof (mechlist) - 1, stdin); suggestion = gsasl_client_suggest_mechanism (ctx, mechlist); if (suggestion) printf ("Library suggests use of `%s'.\n", suggestion); printf ("Enter mechanism to use:\n"); fgets (mech, sizeof (mech) - 1, stdin); mech[strlen (mech) - 1] = '\0'; return mech; @} @end example When running this example code, it might look like in the following output. @example Enter list server supported mechanisms, separate by SPC: CRAM-MD5 DIGEST-MD5 GSSAPI FOO BAR Library suggests use of `GSSAPI'. Enter mechanism to use: CRAM-MD5 Input base64 encoded data from server: Zm5vcmQ= Output: amFzIDkyY2U1NWE5MTM2ZTY4NzEyMTUyZTFjYmFmNjVkZjgx If server accepted us, we're done. @end example @section Using a callback Our earlier code specified the username and password before the authentication loop, as in: @example gsasl_property_set (ctx, GSASL_AUTHID, "jas"); gsasl_property_set (ctx, GSASL_PASSWORD, "secret"); @end example This may work for simple mechanisms, that need only a username and a password. But some mechanism requires more information, such as an authorization identity, a special PIN or passcode, a realm, a hostname, a service name, or an anonymous identifier. Querying the user for all that information, without knowing exactly which of it is really needed will result in a poor user interface. The user should not have to input private information, if it isn't required. The approach is a bad idea for another reason. What if the server aborts the authentication process? Then your application has already queried the user for a username and password. It would be better if you only asked the user for this information, annoying to input, when it is known to be needed. A better approach to this problem is to use a callback. Then the mechanism may query your application whenever it needs some information, like the username and password. It will only do this at the precise step in the authentication when the information is actually needed. Further, if the user aborts, e.g., a password prompt, the mechanism is directly informed of this (because it invoked the callback), and could recover somehow. Our final example (@pxref{Example 4}) specifies a callback function, inside @code{main} as below. @example /* Set the callback handler for the library. */ gsasl_callback_set (ctx, callback); @end example The function itself is implemented as follows. @example int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) @{ char buf[BUFSIZ] = ""; int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ printf ("Callback invoked, for property %d.\n", prop); switch (prop) @{ case GSASL_PASSCODE: printf ("Enter passcode:\n"); fgets (buf, sizeof (buf) - 1, stdin); buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_PASSCODE, buf); rc = GSASL_OK; break; case GSASL_AUTHID: printf ("Enter username:\n"); fgets (buf, sizeof (buf) - 1, stdin); buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_AUTHID, buf); rc = GSASL_OK; break; default: printf ("Unknown property! Don't worry.\n"); break; @} return rc; @} @end example Again, it is bad style to use a fixed size buffer. Mmm'kay. Which properties you should handle is up to you. If you don't know how to respond to a certain property, simply return @code{GSASL_NO_CALLBACK}. The basic properties to support are authentication identity (@code{GSASL_AUTHID}), authorization identity (@code{GSASL_AUTHZID}), and password (@code{GSASL_PASSWORD}). @xref{Properties}, for the list of all properties, and what your callback should (ideally) do for them, and which properties each mechanism require in order to work. @c ********************************************************** @c ******************* Properties ************************* @c ********************************************************** @node Properties @chapter Properties The library uses a concept called ``properties'' to request and pass data between the application and the individual authentication mechanisms. The application can set property values using the @code{gsasl_property_set} function. If a mechanism needs a property value the application has not yet provided, this is handled through a callback. The application provides a callback, using @code{gsasl_callback_set}, which will be invoked with a property parameter. The callback should set the property before returning, or fail. @xref{Callback Functions}, for more information. There are two kind of properties. The first, a ``data property'' is the simplest to understand because it normally refers to short strings. For example, the property called @code{GSASL_AUTHID} correspond to the username string, e.g., @code{simon}. The latter properties, called ``logical properties'', are used by the server to make a authentication decision, and is used as a way to get the application callback invoked. For example, the property @code{GSASL_VALIDATE_SIMPLE} is used by the server-side part of mechanisms like @code{PLAIN}. The purpose is to ask the server application to decide whether the user should be authenticated successfully or not. The callback typically look at other property fields, such as @code{GSASL_AUTHID} and @code{GSASL_PASSWORD}, and compare those values with external information (for example data stored in a database or on a LDAP server) and then return OK or not. @quotation Warning Don't expect that all mechanisms invoke one of the logical properties in the server mode. For example, the CRAM-MD5 and SCRAM-SHA-1 mechanisms will use the data properties (i.e., username and password) provided by the application to internally decide whether to successfully authenticate the user. User authorization decisions needs to be made by the application outside of the SASL mechanism negotiation. @end quotation The logical properties are currently only used by servers, but data properties are used by both client and servers. It makes sense to think about the latter category as @samp{server properties} but the reverse is not valid nor useful. The semantics associated with a data property is different when it is used in client context and in the server context. For example, in the client context, the application is expected to set the property @code{GSASL_AUTHID} to signal to the mechanism the username to use, but in the server context, the @code{GSASL_AUTHID} property is set by the mechanism and can be used by the application (in the callback) to find out what username the client provided. Below is a list of all properties and an explanation for each. First is the list of data properties: @itemize @item @code{GSASL_AUTHID} The authentication identity. @item @code{GSASL_AUTHZID} The authorization identity. @item @code{GSASL_PASSWORD} The password of the authentication identity. @item @code{GSASL_ANONYMOUS_TOKEN} The anonymous token. This is typically the email address of the user. @item @code{GSASL_SERVICE} The registered GSSAPI service name of the application service, e.g. ``imap''. While the names are registered for GSSAPI, other mechanisms such as DIGEST-MD5 may also use this. @item @code{GSASL_HOSTNAME} Should be the local host name of the machine. @item @code{GSASL_GSSAPI_DISPLAY_NAME} Contain the GSSAPI ``display name'', set by the server GSSAPI mechanism. Typically you retrieve this property in your callback, when invoked for @code{GSASL_VALIDATE_GSSAPI}. @item @code{GSASL_REALM} The name of the authentication domain. This is used by several mechanisms, including DIGEST-MD5, GSS-API, KERBEROS_V5 and NTLM. @item @code{GSASL_PASSCODE} The SecurID passcode. @item @code{GSASL_PIN} The SecurID personal identification number (PIN). @item @code{GSASL_SUGGESTED_PIN} A SecurID personal identification number (PIN) suggested by the server. @item @code{GSASL_DIGEST_MD5_HASHED_PASSWORD} For the DIGEST-MD5 mechanism, this is a hashed password. It is used in servers to avoid storing clear-text credentials. @item @code{GSASL_QOPS} The DIGEST-MD5 server query for this property to get the set of quality of protection (QOP) values to advertise. The property holds strings with comma separated keywords denoting the set of qops to use, for example @code{qop-auth, qop-int}. Valid keywords are @code{qop-auth}, @code{qop-int}, and @code{qop-conf}. @item @code{GSASL_QOP} The DIGEST-MD5 client query for this property to get the quality of protection (QOP) values to request. The property value is one of the keywords for @code{GSASL_QOPS}. The client must chose one of the QOP values offered by the server (which may be inspected through the @code{GSASL_QOPS} property). @item @code{GSASL_SCRAM_SALTED_PASSWORD} The SCRAM-SHA-1 client requests this property from the application, and the value should be 40 character long hex-encoded string with the user's hashed password. Note that the value is different for the same password for each value of the @code{GSASL_SCRAM_ITER} and @code{GSASL_SCRAM_ITER} properties. The property can be used to avoid storing a clear-text credential in the client. If the property is not available, the client will ask for the @code{GSASL_PASSWORD} property instead. @item @code{GSASL_SCRAM_ITER} @item @code{GSASL_SCRAM_ITER} @cindex iteration count @cindex salt In the server, the application can set these properties to influence the hash iteration count and hash salt to use when deriving the password. The default hash iteration count is 4096 and normally you should not need to use a lower setting. The salt should be a random string. In the client, the SCRAM-SHA-1 mechanism set these properties before asking for asking the application to provide a @code{GSASL_SCRAM_SALTED_PASSWORD} value. @item @code{GSASL_CB_TLS_UNIQUE} @cindex channel binding @cindex tls-unique This property holds base64 encoded @code{tls-unique} channel binding data. As a hint, if you use GnuTLS, the API @code{gnutls_session_channel_binding} can be used to extract channel bindings for a session. @item @code{GSASL_SAML20_IDP_IDENTIFIER} @cindex SAML IdP Identifier @cindex Identity Provider Identifier This property holds the SAML identifier of the user. The SAML20 mechanism in client mode will send it to the other end for identification purposes, and in server mode it will be accessible in the @code{GSASL_SAML20_REDIRECT_URL} callback. @item @code{GSASL_SAML20_REDIRECT_URL} This property holds the SAML redirect URL that the server wants the client to access. It will be available in the @code{GSASL_SAML20_AUTHENTICATE_IN_BROWSER} callback for the client. @item @code{GSASL_OPENID20_REDIRECT_URL} This property holds the SAML redirect URL that the server wants the client to access. It will be available in the @code{GSASL_OPENID20_AUTHENTICATE_IN_BROWSER} callback for the client. @item @code{GSASL_OPENID20_OUTCOME_DATA} OpenID 2.0 authentication outcome data. This is either the OpenID SREG values or a value list starting with @code{"openid.error="} to signal error. @end itemize Next follows a list of data properties used to trigger the callback, typically used in servers to validate client credentials: @itemize @item @code{GSASL_VALIDATE_SIMPLE} Used by multiple mechanisms in server mode. The callback may retrieve the @code{GSASL_AUTHID}, @code{GSASL_AUTHZID} and @code{GSASL_PASSWORD} property values and use them to make an authentication and authorization decision. @item @code{GSASL_VALIDATE_EXTERNAL} Used by EXTERNAL mechanism on the server side to validate the client. The GSASL_AUTHID will contain the authorization identity of the client. @item @code{GSASL_VALIDATE_ANONYMOUS} Used by ANONYMOUS mechanism on the server side to validate the client. The GSASL_ANONYMOUS_TOKEN will contain token that identity the client. @item @code{GSASL_VALIDATE_GSSAPI} Used by the GSSAPI and GS2-KRB5 mechanisms on the server side, to validate the client. You may retrieve the authorization identity from GSASL_AUTHZID and the GSS-API display name from GSASL_GSSAPI_DISPLAY_NAME. @item @code{GSASL_VALIDATE_SECURID} Used by SECURID mechanism on the server side to validate client. The GSASL_AUTHID, GSASL_AUTHZID, GSASL_PASSCODE, and GSASL_PIN will be set. It can return GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE to ask the client to supply another passcode, and GSASL_SECURID_SERVER_NEED_NEW_PIN to require the client to supply a new PIN code. @item @code{GSASL_VALIDATE_SAML20} Used by the SAML20 mechanism on the server side to request that the application perform authentication. The callback should return @code{GSASL_OK} if the user should be permitted access, and @code{GSASL_AUTHENTICATION_ERROR} (or another error code) otherwise. @item @code{GSASL_VALIDATE_OPENID20} Used by the OPENID20 mechanism on the server side to request that the application perform authentication. The callback should return @code{GSASL_OK} if the user should be permitted access, and @code{GSASL_AUTHENTICATION_ERROR} (or another error code) otherwise. @item @code{GSASL_SAML20_AUTHENTICATE_IN_BROWSER} Used by the SAML20 mechanism in the client side to request that the client should launch the SAML redirect URL (the @code{GSASL_SAML20_REDIRECT_URL} property) in a browser to continue with authentication. @item @code{GSASL_OPENID20_AUTHENTICATE_IN_BROWSER} Used by the OPENID20 mechanism in the client side to request that the client should launch the OpenID redirect URL (the @code{GSASL_OPENID20_REDIRECT_URL} property) in a browser to continue with authentication. @end itemize @c ********************************************************** @c ******************* Mechanisms ************************* @c ********************************************************** @node Mechanisms @chapter Mechanisms Different SASL mechanisms have different requirements on the application using it. To handle these differences the library can use a callback function into your application in several different ways. Some mechanisms, such as @samp{PLAIN}, are simple to explain and use. The client callback queries the user for a username and password. The server callback hands the username and password into any local policy deciding authentication system (such as @file{/etc/passwd} via PAM). Mechanism such as @samp{CRAM-MD5} and @samp{SCRAM-SHA-1} uses hashed passwords. The client callback behaviour is the same as for PLAIN. However, the server does not receive the plain text password over the network but rather a hash of it. Existing policy deciding systems like PAM cannot handle this, so the server callback for these mechanisms are more complicated. Further, mechanisms like GSSAPI/GS2-KRB5 (Kerberos 5) assume a specific authentication system. In theory this means that the SASL library would not need to interact with the application, but rather call this specific authentication system directly. However, some callbacks are supported anyway, to modify the behaviour of how the specific authentication system is used (i.e., to handle ``super-user'' login as some other user). Some mechanisms, like @samp{EXTERNAL} and @samp{ANONYMOUS} are entirely dependent on callbacks. @menu * EXTERNAL:: Authentication via out of band information. * ANONYMOUS:: Mechanism for anonymous access to resources. * PLAIN:: Clear text username and password. * LOGIN:: Non-standard clear text username and password. * CRAM-MD5:: Challenge-Response Authentication Mechanism. * DIGEST-MD5:: Digest Authentication. * SCRAM-SHA-1:: SCRAM-SHA-1 authentication. * NTLM:: Microsoft NTLM authentication. * SECURID:: Authentication using tokens. * GSSAPI:: GSSAPI (Kerberos 5) authentication. * GS2-KRB5:: Improved GSSAPI (Kerberos 5) authentication. * SAML20:: Authenticate using SAML 2.0 via a browser. * OPENID20:: Authenticate using OpenID 2.0 via a browser. * KERBEROS_V5:: Experimental KERBEROS_V5 authentication. @end menu @node EXTERNAL @section The EXTERNAL mechanism The EXTERNAL mechanism is used to authenticate a user to a server based on out-of-band authentication. EXTERNAL is typically used over TLS authenticated channels. Note that in the server, you need to make sure that TLS actually authenticated the client successfully and that the negotiated ciphersuite and other parameters are acceptable. It is generally not sufficient that TLS is used, since TLS supports anonymous and other variants that generally provide less assurance than you normally want. In the client, this mechanism is always enabled, and it will send the @code{GSASL_AUTHZID} property as the authorization name to the server, if the property is set. If the property is not set, an empty authorization name is sent. You need not implement a callback. In the server, this mechanism will request the @code{GSASL_VALIDATE_EXTERNAL} callback property to decide whether the client is authenticated and authorized to log in. Your callback can retrieve the @code{GSASL_AUTHZID} property to inspect the requested authorization name from the client. The EXTERNAL mechanism was initially specified in the core SASL framework RFC 2222 and later revised in RFC 4422. @node ANONYMOUS @section The ANONYMOUS mechanism The ANONYMOUS mechanism is used to ``authenticate'' clients to anonymous services; or rather, just indicate that the client wishes to use the service anonymously. The client sends a token, usually her email address, which serve the purpose of some trace information suitable for logging. The token cannot be empty. In the client, this mechanism is always enabled, and will send the @code{GSASL_ANONYMOUS_TOKEN} property as the trace information to the server. In the server, this mechanism will invoke the @code{GSASL_VALIDATE_ANONYMOUS} callback to decide whether the client should be permitted to log in. Your callback can retrieve the @code{GSASL_ANONYMOUS_TOKEN} property to, for example, record it in a log file. The token is normally not used to decide whether the client should be permitted to log in or not. The ANONYMOUS mechanism was initially specified in RFC 2245 and later revised in RFC 4505. @node PLAIN @section The PLAIN mechanism The PLAIN mechanism uses username and password to authenticate users. Two user names are relevant. The first, the authentication identity, indicates the credential holder, i.e., whom the provided password belongs to. The second, the authorization identity, is typically empty to indicate that the user requests to log on to the server as herself (i.e., the authentication identity). If the authorization identity is not empty, the server should decide whether the authenticated user may log on as the authorization identity. This is typically used for super-user accounts like @samp{admin} to take on the role of a regular user. In the client, this mechanism is always enabled, and require the @code{GSASL_AUTHID} and @code{GSASL_PASSWORD} properties. If set, @code{GSASL_AUTHZID} will also be used. In the server, the mechanism is always enabled. Two approaches to authenticate and authorize the client are provided. In the first approach, the server side of the mechanism will request the @code{GSASL_VALIDATE_SIMPLE} callback property to decide whether the client should be accepted or not. The callback may inspect the @code{GSASL_AUTHID}, @code{GSASL_AUTHZID}, and @code{GSASL_PASSWORD} properties. These property values will be normalized. If the first approach fails (because there is no callback or your callback returns @samp{GSASL_NO_CALLBACK} to signal that it does not implement @code{GSASL_VALIDATE_SIMPLE}) the mechanism will continue to query the application for a password, via the @code{GSASL_PASSWORD} property. Your callback may use the @code{GSASL_AUTHID} and @code{GSASL_AUTHZID} properties to select the proper password. The password is then normalized and compared to the client credential. Which approach to use? If your database stores hashed passwords, you have no option, but must use the first approach. If passwords in your user database are stored in prepared (SASLprep) form, the first approach will be faster. If you do not have prepared passwords available, you can use the second approach to make sure the password is prepared properly before comparison. The PLAIN mechanism was initially specified in RFC 2595 and later revised in RFC 4616. @node LOGIN @section The LOGIN mechanism The LOGIN mechanism is a non-standard mechanism, and is similar to the PLAIN mechanism except that LOGIN lacks the support for authorization identities. Always use PLAIN instead of LOGIN in new applications. The callback behaviour is the same as for PLAIN, except that @code{GSASL_AUTHZID} is neither used nor required, and that the server does not normalize the password using SASLprep. @xref{Use of SASLprep in LOGIN}, for a proposed clarification of the interpretation of a hypothetical LOGIN specification. @node CRAM-MD5 @section The CRAM-MD5 mechanism @cindex CRAM-MD5 CRAM-MD5 is a widely used challenge-response mechanism that transfers hashed passwords instead of clear text passwords. It is official deprecated, initially in favor of first DIGEST-MD5 but today SCRAM-SHA-1. For insecure channels (e.g., when TLS is not used), it is has better properties than PLAIN since the unhashed password is not leaked. The CRAM-MD5 mechanism does not support authorization identities; that make the relationship between CRAM-MD5 and DIGEST-MD5/SCRAM-SHA-1 similar to the relationship between LOGIN and PLAIN. The disadvantage with hashed passwords is that the server cannot use normal authentication infrastructures such as PAM, because the server must have access to the unhashed password in order to validate every authentication attempt. In the client, this mechanism is always enabled, and it requires the @code{GSASL_AUTHID} and @code{GSASL_PASSWORD} properties. In the server, the mechanism will require the @code{GSASL_PASSWORD} callback property, which may use the @code{GSASL_AUTHID} property to determine which users' password should be used. The @code{GSASL_AUTHID} will be in normalized form. The server will then normalize the password, and compare the client response with the computed correct response, and accept the user accordingly. @xref{Use of SASLprep in CRAM-MD5}, for a clarification on the interpretation of the CRAM-MD5 specification that this implementation rely on. The CRAM-MD5 mechanism was initially specified in RFC 2095 but quickly revised in RFC 2195. Note that both were published before the core SASL framework, which explains its lack of authorization identity. @node DIGEST-MD5 @section The DIGEST-MD5 mechanism @cindex DIGEST-MD5 The DIGEST-MD5 mechanism is based on repeated hashing using MD5. After the MD5 break may be argued to be weaker than HMAC-MD5 that CRAM-MD5 builds on, but DIGEST-MD5 supports other features. For example, authorization identities and data integrity and privacy protection are supported. Like CRAM-MD5, only a hashed password is transferred. Consequently, DIGEST-MD5 needs access to the correct password to verify the client response -- however the server can store the password in hashed form, another improvement compared to CRAM-MD5 . Alas, this makes it impossible to use, e.g., PAM on the server side. In the client, this mechanism is always enabled, and it requires the @code{GSASL_AUTHID}, @code{GSASL_PASSWORD}, @code{GSASL_SERVICE}, and @code{GSASL_HOSTNAME} properties. If set, @code{GSASL_AUTHZID} and @code{GSASL_REALM} will also be used. In the server, the mechanism will first request the @code{GSASL_DIGEST_MD5_HASHED_PASSWORD} callback property to get the user's hashed password. If the callback doesn't supply a hashed password (i.e., it returns @samp{GSASL_NO_CALLBACK}), the @code{GSASL_PASSWORD} callback property will be requested. Both callbacks may use the @code{GSASL_AUTHID}, @code{GSASL_AUTHZID} and @code{GSASL_REALM} properties to determine which users' password should be used. The server will then compare the client response with a computed correct response, and accept the user accordingly. The server uses the @code{GSASL_QOPS} callback to get the set of quality of protection values to use. By default, it advertises support for authentication (@code{qop-auth}) only. You can use the callback, for example, to make the server advertise support for authentication with integrity layers. The client uses the @code{GSASL_QOP} callback to get the quality of protection value to request. The client must choose one of the QOP values offered by the server (which may be inspected through the @code{GSASL_QOPS} property). If the client does not return a value, @code{qop-auth} is used by default. The security layers of DIGEST-MD5 are rarely used in practice due to interoperability and security reasons. You are recommended to use TLS instead. The DIGEST-MD5 mechanism is specified in RFC 2831. RFC 6331 labels DIGEST-MD5 as historic and it contains a good exposition of the disadvantages with DIGEST-MD5. @node SCRAM-SHA-1 @section The SCRAM-SHA-1 mechanism @cindex SCRAM The SCRAM-SHA-1 mechanism is designed to provide (almost) the same capabilities that CRAM-MD5 and DIGEST-MD5 provides but use modern cryptographic techniques such as HMAC-SHA-1 hashing and PKCS#5 PBKDF2 key derivation. SCRAM-SHA-1 supports authorization identities. Like CRAM-MD5 and DIGEST-MD5, only a hashed password is transferred. Consequently, SCRAM-SHA-1 needs access to the correct password to verify the client response. Channel bindings are supported through the SCRAM-SHA-1-PLUS mechanism. In the client, the non-PLUS mechanism is always enabled, and it requires the @code{GSASL_AUTHID} property, and either @code{GSASL_PASSWORD} or @code{GSASL_SCRAM_SALTED_PASSWORD}. When the @code{GSASL_CB_TLS_UNIQUE} property is available, the SCRAM-SHA-1-PLUS mechanism is also available and it will negotiate channel bindings when the server also supports it. If set, @code{GSASL_AUTHZID} will be used by the client. To be able to return the proper @code{GSASL_SCRAM_SALTED_PASSWORD} value, the client needs to check the @code{GSASL_SCRAM_ITER} and @code{GSASL_SCRAM_SALT} values which are available when the @code{GSASL_SCRAM_SALTED_PASSWORD} property is queried for. In the server, the mechanism will require the @code{GSASL_PASSWORD} callback property, which may use the @code{GSASL_AUTHID} property to determine which users' password should be used. The @code{GSASL_AUTHID} will be in normalized form. The server will then normalize the returned password, and compare the client response with the computed correct response, and accept the user accordingly. The server may also set the @code{GSASL_SCRAM_ITER} and @code{GSASL_SCRAM_SALT} properties to influence the values to be used by clients to derive a key from a password. When the @code{GSASL_CB_TLS_UNIQUE} property is set, the SCRAM-SHA-1-PLUS mechanism is supported and is used to negotiate channel bindings. @cindex channel binding The @code{GSASL_CB_TLS_UNIQUE} property signal that this side of the authentication supports channel bindings. Setting the property will enable the SCRAM-SHA-1-PLUS mechanism. For clients, this also instructs the SCRAM-SHA-1 mechanism to tell servers that the client believes the server does not support channel bindings if it is used (remember that clients should otherwise have chosen the SCRAM-SHA-1-PLUS mechanism instead of the SCRAM-SHA-1 mechanism). For servers, it means the SCRAM-SHA-1 mechanism will refuse to authenticate against a client that signals that it believes the server does not support channel bindings. The SCRAM-SHA-1-PLUS mechanism will never complete authentication successfully if channel bindings are not confirmed. The SCRAM-SHA-1 mechanism is specified in RFC 5802. @node NTLM @section The NTLM mechanism @cindex NTLM The NTLM is a non-standard mechanism. Do not use it in new applications, and do not expect it to be secure. Currently only the client side is supported. In the client, this mechanism is always enabled, and it requires the @code{GSASL_AUTHID} and @code{GSASL_PASSWORD} properties. It will set the @samp{domain} field in the NTLM request to the value of @code{GSASL_REALM}. Some servers reportedly need non-empty but arbitrary values in that field. @node SECURID @section The SECURID mechanism @cindex SECURID The SECURID mechanism uses authentication and authorization identity together with a passcode from a hardware token to authenticate users. In the client, this mechanism is always enabled, and it requires the @code{GSASL_AUTHID} and @code{GSASL_PASSCODE} properties. If set, @code{GSASL_AUTHZID} will also be used. If the server requests it, the @code{GSASL_PIN} property is also required, and its callback may inspect the @code{GSASL_SUGGESTED_PIN} property to discover a server-provided PIN to use. In the server, this mechanism will invoke the @code{GSASL_VALIDATE_SECURID} callback. The callback may inspect the @code{GSASL_AUTHID}, @code{GSASL_AUTHZID}, and @code{GSASL_PASSCODE} properties. The callback can return @code{GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE} to ask for another additional passcode from the client. The callback can return @code{GSASL_SECURID_SERVER_NEED_NEW_PIN} to ask for a new PIN code from the client, in which case it may also set the @code{GSASL_SUGGESTED_PIN} property to indicate a recommended new PIN. If the callbacks is invoked again, after having returned @code{GSASL_SECURID_SERVER_NEED_NEW_PIN}, it may also inspect the @code{GSASL_PIN} property, in addition to the other properties, to find out the client selected PIN code. The SCRAM-SHA-1 mechanism is specified in RFC 2808. @node GSSAPI @section The GSSAPI mechanism @cindex GSSAPI The GSSAPI mechanism allows you to authenticate using Kerberos V5. The mechanism was originally designed to allow for any GSS-API mechanism to be used, but problems with the protocol made it unpractical and it is today restricted for use with Kerberos V5. See the GS2 mechanism (@pxref{GS2-KRB5}) for a general solution. However, GSSAPI continues to be widely used in Kerberos V5 environments. In the client, the mechanism is enabled only if the user has acquired credentials (i.e., a ticket granting ticket), and it requires the @code{GSASL_AUTHZID}, @code{GSASL_SERVICE}, and @code{GSASL_HOSTNAME} properties. (For historical reasons, if the @code{GSASL_AUTHZID} property is not specified, this mechanism checks for the @code{GSASL_AUTHZID} property and if present will use that as the authorization identity -- this behaviour will be removed after the year 2012 so you should update your code to use only @code{GSASL_AUTHZID}.) In the server, the mechanism requires the @code{GSASL_SERVICE} and @code{GSASL_HOSTNAME} properties, and it will invoke the @code{GSASL_VALIDATE_GSSAPI} callback property in order to validate the user. The callback may inspect the @code{GSASL_AUTHZID} and @code{GSASL_GSSAPI_DISPLAY_NAME} properties to decide whether to authorize the user. Note that authentication is performed by the GSS-API library and that @code{GSASL_AUTHID} is not used by the server mechanism, its role is played by @code{GSASL_GSSAPI_DISPLAY_NAME}. This implementation does not support security layers. You are recommended to use TLS instead. The GSSAPI mechanism was specified as part of the initial core SASL framework, in RFC 2222, but later revised in RFC 4752 to only apply to Kerberos V5. @node GS2-KRB5 @section The GS2-KRB5 mechanism @cindex GS2 @cindex GS2-KRB5 GS2 is a protocol bridge between GSS-API and SASL, and allows every GSS-API mechanism that supports mutual authentication and channel bindings to be used as a SASL mechanism. Currently GS2-KRB5 is supported, for Kerberos V5 authentication, however our GS2 implementation is flexible enough to easily support other GSS-API mechanism if any gains popularity. In the client, the mechanism is enabled only if the user has acquired credentials (i.e., a ticket granting ticket), and it requires the @code{GSASL_AUTHZID}, @code{GSASL_SERVICE}, and @code{GSASL_HOSTNAME} properties. In the server, the mechanism requires the @code{GSASL_SERVICE} and @code{GSASL_HOSTNAME} properties, and it will invoke the @code{GSASL_VALIDATE_GSSAPI} callback property in order to validate the user. The callback may inspect the @code{GSASL_AUTHZID} and @code{GSASL_GSSAPI_DISPLAY_NAME} properties to decide whether to authorize the user. Note that authentication is performed by the GSS-API library and that @code{GSASL_AUTHID} is not used by the server mechanism, its role is played by @code{GSASL_GSSAPI_DISPLAY_NAME}. @cindex GS2-KRB5-PLUS The GS2 framework supports a variant of each mechanism, called the PLUS variant, which can also bind the authentication to a secure channel through channel bindings. Currently this is not supported by GNU SASL. The GS2 mechanism family was specified in RFC 5801. @node SAML20 @section The SAML20 mechanism @cindex SAML The SAML20 mechanism makes it possible to use SAML in SASL, in a way that offloads the authentication exchange to an external web browser. The mechanism makes use of the following properties: @code{GSASL_AUTHZID}, @code{GSASL_SAML20_IDP_IDENTIFIER}, @code{GSASL_SAML20_REDIRECT_URL}, @code{GSASL_SAML20_AUTHENTICATE_IN_BROWSER} and @code{GSASL_VALIDATE_SAML20}. In client mode, the mechanism will retrieve the @code{GSASL_AUTHZID} and @code{GSASL_SAML20_IDP_IDENTIFIER} properties and form a request to the server. The server will respond with a redirect URL stored in the @code{GSASL_SAML20_REDIRECT_URL} property, which the client can retrieve from the @code{GSASL_SAML20_AUTHENTICATE_IN_BROWSER} callback. The intention is that the client launches a browser to the given URL, and then proceeds with authentication. The server responds whether authentication was successful or not. In server mode, the mechanism will invoke the @code{GSASL_SAML20_REDIRECT_URL} callback and the application can inspect the @code{GSASL_AUTHZID} and @code{GSASL_SAML20_IDP_IDENTIFIER} properties when forming the redirect URL. The URL is passed to the client which will hopefully complete authentication in the browser. The server callback @code{GSASL_VALIDATE_SAML20} should check whether the authentication attempt was successful. Note that SAML itself is not implemented by the GNU SASL library. On the client side, no SAML knowledge is needed, it is only required on the server side. The client only needs to be able to start a web browser to access the redirect URL. The server side is expected to call a SAML library to generate the AuthRequest and to implement an AssertionConsumerService (ACS) to validate the AuthResponse. There is a complete proof-of-concept example of a SMTP server with SAML 2.0 support distributed with GNU SASL in the @code{examples/saml20/} sub-directory. The example uses the Lasso SAML implementation (@url{http://lasso.entrouvert.org/}) and require a web server for the ACS side. The example may be used as inspiration for your own server implementation. The @code{gsasl} command line client supports SAML20 as a client. The SAML20 mechanism is specified in RFC 6595. @node OPENID20 @section The OPENID20 mechanism @cindex OpenID The OPENID20 mechanism makes it possible to use OpenID in SASL, in a way that offloads the authentication exchange to an external web browser. The mechanism makes use of the following properties: @code{GSASL_AUTHID} (for the OpenID User-Supplied Identifier), @code{GSASL_AUTHZID}, @code{GSASL_OPENID20_REDIRECT_URL}, @code{GSASL_OPENID20_OUTCOME_DATA}, @code{GSASL_OPENID20_AUTHENTICATE_IN_BROWSER}, and @code{GSASL_VALIDATE_OPENID20}. In the client, the mechanism is enabled by default. The @code{GSASL_AUTHID} property is required and should contain the User-Supplied OpenID Identifier (for example @code{http://josefsson.org}). If set, @code{GSASL_AUTHZID} will be used by the client. The client will be invoked with the @code{GSASL_OPENID20_AUTHENTICATE_IN_BROWSER} callback to perform the OpenID authentication in a web browser. The callback can retrieve the @code{GSASL_OPENID20_REDIRECT_URL} property to find out the URL to redirect the user to. After authentication, the client can retrieve the @code{GSASL_OPENID20_OUTCOME_DATA} property with the OpenID Simple Registry (SREG) attributes sent by the server (if any). In the server, the mechanism is enabled by default. The server will request the @code{GSASL_OPENID20_REDIRECT_URL} property, and your callback may inspect the @code{GSASL_AUTHID} to find the OpenID User-Supplied Identifier. The server callback should perform OpenID discovery and return the URL to redirect the user to. After this, the user would access the URL and proceed with authentication in the browser. The server is invoked with the @code{GSASL_VALIDATE_OPENID20} callback to perform the actual validation of the authentication. Usually the callback will perform some IPC communication with an OpenID consumer running in a web server. The callback should return @code{GSASL_OK} on successful authentication and @code{GSASL_AUTHENTICATION_ERROR} on authentication errors, or any other error code. If the server received some OpenID Simple Registry (SREG) attributes from the OpenID Identity Provider, it may use the @code{GSASL_OPENID20_OUTCOME_DATA} property to send these to the client. Note that OpenID itself is not implemented by the GNU SASL library. On the client side, no OpenID knowledge is required, it is only required on the server side. The client only needs to be able to start a web browser to access the redirect URL. The server side is expected to use an OpenID library to generate the redirect URL and to implement the Service Provider (SP) to validate the response from the IdP. There is a complete proof-of-concept example with a SMTP server with OpenID 2.0 support distributed with GNU SASL in the @code{examples/openid20/} sub-directory. It uses the JanRain PHP5 OpenID implementation and require a web server to implement the OpenID SP. The example may be used as inspiration for your own server implementation. The @code{gsasl} command line client supports OPENID20 as a client. The OPENID20 mechanism is specified in RFC 6616. @node KERBEROS_V5 @section The KERBEROS_V5 mechanism @cindex KERBEROS_V5 The KERBEROS_V5 is an experimental mechanism, the protocol specification is available on the GNU SASL homepage. It can operate in three modes, non-infrastructure mode, infrastructure mode and proxied infrastructure mode. Currently only non-infrastructure mode is supported. In the non-infrastructure mode, it works as a superset of most features provided by PLAIN, CRAM-MD5, DIGEST-MD5 and GSSAPI while at the same time building on what is believed to be proven technology (the RFC 1510 network security system). In the non-infrastructure mode, the client must specify (via callbacks) the name of the user, and optionally the server name and realm. The server must be able to retrieve passwords given the name of the user. In the infrastructure mode (proxied or otherwise), it allows clients and servers to authenticate via SASL in an RFC 1510 environment, using a trusted third party, a ``Key Distribution Central''. In the normal mode, clients acquire tickets out of band and then invokes a one roundtrip AP-REQ and AP-REP exchange. In the proxied mode, which can be used by clients without IP addresses or without connectivity to the KDC (e.g., when the KDC is IPv4 and the client is IPV6-only), the client uses the server to proxy ticket requests and finishes with the AP-REQ/AP-REP exchange. In infrastructure mode (proxied or otherwise), neither the client nor server need to implement any callbacks (this will likely change later, to allow a server to authorize users, similar to the GSSAPI callback). XXX: update when implementation has matured @c ********************************************************** @c ***************** Global Functions ********************* @c ********************************************************** @node Global Functions @chapter Global Functions @include texi/init.c.texi @include texi/done.c.texi @include texi/listmech.c.texi @include texi/supportp.c.texi @include texi/suggest.c.texi @include texi/register.c.texi @c ********************************************************** @c ****************** Callback Functions ****************** @c ********************************************************** @node Callback Functions @chapter Callback Functions @cindex Callbacks The callback is used by mechanisms to retrieve information, such as username and password, from the application. In a server, the callback is used to decide whether a user is permitted to log in or not. You tell the library of your callback function by calling @code{gsasl_callback_set}. Since your callback may need access to data from other parts of your application, there are hooks to store and retrieve application specific pointers. This avoids the use of global variables, which wouldn't be thread safe. You store a pointer to some information (opaque from the point of view of the library) by calling @code{gsasl_callback_hook_set} and can later retrieve this data in your callback by calling @code{gsasl_callback_hook_get}. @include texi/callback.c.texi @c ********************************************************** @c ****************** Property Functions ****************** @c ********************************************************** @node Property Functions @chapter Property Functions @cindex Properties @include texi/property.c.texi @c ********************************************************** @c ***************** Session Functions ******************** @c ********************************************************** @node Session Functions @chapter Session Functions @cindex SASL sessions @include texi/xstart.c.texi @include texi/xstep.c.texi @include texi/xfinish.c.texi @include texi/xcode.c.texi @include texi/mechname.c.texi @c ********************************************************** @c ******************* Utilities ************************** @c ********************************************************** @node Utilities @chapter Utilities @include texi/saslprep.c.texi @include texi/base64.c.texi @include texi/md5pwd.c.texi @include texi/crypto.c.texi @c ********************************************************** @c **************** Memory Handling *********************** @c ********************************************************** @node Memory Handling @chapter Memory Handling @include texi/free.c.texi @c ********************************************************** @c ******************* Errors **************************** @c ********************************************************** @node Error Handling @chapter Error Handling @cindex Error Handling Most functions in the GNU SASL Library return an error if they fail. For this reason, the application should always catch the error condition and take appropriate measures, for example by releasing the resources and passing the error up to the caller, or by displaying a descriptive message to the user and cancelling the operation. Some error values do not indicate a system error or an error in the operation, but the result of an operation that failed properly. @menu * Error values:: A list of all error values used. * Error strings:: How to get a descriptive string from a value. @end menu @node Error values @section Error values Errors are returned as @code{int} values. The value of the symbol @code{GSASL_OK} is guaranteed to always be @code{0}, and all other error codes are guaranteed to be non-@code{0}, so you may use that information to build boolean expressions involving return codes. Otherwise, an application should not depend on the particular value for error codes, and are encouraged to use the constants even for @code{GSASL_OK} to improve readability. Possible values are: @table @code @include gsasl-api-error-labels.texi @end table @node Error strings @section Error strings @include texi/error.c.texi @c ********************************************************** @c *********************** Examples *********************** @c ********************************************************** @node Examples @chapter Examples @cindex Examples This chapter contains example code which illustrates how the GNU SASL Library can be used when writing your own application. @menu * Example 1:: SASL client. * Example 2:: SASL client where server send data first. * Example 3:: SASL client, with a choice of mechanism to use. * Example 4:: SASL client, with callback for user info. * Example 5:: Example SMTP server with GNU SASL authentication. @end menu @node Example 1 @section Example 1 @example @verbatiminclude client.c @end example @node Example 2 @section Example 2 @example @verbatiminclude client-serverfirst.c @end example @node Example 3 @section Example 3 @example @verbatiminclude client-mech.c @end example @node Example 4 @section Example 4 @example @verbatiminclude client-callback.c @end example @node Example 5 @section Example 5 @example @verbatiminclude smtp-server.c @end example @c ********************************************************** @c ******************* Acknowledgements ******************* @c ********************************************************** @node Acknowledgements @chapter Acknowledgements The makefiles, manuals, etc borrowed much from Libgcrypt written by Werner Koch. Cryptographic functions for some SASL mechanisms uses Libgcrypt by Werner Koch et al. The NTLM mechanism uses Libntlm by Grant Edwards et al, using code from Samba written by Andrew Tridgell, and now maintained by Simon Josefsson. The KERBEROS_V5 mechanism uses Shishi by Simon Josefsson. The GSSAPI and GS2-KRB5 mechanism uses a GSS-API implementation, such as GNU GSS by Simon Josefsson. Gnulib is used to simplify portability. This manual borrows text from the SASL specification. @c ********************************************************** @c ******************** Invoking gsasl ******************** @c ********************************************************** @node Invoking gsasl @chapter Invoking gsasl @pindex gsasl @cindex invoking @command{gsasl} @cindex command line @majorheading Name GNU SASL (gsasl) -- Command line interface to libgsasl. @majorheading Description @code{gsasl} is the main program of GNU SASL. This section only lists the commands and options available. Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. @majorheading Commands @code{gsasl} recognizes these commands: @verbatim -c, --client Act as client (the default). --client-mechanisms Write name of supported client mechanisms separated by space to stdout. -s, --server Act as server. --server-mechanisms Write name of supported server mechanisms separated by space to stdout. @end verbatim @majorheading Network Options Normally the SASL negotiation is performed on the terminal, with reading from stdin and writing to stdout. It is also possible to perform the negotiation with a server over a TCP network connection. @verbatim --connect=HOSTNAME[:SERVICE] Connect to TCP server and negotiate on stream instead of stdin/stdout. SERVICE is the protocol service, or an integer denoting the port, and defaults to 143 (imap) if not specified. Also sets the --hostname default. @end verbatim @majorheading Miscellaneous Options: These parameters affect overall behaviour. @verbatim -d, --application-data After authentication, read data from stdin and run it through the mechanism's security layer and print it base64 encoded to stdout. The default is to terminate after authentication. --imap Use a IMAP-like logon procedure (client only). Also sets the --service default to "imap". -m, --mechanism=STRING Mechanism to use. --no-client-first Disallow client to send data first (client only). @end verbatim @majorheading SASL Mechanism Options These options modify the behaviour of the callbacks (@pxref{Callback Functions}) in the library. The default is to query the user on the terminal. @verbatim -n, --anonymous-token=STRING Token for anonymous authentication, usually mail address (ANONYMOUS only). -a, --authentication-id=STRING Identity of credential owner. -z, --authorization-id=STRING Identity to request service for. --disable-cleartext-validate Disable cleartext validate hook, forcing server to prompt for password. --enable-cram-md5-validate Validate CRAM-MD5 challenge and response interactively. --hostname=STRING Set the name of the server with the requested service. -p, --password=STRING Password for authentication (insecure for non-testing purposes). --passcode=NUMBER Passcode for authentication (SECURID only). --quality-of-protection= How application payload will be protected. "qop-auth" means no protection, "qop-int" means integrity protection, "qop-conf" means confidentiality. Currently only used by DIGEST-MD5, where the default is "qop-int". -r, --realm=STRING Realm. Defaults to hostname. --service=STRING Set the requested service name (should be a registered GSSAPI host based service name). --service-name=STRING Set the generic server name in case of a replicated server (DIGEST-MD5 only). -x, --maxbuf=NUMBER Indicate maximum buffer size (DIGEST-MD5 only). @end verbatim @majorheading STARTTLS options @verbatim --starttls Force use of STARTTLS. The default is to use STARTTLS when available. (default=off) --no-starttls Unconditionally disable STARTTLS. (default=off) --no-cb Don't set any channel bindings. (default=off) --x509-ca-file=FILE File containing one or more X.509 Certificate Authorities certificates in PEM format, used to verify the certificate received from the server. If not specified, no verification of the remote server certificate will be done. --x509-cert-file=FILE File containing client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. --x509-key-file=FILE Private key for the client X.509 certificate in PEM format. Used together with --x509-key-file to specify the certificate/key pair. --priority Cipher priority string. @end verbatim @majorheading Other Options These are some standard parameters. @verbatim -q, --quiet, --silent Don't produce any diagnostic output. -v, --verbose Produce verbose output. -?, --help Give this help list --usage Give a short usage message -V, --version Print program version @end verbatim @c ********************************************************** @c ******************* Appendices ************************* @c ********************************************************** @node Protocol Clarifications @appendix Protocol Clarifications This appendix contains clarifications to various SASL specification that we felt were necessary to include, if for nothing else it may serve as a guide for other implementers that worry about the same issues. @menu * Use of SASLprep in CRAM-MD5:: * Use of SASLprep in LOGIN:: @end menu @node Use of SASLprep in CRAM-MD5 @section Use of SASLprep in CRAM-MD5 The specification, as of @file{draft-ietf-sasl-crammd5-04.txt}, is silent on whether a SASL server implementation applying SASLprep on a password received from an external, non-SASL specific database (i.e., the passwords are not stored in SASLprep form in the database), should set or clear the AllowUnassigned bit. The motivation for the AU-bit in StringPrep/SASLprep is for stored vs query strings. It could be argued that in this situation the server can treat the external password either as a stored string (from a database) or as a query (the server uses the string as a query into the fixed HMAC-MD5 hash). The specification is also unclear on whether clients should set or clear the AllowUnassigned flag. In the server, GNU SASL applies SASLprep to the password with the AllowUnassigned bit cleared. @node Use of SASLprep in LOGIN @section Use of SASLprep in LOGIN The non-standard mechanism LOGIN presumably does not support non-ASCII. We suggest that the client should send unprepared UTF-8 and that the server apply SASLprep with the AllowUnassigned bit cleared on the received username and password. @c ********************************************************** @c ******************* Old Functions ********************** @c ********************************************************** @node Old Functions @appendix Old Functions @cindex Deprecated functions @cindex Obsolete functions As GNU SASL is still under heavy development, some API functions have been found to be less useful. Those old API functions will be supported during a transition period. Refer to the NEWS file to find out since when a function has been deprecated. @include texi/obsolete.c.texi @section Obsolete callback function prototypes @deftypefn Prototype int (*Gsasl_client_callback_anonymous) (Gsasl_session_ctx * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output array with client token. @var{outlen}: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with some input from the user and set the output array length, and return @code{GSASL_OK}, or fail with an error code. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. @end deftypefn @deftypefn Prototype int (*Gsasl_server_callback_anonymous) (Gsasl_session_ctx * @var{ctx}, const char * @var{token}) @var{ctx}: libgsasl handle. @var{ctx}: output array with client token. @var{ctx}: on input the maximum size of the output array, on output contains the actual size of the output array. If OUT is Type of callback function the application implements. It should return @code{GSASL_OK} if user should be permitted anonymous access, otherwise @code{GSASL_AUTHENTICATION_ERROR}. @end deftypefn @include gsasl-callback-authentication.texi @include gsasl-callback-authorization.texi @include gsasl-callback-client-service.texi @include gsasl-callback-cram-md5.texi @include gsasl-callback-digest-md5.texi @deftypefn Prototype int (*Gsasl_server_callback_external) (Gsasl_session_ctx * @var{ctx}) @var{ctx}: libgsasl handle. Type of callback function the application implements. It should return @code{GSASL_OK} if user is authenticated by out of band means, otherwise @code{GSASL_AUTHENTICATION_ERROR}. @end deftypefn @include gsasl-callback-gssapi.texi @include gsasl-callback-passcode.texi @include gsasl-callback-password.texi @include gsasl-callback-retrieve.texi @include gsasl-callback-securid.texi @include gsasl-callback-server-service.texi @include gsasl-callback-validate.texi @node Copying Information @appendix Copying Information @menu * GNU Free Documentation License:: License for copying this manual. @end menu @node GNU Free Documentation License @appendixsec GNU Free Documentation License @cindex FDL, GNU Free Documentation License @include fdl-1.3.texi @node Function and Data Index @unnumbered Function and Data Index @printindex fn @node Concept Index @unnumbered Concept Index @printindex cp @bye gsasl-1.8.1/doc/doxygen/0000755000000000000000000000000013521017733012025 500000000000000gsasl-1.8.1/doc/doxygen/gdoc2doxygen0000755000000000000000000000151313516252320014264 00000000000000#!/usr/bin/perl # Copyright (C) 2003-2019 Simon Josefsson # # 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 3 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, see . # I consider the output of this program to be unrestricted. Use it as # you will. while (<>) { s, \* @(.*):, * \\param $1,g; print $_; } gsasl-1.8.1/doc/doxygen/Doxyfile.in0000644000000000000000000016414012222241124014054 00000000000000# Doxyfile 1.5.6 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project # # All text after a hash (#) is considered a comment and will be ignored # The format is: # TAG = value [value, ...] # For lists items can also be appended using: # TAG += value [value, ...] # Values that contain spaces should be placed between quotes (" ") #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- # This tag specifies the encoding used for all characters in the config file # that follow. The default is UTF-8 which is also the encoding used for all # text before the first occurrence of this tag. Doxygen uses libiconv (or the # iconv built into libc) for the transcoding. See # http://www.gnu.org/software/libiconv for the list of possible encodings. DOXYFILE_ENCODING = UTF-8 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = @PACKAGE@ # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. PROJECT_NUMBER = @VERSION@ # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output # format and will distribute the generated files over these directories. # Enabling this option can be useful when feeding doxygen a huge amount of # source files, where putting all generated files in the same directory would # otherwise cause performance problems for the file system. CREATE_SUBDIRS = NO # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. # The default language is English, other supported languages are: # Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, # Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek, # Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages), # Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish, # Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, # and Ukrainian. OUTPUT_LANGUAGE = English # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will # include brief member descriptions after the members that are listed in # the file and class documentation (similar to JavaDoc). # Set to NO to disable this. BRIEF_MEMBER_DESC = YES # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend # the brief description of a member or function before the detailed description. # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. REPEAT_BRIEF = YES # This tag implements a quasi-intelligent brief description abbreviator # that is used to form the text in various listings. Each string # in this list, if found as the leading text of the brief description, will be # stripped from the text and the result after processing the whole list, is # used as the annotated text. Otherwise, the brief description is used as-is. # If left blank, the following values are used ("$name" is automatically # replaced with the name of the entity): "The $name class" "The $name widget" # "The $name file" "is" "provides" "specifies" "contains" # "represents" "a" "an" "the" ABBREVIATE_BRIEF = # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then # Doxygen will generate a detailed section even if there is only a brief # description. ALWAYS_DETAILED_SEC = NO # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all # inherited members of a class in the documentation of that class as if those # members were ordinary class members. Constructors, destructors and assignment # operators of the base classes will not be shown. INLINE_INHERITED_MEMB = NO # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full # path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = NO # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag # can be used to strip a user-defined part of the path. Stripping is # only done if one of the specified strings matches the left-hand part of # the path. The tag can be used to show relative paths in the file list. # If left blank the directory from which doxygen is run is used as the # path to strip. STRIP_FROM_PATH = # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of # the path mentioned in the documentation of a class, which tells # the reader which header file to include in order to use a class. # If left blank only the name of the header file containing the class # definition is used. Otherwise one should specify the include paths that # are normally passed to the compiler using the -I flag. STRIP_FROM_INC_PATH = # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter # (but less readable) file names. This can be useful is your file systems # doesn't support long names like on DOS, Mac, or CD-ROM. SHORT_NAMES = NO # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen # will interpret the first line (until the first dot) of a JavaDoc-style # comment as the brief description. If set to NO, the JavaDoc # comments will behave just like regular Qt-style comments # (thus requiring an explicit @brief command for a brief description.) JAVADOC_AUTOBRIEF = NO # If the QT_AUTOBRIEF tag is set to YES then Doxygen will # interpret the first line (until the first dot) of a Qt-style # comment as the brief description. If set to NO, the comments # will behave just like regular Qt-style comments (thus requiring # an explicit \brief command for a brief description.) QT_AUTOBRIEF = NO # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen # treat a multi-line C++ special comment block (i.e. a block of //! or /// # comments) as a brief description. This used to be the default behaviour. # The new default is to treat a multi-line C++ comment block as a detailed # description. Set this tag to YES if you prefer the old behaviour instead. MULTILINE_CPP_IS_BRIEF = NO # If the DETAILS_AT_TOP tag is set to YES then Doxygen # will output the detailed description near the top, like JavaDoc. # If set to NO, the detailed description appears after the member # documentation. DETAILS_AT_TOP = NO # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented # member inherits the documentation from any documented member that it # re-implements. INHERIT_DOCS = YES # If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce # a new page for each member. If set to NO, the documentation of a member will # be part of the file/class/namespace that contains it. SEPARATE_MEMBER_PAGES = NO # The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 8 # This tag can be used to specify a number of aliases that acts # as commands in the documentation. An alias has the form "name=value". # For example adding "sideeffect=\par Side Effects:\n" will allow you to # put the command \sideeffect (or @sideeffect) in the documentation, which # will result in a user-defined paragraph with heading "Side Effects:". # You can put \n's in the value part of an alias to insert newlines. ALIASES = # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C # sources only. Doxygen will then generate output that is more tailored for C. # For instance, some of the names that are used will be different. The list # of all members will be omitted, etc. OPTIMIZE_OUTPUT_FOR_C = YES # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java # sources only. Doxygen will then generate output that is more tailored for # Java. For instance, namespaces will be presented as packages, qualified # scopes will look different, etc. OPTIMIZE_OUTPUT_JAVA = NO # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran # sources only. Doxygen will then generate output that is more tailored for # Fortran. OPTIMIZE_FOR_FORTRAN = NO # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL # sources. Doxygen will then generate output that is tailored for # VHDL. OPTIMIZE_OUTPUT_VHDL = NO # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want # to include (a tag file for) the STL sources as input, then you should # set this tag to YES in order to let doxygen match functions declarations and # definitions whose arguments contain STL classes (e.g. func(std::string); v.s. # func(std::string) {}). This also make the inheritance and collaboration # diagrams that involve STL classes more complete and accurate. BUILTIN_STL_SUPPORT = NO # If you use Microsoft's C++/CLI language, you should set this option to YES to # enable parsing support. CPP_CLI_SUPPORT = NO # Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. # Doxygen will parse them like normal C++ but will assume all classes use public # instead of private inheritance when no explicit protection keyword is present. SIP_SUPPORT = NO # For Microsoft's IDL there are propget and propput attributes to indicate getter # and setter methods for a property. Setting this option to YES (the default) # will make doxygen to replace the get and set methods by a property in the # documentation. This will only work if the methods are indeed getting or # setting a simple type. If this is not the case, or you want to show the # methods anyway, you should set this option to NO. IDL_PROPERTY_SUPPORT = YES # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC # tag is set to YES, then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. DISTRIBUTE_GROUP_DOC = NO # Set the SUBGROUPING tag to YES (the default) to allow class member groups of # the same type (for instance a group of public functions) to be put as a # subgroup of that type (e.g. under the Public Functions section). Set it to # NO to prevent subgrouping. Alternatively, this can be done per class using # the \nosubgrouping command. SUBGROUPING = YES # When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum # is documented as struct, union, or enum with the name of the typedef. So # typedef struct TypeS {} TypeT, will appear in the documentation as a struct # with name TypeT. When disabled the typedef will appear as a member of a file, # namespace, or class. And the struct will be named TypeS. This can typically # be useful for C code in case the coding convention dictates that all compound # types are typedef'ed and only the typedef is referenced, never the tag name. TYPEDEF_HIDES_STRUCT = NO #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in # documentation are documented, even if no documentation was available. # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. EXTRACT_PRIVATE = NO # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. EXTRACT_STATIC = NO # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) # defined locally in source files will be included in the documentation. # If set to NO only classes defined in header files are included. EXTRACT_LOCAL_CLASSES = YES # This flag is only useful for Objective-C code. When set to YES local # methods, which are defined in the implementation section but not in # the interface are included in the documentation. # If set to NO (the default) only methods in the interface are included. EXTRACT_LOCAL_METHODS = NO # If this flag is set to YES, the members of anonymous namespaces will be # extracted and appear in the documentation as a namespace called # 'anonymous_namespace{file}', where file will be replaced with the base # name of the file that contains the anonymous namespace. By default # anonymous namespace are hidden. EXTRACT_ANON_NSPACES = NO # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all # undocumented members of documented classes, files or namespaces. # If set to NO (the default) these members will be included in the # various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. # If set to NO (the default) these classes will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all # friend (class|struct|union) declarations. # If set to NO (the default) these declarations will be included in the # documentation. HIDE_FRIEND_COMPOUNDS = NO # If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any # documentation blocks found inside the body of a function. # If set to NO (the default) these blocks will be appended to the # function's detailed documentation block. HIDE_IN_BODY_DOCS = NO # The INTERNAL_DOCS tag determines if documentation # that is typed after a \internal command is included. If the tag is set # to NO (the default) then the documentation will be excluded. # Set it to YES to include the internal documentation. INTERNAL_DOCS = NO # If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate # file names in lower-case letters. If set to YES upper-case letters are also # allowed. This is useful if you have classes or files whose names only differ # in case and if your file system supports case sensitive file names. Windows # and Mac users are advised to set this option to NO. CASE_SENSE_NAMES = YES # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen # will show members with their full class and namespace scopes in the # documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen # will put a list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES # If the INLINE_INFO tag is set to YES (the default) then a tag [inline] # is inserted in the documentation for inline members. INLINE_INFO = YES # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen # will sort the (detailed) documentation of file and class members # alphabetically by member name. If set to NO the members will appear in # declaration order. SORT_MEMBER_DOCS = YES # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the # brief documentation of file, namespace and class members alphabetically # by member name. If set to NO (the default) the members will appear in # declaration order. SORT_BRIEF_DOCS = NO # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the # hierarchy of group names into alphabetical order. If set to NO (the default) # the group names will appear in their defined order. SORT_GROUP_NAMES = NO # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be # sorted by fully-qualified names, including namespaces. If set to # NO (the default), the class list will be sorted only by class name, # not including the namespace part. # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. # Note: This option applies only to the class list, not to the # alphabetical list. SORT_BY_SCOPE_NAME = NO # The GENERATE_TODOLIST tag can be used to enable (YES) or # disable (NO) the todo list. This list is created by putting \todo # commands in the documentation. GENERATE_TODOLIST = YES # The GENERATE_TESTLIST tag can be used to enable (YES) or # disable (NO) the test list. This list is created by putting \test # commands in the documentation. GENERATE_TESTLIST = YES # The GENERATE_BUGLIST tag can be used to enable (YES) or # disable (NO) the bug list. This list is created by putting \bug # commands in the documentation. GENERATE_BUGLIST = YES # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or # disable (NO) the deprecated list. This list is created by putting # \deprecated commands in the documentation. GENERATE_DEPRECATEDLIST= YES # The ENABLED_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. ENABLED_SECTIONS = # The MAX_INITIALIZER_LINES tag determines the maximum number of lines # the initial value of a variable or define consists of for it to appear in # the documentation. If the initializer consists of more lines than specified # here it will be hidden. Use a value of 0 to hide initializers completely. # The appearance of the initializer of individual variables and defines in the # documentation can be controlled using \showinitializer or \hideinitializer # command in the documentation regardless of this setting. MAX_INITIALIZER_LINES = 30 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated # at the bottom of the documentation of classes and structs. If set to YES the # list will mention the files that were used to generate the documentation. SHOW_USED_FILES = YES # If the sources in your project are distributed over multiple directories # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy # in the documentation. The default is NO. SHOW_DIRECTORIES = YES # Set the SHOW_FILES tag to NO to disable the generation of the Files page. # This will remove the Files entry from the Quick Index and from the # Folder Tree View (if specified). The default is YES. SHOW_FILES = YES # Set the SHOW_NAMESPACES tag to NO to disable the generation of the # Namespaces page. This will remove the Namespaces entry from the Quick Index # and from the Folder Tree View (if specified). The default is YES. SHOW_NAMESPACES = YES # The FILE_VERSION_FILTER tag can be used to specify a program or script that # doxygen should invoke to get the current version for each file (typically from # the version control system). Doxygen will invoke the program by executing (via # popen()) the command , where is the value of # the FILE_VERSION_FILTER tag, and is the name of an input file # provided by doxygen. Whatever the program writes to standard output # is used as the file version. See the manual for examples. FILE_VERSION_FILTER = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- # The QUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = NO # The WARNINGS tag can be used to turn on/off the warning messages that are # generated by doxygen. Possible values are YES and NO. If left blank # NO is used. WARNINGS = YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. WARN_IF_UNDOCUMENTED = YES # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for # potential errors in the documentation, such as not documenting some # parameters in a documented function, or documenting parameters that # don't exist or using markup commands wrongly. WARN_IF_DOC_ERROR = YES # This WARN_NO_PARAMDOC option can be abled to get warnings for # functions that are documented, but have no documentation for their parameters # or return value. If set to NO (the default) doxygen will only warn about # wrong or incomplete parameter documentation, but not about the absence of # documentation. WARN_NO_PARAMDOC = NO # The WARN_FORMAT tag determines the format of the warning messages that # doxygen can produce. The string should contain the $file, $line, and $text # tags, which will be replaced by the file and line number from which the # warning originated and the warning text. Optionally the format may contain # $version, which will be replaced by the version of the file (if it could # be obtained via FILE_VERSION_FILTER) WARN_FORMAT = "$file:$line: $text" # The WARN_LOGFILE tag can be used to specify a file to which warning # and error messages should be written. If left blank the output is written # to stderr. WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- # The INPUT tag can be used to specify the files and/or directories that contain # documented source files. You may enter file names like "myfile.cpp" or # directories like "/usr/src/myproject". Separate the files or directories # with spaces. INPUT = ../../lib # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is # also the default input encoding. Doxygen uses libiconv (or the iconv built # into libc) for the transcoding. See http://www.gnu.org/software/libiconv for # the list of possible encodings. INPUT_ENCODING = UTF-8 # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank the following patterns are tested: # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 FILE_PATTERNS = # The RECURSIVE tag can be used to turn specify whether or not subdirectories # should be searched for input files as well. Possible values are YES and NO. # If left blank NO is used. RECURSIVE = YES # The EXCLUDE tag can be used to specify files and/or directories that should # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. EXCLUDE = # The EXCLUDE_SYMLINKS tag can be used select whether or not files or # directories that are symbolic links (a Unix filesystem feature) are excluded # from the input. EXCLUDE_SYMLINKS = NO # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude # certain files from those directories. Note that the wildcards are matched # against the file with absolute path, so to exclude all test directories # for example use the pattern */test/* EXCLUDE_PATTERNS = config.h *build-aux/* *gl/* *gltests/* *tests/* *win32/* # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names # (namespaces, classes, functions, etc.) that should be excluded from the # output. The symbol name can be a fully qualified name, a word, or if the # wildcard * is used, a substring. Examples: ANamespace, AClass, # AClass::ANamespace, ANamespace::*Test EXCLUDE_SYMBOLS = # The EXAMPLE_PATH tag can be used to specify one or more files or # directories that contain example code fragments that are included (see # the \include command). EXAMPLE_PATH = ../../examples # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. EXAMPLE_PATTERNS = client*.c # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be # searched for input files to be used with the \include or \dontinclude # commands irrespective of the value of the RECURSIVE tag. # Possible values are YES and NO. If left blank NO is used. EXAMPLE_RECURSIVE = NO # The IMAGE_PATH tag can be used to specify one or more files or # directories that contain image that are included in the documentation (see # the \image command). IMAGE_PATH = ../ # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program # by executing (via popen()) the command , where # is the value of the INPUT_FILTER tag, and is the name of an # input file. Doxygen will then use the output that the filter program writes # to standard output. If FILTER_PATTERNS is specified, this tag will be # ignored. INPUT_FILTER = ./gdoc2doxygen # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern # basis. Doxygen will compare the file name with each pattern and apply the # filter if there is a match. The filters are a list of the form: # pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further # info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER # is applied to all files. FILTER_PATTERNS = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using # INPUT_FILTER) will be used to filter the input files when producing source # files to browse (i.e. when SOURCE_BROWSER is set to YES). FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- # If the SOURCE_BROWSER tag is set to YES then a list of source files will # be generated. Documented entities will be cross-referenced with these sources. # Note: To get rid of all source code in the generated output, make sure also # VERBATIM_HEADERS is set to NO. SOURCE_BROWSER = YES # Setting the INLINE_SOURCES tag to YES will include the body # of functions and classes directly in the documentation. INLINE_SOURCES = NO # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct # doxygen to hide any special comment blocks from generated source code # fragments. Normal C and C++ comments will always remain visible. STRIP_CODE_COMMENTS = YES # If the REFERENCED_BY_RELATION tag is set to YES # then for each documented function all documented # functions referencing it will be listed. REFERENCED_BY_RELATION = NO # If the REFERENCES_RELATION tag is set to YES # then for each documented function all documented entities # called/used by that function will be listed. REFERENCES_RELATION = NO # If the REFERENCES_LINK_SOURCE tag is set to YES (the default) # and SOURCE_BROWSER tag is set to YES, then the hyperlinks from # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will # link to the source code. Otherwise they will link to the documentstion. REFERENCES_LINK_SOURCE = YES # If the USE_HTAGS tag is set to YES then the references to source code # will point to the HTML generated by the htags(1) tool instead of doxygen # built-in source browser. The htags tool is part of GNU's global source # tagging system (see http://www.gnu.org/software/global/global.html). You # will need version 4.8.6 or higher. USE_HTAGS = NO # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen # will generate a verbatim copy of the header file for each class for # which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index # of all compounds will be generated. Enable this if the project # contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = NO # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns # in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 5 # In case all classes in a project start with a common prefix, all # classes will be put under the same header in the alphabetical index. # The IGNORE_PREFIX tag can be used to specify one or more prefixes that # should be ignored while generating the index headers. IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- # If the GENERATE_HTML tag is set to YES (the default) Doxygen will # generate HTML output. GENERATE_HTML = YES # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. HTML_OUTPUT = html # The HTML_FILE_EXTENSION tag can be used to specify the file extension for # each generated HTML page (for example: .htm,.php,.asp). If it is left blank # doxygen will generate files with .html extension. HTML_FILE_EXTENSION = .html # The HTML_HEADER tag can be used to specify a personal HTML header for # each generated HTML page. If it is left blank doxygen will generate a # standard header. HTML_HEADER = # The HTML_FOOTER tag can be used to specify a personal HTML footer for # each generated HTML page. If it is left blank doxygen will generate a # standard footer. HTML_FOOTER = # The HTML_STYLESHEET tag can be used to specify a user-defined cascading # style sheet that is used by each HTML page. It can be used to # fine-tune the look of the HTML output. If the tag is left blank doxygen # will generate a default style sheet. Note that doxygen will try to copy # the style sheet file to the HTML output directory, so don't put your own # stylesheet in the HTML output directory as well, or it will be erased! HTML_STYLESHEET = # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, # files or namespaces will be aligned in HTML using tables. If set to # NO a bullet list will be used. HTML_ALIGN_MEMBERS = YES # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the # Microsoft HTML help workshop to generate a compiled HTML help file (.chm) # of the generated HTML documentation. GENERATE_HTMLHELP = NO # If the GENERATE_DOCSET tag is set to YES, additional index files # will be generated that can be used as input for Apple's Xcode 3 # integrated development environment, introduced with OSX 10.5 (Leopard). # To create a documentation set, doxygen will generate a Makefile in the # HTML output directory. Running make will produce the docset in that # directory and running "make install" will install the docset in # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find # it at startup. GENERATE_DOCSET = NO # When GENERATE_DOCSET tag is set to YES, this tag determines the name of the # feed. A documentation feed provides an umbrella under which multiple # documentation sets from a single provider (such as a company or product suite) # can be grouped. DOCSET_FEEDNAME = "Doxygen generated docs" # When GENERATE_DOCSET tag is set to YES, this tag specifies a string that # should uniquely identify the documentation set bundle. This should be a # reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen # will append .docset to the name. DOCSET_BUNDLE_ID = org.doxygen.Project # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # documentation will contain sections that can be hidden and shown after the # page has loaded. For this to work a browser that supports # JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox # Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). HTML_DYNAMIC_SECTIONS = NO # If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can # be used to specify the file name of the resulting .chm file. You # can add a path in front of the file if the result should not be # written to the html output directory. CHM_FILE = # If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can # be used to specify the location (absolute path including file name) of # the HTML help compiler (hhc.exe). If non-empty doxygen will try to run # the HTML help compiler on the generated index.hhp. HHC_LOCATION = # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag # controls if a separate .chi index file is generated (YES) or that # it should be included in the master .chm file (NO). GENERATE_CHI = NO # If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING # is used to encode HtmlHelp index (hhk), content (hhc) and project file # content. CHM_INDEX_ENCODING = # If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag # controls whether a binary table of contents is generated (YES) or a # normal table of contents (NO) in the .chm file. BINARY_TOC = NO # The TOC_EXPAND flag can be set to YES to add extra items for group members # to the contents of the HTML help documentation and to the tree view. TOC_EXPAND = NO # The DISABLE_INDEX tag can be used to turn on/off the condensed index at # top of each HTML page. The value NO (the default) enables the index and # the value YES disables it. DISABLE_INDEX = NO # This tag can be used to set the number of enum values (range [1..20]) # that doxygen will group on one line in the generated HTML documentation. ENUM_VALUES_PER_LINE = 4 # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index # structure should be generated to display hierarchical information. # If the tag value is set to FRAME, a side panel will be generated # containing a tree-like index structure (just like the one that # is generated for HTML Help). For this to work a browser that supports # JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, # Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are # probably better off using the HTML help feature. Other possible values # for this tag are: HIERARCHIES, which will generate the Groups, Directories, # and Class Hiererachy pages using a tree view instead of an ordered list; # ALL, which combines the behavior of FRAME and HIERARCHIES; and NONE, which # disables this behavior completely. For backwards compatibility with previous # releases of Doxygen, the values YES and NO are equivalent to FRAME and NONE # respectively. GENERATE_TREEVIEW = NONE # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be # used to set the initial width (in pixels) of the frame in which the tree # is shown. TREEVIEW_WIDTH = 250 # Use this tag to change the font size of Latex formulas included # as images in the HTML documentation. The default is 10. Note that # when you change the font size after a successful doxygen run you need # to manually remove any form_*.png images from the HTML output directory # to force them to be regenerated. FORMULA_FONTSIZE = 10 #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will # generate Latex output. GENERATE_LATEX = YES # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `latex' will be used as the default path. LATEX_OUTPUT = latex # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be # invoked. If left blank `latex' will be used as the default command name. LATEX_CMD_NAME = latex # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to # generate index for LaTeX. If left blank `makeindex' will be used as the # default command name. MAKEINDEX_CMD_NAME = makeindex # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact # LaTeX documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_LATEX = NO # The PAPER_TYPE tag can be used to set the paper type that is used # by the printer. Possible values are: a4, a4wide, letter, legal and # executive. If left blank a4wide will be used. PAPER_TYPE = a4wide # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output. EXTRA_PACKAGES = # The LATEX_HEADER tag can be used to specify a personal LaTeX header for # the generated latex document. The header should contain everything until # the first chapter. If it is left blank doxygen will generate a # standard header. Notice: only use this tag if you know what you are doing! LATEX_HEADER = # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated # is prepared for conversion to pdf (using ps2pdf). The pdf file will # contain links (just like the HTML output) instead of page references # This makes the output suitable for online browsing using a pdf viewer. PDF_HYPERLINKS = YES # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of # plain latex in the generated Makefile. Set this option to YES to get a # higher quality PDF documentation. USE_PDFLATEX = NO # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. # command to the generated LaTeX files. This will instruct LaTeX to keep # running if errors occur, instead of asking the user for help. # This option is also used when generating formulas in HTML. LATEX_BATCHMODE = NO # If LATEX_HIDE_INDICES is set to YES then doxygen will not # include the index chapters (such as File Index, Compound Index, etc.) # in the output. LATEX_HIDE_INDICES = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output # The RTF output is optimized for Word 97 and may not look very pretty with # other RTF readers or editors. GENERATE_RTF = NO # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `rtf' will be used as the default path. RTF_OUTPUT = rtf # If the COMPACT_RTF tag is set to YES Doxygen generates more compact # RTF documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_RTF = NO # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated # will contain hyperlink fields. The RTF file will # contain links (just like the HTML output) instead of page references. # This makes the output suitable for online browsing using WORD or other # programs which support those fields. # Note: wordpad (write) and others do not support links. RTF_HYPERLINKS = NO # Load stylesheet definitions from file. Syntax is similar to doxygen's # config file, i.e. a series of assignments. You only have to provide # replacements, missing definitions are set to their default value. RTF_STYLESHEET_FILE = # Set optional variables used in the generation of an rtf document. # Syntax is similar to doxygen's config file. RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- # If the GENERATE_MAN tag is set to YES (the default) Doxygen will # generate man pages GENERATE_MAN = NO # The MAN_OUTPUT tag is used to specify where the man pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `man' will be used as the default path. MAN_OUTPUT = man # The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine's section .3) MAN_EXTENSION = .3 # If the MAN_LINKS tag is set to YES and Doxygen generates man output, # then it will generate one additional man file for each entity # documented in the real man page(s). These additional files # only source the real man page, but without them the man command # would be unable to find the correct page. The default is NO. MAN_LINKS = NO #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- # If the GENERATE_XML tag is set to YES Doxygen will # generate an XML file that captures the structure of # the code including all documentation. GENERATE_XML = NO # The XML_OUTPUT tag is used to specify where the XML pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `xml' will be used as the default path. XML_OUTPUT = xml # The XML_SCHEMA tag can be used to specify an XML schema, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_SCHEMA = # The XML_DTD tag can be used to specify an XML DTD, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_DTD = # If the XML_PROGRAMLISTING tag is set to YES Doxygen will # dump the program listings (including syntax highlighting # and cross-referencing information) to the XML output. Note that # enabling this will significantly increase the size of the XML output. XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- # If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will # generate an AutoGen Definitions (see autogen.sf.net) file # that captures the structure of the code including all # documentation. Note that this feature is still experimental # and incomplete at the moment. GENERATE_AUTOGEN_DEF = NO #--------------------------------------------------------------------------- # configuration options related to the Perl module output #--------------------------------------------------------------------------- # If the GENERATE_PERLMOD tag is set to YES Doxygen will # generate a Perl module file that captures the structure of # the code including all documentation. Note that this # feature is still experimental and incomplete at the # moment. GENERATE_PERLMOD = NO # If the PERLMOD_LATEX tag is set to YES Doxygen will generate # the necessary Makefile rules, Perl scripts and LaTeX code to be able # to generate PDF and DVI output from the Perl module output. PERLMOD_LATEX = NO # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be # nicely formatted so it can be parsed by a human reader. This is useful # if you want to understand what is going on. On the other hand, if this # tag is set to NO the size of the Perl module output will be much smaller # and Perl will parse it just the same. PERLMOD_PRETTY = YES # The names of the make variables in the generated doxyrules.make file # are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. # This is useful so different doxyrules.make files included by the same # Makefile don't overwrite each other's variables. PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will # evaluate all C-preprocessor directives found in the sources and include # files. ENABLE_PREPROCESSING = YES # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro # names in the source code. If set to NO (the default) only conditional # compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. MACRO_EXPANSION = NO # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_DEFINED tags. EXPAND_ONLY_PREDEF = NO # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # in the INCLUDE_PATH (see below) will be search if a #include is found. SEARCH_INCLUDES = YES # The INCLUDE_PATH tag can be used to specify one or more directories that # contain include files that are not input files but should be processed by # the preprocessor. INCLUDE_PATH = # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard # patterns (like *.h and *.hpp) to filter out the header-files in the # directories. If left blank, the patterns specified with FILE_PATTERNS will # be used. INCLUDE_FILE_PATTERNS = # The PREDEFINED tag can be used to specify one or more macro names that # are defined before the preprocessor is started (similar to the -D option of # gcc). The argument of the tag is a list of macros of the form: name # or name=definition (no spaces). If the definition and the = are # omitted =1 is assumed. To prevent a macro definition from being # undefined via #undef or recursively expanded use the := operator # instead of the = operator. PREDEFINED = # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. # The macro definition that is found in the sources will be used. # Use the PREDEFINED tag if you want to use a different macro definition. EXPAND_AS_DEFINED = # If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then # doxygen's preprocessor will remove all function-like macros that are alone # on a line, have an all uppercase name, and do not end with a semicolon. Such # function macros are typically used for boiler-plate code, and will confuse # the parser if not removed. SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- # Configuration::additions related to external references #--------------------------------------------------------------------------- # The TAGFILES option can be used to specify one or more tagfiles. # Optionally an initial location of the external documentation # can be added for each tagfile. The format of a tag file without # this location is as follows: # TAGFILES = file1 file2 ... # Adding location for the tag files is done as follows: # TAGFILES = file1=loc1 "file2 = loc2" ... # where "loc1" and "loc2" can be relative or absolute paths or # URLs. If a location is present for each tag, the installdox tool # does not have to be run to correct the links. # Note that each tag file must have a unique name # (where the name does NOT include the path) # If a tag file is not located in the directory in which doxygen # is run, you must also specify the path to the tagfile here. TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. GENERATE_TAGFILE = # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes # will be listed. ALLEXTERNALS = NO # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed # in the modules index. If set to NO, only the current project's groups will # be listed. EXTERNAL_GROUPS = YES # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base # or super classes. Setting the tag to NO turns the diagrams off. Note that # this option is superseded by the HAVE_DOT option below. This is only a # fallback. It is recommended to install and use dot, since it yields more # powerful graphs. CLASS_DIAGRAMS = YES # You can define message sequence charts within doxygen comments using the \msc # command. Doxygen will then run the mscgen tool (see # http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the # documentation. The MSCGEN_PATH tag allows you to specify the directory where # the mscgen tool resides. If left empty the tool is assumed to be found in the # default search path. MSCGEN_PATH = # If set to YES, the inheritance and collaboration graphs will hide # inheritance and usage relations if the target is undocumented # or is not a class. HIDE_UNDOC_RELATIONS = YES # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is # available from the path. This tool is part of Graphviz, a graph visualization # toolkit from AT&T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) HAVE_DOT = NO # By default doxygen will write a font called FreeSans.ttf to the output # directory and reference it in all dot files that doxygen generates. This # font does not include all possible unicode characters however, so when you need # these (or just want a differently looking font) you can specify the font name # using DOT_FONTNAME. You need need to make sure dot is able to find the font, # which can be done by putting it in a standard location or by setting the # DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory # containing the font. DOT_FONTNAME = FreeSans # By default doxygen will tell dot to use the output directory to look for the # FreeSans.ttf font (which doxygen will put there itself). If you specify a # different font using DOT_FONTNAME you can set the path where dot # can find it using this tag. DOT_FONTPATH = # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. CLASS_GRAPH = YES # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect implementation dependencies (inheritance, containment, and # class references variables) of the class with other documented classes. COLLABORATION_GRAPH = YES # If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen # will generate a graph for groups, showing the direct groups dependencies GROUP_GRAPHS = YES # If the UML_LOOK tag is set to YES doxygen will generate inheritance and # collaboration diagrams in a style similar to the OMG's Unified Modeling # Language. UML_LOOK = NO # If set to YES, the inheritance and collaboration graphs will show the # relations between templates and their instances. TEMPLATE_RELATIONS = NO # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT # tags are set to YES then doxygen will generate a graph for each documented # file showing the direct and indirect include dependencies of the file with # other documented files. INCLUDE_GRAPH = YES # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and # HAVE_DOT tags are set to YES then doxygen will generate a graph for each # documented header file showing the documented files that directly or # indirectly include this file. INCLUDED_BY_GRAPH = YES # If the CALL_GRAPH and HAVE_DOT options are set to YES then # doxygen will generate a call dependency graph for every global function # or class method. Note that enabling this option will significantly increase # the time of a run. So in most cases it will be better to enable call graphs # for selected functions only using the \callgraph command. CALL_GRAPH = NO # If the CALLER_GRAPH and HAVE_DOT tags are set to YES then # doxygen will generate a caller dependency graph for every global function # or class method. Note that enabling this option will significantly increase # the time of a run. So in most cases it will be better to enable caller # graphs for selected functions only using the \callergraph command. CALLER_GRAPH = NO # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen # will graphical hierarchy of all classes instead of a textual one. GRAPHICAL_HIERARCHY = YES # If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES # then doxygen will show the dependencies a directory has on other directories # in a graphical way. The dependency relations are determined by the #include # relations between the files in the directories. DIRECTORY_GRAPH = YES # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images # generated by dot. Possible values are png, jpg, or gif # If left blank png will be used. DOT_IMAGE_FORMAT = png # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found in the path. DOT_PATH = # The DOTFILE_DIRS tag can be used to specify one or more directories that # contain dot files that are included in the documentation (see the # \dotfile command). DOTFILE_DIRS = # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of # nodes that will be shown in the graph. If the number of nodes in a graph # becomes larger than this value, doxygen will truncate the graph, which is # visualized by representing a node as a red box. Note that doxygen if the # number of direct children of the root node in a graph is already larger than # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note # that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. DOT_GRAPH_MAX_NODES = 50 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the # graphs generated by dot. A depth value of 3 means that only nodes reachable # from the root by following a path via at most 3 edges will be shown. Nodes # that lay further from the root node will be omitted. Note that setting this # option to 1 or 2 may greatly reduce the computation time needed for large # code bases. Also note that the size of a graph can be further restricted by # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. MAX_DOT_GRAPH_DEPTH = 0 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent # background. This is enabled by default, which results in a transparent # background. Warning: Depending on the platform used, enabling this option # may lead to badly anti-aliased labels on the edges of a graph (i.e. they # become hard to read). DOT_TRANSPARENT = YES # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output # files in one run (i.e. multiple -o and -T options on the command line). This # makes dot run faster, but since only newer versions of dot (>1.8.10) # support this, this feature is disabled by default. DOT_MULTI_TARGETS = NO # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will # generate a legend page explaining the meaning of the various boxes and # arrows in the dot generated graphs. GENERATE_LEGEND = YES # If the DOT_CLEANUP tag is set to YES (the default) Doxygen will # remove the intermediate dot files that are used to generate # the various graphs. DOT_CLEANUP = YES #--------------------------------------------------------------------------- # Configuration::additions related to the search engine #--------------------------------------------------------------------------- # The SEARCHENGINE tag specifies whether or not a search engine should be # used. If set to NO the values of all tags below this one will be ignored. SEARCHENGINE = NO gsasl-1.8.1/doc/gsasl-callback-retrieve.texi0000664000000000000000000000212111746471770015663 00000000000000@deftypefn Prototype int (*Gsasl_server_callback_retrieve) (Gsasl_session_ctx * @var{ctx}, char * @var{authentication_id}, char * @var{authorization_id}, char * @var{realm}, char * @var{key}, size_t * @var{keylen}) @var{ctx}: libgsasl handle. @var{authentication_id}: input array with authentication identity. @var{authorization_id}: input array with authorization identity, or NULL. @var{realm}: input array with realm of user, or NULL. @var{key}: output array with key for authentication identity. @var{keylen}: on input the maximum size of the key output array, on output contains the actual size of the key output array. Type of callback function the application implements. It should retrieve the password for the indicated user and return GSASL_OK, or an error code such as GSASL_AUTHENTICATION_ERROR. The key must be encoded in UTF-8, but need not be normalized in any way. If KEY is NULL, the function should only populate the KEYLEN output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. @end deftypefn gsasl-1.8.1/doc/abstraction.dia0000664000000000000000000000430311746471770013276 00000000000000]]o6}ϯܗ pIi^2x[Hbiɐm&K$7~HY-t) ];a}9,ro৫ÏĻ2?\\! syot1:Ӵs;űǡ;Ď+r0g,`ViY." ss ^8б)e v|:\$~XI[Ez56^mO)=%;Rxe /A,ҙcT  FuơEixoQpljfLJءdqqpl/:%Vu.Bw~xfZDwrF(g7r#;{׏[ NmRyqHuyXlܹf6%icowjl:'Li-S`3nc۟\;~ v{w~9xg'ƙ?`7P[di>tO7E:Qt2Dbk\mOB{nt$v0?:_bЇ͇> !!]΂ Œ4!CE\L~sI^]ggEdGXwAI;;@6iA8`f@i/# b"Uj%wFؑ:a|V$1@er2 #ZٱY Mm$$33/Q2 }DLOKN; ([]Q] Q9"h9Ip=~{S*&tAi,)uC*+DžTQ\$84m&Ӗե\4V*љ#}-%m:&EaR5p+hMOS Jq^_D !_p&R>hIy0c܇PByL26 =7Rkg?ol#zS8TǴ)ל$eX(aKDC^n2bliIrncn>7u7&HTo@&E'vEAcّvNGr_ _TAȣ] yJ ߬@cۿpGf+guADr=IB´jN1Ky-GQEK?[mY{H sk & FO־y+j9+—>}Gzo@,4 SL \6n%f){J"{E%dϞa+d!o͡s$dF{\eyʟ1T9G"|ER7}'l2?zREgsasl-1.8.1/doc/gdoc0000755000000000000000000007203713516252320011140 00000000000000eval '(exit $?0)' && eval 'exec perl -S "$0" ${1+"$@"}' & eval 'exec perl -S "$0" $argv:q' if 0; ## Copyright (c) 2002-2019 Simon Josefsson ## added -texinfo, -listfunc, -pkg-name ## man page revamp ## various improvements ## Copyright (c) 2001, 2002 Nikos Mavrogiannopoulos ## added -tex ## Copyright (c) 1998 Michael Zucchi ## Copyright (c) 2013 Adam Sampson ## made highlighting not depend on hash order, for Perl 5.18 # 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 3 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, see . # This will read a C source code file and scan for embedded comments # in the style of gnome comments (+minor extensions - see below). # usage: # gdoc [ -docbook | -html | -text | -man | -tex | -texinfo | -listfunc ] # [ -sourceversion verno ] [ -include file | -includefuncprefix ] # [ -bugsto address ] [ -pkg-name packagename ] # [ -seeinfo infonode ] [ -copyright notice ] [ -verbatimcopying ] # [ -function funcname [ -function funcname ...] ] c file(s)s > outputfile # # Set output format using one of -docbook, -html, -text, -man, -tex, # -texinfo, or -listfunc. Default is man. # # -sourceversion # Version number for source code, e.g. '1.0.4'. Used in 'man' headers. # Defaults to using current date. # # -include FILE # For man pages, mention #include in the synopsis. # # -includefuncprefix # For man pages, mention a #include in the synopsis. # The FILE derived from the function prefix. For example, a # function gss_init_sec_context will generate an include # statement of #include . # # -bugsto address # For man pages, include a section about reporting bugs and mention # the given e-mail address, e.g 'bug-libidn@gnu.org'. # # -pkg-name packagename # For man pages when -bugsto is used, also include help URLs to the # the project's home page. For example, "GNU Libidn". # # -seeinfo infonode # For man pages, include a section that point to an info manual # for more information. # # -copyright notice # For man pages, include a copyright section with the given # notice after a preamble. Use, e.g., '2002, 2003 Simon Josefsson'. # # -verbatimcopying # For man pages, and when the -copyright parameter is used, # add a licensing statement that say verbatim copying is permitted. # # -function funcname # If set, then only generate documentation for the given function(s). All # other functions are ignored. # # c files - list of 'c' files to process # # All output goes to stdout, with errors to stderr. # # format of comments. # In the following table, (...)? signifies optional structure. # (...)* signifies 0 or more structure elements # /** # * function_name(:)? (- short description)? # (* @parameterx: (description of parameter x)?)* # (* a blank line)? # * (Description:)? (Description of function)? # * (Section header: (section description)? )* # (*)?*/ # # So .. the trivial example would be: # # /** # * my_function # **/ # # If the Description: header tag is ommitted, then there must be a blank line # after the last parameter specification. # e.g. # /** # * my_function - does my stuff # * @my_arg: its mine damnit # * # * Does my stuff explained. # */ # # or, could also use: # /** # * my_function - does my stuff # * @my_arg: its mine damnit # * Description: Does my stuff explained. # */ # etc. # # All descriptions can be multiline, apart from the short function description. # # All descriptive text is further processed, scanning for the following special # patterns, which are highlighted appropriately. # # 'funcname()' - function # '$ENVVAR' - environmental variable OBSOLETE (?) # '#struct_name' - name of a structure # '@parameter' - name of a parameter # '%CONST' - name of a constant. # # Extensions for LaTeX: # # 1. the symbol '->' will be replaced with a rightarrow # 2. x^y with ${x}^{y}$. # 3. xxx\: with xxx: use POSIX qw(strftime); # match expressions used to find embedded type information $type_constant = "\\\%([A-Za-z0-9_]+)"; $type_func = "([A-Za-z0-9_]+\\(\\))"; $type_param = '\@([A-Za-z0-9_]+)\s*'; $type_struct = "\\\#([A-Za-z0-9_]+)"; $type_env = "(\\\$[A-Za-z0-9_]+)"; # Output conversion substitutions. # One for each output format # these work fairly well @highlights_html = ( [$type_constant, '"$1"'], [$type_func, '"$1"'], [$type_struct, '"$1"'], [$type_param, '" $1 "'] ); $blankline_html = "

"; @highlights_texinfo = ( [$type_param, '" \@code{$1} "'], [$type_constant, '"\@code{$1} "'], [$type_func, '"\@code{$1} "'], [$type_struct, '"\@code{$1} "'], ); $blankline_texinfo = ""; @highlights_tex = ( [$type_param, '" {\\\bf $1} "'], [$type_constant, '"{\\\it $1}"'], [$type_func, '"{\\\bf $1}"'], [$type_struct, '"{\\\it $1}"'], ); $blankline_tex = "\\\\"; # sgml, docbook format @highlights_sgml = ( [$type_constant, '"$1"'], [$type_func, '"$1"'], [$type_struct, '"$1"'], [$type_env, '"$1"'], [$type_param, '" $1 "'] ); $blankline_sgml = "\n"; # these are pretty rough @highlights_man = ( [$type_constant, '"\\\fB$1\\\fP"'], [$type_func, '"\\\fB$1\\\fP"'], [$type_struct, '"\\\fB$1\\\fP"'], [$type_param, '" \\\fI$1\\\fP "'] ); $blankline_man = ""; # text-mode @highlights_text = ( [$type_constant, '"$1"'], [$type_func, '"$1"'], [$type_struct, '"$1"'], [$type_param, '"$1 "'] ); $blankline_text = ""; my $lineprefix = ""; sub usage { print "Usage: $0 [ -v ] [ -docbook | -html | -text | -man | -tex | -texinfo -listfunc ]\n"; print " [ -sourceversion verno ] [ -include file | -includefuncprefix ]\n"; print " [ -bugsto address ] [ -seeinfo infonode ] [ -copyright notice]\n"; print " [ -verbatimcopying ] [ -pkg-name packagename ]\n"; print " [ -function funcname [ -function funcname ...] ]\n"; print " c source file(s) > outputfile\n"; exit 1; } # read arguments if ($#ARGV==-1) { usage(); } $verbose = 0; $output_mode = "man"; @highlights = @highlights_man; $blankline = $blankline_man; $modulename = "API Documentation"; $sourceversion = strftime "%Y-%m-%d", localtime; $function_only = 0; while ($ARGV[0] =~ m/^-(.*)/) { $cmd = shift @ARGV; if ($cmd eq "-html") { $output_mode = "html"; @highlights = @highlights_html; $blankline = $blankline_html; } elsif ($cmd eq "-man") { $output_mode = "man"; @highlights = @highlights_man; $blankline = $blankline_man; } elsif ($cmd eq "-tex") { $output_mode = "tex"; @highlights = @highlights_tex; $blankline = $blankline_tex; } elsif ($cmd eq "-texinfo") { $output_mode = "texinfo"; @highlights = @highlights_texinfo; $blankline = $blankline_texinfo; } elsif ($cmd eq "-text") { $output_mode = "text"; @highlights = @highlights_text; $blankline = $blankline_text; } elsif ($cmd eq "-docbook") { $output_mode = "sgml"; @highlights = @highlights_sgml; $blankline = $blankline_sgml; } elsif ($cmd eq "-listfunc") { $output_mode = "listfunc"; } elsif ($cmd eq "-module") { # not needed for sgml, inherits from calling document $modulename = shift @ARGV; } elsif ($cmd eq "-sourceversion") { $sourceversion = shift @ARGV; } elsif ($cmd eq "-include") { $include = shift @ARGV; } elsif ($cmd eq "-includefuncprefix") { $includefuncprefix = 1; } elsif ($cmd eq "-bugsto") { $bugsto = shift @ARGV; } elsif ($cmd eq "-pkg-name") { $pkgname = shift @ARGV; } elsif ($cmd eq "-copyright") { $copyright = shift @ARGV; } elsif ($cmd eq "-verbatimcopying") { $verbatimcopying = 1; } elsif ($cmd eq "-seeinfo") { $seeinfo = shift @ARGV; } elsif ($cmd eq "-function") { # to only output specific functions $function_only = 1; $function = shift @ARGV; $function_table{$function} = 1; } elsif ($cmd eq "-v") { $verbose = 1; } elsif (($cmd eq "-h") || ($cmd eq "--help")) { usage(); } } ## # dumps section contents to arrays/hashes intended for that purpose. # sub dump_section { my $name = shift @_; my $contents = join "\n", @_; $name = " $name"; if ($name =~ m/$type_constant/) { $name = $1; # print STDERR "constant section '$1' = '$contents'\n"; $constants{$name} = $contents; } elsif ($name =~ m/$type_param/) { # print STDERR "parameter def '$1' = '$contents'\n"; $name = $1; $parameters{$name} = $contents; } else { # print STDERR "other section '$name' = '$contents'\n"; $name =~ tr/ //d; $sections{$name} = $contents; push @sectionlist, $name; } } ## # output function # # parameters, a hash. # function => "function name" # parameterlist => @list of parameters # parameters => %parameter descriptions # sectionlist => @list of sections # sections => %descriont descriptions # sub just_highlight { my $contents = join "\n", @_; my $line; my $ret = ""; foreach $highlight (@highlights) { my ($pattern, $replace) = @$highlight; #print "scanning pattern $pattern ($replace)\n"; $contents =~ s/$pattern/$replace/gees; } foreach $line (split "\n", $contents) { if ($line eq ""){ $ret = $ret . $lineprefix . $blankline; } else { $ret = $ret . $lineprefix . $line; } $ret = $ret . "\n"; } return $ret; } sub output_highlight { print (just_highlight (@_)); } # output in texinfo sub output_texinfo { my %args = %{$_[0]}; my ($parameter, $section); my $count; print "\@subheading ".$args{'function'}."\n"; print "\@anchor{".$args{'function'}."}\n"; print "\@deftypefun {" . $args{'functiontype'} . "} "; print "{".$args{'function'}."} "; print "("; $count = 0; foreach $parameter (@{$args{'parameterlist'}}) { print $args{'parametertypes'}{$parameter}." \@var{".$parameter."}"; if ($count != $#{$args{'parameterlist'}}) { $count++; print ", "; } } print ")\n"; foreach $parameter (@{$args{'parameterlist'}}) { if ($args{'parameters'}{$parameter}) { print "\@var{".$parameter."}: "; output_highlight($args{'parameters'}{$parameter}); print "\n"; } } foreach $section (@{$args{'sectionlist'}}) { $section =~ s/\@//g; print "\n\@strong{$section:} " if $section ne $section_default; $args{'sections'}{$section} =~ s:([{}]):\@$1:gs; output_highlight($args{'sections'}{$section}); } print "\@end deftypefun\n\n"; } sub output_enum_texinfo { my %args = %{$_[0]}; my ($parameter, $section); my $count; my $name = $args{'enum'}; my $param; my $param2; my $sec; my $check; my $type; print "\n\@c $name\n"; print "\@table \@code\n"; $check=0; foreach $parameter (@{$args{'parameterlist'}}) { $param1 = $parameter; $param1 =~ s/_/_\@-/g; $check = 1; print "\@item ".$param1."\n"; # print "\n"; $param2 = $args{'parameters'}{$parameter}; $out = just_highlight($param2); chomp $out; print $out . "\n"; } print "\@end table\n"; } # output in html sub output_html { my %args = %{$_[0]}; my ($parameter, $section); my $count; print "\n\n 

Function

\n"; print "".$args{'functiontype'}."\n"; print "".$args{'function'}."\n"; print "("; $count = 0; foreach $parameter (@{$args{'parameterlist'}}) { print "".$args{'parametertypes'}{$parameter}." ".$parameter."\n"; if ($count != $#{$args{'parameterlist'}}) { $count++; print ", "; } } print ")\n"; print "

Arguments

\n"; print "
\n"; foreach $parameter (@{$args{'parameterlist'}}) { print "
".$args{'parametertypes'}{$parameter}." ".$parameter."\n"; print "
"; output_highlight($args{'parameters'}{$parameter}); } print "
\n"; foreach $section (@{$args{'sectionlist'}}) { print "

$section

\n"; print "
    \n"; output_highlight($args{'sections'}{$section}); print "
\n"; } print "
\n"; } # output in tex sub output_tex { my %args = %{$_[0]}; my ($parameter, $section); my $count; my $func = $args{'function'}; my $param; my $param2; my $sec; my $check; my $type; $func =~ s/_/\\_/g; print "\n\n\\begin{function}\n"; print "\\functionTitle{". $func . "}\n"; print "\\index{". $func . "}\n"; $type = $args{'functiontype'}; $type =~ s/_/\\_/g; print "{\\it ".$type."}\n"; print "{\\bf ".$func."}\n"; print "("; $count = 0; foreach $parameter (@{$args{'parameterlist'}}) { $param = $args{'parametertypes'}{$parameter}; $param2 = $parameter; $param =~ s/_/\\_/g; $param2 =~ s/_/\\_/g; print "{\\it ".$param."} {\\bf ".$param2."}"; if ($count != $#{$args{'parameterlist'}}) { $count++; print ", "; } } print ")\n"; print "\n\\begin{functionArguments}\n"; $check=0; foreach $parameter (@{$args{'parameterlist'}}) { $param1 = $args{'parametertypes'}{$parameter}; $param1 =~ s/_/\\_/g; $param2 = $parameter; $param2 =~ s/_/\\_/g; $check = 1; print "\\functionArgument {\\it ".$param1."} {\\bf ".$param2."}: \n"; # print "\n"; $param3 = $args{'parameters'}{$parameter}; $param3 =~ s/\#([a-zA-Z\_]+)/{\\it $1}/g; $param3 =~ s/\%([a-zA-Z\_]+)/{\\bf $1}/g; $out = just_highlight($param3); $out =~ s/_/\\_/g; print $out; } if ($check==0) { print "\\item void\n"; } print "\\end{functionArguments}\n"; foreach $section (@{$args{'sectionlist'}}) { $sec = $section; $sec =~ s/_/\\_/g; $sec =~ s/#([a-zA-Z\_]+)/{\\it $1}/g; print "\n\\begin{function${sec}}\n"; $out = $args{'sections'}{$section}; $out =~ s/\#([a-zA-Z\_]+)/{\\it $1}/g; $out =~ s/\%([a-zA-Z\_]+)/{\\bf $1}/g; $out =~ s/\@([a-zA-Z\_]+)/{\\bf $1}/g; $out =~ s/_/\\_\\-/g; $out =~ s/\$/\\\$/g; $out =~ s/#/\\#/g; $out =~ s/\n\n/\n/g; $out =~ s/\\:/:/g; $out =~ s/\-\>/\$\\rightarrow\$/g; $out =~ s/([0-9]+)\^([0-9]+)/\$\{$1\}\^\{$2\}\$/g; print $out; print "\\end{function${sec}}\n"; } print "\\end{function}\n\n"; } sub output_enum_tex { my %args = %{$_[0]}; my ($parameter, $section); my $count; my $name = $args{'enum'}; my $param; my $param2; my $sec; my $check; my $type; print "\n\n\\begin{enum}\n"; $name =~ s/_/\\_/g; print "\\enumTitle{". $name . "}\n"; print "\\index{". $name . "}\n"; print "\n\\begin{enumList}\n"; $check=0; foreach $parameter (@{$args{'parameterlist'}}) { $param1 = $parameter; $param1 =~ s/_/\\_\\-/g; $check = 1; print "\\enumElement{".$param1."}{"; # print "\n"; $param2 = $args{'parameters'}{$parameter}; $param2 =~ s/\#([a-zA-Z\_]+)/{\\it $1}/g; $param2 =~ s/\%([a-zA-Z\_]+)/{\\bf $1}/g; $out = just_highlight($param2); $out =~ s/_/\\_/g; chomp $out; print $out . "}\n"; } print "\\end{enumList}\n"; print "\\end{enum}\n\n"; } # output in sgml DocBook sub output_sgml { my %args = %{$_[0]}; my ($parameter, $section); my $count; my $id; $id = $args{'module'}."-".$args{'function'}; $id =~ s/[^A-Za-z0-9]/-/g; print "\n"; print "\n"; print "".$args{'function'}."\n"; print "\n"; print "\n"; print " ".$args{'function'}."\n"; print " \n"; print " ".$args{'purpose'}."\n"; print " \n"; print "\n"; print "\n"; print " Synopsis\n"; print " \n"; print " ".$args{'functiontype'}." "; print "".$args{'function'}." "; print "\n"; # print "\n"; # print " Synopsis\n"; # print " \n"; # print " ".$args{'functiontype'}." "; # print "".$args{'function'}." "; # print "\n"; $count = 0; if ($#{$args{'parameterlist'}} >= 0) { foreach $parameter (@{$args{'parameterlist'}}) { print " ".$args{'parametertypes'}{$parameter}; print " $parameter\n"; } } else { print " \n"; } print " \n"; print "\n"; # print "\n"; # print parameters print "\n Arguments\n"; # print "\nArguments\n"; if ($#{$args{'parameterlist'}} >= 0) { print " \n"; foreach $parameter (@{$args{'parameterlist'}}) { print " \n $parameter\n"; print " \n \n"; $lineprefix=" "; output_highlight($args{'parameters'}{$parameter}); print " \n \n \n"; } print " \n"; } else { print " \n None\n \n"; } print "\n"; # print out each section $lineprefix=" "; foreach $section (@{$args{'sectionlist'}}) { print "\n $section\n \n"; # print "\n$section\n"; if ($section =~ m/EXAMPLE/i) { print "\n"; } output_highlight($args{'sections'}{$section}); # print ""; if ($section =~ m/EXAMPLE/i) { print "\n"; } print " \n\n"; } print "\n\n"; } ## # output in man sub output_man { my %args = %{$_[0]}; my ($parameter, $section); my $count; print ".\\\" DO NOT MODIFY THIS FILE! It was generated by gdoc.\n"; print ".TH \"$args{'function'}\" 3 \"$args{'sourceversion'}\" \"". $args{'module'} . "\" \"". $args{'module'} . "\"\n"; print ".SH NAME\n"; print $args{'function'}; if ($args{'purpose'}) { print " \\- " . $args{'purpose'} . "\n"; } else { print " \\- API function\n"; } print ".SH SYNOPSIS\n"; print ".B #include <". $args{'include'} . ">\n" if $args{'include'}; print ".B #include <". lc((split /_/, $args{'function'})[0]) . ".h>\n" if $args{'includefuncprefix'}; print ".sp\n"; print ".BI \"".$args{'functiontype'}." ".$args{'function'}."("; $count = 0; foreach $parameter (@{$args{'parameterlist'}}) { print $args{'parametertypes'}{$parameter}." \" ".$parameter." \""; if ($count != $#{$args{'parameterlist'}}) { $count++; print ", "; } } print ");\"\n"; print ".SH ARGUMENTS\n"; foreach $parameter (@{$args{'parameterlist'}}) { print ".IP \"".$args{'parametertypes'}{$parameter}." ".$parameter."\" 12\n"; $param = $args{'parameters'}{$parameter}; $param =~ s/-/\\-/g; output_highlight($param); } foreach $section (@{$args{'sectionlist'}}) { print ".SH \"" . uc($section) . "\"\n"; $sec = $args{'sections'}{$section}; $sec =~ s/-/\\-/g; output_highlight($sec); } if ($args{'bugsto'}) { print ".SH \"REPORTING BUGS\"\n"; print "Report bugs to <". $args{'bugsto'} . ">.\n"; print ".br\n"; print "General guidelines for reporting bugs: http://www.gnu.org/gethelp/\n"; print ".br\n"; if ($args{'pkgname'}) { print $args{'pkgname'} . " home page: " . "http://www.gnu.org/software/" . $args{'module'} . "/\n"; } print "\n"; } if ($args{'copyright'}) { print ".SH COPYRIGHT\n"; print "Copyright \\(co ". $args{'copyright'} . ".\n"; if ($args{'verbatimcopying'}) { print ".br\n"; print "Copying and distribution of this file, with or without modification,\n"; print "are permitted in any medium without royalty provided the copyright\n"; print "notice and this notice are preserved.\n"; } } if ($args{'seeinfo'}) { print ".SH \"SEE ALSO\"\n"; print "The full documentation for\n"; print ".B " . $args{'module'} . "\n"; print "is maintained as a Texinfo manual. If the\n"; print ".B info\n"; print "and\n"; print ".B " . $args{'module'} . "\n"; print "programs are properly installed at your site, the command\n"; print ".IP\n"; print ".B info " . $args{'seeinfo'} . "\n"; print ".PP\n"; print "should give you access to the complete manual.\n"; print "As an alternative you may obtain the manual from:\n"; print ".IP\n"; print ".B http://www.gnu.org/software/" . $args{'module'} . "/manual/\n"; print ".PP\n"; } } sub output_listfunc { my %args = %{$_[0]}; print $args{'function'} . "\n"; } ## # output in text sub output_text { my %args = %{$_[0]}; my ($parameter, $section); print "Function = ".$args{'function'}."\n"; print " return type: ".$args{'functiontype'}."\n\n"; foreach $parameter (@{$args{'parameterlist'}}) { print " ".$args{'parametertypes'}{$parameter}." ".$parameter."\n"; print " -> ".$args{'parameters'}{$parameter}."\n"; } foreach $section (@{$args{'sectionlist'}}) { print " $section:\n"; print " -> "; output_highlight($args{'sections'}{$section}); } } ## # generic output function - calls the right one based # on current output mode. sub output_function { # output_html(@_); eval "output_".$output_mode."(\@_);"; } sub output_enum { eval "output_enum_".$output_mode."(\@_);"; } ## # takes a function prototype and spits out all the details # stored in the global arrays/hsahes. sub dump_function { my $prototype = shift @_; if ($prototype =~ m/^()([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || $prototype =~ m/^(\w+)\s+([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || $prototype =~ m/^(\w+\s*\*)\s*([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || $prototype =~ m/^(\w+\s+\w+)\s+([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || $prototype =~ m/^(\w+\s+\w+\s*\*)\s*([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/) { $return_type = $1; $function_name = $2; $args = $3; # print STDERR "ARGS = '$args'\n"; foreach $arg (split ',', $args) { # strip leading/trailing spaces $arg =~ s/^\s*//; $arg =~ s/\s*$//; # print STDERR "SCAN ARG: '$arg'\n"; @args = split('\s', $arg); # print STDERR " -> @args\n"; $param = pop @args; # print STDERR " -> @args\n"; if ($param =~ m/^(\*+)(.*)/) { $param = $2; push @args, $1; } if ($param =~ m/^(.*)(\[\])$/) { $param = $1; push @args, $2; } # print STDERR " :> @args\n"; $type = join " ", @args; if ((!defined($parameters{$param}) || $parameters{$param} eq "") && $param ne "void") { $parameters{$param} = "-- undescribed --"; print STDERR "warning: $lineno: Function parameter '$param' not described in '$function_name'\n"; } push @parameterlist, $param; $parametertypes{$param} = $type; # print STDERR "param = '$param', type = '$type'\n"; } } else { print STDERR "warning: $lineno: Cannot understand prototype: '$prototype'\n" if (!($prototype =~ m,GSASL_VALID_MECHANISM_CHARACTERS,)); return; } if ($function_only==0 || defined($function_table{$function_name})) { output_function({'function' => $function_name, 'module' => $modulename, 'sourceversion' => $sourceversion, 'include' => $include, 'includefuncprefix' => $includefuncprefix, 'bugsto' => $bugsto, 'pkgname' => $pkgname, 'copyright' => $copyright, 'verbatimcopying' => $verbatimcopying, 'seeinfo' => $seeinfo, 'functiontype' => $return_type, 'parameterlist' => \@parameterlist, 'parameters' => \%parameters, 'parametertypes' => \%parametertypes, 'sectionlist' => \@sectionlist, 'sections' => \%sections, 'purpose' => $function_purpose }); } } sub dump_enum { my $prototype = shift @_; if (($prototype =~ m/^\s*typedef\s+enum\s*[a-zA-Z0-9_~:]*\s*\{([\-a-zA-Z0-9_~=,:\s\(\)\<]+)\s*\}\s*([a-zA-Z0-9_]+);.*/)) { # || $prototype =~ m/^\s*enum\s+([a-zA-Z0-9_~:]+).*/) { $args = $1; $name = $2; foreach $arg (split ',', $args) { # strip leading/trailing spaces $arg =~ s/^\s*//; $arg =~ s/\s*$//; $arg =~ s/([A-Za-z0-9_]+)\s*=.*/$1/g; # print STDERR "SCAN ARG: '$arg'\n"; next if $arg eq ''; if ((!defined($parameters{$arg}) || $parameters{$arg} eq "")) { $parameters{$arg} = "-- undescribed --"; print STDERR "warning: $lineno: Enumeration parameter '$arg' not described in '$name'\n"; } push @parameterlist, $arg; # print STDERR "param = '$arg'\n"; } } else { # print STDERR "warning: $lineno: Cannot understand enumeration: '$prototype'\n"; return; } output_enum({'enum' => $name, 'module' => $modulename, 'sourceversion' => $sourceversion, 'include' => $include, 'includefuncprefix' => $includefuncprefix, 'bugsto' => $bugsto, 'pkgname' => $pkgname, 'copyright' => $copyright, 'verbatimcopying' => $verbatimcopying, 'seeinfo' => $seeinfo, 'functiontype' => $return_type, 'parameterlist' => \@parameterlist, 'parameters' => \%parameters, 'parametertypes' => \%parametertypes, 'sectionlist' => \@sectionlist, 'sections' => \%sections, 'purpose' => $function_purpose }); } ###################################################################### # main # states # 0 - normal code # 1 - looking for function name # 2 - scanning field start. # 3 - scanning prototype. $state = 0; $section = ""; $doc_special = "\@\%\$\#"; $doc_start = "^/\\*\\*\$"; $doc_end = "\\*/"; $doc_com = "\\s*\\*\\s*"; $doc_func = $doc_com."(\\w+):?"; $doc_sect = $doc_com."([".$doc_special."[:upper:]][\\w]+):\\s*(.*)"; $doc_content = $doc_com."(.*)"; %constants = (); %parameters = (); @parameterlist = (); %sections = (); @sectionlist = (); $contents = ""; $section_default = "Description"; # default section $section = $section_default; $enum = 0; $lineno = 0; foreach $file (@ARGV) { if (!open(IN,"<$file")) { print STDERR "Error: Cannot open file $file\n"; next; } while ($line = ) { $lineno++; if ($state == 0) { if ($line =~ /$doc_start/o) { $state = 1; # next line is always the function name # print STDERR "XXX: start of doc comment\n"; } } elsif ($state == 1) { # this line is the function name (always) if ($line =~ /$doc_func/o) { $function = $1; $state = 2; # print STDERR "XXX: start of doc comment, looking for prototype\n"; if ($line =~ /-\s*(.*)/) { $function_purpose = $1; } else { $function_purpose = ""; } if ($verbose) { print STDERR "Info($lineno): Scanning doc for $function\n"; } } else { print STDERR "warning: $lineno: Cannot understand $_ on line $lineno", " - I thought it was a doc line\n"; $state = 0; } } elsif ($state == 2) { # look for head: lines, and include content if ($line =~ /$doc_sect/o) { $newsection = $1; $newcontents = $2; if ($contents ne '') { dump_section($section, $contents); $section = $section_default; } $contents = $newcontents; if ($contents ne "") { $contents .= "\n"; } $section = $newsection; } elsif ($line =~ /$doc_end/) { if ($contents ne "") { dump_section($section, $contents); $section = $section_default; $contents = ""; } $prototype = ''; $state = 3; } elsif ($line =~ /$doc_content/) { # miguel-style comment kludge, look for blank lines after # @parameter line to signify start of description if ($1 eq '' && $section =~ m/^@/) { dump_section($section, $contents); $section = $section_default; $contents = ""; } else { $contents .= $1."\n"; } } else { # i dont know - bad line? ignore. print STDERR "warning: $lineno: Bad line: $_"; } } elsif ($state == 3) { # scanning for function { (end of prototype) if ($line =~ /([a-zA-Z\s]+)enum(.*)$/) { $enum = 1; } if ($line =~ m#\s*/\*\s+MACDOC\s*#io) { # do nothing } elsif ($enum == 1 && $line =~ /(\s*\{).*/) { $prototype = "typedef enum {"; } elsif ($line =~ /([^\{]*)/) { $prototype .= $1; } if ($enum == 0 && $line =~ /;/) { $prototype =~ s@/\*.*?\*/@@gos; # strip comments. $prototype =~ s@[\r\n]+@ @gos; # strip newlines/cr's. $prototype =~ s@^ +@@gos; # strip leading spaces dump_function($prototype); $function = ""; %constants = (); %parameters = (); %parametertypes = (); @parameterlist = (); %sections = (); @sectionlist = (); $prototype = ""; $enum = 0; $state = 0; } elsif ($enum == 1 && $line =~ /\}/) { $prototype =~ s@/\*.*?\*/@@gos; # strip comments. $prototype =~ s@[\r\n]+@ @gos; # strip newlines/cr's. $prototype =~ s@^ +@@gos; # strip leading spaces dump_enum($prototype); $function = ""; %constants = (); %parameters = (); %parametertypes = (); @parameterlist = (); %sections = (); @sectionlist = (); $prototype = ""; $enum = 0; $state = 0; } } } } gsasl-1.8.1/doc/gsasl.html0000644000000000000000000135306513521017430012276 00000000000000 GNU Simple Authentication and Security Layer 1.8.1

GNU Simple Authentication and Security Layer 1.8.1

Table of Contents

Next: , Up: (dir)   [Contents][Index]

GNU Simple Authentication and Security Layer

This manual was last updated 25 July 2019 for version 1.8.1 of GNU SASL.

Copyright © 2002-2019 Simon Josefsson.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

This manual can be used in several ways. If read from the beginning to the end, it gives the reader an understanding of the SASL framework and the GNU SASL implementation, and how the GNU SASL library is used in an application. Forward references are included where necessary. Later on, the manual can be used as a reference manual to get just the information needed about any particular interface of the library. Experienced programmers might want to start looking at the examples at the end of the manual, and then only read up those parts of the interface which are unclear.


1.1 SASL Overview

SASL is a framework for application protocols, such as SMTP or IMAP, to add authentication support. For example, SASL is used to prove to the server who you are when you access an IMAP server to read your e-mail.

The SASL framework does not specify the technology used to perform the authentication, that is the responsibility for each SASL mechanism. Popular SASL mechanisms include CRAM-MD5 and GSSAPI (for Kerberos V5).

Typically a SASL negotiation works as follows. First the client requests authentication (possibly implicitly by connecting to the server). The server responds with a list of supported mechanisms. The client chose one of the mechanisms. The client and server then exchange data, one round-trip at a time, until authentication either succeeds or fails. After that, the client and server knows more about who is on the other end of the channel.

For example, in SMTP communication happens like this:

250-mail.example.com Hello pc.example.org [192.168.1.42], pleased to meet you
250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250 HELP
AUTH CRAM-MD5
334 PDk5MDgwNDEzMDUwNTUyMTE1NDQ5LjBAbG9jYWxob3N0Pg==
amFzIDBkZDRkODZkMDVjNjI4ODRkYzc3OTcwODE4ZGI5MGY3
235 2.0.0 OK Authenticated

Here the first three lines are sent by the server and contains the list of supported mechanisms (DIGEST-MD5, CRAM-MD5, etc). The next line is sent by the client to select the CRAM-MD5 mechanism. The server replies with a challenge, which is a message that can be generated by calling GNU SASL functions. The client replies with a response, which also is a message that can be generated by GNU SASL functions. Depending on the mechanism, there can be more than one round trip, so do not assume all authentication exchanges consists of one message from the server and one from the client. The server accepts the authentication. At that point it knows it is talking to a authenticated client, and the application protocol can continue.

Essentially, your application is responsible for implementing the framing protocol (e.g., SMTP or XMPP) according to the particular specifications. Your application uses GNU SASL to generate the authentication messages.


Next: , Previous: , Up: Introduction   [Contents][Index]

1.2 Implementation

GNU SASL is an implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms.

GNU SASL consists of a library (libgsasl), a command line utility (gsasl) to access the library from the shell, and a manual. The library includes support for the framework (with authentication functions and application data privacy and integrity functions) and at least partial support for the ANONYMOUS, CRAM-MD5, DIGEST-MD5, EXTERNAL, GS2-KRB5, GSSAPI, LOGIN, NTLM, PLAIN, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, SAML20, OPENID20, and SECURID mechanisms.

The library is easily ported because it does not do network communication by itself, but rather leaves it up to the calling application. The library is flexible with regards to the authorization infrastructure used, as it utilizes a callback into the application to decide whether a user is authorized or not.

GNU SASL is developed for the GNU/Linux system, but runs on over 20 platforms including most major Unix platforms and Windows, and many kind of devices including iPAQ handhelds and S/390 mainframes.

GNU SASL is written in pure ANSI C89 to be portable to embedded and otherwise limited platforms. The entire library, with full support for ANONYMOUS, EXTERNAL, PLAIN, LOGIN and CRAM-MD5, and the front-end that supports client and server mode, and the IMAP and SMTP protocols, fits in under 80kb on an Intel x86 platform, without any modifications to the code. (This figure was accurate as of version 1.1.)

The design of the library and the intended interaction between applications and the library through the official API is illustrated below.

abstraction

Illustration 1.1: Logical overview showing how applications use authentication mechanisms through an abstract interface.


Next: , Previous: , Up: Introduction   [Contents][Index]

1.3 Features

GNU SASL might have a couple of advantages over other libraries doing a similar job.

It’s Free Software

Anybody can use, modify, and redistribute it under the terms of the GNU General Public License version 3.0 or later. The library uses the GNU Lesser General Public License version 2.1 or later.

It’s thread-safe

No global variables are used and multiple library handles and session handles may be used in parallel.

It’s internationalized

It handles non-ASCII usernames and passwords and user visible strings used in the library (error messages) can be translated into the users’ language.

It’s portable

It should work on all Unix like operating systems, including Windows. The library itself should be portable to any C89 system, not even POSIX is required.

It’s small

The library has been rewritten with embedded platforms in mind. For example, no API consumes more than around 250 bytes of stack space.

Note that the library does not implement any policy to decide whether a certain user is “authenticated” or “authorized” or not. Rather, it uses a callback into the application to answer these questions.


1.4 Requirements

The GNU SASL library does not have any required external dependencies, but some optional features are enabled if you have a specific external library.

LibNTLM

The NTLM mechanism requires the library LibNTLM, http://www.nongnu.org/libntlm/.

GSS-API

The GSSAPI and GS2-KRB5 mechanisms requires a GSS-API library, see GNU GSS (http://www.gnu.org/software/gss/). MIT Kerberos or Heimdal are also supported.

LibIDN

Processing of non-ASCII usernames and passwords requires the SASLprep implementation in LibIDN (http://www.gnu.org/software/libidn/). This is needed for full conformance with the latest SASL protocol drafts, but is optional in the library for improved portability.

Libgcrypt

The GNU SASL library ships with its own cryptographic implementation, but it can use the one in libgcrypt (http://www.gnupg.org/) instead, if it is available. This is typically useful for desktop machines which have libgcrypt installed.

The command-line interface to GNU SASL requires a POSIX or Windows platform for network connectivity. The command-line tool can make use of GnuTLS (http://www.gnutls.org/) to support the STARTTLS modes of IMAP and SMTP, but GnuTLS is not required.

Note that the library does not need a POSIX platform or network connectivity.


Next: , Previous: , Up: Introduction   [Contents][Index]

1.5 Supported Platforms

GNU SASL has at some point in time been tested on the following platforms. Daily online build reports are available at http://autobuild.josefsson.org/gsasl/.

  1. Debian GNU/Linux 3.0 (Woody)

    GCC 2.95.4 and GNU Make. This is the main development platform. alphaev67-unknown-linux-gnu, alphaev6-unknown-linux-gnu, arm-unknown-linux-gnu, hppa-unknown-linux-gnu, hppa64-unknown-linux-gnu, i686-pc-linux-gnu, ia64-unknown-linux-gnu, m68k-unknown-linux-gnu, mips-unknown-linux-gnu, mipsel-unknown-linux-gnu, powerpc-unknown-linux-gnu, s390-ibm-linux-gnu, sparc-unknown-linux-gnu.

  2. Debian GNU/Linux 2.1

    GCC 2.95.1 and GNU Make. armv4l-unknown-linux-gnu.

  3. Tru64 UNIX

    Tru64 UNIX C compiler and Tru64 Make. alphaev67-dec-osf5.1, alphaev68-dec-osf5.1.

  4. SuSE Linux 7.1

    GCC 2.96 and GNU Make. alphaev6-unknown-linux-gnu, alphaev67-unknown-linux-gnu.

  5. SuSE Linux 7.2a

    GCC 3.0 and GNU Make. ia64-unknown-linux-gnu.

  6. RedHat Linux 7.2

    GCC 2.96 and GNU Make. alphaev6-unknown-linux-gnu, alphaev67-unknown-linux-gnu, ia64-unknown-linux-gnu.

  7. RedHat Linux 8.0

    GCC 3.2 and GNU Make. i686-pc-linux-gnu.

  8. RedHat Advanced Server 2.1

    GCC 2.96 and GNU Make. i686-pc-linux-gnu.

  9. Slackware Linux 8.0.01

    GCC 2.95.3 and GNU Make. i686-pc-linux-gnu.

  10. Mandrake Linux 9.0

    GCC 3.2 and GNU Make. i686-pc-linux-gnu.

  11. IRIX 6.5

    MIPS C compiler, IRIX Make. mips-sgi-irix6.5.

  12. AIX 4.3.2

    IBM C for AIX compiler, AIX Make. rs6000-ibm-aix4.3.2.0.

  13. Microsoft Windows 2000 (Cygwin)

    GCC 3.2, GNU make. i686-pc-cygwin.

  14. HP-UX 11

    HP-UX C compiler and HP Make. ia64-hp-hpux11.22, hppa2.0w-hp-hpux11.11.

  15. SUN Solaris 2.8

    Sun WorkShop Compiler C 6.0 and SUN Make. sparc-sun-solaris2.8.

  16. SUN Solaris 2.9

    Sun Forte Developer 7 C compiler and GNU Make. sparc-sun-solaris2.9.

  17. NetBSD 1.6

    GCC 2.95.3 and GNU Make. alpha-unknown-netbsd1.6, i386-unknown-netbsdelf1.6.

  18. OpenBSD 3.1 and 3.2

    GCC 2.95.3 and GNU Make. alpha-unknown-openbsd3.1, i386-unknown-openbsd3.1.

  19. FreeBSD 4.7

    GCC 2.95.4 and GNU Make. alpha-unknown-freebsd4.7, i386-unknown-freebsd4.7.

  20. Cross compiled to uClinux/uClibc on Motorola Coldfire.

    GCC 3.4 and GNU Make m68k-uclinux-elf.

If you port GNU SASL to a new platform, please report it to the author so this list can be updated.


1.6 Getting help

A mailing list where users may help each other exists, and you can reach it by sending e-mail to help-gsasl@gnu.org. Archives of the mailing list discussions, and an interface to manage subscriptions, is available through the World Wide Web at http://lists.gnu.org/mailman/listinfo/help-gsasl/.


1.7 Commercial Support

Commercial support is available for users of GNU SASL. The kind of support that can be purchased may include:

  • Implement new features. Such as a new SASL mechanism.
  • Port GNU SASL to new platforms. This could include porting to an embedded platforms that may need memory or size optimization.
  • Integrating SASL as a security environment in your existing project.
  • System design of components related to SASL.

If you are interested, please write to:

Simon Josefsson Datakonsult AB
Hagagatan 24
113 47 Stockholm
Sweden

E-mail: simon@josefsson.org

If your company provides support related to GNU SASL and would like to be mentioned here, contact the author (see Bug Reports).


1.8 Downloading and Installing

The package can be downloaded from several places, including:

ftp://ftp.gnu.org/gnu/gsasl/

The latest version is stored in a file, e.g., ‘gsasl-1.8.1.tar.gz’ where the ‘1.8.1’ value is the highest version number in the directory.

The package is then extracted, configured and built like many other packages that use Autoconf. For detailed information on configuring and building it, refer to the INSTALL file that is part of the distribution archive.

Here is an example terminal session that downloads, configures, builds and install the package. You will need a few basic tools, such as ‘sh’, ‘make’ and ‘cc’.

$ wget -q ftp://ftp.gnu.org/gnu/gsasl/gsasl-1.8.1.tar.gz
$ tar xfz gsasl-1.8.1.tar.gz
$ cd gsasl-1.8.1/
$ ./configure
...
$ make
...
$ make install
...

After that gsasl should be properly installed and ready for use.

A few configure options may be relevant, summarized in the table.

--disable-client
--disable-server

If your target system require a minimal implementation, you may wish to disable the client or the server part of the code. This does not remove symbols from the library, so if you attempt to call an application that uses server functions in a library built with --disable-server, the function will return an error code.

--disable-obsolete

Remove backwards compatibility (see Old Functions). Use if you want to limit the size of the library.

--disable-anonymous
--disable-external
--disable-plain
--disable-login
--disable-securid
--disable-ntlm
--disable-cram-md5
--disable-digest-md5
--disable-gssapi
--disable-gs2
--enable-kerberos_v5
--disable-scram-sha1
--disable-saml20
--disable-openid20

Disable or enable individual mechanisms (see Mechanisms).

--without-stringprep

Disable internationalized string processing. Note that this will result in a SASL library that is compatible with RFC 2222 but not RFC 4422.

For the complete list, refer to the output from configure --help.


1.8.1 Installing under Windows

There are two ways to build GNU SASL on Windows: via MinGW or via Microsoft Visual Studio. Note that a binary release for Windows is available from http://josefsson.org/gnutls4win/.

With MinGW, you can build a GNU SASL DLL and use it from other applications. After installing MinGW (http://mingw.org/) follow the generic installation instructions (see Downloading and Installing). The DLL is installed by default.

For information on how to use the DLL in other applications, see: http://www.mingw.org/mingwfaq.shtml#faq-msvcdll.

You can build GNU SASL as a native Visual Studio C++ project. This allows you to build the code for other platforms that VS supports, such as Windows Mobile. You need Visual Studio 2005 or later.

First download and unpack the archive as described in the generic installation instructions (see Downloading and Installing). Don’t run ./configure. Instead, start Visual Studio and open the project file lib/win32/libgsasl.sln inside the GNU SASL directory. You should be able to build the project using Build Project.

Output libraries will be written into the lib/win32/lib (or lib/win32/lib/debug for Debug versions) folder.

Warning! Unless you build GNU SASL linked with libgcrypt, GNU SASL uses the Windows function CryptGenRandom for generating cryptographic random data. The function is known to have some security weaknesses. See http://eprint.iacr.org/2007/419 for more information. The code will attempt to use the Intel RND crypto provider if it is installed, see lib/gl/gc-gnulib.c.


1.8.2 Kerberos on Windows

Building GNU SASL with support for Kerberos via GSS-API on Windows is straight forward if you use GNU GSS and GNU Shishi as the Kerberos implementation.

If you are using MIT Kerberos for Windows (KfW), getting GNU SASL to build with Kerberos support is not straightforward because KfW does not follow the GNU coding style and it has bugs that needs to be worked around. We provide instructions for this environment as well, in the hope that it will be useful for GNU SASL users.

Our instructions assumes you are building the software on a dpkg-based GNU/Linux systems (e.g., gNewSense) using the MinGW cross-compiler suite. These instructions were compiled for KfW version 3.2.2 which were the latest as of 2010-09-25.

We assume that you have installed a normal build environment including the MinGW cross-compiler. Download and unpack the KfW SDK like this:

$ mkdir ~/kfw
$ cd ~/kfw
$ wget -q http://web.mit.edu/kerberos/dist/kfw/3.2/kfw-3.2.2/kfw-3-2-2-sdk.zip
$ unzip kfw-3-2-2-sdk.zip

Fix a bug in the "win-mac.h" header inside KfW by replacing #include <sys\foo.h> with #include <sys/foo.h>:

perl -pi -e 's,sys\\,sys/,' ~/kfw/kfw-3-2-2-final/inc/krb5/win-mac.h

Unpack your copy of GNU SASL:

$ wget -q ftp://alpha.gnu.org/gnu/gsasl/gsasl-1.8.1.tar.gz
$ tar xfz gsasl-1.8.1.tar.gz
$ cd gsasl-1.8.1

Configure GNU SASL like this:

$ lt_cv_deplibs_check_method=pass_all ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu --with-gssapi-impl=kfw LDFLAGS="-L$HOME/kfw/kfw-3-2-2-final/lib/i386" CPPFLAGS="-I$HOME/kfw/kfw-3-2-2-final/inc/krb5 -DSSIZE_T_DEFINED"

The ’lt_cv_deplibs_check_method=pass_all’ setting is required because the KfW SDK does not ship with Libtool *.la files and is using non-standard DLL names. The -DSSIZE_T_DEFINED is necessary because the win-mac.h file would provide an incorrect duplicate definitions of ssize_t otherwise. By passing --with-gssapi-impl=kfw you activate other bug workarounds, such as providing a GSS_C_NT_HOSTBASED_SERVICE symbol.

Build the software using:

$ make

If you have Wine installed and your kernel is able to invoke it automatically for Windows programs, you can run the self tests. This is recommended to make sure the build is sane.

$ make check

You may get error messages about missing DLLs, like this error:

err:module:import_dll Library gssapi32.dll (which is needed by L"Z:\\home\\jas\\src\\gsasl-1.5.2\\lib\\src\\.libs\\libgsasl-7.dll") not found

If that happens, you need to make sure that Wine can find the appropriate DLL. The simplest solution is to copy the necessary DLLs to ~/.wine/drive_c/windows/system32/.

You may now copy the following files onto the Windows machine (e.g., through a USB memory device):

lib/src/.libs/libgsasl-7.dll
src/.libs/gsasl.exe

The remaining steps are done on the Windows XP machine. Install KfW and configure it for your realm. To make sure KfW is working properly, acquire a user ticket and then remove it. For testing purposes, you may use the realm ’interop.josefsson.org’ with KDC ’interop.josefsson.org’ and username ’user’ and password ’pass’.

Change to the directory where you placed the files above, and invoke a command like this:

gsasl.exe -d interop.josefsson.org

KfW should query you for a password, and the tool should negotiate authentication against the server using GS2-KRB5.


1.9 Bug Reports

If you think you have found a bug in GNU SASL, please investigate it and report it.

  • Please make sure that the bug is really in GNU SASL, and preferably also check that it hasn’t already been fixed in the latest version.
  • You have to send us a test case that makes it possible for us to reproduce the bug.
  • You also have to explain what is wrong; if you get a crash, or if the results printed are not good and in that case, in what way. Make sure that the bug report includes all information you would need to fix this kind of bug for someone else.

Please make an effort to produce a self-contained report, with something definite that can be tested or debugged. Vague queries or piecemeal messages are difficult to act on and don’t help the development effort.

If your bug report is good, we will do our best to help you to get a corrected version of the software; if the bug report is poor, we won’t do anything about it (apart from asking you to send better bug reports).

If you think something in this manual is unclear, or downright incorrect, or if the language needs to be improved, please also send a note.

Send your bug report to:

bug-gsasl@gnu.org

Previous: , Up: Introduction   [Contents][Index]

1.10 Contributing

If you want to submit a patch for inclusion – from solve a typo you discovered, up to adding support for a new feature – you should submit it as a bug report (see Bug Reports). There are some things that you can do to increase the chances for it to be included in the official package.

Unless your patch is very small (say, under 10 lines) we require that you assign the copyright of your work to the Free Software Foundation. This is to protect the freedom of the project. If you have not already signed papers, we will send you the necessary information when you submit your contribution.

For contributions that doesn’t consist of actual programming code, the only guidelines are common sense. Use it.

For code contributions, a number of style guides will help you:

  • Coding Style. Follow the GNU Standards document (see (standards)GNU Coding Standards).

    If you normally code using another coding standard, there is no problem, but you should use ‘indent’ to reformat the code (see (indent)GNU Indent) before submitting your work.

  • Use the unified diff format ‘diff -u’.
  • Return errors. No reason whatsoever should abort the execution of the library. Even memory allocation errors, e.g. when malloc return NULL, should work although result in an error code.
  • Design with thread safety in mind. Don’t use global variables. Don’t even write to per-handle global variables unless the documented behaviour of the function you write is to write to the per-handle global variable.
  • Avoid using the C math library. It causes problems for embedded implementations, and in most situations it is very easy to avoid using it.
  • Document your functions. Use comments before each function headers, that, if properly formatted, are extracted into Texinfo manuals and GTK-DOC web pages.
  • Supply a ChangeLog and NEWS entries, where appropriate.

Next: , Previous: , Up: Top   [Contents][Index]

2 Preparation

To use GNU SASL, you have to perform some changes to your sources and the build system. The necessary changes are small and explained in the following sections. At the end of this chapter, it is described how the library is initialized, and how the requirements of the library are verified.

A faster way to find out how to adapt your application for use with GNU SASL may be to look at the examples at the end of this manual (see Examples).


2.1 Header

All interfaces (data types and functions) of the library are defined in the header file gsasl.h. You must include this in all programs using the library, either directly or through some other header file, like this:

#include <gsasl.h>

The name space is gsasl_* for function names, Gsasl* for data types and GSASL_* for other symbols. In addition the same name prefixes with one prepended underscore are reserved for internal use and should never be used by an application.


Next: , Previous: , Up: Preparation   [Contents][Index]

2.2 Initialization

The library must be initialized before it can be used. The library is initialized by calling gsasl_init (see Global Functions). The resources allocated by the initialization process can be released if the application no longer has a need to call ‘Libgsasl’ functions, this is done by calling gsasl_done. For example:

int
main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;
...
  rc = gsasl_init (&ctx);
  if (rc != GSASL_OK)
    {
      printf ("SASL initialization failure (%d): %s\n",
              rc, gsasl_strerror (rc));
      return 1;
    }
...

In order to make error messages from gsasl_strerror be translated (see GNU Gettext) the application must set the current locale using setlocale before calling gsasl_init. For example:

int
main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;
...
  setlocale (LC_ALL, "");
...
  rc = gsasl_init (&ctx);
  if (rc != GSASL_OK)
    {
      printf (gettext ("SASL initialization failure (%d): %s\n"),
              rc, gsasl_strerror (rc));
      return 1;
    }
...

In order to take advantage of the secure memory features in Libgcrypt1, you need to initialize secure memory in your application, and for some platforms even make your application setuid root. See the Libgcrypt documentation for more information. Here is example code to initialize secure memory in your code:

#include <gcrypt.h>
...
int
main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;
...
  /* Check version of libgcrypt. */
  if (!gcry_check_version (GCRYPT_VERSION))
    die ("version mismatch\n");

  /* Allocate a pool of 16k secure memory.  This also drops priviliges
     on some systems. */
  gcry_control (GCRYCTL_INIT_SECMEM, 16384, 0);

  /* Tell Libgcrypt that initialization has completed. */
  gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
...
  rc = gsasl_init (&ctx);
  if (rc != GSASL_OK)
    {
      printf ("SASL initialization failure (%d): %s\n",
              rc, gsasl_strerror (rc));
      return 1;
    }
...

If you do not do this, keying material will not be allocated in secure memory (which, for most applications, is not the biggest secure problem anyway). Note that the GNU SASL Library has not been audited to make sure it stores passwords or keys in secure memory.


2.3 Version Check

It is often desirable to check that the version of the library used is indeed one which fits all requirements. Even with binary compatibility, new features may have been introduced but, due to problem with the dynamic linker, an old version may actually be used. So you may want to check that the version is okay right after program startup.

gsasl_check_version

Function: const char * gsasl_check_version (const char * req_version)

req_version: version string to compare with, or NULL.

Check GNU SASL Library version.

See GSASL_VERSION for a suitable req_version string.

This function is one of few in the library that can be used without a successful call to gsasl_init() .

Return value: Check that the version of the library is at minimum the one given as a string in req_version and return the actual version string of the library; return NULL if the condition is not met. If NULL is passed to this function no check is done and only the version string is returned.

The normal way to use the function is to put something similar to the following early in your main:

  if (!gsasl_check_version (GSASL_VERSION))
    {
      printf ("gsasl_check_version failed:\n"
              "Header file incompatible with shared library.\n");
      exit(1);
    }

Next: , Previous: , Up: Preparation   [Contents][Index]

2.4 Building the source

If you want to compile a source file including the gsasl.h header file, you must make sure that the compiler can find it in the directory hierarchy. This is accomplished by adding the path to the directory in which the header file is located to the compilers include file search path (via the -I option).

However, the path to the include file is determined at the time the source is configured. To solve this problem, the library uses the external package pkg-config that knows the path to the include file and other configuration options. The options that need to be added to the compiler invocation at compile time are output by the --cflags option to pkg-config libgsasl. The following example shows how it can be used at the command line:

gcc -c foo.c `pkg-config libgsasl --cflags`

Adding the output of ‘pkg-config libgsasl --cflags’ to the compiler command line will ensure that the compiler can find the gsasl.h header file.

A similar problem occurs when linking the program with the library. Again, the compiler has to find the library files. For this to work, the path to the library files has to be added to the library search path (via the -L option). For this, the option --libs to pkg-config libgsasl can be used. For convenience, this option also outputs all other options that are required to link the program with the library (for instance, the ‘-lidn’ option). The example shows how to link foo.o with the library to a program foo.

gcc -o foo foo.o `pkg-config libgsasl --libs`

Of course you can also combine both examples to a single command by specifying both options to pkg-config:

gcc -o foo foo.c `pkg-config libgsasl --cflags --libs`

2.5 Autoconf tests

If you work on a project that uses Autoconf (see (autoconf)GNU Autoconf) to help find installed libraries, the suggestions in the previous section are not the entire story. There are a few methods to detect and incorporate the GNU SASL Library into your Autoconf based package. The preferred approach, is to use Libtool in your project, and use the normal Autoconf header file and library tests.

2.5.1 Autoconf test via ‘pkg-config

If your audience is a typical GNU/Linux desktop, you can often assume they have the ‘pkg-config’ tool installed, in which you can use its Autoconf M4 macro to find and set up your package for use with Libgsasl. The following example illustrates this scenario.

AC_ARG_ENABLE(gsasl,
  AC_HELP_STRING([--disable-gsasl], [don't use GNU SASL]),
  gsasl=$enableval)
if test "$gsasl" != "no" ; then
  PKG_CHECK_MODULES(GSASL, libgsasl >= 1.8.1,
    [gsasl=yes],
    [gsasl=no])
  if test "$gsasl" != "yes" ; then
    gsasl=no
    AC_MSG_WARN([Cannot find GNU SASL, disabling])
  else
    gsasl=yes
    AC_DEFINE(USE_GSASL, 1, [Define to 1 if you want GNU SASL.])
  fi
fi
AC_MSG_CHECKING([if GNU SASL should be used])
AC_MSG_RESULT($gsasl)

2.5.2 Standalone Autoconf test using Libtool

If your package uses Libtool (see (libtool)GNU Libtool), you can use the normal Autoconf tests to find Libgsasl and rely on the Libtool dependency tracking to include the proper dependency libraries (e.g., Libidn). The following example illustrates this scenario.

AC_CHECK_HEADER(gsasl.h,
  AC_CHECK_LIB(gsasl, gsasl_check_version,
    [gsasl=yes AC_SUBST(GSASL_LIBS, -lgsasl)],
    gsasl=no),
  gsasl=no)
AC_ARG_ENABLE(gsasl,
  AC_HELP_STRING([--disable-gsasl], [don't use GNU SASL]),
  gsasl=$enableval)
if test "$gsasl" != "no" ; then
  AC_DEFINE(USE_SASL, 1, [Define to 1 if you want GNU SASL.])
else
  AC_MSG_WARN([Cannot find GNU SASL, diabling])
fi
AC_MSG_CHECKING([if GNU SASL should be used])
AC_MSG_RESULT($gsasl)

Next: , Previous: , Up: Top   [Contents][Index]

3 Using the Library

Your application’s use of the library can be roughly modeled into the following steps: initialize the library, optionally specify the callback, perform the authentication, and finally clean up. The following image illustrates this.

controlflow

The third step may look complex, but for a simple client it will actually not involve any code. If your application needs to handle several concurrent clients, or if it is a server that needs to serve many clients simultaneous, things do get a bit more complicated.

For illustration, we will write a simple client. Writing a server would be similar, the only difference is that, later on, instead of supplying a username and password, you need to decide whether someone should be allowed to log in or not. The code for what we have discussed so far make up the main function in our client (see Example 1):

int main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;

  if ((rc = gsasl_init (&ctx)) != GSASL_OK)
    {
      printf ("Cannot initialize libgsasl (%d): %s",
              rc, gsasl_strerror (rc));
      return 1;
    }

  client (ctx);

  gsasl_done (ctx);

  return 0;
}

Here, the call to the function client correspond to the third step in the image above.

For a more complicated application, having several clients running simultaneous, instead of a simple call to client, it may have created new threads for each session, and call client within each thread. The library is thread safe.

An actual authentication session is more complicated than what we have seen so far. These are the steps: decide which mechanism to use, start the session, optionally specify the callback, optionally set any properties, perform the authentication loop, and clean up. Naturally, your application will start to talk its own protocol (e.g., SMTP or IMAP) after these steps have concluded.

The authentication loop is based on sending tokens (typically short messages encoded in base 64) back and forth between the client and server. It continues until authentication succeeds or an error occurs. The format of the data to be transferred, the number of iterations in the loop, and other details are specified by each mechanism. The goal of the library is to isolate your application from the details of all different mechanisms.

Note that the library does not send data to the server itself, but returns it in an buffer. You must send it to the server, following an application protocol profile. For example, the SASL application protocol profile for SMTP is described in RFC 2554.

The following image illustrates the steps we have been talking about.

controlflow2

We will now show the implementation of the client function used before.

void client (Gsasl *ctx)
{
  Gsasl_session *session;
  const char *mech = "PLAIN";
  int rc;

  /* Create new authentication session. */
  if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK)
    {
      printf ("Cannot initialize client (%d): %s\n",
              rc, gsasl_strerror (rc));
      return;
    }

  /* Set username and password in session handle.  This info will be
     lost when this session is deallocated below.  */
  gsasl_property_set (session, GSASL_AUTHID, "jas");
  gsasl_property_set (session, GSASL_PASSWORD, "secret");

  /* Do it. */
  client_authenticate (session);

  /* Cleanup. */
  gsasl_finish (session);
}

This function is responsible for deciding which mechanism to use. In this case, the ‘PLAIN’ mechanism is hard coded, but you will see later how this can be made more flexible. The function creates a new session, then it stores the username and password in the session handle, then it calls another function client_authenticate to handle the authentication loop, and finally it cleans up up. Let’s continue with the implementation of client_authenticate.

void client_authenticate (Gsasl_session * session)
{
  char buf[BUFSIZ] = "";
  char *p;
  int rc;

  /* This loop mimics a protocol where the server sends data
     first. */

  do
    {
      printf ("Input base64 encoded data from server:\n");
      fgets (buf, sizeof (buf) - 1, stdin);
      if (buf[strlen (buf) - 1] == '\n')
        buf[strlen (buf) - 1] = '\0';

      rc = gsasl_step64 (session, buf, &p);

      if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK)
        {
          printf ("Output:\n%s\n", p);
          free (p);
        }
    }
  while (rc == GSASL_NEEDS_MORE);

  printf ("\n");

  if (rc != GSASL_OK)
    {
      printf ("Authentication error (%d): %s\n",
              rc, gsasl_strerror (rc));
      return;
    }

  /* The client is done.  Here you would typically check if the
     server let the client in.  If not, you could try again. */

  printf ("If server accepted us, we're done.\n");
}

This last function needs to be discussed in some detail. First, you should be aware that there are two versions of this function, that differ in a subtle way. The version above (see Example 2) is used for application profiles where the server sends data first. For some mechanisms, this may waste a roundtrip, because the server needs input from the client to proceed. Therefor, today the recommended approach is to permit client to send data first (see Example 1). Which version you should use depends on which application protocol you are implementing.

Further, you should realize that it is bad programming style to use a fixed size buffer. On GNU systems, you may use the getline functions instead of fgets. However, in practice, there are few mechanisms that use very large tokens. In typical configurations, the mechanism with the largest tokens (GSSAPI) can use at least 500 bytes. A fixed buffer size of 8192 bytes may thus be sufficient for now. But don’t say I didn’t warn you, when a future mechanism doesn’t work in your application, because of a fixed size buffer.

The function gsasl_step64 (and of course also gasl_step) returns two non-error return codes. GSASL_OK is used for success, indicating that the library considers the authentication finished. That may include a successful server authentication, depending on the mechanism. You must not let the client continue to the application protocol part unless you receive GSASL_OK from these functions. In particular, don’t be fooled into believing authentication were successful if the server replies “OK” but these functions have failed with an error. The server may have been hacked, and could be tricking you into sending confidential data, without having successfully authenticated the server.

The non-error return code GSASL_NEEDS_MORE is used to signal to your application that you should send the output token to the peer, and wait for a new token, and do another iteration. If the server concludes the authentication process, with no data, you should call gsasl_step64 (or gsasl_step) specifying a zero-length token.

If the functions (gsasl_step and gsasl_step64) return any non-error code, the content of the output buffer is undefined. Otherwise, it is the callers responsibility to deallocate the buffer, by calling free. Note that in some situations, where the buffer is empty, NULL is returned as the buffer value. You should treat this as an empty buffer.

3.1 Choosing a mechanism

Our earlier code was hard coded to use a specific mechanism. This is rarely a good idea. Instead, it is recommended to select the best mechanism available from the list of mechanisms supported by the server. Note that without TLS or similar, the list may have been maliciously altered, by an attacker. This means that you should abort if you cannot find any mechanism that exceeds your minimum security level. There is a function gsasl_client_suggest_mechanism (see Global Functions) that will try to pick the “best” available mechanism from a list of mechanisms. Our simple interactive example client (see Example 3) includes the following function to decide which mechanism to use. Note that the code doesn’t blindly use what is returned from gsasl_client_suggest_mechanism, rather it lets some logic (in this case the user, through an interactive query) decide which mechanism is acceptable.

const char *client_mechanism (Gsasl *ctx)
{
  static char mech[GSASL_MAX_MECHANISM_SIZE + 1] = "";
  char mechlist[BUFSIZ] = "";
  const char *suggestion;

  printf ("Enter list of server supported mechanisms, separate by SPC:\n");
  fgets (mechlist, sizeof (mechlist) - 1, stdin);

  suggestion = gsasl_client_suggest_mechanism (ctx, mechlist);
  if (suggestion)
    printf ("Library suggests use of `%s'.\n", suggestion);

  printf ("Enter mechanism to use:\n");
  fgets (mech, sizeof (mech) - 1, stdin);
  mech[strlen (mech) - 1] = '\0';

  return mech;
}

When running this example code, it might look like in the following output.

Enter list server supported mechanisms, separate by SPC:
CRAM-MD5 DIGEST-MD5 GSSAPI FOO BAR
Library suggests use of `GSSAPI'.
Enter mechanism to use:
CRAM-MD5
Input base64 encoded data from server:
Zm5vcmQ=
Output:
amFzIDkyY2U1NWE5MTM2ZTY4NzEyMTUyZTFjYmFmNjVkZjgx

If server accepted us, we're done.

3.2 Using a callback

Our earlier code specified the username and password before the authentication loop, as in:

gsasl_property_set (ctx, GSASL_AUTHID, "jas");
gsasl_property_set (ctx, GSASL_PASSWORD, "secret");

This may work for simple mechanisms, that need only a username and a password. But some mechanism requires more information, such as an authorization identity, a special PIN or passcode, a realm, a hostname, a service name, or an anonymous identifier. Querying the user for all that information, without knowing exactly which of it is really needed will result in a poor user interface. The user should not have to input private information, if it isn’t required.

The approach is a bad idea for another reason. What if the server aborts the authentication process? Then your application has already queried the user for a username and password. It would be better if you only asked the user for this information, annoying to input, when it is known to be needed.

A better approach to this problem is to use a callback. Then the mechanism may query your application whenever it needs some information, like the username and password. It will only do this at the precise step in the authentication when the information is actually needed. Further, if the user aborts, e.g., a password prompt, the mechanism is directly informed of this (because it invoked the callback), and could recover somehow.

Our final example (see Example 4) specifies a callback function, inside main as below.

/* Set the callback handler for the library. */
gsasl_callback_set (ctx, callback);

The function itself is implemented as follows.

int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop)
{
  char buf[BUFSIZ] = "";
  int rc = GSASL_NO_CALLBACK;

  /* Get user info from user. */

  printf ("Callback invoked, for property %d.\n", prop);

  switch (prop)
    {
    case GSASL_PASSCODE:
      printf ("Enter passcode:\n");
      fgets (buf, sizeof (buf) - 1, stdin);
      buf[strlen (buf) - 1] = '\0';

      gsasl_property_set (sctx, GSASL_PASSCODE, buf);
      rc = GSASL_OK;
      break;

    case GSASL_AUTHID:
      printf ("Enter username:\n");
      fgets (buf, sizeof (buf) - 1, stdin);
      buf[strlen (buf) - 1] = '\0';

      gsasl_property_set (sctx, GSASL_AUTHID, buf);
      rc = GSASL_OK;
      break;

    default:
      printf ("Unknown property!  Don't worry.\n");
      break;
    }

  return rc;
}

Again, it is bad style to use a fixed size buffer. Mmm’kay.

Which properties you should handle is up to you. If you don’t know how to respond to a certain property, simply return GSASL_NO_CALLBACK. The basic properties to support are authentication identity (GSASL_AUTHID), authorization identity (GSASL_AUTHZID), and password (GSASL_PASSWORD). See Properties, for the list of all properties, and what your callback should (ideally) do for them, and which properties each mechanism require in order to work.


Next: , Previous: , Up: Top   [Contents][Index]

4 Properties

The library uses a concept called “properties” to request and pass data between the application and the individual authentication mechanisms. The application can set property values using the gsasl_property_set function. If a mechanism needs a property value the application has not yet provided, this is handled through a callback. The application provides a callback, using gsasl_callback_set, which will be invoked with a property parameter. The callback should set the property before returning, or fail. See Callback Functions, for more information.

There are two kind of properties. The first, a “data property” is the simplest to understand because it normally refers to short strings. For example, the property called GSASL_AUTHID correspond to the username string, e.g., simon.

The latter properties, called “logical properties”, are used by the server to make a authentication decision, and is used as a way to get the application callback invoked. For example, the property GSASL_VALIDATE_SIMPLE is used by the server-side part of mechanisms like PLAIN. The purpose is to ask the server application to decide whether the user should be authenticated successfully or not. The callback typically look at other property fields, such as GSASL_AUTHID and GSASL_PASSWORD, and compare those values with external information (for example data stored in a database or on a LDAP server) and then return OK or not.

Warning: Don’t expect that all mechanisms invoke one of the logical properties in the server mode. For example, the CRAM-MD5 and SCRAM-SHA-1 mechanisms will use the data properties (i.e., username and password) provided by the application to internally decide whether to successfully authenticate the user. User authorization decisions needs to be made by the application outside of the SASL mechanism negotiation.

The logical properties are currently only used by servers, but data properties are used by both client and servers. It makes sense to think about the latter category as ‘server properties’ but the reverse is not valid nor useful.

The semantics associated with a data property is different when it is used in client context and in the server context. For example, in the client context, the application is expected to set the property GSASL_AUTHID to signal to the mechanism the username to use, but in the server context, the GSASL_AUTHID property is set by the mechanism and can be used by the application (in the callback) to find out what username the client provided.

Below is a list of all properties and an explanation for each. First is the list of data properties:

  • GSASL_AUTHID

    The authentication identity.

  • GSASL_AUTHZID

    The authorization identity.

  • GSASL_PASSWORD

    The password of the authentication identity.

  • GSASL_ANONYMOUS_TOKEN

    The anonymous token. This is typically the email address of the user.

  • GSASL_SERVICE

    The registered GSSAPI service name of the application service, e.g. “imap”. While the names are registered for GSSAPI, other mechanisms such as DIGEST-MD5 may also use this.

  • GSASL_HOSTNAME

    Should be the local host name of the machine.

  • GSASL_GSSAPI_DISPLAY_NAME

    Contain the GSSAPI “display name”, set by the server GSSAPI mechanism. Typically you retrieve this property in your callback, when invoked for GSASL_VALIDATE_GSSAPI.

  • GSASL_REALM

    The name of the authentication domain. This is used by several mechanisms, including DIGEST-MD5, GSS-API, KERBEROS_V5 and NTLM.

  • GSASL_PASSCODE

    The SecurID passcode.

  • GSASL_PIN

    The SecurID personal identification number (PIN).

  • GSASL_SUGGESTED_PIN

    A SecurID personal identification number (PIN) suggested by the server.

  • GSASL_DIGEST_MD5_HASHED_PASSWORD

    For the DIGEST-MD5 mechanism, this is a hashed password. It is used in servers to avoid storing clear-text credentials.

  • GSASL_QOPS

    The DIGEST-MD5 server query for this property to get the set of quality of protection (QOP) values to advertise. The property holds strings with comma separated keywords denoting the set of qops to use, for example qop-auth, qop-int. Valid keywords are qop-auth, qop-int, and qop-conf.

  • GSASL_QOP

    The DIGEST-MD5 client query for this property to get the quality of protection (QOP) values to request. The property value is one of the keywords for GSASL_QOPS. The client must chose one of the QOP values offered by the server (which may be inspected through the GSASL_QOPS property).

  • GSASL_SCRAM_SALTED_PASSWORD

    The SCRAM-SHA-1 client requests this property from the application, and the value should be 40 character long hex-encoded string with the user’s hashed password. Note that the value is different for the same password for each value of the GSASL_SCRAM_ITER and GSASL_SCRAM_ITER properties. The property can be used to avoid storing a clear-text credential in the client. If the property is not available, the client will ask for the GSASL_PASSWORD property instead.

  • GSASL_SCRAM_ITER
  • GSASL_SCRAM_ITER

    In the server, the application can set these properties to influence the hash iteration count and hash salt to use when deriving the password. The default hash iteration count is 4096 and normally you should not need to use a lower setting. The salt should be a random string. In the client, the SCRAM-SHA-1 mechanism set these properties before asking for asking the application to provide a GSASL_SCRAM_SALTED_PASSWORD value.

  • GSASL_CB_TLS_UNIQUE

    This property holds base64 encoded tls-unique channel binding data. As a hint, if you use GnuTLS, the API gnutls_session_channel_binding can be used to extract channel bindings for a session.

  • GSASL_SAML20_IDP_IDENTIFIER

    This property holds the SAML identifier of the user. The SAML20 mechanism in client mode will send it to the other end for identification purposes, and in server mode it will be accessible in the GSASL_SAML20_REDIRECT_URL callback.

  • GSASL_SAML20_REDIRECT_URL This property holds the SAML redirect URL that the server wants the client to access. It will be available in the GSASL_SAML20_AUTHENTICATE_IN_BROWSER callback for the client.
  • GSASL_OPENID20_REDIRECT_URL This property holds the SAML redirect URL that the server wants the client to access. It will be available in the GSASL_OPENID20_AUTHENTICATE_IN_BROWSER callback for the client.
  • GSASL_OPENID20_OUTCOME_DATA OpenID 2.0 authentication outcome data. This is either the OpenID SREG values or a value list starting with "openid.error=" to signal error.

Next follows a list of data properties used to trigger the callback, typically used in servers to validate client credentials:

  • GSASL_VALIDATE_SIMPLE

    Used by multiple mechanisms in server mode. The callback may retrieve the GSASL_AUTHID, GSASL_AUTHZID and GSASL_PASSWORD property values and use them to make an authentication and authorization decision.

  • GSASL_VALIDATE_EXTERNAL

    Used by EXTERNAL mechanism on the server side to validate the client. The GSASL_AUTHID will contain the authorization identity of the client.

  • GSASL_VALIDATE_ANONYMOUS

    Used by ANONYMOUS mechanism on the server side to validate the client. The GSASL_ANONYMOUS_TOKEN will contain token that identity the client.

  • GSASL_VALIDATE_GSSAPI

    Used by the GSSAPI and GS2-KRB5 mechanisms on the server side, to validate the client. You may retrieve the authorization identity from GSASL_AUTHZID and the GSS-API display name from GSASL_GSSAPI_DISPLAY_NAME.

  • GSASL_VALIDATE_SECURID

    Used by SECURID mechanism on the server side to validate client. The GSASL_AUTHID, GSASL_AUTHZID, GSASL_PASSCODE, and GSASL_PIN will be set. It can return GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE to ask the client to supply another passcode, and GSASL_SECURID_SERVER_NEED_NEW_PIN to require the client to supply a new PIN code.

  • GSASL_VALIDATE_SAML20

    Used by the SAML20 mechanism on the server side to request that the application perform authentication. The callback should return GSASL_OK if the user should be permitted access, and GSASL_AUTHENTICATION_ERROR (or another error code) otherwise.

  • GSASL_VALIDATE_OPENID20

    Used by the OPENID20 mechanism on the server side to request that the application perform authentication. The callback should return GSASL_OK if the user should be permitted access, and GSASL_AUTHENTICATION_ERROR (or another error code) otherwise.

  • GSASL_SAML20_AUTHENTICATE_IN_BROWSER Used by the SAML20 mechanism in the client side to request that the client should launch the SAML redirect URL (the GSASL_SAML20_REDIRECT_URL property) in a browser to continue with authentication.
  • GSASL_OPENID20_AUTHENTICATE_IN_BROWSER Used by the OPENID20 mechanism in the client side to request that the client should launch the OpenID redirect URL (the GSASL_OPENID20_REDIRECT_URL property) in a browser to continue with authentication.

Next: , Previous: , Up: Top   [Contents][Index]

5 Mechanisms

Different SASL mechanisms have different requirements on the application using it. To handle these differences the library can use a callback function into your application in several different ways. Some mechanisms, such as ‘PLAIN’, are simple to explain and use. The client callback queries the user for a username and password. The server callback hands the username and password into any local policy deciding authentication system (such as /etc/passwd via PAM).

Mechanism such as ‘CRAM-MD5’ and ‘SCRAM-SHA-1’ uses hashed passwords. The client callback behaviour is the same as for PLAIN. However, the server does not receive the plain text password over the network but rather a hash of it. Existing policy deciding systems like PAM cannot handle this, so the server callback for these mechanisms are more complicated.

Further, mechanisms like GSSAPI/GS2-KRB5 (Kerberos 5) assume a specific authentication system. In theory this means that the SASL library would not need to interact with the application, but rather call this specific authentication system directly. However, some callbacks are supported anyway, to modify the behaviour of how the specific authentication system is used (i.e., to handle “super-user” login as some other user).

Some mechanisms, like ‘EXTERNAL’ and ‘ANONYMOUS’ are entirely dependent on callbacks.


Next: , Up: Mechanisms   [Contents][Index]

5.1 The EXTERNAL mechanism

The EXTERNAL mechanism is used to authenticate a user to a server based on out-of-band authentication. EXTERNAL is typically used over TLS authenticated channels. Note that in the server, you need to make sure that TLS actually authenticated the client successfully and that the negotiated ciphersuite and other parameters are acceptable. It is generally not sufficient that TLS is used, since TLS supports anonymous and other variants that generally provide less assurance than you normally want.

In the client, this mechanism is always enabled, and it will send the GSASL_AUTHZID property as the authorization name to the server, if the property is set. If the property is not set, an empty authorization name is sent. You need not implement a callback.

In the server, this mechanism will request the GSASL_VALIDATE_EXTERNAL callback property to decide whether the client is authenticated and authorized to log in. Your callback can retrieve the GSASL_AUTHZID property to inspect the requested authorization name from the client.

The EXTERNAL mechanism was initially specified in the core SASL framework RFC 2222 and later revised in RFC 4422.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.2 The ANONYMOUS mechanism

The ANONYMOUS mechanism is used to “authenticate” clients to anonymous services; or rather, just indicate that the client wishes to use the service anonymously. The client sends a token, usually her email address, which serve the purpose of some trace information suitable for logging. The token cannot be empty.

In the client, this mechanism is always enabled, and will send the GSASL_ANONYMOUS_TOKEN property as the trace information to the server.

In the server, this mechanism will invoke the GSASL_VALIDATE_ANONYMOUS callback to decide whether the client should be permitted to log in. Your callback can retrieve the GSASL_ANONYMOUS_TOKEN property to, for example, record it in a log file. The token is normally not used to decide whether the client should be permitted to log in or not.

The ANONYMOUS mechanism was initially specified in RFC 2245 and later revised in RFC 4505.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.3 The PLAIN mechanism

The PLAIN mechanism uses username and password to authenticate users. Two user names are relevant. The first, the authentication identity, indicates the credential holder, i.e., whom the provided password belongs to. The second, the authorization identity, is typically empty to indicate that the user requests to log on to the server as herself (i.e., the authentication identity). If the authorization identity is not empty, the server should decide whether the authenticated user may log on as the authorization identity. This is typically used for super-user accounts like ‘admin’ to take on the role of a regular user.

In the client, this mechanism is always enabled, and require the GSASL_AUTHID and GSASL_PASSWORD properties. If set, GSASL_AUTHZID will also be used.

In the server, the mechanism is always enabled. Two approaches to authenticate and authorize the client are provided.

In the first approach, the server side of the mechanism will request the GSASL_VALIDATE_SIMPLE callback property to decide whether the client should be accepted or not. The callback may inspect the GSASL_AUTHID, GSASL_AUTHZID, and GSASL_PASSWORD properties. These property values will be normalized.

If the first approach fails (because there is no callback or your callback returns ‘GSASL_NO_CALLBACK’ to signal that it does not implement GSASL_VALIDATE_SIMPLE) the mechanism will continue to query the application for a password, via the GSASL_PASSWORD property. Your callback may use the GSASL_AUTHID and GSASL_AUTHZID properties to select the proper password. The password is then normalized and compared to the client credential.

Which approach to use? If your database stores hashed passwords, you have no option, but must use the first approach. If passwords in your user database are stored in prepared (SASLprep) form, the first approach will be faster. If you do not have prepared passwords available, you can use the second approach to make sure the password is prepared properly before comparison.

The PLAIN mechanism was initially specified in RFC 2595 and later revised in RFC 4616.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.4 The LOGIN mechanism

The LOGIN mechanism is a non-standard mechanism, and is similar to the PLAIN mechanism except that LOGIN lacks the support for authorization identities. Always use PLAIN instead of LOGIN in new applications.

The callback behaviour is the same as for PLAIN, except that GSASL_AUTHZID is neither used nor required, and that the server does not normalize the password using SASLprep.

See Use of SASLprep in LOGIN, for a proposed clarification of the interpretation of a hypothetical LOGIN specification.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.5 The CRAM-MD5 mechanism

CRAM-MD5 is a widely used challenge-response mechanism that transfers hashed passwords instead of clear text passwords. It is official deprecated, initially in favor of first DIGEST-MD5 but today SCRAM-SHA-1. For insecure channels (e.g., when TLS is not used), it is has better properties than PLAIN since the unhashed password is not leaked. The CRAM-MD5 mechanism does not support authorization identities; that make the relationship between CRAM-MD5 and DIGEST-MD5/SCRAM-SHA-1 similar to the relationship between LOGIN and PLAIN.

The disadvantage with hashed passwords is that the server cannot use normal authentication infrastructures such as PAM, because the server must have access to the unhashed password in order to validate every authentication attempt.

In the client, this mechanism is always enabled, and it requires the GSASL_AUTHID and GSASL_PASSWORD properties.

In the server, the mechanism will require the GSASL_PASSWORD callback property, which may use the GSASL_AUTHID property to determine which users’ password should be used. The GSASL_AUTHID will be in normalized form. The server will then normalize the password, and compare the client response with the computed correct response, and accept the user accordingly.

See Use of SASLprep in CRAM-MD5, for a clarification on the interpretation of the CRAM-MD5 specification that this implementation rely on.

The CRAM-MD5 mechanism was initially specified in RFC 2095 but quickly revised in RFC 2195. Note that both were published before the core SASL framework, which explains its lack of authorization identity.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.6 The DIGEST-MD5 mechanism

The DIGEST-MD5 mechanism is based on repeated hashing using MD5. After the MD5 break may be argued to be weaker than HMAC-MD5 that CRAM-MD5 builds on, but DIGEST-MD5 supports other features. For example, authorization identities and data integrity and privacy protection are supported. Like CRAM-MD5, only a hashed password is transferred. Consequently, DIGEST-MD5 needs access to the correct password to verify the client response – however the server can store the password in hashed form, another improvement compared to CRAM-MD5 . Alas, this makes it impossible to use, e.g., PAM on the server side.

In the client, this mechanism is always enabled, and it requires the GSASL_AUTHID, GSASL_PASSWORD, GSASL_SERVICE, and GSASL_HOSTNAME properties. If set, GSASL_AUTHZID and GSASL_REALM will also be used.

In the server, the mechanism will first request the GSASL_DIGEST_MD5_HASHED_PASSWORD callback property to get the user’s hashed password. If the callback doesn’t supply a hashed password (i.e., it returns ‘GSASL_NO_CALLBACK’), the GSASL_PASSWORD callback property will be requested. Both callbacks may use the GSASL_AUTHID, GSASL_AUTHZID and GSASL_REALM properties to determine which users’ password should be used. The server will then compare the client response with a computed correct response, and accept the user accordingly.

The server uses the GSASL_QOPS callback to get the set of quality of protection values to use. By default, it advertises support for authentication (qop-auth) only. You can use the callback, for example, to make the server advertise support for authentication with integrity layers.

The client uses the GSASL_QOP callback to get the quality of protection value to request. The client must choose one of the QOP values offered by the server (which may be inspected through the GSASL_QOPS property). If the client does not return a value, qop-auth is used by default.

The security layers of DIGEST-MD5 are rarely used in practice due to interoperability and security reasons. You are recommended to use TLS instead.

The DIGEST-MD5 mechanism is specified in RFC 2831. RFC 6331 labels DIGEST-MD5 as historic and it contains a good exposition of the disadvantages with DIGEST-MD5.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.7 The SCRAM-SHA-1 mechanism

The SCRAM-SHA-1 mechanism is designed to provide (almost) the same capabilities that CRAM-MD5 and DIGEST-MD5 provides but use modern cryptographic techniques such as HMAC-SHA-1 hashing and PKCS#5 PBKDF2 key derivation. SCRAM-SHA-1 supports authorization identities. Like CRAM-MD5 and DIGEST-MD5, only a hashed password is transferred. Consequently, SCRAM-SHA-1 needs access to the correct password to verify the client response. Channel bindings are supported through the SCRAM-SHA-1-PLUS mechanism.

In the client, the non-PLUS mechanism is always enabled, and it requires the GSASL_AUTHID property, and either GSASL_PASSWORD or GSASL_SCRAM_SALTED_PASSWORD. When the GSASL_CB_TLS_UNIQUE property is available, the SCRAM-SHA-1-PLUS mechanism is also available and it will negotiate channel bindings when the server also supports it. If set, GSASL_AUTHZID will be used by the client. To be able to return the proper GSASL_SCRAM_SALTED_PASSWORD value, the client needs to check the GSASL_SCRAM_ITER and GSASL_SCRAM_SALT values which are available when the GSASL_SCRAM_SALTED_PASSWORD property is queried for.

In the server, the mechanism will require the GSASL_PASSWORD callback property, which may use the GSASL_AUTHID property to determine which users’ password should be used. The GSASL_AUTHID will be in normalized form. The server will then normalize the returned password, and compare the client response with the computed correct response, and accept the user accordingly. The server may also set the GSASL_SCRAM_ITER and GSASL_SCRAM_SALT properties to influence the values to be used by clients to derive a key from a password. When the GSASL_CB_TLS_UNIQUE property is set, the SCRAM-SHA-1-PLUS mechanism is supported and is used to negotiate channel bindings.

The GSASL_CB_TLS_UNIQUE property signal that this side of the authentication supports channel bindings. Setting the property will enable the SCRAM-SHA-1-PLUS mechanism. For clients, this also instructs the SCRAM-SHA-1 mechanism to tell servers that the client believes the server does not support channel bindings if it is used (remember that clients should otherwise have chosen the SCRAM-SHA-1-PLUS mechanism instead of the SCRAM-SHA-1 mechanism). For servers, it means the SCRAM-SHA-1 mechanism will refuse to authenticate against a client that signals that it believes the server does not support channel bindings.

The SCRAM-SHA-1-PLUS mechanism will never complete authentication successfully if channel bindings are not confirmed.

The SCRAM-SHA-1 mechanism is specified in RFC 5802.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.8 The NTLM mechanism

The NTLM is a non-standard mechanism. Do not use it in new applications, and do not expect it to be secure. Currently only the client side is supported.

In the client, this mechanism is always enabled, and it requires the GSASL_AUTHID and GSASL_PASSWORD properties. It will set the ‘domain’ field in the NTLM request to the value of GSASL_REALM. Some servers reportedly need non-empty but arbitrary values in that field.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.9 The SECURID mechanism

The SECURID mechanism uses authentication and authorization identity together with a passcode from a hardware token to authenticate users.

In the client, this mechanism is always enabled, and it requires the GSASL_AUTHID and GSASL_PASSCODE properties. If set, GSASL_AUTHZID will also be used. If the server requests it, the GSASL_PIN property is also required, and its callback may inspect the GSASL_SUGGESTED_PIN property to discover a server-provided PIN to use.

In the server, this mechanism will invoke the GSASL_VALIDATE_SECURID callback. The callback may inspect the GSASL_AUTHID, GSASL_AUTHZID, and GSASL_PASSCODE properties. The callback can return GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE to ask for another additional passcode from the client. The callback can return GSASL_SECURID_SERVER_NEED_NEW_PIN to ask for a new PIN code from the client, in which case it may also set the GSASL_SUGGESTED_PIN property to indicate a recommended new PIN. If the callbacks is invoked again, after having returned GSASL_SECURID_SERVER_NEED_NEW_PIN, it may also inspect the GSASL_PIN property, in addition to the other properties, to find out the client selected PIN code.

The SCRAM-SHA-1 mechanism is specified in RFC 2808.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.10 The GSSAPI mechanism

The GSSAPI mechanism allows you to authenticate using Kerberos V5. The mechanism was originally designed to allow for any GSS-API mechanism to be used, but problems with the protocol made it unpractical and it is today restricted for use with Kerberos V5. See the GS2 mechanism (see GS2-KRB5) for a general solution. However, GSSAPI continues to be widely used in Kerberos V5 environments.

In the client, the mechanism is enabled only if the user has acquired credentials (i.e., a ticket granting ticket), and it requires the GSASL_AUTHZID, GSASL_SERVICE, and GSASL_HOSTNAME properties. (For historical reasons, if the GSASL_AUTHZID property is not specified, this mechanism checks for the GSASL_AUTHZID property and if present will use that as the authorization identity – this behaviour will be removed after the year 2012 so you should update your code to use only GSASL_AUTHZID.)

In the server, the mechanism requires the GSASL_SERVICE and GSASL_HOSTNAME properties, and it will invoke the GSASL_VALIDATE_GSSAPI callback property in order to validate the user. The callback may inspect the GSASL_AUTHZID and GSASL_GSSAPI_DISPLAY_NAME properties to decide whether to authorize the user. Note that authentication is performed by the GSS-API library and that GSASL_AUTHID is not used by the server mechanism, its role is played by GSASL_GSSAPI_DISPLAY_NAME.

This implementation does not support security layers. You are recommended to use TLS instead.

The GSSAPI mechanism was specified as part of the initial core SASL framework, in RFC 2222, but later revised in RFC 4752 to only apply to Kerberos V5.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.11 The GS2-KRB5 mechanism

GS2 is a protocol bridge between GSS-API and SASL, and allows every GSS-API mechanism that supports mutual authentication and channel bindings to be used as a SASL mechanism. Currently GS2-KRB5 is supported, for Kerberos V5 authentication, however our GS2 implementation is flexible enough to easily support other GSS-API mechanism if any gains popularity.

In the client, the mechanism is enabled only if the user has acquired credentials (i.e., a ticket granting ticket), and it requires the GSASL_AUTHZID, GSASL_SERVICE, and GSASL_HOSTNAME properties.

In the server, the mechanism requires the GSASL_SERVICE and GSASL_HOSTNAME properties, and it will invoke the GSASL_VALIDATE_GSSAPI callback property in order to validate the user. The callback may inspect the GSASL_AUTHZID and GSASL_GSSAPI_DISPLAY_NAME properties to decide whether to authorize the user. Note that authentication is performed by the GSS-API library and that GSASL_AUTHID is not used by the server mechanism, its role is played by GSASL_GSSAPI_DISPLAY_NAME.

The GS2 framework supports a variant of each mechanism, called the PLUS variant, which can also bind the authentication to a secure channel through channel bindings. Currently this is not supported by GNU SASL.

The GS2 mechanism family was specified in RFC 5801.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.12 The SAML20 mechanism

The SAML20 mechanism makes it possible to use SAML in SASL, in a way that offloads the authentication exchange to an external web browser.

The mechanism makes use of the following properties: GSASL_AUTHZID, GSASL_SAML20_IDP_IDENTIFIER, GSASL_SAML20_REDIRECT_URL, GSASL_SAML20_AUTHENTICATE_IN_BROWSER and GSASL_VALIDATE_SAML20.

In client mode, the mechanism will retrieve the GSASL_AUTHZID and GSASL_SAML20_IDP_IDENTIFIER properties and form a request to the server. The server will respond with a redirect URL stored in the GSASL_SAML20_REDIRECT_URL property, which the client can retrieve from the GSASL_SAML20_AUTHENTICATE_IN_BROWSER callback. The intention is that the client launches a browser to the given URL, and then proceeds with authentication. The server responds whether authentication was successful or not.

In server mode, the mechanism will invoke the GSASL_SAML20_REDIRECT_URL callback and the application can inspect the GSASL_AUTHZID and GSASL_SAML20_IDP_IDENTIFIER properties when forming the redirect URL. The URL is passed to the client which will hopefully complete authentication in the browser. The server callback GSASL_VALIDATE_SAML20 should check whether the authentication attempt was successful.

Note that SAML itself is not implemented by the GNU SASL library. On the client side, no SAML knowledge is needed, it is only required on the server side. The client only needs to be able to start a web browser to access the redirect URL. The server side is expected to call a SAML library to generate the AuthRequest and to implement an AssertionConsumerService (ACS) to validate the AuthResponse. There is a complete proof-of-concept example of a SMTP server with SAML 2.0 support distributed with GNU SASL in the examples/saml20/ sub-directory. The example uses the Lasso SAML implementation (http://lasso.entrouvert.org/) and require a web server for the ACS side. The example may be used as inspiration for your own server implementation. The gsasl command line client supports SAML20 as a client.

The SAML20 mechanism is specified in RFC 6595.


Next: , Previous: , Up: Mechanisms   [Contents][Index]

5.13 The OPENID20 mechanism

The OPENID20 mechanism makes it possible to use OpenID in SASL, in a way that offloads the authentication exchange to an external web browser.

The mechanism makes use of the following properties: GSASL_AUTHID (for the OpenID User-Supplied Identifier), GSASL_AUTHZID, GSASL_OPENID20_REDIRECT_URL, GSASL_OPENID20_OUTCOME_DATA, GSASL_OPENID20_AUTHENTICATE_IN_BROWSER, and GSASL_VALIDATE_OPENID20.

In the client, the mechanism is enabled by default. The GSASL_AUTHID property is required and should contain the User-Supplied OpenID Identifier (for example http://josefsson.org). If set, GSASL_AUTHZID will be used by the client. The client will be invoked with the GSASL_OPENID20_AUTHENTICATE_IN_BROWSER callback to perform the OpenID authentication in a web browser. The callback can retrieve the GSASL_OPENID20_REDIRECT_URL property to find out the URL to redirect the user to. After authentication, the client can retrieve the GSASL_OPENID20_OUTCOME_DATA property with the OpenID Simple Registry (SREG) attributes sent by the server (if any).

In the server, the mechanism is enabled by default. The server will request the GSASL_OPENID20_REDIRECT_URL property, and your callback may inspect the GSASL_AUTHID to find the OpenID User-Supplied Identifier. The server callback should perform OpenID discovery and return the URL to redirect the user to. After this, the user would access the URL and proceed with authentication in the browser. The server is invoked with the GSASL_VALIDATE_OPENID20 callback to perform the actual validation of the authentication. Usually the callback will perform some IPC communication with an OpenID consumer running in a web server. The callback should return GSASL_OK on successful authentication and GSASL_AUTHENTICATION_ERROR on authentication errors, or any other error code. If the server received some OpenID Simple Registry (SREG) attributes from the OpenID Identity Provider, it may use the GSASL_OPENID20_OUTCOME_DATA property to send these to the client.

Note that OpenID itself is not implemented by the GNU SASL library. On the client side, no OpenID knowledge is required, it is only required on the server side. The client only needs to be able to start a web browser to access the redirect URL. The server side is expected to use an OpenID library to generate the redirect URL and to implement the Service Provider (SP) to validate the response from the IdP. There is a complete proof-of-concept example with a SMTP server with OpenID 2.0 support distributed with GNU SASL in the examples/openid20/ sub-directory. It uses the JanRain PHP5 OpenID implementation and require a web server to implement the OpenID SP. The example may be used as inspiration for your own server implementation. The gsasl command line client supports OPENID20 as a client.

The OPENID20 mechanism is specified in RFC 6616.


Previous: , Up: Mechanisms   [Contents][Index]

5.14 The KERBEROS_V5 mechanism

The KERBEROS_V5 is an experimental mechanism, the protocol specification is available on the GNU SASL homepage. It can operate in three modes, non-infrastructure mode, infrastructure mode and proxied infrastructure mode. Currently only non-infrastructure mode is supported.

In the non-infrastructure mode, it works as a superset of most features provided by PLAIN, CRAM-MD5, DIGEST-MD5 and GSSAPI while at the same time building on what is believed to be proven technology (the RFC 1510 network security system). In the non-infrastructure mode, the client must specify (via callbacks) the name of the user, and optionally the server name and realm. The server must be able to retrieve passwords given the name of the user.

In the infrastructure mode (proxied or otherwise), it allows clients and servers to authenticate via SASL in an RFC 1510 environment, using a trusted third party, a “Key Distribution Central”. In the normal mode, clients acquire tickets out of band and then invokes a one roundtrip AP-REQ and AP-REP exchange. In the proxied mode, which can be used by clients without IP addresses or without connectivity to the KDC (e.g., when the KDC is IPv4 and the client is IPV6-only), the client uses the server to proxy ticket requests and finishes with the AP-REQ/AP-REP exchange. In infrastructure mode (proxied or otherwise), neither the client nor server need to implement any callbacks (this will likely change later, to allow a server to authorize users, similar to the GSSAPI callback).

XXX: update when implementation has matured


Next: , Previous: , Up: Top   [Contents][Index]

6 Global Functions

gsasl_init

Function: int gsasl_init (Gsasl ** ctx)

ctx: pointer to libgsasl handle.

This functions initializes libgsasl. The handle pointed to by ctx is valid for use with other libgsasl functions iff this function is successful. It also register all builtin SASL mechanisms, using gsasl_register() .

Return value: GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR .

gsasl_done

Function: void gsasl_done (Gsasl * ctx)

ctx: libgsasl handle.

This function destroys a libgsasl handle. The handle must not be used with other libgsasl functions after this call.

gsasl_client_mechlist

Function: int gsasl_client_mechlist (Gsasl * ctx, char ** out)

ctx: libgsasl handle.

out: newly allocated output character array.

Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl client. out is allocated by this function, and it is the responsibility of caller to deallocate it.

Return value: Returns GSASL_OK if successful, or error code.

gsasl_server_mechlist

Function: int gsasl_server_mechlist (Gsasl * ctx, char ** out)

ctx: libgsasl handle.

out: newly allocated output character array.

Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl server. out is allocated by this function, and it is the responsibility of caller to deallocate it.

Return value: Returns GSASL_OK if successful, or error code.

gsasl_client_support_p

Function: int gsasl_client_support_p (Gsasl * ctx, const char * name)

ctx: libgsasl handle.

name: name of SASL mechanism.

Decide whether there is client-side support for a specified mechanism.

Return value: Returns 1 if the libgsasl client supports the named mechanism, otherwise 0.

gsasl_server_support_p

Function: int gsasl_server_support_p (Gsasl * ctx, const char * name)

ctx: libgsasl handle.

name: name of SASL mechanism.

Decide whether there is server-side support for a specified mechanism.

Return value: Returns 1 if the libgsasl server supports the named mechanism, otherwise 0.

gsasl_client_suggest_mechanism

Function: const char * gsasl_client_suggest_mechanism (Gsasl * ctx, const char * mechlist)

ctx: libgsasl handle.

mechlist: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC).

Given a list of mechanisms, suggest which to use.

Return value: Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string, or NULL if no supported mechanism is found.

gsasl_register

Function: int gsasl_register (Gsasl * ctx, const Gsasl_mechanism * mech)

ctx: pointer to libgsasl handle.

mech: plugin structure with information about plugin.

This function initialize given mechanism, and if successful, add it to the list of plugins that is used by the library.

Return value: GSASL_OK iff successful, otherwise GSASL_MALLOC_ERROR .

Since: 0.2.0


Next: , Previous: , Up: Top   [Contents][Index]

7 Callback Functions

The callback is used by mechanisms to retrieve information, such as username and password, from the application. In a server, the callback is used to decide whether a user is permitted to log in or not. You tell the library of your callback function by calling gsasl_callback_set.

Since your callback may need access to data from other parts of your application, there are hooks to store and retrieve application specific pointers. This avoids the use of global variables, which wouldn’t be thread safe. You store a pointer to some information (opaque from the point of view of the library) by calling gsasl_callback_hook_set and can later retrieve this data in your callback by calling gsasl_callback_hook_get.

gsasl_callback_set

Function: void gsasl_callback_set (Gsasl * ctx, Gsasl_callback_function cb)

ctx: handle received from gsasl_init() .

cb: pointer to function implemented by application.

Store the pointer to the application provided callback in the library handle. The callback will be used, via gsasl_callback() , by mechanisms to discover various parameters (such as username and passwords). The callback function will be called with a Gsasl_property value indicating the requested behaviour. For example, for GSASL_ANONYMOUS_TOKEN , the function is expected to invoke gsasl_property_set( CTX , GSASL_ANONYMOUS_TOKEN , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters.

Since: 0.2.0

gsasl_callback

Function: int gsasl_callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop)

ctx: handle received from gsasl_init() , may be NULL to derive it from sctx .

sctx: session handle.

prop: enumerated value of Gsasl_property type.

Invoke the application callback. The prop value indicate what the callback is expected to do. For example, for GSASL_ANONYMOUS_TOKEN , the function is expected to invoke gsasl_property_set( SCTX , GSASL_ANONYMOUS_TOKEN , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters.

Note that if no callback has been set by the application, but the obsolete callback interface has been used, this function will translate the old callback interface into the new. This interface should be sufficient to invoke all callbacks, both new and old.

Return value: Returns whatever the application callback returns, or GSASL_NO_CALLBACK if no application was known.

Since: 0.2.0

gsasl_callback_hook_set

Function: void gsasl_callback_hook_set (Gsasl * ctx, void * hook)

ctx: libgsasl handle.

hook: opaque pointer to application specific data.

Store application specific data in the libgsasl handle.

The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_callback_hook_get() . This is normally used by the application to maintain a global state between the main program and callbacks.

Since: 0.2.0

gsasl_callback_hook_get

Function: void * gsasl_callback_hook_get (Gsasl * ctx)

ctx: libgsasl handle.

Retrieve application specific data from libgsasl handle.

The application data is set using gsasl_callback_hook_set() . This is normally used by the application to maintain a global state between the main program and callbacks.

Return value: Returns the application specific data, or NULL.

Since: 0.2.0

gsasl_session_hook_set

Function: void gsasl_session_hook_set (Gsasl_session * sctx, void * hook)

sctx: libgsasl session handle.

hook: opaque pointer to application specific data.

Store application specific data in the libgsasl session handle.

The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_session_hook_get() . This is normally used by the application to maintain a per-session state between the main program and callbacks.

Since: 0.2.14

gsasl_session_hook_get

Function: void * gsasl_session_hook_get (Gsasl_session * sctx)

sctx: libgsasl session handle.

Retrieve application specific data from libgsasl session handle.

The application data is set using gsasl_callback_hook_set() . This is normally used by the application to maintain a per-session state between the main program and callbacks.

Return value: Returns the application specific data, or NULL.

Since: 0.2.14


Next: , Previous: , Up: Top   [Contents][Index]

8 Property Functions

gsasl_property_set

Function: void gsasl_property_set (Gsasl_session * sctx, Gsasl_property prop, const char * data)

sctx: session handle.

prop: enumerated value of Gsasl_property type, indicating the type of data in data .

data: zero terminated character string to store.

Make a copy of data and store it in the session handle for the indicated property prop .

You can immediately deallocate data after calling this function, without affecting the data stored in the session handle.

Since: 0.2.0

gsasl_property_set_raw

Function: void gsasl_property_set_raw (Gsasl_session * sctx, Gsasl_property prop, const char * data, size_t len)

sctx: session handle.

prop: enumerated value of Gsasl_property type, indicating the type of data in data .

data: character string to store.

len: length of character string to store.

Make a copy of len sized data and store a zero terminated version of it in the session handle for the indicated property prop .

You can immediately deallocate data after calling this function, without affecting the data stored in the session handle.

Except for the length indicator, this function is identical to gsasl_property_set.

Since: 0.2.0

gsasl_property_fast

Function: const char * gsasl_property_fast (Gsasl_session * sctx, Gsasl_property prop)

sctx: session handle.

prop: enumerated value of Gsasl_property type, indicating the type of data in data .

Retrieve the data stored in the session handle for given property prop .

The pointer is to live data, and must not be deallocated or modified in any way.

This function will not invoke the application callback.

Return value: Return property value, if known, or NULL if no value known.

Since: 0.2.0

gsasl_property_get

Function: const char * gsasl_property_get (Gsasl_session * sctx, Gsasl_property prop)

sctx: session handle.

prop: enumerated value of Gsasl_property type, indicating the type of data in data .

Retrieve the data stored in the session handle for given property prop , possibly invoking the application callback to get the value.

The pointer is to live data, and must not be deallocated or modified in any way.

This function will invoke the application callback, using gsasl_callback() , when a property value is not known.

If no value is known, and no callback is specified or if the callback fail to return data, and if any obsolete callback functions has been set by the application, this function will try to call these obsolete callbacks, and store the returned data as the corresponding property. This behaviour of this function will be removed when the obsolete callback interfaces are removed.

Return value: Return data for property, or NULL if no value known.

Since: 0.2.0


Next: , Previous: , Up: Top   [Contents][Index]

9 Session Functions

gsasl_client_start

Function: int gsasl_client_start (Gsasl * ctx, const char * mech, Gsasl_session ** sctx)

ctx: libgsasl handle.

mech: name of SASL mechanism.

sctx: pointer to client handle.

This functions initiates a client SASL authentication. This function must be called before any other gsasl_client_*() function is called.

Return value: Returns GSASL_OK if successful, or error code.

gsasl_server_start

Function: int gsasl_server_start (Gsasl * ctx, const char * mech, Gsasl_session ** sctx)

ctx: libgsasl handle.

mech: name of SASL mechanism.

sctx: pointer to server handle.

This functions initiates a server SASL authentication. This function must be called before any other gsasl_server_*() function is called.

Return value: Returns GSASL_OK if successful, or error code.

gsasl_step

Function: int gsasl_step (Gsasl_session * sctx, const char * input, size_t input_len, char ** output, size_t * output_len)

sctx: libgsasl session handle.

input: input byte array.

input_len: size of input byte array.

output: newly allocated output byte array.

output_len: pointer to output variable with size of output byte array.

Perform one step of SASL authentication. This reads data from the other end (from input and input_len ), processes it (potentially invoking callbacks to the application), and writes data to server (into newly allocated variable output and output_len that indicate the length of output ).

The contents of the output buffer is unspecified if this functions returns anything other than GSASL_OK or GSASL_NEEDS_MORE . If this function return GSASL_OK or GSASL_NEEDS_MORE , however, the output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( output ).

Return value: Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.

gsasl_step64

Function: int gsasl_step64 (Gsasl_session * sctx, const char * b64input, char ** b64output)

sctx: libgsasl client handle.

b64input: input base64 encoded byte array.

b64output: newly allocated output base64 encoded byte array.

This is a simple wrapper around gsasl_step() that base64 decodes the input and base64 encodes the output.

The contents of the b64output buffer is unspecified if this functions returns anything other than GSASL_OK or GSASL_NEEDS_MORE . If this function return GSASL_OK or GSASL_NEEDS_MORE , however, the b64output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( b64output ).

Return value: Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.

gsasl_finish

Function: void gsasl_finish (Gsasl_session * sctx)

sctx: libgsasl session handle.

Destroy a libgsasl client or server handle. The handle must not be used with other libgsasl functions after this call.

gsasl_encode

Function: int gsasl_encode (Gsasl_session * sctx, const char * input, size_t input_len, char ** output, size_t * output_len)

sctx: libgsasl session handle.

input: input byte array.

input_len: size of input byte array.

output: newly allocated output byte array.

output_len: size of output byte array.

Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

The output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( output ).

Return value: Returns GSASL_OK if encoding was successful, otherwise an error code.

gsasl_decode

Function: int gsasl_decode (Gsasl_session * sctx, const char * input, size_t input_len, char ** output, size_t * output_len)

sctx: libgsasl session handle.

input: input byte array.

input_len: size of input byte array.

output: newly allocated output byte array.

output_len: size of output byte array.

Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

The output buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( output ).

Return value: Returns GSASL_OK if encoding was successful, otherwise an error code.

gsasl_mechanism_name

Function: const char * gsasl_mechanism_name (Gsasl_session * sctx)

sctx: libgsasl session handle.

This function returns the name of the SASL mechanism used in the session. The pointer must not be deallocated by the caller.

Return value: Returns a zero terminated character array with the name of the SASL mechanism, or NULL if not known.

Since: 0.2.28


Next: , Previous: , Up: Top   [Contents][Index]

10 Utilities

gsasl_saslprep

Function: int gsasl_saslprep (const char * in, Gsasl_saslprep_flags flags, char ** out, int * stringpreprc)

in: a UTF-8 encoded string.

flags: any SASLprep flag, e.g., GSASL_ALLOW_UNASSIGNED .

out: on exit, contains newly allocated output string.

stringpreprc: if non-NULL, will hold precise stringprep return code.

Prepare string using SASLprep. On success, the out variable must be deallocated by the caller.

Return value: Returns GSASL_OK on success, or GSASL_SASLPREP_ERROR on error.

Since: 0.2.3

gsasl_base64_to

Function: int gsasl_base64_to (const char * in, size_t inlen, char ** out, size_t * outlen)

in: input byte array

inlen: size of input byte array

out: pointer to newly allocated output byte array

outlen: pointer to size of newly allocated output byte array

Encode data as base64. The string is zero terminated, and outlen holds the length excluding the terminating zero. The out buffer must be deallocated by the caller.

Return value: Returns GSASL_OK on success, or GSASL_MALLOC_ERROR if input was too large or memory allocation fail.

Since: 0.2.2

gsasl_base64_from

Function: int gsasl_base64_from (const char * in, size_t inlen, char ** out, size_t * outlen)

in: input byte array

inlen: size of input byte array

out: pointer to newly allocated output byte array

outlen: pointer to size of newly allocated output byte array

Decode Base64 data. The out buffer must be deallocated by the caller.

Return value: Returns GSASL_OK on success, GSASL_BASE64_ERROR if input was invalid, and GSASL_MALLOC_ERROR on memory allocation errors.

Since: 0.2.2

gsasl_simple_getpass

Function: int gsasl_simple_getpass (const char * filename, const char * username, char ** key)

filename: filename of file containing passwords.

username: username string.

key: newly allocated output character array.

Retrieve password for user from specified file. The buffer key contain the password if this function is successful. The caller is responsible for deallocating it.

The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively.

Return value: Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code.

gsasl_nonce

Function: int gsasl_nonce (char * data, size_t datalen)

data: output array to be filled with unpredictable random data.

datalen: size of output array.

Store unpredictable data of given size in the provided buffer.

Return value: Returns GSASL_OK iff successful.

gsasl_random

Function: int gsasl_random (char * data, size_t datalen)

data: output array to be filled with strong random data.

datalen: size of output array.

Store cryptographically strong random data of given size in the provided buffer.

Return value: Returns GSASL_OK iff successful.

gsasl_md5

Function: int gsasl_md5 (const char * in, size_t inlen, char * [] out)

in: input character array of data to hash.

inlen: length of input character array of data to hash.

out: newly allocated 16-byte character array with hash of data.

Compute hash of data using MD5. The out buffer must be deallocated by the caller.

Return value: Returns GSASL_OK iff successful.

gsasl_hmac_md5

Function: int gsasl_hmac_md5 (const char * key, size_t keylen, const char * in, size_t inlen, char * [] outhash)

key: input character array with key to use.

keylen: length of input character array with key to use.

in: input character array of data to hash.

inlen: length of input character array of data to hash.

outhash: newly allocated 16-byte character array with keyed hash of data.

Compute keyed checksum of data using HMAC-MD5. The outhash buffer must be deallocated by the caller.

Return value: Returns GSASL_OK iff successful.

gsasl_sha1

Function: int gsasl_sha1 (const char * in, size_t inlen, char * [] out)

in: input character array of data to hash.

inlen: length of input character array of data to hash.

out: newly allocated 20-byte character array with hash of data.

Compute hash of data using SHA1. The out buffer must be deallocated by the caller.

Return value: Returns GSASL_OK iff successful.

Since: 1.3

gsasl_hmac_sha1

Function: int gsasl_hmac_sha1 (const char * key, size_t keylen, const char * in, size_t inlen, char * [] outhash)

key: input character array with key to use.

keylen: length of input character array with key to use.

in: input character array of data to hash.

inlen: length of input character array of data to hash.

outhash: newly allocated 20-byte character array with keyed hash of data.

Compute keyed checksum of data using HMAC-SHA1. The outhash buffer must be deallocated by the caller.

Return value: Returns GSASL_OK iff successful.

Since: 1.3


Next: , Previous: , Up: Top   [Contents][Index]

11 Memory Handling

gsasl_free

Function: void gsasl_free (void * ptr)

ptr: memory pointer

Invoke free( ptr ) to de-allocate memory pointer. Typically used on strings allocated by other libgsasl functions.

This is useful on Windows where libgsasl is linked to one CRT and the application is linked to another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio.

Since: 0.2.19


Next: , Previous: , Up: Top   [Contents][Index]

12 Error Handling

Most functions in the GNU SASL Library return an error if they fail. For this reason, the application should always catch the error condition and take appropriate measures, for example by releasing the resources and passing the error up to the caller, or by displaying a descriptive message to the user and cancelling the operation.

Some error values do not indicate a system error or an error in the operation, but the result of an operation that failed properly.


12.1 Error values

Errors are returned as int values.

The value of the symbol GSASL_OK is guaranteed to always be 0, and all other error codes are guaranteed to be non-0, so you may use that information to build boolean expressions involving return codes. Otherwise, an application should not depend on the particular value for error codes, and are encouraged to use the constants even for GSASL_OK to improve readability. Possible values are:

GSASL_OK

Libgsasl success

GSASL_NEEDS_MORE

SASL mechanism needs more data

GSASL_UNKNOWN_MECHANISM

Unknown SASL mechanism

GSASL_MECHANISM_CALLED_TOO_MANY_TIMES

SASL mechanism called too many times

GSASL_TOO_SMALL_BUFFER

SASL function needs larger buffer (internal error)

GSASL_FOPEN_ERROR

Could not open file in SASL library

GSASL_FCLOSE_ERROR

Could not close file in SASL library

GSASL_MALLOC_ERROR

Memory allocation error in SASL library

GSASL_BASE64_ERROR

Base 64 coding error in SASL library

GSASL_CRYPTO_ERROR

Low-level crypto error in SASL library

GSASL_NEED_CLIENT_ANONYMOUS_CALLBACK

SASL mechanism needs gsasl_client_callback_anonymous() callback (application error)

GSASL_NEED_CLIENT_PASSWORD_CALLBACK

SASL mechanism needs gsasl_client_callback_password() callback (application error)

GSASL_NEED_CLIENT_PASSCODE_CALLBACK

SASL mechanism needs gsasl_client_callback_passcode() callback (application error)

GSASL_NEED_CLIENT_PIN_CALLBACK

SASL mechanism needs gsasl_client_callback_pin() callback (application error)

GSASL_NEED_CLIENT_AUTHORIZATION_ID_CALLBACK

SASL mechanism needs gsasl_client_callback_authorization_id() callback (application error)

GSASL_NEED_CLIENT_AUTHENTICATION_ID_CALLBACK

SASL mechanism needs gsasl_client_callback_authentication_id() callback (application error)

GSASL_NEED_CLIENT_SERVICE_CALLBACK

SASL mechanism needs gsasl_client_callback_service() callback (application error)

GSASL_NEED_SERVER_VALIDATE_CALLBACK

SASL mechanism needs gsasl_server_callback_validate() callback (application error)

GSASL_NEED_SERVER_CRAM_MD5_CALLBACK

SASL mechanism needs gsasl_server_callback_cram_md5() callback (application error)

GSASL_NEED_SERVER_DIGEST_MD5_CALLBACK

SASL mechanism needs gsasl_server_callback_digest_md5() callback (application error)

GSASL_NEED_SERVER_EXTERNAL_CALLBACK

SASL mechanism needs gsasl_server_callback_external() callback (application error)

GSASL_NEED_SERVER_ANONYMOUS_CALLBACK

SASL mechanism needs gsasl_server_callback_anonymous() callback (application error)

GSASL_NEED_SERVER_REALM_CALLBACK

SASL mechanism needs gsasl_server_callback_realm() callback (application error)

GSASL_NEED_SERVER_SECURID_CALLBACK

SASL mechanism needs gsasl_server_callback_securid() callback (application error)

GSASL_NEED_SERVER_SERVICE_CALLBACK

SASL mechanism needs gsasl_server_callback_service() callback (application error)

GSASL_NEED_SERVER_GSSAPI_CALLBACK

SASL mechanism needs gsasl_server_callback_gssapi() callback (application error)

GSASL_NEED_SERVER_RETRIEVE_CALLBACK

SASL mechanism needs gsasl_server_callback_retrieve() callback (application error)

GSASL_UNICODE_NORMALIZATION_ERROR

Failed to perform Unicode Normalization on string.

GSASL_SASLPREP_ERROR

Could not prepare internationalized (non-ASCII) string.

GSASL_MECHANISM_PARSE_ERROR

SASL mechanism could not parse input

GSASL_AUTHENTICATION_ERROR

Error authenticating user

GSASL_CANNOT_GET_CTX

Cannot get internal library handle (library error)

GSASL_INTEGRITY_ERROR

Integrity error in application payload

GSASL_NO_MORE_REALMS

No more realms available (non-fatal)

GSASL_NO_CLIENT_CODE

Client-side functionality not available in library (application error)

GSASL_NO_SERVER_CODE

Server-side functionality not available in library (application error)

GSASL_GSSAPI_RELEASE_BUFFER_ERROR

GSSAPI library could not deallocate memory in gss_release_buffer() in SASL library. This is a serious internal error.

GSASL_GSSAPI_IMPORT_NAME_ERROR

GSSAPI library could not understand a peer name in gss_import_name() in SASL library. This is most likely due to incorrect service and/or hostnames.

GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR

GSSAPI error in client while negotiating security context in gss_init_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.

GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR

GSSAPI error in server while negotiating security context in gss_accept_sec_context() in SASL library. This is most likely due insufficient credentials or malicious interactions.

GSASL_GSSAPI_UNWRAP_ERROR

GSSAPI error while decrypting or decoding data in gss_unwrap() in SASL library. This is most likely due to data corruption.

GSASL_GSSAPI_WRAP_ERROR

GSSAPI error while encrypting or encoding data in gss_wrap() in SASL library.

GSASL_GSSAPI_ACQUIRE_CRED_ERROR

GSSAPI error acquiring credentials in gss_acquire_cred() in SASL library. This is most likely due to not having the proper Kerberos key available in /etc/krb5.keytab on the server.

GSASL_GSSAPI_DISPLAY_NAME_ERROR

GSSAPI error creating a display name denoting the client in gss_display_name() in SASL library. This is probably because the client supplied bad data.

GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR

Other entity requested integrity or confidentiality protection in GSSAPI mechanism but this is currently not implemented.

GSASL_KERBEROS_V5_INIT_ERROR

Kerberos V5 initialization failure.

GSASL_KERBEROS_V5_INTERNAL_ERROR

Kerberos V5 internal error.

GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE

SecurID needs additional passcode.

GSASL_SECURID_SERVER_NEED_NEW_PIN

SecurID needs new pin.

GSASL_INVALID_HANDLE

The provided library handle was invalid (application error)

GSASL_NO_CALLBACK

No callback specified by caller (application error).

GSASL_NO_ANONYMOUS_TOKEN

Authentication failed because the anonymous token was not provided.

GSASL_NO_AUTHID

Authentication failed because the authentication identity was not provided.

GSASL_NO_AUTHZID

Authentication failed because the authorization identity was not provided.

GSASL_NO_PASSWORD

Authentication failed because the password was not provided.

GSASL_NO_PASSCODE

Authentication failed because the passcode was not provided.

GSASL_NO_PIN

Authentication failed because the pin code was not provided.

GSASL_NO_SERVICE

Authentication failed because the service name was not provided.

GSASL_NO_HOSTNAME

Authentication failed because the host name was not provided.

GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR

GSSAPI error encapsulating token.

GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR

GSSAPI error decapsulating token.

GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR

GSSAPI error getting OID for SASL mechanism name.

GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR

GSSAPI error testing for OID in OID set.

GSASL_GSSAPI_RELEASE_OID_SET_ERROR

GSSAPI error releasing OID set.

GSASL_NO_CB_TLS_UNIQUE

Authentication failed because a tls-unique CB was not provided.

GSASL_NO_SAML20_IDP_IDENTIFIER

Callback failed to provide SAML20 IdP identifier.

GSASL_NO_SAML20_REDIRECT_URL

Callback failed to provide SAML20 redirect URL.

GSASL_NO_OPENID20_REDIRECT_URL

Callback failed to provide OPENID20 redirect URL.


Previous: , Up: Error Handling   [Contents][Index]

12.2 Error strings

gsasl_strerror

Function: const char * gsasl_strerror (int err)

err: libgsasl error code

Convert return code to human readable string explanation of the reason for the particular error code.

This string can be used to output a diagnostic message to the user.

This function is one of few in the library that can be used without a successful call to gsasl_init() .

Return value: Returns a pointer to a statically allocated string containing an explanation of the error code err .

gsasl_strerror_name

Function: const char * gsasl_strerror_name (int err)

err: libgsasl error code

Convert return code to human readable string representing the error code symbol itself. For example, gsasl_strerror_name(GSASL_OK ) returns the string "GSASL_OK".

This string can be used to output a diagnostic message to the user.

This function is one of few in the library that can be used without a successful call to gsasl_init() .

Return value: Returns a pointer to a statically allocated string containing a string version of the error code err , or NULL if the error code is not known.

Since: 0.2.29


Next: , Previous: , Up: Top   [Contents][Index]

13 Examples

This chapter contains example code which illustrates how the GNU SASL Library can be used when writing your own application.


Next: , Up: Examples   [Contents][Index]

13.1 Example 1

/* client.c --- Example SASL client.
 * Copyright (C) 2004-2019 Simon Josefsson
 *
 * This file is part of GNU SASL.
 *
 * 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 3 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, see <http://www.gnu.org/licenses/>.
 *
 */

#include <config.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <gsasl.h>

static void
client_authenticate (Gsasl_session * session)
{
  char buf[BUFSIZ] = "";
  char *p;
  int rc;

  /* This loop mimics a protocol where the client send data first. */

  do
    {
      /* Generate client output. */
      rc = gsasl_step64 (session, buf, &p);

      if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK)
        {
          /* If sucessful, print it. */
          printf ("Output:\n%s\n", p);
          gsasl_free (p);
        }

      if (rc == GSASL_NEEDS_MORE)
        {
          /* If the client need more data from server, get it here. */
          printf ("Input base64 encoded data from server:\n");
          p = fgets (buf, sizeof (buf) - 1, stdin);
	  if (p == NULL)
	    {
	      perror ("fgets");
	      return;
	    }
          if (buf[strlen (buf) - 1] == '\n')
            buf[strlen (buf) - 1] = '\0';
        }
    }
  while (rc == GSASL_NEEDS_MORE);

  printf ("\n");

  if (rc != GSASL_OK)
    {
      printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* The client is done.  Here you would typically check if the server
     let the client in.  If not, you could try again. */

  printf ("If server accepted us, we're done.\n");
}

static void
client (Gsasl * ctx)
{
  Gsasl_session *session;
  const char *mech = "PLAIN";
  int rc;

  /* Create new authentication session. */
  if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK)
    {
      printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* Set username and password in session handle.  This info will be
     lost when this session is deallocated below.  */
  gsasl_property_set (session, GSASL_AUTHID, "jas");
  gsasl_property_set (session, GSASL_PASSWORD, "secret");

  /* Do it. */
  client_authenticate (session);

  /* Cleanup. */
  gsasl_finish (session);
}

int
main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;

  /* Initialize library. */
  if ((rc = gsasl_init (&ctx)) != GSASL_OK)
    {
      printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc));
      return 1;
    }

  /* Do it. */
  client (ctx);

  /* Cleanup. */
  gsasl_done (ctx);

  return 0;
}

Next: , Previous: , Up: Examples   [Contents][Index]

13.2 Example 2

/* client-serverfirst.c --- Example SASL client, where server send data first.
 * Copyright (C) 2004-2019 Simon Josefsson
 *
 * This file is part of GNU SASL.
 *
 * 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 3 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, see <http://www.gnu.org/licenses/>.
 *
 */

#include <config.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <gsasl.h>

static void
client_authenticate (Gsasl_session * session)
{
  char buf[BUFSIZ] = "";
  char *p;
  int rc;

  /* This loop mimics a protocol where the server send data first. */

  do
    {
      printf ("Input base64 encoded data from server:\n");
      p = fgets (buf, sizeof (buf) - 1, stdin);
      if (p == NULL)
	{
	  perror ("fgets");
	  return;
	}
      if (buf[strlen (buf) - 1] == '\n')
        buf[strlen (buf) - 1] = '\0';

      rc = gsasl_step64 (session, buf, &p);

      if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK)
        {
          printf ("Output:\n%s\n", p);
          gsasl_free (p);
        }
    }
  while (rc == GSASL_NEEDS_MORE);

  printf ("\n");

  if (rc != GSASL_OK)
    {
      printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* The client is done.  Here you would typically check if the server
     let the client in.  If not, you could try again. */

  printf ("If server accepted us, we're done.\n");
}

static void
client (Gsasl * ctx)
{
  Gsasl_session *session;
  const char *mech = "CRAM-MD5";
  int rc;

  /* Create new authentication session. */
  if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK)
    {
      printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* Set username and password in session handle.  This info will be
     lost when this session is deallocated below.  */
  gsasl_property_set (session, GSASL_AUTHID, "jas");
  gsasl_property_set (session, GSASL_PASSWORD, "secret");

  /* Do it. */
  client_authenticate (session);

  /* Cleanup. */
  gsasl_finish (session);
}

int
main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;

  /* Initialize library. */
  if ((rc = gsasl_init (&ctx)) != GSASL_OK)
    {
      printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc));
      return 1;
    }

  /* Do it. */
  client (ctx);

  /* Cleanup. */
  gsasl_done (ctx);

  return 0;
}

Next: , Previous: , Up: Examples   [Contents][Index]

13.3 Example 3

/* client-mech.c --- Example SASL client, with a choice of mechanism to use.
 * Copyright (C) 2004-2019 Simon Josefsson
 *
 * This file is part of GNU SASL.
 *
 * 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 3 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, see <http://www.gnu.org/licenses/>.
 *
 */

#include <config.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <gsasl.h>

static void
client_authenticate (Gsasl_session * session)
{
  char buf[BUFSIZ] = "";
  char *p;
  int rc;

  /* This loop mimics a protocol where the server send data first. */

  do
    {
      printf ("Input base64 encoded data from server:\n");
      p = fgets (buf, sizeof (buf) - 1, stdin);
      if (p == NULL)
	{
	  perror ("fgets");
	  return;
	}
      if (buf[strlen (buf) - 1] == '\n')
        buf[strlen (buf) - 1] = '\0';

      rc = gsasl_step64 (session, buf, &p);

      if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK)
        {
          printf ("Output:\n%s\n", p);
          gsasl_free (p);
        }
    }
  while (rc == GSASL_NEEDS_MORE);

  printf ("\n");

  if (rc != GSASL_OK)
    {
      printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* The client is done.  Here you would typically check if the server
     let the client in.  If not, you could try again. */

  printf ("If server accepted us, we're done.\n");
}

static const char *
client_mechanism (Gsasl * ctx)
{
  static char mech[GSASL_MAX_MECHANISM_SIZE + 1] = "";
  char mechlist[BUFSIZ] = "";
  const char *suggestion;
  char *p;

  printf ("Enter list of server supported mechanisms, separate by SPC:\n");
  p = fgets (mechlist, sizeof (mechlist) - 1, stdin);
  if (p == NULL)
    {
      perror ("fgets");
      return NULL;
    }

  suggestion = gsasl_client_suggest_mechanism (ctx, mechlist);
  if (suggestion)
    printf ("Library suggests use of `%s'.\n", suggestion);

  printf ("Enter mechanism to use:\n");
  p = fgets (mech, sizeof (mech) - 1, stdin);
  if (p == NULL)
    {
      perror ("fgets");
      return NULL;
    }

  mech[strlen (mech) - 1] = '\0';

  return mech;
}

static void
client (Gsasl * ctx)
{
  Gsasl_session *session;
  const char *mech;
  int rc;

  /* Find out which mechanism to use. */
  mech = client_mechanism (ctx);

  /* Create new authentication session. */
  if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK)
    {
      printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* Set username and password in session handle.  This info will be
     lost when this session is deallocated below.  */
  gsasl_property_set (session, GSASL_AUTHID, "jas");
  gsasl_property_set (session, GSASL_PASSWORD, "secret");

  /* Do it. */
  client_authenticate (session);

  /* Cleanup. */
  gsasl_finish (session);
}

int
main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;

  /* Initialize library. */
  if ((rc = gsasl_init (&ctx)) != GSASL_OK)
    {
      printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc));
      return 1;
    }

  /* Do it. */
  client (ctx);

  /* Cleanup. */
  gsasl_done (ctx);

  return 0;
}

Next: , Previous: , Up: Examples   [Contents][Index]

13.4 Example 4

/* client-callback.c --- Example SASL client, with callback for user info.
 * Copyright (C) 2004-2019 Simon Josefsson
 *
 * This file is part of GNU SASL.
 *
 * 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 3 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, see <http://www.gnu.org/licenses/>.
 *
 */

#include <config.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <gsasl.h>

static void
client_authenticate (Gsasl_session * session)
{
  char buf[BUFSIZ] = "";
  char *p;
  int rc;

  /* This loop mimics a protocol where the server send data first. */

  do
    {
      printf ("Input base64 encoded data from server:\n");
      p = fgets (buf, sizeof (buf) - 1, stdin);
      if (p == NULL)
	{
	  perror ("fgets");
	  return;
	}
      if (buf[strlen (buf) - 1] == '\n')
        buf[strlen (buf) - 1] = '\0';

      rc = gsasl_step64 (session, buf, &p);

      if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK)
        {
          printf ("Output:\n%s\n", p);
          gsasl_free (p);
        }
    }
  while (rc == GSASL_NEEDS_MORE);

  printf ("\n");

  if (rc != GSASL_OK)
    {
      printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* The client is done.  Here you would typically check if the server
     let the client in.  If not, you could try again. */

  printf ("If server accepted us, we're done.\n");
}

static void
client (Gsasl * ctx)
{
  Gsasl_session *session;
  const char *mech = "SECURID";
  int rc;

  /* Create new authentication session. */
  if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK)
    {
      printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc));
      return;
    }

  /* Do it. */
  client_authenticate (session);

  /* Cleanup. */
  gsasl_finish (session);
}

static int
callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop)
{
  char buf[BUFSIZ] = "";
  int rc = GSASL_NO_CALLBACK;
  char *p;

  /* Get user info from user. */

  printf ("Callback invoked, for property %u.\n", prop);

  switch (prop)
    {
    case GSASL_PASSCODE:
      printf ("Enter passcode:\n");
      p = fgets (buf, sizeof (buf) - 1, stdin);
      if (p == NULL)
	{
	  perror ("fgets");
	  break;
	}
      buf[strlen (buf) - 1] = '\0';

      gsasl_property_set (sctx, GSASL_PASSCODE, buf);
      rc = GSASL_OK;
      break;

    case GSASL_AUTHID:
      printf ("Enter username:\n");
      p = fgets (buf, sizeof (buf) - 1, stdin);
      if (p == NULL)
	{
	  perror ("fgets");
	  break;
	}
      buf[strlen (buf) - 1] = '\0';

      gsasl_property_set (sctx, GSASL_AUTHID, buf);
      rc = GSASL_OK;
      break;

    default:
      printf ("Unknown property!  Don't worry.\n");
      break;
    }

  return rc;
}

int
main (int argc, char *argv[])
{
  Gsasl *ctx = NULL;
  int rc;

  /* Initialize library. */
  if ((rc = gsasl_init (&ctx)) != GSASL_OK)
    {
      printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc));
      return 1;
    }

  /* Set the callback handler for the library. */
  gsasl_callback_set (ctx, callback);

  /* Do it. */
  client (ctx);

  /* Cleanup. */
  gsasl_done (ctx);

  return 0;
}

Previous: , Up: Examples   [Contents][Index]

13.5 Example 5

/* smtp-server.c --- Example SMTP server with SASL authentication
 * Copyright (C) 2012-2019 Simon Josefsson
 *
 * This file is part of GNU SASL.
 *
 * 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 3 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, see <http://www.gnu.org/licenses/>.
 *
 */

/* This is a minimal SMTP server with GNU SASL authentication support.
   The only valid password is "sesam".  This server will complete
   authentications using LOGIN, PLAIN, DIGEST-MD5, CRAM-MD5, and
   SCRAM-SHA-1.  It accepts an optional command line parameter
   specifying the service name (i.e., a numerical port number or
   /etc/services name).  By default it listens on port "2000".  */

#include <config.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <netdb.h>
#include <signal.h>

#include <gsasl.h>

static int
callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop)
{
  int rc = GSASL_NO_CALLBACK;

  switch (prop)
    {
    case GSASL_PASSWORD:
      gsasl_property_set (sctx, prop, "sesam");
      rc = GSASL_OK;
      break;

    default:
      /* You may want to log (at debug verbosity level) that an
         unknown property was requested here, possibly after filtering
         known rejected property requests. */
      break;
    }

  return rc;
}

static ssize_t
gettrimline (char **line, size_t * n, FILE * fh)
{
  ssize_t s = getline (line, n, fh);

  if (s >= 2)
    {
      if ((*line)[strlen (*line) - 1] == '\n')
	(*line)[strlen (*line) - 1] = '\0';
      if ((*line)[strlen (*line) - 1] == '\r')
	(*line)[strlen (*line) - 1] = '\0';

      printf ("C: %s\n", *line);
    }

  return s;
}

#define print(fh, ...)							\
  printf ("S: "), printf (__VA_ARGS__), fprintf (fh, __VA_ARGS__)

static void
server_auth (FILE * fh, Gsasl_session * session)
{
  char *line = NULL;
  size_t n = 0;
  char *p;
  int rc;

  /* The ordering and the type of checks in the following loop has to
     be adapted for each protocol depending on its SASL properties.
     SMTP is a "server-first" SASL protocol.  This implementation do
     not support piggy-backing of the initial client challenge nor
     piggy-backing of the terminating server response.  See RFC 2554
     and RFC 4422 for terminology.  That profile results in the
     following loop structure.  Ask on the help-gsasl list if you are
     uncertain.  */
  do
    {
      rc = gsasl_step64 (session, line, &p);
      if (rc == GSASL_NEEDS_MORE || (rc == GSASL_OK && p && *p))
	{
	  print (fh, "334 %s\n", p);
	  gsasl_free (p);

	  if (gettrimline (&line, &n, fh) < 0)
	    {
	      print (fh, "221 localhost getline failure\n");
	      goto done;
	    }
	}
    }
  while (rc == GSASL_NEEDS_MORE);

  if (rc != GSASL_OK)
    {
      print (fh, "535 gsasl_step64 (%d): %s\n", rc, gsasl_strerror (rc));
      goto done;
    }

  {
    const char *authid = gsasl_property_fast (session, GSASL_AUTHID);
    const char *authzid = gsasl_property_fast (session, GSASL_AUTHZID);
    print (fh, "235 OK [authid: %s authzid: %s]\n",
	   authid ? authid : "N/A", authzid ? authzid : "N/A");
  }

done:
  free (line);
}

static void
smtp (FILE * fh, Gsasl * ctx)
{
  char *line = NULL;
  size_t n = 0;
  int rc;

  print (fh, "220 localhost ESMTP GNU SASL smtp-server\n");

  while (gettrimline (&line, &n, fh) >= 0)
    {
      if (strncmp (line, "EHLO ", 5) == 0 || strncmp (line, "ehlo ", 5) == 0)
	{
	  char *mechlist;

	  rc = gsasl_server_mechlist (ctx, &mechlist);
	  if (rc != GSASL_OK)
	    {
	      print (fh, "221 localhost gsasl_server_mechlist (%d): %s\n",
		     rc, gsasl_strerror (rc));
	      goto done;
	    }

	  print (fh, "250-localhost\n");
	  print (fh, "250 AUTH %s\n", mechlist);

	  gsasl_free (mechlist);
	}
      else if (strncmp (line, "AUTH ", 5) == 0
	       || strncmp (line, "auth ", 5) == 0)
	{
	  Gsasl_session *session = NULL;

	  if ((rc = gsasl_server_start (ctx, line + 5, &session)) != GSASL_OK)
	    {
	      print (fh, "221 localhost gsasl_server_start (%d): %s\n",
		     rc, gsasl_strerror (rc));
	      goto done;
	    }

	  server_auth (fh, session);

	  gsasl_finish (session);
	}
      else if (strncmp (line, "QUIT", 4) == 0
	       || strncmp (line, "quit", 4) == 0)
	{
	  print (fh, "221 localhost QUIT\n");
	  goto done;
	}
      else
	print (fh, "500 unrecognized command\n");
    }

  print (fh, "221 localhost getline failure\n");

done:
  free (line);
}

int
main (int argc, char *argv[])
{
  const char *service = argc > 1 ? argv[1] : "2000";
  volatile int run = 1;
  struct addrinfo hints, *addrs;
  int sockfd;
  int rc;
  int yes = 1;
  Gsasl *ctx;

  setvbuf (stdout, NULL, _IONBF, 0);

  rc = gsasl_init (&ctx);
  if (rc < 0)
    {
      printf ("gsasl_init (%d): %s\n", rc, gsasl_strerror (rc));
      exit (EXIT_FAILURE);
    }

  printf ("%s [gsasl header %s library %s]\n",
	  argv[0], GSASL_VERSION, gsasl_check_version (NULL));

  gsasl_callback_set (ctx, callback);

  memset (&hints, 0, sizeof (hints));
  hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
  hints.ai_socktype = SOCK_STREAM;

  rc = getaddrinfo (NULL, service, &hints, &addrs);
  if (rc < 0)
    {
      printf ("getaddrinfo: %s\n", gai_strerror (rc));
      exit (EXIT_FAILURE);
    }

  sockfd = socket (addrs->ai_family, addrs->ai_socktype, addrs->ai_protocol);
  if (sockfd < 0)
    {
      perror ("socket");
      exit (EXIT_FAILURE);
    }

  if (setsockopt (sockfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof (yes)) < 0)
    {
      perror ("setsockopt");
      exit (EXIT_FAILURE);
    }

  rc = bind (sockfd, addrs->ai_addr, addrs->ai_addrlen);
  if (rc < 0)
    {
      perror ("bind");
      exit (EXIT_FAILURE);
    }

  freeaddrinfo (addrs);

  rc = listen (sockfd, SOMAXCONN);
  if (rc < 0)
    {
      perror ("listen");
      exit (EXIT_FAILURE);
    }

  signal (SIGPIPE, SIG_IGN);

  while (run)
    {
      struct sockaddr from;
      socklen_t fromlen = sizeof (from);
      char host[NI_MAXHOST];
      int fd;
      FILE *fh;

      fd = accept (sockfd, &from, &fromlen);
      if (fd < 0)
	{
	  perror ("accept");
	  continue;
	}

      rc = getnameinfo (&from, fromlen, host, sizeof (host),
			NULL, 0, NI_NUMERICHOST);
      if (rc == 0)
	printf ("connection from %s\n", host);
      else
	printf ("getnameinfo: %s\n", gai_strerror (rc));

      fh = fdopen (fd, "w+");
      if (!fh)
	{
	  perror ("fdopen");
	  close (fd);
	  continue;
	}

      smtp (fh, ctx);

      fclose (fh);
    }

  close (sockfd);
  gsasl_done (ctx);

  return 0;
}

Next: , Previous: , Up: Top   [Contents][Index]

14 Acknowledgements

The makefiles, manuals, etc borrowed much from Libgcrypt written by Werner Koch.

Cryptographic functions for some SASL mechanisms uses Libgcrypt by Werner Koch et al. The NTLM mechanism uses Libntlm by Grant Edwards et al, using code from Samba written by Andrew Tridgell, and now maintained by Simon Josefsson. The KERBEROS_V5 mechanism uses Shishi by Simon Josefsson. The GSSAPI and GS2-KRB5 mechanism uses a GSS-API implementation, such as GNU GSS by Simon Josefsson.

Gnulib is used to simplify portability.

This manual borrows text from the SASL specification.


15 Invoking gsasl

Name

GNU SASL (gsasl) – Command line interface to libgsasl.

Description

gsasl is the main program of GNU SASL.

This section only lists the commands and options available.

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Commands

gsasl recognizes these commands:

  -c, --client               Act as client (the default).
      --client-mechanisms    Write name of supported client mechanisms
                             separated by space to stdout.
  -s, --server               Act as server.
      --server-mechanisms    Write name of supported server mechanisms
                             separated by space to stdout.

Network Options

Normally the SASL negotiation is performed on the terminal, with reading from stdin and writing to stdout. It is also possible to perform the negotiation with a server over a TCP network connection.

      --connect=HOSTNAME[:SERVICE]
                             Connect to TCP server and negotiate on stream
                             instead of stdin/stdout. SERVICE is the protocol
                             service, or an integer denoting the port, and
                             defaults to 143 (imap) if not specified. Also sets
                             the --hostname default.

Miscellaneous Options:

These parameters affect overall behaviour.

  -d, --application-data     After authentication, read data from stdin and run
                             it through the mechanism's security layer and
                             print it base64 encoded to stdout. The default is
                             to terminate after authentication.
      --imap                 Use a IMAP-like logon procedure (client only).
                             Also sets the --service default to "imap".
  -m, --mechanism=STRING     Mechanism to use.
      --no-client-first      Disallow client to send data first (client only).

SASL Mechanism Options

These options modify the behaviour of the callbacks (see Callback Functions) in the library. The default is to query the user on the terminal.

  -n, --anonymous-token=STRING    Token for anonymous authentication, usually
                                  mail address (ANONYMOUS only).
  -a, --authentication-id=STRING  Identity of credential owner.
  -z, --authorization-id=STRING   Identity to request service for.
      --disable-cleartext-validate
                             Disable cleartext validate hook, forcing server to
                             prompt for password.
      --enable-cram-md5-validate  Validate CRAM-MD5 challenge and response
                                  interactively.
      --hostname=STRING      Set the name of the server with the requested
                             service.
  -p, --password=STRING      Password for authentication (insecure for
                             non-testing purposes).
      --passcode=NUMBER      Passcode for authentication (SECURID only).
      --quality-of-protection=<qop-auth | qop-int | qop-conf>
                             How application payload will be protected.
                             "qop-auth" means no protection,
                             "qop-int" means integrity protection,
                             "qop-conf" means confidentiality.
                             Currently only used by DIGEST-MD5, where the
                             default is "qop-int".
  -r, --realm=STRING         Realm. Defaults to hostname.
      --service=STRING       Set the requested service name (should be a
                             registered GSSAPI host based service name).
      --service-name=STRING  Set the generic server name in case of a
                             replicated server (DIGEST-MD5 only).
  -x, --maxbuf=NUMBER        Indicate maximum buffer size (DIGEST-MD5 only).

STARTTLS options

      --starttls                Force use of STARTTLS.  The default is to use
                                  STARTTLS when available.  (default=off)
      --no-starttls             Unconditionally disable STARTTLS.
                                  (default=off)
      --no-cb                   Don't set any channel bindings.  (default=off)
      --x509-ca-file=FILE       File containing one or more X.509 Certificate
                                  Authorities certificates in PEM format, used
                                  to verify the certificate received from the
                                  server.  If not specified, no verification of
                                  the remote server certificate will be done.
      --x509-cert-file=FILE     File containing client X.509 certificate in PEM
                                  format.  Used together with --x509-key-file
                                  to specify the certificate/key pair.
      --x509-key-file=FILE      Private key for the client X.509 certificate in
                                  PEM format.  Used together with
                                  --x509-key-file to specify the
                                  certificate/key pair.
      --priority                Cipher priority string.

Other Options

These are some standard parameters.

  -q, --quiet, --silent      Don't produce any diagnostic output.
  -v, --verbose              Produce verbose output.

  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Next: , Previous: , Up: Top   [Contents][Index]

Appendix A Protocol Clarifications

This appendix contains clarifications to various SASL specification that we felt were necessary to include, if for nothing else it may serve as a guide for other implementers that worry about the same issues.


A.1 Use of SASLprep in CRAM-MD5

The specification, as of draft-ietf-sasl-crammd5-04.txt, is silent on whether a SASL server implementation applying SASLprep on a password received from an external, non-SASL specific database (i.e., the passwords are not stored in SASLprep form in the database), should set or clear the AllowUnassigned bit. The motivation for the AU-bit in StringPrep/SASLprep is for stored vs query strings. It could be argued that in this situation the server can treat the external password either as a stored string (from a database) or as a query (the server uses the string as a query into the fixed HMAC-MD5 hash).

The specification is also unclear on whether clients should set or clear the AllowUnassigned flag.

In the server, GNU SASL applies SASLprep to the password with the AllowUnassigned bit cleared.


A.2 Use of SASLprep in LOGIN

The non-standard mechanism LOGIN presumably does not support non-ASCII. We suggest that the client should send unprepared UTF-8 and that the server apply SASLprep with the AllowUnassigned bit cleared on the received username and password.


Appendix B Old Functions

As GNU SASL is still under heavy development, some API functions have been found to be less useful. Those old API functions will be supported during a transition period. Refer to the NEWS file to find out since when a function has been deprecated.

gsasl_client_listmech

Function: int gsasl_client_listmech (Gsasl * ctx, char * out, size_t * outlen)

ctx: libgsasl handle.

out: output character array.

outlen: input maximum size of output character array, on output contains actual length of output array.

Write SASL names, separated by space, of mechanisms supported by the libgsasl client to the output array. To find out how large the output array must be, call this function with a NULL out parameter.

Return value: Returns GSASL_OK if successful, or error code.

Deprecated: Use gsasl_client_mechlist() instead.

gsasl_server_listmech

Function: int gsasl_server_listmech (Gsasl * ctx, char * out, size_t * outlen)

ctx: libgsasl handle.

out: output character array.

outlen: input maximum size of output character array, on output contains actual length of output array.

Write SASL names, separated by space, of mechanisms supported by the libgsasl server to the output array. To find out how large the output array must be, call this function with a NULL out parameter.

Return value: Returns GSASL_OK if successful, or error code.

Deprecated: Use gsasl_server_mechlist() instead.

gsasl_client_step

Function: int gsasl_client_step (Gsasl_session * sctx, const char * input, size_t input_len, char * output, size_t * output_len)

sctx: libgsasl client handle.

input: input byte array.

input_len: size of input byte array.

output: output byte array.

output_len: size of output byte array.

Perform one step of SASL authentication in client. This reads data from server (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to server (into variables output and output_len).

The contents of the output buffer is unspecified if this functions returns anything other than GSASL_NEEDS_MORE .

Return value: Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.

Deprecated: Use gsasl_step() instead.

gsasl_server_step

Function: int gsasl_server_step (Gsasl_session * sctx, const char * input, size_t input_len, char * output, size_t * output_len)

sctx: libgsasl server handle.

input: input byte array.

input_len: size of input byte array.

output: output byte array.

output_len: size of output byte array.

Perform one step of SASL authentication in server. This reads data from client (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to client (into variables output and output_len).

The contents of the output buffer is unspecified if this functions returns anything other than GSASL_NEEDS_MORE .

Return value: Returns GSASL_OK if authenticated terminated successfully, GSASL_NEEDS_MORE if more data is needed, or error code.

Deprecated: Use gsasl_step() instead.

gsasl_client_step_base64

Function: int gsasl_client_step_base64 (Gsasl_session * sctx, const char * b64input, char * b64output, size_t b64output_len)

sctx: libgsasl client handle.

b64input: input base64 encoded byte array.

b64output: output base64 encoded byte array.

b64output_len: size of output base64 encoded byte array.

This is a simple wrapper around gsasl_client_step() that base64 decodes the input and base64 encodes the output.

Return value: See gsasl_client_step() .

Deprecated: Use gsasl_step64() instead.

gsasl_server_step_base64

Function: int gsasl_server_step_base64 (Gsasl_session * sctx, const char * b64input, char * b64output, size_t b64output_len)

sctx: libgsasl server handle.

b64input: input base64 encoded byte array.

b64output: output base64 encoded byte array.

b64output_len: size of output base64 encoded byte array.

This is a simple wrapper around gsasl_server_step() that base64 decodes the input and base64 encodes the output.

Return value: See gsasl_server_step() .

Deprecated: Use gsasl_step64() instead.

gsasl_client_finish

Function: void gsasl_client_finish (Gsasl_session * sctx)

sctx: libgsasl client handle.

Destroy a libgsasl client handle. The handle must not be used with other libgsasl functions after this call.

Deprecated: Use gsasl_finish() instead.

gsasl_server_finish

Function: void gsasl_server_finish (Gsasl_session * sctx)

sctx: libgsasl server handle.

Destroy a libgsasl server handle. The handle must not be used with other libgsasl functions after this call.

Deprecated: Use gsasl_finish() instead.

gsasl_client_ctx_get

Function: Gsasl * gsasl_client_ctx_get (Gsasl_session * sctx)

sctx: libgsasl client handle

Get the libgsasl handle given a libgsasl client handle.

Return value: Returns the libgsasl handle given a libgsasl client handle.

Deprecated: This function is not useful with the new 0.2.0 API.

gsasl_client_application_data_set

Function: void gsasl_client_application_data_set (Gsasl_session * sctx, void * application_data)

sctx: libgsasl client handle.

application_data: opaque pointer to application specific data.

Store application specific data in the libgsasl client handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_client_application_data_get() . It is normally used by the application to maintain state between the main program and the callback.

Deprecated: Use gsasl_callback_hook_set() or gsasl_session_hook_set() instead.

gsasl_client_application_data_get

Function: void * gsasl_client_application_data_get (Gsasl_session * sctx)

sctx: libgsasl client handle.

Retrieve application specific data from libgsasl client handle. The application data is set using gsasl_client_application_data_set() . It is normally used by the application to maintain state between the main program and the callback.

Return value: Returns the application specific data, or NULL.

Deprecated: Use gsasl_callback_hook_get() or gsasl_session_hook_get() instead.

gsasl_server_ctx_get

Function: Gsasl * gsasl_server_ctx_get (Gsasl_session * sctx)

sctx: libgsasl server handle

Get the libgsasl handle given a libgsasl server handle.

Return value: Returns the libgsasl handle given a libgsasl server handle.

Deprecated: This function is not useful with the new 0.2.0 API.

gsasl_server_application_data_set

Function: void gsasl_server_application_data_set (Gsasl_session * sctx, void * application_data)

sctx: libgsasl server handle.

application_data: opaque pointer to application specific data.

Store application specific data in the libgsasl server handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_server_application_data_get() . It is normally used by the application to maintain state between the main program and the callback.

Deprecated: Use gsasl_callback_hook_set() or gsasl_session_hook_set() instead.

gsasl_server_application_data_get

Function: void * gsasl_server_application_data_get (Gsasl_session * sctx)

sctx: libgsasl server handle.

Retrieve application specific data from libgsasl server handle. The application data is set using gsasl_server_application_data_set() . It is normally used by the application to maintain state between the main program and the callback.

Return value: Returns the application specific data, or NULL.

Deprecated: Use gsasl_callback_hook_get() or gsasl_session_hook_get() instead.

gsasl_randomize

Function: int gsasl_randomize (int strong, char * data, size_t datalen)

strong: 0 iff operation should not block, non-0 for very strong randomness.

data: output array to be filled with random data.

datalen: size of output array.

Store cryptographically random data of given size in the provided buffer.

Return value: Returns GSASL_OK iff successful.

Deprecated: Use gsasl_random() or gsasl_nonce() instead.

gsasl_ctx_get

Function: Gsasl * gsasl_ctx_get (Gsasl_session * sctx)

sctx: libgsasl session handle

Get the libgsasl handle given a libgsasl session handle.

Return value: Returns the libgsasl handle given a libgsasl session handle.

Deprecated: This function is not useful with the new 0.2.0 API.

gsasl_encode_inline

Function: int gsasl_encode_inline (Gsasl_session * sctx, const char * input, size_t input_len, char * output, size_t * output_len)

sctx: libgsasl session handle.

input: input byte array.

input_len: size of input byte array.

output: output byte array.

output_len: size of output byte array.

Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

Return value: Returns GSASL_OK if encoding was successful, otherwise an error code.

Deprecated: Use gsasl_encode() instead.

Since: 0.2.0

gsasl_decode_inline

Function: int gsasl_decode_inline (Gsasl_session * sctx, const char * input, size_t input_len, char * output, size_t * output_len)

sctx: libgsasl session handle.

input: input byte array.

input_len: size of input byte array.

output: output byte array.

output_len: size of output byte array.

Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected.

Return value: Returns GSASL_OK if encoding was successful, otherwise an error code.

Deprecated: Use gsasl_decode() instead.

Since: 0.2.0

gsasl_application_data_set

Function: void gsasl_application_data_set (Gsasl * ctx, void * appdata)

ctx: libgsasl handle.

appdata: opaque pointer to application specific data.

Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_application_data_get() . It is normally used by the application to maintain state between the main program and the callback.

Deprecated: Use gsasl_callback_hook_set() instead.

gsasl_application_data_get

Function: void * gsasl_application_data_get (Gsasl * ctx)

ctx: libgsasl handle.

Retrieve application specific data from libgsasl handle. The application data is set using gsasl_application_data_set() . It is normally used by the application to maintain state between the main program and the callback.

Return value: Returns the application specific data, or NULL.

Deprecated: Use gsasl_callback_hook_get() instead.

gsasl_appinfo_set

Function: void gsasl_appinfo_set (Gsasl_session * sctx, void * appdata)

sctx: libgsasl session handle.

appdata: opaque pointer to application specific data.

Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling gsasl_appinfo_get() . It is normally used by the application to maintain state between the main program and the callback.

Deprecated: Use gsasl_callback_hook_set() instead.

gsasl_appinfo_get

Function: void * gsasl_appinfo_get (Gsasl_session * sctx)

sctx: libgsasl session handle.

Retrieve application specific data from libgsasl session handle. The application data is set using gsasl_appinfo_set() . It is normally used by the application to maintain state between the main program and the callback.

Return value: Returns the application specific data, or NULL.

Deprecated: Use gsasl_callback_hook_get() instead.

gsasl_server_suggest_mechanism

Function: const char * gsasl_server_suggest_mechanism (Gsasl * ctx, const char * mechlist)

ctx: libgsasl handle.

mechlist: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC).

Get name of "best" SASL mechanism supported by the libgsasl server which is present in the input string.

Return value: Returns name of "best" SASL mechanism supported by the libgsasl server which is present in the input string.

Deprecated: This function was never useful, since it is the client that chose which mechanism to use.

gsasl_client_callback_authentication_id_set

Function: void gsasl_client_callback_authentication_id_set (Gsasl * ctx, Gsasl_client_callback_authentication_id cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to set the authentication identity. The function can be later retrieved using gsasl_client_callback_authentication_id_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_authentication_id_get

Function: Gsasl_client_callback_authentication_id gsasl_client_callback_authentication_id_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_authentication_id_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_authentication_id_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_authorization_id_set

Function: void gsasl_client_callback_authorization_id_set (Gsasl * ctx, Gsasl_client_callback_authorization_id cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to set the authorization identity. The function can be later retrieved using gsasl_client_callback_authorization_id_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_authorization_id_get

Function: Gsasl_client_callback_authorization_id gsasl_client_callback_authorization_id_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_authorization_id_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_authorization_id_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_password_set

Function: void gsasl_client_callback_password_set (Gsasl * ctx, Gsasl_client_callback_password cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to set the password. The function can be later retrieved using gsasl_client_callback_password_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_password_get

Function: Gsasl_client_callback_password gsasl_client_callback_password_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_password_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_password_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_passcode_set

Function: void gsasl_client_callback_passcode_set (Gsasl * ctx, Gsasl_client_callback_passcode cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to set the passcode. The function can be later retrieved using gsasl_client_callback_passcode_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_passcode_get

Function: Gsasl_client_callback_passcode gsasl_client_callback_passcode_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_passcode_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_passcode_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_pin_set

Function: void gsasl_client_callback_pin_set (Gsasl * ctx, Gsasl_client_callback_pin cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to chose a new pin, possibly suggested by the server, for the SECURID mechanism. This is not normally invoked, but only when the server requests it. The function can be later retrieved using gsasl_client_callback_pin_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_pin_get

Function: Gsasl_client_callback_pin gsasl_client_callback_pin_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_pin_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_pin_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_service_set

Function: void gsasl_client_callback_service_set (Gsasl * ctx, Gsasl_client_callback_service cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. Servicename is used by DIGEST-MD5 and should be the name of generic server in case of a replicated service. The function can be later retrieved using gsasl_client_callback_service_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_service_get

Function: Gsasl_client_callback_service gsasl_client_callback_service_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_service_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_service_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_anonymous_set

Function: void gsasl_client_callback_anonymous_set (Gsasl * ctx, Gsasl_client_callback_anonymous cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to set the anonymous token, which usually is the users email address. The function can be later retrieved using gsasl_client_callback_anonymous_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_anonymous_get

Function: Gsasl_client_callback_anonymous gsasl_client_callback_anonymous_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_anonymous_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_anonymous_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_qop_set

Function: void gsasl_client_callback_qop_set (Gsasl * ctx, Gsasl_client_callback_qop cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to determine the qop to use after looking at what the server offered. The function can be later retrieved using gsasl_client_callback_qop_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_qop_get

Function: Gsasl_client_callback_qop gsasl_client_callback_qop_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_qop_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_qop_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_maxbuf_set

Function: void gsasl_client_callback_maxbuf_set (Gsasl * ctx, Gsasl_client_callback_maxbuf cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to inform the server of the largest buffer the client is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using gsasl_client_callback_maxbuf_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_maxbuf_get

Function: Gsasl_client_callback_maxbuf gsasl_client_callback_maxbuf_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_maxbuf_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_maxbuf_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_realm_set

Function: void gsasl_client_callback_realm_set (Gsasl * ctx, Gsasl_client_callback_realm cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the client to know which realm it belongs to. The realm is used by the server to determine which username and password to use. The function can be later retrieved using gsasl_client_callback_realm_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_client_callback_realm_get

Function: Gsasl_client_callback_realm gsasl_client_callback_realm_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_client_callback_realm_set() .

Return value: Returns the callback earlier set by calling gsasl_client_callback_realm_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_validate_set

Function: void gsasl_server_callback_validate_set (Gsasl * ctx, Gsasl_server_callback_validate cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using gsasl_server_callback_validate_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_validate_get

Function: Gsasl_server_callback_validate gsasl_server_callback_validate_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_validate_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_validate_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_retrieve_set

Function: void gsasl_server_callback_retrieve_set (Gsasl * ctx, Gsasl_server_callback_retrieve cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using gsasl_server_callback_retrieve_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_retrieve_get

Function: Gsasl_server_callback_retrieve gsasl_server_callback_retrieve_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_retrieve_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_retrieve_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_cram_md5_set

Function: void gsasl_server_callback_cram_md5_set (Gsasl * ctx, Gsasl_server_callback_cram_md5 cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for deciding if user is authenticated using CRAM-MD5 challenge and response. The function can be later retrieved using gsasl_server_callback_cram_md5_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_cram_md5_get

Function: Gsasl_server_callback_cram_md5 gsasl_server_callback_cram_md5_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_cram_md5_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_cram_md5_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_digest_md5_set

Function: void gsasl_server_callback_digest_md5_set (Gsasl * ctx, Gsasl_server_callback_digest_md5 cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for retrieving the secret hash of the username, realm and password for use in the DIGEST-MD5 mechanism. The function can be later retrieved using gsasl_server_callback_digest_md5_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_digest_md5_get

Function: Gsasl_server_callback_digest_md5 gsasl_server_callback_digest_md5_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_digest_md5_set() .

Return value: Return the callback earlier set by calling gsasl_server_callback_digest_md5_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_external_set

Function: void gsasl_server_callback_external_set (Gsasl * ctx, Gsasl_server_callback_external cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for deciding if user is authenticated out of band. The function can be later retrieved using gsasl_server_callback_external_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_external_get

Function: Gsasl_server_callback_external gsasl_server_callback_external_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_external_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_external_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_anonymous_set

Function: void gsasl_server_callback_anonymous_set (Gsasl * ctx, Gsasl_server_callback_anonymous cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for deciding if user is permitted anonymous access. The function can be later retrieved using gsasl_server_callback_anonymous_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_anonymous_get

Function: Gsasl_server_callback_anonymous gsasl_server_callback_anonymous_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_anonymous_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_anonymous_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_realm_set

Function: void gsasl_server_callback_realm_set (Gsasl * ctx, Gsasl_server_callback_realm cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server to know which realm it serves. The realm is used by the user to determine which username and password to use. The function can be later retrieved using gsasl_server_callback_realm_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_realm_get

Function: Gsasl_server_callback_realm gsasl_server_callback_realm_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_realm_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_realm_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_qop_set

Function: void gsasl_server_callback_qop_set (Gsasl * ctx, Gsasl_server_callback_qop cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server to know which quality of protection it accepts. The quality of protection eventually used is selected by the client though. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using gsasl_server_callback_qop_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_qop_get

Function: Gsasl_server_callback_qop gsasl_server_callback_qop_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_qop_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_qop_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_maxbuf_set

Function: void gsasl_server_callback_maxbuf_set (Gsasl * ctx, Gsasl_server_callback_maxbuf cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server to inform the client of the largest buffer the server is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using gsasl_server_callback_maxbuf_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_maxbuf_get

Function: Gsasl_server_callback_maxbuf gsasl_server_callback_maxbuf_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_maxbuf_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_maxbuf_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_cipher_set

Function: void gsasl_server_callback_cipher_set (Gsasl * ctx, Gsasl_server_callback_cipher cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server to inform the client of the cipher suites supported. The DES and 3DES ciphers must be supported for interoperability. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using gsasl_server_callback_cipher_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_cipher_get

Function: Gsasl_server_callback_cipher gsasl_server_callback_cipher_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_cipher_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_cipher_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_securid_set

Function: void gsasl_server_callback_securid_set (Gsasl * ctx, Gsasl_server_callback_securid cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for validating a user via the SECURID mechanism. The function should return GSASL_OK if user authenticated successfully, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE if it wants another passcode, GSASL_SECURID_SERVER_NEED_NEW_PIN if it wants a PIN change, or an error. When (and only when) GSASL_SECURID_SERVER_NEED_NEW_PIN is returned, suggestpin can be populated with a PIN code the server suggests, and suggestpinlen set to the length of the PIN. The function can be later retrieved using gsasl_server_callback_securid_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_securid_get

Function: Gsasl_server_callback_securid gsasl_server_callback_securid_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_securid_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_securid_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_gssapi_set

Function: void gsasl_server_callback_gssapi_set (Gsasl * ctx, Gsasl_server_callback_gssapi cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server for checking if a GSSAPI user is authorized for username (by, e.g., calling krb5_kuserok). The function should return GSASL_OK if the user should be permitted access, or an error code such as GSASL_AUTHENTICATION_ERROR on failure. The function can be later retrieved using gsasl_server_callback_gssapi_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_gssapi_get

Function: Gsasl_server_callback_gssapi gsasl_server_callback_gssapi_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_gssapi_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_gssapi_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_service_set

Function: void gsasl_server_callback_service_set (Gsasl * ctx, Gsasl_server_callback_service cb)

ctx: libgsasl handle.

cb: callback function

Specify the callback function to use in the server to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. The function can be later retrieved using gsasl_server_callback_service_get() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_server_callback_service_get

Function: Gsasl_server_callback_service gsasl_server_callback_service_get (Gsasl * ctx)

ctx: libgsasl handle.

Get the callback earlier set by calling gsasl_server_callback_service_set() .

Return value: Returns the callback earlier set by calling gsasl_server_callback_service_set() .

Deprecated: This function is part of the old callback interface. The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties.

gsasl_stringprep_nfkc

Function: char * gsasl_stringprep_nfkc (const char * in, ssize_t len)

in: a UTF-8 encoded string.

len: length of str , in bytes, or -1 if str is nul-terminated.

Converts a string into canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character.

The normalization mode is NFKC (ALL COMPOSE). It standardizes differences that do not affect the text content, such as the above-mentioned accent representation. It standardizes the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same. It returns a result with composed forms rather than a maximally decomposed form.

Return value: Return a newly allocated string, that is the NFKC normalized form of str , or NULL on error.

Deprecated: No replacement functionality in GNU SASL, use GNU Libidn instead. Note that in SASL, you most likely want to use SASLprep and not bare NFKC, see gsasl_saslprep() .

gsasl_stringprep_saslprep

Function: char * gsasl_stringprep_saslprep (const char * in, int * stringprep_rc)

in: input ASCII or UTF-8 string with data to prepare according to SASLprep.

stringprep_rc: pointer to output variable with stringprep error code, or NULL to indicate that you don’t care about it.

Process a Unicode string for comparison, according to the "SASLprep" stringprep profile. This function is intended to be used by Simple Authentication and Security Layer (SASL) mechanisms (such as PLAIN, CRAM-MD5, and DIGEST-MD5) as well as other protocols exchanging user names and/or passwords.

Return value: Return a newly allocated string that is the "SASLprep" processed form of the input string, or NULL on error, in which case stringprep_rc contain the stringprep library error code.

Deprecated: Use gsasl_saslprep() instead.

gsasl_stringprep_trace

Function: char * gsasl_stringprep_trace (const char * in, int * stringprep_rc)

in: input ASCII or UTF-8 string with data to prepare according to "trace".

stringprep_rc: pointer to output variable with stringprep error code, or NULL to indicate that you don’t care about it.

Process a Unicode string for use as trace information, according to the "trace" stringprep profile. The profile is designed for use with the SASL ANONYMOUS Mechanism.

Return value: Return a newly allocated string that is the "trace" processed form of the input string, or NULL on error, in which case stringprep_rc contain the stringprep library error code.

Deprecated: No replacement functionality in GNU SASL, use GNU Libidn instead.

gsasl_md5pwd_get_password

Function: int gsasl_md5pwd_get_password (const char * filename, const char * username, char * key, size_t * keylen)

filename: filename of file containing passwords.

username: username string.

key: output character array.

keylen: input maximum size of output character array, on output contains actual length of output array.

Retrieve password for user from specified file. To find out how large the output array must be, call this function with out=NULL.

The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively.

Return value: Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code.

Deprecated: Use gsasl_simple_getpass() instead.

gsasl_base64_encode

Function: int gsasl_base64_encode (char const * src, size_t srclength, char * target, size_t targsize)

src: input byte array

srclength: size of input byte array

target: output byte array

targsize: size of output byte array

Encode data as base64. Converts characters, three at a time, starting at src into four base64 characters in the target area until the entire input buffer is encoded.

Return value: Returns the number of data bytes stored at the target, or -1 on error.

Deprecated: Use gsasl_base64_to() instead.

gsasl_base64_decode

Function: int gsasl_base64_decode (char const * src, char * target, size_t targsize)

src: input byte array

target: output byte array

targsize: size of output byte array

Decode Base64 data. Skips all whitespace anywhere. Converts characters, four at a time, starting at (or after) src from Base64 numbers into three 8 bit bytes in the target area.

Return value: Returns the number of data bytes stored at the target, or -1 on error.

Deprecated: Use gsasl_base64_from() instead.

B.1 Obsolete callback function prototypes

Prototype: int (*Gsasl_client_callback_anonymous) (Gsasl_session_ctx * ctx, char * out, size_t * outlen)

ctx: libgsasl handle.

out: output array with client token.

outlen: on input the maximum size of the output array, on output contains the actual size of the output array.

Type of callback function the application implements. It should populate the output array with some input from the user and set the output array length, and return GSASL_OK, or fail with an error code.

If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_server_callback_anonymous) (Gsasl_session_ctx * ctx, const char * token)

ctx: libgsasl handle.

ctx: output array with client token.

ctx: on input the maximum size of the output array, on output contains the actual size of the output array. If OUT is

Type of callback function the application implements. It should return GSASL_OK if user should be permitted anonymous access, otherwise GSASL_AUTHENTICATION_ERROR.

Prototype: int (*Gsasl_client_callback_authentication_id) (Gsasl_session_ctx * ctx, char * out, size_t * outlen)

ctx: libgsasl handle.

out: output array with authentication identity.

outlen: on input the maximum size of the output array, on output contains the actual size of the output array.

Type of callback function the application implements. It should populate the output array with authentiction identity of user and set the output array length, and return GSASL_OK, or fail with an error code. The authentication identity must be encoded in UTF-8, but need not be normalized in any way.

If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_client_callback_authorization_id) (Gsasl_session_ctx * ctx, char * out, size_t * outlen)

ctx: libgsasl handle.

out: output array with authorization identity.

outlen: on input the maximum size of the output array, on output contains the actual size of the output array.

Type of callback function the application implements. It should populate the output array with authorization identity of user and set the output array length, and return GSASL_OK, or fail with an error code. The authorization identity must be encoded in UTF-8, but need not be normalized in any way.

If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_client_callback_service) (Gsasl_session_ctx * ctx, char * service, size_t * servicelen, char * hostname, size_t * hostnamelen, char * servicename, size_t * servicenamelen)

ctx: libgsasl handle.

service: output array with name of service.

servicelen: on input the maximum size of the service output array, on output contains the actual size of the service output array.

hostname: output array with hostname of server.

hostnamelen: on input the maximum size of the hostname output array, on output contains the actual size of the hostname output array.

servicename: output array with generic name of server in case of replication (DIGEST-MD5 only).

servicenamelen: on input the maximum size of the servicename output array, on output contains the actual size of the servicename output array.

Type of callback function the application implements. It should retrieve the service (which should be a registered GSSAPI host based service name, such as “imap”) on the server, hostname of server (usually canoncial DNS hostname) and optionally generic service name of server in case of replication (e.g. “mail.example.org” when the hostname is “mx42.example.org”, see the RFC 2831 for more information). It should return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails.

If SERVICE, HOSTNAME or SERVICENAME is NULL, the function should only populate SERVICELEN, HOSTNAMELEN or SERVICENAMELEN with the output length of the respective field, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. Furthermore, SERVICENAMELEN may also be NULL, indicating that the mechanism is not interested in this field.

Prototype: int (*Gsasl_server_callback_cram_md5) (Gsasl_session_ctx * ctx, char * username, char * challenge, char * response)

ctx: libgsasl handle.

username: input array with username.

challenge: input array with CRAM-MD5 challenge.

response: input array with CRAM-MD5 response.

Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used.

Prototype: int (*Gsasl_server_callback_digest_md5) (Gsasl_session_ctx * ctx, char * username, char * realm, char * secrethash)

ctx: libgsasl handle.

username: input array with authentication identity of user.

realm: input array with realm of user.

secrethash: output array that should contain hash of username, realm and password as described for the DIGEST-MD5 mechanism.

Type of callback function the application implements. It should retrieve the secret hash for the given user in given realm and return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails. The secrethash buffer is guaranteed to have size for the fixed length MD5 hash.

Prototype: int (*Gsasl_server_callback_external) (Gsasl_session_ctx * ctx)

ctx: libgsasl handle.

Type of callback function the application implements. It should return GSASL_OK if user is authenticated by out of band means, otherwise GSASL_AUTHENTICATION_ERROR.

Prototype: int (*Gsasl_server_callback_gssapi) (Gsasl_session_ctx * ctx, char * clientname, char * authentication_id)

ctx: libgsasl handle.

clientname: input array with GSSAPI client name.

authentication_id: input array with authentication identity.

Type of callback function the application implements. It should return GSASL_OK if and only if the GSSAPI user is authorized to log on as the given authentication_id. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used. This callback is usually implemented in the application as a call to krb5_kuserok(), such as:

int
callback_gssapi (Gsasl_session_ctx *ctx,
		 char *clientname,
		 char *authentication_id)
{
  int rc = GSASL_AUTHENTICATION_ERROR;

  krb5_principal p;
  krb5_context kcontext;

  krb5_init_context (&kcontext);

  if (krb5_parse_name (kcontext, clientname, &p) != 0)
    return -1;
  if (krb5_kuserok (kcontext, p, authentication_id))
    rc = GSASL_OK;
  krb5_free_principal (kcontext, p);

  return rc;
}
Prototype: int (*Gsasl_client_callback_passcode) (Gsasl_session_ctx * ctx, char * out, size_t * outlen)

ctx: libgsasl handle.

out: output array with passcode.

outlen: on input the maximum size of the output array, on output contains the actual size of the output array.

Type of callback function the application implements. It should populate the output array with passcode of user and set the output array length, and return GSASL_OK, or fail with an error code.

If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_client_callback_password) (Gsasl_session_ctx * ctx, char * out, size_t * outlen)

ctx: libgsasl handle.

out: output array with password.

outlen: on input the maximum size of the output array, on output contains the actual size of the output array.

Type of callback function the application implements. It should populate the output array with password of user and set the output array length, and return GSASL_OK, or fail with an error code. The password must be encoded in UTF-8, but need not be normalized in any way.

If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_server_callback_retrieve) (Gsasl_session_ctx * ctx, char * authentication_id, char * authorization_id, char * realm, char * key, size_t * keylen)

ctx: libgsasl handle.

authentication_id: input array with authentication identity.

authorization_id: input array with authorization identity, or NULL.

realm: input array with realm of user, or NULL.

key: output array with key for authentication identity.

keylen: on input the maximum size of the key output array, on output contains the actual size of the key output array.

Type of callback function the application implements. It should retrieve the password for the indicated user and return GSASL_OK, or an error code such as GSASL_AUTHENTICATION_ERROR. The key must be encoded in UTF-8, but need not be normalized in any way.

If KEY is NULL, the function should only populate the KEYLEN output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_server_callback_validate) (Gsasl_session_ctx * ctx, char * authentication_id, char * authorization_id, char * passcode, char * pin, char * suggestpin, size_t * suggestpinlen)

ctx: libgsasl handle.

authorization_id: input array with authorization identity.

authentication_id: input array with authentication identity.

passcode: input array with passcode.

pin: input array with new pin (this may be NULL).

suggestpin: output array with new suggested PIN.

suggestpinlen: on input the maximum size of the output array, on output contains the actual size of the output array.

Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used.

Two SECURID specific error codes also exists. The function can return GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE to request that the client generate a new passcode. It can also return GSASL_SECURID_SERVER_NEED_NEW_PIN to request that the client generate a new PIN. If the server wishes to suggest a new PIN it can populate the SUGGESTPIN field.

If SUGGESTPIN is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_server_callback_service) (Gsasl_session_ctx * ctx, char * service, size_t * servicelen, char * hostname, size_t * hostnamelen)

ctx: libgsasl handle.

service: output array with name of service.

servicelen: on input the maximum size of the service output array, on output contains the actual size of the service output array.

hostname: output array with hostname of server.

hostnamelen: on input the maximum size of the hostname output array, on output contains the actual size of the hostname output array.

Type of callback function the application implements. It should retrieve the service (which should be a registered GSSAPI host based service name, such as “imap”) the server provides and hostname of server (usually canoncial DNS hostname). It should return GSASL_OK, or an error such as GSASL_AUTHENTICATION_ERROR if it fails.

If SERVICE or HOSTNAME is NULL, the function should only populate SERVICELEN or HOSTNAMELEN with the output length of the respective field, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size.

Prototype: int (*Gsasl_server_callback_validate) (Gsasl_session_ctx * ctx, char * authorization_id, char * authentication_id, char * password)

ctx: libgsasl handle.

authorization_id: input array with authorization identity.

authentication_id: input array with authentication identity.

password: input array with password.

Type of callback function the application implements. It should return GSASL_OK if and only if the validation of the provided credential was succesful. GSASL_AUTHENTICATION_ERROR is a good failure if authentication failed, but any available return code may be used.


Appendix C Copying Information


C.1 GNU Free Documentation License

Version 1.3, 3 November 2008
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
https://fsf.org/

Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
  1. PREAMBLE

    The purpose of this License is to make a manual, textbook, or other functional and useful document free in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others.

    This License is a kind of “copyleft”, which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software.

    We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference.

  2. APPLICABILITY AND DEFINITIONS

    This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The “Document”, below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as “you”. You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law.

    A “Modified Version” of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language.

    A “Secondary Section” is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document’s overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them.

    The “Invariant Sections” are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none.

    The “Cover Texts” are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words.

    A “Transparent” copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not “Transparent” is called “Opaque”.

    Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only.

    The “Title Page” means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, “Title Page” means the text near the most prominent appearance of the work’s title, preceding the beginning of the body of the text.

    The “publisher” means any person or entity that distributes copies of the Document to the public.

    A section “Entitled XYZ” means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as “Acknowledgements”, “Dedications”, “Endorsements”, or “History”.) To “Preserve the Title” of such a section when you modify the Document means that it remains a section “Entitled XYZ” according to this definition.

    The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License.

  3. VERBATIM COPYING

    You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3.

    You may also lend copies, under the same conditions stated above, and you may publicly display copies.

  4. COPYING IN QUANTITY

    If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document’s license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects.

    If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages.

    If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public.

    It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document.

  5. MODIFICATIONS

    You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version:

    1. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission.
    2. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement.
    3. State on the Title page the name of the publisher of the Modified Version, as the publisher.
    4. Preserve all the copyright notices of the Document.
    5. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices.
    6. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below.
    7. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document’s license notice.
    8. Include an unaltered copy of this License.
    9. Preserve the section Entitled “History”, Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled “History” in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence.
    10. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the “History” section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission.
    11. For any section Entitled “Acknowledgements” or “Dedications”, Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein.
    12. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles.
    13. Delete any section Entitled “Endorsements”. Such a section may not be included in the Modified Version.
    14. Do not retitle any existing section to be Entitled “Endorsements” or to conflict in title with any Invariant Section.
    15. Preserve any Warranty Disclaimers.

    If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version’s license notice. These titles must be distinct from any other section titles.

    You may add a section Entitled “Endorsements”, provided it contains nothing but endorsements of your Modified Version by various parties—for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard.

    You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one.

    The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version.

  6. COMBINING DOCUMENTS

    You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers.

    The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work.

    In the combination, you must combine any sections Entitled “History” in the various original documents, forming one section Entitled “History”; likewise combine any sections Entitled “Acknowledgements”, and any sections Entitled “Dedications”. You must delete all sections Entitled “Endorsements.”

  7. COLLECTIONS OF DOCUMENTS

    You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects.

    You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document.

  8. AGGREGATION WITH INDEPENDENT WORKS

    A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an “aggregate” if the copyright resulting from the compilation is not used to limit the legal rights of the compilation’s users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document.

    If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document’s Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate.

  9. TRANSLATION

    Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail.

    If a section in the Document is Entitled “Acknowledgements”, “Dedications”, or “History”, the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title.

  10. TERMINATION

    You may not copy, modify, sublicense, or distribute the Document except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, or distribute it is void, and will automatically terminate your rights under this License.

    However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.

    Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.

    Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, receipt of a copy of some or all of the same material does not give you any rights to use it.

  11. FUTURE REVISIONS OF THIS LICENSE

    The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See https://www.gnu.org/licenses/.

    Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License “or any later version” applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. If the Document specifies that a proxy can decide which future versions of this License can be used, that proxy’s public statement of acceptance of a version permanently authorizes you to choose that version for the Document.

  12. RELICENSING

    “Massive Multiauthor Collaboration Site” (or “MMC Site”) means any World Wide Web server that publishes copyrightable works and also provides prominent facilities for anybody to edit those works. A public wiki that anybody can edit is an example of such a server. A “Massive Multiauthor Collaboration” (or “MMC”) contained in the site means any set of copyrightable works thus published on the MMC site.

    “CC-BY-SA” means the Creative Commons Attribution-Share Alike 3.0 license published by Creative Commons Corporation, a not-for-profit corporation with a principal place of business in San Francisco, California, as well as future copyleft versions of that license published by that same organization.

    “Incorporate” means to publish or republish a Document, in whole or in part, as part of another Document.

    An MMC is “eligible for relicensing” if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008.

    The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing.

ADDENDUM: How to use this License for your documents

To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page:

  Copyright (C)  year  your name.
  Permission is granted to copy, distribute and/or modify this document
  under the terms of the GNU Free Documentation License, Version 1.3
  or any later version published by the Free Software Foundation;
  with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  Texts.  A copy of the license is included in the section entitled ``GNU
  Free Documentation License''.

If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the “with…Texts.” line with this:

    with the Invariant Sections being list their titles, with
    the Front-Cover Texts being list, and with the Back-Cover Texts
    being list.

If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation.

If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software.


Next: , Previous: , Up: Top   [Contents][Index]

Function and Data Index

Jump to:   (  
G  
Index Entry  Section

(
(*Gsasl_client_callback_anonymous): Old Functions
(*Gsasl_client_callback_authentication_id): Old Functions
(*Gsasl_client_callback_authorization_id): Old Functions
(*Gsasl_client_callback_passcode): Old Functions
(*Gsasl_client_callback_password): Old Functions
(*Gsasl_client_callback_service): Old Functions
(*Gsasl_server_callback_anonymous): Old Functions
(*Gsasl_server_callback_cram_md5): Old Functions
(*Gsasl_server_callback_digest_md5): Old Functions
(*Gsasl_server_callback_external): Old Functions
(*Gsasl_server_callback_gssapi): Old Functions
(*Gsasl_server_callback_retrieve): Old Functions
(*Gsasl_server_callback_service): Old Functions
(*Gsasl_server_callback_validate): Old Functions
(*Gsasl_server_callback_validate): Old Functions

G
gsasl: Invoking gsasl
gsasl_appinfo_get: Old Functions
gsasl_appinfo_set: Old Functions
gsasl_application_data_get: Old Functions
gsasl_application_data_set: Old Functions
gsasl_base64_decode: Old Functions
gsasl_base64_encode: Old Functions
gsasl_base64_from: Utilities
gsasl_base64_to: Utilities
gsasl_callback: Callback Functions
gsasl_callback_hook_get: Callback Functions
gsasl_callback_hook_set: Callback Functions
gsasl_callback_set: Callback Functions
gsasl_check_version: Version Check
gsasl_client_application_data_get: Old Functions
gsasl_client_application_data_set: Old Functions
gsasl_client_callback_anonymous_get: Old Functions
gsasl_client_callback_anonymous_set: Old Functions
gsasl_client_callback_authentication_id_get: Old Functions
gsasl_client_callback_authentication_id_set: Old Functions
gsasl_client_callback_authorization_id_get: Old Functions
gsasl_client_callback_authorization_id_set: Old Functions
gsasl_client_callback_maxbuf_get: Old Functions
gsasl_client_callback_maxbuf_set: Old Functions
gsasl_client_callback_passcode_get: Old Functions
gsasl_client_callback_passcode_set: Old Functions
gsasl_client_callback_password_get: Old Functions
gsasl_client_callback_password_set: Old Functions
gsasl_client_callback_pin_get: Old Functions
gsasl_client_callback_pin_set: Old Functions
gsasl_client_callback_qop_get: Old Functions
gsasl_client_callback_qop_set: Old Functions
gsasl_client_callback_realm_get: Old Functions
gsasl_client_callback_realm_set: Old Functions
gsasl_client_callback_service_get: Old Functions
gsasl_client_callback_service_set: Old Functions
gsasl_client_ctx_get: Old Functions
gsasl_client_finish: Old Functions
gsasl_client_listmech: Old Functions
gsasl_client_mechlist: Global Functions
gsasl_client_start: Session Functions
gsasl_client_step: Old Functions
gsasl_client_step_base64: Old Functions
gsasl_client_suggest_mechanism: Global Functions
gsasl_client_support_p: Global Functions
gsasl_ctx_get: Old Functions
gsasl_decode: Session Functions
gsasl_decode_inline: Old Functions
gsasl_done: Global Functions
gsasl_encode: Session Functions
gsasl_encode_inline: Old Functions
gsasl_finish: Session Functions
gsasl_free: Memory Handling
gsasl_hmac_md5: Utilities
gsasl_hmac_sha1: Utilities
gsasl_init: Global Functions
gsasl_md5: Utilities
gsasl_md5pwd_get_password: Old Functions
gsasl_mechanism_name: Session Functions
gsasl_nonce: Utilities
gsasl_property_fast: Property Functions
gsasl_property_get: Property Functions
gsasl_property_set: Property Functions
gsasl_property_set_raw: Property Functions
gsasl_random: Utilities
gsasl_randomize: Old Functions
gsasl_register: Global Functions
gsasl_saslprep: Utilities
gsasl_server_application_data_get: Old Functions
gsasl_server_application_data_set: Old Functions
gsasl_server_callback_anonymous_get: Old Functions
gsasl_server_callback_anonymous_set: Old Functions
gsasl_server_callback_cipher_get: Old Functions
gsasl_server_callback_cipher_set: Old Functions
gsasl_server_callback_cram_md5_get: Old Functions
gsasl_server_callback_cram_md5_set: Old Functions
gsasl_server_callback_digest_md5_get: Old Functions
gsasl_server_callback_digest_md5_set: Old Functions
gsasl_server_callback_external_get: Old Functions
gsasl_server_callback_external_set: Old Functions
gsasl_server_callback_gssapi_get: Old Functions
gsasl_server_callback_gssapi_set: Old Functions
gsasl_server_callback_maxbuf_get: Old Functions
gsasl_server_callback_maxbuf_set: Old Functions
gsasl_server_callback_qop_get: Old Functions
gsasl_server_callback_qop_set: Old Functions
gsasl_server_callback_realm_get: Old Functions
gsasl_server_callback_realm_set: Old Functions
gsasl_server_callback_retrieve_get: Old Functions
gsasl_server_callback_retrieve_set: Old Functions
gsasl_server_callback_securid_get: Old Functions
gsasl_server_callback_securid_set: Old Functions
gsasl_server_callback_service_get: Old Functions
gsasl_server_callback_service_set: Old Functions
gsasl_server_callback_validate_get: Old Functions
gsasl_server_callback_validate_set: Old Functions
gsasl_server_ctx_get: Old Functions
gsasl_server_finish: Old Functions
gsasl_server_listmech: Old Functions
gsasl_server_mechlist: Global Functions
gsasl_server_start: Session Functions
gsasl_server_step: Old Functions
gsasl_server_step_base64: Old Functions
gsasl_server_suggest_mechanism: Old Functions
gsasl_server_support_p: Global Functions
gsasl_session_hook_get: Callback Functions
gsasl_session_hook_set: Callback Functions
gsasl_sha1: Utilities
gsasl_simple_getpass: Utilities
gsasl_step: Session Functions
gsasl_step64: Session Functions
gsasl_strerror: Error strings
gsasl_strerror_name: Error strings
gsasl_stringprep_nfkc: Old Functions
gsasl_stringprep_saslprep: Old Functions
gsasl_stringprep_trace: Old Functions

Jump to:   (  
G  

Previous: , Up: Top   [Contents][Index]

Concept Index

Jump to:   A   C   D   E   F   G   H   I   K   L   M   N   O   P   R   S   T   U   W  
Index Entry  Section

A
AIX: Supported Platforms
Autoconf tests: Autoconf tests

C
Callbacks: Callback Functions
channel binding: Properties
channel binding: SCRAM-SHA-1
command line: Invoking gsasl
Compiling your application: Building the source
Configure tests: Autoconf tests
Contributing: Contributing
CRAM-MD5: CRAM-MD5

D
Debian: Supported Platforms
Debian: Supported Platforms
Deprecated functions: Old Functions
DIGEST-MD5: DIGEST-MD5
Download: Downloading and Installing

E
Error Handling: Error Handling
Examples: Examples

F
FDL, GNU Free Documentation License: GNU Free Documentation License
FreeBSD: Supported Platforms

G
GS2: GS2-KRB5
GS2-KRB5: GS2-KRB5
GS2-KRB5-PLUS: GS2-KRB5
GSSAPI: GSSAPI

H
Hacking: Contributing
HP-UX: Supported Platforms

I
Identity Provider Identifier: Properties
Installation: Downloading and Installing
invoking gsasl: Invoking gsasl
IRIX: Supported Platforms
iteration count: Properties

K
KERBEROS_V5: KERBEROS_V5

L
Library Overview: Using the Library

M
Mandrake: Supported Platforms
Motorola Coldfire: Supported Platforms

N
NetBSD: Supported Platforms
NTLM: NTLM

O
Obsolete functions: Old Functions
OpenBSD: Supported Platforms
OpenID: OPENID20
Overview: Using the Library

P
Properties: Property Functions

R
RedHat: Supported Platforms
RedHat: Supported Platforms
RedHat: Supported Platforms
RedHat Advanced Server: Supported Platforms
Reporting Bugs: Bug Reports

S
salt: Properties
SAML: SAML20
SAML IdP Identifier: Properties
SASL sessions: Session Functions
SCRAM: SCRAM-SHA-1
SECURID: SECURID
Solaris: Supported Platforms
Solaris: Supported Platforms
SuSE: Supported Platforms
SuSE Linux: Supported Platforms

T
tls-unique: Properties
Tru64: Supported Platforms

U
uClibc: Supported Platforms
uClinux: Supported Platforms

W
Windows: Supported Platforms

Jump to:   A   C   D   E   F   G   H   I   K   L   M   N   O   P   R   S   T   U   W  

Footnotes

(1)

Note that GNU SASL normally use its own internal implementation of the cryptographic functions. Take care to verify that GNU SASL really use Libgcrypt, if this is what you want.


gsasl-1.8.1/doc/fdl-1.3.texi0000644000000000000000000005561213516251574012247 00000000000000@c The GNU Free Documentation License. @center Version 1.3, 3 November 2008 @c This file is intended to be included within another document, @c hence no sectioning command or @node. @display Copyright @copyright{} 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. @uref{https://fsf.org/} Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @end display @enumerate 0 @item PREAMBLE The purpose of this License is to make a manual, textbook, or other functional and useful document @dfn{free} in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. This License is a kind of ``copyleft'', which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. @item APPLICABILITY AND DEFINITIONS This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The ``Document'', below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as ``you''. You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law. A ``Modified Version'' of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. A ``Secondary Section'' is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. The ``Invariant Sections'' are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none. The ``Cover Texts'' are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words. A ``Transparent'' copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not ``Transparent'' is called ``Opaque''. Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, La@TeX{} input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG@. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only. The ``Title Page'' means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, ``Title Page'' means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. The ``publisher'' means any person or entity that distributes copies of the Document to the public. A section ``Entitled XYZ'' means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as ``Acknowledgements'', ``Dedications'', ``Endorsements'', or ``History''.) To ``Preserve the Title'' of such a section when you modify the Document means that it remains a section ``Entitled XYZ'' according to this definition. The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License. @item VERBATIM COPYING You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. You may also lend copies, under the same conditions stated above, and you may publicly display copies. @item COPYING IN QUANTITY If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. @item MODIFICATIONS You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: @enumerate A @item Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. @item List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement. @item State on the Title page the name of the publisher of the Modified Version, as the publisher. @item Preserve all the copyright notices of the Document. @item Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. @item Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. @item Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice. @item Include an unaltered copy of this License. @item Preserve the section Entitled ``History'', Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled ``History'' in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. @item Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the ``History'' section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. @item For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. @item Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. @item Delete any section Entitled ``Endorsements''. Such a section may not be included in the Modified Version. @item Do not retitle any existing section to be Entitled ``Endorsements'' or to conflict in title with any Invariant Section. @item Preserve any Warranty Disclaimers. @end enumerate If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. You may add a section Entitled ``Endorsements'', provided it contains nothing but endorsements of your Modified Version by various parties---for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. @item COMBINING DOCUMENTS You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. In the combination, you must combine any sections Entitled ``History'' in the various original documents, forming one section Entitled ``History''; likewise combine any sections Entitled ``Acknowledgements'', and any sections Entitled ``Dedications''. You must delete all sections Entitled ``Endorsements.'' @item COLLECTIONS OF DOCUMENTS You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. @item AGGREGATION WITH INDEPENDENT WORKS A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an ``aggregate'' if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document. If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document's Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate. @item TRANSLATION Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail. If a section in the Document is Entitled ``Acknowledgements'', ``Dedications'', or ``History'', the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title. @item TERMINATION You may not copy, modify, sublicense, or distribute the Document except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, or distribute it is void, and will automatically terminate your rights under this License. However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, receipt of a copy of some or all of the same material does not give you any rights to use it. @item FUTURE REVISIONS OF THIS LICENSE The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See @uref{https://www.gnu.org/licenses/}. Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License ``or any later version'' applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. If the Document specifies that a proxy can decide which future versions of this License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Document. @item RELICENSING ``Massive Multiauthor Collaboration Site'' (or ``MMC Site'') means any World Wide Web server that publishes copyrightable works and also provides prominent facilities for anybody to edit those works. A public wiki that anybody can edit is an example of such a server. A ``Massive Multiauthor Collaboration'' (or ``MMC'') contained in the site means any set of copyrightable works thus published on the MMC site. ``CC-BY-SA'' means the Creative Commons Attribution-Share Alike 3.0 license published by Creative Commons Corporation, a not-for-profit corporation with a principal place of business in San Francisco, California, as well as future copyleft versions of that license published by that same organization. ``Incorporate'' means to publish or republish a Document, in whole or in part, as part of another Document. An MMC is ``eligible for relicensing'' if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008. The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing. @end enumerate @page @heading ADDENDUM: How to use this License for your documents To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page: @smallexample @group Copyright (C) @var{year} @var{your name}. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. @end group @end smallexample If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the ``with@dots{}Texts.''@: line with this: @smallexample @group with the Invariant Sections being @var{list their titles}, with the Front-Cover Texts being @var{list}, and with the Back-Cover Texts being @var{list}. @end group @end smallexample If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation. If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software. @c Local Variables: @c ispell-local-pdict: "ispell-dict" @c End: gsasl-1.8.1/doc/abstraction.png0000664000000000000000000014535411746471770013341 00000000000000PNG  IHDR? sBITO pHYs IDATxw@SWflQAVY*QEE*mVķu PAZg nSDD@r?N/MBpCx~9s(A^|ӧO&Rݻw^zk׮@#B/%%?Ϸ9|=5X,|H$L|jl6 2$**JLjsc!X6$$ĉLG @0zgbjۺ<|>vPlll  իW|>$߿Ν;=<<ZP+3ooÇ9rZqN>mll|WWW#B رcܹsBmF6A"(11qzzz[n Ǽ! 4իgΜc:" д\x#f'O5joܸg댊>lǎy-E1B trrs玅ᠶ;???**jL+++޽{aa/^t8H6lذdɒ:`^'|rر_uذaLǂP߿ ;>(2dskMww}7-- VIbҥK颿4}ÇGFFJx@HDGGsbRA``ܹsbqtt4ӱ ޽w^##;v`RX,֎;p?XaÆիW oox777B_>}f={t8<U$eeeuܙpп|'~Ν;iG}?\fΜzX,ҥK|>siB_6l >LjpppD"ц ikn^nݺ#Gn߾WKLq^^^ߟ0aBuuQ֭[tD鄄Xp!ӱ /O&$$෠ڶYy-M3g\lMӛ7o&n055=t͛i^l̙3N۷;v#mӣG;߾}XпtӳW^L4W^MkB ondd7|F⌌o>aPtD;w3B Iz)ĭ[}}աfff.\ S{dHK]p,>>>44Pve b: =R# °4[[ .[a!ѻw .ڦ-bЋ/SNLg^bDZH4eʔ$ K.j(,U|}}/]daa4e\1˗`ggt )@z&!F4.6mZ||Ejjj׮]5B]vMMM6m6e׮[n\.799Gj __d.~\ 1"77LLL!H$^/_dE988be((*&&FEK``%Ͷ 'ME 0ƍGQTPPѱ ,--p8Eyxx4*k iW^:u r'NLIIYjΜ9CQŊWY,EQgΜa:4ꮅPkl-))ٴiIǎslٲE#J괲*--]LIghh```@^߿Mdffr88||I #;{LpugIlͼ  "22fnnmllL|bK4#sssT)tw}GzӁ6ZTEEE/622ڹs5EEECv*{]ζ/4]WWFnr˖-WWךbbwޑ dt / dM SNI4M x2gU-6X&L`aFL"kSJ2ZҥKmmmĦK/^L~ԪdoReddDr,GGGHN{{{E L&?n̙$=٨&/ ?~\/{666nnnUUUFFF$!dM {Ν;'_… Я_,1g֛7o,By-rʻtFK`mIgol޼ ZYY+W?@HHLj(P(Tب@ _KO{hT4M &Lp8G Ϟ=ٳ'OTR`\.Wa==KJJ6 s```yyytt49{Tycǎ#G?vS\?OzZ伥vdҴZ1KʏJ`ms Jȏݪ~((((ظ'N70ٳgK.ң !%è e{ٴ&s8.J23ŋ͑kjjLMM}}}ߪѣf^B2Wf055z䉒PIWTT̛7o ' P üi9.0eg6dVƏ?&M"/ӵ1cu$ʤkFFF ncccffִ&$,Yaaa~-L8Qa['MO>EfFFF's`ܸqO>9~x6I?<i9Ef<~$/ (o߾ R>}عiiiu>6-^zUرc#Ǐŋ˔N?~gjjZTTDȤkE5z.](jZo޼С)lKR9w~z[- B,͟?_z/.;~x[ j50EZtQ}}})S4k.n߾~<+9wĉGEg"//LMM%2SYfkƌek ք4ڒT_8...Ə* J۷Ю]4@E!rRľ}BBB,--ɓ1H-***N>M? `KJJRx  777==]ɹݎ;|:u****++SRCYYYQQkӚcǎdIHHիW_xw;v6`jFرcxxÇsssnjSVVF4"r]2-Hݭ[oVQ@Kuu)-pnMMKNBOOOL2ZR+I.]*]!w~~~bXf,w^%̙Ӵ&d(WrRmLL M_~%kUtڵnnnq5j̙ K}XI` "-'EfġCS~ZtFKr ȶ...ʷD<8 V@ݕJV^QMhT^+6=d}}}$VIkUXXX+E(YI}VaNNN_!BHEf^^^PZPA  @uO% ::::99I( gVSW@@@;uׄF4Mp8 裏kU1$1رc%GȲ y%w @!-y-rʻ|vCM#3X[_FKr۷/l۶M$[|t "fɷ3!@PPХKH^XWWwE9ճgdnTג]z 'NXRf``~zڷ%%%k֬p8,Kz ˗/SEQԪU$+?֞9sSN!%0EZN.*mHkgDJvv6W^),@>WWWHd}Ig^^yx_K֮222rttܹzgMhBym~~$*%14*h޴i(}<پ}L_~E򇟭duO?T~ ` "-zd8dXdVhCYv-W@2Kononnfff ڲet*)v X5CӧOwvvp8u֬Y ߻wo̙:9sFH>rrW ޵jl9p+49r䈑СCU,6ZP.CiSp_B! 0EjVZZpÇ3B!L X[[}6''ٙpN.CiSp>)cA!Py-R?!jI8_qq7o\. ݁'"-]T YYY|>Z>z`޽{MM͍7!Pûw޼y@ݼy{qww_t) AvӾtӁ6vÆ gݺu7o޽{ }cbbVA{xx״|y^:uT.r'N䔗/_lbqkV~!v<|>Ӂ ,r Ջxxw#rrr&''o^__Ç[n񉊊ReqdddYYYD_ 8~+//޽ׯ:Qw $-,,zkFH'ڶMNNN޻5(++ rRdQQQǎiX?ԳqFd~2[woWX^yuuuP(ݻw+nnn%-ZDkǏ+ֻkggwmh9rdHHUAAR3B:,&&̙3 ӱ _Μ9cmmz)15SPKڻw/XBOOOavq˼5{l//gϞ/?p@8v`ͩYFQ" ˆf+!m&"""B|||n߾ѳgOfD:͛zuӱ &߾}+?ZCI//_v3fACF ;w.99ɓڵrv ;v455-..600 ?egghfmEjjj^t,q\\\  ?GGGEݐt HwVżŋJ)e^VTTQNkfVbH٨QoܸǛ]\\ƍMYFQ"4UYY R;ҩHC%'ipl͚54M8(=zdi666311󖬄 HBzU֌B:%@__H!t0Zɓ`JY Lӧx˗/,sKXXX|RaZ[[[XXheek׮ݻW~ڵD#׮]cX[l8IݨBHHHߠ 4( dzgVzX,֏?K.yϯ رcGeeAT>p@@@q|5^رc)hB!Z|jw!RGegg@O>]SSCZJOO[ndt N4I255 ֯_krd͚5b]vMI/_(UVIV]=s Y# }m۶)$˗/oBJ.5bHw!jT̔t8ŅX Hpr^أ.?~YbbfCm?ᐐ;v888h9k-(尋j3wرx⊊ }}}___lmm N7|>-@`nnaÆpE0Ex^أ.b񡥷{ IDAT#`ܸq111vvvLն|r޼yGC:uRS^B!tw}liiLj[]BB---;My-BHQᡤ`2/˗/l6EQlEnu?Tw޽(>&UWWw߹q8ss#F\tI[[ۑ#GiiicƌeX&&&@?q۶mE-YD&>C)LB0a=z4(EQjֆv"#<@пOD!ZӧXۛӧOիW={N8!zxƍs^ZrnjCQѣGШ>~ɨQ?x0vXWG8;;XVӓ@пxzz1!Z ZtU%EQ?C]]M ** $eۂPHӴ+ 2Tu%eii)Sܹ̉sGR,>>N~G4iyYUUEf ^vM“'O0g}j!P&>E͞={…l6V^=};vH|+Vpppr9bĈ/Ȉxw\]]91,, =*)@L|#}l_R)T4nܸ+W=z4<<<))SNWR>77ڵk,2bbb>䓸OH;D"2H, mllp_u[xxx@@t;w|֭E,<+ߊ@}4-rssnzر?SI&kNa lPch!9ߵI!̟?_G}6m?p8...Gjjjȯڒb6n"ʿUXXHtp=h/֊:66V!鞃FEEX^Q^-ZDHۛJp~~A`̙2剈ݻwocee^RRB֭[%BO2%jK͒jS̉|4jw=?ҥ*/rssMdŊ+WꫯȻK.}䉛و{\rd9saâ[DڃtR~~m֮] DoONQߟ>*$!hԹ ߢiZ\.7 @aKivώ055}Abb"y٥KOOO/"""-Z$gy vI&}TavrEF <|I%A2P .r8Xk֬W^iiUTTTD"eX,Y`ҥUUUoYcǎ(*'''##C! )%Q_fOdxMrrϗ>XPP n-nne$ҩ[ePUU5sLXt)怘5kV>}^~TZZ*,7iҤ)JڷoO&ũ)X5ü^~e޽*emmsNɑ;w6dnݺmڴIrD$!rHv36%%r< PZ3ڧO_|ɓN:ZJt6m6uAhPvjjjT)Jɹq7nS}~Ǐbj :л\~KJJZt)yKz~ٷGa߷o_ddA@@C';KuQ?~Ν;m޾}[[;QHE6nH[e4df7B!t!BH`^B!t!BH`^B!t!Y&L.//g:/&LPo"BHg3Vy-B!tV^ ##@пO|:jy-B!tk׮1OG0EH._BMf?~EcAxlv@@zkƼ!uڹs[SSwÆ C IHHӧσ !"ggUVJAPYY.WZ)7iB[ەѣGޱ~ <}*PGzjujھ}޺ukʔ){apP1bxڴiqUo"6k׮ Njㅅ%''2Bi\.wΝ\.w߾}}wQ۷}$ڛ`4Y" iSǏϘ1C۷ٓ'OeXcǎ}IL>ޞbL6X׀B:ܹs|>gϞ_uZZP(d:6A(}={ΝD[TI;ҨۗkNI.]~z֭[yuuu^^^fffSN+**ڶm=K^尋jk山Ϩk׮zzzBaQQi̙ߛjEEy HeSTTdooN 0=zTVVfaaA 6omv!ԆL0|>?##C:B`ffpz&Lp!xtMeee999? pV(v{̙}h1 CZhB۷KJJDY[[-kRۛ˼uĉ~iÕ+WN:uر_iӦ+Wfff:993fժUj(,O\!`X#G$ee$&&~Bapp˝;woݺ߫Rݚ5kݻW^^}'O=Z׀Bf"6˖-;z-[^vmϞ={ϟNNN{cJ 033 ^z͛75s!PRooyΜ96lqFF:::ZYY͘1cڴi"̙3ӧO+|VVV[n1bD^B!p!u={ ֬YqǧKp'&&>{l̘1|AEEEFFFǍdN-!-]!fa^4Z^dZHka^*|>tDx<^@@@v혎IgH0EZ헐0oӃ@>}BBBgǎYٳgO8q͛" [OMMMMMUB.!!&&&Glll9bbbrii8^4..=EPyyyΝKKKcbbΝt8-d֭ͳ|i!fH-BHCRRRJKK}||̙t,-gΜ9>>>)))LҢ0E1r-BH|>9RS#G?vp!xzz:tYFĎ1HK#y-Bi\ݗ.]t!' /^`:ύ! G(zޣvenn>vFA𦧅ZAm_({EQ>l ozZ-(m1B! p~-BHɏOr!P!BH`^Bf]\\-ZTZZ*_CŚ_|f)rpp xxx,KbQ<"0E!sChe޽9++M6 8͛7M6!!W^mԹeeeMn ¼!b@RRR)**4h^sΝs߽{GYYY֭kr&@\\\}_~ kBu~ >WPn!CDAhݻիEFtǏO>Q0"  UOab&)}TZz᜜`XslB:T!4-HpB}p="ӦM[`A3O5jܹs_}]x3Z.W"Snppp}+`Qٳ7o6]''͍^1=`BR%$Er9sz , :tЯ_?b۷o'$ifff}!ʕ+%4XI#/CQϨQ:uDZ9t)G!sm-,,,Xe˖ڼy34!Ś5uԝ;wj2"t)ѪX-g;m"Z5iɣϟ722kÒGs%IR RYYI\tbI$`%kHD2w}V@ٳg2O< QQQ MH#5***jT6Iky!]CnܸQ2s400PflGG_-|hhu^9bĈ/$;︺^,YD_(Ŋy=,s$kNHuLʐdRZp >(׷`ɒ%dKbɒ%d/{HLLt -\rEa^A?㯿uݷonذaժU Y$aԩqqq|kjkkǎ{#G_}UTT~9s\~}͚5֗/_&k6X S6nhccs9x@33]罽%{!ڑ/l^־{;bM)R#2 {R{Teeemm2OqEQ/[2]7=픐0~x;wtԉp4.;;۷2[-4B =J,5vvv%A*ʭ844111IJJizo߾mt ĉ׷X4&Nt, ZA8tK% ׭[gϞ'O{{{Ϙ1cƌ5k223𦧵˽ MLL֮];gݛkKtlle޾}ۡC[XX0TKüizaBZ6+))O<} x<cǎL,yyy|>={?'n޼ښy- #vQ헐0o|yh Zx1!Ta:BHNև?3B*E * j5vABrbܨ(,x-A ^` Ŏb~8o?wwօ}bϞ9ax8{ w.B'E aBe$ EQlCZ[[ BSSݻ:tHjj---i611 J:*Qɓ'{abb+HJ߿_bP(l֬Y~.\s/CbfҤIEݻ|NS>6 6a̘1ܾOQԧ~Zێ߿νM,8p!`Bb'Dzyy\vĉN*$''4 666Τ~BBsNRbjjڱcGwwwr^T6BaYѮ];aÆIRWQFY5kEm߾ _T:c  -++6TdabbbH^^^߿0O͛7>}z\\\mde˖sTFX.C5 >\e"]j2x& B[x-nfӡC9sfAA]KҬ,2lDE r +**>>*C?MBjjI:uDVhdfjj* ;u4iҤzp9!]ceeɓ*H>x@M!!!!!!P^^m۶SFEEiӦ[ɾ7kkj%%% Jyyy2L_eĉ&&&+W<|={BCClmmMӴXɔ`aa@UZZ:{xBZjH={vΝ˗/_|9>>~ĉ?1M׬!4Ukذa~n!usppꫯd6gP}ET6x-%;v@TTN2Ef~^T*_~y I9r$ܺu[044AZpfˠN;y1KKKsppP}yv5oUUUϟ V;_?P3i8{,X[[ȟ={ T*MLLmےKKKPK^}vРA$צUvv6)}?u֯_/W-޼ys/*CoMM] QyIl/^ ˗/g)2fΜ L9Iַl٢2ZkW@@@͛7͛wU~&0uT2S===IsPP5cǎ Q޽{mbbѾ}{ѣIT6sΝK0zh+xd*^_eOi&>}l< ̙3|^^^; &,,] Lމ'`2&M{ƩϏtNuPH$G??:}{! IT*ݺu7Mvvvk֬)//|РA555ѭ[if֬Y%%%)))III|Q/JܹH$ x'H$?MӦ rJ]_y ر_?!O2Fpp@ XlBo7o(jذat2nnn|nc0m/^ mڴdM6xbͶ|! (Ԉb2|Hܽ{յO>'O(QS{"F@NNڵk;:_PAAYd j ~=zPu=2Y#hM5BļyZh!:u jMV^^̖رC,PStyD2p@LjJ$kY\ !k>ٳgΝ;pB2dVBz͛7oTV322c F{BG;fʶmLAFMQVVi;$+((СCYYYǏT"tM>}1"߶ 6Z޽{4@My-B5rE!P3:8tB!tMQI8]!j08^B!t!BHh'=z(իWk%ĐG^5I!Gӧsi׮@ :thZZ|MJ@8yOֶ/^lmmR:5;;*yF(RkCꫯؔqN^g{j%FÇ>v !ZIIɶm۴Es̙wG'O駟nݺլY-[><99{K./ 8ZnmaaQPPq:F޽{!Pyռy,--K`oo?wW^i٫W)%-o޼ڵkǶF۷nٳgo%''3 ޫW/33L?Ν;[O.//٦૯ҥ͛79;g777ԟk_|gffֿ˻~zGB5 :99O$;W5QnnnW+Vpvv?ׯk uJF5EQ&LRBZWWW; +G~aS<{lʹlxw=zMӎӧOgp[zmBBBb1M666FȐoP"9rdĈ"f͚̙3ѣGl57}7ÐJk>}q5o<$$dƍJ' IDATM"l޼900Ȉ8i$n0{yأP#'E_xXqmũob2v˭MQTii)odO>D(ccraȄ]{{{JX}ܼ]vcL}G^f̘_^pAy`4{Uo輶K.`bbRVV0LYYuSLʕ+͚5VVVgš$5߽{&555xڴiJ(++ׯ–={nܸ-[LGЇ9n}ŬYfЩS'톪X<|6s011AQWQQCe]n|eyy9dl_|ܻw},:hѢbHS[&Qoߞ;v,<6Ĕ/-2d)xL}6srrן9sfJJʱcǾյR V*HOp?lkkKjroIa-.]zԩSN-^E$0d- g۷/==ѣƍ#s޿/rxx8MӦMxqffĉ[}}]c= 5r>\>m߾}\\yiaaaooO&b/%8spqqQm@@<8<=====߽{d۠ ￵Qm׮]͟# @=z@W۶m=bgg&( 0E*#j' >}ZexCC wZSLϦwٳܷȌW>#%_sq7,,,4330,BQԵkd]ÇJ- R-SsddML=kޅ>أP#G(΢(j׮]R4::ZqQRR}r5nnK!CRiRR;U^144T|\\\ȿ.;w~ >Y$A,WTTw1/V{N$rTևujJyd] bΝׯűa1өxJx{{@-’r gӻ(ȜP3o:vpErh2Sy_uݗoiVC.19Eϟ?/3{M__o!ڬ=OhV}⅝y۶m#²Zl?a777 IZ*%%-Z2;w.|ڵ y# OQӧOv̘1C4vM)9:"''k0LEEH$jѢ:L=\ՅJzfݼy֭[0tPaaa'N(**:m\ƍ۳gOffD"8Z6R@fȘ;wq%۷o|ƅ ` Ǐ߳gϥKmȑ_)B}ݻ?~ҥd cuuMl"*++>۴i0!ܧi۬,R2m322l[b… jo{9%믅dѢEl33SL155]`]:u}vjjjm+T/IIIK.ݻ򦌌~]v]x[NTUUo;*lpРAǎ;|I,_}lx6 WI[[ۇѾh0S M6/Ma˷o7K'OԫϨe,mJiii .7n\ǎ|TZCCCHOOW;?aܖ_._4zH`B|=w\HH]^O.\fff׿S\7:zRhyyy;h:;;mۖ}I;o&D9::rwm˗Lz333cVÇ4eTڭ[7 +<|$Zlimm2<^աaNH$'y S4ߓwիϨk6իW+3hjmm=|p}) @al5I}$Zi0SV}ѣGVM*1-d79wO%k}FxmUUR#=z|˗ &,|}cd7ʇCS~=i(gΜ!,l/H2Z勅n$''CVVVl׶dB-['?EN˗/V&c.d1 Ȉ<ӁO Bn‚lō7 Q...ڵk4y)|20޽#sإ"}Y]B モopʕ2;%_ɓ'גN!Kۆl f!HGF=}t׮]iqF}Gc***lll,,,VX<%tݸiEpLyNٽ{wPH~駟w޵Uf"|:u5ky6rhɑKaa~@ӴX,ӧrJp^joW=z4gR]Vf#GN S 6!!r7|YVK.l!3))I^~ݳgO%yL/r2o7`ǎJMy5 P]/O33%]c$ZAY2˳`6 "h٧N:~Iܸ׵>#!Ko̞=̙3.]ڰaC֭I~}bg͚uuMյr֭֙ 422(jذa/^7oիWL,.\߯_իW;::Rnk.@`hh0'f8qb޽zjٲ%EQ]vݸqczz:"˫k B&bn$<==2o.ҘiikB!W"B!]!BMNn݊R HR ?cB'Oh;$+'''??}pF4͛W!B- YYYڎ,`:Z~}G!n߿vv6$#Hdggy!Yd8ڎk1E!ѣG gΜX9sfaaazfsB WGv֭[:t>}'|p={6,,L__ʕ+!eދ-bf{v8{>aEif>E589좍T*ׯ_JJ }iZ*j7$=aaa۷o}a^j2\y?XTT?kpEQyyyYMUWWgӦM[n"̙3|HФGYYY>v8:1 SNF\B͟?_!4v{yQTT[5v?cǎZ iHhc~B !umڴ:E"Q||B\ !IHH ˖-H$Eyxxu222jmm- MMMw~!n#i$000>>^f*Fs=zJ$5=<<{=..gOfgRk.V~G 2˖-s<4𢇐va^.Y<{Tff&XXXdeegqZWWWHJJ""0da6mڐ$' +++#%.\ie˖T6F^{u233IInn ={VM׮]iΝ;$''ٸq#wssR"HHح[7)I oyf G8bL ::N^.kQ=ޅ4g0a.] B;;; WZpBsxxx~.^ȭ @e#j_5l߾[qF7o|2/###ƍo޼ ~~~MVXk4QV oy&P(H$2x# ‹Bڅy-GػfQB[x-nԡC9sfAA]KҬ,2lDE r +**}JɹT*}%[CTH<l:yɒe3L[!k$3e vZZZڼy󬭭qƵi&==Tpuu6mZnnn@@E.]VF ^OOOͥR{-"R5NLwZD"§IԨ&B2 tՓ'OD"[j4M@yymۦNEfN68%%wJ5X[[[’Cچܜi?$Ym e¢>vE.]TWW;v[.J8::;##)S撒W:::r*|QC׮]d?| dAnݺ=~?>y{|Q s?ׯd?~ d!kRӦMcϝ;rJnX;--df׮]?fOmٲeaa!;Y\\_}޿ϳ5L<LrURrΝ СCUn>i$RhԨQiii"C"$'999rGw! i5uT  e?>xzz 5gg砠 kkkǎ#H}##޽{ã}УGT>\sfDѣG|.Ü9sȱ{yy ʣ]^¸t)7<0O8ׯ)'ܻw= ZTw!ߣR֭[i[f ߟ`r_A222wkjj[nMӴͬYJJJRRR4^^+J׹sgH$ cbbddd`@l2g<͛7[XXP5l0+?!9ϵ'Š SSӁʔ?.𢇐vQ/aGxR܁ i UVVVSS#߽{յO>'O(Q#{"v//k~w^.\!k͛{رpԩSvL6m˖-cǎ%%;vtUYYCmǂd9::wNx-G8t4g:yd߾}===:DX?wܰa޾} 7o޼yFe5###Ntȑ#ݻweLd/z_MMͬY~w~]D \\\\zjMc^^fQ 8,PQQQTT ~a…*;%%⩓&}Y&66?yFErBxzzz JիWYYY*^^^;v ˛(y-GxGſGUWWZ*11ݻ"'22222R9d#qر˗ٳט^zܹ)!!{2!D 0<+V5kM0E/HGFho߾/B ̘1cٲeڎUQQpŸY"ݻwȑJ*c^^faBvŋޯ^ڴiSTTAؼy7|cnn~֭VZV&}5ddぽ !M<իW{>5-_u޽_zEX PSa.eff5k͛ڵ+)) TXo@!aÆaR6 L¼!B:+;;9T!kB! @ہ #L"BHgyxxPվ}{m4}ڵsww7j2M9M(0 ӯ_?GGǸO?o͚51jr]cQx-B51Ǐ766ѣGq޽Ν{!EQ׿GB "&7ROEiTWWgӦM[n"̙3 @?B)gϞGqu?CQ!}:'[XOO7..2H۷ f͚x4 IDATҥKʃwL>]W^UUUu=:݆X! Bňl(S_o|}}Vzzz%MK.JJv*Cʋ-"M5kؘL:m955U{y3 +$&& +j]O`m+T\pB4̞=T"# 'N^i@gggR?!!Tعs')155ر#ٽlDVy$mͧOG&fS[ܹs̬}͚5@o>%@rrLeܹsu::WjӦM7oאt>, *?fiģGf͚EQMϟ%֭[@PPPJJ O*~$kתܩB'NVZ9r>p%ܹN=uΜ9 + >|5 }ŦKȯ3=zTyvyT*ҥ lo+Wm۶MΑJ>>>g20 JZ200m[5Zwww2|Mw9WʟtꫯG!]P(,//6n`̙|v-JȠ/[5Z>pvvL4CH"aY^۾bKJJ*裢VUUmܸ|OM~# o߾m޼9{&;V[vy-0[n$M&;-ʕ+{?xspY{mk7Xt̻dݻZF+W򏊻#kB'rLaEEӮ];Ҡ1cv)˗˗_~ٱc-ZD *Q#Pv Hdr}aǧxE܇Yy hee e> h%Hݰd١C٭F?ǖv޾}[q._bqttݻwi/b·177o׮|u:d=..nƌ_~ʙ0Ehvrr)J$yuE__,--ɀP@@ĉcbb.]&F[AykA}I$2"龗WmD"gggr$E+++3Z&3dرǹ55׾{ڷoϖv͆ʝ*_h˞?#<|Mlu"s4:[}o߾ݽ{y-ZԹsO?TU!8j 6 -$R , P(ttt[YYIf#%*QcVeܸȑ#֭[M CCCL2E刈k'44JKKe/_ nDȑ.+󯂕ڵkE殶!׸-w۷oߒ`ڵ}!NN$Qx?["mdddaap+8(((HHH6l9-ZwhJ{N$rT@&{XdNΝ;ׯ_/saٰaWexJ>Py#]Hxg5DٳgMLL]oooTR*۶mKJ,--B!۷ "lDVeŋ) Od]*i<\]t?=U[Zjer ݻw[YY}*3~y-%Q1TڣG7nŇpUL6Xl[еkW5O=zB &V $:884119y$0WvppmGO}b1 0a1d߀^+i{{NUVVnڴ)44Ln޼yXX޽{% 0&M֭[_}yT8EQ666C 9uCaN:!CT ,,,oh}))@)m>\ꄬ i U]]jժĻwD"Hv=͛߼y3w\[8vXQQQDD{쩑{u.5kŝ?߿CO>uqqիעE:KcעzWYأP#W.ݻ0>5G å|uC`^&HGFh#Q~_!B!y-B!"B!]y-B!"B!] v!Beȑ7nܨb΅mVkB!rsssrrҀ윜*`^B!YYYig!YkB!֭$%%ݽ{W۱rݤ$3Uf. .Bծ]1cƔGDDHRm$J#""njӮ]ڪx-B!tٺulll.\Xbbb.\`ccn:%0E!.kѢŦM`֬Y%%%ڎAIIIddY`ӦM-ZPRZBm۶o۶DA!$Ç.<<\&ND5E^P]ˋHOO\]]--- ?EEEw!M;w޶mm1E54Fh'J-Zt鬬,D"E>@MӼ`^j20i@v&D*޸q#77ѣGڎjݺty-B5rE.o !BkB!.!vqС jp~-B?y(ww: p~-Bڅ!BHBiBM"B!]y-B!"B!]y-B!"B!]y-B!4EQdi4{B! "B!]e@!ǥ +++++ѣGG;<==[np4GA4 {j䰋6~ƍ$/)h?/ܹ]!}8kQ=K<,Q.ژI$ VVV6o<(( UjJ$i;VUU 2hQ\\l``lٲN h;:a^^faBvF.](*""b͚5͚5vPEII̙3m0LpppZZPT}c!T_<<d̙j7P=YxKRSSn݊I-WfͶnݚjeeuҥŋk;"a^j/^8pMӭZ5j۷oNQT^^5E &222--ãcǎڎ{;wnѢEE_vP+WO 999$$D4R!!!য়~r劶QSSgFl߾=222,,lܹB0++k'NvtH]x<++KOOƎ[TTTDm7nuegΜiRj߿9sfppiԂg̘f͚gee5i B@zW~~H$ھ};ʕ+">*YƠ(rsq]ww6Il߾\–$&&˗5]SɓXYYXJGGG8ycQC@H~iȐ!Ǐ 2$%%͛7Z ">>M6l.B,4hP}l@"hРAykr0EV 9r$22R7oްw|V|YUUivذad̯nܸQ&L]vq .]B̆VZp!9<<_~/^VpqqkWX݄t v+Mxƹj*nwށ;ؼB~Ç+?R/z: ?54ݓy-GMwI$f͚>}Z#G޽4hPMMMW<ڛ7or~:y`6IPSS0l011YnMӣGV=Y(s oݺ:t3g,((kTE}B_^%[l3NJ #'mllKJJ ((Hɶ:_t~(jh' CV4Mo޼Ycǎ~?SGG7n_vmʕ?pܸq&&&ޯ.w߉+Wٳ'..naaa !7nܨB\\_SSѣG8DjժG,ʲ~ H$Nr8VWWWVTbWMDlb+166Ҽ pT*_GJ$/=xH.O&ym2%ӧO+'&&g}Xԭlƍ111[*曗_~B*PˇJDlyTzҥK;$"kkO'KII"/g?/BgszQFk&_@]ծZl_u;"rqq %"X*FFFƞcƌ!0#vy5k{gy-m0˗э7Tbqŋ"""!*-2p@[(QQQDOw8@Dg͚ED?sG%YI*˔qgdd>hNEsz?_BV*ڵ[$988$$$ |}}euľ ={'d?tPHdgg/WWWgffZXX'''r5k{gymCCàAu1^&*hY~M޽-//WRY~̙3,dôIR"b _~ϢQϟf7&6-klȶV~M1Vݲe _~+3w8nl4"rttlYgy-Ga%>BŮ6##._T*RBeݻRA{D ,-\[[knnaB-**0`SUݪotsMMMs̑ۊ+8zݪ̼{DOl "k_GD/|gj8"y>***==Nl/n??xwY-<<<33]n޷o_DDDBBF:ED7oޜ"cǎ.Qѣ;;yEEEAAuf{Y%*96??=nc˕rΎ˓=U8Ʀ0&&=533/_fkkkU Hf+յoذaMy_RRR~ǫWB==[*ݪLDǏ mD4o޼۷8NOOO l3KӧO-*OOONwTlՑ4@Ok555"0 O?lUsxtiiivJ7oYm?F;iҤG>S#ϙ3GSSSq---d7(֏jd4|akk?3f\x&N(( V2 ?wXΎU2;m4J&!cO޳cmmmqSΝ;v%"gg粲2Ykk5k,_\)1.\HKK[lYgun޼)t̙֟}B5KK={2%''QSSK}Fk /ZhYYwEs{7n6T- 'L6IQvUV-Prqq1wv$\EvZy4h jAGD[ zdLO>$$$Ԕ1uԯ|r _dD"8nܹYYY\۶m#",++c9}^^`_oGٸq#/o۶mk֬""T8՛hyy֭[/\0xM{;w."""66VŵoiktUQQnnPܮtDwÇ{챾 J=zt*G!$e0X ܮt4MC^ }ˌkl@a1+h?؂jB I-7}Ez^}y-Ç_VvdUWChhӿA3gaUUЁh*CCC5Z?Jʏ>H@ݽ{!//O@4F^^^CCݻw'B,Ő-:???"B^:^M an1d ח?.t W}8^ 7d@_PqagJMܥAGaÆfddDDD̜>}D")..:nx-O6v;b @/߼y3K.:V]]tR7oެI-aT.:4mڴ>4@͡ &Κ5k߾} 6[@kkybXzy-!tлToQgV #B\2f̘/bBG^rss}+W={Czy-!tлToQyxx\|[%:;s̳>s7tP۷?󼷷_|/t\=x~gΜ߶mYK.dڵqqq0^ }CлТ@͡jgϦqJX#ظutt1c >.zZ94Qs ]k]]]!>.zZ94QaaZk@ mۡu@x-h 6@^ y-h}ӓm8SOɓ' :Fsrrn޼q͛|I___݅ZW^y駟!k 4@ݻ˖-,[lѢEO;vt <:nMyEEE'O1cIHHHJJJss#]?@a=È#,Y:uΝ;fΝ;N㏗,Y2bĈݻwc4꽖lȑ#Y.*. Ņgx/YɠAƎ[N*]խkJ/fqww>|8M4I>xW\xyyy{{+WU`/qc=9l0VoU۱cq=rHVaΜ9J|(55U|ӦMDӭK&Ūn߾~FSNݾ}Ç녎'>}S+}q ?*& 'O$"KK˼,_/ܸq|j(H|ׯ_Ϙ1?v|6z*{IzΝ;>Su?|6+_端"'xBz-:ݓ?OLL 9<=ZI#GH$mmm W\!zZyڊ$jc}AAAD)t,4ID"QzO(66֭[T*c.O҃N,bK+_<...vvvcpqqDMMMibbDZĦ K_)--533#/RX@۔?MJJ5jTBBEjkkTUUO=Ըq{*//wpp066/ddhddPZZ*_n߾]VVƵSTT$J޽ف555,W0p@"b-ZbZnݻKD+V: mn璧֣WAAѣG_y[[o駟vuueN8zK.?~ݽ['H>uX\X,VrT %"(BDzzz]orrrjkkǎh"c[-;vlmmmNNб)--mjjb[1 D"ĉ'NHDU-[&^J^KIzή^~@/q;wڪZ" ¢AYewOwhBO~鼼<6 _˥ zI@777*tRS##+W:::^t={Y>mjjRj˓@```kk~+_t/ZZZؽ#*0aBIIɅ  KKKCCC{9%>޽{W-))v&OD{h1vuhV#mV:9lիWMsrrn*_䫯:z({:C sl,O`D-ʅ =zTm s/15===tYqsW]z 122:RUmIe`Keyyy IIIl...{X*FFFƞcƌ!#GrSOzzzX*/7v>>>FbW^-K+;ȑ#}}}(((AI$>@yƍn]6QBѵ]bBBG?$"333z-Jw-R: b[XX̞=ĉmii:tH${嗫333-,,U9IZ[nuuuD666:!GLT__?11Q=no&((hbsӦM]0hР(rwww^6B=E׮WpΝ۷o+_JJJ<:6uuu---&&&\~-""СC}nXlٞ={*++YNOD/^9r;fD&(']*ty3#QП^y3335++ J۬^>55UVhbb6{-ȂzkTXߴik׺srr֯_ODl9iʺ ,`VpWWW矿K:4]+++"? kTtOOO''J"Zxq`` !}G,V.<<<33[nʊعs5k t-~rGՂq)))o񆻻{IIIMMM@@~g k޽{KKKyojjodsmAu n@> w^[TT$t$mXB^ W\V__ĉK?-tKdddLL q֭j,\C<cʖCUWWQՕ]&t$mXb ͚5ݝ 4iB{\UUquu53HRSSڪ*,Eׯ<϶9ϟÇ'M͜9Zk׫@dnnX[[)>Ћ_^[[舤efbI-͟?ImτM8=ϟ5kt6=0zkNi,YF%hH$Dt_ʲ[???d:NDDAAADo  h}xOOO;vBF,X",,,$$Dٳ,&cǎ煎իW5ey:>o kR~ظq)))ڊ+o[OvvׯWGÇ/Zc]gy77gyFɱyŋ;;իv@"XdIg^rO?UrlEe5njҝ~CI盛 @D YX=kdd[^^>c 忑Õ\ƺylpp0{lٲ5kW5j{䅴]鱿x222!RSSSX/HRP!i%AUTTܼyS8kM 8xo"KΝ쾚-[رc̙q˗/P8pJN;|pvT8sqqQrۦM:\ cݷl;۶m@"rvvVrGBBBg:99={=-++3Zq\TTԆ F_8nݺlll\UUe`` tTyc䛨T*n,\pϞ=y߿ y,3ftеUMSWW'l@Z@$EGG(~{eA I-h/KjAp:qP5QmaaC=0Xq*a GIDAT̙37la:?FbbٳUtD^ CkP]+bKKK"""##7lY78W"!'EB8;wnAAAjjc=ֶi&< |0o޼dԂLBD?ЁtLJ@[~Rwڥ[\h~/H$z뭷 mll*++ G%t8}||qPz8^+f͚tCC#G^pWM:5&&~@R 㸹sѻ+t,ɹs"У2׮].,,400شiSllH3@{7nEEEB@DTZZvWWW]}_iڵmktttss-[߶l@X3^+sС%K̚5?\pLJ~'@ ə:u*9RptZ/DCMMM{26mstt,,,300:"-MMMs8p`aa!vPX4KnneFF̙3tHSS̙3322,--sss O*VVV @5jTvv?斓#tDrrr~GKKll>jy <7:>1jԨ'OL2套^:(Z/Ҕ)SJJJO<@W^_z~{W۷oŊFzgSRRjjj-haÆK$;vXZZ hKK;vH$aÆ 5oիX, qpppqq2dX,6ZA555555577UUU矗/_.**sѣGd 3g:886@p¦MRRR2222<|a\]]zڄsϹ[PLc=J-MAJIENDB`gsasl-1.8.1/doc/Makefile.in0000644000000000000000000027567213521017376012363 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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@ @ENABLE_GTK_DOC_TRUE@am__append_1 = reference noinst_PROGRAMS = print-errors$(EXEEXT) subdir = doc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/version.texi \ $(srcdir)/stamp-vti $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) print_errors_SOURCES = print-errors.c print_errors_OBJECTS = print-errors.$(OBJEXT) print_errors_DEPENDENCIES = ../lib/src/libgsasl.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_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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/print-errors.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 = print-errors.c DIST_SOURCES = print-errors.c AM_V_DVIPS = $(am__v_DVIPS_@AM_V@) am__v_DVIPS_ = $(am__v_DVIPS_@AM_DEFAULT_V@) am__v_DVIPS_0 = @echo " DVIPS " $@; am__v_DVIPS_1 = AM_V_MAKEINFO = $(am__v_MAKEINFO_@AM_V@) am__v_MAKEINFO_ = $(am__v_MAKEINFO_@AM_DEFAULT_V@) am__v_MAKEINFO_0 = @echo " MAKEINFO" $@; am__v_MAKEINFO_1 = AM_V_INFOHTML = $(am__v_INFOHTML_@AM_V@) am__v_INFOHTML_ = $(am__v_INFOHTML_@AM_DEFAULT_V@) am__v_INFOHTML_0 = @echo " INFOHTML" $@; am__v_INFOHTML_1 = AM_V_TEXI2DVI = $(am__v_TEXI2DVI_@AM_V@) am__v_TEXI2DVI_ = $(am__v_TEXI2DVI_@AM_DEFAULT_V@) am__v_TEXI2DVI_0 = @echo " TEXI2DVI" $@; am__v_TEXI2DVI_1 = AM_V_TEXI2PDF = $(am__v_TEXI2PDF_@AM_V@) am__v_TEXI2PDF_ = $(am__v_TEXI2PDF_@AM_DEFAULT_V@) am__v_TEXI2PDF_0 = @echo " TEXI2PDF" $@; am__v_TEXI2PDF_1 = AM_V_texinfo = $(am__v_texinfo_@AM_V@) am__v_texinfo_ = $(am__v_texinfo_@AM_DEFAULT_V@) am__v_texinfo_0 = -q am__v_texinfo_1 = AM_V_texidevnull = $(am__v_texidevnull_@AM_V@) am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@) am__v_texidevnull_0 = > /dev/null am__v_texidevnull_1 = INFO_DEPS = $(srcdir)/gsasl.info TEXINFO_TEX = $(top_srcdir)/lib/build-aux/texinfo.tex am__TEXINFO_TEX_DIR = $(top_srcdir)/lib/build-aux DVIS = gsasl.dvi PDFS = gsasl.pdf PSS = gsasl.ps HTMLS = gsasl.html TEXINFOS = gsasl.texi TEXI2PDF = $(TEXI2DVI) --pdf --batch MAKEINFOHTML = $(MAKEINFO) --html DVIPS = dvips 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__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" \ "$(DESTDIR)$(man3dir)" 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; }; \ } man1dir = $(mandir)/man1 man3dir = $(mandir)/man3 NROFF = nroff MANS = $(dist_man_MANS) 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 \ distdir distdir-am 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)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = cyclo reference am__DIST_COMMON = $(dist_man_MANS) $(gsasl_TEXINFOS) \ $(srcdir)/Makefile.in $(top_srcdir)/lib/build-aux/depcomp \ $(top_srcdir)/lib/build-aux/mdate-sh \ $(top_srcdir)/lib/build-aux/texinfo.tex DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = cyclo $(am__append_1) EXTRA_DIST = gdoc \ controlflow.dia controlflow2.dia abstraction.dia \ gsasl.html gsasl.ps gsasl.pdf texinfo.css \ doxygen/Doxyfile.in doxygen/gdoc2doxygen info_TEXINFOS = gsasl.texi gsasl_TEXINFOS = fdl-1.3.texi $(gdoc_TEXINFOS) \ controlflow.eps controlflow.png controlflow.pdf \ controlflow2.eps controlflow2.png controlflow2.pdf \ abstraction.eps abstraction.png abstraction.pdf \ gsasl-callback-password.texi gsasl-callback-authorization.texi \ gsasl-callback-authentication.texi gsasl-callback-validate.texi \ gsasl-callback-retrieve.texi gsasl-callback-cram-md5.texi \ gsasl-callback-digest-md5.texi gsasl-callback-passcode.texi \ gsasl-callback-gssapi.texi gsasl-callback-securid.texi \ gsasl-callback-client-service.texi gsasl-callback-server-service.texi \ gsasl-api-error-labels.texi AM_CPPFLAGS = -I$(top_srcdir)/lib/src print_errors_LDADD = ../lib/src/libgsasl.la AM_MAKEINFOFLAGS = -I $(top_srcdir)/doc \ -I $(top_builddir)/doc -I $(top_srcdir)/examples TEXI2DVI = texi2dvi $(AM_MAKEINFOFLAGS) AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) \ --no-split --number-sections --css-include=texinfo.css dist_man_MANS = gsasl.1 $(gdoc_MANS) MAINTAINERCLEANFILES = $(dist_man_MANS) gdoc_MANS = man/gsasl_base64_to.3 man/gsasl_base64_from.3 \ man/gsasl_callback_set.3 man/gsasl_callback.3 \ man/gsasl_callback_hook_set.3 man/gsasl_callback_hook_get.3 \ man/gsasl_session_hook_set.3 man/gsasl_session_hook_get.3 \ man/gsasl_nonce.3 man/gsasl_random.3 man/gsasl_md5.3 \ man/gsasl_hmac_md5.3 man/gsasl_sha1.3 man/gsasl_hmac_sha1.3 \ man/gsasl_done.3 man/gsasl_strerror.3 \ man/gsasl_strerror_name.3 man/gsasl_free.3 man/gsasl_init.3 \ man/gsasl_client_mechlist.3 man/gsasl_server_mechlist.3 \ man/gsasl_simple_getpass.3 man/gsasl_mechanism_name.3 \ man/gsasl_client_listmech.3 man/gsasl_server_listmech.3 \ man/gsasl_client_step.3 man/gsasl_server_step.3 \ man/gsasl_client_step_base64.3 man/gsasl_server_step_base64.3 \ man/gsasl_client_finish.3 man/gsasl_server_finish.3 \ man/gsasl_client_ctx_get.3 \ man/gsasl_client_application_data_set.3 \ man/gsasl_client_application_data_get.3 \ man/gsasl_server_ctx_get.3 \ man/gsasl_server_application_data_set.3 \ man/gsasl_server_application_data_get.3 man/gsasl_randomize.3 \ man/gsasl_ctx_get.3 man/gsasl_encode_inline.3 \ man/gsasl_decode_inline.3 man/gsasl_application_data_set.3 \ man/gsasl_application_data_get.3 man/gsasl_appinfo_set.3 \ man/gsasl_appinfo_get.3 man/gsasl_server_suggest_mechanism.3 \ man/gsasl_client_callback_authentication_id_set.3 \ man/gsasl_client_callback_authentication_id_get.3 \ man/gsasl_client_callback_authorization_id_set.3 \ man/gsasl_client_callback_authorization_id_get.3 \ man/gsasl_client_callback_password_set.3 \ man/gsasl_client_callback_password_get.3 \ man/gsasl_client_callback_passcode_set.3 \ man/gsasl_client_callback_passcode_get.3 \ man/gsasl_client_callback_pin_set.3 \ man/gsasl_client_callback_pin_get.3 \ man/gsasl_client_callback_service_set.3 \ man/gsasl_client_callback_service_get.3 \ man/gsasl_client_callback_anonymous_set.3 \ man/gsasl_client_callback_anonymous_get.3 \ man/gsasl_client_callback_qop_set.3 \ man/gsasl_client_callback_qop_get.3 \ man/gsasl_client_callback_maxbuf_set.3 \ man/gsasl_client_callback_maxbuf_get.3 \ man/gsasl_client_callback_realm_set.3 \ man/gsasl_client_callback_realm_get.3 \ man/gsasl_server_callback_validate_set.3 \ man/gsasl_server_callback_validate_get.3 \ man/gsasl_server_callback_retrieve_set.3 \ man/gsasl_server_callback_retrieve_get.3 \ man/gsasl_server_callback_cram_md5_set.3 \ man/gsasl_server_callback_cram_md5_get.3 \ man/gsasl_server_callback_digest_md5_set.3 \ man/gsasl_server_callback_digest_md5_get.3 \ man/gsasl_server_callback_external_set.3 \ man/gsasl_server_callback_external_get.3 \ man/gsasl_server_callback_anonymous_set.3 \ man/gsasl_server_callback_anonymous_get.3 \ man/gsasl_server_callback_realm_set.3 \ man/gsasl_server_callback_realm_get.3 \ man/gsasl_server_callback_qop_set.3 \ man/gsasl_server_callback_qop_get.3 \ man/gsasl_server_callback_maxbuf_set.3 \ man/gsasl_server_callback_maxbuf_get.3 \ man/gsasl_server_callback_cipher_set.3 \ man/gsasl_server_callback_cipher_get.3 \ man/gsasl_server_callback_securid_set.3 \ man/gsasl_server_callback_securid_get.3 \ man/gsasl_server_callback_gssapi_set.3 \ man/gsasl_server_callback_gssapi_get.3 \ man/gsasl_server_callback_service_set.3 \ man/gsasl_server_callback_service_get.3 \ man/gsasl_stringprep_nfkc.3 man/gsasl_stringprep_saslprep.3 \ man/gsasl_stringprep_trace.3 man/gsasl_md5pwd_get_password.3 \ man/gsasl_base64_encode.3 man/gsasl_base64_decode.3 \ man/gsasl_property_set.3 man/gsasl_property_set_raw.3 \ man/gsasl_property_fast.3 man/gsasl_property_get.3 \ man/gsasl_register.3 man/gsasl_saslprep.3 \ man/gsasl_client_suggest_mechanism.3 \ man/gsasl_client_support_p.3 man/gsasl_server_support_p.3 \ man/gsasl_check_version.3 man/gsasl_encode.3 \ man/gsasl_decode.3 man/gsasl_finish.3 man/gsasl_client_start.3 \ man/gsasl_server_start.3 man/gsasl_step.3 man/gsasl_step64.3 gdoc_TEXINFOS = texi/base64.c.texi texi/callback.c.texi \ texi/crypto.c.texi texi/done.c.texi texi/doxygen.c.texi \ texi/error.c.texi texi/free.c.texi texi/init.c.texi \ texi/listmech.c.texi texi/md5pwd.c.texi texi/mechname.c.texi \ texi/mechtools.c.texi texi/obsolete.c.texi \ texi/property.c.texi texi/register.c.texi texi/saslprep.c.texi \ texi/suggest.c.texi texi/supportp.c.texi texi/version.c.texi \ texi/xcode.c.texi texi/xfinish.c.texi texi/xstart.c.texi \ texi/xstep.c.texi texi/gsasl_base64_to.texi \ texi/gsasl_base64_from.texi texi/gsasl_callback_set.texi \ texi/gsasl_callback.texi texi/gsasl_callback_hook_set.texi \ texi/gsasl_callback_hook_get.texi \ texi/gsasl_session_hook_set.texi \ texi/gsasl_session_hook_get.texi texi/gsasl_nonce.texi \ texi/gsasl_random.texi texi/gsasl_md5.texi \ texi/gsasl_hmac_md5.texi texi/gsasl_sha1.texi \ texi/gsasl_hmac_sha1.texi texi/gsasl_done.texi \ texi/gsasl_strerror.texi texi/gsasl_strerror_name.texi \ texi/gsasl_free.texi texi/gsasl_init.texi \ texi/gsasl_client_mechlist.texi \ texi/gsasl_server_mechlist.texi texi/gsasl_simple_getpass.texi \ texi/gsasl_mechanism_name.texi texi/gsasl_client_listmech.texi \ texi/gsasl_server_listmech.texi texi/gsasl_client_step.texi \ texi/gsasl_server_step.texi texi/gsasl_client_step_base64.texi \ texi/gsasl_server_step_base64.texi \ texi/gsasl_client_finish.texi texi/gsasl_server_finish.texi \ texi/gsasl_client_ctx_get.texi \ texi/gsasl_client_application_data_set.texi \ texi/gsasl_client_application_data_get.texi \ texi/gsasl_server_ctx_get.texi \ texi/gsasl_server_application_data_set.texi \ texi/gsasl_server_application_data_get.texi \ texi/gsasl_randomize.texi texi/gsasl_ctx_get.texi \ texi/gsasl_encode_inline.texi texi/gsasl_decode_inline.texi \ texi/gsasl_application_data_set.texi \ texi/gsasl_application_data_get.texi \ texi/gsasl_appinfo_set.texi texi/gsasl_appinfo_get.texi \ texi/gsasl_server_suggest_mechanism.texi \ texi/gsasl_client_callback_authentication_id_set.texi \ texi/gsasl_client_callback_authentication_id_get.texi \ texi/gsasl_client_callback_authorization_id_set.texi \ texi/gsasl_client_callback_authorization_id_get.texi \ texi/gsasl_client_callback_password_set.texi \ texi/gsasl_client_callback_password_get.texi \ texi/gsasl_client_callback_passcode_set.texi \ texi/gsasl_client_callback_passcode_get.texi \ texi/gsasl_client_callback_pin_set.texi \ texi/gsasl_client_callback_pin_get.texi \ texi/gsasl_client_callback_service_set.texi \ texi/gsasl_client_callback_service_get.texi \ texi/gsasl_client_callback_anonymous_set.texi \ texi/gsasl_client_callback_anonymous_get.texi \ texi/gsasl_client_callback_qop_set.texi \ texi/gsasl_client_callback_qop_get.texi \ texi/gsasl_client_callback_maxbuf_set.texi \ texi/gsasl_client_callback_maxbuf_get.texi \ texi/gsasl_client_callback_realm_set.texi \ texi/gsasl_client_callback_realm_get.texi \ texi/gsasl_server_callback_validate_set.texi \ texi/gsasl_server_callback_validate_get.texi \ texi/gsasl_server_callback_retrieve_set.texi \ texi/gsasl_server_callback_retrieve_get.texi \ texi/gsasl_server_callback_cram_md5_set.texi \ texi/gsasl_server_callback_cram_md5_get.texi \ texi/gsasl_server_callback_digest_md5_set.texi \ texi/gsasl_server_callback_digest_md5_get.texi \ texi/gsasl_server_callback_external_set.texi \ texi/gsasl_server_callback_external_get.texi \ texi/gsasl_server_callback_anonymous_set.texi \ texi/gsasl_server_callback_anonymous_get.texi \ texi/gsasl_server_callback_realm_set.texi \ texi/gsasl_server_callback_realm_get.texi \ texi/gsasl_server_callback_qop_set.texi \ texi/gsasl_server_callback_qop_get.texi \ texi/gsasl_server_callback_maxbuf_set.texi \ texi/gsasl_server_callback_maxbuf_get.texi \ texi/gsasl_server_callback_cipher_set.texi \ texi/gsasl_server_callback_cipher_get.texi \ texi/gsasl_server_callback_securid_set.texi \ texi/gsasl_server_callback_securid_get.texi \ texi/gsasl_server_callback_gssapi_set.texi \ texi/gsasl_server_callback_gssapi_get.texi \ texi/gsasl_server_callback_service_set.texi \ texi/gsasl_server_callback_service_get.texi \ texi/gsasl_stringprep_nfkc.texi \ texi/gsasl_stringprep_saslprep.texi \ texi/gsasl_stringprep_trace.texi \ texi/gsasl_md5pwd_get_password.texi \ texi/gsasl_base64_encode.texi texi/gsasl_base64_decode.texi \ texi/gsasl_property_set.texi texi/gsasl_property_set_raw.texi \ texi/gsasl_property_fast.texi texi/gsasl_property_get.texi \ texi/gsasl_register.texi texi/gsasl_saslprep.texi \ texi/gsasl_client_suggest_mechanism.texi \ texi/gsasl_client_support_p.texi \ texi/gsasl_server_support_p.texi texi/gsasl_check_version.texi \ texi/gsasl_encode.texi texi/gsasl_decode.texi \ texi/gsasl_finish.texi texi/gsasl_client_start.texi \ texi/gsasl_server_start.texi texi/gsasl_step.texi \ texi/gsasl_step64.texi GDOC_SRC = $(top_srcdir)/lib/src/*.c all: all-recursive .SUFFIXES: .SUFFIXES: .c .dia .dvi .eps .html .info .lo .o .obj .pdf .png .ps .texi $(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 doc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/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): 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 print-errors$(EXEEXT): $(print_errors_OBJECTS) $(print_errors_DEPENDENCIES) $(EXTRA_print_errors_DEPENDENCIES) @rm -f print-errors$(EXEEXT) $(AM_V_CCLD)$(LINK) $(print_errors_OBJECTS) $(print_errors_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/print-errors.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 .texi.info: $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \ am__cwd=`pwd` && $(am__cd) $(srcdir) && \ rm -rf $$backupdir && mkdir $$backupdir && \ if ($(MAKEINFO) --version) >/dev/null 2>&1; then \ for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$$am__cwd"; \ if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ -o $@ $<; \ then \ rc=0; \ $(am__cd) $(srcdir); \ else \ rc=$$?; \ $(am__cd) $(srcdir) && \ $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ fi; \ rm -rf $$backupdir; exit $$rc .texi.dvi: $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \ $< .texi.pdf: $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \ $< .texi.html: $(AM_V_MAKEINFO)rm -rf $(@:.html=.htp) $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ -o $(@:.html=.htp) $<; \ then \ rm -rf $@ && mv $(@:.html=.htp) $@; \ else \ rm -rf $(@:.html=.htp); exit 1; \ fi $(srcdir)/gsasl.info: gsasl.texi $(srcdir)/version.texi $(gsasl_TEXINFOS) gsasl.dvi: gsasl.texi $(srcdir)/version.texi $(gsasl_TEXINFOS) gsasl.pdf: gsasl.texi $(srcdir)/version.texi $(gsasl_TEXINFOS) gsasl.html: gsasl.texi $(srcdir)/version.texi $(gsasl_TEXINFOS) $(srcdir)/version.texi: $(srcdir)/stamp-vti $(srcdir)/stamp-vti: gsasl.texi $(top_srcdir)/configure @(dir=.; test -f ./gsasl.texi || dir=$(srcdir); \ set `$(SHELL) $(top_srcdir)/lib/build-aux/mdate-sh $$dir/gsasl.texi`; \ echo "@set UPDATED $$1 $$2 $$3"; \ echo "@set UPDATED-MONTH $$2 $$3"; \ echo "@set EDITION $(VERSION)"; \ echo "@set VERSION $(VERSION)") > vti.tmp$$$$ && \ (cmp -s vti.tmp$$$$ $(srcdir)/version.texi \ || (echo "Updating $(srcdir)/version.texi" && \ cp vti.tmp$$$$ $(srcdir)/version.texi.tmp$$$$ && \ mv $(srcdir)/version.texi.tmp$$$$ $(srcdir)/version.texi)) && \ rm -f vti.tmp$$$$ $(srcdir)/version.texi.$$$$ @cp $(srcdir)/version.texi $@ mostlyclean-vti: -rm -f vti.tmp* $(srcdir)/version.texi.tmp* maintainer-clean-vti: -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi .dvi.ps: $(AM_V_DVIPS)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ $(DVIPS) $(AM_V_texinfo) -o $@ $< uninstall-dvi-am: @$(NORMAL_UNINSTALL) @list='$(DVIS)'; test -n "$(dvidir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \ rm -f "$(DESTDIR)$(dvidir)/$$f"; \ done uninstall-html-am: @$(NORMAL_UNINSTALL) @list='$(HTMLS)'; test -n "$(htmldir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \ rm -rf "$(DESTDIR)$(htmldir)/$$f"; \ done uninstall-info-am: @$(PRE_UNINSTALL) @if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \ if install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \ then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1; fi; \ done; \ else :; fi @$(NORMAL_UNINSTALL) @list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ (if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \ echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \ rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ else :; fi); \ done uninstall-pdf-am: @$(NORMAL_UNINSTALL) @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \ rm -f "$(DESTDIR)$(pdfdir)/$$f"; \ done uninstall-ps-am: @$(NORMAL_UNINSTALL) @list='$(PSS)'; test -n "$(psdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \ rm -f "$(DESTDIR)$(psdir)/$$f"; \ done dist-info: $(INFO_DEPS) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ list='$(INFO_DEPS)'; \ for base in $$list; do \ case $$base in \ $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \ esac; \ if test -f $$base; then d=.; else d=$(srcdir); fi; \ base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \ for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \ if test -f $$file; then \ relfile=`expr "$$file" : "$$d/\(.*\)"`; \ test -f "$(distdir)/$$relfile" || \ cp -p $$file "$(distdir)/$$relfile"; \ else :; fi; \ done; \ done mostlyclean-aminfo: -rm -rf gsasl.t2d gsasl.t2p clean-aminfo: -test -z "gsasl.dvi gsasl.pdf gsasl.ps gsasl.html" \ || rm -rf gsasl.dvi gsasl.pdf gsasl.ps gsasl.html maintainer-clean-aminfo: @list='$(INFO_DEPS)'; for i in $$list; do \ i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \ echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \ rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \ done install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-man3: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man3dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.3[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \ done; } uninstall-man3: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man3dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.3[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man3dir)'; $(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" 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 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 @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-info check-am: all-am check: check-recursive all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"; 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." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-aminfo clean-generic clean-libtool \ clean-noinstPROGRAMS mostlyclean-am distclean: distclean-recursive -rm -f ./$(DEPDIR)/print-errors.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: $(DVIS) html: html-recursive html-am: $(HTMLS) info: info-recursive info-am: $(INFO_DEPS) install-data-am: install-info-am install-man install-dvi: install-dvi-recursive install-dvi-am: $(DVIS) @$(NORMAL_INSTALL) @list='$(DVIS)'; test -n "$(dvidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(dvidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(dvidir)" || 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)$(dvidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \ done install-exec-am: install-html: install-html-recursive install-html-am: $(HTMLS) @$(NORMAL_INSTALL) @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \ $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \ $(am__strip_dir) \ d2=$$d$$p; \ if test -d "$$d2"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \ $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \ $(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ else \ list2="$$list2 $$d2"; \ fi; \ done; \ test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \ done; } install-info: install-info-recursive install-info-am: $(INFO_DEPS) @$(NORMAL_INSTALL) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \ $(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \ fi; \ for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ esac; \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \ for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ if test -f $$ifile; then \ echo "$$ifile"; \ else : ; fi; \ done; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done @$(POST_INSTALL) @if $(am__can_run_installinfo); then \ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\ install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\ done; \ else : ; fi install-man: install-man1 install-man3 install-pdf: install-pdf-recursive install-pdf-am: $(PDFS) @$(NORMAL_INSTALL) @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pdfdir)" || 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)$(pdfdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done install-ps: install-ps-recursive install-ps-am: $(PSS) @$(NORMAL_INSTALL) @list='$(PSS)'; test -n "$(psdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(psdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(psdir)" || 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)$(psdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f ./$(DEPDIR)/print-errors.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-aminfo \ maintainer-clean-generic maintainer-clean-vti mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool mostlyclean-vti pdf: pdf-recursive pdf-am: $(PDFS) ps: ps-recursive ps-am: $(PSS) uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \ uninstall-man uninstall-pdf-am uninstall-ps-am uninstall-man: uninstall-man1 uninstall-man3 .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--depfiles check check-am clean clean-aminfo clean-generic \ clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \ ctags-am dist-info distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install 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-man1 \ install-man3 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-aminfo maintainer-clean-generic \ maintainer-clean-vti mostlyclean mostlyclean-aminfo \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ mostlyclean-vti pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-dvi-am uninstall-html-am \ uninstall-info-am uninstall-man uninstall-man1 uninstall-man3 \ uninstall-pdf-am uninstall-ps-am .PRECIOUS: Makefile .dia.png: $(DIA) --export=$@ --export-to-format=png $< .dia.eps: $(DIA) --export=$@ --export-to-format=eps $< .eps.pdf: $(EPSTOPDF) $< gsasl-api-error-labels.texi: $(top_srcdir)/lib/src/error.c print-errors.c make print-errors$(EXEEXT) $(builddir)/print-errors$(EXEEXT) > $@.new mv $@.new $@ gsasl.1: $(top_srcdir)/src/gsasl.c $(top_srcdir)/src/gsasl.ggo \ $(top_srcdir)/configure.ac $(HELP2MAN) \ --name="SASL library command line interface" \ --output=$@ $(top_builddir)/src/gsasl$(EXEEXT) $(gdoc_MANS) $(gdoc_TEXINFOS): make update-makefile make Makefile make doit update-makefile: MANS=""; \ TEXINFOS=""; \ for i in $(GDOC_SRC); do \ BASE=`basename $$i`; \ TEXINFOS="$$TEXINFOS\ngdoc_TEXINFOS += texi/$$BASE.texi"; \ done; \ FUNCS=`$(srcdir)/gdoc -listfunc $(GDOC_SRC)`; \ for i in $$FUNCS; do \ MANS="$$MANS\ngdoc_MANS += man/$$i.3"; \ TEXINFOS="$$TEXINFOS\ngdoc_TEXINFOS += texi/$$i.texi"; \ done; \ grep -v -e '^gdoc_MANS += ' -e '^gdoc_TEXINFOS += ' Makefile.am | \ perl -p -e "s,^gdoc_MANS =,gdoc_MANS =$$MANS," | \ perl -p -e "s,^gdoc_TEXINFOS =,gdoc_TEXINFOS =$$TEXINFOS,;" \ > Makefile.am.new && \ mv Makefile.am.new Makefile.am doit: @$(mkdir_p) man texi; \ echo -n "Creating function documentation" && \ for i in `$(srcdir)/gdoc -listfunc $(GDOC_SRC)`; do \ $(srcdir)/gdoc -man \ -module $(PACKAGE) \ -sourceversion $(VERSION) \ -bugsto $(PACKAGE_BUGREPORT) \ -pkg-name "$(PACKAGE_NAME)" \ -includefuncprefix \ -seeinfo $(PACKAGE) -verbatimcopying \ -copyright "2002-2019 Simon Josefsson" \ -function $$i \ $(GDOC_SRC) > man/$$i.3 && \ $(srcdir)/gdoc -texinfo -function $$i \ $(GDOC_SRC) > texi/$$i.texi && \ echo -n "."; \ done; \ echo ""; \ echo -n "Creating file documentation" && \ for i in $(GDOC_SRC); do \ BASE=`basename $$i`; \ $(srcdir)/gdoc -texinfo $$i > texi/$$BASE.texi && \ echo -n "."; \ done; \ echo "" .PHONY: update-makefile doit # 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: gsasl-1.8.1/doc/controlflow.eps0000664000000000000000000032611211746471770013374 00000000000000%!PS-Adobe-2.0 EPSF-2.0 %%Title: doc/controlflow.dia %%Creator: Dia v0.94 %%CreationDate: Sun Oct 31 20:54:21 2004 %%For: jas %%Orientation: Portrait %%Magnification: 1.0000 %%BoundingBox: 0 0 1449 470 %%BeginSetup %%EndSetup %%EndComments %%BeginProlog [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /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 /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /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 /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def /cp {closepath} bind def /c {curveto} bind def /f {fill} bind def /a {arc} bind def /ef {eofill} bind def /ex {exch} bind def /gr {grestore} bind def /gs {gsave} bind def /sa {save} bind def /rs {restore} bind def /l {lineto} bind def /m {moveto} bind def /rm {rmoveto} bind def /n {newpath} bind def /s {stroke} bind def /sh {show} bind def /slc {setlinecap} bind def /slj {setlinejoin} bind def /slw {setlinewidth} bind def /srgb {setrgbcolor} bind def /rot {rotate} bind def /sc {scale} bind def /sd {setdash} bind def /ff {findfont} bind def /sf {setfont} bind def /scf {scalefont} bind def /sw {stringwidth pop} bind def /tr {translate} bind def /ellipsedict 8 dict def ellipsedict /mtrx matrix put /ellipse { ellipsedict begin /endangle exch def /startangle exch def /yrad exch def /xrad exch def /y exch def /x exch def /savematrix mtrx currentmatrix def x y tr xrad yrad sc 0 0 1 startangle endangle arc savematrix setmatrix end } def /mergeprocs { dup length 3 -1 roll dup length dup 5 1 roll 3 -1 roll add array cvx dup 3 -1 roll 0 exch putinterval dup 4 2 roll putinterval } bind def /dpi_x 300 def /dpi_y 300 def /conicto { /to_y exch def /to_x exch def /conic_cntrl_y exch def /conic_cntrl_x exch def currentpoint /p0_y exch def /p0_x exch def /p1_x p0_x conic_cntrl_x p0_x sub 2 3 div mul add def /p1_y p0_y conic_cntrl_y p0_y sub 2 3 div mul add def /p2_x p1_x to_x p0_x sub 1 3 div mul add def /p2_y p1_y to_y p0_y sub 1 3 div mul add def p1_x p1_y p2_x p2_y to_x to_y curveto } bind def /start_ol { gsave 1.1 dpi_x div dup scale} bind def /end_ol { closepath fill grestore } bind def 28.346000 -28.346000 scale 19.050000 -23.500000 translate %%EndProlog 1.000000 1.000000 1.000000 srgb n -17.000000 7.000000 m -17.000000 18.000000 l 30.000000 18.000000 l 30.000000 7.000000 l f n -17.000000 9.000000 m -17.000000 9.000000 2.000000 2.000000 180.000000 270.000000 ellipse f n 30.000000 9.000000 m 30.000000 9.000000 2.000000 2.000000 270.000000 360.000000 ellipse f n -19.000000 9.000000 m -19.000000 16.000000 l 32.000000 16.000000 l 32.000000 9.000000 l f n -17.000000 16.000000 m -17.000000 16.000000 2.000000 2.000000 90.000000 180.000000 ellipse f n 30.000000 16.000000 m 30.000000 16.000000 2.000000 2.000000 0.000000 90.000000 ellipse f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -17.000000 7.000000 m 30.000000 7.000000 l s n -17.000000 18.000000 m 30.000000 18.000000 l s n -17.000000 9.000000 2.000000 2.000000 180.000000 270.000000 ellipse s n 30.000000 9.000000 2.000000 2.000000 270.000000 360.000000 ellipse s n -19.000000 9.000000 m -19.000000 16.000000 l s n 32.000000 9.000000 m 32.000000 16.000000 l s n -17.000000 16.000000 2.000000 2.000000 90.000000 180.000000 ellipse s n 30.000000 16.000000 2.000000 2.000000 0.000000 90.000000 ellipse s 1.000000 1.000000 1.000000 srgb n -18.475000 11.017700 m -18.475000 15.067700 l -12.125000 15.067700 l -12.125000 11.017700 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -18.475000 11.017700 m -18.475000 15.067700 l -12.125000 15.067700 l -12.125000 11.017700 l cp s gsave -17.899267 12.842700 translate 0.035278 -0.035278 scale start_ol 1088 4160 moveto 576 4160 lineto 576 0 lineto 1088 0 lineto 1088 4160 lineto end_ol grestore gsave -17.687600 12.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -17.264267 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -17.094933 12.842700 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -16.883267 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -16.713933 12.842700 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -16.290600 12.842700 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -16.121267 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -15.951933 12.842700 translate 0.035278 -0.035278 scale start_ol 2501 3008 moveto 294 3008 lineto 294 2589 lineto 1942 2589 lineto 175 430 lineto 175 0 lineto 2580 0 lineto 2580 419 lineto 745 419 lineto 2501 2583 lineto 2501 3008 lineto end_ol grestore gsave -15.570933 12.842700 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave -15.147600 12.842700 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -14.935933 12.842700 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -14.766600 12.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -14.597267 12.842700 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave -14.173933 12.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -13.919933 12.842700 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -13.496600 12.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -13.242600 12.842700 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave -12.861600 12.842700 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave -17.962767 13.842700 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave -17.539433 13.842700 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -17.158433 13.842700 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -16.735100 13.842700 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -16.354100 13.842700 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -16.184767 13.842700 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave -15.761433 13.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -15.592100 13.842700 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave -15.168767 13.842700 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -14.999433 13.842700 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -14.787767 13.842700 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave -14.533767 13.842700 translate 0.035278 -0.035278 scale start_ol 2752 1938 moveto 2752 1746 2694 1489 2596 1302 curveto 1849 2173 lineto 2433 2493 2624 2726 2624 3117 curveto 2624 3616 2246 3968 1718 3968 curveto 1190 3968 768 3593 768 3116 curveto 768 2861 872 2654 1211 2231 curveto 529 1841 320 1570 320 1078 curveto 320 428 775 0 1458 0 curveto 1730 0 1991 73 2191 204 curveto 2307 277 2407 362 2618 571 curveto 2948 0 lineto 3561 0 lineto 2875 961 lineto 3082 1265 3200 1618 3200 1938 curveto 2752 1938 lineto 1604 2455 moveto 1266 2829 1216 2920 1216 3107 curveto 1216 3384 1405 3566 1693 3566 curveto 1971 3566 2176 3374 2176 3112 curveto 2176 2872 2037 2717 1604 2455 curveto 2346 886 moveto 2033 571 1792 448 1501 448 curveto 1098 448 768 758 768 1132 curveto 768 1431 943 1644 1455 1954 curveto 2346 886 lineto end_ol grestore gsave -14.025767 13.842700 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -13.644767 13.842700 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -13.433100 13.842700 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave -13.052100 13.842700 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave -12.798100 13.842700 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n -12.125000 13.042700 m -10.486801 13.048328 l s [] 0 sd 0 slj 0 slc n -10.111803 13.049616 m -10.612659 13.297897 l -10.486801 13.048328 l -10.610941 12.797900 l ef n -10.111803 13.049616 m -10.612659 13.297897 l -10.486801 13.048328 l -10.610941 12.797900 l cp s 1.000000 1.000000 1.000000 srgb n 10.000000 9.000000 m 10.000000 17.100000 l 22.000000 17.100000 l 22.000000 9.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 10.000000 9.000000 m 10.000000 17.100000 l 22.000000 17.100000 l 22.000000 9.000000 l cp s gsave 12.935067 10.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2333 1792 lineto 2665 1792 2927 1888 3153 2085 curveto 3409 2311 3520 2576 3520 2953 curveto 3520 3726 3057 4160 2233 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2133 3689 lineto 2641 3689 2944 3417 2944 2965 curveto 2944 2512 2641 2240 2133 2240 curveto 1024 2240 lineto end_ol grestore gsave 13.443067 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 13.697067 10.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 14.120400 10.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 14.501400 10.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.924733 10.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 15.305733 10.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 15.686733 10.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.898400 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 16.533400 10.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 16.956733 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.380067 10.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 17.803400 10.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 18.226733 10.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 18.650067 10.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 18.904067 10.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave 14.509867 12.350000 translate 0.035278 -0.035278 scale start_ol 2618 0 moveto 3776 3487 lineto 3776 0 lineto 4224 0 lineto 4224 4160 lineto 3544 4160 lineto 2347 536 lineto 1128 4160 lineto 448 4160 lineto 448 0 lineto 896 0 lineto 896 3487 lineto 2065 0 lineto 2618 0 lineto end_ol grestore gsave 15.144867 12.350000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 15.568200 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 15.737533 12.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 15.949200 12.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 16.118533 12.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 16.541867 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 16.711200 12.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 17.134533 12.350000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 17.515533 12.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 13.303367 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 13.684367 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.107700 13.350000 translate 0.035278 -0.035278 scale start_ol 1609 0 moveto 2743 3008 lineto 2213 3008 lineto 1377 568 lineto 587 3008 lineto 56 3008 lineto 1095 0 lineto 1609 0 lineto end_ol grestore gsave 14.488700 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.912033 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 15.166033 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 15.589367 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 15.758700 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.970367 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 16.351367 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 16.520700 13.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 16.690033 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 17.113367 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.536700 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 17.748367 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 18.129367 13.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.341033 13.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.552700 13.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 15.191433 14.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 15.445433 14.350000 translate 0.035278 -0.035278 scale start_ol 2170 4160 moveto 992 4160 192 3321 192 2080 curveto 192 839 992 0 2176 0 curveto 2672 0 3117 147 3450 419 curveto 3895 784 4160 1399 4160 2047 curveto 4160 3327 3377 4160 2170 4160 curveto 2170 3689 moveto 3068 3689 3648 3045 3648 2059 curveto 3648 1115 3051 471 2176 471 curveto 1295 471 704 1115 704 2080 curveto 704 3045 1295 3689 2170 3689 curveto end_ol grestore gsave 16.038100 14.350000 translate 0.035278 -0.035278 scale start_ol 1024 1792 moveto 2432 1792 lineto 2919 1792 3136 1564 3136 1050 curveto 3072 679 lineto 3072 422 3118 171 3194 0 curveto 3712 0 lineto 3712 131 lineto 3552 268 3520 416 3520 970 curveto 3520 1648 3423 1851 3021 2043 curveto 3514 2272 3712 2565 3712 3041 curveto 3712 3764 3259 4160 2439 4160 curveto 512 4160 lineto 512 0 lineto 1024 0 lineto 1024 1792 lineto 1024 2240 moveto 1024 3689 lineto 2315 3689 lineto 2614 3689 2786 3643 2918 3527 curveto 3061 3406 3136 3216 3136 2962 curveto 3136 2465 2883 2240 2315 2240 curveto 1024 2240 lineto end_ol grestore gsave 16.588433 14.350000 translate 0.035278 -0.035278 scale start_ol 1603 1856 moveto 260 1856 lineto 260 1408 lineto 1603 1408 lineto 1603 1856 lineto end_ol grestore gsave 13.235633 15.350000 translate 0.035278 -0.035278 scale start_ol 2676 1280 moveto 3099 0 lineto 3686 0 lineto 2241 4160 lineto 1564 4160 lineto 96 0 lineto 655 0 lineto 1089 1280 lineto 2676 1280 lineto 2529 1728 moveto 1219 1728 lineto 1897 3597 lineto 2529 1728 lineto end_ol grestore gsave 13.743633 15.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 14.124633 15.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 14.505633 15.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.928967 15.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 15.352300 15.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 15.563967 15.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.775633 15.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 15.944967 15.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 16.368300 15.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 16.749300 15.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 17.172633 15.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.807633 15.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 17.976967 15.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 18.400300 15.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 13.070533 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 13.451533 16.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 13.874867 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 14.128867 16.350000 translate 0.035278 -0.035278 scale start_ol 1609 0 moveto 2743 3008 lineto 2213 3008 lineto 1377 568 lineto 587 3008 lineto 56 3008 lineto 1095 0 lineto 1609 0 lineto end_ol grestore gsave 14.509867 16.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 14.933200 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 15.187200 16.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 15.398867 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 15.779867 16.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 16.203200 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.584200 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 16.965200 16.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave 17.134533 16.350000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 17.557867 16.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 17.981200 16.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 18.362200 16.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.573867 16.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 18.785533 16.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 7.200000 13.050000 m 9.513197 13.050000 l s [] 0 sd 0 slj 0 slc n 9.888197 13.050000 m 9.388197 13.300000 l 9.513197 13.050000 l 9.388197 12.800000 l ef n 9.888197 13.050000 m 9.388197 13.300000 l 9.513197 13.050000 l 9.388197 12.800000 l cp s 1.000000 1.000000 1.000000 srgb n 24.000000 11.000000 m 24.000000 15.100000 l 30.750000 15.100000 l 30.750000 11.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n 24.000000 11.000000 m 24.000000 15.100000 l 30.750000 15.100000 l 30.750000 11.000000 l cp s gsave 25.978000 12.850000 translate 0.035278 -0.035278 scale start_ol 3709 2852 moveto 3546 3731 3029 4160 2129 4160 curveto 1578 4160 1133 3991 830 3665 curveto 458 3272 256 2706 256 2064 curveto 256 1410 464 849 852 463 curveto 1167 147 1572 0 2107 0 curveto 3108 0 3670 525 3794 1581 curveto 3252 1581 lineto 3207 1313 3150 1131 3066 975 curveto 2896 653 2546 471 2106 471 curveto 1287 471 768 1093 768 2069 curveto 768 3072 1265 3689 2061 3689 curveto 2394 3689 2704 3592 2874 3442 curveto 3026 3308 3111 3142 3173 2852 curveto 3709 2852 lineto end_ol grestore gsave 26.528333 12.850000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 26.697667 12.850000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 27.121000 12.850000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 27.544333 12.850000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 27.967667 12.850000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 28.391000 12.850000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 24.500567 13.850000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave 24.923900 13.850000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 25.304900 13.850000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 25.728233 13.850000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave 26.109233 13.850000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave 26.278567 13.850000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 26.701900 13.850000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 27.125233 13.850000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 27.548567 13.850000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 27.971900 13.850000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 28.395233 13.850000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 28.606900 13.850000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 28.860900 13.850000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 29.241900 13.850000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 29.453567 13.850000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 29.834567 13.850000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 30.088567 13.850000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slc n 22.000000 13.050000 m 23.513197 13.050000 l s [] 0 sd 0 slj 0 slc n 23.888197 13.050000 m 23.388197 13.300000 l 23.513197 13.050000 l 23.388197 12.800000 l ef n 23.888197 13.050000 m 23.388197 13.300000 l 23.513197 13.050000 l 23.388197 12.800000 l cp s gsave -17.000000 9.000000 translate 0.035278 -0.035278 scale start_ol 7633 5752 moveto 7300 7521 6242 8384 4403 8384 curveto 3277 8384 2369 8044 1748 7385 curveto 990 6595 576 5454 576 4159 curveto 576 2842 1001 1712 1794 933 curveto 2438 296 3265 0 4357 0 curveto 6402 0 7551 1058 7804 3184 curveto 6705 3184 lineto 6613 2642 6499 2274 6327 1960 curveto 5983 1309 5273 941 4379 941 curveto 2718 941 1664 2198 1664 4170 curveto 1664 6197 2672 7443 4287 7443 curveto 4963 7443 5593 7248 5937 6944 curveto 6246 6673 6418 6337 6544 5752 curveto 7633 5752 lineto end_ol grestore gsave -15.907800 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave -15.061133 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave -14.214467 9.000000 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave -13.791133 9.000000 translate 0.035278 -0.035278 scale start_ol 768 6016 moveto 768 0 lineto 1728 0 lineto 1728 3026 lineto 1728 3860 1946 4405 2404 4728 curveto 2702 4939 2988 5006 3653 5006 curveto 3653 6016 lineto 3494 6016 3414 6016 3289 6016 curveto 2676 6016 2210 5654 1664 4772 curveto 1664 6016 lineto 768 6016 lineto end_ol grestore gsave -13.283133 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave -12.436467 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -12.097800 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -11.674467 9.000000 translate 0.035278 -0.035278 scale start_ol 2981 6016 moveto 1984 6016 lineto 1984 6945 lineto 1984 7342 2213 7546 2648 7546 curveto 2729 7546 2763 7546 2981 7546 curveto 2981 8327 lineto 2762 8373 2636 8384 2440 8384 curveto 1554 8384 1024 7884 1024 7032 curveto 1024 6016 lineto 222 6016 lineto 222 5235 lineto 1024 5235 lineto 1024 0 lineto 1984 0 lineto 1984 5235 lineto 2981 5235 lineto 2981 6016 lineto end_ol grestore gsave -11.251133 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -10.912467 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave -10.065800 9.000000 translate 0.035278 -0.035278 scale start_ol 6347 0 moveto 8111 6016 lineto 7034 6016 lineto 5843 1332 lineto 4663 6016 lineto 3494 6016 lineto 2348 1332 lineto 1123 6016 lineto 69 6016 lineto 1810 0 lineto 2887 0 lineto 4044 4719 lineto 5258 0 lineto 6347 0 lineto end_ol grestore gsave -8.973600 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -8.550267 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -8.211600 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore gsave -7.364933 9.000000 translate 0.035278 -0.035278 scale start_ol 5312 4257 moveto 5312 5382 4475 6016 2986 6016 curveto 1484 6016 512 5349 512 4323 curveto 512 3455 1000 3043 2441 2725 curveto 3347 2524 lineto 4021 2376 4288 2154 4288 1752 curveto 4288 1233 3721 884 2876 884 curveto 2355 884 1916 1019 1673 1248 curveto 1522 1405 1453 1561 1395 1946 curveto 512 1946 lineto 512 631 1287 0 2849 0 curveto 4354 0 5312 688 5312 1757 curveto 5312 2582 4801 3037 3592 3301 curveto 2663 3502 lineto 1873 3672 1536 3905 1536 4296 curveto 1536 4804 2089 5132 2963 5132 curveto 3825 5132 4288 4830 4288 4257 curveto 5312 4257 lineto end_ol grestore gsave -6.602933 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -6.264267 9.000000 translate 0.035278 -0.035278 scale start_ol 5696 8384 moveto 4736 8384 lineto 4736 5089 lineto 4336 5696 3695 6016 2894 6016 curveto 1338 6016 320 4849 320 3062 curveto 320 1167 1293 0 2869 0 curveto 3674 0 4233 306 4736 1042 curveto 4736 0 lineto 5696 0 lineto 5696 8384 lineto 3068 5120 moveto 4089 5120 4736 4288 4736 2987 curveto 4736 1728 4078 896 3080 896 curveto 2036 896 1344 1739 1344 3008 curveto 1344 4277 2036 5120 3068 5120 curveto end_ol grestore gsave -5.417600 9.000000 translate 0.035278 -0.035278 scale start_ol 5727 2688 moveto 5727 3561 5660 4085 5493 4510 curveto 5113 5449 4220 6016 3127 6016 curveto 1497 6016 448 4817 448 2976 curveto 448 1135 1463 0 3103 0 curveto 4441 0 5367 723 5601 1936 curveto 4639 1936 lineto 4383 1245 3859 884 3113 884 curveto 2522 884 2021 1125 1709 1566 curveto 1486 1866 1408 2167 1408 2688 curveto 5727 2688 lineto 1408 3456 moveto 1408 4472 2084 5132 3046 5132 curveto 3985 5132 4707 4420 4707 3519 curveto 4707 3498 4707 3477 4696 3456 curveto 1408 3456 lineto end_ol grestore gsave -4.570933 9.000000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -4.147600 9.000000 translate 0.035278 -0.035278 scale start_ol 6162 827 moveto 6059 804 6013 804 5956 804 curveto 5623 804 5440 961 5440 1234 curveto 5440 4444 lineto 5440 5466 4613 6016 3043 6016 curveto 2118 6016 1352 5776 926 5351 curveto 634 5057 512 4730 512 4163 curveto 1762 4163 lineto 1841 4830 2272 5132 3155 5132 curveto 4004 5132 4480 4836 4480 4307 curveto 4480 4074 lineto 4480 3704 4240 3545 3485 3460 curveto 2136 3301 1930 3259 1564 3122 curveto 866 2857 512 2360 512 1640 curveto 512 635 1267 0 2479 0 curveto 3234 0 3840 263 4515 880 curveto 4584 274 4884 0 5506 0 curveto 5701 0 5851 23 6162 103 curveto 6162 827 lineto 4480 2036 moveto 4480 1745 4389 1567 4106 1328 curveto 3721 1005 3257 838 2702 838 curveto 1966 838 1536 1161 1536 1713 curveto 1536 2287 1955 2578 2963 2714 curveto 3959 2839 4163 2881 4480 3016 curveto 4480 2036 lineto end_ol grestore gsave -3.300933 9.000000 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -2.454267 9.000000 translate 0.035278 -0.035278 scale start_ol 640 -2239 moveto 1600 -2239 lineto 1600 896 lineto 2105 276 2667 0 3447 0 curveto 4995 0 6016 1167 6016 2954 curveto 6016 4838 5033 6016 3445 6016 curveto 2633 6016 1982 5654 1536 4954 curveto 1536 6016 lineto 640 6016 lineto 640 -2239 lineto 3262 5120 moveto 4309 5120 4992 4277 4992 2977 curveto 4992 1739 4298 896 3262 896 curveto 2260 896 1600 1728 1600 3008 curveto 1600 4288 2260 5120 3262 5120 curveto end_ol grestore gsave -1.607600 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 8384 moveto 768 8384 lineto 768 0 lineto 1728 0 lineto 1728 8384 lineto end_ol grestore gsave -1.268933 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave -0.930267 9.000000 translate 0.035278 -0.035278 scale start_ol 5452 3945 moveto 5406 4498 5279 4856 5049 5170 curveto 4634 5702 3909 6016 3068 6016 curveto 1444 6016 384 4817 384 2954 curveto 384 1145 1421 0 3056 0 curveto 4496 0 5406 811 5521 2196 curveto 4558 2196 lineto 4398 1321 3905 884 3092 884 curveto 2038 884 1408 1665 1408 2956 curveto 1408 4320 2027 5132 3069 5132 curveto 3871 5132 4375 4705 4490 3945 curveto 5452 3945 lineto end_ol grestore gsave -0.168267 9.000000 translate 0.035278 -0.035278 scale start_ol 6162 827 moveto 6059 804 6013 804 5956 804 curveto 5623 804 5440 961 5440 1234 curveto 5440 4444 lineto 5440 5466 4613 6016 3043 6016 curveto 2118 6016 1352 5776 926 5351 curveto 634 5057 512 4730 512 4163 curveto 1762 4163 lineto 1841 4830 2272 5132 3155 5132 curveto 4004 5132 4480 4836 4480 4307 curveto 4480 4074 lineto 4480 3704 4240 3545 3485 3460 curveto 2136 3301 1930 3259 1564 3122 curveto 866 2857 512 2360 512 1640 curveto 512 635 1267 0 2479 0 curveto 3234 0 3840 263 4515 880 curveto 4584 274 4884 0 5506 0 curveto 5701 0 5851 23 6162 103 curveto 6162 827 lineto 4480 2036 moveto 4480 1745 4389 1567 4106 1328 curveto 3721 1005 3257 838 2702 838 curveto 1966 838 1536 1161 1536 1713 curveto 1536 2287 1955 2578 2963 2714 curveto 3959 2839 4163 2881 4480 3016 curveto 4480 2036 lineto end_ol grestore gsave 0.678400 9.000000 translate 0.035278 -0.035278 scale start_ol 2905 6016 moveto 1920 6016 lineto 1920 7669 lineto 960 7669 lineto 960 6016 lineto 147 6016 lineto 147 5235 lineto 960 5235 lineto 960 936 lineto 960 338 1374 0 2122 0 curveto 2353 0 2583 23 2905 80 curveto 2905 871 lineto 2779 838 2630 838 2447 838 curveto 2035 838 1920 946 1920 1347 curveto 1920 5235 lineto 2905 5235 lineto 2905 6016 lineto end_ol grestore gsave 1.101733 9.000000 translate 0.035278 -0.035278 scale start_ol 1728 6016 moveto 768 6016 lineto 768 0 lineto 1728 0 lineto 1728 6016 lineto 1728 8384 moveto 768 8384 lineto 768 7171 lineto 1728 7171 lineto 1728 8384 lineto end_ol grestore gsave 1.440400 9.000000 translate 0.035278 -0.035278 scale start_ol 3124 6016 moveto 1417 6016 384 4892 384 3008 curveto 384 1124 1406 0 3136 0 curveto 4843 0 5888 1124 5888 2965 curveto 5888 4903 4878 6016 3124 6016 curveto 3136 5132 moveto 4219 5132 4864 4330 4864 2977 curveto 4864 1696 4196 884 3136 884 curveto 2065 884 1408 1686 1408 3008 curveto 1408 4320 2065 5132 3136 5132 curveto end_ol grestore gsave 2.287067 9.000000 translate 0.035278 -0.035278 scale start_ol 832 6016 moveto 832 0 lineto 1792 0 lineto 1792 3211 lineto 1728 4400 2373 5178 3364 5178 curveto 4124 5178 4608 4734 4608 4034 curveto 4608 0 lineto 5568 0 lineto 5568 4420 lineto 5568 5391 4834 6016 3693 6016 curveto 2812 6016 2248 5675 1728 4845 curveto 1728 6016 lineto 832 6016 lineto end_ol grestore 1.000000 1.000000 1.000000 srgb n -10.000000 11.000000 m -10.000000 15.100000 l 7.200000 15.100000 l 7.200000 11.000000 l f 0.100000 slw [] 0 sd [] 0 sd 0 slj 0.000000 0.000000 0.000000 srgb n -10.000000 11.000000 m -10.000000 15.100000 l 7.200000 15.100000 l 7.200000 11.000000 l cp s gsave -4.210933 12.350000 translate 0.035278 -0.035278 scale start_ol 3328 2918 moveto 3328 3704 2778 4160 1836 4160 curveto 939 4160 384 3716 384 3002 curveto 384 2521 640 2218 1163 2083 curveto 2150 1823 lineto 2651 1693 2880 1493 2880 1185 curveto 2880 974 2764 758 2592 639 curveto 2432 530 2177 471 1850 471 curveto 1413 471 1114 573 920 798 curveto 770 970 704 1158 704 1399 curveto 256 1399 lineto 256 1031 326 790 482 571 curveto 750 198 1201 0 1797 0 curveto 2265 0 2646 108 2898 303 curveto 3162 514 3328 866 3328 1207 curveto 3328 1694 3031 2051 2505 2197 curveto 1533 2462 lineto 1066 2592 896 2743 896 3046 curveto 896 3447 1271 3712 1836 3712 curveto 2505 3712 2880 3428 2880 2918 curveto 3328 2918 lineto end_ol grestore gsave -3.702933 12.350000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave -3.279600 12.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave -2.856267 12.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -2.475267 12.350000 translate 0.035278 -0.035278 scale start_ol 832 3008 moveto 384 3008 lineto 384 0 lineto 832 0 lineto 832 3008 lineto 832 4160 moveto 384 4160 lineto 384 3570 lineto 832 3570 lineto 832 4160 lineto end_ol grestore gsave -2.305933 12.350000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave -2.094267 12.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave -1.713267 12.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -1.501600 12.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -1.120600 12.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -0.697267 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -0.527933 12.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -0.358600 12.350000 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave 0.064733 12.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 0.488067 12.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 0.869067 12.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 1.250067 12.350000 translate 0.035278 -0.035278 scale start_ol 1216 597 moveto 640 597 lineto 640 0 lineto 1216 0 lineto 1216 597 lineto 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto end_ol grestore gsave -6.962600 13.350000 translate 0.035278 -0.035278 scale start_ol 2304 3008 moveto 2304 2493 lineto 2072 2844 1791 3008 1422 3008 curveto 688 3008 192 2387 192 1477 curveto 192 1017 322 642 564 375 curveto 783 139 1099 0 1409 0 curveto 1780 0 2039 158 2304 531 curveto 2304 355 lineto 2304 -108 2252 -388 2131 -577 curveto 2004 -779 1755 -896 1461 -896 curveto 1241 -896 1045 -824 912 -695 curveto 802 -588 756 -487 727 -265 curveto 280 -265 lineto 330 -901 760 -1280 1446 -1280 curveto 1881 -1280 2255 -1136 2445 -893 curveto 2668 -615 2752 -234 2752 477 curveto 2752 3008 lineto 2304 3008 lineto 1478 2566 moveto 1998 2566 2304 2170 2304 1488 curveto 2304 838 1992 442 1484 442 curveto 958 442 640 843 640 1504 curveto 640 2160 964 2566 1478 2566 curveto end_ol grestore gsave -6.539267 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -6.158267 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -5.734933 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -5.353933 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -5.184600 13.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave -4.761267 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -4.380267 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -3.956933 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -3.787600 13.350000 translate 0.035278 -0.035278 scale start_ol 832 4160 moveto 384 4160 lineto 384 0 lineto 832 0 lineto 832 4160 lineto end_ol grestore gsave -3.618267 13.350000 translate 0.035278 -0.035278 scale start_ol 320 4160 moveto 320 0 lineto 768 0 lineto 768 510 lineto 982 164 1267 0 1658 0 curveto 2398 0 2880 605 2880 1536 curveto 2880 2446 2409 3008 1654 3008 curveto 1260 3008 981 2854 768 2518 curveto 768 4160 lineto 320 4160 lineto 1581 2560 moveto 2098 2560 2432 2139 2432 1488 curveto 2432 869 2087 448 1581 448 curveto 1091 448 768 864 768 1504 curveto 768 2144 1091 2560 1581 2560 curveto end_ol grestore gsave -3.194933 13.350000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave -2.771600 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave -2.390600 13.350000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave -2.009600 13.350000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave -1.586267 13.350000 translate 0.035278 -0.035278 scale start_ol 2560 2129 moveto 2560 2691 2158 3008 1443 3008 curveto 723 3008 256 2675 256 2161 curveto 256 1728 496 1521 1204 1363 curveto 1649 1262 lineto 1981 1188 2112 1077 2112 876 curveto 2112 617 1824 442 1395 442 curveto 1130 442 907 510 783 624 curveto 707 702 671 780 642 973 curveto 256 973 lineto 256 315 628 0 1378 0 curveto 2100 0 2560 344 2560 878 curveto 2560 1291 2309 1518 1715 1651 curveto 1258 1751 lineto 870 1836 704 1952 704 2148 curveto 704 2402 987 2566 1434 2566 curveto 1875 2566 2112 2415 2112 2129 curveto 2560 2129 lineto end_ol grestore gsave -1.205267 13.350000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave -0.781933 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave -0.570267 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave -0.358600 13.350000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave -0.104600 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 0.276400 13.350000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 0.488067 13.350000 translate 0.035278 -0.035278 scale start_ol 1648 1556 moveto 2642 3008 lineto 2111 3008 lineto 1400 1917 lineto 689 3008 lineto 152 3008 lineto 1140 1533 lineto 96 0 lineto 632 0 lineto 1383 1154 lineto 2122 0 lineto 2670 0 lineto 1648 1556 lineto end_ol grestore gsave 0.869067 13.350000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 1.080733 13.350000 translate 0.035278 -0.035278 scale start_ol end_ol grestore gsave 1.292400 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1828 lineto 832 2250 1152 2589 1548 2589 curveto 1908 2589 2112 2378 2112 2006 curveto 2112 0 lineto 2560 0 lineto 2560 1828 lineto 2560 2250 2880 2589 3276 2589 curveto 3631 2589 3840 2372 3840 2006 curveto 3840 0 lineto 4288 0 lineto 4288 2193 lineto 4288 2718 3982 3008 3426 3008 curveto 3028 3008 2790 2888 2512 2550 curveto 2340 2871 2106 3008 1728 3008 curveto 1338 3008 1082 2860 832 2500 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 1.927400 13.350000 translate 0.035278 -0.035278 scale start_ol 2190 3008 moveto 1372 634 lineto 615 3008 lineto 113 3008 lineto 1112 -52 lineto 931 -535 lineto 858 -751 751 -832 553 -832 curveto 485 -832 406 -820 305 -797 curveto 305 -1209 lineto 401 -1258 497 -1280 621 -1280 curveto 773 -1280 937 -1228 1061 -1136 curveto 1208 -1026 1293 -899 1383 -656 curveto 2698 3008 lineto 2190 3008 lineto end_ol grestore gsave 2.308400 13.350000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 2.520067 13.350000 translate 0.035278 -0.035278 scale start_ol 2688 0 moveto 2688 3008 lineto 2240 3008 lineto 2240 1386 lineto 2240 801 1926 419 1438 419 curveto 1068 419 832 638 832 982 curveto 832 3008 lineto 384 3008 lineto 384 786 lineto 384 308 737 0 1290 0 curveto 1708 0 1974 153 2240 545 curveto 2240 0 lineto 2688 0 lineto end_ol grestore gsave 2.943400 13.350000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1606 lineto 832 2200 1162 2589 1668 2589 curveto 2057 2589 2304 2367 2304 2017 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2695 2385 3008 1815 3008 curveto 1374 3008 1092 2837 832 2422 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 3.366733 13.350000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 3.747733 13.350000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 4.001733 13.350000 translate 0.035278 -0.035278 scale start_ol 1216 3008 moveto 640 3008 lineto 640 2411 lineto 1216 2411 lineto 1216 3008 lineto 640 597 moveto 640 0 lineto 967 0 lineto 967 -108 lineto 967 -520 896 -640 640 -640 curveto 640 -832 lineto 1024 -832 1216 -576 1216 -86 curveto 1216 597 lineto 640 597 lineto end_ol grestore gsave -1.683633 14.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave -1.471967 14.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave -1.260300 14.350000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 16.000000 17.100000 m 15.500000 22.100000 3.000000 17.000000 5.782295 22.564590 c s [] 0 sd 0 slj 0 slc n 5.950000 22.900000 m 5.502786 22.564590 l 5.782295 22.564590 l 5.950000 22.340983 l ef n 5.950000 22.900000 m 5.502786 22.564590 l 5.782295 22.564590 l 5.950000 22.340983 l cp s gsave 7.000000 21.000000 translate 0.035278 -0.035278 scale start_ol 1451 3008 moveto 960 3008 lineto 960 3453 lineto 960 3643 1073 3741 1288 3741 curveto 1327 3741 1344 3741 1451 3741 curveto 1451 4131 lineto 1346 4154 1285 4160 1191 4160 curveto 766 4160 512 3914 512 3495 curveto 512 3008 lineto 117 3008 lineto 117 2618 lineto 512 2618 lineto 512 0 lineto 960 0 lineto 960 2618 lineto 1451 2618 lineto 1451 3008 lineto end_ol grestore gsave 7.211667 21.000000 translate 0.035278 -0.035278 scale start_ol 1498 3008 moveto 685 3008 192 2446 192 1504 curveto 192 562 679 0 1504 0 curveto 2318 0 2816 562 2816 1483 curveto 2816 2451 2334 3008 1498 3008 curveto 1504 2566 moveto 2045 2566 2368 2165 2368 1488 curveto 2368 848 2034 442 1504 442 curveto 968 442 640 843 640 1504 curveto 640 2160 968 2566 1504 2566 curveto end_ol grestore gsave 7.635000 21.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 7.889000 21.000000 translate 0.035278 -0.035278 scale start_ol 768 4160 moveto 320 4160 lineto 320 0 lineto 768 0 lineto 768 1171 lineto 1225 1630 lineto 2224 0 lineto 2806 0 lineto 1598 1969 lineto 2625 3008 lineto 2021 3008 lineto 768 1734 lineto 768 4160 lineto end_ol grestore gsave 8.270000 21.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 8.524000 21.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 8.778000 21.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 7.000000 22.000000 translate 0.035278 -0.035278 scale start_ol 320 -1119 moveto 768 -1119 lineto 768 448 lineto 1009 138 1278 0 1651 0 curveto 2392 0 2880 583 2880 1477 curveto 2880 2419 2417 3008 1668 3008 curveto 1285 3008 978 2827 768 2477 curveto 768 3008 lineto 320 3008 lineto 320 -1119 lineto 1583 2560 moveto 2097 2560 2432 2139 2432 1488 curveto 2432 869 2091 448 1583 448 curveto 1092 448 768 864 768 1504 curveto 768 2144 1092 2560 1583 2560 curveto end_ol grestore gsave 7.423333 22.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 7.635000 22.000000 translate 0.035278 -0.035278 scale start_ol 384 4160 moveto 384 0 lineto 832 0 lineto 832 1609 lineto 832 2205 1162 2595 1668 2595 curveto 1827 2595 1986 2545 2104 2461 curveto 2245 2367 2304 2227 2304 2021 curveto 2304 0 lineto 2752 0 lineto 2752 2210 lineto 2752 2701 2389 3008 1801 3008 curveto 1374 3008 1115 2878 832 2517 curveto 832 4160 lineto 384 4160 lineto end_ol grestore gsave 8.058333 22.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 8.312333 22.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 8.735667 22.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 9.159000 22.000000 translate 0.035278 -0.035278 scale start_ol 2752 4160 moveto 2304 4160 lineto 2304 2544 lineto 2107 2848 1791 3008 1396 3008 curveto 630 3008 128 2425 128 1531 curveto 128 583 607 0 1384 0 curveto 1781 0 2056 153 2304 521 curveto 2304 0 lineto 2752 0 lineto 2752 4160 lineto 1454 2560 moveto 1975 2560 2304 2144 2304 1494 curveto 2304 864 1969 448 1460 448 curveto 929 448 576 869 576 1504 curveto 576 2139 929 2560 1454 2560 curveto end_ol grestore gsave 9.582333 22.000000 translate 0.035278 -0.035278 scale start_ol 3263 -768 moveto -124 -768 lineto -124 -1024 lineto 3263 -1024 lineto 3263 -768 lineto end_ol grestore gsave 10.005667 22.000000 translate 0.035278 -0.035278 scale start_ol 2633 1973 moveto 2611 2249 2550 2428 2439 2585 curveto 2239 2851 1890 3008 1485 3008 curveto 702 3008 192 2409 192 1477 curveto 192 573 691 0 1479 0 curveto 2172 0 2611 406 2666 1098 curveto 2192 1098 lineto 2113 661 1870 442 1470 442 curveto 950 442 640 832 640 1478 curveto 640 2160 945 2566 1458 2566 curveto 1853 2566 2102 2353 2158 1973 curveto 2633 1973 lineto end_ol grestore gsave 10.386667 22.000000 translate 0.035278 -0.035278 scale start_ol 384 3008 moveto 384 0 lineto 832 0 lineto 832 1513 lineto 832 1930 939 2203 1165 2364 curveto 1312 2470 1453 2503 1780 2503 curveto 1780 3008 lineto 1704 3008 1666 3008 1607 3008 curveto 1314 3008 1092 2827 832 2386 curveto 832 3008 lineto 384 3008 lineto end_ol grestore gsave 10.640667 22.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 11.064000 22.000000 translate 0.035278 -0.035278 scale start_ol 2980 413 moveto 2929 402 2907 402 2878 402 curveto 2714 402 2624 481 2624 617 curveto 2624 2222 lineto 2624 2733 2226 3008 1472 3008 curveto 1028 3008 659 2888 455 2675 curveto 314 2528 256 2365 256 2081 curveto 817 2081 lineto 857 2415 1072 2566 1513 2566 curveto 1938 2566 2176 2418 2176 2153 curveto 2176 2037 lineto 2176 1852 2060 1772 1695 1730 curveto 1042 1651 942 1630 765 1561 curveto 428 1428 256 1180 256 820 curveto 256 317 621 0 1207 0 curveto 1572 0 1866 131 2192 440 curveto 2225 137 2368 0 2666 0 curveto 2760 0 2831 12 2980 52 curveto 2980 413 lineto 2176 1018 moveto 2176 872 2131 784 1989 664 curveto 1797 502 1565 419 1287 419 curveto 919 419 704 581 704 857 curveto 704 1143 913 1289 1417 1357 curveto 1916 1419 2017 1440 2176 1508 curveto 2176 1018 lineto end_ol grestore gsave 11.487333 22.000000 translate 0.035278 -0.035278 scale start_ol 1445 3008 moveto 960 3008 lineto 960 3835 lineto 512 3835 lineto 512 3008 lineto 111 3008 lineto 111 2618 lineto 512 2618 lineto 512 468 lineto 512 169 711 0 1070 0 curveto 1180 0 1290 11 1445 40 curveto 1445 435 lineto 1383 419 1310 419 1219 419 curveto 1016 419 960 473 960 674 curveto 960 2618 lineto 1445 2618 lineto 1445 3008 lineto end_ol grestore gsave 11.699000 22.000000 translate 0.035278 -0.035278 scale start_ol 2832 1344 moveto 2832 1780 2799 2042 2718 2255 curveto 2532 2724 2097 3008 1563 3008 curveto 768 3008 256 2409 256 1488 curveto 256 567 751 0 1551 0 curveto 2204 0 2656 362 2770 968 curveto 2296 968 lineto 2170 622 1912 442 1544 442 curveto 1253 442 1006 562 852 783 curveto 742 933 704 1083 704 1344 curveto 2832 1344 lineto 704 1728 moveto 704 2236 1037 2566 1511 2566 curveto 1974 2566 2330 2210 2330 1759 curveto 2330 1749 2330 1739 2324 1728 curveto 704 1728 lineto end_ol grestore gsave 12.122333 22.000000 translate 0.035278 -0.035278 scale start_ol 1295 4160 moveto 736 3408 384 2363 384 1462 curveto 384 555 736 -490 1295 -1242 curveto 1605 -1242 lineto 1108 -421 832 543 832 1462 curveto 832 2375 1108 3345 1605 4160 curveto 1295 4160 lineto end_ol grestore gsave 12.376333 22.000000 translate 0.035278 -0.035278 scale start_ol 497 -1242 moveto 1056 -490 1408 555 1408 1456 curveto 1408 2363 1056 3408 497 4160 curveto 187 4160 lineto 684 3339 960 2375 960 1456 curveto 960 543 684 -427 187 -1242 curveto 497 -1242 lineto end_ol grestore gsave 12.630333 22.000000 translate 0.035278 -0.035278 scale start_ol 512 597 moveto 512 0 lineto 841 0 lineto 841 -108 lineto 841 -520 770 -640 512 -640 curveto 512 -832 lineto 896 -832 1088 -576 1088 -86 curveto 1088 597 lineto 512 597 lineto end_ol grestore gsave 7.000000 23.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 7.211667 23.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore gsave 7.423333 23.000000 translate 0.035278 -0.035278 scale start_ol 1088 597 moveto 512 597 lineto 512 0 lineto 1088 0 lineto 1088 597 lineto end_ol grestore 0.100000 slw [] 0 sd [] 0 sd 0 slj 0 slc n 22.000000 11.025000 m 30.350000 6.375000 2.550000 6.275000 9.589530 10.763291 c s [] 0 sd 0 slj 0 slc n 9.905728 10.964894 m 9.349728 10.906889 l 9.589530 10.763291 l 9.618532 10.485291 l ef n 9.905728 10.964894 m 9.349728 10.906889 l 9.589530 10.763291 l 9.618532 10.485291 l cp s showpage gsasl-1.8.1/doc/controlflow.png0000664000000000000000000005333011746471770013370 00000000000000PNG  IHDR!wsBITO pHYse IDATxw\;(" 4DAybb㰜bW8O.b+D@RSco. |lfg 0;3Ka$X+W?{"##C"MHNMMnǎ:tFXwpBJJ F1 ///MMM------}} A _~MLL$ EQ]v2dȴi\s,s۷'&&b۵kdmmMQT?xڵkqqq/^@Lnz޼yAAAP?CVVV6m6n8l0@ vy|REEe/sG ~GБ#G޾};|pHвx… K,gGݻ7pk֫ `2ڵkN8(sm۶iii]tSrwdUUUUuuuMMMuuUUUl6c1p8|,6---2Ǟ҂k)@&^zE^zIPT18qO}ϟϥRPPhݺ.@[[[]]]UUUMMMMMMbꄫ%T`0ZnmhhȝxYYYYYY68r}n۶mذaǏWRR/#4ǚ:u޽{'N~H@{ςt$UV&&&&k``K҂B'Ӣ"$MGGҒ[ DXlٚ5k ?_cm۶-$$d'O d.;;۷۷o ԔdQtFejj*$>|yÝ~1 kk:t :iӦ޽{޼yׯyI@߭[8Z@+++{gϞ>}ٳ/^|~U__m۶m۶cٹYׇ ? :urpph߾M3 4LMMׯ^zE~}ݡC[[[w+=zx7O7H 2337oܳgOr,Xp…YGIJJڲeK@@LЭ[ӋEfjjj;t 4qqqA:tՈMcuZ4KJg$ŋWvqq!]V!!!׮](UVV^t)88֖tniii,Kс۷fAAsǥ޵kB ׯ_B߿xӐc5O@$ɓ' ,$L{{Eݿ1yf۶m PWWGj*((Խ{BVtmlld2ޯ|} cpbbb\]]UTTTTTbbbZK.u]UUUYYɓ@hh(>}p}vԷ9̙ݖ]DһwoOiB Bh#6HاD1XAAAKK̙3";ڲeѬY=<ĕ+Wz}o0x`444w@!NPF{$Z^nPE~@;֭[7EQk׮}ꕬOuucΝ;_|u\!tҦM60E͟?_J9::RWw "''GGG8((.@=(yРAmڴ!Hoܙ3gyNWW744t^"%KE{YȜ]D-O wӮ];PzzH">%ӧWƆؿ:9ɓIۓxHȝcm޼u;vH>\DuRL[[͍Zx1;Zp!Bu]tA)((;ve}nM6흜G4j(}3Tw+?΁|%""!b zm"Gu%ܼl۶ !0"Nۍijj*~xɖǏ"YZܣf7]tN__ݺu999d|͉[`[⿩O"],,,UYf-!kkka ?%2 ĉtW\AmV`U۷o-/^$+"o?55`8::ylygΝ>@ۗzѪU+w`06oLҵUV!He}nO>%wwْfjjJ3b}HM+n8pFA$$$?DSN/^uP@\SLAc//vI1lmm/?zh;Ç#~'{~w2EEE MDO8z((,OIQQܜ 6(1bBhϞ=/^]'32ϟ?GuYX0`@RRFO? & 6lP2AxL#%ښ &Ճ,,,dXǏǏ/_ޘ۫W/2L'OX[[[jkk^Xܷoϖ;v |||UF//XgϞ4iҩSM|zsww/++~ d~͛7oܸq,K^]vv6H.c͛GBYɓ'dÇɜvK~6mO՘D4ͳ8 !Df[,lff&c9::޼y(Ǐɖ 'TO9/26mHoE$\` yo!CC~ ;}4=ؘ,Y“:̘1&;uD*#BBBb{}D4Ϳ7[3L` \|_DЀdT!OOOBllJ8θq.dӧ 7۱cG5vޝ7z@@@@@}.]B$ $$CCî] ͊NX2">(";wLFD;R qI83--kddhŊ':sU>|˗/lrʕL6mjj5sL*!-**eǎdHkPPdɒ8rFR͉&N+~~~O"ECAAfKB!Bhܸqjjj7o~ `)vttܳgOFFʕ+.]s!8""K.[n}1ɴ;v9sH@᪪~iӖ-[?'%%%ϟ?~'Ohii t萃ҥK/@c0L)N'f$**dB>hlmmnjs?:/ȱ!.\рdl6ٳKQPaaaō/w޽}3fK.zzznjG )cdԩ)< [jjk}^rBUUU9 ɔu 4 ,[#W Dه,{5c233322z322eXB׮].]=ȱ!#@hM#X rww"s h^.\˰0%%%Y9Khh~*++̙c``o: _~u,M(OOO;;C:@ͮ]TTTd c۸q㿟޽{޽{ׯ_5kc q͝;w?~᲎XtttNpBΝ;cGG7n`:u䔜1^tiAA۷o1aaaɪ555ׯĉjjjH0W5a„ݻ#ҼBޯ^!V^M^m׮ȑ#3gά?~Tm'33333(40`@JJJ#B,^xܹҫ?$$Dğucǎ/^R円W^Earss蟹/^ˣR _>{UVijjJں::.% IDAT/_ހXE 0Q}jjjN`~IJ`ӧOoZZZ>> (СCڸ6EQgϦΞ=[!J^矹 +@9h ~+V<lpUs=~Xrr$''cB㔔o?ry@\|? -/_:wRPP6mڴiBE-[̬SNyyy}vttqB(//O>NNN'UM:!7a„G"8Enn."h۶͛jbbҩSW^"%  ۧ#^~mkkKo~/BHMM }1I1gLLѣBw`XM ȱ@Kj*~iϞ=$IB3&44t̙VʺpԩSL̙3=44mϞ=_x!t}kkk333 ի,X 0N1cχ tyЅ  $B d sĉeeeO ڿt Rx{{wܙ;QPPZzT[j]]]]JJJDD]xx8!T^^1.))QWWWWW>333544HSZZJA?MLLLܹsn,{1cٝ6xTUU ήVڟa лw;6wwwOOO =R____ii))lzbtuuWZՄO6mۆȐFyQy9׆  C aٞ .LLL~`p8SYYI\+++6`VKKsgϞ1bK:ѣs-PPP//,]v9;;oٲEQVVPPPyNz\$\b-_O&9eʔK.޼ySjo)L%bn6`oƃСC>400hݺutt4=)--QQQv튍>}_ڵkӧgϞsN54ڵkd-7}]]]vzmgg簰0ڲ̎=9sȜy??~^4ΠA^:p@SNڵkRROaggg777-_L{3fD\5~<1x) Uw[iJ0KnIx`نyyy 4%dZεXΝԩѲel6|55k֘-jjjf̘/^knժUHМ^sύ'[LG5J^8Ef7wwid =z%I ӦMlؾ} *wu.&$cX/{0-XɉvZ)jӦͻwׁ7ydMF>,Q򪿿BB:}4=ѱz8mM4w$Çܿ\77cOK}_bM>I~U7eeejnn>x`??;v8v؃S2'U27<(y{[zdB׮];{,jnnݛ뫬,ze?e}tk7swEOqO8D xߜW?E)gȗ-\ӧOM"a׬YS^^.@׍7/nsܝ.]5\w{5D9]S???2򽶶Ns㹷s^=!d2MMMg͚(--MGG'<}s~~~AAAaa/_|RTTT\\oq׹qF## 6-Jvjmmxb2fdh$h.acaaAX?I{捃Ç䏙N2p l.C.X߽{CX?EQ-2556mرcMMMgΜ_mԩN&-0`},W#}nqʕzzz8Gr@@@ll,Bclkk+ ^/ʹR"_梶$晈7i$_=A?V~,i~lݺc}vXCC[տq.]91񣒒2X(Cݸq#… 6׏e_NWVVVSJ gffm۶N~䉈v1ԩS]v}O!H1ILL񣢢"ԩScƌxyy|\r%''.0G]"B "4~,q}M4 ccWWWe0ZJBV9QJף"XRB&r~,a#.XB($$g8BgϞODȳX_ϮKc5X2&?7͛7]t$㘘++++++;;'N`A3u`!9VVVӃֆr9s昘8;;gdd篓׏9?$c]\\w8p F ]R~aaaG988TUUaxbc H)v-iɮcy$(++:u<X>DB1 +rAYs,;" jc <~s;*)C111۷'J}Hd2=<S|r,i/RSSC|룐K+!\\\^zA=]קLkhh?jЋp$ʼyxDZc,xܻwoܹJ#iUTTdёׯ;wlbb2c ˗/G677777=z4._4ZWlS|J{I$u^(^Cca\  M6PVK" Z~~~d6æMH#G1L6j(,h>h ^q^xYRWW'-1ƣFӧ͛ݻGfX۷oٳd`1rZ7~M"Y~˗-,,>|خ];pOYYYV-++ic ? ͑s,iUTTYcAh,..&3CyAu}e9o'NرcNddABC=z9=:8I WWXq~۷!6Mfgg[VV h֤}6OtK4U{4+++]<cC-:tҚ4iRDD۷Bqqq၁!1 GAYYy@e$zw^Ѝ7&O̽/ɜ2eʥKRSSo޼I/^hd<ټ{wFĐ-k׮el6{͚5CIJJ۷/Ry_Oʱo߾~++ϟ?-֭ߏ wuuڵ۷43+ÍGի'NڵgϦIvww߽{3HWI1r3]|֭)]]233 g?~乡5]&66r(u}ޗS|cϒH ^yHz-0K~d4S c|ȑ}7.11gϞyyyƍݿ-&Lx捦֭[{(jҥѭ[>qĆ B tsjjjcV^s#Flݺ/_̘1#99!Խ{;vSp <"!!aذa۷oVGUTT4f̘>cc}aܸqM ۷uȵ6m:ÇUUU=z6lؑ#Gz9s_x1444%%EUVu-++/--MII !zhۤIn_---(?3N88p`ppYbbbddd6mH%ڐ'ر >fa߾}gϞunB($$?y!==1UWLMMW%K}hjjlШ+̴(\KK̬(#Zeee~MM͜]]]PIIUyy9EQ(~jhhkjjVTThkk?VTTTpppFF+:tīcƌ^7nڏeoo߸$]V!Zlڴlr f0ĿTVV#LLLe0ڥL?毟'{sWK#Bʗ.]u)ߝx:1x̙Gի޽{B7nܘ}_EWfjjzᨨ(7XffǏvwﷲsv@Re<񏾒gϞ[.,,l׮]YY#qFТ\xq͵۶mڵ/ȱ4ʝ;wdkhh?>M8w9aff]]r $r,Ƀ @ <ȱ)h  e 077uVVV666}Z[[;::޸q(jӦMNNN!WDWCe Ծ|2zhsssssѣG4f33a [ucƌ$SQ1߿?xС̶mے[D`cIDAT#"""jkk7i$Ǐ]]]Y^ B*9rdXXdXaaaF"ۯ\(lfd۶m!@pB2=xݻwwss(JCC.immMQׯ_544-[fjj,|?>OBdߜ]]]PIIUyy9EQVmF~-̙3[jUXX(HH׉'222"##kkk/\p*++Byyy&&&$IZjեK;w={!-6߻Ml@YYYDB?ɺG ZV1~8 22$&&vЁCѻ_^^^&OY^o!1bܹ,Z!w}H:uBO>:h 6NJ;q833wTRR|)o Ryaa#F̗c Hy9VbTUU'N=ڵk}Ig$r; -򤧧;880(gHHH@1LLL:v'xZׯ1B~~~=مfz@1c|!YGм9stĈ P=7l0BI&|2))Iց4WW\3f*l2eիe@zjBCCBX[ z*te4w8O? s֞5k͡7-]c|rT~uK.?]O.۰a\Aj.\pرۓ-w֭[FFƋ/,,,d$4cߗu{4k;vTPPxⅦ&H\|y׮]n޼$8+((uwzzzOu rXQQ9̙3>>IIIJʱBu޽۱cSNI:T-ѣGkjj~gY@cݸqSN/^ zj֭E]Kqeff6,&&FGGGBh\]]߾}`|{Veeիׯ_ohho߾~sq=z|rܹ-ӧ=0a$X*((;waddرcI9BHMMmÆ /_5jTLLabccY,VC0':c0n8kkM6ѣGq(**ܺukmmQ``_@@~j"ՙ\~]ֱ ׯ]|Ç#F={v&m40"jjjϓ]\\5448N|;wȑ#g֭c@ҧOeggc ;qDըd2o޼oyU322蔕EY[[;99yyy4~X<ꊊ******L& мy=zcee%X`())nZRUUlWH&&&–=}d9 ;tPpped 2Hƺu,Y2f̘Cs @ca-[vs))):"dr,RVV6iҤʕ+ʲ}ٳgnnngϞ]h!k7h̘1CEEܹs u8Po߿4hĉ>|  PųgvpprJxxllldK]]ݎ;V^]\\<|v:(X|߾}QQQgϞuP;ȱ;v;vZWWwsΥ(Jq @:qĖ-[|a  ;yyywMIIIIIyQMM ByРAvuu ƃ Z86͛o޸qÇ!==={5rHuuuYG @9ϟ?}Ul6qww֭[ntuue3-XlKq+((`X卌u@X y,b1La?*++~ݻwUUUMMM(((XYEEEIIIii)jkkE?'d6&*KSSА?֖ԧ,ȱ-Smm7o>}TTTDgQAqq1]2)O%%%555uA444#HXfcׯ_Ԫy*Id-Xfiii'+}?n&u~n!ccckkk !fJDu,`c۶mzWǥxyyuww'$$B;SSS7oޜ, k׮B۷=<|֭[b}n`./^B H3L|VMMMГ9;;V):cnnnwޥZ[[SJ²L&SNNb_j:;;RZ]]T*0}^z,fB`h4d2G8^ooo?::299^쬍=D"LMM At:\.onn(((~~lllÆ ڴzT{ KҾ>;;;B^wssq {Jjhh7dicc3G"BL&$MV^pA7h}y &]VPc3333O<+`ii)8((YXl|uJiSSSxx8qO>8x`OO!RP\\_,o޼Iihh_,B Bٴi?' m\\(!2?N){0k^Cg)YYYrʕ+ϟΝ;/]O\\\ E[[f^8RR4 ~ydd$vrr<RZZZ---ʬ*0wΝ?B===˴rssSRR'B`IV >[hZn2NhFhjQQQ|KKY%[?`囘{쩫[f(V+ZjkkR)T_50vׯ_+ gdddxxn4 dKKK|&)::zxxmV˄ Ǐ/// !ի7`5233SXXٳ4`E _M `9X'Q߯^ XPcQQQ###0 fΜ9: @,։ 50foo޽"։ 57U57Z~,Xq[%Pc{C >XC >XC k+H%{IENDB`gsasl-1.8.1/doc/gsasl-callback-passcode.texi0000664000000000000000000000133011746471770015640 00000000000000@deftypefn Prototype int (*Gsasl_client_callback_passcode) (Gsasl_session_ctx * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output array with passcode. @var{outlen}: on input the maximum size of the output array, on output contains the actual size of the output array. Type of callback function the application implements. It should populate the output array with passcode of user and set the output array length, and return @code{GSASL_OK}, or fail with an error code. If OUT is NULL, the function should only populate the output length field with the length, and return GSASL_OK. This usage may be used by the caller to allocate the proper buffer size. @end deftypefn gsasl-1.8.1/doc/texi/0000755000000000000000000000000013521017733011321 500000000000000gsasl-1.8.1/doc/texi/gsasl_server_callback_securid_set.texi0000644000000000000000000000217013521017406021035 00000000000000@subheading gsasl_server_callback_securid_set @anchor{gsasl_server_callback_securid_set} @deftypefun {void} {gsasl_server_callback_securid_set} (Gsasl * @var{ctx}, Gsasl_server_callback_securid @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for validating a user via the SECURID mechanism. The function should return GSASL_OK if user authenticated successfully, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE if it wants another passcode, GSASL_SECURID_SERVER_NEED_NEW_PIN if it wants a PIN change, or an error. When (and only when) GSASL_SECURID_SERVER_NEED_NEW_PIN is returned, suggestpin can be populated with a PIN code the server suggests, and suggestpinlen set to the length of the PIN. The function can be later retrieved using @code{gsasl_server_callback_securid_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/version.c.texi0000644000000000000000000000134313521017411014034 00000000000000@subheading gsasl_check_version @anchor{gsasl_check_version} @deftypefun {const char *} {gsasl_check_version} (const char * @var{req_version}) @var{req_version}: version string to compare with, or NULL. Check GNU SASL Library version. See @code{GSASL_VERSION} for a suitable @code{req_version} string. This function is one of few in the library that can be used without a successful call to @code{gsasl_init()} . Return value: Check that the version of the library is at minimum the one given as a string in @code{req_version} and return the actual version string of the library; return NULL if the condition is not met. If NULL is passed to this function no check is done and only the version string is returned. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_ctx_get.texi0000644000000000000000000000061313521017401016310 00000000000000@subheading gsasl_client_ctx_get @anchor{gsasl_client_ctx_get} @deftypefun {Gsasl *} {gsasl_client_ctx_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl client handle Get the libgsasl handle given a libgsasl client handle. Return value: Returns the libgsasl handle given a libgsasl client handle. @strong{Deprecated:} This function is not useful with the new 0.2.0 API. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_done.texi0000644000000000000000000000040313521017400014236 00000000000000@subheading gsasl_done @anchor{gsasl_done} @deftypefun {void} {gsasl_done} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. This function destroys a libgsasl handle. The handle must not be used with other libgsasl functions after this call. @end deftypefun gsasl-1.8.1/doc/texi/xcode.c.texi0000644000000000000000000000305413521017411013452 00000000000000@subheading gsasl_encode @anchor{gsasl_encode} @deftypefun {int} {gsasl_encode} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char ** @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: newly allocated output byte array. @var{output_len}: size of output byte array. Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The @code{output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( @code{output} ). Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @end deftypefun @subheading gsasl_decode @anchor{gsasl_decode} @deftypefun {int} {gsasl_decode} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char ** @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: newly allocated output byte array. @var{output_len}: size of output byte array. Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The @code{output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( @code{output} ). Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_application_data_get.texi0000644000000000000000000000105113521017402017446 00000000000000@subheading gsasl_application_data_get @anchor{gsasl_application_data_get} @deftypefun {void *} {gsasl_application_data_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Retrieve application specific data from libgsasl handle. The application data is set using @code{gsasl_application_data_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_random.texi0000644000000000000000000000057213521017400014600 00000000000000@subheading gsasl_random @anchor{gsasl_random} @deftypefun {int} {gsasl_random} (char * @var{data}, size_t @var{datalen}) @var{data}: output array to be filled with strong random data. @var{datalen}: size of output array. Store cryptographically strong random data of given size in the provided buffer. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_step.texi0000644000000000000000000000244213521017410014272 00000000000000@subheading gsasl_step @anchor{gsasl_step} @deftypefun {int} {gsasl_step} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char ** @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: newly allocated output byte array. @var{output_len}: pointer to output variable with size of output byte array. Perform one step of SASL authentication. This reads data from the other end (from @code{input} and @code{input_len} ), processes it (potentially invoking callbacks to the application), and writes data to server (into newly allocated variable @code{output} and @code{output_len} that indicate the length of @code{output} ). The contents of the @code{output} buffer is unspecified if this functions returns anything other than @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} . If this function return @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} , however, the @code{output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( @code{output} ). Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_session_hook_set.texi0000644000000000000000000000113113521017377016703 00000000000000@subheading gsasl_session_hook_set @anchor{gsasl_session_hook_set} @deftypefun {void} {gsasl_session_hook_set} (Gsasl_session * @var{sctx}, void * @var{hook}) @var{sctx}: libgsasl session handle. @var{hook}: opaque pointer to application specific data. Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_session_hook_get()} . This is normally used by the application to maintain a per-session state between the main program and callbacks. @strong{Since:} 0.2.14 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_validate_get.texi0000644000000000000000000000127713521017404021161 00000000000000@subheading gsasl_server_callback_validate_get @anchor{gsasl_server_callback_validate_get} @deftypefun {Gsasl_server_callback_validate} {gsasl_server_callback_validate_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_validate_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_validate_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_cipher_get.texi0000644000000000000000000000126313521017406020637 00000000000000@subheading gsasl_server_callback_cipher_get @anchor{gsasl_server_callback_cipher_get} @deftypefun {Gsasl_server_callback_cipher} {gsasl_server_callback_cipher_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_cipher_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_cipher_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_listmech.texi0000644000000000000000000000130313521017401016460 00000000000000@subheading gsasl_client_listmech @anchor{gsasl_client_listmech} @deftypefun {int} {gsasl_client_listmech} (Gsasl * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output character array. @var{outlen}: input maximum size of output character array, on output contains actual length of output array. Write SASL names, separated by space, of mechanisms supported by the libgsasl client to the output array. To find out how large the output array must be, call this function with a NULL @code{out} parameter. Return value: Returns @code{GSASL_OK} if successful, or error code. @strong{Deprecated:} Use @code{gsasl_client_mechlist()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_support_p.texi0000644000000000000000000000062013521017410016704 00000000000000@subheading gsasl_client_support_p @anchor{gsasl_client_support_p} @deftypefun {int} {gsasl_client_support_p} (Gsasl * @var{ctx}, const char * @var{name}) @var{ctx}: libgsasl handle. @var{name}: name of SASL mechanism. Decide whether there is client-side support for a specified mechanism. Return value: Returns 1 if the libgsasl client supports the named mechanism, otherwise 0. @end deftypefun gsasl-1.8.1/doc/texi/xfinish.c.texi0000644000000000000000000000043513521017411014020 00000000000000@subheading gsasl_finish @anchor{gsasl_finish} @deftypefun {void} {gsasl_finish} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. Destroy a libgsasl client or server handle. The handle must not be used with other libgsasl functions after this call. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_mechlist.texi0000644000000000000000000000103213521017400016456 00000000000000@subheading gsasl_client_mechlist @anchor{gsasl_client_mechlist} @deftypefun {int} {gsasl_client_mechlist} (Gsasl * @var{ctx}, char ** @var{out}) @var{ctx}: libgsasl handle. @var{out}: newly allocated output character array. Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl client. @code{out} is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_suggest_mechanism.texi0000644000000000000000000000106613521017410020363 00000000000000@subheading gsasl_client_suggest_mechanism @anchor{gsasl_client_suggest_mechanism} @deftypefun {const char *} {gsasl_client_suggest_mechanism} (Gsasl * @var{ctx}, const char * @var{mechlist}) @var{ctx}: libgsasl handle. @var{mechlist}: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). Given a list of mechanisms, suggest which to use. Return value: Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string, or NULL if no supported mechanism is found. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_external_get.texi0000644000000000000000000000127713521017405021213 00000000000000@subheading gsasl_server_callback_external_get @anchor{gsasl_server_callback_external_get} @deftypefun {Gsasl_server_callback_external} {gsasl_server_callback_external_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_external_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_external_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/md5pwd.c.texi0000644000000000000000000000176713521017411013561 00000000000000@subheading gsasl_simple_getpass @anchor{gsasl_simple_getpass} @deftypefun {int} {gsasl_simple_getpass} (const char * @var{filename}, const char * @var{username}, char ** @var{key}) @var{filename}: filename of file containing passwords. @var{username}: username string. @var{key}: newly allocated output character array. Retrieve password for user from specified file. The buffer @code{key} contain the password if this function is successful. The caller is responsible for deallocating it. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return @code{GSASL_OK} if output buffer contains the password, @code{GSASL_AUTHENTICATION_ERROR} if the user could not be found, or other error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_nonce.texi0000644000000000000000000000055413521017377014437 00000000000000@subheading gsasl_nonce @anchor{gsasl_nonce} @deftypefun {int} {gsasl_nonce} (char * @var{data}, size_t @var{datalen}) @var{data}: output array to be filled with unpredictable random data. @var{datalen}: size of output array. Store unpredictable data of given size in the provided buffer. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_session_hook_get.texi0000644000000000000000000000102513521017377016671 00000000000000@subheading gsasl_session_hook_get @anchor{gsasl_session_hook_get} @deftypefun {void *} {gsasl_session_hook_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. Retrieve application specific data from libgsasl session handle. The application data is set using @code{gsasl_callback_hook_set()} . This is normally used by the application to maintain a per-session state between the main program and callbacks. Return value: Returns the application specific data, or NULL. @strong{Since:} 0.2.14 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_application_data_get.texi0000644000000000000000000000120013521017402021030 00000000000000@subheading gsasl_server_application_data_get @anchor{gsasl_server_application_data_get} @deftypefun {void *} {gsasl_server_application_data_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl server handle. Retrieve application specific data from libgsasl server handle. The application data is set using @code{gsasl_server_application_data_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} or @code{gsasl_session_hook_get()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_securid_get.texi0000644000000000000000000000127113521017406021022 00000000000000@subheading gsasl_server_callback_securid_get @anchor{gsasl_server_callback_securid_get} @deftypefun {Gsasl_server_callback_securid} {gsasl_server_callback_securid_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_securid_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_securid_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_application_data_set.texi0000644000000000000000000000133713521017401021026 00000000000000@subheading gsasl_client_application_data_set @anchor{gsasl_client_application_data_set} @deftypefun {void} {gsasl_client_application_data_set} (Gsasl_session * @var{sctx}, void * @var{application_data}) @var{sctx}: libgsasl client handle. @var{application_data}: opaque pointer to application specific data. Store application specific data in the libgsasl client handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_client_application_data_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} or @code{gsasl_session_hook_set()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_realm_get.texi0000644000000000000000000000125513521017404020434 00000000000000@subheading gsasl_client_callback_realm_get @anchor{gsasl_client_callback_realm_get} @deftypefun {Gsasl_client_callback_realm} {gsasl_client_callback_realm_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_realm_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_realm_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_qop_get.texi0000644000000000000000000000124113521017406020160 00000000000000@subheading gsasl_server_callback_qop_get @anchor{gsasl_server_callback_qop_get} @deftypefun {Gsasl_server_callback_qop} {gsasl_server_callback_qop_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_qop_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_qop_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_anonymous_set.texi0000644000000000000000000000140313521017404021373 00000000000000@subheading gsasl_client_callback_anonymous_set @anchor{gsasl_client_callback_anonymous_set} @deftypefun {void} {gsasl_client_callback_anonymous_set} (Gsasl * @var{ctx}, Gsasl_client_callback_anonymous @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the anonymous token, which usually is the users email address. The function can be later retrieved using @code{gsasl_client_callback_anonymous_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/error.c.texi0000644000000000000000000000240413521017410013476 00000000000000@subheading gsasl_strerror @anchor{gsasl_strerror} @deftypefun {const char *} {gsasl_strerror} (int @var{err}) @var{err}: libgsasl error code Convert return code to human readable string explanation of the reason for the particular error code. This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to @code{gsasl_init()} . Return value: Returns a pointer to a statically allocated string containing an explanation of the error code @code{err} . @end deftypefun @subheading gsasl_strerror_name @anchor{gsasl_strerror_name} @deftypefun {const char *} {gsasl_strerror_name} (int @var{err}) @var{err}: libgsasl error code Convert return code to human readable string representing the error code symbol itself. For example, gsasl_strerror_name(@code{GSASL_OK} ) returns the string "GSASL_OK". This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to @code{gsasl_init()} . Return value: Returns a pointer to a statically allocated string containing a string version of the error code @code{err} , or NULL if the error code is not known. @strong{Since:} 0.2.29 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_password_get.texi0000644000000000000000000000127713521017403021201 00000000000000@subheading gsasl_client_callback_password_get @anchor{gsasl_client_callback_password_get} @deftypefun {Gsasl_client_callback_password} {gsasl_client_callback_password_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_password_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_password_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_service_get.texi0000644000000000000000000000127113521017406021024 00000000000000@subheading gsasl_server_callback_service_get @anchor{gsasl_server_callback_service_get} @deftypefun {Gsasl_server_callback_service} {gsasl_server_callback_service_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_service_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_service_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_base64_from.texi0000644000000000000000000000121513521017377015437 00000000000000@subheading gsasl_base64_from @anchor{gsasl_base64_from} @deftypefun {int} {gsasl_base64_from} (const char * @var{in}, size_t @var{inlen}, char ** @var{out}, size_t * @var{outlen}) @var{in}: input byte array @var{inlen}: size of input byte array @var{out}: pointer to newly allocated output byte array @var{outlen}: pointer to size of newly allocated output byte array Decode Base64 data. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} on success, @code{GSASL_BASE64_ERROR} if input was invalid, and @code{GSASL_MALLOC_ERROR} on memory allocation errors. @strong{Since:} 0.2.2 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_appinfo_get.texi0000644000000000000000000000103713521017403015613 00000000000000@subheading gsasl_appinfo_get @anchor{gsasl_appinfo_get} @deftypefun {void *} {gsasl_appinfo_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. Retrieve application specific data from libgsasl session handle. The application data is set using @code{gsasl_appinfo_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_appinfo_set.texi0000644000000000000000000000115213521017402015624 00000000000000@subheading gsasl_appinfo_set @anchor{gsasl_appinfo_set} @deftypefun {void} {gsasl_appinfo_set} (Gsasl_session * @var{sctx}, void * @var{appdata}) @var{sctx}: libgsasl session handle. @var{appdata}: opaque pointer to application specific data. Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_appinfo_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_mechlist.texi0000644000000000000000000000103213521017400016506 00000000000000@subheading gsasl_server_mechlist @anchor{gsasl_server_mechlist} @deftypefun {int} {gsasl_server_mechlist} (Gsasl * @var{ctx}, char ** @var{out}) @var{ctx}: libgsasl handle. @var{out}: newly allocated output character array. Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl server. @code{out} is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_md5.texi0000644000000000000000000000074413521017400014006 00000000000000@subheading gsasl_md5 @anchor{gsasl_md5} @deftypefun {int} {gsasl_md5} (const char * @var{in}, size_t @var{inlen}, char * [] @var{out}) @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{out}: newly allocated 16-byte character array with hash of data. Compute hash of data using MD5. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_encode_inline.texi0000644000000000000000000000132713521017402016114 00000000000000@subheading gsasl_encode_inline @anchor{gsasl_encode_inline} @deftypefun {int} {gsasl_encode_inline} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @strong{Deprecated:} Use @code{gsasl_encode()} instead. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/done.c.texi0000644000000000000000000000040313521017410013267 00000000000000@subheading gsasl_done @anchor{gsasl_done} @deftypefun {void} {gsasl_done} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. This function destroys a libgsasl handle. The handle must not be used with other libgsasl functions after this call. @end deftypefun gsasl-1.8.1/doc/texi/suggest.c.texi0000644000000000000000000000106613521017411014032 00000000000000@subheading gsasl_client_suggest_mechanism @anchor{gsasl_client_suggest_mechanism} @deftypefun {const char *} {gsasl_client_suggest_mechanism} (Gsasl * @var{ctx}, const char * @var{mechlist}) @var{ctx}: libgsasl handle. @var{mechlist}: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). Given a list of mechanisms, suggest which to use. Return value: Returns name of "best" SASL mechanism supported by the libgsasl client which is present in the input string, or NULL if no supported mechanism is found. @end deftypefun gsasl-1.8.1/doc/texi/xstart.c.texi0000644000000000000000000000175613521017411013704 00000000000000@subheading gsasl_client_start @anchor{gsasl_client_start} @deftypefun {int} {gsasl_client_start} (Gsasl * @var{ctx}, const char * @var{mech}, Gsasl_session ** @var{sctx}) @var{ctx}: libgsasl handle. @var{mech}: name of SASL mechanism. @var{sctx}: pointer to client handle. This functions initiates a client SASL authentication. This function must be called before any other gsasl_client_*() function is called. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun @subheading gsasl_server_start @anchor{gsasl_server_start} @deftypefun {int} {gsasl_server_start} (Gsasl * @var{ctx}, const char * @var{mech}, Gsasl_session ** @var{sctx}) @var{ctx}: libgsasl handle. @var{mech}: name of SASL mechanism. @var{sctx}: pointer to server handle. This functions initiates a server SASL authentication. This function must be called before any other gsasl_server_*() function is called. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_hmac_sha1.texi0000644000000000000000000000131513521017400015140 00000000000000@subheading gsasl_hmac_sha1 @anchor{gsasl_hmac_sha1} @deftypefun {int} {gsasl_hmac_sha1} (const char * @var{key}, size_t @var{keylen}, const char * @var{in}, size_t @var{inlen}, char * [] @var{outhash}) @var{key}: input character array with key to use. @var{keylen}: length of input character array with key to use. @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{outhash}: newly allocated 20-byte character array with keyed hash of data. Compute keyed checksum of data using HMAC-SHA1. The @code{outhash} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @strong{Since:} 1.3 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_stringprep_trace.texi0000644000000000000000000000151613521017407016701 00000000000000@subheading gsasl_stringprep_trace @anchor{gsasl_stringprep_trace} @deftypefun {char *} {gsasl_stringprep_trace} (const char * @var{in}, int * @var{stringprep_rc}) @var{in}: input ASCII or UTF-8 string with data to prepare according to "trace". @var{stringprep_rc}: pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. Process a Unicode string for use as trace information, according to the "trace" stringprep profile. The profile is designed for use with the SASL ANONYMOUS Mechanism. Return value: Return a newly allocated string that is the "trace" processed form of the input string, or NULL on error, in which case @code{stringprep_rc} contain the stringprep library error code. @strong{Deprecated:} No replacement functionality in GNU SASL, use GNU Libidn instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_callback.texi0000644000000000000000000000221713521017377015067 00000000000000@subheading gsasl_callback @anchor{gsasl_callback} @deftypefun {int} {gsasl_callback} (Gsasl * @var{ctx}, Gsasl_session * @var{sctx}, Gsasl_property @var{prop}) @var{ctx}: handle received from @code{gsasl_init()} , may be NULL to derive it from @code{sctx} . @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type. Invoke the application callback. The @code{prop} value indicate what the callback is expected to do. For example, for @code{GSASL_ANONYMOUS_TOKEN} , the function is expected to invoke gsasl_property_set( @code{SCTX} , @code{GSASL_ANONYMOUS_TOKEN} , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. Note that if no callback has been set by the application, but the obsolete callback interface has been used, this function will translate the old callback interface into the new. This interface should be sufficient to invoke all callbacks, both new and old. Return value: Returns whatever the application callback returns, or @code{GSASL_NO_CALLBACK} if no application was known. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_saslprep.texi0000644000000000000000000000123613521017407015156 00000000000000@subheading gsasl_saslprep @anchor{gsasl_saslprep} @deftypefun {int} {gsasl_saslprep} (const char * @var{in}, Gsasl_saslprep_flags @var{flags}, char ** @var{out}, int * @var{stringpreprc}) @var{in}: a UTF-8 encoded string. @var{flags}: any SASLprep flag, e.g., @code{GSASL_ALLOW_UNASSIGNED} . @var{out}: on exit, contains newly allocated output string. @var{stringpreprc}: if non-NULL, will hold precise stringprep return code. Prepare string using SASLprep. On success, the @code{out} variable must be deallocated by the caller. Return value: Returns @code{GSASL_OK} on success, or @code{GSASL_SASLPREP_ERROR} on error. @strong{Since:} 0.2.3 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_strerror_name.texi0000644000000000000000000000131513521017400016176 00000000000000@subheading gsasl_strerror_name @anchor{gsasl_strerror_name} @deftypefun {const char *} {gsasl_strerror_name} (int @var{err}) @var{err}: libgsasl error code Convert return code to human readable string representing the error code symbol itself. For example, gsasl_strerror_name(@code{GSASL_OK} ) returns the string "GSASL_OK". This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to @code{gsasl_init()} . Return value: Returns a pointer to a statically allocated string containing a string version of the error code @code{err} , or NULL if the error code is not known. @strong{Since:} 0.2.29 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_authentication_id_set.texi0000644000000000000000000000142313521017403023037 00000000000000@subheading gsasl_client_callback_authentication_id_set @anchor{gsasl_client_callback_authentication_id_set} @deftypefun {void} {gsasl_client_callback_authentication_id_set} (Gsasl * @var{ctx}, Gsasl_client_callback_authentication_id @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the authentication identity. The function can be later retrieved using @code{gsasl_client_callback_authentication_id_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_service_set.texi0000644000000000000000000000165213521017404021011 00000000000000@subheading gsasl_client_callback_service_set @anchor{gsasl_client_callback_service_set} @deftypefun {void} {gsasl_client_callback_service_set} (Gsasl * @var{ctx}, Gsasl_client_callback_service @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. Servicename is used by DIGEST-MD5 and should be the name of generic server in case of a replicated service. The function can be later retrieved using @code{gsasl_client_callback_service_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_digest_md5_set.texi0000644000000000000000000000145213521017405021424 00000000000000@subheading gsasl_server_callback_digest_md5_set @anchor{gsasl_server_callback_digest_md5_set} @deftypefun {void} {gsasl_server_callback_digest_md5_set} (Gsasl * @var{ctx}, Gsasl_server_callback_digest_md5 @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for retrieving the secret hash of the username, realm and password for use in the DIGEST-MD5 mechanism. The function can be later retrieved using @code{gsasl_server_callback_digest_md5_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_step_base64.texi0000644000000000000000000000124113521017401017020 00000000000000@subheading gsasl_server_step_base64 @anchor{gsasl_server_step_base64} @deftypefun {int} {gsasl_server_step_base64} (Gsasl_session * @var{sctx}, const char * @var{b64input}, char * @var{b64output}, size_t @var{b64output_len}) @var{sctx}: libgsasl server handle. @var{b64input}: input base64 encoded byte array. @var{b64output}: output base64 encoded byte array. @var{b64output_len}: size of output base64 encoded byte array. This is a simple wrapper around @code{gsasl_server_step()} that base64 decodes the input and base64 encodes the output. Return value: See @code{gsasl_server_step()} . @strong{Deprecated:} Use @code{gsasl_step64()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_start.texi0000644000000000000000000000076713521017410016052 00000000000000@subheading gsasl_server_start @anchor{gsasl_server_start} @deftypefun {int} {gsasl_server_start} (Gsasl * @var{ctx}, const char * @var{mech}, Gsasl_session ** @var{sctx}) @var{ctx}: libgsasl handle. @var{mech}: name of SASL mechanism. @var{sctx}: pointer to server handle. This functions initiates a server SASL authentication. This function must be called before any other gsasl_server_*() function is called. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_service_set.texi0000644000000000000000000000147713521017406021050 00000000000000@subheading gsasl_server_callback_service_set @anchor{gsasl_server_callback_service_set} @deftypefun {void} {gsasl_server_callback_service_set} (Gsasl * @var{ctx}, Gsasl_server_callback_service @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. The function can be later retrieved using @code{gsasl_server_callback_service_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_check_version.texi0000644000000000000000000000134313521017410016140 00000000000000@subheading gsasl_check_version @anchor{gsasl_check_version} @deftypefun {const char *} {gsasl_check_version} (const char * @var{req_version}) @var{req_version}: version string to compare with, or NULL. Check GNU SASL Library version. See @code{GSASL_VERSION} for a suitable @code{req_version} string. This function is one of few in the library that can be used without a successful call to @code{gsasl_init()} . Return value: Check that the version of the library is at minimum the one given as a string in @code{req_version} and return the actual version string of the library; return NULL if the condition is not met. If NULL is passed to this function no check is done and only the version string is returned. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_maxbuf_get.texi0000644000000000000000000000126313521017404020615 00000000000000@subheading gsasl_client_callback_maxbuf_get @anchor{gsasl_client_callback_maxbuf_get} @deftypefun {Gsasl_client_callback_maxbuf} {gsasl_client_callback_maxbuf_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_maxbuf_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_maxbuf_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_callback_set.texi0000644000000000000000000000162713521017377015746 00000000000000@subheading gsasl_callback_set @anchor{gsasl_callback_set} @deftypefun {void} {gsasl_callback_set} (Gsasl * @var{ctx}, Gsasl_callback_function @var{cb}) @var{ctx}: handle received from @code{gsasl_init()} . @var{cb}: pointer to function implemented by application. Store the pointer to the application provided callback in the library handle. The callback will be used, via @code{gsasl_callback()} , by mechanisms to discover various parameters (such as username and passwords). The callback function will be called with a Gsasl_property value indicating the requested behaviour. For example, for @code{GSASL_ANONYMOUS_TOKEN} , the function is expected to invoke gsasl_property_set( @code{CTX} , @code{GSASL_ANONYMOUS_TOKEN} , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_authentication_id_get.texi0000644000000000000000000000136513521017403023030 00000000000000@subheading gsasl_client_callback_authentication_id_get @anchor{gsasl_client_callback_authentication_id_get} @deftypefun {Gsasl_client_callback_authentication_id} {gsasl_client_callback_authentication_id_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_authentication_id_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_authentication_id_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_finish.texi0000644000000000000000000000043513521017410014577 00000000000000@subheading gsasl_finish @anchor{gsasl_finish} @deftypefun {void} {gsasl_finish} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. Destroy a libgsasl client or server handle. The handle must not be used with other libgsasl functions after this call. @end deftypefun gsasl-1.8.1/doc/texi/mechtools.c.texi0000644000000000000000000000000013521017411014331 00000000000000gsasl-1.8.1/doc/texi/gsasl_callback_hook_get.texi0000644000000000000000000000077013521017377016750 00000000000000@subheading gsasl_callback_hook_get @anchor{gsasl_callback_hook_get} @deftypefun {void *} {gsasl_callback_hook_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Retrieve application specific data from libgsasl handle. The application data is set using @code{gsasl_callback_hook_set()} . This is normally used by the application to maintain a global state between the main program and callbacks. Return value: Returns the application specific data, or NULL. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_application_data_set.texi0000644000000000000000000000133713521017402021057 00000000000000@subheading gsasl_server_application_data_set @anchor{gsasl_server_application_data_set} @deftypefun {void} {gsasl_server_application_data_set} (Gsasl_session * @var{sctx}, void * @var{application_data}) @var{sctx}: libgsasl server handle. @var{application_data}: opaque pointer to application specific data. Store application specific data in the libgsasl server handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_server_application_data_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} or @code{gsasl_session_hook_set()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_password_set.texi0000644000000000000000000000131513521017403021206 00000000000000@subheading gsasl_client_callback_password_set @anchor{gsasl_client_callback_password_set} @deftypefun {void} {gsasl_client_callback_password_set} (Gsasl * @var{ctx}, Gsasl_client_callback_password @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the password. The function can be later retrieved using @code{gsasl_client_callback_password_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_ctx_get.texi0000644000000000000000000000061313521017402016341 00000000000000@subheading gsasl_server_ctx_get @anchor{gsasl_server_ctx_get} @deftypefun {Gsasl *} {gsasl_server_ctx_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl server handle Get the libgsasl handle given a libgsasl server handle. Return value: Returns the libgsasl handle given a libgsasl server handle. @strong{Deprecated:} This function is not useful with the new 0.2.0 API. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_sha1.texi0000644000000000000000000000077513521017400014161 00000000000000@subheading gsasl_sha1 @anchor{gsasl_sha1} @deftypefun {int} {gsasl_sha1} (const char * @var{in}, size_t @var{inlen}, char * [] @var{out}) @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{out}: newly allocated 20-byte character array with hash of data. Compute hash of data using SHA1. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @strong{Since:} 1.3 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_mechanism_name.texi0000644000000000000000000000071713521017401016266 00000000000000@subheading gsasl_mechanism_name @anchor{gsasl_mechanism_name} @deftypefun {const char *} {gsasl_mechanism_name} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. This function returns the name of the SASL mechanism used in the session. The pointer must not be deallocated by the caller. Return value: Returns a zero terminated character array with the name of the SASL mechanism, or NULL if not known. @strong{Since:} 0.2.28 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_hmac_md5.texi0000644000000000000000000000126413521017400014774 00000000000000@subheading gsasl_hmac_md5 @anchor{gsasl_hmac_md5} @deftypefun {int} {gsasl_hmac_md5} (const char * @var{key}, size_t @var{keylen}, const char * @var{in}, size_t @var{inlen}, char * [] @var{outhash}) @var{key}: input character array with key to use. @var{keylen}: length of input character array with key to use. @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{outhash}: newly allocated 16-byte character array with keyed hash of data. Compute keyed checksum of data using HMAC-MD5. The @code{outhash} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_gssapi_set.texi0000644000000000000000000000162613521017406020672 00000000000000@subheading gsasl_server_callback_gssapi_set @anchor{gsasl_server_callback_gssapi_set} @deftypefun {void} {gsasl_server_callback_gssapi_set} (Gsasl * @var{ctx}, Gsasl_server_callback_gssapi @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for checking if a GSSAPI user is authorized for username (by, e.g., calling krb5_kuserok). The function should return GSASL_OK if the user should be permitted access, or an error code such as GSASL_AUTHENTICATION_ERROR on failure. The function can be later retrieved using @code{gsasl_server_callback_gssapi_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/free.c.texi0000644000000000000000000000102213521017410013261 00000000000000@subheading gsasl_free @anchor{gsasl_free} @deftypefun {void} {gsasl_free} (void * @var{ptr}) @var{ptr}: memory pointer Invoke free( @code{ptr} ) to de-allocate memory pointer. Typically used on strings allocated by other libgsasl functions. This is useful on Windows where libgsasl is linked to one CRT and the application is linked to another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio. @strong{Since:} 0.2.19 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_decode_inline.texi0000644000000000000000000000132713521017402016102 00000000000000@subheading gsasl_decode_inline @anchor{gsasl_decode_inline} @deftypefun {int} {gsasl_decode_inline} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @strong{Deprecated:} Use @code{gsasl_decode()} instead. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_cipher_set.texi0000644000000000000000000000153013521017406020650 00000000000000@subheading gsasl_server_callback_cipher_set @anchor{gsasl_server_callback_cipher_set} @deftypefun {void} {gsasl_server_callback_cipher_set} (Gsasl * @var{ctx}, Gsasl_server_callback_cipher @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to inform the client of the cipher suites supported. The DES and 3DES ciphers must be supported for interoperability. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using @code{gsasl_server_callback_cipher_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_callback_hook_set.texi0000644000000000000000000000107513521017377016763 00000000000000@subheading gsasl_callback_hook_set @anchor{gsasl_callback_hook_set} @deftypefun {void} {gsasl_callback_hook_set} (Gsasl * @var{ctx}, void * @var{hook}) @var{ctx}: libgsasl handle. @var{hook}: opaque pointer to application specific data. Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_callback_hook_get()} . This is normally used by the application to maintain a global state between the main program and callbacks. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/supportp.c.texi0000644000000000000000000000144013521017411014241 00000000000000@subheading gsasl_client_support_p @anchor{gsasl_client_support_p} @deftypefun {int} {gsasl_client_support_p} (Gsasl * @var{ctx}, const char * @var{name}) @var{ctx}: libgsasl handle. @var{name}: name of SASL mechanism. Decide whether there is client-side support for a specified mechanism. Return value: Returns 1 if the libgsasl client supports the named mechanism, otherwise 0. @end deftypefun @subheading gsasl_server_support_p @anchor{gsasl_server_support_p} @deftypefun {int} {gsasl_server_support_p} (Gsasl * @var{ctx}, const char * @var{name}) @var{ctx}: libgsasl handle. @var{name}: name of SASL mechanism. Decide whether there is server-side support for a specified mechanism. Return value: Returns 1 if the libgsasl server supports the named mechanism, otherwise 0. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_step_base64.texi0000644000000000000000000000124113521017401016770 00000000000000@subheading gsasl_client_step_base64 @anchor{gsasl_client_step_base64} @deftypefun {int} {gsasl_client_step_base64} (Gsasl_session * @var{sctx}, const char * @var{b64input}, char * @var{b64output}, size_t @var{b64output_len}) @var{sctx}: libgsasl client handle. @var{b64input}: input base64 encoded byte array. @var{b64output}: output base64 encoded byte array. @var{b64output_len}: size of output base64 encoded byte array. This is a simple wrapper around @code{gsasl_client_step()} that base64 decodes the input and base64 encodes the output. Return value: See @code{gsasl_client_step()} . @strong{Deprecated:} Use @code{gsasl_step64()} instead. @end deftypefun gsasl-1.8.1/doc/texi/init.c.texi0000644000000000000000000000071013521017410013306 00000000000000@subheading gsasl_init @anchor{gsasl_init} @deftypefun {int} {gsasl_init} (Gsasl ** @var{ctx}) @var{ctx}: pointer to libgsasl handle. This functions initializes libgsasl. The handle pointed to by ctx is valid for use with other libgsasl functions iff this function is successful. It also register all builtin SASL mechanisms, using @code{gsasl_register()} . Return value: GSASL_OK iff successful, otherwise @code{GSASL_MALLOC_ERROR} . @end deftypefun gsasl-1.8.1/doc/texi/gsasl_step64.texi0000644000000000000000000000172613521017410014450 00000000000000@subheading gsasl_step64 @anchor{gsasl_step64} @deftypefun {int} {gsasl_step64} (Gsasl_session * @var{sctx}, const char * @var{b64input}, char ** @var{b64output}) @var{sctx}: libgsasl client handle. @var{b64input}: input base64 encoded byte array. @var{b64output}: newly allocated output base64 encoded byte array. This is a simple wrapper around @code{gsasl_step()} that base64 decodes the input and base64 encodes the output. The contents of the @code{b64output} buffer is unspecified if this functions returns anything other than @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} . If this function return @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} , however, the @code{b64output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( @code{b64output} ). Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_pin_get.texi0000644000000000000000000000124113521017403020114 00000000000000@subheading gsasl_client_callback_pin_get @anchor{gsasl_client_callback_pin_get} @deftypefun {Gsasl_client_callback_pin} {gsasl_client_callback_pin_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_pin_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_pin_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_encode.texi0000644000000000000000000000142613521017410014555 00000000000000@subheading gsasl_encode @anchor{gsasl_encode} @deftypefun {int} {gsasl_encode} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char ** @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: newly allocated output byte array. @var{output_len}: size of output byte array. Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The @code{output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( @code{output} ). Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_step.texi0000644000000000000000000000175613521017401015667 00000000000000@subheading gsasl_server_step @anchor{gsasl_server_step} @deftypefun {int} {gsasl_server_step} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl server handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Perform one step of SASL authentication in server. This reads data from client (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to client (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than @code{GSASL_NEEDS_MORE} . Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @strong{Deprecated:} Use @code{gsasl_step()} instead. @end deftypefun gsasl-1.8.1/doc/texi/doxygen.c.texi0000644000000000000000000000000013521017410014010 00000000000000gsasl-1.8.1/doc/texi/gsasl_stringprep_nfkc.texi0000644000000000000000000000241113521017407016517 00000000000000@subheading gsasl_stringprep_nfkc @anchor{gsasl_stringprep_nfkc} @deftypefun {char *} {gsasl_stringprep_nfkc} (const char * @var{in}, ssize_t @var{len}) @var{in}: a UTF-8 encoded string. @var{len}: length of @code{str} , in bytes, or -1 if @code{str} is nul-terminated. Converts a string into canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. The normalization mode is NFKC (ALL COMPOSE). It standardizes differences that do not affect the text content, such as the above-mentioned accent representation. It standardizes the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same. It returns a result with composed forms rather than a maximally decomposed form. Return value: Return a newly allocated string, that is the NFKC normalized form of @code{str} , or NULL on error. @strong{Deprecated:} No replacement functionality in GNU SASL, use GNU Libidn instead. Note that in SASL, you most likely want to use SASLprep and not bare NFKC, see @code{gsasl_saslprep()} . @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_authorization_id_set.texi0000644000000000000000000000141413521017403022720 00000000000000@subheading gsasl_client_callback_authorization_id_set @anchor{gsasl_client_callback_authorization_id_set} @deftypefun {void} {gsasl_client_callback_authorization_id_set} (Gsasl * @var{ctx}, Gsasl_client_callback_authorization_id @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the authorization identity. The function can be later retrieved using @code{gsasl_client_callback_authorization_id_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_pin_set.texi0000644000000000000000000000146313521017403020136 00000000000000@subheading gsasl_client_callback_pin_set @anchor{gsasl_client_callback_pin_set} @deftypefun {void} {gsasl_client_callback_pin_set} (Gsasl * @var{ctx}, Gsasl_client_callback_pin @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to chose a new pin, possibly suggested by the server, for the SECURID mechanism. This is not normally invoked, but only when the server requests it. The function can be later retrieved using @code{gsasl_client_callback_pin_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_step.texi0000644000000000000000000000175613521017401015637 00000000000000@subheading gsasl_client_step @anchor{gsasl_client_step} @deftypefun {int} {gsasl_client_step} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl client handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Perform one step of SASL authentication in client. This reads data from server (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to server (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than @code{GSASL_NEEDS_MORE} . Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @strong{Deprecated:} Use @code{gsasl_step()} instead. @end deftypefun gsasl-1.8.1/doc/texi/crypto.c.texi0000644000000000000000000000611013521017410013663 00000000000000@subheading gsasl_nonce @anchor{gsasl_nonce} @deftypefun {int} {gsasl_nonce} (char * @var{data}, size_t @var{datalen}) @var{data}: output array to be filled with unpredictable random data. @var{datalen}: size of output array. Store unpredictable data of given size in the provided buffer. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun @subheading gsasl_random @anchor{gsasl_random} @deftypefun {int} {gsasl_random} (char * @var{data}, size_t @var{datalen}) @var{data}: output array to be filled with strong random data. @var{datalen}: size of output array. Store cryptographically strong random data of given size in the provided buffer. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun @subheading gsasl_md5 @anchor{gsasl_md5} @deftypefun {int} {gsasl_md5} (const char * @var{in}, size_t @var{inlen}, char * [] @var{out}) @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{out}: newly allocated 16-byte character array with hash of data. Compute hash of data using MD5. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun @subheading gsasl_hmac_md5 @anchor{gsasl_hmac_md5} @deftypefun {int} {gsasl_hmac_md5} (const char * @var{key}, size_t @var{keylen}, const char * @var{in}, size_t @var{inlen}, char * [] @var{outhash}) @var{key}: input character array with key to use. @var{keylen}: length of input character array with key to use. @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{outhash}: newly allocated 16-byte character array with keyed hash of data. Compute keyed checksum of data using HMAC-MD5. The @code{outhash} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @end deftypefun @subheading gsasl_sha1 @anchor{gsasl_sha1} @deftypefun {int} {gsasl_sha1} (const char * @var{in}, size_t @var{inlen}, char * [] @var{out}) @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{out}: newly allocated 20-byte character array with hash of data. Compute hash of data using SHA1. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @strong{Since:} 1.3 @end deftypefun @subheading gsasl_hmac_sha1 @anchor{gsasl_hmac_sha1} @deftypefun {int} {gsasl_hmac_sha1} (const char * @var{key}, size_t @var{keylen}, const char * @var{in}, size_t @var{inlen}, char * [] @var{outhash}) @var{key}: input character array with key to use. @var{keylen}: length of input character array with key to use. @var{in}: input character array of data to hash. @var{inlen}: length of input character array of data to hash. @var{outhash}: newly allocated 20-byte character array with keyed hash of data. Compute keyed checksum of data using HMAC-SHA1. The @code{outhash} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} iff successful. @strong{Since:} 1.3 @end deftypefun gsasl-1.8.1/doc/texi/mechname.c.texi0000644000000000000000000000071713521017411014130 00000000000000@subheading gsasl_mechanism_name @anchor{gsasl_mechanism_name} @deftypefun {const char *} {gsasl_mechanism_name} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. This function returns the name of the SASL mechanism used in the session. The pointer must not be deallocated by the caller. Return value: Returns a zero terminated character array with the name of the SASL mechanism, or NULL if not known. @strong{Since:} 0.2.28 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_property_fast.texi0000644000000000000000000000116613521017407016230 00000000000000@subheading gsasl_property_fast @anchor{gsasl_property_fast} @deftypefun {const char *} {gsasl_property_fast} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . Retrieve the data stored in the session handle for given property @code{prop} . The pointer is to live data, and must not be deallocated or modified in any way. This function will not invoke the application callback. Return value: Return property value, if known, or NULL if no value known. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_anonymous_get.texi0000644000000000000000000000130513521017405021411 00000000000000@subheading gsasl_server_callback_anonymous_get @anchor{gsasl_server_callback_anonymous_get} @deftypefun {Gsasl_server_callback_anonymous} {gsasl_server_callback_anonymous_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_anonymous_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_anonymous_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_application_data_set.texi0000644000000000000000000000116513521017402017470 00000000000000@subheading gsasl_application_data_set @anchor{gsasl_application_data_set} @deftypefun {void} {gsasl_application_data_set} (Gsasl * @var{ctx}, void * @var{appdata}) @var{ctx}: libgsasl handle. @var{appdata}: opaque pointer to application specific data. Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_application_data_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} instead. @end deftypefun gsasl-1.8.1/doc/texi/register.c.texi0000644000000000000000000000075113521017411014175 00000000000000@subheading gsasl_register @anchor{gsasl_register} @deftypefun {int} {gsasl_register} (Gsasl * @var{ctx}, const Gsasl_mechanism * @var{mech}) @var{ctx}: pointer to libgsasl handle. @var{mech}: plugin structure with information about plugin. This function initialize given mechanism, and if successful, add it to the list of plugins that is used by the library. Return value: @code{GSASL_OK} iff successful, otherwise @code{GSASL_MALLOC_ERROR} . @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_property_set.texi0000644000000000000000000000120113521017407016054 00000000000000@subheading gsasl_property_set @anchor{gsasl_property_set} @deftypefun {void} {gsasl_property_set} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}, const char * @var{data}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . @var{data}: zero terminated character string to store. Make a copy of @code{data} and store it in the session handle for the indicated property @code{prop} . You can immediately deallocate @code{data} after calling this function, without affecting the data stored in the session handle. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/xstep.c.texi0000644000000000000000000000437013521017411013515 00000000000000@subheading gsasl_step @anchor{gsasl_step} @deftypefun {int} {gsasl_step} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char ** @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: newly allocated output byte array. @var{output_len}: pointer to output variable with size of output byte array. Perform one step of SASL authentication. This reads data from the other end (from @code{input} and @code{input_len} ), processes it (potentially invoking callbacks to the application), and writes data to server (into newly allocated variable @code{output} and @code{output_len} that indicate the length of @code{output} ). The contents of the @code{output} buffer is unspecified if this functions returns anything other than @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} . If this function return @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} , however, the @code{output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( @code{output} ). Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @end deftypefun @subheading gsasl_step64 @anchor{gsasl_step64} @deftypefun {int} {gsasl_step64} (Gsasl_session * @var{sctx}, const char * @var{b64input}, char ** @var{b64output}) @var{sctx}: libgsasl client handle. @var{b64input}: input base64 encoded byte array. @var{b64output}: newly allocated output base64 encoded byte array. This is a simple wrapper around @code{gsasl_step()} that base64 decodes the input and base64 encodes the output. The contents of the @code{b64output} buffer is unspecified if this functions returns anything other than @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} . If this function return @code{GSASL_OK} or @code{GSASL_NEEDS_MORE} , however, the @code{b64output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free ( @code{b64output} ). Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @end deftypefun gsasl-1.8.1/doc/texi/callback.c.texi0000644000000000000000000001031113521017410014075 00000000000000@subheading gsasl_callback_set @anchor{gsasl_callback_set} @deftypefun {void} {gsasl_callback_set} (Gsasl * @var{ctx}, Gsasl_callback_function @var{cb}) @var{ctx}: handle received from @code{gsasl_init()} . @var{cb}: pointer to function implemented by application. Store the pointer to the application provided callback in the library handle. The callback will be used, via @code{gsasl_callback()} , by mechanisms to discover various parameters (such as username and passwords). The callback function will be called with a Gsasl_property value indicating the requested behaviour. For example, for @code{GSASL_ANONYMOUS_TOKEN} , the function is expected to invoke gsasl_property_set( @code{CTX} , @code{GSASL_ANONYMOUS_TOKEN} , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_callback @anchor{gsasl_callback} @deftypefun {int} {gsasl_callback} (Gsasl * @var{ctx}, Gsasl_session * @var{sctx}, Gsasl_property @var{prop}) @var{ctx}: handle received from @code{gsasl_init()} , may be NULL to derive it from @code{sctx} . @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type. Invoke the application callback. The @code{prop} value indicate what the callback is expected to do. For example, for @code{GSASL_ANONYMOUS_TOKEN} , the function is expected to invoke gsasl_property_set( @code{SCTX} , @code{GSASL_ANONYMOUS_TOKEN} , "token") where "token" is the anonymous token the application wishes the SASL mechanism to use. See the manual for the meaning of all parameters. Note that if no callback has been set by the application, but the obsolete callback interface has been used, this function will translate the old callback interface into the new. This interface should be sufficient to invoke all callbacks, both new and old. Return value: Returns whatever the application callback returns, or @code{GSASL_NO_CALLBACK} if no application was known. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_callback_hook_set @anchor{gsasl_callback_hook_set} @deftypefun {void} {gsasl_callback_hook_set} (Gsasl * @var{ctx}, void * @var{hook}) @var{ctx}: libgsasl handle. @var{hook}: opaque pointer to application specific data. Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_callback_hook_get()} . This is normally used by the application to maintain a global state between the main program and callbacks. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_callback_hook_get @anchor{gsasl_callback_hook_get} @deftypefun {void *} {gsasl_callback_hook_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Retrieve application specific data from libgsasl handle. The application data is set using @code{gsasl_callback_hook_set()} . This is normally used by the application to maintain a global state between the main program and callbacks. Return value: Returns the application specific data, or NULL. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_session_hook_set @anchor{gsasl_session_hook_set} @deftypefun {void} {gsasl_session_hook_set} (Gsasl_session * @var{sctx}, void * @var{hook}) @var{sctx}: libgsasl session handle. @var{hook}: opaque pointer to application specific data. Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_session_hook_get()} . This is normally used by the application to maintain a per-session state between the main program and callbacks. @strong{Since:} 0.2.14 @end deftypefun @subheading gsasl_session_hook_get @anchor{gsasl_session_hook_get} @deftypefun {void *} {gsasl_session_hook_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. Retrieve application specific data from libgsasl session handle. The application data is set using @code{gsasl_callback_hook_set()} . This is normally used by the application to maintain a per-session state between the main program and callbacks. Return value: Returns the application specific data, or NULL. @strong{Since:} 0.2.14 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_finish.texi0000644000000000000000000000054113521017401016133 00000000000000@subheading gsasl_client_finish @anchor{gsasl_client_finish} @deftypefun {void} {gsasl_client_finish} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl client handle. Destroy a libgsasl client handle. The handle must not be used with other libgsasl functions after this call. @strong{Deprecated:} Use @code{gsasl_finish()} instead. @end deftypefun gsasl-1.8.1/doc/texi/base64.c.texi0000644000000000000000000000253613521017410013437 00000000000000@subheading gsasl_base64_to @anchor{gsasl_base64_to} @deftypefun {int} {gsasl_base64_to} (const char * @var{in}, size_t @var{inlen}, char ** @var{out}, size_t * @var{outlen}) @var{in}: input byte array @var{inlen}: size of input byte array @var{out}: pointer to newly allocated output byte array @var{outlen}: pointer to size of newly allocated output byte array Encode data as base64. The string is zero terminated, and @code{outlen} holds the length excluding the terminating zero. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} on success, or @code{GSASL_MALLOC_ERROR} if input was too large or memory allocation fail. @strong{Since:} 0.2.2 @end deftypefun @subheading gsasl_base64_from @anchor{gsasl_base64_from} @deftypefun {int} {gsasl_base64_from} (const char * @var{in}, size_t @var{inlen}, char ** @var{out}, size_t * @var{outlen}) @var{in}: input byte array @var{inlen}: size of input byte array @var{out}: pointer to newly allocated output byte array @var{outlen}: pointer to size of newly allocated output byte array Decode Base64 data. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} on success, @code{GSASL_BASE64_ERROR} if input was invalid, and @code{GSASL_MALLOC_ERROR} on memory allocation errors. @strong{Since:} 0.2.2 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_anonymous_get.texi0000644000000000000000000000130513521017404021360 00000000000000@subheading gsasl_client_callback_anonymous_get @anchor{gsasl_client_callback_anonymous_get} @deftypefun {Gsasl_client_callback_anonymous} {gsasl_client_callback_anonymous_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_anonymous_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_anonymous_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_qop_set.texi0000644000000000000000000000134513521017404020147 00000000000000@subheading gsasl_client_callback_qop_set @anchor{gsasl_client_callback_qop_set} @deftypefun {void} {gsasl_client_callback_qop_set} (Gsasl * @var{ctx}, Gsasl_client_callback_qop @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to determine the qop to use after looking at what the server offered. The function can be later retrieved using @code{gsasl_client_callback_qop_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_register.texi0000644000000000000000000000075113521017407015152 00000000000000@subheading gsasl_register @anchor{gsasl_register} @deftypefun {int} {gsasl_register} (Gsasl * @var{ctx}, const Gsasl_mechanism * @var{mech}) @var{ctx}: pointer to libgsasl handle. @var{mech}: plugin structure with information about plugin. This function initialize given mechanism, and if successful, add it to the list of plugins that is used by the library. Return value: @code{GSASL_OK} iff successful, otherwise @code{GSASL_MALLOC_ERROR} . @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_external_set.texi0000644000000000000000000000135313521017405021222 00000000000000@subheading gsasl_server_callback_external_set @anchor{gsasl_server_callback_external_set} @deftypefun {void} {gsasl_server_callback_external_set} (Gsasl * @var{ctx}, Gsasl_server_callback_external @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated out of band. The function can be later retrieved using @code{gsasl_server_callback_external_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_support_p.texi0000644000000000000000000000062013521017410016734 00000000000000@subheading gsasl_server_support_p @anchor{gsasl_server_support_p} @deftypefun {int} {gsasl_server_support_p} (Gsasl * @var{ctx}, const char * @var{name}) @var{ctx}: libgsasl handle. @var{name}: name of SASL mechanism. Decide whether there is server-side support for a specified mechanism. Return value: Returns 1 if the libgsasl server supports the named mechanism, otherwise 0. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_validate_set.texi0000644000000000000000000000144213521017404021167 00000000000000@subheading gsasl_server_callback_validate_set @anchor{gsasl_server_callback_validate_set} @deftypefun {void} {gsasl_server_callback_validate_set} (Gsasl * @var{ctx}, Gsasl_server_callback_validate @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using @code{gsasl_server_callback_validate_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_cram_md5_get.texi0000644000000000000000000000127713521017405021060 00000000000000@subheading gsasl_server_callback_cram_md5_get @anchor{gsasl_server_callback_cram_md5_get} @deftypefun {Gsasl_server_callback_cram_md5} {gsasl_server_callback_cram_md5_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_cram_md5_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_cram_md5_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_randomize.texi0000644000000000000000000000105513521017402015307 00000000000000@subheading gsasl_randomize @anchor{gsasl_randomize} @deftypefun {int} {gsasl_randomize} (int @var{strong}, char * @var{data}, size_t @var{datalen}) @var{strong}: 0 iff operation should not block, non-0 for very strong randomness. @var{data}: output array to be filled with random data. @var{datalen}: size of output array. Store cryptographically random data of given size in the provided buffer. Return value: Returns @code{GSASL_OK} iff successful. @strong{Deprecated:} Use @code{gsasl_random()} or @code{gsasl_nonce()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_digest_md5_get.texi0000644000000000000000000000131213521017405021403 00000000000000@subheading gsasl_server_callback_digest_md5_get @anchor{gsasl_server_callback_digest_md5_get} @deftypefun {Gsasl_server_callback_digest_md5} {gsasl_server_callback_digest_md5_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_digest_md5_set()} . Return value: Return the callback earlier set by calling @code{gsasl_server_callback_digest_md5_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_service_get.texi0000644000000000000000000000127113521017404020772 00000000000000@subheading gsasl_client_callback_service_get @anchor{gsasl_client_callback_service_get} @deftypefun {Gsasl_client_callback_service} {gsasl_client_callback_service_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_service_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_service_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_property_set_raw.texi0000644000000000000000000000150313521017407016732 00000000000000@subheading gsasl_property_set_raw @anchor{gsasl_property_set_raw} @deftypefun {void} {gsasl_property_set_raw} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}, const char * @var{data}, size_t @var{len}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . @var{data}: character string to store. @var{len}: length of character string to store. Make a copy of @code{len} sized @code{data} and store a zero terminated version of it in the session handle for the indicated property @code{prop} . You can immediately deallocate @code{data} after calling this function, without affecting the data stored in the session handle. Except for the length indicator, this function is identical to gsasl_property_set. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_base64_decode.texi0000644000000000000000000000115513521017407015714 00000000000000@subheading gsasl_base64_decode @anchor{gsasl_base64_decode} @deftypefun {int} {gsasl_base64_decode} (char const * @var{src}, char * @var{target}, size_t @var{targsize}) @var{src}: input byte array @var{target}: output byte array @var{targsize}: size of output byte array Decode Base64 data. Skips all whitespace anywhere. Converts characters, four at a time, starting at (or after) src from Base64 numbers into three 8 bit bytes in the target area. Return value: Returns the number of data bytes stored at the target, or -1 on error. @strong{Deprecated:} Use @code{gsasl_base64_from()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_simple_getpass.texi0000644000000000000000000000176713521017401016347 00000000000000@subheading gsasl_simple_getpass @anchor{gsasl_simple_getpass} @deftypefun {int} {gsasl_simple_getpass} (const char * @var{filename}, const char * @var{username}, char ** @var{key}) @var{filename}: filename of file containing passwords. @var{username}: username string. @var{key}: newly allocated output character array. Retrieve password for user from specified file. The buffer @code{key} contain the password if this function is successful. The caller is responsible for deallocating it. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return @code{GSASL_OK} if output buffer contains the password, @code{GSASL_AUTHENTICATION_ERROR} if the user could not be found, or other error code. @end deftypefun gsasl-1.8.1/doc/texi/property.c.texi0000644000000000000000000000623713521017411014242 00000000000000@subheading gsasl_property_set @anchor{gsasl_property_set} @deftypefun {void} {gsasl_property_set} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}, const char * @var{data}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . @var{data}: zero terminated character string to store. Make a copy of @code{data} and store it in the session handle for the indicated property @code{prop} . You can immediately deallocate @code{data} after calling this function, without affecting the data stored in the session handle. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_property_set_raw @anchor{gsasl_property_set_raw} @deftypefun {void} {gsasl_property_set_raw} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}, const char * @var{data}, size_t @var{len}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . @var{data}: character string to store. @var{len}: length of character string to store. Make a copy of @code{len} sized @code{data} and store a zero terminated version of it in the session handle for the indicated property @code{prop} . You can immediately deallocate @code{data} after calling this function, without affecting the data stored in the session handle. Except for the length indicator, this function is identical to gsasl_property_set. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_property_fast @anchor{gsasl_property_fast} @deftypefun {const char *} {gsasl_property_fast} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . Retrieve the data stored in the session handle for given property @code{prop} . The pointer is to live data, and must not be deallocated or modified in any way. This function will not invoke the application callback. Return value: Return property value, if known, or NULL if no value known. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_property_get @anchor{gsasl_property_get} @deftypefun {const char *} {gsasl_property_get} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . Retrieve the data stored in the session handle for given property @code{prop} , possibly invoking the application callback to get the value. The pointer is to live data, and must not be deallocated or modified in any way. This function will invoke the application callback, using @code{gsasl_callback()} , when a property value is not known. If no value is known, and no callback is specified or if the callback fail to return data, and if any obsolete callback functions has been set by the application, this function will try to call these obsolete callbacks, and store the returned data as the corresponding property. This behaviour of this function will be removed when the obsolete callback interfaces are removed. Return value: Return data for property, or NULL if no value known. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_realm_set.texi0000644000000000000000000000143013521017405020474 00000000000000@subheading gsasl_server_callback_realm_set @anchor{gsasl_server_callback_realm_set} @deftypefun {void} {gsasl_server_callback_realm_set} (Gsasl * @var{ctx}, Gsasl_server_callback_realm @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to know which realm it serves. The realm is used by the user to determine which username and password to use. The function can be later retrieved using @code{gsasl_server_callback_realm_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_decode.texi0000644000000000000000000000142613521017410014543 00000000000000@subheading gsasl_decode @anchor{gsasl_decode} @deftypefun {int} {gsasl_decode} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char ** @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: newly allocated output byte array. @var{output_len}: size of output byte array. Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. The @code{output} buffer is allocated by this function, and it is the responsibility of caller to deallocate it by calling free( @code{output} ). Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_maxbuf_get.texi0000644000000000000000000000126313521017406020647 00000000000000@subheading gsasl_server_callback_maxbuf_get @anchor{gsasl_server_callback_maxbuf_get} @deftypefun {Gsasl_server_callback_maxbuf} {gsasl_server_callback_maxbuf_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_maxbuf_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_maxbuf_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_passcode_set.texi0000644000000000000000000000131513521017403021145 00000000000000@subheading gsasl_client_callback_passcode_set @anchor{gsasl_client_callback_passcode_set} @deftypefun {void} {gsasl_client_callback_passcode_set} (Gsasl * @var{ctx}, Gsasl_client_callback_passcode @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the passcode. The function can be later retrieved using @code{gsasl_client_callback_passcode_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_realm_get.texi0000644000000000000000000000125513521017405020465 00000000000000@subheading gsasl_server_callback_realm_get @anchor{gsasl_server_callback_realm_get} @deftypefun {Gsasl_server_callback_realm} {gsasl_server_callback_realm_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_realm_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_realm_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_stringprep_saslprep.texi0000644000000000000000000000170113521017407017430 00000000000000@subheading gsasl_stringprep_saslprep @anchor{gsasl_stringprep_saslprep} @deftypefun {char *} {gsasl_stringprep_saslprep} (const char * @var{in}, int * @var{stringprep_rc}) @var{in}: input ASCII or UTF-8 string with data to prepare according to SASLprep. @var{stringprep_rc}: pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. Process a Unicode string for comparison, according to the "SASLprep" stringprep profile. This function is intended to be used by Simple Authentication and Security Layer (SASL) mechanisms (such as PLAIN, CRAM-MD5, and DIGEST-MD5) as well as other protocols exchanging user names and/or passwords. Return value: Return a newly allocated string that is the "SASLprep" processed form of the input string, or NULL on error, in which case @code{stringprep_rc} contain the stringprep library error code. @strong{Deprecated:} Use @code{gsasl_saslprep()} instead. @end deftypefun gsasl-1.8.1/doc/texi/obsolete.c.texi0000644000000000000000000015341113521017411014167 00000000000000@subheading gsasl_client_listmech @anchor{gsasl_client_listmech} @deftypefun {int} {gsasl_client_listmech} (Gsasl * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output character array. @var{outlen}: input maximum size of output character array, on output contains actual length of output array. Write SASL names, separated by space, of mechanisms supported by the libgsasl client to the output array. To find out how large the output array must be, call this function with a NULL @code{out} parameter. Return value: Returns @code{GSASL_OK} if successful, or error code. @strong{Deprecated:} Use @code{gsasl_client_mechlist()} instead. @end deftypefun @subheading gsasl_server_listmech @anchor{gsasl_server_listmech} @deftypefun {int} {gsasl_server_listmech} (Gsasl * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output character array. @var{outlen}: input maximum size of output character array, on output contains actual length of output array. Write SASL names, separated by space, of mechanisms supported by the libgsasl server to the output array. To find out how large the output array must be, call this function with a NULL @code{out} parameter. Return value: Returns @code{GSASL_OK} if successful, or error code. @strong{Deprecated:} Use @code{gsasl_server_mechlist()} instead. @end deftypefun @subheading gsasl_client_step @anchor{gsasl_client_step} @deftypefun {int} {gsasl_client_step} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl client handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Perform one step of SASL authentication in client. This reads data from server (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to server (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than @code{GSASL_NEEDS_MORE} . Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @strong{Deprecated:} Use @code{gsasl_step()} instead. @end deftypefun @subheading gsasl_server_step @anchor{gsasl_server_step} @deftypefun {int} {gsasl_server_step} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl server handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Perform one step of SASL authentication in server. This reads data from client (specified with input and input_len), processes it (potentially invoking callbacks to the application), and writes data to client (into variables output and output_len). The contents of the output buffer is unspecified if this functions returns anything other than @code{GSASL_NEEDS_MORE} . Return value: Returns @code{GSASL_OK} if authenticated terminated successfully, @code{GSASL_NEEDS_MORE} if more data is needed, or error code. @strong{Deprecated:} Use @code{gsasl_step()} instead. @end deftypefun @subheading gsasl_client_step_base64 @anchor{gsasl_client_step_base64} @deftypefun {int} {gsasl_client_step_base64} (Gsasl_session * @var{sctx}, const char * @var{b64input}, char * @var{b64output}, size_t @var{b64output_len}) @var{sctx}: libgsasl client handle. @var{b64input}: input base64 encoded byte array. @var{b64output}: output base64 encoded byte array. @var{b64output_len}: size of output base64 encoded byte array. This is a simple wrapper around @code{gsasl_client_step()} that base64 decodes the input and base64 encodes the output. Return value: See @code{gsasl_client_step()} . @strong{Deprecated:} Use @code{gsasl_step64()} instead. @end deftypefun @subheading gsasl_server_step_base64 @anchor{gsasl_server_step_base64} @deftypefun {int} {gsasl_server_step_base64} (Gsasl_session * @var{sctx}, const char * @var{b64input}, char * @var{b64output}, size_t @var{b64output_len}) @var{sctx}: libgsasl server handle. @var{b64input}: input base64 encoded byte array. @var{b64output}: output base64 encoded byte array. @var{b64output_len}: size of output base64 encoded byte array. This is a simple wrapper around @code{gsasl_server_step()} that base64 decodes the input and base64 encodes the output. Return value: See @code{gsasl_server_step()} . @strong{Deprecated:} Use @code{gsasl_step64()} instead. @end deftypefun @subheading gsasl_client_finish @anchor{gsasl_client_finish} @deftypefun {void} {gsasl_client_finish} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl client handle. Destroy a libgsasl client handle. The handle must not be used with other libgsasl functions after this call. @strong{Deprecated:} Use @code{gsasl_finish()} instead. @end deftypefun @subheading gsasl_server_finish @anchor{gsasl_server_finish} @deftypefun {void} {gsasl_server_finish} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl server handle. Destroy a libgsasl server handle. The handle must not be used with other libgsasl functions after this call. @strong{Deprecated:} Use @code{gsasl_finish()} instead. @end deftypefun @subheading gsasl_client_ctx_get @anchor{gsasl_client_ctx_get} @deftypefun {Gsasl *} {gsasl_client_ctx_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl client handle Get the libgsasl handle given a libgsasl client handle. Return value: Returns the libgsasl handle given a libgsasl client handle. @strong{Deprecated:} This function is not useful with the new 0.2.0 API. @end deftypefun @subheading gsasl_client_application_data_set @anchor{gsasl_client_application_data_set} @deftypefun {void} {gsasl_client_application_data_set} (Gsasl_session * @var{sctx}, void * @var{application_data}) @var{sctx}: libgsasl client handle. @var{application_data}: opaque pointer to application specific data. Store application specific data in the libgsasl client handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_client_application_data_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} or @code{gsasl_session_hook_set()} instead. @end deftypefun @subheading gsasl_client_application_data_get @anchor{gsasl_client_application_data_get} @deftypefun {void *} {gsasl_client_application_data_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl client handle. Retrieve application specific data from libgsasl client handle. The application data is set using @code{gsasl_client_application_data_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} or @code{gsasl_session_hook_get()} instead. @end deftypefun @subheading gsasl_server_ctx_get @anchor{gsasl_server_ctx_get} @deftypefun {Gsasl *} {gsasl_server_ctx_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl server handle Get the libgsasl handle given a libgsasl server handle. Return value: Returns the libgsasl handle given a libgsasl server handle. @strong{Deprecated:} This function is not useful with the new 0.2.0 API. @end deftypefun @subheading gsasl_server_application_data_set @anchor{gsasl_server_application_data_set} @deftypefun {void} {gsasl_server_application_data_set} (Gsasl_session * @var{sctx}, void * @var{application_data}) @var{sctx}: libgsasl server handle. @var{application_data}: opaque pointer to application specific data. Store application specific data in the libgsasl server handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_server_application_data_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} or @code{gsasl_session_hook_set()} instead. @end deftypefun @subheading gsasl_server_application_data_get @anchor{gsasl_server_application_data_get} @deftypefun {void *} {gsasl_server_application_data_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl server handle. Retrieve application specific data from libgsasl server handle. The application data is set using @code{gsasl_server_application_data_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} or @code{gsasl_session_hook_get()} instead. @end deftypefun @subheading gsasl_randomize @anchor{gsasl_randomize} @deftypefun {int} {gsasl_randomize} (int @var{strong}, char * @var{data}, size_t @var{datalen}) @var{strong}: 0 iff operation should not block, non-0 for very strong randomness. @var{data}: output array to be filled with random data. @var{datalen}: size of output array. Store cryptographically random data of given size in the provided buffer. Return value: Returns @code{GSASL_OK} iff successful. @strong{Deprecated:} Use @code{gsasl_random()} or @code{gsasl_nonce()} instead. @end deftypefun @subheading gsasl_ctx_get @anchor{gsasl_ctx_get} @deftypefun {Gsasl *} {gsasl_ctx_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle Get the libgsasl handle given a libgsasl session handle. Return value: Returns the libgsasl handle given a libgsasl session handle. @strong{Deprecated:} This function is not useful with the new 0.2.0 API. @end deftypefun @subheading gsasl_encode_inline @anchor{gsasl_encode_inline} @deftypefun {int} {gsasl_encode_inline} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Encode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @strong{Deprecated:} Use @code{gsasl_encode()} instead. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_decode_inline @anchor{gsasl_decode_inline} @deftypefun {int} {gsasl_decode_inline} (Gsasl_session * @var{sctx}, const char * @var{input}, size_t @var{input_len}, char * @var{output}, size_t * @var{output_len}) @var{sctx}: libgsasl session handle. @var{input}: input byte array. @var{input_len}: size of input byte array. @var{output}: output byte array. @var{output_len}: size of output byte array. Decode data according to negotiated SASL mechanism. This might mean that data is integrity or privacy protected. Return value: Returns @code{GSASL_OK} if encoding was successful, otherwise an error code. @strong{Deprecated:} Use @code{gsasl_decode()} instead. @strong{Since:} 0.2.0 @end deftypefun @subheading gsasl_application_data_set @anchor{gsasl_application_data_set} @deftypefun {void} {gsasl_application_data_set} (Gsasl * @var{ctx}, void * @var{appdata}) @var{ctx}: libgsasl handle. @var{appdata}: opaque pointer to application specific data. Store application specific data in the libgsasl handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_application_data_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} instead. @end deftypefun @subheading gsasl_application_data_get @anchor{gsasl_application_data_get} @deftypefun {void *} {gsasl_application_data_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Retrieve application specific data from libgsasl handle. The application data is set using @code{gsasl_application_data_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} instead. @end deftypefun @subheading gsasl_appinfo_set @anchor{gsasl_appinfo_set} @deftypefun {void} {gsasl_appinfo_set} (Gsasl_session * @var{sctx}, void * @var{appdata}) @var{sctx}: libgsasl session handle. @var{appdata}: opaque pointer to application specific data. Store application specific data in the libgsasl session handle. The application data can be later (for instance, inside a callback) be retrieved by calling @code{gsasl_appinfo_get()} . It is normally used by the application to maintain state between the main program and the callback. @strong{Deprecated:} Use @code{gsasl_callback_hook_set()} instead. @end deftypefun @subheading gsasl_appinfo_get @anchor{gsasl_appinfo_get} @deftypefun {void *} {gsasl_appinfo_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle. Retrieve application specific data from libgsasl session handle. The application data is set using @code{gsasl_appinfo_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} instead. @end deftypefun @subheading gsasl_server_suggest_mechanism @anchor{gsasl_server_suggest_mechanism} @deftypefun {const char *} {gsasl_server_suggest_mechanism} (Gsasl * @var{ctx}, const char * @var{mechlist}) @var{ctx}: libgsasl handle. @var{mechlist}: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). Get name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. Return value: Returns name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. @strong{Deprecated:} This function was never useful, since it is the client that chose which mechanism to use. @end deftypefun @subheading gsasl_client_callback_authentication_id_set @anchor{gsasl_client_callback_authentication_id_set} @deftypefun {void} {gsasl_client_callback_authentication_id_set} (Gsasl * @var{ctx}, Gsasl_client_callback_authentication_id @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the authentication identity. The function can be later retrieved using @code{gsasl_client_callback_authentication_id_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_authentication_id_get @anchor{gsasl_client_callback_authentication_id_get} @deftypefun {Gsasl_client_callback_authentication_id} {gsasl_client_callback_authentication_id_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_authentication_id_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_authentication_id_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_authorization_id_set @anchor{gsasl_client_callback_authorization_id_set} @deftypefun {void} {gsasl_client_callback_authorization_id_set} (Gsasl * @var{ctx}, Gsasl_client_callback_authorization_id @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the authorization identity. The function can be later retrieved using @code{gsasl_client_callback_authorization_id_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_authorization_id_get @anchor{gsasl_client_callback_authorization_id_get} @deftypefun {Gsasl_client_callback_authorization_id} {gsasl_client_callback_authorization_id_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_authorization_id_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_authorization_id_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_password_set @anchor{gsasl_client_callback_password_set} @deftypefun {void} {gsasl_client_callback_password_set} (Gsasl * @var{ctx}, Gsasl_client_callback_password @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the password. The function can be later retrieved using @code{gsasl_client_callback_password_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_password_get @anchor{gsasl_client_callback_password_get} @deftypefun {Gsasl_client_callback_password} {gsasl_client_callback_password_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_password_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_password_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_passcode_set @anchor{gsasl_client_callback_passcode_set} @deftypefun {void} {gsasl_client_callback_passcode_set} (Gsasl * @var{ctx}, Gsasl_client_callback_passcode @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the passcode. The function can be later retrieved using @code{gsasl_client_callback_passcode_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_passcode_get @anchor{gsasl_client_callback_passcode_get} @deftypefun {Gsasl_client_callback_passcode} {gsasl_client_callback_passcode_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_passcode_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_passcode_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_pin_set @anchor{gsasl_client_callback_pin_set} @deftypefun {void} {gsasl_client_callback_pin_set} (Gsasl * @var{ctx}, Gsasl_client_callback_pin @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to chose a new pin, possibly suggested by the server, for the SECURID mechanism. This is not normally invoked, but only when the server requests it. The function can be later retrieved using @code{gsasl_client_callback_pin_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_pin_get @anchor{gsasl_client_callback_pin_get} @deftypefun {Gsasl_client_callback_pin} {gsasl_client_callback_pin_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_pin_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_pin_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_service_set @anchor{gsasl_client_callback_service_set} @deftypefun {void} {gsasl_client_callback_service_set} (Gsasl * @var{ctx}, Gsasl_client_callback_service @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. Servicename is used by DIGEST-MD5 and should be the name of generic server in case of a replicated service. The function can be later retrieved using @code{gsasl_client_callback_service_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_service_get @anchor{gsasl_client_callback_service_get} @deftypefun {Gsasl_client_callback_service} {gsasl_client_callback_service_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_service_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_service_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_anonymous_set @anchor{gsasl_client_callback_anonymous_set} @deftypefun {void} {gsasl_client_callback_anonymous_set} (Gsasl * @var{ctx}, Gsasl_client_callback_anonymous @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to set the anonymous token, which usually is the users email address. The function can be later retrieved using @code{gsasl_client_callback_anonymous_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_anonymous_get @anchor{gsasl_client_callback_anonymous_get} @deftypefun {Gsasl_client_callback_anonymous} {gsasl_client_callback_anonymous_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_anonymous_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_anonymous_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_qop_set @anchor{gsasl_client_callback_qop_set} @deftypefun {void} {gsasl_client_callback_qop_set} (Gsasl * @var{ctx}, Gsasl_client_callback_qop @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to determine the qop to use after looking at what the server offered. The function can be later retrieved using @code{gsasl_client_callback_qop_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_qop_get @anchor{gsasl_client_callback_qop_get} @deftypefun {Gsasl_client_callback_qop} {gsasl_client_callback_qop_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_qop_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_qop_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_maxbuf_set @anchor{gsasl_client_callback_maxbuf_set} @deftypefun {void} {gsasl_client_callback_maxbuf_set} (Gsasl * @var{ctx}, Gsasl_client_callback_maxbuf @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to inform the server of the largest buffer the client is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using @code{gsasl_client_callback_maxbuf_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_maxbuf_get @anchor{gsasl_client_callback_maxbuf_get} @deftypefun {Gsasl_client_callback_maxbuf} {gsasl_client_callback_maxbuf_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_maxbuf_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_maxbuf_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_realm_set @anchor{gsasl_client_callback_realm_set} @deftypefun {void} {gsasl_client_callback_realm_set} (Gsasl * @var{ctx}, Gsasl_client_callback_realm @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to know which realm it belongs to. The realm is used by the server to determine which username and password to use. The function can be later retrieved using @code{gsasl_client_callback_realm_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_client_callback_realm_get @anchor{gsasl_client_callback_realm_get} @deftypefun {Gsasl_client_callback_realm} {gsasl_client_callback_realm_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_realm_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_realm_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_validate_set @anchor{gsasl_server_callback_validate_set} @deftypefun {void} {gsasl_server_callback_validate_set} (Gsasl * @var{ctx}, Gsasl_server_callback_validate @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using @code{gsasl_server_callback_validate_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_validate_get @anchor{gsasl_server_callback_validate_get} @deftypefun {Gsasl_server_callback_validate} {gsasl_server_callback_validate_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_validate_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_validate_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_retrieve_set @anchor{gsasl_server_callback_retrieve_set} @deftypefun {void} {gsasl_server_callback_retrieve_set} (Gsasl * @var{ctx}, Gsasl_server_callback_retrieve @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using @code{gsasl_server_callback_retrieve_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_retrieve_get @anchor{gsasl_server_callback_retrieve_get} @deftypefun {Gsasl_server_callback_retrieve} {gsasl_server_callback_retrieve_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_retrieve_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_retrieve_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_cram_md5_set @anchor{gsasl_server_callback_cram_md5_set} @deftypefun {void} {gsasl_server_callback_cram_md5_set} (Gsasl * @var{ctx}, Gsasl_server_callback_cram_md5 @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated using CRAM-MD5 challenge and response. The function can be later retrieved using @code{gsasl_server_callback_cram_md5_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_cram_md5_get @anchor{gsasl_server_callback_cram_md5_get} @deftypefun {Gsasl_server_callback_cram_md5} {gsasl_server_callback_cram_md5_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_cram_md5_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_cram_md5_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_digest_md5_set @anchor{gsasl_server_callback_digest_md5_set} @deftypefun {void} {gsasl_server_callback_digest_md5_set} (Gsasl * @var{ctx}, Gsasl_server_callback_digest_md5 @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for retrieving the secret hash of the username, realm and password for use in the DIGEST-MD5 mechanism. The function can be later retrieved using @code{gsasl_server_callback_digest_md5_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_digest_md5_get @anchor{gsasl_server_callback_digest_md5_get} @deftypefun {Gsasl_server_callback_digest_md5} {gsasl_server_callback_digest_md5_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_digest_md5_set()} . Return value: Return the callback earlier set by calling @code{gsasl_server_callback_digest_md5_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_external_set @anchor{gsasl_server_callback_external_set} @deftypefun {void} {gsasl_server_callback_external_set} (Gsasl * @var{ctx}, Gsasl_server_callback_external @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated out of band. The function can be later retrieved using @code{gsasl_server_callback_external_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_external_get @anchor{gsasl_server_callback_external_get} @deftypefun {Gsasl_server_callback_external} {gsasl_server_callback_external_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_external_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_external_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_anonymous_set @anchor{gsasl_server_callback_anonymous_set} @deftypefun {void} {gsasl_server_callback_anonymous_set} (Gsasl * @var{ctx}, Gsasl_server_callback_anonymous @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is permitted anonymous access. The function can be later retrieved using @code{gsasl_server_callback_anonymous_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_anonymous_get @anchor{gsasl_server_callback_anonymous_get} @deftypefun {Gsasl_server_callback_anonymous} {gsasl_server_callback_anonymous_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_anonymous_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_anonymous_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_realm_set @anchor{gsasl_server_callback_realm_set} @deftypefun {void} {gsasl_server_callback_realm_set} (Gsasl * @var{ctx}, Gsasl_server_callback_realm @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to know which realm it serves. The realm is used by the user to determine which username and password to use. The function can be later retrieved using @code{gsasl_server_callback_realm_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_realm_get @anchor{gsasl_server_callback_realm_get} @deftypefun {Gsasl_server_callback_realm} {gsasl_server_callback_realm_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_realm_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_realm_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_qop_set @anchor{gsasl_server_callback_qop_set} @deftypefun {void} {gsasl_server_callback_qop_set} (Gsasl * @var{ctx}, Gsasl_server_callback_qop @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to know which quality of protection it accepts. The quality of protection eventually used is selected by the client though. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using @code{gsasl_server_callback_qop_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_qop_get @anchor{gsasl_server_callback_qop_get} @deftypefun {Gsasl_server_callback_qop} {gsasl_server_callback_qop_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_qop_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_qop_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_maxbuf_set @anchor{gsasl_server_callback_maxbuf_set} @deftypefun {void} {gsasl_server_callback_maxbuf_set} (Gsasl * @var{ctx}, Gsasl_server_callback_maxbuf @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to inform the client of the largest buffer the server is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using @code{gsasl_server_callback_maxbuf_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_maxbuf_get @anchor{gsasl_server_callback_maxbuf_get} @deftypefun {Gsasl_server_callback_maxbuf} {gsasl_server_callback_maxbuf_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_maxbuf_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_maxbuf_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_cipher_set @anchor{gsasl_server_callback_cipher_set} @deftypefun {void} {gsasl_server_callback_cipher_set} (Gsasl * @var{ctx}, Gsasl_server_callback_cipher @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to inform the client of the cipher suites supported. The DES and 3DES ciphers must be supported for interoperability. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using @code{gsasl_server_callback_cipher_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_cipher_get @anchor{gsasl_server_callback_cipher_get} @deftypefun {Gsasl_server_callback_cipher} {gsasl_server_callback_cipher_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_cipher_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_cipher_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_securid_set @anchor{gsasl_server_callback_securid_set} @deftypefun {void} {gsasl_server_callback_securid_set} (Gsasl * @var{ctx}, Gsasl_server_callback_securid @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for validating a user via the SECURID mechanism. The function should return GSASL_OK if user authenticated successfully, GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE if it wants another passcode, GSASL_SECURID_SERVER_NEED_NEW_PIN if it wants a PIN change, or an error. When (and only when) GSASL_SECURID_SERVER_NEED_NEW_PIN is returned, suggestpin can be populated with a PIN code the server suggests, and suggestpinlen set to the length of the PIN. The function can be later retrieved using @code{gsasl_server_callback_securid_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_securid_get @anchor{gsasl_server_callback_securid_get} @deftypefun {Gsasl_server_callback_securid} {gsasl_server_callback_securid_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_securid_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_securid_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_gssapi_set @anchor{gsasl_server_callback_gssapi_set} @deftypefun {void} {gsasl_server_callback_gssapi_set} (Gsasl * @var{ctx}, Gsasl_server_callback_gssapi @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for checking if a GSSAPI user is authorized for username (by, e.g., calling krb5_kuserok). The function should return GSASL_OK if the user should be permitted access, or an error code such as GSASL_AUTHENTICATION_ERROR on failure. The function can be later retrieved using @code{gsasl_server_callback_gssapi_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_gssapi_get @anchor{gsasl_server_callback_gssapi_get} @deftypefun {Gsasl_server_callback_gssapi} {gsasl_server_callback_gssapi_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_gssapi_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_gssapi_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_service_set @anchor{gsasl_server_callback_service_set} @deftypefun {void} {gsasl_server_callback_service_set} (Gsasl * @var{ctx}, Gsasl_server_callback_service @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to set the name of the service. The service buffer should be a registered GSSAPI host-based service name, hostname the name of the server. The function can be later retrieved using @code{gsasl_server_callback_service_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_server_callback_service_get @anchor{gsasl_server_callback_service_get} @deftypefun {Gsasl_server_callback_service} {gsasl_server_callback_service_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_service_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_service_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun @subheading gsasl_stringprep_nfkc @anchor{gsasl_stringprep_nfkc} @deftypefun {char *} {gsasl_stringprep_nfkc} (const char * @var{in}, ssize_t @var{len}) @var{in}: a UTF-8 encoded string. @var{len}: length of @code{str} , in bytes, or -1 if @code{str} is nul-terminated. Converts a string into canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. The normalization mode is NFKC (ALL COMPOSE). It standardizes differences that do not affect the text content, such as the above-mentioned accent representation. It standardizes the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same. It returns a result with composed forms rather than a maximally decomposed form. Return value: Return a newly allocated string, that is the NFKC normalized form of @code{str} , or NULL on error. @strong{Deprecated:} No replacement functionality in GNU SASL, use GNU Libidn instead. Note that in SASL, you most likely want to use SASLprep and not bare NFKC, see @code{gsasl_saslprep()} . @end deftypefun @subheading gsasl_stringprep_saslprep @anchor{gsasl_stringprep_saslprep} @deftypefun {char *} {gsasl_stringprep_saslprep} (const char * @var{in}, int * @var{stringprep_rc}) @var{in}: input ASCII or UTF-8 string with data to prepare according to SASLprep. @var{stringprep_rc}: pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. Process a Unicode string for comparison, according to the "SASLprep" stringprep profile. This function is intended to be used by Simple Authentication and Security Layer (SASL) mechanisms (such as PLAIN, CRAM-MD5, and DIGEST-MD5) as well as other protocols exchanging user names and/or passwords. Return value: Return a newly allocated string that is the "SASLprep" processed form of the input string, or NULL on error, in which case @code{stringprep_rc} contain the stringprep library error code. @strong{Deprecated:} Use @code{gsasl_saslprep()} instead. @end deftypefun @subheading gsasl_stringprep_trace @anchor{gsasl_stringprep_trace} @deftypefun {char *} {gsasl_stringprep_trace} (const char * @var{in}, int * @var{stringprep_rc}) @var{in}: input ASCII or UTF-8 string with data to prepare according to "trace". @var{stringprep_rc}: pointer to output variable with stringprep error code, or NULL to indicate that you don't care about it. Process a Unicode string for use as trace information, according to the "trace" stringprep profile. The profile is designed for use with the SASL ANONYMOUS Mechanism. Return value: Return a newly allocated string that is the "trace" processed form of the input string, or NULL on error, in which case @code{stringprep_rc} contain the stringprep library error code. @strong{Deprecated:} No replacement functionality in GNU SASL, use GNU Libidn instead. @end deftypefun @subheading gsasl_md5pwd_get_password @anchor{gsasl_md5pwd_get_password} @deftypefun {int} {gsasl_md5pwd_get_password} (const char * @var{filename}, const char * @var{username}, char * @var{key}, size_t * @var{keylen}) @var{filename}: filename of file containing passwords. @var{username}: username string. @var{key}: output character array. @var{keylen}: input maximum size of output character array, on output contains actual length of output array. Retrieve password for user from specified file. To find out how large the output array must be, call this function with out=NULL. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code. @strong{Deprecated:} Use @code{gsasl_simple_getpass()} instead. @end deftypefun @subheading gsasl_base64_encode @anchor{gsasl_base64_encode} @deftypefun {int} {gsasl_base64_encode} (char const * @var{src}, size_t @var{srclength}, char * @var{target}, size_t @var{targsize}) @var{src}: input byte array @var{srclength}: size of input byte array @var{target}: output byte array @var{targsize}: size of output byte array Encode data as base64. Converts characters, three at a time, starting at src into four base64 characters in the target area until the entire input buffer is encoded. Return value: Returns the number of data bytes stored at the target, or -1 on error. @strong{Deprecated:} Use @code{gsasl_base64_to()} instead. @end deftypefun @subheading gsasl_base64_decode @anchor{gsasl_base64_decode} @deftypefun {int} {gsasl_base64_decode} (char const * @var{src}, char * @var{target}, size_t @var{targsize}) @var{src}: input byte array @var{target}: output byte array @var{targsize}: size of output byte array Decode Base64 data. Skips all whitespace anywhere. Converts characters, four at a time, starting at (or after) src from Base64 numbers into three 8 bit bytes in the target area. Return value: Returns the number of data bytes stored at the target, or -1 on error. @strong{Deprecated:} Use @code{gsasl_base64_from()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_finish.texi0000644000000000000000000000054113521017401016163 00000000000000@subheading gsasl_server_finish @anchor{gsasl_server_finish} @deftypefun {void} {gsasl_server_finish} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl server handle. Destroy a libgsasl server handle. The handle must not be used with other libgsasl functions after this call. @strong{Deprecated:} Use @code{gsasl_finish()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_listmech.texi0000644000000000000000000000130313521017401016510 00000000000000@subheading gsasl_server_listmech @anchor{gsasl_server_listmech} @deftypefun {int} {gsasl_server_listmech} (Gsasl * @var{ctx}, char * @var{out}, size_t * @var{outlen}) @var{ctx}: libgsasl handle. @var{out}: output character array. @var{outlen}: input maximum size of output character array, on output contains actual length of output array. Write SASL names, separated by space, of mechanisms supported by the libgsasl server to the output array. To find out how large the output array must be, call this function with a NULL @code{out} parameter. Return value: Returns @code{GSASL_OK} if successful, or error code. @strong{Deprecated:} Use @code{gsasl_server_mechlist()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_maxbuf_set.texi0000644000000000000000000000161713521017406020666 00000000000000@subheading gsasl_server_callback_maxbuf_set @anchor{gsasl_server_callback_maxbuf_set} @deftypefun {void} {gsasl_server_callback_maxbuf_set} (Gsasl * @var{ctx}, Gsasl_server_callback_maxbuf @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to inform the client of the largest buffer the server is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using @code{gsasl_server_callback_maxbuf_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_authorization_id_get.texi0000644000000000000000000000135713521017403022712 00000000000000@subheading gsasl_client_callback_authorization_id_get @anchor{gsasl_client_callback_authorization_id_get} @deftypefun {Gsasl_client_callback_authorization_id} {gsasl_client_callback_authorization_id_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_authorization_id_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_authorization_id_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_passcode_get.texi0000644000000000000000000000127713521017403021140 00000000000000@subheading gsasl_client_callback_passcode_get @anchor{gsasl_client_callback_passcode_get} @deftypefun {Gsasl_client_callback_passcode} {gsasl_client_callback_passcode_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_passcode_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_passcode_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_application_data_get.texi0000644000000000000000000000120013521017402021000 00000000000000@subheading gsasl_client_application_data_get @anchor{gsasl_client_application_data_get} @deftypefun {void *} {gsasl_client_application_data_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl client handle. Retrieve application specific data from libgsasl client handle. The application data is set using @code{gsasl_client_application_data_set()} . It is normally used by the application to maintain state between the main program and the callback. Return value: Returns the application specific data, or NULL. @strong{Deprecated:} Use @code{gsasl_callback_hook_get()} or @code{gsasl_session_hook_get()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_realm_set.texi0000644000000000000000000000143613521017404020451 00000000000000@subheading gsasl_client_callback_realm_set @anchor{gsasl_client_callback_realm_set} @deftypefun {void} {gsasl_client_callback_realm_set} (Gsasl * @var{ctx}, Gsasl_client_callback_realm @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to know which realm it belongs to. The realm is used by the server to determine which username and password to use. The function can be later retrieved using @code{gsasl_client_callback_realm_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_qop_get.texi0000644000000000000000000000124113521017404020126 00000000000000@subheading gsasl_client_callback_qop_get @anchor{gsasl_client_callback_qop_get} @deftypefun {Gsasl_client_callback_qop} {gsasl_client_callback_qop_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_client_callback_qop_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_client_callback_qop_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_property_get.texi0000644000000000000000000000214513521017407016050 00000000000000@subheading gsasl_property_get @anchor{gsasl_property_get} @deftypefun {const char *} {gsasl_property_get} (Gsasl_session * @var{sctx}, Gsasl_property @var{prop}) @var{sctx}: session handle. @var{prop}: enumerated value of Gsasl_property type, indicating the type of data in @code{data} . Retrieve the data stored in the session handle for given property @code{prop} , possibly invoking the application callback to get the value. The pointer is to live data, and must not be deallocated or modified in any way. This function will invoke the application callback, using @code{gsasl_callback()} , when a property value is not known. If no value is known, and no callback is specified or if the callback fail to return data, and if any obsolete callback functions has been set by the application, this function will try to call these obsolete callbacks, and store the returned data as the corresponding property. This behaviour of this function will be removed when the obsolete callback interfaces are removed. Return value: Return data for property, or NULL if no value known. @strong{Since:} 0.2.0 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_start.texi0000644000000000000000000000076713521017410016022 00000000000000@subheading gsasl_client_start @anchor{gsasl_client_start} @deftypefun {int} {gsasl_client_start} (Gsasl * @var{ctx}, const char * @var{mech}, Gsasl_session ** @var{sctx}) @var{ctx}: libgsasl handle. @var{mech}: name of SASL mechanism. @var{sctx}: pointer to client handle. This functions initiates a client SASL authentication. This function must be called before any other gsasl_client_*() function is called. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_suggest_mechanism.texi0000644000000000000000000000126113521017403020412 00000000000000@subheading gsasl_server_suggest_mechanism @anchor{gsasl_server_suggest_mechanism} @deftypefun {const char *} {gsasl_server_suggest_mechanism} (Gsasl * @var{ctx}, const char * @var{mechlist}) @var{ctx}: libgsasl handle. @var{mechlist}: input character array with SASL mechanism names, separated by invalid characters (e.g. SPC). Get name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. Return value: Returns name of "best" SASL mechanism supported by the libgsasl server which is present in the input string. @strong{Deprecated:} This function was never useful, since it is the client that chose which mechanism to use. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_qop_set.texi0000644000000000000000000000151613521017406020201 00000000000000@subheading gsasl_server_callback_qop_set @anchor{gsasl_server_callback_qop_set} @deftypefun {void} {gsasl_server_callback_qop_set} (Gsasl * @var{ctx}, Gsasl_server_callback_qop @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server to know which quality of protection it accepts. The quality of protection eventually used is selected by the client though. It is currently used by the DIGEST-MD5 mechanism. The function can be later retrieved using @code{gsasl_server_callback_qop_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_retrieve_get.texi0000644000000000000000000000127713521017405021216 00000000000000@subheading gsasl_server_callback_retrieve_get @anchor{gsasl_server_callback_retrieve_get} @deftypefun {Gsasl_server_callback_retrieve} {gsasl_server_callback_retrieve_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_retrieve_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_retrieve_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_cram_md5_set.texi0000644000000000000000000000140513521017405021065 00000000000000@subheading gsasl_server_callback_cram_md5_set @anchor{gsasl_server_callback_cram_md5_set} @deftypefun {void} {gsasl_server_callback_cram_md5_set} (Gsasl * @var{ctx}, Gsasl_server_callback_cram_md5 @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated using CRAM-MD5 challenge and response. The function can be later retrieved using @code{gsasl_server_callback_cram_md5_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_base64_to.texi0000644000000000000000000000132113521017377015114 00000000000000@subheading gsasl_base64_to @anchor{gsasl_base64_to} @deftypefun {int} {gsasl_base64_to} (const char * @var{in}, size_t @var{inlen}, char ** @var{out}, size_t * @var{outlen}) @var{in}: input byte array @var{inlen}: size of input byte array @var{out}: pointer to newly allocated output byte array @var{outlen}: pointer to size of newly allocated output byte array Encode data as base64. The string is zero terminated, and @code{outlen} holds the length excluding the terminating zero. The @code{out} buffer must be deallocated by the caller. Return value: Returns @code{GSASL_OK} on success, or @code{GSASL_MALLOC_ERROR} if input was too large or memory allocation fail. @strong{Since:} 0.2.2 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_ctx_get.texi0000644000000000000000000000057113521017402014756 00000000000000@subheading gsasl_ctx_get @anchor{gsasl_ctx_get} @deftypefun {Gsasl *} {gsasl_ctx_get} (Gsasl_session * @var{sctx}) @var{sctx}: libgsasl session handle Get the libgsasl handle given a libgsasl session handle. Return value: Returns the libgsasl handle given a libgsasl session handle. @strong{Deprecated:} This function is not useful with the new 0.2.0 API. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_anonymous_set.texi0000644000000000000000000000136113521017405021427 00000000000000@subheading gsasl_server_callback_anonymous_set @anchor{gsasl_server_callback_anonymous_set} @deftypefun {void} {gsasl_server_callback_anonymous_set} (Gsasl * @var{ctx}, Gsasl_server_callback_anonymous @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is permitted anonymous access. The function can be later retrieved using @code{gsasl_server_callback_anonymous_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/listmech.c.texi0000644000000000000000000000206413521017411014160 00000000000000@subheading gsasl_client_mechlist @anchor{gsasl_client_mechlist} @deftypefun {int} {gsasl_client_mechlist} (Gsasl * @var{ctx}, char ** @var{out}) @var{ctx}: libgsasl handle. @var{out}: newly allocated output character array. Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl client. @code{out} is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun @subheading gsasl_server_mechlist @anchor{gsasl_server_mechlist} @deftypefun {int} {gsasl_server_mechlist} (Gsasl * @var{ctx}, char ** @var{out}) @var{ctx}: libgsasl handle. @var{out}: newly allocated output character array. Return a newly allocated string containing SASL names, separated by space, of mechanisms supported by the libgsasl server. @code{out} is allocated by this function, and it is the responsibility of caller to deallocate it. Return value: Returns @code{GSASL_OK} if successful, or error code. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_client_callback_maxbuf_set.texi0000644000000000000000000000161713521017404020634 00000000000000@subheading gsasl_client_callback_maxbuf_set @anchor{gsasl_client_callback_maxbuf_set} @deftypefun {void} {gsasl_client_callback_maxbuf_set} (Gsasl * @var{ctx}, Gsasl_client_callback_maxbuf @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the client to inform the server of the largest buffer the client is able to receive when using the DIGEST-MD5 "auth-int" or "auth-conf" Quality of Protection (qop). If this directive is missing, the default value 65536 will be assumed. The function can be later retrieved using @code{gsasl_client_callback_maxbuf_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_free.texi0000644000000000000000000000102213521017400014230 00000000000000@subheading gsasl_free @anchor{gsasl_free} @deftypefun {void} {gsasl_free} (void * @var{ptr}) @var{ptr}: memory pointer Invoke free( @code{ptr} ) to de-allocate memory pointer. Typically used on strings allocated by other libgsasl functions. This is useful on Windows where libgsasl is linked to one CRT and the application is linked to another CRT. Then malloc/free will not use the same heap. This happens if you build libgsasl using mingw32 and the application with Visual Studio. @strong{Since:} 0.2.19 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_init.texi0000644000000000000000000000071013521017400014255 00000000000000@subheading gsasl_init @anchor{gsasl_init} @deftypefun {int} {gsasl_init} (Gsasl ** @var{ctx}) @var{ctx}: pointer to libgsasl handle. This functions initializes libgsasl. The handle pointed to by ctx is valid for use with other libgsasl functions iff this function is successful. It also register all builtin SASL mechanisms, using @code{gsasl_register()} . Return value: GSASL_OK iff successful, otherwise @code{GSASL_MALLOC_ERROR} . @end deftypefun gsasl-1.8.1/doc/texi/gsasl_md5pwd_get_password.texi0000644000000000000000000000220313521017407017301 00000000000000@subheading gsasl_md5pwd_get_password @anchor{gsasl_md5pwd_get_password} @deftypefun {int} {gsasl_md5pwd_get_password} (const char * @var{filename}, const char * @var{username}, char * @var{key}, size_t * @var{keylen}) @var{filename}: filename of file containing passwords. @var{username}: username string. @var{key}: output character array. @var{keylen}: input maximum size of output character array, on output contains actual length of output array. Retrieve password for user from specified file. To find out how large the output array must be, call this function with out=NULL. The file should be on the UoW "MD5 Based Authentication" format, which means it is in text format with comments denoted by # first on the line, with user entries looking as "usernameTABpassword". This function removes CR and LF at the end of lines before processing. TAB, CR, and LF denote ASCII values 9, 13, and 10, respectively. Return value: Return GSASL_OK if output buffer contains the password, GSASL_AUTHENTICATION_ERROR if the user could not be found, or other error code. @strong{Deprecated:} Use @code{gsasl_simple_getpass()} instead. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_gssapi_get.texi0000644000000000000000000000126313521017406020653 00000000000000@subheading gsasl_server_callback_gssapi_get @anchor{gsasl_server_callback_gssapi_get} @deftypefun {Gsasl_server_callback_gssapi} {gsasl_server_callback_gssapi_get} (Gsasl * @var{ctx}) @var{ctx}: libgsasl handle. Get the callback earlier set by calling @code{gsasl_server_callback_gssapi_set()} . Return value: Returns the callback earlier set by calling @code{gsasl_server_callback_gssapi_set()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/texi/gsasl_strerror.texi0000644000000000000000000000106713521017400015202 00000000000000@subheading gsasl_strerror @anchor{gsasl_strerror} @deftypefun {const char *} {gsasl_strerror} (int @var{err}) @var{err}: libgsasl error code Convert return code to human readable string explanation of the reason for the particular error code. This string can be used to output a diagnostic message to the user. This function is one of few in the library that can be used without a successful call to @code{gsasl_init()} . Return value: Returns a pointer to a statically allocated string containing an explanation of the error code @code{err} . @end deftypefun gsasl-1.8.1/doc/texi/gsasl_base64_encode.texi0000644000000000000000000000124113521017407015722 00000000000000@subheading gsasl_base64_encode @anchor{gsasl_base64_encode} @deftypefun {int} {gsasl_base64_encode} (char const * @var{src}, size_t @var{srclength}, char * @var{target}, size_t @var{targsize}) @var{src}: input byte array @var{srclength}: size of input byte array @var{target}: output byte array @var{targsize}: size of output byte array Encode data as base64. Converts characters, three at a time, starting at src into four base64 characters in the target area until the entire input buffer is encoded. Return value: Returns the number of data bytes stored at the target, or -1 on error. @strong{Deprecated:} Use @code{gsasl_base64_to()} instead. @end deftypefun gsasl-1.8.1/doc/texi/saslprep.c.texi0000644000000000000000000000123613521017411014201 00000000000000@subheading gsasl_saslprep @anchor{gsasl_saslprep} @deftypefun {int} {gsasl_saslprep} (const char * @var{in}, Gsasl_saslprep_flags @var{flags}, char ** @var{out}, int * @var{stringpreprc}) @var{in}: a UTF-8 encoded string. @var{flags}: any SASLprep flag, e.g., @code{GSASL_ALLOW_UNASSIGNED} . @var{out}: on exit, contains newly allocated output string. @var{stringpreprc}: if non-NULL, will hold precise stringprep return code. Prepare string using SASLprep. On success, the @code{out} variable must be deallocated by the caller. Return value: Returns @code{GSASL_OK} on success, or @code{GSASL_SASLPREP_ERROR} on error. @strong{Since:} 0.2.3 @end deftypefun gsasl-1.8.1/doc/texi/gsasl_server_callback_retrieve_set.texi0000644000000000000000000000144213521017405021224 00000000000000@subheading gsasl_server_callback_retrieve_set @anchor{gsasl_server_callback_retrieve_set} @deftypefun {void} {gsasl_server_callback_retrieve_set} (Gsasl * @var{ctx}, Gsasl_server_callback_retrieve @var{cb}) @var{ctx}: libgsasl handle. @var{cb}: callback function Specify the callback function to use in the server for deciding if user is authenticated using authentication identity, authorization identity and password. The function can be later retrieved using @code{gsasl_server_callback_retrieve_get()} . @strong{Deprecated:} This function is part of the old callback interface. The new interface uses @code{gsasl_callback_set()} to set the application callback, and uses @code{gsasl_callback()} or @code{gsasl_property_get()} to invoke the callback for certain properties. @end deftypefun gsasl-1.8.1/doc/abstraction.pdf0000644000000000000000000007465113521017412013303 00000000000000%PDF-1.5 %쏢 5 0 obj <> stream x&%S-3@U32 2ŵpʊOLQ |$_U~_cߥUuqs_5~5nm;+0>QNY&}\Q<ih+~/UQ~>ZBDžwe ta G à+>N1ҙsnYߛOkwgytq[󺦴9Dž0zU)ĩϸNXek֏Э10}k'^ j&YiOwMS*Ü#33WX~F՞89—_zb, >/ǜޗCv˔6P93ٵzt\F{ķ8Ζ2VEA~*C};^(i~XqCmOh,>롘Cc5͔JPmC1j}fNpr;l8 xN0|nD6u;JAku&%kH 3jf.9ς^CgV纔y&le.`Ǧ9$-}v0Uu2Kn>W Ügn=d3}Gཛྷ52CgI%6S9 }1m)bg!u ߳϶#cz!N}Յ =A %$8u ^u=2CXGxU·0NIJӱeN kvc樥X;\TL)nLB)Hb"-w"PОl׶Vo%g^w"+#Ğ=ȾR=X]_s:@nŠ!/`Jţ$). aOYU(iSv)\SV9*ꉧr6 C|Nu|bT?0u %lO ЀQi jh oSYIo3!Χ[;]b7a L$֨|̍@;˂`< ѰQVf;UcIbejGd>[Q`Ϲ6E:ag~b F^B!n0NHgZq( sH7xT9jM*h 3ڇn!FO;Y]0z J.G%i-Npg^9(#H L9'ަ6:djuml$^YS[Y)CJ\rRI1qSTg`prdGC2 6$CG[&gacLSN83o1nT Irj;~D`%h&7Wp>e*&N(Ê!rQI'3.h(ortFib& ΈCIئj7'Y104h4ыx釩qF@N%0b` HQw|VG2+X=Ч]h={\T&|̓5dW5D0֣f1j cvBmjg1jv֕Y}Y-NgV|gę՞E!8X{ufV{4KjDu}9Wst(Քx6''bs梟 s~ -80G1sb2SF؝|s?h.hňK0u:sZṮaL4oYp`9H-n,2tJ`u%&.y: @-`KP|N#Uاc`_0+xab#]l _i8{T-0(ShK쪱~Ł3t,1bKbpj`lTq:ĩ9a?KZC8Yـql0IR6o 2 8)چϬc ޘc*io`a?jd=0TW(LI|}l`FW׏|uKN}t9=&01dƤS4a34 0Gգzcˣph1ޒzcyaSϹb ޘoq1 >&YثHBo`P:_]썕ؽAImWr!J9ǀ@5{Pu6ڒ{vx_7upÉU98qp wA K]@2zxfsV_ SLW{=6o8" ]Ƒga/O+a%`G}vf T6* vp2Fݎ!-~b}P&M٫o<9^bLoeN"ժqtsJ V,8 S<* }hBBGadsP2kqZ)MT~ eH=nv,ܱgy/J3(",`1)4]ޑWKTV: /+qаS|Iѯ#bXNBӠҖqc)Nxvs<8K6Ր!)&OBd'`奶{ZkϷ :+J2J dL7 Mٸ13J؊Cp'xMu9F^`oظ+z,ԮQF%|Ih0|'O@5={N|g+ω,Y [/fT?_K3bpLY <PQd{ 8xtsT$v"Ŵ_ h9-MA@HwsH b;G[[Jdذjq UOur 95f.NW]2挬\Vo}U!0uӮS ڠ[dO4tB.‹HhE TQRNXEQS0p`LaP${NZĢBSYZ#Z%Khu=K΄o`A?9;L:-82./si@X^Z~#z ^V$UhX|́ܢDs=ؕz{(+mچvwhS=M9B^-{G{"a:˽.|^*T9r1*srTET ]KBC{ qk7%.`QgWȽv\Mr&{4`+fra{Q׷f{G; XK_M8 >>]9F_? )ebcE%J[v7kY~Zcm x-&*fۛDJUR7jKozG+0KD-ČX;1# ɵޘ4#{^z>*%"xo*8ĝ- Zw?r ױ8/5P^ ľn9l%h=7lU%X >@. 2:nĂ='ULs>c][)j)Czcí@=@Tu\k*0:7ւ͝}#d3N!6o=,PNMŬ!Z6ll;&L,la f48 ^B͌A H5eCd!Ff5D)arjlvf<#q3D6\b" CdCi2,VG[]Ē)-!I0!:z yd y)Ab48̐^B͐<5Cp~lfQ 'Q3%C̐} 3a ٖ"-0CF 1CӬfHb&+dCp6+!F]ވ(iD԰D6,iSD-ښn:,^7CYM1E*H]퍬0wqA2A6H-;20g[м%I 3H4d [Bv6ĒLr Z C"cDPEEEBɶ{UÝ~'xခizf5ϿY%wKE+0VOɳBUaflωWT1}8'ט}Kʝ0Ӳ!aᚐ'9}NoɆb-'}51!?b;'ɖifѢ'6>%lJB/Z3k>y0 0QF 7X]d<zq6J3jLJmQBl.bT;( !X4XtѰQ&l>jUPeZ'QF 1U\ZYTKfCNb7+%BCde%+Y)kHjl{[ԘZ)|(  Y"ab]6ʴF%Fp6KQdZ@(5QzjLPe;4د)דQi*?+(h)/PyiJAܦT%?u5Q&( Ӏ\vGl<[4Q[!^M a҂#SNf!($tJB5QTeڳjjssIKBØ$TKBQ&I6$ FP X. vIj4IVʐjRPMI%*]2IBQIK'~X( haQIKjLP-! bP & tQjtbb%tI;1?,V7,JN1^)̕ \infZ7jDF/ $>\⾩YLz0 4du]2&fđq} bЙXG4X#e`ΒrBgIx|i$qb%a3r[1( _]ʫ5}at:1hIz>PLN%6mTA pXݗb&mA7-hR`cBi[a+XM Mis+mm]b3X%soF9_Bi#+m0wpFTi)Pv>!(n DUX9S|%TӋm:[tPg[8‘ζpՓu[t6$> vKŴlt6 t1iݼLL"̙KtQ8ƻʶ.F)v/y,q6 5tؾ~gہ-D .*Y ހ0M=C#q Dv%Μ_9:cTgvm(mhlzہo䢷8Mo>b Ou,^$v@:oLklW +"5uޘGÈaAZ*yodL})' rI Mb2wը>3[,U'8★JZtnoтr7T_D>C8f}Uj:ނ9Xְ a'[TKptՔ݀saB9F8a[?t[ROT-h'9IS>;0?sФ MʭD9&VXPT2 95'lk(ݦ8"FD,p̌hrH5.ST-\dK,JD $Z`DJDL.I*Foш@143@Yv$q9`: f:Ó:b-[.G;y )JeB:Q'0raȮYMI 2Zt.tPAgjTVo Oq]zҟR[991zaZpk% =l9sSkmȓkOI *? ɂɅu"r:ƞJć2EyOO":4gcƄi`3$$]``a%9x%@h6{c^$3{ݙ\f۸!Z4):Z1)IgPLz0qlfۈؿR)"E 4m;f4C]̀#]Dp}U!,auS;]f vM~duG;ӝ]tLS;LY!F;/w _%lj`lT]qLtɗ$aP8e0S}lJr(AMn%*DԦ{n3 0%I_&%z1 vE$U-o|SEE9NaPF@"V}B1)T!%|-herv Tsޭ] 1řd$gQ&9%`p Kxy>_$!c"@kf?c%W*yjs@ƜɟQ)b` ׍DXH!bFr#wKÈ# ֆ[e9Rf%t1UˌyZ16gpiw'+G7 IwVcaqiSk QmIͩ*aNǐSo2#ъMbЭ#>[r37tX)Cm^Ed:475YX 6}IHI+Duu o:FgZX^yƟ#͗uKΆK \ Fk1^+.9Jsj0ђzcRv99ڶ+Q1ޒzc*َkS4-aZc NV"/Yр[4x |="oКP& OAB# _+2sV.)b![ mֻ6 Š鑅7 B#Khda#DVؒiY" +bV ֶŠ(Q|*" .JXa}%+VXB^ 9*KעJ"0i- ^ a=*&HnϜ%+ 뭹4-:HB 'Y2x .N>.paBݜ\=Kh|ܥw^E9F)YpᥙX,8-d>Zx-\5Lh_Ei)B0WZlaF .=tC735,"%#5K5T[\]Ă XlG^rUhNrLmrYC 1H祡H*n# -TW[-x4VC#\90nbpBE.tB++zAIJ/ZiH fp\%$P| k^ )"#46EƖB/a_⡷B$teF]H<&;BŤB_ +X! +A -.\Fx\!vJB0 q[X"#j[YX!cV=0K4ж԰B] /06VI,ߚiX5Q *% 9}苷@f%O[nITaebh*\q!Q{Ta3FE!zpл%Q`TqBA1Bǃd1! cb m/ZLaV)gaQh1&-B`faq.40 @)TP ԠBTЂ CLT @ *4טRߪ*/˖ 1*-ERh"M:1*-иB/aKa߈9rv]SPa"P0B_Ag BDPQ٧ފZoJAפC5B+[ *l ^wUB(4x‚ mjPac *3x'5`;LɮQFT1lѯRȷv$QC !`.RTc 6֠(!1x|Ac/ ^sPRhdh!AR%4o@YH.kyeɗD /Eb. u֙L }# Y"18ڵjzzcR!:yXL7a% S]-Yiwo%|`ů2$wSM12r(p`RĜicVO;,o`)yF_q}R (%@M^X`QII>r><\gw!YBV,k!9f1$se0d: tC%5ktygp+ޫW?Vcb0|#R0H %u<7\D@ƽU9" KMO{Zb! 0J3p6DhUvA:eug%h"i7+&Q$_a!B1#M('Q)r?ctx#N-̵^̮̋hXڂ1LӉ҆W dȇ-gnt?Ub!R .H00c6p[7&/ ta 8u$-g.~p>ND$.hWıOG9xUp̃gxk!숃ZnqzdEvpЎStu:37ɮ?2f*T]%:89j92t9#"ıx=dLҬ8bU9q,Rtˉcݩ{R҉å'3j&Gv8T^$uŔvNi<t=$(~<cAͅFx=xZ/LbnQ[̻i*!14#1w[I\{n-+!Sagl61h[7&13g2Kq+_er#y%ӭ Wba XE4ebI}4bI%YE7T5*q| K88xt67ϳl6фMt_D7ށӌU7ʨCuٔ%{/pVUt_M +n3:){Z#|Gi3!Av9#7+ٛS7-[# ubGXLq]P| @o$0:l_{0rƸ]1j[7&Tsr6^"ն$N yF hPqض@^8*FUr6-䡒f iM566 5L*|:5A;?/ufG$12;ڀO~"u/|ekGG:*G[A7?**nԑꔾXTձ$#*KhQ=}&Xb#*=9#* 4إy$(iT$ y?݃NQI^BÒ0O+1yt*),iSj% D"*uѨ$י_Òrp K [w$|gﵕKEHOaI8WIqIIIDKCWKR8%y KCh|B0K4. /]3p#<$#F\R{Bu$Dĩf(-_%yiXp K4DswxKG>a K>>GÒ* "aI6’LM$0%a4%$Ш3yUrhTRwNwv@&#iv,Ie4&I'c|=&KhL鷘!IY=&iKږcbpϒkLJrnQIV–oty/5-0 g# Kx QrTiXY&’fKUM1iTE%iZTJ@4ƥ/ YH0WE+B  w%U+%$k%vѠ4()JHPґC$. 9ǟ=f˅K2L%kLϾ$ј(!!O( ;bB*_)RN`!I/dD.c0Ҵ/0*<=I";,K dI,$)6$y J"& |D_5И$d XPR|¢%^LM$4كboB,Ҩ$Jx[O"Ow%)AI^@Ɛ '"(,-? J"ţ(5:1 KbI#ss?JͨQIijTs?J2AI!4(䟆$#s? I2f!I!,$KhH? I g!I&,$䟆$%g1*,$(bboXP3?ǨӨ$F%%QI.5.#P}jPRb%t ɟpsDR5Ӝ&E$7k~f}$)&$U4zcT-*oJ覄j[cN]M%,lS:1)qCiƦE%m۔{(MPڔͩ)Mݔ^Ҧ*)qsNrUuS"goJLCKW=mJ8cS4ĦtnJ-]A G7%ΎWlS_>۔tn}sᛒWO_^6%Ӧt7cdS=6%X;mJ[BnJ|S~#daav;0_G=L%"~,\r?cp.Gz#\S9tLA1CAi0+Ws [?MAꩄF[)>6X7fyA SH!hΚbdų; ]kJ"XB ƒ+zp8җnu*օ,breօߨX`3E;b:uڗXqʇ`JD>跣EĐ1`l *YZ%)A0)`8VadRL.k貖E^ w[zݽb=%GH_1Dj!RSnJ{Mz)j9+0Tyo)U%W5[=+S /M-pVЍ^*.<κv=o-N^K¼J <U:U28J^B}Feˊ:|]N^kͫTD[h t[[W*np 8oq IDv+jAGor RA0q_0P+UթTnN#CQ̫Tp {NhQR<-y ^3]ܭTސ RRO[# 85kӨt澋[ W^ɭdXӛI^`*# կt:B PGjWN>JN~ٻySœJͩ%3R%3Z3yShT*x5īT[bխTv-yNMs4IcpvϒMyb̳%ijt!ų77%^",dϹh:fޒ]=KM̳XJˣ(!F{ hU 2ҁy*7Y>,%#Ns-W-}P.|KHyN[|k)@u-E q-2-[Vgŷ-o)}C}KQB|KVRܗ^Fy[T9tަ;ȱR6KC:ŻD&[]Gfq];:-;+]*P{(ދw, /tLKKw"C,dAM oҮUߒPAC :FŠ\ s)A.%1&np1谋AǨT 9u0%1(!&`JbPL.bPLI \4Au09)mu0E ]C.bPK.տTAtaL٨:US%4VKzǰiH%Äw&/|I?`Vxx=y 0UG7jlIgƉd!1fc oh< y@ :c.E%7; VGe4+LoMYk%Ce9fޘe _k'׿Kӏf#2gä0 Y}FTu/q~- |DVVK,^dVp%.>QݞacngߡSM"c`îF/M֋~4D53}`#h!0}|PXT<>N4Θ_8ܡi{THP>(UQ<v} Ǩ>$g)Iv_CbMTTX RTDy2}` &^>t.yer`4},rf%t U%W'2) m9^{5ѯlo'.Llv*ˇ΂J#?A82J跬!moxٺ{a^#*0(  yI;.F &V %PN '"l"d3WNZA@W/nq$Š0 >c.&2߀sKw,i9^0(t @kֺ+?)o>U$m2p%Tj۴YыIł=[:gKZxu\7 c !JD0Zzr+aF۰Q덱Z,Jmk(ok1Ѷ9yms EXKQS9UJK΢Nԁ%΢p꘳py u0&B#Cw8/1E|g%Yvg,,NS6_bɑH9QQm6Ivo69z'oKxK"_%aVf#ư_"d}&wH Yg5$# u(EQBE{Pg4_{6u5w1whcd "ꫫxۘKEW+³6."Q9Y!N#ȓpQ=LN#XVx`B(%gH^$R4uN(!N#v43_H1FdoAF44| IӒ$tFǷx0GeN#>)N#ѕ$Ct`wEq A &ϕFp0Ŕ4mrq}q% r]-Bv%yh7m~qo%1y~#7JPFI塺L&kNFI(J:B\(C$ cP}FN3JC}FQB! cPF.i:@T Du @48aL ٨:UQtVmpop]bI#ń0EoL ]򌫣0:Q⃣^Z5{*~+FdXYHWJ2tF޼`Se$Ch'W*a~*o.A?8g>Nl4sK4?·s:&f_gɳiC[d4W™ }`0c7pg1,X O z8gKةat>8L=l^+N1>0ttΡip;EA>>G%C"#c $ʢː A;ra@<Ww2TxL:1OAϔxH}v/ZcOxc𪘯4t3m5Jz V (0n>)U0Хq1 i0EX衮_$RE$>.l8JJ(x bw;H|ʴNՙvMMf|}r[ aLc>'-TT#g[6%h0A8XaVZp"hUē>EznJTzmg\3Jl d8)E@вGqt B< F^H q,*0]+TQ@Gנ߀)杜9ptt*(X'\\3΄铊Xc^.[۠>_WG[\r;w)~169ڂO~#D5FO˖+g^n38}U0>=fU&X13]_09cM=ݩVs@fm)1W`$ž.>#jƐ !_ =u#k-u-hS;klsPu VRAit{~1hzh36D5gNOS5Tx`m_|^IqtWϯ7b%%Z z:pa޼ ]JAW}QP%)o]$<.S#vr}k1H$ir }Ll0HXo(bqR<&F],'Lh}@@Z(orxC2G$R>8vozC̬B\>uAǰ A+Z2q(p?fzE>#p[DC|FW 4fϫ煮k0>9~}8Z^ keaw#/"yokH-i;T݋ϑ9,rɖ.Ft<kjMi@8[c6, L(`[+`As)aΐwA*Lc)9 .(LDQ q[k +"9P SY=0rQH3 9K!fa1LW@ꆥ b$`8::uLN*PbZlIj7%LFŘ2$5C|Iљb"!VdV p T!ys L~`pltp.+^2g+SD;+a`#TIG8y#vJ0Ȏ'ЭJiJe)|;)N0܂+1mgod w^=!hzv& 5(Ug-ynY I2]V FSlJ$ "X'Ll  `Bh=(\1¼㵠cA*煇R?5EG7 ء}'-Śg]H1170*}%EA+ߤ5w{]zo}霗dO×c+h>v@A0 ū2:w$+@@48M9y1Y20&dR}mIAk+F=9]60>*oa]>wzw#!Tf}' !ɖ6o}!x7B+o\x2x" U&ZrTycD~8FkN!~:F\s# T|3 ކzDܮa{?F>R>K ?Tĉ'-|<Zkh߱6gjk kZ۾|O y?X<~A<@_ 1Z@ Љ@1sֿ@' (hHϾzſ D{xìYqIZF(Q~(lW$e<0aVykM۹OZiLjlY'>ÿ|Z+?bRor{z u^\'I}^4q1;* ؖKHҐ( ճȩg`ڂIϫt;&FF:m"`Ã6|W옎ztve/|yDZ$ %laFV0GLʼ*nh"@T|^nu2]~%]gŤ[qe-1y+xۙ:DFN;48+a-:4A҆¢tv NNww6R>$Vn"rD~cPѮuQ1_ ;ֆY+iƐJ|^,ֿן_k4?Wzx:|1Pr))]Jy`.8a2؋wa~֢<1p ׿^L!Ar0{a\?-яn}>kôUܪx|2n0yַ 6Ż=z$KjepFˎV׏JщOTqIs<뉜xmf @5XCBh.` *!=&7݇?1́bR/ .մ70̨$#^ M30T!hjA<Պ^h 848?$Dx~9L$L"9ND%wõHo>7Ke{S|8pF}==aN¤i_EuyO԰&^{"O4Ȋ˙LK/ &1{ܓ?aҷO2BѾu9R=3UEw(߂8Tne(ր1Y -s,(Y YT`*Sq21}g g*_Ok=Y!g(3#3B$ۥhCZP8Obڂ9QVoOya@ 5*a3I }sgVX,2Xڔ<)%npC ^`˙~29à tO &њ%Q#D {'XIxβl.{9E^ygD՛0A8?]UWQBoHHQ쮯ӆ ߪ4ixVSW7MQ}z?ҲV੯QfHdn 2w<ҞH7D 6y aS`uLt5t~kqX@:Vq HL#.at'ڠRn.XΆ}#F,/H i;sk0O ,j>}՜駿b n\0tFU/K fن95sǭ>v.!tp$xh{GKnr"}ǭr;Vip djZ7oDcl#Xf Tn }B|^a$qx (ڵ*+0֎оb-(-6 ?ӟR)ӟ?X?Dgqj?^Bo 36GתwFfpuųQ/tN({@ߌk 1'_dGq1 pLQ㹶 O[S HgdBxZ4>W~v}]jycĹ1ШiW8UrAF~H]խ͠TiD6۲ YxpY2BLҋ#B /##Am#$ YyOO&mȶ4JC0pw兼vțuMZ@Z0T_ 0 \nݍ df8 Wn'B1;b<$S"{!F)Oʱ.0ۏVI[vE&vO4VЍ~!|4,y%骘ɇJpNf=hd哤Ƚ6MA{+%"r٪>*P~l1Z:*\m(Tq2%XMK 4mi#,p-ziB]dX 2.1~1ñQ+m|vW a$'ԙ{h/䣌.-MMK_q;9'0FrORB&h!l2 ?#_Į*roIi:Rj|'Ny'0`2BxpmJ *i_WZoբ4E]\J\2ꄽFV{f (4d* Te~ħo+" ,& *{ ɗ鰫1fӾ:u?NC$~uh#B48NǨi-(۴O8[}vKf&|tQ CUmd\Yl(c\E=N$h/Q{'fO%6lso1jH([3po(LC df^44T\EXbH12cK/m@GȌEnq1I=rb~ڌFi¥i+`7 f4cwjzu-b:S(ΤPCb\eL#,.08*~̀T4[ 0qv/x $+k-<5ZxcWs&kןXύ7|CvJmGh_V&kkKxmO|^qxZy#_eJ[r;+00_ f6ۿG"xUa JrPkvn %JPg8WDS|Fny*k]-(.sa{ACa8 xyC~\!X Aj#z?3Hn )KU 0O}ԊE߱2PwBͶ"͎V+(p bpZ*vNRywqrKײVq`I_ t}7<;9cfIϹppST3\] O?f95fJ5 3-Cŀql=1;ZTpYr hCzʭuHkdk=W ="!!rSnAzVI:bQNT$/=tȄ4e[&iE'S oE"‡Xʻ7Z_xr'W`DB*ˎz9eញ E[1B1d%[dxϥ!E * ~ڼ#t7Oөՙjm}!W SwYo 閇 sf,ƒD##6#7>C#|=)xtE>~X׍S9!1%F'O XeZ2gI_m' D3,ݺDl ~̎dDP>$FHӀS5uypu:8D!,pt7>HTTQc qE^[7%1s,x6oD.Z\':͵#D%EDcfƤ. c:u4[|λ bl-P<Վ]L5dl%j,hXZKp/|d3Es)LahǼA^†@8~_|,!\B`~фՙIrPM]>F<%`]b^z! p_ -%&k|TlQV\45G(/t 44~/g}$bYT C]1x Pp@蕄_7\a[9HRj bs;0 [&2B%Źe++dE D:(b5f!xW\u=;\fq |,'>2t[c#5Lk<4ʗ恆&h z:50|^QDl!< "/םJ Jkb肶MKT(AjO_wRkO%=0Eh9ht&9o3eb6¤ )v?aٕTBBe0c\! #'%& {s)3{dqsaѶ13zf68Vd އU7 ;؛ham/ZĤr?5iF%!)R:3\[20y_sǂŒ&メpø|BEXۓZKMG{mI4 M#!Ӡt!a\YC10ك)0&ʠ,o^K٩*iO@˄Z< X kVT %&Q0Dr P}zٸn2AᠶZ&gƦB o/ nb*ƸZJ\Ȃ #T1&F͘9/ [< 押k2j>"[,w#6~ibm\hm1 ͣy/R/>Y{Wz;גs{oyD1 t# qt ȧ9SzF27X\ }3){.2GDr#[p= GtD)Z.k=uxxMkz307.>ݞ=ԊJty|V:R u k[4D [u|cK~(!aM?{O,σdK#bFGo~QiK`6(V{G`悉dQLC2.$N*0`$ e8T86$2#/l=2 dTy (HUM94|F+j1^ mߒP5 l[1%qm&U3H1mI4Pǽh~ 7):Dܳ(; ,mH V&2$zb r.Xur"8,2$%q&s- kx'1ui2tQ$ =D'F9R <.Q 0N[N~4Α5;jpS}]g(+ĝ. 1*|,lGмXD=cw&]ok -QP"TlҮĽ،)JHK;JLIj`av1igvL?ɅC|h!'HIڝo&|.Dh.0":_ N;ZRWwxSLQ"ZI};&О!x:be2qIy]9FŝvwH6J;8Z!`=V(3.6qwhJxn:wa)DPn0(/oϩ&BUW]NO};뱏C5w:iwoLMUu "\/ |L9*7 S1 ep/`h !4Xz:ɾU m9Clǰjp^(  $G,4p5V󵾲ݹ! 3enF.sTԖG&; KlkFTѼ㟖o#aJ-`>)T 8l+/\^ ش _M'Hpx h4ήaI RnD9yNfb/A^X0Pc^Pc`y%5hH`x0}>↠ײƑkV#g>AKu41hcC1 LCjvVD,[g9 X+EK8J (.rLO< xlA6^&s)GS Q4qԐxR.˒Oȓ}Z7vcPa>ML.aDOJ*Vls/XZX.6RƂ;8*HХD-Q!(F[FzZxN%:^@MV$3a(avx\Vb<|@r6=XVƤ}Ϟ yGG.4VI21R2'OQ?1Az:2 7/5/=+ 8bQt-~i Tw"hMB;q1+0O}Hq qz]M>k0NwӢ2R&0 k:%Z̅'.*8,I:0?&īcT̞H.WƎ. cuXUoRb4! @C 5$)!HRS`0;Q}%m)'LvUa;9H.2vo\L!'px9AV:Rq%"hDȗ ME'GD:<BF@շnFjH ~NJ6f>զ \Ne=ޘꙥ s `9vp-l7]`~8E - |=I0/@,s\0 N"Yv̰1dPϬ6ǻ1KtǍسX w:BgX3,2ܣcX 00]m]:KÅts tDCɄ)k%M.rnf25VbQ>)G-n4SPh(Qcbq.bFz5ÛfavE Q3|2wKn m7fLs~ cwCw M ƕ e3ٝ'KyCOɒX~f#RE;T0W3|(|';)E?UNҽh+Xl.,;FX>B`4jm haȲ'&0dg>~]2@pdê4jL7ӝ-|fa}LdͽWrQB^sx:2 "FЄW^ل)J=t; 2 xj熩c\> /Contents 5 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R ] /Count 1 >> endobj 1 0 obj <> endobj 7 0 obj <>endobj 8 0 obj <> endobj 9 0 obj <>stream 2019-08-02T13:31:22+02:00 2019-08-02T13:31:22+02:00 Dia v0.94 abstraction.diajas endstream endobj 2 0 obj <>endobj xref 0 10 0000000000 65535 f 0000028995 00000 n 0000030611 00000 n 0000028936 00000 n 0000028804 00000 n 0000000015 00000 n 0000028783 00000 n 0000029059 00000 n 0000029100 00000 n 0000029129 00000 n trailer << /Size 10 /Root 1 0 R /Info 2 0 R /ID [<72867B0BD88C3EBC892054E5ED16A45B><72867B0BD88C3EBC892054E5ED16A45B>] >> startxref 30791 %%EOF gsasl-1.8.1/examples/0000755000000000000000000000000013521017732011420 500000000000000gsasl-1.8.1/examples/smtp-server.c0000644000000000000000000001553713516252320014004 00000000000000/* smtp-server.c --- Example SMTP server with SASL authentication * Copyright (C) 2012-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ /* This is a minimal SMTP server with GNU SASL authentication support. The only valid password is "sesam". This server will complete authentications using LOGIN, PLAIN, DIGEST-MD5, CRAM-MD5, and SCRAM-SHA-1. It accepts an optional command line parameter specifying the service name (i.e., a numerical port number or /etc/services name). By default it listens on port "2000". */ #include #include #include #include #include #include #include static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; switch (prop) { case GSASL_PASSWORD: gsasl_property_set (sctx, prop, "sesam"); rc = GSASL_OK; break; default: /* You may want to log (at debug verbosity level) that an unknown property was requested here, possibly after filtering known rejected property requests. */ break; } return rc; } static ssize_t gettrimline (char **line, size_t * n, FILE * fh) { ssize_t s = getline (line, n, fh); if (s >= 2) { if ((*line)[strlen (*line) - 1] == '\n') (*line)[strlen (*line) - 1] = '\0'; if ((*line)[strlen (*line) - 1] == '\r') (*line)[strlen (*line) - 1] = '\0'; printf ("C: %s\n", *line); } return s; } #define print(fh, ...) \ printf ("S: "), printf (__VA_ARGS__), fprintf (fh, __VA_ARGS__) static void server_auth (FILE * fh, Gsasl_session * session) { char *line = NULL; size_t n = 0; char *p; int rc; /* The ordering and the type of checks in the following loop has to be adapted for each protocol depending on its SASL properties. SMTP is a "server-first" SASL protocol. This implementation do not support piggy-backing of the initial client challenge nor piggy-backing of the terminating server response. See RFC 2554 and RFC 4422 for terminology. That profile results in the following loop structure. Ask on the help-gsasl list if you are uncertain. */ do { rc = gsasl_step64 (session, line, &p); if (rc == GSASL_NEEDS_MORE || (rc == GSASL_OK && p && *p)) { print (fh, "334 %s\n", p); gsasl_free (p); if (gettrimline (&line, &n, fh) < 0) { print (fh, "221 localhost getline failure\n"); goto done; } } } while (rc == GSASL_NEEDS_MORE); if (rc != GSASL_OK) { print (fh, "535 gsasl_step64 (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } { const char *authid = gsasl_property_fast (session, GSASL_AUTHID); const char *authzid = gsasl_property_fast (session, GSASL_AUTHZID); print (fh, "235 OK [authid: %s authzid: %s]\n", authid ? authid : "N/A", authzid ? authzid : "N/A"); } done: free (line); } static void smtp (FILE * fh, Gsasl * ctx) { char *line = NULL; size_t n = 0; int rc; print (fh, "220 localhost ESMTP GNU SASL smtp-server\n"); while (gettrimline (&line, &n, fh) >= 0) { if (strncmp (line, "EHLO ", 5) == 0 || strncmp (line, "ehlo ", 5) == 0) { char *mechlist; rc = gsasl_server_mechlist (ctx, &mechlist); if (rc != GSASL_OK) { print (fh, "221 localhost gsasl_server_mechlist (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } print (fh, "250-localhost\n"); print (fh, "250 AUTH %s\n", mechlist); gsasl_free (mechlist); } else if (strncmp (line, "AUTH ", 5) == 0 || strncmp (line, "auth ", 5) == 0) { Gsasl_session *session = NULL; if ((rc = gsasl_server_start (ctx, line + 5, &session)) != GSASL_OK) { print (fh, "221 localhost gsasl_server_start (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } server_auth (fh, session); gsasl_finish (session); } else if (strncmp (line, "QUIT", 4) == 0 || strncmp (line, "quit", 4) == 0) { print (fh, "221 localhost QUIT\n"); goto done; } else print (fh, "500 unrecognized command\n"); } print (fh, "221 localhost getline failure\n"); done: free (line); } int main (int argc, char *argv[]) { const char *service = argc > 1 ? argv[1] : "2000"; volatile int run = 1; struct addrinfo hints, *addrs; int sockfd; int rc; int yes = 1; Gsasl *ctx; setvbuf (stdout, NULL, _IONBF, 0); rc = gsasl_init (&ctx); if (rc < 0) { printf ("gsasl_init (%d): %s\n", rc, gsasl_strerror (rc)); exit (EXIT_FAILURE); } printf ("%s [gsasl header %s library %s]\n", argv[0], GSASL_VERSION, gsasl_check_version (NULL)); gsasl_callback_set (ctx, callback); memset (&hints, 0, sizeof (hints)); hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG; hints.ai_socktype = SOCK_STREAM; rc = getaddrinfo (NULL, service, &hints, &addrs); if (rc < 0) { printf ("getaddrinfo: %s\n", gai_strerror (rc)); exit (EXIT_FAILURE); } sockfd = socket (addrs->ai_family, addrs->ai_socktype, addrs->ai_protocol); if (sockfd < 0) { perror ("socket"); exit (EXIT_FAILURE); } if (setsockopt (sockfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof (yes)) < 0) { perror ("setsockopt"); exit (EXIT_FAILURE); } rc = bind (sockfd, addrs->ai_addr, addrs->ai_addrlen); if (rc < 0) { perror ("bind"); exit (EXIT_FAILURE); } freeaddrinfo (addrs); rc = listen (sockfd, SOMAXCONN); if (rc < 0) { perror ("listen"); exit (EXIT_FAILURE); } signal (SIGPIPE, SIG_IGN); while (run) { struct sockaddr from; socklen_t fromlen = sizeof (from); char host[NI_MAXHOST]; int fd; FILE *fh; fd = accept (sockfd, &from, &fromlen); if (fd < 0) { perror ("accept"); continue; } rc = getnameinfo (&from, fromlen, host, sizeof (host), NULL, 0, NI_NUMERICHOST); if (rc == 0) printf ("connection from %s\n", host); else printf ("getnameinfo: %s\n", gai_strerror (rc)); fh = fdopen (fd, "w+"); if (!fh) { perror ("fdopen"); close (fd); continue; } smtp (fh, ctx); fclose (fh); } close (sockfd); gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/README0000644000000000000000000000140113516252320012212 00000000000000GNU SASL examples/README -- Information about files in examples/ directory. Copyright (C) 2003-2019 Simon Josefsson See the end for copying conditions. This directory contains examples on how to use GNU SASL. client: Example SASL client. client-serverfirst: Same as previous, but server get to send data first. client-mech: Same as previous, but you get to chose which mechanism is used. client-callback: Same as client-serverfirst, but user info is retrieved using a callback, instead of hard coded. ---------------------------------------------------------------------- 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. gsasl-1.8.1/examples/server-xmpp-saml20.c0000644000000000000000000001305113516323345015074 00000000000000/* server-xmpp-saml20.c --- Example XMPP SASL SAML20 server. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static char * xmltob64 (char *buf) { while (*buf && *buf != '>') buf++; if (*buf) buf++; while (*buf && buf[strlen (buf) - 1] != '<') buf[strlen (buf) - 1] = '\0'; if (*buf) buf[strlen (buf) - 1] = '\0'; return buf; } static void server_xmpp (Gsasl_session * session) { char *b64, *p; int rc = GSASL_AUTHENTICATION_ERROR; do { char buf[BUFSIZ] = ""; p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); break; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; b64 = xmltob64 (buf); printf ("parsed: '%s'\n", b64); rc = gsasl_step64 (session, b64, &p); if (rc == GSASL_NEEDS_MORE) { printf ("" "%s\n", p); gsasl_free (p); } } while (rc == GSASL_NEEDS_MORE); if (rc == GSASL_OK) puts (""); else { puts ("" ""); printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); } } static void server (Gsasl * ctx) { Gsasl_session *session; const char *mech = "SAML20"; int rc; /* Create new authentication session. */ if ((rc = gsasl_server_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Do it. */ server_xmpp (session); /* Cleanup. */ gsasl_finish (session); } const char *samlchallenge = "https://saml.example.org/SAML/Browser?SAMLRequest=PHNhbWxwOk" "F1dGhuUmVxdWVzdCB4bWxuczpzYW1scD0idXJuOm9hc2lzOm5hbWVzOnRjOl" "NBTUw6Mi4wOnByb3RvY29sIg0KICAgIElEPSJfYmVjNDI0ZmE1MTAzNDI4OT" "A5YTMwZmYxZTMxMTY4MzI3Zjc5NDc0OTg0IiBWZXJzaW9uPSIyLjAiDQogIC" "AgSXNzdWVJbnN0YW50PSIyMDA3LTEyLTEwVDExOjM5OjM0WiIgRm9yY2VBdX" "Robj0iZmFsc2UiDQogICAgSXNQYXNzaXZlPSJmYWxzZSINCiAgICBQcm90b2" "NvbEJpbmRpbmc9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpiaW5kaW" "5nczpIVFRQLVBPU1QiDQogICAgQXNzZXJ0aW9uQ29uc3VtZXJTZXJ2aWNlVV" "JMPQ0KICAgICAgICAiaHR0cHM6Ly94bXBwLmV4YW1wbGUuY29tL1NBTUwvQX" "NzZXJ0aW9uQ29uc3VtZXJTZXJ2aWNlIj4NCiA8c2FtbDpJc3N1ZXIgeG1sbn" "M6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbi" "I+DQogICAgIGh0dHBzOi8veG1wcC5leGFtcGxlLmNvbQ0KIDwvc2FtbDpJc3" "N1ZXI+DQogPHNhbWxwOk5hbWVJRFBvbGljeSB4bWxuczpzYW1scD0idXJuOm" "9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIg0KICAgICBGb3JtYX" "Q9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpuYW1laWQtZm9ybWF0On" "BlcnNpc3RlbnQiDQogICAgIFNQTmFtZVF1YWxpZmllcj0ieG1wcC5leGFtcG" "xlLmNvbSIgQWxsb3dDcmVhdGU9InRydWUiIC8+DQogPHNhbWxwOlJlcXVlc3" "RlZEF1dGhuQ29udGV4dA0KICAgICB4bWxuczpzYW1scD0idXJuOm9hc2lzOm" "5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiANCiAgICAgICAgQ29tcGFyaX" "Nvbj0iZXhhY3QiPg0KICA8c2FtbDpBdXRobkNvbnRleHRDbGFzc1JlZg0KIC" "AgICAgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOm" "Fzc2VydGlvbiI+DQogICAgICAgICAgIHVybjpvYXNpczpuYW1lczp0YzpTQU" "1MOjIuMDphYzpjbGFzc2VzOlBhc3N3b3JkUHJvdGVjdGVkVHJhbnNwb3J0DQ" "ogIDwvc2FtbDpBdXRobkNvbnRleHRDbGFzc1JlZj4NCiA8L3NhbWxwOlJlcX" "Vlc3RlZEF1dGhuQ29udGV4dD4gDQo8L3NhbWxwOkF1dGhuUmVxdWVzdD4="; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ switch (prop) { case GSASL_SAML20_REDIRECT_URL: printf ("server got identity: %s\n", gsasl_property_get (sctx, GSASL_SAML20_IDP_IDENTIFIER)); gsasl_property_set (sctx, prop, samlchallenge); rc = GSASL_OK; break; case GSASL_VALIDATE_SAML20: { char buf[BUFSIZ] = ""; char *p; puts ("Authorization decision time!"); printf ("User identity: %s\n", gsasl_property_get (sctx, GSASL_SAML20_IDP_IDENTIFIER)); printf ("Accept user? (y/n) "); fflush (stdout); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); break; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; if (strcmp (buf, "y") == 0 || strcmp (buf, "Y") == 0) rc = GSASL_OK; else rc = GSASL_AUTHENTICATION_ERROR; } break; default: printf ("Unknown property %u! Don't worry.\n", prop); break; } return rc; } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Set the callback handler for the library. */ gsasl_callback_set (ctx, callback); /* Do it. */ server (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/client-mech.c0000644000000000000000000000715713516252320013704 00000000000000/* client-mech.c --- Example SASL client, with a choice of mechanism to use. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server send data first. */ do { printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { printf ("Output:\n%s\n", p); gsasl_free (p); } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static const char * client_mechanism (Gsasl * ctx) { static char mech[GSASL_MAX_MECHANISM_SIZE + 1] = ""; char mechlist[BUFSIZ] = ""; const char *suggestion; char *p; printf ("Enter list of server supported mechanisms, separate by SPC:\n"); p = fgets (mechlist, sizeof (mechlist) - 1, stdin); if (p == NULL) { perror ("fgets"); return NULL; } suggestion = gsasl_client_suggest_mechanism (ctx, mechlist); if (suggestion) printf ("Library suggests use of `%s'.\n", suggestion); printf ("Enter mechanism to use:\n"); p = fgets (mech, sizeof (mech) - 1, stdin); if (p == NULL) { perror ("fgets"); return NULL; } mech[strlen (mech) - 1] = '\0'; return mech; } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech; int rc; /* Find out which mechanism to use. */ mech = client_mechanism (ctx); /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/client-callback.c0000644000000000000000000000715613516323311014522 00000000000000/* client-callback.c --- Example SASL client, with callback for user info. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server send data first. */ do { printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { printf ("Output:\n%s\n", p); gsasl_free (p); } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech = "SECURID"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { char buf[BUFSIZ] = ""; int rc = GSASL_NO_CALLBACK; char *p; /* Get user info from user. */ printf ("Callback invoked, for property %u.\n", prop); switch (prop) { case GSASL_PASSCODE: printf ("Enter passcode:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); break; } buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_PASSCODE, buf); rc = GSASL_OK; break; case GSASL_AUTHID: printf ("Enter username:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); break; } buf[strlen (buf) - 1] = '\0'; gsasl_property_set (sctx, GSASL_AUTHID, buf); rc = GSASL_OK; break; default: printf ("Unknown property! Don't worry.\n"); break; } return rc; } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Set the callback handler for the library. */ gsasl_callback_set (ctx, callback); /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/saml20/0000755000000000000000000000000013521017732012516 500000000000000gsasl-1.8.1/examples/saml20/smtp-server-saml20.c0000644000000000000000000002667613516252320016204 00000000000000/* smtp-server-saml20.c --- Example SMTP server with SAML 2.0 support * Copyright (C) 2012-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include /* This is based on ../smtp-server.c but adds support for SAML 2.0. See README for instructions. */ /* This is a minimal SMTP server with GNU SASL authentication support. The only valid password is "sesam". This server will complete authentications using LOGIN, PLAIN, DIGEST-MD5, CRAM-MD5, and SCRAM-SHA-1. It accepts an optional command line parameter specifying the service name (i.e., a numerical port number or /etc/services name). By default it listens on port "2000". */ #include #include #include #include #include #include #include struct cfg { char *cfg_path; char *state_path; char *sp_metadata; char *sp_key; char *sp_cert; }; static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; struct cfg *cfg = gsasl_callback_hook_get (ctx); switch (prop) { case GSASL_SAML20_REDIRECT_URL: { FILE *fh; char *reqid, *redirect_url, *tmp; size_t n = 0; const char *idp = gsasl_property_get (sctx, GSASL_SAML20_IDP_IDENTIFIER); /* User did not provide a SAML IdP identifier. */ if (!idp) return GSASL_AUTHENTICATION_ERROR; /* Sanitize input. */ if (strcmp (idp, ".") == 0 || strcmp (idp, "..") == 0) return GSASL_AUTHENTICATION_ERROR; for (n = 0; idp[n]; n++) if (!((idp[n] >= 'a' && idp[n] <= 'z') || (idp[n] >= 'A' && idp[n] <= 'Z') || (idp[n] >= '0' && idp[n] <= '9') || idp[n] == '.')) { printf ("Cannot handle identifier (%ld): %s\n", (unsigned long) n, idp); return GSASL_AUTHENTICATION_ERROR; } /* Run helper to generate SAML AuthnRequest. Read out request ID. */ rc = asprintf (&tmp, "gsasl-saml20-request %s %s %s %s " "%s/%s/idp-metadata.xml", cfg->state_path, cfg->sp_metadata, cfg->sp_key, cfg->sp_cert, cfg->cfg_path, idp); if (rc <= 0) return GSASL_AUTHENTICATION_ERROR; fh = popen (tmp, "r"); free (tmp); if (!fh) { perror ("popen"); return GSASL_AUTHENTICATION_ERROR; } reqid = NULL; n = 0; if (getline (&reqid, &n, fh) <= 0) { perror ("getline"); return GSASL_AUTHENTICATION_ERROR; } if (reqid[strlen (reqid) - 1] == '\n') reqid[strlen (reqid) - 1] = '\0'; if (reqid[strlen (reqid) - 1] == '\r') reqid[strlen (reqid) - 1] = '\0'; rc = pclose (fh); if (rc != 0) { perror ("pclose"); return GSASL_AUTHENTICATION_ERROR; } /* Read URL to redirect to. Written by gsasl-saml20-request. */ rc = asprintf (&tmp, "%s/%s/redirect_url", cfg->state_path, reqid); if (rc <= 0) return GSASL_AUTHENTICATION_ERROR; fh = fopen (tmp, "r"); free (tmp); if (!fh) { perror ("fopen"); return GSASL_AUTHENTICATION_ERROR; } redirect_url = NULL; n = 0; if (getline (&redirect_url, &n, fh) <= 0) { perror ("getline"); return GSASL_AUTHENTICATION_ERROR; } rc = fclose (fh); if (rc != 0) { perror ("fclose"); return GSASL_AUTHENTICATION_ERROR; } /* We are done */ gsasl_session_hook_set (sctx, reqid); gsasl_property_set (sctx, prop, redirect_url); printf ("read id: %s\n", reqid); printf ("url: %s\n", redirect_url); free (redirect_url); return GSASL_OK; } break; case GSASL_VALIDATE_SAML20: { time_t start = time (NULL); char *id = (char *) gsasl_session_hook_get (sctx); char *tmp, *line; size_t n; FILE *fh; if (!id) return GSASL_AUTHENTICATION_ERROR; do { sleep (1); rc = asprintf (&tmp, "%s/%s/success", cfg->state_path, id); if (rc <= 0) return GSASL_AUTHENTICATION_ERROR; fh = fopen (tmp, "r"); free (tmp); if (!fh) { rc = asprintf (&tmp, "%s/%s/fail", cfg->state_path, id); if (rc <= 0) return GSASL_AUTHENTICATION_ERROR; fh = fopen (tmp, "r"); free (tmp); if (!fh) { puts ("waiting"); continue; } rc = fclose (fh); if (rc != 0) { perror ("fclose"); return GSASL_AUTHENTICATION_ERROR; } return GSASL_AUTHENTICATION_ERROR; } rc = fclose (fh); if (rc != 0) { perror ("fclose"); return GSASL_AUTHENTICATION_ERROR; } rc = asprintf (&tmp, "%s/%s/subject", cfg->state_path, id); if (rc <= 0) return GSASL_AUTHENTICATION_ERROR; fh = fopen (tmp, "r"); free (tmp); if (!fh) { perror ("fopen"); return GSASL_AUTHENTICATION_ERROR; } line = NULL; n = 0; if (getline (&line, &n, fh) <= 0) { perror ("getline"); return GSASL_AUTHENTICATION_ERROR; } printf ("subject: %s\n", line); gsasl_property_set (sctx, GSASL_AUTHID, line); free (line); rc = fclose (fh); if (rc != 0) { perror ("fclose"); return GSASL_AUTHENTICATION_ERROR; } free (id); return GSASL_OK; } while (time (NULL) - start < 30); printf ("timeout\n"); return GSASL_AUTHENTICATION_ERROR; } break; case GSASL_PASSWORD: gsasl_property_set (sctx, prop, "sesam"); rc = GSASL_OK; break; default: /* You may want to log (at debug verbosity level) that an unknown property was requested here, possibly after filtering known rejected property requests. */ break; } return rc; } static ssize_t gettrimline (char **line, size_t * n, FILE * fh) { ssize_t s = getline (line, n, fh); if (s >= 2) { if ((*line)[strlen (*line) - 1] == '\n') (*line)[strlen (*line) - 1] = '\0'; if ((*line)[strlen (*line) - 1] == '\r') (*line)[strlen (*line) - 1] = '\0'; printf ("C: %s\n", *line); } return s; } #define print(fh, ...) \ printf ("S: "), printf (__VA_ARGS__), fprintf (fh, __VA_ARGS__) static void server_auth (FILE * fh, Gsasl_session * session) { char *line = NULL; size_t n = 0; char *p; int rc; /* The ordering and the type of checks in the following loop has to be adapted for each protocol depending on its SASL properties. SMTP is a "server-first" SASL protocol. This implementation do not support piggy-backing of the initial client challenge nor piggy-backing of the terminating server response. See RFC 2554 and RFC 4422 for terminology. That profile results in the following loop structure. Ask on the help-gsasl list if you are uncertain. */ do { rc = gsasl_step64 (session, line, &p); if (rc == GSASL_NEEDS_MORE || (rc == GSASL_OK && p && *p)) { print (fh, "334 %s\n", p); gsasl_free (p); if (gettrimline (&line, &n, fh) < 0) { print (fh, "221 localhost getline failure\n"); goto done; } } } while (rc == GSASL_NEEDS_MORE); if (rc != GSASL_OK) { print (fh, "535 gsasl_step64 (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } { const char *authid = gsasl_property_fast (session, GSASL_AUTHID); const char *authzid = gsasl_property_fast (session, GSASL_AUTHZID); print (fh, "235 OK [authid: %s authzid: %s]\n", authid ? authid : "N/A", authzid ? authzid : "N/A"); } done: free (line); } static void smtp (FILE * fh, Gsasl * ctx) { char *line = NULL; size_t n = 0; int rc; print (fh, "220 localhost ESMTP GNU SASL smtp-server\n"); while (gettrimline (&line, &n, fh) >= 0) { if (strncmp (line, "EHLO ", 5) == 0 || strncmp (line, "ehlo ", 5) == 0) { char *mechlist; rc = gsasl_server_mechlist (ctx, &mechlist); if (rc != GSASL_OK) { print (fh, "221 localhost gsasl_server_mechlist (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } print (fh, "250-localhost\n"); print (fh, "250 AUTH %s\n", mechlist); gsasl_free (mechlist); } else if (strncmp (line, "AUTH ", 5) == 0 || strncmp (line, "auth ", 5) == 0) { Gsasl_session *session = NULL; if ((rc = gsasl_server_start (ctx, line + 5, &session)) != GSASL_OK) { print (fh, "221 localhost gsasl_server_start (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } server_auth (fh, session); gsasl_finish (session); } else if (strncmp (line, "QUIT", 4) == 0 || strncmp (line, "quit", 4) == 0) { print (fh, "221 localhost QUIT\n"); goto done; } else print (fh, "500 unrecognized command\n"); } print (fh, "221 localhost getline failure\n"); done: free (line); } int main (int argc, char *argv[]) { const char *service = argc > 1 ? argv[1] : "2000"; volatile int run = 1; struct addrinfo hints, *addrs; int sockfd; int rc; int yes = 1; Gsasl *ctx; struct cfg cfg; setvbuf (stdout, NULL, _IONBF, 0); if (argc != 7) { printf ("Usage: %s PORT CFG-PATH STATE-PATH SP-METADATA " "SP-KEY SP-CERT\n", argv[0]); exit (EXIT_FAILURE); } cfg.cfg_path = argv[2]; cfg.state_path = argv[3]; cfg.sp_metadata = argv[4]; cfg.sp_key = argv[5]; cfg.sp_cert = argv[6]; rc = gsasl_init (&ctx); if (rc < 0) { printf ("gsasl_init (%d): %s\n", rc, gsasl_strerror (rc)); exit (EXIT_FAILURE); } printf ("%s [gsasl header %s library %s]\n", argv[0], GSASL_VERSION, gsasl_check_version (NULL)); gsasl_callback_set (ctx, callback); gsasl_callback_hook_set (ctx, &cfg); memset (&hints, 0, sizeof (hints)); hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG; hints.ai_socktype = SOCK_STREAM; rc = getaddrinfo (NULL, service, &hints, &addrs); if (rc < 0) { printf ("getaddrinfo: %s\n", gai_strerror (rc)); exit (EXIT_FAILURE); } sockfd = socket (addrs->ai_family, addrs->ai_socktype, addrs->ai_protocol); if (sockfd < 0) { perror ("socket"); exit (EXIT_FAILURE); } if (setsockopt (sockfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof (yes)) < 0) { perror ("setsockopt"); exit (EXIT_FAILURE); } rc = bind (sockfd, addrs->ai_addr, addrs->ai_addrlen); if (rc < 0) { perror ("bind"); exit (EXIT_FAILURE); } freeaddrinfo (addrs); rc = listen (sockfd, SOMAXCONN); if (rc < 0) { perror ("listen"); exit (EXIT_FAILURE); } signal (SIGPIPE, SIG_IGN); while (run) { struct sockaddr from; socklen_t fromlen = sizeof (from); char host[NI_MAXHOST]; int fd; FILE *fh; fd = accept (sockfd, &from, &fromlen); if (fd < 0) { perror ("accept"); continue; } rc = getnameinfo (&from, fromlen, host, sizeof (host), NULL, 0, NI_NUMERICHOST); if (rc == 0) printf ("connection from %s\n", host); else printf ("getnameinfo: %s\n", gai_strerror (rc)); fh = fdopen (fd, "w+"); if (!fh) { perror ("fdopen"); close (fd); continue; } smtp (fh, ctx); fclose (fh); } close (sockfd); gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/saml20/README0000644000000000000000000002367713516252320013333 00000000000000GNU SASL examples/saml20/README -- Explanation of SMTP SAML 2.0 example. Copyright (C) 2012-2019 Simon Josefsson See the end for copying conditions. This directory holds a GNU SASL example application that implements a SMTP server with SAML 2.0 authentication support. The SAML implementation used is Lasso: http://lasso.entrouvert.org/ It should be noted that this is just an example of how it could work. You don't need to implement it this way. For example, sometimes having a Apache/PHP web server running is a problem. Then you could use something like MicroHTTPD and implement everything in one process using Lasso in C. Then you don't need any IPC stuff. Also, you could also want to use another SAML implementation instead of Lasso. The point of this example is just to proof that it works. This setup was tested with GNU SASL version 1.7.3. There is one example SMTP server and some helper tools that implement the actual SAML part: smtp-server-saml20.c: The actual SMTP server, based on ../smtp-server.c. It invokes gsasl-saml20-request.c to generate the request, and then waits for gsasl-saml20-sp.php to accept the SAML response. gsasl-saml20-request.c Given a Identity Provider identifier it generates a SAML Request and prints a user redirect URL. This tool is invoked by smtp-server-saml20.c. It uses Lasso as the SAML library. gsasl-saml20-sp.php: This is the SAML SP responsible for accepting SAML Responses. Intended to be invoked via a webserver. These three tools communicate with each other using a simple file-based IPC interface, normally placed below /tmp/gsasl-saml20/. Install the SAML SP: The "gsasl-saml20-sp.php" script needs to be install so that it is reachable under some URL via a web server. This is the AssertionConsumerService (ACS) for the GNU SASL SP. For example, on interop.josefsson.org I make the ACS available as http://interop.josefsson.org/gsasl-saml20-sp.php by copying the file into /var/www/gsasl-saml20-sp.php Configure the tool by specifying the state and configuration directories in a file called gsasl-saml20-config.php in the same directory, like this: echo '' > /var/www/gsasl-saml20-config.php Of course you can chose different paths, but then you need to update the paths accordingly in the rest of this documentation. Create SAML SP configuration: /etc/gsasl-saml20/sp-key.pem /etc/gsasl-saml20/sp-crt.pem This is a private key and certificate for your SP. It can be self-signed. You may generate the files with GnuTLS like this: certtool -p --outfile sp-key.pem echo 'organization=My SP' > sp-crt.template certtool --generate-self-signed --load-privkey sp-key.pem --template sp-crt.template --outfile sp-crt.pem Currently the private key is not used to sign requests. /etc/gsasl-saml20/sp-metadata.xml This is specific for your SP. Use sp-metadata.xml as a starting point if you are unsure, and use a text editor to modify it. You need to: 1) Change the entityID to something (the URL does not have to resolve to anything, but should be unique to this SP). 2) Replace the ACS URL to point at your gsasl-saml20-sp.php. 3) Replace the certificate data (in two places) with the base64 data from sp-crt.pem. 4) Update with your contact information at the bottom. You may want to make the SP metadata reachable over the web as well, for example by doing: ln -s /etc/gsasl-saml20/sp-metadata.xml /var/www/ /etc/gsasl-saml20/IDP/idp-metadata.xml This is the XML metadata for each IdP. Replace "IDP" in the filename with the Identity Provider Identifier you expect users to type. /etc/gsasl-saml20/openidp.feide.no/idp-metadata.xml Here we used Feide OpenIdP as an example. The content of idp-metadata.xml is retrieved from the IdP. For Feide OpenIdP you can retrieve it from the following URL: https://openidp.feide.no/simplesaml/saml2/idp/metadata.php /etc/gsasl-saml20/idp.protectnetwork.org/idp-metadata.xml As the second test IdP we used Protect Network. You can retrieve the file from here: http://www.protectnetwork.org/protectnetwork-metadata.xml Lasso requires that the KeyDescriptor tags are qualified with attributes use="signing" or use="encryption" respectively, so you need to modify the file slightly. Here is the normal process: 1) Start the example SMTP server "smtp-server-saml20", for example when running it on the interop.josefsson.org server the following is used: su -c "env LD_LIBRARY_PATH=/root/gsasl/lib/src/.libs PATH=$PATH:/root/gsasl/examples/saml20 nohup /root/gsasl/examples/saml20/smtp-server-saml20 2001 /etc/gsasl-saml20 /tmp/gsasl-saml20 /etc/gsasl-saml20/sp-metadata.xml /etc/gsasl-saml20/sp-key.pem /etc/gsasl-saml20/sp-crt.pem 2>&1 | logger -t saml20" www-data & For permission reasons, you should run the server under the same user as the webserver runs gsasl-saml20-sp.php. The "gsasl-saml20" tool takes some parameters, the port, the configuration directory, the IPC directory, and the metadata, key and certificate for the SP. 2) The smtp-server-saml20 receives incoming connections from clients. The client sends the Identity Provider Identifier. You may use the gsasl command line tool to act as a client. For example: jas@latte:~$ gsasl --smtp -m SAML20 interop.josefsson.org 2001 Trying ‘interop.josefsson.org’... 220 localhost ESMTP GNU SASL smtp-server EHLO [127.0.0.1] 250-localhost 250 AUTH ANONYMOUS EXTERNAL LOGIN PLAIN SECURID DIGEST-MD5 CRAM-MD5 SCRAM-SHA-1 SAML20 OPENID20 EHLO [127.0.0.1] 250-localhost 250 AUTH ANONYMOUS EXTERNAL LOGIN PLAIN SECURID DIGEST-MD5 CRAM-MD5 SCRAM-SHA-1 SAML20 OPENID20 AUTH SAML20 334 Enter SAML authentication identifier (e.g. "http://example.org/"): At the prompt, you could type for example "openidp.feide.no". 3) smtp-server-saml20 invokes "gsasl-saml20-request" to get the redirect URL, which is also stored in this file: /tmp/gsasl-saml20/SESSIONID/redirect_url The SESSIONID will be unique for every SAML Request, it looks for example like "_B6F098F6D17C63796A9DF3BB63EF58AA". 4) The server continue with the SMTP authentication process, the output from the gsasl client looks like: biwsb3BlbmlkcC5mZWlkZS5ubw== 334 aHR0cHM6Ly9vcGVuaWRwLmZlaWRlLm5vL3NpbXBsZXNhbWwvc2FtbDIvaWRwL1NTT1NlcnZpY2UucGhwP1NBTUxSZXF1ZXN0PWZaRlBiNE13RE1XJTJGQ3NvZFFzdEthUVJJdEF5cDB2NVVZOXBobHltaXBzMFVraXdPM2ZidEIxU2R0a3N2UGp6N0p6OCUyRnA4ZzdhVmpSdTZONmdvOGUwSGxmblZUSXBrWkdlcXVZNWlpUUtkNEJNdGV3dXJpJTJGWSUyRk1nWk1acXB4c3R5UiUyRmtPc0VSd1RxaEZmRzJaVWJlMW5FVnJwSXFMbWZMVFJ3dFYzR3hLcXRvdlk2ajIycVJGQVh4WHNEaU1KJTJCUkFSOGd4QjYyQ2gxWGJwREMyZHdQYiUyRnhaOGh3bWJMRmcwZXlWZU9Wd2cxRGNUZFRST1lPTVVtMUFpYjBKV2hCN0NKU21LRG9qWVhSTXh6S25RNWZXOVdNTjlpUWFDTXpSRUslMkZTdG9FcG00eTBYQ0tNRG5iREVlSUVGeVZQUjU1TnpteCUyQjJTZVVBNnROOEs0UldrU3RBbTBQOUlBY3BUJTJGdEMzMDBLZjJMcHVkWFBBeWhiY3VkbHFMNUhnMTAzRjNQZEZURTNtJTJCblVlWXNWeWhBT2VJVlV1clBqUVh1ZnMzUyUyRkx6eiUyRjhmekh3JTNEJTNEJlNpZ0FsZz1odHRwJTNBJTJGJTJGd3d3LnczLm9yZyUyRjIwMDAlMkYwOSUyRnhtbGRzaWclMjNyc2Etc2hhMSZTaWduYXR1cmU9RU1hR3JERWZFZUlXeGJSUFREazZNUXllJTJGalF1cVVsY1p0bE9Ob0VnMkVSOUxwckU4UWhSbXdpMU02QzliMnNJbEU1b01PZXUzeCUyRlM1aWJiTlV3Y1ZwMk1lRTRlWnFWdm5xQThGZzklMkJhc2FHQTY4QVpRWWxxelNGZXJqdWljWkwwN2NWVkElMkZGRWsyWmJPcGdUdGZKbWg1dWtiUXY5VUROeHUwazlkWHY4ejQwVldsVDVSRUJHYjFkUVRFMEFFczNrQyUyQlZxR0ZkUVpHYmtJeGt3MVBZblVHTkQzJTJCUnZ1OFcyTENRTGE5ZDN1RGlTUllMekhvJTJGSGZKTnhuTVFjTVliMHV0dFNQNnp2bktqJTJCSGJRTGxERUNMemxpJTJCRkFuWUYxTDBpOXo0cFFSQUthVmRNYmNHaWFBZSUyRnVoZDAlMkJUQVVRZlJraGpDRWFoS1dYeXN5OEtualIlMkY5TThDZWNUMU4lMkJ1NFV4emhVM1BDcG1zVnNUVW9ZekxYUGxWRnBod2owb0l4S2JGQUd0bnF3TktieENTV2JaUk5RJTNEJTNE Visit this URL to proceed with authentication: https://openidp.feide.no/simplesaml/saml2/idp/SSOService.php?SAMLRequest=fZFPb4MwDMW%2FCsodQstKaQRItAyp0v5UY9phlymips0UkiwO3fbtB1SdtksvPjz7Jz8%2Fp8g7aVjRu6N6go8e0HlfnVTIpkZGequY5iiQKd4BMtewuri%2FY%2FMgZMZqpxstyR%2FkOsERwTqhFfG2ZUbe1nEVrpIqLmfLTRwtV3GxKqtovY6j22qRFAXxXsDiMJ%2BRAR8gxB62Ch1XbpDC2dwPb%2FxZ8hwmbLFg0eyVeOVwg1DcTdTROYOMUm1Aib0JWhB7CJSmKDojYXRMxzKnQ5fW9WMN9iQaCMzREK%2FStoEpm4y0XCKMDnbDEeIEFyVPR55Nzmx%2B2SeUA6tN8K4RWkStAm0P9IAcpT%2FtC300Kf2LpudXPAyhbcudlqL5Hg103F3PdFTE3m%2BnUeYsVyhAOeIVUurPjQXufs3S%2FLzz%2F8fzHw%3D%3D&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1&Signature=EMaGrDEfEeIWxbRPTDk6MQye%2FjQuqUlcZtlONoEg2ER9LprE8QhRmwi1M6C9b2sIlE5oMOeu3x%2FS5ibbNUwcVp2MeE4eZqVvnqA8Fg9%2BasaGA68AZQYlqzSFerjuicZL07cVVA%2FFEk2ZbOpgTtfJmh5ukbQv9UDNxu0k9dXv8z40VWlT5REBGb1dQTE0AEs3kC%2BVqGFdQZGbkIxkw1PYnUGND3%2BRvu8W2LCQLa9d3uDiSRYLzHo%2FHfJNxnMQcMYb0uttSP6zvnKj%2BHbQLlDECLzli%2BFAnYF1L0i9z4pQRAKaVdMbcGiaAe%2Fuhd0%2BTAUQfRkhjCEahKWXysy8KnjR%2F9M8CecT1N%2Bu4UxzhU3PCpmsVsTUoYzLXPlVFphwj0oIxKbFAGtnqwNKbxCSWbZRNQ%3D%3D PQ== 5) smtp-server-saml20 waits for one of the following files to appear: /tmp/gsasl-saml20/_B6F098F6D17C63796A9DF3BB63EF58AA/success /tmp/gsasl-saml20/_B6F098F6D17C63796A9DF3BB63EF58AA/fail 6) Meanwhile the user will receive the redirect URL over the SMTP connection and will access the URL in his browser. Eventually, after IdP approval, the browser will be redirected to the SP with the SAML response. 7) The gsasl-saml20-sp.php verify the SAML Response (using Lasso as the SAML library) and writes files to the IPC store. 8) smtp-server-saml20 notice that one of the IPC files is present and proceeds by reading the files and returning success/fail to the client as appropriate. The client will print something like this: 235 OK [authid: _d69b0f484333df7eea73fccfd0b4dae2629f2eeb89 authzid: N/A] Client authentication finished (server trusted)... Enter application data (EOF to finish): ---------------------------------------------------------------------- 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. gsasl-1.8.1/examples/saml20/sp-metadata.xml0000644000000000000000000000662712222241124015362 00000000000000 MIIDVzCCAg+gAwIBAgIET3l7aTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQKExpT aW1vbiBKb3NlZnNzb24gSW50ZXJvcCBTUDAeFw0xMjA0MDIxMDExNTNaFw0xMzA0 MDIxMDExNTNaMCUxIzAhBgNVBAoTGlNpbW9uIEpvc2Vmc3NvbiBJbnRlcm9wIFNQ MIIBUjANBgkqhkiG9w0BAQEFAAOCAT8AMIIBOgKCATEA2kd6qFqmPTlXi24VbZtY HrOqhk9UNB7OoA+AVXhvHKO+5guhcxdhSxvQ/C1bAkytfhOqJut+6q93iiI+W2tj VCkT0UPyUNFHxlKJK3Y6ZG/W+andQOATWdCT6UCM278WYbBC+1xZqd/MGvxixFd/ w+ZVDhaLmeRUbQfePQM6P0ksZoZh9Ctj2QMohEaJqiKsjsvQzSwBAi2GtxfMSiMB GUSKfseXclpziNsutsLuqbrKLRiZ/ts8GAJsQLkndGO054cbLX5Mx2/tYZR0FkK7 uxfUWKleGIv6S76TTsOTZ+Afmv+R2jVLco1SbA2bvQ9OGhczByZTi3LtO2UzG5Ju yUFxZgpo30osNQIT4ZtggULX0BdABUmfrlYo+6fBIgsAYXWHxZjea2I9pCyb8gOa aQIDAQABoy8wLTAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBSf2/lube3cgv+IUz4O vLNDqwg5gTANBgkqhkiG9w0BAQsFAAOCATEAMzNcMklXduG1jevHvY4uL+G8dgFI 9eBNTFkgbamJXqptEmGkCWOMMt8GSJoOjRtMbcxu7ao8wfBV7wRzk4ITpiB/IBqW dph9gNGDBasqnZxu+onh45BzGl3nY94aE2MfGS5FjxcGjYA5PJC/isNLlrJ1/YjO jYcDBcNRJvMXbDE13fY/vwKxLI1pdtpamys3Zogc3wzeuH5lLLB2blWS6eqwcnf4 zNNFnusxOcOVt+DigN0otb+6V560mun6X+9vARIuEUHB1MNH7Y/mHy1T5CvZuyIw cgrfb2PocuvrkquzJPZCSJcsgzxLVFWXUr6hKhFoqh4nirrv5kfI8Ftm/hJxRBwE 87Z2PnzISd4JQ20jbp2DEPJLYsWivKtJAWxZ4hfYc/SSKE39F7kwCWiwkQ== MIIDVzCCAg+gAwIBAgIET3l7aTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQKExpT aW1vbiBKb3NlZnNzb24gSW50ZXJvcCBTUDAeFw0xMjA0MDIxMDExNTNaFw0xMzA0 MDIxMDExNTNaMCUxIzAhBgNVBAoTGlNpbW9uIEpvc2Vmc3NvbiBJbnRlcm9wIFNQ MIIBUjANBgkqhkiG9w0BAQEFAAOCAT8AMIIBOgKCATEA2kd6qFqmPTlXi24VbZtY HrOqhk9UNB7OoA+AVXhvHKO+5guhcxdhSxvQ/C1bAkytfhOqJut+6q93iiI+W2tj VCkT0UPyUNFHxlKJK3Y6ZG/W+andQOATWdCT6UCM278WYbBC+1xZqd/MGvxixFd/ w+ZVDhaLmeRUbQfePQM6P0ksZoZh9Ctj2QMohEaJqiKsjsvQzSwBAi2GtxfMSiMB GUSKfseXclpziNsutsLuqbrKLRiZ/ts8GAJsQLkndGO054cbLX5Mx2/tYZR0FkK7 uxfUWKleGIv6S76TTsOTZ+Afmv+R2jVLco1SbA2bvQ9OGhczByZTi3LtO2UzG5Ju yUFxZgpo30osNQIT4ZtggULX0BdABUmfrlYo+6fBIgsAYXWHxZjea2I9pCyb8gOa aQIDAQABoy8wLTAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBSf2/lube3cgv+IUz4O vLNDqwg5gTANBgkqhkiG9w0BAQsFAAOCATEAMzNcMklXduG1jevHvY4uL+G8dgFI 9eBNTFkgbamJXqptEmGkCWOMMt8GSJoOjRtMbcxu7ao8wfBV7wRzk4ITpiB/IBqW dph9gNGDBasqnZxu+onh45BzGl3nY94aE2MfGS5FjxcGjYA5PJC/isNLlrJ1/YjO jYcDBcNRJvMXbDE13fY/vwKxLI1pdtpamys3Zogc3wzeuH5lLLB2blWS6eqwcnf4 zNNFnusxOcOVt+DigN0otb+6V560mun6X+9vARIuEUHB1MNH7Y/mHy1T5CvZuyIw cgrfb2PocuvrkquzJPZCSJcsgzxLVFWXUr6hKhFoqh4nirrv5kfI8Ftm/hJxRBwE 87Z2PnzISd4JQ20jbp2DEPJLYsWivKtJAWxZ4hfYc/SSKE39F7kwCWiwkQ== Simon Josefsson simon@josefsson.org gsasl-1.8.1/examples/saml20/gsasl-saml20-request.c0000644000000000000000000001403313516252320016474 00000000000000/* gsasl-saml20-request.c --- Generate SAML Request, for smtp-server-saml20. * Copyright (C) 2012-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include #include #include #include #include static void mkdir_state (const char *state_path) { int rc; rc = mkdir (state_path, 0770); if (rc != 0 && errno != EEXIST) { perror ("mkdir"); exit (EXIT_FAILURE); } } static void mkdir_session (const char *state_path, const char *id) { char *tmp; int rc; rc = asprintf (&tmp, "%s/%s", state_path, id); if (rc <= 0) { perror ("asprintf"); exit (EXIT_FAILURE); } rc = mkdir (tmp, 0770); free (tmp); if (rc != 0) { perror ("mkdir"); exit (EXIT_FAILURE); } } static void write_file (const char *file, const char *data) { FILE *fh; fh = fopen (file, "w"); if (!fh) { perror ("fopen"); exit (EXIT_FAILURE); } if (fprintf (fh, "%s", data) <= 0) { perror ("fprintf"); exit (EXIT_FAILURE); } if (fclose (fh)) { perror ("fclose"); exit (EXIT_FAILURE); } } static void write_authreq (LassoLogin * login, const char *state_path, const char *id) { LassoNode *authreq; char *authreq_xml; char *filename; int rc; authreq = LASSO_PROFILE (login)->request; if (!authreq) { fprintf (stderr, "LASSO_PROFILE(login)->request\n"); exit (EXIT_FAILURE); } authreq_xml = lasso_node_export_to_xml (authreq); if (!authreq_xml) { fprintf (stderr, "lasso_node_export_to_xml\n"); exit (EXIT_FAILURE); } rc = asprintf (&filename, "%s/%s/saml-request", state_path, id); if (rc <= 0) { perror ("asprintf"); free (authreq_xml); exit (EXIT_FAILURE); } write_file (filename, authreq_xml); free (filename); free (authreq_xml); } static void write_redirect_url (LassoLogin * login, const char *state_path, const char *id) { char *filename; int rc; rc = asprintf (&filename, "%s/%s/redirect_url", state_path, id); if (rc <= 0) { perror ("asprintf"); exit (EXIT_FAILURE); } write_file (filename, LASSO_PROFILE (login)->msg_url); free (filename); } static void usage (const char *argv0) { const char *progname = strrchr (argv0, '/') ? 1 + strrchr (argv0, '/') : argv0; fprintf (stderr, "Usage: %s STATE-PATH SP-METADATA SP-KEY " "SP-CRT IDP-METADATA\n", progname); fprintf (stderr, "For example:\n"); fprintf (stderr, " %s /tmp/gsasl-saml20 /path/to/sp-metadata.xml " "/path/to/sp-key.pem /path/to/sp-crt.pem " "/path/to/idp-metadata.xml\n", progname); } int main (int argc, char *argv[]) { const char *state_path, *spmetadata, *spkey, *spcrt, *idpmetadata, *idp; LassoProvider *provider; LassoServer *server; LassoLogin *login; LassoSamlp2AuthnRequest *request; int rc; if (argc != 6) { usage (argv[0]); exit (EXIT_FAILURE); } state_path = argv[1]; spmetadata = argv[2]; spkey = argv[3]; spcrt = argv[4]; idpmetadata = argv[5]; mkdir_state (state_path); rc = lasso_init (); if (rc) { fprintf (stderr, "lasso_init (%d): %s\n", rc, lasso_strerror (rc)); exit (EXIT_FAILURE); } provider = lasso_provider_new (LASSO_PROVIDER_ROLE_IDP, idpmetadata, NULL, NULL); if (!provider) { fprintf (stderr, "%s", "lasso_provider_new"); exit (EXIT_FAILURE); } idp = provider->ProviderID; server = lasso_server_new (spmetadata, spkey, NULL, spcrt); if (!server) { fprintf (stderr, "%s", "lasso_server_new"); exit (EXIT_FAILURE); } rc = lasso_server_add_provider (server, LASSO_PROVIDER_ROLE_IDP, idpmetadata, NULL, NULL); if (rc) { fprintf (stderr, "lasso_server_add_provider (%d): %s\n", rc, lasso_strerror (rc)); exit (EXIT_FAILURE); } login = lasso_login_new (server); if (!login) { fprintf (stderr, "%s", "lasso_login_new"); exit (EXIT_FAILURE); } rc = lasso_login_init_authn_request (login, idp, LASSO_HTTP_METHOD_REDIRECT); if (rc) { fprintf (stderr, "lasso_login_init_authn_request (%d): %s\n", rc, lasso_strerror (rc)); exit (EXIT_FAILURE); } request = LASSO_SAMLP2_AUTHN_REQUEST (LASSO_PROFILE (login)->request); request->ForceAuthn = FALSE; request->IsPassive = FALSE; rc = lasso_login_build_authn_request_msg (login); if (rc) { fprintf (stderr, "lasso_login_build_authn_request_msg (%d): %s\n", rc, lasso_strerror (rc)); exit (EXIT_FAILURE); } /* Populate session directory. */ mkdir_session (state_path, request->parent.ID); write_authreq (login, state_path, request->parent.ID); write_redirect_url (login, state_path, request->parent.ID); /* Print session ID, this will enable the caller to find the session information. */ if (puts (request->parent.ID) <= 0) { perror ("puts"); exit (EXIT_FAILURE); } /* We are done. */ lasso_login_destroy (login); lasso_server_destroy (server); /* lasso_provider_destroy (provider); */ rc = lasso_shutdown (); if (rc) { fprintf (stderr, "lasso_shutdown (%d): %s\n", rc, lasso_strerror (rc)); exit (EXIT_FAILURE); } exit (EXIT_SUCCESS); } gsasl-1.8.1/examples/saml20/sp-crt.pem0000644000000000000000000000230412222241124014337 00000000000000-----BEGIN CERTIFICATE----- MIIDVzCCAg+gAwIBAgIET3l7aTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQKExpT aW1vbiBKb3NlZnNzb24gSW50ZXJvcCBTUDAeFw0xMjA0MDIxMDExNTNaFw0xMzA0 MDIxMDExNTNaMCUxIzAhBgNVBAoTGlNpbW9uIEpvc2Vmc3NvbiBJbnRlcm9wIFNQ MIIBUjANBgkqhkiG9w0BAQEFAAOCAT8AMIIBOgKCATEA2kd6qFqmPTlXi24VbZtY HrOqhk9UNB7OoA+AVXhvHKO+5guhcxdhSxvQ/C1bAkytfhOqJut+6q93iiI+W2tj VCkT0UPyUNFHxlKJK3Y6ZG/W+andQOATWdCT6UCM278WYbBC+1xZqd/MGvxixFd/ w+ZVDhaLmeRUbQfePQM6P0ksZoZh9Ctj2QMohEaJqiKsjsvQzSwBAi2GtxfMSiMB GUSKfseXclpziNsutsLuqbrKLRiZ/ts8GAJsQLkndGO054cbLX5Mx2/tYZR0FkK7 uxfUWKleGIv6S76TTsOTZ+Afmv+R2jVLco1SbA2bvQ9OGhczByZTi3LtO2UzG5Ju yUFxZgpo30osNQIT4ZtggULX0BdABUmfrlYo+6fBIgsAYXWHxZjea2I9pCyb8gOa aQIDAQABoy8wLTAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBSf2/lube3cgv+IUz4O vLNDqwg5gTANBgkqhkiG9w0BAQsFAAOCATEAMzNcMklXduG1jevHvY4uL+G8dgFI 9eBNTFkgbamJXqptEmGkCWOMMt8GSJoOjRtMbcxu7ao8wfBV7wRzk4ITpiB/IBqW dph9gNGDBasqnZxu+onh45BzGl3nY94aE2MfGS5FjxcGjYA5PJC/isNLlrJ1/YjO jYcDBcNRJvMXbDE13fY/vwKxLI1pdtpamys3Zogc3wzeuH5lLLB2blWS6eqwcnf4 zNNFnusxOcOVt+DigN0otb+6V560mun6X+9vARIuEUHB1MNH7Y/mHy1T5CvZuyIw cgrfb2PocuvrkquzJPZCSJcsgzxLVFWXUr6hKhFoqh4nirrv5kfI8Ftm/hJxRBwE 87Z2PnzISd4JQ20jbp2DEPJLYsWivKtJAWxZ4hfYc/SSKE39F7kwCWiwkQ== -----END CERTIFICATE----- gsasl-1.8.1/examples/saml20/openidp.feide.no/0000755000000000000000000000000013521017732015642 500000000000000gsasl-1.8.1/examples/saml20/openidp.feide.no/idp-metadata.xml0000644000000000000000000000615212222241124020631 00000000000000 MIICizCCAfQCCQCY8tKaMc0BMjANBgkqhkiG9w0BAQUFADCBiTELMAkGA1UEBhMCTk8xEjAQBgNVBAgTCVRyb25kaGVpbTEQMA4GA1UEChMHVU5JTkVUVDEOMAwGA1UECxMFRmVpZGUxGTAXBgNVBAMTEG9wZW5pZHAuZmVpZGUubm8xKTAnBgkqhkiG9w0BCQEWGmFuZHJlYXMuc29sYmVyZ0B1bmluZXR0Lm5vMB4XDTA4MDUwODA5MjI0OFoXDTM1MDkyMzA5MjI0OFowgYkxCzAJBgNVBAYTAk5PMRIwEAYDVQQIEwlUcm9uZGhlaW0xEDAOBgNVBAoTB1VOSU5FVFQxDjAMBgNVBAsTBUZlaWRlMRkwFwYDVQQDExBvcGVuaWRwLmZlaWRlLm5vMSkwJwYJKoZIhvcNAQkBFhphbmRyZWFzLnNvbGJlcmdAdW5pbmV0dC5ubzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAt8jLoqI1VTlxAZ2axiDIThWcAOXdu8KkVUWaN/SooO9O0QQ7KRUjSGKN9JK65AFRDXQkWPAu4HlnO4noYlFSLnYyDxI66LCr71x4lgFJjqLeAvB/GqBqFfIZ3YK/NrhnUqFwZu63nLrZjcUZxNaPjOOSRSDaXpv1kb5k3jOiSGECAwEAATANBgkqhkiG9w0BAQUFAAOBgQBQYj4cAafWaYfjBU2zi1ElwStIaJ5nyp/s/8B8SAPK2T79McMyccP3wSW13LHkmM1jwKe3ACFXBvqGQN0IbcH49hu0FKhYFM/GPDJcIHFBsiyMBXChpye9vBaTNEBCtU3KjjyG0hRT2mAQ9h+bkPmOvlEo/aH0xR68Z9hw4PF13w== MIICizCCAfQCCQCY8tKaMc0BMjANBgkqhkiG9w0BAQUFADCBiTELMAkGA1UEBhMCTk8xEjAQBgNVBAgTCVRyb25kaGVpbTEQMA4GA1UEChMHVU5JTkVUVDEOMAwGA1UECxMFRmVpZGUxGTAXBgNVBAMTEG9wZW5pZHAuZmVpZGUubm8xKTAnBgkqhkiG9w0BCQEWGmFuZHJlYXMuc29sYmVyZ0B1bmluZXR0Lm5vMB4XDTA4MDUwODA5MjI0OFoXDTM1MDkyMzA5MjI0OFowgYkxCzAJBgNVBAYTAk5PMRIwEAYDVQQIEwlUcm9uZGhlaW0xEDAOBgNVBAoTB1VOSU5FVFQxDjAMBgNVBAsTBUZlaWRlMRkwFwYDVQQDExBvcGVuaWRwLmZlaWRlLm5vMSkwJwYJKoZIhvcNAQkBFhphbmRyZWFzLnNvbGJlcmdAdW5pbmV0dC5ubzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAt8jLoqI1VTlxAZ2axiDIThWcAOXdu8KkVUWaN/SooO9O0QQ7KRUjSGKN9JK65AFRDXQkWPAu4HlnO4noYlFSLnYyDxI66LCr71x4lgFJjqLeAvB/GqBqFfIZ3YK/NrhnUqFwZu63nLrZjcUZxNaPjOOSRSDaXpv1kb5k3jOiSGECAwEAATANBgkqhkiG9w0BAQUFAAOBgQBQYj4cAafWaYfjBU2zi1ElwStIaJ5nyp/s/8B8SAPK2T79McMyccP3wSW13LHkmM1jwKe3ACFXBvqGQN0IbcH49hu0FKhYFM/GPDJcIHFBsiyMBXChpye9vBaTNEBCtU3KjjyG0hRT2mAQ9h+bkPmOvlEo/aH0xR68Z9hw4PF13w== urn:oasis:names:tc:SAML:2.0:nameid-format:transient Feide support support@feide.no gsasl-1.8.1/examples/saml20/idp.protectnetwork.org/0000755000000000000000000000000013521017732017151 500000000000000gsasl-1.8.1/examples/saml20/idp.protectnetwork.org/idp-metadata.xml0000644000000000000000000001362512222241124022143 00000000000000 idp.protectnetwork.org MIICxzCCAjCgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBkTELMAkGA1UEBhMCVVMx DjAMBgNVBAgTBVRleGFzMRcwFQYDVQQKEw45U3RhciBSZXNlYXJjaDEXMBUGA1UE CxMOUHJvdGVjdE5ldHdvcmsxGjAYBgNVBAMTEVByb3RlY3ROZXR3b3JrIENBMSQw IgYJKoZIhvcNAQkBFhVjYUBwcm90ZWN0bmV0d29yay5vcmcwHhcNMDcwMjE0MjA1 ODA4WhcNMTcwMjExMjA1ODA4WjCBhzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVRl eGFzMQ8wDQYDVQQHEwZBdXN0aW4xHTAbBgNVBAoTFDlTdGFyIFJlc2VhcmNoLCBJ bmMuMRcwFQYDVQQLEw5Qcm90ZWN0TmV0d29yazEfMB0GA1UEAxMWaWRwLnByb3Rl Y3RuZXR3b3JrLm9yZzBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDQt4HC/EHIKS8a +Qd/4JE20wR91v5N7jh8ScDw6DvZ5RcvHQngXCk6FfCFUAev/dZxR31U4RpvFzCb j3sGB+G1AgMBAAGjezB5MAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5T U0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBTRRyiPTvIDunJKy1+h mlkgl7/G+zAfBgNVHSMEGDAWgBQtFNiF4X/xTkU36JaWVCh08bzGgDANBgkqhkiG 9w0BAQUFAAOBgQAm3BTIwg6Lxk3EAoLR2cDfb+jNWAtls7q077Mw3tMXxnuoi0uS o+LC6bPdPjC9YKujSKF34Au0s7y9bfXspClfCmyuviYVOrpVUze2h2MfHUVsKEUo /uivLYuMZjNp6Yrt90AoKPLPF6vU6gLAn6nsR7bhsdIqSXD/93r8HFV3NA== urn:mace:shibboleth:1.0:nameIdentifier urn:oasis:names:tc:SAML:2.0:nameid-format:transient idp.protectnetwork.org MIICxzCCAjCgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBkTELMAkGA1UEBhMCVVMx DjAMBgNVBAgTBVRleGFzMRcwFQYDVQQKEw45U3RhciBSZXNlYXJjaDEXMBUGA1UE CxMOUHJvdGVjdE5ldHdvcmsxGjAYBgNVBAMTEVByb3RlY3ROZXR3b3JrIENBMSQw IgYJKoZIhvcNAQkBFhVjYUBwcm90ZWN0bmV0d29yay5vcmcwHhcNMDcwMjE0MjA1 ODA4WhcNMTcwMjExMjA1ODA4WjCBhzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVRl eGFzMQ8wDQYDVQQHEwZBdXN0aW4xHTAbBgNVBAoTFDlTdGFyIFJlc2VhcmNoLCBJ bmMuMRcwFQYDVQQLEw5Qcm90ZWN0TmV0d29yazEfMB0GA1UEAxMWaWRwLnByb3Rl Y3RuZXR3b3JrLm9yZzBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDQt4HC/EHIKS8a +Qd/4JE20wR91v5N7jh8ScDw6DvZ5RcvHQngXCk6FfCFUAev/dZxR31U4RpvFzCb j3sGB+G1AgMBAAGjezB5MAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5T U0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBTRRyiPTvIDunJKy1+h mlkgl7/G+zAfBgNVHSMEGDAWgBQtFNiF4X/xTkU36JaWVCh08bzGgDANBgkqhkiG 9w0BAQUFAAOBgQAm3BTIwg6Lxk3EAoLR2cDfb+jNWAtls7q077Mw3tMXxnuoi0uS o+LC6bPdPjC9YKujSKF34Au0s7y9bfXspClfCmyuviYVOrpVUze2h2MfHUVsKEUo /uivLYuMZjNp6Yrt90AoKPLPF6vU6gLAn6nsR7bhsdIqSXD/93r8HFV3NA== urn:mace:shibboleth:1.0:nameIdentifier urn:oasis:names:tc:SAML:2.0:nameid-format:transient ProtectNetwork ProtectNetwork http://www.protectnetwork.org Todd Frankford support@protectnetwork.org gsasl-1.8.1/examples/saml20/Makefile.am0000644000000000000000000000247313516252320014476 00000000000000## Process this file with automake to produce Makefile.in # Copyright (C) 2012-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src \ $(LASSO_CFLAGS) AM_LDFLAGS = -no-install LDADD = $(top_builddir)/lib/src/libgsasl.la $(top_builddir)/gl/libgl.la \ $(LASSO_LIBS) EXTRA_DIST = README EXTRA_DIST += gsasl-saml20-sp.php EXTRA_DIST += sp-metadata.xml sp-key.pem sp-crt.pem EXTRA_DIST += openidp.feide.no/idp-metadata.xml EXTRA_DIST += idp.protectnetwork.org/idp-metadata.xml if LASSO noinst_PROGRAMS = smtp-server-saml20 gsasl-saml20-request endif gsasl-1.8.1/examples/saml20/sp-key.pem0000644000000000000000000001517012222241124014344 00000000000000Public Key Info: Public Key Algorithm: RSA Key Security Level: Normal modulus: 00:da:47:7a:a8:5a:a6:3d:39:57:8b:6e:15:6d:9b: 58:1e:b3:aa:86:4f:54:34:1e:ce:a0:0f:80:55:78: 6f:1c:a3:be:e6:0b:a1:73:17:61:4b:1b:d0:fc:2d: 5b:02:4c:ad:7e:13:aa:26:eb:7e:ea:af:77:8a:22: 3e:5b:6b:63:54:29:13:d1:43:f2:50:d1:47:c6:52: 89:2b:76:3a:64:6f:d6:f9:a9:dd:40:e0:13:59:d0: 93:e9:40:8c:db:bf:16:61:b0:42:fb:5c:59:a9:df: cc:1a:fc:62:c4:57:7f:c3:e6:55:0e:16:8b:99:e4: 54:6d:07:de:3d:03:3a:3f:49:2c:66:86:61:f4:2b: 63:d9:03:28:84:46:89:aa:22:ac:8e:cb:d0:cd:2c: 01:02:2d:86:b7:17:cc:4a:23:01:19:44:8a:7e:c7: 97:72:5a:73:88:db:2e:b6:c2:ee:a9:ba:ca:2d:18: 99:fe:db:3c:18:02:6c:40:b9:27:74:63:b4:e7:87: 1b:2d:7e:4c:c7:6f:ed:61:94:74:16:42:bb:bb:17: d4:58:a9:5e:18:8b:fa:4b:be:93:4e:c3:93:67:e0: 1f:9a:ff:91:da:35:4b:72:8d:52:6c:0d:9b:bd:0f: 4e:1a:17:33:07:26:53:8b:72:ed:3b:65:33:1b:92: 6e:c9:41:71:66:0a:68:df:4a:2c:35:02:13:e1:9b: 60:81:42:d7:d0:17:40:05:49:9f:ae:56:28:fb:a7: c1:22:0b:00:61:75:87:c5:98:de:6b:62:3d:a4:2c: 9b:f2:03:9a:69: public exponent: 01:00:01: private exponent: 00:91:f0:22:70:f7:12:98:72:83:36:a4:a6:4c:ff: 04:be:9a:2f:13:d7:6c:1b:e0:d1:13:30:ea:03:bb: 1e:c6:ce:2f:ef:0c:ad:a8:0e:64:ad:5b:ee:b0:fb: fe:12:1e:84:0c:7c:47:51:f8:37:85:df:45:14:24: ea:fe:22:61:69:be:81:12:73:d4:49:f6:72:7f:85: 65:52:9a:9c:55:d4:74:ad:bd:c5:40:ff:cf:d0:47: e4:ec:99:8c:d3:cb:01:c2:d4:9f:24:01:cd:ad:07: 05:26:b1:c1:b3:36:31:25:20:15:93:f2:bc:e9:6a: 40:8c:19:2b:9c:2d:51:3f:48:c4:17:d4:17:1f:b1: f6:f2:fb:ea:95:ed:b7:52:fa:15:d6:ef:2c:2e:51: 12:67:8a:1e:a4:1f:7f:5b:c8:ef:bc:88:e5:91:da: 75:4e:fe:f7:2e:a6:6b:8e:1b:b1:d3:3c:e1:9d:84: b4:ac:ca:3a:cd:3c:bb:a9:01:98:8c:07:b0:fc:9d: 60:3b:03:47:36:67:e8:ee:e5:61:8e:ca:29:ab:fb: f4:6e:3f:1d:12:03:a5:f1:87:a0:3a:2e:5b:2a:22: d0:b6:42:c9:d9:54:dd:1d:57:8b:28:e3:3a:d2:b7: c0:ea:02:75:b1:28:88:38:6e:c8:f8:c6:93:f7:41: ad:61:b3:22:88:4b:f3:5c:bc:44:d8:5b:d0:23:70: 6a:3c:80:db:c4:22:49:9b:11:7d:f7:ea:83:94:b2: 5f:c1:f6:98:77:a1:18:ee:c9:b6:31:ee:d2:5e:a7: c7:7c:50:95:e5: prime1: 00:ec:b8:66:8f:f3:d6:d3:c5:2d:c0:b5:c7:3c:de: 02:b2:7f:71:14:bf:94:55:7b:b9:c0:2e:3e:1e:c1: ad:26:31:60:46:ea:1f:2d:51:bf:81:ae:8c:f0:3a: cb:a8:76:8e:12:38:8c:11:49:f8:32:68:01:15:ee: 09:e9:16:34:2e:31:f9:8d:1f:2e:11:57:f3:8a:b3: 1c:af:6e:33:0e:17:a8:1a:e0:d3:d4:4d:8f:7b:b8: fc:d9:22:00:79:45:77:f3:84:32:59:9f:e8:19:00: 57:06:3e:ec:01:aa:55:f7:bf:f6:ee:5b:f7:67:3e: 97:db:8b:ad:81:f8:ce:8c:60:6b:19:fc:fe:df:8c: 8b:0e:a6:87:09:dc:34:71:ca:d2:f6:e9:e8:a2:94: ad:32:53: prime2: 00:ec:0e:95:43:d1:d5:c9:ae:a4:ce:80:62:90:a3: 25:62:8d:ee:1a:f1:aa:4e:b4:bb:bf:81:e4:80:08: 63:4e:9d:f3:25:88:59:44:b4:80:de:d9:79:51:8f: 08:a7:4f:23:f6:37:cb:7c:b2:5d:25:da:ff:b2:da: 61:69:f5:d4:7b:5e:43:77:f3:a8:fd:9f:39:09:89: ef:ad:c9:4a:9e:9b:98:d5:d4:e8:a6:ec:25:30:85: 45:84:63:c3:ca:4b:5c:7b:ed:f7:fb:72:45:d2:ba: dc:8c:12:9a:5d:75:24:3e:86:a6:20:8d:f0:80:19: 7a:55:60:76:66:12:12:4a:50:95:dc:50:db:9a:5b: 38:0e:4c:72:6d:e7:69:ec:15:3e:e0:49:e0:f1:75: 8c:60:d3: coefficient: 74:ab:31:7b:a9:b5:c2:02:0a:a3:b9:02:c5:be:1e: 15:67:74:34:e7:b6:2a:33:61:0b:7d:f2:2a:e6:eb: 01:03:02:ad:13:b3:34:a9:b8:6f:8f:ea:2b:ed:74: 37:6a:fa:38:1c:c2:11:36:ba:46:f3:f9:e5:ee:f2: 55:05:41:7c:30:2d:e8:52:f9:9c:4f:d8:89:30:ae: d5:b2:c8:0c:31:ef:94:73:20:aa:8c:43:60:41:f9: 5e:8f:7e:4b:e0:64:61:c2:d2:1a:fd:10:9e:09:2d: d5:e0:15:48:f1:7e:17:3a:50:4e:6b:81:e1:a4:c9: 79:fc:88:75:51:36:ad:80:e4:41:4a:22:d2:05:a3: df:38:a2:ba:e8:f5:2a:dc:c7:d9:2c:e1:8f:60:21: ad:33: exp1: 00:9d:96:a1:08:a2:2e:d8:ea:42:6c:31:57:82:e8: d5:68:d9:38:81:b4:8c:5e:60:30:a7:84:e1:6b:fe: 49:73:cc:99:28:7c:81:e6:dc:ae:1d:fa:02:ef:86: 64:c0:30:b4:a1:e2:ad:34:71:46:de:df:a8:21:5e: 47:90:b9:6c:61:78:79:86:7e:44:5f:dd:6a:4f:62: af:ed:05:f2:cd:25:e8:8e:84:2f:e0:fd:05:51:3b: 34:70:a4:97:26:24:9e:17:2a:61:8e:92:ca:a3:a2: 3b:4c:f8:24:8b:73:47:29:d8:cc:dd:9f:b1:d3:34: b3:49:bf:f1:f1:3d:9e:db:8a:f0:a1:eb:70:0d:88: 75:a6:7a:2c:19:df:53:b6:91:6c:e2:5d:93:b6:70: 3d:e0:eb: exp2: 49:39:08:d2:1d:bf:ec:2c:b1:50:a1:00:72:0f:39: 64:85:d4:2b:25:75:87:ae:86:62:94:3f:35:fb:e4: 1a:19:e2:b7:6c:c1:0c:0f:d5:bd:ca:c5:d8:27:bf: 2e:6e:dd:1f:de:14:cf:dc:60:0a:83:11:38:00:87: a1:1f:b1:46:87:69:f4:46:6f:d0:24:58:c3:fd:b6: 8c:38:d9:5d:b3:b4:47:f8:20:26:cf:2f:86:0a:81: 12:dd:03:79:b7:c0:bb:6c:88:b4:c5:b0:a4:fa:73: b9:3b:78:08:af:72:8b:b6:a6:c7:88:5f:e6:cc:80: 67:05:62:14:ad:5c:61:12:f8:39:7c:17:72:9d:03: 19:64:5b:46:7e:37:1c:15:47:08:b9:c1:fe:04:51: 84:23: Public Key ID: 9F:DB:F9:6E:6D:ED:DC:82:FF:88:53:3E:0E:BC:B3:43:AB:08:39:81 Public key's random art: +--[ RSA 2440]----+ | | | | | | | . | | E . S | | o . o. . | | + o.o= ..| | o . o*==o=| | . o.*@**=| +-----------------+ -----BEGIN RSA PRIVATE KEY----- MIIFfAIBAAKCATEA2kd6qFqmPTlXi24VbZtYHrOqhk9UNB7OoA+AVXhvHKO+5guh cxdhSxvQ/C1bAkytfhOqJut+6q93iiI+W2tjVCkT0UPyUNFHxlKJK3Y6ZG/W+and QOATWdCT6UCM278WYbBC+1xZqd/MGvxixFd/w+ZVDhaLmeRUbQfePQM6P0ksZoZh 9Ctj2QMohEaJqiKsjsvQzSwBAi2GtxfMSiMBGUSKfseXclpziNsutsLuqbrKLRiZ /ts8GAJsQLkndGO054cbLX5Mx2/tYZR0FkK7uxfUWKleGIv6S76TTsOTZ+Afmv+R 2jVLco1SbA2bvQ9OGhczByZTi3LtO2UzG5JuyUFxZgpo30osNQIT4ZtggULX0BdA BUmfrlYo+6fBIgsAYXWHxZjea2I9pCyb8gOaaQIDAQABAoIBMQCR8CJw9xKYcoM2 pKZM/wS+mi8T12wb4NETMOoDux7Gzi/vDK2oDmStW+6w+/4SHoQMfEdR+DeF30UU JOr+ImFpvoESc9RJ9nJ/hWVSmpxV1HStvcVA/8/QR+TsmYzTywHC1J8kAc2tBwUm scGzNjElIBWT8rzpakCMGSucLVE/SMQX1Bcfsfby++qV7bdS+hXW7ywuURJnih6k H39byO+8iOWR2nVO/vcupmuOG7HTPOGdhLSsyjrNPLupAZiMB7D8nWA7A0c2Z+ju 5WGOyimr+/RuPx0SA6Xxh6A6LlsqItC2QsnZVN0dV4so4zrSt8DqAnWxKIg4bsj4 xpP3Qa1hsyKIS/NcvETYW9AjcGo8gNvEIkmbEX336oOUsl/B9ph3oRjuybYx7tJe p8d8UJXlAoGZAOy4Zo/z1tPFLcC1xzzeArJ/cRS/lFV7ucAuPh7BrSYxYEbqHy1R v4GujPA6y6h2jhI4jBFJ+DJoARXuCekWNC4x+Y0fLhFX84qzHK9uMw4XqBrg09RN j3u4/NkiAHlFd/OEMlmf6BkAVwY+7AGqVfe/9u5b92c+l9uLrYH4zoxgaxn8/t+M iw6mhwncNHHK0vbp6KKUrTJTAoGZAOwOlUPR1cmupM6AYpCjJWKN7hrxqk60u7+B 5IAIY06d8yWIWUS0gN7ZeVGPCKdPI/Y3y3yyXSXa/7LaYWn11HteQ3fzqP2fOQmJ 763JSp6bmNXU6KbsJTCFRYRjw8pLXHvt9/tyRdK63IwSml11JD6GpiCN8IAZelVg dmYSEkpQldxQ25pbOA5Mcm3naewVPuBJ4PF1jGDTAoGZAJ2WoQiiLtjqQmwxV4Lo 1WjZOIG0jF5gMKeE4Wv+SXPMmSh8gebcrh36Au+GZMAwtKHirTRxRt7fqCFeR5C5 bGF4eYZ+RF/dak9ir+0F8s0l6I6EL+D9BVE7NHCklyYknhcqYY6SyqOiO0z4JItz RynYzN2fsdM0s0m/8fE9ntuK8KHrcA2IdaZ6LBnfU7aRbOJdk7ZwPeDrAoGYSTkI 0h2/7CyxUKEAcg85ZIXUKyV1h66GYpQ/NfvkGhnit2zBDA/VvcrF2Ce/Lm7dH94U z9xgCoMROACHoR+xRodp9EZv0CRYw/22jDjZXbO0R/ggJs8vhgqBEt0DebfAu2yI tMWwpPpzuTt4CK9yi7amx4hf5syAZwViFK1cYRL4OXwXcp0DGWRbRn43HBVHCLnB /gRRhCMCgZh0qzF7qbXCAgqjuQLFvh4VZ3Q057YqM2ELffIq5usBAwKtE7M0qbhv j+or7XQ3avo4HMIRNrpG8/nl7vJVBUF8MC3oUvmcT9iJMK7VssgMMe+UcyCqjENg Qflej35L4GRhwtIa/RCeCS3V4BVI8X4XOlBOa4HhpMl5/Ih1UTatgORBSiLSBaPf OKK66PUq3MfZLOGPYCGtMw== -----END RSA PRIVATE KEY----- gsasl-1.8.1/examples/saml20/Makefile.in0000644000000000000000000020046413521017140014502 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2012-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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@ @LASSO_TRUE@noinst_PROGRAMS = smtp-server-saml20$(EXEEXT) \ @LASSO_TRUE@ gsasl-saml20-request$(EXEEXT) subdir = examples/saml20 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) gsasl_saml20_request_SOURCES = gsasl-saml20-request.c gsasl_saml20_request_OBJECTS = gsasl-saml20-request.$(OBJEXT) gsasl_saml20_request_LDADD = $(LDADD) am__DEPENDENCIES_1 = gsasl_saml20_request_DEPENDENCIES = \ $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.la $(am__DEPENDENCIES_1) 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 = smtp_server_saml20_SOURCES = smtp-server-saml20.c smtp_server_saml20_OBJECTS = smtp-server-saml20.$(OBJEXT) smtp_server_saml20_LDADD = $(LDADD) smtp_server_saml20_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.la $(am__DEPENDENCIES_1) 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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/gsasl-saml20-request.Po \ ./$(DEPDIR)/smtp-server-saml20.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 = gsasl-saml20-request.c smtp-server-saml20.c DIST_SOURCES = gsasl-saml20-request.c smtp-server-saml20.c 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/lib/build-aux/depcomp README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src \ $(LASSO_CFLAGS) AM_LDFLAGS = -no-install LDADD = $(top_builddir)/lib/src/libgsasl.la $(top_builddir)/gl/libgl.la \ $(LASSO_LIBS) EXTRA_DIST = README gsasl-saml20-sp.php sp-metadata.xml sp-key.pem \ sp-crt.pem openidp.feide.no/idp-metadata.xml \ idp.protectnetwork.org/idp-metadata.xml 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 examples/saml20/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu examples/saml20/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): 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 gsasl-saml20-request$(EXEEXT): $(gsasl_saml20_request_OBJECTS) $(gsasl_saml20_request_DEPENDENCIES) $(EXTRA_gsasl_saml20_request_DEPENDENCIES) @rm -f gsasl-saml20-request$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gsasl_saml20_request_OBJECTS) $(gsasl_saml20_request_LDADD) $(LIBS) smtp-server-saml20$(EXEEXT): $(smtp_server_saml20_OBJECTS) $(smtp_server_saml20_DEPENDENCIES) $(EXTRA_smtp_server_saml20_DEPENDENCIES) @rm -f smtp-server-saml20$(EXEEXT) $(AM_V_CCLD)$(LINK) $(smtp_server_saml20_OBJECTS) $(smtp_server_saml20_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gsasl-saml20-request.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smtp-server-saml20.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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: 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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/gsasl-saml20-request.Po -rm -f ./$(DEPDIR)/smtp-server-saml20.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-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)/gsasl-saml20-request.Po -rm -f ./$(DEPDIR)/smtp-server-saml20.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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/examples/saml20/gsasl-saml20-sp.php0000644000000000000000000000723613516252320016002 00000000000000. require "lasso.php"; include "gsasl-saml20-config.php"; if (!isset($state_path) || !isset($cfg_path) || !is_writable($state_path)) { print "Error: Configuration error"; exit (0); } if (!isset($_POST["SAMLResponse"])) { print "Error: Expected SAMLResponse POST data"; exit (0); } $xml = base64_decode($_POST["SAMLResponse"]); if (preg_match ("/<[^> ]+:Response[^>]+InResponseTo=\"([A-Za-z0-9_]+)\"/", $xml, $matches) != 1) { print "Error: Could not parse XML"; error_log ("parsing XML failed: $xml"); exit (0); } $id = $matches[1]; if (!file_exists ("$state_path/$id") && !mkdir ("$state_path/$id", 0770)) { error_log ("mkdir: $state_path/$id"); exit (0); } file_put_contents ("$state_path/$id/post", $xml); error_log ("saved SAMLResponse into $state_path/$id/post"); function error($msg) { global $state_path, $id; file_put_contents ("$state_path/$id/fail", ""); print "Error: " . htmlentities($msg); exit(0); } try { $server = new LassoServer("$cfg_path/sp-metadata.xml", "$cfg_path/sp-key.pem", "", "$cfg_path/sp-crt.pem"); $idps = ""; foreach (glob("$cfg_path/*", GLOB_ONLYDIR) as $dir) { if (is_readable ("$dir/idp-metadata.xml")) { $idps .= " $dir/idp-metadata.xml"; $server->addProvider(LASSO_PROVIDER_ROLE_IDP, "$dir/idp-metadata.xml"); } } error_log ("IdPs:$idps"); $login = new LassoLogin($server); } catch (Exception $e) { error('Unexpected Lasso error: ' . $e); } try { try { $login->processAuthnResponseMsg($_POST["SAMLResponse"]); $xml = new SimpleXMLElement($login->response->exportToXml()); $xml_id = $xml->attributes()->{'InResponseTo'}; if ($id != $xml_id) { error_log ("ID parse error: guessed $id got $xml_id"); } if (!file_exists ("$state_path/$id") && !mkdir ("$state_path/$id", 0770)) { error ("State management failure (replay?)"); } file_put_contents ("$state_path/$id/samlresp", $login->response->getXmlNode(false)); } catch (LassoDsError $e) { error('Invalid signature'); } catch (LassoProfileCannotVerifySignatureError $e) { error('Invalid signature'); } catch (LassoError $e) { error('Misc error: ' . $e); } try { $ok = $login->acceptSso(); } catch (LassoError $e) { error('Invalid assertion'); } } catch (Exception $e) { error('Unexpected error: ' . $e); } if ($ok != 0) { error("acceptSso returned $ok"); } file_put_contents ("$state_path/$id/subject", $login->assertion->subject->nameId->content); file_put_contents ("$state_path/$id/success", ""); print "Congratulations! You are authenticated as: " . $login->assertion->subject->nameId->content; print "\n\n"; ?> gsasl-1.8.1/examples/openid20/0000755000000000000000000000000013521017732013040 500000000000000gsasl-1.8.1/examples/openid20/README0000644000000000000000000001307713516252320013646 00000000000000GNU SASL examples/openid20/README -- Explanation of SMTP OpenID 2.0 example. Copyright (C) 2012-2019 Simon Josefsson See the end for copying conditions. This directory holds a GNU SASL example application that implements a SMTP server with OpenID 2.0 authentication support. There is one example SMTP server and two helper tools that implement the actual OpenID 2.0 protocol: smtp-server-openid20.c: The actual SMTP server, based on ../smtp-server.c. gsasl-openid20-redirect.php: Given a user-supplied identifier it performs discovery and prints a user redirect URL. Invoked by smtp-server-openid20.c. gsasl-openid20-rp.php: OpenID 2.0 Relying-Party, receives the return_to URL. Intended to be invoked via a webserver. The PHP scripts requires JanRain's PHP5 OpenID implementation. On Modern Debian/Ubuntu systems, it is available in the "php-openid" package: apt-get install php-openid You need a webserver, for example Apache. The script 'gsasl-openid20-redirect.php' should be placed in the PATH and 'gsasl-openid20-rp.php' be placed somewhere in the web server root so it can be accessed through an URL. These three tools communicate with each other using a simple file-based IPC interface below /tmp/gsasl-openid20-store/. The OpenID library also uses that path for storage. If you want to change the path, you need to modify the gsasl-openid20-rp.php script and to pass the new location to the smtp-server-openid20 as discussed below. Here is the normal process: 1) Start smtp-server-openid20, for example when running it on the interop.josefsson.org server the following is used: www-data$ ./smtp-server-openid20 2000 /tmp/gsasl-openid20-store http://interop.josefsson.org/ http://interop.josefsson.org/gsasl-openid20-rp.php For permission reasons, you should run the server under the same user as the webserver runs gsasl-openid20-rp.php. The first parameter is the path to the IPC root. The second parameter is the OpenID "realm". The third parameter is the "return_to" URL to where the gsasl-openid20-rp.php helper is found. For testing, it actually works fine to run the server on "localhost" and be able to complete OpenID 2.0 authentication: www-data$ PATH=$PWD LD_PRELOAD=../../lib/src/.libs/libgsasl.so ./.libs/smtp-server-openid20 2000 /tmp/gsasl-openid20-store http://localhost/ http://localhost/gsasl-openid20-rp.php 2) The smtp-server-openid20 receives incoming connections from clients. The client sends its user-supplied identifier. You may use the gsasl command line tool to act as a client. For example: gsasl -a https://openidp.feide.no/simplesaml/module.php/openidProvider/user.php/jas4711 -z user --smtp -m OPENID20 localhost 2000 3) smtp-server-openid20 generate a per-connection NONCE (a 64-byte long hex string) and create the following files: /tmp/gsasl-openid20-store/state/NONCE/openid_url: holds the OpenID URL above, e.g., https://openidp.feide.no/simplesaml/module.php/openidProvider/user.php/jas4711 /tmp/gsasl-openid20-store/state/NONCE/realm: holds the realm URL, e.g. http://interop.josefsson.org/ /tmp/gsasl-openid20-store/state/NONCE/return_to: holds the return_to URL, e.g. http://localhost/gsasl-openid20-rp.php 4) smtp-server-openid20 invokes "gsasl-openid20-redirect.php" to get the redirect URL, in the following file: /tmp/gsasl-openid20-store/state/NONCE/redirect_url: holds the redirect URL The URL is usually quite long and is dynamic for each authentication attempt. For example: https://openidp.feide.no/simplesaml/module.php/openidProvider/server.php?openid.assoc_handle=%7BHMAC-SHA1%7D%7B4f72fc46%7D%7BoC4UoA%3D%3D%7D&openid.claimed_id=https%3A%2F%2Fopenidp.feide.no%2Fsimplesaml%2Fmodule.php%2FopenidProvider%2Fuser.php%2Fjas4711&openid.identity=https%3A%2F%2Fopenidp.feide.no%2Fsimplesaml%2Fmodule.php%2FopenidProvider%2Fuser.php%2Fjas4711&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&openid.realm=http%3A%2F%2Finterop.josefsson.org%2F&openid.return_to=http%3A%2F%2Finterop.josefsson.org%2Fgsasl-openid20-rp.php%2Ff9ff7386503e978f9643e9fe7bb01b911a621e0529aedd94b426e7320120b356%3Fjanrain_nonce%3D2012-03-28T11%253A55%253A53ZFWWO0z&openid.sreg.optional=nickname%2Cfullname%2Cemail 5) smtp-server-openid20 waits for one of the following files to appear: /tmp/gsasl-openid20-store/state/NONCE/fail /tmp/gsasl-openid20-store/state/NONCE/success 6) Meanwhile the user will receive the redirect URL over the SMTP connection and will access the URL in his browser. Eventually, after IdP approval, the user will be redirected to the "return_to" URL in his browser. 7) The gsasl-openid20-rp.php return_to URL handler verify the OpenID 2.0 authentication and writes the following files: /tmp/gsasl-openid20-store/state/NONCE/sreg: SREG values provided /tmp/gsasl-openid20-store/state/NONCE/claimed: claimed identity /tmp/gsasl-openid20-store/state/NONCE/success on success, or on failure it writes the following file: /tmp/gsasl-openid20-store/state/NONCE/fail 8) smtp-server-openid20 notice that one of the stamp files is present and proceeds by reading the files and returning success/fail to the client as appropriate. The SREG values are sent to the client when provided. ---------------------------------------------------------------------- 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. gsasl-1.8.1/examples/openid20/Makefile.am0000644000000000000000000000217513516252320015017 00000000000000## Process this file with automake to produce Makefile.in # Copyright (C) 2012-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src AM_LDFLAGS = -no-install LDADD = $(top_builddir)/lib/src/libgsasl.la $(top_builddir)/gl/libgl.la EXTRA_DIST = README gsasl-openid20-redirect.php gsasl-openid20-rp.php if !WINDOWS noinst_PROGRAMS = smtp-server-openid20 endif gsasl-1.8.1/examples/openid20/gsasl-openid20-rp.php0000755000000000000000000000464013516252320016644 00000000000000. require_once "Auth/OpenID/Consumer.php"; require_once "Auth/OpenID/FileStore.php"; require_once "Auth/OpenID/SReg.php"; session_start (); $store_path = '/tmp/gsasl-openid20-store'; $store = new Auth_OpenID_FileStore($store_path); $consumer = new Auth_OpenID_Consumer($store); $matches = array(); if (preg_match (",^/([A-Za-z0-9]+)$,", $_SERVER['PATH_INFO'], $matches) == 1) { $nonce = $matches[1]; } $return_to = file_get_contents ("$store_path/state/$nonce/return_to"); $response = $consumer->complete($return_to); if ($response->status == Auth_OpenID_CANCEL) { file_put_contents ("$store_path/state/$nonce/fail", "openid.error=cancel"); print "OpenID authentication cancelled"; } else if ($response->status == Auth_OpenID_FAILURE) { file_put_contents ("$store_path/state/$nonce/fail", "openid.error=failure"); print "OpenID authentication failed: " . $response->message; } else if ($response->status == Auth_OpenID_SUCCESS) { $claimed = $response->identity_url; $sreg_resp = Auth_OpenID_SRegResponse::fromSuccessResponse($response); $sreg = $sreg_resp->contents(); $outcome = ""; if (@$sreg['email']) { $outcome .= "&email=" . urlencode($sreg['email']); } if (@$sreg['nickname']) { $outcome .= "&nickname=" . urlencode($sreg['nickname']); } if (@$sreg['fullname']) { $outcome .= "&fullname=" . urlencode($sreg['fullname']); } $outcome = trim ($outcome, "&"); file_put_contents ("$store_path/state/$nonce/sreg", $outcome); file_put_contents ("$store_path/state/$nonce/success", $claimed); print "Congratulations! You are authenticated as: " . $claimed; } ?> gsasl-1.8.1/examples/openid20/gsasl-openid20-redirect.php0000755000000000000000000000434413516252320020025 00000000000000#!/usr/bin/php5 . require_once "Auth/OpenID/Consumer.php"; require_once "Auth/OpenID/FileStore.php"; require_once "Auth/OpenID/SReg.php"; session_start (); $store_path = $argv[1]; $nonce = $argv[2]; $openid_url = file_get_contents ($store_path . "/state/$nonce/openid_url"); $realm = file_get_contents ($store_path . "/state/$nonce/realm"); $return_to = file_get_contents ($store_path . "/state/$nonce/return_to"); print "nonce: ". $nonce ."\n"; print "openid_url: ". $openid_url ."\n"; print "realm: ". $realm ."\n"; print "return_to: ". $return_to ."\n"; $store = new Auth_OpenID_FileStore($store_path); if (!$store) { print "error: Auth_OpenID_FileStore.\n"; exit (1); } $consumer = new Auth_OpenID_Consumer($store); if (!$consumer) { print "error: Auth_OpenID_Consumer.\n"; exit (1); } $request = $consumer->begin($openid_url); if (!$request) { print "error: Auth_OpenID_Consumer->begin.\n"; exit (1); } $sreg = Auth_OpenID_SRegRequest::build(array(), array('nickname', 'fullname', 'email')); if (!$sreg) { print "error: Auth_OpenID_SRegRequest::build\n"; exit (1); } $request->addExtension($sreg); $redirect_url = $request->redirectURL($realm, $return_to); if (Auth_OpenID::isFailure($redirect_url)) { print ("error: Auth_OpenID_Consumer->redirectURL: " . $redirect_url->message); exit (1); } file_put_contents ($store_path . "/state/$nonce/redirect_url", $redirect_url); print "redirect_url: ". $redirect_url ."\n"; ?> gsasl-1.8.1/examples/openid20/Makefile.in0000644000000000000000000017652113521017140015032 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2012-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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@ @WINDOWS_FALSE@noinst_PROGRAMS = smtp-server-openid20$(EXEEXT) subdir = examples/openid20 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) smtp_server_openid20_SOURCES = smtp-server-openid20.c smtp_server_openid20_OBJECTS = smtp-server-openid20.$(OBJEXT) smtp_server_openid20_LDADD = $(LDADD) smtp_server_openid20_DEPENDENCIES = \ $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.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_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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/smtp-server-openid20.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 = smtp-server-openid20.c DIST_SOURCES = smtp-server-openid20.c 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)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/lib/build-aux/depcomp README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src AM_LDFLAGS = -no-install LDADD = $(top_builddir)/lib/src/libgsasl.la $(top_builddir)/gl/libgl.la EXTRA_DIST = README gsasl-openid20-redirect.php gsasl-openid20-rp.php 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 examples/openid20/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu examples/openid20/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): 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 smtp-server-openid20$(EXEEXT): $(smtp_server_openid20_OBJECTS) $(smtp_server_openid20_DEPENDENCIES) $(EXTRA_smtp_server_openid20_DEPENDENCIES) @rm -f smtp-server-openid20$(EXEEXT) $(AM_V_CCLD)$(LINK) $(smtp_server_openid20_OBJECTS) $(smtp_server_openid20_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smtp-server-openid20.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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: 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-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/smtp-server-openid20.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-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)/smtp-server-openid20.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: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-generic clean-libtool 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-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 .PRECIOUS: Makefile # 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: gsasl-1.8.1/examples/openid20/smtp-server-openid20.c0000644000000000000000000002772713516252320017046 00000000000000/* smtp-server-openid20.c --- Example SMTP server with OpenID 2.0 support * Copyright (C) 2012-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include /* This is based on ../smtp-server.c but adds support for OpenID 2.0. See README for instructions. */ /* This is a minimal SMTP server with GNU SASL authentication support. The only valid password is "sesam". This server will complete authentications using LOGIN, PLAIN, DIGEST-MD5, CRAM-MD5, and SCRAM-SHA-1. It accepts an optional command line parameter specifying the service name (i.e., a numerical port number or /etc/services name). By default it listens on port "2000". */ #include #include #include #include #include #include #include #include #include #include #include static char *store_path; static char *realm; static char *return_to; static void hex_encode (char *dst, const char *src, size_t len) { static const char trans[] = "0123456789abcdef"; while (len--) { *dst++ = trans[(*src >> 4) & 0xf]; *dst++ = trans[*src++ & 0xf]; } *dst = '\0'; } static int write_file (const char *filename, const char *data) { FILE *fh; fh = fopen (filename, "w"); if (!fh) { perror ("fopen"); return -1; } if (fputs (data, fh) <= 0) return -1; if (fclose (fh) != 0) return -1; return 0; } static char * get_redirect_url (Gsasl_session * sctx) { FILE *fh; char *tmp, *tmp2; char *line = NULL; size_t n = 0; const char *nonce = gsasl_session_hook_get (sctx); int rc; rc = asprintf (&tmp, "%s", store_path); if (rc <= 0) { perror ("asprintf"); return NULL; } mkdir (tmp, 0770); free (tmp); rc = asprintf (&tmp, "%s/state", store_path); if (rc <= 0) { perror ("asprintf"); return NULL; } mkdir (tmp, 0770); free (tmp); rc = asprintf (&tmp, "%s/state/%s", store_path, nonce); if (rc <= 0) { perror ("asprintf"); return NULL; } mkdir (tmp, 0770); free (tmp); rc = asprintf (&tmp, "%s/state/%s/openid_url", store_path, nonce); if (rc <= 0) { perror ("asprintf"); return NULL; } if (write_file (tmp, gsasl_property_fast (sctx, GSASL_AUTHID))) return NULL; free (tmp); rc = asprintf (&tmp, "%s/state/%s/realm", store_path, nonce); if (rc <= 0) { perror ("asprintf"); return NULL; } if (write_file (tmp, realm)) return NULL; free (tmp); rc = asprintf (&tmp, "%s/state/%s/return_to", store_path, nonce); if (rc <= 0) { perror ("asprintf"); return NULL; } rc = asprintf (&tmp2, "%s/%s", return_to, nonce); if (rc <= 0) { perror ("asprintf"); return NULL; } if (write_file (tmp, tmp2)) return NULL; free (tmp); free (tmp2); rc = asprintf (&tmp, "gsasl-openid20-redirect.php %s %s", store_path, nonce); if (rc <= 0) { perror ("asprintf"); return NULL; } fh = popen (tmp, "r"); free (tmp); if (!fh) { perror ("popen"); return NULL; } while (getline (&line, &n, fh) >= 0) printf ("gsasl-openid20-redirect.php: %s", line); pclose (fh); rc = asprintf (&tmp, "%s/state/%s/redirect_url", store_path, nonce); if (rc <= 0) { perror ("asprintf"); return NULL; } fh = fopen (tmp, "r"); if (!fh) { perror ("fopen"); return NULL; } if (getline (&line, &n, fh) <= 0) { perror ("getline"); return NULL; } fclose (fh); return line; } static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; FILE *fh; char *line = NULL; size_t n = 0; const char *nonce = gsasl_session_hook_get (sctx); char *tmp; switch (prop) { case GSASL_OPENID20_REDIRECT_URL: { line = get_redirect_url (sctx); if (line == NULL) rc = GSASL_AUTHENTICATION_ERROR; else { rc = GSASL_OK; gsasl_property_set (sctx, prop, line); } } break; case GSASL_VALIDATE_OPENID20: { time_t start = time (NULL); rc = GSASL_AUTHENTICATION_ERROR; do { sleep (1); rc = asprintf (&tmp, "%s/state/%s/success", store_path, nonce); if (rc <= 0) { perror ("asprintf"); break; } fh = fopen (tmp, "r"); free (tmp); if (!fh) { rc = asprintf (&tmp, "%s/state/%s/fail", store_path, nonce); if (rc <= 0) { perror ("asprintf"); break; } fh = fopen (tmp, "r"); free (tmp); if (!fh) { puts ("waiting"); continue; } if (getline (&line, &n, fh) > 0) printf ("fail: %s\n", line); fclose (fh); rc = GSASL_AUTHENTICATION_ERROR; break; } if (getline (&line, &n, fh) > 0) printf ("claimed id: %s\n", line); fclose (fh); gsasl_property_set (sctx, GSASL_AUTHID, line); rc = asprintf (&tmp, "%s/state/%s/sreg", store_path, nonce); if (rc <= 0) { perror ("asprintf"); break; } fh = fopen (tmp, "r"); free (tmp); if (fh) { if (getline (&line, &n, fh) > 0) { printf ("sreg: %s\n", line); gsasl_property_set (sctx, GSASL_OPENID20_OUTCOME_DATA, line); } fclose (fh); } rc = GSASL_OK; break; } while (time (NULL) - start < 30); } break; case GSASL_PASSWORD: gsasl_property_set (sctx, prop, "sesam"); rc = GSASL_OK; break; default: /* You may want to log (at debug verbosity level) that an unknown property was requested here, possibly after filtering known rejected property requests. */ break; } return rc; } static ssize_t gettrimline (char **line, size_t * n, FILE * fh) { ssize_t s = getline (line, n, fh); if (s >= 2) { if ((*line)[strlen (*line) - 1] == '\n') (*line)[strlen (*line) - 1] = '\0'; if ((*line)[strlen (*line) - 1] == '\r') (*line)[strlen (*line) - 1] = '\0'; printf ("C: %s\n", *line); } return s; } #define print(fh, ...) \ printf ("S: "), printf (__VA_ARGS__), fprintf (fh, __VA_ARGS__) static void server_auth (FILE * fh, Gsasl_session * session) { char *line = NULL; size_t n = 0; char *p; int rc; /* The nonce value MUST be at least 2^32 large and large enough to handle well in excess of the number of concurrent transactions a SASL server shall see. */ char bin_nonce[32]; char nonce[2 * sizeof (bin_nonce) + 1]; gsasl_nonce (bin_nonce, sizeof (bin_nonce)); hex_encode (nonce, bin_nonce, sizeof (bin_nonce)); gsasl_session_hook_set (session, nonce); /* The ordering and the type of checks in the following loop has to be adapted for each protocol depending on its SASL properties. SMTP is a "server-first" SASL protocol. This implementation do not support piggy-backing of the initial client challenge nor piggy-backing of the terminating server response. See RFC 2554 and RFC 4422 for terminology. That profile results in the following loop structure. Ask on the help-gsasl list if you are uncertain. */ do { rc = gsasl_step64 (session, line, &p); if (rc == GSASL_NEEDS_MORE || (rc == GSASL_OK && p && *p)) { print (fh, "334 %s\n", p); gsasl_free (p); if (gettrimline (&line, &n, fh) < 0) { print (fh, "221 localhost getline failure\n"); goto done; } } } while (rc == GSASL_NEEDS_MORE); if (rc != GSASL_OK) { print (fh, "535 gsasl_step64 (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } { const char *authid = gsasl_property_fast (session, GSASL_AUTHID); const char *authzid = gsasl_property_fast (session, GSASL_AUTHZID); print (fh, "235 OK [authid: %s authzid: %s]\n", authid ? authid : "N/A", authzid ? authzid : "N/A"); } done: free (line); } static void smtp (FILE * fh, Gsasl * ctx) { char *line = NULL; size_t n = 0; int rc; print (fh, "220 localhost ESMTP GNU SASL smtp-server\n"); while (gettrimline (&line, &n, fh) >= 0) { if (strncmp (line, "EHLO ", 5) == 0 || strncmp (line, "ehlo ", 5) == 0) { char *mechlist; rc = gsasl_server_mechlist (ctx, &mechlist); if (rc != GSASL_OK) { print (fh, "221 localhost gsasl_server_mechlist (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } print (fh, "250-localhost\n"); print (fh, "250 AUTH %s\n", mechlist); gsasl_free (mechlist); } else if (strncmp (line, "AUTH ", 5) == 0 || strncmp (line, "auth ", 5) == 0) { Gsasl_session *session = NULL; if ((rc = gsasl_server_start (ctx, line + 5, &session)) != GSASL_OK) { print (fh, "221 localhost gsasl_server_start (%d): %s\n", rc, gsasl_strerror (rc)); goto done; } server_auth (fh, session); gsasl_finish (session); } else if (strncmp (line, "QUIT", 4) == 0 || strncmp (line, "quit", 4) == 0) { print (fh, "221 localhost QUIT\n"); goto done; } else print (fh, "500 unrecognized command\n"); } print (fh, "221 localhost getline failure\n"); done: free (line); } int main (int argc, char *argv[]) { const char *service = argc > 1 ? argv[1] : "2000"; volatile int run = 1; struct addrinfo hints, *addrs; int sockfd; int rc; int yes = 1; Gsasl *ctx; setvbuf (stdout, NULL, _IONBF, 0); if (argc != 5) { printf ("Usage: %s PORT STORE-PATH REALM RETURN-TO\n", argv[0]); exit (EXIT_FAILURE); } store_path = argv[2]; realm = argv[3]; return_to = argv[4]; rc = gsasl_init (&ctx); if (rc < 0) { printf ("gsasl_init (%d): %s\n", rc, gsasl_strerror (rc)); exit (EXIT_FAILURE); } printf ("%s [gsasl header %s library %s]\n", argv[0], GSASL_VERSION, gsasl_check_version (NULL)); gsasl_callback_set (ctx, callback); memset (&hints, 0, sizeof (hints)); hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG; hints.ai_socktype = SOCK_STREAM; rc = getaddrinfo (NULL, service, &hints, &addrs); if (rc < 0) { printf ("getaddrinfo: %s\n", gai_strerror (rc)); exit (EXIT_FAILURE); } sockfd = socket (addrs->ai_family, addrs->ai_socktype, addrs->ai_protocol); if (sockfd < 0) { perror ("socket"); exit (EXIT_FAILURE); } if (setsockopt (sockfd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof (yes)) < 0) { perror ("setsockopt"); exit (EXIT_FAILURE); } rc = bind (sockfd, addrs->ai_addr, addrs->ai_addrlen); if (rc < 0) { perror ("bind"); exit (EXIT_FAILURE); } freeaddrinfo (addrs); rc = listen (sockfd, SOMAXCONN); if (rc < 0) { perror ("listen"); exit (EXIT_FAILURE); } signal (SIGPIPE, SIG_IGN); while (run) { struct sockaddr from; socklen_t fromlen = sizeof (from); char host[NI_MAXHOST]; int fd; FILE *fh; fd = accept (sockfd, &from, &fromlen); if (fd < 0) { perror ("accept"); continue; } rc = getnameinfo (&from, fromlen, host, sizeof (host), NULL, 0, NI_NUMERICHOST); if (rc == 0) printf ("connection from %s\n", host); else printf ("getnameinfo: %s\n", gai_strerror (rc)); fh = fdopen (fd, "w+"); if (!fh) { perror ("fdopen"); close (fd); continue; } smtp (fh, ctx); fclose (fh); } close (sockfd); gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/client-xmpp-saml20.c0000644000000000000000000001010613516323333015037 00000000000000/* client-xmpp-saml20.c --- Example XMPP SASL SAML20 client. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static char * xmltob64 (char *buf) { while (*buf && *buf != '>') buf++; if (*buf) buf++; while (*buf && buf[strlen (buf) - 1] != '<') buf[strlen (buf) - 1] = '\0'; if (*buf) buf[strlen (buf) - 1] = '\0'; return buf; } static void client_xmpp (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the client send data first, which is something that XMPP supports. For simplicity, it requires that server send the XML blob on one line and XML parser is not complete. */ /* Generate client output. */ rc = gsasl_step64 (session, buf, &p); if (rc != GSASL_NEEDS_MORE) { printf ("SAML20 step error (%d): %s\n", rc, gsasl_strerror (rc)); return; } printf ("%s\n", p); do { char *b64; p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; b64 = xmltob64 (buf); printf ("parsed: '%s'\n", b64); rc = gsasl_step64 (session, b64, &p); if (rc != GSASL_NEEDS_MORE && rc != GSASL_OK) { printf ("SAML20 step error (%d): %s\n", rc, gsasl_strerror (rc)); return; } printf ("" "%s\n", p); gsasl_free (p); } while (rc == GSASL_NEEDS_MORE); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech = "SAML20"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Do it. */ client_xmpp (session); /* Cleanup. */ gsasl_finish (session); } static int callback (Gsasl * ctx, Gsasl_session * sctx, Gsasl_property prop) { int rc = GSASL_NO_CALLBACK; /* Get user info from user. */ switch (prop) { case GSASL_SAML20_IDP_IDENTIFIER: gsasl_property_set (sctx, prop, "https://saml.example.org/"); rc = GSASL_OK; break; case GSASL_SAML20_AUTHENTICATE_IN_BROWSER: printf ("client got redirect URL: %s\n", gsasl_property_get (sctx, GSASL_SAML20_REDIRECT_URL)); rc = GSASL_OK; break; default: printf ("Unknown property %u! Don't worry.\n", prop); break; } return rc; } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Set the callback handler for the library. */ gsasl_callback_set (ctx, callback); /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/Makefile.am0000644000000000000000000000226713516252320013401 00000000000000## Process this file with automake to produce Makefile.in # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . SUBDIRS = openid20 saml20 AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src LDADD = $(top_builddir)/lib/src/libgsasl.la $(top_builddir)/gl/libgl.la EXTRA_DIST = README noinst_PROGRAMS = client client-serverfirst client-mech \ client-callback client-xmpp-saml20 server-xmpp-saml20 if !WINDOWS noinst_PROGRAMS += smtp-server endif gsasl-1.8.1/examples/client-serverfirst.c0000644000000000000000000000552613516252320015344 00000000000000/* client-serverfirst.c --- Example SASL client, where server send data first. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the server send data first. */ do { printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { printf ("Output:\n%s\n", p); gsasl_free (p); } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech = "CRAM-MD5"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; } gsasl-1.8.1/examples/Makefile.in0000644000000000000000000021723213521017137013413 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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@ noinst_PROGRAMS = client$(EXEEXT) client-serverfirst$(EXEEXT) \ client-mech$(EXEEXT) client-callback$(EXEEXT) \ client-xmpp-saml20$(EXEEXT) server-xmpp-saml20$(EXEEXT) \ $(am__EXEEXT_1) @WINDOWS_FALSE@am__append_1 = smtp-server subdir = examples ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.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)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = @WINDOWS_FALSE@am__EXEEXT_1 = smtp-server$(EXEEXT) PROGRAMS = $(noinst_PROGRAMS) client_SOURCES = client.c client_OBJECTS = client.$(OBJEXT) client_LDADD = $(LDADD) client_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.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 = client_callback_SOURCES = client-callback.c client_callback_OBJECTS = client-callback.$(OBJEXT) client_callback_LDADD = $(LDADD) client_callback_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.la client_mech_SOURCES = client-mech.c client_mech_OBJECTS = client-mech.$(OBJEXT) client_mech_LDADD = $(LDADD) client_mech_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.la client_serverfirst_SOURCES = client-serverfirst.c client_serverfirst_OBJECTS = client-serverfirst.$(OBJEXT) client_serverfirst_LDADD = $(LDADD) client_serverfirst_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.la client_xmpp_saml20_SOURCES = client-xmpp-saml20.c client_xmpp_saml20_OBJECTS = client-xmpp-saml20.$(OBJEXT) client_xmpp_saml20_LDADD = $(LDADD) client_xmpp_saml20_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.la server_xmpp_saml20_SOURCES = server-xmpp-saml20.c server_xmpp_saml20_OBJECTS = server-xmpp-saml20.$(OBJEXT) server_xmpp_saml20_LDADD = $(LDADD) server_xmpp_saml20_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.la smtp_server_SOURCES = smtp-server.c smtp_server_OBJECTS = smtp-server.$(OBJEXT) smtp_server_LDADD = $(LDADD) smtp_server_DEPENDENCIES = $(top_builddir)/lib/src/libgsasl.la \ $(top_builddir)/gl/libgl.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) depcomp = $(SHELL) $(top_srcdir)/lib/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/client-callback.Po \ ./$(DEPDIR)/client-mech.Po ./$(DEPDIR)/client-serverfirst.Po \ ./$(DEPDIR)/client-xmpp-saml20.Po ./$(DEPDIR)/client.Po \ ./$(DEPDIR)/server-xmpp-saml20.Po ./$(DEPDIR)/smtp-server.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 = client.c client-callback.c client-mech.c \ client-serverfirst.c client-xmpp-saml20.c server-xmpp-saml20.c \ smtp-server.c DIST_SOURCES = client.c client-callback.c client-mech.c \ client-serverfirst.c client-xmpp-saml20.c server-xmpp-saml20.c \ smtp-server.c 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 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 \ distdir distdir-am 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)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/lib/build-aux/depcomp README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = openid20 saml20 AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src LDADD = $(top_builddir)/lib/src/libgsasl.la $(top_builddir)/gl/libgl.la EXTRA_DIST = README all: all-recursive .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 examples/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu examples/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): 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 client$(EXEEXT): $(client_OBJECTS) $(client_DEPENDENCIES) $(EXTRA_client_DEPENDENCIES) @rm -f client$(EXEEXT) $(AM_V_CCLD)$(LINK) $(client_OBJECTS) $(client_LDADD) $(LIBS) client-callback$(EXEEXT): $(client_callback_OBJECTS) $(client_callback_DEPENDENCIES) $(EXTRA_client_callback_DEPENDENCIES) @rm -f client-callback$(EXEEXT) $(AM_V_CCLD)$(LINK) $(client_callback_OBJECTS) $(client_callback_LDADD) $(LIBS) client-mech$(EXEEXT): $(client_mech_OBJECTS) $(client_mech_DEPENDENCIES) $(EXTRA_client_mech_DEPENDENCIES) @rm -f client-mech$(EXEEXT) $(AM_V_CCLD)$(LINK) $(client_mech_OBJECTS) $(client_mech_LDADD) $(LIBS) client-serverfirst$(EXEEXT): $(client_serverfirst_OBJECTS) $(client_serverfirst_DEPENDENCIES) $(EXTRA_client_serverfirst_DEPENDENCIES) @rm -f client-serverfirst$(EXEEXT) $(AM_V_CCLD)$(LINK) $(client_serverfirst_OBJECTS) $(client_serverfirst_LDADD) $(LIBS) client-xmpp-saml20$(EXEEXT): $(client_xmpp_saml20_OBJECTS) $(client_xmpp_saml20_DEPENDENCIES) $(EXTRA_client_xmpp_saml20_DEPENDENCIES) @rm -f client-xmpp-saml20$(EXEEXT) $(AM_V_CCLD)$(LINK) $(client_xmpp_saml20_OBJECTS) $(client_xmpp_saml20_LDADD) $(LIBS) server-xmpp-saml20$(EXEEXT): $(server_xmpp_saml20_OBJECTS) $(server_xmpp_saml20_DEPENDENCIES) $(EXTRA_server_xmpp_saml20_DEPENDENCIES) @rm -f server-xmpp-saml20$(EXEEXT) $(AM_V_CCLD)$(LINK) $(server_xmpp_saml20_OBJECTS) $(server_xmpp_saml20_LDADD) $(LIBS) smtp-server$(EXEEXT): $(smtp_server_OBJECTS) $(smtp_server_DEPENDENCIES) $(EXTRA_smtp_server_DEPENDENCIES) @rm -f smtp-server$(EXEEXT) $(AM_V_CCLD)$(LINK) $(smtp_server_OBJECTS) $(smtp_server_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client-callback.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client-mech.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client-serverfirst.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client-xmpp-saml20.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server-xmpp-saml20.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smtp-server.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 # 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" 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 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 @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 check-am: all-am check: check-recursive all-am: Makefile $(PROGRAMS) installdirs: installdirs-recursive installdirs-am: 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 clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-recursive -rm -f ./$(DEPDIR)/client-callback.Po -rm -f ./$(DEPDIR)/client-mech.Po -rm -f ./$(DEPDIR)/client-serverfirst.Po -rm -f ./$(DEPDIR)/client-xmpp-saml20.Po -rm -f ./$(DEPDIR)/client.Po -rm -f ./$(DEPDIR)/server-xmpp-saml20.Po -rm -f ./$(DEPDIR)/smtp-server.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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 ./$(DEPDIR)/client-callback.Po -rm -f ./$(DEPDIR)/client-mech.Po -rm -f ./$(DEPDIR)/client-serverfirst.Po -rm -f ./$(DEPDIR)/client-xmpp-saml20.Po -rm -f ./$(DEPDIR)/client.Po -rm -f ./$(DEPDIR)/server-xmpp-saml20.Po -rm -f ./$(DEPDIR)/smtp-server.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--depfiles check check-am clean clean-generic clean-libtool \ 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-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 \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # 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: gsasl-1.8.1/examples/client.c0000644000000000000000000000601713516252320012764 00000000000000/* client.c --- Example SASL client. * Copyright (C) 2004-2019 Simon Josefsson * * This file is part of GNU SASL. * * 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 3 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, see . * */ #include #include #include #include #include #include static void client_authenticate (Gsasl_session * session) { char buf[BUFSIZ] = ""; char *p; int rc; /* This loop mimics a protocol where the client send data first. */ do { /* Generate client output. */ rc = gsasl_step64 (session, buf, &p); if (rc == GSASL_NEEDS_MORE || rc == GSASL_OK) { /* If sucessful, print it. */ printf ("Output:\n%s\n", p); gsasl_free (p); } if (rc == GSASL_NEEDS_MORE) { /* If the client need more data from server, get it here. */ printf ("Input base64 encoded data from server:\n"); p = fgets (buf, sizeof (buf) - 1, stdin); if (p == NULL) { perror ("fgets"); return; } if (buf[strlen (buf) - 1] == '\n') buf[strlen (buf) - 1] = '\0'; } } while (rc == GSASL_NEEDS_MORE); printf ("\n"); if (rc != GSASL_OK) { printf ("Authentication error (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* The client is done. Here you would typically check if the server let the client in. If not, you could try again. */ printf ("If server accepted us, we're done.\n"); } static void client (Gsasl * ctx) { Gsasl_session *session; const char *mech = "PLAIN"; int rc; /* Create new authentication session. */ if ((rc = gsasl_client_start (ctx, mech, &session)) != GSASL_OK) { printf ("Cannot initialize client (%d): %s\n", rc, gsasl_strerror (rc)); return; } /* Set username and password in session handle. This info will be lost when this session is deallocated below. */ gsasl_property_set (session, GSASL_AUTHID, "jas"); gsasl_property_set (session, GSASL_PASSWORD, "secret"); /* Do it. */ client_authenticate (session); /* Cleanup. */ gsasl_finish (session); } int main (int argc, char *argv[]) { Gsasl *ctx = NULL; int rc; /* Initialize library. */ if ((rc = gsasl_init (&ctx)) != GSASL_OK) { printf ("Cannot initialize libgsasl (%d): %s", rc, gsasl_strerror (rc)); return 1; } /* Do it. */ client (ctx); /* Cleanup. */ gsasl_done (ctx); return 0; } gsasl-1.8.1/Makefile.in0000644000000000000000000021613413521017137011575 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . 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/00gnulib.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/alloca.m4 \ $(top_srcdir)/m4/arpa_inet_h.m4 $(top_srcdir)/m4/autobuild.m4 \ $(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/ctype.m4 \ $(top_srcdir)/m4/dirname.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/exponentd.m4 $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fpieee.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/getaddrinfo.m4 \ $(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getdelim.m4 \ $(top_srcdir)/m4/getdtablesize.m4 $(top_srcdir)/m4/getline.m4 \ $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \ $(top_srcdir)/m4/getpass.m4 $(top_srcdir)/m4/getprogname.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/hostent.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/iconv_h.m4 \ $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_ntop.m4 \ $(top_srcdir)/m4/inet_pton.m4 $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-fr.m4 $(top_srcdir)/m4/locale-ja.m4 \ $(top_srcdir)/m4/locale-tr.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localename.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/lstat.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/malloc.m4 $(top_srcdir)/m4/malloca.m4 \ $(top_srcdir)/m4/manywarnings.m4 $(top_srcdir)/m4/mbrtowc.m4 \ $(top_srcdir)/m4/mbsinit.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/mbtowc.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/minmax.m4 $(top_srcdir)/m4/mmap-anon.m4 \ $(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/nanosleep.m4 $(top_srcdir)/m4/netdb_h.m4 \ $(top_srcdir)/m4/netinet_in_h.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/open-cloexec.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/poll.m4 \ $(top_srcdir)/m4/poll_h.m4 $(top_srcdir)/m4/printf.m4 \ $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-thread.m4 \ $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ $(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \ $(top_srcdir)/m4/raise.m4 $(top_srcdir)/m4/readline.m4 \ $(top_srcdir)/m4/sched_h.m4 $(top_srcdir)/m4/select.m4 \ $(top_srcdir)/m4/servent.m4 $(top_srcdir)/m4/setenv.m4 \ $(top_srcdir)/m4/setlocale.m4 $(top_srcdir)/m4/sigaction.m4 \ $(top_srcdir)/m4/signal_h.m4 \ $(top_srcdir)/m4/signalblocking.m4 \ $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socketlib.m4 \ $(top_srcdir)/m4/sockets.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdint_h.m4 \ $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strtok_r.m4 \ $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ $(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/sys_uio_h.m4 \ $(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \ $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/usleep.m4 \ $(top_srcdir)/m4/valgrind-tests.m4 \ $(top_srcdir)/m4/vasnprintf.m4 $(top_srcdir)/m4/vasprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 \ $(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \ $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \ $(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/yield.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 = config.h CONFIG_CLEAN_FILES = doc/doxygen/Doxyfile 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 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)config.h.in # 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)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/doc/doxygen/Doxyfile.in \ $(top_srcdir)/lib/build-aux/ar-lib \ $(top_srcdir)/lib/build-aux/compile \ $(top_srcdir)/lib/build-aux/config.guess \ $(top_srcdir)/lib/build-aux/config.rpath \ $(top_srcdir)/lib/build-aux/config.sub \ $(top_srcdir)/lib/build-aux/install-sh \ $(top_srcdir)/lib/build-aux/ltmain.sh \ $(top_srcdir)/lib/build-aux/missing ABOUT-NLS AUTHORS COPYING \ ChangeLog INSTALL NEWS README THANKS lib/build-aux/ar-lib \ lib/build-aux/compile lib/build-aux/config.guess \ lib/build-aux/config.rpath lib/build-aux/config.sub \ lib/build-aux/depcomp lib/build-aux/install-sh \ lib/build-aux/ltmain.sh lib/build-aux/missing 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 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@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ AS = @AS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DIA = @DIA@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ EPSTOPDF = @EPSTOPDF@ ERRNO_H = @ERRNO_H@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_H = @FLOAT_H@ GETADDRINFO_LIB = @GETADDRINFO_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIB_ACCEPT = @GNULIB_ACCEPT@ GNULIB_ACCEPT4 = @GNULIB_ACCEPT4@ GNULIB_ATOLL = @GNULIB_ATOLL@ GNULIB_BIND = @GNULIB_BIND@ GNULIB_BTOWC = @GNULIB_BTOWC@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ GNULIB_CHDIR = @GNULIB_CHDIR@ GNULIB_CHOWN = @GNULIB_CHOWN@ GNULIB_CLOSE = @GNULIB_CLOSE@ GNULIB_CONNECT = @GNULIB_CONNECT@ GNULIB_COPY_FILE_RANGE = @GNULIB_COPY_FILE_RANGE@ GNULIB_CTIME = @GNULIB_CTIME@ GNULIB_DPRINTF = @GNULIB_DPRINTF@ GNULIB_DUP = @GNULIB_DUP@ GNULIB_DUP2 = @GNULIB_DUP2@ GNULIB_DUP3 = @GNULIB_DUP3@ GNULIB_DUPLOCALE = @GNULIB_DUPLOCALE@ GNULIB_ENVIRON = @GNULIB_ENVIRON@ GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ GNULIB_EXPLICIT_BZERO = @GNULIB_EXPLICIT_BZERO@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ GNULIB_FCHDIR = @GNULIB_FCHDIR@ GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ GNULIB_FCLOSE = @GNULIB_FCLOSE@ GNULIB_FCNTL = @GNULIB_FCNTL@ GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ GNULIB_FDOPEN = @GNULIB_FDOPEN@ GNULIB_FFLUSH = @GNULIB_FFLUSH@ GNULIB_FFSL = @GNULIB_FFSL@ GNULIB_FFSLL = @GNULIB_FFSLL@ GNULIB_FGETC = @GNULIB_FGETC@ GNULIB_FGETS = @GNULIB_FGETS@ GNULIB_FOPEN = @GNULIB_FOPEN@ GNULIB_FPRINTF = @GNULIB_FPRINTF@ GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ GNULIB_FPURGE = @GNULIB_FPURGE@ GNULIB_FPUTC = @GNULIB_FPUTC@ GNULIB_FPUTS = @GNULIB_FPUTS@ GNULIB_FREAD = @GNULIB_FREAD@ GNULIB_FREOPEN = @GNULIB_FREOPEN@ GNULIB_FSCANF = @GNULIB_FSCANF@ GNULIB_FSEEK = @GNULIB_FSEEK@ GNULIB_FSEEKO = @GNULIB_FSEEKO@ GNULIB_FSTAT = @GNULIB_FSTAT@ GNULIB_FSTATAT = @GNULIB_FSTATAT@ GNULIB_FSYNC = @GNULIB_FSYNC@ GNULIB_FTELL = @GNULIB_FTELL@ GNULIB_FTELLO = @GNULIB_FTELLO@ GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ GNULIB_FWRITE = @GNULIB_FWRITE@ GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@ GNULIB_GETC = @GNULIB_GETC@ GNULIB_GETCHAR = @GNULIB_GETCHAR@ GNULIB_GETCWD = @GNULIB_GETCWD@ GNULIB_GETDELIM = @GNULIB_GETDELIM@ GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ GNULIB_GETLINE = @GNULIB_GETLINE@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ GNULIB_GETPASS = @GNULIB_GETPASS@ GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@ GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@ GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@ GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ GNULIB_GETTIMEOFDAY = @GNULIB_GETTIMEOFDAY@ GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@ GNULIB_GRANTPT = @GNULIB_GRANTPT@ GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ GNULIB_ICONV = @GNULIB_ICONV@ GNULIB_IMAXABS = @GNULIB_IMAXABS@ GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ GNULIB_INET_NTOP = @GNULIB_INET_NTOP@ GNULIB_INET_PTON = @GNULIB_INET_PTON@ GNULIB_ISATTY = @GNULIB_ISATTY@ GNULIB_ISBLANK = @GNULIB_ISBLANK@ GNULIB_ISWBLANK = @GNULIB_ISWBLANK@ GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@ GNULIB_LCHMOD = @GNULIB_LCHMOD@ GNULIB_LCHOWN = @GNULIB_LCHOWN@ GNULIB_LINK = @GNULIB_LINK@ GNULIB_LINKAT = @GNULIB_LINKAT@ GNULIB_LISTEN = @GNULIB_LISTEN@ GNULIB_LOCALECONV = @GNULIB_LOCALECONV@ GNULIB_LOCALENAME = @GNULIB_LOCALENAME@ GNULIB_LOCALTIME = @GNULIB_LOCALTIME@ GNULIB_LSEEK = @GNULIB_LSEEK@ GNULIB_LSTAT = @GNULIB_LSTAT@ GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ GNULIB_MBRLEN = @GNULIB_MBRLEN@ GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ GNULIB_MBSCHR = @GNULIB_MBSCHR@ GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ GNULIB_MBSINIT = @GNULIB_MBSINIT@ GNULIB_MBSLEN = @GNULIB_MBSLEN@ GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ GNULIB_MBSSEP = @GNULIB_MBSSEP@ GNULIB_MBSSPN = @GNULIB_MBSSPN@ GNULIB_MBSSTR = @GNULIB_MBSSTR@ GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ GNULIB_MBTOWC = @GNULIB_MBTOWC@ GNULIB_MEMCHR = @GNULIB_MEMCHR@ GNULIB_MEMMEM = @GNULIB_MEMMEM@ GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ GNULIB_MKFIFO = @GNULIB_MKFIFO@ GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ GNULIB_MKNOD = @GNULIB_MKNOD@ GNULIB_MKNODAT = @GNULIB_MKNODAT@ GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ GNULIB_MKTIME = @GNULIB_MKTIME@ GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ GNULIB_OPEN = @GNULIB_OPEN@ GNULIB_OPENAT = @GNULIB_OPENAT@ GNULIB_OVERRIDES_STRUCT_STAT = @GNULIB_OVERRIDES_STRUCT_STAT@ GNULIB_OVERRIDES_WINT_T = @GNULIB_OVERRIDES_WINT_T@ GNULIB_PCLOSE = @GNULIB_PCLOSE@ GNULIB_PERROR = @GNULIB_PERROR@ GNULIB_PIPE = @GNULIB_PIPE@ GNULIB_PIPE2 = @GNULIB_PIPE2@ GNULIB_POLL = @GNULIB_POLL@ GNULIB_POPEN = @GNULIB_POPEN@ GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ GNULIB_PREAD = @GNULIB_PREAD@ GNULIB_PRINTF = @GNULIB_PRINTF@ GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ GNULIB_PSELECT = @GNULIB_PSELECT@ GNULIB_PTHREAD_COND = @GNULIB_PTHREAD_COND@ GNULIB_PTHREAD_MUTEX = @GNULIB_PTHREAD_MUTEX@ GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GNULIB_PTHREAD_ONCE = @GNULIB_PTHREAD_ONCE@ GNULIB_PTHREAD_RWLOCK = @GNULIB_PTHREAD_RWLOCK@ GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ GNULIB_PTHREAD_SPIN = @GNULIB_PTHREAD_SPIN@ GNULIB_PTHREAD_THREAD = @GNULIB_PTHREAD_THREAD@ GNULIB_PTHREAD_TSS = @GNULIB_PTHREAD_TSS@ GNULIB_PTSNAME = @GNULIB_PTSNAME@ GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ GNULIB_PUTC = @GNULIB_PUTC@ GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ GNULIB_PUTENV = @GNULIB_PUTENV@ GNULIB_PUTS = @GNULIB_PUTS@ GNULIB_PWRITE = @GNULIB_PWRITE@ GNULIB_QSORT_R = @GNULIB_QSORT_R@ GNULIB_RAISE = @GNULIB_RAISE@ GNULIB_RANDOM = @GNULIB_RANDOM@ GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ GNULIB_READ = @GNULIB_READ@ GNULIB_READLINK = @GNULIB_READLINK@ GNULIB_READLINKAT = @GNULIB_READLINKAT@ GNULIB_REALLOCARRAY = @GNULIB_REALLOCARRAY@ GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ GNULIB_REALPATH = @GNULIB_REALPATH@ GNULIB_RECV = @GNULIB_RECV@ GNULIB_RECVFROM = @GNULIB_RECVFROM@ GNULIB_REMOVE = @GNULIB_REMOVE@ GNULIB_RENAME = @GNULIB_RENAME@ GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ GNULIB_RMDIR = @GNULIB_RMDIR@ GNULIB_RPMATCH = @GNULIB_RPMATCH@ GNULIB_SCANF = @GNULIB_SCANF@ GNULIB_SCHED_YIELD = @GNULIB_SCHED_YIELD@ GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ GNULIB_SELECT = @GNULIB_SELECT@ GNULIB_SEND = @GNULIB_SEND@ GNULIB_SENDTO = @GNULIB_SENDTO@ GNULIB_SETENV = @GNULIB_SETENV@ GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ GNULIB_SETLOCALE = @GNULIB_SETLOCALE@ GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@ GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@ GNULIB_SIGACTION = @GNULIB_SIGACTION@ GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ GNULIB_SLEEP = @GNULIB_SLEEP@ GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ GNULIB_SOCKET = @GNULIB_SOCKET@ GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ GNULIB_STAT = @GNULIB_STAT@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ GNULIB_STPCPY = @GNULIB_STPCPY@ GNULIB_STPNCPY = @GNULIB_STPNCPY@ GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ GNULIB_STRDUP = @GNULIB_STRDUP@ GNULIB_STRERROR = @GNULIB_STRERROR@ GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ GNULIB_STRFTIME = @GNULIB_STRFTIME@ GNULIB_STRNCAT = @GNULIB_STRNCAT@ GNULIB_STRNDUP = @GNULIB_STRNDUP@ GNULIB_STRNLEN = @GNULIB_STRNLEN@ GNULIB_STRPBRK = @GNULIB_STRPBRK@ GNULIB_STRPTIME = @GNULIB_STRPTIME@ GNULIB_STRSEP = @GNULIB_STRSEP@ GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ GNULIB_STRSTR = @GNULIB_STRSTR@ GNULIB_STRTOD = @GNULIB_STRTOD@ GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ GNULIB_STRTOLD = @GNULIB_STRTOLD@ GNULIB_STRTOLL = @GNULIB_STRTOLL@ GNULIB_STRTOULL = @GNULIB_STRTOULL@ GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ GNULIB_SYMLINK = @GNULIB_SYMLINK@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ GNULIB_TIMEGM = @GNULIB_TIMEGM@ GNULIB_TIME_R = @GNULIB_TIME_R@ GNULIB_TIME_RZ = @GNULIB_TIME_RZ@ GNULIB_TMPFILE = @GNULIB_TMPFILE@ GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@ GNULIB_TRUNCATE = @GNULIB_TRUNCATE@ GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ GNULIB_TZSET = @GNULIB_TZSET@ GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ GNULIB_UNLINK = @GNULIB_UNLINK@ GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ GNULIB_UNSETENV = @GNULIB_UNSETENV@ GNULIB_USLEEP = @GNULIB_USLEEP@ GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ GNULIB_VFSCANF = @GNULIB_VFSCANF@ GNULIB_VPRINTF = @GNULIB_VPRINTF@ GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ GNULIB_VSCANF = @GNULIB_VSCANF@ GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ GNULIB_WCPCPY = @GNULIB_WCPCPY@ GNULIB_WCPNCPY = @GNULIB_WCPNCPY@ GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@ GNULIB_WCSCAT = @GNULIB_WCSCAT@ GNULIB_WCSCHR = @GNULIB_WCSCHR@ GNULIB_WCSCMP = @GNULIB_WCSCMP@ GNULIB_WCSCOLL = @GNULIB_WCSCOLL@ GNULIB_WCSCPY = @GNULIB_WCSCPY@ GNULIB_WCSCSPN = @GNULIB_WCSCSPN@ GNULIB_WCSDUP = @GNULIB_WCSDUP@ GNULIB_WCSFTIME = @GNULIB_WCSFTIME@ GNULIB_WCSLEN = @GNULIB_WCSLEN@ GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@ GNULIB_WCSNCAT = @GNULIB_WCSNCAT@ GNULIB_WCSNCMP = @GNULIB_WCSNCMP@ GNULIB_WCSNCPY = @GNULIB_WCSNCPY@ GNULIB_WCSNLEN = @GNULIB_WCSNLEN@ GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ GNULIB_WCSPBRK = @GNULIB_WCSPBRK@ GNULIB_WCSRCHR = @GNULIB_WCSRCHR@ GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ GNULIB_WCSSPN = @GNULIB_WCSSPN@ GNULIB_WCSSTR = @GNULIB_WCSSTR@ GNULIB_WCSTOK = @GNULIB_WCSTOK@ GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@ GNULIB_WCSXFRM = @GNULIB_WCSXFRM@ GNULIB_WCTOB = @GNULIB_WCTOB@ GNULIB_WCTOMB = @GNULIB_WCTOMB@ GNULIB_WCTRANS = @GNULIB_WCTRANS@ GNULIB_WCTYPE = @GNULIB_WCTYPE@ GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ GNULIB_WMEMCHR = @GNULIB_WMEMCHR@ GNULIB_WMEMCMP = @GNULIB_WMEMCMP@ GNULIB_WMEMCPY = @GNULIB_WMEMCPY@ GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@ GNULIB_WMEMSET = @GNULIB_WMEMSET@ GNULIB_WRITE = @GNULIB_WRITE@ GNULIB__EXIT = @GNULIB__EXIT@ GREP = @GREP@ GTKDOC_CHECK = @GTKDOC_CHECK@ GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ GTKDOC_MKPDF = @GTKDOC_MKPDF@ GTKDOC_REBASE = @GTKDOC_REBASE@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@ HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP2 = @HAVE_DUP2@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_LANGINFO_ALTMON = @HAVE_LANGINFO_ALTMON@ HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LIBGNUTLS = @HAVE_LIBGNUTLS@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMCHR = @HAVE_MEMCHR@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETDB_H = @HAVE_NETDB_H@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POLL = @HAVE_POLL@ HAVE_POLL_H = @HAVE_POLL_H@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PSELECT = @HAVE_PSELECT@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RAISE = @HAVE_RAISE@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SIGSET_T = @HAVE_SIGSET_T@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__BOOL = @HAVE__BOOL@ HAVE__EXIT = @HAVE__EXIT@ HELP2MAN = @HELP2MAN@ HOSTENT_LIB = @HOSTENT_LIB@ HTML_DIR = @HTML_DIR@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_NTOP_LIB = @INET_NTOP_LIB@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LASSO_CFLAGS = @LASSO_CFLAGS@ LASSO_LIBS = @LASSO_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBGNUTLS = @LIBGNUTLS@ LIBGNUTLS_PREFIX = @LIBGNUTLS_PREFIX@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBREADLINE = @LIBREADLINE@ LIBS = @LIBS@ LIBSOCKET = @LIBSOCKET@ LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIB_NANOSLEEP = @LIB_NANOSLEEP@ LIB_POLL = @LIB_POLL@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ LIB_SELECT = @LIB_SELECT@ LIMITS_H = @LIMITS_H@ LIPO = @LIPO@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ LOCALE_TR_UTF8 = @LOCALE_TR_UTF8@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LTALLOCA = @LTALLOCA@ LTLIBGNUTLS = @LTLIBGNUTLS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBREADLINE = @LTLIBREADLINE@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_NETDB_H = @NEXT_AS_FIRST_DIRECTIVE_NETDB_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_POLL_H = @NEXT_AS_FIRST_DIRECTIVE_POLL_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_NETDB_H = @NEXT_NETDB_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_POLL_H = @NEXT_POLL_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_SELECT_H = @NEXT_SYS_SELECT_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ 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@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_CALLOC = @REPLACE_CALLOC@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GAI_STRERROR = @REPLACE_GAI_STRERROR@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC = @REPLACE_MALLOC@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_POLL = @REPLACE_POLL@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PSELECT = @REPLACE_PSELECT@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAISE = @REPLACE_RAISE@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOC = @REPLACE_REALLOC@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SELECT = @REPLACE_SELECT@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRUCT_TIMEVAL = @REPLACE_STRUCT_TIMEVAL@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WRITE = @REPLACE_WRITE@ SED = @SED@ SERVENT_LIB = @SERVENT_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ STDALIGN_H = @STDALIGN_H@ STDARG_H = @STDARG_H@ STDBOOL_H = @STDBOOL_H@ STDDEF_H = @STDDEF_H@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ WSTACK_CFLAGS = @WSTACK_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ YIELD_LIB = @YIELD_LIB@ abs_aux_dir = @abs_aux_dir@ 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@ 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@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ 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@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ subdirs = @subdirs@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = lib po gl src examples tests doc gltests EXTRA_DIST = cfg.mk maint.mk .clcopying ACLOCAL_AMFLAGS = -I m4 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-obsolete --with-gssapi-impl=no all: config.h $(MAKE) $(AM_MAKEFLAGS) 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) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu 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): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 doc/doxygen/Doxyfile: $(top_builddir)/config.status $(top_srcdir)/doc/doxygen/Doxyfile.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 # 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 -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-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 ;;\ 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) dvi \ && $(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 config.h installdirs: installdirs-recursive installdirs-am: 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-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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: .MAKE: $(am__recursive_targets) all 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-lzip dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-libtool distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install 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-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-am .PRECIOUS: Makefile # 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: gsasl-1.8.1/aclocal.m40000644000000000000000000013771113521017133011367 00000000000000# generated automatically by aclocal 1.16.1 -*- Autoconf -*- # Copyright (C) 1996-2018 Free Software Foundation, Inc. # 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. # 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. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # Copyright (C) 2002-2018 Free Software Foundation, Inc. # # 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. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.16.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # Copyright (C) 2011-2018 Free Software Foundation, Inc. # # 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. # AM_PROG_AR([ACT-IF-FAIL]) # ------------------------- # Try to determine the archiver interface, and trigger the ar-lib wrapper # if it is needed. If the detection of archiver interface fails, run # ACT-IF-FAIL (default is to abort configure with a proper error message). AC_DEFUN([AM_PROG_AR], [AC_BEFORE([$0], [LT_INIT])dnl AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([ar-lib])dnl AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) : ${AR=ar} AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], [AC_LANG_PUSH([C]) am_cv_ar_interface=ar AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a ]) AC_LANG_POP([C])]) case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) m4_default([$1], [AC_MSG_ERROR([could not determine $AR interface])]) ;; esac AC_SUBST([AR])dnl ]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2018 Free Software Foundation, Inc. # # 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. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2018 Free Software Foundation, Inc. # # 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. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2018 Free Software Foundation, Inc. # # 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. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. AS_CASE([$CONFIG_FILES], [*\'*], [eval set x "$CONFIG_FILES"], [*], [set x $CONFIG_FILES]) shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`AS_DIRNAME(["$am_mf"])` am_filepart=`AS_BASENAME(["$am_mf"])` AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) || am_rc=$? done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi AS_UNSET([am_dirpart]) AS_UNSET([am_filepart]) AS_UNSET([am_mf]) AS_UNSET([am_rc]) rm -f conftest-deps.mk } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking is enabled. # This creates each '.Po' and '.Plo' makefile fragment that we'll need in # order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2018 Free Software Foundation, Inc. # # 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. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2018 Free Software Foundation, Inc. # # 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. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_MAKE_INCLUDE() # ----------------- # Check whether make has an 'include' directive that can support all # the idioms we need for our automatic dependency tracking code. AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) AS_CASE([$?:`cat confinc.out 2>/dev/null`], ['0:this is the am__doit target'], [AS_CASE([$s], [BSD], [am__include='.include' am__quote='"'], [am__include='include' am__quote=''])]) if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* AC_MSG_RESULT([${_am_result}]) AC_SUBST([am__include])]) AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2018 Free Software Foundation, Inc. # # 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. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2018 Free Software Foundation, Inc. # # 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. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2018 Free Software Foundation, Inc. # # 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. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2018 Free Software Foundation, Inc. # # 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. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2018 Free Software Foundation, Inc. # # 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. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2018 Free Software Foundation, Inc. # # 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. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2018 Free Software Foundation, Inc. # # 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. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/00gnulib.m4]) m4_include([m4/absolute-header.m4]) m4_include([m4/alloca.m4]) m4_include([m4/arpa_inet_h.m4]) m4_include([m4/autobuild.m4]) m4_include([m4/btowc.m4]) m4_include([m4/close.m4]) m4_include([m4/codeset.m4]) m4_include([m4/ctype.m4]) m4_include([m4/dirname.m4]) m4_include([m4/double-slash-root.m4]) m4_include([m4/dup2.m4]) m4_include([m4/eealloc.m4]) m4_include([m4/environ.m4]) m4_include([m4/errno_h.m4]) m4_include([m4/error.m4]) m4_include([m4/exponentd.m4]) m4_include([m4/extensions.m4]) m4_include([m4/extern-inline.m4]) m4_include([m4/fcntl-o.m4]) m4_include([m4/fcntl.m4]) m4_include([m4/fcntl_h.m4]) m4_include([m4/fdopen.m4]) m4_include([m4/flexmember.m4]) m4_include([m4/float_h.m4]) m4_include([m4/fpieee.m4]) m4_include([m4/fseek.m4]) m4_include([m4/fseeko.m4]) m4_include([m4/fstat.m4]) m4_include([m4/getaddrinfo.m4]) m4_include([m4/getcwd.m4]) m4_include([m4/getdelim.m4]) m4_include([m4/getdtablesize.m4]) m4_include([m4/getline.m4]) m4_include([m4/getopt.m4]) m4_include([m4/getpagesize.m4]) m4_include([m4/getpass.m4]) m4_include([m4/getprogname.m4]) m4_include([m4/gettext.m4]) m4_include([m4/gnulib-common.m4]) m4_include([m4/gnulib-comp.m4]) m4_include([m4/gtk-doc.m4]) m4_include([m4/host-cpu-c-abi.m4]) m4_include([m4/hostent.m4]) m4_include([m4/iconv.m4]) m4_include([m4/iconv_h.m4]) m4_include([m4/iconv_open.m4]) m4_include([m4/include_next.m4]) m4_include([m4/inet_ntop.m4]) m4_include([m4/inet_pton.m4]) m4_include([m4/inline.m4]) m4_include([m4/intl-thread-locale.m4]) m4_include([m4/intlmacosx.m4]) m4_include([m4/intmax_t.m4]) m4_include([m4/inttypes-pri.m4]) m4_include([m4/inttypes.m4]) m4_include([m4/inttypes_h.m4]) m4_include([m4/isblank.m4]) m4_include([m4/langinfo_h.m4]) m4_include([m4/largefile.m4]) m4_include([m4/lcmessage.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/libtool.m4]) m4_include([m4/libunistring-base.m4]) m4_include([m4/limits-h.m4]) m4_include([m4/localcharset.m4]) m4_include([m4/locale-fr.m4]) m4_include([m4/locale-ja.m4]) m4_include([m4/locale-tr.m4]) m4_include([m4/locale-zh.m4]) m4_include([m4/locale_h.m4]) m4_include([m4/localename.m4]) m4_include([m4/lock.m4]) m4_include([m4/longlong.m4]) m4_include([m4/lseek.m4]) m4_include([m4/lstat.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) m4_include([m4/lt~obsolete.m4]) m4_include([m4/malloc.m4]) m4_include([m4/malloca.m4]) m4_include([m4/manywarnings.m4]) m4_include([m4/mbrtowc.m4]) m4_include([m4/mbsinit.m4]) m4_include([m4/mbstate_t.m4]) m4_include([m4/mbtowc.m4]) m4_include([m4/memchr.m4]) m4_include([m4/minmax.m4]) m4_include([m4/mmap-anon.m4]) m4_include([m4/mode_t.m4]) m4_include([m4/msvc-inval.m4]) m4_include([m4/msvc-nothrow.m4]) m4_include([m4/multiarch.m4]) m4_include([m4/nanosleep.m4]) m4_include([m4/netdb_h.m4]) m4_include([m4/netinet_in_h.m4]) m4_include([m4/nls.m4]) m4_include([m4/nocrash.m4]) m4_include([m4/off_t.m4]) m4_include([m4/open-cloexec.m4]) m4_include([m4/open.m4]) m4_include([m4/pathmax.m4]) m4_include([m4/pkg.m4]) m4_include([m4/po.m4]) m4_include([m4/poll.m4]) m4_include([m4/poll_h.m4]) m4_include([m4/printf.m4]) m4_include([m4/progtest.m4]) m4_include([m4/pthread-thread.m4]) m4_include([m4/pthread_h.m4]) m4_include([m4/pthread_rwlock_rdlock.m4]) m4_include([m4/pthread_sigmask.m4]) m4_include([m4/putenv.m4]) m4_include([m4/quote.m4]) m4_include([m4/quotearg.m4]) m4_include([m4/raise.m4]) m4_include([m4/readline.m4]) m4_include([m4/sched_h.m4]) m4_include([m4/select.m4]) m4_include([m4/servent.m4]) m4_include([m4/setenv.m4]) m4_include([m4/setlocale.m4]) m4_include([m4/sigaction.m4]) m4_include([m4/signal_h.m4]) m4_include([m4/signalblocking.m4]) m4_include([m4/size_max.m4]) m4_include([m4/sleep.m4]) m4_include([m4/snprintf.m4]) m4_include([m4/socketlib.m4]) m4_include([m4/sockets.m4]) m4_include([m4/socklen.m4]) m4_include([m4/sockpfaf.m4]) m4_include([m4/ssize_t.m4]) m4_include([m4/stat-time.m4]) m4_include([m4/stat.m4]) m4_include([m4/stdalign.m4]) m4_include([m4/stdarg.m4]) m4_include([m4/stdbool.m4]) m4_include([m4/stddef_h.m4]) m4_include([m4/stdint.m4]) m4_include([m4/stdint_h.m4]) m4_include([m4/stdio_h.m4]) m4_include([m4/stdlib_h.m4]) m4_include([m4/strdup.m4]) m4_include([m4/strerror.m4]) m4_include([m4/string_h.m4]) m4_include([m4/strtok_r.m4]) m4_include([m4/symlink.m4]) m4_include([m4/sys_select_h.m4]) m4_include([m4/sys_socket_h.m4]) m4_include([m4/sys_stat_h.m4]) m4_include([m4/sys_time_h.m4]) m4_include([m4/sys_types_h.m4]) m4_include([m4/sys_uio_h.m4]) m4_include([m4/thread.m4]) m4_include([m4/threadlib.m4]) m4_include([m4/time_h.m4]) m4_include([m4/ungetc.m4]) m4_include([m4/unistd_h.m4]) m4_include([m4/usleep.m4]) m4_include([m4/valgrind-tests.m4]) m4_include([m4/vasnprintf.m4]) m4_include([m4/vasprintf.m4]) m4_include([m4/version-etc.m4]) m4_include([m4/warn-on-use.m4]) m4_include([m4/warnings.m4]) m4_include([m4/wchar_h.m4]) m4_include([m4/wchar_t.m4]) m4_include([m4/wcrtomb.m4]) m4_include([m4/wctob.m4]) m4_include([m4/wctomb.m4]) m4_include([m4/wctype_h.m4]) m4_include([m4/wint_t.m4]) m4_include([m4/xalloc.m4]) m4_include([m4/xsize.m4]) m4_include([m4/yield.m4]) gsasl-1.8.1/configure.ac0000644000000000000000000001362213516322637012023 00000000000000dnl Process this file with autoconf to produce a configure script. # Copyright (C) 2002-2019 Simon Josefsson # # This file is part of GNU SASL. # # 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 3 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, see . AC_PREREQ(2.63) AC_INIT([GNU SASL], [1.8.1], [bug-gsasl@gnu.org], [gsasl]) AC_CONFIG_AUX_DIR([lib/build-aux]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) AM_SILENT_RULES([yes]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC gl_EARLY m4_pattern_allow([AM_PROG_AR]) AM_PROG_AR AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AM_MISSING_PROG(PERL, perl, $missing_dir) AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir) AM_MISSING_PROG(DIA, dia, $missing_dir) AM_MISSING_PROG(EPSTOPDF, epstopdf, $missing_dir) # Internationalization. AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.2]) # Checks for header files. AC_CHECK_HEADERS(pwd.h) # Checks for library functions. AC_SEARCH_LIBS(socket, socket) AC_CHECK_FUNCS(getpwuid) # Allow disabling of obsolete stuff. AC_ARG_ENABLE(obsolete, AS_HELP_STRING([--disable-obsolete], [disable backwards compatibility code]), obsolete=$enableval) if test "$obsolete" = "no"; then AC_DEFINE([GSASL_NO_OBSOLETE], 1, [Define to 1 if you don't want backwards compatibility code.]) else obsolete=yes fi AC_MSG_CHECKING([if backwards compatibility code should be present]) AC_MSG_RESULT($obsolete) AM_CONDITIONAL(OBSOLETE, test "$obsolete" = "yes") # Check for GnuTLS. AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls], [disable GnuTLS support]), gnutls=$withval, gnutls=yes) if test "$gnutls" != "no"; then AC_LIB_HAVE_LINKFLAGS(gnutls,, [#include ], [gnutls_priority_set_direct (0, 0, 0);]) fi if test "$ac_cv_libgnutls" != yes; then gnutls=no AC_MSG_WARN([GnuTLS not found. STARTTLS support disabled.]) fi AC_MSG_CHECKING([if STARTTLS support via GnuTLS should be built]) AC_MSG_RESULT($gnutls) if test "$ac_cv_libgnutls" = yes; then save_LIBS="$LIBS" LIBS="$LIBS $LIBGNUTLS" AC_CHECK_FUNCS([gnutls_session_channel_binding]) LIBS="$save_LIBS" fi # Check for gtk-doc. GTK_DOC_CHECK(1.1) # For gnulib stuff in gl/. gl_INIT AC_DEFINE([GNULIB_NO_VLA], 1, [Disable VLA usage in gettext.h.]) AM_CONDITIONAL(WINDOWS, test "$gl_cv_func_wsastartup" = "yes") # Check for Lasso. For examples/saml20/. Disabled by default on Windows. lasso_default=yes if test "$gl_cv_func_wsastartup" = "yes"; then lasso_default=no fi AC_ARG_WITH(lasso, AS_HELP_STRING([--without-lasso], [disable Lasso (used by examples/saml20/)]), lasso=$withval, lasso=$lasso_default) if test "$lasso" != "no"; then PKG_CHECK_MODULES(LASSO, lasso >= 2.2.1, [lasso=yes], [lasso=no]) AC_SUBST(LASSO_CFLAGS) LASSO_CFLAGS=`echo $pkg_cv_LASSO_CFLAGS | sed -e 's,\\\\,,g'` fi AM_CONDITIONAL(LASSO, test "$lasso" = "yes") AC_ARG_ENABLE([gcc-warnings], [AS_HELP_STRING([--enable-gcc-warnings], [turn on lots of GCC warnings (for developers)])], [case $enableval in yes|no) ;; *) AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;; esac gl_gcc_warnings=$enableval], [gl_gcc_warnings=no] ) if test "$gl_gcc_warnings" = yes; then gl_WARN_ADD([-Werror], [WERROR_CFLAGS]) gl_WARN_ADD([-Wframe-larger-than=250], [WSTACK_CFLAGS]) nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings nw="$nw -Wpadded" # Our structs are not padded nw="$nw -Wundef" # warns on '#if GNULIB_FOO' etc in gnulib nw="$nw -Wc++-compat" # We don't care strongly about C++ compilers nw="$nw -Wswitch-enum" # Too many warnings for now nw="$nw -Wconversion" # Too many warnings for now nw="$nw -Wsign-conversion" # Too many warnings for now nw="$nw -Wtraditional" # Warns on #elif which we use often nw="$nw -Wtraditional-conversion" # Too many warnings for now nw="$nw -Wunreachable-code" # Too many false positives nw="$nw -Wsuggest-attribute=pure" # Is it worth using attributes? nw="$nw -Wsuggest-attribute=const" # Is it worth using attributes? gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT(ws, [$ws], [$nw]) for w in $ws; do gl_WARN_ADD([$w]) done gl_WARN_ADD([-Wno-missing-field-initializers]) gl_WARN_ADD([-Wno-unused-parameter]) gl_WARN_ADD([-Wno-sign-compare]) gl_WARN_ADD([-Wno-deprecated-declarations]) gl_WARN_ADD([-fdiagnostics-show-option]) fi # Export things for lib/configure.ac. export WARN_CFLAGS AC_CONFIG_SUBDIRS([lib]) AC_CONFIG_FILES([ Makefile doc/Makefile doc/cyclo/Makefile doc/doxygen/Doxyfile doc/reference/Makefile doc/reference/version.xml examples/Makefile examples/openid20/Makefile examples/saml20/Makefile gl/Makefile gltests/Makefile po/Makefile.in src/Makefile tests/Makefile ]) AC_OUTPUT AC_MSG_NOTICE([summary of main build options: version: ${VERSION} Host type: ${host} Install prefix: ${prefix} Compiler: cc: ${CC} cflags: ${CFLAGS} cppflags: ${CPPFLAGS} Warning flags: $gl_gcc_warnings Library types: Shared=${enable_shared}, Static=${enable_static} Valgrind: ${VALGRIND} Obsolete functions: $obsolete GnuTLS support: $gnutls CPPFLAGS: $INCLIBGNUTLS LDADD: $LTLIBGNUTLS Lasso support: $lasso CPPFLAGS: $LASSO_CFLAGS LDADD: $LASSO_LIBS ]) gsasl-1.8.1/config.h.in0000644000000000000000000013647513521017135011562 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ #undef AC_APPLE_UNIVERSAL_BUILD /* Define to the number of bits in type 'ptrdiff_t'. */ #undef BITSIZEOF_PTRDIFF_T /* Define to the number of bits in type 'sig_atomic_t'. */ #undef BITSIZEOF_SIG_ATOMIC_T /* Define to the number of bits in type 'size_t'. */ #undef BITSIZEOF_SIZE_T /* Define to the number of bits in type 'wchar_t'. */ #undef BITSIZEOF_WCHAR_T /* Define to the number of bits in type 'wint_t'. */ #undef BITSIZEOF_WINT_T /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ #undef CRAY_STACKSEG_END /* Define to 1 if using `alloca.c'. */ #undef C_ALLOCA /* Define to 1 if the C locale may have encoding errors. */ #undef C_LOCALE_MAYBE_EILSEQ /* Define as the bit index in the word where to find bit 0 of the exponent of 'double'. */ #undef DBL_EXPBIT0_BIT /* Define as the word index where to find the exponent of 'double'. */ #undef DBL_EXPBIT0_WORD /* Define to 1 if // is a file system root distinct from /. */ #undef DOUBLE_SLASH_IS_DISTINCT_ROOT /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* Define this to 1 if F_DUPFD behavior does not match POSIX */ #undef FCNTL_DUPFD_BUGGY /* Define to nothing if C supports flexible array members, and to 1 if it does not. That way, with a declaration like 'struct s { int n; short d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate the size in bytes of such a struct containing an N-element array. */ #undef FLEXIBLE_ARRAY_MEMBER /* Define to 1 if ungetc is broken when used on arbitrary bytes. */ #undef FUNC_UNGETC_BROKEN /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module fscanf shall be considered present. */ #undef GNULIB_FSCANF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module lock shall be considered present. */ #undef GNULIB_LOCK /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module msvc-nothrow shall be considered present. */ #undef GNULIB_MSVC_NOTHROW /* Disable VLA usage in gettext.h. */ #undef GNULIB_NO_VLA /* Define to 1 if printf and friends should be labeled with attribute "__gnu_printf__" instead of "__printf__" */ #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module scanf shall be considered present. */ #undef GNULIB_SCANF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module snprintf shall be considered present. */ #undef GNULIB_SNPRINTF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module strerror shall be considered present. */ #undef GNULIB_STRERROR /* Define to 1 when the gnulib module btowc should be tested. */ #undef GNULIB_TEST_BTOWC /* Define to 1 when the gnulib module cloexec should be tested. */ #undef GNULIB_TEST_CLOEXEC /* Define to 1 when the gnulib module close should be tested. */ #undef GNULIB_TEST_CLOSE /* Define to 1 when the gnulib module connect should be tested. */ #undef GNULIB_TEST_CONNECT /* Define to 1 when the gnulib module dup2 should be tested. */ #undef GNULIB_TEST_DUP2 /* Define to 1 when the gnulib module environ should be tested. */ #undef GNULIB_TEST_ENVIRON /* Define to 1 when the gnulib module fcntl should be tested. */ #undef GNULIB_TEST_FCNTL /* Define to 1 when the gnulib module fdopen should be tested. */ #undef GNULIB_TEST_FDOPEN /* Define to 1 when the gnulib module fseek should be tested. */ #undef GNULIB_TEST_FSEEK /* Define to 1 when the gnulib module fseeko should be tested. */ #undef GNULIB_TEST_FSEEKO /* Define to 1 when the gnulib module fstat should be tested. */ #undef GNULIB_TEST_FSTAT /* Define to 1 when the gnulib module getaddrinfo should be tested. */ #undef GNULIB_TEST_GETADDRINFO /* Define to 1 when the gnulib module getcwd should be tested. */ #undef GNULIB_TEST_GETCWD /* Define to 1 when the gnulib module getdelim should be tested. */ #undef GNULIB_TEST_GETDELIM /* Define to 1 when the gnulib module getdtablesize should be tested. */ #undef GNULIB_TEST_GETDTABLESIZE /* Define to 1 when the gnulib module getline should be tested. */ #undef GNULIB_TEST_GETLINE /* Define to 1 when the gnulib module getpagesize should be tested. */ #undef GNULIB_TEST_GETPAGESIZE /* Define to 1 when the gnulib module getpass should be tested. */ #undef GNULIB_TEST_GETPASS /* Define to 1 when the gnulib module localename should be tested. */ #undef GNULIB_TEST_LOCALENAME /* Define to 1 when the gnulib module lseek should be tested. */ #undef GNULIB_TEST_LSEEK /* Define to 1 when the gnulib module lstat should be tested. */ #undef GNULIB_TEST_LSTAT /* Define to 1 when the gnulib module malloc-posix should be tested. */ #undef GNULIB_TEST_MALLOC_POSIX /* Define to 1 when the gnulib module mbrtowc should be tested. */ #undef GNULIB_TEST_MBRTOWC /* Define to 1 when the gnulib module mbsinit should be tested. */ #undef GNULIB_TEST_MBSINIT /* Define to 1 when the gnulib module mbtowc should be tested. */ #undef GNULIB_TEST_MBTOWC /* Define to 1 when the gnulib module memchr should be tested. */ #undef GNULIB_TEST_MEMCHR /* Define to 1 when the gnulib module nanosleep should be tested. */ #undef GNULIB_TEST_NANOSLEEP /* Define to 1 when the gnulib module open should be tested. */ #undef GNULIB_TEST_OPEN /* Define to 1 when the gnulib module poll should be tested. */ #undef GNULIB_TEST_POLL /* Define to 1 when the gnulib module pthread_sigmask should be tested. */ #undef GNULIB_TEST_PTHREAD_SIGMASK /* Define to 1 when the gnulib module pthread-thread should be tested. */ #undef GNULIB_TEST_PTHREAD_THREAD /* Define to 1 when the gnulib module putenv should be tested. */ #undef GNULIB_TEST_PUTENV /* Define to 1 when the gnulib module raise should be tested. */ #undef GNULIB_TEST_RAISE /* Define to 1 when the gnulib module recv should be tested. */ #undef GNULIB_TEST_RECV /* Define to 1 when the gnulib module select should be tested. */ #undef GNULIB_TEST_SELECT /* Define to 1 when the gnulib module setenv should be tested. */ #undef GNULIB_TEST_SETENV /* Define to 1 when the gnulib module setlocale should be tested. */ #undef GNULIB_TEST_SETLOCALE /* Define to 1 when the gnulib module shutdown should be tested. */ #undef GNULIB_TEST_SHUTDOWN /* Define to 1 when the gnulib module sigaction should be tested. */ #undef GNULIB_TEST_SIGACTION /* Define to 1 when the gnulib module sigprocmask should be tested. */ #undef GNULIB_TEST_SIGPROCMASK /* Define to 1 when the gnulib module sleep should be tested. */ #undef GNULIB_TEST_SLEEP /* Define to 1 when the gnulib module snprintf should be tested. */ #undef GNULIB_TEST_SNPRINTF /* Define to 1 when the gnulib module socket should be tested. */ #undef GNULIB_TEST_SOCKET /* Define to 1 when the gnulib module stat should be tested. */ #undef GNULIB_TEST_STAT /* Define to 1 when the gnulib module strdup should be tested. */ #undef GNULIB_TEST_STRDUP /* Define to 1 when the gnulib module strerror should be tested. */ #undef GNULIB_TEST_STRERROR /* Define to 1 when the gnulib module strtok_r should be tested. */ #undef GNULIB_TEST_STRTOK_R /* Define to 1 when the gnulib module symlink should be tested. */ #undef GNULIB_TEST_SYMLINK /* Define to 1 when the gnulib module unsetenv should be tested. */ #undef GNULIB_TEST_UNSETENV /* Define to 1 when the gnulib module usleep should be tested. */ #undef GNULIB_TEST_USLEEP /* Define to 1 when the gnulib module vasprintf should be tested. */ #undef GNULIB_TEST_VASPRINTF /* Define to 1 when the gnulib module wcrtomb should be tested. */ #undef GNULIB_TEST_WCRTOMB /* Define to 1 when the gnulib module wctob should be tested. */ #undef GNULIB_TEST_WCTOB /* Define to 1 when the gnulib module wctomb should be tested. */ #undef GNULIB_TEST_WCTOMB /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module unistr/u8-mbtoucr shall be considered present. */ #undef GNULIB_UNISTR_U8_MBTOUCR /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module unistr/u8-uctomb shall be considered present. */ #undef GNULIB_UNISTR_U8_UCTOMB /* Define to 1 if you don't want backwards compatibility code. */ #undef GSASL_NO_OBSOLETE /* Define to 1 if you have 'alloca' after including , a header that may be supplied by this distribution. */ #undef HAVE_ALLOCA /* Define to 1 if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H /* Define to 1 if you have the header file. */ #undef HAVE_BP_SYM_H /* Define to 1 if you have the `btowc' function. */ #undef HAVE_BTOWC /* Define to 1 if nanosleep mishandles large arguments. */ #undef HAVE_BUG_BIG_NANOSLEEP /* Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define to 1 if you have the header file. */ #undef HAVE_CRTDEFS_H /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. */ #undef HAVE_DECL_ALARM /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FFLUSH_UNLOCKED /* Define to 1 if you have the declaration of `flockfile', and to 0 if you don't. */ #undef HAVE_DECL_FLOCKFILE /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FPUTS_UNLOCKED /* Define to 1 if you have the declaration of `freeaddrinfo', and to 0 if you don't. */ #undef HAVE_DECL_FREEADDRINFO /* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't. */ #undef HAVE_DECL_FSEEKO /* Define to 1 if you have the declaration of `funlockfile', and to 0 if you don't. */ #undef HAVE_DECL_FUNLOCKFILE /* Define to 1 if you have the declaration of `gai_strerror', and to 0 if you don't. */ #undef HAVE_DECL_GAI_STRERROR /* Define to 1 if you have the declaration of `gai_strerrorA', and to 0 if you don't. */ #undef HAVE_DECL_GAI_STRERRORA /* Define to 1 if you have the declaration of `getaddrinfo', and to 0 if you don't. */ #undef HAVE_DECL_GETADDRINFO /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_GETC_UNLOCKED /* Define to 1 if you have the declaration of `getdelim', and to 0 if you don't. */ #undef HAVE_DECL_GETDELIM /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you don't. */ #undef HAVE_DECL_GETDTABLESIZE /* Define to 1 if you have the declaration of `getline', and to 0 if you don't. */ #undef HAVE_DECL_GETLINE /* Define to 1 if you have the declaration of `getnameinfo', and to 0 if you don't. */ #undef HAVE_DECL_GETNAMEINFO /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you don't. */ #undef HAVE_DECL_INET_NTOP /* Define to 1 if you have the declaration of `inet_pton', and to 0 if you don't. */ #undef HAVE_DECL_INET_PTON /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you don't. */ #undef HAVE_DECL_MBRTOWC /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you don't. */ #undef HAVE_DECL_MBSINIT /* Define to 1 if you have the declaration of `program_invocation_name', and to 0 if you don't. */ #undef HAVE_DECL_PROGRAM_INVOCATION_NAME /* Define to 1 if you have the declaration of `program_invocation_short_name', and to 0 if you don't. */ #undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_PUTC_UNLOCKED /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. */ #undef HAVE_DECL_SETENV /* Define to 1 if you have the declaration of `sleep', and to 0 if you don't. */ #undef HAVE_DECL_SLEEP /* Define to 1 if you have the declaration of `snprintf', and to 0 if you don't. */ #undef HAVE_DECL_SNPRINTF /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. */ #undef HAVE_DECL_STRDUP /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR_R /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you don't. */ #undef HAVE_DECL_STRTOK_R /* Define to 1 if you have the declaration of `towlower', and to 0 if you don't. */ #undef HAVE_DECL_TOWLOWER /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you don't. */ #undef HAVE_DECL_UNSETENV /* Define to 1 if you have the declaration of `wcrtomb', and to 0 if you don't. */ #undef HAVE_DECL_WCRTOMB /* Define to 1 if you have the declaration of `wctob', and to 0 if you don't. */ #undef HAVE_DECL_WCTOB /* Define to 1 if you have the declaration of `_fseeki64', and to 0 if you don't. */ #undef HAVE_DECL__FSEEKI64 /* Define to 1 if you have the declaration of `_putenv', and to 0 if you don't. */ #undef HAVE_DECL__PUTENV /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you don't. */ #undef HAVE_DECL__SNPRINTF /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. */ #undef HAVE_DECL___ARGV /* Define to 1 if you have the declaration of `__fsetlocking', and to 0 if you don't. */ #undef HAVE_DECL___FSETLOCKING /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the 'dup2' function. */ #undef HAVE_DUP2 /* Define to 1 if you have the `duplocale' function. */ #undef HAVE_DUPLOCALE /* Define if you have the declaration of environ. */ #undef HAVE_ENVIRON_DECL /* Define if the locale_t type contains insufficient information, as on OpenBSD. */ #undef HAVE_FAKE_LOCALES /* Define to 1 if you have the `fcntl' function. */ #undef HAVE_FCNTL /* Define to 1 if you have the header file. */ #undef HAVE_FEATURES_H /* Define to 1 if you have the `flockfile' function. */ #undef HAVE_FLOCKFILE /* Define to 1 if you have the `freelocale' function. */ #undef HAVE_FREELOCALE /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #undef HAVE_FSEEKO /* Define to 1 if you have the `funlockfile' function. */ #undef HAVE_FUNLOCKFILE /* Define to 1 if you have the `getdelim' function. */ #undef HAVE_GETDELIM /* Define to 1 if you have the `getdtablesize' function. */ #undef HAVE_GETDTABLESIZE /* Define to 1 if you have the `getexecname' function. */ #undef HAVE_GETEXECNAME /* Define to 1 if you have the `gethostbyname' function. */ #undef HAVE_GETHOSTBYNAME /* Define to 1 if you have the `getlocalename_l' function. */ #undef HAVE_GETLOCALENAME_L /* Define to 1 if you have the header file. */ #undef HAVE_GETOPT_H /* Define to 1 if you have the `getopt_long_only' function. */ #undef HAVE_GETOPT_LONG_ONLY /* Define to 1 if you have the `getpass' function. */ #undef HAVE_GETPASS /* Define to 1 if you have the `getprogname' function. */ #undef HAVE_GETPROGNAME /* Define to 1 if you have the `getpwuid' function. */ #undef HAVE_GETPWUID /* Define to 1 if you have the `getservbyname' function. */ #undef HAVE_GETSERVBYNAME /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the `gnutls_session_channel_binding' function. */ #undef HAVE_GNUTLS_SESSION_CHANNEL_BINDING /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the header file. */ #undef HAVE_ICONV_H /* Define to 1 if you have the `inet_ntop' function. */ #undef HAVE_INET_NTOP /* Define to 1 if you have the `inet_pton' function. */ #undef HAVE_INET_PTON /* Define to 1 if the compiler supports one of the keywords 'inline', '__inline__', '__inline' and effectively inlines functions marked as such. */ #undef HAVE_INLINE /* Define if you have the 'intmax_t' type in or . */ #undef HAVE_INTMAX_T /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_INTTYPES_H_WITH_UINTMAX /* Define to 1 if defines AF_INET. */ #undef HAVE_IPV4 /* Define to 1 if defines AF_INET6. */ #undef HAVE_IPV6 /* Define to 1 if you have the `isblank' function. */ #undef HAVE_ISBLANK /* Define to 1 if you have the `iswcntrl' function. */ #undef HAVE_ISWCNTRL /* Define if you have and nl_langinfo(CODESET). */ #undef HAVE_LANGINFO_CODESET /* Define to 1 if you have the header file. */ #undef HAVE_LANGINFO_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define if you have the libgnutls library. */ #undef HAVE_LIBGNUTLS /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H /* Define to 1 if the system has the type 'long long int'. */ #undef HAVE_LONG_LONG_INT /* Define to 1 if you have the `lstat' function. */ #undef HAVE_LSTAT /* Define if the 'malloc' function is POSIX compliant. */ #undef HAVE_MALLOC_POSIX /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including config.h and . */ #undef HAVE_MAP_ANONYMOUS /* Define to 1 if you have the `mbrtowc' function. */ #undef HAVE_MBRTOWC /* Define to 1 if you have the `mbsinit' function. */ #undef HAVE_MBSINIT /* Define to 1 if declares mbstate_t. */ #undef HAVE_MBSTATE_T /* Define to 1 if you have the `mbtowc' function. */ #undef HAVE_MBTOWC /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if defines the MIN and MAX macros. */ #undef HAVE_MINMAX_IN_LIMITS_H /* Define to 1 if defines the MIN and MAX macros. */ #undef HAVE_MINMAX_IN_SYS_PARAM_H /* Define to 1 if you have the `mprotect' function. */ #undef HAVE_MPROTECT /* Define to 1 on MSVC platforms that have the "invalid parameter handler" concept. */ #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Define if the locale_t type does not contain the name of each locale category. */ #undef HAVE_NAMELESS_LOCALES /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if you have the `newlocale' function. */ #undef HAVE_NEWLOCALE /* Define to 1 if you have the header file. */ #undef HAVE_OS_H /* Define to 1 if you have the 'poll' function and it works. */ #undef HAVE_POLL /* Define to 1 if you have the header file. */ #undef HAVE_POLL_H /* Define to 1 if you have the `pthread_atfork' function. */ #undef HAVE_PTHREAD_ATFORK /* Define to 1 if you have the header file. */ #undef HAVE_PTHREAD_H /* Define if the defines PTHREAD_MUTEX_RECURSIVE. */ #undef HAVE_PTHREAD_MUTEX_RECURSIVE /* Define if the POSIX multithreading library has read/write locks. */ #undef HAVE_PTHREAD_RWLOCK /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a reader. */ #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER /* Define to 1 if the pthread_sigmask function can be used (despite bugs). */ #undef HAVE_PTHREAD_SIGMASK /* Define to 1 if the system has the type `pthread_spinlock_t'. */ #undef HAVE_PTHREAD_SPINLOCK_T /* Define to 1 if the system has the type `pthread_t'. */ #undef HAVE_PTHREAD_T /* Define to 1 if you have the header file. */ #undef HAVE_PWD_H /* Define to 1 if you have the `raise' function. */ #undef HAVE_RAISE /* Define if you have the readline library. */ #undef HAVE_READLINE /* Define to 1 if you have the header file. */ #undef HAVE_READLINE_HISTORY_H /* Define to 1 if you have the header file. */ #undef HAVE_READLINE_READLINE_H /* Define to 1 if the system has the type `sa_family_t'. */ #undef HAVE_SA_FAMILY_T /* Define to 1 if you have the header file. */ #undef HAVE_SCHED_H /* Define to 1 if you have the header file. */ #undef HAVE_SEARCH_H /* Define to 1 if you have the header file. */ #undef HAVE_SEMAPHORE_H /* Define to 1 if you have the `setdtablesize' function. */ #undef HAVE_SETDTABLESIZE /* Define to 1 if you have the `setenv' function. */ #undef HAVE_SETENV /* Define to 1 if you have the `shutdown' function. */ #undef HAVE_SHUTDOWN /* Define to 1 if you have the `sigaction' function. */ #undef HAVE_SIGACTION /* Define to 1 if you have the `sigaltstack' function. */ #undef HAVE_SIGALTSTACK /* Define to 1 if the system has the type `siginfo_t'. */ #undef HAVE_SIGINFO_T /* Define to 1 if you have the `siginterrupt' function. */ #undef HAVE_SIGINTERRUPT /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ #undef HAVE_SIGNED_SIG_ATOMIC_T /* Define to 1 if 'wchar_t' is a signed integer type. */ #undef HAVE_SIGNED_WCHAR_T /* Define to 1 if 'wint_t' is a signed integer type. */ #undef HAVE_SIGNED_WINT_T /* Define to 1 if the system has the type `sigset_t'. */ #undef HAVE_SIGSET_T /* Define to 1 if you have the `sleep' function. */ #undef HAVE_SLEEP /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF /* Define if the return value of the snprintf function is the number of of bytes (excluding the terminating NUL) that would have been produced if the buffer had been large enough. */ #undef HAVE_SNPRINTF_RETVAL_C99 /* Define if the locale_t type is as on Solaris 11.4. */ #undef HAVE_SOLARIS114_LOCALES /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_STDINT_H_WITH_UINTMAX /* Define to 1 if you have the header file. */ #undef HAVE_STDIO_EXT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP /* Define to 1 if you have the `strerror_r' function. */ #undef HAVE_STRERROR_R /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strnlen' function. */ #undef HAVE_STRNLEN /* Define to 1 if you have the `strtok_r' function. */ #undef HAVE_STRTOK_R /* Define to 1 if the system has the type `struct addrinfo'. */ #undef HAVE_STRUCT_ADDRINFO /* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */ #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */ #undef HAVE_STRUCT_SOCKADDR_SA_LEN /* Define to 1 if the system has the type `struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIMENSEC /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC /* Define to 1 if you have the `symlink' function. */ #undef HAVE_SYMLINK /* Define to 1 if you have the header file. */ #undef HAVE_SYS_BITYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_CDEFS_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_FILIO_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_IOCTL_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_MMAN_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PARAM_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SELECT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_UIO_H /* Define to 1 if the system has the 'tcgetattr' function. */ #undef HAVE_TCGETATTR /* Define to 1 if the system has the 'tcsetattr' function. */ #undef HAVE_TCSETATTR /* Define to 1 if you have the header file. */ #undef HAVE_TERMIOS_H /* Define to 1 if you have the header file. */ #undef HAVE_THREADS_H /* Define to 1 if you have the `towlower' function. */ #undef HAVE_TOWLOWER /* Define to 1 if you have the `tsearch' function. */ #undef HAVE_TSEARCH /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `unsetenv' function. */ #undef HAVE_UNSETENV /* Define to 1 if the system has the type 'unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT /* Define to 1 if you have the `uselocale' function. */ #undef HAVE_USELOCALE /* Define to 1 if you have the `usleep' function. */ #undef HAVE_USLEEP /* Define if you have a global __progname variable */ #undef HAVE_VAR___PROGNAME /* Define to 1 if you have the `vasnprintf' function. */ #undef HAVE_VASNPRINTF /* Define to 1 if you have the `vasprintf' function. */ #undef HAVE_VASPRINTF /* Define to 1 if you have the header file. */ #undef HAVE_WCHAR_H /* Define if you have the 'wchar_t' type. */ #undef HAVE_WCHAR_T /* Define to 1 if you have the `wcrtomb' function. */ #undef HAVE_WCRTOMB /* Define to 1 if you have the `wcslen' function. */ #undef HAVE_WCSLEN /* Define to 1 if you have the `wcsnlen' function. */ #undef HAVE_WCSNLEN /* Define to 1 if you have the `wctob' function. */ #undef HAVE_WCTOB /* Define to 1 if you have the header file. */ #undef HAVE_WCTYPE_H /* Define to 1 if you have the header file. */ #undef HAVE_WINSOCK2_H /* Define if you have the 'wint_t' type. */ #undef HAVE_WINT_T /* Define to 1 if O_NOATIME works. */ #undef HAVE_WORKING_O_NOATIME /* Define to 1 if O_NOFOLLOW works. */ #undef HAVE_WORKING_O_NOFOLLOW /* Define if the uselocale function exists any may safely be called. */ #undef HAVE_WORKING_USELOCALE /* Define to 1 if you have the header file. */ #undef HAVE_WS2TCPIP_H /* Define to 1 if you have the header file. */ #undef HAVE_XLOCALE_H /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL /* Define to 1 if you have the `_fseeki64' function. */ #undef HAVE__FSEEKI64 /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ #undef HAVE__SET_INVALID_PARAMETER_HANDLER /* Define to 1 if you have the `__fsetlocking' function. */ #undef HAVE___FSETLOCKING /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST /* Define to a symbolic name denoting the flavor of iconv_open() implementation. */ #undef ICONV_FLAVOR /* Define to 1 if lseek does not detect pipes. */ #undef LSEEK_PIPE_BROKEN /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ #undef MALLOC_0_IS_NONNULL /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ #undef MAP_ANONYMOUS /* Define if the mbrtowc function does not return (size_t) -2 for empty input. */ #undef MBRTOWC_EMPTY_INPUT_BUG /* Define if the mbrtowc function has the NULL pwc argument bug. */ #undef MBRTOWC_NULL_ARG1_BUG /* Define if the mbrtowc function has the NULL string argument bug. */ #undef MBRTOWC_NULL_ARG2_BUG /* Define if the mbrtowc function does not return 0 for a NUL character. */ #undef MBRTOWC_NUL_RETVAL_BUG /* Define if the mbrtowc function returns a wrong return value. */ #undef MBRTOWC_RETVAL_BUG /* Use GNU style printf and scanf. */ #ifndef __USE_MINGW_ANSI_STDIO # undef __USE_MINGW_ANSI_STDIO #endif /* Define to 1 if open() fails to recognize a trailing slash. */ #undef OPEN_TRAILING_SLASH_BUG /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* String identifying the packager of this software */ #undef PACKAGE_PACKAGER /* Packager info for bug reports (URL/e-mail/...) */ #undef PACKAGE_PACKAGER_BUG_REPORTS /* Packager-specific version information */ #undef PACKAGE_PACKAGER_VERSION /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define if exists and defines unusable PRI* macros. */ #undef PRI_MACROS_BROKEN /* Define to the type that is the result of default argument promotions of type mode_t. */ #undef PROMOTED_MODE_T /* Define if pthread_create is an inline function. */ #undef PTHREAD_CREATE_IS_INLINE /* Define if the pthread_in_use() detection is hard. */ #undef PTHREAD_IN_USE_DETECTION_HARD /* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno. */ #undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO /* Define to 1 if pthread_sigmask may return 0 and have no effect. */ #undef PTHREAD_SIGMASK_INEFFECTIVE /* Define to 1 if pthread_sigmask() unblocks signals incorrectly. */ #undef PTHREAD_SIGMASK_UNBLOCK_BUG /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'ptrdiff_t'. */ #undef PTRDIFF_T_SUFFIX /* Define to 1 if stat needs help when passed a file name with a trailing slash */ #undef REPLACE_FUNC_STAT_FILE /* Define to 1 if strerror(0) does not return a message implying success. */ #undef REPLACE_STRERROR_0 /* Define if vasnprintf exists but is overridden by gnulib. */ #undef REPLACE_VASNPRINTF /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'sig_atomic_t'. */ #undef SIG_ATOMIC_T_SUFFIX /* Define as the maximum value of type 'size_t', if the system doesn't define it. */ #ifndef SIZE_MAX # undef SIZE_MAX #endif /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'size_t'. */ #undef SIZE_T_SUFFIX /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define to 1 if the `S_IS*' macros in do not work properly. */ #undef STAT_MACROS_BROKEN /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if strerror_r returns char *. */ #undef STRERROR_R_CHAR_P /* Define to 1 if the type of the st_atim member of a struct stat is struct timespec. */ #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC /* Define if the POSIX multithreading library can be used. */ #undef USE_POSIX_THREADS /* Define if references to the POSIX multithreading library should be made weak. */ #undef USE_POSIX_THREADS_WEAK /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable NetBSD extensions on NetBSD. */ #ifndef _NETBSD_SOURCE # undef _NETBSD_SOURCE #endif /* Enable OpenBSD extensions on NetBSD. */ #ifndef _OPENBSD_SOURCE # undef _OPENBSD_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ # undef __STDC_WANT_IEC_60559_BFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ #ifndef __STDC_WANT_LIB_EXT2__ # undef __STDC_WANT_LIB_EXT2__ #endif /* Enable extensions specified by ISO/IEC 24747:2009. */ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ # undef __STDC_WANT_MATH_SPEC_FUNCS__ #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable X/Open extensions if necessary. HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of whether compiling with -Ae or -D_HPUX_SOURCE=1. */ #ifndef _XOPEN_SOURCE # undef _XOPEN_SOURCE #endif /* Enable X/Open compliant socket functions that do not require linking with -lxnet on HP-UX 11.11. */ #ifndef _HPUX_ALT_XOPEN_SOCKET_API # undef _HPUX_ALT_XOPEN_SOCKET_API #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Define if the native Windows multithreading API can be used. */ #undef USE_WINDOWS_THREADS /* Version number of package */ #undef VERSION /* Define to 1 if unsetenv returns void instead of int. */ #undef VOID_UNSETENV /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'wchar_t'. */ #undef WCHAR_T_SUFFIX /* Define if WSAStartup is needed. */ #undef WINDOWS_SOCKETS /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'wint_t'. */ #undef WINT_T_SUFFIX /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD # if defined __BIG_ENDIAN__ # define WORDS_BIGENDIAN 1 # endif #else # ifndef WORDS_BIGENDIAN # undef WORDS_BIGENDIAN # endif #endif /* Enable large inode numbers on Mac OS X 10.5. */ #undef _DARWIN_USE_64_BIT_INODE /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ #undef _LARGEFILE_SOURCE /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES /* Define to 1 on Solaris. */ #undef _LCONV_C99 /* Define to 1 if on MINIX. */ #undef _MINIX /* Define to 1 to make NetBSD features available. MINIX 3 needs this. */ #undef _NETBSD_SOURCE /* The _Noreturn keyword of C11. */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER))) # define _Noreturn [[noreturn]] # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))) /* _Noreturn works as-is. */ # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE /* Define to 1 in order to get the POSIX compatible declarations of socket functions. */ #undef _POSIX_PII_SOCKET /* Define to 1 if you need to in order for 'stat' and other things to work. */ #undef _POSIX_SOURCE /* For thread-safety on OSF/1, Solaris. */ #undef _REENTRANT /* For thread-safety on AIX, FreeBSD. */ #undef _THREAD_SAFE /* For standard stat data types on VMS. */ #undef _USE_STD_STAT /* Define to rpl_ if the getopt replacement functions and variables should be used. */ #undef __GETOPT_PREFIX /* Define to 1 if the system predates C++11. */ #undef __STDC_CONSTANT_MACROS /* Define to 1 if the system predates C++11. */ #undef __STDC_LIMIT_MACROS /* The _GL_ASYNC_SAFE marker should be attached to functions that are signal handlers (for signals other than SIGABRT, SIGPIPE) or can be invoked from such signal handlers. Such functions have some restrictions: * All functions that it calls should be marked _GL_ASYNC_SAFE as well, or should be listed as async-signal-safe in POSIX section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in particular, are NOT async-signal-safe. * All memory locations (variables and struct fields) that these functions access must be marked 'volatile'. This holds for both read and write accesses. Otherwise the compiler might optimize away stores to and reads from such locations that occur in the program, depending on its data flow analysis. For example, when the program contains a loop that is intended to inspect a variable set from within a signal handler while (!signal_occurred) ; the compiler is allowed to transform this into an endless loop if the variable 'signal_occurred' is not declared 'volatile'. Additionally, recall that: * A signal handler should not modify errno (except if it is a handler for a fatal signal and ends by raising the same signal again, thus provoking the termination of the process). If it invokes a function that may clobber errno, it needs to save and restore the value of errno. */ #define _GL_ASYNC_SAFE /* Please see the Gnulib manual for how to use these macros. Suppress extern inline with HP-UX cc, as it appears to be broken; see . Suppress extern inline with Sun C in standards-conformance mode, as it mishandles inline functions that call each other. E.g., for 'inline void f (void) { } inline void g (void) { f (); }', c99 incorrectly complains 'reference to static identifier "f" in extern inline function'. This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) on configurations that mistakenly use 'static inline' to implement functions or macros in standard C headers like . For example, if isdigit is mistakenly implemented via a static inline function, a program containing an extern inline function that calls isdigit may not work since the C standard prohibits extern inline functions from calling static functions (ISO C 99 section 6.7.4.(3). This bug is known to occur on: OS X 10.8 and earlier; see: https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html DragonFly; see http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/ah-tty-0.3.12.log FreeBSD; see: https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and for clang but remains for g++; see . Assume DragonFly and FreeBSD will be similar. GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. It defines a macro __GNUC_STDC_INLINE__ to indicate this situation or a macro __GNUC_GNU_INLINE__ to indicate the opposite situation. GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline semantics but warns, unless -fgnu89-inline is used: warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. */ #if (((defined __APPLE__ && defined __MACH__) \ || defined __DragonFly__ || defined __FreeBSD__) \ && (defined __header_inline \ ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ && ! defined __clang__) \ : ((! defined _DONT_USE_CTYPE_INLINE_ \ && (defined __GNUC__ || defined __cplusplus)) \ || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ && defined __GNUC__ && ! defined __cplusplus)))) # define _GL_EXTERN_INLINE_STDHEADER_BUG #endif #if ((__GNUC__ \ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ : (199901L <= __STDC_VERSION__ \ && !defined __HP_cc \ && !defined __PGI \ && !(defined __SUNPRO_C && __STDC__))) \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # define _GL_INLINE inline # define _GL_EXTERN_INLINE extern inline # define _GL_EXTERN_INLINE_IN_USE #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) # else # define _GL_INLINE extern inline # endif # define _GL_EXTERN_INLINE extern # define _GL_EXTERN_INLINE_IN_USE #else # define _GL_INLINE static _GL_UNUSED # define _GL_EXTERN_INLINE static _GL_UNUSED #endif /* In GCC 4.6 (inclusive) to 5.1 (exclusive), suppress bogus "no previous prototype for 'FOO'" and "no previous declaration for 'FOO'" diagnostics, when FOO is an inline function in the header; see and . */ #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ # define _GL_INLINE_HEADER_CONST_PRAGMA # else # define _GL_INLINE_HEADER_CONST_PRAGMA \ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") # endif # define _GL_INLINE_HEADER_BEGIN \ _Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ _GL_INLINE_HEADER_CONST_PRAGMA # define _GL_INLINE_HEADER_END \ _Pragma ("GCC diagnostic pop") #else # define _GL_INLINE_HEADER_BEGIN # define _GL_INLINE_HEADER_END #endif /* Define to `int' if doesn't define. */ #undef gid_t /* A replacement for va_copy, if needed. */ #define gl_va_copy(a,b) ((a) = (b)) /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to long or long long if and don't define. */ #undef intmax_t /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. __APPLE__ && __MACH__ test for Mac OS X. __APPLE_CC__ tests for the Apple compiler and its version. __STDC_VERSION__ tests for the C99 mode. */ #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ # define __GNUC_STDC_INLINE__ 1 #endif /* Define to a type if does not define. */ #undef mbstate_t /* Define to `int' if does not define. */ #undef mode_t /* Define to the type of st_nlink in struct stat, or a supertype. */ #undef nlink_t /* Define to `int' if does not define. */ #undef pid_t /* Define as the type of the result of subtracting two pointers, if the system doesn't define it. */ #undef ptrdiff_t /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported directly. */ #undef restrict /* Work around a bug in Sun C++: it does not support _Restrict or __restrict__, even though the corresponding Sun C compiler ends up with "#define restrict _Restrict" or "#define restrict __restrict__" in the previous line. Perhaps some future version of Sun C++ will work with restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ #if defined __SUNPRO_CC && !defined __RESTRICT # define _Restrict # define __restrict__ #endif /* Define to `unsigned int' if does not define. */ #undef size_t /* type to use in place of socklen_t if not defined */ #undef socklen_t /* Define as a signed type of the same size as size_t. */ #undef ssize_t /* Define to `int' if doesn't define. */ #undef uid_t /* Define as a marker that can be attached to declarations that might not be used. This helps to reduce warnings, such as from GCC -Wunused-parameter. */ #if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) # define _GL_UNUSED __attribute__ ((__unused__)) #else # define _GL_UNUSED #endif /* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name is a misnomer outside of parameter lists. */ #define _UNUSED_PARAMETER_ _GL_UNUSED /* gcc supports the "unused" attribute on possibly unused labels, and g++ has since version 4.5. Note to support C++ as well as C, _GL_UNUSED_LABEL should be used with a trailing ; */ #if !defined __cplusplus || __GNUC__ > 4 \ || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) # define _GL_UNUSED_LABEL _GL_UNUSED #else # define _GL_UNUSED_LABEL #endif /* The __pure__ attribute was added in gcc 2.96. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) #else # define _GL_ATTRIBUTE_PURE /* empty */ #endif /* The __const__ attribute was added in gcc 2.95. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) #else # define _GL_ATTRIBUTE_CONST /* empty */ #endif /* The __malloc__ attribute was added in gcc 3. */ #if 3 <= __GNUC__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) #else # define _GL_ATTRIBUTE_MALLOC /* empty */ #endif /* Define to an unsigned 32-bit type if lacks this type. */ #undef useconds_t /* Define as a macro for copying va_list variables. */ #undef va_copy gsasl-1.8.1/NEWS0000644000000000000000000007175113521016760010234 00000000000000GNU SASL NEWS -- History of user-visible changes. Copyright (C) 2002-2019 Simon Josefsson See the end for copying conditions. Note that changes to the GNU SASL Library is documented in lib/NEWS. This file track changes to the remaining, non-library, parts of GNU SASL. That include the manual, the command line tool, and self tests. * Version 1.8.1 (released 2019-08-02) [stable] ** gsasl: IMAP client code now permits empty SASL tokens prefixed with '+'. Normally servers should send '+ '. Buggy servers include Microsoft Exchange. Reported by Adam Sjøgren. ** GSSAPI client: Now retrieves GSASL_AUTHZID for authorization identity. ** GSSAPI client: Can now transmit an empty/missing authorization identity. See lib/NEWS for more information. ** Build fixes. Update of gnulib, including how it is bootstrapped. ** i18n: Updated translations. * Version 1.8.0 (released 2012-05-28) [stable] ** This is a new major stable release. Brief changes compared to 1.6.x: *** SAML20 support following RFC 6595. *** OPENID20 support following RFC 6616. *** Added SMTP server examples (for e.g., SCRAM, SAML20, OPENID20). *** Various cleanups, portability and other bug fixes. See the NEWS entries during the 1.7.x branch for details. * Version 1.7.6 (released 2012-05-23) [beta] ** i18n: Updated translations. ** Build fixes. * Version 1.7.5 (released 2012-05-22) [beta] ** i18n: Updated translations. ** Build fixes. * Version 1.7.4 (released 2012-05-16) [alpha] ** Doc fixes and updates for the callback/property change in the library. See lib/NEWS for details. This affects SAML and OpenID. ** Slight fixes to Windows build script. * Version 1.7.3 (released 2012-04-03) [alpha] ** The SAML20 mechanism has been updated and is now enabled by default. ** Doc fixes and updates for the callback/property change in the library. See lib/NEWS for details. ** examples: Added example SMTP server with SAML 2.0 support. See examples/saml20/README. It uses Lasso as the SAML implementation. You may disable Lasso by using --without-lasso. Note that Lasso is only needed for this example server, it is not needed by the GNU SASL library or command line tools itself. * Version 1.7.2 (released 2012-03-28) [alpha] ** gsasl: The client lets the server decide when authentication is complete. Before the client quit from the authentication loop when the local mechanism was finished, but some mechanisms (OPENID20) have optional additional round-trips. ** gsasl: Added OPENID20 support. ** gsasl: The --no-cb parameter now avoids even attempting to get the ** channel binding data from GnuTLS. Apparently this can avoid issues when GnuTLS fails to provide the CB. ** examples: Added stand-alone example SMTP server. See examples/smtp-server.c. This illustrate how to write a server using GNU SASL, but it can also be used for interop testing of clients. ** examples: Added example SMTP server with OpenID 2.0 support. See examples/openid20/README. * Version 1.7.1 (released 2012-02-09) [alpha] ** gsasl: Don't crash after getpass() on Mac OS X. Reported by Wim Lewis . ** gsasl: Ignore untagged responses during IMAP authentication. Patch from Enrico Scholz . ** tests: Disable the test-poll self-test, it doesn't seem to work on Solaris. Reported by Dagobert Michelsen . ** libgsasl: Implement OPENID20 mechanism for OpenID authentication. Following draft-ietf-kitten-sasl-openid-03. ** Demand gettext >= 0.18.1 in order to get newer M4 files. The old M4 files associated with 0.17 caused problems on Solaris, which will hopefully be fixed with this. Reported by Dagobert Michelsen . ** build: Added MinGW build script for Windows binaries, windows/gsasl4win.mk. ** doc: Typo fix in autoconf snippet. ** i18n: Updated translations. ** examples: Added client-xmpp-saml20 and server-xmpp-saml20. The examples illustrates a sample SAML20 client and server. * Version 1.7.0 (released 2010-10-22) [alpha] ** Support for SAML20 mechanism as per -01 IETF draft. See lib/NEWS. Implements draft-ietf-kitten-sasl-saml-01. ** doc: Mention new SAML properties. ** tests: New tests/saml20.c file. * Version 1.6.1 (released 2011-05-01) [stable] ** build: Demand gettext >= 0.18.1 in order to get newer M4 files. The old M4 files associated with 0.17 caused problems on Solaris, which will hopefully be fixed with this. Reported by Dagobert Michelsen . ** doc: Typo fix in autoconf snippet. ** i18n: Updated translations. * Version 1.6.0 (released 2010-12-14) [beta] ** No changes since release candidate 1.5.5. * Version 1.5.5 (released 2010-12-09) [beta] ** gsasl: Add --no-cb to disable use of TLS channel bindings. ** build: Use silent build rules via automake. Use 'make V=99' to see the command lines used. * Version 1.5.4 (released 2010-11-14) [beta] ** Update gnulib files. * Version 1.5.3 (released 2010-11-14) [beta] ** gsasl: Support for TLS channel bindings. Requires GnuTLS 2.11.4 or later for the gnutls_session_channel_binding function. Used by the SCRAM-SHA-1-PLUS mechanism. ** doc: Mention new property GSASL_CB_TLS_UNIQUE and SCRAM-SHA-1-PLUS. ** tests: Added self-tests for SCRAM-SHA-1-PLUS. * Version 1.5.2 (released 2010-09-27) [beta] ** gsasl: Avoid fixed size buffers. This caused problems on Windows where the BUFSIZ was too small for some line lengths with GS2-KRB5. ** tests: Fix error strings to be more unique. ** doc: Added section on how to build with MIT Kerberos for Windows. ** doc: Added PDF version of API reference manual. See doc/reference/gsasl.pdf. ** i18n: Updated translations. Thanks to Benno Schulenberg. ** Update gnulib files. * Version 1.5.1 (released 2010-04-21) [beta] ** Update gnulib files. * Version 1.5.0 (released 2010-03-31) [beta] ** doc: Explain GS2-related changes. ** doc: GTK-DOC manual improved. Now almost all symbols and types are explained. ** gsasl: Fix crash when getaddrinfo does not get a canonical name. ** gsasl: Improve error message when server rejects authentication. ** tests: Self checks are improved. * Version 1.4.4 (released 2010-03-25) [stable] ** See lib/NEWS. * Version 1.4.3 (released 2010-03-25) [stable] ** See lib/NEWS. * Version 1.4.2 (released 2010-03-15) [stable] ** i18n: Updated translations. * Version 1.4.1 (released 2010-02-16) [stable] ** gsasl: Improve application data throughput. Patch from Enrico Scholz in . ** Improve MinGW builds. ** i18n: Updated German translation. * Version 1.4.0 (released 2009-11-17) [stable] ** No changes since 1.3.91 release candidate. The release numbering scheme has changed compared to the last stable release. In the future we will use version numbers X.Y.Z with even Y to indicate stable releases and odd Y to indicate experimental releases. Z is incremented by one for every release on a particular branch. For example, the next stable release will either be 1.4.1 or 1.6.0 and the next experimental release will be 1.5.0. The intention is that the stable branches can be used for security bug fixes if/when there is a need. Other changes or new features will (typically) not be back-ported to a stable branch but instead will have to wait for the next stable branch to be released. * Version 1.3.91 (released 2009-11-06) [experimental] ** doc: Fix doc/cyclo/ output. * Version 1.3.90 (released 2009-11-06) [experimental] ** tests/crypto: Also test newly added SHA-1 interfaces. ** tests/scram: Also test GSASL_SCRAM_SALTED_PASSWORD case. This code path triggered a crash in v1.3. ** i18n: Added Finnish translation. Thanks to Jorma Karvonen . * Version 1.3 (released 2009-10-08) ** Experimental support for SCRAM-SHA-1 added. Please test it but don't put it into production use, the RFC have not been finalized yet. For this reason, the mechanism priority list is such that SCRAM-SHA-1 will never be selected over any other mechanism (including PLAIN, CRAM-MD5, and DIGEST-MD5). When it has been tested further, we'll make SCRAM-SHA-1 the preferred mechanism after GSSAPI. ** gsasl: Fix libintl-related build errors on MinGW. Tiny patch from "carlo.bramix" . ** doc: Typo fixes to manual. Based on report by Marco Maggi in . ** tests: Rewrite basic self test using modern API. ** tests: New self-test 'crypto' to increase code coverage. * Version 1.2 (released 2009-06-13) ** gsasl: Fix out of bounds write when in IMAP/SMTP mode. Reported by Enrico Scholz in . ** doc: Rewritten introduction material. ** doc: Improved sections for the info manual. We now follow the advice given by the texinfo manual on which directory categories to use. In particular, libgsasl moved from the 'GNU Libraries' section to the 'Software libraries' as GNU SASL, and 'Invoking gsasl' moved from 'GNU utilities' to 'Security'. ** examples: Removed unneeded 'ctx' parameter from client_authenticate. ** Building with many warning flags now requires --enable-gcc-warnings. This avoids crying wolf for normal compiles. ** New configure parameters to set packaging specific information. The parameters are --with-packager, --with-packager-version, and --with-packager-bug-reports. See for more details. * Version 1.1 (released 2009-03-25) ** gsasl: Reading integrity protected data from server now works. Before it didn't decode data. ** gsasl: The --quality-of-protection parameter now works. It was just a dummy before. Only relevant for DIGEST-MD5. Note that the parameter value have been modified to match the library keywords. ** Only detect sufficiently recent GnuTLS versions. Version 2.2.x or later is required. * Version 1.0 (released 2009-01-23) ** gsasl: New parameter --priority to specify GnuTLS priority strings. Can be used to change TLS settings, which may be needed to talk to some servers. ** gsasl: Print web page links in --help, per new GNU coding standard. ** tests: New self-test for the gsasl_client_suggest_mechanism function. ** doc: Modernize doxygen configuration. ** doc: Use permissive license for man pages. ** doc: Change license on the manual to GFDLv1.3+. * Version 0.2.29 (released 2008-10-21) ** gsasl: Don't use poll with POLLOUT to avoid busy-waiting. Reported by Enrico Scholz . ** doc: Error codes are now extracted using official library APIs. ** doc: Included cyclomatic code complexity charts of the library code. See doc/cyclo/. ** tests: Add self test of obsolete base64 functions. ** Update gnulib files. Improves Windows compatibility. * Version 0.2.28 (released 2008-08-20) ** gsasl: Rewrite to use poll instead of select. Will allow easier porting to Mingw32 in the future. ** doc: Improve Windows installation instructions in the manual. ** tests: New self test of gsasl_mechanism_name function. * Version 0.2.27 (released 2008-07-01) ** Fix SASL operations through TLS. Report and tiny patch from Enrico Scholz in . ** Update gnulib files, and include gnulib self-tests. ** Update translations. * Version 0.2.26 (released 2008-05-05) ** Translations files not stored directly in git to avoid merge conflicts. This allows us to avoid use of --no-location which makes the translation teams happier. ** Build fixes for the documentation. ** Update gnulib files. * Version 0.2.25 (released 2008-03-10) ** gsasl: Fix buffering issue to avoid mixing stdout/stderr outputs. This would manifest itself when redirecting output to a pipe, such as when used with Gnus. Reported by Enrico Scholz , see . ** Fix non-portable use of brace expansion in makefiles. * Version 0.2.24 (released 2008-01-15) ** Link self-tests with gnulib, to fix link failures under MinGW. * Version 0.2.23 (released 2008-01-15) ** Improve CRAM-MD5 self-test to detect if challenges are the same. ** Improve gsasl --help and --version to conform with GNU standards. ** Use gettext 0.17. ** Update gnulib files. * Version 0.2.22 (released 2007-10-08) ** Development git tree moved to savannah. See . ** Fix warnings when building the tool 'gsasl'. ** Update gnulib files. * Version 0.2.21 (released 2007-08-22) ** Fix typos in manual. Tiny patch from Brad Hards . ** Update gnulib files. * Version 0.2.20 (released 2007-08-11) ** Update gnulib files. * Version 0.2.19 (released 2007-08-09) ** Command-line tools, examples, etc are now licensed under the ** GPL version 3 (or later). The library remains licensed under LGPL version 2.1 (or later). ** Updated documentation as per license change. ** Update gnulib files. ** Update translations. * Version 0.2.18 (released 2007-06-07) ** Update gnulib files. Fixes cross-compilation to uClinux. * Version 0.2.17 (released 2007-06-01) ** GNU SASL is now developed using Git instead of CVS. A public git mirror is available from . ** Update gnulib files. ** Polish, Swedish and Vietnamese translations updated. Thanks to Jakub Bogusz, Daniel Nylander, and Clytie Siddall. * Version 0.2.16 (released 2007-04-20) ** Fix IMAP protocol usage in the 'gsasl' command-line tool server. ** Support GSSAPI server in 'gsasl' command-line tool. ** Add self-test of the gsasl_check_version API. ** Translation updates. ** Update of gnulib files. ** Now uses autoconf 2.61, automake 1.10, gettext 0.16.1. * Version 0.2.15 (released 2006-08-22) ** Changed libgsasl shared library version. The shared library version was not incremented correctly in the last release, even though new APIs were added. * Version 0.2.14 (released 2006-08-19) ** New section "Requirements" in the manual, lists the external components. Suggested by James Mansion. ** Update of gnulib files. * Version 0.2.13 (released 2006-06-14) ** Update of gnulib files. Further improves portability to MinGW. ** Various improvements in the manuals. ** The tests are run under valgrind, if it is installed. Use --disable-valgrind-tests to unconditionally disable this. It is disabled by default for cross compiles. ** Various minor fixes. * Version 0.2.12 (released 2006-03-08) ** Update of gnulib files. Improves portability to Mingw32. * Version 0.2.11 (released 2006-02-07) ** Ported to Windows by cross-compiling using Mingw32. Using Debian's mingw32 compiler, you can build it for Windows by invoking `./configure --host=i586-mingw32msvc --disable-gssapi'. ** Update of gnulib files. * Version 0.2.10 (released 2005-10-23) ** Work around bug in GnuTLS that made the command line tool exit after ** failing to write a zero length message to the peer. ** Don't use GnuTLS if gnutls_certificate_verify_peers2 isn't present. ** Update of gnulib files. * Version 0.2.9 (released 2005-10-07) ** Update of gnulib files. * Version 0.2.8 (released 2005-09-08) ** The gsasl tool now support STARTTLS for IMAP and SMTP using GnuTLS. ** The --client and --server parameters for the gsasl tool now work properly. ** The --client and --server stdin/stdout modes now use the readline library. ** Fixed build problems in getpass on uClibc and Mingw32 platforms. ** Kinyarwanda translation added. * Version 0.2.7 (released 2005-08-25) ** Fix build problems when cross-compiling to uClibc and Mingw32 platforms. ** Detecting and using the readline library has been improved. * Version 0.2.6 (released 2005-08-08) ** The gsasl tool now try to connect to all addresses for a server name. ** The help-gsasl@gnu.org mailing list is now mentioned in documentation. ** The license template in files were updated with the new FSF address. ** Update of gnulib files. * Version 0.2.5 (released 2005-02-08) ** Added self test of EXTERNAL mechanism. ** Vietnamese translation added, thanks to Clytie Siddall. * Version 0.2.4 (released 2005-01-01) ** The CRAM-MD5 mechanism is now preferred over DIGEST-MD5. This decision was based on recent public research that suggest MD5 is broken, while HMAC-MD5 not immediately compromised, and the lack of public analysis on what consequences the MD5 break have for DIGEST-MD5. Support for CRAM-SHA1 is under investigation, to enable users to avoid MD5 completely ** Fixed a bug that prevented SMTP client from working. ** New configure option --disable-obsolete to remove backwards compatibility. This is mostly intended to be used when compiling for platforms with constrained memory/space resources. ** DIGEST-MD5 rewritten and enabled by default (see lib/NEWS for details). ** Command line tool now query for realm, hostname and service name properly. ** Documentation updates and improvements. ** Self test improvements. ** Update of gnulib files. * Version 0.2.3 (released 2004-12-15) ** Fix example code to handle base64 encoded data properly. ** DIGEST-MD5 is disabled by default, pending a rewrite for the new API. ** Command line tool uses new callback interface to the library. ** Command line tool uses "iconvme" from gnulib for UTF-8 string conversion. ** Server mode in the command line tool does not work currently. It is unclear if this feature was ever that useful. If there are no objections, it will be removed completely in future versions. ** Documentation fixes. ** Fix self test bugs. * Version 0.2.2 (released 2004-11-29) ** Update of gnulib files. * Version 0.2.1 (released 2004-11-19) ** Documentation fixes; the old callback API functions are marked as obsolete. * Version 0.2.0 (released 2004-11-07) ** Added new directory examples/ with complete examples for new API. ** Documentation improvements. For example, you can now browse the GNU SASL API manual using DevHelp. ** Update of gnulib files. ** More self tests. ** Translation fixes. * Version 0.1.4 (released 2004-08-08) ** Revamp of gnulib compatibility files. ** More translations. German (by Roland Illig), Basque (by Mikel Olasagasti), French (by Michel Robitaille), Irish (by Kevin Patrick Scannell), Dutch (by Elros Cyriatan), Polish (by Jakub Bogusz), Romanian (by Laurentiu Buzdugan), and Serbian (by Aleksandar Jelenak). * Version 0.1.3 (released 2004-08-04) ** Command line tool support IPv6 (and other protocol families). Requires that your system has `getaddrinfo'. ** Command line behaviour for gsasl tool improved. The --client and --imap parameters are now the default. The --connect host and port can now be specified directly. If --authentication-id is not specified, the username of the user invoking gsasl is used (i.e., getpwuid(getuid)->pw_name). Alltogether, this allows simple usage, as in `gsasl mail.example.com' to connect, via IMAP, to mail.example.com. * Version 0.1.2 (released 2004-07-16) ** The SMTP mode in `gsasl' should now work. ** Cross compile builds should work. It should work for any sane cross compile target, but the only tested platform is uClibc/uClinux on Motorola Coldfire. ** The GNU Readline library is used to read data, if available. ** Passwords read from stdin are not echoed to the terminal. * Version 0.1.1 (released 2004-06-26) ** In the command line client, the default quality of protection is now none. * Version 0.1.0 (released 2004-04-16) ** The library re-licensed to LGPL and distributed as a separate package. This means a fork of this NEWS file, all the entries below relate to the combined work of earlier versions. New entries above does not document user visible changes for the library ("libgsasl"), for that see NEWS in the lib/ sub-directory, which is also distributed as a stand-alone package. * Version 0.0.14 (released 2004-01-22) ** Moved all mechanism specific code into sub-directories of lib/. Each backend is built into its own library (e.g., libgsasl-plain.so), to facilitate future possible use of dlopen to dynamically load backends. ** Moved compatibility files (getopt*) to gl/, and added more (strdup*). * Version 0.0.13 (released 2004-01-17) ** Nettle (the crypto functionality, crypto/) has been updated. This fixes two portability issues, the new code should work on platforms that doesn't have inttypes.h and alloca. * Version 0.0.12 (released 2004-01-15) ** Protocol line parser in 'gsasl' tool more reliable. Earlier it assumed two lines were sent in one packet in one place, and sent as two packets in another place. ** Various bugfixes. * Version 0.0.11 (released 2004-01-06) ** The client part of CRAM-MD5 now uses SASLprep instead of NFKC. This aligns with draft-ietf-sasl-crammd5-01. ** The CRAM-MD5 challenge string now conform to the proper syntax. ** The string preparation (SASLprep and trace) functions now work correctly. ** DocBook manuals no longer included. The reason is that recent DocBook tools from the distribution I use (Debian) fails with an error. DocBook manuals may be included in the future, if I can get the tools to work. ** API and ABI modifications. GSASL_SASLPREP_ERROR: ADD. * Version 0.0.10 (released 2003-11-22) ** The CRAM-MD5 server now reject invalid passwords. The logic flaw was introduced in 0.0.9, after blindly making code changes to shut up valgrind just before the release. ** Various build improvements. Pkg-config is no longer needed. GTK-DOC is only used if present. * Version 0.0.9 (released 2003-11-21) ** Command line client can talk to SMTP servers with --smtp. ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included. ** Token parser in DIGEST-MD5 fixed, improve interoperability of DIGEST-MD5. ** Libgcrypt >= 1.1.42 is used if available (for CRAM-MD5 and DIGEST-MD5). The previous libgcrypt API is no longer supported. ** CRAM-MD5 and DIGEST-MD5 no longer require libgcrypt (but can still use it). If libgcrypt 1.1.42 or later is not found, it uses a minimalistic cryptographic library based on Nettle, from crypto/. Currently only MD5 and HMAC-MD5 is needed, making a dependence on libgcrypt overkill. ** Listing supported server mechanisms with gsasl_server_mechlist work. ** Autoconf 2.59, Automake 1.8 beta, Libtool CVS used. ** Source code for each SASL mechanism moved to its own sub-directory in lib/. ** The command line interface now uses getopt instead of argp. The reason is portability, this also means we no longer use gnulib. ** API and ABI modifications. gsasl_randomize: ADD. gsasl_md5: ADD. gsasl_hmac_md5: ADD. gsasl_hexdump: REMOVED. Never intended to be exported. gsasl_step: ADD. gsasl_step64: ADD. gsasl_client_step: DEPRECATED: use gsasl_step instead. gsasl_server_step: DEPRECATED: use gsasl_step instead. gsasl_client_step_base64: DEPRECATED: use gsasl_step64 instead. gsasl_server_step_base64: DEPRECATED: use gsasl_step64 instead. gsasl_finish: ADD. gsasl_client_finish: DEPRECATED: use gsasl_finish instead. gsasl_server_finish: DEPRECATED: use gsasl_finish instead. gsasl_ctx_get: ADD. gsasl_client_ctx_get: DEPRECATED: use gsasl_ctx_get instead. gsasl_server_ctx_get: DEPRECATED: use gsasl_ctx_get instead. gsasl_appinfo_get: ADD. gsasl_appinfo_set: ADD. gsasl_client_application_data_get: DEPRECATED: use gsasl_appinfo_get instead. gsasl_client_application_data_set: DEPRECATED: use gsasl_appinfo_set instead. gsasl_server_application_data_get: DEPRECATED: use gsasl_appinfo_get instead. gsasl_server_application_data_set: DEPRECATED: use gsasl_appinfo_set instead. Gsasl: ADD. Gsasl_ctx: DEPRECATED: use Gsasl instead. Gsasl_session: ADD. Gsasl_session_ctx: DEPRECATED: use Gsasl_session instead. GSASL_CRYPTO_ERROR: ADD, replaces deprecated GSASL_LIBGCRYPT_ERROR. GSASL_LIBGCRYPT_ERROR: DEPRECATED: use GSASL_CRYPTO_ERROR instead. GSASL_KERBEROS_V5_INTERNAL_ERROR: ADD, replaces deprecated GSASL_SHISHI_ERROR. GSASL_SHISHI_ERROR: DEPRECATED: use GSASL_KERBEROS_V5_INTERNAL_ERROR instead. GSASL_INVALID_HANDLE: ADD. * Version 0.0.8 (released 2003-10-11) ** Improved GSSAPI implementation detection. Auto detection should work, unless you have both MIT and Heimdal, or wish to override the default that prefer GSS over Heimdal over MIT. In that case, use --enable-gssapi=mit or --enable-gssapi=heimdal. ** GNU SASL contain APIs for internationalized string processing via SASLprep. You no longer have to use Libidn directly. ** Man pages for all public functions are included. ** GNULib is used for compatibility functions. The directory gl/ is dedicated for GNULib functions, and replace the earlier ad-hoc usage of argp, memset, etc. ** GNU SASL will be C89 compatible. The library itself (lib/*) only use C89. The remaining parts (src/ and tests/) can use C89 and any functionality from GNULib. This decision may be revised in the future, if it turns out there are problems with this. ** Improvements for embedded or otherwise limited systems. The math library (-lm) is no longer required. All client code can be disabled by --disable-client, and all server code can be disabled by --disable-server. The internationalized string processing library can be disabled by --without-stringprep. ** Gettext 0.12.1 and Libtool 1.5 is used. ** Libgcrypt from CVS (1.1.42) is not supported. Recent libgcrypt is API incompatible with earlier released versions. If a too recent version is installed, it will not be used. ** Fix command line tool '--connect --imap' on Solaris. ** Bug fixes. ** API and ABI modifications. Gsasl_client_callback_maxbuf: CHANGED: 'int' was replaced with 'size_t'. Gsasl_server_callback_maxbuf: CHANGED: 'int' was replaced with 'size_t'. gsasl_client_mechlist: NEW. gsasl_server_mechlist: NEW. gsasl_client_listmech: DEPRECATED: use gsasl_client_mechlist instead. gsasl_server_listmech: DEPRECATED: use gsasl_server_mechlist instead. gsasl_stringprep_nfkc: NEW. gsasl_stringprep_saslprep: NEW. gsasl_stringprep_trace: NEW. * Version 0.0.7 (released 2003-06-02) ** Two new GSS libraries supported for the GSS-API mechanism. See http://josefsson.org/gss/ for GSS, which uses Shishi for Kerberos 5. See http://www.pdc.kth.se/heimdal/ for Heimdal (Kerberos 5). ** Bug fixes. * Version 0.0.6 (released 2003-03-17) ** Gettext not included. Due to some conflicts between libtool and gettext, if you want i18n on platforms that does not already have a useful gettext implementation, you must install GNU gettext before building this package. If you don't care about i18n, this package should work fine (except for i18n, of course). ** Rudimentary support for KERBEROS_V5. Only enable if you want to write code. This adds two new API errors; GSASL_KERBEROS_V5_INIT_ERROR, GSASL_SHISHI_ERROR. ** Added API function: gsasl_client_callback_realm_set. Specifies which realm the client belongs to. ** Bugfixes. User visible aspects includes not building the API Reference Manual with GTK-DOC by default, if you want it use configure parameter --enable-gtk-doc. * Version 0.0.5 (released 2003-01-27) ** Command line application "gsasl" now supports --imap and --connect. The --imap parameter makes it use a IMAP-like negotiation on stdin/stdout. The --connect parameter makes it connect to a host over TCP, and talk to it instead of stdin/stdout. This allows it to be used as a simple test tool to connect to IMAP servers. Currently integrity and confidentiality is not working properly, so if you use DIGEST-MD5 you currently have to specify --quality-of-protection=auth. ** Texinfo documentation added for command line tool. ** Libgcrypt initialization no longer causes a warning to be printed. ** Added API reference manual in HTML format, generated using GTK-DOC. See doc/reference/, in particular doc/reference/html/index.html. ** GNU Libidn replaces Libstringprep. Although it is still stored in the libstringprep/ directory for CVS reasons. ** Bug fixes for DIGEST-MD5 and GSSAPI. * Version 0.0.4 (released 2002-12-13) ** License changed to GPL. ** Official GNU project. * Version 0.0.3 (released 2002-12-05) ** New gsasl arguments --application-data and --no-client-first. ** Bug fixes (client sends first, memory leaks, compiler warnings, more). * Version 0.0.2 (released 2002-11-07) ** Includes a copy of libstringprep 0.0.2 for Unicode NFKC normalization and locale charset to UTF-8 string conversion, and preparation for the future if a SASL Stringprep profile is created. If libstringprep is already installed, it is used by default. You can force the use of the internal version with --without-system-libstringprep. ** Uses pkg-config instead of libgsasl.m4 + libgsasl-config.in, and for finding libntlm (requires libntlm 0.3.1 or later). ** Self tests for several mechanisms. ** The API now allows mechanisms to return data even when returning GSASL_OK (earlier only on GSASL_NEEDS_MORE). ** Bug fixes. * Version 0.0.1 (released 2002-10-12) ** APIs for integrity and confidentiality protection of application payload data. ** DIGEST-MD5 support for integrity protection. * Version 0.0.0 (released 2002-10-07) ** Initial release. ---------------------------------------------------------------------- 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. ;;; Local Variables: *** ;;; mode:outline *** ;;; mode:flyspell *** ;;; End: ***

Index of new symbols in 1.3

G

gsasl_hmac_sha1, gsasl_hmac_sha1 ()
gsasl_sha1, gsasl_sha1 ()